@kabmo-labs/kabmo 0.43.0 → 0.44.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (448) hide show
  1. package/dist/client/index.html +1 -1
  2. package/dist/client/index.js +614 -605
  3. package/dist/client/static/js/{CsvGrid-3fr85032.js → CsvGrid-1t2q46rg.js} +2 -2
  4. package/dist/client/static/js/{DocxView-pqbp2fpd.js → DocxView-301hxnwk.js} +4 -4
  5. package/dist/client/static/js/{DrawioView-m0vecq1m.js → DrawioView-47bwea5t.js} +2 -2
  6. package/dist/client/static/js/ImageView-68zdx5ex.js +1 -0
  7. package/dist/client/static/js/LayoutWrapper-vw54s8ra.js +2 -0
  8. package/dist/client/static/js/{Modal-vnwg4xn3.js → Modal-fb9b4gq6.js} +18 -18
  9. package/dist/client/static/js/{PdfView-wmg0vk2p.js → PdfView-m64ksepp.js} +1 -1
  10. package/dist/client/static/js/SessionsView-zyjwhpzm.js +1 -0
  11. package/dist/client/static/js/{SheetView-rg5gkcd7.js → SheetView-e88sqprx.js} +13 -13
  12. package/dist/client/static/js/{SvgPreview-wpb7b0ez.js → SvgPreview-hs9a713t.js} +1 -1
  13. package/dist/client/static/js/{abnfDiagram-O67JEVCF-4pxqt66j.js → abnfDiagram-O67JEVCF-fnr5kyqk.js} +1 -1
  14. package/dist/client/static/js/architecture-7GRP2DOG-mq93vqx9.js +1 -0
  15. package/dist/client/static/js/{architectureDiagram-NJMV4G6O-kwt1va5y.js → architectureDiagram-NJMV4G6O-7v003363.js} +11 -11
  16. package/dist/client/static/js/{astro-dpfdhc5e.js → astro-t9vjc0mc.js} +1 -1
  17. package/dist/client/static/js/bash-fjzhxy10.js +1 -0
  18. package/dist/client/static/js/{blockDiagram-BEXU5L5S-hbj5v7n7.js → blockDiagram-BEXU5L5S-k4mwbw3d.js} +5 -5
  19. package/dist/client/static/js/c-y1y6v00q.js +1 -0
  20. package/dist/client/static/js/{c4Diagram-YGBWAQC7-epfzh8dw.js → c4Diagram-YGBWAQC7-688zq6f4.js} +6 -6
  21. package/dist/client/static/js/{classDiagram-v2-NBCMYWYE-kbks4qgz.js → classDiagram-v2-NBCMYWYE-h0s16pxr.js} +5 -5
  22. package/dist/client/static/js/{cose-bilkent-JH36ORCC-dvdmckrf.js → cose-bilkent-JH36ORCC-qb2t8qq5.js} +1 -1
  23. package/dist/client/static/js/cpp-9f6zkdd4.js +1 -0
  24. package/dist/client/static/js/css-g85rwzty.js +1 -0
  25. package/dist/client/static/js/css-y4y3qtsb.js +1 -0
  26. package/dist/client/static/js/cynefin-OW5HDTMX-qyg5rjr5.js +1 -0
  27. package/dist/client/static/js/{cynefinDiagram-VND7K2PF-r084stj5.js → cynefinDiagram-VND7K2PF-syhtcr7b.js} +1 -1
  28. package/dist/client/static/js/{dagre-6A5THRUB-64qc51n1.js → dagre-6A5THRUB-7wgbx6cm.js} +2 -2
  29. package/dist/client/static/js/{diagram-22UHCM2B-70qtb1rm.js → diagram-22UHCM2B-951cmp5h.js} +21 -21
  30. package/dist/client/static/js/{diagram-3UASUU5V-dgkvnsme.js → diagram-3UASUU5V-mvdbqt7b.js} +2 -2
  31. package/dist/client/static/js/{diagram-ATOU4E4O-rnpsp26v.js → diagram-ATOU4E4O-hkvdtgdm.js} +3 -3
  32. package/dist/client/static/js/{diagram-CDSNMT55-26hthh60.js → diagram-CDSNMT55-bkkz35ca.js} +4 -4
  33. package/dist/client/static/js/{diagram-MLGK6HIB-nc1s85r5.js → diagram-MLGK6HIB-z6pcrkc3.js} +2 -2
  34. package/dist/client/static/js/{diagram-MPIPVDR6-e4dckqhv.js → diagram-MPIPVDR6-mkwf8j4m.js} +1 -1
  35. package/dist/client/static/js/{dockerfile-rxtyyhr1.js → dockerfile-7gd570bm.js} +1 -1
  36. package/dist/client/static/js/{ebnfDiagram-ZINNZB2B-3w9h8qk7.js → ebnfDiagram-ZINNZB2B-trym26ts.js} +1 -1
  37. package/dist/client/static/js/{elixir-5ewfhvfh.js → elixir-z77c7tfn.js} +1 -1
  38. package/dist/client/static/js/{elk-276RUBZZ-httpkyb1.js → elk-276RUBZZ-gkhz67v6.js} +1 -1
  39. package/dist/client/static/js/{erDiagram-OPXOYQCR-3qhvf7se.js → erDiagram-OPXOYQCR-gkyr5cqs.js} +7 -7
  40. package/dist/client/static/js/{erlang-jqqa3ehb.js → erlang-6vrvh2m6.js} +1 -1
  41. package/dist/client/static/js/eventmodeling-NTZA5JFV-15yz245z.js +1 -0
  42. package/dist/client/static/js/flowDiagram-KWPJA3E3-n1sapfye.js +1 -0
  43. package/dist/client/static/js/{ganttDiagram-FUAMR5RP-t53m50e5.js → ganttDiagram-FUAMR5RP-1qpme6ks.js} +4 -4
  44. package/dist/client/static/js/gitGraph-4MIJSDKK-xtjwv160.js +1 -0
  45. package/dist/client/static/js/{gitGraphDiagram-X574FWY7-b5wn9eht.js → gitGraphDiagram-X574FWY7-wbg3kqak.js} +10 -10
  46. package/dist/client/static/js/graphql-amk52c95.js +1 -0
  47. package/dist/client/static/js/html-2y935m7r.js +1 -0
  48. package/dist/client/static/js/index-07yh7qx0.js +1 -0
  49. package/dist/client/static/js/{index-kccp6tgd.js → index-1923aj4g.js} +2 -2
  50. package/dist/client/static/js/{index-kmzd0adv.js → index-19ffgf9a.js} +1 -1
  51. package/dist/client/static/js/index-204ae4vs.js +2 -0
  52. package/dist/client/static/js/{index-cqnpsw2m.js → index-22whvfdw.js} +2 -2
  53. package/dist/client/static/js/{index-dg3b0mfk.js → index-232nsp2c.js} +2 -2
  54. package/dist/client/static/js/{index-fgyenbv8.js → index-31hntzse.js} +5 -5
  55. package/dist/client/static/js/{index-7zc1z9z9.js → index-3w845q50.js} +4 -4
  56. package/dist/client/static/js/{index-gmnmnfm0.js → index-4y4hshcx.js} +2 -2
  57. package/dist/client/static/js/index-53ysgsd2.js +1 -0
  58. package/dist/client/static/js/{index-g4rsmakg.js → index-62ng8tkj.js} +3 -3
  59. package/dist/client/static/js/{index-4banz7gr.js → index-6ah5sj5y.js} +1 -1
  60. package/dist/client/static/js/{index-tzbzehqd.js → index-6gyk52ff.js} +2 -2
  61. package/dist/client/static/js/{index-m9s9rg5k.js → index-6s4mrdew.js} +2 -2
  62. package/dist/client/static/js/index-6t21c6jt.js +2 -0
  63. package/dist/client/static/js/{index-7dp90ad1.js → index-83pwa9c0.js} +2 -2
  64. package/dist/client/static/js/{index-f4fqvct6.js → index-8trggh1z.js} +15 -15
  65. package/dist/client/static/js/{index-ys0xpw3q.js → index-92n96mgd.js} +2 -2
  66. package/dist/client/static/js/index-ad4x44d6.js +9 -0
  67. package/dist/client/static/js/{index-s78n0dtv.js → index-as1wptfa.js} +2 -2
  68. package/dist/client/static/js/{index-j17h4z6f.js → index-barbpakv.js} +2 -2
  69. package/dist/client/static/js/index-bjqz7swa.js +1 -0
  70. package/dist/client/static/js/{index-yvgbr7ek.js → index-c3v62nvt.js} +2 -2
  71. package/dist/client/static/js/{index-zqthmaxq.js → index-cq98p2rb.js} +200 -199
  72. package/dist/client/static/js/{index-q1gwgmxt.js → index-czedkbmb.js} +2 -2
  73. package/dist/client/static/js/{index-sesghshh.js → index-dmv2zasz.js} +2 -2
  74. package/dist/client/static/js/{index-ycks7gyg.js → index-e6rm5xzj.js} +2 -2
  75. package/dist/client/static/js/{index-2q23dwrs.js → index-ehacfgwm.js} +2 -2
  76. package/dist/client/static/js/{index-q81rxwh7.js → index-fbpc1wx6.js} +41 -41
  77. package/dist/client/static/js/{index-qhytrsyb.js → index-fj4k07zt.js} +2 -2
  78. package/dist/client/static/js/{index-jz93j0at.js → index-gtkhz0hj.js} +2 -2
  79. package/dist/client/static/js/{index-181p91hf.js → index-hfsvwfgw.js} +2 -2
  80. package/dist/client/static/js/{index-sk9ej289.js → index-jaqjvk22.js} +2 -2
  81. package/dist/client/static/js/{index-e7yf273s.js → index-jbkkwa2q.js} +2 -2
  82. package/dist/client/static/js/{index-38v0781h.js → index-ks23y2cd.js} +2 -2
  83. package/dist/client/static/js/{index-7z9tz4ze.js → index-kwpaz891.js} +2 -2
  84. package/dist/client/static/js/{index-0c6vpk89.js → index-n0matkz9.js} +2 -2
  85. package/dist/client/static/js/index-n6fbd265.js +1 -0
  86. package/dist/client/static/js/{index-rv4qs3wm.js → index-nqjd3hh5.js} +2 -2
  87. package/dist/client/static/js/{index-ynaxep06.js → index-nr8s5xm9.js} +2 -2
  88. package/dist/client/static/js/index-nvevymac.js +2 -0
  89. package/dist/client/static/js/index-pxm44qfd.js +1 -0
  90. package/dist/client/static/js/{index-fg965t62.js → index-pysqpc5n.js} +2 -2
  91. package/dist/client/static/js/index-qf9x7yet.js +1 -0
  92. package/dist/client/static/js/{index-dkqgmacr.js → index-qkjx6521.js} +4 -4
  93. package/dist/client/static/js/index-qm92sf9w.js +12 -0
  94. package/dist/client/static/js/{index-fjnkzk12.js → index-qsw5edtk.js} +5 -5
  95. package/dist/client/static/js/index-rpzxrr2d.js +1 -0
  96. package/dist/client/static/js/index-s8bktzpg.js +1 -0
  97. package/dist/client/static/js/index-sc7r305t.css +1 -0
  98. package/dist/client/static/js/{index-vmgzhp41.js → index-svmzgtcx.js} +2 -2
  99. package/dist/client/static/js/{index-k9ws464d.js → index-tr2pkfs6.js} +2 -2
  100. package/dist/client/static/js/{index-bvjct7sp.js → index-tzdm1y3z.js} +2 -2
  101. package/dist/client/static/js/{index-r11bbnek.js → index-v5npdwy2.js} +65 -65
  102. package/dist/client/static/js/{index-wmv3crye.js → index-v7bcgh77.js} +2 -2
  103. package/dist/client/static/js/index-wytdbvax.js +3 -0
  104. package/dist/client/static/js/{index-n9scbxy5.js → index-yfjvx4yf.js} +2 -2
  105. package/dist/client/static/js/info-A6RAGUB7-e31s2xvj.js +1 -0
  106. package/dist/client/static/js/{infoDiagram-VRGFBTTK-qv7438m3.js → infoDiagram-VRGFBTTK-yebngg8c.js} +1 -1
  107. package/dist/client/static/js/ini-kemnmt16.js +1 -0
  108. package/dist/client/static/js/{ishikawaDiagram-OU5B5YK6-p1w6zg5y.js → ishikawaDiagram-OU5B5YK6-kh4nqj6q.js} +3 -3
  109. package/dist/client/static/js/java-caqpfm88.js +1 -0
  110. package/dist/client/static/js/{journeyDiagram-ZHPQQLJL-ywk6xqxr.js → journeyDiagram-ZHPQQLJL-4khnf8x1.js} +5 -5
  111. package/dist/client/static/js/json-qn73s8xb.js +1 -0
  112. package/dist/client/static/js/jsx-bvterpm5.js +1 -0
  113. package/dist/client/static/js/{julia-0h9krgsd.js → julia-svwxx41e.js} +1 -1
  114. package/dist/client/static/js/{kanban-definition-PNTS6WVX-gtrmhggc.js → kanban-definition-PNTS6WVX-snmq3wq4.js} +4 -4
  115. package/dist/client/static/js/lua-1hcfm8ya.js +1 -0
  116. package/dist/client/static/js/markdown-n6na4ykv.js +1 -0
  117. package/dist/client/static/js/{mermaid.core-5s24b4hh.js → mermaid.core-yctw30sk.js} +7 -7
  118. package/dist/client/static/js/{mindmap-definition-NLK3R4M7-3wx7abqn.js → mindmap-definition-NLK3R4M7-atfv66wq.js} +3 -3
  119. package/dist/client/static/js/one-dark-pro-c1vnxka7.js +1 -0
  120. package/dist/client/static/js/one-light-mbxx52p5.js +1 -0
  121. package/dist/client/static/js/packet-AYTQ26CC-mtzmsrk4.js +1 -0
  122. package/dist/client/static/js/{pegDiagram-GJSIUBJH-yvyqnjya.js → pegDiagram-GJSIUBJH-hpbtxjht.js} +1 -1
  123. package/dist/client/static/js/{perl-rptyx23q.js → perl-mr0ds2ex.js} +1 -1
  124. package/dist/client/static/js/{php-sagvq3wz.js → php-5h3wt6tv.js} +1 -1
  125. package/dist/client/static/js/pie-WAS4IAKB-85nwadmj.js +1 -0
  126. package/dist/client/static/js/{pieDiagram-5QR66LMP-26x6pj38.js → pieDiagram-5QR66LMP-9zrtkdr2.js} +2 -2
  127. package/dist/client/static/js/properties-nxcks67c.js +1 -0
  128. package/dist/client/static/js/python-58p0gqn0.js +1 -0
  129. package/dist/client/static/js/{quadrantDiagram-O4NWA36T-qhe8h0j9.js → quadrantDiagram-O4NWA36T-xq970vx1.js} +6 -6
  130. package/dist/client/static/js/r-eyn8en0g.js +1 -0
  131. package/dist/client/static/js/radar-RG4KPBEZ-ae3jdajx.js +1 -0
  132. package/dist/client/static/js/railroad-74A4TZTK-3m0s7cse.js +1 -0
  133. package/dist/client/static/js/railroad-abnf-HS5TGJTU-pz22c3eb.js +1 -0
  134. package/dist/client/static/js/railroad-ebnf-LZEXJU2U-cgqgqq15.js +1 -0
  135. package/dist/client/static/js/railroad-peg-WCYAUIDC-ts0nmcxb.js +1 -0
  136. package/dist/client/static/js/{railroadDiagram-XR7U4H2S-dwy3k2jx.js → railroadDiagram-XR7U4H2S-1g9jchbk.js} +1 -1
  137. package/dist/client/static/js/{requirementDiagram-PLB6GJNP-hcmgfesg.js → requirementDiagram-PLB6GJNP-ntt088y4.js} +4 -4
  138. package/dist/client/static/js/{ruby-9qyx7knh.js → ruby-nn836rtq.js} +1 -1
  139. package/dist/client/static/js/{rust-bmb4ee5w.js → rust-eygk56y5.js} +1 -1
  140. package/dist/client/static/js/{sankeyDiagram-IPEJSGJF-s6d3k4zs.js → sankeyDiagram-IPEJSGJF-95k8c5v6.js} +5 -5
  141. package/dist/client/static/js/{sass-07rteya0.js → sass-c2bk03e4.js} +1 -1
  142. package/dist/client/static/js/{scss-e2dndbfa.js → scss-qycakpjn.js} +1 -1
  143. package/dist/client/static/js/{sequenceDiagram-PO4LG4MO-0fcmzgdy.js → sequenceDiagram-PO4LG4MO-qfvxrwfa.js} +19 -19
  144. package/dist/client/static/js/{sizeCapture-INFHLROL-t8fcm7rq.js → sizeCapture-INFHLROL-0m7dc5nd.js} +1 -1
  145. package/dist/client/static/js/{stateDiagram-v2-GCMORJYK-jr80hfeg.js → stateDiagram-v2-GCMORJYK-femwcn7n.js} +5 -5
  146. package/dist/client/static/js/{svelte-w365cpwa.js → svelte-bfy1rq5g.js} +1 -1
  147. package/dist/client/static/js/{swimlanes-2SLR337P-x1ay6w39.js → swimlanes-2SLR337P-5n1qq48r.js} +1 -1
  148. package/dist/client/static/js/swimlanesDiagram-TC7HE7FX-n85hawg8.js +8 -0
  149. package/dist/client/static/js/{timeline-definition-EJHVYXUP-qz0g6msb.js → timeline-definition-EJHVYXUP-vdsj18be.js} +7 -7
  150. package/dist/client/static/js/treeView-Q6P3EWNA-fvpt3hm8.js +1 -0
  151. package/dist/client/static/js/treemap-WGGIJYW6-4z9s24je.js +1 -0
  152. package/dist/client/static/js/tsx-fnzxsv25.js +1 -0
  153. package/dist/client/static/js/typescript-0ppbqrb6.js +1 -0
  154. package/dist/client/static/js/{usecaseDiagram-POWQR4AR-sxzrv8ht.js → usecaseDiagram-POWQR4AR-psjbrprk.js} +43 -43
  155. package/dist/client/static/js/{vennDiagram-UO4OBE2U-qsqgnjcv.js → vennDiagram-UO4OBE2U-4yn9kac9.js} +7 -7
  156. package/dist/client/static/js/{vue-d6cesny1.js → vue-0fwtgwj4.js} +1 -1
  157. package/dist/client/static/js/wardley-WFR3VGLG-73mrhkmy.js +1 -0
  158. package/dist/client/static/js/{wardleyDiagram-VNRHLVJA-rvwxn458.js → wardleyDiagram-VNRHLVJA-js0tbpca.js} +3 -3
  159. package/dist/client/static/js/xml-v1ytr8qz.js +1 -0
  160. package/dist/client/static/js/{xychartDiagram-PMCCYNJV-nb4w7rcg.js → xychartDiagram-PMCCYNJV-svr38ygh.js} +5 -5
  161. package/dist/client/static/js/yaml-txrqz62t.js +1 -0
  162. package/marketplace/plugins/stats/package.json +2 -2
  163. package/marketplace/plugins/stats/src/proc/identity.ts +4 -3
  164. package/package.json +2 -2
  165. package/src/client/App.tsx +1 -1
  166. package/src/client/borders.css +143 -0
  167. package/src/client/components/common/context-usage-button/Ring.tsx +34 -9
  168. package/src/client/components/common/context-usage-button/index.test.tsx +19 -2
  169. package/src/client/components/common/context-usage-button/index.tsx +4 -4
  170. package/src/client/components/common/header-controls/index.test.tsx +26 -59
  171. package/src/client/components/common/header-controls/index.tsx +41 -52
  172. package/src/client/components/common/header-controls/phone-row.test.tsx +265 -0
  173. package/src/client/components/common/header-controls/plugin-entry.test.tsx +25 -3
  174. package/src/client/components/common/header-controls/shell-chrome.test.tsx +2 -2
  175. package/src/client/components/layout/LeftDock.tsx +7 -0
  176. package/src/client/components/layout/desktop-layout/DesktopOverlays.tsx +51 -0
  177. package/src/client/components/layout/desktop-layout/LeftColumn.tsx +117 -15
  178. package/src/client/components/layout/desktop-layout/RightColumn.tsx +257 -0
  179. package/src/client/components/layout/desktop-layout/TopNavbar.tsx +23 -24
  180. package/src/client/components/layout/desktop-layout/WorkspacePanels.tsx +50 -78
  181. package/src/client/components/layout/desktop-layout/index.tsx +73 -73
  182. package/src/client/components/layout/session-sidebar/Footer.test.tsx +20 -0
  183. package/src/client/components/layout/session-sidebar/Footer.tsx +24 -2
  184. package/src/client/components/layout/session-sidebar/Header.test.ts +10 -0
  185. package/src/client/components/layout/session-sidebar/Header.tsx +2 -2
  186. package/src/client/components/mobile/mobile-main-view/Header.test.tsx +2 -3
  187. package/src/client/components/mobile/mobile-main-view/Header.tsx +12 -10
  188. package/src/client/components/settings/Modal.tsx +14 -9
  189. package/src/client/components/settings/ProjectSelectorDropdown.tsx +18 -6
  190. package/src/client/components/settings/SettingsSidebarList.tsx +2 -1
  191. package/src/client/components/settings/Sidebar.tsx +6 -4
  192. package/src/client/components/settings/apply-side-effects.test.ts +17 -0
  193. package/src/client/components/settings/apply-side-effects.ts +26 -5
  194. package/src/client/components/settings/band-height.test.tsx +122 -0
  195. package/src/client/components/settings/categories/AppearanceSettings.test.tsx +144 -0
  196. package/src/client/components/settings/categories/AppearanceSettings.tsx +81 -39
  197. package/src/client/components/settings/categories/ChatSettings.tsx +9 -15
  198. package/src/client/components/settings/categories/UsageSettings.tsx +2 -1
  199. package/src/client/components/settings/categories/appearance-settings/BorderStyleSection.test.tsx +101 -0
  200. package/src/client/components/settings/categories/appearance-settings/BorderStyleSection.tsx +134 -0
  201. package/src/client/components/settings/categories/appearance-settings/EditorBlameSection.tsx +2 -2
  202. package/src/client/components/settings/categories/appearance-settings/EditorFontSection.tsx +5 -5
  203. package/src/client/components/settings/categories/appearance-settings/EditorIndentSection.tsx +2 -2
  204. package/src/client/components/settings/categories/appearance-settings/EditorThemeSection.tsx +6 -6
  205. package/src/client/components/settings/categories/appearance-settings/EditorTypingSection.tsx +2 -2
  206. package/src/client/components/settings/categories/appearance-settings/IconStyleSection.tsx +2 -2
  207. package/src/client/components/settings/categories/appearance-settings/PanelNavSection.tsx +167 -0
  208. package/src/client/components/settings/categories/appearance-settings/SidebarStyleSection.tsx +2 -2
  209. package/src/client/components/settings/categories/appearance-settings/SurfaceStyleSection.tsx +2 -2
  210. package/src/client/components/settings/categories/appearance-settings/ThemeSection.tsx +42 -0
  211. package/src/client/components/settings/categories/appearance-settings/TrayIconSection.tsx +2 -2
  212. package/src/client/components/settings/categories/appearance-settings/groups.test.ts +47 -0
  213. package/src/client/components/settings/categories/appearance-settings/groups.ts +95 -0
  214. package/src/client/components/settings/categories/chat-settings/LayoutSection.tsx +31 -14
  215. package/src/client/components/settings/categories/mcp-settings/SidebarList.tsx +2 -1
  216. package/src/client/components/settings/categories/project-settings/SidebarList.tsx +2 -1
  217. package/src/client/components/settings/categories/provider-settings/SidebarList.tsx +2 -1
  218. package/src/client/components/settings/categories/usage-settings/SidebarList.tsx +2 -1
  219. package/src/client/components/settings/master-detail/GroupDetail.tsx +38 -0
  220. package/src/client/components/settings/{categories/chat-settings/SidebarList.tsx → master-detail/GroupSidebar.tsx} +35 -12
  221. package/src/client/components/settings/master-detail/index.tsx +3 -1
  222. package/src/client/components/settings/pane-header.ts +25 -0
  223. package/src/client/components/workspace/browser-toolbar/index.test.tsx +39 -1
  224. package/src/client/components/workspace/browser-toolbar/index.tsx +53 -17
  225. package/src/client/components/workspace/chat-timeline/ColumnResizeHandle.tsx +107 -0
  226. package/src/client/components/workspace/chat-timeline/ComposerDockFrame.tsx +9 -3
  227. package/src/client/components/workspace/chat-timeline/EmptyWorkspacePrompt.tsx +35 -26
  228. package/src/client/components/workspace/chat-timeline/TimelineBody.tsx +6 -0
  229. package/src/client/components/workspace/chat-timeline/column-resize.test.tsx +292 -0
  230. package/src/client/components/workspace/chat-timeline/composer-dock-frame.test.tsx +5 -3
  231. package/src/client/components/workspace/chat-timeline/tool-renderers/extension-dialog/index.tsx +21 -9
  232. package/src/client/components/workspace/chat-timeline/tool-renderers/panels/TaskResult.tsx +18 -4
  233. package/src/client/components/workspace/chat-timeline/tool-renderers/panels/task-rows.ts +47 -0
  234. package/src/client/components/workspace/context-panel/index.tsx +10 -4
  235. package/src/client/components/workspace/editor/EditorHideButton.tsx +41 -0
  236. package/src/client/components/workspace/editor/EmptyEditor.tsx +11 -2
  237. package/src/client/components/workspace/editor/PluginColumn.tsx +11 -1
  238. package/src/client/components/workspace/editor/Tabs.tsx +8 -0
  239. package/src/client/components/workspace/editor/editor-hide-button.test.ts +144 -0
  240. package/src/client/components/workspace/editor/index.tsx +8 -2
  241. package/src/client/components/workspace/editor/props.ts +9 -0
  242. package/src/client/components/workspace/file-explorer/RowLabel.test.tsx +90 -0
  243. package/src/client/components/workspace/file-explorer/RowLabel.tsx +1 -4
  244. package/src/client/components/workspace/git-panel/commit-modal/CommitRow.test.ts +52 -46
  245. package/src/client/components/workspace/git-panel/commit-modal/CommitRow.tsx +41 -21
  246. package/src/client/components/workspace/git-panel/commit-modal/GraphCanvas.tsx +6 -5
  247. package/src/client/components/workspace/git-panel/commit-modal/index.tsx +19 -22
  248. package/src/client/components/workspace/panel-header/title-policy.test.tsx +62 -0
  249. package/src/client/components/workspace/panel-header/title-policy.tsx +83 -0
  250. package/src/client/components/workspace/panel-tabs/Home.density.test.tsx +122 -0
  251. package/src/client/components/workspace/panel-tabs/Home.test.tsx +137 -0
  252. package/src/client/components/workspace/panel-tabs/Home.tsx +106 -0
  253. package/src/client/components/workspace/panel-tabs/TabStrip.test.tsx +221 -0
  254. package/src/client/components/workspace/panel-tabs/TabStrip.tsx +315 -0
  255. package/src/client/components/workspace/panel-tabs/index.tsx +97 -0
  256. package/src/client/components/workspace/panels/builtin.tsx +9 -0
  257. package/src/client/components/workspace/plan-panel/index.tsx +7 -2
  258. package/src/client/components/workspace/repo-picker/Modal.tsx +1 -1
  259. package/src/client/components/workspace/repo-picker/index.test.tsx +32 -8
  260. package/src/client/components/workspace/repo-picker/index.tsx +2 -2
  261. package/src/client/components/workspace/search-panel/Body.tsx +7 -1
  262. package/src/client/components/workspace/search-panel/index.tsx +2 -1
  263. package/src/client/components/workspace/terminal-panel/Header.tsx +10 -3
  264. package/src/client/components/workspace/terminal-panel/index.tsx +4 -1
  265. package/src/client/components/workspace/todo-panel/index.tsx +6 -1
  266. package/src/client/components/workspace/usage-panel/index.tsx +7 -2
  267. package/src/client/components/workspace/user-browser-panel/AddressBar.tsx +43 -4
  268. package/src/client/components/workspace/user-browser-panel/Frame.tsx +101 -45
  269. package/src/client/components/workspace/user-browser-panel/TabStrip.tsx +107 -0
  270. package/src/client/components/workspace/user-browser-panel/index.tsx +31 -6
  271. package/src/client/glass.test.ts +1 -1
  272. package/src/client/hooks/browser/use-annotate.ts +6 -5
  273. package/src/client/hooks/browser/use-user-browser.test.tsx +279 -0
  274. package/src/client/hooks/browser/use-user-browser.ts +190 -44
  275. package/src/client/hooks/chat/omp/index.ts +2 -6
  276. package/src/client/hooks/chat/timeline/column-drag.ts +171 -0
  277. package/src/client/hooks/chat/timeline/width-mode.test.ts +112 -11
  278. package/src/client/hooks/chat/timeline/width-mode.ts +91 -18
  279. package/src/client/hooks/ui/border-style.test.ts +172 -0
  280. package/src/client/hooks/ui/border-style.ts +60 -0
  281. package/src/client/hooks/ui/navbar-controls.test.ts +27 -1
  282. package/src/client/hooks/ui/navbar-controls.ts +95 -20
  283. package/src/client/hooks/ui/style-attributes.test.ts +2 -0
  284. package/src/client/hooks/workspace/active-project.ts +46 -0
  285. package/src/client/hooks/workspace/commit-expansion.test.ts +135 -0
  286. package/src/client/hooks/workspace/commit-expansion.ts +56 -0
  287. package/src/client/hooks/workspace/panel-nav.test.ts +102 -0
  288. package/src/client/hooks/workspace/panel-nav.ts +95 -0
  289. package/src/client/hooks/workspace/panel-tabs.session.test.tsx +235 -0
  290. package/src/client/hooks/workspace/panel-tabs.ts +194 -0
  291. package/src/client/hooks/workspace/right-open-request.ts +53 -0
  292. package/src/client/hooks/workspace/right-side.test.ts +204 -0
  293. package/src/client/hooks/workspace/right-side.ts +142 -0
  294. package/src/client/main.tsx +9 -4
  295. package/src/client/tailwind.css +6 -0
  296. package/src/server/lib/assets/shell-attributes.server.ts +26 -10
  297. package/src/server/lib/assets/shell-attributes.test.ts +26 -0
  298. package/src/server/lib/changes/capture-client-write.server.ts +45 -0
  299. package/src/server/lib/changes/capture.server.ts +20 -5
  300. package/src/server/lib/db/schema.ts +3 -0
  301. package/src/server/lib/harness/acp/auth.test.ts +69 -0
  302. package/src/server/lib/harness/acp/auth.ts +71 -0
  303. package/src/server/lib/harness/acp/background-replay.test.ts +154 -0
  304. package/src/server/lib/harness/acp/background-replay.ts +92 -0
  305. package/src/server/lib/harness/acp/background-work.ts +80 -50
  306. package/src/server/lib/harness/acp/calls.test.ts +68 -0
  307. package/src/server/lib/harness/acp/calls.ts +13 -0
  308. package/src/server/lib/harness/acp/client-capabilities.ts +5 -2
  309. package/src/server/lib/harness/acp/client-fs.test.ts +13 -0
  310. package/src/server/lib/harness/acp/client-fs.ts +16 -2
  311. package/src/server/lib/harness/acp/client.ts +22 -23
  312. package/src/server/lib/harness/acp/commands.test.ts +19 -0
  313. package/src/server/lib/harness/acp/commands.ts +26 -8
  314. package/src/server/lib/harness/acp/frames.ts +16 -1
  315. package/src/server/lib/harness/acp/grants.server.ts +75 -0
  316. package/src/server/lib/harness/acp/grants.test.ts +65 -0
  317. package/src/server/lib/harness/acp/grants.ts +79 -0
  318. package/src/server/lib/harness/acp/permissions.test.ts +9 -0
  319. package/src/server/lib/harness/acp/permissions.ts +56 -36
  320. package/src/server/lib/harness/acp/prompt-files.test.ts +69 -0
  321. package/src/server/lib/harness/acp/prompt-files.ts +58 -0
  322. package/src/server/lib/harness/acp/prompt.ts +50 -11
  323. package/src/server/lib/harness/acp/protocol.ts +20 -1
  324. package/src/server/lib/harness/acp/session-approvals.ts +45 -0
  325. package/src/server/lib/harness/acp/session-config-view.ts +81 -0
  326. package/src/server/lib/harness/acp/session-config.ts +48 -9
  327. package/src/server/lib/harness/acp/session-handshake.test.ts +71 -2
  328. package/src/server/lib/harness/acp/session-handshake.ts +128 -53
  329. package/src/server/lib/harness/acp/session-intake.test.ts +93 -0
  330. package/src/server/lib/harness/acp/session-intake.ts +75 -0
  331. package/src/server/lib/harness/acp/session-lifecycle.ts +50 -0
  332. package/src/server/lib/harness/acp/session-lost.test.ts +44 -0
  333. package/src/server/lib/harness/acp/session-lost.ts +34 -0
  334. package/src/server/lib/harness/acp/session-notify.ts +47 -0
  335. package/src/server/lib/harness/acp/session-observers.test.ts +4 -4
  336. package/src/server/lib/harness/acp/session-permissions.test.ts +64 -0
  337. package/src/server/lib/harness/acp/session-permissions.ts +9 -4
  338. package/src/server/lib/harness/acp/session-requests.ts +6 -0
  339. package/src/server/lib/harness/acp/session-roots.server.ts +47 -0
  340. package/src/server/lib/harness/acp/session-roots.test.ts +31 -0
  341. package/src/server/lib/harness/acp/session-start.ts +7 -0
  342. package/src/server/lib/harness/acp/session-turns.ts +15 -3
  343. package/src/server/lib/harness/acp/session-wiring.test.ts +53 -0
  344. package/src/server/lib/harness/acp/session-wiring.ts +109 -0
  345. package/src/server/lib/harness/acp/session.test-util.ts +34 -2
  346. package/src/server/lib/harness/acp/session.test.ts +10 -10
  347. package/src/server/lib/harness/acp/session.ts +146 -144
  348. package/src/server/lib/harness/acp/tool-calls.ts +27 -15
  349. package/src/server/lib/harness/acp/tool-identity.test.ts +136 -0
  350. package/src/server/lib/harness/acp/tool-identity.ts +121 -0
  351. package/src/server/lib/harness/acp/turn-cancel.test.ts +79 -0
  352. package/src/server/lib/harness/acp/turn-cancel.ts +61 -0
  353. package/src/server/lib/harness/acp/turn-dispatch.test.ts +103 -0
  354. package/src/server/lib/harness/acp/turn-dispatch.ts +61 -0
  355. package/src/server/lib/harness/acp/turn-queue.ts +43 -0
  356. package/src/server/lib/harness/acp/turn-verdict.ts +102 -0
  357. package/src/server/lib/harness/acp/turn.ts +86 -88
  358. package/src/server/lib/harness/acp/v2.test.ts +9 -0
  359. package/src/server/lib/harness/acp/v2.ts +13 -0
  360. package/src/server/lib/harness/acp/verbs.ts +35 -4
  361. package/src/server/lib/harness/session-lease.server.ts +3 -2
  362. package/src/server/lib/omp/session/delete.server.ts +3 -0
  363. package/src/server/lib/omp/session/lease-probe.server.test.ts +82 -0
  364. package/src/server/lib/omp/session/lease-probe.server.ts +180 -0
  365. package/src/server/lib/omp/session/ownership.server.test.ts +17 -6
  366. package/src/server/lib/omp/session/ownership.server.ts +7 -5
  367. package/src/server/plugins/ssr.ts +6 -3
  368. package/src/shared/lib/browser/user-tabs.test.ts +165 -0
  369. package/src/shared/lib/browser/user-tabs.ts +172 -0
  370. package/src/shared/lib/chat/timeline/width-mode.test.ts +34 -2
  371. package/src/shared/lib/chat/timeline/width-mode.ts +71 -22
  372. package/src/shared/lib/commands/catalog.ts +2 -2
  373. package/src/shared/lib/fs/git-status.test.ts +23 -0
  374. package/src/shared/lib/fs/git-status.ts +15 -0
  375. package/src/shared/lib/icons/tint-hues.generated.ts +20 -20
  376. package/src/shared/lib/settings/defaults.ts +7 -1
  377. package/src/shared/lib/theme/border-style.test.ts +83 -0
  378. package/src/shared/lib/theme/border-style.ts +122 -0
  379. package/src/shared/lib/workspace/keymap.ts +2 -1
  380. package/src/shared/lib/workspace/panel-nav.test.ts +162 -0
  381. package/src/shared/lib/workspace/panel-nav.ts +105 -0
  382. package/src/shared/lib/workspace/panel-tabs-close.test.ts +154 -0
  383. package/src/shared/lib/workspace/panel-tabs.ts +105 -0
  384. package/src/shared/lib/workspace/session-state/cache.ts +22 -0
  385. package/src/shared/lib/workspace/session-state/merge.ts +6 -0
  386. package/src/shared/lib/workspace/session-state/store.ts +23 -0
  387. package/src/shared/types/omp/agent.ts +14 -5
  388. package/src/shared/types/settings/state.ts +50 -3
  389. package/src/test-support/header-controls-harness.ts +22 -0
  390. package/src/test-support/peer-harness.ts +2 -2
  391. package/dist/client/static/js/ImageView-rbejbjwg.js +0 -1
  392. package/dist/client/static/js/LayoutWrapper-mxfsqh57.js +0 -2
  393. package/dist/client/static/js/SessionsView-90z2t4qe.js +0 -1
  394. package/dist/client/static/js/architecture-7GRP2DOG-7j23x20s.js +0 -1
  395. package/dist/client/static/js/bash-vv2ysp0a.js +0 -1
  396. package/dist/client/static/js/c-8jf64j6h.js +0 -1
  397. package/dist/client/static/js/cpp-vh94zee0.js +0 -1
  398. package/dist/client/static/js/css-a13jmmnc.js +0 -1
  399. package/dist/client/static/js/css-p57h1fme.js +0 -1
  400. package/dist/client/static/js/cynefin-OW5HDTMX-me5xnx6a.js +0 -1
  401. package/dist/client/static/js/eventmodeling-NTZA5JFV-5zbvjj84.js +0 -1
  402. package/dist/client/static/js/flowDiagram-KWPJA3E3-1jat076e.js +0 -1
  403. package/dist/client/static/js/gitGraph-4MIJSDKK-tjhkv71w.js +0 -1
  404. package/dist/client/static/js/graphql-kesh8gk0.js +0 -1
  405. package/dist/client/static/js/html-sxpfydga.js +0 -1
  406. package/dist/client/static/js/index-1dwdgp27.js +0 -1
  407. package/dist/client/static/js/index-8y51kgan.js +0 -3
  408. package/dist/client/static/js/index-axszsg7a.js +0 -1
  409. package/dist/client/static/js/index-d8r84zjd.js +0 -12
  410. package/dist/client/static/js/index-egd0vfey.js +0 -1
  411. package/dist/client/static/js/index-enb6chty.js +0 -1
  412. package/dist/client/static/js/index-g3a9j9hf.js +0 -1
  413. package/dist/client/static/js/index-gwqb7m8g.js +0 -1
  414. package/dist/client/static/js/index-j60gtvw8.js +0 -1
  415. package/dist/client/static/js/index-jvs2fvqz.js +0 -2
  416. package/dist/client/static/js/index-kc3c2gzb.js +0 -1
  417. package/dist/client/static/js/index-ksph3kpr.js +0 -2
  418. package/dist/client/static/js/index-qzw4jnnv.js +0 -1
  419. package/dist/client/static/js/index-tnv3dryk.js +0 -9
  420. package/dist/client/static/js/index-vcrh95gf.css +0 -1
  421. package/dist/client/static/js/info-A6RAGUB7-m6qz24p8.js +0 -1
  422. package/dist/client/static/js/ini-1x0ad976.js +0 -1
  423. package/dist/client/static/js/java-3944nq02.js +0 -1
  424. package/dist/client/static/js/json-g5ggnd94.js +0 -1
  425. package/dist/client/static/js/jsx-f6p72qpc.js +0 -1
  426. package/dist/client/static/js/lua-edn2b3wn.js +0 -1
  427. package/dist/client/static/js/markdown-9dhg1fax.js +0 -1
  428. package/dist/client/static/js/one-dark-pro-3vya9z02.js +0 -1
  429. package/dist/client/static/js/one-light-1yrwn9my.js +0 -1
  430. package/dist/client/static/js/packet-AYTQ26CC-ng6wq5xj.js +0 -1
  431. package/dist/client/static/js/pie-WAS4IAKB-rf6jhxf6.js +0 -1
  432. package/dist/client/static/js/properties-fcmj08pv.js +0 -1
  433. package/dist/client/static/js/python-532d8ezm.js +0 -1
  434. package/dist/client/static/js/r-ptmdxs2a.js +0 -1
  435. package/dist/client/static/js/radar-RG4KPBEZ-ygp6hxq4.js +0 -1
  436. package/dist/client/static/js/railroad-74A4TZTK-rxgnrb2g.js +0 -1
  437. package/dist/client/static/js/railroad-abnf-HS5TGJTU-xkv52a2p.js +0 -1
  438. package/dist/client/static/js/railroad-ebnf-LZEXJU2U-bvcktbqh.js +0 -1
  439. package/dist/client/static/js/railroad-peg-WCYAUIDC-9c3v7jsq.js +0 -1
  440. package/dist/client/static/js/swimlanesDiagram-TC7HE7FX-xj123xrp.js +0 -8
  441. package/dist/client/static/js/treeView-Q6P3EWNA-fb58a7z1.js +0 -1
  442. package/dist/client/static/js/treemap-WGGIJYW6-ej4qhksx.js +0 -1
  443. package/dist/client/static/js/tsx-zfy727zs.js +0 -1
  444. package/dist/client/static/js/typescript-683kkkaw.js +0 -1
  445. package/dist/client/static/js/wardley-WFR3VGLG-mkp0kanv.js +0 -1
  446. package/dist/client/static/js/xml-6ct32gys.js +0 -1
  447. package/dist/client/static/js/yaml-1d5m3bfj.js +0 -1
  448. package/src/server/lib/omp/session/lease-flock.server.ts +0 -117
