@myagentroam/server 0.15.20 → 0.15.22

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 (511) hide show
  1. package/node_modules/@myagentroam/protocol/dist/browser-attachment.d.ts +9 -1
  2. package/node_modules/@myagentroam/protocol/dist/browser-attachment.js +1 -1
  3. package/node_modules/@myagentroam/protocol/dist/browser-files.d.ts +48 -79
  4. package/node_modules/@myagentroam/protocol/dist/browser-files.js +14 -27
  5. package/node_modules/@myagentroam/protocol/dist/browser-stream.d.ts +9 -0
  6. package/node_modules/@myagentroam/protocol/dist/browser-stream.js +79 -0
  7. package/node_modules/@myagentroam/protocol/dist/byte-frame.d.ts +1 -13
  8. package/node_modules/@myagentroam/protocol/dist/byte-frame.js +6 -44
  9. package/node_modules/@myagentroam/protocol/dist/direct-transfer.d.ts +97 -84
  10. package/node_modules/@myagentroam/protocol/dist/direct-transfer.js +10 -31
  11. package/node_modules/@myagentroam/protocol/dist/file-relay.d.ts +1 -1
  12. package/node_modules/@myagentroam/protocol/dist/file-relay.js +3 -20
  13. package/node_modules/@myagentroam/protocol/dist/file-upload-stream.d.ts +3 -0
  14. package/node_modules/@myagentroam/protocol/dist/file-upload-stream.js +29 -0
  15. package/node_modules/@myagentroam/protocol/dist/index.d.ts +118 -90
  16. package/node_modules/@myagentroam/protocol/dist/index.js +15 -16
  17. package/node_modules/@myagentroam/protocol/dist/node-connection.d.ts +27 -0
  18. package/node_modules/@myagentroam/protocol/dist/node-connection.js +108 -0
  19. package/node_modules/@myagentroam/protocol/dist/node-relay-path.d.ts +11 -0
  20. package/node_modules/@myagentroam/protocol/dist/node-relay-path.js +48 -0
  21. package/node_modules/@myagentroam/protocol/dist/node-stream-mux.d.ts +23 -0
  22. package/node_modules/@myagentroam/protocol/dist/node-stream-mux.js +123 -0
  23. package/node_modules/@myagentroam/protocol/dist/node-stream-path.d.ts +28 -0
  24. package/node_modules/@myagentroam/protocol/dist/node-stream-path.js +64 -0
  25. package/node_modules/@myagentroam/protocol/dist/node-stream-wire.d.ts +109 -0
  26. package/node_modules/@myagentroam/protocol/dist/node-stream-wire.js +88 -0
  27. package/node_modules/@myagentroam/protocol/dist/node-stream.d.ts +28 -0
  28. package/node_modules/@myagentroam/protocol/dist/node-stream.js +181 -0
  29. package/node_modules/@myagentroam/protocol/dist/scheduled-time.d.ts +2 -2
  30. package/node_modules/@myagentroam/protocol/dist/stream-record.d.ts +3 -0
  31. package/node_modules/@myagentroam/protocol/dist/stream-record.js +41 -0
  32. package/node_modules/@myagentroam/protocol/dist/terminal-direct.d.ts +0 -26
  33. package/node_modules/@myagentroam/protocol/dist/terminal-direct.js +0 -14
  34. package/node_modules/@myagentroam/protocol/dist/terminal-stream.d.ts +3 -0
  35. package/node_modules/@myagentroam/protocol/dist/terminal-stream.js +9 -0
  36. package/node_modules/@myagentroam/protocol/dist/workbench-notification.d.ts +6 -6
  37. package/node_modules/@myagentroam/protocol/package.json +46 -1
  38. package/node_modules/@myagentroam/server-core/dist/browser-attachment-coordinator.d.ts +6 -4
  39. package/node_modules/@myagentroam/server-core/dist/browser-attachment-coordinator.js +25 -16
  40. package/node_modules/@myagentroam/server-core/dist/direct-transfer-coordinator.js +4 -1
  41. package/node_modules/@myagentroam/server-core/dist/domain-errors.js +0 -2
  42. package/node_modules/@myagentroam/server-core/dist/file-content-stream.d.ts +1 -1
  43. package/node_modules/@myagentroam/server-core/dist/file-content-stream.js +5 -2
  44. package/node_modules/@myagentroam/server-core/dist/hosted-conversation-context.d.ts +5 -0
  45. package/node_modules/@myagentroam/server-core/dist/hosted-conversation-context.js +12 -5
  46. package/node_modules/@myagentroam/server-core/dist/hosted-conversation-routes.d.ts +21 -0
  47. package/node_modules/@myagentroam/server-core/dist/hosted-conversation-routes.js +89 -57
  48. package/node_modules/@myagentroam/server-core/dist/hosted-http-support.d.ts +2 -2
  49. package/node_modules/@myagentroam/server-core/dist/hosted-http-support.js +3 -3
  50. package/node_modules/@myagentroam/server-core/dist/marctl-routes.d.ts +0 -13
  51. package/node_modules/@myagentroam/server-core/dist/marctl-routes.js +1 -42
  52. package/node_modules/@myagentroam/server-core/dist/node-relay-channel.d.ts +32 -0
  53. package/node_modules/@myagentroam/server-core/dist/node-relay-channel.js +161 -0
  54. package/node_modules/@myagentroam/server-core/dist/node-stream-relay.d.ts +29 -0
  55. package/node_modules/@myagentroam/server-core/dist/node-stream-relay.js +179 -0
  56. package/node_modules/@myagentroam/server-core/dist/session-share-resource-routes.d.ts +6 -0
  57. package/node_modules/@myagentroam/server-core/dist/session-share-resource-routes.js +54 -51
  58. package/node_modules/@myagentroam/server-core/dist/session-share-routes.d.ts +5 -0
  59. package/node_modules/@myagentroam/server-core/dist/session-share-routes.js +1 -0
  60. package/node_modules/@myagentroam/server-core/dist/terminal-direct-coordinator.js +6 -1
  61. package/node_modules/@myagentroam/server-core/dist/terminal-relay-service.d.ts +9 -57
  62. package/node_modules/@myagentroam/server-core/dist/terminal-relay-service.js +86 -741
  63. package/node_modules/@myagentroam/server-core/dist/workbench-notification-service.d.ts +1 -1
  64. package/node_modules/@myagentroam/server-core/dist/workspace-route-contracts.d.ts +1 -1
  65. package/node_modules/@myagentroam/server-core/dist/workspace-routes.js +19 -53
  66. package/node_modules/@myagentroam/server-core/package.json +7 -7
  67. package/node_modules/@myagentroam-enterprise/server-implementation/dist/composition/node-control-factory.js +0 -3
  68. package/node_modules/@myagentroam-enterprise/server-implementation/dist/composition/server-application.js +13 -6
  69. package/node_modules/@myagentroam-enterprise/server-implementation/dist/node-control.d.ts +35 -22
  70. package/node_modules/@myagentroam-enterprise/server-implementation/dist/node-control.js +183 -48
  71. package/node_modules/@myagentroam-enterprise/server-implementation/dist/route/browser-file-routes.d.ts +2 -3
  72. package/node_modules/@myagentroam-enterprise/server-implementation/dist/route/browser-file-routes.js +64 -54
  73. package/node_modules/@myagentroam-enterprise/server-implementation/dist/route/node-routes.js +32 -2
  74. package/node_modules/@myagentroam-enterprise/server-implementation/dist/route/realtime-routes.d.ts +8 -10
  75. package/node_modules/@myagentroam-enterprise/server-implementation/dist/route/realtime-routes.js +84 -34
  76. package/node_modules/@myagentroam-enterprise/server-implementation/dist/route/resource-grant-routes.js +4 -2
  77. package/node_modules/@myagentroam-enterprise/server-implementation/dist/service/browser-workbench-service.d.ts +46 -16
  78. package/node_modules/@myagentroam-enterprise/server-implementation/dist/service/browser-workbench-service.js +125 -66
  79. package/node_modules/@myagentroam-enterprise/server-implementation/dist/service/file-stream-tickets.d.ts +28 -0
  80. package/node_modules/@myagentroam-enterprise/server-implementation/dist/service/file-stream-tickets.js +86 -0
  81. package/node_modules/@myagentroam-enterprise/server-implementation/dist/service/node-request-broker.d.ts +2 -1
  82. package/node_modules/@myagentroam-enterprise/server-implementation/dist/service/node-request-broker.js +6 -2
  83. package/node_modules/@myagentroam-enterprise/server-implementation/dist/service/node-resource-scope-index.js +1 -1
  84. package/node_modules/@myagentroam-enterprise/server-implementation/dist/service/workspace-file-stream-tickets.d.ts +22 -0
  85. package/node_modules/@myagentroam-enterprise/server-implementation/dist/service/workspace-file-stream-tickets.js +44 -0
  86. package/node_modules/@myagentroam-enterprise/server-implementation/package.json +3 -3
  87. package/package.json +5 -5
  88. package/web/assets/AuditManagementPage-DbKh6eRe.js +1 -0
  89. package/web/assets/AuthEntryPanel-B8bTU548.js +48 -0
  90. package/web/assets/{CodeFileEditor-CnjJpn8n.js → CodeFileEditor-BHZUlISI.js} +3 -3
  91. package/web/assets/ConversationTemplateManagementPage-B6u4jDfQ.js +1 -0
  92. package/web/assets/ConversationTemplateManagementPage-BI8lcF1i.js +1 -0
  93. package/web/assets/EnterpriseUserManagementPage-CrJkhVtx.js +1 -0
  94. package/web/assets/EnvironmentSecretManager-Aka-GJz7.js +1 -0
  95. package/web/assets/{FilePreviewLoading-OzdyIhrT.js → FilePreviewLoading-DA-2VsTB.js} +20 -20
  96. package/web/assets/LicenseManagementPage-Rtpmf3nv.js +1 -0
  97. package/web/assets/{ManagementPagination-B0oPypEL.js → ManagementPagination-BvaR99Dc.js} +1 -1
  98. package/web/assets/MarAgentModelManagementPage-BivUyL7J.js +1 -0
  99. package/web/assets/MarAgentModelManagementPage-CcT3JGgb.js +1 -0
  100. package/web/assets/MarAlert-CRVLX9Wa.js +1 -0
  101. package/web/assets/MarCascader-Btmgo8dB.js +1 -0
  102. package/web/assets/MarCheckTag-Ch4CbbZ8.js +1 -0
  103. package/web/assets/{MarCheckboxGroup-CE5NVWCc.js → MarCheckboxGroup-Be97d9TS.js} +1 -1
  104. package/web/assets/MarCheckboxGroup.vue_vue_type_style_index_0_scoped_3769668f_lang-ClmS8idk.js +1 -0
  105. package/web/assets/MarDatePicker-CMFjXJQs.js +1 -0
  106. package/web/assets/MarDescriptionsItem-DEXPl4ah.js +1 -0
  107. package/web/assets/{MarFormItem.vue_vue_type_script_setup_true_lang-BeahYbi2.js → MarFormItem.vue_vue_type_script_setup_true_lang-CPNk2Veu.js} +2 -2
  108. package/web/assets/MarInputNumber-DdalMF7L.js +1 -0
  109. package/web/assets/MarOptionGroup.vue_vue_type_style_index_0_scoped_0cdd846e_lang-CHfYexS5.js +1 -0
  110. package/web/assets/MarSwitch-CFVo4O4a.js +1 -0
  111. package/web/assets/MarTableColumn.vue_vue_type_script_setup_true_lang-D1N4pE61.js +1 -0
  112. package/web/assets/MarTabs-DHhviMuu.js +1 -0
  113. package/web/assets/{MarTag-H7GRZ5pc.js → MarTag-D7k5Giue.js} +1 -1
  114. package/web/assets/MarkdownFilePreview--gkjyQ19.js +2 -0
  115. package/web/assets/McpDetailsDialog-TPdDUnPs.js +1 -0
  116. package/web/assets/McpSourceManagementPage-Cks9Enob.js +1 -0
  117. package/web/assets/{McpSourceManagementPage-DV-yOFvw.js → McpSourceManagementPage-qCz59w5x.js} +1 -1
  118. package/web/assets/NodeDetailsDialogs-nZJMkek8.js +1 -0
  119. package/web/assets/NodeManagementPage-B06iRh26.js +1 -0
  120. package/web/assets/NodeManagementPage-CfcByo9d.js +1 -0
  121. package/web/assets/{OAuthManagementPage-BATLRDRY.js → OAuthManagementPage-DhrnM3Rh.js} +1 -1
  122. package/web/assets/{OrganizationManagementPage-BzT8wuPD.js → OrganizationManagementPage-BYf1bedj.js} +1 -1
  123. package/web/assets/RemoteDesktopPage-Cq90OEFv.js +1 -0
  124. package/web/assets/ResourceManagementPanel-BkGbWBp5.js +2 -0
  125. package/web/assets/ResourceManagementPanel.vue_vue_type_script_setup_true_lang-B895a56H.js +1 -0
  126. package/web/assets/SecretManagementPage-B3VchO2Z.js +1 -0
  127. package/web/assets/SecretManagementPage-CU9Lzgsn.js +1 -0
  128. package/web/assets/SecretManagementPage.vue_vue_type_script_setup_true_lang-Dv-nPi2X.js +1 -0
  129. package/web/assets/SessionSharePage-BAgQMi9G.css +1 -0
  130. package/web/assets/SessionSharePage-CDmP1Pd8.js +2 -0
  131. package/web/assets/SettingsContent-BF7_Z2mX.js +1 -0
  132. package/web/assets/SettingsContent-D5sxsJJS.js +1 -0
  133. package/web/assets/SkillCenterPage-BdI59V6y.js +1 -0
  134. package/web/assets/SkillCenterPage-C3TWbgQG.js +1 -0
  135. package/web/assets/SkillDetailsDialog-pnSmYh55.js +1 -0
  136. package/web/assets/SkillSourceManagementPage-AGlHKb1h.js +1 -0
  137. package/web/assets/{SkillSourceManagementPage-D7b0fJ3D.js → SkillSourceManagementPage-Co87BS1d.js} +1 -1
  138. package/web/assets/{StandaloneFilePreviewPage-BasO-FBI.css → StandaloneFilePreviewPage-CWD99_uM.css} +1 -1
  139. package/web/assets/StandaloneFilePreviewPage-DwH6oKrv.js +1 -0
  140. package/web/assets/{SystemConfigurationPage-8Jjuk11W.js → SystemConfigurationPage-Cy_yEAvW.js} +1 -1
  141. package/web/assets/SystemConfigurationPage-DGEbrYw9.js +1 -0
  142. package/web/assets/SystemInformationPage-BU9wGwM8.js +1 -0
  143. package/web/assets/{TerminalTabView-c7gutdQp.css → TerminalTabView-BtJOS9p6.css} +1 -1
  144. package/web/assets/TerminalTabView-DQf9rX19.js +23 -0
  145. package/web/assets/WorkbenchPage-8o3lIbk0.js +22 -0
  146. package/web/assets/{WorkbenchPage-DObPaT6u.css → WorkbenchPage-BLqtJjyz.css} +1 -1
  147. package/web/assets/WorkspaceManagementPage-DGoPBvIb.js +1 -0
  148. package/web/assets/WorkspaceManagementPage-DchU2N0l.js +1 -0
  149. package/web/assets/abnfDiagram-VCTEODGH-C3tsQMw3.js +1 -0
  150. package/web/assets/{arc-Dog_3KmJ.js → arc-BqpnsZyy.js} +1 -1
  151. package/web/assets/architectureDiagram-5GKGNRK7-CdVOYvXa.js +36 -0
  152. package/web/assets/{blockDiagram-OSKFZWR5-ClnQ_K5W.js → blockDiagram-OSKFZWR5-C52VK4uA.js} +2 -2
  153. package/web/assets/{c4Diagram-7LVT6UL2-CBrw0euZ.js → c4Diagram-7LVT6UL2-DzH0eUeZ.js} +2 -2
  154. package/web/assets/{catalog-ownership-service-BxADZxPd.js → catalog-ownership-service-DyAP1Cp9.js} +1 -1
  155. package/web/assets/{catalog-page-service-BLRFbIDS.js → catalog-page-service-ktoR2mW5.js} +1 -1
  156. package/web/assets/channel-BnCWY8zx.js +1 -0
  157. package/web/assets/{chunk-2Q5K7J3B-Da8KTDzr.js → chunk-2Q5K7J3B-xQs0KV_Q.js} +1 -1
  158. package/web/assets/{chunk-5VM5RSS4-D-wJHR6M.js → chunk-5VM5RSS4-DOjeP0nb.js} +1 -1
  159. package/web/assets/{chunk-F27PBJKO-8NR-zAd5.js → chunk-F27PBJKO-BcVSMrTE.js} +1 -1
  160. package/web/assets/{chunk-HLEWEB6X-D0iOGiad.js → chunk-HLEWEB6X-CCYsvU8p.js} +1 -1
  161. package/web/assets/{chunk-JWPE2WC7-fyvzeH_Y.js → chunk-JWPE2WC7-BBJToXcH.js} +1 -1
  162. package/web/assets/{chunk-POPQ4Y6H-B89-WsDI.js → chunk-POPQ4Y6H-COLF2byZ.js} +1 -1
  163. package/web/assets/{chunk-SVP7TREG-3alXvd3K.js → chunk-SVP7TREG-C4GOh-rt.js} +1 -1
  164. package/web/assets/{chunk-XXDRQBXY-DothZC5b.js → chunk-XXDRQBXY-BoSNlDY8.js} +1 -1
  165. package/web/assets/{chunk-ZLD2IHE6-BZnNnqEe.js → chunk-ZLD2IHE6-DdCRdjwl.js} +1 -1
  166. package/web/assets/classDiagram-CYGNFDIV-oBFzYO-t.js +1 -0
  167. package/web/assets/classDiagram-v2-TLXNO2FR-oBFzYO-t.js +1 -0
  168. package/web/assets/{conversation-history-xvAWh8bC.js → conversation-history-BmJPw5LP.js} +3 -3
  169. package/web/assets/cose-bilkent-JH36ORCC-BKl5UDjv.js +1 -0
  170. package/web/assets/{cynefin-OW5HDTMX-TOvK2Jss.js → cynefin-OW5HDTMX-DBO8k3eX.js} +1 -1
  171. package/web/assets/cynefinDiagram-5FMLGOSQ-TD9Xj8st.js +62 -0
  172. package/web/assets/{dagre-OS7QT2EB-CPseMkJo.js → dagre-OS7QT2EB-ZjosT-Ut.js} +2 -2
  173. package/web/assets/{diagram-S7CK7UJ4-DW38J6C5.js → diagram-S7CK7UJ4-fxsZGdNG.js} +2 -2
  174. package/web/assets/diagram-UQ7AKVKN-odDausn4.js +41 -0
  175. package/web/assets/{diagram-VSXAHHWV-HGsy_hiK.js → diagram-VSXAHHWV-BFJRqPgO.js} +2 -2
  176. package/web/assets/diagram-VX7I27RA-Bvif7Esn.js +24 -0
  177. package/web/assets/diagram-Z3DM3KII-C44BzfvC.js +24 -0
  178. package/web/assets/ebnfDiagram-PWID7BFC-BhStRwzQ.js +1 -0
  179. package/web/assets/{enterprise-management-service-BMkDzN0o.js → enterprise-management-service-wdIkWPiz.js} +1 -1
  180. package/web/assets/{erDiagram-2YWLMYGG-BCo4UDVw.js → erDiagram-2YWLMYGG-DwhYXTH9.js} +2 -2
  181. package/web/assets/{error-presentation-DSjhXnWF.js → error-presentation-ByGJeIET.js} +1 -1
  182. package/web/assets/{flowDiagram-T62WH6J4-D-u6u1Ux.js → flowDiagram-T62WH6J4-DsORnU2U.js} +1 -1
  183. package/web/assets/ganttDiagram-EL5Y4UJY-p4qazHhU.js +292 -0
  184. package/web/assets/gitGraphDiagram-WWUBYQGX-BSChhjOo.js +106 -0
  185. package/web/assets/{hosted-conversation-template-client-DhTXOvfW.js → hosted-conversation-template-client-B0ZYqmTk.js} +1 -1
  186. package/web/assets/{index-B9tzhpWD.js → index--Nav5BrS.js} +1 -1
  187. package/web/assets/index--PMSIy_a.js +1 -0
  188. package/web/assets/index-B3FT77VF.js +1 -0
  189. package/web/assets/index-BQAV2Gam.js +1 -0
  190. package/web/assets/index-BTmhjJxk.js +1 -0
  191. package/web/assets/index-BYnC3YH0.js +1 -0
  192. package/web/assets/index-BZkG9PDn.js +3 -0
  193. package/web/assets/index-Bfc1bEpp.js +1 -0
  194. package/web/assets/{index-C8xomugm.js → index-Bh-D72qD.js} +1 -1
  195. package/web/assets/index-BlNva1r2.js +1 -0
  196. package/web/assets/index-BmqB9bZD.js +1 -0
  197. package/web/assets/index-C8v-Wha4.js +1 -0
  198. package/web/assets/{index-9sfxE_w1.js → index-CBLMVH5L.js} +2 -2
  199. package/web/assets/index-CRh9-n9Q.js +1 -0
  200. package/web/assets/index-ChVGp7_s.js +13 -0
  201. package/web/assets/index-Cl9wJ-G1.js +7 -0
  202. package/web/assets/index-D6U-kvTO.js +1 -0
  203. package/web/assets/{index-CYFJ0B6M.js → index-DL13dgZ3.js} +17 -17
  204. package/web/assets/index-DPsoRysk.js +1 -0
  205. package/web/assets/{index-Bg3W984R.js → index-Dtx1cuLa.js} +1 -1
  206. package/web/assets/index-DyOjUZTa.js +1 -0
  207. package/web/assets/index-MHhIV6Ba.js +1 -0
  208. package/web/assets/{index-BImqULw-.js → index-WtLb4iMg.js} +1 -1
  209. package/web/assets/index-iXDZt-Ax.js +1 -0
  210. package/web/assets/{index-DyLYTvJ_.js → index-jK-vrzFJ.js} +2 -2
  211. package/web/assets/index-jeRtbwYG.js +1 -0
  212. package/web/assets/{index-CiNWWUYp.js → index-z3zIC2t-.js} +1 -1
  213. package/web/assets/infoDiagram-FKFFQAWI-DYFT5LfB.js +2 -0
  214. package/web/assets/{ishikawaDiagram-5VMMS53U-BPtW8t36.js → ishikawaDiagram-5VMMS53U-DZchJO7q.js} +6 -6
  215. package/web/assets/{journeyDiagram-EYS64GPL-CLQcm7jU.js → journeyDiagram-EYS64GPL-BthbKdPi.js} +2 -2
  216. package/web/assets/{kanban-definition-UXKFOSKX-ByHVysiZ.js → kanban-definition-UXKFOSKX-Oue8-YDe.js} +2 -2
  217. package/web/assets/{layout-7jEjCcst.js → layout-P_fMvMVr.js} +1 -1
  218. package/web/assets/{linear-BKPIMNCl.js → linear-qyUWIARl.js} +1 -1
  219. package/web/assets/{management-url-service-B7U4rtzW.js → management-url-service-Cx42TODZ.js} +1 -1
  220. package/web/assets/{mar-agent-reasoning-effort-BHAr7gO8.js → mar-agent-reasoning-effort-BPIyiFPy.js} +1 -1
  221. package/web/assets/mcp-center-service-vHCyWUNL.js +1 -0
  222. package/web/assets/{mermaid.core-Ct-yf2jz.js → mermaid.core-Dy6ET9-Q.js} +5 -5
  223. package/web/assets/{mindmap-definition-THT77NOG-CBNPG1rn.js → mindmap-definition-THT77NOG-CnEiw27w.js} +2 -2
  224. package/web/assets/{mobile-dialog-return-service-8H0QudXS.js → mobile-dialog-return-service-DlLb35Lg.js} +1 -1
  225. package/web/assets/{oauth-callback-BgdzH3EO.js → oauth-callback-Cer08vFN.js} +1 -1
  226. package/web/assets/pegDiagram-XKGWAZYB-BbxFPtr8.js +1 -0
  227. package/web/assets/{pieDiagram-E7YTZNPT-fThuOmLa.js → pieDiagram-E7YTZNPT-BS07nbyb.js} +2 -2
  228. package/web/assets/{quadrantDiagram-AXDQQJYC-BPKj00AS.js → quadrantDiagram-AXDQQJYC-CV5Fpqy7.js} +2 -2
  229. package/web/assets/railroadDiagram-O6MQD6OU-D38LRNVh.js +1 -0
  230. package/web/assets/{requirementDiagram-IS5BZ75X-CEwZYUmW.js → requirementDiagram-IS5BZ75X-DCS756Il.js} +2 -2
  231. package/web/assets/{runner-presentation-C8w-VY81.js → runner-presentation-lS9K2dXa.js} +1 -1
  232. package/web/assets/{sankeyDiagram-P5KCCOFB-CET0FAHM.js → sankeyDiagram-P5KCCOFB-BXDAj0Mf.js} +2 -2
  233. package/web/assets/scoped-http-service-f5uCQBFZ.js +8 -0
  234. package/web/assets/{sequenceDiagram-WJ2MYXX4-B2ILNZNM.js → sequenceDiagram-WJ2MYXX4-0GTw7BpM.js} +2 -2
  235. package/web/assets/session-share-client-service-snHprEW-.js +1 -0
  236. package/web/assets/sizeCapture-INFHLROL-DTiDoBqa.js +1 -0
  237. package/web/assets/stateDiagram-XQSTLZYL-CNrxPdVp.js +1 -0
  238. package/web/assets/stateDiagram-v2-IH3M54BS--b8Qvmks.js +1 -0
  239. package/web/assets/swimlanes-V6O3JKXN-CDuO7NCq.js +1 -0
  240. package/web/assets/swimlanesDiagram-JKAHXJPX-C6M4eF1j.js +8 -0
  241. package/web/assets/{time-presentation-aDd1Sf-W.js → time-presentation-lflK1mo_.js} +1 -1
  242. package/web/assets/{timeline-definition-24CTP7MA-Cd_sf9rc.js → timeline-definition-24CTP7MA-DT6BzmCs.js} +2 -2
  243. package/web/assets/{vennDiagram-4TSXK5OY-V_YYv6w4.js → vennDiagram-4TSXK5OY-DUwto326.js} +2 -2
  244. package/web/assets/{wardleyDiagram-VM6X3IG4-eUMkS72V.js → wardleyDiagram-VM6X3IG4-CerbjFKK.js} +2 -2
  245. package/web/assets/workbench-live-service-B1nVp-rC.js +1 -0
  246. package/web/assets/workbench-presentation-D8Akt6Xe.js +1 -0
  247. package/web/assets/workspace-direct-transfer-service-BS1D4IzA.js +2 -0
  248. package/web/assets/{xychartDiagram-S5SC5T6Z-xV05mhI9.js → xychartDiagram-S5SC5T6Z-TnQRqM50.js} +2 -2
  249. package/web/docs/404.html +2 -2
  250. package/web/docs/administration/account.html +3 -3
  251. package/web/docs/administration/audit.html +3 -3
  252. package/web/docs/administration/conversation-templates.html +3 -3
  253. package/web/docs/administration/email-notifications.html +3 -3
  254. package/web/docs/administration/license.html +3 -3
  255. package/web/docs/administration/nodes-workspaces.html +3 -3
  256. package/web/docs/administration/oauth.html +3 -3
  257. package/web/docs/administration/secrets.html +3 -3
  258. package/web/docs/administration/template-workspace-maintenance.html +3 -3
  259. package/web/docs/administration/users-organizations.html +3 -3
  260. package/web/docs/assets/{app.CtGVMnXL.js → app.A8TQLz-C.js} +1 -1
  261. package/web/docs/assets/chunks/@localSearchIndexen-US.DIQjXgnG.js +1 -0
  262. package/web/docs/assets/chunks/@localSearchIndexroot.CgMvGlcj.js +1 -0
  263. package/web/docs/assets/chunks/{VPLocalSearchBox.DLsrwuJh.js → VPLocalSearchBox.B1M1meLK.js} +1 -1
  264. package/web/docs/assets/chunks/{theme.JQAATJ0Z.js → theme.CkVExRlN.js} +2 -2
  265. package/web/docs/assets/{en-US_runners_mar-agent.md.D_MTQUV1.js → en-US_runners_mar-agent.md.xWuHvNeY.js} +3 -3
  266. package/web/docs/assets/{en-US_runners_mar-agent.md.D_MTQUV1.lean.js → en-US_runners_mar-agent.md.xWuHvNeY.lean.js} +1 -1
  267. package/web/docs/assets/en-US_workbench_conversation.md.DMMozhK8.js +1 -0
  268. package/web/docs/assets/{en-US_workbench_conversation.md.DT3KAAzA.lean.js → en-US_workbench_conversation.md.DMMozhK8.lean.js} +1 -1
  269. package/web/docs/assets/en-US_workbench_sessions.md.8oarREp4.js +1 -0
  270. package/web/docs/assets/{runners_mar-agent.md.N-bXx1_t.js → runners_mar-agent.md.M6wXxi-P.js} +2 -2
  271. package/web/docs/assets/workbench_conversation.md.TxvHEEtP.js +1 -0
  272. package/web/docs/assets/{workbench_conversation.md.DUb0SYvh.lean.js → workbench_conversation.md.TxvHEEtP.lean.js} +1 -1
  273. package/web/docs/assets/workbench_sessions.md.CjZEXlJ9.js +1 -0
  274. package/web/docs/concepts/architecture.html +3 -3
  275. package/web/docs/concepts/data-and-security.html +3 -3
  276. package/web/docs/concepts/files-git-terminal.html +3 -3
  277. package/web/docs/concepts/node-and-workspace.html +3 -3
  278. package/web/docs/concepts/permissions-and-sharing.html +3 -3
  279. package/web/docs/concepts/runner-control.html +3 -3
  280. package/web/docs/concepts/secrets.html +3 -3
  281. package/web/docs/concepts/session-run-turn.html +3 -3
  282. package/web/docs/deployment/backup-restore.html +3 -3
  283. package/web/docs/deployment/network.html +3 -3
  284. package/web/docs/deployment/node-installation.html +3 -3
  285. package/web/docs/deployment/node-linux.html +3 -3
  286. package/web/docs/deployment/node-macos.html +3 -3
  287. package/web/docs/deployment/node-windows.html +3 -3
  288. package/web/docs/deployment/production.html +3 -3
  289. package/web/docs/deployment/security-checklist.html +3 -3
  290. package/web/docs/deployment/upgrade.html +3 -3
  291. package/web/docs/en-US/administration/account.html +3 -3
  292. package/web/docs/en-US/administration/audit.html +3 -3
  293. package/web/docs/en-US/administration/conversation-templates.html +3 -3
  294. package/web/docs/en-US/administration/email-notifications.html +3 -3
  295. package/web/docs/en-US/administration/license.html +3 -3
  296. package/web/docs/en-US/administration/nodes-workspaces.html +3 -3
  297. package/web/docs/en-US/administration/oauth.html +3 -3
  298. package/web/docs/en-US/administration/secrets.html +3 -3
  299. package/web/docs/en-US/administration/template-workspace-maintenance.html +3 -3
  300. package/web/docs/en-US/administration/users-organizations.html +3 -3
  301. package/web/docs/en-US/concepts/architecture.html +3 -3
  302. package/web/docs/en-US/concepts/data-and-security.html +3 -3
  303. package/web/docs/en-US/concepts/files-git-terminal.html +3 -3
  304. package/web/docs/en-US/concepts/node-and-workspace.html +3 -3
  305. package/web/docs/en-US/concepts/permissions-and-sharing.html +3 -3
  306. package/web/docs/en-US/concepts/runner-control.html +3 -3
  307. package/web/docs/en-US/concepts/secrets.html +3 -3
  308. package/web/docs/en-US/concepts/session-run-turn.html +3 -3
  309. package/web/docs/en-US/deployment/backup-restore.html +3 -3
  310. package/web/docs/en-US/deployment/network.html +3 -3
  311. package/web/docs/en-US/deployment/node-installation.html +3 -3
  312. package/web/docs/en-US/deployment/node-linux.html +3 -3
  313. package/web/docs/en-US/deployment/node-macos.html +3 -3
  314. package/web/docs/en-US/deployment/node-windows.html +3 -3
  315. package/web/docs/en-US/deployment/production.html +3 -3
  316. package/web/docs/en-US/deployment/security-checklist.html +3 -3
  317. package/web/docs/en-US/deployment/upgrade.html +3 -3
  318. package/web/docs/en-US/getting-started/connect-node.html +3 -3
  319. package/web/docs/en-US/getting-started/first-agent-session.html +3 -3
  320. package/web/docs/en-US/getting-started/first-login.html +3 -3
  321. package/web/docs/en-US/getting-started/next-steps.html +3 -3
  322. package/web/docs/en-US/getting-started/npm-quick-start.html +3 -3
  323. package/web/docs/en-US/getting-started/overview.html +3 -3
  324. package/web/docs/en-US/getting-started/prerequisites.html +3 -3
  325. package/web/docs/en-US/getting-started/register-workspace.html +3 -3
  326. package/web/docs/en-US/getting-started/server-installation.html +3 -3
  327. package/web/docs/en-US/operations/marctl.html +3 -3
  328. package/web/docs/en-US/reference/configuration.html +3 -3
  329. package/web/docs/en-US/reference/keyboard-shortcuts.html +3 -3
  330. package/web/docs/en-US/reference/limits.html +3 -3
  331. package/web/docs/en-US/reference/ports-paths-data.html +3 -3
  332. package/web/docs/en-US/reference/status-and-errors.html +3 -3
  333. package/web/docs/en-US/runners/claude-code.html +3 -3
  334. package/web/docs/en-US/runners/codex.html +3 -3
  335. package/web/docs/en-US/runners/mar-agent.html +6 -6
  336. package/web/docs/en-US/runners/opencode.html +3 -3
  337. package/web/docs/en-US/runners/overview.html +3 -3
  338. package/web/docs/en-US/runners/runner-troubleshooting.html +3 -3
  339. package/web/docs/en-US/troubleshooting/node-offline.html +3 -3
  340. package/web/docs/en-US/troubleshooting/quick-diagnosis.html +3 -3
  341. package/web/docs/en-US/troubleshooting/session-run.html +3 -3
  342. package/web/docs/en-US/troubleshooting/terminal.html +3 -3
  343. package/web/docs/en-US/troubleshooting/workspace-files.html +3 -3
  344. package/web/docs/en-US/workbench/browser.html +3 -3
  345. package/web/docs/en-US/workbench/composer.html +3 -3
  346. package/web/docs/en-US/workbench/context-and-plan.html +3 -3
  347. package/web/docs/en-US/workbench/conversation.html +5 -5
  348. package/web/docs/en-US/workbench/file-reference-and-attachment.html +3 -3
  349. package/web/docs/en-US/workbench/files.html +3 -3
  350. package/web/docs/en-US/workbench/git-changes.html +3 -3
  351. package/web/docs/en-US/workbench/git-history.html +3 -3
  352. package/web/docs/en-US/workbench/hosted-conversations.html +3 -3
  353. package/web/docs/en-US/workbench/mobile.html +3 -3
  354. package/web/docs/en-US/workbench/navigation.html +3 -3
  355. package/web/docs/en-US/workbench/remote-desktop.html +3 -3
  356. package/web/docs/en-US/workbench/sessions.html +5 -5
  357. package/web/docs/en-US/workbench/skills.html +3 -3
  358. package/web/docs/en-US/workbench/terminal.html +3 -3
  359. package/web/docs/getting-started/connect-node.html +3 -3
  360. package/web/docs/getting-started/first-agent-session.html +3 -3
  361. package/web/docs/getting-started/first-login.html +3 -3
  362. package/web/docs/getting-started/next-steps.html +3 -3
  363. package/web/docs/getting-started/npm-quick-start.html +3 -3
  364. package/web/docs/getting-started/overview.html +3 -3
  365. package/web/docs/getting-started/prerequisites.html +3 -3
  366. package/web/docs/getting-started/register-workspace.html +3 -3
  367. package/web/docs/getting-started/server-installation.html +3 -3
  368. package/web/docs/hashmap.json +1 -1
  369. package/web/docs/operations/marctl.html +3 -3
  370. package/web/docs/reference/configuration.html +3 -3
  371. package/web/docs/reference/keyboard-shortcuts.html +3 -3
  372. package/web/docs/reference/limits.html +3 -3
  373. package/web/docs/reference/ports-paths-data.html +3 -3
  374. package/web/docs/reference/status-and-errors.html +3 -3
  375. package/web/docs/runners/claude-code.html +3 -3
  376. package/web/docs/runners/codex.html +3 -3
  377. package/web/docs/runners/mar-agent.html +6 -6
  378. package/web/docs/runners/opencode.html +3 -3
  379. package/web/docs/runners/overview.html +3 -3
  380. package/web/docs/runners/runner-troubleshooting.html +3 -3
  381. package/web/docs/troubleshooting/node-offline.html +3 -3
  382. package/web/docs/troubleshooting/quick-diagnosis.html +3 -3
  383. package/web/docs/troubleshooting/session-run.html +3 -3
  384. package/web/docs/troubleshooting/terminal.html +3 -3
  385. package/web/docs/troubleshooting/workspace-files.html +3 -3
  386. package/web/docs/workbench/browser.html +3 -3
  387. package/web/docs/workbench/composer.html +3 -3
  388. package/web/docs/workbench/context-and-plan.html +3 -3
  389. package/web/docs/workbench/conversation.html +5 -5
  390. package/web/docs/workbench/file-reference-and-attachment.html +3 -3
  391. package/web/docs/workbench/files.html +3 -3
  392. package/web/docs/workbench/git-changes.html +3 -3
  393. package/web/docs/workbench/git-history.html +3 -3
  394. package/web/docs/workbench/hosted-conversations.html +3 -3
  395. package/web/docs/workbench/mobile.html +3 -3
  396. package/web/docs/workbench/navigation.html +3 -3
  397. package/web/docs/workbench/remote-desktop.html +3 -3
  398. package/web/docs/workbench/sessions.html +5 -5
  399. package/web/docs/workbench/skills.html +3 -3
  400. package/web/docs/workbench/terminal.html +3 -3
  401. package/web/index.html +2 -2
  402. package/web/service-worker.js +1 -1
  403. package/web/web-version.json +1 -1
  404. package/node_modules/@myagentroam/server-core/dist/browser-relay-pair.d.ts +0 -19
  405. package/node_modules/@myagentroam/server-core/dist/browser-relay-pair.js +0 -70
  406. package/node_modules/@myagentroam/server-core/dist/browser-relay-service.d.ts +0 -15
  407. package/node_modules/@myagentroam/server-core/dist/browser-relay-service.js +0 -75
  408. package/node_modules/@myagentroam/server-core/dist/terminal-multiplex.d.ts +0 -30
  409. package/node_modules/@myagentroam/server-core/dist/terminal-multiplex.js +0 -106
  410. package/web/assets/AuditManagementPage-DyXbCJO0.js +0 -1
  411. package/web/assets/AuthEntryPanel-CnhXeIwH.js +0 -48
  412. package/web/assets/ConversationTemplateManagementPage-C_gRb-94.js +0 -1
  413. package/web/assets/ConversationTemplateManagementPage-bo4pKaHZ.js +0 -1
  414. package/web/assets/EnterpriseUserManagementPage-CIYJoqps.js +0 -1
  415. package/web/assets/EnvironmentSecretManager-BLohbSye.js +0 -1
  416. package/web/assets/LicenseManagementPage-CKx5VRUE.js +0 -1
  417. package/web/assets/MarAgentModelManagementPage-BN9LwTcb.js +0 -1
  418. package/web/assets/MarAgentModelManagementPage-CFzBAnqd.js +0 -1
  419. package/web/assets/MarAlert-D8nonXJU.js +0 -1
  420. package/web/assets/MarCascader-DvIUhYAX.js +0 -1
  421. package/web/assets/MarCheckTag-DTCVJY3_.js +0 -1
  422. package/web/assets/MarCheckboxGroup.vue_vue_type_style_index_0_scoped_3769668f_lang-Cdb6YhdI.js +0 -1
  423. package/web/assets/MarDatePicker-CxjagCPO.js +0 -1
  424. package/web/assets/MarDescriptionsItem-Bf1egRIu.js +0 -1
  425. package/web/assets/MarInputNumber-CLHV7k0c.js +0 -1
  426. package/web/assets/MarOptionGroup.vue_vue_type_style_index_0_scoped_0cdd846e_lang-PdkIQ45N.js +0 -1
  427. package/web/assets/MarSwitch-DAm51evi.js +0 -1
  428. package/web/assets/MarTableColumn.vue_vue_type_script_setup_true_lang-BMfoa0sk.js +0 -1
  429. package/web/assets/MarTabs-Cjikh7WP.js +0 -1
  430. package/web/assets/MarkdownFilePreview-79yks1yT.js +0 -2
  431. package/web/assets/McpDetailsDialog-D-DLMY8U.js +0 -1
  432. package/web/assets/McpSourceManagementPage-BpuWypAi.js +0 -1
  433. package/web/assets/NodeDetailsDialogs-DwOZBtXD.js +0 -1
  434. package/web/assets/NodeManagementPage-BxnfNZcP.js +0 -1
  435. package/web/assets/NodeManagementPage-D2HVYjQv.js +0 -1
  436. package/web/assets/RemoteDesktopPage-DUaiJnbG.js +0 -1
  437. package/web/assets/ResourceManagementPanel-Ck6KUhS6.js +0 -2
  438. package/web/assets/ResourceManagementPanel.vue_vue_type_script_setup_true_lang-DSDDJ3Uk.js +0 -1
  439. package/web/assets/SecretManagementPage-B7RAiBrK.js +0 -1
  440. package/web/assets/SecretManagementPage-C3wyf725.js +0 -1
  441. package/web/assets/SecretManagementPage.vue_vue_type_script_setup_true_lang-CfSdHQ4E.js +0 -1
  442. package/web/assets/SessionSharePage-BX-nfMIN.css +0 -1
  443. package/web/assets/SessionSharePage-BfzRKWhm.js +0 -2
  444. package/web/assets/SettingsContent-D2NFnqqe.js +0 -1
  445. package/web/assets/SettingsContent-DesFINYe.js +0 -1
  446. package/web/assets/SkillCenterPage-CeW7UuQ6.js +0 -1
  447. package/web/assets/SkillCenterPage-wjUhkqcj.js +0 -1
  448. package/web/assets/SkillDetailsDialog-7DKa2ZnW.js +0 -1
  449. package/web/assets/SkillSourceManagementPage-BZchOevD.js +0 -1
  450. package/web/assets/StandaloneFilePreviewPage-BOb2NuM3.js +0 -1
  451. package/web/assets/SystemConfigurationPage-DTuEnywa.js +0 -1
  452. package/web/assets/SystemInformationPage-FHrrFOVp.js +0 -1
  453. package/web/assets/TerminalTabView-CUeuqDXK.js +0 -23
  454. package/web/assets/WorkbenchPage-B3IPG39P.js +0 -22
  455. package/web/assets/WorkspaceManagementPage-C2AnquRO.js +0 -1
  456. package/web/assets/WorkspaceManagementPage-CY6lUZy_.js +0 -1
  457. package/web/assets/abnfDiagram-VCTEODGH-P4zjaFVG.js +0 -1
  458. package/web/assets/architectureDiagram-5GKGNRK7-BnG88gsw.js +0 -36
  459. package/web/assets/channel-CWb6DdnJ.js +0 -1
  460. package/web/assets/classDiagram-CYGNFDIV-DUs1VMsY.js +0 -1
  461. package/web/assets/classDiagram-v2-TLXNO2FR-DUs1VMsY.js +0 -1
  462. package/web/assets/cose-bilkent-JH36ORCC-DbV1M0D6.js +0 -1
  463. package/web/assets/cynefinDiagram-5FMLGOSQ-UfIuJmsK.js +0 -62
  464. package/web/assets/diagram-UQ7AKVKN-CPirF6ZK.js +0 -41
  465. package/web/assets/diagram-VX7I27RA-DE9ph2-C.js +0 -24
  466. package/web/assets/diagram-Z3DM3KII-B7QCaESW.js +0 -24
  467. package/web/assets/ebnfDiagram-PWID7BFC-cXnurzLV.js +0 -1
  468. package/web/assets/ganttDiagram-EL5Y4UJY-Bg8bfibk.js +0 -292
  469. package/web/assets/gitGraphDiagram-WWUBYQGX-BASWBIPb.js +0 -106
  470. package/web/assets/index-B2OJ0zbF.js +0 -1
  471. package/web/assets/index-B2q4VLK-.js +0 -7
  472. package/web/assets/index-B6LwCj7k.js +0 -1
  473. package/web/assets/index-BEPX7A1Z.js +0 -3
  474. package/web/assets/index-BGPj5_em.js +0 -1
  475. package/web/assets/index-BK-P_D32.js +0 -1
  476. package/web/assets/index-BWAhXTa1.js +0 -1
  477. package/web/assets/index-Ba4yQKgC.js +0 -1
  478. package/web/assets/index-BgoK274z.js +0 -1
  479. package/web/assets/index-C5XKFzfg.js +0 -13
  480. package/web/assets/index-CQQ8nImj.js +0 -1
  481. package/web/assets/index-CUdFR_LS.js +0 -1
  482. package/web/assets/index-Cabs9Jbc.js +0 -1
  483. package/web/assets/index-Cvc5t5wN.js +0 -1
  484. package/web/assets/index-DCxSq4SG.js +0 -1
  485. package/web/assets/index-DQNQfI7v.js +0 -1
  486. package/web/assets/index-DWPuFYww.js +0 -1
  487. package/web/assets/index-DpHSLPnk.js +0 -1
  488. package/web/assets/index-YWxcl4aQ.js +0 -1
  489. package/web/assets/infoDiagram-FKFFQAWI-bmh-h8tH.js +0 -2
  490. package/web/assets/mcp-center-service-D7TQgFfB.js +0 -1
  491. package/web/assets/pegDiagram-XKGWAZYB-Dy09XWS4.js +0 -1
  492. package/web/assets/railroadDiagram-O6MQD6OU-BaExkX80.js +0 -1
  493. package/web/assets/scoped-http-service-DMQqBd8a.js +0 -8
  494. package/web/assets/session-share-client-service-CkXfF1s6.js +0 -1
  495. package/web/assets/sizeCapture-INFHLROL-FljghWkt.js +0 -1
  496. package/web/assets/stateDiagram-XQSTLZYL-Dt-zEFD6.js +0 -1
  497. package/web/assets/stateDiagram-v2-IH3M54BS-Dl4tHWGV.js +0 -1
  498. package/web/assets/swimlanes-V6O3JKXN-o8bRNP5Y.js +0 -1
  499. package/web/assets/swimlanesDiagram-JKAHXJPX-JjGvFdcr.js +0 -8
  500. package/web/assets/workbench-live-service-DP1sBGtA.js +0 -1
  501. package/web/assets/workbench-presentation-BN6qUa4J.js +0 -1
  502. package/web/assets/workspace-direct-transfer-service-BnGIUGfJ.js +0 -2
  503. package/web/docs/assets/chunks/@localSearchIndexen-US.Ca3WIokz.js +0 -1
  504. package/web/docs/assets/chunks/@localSearchIndexroot.Bh9-6TxD.js +0 -1
  505. package/web/docs/assets/en-US_workbench_conversation.md.DT3KAAzA.js +0 -1
  506. package/web/docs/assets/en-US_workbench_sessions.md.BBixLc38.js +0 -1
  507. package/web/docs/assets/workbench_conversation.md.DUb0SYvh.js +0 -1
  508. package/web/docs/assets/workbench_sessions.md.CucNalue.js +0 -1
  509. /package/web/docs/assets/{en-US_workbench_sessions.md.BBixLc38.lean.js → en-US_workbench_sessions.md.8oarREp4.lean.js} +0 -0
  510. /package/web/docs/assets/{runners_mar-agent.md.N-bXx1_t.lean.js → runners_mar-agent.md.M6wXxi-P.lean.js} +0 -0
  511. /package/web/docs/assets/{workbench_sessions.md.CucNalue.lean.js → workbench_sessions.md.CjZEXlJ9.lean.js} +0 -0
