agentworkshop 0.13.0 → 0.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1049) hide show
  1. package/.output/.AgentWorkShop/aml-python/train-example.py +92 -92
  2. package/.output/nitro.json +1 -1
  3. package/.output/public/_nuxt/{Cy0eCUDp.js → B5KL6Ibd.js} +7 -7
  4. package/.output/public/_nuxt/{CcUK7VEO.js → BEkXmA1q.js} +1 -1
  5. package/.output/public/_nuxt/{BhEXWepB2.js → BhXOXzn62.js} +3 -3
  6. package/.output/public/_nuxt/{tDcrlXNq2.js → Budz_Xqj2.js} +1 -1
  7. package/.output/public/_nuxt/{WL1R8lPA.js → C-fzyZIR.js} +1 -1
  8. package/.output/public/_nuxt/{DvsXN5k72.js → CDkD5qXS2.js} +1 -1
  9. package/.output/public/_nuxt/{DkqV7BGi.js → CNBZIUPj.js} +1 -1
  10. package/.output/public/_nuxt/{B2-Wuy0u.js → CYRJE2AK.js} +1 -1
  11. package/.output/public/_nuxt/{DFo96EtE.js → Ce11XYqU.js} +1 -1
  12. package/.output/public/_nuxt/{DJKjjGnC2.js → Cn9We9Xy2.js} +1 -1
  13. package/.output/public/_nuxt/{BSoelv0a.js → DAXKnIk_.js} +1 -1
  14. package/.output/public/_nuxt/{CljTL3qL.js → DEUPXg3Y.js} +1 -1
  15. package/.output/public/_nuxt/{Dasqfjig2.js → DIgcvUmv2.js} +1 -1
  16. package/.output/public/_nuxt/{CsdezMu9.js → DIua0HEu.js} +5 -5
  17. package/.output/public/_nuxt/{psToi-Y5.js → DTJzL6Ce.js} +1 -1
  18. package/.output/public/_nuxt/{C3--I-an2.js → DrYBHPYn2.js} +1 -1
  19. package/.output/public/_nuxt/{OmpTerminalPanel.DJsn-0I7.css → OmpTerminalPanel.CoA7kG4C.css} +1 -1
  20. package/.output/public/_nuxt/PluginSlot.BqBzLD4T.css +1 -0
  21. package/.output/public/_nuxt/{TownView.CY9AeupT.css → TownView.CASu6sUI.css} +1 -1
  22. package/.output/public/_nuxt/{CmuGMxDP.js → TugRY_4O.js} +1 -1
  23. package/.output/public/_nuxt/{_id_.Czwkl50w.css → _id_.yoM542Bz.css} +1 -1
  24. package/.output/public/_nuxt/{_wsId_.zZS-8BeH.css → _wsId_.1Ai43iyE.css} +1 -1
  25. package/.output/public/_nuxt/{C-0XFiGd2.js → aFWYpex82.js} +1 -1
  26. package/.output/public/_nuxt/{agents.x7WDlalC.css → agents.BsyoIGhn.css} +1 -1
  27. package/.output/public/_nuxt/aml.DgOMpDpv.css +1 -0
  28. package/.output/public/_nuxt/builds/latest.json +1 -1
  29. package/.output/public/_nuxt/builds/meta/fa6e11b2-f4e7-42ac-9006-b3df9b6cf455.json +1 -0
  30. package/.output/public/_nuxt/{default.DJtNhtPB.css → default.Diue5wr2.css} +1 -1
  31. package/.output/public/_nuxt/{logs.DicAHMDv.css → logs.Dp8KWwBk.css} +1 -1
  32. package/.output/public/_nuxt/{monitor.CklbBi4c.css → monitor.DdpDx8NP.css} +1 -1
  33. package/.output/public/_nuxt/{ontology.CjBcnrC8.css → ontology.Clux6c4G.css} +1 -1
  34. package/.output/public/_nuxt/{operations.D7nxVu6G.css → operations.Cng_qjn9.css} +1 -1
  35. package/.output/public/_nuxt/{pages.DHQhmiO9.css → pages.ilC7BTfG.css} +1 -1
  36. package/.output/public/_nuxt/{tokens.BDSUWF-L.css → tokens.DKZWCP5v.css} +1 -1
  37. package/.output/public/favicon.svg +14 -14
  38. package/.output/public/robots.txt +3 -3
  39. package/.output/server/chunks/_/bench-run.mjs +8 -4
  40. package/.output/server/chunks/_/bench-run.mjs.map +1 -1
  41. package/.output/server/chunks/_/nitro.mjs +3564 -3133
  42. package/.output/server/chunks/_/nitro.mjs.map +1 -1
  43. package/.output/server/chunks/_/promote.mjs +7 -1
  44. package/.output/server/chunks/_/promote.mjs.map +1 -1
  45. package/.output/server/chunks/build/{OmpTerminalPanel-BMOE0iKV.mjs → OmpTerminalPanel-DGOdjUKG.mjs} +8 -8
  46. package/.output/server/chunks/build/{OmpTerminalPanel-BMOE0iKV.mjs.map → OmpTerminalPanel-DGOdjUKG.mjs.map} +1 -1
  47. package/.output/server/chunks/build/{PluginSlot-DmxAklwb.mjs → PluginSlot-CGwo_Wf0.mjs} +4 -4
  48. package/.output/server/chunks/build/{PluginSlot-DmxAklwb.mjs.map → PluginSlot-CGwo_Wf0.mjs.map} +1 -1
  49. package/.output/server/chunks/build/{TownView-DD1zY8xq.mjs → TownView-CIs-ASV0.mjs} +20 -20
  50. package/.output/server/chunks/build/{TownView-DD1zY8xq.mjs.map → TownView-CIs-ASV0.mjs.map} +1 -1
  51. package/.output/server/chunks/build/{_id_-B9zi8WEg.mjs → _id_-8hYMEcPj.mjs} +95 -95
  52. package/.output/server/chunks/build/{_id_-B9zi8WEg.mjs.map → _id_-8hYMEcPj.mjs.map} +1 -1
  53. package/.output/server/chunks/build/{_id_-BB-OZCsp.mjs → _id_-CunRhZCq.mjs} +12 -12
  54. package/.output/server/chunks/build/{_id_-BB-OZCsp.mjs.map → _id_-CunRhZCq.mjs.map} +1 -1
  55. package/.output/server/chunks/build/{_id_-DLdvNP4J.mjs → _id_-DW3IQyTe.mjs} +1 -1
  56. package/.output/server/chunks/build/{_id_-DLdvNP4J.mjs.map → _id_-DW3IQyTe.mjs.map} +1 -1
  57. package/.output/server/chunks/build/{_wsId_-LDv5SEW_.mjs → _wsId_-ByUqzpvT.mjs} +187 -91
  58. package/.output/server/chunks/build/{_wsId_-LDv5SEW_.mjs.map → _wsId_-ByUqzpvT.mjs.map} +1 -1
  59. package/.output/server/chunks/build/{agents-DeRHs8c9.mjs → agents-B9dtbYwq.mjs} +10 -10
  60. package/.output/server/chunks/build/{agents-DeRHs8c9.mjs.map → agents-B9dtbYwq.mjs.map} +1 -1
  61. package/.output/server/chunks/build/{aml-DVcZDyvA.mjs → aml-ezsP2X2T.mjs} +98 -98
  62. package/.output/server/chunks/build/{aml-DVcZDyvA.mjs.map → aml-ezsP2X2T.mjs.map} +1 -1
  63. package/.output/server/chunks/build/{analysis-DQM-3YKP.mjs → analysis-DB7joxB_.mjs} +9 -9
  64. package/.output/server/chunks/build/{analysis-DQM-3YKP.mjs.map → analysis-DB7joxB_.mjs.map} +1 -1
  65. package/.output/server/chunks/build/{api-DbUqSbs2.mjs → api-CNgiGJ-n.mjs} +3 -3
  66. package/.output/server/chunks/build/{api-DbUqSbs2.mjs.map → api-CNgiGJ-n.mjs.map} +1 -1
  67. package/.output/server/chunks/build/{api-ByIV5jMN.mjs → api-CaQC12S4.mjs} +3 -3
  68. package/.output/server/chunks/build/{api-ByIV5jMN.mjs.map → api-CaQC12S4.mjs.map} +1 -1
  69. package/.output/server/chunks/build/{api-error-BwAQLw44.mjs → api-error-5fRWoNn3.mjs} +1 -1
  70. package/.output/server/chunks/build/{api-error-BwAQLw44.mjs.map → api-error-5fRWoNn3.mjs.map} +1 -1
  71. package/.output/server/chunks/build/{api-BQ9AQHv-.mjs → api-mAmCCaSy.mjs} +3 -3
  72. package/.output/server/chunks/build/{api-BQ9AQHv-.mjs.map → api-mAmCCaSy.mjs.map} +1 -1
  73. package/.output/server/chunks/build/{apiClient-Dl-8IHHL.mjs → apiClient-DyvJNNRd.mjs} +2 -2
  74. package/.output/server/chunks/build/{apiClient-Dl-8IHHL.mjs.map → apiClient-DyvJNNRd.mjs.map} +1 -1
  75. package/.output/server/chunks/build/{board-CKUuAY_Q.mjs → board-IQvGm0ak.mjs} +4 -4
  76. package/.output/server/chunks/build/{board-CKUuAY_Q.mjs.map → board-IQvGm0ak.mjs.map} +1 -1
  77. package/.output/server/chunks/build/{channel-templates-4Zdu0Eyr.mjs → channel-templates-BcmTFt3Z.mjs} +4 -4
  78. package/.output/server/chunks/build/{channel-templates-4Zdu0Eyr.mjs.map → channel-templates-BcmTFt3Z.mjs.map} +1 -1
  79. package/.output/server/chunks/build/{client-only-qNA2OVV_.mjs → client-only-HhHmV5L2.mjs} +1 -1
  80. package/.output/server/chunks/build/{client-only-qNA2OVV_.mjs.map → client-only-HhHmV5L2.mjs.map} +1 -1
  81. package/.output/server/chunks/build/{daq-B5zlUIlb.mjs → daq-BtcHXZsH.mjs} +14 -14
  82. package/.output/server/chunks/build/{daq-B5zlUIlb.mjs.map → daq-BtcHXZsH.mjs.map} +1 -1
  83. package/.output/server/chunks/build/{data-CdyujjU3.mjs → data-JhBFKJDA.mjs} +2 -2
  84. package/.output/server/chunks/build/{data-CdyujjU3.mjs.map → data-JhBFKJDA.mjs.map} +1 -1
  85. package/.output/server/chunks/build/{dcw-B-eoU7sq.mjs → dcw-DM_WZyz_.mjs} +10 -10
  86. package/.output/server/chunks/build/{dcw-B-eoU7sq.mjs.map → dcw-DM_WZyz_.mjs.map} +1 -1
  87. package/.output/server/chunks/build/{default-Bbyb2qEG.mjs → default-4m4XnpDt.mjs} +28 -28
  88. package/.output/server/chunks/build/{default-Bbyb2qEG.mjs.map → default-4m4XnpDt.mjs.map} +1 -1
  89. package/.output/server/chunks/build/{hitl-B-0NShlx.mjs → hitl-DY7FeN1f.mjs} +2 -2
  90. package/.output/server/chunks/build/{hitl-B-0NShlx.mjs.map → hitl-DY7FeN1f.mjs.map} +1 -1
  91. package/.output/server/chunks/build/{interval-DvHBIIZh.mjs → interval-Di_y-Apg.mjs} +1 -1
  92. package/.output/server/chunks/build/{interval-DvHBIIZh.mjs.map → interval-Di_y-Apg.mjs.map} +1 -1
  93. package/.output/server/chunks/build/{logs-ByxK-myz.mjs → logs-lGNg1Ob6.mjs} +13 -13
  94. package/.output/server/chunks/build/{logs-ByxK-myz.mjs.map → logs-lGNg1Ob6.mjs.map} +1 -1
  95. package/.output/server/chunks/build/{monitor-BWd4h4K9.mjs → monitor-CySt7XKY.mjs} +35 -35
  96. package/.output/server/chunks/build/{monitor-BWd4h4K9.mjs.map → monitor-CySt7XKY.mjs.map} +1 -1
  97. package/.output/server/chunks/build/{ontology-C3WzgG5p.mjs → ontology-3K7B6xnD.mjs} +12 -12
  98. package/.output/server/chunks/build/{ontology-C3WzgG5p.mjs.map → ontology-3K7B6xnD.mjs.map} +1 -1
  99. package/.output/server/chunks/build/{operations-tE63Vy9Z.mjs → operations-D_1Qp6MR.mjs} +19 -19
  100. package/.output/server/chunks/build/{operations-tE63Vy9Z.mjs.map → operations-D_1Qp6MR.mjs.map} +1 -1
  101. package/.output/server/chunks/build/{optimizer-A6UyksVT.mjs → optimizer-BXF9x406.mjs} +4 -4
  102. package/.output/server/chunks/build/{optimizer-A6UyksVT.mjs.map → optimizer-BXF9x406.mjs.map} +1 -1
  103. package/.output/server/chunks/build/{pages-D-cFfP_K.mjs → pages-GV_BTwNx.mjs} +19 -19
  104. package/.output/server/chunks/build/{pages-D-cFfP_K.mjs.map → pages-GV_BTwNx.mjs.map} +1 -1
  105. package/.output/server/chunks/build/{permissions-44GsBS_4.mjs → permissions-Cw0vl9oB.mjs} +2 -2
  106. package/.output/server/chunks/build/{permissions-44GsBS_4.mjs.map → permissions-Cw0vl9oB.mjs.map} +1 -1
  107. package/.output/server/chunks/build/{pipeline-B2TDdGx6.mjs → pipeline-DFAdcH6G.mjs} +4 -4
  108. package/.output/server/chunks/build/{pipeline-B2TDdGx6.mjs.map → pipeline-DFAdcH6G.mjs.map} +1 -1
  109. package/.output/server/chunks/build/{plugins-CfVTAFbT.mjs → plugins-DHYkylxk.mjs} +3 -3
  110. package/.output/server/chunks/build/{plugins-CfVTAFbT.mjs.map → plugins-DHYkylxk.mjs.map} +1 -1
  111. package/.output/server/chunks/build/{projects-taoNPGqx.mjs → projects-C7wHfJhz.mjs} +1 -1
  112. package/.output/server/chunks/build/{projects-taoNPGqx.mjs.map → projects-C7wHfJhz.mjs.map} +1 -1
  113. package/.output/server/chunks/build/{schedules-DnHxYWcd.mjs → schedules-hbbkb2k_.mjs} +3 -3
  114. package/.output/server/chunks/build/{schedules-DnHxYWcd.mjs.map → schedules-hbbkb2k_.mjs.map} +1 -1
  115. package/.output/server/chunks/build/{settings-CLIR9BQz.mjs → settings-BI9az0t8.mjs} +5 -5
  116. package/.output/server/chunks/build/{settings-CLIR9BQz.mjs.map → settings-BI9az0t8.mjs.map} +1 -1
  117. package/.output/server/chunks/build/{studio-CB0a63bK.mjs → studio-C1TA240D.mjs} +4 -4
  118. package/.output/server/chunks/build/{studio-CB0a63bK.mjs.map → studio-C1TA240D.mjs.map} +1 -1
  119. package/.output/server/chunks/build/{teams-DkwgH6Ab.mjs → teams-Cqe-XytC.mjs} +10 -10
  120. package/.output/server/chunks/build/{teams-DkwgH6Ab.mjs.map → teams-Cqe-XytC.mjs.map} +1 -1
  121. package/.output/server/chunks/build/{tokens-yzJOx8lm.mjs → tokens-BRNoXKeS.mjs} +12 -12
  122. package/.output/server/chunks/build/{tokens-yzJOx8lm.mjs.map → tokens-BRNoXKeS.mjs.map} +1 -1
  123. package/.output/server/chunks/build/{tools-Bd7u9FCc.mjs → tools-seI8h6cT.mjs} +3 -3
  124. package/.output/server/chunks/build/{tools-Bd7u9FCc.mjs.map → tools-seI8h6cT.mjs.map} +1 -1
  125. package/.output/server/chunks/build/{town-CyJy_4k5.mjs → town-7mjCZbHa.mjs} +11 -11
  126. package/.output/server/chunks/build/{town-CyJy_4k5.mjs.map → town-7mjCZbHa.mjs.map} +1 -1
  127. package/.output/server/chunks/build/{useAgentHarnessOptions-BkPrqFxg.mjs → useAgentHarnessOptions-BBywiyFz.mjs} +2 -2
  128. package/.output/server/chunks/build/{useAgentHarnessOptions-BkPrqFxg.mjs.map → useAgentHarnessOptions-BBywiyFz.mjs.map} +1 -1
  129. package/.output/server/chunks/build/{useAgentTemplateActions-BftyRRwI.mjs → useAgentTemplateActions-DIfbFIeB.mjs} +3 -3
  130. package/.output/server/chunks/build/{useAgentTemplateActions-BftyRRwI.mjs.map → useAgentTemplateActions-DIfbFIeB.mjs.map} +1 -1
  131. package/.output/server/chunks/build/{useAgentTemplateForm-D7NAXZ59.mjs → useAgentTemplateForm-CNrBkoCe.mjs} +3 -3
  132. package/.output/server/chunks/build/{useAgentTemplateForm-D7NAXZ59.mjs.map → useAgentTemplateForm-CNrBkoCe.mjs.map} +1 -1
  133. package/.output/server/chunks/build/{useAgentTemplatesCatalog-DnqTc0oL.mjs → useAgentTemplatesCatalog-cZwCOaMf.mjs} +2 -2
  134. package/.output/server/chunks/build/{useAgentTemplatesCatalog-DnqTc0oL.mjs.map → useAgentTemplatesCatalog-cZwCOaMf.mjs.map} +1 -1
  135. package/.output/server/chunks/build/{useAmlDatasets-Cr25p62c.mjs → useAmlDatasets-Bzx9Hgvy.mjs} +4 -4
  136. package/.output/server/chunks/build/{useAmlDatasets-Cr25p62c.mjs.map → useAmlDatasets-Bzx9Hgvy.mjs.map} +1 -1
  137. package/.output/server/chunks/build/{useAmlEntities-DBDpqmC3.mjs → useAmlEntities-D-0vyKYy.mjs} +4 -4
  138. package/.output/server/chunks/build/{useAmlEntities-DBDpqmC3.mjs.map → useAmlEntities-D-0vyKYy.mjs.map} +1 -1
  139. package/.output/server/chunks/build/{useAmlEnv-B94CxtjW.mjs → useAmlEnv-6s0jiG6P.mjs} +5 -5
  140. package/.output/server/chunks/build/{useAmlEnv-B94CxtjW.mjs.map → useAmlEnv-6s0jiG6P.mjs.map} +1 -1
  141. package/.output/server/chunks/build/{useAmlExperiments-B2HI1odc.mjs → useAmlExperiments-CDct2Fi9.mjs} +4 -4
  142. package/.output/server/chunks/build/{useAmlExperiments-B2HI1odc.mjs.map → useAmlExperiments-CDct2Fi9.mjs.map} +1 -1
  143. package/.output/server/chunks/build/{useAmlJobs-C-EheCdn.mjs → useAmlJobs-D9Awbb--.mjs} +5 -5
  144. package/.output/server/chunks/build/{useAmlJobs-C-EheCdn.mjs.map → useAmlJobs-D9Awbb--.mjs.map} +1 -1
  145. package/.output/server/chunks/build/{useAmlModels-BqWz2YoO.mjs → useAmlModels-C-XBnv_Y.mjs} +4 -4
  146. package/.output/server/chunks/build/{useAmlModels-BqWz2YoO.mjs.map → useAmlModels-C-XBnv_Y.mjs.map} +1 -1
  147. package/.output/server/chunks/build/{useAmlNotes-nRlk9fOE.mjs → useAmlNotes-Dlfao4VV.mjs} +4 -4
  148. package/.output/server/chunks/build/{useAmlNotes-nRlk9fOE.mjs.map → useAmlNotes-Dlfao4VV.mjs.map} +1 -1
  149. package/.output/server/chunks/build/{useAmlPredict-BQbSLob6.mjs → useAmlPredict-ukN3U9qx.mjs} +4 -4
  150. package/.output/server/chunks/build/{useAmlPredict-BQbSLob6.mjs.map → useAmlPredict-ukN3U9qx.mjs.map} +1 -1
  151. package/.output/server/chunks/build/{useAnalysisFeed-CzZmTTqq.mjs → useAnalysisFeed-CkUZTRH4.mjs} +3 -3
  152. package/.output/server/chunks/build/{useAnalysisFeed-CzZmTTqq.mjs.map → useAnalysisFeed-CkUZTRH4.mjs.map} +1 -1
  153. package/.output/server/chunks/build/{useDaqAddNode-Dr5CfMpU.mjs → useDaqAddNode-C39ycTVO.mjs} +4 -4
  154. package/.output/server/chunks/build/{useDaqAddNode-Dr5CfMpU.mjs.map → useDaqAddNode-C39ycTVO.mjs.map} +1 -1
  155. package/.output/server/chunks/build/{useDaqDetailBinding-BAAoyUdv.mjs → useDaqDetailBinding-W1IABCpN.mjs} +5 -5
  156. package/.output/server/chunks/build/{useDaqDetailBinding-BAAoyUdv.mjs.map → useDaqDetailBinding-W1IABCpN.mjs.map} +1 -1
  157. package/.output/server/chunks/build/{useDaqDetailFrames-4zuFL3Q5.mjs → useDaqDetailFrames-D4GgD2hM.mjs} +4 -4
  158. package/.output/server/chunks/build/{useDaqDetailFrames-4zuFL3Q5.mjs.map → useDaqDetailFrames-D4GgD2hM.mjs.map} +1 -1
  159. package/.output/server/chunks/build/{useDaqDetailHistory-CHrHfBOm.mjs → useDaqDetailHistory-CI9oS-7S.mjs} +4 -4
  160. package/.output/server/chunks/build/{useDaqDetailHistory-CHrHfBOm.mjs.map → useDaqDetailHistory-CI9oS-7S.mjs.map} +1 -1
  161. package/.output/server/chunks/build/{useDaqDetailNode-DDq5osE-.mjs → useDaqDetailNode-igTd232l.mjs} +6 -6
  162. package/.output/server/chunks/build/{useDaqDetailNode-DDq5osE-.mjs.map → useDaqDetailNode-igTd232l.mjs.map} +1 -1
  163. package/.output/server/chunks/build/{useDaqDetailParams-DdOcUvHG.mjs → useDaqDetailParams-CnjIfgfH.mjs} +4 -4
  164. package/.output/server/chunks/build/{useDaqDetailParams-DdOcUvHG.mjs.map → useDaqDetailParams-CnjIfgfH.mjs.map} +1 -1
  165. package/.output/server/chunks/build/{useDaqFilters-Y_NRhP6i.mjs → useDaqFilters-KBObkzwt.mjs} +6 -6
  166. package/.output/server/chunks/build/{useDaqFilters-Y_NRhP6i.mjs.map → useDaqFilters-KBObkzwt.mjs.map} +1 -1
  167. package/.output/server/chunks/build/{useDaqOptimizations-O4JdRYUR.mjs → useDaqOptimizations-D4hhy0HN.mjs} +4 -4
  168. package/.output/server/chunks/build/{useDaqOptimizations-O4JdRYUR.mjs.map → useDaqOptimizations-D4hhy0HN.mjs.map} +1 -1
  169. package/.output/server/chunks/build/{useDaqStream-phwM5tIN.mjs → useDaqStream-CbOC6kpc.mjs} +3 -3
  170. package/.output/server/chunks/build/{useDaqStream-phwM5tIN.mjs.map → useDaqStream-CbOC6kpc.mjs.map} +1 -1
  171. package/.output/server/chunks/build/{useDaqTemplates-lKw2b01d.mjs → useDaqTemplates-DlbjELnY.mjs} +4 -4
  172. package/.output/server/chunks/build/{useDaqTemplates-lKw2b01d.mjs.map → useDaqTemplates-DlbjELnY.mjs.map} +1 -1
  173. package/.output/server/chunks/build/{useDashboardData-BBBMb6v_.mjs → useDashboardData-ObuGQUn-.mjs} +6 -6
  174. package/.output/server/chunks/build/{useDashboardData-BBBMb6v_.mjs.map → useDashboardData-ObuGQUn-.mjs.map} +1 -1
  175. package/.output/server/chunks/build/{useDcwAddNode-CT-oOFom.mjs → useDcwAddNode-C2-oveXf.mjs} +4 -4
  176. package/.output/server/chunks/build/{useDcwAddNode-CT-oOFom.mjs.map → useDcwAddNode-C2-oveXf.mjs.map} +1 -1
  177. package/.output/server/chunks/build/{useDcwCards-COffSnEh.mjs → useDcwCards-Ci4SnZ2L.mjs} +4 -4
  178. package/.output/server/chunks/build/{useDcwCards-COffSnEh.mjs.map → useDcwCards-Ci4SnZ2L.mjs.map} +1 -1
  179. package/.output/server/chunks/build/{useDcwDetailScope-CPYeNib2.mjs → useDcwDetailScope-D4TjOlNs.mjs} +6 -6
  180. package/.output/server/chunks/build/{useDcwDetailScope-CPYeNib2.mjs.map → useDcwDetailScope-D4TjOlNs.mjs.map} +1 -1
  181. package/.output/server/chunks/build/{useDcwDetailTemplates-jXerMgzY.mjs → useDcwDetailTemplates-Ctp3cnKX.mjs} +4 -4
  182. package/.output/server/chunks/build/{useDcwDetailTemplates-jXerMgzY.mjs.map → useDcwDetailTemplates-Ctp3cnKX.mjs.map} +1 -1
  183. package/.output/server/chunks/build/{useDcwFilter-BmuVZkbW.mjs → useDcwFilter-C9wUKqpa.mjs} +4 -4
  184. package/.output/server/chunks/build/{useDcwFilter-BmuVZkbW.mjs.map → useDcwFilter-C9wUKqpa.mjs.map} +1 -1
  185. package/.output/server/chunks/build/{useDcwLedger-Do4JjGEu.mjs → useDcwLedger-BHLSE8A3.mjs} +4 -4
  186. package/.output/server/chunks/build/{useDcwLedger-Do4JjGEu.mjs.map → useDcwLedger-BHLSE8A3.mjs.map} +1 -1
  187. package/.output/server/chunks/build/{useDcwLineMutations-BNx-gh7I.mjs → useDcwLineMutations-C_td-b3V.mjs} +4 -4
  188. package/.output/server/chunks/build/{useDcwLineMutations-BNx-gh7I.mjs.map → useDcwLineMutations-C_td-b3V.mjs.map} +1 -1
  189. package/.output/server/chunks/build/{useDcwLineRun-CbJWDWZl.mjs → useDcwLineRun-CyPb_lDB.mjs} +4 -4
  190. package/.output/server/chunks/build/{useDcwLineRun-CbJWDWZl.mjs.map → useDcwLineRun-CyPb_lDB.mjs.map} +1 -1
  191. package/.output/server/chunks/build/{useDcwParamApprovals-BsoHHvme.mjs → useDcwParamApprovals-DN1-qs9p.mjs} +5 -5
  192. package/.output/server/chunks/build/{useDcwParamApprovals-BsoHHvme.mjs.map → useDcwParamApprovals-DN1-qs9p.mjs.map} +1 -1
  193. package/.output/server/chunks/build/{useDcwProducts-CXNhswqK.mjs → useDcwProducts-Bdk1SsiB.mjs} +4 -4
  194. package/.output/server/chunks/build/{useDcwProducts-CXNhswqK.mjs.map → useDcwProducts-Bdk1SsiB.mjs.map} +1 -1
  195. package/.output/server/chunks/build/{useDcwQuery-CBPkHlA7.mjs → useDcwQuery-93hS351p.mjs} +4 -4
  196. package/.output/server/chunks/build/{useDcwQuery-CBPkHlA7.mjs.map → useDcwQuery-93hS351p.mjs.map} +1 -1
  197. package/.output/server/chunks/build/{useDcwQuickActions-By6bAfeD.mjs → useDcwQuickActions-f7bibIWa.mjs} +4 -4
  198. package/.output/server/chunks/build/{useDcwQuickActions-By6bAfeD.mjs.map → useDcwQuickActions-f7bibIWa.mjs.map} +1 -1
  199. package/.output/server/chunks/build/{useDcwRecipes-ZUNE8GaL.mjs → useDcwRecipes-BHj-tnx4.mjs} +4 -4
  200. package/.output/server/chunks/build/{useDcwRecipes-ZUNE8GaL.mjs.map → useDcwRecipes-BHj-tnx4.mjs.map} +1 -1
  201. package/.output/server/chunks/build/{useDcwStream-CNtMGcR0.mjs → useDcwStream-CFKMvd6A.mjs} +3 -3
  202. package/.output/server/chunks/build/{useDcwStream-CNtMGcR0.mjs.map → useDcwStream-CFKMvd6A.mjs.map} +1 -1
  203. package/.output/server/chunks/build/{useDcwTemplates-B5asHSLs.mjs → useDcwTemplates-Dp2aMCHr.mjs} +4 -4
  204. package/.output/server/chunks/build/{useDcwTemplates-B5asHSLs.mjs.map → useDcwTemplates-Dp2aMCHr.mjs.map} +1 -1
  205. package/.output/server/chunks/build/{useDcwWrites-B0RF3zFE.mjs → useDcwWrites-C3y_ZBMf.mjs} +4 -4
  206. package/.output/server/chunks/build/{useDcwWrites-B0RF3zFE.mjs.map → useDcwWrites-C3y_ZBMf.mjs.map} +1 -1
  207. package/.output/server/chunks/build/{useDeviceTwins-Bqrm2_5w.mjs → useDeviceTwins-q7mxv7QC.mjs} +3 -3
  208. package/.output/server/chunks/build/{useDeviceTwins-Bqrm2_5w.mjs.map → useDeviceTwins-q7mxv7QC.mjs.map} +1 -1
  209. package/.output/server/chunks/build/{useExpConfirmations-BxGYvtvI.mjs → useExpConfirmations-OtBkMdsA.mjs} +3 -3
  210. package/.output/server/chunks/build/{useExpConfirmations-BxGYvtvI.mjs.map → useExpConfirmations-OtBkMdsA.mjs.map} +1 -1
  211. package/.output/server/chunks/build/{useLocalTime-Cz6wyFn6.mjs → useLocalTime-CMw71SWy.mjs} +1 -1
  212. package/.output/server/chunks/build/{useLocalTime-Cz6wyFn6.mjs.map → useLocalTime-CMw71SWy.mjs.map} +1 -1
  213. package/.output/server/chunks/build/{useLogsManual-CIcgIGCP.mjs → useLogsManual-BE7RIjmW.mjs} +4 -4
  214. package/.output/server/chunks/build/{useLogsManual-CIcgIGCP.mjs.map → useLogsManual-BE7RIjmW.mjs.map} +1 -1
  215. package/.output/server/chunks/build/{useLogsQuery-CAkEW5e7.mjs → useLogsQuery-817uGXY4.mjs} +4 -4
  216. package/.output/server/chunks/build/{useLogsQuery-CAkEW5e7.mjs.map → useLogsQuery-817uGXY4.mjs.map} +1 -1
  217. package/.output/server/chunks/build/{useLogsScope-DGFmQgcV.mjs → useLogsScope-Dj7vPHyL.mjs} +4 -4
  218. package/.output/server/chunks/build/{useLogsScope-DGFmQgcV.mjs.map → useLogsScope-Dj7vPHyL.mjs.map} +1 -1
  219. package/.output/server/chunks/build/{useMonitorData-CXJzv8yG.mjs → useMonitorData-DuRxpSqM.mjs} +3 -3
  220. package/.output/server/chunks/build/{useMonitorData-CXJzv8yG.mjs.map → useMonitorData-DuRxpSqM.mjs.map} +1 -1
  221. package/.output/server/chunks/build/{useMonitorFormat-BEESOsgH.mjs → useMonitorFormat-Cd-8qYmg.mjs} +2 -2
  222. package/.output/server/chunks/build/{useMonitorFormat-BEESOsgH.mjs.map → useMonitorFormat-Cd-8qYmg.mjs.map} +1 -1
  223. package/.output/server/chunks/build/{useOperationsFeed-BK8B0A0L.mjs → useOperationsFeed-BtLCSGOe.mjs} +4 -4
  224. package/.output/server/chunks/build/{useOperationsFeed-BK8B0A0L.mjs.map → useOperationsFeed-BtLCSGOe.mjs.map} +1 -1
  225. package/.output/server/chunks/build/{useOpsLog-BFxxz-sT.mjs → useOpsLog--SOdQAEJ.mjs} +3 -3
  226. package/.output/server/chunks/build/{useOpsLog-BFxxz-sT.mjs.map → useOpsLog--SOdQAEJ.mjs.map} +1 -1
  227. package/.output/server/chunks/build/{useRecipeDispatchApprovals-NuH_3Bpu.mjs → useRecipeDispatchApprovals-Cw4rAyyh.mjs} +3 -3
  228. package/.output/server/chunks/build/{useRecipeDispatchApprovals-NuH_3Bpu.mjs.map → useRecipeDispatchApprovals-Cw4rAyyh.mjs.map} +1 -1
  229. package/.output/server/chunks/build/{useTeamActions-B4QCFYq8.mjs → useTeamActions-C1-gUkfR.mjs} +3 -3
  230. package/.output/server/chunks/build/{useTeamActions-B4QCFYq8.mjs.map → useTeamActions-C1-gUkfR.mjs.map} +1 -1
  231. package/.output/server/chunks/build/{useTeamAddMemberDialog-CF0Qb5l7.mjs → useTeamAddMemberDialog-Blejsozp.mjs} +3 -3
  232. package/.output/server/chunks/build/{useTeamAddMemberDialog-CF0Qb5l7.mjs.map → useTeamAddMemberDialog-Blejsozp.mjs.map} +1 -1
  233. package/.output/server/chunks/build/{useTeamCreateDialog-B-P-LG3N.mjs → useTeamCreateDialog-CbAjaxDf.mjs} +2 -2
  234. package/.output/server/chunks/build/{useTeamCreateDialog-B-P-LG3N.mjs.map → useTeamCreateDialog-CbAjaxDf.mjs.map} +1 -1
  235. package/.output/server/chunks/build/{useTeamDeployDialog-DHA-c9Tk.mjs → useTeamDeployDialog-ChGWaFpH.mjs} +3 -3
  236. package/.output/server/chunks/build/{useTeamDeployDialog-DHA-c9Tk.mjs.map → useTeamDeployDialog-ChGWaFpH.mjs.map} +1 -1
  237. package/.output/server/chunks/build/{useTeamPluginDialog-CDf1S9ME.mjs → useTeamPluginDialog-CsFH5fAv.mjs} +3 -3
  238. package/.output/server/chunks/build/{useTeamPluginDialog-CDf1S9ME.mjs.map → useTeamPluginDialog-CsFH5fAv.mjs.map} +1 -1
  239. package/.output/server/chunks/build/{useTeamsCatalog-BHP6g4ON.mjs → useTeamsCatalog-C-Kv-bqB.mjs} +2 -2
  240. package/.output/server/chunks/build/{useTeamsCatalog-BHP6g4ON.mjs.map → useTeamsCatalog-C-Kv-bqB.mjs.map} +1 -1
  241. package/.output/server/chunks/build/{useTokenCreate-Bl6fJXjW.mjs → useTokenCreate-BxBGZYv1.mjs} +2 -2
  242. package/.output/server/chunks/build/{useTokenCreate-Bl6fJXjW.mjs.map → useTokenCreate-BxBGZYv1.mjs.map} +1 -1
  243. package/.output/server/chunks/build/{useTokenRename-CHm_kIgW.mjs → useTokenRename-DVcV-UuH.mjs} +2 -2
  244. package/.output/server/chunks/build/{useTokenRename-CHm_kIgW.mjs.map → useTokenRename-DVcV-UuH.mjs.map} +1 -1
  245. package/.output/server/chunks/build/{useTokensList-DnT_Sn0Q.mjs → useTokensList-BuCdwEVo.mjs} +2 -2
  246. package/.output/server/chunks/build/{useTokensList-DnT_Sn0Q.mjs.map → useTokensList-BuCdwEVo.mjs.map} +1 -1
  247. package/.output/server/chunks/build/{useWorkbenchAuth-DgxFoSli.mjs → useWorkbenchAuth-aKsreLd_.mjs} +2 -2
  248. package/.output/server/chunks/build/{useWorkbenchAuth-DgxFoSli.mjs.map → useWorkbenchAuth-aKsreLd_.mjs.map} +1 -1
  249. package/.output/server/chunks/build/{useWorkbenchWorkspaces-BHRTd7aZ.mjs → useWorkbenchWorkspaces-HOdVtb3d.mjs} +5 -5
  250. package/.output/server/chunks/build/{useWorkbenchWorkspaces-BHRTd7aZ.mjs.map → useWorkbenchWorkspaces-HOdVtb3d.mjs.map} +1 -1
  251. package/.output/server/chunks/build/{useWorkshopApi-PvyApp92.mjs → useWorkshopApi-DNO9IeDM.mjs} +1 -1
  252. package/.output/server/chunks/build/{useWorkshopApi-PvyApp92.mjs.map → useWorkshopApi-DNO9IeDM.mjs.map} +1 -1
  253. package/.output/server/chunks/build/{useWorkshopWs-f5D2dm08.mjs → useWorkshopWs-9bGupjEF.mjs} +4 -4
  254. package/.output/server/chunks/build/{useWorkshopWs-f5D2dm08.mjs.map → useWorkshopWs-9bGupjEF.mjs.map} +1 -1
  255. package/.output/server/chunks/build/{useWorkspaceAuth-cgLRP1X_.mjs → useWorkspaceAuth-DWpYDsif.mjs} +1 -1
  256. package/.output/server/chunks/build/{useWorkspaceAuth-cgLRP1X_.mjs.map → useWorkspaceAuth-DWpYDsif.mjs.map} +1 -1
  257. package/.output/server/chunks/build/{useWorkspaceChannels-C4b7dg1J.mjs → useWorkspaceChannels-DdH-FrSb.mjs} +5 -5
  258. package/.output/server/chunks/build/{useWorkspaceChannels-C4b7dg1J.mjs.map → useWorkspaceChannels-DdH-FrSb.mjs.map} +1 -1
  259. package/.output/server/chunks/build/{users-nLXiihNX.mjs → users-CR8UDaPu.mjs} +1 -1
  260. package/.output/server/chunks/build/{users-nLXiihNX.mjs.map → users-CR8UDaPu.mjs.map} +1 -1
  261. package/.output/server/chunks/build/{workshop-DDci854s.mjs → workshop-DgDYnOBE.mjs} +8 -8
  262. package/.output/server/chunks/build/{workshop-DDci854s.mjs.map → workshop-DgDYnOBE.mjs.map} +1 -1
  263. package/.output/server/chunks/routes/api/workshop/channels/_id/memories/_memoryId/experience.get.mjs +68 -0
  264. package/.output/server/chunks/routes/api/workshop/channels/_id/memories/_memoryId/experience.get.mjs.map +1 -0
  265. package/.output/server/chunks/routes/renderer.mjs +1 -1
  266. package/.output/server/chunks/virtual/entry.mjs +112 -100
  267. package/.output/server/chunks/virtual/entry.mjs.map +1 -1
  268. package/.output/server/chunks/virtual/precomputed.mjs +1 -1
  269. package/.output/server/package.json +1 -1
  270. package/README-zh.md +21 -7
  271. package/README.md +20 -8
  272. package/app/components/AwLogo.vue +75 -75
  273. package/app/components/aml/AmlDatasetFormModal.vue +279 -279
  274. package/app/components/aml/AmlDatasetTable.vue +319 -319
  275. package/app/components/aml/AmlExperimentsTable.vue +142 -142
  276. package/app/components/aml/AmlInfraBanner.vue +23 -23
  277. package/app/components/aml/AmlJobsTable.vue +248 -248
  278. package/app/components/aml/AmlOverviewBar.vue +62 -62
  279. package/app/components/aml/AmlPageHeader.vue +47 -47
  280. package/app/components/aml/AmlPredictConsole.vue +201 -201
  281. package/app/components/app-header/HitlBell.vue +423 -423
  282. package/app/components/daq/DaqAddNodeModal.vue +209 -209
  283. package/app/components/daq/DaqInfraBanner.vue +31 -31
  284. package/app/components/daq/DaqLineBanner.vue +47 -47
  285. package/app/components/daq/DaqOptPanel.vue +197 -197
  286. package/app/components/daq/DaqTemplateModal.vue +246 -246
  287. package/app/components/dashboard/DashboardGaugeBand.vue +78 -78
  288. package/app/components/dashboard/DashboardLineStatePanel.vue +78 -78
  289. package/app/components/dashboard/DashboardNodeStatePanel.vue +46 -46
  290. package/app/components/dashboard/DashboardPipelinePanel.vue +46 -46
  291. package/app/components/dashboard/DashboardTrendPanel.vue +83 -83
  292. package/app/components/dcw/DcwCreateLineModal.vue +105 -105
  293. package/app/components/dcw/DcwDeleteLineModal.vue +73 -73
  294. package/app/components/dcw/DcwDetailTemplateModal.vue +238 -238
  295. package/app/components/dcw/DcwLedgerCard.vue +160 -160
  296. package/app/components/dcw/DcwProductCreateModal.vue +113 -113
  297. package/app/components/dcw/DcwRecipeDispatchHistoryModal.vue +244 -244
  298. package/app/components/dcw/DcwRecipeHistoryModal.vue +165 -165
  299. package/app/components/dcw/DcwRunDataModal.vue +191 -191
  300. package/app/components/dcw/DcwTemplateModal.vue +227 -227
  301. package/app/components/dcw/DcwWriteHistoryCard.vue +96 -96
  302. package/app/components/dcw/ExpConfirmCard.vue +103 -103
  303. package/app/components/dcw/RecipeDispatchApprovalCard.vue +330 -330
  304. package/app/components/logs/LogsPageHead.vue +122 -122
  305. package/app/components/monitor/MonitorAgentTable.vue +143 -143
  306. package/app/components/monitor/MonitorChannelTable.vue +80 -80
  307. package/app/components/monitor/MonitorLoginGate.vue +24 -24
  308. package/app/components/monitor/MonitorPageHead.vue +92 -92
  309. package/app/components/monitor/MonitorProcessTable.vue +159 -159
  310. package/app/components/ontology/OntologyGraph.vue +356 -356
  311. package/app/components/operations/OperationsFilterCard.vue +164 -164
  312. package/app/components/operations/OperationsPageHead.vue +47 -47
  313. package/app/components/tokens/TokenCreateModal.vue +42 -42
  314. package/app/components/tokens/TokenOnceModal.vue +164 -164
  315. package/app/components/tokens/TokenRenameModal.vue +40 -40
  316. package/app/components/tokens/TokensPageHead.vue +76 -76
  317. package/app/components/workshop/A2aRpcDebugger.vue +237 -237
  318. package/app/components/workshop/AgentLanesView.vue +278 -278
  319. package/app/components/workshop/ArtifactCard.vue +120 -120
  320. package/app/components/workshop/DaqTemplateIcon.vue +33 -33
  321. package/app/components/workshop/MemoryPanel.vue +81 -0
  322. package/app/components/workshop/PluginSlot.vue +120 -120
  323. package/app/components/workshop/TranscriptTimeline.vue +223 -223
  324. package/app/components/workshop/blocks/EventBlockAvatar.vue +114 -114
  325. package/app/components/workshop/composer/ReplyChip.vue +65 -65
  326. package/app/components/workshop/lanes/AddMemberModal.vue +270 -270
  327. package/app/components/workshop/lanes/EditMemberModal.vue +106 -106
  328. package/app/components/workshop/lanes/LanesToolbar.vue +97 -97
  329. package/app/components/workshop/session-list/SaveTemplateModal.vue +93 -93
  330. package/app/components/workshop/task-board/Card.vue +172 -172
  331. package/app/components/workshop/task-board/Column.vue +151 -151
  332. package/app/components/workshop/task-board/List.vue +157 -157
  333. package/app/components/workshop/task-board/StatusMenu.vue +88 -88
  334. package/app/components/workshop/teams/TeamAddMemberModal.vue +53 -53
  335. package/app/components/workshop/teams/TeamDeployModal.vue +40 -40
  336. package/app/components/workshop/terminal/TerminalHitlCard.vue +170 -170
  337. package/app/components/workshop/town/TownScene.ts +466 -466
  338. package/app/components/workshop/town/components/AutoModeConfirmModal.vue +94 -94
  339. package/app/components/workshop/town/components/TownLoadingMask.vue +61 -61
  340. package/app/components/workshop/town/components/TownStage.vue +281 -281
  341. package/app/components/workshop/town/scene/town-scene-agents.ts +254 -254
  342. package/app/components/workshop/town/scene/town-scene-behavior.ts +194 -194
  343. package/app/components/workshop/town/scene/town-scene-bubbles.ts +96 -96
  344. package/app/components/workshop/town/scene/town-scene-core.ts +158 -158
  345. package/app/components/workshop/town/scene/town-scene-models.ts +109 -109
  346. package/app/components/workshop/town/scene/town-scene-visuals.ts +279 -279
  347. package/app/components/workshop/town/scene/town-scene3d-agents.ts +308 -308
  348. package/app/components/workshop/town/scene/town-scene3d-blocks.ts +297 -297
  349. package/app/components/workshop/town/scene/town-scene3d-bubbles.ts +281 -281
  350. package/app/components/workshop/town/scene/town-scene3d-camera.ts +282 -282
  351. package/app/components/workshop/town/scene/town-scene3d-devices.ts +433 -433
  352. package/app/components/workshop/town/scene/town-scene3d-editing.ts +490 -490
  353. package/app/components/workshop/town/scene/town-scene3d-events.ts +173 -173
  354. package/app/components/workshop/town/scene/town-scene3d-factory.ts +412 -412
  355. package/app/components/workshop/town/scene/town-scene3d-hud.ts +110 -110
  356. package/app/components/workshop/town/scene/town-scene3d-lifecycle.ts +144 -144
  357. package/app/components/workshop/town/scene/town-scene3d-links.ts +141 -141
  358. package/app/components/workshop/town/scene/town-scene3d-loop.ts +286 -286
  359. package/app/components/workshop/town/scene/town-scene3d-models.ts +154 -154
  360. package/app/components/workshop/town/scene/town-scene3d-nodes.ts +562 -562
  361. package/app/components/workshop/town/scene/town-scene3d-ranges.ts +273 -273
  362. package/app/components/workshop/town/scene/town-scene3d-renderer.ts +320 -320
  363. package/app/components/workshop/town/scene/town-scene3d-selection.ts +257 -257
  364. package/app/components/workshop/town/scene/town-scene3d-types.ts +264 -264
  365. package/app/components/workshop/transcript/TranscriptBlockList.vue +68 -68
  366. package/app/components/workshop/workbench/CreateWorkspaceModal.vue +36 -36
  367. package/app/composables/useResponsive.ts +88 -88
  368. package/app/composables/workshop/device-twin-types.ts +29 -29
  369. package/app/composables/workshop/event-blocks/clusterer.ts +231 -231
  370. package/app/composables/workshop/event-blocks/fold-stream.ts +45 -45
  371. package/app/composables/workshop/event-blocks/markdown.ts +81 -81
  372. package/app/composables/workshop/event-blocks/mentions.ts +49 -49
  373. package/app/composables/workshop/event-blocks/text-utils.ts +100 -100
  374. package/app/composables/workshop/event-blocks/types.ts +40 -40
  375. package/app/composables/workshop/town/town-relay-props.ts +231 -231
  376. package/app/composables/workshop/town/town-view-types.ts +145 -145
  377. package/app/composables/workshop/town/useTownAlarms.ts +36 -36
  378. package/app/composables/workshop/town/useTownCallouts.ts +174 -174
  379. package/app/composables/workshop/town/useTownChannels.ts +220 -220
  380. package/app/composables/workshop/town/useTownHealth.ts +66 -66
  381. package/app/composables/workshop/town/useTownHudTickers.ts +77 -77
  382. package/app/composables/workshop/town/useTownLayout.ts +277 -277
  383. package/app/composables/workshop/town/useTownNavMap.ts +301 -301
  384. package/app/composables/workshop/town/useTownNodeBindings.ts +345 -345
  385. package/app/composables/workshop/town/useTownPanelDrag.ts +91 -91
  386. package/app/composables/workshop/town/useTownSceneControl.ts +92 -92
  387. package/app/composables/workshop/town/useTownSceneInput.ts +275 -275
  388. package/app/composables/workshop/town/useTownSceneRuntime.ts +390 -390
  389. package/app/composables/workshop/town/useTownSheets.ts +41 -41
  390. package/app/composables/workshop/town/useTownTrends.ts +93 -93
  391. package/app/composables/workshop/useChannelList.ts +88 -88
  392. package/app/composables/workshop/useChannelTerminals.ts +65 -65
  393. package/app/composables/workshop/useComposerMentions.ts +130 -130
  394. package/app/composables/workshop/useDeviceTwinDcwWrite.ts +77 -77
  395. package/app/composables/workshop/useDeviceTwinPanel.ts +56 -56
  396. package/app/composables/workshop/useEscClose.ts +44 -44
  397. package/app/composables/workshop/useEventBlockView.ts +159 -159
  398. package/app/composables/workshop/useEventBlocks.ts +33 -33
  399. package/app/composables/workshop/useHitlAnswer.ts +184 -184
  400. package/app/composables/workshop/useLaneWidths.ts +27 -27
  401. package/app/composables/workshop/useOpsLog.ts +191 -191
  402. package/app/composables/workshop/usePluginPanels.ts +72 -72
  403. package/app/composables/workshop/useRuntimeConfigDraft.ts +118 -118
  404. package/app/composables/workshop/useSettingsGroups.ts +243 -243
  405. package/app/composables/workshop/useTaskBoardColumns.ts +47 -47
  406. package/app/composables/workshop/useTerminalRenderer.ts +308 -308
  407. package/app/composables/workshop/useTranscriptEnterStage.ts +48 -48
  408. package/app/composables/workshop/useTranscriptHistory.ts +52 -52
  409. package/app/composables/workshop/useTranscriptScroll.ts +113 -113
  410. package/app/composables/workshop/useVisibleInterval.ts +42 -42
  411. package/app/config/index.ts +1 -1
  412. package/app/middleware/locale-cookie.global.ts +22 -22
  413. package/app/pages/aml/api.ts +6 -6
  414. package/app/pages/aml/composables/useAmlDatasets.ts +38 -38
  415. package/app/pages/aml/composables/useAmlEntities.ts +57 -57
  416. package/app/pages/aml/composables/useAmlEnv.ts +191 -191
  417. package/app/pages/aml/composables/useAmlExperiments.ts +45 -45
  418. package/app/pages/aml/composables/useAmlFormat.ts +44 -44
  419. package/app/pages/aml/composables/useAmlJobs.ts +131 -131
  420. package/app/pages/aml/composables/useAmlModels.ts +56 -56
  421. package/app/pages/aml/composables/useAmlNotes.ts +47 -47
  422. package/app/pages/aml/composables/useAmlPredict.ts +93 -93
  423. package/app/pages/aml/constants.ts +63 -63
  424. package/app/pages/aml/index.vue +236 -236
  425. package/app/pages/daq/composables/useDaqAddNode.ts +126 -126
  426. package/app/pages/daq/composables/useDaqDetailBinding.ts +29 -29
  427. package/app/pages/daq/composables/useDaqDetailFrames.ts +42 -42
  428. package/app/pages/daq/composables/useDaqDetailNode.ts +53 -53
  429. package/app/pages/daq/composables/useDaqDetailParams.ts +138 -138
  430. package/app/pages/daq/composables/useDaqFilters.ts +187 -187
  431. package/app/pages/daq/composables/useDaqNodeWindow.ts +86 -86
  432. package/app/pages/daq/composables/useDaqTemplates.ts +152 -152
  433. package/app/pages/dcw/composables/useDcwCards.ts +27 -27
  434. package/app/pages/dcw/composables/useDcwDetailScope.ts +145 -145
  435. package/app/pages/dcw/composables/useDcwDetailTemplates.ts +94 -94
  436. package/app/pages/dcw/composables/useDcwFilter.ts +29 -29
  437. package/app/pages/dcw/composables/useDcwLedger.ts +34 -34
  438. package/app/pages/dcw/composables/useDcwLineMutations.ts +115 -115
  439. package/app/pages/dcw/composables/useDcwLineRun.ts +60 -60
  440. package/app/pages/dcw/composables/useDcwProducts.ts +54 -54
  441. package/app/pages/dcw/composables/useDcwQuery.ts +68 -68
  442. package/app/pages/dcw/composables/useDcwQuickActions.ts +47 -47
  443. package/app/pages/dcw/index.vue +195 -195
  444. package/app/pages/dcw/types.ts +9 -9
  445. package/app/pages/logs/composables/useLogsFormat.ts +43 -43
  446. package/app/pages/logs/composables/useLogsManual.ts +71 -71
  447. package/app/pages/logs/composables/useLogsScope.ts +39 -39
  448. package/app/pages/monitor/types.ts +61 -61
  449. package/app/pages/tokens/composables/useTokenClipboard.ts +33 -33
  450. package/app/pages/tokens/composables/useTokenCreate.ts +93 -93
  451. package/app/pages/tokens/composables/useTokenRename.ts +54 -54
  452. package/app/pages/tokens/composables/useTokenReveal.ts +84 -84
  453. package/app/pages/tokens/composables/useTokensList.ts +60 -60
  454. package/app/pages/tokens.vue +111 -111
  455. package/app/pages/workshop/agents.vue +130 -130
  456. package/app/pages/workshop/composables/useAgentTemplateActions.ts +42 -42
  457. package/app/pages/workshop/composables/useAgentTemplateDialogState.ts +24 -24
  458. package/app/pages/workshop/composables/useAgentTemplateForm.ts +88 -88
  459. package/app/pages/workshop/composables/useAgentTemplatesCatalog.ts +92 -92
  460. package/app/pages/workshop/composables/useTeamActions.ts +44 -44
  461. package/app/pages/workshop/composables/useTeamAddMemberDialog.ts +49 -49
  462. package/app/pages/workshop/composables/useTeamDeployDialog.ts +49 -49
  463. package/app/pages/workshop/composables/useTeamDialogState.ts +46 -46
  464. package/app/pages/workshop/composables/useTeamPluginDialog.ts +72 -72
  465. package/app/pages/workshop/composables/useTeamsCatalog.ts +100 -100
  466. package/app/pages/workshop/composables/useWorkbenchWorkspaces.ts +123 -123
  467. package/app/pages/workshop/composables/useWorkspaceAuth.ts +31 -31
  468. package/app/plugins/esc-close.client.ts +31 -31
  469. package/app/stores/workshop/hitl.ts +183 -183
  470. package/app/stores/workshop/narrow-fetch.ts +23 -23
  471. package/app/utils/api-error.ts +75 -75
  472. package/app/utils/builtin-catalog.ts +104 -104
  473. package/app/utils/chart-trend.ts +97 -97
  474. package/app/utils/dcw-driver-badge.ts +16 -16
  475. package/app/utils/dcw-recipe-form.ts +26 -26
  476. package/cli/commands/tui.mjs +28 -28
  477. package/cli/commands/update.mjs +124 -124
  478. package/cli/core/child-lifecycle.mjs +136 -136
  479. package/cli/core/meta.mjs +38 -38
  480. package/config.yml +1 -1
  481. package/docker-compose.yml +69 -69
  482. package/docs/cli.en.md +1 -1
  483. package/docs/cli.md +1 -1
  484. package/docs/multi-harness-architecture.md +248 -248
  485. package/docs/plugins.en.md +2 -2
  486. package/docs/plugins.md +2 -2
  487. package/docs/sdk.en.md +1 -1
  488. package/docs/sdk.md +1 -1
  489. package/docs/tui.md +43 -43
  490. package/i18n/dicts/_en.json +1551 -1551
  491. package/i18n/dicts/_en2.json +300 -300
  492. package/i18n/dicts/_en4.json +114 -114
  493. package/i18n/dicts/agentLanesView.json +61 -61
  494. package/i18n/dicts/appHeader.json +17 -17
  495. package/i18n/dicts/channelSessionList.json +51 -51
  496. package/i18n/dicts/clusterTool.json +4 -4
  497. package/i18n/dicts/composer.json +38 -38
  498. package/i18n/dicts/ctpl.json +37 -37
  499. package/i18n/dicts/lineOps.json +14 -14
  500. package/i18n/dicts/multiChannelView.json +13 -13
  501. package/i18n/dicts/notifications.json +13 -13
  502. package/i18n/dicts/taskInspectorDrawer.json +25 -25
  503. package/i18n/dicts/teamPlugins.json +10 -10
  504. package/i18n/dicts/townView.json +211 -211
  505. package/i18n/locales/en.ts +6 -0
  506. package/i18n/locales/zh-CN.ts +6 -0
  507. package/mcp/discovery.mjs +227 -227
  508. package/package.json +1 -1
  509. package/public/favicon.svg +14 -14
  510. package/public/robots.txt +3 -3
  511. package/scripts/_audit/_live-mqtt-e2e-20261028.mjs +219 -219
  512. package/scripts/_audit/audit-harness-adapters.md +664 -664
  513. package/scripts/_audit/aw-mcp-live-e2e.mjs +293 -293
  514. package/scripts/_audit/bump-version.mjs +51 -51
  515. package/scripts/_audit/demo-shot-studio.mjs +37 -37
  516. package/scripts/_audit/demo-shots.mjs +38 -38
  517. package/scripts/_audit/detached-instance.mjs +112 -112
  518. package/scripts/_audit/detached-start.mjs +103 -103
  519. package/scripts/_audit/eda-ui-fix-acceptance.mjs +212 -212
  520. package/scripts/_audit/gen-demo-report.py +69 -69
  521. package/scripts/_audit/governed-learning-evidence.mjs +51 -0
  522. package/scripts/_audit/governed-main-audit.mjs +60 -0
  523. package/scripts/_audit/guard-upstream-liveness.mjs +104 -104
  524. package/scripts/_audit/http-api-authz-audit.md +657 -657
  525. package/scripts/_audit/kb-team-mock-e2e.mjs +146 -146
  526. package/scripts/_audit/kb-team-omp-e2e.mjs +229 -229
  527. package/scripts/_audit/kill-acceptance-strays.mjs +47 -47
  528. package/scripts/_audit/mqtt-pub.mjs +13 -13
  529. package/scripts/_audit/mqtt-topic-probe.mjs +15 -15
  530. package/scripts/_audit/prompt-injection-probe.mts +76 -76
  531. package/scripts/_audit/proto-b3-device-4021.mjs +90 -90
  532. package/scripts/_audit/proto-doc-broker-20261031.mjs +11 -11
  533. package/scripts/_audit/proto-doc-device-20261031.mjs +53 -53
  534. package/scripts/_audit/proto-doc-mqtt-20261031.mjs +32 -32
  535. package/scripts/_audit/run-full-acceptance-20261030.sh +82 -82
  536. package/scripts/_audit/run.mjs +21 -21
  537. package/scripts/_audit/runtime-audit.md +716 -716
  538. package/scripts/_audit/skills-guided-e2e.mjs +316 -316
  539. package/scripts/_audit/stability-soak.mjs +252 -252
  540. package/scripts/_audit/stubs/nuxt-imports.mjs +67 -67
  541. package/scripts/_audit/ts-register-hook.mjs +12 -12
  542. package/scripts/_audit/ts-resolve-hook.mjs +96 -96
  543. package/scripts/_aw0746-stage12.mjs +94 -94
  544. package/scripts/_aw0746-stage34.mjs +136 -136
  545. package/scripts/_aw0746-stage6b-train-sweep.mjs +145 -145
  546. package/scripts/_aw0746-stage6c-jobsmoke.mjs +69 -69
  547. package/scripts/_dbg-configroot-audit.mjs +86 -86
  548. package/scripts/_dbg-daq-intervals-func.mjs +115 -115
  549. package/scripts/_dbg-perms-e2e.mjs +142 -142
  550. package/scripts/_dbg-protocol-matrix.mjs +462 -462
  551. package/scripts/_dbg-render-regression.mjs +193 -193
  552. package/scripts/_dbg-schedule-e2e.mjs +262 -262
  553. package/scripts/_e2e-ui-functional.mjs +371 -371
  554. package/scripts/_lib-aml-python-run.mjs +17 -17
  555. package/scripts/_plc-sim-detached.cjs +22 -22
  556. package/scripts/_provision-injection-line.mjs +39 -39
  557. package/scripts/_run-matrix.ps1 +53 -53
  558. package/scripts/_sweep-button-contrast.mjs +87 -87
  559. package/scripts/acceptance-aml-hybrid-e2e.ts +396 -396
  560. package/scripts/acceptance-aml-hybrid-live.mjs +93 -93
  561. package/scripts/acceptance-aml-model-identity.ts +137 -137
  562. package/scripts/acceptance-governed-product-learning.mjs +110 -0
  563. package/scripts/agent-daq-isolation-e2e.mjs +91 -91
  564. package/scripts/api-contract-smoke.mjs +126 -126
  565. package/scripts/ask-hitl-e2e.mjs +96 -96
  566. package/scripts/aw-expose.mjs +159 -159
  567. package/scripts/channel-interaction-smoke.mjs +80 -80
  568. package/scripts/data-studio-ui-e2e.mjs +163 -163
  569. package/scripts/demo/build-provision-config.mjs +48 -48
  570. package/scripts/demo/create-demo-templates.mjs +84 -84
  571. package/scripts/demo-group-chat-all-real.ts +279 -279
  572. package/scripts/dev-modbus-simulator.mjs +55 -55
  573. package/scripts/docs-shots.mjs +36 -36
  574. package/scripts/e2e-agentteam-chat.mjs +473 -473
  575. package/scripts/e2e-agentteam-goal-closure.mjs +496 -496
  576. package/scripts/e2e-agentteam-real-triage.mjs +421 -421
  577. package/scripts/e2e-aml-decoupled.mjs +162 -162
  578. package/scripts/e2e-analysis-ledger.mjs +202 -202
  579. package/scripts/e2e-aw-tui-global.mjs +277 -277
  580. package/scripts/e2e-binding-modes-real.mjs +442 -442
  581. package/scripts/e2e-business-loop-real.mjs +391 -391
  582. package/scripts/e2e-closedloop/cleanup.mjs +27 -27
  583. package/scripts/e2e-closedloop/lib.mjs +109 -109
  584. package/scripts/e2e-closedloop/main.mjs +59 -59
  585. package/scripts/e2e-closedloop/scenarios-accounts.mjs +210 -210
  586. package/scripts/e2e-closedloop/scenarios-authz.mjs +196 -196
  587. package/scripts/e2e-closedloop/scenarios-daq-dcw.mjs +222 -222
  588. package/scripts/e2e-closedloop/scenarios-plugins.mjs +169 -169
  589. package/scripts/e2e-closedloop/state.mjs +10 -10
  590. package/scripts/e2e-config-groups.mjs +238 -238
  591. package/scripts/e2e-core-bridges-matrix.mjs +303 -303
  592. package/scripts/e2e-crash-cycle.mjs +108 -108
  593. package/scripts/e2e-dcw-halfopen-resilience.mjs +140 -140
  594. package/scripts/e2e-error-handling.mjs +190 -190
  595. package/scripts/e2e-full-closedloop.mjs +16 -16
  596. package/scripts/e2e-golive-matrix.mjs +515 -515
  597. package/scripts/e2e-hil-multi-user.mjs +307 -307
  598. package/scripts/e2e-hil-restart.mjs +339 -339
  599. package/scripts/e2e-idd-results-ui.mjs +182 -182
  600. package/scripts/e2e-line-governance.mjs +352 -352
  601. package/scripts/e2e-mes-mirror-real.mjs +427 -427
  602. package/scripts/e2e-multiexpert-remediation-real.mjs +453 -453
  603. package/scripts/e2e-node-binding-3mode-real.mjs +792 -792
  604. package/scripts/e2e-node-binding-authz.mjs +372 -372
  605. package/scripts/e2e-ontology.mjs +393 -393
  606. package/scripts/e2e-paper-paired-route.mjs +791 -791
  607. package/scripts/e2e-physical-effect-real.mjs +572 -572
  608. package/scripts/e2e-plc-plugin-closedloop.mjs +549 -549
  609. package/scripts/e2e-real-channel-mission.mjs +543 -543
  610. package/scripts/e2e-security-b0.mjs +280 -280
  611. package/scripts/e2e-security-b1.mjs +165 -165
  612. package/scripts/e2e-security-b2b5.mjs +280 -280
  613. package/scripts/full-stack-shots.mjs +145 -145
  614. package/scripts/full-tool-injection-harness-e2e.mjs +214 -214
  615. package/scripts/generate-identifiability-fixtures.ts +98 -98
  616. package/scripts/hitl-reject-e2e.mjs +131 -131
  617. package/scripts/line-log-smoke.mjs +260 -260
  618. package/scripts/live-aml-mockomp.mjs +304 -304
  619. package/scripts/live-aml-optloop-resume.mjs +322 -322
  620. package/scripts/live-aml-optloop.mjs +588 -588
  621. package/scripts/live-aml-stage9.mjs +169 -169
  622. package/scripts/live-aml-two-goals.mjs +315 -315
  623. package/scripts/live-demo-seed.mjs +157 -157
  624. package/scripts/live-optloop-two-modes.mjs +857 -857
  625. package/scripts/mes-agent-integration-e2e.mjs +361 -361
  626. package/scripts/ops-plugins-e2e.mjs +85 -85
  627. package/scripts/scenario-suite-setup.mjs +337 -337
  628. package/scripts/scenario-suite-stability.mjs +144 -144
  629. package/scripts/security-acceptance.mjs +218 -218
  630. package/scripts/team-coordination-e2e.mjs +96 -96
  631. package/scripts/test-agentteam-workflow.ts +472 -472
  632. package/scripts/test-daq-frame-race.mjs +358 -358
  633. package/scripts/test-data-root.mjs +208 -208
  634. package/scripts/test-events-index.mjs +176 -176
  635. package/scripts/test-group-chat-unit/lib.ts +186 -186
  636. package/scripts/test-group-chat-unit/main.ts +45 -45
  637. package/scripts/test-group-chat-unit.ts +35 -35
  638. package/scripts/test-hitl-decision.ts +526 -526
  639. package/scripts/test-hitl-registry.ts +112 -112
  640. package/scripts/test-log-flooding.mjs +160 -160
  641. package/scripts/test-lru.mjs +101 -101
  642. package/scripts/test-plugin-hardening.mjs +90 -90
  643. package/scripts/test-plugin-lifecycle.mjs +173 -173
  644. package/scripts/test-rollback-index.mjs +137 -137
  645. package/scripts/test-schedule-runtime.ts +309 -309
  646. package/scripts/test-sdk-surface.mjs +158 -158
  647. package/scripts/test-serial-bridge.mjs +418 -418
  648. package/scripts/test-tui-commands.mjs +148 -148
  649. package/scripts/test-tui-reducers.mjs +72 -72
  650. package/scripts/three-system-e2e/lib.mjs +79 -79
  651. package/scripts/three-system-e2e/main.mjs +40 -40
  652. package/scripts/three-system-e2e/phases/phase-0-user-token.mjs +42 -42
  653. package/scripts/three-system-e2e/phases/phase-0a2-line-autoselect.mjs +35 -35
  654. package/scripts/three-system-e2e/phases/phase-0b-fixture-grants.mjs +39 -39
  655. package/scripts/three-system-e2e/phases/phase-0c-plugin-outbound-auth.mjs +95 -95
  656. package/scripts/three-system-e2e/phases/stage-1-health.mjs +47 -47
  657. package/scripts/three-system-e2e/phases/stage-2-5-team-plugins.mjs +84 -84
  658. package/scripts/three-system-e2e/phases/stage-2-teams-tools-hitl.mjs +184 -184
  659. package/scripts/three-system-e2e/phases/stage-3-diag.mjs +73 -73
  660. package/scripts/three-system-e2e/phases/stage-4-plugin-toggle.mjs +53 -53
  661. package/scripts/three-system-e2e/state.mjs +87 -87
  662. package/scripts/three-system-e2e.mjs +40 -40
  663. package/scripts/tool-face-batch-identity-e2e.mjs +222 -222
  664. package/scripts/tsconfig.json +14 -14
  665. package/scripts/tui-smoke.mjs +100 -100
  666. package/scripts/typecheck.mjs +75 -75
  667. package/scripts/ui/md-lint.mjs +80 -80
  668. package/scripts/ui/readme-assets.mjs +30 -30
  669. package/scripts/ui/readme-shots.mjs +42 -42
  670. package/scripts/ui/record-demo.mjs +557 -557
  671. package/scripts/ui/record.mjs +225 -225
  672. package/scripts/ui/seed-admin.mjs +68 -68
  673. package/scripts/ui/seed-demo.mjs +83 -83
  674. package/scripts/ui/seed-industrial-demo.mjs +171 -171
  675. package/scripts/ui/shots.mjs +75 -75
  676. package/scripts/ui/verify-nav.mjs +51 -51
  677. package/scripts/ui/verify-responsive.mjs +285 -285
  678. package/sdk/client.d.mts +110 -110
  679. package/sdk/examples/line-sentinel/index.mjs +105 -105
  680. package/sdk/examples/ops-notifier/index.mjs +34 -34
  681. package/sdk/examples/sample-insight/index.mjs +39 -39
  682. package/server/api/plugins/client/[name].get.ts +18 -18
  683. package/server/api/plugins/i18n.get.ts +12 -12
  684. package/server/api/plugins/manifest.get.ts +10 -10
  685. package/server/api/system/backup/list.get.ts +32 -32
  686. package/server/api/system/backup/run.post.ts +21 -21
  687. package/server/api/system/config-groups/[id].delete.ts +21 -21
  688. package/server/api/system/config-groups/[id].patch.ts +26 -26
  689. package/server/api/system/config-groups/index.get.ts +21 -21
  690. package/server/api/system/config-groups/index.post.ts +33 -33
  691. package/server/api/system/timezone.get.ts +20 -20
  692. package/server/api/workshop/[...path].ts +13 -13
  693. package/server/api/workshop/a2a/[agentId]/card/index.get.ts +86 -86
  694. package/server/api/workshop/agent-tools/approvals/index.get.ts +45 -45
  695. package/server/api/workshop/agent-tools/bindings/grant.post.ts +45 -45
  696. package/server/api/workshop/agent-tools/bindings/index.get.ts +41 -41
  697. package/server/api/workshop/agent-tools/bindings/revoke.post.ts +42 -42
  698. package/server/api/workshop/aml/datasets/[id]/preview.get.ts +68 -68
  699. package/server/api/workshop/aml/datasets/[id].delete.ts +39 -39
  700. package/server/api/workshop/aml/datasets/[id].get.ts +53 -53
  701. package/server/api/workshop/aml/datasets/[id].patch.ts +30 -30
  702. package/server/api/workshop/aml/datasets/index.post.ts +27 -27
  703. package/server/api/workshop/aml/entities/index.get.ts +13 -13
  704. package/server/api/workshop/aml/entities/prune.post.ts +28 -28
  705. package/server/api/workshop/aml/env/index.get.ts +13 -13
  706. package/server/api/workshop/aml/env/recheck.post.ts +14 -14
  707. package/server/api/workshop/aml/env/uv.post.ts +21 -21
  708. package/server/api/workshop/aml/env/venv.post.ts +24 -24
  709. package/server/api/workshop/aml/experiments/index.get.ts +35 -35
  710. package/server/api/workshop/aml/index.get.ts +37 -37
  711. package/server/api/workshop/aml/jobs/[id]/cancel.post.ts +21 -21
  712. package/server/api/workshop/aml/jobs/[id]/logs.get.ts +23 -23
  713. package/server/api/workshop/aml/jobs/[id]/retry.post.ts +20 -20
  714. package/server/api/workshop/aml/jobs/[id].delete.ts +44 -44
  715. package/server/api/workshop/aml/jobs/[id].get.ts +23 -23
  716. package/server/api/workshop/aml/models/[id]/predict.post.ts +24 -24
  717. package/server/api/workshop/aml/models/[id]/promote.post.ts +30 -30
  718. package/server/api/workshop/aml/models/index.get.ts +48 -48
  719. package/server/api/workshop/aml/training-plans/[id]/train.post.ts +18 -18
  720. package/server/api/workshop/aml/training-plans/[id].delete.ts +18 -18
  721. package/server/api/workshop/aml/training-plans/[id].patch.ts +30 -30
  722. package/server/api/workshop/aml/training-plans/index.get.ts +9 -9
  723. package/server/api/workshop/aml/training-plans/index.post.ts +43 -43
  724. package/server/api/workshop/analysis/index.post.ts +71 -71
  725. package/server/api/workshop/approvals/index.get.ts +22 -22
  726. package/server/api/workshop/assets/devices/index.post.ts +55 -55
  727. package/server/api/workshop/audit.get.ts +43 -43
  728. package/server/api/workshop/channels/[id]/chat/messages/[messageId]/read.post.ts +22 -22
  729. package/server/api/workshop/channels/[id]/chat/messages/index.get.ts +29 -29
  730. package/server/api/workshop/channels/[id]/chat/messages/index.post.ts +51 -51
  731. package/server/api/workshop/channels/[id]/chat/permissions.get.ts +35 -35
  732. package/server/api/workshop/channels/[id]/members/[userId]/approve.post.ts +20 -20
  733. package/server/api/workshop/channels/[id]/members/[userId].delete.ts +21 -21
  734. package/server/api/workshop/channels/[id]/members/index.get.ts +23 -23
  735. package/server/api/workshop/channels/[id]/members/leave.post.ts +20 -20
  736. package/server/api/workshop/channels/[id]/memories/[memoryId]/experience.get.ts +32 -0
  737. package/server/api/workshop/channels/[id]/twin-profile.get.ts +45 -45
  738. package/server/api/workshop/channels/[id]/twin-profile.patch.ts +91 -91
  739. package/server/api/workshop/daq/storage/retention.put.ts +66 -66
  740. package/server/api/workshop/daq/storage/rollup.post.ts +28 -28
  741. package/server/api/workshop/daq/storage.get.ts +17 -17
  742. package/server/api/workshop/daq/templates/[key].patch.ts +19 -19
  743. package/server/api/workshop/daq/templates/index.post.ts +18 -18
  744. package/server/api/workshop/dcw/[id].delete.ts +41 -41
  745. package/server/api/workshop/dcw/params/[id].delete.ts +19 -19
  746. package/server/api/workshop/dcw/params/[id].patch.ts +23 -23
  747. package/server/api/workshop/dcw/params/index.get.ts +27 -27
  748. package/server/api/workshop/dcw/params/index.post.ts +25 -25
  749. package/server/api/workshop/device-twins/[id].delete.ts +27 -27
  750. package/server/api/workshop/device-twins/[id].patch.ts +31 -31
  751. package/server/api/workshop/eda/runs/[id]/labels.patch.ts +25 -25
  752. package/server/api/workshop/eda/templates/[id].delete.ts +14 -14
  753. package/server/api/workshop/eda/templates/[id].get.ts +15 -15
  754. package/server/api/workshop/eda/templates/[id].patch.ts +20 -20
  755. package/server/api/workshop/eda/templates/index.get.ts +11 -11
  756. package/server/api/workshop/eda/templates/index.post.ts +20 -20
  757. package/server/api/workshop/exp/confirmations/[id]/decide.post.ts +41 -41
  758. package/server/api/workshop/exp/confirmations/index.get.ts +25 -25
  759. package/server/api/workshop/harnesses/[id]/providers.get.ts +16 -16
  760. package/server/api/workshop/notifications/index.get.ts +60 -60
  761. package/server/api/workshop/notifications/read.post.ts +31 -31
  762. package/server/api/workshop/ontology/drafts/[draftId]/subgraph.ts +24 -24
  763. package/server/api/workshop/ops-logs/index.post.ts +92 -92
  764. package/server/api/workshop/plugins/[name]/disable.post.ts +21 -21
  765. package/server/api/workshop/plugins/[name]/enable.post.ts +21 -21
  766. package/server/api/workshop/plugins/[name]/index.get.ts +14 -14
  767. package/server/api/workshop/schedules/[id]/run.post.ts +15 -15
  768. package/server/api/workshop/schedules/[id]/runs.get.ts +15 -15
  769. package/server/api/workshop/schedules/[id].delete.ts +14 -14
  770. package/server/api/workshop/schedules/[id].get.ts +13 -13
  771. package/server/api/workshop/schedules/[id].patch.ts +29 -29
  772. package/server/api/workshop/schedules/index.get.ts +12 -12
  773. package/server/api/workshop/schedules/index.post.ts +32 -32
  774. package/server/api/workshop/tasks/[id]/reassign.post.ts +32 -32
  775. package/server/api/workshop/tasks/[id]/supersede.post.ts +28 -28
  776. package/server/api/workshop/tasks/[id]/update.post.ts +35 -35
  777. package/server/api/workshop/teams/[id]/plugins/index.get.ts +36 -36
  778. package/server/api/workshop/teams/[id]/plugins/index.put.ts +42 -42
  779. package/server/api/workshop/ws/audience.ts +56 -56
  780. package/server/api/workshop/ws/db-buffer.ts +68 -68
  781. package/server/api/workshop/ws/hub.ts +134 -134
  782. package/server/api/workshop/ws/index.ts +23 -23
  783. package/server/api/workshop/ws/notification-uplink.ts +77 -77
  784. package/server/api/workshop/ws/streams.ts +146 -146
  785. package/server/middleware/00-security-headers.ts +45 -45
  786. package/server/middleware/01-rate-guard.ts +129 -129
  787. package/server/plugins/00-daq-credentials.ts +33 -33
  788. package/server/plugins/01-instance-guard.ts +118 -118
  789. package/server/plugins/aml-twin-worker.ts +32 -32
  790. package/server/plugins/backup.ts +268 -268
  791. package/server/plugins/dev-stability-guard.ts +46 -46
  792. package/server/plugins/error-ledger.ts +21 -21
  793. package/server/plugins-builtin/diag-bridge/host/constants.mjs +25 -25
  794. package/server/plugins-builtin/diag-bridge/host/index.mjs +15 -15
  795. package/server/plugins-builtin/diag-bridge/host/snapshot.mjs +93 -93
  796. package/server/plugins-builtin/diag-bridge/index.mjs +9 -9
  797. package/server/plugins-builtin/serial-bridge/drivers.mjs +409 -409
  798. package/server/plugins-builtin/serial-bridge/lib.mjs +208 -208
  799. package/server/plugins-builtin/serial-bridge/rtu.mjs +168 -168
  800. package/server/schemas/user.schema.ts +74 -74
  801. package/server/services/system-config/contracts.ts +29 -29
  802. package/server/services/system-config/dispose.ts +19 -19
  803. package/server/services/system-config/facade.ts +26 -26
  804. package/server/services/system-config/groups.ts +108 -108
  805. package/server/services/system-config/index.ts +21 -21
  806. package/server/services/system-config/init.ts +26 -26
  807. package/server/services/system-config/mutate.ts +110 -110
  808. package/server/services/system-config/plugins.ts +104 -104
  809. package/server/services/system-config/readiness.ts +84 -84
  810. package/server/services/system-config/secrets.ts +50 -50
  811. package/server/services/system-config/state.ts +79 -79
  812. package/server/services/system-config/types.ts +58 -58
  813. package/server/services/workshop/agents/adapters/line-spawn.ts +148 -148
  814. package/server/services/workshop/agents/adapters/omp-rpc-client/api.ts +111 -111
  815. package/server/services/workshop/agents/adapters/omp-rpc-client/contracts.ts +22 -22
  816. package/server/services/workshop/agents/adapters/omp-rpc-client/facade.ts +7 -7
  817. package/server/services/workshop/agents/adapters/omp-rpc-client/helpers.ts +38 -38
  818. package/server/services/workshop/agents/adapters/omp-rpc-client/index.ts +25 -25
  819. package/server/services/workshop/agents/adapters/omp-rpc-client/start.ts +82 -74
  820. package/server/services/workshop/agents/adapters/omp-rpc-client/state.ts +65 -65
  821. package/server/services/workshop/agents/adapters/omp-rpc-client/stdout.ts +92 -92
  822. package/server/services/workshop/agents/adapters/omp-rpc-client/usage.ts +47 -47
  823. package/server/services/workshop/agents/agent-badge.ts +38 -38
  824. package/server/services/workshop/agents/binding-authz.ts +66 -66
  825. package/server/services/workshop/agents/binding-mode.ts +51 -51
  826. package/server/services/workshop/agents/codex-agent/client.ts +170 -170
  827. package/server/services/workshop/agents/codex-agent/core.ts +119 -119
  828. package/server/services/workshop/agents/codex-agent/facade.ts +8 -8
  829. package/server/services/workshop/agents/codex-agent/helpers.ts +13 -13
  830. package/server/services/workshop/agents/codex-agent/hitl.ts +138 -138
  831. package/server/services/workshop/agents/codex-agent/index.ts +14 -14
  832. package/server/services/workshop/agents/codex-agent/types.ts +42 -42
  833. package/server/services/workshop/agents/governance-harness-audit.ts +216 -216
  834. package/server/services/workshop/agents/harness-terminal/api.ts +197 -197
  835. package/server/services/workshop/agents/harness-terminal/index.ts +17 -17
  836. package/server/services/workshop/agents/harness-terminal/io.ts +120 -120
  837. package/server/services/workshop/agents/harness-terminal/park.ts +55 -55
  838. package/server/services/workshop/agents/harness-terminal/sanitize.ts +98 -98
  839. package/server/services/workshop/agents/harness-terminal/session.ts +124 -124
  840. package/server/services/workshop/agents/harness-terminal/shared.ts +74 -74
  841. package/server/services/workshop/agents/hitl-decision/answers.ts +32 -32
  842. package/server/services/workshop/agents/hitl-decision/decide.ts +268 -268
  843. package/server/services/workshop/agents/hitl-decision/payload.ts +45 -45
  844. package/server/services/workshop/agents/hitl-decision/reconcile.ts +12 -0
  845. package/server/services/workshop/agents/hitl-decision/shared.ts +108 -108
  846. package/server/services/workshop/agents/host-tool-bridge/tools/team.ts +70 -70
  847. package/server/services/workshop/agents/industrial/aml-activity.ts +131 -131
  848. package/server/services/workshop/agents/industrial/audit-query.ts +66 -66
  849. package/server/services/workshop/agents/industrial/bench-approval-only.ts +394 -394
  850. package/server/services/workshop/agents/industrial/fallback-hints.ts +31 -31
  851. package/server/services/workshop/agents/industrial/identifiability-tools.ts +247 -247
  852. package/server/services/workshop/agents/industrial/param-tools.ts +69 -69
  853. package/server/services/workshop/agents/node-bindings.repo.ts +210 -210
  854. package/server/services/workshop/agents/node-delegation.ts +204 -204
  855. package/server/services/workshop/agents/omp-agent/agentteam-audit.ts +147 -147
  856. package/server/services/workshop/agents/omp-agent/facade.ts +8 -8
  857. package/server/services/workshop/agents/omp-agent/helpers.ts +37 -37
  858. package/server/services/workshop/agents/omp-agent/index.ts +16 -16
  859. package/server/services/workshop/agents/omp-agent/types.ts +45 -45
  860. package/server/services/workshop/agents/opencode-agent/core.ts +77 -77
  861. package/server/services/workshop/agents/opencode-agent/facade.ts +8 -8
  862. package/server/services/workshop/agents/opencode-agent/helpers.ts +29 -29
  863. package/server/services/workshop/agents/opencode-agent/hitl.ts +113 -113
  864. package/server/services/workshop/agents/opencode-agent/index.ts +16 -16
  865. package/server/services/workshop/agents/opencode-agent/lifecycle.ts +44 -44
  866. package/server/services/workshop/agents/opencode-agent/server.ts +244 -244
  867. package/server/services/workshop/agents/opencode-agent/turn.ts +278 -278
  868. package/server/services/workshop/agents/opencode-agent/types.ts +54 -54
  869. package/server/services/workshop/aml/action-coverage.ts +253 -253
  870. package/server/services/workshop/aml/causal-claim.ts +68 -68
  871. package/server/services/workshop/aml/clean.ts +120 -120
  872. package/server/services/workshop/aml/entity.ts +367 -367
  873. package/server/services/workshop/aml/env-lease.ts +178 -178
  874. package/server/services/workshop/aml/identifiability.ts +335 -335
  875. package/server/services/workshop/aml/job-orchestrator/broadcast.ts +37 -37
  876. package/server/services/workshop/aml/job-orchestrator/control.ts +94 -94
  877. package/server/services/workshop/aml/job-orchestrator/failure.ts +96 -96
  878. package/server/services/workshop/aml/job-orchestrator/index.ts +22 -22
  879. package/server/services/workshop/aml/job-orchestrator/process.ts +101 -101
  880. package/server/services/workshop/aml/job-orchestrator/shared.ts +53 -53
  881. package/server/services/workshop/aml/job-orchestrator/status.ts +20 -20
  882. package/server/services/workshop/aml/job-orchestrator/tick.ts +37 -37
  883. package/server/services/workshop/aml/ontology-learning.ts +143 -143
  884. package/server/services/workshop/aml/python/train-example.py +92 -92
  885. package/server/services/workshop/aml/runtime.ts +137 -137
  886. package/server/services/workshop/aml/stats.ts +140 -140
  887. package/server/services/workshop/aml/twin/calibration-worker.ts +150 -150
  888. package/server/services/workshop/aml/twin/cross-check-service.ts +114 -114
  889. package/server/services/workshop/aml/twin/cross-check.ts +176 -176
  890. package/server/services/workshop/aml/twin/model-backed-provider.ts +332 -332
  891. package/server/services/workshop/aml/twin/physics-spec-draft.ts +185 -185
  892. package/server/services/workshop/aml/twin/prompt-composer.ts +143 -143
  893. package/server/services/workshop/aml/twin/training-plans.ts +260 -260
  894. package/server/services/workshop/aml/twin/write-guard.ts +19 -19
  895. package/server/services/workshop/assets/character-asset.repo.ts +1 -1
  896. package/server/services/workshop/assets/device-twin.repo.ts +1 -1
  897. package/server/services/workshop/bench-mode.ts +22 -22
  898. package/server/services/workshop/daq/alarm-notify.ts +122 -122
  899. package/server/services/workshop/daq/batch-quality.ts +96 -0
  900. package/server/services/workshop/daq/daq-controller/contracts.ts +42 -42
  901. package/server/services/workshop/daq/daq-controller/driver-probe.ts +68 -68
  902. package/server/services/workshop/daq/daq-controller/facade.ts +28 -28
  903. package/server/services/workshop/daq/daq-controller/helpers.ts +52 -52
  904. package/server/services/workshop/daq/daq-controller/index.ts +22 -22
  905. package/server/services/workshop/daq/daq-controller/sweep-alarms.ts +214 -214
  906. package/server/services/workshop/daq/drivers/mock.ts +130 -130
  907. package/server/services/workshop/daq/drivers/modbus-rtu.ts +67 -67
  908. package/server/services/workshop/daq/drivers/modbus-tcp.ts +321 -321
  909. package/server/services/workshop/daq/drivers/opcua.ts +227 -227
  910. package/server/services/workshop/daq/drivers/s7-stub.ts +29 -29
  911. package/server/services/workshop/daq/frame-meta.ts +86 -86
  912. package/server/services/workshop/daq/host-ports.ts +65 -65
  913. package/server/services/workshop/daq/infra-credentials.ts +201 -201
  914. package/server/services/workshop/daq/ingest-policy.ts +80 -80
  915. package/server/services/workshop/daq/node-metadata.ts +79 -79
  916. package/server/services/workshop/daq/objectstore/index.ts +88 -88
  917. package/server/services/workshop/daq/storage/retention.ts +142 -142
  918. package/server/services/workshop/daq/storage/timescale-rollup.ts +612 -612
  919. package/server/services/workshop/db/aml-team-seeds.ts +118 -118
  920. package/server/services/workshop/db/backup-registry.ts +33 -33
  921. package/server/services/workshop/db/channel-member.repo.ts +122 -122
  922. package/server/services/workshop/db/chat-message.repo.ts +261 -261
  923. package/server/services/workshop/db/database/json.ts +14 -14
  924. package/server/services/workshop/db/database/migrations-experience-versions.ts +92 -0
  925. package/server/services/workshop/db/database/migrations-hitl-ref.ts +20 -0
  926. package/server/services/workshop/db/database/open.ts +9 -2
  927. package/server/services/workshop/db/database/schema.ts +101 -1
  928. package/server/services/workshop/db/database/seed-data.ts +60 -60
  929. package/server/services/workshop/db/hitl-request.repo.ts +221 -221
  930. package/server/services/workshop/db/memory.repo.ts +34 -0
  931. package/server/services/workshop/db/readonly.ts +30 -30
  932. package/server/services/workshop/db/scheduled-task.repo.ts +235 -235
  933. package/server/services/workshop/db/transaction.ts +72 -72
  934. package/server/services/workshop/dcw/dcw-controller/actuation.ts +46 -0
  935. package/server/services/workshop/dcw/dcw-controller/control.ts +78 -78
  936. package/server/services/workshop/dcw/dcw-controller/facade.ts +19 -19
  937. package/server/services/workshop/dcw/dcw-controller/helpers.ts +62 -62
  938. package/server/services/workshop/dcw/dcw-controller/index.ts +22 -22
  939. package/server/services/workshop/dcw/dcw-controller/params.ts +97 -97
  940. package/server/services/workshop/dcw/dcw-templates.ts +136 -136
  941. package/server/services/workshop/dcw/mqtt-payload.ts +64 -64
  942. package/server/services/workshop/dcw/param-conversion.ts +78 -78
  943. package/server/services/workshop/dcw/param-map.repo.ts +349 -349
  944. package/server/services/workshop/dcw/plugin-bridge.ts +45 -45
  945. package/server/services/workshop/dcw/recipe-rollback-manager/contracts.ts +26 -26
  946. package/server/services/workshop/dcw/recipe-rollback-manager/facade.ts +13 -13
  947. package/server/services/workshop/dcw/recipe-rollback-manager/helpers.ts +30 -30
  948. package/server/services/workshop/dcw/recipe-rollback-manager/index.ts +17 -17
  949. package/server/services/workshop/dcw/recipe-rollback-manager/internal.ts +33 -33
  950. package/server/services/workshop/dcw/recipe-rollback-manager/judge.ts +52 -52
  951. package/server/services/workshop/dcw/recipe-rollback-manager/lock.ts +138 -138
  952. package/server/services/workshop/dcw/recipe-rollback-manager/state.ts +21 -21
  953. package/server/services/workshop/dcw/recipe-rollback-manager/types.ts +3 -3
  954. package/server/services/workshop/dcw/recipe-rollback-manager/views.ts +214 -214
  955. package/server/services/workshop/dcw/write-attempt-ledger.ts +113 -0
  956. package/server/services/workshop/eda/template-repo.ts +101 -101
  957. package/server/services/workshop/experience/claim-cluster.ts +28 -0
  958. package/server/services/workshop/experience/evaluation-run.ts +175 -0
  959. package/server/services/workshop/experience/evidence-ledger.ts +69 -0
  960. package/server/services/workshop/experience/gates.ts +14 -4
  961. package/server/services/workshop/experience/ontology-proposals.ts +115 -0
  962. package/server/services/workshop/experience/overlay.ts +7 -1
  963. package/server/services/workshop/experience/promote.ts +7 -1
  964. package/server/services/workshop/experience/reflection-effects.ts +155 -0
  965. package/server/services/workshop/experience/release.ts +163 -0
  966. package/server/services/workshop/experience/resolve.ts +142 -0
  967. package/server/services/workshop/experience/trusted-context.ts +90 -0
  968. package/server/services/workshop/experience/types.ts +168 -0
  969. package/server/services/workshop/experience/versions.ts +188 -0
  970. package/server/services/workshop/json-store.mjs +143 -143
  971. package/server/services/workshop/line-scope.ts +80 -80
  972. package/server/services/workshop/mes/mes-hook.ts +594 -594
  973. package/server/services/workshop/net/ssrf.ts +83 -83
  974. package/server/services/workshop/ontology/subgraph.core.ts +300 -300
  975. package/server/services/workshop/ontology/subgraph.service.ts +113 -113
  976. package/server/services/workshop/ops/error-ledger.ts +209 -209
  977. package/server/services/workshop/optimization/python/__pycache__/problems.cpython-312.pyc +0 -0
  978. package/server/services/workshop/plugins/host/config.mjs +135 -135
  979. package/server/services/workshop/plugins/host/index.mjs +23 -23
  980. package/server/services/workshop/plugins/host/init.mjs +140 -140
  981. package/server/services/workshop/plugins/host/state.mjs +54 -54
  982. package/server/services/workshop/plugins/host/toggle.mjs +64 -64
  983. package/server/services/workshop/plugins/host.mjs +9 -9
  984. package/server/services/workshop/projects/plan-progress.ts +140 -0
  985. package/server/services/workshop/projects/service.ts +31 -0
  986. package/server/services/workshop/rsi-adapter/experience.ts +3 -1
  987. package/server/services/workshop/runtime/agent-runtime/facade.ts +7 -7
  988. package/server/services/workshop/runtime/agent-runtime/harness-failure.ts +58 -58
  989. package/server/services/workshop/runtime/agent-runtime/helpers.ts +18 -18
  990. package/server/services/workshop/runtime/agent-runtime/index.ts +19 -19
  991. package/server/services/workshop/runtime/chat-mention.ts +164 -164
  992. package/server/services/workshop/runtime/chat-projection.ts +246 -246
  993. package/server/services/workshop/runtime/embedding-provider.ts +100 -100
  994. package/server/services/workshop/runtime/manager/bus.ts +182 -182
  995. package/server/services/workshop/runtime/manager/channel-template-constants.ts +20 -20
  996. package/server/services/workshop/runtime/manager/chat-reply.ts +181 -181
  997. package/server/services/workshop/runtime/manager/chat.ts +446 -446
  998. package/server/services/workshop/runtime/manager/dependency-health.ts +68 -0
  999. package/server/services/workshop/runtime/manager/facade.ts +24 -24
  1000. package/server/services/workshop/runtime/manager/index.ts +42 -42
  1001. package/server/services/workshop/runtime/manager/internal.ts +73 -73
  1002. package/server/services/workshop/runtime/manager/notifications.ts +108 -108
  1003. package/server/services/workshop/runtime/memory/contracts.ts +18 -18
  1004. package/server/services/workshop/runtime/memory/facade.ts +10 -10
  1005. package/server/services/workshop/runtime/memory/index.ts +27 -27
  1006. package/server/services/workshop/runtime/memory/score.ts +33 -33
  1007. package/server/services/workshop/runtime/memory/state.ts +7 -1
  1008. package/server/services/workshop/runtime/monitor.ts +3 -3
  1009. package/server/services/workshop/runtime/platform-notice.ts +113 -113
  1010. package/server/services/workshop/runtime/schedule-runtime.ts +347 -347
  1011. package/server/services/workshop/runtime/scheduler-loop/facade.ts +7 -7
  1012. package/server/services/workshop/runtime/scheduler-loop/helpers.ts +14 -14
  1013. package/server/services/workshop/runtime/scheduler-loop/index.ts +16 -16
  1014. package/server/services/workshop/runtime/task-engine/facade.ts +7 -7
  1015. package/server/services/workshop/runtime/task-engine/index.ts +15 -15
  1016. package/server/services/workshop/runtime/task-engine/types.ts +3 -3
  1017. package/server/services/workshop/runtime/user-notification-hub.ts +192 -192
  1018. package/server/types/pg.d.ts +49 -49
  1019. package/server/utils/asset-auth.ts +15 -15
  1020. package/server/utils/mojibake-guard.ts +29 -29
  1021. package/server/utils/request-ip.ts +29 -29
  1022. package/server/utils/stability-severity.ts +77 -77
  1023. package/shared/config/groups.mjs +241 -241
  1024. package/shared/lru.mjs +97 -97
  1025. package/tui/README.md +74 -74
  1026. package/tui/aw-tui.mjs +445 -445
  1027. package/tui/commands/index.mjs +287 -287
  1028. package/tui/components/chat-log.mjs +42 -42
  1029. package/tui/components/monitor-pane.mjs +39 -39
  1030. package/tui/components/root.mjs +53 -53
  1031. package/tui/components/status-bar.mjs +33 -33
  1032. package/tui/lib/api.mjs +82 -82
  1033. package/tui/lib/pickers.mjs +121 -121
  1034. package/tui/lib/reducers.mjs +218 -218
  1035. package/tui/lib/state.mjs +86 -86
  1036. package/tui/lib/virtual-terminal.mjs +48 -48
  1037. package/tui/lib/ws.mjs +125 -125
  1038. package/tui/theme.mjs +38 -38
  1039. package/.output/.AgentWorkShop/aml-python/__pycache__/aml_eval.cpython-312.pyc +0 -0
  1040. package/.output/.AgentWorkShop/aml-python/__pycache__/amlkit.cpython-312.pyc +0 -0
  1041. package/.output/.AgentWorkShop/aml-python/__pycache__/train-example.cpython-312.pyc +0 -0
  1042. package/.output/.AgentWorkShop/aml-python/__pycache__/train-hybrid-example.cpython-312.pyc +0 -0
  1043. package/.output/public/_nuxt/PluginSlot.CGH0vb95.css +0 -1
  1044. package/.output/public/_nuxt/aml.PalMp-5n.css +0 -1
  1045. package/.output/public/_nuxt/builds/meta/2f96705b-cf57-4bde-87a4-1b818b268f0f.json +0 -1
  1046. package/server/services/workshop/aml/python/__pycache__/aml_eval.cpython-312.pyc +0 -0
  1047. package/server/services/workshop/aml/python/__pycache__/amlkit.cpython-312.pyc +0 -0
  1048. package/server/services/workshop/aml/python/__pycache__/train-example.cpython-312.pyc +0 -0
  1049. package/server/services/workshop/aml/python/__pycache__/train-hybrid-example.cpython-312.pyc +0 -0