@@ -1 +1 @@
1
- import{fi}from"./index-s78n0dtv.js";import{$e}from"./index-xf36nmbm.js";import{Ta,Ad}from"./index-jz93j0at.js";import{yt}from"./index-sk9ej289.js";import{Lc}from"./index-j17h4z6f.js";var e=Object.freeze(JSON.parse('{"displayName":"Astro","fileTypes":["astro"],"injections":{"L:(meta.script.astro) (meta.lang.js | meta.lang.javascript | meta.lang.partytown | meta.lang.node) - (meta source)":{"patterns":[{"begin":"(?<=>)(?!</)","contentName":"source.js","end":"(?=</)","name":"meta.embedded.block.astro","patterns":[{"include":"source.js"}]}]},"L:(meta.script.astro) (meta.lang.json) - (meta source)":{"patterns":[{"begin":"(?<=>)(?!</)","contentName":"source.json","end":"(?=</)","name":"meta.embedded.block.astro","patterns":[{"include":"source.json"}]}]},"L:(meta.script.astro) (meta.lang.ts | meta.lang.typescript) - (meta source)":{"patterns":[{"begin":"(?<=>)(?!</)","contentName":"source.ts","end":"(?=</)","name":"meta.embedded.block.astro","patterns":[{"include":"source.ts"}]}]},"L:meta.script.astro - meta.lang - (meta source)":{"patterns":[{"begin":"(?<=>)(?!</)","contentName":"source.js","end":"(?=</)","name":"meta.embedded.block.astro","patterns":[{"include":"source.js"}]}]},"L:meta.style.astro - meta.lang - (meta source)":{"patterns":[{"begin":"(?<=>)(?!</)","contentName":"source.css","end":"(?=</)","name":"meta.embedded.block.astro","patterns":[{"include":"source.css"}]}]},"L:meta.style.astro meta.lang.css - (meta source)":{"patterns":[{"begin":"(?<=>)(?!</)","contentName":"source.css","end":"(?=</)","name":"meta.embedded.block.astro","patterns":[{"include":"source.css"}]}]},"L:meta.style.astro meta.lang.less - (meta source)":{"patterns":[{"begin":"(?<=>)(?!</)","contentName":"source.css.less","end":"(?=</)","name":"meta.embedded.block.astro","patterns":[{"include":"source.css.less"}]}]},"L:meta.style.astro meta.lang.postcss - (meta source)":{"patterns":[{"begin":"(?<=>)(?!</)","contentName":"source.css.postcss","end":"(?=</)","name":"meta.embedded.block.astro","patterns":[{"include":"source.css.postcss"}]}]},"L:meta.style.astro meta.lang.sass - (meta source)":{"patterns":[{"begin":"(?<=>)(?!</)","contentName":"source.sass","end":"(?=</)","name":"meta.embedded.block.astro","patterns":[{"include":"source.sass"}]}]},"L:meta.style.astro meta.lang.scss - (meta source)":{"patterns":[{"begin":"(?<=>)(?!</)","contentName":"source.css.scss","end":"(?=</)","name":"meta.embedded.block.astro","patterns":[{"include":"source.css.scss"}]}]},"L:meta.style.astro meta.lang.stylus - (meta source)":{"patterns":[{"begin":"(?<=>)(?!</)","contentName":"source.stylus","end":"(?=</)","name":"meta.embedded.block.astro","patterns":[{"include":"source.stylus"}]}]}},"name":"astro","patterns":[{"include":"#scope"},{"include":"#frontmatter"},{"include":"#text"}],"repository":{"attribute-literal":{"begin":"(`)","end":"\\\\1","name":"string.template.astro","patterns":[{"include":"source.tsx#template-substitution-element"},{"include":"source.tsx#string-character-escape"}]},"attributes":{"patterns":[{"include":"#attributes-events"},{"include":"#attributes-keyvalue"},{"include":"#attributes-interpolated"}]},"attributes-events":{"begin":"(on(s(croll|t(orage|alled)|u(spend|bmit)|e(curitypolicyviolation|ek(ing|ed)|lect))|hashchange|c(hange|o(ntextmenu|py)|u(t|echange)|l(ick|ose)|an(cel|play(through)?))|t(imeupdate|oggle)|in(put|valid)|o((?:n|ff)line)|d(urationchange|r(op|ag(start|over|e(n(ter|d)|xit)|leave)?)|blclick)|un(handledrejection|load)|p(opstate|lay(ing)?|a(ste|use|ge(show|hide))|rogress)|e(nded|rror|mptied)|volumechange|key(down|up|press)|focus|w(heel|aiting)|l(oad(start|e(nd|d((?:|meta)data)))?|anguagechange)|a(uxclick|fterprint|bort)|r(e(s(ize|et)|jectionhandled)|atechange)|m(ouse(o(ut|ver)|down|up|enter|leave|move)|essage(error)?)|b(efore(unload|print)|lur)))(?![-:\\\\\\\\w])","beginCaptures":{"0":{"patterns":[{"match":".*","name":"entity.other.attribute-name.astro"}]}},"end":"(?=\\\\s*+[^=\\\\s])","name":"meta.attribute.$1.astro","patterns":[{"begin":"=","beginCaptures":{"0":{"name":"punctuation.separator.key-value.astro"}},"end":"(?<=[^=\\\\s])(?!\\\\s*=)|(?=/?>)","patterns":[{"include":"#interpolation"},{"include":"#attribute-literal"},{"begin":"(?=[^/<=>`\\\\s]|/(?!>))","end":"(?!\\\\G)","name":"meta.embedded.line.js","patterns":[{"captures":{"0":{"name":"source.js"},"1":{"patterns":[{"include":"source.js"}]}},"match":"(([^\\"\'/<=>`\\\\s]|/(?!>))+)","name":"string.unquoted.astro"},{"begin":"(\\")","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.astro"}},"end":"\\\\1","endCaptures":{"0":{"name":"punctuation.definition.string.end.astro"}},"name":"string.quoted.astro","patterns":[{"captures":{"0":{"patterns":[{"include":"source.js"}]}},"match":"([^\\\\n\\"/]|/(?![*/]))+"},{"begin":"//","beginCaptures":{"0":{"name":"punctuation.definition.comment.js"}},"end":"(?=\\")|\\\\n","name":"comment.line.double-slash.js"},{"begin":"/\\\\*","beginCaptures":{"0":{"name":"punctuation.definition.comment.begin.js"}},"end":"(?=\\")|\\\\*/","endCaptures":{"0":{"name":"punctuation.definition.comment.end.js"}},"name":"comment.block.js"}]},{"begin":"(\')","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.astro"}},"end":"\\\\1","endCaptures":{"0":{"name":"punctuation.definition.string.end.astro"}},"name":"string.quoted.astro","patterns":[{"captures":{"0":{"patterns":[{"include":"source.js"}]}},"match":"([^\\\\n\'/]|/(?![*/]))+"},{"begin":"//","beginCaptures":{"0":{"name":"punctuation.definition.comment.js"}},"end":"(?=\')|\\\\n","name":"comment.line.double-slash.js"},{"begin":"/\\\\*","beginCaptures":{"0":{"name":"punctuation.definition.comment.begin.js"}},"end":"(?=\')|\\\\*/","endCaptures":{"0":{"name":"punctuation.definition.comment.end.js"}},"name":"comment.block.js"}]}]}]}]},"attributes-interpolated":{"begin":"(?<![:=])\\\\s*(\\\\{)","contentName":"meta.embedded.expression.astro source.tsx","end":"(})","patterns":[{"include":"source.tsx"}]},"attributes-keyvalue":{"begin":"([$@_[:alpha:]][-$.:_[:alnum:]]*)","beginCaptures":{"0":{"patterns":[{"match":".*","name":"entity.other.attribute-name.astro"}]}},"end":"(?=\\\\s*+[^=\\\\s])","name":"meta.attribute.$1.astro","patterns":[{"begin":"=","beginCaptures":{"0":{"name":"punctuation.separator.key-value.astro"}},"end":"(?<=[^=\\\\s])(?!\\\\s*=)|(?=/?>)","patterns":[{"include":"#attributes-value"}]}]},"attributes-value":{"patterns":[{"include":"#interpolation"},{"match":"([^\\"\'/<=>`\\\\s]|/(?!>))+","name":"string.unquoted.astro"},{"begin":"([\\"\'])","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.astro"}},"end":"\\\\1","endCaptures":{"0":{"name":"punctuation.definition.string.end.astro"}},"name":"string.quoted.astro"},{"include":"#attribute-literal"}]},"comments":{"begin":"<!--","captures":{"0":{"name":"punctuation.definition.comment.astro"}},"end":"-->","name":"comment.block.astro","patterns":[{"match":"\\\\G-?>|<!--(?!>)|<!-(?=-->)|--!>","name":"invalid.illegal.characters-not-allowed-here.astro"}]},"entities":{"patterns":[{"captures":{"1":{"name":"punctuation.definition.entity.astro"},"912":{"name":"punctuation.definition.entity.astro"}},"match":"(&)(?=[A-Za-z])((a(s(ymp(eq)?|cr|t)|n(d(slope|[dv]|and)?|g(s(t|ph)|zarr|e|le|rt(vb(d)?)?|msd(a([a-h]))?)?)|c(y|irc|d|ute|E)?|tilde|o(pf|gon)|uml|p(id|os|prox(eq)?|[Ee]|acir)?|elig|f(r)?|w((?:con|)int)|l(pha|e(ph|fsym))|acute|ring|grave|m(p|a(cr|lg))|breve)|A(s(sign|cr)|nd|MP|c(y|irc)|tilde|o(pf|gon)|uml|pplyFunction|fr|Elig|lpha|acute|ring|grave|macr|breve))|(B(scr|cy|opf|umpeq|e(cause|ta|rnoullis)|fr|a(ckslash|r(v|wed))|reve)|b(s(cr|im(e)?|ol(hsub|b)?|emi)|n(ot|e(quiv)?)|c(y|ong)|ig(s(tar|qcup)|c(irc|up|ap)|triangle(down|up)|o(times|dot|plus)|uplus|vee|wedge)|o(t(tom)?|pf|wtie|x(h([DUdu])?|times|H([DUdu])?|d([LRlr])|u([LRlr])|plus|D([LRlr])|v([HLRhlr])?|U([LRlr])|V([HLRhlr])?|minus|box))|Not|dquo|u(ll(et)?|mp(e(q)?|E)?)|prime|e(caus(e)?|t(h|ween|a)|psi|rnou|mptyv)|karow|fr|l(ock|k(1([24])|34)|a(nk|ck(square|triangle(down|left|right)?|lozenge)))|a(ck(sim(eq)?|cong|prime|epsilon)|r(vee|wed(ge)?))|r(eve|vbar)|brk(tbrk)?))|(c(s(cr|u(p(e)?|b(e)?))|h(cy|i|eck(mark)?)|ylcty|c(irc|ups(sm)?|edil|a(ps|ron))|tdot|ir(scir|c(eq|le(d(R|circ|S|dash|ast)|arrow(left|right)))?|e|fnint|E|mid)?|o(n(int|g(dot)?)|p(y(sr)?|f|rod)|lon(e(q)?)?|m(p(fn|le(xes|ment))?|ma(t)?))|dot|u(darr([lr])|p(s|c([au]p)|or|dot|brcap)?|e(sc|pr)|vee|wed|larr(p)?|r(vearrow(left|right)|ly(eq(succ|prec)|vee|wedge)|arr(m)?|ren))|e(nt(erdot)?|dil|mptyv)|fr|w((?:con|)int)|lubs(uit)?|a(cute|p(s|c([au]p)|dot|and|brcup)?|r(on|et))|r(oss|arr))|C(scr|hi|c(irc|onint|edil|aron)|ircle(Minus|Times|Dot|Plus)|Hcy|o(n(tourIntegral|int|gruent)|unterClockwiseContourIntegral|p(f|roduct)|lon(e)?)|dot|up(Cap)?|OPY|e(nterDot|dilla)|fr|lo(seCurly((?:Double|)Quote)|ckwiseContourIntegral)|a(yleys|cute|p(italDifferentialD)?)|ross))|(d(s(c([ry])|trok|ol)|har([lr])|c(y|aron)|t(dot|ri(f)?)|i(sin|e|v(ide(ontimes)?|onx)?|am(s|ond(suit)?)?|gamma)|Har|z(cy|igrarr)|o(t(square|plus|eq(dot)?|minus)?|ublebarwedge|pf|wn(harpoon(left|right)|downarrows|arrow)|llar)|d(otseq|a(rr|gger))?|u(har|arr)|jcy|e(lta|g|mptyv)|f(isht|r)|wangle|lc(orn|rop)|a(sh(v)?|leth|rr|gger)|r(c(orn|rop)|bkarow)|b(karow|lac)|Arr)|D(s(cr|trok)|c(y|aron)|Scy|i(fferentialD|a(critical(Grave|Tilde|Do(t|ubleAcute)|Acute)|mond))|o(t(Dot|Equal)?|uble(Right(Tee|Arrow)|ContourIntegral|Do(t|wnArrow)|Up((?:Down|)Arrow)|VerticalBar|L(ong(RightArrow|Left((?:Right|)Arrow))|eft(RightArrow|Tee|Arrow)))|pf|wn(Right(TeeVector|Vector(Bar)?)|Breve|Tee(Arrow)?|arrow|Left(RightVector|TeeVector|Vector(Bar)?)|Arrow(Bar|UpArrow)?))|Zcy|el(ta)?|D(otrahd)?|Jcy|fr|a(shv|rr|gger)))|(e(s(cr|im|dot)|n(sp|g)|c(y|ir(c)?|olon|aron)|t([ah])|o(pf|gon)|dot|u(ro|ml)|p(si(v|lon)?|lus|ar(sl)?)|e|D(D??ot)|q(s(im|lant(less|gtr))|c(irc|olon)|u(iv(DD)?|est|als)|vparsl)|f(Dot|r)|l(s(dot)?|inters|l)?|a(ster|cute)|r(Dot|arr)|g(s(dot)?|rave)?|x(cl|ist|p(onentiale|ectation))|m(sp(1([34]))?|pty(set|v)?|acr))|E(s(cr|im)|c(y|irc|aron)|ta|o(pf|gon)|NG|dot|uml|TH|psilon|qu(ilibrium|al(Tilde)?)|fr|lement|acute|grave|x(ists|ponentialE)|m(pty((?:|Very)SmallSquare)|acr)))|(f(scr|nof|cy|ilig|o(pf|r(k(v)?|all))|jlig|partint|emale|f(ilig|l(l??ig)|r)|l(tns|lig|at)|allingdotseq|r(own|a(sl|c(1([2-68])|78|2([35])|3([458])|45|5([68])))))|F(scr|cy|illed((?:|Very)SmallSquare)|o(uriertrf|pf|rAll)|fr))|(G(scr|c(y|irc|edil)|t|opf|dot|T|Jcy|fr|amma(d)?|reater(Greater|SlantEqual|Tilde|Equal(Less)?|FullEqual|Less)|g|breve)|g(s(cr|im([el])?)|n(sim|e(q(q)?)?|E|ap(prox)?)|c(y|irc)|t(c(c|ir)|dot|quest|lPar|r(sim|dot|eq(q?less)|less|a(pprox|rr)))?|imel|opf|dot|jcy|e(s(cc|dot(o(l)?)?|l(es)?)?|q(slant|q)?|l)?|v(nE|ertneqq)|fr|E(l)?|l([Eaj])?|a(cute|p|mma(d)?)|rave|g(g)?|breve))|(h(s(cr|trok|lash)|y(phen|bull)|circ|o(ok((?:lef|righ)tarrow)|pf|arr|rbar|mtht)|e(llip|arts(uit)?|rcon)|ks([ew]arow)|fr|a(irsp|lf|r(dcy|r(cir|w)?)|milt)|bar|Arr)|H(s(cr|trok)|circ|ilbertSpace|o(pf|rizontalLine)|ump(DownHump|Equal)|fr|a(cek|t)|ARDcy))|(i(s(cr|in(s(v)?|dot|[Ev])?)|n(care|t(cal|prod|e(rcal|gers)|larhk)?|odot|fin(tie)?)?|c(y|irc)?|t(ilde)?|i(nfin|i(i??nt)|ota)?|o(cy|ta|pf|gon)|u(kcy|ml)|jlig|prod|e(cy|xcl)|quest|f([fr])|acute|grave|m(of|ped|a(cr|th|g(part|e|line))))|I(scr|n(t(e(rsection|gral))?|visible(Comma|Times))|c(y|irc)|tilde|o(ta|pf|gon)|dot|u(kcy|ml)|Ocy|Jlig|fr|Ecy|acute|grave|m(plies|a(cr|ginaryI))?))|(j(s(cr|ercy)|c(y|irc)|opf|ukcy|fr|math)|J(s(cr|ercy)|c(y|irc)|opf|ukcy|fr))|(k(scr|hcy|c(y|edil)|opf|jcy|fr|appa(v)?|green)|K(scr|c(y|edil)|Hcy|opf|Jcy|fr|appa))|(l(s(h|cr|trok|im([eg])?|q(uo(r)?|b)|aquo)|h(ar(d|u(l)?)|blk)|n(sim|e(q(q)?)?|E|ap(prox)?)|c(y|ub|e(d??il)|aron)|Barr|t(hree|c(c|ir)|imes|dot|quest|larr|r(i([ef])?|Par))?|Har|o(ng(left((?:|right)arrow)|rightarrow|mapsto)|times|z(enge|f)?|oparrow(left|right)|p(f|lus|ar)|w(ast|bar)|a(ng|rr)|brk)|d(sh|ca|quo(r)?|r((?:d|us)har))|ur((?:ds|u)har)|jcy|par(lt)?|e(s(s(sim|dot|eq(q?gtr)|approx|gtr)|cc|dot(o(r)?)?|g(es)?)?|q(slant|q)?|ft(harpoon(down|up)|threetimes|leftarrows|arrow(tail)?|right(squigarrow|harpoons|arrow(s)?))|g)?|v(nE|ertneqq)|f(isht|loor|r)|E(g)?|l(hard|corner|tri|arr)?|a(ng(d|le)?|cute|t(e(s)?|ail)?|p|emptyv|quo|rr(sim|hk|tl|pl|fs|lp|b(fs)?)?|gran|mbda)|r(har(d)?|corner|tri|arr|m)|g(E)?|m(idot|oust(ache)?)|b(arr|r(k(sl([du])|e)|ac([ek]))|brk)|A(tail|arr|rr))|L(s(h|cr|trok)|c(y|edil|aron)|t|o(ng(RightArrow|left((?:|right)arrow)|rightarrow|Left((?:Right|)Arrow))|pf|wer((?:Righ|Lef)tArrow))|T|e(ss(Greater|SlantEqual|Tilde|EqualGreater|FullEqual|Less)|ft(Right(Vector|Arrow)|Ceiling|T(ee(Vector|Arrow)?|riangle(Bar|Equal)?)|Do(ubleBracket|wn(TeeVector|Vector(Bar)?))|Up(TeeVector|DownVector|Vector(Bar)?)|Vector(Bar)?|arrow|rightarrow|Floor|A(ngleBracket|rrow(RightArrow|Bar)?)))|Jcy|fr|l(eftarrow)?|a(ng|cute|placetrf|rr|mbda)|midot))|(M(scr|cy|inusPlus|opf|u|e(diumSpace|llintrf)|fr|ap)|m(s(cr|tpos)|ho|nplus|c(y|omma)|i(nus(d(u)?|b)?|cro|d(cir|dot|ast)?)|o(dels|pf)|dash|u((?:lti|)map)?|p|easuredangle|DDot|fr|l(cp|dr)|a(cr|p(sto(down|up|left)?)?|l(t(ese)?|e)|rker)))|(n(s(hort(parallel|mid)|c(cue|[er])?|im(e(q)?)?|u(cc(eq)?|p(set(eq(q)?)?|[Ee])?|b(set(eq(q)?)?|[Ee])?)|par|qsu([bp]e)|mid)|Rightarrow|h(par|arr|Arr)|G(t(v)?|g)|c(y|ong(dot)?|up|edil|a(p|ron))|t(ilde|lg|riangle(left(eq)?|right(eq)?)|gl)|i(s(d)?|v)?|o(t(ni(v([abc]))?|in(dot|v([abc])|E)?)?|pf)|dash|u(m(sp|ero)?)?|jcy|p(olint|ar(sl|t|allel)?|r(cue|e(c(eq)?)?)?)|e(s(im|ear)|dot|quiv|ar(hk|r(ow)?)|xist(s)?|Arr)?|v(sim|infin|Harr|dash|Dash|l(t(rie)?|e|Arr)|ap|r(trie|Arr)|g([et]))|fr|w(near|ar(hk|r(ow)?)|Arr)|V([Dd]ash)|l(sim|t(ri(e)?)?|dr|e(s(s)?|q(slant|q)?|ft((?:|right)arrow))?|E|arr|Arr)|a(ng|cute|tur(al(s)?)?|p(id|os|prox|E)?|bla)|r(tri(e)?|ightarrow|arr([cw])?|Arr)|g(sim|t(r)?|e(s|q(slant|q)?)?|E)|mid|L(t(v)?|eft((?:|right)arrow)|l)|b(sp|ump(e)?))|N(scr|c(y|edil|aron)|tilde|o(nBreakingSpace|Break|t(R(ightTriangle(Bar|Equal)?|everseElement)|Greater(Greater|SlantEqual|Tilde|Equal|FullEqual|Less)?|S(u(cceeds(SlantEqual|Tilde|Equal)?|perset(Equal)?|bset(Equal)?)|quareSu(perset(Equal)?|bset(Equal)?))|Hump(DownHump|Equal)|Nested(GreaterGreater|LessLess)|C(ongruent|upCap)|Tilde(Tilde|Equal|FullEqual)?|DoubleVerticalBar|Precedes((?:Slant|)Equal)?|E(qual(Tilde)?|lement|xists)|VerticalBar|Le(ss(Greater|SlantEqual|Tilde|Equal|Less)?|ftTriangle(Bar|Equal)?))?|pf)|u|e(sted(GreaterGreater|LessLess)|wLine|gative(MediumSpace|Thi((?:n|ck)Space)|VeryThinSpace))|Jcy|fr|acute))|(o(s(cr|ol|lash)|h(m|bar)|c(y|ir(c)?)|ti(lde|mes(as)?)|S|int|opf|d(sold|iv|ot|ash|blac)|uml|p(erp|lus|ar)|elig|vbar|f(cir|r)|l(c(ir|ross)|t|ine|arr)|a(st|cute)|r(slope|igof|or|d(er(of)?|[fm])?|v|arr)?|g(t|on|rave)|m(i(nus|cron|d)|ega|acr))|O(s(cr|lash)|c(y|irc)|ti(lde|mes)|opf|dblac|uml|penCurly((?:Double|)Quote)|ver(B(ar|rac(e|ket))|Parenthesis)|fr|Elig|acute|r|grave|m(icron|ega|acr)))|(p(s(cr|i)|h(i(v)?|one|mmat)|cy|i(tchfork|v)?|o(intint|und|pf)|uncsp|er(cnt|tenk|iod|p|mil)|fr|l(us(sim|cir|two|d([ou])|e|acir|mn|b)?|an(ck(h)?|kv))|ar(s(im|l)|t|a(llel)?)?|r(sim|n(sim|E|ap)|cue|ime(s)?|o(d|p(to)?|f(surf|line|alar))|urel|e(c(sim|n(sim|eqq|approx)|curlyeq|eq|approx)?)?|E|ap)?|m)|P(s(cr|i)|hi|cy|i|o(incareplane|pf)|fr|lusMinus|artialD|r(ime|o(duct|portion(al)?)|ecedes(SlantEqual|Tilde|Equal)?)?))|(q(scr|int|opf|u(ot|est(eq)?|at(int|ernions))|prime|fr)|Q(scr|opf|UOT|fr))|(R(s(h|cr)|ho|c(y|edil|aron)|Barr|ight(Ceiling|T(ee(Vector|Arrow)?|riangle(Bar|Equal)?)|Do(ubleBracket|wn(TeeVector|Vector(Bar)?))|Up(TeeVector|DownVector|Vector(Bar)?)|Vector(Bar)?|arrow|Floor|A(ngleBracket|rrow(Bar|LeftArrow)?))|o(undImplies|pf)|uleDelayed|e(verse(UpEquilibrium|E(quilibrium|lement)))?|fr|EG|a(ng|cute|rr(tl)?)|rightarrow)|r(s(h|cr|q(uo(r)?|b)|aquo)|h(o(v)?|ar(d|u(l)?))|nmid|c(y|ub|e(d??il)|aron)|Barr|t(hree|imes|ri([ef]|ltri)?)|i(singdotseq|ng|ght(squigarrow|harpoon(down|up)|threetimes|left(harpoons|arrows)|arrow(tail)?|rightarrows))|Har|o(times|p(f|lus|ar)|a(ng|rr)|brk)|d(sh|ca|quo(r)?|ldhar)|uluhar|p(polint|ar(gt)?)|e(ct|al(s|ine|part)?|g)|f(isht|loor|r)|l(har|arr|m)|a(ng([de]|le)?|c(ute|e)|t(io(nals)?|ail)|dic|emptyv|quo|rr(sim|hk|c|tl|pl|fs|w|lp|ap|b(fs)?)?)|rarr|x|moust(ache)?|b(arr|r(k(sl([du])|e)|ac([ek]))|brk)|A(tail|arr|rr)))|(s(s(cr|tarf|etmn|mile)|h(y|c(hcy|y)|ort(parallel|mid)|arp)|c(sim|y|n(sim|E|ap)|cue|irc|polint|e(dil)?|E|a(p|ron))?|t(ar(f)?|r(ns|aight(phi|epsilon)))|i(gma([fv])?|m(ne|dot|plus|e(q)?|l(E)?|rarr|g(E)?)?)|zlig|o(pf|ftcy|l(b(ar)?)?)|dot([be])?|u(ng|cc(sim|n(sim|eqq|approx)|curlyeq|eq|approx)?|p(s(im|u([bp])|et(neq(q)?|eq(q)?)?)|hs(ol|ub)|1|n([Ee])|2|d(sub|ot)|3|plus|e(dot)?|E|larr|mult)?|m|b(s(im|u([bp])|et(neq(q)?|eq(q)?)?)|n([Ee])|dot|plus|e(dot)?|E|rarr|mult)?)|pa(des(uit)?|r)|e(swar|ct|tm(n|inus)|ar(hk|r(ow)?)|xt|mi|Arr)|q(su(p(set(eq)?|e)?|b(set(eq)?|e)?)|c(up(s)?|ap(s)?)|u(f|ar([ef]))?)|fr(own)?|w(nwar|ar(hk|r(ow)?)|Arr)|larr|acute|rarr|m(t(e(s)?)?|i(d|le)|eparsl|a(shp|llsetminus))|bquo)|S(scr|hort((?:Right|Down|Up|Left)Arrow)|c(y|irc|edil|aron)?|tar|igma|H(cy|CHcy)|opf|u(c(hThat|ceeds(SlantEqual|Tilde|Equal)?)|p(set|erset(Equal)?)?|m|b(set(Equal)?)?)|OFTcy|q(uare(Su(perset(Equal)?|bset(Equal)?)|Intersection|Union)?|rt)|fr|acute|mallCircle))|(t(s(hcy|c([ry])|trok)|h(i(nsp|ck(sim|approx))|orn|e(ta(sym|v)?|re(4|fore))|k(sim|ap))|c(y|edil|aron)|i(nt|lde|mes(d|b(ar)?)?)|o(sa|p(cir|f(ork)?|bot)?|ea)|dot|prime|elrec|fr|w(ixt|ohead((?:lef|righ)tarrow))|a(u|rget)|r(i(sb|time|dot|plus|e|angle(down|q|left(eq)?|right(eq)?)?|minus)|pezium|ade)|brk)|T(s(cr|trok)|RADE|h(i((?:n|ck)Space)|e(ta|refore))|c(y|edil|aron)|S(H??cy)|ilde(Tilde|Equal|FullEqual)?|HORN|opf|fr|a([bu])|ripleDot))|(u(scr|h(ar([lr])|blk)|c(y|irc)|t(ilde|dot|ri(f)?)|Har|o(pf|gon)|d(har|arr|blac)|u(arr|ml)|p(si(h|lon)?|harpoon(left|right)|downarrow|uparrows|lus|arrow)|f(isht|r)|wangle|l(c(orn(er)?|rop)|tri)|a(cute|rr)|r(c(orn(er)?|rop)|tri|ing)|grave|m(l|acr)|br(cy|eve)|Arr)|U(scr|n(ion(Plus)?|der(B(ar|rac(e|ket))|Parenthesis))|c(y|irc)|tilde|o(pf|gon)|dblac|uml|p(si(lon)?|downarrow|Tee(Arrow)?|per((?:Righ|Lef)tArrow)|DownArrow|Equilibrium|arrow|Arrow(Bar|DownArrow)?)|fr|a(cute|rr(ocir)?)|ring|grave|macr|br(cy|eve)))|(v(s(cr|u(pn([Ee])|bn([Ee])))|nsu([bp])|cy|Bar(v)?|zigzag|opf|dash|prop|e(e(eq|bar)?|llip|r(t|bar))|Dash|fr|ltri|a(ngrt|r(s(igma|u(psetneq(q)?|bsetneq(q)?))|nothing|t(heta|riangle(left|right))|p(hi|i|ropto)|epsilon|kappa|r(ho)?))|rtri|Arr)|V(scr|cy|opf|dash(l)?|e(e|r(yThinSpace|t(ical(Bar|Separator|Tilde|Line))?|bar))|Dash|vdash|fr|bar))|(w(scr|circ|opf|p|e(ierp|d(ge(q)?|bar))|fr|r(eath)?)|W(scr|circ|opf|edge|fr))|(X(scr|i|opf|fr)|x(s(cr|qcup)|h([Aa]rr)|nis|c(irc|up|ap)|i|o(time|dot|p(f|lus))|dtri|u(tri|plus)|vee|fr|wedge|l([Aa]rr)|r([Aa]rr)|map))|(y(scr|c(y|irc)|icy|opf|u(cy|ml)|en|fr|ac(y|ute))|Y(scr|c(y|irc)|opf|uml|Icy|Ucy|fr|acute|Acy))|(z(scr|hcy|c(y|aron)|igrarr|opf|dot|e(ta|etrf)|fr|w(n?j)|acute)|Z(scr|c(y|aron)|Hcy|opf|dot|e(ta|roWidthSpace)|fr|acute)))(;)","name":"constant.character.entity.named.$2.astro"},{"captures":{"1":{"name":"punctuation.definition.entity.astro"},"3":{"name":"punctuation.definition.entity.astro"}},"match":"(&)#[0-9]+(;)","name":"constant.character.entity.numeric.decimal.astro"},{"captures":{"1":{"name":"punctuation.definition.entity.astro"},"3":{"name":"punctuation.definition.entity.astro"}},"match":"(&)#[Xx]\\\\h+(;)","name":"constant.character.entity.numeric.hexadecimal.astro"},{"match":"&(?=[0-9A-Za-z]+;)","name":"invalid.illegal.ambiguous-ampersand.astro"}]},"frontmatter":{"begin":"\\\\A(-{3})\\\\s*$","beginCaptures":{"1":{"name":"comment"}},"contentName":"source.ts","end":"(^|\\\\G)(-{3})|\\\\.{3}\\\\s*$","endCaptures":{"2":{"name":"comment"}},"patterns":[{"include":"source.ts"}]},"interpolation":{"patterns":[{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.section.embedded.begin.astro"}},"contentName":"meta.embedded.expression.astro source.tsx","end":"}","endCaptures":{"0":{"name":"punctuation.section.embedded.end.astro"}},"patterns":[{"begin":"\\\\G\\\\s*(?=\\\\{)","end":"(?<=})","patterns":[{"include":"source.tsx#object-literal"}]},{"include":"source.tsx"}]}]},"scope":{"patterns":[{"include":"#comments"},{"include":"#tags"},{"include":"#interpolation"},{"include":"#entities"}]},"tags":{"patterns":[{"include":"#tags-raw"},{"include":"#tags-lang"},{"include":"#tags-void"},{"include":"#tags-general-end"},{"include":"#tags-general-start"}]},"tags-end-node":{"captures":{"1":{"name":"meta.tag.end.astro punctuation.definition.tag.begin.astro"},"2":{"name":"meta.tag.end.astro","patterns":[{"include":"#tags-name"}]},"3":{"name":"meta.tag.end.astro punctuation.definition.tag.end.astro"},"4":{"name":"meta.tag.start.astro punctuation.definition.tag.end.astro"}},"match":"(</)(.*?)\\\\s*(>)|(/>)"},"tags-general-end":{"begin":"(</)([^/>\\\\s]*)","beginCaptures":{"1":{"name":"meta.tag.end.astro punctuation.definition.tag.begin.astro"},"2":{"name":"meta.tag.end.astro","patterns":[{"include":"#tags-name"}]}},"end":"(>)","endCaptures":{"1":{"name":"meta.tag.end.astro punctuation.definition.tag.end.astro"}},"name":"meta.scope.tag.$2.astro"},"tags-general-start":{"begin":"(<)([^/>\\\\s]*)","beginCaptures":{"0":{"patterns":[{"include":"#tags-start-node"}]}},"end":"(/?>)","endCaptures":{"1":{"name":"meta.tag.start.astro punctuation.definition.tag.end.astro"}},"name":"meta.scope.tag.$2.astro","patterns":[{"include":"#tags-start-attributes"}]},"tags-lang":{"begin":"<(s(?:cript|tyle))","beginCaptures":{"0":{"patterns":[{"include":"#tags-start-node"}]}},"end":"</\\\\1\\\\s*>|/>","endCaptures":{"0":{"patterns":[{"include":"#tags-end-node"}]}},"name":"meta.scope.tag.$1.astro meta.$1.astro","patterns":[{"begin":"\\\\G(?=\\\\s*[^>]*?(type|lang)\\\\s*=\\\\s*([\\"\']?)(?:text/)?(application/ld\\\\+json)\\\\2)","end":"(?=</|/>)","name":"meta.lang.json.astro","patterns":[{"include":"#tags-lang-start-attributes"}]},{"begin":"\\\\G(?=\\\\s*[^>]*?(type|lang)\\\\s*=\\\\s*([\\"\']?)(module)\\\\2)","end":"(?=</|/>)","name":"meta.lang.javascript.astro","patterns":[{"include":"#tags-lang-start-attributes"}]},{"begin":"\\\\G(?=\\\\s*[^>]*?(type|lang)\\\\s*=\\\\s*([\\"\']?)(?:text/|application/)?([+/\\\\w]+)\\\\2)","end":"(?=</|/>)","name":"meta.lang.$3.astro","patterns":[{"include":"#tags-lang-start-attributes"}]},{"include":"#tags-lang-start-attributes"}]},"tags-lang-start-attributes":{"begin":"\\\\G","end":"(?=/>)|>","endCaptures":{"0":{"name":"punctuation.definition.tag.end.astro"}},"name":"meta.tag.start.astro","patterns":[{"include":"#attributes"}]},"tags-name":{"patterns":[{"match":"[A-Z][0-9A-Z_a-z]*","name":"support.class.component.astro"},{"match":"[a-z][0-:\\\\w]*-[-0-:\\\\w]*","name":"meta.tag.custom.astro entity.name.tag.astro"},{"match":"[a-z][-0-:\\\\w]*","name":"entity.name.tag.astro"}]},"tags-raw":{"begin":"<([^!/<>?\\\\s]+)(?=[^>]+is:raw).*?","beginCaptures":{"0":{"patterns":[{"include":"#tags-start-node"}]}},"contentName":"source.unknown","end":"</\\\\1\\\\s*>|/>","endCaptures":{"0":{"patterns":[{"include":"#tags-end-node"}]}},"name":"meta.scope.tag.$1.astro meta.raw.astro","patterns":[{"include":"#tags-lang-start-attributes"}]},"tags-start-attributes":{"begin":"\\\\G","end":"(?=/?>)","name":"meta.tag.start.astro","patterns":[{"include":"#attributes"}]},"tags-start-node":{"captures":{"1":{"name":"punctuation.definition.tag.begin.astro"},"2":{"patterns":[{"include":"#tags-name"}]}},"match":"(<)([^/>\\\\s]*)","name":"meta.tag.start.astro"},"tags-void":{"begin":"(<)(area|base|br|col|embed|hr|img|input|link|meta|param|source|track|wbr)(?=\\\\s|/?>)","beginCaptures":{"1":{"name":"punctuation.definition.tag.begin.astro"},"2":{"name":"entity.name.tag.astro"}},"end":"/?>","endCaptures":{"0":{"name":"punctuation.definition.tag.begin.astro"}},"name":"meta.tag.void.astro","patterns":[{"include":"#attributes"}]},"text":{"patterns":[{"begin":"(?<=^|---|[>}])","end":"(?=[<{]|$)","name":"text.astro","patterns":[{"include":"#entities"}]}]}},"scopeName":"source.astro","embeddedLangs":["json","javascript","typescript","css","postcss","tsx"],"embeddedLangsLazy":["sass","scss","stylus","less"]}')),o=[...fi,...$e,...Ta,...yt,...Ad,...Lc,e];export{o as default};
1
+ import{bi}from"./index-as1wptfa.js";import{$e}from"./index-xf36nmbm.js";import{Da,bd}from"./index-gtkhz0hj.js";import{bt}from"./index-jaqjvk22.js";import{Pc}from"./index-barbpakv.js";var e=Object.freeze(JSON.parse('{"displayName":"Astro","fileTypes":["astro"],"injections":{"L:(meta.script.astro) (meta.lang.js | meta.lang.javascript | meta.lang.partytown | meta.lang.node) - (meta source)":{"patterns":[{"begin":"(?<=>)(?!</)","contentName":"source.js","end":"(?=</)","name":"meta.embedded.block.astro","patterns":[{"include":"source.js"}]}]},"L:(meta.script.astro) (meta.lang.json) - (meta source)":{"patterns":[{"begin":"(?<=>)(?!</)","contentName":"source.json","end":"(?=</)","name":"meta.embedded.block.astro","patterns":[{"include":"source.json"}]}]},"L:(meta.script.astro) (meta.lang.ts | meta.lang.typescript) - (meta source)":{"patterns":[{"begin":"(?<=>)(?!</)","contentName":"source.ts","end":"(?=</)","name":"meta.embedded.block.astro","patterns":[{"include":"source.ts"}]}]},"L:meta.script.astro - meta.lang - (meta source)":{"patterns":[{"begin":"(?<=>)(?!</)","contentName":"source.js","end":"(?=</)","name":"meta.embedded.block.astro","patterns":[{"include":"source.js"}]}]},"L:meta.style.astro - meta.lang - (meta source)":{"patterns":[{"begin":"(?<=>)(?!</)","contentName":"source.css","end":"(?=</)","name":"meta.embedded.block.astro","patterns":[{"include":"source.css"}]}]},"L:meta.style.astro meta.lang.css - (meta source)":{"patterns":[{"begin":"(?<=>)(?!</)","contentName":"source.css","end":"(?=</)","name":"meta.embedded.block.astro","patterns":[{"include":"source.css"}]}]},"L:meta.style.astro meta.lang.less - (meta source)":{"patterns":[{"begin":"(?<=>)(?!</)","contentName":"source.css.less","end":"(?=</)","name":"meta.embedded.block.astro","patterns":[{"include":"source.css.less"}]}]},"L:meta.style.astro meta.lang.postcss - (meta source)":{"patterns":[{"begin":"(?<=>)(?!</)","contentName":"source.css.postcss","end":"(?=</)","name":"meta.embedded.block.astro","patterns":[{"include":"source.css.postcss"}]}]},"L:meta.style.astro meta.lang.sass - (meta source)":{"patterns":[{"begin":"(?<=>)(?!</)","contentName":"source.sass","end":"(?=</)","name":"meta.embedded.block.astro","patterns":[{"include":"source.sass"}]}]},"L:meta.style.astro meta.lang.scss - (meta source)":{"patterns":[{"begin":"(?<=>)(?!</)","contentName":"source.css.scss","end":"(?=</)","name":"meta.embedded.block.astro","patterns":[{"include":"source.css.scss"}]}]},"L:meta.style.astro meta.lang.stylus - (meta source)":{"patterns":[{"begin":"(?<=>)(?!</)","contentName":"source.stylus","end":"(?=</)","name":"meta.embedded.block.astro","patterns":[{"include":"source.stylus"}]}]}},"name":"astro","patterns":[{"include":"#scope"},{"include":"#frontmatter"},{"include":"#text"}],"repository":{"attribute-literal":{"begin":"(`)","end":"\\\\1","name":"string.template.astro","patterns":[{"include":"source.tsx#template-substitution-element"},{"include":"source.tsx#string-character-escape"}]},"attributes":{"patterns":[{"include":"#attributes-events"},{"include":"#attributes-keyvalue"},{"include":"#attributes-interpolated"}]},"attributes-events":{"begin":"(on(s(croll|t(orage|alled)|u(spend|bmit)|e(curitypolicyviolation|ek(ing|ed)|lect))|hashchange|c(hange|o(ntextmenu|py)|u(t|echange)|l(ick|ose)|an(cel|play(through)?))|t(imeupdate|oggle)|in(put|valid)|o((?:n|ff)line)|d(urationchange|r(op|ag(start|over|e(n(ter|d)|xit)|leave)?)|blclick)|un(handledrejection|load)|p(opstate|lay(ing)?|a(ste|use|ge(show|hide))|rogress)|e(nded|rror|mptied)|volumechange|key(down|up|press)|focus|w(heel|aiting)|l(oad(start|e(nd|d((?:|meta)data)))?|anguagechange)|a(uxclick|fterprint|bort)|r(e(s(ize|et)|jectionhandled)|atechange)|m(ouse(o(ut|ver)|down|up|enter|leave|move)|essage(error)?)|b(efore(unload|print)|lur)))(?![-:\\\\\\\\w])","beginCaptures":{"0":{"patterns":[{"match":".*","name":"entity.other.attribute-name.astro"}]}},"end":"(?=\\\\s*+[^=\\\\s])","name":"meta.attribute.$1.astro","patterns":[{"begin":"=","beginCaptures":{"0":{"name":"punctuation.separator.key-value.astro"}},"end":"(?<=[^=\\\\s])(?!\\\\s*=)|(?=/?>)","patterns":[{"include":"#interpolation"},{"include":"#attribute-literal"},{"begin":"(?=[^/<=>`\\\\s]|/(?!>))","end":"(?!\\\\G)","name":"meta.embedded.line.js","patterns":[{"captures":{"0":{"name":"source.js"},"1":{"patterns":[{"include":"source.js"}]}},"match":"(([^\\"\'/<=>`\\\\s]|/(?!>))+)","name":"string.unquoted.astro"},{"begin":"(\\")","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.astro"}},"end":"\\\\1","endCaptures":{"0":{"name":"punctuation.definition.string.end.astro"}},"name":"string.quoted.astro","patterns":[{"captures":{"0":{"patterns":[{"include":"source.js"}]}},"match":"([^\\\\n\\"/]|/(?![*/]))+"},{"begin":"//","beginCaptures":{"0":{"name":"punctuation.definition.comment.js"}},"end":"(?=\\")|\\\\n","name":"comment.line.double-slash.js"},{"begin":"/\\\\*","beginCaptures":{"0":{"name":"punctuation.definition.comment.begin.js"}},"end":"(?=\\")|\\\\*/","endCaptures":{"0":{"name":"punctuation.definition.comment.end.js"}},"name":"comment.block.js"}]},{"begin":"(\')","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.astro"}},"end":"\\\\1","endCaptures":{"0":{"name":"punctuation.definition.string.end.astro"}},"name":"string.quoted.astro","patterns":[{"captures":{"0":{"patterns":[{"include":"source.js"}]}},"match":"([^\\\\n\'/]|/(?![*/]))+"},{"begin":"//","beginCaptures":{"0":{"name":"punctuation.definition.comment.js"}},"end":"(?=\')|\\\\n","name":"comment.line.double-slash.js"},{"begin":"/\\\\*","beginCaptures":{"0":{"name":"punctuation.definition.comment.begin.js"}},"end":"(?=\')|\\\\*/","endCaptures":{"0":{"name":"punctuation.definition.comment.end.js"}},"name":"comment.block.js"}]}]}]}]},"attributes-interpolated":{"begin":"(?<![:=])\\\\s*(\\\\{)","contentName":"meta.embedded.expression.astro source.tsx","end":"(})","patterns":[{"include":"source.tsx"}]},"attributes-keyvalue":{"begin":"([$@_[:alpha:]][-$.:_[:alnum:]]*)","beginCaptures":{"0":{"patterns":[{"match":".*","name":"entity.other.attribute-name.astro"}]}},"end":"(?=\\\\s*+[^=\\\\s])","name":"meta.attribute.$1.astro","patterns":[{"begin":"=","beginCaptures":{"0":{"name":"punctuation.separator.key-value.astro"}},"end":"(?<=[^=\\\\s])(?!\\\\s*=)|(?=/?>)","patterns":[{"include":"#attributes-value"}]}]},"attributes-value":{"patterns":[{"include":"#interpolation"},{"match":"([^\\"\'/<=>`\\\\s]|/(?!>))+","name":"string.unquoted.astro"},{"begin":"([\\"\'])","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.astro"}},"end":"\\\\1","endCaptures":{"0":{"name":"punctuation.definition.string.end.astro"}},"name":"string.quoted.astro"},{"include":"#attribute-literal"}]},"comments":{"begin":"<!--","captures":{"0":{"name":"punctuation.definition.comment.astro"}},"end":"-->","name":"comment.block.astro","patterns":[{"match":"\\\\G-?>|<!--(?!>)|<!-(?=-->)|--!>","name":"invalid.illegal.characters-not-allowed-here.astro"}]},"entities":{"patterns":[{"captures":{"1":{"name":"punctuation.definition.entity.astro"},"912":{"name":"punctuation.definition.entity.astro"}},"match":"(&)(?=[A-Za-z])((a(s(ymp(eq)?|cr|t)|n(d(slope|[dv]|and)?|g(s(t|ph)|zarr|e|le|rt(vb(d)?)?|msd(a([a-h]))?)?)|c(y|irc|d|ute|E)?|tilde|o(pf|gon)|uml|p(id|os|prox(eq)?|[Ee]|acir)?|elig|f(r)?|w((?:con|)int)|l(pha|e(ph|fsym))|acute|ring|grave|m(p|a(cr|lg))|breve)|A(s(sign|cr)|nd|MP|c(y|irc)|tilde|o(pf|gon)|uml|pplyFunction|fr|Elig|lpha|acute|ring|grave|macr|breve))|(B(scr|cy|opf|umpeq|e(cause|ta|rnoullis)|fr|a(ckslash|r(v|wed))|reve)|b(s(cr|im(e)?|ol(hsub|b)?|emi)|n(ot|e(quiv)?)|c(y|ong)|ig(s(tar|qcup)|c(irc|up|ap)|triangle(down|up)|o(times|dot|plus)|uplus|vee|wedge)|o(t(tom)?|pf|wtie|x(h([DUdu])?|times|H([DUdu])?|d([LRlr])|u([LRlr])|plus|D([LRlr])|v([HLRhlr])?|U([LRlr])|V([HLRhlr])?|minus|box))|Not|dquo|u(ll(et)?|mp(e(q)?|E)?)|prime|e(caus(e)?|t(h|ween|a)|psi|rnou|mptyv)|karow|fr|l(ock|k(1([24])|34)|a(nk|ck(square|triangle(down|left|right)?|lozenge)))|a(ck(sim(eq)?|cong|prime|epsilon)|r(vee|wed(ge)?))|r(eve|vbar)|brk(tbrk)?))|(c(s(cr|u(p(e)?|b(e)?))|h(cy|i|eck(mark)?)|ylcty|c(irc|ups(sm)?|edil|a(ps|ron))|tdot|ir(scir|c(eq|le(d(R|circ|S|dash|ast)|arrow(left|right)))?|e|fnint|E|mid)?|o(n(int|g(dot)?)|p(y(sr)?|f|rod)|lon(e(q)?)?|m(p(fn|le(xes|ment))?|ma(t)?))|dot|u(darr([lr])|p(s|c([au]p)|or|dot|brcap)?|e(sc|pr)|vee|wed|larr(p)?|r(vearrow(left|right)|ly(eq(succ|prec)|vee|wedge)|arr(m)?|ren))|e(nt(erdot)?|dil|mptyv)|fr|w((?:con|)int)|lubs(uit)?|a(cute|p(s|c([au]p)|dot|and|brcup)?|r(on|et))|r(oss|arr))|C(scr|hi|c(irc|onint|edil|aron)|ircle(Minus|Times|Dot|Plus)|Hcy|o(n(tourIntegral|int|gruent)|unterClockwiseContourIntegral|p(f|roduct)|lon(e)?)|dot|up(Cap)?|OPY|e(nterDot|dilla)|fr|lo(seCurly((?:Double|)Quote)|ckwiseContourIntegral)|a(yleys|cute|p(italDifferentialD)?)|ross))|(d(s(c([ry])|trok|ol)|har([lr])|c(y|aron)|t(dot|ri(f)?)|i(sin|e|v(ide(ontimes)?|onx)?|am(s|ond(suit)?)?|gamma)|Har|z(cy|igrarr)|o(t(square|plus|eq(dot)?|minus)?|ublebarwedge|pf|wn(harpoon(left|right)|downarrows|arrow)|llar)|d(otseq|a(rr|gger))?|u(har|arr)|jcy|e(lta|g|mptyv)|f(isht|r)|wangle|lc(orn|rop)|a(sh(v)?|leth|rr|gger)|r(c(orn|rop)|bkarow)|b(karow|lac)|Arr)|D(s(cr|trok)|c(y|aron)|Scy|i(fferentialD|a(critical(Grave|Tilde|Do(t|ubleAcute)|Acute)|mond))|o(t(Dot|Equal)?|uble(Right(Tee|Arrow)|ContourIntegral|Do(t|wnArrow)|Up((?:Down|)Arrow)|VerticalBar|L(ong(RightArrow|Left((?:Right|)Arrow))|eft(RightArrow|Tee|Arrow)))|pf|wn(Right(TeeVector|Vector(Bar)?)|Breve|Tee(Arrow)?|arrow|Left(RightVector|TeeVector|Vector(Bar)?)|Arrow(Bar|UpArrow)?))|Zcy|el(ta)?|D(otrahd)?|Jcy|fr|a(shv|rr|gger)))|(e(s(cr|im|dot)|n(sp|g)|c(y|ir(c)?|olon|aron)|t([ah])|o(pf|gon)|dot|u(ro|ml)|p(si(v|lon)?|lus|ar(sl)?)|e|D(D??ot)|q(s(im|lant(less|gtr))|c(irc|olon)|u(iv(DD)?|est|als)|vparsl)|f(Dot|r)|l(s(dot)?|inters|l)?|a(ster|cute)|r(Dot|arr)|g(s(dot)?|rave)?|x(cl|ist|p(onentiale|ectation))|m(sp(1([34]))?|pty(set|v)?|acr))|E(s(cr|im)|c(y|irc|aron)|ta|o(pf|gon)|NG|dot|uml|TH|psilon|qu(ilibrium|al(Tilde)?)|fr|lement|acute|grave|x(ists|ponentialE)|m(pty((?:|Very)SmallSquare)|acr)))|(f(scr|nof|cy|ilig|o(pf|r(k(v)?|all))|jlig|partint|emale|f(ilig|l(l??ig)|r)|l(tns|lig|at)|allingdotseq|r(own|a(sl|c(1([2-68])|78|2([35])|3([458])|45|5([68])))))|F(scr|cy|illed((?:|Very)SmallSquare)|o(uriertrf|pf|rAll)|fr))|(G(scr|c(y|irc|edil)|t|opf|dot|T|Jcy|fr|amma(d)?|reater(Greater|SlantEqual|Tilde|Equal(Less)?|FullEqual|Less)|g|breve)|g(s(cr|im([el])?)|n(sim|e(q(q)?)?|E|ap(prox)?)|c(y|irc)|t(c(c|ir)|dot|quest|lPar|r(sim|dot|eq(q?less)|less|a(pprox|rr)))?|imel|opf|dot|jcy|e(s(cc|dot(o(l)?)?|l(es)?)?|q(slant|q)?|l)?|v(nE|ertneqq)|fr|E(l)?|l([Eaj])?|a(cute|p|mma(d)?)|rave|g(g)?|breve))|(h(s(cr|trok|lash)|y(phen|bull)|circ|o(ok((?:lef|righ)tarrow)|pf|arr|rbar|mtht)|e(llip|arts(uit)?|rcon)|ks([ew]arow)|fr|a(irsp|lf|r(dcy|r(cir|w)?)|milt)|bar|Arr)|H(s(cr|trok)|circ|ilbertSpace|o(pf|rizontalLine)|ump(DownHump|Equal)|fr|a(cek|t)|ARDcy))|(i(s(cr|in(s(v)?|dot|[Ev])?)|n(care|t(cal|prod|e(rcal|gers)|larhk)?|odot|fin(tie)?)?|c(y|irc)?|t(ilde)?|i(nfin|i(i??nt)|ota)?|o(cy|ta|pf|gon)|u(kcy|ml)|jlig|prod|e(cy|xcl)|quest|f([fr])|acute|grave|m(of|ped|a(cr|th|g(part|e|line))))|I(scr|n(t(e(rsection|gral))?|visible(Comma|Times))|c(y|irc)|tilde|o(ta|pf|gon)|dot|u(kcy|ml)|Ocy|Jlig|fr|Ecy|acute|grave|m(plies|a(cr|ginaryI))?))|(j(s(cr|ercy)|c(y|irc)|opf|ukcy|fr|math)|J(s(cr|ercy)|c(y|irc)|opf|ukcy|fr))|(k(scr|hcy|c(y|edil)|opf|jcy|fr|appa(v)?|green)|K(scr|c(y|edil)|Hcy|opf|Jcy|fr|appa))|(l(s(h|cr|trok|im([eg])?|q(uo(r)?|b)|aquo)|h(ar(d|u(l)?)|blk)|n(sim|e(q(q)?)?|E|ap(prox)?)|c(y|ub|e(d??il)|aron)|Barr|t(hree|c(c|ir)|imes|dot|quest|larr|r(i([ef])?|Par))?|Har|o(ng(left((?:|right)arrow)|rightarrow|mapsto)|times|z(enge|f)?|oparrow(left|right)|p(f|lus|ar)|w(ast|bar)|a(ng|rr)|brk)|d(sh|ca|quo(r)?|r((?:d|us)har))|ur((?:ds|u)har)|jcy|par(lt)?|e(s(s(sim|dot|eq(q?gtr)|approx|gtr)|cc|dot(o(r)?)?|g(es)?)?|q(slant|q)?|ft(harpoon(down|up)|threetimes|leftarrows|arrow(tail)?|right(squigarrow|harpoons|arrow(s)?))|g)?|v(nE|ertneqq)|f(isht|loor|r)|E(g)?|l(hard|corner|tri|arr)?|a(ng(d|le)?|cute|t(e(s)?|ail)?|p|emptyv|quo|rr(sim|hk|tl|pl|fs|lp|b(fs)?)?|gran|mbda)|r(har(d)?|corner|tri|arr|m)|g(E)?|m(idot|oust(ache)?)|b(arr|r(k(sl([du])|e)|ac([ek]))|brk)|A(tail|arr|rr))|L(s(h|cr|trok)|c(y|edil|aron)|t|o(ng(RightArrow|left((?:|right)arrow)|rightarrow|Left((?:Right|)Arrow))|pf|wer((?:Righ|Lef)tArrow))|T|e(ss(Greater|SlantEqual|Tilde|EqualGreater|FullEqual|Less)|ft(Right(Vector|Arrow)|Ceiling|T(ee(Vector|Arrow)?|riangle(Bar|Equal)?)|Do(ubleBracket|wn(TeeVector|Vector(Bar)?))|Up(TeeVector|DownVector|Vector(Bar)?)|Vector(Bar)?|arrow|rightarrow|Floor|A(ngleBracket|rrow(RightArrow|Bar)?)))|Jcy|fr|l(eftarrow)?|a(ng|cute|placetrf|rr|mbda)|midot))|(M(scr|cy|inusPlus|opf|u|e(diumSpace|llintrf)|fr|ap)|m(s(cr|tpos)|ho|nplus|c(y|omma)|i(nus(d(u)?|b)?|cro|d(cir|dot|ast)?)|o(dels|pf)|dash|u((?:lti|)map)?|p|easuredangle|DDot|fr|l(cp|dr)|a(cr|p(sto(down|up|left)?)?|l(t(ese)?|e)|rker)))|(n(s(hort(parallel|mid)|c(cue|[er])?|im(e(q)?)?|u(cc(eq)?|p(set(eq(q)?)?|[Ee])?|b(set(eq(q)?)?|[Ee])?)|par|qsu([bp]e)|mid)|Rightarrow|h(par|arr|Arr)|G(t(v)?|g)|c(y|ong(dot)?|up|edil|a(p|ron))|t(ilde|lg|riangle(left(eq)?|right(eq)?)|gl)|i(s(d)?|v)?|o(t(ni(v([abc]))?|in(dot|v([abc])|E)?)?|pf)|dash|u(m(sp|ero)?)?|jcy|p(olint|ar(sl|t|allel)?|r(cue|e(c(eq)?)?)?)|e(s(im|ear)|dot|quiv|ar(hk|r(ow)?)|xist(s)?|Arr)?|v(sim|infin|Harr|dash|Dash|l(t(rie)?|e|Arr)|ap|r(trie|Arr)|g([et]))|fr|w(near|ar(hk|r(ow)?)|Arr)|V([Dd]ash)|l(sim|t(ri(e)?)?|dr|e(s(s)?|q(slant|q)?|ft((?:|right)arrow))?|E|arr|Arr)|a(ng|cute|tur(al(s)?)?|p(id|os|prox|E)?|bla)|r(tri(e)?|ightarrow|arr([cw])?|Arr)|g(sim|t(r)?|e(s|q(slant|q)?)?|E)|mid|L(t(v)?|eft((?:|right)arrow)|l)|b(sp|ump(e)?))|N(scr|c(y|edil|aron)|tilde|o(nBreakingSpace|Break|t(R(ightTriangle(Bar|Equal)?|everseElement)|Greater(Greater|SlantEqual|Tilde|Equal|FullEqual|Less)?|S(u(cceeds(SlantEqual|Tilde|Equal)?|perset(Equal)?|bset(Equal)?)|quareSu(perset(Equal)?|bset(Equal)?))|Hump(DownHump|Equal)|Nested(GreaterGreater|LessLess)|C(ongruent|upCap)|Tilde(Tilde|Equal|FullEqual)?|DoubleVerticalBar|Precedes((?:Slant|)Equal)?|E(qual(Tilde)?|lement|xists)|VerticalBar|Le(ss(Greater|SlantEqual|Tilde|Equal|Less)?|ftTriangle(Bar|Equal)?))?|pf)|u|e(sted(GreaterGreater|LessLess)|wLine|gative(MediumSpace|Thi((?:n|ck)Space)|VeryThinSpace))|Jcy|fr|acute))|(o(s(cr|ol|lash)|h(m|bar)|c(y|ir(c)?)|ti(lde|mes(as)?)|S|int|opf|d(sold|iv|ot|ash|blac)|uml|p(erp|lus|ar)|elig|vbar|f(cir|r)|l(c(ir|ross)|t|ine|arr)|a(st|cute)|r(slope|igof|or|d(er(of)?|[fm])?|v|arr)?|g(t|on|rave)|m(i(nus|cron|d)|ega|acr))|O(s(cr|lash)|c(y|irc)|ti(lde|mes)|opf|dblac|uml|penCurly((?:Double|)Quote)|ver(B(ar|rac(e|ket))|Parenthesis)|fr|Elig|acute|r|grave|m(icron|ega|acr)))|(p(s(cr|i)|h(i(v)?|one|mmat)|cy|i(tchfork|v)?|o(intint|und|pf)|uncsp|er(cnt|tenk|iod|p|mil)|fr|l(us(sim|cir|two|d([ou])|e|acir|mn|b)?|an(ck(h)?|kv))|ar(s(im|l)|t|a(llel)?)?|r(sim|n(sim|E|ap)|cue|ime(s)?|o(d|p(to)?|f(surf|line|alar))|urel|e(c(sim|n(sim|eqq|approx)|curlyeq|eq|approx)?)?|E|ap)?|m)|P(s(cr|i)|hi|cy|i|o(incareplane|pf)|fr|lusMinus|artialD|r(ime|o(duct|portion(al)?)|ecedes(SlantEqual|Tilde|Equal)?)?))|(q(scr|int|opf|u(ot|est(eq)?|at(int|ernions))|prime|fr)|Q(scr|opf|UOT|fr))|(R(s(h|cr)|ho|c(y|edil|aron)|Barr|ight(Ceiling|T(ee(Vector|Arrow)?|riangle(Bar|Equal)?)|Do(ubleBracket|wn(TeeVector|Vector(Bar)?))|Up(TeeVector|DownVector|Vector(Bar)?)|Vector(Bar)?|arrow|Floor|A(ngleBracket|rrow(Bar|LeftArrow)?))|o(undImplies|pf)|uleDelayed|e(verse(UpEquilibrium|E(quilibrium|lement)))?|fr|EG|a(ng|cute|rr(tl)?)|rightarrow)|r(s(h|cr|q(uo(r)?|b)|aquo)|h(o(v)?|ar(d|u(l)?))|nmid|c(y|ub|e(d??il)|aron)|Barr|t(hree|imes|ri([ef]|ltri)?)|i(singdotseq|ng|ght(squigarrow|harpoon(down|up)|threetimes|left(harpoons|arrows)|arrow(tail)?|rightarrows))|Har|o(times|p(f|lus|ar)|a(ng|rr)|brk)|d(sh|ca|quo(r)?|ldhar)|uluhar|p(polint|ar(gt)?)|e(ct|al(s|ine|part)?|g)|f(isht|loor|r)|l(har|arr|m)|a(ng([de]|le)?|c(ute|e)|t(io(nals)?|ail)|dic|emptyv|quo|rr(sim|hk|c|tl|pl|fs|w|lp|ap|b(fs)?)?)|rarr|x|moust(ache)?|b(arr|r(k(sl([du])|e)|ac([ek]))|brk)|A(tail|arr|rr)))|(s(s(cr|tarf|etmn|mile)|h(y|c(hcy|y)|ort(parallel|mid)|arp)|c(sim|y|n(sim|E|ap)|cue|irc|polint|e(dil)?|E|a(p|ron))?|t(ar(f)?|r(ns|aight(phi|epsilon)))|i(gma([fv])?|m(ne|dot|plus|e(q)?|l(E)?|rarr|g(E)?)?)|zlig|o(pf|ftcy|l(b(ar)?)?)|dot([be])?|u(ng|cc(sim|n(sim|eqq|approx)|curlyeq|eq|approx)?|p(s(im|u([bp])|et(neq(q)?|eq(q)?)?)|hs(ol|ub)|1|n([Ee])|2|d(sub|ot)|3|plus|e(dot)?|E|larr|mult)?|m|b(s(im|u([bp])|et(neq(q)?|eq(q)?)?)|n([Ee])|dot|plus|e(dot)?|E|rarr|mult)?)|pa(des(uit)?|r)|e(swar|ct|tm(n|inus)|ar(hk|r(ow)?)|xt|mi|Arr)|q(su(p(set(eq)?|e)?|b(set(eq)?|e)?)|c(up(s)?|ap(s)?)|u(f|ar([ef]))?)|fr(own)?|w(nwar|ar(hk|r(ow)?)|Arr)|larr|acute|rarr|m(t(e(s)?)?|i(d|le)|eparsl|a(shp|llsetminus))|bquo)|S(scr|hort((?:Right|Down|Up|Left)Arrow)|c(y|irc|edil|aron)?|tar|igma|H(cy|CHcy)|opf|u(c(hThat|ceeds(SlantEqual|Tilde|Equal)?)|p(set|erset(Equal)?)?|m|b(set(Equal)?)?)|OFTcy|q(uare(Su(perset(Equal)?|bset(Equal)?)|Intersection|Union)?|rt)|fr|acute|mallCircle))|(t(s(hcy|c([ry])|trok)|h(i(nsp|ck(sim|approx))|orn|e(ta(sym|v)?|re(4|fore))|k(sim|ap))|c(y|edil|aron)|i(nt|lde|mes(d|b(ar)?)?)|o(sa|p(cir|f(ork)?|bot)?|ea)|dot|prime|elrec|fr|w(ixt|ohead((?:lef|righ)tarrow))|a(u|rget)|r(i(sb|time|dot|plus|e|angle(down|q|left(eq)?|right(eq)?)?|minus)|pezium|ade)|brk)|T(s(cr|trok)|RADE|h(i((?:n|ck)Space)|e(ta|refore))|c(y|edil|aron)|S(H??cy)|ilde(Tilde|Equal|FullEqual)?|HORN|opf|fr|a([bu])|ripleDot))|(u(scr|h(ar([lr])|blk)|c(y|irc)|t(ilde|dot|ri(f)?)|Har|o(pf|gon)|d(har|arr|blac)|u(arr|ml)|p(si(h|lon)?|harpoon(left|right)|downarrow|uparrows|lus|arrow)|f(isht|r)|wangle|l(c(orn(er)?|rop)|tri)|a(cute|rr)|r(c(orn(er)?|rop)|tri|ing)|grave|m(l|acr)|br(cy|eve)|Arr)|U(scr|n(ion(Plus)?|der(B(ar|rac(e|ket))|Parenthesis))|c(y|irc)|tilde|o(pf|gon)|dblac|uml|p(si(lon)?|downarrow|Tee(Arrow)?|per((?:Righ|Lef)tArrow)|DownArrow|Equilibrium|arrow|Arrow(Bar|DownArrow)?)|fr|a(cute|rr(ocir)?)|ring|grave|macr|br(cy|eve)))|(v(s(cr|u(pn([Ee])|bn([Ee])))|nsu([bp])|cy|Bar(v)?|zigzag|opf|dash|prop|e(e(eq|bar)?|llip|r(t|bar))|Dash|fr|ltri|a(ngrt|r(s(igma|u(psetneq(q)?|bsetneq(q)?))|nothing|t(heta|riangle(left|right))|p(hi|i|ropto)|epsilon|kappa|r(ho)?))|rtri|Arr)|V(scr|cy|opf|dash(l)?|e(e|r(yThinSpace|t(ical(Bar|Separator|Tilde|Line))?|bar))|Dash|vdash|fr|bar))|(w(scr|circ|opf|p|e(ierp|d(ge(q)?|bar))|fr|r(eath)?)|W(scr|circ|opf|edge|fr))|(X(scr|i|opf|fr)|x(s(cr|qcup)|h([Aa]rr)|nis|c(irc|up|ap)|i|o(time|dot|p(f|lus))|dtri|u(tri|plus)|vee|fr|wedge|l([Aa]rr)|r([Aa]rr)|map))|(y(scr|c(y|irc)|icy|opf|u(cy|ml)|en|fr|ac(y|ute))|Y(scr|c(y|irc)|opf|uml|Icy|Ucy|fr|acute|Acy))|(z(scr|hcy|c(y|aron)|igrarr|opf|dot|e(ta|etrf)|fr|w(n?j)|acute)|Z(scr|c(y|aron)|Hcy|opf|dot|e(ta|roWidthSpace)|fr|acute)))(;)","name":"constant.character.entity.named.$2.astro"},{"captures":{"1":{"name":"punctuation.definition.entity.astro"},"3":{"name":"punctuation.definition.entity.astro"}},"match":"(&)#[0-9]+(;)","name":"constant.character.entity.numeric.decimal.astro"},{"captures":{"1":{"name":"punctuation.definition.entity.astro"},"3":{"name":"punctuation.definition.entity.astro"}},"match":"(&)#[Xx]\\\\h+(;)","name":"constant.character.entity.numeric.hexadecimal.astro"},{"match":"&(?=[0-9A-Za-z]+;)","name":"invalid.illegal.ambiguous-ampersand.astro"}]},"frontmatter":{"begin":"\\\\A(-{3})\\\\s*$","beginCaptures":{"1":{"name":"comment"}},"contentName":"source.ts","end":"(^|\\\\G)(-{3})|\\\\.{3}\\\\s*$","endCaptures":{"2":{"name":"comment"}},"patterns":[{"include":"source.ts"}]},"interpolation":{"patterns":[{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.section.embedded.begin.astro"}},"contentName":"meta.embedded.expression.astro source.tsx","end":"}","endCaptures":{"0":{"name":"punctuation.section.embedded.end.astro"}},"patterns":[{"begin":"\\\\G\\\\s*(?=\\\\{)","end":"(?<=})","patterns":[{"include":"source.tsx#object-literal"}]},{"include":"source.tsx"}]}]},"scope":{"patterns":[{"include":"#comments"},{"include":"#tags"},{"include":"#interpolation"},{"include":"#entities"}]},"tags":{"patterns":[{"include":"#tags-raw"},{"include":"#tags-lang"},{"include":"#tags-void"},{"include":"#tags-general-end"},{"include":"#tags-general-start"}]},"tags-end-node":{"captures":{"1":{"name":"meta.tag.end.astro punctuation.definition.tag.begin.astro"},"2":{"name":"meta.tag.end.astro","patterns":[{"include":"#tags-name"}]},"3":{"name":"meta.tag.end.astro punctuation.definition.tag.end.astro"},"4":{"name":"meta.tag.start.astro punctuation.definition.tag.end.astro"}},"match":"(</)(.*?)\\\\s*(>)|(/>)"},"tags-general-end":{"begin":"(</)([^/>\\\\s]*)","beginCaptures":{"1":{"name":"meta.tag.end.astro punctuation.definition.tag.begin.astro"},"2":{"name":"meta.tag.end.astro","patterns":[{"include":"#tags-name"}]}},"end":"(>)","endCaptures":{"1":{"name":"meta.tag.end.astro punctuation.definition.tag.end.astro"}},"name":"meta.scope.tag.$2.astro"},"tags-general-start":{"begin":"(<)([^/>\\\\s]*)","beginCaptures":{"0":{"patterns":[{"include":"#tags-start-node"}]}},"end":"(/?>)","endCaptures":{"1":{"name":"meta.tag.start.astro punctuation.definition.tag.end.astro"}},"name":"meta.scope.tag.$2.astro","patterns":[{"include":"#tags-start-attributes"}]},"tags-lang":{"begin":"<(s(?:cript|tyle))","beginCaptures":{"0":{"patterns":[{"include":"#tags-start-node"}]}},"end":"</\\\\1\\\\s*>|/>","endCaptures":{"0":{"patterns":[{"include":"#tags-end-node"}]}},"name":"meta.scope.tag.$1.astro meta.$1.astro","patterns":[{"begin":"\\\\G(?=\\\\s*[^>]*?(type|lang)\\\\s*=\\\\s*([\\"\']?)(?:text/)?(application/ld\\\\+json)\\\\2)","end":"(?=</|/>)","name":"meta.lang.json.astro","patterns":[{"include":"#tags-lang-start-attributes"}]},{"begin":"\\\\G(?=\\\\s*[^>]*?(type|lang)\\\\s*=\\\\s*([\\"\']?)(module)\\\\2)","end":"(?=</|/>)","name":"meta.lang.javascript.astro","patterns":[{"include":"#tags-lang-start-attributes"}]},{"begin":"\\\\G(?=\\\\s*[^>]*?(type|lang)\\\\s*=\\\\s*([\\"\']?)(?:text/|application/)?([+/\\\\w]+)\\\\2)","end":"(?=</|/>)","name":"meta.lang.$3.astro","patterns":[{"include":"#tags-lang-start-attributes"}]},{"include":"#tags-lang-start-attributes"}]},"tags-lang-start-attributes":{"begin":"\\\\G","end":"(?=/>)|>","endCaptures":{"0":{"name":"punctuation.definition.tag.end.astro"}},"name":"meta.tag.start.astro","patterns":[{"include":"#attributes"}]},"tags-name":{"patterns":[{"match":"[A-Z][0-9A-Z_a-z]*","name":"support.class.component.astro"},{"match":"[a-z][0-:\\\\w]*-[-0-:\\\\w]*","name":"meta.tag.custom.astro entity.name.tag.astro"},{"match":"[a-z][-0-:\\\\w]*","name":"entity.name.tag.astro"}]},"tags-raw":{"begin":"<([^!/<>?\\\\s]+)(?=[^>]+is:raw).*?","beginCaptures":{"0":{"patterns":[{"include":"#tags-start-node"}]}},"contentName":"source.unknown","end":"</\\\\1\\\\s*>|/>","endCaptures":{"0":{"patterns":[{"include":"#tags-end-node"}]}},"name":"meta.scope.tag.$1.astro meta.raw.astro","patterns":[{"include":"#tags-lang-start-attributes"}]},"tags-start-attributes":{"begin":"\\\\G","end":"(?=/?>)","name":"meta.tag.start.astro","patterns":[{"include":"#attributes"}]},"tags-start-node":{"captures":{"1":{"name":"punctuation.definition.tag.begin.astro"},"2":{"patterns":[{"include":"#tags-name"}]}},"match":"(<)([^/>\\\\s]*)","name":"meta.tag.start.astro"},"tags-void":{"begin":"(<)(area|base|br|col|embed|hr|img|input|link|meta|param|source|track|wbr)(?=\\\\s|/?>)","beginCaptures":{"1":{"name":"punctuation.definition.tag.begin.astro"},"2":{"name":"entity.name.tag.astro"}},"end":"/?>","endCaptures":{"0":{"name":"punctuation.definition.tag.begin.astro"}},"name":"meta.tag.void.astro","patterns":[{"include":"#attributes"}]},"text":{"patterns":[{"begin":"(?<=^|---|[>}])","end":"(?=[<{]|$)","name":"text.astro","patterns":[{"include":"#entities"}]}]}},"scopeName":"source.astro","embeddedLangs":["json","javascript","typescript","css","postcss","tsx"],"embeddedLangsLazy":["sass","scss","stylus","less"]}')),o=[...bi,...$e,...Da,...bt,...bd,...Pc,e];export{o as default};
@@ -0,0 +1 @@
1
+ import{Np}from"./index-pysqpc5n.js";export{Np as default};
@@ -1,15 +1,15 @@
1
- import{t,l,mt,ua,C,w,te,R,p,h,ap,Fi,Ko,op,Hl,Wl,Kl,Vl,ip,sp,lp,cp,up,dp,pp,mp,fp,gp,Ap,hp,bp,yp,vp,kp,xp,Vo,Cp,ft,Xe,et,Hn,Wn,fa,Ur,ga,Ms,po,Ps,Dn}from"./index-r11bbnek.js";import{ze}from"./index-n9scbxy5.js";function ye(e){return Array.isArray(e)}function we(e){if(Fi(e))return e;let n=Ko(e);if(!He(e))return{};if(ye(e)){let i=Array.from(e);if(e.length>0&&typeof e[0]==="string"&&Object.hasOwn(e,"index"))i.index=e.index,i.input=e.input;return i}if(Vo(e)){let i=e;return new i.constructor(i.buffer,i.byteOffset,i.length)}if(n==="[object ArrayBuffer]")return new ArrayBuffer(e.byteLength);if(n==="[object DataView]"){let i=e,{buffer:g,byteOffset:f,byteLength:r}=i,d=new ArrayBuffer(r),k=new Uint8Array(g,f,r);return new Uint8Array(d).set(k),new DataView(d)}if(n==="[object Boolean]"||n==="[object Number]"||n==="[object String]"){let g=new e.constructor(e.valueOf());if(n==="[object String]")Ge(g,e);else ce(g,e);return g}if(n==="[object Date]")return new Date(Number(e));if(n==="[object RegExp]"){let i=e,g=new RegExp(i.source,i.flags);return g.lastIndex=i.lastIndex,g}if(n==="[object Symbol]")return Object(Symbol.prototype.valueOf.call(e));if(n==="[object Map]"){let i=e,g=new Map;return i.forEach((f,r)=>{g.set(r,f)}),g}if(n==="[object Set]"){let i=e,g=new Set;return i.forEach((f)=>{g.add(f)}),g}if(n==="[object Arguments]"){let i=e,g={};return ce(g,i),g.length=i.length,g[Symbol.iterator]=i[Symbol.iterator],g}let c={};return qe(c,e),ce(c,e),je(c,e),c}function He(e){switch(Ko(e)){case Vl:case up:case dp:case mp:case Kl:case sp:case kp:case xp:case bp:case yp:case vp:case lp:case Wl:case pp:case op:case cp:case Hl:case ip:case fp:case gp:case Ap:case hp:return!0;default:return!1}}function ce(e,n){for(let c in n)if(Object.hasOwn(n,c))e[c]=n[c]}function je(e,n){let c=Object.getOwnPropertySymbols(n);for(let i=0;i<c.length;i++){let g=c[i];if(Object.prototype.propertyIsEnumerable.call(n,g))e[g]=n[g]}}function Ge(e,n){let c=n.valueOf().length;for(let i in n)if(Object.hasOwn(n,i)&&(Number.isNaN(Number(i))||Number(i)>=c))e[i]=n[i]}function qe(e,n){let c=Object.getPrototypeOf(n);if(c!==null){if(typeof n.constructor==="function")Object.setPrototypeOf(e,c)}}var he=function(){var e=t(function(z,b,a,u){for(a=a||{},u=z.length;u--;a[z[u]]=b);return a},"o"),n=[1,15],c=[1,7],i=[1,13],g=[1,14],f=[1,19],r=[1,16],d=[1,17],k=[1,18],y=[8,30],m=[8,10,21,28,29,30,31,39,43,46],x=[1,23],E=[1,24],D=[8,10,15,16,21,28,29,30,31,39,43,46],L=[8,10,15,16,21,27,28,29,30,31,39,43,46],N=[1,49],T={trace:t(function(){},"trace"),yy:{},symbols_:{error:2,spaceLines:3,SPACELINE:4,NL:5,separator:6,SPACE:7,EOF:8,start:9,BLOCK_DIAGRAM_KEY:10,document:11,stop:12,statement:13,link:14,LINK:15,START_LINK:16,LINK_LABEL:17,STR:18,nodeStatement:19,columnsStatement:20,SPACE_BLOCK:21,blockStatement:22,classDefStatement:23,cssClassStatement:24,styleStatement:25,node:26,SIZE:27,COLUMNS:28,"id-block":29,end:30,NODE_ID:31,nodeShapeNLabel:32,dirList:33,DIR:34,NODE_DSTART:35,NODE_DEND:36,BLOCK_ARROW_START:37,BLOCK_ARROW_END:38,classDef:39,CLASSDEF_ID:40,CLASSDEF_STYLEOPTS:41,DEFAULT:42,class:43,CLASSENTITY_IDS:44,STYLECLASS:45,style:46,STYLE_ENTITY_IDS:47,STYLE_DEFINITION_DATA:48,$accept:0,$end:1},terminals_:{2:"error",4:"SPACELINE",5:"NL",7:"SPACE",8:"EOF",10:"BLOCK_DIAGRAM_KEY",15:"LINK",16:"START_LINK",17:"LINK_LABEL",18:"STR",21:"SPACE_BLOCK",27:"SIZE",28:"COLUMNS",29:"id-block",30:"end",31:"NODE_ID",34:"DIR",35:"NODE_DSTART",36:"NODE_DEND",37:"BLOCK_ARROW_START",38:"BLOCK_ARROW_END",39:"classDef",40:"CLASSDEF_ID",41:"CLASSDEF_STYLEOPTS",42:"DEFAULT",43:"class",44:"CLASSENTITY_IDS",45:"STYLECLASS",46:"style",47:"STYLE_ENTITY_IDS",48:"STYLE_DEFINITION_DATA"},productions_:[0,[3,1],[3,2],[3,2],[6,1],[6,1],[6,1],[9,3],[12,1],[12,1],[12,2],[12,2],[11,1],[11,2],[14,1],[14,4],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[19,3],[19,2],[19,1],[20,1],[22,4],[22,3],[26,1],[26,2],[33,1],[33,2],[32,3],[32,4],[23,3],[23,3],[24,3],[25,3]],performAction:t(function(b,a,u,S,_,s,U){var o=s.length-1;switch(_){case 4:S.getLogger().debug("Rule: separator (NL) ");break;case 5:S.getLogger().debug("Rule: separator (Space) ");break;case 6:S.getLogger().debug("Rule: separator (EOF) ");break;case 7:S.getLogger().debug("Rule: hierarchy: ",s[o-1]),S.setHierarchy(s[o-1]);break;case 8:S.getLogger().debug("Stop NL ");break;case 9:S.getLogger().debug("Stop EOF ");break;case 10:S.getLogger().debug("Stop NL2 ");break;case 11:S.getLogger().debug("Stop EOF2 ");break;case 12:S.getLogger().debug("Rule: statement: ",s[o]),typeof s[o].length==="number"?this.$=s[o]:this.$=[s[o]];break;case 13:S.getLogger().debug("Rule: statement #2: ",s[o-1]),this.$=[s[o-1]].concat(s[o]);break;case 14:S.getLogger().debug("Rule: link: ",s[o],b),this.$={edgeTypeStr:s[o],label:""};break;case 15:S.getLogger().debug("Rule: LABEL link: ",s[o-3],s[o-1],s[o]),this.$={edgeTypeStr:s[o],label:s[o-1]};break;case 18:let W=parseInt(s[o]),X=S.generateId();this.$={id:X,type:"space",label:"",width:W,children:[]};break;case 23:S.getLogger().debug("Rule: (nodeStatement link node) ",s[o-2],s[o-1],s[o]," typestr: ",s[o-1].edgeTypeStr);let j=S.edgeStrToEdgeData(s[o-1].edgeTypeStr),re=S.edgeStrToEdgeStartData(s[o-1].edgeTypeStr),G=S.edgeStrToThickness(s[o-1].edgeTypeStr),se=S.edgeStrToPattern(s[o-1].edgeTypeStr);this.$=[{id:s[o-2].id,label:s[o-2].label,type:s[o-2].type,directions:s[o-2].directions},{id:s[o-2].id+"-"+s[o].id,start:s[o-2].id,end:s[o].id,label:s[o-1].label,type:"edge",thickness:G,pattern:se,directions:s[o].directions,arrowTypeEnd:j,arrowTypeStart:re},{id:s[o].id,label:s[o].label,type:S.typeStr2Type(s[o].typeStr),directions:s[o].directions}];break;case 24:S.getLogger().debug("Rule: nodeStatement (abc88 node size) ",s[o-1],s[o]),this.$={id:s[o-1].id,label:s[o-1].label,type:S.typeStr2Type(s[o-1].typeStr),directions:s[o-1].directions,widthInColumns:parseInt(s[o],10)};break;case 25:S.getLogger().debug("Rule: nodeStatement (node) ",s[o]),this.$={id:s[o].id,label:s[o].label,type:S.typeStr2Type(s[o].typeStr),directions:s[o].directions,widthInColumns:1};break;case 26:S.getLogger().debug("APA123",this?this:"na"),S.getLogger().debug("COLUMNS: ",s[o]),this.$={type:"column-setting",columns:s[o]==="auto"?-1:parseInt(s[o])};break;case 27:S.getLogger().debug("Rule: id-block statement : ",s[o-2],s[o-1]);let I=S.generateId();this.$={...s[o-2],type:"composite",children:s[o-1]};break;case 28:S.getLogger().debug("Rule: blockStatement : ",s[o-2],s[o-1],s[o]);let M=S.generateId();this.$={id:M,type:"composite",label:"",children:s[o-1]};break;case 29:S.getLogger().debug("Rule: node (NODE_ID separator): ",s[o]),this.$={id:s[o]};break;case 30:S.getLogger().debug("Rule: node (NODE_ID nodeShapeNLabel separator): ",s[o-1],s[o]),this.$={id:s[o-1],label:s[o].label,typeStr:s[o].typeStr,directions:s[o].directions};break;case 31:S.getLogger().debug("Rule: dirList: ",s[o]),this.$=[s[o]];break;case 32:S.getLogger().debug("Rule: dirList: ",s[o-1],s[o]),this.$=[s[o-1]].concat(s[o]);break;case 33:S.getLogger().debug("Rule: nodeShapeNLabel: ",s[o-2],s[o-1],s[o]),this.$={typeStr:s[o-2]+s[o],label:s[o-1]};break;case 34:S.getLogger().debug("Rule: BLOCK_ARROW nodeShapeNLabel: ",s[o-3],s[o-2]," #3:",s[o-1],s[o]),this.$={typeStr:s[o-3]+s[o],label:s[o-2],directions:s[o-1]};break;case 35:case 36:this.$={type:"classDef",id:s[o-1].trim(),css:s[o].trim()};break;case 37:this.$={type:"applyClass",id:s[o-1].trim(),styleClass:s[o].trim()};break;case 38:this.$={type:"applyStyles",id:s[o-1].trim(),stylesStr:s[o].trim()};break}},"anonymous"),table:[{9:1,10:[1,2]},{1:[3]},{10:n,11:3,13:4,19:5,20:6,21:c,22:8,23:9,24:10,25:11,26:12,28:i,29:g,31:f,39:r,43:d,46:k},{8:[1,20]},e(y,[2,12],{13:4,19:5,20:6,22:8,23:9,24:10,25:11,26:12,11:21,10:n,21:c,28:i,29:g,31:f,39:r,43:d,46:k}),e(m,[2,16],{14:22,15:x,16:E}),e(m,[2,17]),e(m,[2,18]),e(m,[2,19]),e(m,[2,20]),e(m,[2,21]),e(m,[2,22]),e(D,[2,25],{27:[1,25]}),e(m,[2,26]),{19:26,26:12,31:f},{10:n,11:27,13:4,19:5,20:6,21:c,22:8,23:9,24:10,25:11,26:12,28:i,29:g,31:f,39:r,43:d,46:k},{40:[1,28],42:[1,29]},{44:[1,30]},{47:[1,31]},e(L,[2,29],{32:32,35:[1,33],37:[1,34]}),{1:[2,7]},e(y,[2,13]),{26:35,31:f},{31:[2,14]},{17:[1,36]},e(D,[2,24]),{10:n,11:37,13:4,14:22,15:x,16:E,19:5,20:6,21:c,22:8,23:9,24:10,25:11,26:12,28:i,29:g,31:f,39:r,43:d,46:k},{30:[1,38]},{41:[1,39]},{41:[1,40]},{45:[1,41]},{48:[1,42]},e(L,[2,30]),{18:[1,43]},{18:[1,44]},e(D,[2,23]),{18:[1,45]},{30:[1,46]},e(m,[2,28]),e(m,[2,35]),e(m,[2,36]),e(m,[2,37]),e(m,[2,38]),{36:[1,47]},{33:48,34:N},{15:[1,50]},e(m,[2,27]),e(L,[2,33]),{38:[1,51]},{33:52,34:N,38:[2,31]},{31:[2,15]},e(L,[2,34]),{38:[2,32]}],defaultActions:{20:[2,7],23:[2,14],50:[2,15],52:[2,32]},parseError:t(function(b,a){if(a.recoverable)this.trace(b);else{var u=Error(b);throw u.hash=a,u}},"parseError"),parse:t(function(b){var a=this,u=[0],S=[],_=[null],s=[],U=this.table,o="",W=0,X=0,j=0,re=2,G=1,se=s.slice.call(arguments,1),I=Object.create(this.lexer),M={yy:{}};for(var ie in this.yy)if(Object.prototype.hasOwnProperty.call(this.yy,ie))M.yy[ie]=this.yy[ie];if(I.setInput(b,M.yy),M.yy.lexer=I,M.yy.parser=this,typeof I.yylloc>"u")I.yylloc={};var ae=I.yylloc;s.push(ae);var Ve=I.options&&I.options.ranges;if(typeof M.yy.parseError==="function")this.parseError=M.yy.parseError;else this.parseError=Object.getPrototypeOf(this).parseError;function Ue(P){u.length=u.length-2*P,_.length=_.length-P,s.length=s.length-P}t(Ue,"popStack");function Le(){var P=S.pop()||I.lex()||G;if(typeof P!=="number"){if(P instanceof Array)S=P,P=S.pop();P=a.symbols_[P]||P}return P}t(Le,"lex");var v,ne,Y,B,Tt,oe,V={},q,K,ke,J;while(!0){if(Y=u[u.length-1],this.defaultActions[Y])B=this.defaultActions[Y];else{if(v===null||typeof v>"u")v=Le();B=U[Y]&&U[Y][v]}if(typeof B>"u"||!B.length||!B[0]){var le="";J=[];for(q in U[Y])if(this.terminals_[q]&&q>re)J.push("'"+this.terminals_[q]+"'");if(I.showPosition)le="Parse error on line "+(W+1)+`:
1
+ import{t,l,pt,ua,C,w,te,R,p,h,ip,Pi,Jo,sp,Kl,Vl,Yl,Jl,lp,cp,up,dp,pp,mp,fp,gp,Ap,hp,bp,yp,vp,kp,xp,wp,Cp,Zo,Bp,mt,et,tt,Kn,Vn,fa,Gr,ga,$s,Ao,zs,Qn}from"./index-v5npdwy2.js";import{ze}from"./index-yfjvx4yf.js";function ye(e){return Array.isArray(e)}function we(e){if(Pi(e))return e;let n=Jo(e);if(!He(e))return{};if(ye(e)){let i=Array.from(e);if(e.length>0&&typeof e[0]==="string"&&Object.hasOwn(e,"index"))i.index=e.index,i.input=e.input;return i}if(Zo(e)){let i=e;return new i.constructor(i.buffer,i.byteOffset,i.length)}if(n==="[object ArrayBuffer]")return new ArrayBuffer(e.byteLength);if(n==="[object DataView]"){let i=e,{buffer:g,byteOffset:f,byteLength:r}=i,d=new ArrayBuffer(r),k=new Uint8Array(g,f,r);return new Uint8Array(d).set(k),new DataView(d)}if(n==="[object Boolean]"||n==="[object Number]"||n==="[object String]"){let g=new e.constructor(e.valueOf());if(n==="[object String]")je(g,e);else ce(g,e);return g}if(n==="[object Date]")return new Date(Number(e));if(n==="[object RegExp]"){let i=e,g=new RegExp(i.source,i.flags);return g.lastIndex=i.lastIndex,g}if(n==="[object Symbol]")return Object(Symbol.prototype.valueOf.call(e));if(n==="[object Map]"){let i=e,g=new Map;return i.forEach((f,r)=>{g.set(r,f)}),g}if(n==="[object Set]"){let i=e,g=new Set;return i.forEach((f)=>{g.add(f)}),g}if(n==="[object Arguments]"){let i=e,g={};return ce(g,i),g.length=i.length,g[Symbol.iterator]=i[Symbol.iterator],g}let c={};return Ge(c,e),ce(c,e),Xe(c,e),c}function He(e){switch(Jo(e)){case Jl:case pp:case mp:case gp:case Yl:case cp:case wp:case Cp:case vp:case kp:case xp:case up:case Vl:case fp:case sp:case dp:case Kl:case lp:case Ap:case hp:case bp:case yp:return!0;default:return!1}}function ce(e,n){for(let c in n)if(Object.hasOwn(n,c))e[c]=n[c]}function Xe(e,n){let c=Object.getOwnPropertySymbols(n);for(let i=0;i<c.length;i++){let g=c[i];if(Object.prototype.propertyIsEnumerable.call(n,g))e[g]=n[g]}}function je(e,n){let c=n.valueOf().length;for(let i in n)if(Object.hasOwn(n,i)&&(Number.isNaN(Number(i))||Number(i)>=c))e[i]=n[i]}function Ge(e,n){let c=Object.getPrototypeOf(n);if(c!==null){if(typeof n.constructor==="function")Object.setPrototypeOf(e,c)}}var he=function(){var e=t(function(z,b,a,u){for(a=a||{},u=z.length;u--;a[z[u]]=b);return a},"o"),n=[1,15],c=[1,7],i=[1,13],g=[1,14],f=[1,19],r=[1,16],d=[1,17],k=[1,18],y=[8,30],m=[8,10,21,28,29,30,31,39,43,46],x=[1,23],E=[1,24],D=[8,10,15,16,21,28,29,30,31,39,43,46],L=[8,10,15,16,21,27,28,29,30,31,39,43,46],N=[1,49],T={trace:t(function(){},"trace"),yy:{},symbols_:{error:2,spaceLines:3,SPACELINE:4,NL:5,separator:6,SPACE:7,EOF:8,start:9,BLOCK_DIAGRAM_KEY:10,document:11,stop:12,statement:13,link:14,LINK:15,START_LINK:16,LINK_LABEL:17,STR:18,nodeStatement:19,columnsStatement:20,SPACE_BLOCK:21,blockStatement:22,classDefStatement:23,cssClassStatement:24,styleStatement:25,node:26,SIZE:27,COLUMNS:28,"id-block":29,end:30,NODE_ID:31,nodeShapeNLabel:32,dirList:33,DIR:34,NODE_DSTART:35,NODE_DEND:36,BLOCK_ARROW_START:37,BLOCK_ARROW_END:38,classDef:39,CLASSDEF_ID:40,CLASSDEF_STYLEOPTS:41,DEFAULT:42,class:43,CLASSENTITY_IDS:44,STYLECLASS:45,style:46,STYLE_ENTITY_IDS:47,STYLE_DEFINITION_DATA:48,$accept:0,$end:1},terminals_:{2:"error",4:"SPACELINE",5:"NL",7:"SPACE",8:"EOF",10:"BLOCK_DIAGRAM_KEY",15:"LINK",16:"START_LINK",17:"LINK_LABEL",18:"STR",21:"SPACE_BLOCK",27:"SIZE",28:"COLUMNS",29:"id-block",30:"end",31:"NODE_ID",34:"DIR",35:"NODE_DSTART",36:"NODE_DEND",37:"BLOCK_ARROW_START",38:"BLOCK_ARROW_END",39:"classDef",40:"CLASSDEF_ID",41:"CLASSDEF_STYLEOPTS",42:"DEFAULT",43:"class",44:"CLASSENTITY_IDS",45:"STYLECLASS",46:"style",47:"STYLE_ENTITY_IDS",48:"STYLE_DEFINITION_DATA"},productions_:[0,[3,1],[3,2],[3,2],[6,1],[6,1],[6,1],[9,3],[12,1],[12,1],[12,2],[12,2],[11,1],[11,2],[14,1],[14,4],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[19,3],[19,2],[19,1],[20,1],[22,4],[22,3],[26,1],[26,2],[33,1],[33,2],[32,3],[32,4],[23,3],[23,3],[24,3],[25,3]],performAction:t(function(b,a,u,S,_,s,U){var o=s.length-1;switch(_){case 4:S.getLogger().debug("Rule: separator (NL) ");break;case 5:S.getLogger().debug("Rule: separator (Space) ");break;case 6:S.getLogger().debug("Rule: separator (EOF) ");break;case 7:S.getLogger().debug("Rule: hierarchy: ",s[o-1]),S.setHierarchy(s[o-1]);break;case 8:S.getLogger().debug("Stop NL ");break;case 9:S.getLogger().debug("Stop EOF ");break;case 10:S.getLogger().debug("Stop NL2 ");break;case 11:S.getLogger().debug("Stop EOF2 ");break;case 12:S.getLogger().debug("Rule: statement: ",s[o]),typeof s[o].length==="number"?this.$=s[o]:this.$=[s[o]];break;case 13:S.getLogger().debug("Rule: statement #2: ",s[o-1]),this.$=[s[o-1]].concat(s[o]);break;case 14:S.getLogger().debug("Rule: link: ",s[o],b),this.$={edgeTypeStr:s[o],label:""};break;case 15:S.getLogger().debug("Rule: LABEL link: ",s[o-3],s[o-1],s[o]),this.$={edgeTypeStr:s[o],label:s[o-1]};break;case 18:let W=parseInt(s[o]),X=S.generateId();this.$={id:X,type:"space",label:"",width:W,children:[]};break;case 23:S.getLogger().debug("Rule: (nodeStatement link node) ",s[o-2],s[o-1],s[o]," typestr: ",s[o-1].edgeTypeStr);let j=S.edgeStrToEdgeData(s[o-1].edgeTypeStr),re=S.edgeStrToEdgeStartData(s[o-1].edgeTypeStr),G=S.edgeStrToThickness(s[o-1].edgeTypeStr),se=S.edgeStrToPattern(s[o-1].edgeTypeStr);this.$=[{id:s[o-2].id,label:s[o-2].label,type:s[o-2].type,directions:s[o-2].directions},{id:s[o-2].id+"-"+s[o].id,start:s[o-2].id,end:s[o].id,label:s[o-1].label,type:"edge",thickness:G,pattern:se,directions:s[o].directions,arrowTypeEnd:j,arrowTypeStart:re},{id:s[o].id,label:s[o].label,type:S.typeStr2Type(s[o].typeStr),directions:s[o].directions}];break;case 24:S.getLogger().debug("Rule: nodeStatement (abc88 node size) ",s[o-1],s[o]),this.$={id:s[o-1].id,label:s[o-1].label,type:S.typeStr2Type(s[o-1].typeStr),directions:s[o-1].directions,widthInColumns:parseInt(s[o],10)};break;case 25:S.getLogger().debug("Rule: nodeStatement (node) ",s[o]),this.$={id:s[o].id,label:s[o].label,type:S.typeStr2Type(s[o].typeStr),directions:s[o].directions,widthInColumns:1};break;case 26:S.getLogger().debug("APA123",this?this:"na"),S.getLogger().debug("COLUMNS: ",s[o]),this.$={type:"column-setting",columns:s[o]==="auto"?-1:parseInt(s[o])};break;case 27:S.getLogger().debug("Rule: id-block statement : ",s[o-2],s[o-1]);let I=S.generateId();this.$={...s[o-2],type:"composite",children:s[o-1]};break;case 28:S.getLogger().debug("Rule: blockStatement : ",s[o-2],s[o-1],s[o]);let M=S.generateId();this.$={id:M,type:"composite",label:"",children:s[o-1]};break;case 29:S.getLogger().debug("Rule: node (NODE_ID separator): ",s[o]),this.$={id:s[o]};break;case 30:S.getLogger().debug("Rule: node (NODE_ID nodeShapeNLabel separator): ",s[o-1],s[o]),this.$={id:s[o-1],label:s[o].label,typeStr:s[o].typeStr,directions:s[o].directions};break;case 31:S.getLogger().debug("Rule: dirList: ",s[o]),this.$=[s[o]];break;case 32:S.getLogger().debug("Rule: dirList: ",s[o-1],s[o]),this.$=[s[o-1]].concat(s[o]);break;case 33:S.getLogger().debug("Rule: nodeShapeNLabel: ",s[o-2],s[o-1],s[o]),this.$={typeStr:s[o-2]+s[o],label:s[o-1]};break;case 34:S.getLogger().debug("Rule: BLOCK_ARROW nodeShapeNLabel: ",s[o-3],s[o-2]," #3:",s[o-1],s[o]),this.$={typeStr:s[o-3]+s[o],label:s[o-2],directions:s[o-1]};break;case 35:case 36:this.$={type:"classDef",id:s[o-1].trim(),css:s[o].trim()};break;case 37:this.$={type:"applyClass",id:s[o-1].trim(),styleClass:s[o].trim()};break;case 38:this.$={type:"applyStyles",id:s[o-1].trim(),stylesStr:s[o].trim()};break}},"anonymous"),table:[{9:1,10:[1,2]},{1:[3]},{10:n,11:3,13:4,19:5,20:6,21:c,22:8,23:9,24:10,25:11,26:12,28:i,29:g,31:f,39:r,43:d,46:k},{8:[1,20]},e(y,[2,12],{13:4,19:5,20:6,22:8,23:9,24:10,25:11,26:12,11:21,10:n,21:c,28:i,29:g,31:f,39:r,43:d,46:k}),e(m,[2,16],{14:22,15:x,16:E}),e(m,[2,17]),e(m,[2,18]),e(m,[2,19]),e(m,[2,20]),e(m,[2,21]),e(m,[2,22]),e(D,[2,25],{27:[1,25]}),e(m,[2,26]),{19:26,26:12,31:f},{10:n,11:27,13:4,19:5,20:6,21:c,22:8,23:9,24:10,25:11,26:12,28:i,29:g,31:f,39:r,43:d,46:k},{40:[1,28],42:[1,29]},{44:[1,30]},{47:[1,31]},e(L,[2,29],{32:32,35:[1,33],37:[1,34]}),{1:[2,7]},e(y,[2,13]),{26:35,31:f},{31:[2,14]},{17:[1,36]},e(D,[2,24]),{10:n,11:37,13:4,14:22,15:x,16:E,19:5,20:6,21:c,22:8,23:9,24:10,25:11,26:12,28:i,29:g,31:f,39:r,43:d,46:k},{30:[1,38]},{41:[1,39]},{41:[1,40]},{45:[1,41]},{48:[1,42]},e(L,[2,30]),{18:[1,43]},{18:[1,44]},e(D,[2,23]),{18:[1,45]},{30:[1,46]},e(m,[2,28]),e(m,[2,35]),e(m,[2,36]),e(m,[2,37]),e(m,[2,38]),{36:[1,47]},{33:48,34:N},{15:[1,50]},e(m,[2,27]),e(L,[2,33]),{38:[1,51]},{33:52,34:N,38:[2,31]},{31:[2,15]},e(L,[2,34]),{38:[2,32]}],defaultActions:{20:[2,7],23:[2,14],50:[2,15],52:[2,32]},parseError:t(function(b,a){if(a.recoverable)this.trace(b);else{var u=Error(b);throw u.hash=a,u}},"parseError"),parse:t(function(b){var a=this,u=[0],S=[],_=[null],s=[],U=this.table,o="",W=0,X=0,j=0,re=2,G=1,se=s.slice.call(arguments,1),I=Object.create(this.lexer),M={yy:{}};for(var ie in this.yy)if(Object.prototype.hasOwnProperty.call(this.yy,ie))M.yy[ie]=this.yy[ie];if(I.setInput(b,M.yy),M.yy.lexer=I,M.yy.parser=this,typeof I.yylloc>"u")I.yylloc={};var ae=I.yylloc;s.push(ae);var Ve=I.options&&I.options.ranges;if(typeof M.yy.parseError==="function")this.parseError=M.yy.parseError;else this.parseError=Object.getPrototypeOf(this).parseError;function Ue(P){u.length=u.length-2*P,_.length=_.length-P,s.length=s.length-P}t(Ue,"popStack");function Le(){var P=S.pop()||I.lex()||G;if(typeof P!=="number"){if(P instanceof Array)S=P,P=S.pop();P=a.symbols_[P]||P}return P}t(Le,"lex");var v,ne,Y,B,Tt,oe,V={},q,K,ke,J;while(!0){if(Y=u[u.length-1],this.defaultActions[Y])B=this.defaultActions[Y];else{if(v===null||typeof v>"u")v=Le();B=U[Y]&&U[Y][v]}if(typeof B>"u"||!B.length||!B[0]){var le="";J=[];for(q in U[Y])if(this.terminals_[q]&&q>re)J.push("'"+this.terminals_[q]+"'");if(I.showPosition)le="Parse error on line "+(W+1)+`:
2
2
  `+I.showPosition()+`
3
3
  Expecting `+J.join(", ")+", got '"+(this.terminals_[v]||v)+"'";else le="Parse error on line "+(W+1)+": Unexpected "+(v==G?"end of input":"'"+(this.terminals_[v]||v)+"'");this.parseError(le,{text:I.match,token:this.terminals_[v]||v,line:I.yylineno,loc:ae,expected:J})}if(B[0]instanceof Array&&B.length>1)throw Error("Parse Error: multiple actions possible at state: "+Y+", token: "+v);switch(B[0]){case 1:if(u.push(v),_.push(I.yytext),s.push(I.yylloc),u.push(B[1]),v=null,!ne){if(X=I.yyleng,o=I.yytext,W=I.yylineno,ae=I.yylloc,j>0)j--}else v=ne,ne=null;break;case 2:if(K=this.productions_[B[1]][1],V.$=_[_.length-K],V._$={first_line:s[s.length-(K||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(K||1)].first_column,last_column:s[s.length-1].last_column},Ve)V._$.range=[s[s.length-(K||1)].range[0],s[s.length-1].range[1]];if(oe=this.performAction.apply(V,[o,X,W,M.yy,B[1],_,s].concat(se)),typeof oe<"u")return oe;if(K)u=u.slice(0,-1*K*2),_=_.slice(0,-1*K),s=s.slice(0,-1*K);u.push(this.productions_[B[1]][0]),_.push(V.$),s.push(V._$),ke=U[u[u.length-2]][u[u.length-1]],u.push(ke);break;case 3:return!0}}return!0},"parse")},O=function(){var z={EOF:1,parseError:t(function(a,u){if(this.yy.parser)this.yy.parser.parseError(a,u);else throw Error(a)},"parseError"),setInput:t(function(b,a){if(this.yy=a||this.yy||{},this._input=b,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];return this.offset=0,this},"setInput"),input:t(function(){var b=this._input[0];this.yytext+=b,this.yyleng++,this.offset++,this.match+=b,this.matched+=b;var a=b.match(/(?:\r\n?|\n).*/g);if(a)this.yylineno++,this.yylloc.last_line++;else this.yylloc.last_column++;if(this.options.ranges)this.yylloc.range[1]++;return this._input=this._input.slice(1),b},"input"),unput:t(function(b){var a=b.length,u=b.split(/(?:\r\n?|\n)/g);this._input=b+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-a),this.offset-=a;var S=this.match.split(/(?:\r\n?|\n)/g);if(this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),u.length-1)this.yylineno-=u.length-1;var _=this.yylloc.range;if(this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:u?(u.length===S.length?this.yylloc.first_column:0)+S[S.length-u.length].length-u[0].length:this.yylloc.first_column-a},this.options.ranges)this.yylloc.range=[_[0],_[0]+this.yyleng-a];return this.yyleng=this.yytext.length,this},"unput"),more:t(function(){return this._more=!0,this},"more"),reject:t(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
4
4
  `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:t(function(b){this.unput(this.match.slice(b))},"less"),pastInput:t(function(){var b=this.matched.substr(0,this.matched.length-this.match.length);return(b.length>20?"...":"")+b.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:t(function(){var b=this.match;if(b.length<20)b+=this._input.substr(0,20-b.length);return(b.substr(0,20)+(b.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:t(function(){var b=this.pastInput(),a=Array(b.length+1).join("-");return b+this.upcomingInput()+`
5
5
  `+a+"^"},"showPosition"),test_match:t(function(b,a){var u,S,_;if(this.options.backtrack_lexer){if(_={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)_.yylloc.range=this.yylloc.range.slice(0)}if(S=b[0].match(/(?:\r\n?|\n).*/g),S)this.yylineno+=S.length;if(this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:S?S[S.length-1].length-S[S.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+b[0].length},this.yytext+=b[0],this.match+=b[0],this.matches=b,this.yyleng=this.yytext.length,this.options.ranges)this.yylloc.range=[this.offset,this.offset+=this.yyleng];if(this._more=!1,this._backtrack=!1,this._input=this._input.slice(b[0].length),this.matched+=b[0],u=this.performAction.call(this,this.yy,this,a,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input)this.done=!1;if(u)return u;else if(this._backtrack){for(var s in _)this[s]=_[s];return!1}return!1},"test_match"),next:t(function(){if(this.done)return this.EOF;if(!this._input)this.done=!0;var b,a,u,S;if(!this._more)this.yytext="",this.match="";var _=this._currentRules();for(var s=0;s<_.length;s++)if(u=this._input.match(this.rules[_[s]]),u&&(!a||u[0].length>a[0].length)){if(a=u,S=s,this.options.backtrack_lexer)if(b=this.test_match(u,_[s]),b!==!1)return b;else if(this._backtrack){a=!1;continue}else return!1;else if(!this.options.flex)break}if(a){if(b=this.test_match(a,_[S]),b!==!1)return b;return!1}if(this._input==="")return this.EOF;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
6
- `+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:t(function(){var a=this.next();if(a)return a;else return this.lex()},"lex"),begin:t(function(a){this.conditionStack.push(a)},"begin"),popState:t(function(){var a=this.conditionStack.length-1;if(a>0)return this.conditionStack.pop();else return this.conditionStack[0]},"popState"),_currentRules:t(function(){if(this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1])return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules;else return this.conditions.INITIAL.rules},"_currentRules"),topState:t(function(a){if(a=this.conditionStack.length-1-Math.abs(a||0),a>=0)return this.conditionStack[a];else return"INITIAL"},"topState"),pushState:t(function(a){this.begin(a)},"pushState"),stateStackSize:t(function(){return this.conditionStack.length},"stateStackSize"),options:{},performAction:t(function(a,u,S,_){var s=_;switch(S){case 0:return a.getLogger().debug("Found block-beta"),10;break;case 1:return a.getLogger().debug("Found id-block"),29;break;case 2:return a.getLogger().debug("Found block"),10;break;case 3:a.getLogger().debug(".",u.yytext);break;case 4:a.getLogger().debug("_",u.yytext);break;case 5:return 5;case 6:return u.yytext=-1,28;break;case 7:return u.yytext=u.yytext.replace(/columns\s+/,""),a.getLogger().debug("COLUMNS (LEX)",u.yytext),28;break;case 8:this.pushState("md_string");break;case 9:return"MD_STR";case 10:this.popState();break;case 11:this.pushState("string");break;case 12:a.getLogger().debug("LEX: POPPING STR:",u.yytext),this.popState();break;case 13:return a.getLogger().debug("LEX: STR end:",u.yytext),"STR";break;case 14:return u.yytext=u.yytext.replace(/space\:/,""),a.getLogger().debug("SPACE NUM (LEX)",u.yytext),21;break;case 15:return u.yytext="1",a.getLogger().debug("COLUMNS (LEX)",u.yytext),21;break;case 16:return 42;case 17:return"LINKSTYLE";case 18:return"INTERPOLATE";case 19:return this.pushState("CLASSDEF"),39;break;case 20:return this.popState(),this.pushState("CLASSDEFID"),"DEFAULT_CLASSDEF_ID";break;case 21:return this.popState(),this.pushState("CLASSDEFID"),40;break;case 22:return this.popState(),41;break;case 23:return this.pushState("CLASS"),43;break;case 24:return this.popState(),this.pushState("CLASS_STYLE"),44;break;case 25:return this.popState(),45;break;case 26:return this.pushState("STYLE_STMNT"),46;break;case 27:return this.popState(),this.pushState("STYLE_DEFINITION"),47;break;case 28:return this.popState(),48;break;case 29:return this.pushState("acc_title"),"acc_title";break;case 30:return this.popState(),"acc_title_value";break;case 31:return this.pushState("acc_descr"),"acc_descr";break;case 32:return this.popState(),"acc_descr_value";break;case 33:this.pushState("acc_descr_multiline");break;case 34:this.popState();break;case 35:return"acc_descr_multiline_value";case 36:return 30;case 37:return this.popState(),a.getLogger().debug("Lex: (("),"NODE_DEND";break;case 38:return this.popState(),a.getLogger().debug("Lex: (("),"NODE_DEND";break;case 39:return this.popState(),a.getLogger().debug("Lex: ))"),"NODE_DEND";break;case 40:return this.popState(),a.getLogger().debug("Lex: (("),"NODE_DEND";break;case 41:return this.popState(),a.getLogger().debug("Lex: (("),"NODE_DEND";break;case 42:return this.popState(),a.getLogger().debug("Lex: (-"),"NODE_DEND";break;case 43:return this.popState(),a.getLogger().debug("Lex: -)"),"NODE_DEND";break;case 44:return this.popState(),a.getLogger().debug("Lex: (("),"NODE_DEND";break;case 45:return this.popState(),a.getLogger().debug("Lex: ]]"),"NODE_DEND";break;case 46:return this.popState(),a.getLogger().debug("Lex: ("),"NODE_DEND";break;case 47:return this.popState(),a.getLogger().debug("Lex: ])"),"NODE_DEND";break;case 48:return this.popState(),a.getLogger().debug("Lex: /]"),"NODE_DEND";break;case 49:return this.popState(),a.getLogger().debug("Lex: /]"),"NODE_DEND";break;case 50:return this.popState(),a.getLogger().debug("Lex: )]"),"NODE_DEND";break;case 51:return this.popState(),a.getLogger().debug("Lex: )"),"NODE_DEND";break;case 52:return this.popState(),a.getLogger().debug("Lex: ]>"),"NODE_DEND";break;case 53:return this.popState(),a.getLogger().debug("Lex: ]"),"NODE_DEND";break;case 54:return a.getLogger().debug("Lexa: -)"),this.pushState("NODE"),35;break;case 55:return a.getLogger().debug("Lexa: (-"),this.pushState("NODE"),35;break;case 56:return a.getLogger().debug("Lexa: ))"),this.pushState("NODE"),35;break;case 57:return a.getLogger().debug("Lexa: )"),this.pushState("NODE"),35;break;case 58:return a.getLogger().debug("Lex: ((("),this.pushState("NODE"),35;break;case 59:return a.getLogger().debug("Lexa: )"),this.pushState("NODE"),35;break;case 60:return a.getLogger().debug("Lexa: )"),this.pushState("NODE"),35;break;case 61:return a.getLogger().debug("Lexa: )"),this.pushState("NODE"),35;break;case 62:return a.getLogger().debug("Lexc: >"),this.pushState("NODE"),35;break;case 63:return a.getLogger().debug("Lexa: (["),this.pushState("NODE"),35;break;case 64:return a.getLogger().debug("Lexa: )"),this.pushState("NODE"),35;break;case 65:return this.pushState("NODE"),35;break;case 66:return this.pushState("NODE"),35;break;case 67:return this.pushState("NODE"),35;break;case 68:return this.pushState("NODE"),35;break;case 69:return this.pushState("NODE"),35;break;case 70:return this.pushState("NODE"),35;break;case 71:return this.pushState("NODE"),35;break;case 72:return a.getLogger().debug("Lexa: ["),this.pushState("NODE"),35;break;case 73:return this.pushState("BLOCK_ARROW"),a.getLogger().debug("LEX ARR START"),37;break;case 74:return a.getLogger().debug("Lex: NODE_ID",u.yytext),31;break;case 75:return a.getLogger().debug("Lex: EOF",u.yytext),8;break;case 76:this.pushState("md_string");break;case 77:this.pushState("md_string");break;case 78:return"NODE_DESCR";case 79:this.popState();break;case 80:a.getLogger().debug("Lex: Starting string"),this.pushState("string");break;case 81:a.getLogger().debug("LEX ARR: Starting string"),this.pushState("string");break;case 82:return a.getLogger().debug("LEX: NODE_DESCR:",u.yytext),"NODE_DESCR";break;case 83:a.getLogger().debug("LEX POPPING"),this.popState();break;case 84:a.getLogger().debug("Lex: =>BAE"),this.pushState("ARROW_DIR");break;case 85:return u.yytext=u.yytext.replace(/^,\s*/,""),a.getLogger().debug("Lex (right): dir:",u.yytext),"DIR";break;case 86:return u.yytext=u.yytext.replace(/^,\s*/,""),a.getLogger().debug("Lex (left):",u.yytext),"DIR";break;case 87:return u.yytext=u.yytext.replace(/^,\s*/,""),a.getLogger().debug("Lex (x):",u.yytext),"DIR";break;case 88:return u.yytext=u.yytext.replace(/^,\s*/,""),a.getLogger().debug("Lex (y):",u.yytext),"DIR";break;case 89:return u.yytext=u.yytext.replace(/^,\s*/,""),a.getLogger().debug("Lex (up):",u.yytext),"DIR";break;case 90:return u.yytext=u.yytext.replace(/^,\s*/,""),a.getLogger().debug("Lex (down):",u.yytext),"DIR";break;case 91:return u.yytext="]>",a.getLogger().debug("Lex (ARROW_DIR end):",u.yytext),this.popState(),this.popState(),"BLOCK_ARROW_END";break;case 92:return a.getLogger().debug("Lex: LINK","#"+u.yytext+"#"),15;break;case 93:return a.getLogger().debug("Lex: LINK",u.yytext),15;break;case 94:return a.getLogger().debug("Lex: LINK",u.yytext),15;break;case 95:return a.getLogger().debug("Lex: LINK",u.yytext),15;break;case 96:return a.getLogger().debug("Lex: START_LINK",u.yytext),this.pushState("LLABEL"),16;break;case 97:return a.getLogger().debug("Lex: START_LINK",u.yytext),this.pushState("LLABEL"),16;break;case 98:return a.getLogger().debug("Lex: START_LINK",u.yytext),this.pushState("LLABEL"),16;break;case 99:this.pushState("md_string");break;case 100:return a.getLogger().debug("Lex: Starting string"),this.pushState("string"),"LINK_LABEL";break;case 101:return this.popState(),a.getLogger().debug("Lex: LINK","#"+u.yytext+"#"),15;break;case 102:return this.popState(),a.getLogger().debug("Lex: LINK",u.yytext),15;break;case 103:return this.popState(),a.getLogger().debug("Lex: LINK",u.yytext),15;break;case 104:return a.getLogger().debug("Lex: COLON",u.yytext),u.yytext=u.yytext.slice(1),27;break}},"anonymous"),rules:[/^(?:block-beta\b)/,/^(?:block:)/,/^(?:block\b)/,/^(?:[\s]+)/,/^(?:[\n]+)/,/^(?:((\u000D\u000A)|(\u000A)))/,/^(?:columns\s+auto\b)/,/^(?:columns\s+[\d]+)/,/^(?:["][`])/,/^(?:[^`"]+)/,/^(?:[`]["])/,/^(?:["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:space[:]\d+)/,/^(?:space\b)/,/^(?:default\b)/,/^(?:linkStyle\b)/,/^(?:interpolate\b)/,/^(?:classDef\s+)/,/^(?:DEFAULT\s+)/,/^(?:\w+\s+)/,/^(?:[^\n]*)/,/^(?:class\s+)/,/^(?:(\w+)+((,\s*\w+)*))/,/^(?:[^\n]*)/,/^(?:style\s+)/,/^(?:(\w+)+((,\s*\w+)*))/,/^(?:[^\n]*)/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:end\b\s*)/,/^(?:\(\(\()/,/^(?:\)\)\))/,/^(?:[\)]\))/,/^(?:\}\})/,/^(?:\})/,/^(?:\(-)/,/^(?:-\))/,/^(?:\(\()/,/^(?:\]\])/,/^(?:\()/,/^(?:\]\))/,/^(?:\\\])/,/^(?:\/\])/,/^(?:\)\])/,/^(?:[\)])/,/^(?:\]>)/,/^(?:[\]])/,/^(?:-\))/,/^(?:\(-)/,/^(?:\)\))/,/^(?:\))/,/^(?:\(\(\()/,/^(?:\(\()/,/^(?:\{\{)/,/^(?:\{)/,/^(?:>)/,/^(?:\(\[)/,/^(?:\()/,/^(?:\[\[)/,/^(?:\[\|)/,/^(?:\[\()/,/^(?:\)\)\))/,/^(?:\[\\)/,/^(?:\[\/)/,/^(?:\[\\)/,/^(?:\[)/,/^(?:<\[)/,/^(?:[^\(\[\n\-\)\{\}\s\<\>:=]+)/,/^(?:$)/,/^(?:["][`])/,/^(?:["][`])/,/^(?:[^`"]+)/,/^(?:[`]["])/,/^(?:["])/,/^(?:["])/,/^(?:[^"]+)/,/^(?:["])/,/^(?:\]>\s*\()/,/^(?:,?\s*right\s*)/,/^(?:,?\s*left\s*)/,/^(?:,?\s*x\s*)/,/^(?:,?\s*y\s*)/,/^(?:,?\s*up\s*)/,/^(?:,?\s*down\s*)/,/^(?:\)\s*)/,/^(?:\s*[xo<]?--+[-xo>]\s*)/,/^(?:\s*[xo<]?==+[=xo>]\s*)/,/^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,/^(?:\s*~~[\~]+\s*)/,/^(?:\s*[xo<]?--\s*)/,/^(?:\s*[xo<]?==\s*)/,/^(?:\s*[xo<]?-\.\s*)/,/^(?:["][`])/,/^(?:["])/,/^(?:\s*[xo<]?--+[-xo>]\s*)/,/^(?:\s*[xo<]?==+[=xo>]\s*)/,/^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,/^(?::\d+)/],conditions:{STYLE_DEFINITION:{rules:[28],inclusive:!1},STYLE_STMNT:{rules:[27],inclusive:!1},CLASSDEFID:{rules:[22],inclusive:!1},CLASSDEF:{rules:[20,21],inclusive:!1},CLASS_STYLE:{rules:[25],inclusive:!1},CLASS:{rules:[24],inclusive:!1},LLABEL:{rules:[99,100,101,102,103],inclusive:!1},ARROW_DIR:{rules:[85,86,87,88,89,90,91],inclusive:!1},BLOCK_ARROW:{rules:[76,81,84],inclusive:!1},NODE:{rules:[37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,77,80],inclusive:!1},md_string:{rules:[9,10,78,79],inclusive:!1},space:{rules:[],inclusive:!1},string:{rules:[12,13,82,83],inclusive:!1},acc_descr_multiline:{rules:[34,35],inclusive:!1},acc_descr:{rules:[32],inclusive:!1},acc_title:{rules:[30],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,8,11,14,15,16,17,18,19,23,26,29,31,33,36,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,92,93,94,95,96,97,98,104],inclusive:!0}}};return z}();T.lexer=O;function A(){this.yy={}}return t(A,"Parser"),A.prototype=T,T.Parser=A,new A}();he.parser=he;var Je=he,F=new Map,pe=[],ge=new Map,Ee="color",_e="fill",Ze="bgFill",Te=",",Z=new Map,fe="",Qe=t((e)=>w.sanitizeText(e,p()),"sanitizeText"),$e=t(function(e,n=""){let c=Z.get(e);if(!c)c={id:e,styles:[],textStyles:[]},Z.set(e,c);if(n!==void 0&&n!==null)n.split(Te).forEach((i)=>{let g=i.replace(/([^;]*);/,"$1").trim();if(RegExp(Ee).exec(i)){let r=g.replace(_e,Ze).replace(Ee,_e);c.textStyles.push(r)}c.styles.push(g)})},"addStyleClass"),tt=t(function(e,n=""){let c=F.get(e);if(n!==void 0&&n!==null)c.styles=n.split(Te)},"addStyle2Node"),rt=t(function(e,n){e.split(",").forEach(function(c){let i=F.get(c);if(i===void 0){let g=c.trim();i={id:g,type:"na",children:[]},F.set(g,i)}if(!i.classes)i.classes=[];i.classes.push(n)})},"setCssClass"),Ne=0,Ie=t((e,n)=>{let c=e.flat(),i=[],f=c.find((r)=>r?.type==="column-setting")?.columns??-1;for(let r of c){if(typeof f==="number"&&f>0&&r.type!=="column-setting"&&typeof r.widthInColumns==="number"&&r.widthInColumns>f)l.warn(`Block ${r.id} width ${r.widthInColumns} exceeds configured column width ${f}`);if(r.label)r.label=Qe(r.label);if(r.type==="classDef"){$e(r.id,r.css);continue}if(r.type==="applyClass"){rt(r.id,r?.styleClass??"");continue}if(r.type==="applyStyles"){if(r?.stylesStr)tt(r.id,r?.stylesStr);continue}if(r.type==="column-setting")n.columns=r.columns??-1;else if(r.type==="edge"){let d=(ge.get(r.id)??0)+1;ge.set(r.id,d),r.id=d+"-"+r.id,pe.push(r)}else{if(!r.label)if(r.type==="composite")r.label="";else r.label=r.id;let d=F.get(r.id);if(d===void 0){if(r.type==="composite")r.colorIndex=Ne++;F.set(r.id,r)}else{if(r.type!=="na")d.type=r.type;if(r.label!==r.id)d.label=r.label}if(r.children)Ie(r.children,r);if(r.type==="space"){let k=r.width??1;for(let y=0;y<k;y++){let m=we(r);m.id=m.id+"-"+y,F.set(m.id,m),i.push(m)}}else if(d===void 0)i.push(r)}}n.children=i},"populateBlockDatabase"),be=[],H={id:"root",type:"composite",children:[],columns:-1},st=t(()=>{l.debug("Clear called"),R(),H={id:"root",type:"composite",children:[],columns:-1},F=new Map([["root",H]]),be=[],Z=new Map,pe=[],ge=new Map,fe="",Ne=0},"clear");function Oe(e){switch(l.debug("typeStr2Type",e),e){case"[]":return"square";case"()":return l.debug("we have a round"),"round";case"(())":return"circle";case">]":return"rect_left_inv_arrow";case"{}":return"diamond";case"{{}}":return"hexagon";case"([])":return"stadium";case"[[]]":return"subroutine";case"[()]":return"cylinder";case"((()))":return"doublecircle";case"[//]":return"lean_right";case"[\\\\]":return"lean_left";case"[/\\]":return"trapezoid";case"[\\/]":return"inv_trapezoid";case"<[]>":return"block_arrow";default:return"na"}}t(Oe,"typeStr2Type");function Ce(e){switch(l.debug("typeStr2Type",e),e){case"==":return"thick";default:return"normal"}}t(Ce,"edgeTypeStr2Type");function ve(e){switch(e.trim().slice(-1)){case"x":return"arrow_cross";case"o":return"arrow_circle";case">":return"arrow_point";default:return""}}t(ve,"edgeStrToEdgeData");function Ae(e){switch(e.trim().charAt(0)){case"x":return"arrow_cross";case"o":return"arrow_circle";case"<":return"arrow_point";default:return"arrow_open"}}t(Ae,"edgeStrToEdgeStartData");function Be(e){return e.includes("==")?"thick":"normal"}t(Be,"edgeStrToThickness");function Re(e){if(e.includes(".-"))return"dotted";return"solid"}t(Re,"edgeStrToPattern");var De=0,it=t(()=>(De++,"id-"+Math.random().toString(36).substr(2,12)+"-"+De),"generateId"),at=t((e)=>{H.children=e,Ie(e,H),be=H.children},"setHierarchy"),nt=t((e)=>{let n=F.get(e);if(!n)return-1;if(n.columns)return n.columns;if(!n.children)return-1;return n.children.length},"getColumns"),ot=t(()=>[...F.values()],"getBlocksFlat"),lt=t(()=>be||[],"getBlocks"),ct=t(()=>pe,"getEdges"),ut=t((e)=>F.get(e),"getBlock"),ht=t((e)=>{F.set(e.id,e)},"setBlock"),gt=t((e)=>{fe=e},"setDiagramId"),dt=t(()=>fe,"getDiagramId"),pt=t(()=>l,"getLogger"),bt=t(function(){return Z},"getClasses"),St={getConfig:t(()=>C().block,"getConfig"),typeStr2Type:Oe,edgeTypeStr2Type:Ce,edgeStrToEdgeData:ve,edgeStrToEdgeStartData:Ae,edgeStrToThickness:Be,edgeStrToPattern:Re,getLogger:pt,getBlocksFlat:ot,getBlocks:lt,getEdges:ct,setHierarchy:at,getBlock:ut,setBlock:ht,getColumns:nt,getClasses:bt,clear:st,generateId:it,setDiagramId:gt,getDiagramId:dt},xt=St,Lt=t((e)=>{let{theme:n,bkgColorArray:c,borderColorArray:i}=e;if(!Xe(n,i))return"";let g=et(e.look),f=ft(c),r="";for(let d=0;d<Hn(e.THEME_COLOR_LIMIT,i);d++){let k=i[d%i.length],y=f?`fill: ${c[d%c.length]};`:"",m=`[data-look="${g}"][data-color-id="color-${d}"]`;r+=`
6
+ `+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:t(function(){var a=this.next();if(a)return a;else return this.lex()},"lex"),begin:t(function(a){this.conditionStack.push(a)},"begin"),popState:t(function(){var a=this.conditionStack.length-1;if(a>0)return this.conditionStack.pop();else return this.conditionStack[0]},"popState"),_currentRules:t(function(){if(this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1])return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules;else return this.conditions.INITIAL.rules},"_currentRules"),topState:t(function(a){if(a=this.conditionStack.length-1-Math.abs(a||0),a>=0)return this.conditionStack[a];else return"INITIAL"},"topState"),pushState:t(function(a){this.begin(a)},"pushState"),stateStackSize:t(function(){return this.conditionStack.length},"stateStackSize"),options:{},performAction:t(function(a,u,S,_){var s=_;switch(S){case 0:return a.getLogger().debug("Found block-beta"),10;break;case 1:return a.getLogger().debug("Found id-block"),29;break;case 2:return a.getLogger().debug("Found block"),10;break;case 3:a.getLogger().debug(".",u.yytext);break;case 4:a.getLogger().debug("_",u.yytext);break;case 5:return 5;case 6:return u.yytext=-1,28;break;case 7:return u.yytext=u.yytext.replace(/columns\s+/,""),a.getLogger().debug("COLUMNS (LEX)",u.yytext),28;break;case 8:this.pushState("md_string");break;case 9:return"MD_STR";case 10:this.popState();break;case 11:this.pushState("string");break;case 12:a.getLogger().debug("LEX: POPPING STR:",u.yytext),this.popState();break;case 13:return a.getLogger().debug("LEX: STR end:",u.yytext),"STR";break;case 14:return u.yytext=u.yytext.replace(/space\:/,""),a.getLogger().debug("SPACE NUM (LEX)",u.yytext),21;break;case 15:return u.yytext="1",a.getLogger().debug("COLUMNS (LEX)",u.yytext),21;break;case 16:return 42;case 17:return"LINKSTYLE";case 18:return"INTERPOLATE";case 19:return this.pushState("CLASSDEF"),39;break;case 20:return this.popState(),this.pushState("CLASSDEFID"),"DEFAULT_CLASSDEF_ID";break;case 21:return this.popState(),this.pushState("CLASSDEFID"),40;break;case 22:return this.popState(),41;break;case 23:return this.pushState("CLASS"),43;break;case 24:return this.popState(),this.pushState("CLASS_STYLE"),44;break;case 25:return this.popState(),45;break;case 26:return this.pushState("STYLE_STMNT"),46;break;case 27:return this.popState(),this.pushState("STYLE_DEFINITION"),47;break;case 28:return this.popState(),48;break;case 29:return this.pushState("acc_title"),"acc_title";break;case 30:return this.popState(),"acc_title_value";break;case 31:return this.pushState("acc_descr"),"acc_descr";break;case 32:return this.popState(),"acc_descr_value";break;case 33:this.pushState("acc_descr_multiline");break;case 34:this.popState();break;case 35:return"acc_descr_multiline_value";case 36:return 30;case 37:return this.popState(),a.getLogger().debug("Lex: (("),"NODE_DEND";break;case 38:return this.popState(),a.getLogger().debug("Lex: (("),"NODE_DEND";break;case 39:return this.popState(),a.getLogger().debug("Lex: ))"),"NODE_DEND";break;case 40:return this.popState(),a.getLogger().debug("Lex: (("),"NODE_DEND";break;case 41:return this.popState(),a.getLogger().debug("Lex: (("),"NODE_DEND";break;case 42:return this.popState(),a.getLogger().debug("Lex: (-"),"NODE_DEND";break;case 43:return this.popState(),a.getLogger().debug("Lex: -)"),"NODE_DEND";break;case 44:return this.popState(),a.getLogger().debug("Lex: (("),"NODE_DEND";break;case 45:return this.popState(),a.getLogger().debug("Lex: ]]"),"NODE_DEND";break;case 46:return this.popState(),a.getLogger().debug("Lex: ("),"NODE_DEND";break;case 47:return this.popState(),a.getLogger().debug("Lex: ])"),"NODE_DEND";break;case 48:return this.popState(),a.getLogger().debug("Lex: /]"),"NODE_DEND";break;case 49:return this.popState(),a.getLogger().debug("Lex: /]"),"NODE_DEND";break;case 50:return this.popState(),a.getLogger().debug("Lex: )]"),"NODE_DEND";break;case 51:return this.popState(),a.getLogger().debug("Lex: )"),"NODE_DEND";break;case 52:return this.popState(),a.getLogger().debug("Lex: ]>"),"NODE_DEND";break;case 53:return this.popState(),a.getLogger().debug("Lex: ]"),"NODE_DEND";break;case 54:return a.getLogger().debug("Lexa: -)"),this.pushState("NODE"),35;break;case 55:return a.getLogger().debug("Lexa: (-"),this.pushState("NODE"),35;break;case 56:return a.getLogger().debug("Lexa: ))"),this.pushState("NODE"),35;break;case 57:return a.getLogger().debug("Lexa: )"),this.pushState("NODE"),35;break;case 58:return a.getLogger().debug("Lex: ((("),this.pushState("NODE"),35;break;case 59:return a.getLogger().debug("Lexa: )"),this.pushState("NODE"),35;break;case 60:return a.getLogger().debug("Lexa: )"),this.pushState("NODE"),35;break;case 61:return a.getLogger().debug("Lexa: )"),this.pushState("NODE"),35;break;case 62:return a.getLogger().debug("Lexc: >"),this.pushState("NODE"),35;break;case 63:return a.getLogger().debug("Lexa: (["),this.pushState("NODE"),35;break;case 64:return a.getLogger().debug("Lexa: )"),this.pushState("NODE"),35;break;case 65:return this.pushState("NODE"),35;break;case 66:return this.pushState("NODE"),35;break;case 67:return this.pushState("NODE"),35;break;case 68:return this.pushState("NODE"),35;break;case 69:return this.pushState("NODE"),35;break;case 70:return this.pushState("NODE"),35;break;case 71:return this.pushState("NODE"),35;break;case 72:return a.getLogger().debug("Lexa: ["),this.pushState("NODE"),35;break;case 73:return this.pushState("BLOCK_ARROW"),a.getLogger().debug("LEX ARR START"),37;break;case 74:return a.getLogger().debug("Lex: NODE_ID",u.yytext),31;break;case 75:return a.getLogger().debug("Lex: EOF",u.yytext),8;break;case 76:this.pushState("md_string");break;case 77:this.pushState("md_string");break;case 78:return"NODE_DESCR";case 79:this.popState();break;case 80:a.getLogger().debug("Lex: Starting string"),this.pushState("string");break;case 81:a.getLogger().debug("LEX ARR: Starting string"),this.pushState("string");break;case 82:return a.getLogger().debug("LEX: NODE_DESCR:",u.yytext),"NODE_DESCR";break;case 83:a.getLogger().debug("LEX POPPING"),this.popState();break;case 84:a.getLogger().debug("Lex: =>BAE"),this.pushState("ARROW_DIR");break;case 85:return u.yytext=u.yytext.replace(/^,\s*/,""),a.getLogger().debug("Lex (right): dir:",u.yytext),"DIR";break;case 86:return u.yytext=u.yytext.replace(/^,\s*/,""),a.getLogger().debug("Lex (left):",u.yytext),"DIR";break;case 87:return u.yytext=u.yytext.replace(/^,\s*/,""),a.getLogger().debug("Lex (x):",u.yytext),"DIR";break;case 88:return u.yytext=u.yytext.replace(/^,\s*/,""),a.getLogger().debug("Lex (y):",u.yytext),"DIR";break;case 89:return u.yytext=u.yytext.replace(/^,\s*/,""),a.getLogger().debug("Lex (up):",u.yytext),"DIR";break;case 90:return u.yytext=u.yytext.replace(/^,\s*/,""),a.getLogger().debug("Lex (down):",u.yytext),"DIR";break;case 91:return u.yytext="]>",a.getLogger().debug("Lex (ARROW_DIR end):",u.yytext),this.popState(),this.popState(),"BLOCK_ARROW_END";break;case 92:return a.getLogger().debug("Lex: LINK","#"+u.yytext+"#"),15;break;case 93:return a.getLogger().debug("Lex: LINK",u.yytext),15;break;case 94:return a.getLogger().debug("Lex: LINK",u.yytext),15;break;case 95:return a.getLogger().debug("Lex: LINK",u.yytext),15;break;case 96:return a.getLogger().debug("Lex: START_LINK",u.yytext),this.pushState("LLABEL"),16;break;case 97:return a.getLogger().debug("Lex: START_LINK",u.yytext),this.pushState("LLABEL"),16;break;case 98:return a.getLogger().debug("Lex: START_LINK",u.yytext),this.pushState("LLABEL"),16;break;case 99:this.pushState("md_string");break;case 100:return a.getLogger().debug("Lex: Starting string"),this.pushState("string"),"LINK_LABEL";break;case 101:return this.popState(),a.getLogger().debug("Lex: LINK","#"+u.yytext+"#"),15;break;case 102:return this.popState(),a.getLogger().debug("Lex: LINK",u.yytext),15;break;case 103:return this.popState(),a.getLogger().debug("Lex: LINK",u.yytext),15;break;case 104:return a.getLogger().debug("Lex: COLON",u.yytext),u.yytext=u.yytext.slice(1),27;break}},"anonymous"),rules:[/^(?:block-beta\b)/,/^(?:block:)/,/^(?:block\b)/,/^(?:[\s]+)/,/^(?:[\n]+)/,/^(?:((\u000D\u000A)|(\u000A)))/,/^(?:columns\s+auto\b)/,/^(?:columns\s+[\d]+)/,/^(?:["][`])/,/^(?:[^`"]+)/,/^(?:[`]["])/,/^(?:["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:space[:]\d+)/,/^(?:space\b)/,/^(?:default\b)/,/^(?:linkStyle\b)/,/^(?:interpolate\b)/,/^(?:classDef\s+)/,/^(?:DEFAULT\s+)/,/^(?:\w+\s+)/,/^(?:[^\n]*)/,/^(?:class\s+)/,/^(?:(\w+)+((,\s*\w+)*))/,/^(?:[^\n]*)/,/^(?:style\s+)/,/^(?:(\w+)+((,\s*\w+)*))/,/^(?:[^\n]*)/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:end\b\s*)/,/^(?:\(\(\()/,/^(?:\)\)\))/,/^(?:[\)]\))/,/^(?:\}\})/,/^(?:\})/,/^(?:\(-)/,/^(?:-\))/,/^(?:\(\()/,/^(?:\]\])/,/^(?:\()/,/^(?:\]\))/,/^(?:\\\])/,/^(?:\/\])/,/^(?:\)\])/,/^(?:[\)])/,/^(?:\]>)/,/^(?:[\]])/,/^(?:-\))/,/^(?:\(-)/,/^(?:\)\))/,/^(?:\))/,/^(?:\(\(\()/,/^(?:\(\()/,/^(?:\{\{)/,/^(?:\{)/,/^(?:>)/,/^(?:\(\[)/,/^(?:\()/,/^(?:\[\[)/,/^(?:\[\|)/,/^(?:\[\()/,/^(?:\)\)\))/,/^(?:\[\\)/,/^(?:\[\/)/,/^(?:\[\\)/,/^(?:\[)/,/^(?:<\[)/,/^(?:[^\(\[\n\-\)\{\}\s\<\>:=]+)/,/^(?:$)/,/^(?:["][`])/,/^(?:["][`])/,/^(?:[^`"]+)/,/^(?:[`]["])/,/^(?:["])/,/^(?:["])/,/^(?:[^"]+)/,/^(?:["])/,/^(?:\]>\s*\()/,/^(?:,?\s*right\s*)/,/^(?:,?\s*left\s*)/,/^(?:,?\s*x\s*)/,/^(?:,?\s*y\s*)/,/^(?:,?\s*up\s*)/,/^(?:,?\s*down\s*)/,/^(?:\)\s*)/,/^(?:\s*[xo<]?--+[-xo>]\s*)/,/^(?:\s*[xo<]?==+[=xo>]\s*)/,/^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,/^(?:\s*~~[\~]+\s*)/,/^(?:\s*[xo<]?--\s*)/,/^(?:\s*[xo<]?==\s*)/,/^(?:\s*[xo<]?-\.\s*)/,/^(?:["][`])/,/^(?:["])/,/^(?:\s*[xo<]?--+[-xo>]\s*)/,/^(?:\s*[xo<]?==+[=xo>]\s*)/,/^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,/^(?::\d+)/],conditions:{STYLE_DEFINITION:{rules:[28],inclusive:!1},STYLE_STMNT:{rules:[27],inclusive:!1},CLASSDEFID:{rules:[22],inclusive:!1},CLASSDEF:{rules:[20,21],inclusive:!1},CLASS_STYLE:{rules:[25],inclusive:!1},CLASS:{rules:[24],inclusive:!1},LLABEL:{rules:[99,100,101,102,103],inclusive:!1},ARROW_DIR:{rules:[85,86,87,88,89,90,91],inclusive:!1},BLOCK_ARROW:{rules:[76,81,84],inclusive:!1},NODE:{rules:[37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,77,80],inclusive:!1},md_string:{rules:[9,10,78,79],inclusive:!1},space:{rules:[],inclusive:!1},string:{rules:[12,13,82,83],inclusive:!1},acc_descr_multiline:{rules:[34,35],inclusive:!1},acc_descr:{rules:[32],inclusive:!1},acc_title:{rules:[30],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,8,11,14,15,16,17,18,19,23,26,29,31,33,36,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,92,93,94,95,96,97,98,104],inclusive:!0}}};return z}();T.lexer=O;function A(){this.yy={}}return t(A,"Parser"),A.prototype=T,T.Parser=A,new A}();he.parser=he;var qe=he,F=new Map,pe=[],ge=new Map,Ee="color",_e="fill",Je="bgFill",Te=",",Z=new Map,fe="",Ze=t((e)=>w.sanitizeText(e,p()),"sanitizeText"),Qe=t(function(e,n=""){let c=Z.get(e);if(!c)c={id:e,styles:[],textStyles:[]},Z.set(e,c);if(n!==void 0&&n!==null)n.split(Te).forEach((i)=>{let g=i.replace(/([^;]*);/,"$1").trim();if(RegExp(Ee).exec(i)){let r=g.replace(_e,Je).replace(Ee,_e);c.textStyles.push(r)}c.styles.push(g)})},"addStyleClass"),$e=t(function(e,n=""){let c=F.get(e);if(n!==void 0&&n!==null)c.styles=n.split(Te)},"addStyle2Node"),rt=t(function(e,n){e.split(",").forEach(function(c){let i=F.get(c);if(i===void 0){let g=c.trim();i={id:g,type:"na",children:[]},F.set(g,i)}if(!i.classes)i.classes=[];i.classes.push(n)})},"setCssClass"),Ne=0,Ie=t((e,n)=>{let c=e.flat(),i=[],f=c.find((r)=>r?.type==="column-setting")?.columns??-1;for(let r of c){if(typeof f==="number"&&f>0&&r.type!=="column-setting"&&typeof r.widthInColumns==="number"&&r.widthInColumns>f)l.warn(`Block ${r.id} width ${r.widthInColumns} exceeds configured column width ${f}`);if(r.label)r.label=Ze(r.label);if(r.type==="classDef"){Qe(r.id,r.css);continue}if(r.type==="applyClass"){rt(r.id,r?.styleClass??"");continue}if(r.type==="applyStyles"){if(r?.stylesStr)$e(r.id,r?.stylesStr);continue}if(r.type==="column-setting")n.columns=r.columns??-1;else if(r.type==="edge"){let d=(ge.get(r.id)??0)+1;ge.set(r.id,d),r.id=d+"-"+r.id,pe.push(r)}else{if(!r.label)if(r.type==="composite")r.label="";else r.label=r.id;let d=F.get(r.id);if(d===void 0){if(r.type==="composite")r.colorIndex=Ne++;F.set(r.id,r)}else{if(r.type!=="na")d.type=r.type;if(r.label!==r.id)d.label=r.label}if(r.children)Ie(r.children,r);if(r.type==="space"){let k=r.width??1;for(let y=0;y<k;y++){let m=we(r);m.id=m.id+"-"+y,F.set(m.id,m),i.push(m)}}else if(d===void 0)i.push(r)}}n.children=i},"populateBlockDatabase"),be=[],H={id:"root",type:"composite",children:[],columns:-1},st=t(()=>{l.debug("Clear called"),R(),H={id:"root",type:"composite",children:[],columns:-1},F=new Map([["root",H]]),be=[],Z=new Map,pe=[],ge=new Map,fe="",Ne=0},"clear");function Oe(e){switch(l.debug("typeStr2Type",e),e){case"[]":return"square";case"()":return l.debug("we have a round"),"round";case"(())":return"circle";case">]":return"rect_left_inv_arrow";case"{}":return"diamond";case"{{}}":return"hexagon";case"([])":return"stadium";case"[[]]":return"subroutine";case"[()]":return"cylinder";case"((()))":return"doublecircle";case"[//]":return"lean_right";case"[\\\\]":return"lean_left";case"[/\\]":return"trapezoid";case"[\\/]":return"inv_trapezoid";case"<[]>":return"block_arrow";default:return"na"}}t(Oe,"typeStr2Type");function Ce(e){switch(l.debug("typeStr2Type",e),e){case"==":return"thick";default:return"normal"}}t(Ce,"edgeTypeStr2Type");function ve(e){switch(e.trim().slice(-1)){case"x":return"arrow_cross";case"o":return"arrow_circle";case">":return"arrow_point";default:return""}}t(ve,"edgeStrToEdgeData");function Ae(e){switch(e.trim().charAt(0)){case"x":return"arrow_cross";case"o":return"arrow_circle";case"<":return"arrow_point";default:return"arrow_open"}}t(Ae,"edgeStrToEdgeStartData");function Be(e){return e.includes("==")?"thick":"normal"}t(Be,"edgeStrToThickness");function Re(e){if(e.includes(".-"))return"dotted";return"solid"}t(Re,"edgeStrToPattern");var De=0,it=t(()=>(De++,"id-"+Math.random().toString(36).substr(2,12)+"-"+De),"generateId"),at=t((e)=>{H.children=e,Ie(e,H),be=H.children},"setHierarchy"),nt=t((e)=>{let n=F.get(e);if(!n)return-1;if(n.columns)return n.columns;if(!n.children)return-1;return n.children.length},"getColumns"),ot=t(()=>[...F.values()],"getBlocksFlat"),lt=t(()=>be||[],"getBlocks"),ct=t(()=>pe,"getEdges"),ut=t((e)=>F.get(e),"getBlock"),ht=t((e)=>{F.set(e.id,e)},"setBlock"),gt=t((e)=>{fe=e},"setDiagramId"),dt=t(()=>fe,"getDiagramId"),ft=t(()=>l,"getLogger"),bt=t(function(){return Z},"getClasses"),St={getConfig:t(()=>C().block,"getConfig"),typeStr2Type:Oe,edgeTypeStr2Type:Ce,edgeStrToEdgeData:ve,edgeStrToEdgeStartData:Ae,edgeStrToThickness:Be,edgeStrToPattern:Re,getLogger:ft,getBlocksFlat:ot,getBlocks:lt,getEdges:ct,setHierarchy:at,getBlock:ut,setBlock:ht,getColumns:nt,getClasses:bt,clear:st,generateId:it,setDiagramId:gt,getDiagramId:dt},xt=St,Lt=t((e)=>{let{theme:n,bkgColorArray:c,borderColorArray:i}=e;if(!et(n,i))return"";let g=tt(e.look),f=mt(c),r="";for(let d=0;d<Kn(e.THEME_COLOR_LIMIT,i);d++){let k=i[d%i.length],y=f?`fill: ${c[d%c.length]};`:"",m=`[data-look="${g}"][data-color-id="color-${d}"]`;r+=`
7
7
 
8
8
  ${m}.node rect.composite {
9
9
  stroke: ${k};
10
10
  ${y}
11
11
  }
12
- `}return r},"genColor"),ue=t((e,n)=>{let c=ua,i=c(e,"r"),g=c(e,"g"),f=c(e,"b");return mt(i,g,f,n)},"fade"),kt=t((e)=>`${Lt(e)}
12
+ `}return r},"genColor"),ue=t((e,n)=>{let c=ua,i=c(e,"r"),g=c(e,"g"),f=c(e,"b");return pt(i,g,f,n)},"fade"),kt=t((e)=>`${Lt(e)}
13
13
  .label {
14
14
  font-family: ${e.fontFamily};
15
15
  color: ${e.nodeTextColor||e.textColor};
@@ -136,5 +136,5 @@ Expecting `+J.join(", ")+", got '"+(this.terminals_[v]||v)+"'";else le="Parse er
136
136
  font-size: 18px;
137
137
  fill: ${e.textColor};
138
138
  }
139
- ${Dn()}
140
- `,"getStyles"),yt=kt;function de(e,n){if(e===0||!Number.isInteger(e))throw Error("Columns must be an integer !== 0.");if(n<0||!Number.isInteger(n))throw Error("Position must be a non-negative integer."+n);if(e<0)return{px:n,py:0};if(e===1)return{px:0,py:n};let c=n%e,i=Math.floor(n/e);return{px:c,py:i}}t(de,"calculateBlockPosition");var wt=t((e)=>{let n=0,c=0;for(let i of e.children){let{width:g,height:f,x:r,y:d}=i.size??{width:0,height:0,x:0,y:0};if(l.debug("getMaxChildSize abc95 child:",i.id,"width:",g,"height:",f,"x:",r,"y:",d,i.type),i.type==="space")continue;let k=g/(i.widthInColumns??1);if(k>n)n=k;if(f>c)c=f}return{width:n,height:c}},"getMaxChildSize");function Q(e,n,c=0,i=0,g=8){if(l.debug("setBlockSizes abc95 (start)",e.id,e?.size?.x,"block width =",e?.size,"siblingWidth",c),!e?.size?.width)e.size={width:c,height:i,x:0,y:0};let f=0,r=0;if(e.children?.length>0){for(let L of e.children)Q(L,n,0,0,g);let d=wt(e);f=d.width,r=d.height,l.debug("setBlockSizes abc95 maxWidth of",e.id,":s children is ",f,r);for(let L of e.children)if(L.size)l.debug(`abc95 Setting size of children of ${e.id} id=${L.id} ${f} ${r} ${JSON.stringify(L.size)}`),L.size.width=f*(L.widthInColumns??1)+g*((L.widthInColumns??1)-1),L.size.height=r,L.size.x=0,L.size.y=0,l.debug(`abc95 updating size of ${e.id} children child:${L.id} maxWidth:${f} maxHeight:${r}`);for(let L of e.children)Q(L,n,f,r,g);let k=e.columns??-1,y=0;for(let L of e.children)y+=L.widthInColumns??1;let m=e.children.length;if(k>0&&k<y)m=k;let x=Math.ceil(y/m),E=m*(f+g)+g,D=x*(r+g)+g;if(E<c){l.debug(`Detected to small sibling: abc95 ${e.id} siblingWidth ${c} siblingHeight ${i} width ${E}`),E=c,D=i;let L=(c-m*g-g)/m,N=(i-x*g-g)/x;l.debug("Size indata abc88",e.id,"childWidth",L,"maxWidth",f),l.debug("Size indata abc88",e.id,"childHeight",N,"maxHeight",r),l.debug("Size indata abc88 xSize",m,"padding",g);for(let T of e.children)if(T.size)T.size.width=L,T.size.height=N,T.size.x=0,T.size.y=0}if(l.debug(`abc95 (finale calc) ${e.id} xSize ${m} ySize ${x} columns ${k}${e.children.length} width=${Math.max(E,e.size?.width||0)}`),E<(e?.size?.width||0)){E=e?.size?.width||0;let L=k>0?Math.min(e.children.length,k):e.children.length;if(L>0){let N=(E-L*g-g)/L;l.debug("abc95 (growing to fit) width",e.id,E,e.size?.width,N);for(let T of e.children)if(T.size)T.size.width=N}}e.size={width:E,height:D,x:0,y:0}}l.debug("setBlockSizes abc94 (done)",e.id,e?.size?.x,e?.size?.width,e?.size?.y,e?.size?.height)}t(Q,"setBlockSizes");function Se(e,n,c=8){l.debug(`abc85 layout blocks (=>layoutBlocks) ${e.id} x: ${e?.size?.x} y: ${e?.size?.y} width: ${e?.size?.width}`);let i=e.columns??-1;if(l.debug("layoutBlocks columns abc95",e.id,"=>",i,e),e.children&&e.children.length>0){let g=e?.children[0]?.size?.width??0,f=e.children.length*g+(e.children.length-1)*c;l.debug("widthOfChildren 88",f,"posX");let r=new Map;{let x=0;for(let E of e.children){if(!E.size)continue;let{py:D}=de(i,x),L=r.get(D)??0;if(E.size.height>L)r.set(D,E.size.height);let N=E?.widthInColumns??1;if(i>0)N=Math.min(N,i-x%i);x+=N}}let d=new Map;{let x=0,E=[...r.keys()].sort((D,L)=>D-L);for(let D of E)d.set(D,x),x+=(r.get(D)??0)+c}let k=0;l.debug("abc91 block?.size?.x",e.id,e?.size?.x);let y=e?.size?.x?e?.size?.x+(-e?.size?.width/2||0):-c,m=0;for(let x of e.children){let E=e;if(!x.size)continue;let{width:D,height:L}=x.size,{px:N,py:T}=de(i,k);if(T!=m)m=T,y=e?.size?.x?e?.size?.x+(-e?.size?.width/2||0):-c,l.debug("New row in layout for block",e.id," and child ",x.id,m);if(l.debug(`abc89 layout blocks (child) id: ${x.id} Pos: ${k} (px, py) ${N},${T} (${E?.size?.x},${E?.size?.y}) parent: ${E.id} width: ${D}${c}`),E.size){let A=D/2;x.size.x=y+c+A,l.debug(`abc91 layout blocks (calc) px, pyid:${x.id} startingPos=X${y} new startingPosX${x.size.x} ${A} padding=${c} width=${D} halfWidth=${A} => x:${x.size.x} y:${x.size.y} ${x.widthInColumns} (width * (child?.w || 1)) / 2 ${D*(x?.widthInColumns??1)/2}`),y=x.size.x+A;let z=d.get(T)??0,b=r.get(T)??L;x.size.y=E.size.y-E.size.height/2+z+b/2+c,l.debug(`abc88 layout blocks (calc) px, pyid:${x.id}startingPosX${y}${c}${A}=>x:${x.size.x}y:${x.size.y}${x.widthInColumns}(width * (child?.w || 1)) / 2${D*(x?.widthInColumns??1)/2}`)}if(x.children)Se(x,n,c);let O=x?.widthInColumns??1;if(i>0)O=Math.min(O,i-k%i);k+=O,l.debug("abc88 columnsPos",x,k)}}l.debug(`layout blocks (<==layoutBlocks) ${e.id} x: ${e?.size?.x} y: ${e?.size?.y} width: ${e?.size?.width}`)}t(Se,"layoutBlocks");function xe(e,{minX:n,minY:c,maxX:i,maxY:g}={minX:0,minY:0,maxX:0,maxY:0}){if(e.size&&e.id!=="root"){let{x:f,y:r,width:d,height:k}=e.size;if(f-d/2<n)n=f-d/2;if(r-k/2<c)c=r-k/2;if(f+d/2>i)i=f+d/2;if(r+k/2>g)g=r+k/2}if(e.children)for(let f of e.children)({minX:n,minY:c,maxX:i,maxY:g}=xe(f,{minX:n,minY:c,maxX:i,maxY:g}));return{minX:n,minY:c,maxX:i,maxY:g}}t(xe,"findBounds");function Pe(e){let n=e.getBlock("root");if(!n)return;let c=p()?.block?.padding??8;Q(n,e,0,0,c),Se(n,e,c),l.debug("getBlocks",JSON.stringify(n,null,2));let{minX:i,minY:g,maxX:f,maxY:r}=xe(n),d=r-g,k=f-i;return{x:i,y:g,width:k,height:d}}t(Pe,"layout");function me(e,n,c=!1){let i=e,g="default";if((i?.classes?.length||0)>0)g=(i?.classes??[]).join(" ");g=g+" flowchart-label";let f=(i?.classes??[]).flatMap((L)=>n.getClasses().get(L)?.styles??[]),r=0,d="rect",k;switch(i.type){case"round":r=5,d="rect";break;case"composite":r=0,d="composite",k=0;break;case"square":d="rect";break;case"diamond":d="question";break;case"hexagon":d="hexagon";break;case"block_arrow":d="block_arrow";break;case"odd":d="rect_left_inv_arrow";break;case"lean_right":d="lean_right";break;case"lean_left":d="lean_left";break;case"trapezoid":d="trapezoid";break;case"inv_trapezoid":d="inv_trapezoid";break;case"rect_left_inv_arrow":d="rect_left_inv_arrow";break;case"circle":d="circle";break;case"ellipse":d="ellipse";break;case"stadium":d="stadium";break;case"subroutine":d="subroutine";break;case"cylinder":d="cylinder";break;case"group":d="rect";break;case"doublecircle":d="doublecircle";break;default:d="rect"}let y=Cp(i?.styles??[]),m=i.label,x=i.size??{width:0,height:0,x:0,y:0},E=n.getDiagramId();return{labelStyle:y.labelStyle,shape:d,label:m,labelText:m,rx:r,ry:r,class:g,cssClasses:g,cssStyles:i?.styles??[],cssCompiledStyles:f,style:y.style,id:i.id,domId:E?`${E}-${i.id}`:i.id,isGroup:!1,directions:i.directions,width:x.width||void 0,height:x.height||void 0,wrappingWidth:x.width||Number.POSITIVE_INFINITY,x:x.x,y:x.y,positioned:c,intersect:void 0,padding:k??C()?.block?.padding??0,widthInColumns:i.widthInColumns??1,colorIndex:i.colorIndex,look:C().look}}t(me,"getNodeFromBlock");async function Fe(e,n,c){let i=me(n,c,!1);if(n.type==="group")return;let g=C(),f=await fa(e,i,{config:g}),r=f.node()?.getBBox()??{width:0,height:0},d=c.getBlock(i.id);d.size={width:r.width,height:r.height,x:0,y:0,node:f},c.setBlock(d),f.remove()}t(Fe,"calculateBlockSize");async function Me(e,n,c){let i=me(n,c,!0);if(c.getBlock(i.id).type!=="space"){let f=C(),r=await fa(e,i,{config:f});if(i.colorIndex!==void 0)Wn(r,i.colorIndex,f.theme,f.themeVariables?.borderColorArray);n.intersect=i?.intersect,Ur(i)}}t(Me,"insertBlockPositioned");async function ee(e,n,c,i){for(let g of n)if(await i(e,g,c),g.children)await ee(e,g.children,c,i)}t(ee,"performOperations");async function Ke(e,n,c){await ee(e,n,c,Fe)}t(Ke,"calculateBlockSizes");async function Ye(e,n,c){await ee(e,n,c,Me)}t(Ye,"insertBlocks");async function We(e,n,c,i,g){let f=new ze({multigraph:!0,compound:!0});f.setGraph({rankdir:"TB",nodesep:10,ranksep:10,marginx:8,marginy:8});for(let r of c)if(r.size)f.setNode(r.id,{width:r.size.width,height:r.size.height,intersect:r.intersect});for(let r of n)if(r.start&&r.end){let d=i.getBlock(r.start),k=i.getBlock(r.end);if(d?.size&&k?.size){let y=d.size,m=k.size,x=[{x:y.x,y:y.y},{x:y.x+(m.x-y.x)/2,y:y.y+(m.y-y.y)/2},{x:m.x,y:m.y}],E=g?`${g}-${r.id}`:r.id,D=r.thickness==="thick"?"edge-thickness-thick":"edge-thickness-normal",L=r.pattern==="dotted"?"edge-pattern-dotted":"edge-pattern-solid",N=`${D} ${L} flowchart-link LS-a1 LE-b1`;if(po(e,{...r,id:E,arrowTypeEnd:r.arrowTypeEnd,arrowTypeStart:r.arrowTypeStart,points:x,classes:N},{},"block",f.node(r.start),f.node(r.end),g),r.label)await ga(e,{...r,label:r.label,labelStyle:"stroke: #333; stroke-width: 1.5px;fill:none;",arrowTypeEnd:r.arrowTypeEnd,arrowTypeStart:r.arrowTypeStart,points:x,classes:N}),Ms({...r,x:x[1].x,y:x[1].y},{originalPath:x})}}}t(We,"insertEdges");var Et=t(function(e,n){return n.db.getClasses()},"getClasses"),_t=t(async function(e,n,c,i){let{securityLevel:g,block:f}=C(),r=i.db;r.setDiagramId(n);let d;if(g==="sandbox")d=h("#i"+n);let k=g==="sandbox"?h(d.nodes()[0].contentDocument.body):h("body"),y=g==="sandbox"?k.select(`[id="${n}"]`):h(`[id="${n}"]`);ap(y,C()),Ps(y,["point","circle","cross"],i.type,n);let x=r.getBlocks(),E=r.getBlocksFlat(),D=r.getEdges(),L=y.insert("g").attr("class","block");await Ke(L,x,r);let N=Pe(r);await Ye(L,x,r),await We(L,D,E,r,n);let T=L.node()?.getBBox(),O=T&&Number.isFinite(T.width)&&Number.isFinite(T.height)?T:N;if(O){let A=Math.max(1,Math.round(0.125*(O.width/O.height))),z=O.height+A+10,b=O.width+10,{useMaxWidth:a}=f;te(y,z,b,!!a),l.debug("Here Bounds",N,O),y.attr("viewBox",`${O.x-5} ${O.y-5} ${O.width+10} ${O.height+10}`)}},"draw"),Dt={draw:_t,getClasses:Et},Qt={parser:Je,db:xt,renderer:Dt,styles:yt};export{Qt as diagram};
139
+ ${Qn()}
140
+ `,"getStyles"),yt=kt;function de(e,n){if(e===0||!Number.isInteger(e))throw Error("Columns must be an integer !== 0.");if(n<0||!Number.isInteger(n))throw Error("Position must be a non-negative integer."+n);if(e<0)return{px:n,py:0};if(e===1)return{px:0,py:n};let c=n%e,i=Math.floor(n/e);return{px:c,py:i}}t(de,"calculateBlockPosition");var wt=t((e)=>{let n=0,c=0;for(let i of e.children){let{width:g,height:f,x:r,y:d}=i.size??{width:0,height:0,x:0,y:0};if(l.debug("getMaxChildSize abc95 child:",i.id,"width:",g,"height:",f,"x:",r,"y:",d,i.type),i.type==="space")continue;let k=g/(i.widthInColumns??1);if(k>n)n=k;if(f>c)c=f}return{width:n,height:c}},"getMaxChildSize");function Q(e,n,c=0,i=0,g=8){if(l.debug("setBlockSizes abc95 (start)",e.id,e?.size?.x,"block width =",e?.size,"siblingWidth",c),!e?.size?.width)e.size={width:c,height:i,x:0,y:0};let f=0,r=0;if(e.children?.length>0){for(let L of e.children)Q(L,n,0,0,g);let d=wt(e);f=d.width,r=d.height,l.debug("setBlockSizes abc95 maxWidth of",e.id,":s children is ",f,r);for(let L of e.children)if(L.size)l.debug(`abc95 Setting size of children of ${e.id} id=${L.id} ${f} ${r} ${JSON.stringify(L.size)}`),L.size.width=f*(L.widthInColumns??1)+g*((L.widthInColumns??1)-1),L.size.height=r,L.size.x=0,L.size.y=0,l.debug(`abc95 updating size of ${e.id} children child:${L.id} maxWidth:${f} maxHeight:${r}`);for(let L of e.children)Q(L,n,f,r,g);let k=e.columns??-1,y=0;for(let L of e.children)y+=L.widthInColumns??1;let m=e.children.length;if(k>0&&k<y)m=k;let x=Math.ceil(y/m),E=m*(f+g)+g,D=x*(r+g)+g;if(E<c){l.debug(`Detected to small sibling: abc95 ${e.id} siblingWidth ${c} siblingHeight ${i} width ${E}`),E=c,D=i;let L=(c-m*g-g)/m,N=(i-x*g-g)/x;l.debug("Size indata abc88",e.id,"childWidth",L,"maxWidth",f),l.debug("Size indata abc88",e.id,"childHeight",N,"maxHeight",r),l.debug("Size indata abc88 xSize",m,"padding",g);for(let T of e.children)if(T.size)T.size.width=L,T.size.height=N,T.size.x=0,T.size.y=0}if(l.debug(`abc95 (finale calc) ${e.id} xSize ${m} ySize ${x} columns ${k}${e.children.length} width=${Math.max(E,e.size?.width||0)}`),E<(e?.size?.width||0)){E=e?.size?.width||0;let L=k>0?Math.min(e.children.length,k):e.children.length;if(L>0){let N=(E-L*g-g)/L;l.debug("abc95 (growing to fit) width",e.id,E,e.size?.width,N);for(let T of e.children)if(T.size)T.size.width=N}}e.size={width:E,height:D,x:0,y:0}}l.debug("setBlockSizes abc94 (done)",e.id,e?.size?.x,e?.size?.width,e?.size?.y,e?.size?.height)}t(Q,"setBlockSizes");function Se(e,n,c=8){l.debug(`abc85 layout blocks (=>layoutBlocks) ${e.id} x: ${e?.size?.x} y: ${e?.size?.y} width: ${e?.size?.width}`);let i=e.columns??-1;if(l.debug("layoutBlocks columns abc95",e.id,"=>",i,e),e.children&&e.children.length>0){let g=e?.children[0]?.size?.width??0,f=e.children.length*g+(e.children.length-1)*c;l.debug("widthOfChildren 88",f,"posX");let r=new Map;{let x=0;for(let E of e.children){if(!E.size)continue;let{py:D}=de(i,x),L=r.get(D)??0;if(E.size.height>L)r.set(D,E.size.height);let N=E?.widthInColumns??1;if(i>0)N=Math.min(N,i-x%i);x+=N}}let d=new Map;{let x=0,E=[...r.keys()].sort((D,L)=>D-L);for(let D of E)d.set(D,x),x+=(r.get(D)??0)+c}let k=0;l.debug("abc91 block?.size?.x",e.id,e?.size?.x);let y=e?.size?.x?e?.size?.x+(-e?.size?.width/2||0):-c,m=0;for(let x of e.children){let E=e;if(!x.size)continue;let{width:D,height:L}=x.size,{px:N,py:T}=de(i,k);if(T!=m)m=T,y=e?.size?.x?e?.size?.x+(-e?.size?.width/2||0):-c,l.debug("New row in layout for block",e.id," and child ",x.id,m);if(l.debug(`abc89 layout blocks (child) id: ${x.id} Pos: ${k} (px, py) ${N},${T} (${E?.size?.x},${E?.size?.y}) parent: ${E.id} width: ${D}${c}`),E.size){let A=D/2;x.size.x=y+c+A,l.debug(`abc91 layout blocks (calc) px, pyid:${x.id} startingPos=X${y} new startingPosX${x.size.x} ${A} padding=${c} width=${D} halfWidth=${A} => x:${x.size.x} y:${x.size.y} ${x.widthInColumns} (width * (child?.w || 1)) / 2 ${D*(x?.widthInColumns??1)/2}`),y=x.size.x+A;let z=d.get(T)??0,b=r.get(T)??L;x.size.y=E.size.y-E.size.height/2+z+b/2+c,l.debug(`abc88 layout blocks (calc) px, pyid:${x.id}startingPosX${y}${c}${A}=>x:${x.size.x}y:${x.size.y}${x.widthInColumns}(width * (child?.w || 1)) / 2${D*(x?.widthInColumns??1)/2}`)}if(x.children)Se(x,n,c);let O=x?.widthInColumns??1;if(i>0)O=Math.min(O,i-k%i);k+=O,l.debug("abc88 columnsPos",x,k)}}l.debug(`layout blocks (<==layoutBlocks) ${e.id} x: ${e?.size?.x} y: ${e?.size?.y} width: ${e?.size?.width}`)}t(Se,"layoutBlocks");function xe(e,{minX:n,minY:c,maxX:i,maxY:g}={minX:0,minY:0,maxX:0,maxY:0}){if(e.size&&e.id!=="root"){let{x:f,y:r,width:d,height:k}=e.size;if(f-d/2<n)n=f-d/2;if(r-k/2<c)c=r-k/2;if(f+d/2>i)i=f+d/2;if(r+k/2>g)g=r+k/2}if(e.children)for(let f of e.children)({minX:n,minY:c,maxX:i,maxY:g}=xe(f,{minX:n,minY:c,maxX:i,maxY:g}));return{minX:n,minY:c,maxX:i,maxY:g}}t(xe,"findBounds");function Pe(e){let n=e.getBlock("root");if(!n)return;let c=p()?.block?.padding??8;Q(n,e,0,0,c),Se(n,e,c),l.debug("getBlocks",JSON.stringify(n,null,2));let{minX:i,minY:g,maxX:f,maxY:r}=xe(n),d=r-g,k=f-i;return{x:i,y:g,width:k,height:d}}t(Pe,"layout");function me(e,n,c=!1){let i=e,g="default";if((i?.classes?.length||0)>0)g=(i?.classes??[]).join(" ");g=g+" flowchart-label";let f=(i?.classes??[]).flatMap((L)=>n.getClasses().get(L)?.styles??[]),r=0,d="rect",k;switch(i.type){case"round":r=5,d="rect";break;case"composite":r=0,d="composite",k=0;break;case"square":d="rect";break;case"diamond":d="question";break;case"hexagon":d="hexagon";break;case"block_arrow":d="block_arrow";break;case"odd":d="rect_left_inv_arrow";break;case"lean_right":d="lean_right";break;case"lean_left":d="lean_left";break;case"trapezoid":d="trapezoid";break;case"inv_trapezoid":d="inv_trapezoid";break;case"rect_left_inv_arrow":d="rect_left_inv_arrow";break;case"circle":d="circle";break;case"ellipse":d="ellipse";break;case"stadium":d="stadium";break;case"subroutine":d="subroutine";break;case"cylinder":d="cylinder";break;case"group":d="rect";break;case"doublecircle":d="doublecircle";break;default:d="rect"}let y=Bp(i?.styles??[]),m=i.label,x=i.size??{width:0,height:0,x:0,y:0},E=n.getDiagramId();return{labelStyle:y.labelStyle,shape:d,label:m,labelText:m,rx:r,ry:r,class:g,cssClasses:g,cssStyles:i?.styles??[],cssCompiledStyles:f,style:y.style,id:i.id,domId:E?`${E}-${i.id}`:i.id,isGroup:!1,directions:i.directions,width:x.width||void 0,height:x.height||void 0,wrappingWidth:x.width||Number.POSITIVE_INFINITY,x:x.x,y:x.y,positioned:c,intersect:void 0,padding:k??C()?.block?.padding??0,widthInColumns:i.widthInColumns??1,colorIndex:i.colorIndex,look:C().look}}t(me,"getNodeFromBlock");async function Fe(e,n,c){let i=me(n,c,!1);if(n.type==="group")return;let g=C(),f=await fa(e,i,{config:g}),r=f.node()?.getBBox()??{width:0,height:0},d=c.getBlock(i.id);d.size={width:r.width,height:r.height,x:0,y:0,node:f},c.setBlock(d),f.remove()}t(Fe,"calculateBlockSize");async function Me(e,n,c){let i=me(n,c,!0);if(c.getBlock(i.id).type!=="space"){let f=C(),r=await fa(e,i,{config:f});if(i.colorIndex!==void 0)Vn(r,i.colorIndex,f.theme,f.themeVariables?.borderColorArray);n.intersect=i?.intersect,Gr(i)}}t(Me,"insertBlockPositioned");async function ee(e,n,c,i){for(let g of n)if(await i(e,g,c),g.children)await ee(e,g.children,c,i)}t(ee,"performOperations");async function Ke(e,n,c){await ee(e,n,c,Fe)}t(Ke,"calculateBlockSizes");async function Ye(e,n,c){await ee(e,n,c,Me)}t(Ye,"insertBlocks");async function We(e,n,c,i,g){let f=new ze({multigraph:!0,compound:!0});f.setGraph({rankdir:"TB",nodesep:10,ranksep:10,marginx:8,marginy:8});for(let r of c)if(r.size)f.setNode(r.id,{width:r.size.width,height:r.size.height,intersect:r.intersect});for(let r of n)if(r.start&&r.end){let d=i.getBlock(r.start),k=i.getBlock(r.end);if(d?.size&&k?.size){let y=d.size,m=k.size,x=[{x:y.x,y:y.y},{x:y.x+(m.x-y.x)/2,y:y.y+(m.y-y.y)/2},{x:m.x,y:m.y}],E=g?`${g}-${r.id}`:r.id,D=r.thickness==="thick"?"edge-thickness-thick":"edge-thickness-normal",L=r.pattern==="dotted"?"edge-pattern-dotted":"edge-pattern-solid",N=`${D} ${L} flowchart-link LS-a1 LE-b1`;if(Ao(e,{...r,id:E,arrowTypeEnd:r.arrowTypeEnd,arrowTypeStart:r.arrowTypeStart,points:x,classes:N},{},"block",f.node(r.start),f.node(r.end),g),r.label)await ga(e,{...r,label:r.label,labelStyle:"stroke: #333; stroke-width: 1.5px;fill:none;",arrowTypeEnd:r.arrowTypeEnd,arrowTypeStart:r.arrowTypeStart,points:x,classes:N}),$s({...r,x:x[1].x,y:x[1].y},{originalPath:x})}}}t(We,"insertEdges");var Et=t(function(e,n){return n.db.getClasses()},"getClasses"),_t=t(async function(e,n,c,i){let{securityLevel:g,block:f}=C(),r=i.db;r.setDiagramId(n);let d;if(g==="sandbox")d=h("#i"+n);let k=g==="sandbox"?h(d.nodes()[0].contentDocument.body):h("body"),y=g==="sandbox"?k.select(`[id="${n}"]`):h(`[id="${n}"]`);ip(y,C()),zs(y,["point","circle","cross"],i.type,n);let x=r.getBlocks(),E=r.getBlocksFlat(),D=r.getEdges(),L=y.insert("g").attr("class","block");await Ke(L,x,r);let N=Pe(r);await Ye(L,x,r),await We(L,D,E,r,n);let T=L.node()?.getBBox(),O=T&&Number.isFinite(T.width)&&Number.isFinite(T.height)?T:N;if(O){let A=Math.max(1,Math.round(0.125*(O.width/O.height))),z=O.height+A+10,b=O.width+10,{useMaxWidth:a}=f;te(y,z,b,!!a),l.debug("Here Bounds",N,O),y.attr("viewBox",`${O.x-5} ${O.y-5} ${O.width+10} ${O.height+10}`)}},"draw"),Dt={draw:_t,getClasses:Et},Qt={parser:qe,db:xt,renderer:Dt,styles:yt};export{Qt as diagram};
@@ -0,0 +1 @@
1
+ import{ei}from"./index-dmv2zasz.js";export{ei as default};