@@ -1,4 +1,4 @@
1
- import{l as Ht}from"./FilePreviewLoading-OzdyIhrT.js";import{b2 as Fe,b3 as oe,b4 as k,b5 as Ye,b6 as ae,b7 as $t,b8 as Jn,b9 as qs,ba as Yn,bb as Gs,bc as zn,bd as pe,be as js,bf as Os,bg as Qn,bh as Zn,bi as ei,bj as ti,bk as si,bl as ht,bm as ni,bn as ii,bo as ri}from"./index-CYFJ0B6M.js";var Pt={},Dt={exports:{}},kt={};const be=Symbol(""),Ce=Symbol(""),pt=Symbol(""),Xe=Symbol(""),qt=Symbol(""),Ee=Symbol(""),Gt=Symbol(""),jt=Symbol(""),dt=Symbol(""),Et=Symbol(""),De=Symbol(""),mt=Symbol(""),Kt=Symbol(""),_t=Symbol(""),St=Symbol(""),gt=Symbol(""),Tt=Symbol(""),Nt=Symbol(""),It=Symbol(""),Wt=Symbol(""),Jt=Symbol(""),qe=Symbol(""),xe=Symbol(""),yt=Symbol(""),Ot=Symbol(""),ve=Symbol(""),ke=Symbol(""),At=Symbol(""),rt=Symbol(""),Ks=Symbol(""),ot=Symbol(""),Ue=Symbol(""),Ws=Symbol(""),Js=Symbol(""),Ct=Symbol(""),Ys=Symbol(""),zs=Symbol(""),bt=Symbol(""),Yt=Symbol(""),Ne={[be]:"Fragment",[Ce]:"Teleport",[pt]:"Suspense",[Xe]:"KeepAlive",[qt]:"BaseTransition",[Ee]:"openBlock",[Gt]:"createBlock",[jt]:"createElementBlock",[dt]:"createVNode",[Et]:"createElementVNode",[De]:"createCommentVNode",[mt]:"createTextVNode",[Kt]:"createStaticVNode",[_t]:"resolveComponent",[St]:"resolveDynamicComponent",[gt]:"resolveDirective",[Tt]:"resolveFilter",[Nt]:"withDirectives",[It]:"renderList",[Wt]:"renderSlot",[Jt]:"createSlots",[qe]:"toDisplayString",[xe]:"mergeProps",[yt]:"normalizeClass",[Ot]:"normalizeStyle",[ve]:"normalizeProps",[ke]:"guardReactiveProps",[At]:"toHandlers",[rt]:"camelize",[Ks]:"capitalize",[ot]:"toHandlerKey",[Ue]:"setBlockTracking",[Ws]:"pushScopeId",[Js]:"popScopeId",[Ct]:"withCtx",[Ys]:"unref",[zs]:"isRef",[bt]:"withMemo",[Yt]:"isMemoSame"};function Qs(e){Object.getOwnPropertySymbols(e).forEach(t=>{Ne[t]=e[t]})}const oi={HTML:0,0:"HTML",SVG:1,1:"SVG",MATH_ML:2,2:"MATH_ML"},ai={ROOT:0,0:"ROOT",ELEMENT:1,1:"ELEMENT",TEXT:2,2:"TEXT",COMMENT:3,3:"COMMENT",SIMPLE_EXPRESSION:4,4:"SIMPLE_EXPRESSION",INTERPOLATION:5,5:"INTERPOLATION",ATTRIBUTE:6,6:"ATTRIBUTE",DIRECTIVE:7,7:"DIRECTIVE",COMPOUND_EXPRESSION:8,8:"COMPOUND_EXPRESSION",IF:9,9:"IF",IF_BRANCH:10,10:"IF_BRANCH",FOR:11,11:"FOR",TEXT_CALL:12,12:"TEXT_CALL",VNODE_CALL:13,13:"VNODE_CALL",JS_CALL_EXPRESSION:14,14:"JS_CALL_EXPRESSION",JS_OBJECT_EXPRESSION:15,15:"JS_OBJECT_EXPRESSION",JS_PROPERTY:16,16:"JS_PROPERTY",JS_ARRAY_EXPRESSION:17,17:"JS_ARRAY_EXPRESSION",JS_FUNCTION_EXPRESSION:18,18:"JS_FUNCTION_EXPRESSION",JS_CONDITIONAL_EXPRESSION:19,19:"JS_CONDITIONAL_EXPRESSION",JS_CACHE_EXPRESSION:20,20:"JS_CACHE_EXPRESSION",JS_BLOCK_STATEMENT:21,21:"JS_BLOCK_STATEMENT",JS_TEMPLATE_LITERAL:22,22:"JS_TEMPLATE_LITERAL",JS_IF_STATEMENT:23,23:"JS_IF_STATEMENT",JS_ASSIGNMENT_EXPRESSION:24,24:"JS_ASSIGNMENT_EXPRESSION",JS_SEQUENCE_EXPRESSION:25,25:"JS_SEQUENCE_EXPRESSION",JS_RETURN_STATEMENT:26,26:"JS_RETURN_STATEMENT"},li={ELEMENT:0,0:"ELEMENT",COMPONENT:1,1:"COMPONENT",SLOT:2,2:"SLOT",TEMPLATE:3,3:"TEMPLATE"},ci={NOT_CONSTANT:0,0:"NOT_CONSTANT",CAN_SKIP_PATCH:1,1:"CAN_SKIP_PATCH",CAN_CACHE:2,2:"CAN_CACHE",CAN_STRINGIFY:3,3:"CAN_STRINGIFY"},F={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:""};function Zs(e,t=""){return{type:0,source:t,children:e,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:[],temps:0,codegenNode:void 0,loc:F}}function Re(e,t,s,n,i,o,r,l=!1,a=!1,c=!1,u=F){return e&&(l?(e.helper(Ee),e.helper(Oe(e.inSSR,c))):e.helper(ye(e.inSSR,c)),r&&e.helper(Nt)),{type:13,tag:t,props:s,children:n,patchFlag:i,dynamicProps:o,directives:r,isBlock:l,disableTracking:a,isComponent:c,loc:u}}function de(e,t=F){return{type:17,loc:t,elements:e}}function Q(e,t=F){return{type:15,loc:t,properties:e}}function D(e,t){return{type:16,loc:F,key:k(e)?E(e,!0):e,value:t}}function E(e,t=!1,s=F,n=0){return{type:4,loc:s,content:e,isStatic:t,constType:t?3:n}}function fi(e,t){return{type:5,loc:t,content:k(e)?E(e,!1,t):e}}function Z(e,t=F){return{type:8,loc:t,children:e}}function w(e,t=[],s=F){return{type:14,loc:s,callee:e,arguments:t}}function Ie(e,t=void 0,s=!1,n=!1,i=F){return{type:18,params:e,returns:t,newline:s,isSlot:n,loc:i}}function at(e,t,s,n=!0){return{type:19,test:e,consequent:t,alternate:s,newline:n,loc:F}}function en(e,t,s=!1,n=!1){return{type:20,index:e,value:t,needPauseTracking:s,inVOnce:n,needArraySpread:!1,loc:F}}function tn(e){return{type:21,body:e,loc:F}}function ui(e){return{type:22,elements:e,loc:F}}function hi(e,t,s){return{type:23,test:e,consequent:t,alternate:s,loc:F}}function pi(e,t){return{type:24,left:e,right:t,loc:F}}function di(e){return{type:25,expressions:e,loc:F}}function Ei(e){return{type:26,returns:e,loc:F}}function ye(e,t){return e||t?dt:Et}function Oe(e,t){return e||t?Gt:jt}function vt(e,{helper:t,removeHelper:s,inSSR:n}){e.isBlock||(e.isBlock=!0,s(ye(n,e.isComponent)),t(Ee),t(Oe(n,e.isComponent)))}const As=new Uint8Array([123,123]),Cs=new Uint8Array([125,125]);function bs(e){return e>=97&&e<=122||e>=65&&e<=90}function z(e){return e===32||e===10||e===9||e===12||e===13}function ue(e){return e===47||e===62||z(e)}function lt(e){const t=new Uint8Array(e.length);for(let s=0;s<e.length;s++)t[s]=e.charCodeAt(s);return t}const B={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101]),TextareaEnd:new Uint8Array([60,47,116,101,120,116,97,114,101,97])};class mi{constructor(t,s){this.stack=t,this.cbs=s,this.state=1,this.buffer="",this.sectionStart=0,this.index=0,this.entityStart=0,this.baseState=1,this.inRCDATA=!1,this.inXML=!1,this.inVPre=!1,this.newlines=[],this.mode=0,this.delimiterOpen=As,this.delimiterClose=Cs,this.delimiterIndex=-1,this.currentSequence=void 0,this.sequenceIndex=0}get inSFCRoot(){return this.mode===2&&this.stack.length===0}reset(){this.state=1,this.mode=0,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=1,this.inRCDATA=!1,this.currentSequence=void 0,this.newlines.length=0,this.delimiterOpen=As,this.delimiterClose=Cs}getPos(t){let s=1,n=t+1;const i=this.newlines.length;let o=-1;if(i>100){let r=-1,l=i;for(;r+1<l;){const a=r+l>>>1;this.newlines[a]<t?r=a:l=a}o=r}else for(let r=i-1;r>=0;r--)if(t>this.newlines[r]){o=r;break}return o>=0&&(s=o+2,n=t-this.newlines[o]),{column:n,line:s,offset:t}}peek(){return this.buffer.charCodeAt(this.index+1)}stateText(t){t===60?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=5,this.sectionStart=this.index):!this.inVPre&&t===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(t))}stateInterpolationOpen(t){if(t===this.delimiterOpen[this.delimiterIndex])if(this.delimiterIndex===this.delimiterOpen.length-1){const s=this.index+1-this.delimiterOpen.length;s>this.sectionStart&&this.cbs.ontext(this.sectionStart,s),this.state=3,this.sectionStart=s}else this.delimiterIndex++;else this.inRCDATA?(this.state=32,this.stateInRCDATA(t)):(this.state=1,this.stateText(t))}stateInterpolation(t){t===this.delimiterClose[0]&&(this.state=4,this.delimiterIndex=0,this.stateInterpolationClose(t))}stateInterpolationClose(t){t===this.delimiterClose[this.delimiterIndex]?this.delimiterIndex===this.delimiterClose.length-1?(this.cbs.oninterpolation(this.sectionStart,this.index+1),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):this.delimiterIndex++:(this.state=3,this.stateInterpolation(t))}stateSpecialStartSequence(t){const s=this.sequenceIndex===this.currentSequence.length;if(!(s?ue(t):(t|32)===this.currentSequence[this.sequenceIndex]))this.inRCDATA=!1;else if(!s){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=6,this.stateInTagName(t)}stateInRCDATA(t){if(this.sequenceIndex===this.currentSequence.length){if(t===62||z(t)){const s=this.index-this.currentSequence.length;if(this.sectionStart<s){const n=this.index;this.index=s,this.cbs.ontext(this.sectionStart,s),this.index=n}this.sectionStart=s+2,this.stateInClosingTagName(t),this.inRCDATA=!1;return}this.sequenceIndex=0}(t|32)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:this.sequenceIndex===0?this.currentSequence===B.TitleEnd||this.currentSequence===B.TextareaEnd&&!this.inSFCRoot?!this.inVPre&&t===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(t)):this.fastForwardTo(60)&&(this.sequenceIndex=1):this.sequenceIndex=+(t===60)}stateCDATASequence(t){t===B.Cdata[this.sequenceIndex]?++this.sequenceIndex===B.Cdata.length&&(this.state=28,this.currentSequence=B.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=23,this.stateInDeclaration(t))}fastForwardTo(t){for(;++this.index<this.buffer.length;){const s=this.buffer.charCodeAt(this.index);if(s===10&&this.newlines.push(this.index),s===t)return!0}return this.index=this.buffer.length-1,!1}stateInCommentLike(t){t===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===B.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index-2):this.cbs.oncomment(this.sectionStart,this.index-2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=1):this.sequenceIndex===0?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):t!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)}startSpecial(t,s){this.enterRCDATA(t,s),this.state=31}enterRCDATA(t,s){this.inRCDATA=!0,this.currentSequence=t,this.sequenceIndex=s}stateBeforeTagName(t){t===33?(this.state=22,this.sectionStart=this.index+1):t===63?(this.state=24,this.sectionStart=this.index+1):bs(t)?(this.sectionStart=this.index,this.mode===0?this.state=6:this.inSFCRoot?this.state=34:this.inXML?this.state=6:t===116?this.state=30:this.state=t===115?29:6):t===47?this.state=8:(this.state=1,this.stateText(t))}stateInTagName(t){ue(t)&&this.handleTagName(t)}stateInSFCRootTagName(t){if(ue(t)){const s=this.buffer.slice(this.sectionStart,this.index);s!=="template"&&this.enterRCDATA(lt("</"+s),0),this.handleTagName(t)}}handleTagName(t){this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(t)}stateBeforeClosingTagName(t){z(t)||(t===62?(this.state=1,this.sectionStart=this.index+1):(this.state=bs(t)?9:27,this.sectionStart=this.index))}stateInClosingTagName(t){(t===62||z(t))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=10,this.stateAfterClosingTagName(t))}stateAfterClosingTagName(t){t===62&&(this.state=1,this.sectionStart=this.index+1)}stateBeforeAttrName(t){t===62?(this.cbs.onopentagend(this.index),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):t===47?this.state=7:t===60&&this.peek()===47?(this.cbs.onopentagend(this.index),this.state=5,this.sectionStart=this.index):z(t)||this.handleAttrStart(t)}handleAttrStart(t){t===118&&this.peek()===45?(this.state=13,this.sectionStart=this.index):t===46||t===58||t===64||t===35?(this.cbs.ondirname(this.index,this.index+1),this.state=14,this.sectionStart=this.index+1):(this.state=12,this.sectionStart=this.index)}stateInSelfClosingTag(t){t===62?(this.cbs.onselfclosingtag(this.index),this.state=1,this.sectionStart=this.index+1,this.inRCDATA=!1):z(t)||(this.state=11,this.stateBeforeAttrName(t))}stateInAttrName(t){(t===61||ue(t))&&(this.cbs.onattribname(this.sectionStart,this.index),this.handleAttrNameEnd(t))}stateInDirName(t){t===61||ue(t)?(this.cbs.ondirname(this.sectionStart,this.index),this.handleAttrNameEnd(t)):t===58?(this.cbs.ondirname(this.sectionStart,this.index),this.state=14,this.sectionStart=this.index+1):t===46&&(this.cbs.ondirname(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDirArg(t){t===61||ue(t)?(this.cbs.ondirarg(this.sectionStart,this.index),this.handleAttrNameEnd(t)):t===91?this.state=15:t===46&&(this.cbs.ondirarg(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDynamicDirArg(t){t===93?this.state=14:(t===61||ue(t))&&(this.cbs.ondirarg(this.sectionStart,this.index+1),this.handleAttrNameEnd(t))}stateInDirModifier(t){t===61||ue(t)?(this.cbs.ondirmodifier(this.sectionStart,this.index),this.handleAttrNameEnd(t)):t===46&&(this.cbs.ondirmodifier(this.sectionStart,this.index),this.sectionStart=this.index+1)}handleAttrNameEnd(t){this.sectionStart=this.index,this.state=17,this.cbs.onattribnameend(this.index),this.stateAfterAttrName(t)}stateAfterAttrName(t){t===61?this.state=18:t===47||t===62?(this.cbs.onattribend(0,this.sectionStart),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(t)):z(t)||(this.cbs.onattribend(0,this.sectionStart),this.handleAttrStart(t))}stateBeforeAttrValue(t){t===34?(this.state=19,this.sectionStart=this.index+1):t===39?(this.state=20,this.sectionStart=this.index+1):z(t)||(this.sectionStart=this.index,this.state=21,this.stateInAttrValueNoQuotes(t))}handleInAttrValue(t,s){(t===s||this.fastForwardTo(s))&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(s===34?3:2,this.index+1),this.state=11)}stateInAttrValueDoubleQuotes(t){this.handleInAttrValue(t,34)}stateInAttrValueSingleQuotes(t){this.handleInAttrValue(t,39)}stateInAttrValueNoQuotes(t){z(t)||t===62?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(1,this.index),this.state=11,this.stateBeforeAttrName(t)):(t===39||t===60||t===61||t===96)&&this.cbs.onerr(18,this.index)}stateBeforeDeclaration(t){t===91?(this.state=26,this.sequenceIndex=0):this.state=t===45?25:23}stateInDeclaration(t){(t===62||this.fastForwardTo(62))&&(this.state=1,this.sectionStart=this.index+1)}stateInProcessingInstruction(t){(t===62||this.fastForwardTo(62))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeComment(t){t===45?(this.state=28,this.currentSequence=B.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=23}stateInSpecialComment(t){(t===62||this.fastForwardTo(62))&&(this.cbs.oncomment(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeSpecialS(t){t===B.ScriptEnd[3]?this.startSpecial(B.ScriptEnd,4):t===B.StyleEnd[3]?this.startSpecial(B.StyleEnd,4):(this.state=6,this.stateInTagName(t))}stateBeforeSpecialT(t){t===B.TitleEnd[3]?this.startSpecial(B.TitleEnd,4):t===B.TextareaEnd[3]?this.startSpecial(B.TextareaEnd,4):(this.state=6,this.stateInTagName(t))}startEntity(){}stateInEntity(){}parse(t){for(this.buffer=t;this.index<this.buffer.length;){const s=this.buffer.charCodeAt(this.index);switch(s===10&&this.state!==33&&this.newlines.push(this.index),this.state){case 1:{this.stateText(s);break}case 2:{this.stateInterpolationOpen(s);break}case 3:{this.stateInterpolation(s);break}case 4:{this.stateInterpolationClose(s);break}case 31:{this.stateSpecialStartSequence(s);break}case 32:{this.stateInRCDATA(s);break}case 26:{this.stateCDATASequence(s);break}case 19:{this.stateInAttrValueDoubleQuotes(s);break}case 12:{this.stateInAttrName(s);break}case 13:{this.stateInDirName(s);break}case 14:{this.stateInDirArg(s);break}case 15:{this.stateInDynamicDirArg(s);break}case 16:{this.stateInDirModifier(s);break}case 28:{this.stateInCommentLike(s);break}case 27:{this.stateInSpecialComment(s);break}case 11:{this.stateBeforeAttrName(s);break}case 6:{this.stateInTagName(s);break}case 34:{this.stateInSFCRootTagName(s);break}case 9:{this.stateInClosingTagName(s);break}case 5:{this.stateBeforeTagName(s);break}case 17:{this.stateAfterAttrName(s);break}case 20:{this.stateInAttrValueSingleQuotes(s);break}case 18:{this.stateBeforeAttrValue(s);break}case 8:{this.stateBeforeClosingTagName(s);break}case 10:{this.stateAfterClosingTagName(s);break}case 29:{this.stateBeforeSpecialS(s);break}case 30:{this.stateBeforeSpecialT(s);break}case 21:{this.stateInAttrValueNoQuotes(s);break}case 7:{this.stateInSelfClosingTag(s);break}case 23:{this.stateInDeclaration(s);break}case 22:{this.stateBeforeDeclaration(s);break}case 25:{this.stateBeforeComment(s);break}case 24:{this.stateInProcessingInstruction(s);break}case 33:{this.stateInEntity();break}}this.index++}this.cleanup(),this.finish()}cleanup(){this.sectionStart!==this.index&&(this.state===1||this.state===32&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===19||this.state===20||this.state===21)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}finish(){this.handleTrailingData(),this.cbs.onend()}handleTrailingData(){const t=this.buffer.length;this.sectionStart>=t||(this.state===28?this.currentSequence===B.CdataEnd?this.cbs.oncdata(this.sectionStart,t):this.cbs.oncomment(this.sectionStart,t):this.state===6||this.state===11||this.state===18||this.state===17||this.state===12||this.state===13||this.state===14||this.state===15||this.state===16||this.state===20||this.state===19||this.state===21||this.state===9||this.cbs.ontext(this.sectionStart,t))}emitCodePoint(t,s){}}const _i={COMPILER_IS_ON_ELEMENT:"COMPILER_IS_ON_ELEMENT",COMPILER_V_BIND_SYNC:"COMPILER_V_BIND_SYNC",COMPILER_V_BIND_OBJECT_ORDER:"COMPILER_V_BIND_OBJECT_ORDER",COMPILER_V_ON_NATIVE:"COMPILER_V_ON_NATIVE",COMPILER_V_IF_V_FOR_PRECEDENCE:"COMPILER_V_IF_V_FOR_PRECEDENCE",COMPILER_NATIVE_TEMPLATE:"COMPILER_NATIVE_TEMPLATE",COMPILER_INLINE_TEMPLATE:"COMPILER_INLINE_TEMPLATE",COMPILER_FILTERS:"COMPILER_FILTERS"},Si={COMPILER_IS_ON_ELEMENT:{message:'Platform-native elements with "is" prop will no longer be treated as components in Vue 3 unless the "is" value is explicitly prefixed with "vue:".',link:"https://v3-migration.vuejs.org/breaking-changes/custom-elements-interop.html"},COMPILER_V_BIND_SYNC:{message:e=>`.sync modifier for v-bind has been removed. Use v-model with argument instead. \`v-bind:${e}.sync\` should be changed to \`v-model:${e}\`.`,link:"https://v3-migration.vuejs.org/breaking-changes/v-model.html"},COMPILER_V_BIND_OBJECT_ORDER:{message:'v-bind="obj" usage is now order sensitive and behaves like JavaScript object spread: it will now overwrite an existing non-mergeable attribute that appears before v-bind in the case of conflict. To retain 2.x behavior, move v-bind to make it the first attribute. You can also suppress this warning if the usage is intended.',link:"https://v3-migration.vuejs.org/breaking-changes/v-bind.html"},COMPILER_V_ON_NATIVE:{message:".native modifier for v-on has been removed as is no longer necessary.",link:"https://v3-migration.vuejs.org/breaking-changes/v-on-native-modifier-removed.html"},COMPILER_V_IF_V_FOR_PRECEDENCE:{message:"v-if / v-for precedence when used on the same element has changed in Vue 3: v-if now takes higher precedence and will no longer have access to v-for scope variables. It is best to avoid the ambiguity with <template> tags or use a computed property that filters v-for data source.",link:"https://v3-migration.vuejs.org/breaking-changes/v-if-v-for.html"},COMPILER_NATIVE_TEMPLATE:{message:"<template> with no special directives will render as a native template element instead of its inner content in Vue 3."},COMPILER_INLINE_TEMPLATE:{message:'"inline-template" has been removed in Vue 3.',link:"https://v3-migration.vuejs.org/breaking-changes/inline-template-attribute.html"},COMPILER_FILTERS:{message:'filters have been removed in Vue 3. The "|" symbol will be treated as native JavaScript bitwise OR operator. Use method calls or computed properties instead.',link:"https://v3-migration.vuejs.org/breaking-changes/filters.html"}};function wt(e,{compatConfig:t}){const s=t&&t[e];return e==="MODE"?s||3:s}function ge(e,t){const s=wt("MODE",t),n=wt(e,t);return s===3?n===!0:n!==!1}function Le(e,t,s,...n){return ge(e,t)}function gi(e,t,s,...n){if(wt(e,t)==="suppress-warning")return;const{message:o,link:r}=Si[e],l=`(deprecation ${e}) ${typeof o=="function"?o(...n):o}${r?`
1
+ import{r as Ht}from"./FilePreviewLoading-DA-2VsTB.js";import{b8 as Fe,b9 as oe,ba as k,bb as Ye,bc as ae,bd as $t,be as Jn,bf as qs,bg as Yn,bh as Gs,bi as zn,bj as pe,bk as js,bl as Os,bm as Qn,bn as Zn,bo as ei,bp as ti,bq as si,br as ht,bs as ni,bt as ii,bu as ri}from"./index-DL13dgZ3.js";var Pt={},Dt={exports:{}},kt={};const be=Symbol(""),Ce=Symbol(""),pt=Symbol(""),Xe=Symbol(""),qt=Symbol(""),Ee=Symbol(""),Gt=Symbol(""),jt=Symbol(""),dt=Symbol(""),Et=Symbol(""),De=Symbol(""),mt=Symbol(""),Kt=Symbol(""),_t=Symbol(""),St=Symbol(""),gt=Symbol(""),Tt=Symbol(""),Nt=Symbol(""),It=Symbol(""),Wt=Symbol(""),Jt=Symbol(""),qe=Symbol(""),xe=Symbol(""),yt=Symbol(""),Ot=Symbol(""),ve=Symbol(""),ke=Symbol(""),At=Symbol(""),rt=Symbol(""),Ks=Symbol(""),ot=Symbol(""),Ue=Symbol(""),Ws=Symbol(""),Js=Symbol(""),Ct=Symbol(""),Ys=Symbol(""),zs=Symbol(""),bt=Symbol(""),Yt=Symbol(""),Ne={[be]:"Fragment",[Ce]:"Teleport",[pt]:"Suspense",[Xe]:"KeepAlive",[qt]:"BaseTransition",[Ee]:"openBlock",[Gt]:"createBlock",[jt]:"createElementBlock",[dt]:"createVNode",[Et]:"createElementVNode",[De]:"createCommentVNode",[mt]:"createTextVNode",[Kt]:"createStaticVNode",[_t]:"resolveComponent",[St]:"resolveDynamicComponent",[gt]:"resolveDirective",[Tt]:"resolveFilter",[Nt]:"withDirectives",[It]:"renderList",[Wt]:"renderSlot",[Jt]:"createSlots",[qe]:"toDisplayString",[xe]:"mergeProps",[yt]:"normalizeClass",[Ot]:"normalizeStyle",[ve]:"normalizeProps",[ke]:"guardReactiveProps",[At]:"toHandlers",[rt]:"camelize",[Ks]:"capitalize",[ot]:"toHandlerKey",[Ue]:"setBlockTracking",[Ws]:"pushScopeId",[Js]:"popScopeId",[Ct]:"withCtx",[Ys]:"unref",[zs]:"isRef",[bt]:"withMemo",[Yt]:"isMemoSame"};function Qs(e){Object.getOwnPropertySymbols(e).forEach(t=>{Ne[t]=e[t]})}const oi={HTML:0,0:"HTML",SVG:1,1:"SVG",MATH_ML:2,2:"MATH_ML"},ai={ROOT:0,0:"ROOT",ELEMENT:1,1:"ELEMENT",TEXT:2,2:"TEXT",COMMENT:3,3:"COMMENT",SIMPLE_EXPRESSION:4,4:"SIMPLE_EXPRESSION",INTERPOLATION:5,5:"INTERPOLATION",ATTRIBUTE:6,6:"ATTRIBUTE",DIRECTIVE:7,7:"DIRECTIVE",COMPOUND_EXPRESSION:8,8:"COMPOUND_EXPRESSION",IF:9,9:"IF",IF_BRANCH:10,10:"IF_BRANCH",FOR:11,11:"FOR",TEXT_CALL:12,12:"TEXT_CALL",VNODE_CALL:13,13:"VNODE_CALL",JS_CALL_EXPRESSION:14,14:"JS_CALL_EXPRESSION",JS_OBJECT_EXPRESSION:15,15:"JS_OBJECT_EXPRESSION",JS_PROPERTY:16,16:"JS_PROPERTY",JS_ARRAY_EXPRESSION:17,17:"JS_ARRAY_EXPRESSION",JS_FUNCTION_EXPRESSION:18,18:"JS_FUNCTION_EXPRESSION",JS_CONDITIONAL_EXPRESSION:19,19:"JS_CONDITIONAL_EXPRESSION",JS_CACHE_EXPRESSION:20,20:"JS_CACHE_EXPRESSION",JS_BLOCK_STATEMENT:21,21:"JS_BLOCK_STATEMENT",JS_TEMPLATE_LITERAL:22,22:"JS_TEMPLATE_LITERAL",JS_IF_STATEMENT:23,23:"JS_IF_STATEMENT",JS_ASSIGNMENT_EXPRESSION:24,24:"JS_ASSIGNMENT_EXPRESSION",JS_SEQUENCE_EXPRESSION:25,25:"JS_SEQUENCE_EXPRESSION",JS_RETURN_STATEMENT:26,26:"JS_RETURN_STATEMENT"},li={ELEMENT:0,0:"ELEMENT",COMPONENT:1,1:"COMPONENT",SLOT:2,2:"SLOT",TEMPLATE:3,3:"TEMPLATE"},ci={NOT_CONSTANT:0,0:"NOT_CONSTANT",CAN_SKIP_PATCH:1,1:"CAN_SKIP_PATCH",CAN_CACHE:2,2:"CAN_CACHE",CAN_STRINGIFY:3,3:"CAN_STRINGIFY"},F={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:""};function Zs(e,t=""){return{type:0,source:t,children:e,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:[],temps:0,codegenNode:void 0,loc:F}}function Re(e,t,s,n,i,o,r,l=!1,a=!1,c=!1,u=F){return e&&(l?(e.helper(Ee),e.helper(Oe(e.inSSR,c))):e.helper(ye(e.inSSR,c)),r&&e.helper(Nt)),{type:13,tag:t,props:s,children:n,patchFlag:i,dynamicProps:o,directives:r,isBlock:l,disableTracking:a,isComponent:c,loc:u}}function de(e,t=F){return{type:17,loc:t,elements:e}}function Q(e,t=F){return{type:15,loc:t,properties:e}}function D(e,t){return{type:16,loc:F,key:k(e)?E(e,!0):e,value:t}}function E(e,t=!1,s=F,n=0){return{type:4,loc:s,content:e,isStatic:t,constType:t?3:n}}function fi(e,t){return{type:5,loc:t,content:k(e)?E(e,!1,t):e}}function Z(e,t=F){return{type:8,loc:t,children:e}}function w(e,t=[],s=F){return{type:14,loc:s,callee:e,arguments:t}}function Ie(e,t=void 0,s=!1,n=!1,i=F){return{type:18,params:e,returns:t,newline:s,isSlot:n,loc:i}}function at(e,t,s,n=!0){return{type:19,test:e,consequent:t,alternate:s,newline:n,loc:F}}function en(e,t,s=!1,n=!1){return{type:20,index:e,value:t,needPauseTracking:s,inVOnce:n,needArraySpread:!1,loc:F}}function tn(e){return{type:21,body:e,loc:F}}function ui(e){return{type:22,elements:e,loc:F}}function hi(e,t,s){return{type:23,test:e,consequent:t,alternate:s,loc:F}}function pi(e,t){return{type:24,left:e,right:t,loc:F}}function di(e){return{type:25,expressions:e,loc:F}}function Ei(e){return{type:26,returns:e,loc:F}}function ye(e,t){return e||t?dt:Et}function Oe(e,t){return e||t?Gt:jt}function vt(e,{helper:t,removeHelper:s,inSSR:n}){e.isBlock||(e.isBlock=!0,s(ye(n,e.isComponent)),t(Ee),t(Oe(n,e.isComponent)))}const As=new Uint8Array([123,123]),Cs=new Uint8Array([125,125]);function bs(e){return e>=97&&e<=122||e>=65&&e<=90}function z(e){return e===32||e===10||e===9||e===12||e===13}function ue(e){return e===47||e===62||z(e)}function lt(e){const t=new Uint8Array(e.length);for(let s=0;s<e.length;s++)t[s]=e.charCodeAt(s);return t}const B={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101]),TextareaEnd:new Uint8Array([60,47,116,101,120,116,97,114,101,97])};class mi{constructor(t,s){this.stack=t,this.cbs=s,this.state=1,this.buffer="",this.sectionStart=0,this.index=0,this.entityStart=0,this.baseState=1,this.inRCDATA=!1,this.inXML=!1,this.inVPre=!1,this.newlines=[],this.mode=0,this.delimiterOpen=As,this.delimiterClose=Cs,this.delimiterIndex=-1,this.currentSequence=void 0,this.sequenceIndex=0}get inSFCRoot(){return this.mode===2&&this.stack.length===0}reset(){this.state=1,this.mode=0,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=1,this.inRCDATA=!1,this.currentSequence=void 0,this.newlines.length=0,this.delimiterOpen=As,this.delimiterClose=Cs}getPos(t){let s=1,n=t+1;const i=this.newlines.length;let o=-1;if(i>100){let r=-1,l=i;for(;r+1<l;){const a=r+l>>>1;this.newlines[a]<t?r=a:l=a}o=r}else for(let r=i-1;r>=0;r--)if(t>this.newlines[r]){o=r;break}return o>=0&&(s=o+2,n=t-this.newlines[o]),{column:n,line:s,offset:t}}peek(){return this.buffer.charCodeAt(this.index+1)}stateText(t){t===60?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=5,this.sectionStart=this.index):!this.inVPre&&t===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(t))}stateInterpolationOpen(t){if(t===this.delimiterOpen[this.delimiterIndex])if(this.delimiterIndex===this.delimiterOpen.length-1){const s=this.index+1-this.delimiterOpen.length;s>this.sectionStart&&this.cbs.ontext(this.sectionStart,s),this.state=3,this.sectionStart=s}else this.delimiterIndex++;else this.inRCDATA?(this.state=32,this.stateInRCDATA(t)):(this.state=1,this.stateText(t))}stateInterpolation(t){t===this.delimiterClose[0]&&(this.state=4,this.delimiterIndex=0,this.stateInterpolationClose(t))}stateInterpolationClose(t){t===this.delimiterClose[this.delimiterIndex]?this.delimiterIndex===this.delimiterClose.length-1?(this.cbs.oninterpolation(this.sectionStart,this.index+1),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):this.delimiterIndex++:(this.state=3,this.stateInterpolation(t))}stateSpecialStartSequence(t){const s=this.sequenceIndex===this.currentSequence.length;if(!(s?ue(t):(t|32)===this.currentSequence[this.sequenceIndex]))this.inRCDATA=!1;else if(!s){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=6,this.stateInTagName(t)}stateInRCDATA(t){if(this.sequenceIndex===this.currentSequence.length){if(t===62||z(t)){const s=this.index-this.currentSequence.length;if(this.sectionStart<s){const n=this.index;this.index=s,this.cbs.ontext(this.sectionStart,s),this.index=n}this.sectionStart=s+2,this.stateInClosingTagName(t),this.inRCDATA=!1;return}this.sequenceIndex=0}(t|32)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:this.sequenceIndex===0?this.currentSequence===B.TitleEnd||this.currentSequence===B.TextareaEnd&&!this.inSFCRoot?!this.inVPre&&t===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(t)):this.fastForwardTo(60)&&(this.sequenceIndex=1):this.sequenceIndex=+(t===60)}stateCDATASequence(t){t===B.Cdata[this.sequenceIndex]?++this.sequenceIndex===B.Cdata.length&&(this.state=28,this.currentSequence=B.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=23,this.stateInDeclaration(t))}fastForwardTo(t){for(;++this.index<this.buffer.length;){const s=this.buffer.charCodeAt(this.index);if(s===10&&this.newlines.push(this.index),s===t)return!0}return this.index=this.buffer.length-1,!1}stateInCommentLike(t){t===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===B.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index-2):this.cbs.oncomment(this.sectionStart,this.index-2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=1):this.sequenceIndex===0?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):t!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)}startSpecial(t,s){this.enterRCDATA(t,s),this.state=31}enterRCDATA(t,s){this.inRCDATA=!0,this.currentSequence=t,this.sequenceIndex=s}stateBeforeTagName(t){t===33?(this.state=22,this.sectionStart=this.index+1):t===63?(this.state=24,this.sectionStart=this.index+1):bs(t)?(this.sectionStart=this.index,this.mode===0?this.state=6:this.inSFCRoot?this.state=34:this.inXML?this.state=6:t===116?this.state=30:this.state=t===115?29:6):t===47?this.state=8:(this.state=1,this.stateText(t))}stateInTagName(t){ue(t)&&this.handleTagName(t)}stateInSFCRootTagName(t){if(ue(t)){const s=this.buffer.slice(this.sectionStart,this.index);s!=="template"&&this.enterRCDATA(lt("</"+s),0),this.handleTagName(t)}}handleTagName(t){this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(t)}stateBeforeClosingTagName(t){z(t)||(t===62?(this.state=1,this.sectionStart=this.index+1):(this.state=bs(t)?9:27,this.sectionStart=this.index))}stateInClosingTagName(t){(t===62||z(t))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=10,this.stateAfterClosingTagName(t))}stateAfterClosingTagName(t){t===62&&(this.state=1,this.sectionStart=this.index+1)}stateBeforeAttrName(t){t===62?(this.cbs.onopentagend(this.index),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):t===47?this.state=7:t===60&&this.peek()===47?(this.cbs.onopentagend(this.index),this.state=5,this.sectionStart=this.index):z(t)||this.handleAttrStart(t)}handleAttrStart(t){t===118&&this.peek()===45?(this.state=13,this.sectionStart=this.index):t===46||t===58||t===64||t===35?(this.cbs.ondirname(this.index,this.index+1),this.state=14,this.sectionStart=this.index+1):(this.state=12,this.sectionStart=this.index)}stateInSelfClosingTag(t){t===62?(this.cbs.onselfclosingtag(this.index),this.state=1,this.sectionStart=this.index+1,this.inRCDATA=!1):z(t)||(this.state=11,this.stateBeforeAttrName(t))}stateInAttrName(t){(t===61||ue(t))&&(this.cbs.onattribname(this.sectionStart,this.index),this.handleAttrNameEnd(t))}stateInDirName(t){t===61||ue(t)?(this.cbs.ondirname(this.sectionStart,this.index),this.handleAttrNameEnd(t)):t===58?(this.cbs.ondirname(this.sectionStart,this.index),this.state=14,this.sectionStart=this.index+1):t===46&&(this.cbs.ondirname(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDirArg(t){t===61||ue(t)?(this.cbs.ondirarg(this.sectionStart,this.index),this.handleAttrNameEnd(t)):t===91?this.state=15:t===46&&(this.cbs.ondirarg(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDynamicDirArg(t){t===93?this.state=14:(t===61||ue(t))&&(this.cbs.ondirarg(this.sectionStart,this.index+1),this.handleAttrNameEnd(t))}stateInDirModifier(t){t===61||ue(t)?(this.cbs.ondirmodifier(this.sectionStart,this.index),this.handleAttrNameEnd(t)):t===46&&(this.cbs.ondirmodifier(this.sectionStart,this.index),this.sectionStart=this.index+1)}handleAttrNameEnd(t){this.sectionStart=this.index,this.state=17,this.cbs.onattribnameend(this.index),this.stateAfterAttrName(t)}stateAfterAttrName(t){t===61?this.state=18:t===47||t===62?(this.cbs.onattribend(0,this.sectionStart),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(t)):z(t)||(this.cbs.onattribend(0,this.sectionStart),this.handleAttrStart(t))}stateBeforeAttrValue(t){t===34?(this.state=19,this.sectionStart=this.index+1):t===39?(this.state=20,this.sectionStart=this.index+1):z(t)||(this.sectionStart=this.index,this.state=21,this.stateInAttrValueNoQuotes(t))}handleInAttrValue(t,s){(t===s||this.fastForwardTo(s))&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(s===34?3:2,this.index+1),this.state=11)}stateInAttrValueDoubleQuotes(t){this.handleInAttrValue(t,34)}stateInAttrValueSingleQuotes(t){this.handleInAttrValue(t,39)}stateInAttrValueNoQuotes(t){z(t)||t===62?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(1,this.index),this.state=11,this.stateBeforeAttrName(t)):(t===39||t===60||t===61||t===96)&&this.cbs.onerr(18,this.index)}stateBeforeDeclaration(t){t===91?(this.state=26,this.sequenceIndex=0):this.state=t===45?25:23}stateInDeclaration(t){(t===62||this.fastForwardTo(62))&&(this.state=1,this.sectionStart=this.index+1)}stateInProcessingInstruction(t){(t===62||this.fastForwardTo(62))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeComment(t){t===45?(this.state=28,this.currentSequence=B.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=23}stateInSpecialComment(t){(t===62||this.fastForwardTo(62))&&(this.cbs.oncomment(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeSpecialS(t){t===B.ScriptEnd[3]?this.startSpecial(B.ScriptEnd,4):t===B.StyleEnd[3]?this.startSpecial(B.StyleEnd,4):(this.state=6,this.stateInTagName(t))}stateBeforeSpecialT(t){t===B.TitleEnd[3]?this.startSpecial(B.TitleEnd,4):t===B.TextareaEnd[3]?this.startSpecial(B.TextareaEnd,4):(this.state=6,this.stateInTagName(t))}startEntity(){}stateInEntity(){}parse(t){for(this.buffer=t;this.index<this.buffer.length;){const s=this.buffer.charCodeAt(this.index);switch(s===10&&this.state!==33&&this.newlines.push(this.index),this.state){case 1:{this.stateText(s);break}case 2:{this.stateInterpolationOpen(s);break}case 3:{this.stateInterpolation(s);break}case 4:{this.stateInterpolationClose(s);break}case 31:{this.stateSpecialStartSequence(s);break}case 32:{this.stateInRCDATA(s);break}case 26:{this.stateCDATASequence(s);break}case 19:{this.stateInAttrValueDoubleQuotes(s);break}case 12:{this.stateInAttrName(s);break}case 13:{this.stateInDirName(s);break}case 14:{this.stateInDirArg(s);break}case 15:{this.stateInDynamicDirArg(s);break}case 16:{this.stateInDirModifier(s);break}case 28:{this.stateInCommentLike(s);break}case 27:{this.stateInSpecialComment(s);break}case 11:{this.stateBeforeAttrName(s);break}case 6:{this.stateInTagName(s);break}case 34:{this.stateInSFCRootTagName(s);break}case 9:{this.stateInClosingTagName(s);break}case 5:{this.stateBeforeTagName(s);break}case 17:{this.stateAfterAttrName(s);break}case 20:{this.stateInAttrValueSingleQuotes(s);break}case 18:{this.stateBeforeAttrValue(s);break}case 8:{this.stateBeforeClosingTagName(s);break}case 10:{this.stateAfterClosingTagName(s);break}case 29:{this.stateBeforeSpecialS(s);break}case 30:{this.stateBeforeSpecialT(s);break}case 21:{this.stateInAttrValueNoQuotes(s);break}case 7:{this.stateInSelfClosingTag(s);break}case 23:{this.stateInDeclaration(s);break}case 22:{this.stateBeforeDeclaration(s);break}case 25:{this.stateBeforeComment(s);break}case 24:{this.stateInProcessingInstruction(s);break}case 33:{this.stateInEntity();break}}this.index++}this.cleanup(),this.finish()}cleanup(){this.sectionStart!==this.index&&(this.state===1||this.state===32&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===19||this.state===20||this.state===21)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}finish(){this.handleTrailingData(),this.cbs.onend()}handleTrailingData(){const t=this.buffer.length;this.sectionStart>=t||(this.state===28?this.currentSequence===B.CdataEnd?this.cbs.oncdata(this.sectionStart,t):this.cbs.oncomment(this.sectionStart,t):this.state===6||this.state===11||this.state===18||this.state===17||this.state===12||this.state===13||this.state===14||this.state===15||this.state===16||this.state===20||this.state===19||this.state===21||this.state===9||this.cbs.ontext(this.sectionStart,t))}emitCodePoint(t,s){}}const _i={COMPILER_IS_ON_ELEMENT:"COMPILER_IS_ON_ELEMENT",COMPILER_V_BIND_SYNC:"COMPILER_V_BIND_SYNC",COMPILER_V_BIND_OBJECT_ORDER:"COMPILER_V_BIND_OBJECT_ORDER",COMPILER_V_ON_NATIVE:"COMPILER_V_ON_NATIVE",COMPILER_V_IF_V_FOR_PRECEDENCE:"COMPILER_V_IF_V_FOR_PRECEDENCE",COMPILER_NATIVE_TEMPLATE:"COMPILER_NATIVE_TEMPLATE",COMPILER_INLINE_TEMPLATE:"COMPILER_INLINE_TEMPLATE",COMPILER_FILTERS:"COMPILER_FILTERS"},Si={COMPILER_IS_ON_ELEMENT:{message:'Platform-native elements with "is" prop will no longer be treated as components in Vue 3 unless the "is" value is explicitly prefixed with "vue:".',link:"https://v3-migration.vuejs.org/breaking-changes/custom-elements-interop.html"},COMPILER_V_BIND_SYNC:{message:e=>`.sync modifier for v-bind has been removed. Use v-model with argument instead. \`v-bind:${e}.sync\` should be changed to \`v-model:${e}\`.`,link:"https://v3-migration.vuejs.org/breaking-changes/v-model.html"},COMPILER_V_BIND_OBJECT_ORDER:{message:'v-bind="obj" usage is now order sensitive and behaves like JavaScript object spread: it will now overwrite an existing non-mergeable attribute that appears before v-bind in the case of conflict. To retain 2.x behavior, move v-bind to make it the first attribute. You can also suppress this warning if the usage is intended.',link:"https://v3-migration.vuejs.org/breaking-changes/v-bind.html"},COMPILER_V_ON_NATIVE:{message:".native modifier for v-on has been removed as is no longer necessary.",link:"https://v3-migration.vuejs.org/breaking-changes/v-on-native-modifier-removed.html"},COMPILER_V_IF_V_FOR_PRECEDENCE:{message:"v-if / v-for precedence when used on the same element has changed in Vue 3: v-if now takes higher precedence and will no longer have access to v-for scope variables. It is best to avoid the ambiguity with <template> tags or use a computed property that filters v-for data source.",link:"https://v3-migration.vuejs.org/breaking-changes/v-if-v-for.html"},COMPILER_NATIVE_TEMPLATE:{message:"<template> with no special directives will render as a native template element instead of its inner content in Vue 3."},COMPILER_INLINE_TEMPLATE:{message:'"inline-template" has been removed in Vue 3.',link:"https://v3-migration.vuejs.org/breaking-changes/inline-template-attribute.html"},COMPILER_FILTERS:{message:'filters have been removed in Vue 3. The "|" symbol will be treated as native JavaScript bitwise OR operator. Use method calls or computed properties instead.',link:"https://v3-migration.vuejs.org/breaking-changes/filters.html"}};function wt(e,{compatConfig:t}){const s=t&&t[e];return e==="MODE"?s||3:s}function ge(e,t){const s=wt("MODE",t),n=wt(e,t);return s===3?n===!0:n!==!1}function Le(e,t,s,...n){return ge(e,t)}function gi(e,t,s,...n){if(wt(e,t)==="suppress-warning")return;const{message:o,link:r}=Si[e],l=`(deprecation ${e}) ${typeof o=="function"?o(...n):o}${r?`
2
2
  Details: ${r}`:""}`,a=new SyntaxError(l);a.code=e,s&&(a.loc=s),t.onWarn(a)}function zt(e){throw e}function sn(e){}function v(e,t,s,n){const i=`https://vuejs.org/error-reference/#compiler-${e}`,o=new SyntaxError(String(i));return o.code=e,o.loc=t,o}const Ti={ABRUPT_CLOSING_OF_EMPTY_COMMENT:0,0:"ABRUPT_CLOSING_OF_EMPTY_COMMENT",CDATA_IN_HTML_CONTENT:1,1:"CDATA_IN_HTML_CONTENT",DUPLICATE_ATTRIBUTE:2,2:"DUPLICATE_ATTRIBUTE",END_TAG_WITH_ATTRIBUTES:3,3:"END_TAG_WITH_ATTRIBUTES",END_TAG_WITH_TRAILING_SOLIDUS:4,4:"END_TAG_WITH_TRAILING_SOLIDUS",EOF_BEFORE_TAG_NAME:5,5:"EOF_BEFORE_TAG_NAME",EOF_IN_CDATA:6,6:"EOF_IN_CDATA",EOF_IN_COMMENT:7,7:"EOF_IN_COMMENT",EOF_IN_SCRIPT_HTML_COMMENT_LIKE_TEXT:8,8:"EOF_IN_SCRIPT_HTML_COMMENT_LIKE_TEXT",EOF_IN_TAG:9,9:"EOF_IN_TAG",INCORRECTLY_CLOSED_COMMENT:10,10:"INCORRECTLY_CLOSED_COMMENT",INCORRECTLY_OPENED_COMMENT:11,11:"INCORRECTLY_OPENED_COMMENT",INVALID_FIRST_CHARACTER_OF_TAG_NAME:12,12:"INVALID_FIRST_CHARACTER_OF_TAG_NAME",MISSING_ATTRIBUTE_VALUE:13,13:"MISSING_ATTRIBUTE_VALUE",MISSING_END_TAG_NAME:14,14:"MISSING_END_TAG_NAME",MISSING_WHITESPACE_BETWEEN_ATTRIBUTES:15,15:"MISSING_WHITESPACE_BETWEEN_ATTRIBUTES",NESTED_COMMENT:16,16:"NESTED_COMMENT",UNEXPECTED_CHARACTER_IN_ATTRIBUTE_NAME:17,17:"UNEXPECTED_CHARACTER_IN_ATTRIBUTE_NAME",UNEXPECTED_CHARACTER_IN_UNQUOTED_ATTRIBUTE_VALUE:18,18:"UNEXPECTED_CHARACTER_IN_UNQUOTED_ATTRIBUTE_VALUE",UNEXPECTED_EQUALS_SIGN_BEFORE_ATTRIBUTE_NAME:19,19:"UNEXPECTED_EQUALS_SIGN_BEFORE_ATTRIBUTE_NAME",UNEXPECTED_NULL_CHARACTER:20,20:"UNEXPECTED_NULL_CHARACTER",UNEXPECTED_QUESTION_MARK_INSTEAD_OF_TAG_NAME:21,21:"UNEXPECTED_QUESTION_MARK_INSTEAD_OF_TAG_NAME",UNEXPECTED_SOLIDUS_IN_TAG:22,22:"UNEXPECTED_SOLIDUS_IN_TAG",X_INVALID_END_TAG:23,23:"X_INVALID_END_TAG",X_MISSING_END_TAG:24,24:"X_MISSING_END_TAG",X_MISSING_INTERPOLATION_END:25,25:"X_MISSING_INTERPOLATION_END",X_MISSING_DIRECTIVE_NAME:26,26:"X_MISSING_DIRECTIVE_NAME",X_MISSING_DYNAMIC_DIRECTIVE_ARGUMENT_END:27,27:"X_MISSING_DYNAMIC_DIRECTIVE_ARGUMENT_END",X_V_IF_NO_EXPRESSION:28,28:"X_V_IF_NO_EXPRESSION",X_V_IF_SAME_KEY:29,29:"X_V_IF_SAME_KEY",X_V_ELSE_NO_ADJACENT_IF:30,30:"X_V_ELSE_NO_ADJACENT_IF",X_V_FOR_NO_EXPRESSION:31,31:"X_V_FOR_NO_EXPRESSION",X_V_FOR_MALFORMED_EXPRESSION:32,32:"X_V_FOR_MALFORMED_EXPRESSION",X_V_FOR_TEMPLATE_KEY_PLACEMENT:33,33:"X_V_FOR_TEMPLATE_KEY_PLACEMENT",X_V_BIND_NO_EXPRESSION:34,34:"X_V_BIND_NO_EXPRESSION",X_V_ON_NO_EXPRESSION:35,35:"X_V_ON_NO_EXPRESSION",X_V_SLOT_UNEXPECTED_DIRECTIVE_ON_SLOT_OUTLET:36,36:"X_V_SLOT_UNEXPECTED_DIRECTIVE_ON_SLOT_OUTLET",X_V_SLOT_MIXED_SLOT_USAGE:37,37:"X_V_SLOT_MIXED_SLOT_USAGE",X_V_SLOT_DUPLICATE_SLOT_NAMES:38,38:"X_V_SLOT_DUPLICATE_SLOT_NAMES",X_V_SLOT_EXTRANEOUS_DEFAULT_SLOT_CHILDREN:39,39:"X_V_SLOT_EXTRANEOUS_DEFAULT_SLOT_CHILDREN",X_V_SLOT_MISPLACED:40,40:"X_V_SLOT_MISPLACED",X_V_MODEL_NO_EXPRESSION:41,41:"X_V_MODEL_NO_EXPRESSION",X_V_MODEL_MALFORMED_EXPRESSION:42,42:"X_V_MODEL_MALFORMED_EXPRESSION",X_V_MODEL_ON_SCOPE_VARIABLE:43,43:"X_V_MODEL_ON_SCOPE_VARIABLE",X_V_MODEL_ON_PROPS:44,44:"X_V_MODEL_ON_PROPS",X_V_MODEL_ON_CONST:45,45:"X_V_MODEL_ON_CONST",X_INVALID_EXPRESSION:46,46:"X_INVALID_EXPRESSION",X_KEEP_ALIVE_INVALID_CHILDREN:47,47:"X_KEEP_ALIVE_INVALID_CHILDREN",X_PREFIX_ID_NOT_SUPPORTED:48,48:"X_PREFIX_ID_NOT_SUPPORTED",X_MODULE_MODE_NOT_SUPPORTED:49,49:"X_MODULE_MODE_NOT_SUPPORTED",X_CACHE_HANDLER_NOT_SUPPORTED:50,50:"X_CACHE_HANDLER_NOT_SUPPORTED",X_SCOPE_ID_NOT_SUPPORTED:51,51:"X_SCOPE_ID_NOT_SUPPORTED",X_VNODE_HOOKS:52,52:"X_VNODE_HOOKS",X_V_BIND_INVALID_SAME_NAME_ARGUMENT:53,53:"X_V_BIND_INVALID_SAME_NAME_ARGUMENT",__EXTEND_POINT__:54,54:"__EXTEND_POINT__"},Ni={0:"Illegal comment.",1:"CDATA section is allowed only in XML context.",2:"Duplicate attribute.",3:"End tag cannot have attributes.",4:"Illegal '/' in tags.",5:"Unexpected EOF in tag.",6:"Unexpected EOF in CDATA section.",7:"Unexpected EOF in comment.",8:"Unexpected EOF in script.",9:"Unexpected EOF in tag.",10:"Incorrectly closed comment.",11:"Incorrectly opened comment.",12:"Illegal tag name. Use '&lt;' to print '<'.",13:"Attribute value was expected.",14:"End tag name was expected.",15:"Whitespace was expected.",16:"Unexpected '<!--' in comment.",17:`Attribute name cannot contain U+0022 ("), U+0027 ('), and U+003C (<).`,18:"Unquoted attribute value cannot contain U+0022 (\"), U+0027 ('), U+003C (<), U+003D (=), and U+0060 (`).",19:"Attribute name cannot start with '='.",21:"'<?' is allowed only in XML context.",20:"Unexpected null character.",22:"Illegal '/' in tags.",23:"Invalid end tag.",24:"Element is missing end tag.",25:"Interpolation end sign was not found.",27:"End bracket for dynamic directive argument was not found. Note that dynamic directive argument cannot contain spaces.",26:"Legal directive name was expected.",28:"v-if/v-else-if is missing expression.",29:"v-if/else branches must use unique keys.",30:"v-else/v-else-if has no adjacent v-if or v-else-if.",31:"v-for is missing expression.",32:"v-for has invalid expression.",33:"<template v-for> key should be placed on the <template> tag.",34:"v-bind is missing expression.",53:"v-bind with same-name shorthand only allows static argument.",35:"v-on is missing expression.",36:"Unexpected custom directive on <slot> outlet.",37:"Mixed v-slot usage on both the component and nested <template>. When there are multiple named slots, all slots should use <template> syntax to avoid scope ambiguity.",38:"Duplicate slot names found. ",39:"Extraneous children found when component already has explicitly named default slot. These children will be ignored.",40:"v-slot can only be used on components or <template> tags.",41:"v-model is missing expression.",42:"v-model value must be a valid JavaScript member expression.",43:"v-model cannot be used on v-for or v-slot scope variables because they are not writable.",44:`v-model cannot be used on a prop, because local prop bindings are not writable.
3
3
  Use a v-bind binding combined with a v-on listener that emits update:x event instead.`,45:"v-model cannot be used on a const binding because it is not writable.",46:"Error parsing JavaScript expression: ",47:"<KeepAlive> expects exactly one child component.",52:"@vnode-* hooks in templates are no longer supported. Use the vue: prefix instead. For example, @vnode-mounted should be changed to @vue:mounted. @vnode-* hooks support has been removed in 3.4.",48:'"prefixIdentifiers" option is not supported in this build of compiler.',49:"ES module mode is not supported in this build of compiler.",50:'"cacheHandlers" option is only supported when the "prefixIdentifiers" option is enabled.',51:'"scopeId" option is only supported in module mode.',54:""};function Ii(e,t,s=!1,n=[],i=Object.create(null)){}function yi(e,t,s){return!1}function Oi(e,t){if(e&&(e.type==="ObjectProperty"||e.type==="ArrayPattern")){let s=t.length;for(;s--;){const n=t[s];if(n.type==="AssignmentExpression")return!0;if(n.type!=="ObjectProperty"&&!n.type.endsWith("Pattern"))break}}return!1}function Ai(e){let t=e.length;for(;t--;){const s=e[t];if(s.type==="NewExpression")return!0;if(s.type!=="MemberExpression")break}return!1}function Ci(e,t){for(const s of e.params)for(const n of ne(s))t(n)}function nn(e,t){const s=e.type==="SwitchCase"?e.consequent:e.body;for(const n of s)if(n.type==="VariableDeclaration"){if(n.declare)continue;for(const i of n.declarations)for(const o of ne(i.id))t(o)}else if(n.type==="FunctionDeclaration"||n.type==="ClassDeclaration"){if(n.declare||!n.id)continue;t(n.id)}else bi(n)?vi(n,!0,t):n.type==="SwitchStatement"&&Ri(n,!0,t)}function bi(e){return e.type==="ForOfStatement"||e.type==="ForInStatement"||e.type==="ForStatement"}function vi(e,t,s){const n=e.type==="ForStatement"?e.init:e.left;if(n&&n.type==="VariableDeclaration"&&(n.kind==="var"?t:!t))for(const i of n.declarations)for(const o of ne(i.id))s(o)}function Ri(e,t,s){for(const n of e.cases){for(const i of n.consequent)if(i.type==="VariableDeclaration"&&(i.kind==="var"?t:!t))for(const o of i.declarations)for(const r of ne(o.id))s(r);nn(n,s)}}function ne(e,t=[]){switch(e.type){case"Identifier":t.push(e);break;case"MemberExpression":let s=e;for(;s.type==="MemberExpression";)s=s.object;t.push(s);break;case"ObjectPattern":for(const n of e.properties)n.type==="RestElement"?ne(n.argument,t):ne(n.value,t);break;case"ArrayPattern":e.elements.forEach(n=>{n&&ne(n,t)});break;case"RestElement":ne(e.argument,t);break;case"AssignmentPattern":ne(e.left,t);break}return t}const Li=e=>/Function(?:Expression|Declaration)$|Method$/.test(e.type),rn=e=>e&&(e.type==="ObjectProperty"||e.type==="ObjectMethod")&&!e.computed,Mi=(e,t)=>rn(t)&&t.key===e,on=["TSAsExpression","TSTypeAssertion","TSNonNullExpression","TSInstantiationExpression","TSSatisfiesExpression"];function an(e){return on.includes(e.type)?an(e.expression):e}const $=e=>e.type===4&&e.isStatic;function Qt(e){switch(e){case"Teleport":case"teleport":return Ce;case"Suspense":case"suspense":return pt;case"KeepAlive":case"keep-alive":return Xe;case"BaseTransition":case"base-transition":return qt}}const Pi=/^$|^\d|[^\$\w\xA0-\uFFFF]/,Ge=e=>!Pi.test(e),Zt=/[A-Za-z_$\xA0-\uFFFF]/,Di=/[\.\?\w$\xA0-\uFFFF]/,ki=/\s+[.[]\s*|\s*[.[]\s+/g,ln=e=>e.type===4?e.content:e.loc.source,cn=e=>{const t=ln(e).trim().replace(ki,l=>l.trim());let s=0,n=[],i=0,o=0,r=null;for(let l=0;l<t.length;l++){const a=t.charAt(l);switch(s){case 0:if(a==="[")n.push(s),s=1,i++;else if(a==="(")n.push(s),s=2,o++;else if(!(l===0?Zt:Di).test(a))return!1;break;case 1:a==="'"||a==='"'||a==="`"?(n.push(s),s=3,r=a):a==="["?i++:a==="]"&&(--i||(s=n.pop()));break;case 2:if(a==="'"||a==='"'||a==="`")n.push(s),s=3,r=a;else if(a==="(")o++;else if(a===")"){if(l===t.length-1)return!1;--o||(s=n.pop())}break;case 3:a===r&&(s=n.pop(),r=null);break}}return!i&&!o},Vi=Fe,es=cn,wi=/^\s*(?:async\s*)?(?:\([^)]*?\)|[\w$_]+)\s*(?::[^=]+)?=>|^\s*(?:async\s+)?function(?:\s+[\w$]+)?\s*\(/,fn=e=>wi.test(ln(e)),Fi=Fe,un=fn;function Xi(e,t,s=t.length){return hn({offset:e.offset,line:e.line,column:e.column},t,s)}function hn(e,t,s=t.length){let n=0,i=-1;for(let o=0;o<s;o++)t.charCodeAt(o)===10&&(n++,i=o);return e.offset+=s,e.line+=n,e.column=i===-1?e.column+s:s-i,e}function xi(e,t){if(!e)throw new Error(t||"unexpected compiler condition")}function j(e,t,s=!1){for(let n=0;n<e.props.length;n++){const i=e.props[n];if(i.type===7&&(s||i.exp)&&(k(t)?i.name===t:t.test(i.name)))return i}}function je(e,t,s=!1,n=!1){for(let i=0;i<e.props.length;i++){const o=e.props[i];if(o.type===6){if(s)continue;if(o.name===t&&(o.value||n))return o}else if(o.name==="bind"&&(o.exp||n)&&Te(o.arg,t))return o}}function Te(e,t){return!!(e&&$(e)&&e.content===t)}function pn(e){return e.props.some(t=>t.type===7&&t.name==="bind"&&(!t.arg||t.arg.type!==4||!t.arg.isStatic))}function Ze(e){return e.type===5||e.type===2}function Ft(e){return e.type===7&&e.name==="pre"}function ts(e){return e.type===7&&e.name==="slot"}function Me(e){return e.type===1&&e.tagType===3}function Be(e){return e.type===1&&e.tagType===2}const Ui=new Set([ve,ke]);function ss(e,t=[]){if(e&&!k(e)&&e.type===14){const s=e.callee;if(!k(s)&&Ui.has(s))return ss(e.arguments[0],t.concat(e))}return[e,t]}function He(e,t,s){if(e.type!==13&&Bi(e,t))return;let n,i=e.type===13?e.props:e.arguments[2],o=[],r;if(i&&!k(i)&&i.type===14){const l=ss(i);i=l[0],o=l[1],r=o[o.length-1]}if(i==null||k(i))n=Q([t]);else if(i.type===14){const l=i.arguments[0];!k(l)&&l.type===15?Xt(t,l)||l.properties.unshift(t):i.callee===At?n=w(s.helper(xe),[Q([t]),i]):i.arguments.unshift(Q([t])),!n&&(n=i)}else i.type===15?(Xt(t,i)||i.properties.unshift(t),n=i):(n=w(s.helper(xe),[Q([t]),i]),r&&r.callee===ke&&(r=o[o.length-2]));e.type===13?r?r.arguments[0]=n:e.props=n:r?r.arguments[0]=n:e.arguments[2]=n}function Bi(e,t){var s,n,i;if(t.key.type!==4||t.key.content!=="key")return!1;const o=e.arguments[2];if(o&&!k(o)){const[r]=ss(o);if(r&&!k(r)&&r.type===15&&Xt(t,r))return!0}return(s=e.arguments)[2]||(s[2]="{}"),(n=e.arguments)[3]||(n[3]="undefined"),(i=e.arguments)[4]||(i[4]="undefined"),e.arguments[5]=t.value,!0}function Xt(e,t){let s=!1;if(e.key.type===4){const n=e.key.content;s=t.properties.some(i=>i.key.type===4&&i.key.content===n)}return s}function Pe(e,t){return`_${t}_${e.replace(/[^\w]/g,(s,n)=>s==="-"?"_":e.charCodeAt(n).toString())}`}function ee(e,t){if(!e||Object.keys(t).length===0)return!1;switch(e.type){case 1:for(let s=0;s<e.props.length;s++){const n=e.props[s];if(n.type===7&&(ee(n.arg,t)||ee(n.exp,t)))return!0}return e.children.some(s=>ee(s,t));case 11:return ee(e.source,t)?!0:e.children.some(s=>ee(s,t));case 9:return e.branches.some(s=>ee(s,t));case 10:return ee(e.condition,t)?!0:e.children.some(s=>ee(s,t));case 4:return!e.isStatic&&Ge(e.content)&&!!t[e.content];case 8:return e.children.some(s=>Gs(s)&&ee(s,t));case 5:case 12:return ee(e.content,t);case 2:case 3:case 20:return!1;default:return!1}}function dn(e){return e.type===14&&e.callee===bt?e.arguments[1].returns:e}const En=/([\s\S]*?)\s+(?:in|of)\s+(\S[\s\S]*)/;function ns(e){for(let t=0;t<e.length;t++)if(!z(e.charCodeAt(t)))return!1;return!0}function Rt(e){return e.type===2&&ns(e.content)||e.type===12&&Rt(e.content)}function is(e){return e.type===3||Rt(e)}const mn={parseMode:"base",ns:0,delimiters:["{{","}}"],getNamespace:()=>0,isVoidTag:Ye,isPreTag:Ye,isIgnoreNewlineTag:Ye,isCustomElement:Ye,onError:zt,onWarn:sn,comments:!1,prefixIdentifiers:!1};let y=mn,$e=null,le="",H=null,S=null,W="",re=-1,_e=-1,rs=0,he=!1,xt=null;const L=[],M=new mi(L,{onerr:ie,ontext(e,t){ze(X(e,t),e,t)},ontextentity(e,t,s){ze(e,t,s)},oninterpolation(e,t){if(he)return ze(X(e,t),e,t);let s=e+M.delimiterOpen.length,n=t-M.delimiterClose.length;for(;z(le.charCodeAt(s));)s++;for(;z(le.charCodeAt(n-1));)n--;let i=X(s,n);i.includes("&")&&(i=y.decodeEntities(i,!1)),Ut({type:5,content:tt(i,!1,P(s,n)),loc:P(e,t)})},onopentagname(e,t){const s=X(e,t);H={type:1,tag:s,ns:y.getNamespace(s,L[0],y.ns),tagType:0,props:[],children:[],loc:P(e-1,t),codegenNode:void 0}},onopentagend(e){Rs(e)},onclosetag(e,t){const s=X(e,t);if(!y.isVoidTag(s)){let n=!1;for(let i=0;i<L.length;i++)if(L[i].tag.toLowerCase()===s.toLowerCase()){n=!0,i>0&&ie(24,L[0].loc.start.offset);for(let r=0;r<=i;r++){const l=L.shift();et(l,t,r<i)}break}n||ie(23,_n(e,60))}},onselfclosingtag(e){const t=H.tag;H.isSelfClosing=!0,Rs(e),L[0]&&L[0].tag===t&&et(L.shift(),e)},onattribname(e,t){S={type:6,name:X(e,t),nameLoc:P(e,t),value:void 0,loc:P(e)}},ondirname(e,t){const s=X(e,t),n=s==="."||s===":"?"bind":s==="@"?"on":s==="#"?"slot":s.slice(2);if(!he&&n===""&&ie(26,e),he||n==="")S={type:6,name:s,nameLoc:P(e,t),value:void 0,loc:P(e)};else if(S={type:7,name:n,rawName:s,exp:void 0,arg:void 0,modifiers:s==="."?[E("prop")]:[],loc:P(e)},n==="pre"){he=M.inVPre=!0,xt=H;const i=H.props;for(let o=0;o<i.length;o++)i[o].type===7&&(i[o]=zi(i[o]))}},ondirarg(e,t){if(e===t)return;const s=X(e,t);if(he&&!Ft(S))S.name+=s,Se(S.nameLoc,t);else{const n=s[0]!=="[";S.arg=tt(n?s:s.slice(1,-1),n,P(e,t),n?3:0)}},ondirmodifier(e,t){const s=X(e,t);if(he&&!Ft(S))S.name+="."+s,Se(S.nameLoc,t);else if(S.name==="slot"){const n=S.arg;n&&(n.content+="."+s,Se(n.loc,t))}else{const n=E(s,!0,P(e,t));S.modifiers.push(n)}},onattribdata(e,t){W+=X(e,t),re<0&&(re=e),_e=t},onattribentity(e,t,s){W+=e,re<0&&(re=t),_e=s},onattribnameend(e){const t=S.loc.start.offset,s=X(t,e);S.type===7&&(S.rawName=s),H.props.some(n=>(n.type===7?n.rawName:n.name)===s)&&ie(2,t)},onattribend(e,t){if(H&&S){if(Se(S.loc,t),e!==0)if(W.includes("&")&&(W=y.decodeEntities(W,!0)),S.type===6)S.name==="class"&&(W=gn(W).trim()),e===1&&!W&&ie(13,t),S.value={type:2,content:W,loc:e===1?P(re,_e):P(re-1,_e+1)},M.inSFCRoot&&H.tag==="template"&&S.name==="lang"&&W&&W!=="html"&&M.enterRCDATA(lt("</template"),0);else{let s=0;S.exp=tt(W,!1,P(re,_e),0,s),S.name==="for"&&(S.forParseResult=$i(S.exp));let n=-1;S.name==="bind"&&(n=S.modifiers.findIndex(i=>i.content==="sync"))>-1&&Le("COMPILER_V_BIND_SYNC",y,S.loc,S.arg.loc.source)&&(S.name="model",S.modifiers.splice(n,1))}(S.type!==7||S.name!=="pre")&&H.props.push(S)}W="",re=_e=-1},oncomment(e,t){y.comments&&Ut({type:3,content:X(e,t),loc:P(e-4,t+3)})},onend(){const e=le.length;for(let t=0;t<L.length;t++)et(L[t],e-1),ie(24,L[t].loc.start.offset)},oncdata(e,t){(L[0]?L[0].ns:y.ns)!==0?ze(X(e,t),e,t):ie(1,e-9)},onprocessinginstruction(e){(L[0]?L[0].ns:y.ns)===0&&ie(21,e-1)}}),vs=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Hi=/^\(|\)$/g;function $i(e){const t=e.loc,s=e.content,n=s.match(En);if(!n)return;const[,i,o]=n,r=(f,d,h=!1)=>{const m=t.start.offset+d,p=m+f.length;return tt(f,!1,P(m,p),0,h?1:0)},l={source:r(o.trim(),s.indexOf(o,i.length)),value:void 0,key:void 0,index:void 0,finalized:!1};let a=i.trim().replace(Hi,"").trim();const c=i.indexOf(a),u=a.match(vs);if(u){a=a.replace(vs,"").trim();const f=u[1].trim();let d;if(f&&(d=s.indexOf(f,c+a.length),l.key=r(f,d,!0)),u[2]){const h=u[2].trim();h&&(l.index=r(h,s.indexOf(h,l.key?d+f.length:c+a.length),!0))}}return a&&(l.value=r(a,c,!0)),l}function X(e,t){return le.slice(e,t)}function Rs(e){M.inSFCRoot&&(H.innerLoc=P(e+1,e+1)),Ut(H);const{tag:t,ns:s}=H;s===0&&y.isPreTag(t)&&rs++,y.isVoidTag(t)?et(H,e):(L.unshift(H),(s===1||s===2)&&(M.inXML=!0)),H=null}function ze(e,t,s){{const o=L[0]&&L[0].tag;o!=="script"&&o!=="style"&&e.includes("&")&&(e=y.decodeEntities(e,!1))}const n=L[0]||$e,i=n.children[n.children.length-1];i&&i.type===2?(i.content+=e,Se(i.loc,s)):n.children.push({type:2,content:e,loc:P(t,s)})}function et(e,t,s=!1){s?Se(e.loc,_n(t,60)):Se(e.loc,qi(t,62)+1),M.inSFCRoot&&(e.children.length?e.innerLoc.end=oe({},e.children[e.children.length-1].loc.end):e.innerLoc.end=oe({},e.innerLoc.start),e.innerLoc.source=X(e.innerLoc.start.offset,e.innerLoc.end.offset));const{tag:n,ns:i,children:o}=e;if(he||(n==="slot"?e.tagType=2:Ls(e)?e.tagType=3:ji(e)&&(e.tagType=1)),M.inRCDATA||(e.children=Sn(o)),i===0&&y.isIgnoreNewlineTag(n)){const r=o[0];r&&r.type===2&&(r.content=r.content.replace(/^\r?\n/,""))}i===0&&y.isPreTag(n)&&rs--,xt===e&&(he=M.inVPre=!1,xt=null),M.inXML&&(L[0]?L[0].ns:y.ns)===0&&(M.inXML=!1);{const r=e.props;if(!M.inSFCRoot&&ge("COMPILER_NATIVE_TEMPLATE",y)&&e.tag==="template"&&!Ls(e)){const a=L[0]||$e,c=a.children.indexOf(e);a.children.splice(c,1,...e.children)}const l=r.find(a=>a.type===6&&a.name==="inline-template");l&&Le("COMPILER_INLINE_TEMPLATE",y,l.loc)&&e.children.length&&(l.value={type:2,content:X(e.children[0].loc.start.offset,e.children[e.children.length-1].loc.end.offset),loc:l.loc})}}function qi(e,t){let s=e;for(;le.charCodeAt(s)!==t&&s<le.length-1;)s++;return s}function _n(e,t){let s=e;for(;le.charCodeAt(s)!==t&&s>=0;)s--;return s}const Gi=new Set(["if","else","else-if","for","slot"]);function Ls({tag:e,props:t}){if(e==="template"){for(let s=0;s<t.length;s++)if(t[s].type===7&&Gi.has(t[s].name))return!0}return!1}function ji({tag:e,props:t}){if(y.isCustomElement(e))return!1;if(e==="component"||Ki(e.charCodeAt(0))||Qt(e)||y.isBuiltInComponent&&y.isBuiltInComponent(e)||y.isNativeTag&&!y.isNativeTag(e))return!0;for(let s=0;s<t.length;s++){const n=t[s];if(n.type===6){if(n.name==="is"&&n.value){if(n.value.content.startsWith("vue:"))return!0;if(Le("COMPILER_IS_ON_ELEMENT",y,n.loc))return!0}}else if(n.name==="bind"&&Te(n.arg,"is")&&Le("COMPILER_IS_ON_ELEMENT",y,n.loc))return!0}return!1}function Ki(e){return e>64&&e<91}const Wi=/\r\n/g;function Sn(e){const t=y.whitespace!=="preserve";let s=!1;for(let n=0;n<e.length;n++){const i=e[n];if(i.type===2)if(rs)i.content=i.content.replace(Wi,`
4
4
  `);else if(ns(i.content)){const o=e[n-1]&&e[n-1].type,r=e[n+1]&&e[n+1].type;!o||!r||t&&(o===3&&(r===3||r===1)||o===1&&(r===3||r===1&&Ji(i.content)))?(s=!0,e[n]=null):i.content=" "}else t&&(i.content=gn(i.content))}return s?e.filter(Boolean):e}function Ji(e){for(let t=0;t<e.length;t++){const s=e.charCodeAt(t);if(s===10||s===13)return!0}return!1}function gn(e){let t="",s=!1;for(let n=0;n<e.length;n++)z(e.charCodeAt(n))?s||(t+=" ",s=!0):(t+=e[n],s=!1);return t}function Ut(e){(L[0]||$e).children.push(e)}function P(e,t){return{start:M.getPos(e),end:t==null?t:M.getPos(t),source:t==null?t:X(e,t)}}function Yi(e){return P(e.start.offset,e.end.offset)}function Se(e,t){e.end=M.getPos(t),e.source=X(e.start.offset,t)}function zi(e){const t={type:6,name:e.rawName,nameLoc:P(e.loc.start.offset,e.loc.start.offset+e.rawName.length),value:void 0,loc:e.loc};if(e.exp){const s=e.exp.loc;s.end.offset<e.loc.end.offset&&(s.start.offset--,s.start.column--,s.end.offset++,s.end.column++),t.value={type:2,content:e.exp.content,loc:s}}return t}function tt(e,t=!1,s,n=0,i=0){return E(e,t,s,n)}function ie(e,t,s){y.onError(v(e,P(t,t)))}function Qi(){M.reset(),H=null,S=null,W="",re=-1,_e=-1,L.length=0}function os(e,t){if(Qi(),le=e,y=oe({},mn),t){let i;for(i in t)t[i]!=null&&(y[i]=t[i])}M.mode=y.parseMode==="html"?1:y.parseMode==="sfc"?2:0,M.inXML=y.ns===1||y.ns===2;const s=t&&t.delimiters;s&&(M.delimiterOpen=lt(s[0]),M.delimiterClose=lt(s[1]));const n=$e=Zs([],e);return M.parse(le),n.loc=P(0,e.length),n.children=Sn(n.children),$e=null,n}function Zi(e,t){st(e,void 0,t,!!Tn(e))}function Tn(e){const t=e.children.filter(s=>s.type!==3);return t.length===1&&t[0].type===1&&!Be(t[0])?t[0]:null}function st(e,t,s,n=!1,i=!1){const{children:o}=e,r=[];for(let u=0;u<o.length;u++){const f=o[u];if(f.type===1&&f.tagType===0){const d=n?0:J(f,s);if(d>0){if(d>=2){f.codegenNode.patchFlag=-1,r.push(f);continue}}else{const h=f.codegenNode;if(h.type===13){const m=h.patchFlag;if((m===void 0||m===512||m===1)&&In(f,s)>=2){const p=yn(f);p&&(h.props=s.hoist(p))}h.dynamicProps&&(h.dynamicProps=s.hoist(h.dynamicProps))}}}else if(f.type===12&&(n?0:J(f,s))>=2){f.codegenNode.type===14&&f.codegenNode.arguments.length>0&&f.codegenNode.arguments.push("-1"),r.push(f);continue}if(f.type===1){const d=f.tagType===1;d&&s.scopes.vSlot++,st(f,e,s,!1,i),d&&s.scopes.vSlot--}else if(f.type===11)st(f,e,s,f.children.length===1,!0);else if(f.type===9)for(let d=0;d<f.branches.length;d++)st(f.branches[d],e,s,f.branches[d].children.length===1,i)}let l=!1;if(r.length===o.length&&e.type===1){if(e.tagType===0&&e.codegenNode&&e.codegenNode.type===13&&pe(e.codegenNode.children))e.codegenNode.children=a(de(e.codegenNode.children)),l=!0;else if(e.tagType===1&&e.codegenNode&&e.codegenNode.type===13&&e.codegenNode.children&&!pe(e.codegenNode.children)&&e.codegenNode.children.type===15){const u=c(e.codegenNode,"default");u&&(u.returns=a(de(u.returns)),l=!0)}else if(e.tagType===3&&t&&t.type===1&&t.tagType===1&&t.codegenNode&&t.codegenNode.type===13&&t.codegenNode.children&&!pe(t.codegenNode.children)&&t.codegenNode.children.type===15){const u=j(e,"slot",!0),f=u&&u.arg&&c(t.codegenNode,u.arg);f&&(f.returns=a(de(f.returns)),l=!0)}}if(!l)for(const u of r)u.codegenNode=s.cache(u.codegenNode);function a(u){const f=s.cache(u);return f.needArraySpread=!0,f}function c(u,f){if(u.children&&!pe(u.children)&&u.children.type===15){const d=u.children.properties.find(h=>h.key===f||h.key.content===f);return d&&d.value}}r.length&&s.transformHoist&&s.transformHoist(o,s,e)}function J(e,t){const{constantCache:s}=t;switch(e.type){case 1:if(e.tagType!==0)return 0;const n=s.get(e);if(n!==void 0)return n;const i=e.codegenNode;if(i.type!==13||i.isBlock&&e.tag!=="svg"&&e.tag!=="foreignObject"&&e.tag!=="math")return 0;if(i.patchFlag===void 0){let r=3;const l=In(e,t);if(l===0)return s.set(e,0),0;l<r&&(r=l);for(let a=0;a<e.children.length;a++){const c=J(e.children[a],t);if(c===0)return s.set(e,0),0;c<r&&(r=c)}if(r>1)for(let a=0;a<e.props.length;a++){const c=e.props[a];if(c.type===7&&c.name==="bind"&&c.exp){const u=J(c.exp,t);if(u===0)return s.set(e,0),0;u<r&&(r=u)}}if(i.isBlock){for(let a=0;a<e.props.length;a++)if(e.props[a].type===7)return s.set(e,0),0;t.removeHelper(Ee),t.removeHelper(Oe(t.inSSR,i.isComponent)),i.isBlock=!1,t.helper(ye(t.inSSR,i.isComponent))}return s.set(e,r),r}else return s.set(e,0),0;case 2:case 3:return 3;case 9:case 11:case 10:return 0;case 5:case 12:return J(e.content,t);case 4:return e.constType;case 8:let o=3;for(let r=0;r<e.children.length;r++){const l=e.children[r];if(k(l)||$t(l))continue;const a=J(l,t);if(a===0)return 0;a<o&&(o=a)}return o;case 20:return 2;default:return 0}}const er=new Set([yt,Ot,ve,ke]);function Nn(e,t){if(e.type===14&&!k(e.callee)&&er.has(e.callee)){const s=e.arguments[0];if(s.type===4)return J(s,t);if(s.type===14)return Nn(s,t)}return 0}function In(e,t){let s=3;const n=yn(e);if(n&&n.type===15){const{properties:i}=n;for(let o=0;o<i.length;o++){const{key:r,value:l}=i[o],a=J(r,t);if(a===0)return a;a<s&&(s=a);let c;if(l.type===4?c=J(l,t):l.type===14?c=Nn(l,t):c=0,c===0)return c;c<s&&(s=c)}}return s}function yn(e){const t=e.codegenNode;if(t.type===13)return t.props}function On(e,{filename:t="",prefixIdentifiers:s=!1,hoistStatic:n=!1,hmr:i=!1,cacheHandlers:o=!1,nodeTransforms:r=[],directiveTransforms:l={},transformHoist:a=null,isBuiltInComponent:c=Fe,isCustomElement:u=Fe,expressionPlugins:f=[],scopeId:d=null,slotted:h=!0,ssr:m=!1,inSSR:p=!1,ssrCssVars:O="",bindingMetadata:A=Yn,inline:N=!1,isTS:R=!1,onError:G=zt,onWarn:x=sn,compatConfig:te}){const se=t.replace(/\?.*$/,"").match(/([^/\\]+)\.\w+$/),g={filename:t,selfName:se&&qs(ae(se[1])),prefixIdentifiers:s,hoistStatic:n,hmr:i,cacheHandlers:o,nodeTransforms:r,directiveTransforms:l,transformHoist:a,isBuiltInComponent:c,isCustomElement:u,expressionPlugins:f,scopeId:d,slotted:h,ssr:m,inSSR:p,ssrCssVars:O,bindingMetadata:A,inline:N,isTS:R,onError:G,onWarn:x,compatConfig:te,root:e,helpers:new Map,components:new Set,directives:new Set,hoists:[],imports:[],cached:[],constantCache:new WeakMap,vForMemoKeyedNodes:new WeakSet,temps:0,identifiers:Object.create(null),scopes:{vFor:0,vSlot:0,vPre:0,vOnce:0},parent:null,grandParent:null,currentNode:e,childIndex:0,inVOnce:!1,helper(T){const I=g.helpers.get(T)||0;return g.helpers.set(T,I+1),T},removeHelper(T){const I=g.helpers.get(T);if(I){const Y=I-1;Y?g.helpers.set(T,Y):g.helpers.delete(T)}},helperString(T){return`_${Ne[g.helper(T)]}`},replaceNode(T){g.parent.children[g.childIndex]=g.currentNode=T},removeNode(T){const I=g.parent.children,Y=T?I.indexOf(T):g.currentNode?g.childIndex:-1;!T||T===g.currentNode?(g.currentNode=null,g.onNodeRemoved()):g.childIndex>Y&&(g.childIndex--,g.onNodeRemoved()),g.parent.children.splice(Y,1)},onNodeRemoved:Fe,addIdentifiers(T){},removeIdentifiers(T){},hoist(T){k(T)&&(T=E(T)),g.hoists.push(T);const I=E(`_hoisted_${g.hoists.length}`,!1,T.loc,2);return I.hoisted=T,I},cache(T,I=!1,Y=!1){const V=en(g.cached.length,T,I,Y);return g.cached.push(V),V}};return g.filters=new Set,g}function An(e,t){const s=On(e,t);Ke(e,s),t.hoistStatic&&Zi(e,s),t.ssr||tr(e,s),e.helpers=new Set([...s.helpers.keys()]),e.components=[...s.components],e.directives=[...s.directives],e.imports=s.imports,e.hoists=s.hoists,e.temps=s.temps,e.cached=s.cached,e.transformed=!0,e.filters=[...s.filters]}function tr(e,t){const{helper:s}=t,{children:n}=e;if(n.length===1){const i=Tn(e);if(i&&i.codegenNode){const o=i.codegenNode;o.type===13&&vt(o,t),e.codegenNode=o}else e.codegenNode=n[0]}else if(n.length>1){let i=64;e.codegenNode=Re(t,s(be),void 0,e.children,i,void 0,void 0,!0,void 0,!1)}}function sr(e,t){let s=0;const n=()=>{s--};for(;s<e.children.length;s++){const i=e.children[s];k(i)||(t.grandParent=t.parent,t.parent=e,t.childIndex=s,t.onNodeRemoved=n,Ke(i,t))}}function Ke(e,t){t.currentNode=e;const{nodeTransforms:s}=t,n=[];for(let o=0;o<s.length;o++){const r=s[o](e,t);if(r&&(pe(r)?n.push(...r):n.push(r)),t.currentNode)e=t.currentNode;else return}switch(e.type){case 3:t.ssr||t.helper(De);break;case 5:t.ssr||t.helper(qe);break;case 9:for(let o=0;o<e.branches.length;o++)Ke(e.branches[o],t);break;case 10:case 11:case 1:case 0:sr(e,t);break}t.currentNode=e;let i=n.length;for(;i--;)n[i]()}function as(e,t){const s=k(e)?n=>n===e:n=>e.test(n);return(n,i)=>{if(n.type===1){const{props:o}=n;if(n.tagType===3&&o.some(ts))return;const r=[];for(let l=0;l<o.length;l++){const a=o[l];if(a.type===7&&s(a.name)){o.splice(l,1),l--;const c=t(n,a,i);c&&r.push(c)}}return r}}}const Lt="/*@__PURE__*/",Cn=e=>`${Ne[e]}: _${Ne[e]}`;function nr(e,{mode:t="function",prefixIdentifiers:s=t==="module",sourceMap:n=!1,filename:i="template.vue.html",scopeId:o=null,optimizeImports:r=!1,runtimeGlobalName:l="Vue",runtimeModuleName:a="vue",ssrRuntimeModuleName:c="vue/server-renderer",ssr:u=!1,isTS:f=!1,inSSR:d=!1}){const h={mode:t,prefixIdentifiers:s,sourceMap:n,filename:i,scopeId:o,optimizeImports:r,runtimeGlobalName:l,runtimeModuleName:a,ssrRuntimeModuleName:c,ssr:u,isTS:f,inSSR:d,source:e.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper(p){return`_${Ne[p]}`},push(p,O=-2,A){h.code+=p},indent(){m(++h.indentLevel)},deindent(p=!1){p?--h.indentLevel:m(--h.indentLevel)},newline(){m(h.indentLevel)}};function m(p){h.push(`
@@ -0,0 +1,2 @@
1
+ import{_ as e,l as o,G as n,d as i}from"./mermaid.core-Dy6ET9-Q.js";import{p}from"./cynefin-OW5HDTMX-DBO8k3eX.js";import"./index-DL13dgZ3.js";import"./FilePreviewLoading-DA-2VsTB.js";import"./workbench-live-service-B1nVp-rC.js";import"./mobile-dialog-return-service-DlLb35Lg.js";var g={parse:e(async r=>{const a=await p("info",r);o.debug(a)},"parse")},d={version:"11.17.1"},v=e(()=>d.version,"getVersion"),m={getVersion:v},c=e((r,a,s)=>{o.debug(`rendering info diagram
2
+ `+r);const t=n(a);i(t,100,400,!0),t.append("g").append("text").attr("x",100).attr("y",40).attr("class","version").attr("font-size",32).style("text-anchor","middle").text(`v${s}`)},"draw"),l={draw:c},S={parser:g,db:m,renderer:l};export{S as diagram};
@@ -1,10 +1,10 @@
1
- import{_ as o,c as ot,a2 as ut,G as dt,am as yt,r as ft,k as pt,p as it,a as gt,b as kt,g as mt,s as wt,q as _t,d as bt}from"./mermaid.core-Ct-yf2jz.js";import"./index-CYFJ0B6M.js";import"./FilePreviewLoading-OzdyIhrT.js";import"./mobile-dialog-return-service-8H0QudXS.js";var J=(function(){var e=o(function(T,t,s,i){for(s=s||{},i=T.length;i--;s[T[i]]=t);return s},"o"),h=[1,4],r=[1,14],a=[1,12],l=[1,13],y=[6,7,8],f=[1,20],d=[1,18],m=[1,19],u=[6,7,11],k=[1,6,13,14],g=[1,23],_=[1,24],x=[1,6,7,11,13,14],D={trace:o(function(){},"trace"),yy:{},symbols_:{error:2,start:3,ishikawa:4,spaceLines:5,SPACELINE:6,NL:7,ISHIKAWA:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,TEXT:14,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"ISHIKAWA",11:"EOF",13:"SPACELIST",14:"TEXT"},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,2],[12,1],[12,1],[12,1]],performAction:o(function(t,s,i,c,p,n,v){var w=n.length-1;switch(p){case 6:case 7:return c;case 15:c.addNode(n[w-1].length,n[w].trim());break;case 16:c.addNode(0,n[w].trim());break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],8:h},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:h},{6:r,7:[1,10],9:9,12:11,13:a,14:l},e(y,[2,3]),{1:[2,2]},e(y,[2,4]),e(y,[2,5]),{1:[2,6],6:r,12:15,13:a,14:l},{6:r,9:16,12:11,13:a,14:l},{6:f,7:d,10:17,11:m},e(u,[2,18],{14:[1,21]}),e(u,[2,16]),e(u,[2,17]),{6:f,7:d,10:22,11:m},{1:[2,7],6:r,12:15,13:a,14:l},e(k,[2,14],{7:g,11:_}),e(x,[2,8]),e(x,[2,9]),e(x,[2,10]),e(u,[2,15]),e(k,[2,13],{7:g,11:_}),e(x,[2,11]),e(x,[2,12])],defaultActions:{2:[2,1],6:[2,2]},parseError:o(function(t,s){if(s.recoverable)this.trace(t);else{var i=new Error(t);throw i.hash=s,i}},"parseError"),parse:o(function(t){var s=this,i=[0],c=[],p=[null],n=[],v=this.table,w="",I=0,$=0,L=2,A=1,C=n.slice.call(arguments,1),b=Object.create(this.lexer),S={yy:{}};for(var P in this.yy)Object.prototype.hasOwnProperty.call(this.yy,P)&&(S.yy[P]=this.yy[P]);b.setInput(t,S.yy),S.yy.lexer=b,S.yy.parser=this,typeof b.yylloc>"u"&&(b.yylloc={});var R=b.yylloc;n.push(R);var G=b.options&&b.options.ranges;typeof S.yy.parseError=="function"?this.parseError=S.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Y(B){i.length=i.length-2*B,p.length=p.length-B,n.length=n.length-B}o(Y,"popStack");function tt(){var B;return B=c.pop()||b.lex()||A,typeof B!="number"&&(B instanceof Array&&(c=B,B=c.pop()),B=s.symbols_[B]||B),B}o(tt,"lex");for(var M,W,N,q,F={},U,V,et,Z;;){if(W=i[i.length-1],this.defaultActions[W]?N=this.defaultActions[W]:((M===null||typeof M>"u")&&(M=tt()),N=v[W]&&v[W][M]),typeof N>"u"||!N.length||!N[0]){var K="";Z=[];for(U in v[W])this.terminals_[U]&&U>L&&Z.push("'"+this.terminals_[U]+"'");b.showPosition?K="Parse error on line "+(I+1)+`:
1
+ import{_ as o,c as ot,a2 as ut,G as dt,am as yt,r as pt,k as ft,p as it,a as gt,b as kt,g as mt,s as wt,q as _t,d as bt}from"./mermaid.core-Dy6ET9-Q.js";import"./index-DL13dgZ3.js";import"./FilePreviewLoading-DA-2VsTB.js";import"./workbench-live-service-B1nVp-rC.js";import"./mobile-dialog-return-service-DlLb35Lg.js";var J=(function(){var e=o(function(T,t,s,i){for(s=s||{},i=T.length;i--;s[T[i]]=t);return s},"o"),h=[1,4],r=[1,14],a=[1,12],l=[1,13],y=[6,7,8],p=[1,20],d=[1,18],m=[1,19],u=[6,7,11],k=[1,6,13,14],g=[1,23],_=[1,24],x=[1,6,7,11,13,14],D={trace:o(function(){},"trace"),yy:{},symbols_:{error:2,start:3,ishikawa:4,spaceLines:5,SPACELINE:6,NL:7,ISHIKAWA:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,TEXT:14,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"ISHIKAWA",11:"EOF",13:"SPACELIST",14:"TEXT"},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,2],[12,1],[12,1],[12,1]],performAction:o(function(t,s,i,c,f,n,v){var w=n.length-1;switch(f){case 6:case 7:return c;case 15:c.addNode(n[w-1].length,n[w].trim());break;case 16:c.addNode(0,n[w].trim());break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],8:h},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:h},{6:r,7:[1,10],9:9,12:11,13:a,14:l},e(y,[2,3]),{1:[2,2]},e(y,[2,4]),e(y,[2,5]),{1:[2,6],6:r,12:15,13:a,14:l},{6:r,9:16,12:11,13:a,14:l},{6:p,7:d,10:17,11:m},e(u,[2,18],{14:[1,21]}),e(u,[2,16]),e(u,[2,17]),{6:p,7:d,10:22,11:m},{1:[2,7],6:r,12:15,13:a,14:l},e(k,[2,14],{7:g,11:_}),e(x,[2,8]),e(x,[2,9]),e(x,[2,10]),e(u,[2,15]),e(k,[2,13],{7:g,11:_}),e(x,[2,11]),e(x,[2,12])],defaultActions:{2:[2,1],6:[2,2]},parseError:o(function(t,s){if(s.recoverable)this.trace(t);else{var i=new Error(t);throw i.hash=s,i}},"parseError"),parse:o(function(t){var s=this,i=[0],c=[],f=[null],n=[],v=this.table,w="",I=0,$=0,L=2,A=1,C=n.slice.call(arguments,1),b=Object.create(this.lexer),S={yy:{}};for(var P in this.yy)Object.prototype.hasOwnProperty.call(this.yy,P)&&(S.yy[P]=this.yy[P]);b.setInput(t,S.yy),S.yy.lexer=b,S.yy.parser=this,typeof b.yylloc>"u"&&(b.yylloc={});var R=b.yylloc;n.push(R);var G=b.options&&b.options.ranges;typeof S.yy.parseError=="function"?this.parseError=S.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Y(B){i.length=i.length-2*B,f.length=f.length-B,n.length=n.length-B}o(Y,"popStack");function tt(){var B;return B=c.pop()||b.lex()||A,typeof B!="number"&&(B instanceof Array&&(c=B,B=c.pop()),B=s.symbols_[B]||B),B}o(tt,"lex");for(var M,W,N,q,F={},U,V,et,Z;;){if(W=i[i.length-1],this.defaultActions[W]?N=this.defaultActions[W]:((M===null||typeof M>"u")&&(M=tt()),N=v[W]&&v[W][M]),typeof N>"u"||!N.length||!N[0]){var K="";Z=[];for(U in v[W])this.terminals_[U]&&U>L&&Z.push("'"+this.terminals_[U]+"'");b.showPosition?K="Parse error on line "+(I+1)+`:
2
2
  `+b.showPosition()+`
3
- Expecting `+Z.join(", ")+", got '"+(this.terminals_[M]||M)+"'":K="Parse error on line "+(I+1)+": Unexpected "+(M==A?"end of input":"'"+(this.terminals_[M]||M)+"'"),this.parseError(K,{text:b.match,token:this.terminals_[M]||M,line:b.yylineno,loc:R,expected:Z})}if(N[0]instanceof Array&&N.length>1)throw new Error("Parse Error: multiple actions possible at state: "+W+", token: "+M);switch(N[0]){case 1:i.push(M),p.push(b.yytext),n.push(b.yylloc),i.push(N[1]),M=null,$=b.yyleng,w=b.yytext,I=b.yylineno,R=b.yylloc;break;case 2:if(V=this.productions_[N[1]][1],F.$=p[p.length-V],F._$={first_line:n[n.length-(V||1)].first_line,last_line:n[n.length-1].last_line,first_column:n[n.length-(V||1)].first_column,last_column:n[n.length-1].last_column},G&&(F._$.range=[n[n.length-(V||1)].range[0],n[n.length-1].range[1]]),q=this.performAction.apply(F,[w,$,I,S.yy,N[1],p,n].concat(C)),typeof q<"u")return q;V&&(i=i.slice(0,-1*V*2),p=p.slice(0,-1*V),n=n.slice(0,-1*V)),i.push(this.productions_[N[1]][0]),p.push(F.$),n.push(F._$),et=v[i[i.length-2]][i[i.length-1]],i.push(et);break;case 3:return!0}}return!0},"parse")},O=(function(){var T={EOF:1,parseError:o(function(s,i){if(this.yy.parser)this.yy.parser.parseError(s,i);else throw new Error(s)},"parseError"),setInput:o(function(t,s){return this.yy=s||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:o(function(){var t=this._input[0];this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t;var s=t.match(/(?:\r\n?|\n).*/g);return s?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},"input"),unput:o(function(t){var s=t.length,i=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-s),this.offset-=s;var c=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),i.length-1&&(this.yylineno-=i.length-1);var p=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:i?(i.length===c.length?this.yylloc.first_column:0)+c[c.length-i.length].length-i[0].length:this.yylloc.first_column-s},this.options.ranges&&(this.yylloc.range=[p[0],p[0]+this.yyleng-s]),this.yyleng=this.yytext.length,this},"unput"),more:o(function(){return this._more=!0,this},"more"),reject:o(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
3
+ Expecting `+Z.join(", ")+", got '"+(this.terminals_[M]||M)+"'":K="Parse error on line "+(I+1)+": Unexpected "+(M==A?"end of input":"'"+(this.terminals_[M]||M)+"'"),this.parseError(K,{text:b.match,token:this.terminals_[M]||M,line:b.yylineno,loc:R,expected:Z})}if(N[0]instanceof Array&&N.length>1)throw new Error("Parse Error: multiple actions possible at state: "+W+", token: "+M);switch(N[0]){case 1:i.push(M),f.push(b.yytext),n.push(b.yylloc),i.push(N[1]),M=null,$=b.yyleng,w=b.yytext,I=b.yylineno,R=b.yylloc;break;case 2:if(V=this.productions_[N[1]][1],F.$=f[f.length-V],F._$={first_line:n[n.length-(V||1)].first_line,last_line:n[n.length-1].last_line,first_column:n[n.length-(V||1)].first_column,last_column:n[n.length-1].last_column},G&&(F._$.range=[n[n.length-(V||1)].range[0],n[n.length-1].range[1]]),q=this.performAction.apply(F,[w,$,I,S.yy,N[1],f,n].concat(C)),typeof q<"u")return q;V&&(i=i.slice(0,-1*V*2),f=f.slice(0,-1*V),n=n.slice(0,-1*V)),i.push(this.productions_[N[1]][0]),f.push(F.$),n.push(F._$),et=v[i[i.length-2]][i[i.length-1]],i.push(et);break;case 3:return!0}}return!0},"parse")},O=(function(){var T={EOF:1,parseError:o(function(s,i){if(this.yy.parser)this.yy.parser.parseError(s,i);else throw new Error(s)},"parseError"),setInput:o(function(t,s){return this.yy=s||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:o(function(){var t=this._input[0];this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t;var s=t.match(/(?:\r\n?|\n).*/g);return s?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},"input"),unput:o(function(t){var s=t.length,i=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-s),this.offset-=s;var c=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),i.length-1&&(this.yylineno-=i.length-1);var f=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:i?(i.length===c.length?this.yylloc.first_column:0)+c[c.length-i.length].length-i[0].length:this.yylloc.first_column-s},this.options.ranges&&(this.yylloc.range=[f[0],f[0]+this.yyleng-s]),this.yyleng=this.yytext.length,this},"unput"),more:o(function(){return this._more=!0,this},"more"),reject:o(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
4
4
  `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:o(function(t){this.unput(this.match.slice(t))},"less"),pastInput:o(function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:o(function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:o(function(){var t=this.pastInput(),s=new Array(t.length+1).join("-");return t+this.upcomingInput()+`
5
- `+s+"^"},"showPosition"),test_match:o(function(t,s){var i,c,p;if(this.options.backtrack_lexer&&(p={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(p.yylloc.range=this.yylloc.range.slice(0))),c=t[0].match(/(?:\r\n?|\n).*/g),c&&(this.yylineno+=c.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:c?c[c.length-1].length-c[c.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],i=this.performAction.call(this,this.yy,this,s,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),i)return i;if(this._backtrack){for(var n in p)this[n]=p[n];return!1}return!1},"test_match"),next:o(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var t,s,i,c;this._more||(this.yytext="",this.match="");for(var p=this._currentRules(),n=0;n<p.length;n++)if(i=this._input.match(this.rules[p[n]]),i&&(!s||i[0].length>s[0].length)){if(s=i,c=n,this.options.backtrack_lexer){if(t=this.test_match(i,p[n]),t!==!1)return t;if(this._backtrack){s=!1;continue}else return!1}else if(!this.options.flex)break}return s?(t=this.test_match(s,p[c]),t!==!1?t:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
6
- `+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:o(function(){var s=this.next();return s||this.lex()},"lex"),begin:o(function(s){this.conditionStack.push(s)},"begin"),popState:o(function(){var s=this.conditionStack.length-1;return s>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:o(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:o(function(s){return s=this.conditionStack.length-1-Math.abs(s||0),s>=0?this.conditionStack[s]:"INITIAL"},"topState"),pushState:o(function(s){this.begin(s)},"pushState"),stateStackSize:o(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:o(function(s,i,c,p){switch(c){case 0:return 6;case 1:return 8;case 2:return 8;case 3:return 6;case 4:return 7;case 5:return 13;case 6:return 14;case 7:return 11}},"anonymous"),rules:[/^(?:\s*%%.*)/i,/^(?:ishikawa-beta\b)/i,/^(?:ishikawa\b)/i,/^(?:[\s]+[\n])/i,/^(?:[\n]+)/i,/^(?:[\s]+)/i,/^(?:[^\n]+)/i,/^(?:$)/i],conditions:{INITIAL:{rules:[0,1,2,3,4,5,6,7],inclusive:!0}}};return T})();D.lexer=O;function E(){this.yy={}}return o(E,"Parser"),E.prototype=D,D.Parser=E,new E})();J.parser=J;var xt=J,H,vt=(H=class{constructor(){this.stack=[],this.clear=this.clear.bind(this),this.addNode=this.addNode.bind(this),this.getRoot=this.getRoot.bind(this)}clear(){this.root=void 0,this.stack=[],this.baseLevel=void 0,ft()}getRoot(){return this.root}addNode(h,r){const a=pt.sanitizeText(r,ot());if(!this.root){this.root={text:a,children:[]},this.stack=[{level:0,node:this.root}],it(a);return}this.baseLevel??=h;let l=h-this.baseLevel+1;for(l<=0&&(l=1);this.stack.length>1&&this.stack[this.stack.length-1].level>=l;)this.stack.pop();const y=this.stack[this.stack.length-1].node,f={text:a,children:[]};y.children.push(f),this.stack.push({level:l,node:f})}getAccTitle(){return gt()}setAccTitle(h){kt(h)}getAccDescription(){return mt()}setAccDescription(h){wt(h)}getDiagramTitle(){return _t()}setDiagramTitle(h){it(h)}},o(H,"IshikawaDB"),H),St=14,j=250,$t=30,Et=60,At=5,ht=82*Math.PI/180,st=Math.cos(ht),nt=Math.sin(ht),at=o((e,h,r)=>{const a=e.node().getBBox(),l=a.width+h*2,y=a.height+h*2;bt(e,y,l,r),e.attr("viewBox",`${a.x-h} ${a.y-h} ${l} ${y}`)},"applyPaddedViewBox"),It=o((e,h,r,a)=>{const y=a.db.getRoot();if(!y)return;const f=ot(),{look:d,handDrawnSeed:m,themeVariables:u}=f,k=ut(f.fontSize)[0]??St,g=d==="handDrawn",_=y.children??[],x=f.ishikawa?.diagramPadding??20,D=f.ishikawa?.useMaxWidth??!1,O=dt(h),E=O.append("g").attr("class","ishikawa"),T=g?yt.svg(O.node()):void 0,t=T?{roughSvg:T,seed:m??0,lineColor:u?.lineColor??"#333",fillColor:u?.mainBkg??"#fff"}:void 0,s=`ishikawa-arrow-${h}`;g||E.append("defs").append("marker").attr("id",s).attr("viewBox","0 0 10 10").attr("refX",0).attr("refY",5).attr("markerWidth",6).attr("markerHeight",6).attr("orient","auto").append("path").attr("d","M 10 0 L 0 5 L 10 10 Z").attr("class","ishikawa-arrow");let i=0,c=j;const p=g?void 0:z(E,i,c,i,c,"ishikawa-spine");if(Lt(E,i,c,y.text,k,t),!_.length){g&&z(E,i,c,i,c,"ishikawa-spine",t),at(O,x,D);return}i-=20;const n=_.filter((S,P)=>P%2===0),v=_.filter((S,P)=>P%2===1),w=rt(n),I=rt(v),$=w.total+I.total;let L=j,A=j;if($>0){const S=j*2,P=j*.3;L=Math.max(P,S*(w.total/$)),A=Math.max(P,S*(I.total/$))}const C=k*2;L=Math.max(L,w.max*C),A=Math.max(A,I.max*C),c=Math.max(L,j),p&&p.attr("y1",c).attr("y2",c),E.select(".ishikawa-head-group").attr("transform",`translate(0,${c})`);const b=Math.ceil(_.length/2);for(let S=0;S<b;S++){const P=E.append("g").attr("class","ishikawa-pair");for(const[R,G,Y]of[[_[S*2],-1,L],[_[S*2+1],1,A]])R&&Pt(P,R,i,c,G,Y,k,t);i=P.selectAll("text").nodes().reduce((R,G)=>Math.min(R,G.getBBox().x),1/0)}if(g)z(E,i,c,0,c,"ishikawa-spine",t);else{p.attr("x1",i);const S=`url(#${s})`;E.selectAll("line.ishikawa-branch, line.ishikawa-sub-branch").attr("marker-start",S)}at(O,x,D)},"draw"),rt=o(e=>{const h=o(r=>r.children.reduce((a,l)=>a+1+h(l),0),"countDescendants");return e.reduce((r,a)=>{const l=h(a);return r.total+=l,r.max=Math.max(r.max,l),r},{total:0,max:0})},"sideStats"),Lt=o((e,h,r,a,l,y)=>{const f=Math.max(6,Math.floor(110/(l*.6))),d=e.append("g").attr("class","ishikawa-head-group").attr("transform",`translate(${h},${r})`),m=X(d,ct(a,f),0,0,"ishikawa-head-label","start",l),u=m.node().getBBox(),k=Math.max(60,u.width+6),g=Math.max(40,u.height*2+40),_=`M 0 ${-g/2} L 0 ${g/2} Q ${k*2.4} 0 0 ${-g/2} Z`;if(y){const x=y.roughSvg.path(_,{roughness:1.5,seed:y.seed,fill:y.fillColor,fillStyle:"hachure",fillWeight:2.5,hachureGap:5,stroke:y.lineColor,strokeWidth:2});d.insert(()=>x,":first-child").attr("class","ishikawa-head")}else d.insert("path",":first-child").attr("class","ishikawa-head").attr("d",_);m.attr("transform",`translate(${(k-u.width)/2-u.x+3},${-u.y-u.height/2})`)},"drawHead"),Tt=o((e,h)=>{const r=[],a=[],l=o((y,f,d)=>{const m=h===-1?[...y].reverse():y;for(const u of m){const k=r.length,g=u.children??[];r.push({depth:d,text:ct(u.text,15),parentIndex:f,childCount:g.length}),d%2===0?(a.push(k),g.length&&l(g,k,d+1)):(g.length&&l(g,k,d+1),a.push(k))}},"walk");return l(e,-1,2),{entries:r,yOrder:a}},"flattenTree"),Mt=o((e,h,r,a,l,y,f)=>{const d=e.append("g").attr("class","ishikawa-label-group"),u=X(d,h,r,a+11*l,"ishikawa-label cause","middle",y).node().getBBox();if(f){const k=f.roughSvg.rectangle(u.x-20,u.y-2,u.width+40,u.height+4,{roughness:1.5,seed:f.seed,fill:f.fillColor,fillStyle:"hachure",fillWeight:2.5,hachureGap:5,stroke:f.lineColor,strokeWidth:2});d.insert(()=>k,":first-child").attr("class","ishikawa-label-box")}else d.insert("rect",":first-child").attr("class","ishikawa-label-box").attr("x",u.x-20).attr("y",u.y-2).attr("width",u.width+40).attr("height",u.height+4)},"drawCauseLabel"),Q=o((e,h,r,a,l,y)=>{const f=Math.sqrt(a*a+l*l);if(f===0)return;const d=a/f,m=l/f,u=6,k=-m*u,g=d*u,_=h,x=r,D=`M ${_} ${x} L ${_-d*u*2+k} ${x-m*u*2+g} L ${_-d*u*2-k} ${x-m*u*2-g} Z`,O=y.roughSvg.path(D,{roughness:1,seed:y.seed,fill:y.lineColor,fillStyle:"solid",stroke:y.lineColor,strokeWidth:1});e.append(()=>O)},"drawArrowMarker"),Pt=o((e,h,r,a,l,y,f,d)=>{const m=h.children??[],u=y*(m.length?1:.2),k=-st*u,g=nt*u*l,_=r+k,x=a+g;if(z(e,r,a,_,x,"ishikawa-branch",d),d&&Q(e,r,a,r-_,a-x,d),Mt(e,h.text,_,x,l,f,d),!m.length)return;const{entries:D,yOrder:O}=Tt(m,l),E=D.length,T=new Array(E);for(const[p,n]of O.entries())T[n]=a+g*((p+1)/(E+1));const t=new Map;t.set(-1,{x0:r,y0:a,x1:_,y1:x,childCount:m.length,childrenDrawn:0});const s=-st,i=nt*l,c=l<0?"ishikawa-label up":"ishikawa-label down";for(const[p,n]of D.entries()){const v=T[p],w=t.get(n.parentIndex),I=e.append("g").attr("class","ishikawa-sub-group");let $=0,L=0,A=0;if(n.depth%2===0){const C=w.y1-w.y0;$=lt(w.x0,w.x1,C?(v-w.y0)/C:.5),L=v,A=$-(n.childCount>0?Et+n.childCount*At:$t),z(I,$,v,A,v,"ishikawa-sub-branch",d),d&&Q(I,$,v,1,0,d),X(I,n.text,A,v,"ishikawa-label align","end",f)}else{const C=w.childrenDrawn++;$=lt(w.x0,w.x1,(w.childCount-C)/(w.childCount+1)),L=w.y0,A=$+s*((v-L)/i),z(I,$,L,A,v,"ishikawa-sub-branch",d),d&&Q(I,$,L,$-A,L-v,d),X(I,n.text,A,v,c,"end",f)}n.childCount>0&&t.set(p,{x0:$,y0:L,x1:A,y1:v,childCount:n.childCount,childrenDrawn:0})}},"drawBranch"),Bt=o(e=>e.split(/<br\s*\/?>|\n/),"splitLines"),ct=o((e,h)=>{if(e.length<=h)return e;const r=[];for(const a of e.split(/\s+/)){const l=r.length-1;l>=0&&r[l].length+1+a.length<=h?r[l]+=" "+a:r.push(a)}return r.join(`
7
- `)},"wrapText"),X=o((e,h,r,a,l,y,f)=>{const d=Bt(h),m=f*1.05,u=e.append("text").attr("class",l).attr("text-anchor",y).attr("x",r).attr("y",a-(d.length-1)*m/2);for(const[k,g]of d.entries())u.append("tspan").attr("x",r).attr("dy",k===0?0:m).text(g);return u},"drawMultilineText"),lt=o((e,h,r)=>e+(h-e)*r,"lerp"),z=o((e,h,r,a,l,y,f)=>{if(f){const d=f.roughSvg.line(h,r,a,l,{roughness:1.5,seed:f.seed,stroke:f.lineColor,strokeWidth:2});e.append(()=>d).attr("class",y);return}return e.append("line").attr("class",y).attr("x1",h).attr("y1",r).attr("x2",a).attr("y2",l)},"drawLine"),Nt={draw:It},Dt=o(e=>`
5
+ `+s+"^"},"showPosition"),test_match:o(function(t,s){var i,c,f;if(this.options.backtrack_lexer&&(f={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(f.yylloc.range=this.yylloc.range.slice(0))),c=t[0].match(/(?:\r\n?|\n).*/g),c&&(this.yylineno+=c.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:c?c[c.length-1].length-c[c.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],i=this.performAction.call(this,this.yy,this,s,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),i)return i;if(this._backtrack){for(var n in f)this[n]=f[n];return!1}return!1},"test_match"),next:o(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var t,s,i,c;this._more||(this.yytext="",this.match="");for(var f=this._currentRules(),n=0;n<f.length;n++)if(i=this._input.match(this.rules[f[n]]),i&&(!s||i[0].length>s[0].length)){if(s=i,c=n,this.options.backtrack_lexer){if(t=this.test_match(i,f[n]),t!==!1)return t;if(this._backtrack){s=!1;continue}else return!1}else if(!this.options.flex)break}return s?(t=this.test_match(s,f[c]),t!==!1?t:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
6
+ `+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:o(function(){var s=this.next();return s||this.lex()},"lex"),begin:o(function(s){this.conditionStack.push(s)},"begin"),popState:o(function(){var s=this.conditionStack.length-1;return s>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:o(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:o(function(s){return s=this.conditionStack.length-1-Math.abs(s||0),s>=0?this.conditionStack[s]:"INITIAL"},"topState"),pushState:o(function(s){this.begin(s)},"pushState"),stateStackSize:o(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:o(function(s,i,c,f){switch(c){case 0:return 6;case 1:return 8;case 2:return 8;case 3:return 6;case 4:return 7;case 5:return 13;case 6:return 14;case 7:return 11}},"anonymous"),rules:[/^(?:\s*%%.*)/i,/^(?:ishikawa-beta\b)/i,/^(?:ishikawa\b)/i,/^(?:[\s]+[\n])/i,/^(?:[\n]+)/i,/^(?:[\s]+)/i,/^(?:[^\n]+)/i,/^(?:$)/i],conditions:{INITIAL:{rules:[0,1,2,3,4,5,6,7],inclusive:!0}}};return T})();D.lexer=O;function E(){this.yy={}}return o(E,"Parser"),E.prototype=D,D.Parser=E,new E})();J.parser=J;var xt=J,H,vt=(H=class{constructor(){this.stack=[],this.clear=this.clear.bind(this),this.addNode=this.addNode.bind(this),this.getRoot=this.getRoot.bind(this)}clear(){this.root=void 0,this.stack=[],this.baseLevel=void 0,pt()}getRoot(){return this.root}addNode(h,r){const a=ft.sanitizeText(r,ot());if(!this.root){this.root={text:a,children:[]},this.stack=[{level:0,node:this.root}],it(a);return}this.baseLevel??=h;let l=h-this.baseLevel+1;for(l<=0&&(l=1);this.stack.length>1&&this.stack[this.stack.length-1].level>=l;)this.stack.pop();const y=this.stack[this.stack.length-1].node,p={text:a,children:[]};y.children.push(p),this.stack.push({level:l,node:p})}getAccTitle(){return gt()}setAccTitle(h){kt(h)}getAccDescription(){return mt()}setAccDescription(h){wt(h)}getDiagramTitle(){return _t()}setDiagramTitle(h){it(h)}},o(H,"IshikawaDB"),H),St=14,j=250,$t=30,Et=60,At=5,ht=82*Math.PI/180,st=Math.cos(ht),nt=Math.sin(ht),at=o((e,h,r)=>{const a=e.node().getBBox(),l=a.width+h*2,y=a.height+h*2;bt(e,y,l,r),e.attr("viewBox",`${a.x-h} ${a.y-h} ${l} ${y}`)},"applyPaddedViewBox"),It=o((e,h,r,a)=>{const y=a.db.getRoot();if(!y)return;const p=ot(),{look:d,handDrawnSeed:m,themeVariables:u}=p,k=ut(p.fontSize)[0]??St,g=d==="handDrawn",_=y.children??[],x=p.ishikawa?.diagramPadding??20,D=p.ishikawa?.useMaxWidth??!1,O=dt(h),E=O.append("g").attr("class","ishikawa"),T=g?yt.svg(O.node()):void 0,t=T?{roughSvg:T,seed:m??0,lineColor:u?.lineColor??"#333",fillColor:u?.mainBkg??"#fff"}:void 0,s=`ishikawa-arrow-${h}`;g||E.append("defs").append("marker").attr("id",s).attr("viewBox","0 0 10 10").attr("refX",0).attr("refY",5).attr("markerWidth",6).attr("markerHeight",6).attr("orient","auto").append("path").attr("d","M 10 0 L 0 5 L 10 10 Z").attr("class","ishikawa-arrow");let i=0,c=j;const f=g?void 0:z(E,i,c,i,c,"ishikawa-spine");if(Lt(E,i,c,y.text,k,t),!_.length){g&&z(E,i,c,i,c,"ishikawa-spine",t),at(O,x,D);return}i-=20;const n=_.filter((S,P)=>P%2===0),v=_.filter((S,P)=>P%2===1),w=rt(n),I=rt(v),$=w.total+I.total;let L=j,A=j;if($>0){const S=j*2,P=j*.3;L=Math.max(P,S*(w.total/$)),A=Math.max(P,S*(I.total/$))}const C=k*2;L=Math.max(L,w.max*C),A=Math.max(A,I.max*C),c=Math.max(L,j),f&&f.attr("y1",c).attr("y2",c),E.select(".ishikawa-head-group").attr("transform",`translate(0,${c})`);const b=Math.ceil(_.length/2);for(let S=0;S<b;S++){const P=E.append("g").attr("class","ishikawa-pair");for(const[R,G,Y]of[[_[S*2],-1,L],[_[S*2+1],1,A]])R&&Pt(P,R,i,c,G,Y,k,t);i=P.selectAll("text").nodes().reduce((R,G)=>Math.min(R,G.getBBox().x),1/0)}if(g)z(E,i,c,0,c,"ishikawa-spine",t);else{f.attr("x1",i);const S=`url(#${s})`;E.selectAll("line.ishikawa-branch, line.ishikawa-sub-branch").attr("marker-start",S)}at(O,x,D)},"draw"),rt=o(e=>{const h=o(r=>r.children.reduce((a,l)=>a+1+h(l),0),"countDescendants");return e.reduce((r,a)=>{const l=h(a);return r.total+=l,r.max=Math.max(r.max,l),r},{total:0,max:0})},"sideStats"),Lt=o((e,h,r,a,l,y)=>{const p=Math.max(6,Math.floor(110/(l*.6))),d=e.append("g").attr("class","ishikawa-head-group").attr("transform",`translate(${h},${r})`),m=X(d,ct(a,p),0,0,"ishikawa-head-label","start",l),u=m.node().getBBox(),k=Math.max(60,u.width+6),g=Math.max(40,u.height*2+40),_=`M 0 ${-g/2} L 0 ${g/2} Q ${k*2.4} 0 0 ${-g/2} Z`;if(y){const x=y.roughSvg.path(_,{roughness:1.5,seed:y.seed,fill:y.fillColor,fillStyle:"hachure",fillWeight:2.5,hachureGap:5,stroke:y.lineColor,strokeWidth:2});d.insert(()=>x,":first-child").attr("class","ishikawa-head")}else d.insert("path",":first-child").attr("class","ishikawa-head").attr("d",_);m.attr("transform",`translate(${(k-u.width)/2-u.x+3},${-u.y-u.height/2})`)},"drawHead"),Tt=o((e,h)=>{const r=[],a=[],l=o((y,p,d)=>{const m=h===-1?[...y].reverse():y;for(const u of m){const k=r.length,g=u.children??[];r.push({depth:d,text:ct(u.text,15),parentIndex:p,childCount:g.length}),d%2===0?(a.push(k),g.length&&l(g,k,d+1)):(g.length&&l(g,k,d+1),a.push(k))}},"walk");return l(e,-1,2),{entries:r,yOrder:a}},"flattenTree"),Mt=o((e,h,r,a,l,y,p)=>{const d=e.append("g").attr("class","ishikawa-label-group"),u=X(d,h,r,a+11*l,"ishikawa-label cause","middle",y).node().getBBox();if(p){const k=p.roughSvg.rectangle(u.x-20,u.y-2,u.width+40,u.height+4,{roughness:1.5,seed:p.seed,fill:p.fillColor,fillStyle:"hachure",fillWeight:2.5,hachureGap:5,stroke:p.lineColor,strokeWidth:2});d.insert(()=>k,":first-child").attr("class","ishikawa-label-box")}else d.insert("rect",":first-child").attr("class","ishikawa-label-box").attr("x",u.x-20).attr("y",u.y-2).attr("width",u.width+40).attr("height",u.height+4)},"drawCauseLabel"),Q=o((e,h,r,a,l,y)=>{const p=Math.sqrt(a*a+l*l);if(p===0)return;const d=a/p,m=l/p,u=6,k=-m*u,g=d*u,_=h,x=r,D=`M ${_} ${x} L ${_-d*u*2+k} ${x-m*u*2+g} L ${_-d*u*2-k} ${x-m*u*2-g} Z`,O=y.roughSvg.path(D,{roughness:1,seed:y.seed,fill:y.lineColor,fillStyle:"solid",stroke:y.lineColor,strokeWidth:1});e.append(()=>O)},"drawArrowMarker"),Pt=o((e,h,r,a,l,y,p,d)=>{const m=h.children??[],u=y*(m.length?1:.2),k=-st*u,g=nt*u*l,_=r+k,x=a+g;if(z(e,r,a,_,x,"ishikawa-branch",d),d&&Q(e,r,a,r-_,a-x,d),Mt(e,h.text,_,x,l,p,d),!m.length)return;const{entries:D,yOrder:O}=Tt(m,l),E=D.length,T=new Array(E);for(const[f,n]of O.entries())T[n]=a+g*((f+1)/(E+1));const t=new Map;t.set(-1,{x0:r,y0:a,x1:_,y1:x,childCount:m.length,childrenDrawn:0});const s=-st,i=nt*l,c=l<0?"ishikawa-label up":"ishikawa-label down";for(const[f,n]of D.entries()){const v=T[f],w=t.get(n.parentIndex),I=e.append("g").attr("class","ishikawa-sub-group");let $=0,L=0,A=0;if(n.depth%2===0){const C=w.y1-w.y0;$=lt(w.x0,w.x1,C?(v-w.y0)/C:.5),L=v,A=$-(n.childCount>0?Et+n.childCount*At:$t),z(I,$,v,A,v,"ishikawa-sub-branch",d),d&&Q(I,$,v,1,0,d),X(I,n.text,A,v,"ishikawa-label align","end",p)}else{const C=w.childrenDrawn++;$=lt(w.x0,w.x1,(w.childCount-C)/(w.childCount+1)),L=w.y0,A=$+s*((v-L)/i),z(I,$,L,A,v,"ishikawa-sub-branch",d),d&&Q(I,$,L,$-A,L-v,d),X(I,n.text,A,v,c,"end",p)}n.childCount>0&&t.set(f,{x0:$,y0:L,x1:A,y1:v,childCount:n.childCount,childrenDrawn:0})}},"drawBranch"),Bt=o(e=>e.split(/<br\s*\/?>|\n/),"splitLines"),ct=o((e,h)=>{if(e.length<=h)return e;const r=[];for(const a of e.split(/\s+/)){const l=r.length-1;l>=0&&r[l].length+1+a.length<=h?r[l]+=" "+a:r.push(a)}return r.join(`
7
+ `)},"wrapText"),X=o((e,h,r,a,l,y,p)=>{const d=Bt(h),m=p*1.05,u=e.append("text").attr("class",l).attr("text-anchor",y).attr("x",r).attr("y",a-(d.length-1)*m/2);for(const[k,g]of d.entries())u.append("tspan").attr("x",r).attr("dy",k===0?0:m).text(g);return u},"drawMultilineText"),lt=o((e,h,r)=>e+(h-e)*r,"lerp"),z=o((e,h,r,a,l,y,p)=>{if(p){const d=p.roughSvg.line(h,r,a,l,{roughness:1.5,seed:p.seed,stroke:p.lineColor,strokeWidth:2});e.append(()=>d).attr("class",y);return}return e.append("line").attr("class",y).attr("x1",h).attr("y1",r).attr("x2",a).attr("y2",l)},"drawLine"),Nt={draw:It},Dt=o(e=>`
8
8
  .ishikawa .ishikawa-spine,
9
9
  .ishikawa .ishikawa-branch,
10
10
  .ishikawa .ishikawa-sub-branch {
@@ -67,4 +67,4 @@ Expecting `+Z.join(", ")+", got '"+(this.terminals_[M]||M)+"'":K="Parse error on
67
67
  .ishikawa .ishikawa-label.down {
68
68
  dominant-baseline: hanging;
69
69
  }
70
- `,"getStyles"),Ot=Dt,Ft={parser:xt,get db(){return new vt},renderer:Nt,styles:Ot};export{Ft as diagram};
70
+ `,"getStyles"),Ot=Dt,jt={parser:xt,get db(){return new vt},renderer:Nt,styles:Ot};export{jt as diagram};
@@ -1,4 +1,4 @@
1
- import{g as gt}from"./chunk-5VM5RSS4-D-wJHR6M.js";import{a as mt,b as lt,h as xt,d as kt}from"./chunk-F27PBJKO-8NR-zAd5.js";import{g as _t,s as vt,a as bt,b as wt,q as Tt,p as St,_ as s,c as R,j as X,d as $t,r as Mt}from"./mermaid.core-Ct-yf2jz.js";import{d as it}from"./arc-Dog_3KmJ.js";import"./index-CYFJ0B6M.js";import"./FilePreviewLoading-OzdyIhrT.js";import"./mobile-dialog-return-service-8H0QudXS.js";var U=(function(){var t=s(function(h,r,n,l){for(n=n||{},l=h.length;l--;n[h[l]]=r);return n},"o"),e=[6,8,10,11,12,14,16,17,18],a=[1,9],f=[1,10],i=[1,11],u=[1,12],p=[1,13],o=[1,14],g={trace:s(function(){},"trace"),yy:{},symbols_:{error:2,start:3,journey:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,title:11,acc_title:12,acc_title_value:13,acc_descr:14,acc_descr_value:15,acc_descr_multiline_value:16,section:17,taskName:18,taskData:19,$accept:0,$end:1},terminals_:{2:"error",4:"journey",6:"EOF",8:"SPACE",10:"NEWLINE",11:"title",12:"acc_title",13:"acc_title_value",14:"acc_descr",15:"acc_descr_value",16:"acc_descr_multiline_value",17:"section",18:"taskName",19:"taskData"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,2]],performAction:s(function(r,n,l,y,d,c,v){var k=c.length-1;switch(d){case 1:return c[k-1];case 2:this.$=[];break;case 3:c[k-1].push(c[k]),this.$=c[k-1];break;case 4:case 5:this.$=c[k];break;case 6:case 7:this.$=[];break;case 8:y.setDiagramTitle(c[k].substr(6)),this.$=c[k].substr(6);break;case 9:this.$=c[k].trim(),y.setAccTitle(this.$);break;case 10:case 11:this.$=c[k].trim(),y.setAccDescription(this.$);break;case 12:y.addSection(c[k].substr(8)),this.$=c[k].substr(8);break;case 13:y.addTask(c[k-1],c[k]),this.$="task";break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:a,12:f,14:i,16:u,17:p,18:o},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:15,11:a,12:f,14:i,16:u,17:p,18:o},t(e,[2,5]),t(e,[2,6]),t(e,[2,8]),{13:[1,16]},{15:[1,17]},t(e,[2,11]),t(e,[2,12]),{19:[1,18]},t(e,[2,4]),t(e,[2,9]),t(e,[2,10]),t(e,[2,13])],defaultActions:{},parseError:s(function(r,n){if(n.recoverable)this.trace(r);else{var l=new Error(r);throw l.hash=n,l}},"parseError"),parse:s(function(r){var n=this,l=[0],y=[],d=[null],c=[],v=this.table,k="",C=0,Q=0,yt=2,D=1,dt=c.slice.call(arguments,1),_=Object.create(this.lexer),I={yy:{}};for(var O in this.yy)Object.prototype.hasOwnProperty.call(this.yy,O)&&(I.yy[O]=this.yy[O]);_.setInput(r,I.yy),I.yy.lexer=_,I.yy.parser=this,typeof _.yylloc>"u"&&(_.yylloc={});var Y=_.yylloc;c.push(Y);var ft=_.options&&_.options.ranges;typeof I.yy.parseError=="function"?this.parseError=I.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function pt(w){l.length=l.length-2*w,d.length=d.length-w,c.length=c.length-w}s(pt,"popStack");function tt(){var w;return w=y.pop()||_.lex()||D,typeof w!="number"&&(w instanceof Array&&(y=w,w=y.pop()),w=n.symbols_[w]||w),w}s(tt,"lex");for(var b,A,T,q,F={},N,M,et,z;;){if(A=l[l.length-1],this.defaultActions[A]?T=this.defaultActions[A]:((b===null||typeof b>"u")&&(b=tt()),T=v[A]&&v[A][b]),typeof T>"u"||!T.length||!T[0]){var H="";z=[];for(N in v[A])this.terminals_[N]&&N>yt&&z.push("'"+this.terminals_[N]+"'");_.showPosition?H="Parse error on line "+(C+1)+`:
1
+ import{g as gt}from"./chunk-5VM5RSS4-DOjeP0nb.js";import{a as mt,b as lt,h as xt,d as kt}from"./chunk-F27PBJKO-BcVSMrTE.js";import{g as _t,s as vt,a as bt,b as wt,q as Tt,p as St,_ as s,c as R,j as X,d as $t,r as Mt}from"./mermaid.core-Dy6ET9-Q.js";import{d as it}from"./arc-BqpnsZyy.js";import"./index-DL13dgZ3.js";import"./FilePreviewLoading-DA-2VsTB.js";import"./workbench-live-service-B1nVp-rC.js";import"./mobile-dialog-return-service-DlLb35Lg.js";var U=(function(){var t=s(function(h,r,n,l){for(n=n||{},l=h.length;l--;n[h[l]]=r);return n},"o"),e=[6,8,10,11,12,14,16,17,18],a=[1,9],f=[1,10],i=[1,11],u=[1,12],p=[1,13],o=[1,14],g={trace:s(function(){},"trace"),yy:{},symbols_:{error:2,start:3,journey:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,title:11,acc_title:12,acc_title_value:13,acc_descr:14,acc_descr_value:15,acc_descr_multiline_value:16,section:17,taskName:18,taskData:19,$accept:0,$end:1},terminals_:{2:"error",4:"journey",6:"EOF",8:"SPACE",10:"NEWLINE",11:"title",12:"acc_title",13:"acc_title_value",14:"acc_descr",15:"acc_descr_value",16:"acc_descr_multiline_value",17:"section",18:"taskName",19:"taskData"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,2]],performAction:s(function(r,n,l,y,d,c,v){var k=c.length-1;switch(d){case 1:return c[k-1];case 2:this.$=[];break;case 3:c[k-1].push(c[k]),this.$=c[k-1];break;case 4:case 5:this.$=c[k];break;case 6:case 7:this.$=[];break;case 8:y.setDiagramTitle(c[k].substr(6)),this.$=c[k].substr(6);break;case 9:this.$=c[k].trim(),y.setAccTitle(this.$);break;case 10:case 11:this.$=c[k].trim(),y.setAccDescription(this.$);break;case 12:y.addSection(c[k].substr(8)),this.$=c[k].substr(8);break;case 13:y.addTask(c[k-1],c[k]),this.$="task";break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:a,12:f,14:i,16:u,17:p,18:o},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:15,11:a,12:f,14:i,16:u,17:p,18:o},t(e,[2,5]),t(e,[2,6]),t(e,[2,8]),{13:[1,16]},{15:[1,17]},t(e,[2,11]),t(e,[2,12]),{19:[1,18]},t(e,[2,4]),t(e,[2,9]),t(e,[2,10]),t(e,[2,13])],defaultActions:{},parseError:s(function(r,n){if(n.recoverable)this.trace(r);else{var l=new Error(r);throw l.hash=n,l}},"parseError"),parse:s(function(r){var n=this,l=[0],y=[],d=[null],c=[],v=this.table,k="",C=0,Q=0,yt=2,D=1,dt=c.slice.call(arguments,1),_=Object.create(this.lexer),I={yy:{}};for(var O in this.yy)Object.prototype.hasOwnProperty.call(this.yy,O)&&(I.yy[O]=this.yy[O]);_.setInput(r,I.yy),I.yy.lexer=_,I.yy.parser=this,typeof _.yylloc>"u"&&(_.yylloc={});var Y=_.yylloc;c.push(Y);var ft=_.options&&_.options.ranges;typeof I.yy.parseError=="function"?this.parseError=I.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function pt(w){l.length=l.length-2*w,d.length=d.length-w,c.length=c.length-w}s(pt,"popStack");function tt(){var w;return w=y.pop()||_.lex()||D,typeof w!="number"&&(w instanceof Array&&(y=w,w=y.pop()),w=n.symbols_[w]||w),w}s(tt,"lex");for(var b,A,T,q,F={},N,M,et,z;;){if(A=l[l.length-1],this.defaultActions[A]?T=this.defaultActions[A]:((b===null||typeof b>"u")&&(b=tt()),T=v[A]&&v[A][b]),typeof T>"u"||!T.length||!T[0]){var H="";z=[];for(N in v[A])this.terminals_[N]&&N>yt&&z.push("'"+this.terminals_[N]+"'");_.showPosition?H="Parse error on line "+(C+1)+`:
2
2
  `+_.showPosition()+`
3
3
  Expecting `+z.join(", ")+", got '"+(this.terminals_[b]||b)+"'":H="Parse error on line "+(C+1)+": Unexpected "+(b==D?"end of input":"'"+(this.terminals_[b]||b)+"'"),this.parseError(H,{text:_.match,token:this.terminals_[b]||b,line:_.yylineno,loc:Y,expected:z})}if(T[0]instanceof Array&&T.length>1)throw new Error("Parse Error: multiple actions possible at state: "+A+", token: "+b);switch(T[0]){case 1:l.push(b),d.push(_.yytext),c.push(_.yylloc),l.push(T[1]),b=null,Q=_.yyleng,k=_.yytext,C=_.yylineno,Y=_.yylloc;break;case 2:if(M=this.productions_[T[1]][1],F.$=d[d.length-M],F._$={first_line:c[c.length-(M||1)].first_line,last_line:c[c.length-1].last_line,first_column:c[c.length-(M||1)].first_column,last_column:c[c.length-1].last_column},ft&&(F._$.range=[c[c.length-(M||1)].range[0],c[c.length-1].range[1]]),q=this.performAction.apply(F,[k,Q,C,I.yy,T[1],d,c].concat(dt)),typeof q<"u")return q;M&&(l=l.slice(0,-1*M*2),d=d.slice(0,-1*M),c=c.slice(0,-1*M)),l.push(this.productions_[T[1]][0]),d.push(F.$),c.push(F._$),et=v[l[l.length-2]][l[l.length-1]],l.push(et);break;case 3:return!0}}return!0},"parse")},m=(function(){var h={EOF:1,parseError:s(function(n,l){if(this.yy.parser)this.yy.parser.parseError(n,l);else throw new Error(n)},"parseError"),setInput:s(function(r,n){return this.yy=n||this.yy||{},this._input=r,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:s(function(){var r=this._input[0];this.yytext+=r,this.yyleng++,this.offset++,this.match+=r,this.matched+=r;var n=r.match(/(?:\r\n?|\n).*/g);return n?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),r},"input"),unput:s(function(r){var n=r.length,l=r.split(/(?:\r\n?|\n)/g);this._input=r+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-n),this.offset-=n;var y=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),l.length-1&&(this.yylineno-=l.length-1);var d=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:l?(l.length===y.length?this.yylloc.first_column:0)+y[y.length-l.length].length-l[0].length:this.yylloc.first_column-n},this.options.ranges&&(this.yylloc.range=[d[0],d[0]+this.yyleng-n]),this.yyleng=this.yytext.length,this},"unput"),more:s(function(){return this._more=!0,this},"more"),reject:s(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
4
4
  `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:s(function(r){this.unput(this.match.slice(r))},"less"),pastInput:s(function(){var r=this.matched.substr(0,this.matched.length-this.match.length);return(r.length>20?"...":"")+r.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:s(function(){var r=this.match;return r.length<20&&(r+=this._input.substr(0,20-r.length)),(r.substr(0,20)+(r.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:s(function(){var r=this.pastInput(),n=new Array(r.length+1).join("-");return r+this.upcomingInput()+`
@@ -136,4 +136,4 @@ Expecting `+z.join(", ")+", got '"+(this.terminals_[b]||b)+"'":H="Parse error on
136
136
  ${t.actor5?`fill: ${t.actor5}`:""};
137
137
  }
138
138
  ${gt()}
139
- `,"getStyles"),jt=Bt,K=s(function(t,e){return kt(t,e)},"drawRect"),Nt=s(function(t,e){const f=t.append("circle").attr("cx",e.cx).attr("cy",e.cy).attr("class","face").attr("r",15).attr("stroke-width",2).attr("overflow","visible"),i=t.append("g");i.append("circle").attr("cx",e.cx-15/3).attr("cy",e.cy-15/3).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666"),i.append("circle").attr("cx",e.cx+15/3).attr("cy",e.cy-15/3).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666");function u(g){const m=it().startAngle(Math.PI/2).endAngle(3*(Math.PI/2)).innerRadius(7.5).outerRadius(6.8181818181818175);g.append("path").attr("class","mouth").attr("d",m).attr("transform","translate("+e.cx+","+(e.cy+2)+")")}s(u,"smile");function p(g){const m=it().startAngle(3*Math.PI/2).endAngle(5*(Math.PI/2)).innerRadius(7.5).outerRadius(6.8181818181818175);g.append("path").attr("class","mouth").attr("d",m).attr("transform","translate("+e.cx+","+(e.cy+7)+")")}s(p,"sad");function o(g){g.append("line").attr("class","mouth").attr("stroke",2).attr("x1",e.cx-5).attr("y1",e.cy+7).attr("x2",e.cx+5).attr("y2",e.cy+7).attr("class","mouth").attr("stroke-width","1px").attr("stroke","#666")}return s(o,"ambivalent"),e.score>3?u(i):e.score<3?p(i):o(i),f},"drawFace"),ot=s(function(t,e){const a=t.append("circle");return a.attr("cx",e.cx),a.attr("cy",e.cy),a.attr("class","actor-"+e.pos),a.attr("fill",e.fill),a.attr("stroke",e.stroke),a.attr("r",e.r),a.class!==void 0&&a.attr("class",a.class),e.title!==void 0&&a.append("title").text(e.title),a},"drawCircle"),ct=s(function(t,e){return xt(t,e)},"drawText"),zt=s(function(t,e){function a(i,u,p,o,g){return i+","+u+" "+(i+p)+","+u+" "+(i+p)+","+(u+o-g)+" "+(i+p-g*1.2)+","+(u+o)+" "+i+","+(u+o)}s(a,"genPoints");const f=t.append("polygon");f.attr("points",a(e.x,e.y,50,20,7)),f.attr("class","labelBox"),e.y=e.y+e.labelMargin,e.x=e.x+.5*e.labelMargin,ct(t,e)},"drawLabel"),Wt=s(function(t,e,a){const f=t.append("g"),i=lt();i.x=e.x,i.y=e.y,i.fill=e.fill,i.width=a.width*e.taskCount+a.diagramMarginX*(e.taskCount-1),i.height=a.height,i.class="journey-section section-type-"+e.num,i.rx=3,i.ry=3,K(f,i),ht(a)(e.text,f,i.x,i.y,i.width,i.height,{class:"journey-section section-type-"+e.num},a,e.colour)},"drawSection"),Z=-1,Ot=s(function(t,e,a,f){const i=e.x+a.width/2,u=t.append("g");Z++,u.append("line").attr("id",f+"-task"+Z).attr("x1",i).attr("y1",e.y).attr("x2",i).attr("y2",450).attr("class","task-line").attr("stroke-width","1px").attr("stroke-dasharray","4 2").attr("stroke","#666"),Nt(u,{cx:i,cy:300+(5-e.score)*30,score:e.score});const o=lt();o.x=e.x,o.y=e.y,o.fill=e.fill,o.width=a.width,o.height=a.height,o.class="task task-type-"+e.num,o.rx=3,o.ry=3,K(u,o);let g=e.x+14;e.people.forEach(m=>{const x=e.actors[m].color,h={cx:g,cy:e.y,r:7,fill:x,stroke:"#000",title:m,pos:e.actors[m].position};ot(u,h),g+=10}),ht(a)(e.task,u,o.x,o.y,o.width,o.height,{class:"task"},a,e.colour)},"drawTask"),Yt=s(function(t,e){mt(t,e)},"drawBackgroundRect"),ht=(function(){function t(i,u,p,o,g,m,x,h){const r=u.append("text").attr("x",p+g/2).attr("y",o+m/2+5).style("font-color",h).style("text-anchor","middle").text(i);f(r,x)}s(t,"byText");function e(i,u,p,o,g,m,x,h,r){const{taskFontSize:n,taskFontFamily:l}=h,y=i.split(/<br\s*\/?>/gi);for(let d=0;d<y.length;d++){const c=d*n-n*(y.length-1)/2,v=u.append("text").attr("x",p+g/2).attr("y",o).attr("fill",r).style("text-anchor","middle").style("font-size",n).style("font-family",l);v.append("tspan").attr("x",p+g/2).attr("dy",c).text(y[d]),v.attr("y",o+m/2).attr("dominant-baseline","central").attr("alignment-baseline","central"),f(v,x)}}s(e,"byTspan");function a(i,u,p,o,g,m,x,h){const r=u.append("switch"),l=r.append("foreignObject").attr("x",p).attr("y",o).attr("width",g).attr("height",m).attr("position","fixed").append("xhtml:div").style("display","table").style("height","100%").style("width","100%");l.append("div").attr("class","label").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(i),e(i,r,p,o,g,m,x,h),f(l,x)}s(a,"byFo");function f(i,u){for(const p in u)p in u&&i.attr(p,u[p])}return s(f,"_setTextAttrs"),function(i){return i.textPlacement==="fo"?a:i.textPlacement==="old"?t:e}})(),qt=s(function(t,e){Z=-1,t.append("defs").append("marker").attr("id",e+"-arrowhead").attr("refX",5).attr("refY",2).attr("markerWidth",6).attr("markerHeight",4).attr("orient","auto").append("path").attr("d","M 0,0 V 4 L6,2 Z")},"initGraphics"),j={drawRect:K,drawCircle:ot,drawSection:Wt,drawText:ct,drawLabel:zt,drawTask:Ot,drawBackgroundRect:Yt,initGraphics:qt},Ht=s(function(t){Object.keys(t).forEach(function(a){$[a]=t[a]})},"setConf"),E={},W=0;function ut(t){const e=R().journey,a=e.maxLabelWidth;W=0;let f=60;Object.keys(E).forEach(i=>{const u=E[i].color,p={cx:20,cy:f,r:7,fill:u,stroke:"#000",pos:E[i].position};j.drawCircle(t,p);let o=t.append("text").attr("visibility","hidden").text(i);const g=o.node().getBoundingClientRect().width;o.remove();let m=[];if(g<=a)m=[i];else{const x=i.split(" ");let h="";o=t.append("text").attr("visibility","hidden"),x.forEach(r=>{const n=h?`${h} ${r}`:r;if(o.text(n),o.node().getBoundingClientRect().width>a){if(h&&m.push(h),h=r,o.text(r),o.node().getBoundingClientRect().width>a){let y="";for(const d of r)y+=d,o.text(y+"-"),o.node().getBoundingClientRect().width>a&&(m.push(y.slice(0,-1)+"-"),y=d);h=y}}else h=n}),h&&m.push(h),o.remove()}m.forEach((x,h)=>{const r={x:40,y:f+7+h*20,fill:"#666",text:x,textMargin:e.boxTextMargin??5},l=j.drawText(t,r).node().getBoundingClientRect().width;l>W&&l>e.leftMargin-l&&(W=l)}),f+=Math.max(20,m.length*20)})}s(ut,"drawActorLegend");var $=R().journey,P=0,Xt=s(function(t,e,a,f){const i=R(),u=i.journey.titleColor,p=i.journey.titleFontSize,o=i.journey.titleFontFamily,g=i.securityLevel;let m;g==="sandbox"&&(m=X("#i"+e));const x=g==="sandbox"?X(m.nodes()[0].contentDocument.body):X("body");S.init();const h=x.select("#"+e);j.initGraphics(h,e);const r=f.db.getTasks(),n=f.db.getDiagramTitle(),l=f.db.getActors();for(const C in E)delete E[C];let y=0;l.forEach(C=>{E[C]={color:$.actorColours[y%$.actorColours.length],position:y},y++}),ut(h),P=$.leftMargin+W,S.insert(0,0,P,Object.keys(E).length*50),Gt(h,r,0,e);const d=S.getBounds();n&&h.append("text").text(n).attr("x",P).attr("font-size",p).attr("font-weight","bold").attr("y",25).attr("fill",u).attr("font-family",o);const c=d.stopy-d.starty+2*$.diagramMarginY,v=P+d.stopx+2*$.diagramMarginX;$t(h,c,v,$.useMaxWidth),h.append("line").attr("x1",P).attr("y1",$.height*4).attr("x2",v-P-4).attr("y2",$.height*4).attr("stroke-width",4).attr("stroke","black").attr("marker-end","url(#"+e+"-arrowhead)");const k=n?70:0;h.attr("viewBox",`${d.startx} -25 ${v} ${c+k}`),h.attr("preserveAspectRatio","xMinYMin meet"),h.attr("height",c+k+25)},"draw"),S={data:{startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},verticalPos:0,sequenceItems:[],init:s(function(){this.sequenceItems=[],this.data={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},this.verticalPos=0},"init"),updateVal:s(function(t,e,a,f){t[e]===void 0?t[e]=a:t[e]=f(a,t[e])},"updateVal"),updateBounds:s(function(t,e,a,f){const i=R().journey,u=this;let p=0;function o(g){return s(function(x){p++;const h=u.sequenceItems.length-p+1;u.updateVal(x,"starty",e-h*i.boxMargin,Math.min),u.updateVal(x,"stopy",f+h*i.boxMargin,Math.max),u.updateVal(S.data,"startx",t-h*i.boxMargin,Math.min),u.updateVal(S.data,"stopx",a+h*i.boxMargin,Math.max),g!=="activation"&&(u.updateVal(x,"startx",t-h*i.boxMargin,Math.min),u.updateVal(x,"stopx",a+h*i.boxMargin,Math.max),u.updateVal(S.data,"starty",e-h*i.boxMargin,Math.min),u.updateVal(S.data,"stopy",f+h*i.boxMargin,Math.max))},"updateItemBounds")}s(o,"updateFn"),this.sequenceItems.forEach(o())},"updateBounds"),insert:s(function(t,e,a,f){const i=Math.min(t,a),u=Math.max(t,a),p=Math.min(e,f),o=Math.max(e,f);this.updateVal(S.data,"startx",i,Math.min),this.updateVal(S.data,"starty",p,Math.min),this.updateVal(S.data,"stopx",u,Math.max),this.updateVal(S.data,"stopy",o,Math.max),this.updateBounds(i,p,u,o)},"insert"),bumpVerticalPos:s(function(t){this.verticalPos=this.verticalPos+t,this.data.stopy=this.verticalPos},"bumpVerticalPos"),getVerticalPos:s(function(){return this.verticalPos},"getVerticalPos"),getBounds:s(function(){return this.data},"getBounds")},G=$.sectionFills,st=$.sectionColours,Gt=s(function(t,e,a,f){const i=R().journey;let u="";const p=i.height*2+i.diagramMarginY,o=a+p;let g=0,m="#CCC",x="black",h=0;for(const[r,n]of e.entries()){if(u!==n.section){m=G[g%G.length],h=g%G.length,x=st[g%st.length];let y=0;const d=n.section;for(let v=r;v<e.length&&e[v].section==d;v++)y=y+1;const c={x:r*i.taskMargin+r*i.width+P,y:50,text:n.section,fill:m,num:h,colour:x,taskCount:y};j.drawSection(t,c,i),u=n.section,g++}const l=n.people.reduce((y,d)=>(E[d]&&(y[d]=E[d]),y),{});n.x=r*i.taskMargin+r*i.width+P,n.y=o,n.width=i.diagramMarginX,n.height=i.diagramMarginY,n.colour=x,n.fill=m,n.num=h,n.actors=l,j.drawTask(t,n,i,f),S.insert(n.x,n.y,n.x+n.width+i.taskMargin,450)}},"drawTasks"),at={setConf:Ht,draw:Xt},ee={parser:Et,db:nt,renderer:at,styles:jt,init:s(t=>{at.setConf(t.journey),nt.clear()},"init")};export{ee as diagram};
139
+ `,"getStyles"),jt=Bt,K=s(function(t,e){return kt(t,e)},"drawRect"),Nt=s(function(t,e){const f=t.append("circle").attr("cx",e.cx).attr("cy",e.cy).attr("class","face").attr("r",15).attr("stroke-width",2).attr("overflow","visible"),i=t.append("g");i.append("circle").attr("cx",e.cx-15/3).attr("cy",e.cy-15/3).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666"),i.append("circle").attr("cx",e.cx+15/3).attr("cy",e.cy-15/3).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666");function u(g){const m=it().startAngle(Math.PI/2).endAngle(3*(Math.PI/2)).innerRadius(7.5).outerRadius(6.8181818181818175);g.append("path").attr("class","mouth").attr("d",m).attr("transform","translate("+e.cx+","+(e.cy+2)+")")}s(u,"smile");function p(g){const m=it().startAngle(3*Math.PI/2).endAngle(5*(Math.PI/2)).innerRadius(7.5).outerRadius(6.8181818181818175);g.append("path").attr("class","mouth").attr("d",m).attr("transform","translate("+e.cx+","+(e.cy+7)+")")}s(p,"sad");function o(g){g.append("line").attr("class","mouth").attr("stroke",2).attr("x1",e.cx-5).attr("y1",e.cy+7).attr("x2",e.cx+5).attr("y2",e.cy+7).attr("class","mouth").attr("stroke-width","1px").attr("stroke","#666")}return s(o,"ambivalent"),e.score>3?u(i):e.score<3?p(i):o(i),f},"drawFace"),ot=s(function(t,e){const a=t.append("circle");return a.attr("cx",e.cx),a.attr("cy",e.cy),a.attr("class","actor-"+e.pos),a.attr("fill",e.fill),a.attr("stroke",e.stroke),a.attr("r",e.r),a.class!==void 0&&a.attr("class",a.class),e.title!==void 0&&a.append("title").text(e.title),a},"drawCircle"),ct=s(function(t,e){return xt(t,e)},"drawText"),zt=s(function(t,e){function a(i,u,p,o,g){return i+","+u+" "+(i+p)+","+u+" "+(i+p)+","+(u+o-g)+" "+(i+p-g*1.2)+","+(u+o)+" "+i+","+(u+o)}s(a,"genPoints");const f=t.append("polygon");f.attr("points",a(e.x,e.y,50,20,7)),f.attr("class","labelBox"),e.y=e.y+e.labelMargin,e.x=e.x+.5*e.labelMargin,ct(t,e)},"drawLabel"),Wt=s(function(t,e,a){const f=t.append("g"),i=lt();i.x=e.x,i.y=e.y,i.fill=e.fill,i.width=a.width*e.taskCount+a.diagramMarginX*(e.taskCount-1),i.height=a.height,i.class="journey-section section-type-"+e.num,i.rx=3,i.ry=3,K(f,i),ht(a)(e.text,f,i.x,i.y,i.width,i.height,{class:"journey-section section-type-"+e.num},a,e.colour)},"drawSection"),Z=-1,Ot=s(function(t,e,a,f){const i=e.x+a.width/2,u=t.append("g");Z++,u.append("line").attr("id",f+"-task"+Z).attr("x1",i).attr("y1",e.y).attr("x2",i).attr("y2",450).attr("class","task-line").attr("stroke-width","1px").attr("stroke-dasharray","4 2").attr("stroke","#666"),Nt(u,{cx:i,cy:300+(5-e.score)*30,score:e.score});const o=lt();o.x=e.x,o.y=e.y,o.fill=e.fill,o.width=a.width,o.height=a.height,o.class="task task-type-"+e.num,o.rx=3,o.ry=3,K(u,o);let g=e.x+14;e.people.forEach(m=>{const x=e.actors[m].color,h={cx:g,cy:e.y,r:7,fill:x,stroke:"#000",title:m,pos:e.actors[m].position};ot(u,h),g+=10}),ht(a)(e.task,u,o.x,o.y,o.width,o.height,{class:"task"},a,e.colour)},"drawTask"),Yt=s(function(t,e){mt(t,e)},"drawBackgroundRect"),ht=(function(){function t(i,u,p,o,g,m,x,h){const r=u.append("text").attr("x",p+g/2).attr("y",o+m/2+5).style("font-color",h).style("text-anchor","middle").text(i);f(r,x)}s(t,"byText");function e(i,u,p,o,g,m,x,h,r){const{taskFontSize:n,taskFontFamily:l}=h,y=i.split(/<br\s*\/?>/gi);for(let d=0;d<y.length;d++){const c=d*n-n*(y.length-1)/2,v=u.append("text").attr("x",p+g/2).attr("y",o).attr("fill",r).style("text-anchor","middle").style("font-size",n).style("font-family",l);v.append("tspan").attr("x",p+g/2).attr("dy",c).text(y[d]),v.attr("y",o+m/2).attr("dominant-baseline","central").attr("alignment-baseline","central"),f(v,x)}}s(e,"byTspan");function a(i,u,p,o,g,m,x,h){const r=u.append("switch"),l=r.append("foreignObject").attr("x",p).attr("y",o).attr("width",g).attr("height",m).attr("position","fixed").append("xhtml:div").style("display","table").style("height","100%").style("width","100%");l.append("div").attr("class","label").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(i),e(i,r,p,o,g,m,x,h),f(l,x)}s(a,"byFo");function f(i,u){for(const p in u)p in u&&i.attr(p,u[p])}return s(f,"_setTextAttrs"),function(i){return i.textPlacement==="fo"?a:i.textPlacement==="old"?t:e}})(),qt=s(function(t,e){Z=-1,t.append("defs").append("marker").attr("id",e+"-arrowhead").attr("refX",5).attr("refY",2).attr("markerWidth",6).attr("markerHeight",4).attr("orient","auto").append("path").attr("d","M 0,0 V 4 L6,2 Z")},"initGraphics"),j={drawRect:K,drawCircle:ot,drawSection:Wt,drawText:ct,drawLabel:zt,drawTask:Ot,drawBackgroundRect:Yt,initGraphics:qt},Ht=s(function(t){Object.keys(t).forEach(function(a){$[a]=t[a]})},"setConf"),E={},W=0;function ut(t){const e=R().journey,a=e.maxLabelWidth;W=0;let f=60;Object.keys(E).forEach(i=>{const u=E[i].color,p={cx:20,cy:f,r:7,fill:u,stroke:"#000",pos:E[i].position};j.drawCircle(t,p);let o=t.append("text").attr("visibility","hidden").text(i);const g=o.node().getBoundingClientRect().width;o.remove();let m=[];if(g<=a)m=[i];else{const x=i.split(" ");let h="";o=t.append("text").attr("visibility","hidden"),x.forEach(r=>{const n=h?`${h} ${r}`:r;if(o.text(n),o.node().getBoundingClientRect().width>a){if(h&&m.push(h),h=r,o.text(r),o.node().getBoundingClientRect().width>a){let y="";for(const d of r)y+=d,o.text(y+"-"),o.node().getBoundingClientRect().width>a&&(m.push(y.slice(0,-1)+"-"),y=d);h=y}}else h=n}),h&&m.push(h),o.remove()}m.forEach((x,h)=>{const r={x:40,y:f+7+h*20,fill:"#666",text:x,textMargin:e.boxTextMargin??5},l=j.drawText(t,r).node().getBoundingClientRect().width;l>W&&l>e.leftMargin-l&&(W=l)}),f+=Math.max(20,m.length*20)})}s(ut,"drawActorLegend");var $=R().journey,P=0,Xt=s(function(t,e,a,f){const i=R(),u=i.journey.titleColor,p=i.journey.titleFontSize,o=i.journey.titleFontFamily,g=i.securityLevel;let m;g==="sandbox"&&(m=X("#i"+e));const x=g==="sandbox"?X(m.nodes()[0].contentDocument.body):X("body");S.init();const h=x.select("#"+e);j.initGraphics(h,e);const r=f.db.getTasks(),n=f.db.getDiagramTitle(),l=f.db.getActors();for(const C in E)delete E[C];let y=0;l.forEach(C=>{E[C]={color:$.actorColours[y%$.actorColours.length],position:y},y++}),ut(h),P=$.leftMargin+W,S.insert(0,0,P,Object.keys(E).length*50),Gt(h,r,0,e);const d=S.getBounds();n&&h.append("text").text(n).attr("x",P).attr("font-size",p).attr("font-weight","bold").attr("y",25).attr("fill",u).attr("font-family",o);const c=d.stopy-d.starty+2*$.diagramMarginY,v=P+d.stopx+2*$.diagramMarginX;$t(h,c,v,$.useMaxWidth),h.append("line").attr("x1",P).attr("y1",$.height*4).attr("x2",v-P-4).attr("y2",$.height*4).attr("stroke-width",4).attr("stroke","black").attr("marker-end","url(#"+e+"-arrowhead)");const k=n?70:0;h.attr("viewBox",`${d.startx} -25 ${v} ${c+k}`),h.attr("preserveAspectRatio","xMinYMin meet"),h.attr("height",c+k+25)},"draw"),S={data:{startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},verticalPos:0,sequenceItems:[],init:s(function(){this.sequenceItems=[],this.data={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},this.verticalPos=0},"init"),updateVal:s(function(t,e,a,f){t[e]===void 0?t[e]=a:t[e]=f(a,t[e])},"updateVal"),updateBounds:s(function(t,e,a,f){const i=R().journey,u=this;let p=0;function o(g){return s(function(x){p++;const h=u.sequenceItems.length-p+1;u.updateVal(x,"starty",e-h*i.boxMargin,Math.min),u.updateVal(x,"stopy",f+h*i.boxMargin,Math.max),u.updateVal(S.data,"startx",t-h*i.boxMargin,Math.min),u.updateVal(S.data,"stopx",a+h*i.boxMargin,Math.max),g!=="activation"&&(u.updateVal(x,"startx",t-h*i.boxMargin,Math.min),u.updateVal(x,"stopx",a+h*i.boxMargin,Math.max),u.updateVal(S.data,"starty",e-h*i.boxMargin,Math.min),u.updateVal(S.data,"stopy",f+h*i.boxMargin,Math.max))},"updateItemBounds")}s(o,"updateFn"),this.sequenceItems.forEach(o())},"updateBounds"),insert:s(function(t,e,a,f){const i=Math.min(t,a),u=Math.max(t,a),p=Math.min(e,f),o=Math.max(e,f);this.updateVal(S.data,"startx",i,Math.min),this.updateVal(S.data,"starty",p,Math.min),this.updateVal(S.data,"stopx",u,Math.max),this.updateVal(S.data,"stopy",o,Math.max),this.updateBounds(i,p,u,o)},"insert"),bumpVerticalPos:s(function(t){this.verticalPos=this.verticalPos+t,this.data.stopy=this.verticalPos},"bumpVerticalPos"),getVerticalPos:s(function(){return this.verticalPos},"getVerticalPos"),getBounds:s(function(){return this.data},"getBounds")},G=$.sectionFills,st=$.sectionColours,Gt=s(function(t,e,a,f){const i=R().journey;let u="";const p=i.height*2+i.diagramMarginY,o=a+p;let g=0,m="#CCC",x="black",h=0;for(const[r,n]of e.entries()){if(u!==n.section){m=G[g%G.length],h=g%G.length,x=st[g%st.length];let y=0;const d=n.section;for(let v=r;v<e.length&&e[v].section==d;v++)y=y+1;const c={x:r*i.taskMargin+r*i.width+P,y:50,text:n.section,fill:m,num:h,colour:x,taskCount:y};j.drawSection(t,c,i),u=n.section,g++}const l=n.people.reduce((y,d)=>(E[d]&&(y[d]=E[d]),y),{});n.x=r*i.taskMargin+r*i.width+P,n.y=o,n.width=i.diagramMarginX,n.height=i.diagramMarginY,n.colour=x,n.fill=m,n.num=h,n.actors=l,j.drawTask(t,n,i,f),S.insert(n.x,n.y,n.x+n.width+i.taskMargin,450)}},"drawTasks"),at={setConf:Ht,draw:Xt},ie={parser:Et,db:nt,renderer:at,styles:jt,init:s(t=>{at.setConf(t.journey),nt.clear()},"init")};export{ie as diagram};
@@ -1,4 +1,4 @@
1
- import{_ as o,l as te,c as H,G as fe,ag as ye,ah as me,ai as be,ae as Ee,E as K,i as j,Z as _e,$ as ke,ab as Se,ac as ce,ad as le}from"./mermaid.core-Ct-yf2jz.js";import{g as Ne}from"./chunk-5VM5RSS4-D-wJHR6M.js";import"./index-CYFJ0B6M.js";import"./FilePreviewLoading-OzdyIhrT.js";import"./mobile-dialog-return-service-8H0QudXS.js";var $=(function(){var e=o(function(O,i,n,r){for(n=n||{},r=O.length;r--;n[O[r]]=i);return n},"o"),h=[1,4],p=[1,13],s=[1,12],d=[1,15],E=[1,16],b=[1,20],l=[1,19],D=[6,7,8],I=[1,26],g=[1,24],w=[1,25],_=[6,7,11],F=[1,31],N=[6,7,11,24],V=[1,6,13,16,17,20,23],f=[1,35],A=[1,36],L=[1,6,7,11,13,16,17,20,23],M=[1,38],T={trace:o(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mindMap:4,spaceLines:5,SPACELINE:6,NL:7,KANBAN:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,node:14,shapeData:15,ICON:16,CLASS:17,nodeWithId:18,nodeWithoutId:19,NODE_DSTART:20,NODE_DESCR:21,NODE_DEND:22,NODE_ID:23,SHAPE_DATA:24,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"KANBAN",11:"EOF",13:"SPACELIST",16:"ICON",17:"CLASS",20:"NODE_DSTART",21:"NODE_DESCR",22:"NODE_DEND",23:"NODE_ID",24:"SHAPE_DATA"},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,3],[12,2],[12,2],[12,2],[12,1],[12,2],[12,1],[12,1],[12,1],[12,1],[14,1],[14,1],[19,3],[18,1],[18,4],[15,2],[15,1]],performAction:o(function(i,n,r,a,u,t,U){var c=t.length-1;switch(u){case 6:case 7:return a;case 8:a.getLogger().trace("Stop NL ");break;case 9:a.getLogger().trace("Stop EOF ");break;case 11:a.getLogger().trace("Stop NL2 ");break;case 12:a.getLogger().trace("Stop EOF2 ");break;case 15:a.getLogger().info("Node: ",t[c-1].id),a.addNode(t[c-2].length,t[c-1].id,t[c-1].descr,t[c-1].type,t[c]);break;case 16:a.getLogger().info("Node: ",t[c].id),a.addNode(t[c-1].length,t[c].id,t[c].descr,t[c].type);break;case 17:a.getLogger().trace("Icon: ",t[c]),a.decorateNode({icon:t[c]});break;case 18:case 23:a.decorateNode({class:t[c]});break;case 19:a.getLogger().trace("SPACELIST");break;case 20:a.getLogger().trace("Node: ",t[c-1].id),a.addNode(0,t[c-1].id,t[c-1].descr,t[c-1].type,t[c]);break;case 21:a.getLogger().trace("Node: ",t[c].id),a.addNode(0,t[c].id,t[c].descr,t[c].type);break;case 22:a.decorateNode({icon:t[c]});break;case 27:a.getLogger().trace("node found ..",t[c-2]),this.$={id:t[c-1],descr:t[c-1],type:a.getType(t[c-2],t[c])};break;case 28:this.$={id:t[c],descr:t[c],type:0};break;case 29:a.getLogger().trace("node found ..",t[c-3]),this.$={id:t[c-3],descr:t[c-1],type:a.getType(t[c-2],t[c])};break;case 30:this.$=t[c-1]+t[c];break;case 31:this.$=t[c];break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],8:h},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:h},{6:p,7:[1,10],9:9,12:11,13:s,14:14,16:d,17:E,18:17,19:18,20:b,23:l},e(D,[2,3]),{1:[2,2]},e(D,[2,4]),e(D,[2,5]),{1:[2,6],6:p,12:21,13:s,14:14,16:d,17:E,18:17,19:18,20:b,23:l},{6:p,9:22,12:11,13:s,14:14,16:d,17:E,18:17,19:18,20:b,23:l},{6:I,7:g,10:23,11:w},e(_,[2,24],{18:17,19:18,14:27,16:[1,28],17:[1,29],20:b,23:l}),e(_,[2,19]),e(_,[2,21],{15:30,24:F}),e(_,[2,22]),e(_,[2,23]),e(N,[2,25]),e(N,[2,26]),e(N,[2,28],{20:[1,32]}),{21:[1,33]},{6:I,7:g,10:34,11:w},{1:[2,7],6:p,12:21,13:s,14:14,16:d,17:E,18:17,19:18,20:b,23:l},e(V,[2,14],{7:f,11:A}),e(L,[2,8]),e(L,[2,9]),e(L,[2,10]),e(_,[2,16],{15:37,24:F}),e(_,[2,17]),e(_,[2,18]),e(_,[2,20],{24:M}),e(N,[2,31]),{21:[1,39]},{22:[1,40]},e(V,[2,13],{7:f,11:A}),e(L,[2,11]),e(L,[2,12]),e(_,[2,15],{24:M}),e(N,[2,30]),{22:[1,41]},e(N,[2,27]),e(N,[2,29])],defaultActions:{2:[2,1],6:[2,2]},parseError:o(function(i,n){if(n.recoverable)this.trace(i);else{var r=new Error(i);throw r.hash=n,r}},"parseError"),parse:o(function(i){var n=this,r=[0],a=[],u=[null],t=[],U=this.table,c="",W=0,se=0,ue=2,re=1,ge=t.slice.call(arguments,1),m=Object.create(this.lexer),R={yy:{}};for(var J in this.yy)Object.prototype.hasOwnProperty.call(this.yy,J)&&(R.yy[J]=this.yy[J]);m.setInput(i,R.yy),R.yy.lexer=m,R.yy.parser=this,typeof m.yylloc>"u"&&(m.yylloc={});var Z=m.yylloc;t.push(Z);var de=m.options&&m.options.ranges;typeof R.yy.parseError=="function"?this.parseError=R.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function pe(S){r.length=r.length-2*S,u.length=u.length-S,t.length=t.length-S}o(pe,"popStack");function ae(){var S;return S=a.pop()||m.lex()||re,typeof S!="number"&&(S instanceof Array&&(a=S,S=a.pop()),S=n.symbols_[S]||S),S}o(ae,"lex");for(var k,P,x,q,G={},z,C,oe,X;;){if(P=r[r.length-1],this.defaultActions[P]?x=this.defaultActions[P]:((k===null||typeof k>"u")&&(k=ae()),x=U[P]&&U[P][k]),typeof x>"u"||!x.length||!x[0]){var Q="";X=[];for(z in U[P])this.terminals_[z]&&z>ue&&X.push("'"+this.terminals_[z]+"'");m.showPosition?Q="Parse error on line "+(W+1)+`:
1
+ import{_ as o,l as te,c as H,G as fe,ag as ye,ah as me,ai as be,ae as Ee,E as K,i as j,Z as _e,$ as ke,ab as Se,ac as ce,ad as le}from"./mermaid.core-Dy6ET9-Q.js";import{g as Ne}from"./chunk-5VM5RSS4-DOjeP0nb.js";import"./index-DL13dgZ3.js";import"./FilePreviewLoading-DA-2VsTB.js";import"./workbench-live-service-B1nVp-rC.js";import"./mobile-dialog-return-service-DlLb35Lg.js";var $=(function(){var e=o(function(O,i,n,r){for(n=n||{},r=O.length;r--;n[O[r]]=i);return n},"o"),h=[1,4],p=[1,13],s=[1,12],d=[1,15],E=[1,16],b=[1,20],l=[1,19],D=[6,7,8],I=[1,26],g=[1,24],w=[1,25],_=[6,7,11],F=[1,31],N=[6,7,11,24],V=[1,6,13,16,17,20,23],f=[1,35],A=[1,36],L=[1,6,7,11,13,16,17,20,23],M=[1,38],T={trace:o(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mindMap:4,spaceLines:5,SPACELINE:6,NL:7,KANBAN:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,node:14,shapeData:15,ICON:16,CLASS:17,nodeWithId:18,nodeWithoutId:19,NODE_DSTART:20,NODE_DESCR:21,NODE_DEND:22,NODE_ID:23,SHAPE_DATA:24,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"KANBAN",11:"EOF",13:"SPACELIST",16:"ICON",17:"CLASS",20:"NODE_DSTART",21:"NODE_DESCR",22:"NODE_DEND",23:"NODE_ID",24:"SHAPE_DATA"},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,3],[12,2],[12,2],[12,2],[12,1],[12,2],[12,1],[12,1],[12,1],[12,1],[14,1],[14,1],[19,3],[18,1],[18,4],[15,2],[15,1]],performAction:o(function(i,n,r,a,u,t,U){var c=t.length-1;switch(u){case 6:case 7:return a;case 8:a.getLogger().trace("Stop NL ");break;case 9:a.getLogger().trace("Stop EOF ");break;case 11:a.getLogger().trace("Stop NL2 ");break;case 12:a.getLogger().trace("Stop EOF2 ");break;case 15:a.getLogger().info("Node: ",t[c-1].id),a.addNode(t[c-2].length,t[c-1].id,t[c-1].descr,t[c-1].type,t[c]);break;case 16:a.getLogger().info("Node: ",t[c].id),a.addNode(t[c-1].length,t[c].id,t[c].descr,t[c].type);break;case 17:a.getLogger().trace("Icon: ",t[c]),a.decorateNode({icon:t[c]});break;case 18:case 23:a.decorateNode({class:t[c]});break;case 19:a.getLogger().trace("SPACELIST");break;case 20:a.getLogger().trace("Node: ",t[c-1].id),a.addNode(0,t[c-1].id,t[c-1].descr,t[c-1].type,t[c]);break;case 21:a.getLogger().trace("Node: ",t[c].id),a.addNode(0,t[c].id,t[c].descr,t[c].type);break;case 22:a.decorateNode({icon:t[c]});break;case 27:a.getLogger().trace("node found ..",t[c-2]),this.$={id:t[c-1],descr:t[c-1],type:a.getType(t[c-2],t[c])};break;case 28:this.$={id:t[c],descr:t[c],type:0};break;case 29:a.getLogger().trace("node found ..",t[c-3]),this.$={id:t[c-3],descr:t[c-1],type:a.getType(t[c-2],t[c])};break;case 30:this.$=t[c-1]+t[c];break;case 31:this.$=t[c];break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],8:h},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:h},{6:p,7:[1,10],9:9,12:11,13:s,14:14,16:d,17:E,18:17,19:18,20:b,23:l},e(D,[2,3]),{1:[2,2]},e(D,[2,4]),e(D,[2,5]),{1:[2,6],6:p,12:21,13:s,14:14,16:d,17:E,18:17,19:18,20:b,23:l},{6:p,9:22,12:11,13:s,14:14,16:d,17:E,18:17,19:18,20:b,23:l},{6:I,7:g,10:23,11:w},e(_,[2,24],{18:17,19:18,14:27,16:[1,28],17:[1,29],20:b,23:l}),e(_,[2,19]),e(_,[2,21],{15:30,24:F}),e(_,[2,22]),e(_,[2,23]),e(N,[2,25]),e(N,[2,26]),e(N,[2,28],{20:[1,32]}),{21:[1,33]},{6:I,7:g,10:34,11:w},{1:[2,7],6:p,12:21,13:s,14:14,16:d,17:E,18:17,19:18,20:b,23:l},e(V,[2,14],{7:f,11:A}),e(L,[2,8]),e(L,[2,9]),e(L,[2,10]),e(_,[2,16],{15:37,24:F}),e(_,[2,17]),e(_,[2,18]),e(_,[2,20],{24:M}),e(N,[2,31]),{21:[1,39]},{22:[1,40]},e(V,[2,13],{7:f,11:A}),e(L,[2,11]),e(L,[2,12]),e(_,[2,15],{24:M}),e(N,[2,30]),{22:[1,41]},e(N,[2,27]),e(N,[2,29])],defaultActions:{2:[2,1],6:[2,2]},parseError:o(function(i,n){if(n.recoverable)this.trace(i);else{var r=new Error(i);throw r.hash=n,r}},"parseError"),parse:o(function(i){var n=this,r=[0],a=[],u=[null],t=[],U=this.table,c="",W=0,se=0,ue=2,re=1,ge=t.slice.call(arguments,1),m=Object.create(this.lexer),R={yy:{}};for(var J in this.yy)Object.prototype.hasOwnProperty.call(this.yy,J)&&(R.yy[J]=this.yy[J]);m.setInput(i,R.yy),R.yy.lexer=m,R.yy.parser=this,typeof m.yylloc>"u"&&(m.yylloc={});var Z=m.yylloc;t.push(Z);var de=m.options&&m.options.ranges;typeof R.yy.parseError=="function"?this.parseError=R.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function pe(S){r.length=r.length-2*S,u.length=u.length-S,t.length=t.length-S}o(pe,"popStack");function ae(){var S;return S=a.pop()||m.lex()||re,typeof S!="number"&&(S instanceof Array&&(a=S,S=a.pop()),S=n.symbols_[S]||S),S}o(ae,"lex");for(var k,P,x,q,G={},z,C,oe,X;;){if(P=r[r.length-1],this.defaultActions[P]?x=this.defaultActions[P]:((k===null||typeof k>"u")&&(k=ae()),x=U[P]&&U[P][k]),typeof x>"u"||!x.length||!x[0]){var Q="";X=[];for(z in U[P])this.terminals_[z]&&z>ue&&X.push("'"+this.terminals_[z]+"'");m.showPosition?Q="Parse error on line "+(W+1)+`:
2
2
  `+m.showPosition()+`
3
3
  Expecting `+X.join(", ")+", got '"+(this.terminals_[k]||k)+"'":Q="Parse error on line "+(W+1)+": Unexpected "+(k==re?"end of input":"'"+(this.terminals_[k]||k)+"'"),this.parseError(Q,{text:m.match,token:this.terminals_[k]||k,line:m.yylineno,loc:Z,expected:X})}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+P+", token: "+k);switch(x[0]){case 1:r.push(k),u.push(m.yytext),t.push(m.yylloc),r.push(x[1]),k=null,se=m.yyleng,c=m.yytext,W=m.yylineno,Z=m.yylloc;break;case 2:if(C=this.productions_[x[1]][1],G.$=u[u.length-C],G._$={first_line:t[t.length-(C||1)].first_line,last_line:t[t.length-1].last_line,first_column:t[t.length-(C||1)].first_column,last_column:t[t.length-1].last_column},de&&(G._$.range=[t[t.length-(C||1)].range[0],t[t.length-1].range[1]]),q=this.performAction.apply(G,[c,se,W,R.yy,x[1],u,t].concat(ge)),typeof q<"u")return q;C&&(r=r.slice(0,-1*C*2),u=u.slice(0,-1*C),t=t.slice(0,-1*C)),r.push(this.productions_[x[1]][0]),u.push(G.$),t.push(G._$),oe=U[r[r.length-2]][r[r.length-1]],r.push(oe);break;case 3:return!0}}return!0},"parse")},Y=(function(){var O={EOF:1,parseError:o(function(n,r){if(this.yy.parser)this.yy.parser.parseError(n,r);else throw new Error(n)},"parseError"),setInput:o(function(i,n){return this.yy=n||this.yy||{},this._input=i,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:o(function(){var i=this._input[0];this.yytext+=i,this.yyleng++,this.offset++,this.match+=i,this.matched+=i;var n=i.match(/(?:\r\n?|\n).*/g);return n?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),i},"input"),unput:o(function(i){var n=i.length,r=i.split(/(?:\r\n?|\n)/g);this._input=i+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-n),this.offset-=n;var a=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),r.length-1&&(this.yylineno-=r.length-1);var u=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:r?(r.length===a.length?this.yylloc.first_column:0)+a[a.length-r.length].length-r[0].length:this.yylloc.first_column-n},this.options.ranges&&(this.yylloc.range=[u[0],u[0]+this.yyleng-n]),this.yyleng=this.yytext.length,this},"unput"),more:o(function(){return this._more=!0,this},"more"),reject:o(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
4
4
  `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:o(function(i){this.unput(this.match.slice(i))},"less"),pastInput:o(function(){var i=this.matched.substr(0,this.matched.length-this.match.length);return(i.length>20?"...":"")+i.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:o(function(){var i=this.match;return i.length<20&&(i+=this._input.substr(0,20-i.length)),(i.substr(0,20)+(i.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:o(function(){var i=this.pastInput(),n=new Array(i.length+1).join("-");return i+this.upcomingInput()+`
@@ -86,4 +86,4 @@ Expecting `+X.join(", ")+", got '"+(this.terminals_[k]||k)+"'":Q="Parse error on
86
86
  text-align: center;
87
87
  }
88
88
  ${Ne()}
89
- `,"getStyles"),Me=Fe,Ke={db:Ve,renderer:Ge,parser:xe,styles:Me};export{Ke as diagram};
89
+ `,"getStyles"),Me=Fe,Ye={db:Ve,renderer:Ge,parser:xe,styles:Me};export{Ye as diagram};