@@ -1,2 +1,2 @@
1
- import{N as e,dt as t,g as n,mt as r,u as i,v as a}from"./CavpkQb0.js";import{$ as o,R as s,S as c,V as l,W as u,b as d,d as f,f as p,h as m,i as h,it as g,k as _,m as v,p as y,s as b,tt as x,y as S}from"./C6lssmvl.js";import{c as C,d as w,f as T,l as E}from"./ri9UF8rk.js";import{t as D}from"./Dm6T9SNB2.js";import{t as O}from"./BDNMzG2s.js";import{t as k}from"./zMAN4sWM.js";import{t as A}from"./BiyBp4Lm.js";import{t as j}from"./CXcry5882.js";import{t as M}from"./unupYhzt.js";import{t as N}from"./DudoisLM.js";import{t as P}from"./C2T_likn.js";import{n as ee,r as te,t as ne}from"./BgbWJIxO.js";var F={class:`aw-page-head`},I={class:`sub`},L={class:`head-actions`},R=[`title`],z={class:`live-txt mono`},B=[`title`],V=[`title`],H=[`disabled`,`title`],U=Object.assign(O(c({__name:`LogsPageHead`,props:{recentCount:{},errorCount:{},warnCount:{},activeLevel:{},canExport:{type:Boolean}},emits:[`manual`,`quick`,`export`],setup(e){let n=e,i=e=>n.activeLevel===e;return(n,a)=>(l(),m(`header`,F,[p(`div`,null,[a[4]||=p(`p`,{class:`aw-kicker`},` agentworkshop / audit log `,-1),p(`h1`,null,r(n.$t(`logs.title`)),1),p(`p`,I,r(n.$t(`logs.sub`)),1)]),p(`div`,L,[p(`span`,{class:`live-dot`,title:n.$t(`logs.liveHint`)},null,8,R),p(`span`,z,r(n.$t(`logs.live`))+` `+r(e.recentCount),1),p(`button`,{class:t([`chip quick-err`,{on:i(`error`)}]),title:n.$t(`logs.quickErrHint`),onClick:a[0]||=e=>n.$emit(`quick`,`error`)},[a[5]||=p(`span`,{class:`i-tabler-alert-octagon`},null,-1),S(`ERROR `+r(e.errorCount),1)],10,B),p(`button`,{class:t([`chip quick-warn`,{on:i(`warn`)}]),title:n.$t(`logs.quickWarnHint`),onClick:a[1]||=e=>n.$emit(`quick`,`warn`)},[a[6]||=p(`span`,{class:`i-tabler-alert-triangle`},null,-1),S(`WARN `+r(e.warnCount),1)],10,V),p(`button`,{class:`pill-btn`,disabled:!e.canExport,title:n.$t(`logs.exportHint`),onClick:a[2]||=e=>n.$emit(`export`)},[a[7]||=p(`span`,{class:`i-tabler-download`},null,-1),S(` `+r(n.$t(`logs.export`)),1)],8,H),p(`button`,{class:`pill-btn`,onClick:a[3]||=e=>n.$emit(`manual`)},[a[8]||=p(`span`,{class:`i-tabler-plus`},null,-1),S(` `+r(n.$t(`logs.manual`)),1)])])]))}}),[[`__scopeId`,`data-v-89918393`]]),{__name:`LogsPageHead`}),W={class:`filter-card`},G={class:`flt`},K={value:``},q=[`value`],J={class:`flt`},Y={value:``},X=[`value`],Z={class:`flt`},re={value:``},ie=[`value`],ae={class:`flt`},oe={value:``},se={value:`user`},ce={value:`system`},le={class:`flt`},ue={value:``},de=[`value`],fe={class:`flt`},pe={value:``},me=[`value`],he={class:`flt`},ge={class:`flt`},_e={class:`flt flt-grow`},ve=[`placeholder`],ye=[`disabled`],be=Object.assign(O(c({__name:`LogsFilterCard`,props:_({hasFilter:{type:Boolean},loading:{type:Boolean}},{lineId:{required:!0},lineIdModifiers:{},productId:{required:!0},productIdModifiers:{},recipeId:{required:!0},recipeIdModifiers:{},actorKind:{required:!0},actorKindModifiers:{},kind:{required:!0},kindModifiers:{},level:{required:!0},levelModifiers:{},from:{required:!0},fromModifiers:{},to:{required:!0},toModifiers:{},text:{required:!0},textModifiers:{}}),emits:_([`query`,`reset`],[`update:lineId`,`update:productId`,`update:recipeId`,`update:actorKind`,`update:kind`,`update:level`,`update:from`,`update:to`,`update:text`]),setup(t){let n=o(t,`lineId`),i=o(t,`productId`),a=o(t,`recipeId`),s=o(t,`actorKind`),c=o(t,`kind`),d=o(t,`level`),_=o(t,`from`),y=o(t,`to`),b=o(t,`text`),{lines:x,productsOfLine:T,recipesOfScope:D}=j(),O=f(()=>T(n.value)),k=f(()=>D(n.value,i.value));function A(){i.value=``,a.value=``}function M(){a.value=``}return(o,f)=>(l(),m(`section`,W,[p(`label`,G,[p(`span`,null,r(o.$t(`logs.fLine`)),1),g(p(`select`,{"onUpdate:modelValue":f[0]||=e=>n.value=e,class:`inp-sel`,onChange:A},[p(`option`,K,r(o.$t(`logs.all`)),1),(l(!0),m(h,null,u(e(x),e=>(l(),m(`option`,{key:e.id,value:e.id},r(e.name),9,q))),128))],544),[[C,n.value]])]),p(`label`,J,[p(`span`,null,r(o.$t(`logs.fProduct`)),1),g(p(`select`,{"onUpdate:modelValue":f[1]||=e=>i.value=e,class:`inp-sel`,onChange:M},[p(`option`,Y,r(o.$t(`logs.all`)),1),(l(!0),m(h,null,u(O.value,e=>(l(),m(`option`,{key:e.id,value:e.id},r(e.name),9,X))),128))],544),[[C,i.value]])]),p(`label`,Z,[f[12]||=p(`span`,null,`Recipe`,-1),g(p(`select`,{"onUpdate:modelValue":f[2]||=e=>a.value=e,class:`inp-sel`},[p(`option`,re,r(o.$t(`logs.all`)),1),(l(!0),m(h,null,u(k.value,e=>(l(),m(`option`,{key:e.id,value:e.id},r(e.name),9,ie))),128))],512),[[C,a.value]])]),p(`label`,ae,[p(`span`,null,r(o.$t(`logs.fSource`)),1),g(p(`select`,{"onUpdate:modelValue":f[3]||=e=>s.value=e,class:`inp-sel`},[p(`option`,oe,r(o.$t(`logs.all`)),1),p(`option`,se,r(o.$t(`logs.src.user`)),1),f[13]||=p(`option`,{value:`agent`},` Agent `,-1),p(`option`,ce,r(o.$t(`logs.src.system`)),1)],512),[[C,s.value]])]),p(`label`,le,[p(`span`,null,r(o.$t(`logs.fKind`)),1),g(p(`select`,{"onUpdate:modelValue":f[4]||=e=>c.value=e,class:`inp-sel`},[p(`option`,ue,r(o.$t(`logs.all`)),1),(l(!0),m(h,null,u(e(ne),e=>(l(),m(`option`,{key:e,value:e},r(o.$t(`logs.kind.${e}`)),9,de))),128))],512),[[C,c.value]])]),p(`label`,fe,[p(`span`,null,r(o.$t(`logs.fLevel`)),1),g(p(`select`,{"onUpdate:modelValue":f[5]||=e=>d.value=e,class:`inp-sel`},[p(`option`,pe,r(o.$t(`logs.all`)),1),(l(!0),m(h,null,u(e(ee),e=>(l(),m(`option`,{key:e,value:e},r(o.$t(`logs.level.${e}`)),9,me))),128))],512),[[C,d.value]])]),p(`label`,he,[p(`span`,null,r(o.$t(`logs.fFrom`)),1),g(p(`input`,{"onUpdate:modelValue":f[6]||=e=>_.value=e,class:`inp-sel inp-time`,type:`datetime-local`,step:`1`},null,512),[[E,_.value]])]),p(`label`,ge,[p(`span`,null,r(o.$t(`logs.fTo`)),1),g(p(`input`,{"onUpdate:modelValue":f[7]||=e=>y.value=e,class:`inp-sel inp-time`,type:`datetime-local`,step:`1`},null,512),[[E,y.value]])]),p(`label`,_e,[p(`span`,null,r(o.$t(`logs.fKeyword`)),1),g(p(`input`,{"onUpdate:modelValue":f[8]||=e=>b.value=e,class:`inp-sel`,type:`search`,placeholder:o.$t(`logs.fKeywordPh`),onKeydown:f[9]||=w(e=>o.$emit(`query`),[`enter`])},null,40,ve),[[E,b.value]])]),p(`button`,{class:`pill-btn`,disabled:t.loading,onClick:f[10]||=e=>o.$emit(`query`)},[f[14]||=p(`span`,{class:`i-tabler-search`},null,-1),S(` `+r(o.$t(`logs.query`)),1)],8,ye),t.hasFilter?(l(),m(`button`,{key:0,class:`mini-btn`,onClick:f[11]||=e=>o.$emit(`reset`)},r(o.$t(`logs.reset`)),1)):v(``,!0)]))}}),[[`__scopeId`,`data-v-8598254a`]]),{__name:`LogsFilterCard`}),xe={class:`table-card`},Se={key:0,class:`err`},Ce={class:`log-table`},we={class:`th-time`},Te={class:`th-src`},Ee={class:`th-kind`},De={class:`th-scope`},Oe={class:`th-detail`},ke={class:`mono dim`},Ae={class:`actor`},je={class:`summary`},Me={class:`mono dim action`},Ne={class:`scope`},Pe=[`title`],Fe=[`title`],Ie=[`title`],Le={key:3,class:`dim`},Re={class:`detail-cell`},ze=[`onClick`],Be={key:1,class:`dim`},Ve={key:0,class:`log-detail-row`},He={colspan:`7`,class:`detail-td`},Ue={class:`detail-bar`},We=[`onClick`],Ge={class:`detail-box mono`},Ke={class:`log-empty-row`},qe={key:0,colspan:`7`,class:`empty`},Je={key:1,class:`table-foot`},Ye={class:`log-total`},Q=25,Xe=Object.assign(O(c({__name:`LogsEventTable`,props:{rows:{},expandedId:{},loading:{type:Boolean},error:{}},emits:[`toggle`],setup(n){let o=n,{hasDetail:s,pretty:c,fmtTime:g,srcLabel:_,kindLabel:y}=N(),{lineName:b,productName:C,recipeName:w}=j(),T=a(null);async function E(e){try{await navigator.clipboard.writeText(c(e.detailJson)),T.value=e.id,setTimeout(()=>{T.value===e.id&&(T.value=null)},1600)}catch{}}let O=a(1),k=f(()=>o.rows.slice((O.value-1)*Q,O.value*Q));return x(()=>o.rows,()=>{O.value=1}),(a,o)=>{let f=D;return l(),m(`section`,xe,[n.error?(l(),m(`p`,Se,r(n.error),1)):v(``,!0),p(`table`,Ce,[p(`thead`,null,[p(`tr`,null,[p(`th`,we,r(a.$t(`logs.thTime`)),1),p(`th`,Te,r(a.$t(`logs.fSource`)),1),p(`th`,null,r(a.$t(`logs.thActor`)),1),p(`th`,Ee,r(a.$t(`logs.fKind`)),1),p(`th`,null,r(a.$t(`logs.thSummary`)),1),p(`th`,De,r(a.$t(`logs.thScope`)),1),p(`th`,Oe,r(a.$t(`logs.thDetail`)),1)])]),p(`tbody`,null,[(l(!0),m(h,null,u(e(k),i=>(l(),m(h,{key:i.id},[p(`tr`,{class:t({"is-error":i.level===`error`,"is-warn":i.level===`warn`})},[p(`td`,ke,r(e(g)(i.at)),1),p(`td`,null,[p(`span`,{class:t([`src-badge`,i.actorKind])},r(e(_)(i.actorKind)),3)]),p(`td`,Ae,r(i.actorName||i.actor||`—`),1),p(`td`,null,[p(`span`,{class:t([`kind-chip`,i.kind])},r(e(y)(i.kind)),3)]),p(`td`,je,[i.level===`error`||i.level===`warn`?(l(),m(`span`,{key:0,class:t([`level-chip`,i.level])},r(i.level.toUpperCase()),3)):v(``,!0),S(` `+r(i.summary)+` `,1),p(`small`,Me,r(i.action),1)]),p(`td`,Ne,[i.lineId?(l(),m(`span`,{key:0,class:`scope-chip`,title:`${a.$t(`logs.fLine`)} ${i.lineId}`},r(e(b)(i.lineId)||i.lineId.slice(0,8)),9,Pe)):v(``,!0),i.productId?(l(),m(`span`,{key:1,class:`scope-chip`,title:`${a.$t(`logs.fProduct`)} ${i.productId}`},r(e(C)(i.productId)||i.productId.slice(0,8)),9,Fe)):v(``,!0),i.recipeId?(l(),m(`span`,{key:2,class:`scope-chip`,title:`Recipe ${i.recipeId}`},r(e(w)(i.recipeId)||i.recipeId.slice(0,8)),9,Ie)):v(``,!0),!i.lineId&&!i.productId&&!i.recipeId?(l(),m(`span`,Le,`—`)):v(``,!0)]),p(`td`,Re,[e(s)(i)?(l(),m(`button`,{key:0,class:`mini-btn`,onClick:e=>a.$emit(`toggle`,i)},r(n.expandedId===i.id?a.$t(`logs.fold`):a.$t(`logs.expand`)),9,ze)):(l(),m(`span`,Be,r(a.$t(`logs.noDetail`)),1))])],2),n.expandedId===i.id?(l(),m(`tr`,Ve,[p(`td`,He,[p(`div`,Ue,[p(`button`,{class:`mini-btn`,onClick:e=>E(i)},[p(`span`,{class:t(e(T)===i.id?`i-tabler-check`:`i-tabler-copy`)},null,2),S(` `+r(e(T)===i.id?a.$t(`logs.copied`):a.$t(`logs.copyDetail`)),1)],8,We)]),p(`pre`,Ge,r(e(c)(i.detailJson)),1)])])):v(``,!0)],64))),128)),p(`tr`,Ke,[n.rows.length===0?(l(),m(`td`,qe,[n.loading?(l(),m(h,{key:0},[S(r(a.$t(`logs.loading`)),1)],64)):(l(),m(h,{key:1},[S(r(a.$t(`logs.empty`)),1)],64))])):v(``,!0)])])]),n.rows.length>0?(l(),m(`div`,Je,[p(`span`,Ye,r(a.$t(`logs.totalCount`,{n:n.rows.length})),1),d(f,{current:e(O),"onUpdate:current":o[0]||=e=>i(O)?O.value=e:null,"page-size":Q,total:n.rows.length,"show-size-changer":!1,"show-less-items":!0,size:`small`},null,8,[`current`,`total`])])):v(``,!0)])}}}),[[`__scopeId`,`data-v-6932284b`]]),{__name:`LogsEventTable`}),Ze={class:`modal`},Qe={class:`m-title`},$e={class:`m-f`},et=[`placeholder`],tt={class:`m-f`},$=[`placeholder`],nt={class:`m-f`},rt={class:`m-grid`},it={class:`m-f`},at={value:``},ot=[`value`],st={class:`m-f`},ct={value:``},lt=[`value`],ut={class:`m-f`},dt={value:``},ft=[`value`],pt={key:0,class:`err`},mt={class:`m-actions`},ht=[`disabled`],gt=Object.assign(O(c({__name:`LogsManualModal`,props:_({scope:{},posting:{type:Boolean},error:{}},{open:{type:Boolean,required:!0},openModifiers:{}}),emits:_([`submit`],[`update:open`]),setup(i,{emit:a}){let s=i,c=a,d=o(i,`open`),_=n({summary:``,detail:``,lineId:``,productId:``,recipeId:``,level:`info`}),{lines:S,productsOfLine:w,recipesOfScope:D}=j(),O=f(()=>w(s.scope.lineId)),k=f(()=>D(s.scope.lineId,s.scope.productId));x(d,e=>{e&&(_.summary=``,_.detail=``,_.lineId=s.scope.lineId,_.productId=s.scope.productId,_.recipeId=s.scope.recipeId,_.level=`info`)});function A(){d.value=!1}function M(){_.productId=``,_.recipeId=``}function N(){_.recipeId=``}function P(){c(`submit`,{..._})}return(n,a)=>(l(),y(b,{to:`body`},[d.value?(l(),m(`div`,{key:0,class:`modal-mask`,onClick:T(A,[`self`])},[p(`div`,Ze,[p(`h3`,Qe,r(n.$t(`logs.manual`)),1),p(`label`,$e,[p(`span`,null,r(n.$t(`logs.mSummary`))+` *`,1),g(p(`textarea`,{"onUpdate:modelValue":a[0]||=e=>_.summary=e,rows:`3`,placeholder:n.$t(`logs.mSummaryPh`)},null,8,et),[[E,_.summary]])]),p(`label`,tt,[p(`span`,null,r(n.$t(`logs.mDetail`)),1),g(p(`textarea`,{"onUpdate:modelValue":a[1]||=e=>_.detail=e,rows:`2`,placeholder:n.$t(`logs.mDetailPh`)},null,8,$),[[E,_.detail]])]),p(`label`,nt,[p(`span`,null,r(n.$t(`logs.mLevel`)),1),g(p(`select`,{"onUpdate:modelValue":a[2]||=e=>_.level=e,class:t([`inp-sel`,{"lv-error":_.level===`error`,"lv-warn":_.level===`warn`}])},[...a[6]||=[p(`option`,{value:`info`},` info `,-1),p(`option`,{value:`warn`},` warn `,-1),p(`option`,{value:`error`},` error `,-1)]],2),[[C,_.level]])]),p(`div`,rt,[p(`label`,it,[p(`span`,null,r(n.$t(`logs.fLine`))+` *`,1),g(p(`select`,{"onUpdate:modelValue":a[3]||=e=>_.lineId=e,class:`inp-sel`,onChange:M},[p(`option`,at,r(n.$t(`logs.all`)),1),(l(!0),m(h,null,u(e(S),e=>(l(),m(`option`,{key:e.id,value:e.id},r(e.name),9,ot))),128))],544),[[C,_.lineId]])]),p(`label`,st,[p(`span`,null,r(n.$t(`logs.fProduct`)),1),g(p(`select`,{"onUpdate:modelValue":a[4]||=e=>_.productId=e,class:`inp-sel`,onChange:N},[p(`option`,ct,r(n.$t(`logs.all`)),1),(l(!0),m(h,null,u(O.value,e=>(l(),m(`option`,{key:e.id,value:e.id},r(e.name),9,lt))),128))],544),[[C,_.productId]])]),p(`label`,ut,[a[7]||=p(`span`,null,`Recipe`,-1),g(p(`select`,{"onUpdate:modelValue":a[5]||=e=>_.recipeId=e,class:`inp-sel`},[p(`option`,dt,r(n.$t(`logs.all`)),1),(l(!0),m(h,null,u(k.value,e=>(l(),m(`option`,{key:e.id,value:e.id},r(e.name),9,ft))),128))],512),[[C,_.recipeId]])])]),i.error?(l(),m(`p`,pt,r(i.error),1)):v(``,!0),p(`div`,mt,[p(`button`,{class:`ghost-btn`,onClick:A},r(n.$t(`common.cancel`)),1),p(`button`,{class:`pill-btn`,disabled:i.posting||!_.summary.trim()||!_.lineId,onClick:P},r(n.$t(`logs.mSubmit`)),9,ht)])])])):v(``,!0)]))}}),[[`__scopeId`,`data-v-e6e71af5`]]),{__name:`LogsManualModal`}),_t={class:`page`},vt=O(c({name:`OpsLogsPage`,setup(t){let n=k(),r=A(),a=M(),{q:o,hasFilter:c,expandedId:u,doQuery:p,resetFilters:h,toggleRow:g}=te(),{manualOpen:_,openManual:v,submitManual:y}=P({onPosted:p}),b=f(()=>({lineId:o.lineId,productId:o.productId,recipeId:o.recipeId})),x=f(()=>a.recent.filter(e=>e.level===`error`).length),S=f(()=>a.recent.filter(e=>e.level===`warn`).length);function C(e){o.level=o.level===e?``:e,p()}function w(){let e=e=>`"${String(e??``).replace(/"/g,`""`).replace(/\r?\n/g,` `)}"`,t=[`id`,`at`,`level`,`scope`,`actorKind`,`actorName`,`kind`,`action`,`summary`,`lineId`,`productId`,`recipeId`],n=[t.join(`,`)];for(let r of a.results)n.push(t.map(t=>e(r[t])).join(`,`));let r=new Blob([``+n.join(`
1
+ import{N as e,dt as t,g as n,mt as r,u as i,v as a}from"./CavpkQb0.js";import{$ as o,R as s,S as c,V as l,W as u,b as d,d as f,f as p,h as m,i as h,it as g,k as _,m as v,p as y,s as b,tt as x,y as S}from"./C6lssmvl.js";import{c as C,d as w,f as T,l as E}from"./ri9UF8rk.js";import{t as D}from"./Dm6T9SNB2.js";import{t as O}from"./BDNMzG2s.js";import{t as k}from"./zMAN4sWM.js";import{t as A}from"./BiyBp4Lm.js";import{t as j}from"./CXcry5882.js";import{t as M}from"./unupYhzt.js";import{t as N}from"./DudoisLM.js";import{t as P}from"./C2T_likn.js";import{n as ee,r as te,t as ne}from"./BgbWJIxO.js";var F={class:`aw-page-head`},I={class:`sub`},L={class:`head-actions`},R=[`title`],z={class:`live-txt mono`},B=[`title`],V=[`title`],H=[`disabled`,`title`],U=Object.assign(O(c({__name:`LogsPageHead`,props:{recentCount:{},errorCount:{},warnCount:{},activeLevel:{},canExport:{type:Boolean}},emits:[`manual`,`quick`,`export`],setup(e){let n=e,i=e=>n.activeLevel===e;return(n,a)=>(l(),m(`header`,F,[p(`div`,null,[a[4]||=p(`p`,{class:`aw-kicker`},` agentworkshop / audit log `,-1),p(`h1`,null,r(n.$t(`logs.title`)),1),p(`p`,I,r(n.$t(`logs.sub`)),1)]),p(`div`,L,[p(`span`,{class:`live-dot`,title:n.$t(`logs.liveHint`)},null,8,R),p(`span`,z,r(n.$t(`logs.live`))+` `+r(e.recentCount),1),p(`button`,{class:t([`chip quick-err`,{on:i(`error`)}]),title:n.$t(`logs.quickErrHint`),onClick:a[0]||=e=>n.$emit(`quick`,`error`)},[a[5]||=p(`span`,{class:`i-tabler-alert-octagon`},null,-1),S(`ERROR `+r(e.errorCount),1)],10,B),p(`button`,{class:t([`chip quick-warn`,{on:i(`warn`)}]),title:n.$t(`logs.quickWarnHint`),onClick:a[1]||=e=>n.$emit(`quick`,`warn`)},[a[6]||=p(`span`,{class:`i-tabler-alert-triangle`},null,-1),S(`WARN `+r(e.warnCount),1)],10,V),p(`button`,{class:`pill-btn`,disabled:!e.canExport,title:n.$t(`logs.exportHint`),onClick:a[2]||=e=>n.$emit(`export`)},[a[7]||=p(`span`,{class:`i-tabler-download`},null,-1),S(` `+r(n.$t(`logs.export`)),1)],8,H),p(`button`,{class:`pill-btn`,onClick:a[3]||=e=>n.$emit(`manual`)},[a[8]||=p(`span`,{class:`i-tabler-plus`},null,-1),S(` `+r(n.$t(`logs.manual`)),1)])])]))}}),[[`__scopeId`,`data-v-bafbbcc8`]]),{__name:`LogsPageHead`}),W={class:`filter-card`},G={class:`flt`},K={value:``},q=[`value`],J={class:`flt`},Y={value:``},X=[`value`],Z={class:`flt`},re={value:``},ie=[`value`],ae={class:`flt`},oe={value:``},se={value:`user`},ce={value:`system`},le={class:`flt`},ue={value:``},de=[`value`],fe={class:`flt`},pe={value:``},me=[`value`],he={class:`flt`},ge={class:`flt`},_e={class:`flt flt-grow`},ve=[`placeholder`],ye=[`disabled`],be=Object.assign(O(c({__name:`LogsFilterCard`,props:_({hasFilter:{type:Boolean},loading:{type:Boolean}},{lineId:{required:!0},lineIdModifiers:{},productId:{required:!0},productIdModifiers:{},recipeId:{required:!0},recipeIdModifiers:{},actorKind:{required:!0},actorKindModifiers:{},kind:{required:!0},kindModifiers:{},level:{required:!0},levelModifiers:{},from:{required:!0},fromModifiers:{},to:{required:!0},toModifiers:{},text:{required:!0},textModifiers:{}}),emits:_([`query`,`reset`],[`update:lineId`,`update:productId`,`update:recipeId`,`update:actorKind`,`update:kind`,`update:level`,`update:from`,`update:to`,`update:text`]),setup(t){let n=o(t,`lineId`),i=o(t,`productId`),a=o(t,`recipeId`),s=o(t,`actorKind`),c=o(t,`kind`),d=o(t,`level`),_=o(t,`from`),y=o(t,`to`),b=o(t,`text`),{lines:x,productsOfLine:T,recipesOfScope:D}=j(),O=f(()=>T(n.value)),k=f(()=>D(n.value,i.value));function A(){i.value=``,a.value=``}function M(){a.value=``}return(o,f)=>(l(),m(`section`,W,[p(`label`,G,[p(`span`,null,r(o.$t(`logs.fLine`)),1),g(p(`select`,{"onUpdate:modelValue":f[0]||=e=>n.value=e,class:`inp-sel`,onChange:A},[p(`option`,K,r(o.$t(`logs.all`)),1),(l(!0),m(h,null,u(e(x),e=>(l(),m(`option`,{key:e.id,value:e.id},r(e.name),9,q))),128))],544),[[C,n.value]])]),p(`label`,J,[p(`span`,null,r(o.$t(`logs.fProduct`)),1),g(p(`select`,{"onUpdate:modelValue":f[1]||=e=>i.value=e,class:`inp-sel`,onChange:M},[p(`option`,Y,r(o.$t(`logs.all`)),1),(l(!0),m(h,null,u(O.value,e=>(l(),m(`option`,{key:e.id,value:e.id},r(e.name),9,X))),128))],544),[[C,i.value]])]),p(`label`,Z,[f[12]||=p(`span`,null,`Recipe`,-1),g(p(`select`,{"onUpdate:modelValue":f[2]||=e=>a.value=e,class:`inp-sel`},[p(`option`,re,r(o.$t(`logs.all`)),1),(l(!0),m(h,null,u(k.value,e=>(l(),m(`option`,{key:e.id,value:e.id},r(e.name),9,ie))),128))],512),[[C,a.value]])]),p(`label`,ae,[p(`span`,null,r(o.$t(`logs.fSource`)),1),g(p(`select`,{"onUpdate:modelValue":f[3]||=e=>s.value=e,class:`inp-sel`},[p(`option`,oe,r(o.$t(`logs.all`)),1),p(`option`,se,r(o.$t(`logs.src.user`)),1),f[13]||=p(`option`,{value:`agent`},` Agent `,-1),p(`option`,ce,r(o.$t(`logs.src.system`)),1)],512),[[C,s.value]])]),p(`label`,le,[p(`span`,null,r(o.$t(`logs.fKind`)),1),g(p(`select`,{"onUpdate:modelValue":f[4]||=e=>c.value=e,class:`inp-sel`},[p(`option`,ue,r(o.$t(`logs.all`)),1),(l(!0),m(h,null,u(e(ne),e=>(l(),m(`option`,{key:e,value:e},r(o.$t(`logs.kind.${e}`)),9,de))),128))],512),[[C,c.value]])]),p(`label`,fe,[p(`span`,null,r(o.$t(`logs.fLevel`)),1),g(p(`select`,{"onUpdate:modelValue":f[5]||=e=>d.value=e,class:`inp-sel`},[p(`option`,pe,r(o.$t(`logs.all`)),1),(l(!0),m(h,null,u(e(ee),e=>(l(),m(`option`,{key:e,value:e},r(o.$t(`logs.level.${e}`)),9,me))),128))],512),[[C,d.value]])]),p(`label`,he,[p(`span`,null,r(o.$t(`logs.fFrom`)),1),g(p(`input`,{"onUpdate:modelValue":f[6]||=e=>_.value=e,class:`inp-sel inp-time`,type:`datetime-local`,step:`1`},null,512),[[E,_.value]])]),p(`label`,ge,[p(`span`,null,r(o.$t(`logs.fTo`)),1),g(p(`input`,{"onUpdate:modelValue":f[7]||=e=>y.value=e,class:`inp-sel inp-time`,type:`datetime-local`,step:`1`},null,512),[[E,y.value]])]),p(`label`,_e,[p(`span`,null,r(o.$t(`logs.fKeyword`)),1),g(p(`input`,{"onUpdate:modelValue":f[8]||=e=>b.value=e,class:`inp-sel`,type:`search`,placeholder:o.$t(`logs.fKeywordPh`),onKeydown:f[9]||=w(e=>o.$emit(`query`),[`enter`])},null,40,ve),[[E,b.value]])]),p(`button`,{class:`pill-btn`,disabled:t.loading,onClick:f[10]||=e=>o.$emit(`query`)},[f[14]||=p(`span`,{class:`i-tabler-search`},null,-1),S(` `+r(o.$t(`logs.query`)),1)],8,ye),t.hasFilter?(l(),m(`button`,{key:0,class:`mini-btn`,onClick:f[11]||=e=>o.$emit(`reset`)},r(o.$t(`logs.reset`)),1)):v(``,!0)]))}}),[[`__scopeId`,`data-v-8598254a`]]),{__name:`LogsFilterCard`}),xe={class:`table-card`},Se={key:0,class:`err`},Ce={class:`log-table`},we={class:`th-time`},Te={class:`th-src`},Ee={class:`th-kind`},De={class:`th-scope`},Oe={class:`th-detail`},ke={class:`mono dim`},Ae={class:`actor`},je={class:`summary`},Me={class:`mono dim action`},Ne={class:`scope`},Pe=[`title`],Fe=[`title`],Ie=[`title`],Le={key:3,class:`dim`},Re={class:`detail-cell`},ze=[`onClick`],Be={key:1,class:`dim`},Ve={key:0,class:`log-detail-row`},He={colspan:`7`,class:`detail-td`},Ue={class:`detail-bar`},We=[`onClick`],Ge={class:`detail-box mono`},Ke={class:`log-empty-row`},qe={key:0,colspan:`7`,class:`empty`},Je={key:1,class:`table-foot`},Ye={class:`log-total`},Q=25,Xe=Object.assign(O(c({__name:`LogsEventTable`,props:{rows:{},expandedId:{},loading:{type:Boolean},error:{}},emits:[`toggle`],setup(n){let o=n,{hasDetail:s,pretty:c,fmtTime:g,srcLabel:_,kindLabel:y}=N(),{lineName:b,productName:C,recipeName:w}=j(),T=a(null);async function E(e){try{await navigator.clipboard.writeText(c(e.detailJson)),T.value=e.id,setTimeout(()=>{T.value===e.id&&(T.value=null)},1600)}catch{}}let O=a(1),k=f(()=>o.rows.slice((O.value-1)*Q,O.value*Q));return x(()=>o.rows,()=>{O.value=1}),(a,o)=>{let f=D;return l(),m(`section`,xe,[n.error?(l(),m(`p`,Se,r(n.error),1)):v(``,!0),p(`table`,Ce,[p(`thead`,null,[p(`tr`,null,[p(`th`,we,r(a.$t(`logs.thTime`)),1),p(`th`,Te,r(a.$t(`logs.fSource`)),1),p(`th`,null,r(a.$t(`logs.thActor`)),1),p(`th`,Ee,r(a.$t(`logs.fKind`)),1),p(`th`,null,r(a.$t(`logs.thSummary`)),1),p(`th`,De,r(a.$t(`logs.thScope`)),1),p(`th`,Oe,r(a.$t(`logs.thDetail`)),1)])]),p(`tbody`,null,[(l(!0),m(h,null,u(e(k),i=>(l(),m(h,{key:i.id},[p(`tr`,{class:t({"is-error":i.level===`error`,"is-warn":i.level===`warn`})},[p(`td`,ke,r(e(g)(i.at)),1),p(`td`,null,[p(`span`,{class:t([`src-badge`,i.actorKind])},r(e(_)(i.actorKind)),3)]),p(`td`,Ae,r(i.actorName||i.actor||`—`),1),p(`td`,null,[p(`span`,{class:t([`kind-chip`,i.kind])},r(e(y)(i.kind)),3)]),p(`td`,je,[i.level===`error`||i.level===`warn`?(l(),m(`span`,{key:0,class:t([`level-chip`,i.level])},r(i.level.toUpperCase()),3)):v(``,!0),S(` `+r(i.summary)+` `,1),p(`small`,Me,r(i.action),1)]),p(`td`,Ne,[i.lineId?(l(),m(`span`,{key:0,class:`scope-chip`,title:`${a.$t(`logs.fLine`)} ${i.lineId}`},r(e(b)(i.lineId)||i.lineId.slice(0,8)),9,Pe)):v(``,!0),i.productId?(l(),m(`span`,{key:1,class:`scope-chip`,title:`${a.$t(`logs.fProduct`)} ${i.productId}`},r(e(C)(i.productId)||i.productId.slice(0,8)),9,Fe)):v(``,!0),i.recipeId?(l(),m(`span`,{key:2,class:`scope-chip`,title:`Recipe ${i.recipeId}`},r(e(w)(i.recipeId)||i.recipeId.slice(0,8)),9,Ie)):v(``,!0),!i.lineId&&!i.productId&&!i.recipeId?(l(),m(`span`,Le,`—`)):v(``,!0)]),p(`td`,Re,[e(s)(i)?(l(),m(`button`,{key:0,class:`mini-btn`,onClick:e=>a.$emit(`toggle`,i)},r(n.expandedId===i.id?a.$t(`logs.fold`):a.$t(`logs.expand`)),9,ze)):(l(),m(`span`,Be,r(a.$t(`logs.noDetail`)),1))])],2),n.expandedId===i.id?(l(),m(`tr`,Ve,[p(`td`,He,[p(`div`,Ue,[p(`button`,{class:`mini-btn`,onClick:e=>E(i)},[p(`span`,{class:t(e(T)===i.id?`i-tabler-check`:`i-tabler-copy`)},null,2),S(` `+r(e(T)===i.id?a.$t(`logs.copied`):a.$t(`logs.copyDetail`)),1)],8,We)]),p(`pre`,Ge,r(e(c)(i.detailJson)),1)])])):v(``,!0)],64))),128)),p(`tr`,Ke,[n.rows.length===0?(l(),m(`td`,qe,[n.loading?(l(),m(h,{key:0},[S(r(a.$t(`logs.loading`)),1)],64)):(l(),m(h,{key:1},[S(r(a.$t(`logs.empty`)),1)],64))])):v(``,!0)])])]),n.rows.length>0?(l(),m(`div`,Je,[p(`span`,Ye,r(a.$t(`logs.totalCount`,{n:n.rows.length})),1),d(f,{current:e(O),"onUpdate:current":o[0]||=e=>i(O)?O.value=e:null,"page-size":Q,total:n.rows.length,"show-size-changer":!1,"show-less-items":!0,size:`small`},null,8,[`current`,`total`])])):v(``,!0)])}}}),[[`__scopeId`,`data-v-6932284b`]]),{__name:`LogsEventTable`}),Ze={class:`modal`},Qe={class:`m-title`},$e={class:`m-f`},et=[`placeholder`],tt={class:`m-f`},$=[`placeholder`],nt={class:`m-f`},rt={class:`m-grid`},it={class:`m-f`},at={value:``},ot=[`value`],st={class:`m-f`},ct={value:``},lt=[`value`],ut={class:`m-f`},dt={value:``},ft=[`value`],pt={key:0,class:`err`},mt={class:`m-actions`},ht=[`disabled`],gt=Object.assign(O(c({__name:`LogsManualModal`,props:_({scope:{},posting:{type:Boolean},error:{}},{open:{type:Boolean,required:!0},openModifiers:{}}),emits:_([`submit`],[`update:open`]),setup(i,{emit:a}){let s=i,c=a,d=o(i,`open`),_=n({summary:``,detail:``,lineId:``,productId:``,recipeId:``,level:`info`}),{lines:S,productsOfLine:w,recipesOfScope:D}=j(),O=f(()=>w(s.scope.lineId)),k=f(()=>D(s.scope.lineId,s.scope.productId));x(d,e=>{e&&(_.summary=``,_.detail=``,_.lineId=s.scope.lineId,_.productId=s.scope.productId,_.recipeId=s.scope.recipeId,_.level=`info`)});function A(){d.value=!1}function M(){_.productId=``,_.recipeId=``}function N(){_.recipeId=``}function P(){c(`submit`,{..._})}return(n,a)=>(l(),y(b,{to:`body`},[d.value?(l(),m(`div`,{key:0,class:`modal-mask`,onClick:T(A,[`self`])},[p(`div`,Ze,[p(`h3`,Qe,r(n.$t(`logs.manual`)),1),p(`label`,$e,[p(`span`,null,r(n.$t(`logs.mSummary`))+` *`,1),g(p(`textarea`,{"onUpdate:modelValue":a[0]||=e=>_.summary=e,rows:`3`,placeholder:n.$t(`logs.mSummaryPh`)},null,8,et),[[E,_.summary]])]),p(`label`,tt,[p(`span`,null,r(n.$t(`logs.mDetail`)),1),g(p(`textarea`,{"onUpdate:modelValue":a[1]||=e=>_.detail=e,rows:`2`,placeholder:n.$t(`logs.mDetailPh`)},null,8,$),[[E,_.detail]])]),p(`label`,nt,[p(`span`,null,r(n.$t(`logs.mLevel`)),1),g(p(`select`,{"onUpdate:modelValue":a[2]||=e=>_.level=e,class:t([`inp-sel`,{"lv-error":_.level===`error`,"lv-warn":_.level===`warn`}])},[...a[6]||=[p(`option`,{value:`info`},` info `,-1),p(`option`,{value:`warn`},` warn `,-1),p(`option`,{value:`error`},` error `,-1)]],2),[[C,_.level]])]),p(`div`,rt,[p(`label`,it,[p(`span`,null,r(n.$t(`logs.fLine`))+` *`,1),g(p(`select`,{"onUpdate:modelValue":a[3]||=e=>_.lineId=e,class:`inp-sel`,onChange:M},[p(`option`,at,r(n.$t(`logs.all`)),1),(l(!0),m(h,null,u(e(S),e=>(l(),m(`option`,{key:e.id,value:e.id},r(e.name),9,ot))),128))],544),[[C,_.lineId]])]),p(`label`,st,[p(`span`,null,r(n.$t(`logs.fProduct`)),1),g(p(`select`,{"onUpdate:modelValue":a[4]||=e=>_.productId=e,class:`inp-sel`,onChange:N},[p(`option`,ct,r(n.$t(`logs.all`)),1),(l(!0),m(h,null,u(O.value,e=>(l(),m(`option`,{key:e.id,value:e.id},r(e.name),9,lt))),128))],544),[[C,_.productId]])]),p(`label`,ut,[a[7]||=p(`span`,null,`Recipe`,-1),g(p(`select`,{"onUpdate:modelValue":a[5]||=e=>_.recipeId=e,class:`inp-sel`},[p(`option`,dt,r(n.$t(`logs.all`)),1),(l(!0),m(h,null,u(k.value,e=>(l(),m(`option`,{key:e.id,value:e.id},r(e.name),9,ft))),128))],512),[[C,_.recipeId]])])]),i.error?(l(),m(`p`,pt,r(i.error),1)):v(``,!0),p(`div`,mt,[p(`button`,{class:`ghost-btn`,onClick:A},r(n.$t(`common.cancel`)),1),p(`button`,{class:`pill-btn`,disabled:i.posting||!_.summary.trim()||!_.lineId,onClick:P},r(n.$t(`logs.mSubmit`)),9,ht)])])])):v(``,!0)]))}}),[[`__scopeId`,`data-v-e6e71af5`]]),{__name:`LogsManualModal`}),_t={class:`page`},vt=O(c({name:`OpsLogsPage`,setup(t){let n=k(),r=A(),a=M(),{q:o,hasFilter:c,expandedId:u,doQuery:p,resetFilters:h,toggleRow:g}=te(),{manualOpen:_,openManual:v,submitManual:y}=P({onPosted:p}),b=f(()=>({lineId:o.lineId,productId:o.productId,recipeId:o.recipeId})),x=f(()=>a.recent.filter(e=>e.level===`error`).length),S=f(()=>a.recent.filter(e=>e.level===`warn`).length);function C(e){o.level=o.level===e?``:e,p()}function w(){let e=e=>`"${String(e??``).replace(/"/g,`""`).replace(/\r?\n/g,` `)}"`,t=[`id`,`at`,`level`,`scope`,`actorKind`,`actorName`,`kind`,`action`,`summary`,`lineId`,`productId`,`recipeId`],n=[t.join(`,`)];for(let r of a.results)n.push(t.map(t=>e(r[t])).join(`,`));let r=new Blob([``+n.join(`
2
2
  `)],{type:`text/csv;charset=utf-8`}),i=URL.createObjectURL(r),o=document.createElement(`a`);o.href=i,o.download=`ops-logs-${new Date().toISOString().slice(0,19).replace(/[:T]/g,`-`)}.csv`,o.click(),URL.revokeObjectURL(i)}return s(()=>{r.ensureConnected(),a.ensureLive(),n.load(),p()}),(t,n)=>(l(),m(`div`,_t,[d(U,{"recent-count":e(a).recent.length,"error-count":x.value,"warn-count":S.value,"active-level":e(o).level,"can-export":e(a).results.length>0,onManual:e(v),onQuick:C,onExport:w},null,8,[`recent-count`,`error-count`,`warn-count`,`active-level`,`can-export`,`onManual`]),d(be,{"line-id":e(o).lineId,"onUpdate:lineId":n[0]||=t=>e(o).lineId=t,"product-id":e(o).productId,"onUpdate:productId":n[1]||=t=>e(o).productId=t,"recipe-id":e(o).recipeId,"onUpdate:recipeId":n[2]||=t=>e(o).recipeId=t,"actor-kind":e(o).actorKind,"onUpdate:actorKind":n[3]||=t=>e(o).actorKind=t,kind:e(o).kind,"onUpdate:kind":n[4]||=t=>e(o).kind=t,level:e(o).level,"onUpdate:level":n[5]||=t=>e(o).level=t,from:e(o).from,"onUpdate:from":n[6]||=t=>e(o).from=t,to:e(o).to,"onUpdate:to":n[7]||=t=>e(o).to=t,text:e(o).text,"onUpdate:text":n[8]||=t=>e(o).text=t,"has-filter":e(c),loading:e(a).loading.list,onQuery:e(p),onReset:e(h)},null,8,[`line-id`,`product-id`,`recipe-id`,`actor-kind`,`kind`,`level`,`from`,`to`,`text`,`has-filter`,`loading`,`onQuery`,`onReset`]),d(Xe,{rows:e(a).results,"expanded-id":e(u),loading:e(a).loading.list,error:e(a).error.list,onToggle:e(g)},null,8,[`rows`,`expanded-id`,`loading`,`error`,`onToggle`]),d(gt,{open:e(_),"onUpdate:open":n[9]||=e=>i(_)?_.value=e:null,scope:b.value,posting:e(a).loading.posting,error:e(a).error.post,onSubmit:e(y)},null,8,[`open`,`scope`,`posting`,`error`,`onSubmit`])]))}}),[[`__scopeId`,`data-v-67f08c13`]]);export{vt as default};
@@ -1,3 +1,3 @@
1
- import{N as e,dt as t,ft as n,g as r,mt as i,u as a,v as o}from"./CavpkQb0.js";import{$ as s,P as c,R as l,S as u,V as d,W as f,b as p,f as m,h,i as g,it as _,k as v,m as y,p as b,tt as x,y as S}from"./C6lssmvl.js";import{c as C,d as w,f as T,l as E}from"./ri9UF8rk.js";import{n as D}from"./COtTzurc.js";import{n as ee}from"./D1MkndMZ.js";import{t as O}from"./DkgL8ReD.js";import{i as te}from"./K2YSPQsi.js";import{t as k}from"./BDNMzG2s.js";import{t as ne}from"./CxC1MPpB.js";import{t as re}from"./BiyBp4Lm.js";import{t as ie}from"./DUZYrBpC.js";import{t as ae}from"./p1ERztZ9.js";import{t as oe}from"./Dv-aRRw6.js";import{c as se,l as ce,u as A}from"./B6Olw0Op.js";import{t as le}from"./v9siq2t2.js";import{t as ue}from"./DW3J3wwr.js";import{t as j}from"./2v5GdspM.js";import{r as de,t as fe}from"./na-v7AnV.js";import{t as pe}from"./E0JVrptf2.js";import{t as me}from"./_zZ5SC-g2.js";import{t as M}from"./DMqyOhMS2.js";import{t as he}from"./CNs_Ozdc2.js";import{t as ge}from"./BdGPqx_z2.js";var _e={class:`aw-page-head`},ve={class:`sub`},N={class:`badges mono`},ye=[`title`],P=[`title`],be=Object.assign(k(u({__name:`AmlPageHeader`,props:{overview:{},env:{},pythonText:{},venvText:{},uvText:{}},setup(e){return(n,r)=>(d(),h(`div`,_e,[m(`div`,null,[r[0]||=m(`p`,{class:`aw-kicker`},` AGENTWORKSHOP / AML STUDIO `,-1),m(`h1`,null,i(n.$t(`aml.k1amlx001`)),1),m(`p`,ve,i(n.$t(`aml.k1amlx002`)),1)]),m(`div`,N,[m(`span`,{class:t([`badge`,{bad:e.overview!=null&&!e.overview.runtime.python.ok}]),title:e.overview?.runtime.python.reason??``},`PYTHON · `+i(e.pythonText),11,ye),m(`span`,{class:t([`badge`,{bad:e.overview!=null&&!e.overview.runtime.venvReady}])},`VENV · `+i(e.venvText),3),m(`span`,{class:t([`badge`,{bad:e.env!=null&&!e.env.uv.ok}]),title:e.env?.uv.reason??e.env?.uv.path??``},`UV · `+i(e.uvText),11,P)])]))}}),[[`__scopeId`,`data-v-6556153b`]]),{__name:`AmlPageHeader`}),xe={key:0,class:`infra-banner`},F={class:`txt`},Se={class:`mono`},Ce=Object.assign(k(u({__name:`AmlInfraBanner`,props:{overview:{}},setup(e){return(t,n)=>e.overview!=null&&!e.overview.runtime.python.ok?(d(),h(`div`,xe,[n[0]||=m(`span`,{class:`i-tabler-alert-triangle`},null,-1),m(`span`,F,[S(i(t.$t(`aml.k1amlx014`)),1),m(`b`,Se,i(e.overview.runtime.python.reason??``),1)])])):y(``,!0)}}),[[`__scopeId`,`data-v-b2590880`]]),{__name:`AmlInfraBanner`}),we={key:0,class:`aw-tile ov-card`},Te={class:`ov-row mono`},Ee={class:`ov-item`},I={class:`ov-item`},De={class:`ov-item`},Oe={class:`ov-item`},L=[`title`],R={key:1,class:`err`},ke=Object.assign(k(u({__name:`AmlOverviewBar`,props:{overview:{},overviewError:{},pythonText:{},venvText:{}},emits:[`reload`],setup(e){return(n,r)=>e.overview?(d(),h(`section`,we,[m(`div`,Te,[m(`span`,{class:t([`ov-item`,e.overview.runtime.python.ok?`ok`:`bad`])},[m(`span`,{class:t(e.overview.runtime.python.ok?`i-tabler-circle-check`:`i-tabler-alert-triangle`)},null,2),S(` `+i(n.$t(`aml.k1amlx003`))+` · `+i(e.pythonText),1)],2),m(`span`,{class:t([`ov-item`,{ok:e.overview.runtime.venvReady}])},i(n.$t(`aml.k1amlx006`))+` · `+i(e.venvText),3),m(`span`,Ee,[S(i(n.$t(`aml.k1amlx009`))+` `,1),m(`b`,null,i(e.overview.runtime.queued),1)]),m(`span`,I,[S(i(n.$t(`aml.k1amlx010`))+` `,1),m(`b`,null,i(e.overview.runtime.running),1)]),r[1]||=m(`span`,{class:`sep`},`·`,-1),m(`span`,De,[S(i(n.$t(`aml.k1amlx011`))+` `,1),m(`b`,null,i(e.overview.counts.datasets),1)]),m(`span`,Oe,[S(i(n.$t(`aml.k1amlx012`))+` `,1),m(`b`,null,i(e.overview.counts.models),1)]),m(`span`,{class:`ov-item accent`,title:n.$t(`aml.k1amlx013`)},[S(i(n.$t(`aml.k1amlx013`))+` `,1),m(`b`,null,i(e.overview.counts.productions),1)],8,L),m(`button`,{class:`mini-btn reload`,onClick:r[0]||=e=>n.$emit(`reload`)},i(n.$t(`aml.k1amlx017`)),1)])])):e.overviewError?(d(),h(`p`,R,i(n.$t(`aml.k1amlx015`))+`:`+i(e.overviewError),1)):y(``,!0)}}),[[`__scopeId`,`data-v-77db0a40`]]),{__name:`AmlOverviewBar`}),z={class:`aw-tile zone env-zone`},B={class:`zone-head`},V={class:`zone-actions`},Ae=[`disabled`],je={key:0,class:`infra-banner`},H={class:`txt`},Me={class:`mono`},Ne={class:`env-grid`},U={class:`ec-head`},Pe={class:`ec-state`},W={key:0,class:`ec-detail mono`},G={key:1,class:`ec-detail`},K={class:`ec-actions`},q=[`disabled`,`title`],J={class:`ec-head`},Y={class:`ec-state`},X={class:`ec-detail mono`},Fe={class:`ec-actions`},Z=[`disabled`,`title`],Ie=[`disabled`],Q={class:`env-card`},$={class:`ec-head`},Le={class:`ec-detail mono`},Re={class:`ec-detail dim`},ze={class:`ec-detail`},Be={class:`mono`},Ve={class:`dim`},He={class:`ec-head`},Ue={key:0,class:`ec-state`},We={key:0,class:`ec-detail mono`},Ge={key:1,class:`ec-issues mono`},Ke=[`title`],qe={class:`tag`},Je={class:`ec-actions`},Ye={key:1,class:`env-task`},Xe={class:`et-head mono`},Ze={class:`dim`},Qe={key:0,class:`dim`},$e={class:`et-log mono`},et={key:0,class:`err`},tt=Object.assign(k(u({__name:`AmlEnvPanel`,props:{env:{},inventory:{},envBusy:{type:Boolean},uvText:{},uvSourceText:{},blockerText:{},rootSourceLabel:{}},emits:[`recheck`,`installUv`,`createVenv`,`prune`],setup(n){let r=o(!1),{shortId:a}=j();return(o,s)=>(d(),h(`section`,z,[m(`div`,B,[m(`h2`,null,i(o.$t(`aml.k1amlx162`)),1),m(`div`,V,[m(`button`,{class:`mini-btn`,disabled:n.envBusy,onClick:s[0]||=e=>o.$emit(`recheck`)},i(o.$t(`aml.k1amlx175`)),9,Ae),m(`button`,{class:`mini-btn`,onClick:s[1]||=e=>r.value=!r.value},i(r.value?o.$t(`aml.k1amlx181`):o.$t(`aml.k1amlx180`)),1)])]),n.env.preflight.canRunJobs?y(``,!0):(d(),h(`div`,je,[s[6]||=m(`span`,{class:`i-tabler-alert-triangle`},null,-1),m(`span`,H,[S(i(o.$t(`aml.k1amlx178`))+`:`,1),m(`b`,Me,i(n.blockerText),1)])])),m(`div`,Ne,[m(`div`,{class:t([`env-card`,n.env.uv.ok?`ok`:`bad`])},[m(`div`,U,[m(`span`,{class:t(n.env.uv.ok?`i-tabler-circle-check`:`i-tabler-alert-triangle`)},null,2),m(`b`,null,i(o.$t(`aml.k1amlx163`)),1),m(`span`,Pe,i(n.uvText),1)]),n.env.uv.ok?(d(),h(`p`,W,[S(i(n.env.uv.path),1),n.uvSourceText?(d(),h(g,{key:0},[S(` · `+i(n.uvSourceText),1)],64)):y(``,!0)])):(d(),h(`p`,G,i(o.$t(`aml.k1amlx177`)),1)),m(`div`,K,[n.env.uv.ok?y(``,!0):(d(),h(`button`,{key:0,class:`mini-btn primary`,disabled:n.envBusy,title:o.$t(`aml.k1amlx176`),onClick:s[2]||=e=>o.$emit(`installUv`)},[s[7]||=m(`span`,{class:`i-tabler-download`},null,-1),S(` `+i(n.env.task?.kind===`install-uv`&&n.env.task.status===`running`?o.$t(`aml.k1amlx167`):o.$t(`aml.k1amlx166`)),1)],8,q))])],2),m(`div`,{class:t([`env-card`,n.env.venv.ready?`ok`:`bad`])},[m(`div`,J,[m(`span`,{class:t(n.env.venv.ready?`i-tabler-circle-check`:`i-tabler-alert-triangle`)},null,2),m(`b`,null,i(o.$t(`aml.k1amlx168`)),1),m(`span`,Y,i(n.env.venv.ready?o.$t(`aml.k1amlx007`):o.$t(`aml.k1amlx008`)),1)]),m(`p`,X,[S(i(n.env.venv.dir)+` `,1),n.env.venv.ready?(d(),h(g,{key:0},[S(` · `+i(n.env.venv.sizeMb)+` MB `,1)],64)):y(``,!0)]),m(`div`,Fe,[m(`button`,{class:`mini-btn primary`,disabled:n.envBusy||!n.env.python.ok&&!n.env.uv.ok,title:n.env.python.ok?``:n.env.uv.ok?`系统无 Python —— 将由 uv 自动安装托管解释器并创建环境(uv 优先)`:n.env.python.reason??``,onClick:s[3]||=e=>o.$emit(`createVenv`,!1)},[s[8]||=m(`span`,{class:`i-tabler-plus`},null,-1),S(` `+i(n.env.task?.kind===`create-venv`&&n.env.task.status===`running`?o.$t(`aml.k1amlx170`):o.$t(`aml.k1amlx168`)),1)],8,Z),n.env.venv.ready?(d(),h(`button`,{key:0,class:`mini-btn`,disabled:n.envBusy,onClick:s[4]||=e=>o.$emit(`createVenv`,!0)},i(o.$t(`aml.k1amlx169`)),9,Ie)):y(``,!0)])],2),m(`div`,Q,[m(`div`,$,[s[9]||=m(`span`,{class:`i-tabler-folder`},null,-1),m(`b`,null,i(o.$t(`aml.k1amlx171`)),1)]),m(`p`,Le,i(n.env.amlRoot),1),m(`p`,Re,i(o.$t(`aml.k1amlx201`)),1),m(`p`,ze,[S(i(o.$t(`aml.k1amlx174`))+`: `,1),m(`b`,Be,i(n.env.disk.usedMb)+` / `+i(n.env.disk.quotaMb)+` MB`,1),m(`span`,Ve,` · `+i(n.rootSourceLabel),1)])]),m(`div`,{class:t([`env-card`,n.inventory==null?``:n.inventory.ok?`ok`:`bad`])},[m(`div`,He,[m(`span`,{class:t(n.inventory?.ok===!1?`i-tabler-alert-triangle`:`i-tabler-database`)},null,2),m(`b`,null,i(o.$t(`aml.k1amlx182`)),1),n.inventory?(d(),h(`span`,Ue,i(n.inventory.ok?o.$t(`aml.k1amlx183`):o.$t(`aml.k1amlx184`)),1)):y(``,!0)]),n.inventory?(d(),h(`p`,We,i(o.$t(`aml.k1amlx011`))+` `+i(n.inventory.counts.datasets)+`/`+i(n.inventory.entities.datasets)+` · `+i(o.$t(`aml.k1amlx010`))+` `+i(n.inventory.counts.jobs)+`/`+i(n.inventory.entities.jobs)+` · `+i(o.$t(`aml.k1amlx012`))+` `+i(n.inventory.counts.models)+`/`+i(n.inventory.entities.models),1)):y(``,!0),n.inventory&&n.inventory.issues.length>0?(d(),h(`ul`,Ge,[(d(!0),h(g,null,f(n.inventory.issues.slice(0,5),t=>(d(),h(`li`,{key:`${t.kind}:${t.id}:${t.problem}`,title:t.detail},[m(`span`,qe,i(t.problem===`entity_missing`?o.$t(`aml.k1amlx185`):t.problem===`orphan_dir`?o.$t(`aml.k1amlx186`):o.$t(`aml.k1amlx187`)),1),S(` `+i(t.kind)+` `+i(e(a)(t.id)),1)],8,Ke))),128))])):y(``,!0),m(`div`,Je,[n.inventory&&n.inventory.issues.some(e=>e.problem===`orphan_dir`)?(d(),h(`button`,{key:0,class:`mini-btn`,onClick:s[5]||=e=>o.$emit(`prune`)},[s[10]||=m(`span`,{class:`i-tabler-trash`},null,-1),S(` `+i(o.$t(`aml.k1amlx188`)),1)])):y(``,!0)])],2)]),n.env.task&&r.value?(d(),h(`div`,Ye,[m(`div`,Xe,[m(`span`,{class:t(n.env.task.status===`running`?`i-tabler-loader-2 spin`:n.env.task.status===`done`?`i-tabler-circle-check`:`i-tabler-alert-triangle`)},null,2),m(`b`,null,i(n.env.task.kind),1),m(`span`,Ze,i(n.env.task.status),1),n.env.task.status===`running`?(d(),h(`span`,Qe,`· `+i(o.$t(`aml.k1amlx179`)),1)):y(``,!0)]),m(`pre`,$e,i(n.env.task.log.slice(-40).join(`
2
- `)),1),n.env.task.error?(d(),h(`p`,et,i(n.env.task.error),1)):y(``,!0)])):y(``,!0)]))}}),[[`__scopeId`,`data-v-f2c92c1d`]]),{__name:`AmlEnvPanel`}),nt={class:`aw-tile zone`},rt={class:`zone-head`},it={class:`mono cnt`},at={class:`zone-actions`},ot={key:0,class:`tbl-scroll`},st={class:`tbl tbl-datasets`},ct={class:`num`},lt={class:`num`},ut=[`onClick`],dt={class:`mono dim`},ft={class:`mono`},pt={class:`mono`},mt={class:`mono num`},ht={class:`mono num`},gt={key:0,class:`note-edit`},_t=[`placeholder`,`onKeyup`],vt=[`onClick`],yt={key:1,class:`note-text`},bt=[`title`],xt=[`title`,`onClick`],St=[`title`,`onClick`],Ct={key:0,class:`detail-row`},wt={colspan:`7`},Tt={key:0,class:`dim pad`},Et={key:1,class:`err pad`},Dt={key:2,class:`det-grid`},Ot={class:`det-title`},kt={class:`sub-tbl`},At={class:`num`},jt={class:`num`},Mt={class:`num`},Nt={class:`num`},Pt={class:`num`},Ft={class:`mono`},It={class:`role-chip`},Lt={class:`mono num`},Rt={class:`mono num`},zt={class:`mono num`},Bt={class:`mono num`},Vt={class:`mono num`},Ht={class:`det-title`},Ut={key:0,class:`sub-tbl`},Wt={class:`num`},Gt={class:`num`},Kt={class:`mono`},qt={class:`mono`},Jt={class:`mono num`},Yt={class:`mono num`},Xt={key:1,class:`dim`},Zt={class:`det-title`},Qt={class:`mono dim run-line`},$t={key:3,class:`dim pad`},en={key:1,class:`empty`},tn=Object.assign(k(u({__name:`AmlDatasetTable`,props:v({datasets:{},expandedDs:{},dsDetails:{},noteEditing:{}},{noteDraft:{required:!0},noteDraftModifiers:{}}),emits:v([`toggle`,`reload`,`create`,`editNote`,`saveNote`,`cancelNote`,`remove`],[`update:noteDraft`]),setup(n){let r=s(n,`noteDraft`),{fmtTime:a,fmtNum:o,fmtPct:c,shortId:l}=j();return(s,u)=>(d(),h(`section`,nt,[m(`div`,rt,[m(`h2`,null,[u[6]||=m(`span`,{class:`i-tabler-database`},null,-1),S(` `+i(s.$t(`aml.k1amlx016`))+` `,1),m(`b`,it,i(n.datasets.length),1)]),m(`div`,at,[m(`button`,{class:`mini-btn`,onClick:u[0]||=e=>s.$emit(`reload`)},i(s.$t(`aml.k1amlx017`)),1),m(`button`,{class:`pill-btn`,onClick:u[1]||=e=>s.$emit(`create`)},[u[7]||=m(`span`,{class:`i-tabler-plus`},null,-1),S(` `+i(s.$t(`aml.k1amlx018`)),1)])])]),n.datasets.length?(d(),h(`div`,ot,[m(`table`,st,[m(`thead`,null,[m(`tr`,null,[m(`th`,null,i(s.$t(`aml.k1amlx020`)),1),m(`th`,null,i(s.$t(`aml.k1amlx021`)),1),m(`th`,null,i(s.$t(`aml.k1amlx022`)),1),m(`th`,ct,i(s.$t(`aml.k1amlx023`)),1),m(`th`,lt,i(s.$t(`aml.k1amlx024`)),1),m(`th`,null,i(s.$t(`aml.k1amlx025`)),1),m(`th`,null,i(s.$t(`aml.k1amlx026`)),1)])]),m(`tbody`,null,[(d(!0),h(g,null,f(n.datasets,p=>(d(),h(g,{key:p.id},[m(`tr`,{class:t([`row-main`,{open:n.expandedDs===p.id}]),onClick:e=>s.$emit(`toggle`,p.id)},[m(`td`,dt,i(e(a)(p.createdAt)),1),m(`td`,ft,i(e(l)(p.productId)),1),m(`td`,pt,i(e(l)(p.recipeId)),1),m(`td`,mt,i(p.rowCount),1),m(`td`,ht,i(p.runIds.length),1),m(`td`,null,[S(i(p.createdBy),1),m(`small`,{class:t([`kind`,p.createdByKind])},i(p.createdByKind===`agent`?`Agent`:s.$t(`aml.k1amlx049`)),3)]),m(`td`,{class:`note-cell`,onClick:u[5]||=T(()=>{},[`stop`])},[n.noteEditing===p.id?(d(),h(`div`,gt,[_(m(`input`,{"onUpdate:modelValue":u[2]||=e=>r.value=e,placeholder:s.$t(`aml.k1amlx189`),onKeyup:[w(e=>s.$emit(`saveNote`,p.id),[`enter`]),u[3]||=w(e=>s.$emit(`cancelNote`),[`esc`])]},null,40,_t),[[E,r.value]]),m(`button`,{class:`mini-btn`,onClick:e=>s.$emit(`saveNote`,p.id)},i(s.$t(`aml.k1amlx191`)),9,vt),m(`button`,{class:`mini-btn`,onClick:u[4]||=e=>s.$emit(`cancelNote`)},i(s.$t(`aml.k1amlx202`)),1)])):(d(),h(`span`,yt,[m(`span`,{class:`note`,title:p.note},i(p.note||`--`),9,bt),m(`span`,{class:`i-tabler-pencil edit-i`,title:s.$t(`aml.k1amlx189`),onClick:e=>s.$emit(`editNote`,p.id,p.note)},null,8,xt),m(`span`,{class:`i-tabler-trash edit-i`,title:s.$t(`aml.k1amlx190`),onClick:e=>s.$emit(`remove`,p.id,s.$t(`aml.k1amlx198`))},null,8,St)]))])],10,ut),n.expandedDs===p.id?(d(),h(`tr`,Ct,[m(`td`,wt,[n.dsDetails[p.id]?.loading?(d(),h(`div`,Tt,i(s.$t(`aml.k1amlx030`)),1)):n.dsDetails[p.id]?.error?(d(),h(`div`,Et,i(s.$t(`aml.k1amlx031`))+`:`+i(n.dsDetails[p.id]?.error),1)):n.dsDetails[p.id]?.report?(d(),h(`div`,Dt,[m(`div`,null,[m(`p`,Ot,i(s.$t(`aml.k1amlx027`)),1),m(`table`,kt,[m(`thead`,null,[m(`tr`,null,[m(`th`,null,i(s.$t(`aml.k1amlx033`)),1),m(`th`,null,i(s.$t(`aml.k1amlx034`)),1),m(`th`,At,i(s.$t(`aml.k1amlx035`)),1),m(`th`,jt,i(s.$t(`aml.k1amlx036`)),1),m(`th`,Mt,i(s.$t(`aml.k1amlx037`)),1),m(`th`,Nt,i(s.$t(`aml.k1amlx038`)),1),m(`th`,Pt,i(s.$t(`aml.k1amlx039`)),1)])]),m(`tbody`,null,[(d(!0),h(g,null,f(n.dsDetails[p.id]?.report?.nodeSummaries,t=>(d(),h(`tr`,{key:t.nodeId},[m(`td`,Ft,i(t.nodeId),1),m(`td`,null,[m(`small`,It,i(t.role),1)]),m(`td`,Lt,i(e(c)(t.cleanedRatio)),1),m(`td`,Rt,i(e(c)(t.missingRatio)),1),m(`td`,zt,i(e(o)(t.mean,3)),1),m(`td`,Bt,i(e(o)(t.std,3)),1),m(`td`,Vt,i(e(o)(t.min,2))+`~`+i(e(o)(t.max,2)),1)]))),128))])])]),m(`div`,null,[m(`p`,Ht,i(s.$t(`aml.k1amlx028`)),1),n.dsDetails[p.id]?.report?.lagEstimates.length?(d(),h(`table`,Ut,[m(`thead`,null,[m(`tr`,null,[m(`th`,null,i(s.$t(`aml.k1amlx040`)),1),m(`th`,null,i(s.$t(`aml.k1amlx041`)),1),m(`th`,Wt,i(s.$t(`aml.k1amlx042`)),1),m(`th`,Gt,i(s.$t(`aml.k1amlx043`)),1)])]),m(`tbody`,null,[(d(!0),h(g,null,f(n.dsDetails[p.id]?.report?.lagEstimates,t=>(d(),h(`tr`,{key:`${t.controlId}->${t.targetId}`},[m(`td`,Kt,i(t.controlId),1),m(`td`,qt,i(t.targetId),1),m(`td`,Jt,i(t.lagSteps),1),m(`td`,Yt,i(e(o)(t.corr,3)),1)]))),128))])])):(d(),h(`p`,Xt,i(s.$t(`aml.k1amlx032`)),1)),m(`p`,Zt,i(s.$t(`aml.k1amlx029`)),1),m(`p`,Qt,[S(i(s.$t(`aml.k1amlx044`))+` `,1),m(`b`,null,i(n.dsDetails[p.id]?.report?.runsUsed.length??0),1),S(` · `+i(s.$t(`aml.k1amlx045`))+` `,1),m(`b`,null,i(n.dsDetails[p.id]?.report?.runsDropped.length??0),1),S(` · `+i(s.$t(`aml.k1amlx046`))+` `,1),m(`b`,null,i(n.dsDetails[p.id]?.report?.windowCount.train)+`/`+i(n.dsDetails[p.id]?.report?.windowCount.val)+`/`+i(n.dsDetails[p.id]?.report?.windowCount.test),1)]),(d(!0),h(g,null,f(n.dsDetails[p.id]?.report?.runsDropped,t=>(d(),h(`p`,{key:t.runId,class:`mono drop-line`},` ✗ `+i(e(l)(t.runId))+` — `+i(t.reason),1))),128))])])):(d(),h(`p`,$t,i(s.$t(`aml.k1amlx047`)),1))])])):y(``,!0)],64))),128))])])])):(d(),h(`p`,en,i(s.$t(`aml.k1amlx019`)),1))]))}}),[[`__scopeId`,`data-v-ff727fc7`]]),{__name:`AmlDatasetTable`}),nn={class:`aw-tile zone`},rn={class:`zone-head`},an={class:`mono cnt`},on=[`title`],sn={key:0,class:`tbl-scroll`},cn={class:`tbl tbl-jobs`},ln={class:`prog-th`},un={class:`right`},dn=[`onClick`],fn={class:`mono`},pn={class:`mono dim`},mn={class:`mono dim`},hn={class:`mono dim`},gn={class:`prog-cell`},_n={class:`prog`},vn={class:`mono prog-num`},yn={class:`mono dim`},bn={class:`right acts`},xn=[`disabled`,`onClick`],Sn=[`disabled`,`onClick`],Cn=[`title`,`onClick`],wn={key:0,class:`detail-row`},Tn={colspan:`8`},En={key:0,class:`dim pad`},Dn={key:1,class:`err pad`},On={key:2,class:`det-grid`},kn={class:`det-title`},An={key:0,class:`sub-tbl`},jn={class:`num`},Mn={class:`num`},Nn={class:`mono gate-id`},Pn={class:`dim`},Fn={class:`mono num`},In={class:`mono num dim`},Ln={class:`dim gate-detail`},Rn={key:1,class:`dim`},zn={key:2,class:`mono dim gate-detail`},Bn={key:3,class:`err gate-detail`},Vn={class:`det-title`},Hn={key:0,class:`mono live-hint`},Un={class:`logs`},Wn={key:1,class:`empty`},Gn=Object.assign(k(u({__name:`AmlJobsTable`,props:{jobRows:{},expandedJob:{},jobDetails:{},confirmCancel:{},cancelling:{},confirmRetry:{},retrying:{}},emits:[`toggle`,`reload`,`cancel`,`retry`,`remove`],setup(r){let{fmtTime:a,fmtNum:o,shortId:s,statusLabel:c,isActiveStatus:l,canRetry:u}=j();return(p,_)=>(d(),h(`section`,nn,[m(`div`,rn,[m(`h2`,null,[_[1]||=m(`span`,{class:`i-tabler-brain`},null,-1),S(` `+i(p.$t(`aml.k1amlx074`))+` `,1),m(`b`,an,i(r.jobRows.length),1),r.jobRows.some(t=>e(l)(t.status))?(d(),h(`span`,{key:0,class:`live-dot`,title:p.$t(`aml.k1amlx091`)},null,8,on)):y(``,!0)]),m(`button`,{class:`mini-btn`,onClick:_[0]||=e=>p.$emit(`reload`)},i(p.$t(`aml.k1amlx017`)),1)]),r.jobRows.length?(d(),h(`div`,sn,[m(`table`,cn,[m(`thead`,null,[m(`tr`,null,[m(`th`,null,i(p.$t(`aml.k1amlx076`)),1),m(`th`,null,i(p.$t(`aml.k1amlx011`)),1),m(`th`,null,i(p.$t(`aml.k1amlx066`)),1),m(`th`,null,i(p.$t(`aml.k1amlx077`)),1),m(`th`,null,i(p.$t(`aml.k1amlx078`)),1),m(`th`,ln,i(p.$t(`aml.k1amlx079`)),1),m(`th`,null,i(p.$t(`aml.k1amlx020`)),1),m(`th`,un,i(p.$t(`aml.k1amlx127`)),1)])]),m(`tbody`,null,[(d(!0),h(g,null,f(r.jobRows,_=>(d(),h(g,{key:_.id},[m(`tr`,{class:t([`row-main`,{open:r.expandedJob===_.id}]),onClick:e=>p.$emit(`toggle`,_.id)},[m(`td`,fn,i(e(s)(_.id)),1),m(`td`,pn,i(e(s)(_.datasetId)),1),m(`td`,mn,i(_.purpose),1),m(`td`,null,[m(`span`,{class:t([`st-pill`,_.status])},i(e(c)(_.status)),3)]),m(`td`,hn,i(_.stage||`--`),1),m(`td`,gn,[m(`span`,_n,[m(`i`,{style:n({width:`${Math.max(0,Math.min(100,_.progress))}%`}),class:t({done:_.status===`done`,bad:_.status===`failed`})},null,6)]),m(`span`,vn,i(Math.round(_.progress))+`%`,1)]),m(`td`,yn,i(e(a)(_.createdAt)),1),m(`td`,bn,[e(l)(_.status)?(d(),h(`button`,{key:0,class:`mini-btn danger`,disabled:r.cancelling===_.id,onClick:T(e=>p.$emit(`cancel`,_.id),[`stop`])},i(r.confirmCancel===_.id?p.$t(`aml.k1amlx094`):r.cancelling===_.id?p.$t(`aml.k1amlx093`):p.$t(`aml.k1amlx071`)),9,xn)):y(``,!0),e(u)(_.status)?(d(),h(`button`,{key:1,class:`mini-btn`,disabled:r.retrying===_.id,onClick:T(e=>p.$emit(`retry`,_.id),[`stop`])},i(r.confirmRetry===_.id?p.$t(`aml.k1amlx096`):p.$t(`aml.k1amlx095`)),9,Sn)):y(``,!0),e(l)(_.status)?y(``,!0):(d(),h(`span`,{key:2,class:`i-tabler-trash edit-i`,title:p.$t(`aml.k1amlx190`),onClick:T(e=>p.$emit(`remove`,_.id,p.$t(`aml.k1amlx200`)),[`stop`])},null,8,Cn))])],10,dn),r.expandedJob===_.id?(d(),h(`tr`,wn,[m(`td`,Tn,[r.jobDetails[_.id]?.loading?(d(),h(`div`,En,i(p.$t(`aml.k1amlx030`)),1)):r.jobDetails[_.id]?.error?(d(),h(`div`,Dn,i(r.jobDetails[_.id]?.error),1)):(d(),h(`div`,On,[m(`div`,null,[m(`p`,kn,i(p.$t(`aml.k1amlx083`)),1),r.jobDetails[_.id]?.gates?.checks.length?(d(),h(`table`,An,[m(`thead`,null,[m(`tr`,null,[m(`th`,null,i(p.$t(`aml.k1amlx084`)),1),m(`th`,jn,i(p.$t(`aml.k1amlx085`)),1),m(`th`,Mn,i(p.$t(`aml.k1amlx086`)),1),m(`th`,null,i(p.$t(`aml.k1amlx118`)),1)])]),m(`tbody`,null,[(d(!0),h(g,null,f(r.jobDetails[_.id]?.gates?.checks,n=>(d(),h(`tr`,{key:n.id},[m(`td`,null,[m(`b`,Nn,i(n.id),1),m(`small`,Pn,i(n.name),1)]),m(`td`,Fn,i(e(o)(n.value)),1),m(`td`,In,i(e(o)(n.threshold)),1),m(`td`,null,[m(`span`,{class:t([`verdict`,n.pass?`pass`:`fail`])},i(n.pass?p.$t(`aml.k1amlx087`):p.$t(`aml.k1amlx088`)),3),m(`small`,Ln,i(n.detail),1)])]))),128))])])):(d(),h(`p`,Rn,i(p.$t(`aml.k1amlx082`)),1)),r.jobDetails[_.id]?.metrics?.oneStepTest?(d(),h(`p`,zn,[S(i(p.$t(`aml.k1amlx099`))+`: `+i(p.$t(`aml.k1amlx116`))+` `+i(e(o)(r.jobDetails[_.id]?.metrics?.oneStepTest?.nrmse))+` `,1),r.jobDetails[_.id]?.metrics?.rolloutTest?(d(),h(g,{key:0},[S(` · `+i(p.$t(`aml.k1amlx117`))+` `+i(e(o)(r.jobDetails[_.id]?.metrics?.rolloutTest?.nrmse)),1)],64)):y(``,!0)])):y(``,!0),_.error?(d(),h(`p`,Bn,i(p.$t(`aml.k1amlx092`))+`:`+i(_.error),1)):y(``,!0)]),m(`div`,null,[m(`p`,Vn,[S(i(p.$t(`aml.k1amlx089`))+` `,1),e(l)(_.status)?(d(),h(`span`,Hn,i(p.$t(`aml.k1amlx091`)),1)):y(``,!0)]),m(`pre`,Un,i((r.jobDetails[_.id]?.logs??[]).join(`
3
- `)||p.$t(`aml.k1amlx090`)),1)])]))])])):y(``,!0)],64))),128))])])])):(d(),h(`p`,Wn,i(p.$t(`aml.k1amlx075`)),1))]))}}),[[`__scopeId`,`data-v-89544017`]]),{__name:`AmlJobsTable`}),Kn={class:`aw-tile zone`},qn={class:`zone-head`},Jn={class:`mono cnt`},Yn={class:`zone-actions`},Xn={value:``},Zn=[`value`],Qn=[`disabled`],$n={key:0,class:`tbl-scroll`},er={class:`tbl tbl-exp`},tr=[`title`],nr=[`title`],rr={class:`mono`},ir={key:0,class:`best-tag`},ar={class:`mono dim`},or={class:`note-cell`},sr=[`title`],cr={class:`mono dim`},lr={class:`mono num`},ur={class:`mono num`},dr={key:1,class:`empty`},fr={key:2,class:`err pad`},pr=Object.assign(k(u({__name:`AmlExperimentsTable`,props:v({datasets:{},experiments:{},bestExpId:{},expError:{}},{expDatasetId:{required:!0},expDatasetIdModifiers:{}}),emits:v([`reload`],[`update:expDatasetId`]),setup(n){let r=s(n,`expDatasetId`),{fmtTime:a,fmtNum:o,shortId:c,expStatusLabel:l}=j();return(s,u)=>(d(),h(`section`,Kn,[m(`div`,qn,[m(`h2`,null,[u[3]||=m(`span`,{class:`i-tabler-trophy`},null,-1),S(` `+i(s.$t(`aml.k1amlx109`))+` `,1),m(`b`,Jn,i(n.experiments.length),1)]),m(`div`,Yn,[_(m(`select`,{"onUpdate:modelValue":u[0]||=e=>r.value=e,class:`inp-sel`,onChange:u[1]||=e=>s.$emit(`reload`)},[m(`option`,Xn,i(s.$t(`aml.k1amlx111`)),1),(d(!0),h(g,null,f(n.datasets,t=>(d(),h(`option`,{key:t.id,value:t.id},i(e(c)(t.id))+` · `+i(e(c)(t.recipeId)),9,Zn))),128))],544),[[C,r.value]]),m(`button`,{class:`mini-btn`,disabled:!r.value,onClick:u[2]||=e=>s.$emit(`reload`)},i(s.$t(`aml.k1amlx017`)),9,Qn)])]),n.experiments.length?(d(),h(`div`,$n,[m(`table`,er,[m(`thead`,null,[m(`tr`,null,[m(`th`,null,i(s.$t(`aml.k1amlx113`)),1),m(`th`,null,i(s.$t(`aml.k1amlx020`)),1),m(`th`,null,i(s.$t(`aml.k1amlx114`)),1),m(`th`,null,i(s.$t(`aml.k1amlx115`)),1),m(`th`,{class:`num`,title:s.$t(`aml.k1amlx121`)},i(s.$t(`aml.k1amlx116`)),9,tr),m(`th`,{class:`num`,title:s.$t(`aml.k1amlx122`)},i(s.$t(`aml.k1amlx117`)),9,nr),m(`th`,null,i(s.$t(`aml.k1amlx118`)),1)])]),m(`tbody`,null,[(d(!0),h(g,null,f(n.experiments,r=>(d(),h(`tr`,{key:r.id,class:t({best:r.id===n.bestExpId})},[m(`td`,rr,[r.id===n.bestExpId?(d(),h(`span`,ir,i(s.$t(`aml.k1amlx120`)),1)):y(``,!0),S(` `+i(e(c)(r.id)),1)]),m(`td`,ar,i(e(a)(r.createdAt)),1),m(`td`,or,[m(`span`,{class:`note`,title:r.changeNote},i(r.changeNote||`--`),9,sr)]),m(`td`,cr,i(r.parentExperimentId?e(c)(r.parentExperimentId):`--`),1),m(`td`,lr,i(e(o)(r.metrics?.oneStepTest?.nrmse)),1),m(`td`,ur,i(e(o)(r.metrics?.rolloutTest?.nrmse)),1),m(`td`,null,[m(`span`,{class:t([`st-pill`,r.status])},i(e(l)(r.status)),3)])],2))),128))])])])):(d(),h(`p`,dr,i(r.value?s.$t(`aml.k1amlx112`):s.$t(`aml.k1amlx110`)),1)),n.expError?(d(),h(`p`,fr,i(n.expError),1)):y(``,!0)]))}}),[[`__scopeId`,`data-v-5b7fda0b`]]),{__name:`AmlExperimentsTable`}),mr={class:`aw-tile zone`},hr={class:`zone-head`},gr={class:`mono cnt`},_r={key:0,class:`tbl-scroll`},vr={class:`tbl tbl-models`},yr=[`title`],br={class:`right`},xr={class:`mono`},Sr=[`title`],Cr={class:`label-text`},wr=[`title`],Tr={class:`mono dim`},Er={class:`mono dim`},Dr={class:`mono dim`},Or={class:`mono dim`},kr={key:0,class:`note-edit`},Ar=[`placeholder`,`onKeyup`],jr=[`onClick`],Mr={key:1,class:`note-text`},Nr=[`title`],Pr=[`title`,`onClick`],Fr={class:`right acts`},Ir=[`disabled`,`onClick`],Lr={key:0,class:`dim`},Rr=[`title`,`onClick`],zr={key:1,class:`empty`},Br=Object.assign(k(u({__name:`AmlModelsTable`,props:v({models:{},noteEditing:{},confirmPromote:{},promoting:{}},{noteDraft:{required:!0},noteDraftModifiers:{}}),emits:v([`reload`,`editNote`,`saveNote`,`cancelNote`,`promote`,`remove`],[`update:noteDraft`]),setup(n){let r=s(n,`noteDraft`),{fmtTime:a,fmtNum:o,shortId:c}=j();return(s,l)=>(d(),h(`section`,mr,[m(`div`,hr,[m(`h2`,null,[l[5]||=m(`span`,{class:`i-tabler-cube-3d-sphere`},null,-1),S(` `+i(s.$t(`aml.k1amlx123`))+` `,1),m(`b`,gr,i(n.models.length),1)]),m(`button`,{class:`mini-btn`,onClick:l[0]||=e=>s.$emit(`reload`)},i(s.$t(`aml.k1amlx017`)),1)]),n.models.length?(d(),h(`div`,_r,[m(`table`,vr,[m(`thead`,null,[m(`tr`,null,[m(`th`,null,i(s.$t(`aml.k1amlx125`)),1),m(`th`,null,i(s.$t(`aml.k1amlx204`)),1),m(`th`,null,i(s.$t(`aml.k1amlx021`)),1),m(`th`,null,i(s.$t(`aml.k1amlx022`)),1),m(`th`,null,i(s.$t(`aml.k1amlx078`)),1),m(`th`,{title:s.$t(`aml.k1amlx126`)},i(s.$t(`aml.k1amlx099`)),9,yr),m(`th`,null,i(s.$t(`aml.k1amlx020`)),1),m(`th`,null,i(s.$t(`aml.k1amlx026`)),1),m(`th`,br,i(s.$t(`aml.k1amlx127`)),1)])]),m(`tbody`,null,[(d(!0),h(g,null,f(n.models,u=>(d(),h(`tr`,{key:u.id},[m(`td`,xr,i(e(c)(u.id)),1),m(`td`,{class:`label-cell`,title:u.description||u.label},[m(`span`,Cr,i(u.label||`--`),1),u.description?(d(),h(`span`,{key:0,class:`desc-text`,title:u.description},i(u.description),9,wr)):y(``,!0)],8,Sr),m(`td`,Tr,i(e(c)(u.productId)),1),m(`td`,Er,i(e(c)(u.recipeId)),1),m(`td`,null,[m(`span`,{class:t([`stage-pill`,u.stage])},i(u.stage),3)]),m(`td`,Dr,i(s.$t(`aml.k1amlx116`))+` `+i(e(o)(u.metrics?.oneStepTest?.nrmse))+` · `+i(s.$t(`aml.k1amlx117`))+` `+i(e(o)(u.metrics?.rolloutTest?.nrmse)),1),m(`td`,Or,i(e(a)(u.createdAt)),1),m(`td`,{class:`note-cell`,onClick:l[4]||=T(()=>{},[`stop`])},[n.noteEditing===u.id?(d(),h(`div`,kr,[_(m(`input`,{"onUpdate:modelValue":l[1]||=e=>r.value=e,placeholder:s.$t(`aml.k1amlx189`),onKeyup:[w(e=>s.$emit(`saveNote`,u.id),[`enter`]),l[2]||=w(e=>s.$emit(`cancelNote`),[`esc`])]},null,40,Ar),[[E,r.value]]),m(`button`,{class:`mini-btn`,onClick:e=>s.$emit(`saveNote`,u.id)},i(s.$t(`aml.k1amlx191`)),9,jr),m(`button`,{class:`mini-btn`,onClick:l[3]||=e=>s.$emit(`cancelNote`)},i(s.$t(`aml.k1amlx202`)),1)])):(d(),h(`span`,Mr,[m(`span`,{class:`note`,title:u.note},i(u.note||`--`),9,Nr),m(`span`,{class:`i-tabler-pencil edit-i`,title:s.$t(`aml.k1amlx189`),onClick:e=>s.$emit(`editNote`,u.id,u.note)},null,8,Pr)]))]),m(`td`,Fr,[(d(!0),h(g,null,f(e(A)(u),e=>(d(),h(`button`,{key:e.to,class:t([`mini-btn`,{danger:e.to===`retired`}]),disabled:n.promoting===`${u.id}:${e.to}`,onClick:t=>s.$emit(`promote`,u,e.to)},i(n.confirmPromote===`${u.id}:${e.to}`?s.$t(`aml.k1amlx131`):s.$t(e.key)),11,Ir))),128)),e(A)(u).length===0?(d(),h(`span`,Lr,`--`)):y(``,!0),m(`span`,{class:`i-tabler-trash edit-i`,title:s.$t(`aml.k1amlx190`),onClick:e=>s.$emit(`remove`,u.id,s.$t(`aml.k1amlx199`))},null,8,Rr)])]))),128))])])])):(d(),h(`p`,zr,i(s.$t(`aml.k1amlx124`)),1))]))}}),[[`__scopeId`,`data-v-cdf91f1d`]]),{__name:`AmlModelsTable`}),Vr={class:`aw-tile zone`},Hr={class:`zone-head`},Ur={value:``},Wr=[`value`],Gr={key:0,class:`pc-body`},Kr={class:`det-title`},qr={class:`io-grid mono`},Jr={class:`io-item`},Yr={class:`io-item`},Xr={class:`io-item`},Zr=[`title`],Qr=[`title`],$r=[`title`],ei={class:`pc-form`},ti={class:`pc-field`},ni=[`placeholder`],ri={class:`pc-side`},ii={class:`pc-field`},ai={class:`pc-field`},oi=[`disabled`],si={class:`hint dim`},ci={key:0,class:`err`},li={class:`det-title`},ui={class:`sub-tbl`},di={class:`num`},fi={class:`num`},pi={key:0,class:`dim`},mi={class:`mono num`},hi={class:`mono num dim`},gi={class:`mono dim gate-detail`},_i={key:1,class:`empty`},vi={key:1,class:`empty`},yi=Object.assign(k(u({__name:`AmlPredictConsole`,props:{models:{}},setup(t){let n=t,{productionModels:r,predModelId:o,predModel:s,predHistory:c,predControls:l,predSteps:u,predBusy:p,predError:v,predResult:b,onPullLatest:x,doPredict:w}=M(()=>n.models),{fmtNum:T,shortId:D}=j();return(t,n)=>(d(),h(`section`,Vr,[m(`div`,Hr,[m(`h2`,null,[n[6]||=m(`span`,{class:`i-tabler-chart-line`},null,-1),S(` `+i(t.$t(`aml.k1amlx133`)),1)]),e(r).length?_((d(),h(`select`,{key:0,"onUpdate:modelValue":n[0]||=e=>a(o)?o.value=e:null,class:`inp-sel`},[m(`option`,Ur,i(t.$t(`aml.k1amlx134`)),1),(d(!0),h(g,null,f(e(r),t=>(d(),h(`option`,{key:t.id,value:t.id},i(e(D)(t.id))+` · `+i(e(D)(t.recipeId)),9,Wr))),128))],512)),[[C,e(o)]]):y(``,!0)]),e(r).length?(d(),h(g,{key:0},[e(s)?.ioSpec?(d(),h(`div`,Gr,[m(`p`,Kr,i(t.$t(`aml.k1amlx136`)),1),m(`div`,qr,[m(`span`,Jr,[S(i(t.$t(`aml.k1amlx140`))+` `,1),m(`b`,null,i(e(s).ioSpec.historySteps),1)]),m(`span`,Yr,[S(i(t.$t(`aml.k1amlx141`))+` `,1),m(`b`,null,i(e(s).ioSpec.horizonSteps),1)]),m(`span`,Xr,[S(i(t.$t(`aml.k1amlx142`))+` `,1),m(`b`,null,i(e(s).ioSpec.beatMs)+`ms`,1)]),m(`span`,{class:`io-item`,title:e(s).ioSpec.allNodes.join(`, `)},[S(i(t.$t(`aml.k1amlx137`))+`(`+i(e(s).ioSpec.allNodes.length)+`) `,1),m(`b`,null,i(e(s).ioSpec.allNodes.map(t=>e(D)(t)).join(`, `)),1)],8,Zr),m(`span`,{class:`io-item`,title:e(s).ioSpec.controlNodes.join(`, `)},[S(i(t.$t(`aml.k1amlx138`))+` `,1),m(`b`,null,i(e(s).ioSpec.controlNodes.map(t=>e(D)(t)).join(`, `)),1)],8,Qr),m(`span`,{class:`io-item`,title:e(s).ioSpec.targetNodes.join(`, `)},[S(i(t.$t(`aml.k1amlx139`))+` `,1),m(`b`,null,i(e(s).ioSpec.targetNodes.map(t=>e(D)(t)).join(`, `)),1)],8,$r)]),m(`div`,ei,[m(`label`,ti,[m(`span`,null,i(t.$t(`aml.k1amlx143`)),1),_(m(`textarea`,{"onUpdate:modelValue":n[1]||=e=>a(c)?c.value=e:null,class:`inp area`,rows:`5`,placeholder:t.$t(`aml.k1amlx144`)},null,8,ni),[[E,e(c)]])]),m(`div`,ri,[m(`button`,{class:`ghost-btn`,onClick:n[2]||=(...t)=>e(x)&&e(x)(...t)},[n[7]||=m(`span`,{class:`i-tabler-download`},null,-1),S(` `+i(t.$t(`aml.k1amlx145`)),1)]),m(`label`,ii,[m(`span`,null,i(t.$t(`aml.k1amlx156`)),1),_(m(`textarea`,{"onUpdate:modelValue":n[3]||=e=>a(l)?l.value=e:null,class:`inp area`,rows:`3`,placeholder:`[[…]]`},null,512),[[E,e(l)]])]),m(`label`,ai,[m(`span`,null,i(t.$t(`aml.k1amlx147`)),1),_(m(`input`,{"onUpdate:modelValue":n[4]||=e=>a(u)?u.value=e:null,type:`number`,min:`1`,class:`inp`},null,512),[[E,e(u),void 0,{number:!0}]])]),m(`button`,{class:`pill-btn`,disabled:e(p)||!e(c).trim(),onClick:n[5]||=(...t)=>e(w)&&e(w)(...t)},i(e(p)?t.$t(`aml.k1amlx149`):t.$t(`aml.k1amlx148`)),9,oi)])]),m(`p`,si,i(t.$t(`aml.k1amlx146`)),1),e(v)?(d(),h(`p`,ci,i(e(v)),1)):y(``,!0),e(b)?(d(),h(g,{key:1},[m(`p`,li,i(t.$t(`aml.k1amlx150`)),1),m(`table`,ui,[m(`thead`,null,[m(`tr`,null,[m(`th`,di,i(t.$t(`aml.k1amlx151`)),1),m(`th`,fi,i(t.$t(`aml.k1amlx152`)),1),(d(!0),h(g,null,f(e(b).targetNodes,(n,r)=>(d(),h(`th`,{key:n,class:`num`},[S(i(e(D)(n)),1),r===0?(d(),h(`small`,pi,` (`+i(t.$t(`aml.k1amlx041`))+`)`,1)):y(``,!0)]))),128))])]),m(`tbody`,null,[(d(!0),h(g,null,f(e(b).forecast,(t,n)=>(d(),h(`tr`,{key:n},[m(`td`,mi,i(n+1),1),m(`td`,hi,i(e(T)((n+1)*e(b).beatMs/1e3,1)),1),(d(!0),h(g,null,f(t,(t,n)=>(d(),h(`td`,{key:n,class:`mono num`},i(e(T)(t,3)),1))),128))]))),128))])]),m(`p`,gi,i(t.$t(`aml.k1amlx155`))+`:`+i(e(b).assumptions),1)],64)):y(``,!0)])):(d(),h(`p`,_i,i(t.$t(`aml.k1amlx134`)),1))],64)):(d(),h(`p`,vi,i(t.$t(`aml.k1amlx135`)),1))]))}}),[[`__scopeId`,`data-v-57c9a30a`]]),{__name:`AmlPredictConsole`}),bi={class:`modal`},xi={class:`m-title`},Si={class:`f-grid`},Ci={class:`f`},wi={class:`f`},Ti={class:`f`},Ei={class:`sec-label`},Di={class:`node-rows`},Oi=[`onUpdate:modelValue`,`placeholder`],ki=[`onUpdate:modelValue`],Ai={value:`control`},ji={value:`feature`},Mi={value:`target`},Ni=[`disabled`,`onClick`],Pi={class:`f-grid`},Fi={class:`f`},Ii={class:`f`},Li={class:`f`},Ri={class:`f`},zi={class:`f`},Bi={class:`f`},Vi={class:`f`},Hi={value:`mpc_surrogate`},Ui={value:`quality_predict`},Wi={class:`f wide`},Gi=[`placeholder`],Ki={key:0,class:`m-err`},qi={class:`m-actions`},Ji=[`disabled`],Yi=Object.assign(k(u({__name:`AmlDatasetFormModal`,props:{open:{type:Boolean,required:!0},openModifiers:{}},emits:v([`created`],[`update:open`]),setup(e,{emit:t}){let n=t,a=s(e,`open`),{t:c}=ee(),{shortId:l}=j(),u=o(!1),p=o(``),v=r({lineId:``,productId:``,recipeId:``,beatMs:5e3,historySteps:60,horizonSteps:30,valRatio:.15,testRatio:.15,seed:7,purpose:`mpc_surrogate`,note:``}),b=r([{nodeId:``,role:`control`},{nodeId:``,role:`target`}]);x(a,e=>{e&&(p.value=``)});function w(){b.push({nodeId:``,role:`feature`})}function D(e){b.splice(e,1)}async function O(){p.value=``;let e=b.filter(e=>e.nodeId.trim()).map(e=>({nodeId:e.nodeId.trim(),role:e.role}));if(!v.lineId.trim()||!v.productId.trim()||!v.recipeId.trim()){p.value=c(`aml.k1amlx161`);return}if(e.length<2||!e.some(e=>e.role===`target`)){p.value=c(`aml.k1amlx054`);return}u.value=!0;try{let t=await ie(`/datasets`,{method:`POST`,body:JSON.stringify({lineId:v.lineId.trim(),productId:v.productId.trim(),recipeId:v.recipeId.trim(),nodes:e,beatMs:Number(v.beatMs),window:{historySteps:Number(v.historySteps),horizonSteps:Number(v.horizonSteps)},split:{valRatio:Number(v.valRatio),testRatio:Number(v.testRatio),seed:Number(v.seed)},purpose:v.purpose,note:v.note.trim()||void 0})});te.success(c(`aml.k1amlx073`,{p0:l(t.dataset.id),p1:t.dataset.rowCount})),a.value=!1,n(`created`)}catch(e){p.value=ne(e)}finally{u.value=!1}}return(e,t)=>a.value?(d(),h(`div`,{key:0,class:`modal-mask`,onClick:t[12]||=T(e=>a.value=!1,[`self`])},[m(`div`,bi,[m(`h3`,xi,i(e.$t(`aml.k1amlx050`)),1),m(`div`,Si,[m(`label`,Ci,[m(`span`,null,[S(i(e.$t(`aml.k1amlx051`)),1),t[13]||=m(`em`,null,`*`,-1)]),_(m(`input`,{"onUpdate:modelValue":t[0]||=e=>v.lineId=e,class:`inp`,placeholder:`line-ov-01`},null,512),[[E,v.lineId]])]),m(`label`,wi,[m(`span`,null,[S(i(e.$t(`aml.k1amlx052`)),1),t[14]||=m(`em`,null,`*`,-1)]),_(m(`input`,{"onUpdate:modelValue":t[1]||=e=>v.productId=e,class:`inp`},null,512),[[E,v.productId]])]),m(`label`,Ti,[m(`span`,null,[S(i(e.$t(`aml.k1amlx053`)),1),t[15]||=m(`em`,null,`*`,-1)]),_(m(`input`,{"onUpdate:modelValue":t[2]||=e=>v.recipeId=e,class:`inp`},null,512),[[E,v.recipeId]])])]),m(`p`,Ei,i(e.$t(`aml.k1amlx054`)),1),m(`div`,Di,[(d(!0),h(g,null,f(b,(t,n)=>(d(),h(`div`,{key:n,class:`node-row`},[_(m(`input`,{"onUpdate:modelValue":e=>t.nodeId=e,class:`inp grow`,placeholder:e.$t(`aml.k1amlx056`)},null,8,Oi),[[E,t.nodeId]]),_(m(`select`,{"onUpdate:modelValue":e=>t.role=e,class:`inp sel`},[m(`option`,Ai,i(e.$t(`aml.k1amlx057`)),1),m(`option`,ji,i(e.$t(`aml.k1amlx058`)),1),m(`option`,Mi,i(e.$t(`aml.k1amlx059`)),1)],8,ki),[[C,t.role]]),m(`button`,{class:`mini-btn danger`,disabled:b.length<=1,onClick:e=>D(n)},` ✕ `,8,Ni)]))),128)),m(`button`,{class:`mini-btn`,onClick:w},[t[16]||=m(`span`,{class:`i-tabler-plus`},null,-1),S(` `+i(e.$t(`aml.k1amlx055`)),1)])]),m(`div`,Pi,[m(`label`,Fi,[m(`span`,null,i(e.$t(`aml.k1amlx060`)),1),_(m(`input`,{"onUpdate:modelValue":t[3]||=e=>v.beatMs=e,type:`number`,min:`1000`,step:`500`,class:`inp`},null,512),[[E,v.beatMs,void 0,{number:!0}]])]),m(`label`,Ii,[m(`span`,null,i(e.$t(`aml.k1amlx061`)),1),_(m(`input`,{"onUpdate:modelValue":t[4]||=e=>v.historySteps=e,type:`number`,min:`1`,class:`inp`},null,512),[[E,v.historySteps,void 0,{number:!0}]])]),m(`label`,Li,[m(`span`,null,i(e.$t(`aml.k1amlx062`)),1),_(m(`input`,{"onUpdate:modelValue":t[5]||=e=>v.horizonSteps=e,type:`number`,min:`1`,class:`inp`},null,512),[[E,v.horizonSteps,void 0,{number:!0}]])]),m(`label`,Ri,[m(`span`,null,i(e.$t(`aml.k1amlx063`)),1),_(m(`input`,{"onUpdate:modelValue":t[6]||=e=>v.valRatio=e,type:`number`,min:`0`,max:`0.8`,step:`0.05`,class:`inp`},null,512),[[E,v.valRatio,void 0,{number:!0}]])]),m(`label`,zi,[m(`span`,null,i(e.$t(`aml.k1amlx064`)),1),_(m(`input`,{"onUpdate:modelValue":t[7]||=e=>v.testRatio=e,type:`number`,min:`0`,max:`0.8`,step:`0.05`,class:`inp`},null,512),[[E,v.testRatio,void 0,{number:!0}]])]),m(`label`,Bi,[m(`span`,null,i(e.$t(`aml.k1amlx065`)),1),_(m(`input`,{"onUpdate:modelValue":t[8]||=e=>v.seed=e,type:`number`,class:`inp`},null,512),[[E,v.seed,void 0,{number:!0}]])]),m(`label`,Vi,[m(`span`,null,i(e.$t(`aml.k1amlx066`)),1),_(m(`select`,{"onUpdate:modelValue":t[9]||=e=>v.purpose=e,class:`inp`},[m(`option`,Hi,i(e.$t(`aml.k1amlx067`)),1),m(`option`,Ui,i(e.$t(`aml.k1amlx068`)),1)],512),[[C,v.purpose]])]),m(`label`,Wi,[m(`span`,null,i(e.$t(`aml.k1amlx026`)),1),_(m(`input`,{"onUpdate:modelValue":t[10]||=e=>v.note=e,class:`inp`,placeholder:e.$t(`aml.k1amlx069`)},null,8,Gi),[[E,v.note]])])]),p.value?(d(),h(`p`,Ki,i(p.value),1)):y(``,!0),m(`div`,qi,[m(`button`,{class:`ghost-btn`,onClick:t[11]||=e=>a.value=!1},i(e.$t(`aml.k1amlx071`)),1),m(`button`,{class:`pill-btn`,disabled:u.value,onClick:O},i(u.value?e.$t(`aml.k1amlx070`):e.$t(`aml.k1amlx072`)),9,Ji)])])])):y(``,!0)}}),[[`__scopeId`,`data-v-5ac31f7e`]]),{__name:`AmlDatasetFormModal`}),Xi={class:`page`},Zi=k(u({__name:`index`,setup(t){let{t:n}=ee();he({layout:`default`}),D({title:()=>n(`aml.k1amlx160`)});let{overview:r,overviewError:i,env:s,envBusy:u,inventory:f,pythonText:m,venvText:g,uvText:_,uvSourceText:v,blockerText:S,rootSourceLabel:C,loadOverview:w,loadEnv:T,loadInventory:E,startEnvPoll:te,stopEnvPoll:k,installUv:ne,createVenv:ie,recheckEnv:A,pruneOrphans:j}=le(),{datasets:M,expandedDs:_e,dsDetails:ve,loadDatasets:N,toggleDs:ye}=ae(),{jobRows:P,jobDetails:xe,expandedJob:F,confirmCancel:Se,cancelling:we,confirmRetry:Te,retrying:Ee,loadJobs:I,toggleJob:De,refreshJobLogs:Oe,onCancelJob:L,onRetryJob:R}=fe(),{expDatasetId:z,experiments:B,expError:V,bestExpId:Ae,loadExperiments:je}=ue(),{models:H,confirmPromote:Me,promoting:Ne,loadModels:U,onPromote:Pe}=pe({reloadOverview:w}),{noteEditing:W,noteDraft:G,startEditNote:K,cancelEditNote:q,saveNote:J}=me({reloadDatasets:N,reloadModels:U}),{removeEntity:Y}=oe({reloadDatasets:N,reloadModels:U,reloadJobs:I,reloadOverview:w,reloadInventory:E}),X=o(!1);function Fe(){w(),T(),E(),N(),I(),U()}let Z=de(),Ie=re(),Q=null,$=null;return l(()=>{Ie.ensureConnected(),Q=Z.ensure(),w(),T(),E(),N(),I(),U(),(s.value?.task?.status??r.value?.env?.task?.status)===`running`&&(u.value=!0,te()),ge(()=>{w(),I()},8e3,{bgMs:3e4}),$=O(()=>{let e=F.value;if(!e||document.hidden)return;let t=P.value.find(t=>t.id===e);t&&se(t.status)&&Oe(e)},5e3)}),c(()=>{Q?.(),$&&clearInterval($),k()}),x(()=>Z.lastJob.value,e=>{e&&ce(e.status)&&I()}),x(()=>Z.lastModel.value,()=>{U()}),x(()=>Z.lastDataset.value,()=>{N()}),(t,n)=>(d(),h(`div`,Xi,[p(be,{overview:e(r),env:e(s),"python-text":e(m),"venv-text":e(g),"uv-text":e(_)},null,8,[`overview`,`env`,`python-text`,`venv-text`,`uv-text`]),p(Ce,{overview:e(r)},null,8,[`overview`]),p(ke,{overview:e(r),"overview-error":e(i),"python-text":e(m),"venv-text":e(g),onReload:Fe},null,8,[`overview`,`overview-error`,`python-text`,`venv-text`]),e(s)?(d(),b(tt,{key:0,env:e(s),inventory:e(f),"env-busy":e(u),"uv-text":e(_),"uv-source-text":e(v),"blocker-text":e(S),"root-source-label":e(C),onRecheck:e(A),onInstallUv:e(ne),onCreateVenv:e(ie),onPrune:e(j)},null,8,[`env`,`inventory`,`env-busy`,`uv-text`,`uv-source-text`,`blocker-text`,`root-source-label`,`onRecheck`,`onInstallUv`,`onCreateVenv`,`onPrune`])):y(``,!0),p(tn,{"note-draft":e(G),"onUpdate:noteDraft":n[0]||=e=>a(G)?G.value=e:null,datasets:e(M),"expanded-ds":e(_e),"ds-details":e(ve),"note-editing":e(W),onToggle:e(ye),onReload:e(N),onCreate:n[1]||=e=>X.value=!0,onEditNote:e(K),onSaveNote:n[2]||=t=>e(J)(`datasets`,t),onCancelNote:e(q),onRemove:n[3]||=(t,n)=>e(Y)(`datasets`,t,n)},null,8,[`note-draft`,`datasets`,`expanded-ds`,`ds-details`,`note-editing`,`onToggle`,`onReload`,`onEditNote`,`onCancelNote`]),p(Gn,{"job-rows":e(P),"expanded-job":e(F),"job-details":e(xe),"confirm-cancel":e(Se),cancelling:e(we),"confirm-retry":e(Te),retrying:e(Ee),onToggle:e(De),onReload:e(I),onCancel:e(L),onRetry:e(R),onRemove:n[4]||=(t,n)=>e(Y)(`jobs`,t,n)},null,8,[`job-rows`,`expanded-job`,`job-details`,`confirm-cancel`,`cancelling`,`confirm-retry`,`retrying`,`onToggle`,`onReload`,`onCancel`,`onRetry`]),p(pr,{"exp-dataset-id":e(z),"onUpdate:expDatasetId":n[5]||=e=>a(z)?z.value=e:null,datasets:e(M),experiments:e(B),"best-exp-id":e(Ae),"exp-error":e(V),onReload:e(je)},null,8,[`exp-dataset-id`,`datasets`,`experiments`,`best-exp-id`,`exp-error`,`onReload`]),p(Br,{"note-draft":e(G),"onUpdate:noteDraft":n[6]||=e=>a(G)?G.value=e:null,models:e(H),"note-editing":e(W),"confirm-promote":e(Me),promoting:e(Ne),onReload:e(U),onEditNote:e(K),onSaveNote:n[7]||=t=>e(J)(`models`,t),onCancelNote:e(q),onPromote:e(Pe),onRemove:n[8]||=(t,n)=>e(Y)(`models`,t,n)},null,8,[`note-draft`,`models`,`note-editing`,`confirm-promote`,`promoting`,`onReload`,`onEditNote`,`onCancelNote`,`onPromote`]),p(yi,{models:e(H)},null,8,[`models`]),p(Yi,{open:X.value,"onUpdate:open":n[9]||=e=>X.value=e,onCreated:e(N)},null,8,[`open`,`onCreated`])]))}}),[[`__scopeId`,`data-v-68be5b34`]]);export{Zi as default};
1
+ import{N as e,dt as t,ft as n,g as r,mt as i,u as a,v as o}from"./CavpkQb0.js";import{$ as s,P as c,R as l,S as u,V as d,W as f,b as p,f as m,h,i as g,it as _,k as v,m as y,p as b,tt as x,y as S}from"./C6lssmvl.js";import{c as C,d as w,f as T,l as E}from"./ri9UF8rk.js";import{n as D}from"./COtTzurc.js";import{n as ee}from"./D1MkndMZ.js";import{t as O}from"./DkgL8ReD.js";import{i as te}from"./K2YSPQsi.js";import{t as k}from"./BDNMzG2s.js";import{t as ne}from"./CxC1MPpB.js";import{t as re}from"./BiyBp4Lm.js";import{t as ie}from"./DUZYrBpC.js";import{t as ae}from"./p1ERztZ9.js";import{t as oe}from"./Dv-aRRw6.js";import{c as se,l as ce,u as A}from"./B6Olw0Op.js";import{t as le}from"./v9siq2t2.js";import{t as ue}from"./DW3J3wwr.js";import{t as j}from"./2v5GdspM.js";import{r as de,t as fe}from"./na-v7AnV.js";import{t as pe}from"./E0JVrptf2.js";import{t as me}from"./_zZ5SC-g2.js";import{t as M}from"./DMqyOhMS2.js";import{t as he}from"./CNs_Ozdc2.js";import{t as ge}from"./BdGPqx_z2.js";var _e={class:`aw-page-head`},ve={class:`sub`},N={class:`badges mono`},ye=[`title`],P=[`title`],be=Object.assign(k(u({__name:`AmlPageHeader`,props:{overview:{},env:{},pythonText:{},venvText:{},uvText:{}},setup(e){return(n,r)=>(d(),h(`div`,_e,[m(`div`,null,[r[0]||=m(`p`,{class:`aw-kicker`},` AGENTWORKSHOP / AML STUDIO `,-1),m(`h1`,null,i(n.$t(`aml.k1amlx001`)),1),m(`p`,ve,i(n.$t(`aml.k1amlx002`)),1)]),m(`div`,N,[m(`span`,{class:t([`badge`,{bad:e.overview!=null&&!e.overview.runtime.python.ok}]),title:e.overview?.runtime.python.reason??``},`PYTHON · `+i(e.pythonText),11,ye),m(`span`,{class:t([`badge`,{bad:e.overview!=null&&!e.overview.runtime.venvReady}])},`VENV · `+i(e.venvText),3),m(`span`,{class:t([`badge`,{bad:e.env!=null&&!e.env.uv.ok}]),title:e.env?.uv.reason??e.env?.uv.path??``},`UV · `+i(e.uvText),11,P)])]))}}),[[`__scopeId`,`data-v-826711fe`]]),{__name:`AmlPageHeader`}),xe={key:0,class:`infra-banner`},F={class:`txt`},Se={class:`mono`},Ce=Object.assign(k(u({__name:`AmlInfraBanner`,props:{overview:{}},setup(e){return(t,n)=>e.overview!=null&&!e.overview.runtime.python.ok?(d(),h(`div`,xe,[n[0]||=m(`span`,{class:`i-tabler-alert-triangle`},null,-1),m(`span`,F,[S(i(t.$t(`aml.k1amlx014`)),1),m(`b`,Se,i(e.overview.runtime.python.reason??``),1)])])):y(``,!0)}}),[[`__scopeId`,`data-v-7eaa5bb0`]]),{__name:`AmlInfraBanner`}),we={key:0,class:`aw-tile ov-card`},Te={class:`ov-row mono`},Ee={class:`ov-item`},I={class:`ov-item`},De={class:`ov-item`},Oe={class:`ov-item`},L=[`title`],R={key:1,class:`err`},ke=Object.assign(k(u({__name:`AmlOverviewBar`,props:{overview:{},overviewError:{},pythonText:{},venvText:{}},emits:[`reload`],setup(e){return(n,r)=>e.overview?(d(),h(`section`,we,[m(`div`,Te,[m(`span`,{class:t([`ov-item`,e.overview.runtime.python.ok?`ok`:`bad`])},[m(`span`,{class:t(e.overview.runtime.python.ok?`i-tabler-circle-check`:`i-tabler-alert-triangle`)},null,2),S(` `+i(n.$t(`aml.k1amlx003`))+` · `+i(e.pythonText),1)],2),m(`span`,{class:t([`ov-item`,{ok:e.overview.runtime.venvReady}])},i(n.$t(`aml.k1amlx006`))+` · `+i(e.venvText),3),m(`span`,Ee,[S(i(n.$t(`aml.k1amlx009`))+` `,1),m(`b`,null,i(e.overview.runtime.queued),1)]),m(`span`,I,[S(i(n.$t(`aml.k1amlx010`))+` `,1),m(`b`,null,i(e.overview.runtime.running),1)]),r[1]||=m(`span`,{class:`sep`},`·`,-1),m(`span`,De,[S(i(n.$t(`aml.k1amlx011`))+` `,1),m(`b`,null,i(e.overview.counts.datasets),1)]),m(`span`,Oe,[S(i(n.$t(`aml.k1amlx012`))+` `,1),m(`b`,null,i(e.overview.counts.models),1)]),m(`span`,{class:`ov-item accent`,title:n.$t(`aml.k1amlx013`)},[S(i(n.$t(`aml.k1amlx013`))+` `,1),m(`b`,null,i(e.overview.counts.productions),1)],8,L),m(`button`,{class:`mini-btn reload`,onClick:r[0]||=e=>n.$emit(`reload`)},i(n.$t(`aml.k1amlx017`)),1)])])):e.overviewError?(d(),h(`p`,R,i(n.$t(`aml.k1amlx015`))+`:`+i(e.overviewError),1)):y(``,!0)}}),[[`__scopeId`,`data-v-9a4afc27`]]),{__name:`AmlOverviewBar`}),z={class:`aw-tile zone env-zone`},B={class:`zone-head`},V={class:`zone-actions`},Ae=[`disabled`],je={key:0,class:`infra-banner`},H={class:`txt`},Me={class:`mono`},Ne={class:`env-grid`},U={class:`ec-head`},Pe={class:`ec-state`},W={key:0,class:`ec-detail mono`},G={key:1,class:`ec-detail`},K={class:`ec-actions`},q=[`disabled`,`title`],J={class:`ec-head`},Y={class:`ec-state`},X={class:`ec-detail mono`},Fe={class:`ec-actions`},Z=[`disabled`,`title`],Ie=[`disabled`],Q={class:`env-card`},$={class:`ec-head`},Le={class:`ec-detail mono`},Re={class:`ec-detail dim`},ze={class:`ec-detail`},Be={class:`mono`},Ve={class:`dim`},He={class:`ec-head`},Ue={key:0,class:`ec-state`},We={key:0,class:`ec-detail mono`},Ge={key:1,class:`ec-issues mono`},Ke=[`title`],qe={class:`tag`},Je={class:`ec-actions`},Ye={key:1,class:`env-task`},Xe={class:`et-head mono`},Ze={class:`dim`},Qe={key:0,class:`dim`},$e={class:`et-log mono`},et={key:0,class:`err`},tt=Object.assign(k(u({__name:`AmlEnvPanel`,props:{env:{},inventory:{},envBusy:{type:Boolean},uvText:{},uvSourceText:{},blockerText:{},rootSourceLabel:{}},emits:[`recheck`,`installUv`,`createVenv`,`prune`],setup(n){let r=o(!1),{shortId:a}=j();return(o,s)=>(d(),h(`section`,z,[m(`div`,B,[m(`h2`,null,i(o.$t(`aml.k1amlx162`)),1),m(`div`,V,[m(`button`,{class:`mini-btn`,disabled:n.envBusy,onClick:s[0]||=e=>o.$emit(`recheck`)},i(o.$t(`aml.k1amlx175`)),9,Ae),m(`button`,{class:`mini-btn`,onClick:s[1]||=e=>r.value=!r.value},i(r.value?o.$t(`aml.k1amlx181`):o.$t(`aml.k1amlx180`)),1)])]),n.env.preflight.canRunJobs?y(``,!0):(d(),h(`div`,je,[s[6]||=m(`span`,{class:`i-tabler-alert-triangle`},null,-1),m(`span`,H,[S(i(o.$t(`aml.k1amlx178`))+`:`,1),m(`b`,Me,i(n.blockerText),1)])])),m(`div`,Ne,[m(`div`,{class:t([`env-card`,n.env.uv.ok?`ok`:`bad`])},[m(`div`,U,[m(`span`,{class:t(n.env.uv.ok?`i-tabler-circle-check`:`i-tabler-alert-triangle`)},null,2),m(`b`,null,i(o.$t(`aml.k1amlx163`)),1),m(`span`,Pe,i(n.uvText),1)]),n.env.uv.ok?(d(),h(`p`,W,[S(i(n.env.uv.path),1),n.uvSourceText?(d(),h(g,{key:0},[S(` · `+i(n.uvSourceText),1)],64)):y(``,!0)])):(d(),h(`p`,G,i(o.$t(`aml.k1amlx177`)),1)),m(`div`,K,[n.env.uv.ok?y(``,!0):(d(),h(`button`,{key:0,class:`mini-btn primary`,disabled:n.envBusy,title:o.$t(`aml.k1amlx176`),onClick:s[2]||=e=>o.$emit(`installUv`)},[s[7]||=m(`span`,{class:`i-tabler-download`},null,-1),S(` `+i(n.env.task?.kind===`install-uv`&&n.env.task.status===`running`?o.$t(`aml.k1amlx167`):o.$t(`aml.k1amlx166`)),1)],8,q))])],2),m(`div`,{class:t([`env-card`,n.env.venv.ready?`ok`:`bad`])},[m(`div`,J,[m(`span`,{class:t(n.env.venv.ready?`i-tabler-circle-check`:`i-tabler-alert-triangle`)},null,2),m(`b`,null,i(o.$t(`aml.k1amlx168`)),1),m(`span`,Y,i(n.env.venv.ready?o.$t(`aml.k1amlx007`):o.$t(`aml.k1amlx008`)),1)]),m(`p`,X,[S(i(n.env.venv.dir)+` `,1),n.env.venv.ready?(d(),h(g,{key:0},[S(` · `+i(n.env.venv.sizeMb)+` MB `,1)],64)):y(``,!0)]),m(`div`,Fe,[m(`button`,{class:`mini-btn primary`,disabled:n.envBusy||!n.env.python.ok&&!n.env.uv.ok,title:n.env.python.ok?``:n.env.uv.ok?`系统无 Python —— 将由 uv 自动安装托管解释器并创建环境(uv 优先)`:n.env.python.reason??``,onClick:s[3]||=e=>o.$emit(`createVenv`,!1)},[s[8]||=m(`span`,{class:`i-tabler-plus`},null,-1),S(` `+i(n.env.task?.kind===`create-venv`&&n.env.task.status===`running`?o.$t(`aml.k1amlx170`):o.$t(`aml.k1amlx168`)),1)],8,Z),n.env.venv.ready?(d(),h(`button`,{key:0,class:`mini-btn`,disabled:n.envBusy,onClick:s[4]||=e=>o.$emit(`createVenv`,!0)},i(o.$t(`aml.k1amlx169`)),9,Ie)):y(``,!0)])],2),m(`div`,Q,[m(`div`,$,[s[9]||=m(`span`,{class:`i-tabler-folder`},null,-1),m(`b`,null,i(o.$t(`aml.k1amlx171`)),1)]),m(`p`,Le,i(n.env.amlRoot),1),m(`p`,Re,i(o.$t(`aml.k1amlx201`)),1),m(`p`,ze,[S(i(o.$t(`aml.k1amlx174`))+`: `,1),m(`b`,Be,i(n.env.disk.usedMb)+` / `+i(n.env.disk.quotaMb)+` MB`,1),m(`span`,Ve,` · `+i(n.rootSourceLabel),1)])]),m(`div`,{class:t([`env-card`,n.inventory==null?``:n.inventory.ok?`ok`:`bad`])},[m(`div`,He,[m(`span`,{class:t(n.inventory?.ok===!1?`i-tabler-alert-triangle`:`i-tabler-database`)},null,2),m(`b`,null,i(o.$t(`aml.k1amlx182`)),1),n.inventory?(d(),h(`span`,Ue,i(n.inventory.ok?o.$t(`aml.k1amlx183`):o.$t(`aml.k1amlx184`)),1)):y(``,!0)]),n.inventory?(d(),h(`p`,We,i(o.$t(`aml.k1amlx011`))+` `+i(n.inventory.counts.datasets)+`/`+i(n.inventory.entities.datasets)+` · `+i(o.$t(`aml.k1amlx010`))+` `+i(n.inventory.counts.jobs)+`/`+i(n.inventory.entities.jobs)+` · `+i(o.$t(`aml.k1amlx012`))+` `+i(n.inventory.counts.models)+`/`+i(n.inventory.entities.models),1)):y(``,!0),n.inventory&&n.inventory.issues.length>0?(d(),h(`ul`,Ge,[(d(!0),h(g,null,f(n.inventory.issues.slice(0,5),t=>(d(),h(`li`,{key:`${t.kind}:${t.id}:${t.problem}`,title:t.detail},[m(`span`,qe,i(t.problem===`entity_missing`?o.$t(`aml.k1amlx185`):t.problem===`orphan_dir`?o.$t(`aml.k1amlx186`):o.$t(`aml.k1amlx187`)),1),S(` `+i(t.kind)+` `+i(e(a)(t.id)),1)],8,Ke))),128))])):y(``,!0),m(`div`,Je,[n.inventory&&n.inventory.issues.some(e=>e.problem===`orphan_dir`)?(d(),h(`button`,{key:0,class:`mini-btn`,onClick:s[5]||=e=>o.$emit(`prune`)},[s[10]||=m(`span`,{class:`i-tabler-trash`},null,-1),S(` `+i(o.$t(`aml.k1amlx188`)),1)])):y(``,!0)])],2)]),n.env.task&&r.value?(d(),h(`div`,Ye,[m(`div`,Xe,[m(`span`,{class:t(n.env.task.status===`running`?`i-tabler-loader-2 spin`:n.env.task.status===`done`?`i-tabler-circle-check`:`i-tabler-alert-triangle`)},null,2),m(`b`,null,i(n.env.task.kind),1),m(`span`,Ze,i(n.env.task.status),1),n.env.task.status===`running`?(d(),h(`span`,Qe,`· `+i(o.$t(`aml.k1amlx179`)),1)):y(``,!0)]),m(`pre`,$e,i(n.env.task.log.slice(-40).join(`
2
+ `)),1),n.env.task.error?(d(),h(`p`,et,i(n.env.task.error),1)):y(``,!0)])):y(``,!0)]))}}),[[`__scopeId`,`data-v-f2c92c1d`]]),{__name:`AmlEnvPanel`}),nt={class:`aw-tile zone`},rt={class:`zone-head`},it={class:`mono cnt`},at={class:`zone-actions`},ot={key:0,class:`tbl-scroll`},st={class:`tbl tbl-datasets`},ct={class:`num`},lt={class:`num`},ut=[`onClick`],dt={class:`mono dim`},ft={class:`mono`},pt={class:`mono`},mt={class:`mono num`},ht={class:`mono num`},gt={key:0,class:`note-edit`},_t=[`placeholder`,`onKeyup`],vt=[`onClick`],yt={key:1,class:`note-text`},bt=[`title`],xt=[`title`,`onClick`],St=[`title`,`onClick`],Ct={key:0,class:`detail-row`},wt={colspan:`7`},Tt={key:0,class:`dim pad`},Et={key:1,class:`err pad`},Dt={key:2,class:`det-grid`},Ot={class:`det-title`},kt={class:`sub-tbl`},At={class:`num`},jt={class:`num`},Mt={class:`num`},Nt={class:`num`},Pt={class:`num`},Ft={class:`mono`},It={class:`role-chip`},Lt={class:`mono num`},Rt={class:`mono num`},zt={class:`mono num`},Bt={class:`mono num`},Vt={class:`mono num`},Ht={class:`det-title`},Ut={key:0,class:`sub-tbl`},Wt={class:`num`},Gt={class:`num`},Kt={class:`mono`},qt={class:`mono`},Jt={class:`mono num`},Yt={class:`mono num`},Xt={key:1,class:`dim`},Zt={class:`det-title`},Qt={class:`mono dim run-line`},$t={key:3,class:`dim pad`},en={key:1,class:`empty`},tn=Object.assign(k(u({__name:`AmlDatasetTable`,props:v({datasets:{},expandedDs:{},dsDetails:{},noteEditing:{}},{noteDraft:{required:!0},noteDraftModifiers:{}}),emits:v([`toggle`,`reload`,`create`,`editNote`,`saveNote`,`cancelNote`,`remove`],[`update:noteDraft`]),setup(n){let r=s(n,`noteDraft`),{fmtTime:a,fmtNum:o,fmtPct:c,shortId:l}=j();return(s,u)=>(d(),h(`section`,nt,[m(`div`,rt,[m(`h2`,null,[u[6]||=m(`span`,{class:`i-tabler-database`},null,-1),S(` `+i(s.$t(`aml.k1amlx016`))+` `,1),m(`b`,it,i(n.datasets.length),1)]),m(`div`,at,[m(`button`,{class:`mini-btn`,onClick:u[0]||=e=>s.$emit(`reload`)},i(s.$t(`aml.k1amlx017`)),1),m(`button`,{class:`pill-btn`,onClick:u[1]||=e=>s.$emit(`create`)},[u[7]||=m(`span`,{class:`i-tabler-plus`},null,-1),S(` `+i(s.$t(`aml.k1amlx018`)),1)])])]),n.datasets.length?(d(),h(`div`,ot,[m(`table`,st,[m(`thead`,null,[m(`tr`,null,[m(`th`,null,i(s.$t(`aml.k1amlx020`)),1),m(`th`,null,i(s.$t(`aml.k1amlx021`)),1),m(`th`,null,i(s.$t(`aml.k1amlx022`)),1),m(`th`,ct,i(s.$t(`aml.k1amlx023`)),1),m(`th`,lt,i(s.$t(`aml.k1amlx024`)),1),m(`th`,null,i(s.$t(`aml.k1amlx025`)),1),m(`th`,null,i(s.$t(`aml.k1amlx026`)),1)])]),m(`tbody`,null,[(d(!0),h(g,null,f(n.datasets,p=>(d(),h(g,{key:p.id},[m(`tr`,{class:t([`row-main`,{open:n.expandedDs===p.id}]),onClick:e=>s.$emit(`toggle`,p.id)},[m(`td`,dt,i(e(a)(p.createdAt)),1),m(`td`,ft,i(e(l)(p.productId)),1),m(`td`,pt,i(e(l)(p.recipeId)),1),m(`td`,mt,i(p.rowCount),1),m(`td`,ht,i(p.runIds.length),1),m(`td`,null,[S(i(p.createdBy),1),m(`small`,{class:t([`kind`,p.createdByKind])},i(p.createdByKind===`agent`?`Agent`:s.$t(`aml.k1amlx049`)),3)]),m(`td`,{class:`note-cell`,onClick:u[5]||=T(()=>{},[`stop`])},[n.noteEditing===p.id?(d(),h(`div`,gt,[_(m(`input`,{"onUpdate:modelValue":u[2]||=e=>r.value=e,placeholder:s.$t(`aml.k1amlx189`),onKeyup:[w(e=>s.$emit(`saveNote`,p.id),[`enter`]),u[3]||=w(e=>s.$emit(`cancelNote`),[`esc`])]},null,40,_t),[[E,r.value]]),m(`button`,{class:`mini-btn`,onClick:e=>s.$emit(`saveNote`,p.id)},i(s.$t(`aml.k1amlx191`)),9,vt),m(`button`,{class:`mini-btn`,onClick:u[4]||=e=>s.$emit(`cancelNote`)},i(s.$t(`aml.k1amlx202`)),1)])):(d(),h(`span`,yt,[m(`span`,{class:`note`,title:p.note},i(p.note||`--`),9,bt),m(`span`,{class:`i-tabler-pencil edit-i`,title:s.$t(`aml.k1amlx189`),onClick:e=>s.$emit(`editNote`,p.id,p.note)},null,8,xt),m(`span`,{class:`i-tabler-trash edit-i`,title:s.$t(`aml.k1amlx190`),onClick:e=>s.$emit(`remove`,p.id,s.$t(`aml.k1amlx198`))},null,8,St)]))])],10,ut),n.expandedDs===p.id?(d(),h(`tr`,Ct,[m(`td`,wt,[n.dsDetails[p.id]?.loading?(d(),h(`div`,Tt,i(s.$t(`aml.k1amlx030`)),1)):n.dsDetails[p.id]?.error?(d(),h(`div`,Et,i(s.$t(`aml.k1amlx031`))+`:`+i(n.dsDetails[p.id]?.error),1)):n.dsDetails[p.id]?.report?(d(),h(`div`,Dt,[m(`div`,null,[m(`p`,Ot,i(s.$t(`aml.k1amlx027`)),1),m(`table`,kt,[m(`thead`,null,[m(`tr`,null,[m(`th`,null,i(s.$t(`aml.k1amlx033`)),1),m(`th`,null,i(s.$t(`aml.k1amlx034`)),1),m(`th`,At,i(s.$t(`aml.k1amlx035`)),1),m(`th`,jt,i(s.$t(`aml.k1amlx036`)),1),m(`th`,Mt,i(s.$t(`aml.k1amlx037`)),1),m(`th`,Nt,i(s.$t(`aml.k1amlx038`)),1),m(`th`,Pt,i(s.$t(`aml.k1amlx039`)),1)])]),m(`tbody`,null,[(d(!0),h(g,null,f(n.dsDetails[p.id]?.report?.nodeSummaries,t=>(d(),h(`tr`,{key:t.nodeId},[m(`td`,Ft,i(t.nodeId),1),m(`td`,null,[m(`small`,It,i(t.role),1)]),m(`td`,Lt,i(e(c)(t.cleanedRatio)),1),m(`td`,Rt,i(e(c)(t.missingRatio)),1),m(`td`,zt,i(e(o)(t.mean,3)),1),m(`td`,Bt,i(e(o)(t.std,3)),1),m(`td`,Vt,i(e(o)(t.min,2))+`~`+i(e(o)(t.max,2)),1)]))),128))])])]),m(`div`,null,[m(`p`,Ht,i(s.$t(`aml.k1amlx028`)),1),n.dsDetails[p.id]?.report?.lagEstimates.length?(d(),h(`table`,Ut,[m(`thead`,null,[m(`tr`,null,[m(`th`,null,i(s.$t(`aml.k1amlx040`)),1),m(`th`,null,i(s.$t(`aml.k1amlx041`)),1),m(`th`,Wt,i(s.$t(`aml.k1amlx042`)),1),m(`th`,Gt,i(s.$t(`aml.k1amlx043`)),1)])]),m(`tbody`,null,[(d(!0),h(g,null,f(n.dsDetails[p.id]?.report?.lagEstimates,t=>(d(),h(`tr`,{key:`${t.controlId}->${t.targetId}`},[m(`td`,Kt,i(t.controlId),1),m(`td`,qt,i(t.targetId),1),m(`td`,Jt,i(t.lagSteps),1),m(`td`,Yt,i(e(o)(t.corr,3)),1)]))),128))])])):(d(),h(`p`,Xt,i(s.$t(`aml.k1amlx032`)),1)),m(`p`,Zt,i(s.$t(`aml.k1amlx029`)),1),m(`p`,Qt,[S(i(s.$t(`aml.k1amlx044`))+` `,1),m(`b`,null,i(n.dsDetails[p.id]?.report?.runsUsed.length??0),1),S(` · `+i(s.$t(`aml.k1amlx045`))+` `,1),m(`b`,null,i(n.dsDetails[p.id]?.report?.runsDropped.length??0),1),S(` · `+i(s.$t(`aml.k1amlx046`))+` `,1),m(`b`,null,i(n.dsDetails[p.id]?.report?.windowCount.train)+`/`+i(n.dsDetails[p.id]?.report?.windowCount.val)+`/`+i(n.dsDetails[p.id]?.report?.windowCount.test),1)]),(d(!0),h(g,null,f(n.dsDetails[p.id]?.report?.runsDropped,t=>(d(),h(`p`,{key:t.runId,class:`mono drop-line`},` ✗ `+i(e(l)(t.runId))+` — `+i(t.reason),1))),128))])])):(d(),h(`p`,$t,i(s.$t(`aml.k1amlx047`)),1))])])):y(``,!0)],64))),128))])])])):(d(),h(`p`,en,i(s.$t(`aml.k1amlx019`)),1))]))}}),[[`__scopeId`,`data-v-7702fce2`]]),{__name:`AmlDatasetTable`}),nn={class:`aw-tile zone`},rn={class:`zone-head`},an={class:`mono cnt`},on=[`title`],sn={key:0,class:`tbl-scroll`},cn={class:`tbl tbl-jobs`},ln={class:`prog-th`},un={class:`right`},dn=[`onClick`],fn={class:`mono`},pn={class:`mono dim`},mn={class:`mono dim`},hn={class:`mono dim`},gn={class:`prog-cell`},_n={class:`prog`},vn={class:`mono prog-num`},yn={class:`mono dim`},bn={class:`right acts`},xn=[`disabled`,`onClick`],Sn=[`disabled`,`onClick`],Cn=[`title`,`onClick`],wn={key:0,class:`detail-row`},Tn={colspan:`8`},En={key:0,class:`dim pad`},Dn={key:1,class:`err pad`},On={key:2,class:`det-grid`},kn={class:`det-title`},An={key:0,class:`sub-tbl`},jn={class:`num`},Mn={class:`num`},Nn={class:`mono gate-id`},Pn={class:`dim`},Fn={class:`mono num`},In={class:`mono num dim`},Ln={class:`dim gate-detail`},Rn={key:1,class:`dim`},zn={key:2,class:`mono dim gate-detail`},Bn={key:3,class:`err gate-detail`},Vn={class:`det-title`},Hn={key:0,class:`mono live-hint`},Un={class:`logs`},Wn={key:1,class:`empty`},Gn=Object.assign(k(u({__name:`AmlJobsTable`,props:{jobRows:{},expandedJob:{},jobDetails:{},confirmCancel:{},cancelling:{},confirmRetry:{},retrying:{}},emits:[`toggle`,`reload`,`cancel`,`retry`,`remove`],setup(r){let{fmtTime:a,fmtNum:o,shortId:s,statusLabel:c,isActiveStatus:l,canRetry:u}=j();return(p,_)=>(d(),h(`section`,nn,[m(`div`,rn,[m(`h2`,null,[_[1]||=m(`span`,{class:`i-tabler-brain`},null,-1),S(` `+i(p.$t(`aml.k1amlx074`))+` `,1),m(`b`,an,i(r.jobRows.length),1),r.jobRows.some(t=>e(l)(t.status))?(d(),h(`span`,{key:0,class:`live-dot`,title:p.$t(`aml.k1amlx091`)},null,8,on)):y(``,!0)]),m(`button`,{class:`mini-btn`,onClick:_[0]||=e=>p.$emit(`reload`)},i(p.$t(`aml.k1amlx017`)),1)]),r.jobRows.length?(d(),h(`div`,sn,[m(`table`,cn,[m(`thead`,null,[m(`tr`,null,[m(`th`,null,i(p.$t(`aml.k1amlx076`)),1),m(`th`,null,i(p.$t(`aml.k1amlx011`)),1),m(`th`,null,i(p.$t(`aml.k1amlx066`)),1),m(`th`,null,i(p.$t(`aml.k1amlx077`)),1),m(`th`,null,i(p.$t(`aml.k1amlx078`)),1),m(`th`,ln,i(p.$t(`aml.k1amlx079`)),1),m(`th`,null,i(p.$t(`aml.k1amlx020`)),1),m(`th`,un,i(p.$t(`aml.k1amlx127`)),1)])]),m(`tbody`,null,[(d(!0),h(g,null,f(r.jobRows,_=>(d(),h(g,{key:_.id},[m(`tr`,{class:t([`row-main`,{open:r.expandedJob===_.id}]),onClick:e=>p.$emit(`toggle`,_.id)},[m(`td`,fn,i(e(s)(_.id)),1),m(`td`,pn,i(e(s)(_.datasetId)),1),m(`td`,mn,i(_.purpose),1),m(`td`,null,[m(`span`,{class:t([`st-pill`,_.status])},i(e(c)(_.status)),3)]),m(`td`,hn,i(_.stage||`--`),1),m(`td`,gn,[m(`span`,_n,[m(`i`,{style:n({width:`${Math.max(0,Math.min(100,_.progress))}%`}),class:t({done:_.status===`done`,bad:_.status===`failed`})},null,6)]),m(`span`,vn,i(Math.round(_.progress))+`%`,1)]),m(`td`,yn,i(e(a)(_.createdAt)),1),m(`td`,bn,[e(l)(_.status)?(d(),h(`button`,{key:0,class:`mini-btn danger`,disabled:r.cancelling===_.id,onClick:T(e=>p.$emit(`cancel`,_.id),[`stop`])},i(r.confirmCancel===_.id?p.$t(`aml.k1amlx094`):r.cancelling===_.id?p.$t(`aml.k1amlx093`):p.$t(`aml.k1amlx071`)),9,xn)):y(``,!0),e(u)(_.status)?(d(),h(`button`,{key:1,class:`mini-btn`,disabled:r.retrying===_.id,onClick:T(e=>p.$emit(`retry`,_.id),[`stop`])},i(r.confirmRetry===_.id?p.$t(`aml.k1amlx096`):p.$t(`aml.k1amlx095`)),9,Sn)):y(``,!0),e(l)(_.status)?y(``,!0):(d(),h(`span`,{key:2,class:`i-tabler-trash edit-i`,title:p.$t(`aml.k1amlx190`),onClick:T(e=>p.$emit(`remove`,_.id,p.$t(`aml.k1amlx200`)),[`stop`])},null,8,Cn))])],10,dn),r.expandedJob===_.id?(d(),h(`tr`,wn,[m(`td`,Tn,[r.jobDetails[_.id]?.loading?(d(),h(`div`,En,i(p.$t(`aml.k1amlx030`)),1)):r.jobDetails[_.id]?.error?(d(),h(`div`,Dn,i(r.jobDetails[_.id]?.error),1)):(d(),h(`div`,On,[m(`div`,null,[m(`p`,kn,i(p.$t(`aml.k1amlx083`)),1),r.jobDetails[_.id]?.gates?.checks.length?(d(),h(`table`,An,[m(`thead`,null,[m(`tr`,null,[m(`th`,null,i(p.$t(`aml.k1amlx084`)),1),m(`th`,jn,i(p.$t(`aml.k1amlx085`)),1),m(`th`,Mn,i(p.$t(`aml.k1amlx086`)),1),m(`th`,null,i(p.$t(`aml.k1amlx118`)),1)])]),m(`tbody`,null,[(d(!0),h(g,null,f(r.jobDetails[_.id]?.gates?.checks,n=>(d(),h(`tr`,{key:n.id},[m(`td`,null,[m(`b`,Nn,i(n.id),1),m(`small`,Pn,i(n.name),1)]),m(`td`,Fn,i(e(o)(n.value)),1),m(`td`,In,i(e(o)(n.threshold)),1),m(`td`,null,[m(`span`,{class:t([`verdict`,n.pass?`pass`:`fail`])},i(n.pass?p.$t(`aml.k1amlx087`):p.$t(`aml.k1amlx088`)),3),m(`small`,Ln,i(n.detail),1)])]))),128))])])):(d(),h(`p`,Rn,i(p.$t(`aml.k1amlx082`)),1)),r.jobDetails[_.id]?.metrics?.oneStepTest?(d(),h(`p`,zn,[S(i(p.$t(`aml.k1amlx099`))+`: `+i(p.$t(`aml.k1amlx116`))+` `+i(e(o)(r.jobDetails[_.id]?.metrics?.oneStepTest?.nrmse))+` `,1),r.jobDetails[_.id]?.metrics?.rolloutTest?(d(),h(g,{key:0},[S(` · `+i(p.$t(`aml.k1amlx117`))+` `+i(e(o)(r.jobDetails[_.id]?.metrics?.rolloutTest?.nrmse)),1)],64)):y(``,!0)])):y(``,!0),_.error?(d(),h(`p`,Bn,i(p.$t(`aml.k1amlx092`))+`:`+i(_.error),1)):y(``,!0)]),m(`div`,null,[m(`p`,Vn,[S(i(p.$t(`aml.k1amlx089`))+` `,1),e(l)(_.status)?(d(),h(`span`,Hn,i(p.$t(`aml.k1amlx091`)),1)):y(``,!0)]),m(`pre`,Un,i((r.jobDetails[_.id]?.logs??[]).join(`
3
+ `)||p.$t(`aml.k1amlx090`)),1)])]))])])):y(``,!0)],64))),128))])])])):(d(),h(`p`,Wn,i(p.$t(`aml.k1amlx075`)),1))]))}}),[[`__scopeId`,`data-v-de392e34`]]),{__name:`AmlJobsTable`}),Kn={class:`aw-tile zone`},qn={class:`zone-head`},Jn={class:`mono cnt`},Yn={class:`zone-actions`},Xn={value:``},Zn=[`value`],Qn=[`disabled`],$n={key:0,class:`tbl-scroll`},er={class:`tbl tbl-exp`},tr=[`title`],nr=[`title`],rr={class:`mono`},ir={key:0,class:`best-tag`},ar={class:`mono dim`},or={class:`note-cell`},sr=[`title`],cr={class:`mono dim`},lr={class:`mono num`},ur={class:`mono num`},dr={key:1,class:`empty`},fr={key:2,class:`err pad`},pr=Object.assign(k(u({__name:`AmlExperimentsTable`,props:v({datasets:{},experiments:{},bestExpId:{},expError:{}},{expDatasetId:{required:!0},expDatasetIdModifiers:{}}),emits:v([`reload`],[`update:expDatasetId`]),setup(n){let r=s(n,`expDatasetId`),{fmtTime:a,fmtNum:o,shortId:c,expStatusLabel:l}=j();return(s,u)=>(d(),h(`section`,Kn,[m(`div`,qn,[m(`h2`,null,[u[3]||=m(`span`,{class:`i-tabler-trophy`},null,-1),S(` `+i(s.$t(`aml.k1amlx109`))+` `,1),m(`b`,Jn,i(n.experiments.length),1)]),m(`div`,Yn,[_(m(`select`,{"onUpdate:modelValue":u[0]||=e=>r.value=e,class:`inp-sel`,onChange:u[1]||=e=>s.$emit(`reload`)},[m(`option`,Xn,i(s.$t(`aml.k1amlx111`)),1),(d(!0),h(g,null,f(n.datasets,t=>(d(),h(`option`,{key:t.id,value:t.id},i(e(c)(t.id))+` · `+i(e(c)(t.recipeId)),9,Zn))),128))],544),[[C,r.value]]),m(`button`,{class:`mini-btn`,disabled:!r.value,onClick:u[2]||=e=>s.$emit(`reload`)},i(s.$t(`aml.k1amlx017`)),9,Qn)])]),n.experiments.length?(d(),h(`div`,$n,[m(`table`,er,[m(`thead`,null,[m(`tr`,null,[m(`th`,null,i(s.$t(`aml.k1amlx113`)),1),m(`th`,null,i(s.$t(`aml.k1amlx020`)),1),m(`th`,null,i(s.$t(`aml.k1amlx114`)),1),m(`th`,null,i(s.$t(`aml.k1amlx115`)),1),m(`th`,{class:`num`,title:s.$t(`aml.k1amlx121`)},i(s.$t(`aml.k1amlx116`)),9,tr),m(`th`,{class:`num`,title:s.$t(`aml.k1amlx122`)},i(s.$t(`aml.k1amlx117`)),9,nr),m(`th`,null,i(s.$t(`aml.k1amlx118`)),1)])]),m(`tbody`,null,[(d(!0),h(g,null,f(n.experiments,r=>(d(),h(`tr`,{key:r.id,class:t({best:r.id===n.bestExpId})},[m(`td`,rr,[r.id===n.bestExpId?(d(),h(`span`,ir,i(s.$t(`aml.k1amlx120`)),1)):y(``,!0),S(` `+i(e(c)(r.id)),1)]),m(`td`,ar,i(e(a)(r.createdAt)),1),m(`td`,or,[m(`span`,{class:`note`,title:r.changeNote},i(r.changeNote||`--`),9,sr)]),m(`td`,cr,i(r.parentExperimentId?e(c)(r.parentExperimentId):`--`),1),m(`td`,lr,i(e(o)(r.metrics?.oneStepTest?.nrmse)),1),m(`td`,ur,i(e(o)(r.metrics?.rolloutTest?.nrmse)),1),m(`td`,null,[m(`span`,{class:t([`st-pill`,r.status])},i(e(l)(r.status)),3)])],2))),128))])])])):(d(),h(`p`,dr,i(r.value?s.$t(`aml.k1amlx112`):s.$t(`aml.k1amlx110`)),1)),n.expError?(d(),h(`p`,fr,i(n.expError),1)):y(``,!0)]))}}),[[`__scopeId`,`data-v-56917d4e`]]),{__name:`AmlExperimentsTable`}),mr={class:`aw-tile zone`},hr={class:`zone-head`},gr={class:`mono cnt`},_r={key:0,class:`tbl-scroll`},vr={class:`tbl tbl-models`},yr=[`title`],br={class:`right`},xr={class:`mono`},Sr=[`title`],Cr={class:`label-text`},wr=[`title`],Tr={class:`mono dim`},Er={class:`mono dim`},Dr={class:`mono dim`},Or={class:`mono dim`},kr={key:0,class:`note-edit`},Ar=[`placeholder`,`onKeyup`],jr=[`onClick`],Mr={key:1,class:`note-text`},Nr=[`title`],Pr=[`title`,`onClick`],Fr={class:`right acts`},Ir=[`disabled`,`onClick`],Lr={key:0,class:`dim`},Rr=[`title`,`onClick`],zr={key:1,class:`empty`},Br=Object.assign(k(u({__name:`AmlModelsTable`,props:v({models:{},noteEditing:{},confirmPromote:{},promoting:{}},{noteDraft:{required:!0},noteDraftModifiers:{}}),emits:v([`reload`,`editNote`,`saveNote`,`cancelNote`,`promote`,`remove`],[`update:noteDraft`]),setup(n){let r=s(n,`noteDraft`),{fmtTime:a,fmtNum:o,shortId:c}=j();return(s,l)=>(d(),h(`section`,mr,[m(`div`,hr,[m(`h2`,null,[l[5]||=m(`span`,{class:`i-tabler-cube-3d-sphere`},null,-1),S(` `+i(s.$t(`aml.k1amlx123`))+` `,1),m(`b`,gr,i(n.models.length),1)]),m(`button`,{class:`mini-btn`,onClick:l[0]||=e=>s.$emit(`reload`)},i(s.$t(`aml.k1amlx017`)),1)]),n.models.length?(d(),h(`div`,_r,[m(`table`,vr,[m(`thead`,null,[m(`tr`,null,[m(`th`,null,i(s.$t(`aml.k1amlx125`)),1),m(`th`,null,i(s.$t(`aml.k1amlx204`)),1),m(`th`,null,i(s.$t(`aml.k1amlx021`)),1),m(`th`,null,i(s.$t(`aml.k1amlx022`)),1),m(`th`,null,i(s.$t(`aml.k1amlx078`)),1),m(`th`,{title:s.$t(`aml.k1amlx126`)},i(s.$t(`aml.k1amlx099`)),9,yr),m(`th`,null,i(s.$t(`aml.k1amlx020`)),1),m(`th`,null,i(s.$t(`aml.k1amlx026`)),1),m(`th`,br,i(s.$t(`aml.k1amlx127`)),1)])]),m(`tbody`,null,[(d(!0),h(g,null,f(n.models,u=>(d(),h(`tr`,{key:u.id},[m(`td`,xr,i(e(c)(u.id)),1),m(`td`,{class:`label-cell`,title:u.description||u.label},[m(`span`,Cr,i(u.label||`--`),1),u.description?(d(),h(`span`,{key:0,class:`desc-text`,title:u.description},i(u.description),9,wr)):y(``,!0)],8,Sr),m(`td`,Tr,i(e(c)(u.productId)),1),m(`td`,Er,i(e(c)(u.recipeId)),1),m(`td`,null,[m(`span`,{class:t([`stage-pill`,u.stage])},i(u.stage),3)]),m(`td`,Dr,i(s.$t(`aml.k1amlx116`))+` `+i(e(o)(u.metrics?.oneStepTest?.nrmse))+` · `+i(s.$t(`aml.k1amlx117`))+` `+i(e(o)(u.metrics?.rolloutTest?.nrmse)),1),m(`td`,Or,i(e(a)(u.createdAt)),1),m(`td`,{class:`note-cell`,onClick:l[4]||=T(()=>{},[`stop`])},[n.noteEditing===u.id?(d(),h(`div`,kr,[_(m(`input`,{"onUpdate:modelValue":l[1]||=e=>r.value=e,placeholder:s.$t(`aml.k1amlx189`),onKeyup:[w(e=>s.$emit(`saveNote`,u.id),[`enter`]),l[2]||=w(e=>s.$emit(`cancelNote`),[`esc`])]},null,40,Ar),[[E,r.value]]),m(`button`,{class:`mini-btn`,onClick:e=>s.$emit(`saveNote`,u.id)},i(s.$t(`aml.k1amlx191`)),9,jr),m(`button`,{class:`mini-btn`,onClick:l[3]||=e=>s.$emit(`cancelNote`)},i(s.$t(`aml.k1amlx202`)),1)])):(d(),h(`span`,Mr,[m(`span`,{class:`note`,title:u.note},i(u.note||`--`),9,Nr),m(`span`,{class:`i-tabler-pencil edit-i`,title:s.$t(`aml.k1amlx189`),onClick:e=>s.$emit(`editNote`,u.id,u.note)},null,8,Pr)]))]),m(`td`,Fr,[(d(!0),h(g,null,f(e(A)(u),e=>(d(),h(`button`,{key:e.to,class:t([`mini-btn`,{danger:e.to===`retired`}]),disabled:n.promoting===`${u.id}:${e.to}`,onClick:t=>s.$emit(`promote`,u,e.to)},i(n.confirmPromote===`${u.id}:${e.to}`?s.$t(`aml.k1amlx131`):s.$t(e.key)),11,Ir))),128)),e(A)(u).length===0?(d(),h(`span`,Lr,`--`)):y(``,!0),m(`span`,{class:`i-tabler-trash edit-i`,title:s.$t(`aml.k1amlx190`),onClick:e=>s.$emit(`remove`,u.id,s.$t(`aml.k1amlx199`))},null,8,Rr)])]))),128))])])])):(d(),h(`p`,zr,i(s.$t(`aml.k1amlx124`)),1))]))}}),[[`__scopeId`,`data-v-cdf91f1d`]]),{__name:`AmlModelsTable`}),Vr={class:`aw-tile zone`},Hr={class:`zone-head`},Ur={value:``},Wr=[`value`],Gr={key:0,class:`pc-body`},Kr={class:`det-title`},qr={class:`io-grid mono`},Jr={class:`io-item`},Yr={class:`io-item`},Xr={class:`io-item`},Zr=[`title`],Qr=[`title`],$r=[`title`],ei={class:`pc-form`},ti={class:`pc-field`},ni=[`placeholder`],ri={class:`pc-side`},ii={class:`pc-field`},ai={class:`pc-field`},oi=[`disabled`],si={class:`hint dim`},ci={key:0,class:`err`},li={class:`det-title`},ui={class:`sub-tbl`},di={class:`num`},fi={class:`num`},pi={key:0,class:`dim`},mi={class:`mono num`},hi={class:`mono num dim`},gi={class:`mono dim gate-detail`},_i={key:1,class:`empty`},vi={key:1,class:`empty`},yi=Object.assign(k(u({__name:`AmlPredictConsole`,props:{models:{}},setup(t){let n=t,{productionModels:r,predModelId:o,predModel:s,predHistory:c,predControls:l,predSteps:u,predBusy:p,predError:v,predResult:b,onPullLatest:x,doPredict:w}=M(()=>n.models),{fmtNum:T,shortId:D}=j();return(t,n)=>(d(),h(`section`,Vr,[m(`div`,Hr,[m(`h2`,null,[n[6]||=m(`span`,{class:`i-tabler-chart-line`},null,-1),S(` `+i(t.$t(`aml.k1amlx133`)),1)]),e(r).length?_((d(),h(`select`,{key:0,"onUpdate:modelValue":n[0]||=e=>a(o)?o.value=e:null,class:`inp-sel`},[m(`option`,Ur,i(t.$t(`aml.k1amlx134`)),1),(d(!0),h(g,null,f(e(r),t=>(d(),h(`option`,{key:t.id,value:t.id},i(e(D)(t.id))+` · `+i(e(D)(t.recipeId)),9,Wr))),128))],512)),[[C,e(o)]]):y(``,!0)]),e(r).length?(d(),h(g,{key:0},[e(s)?.ioSpec?(d(),h(`div`,Gr,[m(`p`,Kr,i(t.$t(`aml.k1amlx136`)),1),m(`div`,qr,[m(`span`,Jr,[S(i(t.$t(`aml.k1amlx140`))+` `,1),m(`b`,null,i(e(s).ioSpec.historySteps),1)]),m(`span`,Yr,[S(i(t.$t(`aml.k1amlx141`))+` `,1),m(`b`,null,i(e(s).ioSpec.horizonSteps),1)]),m(`span`,Xr,[S(i(t.$t(`aml.k1amlx142`))+` `,1),m(`b`,null,i(e(s).ioSpec.beatMs)+`ms`,1)]),m(`span`,{class:`io-item`,title:e(s).ioSpec.allNodes.join(`, `)},[S(i(t.$t(`aml.k1amlx137`))+`(`+i(e(s).ioSpec.allNodes.length)+`) `,1),m(`b`,null,i(e(s).ioSpec.allNodes.map(t=>e(D)(t)).join(`, `)),1)],8,Zr),m(`span`,{class:`io-item`,title:e(s).ioSpec.controlNodes.join(`, `)},[S(i(t.$t(`aml.k1amlx138`))+` `,1),m(`b`,null,i(e(s).ioSpec.controlNodes.map(t=>e(D)(t)).join(`, `)),1)],8,Qr),m(`span`,{class:`io-item`,title:e(s).ioSpec.targetNodes.join(`, `)},[S(i(t.$t(`aml.k1amlx139`))+` `,1),m(`b`,null,i(e(s).ioSpec.targetNodes.map(t=>e(D)(t)).join(`, `)),1)],8,$r)]),m(`div`,ei,[m(`label`,ti,[m(`span`,null,i(t.$t(`aml.k1amlx143`)),1),_(m(`textarea`,{"onUpdate:modelValue":n[1]||=e=>a(c)?c.value=e:null,class:`inp area`,rows:`5`,placeholder:t.$t(`aml.k1amlx144`)},null,8,ni),[[E,e(c)]])]),m(`div`,ri,[m(`button`,{class:`ghost-btn`,onClick:n[2]||=(...t)=>e(x)&&e(x)(...t)},[n[7]||=m(`span`,{class:`i-tabler-download`},null,-1),S(` `+i(t.$t(`aml.k1amlx145`)),1)]),m(`label`,ii,[m(`span`,null,i(t.$t(`aml.k1amlx156`)),1),_(m(`textarea`,{"onUpdate:modelValue":n[3]||=e=>a(l)?l.value=e:null,class:`inp area`,rows:`3`,placeholder:`[[…]]`},null,512),[[E,e(l)]])]),m(`label`,ai,[m(`span`,null,i(t.$t(`aml.k1amlx147`)),1),_(m(`input`,{"onUpdate:modelValue":n[4]||=e=>a(u)?u.value=e:null,type:`number`,min:`1`,class:`inp`},null,512),[[E,e(u),void 0,{number:!0}]])]),m(`button`,{class:`pill-btn`,disabled:e(p)||!e(c).trim(),onClick:n[5]||=(...t)=>e(w)&&e(w)(...t)},i(e(p)?t.$t(`aml.k1amlx149`):t.$t(`aml.k1amlx148`)),9,oi)])]),m(`p`,si,i(t.$t(`aml.k1amlx146`)),1),e(v)?(d(),h(`p`,ci,i(e(v)),1)):y(``,!0),e(b)?(d(),h(g,{key:1},[m(`p`,li,i(t.$t(`aml.k1amlx150`)),1),m(`table`,ui,[m(`thead`,null,[m(`tr`,null,[m(`th`,di,i(t.$t(`aml.k1amlx151`)),1),m(`th`,fi,i(t.$t(`aml.k1amlx152`)),1),(d(!0),h(g,null,f(e(b).targetNodes,(n,r)=>(d(),h(`th`,{key:n,class:`num`},[S(i(e(D)(n)),1),r===0?(d(),h(`small`,pi,` (`+i(t.$t(`aml.k1amlx041`))+`)`,1)):y(``,!0)]))),128))])]),m(`tbody`,null,[(d(!0),h(g,null,f(e(b).forecast,(t,n)=>(d(),h(`tr`,{key:n},[m(`td`,mi,i(n+1),1),m(`td`,hi,i(e(T)((n+1)*e(b).beatMs/1e3,1)),1),(d(!0),h(g,null,f(t,(t,n)=>(d(),h(`td`,{key:n,class:`mono num`},i(e(T)(t,3)),1))),128))]))),128))])]),m(`p`,gi,i(t.$t(`aml.k1amlx155`))+`:`+i(e(b).assumptions),1)],64)):y(``,!0)])):(d(),h(`p`,_i,i(t.$t(`aml.k1amlx134`)),1))],64)):(d(),h(`p`,vi,i(t.$t(`aml.k1amlx135`)),1))]))}}),[[`__scopeId`,`data-v-f32229b5`]]),{__name:`AmlPredictConsole`}),bi={class:`modal`},xi={class:`m-title`},Si={class:`f-grid`},Ci={class:`f`},wi={class:`f`},Ti={class:`f`},Ei={class:`sec-label`},Di={class:`node-rows`},Oi=[`onUpdate:modelValue`,`placeholder`],ki=[`onUpdate:modelValue`],Ai={value:`control`},ji={value:`feature`},Mi={value:`target`},Ni=[`disabled`,`onClick`],Pi={class:`f-grid`},Fi={class:`f`},Ii={class:`f`},Li={class:`f`},Ri={class:`f`},zi={class:`f`},Bi={class:`f`},Vi={class:`f`},Hi={value:`mpc_surrogate`},Ui={value:`quality_predict`},Wi={class:`f wide`},Gi=[`placeholder`],Ki={key:0,class:`m-err`},qi={class:`m-actions`},Ji=[`disabled`],Yi=Object.assign(k(u({__name:`AmlDatasetFormModal`,props:{open:{type:Boolean,required:!0},openModifiers:{}},emits:v([`created`],[`update:open`]),setup(e,{emit:t}){let n=t,a=s(e,`open`),{t:c}=ee(),{shortId:l}=j(),u=o(!1),p=o(``),v=r({lineId:``,productId:``,recipeId:``,beatMs:5e3,historySteps:60,horizonSteps:30,valRatio:.15,testRatio:.15,seed:7,purpose:`mpc_surrogate`,note:``}),b=r([{nodeId:``,role:`control`},{nodeId:``,role:`target`}]);x(a,e=>{e&&(p.value=``)});function w(){b.push({nodeId:``,role:`feature`})}function D(e){b.splice(e,1)}async function O(){p.value=``;let e=b.filter(e=>e.nodeId.trim()).map(e=>({nodeId:e.nodeId.trim(),role:e.role}));if(!v.lineId.trim()||!v.productId.trim()||!v.recipeId.trim()){p.value=c(`aml.k1amlx161`);return}if(e.length<2||!e.some(e=>e.role===`target`)){p.value=c(`aml.k1amlx054`);return}u.value=!0;try{let t=await ie(`/datasets`,{method:`POST`,body:JSON.stringify({lineId:v.lineId.trim(),productId:v.productId.trim(),recipeId:v.recipeId.trim(),nodes:e,beatMs:Number(v.beatMs),window:{historySteps:Number(v.historySteps),horizonSteps:Number(v.horizonSteps)},split:{valRatio:Number(v.valRatio),testRatio:Number(v.testRatio),seed:Number(v.seed)},purpose:v.purpose,note:v.note.trim()||void 0})});te.success(c(`aml.k1amlx073`,{p0:l(t.dataset.id),p1:t.dataset.rowCount})),a.value=!1,n(`created`)}catch(e){p.value=ne(e)}finally{u.value=!1}}return(e,t)=>a.value?(d(),h(`div`,{key:0,class:`modal-mask`,onClick:t[12]||=T(e=>a.value=!1,[`self`])},[m(`div`,bi,[m(`h3`,xi,i(e.$t(`aml.k1amlx050`)),1),m(`div`,Si,[m(`label`,Ci,[m(`span`,null,[S(i(e.$t(`aml.k1amlx051`)),1),t[13]||=m(`em`,null,`*`,-1)]),_(m(`input`,{"onUpdate:modelValue":t[0]||=e=>v.lineId=e,class:`inp`,placeholder:`line-ov-01`},null,512),[[E,v.lineId]])]),m(`label`,wi,[m(`span`,null,[S(i(e.$t(`aml.k1amlx052`)),1),t[14]||=m(`em`,null,`*`,-1)]),_(m(`input`,{"onUpdate:modelValue":t[1]||=e=>v.productId=e,class:`inp`},null,512),[[E,v.productId]])]),m(`label`,Ti,[m(`span`,null,[S(i(e.$t(`aml.k1amlx053`)),1),t[15]||=m(`em`,null,`*`,-1)]),_(m(`input`,{"onUpdate:modelValue":t[2]||=e=>v.recipeId=e,class:`inp`},null,512),[[E,v.recipeId]])])]),m(`p`,Ei,i(e.$t(`aml.k1amlx054`)),1),m(`div`,Di,[(d(!0),h(g,null,f(b,(t,n)=>(d(),h(`div`,{key:n,class:`node-row`},[_(m(`input`,{"onUpdate:modelValue":e=>t.nodeId=e,class:`inp grow`,placeholder:e.$t(`aml.k1amlx056`)},null,8,Oi),[[E,t.nodeId]]),_(m(`select`,{"onUpdate:modelValue":e=>t.role=e,class:`inp sel`},[m(`option`,Ai,i(e.$t(`aml.k1amlx057`)),1),m(`option`,ji,i(e.$t(`aml.k1amlx058`)),1),m(`option`,Mi,i(e.$t(`aml.k1amlx059`)),1)],8,ki),[[C,t.role]]),m(`button`,{class:`mini-btn danger`,disabled:b.length<=1,onClick:e=>D(n)},` ✕ `,8,Ni)]))),128)),m(`button`,{class:`mini-btn`,onClick:w},[t[16]||=m(`span`,{class:`i-tabler-plus`},null,-1),S(` `+i(e.$t(`aml.k1amlx055`)),1)])]),m(`div`,Pi,[m(`label`,Fi,[m(`span`,null,i(e.$t(`aml.k1amlx060`)),1),_(m(`input`,{"onUpdate:modelValue":t[3]||=e=>v.beatMs=e,type:`number`,min:`1000`,step:`500`,class:`inp`},null,512),[[E,v.beatMs,void 0,{number:!0}]])]),m(`label`,Ii,[m(`span`,null,i(e.$t(`aml.k1amlx061`)),1),_(m(`input`,{"onUpdate:modelValue":t[4]||=e=>v.historySteps=e,type:`number`,min:`1`,class:`inp`},null,512),[[E,v.historySteps,void 0,{number:!0}]])]),m(`label`,Li,[m(`span`,null,i(e.$t(`aml.k1amlx062`)),1),_(m(`input`,{"onUpdate:modelValue":t[5]||=e=>v.horizonSteps=e,type:`number`,min:`1`,class:`inp`},null,512),[[E,v.horizonSteps,void 0,{number:!0}]])]),m(`label`,Ri,[m(`span`,null,i(e.$t(`aml.k1amlx063`)),1),_(m(`input`,{"onUpdate:modelValue":t[6]||=e=>v.valRatio=e,type:`number`,min:`0`,max:`0.8`,step:`0.05`,class:`inp`},null,512),[[E,v.valRatio,void 0,{number:!0}]])]),m(`label`,zi,[m(`span`,null,i(e.$t(`aml.k1amlx064`)),1),_(m(`input`,{"onUpdate:modelValue":t[7]||=e=>v.testRatio=e,type:`number`,min:`0`,max:`0.8`,step:`0.05`,class:`inp`},null,512),[[E,v.testRatio,void 0,{number:!0}]])]),m(`label`,Bi,[m(`span`,null,i(e.$t(`aml.k1amlx065`)),1),_(m(`input`,{"onUpdate:modelValue":t[8]||=e=>v.seed=e,type:`number`,class:`inp`},null,512),[[E,v.seed,void 0,{number:!0}]])]),m(`label`,Vi,[m(`span`,null,i(e.$t(`aml.k1amlx066`)),1),_(m(`select`,{"onUpdate:modelValue":t[9]||=e=>v.purpose=e,class:`inp`},[m(`option`,Hi,i(e.$t(`aml.k1amlx067`)),1),m(`option`,Ui,i(e.$t(`aml.k1amlx068`)),1)],512),[[C,v.purpose]])]),m(`label`,Wi,[m(`span`,null,i(e.$t(`aml.k1amlx026`)),1),_(m(`input`,{"onUpdate:modelValue":t[10]||=e=>v.note=e,class:`inp`,placeholder:e.$t(`aml.k1amlx069`)},null,8,Gi),[[E,v.note]])])]),p.value?(d(),h(`p`,Ki,i(p.value),1)):y(``,!0),m(`div`,qi,[m(`button`,{class:`ghost-btn`,onClick:t[11]||=e=>a.value=!1},i(e.$t(`aml.k1amlx071`)),1),m(`button`,{class:`pill-btn`,disabled:u.value,onClick:O},i(u.value?e.$t(`aml.k1amlx070`):e.$t(`aml.k1amlx072`)),9,Ji)])])])):y(``,!0)}}),[[`__scopeId`,`data-v-8e9b667b`]]),{__name:`AmlDatasetFormModal`}),Xi={class:`page`},Zi=k(u({__name:`index`,setup(t){let{t:n}=ee();he({layout:`default`}),D({title:()=>n(`aml.k1amlx160`)});let{overview:r,overviewError:i,env:s,envBusy:u,inventory:f,pythonText:m,venvText:g,uvText:_,uvSourceText:v,blockerText:S,rootSourceLabel:C,loadOverview:w,loadEnv:T,loadInventory:E,startEnvPoll:te,stopEnvPoll:k,installUv:ne,createVenv:ie,recheckEnv:A,pruneOrphans:j}=le(),{datasets:M,expandedDs:_e,dsDetails:ve,loadDatasets:N,toggleDs:ye}=ae(),{jobRows:P,jobDetails:xe,expandedJob:F,confirmCancel:Se,cancelling:we,confirmRetry:Te,retrying:Ee,loadJobs:I,toggleJob:De,refreshJobLogs:Oe,onCancelJob:L,onRetryJob:R}=fe(),{expDatasetId:z,experiments:B,expError:V,bestExpId:Ae,loadExperiments:je}=ue(),{models:H,confirmPromote:Me,promoting:Ne,loadModels:U,onPromote:Pe}=pe({reloadOverview:w}),{noteEditing:W,noteDraft:G,startEditNote:K,cancelEditNote:q,saveNote:J}=me({reloadDatasets:N,reloadModels:U}),{removeEntity:Y}=oe({reloadDatasets:N,reloadModels:U,reloadJobs:I,reloadOverview:w,reloadInventory:E}),X=o(!1);function Fe(){w(),T(),E(),N(),I(),U()}let Z=de(),Ie=re(),Q=null,$=null;return l(()=>{Ie.ensureConnected(),Q=Z.ensure(),w(),T(),E(),N(),I(),U(),(s.value?.task?.status??r.value?.env?.task?.status)===`running`&&(u.value=!0,te()),ge(()=>{w(),I()},8e3,{bgMs:3e4}),$=O(()=>{let e=F.value;if(!e||document.hidden)return;let t=P.value.find(t=>t.id===e);t&&se(t.status)&&Oe(e)},5e3)}),c(()=>{Q?.(),$&&clearInterval($),k()}),x(()=>Z.lastJob.value,e=>{e&&ce(e.status)&&I()}),x(()=>Z.lastModel.value,()=>{U()}),x(()=>Z.lastDataset.value,()=>{N()}),(t,n)=>(d(),h(`div`,Xi,[p(be,{overview:e(r),env:e(s),"python-text":e(m),"venv-text":e(g),"uv-text":e(_)},null,8,[`overview`,`env`,`python-text`,`venv-text`,`uv-text`]),p(Ce,{overview:e(r)},null,8,[`overview`]),p(ke,{overview:e(r),"overview-error":e(i),"python-text":e(m),"venv-text":e(g),onReload:Fe},null,8,[`overview`,`overview-error`,`python-text`,`venv-text`]),e(s)?(d(),b(tt,{key:0,env:e(s),inventory:e(f),"env-busy":e(u),"uv-text":e(_),"uv-source-text":e(v),"blocker-text":e(S),"root-source-label":e(C),onRecheck:e(A),onInstallUv:e(ne),onCreateVenv:e(ie),onPrune:e(j)},null,8,[`env`,`inventory`,`env-busy`,`uv-text`,`uv-source-text`,`blocker-text`,`root-source-label`,`onRecheck`,`onInstallUv`,`onCreateVenv`,`onPrune`])):y(``,!0),p(tn,{"note-draft":e(G),"onUpdate:noteDraft":n[0]||=e=>a(G)?G.value=e:null,datasets:e(M),"expanded-ds":e(_e),"ds-details":e(ve),"note-editing":e(W),onToggle:e(ye),onReload:e(N),onCreate:n[1]||=e=>X.value=!0,onEditNote:e(K),onSaveNote:n[2]||=t=>e(J)(`datasets`,t),onCancelNote:e(q),onRemove:n[3]||=(t,n)=>e(Y)(`datasets`,t,n)},null,8,[`note-draft`,`datasets`,`expanded-ds`,`ds-details`,`note-editing`,`onToggle`,`onReload`,`onEditNote`,`onCancelNote`]),p(Gn,{"job-rows":e(P),"expanded-job":e(F),"job-details":e(xe),"confirm-cancel":e(Se),cancelling:e(we),"confirm-retry":e(Te),retrying:e(Ee),onToggle:e(De),onReload:e(I),onCancel:e(L),onRetry:e(R),onRemove:n[4]||=(t,n)=>e(Y)(`jobs`,t,n)},null,8,[`job-rows`,`expanded-job`,`job-details`,`confirm-cancel`,`cancelling`,`confirm-retry`,`retrying`,`onToggle`,`onReload`,`onCancel`,`onRetry`]),p(pr,{"exp-dataset-id":e(z),"onUpdate:expDatasetId":n[5]||=e=>a(z)?z.value=e:null,datasets:e(M),experiments:e(B),"best-exp-id":e(Ae),"exp-error":e(V),onReload:e(je)},null,8,[`exp-dataset-id`,`datasets`,`experiments`,`best-exp-id`,`exp-error`,`onReload`]),p(Br,{"note-draft":e(G),"onUpdate:noteDraft":n[6]||=e=>a(G)?G.value=e:null,models:e(H),"note-editing":e(W),"confirm-promote":e(Me),promoting:e(Ne),onReload:e(U),onEditNote:e(K),onSaveNote:n[7]||=t=>e(J)(`models`,t),onCancelNote:e(q),onPromote:e(Pe),onRemove:n[8]||=(t,n)=>e(Y)(`models`,t,n)},null,8,[`note-draft`,`models`,`note-editing`,`confirm-promote`,`promoting`,`onReload`,`onEditNote`,`onCancelNote`,`onPromote`]),p(yi,{models:e(H)},null,8,[`models`]),p(Yi,{open:X.value,"onUpdate:open":n[9]||=e=>X.value=e,onCreated:e(N)},null,8,[`open`,`onCreated`])]))}}),[[`__scopeId`,`data-v-e48806b2`]]);export{Zi as default};
@@ -1 +1 @@
1
- import{N as e,dt as t,mt as n,u as r}from"./CavpkQb0.js";import{$ as i,S as a,V as o,b as s,d as c,f as l,h as u,i as d,k as f,m as p,p as m,rt as h,tt as g,y as _}from"./C6lssmvl.js";import{d as v,p as y}from"./CW6vX8Hb.js";import{n as b}from"./D1MkndMZ.js";import{I as x,K as S,R as C,_n as w,f as T,q as E,t as D,un as O}from"./C6NTcQfa.js";import{_ as ee,c as k,l as A}from"./K2YSPQsi.js";import{t as j}from"./CxsGwDxD.js";import{t as M}from"./C7vbfjUb2.js";import{t as N}from"./KTH9lz1E2.js";import{t as P}from"./Dohdu8d12.js";import{t as F}from"./BVpzZEIw2.js";import{t as te}from"./DHnitCG92.js";import{t as ne}from"./CuOIxZ_Y.js";import{t as I}from"./BDNMzG2s.js";import{t as re}from"./CNs_Ozdc2.js";import{i as L,n as R,t as z}from"./DuVKg1HC.js";import{n as B,t as V}from"./DtZhgwuA.js";import{t as H}from"./BSoelv0a.js";import{t as U}from"./Bp3uXBpB.js";import{t as W}from"./BxHBIVAg2.js";var G={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 K(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){q(e,t,n[t])})}return e}function q(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var J=function(e,t){var n=K({},e,t.attrs);return s(T,K({},n,{icon:G}),null)};J.displayName=`WarningFilled`,J.inheritAttrs=!1;var Y=()=>s(`svg`,{width:`252`,height:`294`},[s(`defs`,null,[s(`path`,{d:`M0 .387h251.772v251.772H0z`},null)]),s(`g`,{fill:`none`,"fill-rule":`evenodd`},[s(`g`,{transform:`translate(0 .012)`},[s(`mask`,{fill:`#fff`},null),s(`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)]),s(`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),s(`path`,{d:`M36.975 134.297l10.482 5.943M48.373 146.508l-12.648 10.788`,stroke:`#FFF`,"stroke-width":`2`},null),s(`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),s(`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),s(`path`,{d:`M179.26 141.75l12.64 7.167M193.006 156.477l-15.255 13.011`,stroke:`#FFF`,"stroke-width":`2`},null),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`path`,{d:`M107.275 222.1s2.773-1.11 6.102-3.884`,stroke:`#648BD8`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`path`,{d:`M110.846 74.481s1.79-.716 2.506.537`,stroke:`#5C2552`,"stroke-width":`1.118`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`path`,{d:`M150.29 151.232h-19.863v-33.707h20.784v32.786a.92.92 0 0 1-.92.92`,fill:`#F4D19D`},null),s(`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),s(`path`,{fill:`#CC9B6E`,d:`M123.689 128.447H99.25v-.519h24.169l7.183-10.26.424.298z`},null),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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)])]),X=()=>s(`svg`,{width:`254`,height:`294`},[s(`defs`,null,[s(`path`,{d:`M0 .335h253.49v253.49H0z`},null),s(`path`,{d:`M0 293.665h253.49V.401H0z`},null)]),s(`g`,{fill:`none`,"fill-rule":`evenodd`},[s(`g`,{transform:`translate(0 .067)`},[s(`mask`,{fill:`#fff`},null),s(`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)]),s(`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),s(`path`,{d:`M37.19 135.59l10.553 5.983M48.665 147.884l-12.734 10.861`,stroke:`#FFF`,"stroke-width":`2`},null),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`path`,{d:`M99.926 73.284s1.8-.72 2.52.54`,stroke:`#5C2552`,"stroke-width":`1.117`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`path`,{d:`M107.375 123.006s9.697-2.745 11.445-.88`,stroke:`#E59788`,"stroke-width":`.774`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null),s(`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),s(`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),s(`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),s(`mask`,{fill:`#fff`},null),s(`path`,{fill:`#A3B4C6`,mask:`url(#d)`,d:`M154.098 190.096h70.513v-84.617h-70.513z`},null),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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)])]),ie=()=>s(`svg`,{width:`251`,height:`294`},[s(`g`,{fill:`none`,"fill-rule":`evenodd`},[s(`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),s(`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),s(`path`,{d:`M38.652 136.36l10.425 5.91M49.989 148.505l-12.58 10.73`,stroke:`#FFF`,"stroke-width":`2`},null),s(`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),s(`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),s(`path`,{d:`M180.17 143.772l12.572 7.129M193.841 158.42L178.67 171.36`,stroke:`#FFF`,"stroke-width":`2`},null),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`path`,{d:`M108.459 220.905s2.759-1.104 6.07-3.863`,stroke:`#648BD8`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null),s(`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),s(`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),s(`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),s(`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),s(`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)])]),ae=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}}}}},oe=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}}},se=e=>[ae(e),oe(e)],ce=e=>se(e),le=E(`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[ce(S(e,{resultTitleFontSize:n,resultSubtitleFontSize:r,resultIconFontSize:n*3,resultExtraMargin:i,resultInfoIconColor:a,resultErrorIconColor:o,resultSuccessIconColor:s,resultWarningIconColor:c}))]},{imageWidth:250,imageHeight:295}),ue={success:A,error:ee,info:k,warning:J},Z={404:Y,500:X,403:ie},de=Object.keys(Z),fe=()=>({prefixCls:String,icon:x.any,status:{type:[Number,String],default:`info`},title:x.any,subTitle:x.any,extra:x.any}),pe=(e,t)=>{let{status:n,icon:r}=t;if(de.includes(`${n}`)){let t=Z[n];return s(`div`,{class:`${e}-icon ${e}-image`},[s(t,null,null)])}let i=ue[n],a=r||s(i,null,null);return s(`div`,{class:`${e}-icon`},[a])},me=(e,t)=>t&&s(`div`,{class:`${e}-extra`},[t]),Q=a({compatConfig:{MODE:3},name:`AResult`,inheritAttrs:!1,props:fe(),slots:Object,setup(e,t){let{slots:n,attrs:r}=t,{prefixCls:i,direction:a}=C(`result`,e),[o,l]=le(i),u=c(()=>O(i.value,l.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),c=e.icon??n.icon?.call(n),l=e.extra??n.extra?.call(n),d=i.value;return o(s(`div`,w(w({},r),{},{class:[u.value,r.class]}),[pe(d,{status:e.status,icon:c}),s(`div`,{class:`${d}-title`},[t]),a&&s(`div`,{class:`${d}-subtitle`},[a]),me(d,l),n.default&&s(`div`,{class:`${d}-content`},[n.default()])]))}}});Q.PRESENTED_IMAGE_403=Z[403],Q.PRESENTED_IMAGE_404=Z[404],Q.PRESENTED_IMAGE_500=Z[500],Q.install=function(e){return e.component(Q.name,Q),e};var he={class:`aw-mono count-extra`},ge={key:3,class:`aw-mono`},_e={key:4,class:`aw-mono`},ve={key:0},ye={key:1,class:`aw-mono`},be=Object.assign(I(a({__name:`MonitorAgentTable`,props:{rows:{},loading:{type:Boolean},terminating:{type:Boolean}},emits:[`openTerminal`,`terminate`],setup(t){let{t:r}=b(),{shortId:i}=B(),{stateColor:a,stateText:c}=V(),f=z();return(g,v)=>{let y=F,b=D,x=M,S=P,C=j,w=N;return o(),m(w,{class:`aw-panel`,title:e(r)(`monitor.agentRuntimes`)},{extra:h(()=>[l(`span`,he,n(t.rows.length)+` wired`,1)]),default:h(()=>[s(C,{columns:e(f),"data-source":t.rows,pagination:!1,loading:t.loading,"row-key":`agentId`,size:`small`,scroll:{x:980}},{bodyCell:h(({column:f,record:C})=>[f.key===`role`?(o(),m(y,{key:0,color:C.role===`lead`?`gold`:`blue`},{default:h(()=>[_(n(C.role),1)]),_:2},1032,[`color`])):f.key===`harness`?(o(),m(y,{key:1},{default:h(()=>[_(n(C.harness),1)]),_:2},1024)):f.key===`state`?(o(),m(y,{key:2,color:e(a)[C.state]??`default`},{default:h(()=>[_(n(e(c)[C.state]??C.state),1)]),_:2},1032,[`color`])):f.key===`currentTaskId`?(o(),u(`span`,ge,n(e(i)(C.currentTaskId)),1)):f.key===`channelId`?(o(),u(`span`,_e,n(e(i)(C.channelId)),1)):f.key===`pid`?(o(),u(d,{key:5},[C.process?(o(),u(`span`,ve,[s(y,{color:C.process.alive?`success`:`default`,class:`aw-mono`},{default:h(()=>[_(` PID `+n(C.process.pid),1)]),_:2},1032,[`color`])])):(o(),u(`span`,ye,`in-proc`))],64)):f.key===`actions`?(o(),m(S,{key:6,size:4},{default:h(()=>[C.process?.alive?(o(),m(b,{key:0,size:`small`,type:`primary`,ghost:``,title:e(r)(`monitor.openTerminalHint`),onClick:e=>g.$emit(`openTerminal`,C.process.pid,C.name,C.role)},{icon:h(()=>[...v[0]||=[l(`span`,{class:`i-tabler-terminal-2`},null,-1)]]),default:h(()=>[_(` `+n(e(r)(`monitor.openTerminal`)),1)]),_:1},8,[`title`,`onClick`])):p(``,!0),s(x,{title:`${e(r)(`monitor.terminateConfirm`)}(${C.name})`,"ok-text":e(r)(`common.confirm`),"cancel-text":e(r)(`common.cancel`),onConfirm:e=>g.$emit(`terminate`,C)},{default:h(()=>[s(b,{size:`small`,danger:``,disabled:t.terminating},{icon:h(()=>[...v[1]||=[l(`span`,{class:`i-tabler-square-x`},null,-1)]]),default:h(()=>[_(` `+n(e(r)(`monitor.terminate`)),1)]),_:1},8,[`disabled`])]),_:1},8,[`title`,`ok-text`,`cancel-text`,`onConfirm`])]),_:2},1024)):p(``,!0)]),_:1},8,[`columns`,`data-source`,`loading`])]),_:1},8,[`title`])}}}),[[`__scopeId`,`data-v-adda8c25`]]),{__name:`MonitorAgentTable`}),xe={class:`aw-mono count-extra`},Se={key:0,class:`aw-mono`},Ce={key:2,class:`aw-mono`},we=Object.assign(I(a({__name:`MonitorChannelTable`,props:{rows:{},loading:{type:Boolean}},setup(t){let{t:r}=b(),{shortId:i}=B(),a=R();return(c,f)=>{let g=F,v=j,y=N;return o(),m(y,{class:`aw-panel`,title:e(r)(`monitor.channelRuntimes`)},{extra:h(()=>[l(`span`,xe,n(t.rows.length)+` wired`,1)]),default:h(()=>[s(v,{columns:e(a),"data-source":t.rows,pagination:!1,loading:t.loading,"row-key":`channelId`,size:`small`,scroll:{x:720}},{bodyCell:h(({column:t,record:a})=>[t.key===`channelId`?(o(),u(`span`,Se,n(e(i)(a.channelId)),1)):t.key===`hasScheduler`?(o(),u(d,{key:1},[a.hasScheduler?(o(),m(g,{key:0,color:`purple`},{default:h(()=>[_(n(e(r)(`monitor.scheduling`)),1)]),_:1})):(o(),m(g,{key:1},{default:h(()=>[...f[0]||=[_(` – `,-1)]]),_:1}))],64)):t.key===`leadAgentId`?(o(),u(`span`,Ce,n(e(i)(a.leadAgentId)),1)):p(``,!0)]),_:1},8,[`columns`,`data-source`,`loading`])]),_:1},8,[`title`])}}}),[[`__scopeId`,`data-v-479df441`]]),{__name:`MonitorChannelTable`}),Te=Object.assign(a({__name:`MonitorLoginGate`,setup(t){let{t:r}=b();return(t,i)=>{let a=D,c=Q,l=N;return o(),m(l,{class:`aw-panel`},{default:h(()=>[s(c,{title:e(r)(`monitor.needLogin`)},{extra:h(()=>[s(a,{type:`primary`,onClick:i[0]||=n=>(`navigateTo`in t?t.navigateTo:e(v))(`/workshop`)},{default:h(()=>[_(n(e(r)(`monitor.goLogin`)),1)]),_:1})]),_:1},8,[`title`])]),_:1})}}}),{__name:`MonitorLoginGate`}),Ee={class:`aw-page-head`},De={class:`aw-kicker`},Oe={class:`head-right`},ke={class:`toggle-label`},Ae=Object.assign(I(a({__name:`MonitorPageHead`,props:f({scope:{},loading:{type:Boolean}},{autoRefresh:{type:Boolean,required:!0},autoRefreshModifiers:{}}),emits:f([`refresh`],[`update:autoRefresh`]),setup(r){let a=i(r,`autoRefresh`),{t:c}=b();return(i,d)=>{let f=F,p=te,m=D;return o(),u(`div`,Ee,[l(`div`,null,[l(`p`,De,n(e(c)(`menu.system`))+` / runtime ledger `,1),l(`h1`,null,[_(n(e(c)(`monitor.title`))+` `,1),s(f,{color:r.scope===`admin`?`volcano`:`blue`,class:`scope-tag`},{default:h(()=>[l(`span`,{class:t(r.scope===`admin`?`i-tabler-shield-check`:`i-tabler-user`)},null,2),_(` `+n(r.scope===`admin`?i.$t(`monitor.k16zpmg9002`):i.$t(`monitor.k1dzryry003`)),1)]),_:1},8,[`color`])])]),l(`div`,Oe,[s(p,{checked:a.value,"onUpdate:checked":d[0]||=e=>a.value=e,size:`small`},null,8,[`checked`]),l(`span`,ke,n(e(c)(`monitor.autoRefresh`)),1),s(m,{size:`small`,loading:r.loading,onClick:d[1]||=e=>i.$emit(`refresh`)},{icon:h(()=>[...d[2]||=[l(`span`,{class:`i-tabler-refresh`},null,-1)]]),default:h(()=>[_(` `+n(e(c)(`monitor.refresh`)),1)]),_:1},8,[`loading`])])])}}}),[[`__scopeId`,`data-v-d1aac75a`]]),{__name:`MonitorPageHead`}),je={class:`aw-mono count-extra`},Me={key:0,class:`aw-mono`},Ne={key:0,class:`aw-mono agent-sub`},Pe={key:0},Fe={key:1},Ie={key:4,class:`aw-mono small`},Le={key:5,class:`aw-mono small`},Re=Object.assign(I(a({__name:`MonitorProcessTable`,props:{rows:{},loading:{type:Boolean},terminating:{type:Boolean},orphanCount:{}},emits:[`openTerminal`,`terminate`],setup(t){let{t:r}=b(),{shortId:i,startedAtText:a}=B(),c=L();return(f,g)=>{let v=F,y=D,b=M,x=P,S=j,C=N;return o(),m(C,{class:`aw-panel`,title:e(r)(`monitor.harnessProcesses`)},{extra:h(()=>[l(`span`,je,n(t.rows.length)+` spawned · `+n(t.orphanCount??0)+` orphan `,1)]),default:h(()=>[s(S,{columns:e(c),"data-source":t.rows,pagination:!1,loading:t.loading,"row-key":`pid`,size:`small`,scroll:{x:900}},{bodyCell:h(({column:c,record:S})=>[c.key===`pid`?(o(),u(`span`,Me,n(S.pid),1)):c.key===`bound`?(o(),m(v,{key:1,color:S.bound?`success`:`warning`},{default:h(()=>[_(n(S.bound?e(r)(`monitor.bound`):e(r)(`monitor.orphan`)),1)]),_:2},1032,[`color`])):c.key===`name`?(o(),u(d,{key:2},[l(`span`,null,n(S.name??`–`),1),S.agentId?(o(),u(`span`,Ne,n(e(i)(S.agentId)),1)):p(``,!0)],64)):c.key===`role`?(o(),u(d,{key:3},[S.role?(o(),u(`span`,Pe,n(S.role),1)):(o(),u(`span`,Fe,`–`))],64)):c.key===`command`?(o(),u(`span`,Ie,n(S.command),1)):c.key===`startedAt`?(o(),u(`span`,Le,n(e(a)(S.startedAt)),1)):c.key===`alive`?(o(),m(v,{key:6,color:S.alive?`success`:`error`},{default:h(()=>[_(n(S.alive?e(r)(`monitor.alive`):`${e(r)(`monitor.exited`)} ${S.exitCode??``}`),1)]),_:2},1032,[`color`])):c.key===`actions`?(o(),m(x,{key:7,size:4},{default:h(()=>[S.terminal?(o(),m(y,{key:0,size:`small`,type:`primary`,ghost:``,title:e(r)(`monitor.openTerminalHint`),onClick:e=>f.$emit(`openTerminal`,S.pid,S.name,S.role)},{icon:h(()=>[...g[0]||=[l(`span`,{class:`i-tabler-terminal-2`},null,-1)]]),default:h(()=>[_(` `+n(e(r)(`monitor.openTerminal`)),1)]),_:1},8,[`title`,`onClick`])):p(``,!0),s(b,{title:e(r)(`monitor.terminatePidConfirm`),"ok-text":e(r)(`common.confirm`),"cancel-text":e(r)(`common.cancel`),onConfirm:e=>f.$emit(`terminate`,S)},{default:h(()=>[s(y,{size:`small`,danger:``,disabled:t.terminating||!S.alive},{icon:h(()=>[...g[1]||=[l(`span`,{class:`i-tabler-square-x`},null,-1)]]),default:h(()=>[_(` `+n(e(r)(`monitor.terminate`)),1)]),_:1},8,[`disabled`])]),_:2},1032,[`title`,`ok-text`,`cancel-text`,`onConfirm`])]),_:2},1024)):p(``,!0)]),_:1},8,[`columns`,`data-source`,`loading`])]),_:1},8,[`title`])}}}),[[`__scopeId`,`data-v-c323204d`]]),{__name:`MonitorProcessTable`}),ze={class:`stat-grid`},Be={class:`stat-label`},Ve={class:`stat-value aw-mono`},$={class:`stat-label`},He={class:`stat-value aw-mono`},Ue={class:`stat-label`},We={class:`stat-value aw-mono`},Ge={key:0,class:`orphan-badge`},Ke={class:`stat-label`},qe={class:`stat-value aw-mono small`},Je={class:`stat-updated`},Ye=Object.assign(I(a({__name:`MonitorStatGrid`,props:{counts:{},serverPid:{},uptimeMs:{},generatedAt:{},lastUpdated:{}},setup(t){let{t:r}=b(),{uptimeText:i}=B();return(a,c)=>{let d=N;return o(),u(`div`,ze,[s(d,{class:`aw-panel stat`},{default:h(()=>[l(`p`,Be,n(e(r)(`monitor.channels`)),1),l(`p`,Ve,n(t.counts?.channels??`–`),1)]),_:1}),s(d,{class:`aw-panel stat`},{default:h(()=>[l(`p`,$,n(e(r)(`monitor.agents`)),1),l(`p`,He,n(t.counts?.agents??`–`),1)]),_:1}),s(d,{class:`aw-panel stat`},{default:h(()=>[l(`p`,Ue,n(e(r)(`monitor.aliveProcesses`)),1),l(`p`,We,[_(n(t.counts?.aliveProcesses??`–`)+` `,1),(t.counts?.orphanProcesses??0)>0?(o(),u(`span`,Ge,` +`+n(t.counts?.orphanProcesses)+` `+n(e(r)(`monitor.orphan`)),1)):p(``,!0)])]),_:1}),s(d,{class:`aw-panel stat`},{default:h(()=>[l(`p`,Ke,n(e(r)(`monitor.server`)),1),l(`p`,qe,` PID `+n(t.serverPid??`–`)+` · `+n(t.uptimeMs===void 0?``:e(i)(t.uptimeMs)),1),l(`p`,Je,n(t.lastUpdated)+` · `+n(e(r)(`monitor.updated`))+` `+n(t.generatedAt??``),1)]),_:1})])}}}),[[`__scopeId`,`data-v-d0de903d`]]),{__name:`MonitorStatGrid`}),Xe={class:`monitor`},Ze=I(a({__name:`monitor`,setup(t){re({layout:`default`});let n=y(),i=ne(),{terminalOpen:a,terminalPid:c,terminalAgentId:l,terminalChannelId:f,terminalSubtitle:p,openTerminal:h}=W(),{snapshot:_,loading:b,autoRefresh:x,lastUpdated:S,terminating:C,poll:w,doTerminateAgent:T,doTerminatePid:E}=U({onInitialPoll:D});function D(){let e=n.query.agentId;if(typeof e!=`string`||!e)return;let t=typeof n.query.channelId==`string`?n.query.channelId:``,r=_.value?.processes.find(n=>n.agentId===e&&(!t||n.channelId===t));h(r?.pid??null,r?.name??e,r?.role??`agent`,e,t||null),v({path:`/monitor`},{replace:!0})}return g(()=>[n.query.agentId,n.query.channelId],async([e])=>{typeof e!=`string`||!e||(await w(),D())}),(t,n)=>(o(),u(`div`,Xe,[s(Ae,{"auto-refresh":e(x),"onUpdate:autoRefresh":n[0]||=e=>r(x)?x.value=e:null,scope:e(_)?.scope,loading:e(b),onRefresh:e(w)},null,8,[`auto-refresh`,`scope`,`loading`,`onRefresh`]),e(i).isLoggedIn?(o(),u(d,{key:1},[s(Ye,{counts:e(_)?.counts,"server-pid":e(_)?.serverPid,"uptime-ms":e(_)?.uptimeMs,"generated-at":e(_)?.generatedAt,"last-updated":e(S)},null,8,[`counts`,`server-pid`,`uptime-ms`,`generated-at`,`last-updated`]),s(we,{rows:e(_)?.channels??[],loading:e(b)},null,8,[`rows`,`loading`]),s(be,{rows:e(_)?.agents??[],loading:e(b),terminating:e(C),onOpenTerminal:e(h),onTerminate:e(T)},null,8,[`rows`,`loading`,`terminating`,`onOpenTerminal`,`onTerminate`]),s(Re,{rows:e(_)?.processes??[],loading:e(b),terminating:e(C),"orphan-count":e(_)?.counts.orphanProcesses,onOpenTerminal:e(h),onTerminate:e(E)},null,8,[`rows`,`loading`,`terminating`,`orphan-count`,`onOpenTerminal`,`onTerminate`]),s(H,{open:e(a),"onUpdate:open":n[1]||=e=>r(a)?a.value=e:null,pid:e(c),"agent-id":e(l),"channel-id":e(f),subtitle:e(p)},null,8,[`open`,`pid`,`agent-id`,`channel-id`,`subtitle`])],64)):(o(),m(Te,{key:0}))]))}}),[[`__scopeId`,`data-v-c9e0453a`]]);export{Ze as default};
1
+ import{N as e,dt as t,mt as n,u as r}from"./CavpkQb0.js";import{$ as i,S as a,V as o,b as s,d as c,f as l,h as u,i as d,k as f,m as p,p as m,rt as h,tt as g,y as _}from"./C6lssmvl.js";import{d as v,p as y}from"./CW6vX8Hb.js";import{n as b}from"./D1MkndMZ.js";import{I as x,K as S,R as C,_n as w,f as T,q as E,t as D,un as O}from"./C6NTcQfa.js";import{_ as ee,c as k,l as A}from"./K2YSPQsi.js";import{t as j}from"./CxsGwDxD.js";import{t as M}from"./C7vbfjUb2.js";import{t as N}from"./KTH9lz1E2.js";import{t as P}from"./Dohdu8d12.js";import{t as F}from"./BVpzZEIw2.js";import{t as te}from"./DHnitCG92.js";import{t as ne}from"./CuOIxZ_Y.js";import{t as I}from"./BDNMzG2s.js";import{t as re}from"./CNs_Ozdc2.js";import{i as L,n as R,t as z}from"./DuVKg1HC.js";import{n as B,t as V}from"./DtZhgwuA.js";import{t as H}from"./DAXKnIk_.js";import{t as U}from"./Bp3uXBpB.js";import{t as W}from"./BxHBIVAg2.js";var G={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 K(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){q(e,t,n[t])})}return e}function q(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var J=function(e,t){var n=K({},e,t.attrs);return s(T,K({},n,{icon:G}),null)};J.displayName=`WarningFilled`,J.inheritAttrs=!1;var Y=()=>s(`svg`,{width:`252`,height:`294`},[s(`defs`,null,[s(`path`,{d:`M0 .387h251.772v251.772H0z`},null)]),s(`g`,{fill:`none`,"fill-rule":`evenodd`},[s(`g`,{transform:`translate(0 .012)`},[s(`mask`,{fill:`#fff`},null),s(`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)]),s(`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),s(`path`,{d:`M36.975 134.297l10.482 5.943M48.373 146.508l-12.648 10.788`,stroke:`#FFF`,"stroke-width":`2`},null),s(`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),s(`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),s(`path`,{d:`M179.26 141.75l12.64 7.167M193.006 156.477l-15.255 13.011`,stroke:`#FFF`,"stroke-width":`2`},null),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`path`,{d:`M107.275 222.1s2.773-1.11 6.102-3.884`,stroke:`#648BD8`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`path`,{d:`M110.846 74.481s1.79-.716 2.506.537`,stroke:`#5C2552`,"stroke-width":`1.118`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`path`,{d:`M150.29 151.232h-19.863v-33.707h20.784v32.786a.92.92 0 0 1-.92.92`,fill:`#F4D19D`},null),s(`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),s(`path`,{fill:`#CC9B6E`,d:`M123.689 128.447H99.25v-.519h24.169l7.183-10.26.424.298z`},null),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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)])]),X=()=>s(`svg`,{width:`254`,height:`294`},[s(`defs`,null,[s(`path`,{d:`M0 .335h253.49v253.49H0z`},null),s(`path`,{d:`M0 293.665h253.49V.401H0z`},null)]),s(`g`,{fill:`none`,"fill-rule":`evenodd`},[s(`g`,{transform:`translate(0 .067)`},[s(`mask`,{fill:`#fff`},null),s(`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)]),s(`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),s(`path`,{d:`M37.19 135.59l10.553 5.983M48.665 147.884l-12.734 10.861`,stroke:`#FFF`,"stroke-width":`2`},null),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`path`,{d:`M99.926 73.284s1.8-.72 2.52.54`,stroke:`#5C2552`,"stroke-width":`1.117`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`path`,{d:`M107.375 123.006s9.697-2.745 11.445-.88`,stroke:`#E59788`,"stroke-width":`.774`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null),s(`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),s(`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),s(`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),s(`mask`,{fill:`#fff`},null),s(`path`,{fill:`#A3B4C6`,mask:`url(#d)`,d:`M154.098 190.096h70.513v-84.617h-70.513z`},null),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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)])]),ie=()=>s(`svg`,{width:`251`,height:`294`},[s(`g`,{fill:`none`,"fill-rule":`evenodd`},[s(`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),s(`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),s(`path`,{d:`M38.652 136.36l10.425 5.91M49.989 148.505l-12.58 10.73`,stroke:`#FFF`,"stroke-width":`2`},null),s(`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),s(`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),s(`path`,{d:`M180.17 143.772l12.572 7.129M193.841 158.42L178.67 171.36`,stroke:`#FFF`,"stroke-width":`2`},null),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`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),s(`path`,{d:`M108.459 220.905s2.759-1.104 6.07-3.863`,stroke:`#648BD8`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null),s(`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),s(`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),s(`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),s(`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),s(`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)])]),ae=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}}}}},oe=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}}},se=e=>[ae(e),oe(e)],ce=e=>se(e),le=E(`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[ce(S(e,{resultTitleFontSize:n,resultSubtitleFontSize:r,resultIconFontSize:n*3,resultExtraMargin:i,resultInfoIconColor:a,resultErrorIconColor:o,resultSuccessIconColor:s,resultWarningIconColor:c}))]},{imageWidth:250,imageHeight:295}),ue={success:A,error:ee,info:k,warning:J},Z={404:Y,500:X,403:ie},de=Object.keys(Z),fe=()=>({prefixCls:String,icon:x.any,status:{type:[Number,String],default:`info`},title:x.any,subTitle:x.any,extra:x.any}),pe=(e,t)=>{let{status:n,icon:r}=t;if(de.includes(`${n}`)){let t=Z[n];return s(`div`,{class:`${e}-icon ${e}-image`},[s(t,null,null)])}let i=ue[n],a=r||s(i,null,null);return s(`div`,{class:`${e}-icon`},[a])},me=(e,t)=>t&&s(`div`,{class:`${e}-extra`},[t]),Q=a({compatConfig:{MODE:3},name:`AResult`,inheritAttrs:!1,props:fe(),slots:Object,setup(e,t){let{slots:n,attrs:r}=t,{prefixCls:i,direction:a}=C(`result`,e),[o,l]=le(i),u=c(()=>O(i.value,l.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),c=e.icon??n.icon?.call(n),l=e.extra??n.extra?.call(n),d=i.value;return o(s(`div`,w(w({},r),{},{class:[u.value,r.class]}),[pe(d,{status:e.status,icon:c}),s(`div`,{class:`${d}-title`},[t]),a&&s(`div`,{class:`${d}-subtitle`},[a]),me(d,l),n.default&&s(`div`,{class:`${d}-content`},[n.default()])]))}}});Q.PRESENTED_IMAGE_403=Z[403],Q.PRESENTED_IMAGE_404=Z[404],Q.PRESENTED_IMAGE_500=Z[500],Q.install=function(e){return e.component(Q.name,Q),e};var he={class:`aw-mono count-extra`},ge={key:3,class:`aw-mono`},_e={key:4,class:`aw-mono`},ve={key:0},ye={key:1,class:`aw-mono`},be=Object.assign(I(a({__name:`MonitorAgentTable`,props:{rows:{},loading:{type:Boolean},terminating:{type:Boolean}},emits:[`openTerminal`,`terminate`],setup(t){let{t:r}=b(),{shortId:i}=B(),{stateColor:a,stateText:c}=V(),f=z();return(g,v)=>{let y=F,b=D,x=M,S=P,C=j,w=N;return o(),m(w,{class:`aw-panel`,title:e(r)(`monitor.agentRuntimes`)},{extra:h(()=>[l(`span`,he,n(t.rows.length)+` wired`,1)]),default:h(()=>[s(C,{columns:e(f),"data-source":t.rows,pagination:!1,loading:t.loading,"row-key":`agentId`,size:`small`,scroll:{x:980}},{bodyCell:h(({column:f,record:C})=>[f.key===`role`?(o(),m(y,{key:0,color:C.role===`lead`?`gold`:`blue`},{default:h(()=>[_(n(C.role),1)]),_:2},1032,[`color`])):f.key===`harness`?(o(),m(y,{key:1},{default:h(()=>[_(n(C.harness),1)]),_:2},1024)):f.key===`state`?(o(),m(y,{key:2,color:e(a)[C.state]??`default`},{default:h(()=>[_(n(e(c)[C.state]??C.state),1)]),_:2},1032,[`color`])):f.key===`currentTaskId`?(o(),u(`span`,ge,n(e(i)(C.currentTaskId)),1)):f.key===`channelId`?(o(),u(`span`,_e,n(e(i)(C.channelId)),1)):f.key===`pid`?(o(),u(d,{key:5},[C.process?(o(),u(`span`,ve,[s(y,{color:C.process.alive?`success`:`default`,class:`aw-mono`},{default:h(()=>[_(` PID `+n(C.process.pid),1)]),_:2},1032,[`color`])])):(o(),u(`span`,ye,`in-proc`))],64)):f.key===`actions`?(o(),m(S,{key:6,size:4},{default:h(()=>[C.process?.alive?(o(),m(b,{key:0,size:`small`,type:`primary`,ghost:``,title:e(r)(`monitor.openTerminalHint`),onClick:e=>g.$emit(`openTerminal`,C.process.pid,C.name,C.role)},{icon:h(()=>[...v[0]||=[l(`span`,{class:`i-tabler-terminal-2`},null,-1)]]),default:h(()=>[_(` `+n(e(r)(`monitor.openTerminal`)),1)]),_:1},8,[`title`,`onClick`])):p(``,!0),s(x,{title:`${e(r)(`monitor.terminateConfirm`)}(${C.name})`,"ok-text":e(r)(`common.confirm`),"cancel-text":e(r)(`common.cancel`),onConfirm:e=>g.$emit(`terminate`,C)},{default:h(()=>[s(b,{size:`small`,danger:``,disabled:t.terminating},{icon:h(()=>[...v[1]||=[l(`span`,{class:`i-tabler-square-x`},null,-1)]]),default:h(()=>[_(` `+n(e(r)(`monitor.terminate`)),1)]),_:1},8,[`disabled`])]),_:1},8,[`title`,`ok-text`,`cancel-text`,`onConfirm`])]),_:2},1024)):p(``,!0)]),_:1},8,[`columns`,`data-source`,`loading`])]),_:1},8,[`title`])}}}),[[`__scopeId`,`data-v-82dd9170`]]),{__name:`MonitorAgentTable`}),xe={class:`aw-mono count-extra`},Se={key:0,class:`aw-mono`},Ce={key:2,class:`aw-mono`},we=Object.assign(I(a({__name:`MonitorChannelTable`,props:{rows:{},loading:{type:Boolean}},setup(t){let{t:r}=b(),{shortId:i}=B(),a=R();return(c,f)=>{let g=F,v=j,y=N;return o(),m(y,{class:`aw-panel`,title:e(r)(`monitor.channelRuntimes`)},{extra:h(()=>[l(`span`,xe,n(t.rows.length)+` wired`,1)]),default:h(()=>[s(v,{columns:e(a),"data-source":t.rows,pagination:!1,loading:t.loading,"row-key":`channelId`,size:`small`,scroll:{x:720}},{bodyCell:h(({column:t,record:a})=>[t.key===`channelId`?(o(),u(`span`,Se,n(e(i)(a.channelId)),1)):t.key===`hasScheduler`?(o(),u(d,{key:1},[a.hasScheduler?(o(),m(g,{key:0,color:`purple`},{default:h(()=>[_(n(e(r)(`monitor.scheduling`)),1)]),_:1})):(o(),m(g,{key:1},{default:h(()=>[...f[0]||=[_(` – `,-1)]]),_:1}))],64)):t.key===`leadAgentId`?(o(),u(`span`,Ce,n(e(i)(a.leadAgentId)),1)):p(``,!0)]),_:1},8,[`columns`,`data-source`,`loading`])]),_:1},8,[`title`])}}}),[[`__scopeId`,`data-v-3c77e7cc`]]),{__name:`MonitorChannelTable`}),Te=Object.assign(a({__name:`MonitorLoginGate`,setup(t){let{t:r}=b();return(t,i)=>{let a=D,c=Q,l=N;return o(),m(l,{class:`aw-panel`},{default:h(()=>[s(c,{title:e(r)(`monitor.needLogin`)},{extra:h(()=>[s(a,{type:`primary`,onClick:i[0]||=n=>(`navigateTo`in t?t.navigateTo:e(v))(`/workshop`)},{default:h(()=>[_(n(e(r)(`monitor.goLogin`)),1)]),_:1})]),_:1},8,[`title`])]),_:1})}}}),{__name:`MonitorLoginGate`}),Ee={class:`aw-page-head`},De={class:`aw-kicker`},Oe={class:`head-right`},ke={class:`toggle-label`},Ae=Object.assign(I(a({__name:`MonitorPageHead`,props:f({scope:{},loading:{type:Boolean}},{autoRefresh:{type:Boolean,required:!0},autoRefreshModifiers:{}}),emits:f([`refresh`],[`update:autoRefresh`]),setup(r){let a=i(r,`autoRefresh`),{t:c}=b();return(i,d)=>{let f=F,p=te,m=D;return o(),u(`div`,Ee,[l(`div`,null,[l(`p`,De,n(e(c)(`menu.system`))+` / runtime ledger `,1),l(`h1`,null,[_(n(e(c)(`monitor.title`))+` `,1),s(f,{color:r.scope===`admin`?`volcano`:`blue`,class:`scope-tag`},{default:h(()=>[l(`span`,{class:t(r.scope===`admin`?`i-tabler-shield-check`:`i-tabler-user`)},null,2),_(` `+n(r.scope===`admin`?i.$t(`monitor.k16zpmg9002`):i.$t(`monitor.k1dzryry003`)),1)]),_:1},8,[`color`])])]),l(`div`,Oe,[s(p,{checked:a.value,"onUpdate:checked":d[0]||=e=>a.value=e,size:`small`},null,8,[`checked`]),l(`span`,ke,n(e(c)(`monitor.autoRefresh`)),1),s(m,{size:`small`,loading:r.loading,onClick:d[1]||=e=>i.$emit(`refresh`)},{icon:h(()=>[...d[2]||=[l(`span`,{class:`i-tabler-refresh`},null,-1)]]),default:h(()=>[_(` `+n(e(c)(`monitor.refresh`)),1)]),_:1},8,[`loading`])])])}}}),[[`__scopeId`,`data-v-bfb85806`]]),{__name:`MonitorPageHead`}),je={class:`aw-mono count-extra`},Me={key:0,class:`aw-mono`},Ne={key:0,class:`aw-mono agent-sub`},Pe={key:0},Fe={key:1},Ie={key:4,class:`aw-mono small`},Le={key:5,class:`aw-mono small`},Re=Object.assign(I(a({__name:`MonitorProcessTable`,props:{rows:{},loading:{type:Boolean},terminating:{type:Boolean},orphanCount:{}},emits:[`openTerminal`,`terminate`],setup(t){let{t:r}=b(),{shortId:i,startedAtText:a}=B(),c=L();return(f,g)=>{let v=F,y=D,b=M,x=P,S=j,C=N;return o(),m(C,{class:`aw-panel`,title:e(r)(`monitor.harnessProcesses`)},{extra:h(()=>[l(`span`,je,n(t.rows.length)+` spawned · `+n(t.orphanCount??0)+` orphan `,1)]),default:h(()=>[s(S,{columns:e(c),"data-source":t.rows,pagination:!1,loading:t.loading,"row-key":`pid`,size:`small`,scroll:{x:900}},{bodyCell:h(({column:c,record:S})=>[c.key===`pid`?(o(),u(`span`,Me,n(S.pid),1)):c.key===`bound`?(o(),m(v,{key:1,color:S.bound?`success`:`warning`},{default:h(()=>[_(n(S.bound?e(r)(`monitor.bound`):e(r)(`monitor.orphan`)),1)]),_:2},1032,[`color`])):c.key===`name`?(o(),u(d,{key:2},[l(`span`,null,n(S.name??`–`),1),S.agentId?(o(),u(`span`,Ne,n(e(i)(S.agentId)),1)):p(``,!0)],64)):c.key===`role`?(o(),u(d,{key:3},[S.role?(o(),u(`span`,Pe,n(S.role),1)):(o(),u(`span`,Fe,`–`))],64)):c.key===`command`?(o(),u(`span`,Ie,n(S.command),1)):c.key===`startedAt`?(o(),u(`span`,Le,n(e(a)(S.startedAt)),1)):c.key===`alive`?(o(),m(v,{key:6,color:S.alive?`success`:`error`},{default:h(()=>[_(n(S.alive?e(r)(`monitor.alive`):`${e(r)(`monitor.exited`)} ${S.exitCode??``}`),1)]),_:2},1032,[`color`])):c.key===`actions`?(o(),m(x,{key:7,size:4},{default:h(()=>[S.terminal?(o(),m(y,{key:0,size:`small`,type:`primary`,ghost:``,title:e(r)(`monitor.openTerminalHint`),onClick:e=>f.$emit(`openTerminal`,S.pid,S.name,S.role)},{icon:h(()=>[...g[0]||=[l(`span`,{class:`i-tabler-terminal-2`},null,-1)]]),default:h(()=>[_(` `+n(e(r)(`monitor.openTerminal`)),1)]),_:1},8,[`title`,`onClick`])):p(``,!0),s(b,{title:e(r)(`monitor.terminatePidConfirm`),"ok-text":e(r)(`common.confirm`),"cancel-text":e(r)(`common.cancel`),onConfirm:e=>f.$emit(`terminate`,S)},{default:h(()=>[s(y,{size:`small`,danger:``,disabled:t.terminating||!S.alive},{icon:h(()=>[...g[1]||=[l(`span`,{class:`i-tabler-square-x`},null,-1)]]),default:h(()=>[_(` `+n(e(r)(`monitor.terminate`)),1)]),_:1},8,[`disabled`])]),_:2},1032,[`title`,`ok-text`,`cancel-text`,`onConfirm`])]),_:2},1024)):p(``,!0)]),_:1},8,[`columns`,`data-source`,`loading`])]),_:1},8,[`title`])}}}),[[`__scopeId`,`data-v-a8646f98`]]),{__name:`MonitorProcessTable`}),ze={class:`stat-grid`},Be={class:`stat-label`},Ve={class:`stat-value aw-mono`},$={class:`stat-label`},He={class:`stat-value aw-mono`},Ue={class:`stat-label`},We={class:`stat-value aw-mono`},Ge={key:0,class:`orphan-badge`},Ke={class:`stat-label`},qe={class:`stat-value aw-mono small`},Je={class:`stat-updated`},Ye=Object.assign(I(a({__name:`MonitorStatGrid`,props:{counts:{},serverPid:{},uptimeMs:{},generatedAt:{},lastUpdated:{}},setup(t){let{t:r}=b(),{uptimeText:i}=B();return(a,c)=>{let d=N;return o(),u(`div`,ze,[s(d,{class:`aw-panel stat`},{default:h(()=>[l(`p`,Be,n(e(r)(`monitor.channels`)),1),l(`p`,Ve,n(t.counts?.channels??`–`),1)]),_:1}),s(d,{class:`aw-panel stat`},{default:h(()=>[l(`p`,$,n(e(r)(`monitor.agents`)),1),l(`p`,He,n(t.counts?.agents??`–`),1)]),_:1}),s(d,{class:`aw-panel stat`},{default:h(()=>[l(`p`,Ue,n(e(r)(`monitor.aliveProcesses`)),1),l(`p`,We,[_(n(t.counts?.aliveProcesses??`–`)+` `,1),(t.counts?.orphanProcesses??0)>0?(o(),u(`span`,Ge,` +`+n(t.counts?.orphanProcesses)+` `+n(e(r)(`monitor.orphan`)),1)):p(``,!0)])]),_:1}),s(d,{class:`aw-panel stat`},{default:h(()=>[l(`p`,Ke,n(e(r)(`monitor.server`)),1),l(`p`,qe,` PID `+n(t.serverPid??`–`)+` · `+n(t.uptimeMs===void 0?``:e(i)(t.uptimeMs)),1),l(`p`,Je,n(t.lastUpdated)+` · `+n(e(r)(`monitor.updated`))+` `+n(t.generatedAt??``),1)]),_:1})])}}}),[[`__scopeId`,`data-v-d0de903d`]]),{__name:`MonitorStatGrid`}),Xe={class:`monitor`},Ze=I(a({__name:`monitor`,setup(t){re({layout:`default`});let n=y(),i=ne(),{terminalOpen:a,terminalPid:c,terminalAgentId:l,terminalChannelId:f,terminalSubtitle:p,openTerminal:h}=W(),{snapshot:_,loading:b,autoRefresh:x,lastUpdated:S,terminating:C,poll:w,doTerminateAgent:T,doTerminatePid:E}=U({onInitialPoll:D});function D(){let e=n.query.agentId;if(typeof e!=`string`||!e)return;let t=typeof n.query.channelId==`string`?n.query.channelId:``,r=_.value?.processes.find(n=>n.agentId===e&&(!t||n.channelId===t));h(r?.pid??null,r?.name??e,r?.role??`agent`,e,t||null),v({path:`/monitor`},{replace:!0})}return g(()=>[n.query.agentId,n.query.channelId],async([e])=>{typeof e!=`string`||!e||(await w(),D())}),(t,n)=>(o(),u(`div`,Xe,[s(Ae,{"auto-refresh":e(x),"onUpdate:autoRefresh":n[0]||=e=>r(x)?x.value=e:null,scope:e(_)?.scope,loading:e(b),onRefresh:e(w)},null,8,[`auto-refresh`,`scope`,`loading`,`onRefresh`]),e(i).isLoggedIn?(o(),u(d,{key:1},[s(Ye,{counts:e(_)?.counts,"server-pid":e(_)?.serverPid,"uptime-ms":e(_)?.uptimeMs,"generated-at":e(_)?.generatedAt,"last-updated":e(S)},null,8,[`counts`,`server-pid`,`uptime-ms`,`generated-at`,`last-updated`]),s(we,{rows:e(_)?.channels??[],loading:e(b)},null,8,[`rows`,`loading`]),s(be,{rows:e(_)?.agents??[],loading:e(b),terminating:e(C),onOpenTerminal:e(h),onTerminate:e(T)},null,8,[`rows`,`loading`,`terminating`,`onOpenTerminal`,`onTerminate`]),s(Re,{rows:e(_)?.processes??[],loading:e(b),terminating:e(C),"orphan-count":e(_)?.counts.orphanProcesses,onOpenTerminal:e(h),onTerminate:e(E)},null,8,[`rows`,`loading`,`terminating`,`orphan-count`,`onOpenTerminal`,`onTerminate`]),s(H,{open:e(a),"onUpdate:open":n[1]||=e=>r(a)?a.value=e:null,pid:e(c),"agent-id":e(l),"channel-id":e(f),subtitle:e(p)},null,8,[`open`,`pid`,`agent-id`,`channel-id`,`subtitle`])],64)):(o(),m(Te,{key:0}))]))}}),[[`__scopeId`,`data-v-c9e0453a`]]);export{Ze as default};