agentworkshop 0.7.44 → 0.7.46

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 (1866) hide show
  1. package/.AgentWorkShop/prompts/host-tools.json +265 -6
  2. package/.AgentWorkShop/prompts/lead-supervise.md +54 -29
  3. package/.AgentWorkShop/prompts/peer-reply-optional.md +6 -2
  4. package/.AgentWorkShop/prompts/peer-reply-required.md +8 -7
  5. package/.output/.AgentWorkShop/aml-python/amlkit.py +185 -120
  6. package/.output/.AgentWorkShop/aml-python/requirements.txt +9 -7
  7. package/.output/.AgentWorkShop/aml-python/train-hybrid-example.py +87 -0
  8. package/.output/.AgentWorkShop/prompts/host-tools.json +265 -6
  9. package/.output/.AgentWorkShop/prompts/lead-supervise.md +54 -29
  10. package/.output/.AgentWorkShop/prompts/peer-reply-optional.md +6 -2
  11. package/.output/.AgentWorkShop/prompts/peer-reply-required.md +8 -7
  12. package/.output/.AgentWorkShop/schema.json +12 -0
  13. package/.output/nitro.json +1 -1
  14. package/.output/public/_nuxt/-hB4kEmt.js +1 -0
  15. package/.output/public/_nuxt/1g9IT9Qh2.js +1 -0
  16. package/.output/public/_nuxt/74x7BOWv2.js +1 -0
  17. package/.output/public/_nuxt/9c5GOgbu.js +1 -0
  18. package/.output/public/_nuxt/9zrLAN2o2.js +1 -0
  19. package/.output/public/_nuxt/B1RT9NTO2.js +1 -0
  20. package/.output/public/_nuxt/B2x8SKRO.js +1 -0
  21. package/.output/public/_nuxt/B6Olw0Op.js +1 -0
  22. package/.output/public/_nuxt/B7jlMWsz.js +1 -0
  23. package/.output/public/_nuxt/B8cnjDtt.js +1 -0
  24. package/.output/public/_nuxt/B9rIcCX12.js +1 -0
  25. package/.output/public/_nuxt/BACBBVdw.js +1 -0
  26. package/.output/public/_nuxt/BBhLVYdM.js +1 -0
  27. package/.output/public/_nuxt/BDmNbZ252.js +1 -0
  28. package/.output/public/_nuxt/BFVf8HLR.js +1 -0
  29. package/.output/public/_nuxt/BGKUW7ra.js +1 -0
  30. package/.output/public/_nuxt/BH3obZJ42.js +1 -0
  31. package/.output/public/_nuxt/BHwG4yNs.js +1 -0
  32. package/.output/public/_nuxt/BIOq3xqe2.js +1 -0
  33. package/.output/public/_nuxt/BITZvQBK.js +1 -0
  34. package/.output/public/_nuxt/BL_dbd2v2.js +1 -0
  35. package/.output/public/_nuxt/BMMoqi94.js +1 -0
  36. package/.output/public/_nuxt/BNnnYEYh2.js +1 -0
  37. package/.output/public/_nuxt/BQXCMsXk.js +1 -0
  38. package/.output/public/_nuxt/BS9P_Ies2.js +1 -0
  39. package/.output/public/_nuxt/BWU1pvLL.js +1 -0
  40. package/.output/public/_nuxt/B_9_BM9G.js +3 -0
  41. package/.output/public/_nuxt/B_LcD7qE2.js +1 -0
  42. package/.output/public/_nuxt/BcQXL8pb.js +1 -0
  43. package/.output/public/_nuxt/BdM_Qr752.js +1 -0
  44. package/.output/public/_nuxt/BiOSWsjD.js +2 -0
  45. package/.output/public/_nuxt/BkSViqQd.js +1 -0
  46. package/.output/public/_nuxt/Bl5dYv4m.js +1 -0
  47. package/.output/public/_nuxt/BmiMC_BC.js +2 -0
  48. package/.output/public/_nuxt/BnpY_zNx.js +1 -0
  49. package/.output/public/_nuxt/BqYVLAcm.js +1 -0
  50. package/.output/public/_nuxt/Br3AySNQ.js +1 -0
  51. package/.output/public/_nuxt/Br3MggOL.js +1 -0
  52. package/.output/public/_nuxt/BrRX-l9B2.js +4108 -0
  53. package/.output/public/_nuxt/Bt2ZL5332.js +1 -0
  54. package/.output/public/_nuxt/Bub2P5me.js +28 -0
  55. package/.output/public/_nuxt/BvRk9kiK.js +0 -0
  56. package/.output/public/_nuxt/BvRk9kiK2.js +0 -0
  57. package/.output/public/_nuxt/Bwc6lt2X.js +3 -0
  58. package/.output/public/_nuxt/BxHBIVAg.js +1 -0
  59. package/.output/public/_nuxt/BxYTM0hb.js +1 -0
  60. package/.output/public/_nuxt/ByMj6e7s.js +3 -0
  61. package/.output/public/_nuxt/BzvHUfRR2.js +1 -0
  62. package/.output/public/_nuxt/C2YYOgMe.js +42 -0
  63. package/.output/public/_nuxt/C3twEwTh2.js +1 -0
  64. package/.output/public/_nuxt/C4WhK2wq.js +1 -0
  65. package/.output/public/_nuxt/C50LmoI1.js +0 -0
  66. package/.output/public/_nuxt/CAaSPBqk.js +1 -0
  67. package/.output/public/_nuxt/CBDX7p73.js +1 -0
  68. package/.output/public/_nuxt/CD9lpEz22.js +13 -0
  69. package/.output/public/_nuxt/CGZVhYJ4.js +1 -0
  70. package/.output/public/_nuxt/CJRDL4EG.js +1 -0
  71. package/.output/public/_nuxt/CKQPwwZa2.js +1 -0
  72. package/.output/public/_nuxt/CLySL7mW.js +75 -0
  73. package/.output/public/_nuxt/CMXcOb6W.js +1 -0
  74. package/.output/public/_nuxt/CN1CDAwe.js +1 -0
  75. package/.output/public/_nuxt/CP0I2l-6.js +1 -0
  76. package/.output/public/_nuxt/CP0Nep9S.js +1 -0
  77. package/.output/public/_nuxt/CPeZNE4S2.js +1 -0
  78. package/.output/public/_nuxt/CPmNRTBk2.js +21 -0
  79. package/.output/public/_nuxt/CQabB0oy.js +1 -0
  80. package/.output/public/_nuxt/CT-vTjcG.js +1 -0
  81. package/.output/public/_nuxt/CTVfcnjU.js +3 -0
  82. package/.output/public/_nuxt/CWzp2R6G.js +1 -0
  83. package/.output/public/_nuxt/C_VAXV7I2.js +7 -0
  84. package/.output/public/_nuxt/CavpkQb0.js +1 -0
  85. package/.output/public/_nuxt/CeWnOF3O.js +1 -0
  86. package/.output/public/_nuxt/CfLUvgr32.js +1 -0
  87. package/.output/public/_nuxt/Ch1P2mIf.js +1 -0
  88. package/.output/public/_nuxt/ChoLwR-s.js +1 -0
  89. package/.output/public/_nuxt/Chphw5IA2.js +1 -0
  90. package/.output/public/_nuxt/ChtjzEpK2.js +19 -0
  91. package/.output/public/_nuxt/CiTQY_n32.js +1 -0
  92. package/.output/public/_nuxt/Ck5oMvUk.js +1 -0
  93. package/.output/public/_nuxt/Ckafrjnw2.js +1 -0
  94. package/.output/public/_nuxt/Cm_PTn9t2.js +1 -0
  95. package/.output/public/_nuxt/Cmp8PMrA.js +1 -0
  96. package/.output/public/_nuxt/Cnrmlixo.js +3 -0
  97. package/.output/public/_nuxt/Cr518Gh02.js +1 -0
  98. package/.output/public/_nuxt/Crbir9cT.js +1 -0
  99. package/.output/public/_nuxt/CtPNnATm2.js +31 -0
  100. package/.output/public/_nuxt/Cu8c3oMN2.js +1 -0
  101. package/.output/public/_nuxt/CwLQAKay2.js +1 -0
  102. package/.output/public/_nuxt/CzlUIbK32.js +17 -0
  103. package/.output/public/_nuxt/D6lZftfy.js +1 -0
  104. package/.output/public/_nuxt/D83nVQPl.js +1 -0
  105. package/.output/public/_nuxt/D89BUtx6.js +1 -0
  106. package/.output/public/_nuxt/DCtk3qqr.js +1 -0
  107. package/.output/public/_nuxt/DD6Z0yPN2.js +1 -0
  108. package/.output/public/_nuxt/DGw8juu_.js +2 -0
  109. package/.output/public/_nuxt/DHSDk8Bq2.js +4 -0
  110. package/.output/public/_nuxt/DJdDFnjG2.js +1 -0
  111. package/.output/public/_nuxt/DJyNDnag.js +1 -0
  112. package/.output/public/_nuxt/DK3Fl9T5.js +1 -0
  113. package/.output/public/_nuxt/DLPuRMeG.js +19 -0
  114. package/.output/public/_nuxt/DMYYS5sK.js +1 -0
  115. package/.output/public/_nuxt/DNno23Jf2.js +1 -0
  116. package/.output/public/_nuxt/DNoEoo8t.js +1 -0
  117. package/.output/public/_nuxt/DPUXbTg92.js +1 -0
  118. package/.output/public/_nuxt/DRpFsrno.js +1 -0
  119. package/.output/public/_nuxt/DXIaadqv.js +1 -0
  120. package/.output/public/_nuxt/D_7AzAWe.js +1 -0
  121. package/.output/public/_nuxt/Dbe9TFc9.js +1 -0
  122. package/.output/public/_nuxt/DdNujZN5.js +1 -0
  123. package/.output/public/_nuxt/DdvQ7LRI.js +14 -0
  124. package/.output/public/_nuxt/DhFv8S2Z.js +1 -0
  125. package/.output/public/_nuxt/DkJVtqfc.js +1 -0
  126. package/.output/public/_nuxt/DkLCjrCk2.js +47 -0
  127. package/.output/public/_nuxt/DkpmSnHX.js +1 -0
  128. package/.output/public/_nuxt/DlUQa0wn2.js +1 -0
  129. package/.output/public/_nuxt/DoKpLEqc.js +1 -0
  130. package/.output/public/_nuxt/DpqA8D8_.js +1 -0
  131. package/.output/public/_nuxt/Dq0emNZi2.js +1 -0
  132. package/.output/public/_nuxt/DqtgGFEc.js +1 -0
  133. package/.output/public/_nuxt/DqtnqNgL2.js +1 -0
  134. package/.output/public/_nuxt/Dqz5HiXa.js +2 -0
  135. package/.output/public/_nuxt/DxagrjB8.js +1 -0
  136. package/.output/public/_nuxt/Dy3oXKdn2.js +1 -0
  137. package/.output/public/_nuxt/DzBbYWrw2.js +1 -0
  138. package/.output/public/_nuxt/EhhQmlBV2.js +1 -0
  139. package/.output/public/_nuxt/H2rNs1O82.js +1 -0
  140. package/.output/public/_nuxt/H6pPjo0l.js +1 -0
  141. package/.output/public/_nuxt/JAM4aNC_.js +1 -0
  142. package/.output/public/_nuxt/JgheoP3e.js +1 -0
  143. package/.output/public/_nuxt/LwIFGLgF.js +1 -0
  144. package/.output/public/_nuxt/Nw_6OpQZ2.js +1 -0
  145. package/.output/public/_nuxt/OXtV_ukR.js +1 -0
  146. package/.output/public/_nuxt/OmpTerminalPanel.ComMDrA8.css +1 -0
  147. package/.output/public/_nuxt/PLGqdko0.js +1 -0
  148. package/.output/public/_nuxt/PixDfCSm.js +1 -0
  149. package/.output/public/_nuxt/RAqsw632.js +1 -0
  150. package/.output/public/_nuxt/Sjjmp5OD2.js +1 -0
  151. package/.output/public/_nuxt/TOWR4WpO.js +1 -0
  152. package/.output/public/_nuxt/TownView.BvlfuLtP.css +1 -0
  153. package/.output/public/_nuxt/U8oQxruK.js +1 -0
  154. package/.output/public/_nuxt/WleoCtUX.js +1 -0
  155. package/.output/public/_nuxt/YaroNkJZ2.js +1 -0
  156. package/.output/public/_nuxt/Z-Z6EhXs.js +1 -0
  157. package/.output/public/_nuxt/ZuQtOnfI.js +1 -0
  158. package/.output/public/_nuxt/ZvXovq7N2.js +1 -0
  159. package/.output/public/_nuxt/_id_.BTrFUIHX.css +1 -0
  160. package/.output/public/_nuxt/_id_.Bossmhv1.css +1 -0
  161. package/.output/public/_nuxt/_wsId_.D-u-dbP9.css +1 -0
  162. package/.output/public/_nuxt/agents.Cgm_JG9L.css +1 -0
  163. package/.output/public/_nuxt/aml.Bi5X6_oi.css +1 -0
  164. package/.output/public/_nuxt/bg2adfck.js +1 -0
  165. package/.output/public/_nuxt/bt__BP-I.js +13 -0
  166. package/.output/public/_nuxt/builds/latest.json +1 -1
  167. package/.output/public/_nuxt/builds/meta/7827fe9f-b4c2-461f-b1fb-c0c7da7d66b8.json +1 -0
  168. package/.output/public/_nuxt/cBI0JqsV2.js +209 -0
  169. package/.output/public/_nuxt/cDcDztgb2.js +1 -0
  170. package/.output/public/_nuxt/cGSl2GZp.js +1 -0
  171. package/.output/public/_nuxt/csitHKnE2.js +1 -0
  172. package/.output/public/_nuxt/d-w5jR8R.js +1 -0
  173. package/.output/public/_nuxt/daq.0uieKcZk.css +1 -0
  174. package/.output/public/_nuxt/dcw.pQRVkAi_.css +1 -0
  175. package/.output/public/_nuxt/default.uao9U50c.css +1 -0
  176. package/.output/public/_nuxt/e7BBCLxr.js +1 -0
  177. package/.output/public/_nuxt/entry.6DEjPWvR.css +1 -0
  178. package/.output/public/_nuxt/eutnXI4F.js +24 -0
  179. package/.output/public/_nuxt/fxWyOzyp2.js +1 -0
  180. package/.output/public/_nuxt/hkMGMTqt.js +1 -0
  181. package/.output/public/_nuxt/ikAUnxx3.js +1 -0
  182. package/.output/public/_nuxt/lWYQbIR3.js +1 -0
  183. package/.output/public/_nuxt/logs.CD0Olr3c.css +1 -0
  184. package/.output/public/_nuxt/monitor.CI2v5Nvl.css +1 -0
  185. package/.output/public/_nuxt/pages.CMhSEhEb.css +1 -0
  186. package/.output/public/_nuxt/permissions.DxuOOIqQ.css +1 -0
  187. package/.output/public/_nuxt/plugins.C50x1qZp.css +1 -0
  188. package/.output/public/_nuxt/qOlYoGLf.js +1 -0
  189. package/.output/public/_nuxt/schedules.BXNJ9q_I.css +1 -0
  190. package/.output/public/_nuxt/settings.Bo5EYkLI.css +1 -0
  191. package/.output/public/_nuxt/teams.sGmx1AdX.css +1 -0
  192. package/.output/public/_nuxt/tokens.DFMFaCYU.css +1 -0
  193. package/.output/public/_nuxt/uI9Ki_XZ.js +9 -0
  194. package/.output/public/_nuxt/users.DBxcKnfg.css +1 -0
  195. package/.output/public/_nuxt/v55S8LnT.js +1 -0
  196. package/.output/public/_nuxt/wDPc4SSR.js +106 -0
  197. package/.output/public/_nuxt/workshop.b4YRXEe0.css +1 -0
  198. package/.output/public/_nuxt/y9kob70X.js +1 -0
  199. package/.output/public/_nuxt/zh-S_7rN.js +1 -0
  200. package/.output/server/chunks/_/LeftOutlined.mjs +1 -1
  201. package/.output/server/chunks/_/SearchOutlined.mjs +1243 -279
  202. package/.output/server/chunks/_/SearchOutlined.mjs.map +1 -1
  203. package/.output/server/chunks/_/binding-authz.mjs +1 -1
  204. package/.output/server/chunks/_/character-asset.repo.mjs +1 -1
  205. package/.output/server/chunks/_/entity.mjs +1 -1
  206. package/.output/server/chunks/_/env-manager.mjs +1 -1
  207. package/.output/server/chunks/_/host-bindings.mjs +1 -1
  208. package/.output/server/chunks/_/nitro.mjs +26927 -19070
  209. package/.output/server/chunks/_/nitro.mjs.map +1 -1
  210. package/.output/server/chunks/_/scene-layout.repo.mjs +1 -1
  211. package/.output/server/chunks/build/Checkbox-4EdGAAl_.mjs +206 -0
  212. package/.output/server/chunks/build/Checkbox-4EdGAAl_.mjs.map +1 -0
  213. package/.output/server/chunks/build/FormItemContext-4ORSzhWv.mjs +72 -0
  214. package/.output/server/chunks/build/FormItemContext-4ORSzhWv.mjs.map +1 -0
  215. package/.output/server/chunks/build/OmpTerminalPanel-EQHrOJbw.mjs +942 -0
  216. package/.output/server/chunks/build/OmpTerminalPanel-EQHrOJbw.mjs.map +1 -0
  217. package/.output/server/chunks/build/PluginSlot-BP_qedpQ.mjs +399 -0
  218. package/.output/server/chunks/build/PluginSlot-BP_qedpQ.mjs.map +1 -0
  219. package/.output/server/chunks/build/TownView-BAR8CPIZ.mjs +6373 -0
  220. package/.output/server/chunks/build/TownView-BAR8CPIZ.mjs.map +1 -0
  221. package/.output/server/chunks/build/_id_-DgMpjM3_.mjs +1354 -0
  222. package/.output/server/chunks/build/_id_-DgMpjM3_.mjs.map +1 -0
  223. package/.output/server/chunks/build/_id_-Dv3BQbYV.mjs +388 -0
  224. package/.output/server/chunks/build/_id_-Dv3BQbYV.mjs.map +1 -0
  225. package/.output/server/chunks/build/_wsId_-BKJvFmyf.mjs +13109 -0
  226. package/.output/server/chunks/build/_wsId_-BKJvFmyf.mjs.map +1 -0
  227. package/.output/server/chunks/build/agents-B2GLPmn2.mjs +1085 -0
  228. package/.output/server/chunks/build/agents-B2GLPmn2.mjs.map +1 -0
  229. package/.output/server/chunks/build/aml-DdWicH3t.mjs +806 -0
  230. package/.output/server/chunks/build/aml-DdWicH3t.mjs.map +1 -0
  231. package/.output/server/chunks/build/api-BY6ji7RC.mjs +50 -0
  232. package/.output/server/chunks/build/api-BY6ji7RC.mjs.map +1 -0
  233. package/.output/server/chunks/build/api-error-BwAQLw44.mjs +47 -0
  234. package/.output/server/chunks/build/api-error-BwAQLw44.mjs.map +1 -0
  235. package/.output/server/chunks/build/apiClient-D281qrK2.mjs +81 -0
  236. package/.output/server/chunks/build/apiClient-D281qrK2.mjs.map +1 -0
  237. package/.output/server/chunks/build/builtin-catalog-edpDcgfL.mjs +1 -1
  238. package/.output/server/chunks/build/card-CUSocE9p.mjs +953 -0
  239. package/.output/server/chunks/build/card-CUSocE9p.mjs.map +1 -0
  240. package/.output/server/chunks/build/channel-templates-RPOtkgRf.mjs +846 -0
  241. package/.output/server/chunks/build/channel-templates-RPOtkgRf.mjs.map +1 -0
  242. package/.output/server/chunks/build/checkbox-C4AKj81e.mjs +439 -0
  243. package/.output/server/chunks/build/checkbox-C4AKj81e.mjs.map +1 -0
  244. package/.output/server/chunks/build/client-only-qNA2OVV_.mjs +43 -0
  245. package/.output/server/chunks/build/client-only-qNA2OVV_.mjs.map +1 -0
  246. package/.output/server/chunks/build/constants-HPHJvjne.mjs +139 -0
  247. package/.output/server/chunks/build/constants-HPHJvjne.mjs.map +1 -0
  248. package/.output/server/chunks/build/core-CgTOPS4t.mjs +294 -0
  249. package/.output/server/chunks/build/core-CgTOPS4t.mjs.map +1 -0
  250. package/.output/server/chunks/build/daq-CPtsh0e7.mjs +1253 -0
  251. package/.output/server/chunks/build/daq-CPtsh0e7.mjs.map +1 -0
  252. package/.output/server/chunks/build/dcw-ry5Gyw6Y.mjs +478 -0
  253. package/.output/server/chunks/build/dcw-ry5Gyw6Y.mjs.map +1 -0
  254. package/.output/server/chunks/build/default-DxOE1eB0.mjs +2061 -0
  255. package/.output/server/chunks/build/default-DxOE1eB0.mjs.map +1 -0
  256. package/.output/server/chunks/build/descriptions-CFaUq4y4.mjs +406 -0
  257. package/.output/server/chunks/build/descriptions-CFaUq4y4.mjs.map +1 -0
  258. package/.output/server/chunks/build/drawer-Cfh9_zft.mjs +834 -0
  259. package/.output/server/chunks/build/drawer-Cfh9_zft.mjs.map +1 -0
  260. package/.output/server/chunks/build/dropdown-KdKWCS5K.mjs +556 -0
  261. package/.output/server/chunks/build/dropdown-KdKWCS5K.mjs.map +1 -0
  262. package/.output/server/chunks/build/dropdown-Yev6knaj.mjs +14 -0
  263. package/.output/server/chunks/build/dropdown-Yev6knaj.mjs.map +1 -0
  264. package/.output/server/chunks/build/form-uSlNqIAV.mjs +4711 -0
  265. package/.output/server/chunks/build/form-uSlNqIAV.mjs.map +1 -0
  266. package/.output/server/chunks/build/input-Cr_KFj4T.mjs +1381 -0
  267. package/.output/server/chunks/build/input-Cr_KFj4T.mjs.map +1 -0
  268. package/.output/server/chunks/build/input-number-BRVnxeiA.mjs +1119 -0
  269. package/.output/server/chunks/build/input-number-BRVnxeiA.mjs.map +1 -0
  270. package/.output/server/chunks/build/interval-DvHBIIZh.mjs +9 -0
  271. package/.output/server/chunks/build/interval-DvHBIIZh.mjs.map +1 -0
  272. package/.output/server/chunks/build/logs-CeaiO3y9.mjs +367 -0
  273. package/.output/server/chunks/build/logs-CeaiO3y9.mjs.map +1 -0
  274. package/.output/server/chunks/build/menu-BgkRSSx7.mjs +1949 -0
  275. package/.output/server/chunks/build/menu-BgkRSSx7.mjs.map +1 -0
  276. package/.output/server/chunks/build/monitor-DnuXEIi5.mjs +2245 -0
  277. package/.output/server/chunks/build/monitor-DnuXEIi5.mjs.map +1 -0
  278. package/.output/server/chunks/build/narrow-fetch-CcG-BPxc.mjs +6 -0
  279. package/.output/server/chunks/build/narrow-fetch-CcG-BPxc.mjs.map +1 -0
  280. package/.output/server/chunks/build/pages-Bn90ijKD.mjs +539 -0
  281. package/.output/server/chunks/build/pages-Bn90ijKD.mjs.map +1 -0
  282. package/.output/server/chunks/build/permissions-DL70W1YD.mjs +629 -0
  283. package/.output/server/chunks/build/permissions-DL70W1YD.mjs.map +1 -0
  284. package/.output/server/chunks/build/plugins-DrsZo--K.mjs +246 -0
  285. package/.output/server/chunks/build/plugins-DrsZo--K.mjs.map +1 -0
  286. package/.output/server/chunks/build/popconfirm-Ox-_2V8A.mjs +339 -0
  287. package/.output/server/chunks/build/popconfirm-Ox-_2V8A.mjs.map +1 -0
  288. package/.output/server/chunks/build/schedules-VLzNcjnW.mjs +7164 -0
  289. package/.output/server/chunks/build/schedules-VLzNcjnW.mjs.map +1 -0
  290. package/.output/server/chunks/build/segmented-C61yLHvo.mjs +341 -0
  291. package/.output/server/chunks/build/segmented-C61yLHvo.mjs.map +1 -0
  292. package/.output/server/chunks/build/select-rdBWytVK.mjs +3922 -0
  293. package/.output/server/chunks/build/select-rdBWytVK.mjs.map +1 -0
  294. package/.output/server/chunks/build/settings-DVAUVMsX.mjs +1089 -0
  295. package/.output/server/chunks/build/settings-DVAUVMsX.mjs.map +1 -0
  296. package/.output/server/chunks/build/space-B2uhHJG8.mjs +110 -0
  297. package/.output/server/chunks/build/space-B2uhHJG8.mjs.map +1 -0
  298. package/.output/server/chunks/build/spin-C2cuvGth.mjs +357 -0
  299. package/.output/server/chunks/build/spin-C2cuvGth.mjs.map +1 -0
  300. package/.output/server/chunks/build/switch-DZAUIbIN.mjs +377 -0
  301. package/.output/server/chunks/build/switch-DZAUIbIN.mjs.map +1 -0
  302. package/.output/server/chunks/build/table-DOFAvY-v.mjs +8881 -0
  303. package/.output/server/chunks/build/table-DOFAvY-v.mjs.map +1 -0
  304. package/.output/server/chunks/build/tabs-DTeIuZeP.mjs +1923 -0
  305. package/.output/server/chunks/build/tabs-DTeIuZeP.mjs.map +1 -0
  306. package/.output/server/chunks/build/tag-CHLGvNM6.mjs +1029 -0
  307. package/.output/server/chunks/build/tag-CHLGvNM6.mjs.map +1 -0
  308. package/.output/server/chunks/build/teams-Mc07PYO8.mjs +1195 -0
  309. package/.output/server/chunks/build/teams-Mc07PYO8.mjs.map +1 -0
  310. package/.output/server/chunks/build/tokens-DiwD5qni.mjs +1036 -0
  311. package/.output/server/chunks/build/tokens-DiwD5qni.mjs.map +1 -0
  312. package/.output/server/chunks/build/town-BIn3be5v.mjs +39 -0
  313. package/.output/server/chunks/build/town-BIn3be5v.mjs.map +1 -0
  314. package/.output/server/chunks/build/town-D8VmTCmN.mjs +128 -0
  315. package/.output/server/chunks/build/town-D8VmTCmN.mjs.map +1 -0
  316. package/.output/server/chunks/build/types-D6J7slEa.mjs +5561 -0
  317. package/.output/server/chunks/build/types-D6J7slEa.mjs.map +1 -0
  318. package/.output/server/chunks/build/useAgentHarnessOptions-CPn5dzKe.mjs +121 -0
  319. package/.output/server/chunks/build/useAgentHarnessOptions-CPn5dzKe.mjs.map +1 -0
  320. package/.output/server/chunks/build/useAgentTemplateActions-DQWzVnZ0.mjs +74 -0
  321. package/.output/server/chunks/build/useAgentTemplateActions-DQWzVnZ0.mjs.map +1 -0
  322. package/.output/server/chunks/build/useAgentTemplateDialogState-CZzpu5og.mjs +64 -0
  323. package/.output/server/chunks/build/useAgentTemplateDialogState-CZzpu5og.mjs.map +1 -0
  324. package/.output/server/chunks/build/useAgentTemplateForm-vqyiRPtt.mjs +114 -0
  325. package/.output/server/chunks/build/useAgentTemplateForm-vqyiRPtt.mjs.map +1 -0
  326. package/.output/server/chunks/build/useAgentTemplatesCatalog-DcQbsOik.mjs +130 -0
  327. package/.output/server/chunks/build/useAgentTemplatesCatalog-DcQbsOik.mjs.map +1 -0
  328. package/.output/server/chunks/build/useAmlDatasets-BM0lZu40.mjs +89 -0
  329. package/.output/server/chunks/build/useAmlDatasets-BM0lZu40.mjs.map +1 -0
  330. package/.output/server/chunks/build/useAmlEntities-BjXWvFd_.mjs +83 -0
  331. package/.output/server/chunks/build/useAmlEntities-BjXWvFd_.mjs.map +1 -0
  332. package/.output/server/chunks/build/useAmlEnv-BB7p6x_w.mjs +191 -0
  333. package/.output/server/chunks/build/useAmlEnv-BB7p6x_w.mjs.map +1 -0
  334. package/.output/server/chunks/build/useAmlExperiments-BtyW32PO.mjs +86 -0
  335. package/.output/server/chunks/build/useAmlExperiments-BtyW32PO.mjs.map +1 -0
  336. package/.output/server/chunks/build/useAmlFormat-WrKuRfw2.mjs +79 -0
  337. package/.output/server/chunks/build/useAmlFormat-WrKuRfw2.mjs.map +1 -0
  338. package/.output/server/chunks/build/useAmlJobs-DBuLvWMF.mjs +263 -0
  339. package/.output/server/chunks/build/useAmlJobs-DBuLvWMF.mjs.map +1 -0
  340. package/.output/server/chunks/build/useAmlModels-VurmkBYe.mjs +90 -0
  341. package/.output/server/chunks/build/useAmlModels-VurmkBYe.mjs.map +1 -0
  342. package/.output/server/chunks/build/useAmlNotes-BUdj3X6Y.mjs +83 -0
  343. package/.output/server/chunks/build/useAmlNotes-BUdj3X6Y.mjs.map +1 -0
  344. package/.output/server/chunks/build/useAmlPredict-DFy-Do10.mjs +127 -0
  345. package/.output/server/chunks/build/useAmlPredict-DFy-Do10.mjs.map +1 -0
  346. package/.output/server/chunks/build/useDaqAddNode-kW7uTSMQ.mjs +139 -0
  347. package/.output/server/chunks/build/useDaqAddNode-kW7uTSMQ.mjs.map +1 -0
  348. package/.output/server/chunks/build/useDaqDetailBinding-cpBz4hSL.mjs +67 -0
  349. package/.output/server/chunks/build/useDaqDetailBinding-cpBz4hSL.mjs.map +1 -0
  350. package/.output/server/chunks/build/useDaqDetailFrames-BZGtKKXW.mjs +76 -0
  351. package/.output/server/chunks/build/useDaqDetailFrames-BZGtKKXW.mjs.map +1 -0
  352. package/.output/server/chunks/build/useDaqDetailHistory-C4_hVeqZ.mjs +173 -0
  353. package/.output/server/chunks/build/useDaqDetailHistory-C4_hVeqZ.mjs.map +1 -0
  354. package/.output/server/chunks/build/useDaqDetailNode-Bwid_iA8.mjs +96 -0
  355. package/.output/server/chunks/build/useDaqDetailNode-Bwid_iA8.mjs.map +1 -0
  356. package/.output/server/chunks/build/useDaqDetailParams-JfqHvTxr.mjs +156 -0
  357. package/.output/server/chunks/build/useDaqDetailParams-JfqHvTxr.mjs.map +1 -0
  358. package/.output/server/chunks/build/useDaqFilters-C13836p-.mjs +219 -0
  359. package/.output/server/chunks/build/useDaqFilters-C13836p-.mjs.map +1 -0
  360. package/.output/server/chunks/build/useDaqNodeWindow-1DWj2H5G.mjs +87 -0
  361. package/.output/server/chunks/build/useDaqNodeWindow-1DWj2H5G.mjs.map +1 -0
  362. package/.output/server/chunks/build/useDaqOptimizations-Ct-TSXxy.mjs +133 -0
  363. package/.output/server/chunks/build/useDaqOptimizations-Ct-TSXxy.mjs.map +1 -0
  364. package/.output/server/chunks/build/useDaqStream-wOxZcMDA.mjs +395 -0
  365. package/.output/server/chunks/build/useDaqStream-wOxZcMDA.mjs.map +1 -0
  366. package/.output/server/chunks/build/useDaqTemplates-BqQRdrIm.mjs +184 -0
  367. package/.output/server/chunks/build/useDaqTemplates-BqQRdrIm.mjs.map +1 -0
  368. package/.output/server/chunks/build/useDashboardCharts-DZysNDUX.mjs +351 -0
  369. package/.output/server/chunks/build/useDashboardCharts-DZysNDUX.mjs.map +1 -0
  370. package/.output/server/chunks/build/useDashboardData-Ny_wtbo6.mjs +150 -0
  371. package/.output/server/chunks/build/useDashboardData-Ny_wtbo6.mjs.map +1 -0
  372. package/.output/server/chunks/build/useDcwAddNode-C8nE7geh.mjs +148 -0
  373. package/.output/server/chunks/build/useDcwAddNode-C8nE7geh.mjs.map +1 -0
  374. package/.output/server/chunks/build/useDcwCards-ETEsHvVy.mjs +64 -0
  375. package/.output/server/chunks/build/useDcwCards-ETEsHvVy.mjs.map +1 -0
  376. package/.output/server/chunks/build/useDcwDetailScope-BNrpDzbO.mjs +181 -0
  377. package/.output/server/chunks/build/useDcwDetailScope-BNrpDzbO.mjs.map +1 -0
  378. package/.output/server/chunks/build/useDcwDetailTemplates-IcKAJ37Y.mjs +145 -0
  379. package/.output/server/chunks/build/useDcwDetailTemplates-IcKAJ37Y.mjs.map +1 -0
  380. package/.output/server/chunks/build/useDcwFilter-FfVlDdyS.mjs +68 -0
  381. package/.output/server/chunks/build/useDcwFilter-FfVlDdyS.mjs.map +1 -0
  382. package/.output/server/chunks/build/useDcwLedger-BLoMmcu1.mjs +76 -0
  383. package/.output/server/chunks/build/useDcwLedger-BLoMmcu1.mjs.map +1 -0
  384. package/.output/server/chunks/build/useDcwLineMutations-BMC5BTWU.mjs +134 -0
  385. package/.output/server/chunks/build/useDcwLineMutations-BMC5BTWU.mjs.map +1 -0
  386. package/.output/server/chunks/build/useDcwLineRun-Bpxk4mse.mjs +101 -0
  387. package/.output/server/chunks/build/useDcwLineRun-Bpxk4mse.mjs.map +1 -0
  388. package/.output/server/chunks/build/useDcwProducts-D-zrMaeV.mjs +90 -0
  389. package/.output/server/chunks/build/useDcwProducts-D-zrMaeV.mjs.map +1 -0
  390. package/.output/server/chunks/build/useDcwQuery-1lYHOaU6.mjs +95 -0
  391. package/.output/server/chunks/build/useDcwQuery-1lYHOaU6.mjs.map +1 -0
  392. package/.output/server/chunks/build/useDcwQuickActions-C-tgcXIr.mjs +85 -0
  393. package/.output/server/chunks/build/useDcwQuickActions-C-tgcXIr.mjs.map +1 -0
  394. package/.output/server/chunks/build/useDcwRecipes-BzGOymqz.mjs +237 -0
  395. package/.output/server/chunks/build/useDcwRecipes-BzGOymqz.mjs.map +1 -0
  396. package/.output/server/chunks/build/useDcwStream-D04kCV3J.mjs +435 -0
  397. package/.output/server/chunks/build/useDcwStream-D04kCV3J.mjs.map +1 -0
  398. package/.output/server/chunks/build/useDcwTemplates-Dsjw9u6U.mjs +88 -0
  399. package/.output/server/chunks/build/useDcwTemplates-Dsjw9u6U.mjs.map +1 -0
  400. package/.output/server/chunks/build/useDcwWrites-3RxwN36I.mjs +120 -0
  401. package/.output/server/chunks/build/useDcwWrites-3RxwN36I.mjs.map +1 -0
  402. package/.output/server/chunks/build/useDeviceTwins-CbVad1M3.mjs +128 -0
  403. package/.output/server/chunks/build/useDeviceTwins-CbVad1M3.mjs.map +1 -0
  404. package/.output/server/chunks/build/useLocalTime-9a4B-aHv.mjs +1 -8
  405. package/.output/server/chunks/build/useLocalTime-9a4B-aHv.mjs.map +1 -1
  406. package/.output/server/chunks/build/useLogsFormat-BlwLpyzy.mjs +74 -0
  407. package/.output/server/chunks/build/useLogsFormat-BlwLpyzy.mjs.map +1 -0
  408. package/.output/server/chunks/build/useLogsManual-Deev2Cjk.mjs +81 -0
  409. package/.output/server/chunks/build/useLogsManual-Deev2Cjk.mjs.map +1 -0
  410. package/.output/server/chunks/build/useLogsQuery-CRAm2hmS.mjs +112 -0
  411. package/.output/server/chunks/build/useLogsQuery-CRAm2hmS.mjs.map +1 -0
  412. package/.output/server/chunks/build/useLogsScope-ClNijVj4.mjs +80 -0
  413. package/.output/server/chunks/build/useLogsScope-ClNijVj4.mjs.map +1 -0
  414. package/.output/server/chunks/build/useMonitorColumns-ylxrUNTK.mjs +212 -0
  415. package/.output/server/chunks/build/useMonitorColumns-ylxrUNTK.mjs.map +1 -0
  416. package/.output/server/chunks/build/useMonitorData-CEpKXoD4.mjs +131 -0
  417. package/.output/server/chunks/build/useMonitorData-CEpKXoD4.mjs.map +1 -0
  418. package/.output/server/chunks/build/useMonitorFormat-_7zLapf3.mjs +87 -0
  419. package/.output/server/chunks/build/useMonitorFormat-_7zLapf3.mjs.map +1 -0
  420. package/.output/server/chunks/build/useMonitorTerminal-Dj4QwRNW.mjs +68 -0
  421. package/.output/server/chunks/build/useMonitorTerminal-Dj4QwRNW.mjs.map +1 -0
  422. package/.output/server/chunks/build/useOpsLog-CgnNG7_n.mjs +137 -0
  423. package/.output/server/chunks/build/useOpsLog-CgnNG7_n.mjs.map +1 -0
  424. package/.output/server/chunks/build/useTeamActions-D6sxdpkP.mjs +76 -0
  425. package/.output/server/chunks/build/useTeamActions-D6sxdpkP.mjs.map +1 -0
  426. package/.output/server/chunks/build/useTeamAddMemberDialog-Q-ntQ6Vo.mjs +81 -0
  427. package/.output/server/chunks/build/useTeamAddMemberDialog-Q-ntQ6Vo.mjs.map +1 -0
  428. package/.output/server/chunks/build/useTeamCreateDialog-D7OMfDTM.mjs +94 -0
  429. package/.output/server/chunks/build/useTeamCreateDialog-D7OMfDTM.mjs.map +1 -0
  430. package/.output/server/chunks/build/useTeamDeployDialog-vBRqjiut.mjs +77 -0
  431. package/.output/server/chunks/build/useTeamDeployDialog-vBRqjiut.mjs.map +1 -0
  432. package/.output/server/chunks/build/useTeamDialogState-CFRUQxAf.mjs +79 -0
  433. package/.output/server/chunks/build/useTeamDialogState-CFRUQxAf.mjs.map +1 -0
  434. package/.output/server/chunks/build/useTeamPluginDialog-B8kxewpZ.mjs +100 -0
  435. package/.output/server/chunks/build/useTeamPluginDialog-B8kxewpZ.mjs.map +1 -0
  436. package/.output/server/chunks/build/useTeamsCatalog-xRhk7ezA.mjs +120 -0
  437. package/.output/server/chunks/build/useTeamsCatalog-xRhk7ezA.mjs.map +1 -0
  438. package/.output/server/chunks/build/useTokenClipboard-CwQpoFeP.mjs +69 -0
  439. package/.output/server/chunks/build/useTokenClipboard-CwQpoFeP.mjs.map +1 -0
  440. package/.output/server/chunks/build/useTokenCreate-DpDcF1Vx.mjs +112 -0
  441. package/.output/server/chunks/build/useTokenCreate-DpDcF1Vx.mjs.map +1 -0
  442. package/.output/server/chunks/build/useTokenRename-BRejFrtc.mjs +84 -0
  443. package/.output/server/chunks/build/useTokenRename-BRejFrtc.mjs.map +1 -0
  444. package/.output/server/chunks/build/useTokenReveal-DER2afAS.mjs +115 -0
  445. package/.output/server/chunks/build/useTokenReveal-DER2afAS.mjs.map +1 -0
  446. package/.output/server/chunks/build/useTokensList-DHt65IOY.mjs +89 -0
  447. package/.output/server/chunks/build/useTokensList-DHt65IOY.mjs.map +1 -0
  448. package/.output/server/chunks/build/useWorkbenchAuth-B2j-zILO.mjs +135 -0
  449. package/.output/server/chunks/build/useWorkbenchAuth-B2j-zILO.mjs.map +1 -0
  450. package/.output/server/chunks/build/useWorkbenchWorkspaces-B_2mOxN6.mjs +133 -0
  451. package/.output/server/chunks/build/useWorkbenchWorkspaces-B_2mOxN6.mjs.map +1 -0
  452. package/.output/server/chunks/build/useWorkshopApi-B1B9vd4m.mjs +102 -0
  453. package/.output/server/chunks/build/useWorkshopApi-B1B9vd4m.mjs.map +1 -0
  454. package/.output/server/chunks/build/useWorkshopWs-B-Es2Xg3.mjs +1782 -0
  455. package/.output/server/chunks/build/useWorkshopWs-B-Es2Xg3.mjs.map +1 -0
  456. package/.output/server/chunks/build/useWorkspaceAuth-tQ1ORWXo.mjs +57 -0
  457. package/.output/server/chunks/build/useWorkspaceAuth-tQ1ORWXo.mjs.map +1 -0
  458. package/.output/server/chunks/build/useWorkspaceChannels-BwB6TAWY.mjs +87 -0
  459. package/.output/server/chunks/build/useWorkspaceChannels-BwB6TAWY.mjs.map +1 -0
  460. package/.output/server/chunks/build/useWorkspacePanels-CuAmDpT5.mjs +75 -0
  461. package/.output/server/chunks/build/useWorkspacePanels-CuAmDpT5.mjs.map +1 -0
  462. package/.output/server/chunks/build/useWorkspaceShell-CcQ4JlqO.mjs +165 -0
  463. package/.output/server/chunks/build/useWorkspaceShell-CcQ4JlqO.mjs.map +1 -0
  464. package/.output/server/chunks/build/users-De2HygNt.mjs +561 -0
  465. package/.output/server/chunks/build/users-De2HygNt.mjs.map +1 -0
  466. package/.output/server/chunks/build/workshop-CmgpTwyf.mjs +1018 -0
  467. package/.output/server/chunks/build/workshop-CmgpTwyf.mjs.map +1 -0
  468. package/.output/server/chunks/build/workspaces-DVIEk1Bl.mjs +139 -0
  469. package/.output/server/chunks/build/workspaces-DVIEk1Bl.mjs.map +1 -0
  470. package/.output/server/chunks/routes/api/health.get.mjs +2 -2
  471. package/.output/server/chunks/routes/api/index.get.mjs +2 -2
  472. package/.output/server/chunks/routes/api/index.post.mjs +2 -2
  473. package/.output/server/chunks/routes/api/mcp/workshop.mjs +2 -2
  474. package/.output/server/chunks/routes/api/metrics.mjs +2 -2
  475. package/.output/server/chunks/routes/api/plugins/_name/_...path_.mjs +2 -2
  476. package/.output/server/chunks/routes/api/plugins/client/_name_.get.mjs +2 -2
  477. package/.output/server/chunks/routes/api/plugins/i18n.get.mjs +2 -2
  478. package/.output/server/chunks/routes/api/plugins/manifest.get.mjs +2 -2
  479. package/.output/server/chunks/routes/api/system/config-groups/_id_.delete.mjs +2 -2
  480. package/.output/server/chunks/routes/api/system/config-groups/_id_.patch.mjs +2 -2
  481. package/.output/server/chunks/routes/api/system/config.get.mjs +2 -2
  482. package/.output/server/chunks/routes/api/system/index.get.mjs +2 -2
  483. package/.output/server/chunks/routes/api/system/index.patch.mjs +2 -2
  484. package/.output/server/chunks/routes/api/system/index.post.mjs +2 -2
  485. package/.output/server/chunks/routes/api/system/index2.get.mjs +2 -2
  486. package/.output/server/chunks/routes/api/system/monitor/terminal/ws.mjs +35 -4
  487. package/.output/server/chunks/routes/api/system/monitor/terminal/ws.mjs.map +1 -1
  488. package/.output/server/chunks/routes/api/system/monitor/terminate.post.mjs +2 -2
  489. package/.output/server/chunks/routes/api/system/monitor.get.mjs +2 -2
  490. package/.output/server/chunks/routes/api/system/settings/events.get.mjs +2 -2
  491. package/.output/server/chunks/routes/api/system/settings/reset.post.mjs +2 -2
  492. package/.output/server/chunks/routes/api/users/_id_.delete.mjs +2 -2
  493. package/.output/server/chunks/routes/api/users/_id_.get.mjs +2 -2
  494. package/.output/server/chunks/routes/api/users/_id_.put.mjs +2 -2
  495. package/.output/server/chunks/routes/api/users/index.get.mjs +2 -2
  496. package/.output/server/chunks/routes/api/users/index.post.mjs +2 -2
  497. package/.output/server/chunks/routes/api/users/login.post.mjs +2 -2
  498. package/.output/server/chunks/routes/api/users/logout.post.mjs +2 -2
  499. package/.output/server/chunks/routes/api/users/me.get.mjs +2 -2
  500. package/.output/server/chunks/routes/api/users/register.post.mjs +2 -2
  501. package/.output/server/chunks/routes/api/users/setup-status.get.mjs +2 -2
  502. package/.output/server/chunks/routes/api/users/tokens/_id/token.get.mjs +2 -2
  503. package/.output/server/chunks/routes/api/users/tokens/_id_.delete.mjs +2 -2
  504. package/.output/server/chunks/routes/api/users/tokens/_id_.patch.mjs +2 -2
  505. package/.output/server/chunks/routes/api/workshop/_...path_.mjs +2 -2
  506. package/.output/server/chunks/routes/api/workshop/a2a/_agentId/index.get.mjs +2 -2
  507. package/.output/server/chunks/routes/api/workshop/a2a/_agentId/index.post.mjs +2 -2
  508. package/.output/server/chunks/routes/api/workshop/a2a/send.post.mjs +2 -2
  509. package/.output/server/chunks/routes/api/workshop/agent-tools/approvals/_id/decide.post.mjs +38 -6
  510. package/.output/server/chunks/routes/api/workshop/agent-tools/approvals/_id/decide.post.mjs.map +1 -1
  511. package/.output/server/chunks/routes/api/workshop/agent-tools/bindings/_id_.delete.mjs +2 -2
  512. package/.output/server/chunks/routes/api/workshop/agent-tools/bindings/_id_.patch.mjs +2 -2
  513. package/.output/server/chunks/routes/api/workshop/agent-tools/index.get.mjs +14 -5
  514. package/.output/server/chunks/routes/api/workshop/agent-tools/index.get.mjs.map +1 -1
  515. package/.output/server/chunks/routes/api/workshop/agent-tools/index.post.mjs +2 -2
  516. package/.output/server/chunks/routes/api/workshop/agent-tools/index2.get.mjs +2 -2
  517. package/.output/server/chunks/routes/api/workshop/agent-tools/invoke.post.mjs +2 -2
  518. package/.output/server/chunks/routes/api/workshop/agent-tools/list.get.mjs +2 -2
  519. package/.output/server/chunks/routes/api/workshop/agents/_id_.delete.mjs +2 -2
  520. package/.output/server/chunks/routes/api/workshop/agents/_id_.get.mjs +2 -2
  521. package/.output/server/chunks/routes/api/workshop/agents/_id_.patch.mjs +2 -2
  522. package/.output/server/chunks/routes/api/workshop/agents/subscribe.post.mjs +2 -2
  523. package/.output/server/chunks/routes/api/workshop/aml/datasets/_id/preview.get.mjs +1 -1
  524. package/.output/server/chunks/routes/api/workshop/aml/datasets/_id_.delete.mjs +2 -2
  525. package/.output/server/chunks/routes/api/workshop/aml/datasets/_id_.get.mjs +2 -2
  526. package/.output/server/chunks/routes/api/workshop/aml/datasets/_id_.patch.mjs +2 -2
  527. package/.output/server/chunks/routes/api/workshop/aml/entities/prune.post.mjs +2 -2
  528. package/.output/server/chunks/routes/api/workshop/aml/env/recheck.post.mjs +2 -2
  529. package/.output/server/chunks/routes/api/workshop/aml/env/uv.post.mjs +2 -2
  530. package/.output/server/chunks/routes/api/workshop/aml/env/venv.post.mjs +2 -2
  531. package/.output/server/chunks/routes/api/workshop/aml/index.get.mjs +2 -2
  532. package/.output/server/chunks/routes/api/workshop/aml/index.post.mjs +2 -2
  533. package/.output/server/chunks/routes/api/workshop/aml/index2.get.mjs +2 -2
  534. package/.output/server/chunks/routes/api/workshop/aml/index2.post.mjs +2 -2
  535. package/.output/server/chunks/routes/api/workshop/aml/index3.get.mjs +2 -2
  536. package/.output/server/chunks/routes/api/workshop/aml/index4.get.mjs +2 -2
  537. package/.output/server/chunks/routes/api/workshop/aml/index5.get.mjs +2 -2
  538. package/.output/server/chunks/routes/api/workshop/aml/index6.get.mjs +2 -2
  539. package/.output/server/chunks/routes/api/workshop/aml/jobs/_id/cancel.post.mjs +2 -2
  540. package/.output/server/chunks/routes/api/workshop/aml/jobs/_id/logs.get.mjs +2 -2
  541. package/.output/server/chunks/routes/api/workshop/aml/jobs/_id/retry.post.mjs +2 -2
  542. package/.output/server/chunks/routes/api/workshop/aml/jobs/_id_.delete.mjs +2 -2
  543. package/.output/server/chunks/routes/api/workshop/aml/jobs/_id_.get.mjs +2 -2
  544. package/.output/server/chunks/routes/api/workshop/aml/models/_id/predict.post.mjs +2 -2
  545. package/.output/server/chunks/routes/api/workshop/aml/models/_id/promote.post.mjs +2 -2
  546. package/.output/server/chunks/routes/api/workshop/aml/models/_id_.delete.mjs +2 -2
  547. package/.output/server/chunks/routes/api/workshop/aml/models/_id_.patch.mjs +2 -2
  548. package/.output/server/chunks/routes/api/workshop/approvals/_id/decide.post.mjs +2 -2
  549. package/.output/server/chunks/routes/api/workshop/assets/character/_id_.delete.mjs +1 -1
  550. package/.output/server/chunks/routes/api/workshop/assets/devices/_id_.delete.mjs +1 -1
  551. package/.output/server/chunks/routes/api/workshop/assets/index.get.mjs +2 -2
  552. package/.output/server/chunks/routes/api/workshop/assets/index.post.mjs +1 -1
  553. package/.output/server/chunks/routes/api/workshop/assets/index2.get.mjs +1 -1
  554. package/.output/server/chunks/routes/api/workshop/assets/index2.post.mjs +1 -1
  555. package/.output/server/chunks/routes/api/workshop/audit.get.mjs +2 -2
  556. package/.output/server/chunks/routes/api/workshop/caller.mjs +2 -2
  557. package/.output/server/chunks/routes/api/workshop/channel-templates/_id/instantiate.post.mjs +10 -5
  558. package/.output/server/chunks/routes/api/workshop/channel-templates/_id/instantiate.post.mjs.map +1 -1
  559. package/.output/server/chunks/routes/api/workshop/channel-templates/_id_.delete.mjs +2 -2
  560. package/.output/server/chunks/routes/api/workshop/channel-templates/_id_.get.mjs +2 -2
  561. package/.output/server/chunks/routes/api/workshop/channel-templates/_id_.patch.mjs +2 -2
  562. package/.output/server/chunks/routes/api/workshop/channel-templates/from-channel.post.mjs +2 -2
  563. package/.output/server/chunks/routes/api/workshop/channels/_id/activate.post.mjs +2 -2
  564. package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/index.get.mjs +2 -2
  565. package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/index.post.mjs +2 -2
  566. package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/memories/_memoryId_.delete.mjs +2 -2
  567. package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/memories/search.post.mjs +2 -2
  568. package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/model.patch.mjs +2 -2
  569. package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/position.patch.mjs +2 -2
  570. package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/range.patch.mjs +2 -2
  571. package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/stop.post.mjs +2 -2
  572. package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId_.delete.mjs +2 -2
  573. package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId_.patch.mjs +2 -2
  574. package/.output/server/chunks/routes/api/workshop/channels/_id/chat/index.get.mjs +41 -0
  575. package/.output/server/chunks/routes/api/workshop/channels/_id/chat/index.get.mjs.map +1 -0
  576. package/.output/server/chunks/routes/api/workshop/channels/_id/chat/index.post.mjs +52 -0
  577. package/.output/server/chunks/routes/api/workshop/channels/_id/chat/index.post.mjs.map +1 -0
  578. package/.output/server/chunks/routes/api/workshop/channels/_id/chat/messages/_messageId/read.post.mjs +33 -0
  579. package/.output/server/chunks/routes/api/workshop/channels/_id/chat/messages/_messageId/read.post.mjs.map +1 -0
  580. package/.output/server/chunks/routes/api/workshop/channels/_id/chat/permissions.get.mjs +48 -0
  581. package/.output/server/chunks/routes/api/workshop/channels/_id/chat/permissions.get.mjs.map +1 -0
  582. package/.output/server/chunks/routes/api/workshop/channels/_id/events.get.mjs +2 -2
  583. package/.output/server/chunks/routes/api/workshop/channels/_id/index.get.mjs +2 -2
  584. package/.output/server/chunks/routes/api/workshop/channels/_id/index.post.mjs +2 -2
  585. package/.output/server/chunks/routes/api/workshop/channels/_id/index.put.mjs +2 -2
  586. package/.output/server/chunks/routes/api/workshop/channels/_id/index2.get.mjs +10 -14
  587. package/.output/server/chunks/routes/api/workshop/channels/_id/index2.get.mjs.map +1 -1
  588. package/.output/server/chunks/routes/api/workshop/channels/_id/index2.post.mjs +2 -2
  589. package/.output/server/chunks/routes/api/workshop/channels/_id/index3.get.mjs +15 -28
  590. package/.output/server/chunks/routes/api/workshop/channels/_id/index3.get.mjs.map +1 -1
  591. package/.output/server/chunks/routes/api/workshop/channels/_id/index3.post.mjs +3 -2
  592. package/.output/server/chunks/routes/api/workshop/channels/_id/index3.post.mjs.map +1 -1
  593. package/.output/server/chunks/routes/api/workshop/channels/_id/index4.get.mjs +29 -23
  594. package/.output/server/chunks/routes/api/workshop/channels/_id/index4.get.mjs.map +1 -1
  595. package/.output/server/chunks/routes/api/workshop/channels/_id/index4.post.mjs +9 -4
  596. package/.output/server/chunks/routes/api/workshop/channels/_id/index4.post.mjs.map +1 -1
  597. package/.output/server/chunks/routes/api/workshop/channels/_id/index5.get.mjs +22 -10
  598. package/.output/server/chunks/routes/api/workshop/channels/_id/index5.get.mjs.map +1 -1
  599. package/.output/server/chunks/routes/api/workshop/channels/_id/index6.get.mjs +34 -0
  600. package/.output/server/chunks/routes/api/workshop/channels/_id/index6.get.mjs.map +1 -0
  601. package/.output/server/chunks/routes/api/workshop/channels/_id/members/_userId/approve.post.mjs +33 -0
  602. package/.output/server/chunks/routes/api/workshop/channels/_id/members/_userId/approve.post.mjs.map +1 -0
  603. package/.output/server/chunks/routes/api/workshop/channels/_id/members/_userId_.delete.mjs +34 -0
  604. package/.output/server/chunks/routes/api/workshop/channels/_id/members/_userId_.delete.mjs.map +1 -0
  605. package/.output/server/chunks/routes/api/workshop/channels/_id/members/join.post.mjs +35 -0
  606. package/.output/server/chunks/routes/api/workshop/channels/_id/members/join.post.mjs.map +1 -0
  607. package/.output/server/chunks/routes/api/workshop/channels/_id/members/leave.post.mjs +33 -0
  608. package/.output/server/chunks/routes/api/workshop/channels/_id/members/leave.post.mjs.map +1 -0
  609. package/.output/server/chunks/routes/api/workshop/channels/_id/memories/_memoryId_.delete.mjs +2 -2
  610. package/.output/server/chunks/routes/api/workshop/channels/_id/queue.get.mjs +2 -2
  611. package/.output/server/chunks/routes/api/workshop/channels/_id/terminals.get.mjs +2 -2
  612. package/.output/server/chunks/routes/api/workshop/channels/_id_.delete.mjs +2 -2
  613. package/.output/server/chunks/routes/api/workshop/channels/index.get.mjs +2 -2
  614. package/.output/server/chunks/routes/api/workshop/channels/index.patch.mjs +22 -6
  615. package/.output/server/chunks/routes/api/workshop/channels/index.patch.mjs.map +1 -1
  616. package/.output/server/chunks/routes/api/workshop/channels.get.mjs +21 -3
  617. package/.output/server/chunks/routes/api/workshop/channels.get.mjs.map +1 -1
  618. package/.output/server/chunks/routes/api/workshop/channels.post.mjs +5 -5
  619. package/.output/server/chunks/routes/api/workshop/daq/_id/bind.post.mjs +2 -2
  620. package/.output/server/chunks/routes/api/workshop/daq/_id/bindings.put.mjs +2 -2
  621. package/.output/server/chunks/routes/api/workshop/daq/_id/frames/content.get.mjs +2 -2
  622. package/.output/server/chunks/routes/api/workshop/daq/_id/frames.get.mjs +2 -2
  623. package/.output/server/chunks/routes/api/workshop/daq/_id/samples.get.mjs +2 -2
  624. package/.output/server/chunks/routes/api/workshop/daq/_id/test.post.mjs +2 -2
  625. package/.output/server/chunks/routes/api/workshop/daq/_id_.delete.mjs +2 -2
  626. package/.output/server/chunks/routes/api/workshop/daq/_id_.patch.mjs +2 -2
  627. package/.output/server/chunks/routes/api/workshop/daq/alarms/_id/ack.post.mjs +2 -2
  628. package/.output/server/chunks/routes/api/workshop/daq/alarms.get.mjs +2 -2
  629. package/.output/server/chunks/routes/api/workshop/daq/controller.post.mjs +2 -2
  630. package/.output/server/chunks/routes/api/workshop/daq/index.post.mjs +2 -2
  631. package/.output/server/chunks/routes/api/workshop/daq/infra/reconnect.post.mjs +2 -2
  632. package/.output/server/chunks/routes/api/workshop/daq/infra.get.mjs +2 -2
  633. package/.output/server/chunks/routes/api/workshop/daq/templates/_key_.delete.mjs +2 -2
  634. package/.output/server/chunks/routes/api/workshop/daq/templates/_key_.patch.mjs +2 -2
  635. package/.output/server/chunks/routes/api/workshop/daq/test-driver.post.mjs +2 -2
  636. package/.output/server/chunks/routes/api/workshop/dcw/_id/bind.post.mjs +2 -2
  637. package/.output/server/chunks/routes/api/workshop/dcw/_id/bindings.put.mjs +2 -2
  638. package/.output/server/chunks/routes/api/workshop/dcw/_id/param-ledger.get.mjs +2 -2
  639. package/.output/server/chunks/routes/api/workshop/dcw/_id/read.post.mjs +2 -2
  640. package/.output/server/chunks/routes/api/workshop/dcw/_id/test.post.mjs +2 -2
  641. package/.output/server/chunks/routes/api/workshop/dcw/_id/write.post.mjs +2 -2
  642. package/.output/server/chunks/routes/api/workshop/dcw/_id_.delete.mjs +2 -2
  643. package/.output/server/chunks/routes/api/workshop/dcw/_id_.patch.mjs +2 -2
  644. package/.output/server/chunks/routes/api/workshop/dcw/controller.post.mjs +2 -2
  645. package/.output/server/chunks/routes/api/workshop/dcw/index.get.mjs +2 -2
  646. package/.output/server/chunks/routes/api/workshop/dcw/index.post.mjs +2 -2
  647. package/.output/server/chunks/routes/api/workshop/dcw/index2.get.mjs +2 -2
  648. package/.output/server/chunks/routes/api/workshop/dcw/index2.post.mjs +2 -2
  649. package/.output/server/chunks/routes/api/workshop/dcw/index3.get.mjs +2 -2
  650. package/.output/server/chunks/routes/api/workshop/dcw/index3.post.mjs +2 -2
  651. package/.output/server/chunks/routes/api/workshop/dcw/index4.get.mjs +2 -2
  652. package/.output/server/chunks/routes/api/workshop/dcw/index4.post.mjs +2 -2
  653. package/.output/server/chunks/routes/api/workshop/dcw/index5.get.mjs +2 -2
  654. package/.output/server/chunks/routes/api/workshop/dcw/index5.post.mjs +2 -2
  655. package/.output/server/chunks/routes/api/workshop/dcw/index6.get.mjs +2 -2
  656. package/.output/server/chunks/routes/api/workshop/dcw/journal/node/_nodeId/rollback.post.mjs +2 -2
  657. package/.output/server/chunks/routes/api/workshop/dcw/line/query.get.mjs +2 -2
  658. package/.output/server/chunks/routes/api/workshop/dcw/lines/_id/start.post.mjs +2 -2
  659. package/.output/server/chunks/routes/api/workshop/dcw/lines/_id/stop.post.mjs +2 -2
  660. package/.output/server/chunks/routes/api/workshop/dcw/lines/_id_.delete.mjs +2 -2
  661. package/.output/server/chunks/routes/api/workshop/dcw/lines/_id_.patch.mjs +2 -2
  662. package/.output/server/chunks/routes/api/workshop/dcw/optimizations/_id/judge.post.mjs +2 -2
  663. package/.output/server/chunks/routes/api/workshop/dcw/optimizations/_id/rollback.post.mjs +2 -2
  664. package/.output/server/chunks/routes/api/workshop/dcw/optimizations/_id/series.get.mjs +2 -2
  665. package/.output/server/chunks/routes/api/workshop/dcw/optimizations/_id_.get.mjs +2 -2
  666. package/.output/server/chunks/routes/api/workshop/dcw/params/_id/read.post.mjs +2 -2
  667. package/.output/server/chunks/routes/api/workshop/dcw/params/_id/write.post.mjs +2 -2
  668. package/.output/server/chunks/routes/api/workshop/dcw/params/_id_.delete.mjs +2 -2
  669. package/.output/server/chunks/routes/api/workshop/dcw/params/_id_.patch.mjs +2 -2
  670. package/.output/server/chunks/routes/api/workshop/dcw/products/_id_.delete.mjs +2 -2
  671. package/.output/server/chunks/routes/api/workshop/dcw/products/_id_.patch.mjs +2 -2
  672. package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id/apply.post.mjs +2 -2
  673. package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id/mark-good.post.mjs +2 -2
  674. package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id/revert.post.mjs +2 -2
  675. package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id/rollback-good.post.mjs +2 -2
  676. package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id/versions.get.mjs +2 -2
  677. package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id_.delete.mjs +2 -2
  678. package/.output/server/chunks/routes/api/workshop/dcw/recipes/index.patch.mjs +2 -2
  679. package/.output/server/chunks/routes/api/workshop/dcw/runs/_id/close.post.mjs +2 -2
  680. package/.output/server/chunks/routes/api/workshop/dcw/runs/_id/data.get.mjs +2 -2
  681. package/.output/server/chunks/routes/api/workshop/dcw/runs/_id/rollback.post.mjs +2 -2
  682. package/.output/server/chunks/routes/api/workshop/dcw/templates/_key_.delete.mjs +2 -2
  683. package/.output/server/chunks/routes/api/workshop/dcw/templates/_key_.patch.mjs +2 -2
  684. package/.output/server/chunks/routes/api/workshop/dcw/test-driver.post.mjs +2 -2
  685. package/.output/server/chunks/routes/api/workshop/device-twins/_id/control.post.mjs +2 -2
  686. package/.output/server/chunks/routes/api/workshop/device-twins/_id/telemetry.post.mjs +2 -2
  687. package/.output/server/chunks/routes/api/workshop/device-twins/_id_.delete.mjs +2 -2
  688. package/.output/server/chunks/routes/api/workshop/device-twins/_id_.patch.mjs +2 -2
  689. package/.output/server/chunks/routes/api/workshop/fs/dirs.get.mjs +1 -1
  690. package/.output/server/chunks/routes/api/workshop/harnesses/_id/providers.get.mjs +2 -2
  691. package/.output/server/chunks/routes/api/workshop/harnesses.get.mjs +2 -2
  692. package/.output/server/chunks/routes/api/workshop/hitl/pending.get.mjs +11 -4
  693. package/.output/server/chunks/routes/api/workshop/hitl/pending.get.mjs.map +1 -1
  694. package/.output/server/chunks/routes/api/workshop/hitl/respond.post.mjs +28 -36
  695. package/.output/server/chunks/routes/api/workshop/hitl/respond.post.mjs.map +1 -1
  696. package/.output/server/chunks/routes/api/workshop/index.get.mjs +2 -2
  697. package/.output/server/chunks/routes/api/workshop/index.post.mjs +2 -2
  698. package/.output/server/chunks/routes/api/workshop/index.put.mjs +2 -2
  699. package/.output/server/chunks/routes/api/workshop/index10.get.mjs +26 -12
  700. package/.output/server/chunks/routes/api/workshop/index10.get.mjs.map +1 -1
  701. package/.output/server/chunks/routes/api/workshop/index11.get.mjs +12 -7
  702. package/.output/server/chunks/routes/api/workshop/index11.get.mjs.map +1 -1
  703. package/.output/server/chunks/routes/api/workshop/index12.get.mjs +3 -3
  704. package/.output/server/chunks/routes/api/workshop/index12.get.mjs.map +1 -1
  705. package/.output/server/chunks/routes/api/workshop/index13.get.mjs +29 -0
  706. package/.output/server/chunks/routes/api/workshop/index13.get.mjs.map +1 -0
  707. package/.output/server/chunks/routes/api/workshop/index14.get.mjs +28 -0
  708. package/.output/server/chunks/routes/api/workshop/index14.get.mjs.map +1 -0
  709. package/.output/server/chunks/routes/api/workshop/index2.get.mjs +2 -2
  710. package/.output/server/chunks/routes/api/workshop/index2.post.mjs +2 -2
  711. package/.output/server/chunks/routes/api/workshop/index3.get.mjs +2 -2
  712. package/.output/server/chunks/routes/api/workshop/index3.post.mjs +2 -2
  713. package/.output/server/chunks/routes/api/workshop/index4.get.mjs +2 -2
  714. package/.output/server/chunks/routes/api/workshop/index4.post.mjs +2 -2
  715. package/.output/server/chunks/routes/api/workshop/index5.get.mjs +2 -2
  716. package/.output/server/chunks/routes/api/workshop/index5.post.mjs +2 -2
  717. package/.output/server/chunks/routes/api/workshop/index6.get.mjs +2 -2
  718. package/.output/server/chunks/routes/api/workshop/index6.post.mjs +2 -2
  719. package/.output/server/chunks/routes/api/workshop/index7.get.mjs +2 -2
  720. package/.output/server/chunks/routes/api/workshop/index7.post.mjs +14 -16
  721. package/.output/server/chunks/routes/api/workshop/index7.post.mjs.map +1 -1
  722. package/.output/server/chunks/routes/api/workshop/index8.get.mjs +40 -19
  723. package/.output/server/chunks/routes/api/workshop/index8.get.mjs.map +1 -1
  724. package/.output/server/chunks/routes/api/workshop/index8.post.mjs +19 -5
  725. package/.output/server/chunks/routes/api/workshop/index8.post.mjs.map +1 -1
  726. package/.output/server/chunks/routes/api/workshop/index9.get.mjs +20 -24
  727. package/.output/server/chunks/routes/api/workshop/index9.get.mjs.map +1 -1
  728. package/.output/server/chunks/routes/api/workshop/index9.post.mjs +30 -0
  729. package/.output/server/chunks/routes/api/workshop/index9.post.mjs.map +1 -0
  730. package/.output/server/chunks/routes/api/workshop/mailbox/all.get.mjs +2 -2
  731. package/.output/server/chunks/routes/api/workshop/mailbox.get.mjs +2 -2
  732. package/.output/server/chunks/routes/api/workshop/memories/maintenance.post.mjs +2 -2
  733. package/.output/server/chunks/routes/api/workshop/notifications/read.post.mjs +41 -0
  734. package/.output/server/chunks/routes/api/workshop/notifications/read.post.mjs.map +1 -0
  735. package/.output/server/chunks/routes/api/workshop/plugins/_name/disable.post.mjs +2 -2
  736. package/.output/server/chunks/routes/api/workshop/plugins/_name/enable.post.mjs +2 -2
  737. package/.output/server/chunks/routes/api/workshop/plugins/index.get.mjs +2 -2
  738. package/.output/server/chunks/routes/api/workshop/runtime.get.mjs +2 -2
  739. package/.output/server/chunks/routes/api/workshop/scene/layouts/_channelId_.delete.mjs +2 -2
  740. package/.output/server/chunks/routes/api/workshop/scene/layouts/_channelId_.put.mjs +2 -2
  741. package/.output/server/chunks/routes/api/workshop/scene/layouts.get.mjs +2 -2
  742. package/.output/server/chunks/routes/api/workshop/schedules/_id/run.post.mjs +29 -0
  743. package/.output/server/chunks/routes/api/workshop/schedules/_id/run.post.mjs.map +1 -0
  744. package/.output/server/chunks/routes/api/workshop/schedules/_id/runs.get.mjs +31 -0
  745. package/.output/server/chunks/routes/api/workshop/schedules/_id/runs.get.mjs.map +1 -0
  746. package/.output/server/chunks/routes/api/workshop/schedules/_id_.delete.mjs +30 -0
  747. package/.output/server/chunks/routes/api/workshop/schedules/_id_.delete.mjs.map +1 -0
  748. package/.output/server/chunks/routes/api/workshop/schedules/_id_.get.mjs +29 -0
  749. package/.output/server/chunks/routes/api/workshop/schedules/_id_.get.mjs.map +1 -0
  750. package/.output/server/chunks/routes/api/workshop/schedules/_id_.patch.mjs +40 -0
  751. package/.output/server/chunks/routes/api/workshop/schedules/_id_.patch.mjs.map +1 -0
  752. package/.output/server/chunks/routes/api/workshop/tasks/_id/complete.post.mjs +2 -2
  753. package/.output/server/chunks/routes/api/workshop/tasks/_id/dispatch.post.mjs +2 -2
  754. package/.output/server/chunks/routes/api/workshop/tasks/_id/index.post.mjs +2 -2
  755. package/.output/server/chunks/routes/api/workshop/tasks/_id/reassign.post.mjs +39 -0
  756. package/.output/server/chunks/routes/api/workshop/tasks/_id/reassign.post.mjs.map +1 -0
  757. package/.output/server/chunks/routes/api/workshop/tasks/_id/report.post.mjs +2 -2
  758. package/.output/server/chunks/routes/api/workshop/tasks/_id/retry.post.mjs +2 -2
  759. package/.output/server/chunks/routes/api/workshop/tasks/_id/update.post.mjs +44 -0
  760. package/.output/server/chunks/routes/api/workshop/tasks/_id/update.post.mjs.map +1 -0
  761. package/.output/server/chunks/routes/api/workshop/tasks/_id_.get.mjs +9 -5
  762. package/.output/server/chunks/routes/api/workshop/tasks/_id_.get.mjs.map +1 -1
  763. package/.output/server/chunks/routes/api/workshop/tasks.get.mjs +2 -2
  764. package/.output/server/chunks/routes/api/workshop/teams/_id/deploy.post.mjs +2 -2
  765. package/.output/server/chunks/routes/api/workshop/teams/_id/index.get.mjs +2 -2
  766. package/.output/server/chunks/routes/api/workshop/teams/_id/index.post.mjs +2 -2
  767. package/.output/server/chunks/routes/api/workshop/teams/_id/index.put.mjs +2 -2
  768. package/.output/server/chunks/routes/api/workshop/teams/_id/index2.get.mjs +2 -2
  769. package/.output/server/chunks/routes/api/workshop/teams/_id/members/_agentId_.delete.mjs +2 -2
  770. package/.output/server/chunks/routes/api/workshop/teams/_id_.delete.mjs +2 -2
  771. package/.output/server/chunks/routes/api/workshop/teams/_id_.get.mjs +2 -2
  772. package/.output/server/chunks/routes/api/workshop/teams/_id_.patch.mjs +2 -2
  773. package/.output/server/chunks/routes/api/workshop/users/me.get.mjs +2 -2
  774. package/.output/server/chunks/routes/api/workshop/users/register.post.mjs +2 -2
  775. package/.output/server/chunks/routes/api/workshop/workspaces/_id/channel-templates/_tplId_.post.mjs +3 -3
  776. package/.output/server/chunks/routes/api/workshop/workspaces/_id/channels/_channelId_.delete.mjs +2 -2
  777. package/.output/server/chunks/routes/api/workshop/workspaces/_id/channels/_channelId_.post.mjs +2 -2
  778. package/.output/server/chunks/routes/api/workshop/workspaces/index.delete.mjs +2 -2
  779. package/.output/server/chunks/routes/renderer.mjs +3 -3
  780. package/.output/server/chunks/virtual/entry.mjs +6055 -1624
  781. package/.output/server/chunks/virtual/entry.mjs.map +1 -1
  782. package/.output/server/chunks/virtual/precomputed.mjs +1 -1
  783. package/.output/server/index.mjs +15 -5549
  784. package/.output/server/index.mjs.map +1 -1
  785. package/.output/server/package.json +1 -1
  786. package/README-zh.md +102 -48
  787. package/README.md +105 -38
  788. package/app/components/AppHeader.vue +26 -703
  789. package/app/components/aml/AmlDatasetFormModal.vue +279 -0
  790. package/app/components/aml/AmlDatasetTable.vue +319 -0
  791. package/app/components/aml/AmlEnvPanel.vue +230 -0
  792. package/app/components/aml/AmlExperimentsTable.vue +142 -0
  793. package/app/components/aml/AmlInfraBanner.vue +23 -0
  794. package/app/components/aml/AmlJobsTable.vue +248 -0
  795. package/app/components/aml/AmlModelsTable.vue +173 -0
  796. package/app/components/aml/AmlOverviewBar.vue +62 -0
  797. package/app/components/aml/AmlPageHeader.vue +47 -0
  798. package/app/components/aml/AmlPredictConsole.vue +201 -0
  799. package/app/components/app-header/HeaderTools.vue +208 -0
  800. package/app/components/app-header/HitlBell.vue +423 -0
  801. package/app/components/app-header/TrailNav.vue +261 -0
  802. package/app/components/app-header/UserChip.vue +150 -0
  803. package/app/components/daq/DaqAddNodeModal.vue +209 -0
  804. package/app/components/daq/DaqAlarmBar.vue +46 -0
  805. package/app/components/daq/DaqControlCard.vue +159 -0
  806. package/app/components/daq/DaqDetailFramesTile.vue +139 -0
  807. package/app/components/daq/DaqDetailHistoryCard.vue +128 -0
  808. package/app/components/daq/DaqDetailLiveCard.vue +92 -0
  809. package/app/components/daq/DaqDetailParamForm.vue +350 -0
  810. package/app/components/daq/DaqInfraBanner.vue +31 -0
  811. package/app/components/daq/DaqLineBanner.vue +47 -0
  812. package/app/components/daq/DaqNodePanel.vue +396 -0
  813. package/app/components/daq/DaqOptPanel.vue +197 -0
  814. package/app/components/daq/DaqTemplateModal.vue +246 -0
  815. package/app/components/dashboard/DashboardFleetPanel.vue +228 -0
  816. package/app/components/dashboard/DashboardGaugeBand.vue +78 -0
  817. package/app/components/dashboard/DashboardHarnessPanel.vue +149 -0
  818. package/app/components/dashboard/DashboardHero.vue +209 -0
  819. package/app/components/dashboard/DashboardLineStatePanel.vue +78 -0
  820. package/app/components/dashboard/DashboardNodeStatePanel.vue +46 -0
  821. package/app/components/dashboard/DashboardPipelinePanel.vue +46 -0
  822. package/app/components/dashboard/DashboardTrendPanel.vue +83 -0
  823. package/app/components/dashboard/DashboardWritePanel.vue +52 -0
  824. package/app/components/dcw/DcwAddNodeModal.vue +328 -0
  825. package/app/components/dcw/DcwAdoptCard.vue +89 -0
  826. package/app/components/dcw/DcwCreateLineModal.vue +105 -0
  827. package/app/components/dcw/DcwDeleteLineModal.vue +73 -0
  828. package/app/components/dcw/DcwDetailHead.vue +65 -0
  829. package/app/components/dcw/DcwDetailTemplateModal.vue +238 -0
  830. package/app/components/dcw/DcwEditLineModal.vue +108 -0
  831. package/app/components/dcw/DcwGatewayBar.vue +94 -0
  832. package/app/components/dcw/DcwLedgerCard.vue +160 -0
  833. package/app/components/dcw/DcwLineCard.vue +117 -0
  834. package/app/components/dcw/DcwLineRunCard.vue +158 -0
  835. package/app/components/dcw/DcwNodesTable.vue +253 -0
  836. package/app/components/dcw/DcwProductCreateModal.vue +113 -0
  837. package/app/components/dcw/DcwQueryCard.vue +251 -0
  838. package/app/components/dcw/DcwRecipeEditModal.vue +285 -0
  839. package/app/components/dcw/DcwRecipeHistoryModal.vue +165 -0
  840. package/app/components/dcw/DcwRecipePanel.vue +367 -0
  841. package/app/components/dcw/DcwRunDataModal.vue +191 -0
  842. package/app/components/dcw/DcwTemplateModal.vue +227 -0
  843. package/app/components/dcw/DcwWriteHistoryCard.vue +96 -0
  844. package/app/components/logs/LogsEventTable.vue +309 -0
  845. package/app/components/logs/LogsFilterCard.vue +234 -0
  846. package/app/components/logs/LogsManualModal.vue +231 -0
  847. package/app/components/logs/LogsPageHead.vue +71 -0
  848. package/app/components/monitor/MonitorAgentTable.vue +143 -0
  849. package/app/components/monitor/MonitorChannelTable.vue +80 -0
  850. package/app/components/monitor/MonitorLoginGate.vue +24 -0
  851. package/app/components/monitor/MonitorPageHead.vue +92 -0
  852. package/app/components/monitor/MonitorProcessTable.vue +159 -0
  853. package/app/components/monitor/MonitorStatGrid.vue +165 -0
  854. package/app/components/settings/AppearancePane.vue +282 -0
  855. package/app/components/settings/PluginsSection.vue +280 -0
  856. package/app/components/settings/RuntimeFieldRow.vue +189 -0
  857. package/app/components/settings/RuntimeGroupSection.vue +290 -0
  858. package/app/components/settings/RuntimePane.vue +235 -0
  859. package/app/components/settings/SystemPane.vue +83 -0
  860. package/app/components/tokens/TokenCreateModal.vue +42 -0
  861. package/app/components/tokens/TokenOnceModal.vue +164 -0
  862. package/app/components/tokens/TokenRenameModal.vue +40 -0
  863. package/app/components/tokens/TokensAuthGate.vue +47 -0
  864. package/app/components/tokens/TokensPageHead.vue +76 -0
  865. package/app/components/tokens/TokensTable.vue +227 -0
  866. package/app/components/workshop/AgentLanesView.vue +35 -755
  867. package/app/components/workshop/ChannelSessionList.vue +58 -493
  868. package/app/components/workshop/ChatMemberPanel.vue +555 -0
  869. package/app/components/workshop/ChatTimeline.vue +569 -0
  870. package/app/components/workshop/CommandPalette.vue +1 -0
  871. package/app/components/workshop/Composer.vue +224 -511
  872. package/app/components/workshop/DeviceTwinPanel.vue +23 -499
  873. package/app/components/workshop/EventBlock.vue +20 -408
  874. package/app/components/workshop/MemoryPanel.vue +405 -364
  875. package/app/components/workshop/MultiChannelView.vue +189 -189
  876. package/app/components/workshop/NotificationCenter.vue +325 -0
  877. package/app/components/workshop/TaskBoardView.vue +260 -686
  878. package/app/components/workshop/TaskInspectorDrawer.vue +484 -390
  879. package/app/components/workshop/TranscriptTimeline.vue +60 -438
  880. package/app/components/workshop/agents/AgentTemplateEditModal.vue +139 -0
  881. package/app/components/workshop/agents/AgentTemplateTable.vue +269 -0
  882. package/app/components/workshop/agents/AgentTemplateToolbar.vue +67 -0
  883. package/app/components/workshop/blocks/ClusterRoute.vue +1 -1
  884. package/app/components/workshop/blocks/EventBlockAvatar.vue +114 -0
  885. package/app/components/workshop/blocks/EventBlockHead.vue +232 -0
  886. package/app/components/workshop/composer/ComposerToolbar.vue +278 -0
  887. package/app/components/workshop/composer/MentionMenu.vue +135 -0
  888. package/app/components/workshop/composer/ReplyChip.vue +65 -0
  889. package/app/components/workshop/composer/StatusChip.vue +171 -0
  890. package/app/components/workshop/console/CenterPane.vue +94 -0
  891. package/app/components/workshop/console/Dock.vue +71 -0
  892. package/app/components/workshop/console/LeftPane.vue +84 -0
  893. package/app/components/workshop/console/RightPane.vue +95 -0
  894. package/app/components/workshop/console/Topbar.vue +289 -0
  895. package/app/components/workshop/device-twin/DeviceTwinCard.vue +265 -0
  896. package/app/components/workshop/device-twin/DeviceTwinDcwSection.vue +203 -0
  897. package/app/components/workshop/lanes/AddMemberModal.vue +270 -0
  898. package/app/components/workshop/lanes/EditMemberModal.vue +106 -0
  899. package/app/components/workshop/lanes/LaneHeader.vue +432 -0
  900. package/app/components/workshop/lanes/LanesToolbar.vue +97 -0
  901. package/app/components/workshop/session-list/ChannelSettingsModal.vue +329 -0
  902. package/app/components/workshop/session-list/MountChannelModal.vue +124 -0
  903. package/app/components/workshop/session-list/SaveTemplateModal.vue +93 -0
  904. package/app/components/workshop/task-board/Card.vue +172 -0
  905. package/app/components/workshop/task-board/Column.vue +151 -0
  906. package/app/components/workshop/task-board/List.vue +157 -0
  907. package/app/components/workshop/task-board/StatusMenu.vue +88 -0
  908. package/app/components/workshop/teams/TeamAddMemberModal.vue +53 -0
  909. package/app/components/workshop/teams/TeamCard.vue +183 -0
  910. package/app/components/workshop/teams/TeamCreateModal.vue +94 -0
  911. package/app/components/workshop/teams/TeamDeployModal.vue +40 -0
  912. package/app/components/workshop/teams/TeamPluginModal.vue +119 -0
  913. package/app/components/workshop/terminal/OmpTerminalPanel.vue +19 -760
  914. package/app/components/workshop/terminal/TerminalHitlCard.vue +170 -0
  915. package/app/components/workshop/town/TownScene.ts +72 -961
  916. package/app/components/workshop/town/TownScene3D.ts +357 -4045
  917. package/app/components/workshop/town/TownView.vue +461 -7405
  918. package/app/components/workshop/town/components/TownAgentBindings.vue +380 -0
  919. package/app/components/workshop/town/components/TownAgentInspector.vue +546 -0
  920. package/app/components/workshop/town/components/TownAlarmList.vue +147 -0
  921. package/app/components/workshop/town/components/TownBoundaryPanel.vue +350 -0
  922. package/app/components/workshop/town/components/TownCalloutLayer.vue +147 -0
  923. package/app/components/workshop/town/components/TownChannelDock.vue +116 -0
  924. package/app/components/workshop/town/components/TownControlDock.vue +400 -0
  925. package/app/components/workshop/town/components/TownDaqNodeInspector.vue +345 -0
  926. package/app/components/workshop/town/components/TownDaqTree.vue +366 -0
  927. package/app/components/workshop/town/components/TownDcwBindSection.vue +473 -0
  928. package/app/components/workshop/town/components/TownDcwNodeInspector.vue +185 -0
  929. package/app/components/workshop/town/components/TownDcwTree.vue +280 -0
  930. package/app/components/workshop/town/components/TownDeviceBindings.vue +394 -0
  931. package/app/components/workshop/town/components/TownDeviceTransform.vue +248 -0
  932. package/app/components/workshop/town/components/TownEventList.vue +120 -0
  933. package/app/components/workshop/town/components/TownHealthBody.vue +100 -0
  934. package/app/components/workshop/town/components/TownKpiStrip.vue +207 -0
  935. package/app/components/workshop/town/components/TownLeftRail.vue +308 -0
  936. package/app/components/workshop/town/components/TownLoadingMask.vue +61 -0
  937. package/app/components/workshop/town/components/TownNavMap.vue +154 -0
  938. package/app/components/workshop/town/components/TownRightRail.vue +540 -0
  939. package/app/components/workshop/town/components/TownStage.vue +281 -0
  940. package/app/components/workshop/town/components/TownStageTop.vue +238 -0
  941. package/app/components/workshop/town/components/TownStatusBar.vue +108 -0
  942. package/app/components/workshop/town/components/TownTopNav.vue +367 -0
  943. package/app/components/workshop/town/components/TownTrendDock.vue +178 -0
  944. package/app/components/workshop/town/scene/town-scene-agents.ts +254 -0
  945. package/app/components/workshop/town/scene/town-scene-behavior.ts +194 -0
  946. package/app/components/workshop/town/scene/town-scene-bubbles.ts +96 -0
  947. package/app/components/workshop/town/scene/town-scene-core.ts +158 -0
  948. package/app/components/workshop/town/scene/town-scene-models.ts +109 -0
  949. package/app/components/workshop/town/scene/town-scene-visuals.ts +279 -0
  950. package/app/components/workshop/town/scene/town-scene3d-agents.ts +308 -0
  951. package/app/components/workshop/town/scene/town-scene3d-blocks.ts +297 -0
  952. package/app/components/workshop/town/scene/town-scene3d-bubbles.ts +281 -0
  953. package/app/components/workshop/town/scene/town-scene3d-camera.ts +282 -0
  954. package/app/components/workshop/town/scene/town-scene3d-devices.ts +433 -0
  955. package/app/components/workshop/town/scene/town-scene3d-editing.ts +490 -0
  956. package/app/components/workshop/town/scene/town-scene3d-events.ts +173 -0
  957. package/app/components/workshop/town/scene/town-scene3d-factory.ts +412 -0
  958. package/app/components/workshop/town/scene/town-scene3d-hud.ts +110 -0
  959. package/app/components/workshop/town/scene/town-scene3d-lifecycle.ts +144 -0
  960. package/app/components/workshop/town/scene/town-scene3d-links.ts +141 -0
  961. package/app/components/workshop/town/scene/town-scene3d-loop.ts +286 -0
  962. package/app/components/workshop/town/scene/town-scene3d-models.ts +154 -0
  963. package/app/components/workshop/town/scene/town-scene3d-nodes.ts +562 -0
  964. package/app/components/workshop/town/scene/town-scene3d-ranges.ts +273 -0
  965. package/app/components/workshop/town/scene/town-scene3d-renderer.ts +320 -0
  966. package/app/components/workshop/town/scene/town-scene3d-selection.ts +257 -0
  967. package/app/components/workshop/town/scene/town-scene3d-types.ts +264 -0
  968. package/app/components/workshop/transcript/TranscriptBlockList.vue +68 -0
  969. package/app/components/workshop/transcript/TranscriptEarlierPager.vue +81 -0
  970. package/app/components/workshop/transcript/TranscriptEmptyState.vue +153 -0
  971. package/app/components/workshop/transcript/TranscriptFilterBar.vue +126 -0
  972. package/app/components/workshop/workbench/AuthGate.vue +179 -0
  973. package/app/components/workshop/workbench/CreateWorkspaceModal.vue +36 -0
  974. package/app/components/workshop/workbench/WorkbenchHead.vue +129 -0
  975. package/app/components/workshop/workbench/WorkspaceCard.vue +198 -0
  976. package/app/components/workshop/workbench/WorkspaceEmpty.vue +56 -0
  977. package/app/composables/workshop/device-twin-types.ts +29 -0
  978. package/app/composables/workshop/event-blocks/attention.ts +58 -0
  979. package/app/composables/workshop/event-blocks/classify.ts +44 -0
  980. package/app/composables/workshop/event-blocks/clusterer.ts +231 -0
  981. package/app/composables/workshop/event-blocks/constants.ts +48 -0
  982. package/app/composables/workshop/event-blocks/fold-stream.ts +45 -0
  983. package/app/composables/workshop/event-blocks/markdown.ts +81 -0
  984. package/app/composables/workshop/event-blocks/mentions.ts +49 -0
  985. package/app/composables/workshop/event-blocks/text-utils.ts +100 -0
  986. package/app/composables/workshop/event-blocks/types.ts +40 -0
  987. package/app/composables/workshop/town/town-relay-props.ts +226 -0
  988. package/app/composables/workshop/town/town-view-types.ts +145 -0
  989. package/app/composables/workshop/town/useTownAgentBindings.ts +115 -0
  990. package/app/composables/workshop/town/useTownAgentChat.ts +203 -0
  991. package/app/composables/workshop/town/useTownAlarms.ts +36 -0
  992. package/app/composables/workshop/town/useTownCallouts.ts +174 -0
  993. package/app/composables/workshop/town/useTownChannels.ts +220 -0
  994. package/app/composables/workshop/town/useTownHealth.ts +66 -0
  995. package/app/composables/workshop/town/useTownHudTickers.ts +77 -0
  996. package/app/composables/workshop/town/useTownLayout.ts +277 -0
  997. package/app/composables/workshop/town/useTownNavMap.ts +301 -0
  998. package/app/composables/workshop/town/useTownNodeBindings.ts +345 -0
  999. package/app/composables/workshop/town/useTownPanelDrag.ts +91 -0
  1000. package/app/composables/workshop/town/useTownRailData.ts +421 -0
  1001. package/app/composables/workshop/town/useTownSceneControl.ts +92 -0
  1002. package/app/composables/workshop/town/useTownSceneInput.ts +275 -0
  1003. package/app/composables/workshop/town/useTownSceneRuntime.ts +390 -0
  1004. package/app/composables/workshop/town/useTownSheets.ts +41 -0
  1005. package/app/composables/workshop/town/useTownTrends.ts +93 -0
  1006. package/app/composables/workshop/useChannelList.ts +88 -0
  1007. package/app/composables/workshop/useChannelTerminals.ts +65 -0
  1008. package/app/composables/workshop/useComposerMentions.ts +130 -0
  1009. package/app/composables/workshop/useDeviceTwinDcwWrite.ts +77 -0
  1010. package/app/composables/workshop/useDeviceTwinPanel.ts +56 -0
  1011. package/app/composables/workshop/useEventBlockView.ts +159 -0
  1012. package/app/composables/workshop/useEventBlocks.ts +33 -662
  1013. package/app/composables/workshop/useHitlAnswer.ts +184 -0
  1014. package/app/composables/workshop/useLaneWidths.ts +27 -0
  1015. package/app/composables/workshop/useOmpTerminalSession.ts +424 -0
  1016. package/app/composables/workshop/usePluginAdmin.ts +152 -0
  1017. package/app/composables/workshop/useRuntimeConfigDraft.ts +118 -0
  1018. package/app/composables/workshop/useSettingsGroups.ts +243 -0
  1019. package/app/composables/workshop/useTaskBoardColumns.ts +47 -0
  1020. package/app/composables/workshop/useTaskBoardDrag.ts +78 -0
  1021. package/app/composables/workshop/useTaskBoardMenu.ts +60 -0
  1022. package/app/composables/workshop/useTaskBoardTasks.ts +74 -0
  1023. package/app/composables/workshop/useTerminalRenderer.ts +308 -0
  1024. package/app/composables/workshop/useTranscriptEnterStage.ts +48 -0
  1025. package/app/composables/workshop/useTranscriptHistory.ts +52 -0
  1026. package/app/composables/workshop/useTranscriptScroll.ts +113 -0
  1027. package/app/composables/workshop/useWorkshopApi.ts +85 -2
  1028. package/app/composables/workshop/useWorkshopWs.ts +265 -126
  1029. package/app/config/schema.ts +13 -0
  1030. package/app/layouts/town.vue +21 -16
  1031. package/app/pages/aml/api.ts +6 -0
  1032. package/app/pages/aml/composables/useAmlDatasets.ts +38 -0
  1033. package/app/pages/aml/composables/useAmlEntities.ts +57 -0
  1034. package/app/pages/aml/composables/useAmlEnv.ts +191 -0
  1035. package/app/pages/aml/composables/useAmlExperiments.ts +45 -0
  1036. package/app/pages/aml/composables/useAmlFormat.ts +44 -0
  1037. package/app/pages/aml/composables/useAmlJobs.ts +131 -0
  1038. package/app/pages/aml/composables/useAmlModels.ts +56 -0
  1039. package/app/pages/aml/composables/useAmlNotes.ts +47 -0
  1040. package/app/pages/aml/composables/useAmlPredict.ts +93 -0
  1041. package/app/pages/aml/constants.ts +63 -0
  1042. package/app/pages/aml/index.vue +143 -2596
  1043. package/app/pages/aml/styles.css +420 -0
  1044. package/app/pages/aml/types.ts +189 -0
  1045. package/app/pages/composables/useDashboardCharts.ts +192 -0
  1046. package/app/pages/composables/useDashboardData.ts +144 -0
  1047. package/app/pages/daq/[id].vue +59 -929
  1048. package/app/pages/daq/composables/useDaqAddNode.ts +126 -0
  1049. package/app/pages/daq/composables/useDaqDetailBinding.ts +29 -0
  1050. package/app/pages/daq/composables/useDaqDetailFrames.ts +42 -0
  1051. package/app/pages/daq/composables/useDaqDetailHistory.ts +199 -0
  1052. package/app/pages/daq/composables/useDaqDetailNode.ts +53 -0
  1053. package/app/pages/daq/composables/useDaqDetailParams.ts +138 -0
  1054. package/app/pages/daq/composables/useDaqFilters.ts +187 -0
  1055. package/app/pages/daq/composables/useDaqNodeWindow.ts +86 -0
  1056. package/app/pages/daq/composables/useDaqOptimizations.ts +99 -0
  1057. package/app/pages/daq/composables/useDaqTemplates.ts +152 -0
  1058. package/app/pages/daq/daq-page.css +681 -0
  1059. package/app/pages/daq/index.vue +132 -2188
  1060. package/app/pages/dcw/[id].vue +297 -2615
  1061. package/app/pages/dcw/composables/useDcwAddNode.ts +121 -0
  1062. package/app/pages/dcw/composables/useDcwCards.ts +27 -0
  1063. package/app/pages/dcw/composables/useDcwDetailScope.ts +145 -0
  1064. package/app/pages/dcw/composables/useDcwDetailTemplates.ts +94 -0
  1065. package/app/pages/dcw/composables/useDcwFilter.ts +29 -0
  1066. package/app/pages/dcw/composables/useDcwLedger.ts +34 -0
  1067. package/app/pages/dcw/composables/useDcwLineMutations.ts +115 -0
  1068. package/app/pages/dcw/composables/useDcwLineRun.ts +60 -0
  1069. package/app/pages/dcw/composables/useDcwProducts.ts +54 -0
  1070. package/app/pages/dcw/composables/useDcwQuery.ts +68 -0
  1071. package/app/pages/dcw/composables/useDcwQuickActions.ts +47 -0
  1072. package/app/pages/dcw/composables/useDcwRecipes.ts +239 -0
  1073. package/app/pages/dcw/composables/useDcwTemplates.ts +50 -0
  1074. package/app/pages/dcw/composables/useDcwWrites.ts +81 -0
  1075. package/app/pages/dcw/dcw-page.css +344 -0
  1076. package/app/pages/dcw/index.vue +64 -986
  1077. package/app/pages/dcw/types.ts +9 -0
  1078. package/app/pages/index.vue +64 -925
  1079. package/app/pages/logs/composables/useLogsFormat.ts +43 -0
  1080. package/app/pages/logs/composables/useLogsManual.ts +63 -0
  1081. package/app/pages/logs/composables/useLogsQuery.ts +52 -0
  1082. package/app/pages/logs/composables/useLogsScope.ts +39 -0
  1083. package/app/pages/logs/index.vue +57 -728
  1084. package/app/pages/monitor/composables/useMonitorColumns.ts +69 -0
  1085. package/app/pages/monitor/composables/useMonitorData.ts +124 -0
  1086. package/app/pages/monitor/composables/useMonitorFormat.ts +39 -0
  1087. package/app/pages/monitor/composables/useMonitorTerminal.ts +28 -0
  1088. package/app/pages/monitor/types.ts +61 -0
  1089. package/app/pages/monitor.vue +88 -658
  1090. package/app/pages/permissions/index.vue +3 -2
  1091. package/app/pages/plugins/index.vue +3 -2
  1092. package/app/pages/settings.vue +7 -1403
  1093. package/app/pages/tokens/composables/useTokenClipboard.ts +33 -0
  1094. package/app/pages/tokens/composables/useTokenCreate.ts +93 -0
  1095. package/app/pages/tokens/composables/useTokenRename.ts +54 -0
  1096. package/app/pages/tokens/composables/useTokenReveal.ts +84 -0
  1097. package/app/pages/tokens/composables/useTokensList.ts +60 -0
  1098. package/app/pages/tokens.vue +79 -597
  1099. package/app/pages/users.vue +5 -4
  1100. package/app/pages/workshop/agents.vue +47 -529
  1101. package/app/pages/workshop/composables/useAgentHarnessOptions.ts +59 -0
  1102. package/app/pages/workshop/composables/useAgentTemplateActions.ts +42 -0
  1103. package/app/pages/workshop/composables/useAgentTemplateDialogState.ts +24 -0
  1104. package/app/pages/workshop/composables/useAgentTemplateForm.ts +88 -0
  1105. package/app/pages/workshop/composables/useAgentTemplatesCatalog.ts +92 -0
  1106. package/app/pages/workshop/composables/useTeamActions.ts +44 -0
  1107. package/app/pages/workshop/composables/useTeamAddMemberDialog.ts +49 -0
  1108. package/app/pages/workshop/composables/useTeamCreateDialog.ts +67 -0
  1109. package/app/pages/workshop/composables/useTeamDeployDialog.ts +49 -0
  1110. package/app/pages/workshop/composables/useTeamDialogState.ts +46 -0
  1111. package/app/pages/workshop/composables/useTeamPluginDialog.ts +72 -0
  1112. package/app/pages/workshop/composables/useTeamsCatalog.ts +100 -0
  1113. package/app/pages/workshop/composables/useWorkbenchAuth.ts +125 -0
  1114. package/app/pages/workshop/composables/useWorkbenchWorkspaces.ts +123 -0
  1115. package/app/pages/workshop/composables/useWorkspaceAuth.ts +31 -0
  1116. package/app/pages/workshop/composables/useWorkspaceChannels.ts +62 -0
  1117. package/app/pages/workshop/composables/useWorkspacePanels.ts +56 -0
  1118. package/app/pages/workshop/composables/useWorkspaceShell.ts +136 -0
  1119. package/app/pages/workshop/index.vue +68 -620
  1120. package/app/pages/workshop/schedules.vue +553 -0
  1121. package/app/pages/workshop/teams.vue +58 -568
  1122. package/app/pages/workshop/w/[wsId].vue +113 -596
  1123. package/app/stores/workshop/chat.ts +434 -0
  1124. package/app/stores/workshop/entities.ts +385 -283
  1125. package/app/stores/workshop/events.ts +5 -4
  1126. package/app/stores/workshop/hitl.ts +110 -7
  1127. package/app/stores/workshop/narrow-fetch.ts +23 -0
  1128. package/app/stores/workshop/notifications.ts +288 -0
  1129. package/app/stores/workshop/user.ts +23 -10
  1130. package/app/stores/workshop/workspaces.ts +12 -2
  1131. package/config.yml +7 -1
  1132. package/docs/aml.md +10 -0
  1133. package/docs/cli.en.md +5 -5
  1134. package/docs/cli.md +5 -5
  1135. package/docs/full-test-plan.md +15 -1
  1136. package/docs/plugins.en.md +1 -1
  1137. package/docs/plugins.md +1 -1
  1138. package/docs/sdk.en.md +1 -1
  1139. package/docs/sdk.md +1 -1
  1140. package/i18n/dicts/dcwDetail.json +2 -0
  1141. package/i18n/locales/en.ts +71 -0
  1142. package/i18n/locales/zh-CN.ts +71 -0
  1143. package/package.json +2 -3
  1144. package/scripts/_audit/detached-instance.mjs +112 -0
  1145. package/scripts/_audit/schedules-ui/schedules-page.png +0 -0
  1146. package/scripts/_audit/schedules-ui/workspace-channel-tag.png +0 -0
  1147. package/scripts/_audit/stubs/nuxt-imports.mjs +67 -0
  1148. package/scripts/_audit/ts-register-hook.mjs +12 -0
  1149. package/scripts/_audit/ts-resolve-hook.mjs +25 -5
  1150. package/scripts/_audit/watchdog-recovery-test.mjs +24 -2
  1151. package/scripts/_dbg-comm-verify.mjs +188 -0
  1152. package/scripts/_dbg-full-feature-e2e.mjs +19 -11
  1153. package/scripts/_dbg-im-e2e.mjs +169 -0
  1154. package/scripts/_dbg-opt2-run.mjs +114 -0
  1155. package/scripts/_dbg-opt2-setup.mjs +95 -0
  1156. package/scripts/_dbg-param-map-e2e.ts +1 -1
  1157. package/scripts/_dbg-param-map-rest-smoke.mjs +1 -1
  1158. package/scripts/_dbg-real-scenario-e2e.mjs +246 -0
  1159. package/scripts/_dbg-schedule-e2e.mjs +262 -0
  1160. package/scripts/_dbg-schedule-ui-verify.mjs +115 -0
  1161. package/scripts/_dbg-team-matrix.mjs +148 -0
  1162. package/scripts/_dbg-ui-fullcrawl.mjs +91 -0
  1163. package/scripts/_dbg-ui-static-audit.mjs +65 -0
  1164. package/scripts/_dbg-write-lock-e2e.mjs +131 -0
  1165. package/scripts/_probe-daq-omp-task.mjs +100 -0
  1166. package/scripts/_probe-daq-scope-default.mjs +123 -0
  1167. package/scripts/_probe-recipe-switch.mjs +92 -0
  1168. package/scripts/_provision-injection-line.mjs +39 -0
  1169. package/scripts/_run-matrix.ps1 +53 -0
  1170. package/scripts/_run-real-injection-fifo-goals.mjs +367 -0
  1171. package/scripts/acceptance-aml-db.ts +23 -0
  1172. package/scripts/acceptance-aml-hybrid-live.mjs +94 -0
  1173. package/scripts/acceptance-aml-hybrid-twin.ts +93 -0
  1174. package/scripts/acceptance-hybrid-python.py +51 -0
  1175. package/scripts/aml-ui-smoke.mjs +2 -0
  1176. package/scripts/api-live-e2e.mjs +32 -7
  1177. package/scripts/demo-group-chat-all-real.ts +279 -0
  1178. package/scripts/demo-group-chat-omp-cases.ts +210 -0
  1179. package/scripts/demo-group-chat-omp.ts +184 -0
  1180. package/scripts/demo-group-chat-order.ts +197 -0
  1181. package/scripts/e2e-agent-team.mjs +6 -4
  1182. package/scripts/e2e-agentteam-chat.mjs +473 -0
  1183. package/scripts/e2e-agentteam-real-triage.mjs +421 -0
  1184. package/scripts/e2e-agentteam-task-flow-real.ts +443 -0
  1185. package/scripts/e2e-aw-tui-global.mjs +8 -8
  1186. package/scripts/e2e-channel-isolation.ts +5 -1
  1187. package/scripts/e2e-closedloop/cleanup.mjs +27 -0
  1188. package/scripts/e2e-closedloop/lib.mjs +109 -0
  1189. package/scripts/e2e-closedloop/main.mjs +59 -0
  1190. package/scripts/e2e-closedloop/scenarios-accounts.mjs +208 -0
  1191. package/scripts/e2e-closedloop/scenarios-authz.mjs +190 -0
  1192. package/scripts/e2e-closedloop/scenarios-daq-dcw.mjs +219 -0
  1193. package/scripts/e2e-closedloop/scenarios-plugins.mjs +169 -0
  1194. package/scripts/e2e-closedloop/state.mjs +10 -0
  1195. package/scripts/e2e-crash-cycle.mjs +108 -0
  1196. package/scripts/e2e-full-closedloop.mjs +6 -919
  1197. package/scripts/e2e-hil-multi-user.mjs +307 -0
  1198. package/scripts/e2e-hil-restart.mjs +339 -0
  1199. package/scripts/e2e-hitl-live.mjs +336 -323
  1200. package/scripts/e2e-lead-team-mgmt.ts +1 -1
  1201. package/scripts/e2e-memory-system.ts +70 -89
  1202. package/scripts/e2e-multiharness-team.mjs +32 -15
  1203. package/scripts/e2e-omp-workspace.ts +21 -6
  1204. package/scripts/e2e-parallel-execution.mjs +20 -6
  1205. package/scripts/e2e-plc-plugin-closedloop.mjs +96 -65
  1206. package/scripts/e2e-rest-memory.mjs +26 -11
  1207. package/scripts/e2e-resume-crash.mjs +22 -7
  1208. package/scripts/e2e-task-queue.ts +8 -8
  1209. package/scripts/e2e-template-isolation.mjs +4 -2
  1210. package/scripts/proof-omp-real.ts +189 -0
  1211. package/scripts/real-injection-closed-loop.mjs +383 -0
  1212. package/scripts/test-agent-runtime.ts +5 -1
  1213. package/scripts/test-agentteam-guardrails.ts +113 -0
  1214. package/scripts/test-agentteam-task-chat-flow.ts +420 -0
  1215. package/scripts/test-agentteam-workflow.ts +472 -0
  1216. package/scripts/test-collab-e2e.mjs +17 -3
  1217. package/scripts/test-dcw-read.ts +9 -2
  1218. package/scripts/test-event-persistence.mjs +10 -2
  1219. package/scripts/test-full-system.ts +16 -3
  1220. package/scripts/test-group-chat-hardening.ts +265 -0
  1221. package/scripts/test-group-chat-unit/lib.ts +186 -0
  1222. package/scripts/test-group-chat-unit/main.ts +45 -0
  1223. package/scripts/test-group-chat-unit/section-a-migration.ts +75 -0
  1224. package/scripts/test-group-chat-unit/section-b-permission-matrix.ts +88 -0
  1225. package/scripts/test-group-chat-unit/section-c-member-lifecycle.ts +64 -0
  1226. package/scripts/test-group-chat-unit/section-d-mention-resolution.ts +36 -0
  1227. package/scripts/test-group-chat-unit/section-e-chat-facts.ts +97 -0
  1228. package/scripts/test-group-chat-unit/section-f-user-notifications.ts +52 -0
  1229. package/scripts/test-group-chat-unit/section-g-member-projection.ts +44 -0
  1230. package/scripts/test-group-chat-unit/section-h-outbox-consistency.ts +30 -0
  1231. package/scripts/test-group-chat-unit/section-i-read-idempotency.ts +24 -0
  1232. package/scripts/test-group-chat-unit/section-j-permission-scope.ts +150 -0
  1233. package/scripts/test-group-chat-unit.ts +35 -0
  1234. package/scripts/test-hitl-decision.ts +526 -0
  1235. package/scripts/test-hitl-legacy-channel-auth.ts +143 -0
  1236. package/scripts/test-lane-history-live.mjs +30 -7
  1237. package/scripts/test-memory-vector.ts +10 -0
  1238. package/scripts/test-orchestration.ts +7 -2
  1239. package/scripts/test-persistence-lazy.ts +7 -1
  1240. package/scripts/test-prompt-system.mjs +46 -20
  1241. package/scripts/test-route-reason.mjs +9 -2
  1242. package/scripts/test-schedule-runtime.ts +309 -0
  1243. package/scripts/test-scheduler-loop/lib.ts +321 -0
  1244. package/scripts/test-scheduler-loop/main.ts +40 -0
  1245. package/scripts/test-scheduler-loop/scenarios-modes.ts +95 -0
  1246. package/scripts/test-scheduler-loop/scenarios-runtime.ts +58 -0
  1247. package/scripts/test-scheduler-loop/scenarios-supervise.ts +183 -0
  1248. package/scripts/test-scheduler-loop/scenarios-triage.ts +102 -0
  1249. package/scripts/test-scheduler-loop.ts +5 -460
  1250. package/scripts/test-supervision-watchdog.ts +105 -0
  1251. package/scripts/test-task-engine.ts +27 -5
  1252. package/scripts/test-task-lease-fencing.ts +154 -0
  1253. package/scripts/test-terminal-e2e.mjs +9 -3
  1254. package/scripts/three-system-e2e/lib.mjs +79 -0
  1255. package/scripts/three-system-e2e/main.mjs +40 -0
  1256. package/scripts/three-system-e2e/phases/phase-0-user-token.mjs +42 -0
  1257. package/scripts/three-system-e2e/phases/phase-0a2-line-autoselect.mjs +35 -0
  1258. package/scripts/three-system-e2e/phases/phase-0b-fixture-grants.mjs +39 -0
  1259. package/scripts/three-system-e2e/phases/phase-0c-plugin-outbound-auth.mjs +95 -0
  1260. package/scripts/three-system-e2e/phases/stage-1-health.mjs +47 -0
  1261. package/scripts/three-system-e2e/phases/stage-2-5-team-plugins.mjs +84 -0
  1262. package/scripts/three-system-e2e/phases/stage-2-teams-tools-hitl.mjs +184 -0
  1263. package/scripts/three-system-e2e/phases/stage-3-diag.mjs +73 -0
  1264. package/scripts/three-system-e2e/phases/stage-4-plugin-toggle.mjs +53 -0
  1265. package/scripts/three-system-e2e/state.mjs +87 -0
  1266. package/scripts/three-system-e2e.mjs +24 -646
  1267. package/scripts/typecheck.mjs +75 -0
  1268. package/scripts/ui/lib.mjs +14 -2
  1269. package/scripts/ui/smoke-refactor.mjs +258 -0
  1270. package/scripts/verify-a2a-live.mjs +15 -1
  1271. package/scripts/verify-ws-events.mjs +19 -1
  1272. package/server/api/system/monitor/terminal/ws.ts +51 -1
  1273. package/server/api/workshop/agent-tools/approvals/[id]/decide.post.ts +59 -5
  1274. package/server/api/workshop/agent-tools/approvals/index.get.ts +28 -3
  1275. package/server/api/workshop/channel-templates/[id]/instantiate.post.ts +6 -1
  1276. package/server/api/workshop/channels/[id]/chat/messages/[messageId]/read.post.ts +22 -0
  1277. package/server/api/workshop/channels/[id]/chat/messages/index.get.ts +29 -0
  1278. package/server/api/workshop/channels/[id]/chat/messages/index.post.ts +51 -0
  1279. package/server/api/workshop/channels/[id]/chat/permissions.get.ts +35 -0
  1280. package/server/api/workshop/channels/[id]/index.patch.ts +34 -8
  1281. package/server/api/workshop/channels/[id]/members/[userId]/approve.post.ts +20 -0
  1282. package/server/api/workshop/channels/[id]/members/[userId].delete.ts +21 -0
  1283. package/server/api/workshop/channels/[id]/members/index.get.ts +23 -0
  1284. package/server/api/workshop/channels/[id]/members/join.post.ts +30 -0
  1285. package/server/api/workshop/channels/[id]/members/leave.post.ts +20 -0
  1286. package/server/api/workshop/channels/[id]/messages/index.post.ts +3 -0
  1287. package/server/api/workshop/channels/[id]/tasks/index.post.ts +8 -0
  1288. package/server/api/workshop/channels.get.ts +21 -1
  1289. package/server/api/workshop/hitl/pending.get.ts +27 -7
  1290. package/server/api/workshop/hitl/respond.post.ts +86 -89
  1291. package/server/api/workshop/notifications/index.get.ts +60 -0
  1292. package/server/api/workshop/notifications/read.post.ts +31 -0
  1293. package/server/api/workshop/schedules/[id]/run.post.ts +15 -0
  1294. package/server/api/workshop/schedules/[id]/runs.get.ts +15 -0
  1295. package/server/api/workshop/schedules/[id].delete.ts +14 -0
  1296. package/server/api/workshop/schedules/[id].get.ts +13 -0
  1297. package/server/api/workshop/schedules/[id].patch.ts +29 -0
  1298. package/server/api/workshop/schedules/index.get.ts +12 -0
  1299. package/server/api/workshop/schedules/index.post.ts +32 -0
  1300. package/server/api/workshop/tasks/[id]/reassign.post.ts +32 -0
  1301. package/server/api/workshop/tasks/[id]/update.post.ts +35 -0
  1302. package/server/api/workshop/tasks/[id].get.ts +15 -6
  1303. package/server/api/workshop/ws/audience.ts +56 -0
  1304. package/server/api/workshop/ws/db-buffer.ts +68 -0
  1305. package/server/api/workshop/ws/event-mapping.ts +47 -0
  1306. package/server/api/workshop/ws/handlers.ts +132 -0
  1307. package/server/api/workshop/ws/hub.ts +133 -0
  1308. package/server/api/workshop/ws/index.ts +23 -0
  1309. package/server/api/workshop/ws/notification-uplink.ts +77 -0
  1310. package/server/api/workshop/ws/peer-sub.ts +128 -0
  1311. package/server/api/workshop/ws/publish.ts +122 -0
  1312. package/server/api/workshop/ws/shared.ts +94 -0
  1313. package/server/api/workshop/ws/streams.ts +146 -0
  1314. package/server/api/workshop/ws/subscriptions.ts +137 -0
  1315. package/server/plugins/workshop.ts +30 -0
  1316. package/server/plugins-builtin/diag-bridge/host/constants.mjs +25 -0
  1317. package/server/plugins-builtin/diag-bridge/host/diagnosis.mjs +56 -0
  1318. package/server/plugins-builtin/diag-bridge/host/helpers.mjs +126 -0
  1319. package/server/plugins-builtin/diag-bridge/host/index.mjs +15 -0
  1320. package/server/plugins-builtin/diag-bridge/host/plugin.mjs +296 -0
  1321. package/server/plugins-builtin/diag-bridge/host/snapshot.mjs +93 -0
  1322. package/server/plugins-builtin/diag-bridge/host/sweep.mjs +51 -0
  1323. package/server/plugins-builtin/diag-bridge/index.mjs +6 -605
  1324. package/server/repositories/user.repository.ts +13 -0
  1325. package/server/services/system-config/contracts.ts +29 -0
  1326. package/server/services/system-config/dispose.ts +19 -0
  1327. package/server/services/system-config/facade.ts +26 -0
  1328. package/server/services/system-config/groups.ts +108 -0
  1329. package/server/services/system-config/helpers.ts +41 -0
  1330. package/server/services/system-config/index.ts +21 -0
  1331. package/server/services/system-config/init.ts +26 -0
  1332. package/server/services/system-config/mutate.ts +103 -0
  1333. package/server/services/system-config/plugins.ts +104 -0
  1334. package/server/services/system-config/recompute.ts +66 -0
  1335. package/server/services/system-config/snapshot.ts +59 -0
  1336. package/server/services/system-config/state.ts +79 -0
  1337. package/server/services/system-config/types.ts +58 -0
  1338. package/server/services/workshop/agents/adapters/line-spawn.ts +2 -2
  1339. package/server/services/workshop/agents/adapters/omp-rpc-client/api.ts +111 -0
  1340. package/server/services/workshop/agents/adapters/omp-rpc-client/contracts.ts +22 -0
  1341. package/server/services/workshop/agents/adapters/omp-rpc-client/facade.ts +7 -0
  1342. package/server/services/workshop/agents/adapters/omp-rpc-client/frames.ts +111 -0
  1343. package/server/services/workshop/agents/adapters/omp-rpc-client/helpers.ts +38 -0
  1344. package/server/services/workshop/agents/adapters/omp-rpc-client/index.ts +25 -0
  1345. package/server/services/workshop/agents/adapters/omp-rpc-client/start.ts +70 -0
  1346. package/server/services/workshop/agents/adapters/omp-rpc-client/state.ts +65 -0
  1347. package/server/services/workshop/agents/adapters/omp-rpc-client/stdout.ts +92 -0
  1348. package/server/services/workshop/agents/adapters/omp-rpc-client/types.ts +115 -0
  1349. package/server/services/workshop/agents/adapters/omp-rpc-client/usage.ts +47 -0
  1350. package/server/services/workshop/agents/agent-interface.ts +52 -4
  1351. package/server/services/workshop/agents/base-agent.ts +36 -8
  1352. package/server/services/workshop/agents/claude-agent.ts +5 -0
  1353. package/server/services/workshop/agents/codex-agent/client.ts +170 -0
  1354. package/server/services/workshop/agents/codex-agent/core.ts +119 -0
  1355. package/server/services/workshop/agents/codex-agent/facade.ts +8 -0
  1356. package/server/services/workshop/agents/codex-agent/helpers.ts +13 -0
  1357. package/server/services/workshop/agents/codex-agent/hitl.ts +138 -0
  1358. package/server/services/workshop/agents/codex-agent/index.ts +14 -0
  1359. package/server/services/workshop/agents/codex-agent/turn.ts +367 -0
  1360. package/server/services/workshop/agents/codex-agent/types.ts +42 -0
  1361. package/server/services/workshop/agents/dsh-agent.ts +5 -0
  1362. package/server/services/workshop/agents/harness-availability.ts +127 -127
  1363. package/server/services/workshop/agents/harness-terminal/api.ts +197 -0
  1364. package/server/services/workshop/agents/harness-terminal/index.ts +17 -0
  1365. package/server/services/workshop/agents/harness-terminal/io.ts +120 -0
  1366. package/server/services/workshop/agents/harness-terminal/park.ts +55 -0
  1367. package/server/services/workshop/agents/harness-terminal/sanitize.ts +98 -0
  1368. package/server/services/workshop/agents/harness-terminal/session.ts +124 -0
  1369. package/server/services/workshop/agents/harness-terminal/shared.ts +74 -0
  1370. package/server/services/workshop/agents/hermes-agent.ts +5 -0
  1371. package/server/services/workshop/agents/hitl-capabilities.ts +312 -0
  1372. package/server/services/workshop/agents/hitl-decision/answers.ts +27 -0
  1373. package/server/services/workshop/agents/hitl-decision/decide.ts +268 -0
  1374. package/server/services/workshop/agents/hitl-decision/dispatcher.ts +81 -0
  1375. package/server/services/workshop/agents/hitl-decision/index.ts +24 -0
  1376. package/server/services/workshop/agents/hitl-decision/payload.ts +45 -0
  1377. package/server/services/workshop/agents/hitl-decision/reconcile.ts +70 -0
  1378. package/server/services/workshop/agents/hitl-decision/shared.ts +106 -0
  1379. package/server/services/workshop/agents/hitl-decision/visibility.ts +94 -0
  1380. package/server/services/workshop/agents/hitl-registry.ts +403 -7
  1381. package/server/services/workshop/agents/host-tool-bridge/catalog.ts +78 -0
  1382. package/server/services/workshop/agents/host-tool-bridge/dispatch.ts +167 -0
  1383. package/server/services/workshop/agents/host-tool-bridge/index.ts +15 -0
  1384. package/server/services/workshop/agents/host-tool-bridge/session.ts +22 -0
  1385. package/server/services/workshop/agents/host-tool-bridge/tools/industrial.ts +64 -0
  1386. package/server/services/workshop/agents/host-tool-bridge/tools/memory.ts +44 -0
  1387. package/server/services/workshop/agents/host-tool-bridge/tools/messaging.ts +182 -0
  1388. package/server/services/workshop/agents/host-tool-bridge/tools/progress.ts +84 -0
  1389. package/server/services/workshop/agents/host-tool-bridge/tools/tasks.ts +120 -0
  1390. package/server/services/workshop/agents/host-tool-bridge/tools/team.ts +70 -0
  1391. package/server/services/workshop/agents/host-tool-bridge/types.ts +31 -0
  1392. package/server/services/workshop/agents/industrial/aml-dataset-tools.ts +276 -0
  1393. package/server/services/workshop/agents/industrial/aml-job-tools.ts +363 -0
  1394. package/server/services/workshop/agents/industrial/daq-tools.ts +251 -0
  1395. package/server/services/workshop/agents/industrial/dcw-judge-tools.ts +153 -0
  1396. package/server/services/workshop/agents/industrial/dcw-tools.ts +213 -0
  1397. package/server/services/workshop/agents/industrial/index.ts +24 -0
  1398. package/server/services/workshop/agents/industrial/ops-tools.ts +382 -0
  1399. package/server/services/workshop/agents/industrial/param-tools.ts +172 -0
  1400. package/server/services/workshop/agents/industrial/twin-tools.ts +175 -0
  1401. package/server/services/workshop/agents/mock-agent.ts +136 -12
  1402. package/server/services/workshop/agents/omp-agent/client.ts +116 -0
  1403. package/server/services/workshop/agents/omp-agent/context-governance.ts +204 -0
  1404. package/server/services/workshop/agents/omp-agent/core.ts +146 -0
  1405. package/server/services/workshop/agents/omp-agent/event-mapping.ts +142 -0
  1406. package/server/services/workshop/agents/omp-agent/facade.ts +8 -0
  1407. package/server/services/workshop/agents/omp-agent/helpers.ts +37 -0
  1408. package/server/services/workshop/agents/omp-agent/index.ts +16 -0
  1409. package/server/services/workshop/agents/omp-agent/lifecycle.ts +80 -0
  1410. package/server/services/workshop/agents/omp-agent/tools-steer.ts +487 -0
  1411. package/server/services/workshop/agents/omp-agent/types.ts +45 -0
  1412. package/server/services/workshop/agents/opencode-agent/core.ts +77 -0
  1413. package/server/services/workshop/agents/opencode-agent/engine-agnostic.ts +274 -0
  1414. package/server/services/workshop/agents/opencode-agent/facade.ts +8 -0
  1415. package/server/services/workshop/agents/opencode-agent/helpers.ts +29 -0
  1416. package/server/services/workshop/agents/opencode-agent/hitl.ts +113 -0
  1417. package/server/services/workshop/agents/opencode-agent/index.ts +16 -0
  1418. package/server/services/workshop/agents/opencode-agent/lifecycle.ts +44 -0
  1419. package/server/services/workshop/agents/opencode-agent/server.ts +244 -0
  1420. package/server/services/workshop/agents/opencode-agent/turn.ts +278 -0
  1421. package/server/services/workshop/agents/opencode-agent/types.ts +54 -0
  1422. package/server/services/workshop/agents/prompt-builder.ts +16 -6
  1423. package/server/services/workshop/agents/qwen-agent.ts +6 -2
  1424. package/server/services/workshop/agents/registry.ts +32 -2
  1425. package/server/services/workshop/aml/job-orchestrator/broadcast.ts +37 -0
  1426. package/server/services/workshop/aml/job-orchestrator/control.ts +94 -0
  1427. package/server/services/workshop/aml/job-orchestrator/failure.ts +77 -0
  1428. package/server/services/workshop/aml/job-orchestrator/index.ts +22 -0
  1429. package/server/services/workshop/aml/job-orchestrator/process.ts +100 -0
  1430. package/server/services/workshop/aml/job-orchestrator/shared.ts +51 -0
  1431. package/server/services/workshop/aml/job-orchestrator/stages.ts +96 -0
  1432. package/server/services/workshop/aml/job-orchestrator/start-job.ts +124 -0
  1433. package/server/services/workshop/aml/job-orchestrator/status.ts +20 -0
  1434. package/server/services/workshop/aml/job-orchestrator/submit.ts +120 -0
  1435. package/server/services/workshop/aml/job-orchestrator/tick.ts +37 -0
  1436. package/server/services/workshop/aml/python/amlkit.py +185 -120
  1437. package/server/services/workshop/aml/python/requirements.txt +9 -7
  1438. package/server/services/workshop/aml/python/train-hybrid-example.py +87 -0
  1439. package/server/services/workshop/aml/twin/acceptance.ts +68 -0
  1440. package/server/services/workshop/aml/twin/calibration-scheduler.ts +48 -0
  1441. package/server/services/workshop/aml/twin/channel-profile.ts +43 -0
  1442. package/server/services/workshop/aml/twin/contracts.ts +215 -0
  1443. package/server/services/workshop/aml/twin/physics-runtime.ts +165 -0
  1444. package/server/services/workshop/aml/twin/repo.ts +26 -0
  1445. package/server/services/workshop/aml/twin/snapshot-service.ts +81 -0
  1446. package/server/services/workshop/aml/twin/trial-service.ts +89 -0
  1447. package/server/services/workshop/aml/twin/uq-ood.ts +66 -0
  1448. package/server/services/workshop/daq/daq-controller/contracts.ts +39 -0
  1449. package/server/services/workshop/daq/daq-controller/crud.ts +202 -0
  1450. package/server/services/workshop/daq/daq-controller/driver-probe.ts +64 -0
  1451. package/server/services/workshop/daq/daq-controller/facade.ts +28 -0
  1452. package/server/services/workshop/daq/daq-controller/frames.ts +137 -0
  1453. package/server/services/workshop/daq/daq-controller/helpers.ts +52 -0
  1454. package/server/services/workshop/daq/daq-controller/index.ts +22 -0
  1455. package/server/services/workshop/daq/daq-controller/ingest.ts +189 -0
  1456. package/server/services/workshop/daq/daq-controller/runtime-control.ts +72 -0
  1457. package/server/services/workshop/daq/daq-controller/state.ts +194 -0
  1458. package/server/services/workshop/daq/daq-controller/sweep-alarms.ts +164 -0
  1459. package/server/services/workshop/daq/daq-controller/tsdb-twin.ts +138 -0
  1460. package/server/services/workshop/daq/daq-controller/types.ts +68 -0
  1461. package/server/services/workshop/daq/daq-controller/views.ts +84 -0
  1462. package/server/services/workshop/daq/drivers/http.ts +95 -0
  1463. package/server/services/workshop/daq/drivers/index.ts +29 -0
  1464. package/server/services/workshop/daq/drivers/mock.ts +130 -0
  1465. package/server/services/workshop/daq/drivers/modbus-rtu.ts +67 -0
  1466. package/server/services/workshop/daq/drivers/modbus-tcp.ts +307 -0
  1467. package/server/services/workshop/daq/drivers/mqtt.ts +182 -0
  1468. package/server/services/workshop/daq/drivers/opcua.ts +227 -0
  1469. package/server/services/workshop/daq/drivers/registry.ts +144 -0
  1470. package/server/services/workshop/daq/drivers/s7-stub.ts +29 -0
  1471. package/server/services/workshop/daq/drivers/shared.ts +60 -0
  1472. package/server/services/workshop/db/channel-member.repo.ts +122 -0
  1473. package/server/services/workshop/db/channel.repo.ts +93 -8
  1474. package/server/services/workshop/db/chat-message.repo.ts +233 -0
  1475. package/server/services/workshop/db/database/index.ts +18 -0
  1476. package/server/services/workshop/db/database/json.ts +14 -0
  1477. package/server/services/workshop/db/database/migrations.ts +367 -0
  1478. package/server/services/workshop/db/database/open.ts +76 -0
  1479. package/server/services/workshop/db/database/rows.ts +374 -0
  1480. package/server/services/workshop/db/database/schema.ts +651 -0
  1481. package/server/services/workshop/db/database/seed-data.ts +60 -0
  1482. package/server/services/workshop/db/database/seed.ts +145 -0
  1483. package/server/services/workshop/db/hitl-request.repo.ts +221 -0
  1484. package/server/services/workshop/db/notification.repo.ts +199 -0
  1485. package/server/services/workshop/db/outbox.repo.ts +127 -0
  1486. package/server/services/workshop/db/scheduled-task.repo.ts +235 -0
  1487. package/server/services/workshop/db/schema.sql +185 -0
  1488. package/server/services/workshop/db/task.repo.ts +185 -69
  1489. package/server/services/workshop/db/transaction.ts +72 -0
  1490. package/server/services/workshop/dcw/dcw-controller/actuation.ts +127 -0
  1491. package/server/services/workshop/dcw/dcw-controller/bindings.ts +83 -0
  1492. package/server/services/workshop/dcw/dcw-controller/contracts.ts +16 -0
  1493. package/server/services/workshop/dcw/dcw-controller/control.ts +78 -0
  1494. package/server/services/workshop/dcw/dcw-controller/crud.ts +152 -0
  1495. package/server/services/workshop/dcw/dcw-controller/facade.ts +19 -0
  1496. package/server/services/workshop/dcw/dcw-controller/helpers.ts +57 -0
  1497. package/server/services/workshop/dcw/dcw-controller/index.ts +22 -0
  1498. package/server/services/workshop/dcw/dcw-controller/lines.ts +213 -0
  1499. package/server/services/workshop/dcw/dcw-controller/params.ts +97 -0
  1500. package/server/services/workshop/dcw/dcw-controller/products.ts +103 -0
  1501. package/server/services/workshop/dcw/dcw-controller/recipes.ts +137 -0
  1502. package/server/services/workshop/dcw/dcw-controller/state.ts +66 -0
  1503. package/server/services/workshop/dcw/dcw-controller/types.ts +57 -0
  1504. package/server/services/workshop/dcw/dcw-controller/write.ts +147 -0
  1505. package/server/services/workshop/dcw/dcw-node.ts +8 -0
  1506. package/server/services/workshop/dcw/drivers/http.ts +66 -0
  1507. package/server/services/workshop/dcw/drivers/index.ts +26 -0
  1508. package/server/services/workshop/dcw/drivers/mock.ts +44 -0
  1509. package/server/services/workshop/dcw/drivers/modbus-rtu.ts +93 -0
  1510. package/server/services/workshop/dcw/drivers/modbus.ts +139 -0
  1511. package/server/services/workshop/dcw/drivers/mqtt.ts +108 -0
  1512. package/server/services/workshop/dcw/drivers/opcua.ts +110 -0
  1513. package/server/services/workshop/dcw/drivers/registry.ts +118 -0
  1514. package/server/services/workshop/dcw/drivers/shared.ts +113 -0
  1515. package/server/services/workshop/dcw/recipe-rollback-manager/contracts.ts +26 -0
  1516. package/server/services/workshop/dcw/recipe-rollback-manager/facade.ts +13 -0
  1517. package/server/services/workshop/dcw/recipe-rollback-manager/helpers.ts +30 -0
  1518. package/server/services/workshop/dcw/recipe-rollback-manager/index.ts +17 -0
  1519. package/server/services/workshop/dcw/recipe-rollback-manager/internal.ts +33 -0
  1520. package/server/services/workshop/dcw/recipe-rollback-manager/judge.ts +52 -0
  1521. package/server/services/workshop/dcw/recipe-rollback-manager/lock.ts +137 -0
  1522. package/server/services/workshop/dcw/recipe-rollback-manager/rollback.ts +190 -0
  1523. package/server/services/workshop/dcw/recipe-rollback-manager/state.ts +21 -0
  1524. package/server/services/workshop/dcw/recipe-rollback-manager/sweep.ts +77 -0
  1525. package/server/services/workshop/dcw/recipe-rollback-manager/types.ts +3 -0
  1526. package/server/services/workshop/dcw/recipe-rollback-manager/views.ts +214 -0
  1527. package/server/services/workshop/plugins/host/api.mjs +90 -0
  1528. package/server/services/workshop/plugins/host/config.mjs +135 -0
  1529. package/server/services/workshop/plugins/host/index.mjs +23 -0
  1530. package/server/services/workshop/plugins/host/init.mjs +101 -0
  1531. package/server/services/workshop/plugins/host/load.mjs +321 -0
  1532. package/server/services/workshop/plugins/host/reload.mjs +94 -0
  1533. package/server/services/workshop/plugins/host/rollback.mjs +72 -0
  1534. package/server/services/workshop/plugins/host/services.mjs +58 -0
  1535. package/server/services/workshop/plugins/host/state.mjs +54 -0
  1536. package/server/services/workshop/plugins/host/toggle.mjs +64 -0
  1537. package/server/services/workshop/plugins/host.mjs +6 -890
  1538. package/server/services/workshop/runtime/agent-runtime/contracts.ts +25 -0
  1539. package/server/services/workshop/runtime/agent-runtime/facade.ts +7 -0
  1540. package/server/services/workshop/runtime/agent-runtime/helpers.ts +18 -0
  1541. package/server/services/workshop/runtime/agent-runtime/index.ts +19 -0
  1542. package/server/services/workshop/runtime/agent-runtime/lifecycle.ts +119 -0
  1543. package/server/services/workshop/runtime/agent-runtime/message.ts +409 -0
  1544. package/server/services/workshop/runtime/agent-runtime/state.ts +371 -0
  1545. package/server/services/workshop/runtime/agent-runtime/supervise.ts +188 -0
  1546. package/server/services/workshop/runtime/agent-runtime/types.ts +186 -0
  1547. package/server/services/workshop/runtime/channel-runtime.ts +7 -0
  1548. package/server/services/workshop/runtime/chat-mention.ts +164 -0
  1549. package/server/services/workshop/runtime/chat-projection.ts +246 -0
  1550. package/server/services/workshop/runtime/execution-mode.ts +11 -2
  1551. package/server/services/workshop/runtime/manager/a2a.ts +283 -0
  1552. package/server/services/workshop/runtime/manager/access.ts +483 -0
  1553. package/server/services/workshop/runtime/manager/admin-agents.ts +268 -0
  1554. package/server/services/workshop/runtime/manager/admin-channel.ts +276 -0
  1555. package/server/services/workshop/runtime/manager/bus.ts +182 -0
  1556. package/server/services/workshop/runtime/manager/channel-templates.ts +171 -0
  1557. package/server/services/workshop/runtime/manager/chat-reply.ts +181 -0
  1558. package/server/services/workshop/runtime/manager/chat.ts +384 -0
  1559. package/server/services/workshop/runtime/manager/contracts.ts +210 -0
  1560. package/server/services/workshop/runtime/manager/facade.ts +24 -0
  1561. package/server/services/workshop/runtime/manager/helpers.ts +119 -0
  1562. package/server/services/workshop/runtime/manager/host-tools.ts +249 -0
  1563. package/server/services/workshop/runtime/manager/index.ts +42 -0
  1564. package/server/services/workshop/runtime/manager/internal.ts +73 -0
  1565. package/server/services/workshop/runtime/manager/lead-team.ts +161 -0
  1566. package/server/services/workshop/runtime/manager/notifications.ts +108 -0
  1567. package/server/services/workshop/runtime/manager/runtime-observe.ts +300 -0
  1568. package/server/services/workshop/runtime/manager/runtime-wiring.ts +307 -0
  1569. package/server/services/workshop/runtime/manager/schedules.ts +302 -0
  1570. package/server/services/workshop/runtime/manager/state.ts +644 -0
  1571. package/server/services/workshop/runtime/manager/tasks.ts +518 -0
  1572. package/server/services/workshop/runtime/manager/teams.ts +148 -0
  1573. package/server/services/workshop/runtime/manager/types.ts +245 -0
  1574. package/server/services/workshop/runtime/manager/workspace.ts +136 -0
  1575. package/server/services/workshop/runtime/memory/contracts.ts +18 -0
  1576. package/server/services/workshop/runtime/memory/facade.ts +10 -0
  1577. package/server/services/workshop/runtime/memory/governance.ts +184 -0
  1578. package/server/services/workshop/runtime/memory/helpers.ts +196 -0
  1579. package/server/services/workshop/runtime/memory/index.ts +27 -0
  1580. package/server/services/workshop/runtime/memory/recall.ts +216 -0
  1581. package/server/services/workshop/runtime/memory/score.ts +33 -0
  1582. package/server/services/workshop/runtime/memory/state.ts +40 -0
  1583. package/server/services/workshop/runtime/memory/types.ts +44 -0
  1584. package/server/services/workshop/runtime/memory/write.ts +93 -0
  1585. package/server/services/workshop/runtime/permission-scope.ts +81 -0
  1586. package/server/services/workshop/runtime/schedule-runtime.ts +320 -0
  1587. package/server/services/workshop/runtime/scheduler-loop/contracts.ts +29 -0
  1588. package/server/services/workshop/runtime/scheduler-loop/execute.ts +295 -0
  1589. package/server/services/workshop/runtime/scheduler-loop/facade.ts +7 -0
  1590. package/server/services/workshop/runtime/scheduler-loop/helpers.ts +14 -0
  1591. package/server/services/workshop/runtime/scheduler-loop/index.ts +16 -0
  1592. package/server/services/workshop/runtime/scheduler-loop/rules.ts +131 -0
  1593. package/server/services/workshop/runtime/scheduler-loop/snapshot.ts +99 -0
  1594. package/server/services/workshop/runtime/scheduler-loop/state.ts +150 -0
  1595. package/server/services/workshop/runtime/scheduler-loop/tick.ts +157 -0
  1596. package/server/services/workshop/runtime/scheduler-loop/types.ts +50 -0
  1597. package/server/services/workshop/runtime/task-engine/contracts.ts +16 -0
  1598. package/server/services/workshop/runtime/task-engine/create.ts +145 -0
  1599. package/server/services/workshop/runtime/task-engine/facade.ts +7 -0
  1600. package/server/services/workshop/runtime/task-engine/helpers.ts +87 -0
  1601. package/server/services/workshop/runtime/task-engine/index.ts +15 -0
  1602. package/server/services/workshop/runtime/task-engine/lease.ts +79 -0
  1603. package/server/services/workshop/runtime/task-engine/lifecycle.ts +308 -0
  1604. package/server/services/workshop/runtime/task-engine/policy.ts +113 -0
  1605. package/server/services/workshop/runtime/task-engine/transition.ts +146 -0
  1606. package/server/services/workshop/runtime/task-engine/types.ts +3 -0
  1607. package/server/services/workshop/runtime/task-engine/update.ts +116 -0
  1608. package/server/services/workshop/runtime/task-engine/views.ts +169 -0
  1609. package/server/services/workshop/runtime/user-notification-hub.ts +192 -0
  1610. package/server/services/workshop/settings.ts +32 -0
  1611. package/server/services/workshop/types/task.ts +85 -0
  1612. package/server/utils/errors.ts +2 -0
  1613. package/server/utils/mojibake-guard.ts +29 -0
  1614. package/shared/config/schema.json +12 -0
  1615. package/shared/dcw-protocol/catalog.ts +203 -0
  1616. package/shared/dcw-protocol/closed-loop.ts +137 -0
  1617. package/shared/dcw-protocol/index.ts +19 -0
  1618. package/shared/dcw-protocol/line.ts +131 -0
  1619. package/shared/dcw-protocol/recipe.ts +301 -0
  1620. package/shared/workshop-protocol.ts +327 -5
  1621. package/tui/aw-tui.mjs +27 -6
  1622. package/tui/lib/pickers.mjs +21 -2
  1623. package/.output/public/_nuxt/4sIEbgcl.js +0 -42
  1624. package/.output/public/_nuxt/B7gZokg82.js +0 -209
  1625. package/.output/public/_nuxt/B8uy9iRW.js +0 -1
  1626. package/.output/public/_nuxt/BC9wjTJK2.js +0 -4
  1627. package/.output/public/_nuxt/BCGafdXT.js +0 -2
  1628. package/.output/public/_nuxt/BDmh31hl.js +0 -1
  1629. package/.output/public/_nuxt/BFjGV-RV2.js +0 -4108
  1630. package/.output/public/_nuxt/BGTYYQH-.js +0 -1
  1631. package/.output/public/_nuxt/BHA40aHa.js +0 -1
  1632. package/.output/public/_nuxt/BJHKLJJU.js +0 -1
  1633. package/.output/public/_nuxt/BN6iuJEg2.js +0 -1
  1634. package/.output/public/_nuxt/BU83-NnX.js +0 -106
  1635. package/.output/public/_nuxt/BUmHEJ77.js +0 -2
  1636. package/.output/public/_nuxt/BY7YrV_D.js +0 -1
  1637. package/.output/public/_nuxt/BYhEUx8t.js +0 -17
  1638. package/.output/public/_nuxt/BneN7fbu.js +0 -75
  1639. package/.output/public/_nuxt/Bqcgz95s.js +0 -18
  1640. package/.output/public/_nuxt/C3J6FYKa.js +0 -1
  1641. package/.output/public/_nuxt/C3gwHTz0.js +0 -1
  1642. package/.output/public/_nuxt/C4DWUZ6d2.js +0 -1
  1643. package/.output/public/_nuxt/C7UlqPeD.js +0 -1
  1644. package/.output/public/_nuxt/CClOy-Hz2.js +0 -1
  1645. package/.output/public/_nuxt/CFxtLwjp.js +0 -1
  1646. package/.output/public/_nuxt/CS50LB_l.js +0 -1
  1647. package/.output/public/_nuxt/CSkxz2NX.js +0 -3
  1648. package/.output/public/_nuxt/CTmDn-YP.js +0 -1
  1649. package/.output/public/_nuxt/CWoJjWmZ.js +0 -1
  1650. package/.output/public/_nuxt/CYWVXZTS2.js +0 -7
  1651. package/.output/public/_nuxt/C__m4EhR.js +0 -1
  1652. package/.output/public/_nuxt/CoNpEq5X.js +0 -1
  1653. package/.output/public/_nuxt/Crod5z2f.js +0 -1
  1654. package/.output/public/_nuxt/Cs8pVeVG.js +0 -1
  1655. package/.output/public/_nuxt/CssgYAAL2.js +0 -1
  1656. package/.output/public/_nuxt/CzlMDL5H.js +0 -13
  1657. package/.output/public/_nuxt/D0ZBQrN_2.js +0 -1
  1658. package/.output/public/_nuxt/D6uzXueg.js +0 -2
  1659. package/.output/public/_nuxt/D98NH8kG.js +0 -1
  1660. package/.output/public/_nuxt/D9Oidm5I.js +0 -1
  1661. package/.output/public/_nuxt/DBHNsT1Y.js +0 -23
  1662. package/.output/public/_nuxt/DDgJcSET.js +0 -19
  1663. package/.output/public/_nuxt/DGIuvyRN2.js +0 -1
  1664. package/.output/public/_nuxt/DGj-WEBg.js +0 -1
  1665. package/.output/public/_nuxt/DHFrCUxA2.js +0 -13
  1666. package/.output/public/_nuxt/DIaZ2PTo2.js +0 -1
  1667. package/.output/public/_nuxt/DKySmNPI.js +0 -14
  1668. package/.output/public/_nuxt/DPnwL14Y.js +0 -1
  1669. package/.output/public/_nuxt/DR12_WCA.js +0 -3
  1670. package/.output/public/_nuxt/DTFCy6h-.js +0 -1
  1671. package/.output/public/_nuxt/DYr1VMiQ.js +0 -6
  1672. package/.output/public/_nuxt/DZtm4l-P2.js +0 -1
  1673. package/.output/public/_nuxt/DdD9mCHM.js +0 -1
  1674. package/.output/public/_nuxt/DeyBFhKH2.js +0 -4
  1675. package/.output/public/_nuxt/Di0NY_ht.js +0 -1
  1676. package/.output/public/_nuxt/DkGQ7lnb2.js +0 -1
  1677. package/.output/public/_nuxt/DtYHUi5Z.js +0 -1
  1678. package/.output/public/_nuxt/Dz_Q3Lpw2.js +0 -1
  1679. package/.output/public/_nuxt/DzbFpZRk.js +0 -3
  1680. package/.output/public/_nuxt/EHlEMRii.js +0 -1
  1681. package/.output/public/_nuxt/Eke1fs-U.js +0 -1
  1682. package/.output/public/_nuxt/H0BcqZtT.js +0 -9
  1683. package/.output/public/_nuxt/HSYEkkce.js +0 -1
  1684. package/.output/public/_nuxt/IREZ1eC2.js +0 -1
  1685. package/.output/public/_nuxt/J9oU00D1.js +0 -1
  1686. package/.output/public/_nuxt/JCoYF4IJ.js +0 -31
  1687. package/.output/public/_nuxt/JTLM-kqr2.js +0 -1
  1688. package/.output/public/_nuxt/KZQX7xoM.js +0 -3
  1689. package/.output/public/_nuxt/OmpTerminalPanel.BxR5-lvi.css +0 -1
  1690. package/.output/public/_nuxt/RYFtK4qZ2.js +0 -1
  1691. package/.output/public/_nuxt/SSyAPaHc.js +0 -1
  1692. package/.output/public/_nuxt/TownView.li4EMQxK.css +0 -1
  1693. package/.output/public/_nuxt/VdLk4jLE2.js +0 -1
  1694. package/.output/public/_nuxt/YnQxK3eG.js +0 -1
  1695. package/.output/public/_nuxt/_id_.BhsXoEuk.css +0 -1
  1696. package/.output/public/_nuxt/_id_.DQyj-WKN.css +0 -1
  1697. package/.output/public/_nuxt/_wsId_.CTx-BlfF.css +0 -1
  1698. package/.output/public/_nuxt/aLLjF2K-2.js +0 -1
  1699. package/.output/public/_nuxt/aShsv_rG.js +0 -19
  1700. package/.output/public/_nuxt/aWWIh8YL.js +0 -24
  1701. package/.output/public/_nuxt/aesgXKSr.js +0 -4
  1702. package/.output/public/_nuxt/agents.B21nUEUX.css +0 -1
  1703. package/.output/public/_nuxt/aml.ekTjxFkf.css +0 -1
  1704. package/.output/public/_nuxt/builds/meta/b5506ef0-f48e-4f14-a6c0-d65e505d0b09.json +0 -1
  1705. package/.output/public/_nuxt/ca4TJ3Op.js +0 -1
  1706. package/.output/public/_nuxt/daq.BdVmoIfe.css +0 -1
  1707. package/.output/public/_nuxt/dcw.DCgyzpWV.css +0 -1
  1708. package/.output/public/_nuxt/default.Bh3L2HU8.css +0 -1
  1709. package/.output/public/_nuxt/entry.bdm0tv6M.css +0 -1
  1710. package/.output/public/_nuxt/jZsY8yYz.js +0 -1
  1711. package/.output/public/_nuxt/lHAxdSsj.js +0 -1
  1712. package/.output/public/_nuxt/logs.BpKzmKsh.css +0 -1
  1713. package/.output/public/_nuxt/monitor.D9pe7qN6.css +0 -1
  1714. package/.output/public/_nuxt/pages.j9rzRocr.css +0 -1
  1715. package/.output/public/_nuxt/pdk8jLGT.js +0 -1
  1716. package/.output/public/_nuxt/permissions.DwTVlFe6.css +0 -1
  1717. package/.output/public/_nuxt/plugins.DhiZbHU8.css +0 -1
  1718. package/.output/public/_nuxt/settings.BRx9rIDg.css +0 -1
  1719. package/.output/public/_nuxt/teams.BLlOPB_Z.css +0 -1
  1720. package/.output/public/_nuxt/tokens.De8xzszn.css +0 -1
  1721. package/.output/public/_nuxt/town.BLrD9-WH.css +0 -1
  1722. package/.output/public/_nuxt/users.DLgZ1D0h.css +0 -1
  1723. package/.output/public/_nuxt/vRTjoWqd.js +0 -1
  1724. package/.output/public/_nuxt/workshop.D1jFNkrn.css +0 -1
  1725. package/.output/public/_nuxt/xh3_vYcu.js +0 -1
  1726. package/.output/public/_nuxt/zq5t1vyX.js +0 -1
  1727. package/.output/server/chunks/build/Checkbox-eax2M3o-.mjs +0 -207
  1728. package/.output/server/chunks/build/Checkbox-eax2M3o-.mjs.map +0 -1
  1729. package/.output/server/chunks/build/OmpTerminalPanel-CVvxpsF7.mjs +0 -915
  1730. package/.output/server/chunks/build/OmpTerminalPanel-CVvxpsF7.mjs.map +0 -1
  1731. package/.output/server/chunks/build/PluginSlot-CcR4Ys3T.mjs +0 -400
  1732. package/.output/server/chunks/build/PluginSlot-CcR4Ys3T.mjs.map +0 -1
  1733. package/.output/server/chunks/build/TownView-CJ6IsDCc.mjs +0 -2791
  1734. package/.output/server/chunks/build/TownView-CJ6IsDCc.mjs.map +0 -1
  1735. package/.output/server/chunks/build/_id_-CVD_H0ir.mjs +0 -804
  1736. package/.output/server/chunks/build/_id_-CVD_H0ir.mjs.map +0 -1
  1737. package/.output/server/chunks/build/_id_-CtxMb3qp.mjs +0 -381
  1738. package/.output/server/chunks/build/_id_-CtxMb3qp.mjs.map +0 -1
  1739. package/.output/server/chunks/build/_wsId_-DpY3T-md.mjs +0 -10136
  1740. package/.output/server/chunks/build/_wsId_-DpY3T-md.mjs.map +0 -1
  1741. package/.output/server/chunks/build/agents-DsCkuXDV.mjs +0 -1114
  1742. package/.output/server/chunks/build/agents-DsCkuXDV.mjs.map +0 -1
  1743. package/.output/server/chunks/build/aml-CT0xKGKI.mjs +0 -605
  1744. package/.output/server/chunks/build/aml-CT0xKGKI.mjs.map +0 -1
  1745. package/.output/server/chunks/build/api-error-dul30BYQ.mjs +0 -47
  1746. package/.output/server/chunks/build/api-error-dul30BYQ.mjs.map +0 -1
  1747. package/.output/server/chunks/build/apiClient-BwnfOQU8.mjs +0 -81
  1748. package/.output/server/chunks/build/apiClient-BwnfOQU8.mjs.map +0 -1
  1749. package/.output/server/chunks/build/button-DEcZFcqN.mjs +0 -1938
  1750. package/.output/server/chunks/build/button-DEcZFcqN.mjs.map +0 -1
  1751. package/.output/server/chunks/build/card-Dipvaykh.mjs +0 -955
  1752. package/.output/server/chunks/build/card-Dipvaykh.mjs.map +0 -1
  1753. package/.output/server/chunks/build/channel-templates-Dla9FbYa.mjs +0 -847
  1754. package/.output/server/chunks/build/channel-templates-Dla9FbYa.mjs.map +0 -1
  1755. package/.output/server/chunks/build/checkbox-8fB-wI-T.mjs +0 -439
  1756. package/.output/server/chunks/build/checkbox-8fB-wI-T.mjs.map +0 -1
  1757. package/.output/server/chunks/build/client-only-D5BzSQc6.mjs +0 -43
  1758. package/.output/server/chunks/build/client-only-D5BzSQc6.mjs.map +0 -1
  1759. package/.output/server/chunks/build/daq-DWWSKGAV.mjs +0 -1059
  1760. package/.output/server/chunks/build/daq-DWWSKGAV.mjs.map +0 -1
  1761. package/.output/server/chunks/build/dcw-CT8k17_E.mjs +0 -250
  1762. package/.output/server/chunks/build/dcw-CT8k17_E.mjs.map +0 -1
  1763. package/.output/server/chunks/build/default-D3525UFX.mjs +0 -1487
  1764. package/.output/server/chunks/build/default-D3525UFX.mjs.map +0 -1
  1765. package/.output/server/chunks/build/drawer-Cmh90erI.mjs +0 -836
  1766. package/.output/server/chunks/build/drawer-Cmh90erI.mjs.map +0 -1
  1767. package/.output/server/chunks/build/dropdown-CGQ0KAzA.mjs +0 -14
  1768. package/.output/server/chunks/build/dropdown-CGQ0KAzA.mjs.map +0 -1
  1769. package/.output/server/chunks/build/dropdown-vhn1NPFs.mjs +0 -558
  1770. package/.output/server/chunks/build/dropdown-vhn1NPFs.mjs.map +0 -1
  1771. package/.output/server/chunks/build/initDefaultProps-DIbWwP4R.mjs +0 -21
  1772. package/.output/server/chunks/build/initDefaultProps-DIbWwP4R.mjs.map +0 -1
  1773. package/.output/server/chunks/build/input-number-DzpyYB99.mjs +0 -1521
  1774. package/.output/server/chunks/build/input-number-DzpyYB99.mjs.map +0 -1
  1775. package/.output/server/chunks/build/input-sf_BT6o6.mjs +0 -2617
  1776. package/.output/server/chunks/build/input-sf_BT6o6.mjs.map +0 -1
  1777. package/.output/server/chunks/build/logs--dByNyhw.mjs +0 -198
  1778. package/.output/server/chunks/build/logs--dByNyhw.mjs.map +0 -1
  1779. package/.output/server/chunks/build/menu-WCrlpYVh.mjs +0 -1950
  1780. package/.output/server/chunks/build/menu-WCrlpYVh.mjs.map +0 -1
  1781. package/.output/server/chunks/build/modal-yvUquPj5.mjs +0 -1272
  1782. package/.output/server/chunks/build/modal-yvUquPj5.mjs.map +0 -1
  1783. package/.output/server/chunks/build/monitor-Dh2Kvaq5.mjs +0 -2212
  1784. package/.output/server/chunks/build/monitor-Dh2Kvaq5.mjs.map +0 -1
  1785. package/.output/server/chunks/build/pages-BHcSBM2D.mjs +0 -518
  1786. package/.output/server/chunks/build/pages-BHcSBM2D.mjs.map +0 -1
  1787. package/.output/server/chunks/build/permissions-68SsNjex.mjs +0 -629
  1788. package/.output/server/chunks/build/permissions-68SsNjex.mjs.map +0 -1
  1789. package/.output/server/chunks/build/plugins-BNgIi61W.mjs +0 -246
  1790. package/.output/server/chunks/build/plugins-BNgIi61W.mjs.map +0 -1
  1791. package/.output/server/chunks/build/popconfirm-CRaHcz5O.mjs +0 -342
  1792. package/.output/server/chunks/build/popconfirm-CRaHcz5O.mjs.map +0 -1
  1793. package/.output/server/chunks/build/segmented-3TrWo0lS.mjs +0 -5047
  1794. package/.output/server/chunks/build/segmented-3TrWo0lS.mjs.map +0 -1
  1795. package/.output/server/chunks/build/select-D-CeE5vY.mjs +0 -3923
  1796. package/.output/server/chunks/build/select-D-CeE5vY.mjs.map +0 -1
  1797. package/.output/server/chunks/build/settings-ipYBDWdn.mjs +0 -1175
  1798. package/.output/server/chunks/build/settings-ipYBDWdn.mjs.map +0 -1
  1799. package/.output/server/chunks/build/space-CCBYAkXt.mjs +0 -197
  1800. package/.output/server/chunks/build/space-CCBYAkXt.mjs.map +0 -1
  1801. package/.output/server/chunks/build/spin-HVY81X_L.mjs +0 -358
  1802. package/.output/server/chunks/build/spin-HVY81X_L.mjs.map +0 -1
  1803. package/.output/server/chunks/build/switch-CelRXpcy.mjs +0 -377
  1804. package/.output/server/chunks/build/switch-CelRXpcy.mjs.map +0 -1
  1805. package/.output/server/chunks/build/table-BjSWwmic.mjs +0 -8883
  1806. package/.output/server/chunks/build/table-BjSWwmic.mjs.map +0 -1
  1807. package/.output/server/chunks/build/tabs-BM3tAh_J.mjs +0 -1925
  1808. package/.output/server/chunks/build/tabs-BM3tAh_J.mjs.map +0 -1
  1809. package/.output/server/chunks/build/tag-DNE9vXc0.mjs +0 -1029
  1810. package/.output/server/chunks/build/tag-DNE9vXc0.mjs.map +0 -1
  1811. package/.output/server/chunks/build/teams-5lx-CwFa.mjs +0 -1218
  1812. package/.output/server/chunks/build/teams-5lx-CwFa.mjs.map +0 -1
  1813. package/.output/server/chunks/build/tokens-q-IDT8Io.mjs +0 -908
  1814. package/.output/server/chunks/build/tokens-q-IDT8Io.mjs.map +0 -1
  1815. package/.output/server/chunks/build/town-BUqRobze.mjs +0 -52
  1816. package/.output/server/chunks/build/town-BUqRobze.mjs.map +0 -1
  1817. package/.output/server/chunks/build/town-QJWB5wng.mjs +0 -125
  1818. package/.output/server/chunks/build/town-QJWB5wng.mjs.map +0 -1
  1819. package/.output/server/chunks/build/useDaqStream-DfCFpb3p.mjs +0 -395
  1820. package/.output/server/chunks/build/useDaqStream-DfCFpb3p.mjs.map +0 -1
  1821. package/.output/server/chunks/build/useDcwStream-UPiX-3iO.mjs +0 -435
  1822. package/.output/server/chunks/build/useDcwStream-UPiX-3iO.mjs.map +0 -1
  1823. package/.output/server/chunks/build/useDeviceTwins-Yko6nNPF.mjs +0 -128
  1824. package/.output/server/chunks/build/useDeviceTwins-Yko6nNPF.mjs.map +0 -1
  1825. package/.output/server/chunks/build/useOpsLog-CO_VWh7t.mjs +0 -137
  1826. package/.output/server/chunks/build/useOpsLog-CO_VWh7t.mjs.map +0 -1
  1827. package/.output/server/chunks/build/useWorkshopApi-NyjL0L3j.mjs +0 -90
  1828. package/.output/server/chunks/build/useWorkshopApi-NyjL0L3j.mjs.map +0 -1
  1829. package/.output/server/chunks/build/useWorkshopWs-C_I7q9As.mjs +0 -1319
  1830. package/.output/server/chunks/build/useWorkshopWs-C_I7q9As.mjs.map +0 -1
  1831. package/.output/server/chunks/build/users-Cfd5-l2-.mjs +0 -561
  1832. package/.output/server/chunks/build/users-Cfd5-l2-.mjs.map +0 -1
  1833. package/.output/server/chunks/build/workshop-BIlCj_ZP.mjs +0 -931
  1834. package/.output/server/chunks/build/workshop-BIlCj_ZP.mjs.map +0 -1
  1835. package/.output/server/chunks/build/workspaces-Bgz5Ekwp.mjs +0 -139
  1836. package/.output/server/chunks/build/workspaces-Bgz5Ekwp.mjs.map +0 -1
  1837. package/scripts/test-agent-brain.ts +0 -135
  1838. package/scripts/test-game-session.ts +0 -160
  1839. package/scripts/test-protocol.ts +0 -156
  1840. package/scripts/verify-game.mjs +0 -477
  1841. package/server/api/workshop/ws.ts +0 -763
  1842. package/server/services/system-config.ts +0 -629
  1843. package/server/services/workshop/agents/adapters/omp-rpc-client.ts +0 -604
  1844. package/server/services/workshop/agents/codex-agent.ts +0 -743
  1845. package/server/services/workshop/agents/harness-terminal.ts +0 -625
  1846. package/server/services/workshop/agents/host-tool-bridge.ts +0 -714
  1847. package/server/services/workshop/agents/industrial-tools.ts +0 -1680
  1848. package/server/services/workshop/agents/omp-agent.ts +0 -1199
  1849. package/server/services/workshop/agents/opencode-agent.ts +0 -960
  1850. package/server/services/workshop/aml/job-orchestrator.ts +0 -639
  1851. package/server/services/workshop/daq/daq-controller.ts +0 -1284
  1852. package/server/services/workshop/daq/drivers.ts +0 -1196
  1853. package/server/services/workshop/db/database.ts +0 -1044
  1854. package/server/services/workshop/dcw/dcw-controller.ts +0 -1176
  1855. package/server/services/workshop/dcw/drivers.ts +0 -731
  1856. package/server/services/workshop/dcw/recipe-rollback-manager.ts +0 -713
  1857. package/server/services/workshop/runtime/agent-runtime.ts +0 -821
  1858. package/server/services/workshop/runtime/manager.ts +0 -3050
  1859. package/server/services/workshop/runtime/memory.ts +0 -681
  1860. package/server/services/workshop/runtime/scheduler-loop.ts +0 -799
  1861. package/server/services/workshop/runtime/task-engine.ts +0 -574
  1862. package/shared/dcw-protocol.ts +0 -747
  1863. /package/.output/public/_nuxt/{BrIJiJSN.js → BrIJiJSN2.js} +0 -0
  1864. /package/.output/public/_nuxt/{CNs_Ozdc2.js → CNs_Ozdc.js} +0 -0
  1865. /package/.output/public/_nuxt/{DIOBYJe3.js → DIOBYJe32.js} +0 -0
  1866. /package/.output/public/_nuxt/{lO5tpDZ5.js → lO5tpDZ52.js} +0 -0
@@ -1 +0,0 @@
1
- import{Ht as e,S as t,Ut as n,V as r,Vt as i,W as a,b as ee,d as o,dt as s,f as c,h as l,i as u,m as d,nt as f,pt as p,tt as te,xt as m,y as h,z as ne}from"./CSkxz2NX.js";import{c as g,f as _,l as v,s as re}from"./D6uzXueg.js";import{a as ie}from"./C__m4EhR.js";import{t as ae}from"./BHA40aHa.js";import{n as oe}from"./KZQX7xoM.js";import{t as se}from"./DZtm4l-P2.js";import{t as y}from"./BDNMzG2s2.js";import{t as b}from"./D0ZBQrN_2.js";import{t as ce}from"./D98NH8kG.js";import{n as le,t as ue}from"./ca4TJ3Op.js";import{t as de}from"./C3J6FYKa.js";import{r as fe}from"./Du9v6qGB.js";var pe={key:0,class:`page`},me={class:`banner bad`},he={key:1,class:`page`},ge={class:`aw-page-head`},_e={class:`aw-kicker`},ve={class:`sub`},ye={class:`badges mono`},be={class:`badge`},xe={class:`badge`},Se={class:`badge`},Ce={class:`aw-tile ctrl-card`},we={class:`ctrl-left`},Te=[`title`],Ee={class:`ctrl-right`},De={class:`ctrl-metrics mono`},Oe=[`title`],ke=[`title`],Ae=[`title`],je={key:1,class:`aw-tile adopt-card`},Me={class:`adopt-title`},Ne={class:`adopt-list`},Pe=[`onClick`],Fe=[`onClick`],Ie={class:`aw-tile line-card`},Le={class:`line-status`},Re={class:`line-info`},ze={key:0,class:`mono dim`},Be={key:1,class:`dim`},Ve={class:`line-ctl`},He={class:`ctl-sel`},Ue={value:``},We=[`value`],Ge={class:`ctl-sel`},Ke=[`disabled`],qe={value:``},Je=[`value`,`disabled`],Ye=[`disabled`,`title`],Xe=[`disabled`],Ze={key:0,class:`banner bad`,style:{"margin-top":`10px`}},Qe={key:1,class:`banner good`,style:{"margin-top":`10px`}},$e={class:`modal`},et={class:`m-title`},tt={class:`dim mono`},nt={class:`dim tpl-hint`},rt={class:`tpl-chips`},it=[`title`],at={class:`mono`},ot={class:`sec-label`},st={class:`f-grid tpl-form`},ct={class:`f`},lt=[`placeholder`],ut={class:`f`},dt=[`placeholder`],ft={class:`f`},pt=[`placeholder`],mt={class:`f`},ht=[`placeholder`],gt={class:`f`},_t=[`placeholder`],vt={class:`f`},yt=[`placeholder`],bt={class:`f`},xt={class:`f`},St=[`value`],Ct={class:`f`},wt=[`placeholder`],Tt={key:0,class:`banner good`,style:{"margin-top":`10px`}},Et={key:1,class:`m-err`},Dt={class:`m-actions`},Ot=[`disabled`],kt={class:`modal`},At={class:`m-title`},jt={class:`seg-row`},Mt={class:`f-grid`},Nt={class:`f`},Pt=[`value`],Ft={class:`f`},It=[`placeholder`],Lt={class:`f`},Rt=[`placeholder`],zt={class:`f`},Bt=[`placeholder`],Vt={class:`f-grid cal-form`},Ht={class:`f`},Ut={value:`none`},Wt={value:`linear`},Gt={class:`f`},Kt={style:{display:`flex`,gap:`6px`}},qt=[`disabled`,`title`],Jt=[`disabled`,`title`],Yt={class:`f-grid`},Xt={class:`f`},Zt=[`value`],Qt={key:0,class:`f-grid driver-form`},$t={key:0,style:{color:`var(--tone-danger-dot)`,"font-style":`normal`}},en=[`onUpdate:modelValue`],tn=[`value`],nn=[`onUpdate:modelValue`,`type`,`placeholder`],rn={key:2,class:`hint`},an={class:`test-row`},on=[`disabled`],sn={class:`f`},cn=[`placeholder`],ln={key:1,class:`m-err`},un={class:`m-actions`},dn=[`disabled`],fn={class:`aw-tile table-card`},pn={class:`nodes-table`},mn={class:`right`},hn={class:`mono dim`},gn={class:`mono ch`},_n=[`disabled`,`title`,`onClick`],vn={key:0,class:`st-pill paused`},yn={class:`mono val`},bn={key:0,class:`dim`},xn={class:`mono val`},Sn=[`title`],Cn={key:0,class:`dim`},wn=[`disabled`,`title`,`onClick`],Tn={class:`write-row`},En=[`onUpdate:modelValue`,`placeholder`,`min`,`max`,`step`,`disabled`,`title`],Dn=[`disabled`,`title`,`onClick`],On={class:`mono dim`},kn={class:`mono`},An=[`title`],jn={class:`right`},Mn=[`onClick`],Nn={key:0},Pn={colspan:`9`},Fn={class:`pane-empty`,style:{"min-height":`120px`}},In={class:`pe-sub`},Ln={class:`aw-tile recipe-card`},Rn={class:`recipe-hd`},zn={class:`panel-tag mono`},Bn={class:`recipe-sub`},Vn={key:0,class:`product-row`},Hn=[`title`,`onClick`],Un=[`title`,`onClick`],Wn={key:1,class:`dim`,style:{margin:`6px 0 12px`,"font-size":`12px`}},Gn={class:`recipe-grid`},Kn={class:`recipe-name`},qn=[`title`],Jn={class:`dim`},Yn={class:`mono dim`},Xn={key:0,class:`dim desc`},Zn={class:`recipe-params mono`},Qn=[`title`],$n={key:0,class:`chip-stale-tag`},er=[`title`],tr={key:0,class:`chip-stale-tag`},nr={class:`recipe-actions`},rr=[`onClick`],ir=[`onClick`],ar=[`onClick`],or={key:0,class:`mono`},sr=[`onClick`],cr={key:0,class:`pane-empty`,style:{"grid-column":`1 / -1`}},lr={key:2,class:`banner good`},ur=[`disabled`],dr={key:3,class:`runs`},fr={class:`sec-label`},pr={class:`nodes-table`},mr={class:`right`},hr={class:`mono`},gr={class:`mono dim`},_r={class:`right`},vr=[`disabled`,`onClick`],yr=[`onClick`],br={class:`modal`},xr={class:`m-title`},Sr={class:`sec-label`},Cr={class:`nodes-table`},wr={class:`mono dim`},Tr={class:`mono`},Er={class:`mono`},Dr={class:`mono dim`},Or={class:`mono dim`},kr={key:0},Ar={colspan:`6`,class:`dim`,style:{"text-align":`center`,padding:`12px`}},jr={class:`sec-label`},Mr={class:`nodes-table`},Nr={class:`mono`},Pr={class:`mono dim`},Fr={class:`mono dim`},Ir={key:0},Lr={colspan:`6`,class:`dim`,style:{"text-align":`center`,padding:`12px`}},Rr={class:`m-actions`},zr={class:`modal`},Br={class:`m-title`},Vr={class:`f-grid`},Hr={class:`f`},Ur=[`value`],Wr={class:`f`},Gr=[`placeholder`],Kr={class:`f`},qr=[`placeholder`],Jr={class:`sec-label`},Yr={class:`f`},Xr=[`onUpdate:modelValue`],Zr=[`value`],Qr={key:0,class:`row-stale`},$r={class:`f`},ei=[`onUpdate:modelValue`],ti={class:`f`},ni=[`onUpdate:modelValue`,`placeholder`],ri={class:`f`},ii=[`onUpdate:modelValue`,`placeholder`],ai=[`onClick`],oi={class:`sec-label`},si={class:`f`},ci=[`onUpdate:modelValue`],li=[`value`],ui={class:`f`},di=[`onUpdate:modelValue`],fi={class:`f`},pi=[`onUpdate:modelValue`],mi=[`onClick`],hi=[`disabled`,`title`],gi={key:0,class:`m-note`},_i={key:1,class:`m-err`},vi={class:`m-actions`},yi=[`disabled`],bi={class:`modal`,style:{"max-width":`760px`}},xi={class:`modal-head`},Si={key:0,class:`dim`,style:{"margin-left":`8px`,"font-size":`12px`}},Ci={key:0,class:`banner good`,style:{margin:`6px 0`}},wi={key:1,class:`dim`},Ti={key:2,class:`pane-empty`},Ei={class:`ver-head`},Di={class:`mono ver-v`},Oi={class:`mono dim`},ki={class:`ver-actor`},Ai=[`onClick`],ji={key:0,class:`ver-desc`},Mi={class:`ver-diff mono`},Ni={class:`aw-tile query-card`},Pi={class:`sec-label`},Fi={class:`q-grid`},Ii={class:`f`},Li={value:``},Ri=[`value`],zi={class:`f`},Bi=[`disabled`],Vi={value:``},Hi=[`value`],Ui={class:`f`},Wi={value:``},Gi=[`value`],Ki={class:`f`},qi={value:``},Ji=[`value`],Yi={class:`f`},Xi={class:`f`},Zi={class:`f q-actions`},Qi=[`disabled`],$i={key:0,class:`banner bad`,style:{"margin-top":`8px`}},ea={key:1,class:`q-result`},ta={class:`nodes-table`},na={class:`mono dim`},ra={class:`mono`},ia={class:`mono`},aa={class:`mono`},oa={class:`mono dim`},sa={key:6,class:`aw-tile table-card`},ca={class:`sec-label`},la={class:`nodes-table`},ua={class:`mono dim`},da={class:`mono`},fa={class:`mono dim`},pa={class:`dim`},ma={class:`modal`},ha={class:`m-title`},ga={class:`f-grid`},_a={class:`f`},va=[`placeholder`],ya={class:`f`},ba=[`placeholder`],xa={key:0,class:`m-err`},Sa={class:`m-actions`},Ca=[`disabled`],wa={key:8,class:`err`},Ta={class:`aw-tile ledger-card`},Ea={class:`ledger-head`},Da={value:``},Oa=[`value`],ka={class:`ledger-tri`},Aa={class:`tri-cell`},ja={class:`mono`},Ma={class:`tri-cell`},Na={class:`mono`},Pa={class:`tri-cell`},Fa={class:`mono`},Ia={class:`ledger-cols`},La={class:`ledger-col`},Ra={class:`sec-t`},za={class:`ledger-list mono`},Ba={class:`ledger-col`},Va={class:`sec-t`},Ha={class:`ledger-list`},Ua={class:`mono`},Wa=y(t({__name:`[id]`,setup(t){let{t:y}=oe(),Wa=ie(),x=ue(),Ga=ce(),Ka=de();Ga.load();let S=o(()=>String(Wa.params.id??``)),C=o(()=>x.lines.find(e=>e.id===S.value)),w=o(()=>x.lineStateOf(S.value));x.load();let qa=x.ensureWsFeed();ne(()=>qa());let Ja=e=>(e.deviceIds??(e.deviceBindingId?[e.deviceBindingId]:[])).map(e=>Ya(e)).join(` / `)||`—`,Ya=e=>e?Ka.twins.find(t=>t.id===e)?.name??e:y(`dcwDetail.k3own4q121`),Xa=o(()=>({idle:y(`dcwDetail.k3zgkk122`),writing:y(`dcwDetail.k3l3h80123`),ok:y(`dcwDetail.stAck`),error:y(`dcwDetail.k40reu124`),offline:y(`dcwDetail.k44c2n125`)}));function Za(e){let t=e??``;return x.templates.find(e=>e.key===(t.startsWith(`dcw-`)?t.slice(4):t))?.ch??t}function Qa(e){return x.nodeById(e)?.min}function $a(e){return x.nodeById(e)?.max}let eo=o(()=>Ga.nodes.filter(e=>e.lineId===S.value)),T=p(``),E=p(null),to=p(!1);async function no(){if(T.value){to.value=!0;try{E.value=await x.fetchLedger(T.value)}finally{to.value=!1}}}async function ro(){T.value&&(await x.rollbackNode(T.value),await no())}function io(e){return Ga.nodeById(e)?.name??e}let D=o(()=>x.nodes.filter(e=>e.lineId===S.value)),O=o(()=>x.products.filter(e=>e.lineId===S.value)),ao=o(()=>x.recipes.filter(e=>e.lineId===S.value)),oo=o(()=>x.runs.filter(e=>e.lineId===S.value)),so=o(()=>{let e=new Set(D.value.map(e=>e.id));return x.history.filter(t=>e.has(t.nodeId))}),co=o(()=>x.nodes.filter(e=>!e.lineId)),lo=o(()=>x.products.filter(e=>!e.lineId));async function uo(e){await x.patchNode(e,{lineId:S.value});let t=x.nodeById(e);t&&(t.lineId=S.value)}async function fo(e){await x.updateProduct(e,{lineId:S.value}),await x.load()}let k=s({}),po=p(``),A=p(``),mo=p(``);async function ho(e,t){po.value=e,A.value=``,mo.value=``;try{let n=await x.write(e,t);n.ok?(mo.value=y(`dcwDetail.k1alcbyu182`,{p0:x.nodeById(e)?.name??e,p1:n.message}),k[e]=``):A.value=y(`dcwDetail.kl1e9x9183`,{p0:x.nodeById(e)?.name??e,p1:n.message})}catch(e){A.value=b(e)}finally{po.value=``}}let go=p(``);async function _o(e){go.value=e,A.value=``;try{await x.readNode(e)}catch(e){A.value=b(e)}finally{go.value=``}}let vo=p(``);async function yo(e,t){vo.value=e,A.value=``;try{await x.patchNode(e,{enabled:t});let n=x.nodeById(e);n&&(n.enabled=t,t?n.state===`offline`&&(n.state=`idle`):n.state=`offline`)}catch(e){A.value=b(e)}finally{vo.value=``}}let j=p(!1),bo=p(`mock`),xo=p(x.templates[0]?.key??``),So=p(`mock`),Co=p(``),wo=p(null),To=p(null),M=p({}),N=s({kind:`none`,scale:1,offset:0}),Eo=p(``),Do=p(!1),P=p(null),Oo=p(!1),ko=p(``),Ao=o(()=>x.driverCatalog.length?x.driverCatalog:le.map(e=>({...e}))),jo=o(()=>Ao.value.find(e=>e.kind===So.value)),Mo=o(()=>jo.value?.configFields??[]);function No(){let e={};for(let t of Mo.value)t.default!==void 0&&(e[t.key]=t.default);M.value=e,P.value=null}No();async function Po(){Do.value=!0,P.value=null;try{P.value=await x.testDriver(So.value,M.value)}catch(e){P.value={ok:!1,message:b(e)}}finally{Do.value=!1}}async function Fo(){Oo.value=!0,ko.value=``;try{for(let e of Mo.value)if(e.required&&(M.value[e.key]===void 0||M.value[e.key]===``))throw Error(y(`dcwDetail.k8x1un1184`,{p0:e.label}));let e=N.kind===`linear`?{kind:`linear`,scale:Number(N.scale),offset:Number(N.offset)}:void 0;await x.createFromTemplate(`dcw-${xo.value}`,{name:Co.value.trim()||void 0,driver:So.value,driverConfig:{...M.value},transform:e,holdIntervalMs:wo.value,readIntervalMs:To.value,lineId:S.value,semantics:Eo.value.trim()||void 0}),j.value=!1,Co.value=``,Eo.value=``}catch(e){ko.value=b(e)}finally{Oo.value=!1}}let Io=p(!1),Lo=p(!1),F=p(``),I=p(``);function Ro(){Io.value=!0,F.value=``,I.value=``}let L=s({name:``,ch:``,code:``,unit:``,min:``,max:``,decimals:1,icon:`gateway`,semantics:``}),zo=[{key:`thermo`,label:y(`dcwDetail.k422b8126`)},{key:`pressure`,label:y(`dcwDetail.k3x6ff127`)},{key:`tension`,label:y(`dcwDetail.k3z9xc128`)},{key:`encoder`,label:y(`dcwDetail.kjb3vhs129`)},{key:`camera`,label:y(`dcwDetail.k47atw130`)},{key:`gateway`,label:y(`dcwDetail.k48c07131`)}];async function Bo(){Lo.value=!0,F.value=``,I.value=``;try{if(!L.name.trim())throw Error(y(`dcwDetail.k6ugbw2132`));if(L.unit.trim()===``)throw Error(y(`dcwDetail.kx3pg59133`));if(L.min===``||L.max===``)throw Error(y(`dcwDetail.k13awowo134`));let e=await x.createTemplate({name:L.name.trim(),ch:L.ch.trim()||L.name.trim(),code:L.code.trim()||`CUSTOM`,unit:L.unit.trim(),min:Number(L.min),max:Number(L.max),decimals:Number(L.decimals)||0,icon:L.icon,semantics:L.semantics.trim()||void 0});xo.value=e.key,I.value=y(`dcwDetail.ky4e1tr185`,{p0:fe(y,e)}),L.name=``,L.ch=``,L.code=``,L.unit=``,L.min=``,L.max=``,L.semantics=``}catch(e){F.value=b(e)}finally{Lo.value=!1}}let R=p(``),z=p(``),B=p(!1),V=p(``),H=p(``),Vo=o(()=>ao.value.filter(e=>e.productId===R.value));async function Ho(){B.value=!0,V.value=``,H.value=``;try{if(!z.value)throw Error(y(`dcwDetail.k1b6qe0r135`));await x.startLine(S.value,z.value),V.value=y(`dcwDetail.k17jteb9186`,{p0:w.value.productName,p1:w.value.recipeName,p2:w.value.runId})}catch(e){H.value=b(e)}finally{B.value=!1}}async function Uo(){B.value=!0,V.value=``,H.value=``;try{let e=`${w.value.productName??``} · ${w.value.recipeName??``}`;await x.stopLine(S.value),V.value=y(`dcwDetail.kzl49pd187`,{p0:e})}catch(e){H.value=b(e)}finally{B.value=!1}}let Wo=p(!1),Go=p(!1),Ko=p(``),U=s({name:``,description:``}),W=p(``);async function qo(){Go.value=!0,Ko.value=``;try{let e=await x.createProduct({name:U.name.trim(),description:U.description.trim(),lineId:S.value});R.value=e.id,W.value=e.id,Wo.value=!1,U.name=``,U.description=``}catch(e){Ko.value=b(e)}finally{Go.value=!1}}let Jo=o(()=>W.value?ao.value.filter(e=>e.productId===W.value):ao.value),Yo=e=>x.products.find(t=>t.id===e)?.name??e;function G(e,t){let n=x.nodes.find(t=>t.id===e);return n?n.enabled?t&&n.lineId!==t?{code:`unbound`,label:y(`dcwDetail.staleUnbound`)}:null:{code:`disabled`,label:y(`dcwDetail.staleDisabled`)}:{code:`deleted`,label:y(`dcwDetail.staleDeleted`)}}function Xo(e){return x.nodes.find(t=>t.id===e)?.name??e}function Zo(e,t){let n=Ga.nodes.find(t=>t.id===e);return n?n.enabled?t&&n.lineId!==t?{code:`unbound`,label:y(`dcwDetail.staleUnbound`)}:null:{code:`disabled`,label:y(`dcwDetail.staleDisabled`)}:{code:`deleted`,label:y(`dcwDetail.staleDeleted`)}}let Qo=p(!1),K=p(null),$o=p([]),es=p(!1),q=p(``);async function ts(e){K.value=x.recipes.find(t=>t.id===e)??null,Qo.value=!0,q.value=``,es.value=!0;try{$o.value=await x.recipeVersions(e)}catch(e){q.value=b(e)}finally{es.value=!1}}let ns=e=>e===`agent`?`Agent`:y(e===`system`?`dcwDetail.srcSystem`:`dcwDetail.srcUser`);function rs(e,t){if(t===0)return y(`dcwDetail.histInit`);let n=$o.value[t-1],r=e.params.map(e=>({p:e,old:n.params.find(t=>t.nodeId===e.nodeId)})).filter(({p:e,old:t})=>!t||t.value!==e.value).map(({p:e,old:t})=>`${x.nodes.find(t=>t.id===e.nodeId)?.name??e.nodeId}: ${t?.value??y(`dcwDetail.histAdded`)} → ${e.value}`);return r.length>0?r.join(`;`):y(`dcwDetail.histNoChange`)}async function is(e){if(K.value){q.value=``;try{let t=await x.revertRecipe(K.value.id,{version:e,reason:y(`dcwDetail.revertReasonUi`)});q.value=y(`dcwDetail.revertOk`,{p0:t.version??0}),$o.value=await x.recipeVersions(K.value.id)}catch(e){q.value=b(e)}}}let J=s({productId:``,recipeId:``,paramKey:``,nodeId:``,lastMin:30,bucketMs:15e3}),as=p(null),os=p(!1),ss=p(``);async function cs(){os.value=!0,ss.value=``,as.value=null;try{as.value=await x.queryLine({lineId:S.value,productId:J.productId||void 0,recipeId:J.recipeId||void 0,paramKey:J.paramKey||void 0,nodeId:J.nodeId||void 0,fromMs:Date.now()-J.lastMin*6e4,toMs:Date.now(),bucketMs:J.bucketMs>0?J.bucketMs:void 0,limit:2e3}),as.value.channels.length===0&&(ss.value=y(`dcwDetail.kszv5sq136`))}catch(e){ss.value=b(e)}finally{os.value=!1}}let ls=o(()=>x.templates.map(e=>e.key)),Y=p(!1),us=p(null),ds=p(!1),X=p(``),fs=p(``),Z=s({productId:``,name:``,description:``,params:[],daqWindows:[]}),Q=p(null),$=p(null),ps=p(!1);function ms(){us.value=null,X.value=``,Z.productId=W.value||R.value||O.value[0]?.id||``,Z.name=``,Z.description=``,Z.params=[{nodeId:D.value[0]?.id??``,value:``,min:``,max:``}],Z.daqWindows=[],Y.value=!0}function hs(e){let t=x.recipes.find(t=>t.id===e);if(!t)return;us.value=e,X.value=``;let n=t.params.filter(e=>x.nodes.some(t=>t.id===e.nodeId)),r=t.params.length-n.length;fs.value=r>0?y(`dcwDetail.staleDropped`,{p0:r}):``,Z.productId=t.productId,Z.name=t.name,Z.description=t.description,Z.params=n.map(e=>({nodeId:e.nodeId,value:e.value,min:e.min??``,max:e.max??``})),Z.daqWindows=(t.daqWindows??[]).map(e=>({nodeId:e.nodeId,min:e.min??``,max:e.max??``})),Y.value=!0}async function gs(){ds.value=!0,X.value=``;try{let e={productId:Z.productId,name:Z.name.trim(),description:Z.description.trim(),params:Z.params.filter(e=>e.nodeId&&e.value!==``&&Number.isFinite(Number(e.value))).map(e=>({nodeId:e.nodeId,value:Number(e.value),...e.min!==``&&Number.isFinite(Number(e.min))?{min:Number(e.min)}:{},...e.max!==``&&Number.isFinite(Number(e.max))?{max:Number(e.max)}:{}})),daqWindows:Z.daqWindows.filter(e=>e.nodeId&&(e.min!==``||e.max!==``)).map(e=>({nodeId:e.nodeId,...e.min!==``&&Number.isFinite(Number(e.min))?{min:Number(e.min)}:{},...e.max!==``&&Number.isFinite(Number(e.max))?{max:Number(e.max)}:{}}))};us.value?await x.updateRecipe(us.value,e):await x.createRecipe(e),Y.value=!1}catch(e){X.value=b(e)}finally{ds.value=!1}}async function _s(e){Q.value=null,A.value=``;try{let t=await x.applyRecipe(e),n=t.results.filter(e=>e.ok).length;Q.value={runId:t.id,ok:n,total:t.results.length},n<t.results.length&&(A.value=y(`dcwDetail.ks7szkt188`,{p0:t.results.filter(e=>!e.ok).map(e=>e.message).join(`;`)}))}catch(e){A.value=b(e)}}async function vs(e){ps.value=!0;try{let t=await x.runData(e);$.value={runId:e,data:t}}catch(e){A.value=b(e)}finally{ps.value=!1}}function ys(e){let t=e?.value??e?.avg;return t==null?`--`:String(Math.round(t*1e3)/1e3)}return(t,o)=>{let s=ae,p=se;return m(x).loaded&&!C.value?(r(),l(`div`,pe,[c(`p`,me,n(t.$t(`dcwDetail.k19337yp018`)),1),ee(s,{class:`pill-btn`,to:`/dcw`},{default:te(()=>[h(n(t.$t(`dcwDetail.kllwu1c019`)),1)]),_:1})])):(r(),l(`div`,he,[c(`div`,ge,[c(`div`,null,[c(`p`,_e,[c(`span`,{class:`line-chip`,style:e({background:C.value?.color??`#3aa0ff`})},null,4),h(`AGENTWORKSHOP / LINE / `+n(C.value?.name??S.value),1)]),c(`h1`,null,n(C.value?.name??t.$t(`dcwDetail.k1b2snna151`))+` · `+n(t.$t(`dcwDetail.k1l0iow1137`)),1),c(`p`,ve,n(C.value?.description||t.$t(`dcwDetail.kzcbfki152`)),1)]),c(`div`,ye,[c(`span`,be,n(t.$t(`dcwDetail.k45uio082`))+` `+n(D.value.length),1),c(`span`,xe,n(t.$t(`dcwDetail.k3waz1025`))+` `+n(O.value.length),1),c(`span`,Se,n(t.$t(`dcwDetail.k48grv027`))+` `+n(ao.value.length),1)])]),c(`section`,Ce,[c(`div`,we,[c(`button`,{class:i([`aw-pill`,{running:m(x).controller.running}]),title:t.$t(`dcwDetail.k1snap154`),onClick:o[0]||=e=>m(x).startStop(m(x).controller.running?`pause`:`resume`)},[c(`span`,{class:i(m(x).controller.running?`i-tabler-player-pause`:`i-tabler-player-play`)},null,2),h(` `+n(m(x).controller.running?t.$t(`dcwDetail.kplrsg153`):t.$t(`dcwDetail.knxgni9169`)),1)],10,Te)]),c(`div`,Ee,[c(`span`,De,[c(`span`,null,n(t.$t(`dcwDetail.k45uio082`))+` `+n(m(x).controller.nodesOnline)+`/`+n(m(x).controller.nodesTotal),1),o[55]||=c(`span`,{class:`sep`},`·`,-1),c(`span`,{title:t.$t(`dcwDetail.kd3ygmn001`)},n(t.$t(`dcwDetail.k3wtib138`))+` `+n(m(x).controller.writesTotal),9,Oe),o[56]||=c(`span`,{class:`sep`},`·`,-1),c(`span`,{class:i({warn:m(x).controller.writesFailed>0}),title:t.$t(`dcwDetail.kd3znl0002`)},n(t.$t(`dcwDetail.k3yit7139`))+` `+n(m(x).controller.writesFailed),11,ke)]),c(`button`,{class:`aw-pill outline`,title:t.$t(`dcwDetail.kc4ixly003`),onClick:Ro},[o[57]||=c(`span`,{class:`i-tabler-template`},null,-1),h(` `+n(t.$t(`dcwDetail.k1972dx9020`)),1)],8,Ae),c(`button`,{class:`aw-pill add-btn`,onClick:o[1]||=e=>j.value=!0},[o[58]||=c(`span`,{class:`i-tabler-plus`},null,-1),h(` `+n(t.$t(`dcwDetail.k1976uns021`)),1)])])]),A.value||mo.value?(r(),l(`p`,{key:0,class:i([`banner`,A.value?`bad`:`good`])},n(A.value||mo.value),3)):d(``,!0),co.value.length||lo.value.length?(r(),l(`section`,je,[c(`b`,Me,n(t.$t(`dcwDetail.kaebkky022`)),1),c(`div`,Ne,[(r(!0),l(u,null,a(co.value,e=>(r(),l(`span`,{key:e.id,class:`adopt-chip`},[h(n(e.name)+` `,1),c(`button`,{class:`mini-btn`,onClick:t=>uo(e.id)},n(t.$t(`dcwDetail.kyjp9fg023`)),9,Pe)]))),128)),(r(!0),l(u,null,a(lo.value,e=>(r(),l(`span`,{key:e.id,class:`adopt-chip`},[h(n(e.name)+`(`+n(t.$t(`dcwDetail.k3km252140`)),1),c(`button`,{class:`mini-btn`,onClick:t=>fo(e.id)},n(t.$t(`dcwDetail.kyjp9fg023`)),9,Fe)]))),128))])])):d(``,!0),c(`section`,Ie,[c(`div`,Le,[c(`span`,{class:i([`line-dot`,{on:w.value.active}])},null,2),c(`div`,Re,[c(`b`,null,n(w.value.active?t.$t(`dcwDetail.k1pxrhx0154`):t.$t(`dcwDetail.k1b2hxmx170`)),1),w.value.active?(r(),l(`small`,ze,n(w.value.productName)+` · `+n(w.value.recipeName)+` · `+n(t.$t(`dcwDetail.k400lb075`))+` `+n(w.value.runId)+` · `+n(t.$t(`dcwDetail.k3zkt2166`))+` `+n(w.value.startedAt?.slice(11,19))+` `+n(t.$t(`dcwDetail.k69vag8168`))+` `+n(w.value.taggedSamples)+` `+n(t.$t(`dcwDetail.k4118o085`)),1)):(r(),l(`small`,Be,n(t.$t(`dcwDetail.k19pof14024`)),1))])]),c(`div`,Ve,[c(`label`,He,[c(`span`,null,n(t.$t(`dcwDetail.k3waz1025`)),1),f(c(`select`,{"onUpdate:modelValue":o[2]||=e=>R.value=e,class:`inp`,onChange:o[3]||=e=>z.value=``},[c(`option`,Ue,n(t.$t(`dcwDetail.kuisodh026`)),1),(r(!0),l(u,null,a(O.value,e=>(r(),l(`option`,{key:e.id,value:e.id},n(e.name),9,We))),128))],544),[[g,R.value]])]),c(`label`,Ge,[c(`span`,null,n(t.$t(`dcwDetail.k48grv027`)),1),f(c(`select`,{"onUpdate:modelValue":o[4]||=e=>z.value=e,class:`inp`,disabled:!R.value},[c(`option`,qe,n(t.$t(`dcwDetail.kutxzsz028`)),1),(r(!0),l(u,null,a(Vo.value,e=>(r(),l(`option`,{key:e.id,value:e.id,disabled:e.params.length===0},n(e.name)+n(e.params.length===0?t.$t(`dcwDetail.k1hicmch155`):t.$t(`dcwDetail.k1lzfi4g180`,{p0:e.params.length})),9,Je))),128))],8,Ke),[[g,z.value]])]),w.value.active?(r(),l(`button`,{key:1,class:`pill-btn stop`,disabled:B.value,onClick:Uo},n(t.$t(`dcwDetail.k1xyhd2y030`)),9,Xe)):(r(),l(`button`,{key:0,class:`pill-btn`,disabled:B.value||!z.value,title:z.value?t.$t(`dcwDetail.startTip`):t.$t(`dcwDetail.startNeedRecipe`),onClick:Ho},n(t.$t(`dcwDetail.kfb8vml029`)),9,Ye))]),H.value?(r(),l(`p`,Ze,n(H.value),1)):d(``,!0),V.value?(r(),l(`p`,Qe,n(V.value),1)):d(``,!0)]),Io.value?(r(),l(`div`,{key:2,class:`modal-mask`,onClick:o[15]||=_(e=>Io.value=!1,[`self`])},[c(`div`,$e,[c(`h3`,et,[h(n(t.$t(`dcwDetail.k1x4vam0031`))+` `,1),c(`small`,tt,n(t.$t(`dcwDetail.k3x23c141`))+` `+n(m(x).templates.filter(e=>e.builtin).length)+` · `+n(t.$t(`dcwDetail.k3t616a142`))+` `+n(m(x).templates.filter(e=>!e.builtin).length),1)]),c(`p`,nt,n(t.$t(`dcwDetail.ke1iyud032`)),1),c(`div`,rt,[(r(!0),l(u,null,a(m(x).templates,e=>(r(),l(`span`,{key:e.key,class:`tpl-chip`,title:`${e.code} · ${e.min}~${e.max} ${e.unit}${e.semantics?` · ${e.semantics}`:``}`},[h(n((`catalogTplName`in t?t.catalogTplName:m(fe))(m(y),e))+` `,1),c(`small`,at,n(e.min)+`~`+n(e.max)+n(e.unit),1),c(`em`,{class:i([`tpl-tag`,{builtin:e.builtin}])},n(e.builtin?t.$t(`dcwDetail.k3x23c141`):t.$t(`dcwDetail.k3t616a142`)),3)],8,it))),128))]),c(`p`,ot,n(t.$t(`dcwDetail.k169eb4s033`)),1),c(`div`,st,[c(`label`,ct,[c(`span`,null,[h(n(t.$t(`dcwDetail.k1f55q76034`)),1),o[59]||=c(`em`,null,`*`,-1)]),f(c(`input`,{"onUpdate:modelValue":o[5]||=e=>L.name=e,class:`inp`,placeholder:t.$t(`dcwDetail.k1tooi3o004`)},null,8,lt),[[v,L.name]])]),c(`label`,ut,[c(`span`,null,n(t.$t(`dcwDetail.k1bqk219035`)),1),f(c(`input`,{"onUpdate:modelValue":o[6]||=e=>L.ch=e,class:`inp`,placeholder:t.$t(`dcwDetail.k698qz0005`)},null,8,dt),[[v,L.ch]])]),c(`label`,ft,[c(`span`,null,n(t.$t(`dcwDetail.k1ayxrqb036`)),1),f(c(`input`,{"onUpdate:modelValue":o[7]||=e=>L.code=e,class:`inp`,placeholder:t.$t(`dcwDetail.codePh`)},null,8,pt),[[v,L.code]])]),c(`label`,mt,[c(`span`,null,[h(n(t.$t(`dcwDetail.k3x4ef037`)),1),o[60]||=c(`em`,null,`*`,-1)]),f(c(`input`,{"onUpdate:modelValue":o[8]||=e=>L.unit=e,class:`inp`,placeholder:t.$t(`dcwDetail.unitPh`)},null,8,ht),[[v,L.unit]])]),c(`label`,gt,[c(`span`,null,[h(n(t.$t(`dcwDetail.k1l9jv5m038`)),1),o[61]||=c(`em`,null,`*`,-1)]),f(c(`input`,{"onUpdate:modelValue":o[9]||=e=>L.min=e,type:`number`,class:`inp`,placeholder:t.$t(`dcwDetail.kxz9174006`)},null,8,_t),[[v,L.min,void 0,{number:!0}]])]),c(`label`,vt,[c(`span`,null,[h(n(t.$t(`dcwDetail.k1l9jv4p039`)),1),o[62]||=c(`em`,null,`*`,-1)]),f(c(`input`,{"onUpdate:modelValue":o[10]||=e=>L.max=e,type:`number`,class:`inp`,placeholder:t.$t(`dcwDetail.kxz9167007`)},null,8,yt),[[v,L.max,void 0,{number:!0}]])]),c(`label`,bt,[c(`span`,null,n(t.$t(`dcwDetail.k3mxmcx040`)),1),f(c(`input`,{"onUpdate:modelValue":o[11]||=e=>L.decimals=e,type:`number`,min:`0`,max:`4`,class:`inp`},null,512),[[v,L.decimals,void 0,{number:!0}]])]),c(`label`,xt,[c(`span`,null,n(t.$t(`dcwDetail.k3xx56041`)),1),f(c(`select`,{"onUpdate:modelValue":o[12]||=e=>L.icon=e,class:`inp`},[(r(),l(u,null,a(zo,e=>c(`option`,{key:e.key,value:e.key},n(e.label),9,St)),64))],512),[[g,L.icon]])])]),c(`label`,Ct,[c(`span`,null,n(t.$t(`dcwDetail.knjmyfr042`)),1),f(c(`textarea`,{"onUpdate:modelValue":o[13]||=e=>L.semantics=e,class:`inp`,rows:`2`,placeholder:t.$t(`dcwDetail.k1qdnfzc008`)},null,8,wt),[[v,L.semantics]])]),I.value?(r(),l(`p`,Tt,n(I.value),1)):d(``,!0),F.value?(r(),l(`p`,Et,n(F.value),1)):d(``,!0),c(`div`,Dt,[c(`button`,{class:`aw-pill outline`,onClick:o[14]||=e=>Io.value=!1},n(t.$t(`dcwDetail.k3x62t043`)),1),c(`button`,{class:`pill-btn`,disabled:Lo.value||!L.name.trim()||L.unit.trim()===``||L.min===``||L.max===``,onClick:Bo},n(Lo.value?t.$t(`dcwDetail.k1bg4759156`):t.$t(`dcwDetail.k1bg9nga171`)),9,Ot)])])])):d(``,!0),j.value?(r(),l(`div`,{key:3,class:`modal-mask`,onClick:o[28]||=_(e=>j.value=!1,[`self`])},[c(`div`,kt,[c(`h3`,At,n(t.$t(`dcwDetail.k1976uns021`)),1),c(`div`,jt,[c(`button`,{class:i([`seg`,{on:bo.value===`mock`}]),onClick:o[16]||=e=>bo.value=`mock`},n(t.$t(`dcwDetail.mockPlc`)),3),c(`button`,{class:i([`seg`,{on:bo.value===`real`}]),onClick:o[17]||=e=>bo.value=`real`},n(t.$t(`dcwDetail.kyj8fen044`)),3)]),c(`div`,Mt,[c(`label`,Nt,[c(`span`,null,n(t.$t(`dcwDetail.k1ejzwqp045`)),1),f(c(`select`,{"onUpdate:modelValue":o[18]||=e=>xo.value=e,class:`inp`},[(r(!0),l(u,null,a(m(x).templates,e=>(r(),l(`option`,{key:e.key,value:e.key},n((`catalogTplName`in t?t.catalogTplName:m(fe))(m(y),e))+` · `+n(e.ch)+`(`+n(e.min)+`~`+n(e.max)+` `+n(e.unit)+`)`+n(e.builtin?``:t.$t(`dcwDetail.kr45rk9157`)),9,Pt))),128))],512),[[g,xo.value]])]),c(`label`,Ft,[c(`span`,null,n(t.$t(`dcwDetail.k1ce2k1y046`)),1),f(c(`input`,{"onUpdate:modelValue":o[19]||=e=>Co.value=e,class:`inp`,placeholder:t.$t(`dcwDetail.kgpxzy3009`)},null,8,It),[[v,Co.value]])]),c(`label`,Lt,[c(`span`,null,n(t.$t(`dcwDetail.k1vyb8im047`)),1),f(c(`input`,{"onUpdate:modelValue":o[20]||=e=>wo.value=e,type:`number`,min:`0`,max:`3600000`,step:`500`,class:`inp`,placeholder:t.$t(`dcwDetail.kb1srz0010`)},null,8,Rt),[[v,wo.value,void 0,{number:!0}]])]),c(`label`,zt,[c(`span`,null,n(t.$t(`dcwDetail.k9r7d4e016`)),1),f(c(`input`,{"onUpdate:modelValue":o[21]||=e=>To.value=e,type:`number`,min:`0`,max:`3600000`,step:`500`,class:`inp`,placeholder:t.$t(`dcwDetail.k9r7d4e017`)},null,8,Bt),[[v,To.value,void 0,{number:!0}]])])]),c(`div`,Vt,[c(`label`,Ht,[c(`span`,null,n(t.$t(`dcwDetail.kiune1f048`)),1),f(c(`select`,{"onUpdate:modelValue":o[22]||=e=>N.kind=e,class:`inp`},[c(`option`,Ut,n(t.$t(`dcwDetail.kkzy0k049`)),1),c(`option`,Wt,n(t.$t(`dcwDetail.linearCalOpt`)),1)],512),[[g,N.kind]])]),c(`label`,Gt,[o[63]||=c(`span`,null,`scale / offset`,-1),c(`div`,Kt,[f(c(`input`,{"onUpdate:modelValue":o[23]||=e=>N.scale=e,type:`number`,step:`0.1`,class:`inp`,disabled:N.kind!==`linear`,title:t.$t(`dcwDetail.calScaleTip`)},null,8,qt),[[v,N.scale,void 0,{number:!0}]]),f(c(`input`,{"onUpdate:modelValue":o[24]||=e=>N.offset=e,type:`number`,step:`0.1`,class:`inp`,disabled:N.kind!==`linear`,title:t.$t(`dcwDetail.calOffsetTip`)},null,8,Jt),[[v,N.offset,void 0,{number:!0}]])])])]),bo.value===`real`?(r(),l(u,{key:0},[c(`div`,Yt,[c(`label`,Xt,[c(`span`,null,n(t.$t(`dcwDetail.k1kt87rx050`)),1),f(c(`select`,{"onUpdate:modelValue":o[25]||=e=>So.value=e,class:`inp`},[(r(!0),l(u,null,a(Ao.value.filter(e=>e.status!==`builtin`),e=>(r(),l(`option`,{key:e.kind,value:e.kind},n(e.label)+n(e.plugin?` ⌁`:``),9,Zt))),128))],512),[[g,So.value]])])]),Mo.value.length?(r(),l(`div`,Qt,[(r(!0),l(u,null,a(Mo.value,e=>(r(),l(`label`,{key:e.key,class:`f`},[c(`span`,null,[h(n(e.label),1),e.required?(r(),l(`em`,$t,`*`)):d(``,!0)]),e.type===`select`?f((r(),l(`select`,{key:0,"onUpdate:modelValue":t=>M.value[e.key]=t,class:`inp`},[(r(!0),l(u,null,a(e.options,e=>(r(),l(`option`,{key:e.value,value:e.value},n(e.label),9,tn))),128))],8,en)),[[g,M.value[e.key]]]):f((r(),l(`input`,{key:1,"onUpdate:modelValue":t=>M.value[e.key]=t,type:e.type===`number`?`number`:`text`,placeholder:e.placeholder,class:`inp`},null,8,nn)),[[re,M.value[e.key]]]),e.hint?(r(),l(`small`,rn,n(e.hint),1)):d(``,!0)]))),128))])):d(``,!0),c(`div`,an,[c(`button`,{class:`pill-btn outline`,disabled:Do.value,onClick:Po},n(Do.value?t.$t(`dcwDetail.k1fsh720158`):t.$t(`dcwDetail.k1fstglk172`)),9,on),P.value?(r(),l(`span`,{key:0,class:i([`test-result`,P.value.ok?`good`:`bad`])},n(P.value.ok?`✓`:`✗`)+` `+n(P.value.message),3)):d(``,!0)])],64)):d(``,!0),c(`label`,sn,[c(`span`,null,n(t.$t(`dcwDetail.k1hgizn7051`)),1),f(c(`textarea`,{"onUpdate:modelValue":o[26]||=e=>Eo.value=e,class:`inp`,rows:`2`,placeholder:t.$t(`dcwDetail.k12bnyt9011`)},null,8,cn),[[v,Eo.value]])]),ko.value?(r(),l(`p`,ln,n(ko.value),1)):d(``,!0),c(`div`,un,[c(`button`,{class:`aw-pill outline`,onClick:o[27]||=e=>j.value=!1},n(t.$t(`dcwDetail.k3xdnn052`)),1),c(`button`,{class:`aw-pill`,disabled:Oo.value,onClick:Fo},n(Oo.value?t.$t(`dcwDetail.k1bg4759156`):t.$t(`dcwDetail.k1bge46t173`)),9,dn)])])])):d(``,!0),ee(p,{spinning:!m(x).loaded&&!m(x).error},{default:te(()=>[c(`section`,fn,[c(`table`,pn,[c(`thead`,null,[c(`tr`,null,[c(`th`,null,n(t.$t(`dcwDetail.k1e2dtkt053`)),1),c(`th`,null,n(t.$t(`dcwDetail.k403cy054`)),1),c(`th`,null,n(t.$t(`dcwDetail.k42w8s055`)),1),c(`th`,null,n(t.$t(`dcwDetail.k1deqh0d056`)),1),c(`th`,null,n(t.$t(`dcwDetail.k9r7d4e018`)),1),c(`th`,null,n(t.$t(`dcwDetail.k1k79ec9057`)),1),c(`th`,null,n(t.$t(`dcwDetail.k1dexou6058`)),1),c(`th`,null,n(t.$t(`dcwDetail.k1b1nnaa059`)),1),c(`th`,null,n(t.$t(`dcwDetail.k1i8rtqt060`)),1),c(`th`,mn,n(t.$t(`dcwDetail.k40aa6061`)),1)])]),c(`tbody`,null,[(r(!0),l(u,null,a(D.value,e=>(r(),l(`tr`,{key:e.id,class:i({"node-paused":!e.enabled})},[c(`td`,null,[c(`span`,hn,n(e.id.slice(0,8)),1),c(`b`,null,n(e.name),1),c(`small`,gn,n(Za(e.templateRef)),1)]),c(`td`,null,[c(`button`,{class:i([`ctrl-toggle`,{on:e.enabled}]),disabled:vo.value===e.id,title:e.enabled?t.$t(`dcwDetail.pauseCtrlTip`):t.$t(`dcwDetail.enableCtrlTip`),onClick:t=>yo(e.id,!e.enabled)},[o[64]||=c(`span`,{class:`ct-dot`},null,-1),h(` `+n(e.enabled?t.$t(`dcwDetail.k3o3ib3159`):t.$t(`dcwDetail.k3n93ed062`)),1)],10,_n)]),c(`td`,null,[e.enabled?(r(),l(`span`,{key:1,class:i([`st-pill`,e.state])},n(Xa.value[e.state]??e.state),3)):(r(),l(`span`,vn,n(t.$t(`dcwDetail.k3n93ed062`)),1))]),c(`td`,yn,[h(n(e.value==null?`--`:e.value.toFixed(e.decimals))+` `,1),c(`small`,null,n(e.unit),1),e.lastAckAt?(r(),l(`small`,bn,` · `+n(e.lastAckAt.slice(11,19)),1)):d(``,!0)]),c(`td`,xn,[c(`span`,{title:e.lastReadError??t.$t(`dcwDetail.k9r7d4e019`),class:i({"read-stale":e.lastReadError})},n(e.readValue==null?`--`:e.readValue.toFixed(e.decimals)),11,Sn),c(`small`,null,n(e.unit),1),e.lastReadAt?(r(),l(`small`,Cn,` · `+n(e.lastReadAt.slice(11,19)),1)):d(``,!0),c(`button`,{class:`mini-btn read-btn`,disabled:go.value===e.id,title:t.$t(`dcwDetail.k9r7d4e020`),onClick:t=>_o(e.id)},n(go.value===e.id?`···`:t.$t(`dcwDetail.k9r7d4e021`)),9,wn)]),c(`td`,null,[c(`div`,Tn,[f(c(`input`,{"onUpdate:modelValue":t=>k[e.id]=t,type:`number`,class:`inp write-inp mono`,placeholder:`${e.min}~${e.max}`,min:e.min,max:e.max,step:10**-e.decimals,disabled:!e.enabled,title:e.enabled?``:t.$t(`dcwDetail.pausedTip`)},null,8,En),[[v,k[e.id],void 0,{number:!0}]]),c(`button`,{class:`mini-btn write-btn`,disabled:!e.enabled||po.value===e.id||k[e.id]==null||k[e.id]===``,title:e.enabled?t.$t(`dcwDetail.writeTip`):t.$t(`dcwDetail.pausedTip`),onClick:t=>ho(e.id,Number(k[e.id]))},n(po.value===e.id?t.$t(`dcwDetail.k3l3h80123`):t.$t(`dcwDetail.k3w6td174`)),9,Dn)])]),c(`td`,On,n(e.min)+` ~ `+n(e.max)+` `+n(e.unit),1),c(`td`,kn,[h(n(e.holdIntervalMs==null?t.$t(`dcwDetail.k3zul4160`):`${e.holdIntervalMs}ms`)+` `,1),c(`small`,{class:`dim`,title:t.$t(`dcwDetail.k9r7d4e016`)},`· `+n(e.readIntervalMs===0?t.$t(`dcwDetail.k9r7d4e022`):e.readIntervalMs==null?t.$t(`dcwDetail.k9r7d4e023`):`${e.readIntervalMs}ms`),9,An)]),c(`td`,null,n(Ja(e)),1),c(`td`,jn,[c(`button`,{class:`mini-btn danger`,onClick:t=>m(x).removeNode(e.id)},n(t.$t(`dcwDetail.k3xakp063`)),9,Mn)])],2))),128)),m(x).loaded&&D.value.length===0?(r(),l(`tr`,Nn,[c(`td`,Pn,[c(`div`,Fn,[c(`p`,In,n(t.$t(`dcwDetail.k1wtecyw064`)),1)])])])):d(``,!0)])])])]),_:1},8,[`spinning`]),c(`section`,Ln,[c(`div`,Rn,[c(`h3`,null,n(t.$t(`dcwDetail.k1j8w3hd065`)),1),c(`span`,zn,n(O.value.length)+` `+n(t.$t(`dcwDetail.k1av3wgs143`))+` `+n(Jo.value.length)+` `+n(t.$t(`dcwDetail.k48grv027`)),1),c(`button`,{class:`pill-btn`,style:{"margin-left":`auto`},onClick:ms},n(t.$t(`dcwDetail.k1akm6dc066`)),1),c(`button`,{class:`mini-btn`,onClick:o[29]||=e=>Wo.value=!0},n(t.$t(`dcwDetail.k1aka0ki067`)),1)]),c(`p`,Bn,n(t.$t(`dcwDetail.k6bl2q8068`)),1),O.value.length?(r(),l(`div`,Vn,[c(`button`,{class:i([`prod-chip`,{on:W.value===``}]),onClick:o[30]||=e=>W.value=``},n(t.$t(`dcwDetail.k3x4t1069`)),3),(r(!0),l(u,null,a(O.value,e=>(r(),l(`button`,{key:e.id,class:i([`prod-chip`,{on:W.value===e.id}]),title:e.description,onClick:t=>W.value=e.id},[h(n(e.name)+` `,1),c(`span`,{class:`prod-del`,title:t.$t(`dcwDetail.k1bpfjgx012`),onClick:_(t=>m(x).removeProduct(e.id),[`stop`])},`×`,8,Un)],10,Hn))),128))])):(r(),l(`p`,Wn,n(t.$t(`dcwDetail.knov3zg070`)),1)),c(`div`,Gn,[(r(!0),l(u,null,a(Jo.value,e=>(r(),l(`div`,{key:e.id,class:`recipe-item`},[c(`div`,Kn,[c(`b`,null,n(e.name),1),e.version?(r(),l(`span`,{key:0,class:`param-chip mono`,title:m(y)(`dcwDetail.histTitle`)},`v`+n(e.version),9,qn)):d(``,!0),c(`small`,Jn,n(Yo(e.productId)),1),c(`small`,Yn,n(e.id),1)]),e.description?(r(),l(`p`,Xn,n(e.description),1)):d(``,!0),c(`div`,Zn,[(r(!0),l(u,null,a(e.params,(t,a)=>(r(),l(`span`,{key:a,class:i([`param-chip`,{stale:G(t.nodeId,e.lineId)}]),title:G(t.nodeId,e.lineId)?.label??``},[h(n(Xo(t.nodeId))+` = `+n(t.value),1),G(t.nodeId,e.lineId)?(r(),l(`span`,$n,n(G(t.nodeId,e.lineId).label),1)):d(``,!0)],10,Qn))),128)),(r(!0),l(u,null,a(e.daqWindows,(a,ee)=>(r(),l(`span`,{key:`w-${ee}`,class:i([`param-chip daqwin`,{stale:Zo(a.nodeId,e.lineId)}]),title:Zo(a.nodeId,e.lineId)?.label??t.$t(`dcwDetail.k1l11api013`)},[h(` ◎ `+n(io(a.nodeId))+` ∈ [`+n(a.min??`-∞`)+`, `+n(a.max??`+∞`)+`]`,1),Zo(a.nodeId,e.lineId)?(r(),l(`span`,tr,n(Zo(a.nodeId,e.lineId).label),1)):d(``,!0)],10,er))),128))]),c(`div`,nr,[c(`button`,{class:`pill-btn`,onClick:t=>_s(e.id)},n(t.$t(`dcwDetail.k1497qvr071`)),9,rr),c(`button`,{class:`mini-btn`,onClick:t=>hs(e.id)},n(t.$t(`dcwDetail.k45eb0072`)),9,ir),c(`button`,{class:`mini-btn`,onClick:t=>ts(e.id)},[h(n(m(y)(`dcwDetail.histBtn`)),1),e.version?(r(),l(`span`,or,`·v`+n(e.version),1)):d(``,!0)],8,ar),c(`button`,{class:`mini-btn danger`,onClick:t=>m(x).removeRecipe(e.id)},n(t.$t(`dcwDetail.k3xakp063`)),9,sr)])]))),128)),Jo.value.length===0?(r(),l(`div`,cr,n(t.$t(`dcwDetail.keko1xy073`)),1)):d(``,!0)]),Q.value?(r(),l(`div`,lr,[h(n(t.$t(`dcwDetail.k1l3hrvp144`))+` `+n(Q.value.runId)+` `+n(t.$t(`dcwDetail.k1g3lh2v167`))+n(Q.value.ok)+`/`+n(Q.value.total)+` `+n(t.$t(`dcwDetail.k1bqci06149`))+` `,1),c(`button`,{class:`mini-btn`,style:{"margin-left":`10px`},disabled:ps.value,onClick:o[31]||=e=>vs(Q.value.runId)},n(ps.value?t.$t(`dcwDetail.k1br0ij9161`):t.$t(`dcwDetail.kxwei5175`)),9,ur)])):d(``,!0),oo.value.length?(r(),l(`div`,dr,[c(`p`,fr,n(t.$t(`dcwDetail.k1rjer8d074`)),1),c(`table`,pr,[c(`thead`,null,[c(`tr`,null,[c(`th`,null,n(t.$t(`dcwDetail.k400lb075`)),1),c(`th`,null,n(t.$t(`dcwDetail.k48grv027`)),1),c(`th`,null,n(t.$t(`dcwDetail.k4497j076`)),1),c(`th`,null,n(t.$t(`dcwDetail.k1bqhtmu077`)),1),c(`th`,mr,n(t.$t(`dcwDetail.k40aa6061`)),1)])]),c(`tbody`,null,[(r(!0),l(u,null,a([...oo.value].reverse().slice(0,8),e=>(r(),l(`tr`,{key:e.id},[c(`td`,hr,n(e.id),1),c(`td`,null,n(e.recipeName),1),c(`td`,gr,n(e.startedAt.slice(5,19))+` ~ `+n(e.endedAt?e.endedAt.slice(5,19):t.$t(`dcwDetail.k3vpfg9162`)),1),c(`td`,null,[c(`span`,{class:i([`st-pill`,e.results.every(e=>e.ok)?`ok`:`warn`])},n(e.results.filter(e=>e.ok).length)+`/`+n(e.results.length),3)]),c(`td`,_r,[c(`button`,{class:`mini-btn`,disabled:ps.value,onClick:t=>vs(e.id)},n(t.$t(`dcwDetail.k1dzwrdp078`)),9,vr),e.endedAt?d(``,!0):(r(),l(`button`,{key:0,class:`mini-btn`,onClick:t=>m(x).closeRun(e.id)},n(t.$t(`dcwDetail.k1blr7y7079`)),9,yr))])]))),128))])])])):d(``,!0),$.value?(r(),l(`div`,{key:4,class:`modal-mask`,onClick:o[33]||=_(e=>$.value=null,[`self`])},[c(`div`,br,[c(`h3`,xr,n(t.$t(`dcwDetail.k11lq94k145`))+` `+n($.value.data.run.recipeName)+`(`+n($.value.runId)+`) `,1),c(`p`,Sr,n(t.$t(`dcwDetail.k1me41w8080`)),1),c(`table`,Cr,[c(`thead`,null,[c(`tr`,null,[c(`th`,null,n(t.$t(`dcwDetail.k48hde081`)),1),c(`th`,null,n(t.$t(`dcwDetail.k45uio082`)),1),c(`th`,null,n(t.$t(`dcwDetail.k40t11083`)),1),c(`th`,null,n(t.$t(`dcwDetail.k3xuaw084`)),1),o[65]||=c(`th`,null,`min ~ max`,-1),c(`th`,null,n(t.$t(`dcwDetail.k4118o085`)),1)])]),c(`tbody`,null,[(r(!0),l(u,null,a($.value.data.daq,e=>(r(),l(`tr`,{key:e.nodeId},[c(`td`,null,[h(n(e.ch),1),c(`small`,wr,n(e.unit),1)]),c(`td`,null,n(e.nodeName),1),c(`td`,Tr,n(e.latest),1),c(`td`,Er,n(e.avg),1),c(`td`,Dr,n(e.min)+` ~ `+n(e.max),1),c(`td`,Or,n(e.cnt),1)]))),128)),$.value.data.daq.length===0?(r(),l(`tr`,kr,[c(`td`,Ar,n(t.$t(`dcwDetail.kd457ry086`)),1)])):d(``,!0)])]),c(`p`,jr,n(t.$t(`dcwDetail.k12b7cxs087`)),1),c(`table`,Mr,[c(`thead`,null,[c(`tr`,null,[c(`th`,null,n(t.$t(`dcwDetail.k3xbjr088`)),1),c(`th`,null,n(t.$t(`dcwDetail.k45uio082`)),1),c(`th`,null,n(t.$t(`dcwDetail.k3ncbsh089`)),1),c(`th`,null,n(t.$t(`dcwDetail.k3lh3mz090`)),1),c(`th`,null,n(t.$t(`dcwDetail.k454pg091`)),1),c(`th`,null,n(t.$t(`dcwDetail.k40ieu092`)),1)])]),c(`tbody`,null,[(r(!0),l(u,null,a($.value.data.writes,(e,a)=>(r(),l(`tr`,{key:a},[c(`td`,null,n(e.param),1),c(`td`,null,n(e.nodeName),1),c(`td`,Nr,n(e.eng),1),c(`td`,Pr,n(e.raw),1),c(`td`,null,[c(`span`,{class:i([`st-pill`,e.ok?`ok`:`alarm`])},n(e.ok?`ACK`:t.$t(`dcwDetail.k3yit7139`)),3)]),c(`td`,Fr,n(e.at.slice(5,19)),1)]))),128)),$.value.data.writes.length===0?(r(),l(`tr`,Ir,[c(`td`,Lr,n(t.$t(`dcwDetail.knzcp8i093`)),1)])):d(``,!0)])]),c(`div`,Rr,[c(`button`,{class:`aw-pill outline`,onClick:o[32]||=e=>$.value=null},n(t.$t(`dcwDetail.k3x62t043`)),1)])])])):d(``,!0)]),Y.value?(r(),l(`div`,{key:4,class:`modal-mask`,onClick:o[40]||=_(e=>Y.value=!1,[`self`])},[c(`div`,zr,[c(`h3`,Br,n(us.value?t.$t(`dcwDetail.k1iiwk0i163`):t.$t(`dcwDetail.k1efq0r9176`)),1),c(`div`,Vr,[c(`label`,Hr,[c(`span`,null,[h(n(t.$t(`dcwDetail.k1dw4fzf094`)),1),o[66]||=c(`em`,null,`*`,-1)]),f(c(`select`,{"onUpdate:modelValue":o[34]||=e=>Z.productId=e,class:`inp`},[(r(!0),l(u,null,a(O.value,e=>(r(),l(`option`,{key:e.id,value:e.id},n(e.name),9,Ur))),128))],512),[[g,Z.productId]])]),c(`label`,Wr,[c(`span`,null,[h(n(t.$t(`dcwDetail.k1l3f8so095`)),1),o[67]||=c(`em`,null,`*`,-1)]),f(c(`input`,{"onUpdate:modelValue":o[35]||=e=>Z.name=e,class:`inp`,placeholder:t.$t(`dcwDetail.k12c11vm014`)},null,8,Gr),[[v,Z.name]])]),c(`label`,Kr,[c(`span`,null,n(t.$t(`dcwDetail.k40gkk096`)),1),f(c(`input`,{"onUpdate:modelValue":o[36]||=e=>Z.description=e,class:`inp`,placeholder:t.$t(`dcwDetail.k1hxx8hy015`)},null,8,qr),[[v,Z.description]])])]),c(`p`,Jr,n(t.$t(`dcwDetail.ka1kfgh097`)),1),(r(!0),l(u,null,a(Z.params,(e,i)=>(r(),l(`div`,{key:i,class:`param-row`},[c(`label`,Yr,[c(`span`,null,n(t.$t(`dcwDetail.k1e2dtkt053`)),1),f(c(`select`,{"onUpdate:modelValue":t=>e.nodeId=t,class:`inp`},[(r(!0),l(u,null,a(D.value,e=>(r(),l(`option`,{key:e.id,value:e.id},n(e.name)+`(`+n(Za(e.templateRef))+` · `+n(e.min)+`~`+n(e.max)+` `+n(e.unit)+`) `,9,Zr))),128))],8,Xr),[[g,e.nodeId]]),G(e.nodeId,S.value)?(r(),l(`span`,Qr,n(G(e.nodeId,S.value).label),1)):d(``,!0)]),c(`label`,$r,[c(`span`,null,[h(n(t.$t(`dcwDetail.k3renp2098`)),1),o[68]||=c(`em`,null,`*`,-1)]),f(c(`input`,{"onUpdate:modelValue":t=>e.value=t,type:`number`,class:`inp`,step:.1},null,8,ei),[[v,e.value,void 0,{number:!0}]])]),c(`label`,ti,[c(`span`,null,n(t.$t(`dcwDetail.k134rw3b146`))+n(Qa(e.nodeId)??`-`)+`)`,1),f(c(`input`,{"onUpdate:modelValue":t=>e.min=t,type:`number`,class:`inp`,step:.1,placeholder:t.$t(`dcwDetail.k5vew9z016`)},null,8,ni),[[v,e.min,void 0,{number:!0}]])]),c(`label`,ri,[c(`span`,null,n(t.$t(`dcwDetail.khrv911147`))+n($a(e.nodeId)??`-`)+`)`,1),f(c(`input`,{"onUpdate:modelValue":t=>e.max=t,type:`number`,class:`inp`,step:.1,placeholder:t.$t(`dcwDetail.kzoh5pr017`)},null,8,ii),[[v,e.max,void 0,{number:!0}]])]),c(`button`,{class:`mini-btn danger param-del`,onClick:e=>Z.params.splice(i,1)},n(t.$t(`dcwDetail.k44idg099`)),9,ai)]))),128)),c(`button`,{class:`mini-btn`,onClick:o[37]||=e=>Z.params.push({nodeId:D.value[0]?.id??``,value:``,min:``,max:``})},n(t.$t(`dcwDetail.k1broh7h100`)),1),c(`p`,oi,n(t.$t(`dcwDetail.k1h5gues101`)),1),(r(!0),l(u,null,a(Z.daqWindows,(e,i)=>(r(),l(`div`,{key:`dw-${i}`,class:`param-row`},[c(`label`,si,[c(`span`,null,n(t.$t(`dcwDetail.k1empnnb102`)),1),f(c(`select`,{"onUpdate:modelValue":t=>e.nodeId=t,class:`inp`},[(r(!0),l(u,null,a(eo.value,e=>(r(),l(`option`,{key:e.id,value:e.id},n(e.name)+`(`+n(e.min)+`~`+n(e.max)+` `+n(e.unit)+`) `,9,li))),128))],8,ci),[[g,e.nodeId]])]),c(`label`,ui,[c(`span`,null,n(t.$t(`dcwDetail.kqm08ap103`)),1),f(c(`input`,{"onUpdate:modelValue":t=>e.min=t,type:`number`,class:`inp`,step:.1},null,8,di),[[v,e.min,void 0,{number:!0}]])]),c(`label`,fi,[c(`span`,null,n(t.$t(`dcwDetail.kpypf8g104`)),1),f(c(`input`,{"onUpdate:modelValue":t=>e.max=t,type:`number`,class:`inp`,step:.1},null,8,pi),[[v,e.max,void 0,{number:!0}]])]),c(`button`,{class:`mini-btn danger param-del`,onClick:e=>Z.daqWindows.splice(i,1)},n(t.$t(`dcwDetail.k44idg099`)),9,mi)]))),128)),c(`button`,{class:`mini-btn`,disabled:eo.value.length===0,title:eo.value.length===0?t.$t(`dcwDetail.noDaqTip`):``,onClick:o[38]||=e=>Z.daqWindows.push({nodeId:eo.value[0]?.id??``,min:``,max:``})},n(t.$t(`dcwDetail.kv1de1p105`)),9,hi),fs.value?(r(),l(`p`,gi,n(fs.value),1)):d(``,!0),X.value?(r(),l(`p`,_i,n(X.value),1)):d(``,!0),c(`div`,vi,[c(`button`,{class:`aw-pill outline`,onClick:o[39]||=e=>Y.value=!1},n(t.$t(`dcwDetail.k3xdnn052`)),1),c(`button`,{class:`pill-btn`,disabled:ds.value,onClick:gs},n(ds.value?t.$t(`dcwDetail.k1b38d59164`):t.$t(`dcwDetail.k1b3kwg0177`)),9,yi)])])])):d(``,!0),Qo.value?(r(),l(`div`,{key:5,class:`modal-mask`,onClick:o[42]||=_(e=>Qo.value=!1,[`self`])},[c(`div`,bi,[c(`div`,xi,[c(`h3`,null,[h(n(m(y)(`dcwDetail.histTitle`)),1),K.value?(r(),l(`span`,Si,n(K.value.name)+` · v`+n(K.value.version),1)):d(``,!0)]),c(`button`,{class:`mini-btn`,onClick:o[41]||=e=>Qo.value=!1},` ✕ `)]),q.value?(r(),l(`p`,Ci,n(q.value),1)):d(``,!0),es.value?(r(),l(`p`,wi,n(m(y)(`dcwDetail.histLoading`)),1)):$o.value.length===0?(r(),l(`div`,Ti,n(m(y)(`dcwDetail.histEmpty`)),1)):(r(!0),l(u,{key:3},a($o.value,(e,t)=>(r(),l(`div`,{key:e.version,class:i([`ver-row`,{cur:e.current}])},[c(`div`,Ei,[c(`span`,Di,`v`+n(e.version),1),c(`span`,{class:i([`ver-src`,e.by??(e.current?`cur`:``)])},n(e.current?m(y)(`dcwDetail.histCurrent`):ns(e.by)),3),c(`span`,Oi,n(e.at.slice(0,19).replace(`T`,` `)),1),c(`span`,ki,n(e.actorName||`—`),1),e.current?d(``,!0):(r(),l(`button`,{key:0,class:`mini-btn`,onClick:t=>is(e.version)},n(m(y)(`dcwDetail.revertTo`)),9,Ai))]),e.description?(r(),l(`p`,ji,n(e.description),1)):d(``,!0),c(`p`,Mi,n(rs(e,t)),1)],2))),128))])])):d(``,!0),c(`section`,Ni,[c(`p`,Pi,n(t.$t(`dcwDetail.k1us3jse106`)),1),c(`div`,Fi,[c(`label`,Ii,[c(`span`,null,n(t.$t(`dcwDetail.k3waz1025`)),1),f(c(`select`,{"onUpdate:modelValue":o[43]||=e=>J.productId=e,class:`inp`,onChange:o[44]||=e=>J.recipeId=``},[c(`option`,Li,n(t.$t(`dcwDetail.k1bkl1jx107`)),1),(r(!0),l(u,null,a(O.value,e=>(r(),l(`option`,{key:e.id,value:e.id},n(e.name),9,Ri))),128))],544),[[g,J.productId]])]),c(`label`,zi,[c(`span`,null,n(t.$t(`dcwDetail.k48grv027`)),1),f(c(`select`,{"onUpdate:modelValue":o[45]||=e=>J.recipeId=e,class:`inp`,disabled:!J.productId},[c(`option`,Vi,n(t.$t(`dcwDetail.k1bkx7cr108`)),1),(r(!0),l(u,null,a(Jo.value,e=>(r(),l(`option`,{key:e.id,value:e.id},n(e.name),9,Hi))),128))],8,Bi),[[g,J.recipeId]])]),c(`label`,Ui,[c(`span`,null,n(t.$t(`dcwDetail.k1demcae109`)),1),f(c(`select`,{"onUpdate:modelValue":o[46]||=e=>J.paramKey=e,class:`inp`},[c(`option`,Wi,n(t.$t(`dcwDetail.k1bkx7ya110`)),1),(r(!0),l(u,null,a(ls.value,e=>(r(),l(`option`,{key:e,value:e},n(e),9,Gi))),128))],512),[[g,J.paramKey]])]),c(`label`,Ki,[c(`span`,null,n(t.$t(`dcwDetail.k45uio082`)),1),f(c(`select`,{"onUpdate:modelValue":o[47]||=e=>J.nodeId=e,class:`inp`},[c(`option`,qi,n(t.$t(`dcwDetail.k1bkul3k111`)),1),(r(!0),l(u,null,a(eo.value,e=>(r(),l(`option`,{key:e.id,value:e.id},n(e.name),9,Ji))),128))],512),[[g,J.nodeId]])]),c(`label`,Yi,[c(`span`,null,n(t.$t(`dcwDetail.kx2ojn0112`)),1),f(c(`input`,{"onUpdate:modelValue":o[48]||=e=>J.lastMin=e,type:`number`,min:`1`,max:`10080`,class:`inp`},null,512),[[v,J.lastMin,void 0,{number:!0}]])]),c(`label`,Xi,[c(`span`,null,n(t.$t(`dcwDetail.kjvnvn4113`)),1),f(c(`input`,{"onUpdate:modelValue":o[49]||=e=>J.bucketMs=e,type:`number`,min:`1000`,step:`500`,class:`inp`},null,512),[[v,J.bucketMs,void 0,{number:!0}]])]),c(`div`,Zi,[c(`button`,{class:`pill-btn`,disabled:os.value,onClick:cs},n(os.value?t.$t(`dcwDetail.k1eyx09r165`):t.$t(`dcwDetail.k416ek178`)),9,Qi)])]),ss.value?(r(),l(`p`,$i,n(ss.value),1)):d(``,!0),as.value?(r(),l(`div`,ea,[c(`table`,ta,[c(`thead`,null,[c(`tr`,null,[c(`th`,null,n(t.$t(`dcwDetail.k48hde081`)),1),c(`th`,null,n(t.$t(`dcwDetail.k45uio082`)),1),c(`th`,null,n(t.$t(`dcwDetail.k42kcu114`)),1),c(`th`,null,n(t.$t(`dcwDetail.k49ujb115`)),1),c(`th`,null,n(t.$t(`dcwDetail.k40pvw116`)),1),c(`th`,null,n(t.$t(`dcwDetail.k3xho3117`)),1)])]),c(`tbody`,null,[(r(!0),l(u,null,a(as.value.channels,e=>(r(),l(`tr`,{key:e.nodeId},[c(`td`,null,[h(n(e.ch),1),c(`small`,na,n(e.unit),1)]),c(`td`,null,n(e.nodeName),1),c(`td`,ra,n(e.points.length),1),c(`td`,ia,n(ys(e.points[0])),1),c(`td`,aa,n(ys(e.points[e.points.length-1])),1),c(`td`,oa,n(new Date(e.points[0]?.at??0).toLocaleTimeString())+` ~ `+n(new Date(e.points[e.points.length-1]?.at??0).toLocaleTimeString()),1)]))),128))])])])):d(``,!0)]),so.value.length?(r(),l(`section`,sa,[c(`p`,ca,n(t.$t(`dcwDetail.kw7ym9b148`))+` `+n(so.value.length)+` `+n(t.$t(`dcwDetail.k40bfz150`)),1),c(`table`,la,[c(`tbody`,null,[(r(!0),l(u,null,a(so.value.slice(0,12),e=>(r(),l(`tr`,{key:e.id},[c(`td`,ua,n(e.at.slice(5,19)),1),c(`td`,null,n(e.param),1),c(`td`,null,n(e.nodeName),1),c(`td`,da,n(e.eng),1),c(`td`,fa,` raw `+n(e.raw??`-`),1),c(`td`,null,[c(`span`,{class:i([`st-pill`,e.ok?`ok`:`alarm`])},n(e.ok?`ACK`:t.$t(`dcwDetail.k3yit7139`)),3)]),c(`td`,pa,n(e.recipeRunId?t.$t(`dcwDetail.k6vgks7181`,{p0:e.recipeRunId}):t.$t(`dcwDetail.manualTag`)),1)]))),128))])])])):d(``,!0),Wo.value?(r(),l(`div`,{key:7,class:`modal-mask`,onClick:o[53]||=_(e=>Wo.value=!1,[`self`])},[c(`div`,ma,[c(`h3`,ha,n(t.$t(`dcwDetail.k1efduyf118`)),1),c(`div`,ga,[c(`label`,_a,[c(`span`,null,[h(n(t.$t(`dcwDetail.k1avjrl6119`)),1),o[69]||=c(`em`,null,`*`,-1)]),f(c(`input`,{"onUpdate:modelValue":o[50]||=e=>U.name=e,class:`inp`,placeholder:t.$t(`dcwDetail.k12c11vm014`)},null,8,va),[[v,U.name]])]),c(`label`,ya,[c(`span`,null,n(t.$t(`dcwDetail.k40gkk096`)),1),f(c(`input`,{"onUpdate:modelValue":o[51]||=e=>U.description=e,class:`inp`,placeholder:t.$t(`dcwDetail.k1hxx8hy015`)},null,8,ba),[[v,U.description]])])]),Ko.value?(r(),l(`p`,xa,n(Ko.value),1)):d(``,!0),c(`div`,Sa,[c(`button`,{class:`aw-pill outline`,onClick:o[52]||=e=>Wo.value=!1},n(t.$t(`dcwDetail.k3xdnn052`)),1),c(`button`,{class:`pill-btn`,disabled:Go.value,onClick:qo},n(Go.value?t.$t(`dcwDetail.k1bg4759156`):t.$t(`dcwDetail.k1bg4kn6179`)),9,Ca)])])])):d(``,!0),m(x).error?(r(),l(`p`,wa,[h(n(m(x).error)+`(`,1),ee(s,{to:`/workshop`},{default:te(()=>[h(n(t.$t(`dcwDetail.k1bhhheq120`)),1)]),_:1}),o[70]||=h(`) `,-1)])):d(``,!0),c(`section`,Ta,[c(`div`,Ea,[c(`b`,null,n(t.$t(`dcwDetail.k1ledgt001`)),1),f(c(`select`,{"onUpdate:modelValue":o[54]||=e=>T.value=e,class:`inp`,onChange:no},[c(`option`,Da,n(t.$t(`dcwDetail.k1ledgs001`)),1),(r(!0),l(u,null,a(D.value,e=>(r(),l(`option`,{key:e.id,value:e.id},n(e.name),9,Oa))),128))],544),[[g,T.value]])]),E.value?(r(),l(u,{key:0},[c(`div`,ka,[c(`div`,Aa,[c(`small`,null,n(t.$t(`dcwDetail.k1ledgv001`)),1),c(`b`,ja,n(E.value.current??`--`),1)]),c(`div`,Ma,[c(`small`,null,n(t.$t(`dcwDetail.k1ledgv002`)),1),c(`b`,Na,n(E.value.recipeTarget??`--`),1)]),c(`div`,Pa,[c(`small`,null,n(t.$t(`dcwDetail.k1ledgv003`)),1),c(`b`,Fa,n(E.value.lastGood??`--`),1)]),c(`button`,{class:`mini-btn`,onClick:no},n(t.$t(`dcwDetail.k1ledga001`)),1),c(`button`,{class:`mini-btn danger`,onClick:ro},n(t.$t(`dcwDetail.k1ledga002`)),1)]),c(`div`,Ia,[c(`div`,La,[c(`small`,Ra,n(t.$t(`dcwDetail.k1ledgh001`)),1),c(`ul`,za,[(r(!0),l(u,null,a(E.value.journal,e=>(r(),l(`li`,{key:e.id},n(e.at.slice(5,16).replace(`T`,` `))+` [`+n(e.source)+`] `+n(e.prevValue??`?`)+` → `+n(e.newValue),1))),128))])]),c(`div`,Ba,[c(`small`,Va,n(t.$t(`dcwDetail.k1ledgr001`)),1),c(`ul`,Ha,[(r(!0),l(u,null,a(E.value.records,e=>(r(),l(`li`,{key:e.id,class:`ledger-rec`},[c(`span`,{class:i([`rec-st`,e.status])},n(e.status),3),c(`span`,Ua,n(e.params[0]?.from??`?`)+` → `+n(e.params[0]?.to),1),c(`small`,null,n(e.judge?`${e.judge.verdict}(${e.judge.by})`:e.status===`open`?`open`:e.closedBy??``),1)]))),128))])])])],64)):d(``,!0)])]))}}}),[[`__scopeId`,`data-v-84c0b97c`]]);export{Wa as default};
@@ -1,9 +0,0 @@
1
- import{a as e,c as t}from"./BU83-NnX.js";import{$ as n,P as r,S as i,Ut as a,V as o,W as ee,Z as te,b as s,ct as ne,d as c,f as l,h as u,i as d,j as f,k as p,m as re,p as ie,pt as m,tt as h,xt as g,y as _}from"./CSkxz2NX.js";import{t as ae}from"./HclGiUj8.js";import{n as oe}from"./KZQX7xoM.js";import{r as se}from"./DBHNsT1Y.js";import{t as ce}from"./BCGafdXT.js";import{t as le}from"./Dz_Q3Lpw2.js";import{t as ue}from"./DIaZ2PTo2.js";import{t as v}from"./BDNMzG2s2.js";import{n as de}from"./DeYsUzhr.js";var fe={class:`term-title`},pe={class:`term-name`},me={class:`ts-chip aw-mono ts-pid`},he={key:0,class:`ts-chip ts-sub`},ge={class:`term-toolbar`},_e=[`data-state`],ve=[`data-live`],ye={class:`term-body`},be={key:0,class:`hitl-card`},xe={class:`hitl-head`},Se={class:`hitl-question`},Ce={key:0,class:`hitl-options`},we={class:`hitl-message`},Te={class:`hitl-row`},Ee={class:`hitl-row`},De={class:`term-hint aw-kicker`},y=Object.assign(v(i({__name:`OmpTerminalPanel`,props:p({pid:{},agentId:{},channelId:{},subtitle:{}},{open:{type:Boolean,default:!1},openModifiers:{}}),emits:[`update:open`],setup(i){let p=i,v=te(i,`open`),{t:y}=oe(),Oe=ue(),b=m(null),x=null,S=null,C=null,w=m(`idle`),T=m(!0),E=m(!1),D=m(!1),O=m(null),k=null,A=null,j=0,M=!1,N=0,P=``,F=[],I=-1,L={reset:`\x1B[0m`,dim:`\x1B[2m`,bold:`\x1B[1m`,red:`\x1B[31m`,green:`\x1B[32m`,yellow:`\x1B[33m`,blue:`\x1B[34m`,magenta:`\x1B[35m`,cyan:`\x1B[36m`,dimItalicMagenta:`\x1B[2;3;35m`},R=!1;function z(){if(G.length===0)return;let e=G.join(``);G.length=0,x?.write(e),/\r?\n$/.test(e)||(R=!0)}function ke(){R&&(R=!1,x?.write(`\r
2
- `))}function B(e){x&&(z(),ke(),x.write(`\r\x1B[K`),x.write(e.endsWith(`\r
3
- `)||e.endsWith(`
4
- `)?e:`${e}\r\n`),V())}function V(){x&&(R||G.length>0||x.write(`\r\x1b[K${L.dim}❯${L.reset} ${L.cyan}${P}${L.reset}`))}function Ae(){G.length=0,R=!1,W=!1,K.clear(),U=``,P=``,F=[],I=-1,x?.reset(),V()}let je=()=>{let e=new Date;return`${String(e.getHours()).padStart(2,`0`)}:${String(e.getMinutes()).padStart(2,`0`)}:${String(e.getSeconds()).padStart(2,`0`)}`};function H(e,t=160){let n=e.replace(/\s+/g,` `).trim();return n.length>t?`${n.slice(0,t)}…`:n}let U=``,W=!1,G=[],K=new Map;function Me(e){if(e.seq<=N)return;N=e.seq;let t=e.frame;switch(t.type){case`__terminal_notice`:{let e=String(t.level??`info`),n=e===`error`?L.red:e===`warning`?L.yellow:L.dim;B(`${L.dim}[${je()}]${L.reset} ${n}⚡ ${String(t.message??``)}${L.reset}`);return}case`__human_input`:U=String(t.text??``),B(`${L.bold}${L.cyan}❯ ${U}${L.reset}`);return;case`ready`:B(`${L.green}● omp ready${L.reset} ${L.dim}protocol v${String(t.protocolVersion??`?`)} · mode rpc-ui${L.reset}`);return;case`agent_start`:W=!1,K.clear(),B(`${L.dim}── agent turn started ──${L.reset}`);return;case`agent_end`:B(`${L.dim}── agent turn ended(${String(t.messageCount??`?`)} messages)──${L.reset}`);return;case`message_start`:if(String(t.role??``)===`user`){let e=String(t.text??``);if(e===U)return;B(`${L.bold}${L.cyan}❯ ${e.replace(/\n/g,`\r
5
- `)}${L.reset}`)}return;case`message_update`:{let e=t.assistantMessageEvent;if(!e)return;if(e.type===`text_delta`&&e.delta){W=!0;let t=typeof e.contentIndex==`number`?e.contentIndex:0;K.set(t,(K.get(t)??0)+e.delta.length),G.push(e.delta.replace(/\n/g,`\r
6
- `))}else if(e.type===`text_end`&&typeof e.content==`string`&&e.content.length>0){let t=typeof e.contentIndex==`number`?e.contentIndex:0,n=K.get(t)??0;e.content.length>n&&(W=!0,K.set(t,e.content.length),G.push(e.content.slice(n).replace(/\n/g,`\r
7
- `)))}else e.type===`thinking_delta`&&e.delta&&(W=!0,G.push(`${L.dimItalicMagenta}${e.delta.replace(/\n/g,`\r
8
- `)}${L.reset}`));return}case`message_end`:String(t.role??``)===`assistant`&&W&&(W=!1,z(),ke(),V());return;case`tool_execution_start`:B(` ${L.yellow}⚙ ${String(t.toolName??`tool`)}${L.reset}${L.dim}(${H(String(t.args??``),120)})${L.reset}`);return;case`tool_execution_update`:B(` ${L.dim}↳ … ${H(String(t.update??``),100)}${L.reset}`);return;case`tool_execution_end`:{let e=t.isError===!0?`${L.red}✗${L.reset}`:`${L.green}✓${L.reset}`,n=H(String(t.result??``),180);B(` ${e} ${L.dim}${n}${L.reset}`);return}case`host_tool_call`:B(` ${L.magenta}⇄ host:${String(t.toolName??`?`)}${L.reset}${L.dim}(${H(String(t.args??``),100)})${L.reset}`);return;case`extension_ui_request`:{let e=String(t.method??``);if(e===`cancel`){B(y(`ompTerminalPanel.k14jk3nu001`,{p0:L.dim,p1:String(t.targetId??``),p2:L.reset})),O.value&&O.value.id===String(t.targetId??``)&&(O.value=null);return}if(e===`notify`){B(` ${L.blue}ℹ ${String(t.message??``)}${L.reset}`);return}if(e===`select`||e===`confirm`||e===`input`||e===`editor`){let n=String(t.title??``);if(B(`${L.bold}${L.magenta}⚠ HITL · ${e}: ${n}${L.reset}`),Array.isArray(t.options))for(let e of t.options)B(` ${L.magenta}○${L.reset} ${String(e)}`);O.value={id:String(t.id??``),method:e,title:n,options:Array.isArray(t.options)?t.options.map(String):void 0,message:typeof t.message==`string`?t.message:void 0,placeholder:typeof t.placeholder==`string`?t.placeholder:void 0,prefill:typeof t.prefill==`string`?t.prefill:void 0,at:de()}}return}case`command_output`:B(`${L.dim}${String(t.text??``).replace(/\n/g,`\r
9
- `)}${L.reset}`);return;case`response`:{let e=String(t.command??``);if(e===`steer`||e===`follow_up`||e===`abort`||e===`prompt`){let n=t.success!==!1;B(` ${L.dim}· ${e} ${n?`accepted`:`failed: ${String(t.error??``)}`}${L.reset}`)}return}default:return}}let q=c(()=>p.pid!=null&&p.pid>0||!!p.agentId),J=m(null);function Ne(){let e=window.location.protocol===`https:`?`wss`:`ws`,t=encodeURIComponent(Oe.token??``),n=p.pid!=null&&p.pid>0?`pid=${p.pid}`:`agentId=${encodeURIComponent(p.agentId??``)}${p.channelId?`&channelId=${encodeURIComponent(p.channelId)}`:``}`;return`${e}://${window.location.host}/api/system/monitor/terminal/ws?${n}&token=${t}`}let Y=``;function Pe(t){switch(t.type){case`term.init`:J.value!==t.meta.pid&&(J.value=t.meta.pid,N=0,Y=``,B(y(`ompTerminalPanel.k68kkpc002`,{p0:L.dim,p1:t.meta.pid,p2:t.lastSeq,p3:L.reset}))),T.value=t.alive,E.value=t.running,D.value=t.streaming,O.value=t.hitl;return;case`term.frames`:for(let e of t.frames)Me(e);z();return;case`term.state`:T.value=t.alive,E.value=t.running,D.value=t.streaming;return;case`term.notice`:e.info(t.message);return;case`term.error`:{let e=`[${t.code}] ${t.message}`;if(e===Y)return;Y=e,B(`${L.red}✗ ${e}${L.reset}`);return}case`pong`:return}}function X(){if(!q.value||!Oe.token||k&&(k.readyState===WebSocket.OPEN||k.readyState===WebSocket.CONNECTING))return;M=!1,w.value=j===0?`connecting`:`retrying`;let e=new WebSocket(Ne());k=e,e.onopen=()=>{k===e&&(j=0,w.value=`open`)},e.onmessage=t=>{if(k===e)try{Pe(JSON.parse(t.data))}catch{}},e.onclose=()=>{if(k!==e)return;if(k=null,O.value=null,M||!q.value){w.value=`dead`;return}j+=1;let t=Math.min(1e3*2**Math.min(j-1,4),1e4);w.value=`retrying`,A=setTimeout(()=>{A=null,!M&&q.value&&X()},t)},e.onerror=()=>{}}function Fe(){M=!0,A&&=(clearTimeout(A),null),k?.close(),k=null}function Ie(e){if(k?.readyState===WebSocket.OPEN){k.send(JSON.stringify(e));return}B(y(`ompTerminalPanel.k59zj91003`,{p0:L.red,p1:L.reset}))}function Le(e){let t=e.trim();t&&(F.push(t),F=F.slice(-50),I=-1,Ie({type:`input`,text:t}))}function Re(){Ie({type:`abort`}),B(`${L.yellow}^C${L.reset}`)}function Z(e){Ie({type:`ui_response`,...e});let t=e.cancelled?`cancelled`:e.confirmed===void 0?`"${H(e.value??``,80)}"`:String(e.confirmed);B(y(`ompTerminalPanel.kvzhi95004`,{p0:L.green,p1:t,p2:L.reset})),O.value=null}let Q=m(``);n(O,e=>{Q.value=e?.prefill??e?.placeholder??``});let $=null;async function ze(){if(x||!b.value)return;let e=b.value,[{Terminal:t},{FitAddon:n}]=await Promise.all([ae(()=>import(`./BrIJiJSN.js`),[],import.meta.url),ae(()=>import(`./DIOBYJe3.js`),[],import.meta.url)]);x=new t({convertEol:!1,cursorBlink:!0,cursorStyle:`bar`,fontFamily:`"IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace`,fontSize:12.5,lineHeight:1.25,scrollback:8e3,theme:{background:`#10151c`,foreground:`#d6dee8`,cursor:`#7aa2f7`,selectionBackground:`#33467c`,black:`#10151c`,red:`#f7768e`,green:`#9ece6a`,yellow:`#e0af68`,blue:`#7aa2f7`,magenta:`#bb9af7`,cyan:`#7dcfff`,white:`#d6dee8`}}),S=new n,x.loadAddon(S),x.open(e),V();let r=e=>{if(e.ctrlKey||e.metaKey||e.altKey){(e.key===`c`||e.key===`C`)&&(e.preventDefault(),e.stopPropagation(),Re());return}if(e.key===`Enter`){e.preventDefault(),e.stopPropagation(),x?.write(`\r\x1B[K`);let t=P;P=``,Le(t),V();return}if(e.key===`Backspace`){e.preventDefault(),e.stopPropagation(),P=P.slice(0,-1),V();return}if(e.key===`ArrowUp`||e.key===`ArrowDown`){if(F.length===0)return;e.preventDefault(),e.stopPropagation(),e.key===`ArrowUp`?I=I<0?F.length-1:Math.max(0,I-1):(I=I<0?-1:Math.min(F.length-1,I+1),I===F.length-1&&(I=-1)),P=I<0?``:F[I]??``,V();return}e.key.length===1&&!e.ctrlKey&&!e.metaKey&&!e.altKey&&(e.preventDefault(),e.stopPropagation(),P+=e.key,V())};e.addEventListener(`keydown`,r,!0),$=r,x.onData(e=>{e.length<=1||(P+=e.replace(/[\r\n]+$/,``),V())}),C=new ResizeObserver(()=>{try{S?.fit()}catch{}}),C.observe(e)}function Be(){$&&b.value&&(b.value.removeEventListener(`keydown`,$,!0),$=null),C?.disconnect(),C=null,x?.dispose(),x=null,S=null}n(v,e=>{e?f(async()=>{await ze(),Ae(),N=0,j=0,Y=``,B(`${L.dim}── AgentWorkShop harness terminal · ${p.pid?`PID ${p.pid}`:`agent ${p.agentId?.slice(0,8)}…`} ──${L.reset}`),X(),f(()=>{try{S?.fit()}catch{}})}):(Fe(),O.value=null)}),n(()=>[p.pid,p.agentId],()=>{v.value&&(Fe(),f(()=>{Ae(),N=0,j=0,Y=``,J.value=null,B(`${L.dim}${y(`ompTerminalPanel.switchTarget`,{p0:p.pid?`PID ${p.pid}`:`agent ${p.agentId?.slice(0,8)}…`})}${L.reset}`),X()}))}),r(()=>{Fe(),Be()});let Ve=()=>{G.length=0,R=!1,x?.clear(),V()},He=c(()=>T.value?D.value?{text:y(`terminal.stateStreaming`),color:`processing`}:E.value?{text:y(`terminal.stateRunning`),color:`warning`}:{text:y(`terminal.stateIdle`),color:`success`}:{text:y(`terminal.stateExited`),color:`error`}),Ue=c(()=>{switch(w.value){case`open`:return{text:y(`terminal.connOpen`),color:`success`};case`connecting`:return{text:y(`terminal.connConnecting`),color:`default`};case`retrying`:return{text:`${y(`terminal.connRetrying`)}(${j})`,color:`warning`};default:return{text:y(`terminal.connClosed`),color:`default`}}});return(e,n)=>{let r=t,te=ce,c=se,f=le;return o(),ie(f,{open:v.value,"onUpdate:open":n[7]||=e=>v.value=e,placement:`right`,width:860,"body-style":{padding:`0`,display:`flex`,flexDirection:`column`,background:`#10151c`},"header-style":{background:`#10151c`,borderBottom:`1px solid #1d2733`},class:`omp-terminal-drawer`},{title:h(()=>[l(`div`,fe,[n[8]||=l(`span`,{class:`term-brand`},[l(`span`,{class:`i-tabler-terminal-2`})],-1),l(`span`,pe,a(g(y)(`terminal.title`)),1),l(`span`,me,`PID `+a(g(J)??i.pid??`–`),1),i.subtitle?(o(),u(`span`,he,a(i.subtitle),1)):re(``,!0)])]),extra:h(()=>[l(`div`,ge,[l(`span`,{class:`ts-chip aw-mono`,"data-state":g(w)},[n[9]||=l(`span`,{class:`ts-dot`},null,-1),_(a(g(Ue).text),1)],8,_e),l(`span`,{class:`ts-chip aw-mono`,"data-live":g(E)?g(D)?`streaming`:`running`:`idle`},a(g(He).text),9,ve),s(r,{size:`small`,danger:``,class:`ts-btn`,disabled:!g(E)&&!g(D),onClick:Re},{icon:h(()=>[...n[10]||=[l(`span`,{class:`i-tabler-player-stop`},null,-1)]]),default:h(()=>[_(` `+a(g(y)(`terminal.abort`)),1)]),_:1},8,[`disabled`]),s(r,{size:`small`,class:`ts-btn`,onClick:Ve},{icon:h(()=>[...n[11]||=[l(`span`,{class:`i-tabler-eraser`},null,-1)]]),default:h(()=>[_(` `+a(g(y)(`terminal.clear`)),1)]),_:1})])]),default:h(()=>[l(`div`,ye,[g(O)?(o(),u(`div`,be,[l(`div`,xe,[n[12]||=l(`span`,{class:`i-tabler-user-question`},null,-1),l(`b`,null,a(g(y)(`terminal.hitlTitle`)),1),s(te,{color:`magenta`},{default:h(()=>[_(a(g(O).method),1)]),_:1}),s(r,{size:`small`,type:`text`,danger:``,onClick:n[0]||=e=>Z({id:g(O).id,cancelled:!0})},{default:h(()=>[_(a(g(y)(`terminal.hitlCancel`)),1)]),_:1})]),l(`p`,Se,a(g(O).title),1),g(O).method===`select`?(o(),u(`div`,Ce,[(o(!0),u(d,null,ee(g(O).options??[],e=>(o(),ie(r,{key:e,block:``,onClick:t=>Z({id:g(O).id,value:e})},{default:h(()=>[_(a(e),1)]),_:2},1032,[`onClick`]))),128))])):g(O).method===`confirm`?(o(),u(d,{key:1},[l(`p`,we,a(g(O).message),1),l(`div`,Te,[s(r,{type:`primary`,onClick:n[1]||=e=>Z({id:g(O).id,confirmed:!0})},{default:h(()=>[_(a(g(y)(`terminal.hitlConfirm`)),1)]),_:1}),s(r,{onClick:n[2]||=e=>Z({id:g(O).id,confirmed:!1})},{default:h(()=>[_(a(g(y)(`terminal.hitlDeny`)),1)]),_:1})])],64)):(o(),u(d,{key:2},[s(c,{value:g(Q),"onUpdate:value":n[3]||=e=>ne(Q)?Q.value=e:null,rows:3,placeholder:g(O).placeholder,class:`hitl-textarea`,onPressEnter:n[4]||=e=>Z({id:g(O).id,value:g(Q)})},null,8,[`value`,`placeholder`]),l(`div`,Ee,[s(r,{type:`primary`,onClick:n[5]||=e=>Z({id:g(O).id,value:g(Q)})},{default:h(()=>[_(a(g(y)(`terminal.hitlSubmit`)),1)]),_:1}),s(r,{onClick:n[6]||=e=>Z({id:g(O).id,cancelled:!0})},{default:h(()=>[_(a(g(y)(`terminal.hitlCancel`)),1)]),_:1})])],64))])):re(``,!0),l(`div`,{ref_key:`hostEl`,ref:b,class:`term-host`},null,512),l(`div`,De,a(g(y)(`terminal.hint`)),1)])]),_:1},8,[`open`])}}}),[[`__scopeId`,`data-v-d6946212`]]),{__name:`WorkshopTerminalOmpTerminalPanel`});export{y as t};
@@ -1 +0,0 @@
1
- import{a as e,c as t,n}from"./BU83-NnX.js";import{$ as r,S as i,Ut as a,V as o,Vt as s,b as c,ct as l,d as u,f as d,h as f,i as p,m,p as h,pt as g,tt as _,xt as v,y}from"./CSkxz2NX.js";import{d as b}from"./D6uzXueg.js";import{d as x}from"./BJHKLJJU.js";import{n as S}from"./DtYHUi5Z.js";import{n as C}from"./KZQX7xoM.js";import{t as ee}from"./BneN7fbu.js";import{t as te}from"./DBHNsT1Y.js";import{t as ne}from"./BCGafdXT.js";import{t as re}from"./pdk8jLGT.js";import{t as ie}from"./BYhEUx8t.js";import{t as ae}from"./jZsY8yYz.js";import{t as w}from"./DZtm4l-P2.js";import{t as T}from"./DIaZ2PTo2.js";import{t as E}from"./BDNMzG2s2.js";import{t as D}from"./D0ZBQrN_2.js";import{t as O}from"./CNs_Ozdc2.js";var oe={class:`page`},se={key:0,class:`auth-gate`},ce={class:`sub`},le={class:`aw-page-head`},ue={class:`sub`},de={class:`font-medium`},fe={key:1,class:`tok-cell`},pe=[`title`],me={class:`once-banner`},he={class:`raw-row`},ge={class:`raw`},_e=[`title`],ve=[`title`],ye={class:`once-meta`},k=E(i({__name:`tokens`,setup(i){let{t:E}=C();O({layout:`default`});let k=T(),A=g([]),j=g(!1),M=g(!1),N=g(``),P=g(!1),F=g(``),I=g(``),L=g(!1),R=g(``),z=g(``),B=g(!1),V=async()=>{if(k.isLoggedIn){j.value=!0;try{A.value=await k.listTokens()}catch(t){e.error(t instanceof Error?t.message:E(`tokens.k19jvk54013`))}finally{j.value=!1}}};r(()=>k.isLoggedIn,e=>{e?V():A.value=[]},{immediate:!0});let H=async()=>{P.value=!0;try{let e=await k.createToken(N.value);F.value=e.token,I.value=N.value,M.value=!1,N.value=``,await V()}catch(t){e.error(D(t))}finally{P.value=!1}},U=async()=>{if(!z.value.trim()){e.warning(E(`tokens.k169z26g014`));return}B.value=!0;try{await k.renameToken(R.value,z.value),L.value=!1,await V(),e.success(E(`tokens.k3n9aij015`))}catch(t){e.error(D(t))}finally{B.value=!1}},be=t=>{let n=t.id;if(!n)return;let r=n===k.user?.tokenId;(async()=>{try{if(await k.revokeToken(n),e.success(E(`tokens.k3n64kh016`)),r)return;await V()}catch(t){e.error(D(t))}})()},W=g(!1),G=g(!1),xe=u(()=>{let e=F.value;return e?`${e.slice(0,6)}${`•`.repeat(Math.max(12,e.length-10))}${e.slice(-4)}`:``}),Se=()=>{W.value=!W.value},K=async e=>{try{return await navigator.clipboard.writeText(e),!0}catch{try{let t=document.createElement(`textarea`);t.value=e,t.style.position=`fixed`,t.style.opacity=`0`,document.body.appendChild(t),t.select();let n=document.execCommand(`copy`);return document.body.removeChild(t),n}catch{return!1}}},Ce=async()=>{await K(F.value)?(G.value=!0,setTimeout(()=>{G.value=!1},1600)):e.error(E(`tokens.kjtcn2h017`))},q=()=>{F.value=``,W.value=!1,G.value=!1},J=g({}),Y=g(``),X=g(``),Z=e=>e in J.value,we=e=>Z(e.id)?J.value[e.id]:e.preview??`ut-${`•`.repeat(14)}`,Q=async t=>{if(Z(t.id)){Reflect.deleteProperty(J.value,t.id);return}if(!t.hasPlain){e.warning(E(`tokens.kkpgzo8018`));return}Y.value=t.id;try{let e=await k.revealToken(t.id);e&&(J.value[t.id]=e)}catch(t){e.error(t instanceof Error?t.message:E(`tokens.k1gj9ls019`))}finally{Y.value=``}},Te=async t=>{let n=J.value[t.id]??null;if(!n){if(!t.hasPlain){e.warning(E(`tokens.kr5ovor020`));return}Y.value=t.id;try{n=await k.revealToken(t.id)}catch(t){e.error(t instanceof Error?t.message:E(`tokens.kubtby5021`));return}finally{Y.value=``}}n&&await K(n)?(X.value=t.id,setTimeout(()=>{X.value=``},1600)):e.error(E(`tokens.kgkfcr0022`))},$=e=>e?e.replace(`T`,` `).slice(0,19):`-`,Ee=e=>{R.value=e.id??``,z.value=e.label??``,L.value=!0},De=[{title:E(`tokens.k41416002`),key:`label`,dataIndex:`label`},{title:`Token`,key:`token`,width:360},{title:E(`tokens.k1bg95gk023`),key:`createdAt`,dataIndex:`createdAt`,width:170},{title:E(`tokens.k1euotul024`),key:`lastUsedAt`,dataIndex:`lastUsedAt`,width:200},{title:E(`tokens.k40aa6025`),key:`action`,width:170}];return S({title:()=>E(`titles.tokens`)}),(e,r)=>{let i=t,u=ie,g=ne,S=ae,C=re,T=ee,E=w,D=te,O=n;return o(),f(`div`,oe,[v(k).isLoggedIn?(o(),f(p,{key:1},[d(`div`,le,[d(`div`,null,[r[6]||=d(`p`,{class:`aw-kicker`},` agentworkshop / api tokens `,-1),r[7]||=d(`h1`,null,`API Token`,-1),d(`p`,ue,a(v(k).user?.name)+` · `+a(e.$t(`tokens.k1upppaw026`)),1)]),c(S,{class:`head-actions`},{default:_(()=>[v(k).user?.tokenId?(o(),h(g,{key:0,color:`green`},{default:_(()=>[y(a(e.$t(`tokens.khcxmsc006`)),1)]),_:1})):m(``,!0),c(i,{type:`primary`,onClick:r[1]||=e=>M.value=!0},{default:_(()=>[r[8]||=d(`span`,{class:`i-tabler-plus`},null,-1),y(` `+a(e.$t(`chips.issue`)),1)]),_:1})]),_:1})]),c(u,{bordered:!1,class:`table-card`},{default:_(()=>[c(E,{spinning:v(j)},{default:_(()=>[c(T,{columns:De,"data-source":v(A),pagination:!1,"row-key":`id`},{bodyCell:_(({column:t,record:n})=>[t.key===`label`?(o(),h(S,{key:0},{default:_(()=>[r[9]||=d(`span`,{class:`i-tabler-key text-primary`},null,-1),d(`span`,de,a(n.label||e.$t(`tokens.kj3mklm028`)),1),n.id===v(k).user?.tokenId?(o(),h(g,{key:0,color:`green`},{default:_(()=>[y(a(e.$t(`tokens.k1defr98007`)),1)]),_:1})):m(``,!0)]),_:2},1024)):t.key===`token`?(o(),f(`div`,fe,[d(`code`,{class:s([`tok-val`,{revealed:Z(n.id)}]),title:Z(n.id)?e.$t(`tokens.maskBackTip`):e.$t(`tokens.maskPreview`)},a(we(n)),11,pe),n.hasPlain?(o(),h(i,{key:0,type:`text`,size:`small`,class:`tok-op`,loading:v(Y)===n.id,title:Z(n.id)?e.$t(`tokens.maskBack`):e.$t(`tokens.revealPlain`),onClick:e=>Q(n)},{default:_(()=>[d(`span`,{class:s(Z(n.id)?`i-tabler-eye-off`:`i-tabler-eye`)},null,2)]),_:2},1032,[`loading`,`title`,`onClick`])):m(``,!0),n.hasPlain?(o(),h(i,{key:1,type:`text`,size:`small`,class:s([`tok-op`,{ok:v(X)===n.id}]),title:v(X)===n.id?e.$t(`tokens.copied`):e.$t(`tokens.copyPlain`),onClick:e=>Te(n)},{default:_(()=>[d(`span`,{class:s(v(X)===n.id?`i-tabler-check`:`i-tabler-copy`)},null,2)]),_:2},1032,[`class`,`title`,`onClick`])):m(``,!0)])):t.key===`createdAt`?(o(),f(p,{key:2},[y(a($(n.createdAt)),1)],64)):t.key===`lastUsedAt`?(o(),f(p,{key:3},[y(a($(n.lastUsedAt)),1)],64)):t.key===`action`?(o(),h(S,{key:4},{default:_(()=>[c(i,{type:`link`,size:`small`,onClick:e=>Ee(n)},{default:_(()=>[r[10]||=d(`span`,{class:`i-tabler-edit`},null,-1),y(` `+a(e.$t(`tokens.k3vrpcs009`)),1)]),_:1},8,[`onClick`]),c(C,{title:n.id===v(k).user?.tokenId?e.$t(`tokens.revokeCurrentWarn`):e.$t(`tokens.revokeWarn`),"ok-text":e.$t(`common.revoke`),"cancel-text":e.$t(`common.cancel`),onConfirm:e=>be(n)},{default:_(()=>[c(i,{type:`text`,size:`small`,class:`tok-revoke`},{default:_(()=>[r[11]||=d(`span`,{class:`i-tabler-trash`},null,-1),y(` `+a(e.$t(`tokens.k3xmrz010`)),1)]),_:1})]),_:1},8,[`title`,`ok-text`,`cancel-text`,`onConfirm`])]),_:2},1024)):m(``,!0)]),_:1},8,[`data-source`])]),_:1},8,[`spinning`])]),_:1}),c(O,{open:v(M),"onUpdate:open":r[3]||=e=>l(M)?M.value=e:null,title:e.$t(`chips.issueTitle`),"confirm-loading":v(P),"ok-text":e.$t(`common.create`),"cancel-text":e.$t(`common.cancel`),onOk:H},{default:_(()=>[c(D,{value:v(N),"onUpdate:value":r[2]||=e=>l(N)?N.value=e:null,placeholder:e.$t(`tokens.k1hlqknl001`),onKeydown:b(H,[`enter`])},null,8,[`value`,`placeholder`])]),_:1},8,[`open`,`title`,`confirm-loading`,`ok-text`,`cancel-text`]),c(O,{open:v(F)!==``,title:e.$t(`tokens.createdTitle`),footer:null,"mask-closable":!1,onCancel:q,onAfterClose:q},{default:_(()=>[d(`div`,me,[r[12]||=d(`span`,{class:`i-tabler-circle-check`},null,-1),d(`span`,null,a(e.$t(`tokens.k12149oy011`)),1)]),d(`div`,he,[d(`code`,ge,a(v(W)?v(F):v(xe)),1),d(`button`,{class:`raw-op`,title:v(W)?e.$t(`tokens.hidePlain`):e.$t(`tokens.showPlain`),onClick:Se},[d(`span`,{class:s(v(W)?`i-tabler-eye-off`:`i-tabler-eye`)},null,2)],8,_e),d(`button`,{class:s([`raw-op`,{ok:v(G)}]),title:v(G)?e.$t(`tokens.copied`):e.$t(`tokens.copy`),onClick:Ce},[d(`span`,{class:s(v(G)?`i-tabler-check`:`i-tabler-copy`)},null,2)],10,ve)]),d(`div`,ye,[d(`span`,null,a(e.$t(`tokens.k3p0p44027`))+a(v(I)||e.$t(`tokens.kj3mklm028`)),1),d(`span`,null,a(e.$t(`tokens.usage`)),1)]),c(i,{type:`primary`,block:``,onClick:q},{default:_(()=>[y(a(e.$t(`tokens.k1s5f5zd012`)),1)]),_:1})]),_:1},8,[`open`,`title`]),c(O,{open:v(L),"onUpdate:open":r[5]||=e=>l(L)?L.value=e:null,title:e.$t(`tokens.renameTitle`),"confirm-loading":v(B),"ok-text":e.$t(`common.save`),"cancel-text":e.$t(`common.cancel`),onOk:U},{default:_(()=>[c(D,{value:v(z),"onUpdate:value":r[4]||=e=>l(z)?z.value=e:null,placeholder:e.$t(`tokens.k41416002`),onKeydown:b(U,[`enter`])},null,8,[`value`,`placeholder`])]),_:1},8,[`open`,`title`,`confirm-loading`,`ok-text`,`cancel-text`])],64)):(o(),f(`div`,se,[c(u,{class:`auth-card`},{default:_(()=>[d(`h2`,null,a(e.$t(`tokens.k1k6z0r8003`)),1),d(`p`,ce,a(e.$t(`tokens.k1gjnree004`)),1),c(i,{type:`primary`,block:``,onClick:r[0]||=t=>(`navigateTo`in e?e.navigateTo:v(x))(`/workshop`)},{default:_(()=>[y(a(e.$t(`tokens.k1bhhheq005`)),1)]),_:1})]),_:1})]))])}}}),[[`__scopeId`,`data-v-1f7fbb8c`]]);export{k as default};
@@ -1 +0,0 @@
1
- import{a as e}from"./BU83-NnX.js";import{C as t}from"./DdD9mCHM.js";import{R as n,S as ee,Ut as r,V as i,Vt as a,W as o,d as s,dt as c,f as l,h as u,i as d,m as f,nt as p,p as te,pt as m,s as ne,xt as h,y as g}from"./CSkxz2NX.js";import{c as _,d as re,f as ie,l as v}from"./D6uzXueg.js";import{t as y}from"./BDNMzG2s2.js";import{t as ae}from"./D0ZBQrN_2.js";import{t as oe}from"./BC9wjTJK2.js";import{t as se}from"./ca4TJ3Op.js";import{t as ce}from"./CFxtLwjp.js";var le={class:`page`},ue={class:`aw-page-head`},de={class:`sub`},fe={class:`head-actions`},pe=[`title`],b={class:`live-txt mono`},x={class:`filter-card`},S={class:`flt`},C={value:``},w=[`value`],T={class:`flt`},E={value:``},D=[`value`],O={class:`flt`},k={value:``},A=[`value`],j={class:`flt`},M={value:``},N={value:`user`},P={value:`system`},F={class:`flt`},I={value:``},L=[`value`],R={class:`flt flt-grow`},z=[`placeholder`],B=[`disabled`],me={class:`table-card`},he={key:0,class:`err`},ge={class:`log-table`},_e={class:`th-time`},ve={class:`th-src`},ye={class:`th-kind`},be={class:`th-scope`},xe={class:`th-detail`},Se={class:`mono dim`},Ce={class:`actor`},we={class:`summary`},Te={class:`mono dim action`},Ee={class:`scope`},De=[`title`],Oe=[`title`],ke={key:2,class:`scope-chip`,title:`Recipe`},Ae={key:3,class:`dim`},je={class:`detail-cell`},Me=[`onClick`],Ne={key:1,class:`dim`},Pe={key:0,class:`log-detail-row`},Fe={colspan:`7`,class:`detail-td`},V={class:`detail-box mono`},Ie={class:`log-empty-row`},Le={key:0,colspan:`7`,class:`empty`},Re={class:`modal`},ze={class:`m-title`},Be={class:`m-f`},Ve=[`placeholder`],He={class:`m-f`},Ue=[`placeholder`],We={class:`m-grid`},Ge={class:`m-f`},Ke={value:``},qe=[`value`],Je={class:`m-f`},Ye={value:``},Xe=[`value`],Ze={class:`m-f`},Qe={value:``},$e=[`value`],et={key:0,class:`err`},tt={class:`m-actions`},nt=[`disabled`],H=y(ee({name:`OpsLogsPage`,setup(ee){let y=e=>t().$i18n.t(e),H=se(),rt=oe(),U=ce(),it=[`write`,`manual`,`alarm`,`line`,`recipe`,`rollback`,`daq`,`system`],W=c({lineId:``,productId:``,recipeId:``,actorKind:``,kind:``,text:``}),G=m(null),K=m(!1),q=c({summary:``,detail:``,lineId:``,productId:``,recipeId:``}),at=s(()=>!!(W.lineId||W.productId||W.recipeId||W.actorKind||W.kind||W.text.trim())),J=s(()=>H.products.filter(e=>!W.lineId||e.lineId===W.lineId)),Y=s(()=>H.recipes.filter(e=>(!W.lineId||e.lineId===W.lineId)&&(!W.productId||e.productId===W.productId)));function X(){U.fetchLogs({lineId:W.lineId,productId:W.productId,recipeId:W.recipeId,actorKind:W.actorKind,kind:W.kind,q:W.text.trim(),limit:300}),G.value=null}function ot(){W.lineId=``,W.productId=``,W.recipeId=``,W.actorKind=``,W.kind=``,W.text=``,X()}function st(){q.summary=``,q.detail=``,q.lineId=W.lineId,q.productId=W.productId,q.recipeId=W.recipeId,K.value=!0}async function ct(){try{let t=q.detail.trim();await U.postManual({summary:q.summary.trim(),lineId:q.lineId,productId:q.productId,recipeId:q.recipeId,...t?{detail:{note:t}}:{}}),e.success(y(`logs.mOk`)),K.value=!1,X()}catch(t){e.error(ae(t))}}function lt(e){return!!e.detailJson&&e.detailJson!==`{}`}function ut(e){G.value=G.value===e.id?null:e.id}function dt(e){try{return JSON.stringify(JSON.parse(e),null,2)}catch{return e}}function ft(e){let t=new Date(e);if(!Number.isFinite(t.getTime()))return e;let n=e=>String(e).padStart(2,`0`);return`${n(t.getMonth()+1)}-${n(t.getDate())} ${n(t.getHours())}:${n(t.getMinutes())}:${n(t.getSeconds())}`}function pt(e){return e===`agent`?`Agent`:y(e===`user`?`logs.src.user`:`logs.src.system`)}function mt(e){return e?y(`logs.kind.${e}`):`—`}function Z(e){return H.lines.find(t=>t.id===e)?.name??``}function Q(e){return H.products.find(t=>t.id===e)?.name??``}function $(e){return H.recipes.find(t=>t.id===e)?.name??``}return n(()=>{rt.ensureConnected(),U.ensureLive(),H.load(),X()}),(e,t)=>(i(),u(`div`,le,[l(`header`,ue,[l(`div`,null,[t[17]||=l(`p`,{class:`aw-kicker`},` agentworkshop / audit log `,-1),l(`h1`,null,r(e.$t(`logs.title`)),1),l(`p`,de,r(e.$t(`logs.sub`)),1)]),l(`div`,fe,[l(`span`,{class:`live-dot`,title:e.$t(`logs.liveHint`)},null,8,pe),l(`span`,b,r(e.$t(`logs.live`))+` `+r(h(U).recent.length),1),l(`button`,{class:`pill-btn`,onClick:st},[t[18]||=l(`span`,{class:`i-tabler-plus`},null,-1),g(` `+r(e.$t(`logs.manual`)),1)])])]),l(`section`,x,[l(`label`,S,[l(`span`,null,r(e.$t(`logs.fLine`)),1),p(l(`select`,{"onUpdate:modelValue":t[0]||=e=>W.lineId=e,class:`inp-sel`,onChange:t[1]||=e=>{W.productId=``,W.recipeId=``}},[l(`option`,C,r(e.$t(`logs.all`)),1),(i(!0),u(d,null,o(h(H).lines,e=>(i(),u(`option`,{key:e.id,value:e.id},r(e.name),9,w))),128))],544),[[_,W.lineId]])]),l(`label`,T,[l(`span`,null,r(e.$t(`logs.fProduct`)),1),p(l(`select`,{"onUpdate:modelValue":t[2]||=e=>W.productId=e,class:`inp-sel`,onChange:t[3]||=e=>W.recipeId=``},[l(`option`,E,r(e.$t(`logs.all`)),1),(i(!0),u(d,null,o(J.value,e=>(i(),u(`option`,{key:e.id,value:e.id},r(e.name),9,D))),128))],544),[[_,W.productId]])]),l(`label`,O,[t[19]||=l(`span`,null,`Recipe`,-1),p(l(`select`,{"onUpdate:modelValue":t[4]||=e=>W.recipeId=e,class:`inp-sel`},[l(`option`,k,r(e.$t(`logs.all`)),1),(i(!0),u(d,null,o(Y.value,e=>(i(),u(`option`,{key:e.id,value:e.id},r(e.name),9,A))),128))],512),[[_,W.recipeId]])]),l(`label`,j,[l(`span`,null,r(e.$t(`logs.fSource`)),1),p(l(`select`,{"onUpdate:modelValue":t[5]||=e=>W.actorKind=e,class:`inp-sel`},[l(`option`,M,r(e.$t(`logs.all`)),1),l(`option`,N,r(e.$t(`logs.src.user`)),1),t[20]||=l(`option`,{value:`agent`},` Agent `,-1),l(`option`,P,r(e.$t(`logs.src.system`)),1)],512),[[_,W.actorKind]])]),l(`label`,F,[l(`span`,null,r(e.$t(`logs.fKind`)),1),p(l(`select`,{"onUpdate:modelValue":t[6]||=e=>W.kind=e,class:`inp-sel`},[l(`option`,I,r(e.$t(`logs.all`)),1),(i(),u(d,null,o(it,t=>l(`option`,{key:t,value:t},r(e.$t(`logs.kind.${t}`)),9,L)),64))],512),[[_,W.kind]])]),l(`label`,R,[l(`span`,null,r(e.$t(`logs.fKeyword`)),1),p(l(`input`,{"onUpdate:modelValue":t[7]||=e=>W.text=e,class:`inp-sel`,type:`search`,placeholder:e.$t(`logs.fKeywordPh`),onKeydown:re(X,[`enter`])},null,40,z),[[v,W.text]])]),l(`button`,{class:`pill-btn`,disabled:h(U).loading.list,onClick:X},[t[21]||=l(`span`,{class:`i-tabler-search`},null,-1),g(` `+r(e.$t(`logs.query`)),1)],8,B),at.value?(i(),u(`button`,{key:0,class:`mini-btn`,onClick:ot},r(e.$t(`logs.reset`)),1)):f(``,!0)]),l(`section`,me,[h(U).error.list?(i(),u(`p`,he,r(h(U).error.list),1)):f(``,!0),l(`table`,ge,[l(`thead`,null,[l(`tr`,null,[l(`th`,_e,r(e.$t(`logs.thTime`)),1),l(`th`,ve,r(e.$t(`logs.fSource`)),1),l(`th`,null,r(e.$t(`logs.thActor`)),1),l(`th`,ye,r(e.$t(`logs.fKind`)),1),l(`th`,null,r(e.$t(`logs.thSummary`)),1),l(`th`,be,r(e.$t(`logs.thScope`)),1),l(`th`,xe,r(e.$t(`logs.thDetail`)),1)])]),l(`tbody`,null,[(i(!0),u(d,null,o(h(U).results,t=>(i(),u(d,{key:t.id},[l(`tr`,null,[l(`td`,Se,r(ft(t.at)),1),l(`td`,null,[l(`span`,{class:a([`src-badge`,t.actorKind])},r(pt(t.actorKind)),3)]),l(`td`,Ce,r(t.actorName||t.actor||`—`),1),l(`td`,null,[l(`span`,{class:a([`kind-chip`,t.kind])},r(mt(t.kind)),3)]),l(`td`,we,[g(r(t.summary)+` `,1),l(`small`,Te,r(t.action),1)]),l(`td`,Ee,[Z(t.lineId)?(i(),u(`span`,{key:0,class:`scope-chip`,title:e.$t(`logs.fLine`)},r(Z(t.lineId)),9,De)):f(``,!0),Q(t.productId)?(i(),u(`span`,{key:1,class:`scope-chip`,title:e.$t(`logs.fProduct`)},r(Q(t.productId)),9,Oe)):f(``,!0),$(t.recipeId)?(i(),u(`span`,ke,r($(t.recipeId)),1)):f(``,!0),!t.lineId&&!t.productId&&!t.recipeId?(i(),u(`span`,Ae,`—`)):f(``,!0)]),l(`td`,je,[lt(t)?(i(),u(`button`,{key:0,class:`mini-btn`,onClick:e=>ut(t)},r(G.value===t.id?e.$t(`logs.fold`):e.$t(`logs.expand`)),9,Me)):(i(),u(`span`,Ne,r(e.$t(`logs.noDetail`)),1))])]),G.value===t.id?(i(),u(`tr`,Pe,[l(`td`,Fe,[l(`pre`,V,r(dt(t.detailJson)),1)])])):f(``,!0)],64))),128)),l(`tr`,Ie,[h(U).results.length===0?(i(),u(`td`,Le,[h(U).loading.list?(i(),u(d,{key:0},[g(r(e.$t(`logs.loading`)),1)],64)):(i(),u(d,{key:1},[g(r(e.$t(`logs.empty`)),1)],64))])):f(``,!0)])])])]),(i(),te(ne,{to:`body`},[K.value?(i(),u(`div`,{key:0,class:`modal-mask`,onClick:t[16]||=ie(e=>K.value=!1,[`self`])},[l(`div`,Re,[l(`h3`,ze,r(e.$t(`logs.manual`)),1),l(`label`,Be,[l(`span`,null,r(e.$t(`logs.mSummary`))+` *`,1),p(l(`textarea`,{"onUpdate:modelValue":t[8]||=e=>q.summary=e,rows:`3`,placeholder:e.$t(`logs.mSummaryPh`)},null,8,Ve),[[v,q.summary]])]),l(`label`,He,[l(`span`,null,r(e.$t(`logs.mDetail`)),1),p(l(`textarea`,{"onUpdate:modelValue":t[9]||=e=>q.detail=e,rows:`2`,placeholder:e.$t(`logs.mDetailPh`)},null,8,Ue),[[v,q.detail]])]),l(`div`,We,[l(`label`,Ge,[l(`span`,null,r(e.$t(`logs.fLine`)),1),p(l(`select`,{"onUpdate:modelValue":t[10]||=e=>q.lineId=e,class:`inp-sel`,onChange:t[11]||=e=>{q.productId=``,q.recipeId=``}},[l(`option`,Ke,r(e.$t(`logs.all`)),1),(i(!0),u(d,null,o(h(H).lines,e=>(i(),u(`option`,{key:e.id,value:e.id},r(e.name),9,qe))),128))],544),[[_,q.lineId]])]),l(`label`,Je,[l(`span`,null,r(e.$t(`logs.fProduct`)),1),p(l(`select`,{"onUpdate:modelValue":t[12]||=e=>q.productId=e,class:`inp-sel`,onChange:t[13]||=e=>q.recipeId=``},[l(`option`,Ye,r(e.$t(`logs.all`)),1),(i(!0),u(d,null,o(J.value,e=>(i(),u(`option`,{key:e.id,value:e.id},r(e.name),9,Xe))),128))],544),[[_,q.productId]])]),l(`label`,Ze,[t[22]||=l(`span`,null,`Recipe`,-1),p(l(`select`,{"onUpdate:modelValue":t[14]||=e=>q.recipeId=e,class:`inp-sel`},[l(`option`,Qe,r(e.$t(`logs.all`)),1),(i(!0),u(d,null,o(Y.value,e=>(i(),u(`option`,{key:e.id,value:e.id},r(e.name),9,$e))),128))],512),[[_,q.recipeId]])])]),h(U).error.post?(i(),u(`p`,et,r(h(U).error.post),1)):f(``,!0),l(`div`,tt,[l(`button`,{class:`ghost-btn`,onClick:t[15]||=e=>K.value=!1},r(e.$t(`common.cancel`)),1),l(`button`,{class:`pill-btn`,disabled:h(U).loading.posting||!q.summary.trim(),onClick:ct},r(e.$t(`logs.mSubmit`)),9,nt)])])])):f(``,!0)]))]))}}),[[`__scopeId`,`data-v-d6872483`]]);export{H as default};
@@ -1 +0,0 @@
1
- import{O as e,a as t,c as n,j as r,m as i,p as a}from"./BU83-NnX.js";import{$ as o,P as s,R as c,S as l,Ut as u,V as d,Vt as ee,b as f,ct as p,d as m,f as h,h as g,i as _,m as v,p as y,pt as b,tt as x,xt as S,y as C}from"./CSkxz2NX.js";import{d as w,p as T}from"./BJHKLJJU.js";import{s as E}from"./YnQxK3eG.js";import{n as te}from"./KZQX7xoM.js";import{t as ne}from"./CWoJjWmZ.js";import{d as D,jt as O,n as k,t as A,u as j,wt as M}from"./4sIEbgcl.js";import{t as re}from"./BneN7fbu.js";import{t as ie}from"./BCGafdXT.js";import{t as N}from"./pdk8jLGT.js";import{t as ae}from"./BYhEUx8t.js";import{t as oe}from"./jZsY8yYz.js";import{t as se}from"./CClOy-Hz2.js";import{t as ce}from"./DIaZ2PTo2.js";import{t as P}from"./BDNMzG2s2.js";import{t as le}from"./CNs_Ozdc2.js";import{t as ue}from"./H0BcqZtT.js";var F={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M955.7 856l-416-720c-6.2-10.7-16.9-16-27.7-16s-21.6 5.3-27.7 16l-416 720C56 877.4 71.4 904 96 904h832c24.6 0 40-26.6 27.7-48zM480 416c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v184c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V416zm32 352a48.01 48.01 0 010-96 48.01 48.01 0 010 96z`}}]},name:`warning`,theme:`filled`};function I(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:Object(arguments[t]),r=Object.keys(n);typeof Object.getOwnPropertySymbols==`function`&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){L(e,t,n[t])})}return e}function L(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var R=function(e,t){var n=I({},e,t.attrs);return f(r,I({},n,{icon:F}),null)};R.displayName=`WarningFilled`,R.inheritAttrs=!1;var z=()=>f(`svg`,{width:`252`,height:`294`},[f(`defs`,null,[f(`path`,{d:`M0 .387h251.772v251.772H0z`},null)]),f(`g`,{fill:`none`,"fill-rule":`evenodd`},[f(`g`,{transform:`translate(0 .012)`},[f(`mask`,{fill:`#fff`},null),f(`path`,{d:`M0 127.32v-2.095C0 56.279 55.892.387 124.838.387h2.096c68.946 0 124.838 55.892 124.838 124.838v2.096c0 68.946-55.892 124.838-124.838 124.838h-2.096C55.892 252.16 0 196.267 0 127.321`,fill:`#E4EBF7`,mask:`url(#b)`},null)]),f(`path`,{d:`M39.755 130.84a8.276 8.276 0 1 1-16.468-1.66 8.276 8.276 0 0 1 16.468 1.66`,fill:`#FFF`},null),f(`path`,{d:`M36.975 134.297l10.482 5.943M48.373 146.508l-12.648 10.788`,stroke:`#FFF`,"stroke-width":`2`},null),f(`path`,{d:`M39.875 159.352a5.667 5.667 0 1 1-11.277-1.136 5.667 5.667 0 0 1 11.277 1.136M57.588 143.247a5.708 5.708 0 1 1-11.358-1.145 5.708 5.708 0 0 1 11.358 1.145M99.018 26.875l29.82-.014a4.587 4.587 0 1 0-.003-9.175l-29.82.013a4.587 4.587 0 1 0 .003 9.176M110.424 45.211l29.82-.013a4.588 4.588 0 0 0-.004-9.175l-29.82.013a4.587 4.587 0 1 0 .004 9.175`,fill:`#FFF`},null),f(`path`,{d:`M112.798 26.861v-.002l15.784-.006a4.588 4.588 0 1 0 .003 9.175l-15.783.007v-.002a4.586 4.586 0 0 0-.004-9.172M184.523 135.668c-.553 5.485-5.447 9.483-10.931 8.93-5.485-.553-9.483-5.448-8.93-10.932.552-5.485 5.447-9.483 10.932-8.93 5.485.553 9.483 5.447 8.93 10.932`,fill:`#FFF`},null),f(`path`,{d:`M179.26 141.75l12.64 7.167M193.006 156.477l-15.255 13.011`,stroke:`#FFF`,"stroke-width":`2`},null),f(`path`,{d:`M184.668 170.057a6.835 6.835 0 1 1-13.6-1.372 6.835 6.835 0 0 1 13.6 1.372M203.34 153.325a6.885 6.885 0 1 1-13.7-1.382 6.885 6.885 0 0 1 13.7 1.382`,fill:`#FFF`},null),f(`path`,{d:`M151.931 192.324a2.222 2.222 0 1 1-4.444 0 2.222 2.222 0 0 1 4.444 0zM225.27 116.056a2.222 2.222 0 1 1-4.445 0 2.222 2.222 0 0 1 4.444 0zM216.38 151.08a2.223 2.223 0 1 1-4.446-.001 2.223 2.223 0 0 1 4.446 0zM176.917 107.636a2.223 2.223 0 1 1-4.445 0 2.223 2.223 0 0 1 4.445 0zM195.291 92.165a2.223 2.223 0 1 1-4.445 0 2.223 2.223 0 0 1 4.445 0zM202.058 180.711a2.223 2.223 0 1 1-4.446 0 2.223 2.223 0 0 1 4.446 0z`,stroke:`#FFF`,"stroke-width":`2`},null),f(`path`,{stroke:`#FFF`,"stroke-width":`2`,d:`M214.404 153.302l-1.912 20.184-10.928 5.99M173.661 174.792l-6.356 9.814h-11.36l-4.508 6.484M174.941 125.168v-15.804M220.824 117.25l-12.84 7.901-15.31-7.902V94.39`},null),f(`path`,{d:`M166.588 65.936h-3.951a4.756 4.756 0 0 1-4.743-4.742 4.756 4.756 0 0 1 4.743-4.743h3.951a4.756 4.756 0 0 1 4.743 4.743 4.756 4.756 0 0 1-4.743 4.742`,fill:`#FFF`},null),f(`path`,{d:`M174.823 30.03c0-16.281 13.198-29.48 29.48-29.48 16.28 0 29.48 13.199 29.48 29.48 0 16.28-13.2 29.48-29.48 29.48-16.282 0-29.48-13.2-29.48-29.48`,fill:`#1890FF`},null),f(`path`,{d:`M205.952 38.387c.5.5.785 1.142.785 1.928s-.286 1.465-.785 1.964c-.572.5-1.214.75-2 .75-.785 0-1.429-.285-1.929-.785-.572-.5-.82-1.143-.82-1.929s.248-1.428.82-1.928c.5-.5 1.144-.75 1.93-.75.785 0 1.462.25 1.999.75m4.285-19.463c1.428 1.249 2.143 2.963 2.143 5.142 0 1.712-.427 3.13-1.219 4.25-.067.096-.137.18-.218.265-.416.429-1.41 1.346-2.956 2.699a5.07 5.07 0 0 0-1.428 1.75 5.207 5.207 0 0 0-.536 2.357v.5h-4.107v-.5c0-1.357.215-2.536.714-3.5.464-.964 1.857-2.464 4.178-4.536l.43-.5c.643-.785.964-1.643.964-2.535 0-1.18-.358-2.108-1-2.785-.678-.68-1.643-1.001-2.858-1.001-1.536 0-2.642.464-3.357 1.43-.37.5-.621 1.135-.76 1.904a1.999 1.999 0 0 1-1.971 1.63h-.004c-1.277 0-2.257-1.183-1.98-2.43.337-1.518 1.02-2.78 2.073-3.784 1.536-1.5 3.607-2.25 6.25-2.25 2.32 0 4.214.607 5.642 1.894`,fill:`#FFF`},null),f(`path`,{d:`M52.04 76.131s21.81 5.36 27.307 15.945c5.575 10.74-6.352 9.26-15.73 4.935-10.86-5.008-24.7-11.822-11.577-20.88`,fill:`#FFB594`},null),f(`path`,{d:`M90.483 67.504l-.449 2.893c-.753.49-4.748-2.663-4.748-2.663l-1.645.748-1.346-5.684s6.815-4.589 8.917-5.018c2.452-.501 9.884.94 10.7 2.278 0 0 1.32.486-2.227.69-3.548.203-5.043.447-6.79 3.132-1.747 2.686-2.412 3.624-2.412 3.624`,fill:`#FFC6A0`},null),f(`path`,{d:`M128.055 111.367c-2.627-7.724-6.15-13.18-8.917-15.478-3.5-2.906-9.34-2.225-11.366-4.187-1.27-1.231-3.215-1.197-3.215-1.197s-14.98-3.158-16.828-3.479c-2.37-.41-2.124-.714-6.054-1.405-1.57-1.907-2.917-1.122-2.917-1.122l-7.11-1.383c-.853-1.472-2.423-1.023-2.423-1.023l-2.468-.897c-1.645 9.976-7.74 13.796-7.74 13.796 1.795 1.122 15.703 8.3 15.703 8.3l5.107 37.11s-3.321 5.694 1.346 9.109c0 0 19.883-3.743 34.921-.329 0 0 3.047-2.546.972-8.806.523-3.01 1.394-8.263 1.736-11.622.385.772 2.019 1.918 3.14 3.477 0 0 9.407-7.365 11.052-14.012-.832-.723-1.598-1.585-2.267-2.453-.567-.736-.358-2.056-.765-2.717-.669-1.084-1.804-1.378-1.907-1.682`,fill:`#FFF`},null),f(`path`,{d:`M101.09 289.998s4.295 2.041 7.354 1.021c2.821-.94 4.53.668 7.08 1.178 2.55.51 6.874 1.1 11.686-1.26-.103-5.51-6.889-3.98-11.96-6.713-2.563-1.38-3.784-4.722-3.598-8.799h-9.402s-1.392 10.52-1.16 14.573`,fill:`#CBD1D1`},null),f(`path`,{d:`M101.067 289.826s2.428 1.271 6.759.653c3.058-.437 3.712.481 7.423 1.031 3.712.55 10.724-.069 11.823-.894.413 1.1-.343 2.063-.343 2.063s-1.512.603-4.812.824c-2.03.136-5.8.291-7.607-.503-1.787-1.375-5.247-1.903-5.728-.241-3.918.95-7.355-.286-7.355-.286l-.16-2.647z`,fill:`#2B0849`},null),f(`path`,{d:`M108.341 276.044h3.094s-.103 6.702 4.536 8.558c-4.64.618-8.558-2.303-7.63-8.558`,fill:`#A4AABA`},null),f(`path`,{d:`M57.542 272.401s-2.107 7.416-4.485 12.306c-1.798 3.695-4.225 7.492 5.465 7.492 6.648 0 8.953-.48 7.423-6.599-1.53-6.12.266-13.199.266-13.199h-8.669z`,fill:`#CBD1D1`},null),f(`path`,{d:`M51.476 289.793s2.097 1.169 6.633 1.169c6.083 0 8.249-1.65 8.249-1.65s.602 1.114-.619 2.165c-.993.855-3.597 1.591-7.39 1.546-4.145-.048-5.832-.566-6.736-1.168-.825-.55-.687-1.58-.137-2.062`,fill:`#2B0849`},null),f(`path`,{d:`M58.419 274.304s.033 1.519-.314 2.93c-.349 1.42-1.078 3.104-1.13 4.139-.058 1.151 4.537 1.58 5.155.034.62-1.547 1.294-6.427 1.913-7.252.619-.825-4.903-2.119-5.624.15`,fill:`#A4AABA`},null),f(`path`,{d:`M99.66 278.514l13.378.092s1.298-54.52 1.853-64.403c.554-9.882 3.776-43.364 1.002-63.128l-12.547-.644-22.849.78s-.434 3.966-1.195 9.976c-.063.496-.682.843-.749 1.365-.075.585.423 1.354.32 1.966-2.364 14.08-6.377 33.104-8.744 46.677-.116.666-1.234 1.009-1.458 2.691-.04.302.211 1.525.112 1.795-6.873 18.744-10.949 47.842-14.277 61.885l14.607-.014s2.197-8.57 4.03-16.97c2.811-12.886 23.111-85.01 23.111-85.01l3.016-.521 1.043 46.35s-.224 1.234.337 2.02c.56.785-.56 1.123-.392 2.244l.392 1.794s-.449 7.178-.898 11.89c-.448 4.71-.092 39.165-.092 39.165`,fill:`#7BB2F9`},null),f(`path`,{d:`M76.085 221.626c1.153.094 4.038-2.019 6.955-4.935M106.36 225.142s2.774-1.11 6.103-3.883`,stroke:`#648BD8`,"stroke-width":`1.051`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null),f(`path`,{d:`M107.275 222.1s2.773-1.11 6.102-3.884`,stroke:`#648BD8`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null),f(`path`,{d:`M74.74 224.767s2.622-.591 6.505-3.365M86.03 151.634c-.27 3.106.3 8.525-4.336 9.123M103.625 149.88s.11 14.012-1.293 15.065c-2.219 1.664-2.99 1.944-2.99 1.944M99.79 150.438s.035 12.88-1.196 24.377M93.673 175.911s7.212-1.664 9.431-1.664M74.31 205.861a212.013 212.013 0 0 1-.979 4.56s-1.458 1.832-1.009 3.776c.449 1.944-.947 2.045-4.985 15.355-1.696 5.59-4.49 18.591-6.348 27.597l-.231 1.12M75.689 197.807a320.934 320.934 0 0 1-.882 4.754M82.591 152.233L81.395 162.7s-1.097.15-.5 2.244c.113 1.346-2.674 15.775-5.18 30.43M56.12 274.418h13.31`,stroke:`#648BD8`,"stroke-width":`1.051`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null),f(`path`,{d:`M116.241 148.22s-17.047-3.104-35.893.2c.158 2.514-.003 4.15-.003 4.15s14.687-2.818 35.67-.312c.252-2.355.226-4.038.226-4.038`,fill:`#192064`},null),f(`path`,{d:`M106.322 151.165l.003-4.911a.81.81 0 0 0-.778-.815c-2.44-.091-5.066-.108-7.836-.014a.818.818 0 0 0-.789.815l-.003 4.906a.81.81 0 0 0 .831.813c2.385-.06 4.973-.064 7.73.017a.815.815 0 0 0 .842-.81`,fill:`#FFF`},null),f(`path`,{d:`M105.207 150.233l.002-3.076a.642.642 0 0 0-.619-.646 94.321 94.321 0 0 0-5.866-.01.65.65 0 0 0-.63.647v3.072a.64.64 0 0 0 .654.644 121.12 121.12 0 0 1 5.794.011c.362.01.665-.28.665-.642`,fill:`#192064`},null),f(`path`,{d:`M100.263 275.415h12.338M101.436 270.53c.006 3.387.042 5.79.111 6.506M101.451 264.548a915.75 915.75 0 0 0-.015 4.337M100.986 174.965l.898 44.642s.673 1.57-.225 2.692c-.897 1.122 2.468.673.898 2.243-1.57 1.57.897 1.122 0 3.365-.596 1.489-.994 21.1-1.096 35.146`,stroke:`#648BD8`,"stroke-width":`1.051`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null),f(`path`,{d:`M46.876 83.427s-.516 6.045 7.223 5.552c11.2-.712 9.218-9.345 31.54-21.655-.786-2.708-2.447-4.744-2.447-4.744s-11.068 3.11-22.584 8.046c-6.766 2.9-13.395 6.352-13.732 12.801M104.46 91.057l.941-5.372-8.884-11.43-5.037 5.372-1.74 7.834a.321.321 0 0 0 .108.32c.965.8 6.5 5.013 14.347 3.544a.332.332 0 0 0 .264-.268`,fill:`#FFC6A0`},null),f(`path`,{d:`M93.942 79.387s-4.533-2.853-2.432-6.855c1.623-3.09 4.513 1.133 4.513 1.133s.52-3.642 3.121-3.642c.52-1.04 1.561-4.162 1.561-4.162s11.445 2.601 13.526 3.121c0 5.203-2.304 19.424-7.84 19.861-8.892.703-12.449-9.456-12.449-9.456`,fill:`#FFC6A0`},null),f(`path`,{d:`M113.874 73.446c2.601-2.081 3.47-9.722 3.47-9.722s-2.479-.49-6.64-2.05c-4.683-2.081-12.798-4.747-17.48.976-9.668 3.223-2.05 19.823-2.05 19.823l2.713-3.021s-3.935-3.287-2.08-6.243c2.17-3.462 3.92 1.073 3.92 1.073s.637-2.387 3.581-3.342c.355-.71 1.036-2.674 1.432-3.85a1.073 1.073 0 0 1 1.263-.704c2.4.558 8.677 2.019 11.356 2.662.522.125.871.615.82 1.15l-.305 3.248z`,fill:`#520038`},null),f(`path`,{d:`M104.977 76.064c-.103.61-.582 1.038-1.07.956-.489-.083-.801-.644-.698-1.254.103-.61.582-1.038 1.07-.956.488.082.8.644.698 1.254M112.132 77.694c-.103.61-.582 1.038-1.07.956-.488-.083-.8-.644-.698-1.254.103-.61.582-1.038 1.07-.956.488.082.8.643.698 1.254`,fill:`#552950`},null),f(`path`,{stroke:`#DB836E`,"stroke-width":`1.118`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M110.13 74.84l-.896 1.61-.298 4.357h-2.228`},null),f(`path`,{d:`M110.846 74.481s1.79-.716 2.506.537`,stroke:`#5C2552`,"stroke-width":`1.118`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null),f(`path`,{d:`M92.386 74.282s.477-1.114 1.113-.716c.637.398 1.274 1.433.558 1.99-.717.556.159 1.67.159 1.67`,stroke:`#DB836E`,"stroke-width":`1.118`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null),f(`path`,{d:`M103.287 72.93s1.83 1.113 4.137.954`,stroke:`#5C2552`,"stroke-width":`1.118`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null),f(`path`,{d:`M103.685 81.762s2.227 1.193 4.376 1.193M104.64 84.308s.954.398 1.511.318M94.693 81.205s2.308 7.4 10.424 7.639`,stroke:`#DB836E`,"stroke-width":`1.118`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null),f(`path`,{d:`M81.45 89.384s.45 5.647-4.935 12.787M69 82.654s-.726 9.282-8.204 14.206`,stroke:`#E4EBF7`,"stroke-width":`1.101`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null),f(`path`,{d:`M129.405 122.865s-5.272 7.403-9.422 10.768`,stroke:`#E4EBF7`,"stroke-width":`1.051`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null),f(`path`,{d:`M119.306 107.329s.452 4.366-2.127 32.062`,stroke:`#E4EBF7`,"stroke-width":`1.101`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null),f(`path`,{d:`M150.028 151.232h-49.837a1.01 1.01 0 0 1-1.01-1.01v-31.688c0-.557.452-1.01 1.01-1.01h49.837c.558 0 1.01.453 1.01 1.01v31.688a1.01 1.01 0 0 1-1.01 1.01`,fill:`#F2D7AD`},null),f(`path`,{d:`M150.29 151.232h-19.863v-33.707h20.784v32.786a.92.92 0 0 1-.92.92`,fill:`#F4D19D`},null),f(`path`,{d:`M123.554 127.896H92.917a.518.518 0 0 1-.425-.816l6.38-9.113c.193-.277.51-.442.85-.442h31.092l-7.26 10.371z`,fill:`#F2D7AD`},null),f(`path`,{fill:`#CC9B6E`,d:`M123.689 128.447H99.25v-.519h24.169l7.183-10.26.424.298z`},null),f(`path`,{d:`M158.298 127.896h-18.669a2.073 2.073 0 0 1-1.659-.83l-7.156-9.541h19.965c.49 0 .95.23 1.244.622l6.69 8.92a.519.519 0 0 1-.415.83`,fill:`#F4D19D`},null),f(`path`,{fill:`#CC9B6E`,d:`M157.847 128.479h-19.384l-7.857-10.475.415-.31 7.7 10.266h19.126zM130.554 150.685l-.032-8.177.519-.002.032 8.177z`},null),f(`path`,{fill:`#CC9B6E`,d:`M130.511 139.783l-.08-21.414.519-.002.08 21.414zM111.876 140.932l-.498-.143 1.479-5.167.498.143zM108.437 141.06l-2.679-2.935 2.665-3.434.41.318-2.397 3.089 2.384 2.612zM116.607 141.06l-.383-.35 2.383-2.612-2.397-3.089.41-.318 2.665 3.434z`},null),f(`path`,{d:`M154.316 131.892l-3.114-1.96.038 3.514-1.043.092c-1.682.115-3.634.23-4.789.23-1.902 0-2.693 2.258 2.23 2.648l-2.645-.596s-2.168 1.317.504 2.3c0 0-1.58 1.217.561 2.58-.584 3.504 5.247 4.058 7.122 3.59 1.876-.47 4.233-2.359 4.487-5.16.28-3.085-.89-5.432-3.35-7.238`,fill:`#FFC6A0`},null),f(`path`,{d:`M153.686 133.577s-6.522.47-8.36.372c-1.836-.098-1.904 2.19 2.359 2.264 3.739.15 5.451-.044 5.451-.044`,stroke:`#DB836E`,"stroke-width":`1.051`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null),f(`path`,{d:`M145.16 135.877c-1.85 1.346.561 2.355.561 2.355s3.478.898 6.73.617`,stroke:`#DB836E`,"stroke-width":`1.051`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null),f(`path`,{d:`M151.89 141.71s-6.28.111-6.73-2.132c-.223-1.346.45-1.402.45-1.402M146.114 140.868s-1.103 3.16 5.44 3.533M151.202 129.932v3.477M52.838 89.286c3.533-.337 8.423-1.248 13.582-7.754`,stroke:`#DB836E`,"stroke-width":`1.051`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null),f(`path`,{d:`M168.567 248.318a6.647 6.647 0 0 1-6.647-6.647v-66.466a6.647 6.647 0 1 1 13.294 0v66.466a6.647 6.647 0 0 1-6.647 6.647`,fill:`#5BA02E`},null),f(`path`,{d:`M176.543 247.653a6.647 6.647 0 0 1-6.646-6.647v-33.232a6.647 6.647 0 1 1 13.293 0v33.232a6.647 6.647 0 0 1-6.647 6.647`,fill:`#92C110`},null),f(`path`,{d:`M186.443 293.613H158.92a3.187 3.187 0 0 1-3.187-3.187v-46.134a3.187 3.187 0 0 1 3.187-3.187h27.524a3.187 3.187 0 0 1 3.187 3.187v46.134a3.187 3.187 0 0 1-3.187 3.187`,fill:`#F2D7AD`},null),f(`path`,{d:`M88.979 89.48s7.776 5.384 16.6 2.842`,stroke:`#E4EBF7`,"stroke-width":`1.101`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null)])]),B=()=>f(`svg`,{width:`254`,height:`294`},[f(`defs`,null,[f(`path`,{d:`M0 .335h253.49v253.49H0z`},null),f(`path`,{d:`M0 293.665h253.49V.401H0z`},null)]),f(`g`,{fill:`none`,"fill-rule":`evenodd`},[f(`g`,{transform:`translate(0 .067)`},[f(`mask`,{fill:`#fff`},null),f(`path`,{d:`M0 128.134v-2.11C0 56.608 56.273.334 125.69.334h2.11c69.416 0 125.69 56.274 125.69 125.69v2.11c0 69.417-56.274 125.69-125.69 125.69h-2.11C56.273 253.824 0 197.551 0 128.134`,fill:`#E4EBF7`,mask:`url(#b)`},null)]),f(`path`,{d:`M39.989 132.108a8.332 8.332 0 1 1-16.581-1.671 8.332 8.332 0 0 1 16.58 1.671`,fill:`#FFF`},null),f(`path`,{d:`M37.19 135.59l10.553 5.983M48.665 147.884l-12.734 10.861`,stroke:`#FFF`,"stroke-width":`2`},null),f(`path`,{d:`M40.11 160.816a5.706 5.706 0 1 1-11.354-1.145 5.706 5.706 0 0 1 11.354 1.145M57.943 144.6a5.747 5.747 0 1 1-11.436-1.152 5.747 5.747 0 0 1 11.436 1.153M99.656 27.434l30.024-.013a4.619 4.619 0 1 0-.004-9.238l-30.024.013a4.62 4.62 0 0 0 .004 9.238M111.14 45.896l30.023-.013a4.62 4.62 0 1 0-.004-9.238l-30.024.013a4.619 4.619 0 1 0 .004 9.238`,fill:`#FFF`},null),f(`path`,{d:`M113.53 27.421v-.002l15.89-.007a4.619 4.619 0 1 0 .005 9.238l-15.892.007v-.002a4.618 4.618 0 0 0-.004-9.234M150.167 70.091h-3.979a4.789 4.789 0 0 1-4.774-4.775 4.788 4.788 0 0 1 4.774-4.774h3.979a4.789 4.789 0 0 1 4.775 4.774 4.789 4.789 0 0 1-4.775 4.775`,fill:`#FFF`},null),f(`path`,{d:`M171.687 30.234c0-16.392 13.289-29.68 29.681-29.68 16.392 0 29.68 13.288 29.68 29.68 0 16.393-13.288 29.681-29.68 29.681s-29.68-13.288-29.68-29.68`,fill:`#FF603B`},null),f(`path`,{d:`M203.557 19.435l-.676 15.035a1.514 1.514 0 0 1-3.026 0l-.675-15.035a2.19 2.19 0 1 1 4.377 0m-.264 19.378c.513.477.77 1.1.77 1.87s-.257 1.393-.77 1.907c-.55.476-1.21.733-1.943.733a2.545 2.545 0 0 1-1.87-.77c-.55-.514-.806-1.136-.806-1.87 0-.77.256-1.393.806-1.87.513-.513 1.137-.733 1.87-.733.77 0 1.43.22 1.943.733`,fill:`#FFF`},null),f(`path`,{d:`M119.3 133.275c4.426-.598 3.612-1.204 4.079-4.778.675-5.18-3.108-16.935-8.262-25.118-1.088-10.72-12.598-11.24-12.598-11.24s4.312 4.895 4.196 16.199c1.398 5.243.804 14.45.804 14.45s5.255 11.369 11.78 10.487`,fill:`#FFB594`},null),f(`path`,{d:`M100.944 91.61s1.463-.583 3.211.582c8.08 1.398 10.368 6.706 11.3 11.368 1.864 1.282 1.864 2.33 1.864 3.496.365.777 1.515 3.03 1.515 3.03s-7.225 1.748-10.954 6.758c-1.399-6.41-6.936-25.235-6.936-25.235`,fill:`#FFF`},null),f(`path`,{d:`M94.008 90.5l1.019-5.815-9.23-11.874-5.233 5.581-2.593 9.863s8.39 5.128 16.037 2.246`,fill:`#FFB594`},null),f(`path`,{d:`M82.931 78.216s-4.557-2.868-2.445-6.892c1.632-3.107 4.537 1.139 4.537 1.139s.524-3.662 3.139-3.662c.523-1.046 1.569-4.184 1.569-4.184s11.507 2.615 13.6 3.138c-.001 5.23-2.317 19.529-7.884 19.969-8.94.706-12.516-9.508-12.516-9.508`,fill:`#FFC6A0`},null),f(`path`,{d:`M102.971 72.243c2.616-2.093 3.489-9.775 3.489-9.775s-2.492-.492-6.676-2.062c-4.708-2.092-12.867-4.771-17.575.982-9.54 4.41-2.062 19.93-2.062 19.93l2.729-3.037s-3.956-3.304-2.092-6.277c2.183-3.48 3.943 1.08 3.943 1.08s.64-2.4 3.6-3.36c.356-.714 1.04-2.69 1.44-3.872a1.08 1.08 0 0 1 1.27-.707c2.41.56 8.723 2.03 11.417 2.676.524.126.876.619.825 1.156l-.308 3.266z`,fill:`#520038`},null),f(`path`,{d:`M101.22 76.514c-.104.613-.585 1.044-1.076.96-.49-.082-.805-.646-.702-1.26.104-.613.585-1.044 1.076-.961.491.083.805.647.702 1.26M94.26 75.074c-.104.613-.585 1.044-1.076.96-.49-.082-.805-.646-.702-1.26.104-.613.585-1.044 1.076-.96.491.082.805.646.702 1.26`,fill:`#552950`},null),f(`path`,{stroke:`#DB836E`,"stroke-width":`1.063`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M99.206 73.644l-.9 1.62-.3 4.38h-2.24`},null),f(`path`,{d:`M99.926 73.284s1.8-.72 2.52.54`,stroke:`#5C2552`,"stroke-width":`1.117`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null),f(`path`,{d:`M81.367 73.084s.48-1.12 1.12-.72c.64.4 1.28 1.44.56 2s.16 1.68.16 1.68`,stroke:`#DB836E`,"stroke-width":`1.117`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null),f(`path`,{d:`M92.326 71.724s1.84 1.12 4.16.96`,stroke:`#5C2552`,"stroke-width":`1.117`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null),f(`path`,{d:`M92.726 80.604s2.24 1.2 4.4 1.2M93.686 83.164s.96.4 1.52.32M83.687 80.044s1.786 6.547 9.262 7.954`,stroke:`#DB836E`,"stroke-width":`1.063`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null),f(`path`,{d:`M95.548 91.663s-1.068 2.821-8.298 2.105c-7.23-.717-10.29-5.044-10.29-5.044`,stroke:`#E4EBF7`,"stroke-width":`1.136`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null),f(`path`,{d:`M78.126 87.478s6.526 4.972 16.47 2.486c0 0 9.577 1.02 11.536 5.322 5.36 11.77.543 36.835 0 39.962 3.496 4.055-.466 8.483-.466 8.483-15.624-3.548-35.81-.6-35.81-.6-4.849-3.546-1.223-9.044-1.223-9.044L62.38 110.32c-2.485-15.227.833-19.803 3.549-20.743 3.03-1.049 8.04-1.282 8.04-1.282.496-.058 1.08-.076 1.37-.233 2.36-1.282 2.787-.583 2.787-.583`,fill:`#FFF`},null),f(`path`,{d:`M65.828 89.81s-6.875.465-7.59 8.156c-.466 8.857 3.03 10.954 3.03 10.954s6.075 22.102 16.796 22.957c8.39-2.176 4.758-6.702 4.661-11.42-.233-11.304-7.108-16.897-7.108-16.897s-4.212-13.75-9.789-13.75`,fill:`#FFC6A0`},null),f(`path`,{d:`M71.716 124.225s.855 11.264 9.828 6.486c4.765-2.536 7.581-13.828 9.789-22.568 1.456-5.768 2.58-12.197 2.58-12.197l-4.973-1.709s-2.408 5.516-7.769 12.275c-4.335 5.467-9.144 11.11-9.455 17.713`,fill:`#FFC6A0`},null),f(`path`,{d:`M108.463 105.191s1.747 2.724-2.331 30.535c2.376 2.216 1.053 6.012-.233 7.51`,stroke:`#E4EBF7`,"stroke-width":`1.085`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null),f(`path`,{d:`M123.262 131.527s-.427 2.732-11.77 1.981c-15.187-1.006-25.326-3.25-25.326-3.25l.933-5.8s.723.215 9.71-.068c11.887-.373 18.714-6.07 24.964-1.022 4.039 3.263 1.489 8.16 1.489 8.16`,fill:`#FFC6A0`},null),f(`path`,{d:`M70.24 90.974s-5.593-4.739-11.054 2.68c-3.318 7.223.517 15.284 2.664 19.578-.31 3.729 2.33 4.311 2.33 4.311s.108.895 1.516 2.68c4.078-7.03 6.72-9.166 13.711-12.546-.328-.656-1.877-3.265-1.825-3.767.175-1.69-1.282-2.623-1.282-2.623s-.286-.156-1.165-2.738c-.788-2.313-2.036-5.177-4.895-7.575`,fill:`#FFF`},null),f(`path`,{d:`M90.232 288.027s4.855 2.308 8.313 1.155c3.188-1.063 5.12.755 8.002 1.331 2.881.577 7.769 1.243 13.207-1.424-.117-6.228-7.786-4.499-13.518-7.588-2.895-1.56-4.276-5.336-4.066-9.944H91.544s-1.573 11.89-1.312 16.47`,fill:`#CBD1D1`},null),f(`path`,{d:`M90.207 287.833s2.745 1.437 7.639.738c3.456-.494 3.223.66 7.418 1.282 4.195.621 13.092-.194 14.334-1.126.466 1.242-.388 2.33-.388 2.33s-1.709.682-5.438.932c-2.295.154-8.098.276-10.14-.621-2.02-1.554-4.894-1.515-6.06-.234-4.427 1.075-7.184-.31-7.184-.31l-.181-2.991z`,fill:`#2B0849`},null),f(`path`,{d:`M98.429 272.257h3.496s-.117 7.574 5.127 9.671c-5.244.7-9.672-2.602-8.623-9.671`,fill:`#A4AABA`},null),f(`path`,{d:`M44.425 272.046s-2.208 7.774-4.702 12.899c-1.884 3.874-4.428 7.854 5.729 7.854 6.97 0 9.385-.503 7.782-6.917-1.604-6.415.279-13.836.279-13.836h-9.088z`,fill:`#CBD1D1`},null),f(`path`,{d:`M38.066 290.277s2.198 1.225 6.954 1.225c6.376 0 8.646-1.73 8.646-1.73s.63 1.168-.649 2.27c-1.04.897-3.77 1.668-7.745 1.621-4.347-.05-6.115-.593-7.062-1.224-.864-.577-.72-1.657-.144-2.162`,fill:`#2B0849`},null),f(`path`,{d:`M45.344 274.041s.035 1.592-.329 3.07c-.365 1.49-1.13 3.255-1.184 4.34-.061 1.206 4.755 1.657 5.403.036.65-1.622 1.357-6.737 2.006-7.602.648-.865-5.14-2.222-5.896.156`,fill:`#A4AABA`},null),f(`path`,{d:`M89.476 277.57l13.899.095s1.349-56.643 1.925-66.909c.576-10.267 3.923-45.052 1.042-65.585l-13.037-.669-23.737.81s-.452 4.12-1.243 10.365c-.065.515-.708.874-.777 1.417-.078.608.439 1.407.332 2.044-2.455 14.627-5.797 32.736-8.256 46.837-.121.693-1.282 1.048-1.515 2.796-.042.314.22 1.584.116 1.865-7.14 19.473-12.202 52.601-15.66 67.19l15.176-.015s2.282-10.145 4.185-18.871c2.922-13.389 24.012-88.32 24.012-88.32l3.133-.954-.158 48.568s-.233 1.282.35 2.098c.583.815-.581 1.167-.408 2.331l.408 1.864s-.466 7.458-.932 12.352c-.467 4.895 1.145 40.69 1.145 40.69`,fill:`#7BB2F9`},null),f(`path`,{d:`M64.57 218.881c1.197.099 4.195-2.097 7.225-5.127M96.024 222.534s2.881-1.152 6.34-4.034`,stroke:`#648BD8`,"stroke-width":`1.085`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null),f(`path`,{d:`M96.973 219.373s2.882-1.153 6.34-4.034`,stroke:`#648BD8`,"stroke-width":`1.032`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null),f(`path`,{d:`M63.172 222.144s2.724-.614 6.759-3.496M74.903 146.166c-.281 3.226.31 8.856-4.506 9.478M93.182 144.344s.115 14.557-1.344 15.65c-2.305 1.73-3.107 2.02-3.107 2.02M89.197 144.923s.269 13.144-1.01 25.088M83.525 170.71s6.81-1.051 9.116-1.051M46.026 270.045l-.892 4.538M46.937 263.289l-.815 4.157M62.725 202.503c-.33 1.618-.102 1.904-.449 3.438 0 0-2.756 1.903-2.29 3.923.466 2.02-.31 3.424-4.505 17.252-1.762 5.807-4.233 18.922-6.165 28.278-.03.144-.521 2.646-1.14 5.8M64.158 194.136c-.295 1.658-.6 3.31-.917 4.938M71.33 146.787l-1.244 10.877s-1.14.155-.519 2.33c.117 1.399-2.778 16.39-5.382 31.615M44.242 273.727H58.07`,stroke:`#648BD8`,"stroke-width":`1.085`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null),f(`path`,{d:`M106.18 142.117c-3.028-.489-18.825-2.744-36.219.2a.625.625 0 0 0-.518.644c.063 1.307.044 2.343.015 2.995a.617.617 0 0 0 .716.636c3.303-.534 17.037-2.412 35.664-.266.347.04.66-.214.692-.56.124-1.347.16-2.425.17-3.029a.616.616 0 0 0-.52-.62`,fill:`#192064`},null),f(`path`,{d:`M96.398 145.264l.003-5.102a.843.843 0 0 0-.809-.847 114.104 114.104 0 0 0-8.141-.014.85.85 0 0 0-.82.847l-.003 5.097c0 .476.388.857.864.845 2.478-.064 5.166-.067 8.03.017a.848.848 0 0 0 .876-.843`,fill:`#FFF`},null),f(`path`,{d:`M95.239 144.296l.002-3.195a.667.667 0 0 0-.643-.672c-1.9-.061-3.941-.073-6.094-.01a.675.675 0 0 0-.654.672l-.002 3.192c0 .376.305.677.68.669 1.859-.042 3.874-.043 6.02.012.376.01.69-.291.691-.668`,fill:`#192064`},null),f(`path`,{d:`M90.102 273.522h12.819M91.216 269.761c.006 3.519-.072 5.55 0 6.292M90.923 263.474c-.009 1.599-.016 2.558-.016 4.505M90.44 170.404l.932 46.38s.7 1.631-.233 2.796c-.932 1.166 2.564.7.932 2.33-1.63 1.633.933 1.166 0 3.497-.618 1.546-1.031 21.921-1.138 36.513`,stroke:`#648BD8`,"stroke-width":`1.085`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null),f(`path`,{d:`M73.736 98.665l2.214 4.312s2.098.816 1.865 2.68l.816 2.214M64.297 116.611c.233-.932 2.176-7.147 12.585-10.488M77.598 90.042s7.691 6.137 16.547 2.72`,stroke:`#E4EBF7`,"stroke-width":`1.085`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null),f(`path`,{d:`M91.974 86.954s5.476-.816 7.574-4.545c1.297-.345.72 2.212-.33 3.671-.7.971-1.01 1.554-1.01 1.554s.194.31.155.816c-.053.697-.175.653-.272 1.048-.081.335.108.657 0 1.049-.046.17-.198.5-.382.878-.12.249-.072.687-.2.948-.231.469-1.562 1.87-2.622 2.855-3.826 3.554-5.018 1.644-6.001-.408-.894-1.865-.661-5.127-.874-6.875-.35-2.914-2.622-3.03-1.923-4.429.343-.685 2.87.69 3.263 1.748.757 2.04 2.952 1.807 2.622 1.69`,fill:`#FFC6A0`},null),f(`path`,{d:`M99.8 82.429c-.465.077-.35.272-.97 1.243-.622.971-4.817 2.932-6.39 3.224-2.589.48-2.278-1.56-4.254-2.855-1.69-1.107-3.562-.638-1.398 1.398.99.932.932 1.107 1.398 3.205.335 1.506-.64 3.67.7 5.593`,stroke:`#DB836E`,"stroke-width":`.774`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null),f(`path`,{d:`M79.543 108.673c-2.1 2.926-4.266 6.175-5.557 8.762`,stroke:`#E59788`,"stroke-width":`.774`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null),f(`path`,{d:`M87.72 124.768s-2.098-1.942-5.127-2.719c-3.03-.777-3.574-.155-5.516.078-1.942.233-3.885-.932-3.652.7.233 1.63 5.05 1.01 5.206 2.097.155 1.087-6.37 2.796-8.313 2.175-.777.777.466 1.864 2.02 2.175.233 1.554 2.253 1.554 2.253 1.554s.699 1.01 2.641 1.088c2.486 1.32 8.934-.7 10.954-1.554 2.02-.855-.466-5.594-.466-5.594`,fill:`#FFC6A0`},null),f(`path`,{d:`M73.425 122.826s.66 1.127 3.167 1.418c2.315.27 2.563.583 2.563.583s-2.545 2.894-9.07 2.272M72.416 129.274s3.826.097 4.933-.718M74.98 130.75s1.961.136 3.36-.505M77.232 131.916s1.748.019 2.914-.505M73.328 122.321s-.595-1.032 1.262-.427c1.671.544 2.833.055 5.128.155 1.389.061 3.067-.297 3.982.15 1.606.784 3.632 2.181 3.632 2.181s10.526 1.204 19.033-1.127M78.864 108.104s-8.39 2.758-13.168 12.12`,stroke:`#E59788`,"stroke-width":`.774`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null),f(`path`,{d:`M109.278 112.533s3.38-3.613 7.575-4.662`,stroke:`#E4EBF7`,"stroke-width":`1.085`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null),f(`path`,{d:`M107.375 123.006s9.697-2.745 11.445-.88`,stroke:`#E59788`,"stroke-width":`.774`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null),f(`path`,{d:`M194.605 83.656l3.971-3.886M187.166 90.933l3.736-3.655M191.752 84.207l-4.462-4.56M198.453 91.057l-4.133-4.225M129.256 163.074l3.718-3.718M122.291 170.039l3.498-3.498M126.561 163.626l-4.27-4.27M132.975 170.039l-3.955-3.955`,stroke:`#BFCDDD`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null),f(`path`,{d:`M190.156 211.779h-1.604a4.023 4.023 0 0 1-4.011-4.011V175.68a4.023 4.023 0 0 1 4.01-4.01h1.605a4.023 4.023 0 0 1 4.011 4.01v32.088a4.023 4.023 0 0 1-4.01 4.01`,fill:`#A3B4C6`},null),f(`path`,{d:`M237.824 212.977a4.813 4.813 0 0 1-4.813 4.813h-86.636a4.813 4.813 0 0 1 0-9.626h86.636a4.813 4.813 0 0 1 4.813 4.813`,fill:`#A3B4C6`},null),f(`mask`,{fill:`#fff`},null),f(`path`,{fill:`#A3B4C6`,mask:`url(#d)`,d:`M154.098 190.096h70.513v-84.617h-70.513z`},null),f(`path`,{d:`M224.928 190.096H153.78a3.219 3.219 0 0 1-3.208-3.209V167.92a3.219 3.219 0 0 1 3.208-3.21h71.148a3.219 3.219 0 0 1 3.209 3.21v18.967a3.219 3.219 0 0 1-3.21 3.209M224.928 130.832H153.78a3.218 3.218 0 0 1-3.208-3.208v-18.968a3.219 3.219 0 0 1 3.208-3.209h71.148a3.219 3.219 0 0 1 3.209 3.21v18.967a3.218 3.218 0 0 1-3.21 3.208`,fill:`#BFCDDD`,mask:`url(#d)`},null),f(`path`,{d:`M159.563 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M166.98 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M174.397 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M222.539 120.546h-22.461a.802.802 0 0 1-.802-.802v-3.208c0-.443.359-.803.802-.803h22.46c.444 0 .803.36.803.803v3.208c0 .443-.36.802-.802.802`,fill:`#FFF`,mask:`url(#d)`},null),f(`path`,{d:`M224.928 160.464H153.78a3.218 3.218 0 0 1-3.208-3.209v-18.967a3.219 3.219 0 0 1 3.208-3.209h71.148a3.219 3.219 0 0 1 3.209 3.209v18.967a3.218 3.218 0 0 1-3.21 3.209`,fill:`#BFCDDD`,mask:`url(#d)`},null),f(`path`,{d:`M173.455 130.832h49.301M164.984 130.832h6.089M155.952 130.832h6.75M173.837 160.613h49.3M165.365 160.613h6.089M155.57 160.613h6.751`,stroke:`#7C90A5`,"stroke-width":`1.124`,"stroke-linecap":`round`,"stroke-linejoin":`round`,mask:`url(#d)`},null),f(`path`,{d:`M159.563 151.038a2.407 2.407 0 1 1 0-4.814 2.407 2.407 0 0 1 0 4.814M166.98 151.038a2.407 2.407 0 1 1 0-4.814 2.407 2.407 0 0 1 0 4.814M174.397 151.038a2.407 2.407 0 1 1 .001-4.814 2.407 2.407 0 0 1 0 4.814M222.539 151.038h-22.461a.802.802 0 0 1-.802-.802v-3.209c0-.443.359-.802.802-.802h22.46c.444 0 .803.36.803.802v3.209c0 .443-.36.802-.802.802M159.563 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M166.98 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M174.397 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M222.539 179.987h-22.461a.802.802 0 0 1-.802-.802v-3.209c0-.443.359-.802.802-.802h22.46c.444 0 .803.36.803.802v3.209c0 .443-.36.802-.802.802`,fill:`#FFF`,mask:`url(#d)`},null),f(`path`,{d:`M203.04 221.108h-27.372a2.413 2.413 0 0 1-2.406-2.407v-11.448a2.414 2.414 0 0 1 2.406-2.407h27.372a2.414 2.414 0 0 1 2.407 2.407V218.7a2.413 2.413 0 0 1-2.407 2.407`,fill:`#BFCDDD`,mask:`url(#d)`},null),f(`path`,{d:`M177.259 207.217v11.52M201.05 207.217v11.52`,stroke:`#A3B4C6`,"stroke-width":`1.124`,"stroke-linecap":`round`,"stroke-linejoin":`round`,mask:`url(#d)`},null),f(`path`,{d:`M162.873 267.894a9.422 9.422 0 0 1-9.422-9.422v-14.82a9.423 9.423 0 0 1 18.845 0v14.82a9.423 9.423 0 0 1-9.423 9.422`,fill:`#5BA02E`,mask:`url(#d)`},null),f(`path`,{d:`M171.22 267.83a9.422 9.422 0 0 1-9.422-9.423v-3.438a9.423 9.423 0 0 1 18.845 0v3.438a9.423 9.423 0 0 1-9.422 9.423`,fill:`#92C110`,mask:`url(#d)`},null),f(`path`,{d:`M181.31 293.666h-27.712a3.209 3.209 0 0 1-3.209-3.21V269.79a3.209 3.209 0 0 1 3.209-3.21h27.711a3.209 3.209 0 0 1 3.209 3.21v20.668a3.209 3.209 0 0 1-3.209 3.209`,fill:`#F2D7AD`,mask:`url(#d)`},null)])]),V=()=>f(`svg`,{width:`251`,height:`294`},[f(`g`,{fill:`none`,"fill-rule":`evenodd`},[f(`path`,{d:`M0 129.023v-2.084C0 58.364 55.591 2.774 124.165 2.774h2.085c68.574 0 124.165 55.59 124.165 124.165v2.084c0 68.575-55.59 124.166-124.165 124.166h-2.085C55.591 253.189 0 197.598 0 129.023`,fill:`#E4EBF7`},null),f(`path`,{d:`M41.417 132.92a8.231 8.231 0 1 1-16.38-1.65 8.231 8.231 0 0 1 16.38 1.65`,fill:`#FFF`},null),f(`path`,{d:`M38.652 136.36l10.425 5.91M49.989 148.505l-12.58 10.73`,stroke:`#FFF`,"stroke-width":`2`},null),f(`path`,{d:`M41.536 161.28a5.636 5.636 0 1 1-11.216-1.13 5.636 5.636 0 0 1 11.216 1.13M59.154 145.261a5.677 5.677 0 1 1-11.297-1.138 5.677 5.677 0 0 1 11.297 1.138M100.36 29.516l29.66-.013a4.562 4.562 0 1 0-.004-9.126l-29.66.013a4.563 4.563 0 0 0 .005 9.126M111.705 47.754l29.659-.013a4.563 4.563 0 1 0-.004-9.126l-29.66.013a4.563 4.563 0 1 0 .005 9.126`,fill:`#FFF`},null),f(`path`,{d:`M114.066 29.503V29.5l15.698-.007a4.563 4.563 0 1 0 .004 9.126l-15.698.007v-.002a4.562 4.562 0 0 0-.004-9.122M185.405 137.723c-.55 5.455-5.418 9.432-10.873 8.882-5.456-.55-9.432-5.418-8.882-10.873.55-5.455 5.418-9.432 10.873-8.882 5.455.55 9.432 5.418 8.882 10.873`,fill:`#FFF`},null),f(`path`,{d:`M180.17 143.772l12.572 7.129M193.841 158.42L178.67 171.36`,stroke:`#FFF`,"stroke-width":`2`},null),f(`path`,{d:`M185.55 171.926a6.798 6.798 0 1 1-13.528-1.363 6.798 6.798 0 0 1 13.527 1.363M204.12 155.285a6.848 6.848 0 1 1-13.627-1.375 6.848 6.848 0 0 1 13.626 1.375`,fill:`#FFF`},null),f(`path`,{d:`M152.988 194.074a2.21 2.21 0 1 1-4.42 0 2.21 2.21 0 0 1 4.42 0zM225.931 118.217a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.421 0zM217.09 153.051a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.42 0zM177.84 109.842a2.21 2.21 0 1 1-4.422 0 2.21 2.21 0 0 1 4.421 0zM196.114 94.454a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.421 0zM202.844 182.523a2.21 2.21 0 1 1-4.42 0 2.21 2.21 0 0 1 4.42 0z`,stroke:`#FFF`,"stroke-width":`2`},null),f(`path`,{stroke:`#FFF`,"stroke-width":`2`,d:`M215.125 155.262l-1.902 20.075-10.87 5.958M174.601 176.636l-6.322 9.761H156.98l-4.484 6.449M175.874 127.28V111.56M221.51 119.404l-12.77 7.859-15.228-7.86V96.668`},null),f(`path`,{d:`M180.68 29.32C180.68 13.128 193.806 0 210 0c16.193 0 29.32 13.127 29.32 29.32 0 16.194-13.127 29.322-29.32 29.322-16.193 0-29.32-13.128-29.32-29.321`,fill:`#A26EF4`},null),f(`path`,{d:`M221.45 41.706l-21.563-.125a1.744 1.744 0 0 1-1.734-1.754l.071-12.23a1.744 1.744 0 0 1 1.754-1.734l21.562.125c.964.006 1.74.791 1.735 1.755l-.071 12.229a1.744 1.744 0 0 1-1.754 1.734`,fill:`#FFF`},null),f(`path`,{d:`M215.106 29.192c-.015 2.577-2.049 4.654-4.543 4.64-2.494-.014-4.504-2.115-4.489-4.693l.04-6.925c.016-2.577 2.05-4.654 4.543-4.64 2.494.015 4.504 2.116 4.49 4.693l-.04 6.925zm-4.53-14.074a6.877 6.877 0 0 0-6.916 6.837l-.043 7.368a6.877 6.877 0 0 0 13.754.08l.042-7.368a6.878 6.878 0 0 0-6.837-6.917zM167.566 68.367h-3.93a4.73 4.73 0 0 1-4.717-4.717 4.73 4.73 0 0 1 4.717-4.717h3.93a4.73 4.73 0 0 1 4.717 4.717 4.73 4.73 0 0 1-4.717 4.717`,fill:`#FFF`},null),f(`path`,{d:`M168.214 248.838a6.611 6.611 0 0 1-6.61-6.611v-66.108a6.611 6.611 0 0 1 13.221 0v66.108a6.611 6.611 0 0 1-6.61 6.61`,fill:`#5BA02E`},null),f(`path`,{d:`M176.147 248.176a6.611 6.611 0 0 1-6.61-6.61v-33.054a6.611 6.611 0 1 1 13.221 0v33.053a6.611 6.611 0 0 1-6.61 6.611`,fill:`#92C110`},null),f(`path`,{d:`M185.994 293.89h-27.376a3.17 3.17 0 0 1-3.17-3.17v-45.887a3.17 3.17 0 0 1 3.17-3.17h27.376a3.17 3.17 0 0 1 3.17 3.17v45.886a3.17 3.17 0 0 1-3.17 3.17`,fill:`#F2D7AD`},null),f(`path`,{d:`M81.972 147.673s6.377-.927 17.566-1.28c11.729-.371 17.57 1.086 17.57 1.086s3.697-3.855.968-8.424c1.278-12.077 5.982-32.827.335-48.273-1.116-1.339-3.743-1.512-7.536-.62-1.337.315-7.147-.149-7.983-.1l-15.311-.347s-3.487-.17-8.035-.508c-1.512-.113-4.227-1.683-5.458-.338-.406.443-2.425 5.669-1.97 16.077l8.635 35.642s-3.141 3.61 1.219 7.085`,fill:`#FFF`},null),f(`path`,{d:`M75.768 73.325l-.9-6.397 11.982-6.52s7.302-.118 8.038 1.205c.737 1.324-5.616.993-5.616.993s-1.836 1.388-2.615 2.5c-1.654 2.363-.986 6.471-8.318 5.986-1.708.284-2.57 2.233-2.57 2.233`,fill:`#FFC6A0`},null),f(`path`,{d:`M52.44 77.672s14.217 9.406 24.973 14.444c1.061.497-2.094 16.183-11.892 11.811-7.436-3.318-20.162-8.44-21.482-14.496-.71-3.258 2.543-7.643 8.401-11.76M141.862 80.113s-6.693 2.999-13.844 6.876c-3.894 2.11-10.137 4.704-12.33 7.988-6.224 9.314 3.536 11.22 12.947 7.503 6.71-2.651 28.999-12.127 13.227-22.367`,fill:`#FFB594`},null),f(`path`,{d:`M76.166 66.36l3.06 3.881s-2.783 2.67-6.31 5.747c-7.103 6.195-12.803 14.296-15.995 16.44-3.966 2.662-9.754 3.314-12.177-.118-3.553-5.032.464-14.628 31.422-25.95`,fill:`#FFC6A0`},null),f(`path`,{d:`M64.674 85.116s-2.34 8.413-8.912 14.447c.652.548 18.586 10.51 22.144 10.056 5.238-.669 6.417-18.968 1.145-20.531-.702-.208-5.901-1.286-8.853-2.167-.87-.26-1.611-1.71-3.545-.936l-1.98-.869zM128.362 85.826s5.318 1.956 7.325 13.734c-.546.274-17.55 12.35-21.829 7.805-6.534-6.94-.766-17.393 4.275-18.61 4.646-1.121 5.03-1.37 10.23-2.929`,fill:`#FFF`},null),f(`path`,{d:`M78.18 94.656s.911 7.41-4.914 13.078`,stroke:`#E4EBF7`,"stroke-width":`1.051`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null),f(`path`,{d:`M87.397 94.68s3.124 2.572 10.263 2.572c7.14 0 9.074-3.437 9.074-3.437`,stroke:`#E4EBF7`,"stroke-width":`.932`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null),f(`path`,{d:`M117.184 68.639l-6.781-6.177s-5.355-4.314-9.223-.893c-3.867 3.422 4.463 2.083 5.653 4.165 1.19 2.082.848 1.143-2.083.446-5.603-1.331-2.082.893 2.975 5.355 2.091 1.845 6.992.955 6.992.955l2.467-3.851z`,fill:`#FFC6A0`},null),f(`path`,{d:`M105.282 91.315l-.297-10.937-15.918-.027-.53 10.45c-.026.403.17.788.515.999 2.049 1.251 9.387 5.093 15.799.424.287-.21.443-.554.431-.91`,fill:`#FFB594`},null),f(`path`,{d:`M107.573 74.24c.817-1.147.982-9.118 1.015-11.928a1.046 1.046 0 0 0-.965-1.055l-4.62-.365c-7.71-1.044-17.071.624-18.253 6.346-5.482 5.813-.421 13.244-.421 13.244s1.963 3.566 4.305 6.791c.756 1.041.398-3.731 3.04-5.929 5.524-4.594 15.899-7.103 15.899-7.103`,fill:`#5C2552`},null),f(`path`,{d:`M88.426 83.206s2.685 6.202 11.602 6.522c7.82.28 8.973-7.008 7.434-17.505l-.909-5.483c-6.118-2.897-15.478.54-15.478.54s-.576 2.044-.19 5.504c-2.276 2.066-1.824 5.618-1.824 5.618s-.905-1.922-1.98-2.321c-.86-.32-1.897.089-2.322 1.98-1.04 4.632 3.667 5.145 3.667 5.145`,fill:`#FFC6A0`},null),f(`path`,{stroke:`#DB836E`,"stroke-width":`1.145`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M100.843 77.099l1.701-.928-1.015-4.324.674-1.406`},null),f(`path`,{d:`M105.546 74.092c-.022.713-.452 1.279-.96 1.263-.51-.016-.904-.607-.882-1.32.021-.713.452-1.278.96-1.263.51.016.904.607.882 1.32M97.592 74.349c-.022.713-.452 1.278-.961 1.263-.509-.016-.904-.607-.882-1.32.022-.713.452-1.279.961-1.263.51.016.904.606.882 1.32`,fill:`#552950`},null),f(`path`,{d:`M91.132 86.786s5.269 4.957 12.679 2.327`,stroke:`#DB836E`,"stroke-width":`1.145`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null),f(`path`,{d:`M99.776 81.903s-3.592.232-1.44-2.79c1.59-1.496 4.897-.46 4.897-.46s1.156 3.906-3.457 3.25`,fill:`#DB836E`},null),f(`path`,{d:`M102.88 70.6s2.483.84 3.402.715M93.883 71.975s2.492-1.144 4.778-1.073`,stroke:`#5C2552`,"stroke-width":`1.526`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null),f(`path`,{d:`M86.32 77.374s.961.879 1.458 2.106c-.377.48-1.033 1.152-.236 1.809M99.337 83.719s1.911.151 2.509-.254`,stroke:`#DB836E`,"stroke-width":`1.145`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null),f(`path`,{d:`M87.782 115.821l15.73-3.012M100.165 115.821l10.04-2.008`,stroke:`#E4EBF7`,"stroke-width":`1.051`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null),f(`path`,{d:`M66.508 86.763s-1.598 8.83-6.697 14.078`,stroke:`#E4EBF7`,"stroke-width":`1.114`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null),f(`path`,{d:`M128.31 87.934s3.013 4.121 4.06 11.785`,stroke:`#E4EBF7`,"stroke-width":`1.051`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null),f(`path`,{d:`M64.09 84.816s-6.03 9.912-13.607 9.903`,stroke:`#DB836E`,"stroke-width":`.795`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null),f(`path`,{d:`M112.366 65.909l-.142 5.32s5.993 4.472 11.945 9.202c4.482 3.562 8.888 7.455 10.985 8.662 4.804 2.766 8.9 3.355 11.076 1.808 4.071-2.894 4.373-9.878-8.136-15.263-4.271-1.838-16.144-6.36-25.728-9.73`,fill:`#FFC6A0`},null),f(`path`,{d:`M130.532 85.488s4.588 5.757 11.619 6.214`,stroke:`#DB836E`,"stroke-width":`.75`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null),f(`path`,{d:`M121.708 105.73s-.393 8.564-1.34 13.612`,stroke:`#E4EBF7`,"stroke-width":`1.051`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null),f(`path`,{d:`M115.784 161.512s-3.57-1.488-2.678-7.14`,stroke:`#648BD8`,"stroke-width":`1.051`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null),f(`path`,{d:`M101.52 290.246s4.326 2.057 7.408 1.03c2.842-.948 4.564.673 7.132 1.186 2.57.514 6.925 1.108 11.772-1.269-.104-5.551-6.939-4.01-12.048-6.763-2.582-1.39-3.812-4.757-3.625-8.863h-9.471s-1.402 10.596-1.169 14.68`,fill:`#CBD1D1`},null),f(`path`,{d:`M101.496 290.073s2.447 1.281 6.809.658c3.081-.44 3.74.485 7.479 1.039 3.739.554 10.802-.07 11.91-.9.415 1.108-.347 2.077-.347 2.077s-1.523.608-4.847.831c-2.045.137-5.843.293-7.663-.507-1.8-1.385-5.286-1.917-5.77-.243-3.947.958-7.41-.288-7.41-.288l-.16-2.667z`,fill:`#2B0849`},null),f(`path`,{d:`M108.824 276.19h3.116s-.103 6.751 4.57 8.62c-4.673.624-8.62-2.32-7.686-8.62`,fill:`#A4AABA`},null),f(`path`,{d:`M57.65 272.52s-2.122 7.47-4.518 12.396c-1.811 3.724-4.255 7.548 5.505 7.548 6.698 0 9.02-.483 7.479-6.648-1.541-6.164.268-13.296.268-13.296H57.65z`,fill:`#CBD1D1`},null),f(`path`,{d:`M51.54 290.04s2.111 1.178 6.682 1.178c6.128 0 8.31-1.662 8.31-1.662s.605 1.122-.624 2.18c-1 .862-3.624 1.603-7.444 1.559-4.177-.049-5.876-.57-6.786-1.177-.831-.554-.692-1.593-.138-2.078`,fill:`#2B0849`},null),f(`path`,{d:`M58.533 274.438s.034 1.529-.315 2.95c-.352 1.431-1.087 3.127-1.139 4.17-.058 1.16 4.57 1.592 5.194.035.623-1.559 1.303-6.475 1.927-7.306.622-.831-4.94-2.135-5.667.15`,fill:`#A4AABA`},null),f(`path`,{d:`M100.885 277.015l13.306.092s1.291-54.228 1.843-64.056c.552-9.828 3.756-43.13.997-62.788l-12.48-.64-22.725.776s-.433 3.944-1.19 9.921c-.062.493-.677.838-.744 1.358-.075.582.42 1.347.318 1.956-2.35 14.003-6.343 32.926-8.697 46.425-.116.663-1.227 1.004-1.45 2.677-.04.3.21 1.516.112 1.785-6.836 18.643-10.89 47.584-14.2 61.551l14.528-.014s2.185-8.524 4.008-16.878c2.796-12.817 22.987-84.553 22.987-84.553l3-.517 1.037 46.1s-.223 1.228.334 2.008c.558.782-.556 1.117-.39 2.233l.39 1.784s-.446 7.14-.892 11.826c-.446 4.685-.092 38.954-.092 38.954`,fill:`#7BB2F9`},null),f(`path`,{d:`M77.438 220.434c1.146.094 4.016-2.008 6.916-4.91M107.55 223.931s2.758-1.103 6.069-3.862`,stroke:`#648BD8`,"stroke-width":`1.051`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null),f(`path`,{d:`M108.459 220.905s2.759-1.104 6.07-3.863`,stroke:`#648BD8`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null),f(`path`,{d:`M76.099 223.557s2.608-.587 6.47-3.346M87.33 150.82c-.27 3.088.297 8.478-4.315 9.073M104.829 149.075s.11 13.936-1.286 14.983c-2.207 1.655-2.975 1.934-2.975 1.934M101.014 149.63s.035 12.81-1.19 24.245M94.93 174.965s7.174-1.655 9.38-1.655M75.671 204.754c-.316 1.55-.64 3.067-.973 4.535 0 0-1.45 1.822-1.003 3.756.446 1.934-.943 2.034-4.96 15.273-1.686 5.559-4.464 18.49-6.313 27.447-.078.38-4.018 18.06-4.093 18.423M77.043 196.743a313.269 313.269 0 0 1-.877 4.729M83.908 151.414l-1.19 10.413s-1.091.148-.496 2.23c.111 1.34-2.66 15.692-5.153 30.267M57.58 272.94h13.238`,stroke:`#648BD8`,"stroke-width":`1.051`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null),f(`path`,{d:`M117.377 147.423s-16.955-3.087-35.7.199c.157 2.501-.002 4.128-.002 4.128s14.607-2.802 35.476-.31c.251-2.342.226-4.017.226-4.017`,fill:`#192064`},null),f(`path`,{d:`M107.511 150.353l.004-4.885a.807.807 0 0 0-.774-.81c-2.428-.092-5.04-.108-7.795-.014a.814.814 0 0 0-.784.81l-.003 4.88c0 .456.371.82.827.808a140.76 140.76 0 0 1 7.688.017.81.81 0 0 0 .837-.806`,fill:`#FFF`},null),f(`path`,{d:`M106.402 149.426l.002-3.06a.64.64 0 0 0-.616-.643 94.135 94.135 0 0 0-5.834-.009.647.647 0 0 0-.626.643l-.001 3.056c0 .36.291.648.651.64 1.78-.04 3.708-.041 5.762.012.36.009.662-.279.662-.64`,fill:`#192064`},null),f(`path`,{d:`M101.485 273.933h12.272M102.652 269.075c.006 3.368.04 5.759.11 6.47M102.667 263.125c-.009 1.53-.015 2.98-.016 4.313M102.204 174.024l.893 44.402s.669 1.561-.224 2.677c-.892 1.116 2.455.67.893 2.231-1.562 1.562.893 1.116 0 3.347-.592 1.48-.988 20.987-1.09 34.956`,stroke:`#648BD8`,"stroke-width":`1.051`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null)])]),H=e=>{let{componentCls:t,lineHeightHeading3:n,iconCls:r,padding:i,paddingXL:a,paddingXS:o,paddingLG:s,marginXS:c,lineHeight:l}=e;return{[t]:{padding:`${s*2}px ${a}px`,"&-rtl":{direction:`rtl`}},[`${t} ${t}-image`]:{width:e.imageWidth,height:e.imageHeight,margin:`auto`},[`${t} ${t}-icon`]:{marginBottom:s,textAlign:`center`,[`& > ${r}`]:{fontSize:e.resultIconFontSize}},[`${t} ${t}-title`]:{color:e.colorTextHeading,fontSize:e.resultTitleFontSize,lineHeight:n,marginBlock:c,textAlign:`center`},[`${t} ${t}-subtitle`]:{color:e.colorTextDescription,fontSize:e.resultSubtitleFontSize,lineHeight:l,textAlign:`center`},[`${t} ${t}-content`]:{marginTop:s,padding:`${s}px ${i*2.5}px`,backgroundColor:e.colorFillAlter},[`${t} ${t}-extra`]:{margin:e.resultExtraMargin,textAlign:`center`,"& > *":{marginInlineEnd:o,"&:last-child":{marginInlineEnd:0}}}}},U=e=>{let{componentCls:t,iconCls:n}=e;return{[`${t}-success ${t}-icon > ${n}`]:{color:e.resultSuccessIconColor},[`${t}-error ${t}-icon > ${n}`]:{color:e.resultErrorIconColor},[`${t}-info ${t}-icon > ${n}`]:{color:e.resultInfoIconColor},[`${t}-warning ${t}-icon > ${n}`]:{color:e.resultWarningIconColor}}},W=e=>[H(e),U(e)],G=e=>W(e),K=D(`Result`,e=>{let{paddingLG:t,fontSizeHeading3:n}=e,r=e.fontSize,i=`${t}px 0 0 0`,a=e.colorInfo,o=e.colorError,s=e.colorSuccess,c=e.colorWarning;return[G(j(e,{resultTitleFontSize:n,resultSubtitleFontSize:r,resultIconFontSize:n*3,resultExtraMargin:i,resultInfoIconColor:a,resultErrorIconColor:o,resultSuccessIconColor:s,resultWarningIconColor:c}))]},{imageWidth:250,imageHeight:295}),q={success:i,error:e,info:a,warning:R},J={404:z,500:B,403:V},Y=Object.keys(J),X=()=>({prefixCls:String,icon:A.any,status:{type:[Number,String],default:`info`},title:A.any,subTitle:A.any,extra:A.any}),Z=(e,t)=>{let{status:n,icon:r}=t;if(Y.includes(`${n}`)){let t=J[n];return f(`div`,{class:`${e}-icon ${e}-image`},[f(t,null,null)])}let i=q[n],a=r||f(i,null,null);return f(`div`,{class:`${e}-icon`},[a])},de=(e,t)=>t&&f(`div`,{class:`${e}-extra`},[t]),Q=l({compatConfig:{MODE:3},name:`AResult`,inheritAttrs:!1,props:X(),slots:Object,setup(e,t){let{slots:n,attrs:r}=t,{prefixCls:i,direction:a}=k(`result`,e),[o,s]=K(i),c=m(()=>M(i.value,s.value,`${i.value}-${e.status}`,{[`${i.value}-rtl`]:a.value===`rtl`}));return()=>{let t=e.title??n.title?.call(n),a=e.subTitle??n.subTitle?.call(n),s=e.icon??n.icon?.call(n),l=e.extra??n.extra?.call(n),u=i.value;return o(f(`div`,O(O({},r),{},{class:[c.value,r.class]}),[Z(u,{status:e.status,icon:s}),f(`div`,{class:`${u}-title`},[t]),a&&f(`div`,{class:`${u}-subtitle`},[a]),de(u,l),n.default&&f(`div`,{class:`${u}-content`},[n.default()])]))}}});Q.PRESENTED_IMAGE_403=J[403],Q.PRESENTED_IMAGE_404=J[404],Q.PRESENTED_IMAGE_500=J[500],Q.install=function(e){return e.component(Q.name,Q),e};var fe={class:`monitor`},$={class:`aw-page-head`},pe={class:`aw-kicker`},me={class:`head-right`},he={class:`toggle-label`},ge={class:`stat-grid`},_e={class:`stat-label`},ve={class:`stat-value aw-mono`},ye={class:`stat-label`},be={class:`stat-value aw-mono`},xe={class:`stat-label`},Se={class:`stat-value aw-mono`},Ce={key:0,class:`orphan-badge`},we={class:`stat-label`},Te={class:`stat-value aw-mono small`},Ee={class:`stat-updated`},De={class:`aw-mono count-extra`},Oe={key:0,class:`aw-mono`},ke={key:2,class:`aw-mono`},Ae={class:`aw-mono count-extra`},je={key:3,class:`aw-mono`},Me={key:4,class:`aw-mono`},Ne={key:0},Pe={key:1,class:`aw-mono`},Fe={class:`aw-mono count-extra`},Ie={key:0,class:`aw-mono`},Le={key:0,class:`aw-mono agent-sub`},Re={key:0},ze={key:1},Be={key:4,class:`aw-mono small`},Ve={key:5,class:`aw-mono small`},He=P(l({__name:`monitor`,setup(e){le({layout:`default`});let{t:r}=te(),i=T(),a=ce(),l=m(()=>a.isAdmin),D=b(null),O=b(!1),k=b(!0),A=b(``),j=async()=>{if(a.token){O.value=!0;try{let e=await E(`/api/system/monitor`,{headers:{authorization:`Bearer ${a.token}`}});D.value=e.data,A.value=new Date().toLocaleTimeString()}catch(e){t.error(e instanceof Error?e.message:r(`monitor.loadFailed`))}finally{O.value=!1}}},M=null,P=()=>{M&&=(clearInterval(M),null),k.value&&a.token&&(M=ne(()=>void j(),5e3))};o(k,()=>P()),o(()=>a.token,()=>{a.token?j():D.value=null,P()}),c(()=>{a.token&&j().then(()=>H()),P()}),s(()=>{M&&clearInterval(M)});let F=b(!1),I=async e=>{F.value=!0;try{let n=await E(`/api/system/monitor/terminate`,{method:`POST`,headers:{authorization:`Bearer ${a.token}`},body:{channelId:e.channelId,agentId:e.agentId}});t.success(n.code===0?`${e.name} ${r(`monitor.terminated`)}`:n.message??r(`monitor.failed`)),await j()}catch(e){t.error(e instanceof Error?e.message:r(`monitor.failed`))}finally{F.value=!1}},L=async e=>{F.value=!0;try{let n=await E(`/api/system/monitor/terminate`,{method:`POST`,headers:{authorization:`Bearer ${a.token}`},body:{pid:e.pid}});t.success(n.code===0?`PID ${e.pid} ${r(`monitor.terminated`)}`:n.message??r(`monitor.failed`)),await j()}catch(e){t.error(e instanceof Error?e.message:r(`monitor.failed`))}finally{F.value=!1}},R=b(!1),z=b(null),B=b(``),V=(e,t,n)=>{z.value=e,B.value=[t,n].filter(Boolean).join(` · `)||`omp harness`,R.value=!0},H=()=>{let e=i.query.agentId;if(typeof e!=`string`||!e)return;let t=typeof i.query.channelId==`string`?i.query.channelId:``,n=D.value?.processes.find(n=>n.agentId===e&&(!t||n.channelId===t));n?.pid&&(V(n.pid,n.name,n.role),w({path:`/monitor`},{replace:!0}))},U=e=>e&&e.length>8?`${e.slice(0,8)}…`:e??`-`,W={idle:`success`,busy:`processing`,stopped:`error`},G={idle:r(`monitor.stateIdle`),busy:r(`monitor.stateBusy`),stopped:r(`monitor.stateStopped`)},K=e=>{let t=Math.floor(e/1e3),n=Math.floor(t/3600),r=Math.floor(t%3600/60),i=t%60;return n>0?`${n}h ${r}m`:r>0?`${r}m ${i}s`:`${i}s`},q=e=>new Date(e).toLocaleTimeString(),J=m(()=>l.value?[{title:r(`monitor.k1dg9sr8001`),dataIndex:`ownerName`,key:`ownerName`,width:110}]:[]),Y=m(()=>[{title:r(`monitor.chChannel`),dataIndex:`channelId`,key:`channelId`},{title:r(`monitor.members`),dataIndex:`memberCount`,key:`memberCount`,width:100},{title:r(`monitor.wired`),dataIndex:`wiredAgentCount`,key:`wiredAgentCount`,width:90},{title:r(`monitor.scheduler`),dataIndex:`hasScheduler`,key:`hasScheduler`,width:110},{title:r(`monitor.lead`),dataIndex:`leadAgentId`,key:`leadAgentId`},...J.value]),X=m(()=>[{title:r(`monitor.name`),dataIndex:`name`,key:`name`},{title:r(`monitor.role`),dataIndex:`role`,key:`role`,width:90},{title:r(`monitor.harness`),dataIndex:`harness`,key:`harness`,width:90},{title:r(`monitor.state`),dataIndex:`state`,key:`state`,width:110},{title:r(`monitor.currentTask`),dataIndex:`currentTaskId`,key:`currentTaskId`},{title:r(`monitor.queue`),dataIndex:`queuedCount`,key:`queuedCount`,width:90},{title:`PID`,dataIndex:`process`,key:`pid`,width:130},{title:r(`monitor.channel`),dataIndex:`channelId`,key:`channelId`,width:130},...J.value,{title:r(`monitor.actions`),key:`actions`,width:190,fixed:`right`}]),Z=m(()=>[{title:`PID`,dataIndex:`pid`,key:`pid`,width:100},{title:r(`monitor.binding`),dataIndex:`bound`,key:`bound`,width:100},{title:r(`monitor.agent`),dataIndex:`name`,key:`name`},{title:r(`monitor.role`),dataIndex:`role`,key:`role`,width:90},{title:r(`monitor.command`),dataIndex:`command`,key:`command`},{title:r(`monitor.startedAt`),dataIndex:`startedAt`,key:`startedAt`,width:110},{title:r(`monitor.state`),dataIndex:`alive`,key:`alive`,width:100},...J.value,{title:r(`monitor.actions`),key:`actions`,width:170,fixed:`right`}]);return(e,t)=>{let i=ie,o=se,s=n,c=Q,l=ae,m=re,b=N,T=oe;return d(),g(`div`,fe,[h(`div`,$,[h(`div`,null,[h(`p`,pe,u(S(r)(`menu.system`))+` / runtime ledger `,1),h(`h1`,null,[C(u(S(r)(`monitor.title`))+` `,1),f(i,{color:S(D)?.scope===`admin`?`volcano`:`blue`,class:`scope-tag`},{default:x(()=>[h(`span`,{class:ee(S(D)?.scope===`admin`?`i-tabler-shield-check`:`i-tabler-user`)},null,2),C(` `+u(S(D)?.scope===`admin`?e.$t(`monitor.k16zpmg9002`):e.$t(`monitor.k1dzryry003`)),1)]),_:1},8,[`color`])])]),h(`div`,me,[f(o,{checked:S(k),"onUpdate:checked":t[0]||=e=>p(k)?k.value=e:null,size:`small`},null,8,[`checked`]),h(`span`,he,u(S(r)(`monitor.autoRefresh`)),1),f(s,{size:`small`,loading:S(O),onClick:j},{icon:x(()=>[...t[3]||=[h(`span`,{class:`i-tabler-refresh`},null,-1)]]),default:x(()=>[C(` `+u(S(r)(`monitor.refresh`)),1)]),_:1},8,[`loading`])])]),S(a).token?(d(),g(_,{key:1},[h(`div`,ge,[f(l,{class:`aw-panel stat`},{default:x(()=>[h(`p`,_e,u(S(r)(`monitor.channels`)),1),h(`p`,ve,u(S(D)?.counts.channels??`–`),1)]),_:1}),f(l,{class:`aw-panel stat`},{default:x(()=>[h(`p`,ye,u(S(r)(`monitor.agents`)),1),h(`p`,be,u(S(D)?.counts.agents??`–`),1)]),_:1}),f(l,{class:`aw-panel stat`},{default:x(()=>[h(`p`,xe,u(S(r)(`monitor.aliveProcesses`)),1),h(`p`,Se,[C(u(S(D)?.counts.aliveProcesses??`–`)+` `,1),(S(D)?.counts.orphanProcesses??0)>0?(d(),g(`span`,Ce,` +`+u(S(D)?.counts.orphanProcesses)+` `+u(S(r)(`monitor.orphan`)),1)):v(``,!0)])]),_:1}),f(l,{class:`aw-panel stat`},{default:x(()=>[h(`p`,we,u(S(r)(`monitor.server`)),1),h(`p`,Te,` PID `+u(S(D)?.serverPid??`–`)+` · `+u(S(D)?K(S(D).uptimeMs):``),1),h(`p`,Ee,u(S(A))+` · `+u(S(r)(`monitor.updated`))+` `+u(S(D)?.generatedAt??``),1)]),_:1})]),f(l,{class:`aw-panel`,title:S(r)(`monitor.channelRuntimes`)},{extra:x(()=>[h(`span`,De,u(S(D)?.channels.length??0)+` wired`,1)]),default:x(()=>[f(m,{columns:S(Y),"data-source":S(D)?.channels??[],pagination:!1,loading:S(O),"row-key":`channelId`,size:`small`,scroll:{x:720}},{bodyCell:x(({column:e,record:n})=>[e.key===`channelId`?(d(),g(`span`,Oe,u(U(n.channelId)),1)):e.key===`hasScheduler`?(d(),g(_,{key:1},[n.hasScheduler?(d(),y(i,{key:0,color:`purple`},{default:x(()=>[C(u(S(r)(`monitor.scheduling`)),1)]),_:1})):(d(),y(i,{key:1},{default:x(()=>[...t[4]||=[C(` – `,-1)]]),_:1}))],64)):e.key===`leadAgentId`?(d(),g(`span`,ke,u(U(n.leadAgentId)),1)):v(``,!0)]),_:1},8,[`columns`,`data-source`,`loading`])]),_:1},8,[`title`]),f(l,{class:`aw-panel`,title:S(r)(`monitor.agentRuntimes`)},{extra:x(()=>[h(`span`,Ae,u(S(D)?.agents.length??0)+` wired`,1)]),default:x(()=>[f(m,{columns:S(X),"data-source":S(D)?.agents??[],pagination:!1,loading:S(O),"row-key":`agentId`,size:`small`,scroll:{x:980}},{bodyCell:x(({column:e,record:n})=>[e.key===`role`?(d(),y(i,{key:0,color:n.role===`lead`?`gold`:`blue`},{default:x(()=>[C(u(n.role),1)]),_:2},1032,[`color`])):e.key===`harness`?(d(),y(i,{key:1},{default:x(()=>[C(u(n.harness),1)]),_:2},1024)):e.key===`state`?(d(),y(i,{key:2,color:W[n.state]??`default`},{default:x(()=>[C(u(G[n.state]??n.state),1)]),_:2},1032,[`color`])):e.key===`currentTaskId`?(d(),g(`span`,je,u(U(n.currentTaskId)),1)):e.key===`channelId`?(d(),g(`span`,Me,u(U(n.channelId)),1)):e.key===`pid`?(d(),g(_,{key:5},[n.process?(d(),g(`span`,Ne,[f(i,{color:n.process.alive?`success`:`default`,class:`aw-mono`},{default:x(()=>[C(` PID `+u(n.process.pid),1)]),_:2},1032,[`color`])])):(d(),g(`span`,Pe,`in-proc`))],64)):e.key===`actions`?(d(),y(T,{key:6,size:4},{default:x(()=>[n.process?.alive?(d(),y(s,{key:0,size:`small`,type:`primary`,ghost:``,title:S(r)(`monitor.openTerminalHint`),onClick:e=>V(n.process.pid,n.name,n.role)},{icon:x(()=>[...t[5]||=[h(`span`,{class:`i-tabler-terminal-2`},null,-1)]]),default:x(()=>[C(` `+u(S(r)(`monitor.openTerminal`)),1)]),_:1},8,[`title`,`onClick`])):v(``,!0),f(b,{title:`${S(r)(`monitor.terminateConfirm`)}(${n.name})`,"ok-text":S(r)(`common.confirm`),"cancel-text":S(r)(`common.cancel`),onConfirm:e=>I(n)},{default:x(()=>[f(s,{size:`small`,danger:``,disabled:S(F)},{icon:x(()=>[...t[6]||=[h(`span`,{class:`i-tabler-square-x`},null,-1)]]),default:x(()=>[C(` `+u(S(r)(`monitor.terminate`)),1)]),_:1},8,[`disabled`])]),_:1},8,[`title`,`ok-text`,`cancel-text`,`onConfirm`])]),_:2},1024)):v(``,!0)]),_:1},8,[`columns`,`data-source`,`loading`])]),_:1},8,[`title`]),f(l,{class:`aw-panel`,title:S(r)(`monitor.harnessProcesses`)},{extra:x(()=>[h(`span`,Fe,u(S(D)?.processes.length??0)+` spawned · `+u(S(D)?.counts.orphanProcesses??0)+` orphan `,1)]),default:x(()=>[f(m,{columns:S(Z),"data-source":S(D)?.processes??[],pagination:!1,loading:S(O),"row-key":`pid`,size:`small`,scroll:{x:900}},{bodyCell:x(({column:e,record:n})=>[e.key===`pid`?(d(),g(`span`,Ie,u(n.pid),1)):e.key===`bound`?(d(),y(i,{key:1,color:n.bound?`success`:`warning`},{default:x(()=>[C(u(n.bound?S(r)(`monitor.bound`):S(r)(`monitor.orphan`)),1)]),_:2},1032,[`color`])):e.key===`name`?(d(),g(_,{key:2},[h(`span`,null,u(n.name??`–`),1),n.agentId?(d(),g(`span`,Le,u(U(n.agentId)),1)):v(``,!0)],64)):e.key===`role`?(d(),g(_,{key:3},[n.role?(d(),g(`span`,Re,u(n.role),1)):(d(),g(`span`,ze,`–`))],64)):e.key===`command`?(d(),g(`span`,Be,u(n.command),1)):e.key===`startedAt`?(d(),g(`span`,Ve,u(q(n.startedAt)),1)):e.key===`alive`?(d(),y(i,{key:6,color:n.alive?`success`:`error`},{default:x(()=>[C(u(n.alive?S(r)(`monitor.alive`):`${S(r)(`monitor.exited`)} ${n.exitCode??``}`),1)]),_:2},1032,[`color`])):e.key===`actions`?(d(),y(T,{key:7,size:4},{default:x(()=>[n.terminal?(d(),y(s,{key:0,size:`small`,type:`primary`,ghost:``,title:S(r)(`monitor.openTerminalHint`),onClick:e=>V(n.pid,n.name,n.role)},{icon:x(()=>[...t[7]||=[h(`span`,{class:`i-tabler-terminal-2`},null,-1)]]),default:x(()=>[C(` `+u(S(r)(`monitor.openTerminal`)),1)]),_:1},8,[`title`,`onClick`])):v(``,!0),f(b,{title:S(r)(`monitor.terminatePidConfirm`),"ok-text":S(r)(`common.confirm`),"cancel-text":S(r)(`common.cancel`),onConfirm:e=>L(n)},{default:x(()=>[f(s,{size:`small`,danger:``,disabled:S(F)||!n.alive},{icon:x(()=>[...t[8]||=[h(`span`,{class:`i-tabler-square-x`},null,-1)]]),default:x(()=>[C(` `+u(S(r)(`monitor.terminate`)),1)]),_:1},8,[`disabled`])]),_:2},1032,[`title`,`ok-text`,`cancel-text`,`onConfirm`])]),_:2},1024)):v(``,!0)]),_:1},8,[`columns`,`data-source`,`loading`])]),_:1},8,[`title`]),f(ue,{open:S(R),"onUpdate:open":t[2]||=e=>p(R)?R.value=e:null,pid:S(z),subtitle:S(B)},null,8,[`open`,`pid`,`subtitle`])],64)):(d(),y(l,{key:0,class:`aw-panel`},{default:x(()=>[f(c,{title:S(r)(`monitor.needLogin`)},{extra:x(()=>[f(s,{type:`primary`,onClick:t[1]||=t=>(`navigateTo`in e?e.navigateTo:S(w))(`/workshop`)},{default:x(()=>[C(u(S(r)(`monitor.goLogin`)),1)]),_:1})]),_:1},8,[`title`])]),_:1}))])}}}),[[`__scopeId`,`data-v-b8362ef8`]]);export{He as default};
@@ -1,31 +0,0 @@
1
- import{b as e,c as t,ht as n,j as r,l as i,mt as a,ut as o}from"./BU83-NnX.js";import{S as s,b as c,d as l}from"./CSkxz2NX.js";import{$ as u,At as d,St as f,X as p,Z as m,d as h,et as g,h as _,j as v,jt as y,m as b,n as x,t as S,u as C,wt as w,yt as T}from"./4sIEbgcl.js";import{X as E,_ as D,d as O,g as k,h as A,m as j,o as M,v as N}from"./DYr1VMiQ.js";import{r as P}from"./aWWIh8YL.js";import{c as F,o as I,s as L}from"./CzlMDL5H.js";var R=()=>({arrow:g([Boolean,Object]),trigger:{type:[Array,String]},menu:u(),overlay:S.any,visible:p(),open:p(),disabled:p(),danger:p(),autofocus:p(),align:u(),getPopupContainer:Function,prefixCls:String,transitionName:String,placement:String,overlayClassName:String,overlayStyle:u(),forceRender:p(),mouseEnterDelay:Number,mouseLeaveDelay:Number,openClassName:String,minOverlayWidthMatchTrigger:p(),destroyPopupOnHide:p(),onVisibleChange:{type:Function},"onUpdate:visible":{type:Function},onOpenChange:{type:Function},"onUpdate:open":{type:Function}}),z=i(),B=()=>d(d({},R()),{type:z.type,size:String,htmlType:z.htmlType,href:String,disabled:p(),prefixCls:String,icon:S.any,title:String,loading:z.loading,onClick:m()}),V=e=>{let{componentCls:t,antCls:n,paddingXS:r,opacityLoading:i}=e;return{[`${t}-button`]:{whiteSpace:`nowrap`,[`&${n}-btn-group > ${n}-btn`]:{[`&-loading, &-loading + ${n}-btn`]:{cursor:`default`,pointerEvents:`none`,opacity:i},[`&:last-child:not(:first-child):not(${n}-btn-icon-only)`]:{paddingInline:r}}}}},H=e=>{let{componentCls:t,menuCls:n,colorError:r,colorTextLightSolid:i}=e,a=`${n}-item`;return{[`${t}, ${t}-menu-submenu`]:{[`${n} ${a}`]:{[`&${a}-danger:not(${a}-disabled)`]:{color:r,"&:hover":{color:i,backgroundColor:r}}}}}},U=t=>{let{componentCls:n,menuCls:r,zIndexPopup:i,dropdownArrowDistance:a,dropdownArrowOffset:o,sizePopupArrow:s,antCls:c,iconCls:l,motionDurationMid:u,dropdownPaddingVertical:f,fontSize:p,dropdownEdgeChildPadding:m,colorTextDisabled:h,fontSizeIcon:g,controlPaddingHorizontal:v,colorBgElevated:y,boxShadowPopoverArrow:x}=t;return[{[n]:d(d({},_(t)),{position:`absolute`,top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:i,display:`block`,"&::before":{position:`absolute`,insetBlock:-a+s/2,zIndex:-9999,opacity:1e-4,content:`""`},[`${n}-wrap`]:{position:`relative`,[`${c}-btn > ${l}-down`]:{fontSize:g},[`${l}-down::before`]:{transition:`transform ${u}`}},[`${n}-wrap-open`]:{[`${l}-down::before`]:{transform:`rotate(180deg)`}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:`none`},[`
2
- &-show-arrow${n}-placement-topLeft,
3
- &-show-arrow${n}-placement-top,
4
- &-show-arrow${n}-placement-topRight
5
- `]:{paddingBottom:a},[`
6
- &-show-arrow${n}-placement-bottomLeft,
7
- &-show-arrow${n}-placement-bottom,
8
- &-show-arrow${n}-placement-bottomRight
9
- `]:{paddingTop:a},[`${n}-arrow`]:d({position:`absolute`,zIndex:1,display:`block`},E(s,t.borderRadiusXS,t.borderRadiusOuter,y,x)),[`
10
- &-placement-top > ${n}-arrow,
11
- &-placement-topLeft > ${n}-arrow,
12
- &-placement-topRight > ${n}-arrow
13
- `]:{bottom:a,transform:`translateY(100%) rotate(180deg)`},[`&-placement-top > ${n}-arrow`]:{left:{_skip_check_:!0,value:`50%`},transform:`translateX(-50%) translateY(100%) rotate(180deg)`},[`&-placement-topLeft > ${n}-arrow`]:{left:{_skip_check_:!0,value:o}},[`&-placement-topRight > ${n}-arrow`]:{right:{_skip_check_:!0,value:o}},[`
14
- &-placement-bottom > ${n}-arrow,
15
- &-placement-bottomLeft > ${n}-arrow,
16
- &-placement-bottomRight > ${n}-arrow
17
- `]:{top:a,transform:`translateY(-100%)`},[`&-placement-bottom > ${n}-arrow`]:{left:{_skip_check_:!0,value:`50%`},transform:`translateY(-100%) translateX(-50%)`},[`&-placement-bottomLeft > ${n}-arrow`]:{left:{_skip_check_:!0,value:o}},[`&-placement-bottomRight > ${n}-arrow`]:{right:{_skip_check_:!0,value:o}},[`&${c}-slide-down-enter${c}-slide-down-enter-active${n}-placement-bottomLeft,
18
- &${c}-slide-down-appear${c}-slide-down-appear-active${n}-placement-bottomLeft,
19
- &${c}-slide-down-enter${c}-slide-down-enter-active${n}-placement-bottom,
20
- &${c}-slide-down-appear${c}-slide-down-appear-active${n}-placement-bottom,
21
- &${c}-slide-down-enter${c}-slide-down-enter-active${n}-placement-bottomRight,
22
- &${c}-slide-down-appear${c}-slide-down-appear-active${n}-placement-bottomRight`]:{animationName:D},[`&${c}-slide-up-enter${c}-slide-up-enter-active${n}-placement-topLeft,
23
- &${c}-slide-up-appear${c}-slide-up-appear-active${n}-placement-topLeft,
24
- &${c}-slide-up-enter${c}-slide-up-enter-active${n}-placement-top,
25
- &${c}-slide-up-appear${c}-slide-up-appear-active${n}-placement-top,
26
- &${c}-slide-up-enter${c}-slide-up-enter-active${n}-placement-topRight,
27
- &${c}-slide-up-appear${c}-slide-up-appear-active${n}-placement-topRight`]:{animationName:A},[`&${c}-slide-down-leave${c}-slide-down-leave-active${n}-placement-bottomLeft,
28
- &${c}-slide-down-leave${c}-slide-down-leave-active${n}-placement-bottom,
29
- &${c}-slide-down-leave${c}-slide-down-leave-active${n}-placement-bottomRight`]:{animationName:N},[`&${c}-slide-up-leave${c}-slide-up-leave-active${n}-placement-topLeft,
30
- &${c}-slide-up-leave${c}-slide-up-leave-active${n}-placement-top,
31
- &${c}-slide-up-leave${c}-slide-up-leave-active${n}-placement-topRight`]:{animationName:k}})},{[`${n} ${r}`]:{position:`relative`,margin:0},[`${r}-submenu-popup`]:{position:`absolute`,zIndex:i,background:`transparent`,boxShadow:`none`,transformOrigin:`0 0`,"ul,li":{listStyle:`none`},ul:{marginInline:`0.3em`}},[`${n}, ${n}-menu-submenu`]:{[r]:d(d({padding:m,listStyleType:`none`,backgroundColor:y,backgroundClip:`padding-box`,borderRadius:t.borderRadiusLG,outline:`none`,boxShadow:t.boxShadowSecondary},b(t)),{[`${r}-item-group-title`]:{padding:`${f}px ${v}px`,color:t.colorTextDescription,transition:`all ${u}`},[`${r}-item`]:{position:`relative`,display:`flex`,alignItems:`center`,borderRadius:t.borderRadiusSM},[`${r}-item-icon`]:{minWidth:p,marginInlineEnd:t.marginXS,fontSize:t.fontSizeSM},[`${r}-title-content`]:{flex:`auto`,"> a":{color:`inherit`,transition:`all ${u}`,"&:hover":{color:`inherit`},"&::after":{position:`absolute`,inset:0,content:`""`}}},[`${r}-item, ${r}-submenu-title`]:d(d({clear:`both`,margin:0,padding:`${f}px ${v}px`,color:t.colorText,fontWeight:`normal`,fontSize:p,lineHeight:t.lineHeight,cursor:`pointer`,transition:`all ${u}`,"&:hover, &-active":{backgroundColor:t.controlItemBgHover}},b(t)),{"&-selected":{color:t.colorPrimary,backgroundColor:t.controlItemBgActive,"&:hover, &-active":{backgroundColor:t.controlItemBgActiveHover}},"&-disabled":{color:h,cursor:`not-allowed`,"&:hover":{color:h,backgroundColor:y,cursor:`not-allowed`},a:{pointerEvents:`none`}},"&-divider":{height:1,margin:`${t.marginXXS}px 0`,overflow:`hidden`,lineHeight:0,backgroundColor:t.colorSplit},[`${n}-menu-submenu-expand-icon`]:{position:`absolute`,insetInlineEnd:t.paddingXS,[`${n}-menu-submenu-arrow-icon`]:{marginInlineEnd:`0 !important`,color:t.colorTextDescription,fontSize:g,fontStyle:`normal`}}}),[`${r}-item-group-list`]:{margin:`0 ${t.marginXS}px`,padding:0,listStyle:`none`},[`${r}-submenu-title`]:{paddingInlineEnd:v+t.fontSizeSM},[`${r}-submenu-vertical`]:{position:`relative`},[`${r}-submenu${r}-submenu-disabled ${n}-menu-submenu-title`]:{[`&, ${n}-menu-submenu-arrow-icon`]:{color:h,backgroundColor:y,cursor:`not-allowed`}},[`${r}-submenu-selected ${n}-menu-submenu-title`]:{color:t.colorPrimary}})}},[j(t,`slide-up`),j(t,`slide-down`),P(t,`move-up`),P(t,`move-down`),e(t,`zoom-big`)]]},W=h(`Dropdown`,(e,t)=>{let{rootPrefixCls:n}=t,{marginXXS:r,sizePopupArrow:i,controlHeight:a,fontSize:o,lineHeight:s,paddingXXS:c,componentCls:l,borderRadiusOuter:u,borderRadiusLG:d}=e,f=(a-o*s)/2,{dropdownArrowOffset:p}=M({sizePopupArrow:i,contentRadius:d,borderRadiusOuter:u}),m=C(e,{menuCls:`${l}-menu`,rootPrefixCls:n,dropdownArrowDistance:i/2+r,dropdownArrowOffset:p,dropdownPaddingVertical:f,dropdownEdgeChildPadding:c});return[U(m),V(m),H(m)]},e=>({zIndexPopup:e.zIndexPopupBase+50})),G=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols==`function`)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n},K=t.Group,q=s({compatConfig:{MODE:3},name:`ADropdownButton`,inheritAttrs:!1,__ANT_BUTTON:!0,props:f(B(),{trigger:`hover`,placement:`bottomRight`,type:`default`}),slots:Object,setup(e,n){let{slots:r,attrs:i,emit:a}=n,o=e=>{a(`update:visible`,e),a(`visibleChange`,e),a(`update:open`,e),a(`openChange`,e)},{prefixCls:s,direction:u,getPopupContainer:f}=x(`dropdown`,e),p=l(()=>`${s.value}-button`),[m,h]=W(s);return()=>{let n=d(d({},e),i),{type:a=`default`,disabled:s,danger:l,loading:g,htmlType:_,class:v=``,overlay:b=r.overlay?.call(r),trigger:x,align:S,open:C,visible:T,onVisibleChange:E,placement:D=u.value===`rtl`?`bottomLeft`:`bottomRight`,href:O,title:k,icon:A=r.icon?.call(r)||c(L,null,null),mouseEnterDelay:j,mouseLeaveDelay:M,overlayClassName:N,overlayStyle:P,destroyPopupOnHide:F,onClick:I,"onUpdate:open":R}=n,z=G(n,[`type`,`disabled`,`danger`,`loading`,`htmlType`,`class`,`overlay`,`trigger`,`align`,`open`,`visible`,`onVisibleChange`,`placement`,`href`,`title`,`icon`,`mouseEnterDelay`,`mouseLeaveDelay`,`overlayClassName`,`overlayStyle`,`destroyPopupOnHide`,`onClick`,`onUpdate:open`]),B={align:S,disabled:s,trigger:s?[]:x,placement:D,getPopupContainer:f?.value,onOpenChange:o,mouseEnterDelay:j,mouseLeaveDelay:M,open:C??T,overlayClassName:N,overlayStyle:P,destroyPopupOnHide:F},V=c(t,{danger:l,type:a,disabled:s,loading:g,onClick:I,htmlType:_,href:O,title:k},{default:r.default}),H=c(t,{danger:l,type:a,icon:A},null);return m(c(K,y(y({},z),{},{class:w(p.value,v,h.value)}),{default:()=>[r.leftButton?r.leftButton({button:V}):V,c(Q,B,{default:()=>[r.rightButton?r.rightButton({button:H}):H],overlay:()=>b})]}))}}}),J={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z`}}]},name:`right`,theme:`outlined`};function Y(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:Object(arguments[t]),r=Object.keys(n);typeof Object.getOwnPropertySymbols==`function`&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){X(e,t,n[t])})}return e}function X(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Z=function(e,t){var n=Y({},e,t.attrs);return c(r,Y({},n,{icon:J}),null)};Z.displayName=`RightOutlined`,Z.inheritAttrs=!1;var Q=s({compatConfig:{MODE:3},name:`ADropdown`,inheritAttrs:!1,props:f(R(),{mouseEnterDelay:.15,mouseLeaveDelay:.1,placement:`bottomLeft`,trigger:`hover`}),slots:Object,setup(e,t){let{slots:r,attrs:i,emit:s}=t,{prefixCls:u,rootPrefixCls:f,direction:p,getPopupContainer:m}=x(`dropdown`,e),[h,g]=W(u),_=l(()=>{let{placement:t=``,transitionName:n}=e;return n===void 0?t.includes(`top`)?`${f.value}-slide-down`:`${f.value}-slide-up`:n});I({prefixCls:l(()=>`${u.value}-menu`),expandIcon:l(()=>c(`span`,{class:`${u.value}-menu-submenu-arrow`},[c(Z,{class:`${u.value}-menu-submenu-arrow-icon`},null)])),mode:l(()=>`vertical`),selectable:l(()=>!1),onClick:()=>{},validator:e=>{let{mode:t}=e;v(!t||t===`vertical`,`Dropdown`,`mode="${t}" is not supported for Dropdown's Menu.`)}});let y=()=>{var t;let n=e.overlay||r.overlay?.call(r),i=Array.isArray(n)?n[0]:n;if(!i)return null;let s=i.props||{};a(!s.mode||s.mode===`vertical`,`Dropdown`,`mode="${s.mode}" is not supported for Dropdown's Menu.`);let{selectable:l=!1,expandIcon:d=((t=i.children)?.expandIcon)?.call(t)}=s,f=d!==void 0&&T(d)?d:c(`span`,{class:`${u.value}-menu-submenu-arrow`},[c(Z,{class:`${u.value}-menu-submenu-arrow-icon`},null)]);return T(i)?o(i,{mode:`vertical`,selectable:l,expandIcon:()=>f}):i},b=l(()=>{let t=e.placement;if(!t)return p.value===`rtl`?`bottomRight`:`bottomLeft`;if(t.includes(`Center`)){let e=t.slice(0,t.indexOf(`Center`));return a(!t.includes(`Center`),`Dropdown`,`You are using '${t}' placement in Dropdown, which is deprecated. Try to use '${e}' instead.`),e}return t}),S=l(()=>typeof e.visible==`boolean`?e.visible:e.open),C=e=>{s(`update:visible`,e),s(`visibleChange`,e),s(`update:open`,e),s(`openChange`,e)};return()=>{let{arrow:t,trigger:a,disabled:s,overlayClassName:l}=e,f=r.default?.call(r)[0],v=o(f,d({class:w(f?.props?.class,{[`${u.value}-rtl`]:p.value===`rtl`},`${u.value}-trigger`)},s?{disabled:s}:{})),x=w(l,g.value,{[`${u.value}-rtl`]:p.value===`rtl`}),T=s?[]:a,E;T&&T.includes(`contextmenu`)&&(E=!0);let D=O({arrowPointAtCenter:typeof t==`object`&&t.pointAtCenter,autoAdjustOverflow:!0}),k=n(d(d(d({},e),i),{visible:S.value,builtinPlacements:D,overlayClassName:x,arrow:!!t,alignPoint:E,prefixCls:u.value,getPopupContainer:m?.value,transitionName:_.value,trigger:T,onVisibleChange:C,placement:b.value}),[`overlay`,`onUpdate:visible`]);return h(c(F,k,{default:()=>[v],overlay:y}))}}});Q.Button=q;export{Z as n,q as r,Q as t};
@@ -1 +0,0 @@
1
- import{At as e,C as t,D as n,T as r,b as i,c as a,l as o,v as s,x as c,y as l}from"./4sIEbgcl.js";var u=(e,t)=>new n(e).setAlpha(t).toRgbString(),d=(e,t)=>new n(e).lighten(t).toHexString(),f=e=>{let t=r(e,{theme:`dark`});return{1:t[0],2:t[1],3:t[2],4:t[3],5:t[6],6:t[5],7:t[4],8:t[6],9:t[5],10:t[4]}},p=(e,t)=>{let n=e||`#000`,r=t||`#fff`;return{colorBgBase:n,colorTextBase:r,colorText:u(r,.85),colorTextSecondary:u(r,.65),colorTextTertiary:u(r,.45),colorTextQuaternary:u(r,.25),colorFill:u(r,.18),colorFillSecondary:u(r,.12),colorFillTertiary:u(r,.08),colorFillQuaternary:u(r,.04),colorBgElevated:d(n,12),colorBgContainer:d(n,8),colorBgLayout:d(n,0),colorBgSpotlight:d(n,26),colorBorder:d(n,26),colorBorderSecondary:d(n,19)}},m=(t,n)=>{let a=Object.keys(c).map(e=>{let n=r(t[e],{theme:`dark`});return Array(10).fill(1).reduce((t,r,i)=>(t[`${e}-${i+1}`]=n[i],t),{})}).reduce((t,n)=>(t=e(e({},t),n),t),{}),o=n??s(t);return e(e(e({},o),a),i(t,{generateColorPalettes:f,generateNeutralColorPalettes:p}))};function h(e){let{sizeUnit:t,sizeStep:n}=e,r=n-2;return{sizeXXL:t*(r+10),sizeXL:t*(r+6),sizeLG:t*(r+2),sizeMD:t*(r+2),sizeMS:t*(r+1),size:t*r,sizeSM:t*r,sizeXS:t*(r-1),sizeXXS:t*(r-1)}}var g=(n,r)=>{let i=r??s(n),a=i.fontSizeSM,o=i.controlHeight-4;return e(e(e(e(e({},i),h(r??n)),l(a)),{controlHeight:o}),t(e(e({},i),{controlHeight:o})))};function _(){let[e,t,n]=o();return{theme:e,token:t,hashId:n}}var v={defaultConfig:a,defaultSeed:a.token,useToken:_,defaultAlgorithm:s,darkAlgorithm:m,compactAlgorithm:g};export{v as t};
@@ -1,3 +0,0 @@
1
- import{$ as e,C as t,D as n,R as r,S as i,T as a,b as o,c as s,ct as c,d as l,ht as u,i as d,it as f,pt as p,z as m}from"./CSkxz2NX.js";function h(e,t){typeof console<`u`&&(console.warn(`[intlify] `+e),t&&console.warn(t.stack))}var g=typeof window<`u`,_=(e,t=!1)=>t?Symbol.for(e):Symbol(e),v=(e,t,n)=>y({l:e,k:t,s:n}),y=e=>JSON.stringify(e).replace(/\u2028/g,`\\u2028`).replace(/\u2029/g,`\\u2029`).replace(/\u0027/g,`\\u0027`),b=e=>typeof e==`number`&&isFinite(e),x=e=>re(e)===`[object Date]`,S=e=>re(e)===`[object RegExp]`,C=e=>R(e)&&Object.keys(e).length===0,w=Object.assign,T=Object.create,E=(e=null)=>T(e),D,O=()=>D||=typeof globalThis<`u`?globalThis:typeof self<`u`?self:typeof window<`u`?window:typeof global<`u`?global:E();function ee(e){return e.replace(/&/g,`&amp;`).replace(/</g,`&lt;`).replace(/>/g,`&gt;`).replace(/"/g,`&quot;`).replace(/'/g,`&apos;`).replace(/\//g,`&#x2F;`).replace(/=/g,`&#x3D;`)}function k(e){return e.replace(/&(?![a-zA-Z0-9#]{2,6};)/g,`&amp;`).replace(/"/g,`&quot;`).replace(/'/g,`&apos;`).replace(/</g,`&lt;`).replace(/>/g,`&gt;`)}function A(e){return e=e.replace(/(\w+)\s*=\s*"([^"]*)"/g,(e,t,n)=>`${t}="${k(n)}"`),e=e.replace(/(\w+)\s*=\s*'([^']*)'/g,(e,t,n)=>`${t}='${k(n)}'`),/\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(e)&&(e=e.replace(/(\s+)(on)(\w+\s*=)/gi,`$1&#111;n$3`)),[/(\s+(?:href|src|action|formaction)\s*=\s*["']?)\s*javascript:/gi,/(style\s*=\s*["'][^"']*url\s*\(\s*)javascript:/gi].forEach(t=>{e=e.replace(t,`$1javascript&#58;`)}),e}var j=Object.prototype.hasOwnProperty;function M(e,t){return j.call(e,t)}var N=Array.isArray,P=e=>typeof e==`function`,F=e=>typeof e==`string`,I=e=>typeof e==`boolean`,L=e=>typeof e==`object`&&!!e,te=e=>L(e)&&P(e.then)&&P(e.catch),ne=Object.prototype.toString,re=e=>ne.call(e),R=e=>re(e)===`[object Object]`,ie=e=>e==null?``:N(e)||R(e)&&e.toString===ne?JSON.stringify(e,null,2):String(e);function ae(e,t=``){return e.reduce((e,n,r)=>r===0?e+n:e+t+n,``)}var oe=e=>!L(e)||N(e);function se(e,t){if(oe(e)||oe(t))throw Error(`Invalid value`);let n=[{src:e,des:t}];for(;n.length;){let{src:e,des:t}=n.pop();Object.keys(e).forEach(r=>{r!==`__proto__`&&(L(e[r])&&!L(t[r])&&(t[r]=Array.isArray(e[r])?[]:E()),oe(t[r])||oe(e[r])?t[r]=e[r]:n.push({src:e[r],des:t[r]}))})}}function ce(e,t,n){return{line:e,column:t,offset:n}}function le(e,t,n){let r={start:e,end:t};return n!=null&&(r.source=n),r}var z={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16};z.EXPECTED_TOKEN,z.INVALID_TOKEN_IN_PLACEHOLDER,z.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,z.UNKNOWN_ESCAPE_SEQUENCE,z.INVALID_UNICODE_ESCAPE_SEQUENCE,z.UNBALANCED_CLOSING_BRACE,z.UNTERMINATED_CLOSING_BRACE,z.EMPTY_PLACEHOLDER,z.NOT_ALLOW_NEST_PLACEHOLDER,z.INVALID_LINKED_FORMAT,z.MUST_HAVE_MESSAGES_IN_PLURAL,z.UNEXPECTED_EMPTY_LINKED_MODIFIER,z.UNEXPECTED_EMPTY_LINKED_KEY,z.UNEXPECTED_LEXICAL_ANALYSIS,z.UNHANDLED_CODEGEN_NODE_TYPE,z.UNHANDLED_MINIFIER_NODE_TYPE;function B(e,t,n={}){let{domain:r,messages:i,args:a}=n,o=SyntaxError(String(e));return o.code=e,t&&(o.location=t),o.domain=r,o}function ue(e){throw e}var V=` `,de=`\r`,H=`
2
- `,fe=`\u2028`,pe=`\u2029`;function me(e){let t=e,n=0,r=1,i=1,a=0,o=e=>t[e]===de&&t[e+1]===H,s=e=>t[e]===H,c=e=>t[e]===pe,l=e=>t[e]===fe,u=e=>o(e)||s(e)||c(e)||l(e),d=()=>n,f=()=>r,p=()=>i,m=()=>a,h=e=>o(e)||c(e)||l(e)?H:t[e],g=()=>h(n),_=()=>h(n+a);function v(){return a=0,u(n)&&(r++,i=0),o(n)&&n++,n++,i++,t[n]}function y(){return o(n+a)&&a++,a++,t[n+a]}function b(){n=0,r=1,i=1,a=0}function x(e=0){a=e}function S(){let e=n+a;for(;e!==n;)v();a=0}return{index:d,line:f,column:p,peekOffset:m,charAt:h,currentChar:g,currentPeek:_,next:v,peek:y,reset:b,resetPeek:x,skipToPeek:S}}var U=void 0,he=`'`,ge=`tokenizer`;function _e(e,t={}){let n=t.location!==!1,r=me(e),i=()=>r.index(),a=()=>ce(r.line(),r.column(),r.index()),o=a(),s=i(),c={currentType:13,offset:s,startLoc:o,endLoc:o,lastType:13,lastOffset:s,lastStartLoc:o,lastEndLoc:o,braceNest:0,inLinked:!1,text:``},l=()=>c,{onError:u}=t;function d(e,t,r,...i){let a=l();if(t.column+=r,t.offset+=r,u){let r=B(e,n?le(a.startLoc,t):null,{domain:ge,args:i});u(r)}}function f(e,t,r){e.endLoc=a(),e.currentType=t;let i={type:t};return n&&(i.loc=le(e.startLoc,e.endLoc)),r!=null&&(i.value=r),i}let p=e=>f(e,13);function m(e,t){return e.currentChar()===t?(e.next(),t):(d(z.EXPECTED_TOKEN,a(),0,t),``)}function h(e){let t=``;for(;e.currentPeek()===V||e.currentPeek()===H;)t+=e.currentPeek(),e.peek();return t}function g(e){let t=h(e);return e.skipToPeek(),t}function _(e){if(e===U)return!1;let t=e.charCodeAt(0);return t>=97&&t<=122||t>=65&&t<=90||t===95}function v(e){if(e===U)return!1;let t=e.charCodeAt(0);return t>=48&&t<=57}function y(e,t){let{currentType:n}=t;if(n!==2)return!1;h(e);let r=_(e.currentPeek());return e.resetPeek(),r}function b(e,t){let{currentType:n}=t;if(n!==2)return!1;h(e);let r=v(e.currentPeek()===`-`?e.peek():e.currentPeek());return e.resetPeek(),r}function x(e,t){let{currentType:n}=t;if(n!==2)return!1;h(e);let r=e.currentPeek()===he;return e.resetPeek(),r}function S(e,t){let{currentType:n}=t;if(n!==7)return!1;h(e);let r=e.currentPeek()===`.`;return e.resetPeek(),r}function C(e,t){let{currentType:n}=t;if(n!==8)return!1;h(e);let r=_(e.currentPeek());return e.resetPeek(),r}function w(e,t){let{currentType:n}=t;if(n!==7&&n!==11)return!1;h(e);let r=e.currentPeek()===`:`;return e.resetPeek(),r}function T(e,t){let{currentType:n}=t;if(n!==9)return!1;let r=()=>{let t=e.currentPeek();return t===`{`?_(e.peek()):t===`@`||t===`|`||t===`:`||t===`.`||t===V||!t?!1:t===H?(e.peek(),r()):D(e,!1)},i=r();return e.resetPeek(),i}function E(e){h(e);let t=e.currentPeek()===`|`;return e.resetPeek(),t}function D(e,t=!0){let n=(t=!1,r=``)=>{let i=e.currentPeek();return i===`{`||i===`@`||!i?t:i===`|`?r!==V&&r!==H:i===V?(e.peek(),n(!0,V)):i!==H||(e.peek(),n(!0,H))},r=n();return t&&e.resetPeek(),r}function O(e,t){let n=e.currentChar();if(n!==U)return t(n)?(e.next(),n):null}function ee(e){let t=e.charCodeAt(0);return t>=97&&t<=122||t>=65&&t<=90||t>=48&&t<=57||t===95||t===36}function k(e){return O(e,ee)}function A(e){let t=e.charCodeAt(0);return t>=97&&t<=122||t>=65&&t<=90||t>=48&&t<=57||t===95||t===36||t===45}function j(e){return O(e,A)}function M(e){let t=e.charCodeAt(0);return t>=48&&t<=57}function N(e){return O(e,M)}function P(e){let t=e.charCodeAt(0);return t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102}function F(e){return O(e,P)}function I(e){let t=``,n=``;for(;t=N(e);)n+=t;return n}function L(e){let t=``;for(;;){let n=e.currentChar();if(n===`\\`){let r=e.peek();r===`{`||r===`}`||r===`@`||r===`|`||r===`\\`?(t+=n+r,e.next(),e.next()):(e.resetPeek(),t+=n,e.next())}else if(n===`{`||n===`}`||n===`@`||n===`|`||!n)break;else if(n===V||n===H){if(D(e))t+=n,e.next();else if(E(e))break;else t+=n,e.next()}else t+=n,e.next()}return t}function te(e){g(e);let t=``,n=``;for(;t=j(e);)n+=t;let r=e.currentChar();if(r&&r!==`}`&&r!==U&&r!==V&&r!==H&&r!==` `){let t=se(e);return d(z.INVALID_TOKEN_IN_PLACEHOLDER,a(),0,n+t),n+t}return e.currentChar()===U&&d(z.UNTERMINATED_CLOSING_BRACE,a(),0),n}function ne(e){g(e);let t=``;return e.currentChar()===`-`?(e.next(),t+=`-${I(e)}`):t+=I(e),e.currentChar()===U&&d(z.UNTERMINATED_CLOSING_BRACE,a(),0),t}function re(e){return e!==he&&e!==H}function R(e){g(e),m(e,`'`);let t=``,n=``;for(;t=O(e,re);)n+=t===`\\`?ie(e):t;let r=e.currentChar();return r===H||r===U?(d(z.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,a(),0),r===H&&(e.next(),m(e,`'`)),n):(m(e,`'`),n)}function ie(e){let t=e.currentChar();switch(t){case`\\`:case`'`:return e.next(),`\\${t}`;case`u`:return ae(e,t,4);case`U`:return ae(e,t,6);default:return d(z.UNKNOWN_ESCAPE_SEQUENCE,a(),0,t),``}}function ae(e,t,n){m(e,t);let r=``;for(let i=0;i<n;i++){let n=F(e);if(!n){d(z.INVALID_UNICODE_ESCAPE_SEQUENCE,a(),0,`\\${t}${r}${e.currentChar()}`);break}r+=n}return`\\${t}${r}`}function oe(e){return e!==`{`&&e!==`}`&&e!==V&&e!==H}function se(e){g(e);let t=``,n=``;for(;t=O(e,oe);)n+=t;return n}function ue(e){let t=``,n=``;for(;t=k(e);)n+=t;return n}function de(e){let t=n=>{let r=e.currentChar();return r===`{`||r===`@`||r===`|`||r===`(`||r===`)`||!r||r===V?n:(n+=r,e.next(),t(n))};return t(``)}function fe(e){g(e);let t=m(e,`|`);return g(e),t}function pe(e,t){let n=null;switch(e.currentChar()){case`{`:return t.braceNest>=1&&d(z.NOT_ALLOW_NEST_PLACEHOLDER,a(),0),e.next(),n=f(t,2,`{`),g(e),t.braceNest++,n;case`}`:return t.braceNest>0&&t.currentType===2&&d(z.EMPTY_PLACEHOLDER,a(),0),e.next(),n=f(t,3,`}`),t.braceNest--,t.braceNest>0&&g(e),t.inLinked&&t.braceNest===0&&(t.inLinked=!1),n;case`@`:return t.braceNest>0&&d(z.UNTERMINATED_CLOSING_BRACE,a(),0),n=_e(e,t)||p(t),t.braceNest=0,n;default:{let r=!0,i=!0,o=!0;if(E(e))return t.braceNest>0&&d(z.UNTERMINATED_CLOSING_BRACE,a(),0),n=f(t,1,fe(e)),t.braceNest=0,t.inLinked=!1,n;if(t.braceNest>0&&(t.currentType===4||t.currentType===5||t.currentType===6))return d(z.UNTERMINATED_CLOSING_BRACE,a(),0),t.braceNest=0,ve(e,t);if(r=y(e,t))return n=f(t,4,te(e)),g(e),n;if(i=b(e,t))return n=f(t,5,ne(e)),g(e),n;if(o=x(e,t))return n=f(t,6,R(e)),g(e),n;if(!r&&!i&&!o)return n=f(t,12,se(e)),d(z.INVALID_TOKEN_IN_PLACEHOLDER,a(),0,n.value),g(e),n;break}}return n}function _e(e,t){let{currentType:n}=t,r=null,i=e.currentChar();switch((n===7||n===8||n===11||n===9)&&(i===H||i===V)&&d(z.INVALID_LINKED_FORMAT,a(),0),i){case`@`:return e.next(),r=f(t,7,`@`),t.inLinked=!0,r;case`.`:return g(e),e.next(),f(t,8,`.`);case`:`:return g(e),e.next(),f(t,9,`:`);default:return E(e)?(r=f(t,1,fe(e)),t.braceNest=0,t.inLinked=!1,r):S(e,t)||w(e,t)?(g(e),_e(e,t)):C(e,t)?(g(e),f(t,11,ue(e))):T(e,t)?(g(e),i===`{`?pe(e,t)||r:f(t,10,de(e))):(n===7&&d(z.INVALID_LINKED_FORMAT,a(),0),t.braceNest=0,t.inLinked=!1,ve(e,t))}}function ve(e,t){let n={type:13};if(t.braceNest>0)return pe(e,t)||p(t);if(t.inLinked)return _e(e,t)||p(t);switch(e.currentChar()){case`{`:return pe(e,t)||p(t);case`}`:return d(z.UNBALANCED_CLOSING_BRACE,a(),0),e.next(),f(t,3,`}`);case`@`:return _e(e,t)||p(t);default:if(E(e))return n=f(t,1,fe(e)),t.braceNest=0,t.inLinked=!1,n;if(D(e))return f(t,0,L(e))}return n}function ye(){let{currentType:e,offset:t,startLoc:n,endLoc:o}=c;return c.lastType=e,c.lastOffset=t,c.lastStartLoc=n,c.lastEndLoc=o,c.offset=i(),c.startLoc=a(),r.currentChar()===U?f(c,13):ve(r,c)}return{nextToken:ye,currentOffset:i,currentPosition:a,context:l}}var ve=`parser`,ye=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g,be=/\\([\\@{}|])/g;function xe(e,t){return t}function Se(e,t,n){switch(e){case`\\\\`:return`\\`;case`\\'`:return`'`;default:{let e=parseInt(t||n,16);return e<=55295||e>=57344?String.fromCodePoint(e):`�`}}}function Ce(e={}){let t=e.location!==!1,{onError:n}=e;function r(e,r,i,a,...o){let s=e.currentPosition();if(s.offset+=a,s.column+=a,n){let e=B(r,t?le(i,s):null,{domain:ve,args:o});n(e)}}function i(e,n,r){let i={type:e};return t&&(i.start=n,i.end=n,i.loc={start:r,end:r}),i}function a(e,n,r,i){t&&(e.end=n,e.loc&&(e.loc.end=r))}function o(e,t){let n=e.context(),r=i(3,n.offset,n.startLoc);return r.value=t.replace(be,xe),a(r,e.currentOffset(),e.currentPosition()),r}function s(e,t){let{lastOffset:n,lastStartLoc:r}=e.context(),o=i(5,n,r);return o.index=parseInt(t,10),e.nextToken(),a(o,e.currentOffset(),e.currentPosition()),o}function c(e,t){let{lastOffset:n,lastStartLoc:r}=e.context(),o=i(4,n,r);return o.key=t,e.nextToken(),a(o,e.currentOffset(),e.currentPosition()),o}function l(e,t){let{lastOffset:n,lastStartLoc:r}=e.context(),o=i(9,n,r);return o.value=t.replace(ye,Se),e.nextToken(),a(o,e.currentOffset(),e.currentPosition()),o}function u(e){let t=e.nextToken(),n=e.context(),{lastOffset:o,lastStartLoc:s}=n,c=i(8,o,s);return t.type===11?(t.value??r(e,z.UNEXPECTED_LEXICAL_ANALYSIS,n.lastStartLoc,0,W(t)),c.value=t.value||``,a(c,e.currentOffset(),e.currentPosition()),{node:c}):(r(e,z.UNEXPECTED_EMPTY_LINKED_MODIFIER,n.lastStartLoc,0),c.value=``,a(c,o,s),{nextConsumeToken:t,node:c})}function d(e,t){let n=e.context(),r=i(7,n.offset,n.startLoc);return r.value=t,a(r,e.currentOffset(),e.currentPosition()),r}function f(e){let t=e.context(),n=i(6,t.offset,t.startLoc),o=e.nextToken();if(o.type===8){let t=u(e);n.modifier=t.node,o=t.nextConsumeToken||e.nextToken()}switch(o.type!==9&&r(e,z.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,W(o)),o=e.nextToken(),o.type===2&&(o=e.nextToken()),o.type){case 10:o.value??r(e,z.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,W(o)),n.key=d(e,o.value||``);break;case 4:o.value??r(e,z.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,W(o)),n.key=c(e,o.value||``);break;case 5:o.value??r(e,z.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,W(o)),n.key=s(e,o.value||``);break;case 6:o.value??r(e,z.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,W(o)),n.key=l(e,o.value||``);break;default:{r(e,z.UNEXPECTED_EMPTY_LINKED_KEY,t.lastStartLoc,0);let s=e.context(),c=i(7,s.offset,s.startLoc);return c.value=``,a(c,s.offset,s.startLoc),n.key=c,a(n,s.offset,s.startLoc),{nextConsumeToken:o,node:n}}}return a(n,e.currentOffset(),e.currentPosition()),{node:n}}function p(e){let t=e.context(),n=i(2,t.currentType===1?e.currentOffset():t.offset,t.currentType===1?t.endLoc:t.startLoc);n.items=[];let u=null;do{let i=u||e.nextToken();switch(u=null,i.type){case 0:i.value??r(e,z.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,W(i)),n.items.push(o(e,i.value||``));break;case 5:i.value??r(e,z.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,W(i)),n.items.push(s(e,i.value||``));break;case 4:i.value??r(e,z.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,W(i)),n.items.push(c(e,i.value||``));break;case 6:i.value??r(e,z.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,W(i)),n.items.push(l(e,i.value||``));break;case 7:{let t=f(e);n.items.push(t.node),u=t.nextConsumeToken||null;break}}}while(t.currentType!==13&&t.currentType!==1);return a(n,t.currentType===1?t.lastOffset:e.currentOffset(),t.currentType===1?t.lastEndLoc:e.currentPosition()),n}function m(e,t,n,o){let s=e.context(),c=o.items.length===0,l=i(1,t,n);l.cases=[],l.cases.push(o);do{let t=p(e);c||=t.items.length===0,l.cases.push(t)}while(s.currentType!==13);return c&&r(e,z.MUST_HAVE_MESSAGES_IN_PLURAL,n,0),a(l,e.currentOffset(),e.currentPosition()),l}function h(e){let t=e.context(),{offset:n,startLoc:r}=t,i=p(e);return t.currentType===13?i:m(e,n,r,i)}function g(n){let o=_e(n,w({},e)),s=o.context(),c=i(0,s.offset,s.startLoc);return t&&c.loc&&(c.loc.source=n),c.body=h(o),e.onCacheKey&&(c.cacheKey=e.onCacheKey(n)),s.currentType!==13&&r(o,z.UNEXPECTED_LEXICAL_ANALYSIS,s.lastStartLoc,0,n[s.offset]||``),a(c,o.currentOffset(),o.currentPosition()),c}return{parse:g}}function W(e){if(e.type===13)return`EOF`;let t=(e.value||``).replace(/\r?\n/gu,`\\n`);return t.length>10?t.slice(0,9)+`…`:t}function we(e,t={}){let n={ast:e,helpers:new Set};return{context:()=>n,helper:e=>(n.helpers.add(e),e)}}function Te(e,t){for(let n=0;n<e.length;n++)Ee(e[n],t)}function Ee(e,t){switch(e.type){case 1:Te(e.cases,t),t.helper(`plural`);break;case 2:Te(e.items,t);break;case 6:Ee(e.key,t),t.helper(`linked`),t.helper(`type`);break;case 5:t.helper(`interpolate`),t.helper(`list`);break;case 4:t.helper(`interpolate`),t.helper(`named`)}}function De(e,t={}){let n=we(e);n.helper(`normalize`),e.body&&Ee(e.body,n);let r=n.context();e.helpers=Array.from(r.helpers)}function G(e){let t=e.body;return t.type===2?Oe(t):t.cases.forEach(e=>Oe(e)),e}function Oe(e){if(e.items.length===1){let t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{let t=[];for(let n=0;n<e.items.length;n++){let r=e.items[n];if(r.type!==3&&r.type!==9||r.value==null)break;t.push(r.value)}if(t.length===e.items.length){e.static=ae(t);for(let t=0;t<e.items.length;t++){let n=e.items[t];(n.type===3||n.type===9)&&delete n.value}}}}function ke(e){switch(e.t=e.type,e.type){case 0:{let t=e;ke(t.body),t.b=t.body,delete t.body;break}case 1:{let t=e,n=t.cases;for(let e=0;e<n.length;e++)ke(n[e]);t.c=n,delete t.cases;break}case 2:{let t=e,n=t.items;for(let e=0;e<n.length;e++)ke(n[e]);t.i=n,delete t.items,t.static&&(t.s=t.static,delete t.static);break}case 3:case 9:case 8:case 7:{let t=e;t.value&&(t.v=t.value,delete t.value);break}case 6:{let t=e;ke(t.key),t.k=t.key,delete t.key,t.modifier&&(ke(t.modifier),t.m=t.modifier,delete t.modifier);break}case 5:{let t=e;t.i=t.index,delete t.index;break}case 4:{let t=e;t.k=t.key,delete t.key;break}}delete e.type}function Ae(e,t){let{filename:n,breakLineCode:r,needIndent:i}=t,a=t.location!==!1,o={filename:n,code:``,column:1,line:1,offset:0,map:void 0,breakLineCode:r,needIndent:i,indentLevel:0};a&&e.loc&&(o.source=e.loc.source);let s=()=>o;function c(e,t){o.code+=e}function l(e,t=!0){let n=t?r:``;c(i?n+` `.repeat(e):n)}function u(e=!0){let t=++o.indentLevel;e&&l(t)}function d(e=!0){let t=--o.indentLevel;e&&l(t)}function f(){l(o.indentLevel)}return{context:s,push:c,indent:u,deindent:d,newline:f,helper:e=>`_${e}`,needIndent:()=>o.needIndent}}function je(e,t){let{helper:n}=e;e.push(`${n(`linked`)}(`),Fe(e,t.key),t.modifier?(e.push(`, `),Fe(e,t.modifier),e.push(`, _type`)):e.push(`, undefined, _type`),e.push(`)`)}function Me(e,t){let{helper:n,needIndent:r}=e;e.push(`${n(`normalize`)}([`),e.indent(r());let i=t.items.length;for(let n=0;n<i&&(Fe(e,t.items[n]),n!==i-1);n++)e.push(`, `);e.deindent(r()),e.push(`])`)}function Ne(e,t){let{helper:n,needIndent:r}=e;if(t.cases.length>1){e.push(`${n(`plural`)}([`),e.indent(r());let i=t.cases.length;for(let n=0;n<i&&(Fe(e,t.cases[n]),n!==i-1);n++)e.push(`, `);e.deindent(r()),e.push(`])`)}}function Pe(e,t){t.body?Fe(e,t.body):e.push(`null`)}function Fe(e,t){let{helper:n}=e;switch(t.type){case 0:Pe(e,t);break;case 1:Ne(e,t);break;case 2:Me(e,t);break;case 6:je(e,t);break;case 8:e.push(JSON.stringify(t.value),t);break;case 7:e.push(JSON.stringify(t.value),t);break;case 5:e.push(`${n(`interpolate`)}(${n(`list`)}(${t.index}))`,t);break;case 4:e.push(`${n(`interpolate`)}(${n(`named`)}(${JSON.stringify(t.key)}))`,t);break;case 9:e.push(JSON.stringify(t.value),t);break;case 3:e.push(JSON.stringify(t.value),t)}}var Ie=(e,t={})=>{let n=F(t.mode)?t.mode:`normal`,r=F(t.filename)?t.filename:`message.intl`;t.sourceMap;let i=t.breakLineCode==null?n===`arrow`?`;`:`
3
- `:t.breakLineCode,a=t.needIndent?t.needIndent:n!==`arrow`,o=e.helpers||[],s=Ae(e,{filename:r,breakLineCode:i,needIndent:a});s.push(n===`normal`?`function __msg__ (ctx) {`:`(ctx) => {`),s.indent(a),o.length>0&&(s.push(`const { ${ae(o.map(e=>`${e}: _${e}`),`, `)} } = ctx`),s.newline()),s.push(`return `),Fe(s,e),s.deindent(a),s.push(`}`),delete e.helpers;let{code:c,map:l}=s.context();return{ast:e,code:c,map:l?l.toJSON():void 0}};function Le(e,t={}){let n=w({},t),r=!!n.jit,i=!!n.minify,a=n.optimize==null||n.optimize,o=Ce(n).parse(e);return r?(a&&G(o),i&&ke(o),{ast:o,code:``}):(De(o,n),Ie(o,n))}function Re(){typeof __INTLIFY_PROD_DEVTOOLS__!=`boolean`&&(O().__INTLIFY_PROD_DEVTOOLS__=!1)}function K(e){return L(e)&&Je(e)===0&&(M(e,`b`)||M(e,`body`))}var ze=[`b`,`body`];function Be(e){return q(e,ze)}var Ve=[`c`,`cases`];function He(e){return q(e,Ve,[])}var Ue=[`s`,`static`];function We(e){return q(e,Ue)}var Ge=[`i`,`items`];function Ke(e){return q(e,Ge,[])}var qe=[`t`,`type`];function Je(e){return q(e,qe)}var Ye=[`v`,`value`];function Xe(e,t){let n=q(e,Ye);if(n!=null)return n;throw nt(t)}var Ze=[`m`,`modifier`];function Qe(e){return q(e,Ze)}var $e=[`k`,`key`];function et(e){let t=q(e,$e);if(t)return t;throw nt(6)}function q(e,t,n){for(let n=0;n<t.length;n++){let r=t[n];if(M(e,r)&&e[r]!=null)return e[r]}return n}var tt=[...ze,...Ve,...Ue,...Ge,...$e,...Ze,...Ye,...qe];function nt(e){return Error(`unhandled node type: ${e}`)}function rt(e){return t=>it(t,e)}function it(e,t){let n=Be(t);if(n==null)throw nt(0);if(Je(n)===1){let t=He(n);return e.plural(t.reduce((t,n)=>[...t,at(e,n)],[]))}return at(e,n)}function at(e,t){let n=We(t);if(n!=null)return e.type===`text`?n:e.normalize([n]);{let n=Ke(t).reduce((t,n)=>[...t,ot(e,n)],[]);return e.normalize(n)}}function ot(e,t){let n=Je(t);switch(n){case 3:return Xe(t,n);case 9:return Xe(t,n);case 4:{let r=t;if(M(r,`k`)&&r.k)return e.interpolate(e.named(r.k));if(M(r,`key`)&&r.key)return e.interpolate(e.named(r.key));throw nt(n)}case 5:{let r=t;if(M(r,`i`)&&b(r.i))return e.interpolate(e.list(r.i));if(M(r,`index`)&&b(r.index))return e.interpolate(e.list(r.index));throw nt(n)}case 6:{let n=t,r=Qe(n),i=et(n);return e.linked(ot(e,i),r?ot(e,r):void 0,e.type)}case 7:return Xe(t,n);case 8:return Xe(t,n);default:throw Error(`unhandled node on format message part: ${n}`)}}var st=e=>e,ct=E();function lt(e,t={}){let n=!1,r=t.onError||ue;return t.onError=e=>{n=!0,r(e)},{...Le(e,t),detectError:n}}function ut(e,t){if(F(e)){I(t.warnHtmlMessage)&&t.warnHtmlMessage;let n=(t.onCacheKey||st)(e),r=ct[n];if(r)return r;let{ast:i,detectError:a}=lt(e,{...t,location:!1,jit:!0}),o=rt(i);return a?o:ct[n]=o}{let t=e.cacheKey;return t?ct[t]||(ct[t]=rt(e)):rt(e)}}var dt=null;function ft(e){dt=e}function pt(e,t,n){dt&&dt.emit(`i18n:init`,{timestamp:Date.now(),i18n:e,version:t,meta:n})}var mt=ht(`function:translate`);function ht(e){return t=>dt&&dt.emit(e,t)}var J={INVALID_ARGUMENT:17,INVALID_DATE_ARGUMENT:18,INVALID_ISO_DATE_ARGUMENT:19,NOT_SUPPORT_NON_STRING_MESSAGE:20,NOT_SUPPORT_LOCALE_PROMISE_VALUE:21,NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:22,NOT_SUPPORT_LOCALE_TYPE:23};function Y(e){return B(e,null,void 0)}J.INVALID_ARGUMENT,J.INVALID_DATE_ARGUMENT,J.INVALID_ISO_DATE_ARGUMENT,J.NOT_SUPPORT_NON_STRING_MESSAGE,J.NOT_SUPPORT_LOCALE_PROMISE_VALUE,J.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION,J.NOT_SUPPORT_LOCALE_TYPE;function gt(e,t){return t.locale==null?vt(e.locale):vt(t.locale)}var _t;function vt(e){if(F(e))return e;if(P(e)){if(e.resolvedOnce&&_t!=null)return _t;if(e.constructor.name===`Function`){let t=e();if(te(t))throw Y(J.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return _t=t}throw Y(J.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}throw Y(J.NOT_SUPPORT_LOCALE_TYPE)}function yt(e,t,n){return[...new Set([n,...N(t)?t:L(t)?Object.keys(t):F(t)?[t]:[n]])]}function bt(e,t,n){let r=F(n)?n:Ft,i=e;i.__localeChainCache||=new Map;let a=i.__localeChainCache.get(r);if(!a){a=[];let e=[n];for(;N(e);)e=xt(a,e,t);let o=N(t)||!R(t)?t:t.default?t.default:null;e=F(o)?[o]:o,N(e)&&xt(a,e,!1),i.__localeChainCache.set(r,a)}return a}function xt(e,t,n){let r=!0;for(let i=0;i<t.length&&I(r);i++){let a=t[i];F(a)&&(r=St(e,t[i],n))}return r}function St(e,t,n){let r,i=t.split(`-`);do r=Ct(e,i.join(`-`),n),i.splice(-1,1);while(i.length&&r===!0);return r}function Ct(e,t,n){let r=!1;if(!e.includes(t)&&(r=!0,t)){r=t[t.length-1]!==`!`;let i=t.replace(/!/g,``);e.push(i),(N(n)||R(n))&&n[i]&&(r=n[i])}return r}var X=[];X[0]={w:[0],i:[3,0],"[":[4],o:[7]},X[1]={w:[1],".":[2],"[":[4],o:[7]},X[2]={w:[2],i:[3,0],0:[3,0]},X[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]},X[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]},X[5]={"'":[4,0],o:8,l:[5,0]},X[6]={'"':[4,0],o:8,l:[6,0]};var wt=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function Tt(e){return wt.test(e)}function Et(e){let t=e.charCodeAt(0);return t===e.charCodeAt(e.length-1)&&(t===34||t===39)?e.slice(1,-1):e}function Dt(e){if(e==null)return`o`;switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return`i`;case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return`w`}return`i`}function Ot(e){let t=e.trim();return e.charAt(0)===`0`&&isNaN(parseInt(e))?!1:Tt(t)?Et(t):`*`+t}function kt(e){let t=[],n=-1,r=0,i=0,a,o,s,c,l,u,d,f=[];f[0]=()=>{o===void 0?o=s:o+=s},f[1]=()=>{o!==void 0&&(t.push(o),o=void 0)},f[2]=()=>{f[0](),i++},f[3]=()=>{if(i>0)i--,r=4,f[0]();else{if(i=0,o===void 0||(o=Ot(o),o===!1))return!1;f[1]()}};function p(){let t=e[n+1];if(r===5&&t===`'`||r===6&&t===`"`)return n++,s=`\\`+t,f[0](),!0}for(;r!==null;)if(n++,a=e[n],!(a===`\\`&&p())){if(c=Dt(a),d=X[r],l=d[c]||d.l||8,l===8||(r=l[0],l[1]!==void 0&&(u=f[l[1]],u&&(s=a,u()===!1))))return;if(r===7)return t}}var At=new Map;function jt(e,t){return L(e)?e[t]:null}function Mt(e,t){if(!L(e))return null;let n=At.get(t);if(n||(n=kt(t),n&&At.set(t,n)),!n)return null;let r=n.length,i=e,a=0;for(;a<r;){let e=n[a];if(tt.includes(e)&&K(i))return null;let t=i[e];if(t===void 0||P(i))return null;i=t,a++}return i}var Nt={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:7};Nt.NOT_FOUND_KEY,Nt.FALLBACK_TO_TRANSLATE,Nt.CANNOT_FORMAT_NUMBER,Nt.FALLBACK_TO_NUMBER_FORMAT,Nt.CANNOT_FORMAT_DATE,Nt.FALLBACK_TO_DATE_FORMAT,Nt.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER;var Pt=`10.0.8`,Ft=`en-US`,It=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function Lt(){return{upper:(e,t)=>t===`text`&&F(e)?e.toUpperCase():t===`vnode`&&L(e)&&`__v_isVNode`in e?e.children.toUpperCase():e,lower:(e,t)=>t===`text`&&F(e)?e.toLowerCase():t===`vnode`&&L(e)&&`__v_isVNode`in e?e.children.toLowerCase():e,capitalize:(e,t)=>t===`text`&&F(e)?It(e):t===`vnode`&&L(e)&&`__v_isVNode`in e?It(e.children):e}}var Rt;function zt(e){Rt=e}var Bt;function Vt(e){Bt=e}var Ht;function Ut(e){Ht=e}var Wt=null,Gt=()=>Wt,Kt=null,qt=e=>{Kt=e},Jt=()=>Kt,Yt=0;function Xt(e={}){let t=P(e.onWarn)?e.onWarn:h,n=F(e.version)?e.version:Pt,r=F(e.locale)||P(e.locale)?e.locale:Ft,i=P(r)?Ft:r,a=N(e.fallbackLocale)||R(e.fallbackLocale)||F(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:i,o=R(e.messages)?e.messages:Zt(i),s=R(e.datetimeFormats)?e.datetimeFormats:Zt(i),c=R(e.numberFormats)?e.numberFormats:Zt(i),l=w(E(),e.modifiers,Lt()),u=e.pluralRules||E(),d=P(e.missing)?e.missing:null,f=I(e.missingWarn)||S(e.missingWarn)?e.missingWarn:!0,p=I(e.fallbackWarn)||S(e.fallbackWarn)?e.fallbackWarn:!0,m=!!e.fallbackFormat,g=!!e.unresolving,_=P(e.postTranslation)?e.postTranslation:null,v=R(e.processor)?e.processor:null,y=!I(e.warnHtmlMessage)||e.warnHtmlMessage,b=!!e.escapeParameter,x=P(e.messageCompiler)?e.messageCompiler:Rt,C=P(e.messageResolver)?e.messageResolver:Bt||jt,T=P(e.localeFallbacker)?e.localeFallbacker:Ht||yt,D=L(e.fallbackContext)?e.fallbackContext:void 0,O=e,ee=L(O.__datetimeFormatters)?O.__datetimeFormatters:new Map,k=L(O.__numberFormatters)?O.__numberFormatters:new Map,A=L(O.__meta)?O.__meta:{};Yt++;let j={version:n,cid:Yt,locale:r,fallbackLocale:a,messages:o,modifiers:l,pluralRules:u,missing:d,missingWarn:f,fallbackWarn:p,fallbackFormat:m,unresolving:g,postTranslation:_,processor:v,warnHtmlMessage:y,escapeParameter:b,messageCompiler:x,messageResolver:C,localeFallbacker:T,fallbackContext:D,onWarn:t,__meta:A};return j.datetimeFormats=s,j.numberFormats=c,j.__datetimeFormatters=ee,j.__numberFormatters=k,__INTLIFY_PROD_DEVTOOLS__&&pt(j,n,A),j}var Zt=e=>({[e]:E()});function Qt(e,t,n,r,i){let{missing:a,onWarn:o}=e;if(a!==null){let r=a(e,n,t,i);return F(r)?r:t}return t}function $t(e,t,n){let r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function en(e,t){return e!==t&&e.split(`-`)[0]===t.split(`-`)[0]}function tn(e,t){let n=t.indexOf(e);if(n===-1)return!1;for(let r=n+1;r<t.length;r++)if(en(e,t[r]))return!0;return!1}var nn=typeof Intl<`u`;nn&&Intl.DateTimeFormat,nn&&Intl.NumberFormat;function rn(e,...t){let{datetimeFormats:n,unresolving:r,fallbackLocale:i,onWarn:a,localeFallbacker:o}=e,{__datetimeFormatters:s}=e,[c,l,u,d]=on(...t),f=I(u.missingWarn)?u.missingWarn:e.missingWarn;I(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;let p=!!u.part,m=gt(e,u),h=o(e,i,m);if(!F(c)||c===``)return new Intl.DateTimeFormat(m,d).format(l);let g={},_,v=null;for(let t=0;t<h.length&&(_=h[t],g=n[_]||{},v=g[c],!R(v));t++)Qt(e,c,_,f,`datetime format`);if(!R(v)||!F(_))return r?-1:c;let y=`${_}__${c}`;C(d)||(y=`${y}__${JSON.stringify(d)}`);let b=s.get(y);return b||(b=new Intl.DateTimeFormat(_,w({},v,d)),s.set(y,b)),p?b.formatToParts(l):b.format(l)}var an=[`localeMatcher`,`weekday`,`era`,`year`,`month`,`day`,`hour`,`minute`,`second`,`timeZoneName`,`formatMatcher`,`hour12`,`timeZone`,`dateStyle`,`timeStyle`,`calendar`,`dayPeriod`,`numberingSystem`,`hourCycle`,`fractionalSecondDigits`];function on(...e){let[t,n,r,i]=e,a=E(),o=E(),s;if(F(t)){let e=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!e)throw Y(J.INVALID_ISO_DATE_ARGUMENT);let n=e[3]?e[3].trim().startsWith(`T`)?`${e[1].trim()}${e[3].trim()}`:`${e[1].trim()}T${e[3].trim()}`:e[1].trim();s=new Date(n);try{s.toISOString()}catch{throw Y(J.INVALID_ISO_DATE_ARGUMENT)}}else if(x(t)){if(isNaN(t.getTime()))throw Y(J.INVALID_DATE_ARGUMENT);s=t}else if(b(t))s=t;else throw Y(J.INVALID_ARGUMENT);return F(n)?a.key=n:R(n)&&Object.keys(n).forEach(e=>{an.includes(e)?o[e]=n[e]:a[e]=n[e]}),F(r)?a.locale=r:R(r)&&(o=r),R(i)&&(o=i),[a.key||``,s,a,o]}function sn(e,t,n){let r=e;for(let e in n){let n=`${t}__${e}`;r.__datetimeFormatters.has(n)&&r.__datetimeFormatters.delete(n)}}function cn(e,...t){let{numberFormats:n,unresolving:r,fallbackLocale:i,onWarn:a,localeFallbacker:o}=e,{__numberFormatters:s}=e,[c,l,u,d]=un(...t),f=I(u.missingWarn)?u.missingWarn:e.missingWarn;I(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;let p=!!u.part,m=gt(e,u),h=o(e,i,m);if(!F(c)||c===``)return new Intl.NumberFormat(m,d).format(l);let g={},_,v=null;for(let t=0;t<h.length&&(_=h[t],g=n[_]||{},v=g[c],!R(v));t++)Qt(e,c,_,f,`number format`);if(!R(v)||!F(_))return r?-1:c;let y=`${_}__${c}`;C(d)||(y=`${y}__${JSON.stringify(d)}`);let b=s.get(y);return b||(b=new Intl.NumberFormat(_,w({},v,d)),s.set(y,b)),p?b.formatToParts(l):b.format(l)}var ln=[`localeMatcher`,`style`,`currency`,`currencyDisplay`,`currencySign`,`useGrouping`,`minimumIntegerDigits`,`minimumFractionDigits`,`maximumFractionDigits`,`minimumSignificantDigits`,`maximumSignificantDigits`,`compactDisplay`,`notation`,`signDisplay`,`unit`,`unitDisplay`,`roundingMode`,`roundingPriority`,`roundingIncrement`,`trailingZeroDisplay`];function un(...e){let[t,n,r,i]=e,a=E(),o=E();if(!b(t))throw Y(J.INVALID_ARGUMENT);let s=t;return F(n)?a.key=n:R(n)&&Object.keys(n).forEach(e=>{ln.includes(e)?o[e]=n[e]:a[e]=n[e]}),F(r)?a.locale=r:R(r)&&(o=r),R(i)&&(o=i),[a.key||``,s,a,o]}function dn(e,t,n){let r=e;for(let e in n){let n=`${t}__${e}`;r.__numberFormatters.has(n)&&r.__numberFormatters.delete(n)}}var fn=e=>e,pn=e=>``,mn=`text`,hn=e=>e.length===0?``:ae(e),gn=ie;function _n(e,t){return e=Math.abs(e),t===2?e?+(e>1):1:e?Math.min(e,2):0}function vn(e){let t=b(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(b(e.named.count)||b(e.named.n))?b(e.named.count)?e.named.count:b(e.named.n)?e.named.n:t:t}function yn(e,t){t.count||=e,t.n||=e}function bn(e={}){let t=e.locale,n=vn(e),r=L(e.pluralRules)&&F(t)&&P(e.pluralRules[t])?e.pluralRules[t]:_n,i=L(e.pluralRules)&&F(t)&&P(e.pluralRules[t])?_n:void 0,a=e=>e[r(n,e.length,i)],o=e.list||[],s=e=>o[e],c=e.named||E();b(e.pluralIndex)&&yn(n,c);let l=e=>c[e];function u(t,n){return(P(e.messages)?e.messages(t,!!n):L(e.messages)?e.messages[t]:!1)||(e.parent?e.parent.message(t):pn)}let d=t=>e.modifiers?e.modifiers[t]:fn,f=R(e.processor)&&P(e.processor.normalize)?e.processor.normalize:hn,p=R(e.processor)&&P(e.processor.interpolate)?e.processor.interpolate:gn,m={list:s,named:l,plural:a,linked:(e,...t)=>{let[n,r]=t,i=`text`,a=``;t.length===1?L(n)?(a=n.modifier||a,i=n.type||i):F(n)&&(a=n||a):t.length===2&&(F(n)&&(a=n||a),F(r)&&(i=r||i));let o=u(e,!0)(m),s=i===`vnode`&&N(o)&&a?o[0]:o;return a?d(a)(s,i):s},message:u,type:R(e.processor)&&F(e.processor.type)?e.processor.type:mn,interpolate:p,normalize:f,values:w(E(),o,c)};return m}var xn=()=>``,Z=e=>P(e);function Sn(e,...t){let{fallbackFormat:n,postTranslation:r,unresolving:i,messageCompiler:a,fallbackLocale:o,messages:s}=e,[c,l]=Dn(...t),u=I(l.missingWarn)?l.missingWarn:e.missingWarn,d=I(l.fallbackWarn)?l.fallbackWarn:e.fallbackWarn,f=I(l.escapeParameter)?l.escapeParameter:e.escapeParameter,p=!!l.resolvedMessage,m=F(l.default)||I(l.default)?I(l.default)?a?c:()=>c:l.default:n?a?c:()=>c:null,h=n||m!=null&&(F(m)||P(m)),g=gt(e,l);f&&Cn(l);let[_,v,y]=p?[c,g,s[g]||E()]:wn(e,c,g,o,d,u),b=_,x=c;if(!p&&!(F(b)||K(b)||Z(b))&&h&&(b=m,x=b),!p&&(!(F(b)||K(b)||Z(b))||!F(v)))return i?-1:c;let S=!1,C=Z(b)?b:Tn(e,c,v,b,x,()=>{S=!0});if(S)return b;let T=En(e,C,bn(kn(e,v,y,l))),D=r?r(T,c):T;if(f&&F(D)&&(D=A(D)),__INTLIFY_PROD_DEVTOOLS__){let t={timestamp:Date.now(),key:F(c)?c:Z(b)?b.key:``,locale:v||(Z(b)?b.locale:``),format:F(b)?b:Z(b)?b.source:``,message:D};t.meta=w({},e.__meta,Gt()||{}),mt(t)}return D}function Cn(e){N(e.list)?e.list=e.list.map(e=>F(e)?ee(e):e):L(e.named)&&Object.keys(e.named).forEach(t=>{F(e.named[t])&&(e.named[t]=ee(e.named[t]))})}function wn(e,t,n,r,i,a){let{messages:o,onWarn:s,messageResolver:c,localeFallbacker:l}=e,u=l(e,r,n),d=E(),f,p=null;for(let n=0;n<u.length&&(f=u[n],d=o[f]||E(),(p=c(d,t))===null&&(p=d[t]),!(F(p)||K(p)||Z(p)));n++)if(!tn(f,u)){let n=Qt(e,t,f,a,`translate`);n!==t&&(p=n)}return[p,f,d]}function Tn(e,t,n,r,i,a){let{messageCompiler:o,warnHtmlMessage:s}=e;if(Z(r)){let e=r;return e.locale=e.locale||n,e.key=e.key||t,e}if(o==null){let e=(()=>r);return e.locale=n,e.key=t,e}let c=o(r,On(e,n,i,r,s,a));return c.locale=n,c.key=t,c.source=r,c}function En(e,t,n){return t(n)}function Dn(...e){let[t,n,r]=e,i=E();if(!F(t)&&!b(t)&&!Z(t)&&!K(t))throw Y(J.INVALID_ARGUMENT);let a=b(t)?String(t):(Z(t),t);return b(n)?i.plural=n:F(n)?i.default=n:R(n)&&!C(n)?i.named=n:N(n)&&(i.list=n),b(r)?i.plural=r:F(r)?i.default=r:R(r)&&w(i,r),[a,i]}function On(e,t,n,r,i,a){return{locale:t,key:n,warnHtmlMessage:i,onError:e=>{throw a&&a(e),e},onCacheKey:e=>v(t,n,e)}}function kn(e,t,n,r){let{modifiers:i,pluralRules:a,messageResolver:o,fallbackLocale:s,fallbackWarn:c,missingWarn:l,fallbackContext:u}=e,d={locale:t,modifiers:i,pluralRules:a,messages:(r,i)=>{let a=o(n,r);if(a==null&&(u||i)){let[,,n]=wn(u||e,r,t,s,c,l);a=o(n,r)}if(F(a)||K(a)){let n=!1,i=Tn(e,r,t,a,r,()=>{n=!0});return n?xn:i}return Z(a)?a:xn}};return e.processor&&(d.processor=e.processor),r.list&&(d.list=r.list),r.named&&(d.named=r.named),b(r.plural)&&(d.pluralIndex=r.plural),d}Re();var An=`10.0.8`;function jn(){typeof __INTLIFY_PROD_DEVTOOLS__!=`boolean`&&(O().__INTLIFY_PROD_DEVTOOLS__=!1)}var Mn={FALLBACK_TO_ROOT:8,NOT_FOUND_PARENT_SCOPE:9,IGNORE_OBJ_FLATTEN:10,DEPRECATE_TC:11};Mn.FALLBACK_TO_ROOT,Mn.NOT_FOUND_PARENT_SCOPE,Mn.IGNORE_OBJ_FLATTEN,Mn.DEPRECATE_TC;var Q={UNEXPECTED_RETURN_TYPE:24,INVALID_ARGUMENT:25,MUST_BE_CALL_SETUP_TOP:26,NOT_INSTALLED:27,REQUIRED_VALUE:28,INVALID_VALUE:29,CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:30,NOT_INSTALLED_WITH_PROVIDE:31,UNEXPECTED_ERROR:32,NOT_COMPATIBLE_LEGACY_VUE_I18N:33,NOT_AVAILABLE_COMPOSITION_IN_LEGACY:34};function $(e,...t){return B(e,null,void 0)}Q.UNEXPECTED_RETURN_TYPE,Q.INVALID_ARGUMENT,Q.MUST_BE_CALL_SETUP_TOP,Q.NOT_INSTALLED,Q.UNEXPECTED_ERROR,Q.REQUIRED_VALUE,Q.INVALID_VALUE,Q.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN,Q.NOT_INSTALLED_WITH_PROVIDE,Q.NOT_COMPATIBLE_LEGACY_VUE_I18N,Q.NOT_AVAILABLE_COMPOSITION_IN_LEGACY;var Nn=_(`__translateVNode`),Pn=_(`__datetimeParts`),Fn=_(`__numberParts`),In=_(`__setPluralRules`);_(`__intlifyMeta`);var Ln=_(`__injectWithOption`),Rn=_(`__dispose`);function zn(e){if(!L(e)||K(e))return e;for(let t in e)if(M(e,t)){if(!t.includes(`.`))L(e[t])&&zn(e[t]);else{let n=t.split(`.`),r=n.length-1,i=e,a=!1;for(let e=0;e<r;e++){if(n[e]===`__proto__`)throw Error(`unsafe key: ${n[e]}`);if(n[e]in i||(i[n[e]]=E()),!L(i[n[e]])){a=!0;break}i=i[n[e]]}if(a||(K(i)?tt.includes(n[r])||delete e[t]:(i[n[r]]=e[t],delete e[t])),!K(i)){let e=i[n[r]];L(e)&&zn(e)}}}return e}function Bn(e,t){let{messages:n,__i18n:r,messageResolver:i,flatJson:a}=t,o=R(n)?n:N(r)?E():{[e]:E()};if(N(r)&&r.forEach(e=>{if(`locale`in e&&`resource`in e){let{locale:t,resource:n}=e;t?(o[t]=o[t]||E(),se(n,o[t])):se(n,o)}else F(e)&&se(JSON.parse(e),o)}),i==null&&a)for(let e in o)M(o,e)&&zn(o[e]);return o}function Vn(e){return e.type}function Hn(e,t,n){let r=L(t.messages)?t.messages:E();`__i18nGlobal`in n&&(r=Bn(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));let i=Object.keys(r);if(i.length&&i.forEach(t=>{e.mergeLocaleMessage(t,r[t])}),L(t.datetimeFormats)){let n=Object.keys(t.datetimeFormats);n.length&&n.forEach(n=>{e.mergeDateTimeFormat(n,t.datetimeFormats[n])})}if(L(t.numberFormats)){let n=Object.keys(t.numberFormats);n.length&&n.forEach(n=>{e.mergeNumberFormat(n,t.numberFormats[n])})}}function Un(e){return o(s,null,e,0)}var Wn=()=>[],Gn=()=>!1,Kn=0;function qn(e){return((n,r,i,a)=>e(r,i,t()||void 0,a))}function Jn(t={}){let{__root:n,__injectWithOption:r}=t,i=n===void 0,a=t.flatJson,o=g?p:u,s=!I(t.inheritLocale)||t.inheritLocale,c=o(n&&s?n.locale.value:F(t.locale)?t.locale:Ft),d=o(n&&s?n.fallbackLocale.value:F(t.fallbackLocale)||N(t.fallbackLocale)||R(t.fallbackLocale)||t.fallbackLocale===!1?t.fallbackLocale:c.value),f=o(Bn(c.value,t)),m=o(R(t.datetimeFormats)?t.datetimeFormats:{[c.value]:{}}),h=o(R(t.numberFormats)?t.numberFormats:{[c.value]:{}}),_=n?n.missingWarn:I(t.missingWarn)||S(t.missingWarn)?t.missingWarn:!0,v=n?n.fallbackWarn:I(t.fallbackWarn)||S(t.fallbackWarn)?t.fallbackWarn:!0,y=n?n.fallbackRoot:!I(t.fallbackRoot)||t.fallbackRoot,x=!!t.fallbackFormat,C=P(t.missing)?t.missing:null,T=P(t.missing)?qn(t.missing):null,E=P(t.postTranslation)?t.postTranslation:null,D=n?n.warnHtmlMessage:!I(t.warnHtmlMessage)||t.warnHtmlMessage,O=!!t.escapeParameter,ee=n?n.modifiers:R(t.modifiers)?t.modifiers:{},k=t.pluralRules||n&&n.pluralRules,A;A=(()=>{i&&qt(null);let e={version:An,locale:c.value,fallbackLocale:d.value,messages:f.value,modifiers:ee,pluralRules:k,missing:T===null?void 0:T,missingWarn:_,fallbackWarn:v,fallbackFormat:x,unresolving:!0,postTranslation:E===null?void 0:E,warnHtmlMessage:D,escapeParameter:O,messageResolver:t.messageResolver,messageCompiler:t.messageCompiler,__meta:{framework:`vue`}};e.datetimeFormats=m.value,e.numberFormats=h.value,e.__datetimeFormatters=R(A)?A.__datetimeFormatters:void 0,e.__numberFormatters=R(A)?A.__numberFormatters:void 0;let n=Xt(e);return i&&qt(n),n})(),$t(A,c.value,d.value);function j(){return[c.value,d.value,f.value,m.value,h.value]}let te=l({get:()=>c.value,set:e=>{c.value=e,A.locale=c.value}}),ne=l({get:()=>d.value,set:e=>{d.value=e,A.fallbackLocale=d.value,$t(A,c.value,e)}}),re=l(()=>f.value),ie=l(()=>m.value),ae=l(()=>h.value);function oe(){return P(E)?E:null}function ce(e){E=e,A.postTranslation=e}function le(){return C}function z(e){e!==null&&(T=qn(e)),C=e,A.missing=T}let B=(e,t,r,a,o,s)=>{j();let c;try{__INTLIFY_PROD_DEVTOOLS__,i||(A.fallbackContext=n?Jt():void 0),c=e(A)}finally{__INTLIFY_PROD_DEVTOOLS__,i||(A.fallbackContext=void 0)}if(r!==`translate exists`&&b(c)&&c===-1||r===`translate exists`&&!c){let[e,r]=t();return n&&y?a(n):o(e)}if(s(c))return c;throw $(Q.UNEXPECTED_RETURN_TYPE)};function ue(...e){return B(t=>Reflect.apply(Sn,null,[t,...e]),()=>Dn(...e),`translate`,t=>Reflect.apply(t.t,t,[...e]),e=>e,e=>F(e))}function V(...e){let[t,n,r]=e;if(r&&!L(r))throw $(Q.INVALID_ARGUMENT);return ue(t,n,w({resolvedMessage:!0},r||{}))}function de(...e){return B(t=>Reflect.apply(rn,null,[t,...e]),()=>on(...e),`datetime format`,t=>Reflect.apply(t.d,t,[...e]),()=>``,e=>F(e))}function H(...e){return B(t=>Reflect.apply(cn,null,[t,...e]),()=>un(...e),`number format`,t=>Reflect.apply(t.n,t,[...e]),()=>``,e=>F(e))}function fe(e){return e.map(e=>F(e)||b(e)||I(e)?Un(String(e)):e)}let pe={normalize:fe,interpolate:e=>e,type:`vnode`};function me(...e){return B(t=>{let n,r=t;try{r.processor=pe,n=Reflect.apply(Sn,null,[r,...e])}finally{r.processor=null}return n},()=>Dn(...e),`translate`,t=>t[Nn](...e),e=>[Un(e)],e=>N(e))}function U(...e){return B(t=>Reflect.apply(cn,null,[t,...e]),()=>un(...e),`number format`,t=>t[Fn](...e),Wn,e=>F(e)||N(e))}function he(...e){return B(t=>Reflect.apply(rn,null,[t,...e]),()=>on(...e),`datetime format`,t=>t[Pn](...e),Wn,e=>F(e)||N(e))}function ge(e){k=e,A.pluralRules=k}function _e(e,t){return B(()=>{if(!e)return!1;let n=be(F(t)?t:c.value),r=A.messageResolver(n,e);return K(r)||Z(r)||F(r)},()=>[e],`translate exists`,n=>Reflect.apply(n.te,n,[e,t]),Gn,e=>I(e))}function ve(e){let t=null,n=bt(A,d.value,c.value);for(let r=0;r<n.length;r++){let i=f.value[n[r]]||{},a=A.messageResolver(i,e);if(a!=null){t=a;break}}return t}function ye(e){return ve(e)??(n&&n.tm(e)||{})}function be(e){return f.value[e]||{}}function xe(e,t){if(a){let n={[e]:t};for(let e in n)M(n,e)&&zn(n[e]);t=n[e]}f.value[e]=t,A.messages=f.value}function Se(e,t){f.value[e]=f.value[e]||{};let n={[e]:t};if(a)for(let e in n)M(n,e)&&zn(n[e]);t=n[e],se(t,f.value[e]),A.messages=f.value}function Ce(e){return m.value[e]||{}}function W(e,t){m.value[e]=t,A.datetimeFormats=m.value,sn(A,e,t)}function we(e,t){m.value[e]=w(m.value[e]||{},t),A.datetimeFormats=m.value,sn(A,e,t)}function Te(e){return h.value[e]||{}}function Ee(e,t){h.value[e]=t,A.numberFormats=h.value,dn(A,e,t)}function De(e,t){h.value[e]=w(h.value[e]||{},t),A.numberFormats=h.value,dn(A,e,t)}Kn++,n&&g&&(e(n.locale,e=>{s&&(c.value=e,A.locale=e,$t(A,c.value,d.value))}),e(n.fallbackLocale,e=>{s&&(d.value=e,A.fallbackLocale=e,$t(A,c.value,d.value))}));let G={id:Kn,locale:te,fallbackLocale:ne,get inheritLocale(){return s},set inheritLocale(e){s=e,e&&n&&(c.value=n.locale.value,d.value=n.fallbackLocale.value,$t(A,c.value,d.value))},get availableLocales(){return Object.keys(f.value).sort()},messages:re,get modifiers(){return ee},get pluralRules(){return k||{}},get isGlobal(){return i},get missingWarn(){return _},set missingWarn(e){_=e,A.missingWarn=_},get fallbackWarn(){return v},set fallbackWarn(e){v=e,A.fallbackWarn=v},get fallbackRoot(){return y},set fallbackRoot(e){y=e},get fallbackFormat(){return x},set fallbackFormat(e){x=e,A.fallbackFormat=x},get warnHtmlMessage(){return D},set warnHtmlMessage(e){D=e,A.warnHtmlMessage=e},get escapeParameter(){return O},set escapeParameter(e){O=e,A.escapeParameter=e},t:ue,getLocaleMessage:be,setLocaleMessage:xe,mergeLocaleMessage:Se,getPostTranslationHandler:oe,setPostTranslationHandler:ce,getMissingHandler:le,setMissingHandler:z,[In]:ge};return G.datetimeFormats=ie,G.numberFormats=ae,G.rt=V,G.te=_e,G.tm=ye,G.d=de,G.n=H,G.getDateTimeFormat=Ce,G.setDateTimeFormat=W,G.mergeDateTimeFormat=we,G.getNumberFormat=Te,G.setNumberFormat=Ee,G.mergeNumberFormat=De,G[Ln]=r,G[Nn]=me,G[Pn]=he,G[Fn]=U,G}var Yn={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e===`parent`||e===`global`,default:`parent`},i18n:{type:Object}};function Xn({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((e,t)=>[...e,...t.type===d?t.children:[t]],[]):t.reduce((t,n)=>{let r=e[n];return r&&(t[n]=r()),t},E())}function Zn(){return d}var Qn=i({name:`i18n-t`,props:w({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>b(e)||!isNaN(e)}},Yn),setup(e,t){let{slots:n,attrs:r}=t,i=e.i18n||ur({useScope:e.scope,__useComponent:!0});return()=>{let o=Object.keys(n).filter(e=>e!==`_`),s=E();e.locale&&(s.locale=e.locale),e.plural!==void 0&&(s.plural=F(e.plural)?+e.plural:e.plural);let c=Xn(t,o),l=i[Nn](e.keypath,c,s),u=w(E(),r),d=F(e.tag)||L(e.tag)?e.tag:Zn();return a(d,u,l)}}});function $n(e){return N(e)&&!F(e[0])}function er(e,t,n,r){let{slots:i,attrs:o}=t;return()=>{let t={part:!0},s=E();e.locale&&(t.locale=e.locale),F(e.format)?t.key=e.format:L(e.format)&&(F(e.format.key)&&(t.key=e.format.key),s=Object.keys(e.format).reduce((t,r)=>n.includes(r)?w(E(),t,{[r]:e.format[r]}):t,E()));let c=r(e.value,t,s),l=[t.key];N(c)?l=c.map((e,t)=>{let n=i[e.type],r=n?n({[e.type]:e.value,index:t,parts:c}):[e.value];return $n(r)&&(r[0].key=`${e.type}-${t}`),r}):F(c)&&(l=[c]);let u=w(E(),o),d=F(e.tag)||L(e.tag)?e.tag:Zn();return a(d,u,l)}}var tr=i({name:`i18n-n`,props:w({value:{type:Number,required:!0},format:{type:[String,Object]}},Yn),setup(e,t){let n=e.i18n||ur({useScope:e.scope,__useComponent:!0});return er(e,t,ln,(...e)=>n[Fn](...e))}}),nr=i({name:`i18n-d`,props:w({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Yn),setup(e,t){let n=e.i18n||ur({useScope:e.scope,__useComponent:!0});return er(e,t,an,(...e)=>n[Pn](...e))}});function rr(e,t){let n=e;if(e.mode===`composition`)return n.__getInstance(t)||e.global;{let r=n.__getInstance(t);return r==null?e.global.__composer:r.__composer}}function ir(t){let n=e=>{let{instance:n,value:r}=e;if(!n||!n.$)throw $(Q.UNEXPECTED_ERROR);let i=rr(t,n.$),a=ar(r);return[Reflect.apply(i.t,i,[...or(a)]),i]};return{created:(r,i)=>{let[a,o]=n(i);g&&t.global===o&&(r.__i18nWatcher=e(o.locale,()=>{i.instance&&i.instance.$forceUpdate()})),r.__composer=o,r.textContent=a},unmounted:e=>{g&&e.__i18nWatcher&&(e.__i18nWatcher(),e.__i18nWatcher=void 0,delete e.__i18nWatcher),e.__composer&&(e.__composer=void 0,delete e.__composer)},beforeUpdate:(e,{value:t})=>{if(e.__composer){let n=e.__composer,r=ar(t);e.textContent=Reflect.apply(n.t,n,[...or(r)])}},getSSRProps:e=>{let[t]=n(e);return{textContent:t}}}}function ar(e){if(F(e))return{path:e};if(R(e)){if(!(`path`in e))throw $(Q.REQUIRED_VALUE,`path`);return e}throw $(Q.INVALID_VALUE)}function or(e){let{path:t,locale:n,args:r,choice:i,plural:a}=e,o={},s=r||{};return F(n)&&(o.locale=n),b(i)&&(o.plural=i),b(a)&&(o.plural=a),[t,s,o]}function sr(e,t,...n){let r=R(n[0])?n[0]:{};(!I(r.globalInstall)||r.globalInstall)&&([Qn.name,`I18nT`].forEach(t=>e.component(t,Qn)),[tr.name,`I18nN`].forEach(t=>e.component(t,tr)),[nr.name,`I18nD`].forEach(t=>e.component(t,nr))),e.directive(`t`,ir(t))}var cr=_(`global-vue-i18n`);function lr(e={},t){let n=!I(e.globalInjection)||e.globalInjection,r=new Map,[i,a]=dr(e,!1),o=_(``);function s(e){return r.get(e)||null}function c(e,t){r.set(e,t)}function l(e){r.delete(e)}let u={get mode(){return`composition`},async install(e,...t){if(e.__VUE_I18N_SYMBOL__=o,e.provide(e.__VUE_I18N_SYMBOL__,u),R(t[0])){let e=t[0];u.__composerExtend=e.__composerExtend,u.__vueI18nExtend=e.__vueI18nExtend}let r=null;n&&(r=br(e,u.global)),sr(e,u,...t);let i=e.unmount;e.unmount=()=>{r&&r(),u.dispose(),i()}},get global(){return a},dispose(){i.stop()},__instances:r,__getInstance:s,__setInstance:c,__deleteInstance:l};return u}function ur(e={}){let n=t();if(n==null)throw $(Q.MUST_BE_CALL_SETUP_TOP);if(!n.isCE&&n.appContext.app!=null&&!n.appContext.app.__VUE_I18N_SYMBOL__)throw $(Q.NOT_INSTALLED);let r=fr(n),i=mr(r),a=Vn(n),o=pr(e,a);if(o===`global`)return Hn(i,e,a),i;if(o===`parent`){let t=hr(r,n,e.__useComponent);return t??=i,t}let s=r,c=s.__getInstance(n);if(c==null){let t=w({},e);`__i18n`in a&&(t.__i18n=a.__i18n),i&&(t.__root=i),c=Jn(t),s.__composerExtend&&(c[Rn]=s.__composerExtend(c)),_r(s,n,c),s.__setInstance(n,c)}return c}function dr(e,t,n){let r=f(),i=r.run(()=>Jn(e));if(i==null)throw $(Q.UNEXPECTED_ERROR);return[r,i]}function fr(e){let t=n(e.isCE?cr:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw $(e.isCE?Q.NOT_INSTALLED_WITH_PROVIDE:Q.UNEXPECTED_ERROR);return t}function pr(e,t){return C(e)?`__i18n`in t?`local`:`global`:e.useScope?e.useScope:`local`}function mr(e){return e.mode===`composition`?e.global:e.global.__composer}function hr(e,t,n=!1){let r=null,i=t.root,a=gr(t,n);for(;a!=null;){let t=e;if(e.mode===`composition`&&(r=t.__getInstance(a)),r!=null||i===a)break;a=a.parent}return r}function gr(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function _r(e,t,n){r(()=>{},t),m(()=>{let r=n;e.__deleteInstance(t);let i=r[Rn];i&&(i(),delete r[Rn])},t)}var vr=[`locale`,`fallbackLocale`,`availableLocales`],yr=[`t`,`rt`,`d`,`n`,`tm`,`te`];function br(e,t){let n=Object.create(null);return vr.forEach(e=>{let r=Object.getOwnPropertyDescriptor(t,e);if(!r)throw $(Q.UNEXPECTED_ERROR);let i=c(r.value)?{get(){return r.value.value},set(e){r.value.value=e}}:{get(){return r.get&&r.get()}};Object.defineProperty(n,e,i)}),e.config.globalProperties.$i18n=n,yr.forEach(n=>{let r=Object.getOwnPropertyDescriptor(t,n);if(!r||!r.value)throw $(Q.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${n}`,r)}),()=>{delete e.config.globalProperties.$i18n,yr.forEach(t=>{delete e.config.globalProperties[`$${t}`]})}}if(jn(),zt(ut),Vt(Mt),Ut(bt),__INTLIFY_PROD_DEVTOOLS__){let e=O();e.__INTLIFY__=!0,ft(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}export{N as a,F as c,se as i,re as l,ur as n,P as o,w as r,L as s,lr as t};
@@ -1 +0,0 @@
1
- .term-title[data-v-d6946212]{align-items:center;gap:10px;display:inline-flex}.term-brand[data-v-d6946212]{color:#9ece6a;border-radius:var(--radius-panel-sm);background:#9ece6a1a;border:1px solid #9ece6a38;justify-content:center;align-items:center;width:26px;height:26px;font-size:14px;display:flex}.term-name[data-v-d6946212]{letter-spacing:.01em;color:#e6edf3;font-size:13.5px;font-weight:600}.ts-chip[data-v-d6946212]{letter-spacing:.04em;color:#a9b1d6;border-radius:var(--radius-pill);background:#41486842;border:1px solid #9299b329;align-items:center;gap:6px;padding:1px 8px;font-size:10.5px;display:inline-flex}.ts-chip.ts-pid[data-v-d6946212]{color:#7dcfff}.ts-chip.ts-sub[data-v-d6946212]{font-family:var(--font-body);color:#9aa5ce}.ts-dot[data-v-d6946212]{background:#565f89;border-radius:50%;width:6px;height:6px}.ts-chip[data-state=open][data-v-d6946212]{color:#9ece6a;background:#9ece6a1a;border-color:#9ece6a38}.ts-chip[data-state=open] .ts-dot[data-v-d6946212]{background:#9ece6a;animation:2.2s ease-in-out infinite ts-breathe-d6946212}.ts-chip[data-state=retrying][data-v-d6946212]{color:#e0af68;background:#e0af681a;border-color:#e0af683d}.ts-chip[data-state=retrying] .ts-dot[data-v-d6946212]{background:#e0af68;animation:1.1s ease-in-out infinite ts-breathe-d6946212}.ts-chip[data-state=connecting][data-v-d6946212]{color:#7aa2f7}.ts-chip[data-state=connecting] .ts-dot[data-v-d6946212]{background:#7aa2f7;animation:1.1s ease-in-out infinite ts-breathe-d6946212}.ts-chip[data-live=streaming][data-v-d6946212]{color:#7dcfff;background:#7dcfff1a;border-color:#7dcfff3d}.ts-chip[data-live=streaming][data-v-d6946212]:before{content:"";background:#7dcfff;border-radius:50%;width:6px;height:6px;animation:.9s ease-in-out infinite ts-breathe-d6946212}.ts-chip[data-live=running][data-v-d6946212]{color:#e0af68;background:#e0af681a;border-color:#e0af683d}.ts-chip[data-live=running][data-v-d6946212]:before{content:"";background:#e0af68;border-radius:50%;width:6px;height:6px;animation:1.6s ease-in-out infinite ts-breathe-d6946212}.ts-chip[data-live=idle][data-v-d6946212]{color:#565f89}.ts-chip[data-live=idle][data-v-d6946212]:before{content:"";background:#565f89;border-radius:50%;width:6px;height:6px}@keyframes ts-breathe-d6946212{0%,to{opacity:.45}50%{opacity:1}}@media (prefers-reduced-motion:reduce){.ts-chip[data-v-d6946212]:before,.ts-dot[data-v-d6946212]{opacity:.85;animation:none!important}}.term-toolbar[data-v-d6946212]{align-items:center;gap:8px;display:flex}[data-v-d6946212] .ts-btn.ant-btn{color:#c0caf5;background:#4148684d;border:1px solid #9299b32e;align-items:center;gap:5px;transition:background .15s,transform .12s;display:inline-flex}[data-v-d6946212] .ts-btn.ant-btn:hover:not(:disabled){background:#41486880}[data-v-d6946212] .ts-btn.ant-btn:active:not(:disabled){transform:translateY(1px)}[data-v-d6946212] .ts-btn.ant-btn:disabled{opacity:.4}.term-body[data-v-d6946212]{flex-direction:column;flex:1;min-height:0;display:flex;position:relative}.term-host[data-v-d6946212]{flex:1;min-height:0;padding:10px 12px 4px}.term-hint[data-v-d6946212]{color:#d6dee873;background:#10151c;padding:6px 12px 8px}.hitl-card[data-v-d6946212]{z-index:10;border-radius:var(--radius-panel-sm);background:#171e28f7;border:1px solid #bb9af7;width:min(420px,100% - 32px);padding:12px 14px;position:absolute;top:14px;right:16px;box-shadow:0 8px 28px #0000008c}.hitl-head[data-v-d6946212]{color:#bb9af7;align-items:center;gap:8px;margin-bottom:8px;display:flex}.hitl-head>b[data-v-d6946212]{color:#e6edf3}.hitl-head .ant-btn[data-v-d6946212]{margin-left:auto}.hitl-question[data-v-d6946212]{color:#e6edf3;white-space:pre-wrap;margin:0 0 10px;font-weight:600}.hitl-message[data-v-d6946212]{color:#a9b4c0;white-space:pre-wrap;margin:0 0 10px}.hitl-options[data-v-d6946212]{flex-direction:column;gap:6px;max-height:300px;display:flex;overflow:auto}.hitl-options .ant-btn[data-v-d6946212]{text-align:left;white-space:normal;justify-content:flex-start}.hitl-row[data-v-d6946212]{gap:8px;margin-top:10px;display:flex}.hitl-textarea[data-v-d6946212]{margin-top:4px}.omp-terminal-drawer .ant-drawer-header{box-shadow:inset 0 1px #9299b30f;background:linear-gradient(#131a24,#10151c)!important;border-bottom:1px solid #1d2733!important}.omp-terminal-drawer .ant-drawer-header-title{color:#e6edf3}