@juki-team/base-ui 1.5.3 → 1.5.11

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 (883) hide show
  1. package/dist/esm/{ArrowForwardIcon-D6Jfdilm.js → ArrowForwardIcon-1RdVdC78.js} +1 -1
  2. package/dist/esm/BarChart-D6_BRhr2.js +1 -0
  3. package/dist/esm/CartesianChart-CWujTVm7.js +47 -0
  4. package/dist/esm/{ChangePasswordModal-DP68K_jG.js → ChangePasswordModal-Ds3TqD5C.js} +1 -1
  5. package/dist/esm/CodeEditor-CTnPGIiF.js +1 -0
  6. package/dist/esm/CodeViewer-DKaZetL7.js +1 -0
  7. package/dist/esm/{Collapse-Bn9-0z3I.js → Collapse-cx1sfcdL.js} +1 -1
  8. package/dist/esm/DataGrid-bZJxnNpn.js +127 -0
  9. package/dist/esm/DataViewer-DpQqmjva.js +1 -0
  10. package/dist/esm/{DrawerView-D-MEVHS0.js → DrawerView-uqDkkfN3.js} +1 -1
  11. package/dist/esm/{ExcalidrawButton-CL_vPewV.js → ExcalidrawButton-DP7IRqig.js} +1 -1
  12. package/dist/esm/{GraphvizViewer-BfJg604I.js → GraphvizViewer-BGX2Z8KP.js} +1 -1
  13. package/dist/esm/ImageLoaderCropper-BfIfmEdE.js +1 -0
  14. package/dist/esm/InputCellPhoneNumber-qovO8IT4.js +1 -0
  15. package/dist/esm/{InputColor-Ch5Do1U-.js → InputColor-8DJM_wZR.js} +2 -2
  16. package/dist/esm/LineChart-vXWysFNq.js +1 -0
  17. package/dist/esm/{LoaderLayer-CXFK-kAz.js → LoaderLayer-Cv80UCdL.js} +1 -1
  18. package/dist/esm/{MdMath-DwyNLKE_.js → MdMath-D4p_cWv8.js} +1 -1
  19. package/dist/esm/MdMathEditor-BC4QqqY5.js +29 -0
  20. package/dist/esm/Popover-KQx_QYJY.js +6 -0
  21. package/dist/esm/{ReplyIcon-Dd5U6wGZ.js → ReplyIcon-BlBLARCH.js} +1 -1
  22. package/dist/esm/{SettingsIcon-BCDZw0HR.js → SettingsIcon-C3sN1TNw.js} +1 -1
  23. package/dist/esm/SlideDeck-BP-CNUhS.js +1 -0
  24. package/dist/esm/{TableEyeIcon-CDLbQapU.js → TableEyeIcon-BFfTLgKU.js} +1 -1
  25. package/dist/esm/TableOfContents-Cg9pymLO.js +1 -0
  26. package/dist/esm/Tooltip-k62JJg5n.js +1 -0
  27. package/dist/esm/UserCodeEditor-LaT3CJvU.js +61 -0
  28. package/dist/esm/{VirtualizedRowsFixed-8Wk8DRYc.js → VirtualizedRowsFixed-CN-1w7u1.js} +1 -1
  29. package/dist/esm/WorksheetAsSlides-DmGLDXtL.js +1 -0
  30. package/dist/esm/{WorksheetBodies-pHyqSVPy.js → WorksheetBodies-BYISk5yC.js} +1 -1
  31. package/dist/esm/{WorksheetContents-ByjM-HNk.js → WorksheetContents-IzJ6Cw_g.js} +1 -1
  32. package/dist/esm/WorksheetEditor-Dacb3EOk.js +1 -0
  33. package/dist/esm/WorksheetNode-2B7Rld9L.js +1 -0
  34. package/dist/esm/WorksheetViewer-BLFZouvt.js +1 -0
  35. package/dist/esm/abnfDiagram-WEYOIA3C-BEp-BJ00.js +1 -0
  36. package/dist/esm/arc-B4ps4Bee.js +1 -0
  37. package/dist/esm/architectureDiagram-ZHVYKT53-BDbBQNmT.js +1 -0
  38. package/dist/esm/basic-setup-DtpgwOSH.js +1 -0
  39. package/dist/esm/blockDiagram-RJAE7QA3-CYciK31K.js +1 -0
  40. package/dist/esm/c4Diagram-XDPPPE54-dye_nDtJ.js +1 -0
  41. package/dist/esm/channel-DdQBbu1U.js +1 -0
  42. package/dist/esm/chunk-2E7WHVMD-fBpaf8Ph.js +1 -0
  43. package/dist/esm/{chunk-QZHKN3VN-CUifo-Cb.js → chunk-2Q5K7J3B-B1dv6ovr.js} +1 -1
  44. package/dist/esm/chunk-4EMNKR2T-B10soxeX.js +1 -0
  45. package/dist/esm/{chunk-YZCP3GAM-DELqvesl.js → chunk-55XCU76K-BhN5PLeC.js} +1 -1
  46. package/dist/esm/{chunk-FMBD7UC4-DAo4g5fP.js → chunk-5VM5RSS4-DEKr6tsK.js} +1 -1
  47. package/dist/esm/{chunk-4BX2VUAB-Dc1mlsfk.js → chunk-JWPE2WC7-lyHCgozd.js} +1 -1
  48. package/dist/esm/chunk-NQOKRVIF-CLuzP2Xi.js +1 -0
  49. package/dist/esm/chunk-VQ5W62QI-MGNBKNlF.js +1 -0
  50. package/dist/esm/{chunk-55IACEB6-Csh8qgjO.js → chunk-XXDRQBXY-CIB-Pv6R.js} +1 -1
  51. package/dist/esm/chunk-ZCHMQSOR--e_zi_XA.js +1 -0
  52. package/dist/esm/classDiagram-v2-4MYWR3UA-BU3oZLY5.js +1 -0
  53. package/dist/esm/commons-BHuDJzTw.js +1 -0
  54. package/dist/esm/cose-bilkent-JH36ORCC-DdSzxxt0.js +1 -0
  55. package/dist/esm/cynefin-EF2NZ3EQ-CaJSaYBh.js +1 -0
  56. package/dist/esm/cynefinDiagram-WF24UDRP-BbPVqiW_.js +1 -0
  57. package/dist/esm/cytoscape.esm-Bt9_GGFq.js +9 -0
  58. package/dist/esm/dagre-NK4GIZVX-DLhklBxm.js +1 -0
  59. package/dist/esm/diagram-CBK3MWTC-C2Pa6CcJ.js +1 -0
  60. package/dist/esm/diagram-I5XIIV2D-D-qVVyv1.js +1 -0
  61. package/dist/esm/diagram-ODIL2UCW-QFqiGLCP.js +1 -0
  62. package/dist/esm/diagram-PFBEJUXE-UHmEOsHi.js +1 -0
  63. package/dist/esm/diagram-RJA3I4VV-CcSCqRS4.js +1 -0
  64. package/dist/esm/diagram-TYUNFSNR-DcSxaQx8.js +1 -0
  65. package/dist/esm/ebnfDiagram-V4P3TTPT-DRA2NTIs.js +1 -0
  66. package/dist/esm/elk-QONTBCTQ-Bkv5Sf8G.js +1 -0
  67. package/dist/esm/erDiagram-KYQIGQAA-Blb_MksM.js +1 -0
  68. package/dist/esm/floating-ui.core-DzsaFWsC.js +1 -0
  69. package/dist/esm/floating-ui.dom-DGDCR4EF.js +1 -0
  70. package/dist/esm/flowDiagram-IUGLLWBU-CQaJ12bg.js +1 -0
  71. package/dist/esm/ganttDiagram-R7GPNTJY-Do8IYgX5.js +1 -0
  72. package/dist/esm/gitGraphDiagram-PDYL7XHY-CAvv6VXj.js +1 -0
  73. package/dist/esm/graph-rGqC_56m.js +1 -0
  74. package/dist/esm/helpers.js +1 -1
  75. package/dist/esm/{index-CtWPxOcn.js → index-6pAHrAuD.js} +1 -1
  76. package/dist/esm/{index-D5NvcxPc.js → index-B46RgSF9.js} +1 -1
  77. package/dist/esm/{index-CB1_GL3t.js → index-B9JSZpaA.js} +1 -1
  78. package/dist/esm/{index-CpRfyO85.js → index-BDQ8194g.js} +1 -1
  79. package/dist/esm/{index-B3fb7Ita.js → index-BNvG4PUn.js} +1 -1
  80. package/dist/esm/{index-BR16hIbn.js → index-BS7YTgMe.js} +1 -1
  81. package/dist/esm/{index-CQbc3KUq.js → index-Bohl_WFx.js} +1 -1
  82. package/dist/esm/{index-DSGuayJy.js → index-BpFtavDh.js} +1 -1
  83. package/dist/esm/{index-xaEdDd13.js → index-CHVYA2P8.js} +1 -1
  84. package/dist/esm/{index-Ck9BxS1f.js → index-CHgqN-d9.js} +1 -1
  85. package/dist/esm/{index-A0sdG_JC.js → index-CJtYjUlf.js} +1 -1
  86. package/dist/esm/index-CKBtKrj5.js +1 -0
  87. package/dist/esm/{index--PWk-3Ol.js → index-CffiBbeH.js} +1 -1
  88. package/dist/esm/{index-BzjjAmh3.js → index-CiHwAkdd.js} +1 -1
  89. package/dist/esm/{index-Y09lLL_e.js → index-CmWQEzQl.js} +1 -1
  90. package/dist/esm/{index-GoUUn3QE.js → index-D5AIo8KT.js} +1 -1
  91. package/dist/esm/{index-CRfRlH9U.js → index-D6A8P_xS.js} +1 -1
  92. package/dist/esm/{index-D8zPYs0m.js → index-D9BPo-_o.js} +1 -1
  93. package/dist/esm/{index-Bw2EofiE.js → index-DBWowQHL.js} +1 -1
  94. package/dist/esm/{index-CtTbnbzM.js → index-DDBuqExW.js} +1 -1
  95. package/dist/esm/index-DTAG4nDF.js +1 -0
  96. package/dist/esm/{index-D2mDsVm5.js → index-DjrtJ8R4.js} +1 -1
  97. package/dist/esm/{index-BVw40LAx.js → index-Dz8ISdDG.js} +1 -1
  98. package/dist/esm/{index-tAJiDyYy.js → index-JPCp_Z3V.js} +1 -1
  99. package/dist/esm/{index-33u6FCUW.js → index-L4hkrldv.js} +1 -1
  100. package/dist/esm/{index-Ccq-5wm6.js → index-YYM2ZvZ6.js} +1 -1
  101. package/dist/esm/{index-o2jBRnrQ.js → index-_kF3_0-k.js} +1 -1
  102. package/dist/esm/{index-DAJdettS.js → index-mLZqgXD7.js} +1 -1
  103. package/dist/esm/{index-D_AOS7Yx.js → index-nNMK7HvL.js} +1 -1
  104. package/dist/esm/{index-QhLowdpF.js → index-vxKx70Pe.js} +1 -1
  105. package/dist/esm/{index-C9_5xd3V.js → index-wJyG4Gm6.js} +1 -1
  106. package/dist/esm/infoDiagram-MVDRKAX5-CcsrNbMy.js +1 -0
  107. package/dist/esm/isSymbol-D2gNAbOe.js +1 -0
  108. package/dist/esm/isUndefined--MLpwE__.js +1 -0
  109. package/dist/esm/ishikawaDiagram-HPEHV2GE-BSefVZjI.js +1 -0
  110. package/dist/esm/journeyDiagram-BOSHW7O7-C3Y3fTW5.js +1 -0
  111. package/dist/esm/kanban-definition-FNSA4HC5-DqDHeqOc.js +1 -0
  112. package/dist/esm/katex-ukrPy3Hx.js +1 -0
  113. package/dist/esm/{linear-BnXjbO66.js → linear-CIPQsvV7.js} +1 -1
  114. package/dist/esm/{lua-8DXOpKDz.js → lua-BvgfYBhq.js} +1 -1
  115. package/dist/esm/main.js +1 -1
  116. package/dist/esm/map-CIDWRbhc.js +1 -0
  117. package/dist/esm/mermaid.core-DKkN0L2R.js +5 -0
  118. package/dist/esm/mindmap-definition-6OY57UG3-BaT97m0e.js +1 -0
  119. package/dist/esm/nsis-BFvJq6Vq.js +1 -0
  120. package/dist/esm/pegDiagram-ECIUJNBX-BHWXjV1h.js +1 -0
  121. package/dist/esm/pieDiagram-GNMPY74T-tMRQX3HS.js +1 -0
  122. package/dist/esm/quadrantDiagram-D57K4MC3-CfbxRwkB.js +1 -0
  123. package/dist/esm/railroadDiagram-Y72NRBL7-QMN2Zgh0.js +1 -0
  124. package/dist/esm/requirementDiagram-EQYSW5RA-5SA2oZMo.js +1 -0
  125. package/dist/esm/ruby-D9chwFAN.js +1 -0
  126. package/dist/esm/sankeyDiagram-SY24JHO5-BXdQgEr6.js +1 -0
  127. package/dist/esm/sequenceDiagram-BLEHNHQU-BvWgv_Hq.js +1 -0
  128. package/dist/esm/server.js +1 -1
  129. package/dist/esm/settings.js +1 -1
  130. package/dist/esm/sizeCapture-INFHLROL-CRBg4FIP.js +1 -0
  131. package/dist/esm/stateDiagram-v2-A6IESKWZ-DOTqWcFT.js +1 -0
  132. package/dist/esm/string-DPJhNSkw.js +1 -0
  133. package/dist/esm/swimlanes-B3ENRKFQ-Dt3HxqOR.js +1 -0
  134. package/dist/esm/swimlanesDiagram-AYQRV4AK-cNbShXsw.js +1 -0
  135. package/dist/esm/throttle-tEKq3i9o.js +1 -0
  136. package/dist/esm/{time-PiK_t_Re.js → time-DP3lbwAd.js} +1 -1
  137. package/dist/esm/timeline-definition-JXYKGLGB-ChogrVVw.js +1 -0
  138. package/dist/esm/toNumber-B6ypue5Z.js +1 -0
  139. package/dist/esm/types-BqWpd51k.js +1 -0
  140. package/dist/esm/usecaseDiagram-WPOLBNNX-DAMNLFuf.js +1 -0
  141. package/dist/esm/vennDiagram-Q3Y3IDCW--qCUcJOu.js +1 -0
  142. package/dist/esm/viz-BmmZnl4P.js +9 -0
  143. package/dist/esm/wardleyDiagram-IVAIDKWA-D0f1LOLT.js +1 -0
  144. package/dist/esm/{websocket-C4G3j9Rm.js → websocket-B2hJys_Q.js} +1 -1
  145. package/dist/esm/{xlsx-XBWnafwQ.js → xlsx-BVrgZ1Ou.js} +2 -2
  146. package/dist/esm/xychartDiagram-4URNHDU4-Bkx4mxlH.js +1 -0
  147. package/dist/module-types/node_modules/.pnpm/@milkdown+kit@7.23.0_@codemirror+language@6.13.1_@codemirror+state@6.7.6_@codemirror+vi_3301ef378947b358eb17e6850a1dc747/node_modules/@milkdown/kit/lib/component/diff.d.ts +1 -0
  148. package/dist/module-types/node_modules/.pnpm/@milkdown+kit@7.23.0_@codemirror+language@6.13.1_@codemirror+state@6.7.6_@codemirror+vi_3301ef378947b358eb17e6850a1dc747/node_modules/@milkdown/kit/lib/exception.d.ts +1 -0
  149. package/dist/module-types/node_modules/.pnpm/@milkdown+kit@7.23.0_@codemirror+language@6.13.1_@codemirror+state@6.7.6_@codemirror+vi_3301ef378947b358eb17e6850a1dc747/node_modules/@milkdown/kit/lib/plugin/diff.d.ts +1 -0
  150. package/dist/module-types/node_modules/.pnpm/@milkdown+kit@7.23.0_@codemirror+language@6.13.1_@codemirror+state@6.7.6_@codemirror+vi_3301ef378947b358eb17e6850a1dc747/node_modules/@milkdown/kit/lib/plugin/streaming.d.ts +1 -0
  151. package/dist/module-types/src/components/atoms/Client/Client.d.ts +1 -1
  152. package/dist/module-types/src/components/atoms/CopyToClipboard/CopyToClipboard.d.ts +1 -1
  153. package/dist/module-types/src/components/atoms/DateLiteral/DateLiteral.d.ts +1 -1
  154. package/dist/module-types/src/components/atoms/InputCheckbox/InputCheckbox.d.ts +1 -1
  155. package/dist/module-types/src/components/atoms/InputPassword/InputPassword.d.ts +1 -1
  156. package/dist/module-types/src/components/atoms/InputRadio/InputRadio.d.ts +1 -1
  157. package/dist/module-types/src/components/atoms/InputSelect/InputSelect.d.ts +1 -1
  158. package/dist/module-types/src/components/atoms/InputTextArea/InputTextArea.d.ts +1 -1
  159. package/dist/module-types/src/components/atoms/InputToggle/InputToggle.d.ts +1 -1
  160. package/dist/module-types/src/components/atoms/Modal/Modal.d.ts +1 -1
  161. package/dist/module-types/src/components/atoms/MultiSelect/MultiSelect.d.ts +1 -1
  162. package/dist/module-types/src/components/atoms/Select/Select.d.ts +1 -1
  163. package/dist/module-types/src/components/atoms/T/T.d.ts +1 -1
  164. package/dist/module-types/src/components/atoms/_lazy_/Collapse/Collapse.d.ts +1 -1
  165. package/dist/module-types/src/components/atoms/_lazy_/Collapse/index.d.ts +1 -1
  166. package/dist/module-types/src/components/atoms/_lazy_/InputCellPhoneNumber/InputCellPhoneNumber.d.ts +1 -1
  167. package/dist/module-types/src/components/atoms/_lazy_/InputCellPhoneNumber/index.d.ts +1 -1
  168. package/dist/module-types/src/components/atoms/_lazy_/Popover/Popover.d.ts +1 -1
  169. package/dist/module-types/src/components/atoms/_lazy_/Popover/index.d.ts +1 -1
  170. package/dist/module-types/src/components/atoms/_lazy_/Tooltip/Tooltip.d.ts +1 -1
  171. package/dist/module-types/src/components/atoms/_lazy_/Tooltip/index.d.ts +1 -1
  172. package/dist/module-types/src/components/atoms/_lazy_/VirtualizedRowsFixed/VirtualizedRowsFixed.d.ts +1 -1
  173. package/dist/module-types/src/components/atoms/_lazy_/VirtualizedRowsFixed/index.d.ts +1 -1
  174. package/dist/module-types/src/components/atoms/server/icons/SpinIcon/Spin.d.ts +1 -1
  175. package/dist/module-types/src/components/atoms/server/icons/SpinIcon/index.d.ts +1 -1
  176. package/dist/module-types/src/components/atoms/server/icons/google/AcUnitIcon.d.ts +1 -1
  177. package/dist/module-types/src/components/atoms/server/icons/google/AccountCircleIcon.d.ts +1 -1
  178. package/dist/module-types/src/components/atoms/server/icons/google/AcuteIcon.d.ts +1 -1
  179. package/dist/module-types/src/components/atoms/server/icons/google/AddColumnLeftIcon.d.ts +1 -1
  180. package/dist/module-types/src/components/atoms/server/icons/google/AddColumnRightIcon.d.ts +1 -1
  181. package/dist/module-types/src/components/atoms/server/icons/google/AddIcon.d.ts +1 -1
  182. package/dist/module-types/src/components/atoms/server/icons/google/AddPhotoAlternateIcon.d.ts +1 -1
  183. package/dist/module-types/src/components/atoms/server/icons/google/AddReactionIcon.d.ts +1 -1
  184. package/dist/module-types/src/components/atoms/server/icons/google/AddRowAboveIcon.d.ts +1 -1
  185. package/dist/module-types/src/components/atoms/server/icons/google/AddRowBelowIcon.d.ts +1 -1
  186. package/dist/module-types/src/components/atoms/server/icons/google/AdminPanelSettingsIcon.d.ts +1 -1
  187. package/dist/module-types/src/components/atoms/server/icons/google/AlarmIcon.d.ts +1 -1
  188. package/dist/module-types/src/components/atoms/server/icons/google/AppsIcon.d.ts +1 -1
  189. package/dist/module-types/src/components/atoms/server/icons/google/ArrowBackIcon.d.ts +1 -1
  190. package/dist/module-types/src/components/atoms/server/icons/google/ArrowDownwardIcon.d.ts +1 -1
  191. package/dist/module-types/src/components/atoms/server/icons/google/ArrowDropDownIcon.d.ts +1 -1
  192. package/dist/module-types/src/components/atoms/server/icons/google/ArrowDropUpIcon.d.ts +1 -1
  193. package/dist/module-types/src/components/atoms/server/icons/google/ArrowForwardIcon.d.ts +1 -1
  194. package/dist/module-types/src/components/atoms/server/icons/google/ArrowLeftIcon.d.ts +1 -1
  195. package/dist/module-types/src/components/atoms/server/icons/google/ArrowRightIcon.d.ts +1 -1
  196. package/dist/module-types/src/components/atoms/server/icons/google/ArrowUpwardIcon.d.ts +1 -1
  197. package/dist/module-types/src/components/atoms/server/icons/google/ArticleIcon.d.ts +1 -1
  198. package/dist/module-types/src/components/atoms/server/icons/google/AssignmentIcon.d.ts +1 -1
  199. package/dist/module-types/src/components/atoms/server/icons/google/AttachFileIcon.d.ts +1 -1
  200. package/dist/module-types/src/components/atoms/server/icons/google/AttachmentIcon.d.ts +1 -1
  201. package/dist/module-types/src/components/atoms/server/icons/google/AutorenewIcon.d.ts +1 -1
  202. package/dist/module-types/src/components/atoms/server/icons/google/BadgeIcon.d.ts +1 -1
  203. package/dist/module-types/src/components/atoms/server/icons/google/BoltIcon.d.ts +1 -1
  204. package/dist/module-types/src/components/atoms/server/icons/google/BubbleChartIcon.d.ts +1 -1
  205. package/dist/module-types/src/components/atoms/server/icons/google/BuildIcon.d.ts +1 -1
  206. package/dist/module-types/src/components/atoms/server/icons/google/CalendarMonthIcon.d.ts +1 -1
  207. package/dist/module-types/src/components/atoms/server/icons/google/CalendarTodayIcon.d.ts +1 -1
  208. package/dist/module-types/src/components/atoms/server/icons/google/CalendarViewWeekIcon.d.ts +1 -1
  209. package/dist/module-types/src/components/atoms/server/icons/google/CheckIcon.d.ts +1 -1
  210. package/dist/module-types/src/components/atoms/server/icons/google/ChecklistIcon.d.ts +1 -1
  211. package/dist/module-types/src/components/atoms/server/icons/google/CloseIcon.d.ts +1 -1
  212. package/dist/module-types/src/components/atoms/server/icons/google/CloudDownloadIcon.d.ts +1 -1
  213. package/dist/module-types/src/components/atoms/server/icons/google/CloudUploadIcon.d.ts +1 -1
  214. package/dist/module-types/src/components/atoms/server/icons/google/CodeBlocksIcon.d.ts +1 -1
  215. package/dist/module-types/src/components/atoms/server/icons/google/CodeIcon.d.ts +1 -1
  216. package/dist/module-types/src/components/atoms/server/icons/google/CommentIcon.d.ts +1 -1
  217. package/dist/module-types/src/components/atoms/server/icons/google/ContactPhoneIcon.d.ts +1 -1
  218. package/dist/module-types/src/components/atoms/server/icons/google/ContactsIcon.d.ts +1 -1
  219. package/dist/module-types/src/components/atoms/server/icons/google/ContentCopyIcon.d.ts +1 -1
  220. package/dist/module-types/src/components/atoms/server/icons/google/DarkModeIcon.d.ts +1 -1
  221. package/dist/module-types/src/components/atoms/server/icons/google/DashboardIcon.d.ts +1 -1
  222. package/dist/module-types/src/components/atoms/server/icons/google/DeleteIcon.d.ts +1 -1
  223. package/dist/module-types/src/components/atoms/server/icons/google/DemographyIcon.d.ts +1 -1
  224. package/dist/module-types/src/components/atoms/server/icons/google/DescriptionIcon.d.ts +1 -1
  225. package/dist/module-types/src/components/atoms/server/icons/google/DesignServicesIcon.d.ts +1 -1
  226. package/dist/module-types/src/components/atoms/server/icons/google/DoneAllIcon.d.ts +1 -1
  227. package/dist/module-types/src/components/atoms/server/icons/google/DownloadIcon.d.ts +1 -1
  228. package/dist/module-types/src/components/atoms/server/icons/google/DraftIcon.d.ts +1 -1
  229. package/dist/module-types/src/components/atoms/server/icons/google/DragIndicatorIcon.d.ts +1 -1
  230. package/dist/module-types/src/components/atoms/server/icons/google/EditIcon.d.ts +1 -1
  231. package/dist/module-types/src/components/atoms/server/icons/google/EditNoteIcon.d.ts +1 -1
  232. package/dist/module-types/src/components/atoms/server/icons/google/ErrorIcon.d.ts +1 -1
  233. package/dist/module-types/src/components/atoms/server/icons/google/EventIcon.d.ts +1 -1
  234. package/dist/module-types/src/components/atoms/server/icons/google/EventListIcon.d.ts +1 -1
  235. package/dist/module-types/src/components/atoms/server/icons/google/ExclamationIcon.d.ts +1 -1
  236. package/dist/module-types/src/components/atoms/server/icons/google/ExpandLessIcon.d.ts +1 -1
  237. package/dist/module-types/src/components/atoms/server/icons/google/ExpandMoreIcon.d.ts +1 -1
  238. package/dist/module-types/src/components/atoms/server/icons/google/ExtensionIcon.d.ts +1 -1
  239. package/dist/module-types/src/components/atoms/server/icons/google/FileCopyIcon.d.ts +1 -1
  240. package/dist/module-types/src/components/atoms/server/icons/google/FileOpenIcon.d.ts +1 -1
  241. package/dist/module-types/src/components/atoms/server/icons/google/FilterListIcon.d.ts +1 -1
  242. package/dist/module-types/src/components/atoms/server/icons/google/FitnessCenterIcon.d.ts +1 -1
  243. package/dist/module-types/src/components/atoms/server/icons/google/FolderIcon.d.ts +1 -1
  244. package/dist/module-types/src/components/atoms/server/icons/google/FolderManagedIcon.d.ts +1 -1
  245. package/dist/module-types/src/components/atoms/server/icons/google/FolderOpenIcon.d.ts +1 -1
  246. package/dist/module-types/src/components/atoms/server/icons/google/FormatBoldIcon.d.ts +1 -1
  247. package/dist/module-types/src/components/atoms/server/icons/google/FormatH1Icon.d.ts +1 -1
  248. package/dist/module-types/src/components/atoms/server/icons/google/FormatH2Icon.d.ts +1 -1
  249. package/dist/module-types/src/components/atoms/server/icons/google/FormatH3Icon.d.ts +1 -1
  250. package/dist/module-types/src/components/atoms/server/icons/google/FormatH4Icon.d.ts +1 -1
  251. package/dist/module-types/src/components/atoms/server/icons/google/FormatH5Icon.d.ts +1 -1
  252. package/dist/module-types/src/components/atoms/server/icons/google/FormatH6Icon.d.ts +1 -1
  253. package/dist/module-types/src/components/atoms/server/icons/google/FormatInkHighlighterIcon.d.ts +1 -1
  254. package/dist/module-types/src/components/atoms/server/icons/google/FormatItalicIcon.d.ts +1 -1
  255. package/dist/module-types/src/components/atoms/server/icons/google/FormatListBulletedIcon.d.ts +1 -1
  256. package/dist/module-types/src/components/atoms/server/icons/google/FormatListNumberedIcon.d.ts +1 -1
  257. package/dist/module-types/src/components/atoms/server/icons/google/FormatQuoteIcon.d.ts +1 -1
  258. package/dist/module-types/src/components/atoms/server/icons/google/FormatStrikethroughIcon.d.ts +1 -1
  259. package/dist/module-types/src/components/atoms/server/icons/google/ForwardIcon.d.ts +1 -1
  260. package/dist/module-types/src/components/atoms/server/icons/google/FullscreenExitIcon.d.ts +1 -1
  261. package/dist/module-types/src/components/atoms/server/icons/google/FullscreenIcon.d.ts +1 -1
  262. package/dist/module-types/src/components/atoms/server/icons/google/GlobeIcon.d.ts +1 -1
  263. package/dist/module-types/src/components/atoms/server/icons/google/GroupAddIcon.d.ts +1 -1
  264. package/dist/module-types/src/components/atoms/server/icons/google/GroupIcon.d.ts +1 -1
  265. package/dist/module-types/src/components/atoms/server/icons/google/GroupsIcon.d.ts +1 -1
  266. package/dist/module-types/src/components/atoms/server/icons/google/HardDriveIcon.d.ts +1 -1
  267. package/dist/module-types/src/components/atoms/server/icons/google/HelpIcon.d.ts +1 -1
  268. package/dist/module-types/src/components/atoms/server/icons/google/HistoryIcon.d.ts +1 -1
  269. package/dist/module-types/src/components/atoms/server/icons/google/HomeIcon.d.ts +1 -1
  270. package/dist/module-types/src/components/atoms/server/icons/google/HomeStorageIcon.d.ts +1 -1
  271. package/dist/module-types/src/components/atoms/server/icons/google/InfoIIcon.d.ts +1 -1
  272. package/dist/module-types/src/components/atoms/server/icons/google/InkEraserIcon.d.ts +1 -1
  273. package/dist/module-types/src/components/atoms/server/icons/google/InvertColorsIcon.d.ts +1 -1
  274. package/dist/module-types/src/components/atoms/server/icons/google/LanguageIcon.d.ts +1 -1
  275. package/dist/module-types/src/components/atoms/server/icons/google/LeaderboardIcon.d.ts +1 -1
  276. package/dist/module-types/src/components/atoms/server/icons/google/LibraryBooksIcon.d.ts +1 -1
  277. package/dist/module-types/src/components/atoms/server/icons/google/LightModeIcon.d.ts +1 -1
  278. package/dist/module-types/src/components/atoms/server/icons/google/LinkIcon.d.ts +1 -1
  279. package/dist/module-types/src/components/atoms/server/icons/google/LinkOffIcon.d.ts +1 -1
  280. package/dist/module-types/src/components/atoms/server/icons/google/ListIcon.d.ts +1 -1
  281. package/dist/module-types/src/components/atoms/server/icons/google/LoadingIcon.d.ts +1 -1
  282. package/dist/module-types/src/components/atoms/server/icons/google/LocationCityIcon.d.ts +1 -1
  283. package/dist/module-types/src/components/atoms/server/icons/google/LocationOnIcon.d.ts +1 -1
  284. package/dist/module-types/src/components/atoms/server/icons/google/LockClockIcon.d.ts +1 -1
  285. package/dist/module-types/src/components/atoms/server/icons/google/LockIcon.d.ts +1 -1
  286. package/dist/module-types/src/components/atoms/server/icons/google/LockPersonIcon.d.ts +1 -1
  287. package/dist/module-types/src/components/atoms/server/icons/google/LoginIcon.d.ts +1 -1
  288. package/dist/module-types/src/components/atoms/server/icons/google/LogoutIcon.d.ts +1 -1
  289. package/dist/module-types/src/components/atoms/server/icons/google/MailIcon.d.ts +1 -1
  290. package/dist/module-types/src/components/atoms/server/icons/google/ManageAccountsIcon.d.ts +1 -1
  291. package/dist/module-types/src/components/atoms/server/icons/google/ManageSearchIcon.d.ts +1 -1
  292. package/dist/module-types/src/components/atoms/server/icons/google/ManufacturingIcon.d.ts +1 -1
  293. package/dist/module-types/src/components/atoms/server/icons/google/MenuBookIcon.d.ts +1 -1
  294. package/dist/module-types/src/components/atoms/server/icons/google/MenuIcon.d.ts +1 -1
  295. package/dist/module-types/src/components/atoms/server/icons/google/MoreTimeIcon.d.ts +1 -1
  296. package/dist/module-types/src/components/atoms/server/icons/google/MoreVertIcon.d.ts +1 -1
  297. package/dist/module-types/src/components/atoms/server/icons/google/NavigateBeforeIcon.d.ts +1 -1
  298. package/dist/module-types/src/components/atoms/server/icons/google/NavigateNextIcon.d.ts +1 -1
  299. package/dist/module-types/src/components/atoms/server/icons/google/NewReleasesIcon.d.ts +1 -1
  300. package/dist/module-types/src/components/atoms/server/icons/google/NoteAddIcon.d.ts +1 -1
  301. package/dist/module-types/src/components/atoms/server/icons/google/NoteIcon.d.ts +1 -1
  302. package/dist/module-types/src/components/atoms/server/icons/google/NotificationsActiveIcon.d.ts +1 -1
  303. package/dist/module-types/src/components/atoms/server/icons/google/OpenInNewIcon.d.ts +1 -1
  304. package/dist/module-types/src/components/atoms/server/icons/google/PageInfoIcon.d.ts +1 -1
  305. package/dist/module-types/src/components/atoms/server/icons/google/PaletteIcon.d.ts +1 -1
  306. package/dist/module-types/src/components/atoms/server/icons/google/PanToolIcon.d.ts +1 -1
  307. package/dist/module-types/src/components/atoms/server/icons/google/PauseCircleIcon.d.ts +1 -1
  308. package/dist/module-types/src/components/atoms/server/icons/google/PendingActionsIcon.d.ts +1 -1
  309. package/dist/module-types/src/components/atoms/server/icons/google/PendingIcon.d.ts +1 -1
  310. package/dist/module-types/src/components/atoms/server/icons/google/PersonIcon.d.ts +1 -1
  311. package/dist/module-types/src/components/atoms/server/icons/google/PhotoLibraryIcon.d.ts +1 -1
  312. package/dist/module-types/src/components/atoms/server/icons/google/PictureAsPdfIcon.d.ts +1 -1
  313. package/dist/module-types/src/components/atoms/server/icons/google/PlayArrowIcon.d.ts +1 -1
  314. package/dist/module-types/src/components/atoms/server/icons/google/PlayCircleIcon.d.ts +1 -1
  315. package/dist/module-types/src/components/atoms/server/icons/google/PostAddIcon.d.ts +1 -1
  316. package/dist/module-types/src/components/atoms/server/icons/google/PreviewIcon.d.ts +1 -1
  317. package/dist/module-types/src/components/atoms/server/icons/google/PriorityHighIcon.d.ts +1 -1
  318. package/dist/module-types/src/components/atoms/server/icons/google/PublicIcon.d.ts +1 -1
  319. package/dist/module-types/src/components/atoms/server/icons/google/PublishIcon.d.ts +1 -1
  320. package/dist/module-types/src/components/atoms/server/icons/google/RedoIcon.d.ts +1 -1
  321. package/dist/module-types/src/components/atoms/server/icons/google/RefreshIcon.d.ts +1 -1
  322. package/dist/module-types/src/components/atoms/server/icons/google/ReplyAllIcon.d.ts +1 -1
  323. package/dist/module-types/src/components/atoms/server/icons/google/ReplyIcon.d.ts +1 -1
  324. package/dist/module-types/src/components/atoms/server/icons/google/SaveIcon.d.ts +1 -1
  325. package/dist/module-types/src/components/atoms/server/icons/google/ScheduleIcon.d.ts +1 -1
  326. package/dist/module-types/src/components/atoms/server/icons/google/SchoolIcon.d.ts +1 -1
  327. package/dist/module-types/src/components/atoms/server/icons/google/SearchIcon.d.ts +1 -1
  328. package/dist/module-types/src/components/atoms/server/icons/google/SendIcon.d.ts +1 -1
  329. package/dist/module-types/src/components/atoms/server/icons/google/SettingsAlertIcon.d.ts +1 -1
  330. package/dist/module-types/src/components/atoms/server/icons/google/SettingsIcon.d.ts +1 -1
  331. package/dist/module-types/src/components/atoms/server/icons/google/SettingsSuggestIcon.d.ts +1 -1
  332. package/dist/module-types/src/components/atoms/server/icons/google/ShareIcon.d.ts +1 -1
  333. package/dist/module-types/src/components/atoms/server/icons/google/SideNavigationIcon.d.ts +1 -1
  334. package/dist/module-types/src/components/atoms/server/icons/google/SmartToyIcon.d.ts +1 -1
  335. package/dist/module-types/src/components/atoms/server/icons/google/SpeedIcon.d.ts +1 -1
  336. package/dist/module-types/src/components/atoms/server/icons/google/StepIntoIcon.d.ts +1 -1
  337. package/dist/module-types/src/components/atoms/server/icons/google/StepOutIcon.d.ts +1 -1
  338. package/dist/module-types/src/components/atoms/server/icons/google/StopCircleIcon.d.ts +1 -1
  339. package/dist/module-types/src/components/atoms/server/icons/google/StorageIcon.d.ts +1 -1
  340. package/dist/module-types/src/components/atoms/server/icons/google/StylusLaserPointerIcon.d.ts +1 -1
  341. package/dist/module-types/src/components/atoms/server/icons/google/StylusNoteIcon.d.ts +1 -1
  342. package/dist/module-types/src/components/atoms/server/icons/google/SupportAgentIcon.d.ts +1 -1
  343. package/dist/module-types/src/components/atoms/server/icons/google/SyncIcon.d.ts +1 -1
  344. package/dist/module-types/src/components/atoms/server/icons/google/TableEyeIcon.d.ts +1 -1
  345. package/dist/module-types/src/components/atoms/server/icons/google/TableIcon.d.ts +1 -1
  346. package/dist/module-types/src/components/atoms/server/icons/google/TaskIcon.d.ts +1 -1
  347. package/dist/module-types/src/components/atoms/server/icons/google/TimerIcon.d.ts +1 -1
  348. package/dist/module-types/src/components/atoms/server/icons/google/TrendingUpIcon.d.ts +1 -1
  349. package/dist/module-types/src/components/atoms/server/icons/google/TrophyIcon.d.ts +1 -1
  350. package/dist/module-types/src/components/atoms/server/icons/google/UndoIcon.d.ts +1 -1
  351. package/dist/module-types/src/components/atoms/server/icons/google/UpdateIcon.d.ts +1 -1
  352. package/dist/module-types/src/components/atoms/server/icons/google/VerticalSplitIcon.d.ts +1 -1
  353. package/dist/module-types/src/components/atoms/server/icons/google/ViewCozyIcon.d.ts +1 -1
  354. package/dist/module-types/src/components/atoms/server/icons/google/ViewHeadlineIcon.d.ts +1 -1
  355. package/dist/module-types/src/components/atoms/server/icons/google/ViewModuleIcon.d.ts +1 -1
  356. package/dist/module-types/src/components/atoms/server/icons/google/VisibilityIcon.d.ts +1 -1
  357. package/dist/module-types/src/components/atoms/server/icons/google/VisibilityOffIcon.d.ts +1 -1
  358. package/dist/module-types/src/components/atoms/server/icons/google/VoidIcon.d.ts +1 -1
  359. package/dist/module-types/src/components/atoms/server/icons/google/WarningIcon.d.ts +1 -1
  360. package/dist/module-types/src/components/atoms/server/icons/google/WidgetsIcon.d.ts +1 -1
  361. package/dist/module-types/src/components/atoms/server/icons/signs/ArrowIcon_/Arrow.d.ts +1 -1
  362. package/dist/module-types/src/components/atoms/server/icons/signs/ArrowIcon_/NarrowArrow.d.ts +1 -1
  363. package/dist/module-types/src/components/atoms/server/icons/signs/ArrowIcon_/index.d.ts +1 -1
  364. package/dist/module-types/src/components/atoms/server/icons/signs/CheckIcon_/Check.d.ts +1 -1
  365. package/dist/module-types/src/components/atoms/server/icons/signs/CheckIcon_/index.d.ts +1 -1
  366. package/dist/module-types/src/components/atoms/server/icons/signs/CloseIcon_/index.d.ts +1 -1
  367. package/dist/module-types/src/components/atoms/server/icons/signs/DoubleUpIcon/DoubleUp.d.ts +1 -1
  368. package/dist/module-types/src/components/atoms/server/icons/signs/DoubleUpIcon/index.d.ts +1 -1
  369. package/dist/module-types/src/components/atoms/server/icons/signs/ExclamationIcon_/Exclamation.d.ts +1 -1
  370. package/dist/module-types/src/components/atoms/server/icons/signs/ExclamationIcon_/index.d.ts +1 -1
  371. package/dist/module-types/src/components/atoms/server/icons/signs/MinusIcon/Minus.d.ts +1 -1
  372. package/dist/module-types/src/components/atoms/server/icons/signs/MinusIcon/NarrowMinus.d.ts +1 -1
  373. package/dist/module-types/src/components/atoms/server/icons/signs/MinusIcon/index.d.ts +1 -1
  374. package/dist/module-types/src/components/atoms/server/icons/signs/PlusIcon/NarrowPlus.d.ts +1 -1
  375. package/dist/module-types/src/components/atoms/server/icons/signs/PlusIcon/Plus.d.ts +1 -1
  376. package/dist/module-types/src/components/atoms/server/icons/signs/PlusIcon/index.d.ts +1 -1
  377. package/dist/module-types/src/components/atoms/server/icons/signs/UpIcon/Up.d.ts +1 -1
  378. package/dist/module-types/src/components/atoms/server/icons/signs/UpIcon/index.d.ts +1 -1
  379. package/dist/module-types/src/components/atoms/server/icons/specials/BalloonIcon/Balloon.d.ts +1 -1
  380. package/dist/module-types/src/components/atoms/server/icons/specials/BalloonIcon/index.d.ts +1 -1
  381. package/dist/module-types/src/components/atoms/server/icons/specials/FacebookIcon/Facebook.d.ts +1 -1
  382. package/dist/module-types/src/components/atoms/server/icons/specials/FacebookIcon/index.d.ts +1 -1
  383. package/dist/module-types/src/components/atoms/server/icons/specials/GmailIcon/Gmail.d.ts +1 -1
  384. package/dist/module-types/src/components/atoms/server/icons/specials/GmailIcon/index.d.ts +1 -1
  385. package/dist/module-types/src/components/atoms/server/icons/specials/SortIcon/index.d.ts +1 -1
  386. package/dist/module-types/src/components/atoms/server/icons/specials/TelegramIcon/Telegram.d.ts +1 -1
  387. package/dist/module-types/src/components/atoms/server/icons/specials/TelegramIcon/index.d.ts +1 -1
  388. package/dist/module-types/src/components/atoms/server/icons/utils/CircleFilledFrame.d.ts +1 -1
  389. package/dist/module-types/src/components/atoms/server/icons/utils/CircleFrame.d.ts +1 -1
  390. package/dist/module-types/src/components/atoms/server/icons/utils/CirclePath.d.ts +1 -1
  391. package/dist/module-types/src/components/atoms/server/icons/utils/Segment.d.ts +1 -1
  392. package/dist/module-types/src/components/atoms/server/icons/utils/SquareFilledFrame.d.ts +1 -1
  393. package/dist/module-types/src/components/atoms/server/icons/utils/SquareFrame.d.ts +1 -1
  394. package/dist/module-types/src/components/atoms/server/icons/utils/renderBasicIcon.d.ts +1 -1
  395. package/dist/module-types/src/components/atoms/server/icons/utils/renderSignIcon.d.ts +1 -1
  396. package/dist/module-types/src/components/atoms/server/loaders/LoaderLayer.d.ts +1 -1
  397. package/dist/module-types/src/components/atoms/server/loaders/line-loader/LineLoader.d.ts +1 -1
  398. package/dist/module-types/src/components/mockup/MockupJukiProvider.d.ts +1 -1
  399. package/dist/module-types/src/components/mockup/MockupLoginButton.d.ts +1 -1
  400. package/dist/module-types/src/components/mockup/MockupToggleThemeButton.d.ts +1 -1
  401. package/dist/module-types/src/components/molecules/Breadcrumbs/Breadcrumbs.d.ts +1 -1
  402. package/dist/module-types/src/components/molecules/ButtonAction/ButtonAction.d.ts +1 -1
  403. package/dist/module-types/src/components/molecules/ButtonLoader/ButtonLoader.d.ts +1 -1
  404. package/dist/module-types/src/components/molecules/CheckboxList/CheckboxList.d.ts +1 -1
  405. package/dist/module-types/src/components/molecules/CircularProgress/CircularProgress.d.ts +1 -1
  406. package/dist/module-types/src/components/molecules/DayPicker/DayPicker.d.ts +1 -1
  407. package/dist/module-types/src/components/molecules/Drawer/Drawer.d.ts +1 -1
  408. package/dist/module-types/src/components/molecules/FetcherLayer/FetcherLayer.d.ts +1 -1
  409. package/dist/module-types/src/components/molecules/FloatToolbar/FloatToolbar.d.ts +1 -1
  410. package/dist/module-types/src/components/molecules/HomeLink/HomeLink.d.ts +1 -1
  411. package/dist/module-types/src/components/molecules/InformationPopover/FrozenInformation.d.ts +1 -1
  412. package/dist/module-types/src/components/molecules/InformationPopover/InformationPopover.d.ts +1 -1
  413. package/dist/module-types/src/components/molecules/InformationPopover/NewlineInfo.d.ts +1 -1
  414. package/dist/module-types/src/components/molecules/InformationPopover/QuietInformation.d.ts +1 -1
  415. package/dist/module-types/src/components/molecules/InformationPopover/UpsolvingInformation.d.ts +1 -1
  416. package/dist/module-types/src/components/molecules/InputDate/InputDate.d.ts +1 -1
  417. package/dist/module-types/src/components/molecules/LinkLastPath/LinkLastPath.d.ts +1 -1
  418. package/dist/module-types/src/components/molecules/MonthPicker/MonthPicker.d.ts +1 -1
  419. package/dist/module-types/src/components/molecules/MultiSelectSearchable/MultiSelectSearchable.d.ts +1 -1
  420. package/dist/module-types/src/components/molecules/NextButton/NextButton.d.ts +1 -1
  421. package/dist/module-types/src/components/molecules/Pagination/Pagination.d.ts +1 -1
  422. package/dist/module-types/src/components/molecules/PreviousButton/PreviousButton.d.ts +1 -1
  423. package/dist/module-types/src/components/molecules/ProgressMultiBar/ProgressMultiBar.d.ts +1 -1
  424. package/dist/module-types/src/components/molecules/ProgressSlide/ProgressSlide.d.ts +1 -1
  425. package/dist/module-types/src/components/molecules/SplitModal/SplitModal.d.ts +1 -1
  426. package/dist/module-types/src/components/molecules/SplitPane/SplitPane.d.ts +1 -1
  427. package/dist/module-types/src/components/molecules/SubmissionRejudgeButton/SubmissionRejudgeButton.d.ts +1 -1
  428. package/dist/module-types/src/components/molecules/Tabs/Tabs.d.ts +1 -1
  429. package/dist/module-types/src/components/molecules/Tabs/mocks/JudgeTabs.d.ts +1 -1
  430. package/dist/module-types/src/components/molecules/TabsInline/TabsInline.d.ts +1 -1
  431. package/dist/module-types/src/components/molecules/TabsInline/TabsInline.deprecated.d.ts +1 -1
  432. package/dist/module-types/src/components/molecules/TabsInline/TabsInlineButton.d.ts +1 -1
  433. package/dist/module-types/src/components/molecules/TabsInline/TabsInlineButtonLoader.d.ts +1 -1
  434. package/dist/module-types/src/components/molecules/TabsInlineBody/TabsInlineBody.d.ts +1 -1
  435. package/dist/module-types/src/components/molecules/TabsInlineBody/TabsInlineBody.deprecated.d.ts +1 -1
  436. package/dist/module-types/src/components/molecules/ThemeColorPalette/ThemeColorPalette.d.ts +1 -1
  437. package/dist/module-types/src/components/molecules/TimePicker/TimePicker.d.ts +1 -1
  438. package/dist/module-types/src/components/molecules/Timer/Timer.d.ts +1 -1
  439. package/dist/module-types/src/components/molecules/Timer/TimerDisplay.d.ts +1 -1
  440. package/dist/module-types/src/components/molecules/TimerLabeled/TimerLabeled.d.ts +1 -1
  441. package/dist/module-types/src/components/molecules/TwoActionModal/TwoActionModal.d.ts +1 -1
  442. package/dist/module-types/src/components/molecules/TwoContentSection/TwoContentSection.d.ts +1 -1
  443. package/dist/module-types/src/components/molecules/YearPicker/YearPicker.d.ts +1 -1
  444. package/dist/module-types/src/components/molecules/_lazy_/BarChart/BarChart.d.ts +1 -1
  445. package/dist/module-types/src/components/molecules/_lazy_/BarChart/index.d.ts +1 -1
  446. package/dist/module-types/src/components/molecules/_lazy_/CodeEditor/CodeEditor.d.ts +1 -1
  447. package/dist/module-types/src/components/molecules/_lazy_/CodeEditor/codemirror/types.d.ts +15 -1
  448. package/dist/module-types/src/components/molecules/_lazy_/CodeEditor/index.d.ts +1 -1
  449. package/dist/module-types/src/components/molecules/_lazy_/CodeEditor/types.d.ts +6 -0
  450. package/dist/module-types/src/components/molecules/_lazy_/CodeViewer/CodeViewer.d.ts +1 -1
  451. package/dist/module-types/src/components/molecules/_lazy_/CodeViewer/index.d.ts +1 -1
  452. package/dist/module-types/src/components/molecules/_lazy_/DataGrid/DataGrid.d.ts +1 -1
  453. package/dist/module-types/src/components/molecules/_lazy_/DataGrid/index.d.ts +1 -1
  454. package/dist/module-types/src/components/molecules/_lazy_/DrawerView/DrawerView.d.ts +1 -1
  455. package/dist/module-types/src/components/molecules/_lazy_/DrawerView/index.d.ts +1 -1
  456. package/dist/module-types/src/components/molecules/_lazy_/ImageLoaderCropper/ImageLoaderCropper.d.ts +1 -1
  457. package/dist/module-types/src/components/molecules/_lazy_/ImageLoaderCropper/index.d.ts +1 -1
  458. package/dist/module-types/src/components/molecules/_lazy_/InputColor/InputColor.d.ts +1 -1
  459. package/dist/module-types/src/components/molecules/_lazy_/InputColor/index.d.ts +1 -1
  460. package/dist/module-types/src/components/molecules/_lazy_/LineChart/LineChart.d.ts +1 -1
  461. package/dist/module-types/src/components/molecules/_lazy_/LineChart/index.d.ts +1 -1
  462. package/dist/module-types/src/components/molecules/_lazy_/SlideDeck/SlideDeck.d.ts +1 -1
  463. package/dist/module-types/src/components/molecules/_lazy_/SlideDeck/index.d.ts +1 -1
  464. package/dist/module-types/src/components/molecules/_lazy_/SortableItems/SortableItems.d.ts +1 -1
  465. package/dist/module-types/src/components/molecules/_lazy_/SortableItems/index.d.ts +1 -1
  466. package/dist/module-types/src/components/molecules/layouts/ApplicationLoaderLayout.d.ts +1 -1
  467. package/dist/module-types/src/components/molecules/layouts/JukiLoadingLayout.d.ts +1 -1
  468. package/dist/module-types/src/components/molecules/layouts/PawsLoadingLayout.d.ts +1 -1
  469. package/dist/module-types/src/components/molecules/layouts/TwoContentCardsLayout.d.ts +1 -1
  470. package/dist/module-types/src/components/molecules/layouts/TwoContentLayout.d.ts +1 -1
  471. package/dist/module-types/src/components/molecules/layouts/UserLoaderLayout.d.ts +1 -1
  472. package/dist/module-types/src/components/organisms/AiChatPanel/AiChatPanel.d.ts +1 -1
  473. package/dist/module-types/src/components/organisms/CardNotification/CardNotification.d.ts +1 -1
  474. package/dist/module-types/src/components/organisms/CardNotification/constants.d.ts +4 -4
  475. package/dist/module-types/src/components/organisms/CheckUnsavedChanges/CheckUnsavedChanges.d.ts +1 -1
  476. package/dist/module-types/src/components/organisms/Field/Field.d.ts +1 -1
  477. package/dist/module-types/src/components/organisms/FieldDate/FieldDate.d.ts +1 -1
  478. package/dist/module-types/src/components/organisms/FieldText/FieldText.d.ts +1 -1
  479. package/dist/module-types/src/components/organisms/GraphvizEditor/GraphvizEditor.d.ts +1 -1
  480. package/dist/module-types/src/components/organisms/GraphvizEditorModal/GraphvizEditorModal.d.ts +1 -1
  481. package/dist/module-types/src/components/organisms/GraphvizViewers/GraphvizViewers.d.ts +1 -1
  482. package/dist/module-types/src/components/organisms/HorizontalMenu/HorizontalMenu.d.ts +1 -1
  483. package/dist/module-types/src/components/organisms/ImageUploaderButton/ImageUploaderButton.d.ts +1 -1
  484. package/dist/module-types/src/components/organisms/LoginUser/LoginUser.d.ts +1 -1
  485. package/dist/module-types/src/components/organisms/MdMathViewer/MdFloatToolbar/MdFloatToolbar.d.ts +1 -1
  486. package/dist/module-types/src/components/organisms/MdMathViewer/MdMathViewer.d.ts +1 -1
  487. package/dist/module-types/src/components/organisms/MdMathViewer/MemoMdMath.deprecated.d.ts +1 -1
  488. package/dist/module-types/src/components/organisms/MdMathViewer/MemoMdMathViewer.deprecated.d.ts +1 -1
  489. package/dist/module-types/src/components/organisms/PageNotFound/PageNotFound.d.ts +1 -1
  490. package/dist/module-types/src/components/organisms/PagedDataViewer/PagedDataViewer.d.ts +1 -1
  491. package/dist/module-types/src/components/organisms/PresentationToolButtons/PresentationToolButtons.d.ts +1 -1
  492. package/dist/module-types/src/components/organisms/PresentationToolButtons/buttons/FullscreenTimerButton.d.ts +1 -1
  493. package/dist/module-types/src/components/organisms/PresentationToolButtons/buttons/FullscreenToggleButton.d.ts +1 -1
  494. package/dist/module-types/src/components/organisms/PresentationToolButtons/buttons/PointerButton.d.ts +1 -1
  495. package/dist/module-types/src/components/organisms/ProblemSelector/ProblemSelector.d.ts +1 -1
  496. package/dist/module-types/src/components/organisms/ProblemVerdictTag/ProblemVerdictTag.d.ts +1 -1
  497. package/dist/module-types/src/components/organisms/SubmitView/SubmitView.d.ts +1 -1
  498. package/dist/module-types/src/components/organisms/SubmitView/commons/SubmissionGroupInfo.d.ts +1 -1
  499. package/dist/module-types/src/components/organisms/SubmitView/commons/SubmissionListenerVerdict.d.ts +1 -1
  500. package/dist/module-types/src/components/organisms/SubmitView/commons/SubmissionMemory.d.ts +1 -1
  501. package/dist/module-types/src/components/organisms/SubmitView/commons/SubmissionTime.d.ts +1 -1
  502. package/dist/module-types/src/components/organisms/SubmitView/commons/SubmissionVerdict.d.ts +1 -1
  503. package/dist/module-types/src/components/organisms/SubmitView/commons/SubmitViewContent.d.ts +1 -1
  504. package/dist/module-types/src/components/organisms/TextHeadCell/TextHeadCell.d.ts +1 -1
  505. package/dist/module-types/src/components/organisms/UserChip/UserChip.d.ts +1 -1
  506. package/dist/module-types/src/components/organisms/UserNicknameLink/UserNicknameLink.d.ts +1 -1
  507. package/dist/module-types/src/components/organisms/UsersSelector/UsersSelector.d.ts +1 -1
  508. package/dist/module-types/src/components/organisms/VerticalMenu/VerticalMenu.d.ts +1 -1
  509. package/dist/module-types/src/components/organisms/_layz_/ChangePasswordModal/ChangePasswordModal.d.ts +1 -1
  510. package/dist/module-types/src/components/organisms/_layz_/ChangePasswordModal/index.d.ts +1 -1
  511. package/dist/module-types/src/components/organisms/_layz_/DataViewer/CardList/DataViewerCard.d.ts +1 -1
  512. package/dist/module-types/src/components/organisms/_layz_/DataViewer/CardList/index.d.ts +1 -1
  513. package/dist/module-types/src/components/organisms/_layz_/DataViewer/DataViewer.d.ts +1 -1
  514. package/dist/module-types/src/components/organisms/_layz_/DataViewer/FilterDrawer/index.d.ts +1 -1
  515. package/dist/module-types/src/components/organisms/_layz_/DataViewer/JkContestTableTest/MockJkContestTable.d.ts +1 -1
  516. package/dist/module-types/src/components/organisms/_layz_/DataViewer/JkProblemTableTest/MockJkProblemTable.d.ts +1 -1
  517. package/dist/module-types/src/components/organisms/_layz_/DataViewer/JkSubmissionsTableTest/MockJkSubmissionTable.d.ts +1 -1
  518. package/dist/module-types/src/components/organisms/_layz_/DataViewer/JkUserTableTest/MockJkUserTable.d.ts +1 -1
  519. package/dist/module-types/src/components/organisms/_layz_/DataViewer/RowList/RowVirtualizerFixed.d.ts +1 -1
  520. package/dist/module-types/src/components/organisms/_layz_/DataViewer/RowList/TableHead/Filter.d.ts +1 -1
  521. package/dist/module-types/src/components/organisms/_layz_/DataViewer/RowList/TableHead/TableHeadFilterDate.d.ts +1 -1
  522. package/dist/module-types/src/components/organisms/_layz_/DataViewer/RowList/TableHead/TableHeadFilterDateRange.d.ts +1 -1
  523. package/dist/module-types/src/components/organisms/_layz_/DataViewer/RowList/TableHead/TableHeadFilterSelect.d.ts +1 -1
  524. package/dist/module-types/src/components/organisms/_layz_/DataViewer/RowList/TableHead/TableHeadFilterText.d.ts +1 -1
  525. package/dist/module-types/src/components/organisms/_layz_/DataViewer/RowList/ViewContainerRows.d.ts +1 -1
  526. package/dist/module-types/src/components/organisms/_layz_/DataViewer/commons/DataViewerToolbar.d.ts +1 -1
  527. package/dist/module-types/src/components/organisms/_layz_/DataViewer/commons/DisplayDataViewer.d.ts +1 -1
  528. package/dist/module-types/src/components/organisms/_layz_/DataViewer/commons/utils.d.ts +1 -1
  529. package/dist/module-types/src/components/organisms/_layz_/DataViewer/index.d.ts +1 -1
  530. package/dist/module-types/src/components/organisms/_layz_/ExcalidrawButton/ExcalidrawButton.d.ts +1 -1
  531. package/dist/module-types/src/components/organisms/_layz_/ExcalidrawButton/index.d.ts +1 -1
  532. package/dist/module-types/src/components/organisms/_layz_/GraphvizViewer/GraphvizViewer.d.ts +1 -1
  533. package/dist/module-types/src/components/organisms/_layz_/GraphvizViewer/index.d.ts +1 -1
  534. package/dist/module-types/src/components/organisms/_layz_/MdMath/MdMath.d.ts +1 -1
  535. package/dist/module-types/src/components/organisms/_layz_/MdMath/MermaidInline.d.ts +1 -1
  536. package/dist/module-types/src/components/organisms/_layz_/MdMath/index.d.ts +1 -1
  537. package/dist/module-types/src/components/organisms/_layz_/MdMath/utils.d.ts +1 -1
  538. package/dist/module-types/src/components/organisms/_layz_/MdMathEditor/MdMathEditor.deprecated.d.ts +1 -1
  539. package/dist/module-types/src/components/organisms/_layz_/MdMathEditor/TextPlainEditorContent/TextPlainEditorContent.d.ts +1 -1
  540. package/dist/module-types/src/components/organisms/_layz_/UserCodeEditor/CodeRunnerEditor/CodeRunnerEditor.d.ts +1 -1
  541. package/dist/module-types/src/components/organisms/_layz_/UserCodeEditor/CodeRunnerEditor/FileTreePanel/FileTreePanel.d.ts +3 -1
  542. package/dist/module-types/src/components/organisms/_layz_/UserCodeEditor/CodeRunnerEditor/FileTreePanel/types.d.ts +8 -2
  543. package/dist/module-types/src/components/organisms/_layz_/UserCodeEditor/CodeRunnerEditor/FirstPane.d.ts +7 -2
  544. package/dist/module-types/src/components/organisms/_layz_/UserCodeEditor/CodeRunnerEditor/Header/RunCodeButton.d.ts +3 -2
  545. package/dist/module-types/src/components/organisms/_layz_/UserCodeEditor/CodeRunnerEditor/Header/index.d.ts +3 -1
  546. package/dist/module-types/src/components/organisms/_layz_/UserCodeEditor/CodeRunnerEditor/MermaidViewer/GraphicToolbar.d.ts +1 -1
  547. package/dist/module-types/src/components/organisms/_layz_/UserCodeEditor/CodeRunnerEditor/MermaidViewer/MermaidViewer.d.ts +1 -1
  548. package/dist/module-types/src/components/organisms/_layz_/UserCodeEditor/CodeRunnerEditor/SettingsModal/index.d.ts +1 -1
  549. package/dist/module-types/src/components/organisms/_layz_/UserCodeEditor/CodeRunnerEditor/TestCases/LogInfo.d.ts +1 -1
  550. package/dist/module-types/src/components/organisms/_layz_/UserCodeEditor/CodeRunnerEditor/TestCases/index.d.ts +3 -1
  551. package/dist/module-types/src/components/organisms/_layz_/UserCodeEditor/CodeRunnerEditor/types.d.ts +21 -2
  552. package/dist/module-types/src/components/organisms/_layz_/UserCodeEditor/types.d.ts +11 -0
  553. package/dist/module-types/src/components/organisms/_layz_/WorksheetAsSlides/WorksheetAsSlides.d.ts +1 -1
  554. package/dist/module-types/src/components/organisms/_layz_/WorksheetAsSlides/index.d.ts +1 -1
  555. package/dist/module-types/src/components/organisms/_layz_/WorksheetContents/WorksheetContents.d.ts +1 -1
  556. package/dist/module-types/src/components/organisms/_layz_/WorksheetContents/index.d.ts +1 -1
  557. package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/WorksheetEditor.d.ts +1 -1
  558. package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/index.d.ts +1 -1
  559. package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/AddNewChild.d.ts +1 -1
  560. package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/ChunkTitle.d.ts +1 -1
  561. package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/CodeEditorSheetSection/CodeEditorSheetSection.d.ts +1 -1
  562. package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/CodeEditorSheetSection/CodeEditorSheetSectionEditor.d.ts +1 -1
  563. package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/CodeEditorSheetSection/CodeEditorSheetSectionEditorModal.d.ts +1 -1
  564. package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/CodeEditorSheetSection/CodeEditorSheetSectionView.d.ts +1 -1
  565. package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/EditSheetModal.d.ts +1 -1
  566. package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/GraphSheetSection/GraphSheetSection.d.ts +1 -1
  567. package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/GraphSheetSection/GraphSheetSectionEditor.d.ts +1 -1
  568. package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/GraphSheetSection/GraphSheetSectionEditorModal.d.ts +1 -1
  569. package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/GraphSheetSection/GraphSheetSectionView.d.ts +1 -1
  570. package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/JkmdSheetSection/JkmdSheetSection.d.ts +1 -1
  571. package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/JkmdSheetSection/JkmdSheetSection.old.d.ts +1 -1
  572. package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/JkmdSheetSection/JkmdSheetSectionEditor.d.ts +1 -1
  573. package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/JkmdSheetSection/JkmdSheetSectionEditorModal.d.ts +1 -1
  574. package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/ListSheetSection/ListSheetRecursiveSection.d.ts +1 -1
  575. package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/ListSheetSection/ListSheetSection.d.ts +1 -1
  576. package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/QuizOptionsSheetSection/QuizOptionsSheetSection.d.ts +1 -1
  577. package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/QuizOptionsSheetSection/QuizOptionsSheetSectionEditor.d.ts +1 -1
  578. package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/QuizOptionsSheetSection/QuizOptionsSheetSectionEditorModal.d.ts +1 -1
  579. package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/QuizOptionsSheetSection/QuizOptionsSheetSectionView.d.ts +1 -1
  580. package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/QuizProblemSheetSection/ProblemSummary.d.ts +1 -1
  581. package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/QuizProblemSheetSection/QuizProblemSheetSection.d.ts +1 -1
  582. package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/QuizProblemSheetSection/QuizProblemSheetSectionEditor.d.ts +1 -1
  583. package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/QuizProblemSheetSection/QuizProblemSheetSectionEditorModal.d.ts +1 -1
  584. package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/QuizProblemSheetSection/QuizProblemSheetSectionView.d.ts +1 -1
  585. package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/ResultHeader.d.ts +2 -2
  586. package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/TableOfContents.d.ts +1 -1
  587. package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/TableOfContentsModal.d.ts +1 -1
  588. package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/UpRemoveDownButtons.d.ts +1 -1
  589. package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/WorksheetBodies.d.ts +1 -1
  590. package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/WorksheetNode.d.ts +1 -1
  591. package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/upRemoveDownActions.d.ts +4 -4
  592. package/dist/module-types/src/components/organisms/_layz_/WorksheetViewer/WorksheetViewer.d.ts +1 -1
  593. package/dist/module-types/src/components/organisms/_layz_/WorksheetViewer/index.d.ts +1 -1
  594. package/dist/module-types/src/components/organisms/modals/ImageUploaderModal/ImageUploaderModal.d.ts +1 -1
  595. package/dist/module-types/src/components/organisms/modals/ImageUploaderModal/PublicImagesTab/PublicImages.d.ts +1 -1
  596. package/dist/module-types/src/components/organisms/modals/ImageUploaderModal/PublicImagesTab/index.d.ts +1 -1
  597. package/dist/module-types/src/components/organisms/modals/ImageUploaderModal/UploadNewImageTab/index.d.ts +1 -1
  598. package/dist/module-types/src/components/organisms/modals/LoginModal/LoginModal.d.ts +2 -2
  599. package/dist/module-types/src/components/organisms/modals/LoginModal/LoginModalTemplate/ForgotPassword/ForgoPasswordModal.d.ts +1 -1
  600. package/dist/module-types/src/components/organisms/modals/LoginModal/LoginModalTemplate/ForgotPassword/index.d.ts +1 -1
  601. package/dist/module-types/src/components/organisms/modals/LoginModal/LoginModalTemplate/LoginModalTemplate.d.ts +1 -1
  602. package/dist/module-types/src/components/organisms/modals/SignUpModal/SignUpModal.d.ts +1 -1
  603. package/dist/module-types/src/components/organisms/modals/SignUpModal/SignUpModalTemplate/SignUpModalTemplate.d.ts +1 -1
  604. package/dist/module-types/src/components/organisms/modals/SubmissionModal/SubmissionContentModal.d.ts +1 -1
  605. package/dist/module-types/src/components/organisms/modals/SubmissionModal/SubmissionModal.d.ts +1 -1
  606. package/dist/module-types/src/components/organisms/modals/UserPreviewModal/UserPreviewContentModal.d.ts +2 -2
  607. package/dist/module-types/src/components/organisms/modals/UserPreviewModal/UserPreviewModal.d.ts +1 -1
  608. package/dist/module-types/src/components/organisms/modals/WelcomeModal/WelcomeModal.d.ts +1 -1
  609. package/dist/module-types/src/components/providers/JukiAblyInitializer/JukiAblyInitializer.d.ts +2 -2
  610. package/dist/module-types/src/components/providers/JukiProviders.d.ts +1 -1
  611. package/dist/module-types/src/components/providers/JukiUIProvider/Image.d.ts +1 -1
  612. package/dist/module-types/src/components/providers/JukiUIProvider/JukiUIProvider.d.ts +1 -1
  613. package/dist/module-types/src/components/providers/JukiUIProvider/Link.d.ts +1 -1
  614. package/dist/module-types/src/components/providers/NotificationProvider/NotificationProvider.d.ts +1 -1
  615. package/dist/module-types/src/components/templates/ContestNameLinkField/ContestNameLinkField.d.ts +1 -1
  616. package/dist/module-types/src/components/templates/EditProfileModal/EditProfileModal.d.ts +1 -1
  617. package/dist/module-types/src/components/templates/EditProfileModal/ImageProfileModal.d.ts +1 -1
  618. package/dist/module-types/src/components/templates/EntityCreateLayout/EntityCreateLayout.d.ts +1 -1
  619. package/dist/module-types/src/components/templates/EntityLogsModal/EntityLogsModal.d.ts +1 -1
  620. package/dist/module-types/src/components/templates/EntityUpdateLayout/EntityUpdateLayout.d.ts +1 -1
  621. package/dist/module-types/src/components/templates/ErrorBoundary/ErrorBoundary.d.ts +2 -2
  622. package/dist/module-types/src/components/templates/HelpSection/HelpSection.d.ts +1 -1
  623. package/dist/module-types/src/components/templates/MainMenu/DrawerViewMenuMobile/DrawerViewMenuMobile.d.ts +1 -1
  624. package/dist/module-types/src/components/templates/MainMenu/MainMenu.d.ts +1 -1
  625. package/dist/module-types/src/components/templates/MainMenu/SettingsSection/index.d.ts +3 -3
  626. package/dist/module-types/src/components/templates/NewViersionAvailableModal/NewVersionAvailable.d.ts +1 -1
  627. package/dist/module-types/src/components/templates/NewViersionAvailableModal/NewVersionAvailableModal/NewVersionAvailableModal.d.ts +1 -1
  628. package/dist/module-types/src/components/templates/ProblemView/ProblemInfo.d.ts +6 -6
  629. package/dist/module-types/src/components/templates/ProblemView/ProblemView.d.ts +1 -1
  630. package/dist/module-types/src/components/templates/ProblemView/commons/ProblemCodeEditor.d.ts +1 -1
  631. package/dist/module-types/src/components/templates/ProblemView/commons/ProblemStatementView.d.ts +1 -1
  632. package/dist/module-types/src/components/templates/ProblemView/commons/SampleTest.d.ts +1 -1
  633. package/dist/module-types/src/components/templates/ResetPasswordModal/ResetPasswordModal.d.ts +1 -1
  634. package/dist/module-types/src/components/templates/UserActiveSessions/UserMyActiveSessions.d.ts +1 -1
  635. package/dist/module-types/src/components/templates/UserProfile/UserProfile.d.ts +1 -1
  636. package/dist/module-types/src/components/templates/UserProfile/UserProfileDataContent.d.ts +1 -1
  637. package/dist/module-types/src/components/templates/UserProfileSettings/UserProfileSettings.d.ts +1 -1
  638. package/dist/module-types/src/components/templates/UserViewLayout/ProfileSubmissions.d.ts +1 -1
  639. package/dist/module-types/src/components/templates/UserViewLayout/UserViewLayout.d.ts +1 -1
  640. package/dist/module-types/src/components/templates/members/DocumentCustomMembersContent.d.ts +1 -1
  641. package/dist/module-types/src/components/templates/members/DocumentMembersButton.d.ts +1 -1
  642. package/dist/module-types/src/components/templates/members/DocumentMembersContent.d.ts +1 -1
  643. package/dist/module-types/src/components/templates/members/DocumentMembersModal/DocumentMembersModal.d.ts +1 -1
  644. package/dist/module-types/src/components/templates/problem/ProblemAdminActionsField.d.ts +1 -1
  645. package/dist/module-types/src/components/templates/problem/ProblemCrawlerField.d.ts +1 -1
  646. package/dist/module-types/src/components/templates/problem/ProblemKeyField.d.ts +1 -1
  647. package/dist/module-types/src/components/templates/problem/ProblemModeField.d.ts +1 -1
  648. package/dist/module-types/src/components/templates/problem/ProblemNameLinkField.d.ts +1 -1
  649. package/dist/module-types/src/components/templates/problem/ProblemNameModalField.d.ts +1 -1
  650. package/dist/module-types/src/components/templates/problem/ProblemOwnerField.d.ts +1 -1
  651. package/dist/module-types/src/components/templates/problem/ProblemStatus.d.ts +1 -1
  652. package/dist/module-types/src/components/templates/problem/ProblemTypeField.d.ts +1 -1
  653. package/dist/module-types/src/components/templates/problem/TagsField.d.ts +1 -1
  654. package/dist/module-types/src/components/templates/submission/SubmissionContestField.d.ts +1 -1
  655. package/dist/module-types/src/components/templates/submission/SubmissionContestProblemField.d.ts +1 -1
  656. package/dist/module-types/src/components/templates/submission/SubmissionDateField.d.ts +1 -1
  657. package/dist/module-types/src/components/templates/submission/SubmissionLanguageField.d.ts +1 -1
  658. package/dist/module-types/src/components/templates/submission/SubmissionNicknameField.d.ts +1 -1
  659. package/dist/module-types/src/components/templates/submission/SubmissionProblemField.d.ts +1 -1
  660. package/dist/module-types/src/components/templates/submission/SubmissionRetrieveButton.d.ts +1 -1
  661. package/dist/module-types/src/components/templates/submission/SubmissionTimeField.d.ts +1 -1
  662. package/dist/module-types/src/components/templates/submission/commons/SubmissionInfo.d.ts +1 -1
  663. package/dist/module-types/src/stores/user/useUserStore.d.ts +1 -1
  664. package/package.json +92 -98
  665. package/src/styles/components/atoms/_button.scss +3 -3
  666. package/src/styles/components/atoms/_tabs-inline.scss +106 -18
  667. package/src/styles/components/molecules/_layouts.scss +2 -2
  668. package/src/styles/index.scss +6 -0
  669. package/src/styles/vendor/index.scss +0 -2
  670. package/src/vendor/@milkdown/crepe/lib/theme/common/ai.css +446 -0
  671. package/src/vendor/@milkdown/crepe/lib/theme/common/block-edit.css +3 -3
  672. package/src/vendor/@milkdown/crepe/lib/theme/common/code-mirror.css +19 -5
  673. package/src/vendor/@milkdown/crepe/lib/theme/common/diff.css +177 -0
  674. package/src/vendor/@milkdown/crepe/lib/theme/common/image-block.css +2 -2
  675. package/src/vendor/@milkdown/crepe/lib/theme/common/link-tooltip.css +3 -3
  676. package/src/vendor/@milkdown/crepe/lib/theme/common/reset.css +15 -14
  677. package/src/vendor/@milkdown/crepe/lib/theme/common/style.css +2 -0
  678. package/src/vendor/@milkdown/crepe/lib/theme/common/table.css +1 -1
  679. package/src/vendor/@milkdown/crepe/lib/theme/common/top-bar.css +2 -2
  680. package/src/vendor/@milkdown/crepe/lib/theme/crepe/style.css +1 -0
  681. package/src/vendor/@milkdown/crepe/lib/theme/crepe-dark/style.css +1 -0
  682. package/src/vendor/@milkdown/crepe/lib/theme/frame/style.css +1 -0
  683. package/src/vendor/@milkdown/crepe/lib/theme/frame-dark/style.css +1 -0
  684. package/src/vendor/@milkdown/crepe/lib/theme/nord/style.css +1 -0
  685. package/src/vendor/@milkdown/crepe/lib/theme/nord-dark/style.css +1 -0
  686. package/src/vendor/@milkdown/crepe/src/theme/common/ai.css +430 -0
  687. package/src/vendor/@milkdown/crepe/src/theme/common/block-edit.css +3 -3
  688. package/src/vendor/@milkdown/crepe/src/theme/common/code-mirror.css +19 -5
  689. package/src/vendor/@milkdown/crepe/src/theme/common/diff.css +196 -0
  690. package/src/vendor/@milkdown/crepe/src/theme/common/image-block.css +2 -2
  691. package/src/vendor/@milkdown/crepe/src/theme/common/link-tooltip.css +3 -3
  692. package/src/vendor/@milkdown/crepe/src/theme/common/reset.css +15 -14
  693. package/src/vendor/@milkdown/crepe/src/theme/common/style.css +2 -0
  694. package/src/vendor/@milkdown/crepe/src/theme/common/table.css +1 -1
  695. package/src/vendor/@milkdown/crepe/src/theme/common/top-bar.css +2 -2
  696. package/src/vendor/@milkdown/crepe/src/theme/crepe/style.css +1 -0
  697. package/src/vendor/@milkdown/crepe/src/theme/crepe-dark/style.css +1 -0
  698. package/src/vendor/@milkdown/crepe/src/theme/frame/style.css +1 -0
  699. package/src/vendor/@milkdown/crepe/src/theme/frame-dark/style.css +1 -0
  700. package/src/vendor/@milkdown/crepe/src/theme/nord/style.css +1 -0
  701. package/src/vendor/@milkdown/crepe/src/theme/nord-dark/style.css +1 -0
  702. package/src/vendor/fumadocs-ui/css/generated/docs.css +1 -512
  703. package/src/vendor/fumadocs-ui/css/generated/flux.css +1 -432
  704. package/src/vendor/fumadocs-ui/css/generated/glass.css +1 -0
  705. package/src/vendor/fumadocs-ui/css/generated/home.css +1 -220
  706. package/src/vendor/fumadocs-ui/css/generated/notebook.css +1 -540
  707. package/src/vendor/fumadocs-ui/css/generated/shared.css +1 -1176
  708. package/src/vendor/fumadocs-ui/css/lib/base.css +93 -2
  709. package/src/vendor/fumadocs-ui/css/lib/shiki.css +2 -2
  710. package/src/vendor/fumadocs-ui/css/preset-legacy.css +38 -0
  711. package/src/vendor/fumadocs-ui/css/preset.css +0 -80
  712. package/src/vendor/fumadocs-ui/css/solar.css +10 -20
  713. package/src/vendor/fumadocs-ui/css/vitepress.css +17 -10
  714. package/src/vendor/fumadocs-ui/dist/components/image-zoom2.css +5 -0
  715. package/src/vendor/fumadocs-ui/dist/style.css +1375 -936
  716. package/src/vendor/handsontable/styles/handsontable.css +964 -416
  717. package/src/vendor/handsontable/styles/handsontable.min.css +5 -4
  718. package/src/vendor/handsontable/styles/ht-icons-horizon.css +11 -12
  719. package/src/vendor/handsontable/styles/ht-icons-horizon.min.css +5 -4
  720. package/src/vendor/handsontable/styles/ht-icons-main.css +11 -12
  721. package/src/vendor/handsontable/styles/ht-icons-main.min.css +5 -4
  722. package/src/vendor/handsontable/styles/ht-theme-classic-no-icons.css +28 -5
  723. package/src/vendor/handsontable/styles/ht-theme-classic-no-icons.min.css +5 -4
  724. package/src/vendor/handsontable/styles/ht-theme-classic.css +39 -17
  725. package/src/vendor/handsontable/styles/ht-theme-classic.min.css +5 -4
  726. package/src/vendor/handsontable/styles/ht-theme-horizon-no-icons.css +27 -4
  727. package/src/vendor/handsontable/styles/ht-theme-horizon-no-icons.min.css +5 -4
  728. package/src/vendor/handsontable/styles/ht-theme-horizon.css +38 -16
  729. package/src/vendor/handsontable/styles/ht-theme-horizon.min.css +5 -4
  730. package/src/vendor/handsontable/styles/ht-theme-main-no-icons.css +28 -5
  731. package/src/vendor/handsontable/styles/ht-theme-main-no-icons.min.css +5 -4
  732. package/src/vendor/handsontable/styles/ht-theme-main.css +39 -17
  733. package/src/vendor/handsontable/styles/ht-theme-main.min.css +5 -4
  734. package/src/vendor/highlight.js/scss/cybertopia-cherry.scss +2 -1
  735. package/src/vendor/highlight.js/scss/cybertopia-dimmer.scss +2 -1
  736. package/src/vendor/highlight.js/scss/cybertopia-icecap.scss +2 -1
  737. package/src/vendor/highlight.js/scss/cybertopia-saturated.scss +2 -1
  738. package/src/vendor/highlight.js/scss/equinox.scss +71 -0
  739. package/src/vendor/highlight.js/scss/vs-dark.scss +61 -0
  740. package/src/vendor/highlight.js/styles/cybertopia-cherry.css +2 -1
  741. package/src/vendor/highlight.js/styles/cybertopia-cherry.min.css +1 -1
  742. package/src/vendor/highlight.js/styles/cybertopia-dimmer.css +2 -1
  743. package/src/vendor/highlight.js/styles/cybertopia-dimmer.min.css +1 -1
  744. package/src/vendor/highlight.js/styles/cybertopia-icecap.css +2 -1
  745. package/src/vendor/highlight.js/styles/cybertopia-icecap.min.css +1 -1
  746. package/src/vendor/highlight.js/styles/cybertopia-saturated.css +2 -1
  747. package/src/vendor/highlight.js/styles/cybertopia-saturated.min.css +1 -1
  748. package/src/vendor/highlight.js/styles/equinox.css +71 -0
  749. package/src/vendor/highlight.js/styles/equinox.min.css +1 -0
  750. package/src/vendor/highlight.js/styles/vs-dark.css +61 -0
  751. package/src/vendor/highlight.js/styles/vs-dark.min.css +1 -0
  752. package/src/vendor/katex/dist/katex-swap.css +5 -2
  753. package/src/vendor/katex/dist/katex-swap.min.css +1 -1
  754. package/src/vendor/katex/dist/katex.css +5 -2
  755. package/src/vendor/katex/dist/katex.min.css +1 -1
  756. package/src/vendor/katex/src/styles/katex.scss +3 -1
  757. package/src/vendor/react-image-crop/dist/ReactCrop.css +2 -1
  758. package/src/vendor/reveal.js/css/reveal.scss +15 -0
  759. package/src/vendor/reveal.js/css/theme/fonts/league-gothic/league-gothic.woff +0 -0
  760. package/src/vendor/reveal.js/css/theme/fonts/source-sans-pro/source-sans-pro-italic.woff +0 -0
  761. package/src/vendor/reveal.js/css/theme/fonts/source-sans-pro/source-sans-pro-regular.woff +0 -0
  762. package/src/vendor/reveal.js/css/theme/fonts/source-sans-pro/source-sans-pro-semibold.woff +0 -0
  763. package/src/vendor/reveal.js/css/theme/fonts/source-sans-pro/source-sans-pro-semibolditalic.woff +0 -0
  764. package/src/vendor/reveal.js/dist/reveal.css +1 -1
  765. package/dist/esm/BarChart-D6H2EH3B.js +0 -1
  766. package/dist/esm/CartesianChart-_EyixekW.js +0 -47
  767. package/dist/esm/CodeEditor-CPsmXl7i.js +0 -1
  768. package/dist/esm/CodeViewer-DIncRhD1.js +0 -1
  769. package/dist/esm/DataGrid-CzZsh4gG.js +0 -272
  770. package/dist/esm/DataViewer-CSIcp1dE.js +0 -1
  771. package/dist/esm/ImageLoaderCropper-BjHykYfo.js +0 -1
  772. package/dist/esm/InputCellPhoneNumber-CAi0AXMP.js +0 -1
  773. package/dist/esm/LineChart-BL9HlHkG.js +0 -1
  774. package/dist/esm/MdMathEditor-D0f1McYj.js +0 -28
  775. package/dist/esm/Popover-DPn39FUa.js +0 -6
  776. package/dist/esm/SlideDeck-et5M4lE-.js +0 -1
  777. package/dist/esm/TableOfContents-CLrH5fjb.js +0 -1
  778. package/dist/esm/Tooltip-CEgmNtFX.js +0 -13
  779. package/dist/esm/UserCodeEditor-DlHeWLUu.js +0 -28
  780. package/dist/esm/WorksheetAsSlides-X5Ljvk2t.js +0 -1
  781. package/dist/esm/WorksheetEditor-Dq3apeLg.js +0 -1
  782. package/dist/esm/WorksheetNode-Chf37TwI.js +0 -1
  783. package/dist/esm/WorksheetViewer-B-slMCYv.js +0 -1
  784. package/dist/esm/_baseIteratee-DJNkOVK7.js +0 -1
  785. package/dist/esm/_baseUniq-BJKKUJ6e.js +0 -1
  786. package/dist/esm/arc-BqJSq9Se.js +0 -1
  787. package/dist/esm/architecture-YZFGNWBL-B4qRp-MK.js +0 -1
  788. package/dist/esm/architectureDiagram-Q4EWVU46-MfdUMKWh.js +0 -1
  789. package/dist/esm/basic-setup-UGhpl5jF.js +0 -1
  790. package/dist/esm/blockDiagram-DXYQGD6D-B53ncWj8.js +0 -1
  791. package/dist/esm/c4Diagram-AHTNJAMY-FdREycKs.js +0 -1
  792. package/dist/esm/channel-D_ARZf1V.js +0 -1
  793. package/dist/esm/chunk-4TB4RGXK-DpY00B8-.js +0 -1
  794. package/dist/esm/chunk-EDXVE4YY-DCPe-NtF.js +0 -1
  795. package/dist/esm/chunk-OYMX7WX6-C7RHHgRc.js +0 -1
  796. package/dist/esm/classDiagram-6PBFFD2Q-B7_Zpqtq.js +0 -1
  797. package/dist/esm/classDiagram-v2-HSJHXN6E-B7_Zpqtq.js +0 -1
  798. package/dist/esm/clone-DZNciEx8.js +0 -1
  799. package/dist/esm/commons-D9Mh1s5L.js +0 -1
  800. package/dist/esm/cose-bilkent-S5V4N54A-BOV94ldj.js +0 -1
  801. package/dist/esm/cytoscape.esm-D5qQrGhU.js +0 -9
  802. package/dist/esm/dagre-KV5264BT-BfFz9a4k.js +0 -1
  803. package/dist/esm/diagram-5BDNPKRD-I9IS2ANw.js +0 -1
  804. package/dist/esm/diagram-G4DWMVQ6-BXU7Dvs-.js +0 -1
  805. package/dist/esm/diagram-MMDJMWI5-Csk96FFg.js +0 -1
  806. package/dist/esm/diagram-TYMM5635-DPvqrKRl.js +0 -1
  807. package/dist/esm/erDiagram-SMLLAGMA-Dc1SOwcN.js +0 -1
  808. package/dist/esm/floating-ui.dom-BKnkJW47.js +0 -1
  809. package/dist/esm/flowDiagram-DWJPFMVM-Ck8eEuPh.js +0 -1
  810. package/dist/esm/ganttDiagram-T4ZO3ILL-D5DV1RYK.js +0 -1
  811. package/dist/esm/gitGraph-7Q5UKJZL-AWq1Wmi2.js +0 -1
  812. package/dist/esm/gitGraphDiagram-UUTBAWPF-BWpwlfSt.js +0 -1
  813. package/dist/esm/graph-DcE5swO6.js +0 -1
  814. package/dist/esm/index-Bp7rYslS.js +0 -1
  815. package/dist/esm/index-TeLD_8PN.js +0 -1
  816. package/dist/esm/info-OMHHGYJF-CDJfFYlp.js +0 -1
  817. package/dist/esm/infoDiagram-42DDH7IO-aiwYT7Xb.js +0 -1
  818. package/dist/esm/isSymbol-CATEdeai.js +0 -1
  819. package/dist/esm/isUndefined-DgmxjSXK.js +0 -1
  820. package/dist/esm/ishikawaDiagram-UXIWVN3A-adhn2Hxg.js +0 -1
  821. package/dist/esm/journeyDiagram-VCZTEJTY-w8F4Ngn_.js +0 -1
  822. package/dist/esm/kanban-definition-6JOO6SKY-BUy-pXA5.js +0 -1
  823. package/dist/esm/layout-LXPx6gJv.js +0 -1
  824. package/dist/esm/map-BvlAjF4J.js +0 -1
  825. package/dist/esm/memoize-CPUrcYQl.js +0 -1
  826. package/dist/esm/mermaid-parser.core-_V3e3eig.js +0 -1
  827. package/dist/esm/mermaid.core-C89m9NSM.js +0 -1
  828. package/dist/esm/min-Dc9VrJ6M.js +0 -1
  829. package/dist/esm/mindmap-definition-QFDTVHPH-DQor9UlS.js +0 -1
  830. package/dist/esm/nsis-Cx8FAvMN.js +0 -1
  831. package/dist/esm/packet-4T2RLAQJ-DGgnF4xi.js +0 -1
  832. package/dist/esm/pie-ZZUOXDRM-jgrNXYlk.js +0 -1
  833. package/dist/esm/pieDiagram-DEJITSTG-CFXV-DSu.js +0 -1
  834. package/dist/esm/purify.es-DBOWJxv3.js +0 -2
  835. package/dist/esm/quadrantDiagram-34T5L4WZ-C5PWeOxe.js +0 -1
  836. package/dist/esm/radar-PYXPWWZC-ZVxMZ3XM.js +0 -1
  837. package/dist/esm/requirementDiagram-MS252O5E-CAFUQ1SL.js +0 -1
  838. package/dist/esm/ruby-CR-u2WLS.js +0 -1
  839. package/dist/esm/sankeyDiagram-XADWPNL6-D63_orrT.js +0 -1
  840. package/dist/esm/sequenceDiagram-FGHM5R23-DjI8jxRK.js +0 -1
  841. package/dist/esm/stateDiagram-FHFEXIEX-BeDx2Idm.js +0 -1
  842. package/dist/esm/stateDiagram-v2-QKLJ7IA2-BSzNVn1D.js +0 -1
  843. package/dist/esm/string-LeDn2fkG.js +0 -1
  844. package/dist/esm/throttle-BsCMUG1-.js +0 -1
  845. package/dist/esm/timeline-definition-GMOUNBTQ-BRHpffn4.js +0 -1
  846. package/dist/esm/toNumber-Bh_HTlSx.js +0 -1
  847. package/dist/esm/treeView-SZITEDCU-CMK4b3Hd.js +0 -1
  848. package/dist/esm/treemap-W4RFUUIX-DjdwA0Jd.js +0 -1
  849. package/dist/esm/types-CsXckO56.js +0 -1
  850. package/dist/esm/vennDiagram-DHZGUBPP-Cauja-PK.js +0 -1
  851. package/dist/esm/viz-CFEjElvl.js +0 -9
  852. package/dist/esm/wardley-RL74JXVD-DiOshmTl.js +0 -1
  853. package/dist/esm/wardleyDiagram-NUSXRM2D-CSY5_Vpk.js +0 -1
  854. package/dist/esm/xychartDiagram-5P7HB3ND-Bkd1VEMW.js +0 -1
  855. /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3 → @milkdown+kit@7.23.0_@codemirror+language@6.13.1_@codemirror+state@6.7.6_@codemirror+vi_3301ef378947b358eb17e6850a1dc747}/node_modules/@milkdown/kit/lib/component/code-block.d.ts +0 -0
  856. /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3 → @milkdown+kit@7.23.0_@codemirror+language@6.13.1_@codemirror+state@6.7.6_@codemirror+vi_3301ef378947b358eb17e6850a1dc747}/node_modules/@milkdown/kit/lib/component/image-block.d.ts +0 -0
  857. /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3 → @milkdown+kit@7.23.0_@codemirror+language@6.13.1_@codemirror+state@6.7.6_@codemirror+vi_3301ef378947b358eb17e6850a1dc747}/node_modules/@milkdown/kit/lib/component/image-inline.d.ts +0 -0
  858. /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3 → @milkdown+kit@7.23.0_@codemirror+language@6.13.1_@codemirror+state@6.7.6_@codemirror+vi_3301ef378947b358eb17e6850a1dc747}/node_modules/@milkdown/kit/lib/component/index.d.ts +0 -0
  859. /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3 → @milkdown+kit@7.23.0_@codemirror+language@6.13.1_@codemirror+state@6.7.6_@codemirror+vi_3301ef378947b358eb17e6850a1dc747}/node_modules/@milkdown/kit/lib/component/link-tooltip.d.ts +0 -0
  860. /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3 → @milkdown+kit@7.23.0_@codemirror+language@6.13.1_@codemirror+state@6.7.6_@codemirror+vi_3301ef378947b358eb17e6850a1dc747}/node_modules/@milkdown/kit/lib/component/list-item-block.d.ts +0 -0
  861. /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3 → @milkdown+kit@7.23.0_@codemirror+language@6.13.1_@codemirror+state@6.7.6_@codemirror+vi_3301ef378947b358eb17e6850a1dc747}/node_modules/@milkdown/kit/lib/component/table-block.d.ts +0 -0
  862. /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3 → @milkdown+kit@7.23.0_@codemirror+language@6.13.1_@codemirror+state@6.7.6_@codemirror+vi_3301ef378947b358eb17e6850a1dc747}/node_modules/@milkdown/kit/lib/core.d.ts +0 -0
  863. /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3 → @milkdown+kit@7.23.0_@codemirror+language@6.13.1_@codemirror+state@6.7.6_@codemirror+vi_3301ef378947b358eb17e6850a1dc747}/node_modules/@milkdown/kit/lib/ctx.d.ts +0 -0
  864. /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3 → @milkdown+kit@7.23.0_@codemirror+language@6.13.1_@codemirror+state@6.7.6_@codemirror+vi_3301ef378947b358eb17e6850a1dc747}/node_modules/@milkdown/kit/lib/plugin/block.d.ts +0 -0
  865. /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3 → @milkdown+kit@7.23.0_@codemirror+language@6.13.1_@codemirror+state@6.7.6_@codemirror+vi_3301ef378947b358eb17e6850a1dc747}/node_modules/@milkdown/kit/lib/plugin/clipboard.d.ts +0 -0
  866. /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3 → @milkdown+kit@7.23.0_@codemirror+language@6.13.1_@codemirror+state@6.7.6_@codemirror+vi_3301ef378947b358eb17e6850a1dc747}/node_modules/@milkdown/kit/lib/plugin/cursor.d.ts +0 -0
  867. /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3 → @milkdown+kit@7.23.0_@codemirror+language@6.13.1_@codemirror+state@6.7.6_@codemirror+vi_3301ef378947b358eb17e6850a1dc747}/node_modules/@milkdown/kit/lib/plugin/history.d.ts +0 -0
  868. /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3 → @milkdown+kit@7.23.0_@codemirror+language@6.13.1_@codemirror+state@6.7.6_@codemirror+vi_3301ef378947b358eb17e6850a1dc747}/node_modules/@milkdown/kit/lib/plugin/indent.d.ts +0 -0
  869. /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3 → @milkdown+kit@7.23.0_@codemirror+language@6.13.1_@codemirror+state@6.7.6_@codemirror+vi_3301ef378947b358eb17e6850a1dc747}/node_modules/@milkdown/kit/lib/plugin/listener.d.ts +0 -0
  870. /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3 → @milkdown+kit@7.23.0_@codemirror+language@6.13.1_@codemirror+state@6.7.6_@codemirror+vi_3301ef378947b358eb17e6850a1dc747}/node_modules/@milkdown/kit/lib/plugin/slash.d.ts +0 -0
  871. /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3 → @milkdown+kit@7.23.0_@codemirror+language@6.13.1_@codemirror+state@6.7.6_@codemirror+vi_3301ef378947b358eb17e6850a1dc747}/node_modules/@milkdown/kit/lib/plugin/tooltip.d.ts +0 -0
  872. /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3 → @milkdown+kit@7.23.0_@codemirror+language@6.13.1_@codemirror+state@6.7.6_@codemirror+vi_3301ef378947b358eb17e6850a1dc747}/node_modules/@milkdown/kit/lib/plugin/trailing.d.ts +0 -0
  873. /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3 → @milkdown+kit@7.23.0_@codemirror+language@6.13.1_@codemirror+state@6.7.6_@codemirror+vi_3301ef378947b358eb17e6850a1dc747}/node_modules/@milkdown/kit/lib/plugin/upload.d.ts +0 -0
  874. /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3 → @milkdown+kit@7.23.0_@codemirror+language@6.13.1_@codemirror+state@6.7.6_@codemirror+vi_3301ef378947b358eb17e6850a1dc747}/node_modules/@milkdown/kit/lib/preset/commonmark.d.ts +0 -0
  875. /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3 → @milkdown+kit@7.23.0_@codemirror+language@6.13.1_@codemirror+state@6.7.6_@codemirror+vi_3301ef378947b358eb17e6850a1dc747}/node_modules/@milkdown/kit/lib/preset/gfm.d.ts +0 -0
  876. /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3 → @milkdown+kit@7.23.0_@codemirror+language@6.13.1_@codemirror+state@6.7.6_@codemirror+vi_3301ef378947b358eb17e6850a1dc747}/node_modules/@milkdown/kit/lib/prose/history.d.ts +0 -0
  877. /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3 → @milkdown+kit@7.23.0_@codemirror+language@6.13.1_@codemirror+state@6.7.6_@codemirror+vi_3301ef378947b358eb17e6850a1dc747}/node_modules/@milkdown/kit/lib/prose/index.d.ts +0 -0
  878. /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3 → @milkdown+kit@7.23.0_@codemirror+language@6.13.1_@codemirror+state@6.7.6_@codemirror+vi_3301ef378947b358eb17e6850a1dc747}/node_modules/@milkdown/kit/lib/prose/inputrules.d.ts +0 -0
  879. /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3 → @milkdown+kit@7.23.0_@codemirror+language@6.13.1_@codemirror+state@6.7.6_@codemirror+vi_3301ef378947b358eb17e6850a1dc747}/node_modules/@milkdown/kit/lib/prose/keymap.d.ts +0 -0
  880. /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3 → @milkdown+kit@7.23.0_@codemirror+language@6.13.1_@codemirror+state@6.7.6_@codemirror+vi_3301ef378947b358eb17e6850a1dc747}/node_modules/@milkdown/kit/lib/prose/model.d.ts +0 -0
  881. /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3 → @milkdown+kit@7.23.0_@codemirror+language@6.13.1_@codemirror+state@6.7.6_@codemirror+vi_3301ef378947b358eb17e6850a1dc747}/node_modules/@milkdown/kit/lib/prose/state.d.ts +0 -0
  882. /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3 → @milkdown+kit@7.23.0_@codemirror+language@6.13.1_@codemirror+state@6.7.6_@codemirror+vi_3301ef378947b358eb17e6850a1dc747}/node_modules/@milkdown/kit/lib/prose/view.d.ts +0 -0
  883. /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3 → @milkdown+kit@7.23.0_@codemirror+language@6.13.1_@codemirror+state@6.7.6_@codemirror+vi_3301ef378947b358eb17e6850a1dc747}/node_modules/@milkdown/kit/lib/utils.d.ts +0 -0
@@ -1 +0,0 @@
1
- import{_ as t,o as e,c as a,d as r,l as s,j as i,e as n,f as o,k as c,b as d,s as l,q as h,a as p,g as T,t as E,v as g,J as u,z as O,i as y,u as _,N as m,O as x,P as b,Z as I,E as f,Q as R,R as L}from"./mermaid.core-C89m9NSM.js";import{a as N,b as w,g as P,d as S,e as D,f as A}from"./chunk-YZCP3GAM-DELqvesl.js";import{I as k}from"./chunk-QZHKN3VN-CUifo-Cb.js";import"./index-TeLD_8PN.js";import"react/jsx-runtime";import"react";import"./enums.js";import"./commons-D9Mh1s5L.js";import"./settings-BONQQsPx.js";import"./constants.js";import"./LoaderLayer-CXFK-kAz.js";import"./websocket-C4G3j9Rm.js";import"./index-o2jBRnrQ.js";import"motion/react";import"react-dom";import"swr";import"@ably/spaces";import"@ably/spaces/react";import"ably";import"ably/liveobjects";import"ably/react";import"@ably/spaces/dist/mjs/react";import"./purify.es-DBOWJxv3.js";import"./string-LeDn2fkG.js";import"./memoize-CPUrcYQl.js";var M=function(){var e=t(function(t,e,a,r){for(a=a||{},r=t.length;r--;a[t[r]]=e);return a},"o"),a=[1,2],r=[1,3],s=[1,4],i=[2,4],n=[1,9],o=[1,11],c=[1,12],d=[1,14],l=[1,15],h=[1,17],p=[1,18],T=[1,19],E=[1,25],g=[1,26],u=[1,27],O=[1,28],y=[1,29],_=[1,30],m=[1,31],x=[1,32],b=[1,33],I=[1,34],f=[1,35],R=[1,36],L=[1,37],N=[1,38],w=[1,39],P=[1,40],S=[1,42],D=[1,43],A=[1,44],k=[1,45],M=[1,46],C=[1,47],v=[1,4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,48,49,50,51,53,54,56,61,62,63,64,73],B=[1,74],Y=[1,80],$=[1,81],V=[1,82],W=[1,83],F=[1,84],K=[1,85],q=[1,86],H=[1,87],z=[1,88],j=[1,89],U=[1,90],G=[1,91],X=[1,92],Z=[1,93],J=[1,94],Q=[1,95],tt=[1,96],et=[1,97],at=[1,98],rt=[1,99],st=[1,100],it=[1,101],nt=[1,102],ot=[1,103],ct=[1,104],dt=[1,105],lt=[2,78],ht=[4,5,17,51,53,54],pt=[4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,51,53,54,56,61,62,63,64,73],Tt=[4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,50,51,53,54,56,61,62,63,64,73],Et=[4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,49,51,53,54,56,61,62,63,64,73],gt=[4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,48,51,53,54,56,61,62,63,64,73],ut=[5,52],Ot=[70,71,72,73],yt=[1,151],_t={trace:t(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SPACE:4,NEWLINE:5,SD:6,document:7,line:8,statement:9,INVALID:10,box_section:11,box_line:12,participant_statement:13,create:14,box:15,restOfLine:16,end:17,signal:18,autonumber:19,NUM:20,off:21,activate:22,actor:23,deactivate:24,note_statement:25,links_statement:26,link_statement:27,properties_statement:28,details_statement:29,title:30,legacy_title:31,acc_title:32,acc_title_value:33,acc_descr:34,acc_descr_value:35,acc_descr_multiline_value:36,loop:37,rect:38,opt:39,alt:40,else_sections:41,par:42,par_sections:43,par_over:44,critical:45,option_sections:46,break:47,option:48,and:49,else:50,participant:51,AS:52,participant_actor:53,destroy:54,actor_with_config:55,note:56,placement:57,text2:58,over:59,actor_pair:60,links:61,link:62,properties:63,details:64,spaceList:65,",":66,left_of:67,right_of:68,signaltype:69,"+":70,"-":71,"()":72,ACTOR:73,config_object:74,CONFIG_START:75,CONFIG_CONTENT:76,CONFIG_END:77,SOLID_OPEN_ARROW:78,DOTTED_OPEN_ARROW:79,SOLID_ARROW:80,SOLID_ARROW_TOP:81,SOLID_ARROW_BOTTOM:82,STICK_ARROW_TOP:83,STICK_ARROW_BOTTOM:84,SOLID_ARROW_TOP_DOTTED:85,SOLID_ARROW_BOTTOM_DOTTED:86,STICK_ARROW_TOP_DOTTED:87,STICK_ARROW_BOTTOM_DOTTED:88,SOLID_ARROW_TOP_REVERSE:89,SOLID_ARROW_BOTTOM_REVERSE:90,STICK_ARROW_TOP_REVERSE:91,STICK_ARROW_BOTTOM_REVERSE:92,SOLID_ARROW_TOP_REVERSE_DOTTED:93,SOLID_ARROW_BOTTOM_REVERSE_DOTTED:94,STICK_ARROW_TOP_REVERSE_DOTTED:95,STICK_ARROW_BOTTOM_REVERSE_DOTTED:96,BIDIRECTIONAL_SOLID_ARROW:97,DOTTED_ARROW:98,BIDIRECTIONAL_DOTTED_ARROW:99,SOLID_CROSS:100,DOTTED_CROSS:101,SOLID_POINT:102,DOTTED_POINT:103,TXT:104,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NEWLINE",6:"SD",10:"INVALID",14:"create",15:"box",16:"restOfLine",17:"end",19:"autonumber",20:"NUM",21:"off",22:"activate",24:"deactivate",30:"title",31:"legacy_title",32:"acc_title",33:"acc_title_value",34:"acc_descr",35:"acc_descr_value",36:"acc_descr_multiline_value",37:"loop",38:"rect",39:"opt",40:"alt",42:"par",44:"par_over",45:"critical",47:"break",48:"option",49:"and",50:"else",51:"participant",52:"AS",53:"participant_actor",54:"destroy",56:"note",59:"over",61:"links",62:"link",63:"properties",64:"details",66:",",67:"left_of",68:"right_of",70:"+",71:"-",72:"()",73:"ACTOR",75:"CONFIG_START",76:"CONFIG_CONTENT",77:"CONFIG_END",78:"SOLID_OPEN_ARROW",79:"DOTTED_OPEN_ARROW",80:"SOLID_ARROW",81:"SOLID_ARROW_TOP",82:"SOLID_ARROW_BOTTOM",83:"STICK_ARROW_TOP",84:"STICK_ARROW_BOTTOM",85:"SOLID_ARROW_TOP_DOTTED",86:"SOLID_ARROW_BOTTOM_DOTTED",87:"STICK_ARROW_TOP_DOTTED",88:"STICK_ARROW_BOTTOM_DOTTED",89:"SOLID_ARROW_TOP_REVERSE",90:"SOLID_ARROW_BOTTOM_REVERSE",91:"STICK_ARROW_TOP_REVERSE",92:"STICK_ARROW_BOTTOM_REVERSE",93:"SOLID_ARROW_TOP_REVERSE_DOTTED",94:"SOLID_ARROW_BOTTOM_REVERSE_DOTTED",95:"STICK_ARROW_TOP_REVERSE_DOTTED",96:"STICK_ARROW_BOTTOM_REVERSE_DOTTED",97:"BIDIRECTIONAL_SOLID_ARROW",98:"DOTTED_ARROW",99:"BIDIRECTIONAL_DOTTED_ARROW",100:"SOLID_CROSS",101:"DOTTED_CROSS",102:"SOLID_POINT",103:"DOTTED_POINT",104:"TXT"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[8,1],[11,0],[11,2],[12,2],[12,1],[12,1],[9,1],[9,2],[9,4],[9,2],[9,4],[9,3],[9,3],[9,2],[9,3],[9,3],[9,2],[9,2],[9,2],[9,2],[9,2],[9,1],[9,1],[9,2],[9,2],[9,1],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[46,1],[46,4],[43,1],[43,4],[41,1],[41,4],[13,5],[13,3],[13,5],[13,3],[13,3],[13,5],[13,3],[13,5],[13,3],[25,4],[25,4],[26,3],[27,3],[28,3],[29,3],[65,2],[65,1],[60,3],[60,1],[57,1],[57,1],[18,5],[18,5],[18,5],[18,5],[18,6],[18,4],[55,2],[74,3],[23,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[58,1]],performAction:t(function(t,e,a,r,s,i,n){var o=i.length-1;switch(s){case 3:return r.apply(i[o]),i[o];case 4:case 10:case 8:case 9:case 14:this.$=[];break;case 5:case 11:i[o-1].push(i[o]),this.$=i[o-1];break;case 6:case 7:case 12:case 13:case 67:this.$=i[o];break;case 16:i[o].type="createParticipant",this.$=i[o];break;case 17:i[o-1].unshift({type:"boxStart",boxData:r.parseBoxData(i[o-2])}),i[o-1].push({type:"boxEnd",boxText:i[o-2]}),this.$=i[o-1];break;case 19:this.$={type:"sequenceIndex",sequenceIndex:Number(i[o-2]),sequenceIndexStep:Number(i[o-1]),sequenceVisible:!0,signalType:r.LINETYPE.AUTONUMBER};break;case 20:this.$={type:"sequenceIndex",sequenceIndex:Number(i[o-1]),sequenceIndexStep:1,sequenceVisible:!0,signalType:r.LINETYPE.AUTONUMBER};break;case 21:this.$={type:"sequenceIndex",sequenceVisible:!1,signalType:r.LINETYPE.AUTONUMBER};break;case 22:this.$={type:"sequenceIndex",sequenceVisible:!0,signalType:r.LINETYPE.AUTONUMBER};break;case 23:this.$={type:"activeStart",signalType:r.LINETYPE.ACTIVE_START,actor:i[o-1].actor};break;case 24:this.$={type:"activeEnd",signalType:r.LINETYPE.ACTIVE_END,actor:i[o-1].actor};break;case 30:r.setDiagramTitle(i[o].substring(6)),this.$=i[o].substring(6);break;case 31:r.setDiagramTitle(i[o].substring(7)),this.$=i[o].substring(7);break;case 32:this.$=i[o].trim(),r.setAccTitle(this.$);break;case 33:case 34:this.$=i[o].trim(),r.setAccDescription(this.$);break;case 35:i[o-1].unshift({type:"loopStart",loopText:r.parseMessage(i[o-2]),signalType:r.LINETYPE.LOOP_START}),i[o-1].push({type:"loopEnd",loopText:i[o-2],signalType:r.LINETYPE.LOOP_END}),this.$=i[o-1];break;case 36:i[o-1].unshift({type:"rectStart",color:r.parseMessage(i[o-2]),signalType:r.LINETYPE.RECT_START}),i[o-1].push({type:"rectEnd",color:r.parseMessage(i[o-2]),signalType:r.LINETYPE.RECT_END}),this.$=i[o-1];break;case 37:i[o-1].unshift({type:"optStart",optText:r.parseMessage(i[o-2]),signalType:r.LINETYPE.OPT_START}),i[o-1].push({type:"optEnd",optText:r.parseMessage(i[o-2]),signalType:r.LINETYPE.OPT_END}),this.$=i[o-1];break;case 38:i[o-1].unshift({type:"altStart",altText:r.parseMessage(i[o-2]),signalType:r.LINETYPE.ALT_START}),i[o-1].push({type:"altEnd",signalType:r.LINETYPE.ALT_END}),this.$=i[o-1];break;case 39:i[o-1].unshift({type:"parStart",parText:r.parseMessage(i[o-2]),signalType:r.LINETYPE.PAR_START}),i[o-1].push({type:"parEnd",signalType:r.LINETYPE.PAR_END}),this.$=i[o-1];break;case 40:i[o-1].unshift({type:"parStart",parText:r.parseMessage(i[o-2]),signalType:r.LINETYPE.PAR_OVER_START}),i[o-1].push({type:"parEnd",signalType:r.LINETYPE.PAR_END}),this.$=i[o-1];break;case 41:i[o-1].unshift({type:"criticalStart",criticalText:r.parseMessage(i[o-2]),signalType:r.LINETYPE.CRITICAL_START}),i[o-1].push({type:"criticalEnd",signalType:r.LINETYPE.CRITICAL_END}),this.$=i[o-1];break;case 42:i[o-1].unshift({type:"breakStart",breakText:r.parseMessage(i[o-2]),signalType:r.LINETYPE.BREAK_START}),i[o-1].push({type:"breakEnd",optText:r.parseMessage(i[o-2]),signalType:r.LINETYPE.BREAK_END}),this.$=i[o-1];break;case 44:this.$=i[o-3].concat([{type:"option",optionText:r.parseMessage(i[o-1]),signalType:r.LINETYPE.CRITICAL_OPTION},i[o]]);break;case 46:this.$=i[o-3].concat([{type:"and",parText:r.parseMessage(i[o-1]),signalType:r.LINETYPE.PAR_AND},i[o]]);break;case 48:this.$=i[o-3].concat([{type:"else",altText:r.parseMessage(i[o-1]),signalType:r.LINETYPE.ALT_ELSE},i[o]]);break;case 49:case 54:i[o-3].draw="participant",i[o-3].type="addParticipant",i[o-3].description=r.parseMessage(i[o-1]),this.$=i[o-3];break;case 50:case 55:i[o-1].draw="participant",i[o-1].type="addParticipant",this.$=i[o-1];break;case 51:case 56:i[o-3].draw="actor",i[o-3].type="addParticipant",i[o-3].description=r.parseMessage(i[o-1]),this.$=i[o-3];break;case 52:case 57:i[o-1].draw="actor",i[o-1].type="addParticipant",this.$=i[o-1];break;case 53:i[o-1].type="destroyParticipant",this.$=i[o-1];break;case 58:this.$=[i[o-1],{type:"addNote",placement:i[o-2],actor:i[o-1].actor,text:i[o]}];break;case 59:i[o-2]=[].concat(i[o-1],i[o-1]).slice(0,2),i[o-2][0]=i[o-2][0].actor,i[o-2][1]=i[o-2][1].actor,this.$=[i[o-1],{type:"addNote",placement:r.PLACEMENT.OVER,actor:i[o-2].slice(0,2),text:i[o]}];break;case 60:this.$=[i[o-1],{type:"addLinks",actor:i[o-1].actor,text:i[o]}];break;case 61:this.$=[i[o-1],{type:"addALink",actor:i[o-1].actor,text:i[o]}];break;case 62:this.$=[i[o-1],{type:"addProperties",actor:i[o-1].actor,text:i[o]}];break;case 63:this.$=[i[o-1],{type:"addDetails",actor:i[o-1].actor,text:i[o]}];break;case 66:this.$=[i[o-2],i[o]];break;case 68:this.$=r.PLACEMENT.LEFTOF;break;case 69:this.$=r.PLACEMENT.RIGHTOF;break;case 70:this.$=[i[o-4],i[o-1],{type:"addMessage",from:i[o-4].actor,to:i[o-1].actor,signalType:i[o-3],msg:i[o],activate:!0},{type:"activeStart",signalType:r.LINETYPE.ACTIVE_START,actor:i[o-1].actor}];break;case 71:this.$=[i[o-4],i[o-1],{type:"addMessage",from:i[o-4].actor,to:i[o-1].actor,signalType:i[o-3],msg:i[o]},{type:"activeEnd",signalType:r.LINETYPE.ACTIVE_END,actor:i[o-4].actor}];break;case 72:this.$=[i[o-4],i[o-1],{type:"addMessage",from:i[o-4].actor,to:i[o-1].actor,signalType:i[o-3],msg:i[o],activate:!0,centralConnection:r.LINETYPE.CENTRAL_CONNECTION},{type:"centralConnection",signalType:r.LINETYPE.CENTRAL_CONNECTION,actor:i[o-1].actor}];break;case 73:this.$=[i[o-4],i[o-1],{type:"addMessage",from:i[o-4].actor,to:i[o-1].actor,signalType:i[o-2],msg:i[o],activate:!1,centralConnection:r.LINETYPE.CENTRAL_CONNECTION_REVERSE},{type:"centralConnectionReverse",signalType:r.LINETYPE.CENTRAL_CONNECTION_REVERSE,actor:i[o-4].actor}];break;case 74:this.$=[i[o-5],i[o-1],{type:"addMessage",from:i[o-5].actor,to:i[o-1].actor,signalType:i[o-3],msg:i[o],activate:!0,centralConnection:r.LINETYPE.CENTRAL_CONNECTION_DUAL},{type:"centralConnection",signalType:r.LINETYPE.CENTRAL_CONNECTION,actor:i[o-1].actor},{type:"centralConnectionReverse",signalType:r.LINETYPE.CENTRAL_CONNECTION_REVERSE,actor:i[o-5].actor}];break;case 75:this.$=[i[o-3],i[o-1],{type:"addMessage",from:i[o-3].actor,to:i[o-1].actor,signalType:i[o-2],msg:i[o]}];break;case 76:this.$={type:"addParticipant",actor:i[o-1],config:i[o]};break;case 77:this.$=i[o-1].trim();break;case 78:this.$={type:"addParticipant",actor:i[o]};break;case 79:this.$=r.LINETYPE.SOLID_OPEN;break;case 80:this.$=r.LINETYPE.DOTTED_OPEN;break;case 81:this.$=r.LINETYPE.SOLID;break;case 82:this.$=r.LINETYPE.SOLID_TOP;break;case 83:this.$=r.LINETYPE.SOLID_BOTTOM;break;case 84:this.$=r.LINETYPE.STICK_TOP;break;case 85:this.$=r.LINETYPE.STICK_BOTTOM;break;case 86:this.$=r.LINETYPE.SOLID_TOP_DOTTED;break;case 87:this.$=r.LINETYPE.SOLID_BOTTOM_DOTTED;break;case 88:this.$=r.LINETYPE.STICK_TOP_DOTTED;break;case 89:this.$=r.LINETYPE.STICK_BOTTOM_DOTTED;break;case 90:this.$=r.LINETYPE.SOLID_ARROW_TOP_REVERSE;break;case 91:this.$=r.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE;break;case 92:this.$=r.LINETYPE.STICK_ARROW_TOP_REVERSE;break;case 93:this.$=r.LINETYPE.STICK_ARROW_BOTTOM_REVERSE;break;case 94:this.$=r.LINETYPE.SOLID_ARROW_TOP_REVERSE_DOTTED;break;case 95:this.$=r.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE_DOTTED;break;case 96:this.$=r.LINETYPE.STICK_ARROW_TOP_REVERSE_DOTTED;break;case 97:this.$=r.LINETYPE.STICK_ARROW_BOTTOM_REVERSE_DOTTED;break;case 98:this.$=r.LINETYPE.BIDIRECTIONAL_SOLID;break;case 99:this.$=r.LINETYPE.DOTTED;break;case 100:this.$=r.LINETYPE.BIDIRECTIONAL_DOTTED;break;case 101:this.$=r.LINETYPE.SOLID_CROSS;break;case 102:this.$=r.LINETYPE.DOTTED_CROSS;break;case 103:this.$=r.LINETYPE.SOLID_POINT;break;case 104:this.$=r.LINETYPE.DOTTED_POINT;break;case 105:this.$=r.parseMessage(i[o].trim().substring(1))}},"anonymous"),table:[{3:1,4:a,5:r,6:s},{1:[3]},{3:5,4:a,5:r,6:s},{3:6,4:a,5:r,6:s},e([1,4,5,10,14,15,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,51,53,54,56,61,62,63,64,73],i,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:n,5:o,8:8,9:10,10:c,13:13,14:d,15:l,18:16,19:h,22:p,23:41,24:T,25:20,26:21,27:22,28:23,29:24,30:E,31:g,32:u,34:O,36:y,37:_,38:m,39:x,40:b,42:I,44:f,45:R,47:L,51:N,53:w,54:P,56:S,61:D,62:A,63:k,64:M,73:C},e(v,[2,5]),{9:48,13:13,14:d,15:l,18:16,19:h,22:p,23:41,24:T,25:20,26:21,27:22,28:23,29:24,30:E,31:g,32:u,34:O,36:y,37:_,38:m,39:x,40:b,42:I,44:f,45:R,47:L,51:N,53:w,54:P,56:S,61:D,62:A,63:k,64:M,73:C},e(v,[2,7]),e(v,[2,8]),e(v,[2,9]),e(v,[2,15]),{13:49,51:N,53:w,54:P},{16:[1,50]},{5:[1,51]},{5:[1,54],20:[1,52],21:[1,53]},{23:55,73:C},{23:56,73:C},{5:[1,57]},{5:[1,58]},{5:[1,59]},{5:[1,60]},{5:[1,61]},e(v,[2,30]),e(v,[2,31]),{33:[1,62]},{35:[1,63]},e(v,[2,34]),{16:[1,64]},{16:[1,65]},{16:[1,66]},{16:[1,67]},{16:[1,68]},{16:[1,69]},{16:[1,70]},{16:[1,71]},{23:72,55:73,73:B},{23:75,55:76,73:B},{23:77,73:C},{69:78,72:[1,79],78:Y,79:$,80:V,81:W,82:F,83:K,84:q,85:H,86:z,87:j,88:U,89:G,90:X,91:Z,92:J,93:Q,94:tt,95:et,96:at,97:rt,98:st,99:it,100:nt,101:ot,102:ct,103:dt},{57:106,59:[1,107],67:[1,108],68:[1,109]},{23:110,73:C},{23:111,73:C},{23:112,73:C},{23:113,73:C},e([5,66,72,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104],lt),e(v,[2,6]),e(v,[2,16]),e(ht,[2,10],{11:114}),e(v,[2,18]),{5:[1,116],20:[1,115]},{5:[1,117]},e(v,[2,22]),{5:[1,118]},{5:[1,119]},e(v,[2,25]),e(v,[2,26]),e(v,[2,27]),e(v,[2,28]),e(v,[2,29]),e(v,[2,32]),e(v,[2,33]),e(pt,i,{7:120}),e(pt,i,{7:121}),e(pt,i,{7:122}),e(Tt,i,{41:123,7:124}),e(Et,i,{43:125,7:126}),e(Et,i,{7:126,43:127}),e(gt,i,{46:128,7:129}),e(pt,i,{7:130}),{5:[1,132],52:[1,131]},{5:[1,134],52:[1,133]},e(ut,lt,{74:135,75:[1,136]}),{5:[1,138],52:[1,137]},{5:[1,140],52:[1,139]},{5:[1,141]},{23:145,70:[1,142],71:[1,143],72:[1,144],73:C},{69:146,78:Y,79:$,80:V,81:W,82:F,83:K,84:q,85:H,86:z,87:j,88:U,89:G,90:X,91:Z,92:J,93:Q,94:tt,95:et,96:at,97:rt,98:st,99:it,100:nt,101:ot,102:ct,103:dt},e(Ot,[2,79]),e(Ot,[2,80]),e(Ot,[2,81]),e(Ot,[2,82]),e(Ot,[2,83]),e(Ot,[2,84]),e(Ot,[2,85]),e(Ot,[2,86]),e(Ot,[2,87]),e(Ot,[2,88]),e(Ot,[2,89]),e(Ot,[2,90]),e(Ot,[2,91]),e(Ot,[2,92]),e(Ot,[2,93]),e(Ot,[2,94]),e(Ot,[2,95]),e(Ot,[2,96]),e(Ot,[2,97]),e(Ot,[2,98]),e(Ot,[2,99]),e(Ot,[2,100]),e(Ot,[2,101]),e(Ot,[2,102]),e(Ot,[2,103]),e(Ot,[2,104]),{23:147,73:C},{23:149,60:148,73:C},{73:[2,68]},{73:[2,69]},{58:150,104:yt},{58:152,104:yt},{58:153,104:yt},{58:154,104:yt},{4:[1,157],5:[1,159],12:156,13:158,17:[1,155],51:N,53:w,54:P},{5:[1,160]},e(v,[2,20]),e(v,[2,21]),e(v,[2,23]),e(v,[2,24]),{4:n,5:o,8:8,9:10,10:c,13:13,14:d,15:l,17:[1,161],18:16,19:h,22:p,23:41,24:T,25:20,26:21,27:22,28:23,29:24,30:E,31:g,32:u,34:O,36:y,37:_,38:m,39:x,40:b,42:I,44:f,45:R,47:L,51:N,53:w,54:P,56:S,61:D,62:A,63:k,64:M,73:C},{4:n,5:o,8:8,9:10,10:c,13:13,14:d,15:l,17:[1,162],18:16,19:h,22:p,23:41,24:T,25:20,26:21,27:22,28:23,29:24,30:E,31:g,32:u,34:O,36:y,37:_,38:m,39:x,40:b,42:I,44:f,45:R,47:L,51:N,53:w,54:P,56:S,61:D,62:A,63:k,64:M,73:C},{4:n,5:o,8:8,9:10,10:c,13:13,14:d,15:l,17:[1,163],18:16,19:h,22:p,23:41,24:T,25:20,26:21,27:22,28:23,29:24,30:E,31:g,32:u,34:O,36:y,37:_,38:m,39:x,40:b,42:I,44:f,45:R,47:L,51:N,53:w,54:P,56:S,61:D,62:A,63:k,64:M,73:C},{17:[1,164]},{4:n,5:o,8:8,9:10,10:c,13:13,14:d,15:l,17:[2,47],18:16,19:h,22:p,23:41,24:T,25:20,26:21,27:22,28:23,29:24,30:E,31:g,32:u,34:O,36:y,37:_,38:m,39:x,40:b,42:I,44:f,45:R,47:L,50:[1,165],51:N,53:w,54:P,56:S,61:D,62:A,63:k,64:M,73:C},{17:[1,166]},{4:n,5:o,8:8,9:10,10:c,13:13,14:d,15:l,17:[2,45],18:16,19:h,22:p,23:41,24:T,25:20,26:21,27:22,28:23,29:24,30:E,31:g,32:u,34:O,36:y,37:_,38:m,39:x,40:b,42:I,44:f,45:R,47:L,49:[1,167],51:N,53:w,54:P,56:S,61:D,62:A,63:k,64:M,73:C},{17:[1,168]},{17:[1,169]},{4:n,5:o,8:8,9:10,10:c,13:13,14:d,15:l,17:[2,43],18:16,19:h,22:p,23:41,24:T,25:20,26:21,27:22,28:23,29:24,30:E,31:g,32:u,34:O,36:y,37:_,38:m,39:x,40:b,42:I,44:f,45:R,47:L,48:[1,170],51:N,53:w,54:P,56:S,61:D,62:A,63:k,64:M,73:C},{4:n,5:o,8:8,9:10,10:c,13:13,14:d,15:l,17:[1,171],18:16,19:h,22:p,23:41,24:T,25:20,26:21,27:22,28:23,29:24,30:E,31:g,32:u,34:O,36:y,37:_,38:m,39:x,40:b,42:I,44:f,45:R,47:L,51:N,53:w,54:P,56:S,61:D,62:A,63:k,64:M,73:C},{16:[1,172]},e(v,[2,50]),{16:[1,173]},e(v,[2,55]),e(ut,[2,76]),{76:[1,174]},{16:[1,175]},e(v,[2,52]),{16:[1,176]},e(v,[2,57]),e(v,[2,53]),{23:177,73:C},{23:178,73:C},{23:179,73:C},{58:180,104:yt},{23:181,72:[1,182],73:C},{58:183,104:yt},{58:184,104:yt},{66:[1,185],104:[2,67]},{5:[2,60]},{5:[2,105]},{5:[2,61]},{5:[2,62]},{5:[2,63]},e(v,[2,17]),e(ht,[2,11]),{13:186,51:N,53:w,54:P},e(ht,[2,13]),e(ht,[2,14]),e(v,[2,19]),e(v,[2,35]),e(v,[2,36]),e(v,[2,37]),e(v,[2,38]),{16:[1,187]},e(v,[2,39]),{16:[1,188]},e(v,[2,40]),e(v,[2,41]),{16:[1,189]},e(v,[2,42]),{5:[1,190]},{5:[1,191]},{77:[1,192]},{5:[1,193]},{5:[1,194]},{58:195,104:yt},{58:196,104:yt},{58:197,104:yt},{5:[2,75]},{58:198,104:yt},{23:199,73:C},{5:[2,58]},{5:[2,59]},{23:200,73:C},e(ht,[2,12]),e(Tt,i,{7:124,41:201}),e(Et,i,{7:126,43:202}),e(gt,i,{7:129,46:203}),e(v,[2,49]),e(v,[2,54]),e(ut,[2,77]),e(v,[2,51]),e(v,[2,56]),{5:[2,70]},{5:[2,71]},{5:[2,72]},{5:[2,73]},{58:204,104:yt},{104:[2,66]},{17:[2,48]},{17:[2,46]},{17:[2,44]},{5:[2,74]}],defaultActions:{5:[2,1],6:[2,2],108:[2,68],109:[2,69],150:[2,60],151:[2,105],152:[2,61],153:[2,62],154:[2,63],180:[2,75],183:[2,58],184:[2,59],195:[2,70],196:[2,71],197:[2,72],198:[2,73],200:[2,66],201:[2,48],202:[2,46],203:[2,44],204:[2,74]},parseError:t(function(t,e){if(!e.recoverable){var a=new Error(t);throw a.hash=e,a}this.trace(t)},"parseError"),parse:t(function(e){var a=this,r=[0],s=[],i=[null],n=[],o=this.table,c="",d=0,l=0,h=n.slice.call(arguments,1),p=Object.create(this.lexer),T={yy:{}};for(var E in this.yy)Object.prototype.hasOwnProperty.call(this.yy,E)&&(T.yy[E]=this.yy[E]);p.setInput(e,T.yy),T.yy.lexer=p,T.yy.parser=this,void 0===p.yylloc&&(p.yylloc={});var g=p.yylloc;n.push(g);var u=p.options&&p.options.ranges;function O(){var t;return"number"!=typeof(t=s.pop()||p.lex()||1)&&(t instanceof Array&&(t=(s=t).pop()),t=a.symbols_[t]||t),t}"function"==typeof T.yy.parseError?this.parseError=T.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError,t(function(t){r.length=r.length-2*t,i.length=i.length-t,n.length=n.length-t},"popStack"),t(O,"lex");for(var y,_,m,x,b,I,f,R,L={};;){if(_=r[r.length-1],this.defaultActions[_]?m=this.defaultActions[_]:(null==y&&(y=O()),m=o[_]&&o[_][y]),void 0===m||!m.length||!m[0]){var N="";for(b in R=[],o[_])this.terminals_[b]&&b>2&&R.push("'"+this.terminals_[b]+"'");N=p.showPosition?"Parse error on line "+(d+1)+":\n"+p.showPosition()+"\nExpecting "+R.join(", ")+", got '"+(this.terminals_[y]||y)+"'":"Parse error on line "+(d+1)+": Unexpected "+(1==y?"end of input":"'"+(this.terminals_[y]||y)+"'"),this.parseError(N,{text:p.match,token:this.terminals_[y]||y,line:p.yylineno,loc:g,expected:R})}if(m[0]instanceof Array&&m.length>1)throw new Error("Parse Error: multiple actions possible at state: "+_+", token: "+y);switch(m[0]){case 1:r.push(y),i.push(p.yytext),n.push(p.yylloc),r.push(m[1]),y=null,l=p.yyleng,c=p.yytext,d=p.yylineno,g=p.yylloc;break;case 2:if(I=this.productions_[m[1]][1],L.$=i[i.length-I],L._$={first_line:n[n.length-(I||1)].first_line,last_line:n[n.length-1].last_line,first_column:n[n.length-(I||1)].first_column,last_column:n[n.length-1].last_column},u&&(L._$.range=[n[n.length-(I||1)].range[0],n[n.length-1].range[1]]),void 0!==(x=this.performAction.apply(L,[c,l,d,T.yy,m[1],i,n].concat(h))))return x;I&&(r=r.slice(0,-1*I*2),i=i.slice(0,-1*I),n=n.slice(0,-1*I)),r.push(this.productions_[m[1]][0]),i.push(L.$),n.push(L._$),f=o[r[r.length-2]][r[r.length-1]],r.push(f);break;case 3:return!0}}return!0},"parse")},mt=function(){return{EOF:1,parseError:t(function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},"parseError"),setInput:t(function(t,e){return this.yy=e||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:t(function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(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:t(function(t){var e=t.length,a=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var r=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),a.length-1&&(this.yylineno-=a.length-1);var s=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:a?(a.length===r.length?this.yylloc.first_column:0)+r[r.length-a.length].length-a[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[s[0],s[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},"unput"),more:t(function(){return this._more=!0,this},"more"),reject:t(function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):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).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"reject"),less:t(function(t){this.unput(this.match.slice(t))},"less"),pastInput:t(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:t(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:t(function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},"showPosition"),test_match:t(function(t,e){var a,r,s;if(this.options.backtrack_lexer&&(s={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&&(s.yylloc.range=this.yylloc.range.slice(0))),(r=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.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],a=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),a)return a;if(this._backtrack){for(var i in s)this[i]=s[i];return!1}return!1},"test_match"),next:t(function(){if(this.done)return this.EOF;var t,e,a,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var s=this._currentRules(),i=0;i<s.length;i++)if((a=this._input.match(this.rules[s[i]]))&&(!e||a[0].length>e[0].length)){if(e=a,r=i,this.options.backtrack_lexer){if(!1!==(t=this.test_match(a,s[i])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,s[r]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:t(function(){var t=this.next();return t||this.lex()},"lex"),begin:t(function(t){this.conditionStack.push(t)},"begin"),popState:t(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:t(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:t(function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},"topState"),pushState:t(function(t){this.begin(t)},"pushState"),stateStackSize:t(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:t(function(t,e,a,r){switch(a){case 0:case 59:case 92:return 5;case 1:case 2:case 3:case 4:case 5:break;case 6:return 20;case 7:return this.begin("CONFIG"),75;case 8:return 76;case 9:return this.popState(),this.begin("ALIAS"),77;case 10:return this.popState(),this.popState(),77;case 11:case 60:return e.yytext=e.yytext.trim(),73;case 12:return e.yytext=e.yytext.trim(),this.begin("ALIAS"),73;case 13:return e.yytext=e.yytext.trim(),this.popState(),73;case 14:return this.popState(),10;case 15:return e.yytext=e.yytext.trim(),this.popState(),10;case 16:return this.begin("LINE"),15;case 17:return this.begin("ID"),51;case 18:return this.begin("ID"),53;case 19:return 14;case 20:return this.begin("ID"),54;case 21:return this.popState(),this.popState(),this.begin("LINE"),52;case 22:return this.popState(),this.popState(),5;case 23:return this.begin("LINE"),37;case 24:return this.begin("LINE"),38;case 25:return this.begin("LINE"),39;case 26:return this.begin("LINE"),40;case 27:return this.begin("LINE"),50;case 28:return this.begin("LINE"),42;case 29:return this.begin("LINE"),44;case 30:return this.begin("LINE"),49;case 31:return this.begin("LINE"),45;case 32:return this.begin("LINE"),48;case 33:return this.begin("LINE"),47;case 34:return this.popState(),16;case 35:return 17;case 36:return 67;case 37:return 68;case 38:return 61;case 39:return 62;case 40:return 63;case 41:return 64;case 42:return 59;case 43:return 56;case 44:return this.begin("ID"),22;case 45:return this.begin("ID"),24;case 46:return 30;case 47:return 31;case 48:return this.begin("acc_title"),32;case 49:return this.popState(),"acc_title_value";case 50:return this.begin("acc_descr"),34;case 51:return this.popState(),"acc_descr_value";case 52:this.begin("acc_descr_multiline");break;case 53:this.popState();break;case 54:return"acc_descr_multiline_value";case 55:return 6;case 56:return 19;case 57:return 21;case 58:return 66;case 61:return 80;case 62:return 97;case 63:return 98;case 64:return 99;case 65:return 78;case 66:return 79;case 67:return 100;case 68:return 101;case 69:return 102;case 70:return 103;case 71:return 85;case 72:return 86;case 73:return 87;case 74:return 88;case 75:return 93;case 76:return 94;case 77:return 95;case 78:return 96;case 79:return 81;case 80:return 82;case 81:return 83;case 82:return 84;case 83:return 89;case 84:return 90;case 85:return 91;case 86:return 92;case 87:case 88:return 104;case 89:return 70;case 90:return 71;case 91:return 72;case 93:return 10}},"anonymous"),rules:[/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:((?!\n)\s)+)/i,/^(?:#[^\n]*)/i,/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[0-9]+(?=[ \n]+))/i,/^(?:@\{)/i,/^(?:[^\}]+)/i,/^(?:\}(?=\s+as\s))/i,/^(?:\})/i,/^(?:[^\<->\->:\n,;@\s]+(?=@\{))/i,/^(?:[^<>:\n,;@\s]+(?=\s+as\s))/i,/^(?:[^<>:\n,;@]+(?=\s*[\n;#]|$))/i,/^(?:[^<>:\n,;@]*<[^\n]*)/i,/^(?:[^\n]+)/i,/^(?:box\b)/i,/^(?:participant\b)/i,/^(?:actor\b)/i,/^(?:create\b)/i,/^(?:destroy\b)/i,/^(?:as\b)/i,/^(?:(?:))/i,/^(?:loop\b)/i,/^(?:rect\b)/i,/^(?:opt\b)/i,/^(?:alt\b)/i,/^(?:else\b)/i,/^(?:par\b)/i,/^(?:par_over\b)/i,/^(?:and\b)/i,/^(?:critical\b)/i,/^(?:option\b)/i,/^(?:break\b)/i,/^(?:(?:[:]?(?:no)?wrap)?[^#\n;]*)/i,/^(?:end\b)/i,/^(?:left of\b)/i,/^(?:right of\b)/i,/^(?:links\b)/i,/^(?:link\b)/i,/^(?:properties\b)/i,/^(?:details\b)/i,/^(?:over\b)/i,/^(?:note\b)/i,/^(?:activate\b)/i,/^(?:deactivate\b)/i,/^(?:title\s[^#\n;]+)/i,/^(?:title:\s[^#\n;]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:sequenceDiagram\b)/i,/^(?:autonumber\b)/i,/^(?:off\b)/i,/^(?:,)/i,/^(?:;)/i,/^(?:[^\/\\\+\()\+<\->\->:\n,;]+((?!(-x|--x|-\)|--\)|-\|\\|-\\|-\/|-\/\/|-\|\/|\/\|-|\\\|-|\/\/-|\\\\-|\/\|-|--\|\\|--|\(\)))[\-]*[^\+<\->\->:\n,;]+)*)/i,/^(?:->>)/i,/^(?:<<->>)/i,/^(?:-->>)/i,/^(?:<<-->>)/i,/^(?:->)/i,/^(?:-->)/i,/^(?:-[x])/i,/^(?:--[x])/i,/^(?:-[\)])/i,/^(?:--[\)])/i,/^(?:--\|\\)/i,/^(?:--\|\/)/i,/^(?:--\\\\)/i,/^(?:--\/\/)/i,/^(?:\/\|--)/i,/^(?:\\\|--)/i,/^(?:\/\/--)/i,/^(?:\\\\--)/i,/^(?:-\|\\)/i,/^(?:-\|\/)/i,/^(?:-\\\\)/i,/^(?:-\/\/)/i,/^(?:\/\|-)/i,/^(?:\\\|-)/i,/^(?:\/\/-)/i,/^(?:\\\\-)/i,/^(?::(?:(?:no)?wrap)?[^#\n;]*)/i,/^(?::)/i,/^(?:\+)/i,/^(?:-)/i,/^(?:\(\))/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[53,54],inclusive:!1},acc_descr:{rules:[51],inclusive:!1},acc_title:{rules:[49],inclusive:!1},ID:{rules:[2,3,7,11,12,13,14,15],inclusive:!1},ALIAS:{rules:[2,3,21,22],inclusive:!1},LINE:{rules:[2,3,34],inclusive:!1},CONFIG:{rules:[8,9,10],inclusive:!1},CONFIG_DATA:{rules:[],inclusive:!1},INITIAL:{rules:[0,1,3,4,5,6,16,17,18,19,20,23,24,25,26,27,28,29,30,31,32,33,35,36,37,38,39,40,41,42,43,44,45,46,47,48,50,52,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93],inclusive:!0}}}}();function xt(){this.yy={}}return _t.lexer=mt,t(xt,"Parser"),xt.prototype=_t,_t.Parser=xt,new xt}();M.parser=M;var C=M,v={SOLID:0,DOTTED:1,NOTE:2,SOLID_CROSS:3,DOTTED_CROSS:4,SOLID_OPEN:5,DOTTED_OPEN:6,LOOP_START:10,LOOP_END:11,ALT_START:12,ALT_ELSE:13,ALT_END:14,OPT_START:15,OPT_END:16,ACTIVE_START:17,ACTIVE_END:18,PAR_START:19,PAR_AND:20,PAR_END:21,RECT_START:22,RECT_END:23,SOLID_POINT:24,DOTTED_POINT:25,AUTONUMBER:26,CRITICAL_START:27,CRITICAL_OPTION:28,CRITICAL_END:29,BREAK_START:30,BREAK_END:31,PAR_OVER_START:32,BIDIRECTIONAL_SOLID:33,BIDIRECTIONAL_DOTTED:34,SOLID_TOP:41,SOLID_BOTTOM:42,STICK_TOP:43,STICK_BOTTOM:44,SOLID_ARROW_TOP_REVERSE:45,SOLID_ARROW_BOTTOM_REVERSE:46,STICK_ARROW_TOP_REVERSE:47,STICK_ARROW_BOTTOM_REVERSE:48,SOLID_TOP_DOTTED:51,SOLID_BOTTOM_DOTTED:52,STICK_TOP_DOTTED:53,STICK_BOTTOM_DOTTED:54,SOLID_ARROW_TOP_REVERSE_DOTTED:55,SOLID_ARROW_BOTTOM_REVERSE_DOTTED:56,STICK_ARROW_TOP_REVERSE_DOTTED:57,STICK_ARROW_BOTTOM_REVERSE_DOTTED:58,CENTRAL_CONNECTION:59,CENTRAL_CONNECTION_REVERSE:60,CENTRAL_CONNECTION_DUAL:61},B={FILLED:0,OPEN:1},Y={LEFTOF:0,RIGHTOF:1,OVER:2},$="actor",V="control",W="database",F="entity",K=class{constructor(){this.state=new k(()=>({prevActor:void 0,actors:new Map,createdActors:new Map,destroyedActors:new Map,boxes:[],messages:[],notes:[],sequenceNumbersEnabled:!1,wrapEnabled:void 0,currentBox:void 0,lastCreated:void 0,lastDestroyed:void 0})),this.setAccTitle=d,this.setAccDescription=l,this.setDiagramTitle=h,this.getAccTitle=p,this.getAccDescription=T,this.getDiagramTitle=E,this.apply=this.apply.bind(this),this.parseBoxData=this.parseBoxData.bind(this),this.parseMessage=this.parseMessage.bind(this),this.clear(),this.setWrap(a().wrap),this.LINETYPE=v,this.ARROWTYPE=B,this.PLACEMENT=Y}static{t(this,"SequenceDB")}addBox(t){this.state.records.boxes.push({name:t.text,wrap:t.wrap??this.autoWrap(),fill:t.color,actorKeys:[]}),this.state.records.currentBox=this.state.records.boxes.slice(-1)[0]}addActor(t,e,a,r,s){let i,n=this.state.records.currentBox;if(void 0!==s){let t;t=s.includes("\n")?s+"\n":"{\n"+s+"\n}",i=g(t,{schema:u})}r=i?.type??r,!i?.alias||a&&a.text!==e||(a={text:i.alias,wrap:a?.wrap,type:r});const o=this.state.records.actors.get(t);if(o){if(this.state.records.currentBox&&o.box&&this.state.records.currentBox!==o.box)throw new Error(`A same participant should only be defined in one Box: ${o.name} can't be in '${o.box.name}' and in '${this.state.records.currentBox.name}' at the same time.`);if(n=o.box?o.box:this.state.records.currentBox,o.box=n,o&&e===o.name&&null==a)return}if(null==a?.text&&(a={text:e,type:r}),null!=r&&null!=a.text||(a={text:e,type:r}),this.state.records.actors.set(t,{box:n,name:e,description:a.text,wrap:a.wrap??this.autoWrap(),prevActor:this.state.records.prevActor,links:{},properties:{},actorCnt:null,rectData:null,type:r??"participant"}),this.state.records.prevActor){const e=this.state.records.actors.get(this.state.records.prevActor);e&&(e.nextActor=t)}this.state.records.currentBox&&this.state.records.currentBox.actorKeys.push(t),this.state.records.prevActor=t}activationCount(t){let e,a=0;if(!t)return 0;for(e=0;e<this.state.records.messages.length;e++)this.state.records.messages[e].type===this.LINETYPE.ACTIVE_START&&this.state.records.messages[e].from===t&&a++,this.state.records.messages[e].type===this.LINETYPE.ACTIVE_END&&this.state.records.messages[e].from===t&&a--;return a}addMessage(t,e,a,r){this.state.records.messages.push({id:this.state.records.messages.length.toString(),from:t,to:e,message:a.text,wrap:a.wrap??this.autoWrap(),answer:r})}addSignal(t,e,a,r,s=!1,i){if(r===this.LINETYPE.ACTIVE_END){if(this.activationCount(t??"")<1){const e=new Error("Trying to inactivate an inactive participant ("+t+")");throw e.hash={text:"->>-",token:"->>-",line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["'ACTIVE_PARTICIPANT'"]},e}}return this.state.records.messages.push({id:this.state.records.messages.length.toString(),from:t,to:e,message:a?.text??"",wrap:a?.wrap??this.autoWrap(),type:r,activate:s,centralConnection:i??0}),!0}hasAtLeastOneBox(){return this.state.records.boxes.length>0}hasAtLeastOneBoxWithTitle(){return this.state.records.boxes.some(t=>t.name)}getMessages(){return this.state.records.messages}getBoxes(){return this.state.records.boxes}getActors(){return this.state.records.actors}getCreatedActors(){return this.state.records.createdActors}getDestroyedActors(){return this.state.records.destroyedActors}getActor(t){return this.state.records.actors.get(t)}getActorKeys(){return[...this.state.records.actors.keys()]}enableSequenceNumbers(){this.state.records.sequenceNumbersEnabled=!0}disableSequenceNumbers(){this.state.records.sequenceNumbersEnabled=!1}showSequenceNumbers(){return this.state.records.sequenceNumbersEnabled}setWrap(t){this.state.records.wrapEnabled=t}extractWrap(t){if(void 0===t)return{};t=t.trim();const e=null!==/^:?wrap:/.exec(t)||null===/^:?nowrap:/.exec(t)&&void 0;return{cleanedText:(void 0===e?t:t.replace(/^:?(?:no)?wrap:/,"")).trim(),wrap:e}}autoWrap(){return void 0!==this.state.records.wrapEnabled?this.state.records.wrapEnabled:a().sequence?.wrap??!1}clear(){this.state.reset(),O()}parseMessage(t){const e=t.trim(),{wrap:a,cleanedText:r}=this.extractWrap(e),i={text:r,wrap:a};return s.debug(`parseMessage: ${JSON.stringify(i)}`),i}parseBoxData(t){const e=/^((?:rgba?|hsla?)\s*\(.*\)|\w*)(.*)$/.exec(t);let r=e?.[1]?e[1].trim():"transparent",s=e?.[2]?e[2].trim():void 0;if(window?.CSS)window.CSS.supports("color",r)||(r="transparent",s=t.trim());else{const e=(new Option).style;e.color=r,e.color!==r&&(r="transparent",s=t.trim())}const{wrap:i,cleanedText:n}=this.extractWrap(s);return{text:n?y(n,a()):void 0,color:r,wrap:i}}addNote(t,e,a){const r={actor:t,placement:e,message:a.text,wrap:a.wrap??this.autoWrap()},s=[].concat(t,t);this.state.records.notes.push(r),this.state.records.messages.push({id:this.state.records.messages.length.toString(),from:s[0],to:s[1],message:a.text,wrap:a.wrap??this.autoWrap(),type:this.LINETYPE.NOTE,placement:e})}addLinks(t,e){const r=this.getActor(t);try{let t=y(e.text,a());t=t.replace(/&equals;/g,"="),t=t.replace(/&amp;/g,"&");const s=JSON.parse(t);this.insertLinks(r,s)}catch(t){s.error("error while parsing actor link text",t)}}addALink(t,e){const r=this.getActor(t);try{const t={};let s=y(e.text,a());const i=s.indexOf("@");s=s.replace(/&equals;/g,"="),s=s.replace(/&amp;/g,"&");const n=s.slice(0,i-1).trim(),o=s.slice(i+1).trim();t[n]=o,this.insertLinks(r,t)}catch(t){s.error("error while parsing actor link text",t)}}insertLinks(t,e){if(null==t.links)t.links=e;else for(const a in e)t.links[a]=e[a]}addProperties(t,e){const r=this.getActor(t);try{const t=y(e.text,a()),s=JSON.parse(t);this.insertProperties(r,s)}catch(t){s.error("error while parsing actor properties text",t)}}insertProperties(t,e){if(null==t.properties)t.properties=e;else for(const a in e)t.properties[a]=e[a]}boxEnd(){this.state.records.currentBox=void 0}addDetails(t,e){const a=this.getActor(t),r=document.getElementById(e.text);try{const t=r.innerHTML,e=JSON.parse(t);e.properties&&this.insertProperties(a,e.properties),e.links&&this.insertLinks(a,e.links)}catch(t){s.error("error while parsing actor details text",t)}}getActorProperty(t,e){if(void 0!==t?.properties)return t.properties[e]}apply(t){if(Array.isArray(t))t.forEach(t=>{this.apply(t)});else switch(t.type){case"sequenceIndex":this.state.records.messages.push({id:this.state.records.messages.length.toString(),from:void 0,to:void 0,message:{start:t.sequenceIndex,step:t.sequenceIndexStep,visible:t.sequenceVisible},wrap:!1,type:t.signalType});break;case"addParticipant":this.addActor(t.actor,t.actor,t.description,t.draw,t.config);break;case"createParticipant":if(this.state.records.actors.has(t.actor))throw new Error("It is not possible to have actors with the same id, even if one is destroyed before the next is created. Use 'AS' aliases to simulate the behavior");this.state.records.lastCreated=t.actor,this.addActor(t.actor,t.actor,t.description,t.draw,t.config),this.state.records.createdActors.set(t.actor,this.state.records.messages.length);break;case"destroyParticipant":this.state.records.lastDestroyed=t.actor,this.state.records.destroyedActors.set(t.actor,this.state.records.messages.length);break;case"activeStart":case"centralConnection":case"centralConnectionReverse":case"activeEnd":this.addSignal(t.actor,void 0,void 0,t.signalType);break;case"addNote":this.addNote(t.actor,t.placement,t.text);break;case"addLinks":this.addLinks(t.actor,t.text);break;case"addALink":this.addALink(t.actor,t.text);break;case"addProperties":this.addProperties(t.actor,t.text);break;case"addDetails":this.addDetails(t.actor,t.text);break;case"addMessage":if(this.state.records.lastCreated){if(t.to!==this.state.records.lastCreated)throw new Error("The created participant "+this.state.records.lastCreated.name+" does not have an associated creating message after its declaration. Please check the sequence diagram.");this.state.records.lastCreated=void 0}else if(this.state.records.lastDestroyed){if(t.to!==this.state.records.lastDestroyed&&t.from!==this.state.records.lastDestroyed)throw new Error("The destroyed participant "+this.state.records.lastDestroyed.name+" does not have an associated destroying message after its declaration. Please check the sequence diagram.");this.state.records.lastDestroyed=void 0}this.addSignal(t.from,t.to,t.msg,t.signalType,t.activate,t.centralConnection);break;case"boxStart":this.addBox(t.boxData);break;case"boxEnd":this.boxEnd();break;case"loopStart":this.addSignal(void 0,void 0,t.loopText,t.signalType);break;case"loopEnd":case"rectEnd":case"optEnd":case"altEnd":case"parEnd":case"criticalEnd":case"breakEnd":this.addSignal(void 0,void 0,void 0,t.signalType);break;case"rectStart":this.addSignal(void 0,void 0,t.color,t.signalType);break;case"optStart":this.addSignal(void 0,void 0,t.optText,t.signalType);break;case"altStart":case"else":this.addSignal(void 0,void 0,t.altText,t.signalType);break;case"setAccTitle":d(t.text);break;case"parStart":case"and":this.addSignal(void 0,void 0,t.parText,t.signalType);break;case"criticalStart":this.addSignal(void 0,void 0,t.criticalText,t.signalType);break;case"option":this.addSignal(void 0,void 0,t.optionText,t.signalType);break;case"breakStart":this.addSignal(void 0,void 0,t.breakText,t.signalType)}}getConfig(){return a().sequence}},q=t(t=>{const e=t.dropShadow??"none",{look:r}=a();return`.actor {\n stroke: ${t.actorBorder};\n fill: ${t.actorBkg};\n stroke-width: ${t.strokeWidth??1};\n }\n\n rect.actor.outer-path[data-look="neo"] {\n filter: ${e};\n }\n\n rect.note[data-look="neo"] {\n stroke:${t.noteBorderColor};\n fill:${t.noteBkgColor};\n filter: ${e};\n }\n\n text.actor > tspan {\n fill: ${t.actorTextColor};\n stroke: none;\n }\n\n .actor-line {\n stroke: ${t.actorLineColor};\n }\n\n .innerArc {\n stroke-width: 1.5;\n stroke-dasharray: none;\n }\n\n .messageLine0 {\n stroke-width: 1.5;\n stroke-dasharray: none;\n stroke: ${t.signalColor};\n }\n\n .messageLine1 {\n stroke-width: 1.5;\n stroke-dasharray: 2, 2;\n stroke: ${t.signalColor};\n }\n\n [id$="-arrowhead"] path {\n fill: ${t.signalColor};\n stroke: ${t.signalColor};\n }\n\n .sequenceNumber {\n fill: ${t.sequenceNumberColor};\n }\n\n [id$="-sequencenumber"] {\n fill: ${t.signalColor};\n }\n\n [id$="-crosshead"] path {\n fill: ${t.signalColor};\n stroke: ${t.signalColor};\n }\n\n .messageText {\n fill: ${t.signalTextColor};\n stroke: none;\n }\n\n .labelBox {\n stroke: ${t.labelBoxBorderColor};\n fill: ${t.labelBoxBkgColor};\n filter: ${"neo"===r?e:"none"};\n }\n\n .labelText, .labelText > tspan {\n fill: ${t.labelTextColor};\n stroke: none;\n }\n\n .loopText, .loopText > tspan {\n fill: ${t.loopTextColor};\n stroke: none;\n }\n\n .loopLine {\n stroke-width: 2px;\n stroke-dasharray: 2, 2;\n stroke: ${t.labelBoxBorderColor};\n fill: ${t.labelBoxBorderColor};\n }\n\n .note {\n //stroke: #decc93;\n stroke: ${t.noteBorderColor};\n fill: ${t.noteBkgColor};\n }\n\n .noteText, .noteText > tspan {\n fill: ${t.noteTextColor};\n stroke: none;\n ${t.noteFontWeight?`font-weight: ${t.noteFontWeight};`:""}\n }\n\n .activation0 {\n fill: ${t.activationBkgColor};\n stroke: ${t.activationBorderColor};\n }\n\n .activation1 {\n fill: ${t.activationBkgColor};\n stroke: ${t.activationBorderColor};\n }\n\n .activation2 {\n fill: ${t.activationBkgColor};\n stroke: ${t.activationBorderColor};\n }\n\n .actorPopupMenu {\n position: absolute;\n }\n\n .actorPopupMenuPanel {\n position: absolute;\n fill: ${t.actorBkg};\n box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);\n filter: drop-shadow(3px 5px 2px rgb(0 0 0 / 0.4));\n}\n .actor-man circle, line {\n fill: ${t.actorBkg};\n stroke-width: 2px;\n }\n\n g rect.rect {\n filter: ${e};\n stroke: ${t.nodeBorder};\n }\n`},"getStyles"),H="actor-top",z="actor-bottom",j="actor-box",U="actor-man",G=new Set(["redux-color","redux-dark-color"]),X=t(function(t,e){const a=S(t,e);return"neo"===f().look&&a.attr("data-look","neo"),a},"drawRect"),Z=t(function(t,e,a,r,s){if(void 0===e.links||null===e.links||0===Object.keys(e.links).length)return{height:0,width:0};const n=e.links,o=e.actorCnt,c=e.rectData;var d="none";s&&(d="block !important");const l=t.append("g");l.attr("id","actor"+o+"_popup"),l.attr("class","actorPopupMenu"),l.attr("display",d);var h="";void 0!==c.class&&(h=" "+c.class);let p=c.width>a?c.width:a;const T=l.append("rect");if(T.attr("class","actorPopupMenuPanel"+h),T.attr("x",c.x),T.attr("y",c.height),T.attr("fill",c.fill),T.attr("stroke",c.stroke),T.attr("width",p),T.attr("height",c.height),T.attr("rx",c.rx),T.attr("ry",c.ry),null!=n){var E=20;for(let t in n){var g=l.append("a"),u=i.sanitizeUrl(n[t]);g.attr("xlink:href",u),g.attr("target","_blank"),Pt(r)(t,g,c.x+10,c.height+E,p,20,{class:"actor"},r),E+=30}}return T.attr("height",E),{height:c.height+E,width:p}},"drawPopup"),J=t(function(t){return"var pu = document.getElementById('"+t+"'); if (pu != null) { pu.style.display = pu.style.display == 'block' ? 'none' : 'block'; }"},"popupMenuToggle"),Q=t(async function(t,e,a=null){let r=t.append("foreignObject");const s=await L(e.text,f()),i=r.append("xhtml:div").attr("style","width: fit-content;").attr("xmlns","http://www.w3.org/1999/xhtml").html(s).node().getBoundingClientRect();if(r.attr("height",Math.round(i.height)).attr("width",Math.round(i.width)),"noteText"===e.class){const a=t.node().firstChild;a.setAttribute("height",i.height+2*e.textMargin);const s=a.getBBox();r.attr("x",Math.round(s.x+s.width/2-i.width/2)).attr("y",Math.round(s.y+s.height/2-i.height/2))}else if(a){let{startx:t,stopx:s,starty:n}=a;if(t>s){const e=t;t=s,s=e}r.attr("x",Math.round(t+Math.abs(t-s)/2-i.width/2)),"loopText"===e.class?r.attr("y",Math.round(n)):r.attr("y",Math.round(n-i.height))}return[r]},"drawKatex"),tt=t(function(e,a){let r=0,s=0;const i=a.text.split(c.lineBreakRegex),[n,o]=b(a.fontSize);let d=[],l=0,h=t(()=>a.y,"yfunc");if(void 0!==a.valign&&void 0!==a.textMargin&&a.textMargin>0)switch(a.valign){case"top":case"start":h=t(()=>Math.round(a.y+a.textMargin),"yfunc");break;case"middle":case"center":h=t(()=>Math.round(a.y+(r+s+a.textMargin)/2),"yfunc");break;case"bottom":case"end":h=t(()=>Math.round(a.y+(r+s+2*a.textMargin)-a.textMargin),"yfunc")}if(void 0!==a.anchor&&void 0!==a.textMargin&&void 0!==a.width)switch(a.anchor){case"left":case"start":a.x=Math.round(a.x+a.textMargin),a.anchor="start",a.dominantBaseline="middle",a.alignmentBaseline="middle";break;case"middle":case"center":a.x=Math.round(a.x+a.width/2),a.anchor="middle",a.dominantBaseline="middle",a.alignmentBaseline="middle";break;case"right":case"end":a.x=Math.round(a.x+a.width-a.textMargin),a.anchor="end",a.dominantBaseline="middle",a.alignmentBaseline="middle"}for(let[t,c]of i.entries()){void 0!==a.textMargin&&0===a.textMargin&&void 0!==n&&(l=t*n);const i=e.append("text");i.attr("x",a.x),i.attr("y",h()),void 0!==a.anchor&&i.attr("text-anchor",a.anchor).attr("dominant-baseline",a.dominantBaseline).attr("alignment-baseline",a.alignmentBaseline),void 0!==a.fontFamily&&i.style("font-family",a.fontFamily),void 0!==o&&i.style("font-size",o),void 0!==a.fontWeight&&i.style("font-weight",a.fontWeight),void 0!==a.fill&&i.attr("fill",a.fill),void 0!==a.class&&i.attr("class",a.class),void 0!==a.dy?i.attr("dy",a.dy):0!==l&&i.attr("dy",l);const p=c||I;if(a.tspan){const t=i.append("tspan");t.attr("x",a.x),void 0!==a.fill&&t.attr("fill",a.fill),t.text(p)}else i.text(p);void 0!==a.valign&&void 0!==a.textMargin&&a.textMargin>0&&(s+=(i._groups||i)[0][0].getBBox().height,r=s),d.push(i)}return d},"drawText"),et=t(function(e,a){function r(t,e,a,r,s){return t+","+e+" "+(t+a)+","+e+" "+(t+a)+","+(e+r-s)+" "+(t+a-1.2*s)+","+(e+r)+" "+t+","+(e+r)}t(r,"genPoints");const s=e.append("polygon");return s.attr("points",r(a.x,a.y,a.width,a.height,7)),s.attr("class","labelBox"),a.y=a.y+a.height/2,tt(e,a),s},"drawLabel"),at=-1,rt=t((t,e,a,r)=>{t.select&&a.forEach(a=>{const s=e.get(a),i=t.select("#actor"+s.actorCnt);!r.mirrorActors&&s.stopy?i.attr("y2",s.stopy+s.height/2):r.mirrorActors&&i.attr("y2",s.stopy)})},"fixLifeLineHeights"),st=t(function(t,e,a,r,s){const i=r?e.stopy:e.starty,n=e.x+e.width/2,o=i+e.height,{look:c,theme:d,themeVariables:l}=a,{bkgColorArray:h,borderColorArray:p}=l,T=t.append("g").lower();var E=T;r||(at++,Object.keys(e.links||{}).length&&!a.forceMenus&&E.attr("onclick",J(`actor${at}_popup`)).attr("cursor","pointer"),E.append("line").attr("id","actor"+at).attr("x1",n).attr("y1",o).attr("x2",n).attr("y2",2e3).attr("class","actor-line 200").attr("stroke-width","0.5px").attr("stroke","#999").attr("name",e.name).attr("data-et","life-line").attr("data-id",e.name),E=T.append("g"),e.actorCnt=at,null!=e.links&&E.attr("id","root-"+at),"neo"===c&&E.attr("data-look","neo"));const g=P();var u="actor";e.properties?.class?u=e.properties.class:g.fill="#eaeaea",u+=r?` ${z}`:` ${H}`,g.x=e.x,g.y=i,g.width=e.width,g.height=e.height,g.class=u,g.rx=3,g.ry=3,g.name=e.name,"neo"===c&&(g.rx=6,g.ry=6);const O=X(E,g),y=s.get(e.name)??0;if(G.has(d)&&(O.style("stroke",p[y%p.length]),O.style("fill",h[y%p.length])),"neo"===c&&O.attr("filter","url(#drop-shadow)"),e.rectData=g,e.properties?.icon){const t=e.properties.icon.trim();"@"===t.charAt(0)?D(E,g.x+g.width-20,g.y+10,t.substr(1)):A(E,g.x+g.width-20,g.y+10,t)}r||(E.attr("data-et","participant"),E.attr("data-type","participant"),E.attr("data-id",e.name)),wt(a,m(e.description))(e.description,E,g.x,g.y,g.width,g.height,{class:`actor ${j}`},a);let _=e.height;if(O.node){const t=O.node().getBBox();e.height=t.height,_=t.height}return _},"drawActorTypeParticipant"),it=t(function(t,e,a,r,s){const i=r?e.stopy:e.starty,n=e.x+e.width/2,o=i+e.height,{look:c,theme:d,themeVariables:l}=a,{bkgColorArray:h,borderColorArray:p}=l,T=t.append("g").lower();var E=T;r||(at++,Object.keys(e.links||{}).length&&!a.forceMenus&&E.attr("onclick",J(`actor${at}_popup`)).attr("cursor","pointer"),E.append("line").attr("id","actor"+at).attr("x1",n).attr("y1",o).attr("x2",n).attr("y2",2e3).attr("class","actor-line 200").attr("stroke-width","0.5px").attr("stroke","#999").attr("name",e.name).attr("data-et","life-line").attr("data-id",e.name),E=T.append("g"),e.actorCnt=at,null!=e.links&&E.attr("id","root-"+at),"neo"===c&&E.attr("data-look","neo"));const g=P();var u="actor";e.properties?.class?u=e.properties.class:g.fill="#eaeaea",u+=r?` ${z}`:` ${H}`,g.x=e.x,g.y=i,g.width=e.width,g.height=e.height,g.class=u,g.name=e.name;const O={...g,x:g.x+-6,y:g.y+6,class:"actor"},y=X(E,g),_=X(E,O);e.rectData=g,"neo"===c&&E.attr("filter","url(#drop-shadow)");const x=s.get(e.name)??0;if(G.has(d)&&(y.style("stroke",p[x%p.length]),y.style("fill",h[x%p.length]),_.style("stroke",p[x%p.length]),_.style("fill",h[x%p.length])),e.properties?.icon){const t=e.properties.icon.trim();"@"===t.charAt(0)?D(E,g.x+g.width-20,g.y+10,t.substr(1)):A(E,g.x+g.width-20,g.y+10,t)}wt(a,m(e.description))(e.description,E,g.x-6,g.y+6,g.width,g.height,{class:`actor ${j}`},a);let b=e.height;if(y.node){const t=y.node().getBBox();e.height=t.height,b=t.height}return r||(E.attr("data-et","participant"),E.attr("data-type","collections"),E.attr("data-id",e.name)),b},"drawActorTypeCollections"),nt=t(function(t,e,a,r,s){const i=r?e.stopy:e.starty,n=e.x+e.width/2,o=i+e.height,{look:c,theme:d,themeVariables:l}=a,{bkgColorArray:h,borderColorArray:p}=l,T=t.append("g").lower();let E=T;r||(at++,Object.keys(e.links||{}).length&&!a.forceMenus&&E.attr("onclick",J(`actor${at}_popup`)).attr("cursor","pointer"),E.append("line").attr("id","actor"+at).attr("x1",n).attr("y1",o).attr("x2",n).attr("y2",2e3).attr("class","actor-line 200").attr("stroke-width","0.5px").attr("stroke","#999").attr("name",e.name).attr("data-et","life-line").attr("data-id",e.name),E=T.append("g"),e.actorCnt=at,null!=e.links&&E.attr("id","root-"+at),"neo"===c&&E.attr("data-look","neo"));const g=P();let u="actor";e.properties?.class?u=e.properties.class:g.fill="#eaeaea",u+=r?` ${z}`:` ${H}`,E.attr("class",u),g.x=e.x,g.y=i,g.width=e.width,g.height=e.height,g.name=e.name;const O=g.height/2,y=O/(2.5+g.height/50),_=E.append("g"),x=E.append("g"),b=`M ${g.x},${g.y+O}\n a ${y},${O} 0 0 0 0,${g.height}\n h ${g.width-2*y}\n a ${y},${O} 0 0 0 0,-${g.height}\n Z\n `;_.append("path").attr("d",b),x.append("path").attr("d",`M ${g.x},${g.y+O}\n a ${y},${O} 0 0 0 0,${g.height}`),_.attr("transform",`translate(${y}, ${-g.height/2})`),x.attr("transform",`translate(${g.width-y}, ${-g.height/2})`),e.rectData=g,"neo"===c&&_.attr("filter","url(#drop-shadow)");const I=s.get(e.name)??0;if(G.has(d)&&(_.style("stroke",p[I%p.length]),_.style("fill",h[I%p.length]),x.style("stroke",p[I%p.length]),x.style("fill",h[I%p.length])),e.properties?.icon){const t=e.properties.icon.trim(),a=g.x+g.width-20,r=g.y+10;"@"===t.charAt(0)?D(E,a,r,t.substr(1)):A(E,a,r,t)}wt(a,m(e.description))(e.description,E,g.x,g.y,g.width,g.height,{class:`actor ${j}`},a);let f=e.height;const R=_.select("path:last-child");if(R.node()){const t=R.node().getBBox();e.height=t.height,f=t.height}return r||(E.attr("data-et","participant"),E.attr("data-type","queue"),E.attr("data-id",e.name)),f},"drawActorTypeQueue"),ot=t(function(t,e,a,r,s,i){const n=r?e.stopy:e.starty,o=e.x+e.width/2,c=n+75,{look:d,theme:l,themeVariables:h}=a,{bkgColorArray:p,borderColorArray:T,actorBorder:E,actorBkg:g}=h,u=t.append("g").lower();r||(at++,u.append("line").attr("id","actor"+at).attr("x1",o).attr("y1",c).attr("x2",o).attr("y2",2e3).attr("class","actor-line 200").attr("stroke-width","0.5px").attr("stroke","#999").attr("name",e.name).attr("data-et","life-line").attr("data-id",e.name),e.actorCnt=at);const O=t.append("g");let y=U;y+=r?` ${z}`:` ${H}`,O.attr("class",y),O.attr("name",e.name);const _=P();_.x=e.x,_.y=n,_.fill="#eaeaea",_.width=e.width,_.height=e.height,_.class="actor";const x=e.x+e.width/2,b=n+32;O.append("defs").append("marker").attr("id",s+"-filled-head-control").attr("refX",11).attr("refY",5.8).attr("markerWidth",20).attr("markerHeight",28).attr("orient","172.5").attr("stroke-width",1.2).append("path").attr("d","M 14.4 5.6 L 7.2 10.4 L 8.8 5.6 L 7.2 0.8 Z"),O.append("circle").attr("cx",x).attr("cy",b).attr("r",22).attr("filter",""+("neo"===d?"url(#drop-shadow)":"")),O.append("line").attr("marker-end","url(#"+s+"-filled-head-control)").attr("transform",`translate(${x}, ${b-22})`);const I=i.get(e.name)??0;G.has(l)?(O.style("stroke",T[I%T.length]),O.style("fill",p[I%T.length])):(O.style("stroke",E),O.style("fill",g));const f=O.node().getBBox();return e.height=f.height+2*(a?.sequence?.labelBoxHeight??0),wt(a,m(e.description))(e.description,O,_.x,_.y+22+(r?5:12),_.width,_.height,{class:`actor ${U}`},a),r||(O.attr("data-et","participant"),O.attr("data-type","control"),O.attr("data-id",e.name)),e.height},"drawActorTypeControl"),ct=t(function(t,e,a,r,s){const i=r?e.stopy:e.starty,n=e.x+e.width/2,o=i+75,{look:c,theme:d,themeVariables:l}=a,{bkgColorArray:h,borderColorArray:p}=l,T=t.append("g").lower(),E=t.append("g");let g="actor";g+=r?` ${z}`:` ${H}`,E.attr("class",g),E.attr("name",e.name);const u=P();u.x=e.x,u.y=i,u.fill="#eaeaea",u.width=e.width,u.height=e.height,u.class="actor";const O=e.x+e.width/2,y=i+(r?10:25),_=22;E.append("circle").attr("cx",O).attr("cy",y).attr("r",_).attr("width",e.width).attr("height",e.height),E.append("line").attr("x1",O-_).attr("x2",O+_).attr("y1",y+_).attr("y2",y+_).attr("stroke-width",2),"neo"===c&&E.attr("filter","url(#drop-shadow)");const x=s.get(e.name)??0;G.has(d)&&(E.style("stroke",p[x%p.length]),E.style("fill",h[x%p.length]));const b=E.node().getBBox();return e.height=b.height+(a?.sequence?.labelBoxHeight??0),r||(at++,T.append("line").attr("id","actor"+at).attr("x1",n).attr("y1",o).attr("x2",n).attr("y2",2e3).attr("class","actor-line 200").attr("stroke-width","0.5px").attr("stroke","#999").attr("name",e.name).attr("data-et","life-line").attr("data-id",e.name),e.actorCnt=at),wt(a,m(e.description))(e.description,E,u.x,u.y+(r?15:30),u.width,u.height,{class:`actor ${U}`},a),r?E.attr("transform","translate(0, 22)"):(E.attr("transform","translate(0, 6)"),E.attr("data-et","participant"),E.attr("data-type","entity"),E.attr("data-id",e.name)),e.height},"drawActorTypeEntity"),dt=t(function(t,e,a,r,s){const i=r?e.stopy:e.starty,n=e.x+e.width/2,o=i+e.height+2*a.boxTextMargin,{theme:c,themeVariables:d,look:l}=a,{bkgColorArray:h,borderColorArray:p,actorBorder:T}=d,E=t.append("g").lower();let g=E;r||(at++,Object.keys(e.links||{}).length&&!a.forceMenus&&g.attr("onclick",J(`actor${at}_popup`)).attr("cursor","pointer"),g.append("line").attr("id","actor"+at).attr("x1",n).attr("y1",o).attr("x2",n).attr("y2",2e3).attr("class","actor-line 200").attr("stroke-width","0.5px").attr("stroke","#999").attr("name",e.name).attr("data-et","life-line").attr("data-id",e.name),g=E.append("g"),e.actorCnt=at,null!=e.links&&g.attr("id","root-"+at),"neo"===l&&g.attr("data-look","neo"));const u=P();let O="actor";e.properties?.class?O=e.properties.class:u.fill="#eaeaea",O+=r?` ${z}`:` ${H}`,u.x=e.x,u.y=i,u.width=e.width,u.height=e.height,u.class=O,u.name=e.name,u.x=e.x,u.y=i;const y=u.width/3,_=u.width/3,x=y/2,b=x/(2.5+y/50),I=g.append("g");I.attr("class",O);const f=`\n M ${u.x},${u.y+b}\n a ${x},${b} 0 0 0 ${y},0\n a ${x},${b} 0 0 0 -${y},0\n l 0,${_-2*b}\n a ${x},${b} 0 0 0 ${y},0\n l 0,-${_-2*b}\n`;I.append("path").attr("d",f),"neo"===l&&I.attr("filter","url(#drop-shadow)");const R=s.get(e.name)??0;G.has(c)?(I.style("stroke",p[R%p.length]),I.style("fill",h[R%p.length])):I.style("stroke",T),I.attr("transform",`translate(${y}, ${b})`),e.rectData=u,wt(a,m(e.description))(e.description,g,u.x,u.y+35,u.width,u.height,{class:`actor ${j}`},a);const L=I.select("path:last-child");if(L.node()){const t=L.node().getBBox();e.height=t.height+(a.sequence.labelBoxHeight??0)}return r||(g.attr("data-et","participant"),g.attr("data-type","database"),g.attr("data-id",e.name)),e.height},"drawActorTypeDatabase"),lt=t(function(t,e,a,r,s){const i=r?e.stopy:e.starty,n=e.x+e.width/2,o=i+80,c=t.append("g").lower(),{look:d,theme:l,themeVariables:h}=a,{bkgColorArray:p,borderColorArray:T,actorBorder:E}=h;r||(at++,c.append("line").attr("id","actor"+at).attr("x1",n).attr("y1",o).attr("x2",n).attr("y2",2e3).attr("class","actor-line 200").attr("stroke-width","0.5px").attr("stroke","#999").attr("name",e.name).attr("data-et","life-line").attr("data-id",e.name),e.actorCnt=at);const g=t.append("g");let u=U;u+=r?` ${z}`:` ${H}`,g.attr("class",u),g.attr("name",e.name);const O=P();O.x=e.x,O.y=i,O.fill="#eaeaea",O.width=e.width,O.height=e.height,O.class="actor",g.append("line").attr("id","actor-man-torso"+at).attr("x1",e.x+e.width/2-55).attr("y1",i+12).attr("x2",e.x+e.width/2-15).attr("y2",i+12),g.append("line").attr("id","actor-man-arms"+at).attr("x1",e.x+e.width/2-55).attr("y1",i+2).attr("x2",e.x+e.width/2-55).attr("y2",i+22),g.append("circle").attr("cx",e.x+e.width/2).attr("cy",i+12).attr("r",22),"neo"===d&&g.attr("filter","url(#drop-shadow)");const y=s.get(e.name)??0;G.has(l)?(g.style("stroke",T[y%T.length]),g.style("fill",p[y%T.length])):g.style("stroke",E);const _=g.node().getBBox();return e.height=_.height+(a.sequence.labelBoxHeight??0),wt(a,m(e.description))(e.description,g,O.x,O.y+15,O.width,O.height,{class:`actor ${U}`},a),g.attr("transform","translate(0,21)"),r||(g.attr("data-et","participant"),g.attr("data-type","boundary"),g.attr("data-id",e.name)),e.height},"drawActorTypeBoundary"),ht=t(function(t,e,a,r,s){const i=r?e.stopy:e.starty,n=e.x+e.width/2,o=i+80,{look:c,theme:d,themeVariables:l}=a,{bkgColorArray:h,borderColorArray:p,actorBorder:T}=l,E=t.append("g").lower();r||(at++,E.append("line").attr("id","actor"+at).attr("x1",n).attr("y1",o).attr("x2",n).attr("y2",2e3).attr("class","actor-line 200").attr("stroke-width","0.5px").attr("stroke","#999").attr("name",e.name).attr("data-et","life-line").attr("data-id",e.name),e.actorCnt=at);const g=t.append("g");let u=U;u+=r?` ${z}`:` ${H}`,g.attr("class",u),g.attr("name",e.name),r||g.attr("data-et","participant").attr("data-type","actor").attr("data-id",e.name);const O="neo"===c?.5:1,y="neo"===c?i+30*(1-O):i;g.append("line").attr("id","actor-man-torso"+at).attr("x1",n).attr("y1",y+25*O).attr("x2",n).attr("y2",y+45*O),g.append("line").attr("id","actor-man-arms"+at).attr("x1",n-18*O).attr("y1",y+33*O).attr("x2",n+18*O).attr("y2",y+33*O),g.append("line").attr("x1",n-18*O).attr("y1",y+60*O).attr("x2",n).attr("y2",y+45*O),g.append("line").attr("x1",n).attr("y1",y+45*O).attr("x2",n+16*O).attr("y2",y+60*O);const _=g.append("circle");_.attr("cx",e.x+e.width/2),_.attr("cy",y+10*O),_.attr("r",15*O),_.attr("width",e.width*O),_.attr("height",e.height*O);const x=g.node().getBBox();e.height=x.height;const b=P();b.x=e.x,b.y=y,b.fill="#eaeaea",b.width=e.width,b.height=e.height/O,b.class="actor",b.rx=3,b.ry=3;const I=s.get(e.name)??0;return G.has(d)?(g.style("stroke",p[I%p.length]),g.style("fill",h[I%p.length])):g.style("stroke",T),wt(a,m(e.description))(e.description,g,b.x,y+35*O-("neo"===c?10:0),b.width,b.height,{class:`actor ${U}`},a),e.height},"drawActorTypeActor"),pt=t(async function(t,e,a,r,s,i,n){const o=n??new Map([...i.db.getActors().values()].map((t,e)=>[t.name,e]));switch(e.type){case"actor":return await ht(t,e,a,r,o);case"participant":return await st(t,e,a,r,o);case"boundary":return await lt(t,e,a,r,o);case"control":return await ot(t,e,a,r,s,o);case"entity":return await ct(t,e,a,r,o);case"database":return await dt(t,e,a,r,o);case"collections":return await it(t,e,a,r,o);case"queue":return await nt(t,e,a,r,o)}},"drawActor"),Tt=t(function(t,e,a){const r=t.append("g");Ot(r,e),e.name&&wt(a)(e.name,r,e.x,e.y+a.boxTextMargin+(e.textMaxHeight||0)/2,e.width,0,{class:"text"},a),r.lower()},"drawBox"),Et=t(function(t){return t.append("g")},"anchorElement"),gt=t(function(t,e,a,r,s,i,n){const{theme:o,themeVariables:c}=r,{bkgColorArray:d,borderColorArray:l,mainBkg:h}=c,p=P(),T=e.anchored,E=e.actor;p.x=e.startx,p.y=e.starty,p.class="activation"+s%3,p.width=e.stopx-e.startx,p.height=a-e.starty;const g=X(T,p),u=(n??new Map([...i.db.getActors().values()].map((t,e)=>[t.name,e]))).get(E)??0;G.has(o)&&(g.style("stroke",l[u%l.length]),g.style("fill",d[u%l.length]??h))},"drawActivation"),ut=t(async function(e,a,r,s,i){const{boxMargin:n,boxTextMargin:o,labelBoxHeight:c,labelBoxWidth:d,messageFontFamily:l,messageFontSize:h,messageFontWeight:p}=s,T=e.append("g").attr("data-et","control-structure").attr("data-id","i"+i.id),E=t(function(t,e,a,r){return T.append("line").attr("x1",t).attr("y1",e).attr("x2",a).attr("y2",r).attr("class","loopLine")},"drawLoopLine");E(a.startx,a.starty,a.stopx,a.starty),E(a.stopx,a.starty,a.stopx,a.stopy),E(a.startx,a.stopy,a.stopx,a.stopy),E(a.startx,a.starty,a.startx,a.stopy),void 0!==a.sections&&a.sections.forEach(function(t){E(a.startx,t.y,a.stopx,t.y).style("stroke-dasharray","3, 3")});let g=w();g.text=r,g.x=a.startx,g.y=a.starty,g.fontFamily=l,g.fontSize=h,g.fontWeight=p,g.anchor="middle",g.valign="middle",g.tspan=!1,g.width=Math.max(d??0,50),g.height=c+("neo"===s.look?15:0)||20,g.textMargin=o,g.class="labelText",et(T,g),g=Lt(),g.text=a.title,g.x=a.startx+d/2+(a.stopx-a.startx)/2,g.y=a.starty+n+o,g.anchor="middle",g.valign="middle",g.textMargin=o,g.class="loopText",g.fontFamily=l,g.fontSize=h,g.fontWeight=p,g.wrap=!0;let u=m(g.text)?await Q(T,g,a):tt(T,g);if(void 0!==a.sectionTitles)for(const[t,e]of Object.entries(a.sectionTitles))if(e.message){g.text=e.message,g.x=a.startx+(a.stopx-a.startx)/2,g.y=a.sections[t].y+n+o,g.class="loopText",g.anchor="middle",g.valign="middle",g.tspan=!1,g.fontFamily=l,g.fontSize=h,g.fontWeight=p,g.wrap=a.wrap,m(g.text)?(a.starty=a.sections[t].y,await Q(T,g,a)):tt(T,g);let r=Math.round(u.map(t=>(t._groups||t)[0][0].getBBox().height).reduce((t,e)=>t+e));a.sections[t].height+=r-(n+o)}return a.height=Math.round(a.stopy-a.starty),T},"drawLoop"),Ot=t(function(t,e){N(t,e)},"drawBackgroundRect"),yt=t(function(t,e){t.append("defs").append("symbol").attr("id",e+"-database").attr("fill-rule","evenodd").attr("clip-rule","evenodd").append("path").attr("transform","scale(.5)").attr("d","M12.258.001l.256.004.255.005.253.008.251.01.249.012.247.015.246.016.242.019.241.02.239.023.236.024.233.027.231.028.229.031.225.032.223.034.22.036.217.038.214.04.211.041.208.043.205.045.201.046.198.048.194.05.191.051.187.053.183.054.18.056.175.057.172.059.168.06.163.061.16.063.155.064.15.066.074.033.073.033.071.034.07.034.069.035.068.035.067.035.066.035.064.036.064.036.062.036.06.036.06.037.058.037.058.037.055.038.055.038.053.038.052.038.051.039.05.039.048.039.047.039.045.04.044.04.043.04.041.04.04.041.039.041.037.041.036.041.034.041.033.042.032.042.03.042.029.042.027.042.026.043.024.043.023.043.021.043.02.043.018.044.017.043.015.044.013.044.012.044.011.045.009.044.007.045.006.045.004.045.002.045.001.045v17l-.001.045-.002.045-.004.045-.006.045-.007.045-.009.044-.011.045-.012.044-.013.044-.015.044-.017.043-.018.044-.02.043-.021.043-.023.043-.024.043-.026.043-.027.042-.029.042-.03.042-.032.042-.033.042-.034.041-.036.041-.037.041-.039.041-.04.041-.041.04-.043.04-.044.04-.045.04-.047.039-.048.039-.05.039-.051.039-.052.038-.053.038-.055.038-.055.038-.058.037-.058.037-.06.037-.06.036-.062.036-.064.036-.064.036-.066.035-.067.035-.068.035-.069.035-.07.034-.071.034-.073.033-.074.033-.15.066-.155.064-.16.063-.163.061-.168.06-.172.059-.175.057-.18.056-.183.054-.187.053-.191.051-.194.05-.198.048-.201.046-.205.045-.208.043-.211.041-.214.04-.217.038-.22.036-.223.034-.225.032-.229.031-.231.028-.233.027-.236.024-.239.023-.241.02-.242.019-.246.016-.247.015-.249.012-.251.01-.253.008-.255.005-.256.004-.258.001-.258-.001-.256-.004-.255-.005-.253-.008-.251-.01-.249-.012-.247-.015-.245-.016-.243-.019-.241-.02-.238-.023-.236-.024-.234-.027-.231-.028-.228-.031-.226-.032-.223-.034-.22-.036-.217-.038-.214-.04-.211-.041-.208-.043-.204-.045-.201-.046-.198-.048-.195-.05-.19-.051-.187-.053-.184-.054-.179-.056-.176-.057-.172-.059-.167-.06-.164-.061-.159-.063-.155-.064-.151-.066-.074-.033-.072-.033-.072-.034-.07-.034-.069-.035-.068-.035-.067-.035-.066-.035-.064-.036-.063-.036-.062-.036-.061-.036-.06-.037-.058-.037-.057-.037-.056-.038-.055-.038-.053-.038-.052-.038-.051-.039-.049-.039-.049-.039-.046-.039-.046-.04-.044-.04-.043-.04-.041-.04-.04-.041-.039-.041-.037-.041-.036-.041-.034-.041-.033-.042-.032-.042-.03-.042-.029-.042-.027-.042-.026-.043-.024-.043-.023-.043-.021-.043-.02-.043-.018-.044-.017-.043-.015-.044-.013-.044-.012-.044-.011-.045-.009-.044-.007-.045-.006-.045-.004-.045-.002-.045-.001-.045v-17l.001-.045.002-.045.004-.045.006-.045.007-.045.009-.044.011-.045.012-.044.013-.044.015-.044.017-.043.018-.044.02-.043.021-.043.023-.043.024-.043.026-.043.027-.042.029-.042.03-.042.032-.042.033-.042.034-.041.036-.041.037-.041.039-.041.04-.041.041-.04.043-.04.044-.04.046-.04.046-.039.049-.039.049-.039.051-.039.052-.038.053-.038.055-.038.056-.038.057-.037.058-.037.06-.037.061-.036.062-.036.063-.036.064-.036.066-.035.067-.035.068-.035.069-.035.07-.034.072-.034.072-.033.074-.033.151-.066.155-.064.159-.063.164-.061.167-.06.172-.059.176-.057.179-.056.184-.054.187-.053.19-.051.195-.05.198-.048.201-.046.204-.045.208-.043.211-.041.214-.04.217-.038.22-.036.223-.034.226-.032.228-.031.231-.028.234-.027.236-.024.238-.023.241-.02.243-.019.245-.016.247-.015.249-.012.251-.01.253-.008.255-.005.256-.004.258-.001.258.001zm-9.258 20.499v.01l.001.021.003.021.004.022.005.021.006.022.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.023.018.024.019.024.021.024.022.025.023.024.024.025.052.049.056.05.061.051.066.051.07.051.075.051.079.052.084.052.088.052.092.052.097.052.102.051.105.052.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.048.144.049.147.047.152.047.155.047.16.045.163.045.167.043.171.043.176.041.178.041.183.039.187.039.19.037.194.035.197.035.202.033.204.031.209.03.212.029.216.027.219.025.222.024.226.021.23.02.233.018.236.016.24.015.243.012.246.01.249.008.253.005.256.004.259.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.021.224-.024.22-.026.216-.027.212-.028.21-.031.205-.031.202-.034.198-.034.194-.036.191-.037.187-.039.183-.04.179-.04.175-.042.172-.043.168-.044.163-.045.16-.046.155-.046.152-.047.148-.048.143-.049.139-.049.136-.05.131-.05.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.053.083-.051.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.05.023-.024.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.023.01-.022.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.127l-.077.055-.08.053-.083.054-.085.053-.087.052-.09.052-.093.051-.095.05-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.045-.118.044-.12.043-.122.042-.124.042-.126.041-.128.04-.13.04-.132.038-.134.038-.135.037-.138.037-.139.035-.142.035-.143.034-.144.033-.147.032-.148.031-.15.03-.151.03-.153.029-.154.027-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.01-.179.008-.179.008-.181.006-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.006-.179-.008-.179-.008-.178-.01-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.027-.153-.029-.151-.03-.15-.03-.148-.031-.146-.032-.145-.033-.143-.034-.141-.035-.14-.035-.137-.037-.136-.037-.134-.038-.132-.038-.13-.04-.128-.04-.126-.041-.124-.042-.122-.042-.12-.044-.117-.043-.116-.045-.113-.045-.112-.046-.109-.047-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.05-.093-.052-.09-.051-.087-.052-.085-.053-.083-.054-.08-.054-.077-.054v4.127zm0-5.654v.011l.001.021.003.021.004.021.005.022.006.022.007.022.009.022.01.022.011.023.012.023.013.023.015.024.016.023.017.024.018.024.019.024.021.024.022.024.023.025.024.024.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.052.11.051.114.051.119.052.123.05.127.051.131.05.135.049.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.044.171.042.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.022.23.02.233.018.236.016.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.012.241-.015.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.048.139-.05.136-.049.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.051.051-.049.023-.025.023-.024.021-.025.02-.024.019-.024.018-.024.017-.024.015-.023.014-.023.013-.024.012-.022.01-.023.01-.023.008-.022.006-.022.006-.022.004-.021.004-.022.001-.021.001-.021v-4.139l-.077.054-.08.054-.083.054-.085.052-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.044-.118.044-.12.044-.122.042-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.035-.143.033-.144.033-.147.033-.148.031-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.009-.179.009-.179.007-.181.007-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.007-.179-.007-.179-.009-.178-.009-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.031-.146-.033-.145-.033-.143-.033-.141-.035-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.04-.126-.041-.124-.042-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.051-.093-.051-.09-.051-.087-.053-.085-.052-.083-.054-.08-.054-.077-.054v4.139zm0-5.666v.011l.001.02.003.022.004.021.005.022.006.021.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.024.018.023.019.024.021.025.022.024.023.024.024.025.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.051.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.043.171.043.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.021.23.02.233.018.236.017.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.013.241-.014.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.049.139-.049.136-.049.131-.051.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.049.023-.025.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.022.01-.023.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.153l-.077.054-.08.054-.083.053-.085.053-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.048-.105.048-.106.048-.109.046-.111.046-.114.046-.115.044-.118.044-.12.043-.122.043-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.034-.143.034-.144.033-.147.032-.148.032-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.024-.161.024-.162.023-.163.023-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.01-.178.01-.179.009-.179.007-.181.006-.182.006-.182.004-.184.003-.184.001-.185.001-.185-.001-.184-.001-.184-.003-.182-.004-.182-.006-.181-.006-.179-.007-.179-.009-.178-.01-.176-.01-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.023-.162-.023-.161-.024-.159-.024-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.032-.146-.032-.145-.033-.143-.034-.141-.034-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.041-.126-.041-.124-.041-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.048-.105-.048-.102-.048-.1-.05-.097-.049-.095-.051-.093-.051-.09-.052-.087-.052-.085-.053-.083-.053-.08-.054-.077-.054v4.153zm8.74-8.179l-.257.004-.254.005-.25.008-.247.011-.244.012-.241.014-.237.016-.233.018-.231.021-.226.022-.224.023-.22.026-.216.027-.212.028-.21.031-.205.032-.202.033-.198.034-.194.036-.191.038-.187.038-.183.04-.179.041-.175.042-.172.043-.168.043-.163.045-.16.046-.155.046-.152.048-.148.048-.143.048-.139.049-.136.05-.131.05-.126.051-.123.051-.118.051-.114.052-.11.052-.106.052-.101.052-.096.052-.092.052-.088.052-.083.052-.079.052-.074.051-.07.052-.065.051-.06.05-.056.05-.051.05-.023.025-.023.024-.021.024-.02.025-.019.024-.018.024-.017.023-.015.024-.014.023-.013.023-.012.023-.01.023-.01.022-.008.022-.006.023-.006.021-.004.022-.004.021-.001.021-.001.021.001.021.001.021.004.021.004.022.006.021.006.023.008.022.01.022.01.023.012.023.013.023.014.023.015.024.017.023.018.024.019.024.02.025.021.024.023.024.023.025.051.05.056.05.06.05.065.051.07.052.074.051.079.052.083.052.088.052.092.052.096.052.101.052.106.052.11.052.114.052.118.051.123.051.126.051.131.05.136.05.139.049.143.048.148.048.152.048.155.046.16.046.163.045.168.043.172.043.175.042.179.041.183.04.187.038.191.038.194.036.198.034.202.033.205.032.21.031.212.028.216.027.22.026.224.023.226.022.231.021.233.018.237.016.241.014.244.012.247.011.25.008.254.005.257.004.26.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.022.224-.023.22-.026.216-.027.212-.028.21-.031.205-.032.202-.033.198-.034.194-.036.191-.038.187-.038.183-.04.179-.041.175-.042.172-.043.168-.043.163-.045.16-.046.155-.046.152-.048.148-.048.143-.048.139-.049.136-.05.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.05.051-.05.023-.025.023-.024.021-.024.02-.025.019-.024.018-.024.017-.023.015-.024.014-.023.013-.023.012-.023.01-.023.01-.022.008-.022.006-.023.006-.021.004-.022.004-.021.001-.021.001-.021-.001-.021-.001-.021-.004-.021-.004-.022-.006-.021-.006-.023-.008-.022-.01-.022-.01-.023-.012-.023-.013-.023-.014-.023-.015-.024-.017-.023-.018-.024-.019-.024-.02-.025-.021-.024-.023-.024-.023-.025-.051-.05-.056-.05-.06-.05-.065-.051-.07-.052-.074-.051-.079-.052-.083-.052-.088-.052-.092-.052-.096-.052-.101-.052-.106-.052-.11-.052-.114-.052-.118-.051-.123-.051-.126-.051-.131-.05-.136-.05-.139-.049-.143-.048-.148-.048-.152-.048-.155-.046-.16-.046-.163-.045-.168-.043-.172-.043-.175-.042-.179-.041-.183-.04-.187-.038-.191-.038-.194-.036-.198-.034-.202-.033-.205-.032-.21-.031-.212-.028-.216-.027-.22-.026-.224-.023-.226-.022-.231-.021-.233-.018-.237-.016-.241-.014-.244-.012-.247-.011-.25-.008-.254-.005-.257-.004-.26-.001-.26.001z")},"insertDatabaseIcon"),_t=t(function(t,e){t.append("defs").append("symbol").attr("id",e+"-computer").attr("width","24").attr("height","24").append("path").attr("transform","scale(.5)").attr("d","M2 2v13h20v-13h-20zm18 11h-16v-9h16v9zm-10.228 6l.466-1h3.524l.467 1h-4.457zm14.228 3h-24l2-6h2.104l-1.33 4h18.45l-1.297-4h2.073l2 6zm-5-10h-14v-7h14v7z")},"insertComputerIcon"),mt=t(function(t,e){t.append("defs").append("symbol").attr("id",e+"-clock").attr("width","24").attr("height","24").append("path").attr("transform","scale(.5)").attr("d","M12 2c5.514 0 10 4.486 10 10s-4.486 10-10 10-10-4.486-10-10 4.486-10 10-10zm0-2c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm5.848 12.459c.202.038.202.333.001.372-1.907.361-6.045 1.111-6.547 1.111-.719 0-1.301-.582-1.301-1.301 0-.512.77-5.447 1.125-7.445.034-.192.312-.181.343.014l.985 6.238 5.394 1.011z")},"insertClockIcon"),xt=t(function(t,e){t.append("defs").append("marker").attr("id",e+"-arrowhead").attr("refX",7.9).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto-start-reverse").append("path").attr("d","M -1 0 L 10 5 L 0 10 z")},"insertArrowHead"),bt=t(function(t,e){t.append("defs").append("marker").attr("id",e+"-filled-head").attr("refX",15.5).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z")},"insertArrowFilledHead"),It=t(function(t,e){t.append("defs").append("marker").attr("id",e+"-sequencenumber").attr("refX",15).attr("refY",15).attr("markerWidth",60).attr("markerHeight",40).attr("orient","auto").append("circle").attr("cx",15).attr("cy",15).attr("r",6)},"insertSequenceNumber"),ft=t(function(t,e){t.append("defs").append("marker").attr("id",e+"-crosshead").attr("markerWidth",15).attr("markerHeight",8).attr("orient","auto").attr("refX",4).attr("refY",4.5).append("path").attr("fill","none").attr("stroke","#000000").style("stroke-dasharray","0, 0").attr("stroke-width","1pt").attr("d","M 1,2 L 6,7 M 6,2 L 1,7")},"insertArrowCrossHead"),Rt=t(function(t,e){const{theme:a}=e;t.append("defs").append("filter").attr("id","drop-shadow").attr("height","130%").attr("width","130%").append("feDropShadow").attr("dx","4").attr("dy","4").attr("stdDeviation",0).attr("flood-opacity","0.06").attr("flood-color",""+("redux"===a||"redux-color"===a?"#000000":"#FFFFFF"))},"insertDropShadow"),Lt=t(function(){return{x:0,y:0,fill:void 0,anchor:void 0,style:"#666",width:void 0,height:void 0,textMargin:0,rx:0,ry:0,tspan:!0,valign:void 0}},"getTextObj"),Nt=t(function(){return{x:0,y:0,fill:"#EDF2AE",stroke:"#666",width:100,anchor:"start",height:100,rx:0,ry:0}},"getNoteRect"),wt=function(){function e(t,e,a,r,s,n,o){i(e.append("text").attr("x",a+s/2).attr("y",r+n/2+5).style("text-anchor","middle").text(t),o)}function a(t,e,a,r,s,n,o,d){const{actorFontSize:l,actorFontFamily:h,actorFontWeight:p}=d,[T,E]=b(l),g=t.split(c.lineBreakRegex);for(let t=0;t<g.length;t++){const c=t*T-T*(g.length-1)/2,d=e.append("text").attr("x",a+s/2).attr("y",r).style("text-anchor","middle").style("font-size",E).style("font-weight",p).style("font-family",h);d.append("tspan").attr("x",a+s/2).attr("dy",c).text(g[t]),d.attr("y",r+n/2).attr("dominant-baseline","central").attr("alignment-baseline","central"),i(d,o)}}function r(t,e,r,s,n,o,c,d){const l=e.append("switch"),h=l.append("foreignObject").attr("x",r).attr("y",s).attr("width",n).attr("height",o).append("xhtml:div").style("display","table").style("height","100%").style("width","100%");h.append("div").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(t),a(t,l,r,s,n,o,c,d),i(h,c)}async function s(t,e,r,s,n,o,c,d){const l=await x(t,f()),h=e.append("switch"),p=h.append("foreignObject").attr("x",r+n/2-l.width/2).attr("y",s+o/2-l.height/2).attr("width",l.width).attr("height",l.height).append("xhtml:div").style("height","100%").style("width","100%");p.append("div").style("text-align","center").style("vertical-align","middle").html(await L(t,f())),a(t,h,r,s,n,o,c,d),i(p,c)}function i(t,e){for(const a in e)e.hasOwnProperty(a)&&t.attr(a,e[a])}return t(e,"byText"),t(a,"byTspan"),t(r,"byFo"),t(s,"byKatex"),t(i,"_setTextAttrs"),function(t,i=!1){return i?s:"fo"===t.textPlacement?r:"old"===t.textPlacement?e:a}}(),Pt=function(){function e(t,e,a,r,i,n,o){s(e.append("text").attr("x",a).attr("y",r).style("text-anchor","start").text(t),o)}function a(t,e,a,r,i,n,o,d){const{actorFontSize:l,actorFontFamily:h,actorFontWeight:p}=d,T=t.split(c.lineBreakRegex);for(let t=0;t<T.length;t++){const i=t*l-l*(T.length-1)/2,c=e.append("text").attr("x",a).attr("y",r).style("text-anchor","start").style("font-size",l).style("font-weight",p).style("font-family",h);c.append("tspan").attr("x",a).attr("dy",i).text(T[t]),c.attr("y",r+n/2).attr("dominant-baseline","central").attr("alignment-baseline","central"),s(c,o)}}function r(t,e,r,i,n,o,c,d){const l=e.append("switch"),h=l.append("foreignObject").attr("x",r).attr("y",i).attr("width",n).attr("height",o).append("xhtml:div").style("display","table").style("height","100%").style("width","100%");h.append("div").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(t),a(t,l,r,i,0,o,c,d),s(h,c)}function s(t,e){for(const a in e)e.hasOwnProperty(a)&&t.attr(a,e[a])}return t(e,"byText"),t(a,"byTspan"),t(r,"byFo"),t(s,"_setTextAttrs"),function(t){return"fo"===t.textPlacement?r:"old"===t.textPlacement?e:a}}(),St=t(function(t,e){t.append("defs").append("marker").attr("id",e+"-solidTopArrowHead").attr("refX",7.9).attr("refY",7.25).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto-start-reverse").append("path").attr("d","M 0 0 L 10 8 L 0 8 z")},"insertSolidTopArrowHead"),Dt=t(function(t,e){t.append("defs").append("marker").attr("id",e+"-solidBottomArrowHead").attr("refX",7.9).attr("refY",.75).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto-start-reverse").append("path").attr("d","M 0 0 L 10 0 L 0 8 z")},"insertSolidBottomArrowHead"),At=t(function(t,e){t.append("defs").append("marker").attr("id",e+"-stickTopArrowHead").attr("refX",7.5).attr("refY",7).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto-start-reverse").append("path").attr("d","M 0 0 L 7 7").attr("stroke","black").attr("stroke-width",1.5).attr("fill","none")},"insertStickTopArrowHead"),kt=t(function(t,e){t.append("defs").append("marker").attr("id",e+"-stickBottomArrowHead").attr("refX",7.5).attr("refY",0).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto-start-reverse").append("path").attr("d","M 0 7 L 7 0").attr("stroke","black").attr("stroke-width",1.5).attr("fill","none")},"insertStickBottomArrowHead"),Mt={drawRect:X,drawText:tt,drawLabel:et,drawActor:pt,drawBox:Tt,drawPopup:Z,anchorElement:Et,drawActivation:gt,drawLoop:ut,drawBackgroundRect:Ot,insertArrowHead:xt,insertArrowFilledHead:bt,insertSequenceNumber:It,insertArrowCrossHead:ft,insertDatabaseIcon:yt,insertComputerIcon:_t,insertClockIcon:mt,getTextObj:Lt,getNoteRect:Nt,fixLifeLineHeights:rt,sanitizeUrl:i.sanitizeUrl,insertDropShadow:Rt,insertSolidTopArrowHead:St,insertSolidBottomArrowHead:Dt,insertStickTopArrowHead:At,insertStickBottomArrowHead:kt},Ct={},vt={data:{startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},verticalPos:0,sequenceItems:[],activations:[],models:{getHeight:t(function(){return Math.max.apply(null,0===this.actors.length?[0]:this.actors.map(t=>t.height||0))+(0===this.loops.length?0:this.loops.map(t=>t.height||0).reduce((t,e)=>t+e))+(0===this.messages.length?0:this.messages.map(t=>t.height||0).reduce((t,e)=>t+e))+(0===this.notes.length?0:this.notes.map(t=>t.height||0).reduce((t,e)=>t+e))},"getHeight"),clear:t(function(){this.actors=[],this.boxes=[],this.loops=[],this.messages=[],this.notes=[]},"clear"),addBox:t(function(t){this.boxes.push(t)},"addBox"),addActor:t(function(t){this.actors.push(t)},"addActor"),addLoop:t(function(t){this.loops.push(t)},"addLoop"),addMessage:t(function(t){this.messages.push(t)},"addMessage"),addNote:t(function(t){this.notes.push(t)},"addNote"),lastActor:t(function(){return this.actors[this.actors.length-1]},"lastActor"),lastLoop:t(function(){return this.loops[this.loops.length-1]},"lastLoop"),lastMessage:t(function(){return this.messages[this.messages.length-1]},"lastMessage"),lastNote:t(function(){return this.notes[this.notes.length-1]},"lastNote"),actors:[],boxes:[],loops:[],messages:[],notes:[]},init:t(function(){this.sequenceItems=[],this.activations=[],this.models.clear(),this.data={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},this.verticalPos=0,jt(a())},"init"),updateVal:t(function(t,e,a,r){void 0===t[e]?t[e]=a:t[e]=r(a,t[e])},"updateVal"),updateBounds:t(function(e,a,r,s){const i=this;let n=0;function o(o){return t(function(t){n++;const c=i.sequenceItems.length-n+1;i.updateVal(t,"starty",a-c*Ct.boxMargin,Math.min),i.updateVal(t,"stopy",s+c*Ct.boxMargin,Math.max),i.updateVal(vt.data,"startx",e-c*Ct.boxMargin,Math.min),i.updateVal(vt.data,"stopx",r+c*Ct.boxMargin,Math.max),"activation"!==o&&(i.updateVal(t,"startx",e-c*Ct.boxMargin,Math.min),i.updateVal(t,"stopx",r+c*Ct.boxMargin,Math.max),i.updateVal(vt.data,"starty",a-c*Ct.boxMargin,Math.min),i.updateVal(vt.data,"stopy",s+c*Ct.boxMargin,Math.max))},"updateItemBounds")}t(o,"updateFn"),this.sequenceItems.forEach(o()),this.activations.forEach(o("activation"))},"updateBounds"),insert:t(function(t,e,a,r){const s=c.getMin(t,a),i=c.getMax(t,a),n=c.getMin(e,r),o=c.getMax(e,r);this.updateVal(vt.data,"startx",s,Math.min),this.updateVal(vt.data,"starty",n,Math.min),this.updateVal(vt.data,"stopx",i,Math.max),this.updateVal(vt.data,"stopy",o,Math.max),this.updateBounds(s,n,i,o)},"insert"),newActivation:t(function(t,e,a){const r=a.get(t.from),s=Ut(t.from).length||0,i=r.x+r.width/2+(s-1)*Ct.activationWidth/2;this.activations.push({startx:i,starty:this.verticalPos+2,stopx:i+Ct.activationWidth,stopy:void 0,actor:t.from,anchored:Mt.anchorElement(e)})},"newActivation"),endActivation:t(function(t){const e=this.activations.map(function(t){return t.actor}).lastIndexOf(t.from);return this.activations.splice(e,1)[0]},"endActivation"),createLoop:t(function(t={message:void 0,wrap:!1,width:void 0},e){return{startx:void 0,starty:this.verticalPos,stopx:void 0,stopy:void 0,title:t.message,wrap:t.wrap,width:t.width,height:0,fill:e}},"createLoop"),newLoop:t(function(t={message:void 0,wrap:!1,width:void 0},e){this.sequenceItems.push(this.createLoop(t,e))},"newLoop"),endLoop:t(function(){return this.sequenceItems.pop()},"endLoop"),isLoopOverlap:t(function(){return!!this.sequenceItems.length&&this.sequenceItems[this.sequenceItems.length-1].overlap},"isLoopOverlap"),addSectionToLoop:t(function(t){const e=this.sequenceItems.pop();e.sections=e.sections||[],e.sectionTitles=e.sectionTitles||[],e.sections.push({y:vt.getVerticalPos(),height:0}),e.sectionTitles.push(t),this.sequenceItems.push(e)},"addSectionToLoop"),saveVerticalPos:t(function(){this.isLoopOverlap()&&(this.savedVerticalPos=this.verticalPos)},"saveVerticalPos"),resetVerticalPos:t(function(){this.isLoopOverlap()&&(this.verticalPos=this.savedVerticalPos)},"resetVerticalPos"),bumpVerticalPos:t(function(t){this.verticalPos=this.verticalPos+t,this.data.stopy=c.getMax(this.data.stopy,this.verticalPos)},"bumpVerticalPos"),getVerticalPos:t(function(){return this.verticalPos},"getVerticalPos"),getBounds:t(function(){return{bounds:this.data,models:this.models}},"getBounds")},Bt=t(async function(t,e,a){vt.bumpVerticalPos(Ct.boxMargin),e.height=Ct.boxMargin,e.starty=vt.getVerticalPos();const r=P();r.x=e.startx,r.y=e.starty,r.width=e.width||Ct.width,r.class="note";const s=t.append("g");s.attr("data-et","note"),s.attr("data-id","i"+a);const i=Mt.drawRect(s,r),n=w();n.x=e.startx,n.y=e.starty,n.width=r.width,n.dy="1em",n.text=e.message,n.class="noteText",n.fontFamily=Ct.noteFontFamily,n.fontSize=Ct.noteFontSize,n.fontWeight=Ct.noteFontWeight,n.anchor=Ct.noteAlign,n.textMargin=Ct.noteMargin,n.valign="center";const o=m(n.text)?await Q(s,n):tt(s,n),c=Math.round(o.map(t=>(t._groups||t)[0][0].getBBox().height).reduce((t,e)=>t+e));i.attr("height",c+2*Ct.noteMargin),e.height+=c+2*Ct.noteMargin,vt.bumpVerticalPos(c+2*Ct.noteMargin),e.stopy=e.starty+c+2*Ct.noteMargin,e.stopx=e.startx+r.width,vt.insert(e.startx,e.starty,e.stopx,e.stopy),vt.models.addNote(e)},"drawNote"),Yt=t(function(e,a,r,s,i,n,o){const c=s.db.getActors(),d=c.get(a.from),l=c.get(a.to),h=r.sequenceVisible;let p=d.x+d.width/2,T=l.x+l.width/2;const E=p<=T,g=ie(a,s),u=e.append("g"),O=t((t,e)=>{const a=t?16.5:-16.5;return e?-a:a},"getCircleOffset"),y=t(t=>{u.append("circle").attr("cx",t).attr("cy",o).attr("r",5).attr("width",10).attr("height",10)},"drawCircle"),{CENTRAL_CONNECTION:_,CENTRAL_CONNECTION_REVERSE:m,CENTRAL_CONNECTION_DUAL:x}=s.db.LINETYPE;if(h)switch(a.centralConnection){case _:g&&(T+=O(E,!0));break;case m:g||(p+=O(E,!1));break;case x:g?T+=O(E,!0):p+=O(E,!1)}switch(a.centralConnection){case _:y(T);break;case m:y(p);break;case x:y(p),y(T)}},"drawCentralConnection"),$t=t(t=>({fontFamily:t.messageFontFamily,fontSize:t.messageFontSize,fontWeight:t.messageFontWeight}),"messageFont"),Vt=t(t=>({fontFamily:t.noteFontFamily,fontSize:t.noteFontSize,fontWeight:t.noteFontWeight}),"noteFont"),Wt=t(t=>({fontFamily:t.actorFontFamily,fontSize:t.actorFontSize,fontWeight:t.actorFontWeight}),"actorFont");async function Ft(t,e){vt.bumpVerticalPos(10);const{startx:r,stopx:s,message:i}=e,n=c.splitBreaks(i).length,o=m(i),d=o?await x(i,a()):_.calculateTextDimensions(i,$t(Ct));if(!o){const t=d.height/n;e.height+=t,vt.bumpVerticalPos(t)}let l,h=d.height-10;const p=d.width;if(r===s){l=vt.getVerticalPos()+h,Ct.rightAngles||(h+=Ct.boxMargin,l=vt.getVerticalPos()+h),h+=30;const t=c.getMax(p/2,Ct.width/2);vt.insert(r-t,vt.getVerticalPos()-10+h,s+t,vt.getVerticalPos()+30+h)}else h+=Ct.boxMargin,l=vt.getVerticalPos()+h,vt.insert(r,l-10,s,l);return vt.bumpVerticalPos(h),e.height+=h,e.stopy=e.starty+e.height,vt.insert(e.fromBounds,e.starty,e.toBounds,e.stopy),l}t(Ft,"boundMessage");var Kt=t(async function(t,e,a,r,s,i){const{startx:n,stopx:o,starty:d,message:l,type:h,sequenceIndex:p,sequenceVisible:T}=e,E=_.calculateTextDimensions(l,$t(Ct)),g=w();g.x=n,g.y=d+10,g.width=o-n,g.class="messageText",g.dy="1em",g.text=l,g.fontFamily=Ct.messageFontFamily,g.fontSize=Ct.messageFontSize,g.fontWeight=Ct.messageFontWeight,g.anchor=Ct.messageAlign,g.valign="center",g.textMargin=Ct.wrapPadding,g.tspan=!1,m(g.text)?await Q(t,g,{startx:n,stopx:o,starty:a}):tt(t,g);const u=E.width;let O;if(n===o){const i=T||Ct.showSequenceNumbers,d=ie(s,r),l=ne(s,r),h=n+(i&&(d||l)?10:0);O=Ct.rightAngles?t.append("path").attr("d",`M ${h},${a} H ${n+c.getMax(Ct.width/2,u/2)} V ${a+25} H ${n}`):t.append("path").attr("d","M "+h+","+a+" C "+(h+60)+","+(a-10)+" "+(n+60)+","+(a+30)+" "+n+","+(a+20)),re(s,r)&&Yt(t,s,e,r,n,o,a)}else O=t.append("line"),O.attr("x1",n),O.attr("y1",a),O.attr("x2",o),O.attr("y2",a),re(s,r)&&Yt(t,s,e,r,n,o,a);h===r.db.LINETYPE.DOTTED||h===r.db.LINETYPE.DOTTED_CROSS||h===r.db.LINETYPE.DOTTED_POINT||h===r.db.LINETYPE.DOTTED_OPEN||h===r.db.LINETYPE.BIDIRECTIONAL_DOTTED||h===r.db.LINETYPE.SOLID_TOP_DOTTED||h===r.db.LINETYPE.SOLID_BOTTOM_DOTTED||h===r.db.LINETYPE.STICK_TOP_DOTTED||h===r.db.LINETYPE.STICK_BOTTOM_DOTTED||h===r.db.LINETYPE.SOLID_ARROW_TOP_REVERSE_DOTTED||h===r.db.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE_DOTTED||h===r.db.LINETYPE.STICK_ARROW_TOP_REVERSE_DOTTED||h===r.db.LINETYPE.STICK_ARROW_BOTTOM_REVERSE_DOTTED?(O.style("stroke-dasharray","3, 3"),O.attr("class","messageLine1")):O.attr("class","messageLine0"),O.attr("data-et","message"),O.attr("data-id","i"+e.id),O.attr("data-from",e.from),O.attr("data-to",e.to);let y="";if(Ct.arrowMarkerAbsolute&&(y=R(!0)),O.attr("stroke-width",2),O.attr("stroke","none"),O.style("fill","none"),h!==r.db.LINETYPE.SOLID_TOP&&h!==r.db.LINETYPE.SOLID_TOP_DOTTED||O.attr("marker-end","url("+y+"#"+i+"-solidTopArrowHead)"),h!==r.db.LINETYPE.SOLID_BOTTOM&&h!==r.db.LINETYPE.SOLID_BOTTOM_DOTTED||O.attr("marker-end","url("+y+"#"+i+"-solidBottomArrowHead)"),h!==r.db.LINETYPE.STICK_TOP&&h!==r.db.LINETYPE.STICK_TOP_DOTTED||O.attr("marker-end","url("+y+"#"+i+"-stickTopArrowHead)"),h!==r.db.LINETYPE.STICK_BOTTOM&&h!==r.db.LINETYPE.STICK_BOTTOM_DOTTED||O.attr("marker-end","url("+y+"#"+i+"-stickBottomArrowHead)"),h!==r.db.LINETYPE.SOLID_ARROW_TOP_REVERSE&&h!==r.db.LINETYPE.SOLID_ARROW_TOP_REVERSE_DOTTED||O.attr("marker-start","url("+y+"#"+i+"-solidBottomArrowHead)"),h!==r.db.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE&&h!==r.db.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE_DOTTED||O.attr("marker-start","url("+y+"#"+i+"-solidTopArrowHead)"),h!==r.db.LINETYPE.STICK_ARROW_TOP_REVERSE&&h!==r.db.LINETYPE.STICK_ARROW_TOP_REVERSE_DOTTED||O.attr("marker-start","url("+y+"#"+i+"-stickBottomArrowHead)"),h!==r.db.LINETYPE.STICK_ARROW_BOTTOM_REVERSE&&h!==r.db.LINETYPE.STICK_ARROW_BOTTOM_REVERSE_DOTTED||O.attr("marker-start","url("+y+"#"+i+"-stickTopArrowHead)"),h!==r.db.LINETYPE.SOLID&&h!==r.db.LINETYPE.DOTTED||O.attr("marker-end","url("+y+"#"+i+"-arrowhead)"),h!==r.db.LINETYPE.BIDIRECTIONAL_SOLID&&h!==r.db.LINETYPE.BIDIRECTIONAL_DOTTED||(O.attr("marker-start","url("+y+"#"+i+"-arrowhead)"),O.attr("marker-end","url("+y+"#"+i+"-arrowhead)")),h!==r.db.LINETYPE.SOLID_POINT&&h!==r.db.LINETYPE.DOTTED_POINT||O.attr("marker-end","url("+y+"#"+i+"-filled-head)"),h!==r.db.LINETYPE.SOLID_CROSS&&h!==r.db.LINETYPE.DOTTED_CROSS||O.attr("marker-end","url("+y+"#"+i+"-crosshead)"),T||Ct.showSequenceNumbers){const c=h===r.db.LINETYPE.BIDIRECTIONAL_SOLID||h===r.db.LINETYPE.BIDIRECTIONAL_DOTTED,d=h===r.db.LINETYPE.SOLID_ARROW_TOP_REVERSE||h===r.db.LINETYPE.SOLID_ARROW_TOP_REVERSE_DOTTED||h===r.db.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE||h===r.db.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE_DOTTED||h===r.db.LINETYPE.STICK_ARROW_TOP_REVERSE||h===r.db.LINETYPE.STICK_ARROW_TOP_REVERSE_DOTTED||h===r.db.LINETYPE.STICK_ARROW_BOTTOM_REVERSE||h===r.db.LINETYPE.STICK_ARROW_BOTTOM_REVERSE_DOTTED,l=6,T=re(s,r);let E=n,g=o;c?(n<o?E=n+2*l:(E=n-l+(T?-5:0),E+=s?.centralConnection===r.db.LINETYPE.CENTRAL_CONNECTION_DUAL||s?.centralConnection===r.db.LINETYPE.CENTRAL_CONNECTION_REVERSE?-7.5:0),O.attr("x1",E)):d?(o>n?g=o-2*l:(g=o-l,E+=s?.centralConnection===r.db.LINETYPE.CENTRAL_CONNECTION_DUAL||s?.centralConnection===r.db.LINETYPE.CENTRAL_CONNECTION_REVERSE?-7.5:0),g+=T?15:0,O.attr("x2",g),O.attr("x1",E)):O.attr("x1",n+l);let u=0;const _=n<=o;u=n===o?e.fromBounds+1:d?_?e.toBounds-1:e.fromBounds+1:_?e.fromBounds+1:e.toBounds-1,t.append("line").attr("x1",u).attr("y1",a).attr("x2",u).attr("y2",a).attr("stroke-width",0).attr("marker-start","url("+y+"#"+i+"-sequencenumber)"),t.append("text").attr("x",u).attr("y",a+4).attr("font-family","sans-serif").attr("font-size","12px").attr("text-anchor","middle").attr("class","sequenceNumber").text(p)}},"drawMessage"),qt=t(function(t,e,a,r,s,i,n){let o,d=0,l=0,h=0;for(const t of r){const r=e.get(t),i=r.box;o&&o!=i&&(n||vt.models.addBox(o),l+=Ct.boxMargin+o.margin),i&&i!=o&&(n||(i.x=d+l,i.y=s),l+=i.margin),r.width=c.getMax(r.width||Ct.width,Ct.width),r.height=c.getMax(r.height||Ct.height,Ct.height),r.margin=r.margin||Ct.actorMargin,h=c.getMax(h,r.height),a.get(r.name)&&(l+=r.width/2),r.x=d+l,r.starty=vt.getVerticalPos(),vt.insert(r.x,s,r.x+r.width,r.height),d+=r.width+l,r.box&&(r.box.width=d+i.margin-r.box.x),l=r.margin,o=r.box,vt.models.addActor(r)}o&&!n&&vt.models.addBox(o),vt.bumpVerticalPos(h)},"addActorRenderingData"),Ht=t(async function(t,e,a,r,s,i,n){if(r){let r=0;vt.bumpVerticalPos(2*Ct.boxMargin);for(const o of a){const a=e.get(o);a.stopy||(a.stopy=vt.getVerticalPos());const d=await Mt.drawActor(t,a,Ct,!0,s,i,n);r=c.getMax(r,d)}vt.bumpVerticalPos(r+Ct.boxMargin)}else for(const r of a){const a=e.get(r);await Mt.drawActor(t,a,Ct,!1,s,i,n)}},"drawActors"),zt=t(function(t,e,a,r){let s=0,i=0;for(const n of a){const a=e.get(n),o=te(a),c=Mt.drawPopup(t,a,o,Ct,Ct.forceMenus,r);c.height>s&&(s=c.height),c.width+a.x>i&&(i=c.width+a.x)}return{maxHeight:s,maxWidth:i}},"drawActorsPopup"),jt=t(function(t){o(Ct,t),t.fontFamily&&(Ct.actorFontFamily=Ct.noteFontFamily=Ct.messageFontFamily=t.fontFamily),t.fontSize&&(Ct.actorFontSize=Ct.noteFontSize=Ct.messageFontSize=t.fontSize),t.fontWeight&&(Ct.actorFontWeight=Ct.noteFontWeight=Ct.messageFontWeight=t.fontWeight)},"setConf"),Ut=t(function(t){return vt.activations.filter(function(e){return e.actor===t})},"actorActivations"),Gt=t(function(t,e){const a=e.get(t),r=Ut(t);return[r.reduce(function(t,e){return c.getMin(t,e.startx)},a.x+a.width/2-1),r.reduce(function(t,e){return c.getMax(t,e.stopx)},a.x+a.width/2+1)]},"activationBounds");function Xt(t,e,a,r,i){vt.bumpVerticalPos(a);let n=r;if(e.id&&e.message&&t[e.id]){const a=t[e.id].width,i=$t(Ct);e.message=_.wrapLabel(`[${e.message}]`,a-2*Ct.wrapPadding,i),e.width=a,e.wrap=!0;const o=_.calculateTextDimensions(e.message,i),d=c.getMax(o.height,Ct.labelBoxHeight);n=r+d,s.debug(`${d} - ${e.message}`)}i(e),vt.bumpVerticalPos(n)}function Zt(e,a,r,s,i,n,o){function c(t,r){t.x<i.get(e.from).x?(vt.insert(a.stopx-r,a.starty,a.startx,a.stopy+t.height/2+Ct.noteMargin),a.stopx=a.stopx+r):(vt.insert(a.startx,a.starty,a.stopx+r,a.stopy+t.height/2+Ct.noteMargin),a.stopx=a.stopx-r)}function d(t,r){t.x<i.get(e.to).x?(vt.insert(a.startx-r,a.starty,a.stopx,a.stopy+t.height/2+Ct.noteMargin),a.startx=a.startx+r):(vt.insert(a.stopx,a.starty,a.startx+r,a.stopy+t.height/2+Ct.noteMargin),a.startx=a.startx-r)}t(c,"receiverAdjustment"),t(d,"senderAdjustment");const l=[$,V,F,W];if(n.get(e.to)==s){const t=i.get(e.to);c(t,l.includes(t.type)?21:t.width/2+3),t.starty=r-t.height/2,vt.bumpVerticalPos(t.height/2)}else if(o.get(e.from)==s){const t=i.get(e.from);if(Ct.mirrorActors){d(t,l.includes(t.type)?18:t.width/2)}t.stopy=r-t.height/2,vt.bumpVerticalPos(t.height/2)}else if(o.get(e.to)==s){const t=i.get(e.to);if(Ct.mirrorActors){c(t,l.includes(t.type)?21:t.width/2+3)}t.stopy=r-t.height/2,vt.bumpVerticalPos(t.height/2)}}t(Xt,"adjustLoopHeightForWrap"),t(Zt,"adjustCreatedDestroyedData");var Jt=t(async function(e,i,o,c){const{securityLevel:d,sequence:l,look:h}=a();let p;Ct=l,"sandbox"===d&&(p=r("#i"+i));const T=r("sandbox"===d?p.nodes()[0].contentDocument.body:"body"),E="sandbox"===d?p.nodes()[0].contentDocument:document;vt.init(),s.debug(c.db);const g="sandbox"===d?T.select(`[id="${i}"]`):r(`[id="${i}"]`),u=c.db.getActors(),O=c.db.getCreatedActors(),y=c.db.getDestroyedActors(),_=c.db.getBoxes();let m=c.db.getActorKeys();const x=c.db.getMessages(),b=c.db.getDiagramTitle(),I=c.db.hasAtLeastOneBox(),f=c.db.hasAtLeastOneBoxWithTitle(),R=await Qt(u,x,c);if(Ct.height=await ee(u,R,_),Mt.insertComputerIcon(g,i),Mt.insertDatabaseIcon(g,i),Mt.insertClockIcon(g,i),I&&(vt.bumpVerticalPos(Ct.boxMargin),f&&vt.bumpVerticalPos(_[0].textMaxHeight)),!0===Ct.hideUnusedParticipants){const t=new Set;x.forEach(e=>{t.add(e.from),t.add(e.to)}),m=m.filter(e=>t.has(e))}const L=new Map(m.map((t,e)=>[u.get(t)?.name??t,e]));qt(g,u,O,m,0,x,!1);const N=await ce(x,u,R,c);function w(t,e){const a=vt.endActivation(t);a.starty+18>e&&(a.starty=e-6,e+=12),Mt.drawActivation(g,a,e,Ct,Ut(t.from).length,c,L),vt.insert(a.startx,e-10,a.stopx,e)}Mt.insertArrowHead(g,i),Mt.insertArrowCrossHead(g,i),Mt.insertArrowFilledHead(g,i),Mt.insertSequenceNumber(g,i),Mt.insertSolidTopArrowHead(g,i),Mt.insertSolidBottomArrowHead(g,i),Mt.insertStickTopArrowHead(g,i),Mt.insertStickBottomArrowHead(g,i),"neo"===h&&Mt.insertDropShadow(g,Ct),t(w,"activeEnd");let P=1,S=1;const D=[],A=[];let k=0;for(const t of x){let e,a,r;switch(t.type){case c.db.LINETYPE.NOTE:vt.resetVerticalPos(),a=t.noteModel,await Bt(g,a,t.id);break;case c.db.LINETYPE.ACTIVE_START:case c.db.LINETYPE.CENTRAL_CONNECTION:case c.db.LINETYPE.CENTRAL_CONNECTION_REVERSE:vt.newActivation(t,g,u);break;case c.db.LINETYPE.ACTIVE_END:w(t,vt.getVerticalPos());break;case c.db.LINETYPE.LOOP_START:Xt(N,t,Ct.boxMargin,Ct.boxMargin+Ct.boxTextMargin,t=>vt.newLoop(t));break;case c.db.LINETYPE.LOOP_END:e=vt.endLoop(),await Mt.drawLoop(g,e,"loop",Ct,t),vt.bumpVerticalPos(e.stopy-vt.getVerticalPos()),vt.models.addLoop(e);break;case c.db.LINETYPE.RECT_START:Xt(N,t,Ct.boxMargin,Ct.boxMargin,t=>vt.newLoop(void 0,t.message));break;case c.db.LINETYPE.RECT_END:e=vt.endLoop(),A.push(e),vt.models.addLoop(e),vt.bumpVerticalPos(e.stopy-vt.getVerticalPos());break;case c.db.LINETYPE.OPT_START:Xt(N,t,Ct.boxMargin,Ct.boxMargin+Ct.boxTextMargin,t=>vt.newLoop(t));break;case c.db.LINETYPE.OPT_END:e=vt.endLoop(),await Mt.drawLoop(g,e,"opt",Ct,t),vt.bumpVerticalPos(e.stopy-vt.getVerticalPos()),vt.models.addLoop(e);break;case c.db.LINETYPE.ALT_START:Xt(N,t,Ct.boxMargin,Ct.boxMargin+Ct.boxTextMargin,t=>vt.newLoop(t));break;case c.db.LINETYPE.ALT_ELSE:Xt(N,t,Ct.boxMargin+Ct.boxTextMargin,Ct.boxMargin,t=>vt.addSectionToLoop(t));break;case c.db.LINETYPE.ALT_END:e=vt.endLoop(),await Mt.drawLoop(g,e,"alt",Ct,t),vt.bumpVerticalPos(e.stopy-vt.getVerticalPos()),vt.models.addLoop(e);break;case c.db.LINETYPE.PAR_START:case c.db.LINETYPE.PAR_OVER_START:Xt(N,t,Ct.boxMargin,Ct.boxMargin+Ct.boxTextMargin,t=>vt.newLoop(t)),vt.saveVerticalPos();break;case c.db.LINETYPE.PAR_AND:Xt(N,t,Ct.boxMargin+Ct.boxTextMargin,Ct.boxMargin,t=>vt.addSectionToLoop(t));break;case c.db.LINETYPE.PAR_END:e=vt.endLoop(),await Mt.drawLoop(g,e,"par",Ct,t),vt.bumpVerticalPos(e.stopy-vt.getVerticalPos()),vt.models.addLoop(e);break;case c.db.LINETYPE.AUTONUMBER:P=t.message.start||P,S=t.message.step||S,t.message.visible?c.db.enableSequenceNumbers():c.db.disableSequenceNumbers();break;case c.db.LINETYPE.CRITICAL_START:Xt(N,t,Ct.boxMargin,Ct.boxMargin+Ct.boxTextMargin,t=>vt.newLoop(t));break;case c.db.LINETYPE.CRITICAL_OPTION:Xt(N,t,Ct.boxMargin+Ct.boxTextMargin,Ct.boxMargin,t=>vt.addSectionToLoop(t));break;case c.db.LINETYPE.CRITICAL_END:e=vt.endLoop(),await Mt.drawLoop(g,e,"critical",Ct,t),vt.bumpVerticalPos(e.stopy-vt.getVerticalPos()),vt.models.addLoop(e);break;case c.db.LINETYPE.BREAK_START:Xt(N,t,Ct.boxMargin,Ct.boxMargin+Ct.boxTextMargin,t=>vt.newLoop(t));break;case c.db.LINETYPE.BREAK_END:e=vt.endLoop(),await Mt.drawLoop(g,e,"break",Ct,t),vt.bumpVerticalPos(e.stopy-vt.getVerticalPos()),vt.models.addLoop(e);break;default:try{r=t.msgModel,r.starty=vt.getVerticalPos(),r.sequenceIndex=P,r.sequenceVisible=c.db.showSequenceNumbers(),r.id=t.id,r.from=t.from,r.to=t.to;const e=await Ft(0,r);Zt(t,r,e,k,u,O,y),D.push({messageModel:r,lineStartY:e,msg:t}),vt.models.addMessage(r)}catch(t){s.error("error while drawing message",t)}}[c.db.LINETYPE.SOLID_OPEN,c.db.LINETYPE.DOTTED_OPEN,c.db.LINETYPE.SOLID,c.db.LINETYPE.SOLID_TOP,c.db.LINETYPE.SOLID_BOTTOM,c.db.LINETYPE.STICK_TOP,c.db.LINETYPE.STICK_BOTTOM,c.db.LINETYPE.SOLID_TOP_DOTTED,c.db.LINETYPE.SOLID_BOTTOM_DOTTED,c.db.LINETYPE.STICK_TOP_DOTTED,c.db.LINETYPE.STICK_BOTTOM_DOTTED,c.db.LINETYPE.SOLID_ARROW_TOP_REVERSE,c.db.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE,c.db.LINETYPE.STICK_ARROW_TOP_REVERSE,c.db.LINETYPE.STICK_ARROW_BOTTOM_REVERSE,c.db.LINETYPE.SOLID_ARROW_TOP_REVERSE_DOTTED,c.db.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE_DOTTED,c.db.LINETYPE.STICK_ARROW_TOP_REVERSE_DOTTED,c.db.LINETYPE.STICK_ARROW_BOTTOM_REVERSE_DOTTED,c.db.LINETYPE.DOTTED,c.db.LINETYPE.SOLID_CROSS,c.db.LINETYPE.DOTTED_CROSS,c.db.LINETYPE.SOLID_POINT,c.db.LINETYPE.DOTTED_POINT,c.db.LINETYPE.BIDIRECTIONAL_SOLID,c.db.LINETYPE.BIDIRECTIONAL_DOTTED].includes(t.type)&&(P+=S),k++}s.debug("createdActors",O),s.debug("destroyedActors",y),await Ht(g,u,m,!1,i,c,L);for(const t of D)await Kt(g,t.messageModel,t.lineStartY,c,t.msg,i);Ct.mirrorActors&&await Ht(g,u,m,!0,i,c,L),A.forEach(t=>Mt.drawBackgroundRect(g,t)),rt(g,u,m,Ct);for(const t of vt.models.boxes){t.height=vt.getVerticalPos()-t.y,vt.insert(t.x,t.y,t.x+t.width,t.height);const e=2*Ct.boxMargin;t.startx=t.x-e,t.starty=t.y-.25*e,t.stopx=t.startx+t.width+2*e,t.stopy=t.starty+t.height+.75*e,t.stroke="rgb(0,0,0, 0.5)",Mt.drawBox(g,t,Ct)}I&&vt.bumpVerticalPos(Ct.boxMargin);const M=zt(g,u,m,E),{bounds:C}=vt.getBounds();void 0===C.startx&&(C.startx=0),void 0===C.starty&&(C.starty=0),void 0===C.stopx&&(C.stopx=0),void 0===C.stopy&&(C.stopy=0);let v=C.stopy-C.starty;v<M.maxHeight&&(v=M.maxHeight);let B=v+2*Ct.diagramMarginY;Ct.mirrorActors&&(B=B-Ct.boxMargin+Ct.bottomMarginAdj);let Y=C.stopx-C.startx;Y<M.maxWidth&&(Y=M.maxWidth);const $=Y+2*Ct.diagramMarginX;b&&g.append("text").text(b).attr("x",(C.stopx-C.startx)/2-2*Ct.diagramMarginX).attr("y",-25),n(g,B,$,Ct.useMaxWidth);const V=b?40:0,W=u.size&&"neo"===h?30:0;g.attr("viewBox",C.startx-Ct.diagramMarginX+" -"+(Ct.diagramMarginY+V)+" "+$+" "+(B+V+W)),s.debug("models:",vt.models)},"draw");async function Qt(t,e,r){const i={};for(const s of e)if(t.get(s.to)&&t.get(s.from)){const e=t.get(s.to);if(s.placement===r.db.PLACEMENT.LEFTOF&&!e.prevActor)continue;if(s.placement===r.db.PLACEMENT.RIGHTOF&&!e.nextActor)continue;const n=void 0!==s.placement,o=!n,d=n?Vt(Ct):$t(Ct),l=s.wrap?_.wrapLabel(s.message,Ct.width-2*Ct.wrapPadding,d):s.message,h=(m(l)?await x(s.message,a()):_.calculateTextDimensions(l,d)).width+2*Ct.wrapPadding;o&&s.from===e.nextActor?i[s.to]=c.getMax(i[s.to]||0,h):o&&s.from===e.prevActor?i[s.from]=c.getMax(i[s.from]||0,h):o&&s.from===s.to?(i[s.from]=c.getMax(i[s.from]||0,h/2),i[s.to]=c.getMax(i[s.to]||0,h/2)):s.placement===r.db.PLACEMENT.RIGHTOF?i[s.from]=c.getMax(i[s.from]||0,h):s.placement===r.db.PLACEMENT.LEFTOF?i[e.prevActor]=c.getMax(i[e.prevActor]||0,h):s.placement===r.db.PLACEMENT.OVER&&(e.prevActor&&(i[e.prevActor]=c.getMax(i[e.prevActor]||0,h/2)),e.nextActor&&(i[s.from]=c.getMax(i[s.from]||0,h/2)))}return s.debug("maxMessageWidthPerActor:",i),i}t(Qt,"getMaxMessageWidthPerActor");var te=t(function(t){let e=0;const a=Wt(Ct);for(const r in t.links){const t=_.calculateTextDimensions(r,a).width+2*Ct.wrapPadding+2*Ct.boxMargin;e<t&&(e=t)}return e},"getRequiredPopupWidth");async function ee(t,e,r){let s=0;for(const e of t.keys()){const r=t.get(e);r.wrap&&(r.description=_.wrapLabel(r.description,Ct.width-2*Ct.wrapPadding,Wt(Ct)));const i=m(r.description)?await x(r.description,a()):_.calculateTextDimensions(r.description,Wt(Ct));r.width=r.wrap?Ct.width:c.getMax(Ct.width,i.width+2*Ct.wrapPadding),r.height=r.wrap?c.getMax(i.height,Ct.height):Ct.height,s=c.getMax(s,r.height)}for(const a in e){const r=t.get(a);if(!r)continue;const s=t.get(r.nextActor);if(!s){const t=e[a]+Ct.actorMargin-r.width/2;r.margin=c.getMax(t,Ct.actorMargin);continue}const i=e[a]+Ct.actorMargin-r.width/2-s.width/2;r.margin=c.getMax(i,Ct.actorMargin)}let i=0;return r.forEach(e=>{const a=$t(Ct);let r=e.actorKeys.reduce((e,a)=>e+(t.get(a).width+(t.get(a).margin||0)),0);r+=8*Ct.boxMargin,r-=2*Ct.boxTextMargin,e.wrap&&(e.name=_.wrapLabel(e.name,r-2*Ct.wrapPadding,a));const s=_.calculateTextDimensions(e.name,a);i=c.getMax(s.height,i);const n=c.getMax(r,s.width+2*Ct.wrapPadding);if(e.margin=Ct.boxTextMargin,r<n){const t=(n-r)/2;e.margin+=t}}),r.forEach(t=>t.textMaxHeight=i),c.getMax(s,Ct.height)}t(ee,"calculateActorMargins");var ae=t(async function(t,e,r){const i=e.get(t.from),n=e.get(t.to),o=i.x,d=n.x,l=t.wrap&&t.message;let h=m(t.message)?await x(t.message,a()):_.calculateTextDimensions(l?_.wrapLabel(t.message,Ct.width,Vt(Ct)):t.message,Vt(Ct));const p={width:l?Ct.width:c.getMax(Ct.width,h.width+2*Ct.noteMargin),height:0,startx:i.x,stopx:0,starty:0,stopy:0,message:t.message};return t.placement===r.db.PLACEMENT.RIGHTOF?(p.width=l?c.getMax(Ct.width,h.width):c.getMax(i.width/2+n.width/2,h.width+2*Ct.noteMargin),p.startx=o+(i.width+Ct.actorMargin)/2):t.placement===r.db.PLACEMENT.LEFTOF?(p.width=l?c.getMax(Ct.width,h.width+2*Ct.noteMargin):c.getMax(i.width/2+n.width/2,h.width+2*Ct.noteMargin),p.startx=o-p.width+(i.width-Ct.actorMargin)/2):t.to===t.from?(h=_.calculateTextDimensions(l?_.wrapLabel(t.message,c.getMax(Ct.width,i.width),Vt(Ct)):t.message,Vt(Ct)),p.width=l?c.getMax(Ct.width,i.width):c.getMax(i.width,Ct.width,h.width+2*Ct.noteMargin),p.startx=o+(i.width-p.width)/2):(p.width=Math.abs(o+i.width/2-(d+n.width/2))+Ct.actorMargin,p.startx=o<d?o+i.width/2-Ct.actorMargin/2:d+n.width/2-Ct.actorMargin/2),l&&(p.message=_.wrapLabel(t.message,p.width-2*Ct.wrapPadding,Vt(Ct))),s.debug(`NM:[${p.startx},${p.stopx},${p.starty},${p.stopy}:${p.width},${p.height}=${t.message}]`),p},"buildNoteModel"),re=t(function(t,e){const{CENTRAL_CONNECTION:a,CENTRAL_CONNECTION_REVERSE:r,CENTRAL_CONNECTION_DUAL:s}=e.db.LINETYPE;return[a,r,s].includes(t.centralConnection)},"hasCentralConnection"),se=t(function(t,e,a){const{CENTRAL_CONNECTION_REVERSE:r,CENTRAL_CONNECTION_DUAL:s,BIDIRECTIONAL_SOLID:i,BIDIRECTIONAL_DOTTED:n}=e.db.LINETYPE;let o=0;return t.centralConnection!==r&&t.centralConnection!==s||(o+=4),t.centralConnection!==r&&t.centralConnection!==s||t.type!==i&&t.type!==n||(o+=a?0:-6),o},"calculateCentralConnectionOffset"),ie=t(function(t,e){const{SOLID_ARROW_TOP_REVERSE:a,SOLID_ARROW_TOP_REVERSE_DOTTED:r,SOLID_ARROW_BOTTOM_REVERSE:s,SOLID_ARROW_BOTTOM_REVERSE_DOTTED:i,STICK_ARROW_TOP_REVERSE:n,STICK_ARROW_TOP_REVERSE_DOTTED:o,STICK_ARROW_BOTTOM_REVERSE:c,STICK_ARROW_BOTTOM_REVERSE_DOTTED:d}=e.db.LINETYPE;return[a,r,s,i,n,o,c,d].includes(t.type)},"isReverseArrowType"),ne=t(function(t,e){const{BIDIRECTIONAL_SOLID:a,BIDIRECTIONAL_DOTTED:r}=e.db.LINETYPE;return[a,r].includes(t.type)},"isBidirectionalArrowType"),oe=t(function(e,r,s){const{look:i}=a();if(![s.db.LINETYPE.SOLID_OPEN,s.db.LINETYPE.DOTTED_OPEN,s.db.LINETYPE.SOLID,s.db.LINETYPE.SOLID_TOP,s.db.LINETYPE.SOLID_BOTTOM,s.db.LINETYPE.STICK_TOP,s.db.LINETYPE.STICK_BOTTOM,s.db.LINETYPE.SOLID_TOP_DOTTED,s.db.LINETYPE.SOLID_BOTTOM_DOTTED,s.db.LINETYPE.STICK_TOP_DOTTED,s.db.LINETYPE.STICK_BOTTOM_DOTTED,s.db.LINETYPE.SOLID_ARROW_TOP_REVERSE,s.db.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE,s.db.LINETYPE.STICK_ARROW_TOP_REVERSE,s.db.LINETYPE.STICK_ARROW_BOTTOM_REVERSE,s.db.LINETYPE.SOLID_ARROW_TOP_REVERSE_DOTTED,s.db.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE_DOTTED,s.db.LINETYPE.STICK_ARROW_TOP_REVERSE_DOTTED,s.db.LINETYPE.STICK_ARROW_BOTTOM_REVERSE_DOTTED,s.db.LINETYPE.DOTTED,s.db.LINETYPE.SOLID_CROSS,s.db.LINETYPE.DOTTED_CROSS,s.db.LINETYPE.SOLID_POINT,s.db.LINETYPE.DOTTED_POINT,s.db.LINETYPE.BIDIRECTIONAL_SOLID,s.db.LINETYPE.BIDIRECTIONAL_DOTTED].includes(e.type))return{};const[n,o]=Gt(e.from,r),[d,l]=Gt(e.to,r),h=n<=d;let p=h?o:n,T=h?d:l;if("neo"===i){const t=3;e.type!==s.db.LINETYPE.SOLID_OPEN&&(T+=h?-t:t),e.type!==s.db.LINETYPE.BIDIRECTIONAL_SOLID&&e.type!==s.db.LINETYPE.BIDIRECTIONAL_DOTTED||(p+=h?t:-t)}p+=se(e,s,h);const E=Math.abs(d-l)>2,g=t(t=>h?-t:t,"adjustValue");e.from===e.to?T=p:(e.activate&&!E&&(T+=g(Ct.activationWidth/2-1)),[s.db.LINETYPE.SOLID_OPEN,s.db.LINETYPE.DOTTED_OPEN,s.db.LINETYPE.STICK_TOP,s.db.LINETYPE.STICK_BOTTOM,s.db.LINETYPE.STICK_TOP_DOTTED,s.db.LINETYPE.STICK_BOTTOM_DOTTED,s.db.LINETYPE.SOLID_ARROW_TOP_REVERSE_DOTTED,s.db.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE_DOTTED,s.db.LINETYPE.STICK_ARROW_TOP_REVERSE,s.db.LINETYPE.STICK_ARROW_BOTTOM_REVERSE,s.db.LINETYPE.STICK_ARROW_TOP_REVERSE_DOTTED,s.db.LINETYPE.STICK_ARROW_BOTTOM_REVERSE_DOTTED,s.db.LINETYPE.SOLID_ARROW_TOP_REVERSE,s.db.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE].includes(e.type)||(T+=g(3)),[s.db.LINETYPE.BIDIRECTIONAL_SOLID,s.db.LINETYPE.BIDIRECTIONAL_DOTTED,s.db.LINETYPE.SOLID_ARROW_TOP_REVERSE_DOTTED,s.db.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE_DOTTED,s.db.LINETYPE.SOLID_ARROW_TOP_REVERSE,s.db.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE].includes(e.type)&&(p-=g(3)));const u=[n,o,d,l],O=Math.abs(p-T);e.wrap&&e.message&&(e.message=_.wrapLabel(e.message,c.getMax(O+2*Ct.wrapPadding,Ct.width),$t(Ct)));const y=_.calculateTextDimensions(e.message,$t(Ct));return{width:c.getMax(e.wrap?0:y.width+2*Ct.wrapPadding,O+2*Ct.wrapPadding,Ct.width),height:0,startx:p,stopx:T,starty:0,stopy:0,message:e.message,type:e.type,wrap:e.wrap,fromBounds:Math.min.apply(null,u),toBounds:Math.max.apply(null,u)}},"buildMessageModel"),ce=t(async function(t,e,a,r){const i={},n=[];let o,d,l;for(const a of t){switch(a.type){case r.db.LINETYPE.LOOP_START:case r.db.LINETYPE.ALT_START:case r.db.LINETYPE.OPT_START:case r.db.LINETYPE.PAR_START:case r.db.LINETYPE.PAR_OVER_START:case r.db.LINETYPE.CRITICAL_START:case r.db.LINETYPE.BREAK_START:n.push({id:a.id,msg:a.message,from:Number.MAX_SAFE_INTEGER,to:Number.MIN_SAFE_INTEGER,width:0});break;case r.db.LINETYPE.ALT_ELSE:case r.db.LINETYPE.PAR_AND:case r.db.LINETYPE.CRITICAL_OPTION:a.message&&(o=n.pop(),i[o.id]=o,i[a.id]=o,n.push(o));break;case r.db.LINETYPE.LOOP_END:case r.db.LINETYPE.ALT_END:case r.db.LINETYPE.OPT_END:case r.db.LINETYPE.PAR_END:case r.db.LINETYPE.CRITICAL_END:case r.db.LINETYPE.BREAK_END:o=n.pop(),i[o.id]=o;break;case r.db.LINETYPE.ACTIVE_START:{const t=e.get(a.from?a.from:a.to.actor),r=Ut(a.from?a.from:a.to.actor).length,s=t.x+t.width/2+(r-1)*Ct.activationWidth/2,i={startx:s,stopx:s+Ct.activationWidth,actor:a.from,enabled:!0};vt.activations.push(i)}break;case r.db.LINETYPE.ACTIVE_END:{const t=vt.activations.map(t=>t.actor).lastIndexOf(a.from);vt.activations.splice(t,1).splice(0,1)}}void 0!==a.placement?(d=await ae(a,e,r),a.noteModel=d,n.forEach(t=>{o=t,o.from=c.getMin(o.from,d.startx),o.to=c.getMax(o.to,d.startx+d.width),o.width=c.getMax(o.width,Math.abs(o.from-o.to))-Ct.labelBoxWidth})):(l=oe(a,e,r),a.msgModel=l,l.startx&&l.stopx&&n.length>0&&n.forEach(t=>{if(o=t,l.startx===l.stopx){const t=e.get(a.from),r=e.get(a.to);o.from=c.getMin(t.x-l.width/2,t.x-t.width/2,o.from),o.to=c.getMax(r.x+l.width/2,r.x+t.width/2,o.to),o.width=c.getMax(o.width,Math.abs(o.to-o.from))-Ct.labelBoxWidth}else o.from=c.getMin(l.startx,o.from),o.to=c.getMax(l.stopx,o.to),o.width=c.getMax(o.width,l.width)-Ct.labelBoxWidth}))}return vt.activations=[],s.debug("Loop type widths:",i),i},"calculateLoopBounds"),de={bounds:vt,drawActors:Ht,drawActorsPopup:zt,setConf:jt,draw:Jt},le={parser:C,get db(){return new K},renderer:de,styles:q,init:t(t=>{t.sequence||(t.sequence={}),t.wrap&&(t.sequence.wrap=t.wrap,e({sequence:{wrap:t.wrap}}))},"init")};export{le as diagram};
@@ -1 +0,0 @@
1
- import{s as t,a as e,S as a}from"./chunk-OYMX7WX6-C7RHHgRc.js";import{_ as i,c as r,d as n,l as s,e as d,k as o,Q as p,u as g}from"./mermaid.core-C89m9NSM.js";import{G as c}from"./graph-DcE5swO6.js";import{l as h}from"./layout-LXPx6gJv.js";import{l,k as x}from"./string-LeDn2fkG.js";import"./chunk-55IACEB6-Csh8qgjO.js";import"./chunk-EDXVE4YY-DCPe-NtF.js";import"./index-TeLD_8PN.js";import"react/jsx-runtime";import"react";import"./enums.js";import"./commons-D9Mh1s5L.js";import"./settings-BONQQsPx.js";import"./constants.js";import"./LoaderLayer-CXFK-kAz.js";import"./websocket-C4G3j9Rm.js";import"./index-o2jBRnrQ.js";import"motion/react";import"react-dom";import"swr";import"@ably/spaces";import"@ably/spaces/react";import"ably";import"ably/liveobjects";import"ably/react";import"@ably/spaces/dist/mjs/react";import"./purify.es-DBOWJxv3.js";import"./memoize-CPUrcYQl.js";import"./_baseIteratee-DJNkOVK7.js";import"./isSymbol-CATEdeai.js";import"./_baseUniq-BJKKUJ6e.js";import"./isUndefined-DgmxjSXK.js";import"./min-Dc9VrJ6M.js";import"./map-BvlAjF4J.js";import"./toNumber-Bh_HTlSx.js";var m,u=i(t=>t.append("circle").attr("class","start-state").attr("r",r().state.sizeUnit).attr("cx",r().state.padding+r().state.sizeUnit).attr("cy",r().state.padding+r().state.sizeUnit),"drawStartState"),f=i(t=>t.append("line").style("stroke","grey").style("stroke-dasharray","3").attr("x1",r().state.textHeight).attr("class","divider").attr("x2",2*r().state.textHeight).attr("y1",0).attr("y2",0),"drawDivider"),y=i((t,e)=>{const a=t.append("text").attr("x",2*r().state.padding).attr("y",r().state.textHeight+2*r().state.padding).attr("font-size",r().state.fontSize).attr("class","state-title").text(e.id),i=a.node().getBBox();return t.insert("rect",":first-child").attr("x",r().state.padding).attr("y",r().state.padding).attr("width",i.width+2*r().state.padding).attr("height",i.height+2*r().state.padding).attr("rx",r().state.radius),a},"drawSimpleState"),b=i((t,e)=>{const a=i(function(t,e,a){const i=t.append("tspan").attr("x",2*r().state.padding).text(e);a||i.attr("dy",r().state.textHeight)},"addTspan"),n=t.append("text").attr("x",2*r().state.padding).attr("y",r().state.textHeight+1.3*r().state.padding).attr("font-size",r().state.fontSize).attr("class","state-title").text(e.descriptions[0]).node().getBBox(),s=n.height,d=t.append("text").attr("x",r().state.padding).attr("y",s+.4*r().state.padding+r().state.dividerMargin+r().state.textHeight).attr("class","state-description");let o=!0,p=!0;e.descriptions.forEach(function(t){o||(a(d,t,p),p=!1),o=!1});const g=t.append("line").attr("x1",r().state.padding).attr("y1",r().state.padding+s+r().state.dividerMargin/2).attr("y2",r().state.padding+s+r().state.dividerMargin/2).attr("class","descr-divider"),c=d.node().getBBox(),h=Math.max(c.width,n.width);return g.attr("x2",h+3*r().state.padding),t.insert("rect",":first-child").attr("x",r().state.padding).attr("y",r().state.padding).attr("width",h+2*r().state.padding).attr("height",c.height+s+2*r().state.padding).attr("rx",r().state.radius),t},"drawDescrState"),w=i((t,e,a)=>{const i=r().state.padding,n=2*r().state.padding,s=t.node().getBBox(),d=s.width,o=s.x,p=t.append("text").attr("x",0).attr("y",r().state.titleShift).attr("font-size",r().state.fontSize).attr("class","state-title").text(e.id),g=p.node().getBBox().width+n;let c,h=Math.max(g,d);h===d&&(h+=n);const l=t.node().getBBox();e.doc,c=o-i,g>d&&(c=(d-h)/2+i),Math.abs(o-l.x)<i&&g>d&&(c=o-(g-d)/2);const x=1-r().state.textHeight;return t.insert("rect",":first-child").attr("x",c).attr("y",x).attr("class",a?"alt-composit":"composit").attr("width",h).attr("height",l.height+r().state.textHeight+r().state.titleShift+1).attr("rx","0"),p.attr("x",c+i),g<=d&&p.attr("x",o+(h-n)/2-g/2+i),t.insert("rect",":first-child").attr("x",c).attr("y",r().state.titleShift-r().state.textHeight-r().state.padding).attr("width",h).attr("height",3*r().state.textHeight).attr("rx",r().state.radius),t.insert("rect",":first-child").attr("x",c).attr("y",r().state.titleShift-r().state.textHeight-r().state.padding).attr("width",h).attr("height",l.height+3+2*r().state.textHeight).attr("rx",r().state.radius),t},"addTitleAndBox"),B=i(t=>(t.append("circle").attr("class","end-state-outer").attr("r",r().state.sizeUnit+r().state.miniPadding).attr("cx",r().state.padding+r().state.sizeUnit+r().state.miniPadding).attr("cy",r().state.padding+r().state.sizeUnit+r().state.miniPadding),t.append("circle").attr("class","end-state-inner").attr("r",r().state.sizeUnit).attr("cx",r().state.padding+r().state.sizeUnit+2).attr("cy",r().state.padding+r().state.sizeUnit+2)),"drawEndState"),k=i((t,e)=>{let a=r().state.forkWidth,i=r().state.forkHeight;if(e.parentId){let t=a;a=i,i=t}return t.append("rect").style("stroke","black").style("fill","black").attr("width",a).attr("height",i).attr("x",r().state.padding).attr("y",r().state.padding)},"drawForkJoinState"),j=i((t,e,a,i)=>{let n=0;const s=i.append("text");s.style("text-anchor","start"),s.attr("class","noteText");let d=t.replace(/\r\n/g,"<br/>");d=d.replace(/\n/g,"<br/>");const p=d.split(o.lineBreakRegex);let g=1.25*r().state.noteMargin;for(const t of p){const i=t.trim();if(i.length>0){const t=s.append("tspan");if(t.text(i),0===g){g+=t.node().getBBox().height}n+=g,t.attr("x",e+r().state.noteMargin),t.attr("y",a+n+1.25*r().state.noteMargin)}}return{textWidth:s.node().getBBox().width,textHeight:n}},"_drawLongText"),S=i((t,e)=>{e.attr("class","state-note");const a=e.append("rect").attr("x",0).attr("y",r().state.padding),i=e.append("g"),{textWidth:n,textHeight:s}=j(t,0,0,i);return a.attr("height",s+2*r().state.noteMargin),a.attr("width",n+2*r().state.noteMargin),a},"drawNote"),E=i(function(t,e){const a=e.id,i={id:a,label:e.id,width:0,height:0},n=t.append("g").attr("id",a).attr("class","stateGroup");"start"===e.type&&u(n),"end"===e.type&&B(n),"fork"!==e.type&&"join"!==e.type||k(n,e),"note"===e.type&&S(e.note.text,n),"divider"===e.type&&f(n),"default"===e.type&&0===e.descriptions.length&&y(n,e),"default"===e.type&&e.descriptions.length>0&&b(n,e);const s=n.node().getBBox();return i.width=s.width+2*r().state.padding,i.height=s.height+2*r().state.padding,i},"drawState"),N=0,M=i(function(t,e,n){const d=i(function(t){switch(t){case a.relationType.AGGREGATION:return"aggregation";case a.relationType.EXTENSION:return"extension";case a.relationType.COMPOSITION:return"composition";case a.relationType.DEPENDENCY:return"dependency"}},"getRelationType");e.points=e.points.filter(t=>!Number.isNaN(t.y));const c=e.points,h=l().x(function(t){return t.x}).y(function(t){return t.y}).curve(x),m=t.append("path").attr("d",h(c)).attr("id","edge"+N).attr("class","transition");let u="";if(r().state.arrowMarkerAbsolute&&(u=p(!0)),m.attr("marker-end","url("+u+"#"+d(a.relationType.DEPENDENCY)+"End)"),void 0!==n.title){const a=t.append("g").attr("class","stateLabel"),{x:i,y:d}=g.calcLabelPosition(e.points),p=o.getRows(n.title);let c=0;const h=[];let l=0,x=0;for(let t=0;t<=p.length;t++){const e=a.append("text").attr("text-anchor","middle").text(p[t]).attr("x",i).attr("y",d+c),r=e.node().getBBox();if(l=Math.max(l,r.width),x=Math.min(x,r.x),s.info(r.x,i,d+c),0===c){const t=e.node().getBBox();c=t.height,s.info("Title height",c,d)}h.push(e)}let m=c*p.length;if(p.length>1){const t=(p.length-1)*c*.5;h.forEach((e,a)=>e.attr("y",d+a*c-t)),m=c*p.length}const u=a.node().getBBox();a.insert("rect",":first-child").attr("class","box").attr("x",i-l/2-r().state.padding/2).attr("y",d-m/2-r().state.padding/2-3.5).attr("width",l+r().state.padding).attr("height",m+r().state.padding),s.info(u)}N++},"drawEdge"),v={},z=i(function(){},"setConf"),H=i(function(t){t.append("defs").append("marker").attr("id","dependencyEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z")},"insertMarkers"),T=i(function(t,e,a,i){m=r().state;const o=r().securityLevel;let p;"sandbox"===o&&(p=n("#i"+e));const g=n("sandbox"===o?p.nodes()[0].contentDocument.body:"body"),c="sandbox"===o?p.nodes()[0].contentDocument:document;s.debug("Rendering diagram "+t);const h=g.select(`[id='${e}']`);H(h);const l=i.db.getRootDoc(),x=h.append("g").attr("id",e+"-root");D(l,x,void 0,!1,g,c,i);const u=m.padding,f=h.node().getBBox(),y=f.width+2*u,b=f.height+2*u;d(h,b,1.75*y,m.useMaxWidth),h.attr("viewBox",`${f.x-m.padding} ${f.y-m.padding} `+y+" "+b)},"draw"),L=i(t=>t?t.length*m.fontSizeFactor:1,"getLabelWidth"),D=i((t,e,a,i,r,n,d)=>{const p=new c({compound:!0,multigraph:!0});let g,l=!0;for(g=0;g<t.length;g++)if("relation"===t[g].stmt){l=!1;break}a?p.setGraph({rankdir:"LR",multigraph:!0,compound:!0,ranker:"tight-tree",ranksep:l?1:m.edgeLengthFactor,nodeSep:l?1:50,isMultiGraph:!0}):p.setGraph({rankdir:"TB",multigraph:!0,compound:!0,ranksep:l?1:m.edgeLengthFactor,nodeSep:l?1:50,ranker:"tight-tree",isMultiGraph:!0}),p.setDefaultEdgeLabel(function(){return{}});const x=d.db.getStates(),u=d.db.getRelations(),f=Object.keys(x);for(const t of f){const s=x[t];let o;if(a&&(s.parentId=a),s.doc){let t=e.append("g").attr("id",s.id).attr("class","stateGroup");o=D(s.doc,t,s.id,!i,r,n,d);{t=w(t,s,i);let e=t.node().getBBox();o.width=e.width,o.height=e.height+m.padding/2,v[s.id]={y:m.compositTitleSize}}}else o=E(e,s,p);if(s.note){const t={descriptions:[],id:s.id+"-note",note:s.note,type:"note"},a=E(e,t,p);"left of"===s.note.position?(p.setNode(o.id+"-note",a),p.setNode(o.id,o)):(p.setNode(o.id,o),p.setNode(o.id+"-note",a)),p.setParent(o.id,o.id+"-group"),p.setParent(o.id+"-note",o.id+"-group")}else p.setNode(o.id,o)}s.debug("Count=",p.nodeCount(),p);let y=0;u.forEach(function(t){y++,s.debug("Setting edge",t),p.setEdge(t.id1,t.id2,{relation:t,width:L(t.title),height:m.labelHeight*o.getRows(t.title).length,labelpos:"c"},"id"+y)}),h(p),s.debug("Graph after layout",p.nodes());const b=e.node();p.nodes().forEach(function(t){if(void 0!==t&&void 0!==p.node(t)){s.warn("Node "+t+": "+JSON.stringify(p.node(t))),r.select("#"+b.id+" #"+t).attr("transform","translate("+(p.node(t).x-p.node(t).width/2)+","+(p.node(t).y+(v[t]?v[t].y:0)-p.node(t).height/2)+" )"),r.select("#"+b.id+" #"+t).attr("data-x-shift",p.node(t).x-p.node(t).width/2);n.querySelectorAll("#"+b.id+" #"+t+" .divider").forEach(t=>{const e=t.parentElement;let a=0,i=0;e&&(e.parentElement&&(a=e.parentElement.getBBox().width),i=parseInt(e.getAttribute("data-x-shift"),10),Number.isNaN(i)&&(i=0)),t.setAttribute("x1",0-i+8),t.setAttribute("x2",a-i-8)})}else s.debug("No Node "+t+": "+JSON.stringify(p.node(t)))});let B=b.getBBox();p.edges().forEach(function(t){void 0!==t&&void 0!==p.edge(t)&&(s.debug("Edge "+t.v+" -> "+t.w+": "+JSON.stringify(p.edge(t))),M(e,p.edge(t),p.edge(t).relation))}),B=b.getBBox();const k={id:a||"root",label:a||"root",width:0,height:0};return k.width=B.width+2*m.padding,k.height=B.height+2*m.padding,s.debug("Doc rendered",k,p),k},"renderDoc"),A={setConf:z,draw:T},U={parser:e,get db(){return new a(1)},renderer:A,styles:t,init:i(t=>{t.state||(t.state={}),t.state.arrowMarkerAbsolute=t.arrowMarkerAbsolute},"init")};export{U as diagram};
@@ -1 +0,0 @@
1
- import{s as r,b as t,a as s,S as o}from"./chunk-OYMX7WX6-C7RHHgRc.js";import{_ as e}from"./mermaid.core-C89m9NSM.js";import"./chunk-55IACEB6-Csh8qgjO.js";import"./chunk-EDXVE4YY-DCPe-NtF.js";import"./index-TeLD_8PN.js";import"react/jsx-runtime";import"react";import"./enums.js";import"./commons-D9Mh1s5L.js";import"./settings-BONQQsPx.js";import"./constants.js";import"./LoaderLayer-CXFK-kAz.js";import"./websocket-C4G3j9Rm.js";import"./index-o2jBRnrQ.js";import"motion/react";import"react-dom";import"swr";import"@ably/spaces";import"@ably/spaces/react";import"ably";import"ably/liveobjects";import"ably/react";import"@ably/spaces/dist/mjs/react";import"./purify.es-DBOWJxv3.js";import"./string-LeDn2fkG.js";import"./memoize-CPUrcYQl.js";var i={parser:s,get db(){return new o(2)},renderer:t,styles:r,init:e(r=>{r.state||(r.state={}),r.state.arrowMarkerAbsolute=r.arrowMarkerAbsolute},"init")};export{i as diagram};
@@ -1 +0,0 @@
1
- function t(t){return function(){return t}}const i=Math.abs,n=Math.atan2,e=Math.cos,s=Math.max,h=Math.min,o=Math.sin,r=Math.sqrt,a=1e-12,_=Math.PI,c=_/2,u=2*_;function l(t){return t>1?0:t<-1?_:Math.acos(t)}function f(t){return t>=1?c:t<=-1?-c:Math.asin(t)}const p=Math.PI,x=2*p,y=1e-6,d=x-y;function g(t){this._+=t[0];for(let i=1,n=t.length;i<n;++i)this._+=arguments[i]+t[i]}class b{constructor(t){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=null==t?g:function(t){let i=Math.floor(t);if(!(i>=0))throw new Error(`invalid digits: ${t}`);if(i>15)return g;const n=10**i;return function(t){this._+=t[0];for(let i=1,e=t.length;i<e;++i)this._+=Math.round(arguments[i]*n)/n+t[i]}}(t)}moveTo(t,i){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+i}`}closePath(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(t,i){this._append`L${this._x1=+t},${this._y1=+i}`}quadraticCurveTo(t,i,n,e){this._append`Q${+t},${+i},${this._x1=+n},${this._y1=+e}`}bezierCurveTo(t,i,n,e,s,h){this._append`C${+t},${+i},${+n},${+e},${this._x1=+s},${this._y1=+h}`}arcTo(t,i,n,e,s){if(t=+t,i=+i,n=+n,e=+e,(s=+s)<0)throw new Error(`negative radius: ${s}`);let h=this._x1,o=this._y1,r=n-t,a=e-i,_=h-t,c=o-i,u=_*_+c*c;if(null===this._x1)this._append`M${this._x1=t},${this._y1=i}`;else if(u>y)if(Math.abs(c*r-a*_)>y&&s){let l=n-h,f=e-o,x=r*r+a*a,d=l*l+f*f,g=Math.sqrt(x),b=Math.sqrt(u),$=s*Math.tan((p-Math.acos((x+u-d)/(2*g*b)))/2),w=$/b,m=$/g;Math.abs(w-1)>y&&this._append`L${t+w*_},${i+w*c}`,this._append`A${s},${s},0,0,${+(c*l>_*f)},${this._x1=t+m*r},${this._y1=i+m*a}`}else this._append`L${this._x1=t},${this._y1=i}`;else;}arc(t,i,n,e,s,h){if(t=+t,i=+i,h=!!h,(n=+n)<0)throw new Error(`negative radius: ${n}`);let o=n*Math.cos(e),r=n*Math.sin(e),a=t+o,_=i+r,c=1^h,u=h?e-s:s-e;null===this._x1?this._append`M${a},${_}`:(Math.abs(this._x1-a)>y||Math.abs(this._y1-_)>y)&&this._append`L${a},${_}`,n&&(u<0&&(u=u%x+x),u>d?this._append`A${n},${n},0,1,${c},${t-o},${i-r}A${n},${n},0,1,${c},${this._x1=a},${this._y1=_}`:u>y&&this._append`A${n},${n},0,${+(u>=p)},${c},${this._x1=t+n*Math.cos(s)},${this._y1=i+n*Math.sin(s)}`)}rect(t,i,n,e){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+i}h${n=+n}v${+e}h${-n}Z`}toString(){return this._}}function $(t){let i=3;return t.digits=function(n){if(!arguments.length)return i;if(null==n)i=null;else{const t=Math.floor(n);if(!(t>=0))throw new RangeError(`invalid digits: ${n}`);i=t}return t},()=>new b(i)}function w(t){return"object"==typeof t&&"length"in t?t:Array.from(t)}function m(t){this._context=t}function v(t){return new m(t)}function N(t){return t[0]}function k(t){return t[1]}function M(i,n){var e=t(!0),s=null,h=v,o=null,r=$(a);function a(t){var a,_,c,u=(t=w(t)).length,l=!1;for(null==s&&(o=h(c=r())),a=0;a<=u;++a)!(a<u&&e(_=t[a],a,t))===l&&((l=!l)?o.lineStart():o.lineEnd()),l&&o.point(+i(_,a,t),+n(_,a,t));if(c)return o=null,c+""||null}return i="function"==typeof i?i:void 0===i?N:t(i),n="function"==typeof n?n:void 0===n?k:t(n),a.x=function(n){return arguments.length?(i="function"==typeof n?n:t(+n),a):i},a.y=function(i){return arguments.length?(n="function"==typeof i?i:t(+i),a):n},a.defined=function(i){return arguments.length?(e="function"==typeof i?i:t(!!i),a):e},a.curve=function(t){return arguments.length?(h=t,null!=s&&(o=h(s)),a):h},a.context=function(t){return arguments.length?(null==t?s=o=null:o=h(s=t),a):s},a}m.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,i){switch(t=+t,i=+i,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,i):this._context.moveTo(t,i);break;case 1:this._point=2;default:this._context.lineTo(t,i)}}};class T{constructor(t,i){this._context=t,this._x=i}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line}point(t,i){switch(t=+t,i=+i,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,i):this._context.moveTo(t,i);break;case 1:this._point=2;default:this._x?this._context.bezierCurveTo(this._x0=(this._x0+t)/2,this._y0,this._x0,i,t,i):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+i)/2,t,this._y0,t,i)}this._x0=t,this._y0=i}}function E(t){return new T(t,!0)}function S(t){return new T(t,!1)}function P(){}function q(t,i,n){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+i)/6,(t._y0+4*t._y1+n)/6)}function C(t){this._context=t}function R(t){return new C(t)}function z(t){this._context=t}function H(t){return new z(t)}function A(t){this._context=t}function j(t){return new A(t)}function I(t){this._context=t}function L(t){return new I(t)}function O(t){return t<0?-1:1}function Q(t,i,n){var e=t._x1-t._x0,s=i-t._x1,h=(t._y1-t._y0)/(e||s<0&&-0),o=(n-t._y1)/(s||e<0&&-0),r=(h*s+o*e)/(e+s);return(O(h)+O(o))*Math.min(Math.abs(h),Math.abs(o),.5*Math.abs(r))||0}function Z(t,i){var n=t._x1-t._x0;return n?(3*(t._y1-t._y0)/n-i)/2:i}function B(t,i,n){var e=t._x0,s=t._y0,h=t._x1,o=t._y1,r=(h-e)/3;t._context.bezierCurveTo(e+r,s+r*i,h-r,o-r*n,h,o)}function D(t){this._context=t}function F(t){this._context=new G(t)}function G(t){this._context=t}function J(t){return new D(t)}function K(t){return new F(t)}function U(t){this._context=t}function V(t){var i,n,e=t.length-1,s=new Array(e),h=new Array(e),o=new Array(e);for(s[0]=0,h[0]=2,o[0]=t[0]+2*t[1],i=1;i<e-1;++i)s[i]=1,h[i]=4,o[i]=4*t[i]+2*t[i+1];for(s[e-1]=2,h[e-1]=7,o[e-1]=8*t[e-1]+t[e],i=1;i<e;++i)n=s[i]/h[i-1],h[i]-=n,o[i]-=n*o[i-1];for(s[e-1]=o[e-1]/h[e-1],i=e-2;i>=0;--i)s[i]=(o[i]-s[i+1])/h[i];for(h[e-1]=(t[e]+s[e-1])/2,i=0;i<e-1;++i)h[i]=2*t[i+1]-s[i+1];return[s,h]}function W(t){return new U(t)}function X(t,i){this._context=t,this._t=i}function Y(t){return new X(t,.5)}function tt(t){return new X(t,0)}function it(t){return new X(t,1)}function nt(t,i,n){t.prototype=i.prototype=n,n.constructor=t}function et(t,i){var n=Object.create(t.prototype);for(var e in i)n[e]=i[e];return n}function st(){}C.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:q(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,i){switch(t=+t,i=+i,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,i):this._context.moveTo(t,i);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:q(this,t,i)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=i}},z.prototype={areaStart:P,areaEnd:P,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(t,i){switch(t=+t,i=+i,this._point){case 0:this._point=1,this._x2=t,this._y2=i;break;case 1:this._point=2,this._x3=t,this._y3=i;break;case 2:this._point=3,this._x4=t,this._y4=i,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+i)/6);break;default:q(this,t,i)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=i}},A.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,i){switch(t=+t,i=+i,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+t)/6,e=(this._y0+4*this._y1+i)/6;this._line?this._context.lineTo(n,e):this._context.moveTo(n,e);break;case 3:this._point=4;default:q(this,t,i)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=i}},I.prototype={areaStart:P,areaEnd:P,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(t,i){t=+t,i=+i,this._point?this._context.lineTo(t,i):(this._point=1,this._context.moveTo(t,i))}},D.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:B(this,this._t0,Z(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,i){var n=NaN;if(i=+i,(t=+t)!==this._x1||i!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,i):this._context.moveTo(t,i);break;case 1:this._point=2;break;case 2:this._point=3,B(this,Z(this,n=Q(this,t,i)),n);break;default:B(this,this._t0,n=Q(this,t,i))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=i,this._t0=n}}},(F.prototype=Object.create(D.prototype)).point=function(t,i){D.prototype.point.call(this,i,t)},G.prototype={moveTo:function(t,i){this._context.moveTo(i,t)},closePath:function(){this._context.closePath()},lineTo:function(t,i){this._context.lineTo(i,t)},bezierCurveTo:function(t,i,n,e,s,h){this._context.bezierCurveTo(i,t,e,n,h,s)}},U.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var t=this._x,i=this._y,n=t.length;if(n)if(this._line?this._context.lineTo(t[0],i[0]):this._context.moveTo(t[0],i[0]),2===n)this._context.lineTo(t[1],i[1]);else for(var e=V(t),s=V(i),h=0,o=1;o<n;++h,++o)this._context.bezierCurveTo(e[0][h],s[0][h],e[1][h],s[1][h],t[o],i[o]);(this._line||0!==this._line&&1===n)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(t,i){this._x.push(+t),this._y.push(+i)}},X.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,i){switch(t=+t,i=+i,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,i):this._context.moveTo(t,i);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,i),this._context.lineTo(t,i);else{var n=this._x*(1-this._t)+t*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,i)}}this._x=t,this._y=i}};var ht=.7,ot=1/ht,rt="\\s*([+-]?\\d+)\\s*",at="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",_t="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",ct=/^#([0-9a-f]{3,8})$/,ut=new RegExp(`^rgb\\(${rt},${rt},${rt}\\)$`),lt=new RegExp(`^rgb\\(${_t},${_t},${_t}\\)$`),ft=new RegExp(`^rgba\\(${rt},${rt},${rt},${at}\\)$`),pt=new RegExp(`^rgba\\(${_t},${_t},${_t},${at}\\)$`),xt=new RegExp(`^hsl\\(${at},${_t},${_t}\\)$`),yt=new RegExp(`^hsla\\(${at},${_t},${_t},${at}\\)$`),dt={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function gt(){return this.rgb().formatHex()}function bt(){return this.rgb().formatRgb()}function $t(t){var i,n;return t=(t+"").trim().toLowerCase(),(i=ct.exec(t))?(n=i[1].length,i=parseInt(i[1],16),6===n?wt(i):3===n?new kt(i>>8&15|i>>4&240,i>>4&15|240&i,(15&i)<<4|15&i,1):8===n?mt(i>>24&255,i>>16&255,i>>8&255,(255&i)/255):4===n?mt(i>>12&15|i>>8&240,i>>8&15|i>>4&240,i>>4&15|240&i,((15&i)<<4|15&i)/255):null):(i=ut.exec(t))?new kt(i[1],i[2],i[3],1):(i=lt.exec(t))?new kt(255*i[1]/100,255*i[2]/100,255*i[3]/100,1):(i=ft.exec(t))?mt(i[1],i[2],i[3],i[4]):(i=pt.exec(t))?mt(255*i[1]/100,255*i[2]/100,255*i[3]/100,i[4]):(i=xt.exec(t))?qt(i[1],i[2]/100,i[3]/100,1):(i=yt.exec(t))?qt(i[1],i[2]/100,i[3]/100,i[4]):dt.hasOwnProperty(t)?wt(dt[t]):"transparent"===t?new kt(NaN,NaN,NaN,0):null}function wt(t){return new kt(t>>16&255,t>>8&255,255&t,1)}function mt(t,i,n,e){return e<=0&&(t=i=n=NaN),new kt(t,i,n,e)}function vt(t){return t instanceof st||(t=$t(t)),t?new kt((t=t.rgb()).r,t.g,t.b,t.opacity):new kt}function Nt(t,i,n,e){return 1===arguments.length?vt(t):new kt(t,i,n,null==e?1:e)}function kt(t,i,n,e){this.r=+t,this.g=+i,this.b=+n,this.opacity=+e}function Mt(){return`#${Pt(this.r)}${Pt(this.g)}${Pt(this.b)}`}function Tt(){const t=Et(this.opacity);return`${1===t?"rgb(":"rgba("}${St(this.r)}, ${St(this.g)}, ${St(this.b)}${1===t?")":`, ${t})`}`}function Et(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function St(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function Pt(t){return((t=St(t))<16?"0":"")+t.toString(16)}function qt(t,i,n,e){return e<=0?t=i=n=NaN:n<=0||n>=1?t=i=NaN:i<=0&&(t=NaN),new Rt(t,i,n,e)}function Ct(t){if(t instanceof Rt)return new Rt(t.h,t.s,t.l,t.opacity);if(t instanceof st||(t=$t(t)),!t)return new Rt;if(t instanceof Rt)return t;var i=(t=t.rgb()).r/255,n=t.g/255,e=t.b/255,s=Math.min(i,n,e),h=Math.max(i,n,e),o=NaN,r=h-s,a=(h+s)/2;return r?(o=i===h?(n-e)/r+6*(n<e):n===h?(e-i)/r+2:(i-n)/r+4,r/=a<.5?h+s:2-h-s,o*=60):r=a>0&&a<1?0:o,new Rt(o,r,a,t.opacity)}function Rt(t,i,n,e){this.h=+t,this.s=+i,this.l=+n,this.opacity=+e}function zt(t){return(t=(t||0)%360)<0?t+360:t}function Ht(t){return Math.max(0,Math.min(1,t||0))}function At(t,i,n){return 255*(t<60?i+(n-i)*t/60:t<180?n:t<240?i+(n-i)*(240-t)/60:i)}nt(st,$t,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:gt,formatHex:gt,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return Ct(this).formatHsl()},formatRgb:bt,toString:bt}),nt(kt,Nt,et(st,{brighter(t){return t=null==t?ot:Math.pow(ot,t),new kt(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=null==t?ht:Math.pow(ht,t),new kt(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new kt(St(this.r),St(this.g),St(this.b),Et(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Mt,formatHex:Mt,formatHex8:function(){return`#${Pt(this.r)}${Pt(this.g)}${Pt(this.b)}${Pt(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:Tt,toString:Tt})),nt(Rt,function(t,i,n,e){return 1===arguments.length?Ct(t):new Rt(t,i,n,null==e?1:e)},et(st,{brighter(t){return t=null==t?ot:Math.pow(ot,t),new Rt(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=null==t?ht:Math.pow(ht,t),new Rt(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=this.h%360+360*(this.h<0),i=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,e=n+(n<.5?n:1-n)*i,s=2*n-e;return new kt(At(t>=240?t-240:t+120,s,e),At(t,s,e),At(t<120?t+240:t-120,s,e),this.opacity)},clamp(){return new Rt(zt(this.h),Ht(this.s),Ht(this.l),Et(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const t=Et(this.opacity);return`${1===t?"hsl(":"hsla("}${zt(this.h)}, ${100*Ht(this.s)}%, ${100*Ht(this.l)}%${1===t?")":`, ${t})`}`}}));var jt=t=>()=>t;function It(t,i){return function(n){return t+n*i}}function Lt(t,i){var n=i-t;return n?It(t,n>180||n<-180?n-360*Math.round(n/360):n):jt(isNaN(t)?i:t)}function Ot(t){return 1===(t=+t)?Qt:function(i,n){return n-i?function(t,i,n){return t=Math.pow(t,n),i=Math.pow(i,n)-t,n=1/n,function(e){return Math.pow(t+e*i,n)}}(i,n,t):jt(isNaN(i)?n:i)}}function Qt(t,i){var n=i-t;return n?It(t,n):jt(isNaN(t)?i:t)}var Zt=function t(i){var n=Ot(i);function e(t,i){var e=n((t=Nt(t)).r,(i=Nt(i)).r),s=n(t.g,i.g),h=n(t.b,i.b),o=Qt(t.opacity,i.opacity);return function(i){return t.r=e(i),t.g=s(i),t.b=h(i),t.opacity=o(i),t+""}}return e.gamma=t,e}(1);function Bt(t,i){return t=+t,i=+i,function(n){return t*(1-n)+i*n}}var Dt=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Ft=new RegExp(Dt.source,"g");function Gt(t,i){var n,e,s,h=Dt.lastIndex=Ft.lastIndex=0,o=-1,r=[],a=[];for(t+="",i+="";(n=Dt.exec(t))&&(e=Ft.exec(i));)(s=e.index)>h&&(s=i.slice(h,s),r[o]?r[o]+=s:r[++o]=s),(n=n[0])===(e=e[0])?r[o]?r[o]+=e:r[++o]=e:(r[++o]=null,a.push({i:o,x:Bt(n,e)})),h=Ft.lastIndex;return h<i.length&&(s=i.slice(h),r[o]?r[o]+=s:r[++o]=s),r.length<2?a[0]?function(t){return function(i){return t(i)+""}}(a[0].x):function(t){return function(){return t}}(i):(i=a.length,function(t){for(var n,e=0;e<i;++e)r[(n=a[e]).i]=n.x(t);return r.join("")})}export{Zt as A,Gt as B,st as C,C as D,P as E,tt as F,it as G,Y as H,W as I,K as J,J as K,L,v as M,S as N,E as O,j as P,H as Q,kt as R,N as S,k as T,t as a,r as b,e as c,i as d,a as e,n as f,s as g,c as h,f as i,l as j,R as k,M as l,h as m,w as n,nt as o,_ as p,et as q,vt as r,o as s,u as t,Qt as u,Lt as v,$ as w,jt as x,Bt as y,$t as z};
@@ -1 +0,0 @@
1
- import{r as i,d as n}from"./memoize-CPUrcYQl.js";import{t}from"./toNumber-Bh_HTlSx.js";var r=function(){return i.Date.now()},e=Math.max,o=Math.min;function a(i,a,u){var f,c,m,d,v,l,s=0,p=!1,g=!1,T=!0;if("function"!=typeof i)throw new TypeError("Expected a function");function x(n){var t=f,r=c;return f=c=void 0,s=n,d=i.apply(r,t)}function h(i){var n=i-l;return void 0===l||n>=a||n<0||g&&i-s>=m}function w(){var i=r();if(h(i))return y(i);v=setTimeout(w,function(i){var n=a-(i-l);return g?o(n,m-(i-s)):n}(i))}function y(i){return v=void 0,T&&f?x(i):(f=c=void 0,d)}function E(){var i=r(),n=h(i);if(f=arguments,c=this,l=i,n){if(void 0===v)return function(i){return s=i,v=setTimeout(w,a),p?x(i):d}(l);if(g)return clearTimeout(v),v=setTimeout(w,a),x(l)}return void 0===v&&(v=setTimeout(w,a)),d}return a=t(a)||0,n(u)&&(p=!!u.leading,m=(g="maxWait"in u)?e(t(u.maxWait)||0,a):m,T="trailing"in u?!!u.trailing:T),E.cancel=function(){void 0!==v&&clearTimeout(v),s=0,f=l=c=v=void 0},E.flush=function(){return void 0===v?d:y(r())},E}function u(i,t,r){var e=!0,o=!0;if("function"!=typeof i)throw new TypeError("Expected a function");return n(r)&&(e="leading"in r?!!r.leading:e,o="trailing"in r?!!r.trailing:o),a(i,t,{leading:e,maxWait:t,trailing:o})}export{a as d,u as t};
@@ -1 +0,0 @@
1
- import{_ as t,E as e,V as n,W as i,X as r,c as a,l as s,K as o,P as c,Y as l,d as h,D as d,$ as p,z as u}from"./mermaid.core-C89m9NSM.js";import{d as g}from"./arc-BqJSq9Se.js";import"./index-TeLD_8PN.js";import"react/jsx-runtime";import"react";import"./enums.js";import"./commons-D9Mh1s5L.js";import"./settings-BONQQsPx.js";import"./constants.js";import"./LoaderLayer-CXFK-kAz.js";import"./websocket-C4G3j9Rm.js";import"./index-o2jBRnrQ.js";import"motion/react";import"react-dom";import"swr";import"@ably/spaces";import"@ably/spaces/react";import"ably";import"ably/liveobjects";import"ably/react";import"@ably/spaces/dist/mjs/react";import"./purify.es-DBOWJxv3.js";import"./string-LeDn2fkG.js";import"./memoize-CPUrcYQl.js";var y=function(){var e=t(function(t,e,n,i){for(n=n||{},i=t.length;i--;n[t[i]]=e);return n},"o"),n=[6,11,13,14,15,17,19,20,23,24],i=[1,12],r=[1,13],a=[1,14],s=[1,15],o=[1,16],c=[1,19],l=[1,20],h={trace:t(function(){},"trace"),yy:{},symbols_:{error:2,start:3,timeline_header:4,document:5,EOF:6,timeline:7,timeline_lr:8,timeline_td:9,line:10,SPACE:11,statement:12,NEWLINE:13,title:14,acc_title:15,acc_title_value:16,acc_descr:17,acc_descr_value:18,acc_descr_multiline_value:19,section:20,period_statement:21,event_statement:22,period:23,event:24,$accept:0,$end:1},terminals_:{2:"error",6:"EOF",7:"timeline",8:"timeline_lr",9:"timeline_td",11:"SPACE",13:"NEWLINE",14:"title",15:"acc_title",16:"acc_title_value",17:"acc_descr",18:"acc_descr_value",19:"acc_descr_multiline_value",20:"section",23:"period",24:"event"},productions_:[0,[3,3],[4,1],[4,1],[4,1],[5,0],[5,2],[10,2],[10,1],[10,1],[10,1],[12,1],[12,2],[12,2],[12,1],[12,1],[12,1],[12,1],[21,1],[22,1]],performAction:t(function(t,e,n,i,r,a,s){var o=a.length-1;switch(r){case 1:return a[o-1];case 3:i.setDirection("LR");break;case 4:i.setDirection("TD");break;case 5:case 9:case 10:this.$=[];break;case 6:a[o-1].push(a[o]),this.$=a[o-1];break;case 7:case 8:this.$=a[o];break;case 11:i.getCommonDb().setDiagramTitle(a[o].substr(6)),this.$=a[o].substr(6);break;case 12:this.$=a[o].trim(),i.getCommonDb().setAccTitle(this.$);break;case 13:case 14:this.$=a[o].trim(),i.getCommonDb().setAccDescription(this.$);break;case 15:i.addSection(a[o].substr(8)),this.$=a[o].substr(8);break;case 18:i.addTask(a[o],0,""),this.$=a[o];break;case 19:i.addEvent(a[o].substr(2)),this.$=a[o]}},"anonymous"),table:[{3:1,4:2,7:[1,3],8:[1,4],9:[1,5]},{1:[3]},e(n,[2,5],{5:6}),e(n,[2,2]),e(n,[2,3]),e(n,[2,4]),{6:[1,7],10:8,11:[1,9],12:10,13:[1,11],14:i,15:r,17:a,19:s,20:o,21:17,22:18,23:c,24:l},e(n,[2,10],{1:[2,1]}),e(n,[2,6]),{12:21,14:i,15:r,17:a,19:s,20:o,21:17,22:18,23:c,24:l},e(n,[2,8]),e(n,[2,9]),e(n,[2,11]),{16:[1,22]},{18:[1,23]},e(n,[2,14]),e(n,[2,15]),e(n,[2,16]),e(n,[2,17]),e(n,[2,18]),e(n,[2,19]),e(n,[2,7]),e(n,[2,12]),e(n,[2,13])],defaultActions:{},parseError:t(function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},"parseError"),parse:t(function(e){var n=this,i=[0],r=[],a=[null],s=[],o=this.table,c="",l=0,h=0,d=s.slice.call(arguments,1),p=Object.create(this.lexer),u={yy:{}};for(var g in this.yy)Object.prototype.hasOwnProperty.call(this.yy,g)&&(u.yy[g]=this.yy[g]);p.setInput(e,u.yy),u.yy.lexer=p,u.yy.parser=this,void 0===p.yylloc&&(p.yylloc={});var y=p.yylloc;s.push(y);var f=p.options&&p.options.ranges;function m(){var t;return"number"!=typeof(t=r.pop()||p.lex()||1)&&(t instanceof Array&&(t=(r=t).pop()),t=n.symbols_[t]||t),t}"function"==typeof u.yy.parseError?this.parseError=u.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError,t(function(t){i.length=i.length-2*t,a.length=a.length-t,s.length=s.length-t},"popStack"),t(m,"lex");for(var x,b,k,w,_,$,v,S,E={};;){if(b=i[i.length-1],this.defaultActions[b]?k=this.defaultActions[b]:(null==x&&(x=m()),k=o[b]&&o[b][x]),void 0===k||!k.length||!k[0]){var T="";for(_ in S=[],o[b])this.terminals_[_]&&_>2&&S.push("'"+this.terminals_[_]+"'");T=p.showPosition?"Parse error on line "+(l+1)+":\n"+p.showPosition()+"\nExpecting "+S.join(", ")+", got '"+(this.terminals_[x]||x)+"'":"Parse error on line "+(l+1)+": Unexpected "+(1==x?"end of input":"'"+(this.terminals_[x]||x)+"'"),this.parseError(T,{text:p.match,token:this.terminals_[x]||x,line:p.yylineno,loc:y,expected:S})}if(k[0]instanceof Array&&k.length>1)throw new Error("Parse Error: multiple actions possible at state: "+b+", token: "+x);switch(k[0]){case 1:i.push(x),a.push(p.yytext),s.push(p.yylloc),i.push(k[1]),x=null,h=p.yyleng,c=p.yytext,l=p.yylineno,y=p.yylloc;break;case 2:if($=this.productions_[k[1]][1],E.$=a[a.length-$],E._$={first_line:s[s.length-($||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-($||1)].first_column,last_column:s[s.length-1].last_column},f&&(E._$.range=[s[s.length-($||1)].range[0],s[s.length-1].range[1]]),void 0!==(w=this.performAction.apply(E,[c,h,l,u.yy,k[1],a,s].concat(d))))return w;$&&(i=i.slice(0,-1*$*2),a=a.slice(0,-1*$),s=s.slice(0,-1*$)),i.push(this.productions_[k[1]][0]),a.push(E.$),s.push(E._$),v=o[i[i.length-2]][i[i.length-1]],i.push(v);break;case 3:return!0}}return!0},"parse")},d=function(){return{EOF:1,parseError:t(function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},"parseError"),setInput:t(function(t,e){return this.yy=e||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:t(function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(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:t(function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var i=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),n.length-1&&(this.yylineno-=n.length-1);var r=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:n?(n.length===i.length?this.yylloc.first_column:0)+i[i.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[r[0],r[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},"unput"),more:t(function(){return this._more=!0,this},"more"),reject:t(function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):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).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"reject"),less:t(function(t){this.unput(this.match.slice(t))},"less"),pastInput:t(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:t(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:t(function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},"showPosition"),test_match:t(function(t,e){var n,i,r;if(this.options.backtrack_lexer&&(r={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&&(r.yylloc.range=this.yylloc.range.slice(0))),(i=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.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],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in r)this[a]=r[a];return!1}return!1},"test_match"),next:t(function(){if(this.done)return this.EOF;var t,e,n,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var r=this._currentRules(),a=0;a<r.length;a++)if((n=this._input.match(this.rules[r[a]]))&&(!e||n[0].length>e[0].length)){if(e=n,i=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,r[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,r[i]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:t(function(){var t=this.next();return t||this.lex()},"lex"),begin:t(function(t){this.conditionStack.push(t)},"begin"),popState:t(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:t(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:t(function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},"topState"),pushState:t(function(t){this.begin(t)},"pushState"),stateStackSize:t(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:t(function(t,e,n,i){switch(n){case 0:case 1:case 3:case 4:break;case 2:return 13;case 5:return 8;case 6:return 9;case 7:return 7;case 8:return 14;case 9:return this.begin("acc_title"),15;case 10:return this.popState(),"acc_title_value";case 11:return this.begin("acc_descr"),17;case 12:return this.popState(),"acc_descr_value";case 13:this.begin("acc_descr_multiline");break;case 14:this.popState();break;case 15:return"acc_descr_multiline_value";case 16:return 20;case 17:return 24;case 18:return 23;case 19:return 6;case 20:return"INVALID"}},"anonymous"),rules:[/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:timeline[ \t]+LR\b)/i,/^(?:timeline[ \t]+TD\b)/i,/^(?:timeline\b)/i,/^(?:title\s[^\n]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:section\s[^:\n]+)/i,/^(?::\s(?:[^:\n]|:(?!\s))+)/i,/^(?:[^#:\n]+)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[14,15],inclusive:!1},acc_descr:{rules:[12],inclusive:!1},acc_title:{rules:[10],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,11,13,16,17,18,19,20],inclusive:!0}}}}();function p(){this.yy={}}return h.lexer=d,t(p,"Parser"),p.prototype=h,h.Parser=p,new p}();y.parser=y;var f=y,m={};d(m,{addEvent:()=>C,addSection:()=>I,addTask:()=>L,addTaskOrg:()=>N,clear:()=>S,default:()=>D,getCommonDb:()=>v,getDirection:()=>T,getSections:()=>M,getTasks:()=>H,setDirection:()=>E});var x="",b=0,k="LR",w=[],_=[],$=[],v=t(()=>p,"getCommonDb"),S=t(function(){w.length=0,_.length=0,x="",$.length=0,k="LR",u()},"clear"),E=t(function(t){k=t},"setDirection"),T=t(function(){return k},"getDirection"),I=t(function(t){x=t,w.push(t)},"addSection"),M=t(function(){return w},"getSections"),H=t(function(){let t=j();let e=0;for(;!t&&e<100;)t=j(),e++;return _.push(...$),_},"getTasks"),L=t(function(t,e,n){const i={id:b++,section:x,type:x,task:t,score:e||0,events:n?[n]:[]};$.push(i)},"addTask"),C=t(function(t){$.find(t=>t.id===b-1).events.push(t)},"addEvent"),N=t(function(t){const e={section:x,type:x,description:t,task:t,classes:[]};_.push(e)},"addTaskOrg"),j=t(function(){const e=t(function(t){return $[t].processed},"compileTask");let n=!0;for(const[t,i]of $.entries())e(t),n=n&&i.processed;return n},"compileTasks"),D={clear:S,getCommonDb:v,getDirection:T,setDirection:E,addSection:I,getSections:M,getTasks:H,addTask:L,addTaskOrg:N,addEvent:C},O=0,A=t(function(t,e){const n=t.append("rect");return n.attr("x",e.x),n.attr("y",e.y),n.attr("fill",e.fill),n.attr("stroke",e.stroke),n.attr("width",e.width),n.attr("height",e.height),n.attr("rx",e.rx),n.attr("ry",e.ry),void 0!==e.class&&n.attr("class",e.class),n},"drawRect"),B=t(function(e,n){const i=15,r=e.append("circle").attr("cx",n.cx).attr("cy",n.cy).attr("class","face").attr("r",i).attr("stroke-width",2).attr("overflow","visible"),a=e.append("g");function s(t){const e=g().startAngle(Math.PI/2).endAngle(Math.PI/2*3).innerRadius(7.5).outerRadius(i/2.2);t.append("path").attr("class","mouth").attr("d",e).attr("transform","translate("+n.cx+","+(n.cy+2)+")")}function o(t){const e=g().startAngle(3*Math.PI/2).endAngle(Math.PI/2*5).innerRadius(7.5).outerRadius(i/2.2);t.append("path").attr("class","mouth").attr("d",e).attr("transform","translate("+n.cx+","+(n.cy+7)+")")}function c(t){t.append("line").attr("class","mouth").attr("stroke",2).attr("x1",n.cx-5).attr("y1",n.cy+7).attr("x2",n.cx+5).attr("y2",n.cy+7).attr("class","mouth").attr("stroke-width","1px").attr("stroke","#666")}return a.append("circle").attr("cx",n.cx-5).attr("cy",n.cy-5).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666"),a.append("circle").attr("cx",n.cx+5).attr("cy",n.cy-5).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666"),t(s,"smile"),t(o,"sad"),t(c,"ambivalent"),n.score>3?s(a):n.score<3?o(a):c(a),r},"drawFace"),R=t(function(t,e){const n=t.append("circle");return n.attr("cx",e.cx),n.attr("cy",e.cy),n.attr("class","actor-"+e.pos),n.attr("fill",e.fill),n.attr("stroke",e.stroke),n.attr("r",e.r),void 0!==n.class&&n.attr("class",n.class),void 0!==e.title&&n.append("title").text(e.title),n},"drawCircle"),P=t(function(t,e){const n=e.text.replace(/<br\s*\/?>/gi," "),i=t.append("text");i.attr("x",e.x),i.attr("y",e.y),i.attr("class","legend"),i.style("text-anchor",e.anchor),void 0!==e.class&&i.attr("class",e.class);const r=i.append("tspan");return r.attr("x",e.x+2*e.textMargin),r.text(n),i},"drawText"),W=t(function(e,n){function i(t,e,n,i,r){return t+","+e+" "+(t+n)+","+e+" "+(t+n)+","+(e+i-r)+" "+(t+n-1.2*r)+","+(e+i)+" "+t+","+(e+i)}t(i,"genPoints");const r=e.append("polygon");r.attr("points",i(n.x,n.y,50,20,7)),r.attr("class","labelBox"),n.y=n.y+n.labelMargin,n.x=n.x+.5*n.labelMargin,P(e,n)},"drawLabel"),z=t(function(t,e,n){const i=t.append("g"),r=Y();r.x=e.x,r.y=e.y,r.fill=e.fill,r.width=n.width,r.height=n.height,r.class="journey-section section-type-"+e.num,r.rx=3,r.ry=3,A(i,r),Z(n)(e.text,i,r.x,r.y,r.width,r.height,{class:"journey-section section-type-"+e.num},n,e.colour)},"drawSection"),F=-1,V=t(function(t,e,n,i){const r=e.x+n.width/2,a=t.append("g");F++;a.append("line").attr("id",i+"-task"+F).attr("x1",r).attr("y1",e.y).attr("x2",r).attr("y2",450).attr("class","task-line").attr("stroke-width","1px").attr("stroke-dasharray","4 2").attr("stroke","#666"),B(a,{cx:r,cy:300+30*(5-e.score),score:e.score});const s=Y();s.x=e.x,s.y=e.y,s.fill=e.fill,s.width=n.width,s.height=n.height,s.class="task task-type-"+e.num,s.rx=3,s.ry=3,A(a,s),Z(n)(e.task,a,s.x,s.y,s.width,s.height,{class:"task"},n,e.colour)},"drawTask"),G=t(function(t,e){A(t,{x:e.startx,y:e.starty,width:e.stopx-e.startx,height:e.stopy-e.starty,fill:e.fill,class:"rect"}).lower()},"drawBackgroundRect"),U=t(function(){return{x:0,y:0,fill:void 0,"text-anchor":"start",width:100,height:100,textMargin:0,rx:0,ry:0}},"getTextObj"),Y=t(function(){return{x:0,y:0,width:100,anchor:"start",height:100,rx:0,ry:0}},"getNoteRect"),Z=function(){function e(t,e,n,i,a,s,o,c){r(e.append("text").attr("x",n+a/2).attr("y",i+s/2+5).style("font-color",c).style("text-anchor","middle").text(t),o)}function n(t,e,n,i,a,s,o,c,l){const{taskFontSize:h,taskFontFamily:d}=c,p=t.split(/<br\s*\/?>/gi);for(let t=0;t<p.length;t++){const c=t*h-h*(p.length-1)/2,u=e.append("text").attr("x",n+a/2).attr("y",i).attr("fill",l).style("text-anchor","middle").style("font-size",h).style("font-family",d);u.append("tspan").attr("x",n+a/2).attr("dy",c).text(p[t]),u.attr("y",i+s/2).attr("dominant-baseline","central").attr("alignment-baseline","central"),r(u,o)}}function i(t,e,i,a,s,o,c,l){const h=e.append("switch"),d=h.append("foreignObject").attr("x",i).attr("y",a).attr("width",s).attr("height",o).attr("position","fixed").append("xhtml:div").style("display","table").style("height","100%").style("width","100%");d.append("div").attr("class","label").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(t),n(t,h,i,a,s,o,c,l),r(d,c)}function r(t,e){for(const n in e)n in e&&t.attr(n,e[n])}return t(e,"byText"),t(n,"byTspan"),t(i,"byFo"),t(r,"_setTextAttrs"),function(t){return"fo"===t.textPlacement?i:"old"===t.textPlacement?e:n}}(),q=t(function(t,e){O=0,F=-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");function X(t,e){t.each(function(){var t,n=h(this),i=n.text().split(/(\s+|<br>)/).reverse(),r=[],a=n.attr("y"),s=parseFloat(n.attr("dy")),o=n.text(null).append("tspan").attr("x",0).attr("y",a).attr("dy",s+"em");for(let s=0;s<i.length;s++)t=i[i.length-1-s],r.push(t),o.text(r.join(" ").trim()),(o.node().getComputedTextLength()>e||"<br>"===t)&&(r.pop(),o.text(r.join(" ").trim()),r="<br>"===t?[""]:[t],o=n.append("tspan").attr("x",0).attr("y",a).attr("dy","1.1em").text(t))})}t(X,"wrap");var K=t(function(t,e,n,i,r,a=!1){const{theme:s,look:o}=i,c=s?.includes("redux"),l=n%(i?.themeVariables?.THEME_COLOR_LIMIT??12)-1,d=t.append("g");e.section=l,d.attr("class",(e.class?e.class+" ":"")+"timeline-node section-"+l);const p=d.append("g"),u=d.append("g"),g=u.append("text").text(e.descr).attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle").call(X,e.width).node().getBBox(),y=i.fontSize?.replace?i.fontSize.replace("px",""):i.fontSize;if(e.height=g.height+1.1*y*.5+e.padding,e.height=Math.max(e.height,e.maxHeight),e.width=e.width+2*e.padding,u.attr("transform","translate("+e.width/2+", "+e.padding/2+")"),c&&u.attr("transform",`translate(${e.width/2}, ${a?e.padding/2+3:e.padding})`),Q(p,e,l,r,i),"neo"===o&&(d.attr("data-look","neo"),c)){const e=s.includes("dark"),n=t.node()?.ownerSVGElement??t.node(),i=h(n),r=i.attr("id")??"",a=r?`${r}-drop-shadow`:"drop-shadow";if(i.select(`#${a}`).empty()){const t=i.select("defs");(t.empty()?i.append("defs"):t).append("filter").attr("id",a).attr("height","130%").attr("width","130%").append("feDropShadow").attr("dx","4").attr("dy","4").attr("stdDeviation",0).attr("flood-opacity",e?"0.2":"0.06").attr("flood-color",e?"#FFFFFF":"#000000")}}return e},"drawNode"),J=t(function(t,e,n){const i=t.append("g"),r=i.append("text").text(e.descr).attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle").call(X,e.width).node().getBBox(),a=n.fontSize?.replace?n.fontSize.replace("px",""):n.fontSize;return i.remove(),r.height+1.1*a*.5+e.padding},"getVirtualNodeHeight"),Q=t(function(t,e,n,i,r){const{theme:a}=r,s=a?.includes("redux")?0:5,o=s>0?`M0 ${e.height-5} v${10-e.height} q0,-${s},${s},-${s} h${e.width-10} q${s},0,${s},${s} v${e.height-5} H0 Z`:`M0 ${e.height-5} v${-(e.height-5)} h${e.width} v${e.height} H0 Z`;t.append("path").attr("id",i+"-node-"+O++).attr("class","node-bkg node-"+e.type).attr("d",o),a?.includes("redux")||t.append("line").attr("class","node-line-"+n).attr("x1",0).attr("y1",e.height).attr("x2",e.width).attr("y2",e.height)},"defaultBkg"),tt={drawRect:A,drawCircle:R,drawSection:z,drawText:P,drawLabel:W,drawTask:V,drawBackgroundRect:G,getTextObj:U,getNoteRect:Y,initGraphics:q,drawNode:K,getVirtualNodeHeight:J},et=t(function(t,e,n,i){const r=a(),{look:o,theme:c,themeVariables:d}=r,{useGradient:p,gradientStart:u,gradientStop:g}=d,y=r.timeline?.leftMargin??50;s.debug("timeline",i.db);const f=r.securityLevel;let m;"sandbox"===f&&(m=h("#i"+e));const x=h("sandbox"===f?m.nodes()[0].contentDocument.body:"body").select("#"+e);x.append("g");const b=i.db.getTasks(),k=i.db.getCommonDb().getDiagramTitle();s.debug("task",b),tt.initGraphics(x,e);const w=i.db.getSections();s.debug("sections",w);let _=0,$=0,v=0,S=0,E=50+y,T=50;S=50;let I=0,M=!0;w.forEach(function(t){const e={number:I,descr:t,section:I,width:150,padding:20,maxHeight:_},n=tt.getVirtualNodeHeight(x,e,r);s.debug("sectionHeight before draw",n),_=Math.max(_,n+20)});let H=0,L=0;s.debug("tasks.length",b.length);for(const[t,e]of b.entries()){const n={number:t,descr:e,section:e.section,width:150,padding:20,maxHeight:$},i=tt.getVirtualNodeHeight(x,n,r);s.debug("taskHeight before draw",i),$=Math.max($,i+20),H=Math.max(H,e.events.length);let a=0;for(const t of e.events){const n={descr:t,section:e.section,number:e.section,width:150,padding:20,maxHeight:50};a+=tt.getVirtualNodeHeight(x,n,r)}e.events.length>0&&(a+=10*(e.events.length-1)),L=Math.max(L,a)}s.debug("maxSectionHeight before draw",_),s.debug("maxTaskHeight before draw",$),w&&w.length>0?w.forEach(t=>{const n=b.filter(e=>e.section===t),i={number:I,descr:t,section:I,width:200*Math.max(n.length,1)-50,padding:20,maxHeight:_};s.debug("sectionNode",i);const a=x.append("g"),o=tt.drawNode(a,i,I,r,e);s.debug("sectionNode output",o),a.attr("transform",`translate(${E}, 50)`),T+=_+50,n.length>0&&nt(x,n,I,E,T,$,r,H,L,_,!1,e),E+=200*Math.max(n.length,1),T=50,I++}):(M=!1,nt(x,b,I,E,T,$,r,H,L,_,!0,e));const C=x.node().getBBox();s.debug("bounds",C),k&&x.append("text").text(k).attr("x","neo"===o?2*C.x+y:C.width/2-y).attr("font-size","4ex").attr("font-weight","bold").attr("y",20),v=M?_+$+150:$+100;if(x.append("g").attr("class","lineWrapper").append("line").attr("x1",y).attr("y1",v).attr("x2",C.width+3*y).attr("y2",v).attr("stroke-width",4).attr("stroke","black").attr("marker-end",`url(#${e}-arrowhead)`),"neo"===o&&p&&"neutral"!==c){const t=x.select("defs"),e=(t.empty()?x.append("defs"):t).append("linearGradient").attr("id",x.attr("id")+"-gradient").attr("gradientUnits","objectBoundingBox").attr("x1","0%").attr("y1","0%").attr("x2","100%").attr("y2","0%");e.append("stop").attr("offset","0%").attr("stop-color",u).attr("stop-opacity",1),e.append("stop").attr("offset","100%").attr("stop-color",g).attr("stop-opacity",1)}l(void 0,x,r.timeline?.padding??50,r.timeline?.useMaxWidth??!1)},"draw"),nt=t(function(t,e,n,i,r,a,o,c,l,h,d,p){for(const c of e){const e={descr:c.task,section:n,number:n,width:150,padding:20,maxHeight:a};s.debug("taskNode",e);const h=t.append("g").attr("class","taskWrapper"),u=tt.drawNode(h,e,n,o,p).height;if(s.debug("taskHeight after draw",u),h.attr("transform",`translate(${i}, ${r})`),a=Math.max(a,u),c.events){const e=t.append("g").attr("class","lineWrapper");let s=a;r+=100,s+=it(t,c.events,n,i,r,o,p),r-=100,e.append("line").attr("x1",i+95).attr("y1",r+a).attr("x2",i+95).attr("y2",r+a+100+l+100).attr("stroke-width",2).attr("stroke","black").attr("marker-end",`url(#${p}-arrowhead)`).attr("stroke-dasharray","5,5")}i+=200,d&&!o.timeline?.disableMulticolor&&n++}r-=10},"drawTasks"),it=t(function(t,e,n,i,r,a,o){let c=0;const l=r;r+=100;for(const l of e){const e={descr:l,section:n,number:n,width:150,padding:20,maxHeight:50};s.debug("eventNode",e);const h=t.append("g").attr("class","eventWrapper"),d=tt.drawNode(h,e,n,a,o,!0).height;c+=d,h.attr("transform",`translate(${i}, ${r})`),r=r+10+d}return r=l,c},"drawEvents"),rt={setConf:t(()=>{},"setConf"),draw:et},at=200,st=t(function(t,e,n,i){const r=a(),h=r.timeline?.leftMargin??50;s.debug("timeline",i.db);const d=o(e);d.append("g");const p=i.db.getTasks(),u=i.db.getCommonDb().getDiagramTitle();s.debug("task",p),tt.initGraphics(d);const g=i.db.getSections();s.debug("sections",g);let y=0,f=0;const m=50+h;let x=50;const b=x,k=230,w=m+k;let _=0;const $=g&&g.length>0,v=$?w:m+k,S=Math.max(50,580);g.forEach(function(t){const e={number:_,descr:t,section:_,width:S,padding:5,maxHeight:y},n=tt.getVirtualNodeHeight(d,e,r);s.debug("sectionHeight before draw",n),y=Math.max(y,n)});let E=0;s.debug("tasks.length",p.length);for(const[t,e]of p.entries()){const n={number:t,descr:e,section:e.section,width:at,padding:5,maxHeight:f},i=tt.getVirtualNodeHeight(d,n,r);s.debug("taskHeight before draw",i),f=Math.max(f,i);let a=0;for(const t of e.events){const n={descr:t,section:e.section,number:e.section,width:300,padding:5,maxHeight:50};a+=tt.getVirtualNodeHeight(d,n,r)}e.events.length>0&&(a+=10*(e.events.length-1)),E=Math.max(E,a)+0}s.debug("maxSectionHeight before draw",y),s.debug("maxTaskHeight before draw",f);const T=Math.max(f,E)+30;$?g.forEach(t=>{const e=p.filter(e=>e.section===t),n={number:_,descr:t,section:_,width:S,padding:5,maxHeight:y};s.debug("sectionNode",n);const i=d.append("g"),a=tt.drawNode(i,n,_,r);s.debug("sectionNode output",a);const o=v-k;i.attr("transform",`translate(${o}, ${x})`);const c=x+a.height+20;e.length>0&&ot(d,e,_,v,c,f,r,T,!1);const l=e.length,h=a.height+20+T*Math.max(l,1)-(l>0?60:0);x+=h,_++}):ot(d,p,_,v,x,f,r,T,!0);let I=d.node()?.getBBox();if(!I)throw new Error("bbox not found");if(s.debug("bounds",I),u){if(d.append("text").text(u).attr("x",I.width/2-h).attr("font-size","4ex").attr("font-weight","bold").attr("y",20),I=d.node()?.getBBox(),!I)throw new Error("bbox not found");s.debug("bounds after title",I)}const[M]=c(r.fontSize),H=2*(M??16),L=.5*(M??16)+20,C=d.append("g").attr("class","lineWrapper");C.append("line").attr("x1",v).attr("y1",b-H).attr("x2",v).attr("y2",I.y+I.height+L).attr("stroke-width",4).attr("stroke","black").attr("marker-end","url(#arrowhead)"),C.lower(),l(void 0,d,r.timeline?.padding??50,r.timeline?.useMaxWidth??!1)},"draw"),ot=t(function(t,e,n,i,r,a,o,c,l){for(const h of e){const e={descr:h.task,section:n,number:n,width:at,padding:5,maxHeight:a};s.debug("taskNode",e);const d=t.append("g").attr("class","taskWrapper"),p=tt.drawNode(d,e,n,o),u=p.height;s.debug("taskHeight after draw",u);const g=i-20-p.width;if(d.attr("transform",`translate(${g}, ${r})`),a=Math.max(a,u),h.events&&h.events.length>0){const e=r,a=i+50;ct(t,h.events,n,i,a,e,o)}r+=c,l&&!o.timeline?.disableMulticolor&&n++}},"drawTasks"),ct=t(function(t,e,n,i,r,a,o){let c=a;for(const a of e){const e={descr:a,section:n,number:n,width:300,padding:5,maxHeight:0};s.debug("eventNode",e);const l=t.append("g").attr("class","eventWrapper"),h=tt.drawNode(l,e,n,o).height;l.attr("transform",`translate(${r}, ${c})`);const d=c+h/2;t.append("g").attr("class","lineWrapper").append("line").attr("x1",i).attr("y1",d).attr("x2",r).attr("y2",d).attr("stroke-width",2).attr("stroke","black").attr("marker-end","url(#arrowhead)").attr("stroke-dasharray","5,5"),c=c+h+10}return c-a},"drawEvents"),lt={setConf:t(()=>{},"setConf"),draw:st},ht=t(t=>{const{theme:n}=e(),i=n?.includes("dark"),r=n?.includes("color"),a=t.svgId?.replace(/^#/,"")??"",s=a?`url(#${a}-drop-shadow)`:t.dropShadow??"none";let o="";for(let e=0;e<t.THEME_COLOR_LIMIT;e++){const n=""+(17-3*e),a=r?t.borderColorArray[e]:t.mainBkg,c=r?t.borderColorArray[e]:t.nodeBorder;o+=`\n .section-${e-1} rect,\n .section-${e-1} path,\n .section-${e-1} circle {\n fill: ${i&&r?t.mainBkg:a};\n stroke: ${c};\n stroke-width: ${t.strokeWidth};\n filter: ${s};\n }\n\n .section-${e-1} text {\n fill: ${t.nodeBorder};\n font-weight: ${t.fontWeight}\n }\n\n .node-icon-${e-1} {\n font-size: 40px;\n color: ${t["cScaleLabel"+e]};\n }\n\n .section-edge-${e-1} {\n stroke: ${t["cScale"+e]};\n }\n\n .edge-depth-${e-1} {\n stroke-width: ${n};\n }\n\n .section-${e-1} line {\n stroke: ${t["cScaleInv"+e]};\n stroke-width: 3;\n }\n\n .lineWrapper line {\n stroke: ${t.nodeBorder};\n stroke-width:${t.strokeWidth}\n }\n\n .disabled,\n .disabled circle,\n .disabled text {\n fill: ${t.tertiaryColor??"lightgray"};\n }\n\n .disabled text {\n fill: ${t.clusterBorder??"#efefef"};\n }\n `}return o},"genReduxSections"),dt=t(t=>{let e="";for(let e=0;e<t.THEME_COLOR_LIMIT;e++)t["lineColor"+e]=t["lineColor"+e]||t["cScaleInv"+e],n(t["lineColor"+e])?t["lineColor"+e]=i(t["lineColor"+e],20):t["lineColor"+e]=r(t["lineColor"+e],20);for(let n=0;n<t.THEME_COLOR_LIMIT;n++){const i=""+(17-3*n);e+=`\n .section-${n-1} rect, .section-${n-1} path, .section-${n-1} circle, .section-${n-1} path {\n fill: ${t["cScale"+n]};\n }\n .section-${n-1} text {\n fill: ${t["cScaleLabel"+n]};\n }\n .node-icon-${n-1} {\n font-size: 40px;\n color: ${t["cScaleLabel"+n]};\n }\n .section-edge-${n-1}{\n stroke: ${t["cScale"+n]};\n }\n .edge-depth-${n-1}{\n stroke-width: ${i};\n }\n .section-${n-1} line {\n stroke: ${t["cScaleInv"+n]} ;\n stroke-width: 3;\n }\n\n .lineWrapper line{\n stroke: ${t["cScaleLabel"+n]} ;\n }\n\n .disabled, .disabled circle, .disabled text {\n fill: ${t.tertiaryColor??"lightgray"};\n }\n .disabled text {\n fill: ${t.clusterBorder??"#efefef"};\n }\n `}return e},"genSections"),pt=t(t=>{const{theme:n}=e(),i=n?.includes("redux"),r="neutral"===n,a=t.svgId?.replace(/^#/,"")??"";let s="";if(t.useGradient&&a&&t.THEME_COLOR_LIMIT&&!r)for(let e=0;e<t.THEME_COLOR_LIMIT;e++)s+=`\n .section-${e-1}[data-look="neo"] rect,\n .section-${e-1}[data-look="neo"] path,\n .section-${e-1}[data-look="neo"] circle {\n fill: ${t.mainBkg};\n stroke: url(#${a}-gradient);\n stroke-width: 2;\n }\n .section-${e-1}[data-look="neo"] line {\n stroke: url(#${a}-gradient);\n stroke-width: 2;\n }`;return`\n .edge {\n stroke-width: 3;\n }\n ${i?ht(t):dt(t)}\n ${s}\n .section-root rect, .section-root path, .section-root circle {\n fill: ${t.git0};\n }\n .section-root text {\n fill: ${t.gitBranchLabel0};\n }\n .icon-container {\n height:100%;\n display: flex;\n justify-content: center;\n align-items: center;\n }\n .edge {\n fill: none;\n }\n .eventWrapper {\n filter: brightness(120%);\n }\n`},"getStyles"),ut={db:m,renderer:{setConf:t(()=>{},"setConf"),draw:t((t,e,n,i)=>"TD"===(i?.db?.getDirection?.()??"LR")?lt.draw(t,e,n,i):rt.draw(t,e,n,i),"draw")},parser:f,styles:pt};export{ut as diagram};
@@ -1 +0,0 @@
1
- import{d as r}from"./memoize-CPUrcYQl.js";import{i as t}from"./isSymbol-CATEdeai.js";var e=/\s/;var i=/^\s+/;function n(r){return r?r.slice(0,function(r){for(var t=r.length;t--&&e.test(r.charAt(t)););return t}(r)+1).replace(i,""):r}var a=/^[-+]0x[0-9a-f]+$/i,f=/^0b[01]+$/i,o=/^0o[0-7]+$/i,s=parseInt;function u(e){if("number"==typeof e)return e;if(t(e))return NaN;if(r(e)){var i="function"==typeof e.valueOf?e.valueOf():e;e=r(i)?i+"":i}if("string"!=typeof e)return 0===e?e:+e;e=n(e);var u=f.test(e);return u||o.test(e)?s(e.slice(2),u?2:8):a.test(e)?NaN:+e}export{u as t};
@@ -1 +0,0 @@
1
- import{e as r}from"./mermaid-parser.core-_V3e3eig.js";export{T as TreeViewModule}from"./mermaid-parser.core-_V3e3eig.js";import"./map-BvlAjF4J.js";import"./_baseIteratee-DJNkOVK7.js";import"./memoize-CPUrcYQl.js";import"./isSymbol-CATEdeai.js";import"./_baseUniq-BJKKUJ6e.js";import"./min-Dc9VrJ6M.js";import"./mermaid.core-C89m9NSM.js";import"./index-TeLD_8PN.js";import"react/jsx-runtime";import"react";import"./enums.js";import"./commons-D9Mh1s5L.js";import"./settings-BONQQsPx.js";import"./constants.js";import"./LoaderLayer-CXFK-kAz.js";import"./websocket-C4G3j9Rm.js";import"./index-o2jBRnrQ.js";import"motion/react";import"react-dom";import"swr";import"@ably/spaces";import"@ably/spaces/react";import"ably";import"ably/liveobjects";import"ably/react";import"@ably/spaces/dist/mjs/react";import"./purify.es-DBOWJxv3.js";import"./string-LeDn2fkG.js";export{r as createTreeViewServices};
@@ -1 +0,0 @@
1
- import{i as r}from"./mermaid-parser.core-_V3e3eig.js";export{j as TreemapModule}from"./mermaid-parser.core-_V3e3eig.js";import"./map-BvlAjF4J.js";import"./_baseIteratee-DJNkOVK7.js";import"./memoize-CPUrcYQl.js";import"./isSymbol-CATEdeai.js";import"./_baseUniq-BJKKUJ6e.js";import"./min-Dc9VrJ6M.js";import"./mermaid.core-C89m9NSM.js";import"./index-TeLD_8PN.js";import"react/jsx-runtime";import"react";import"./enums.js";import"./commons-D9Mh1s5L.js";import"./settings-BONQQsPx.js";import"./constants.js";import"./LoaderLayer-CXFK-kAz.js";import"./websocket-C4G3j9Rm.js";import"./index-o2jBRnrQ.js";import"motion/react";import"react-dom";import"swr";import"@ably/spaces";import"@ably/spaces/react";import"ably";import"ably/liveobjects";import"ably/react";import"@ably/spaces/dist/mjs/react";import"./purify.es-DBOWJxv3.js";import"./string-LeDn2fkG.js";export{r as createTreemapServices};