@kabmo-labs/kabmo 0.37.0 → 0.38.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 (254) hide show
  1. package/dist/client/index.html +1 -1
  2. package/dist/client/index.js +547 -528
  3. package/dist/client/static/js/{CsvGrid-xb429wvb.js → CsvGrid-90zfbn7f.js} +1 -1
  4. package/dist/client/static/js/{DocxView-g58e0bs7.js → DocxView-vwq2rf16.js} +2 -2
  5. package/dist/client/static/js/{DrawioView-1j66avvy.js → DrawioView-bvx7eqcz.js} +1 -1
  6. package/dist/client/static/js/{ImageView-kraqkypn.js → ImageView-q6xfmbrq.js} +1 -1
  7. package/dist/client/static/js/{LayoutWrapper-85dhbn62.js → LayoutWrapper-qatdaw3n.js} +2 -2
  8. package/dist/client/static/js/{Modal-f0nfya07.js → Modal-6jx1fvfb.js} +15 -15
  9. package/dist/client/static/js/{PdfView-nddkrky9.js → PdfView-tkv2d2zs.js} +1 -1
  10. package/dist/client/static/js/{SessionsView-a595m6g1.js → SessionsView-rbnecykz.js} +1 -1
  11. package/dist/client/static/js/{SheetView-s2p4sk6b.js → SheetView-t08g8kdr.js} +1 -1
  12. package/dist/client/static/js/{SvgPreview-ppdx4yb9.js → SvgPreview-9vh6mdcp.js} +1 -1
  13. package/dist/client/static/js/{abnfDiagram-O67JEVCF-5cjzxcaq.js → abnfDiagram-O67JEVCF-bxcn33e1.js} +1 -1
  14. package/dist/client/static/js/architecture-7GRP2DOG-r8sz34h3.js +1 -0
  15. package/dist/client/static/js/{architectureDiagram-NJMV4G6O-62mygavm.js → architectureDiagram-NJMV4G6O-40ggw6e8.js} +2 -2
  16. package/dist/client/static/js/{astro-80bs6hvg.js → astro-p3f5p9p2.js} +1 -1
  17. package/dist/client/static/js/{blockDiagram-BEXU5L5S-s5yz9hcd.js → blockDiagram-BEXU5L5S-k41cvjrd.js} +6 -6
  18. package/dist/client/static/js/c-jkdstn33.js +1 -0
  19. package/dist/client/static/js/{c4Diagram-YGBWAQC7-rf9xkmrm.js → c4Diagram-YGBWAQC7-rdcmn6ac.js} +2 -2
  20. package/dist/client/static/js/{classDiagram-v2-NBCMYWYE-zfm2cj2a.js → classDiagram-v2-NBCMYWYE-txbmbkxv.js} +5 -5
  21. package/dist/client/static/js/{cose-bilkent-JH36ORCC-fmgpv55e.js → cose-bilkent-JH36ORCC-bxzh3qj1.js} +1 -1
  22. package/dist/client/static/js/cpp-9d3xdpe3.js +1 -0
  23. package/dist/client/static/js/css-r3wja1ze.js +1 -0
  24. package/dist/client/static/js/css-sebxkh5f.js +1 -0
  25. package/dist/client/static/js/cynefin-OW5HDTMX-w2f2vev7.js +1 -0
  26. package/dist/client/static/js/{cynefinDiagram-VND7K2PF-468r5xc2.js → cynefinDiagram-VND7K2PF-abx5343b.js} +1 -1
  27. package/dist/client/static/js/{dagre-6A5THRUB-w370qmgj.js → dagre-6A5THRUB-baj278kt.js} +2 -2
  28. package/dist/client/static/js/{diagram-22UHCM2B-sfvfjjsy.js → diagram-22UHCM2B-vqvhdc5m.js} +7 -7
  29. package/dist/client/static/js/{diagram-3UASUU5V-3r2c8s14.js → diagram-3UASUU5V-w328rfx0.js} +2 -2
  30. package/dist/client/static/js/{diagram-ATOU4E4O-yathy97a.js → diagram-ATOU4E4O-zzcmwnm8.js} +2 -2
  31. package/dist/client/static/js/{diagram-CDSNMT55-kk437kxq.js → diagram-CDSNMT55-8yw39mmj.js} +1 -1
  32. package/dist/client/static/js/{diagram-MLGK6HIB-qdxfjjhf.js → diagram-MLGK6HIB-zgc386pv.js} +1 -1
  33. package/dist/client/static/js/{diagram-MPIPVDR6-dfqeqa1d.js → diagram-MPIPVDR6-efmvvscm.js} +1 -1
  34. package/dist/client/static/js/{dockerfile-yxrt509r.js → dockerfile-bp5dre33.js} +1 -1
  35. package/dist/client/static/js/{ebnfDiagram-ZINNZB2B-s0b0vv4k.js → ebnfDiagram-ZINNZB2B-p66h0dzq.js} +1 -1
  36. package/dist/client/static/js/{elixir-rpa1g4gy.js → elixir-jwphgp8j.js} +1 -1
  37. package/dist/client/static/js/{elk-276RUBZZ-mtpw0spa.js → elk-276RUBZZ-g0jjxcqd.js} +1 -1
  38. package/dist/client/static/js/{erDiagram-OPXOYQCR-agjdsm1b.js → erDiagram-OPXOYQCR-39gat96z.js} +4 -4
  39. package/dist/client/static/js/eventmodeling-NTZA5JFV-k5n61zzh.js +1 -0
  40. package/dist/client/static/js/flowDiagram-KWPJA3E3-f6jpcqyq.js +1 -0
  41. package/dist/client/static/js/{ganttDiagram-FUAMR5RP-z6ywqqc1.js → ganttDiagram-FUAMR5RP-nsjv1zt4.js} +2 -2
  42. package/dist/client/static/js/gitGraph-4MIJSDKK-2gf053bx.js +1 -0
  43. package/dist/client/static/js/{gitGraphDiagram-X574FWY7-bvbmfw6h.js → gitGraphDiagram-X574FWY7-r4vnkcy3.js} +2 -2
  44. package/dist/client/static/js/graphql-p4cskvad.js +1 -0
  45. package/dist/client/static/js/html-f26r6vv5.js +1 -0
  46. package/dist/client/static/js/{index-83ts8zmk.js → index-0kxqzafy.js} +1 -1
  47. package/dist/client/static/js/{index-kzhtmrh0.js → index-11bdd235.js} +1 -1
  48. package/dist/client/static/js/{index-we1rpftn.js → index-1qszrvzk.js} +2 -2
  49. package/dist/client/static/js/{index-21b3zyrd.js → index-24yyj78e.js} +2 -2
  50. package/dist/client/static/js/{index-nmc30xaz.js → index-2drjp9ks.js} +1 -1
  51. package/dist/client/static/js/{index-w9zxmev3.js → index-2ndq1ngv.js} +1 -1
  52. package/dist/client/static/js/{index-0j518hqm.js → index-3az1w5f8.js} +2 -2
  53. package/dist/client/static/js/{index-8e0s9p45.js → index-50z4ek83.js} +1 -1
  54. package/dist/client/static/js/{index-sezz011q.js → index-5ebhb94w.js} +1 -1
  55. package/dist/client/static/js/{index-302d35e5.js → index-5y0bvq4q.js} +34 -34
  56. package/dist/client/static/js/{index-jpkj6vqp.js → index-6ax2z70w.js} +1 -1
  57. package/dist/client/static/js/{index-9t82sx0w.js → index-6k3e5dph.js} +2 -2
  58. package/dist/client/static/js/{index-09gx6edj.js → index-73jwm4d5.js} +1 -1
  59. package/dist/client/static/js/{index-zvfvqvn9.js → index-9wd9y6m0.js} +2 -2
  60. package/dist/client/static/js/{index-m3j5yx5f.js → index-9wtg6ywn.js} +4 -4
  61. package/dist/client/static/js/{index-j7r414hf.js → index-a74k07z2.js} +2 -2
  62. package/dist/client/static/js/{index-a0bdavdr.js → index-ashpbfqv.js} +1 -1
  63. package/dist/client/static/js/{index-72t6kqjx.js → index-b9b2nwdd.js} +2 -2
  64. package/dist/client/static/js/{index-cx89yk15.js → index-c15r8jd3.js} +2 -2
  65. package/dist/client/static/js/{index-49dhv8ry.js → index-da10qpns.js} +2 -2
  66. package/dist/client/static/js/{index-xearvz2z.js → index-dfgdn3fj.js} +7 -7
  67. package/dist/client/static/js/{index-0mvcbbmy.js → index-dkseg29t.js} +9 -9
  68. package/dist/client/static/js/{index-0sqa91wb.js → index-e1pr3k50.js} +2 -2
  69. package/dist/client/static/js/{index-k06med7d.js → index-fghst0kd.js} +12 -12
  70. package/dist/client/static/js/{index-vtbbfwx0.js → index-gr6jng0x.js} +2 -2
  71. package/dist/client/static/js/{index-5fn0agag.js → index-gwhx66f4.js} +1 -1
  72. package/dist/client/static/js/{index-z7qnffwj.js → index-h8h5c2r8.js} +1 -1
  73. package/dist/client/static/js/{index-qz8mbxm9.js → index-ha75kff0.js} +2 -2
  74. package/dist/client/static/js/{index-z0frtyje.js → index-hzx81cjq.js} +4 -4
  75. package/dist/client/static/js/{index-es3pt29g.js → index-k9xsvab3.js} +1 -1
  76. package/dist/client/static/js/{index-15zn3sns.js → index-nd4p98mc.js} +1 -1
  77. package/dist/client/static/js/{index-w7xbfv44.js → index-qn4pkjfh.js} +2 -2
  78. package/dist/client/static/js/{index-64mb65wx.js → index-r83kr4s5.js} +2 -2
  79. package/dist/client/static/js/{index-pd0140dx.js → index-ra38ggke.js} +1 -1
  80. package/dist/client/static/js/{index-m87yykre.js → index-rf0p3v7q.js} +5 -5
  81. package/dist/client/static/js/{index-1tyvk778.js → index-rgp69pa8.js} +1 -1
  82. package/dist/client/static/js/{index-actppd4z.js → index-rqrcw8nj.js} +2 -2
  83. package/dist/client/static/js/{index-qznwd6g8.js → index-st202rjv.js} +184 -184
  84. package/dist/client/static/js/{index-6q80csr0.js → index-t5t71dhp.js} +2 -2
  85. package/dist/client/static/js/{index-ntxm8pw3.js → index-tfsaj5d1.js} +2 -2
  86. package/dist/client/static/js/{index-059qyaj0.js → index-tv61v3t3.js} +1 -1
  87. package/dist/client/static/js/index-tzm90bsz.js +1 -0
  88. package/dist/client/static/js/{index-z6g74h7g.js → index-vb6t44dw.js} +2 -2
  89. package/dist/client/static/js/{index-t07b31ny.js → index-vnn7m9yp.js} +3 -3
  90. package/dist/client/static/js/{index-hbtk0c12.js → index-vxd4gykh.js} +2 -2
  91. package/dist/client/static/js/{index-a293pdg7.js → index-y3hdv561.js} +2 -2
  92. package/dist/client/static/js/{index-7sa2e8mn.js → index-z0cpp5bc.js} +2 -2
  93. package/dist/client/static/js/info-A6RAGUB7-3tr0y3s6.js +1 -0
  94. package/dist/client/static/js/{infoDiagram-VRGFBTTK-58bv28d4.js → infoDiagram-VRGFBTTK-e39pvm4j.js} +1 -1
  95. package/dist/client/static/js/{ishikawaDiagram-OU5B5YK6-tz6b0caw.js → ishikawaDiagram-OU5B5YK6-rqhszgvp.js} +2 -2
  96. package/dist/client/static/js/javascript-nyf39d5r.js +1 -0
  97. package/dist/client/static/js/{journeyDiagram-ZHPQQLJL-ydamm17a.js → journeyDiagram-ZHPQQLJL-wgy5qrsv.js} +3 -3
  98. package/dist/client/static/js/{julia-v7j460gw.js → julia-237yk557.js} +1 -1
  99. package/dist/client/static/js/{kanban-definition-PNTS6WVX-7jxfsf17.js → kanban-definition-PNTS6WVX-b8bxn0h1.js} +3 -3
  100. package/dist/client/static/js/lua-86fjqj8v.js +1 -0
  101. package/dist/client/static/js/{mermaid.core-vty0aq6f.js → mermaid.core-vb5ehtre.js} +6 -6
  102. package/dist/client/static/js/{mindmap-definition-NLK3R4M7-ra4wrts4.js → mindmap-definition-NLK3R4M7-t4p38s38.js} +2 -2
  103. package/dist/client/static/js/one-dark-pro-dhybn1ff.js +1 -0
  104. package/dist/client/static/js/one-light-bqg77ay0.js +1 -0
  105. package/dist/client/static/js/packet-AYTQ26CC-xbsyjzrh.js +1 -0
  106. package/dist/client/static/js/{pegDiagram-GJSIUBJH-ydjcfea9.js → pegDiagram-GJSIUBJH-3gp4madx.js} +1 -1
  107. package/dist/client/static/js/{perl-gg4jdkcr.js → perl-dvz4y1tb.js} +1 -1
  108. package/dist/client/static/js/{php-2q8fm6k8.js → php-n6y7dzhm.js} +1 -1
  109. package/dist/client/static/js/pie-WAS4IAKB-j2tpz0cs.js +1 -0
  110. package/dist/client/static/js/{pieDiagram-5QR66LMP-wh04y7wp.js → pieDiagram-5QR66LMP-0cbm773h.js} +2 -2
  111. package/dist/client/static/js/{quadrantDiagram-O4NWA36T-4mhbag8n.js → quadrantDiagram-O4NWA36T-jwg7fc9f.js} +1 -1
  112. package/dist/client/static/js/radar-RG4KPBEZ-m3tsyfv0.js +1 -0
  113. package/dist/client/static/js/railroad-74A4TZTK-5p202a4q.js +1 -0
  114. package/dist/client/static/js/railroad-abnf-HS5TGJTU-hj0y9tgn.js +1 -0
  115. package/dist/client/static/js/railroad-ebnf-LZEXJU2U-8c5dct8f.js +1 -0
  116. package/dist/client/static/js/railroad-peg-WCYAUIDC-3tx8z65q.js +1 -0
  117. package/dist/client/static/js/{railroadDiagram-XR7U4H2S-pagmr4hc.js → railroadDiagram-XR7U4H2S-38xh691s.js} +1 -1
  118. package/dist/client/static/js/{requirementDiagram-PLB6GJNP-jhfhp4eq.js → requirementDiagram-PLB6GJNP-gpddawxh.js} +4 -4
  119. package/dist/client/static/js/{ruby-vag6a82m.js → ruby-7zye3g0e.js} +1 -1
  120. package/dist/client/static/js/{rust-yntkm6hw.js → rust-bx3ecv4n.js} +1 -1
  121. package/dist/client/static/js/{sankeyDiagram-IPEJSGJF-qrfxzvp3.js → sankeyDiagram-IPEJSGJF-s6t6bbhk.js} +1 -1
  122. package/dist/client/static/js/{sass-kbwea482.js → sass-m0h9yzfb.js} +1 -1
  123. package/dist/client/static/js/{scss-zphrqp25.js → scss-2pwwfkvn.js} +1 -1
  124. package/dist/client/static/js/{sequenceDiagram-PO4LG4MO-fpznwnva.js → sequenceDiagram-PO4LG4MO-wkq51pmb.js} +3 -3
  125. package/dist/client/static/js/{sizeCapture-INFHLROL-3hz930jg.js → sizeCapture-INFHLROL-xtwexf8k.js} +1 -1
  126. package/dist/client/static/js/{stateDiagram-v2-GCMORJYK-2m99syxm.js → stateDiagram-v2-GCMORJYK-jnwsqa7y.js} +3 -3
  127. package/dist/client/static/js/{svelte-mwtx07d9.js → svelte-x8f8c8hq.js} +1 -1
  128. package/dist/client/static/js/{swimlanes-2SLR337P-hmhd360r.js → swimlanes-2SLR337P-mnkkqcbx.js} +1 -1
  129. package/dist/client/static/js/{swimlanesDiagram-TC7HE7FX-a8b7z74e.js → swimlanesDiagram-TC7HE7FX-6xmrz03n.js} +1 -1
  130. package/dist/client/static/js/{timeline-definition-EJHVYXUP-765y3ssa.js → timeline-definition-EJHVYXUP-rxq6heqh.js} +2 -2
  131. package/dist/client/static/js/treeView-Q6P3EWNA-mf0rb2yv.js +1 -0
  132. package/dist/client/static/js/treemap-WGGIJYW6-0x5gf06b.js +1 -0
  133. package/dist/client/static/js/typescript-5nmrzgkj.js +1 -0
  134. package/dist/client/static/js/{usecaseDiagram-POWQR4AR-rex2j507.js → usecaseDiagram-POWQR4AR-dz94f57t.js} +13 -13
  135. package/dist/client/static/js/{vennDiagram-UO4OBE2U-wd51qq26.js → vennDiagram-UO4OBE2U-5mmvkhsq.js} +1 -1
  136. package/dist/client/static/js/{vue-j8vb9d7r.js → vue-myjjd0gd.js} +1 -1
  137. package/dist/client/static/js/wardley-WFR3VGLG-x7ej8dms.js +1 -0
  138. package/dist/client/static/js/{wardleyDiagram-VNRHLVJA-6jdqn8f7.js → wardleyDiagram-VNRHLVJA-dctdntpa.js} +1 -1
  139. package/dist/client/static/js/xml-3dd1pter.js +1 -0
  140. package/dist/client/static/js/{xychartDiagram-PMCCYNJV-kcz8y04e.js → xychartDiagram-PMCCYNJV-njyfrqkv.js} +2 -2
  141. package/package.json +1 -1
  142. package/src/client/components/common/ComposerPicker.tsx +24 -12
  143. package/src/client/components/common/ComposerTextarea.tsx +1 -0
  144. package/src/client/components/layout/session-sidebar/scheduler-modal/ModelFields.tsx +1 -1
  145. package/src/client/components/workspace/chat-timeline/chat-input/index.tsx +1 -1
  146. package/src/client/components/workspace/chat-timeline/index.tsx +3 -3
  147. package/src/client/components/workspace/chat-timeline/tool-renderers/ask-panel/FormAsk.test.tsx +210 -0
  148. package/src/client/components/workspace/chat-timeline/tool-renderers/ask-panel/FormAsk.tsx +342 -0
  149. package/src/client/components/workspace/chat-timeline/tool-renderers/ask-panel/LooseFieldAsk.tsx +44 -0
  150. package/src/client/components/workspace/chat-timeline/tool-renderers/ask-panel/OrphanAsks.test.tsx +44 -1
  151. package/src/client/components/workspace/chat-timeline/tool-renderers/ask-panel/OrphanAsks.tsx +10 -5
  152. package/src/client/components/workspace/chat-timeline/tool-renderers/ask-panel/PluginPendingInteractions.test.ts +1 -0
  153. package/src/client/components/workspace/chat-timeline/tool-renderers/ask-panel/drafts.ts +19 -0
  154. package/src/client/components/workspace/chat-timeline/tool-renderers/ask-panel/form-picks.ts +52 -0
  155. package/src/client/components/workspace/chat-timeline/tool-renderers/ask-panel/index.test.ts +2 -2
  156. package/src/client/components/workspace/chat-timeline/tool-renderers/ask-panel/index.tsx +53 -4
  157. package/src/client/components/workspace/model-dropdown/index.tsx +1 -1
  158. package/src/client/components/workspace/model-dropdown/use-catalog.ts +3 -32
  159. package/src/client/data/settings/omp-schema.json +55 -1
  160. package/src/client/hooks/chat/composer/harness-model-picker.ts +84 -0
  161. package/src/client/hooks/chat/composer/index.ts +26 -6
  162. package/src/client/hooks/chat/timeline/ask-frames.test.ts +80 -7
  163. package/src/client/hooks/chat/timeline/ask-frames.ts +95 -21
  164. package/src/client/hooks/models/use-harnesses.ts +15 -2
  165. package/src/server/lib/auth/agent-gate.server.ts +64 -0
  166. package/src/server/lib/auth/agent-tree-gate.test.ts +121 -0
  167. package/src/server/lib/auth/guard.test.ts +18 -18
  168. package/src/server/lib/auth/guard.ts +15 -11
  169. package/src/server/lib/auth/handover-guard.test.ts +1 -1
  170. package/src/server/lib/changes/attach.server.ts +57 -0
  171. package/src/server/lib/changes/attach.test.ts +94 -0
  172. package/src/server/lib/changes/blobs.server.ts +52 -0
  173. package/src/server/lib/changes/capture-bash.server.ts +106 -0
  174. package/src/server/lib/changes/capture-fs.server.ts +64 -0
  175. package/src/server/lib/changes/capture-runs.test.ts +136 -0
  176. package/src/server/lib/changes/capture-test-util.ts +46 -0
  177. package/src/server/lib/changes/capture-types.ts +62 -0
  178. package/src/server/lib/changes/capture.server.ts +333 -0
  179. package/src/server/lib/changes/capture.test.ts +245 -0
  180. package/src/server/lib/changes/classify-command.test.ts +172 -0
  181. package/src/server/lib/changes/classify-command.ts +272 -0
  182. package/src/server/lib/changes/classify-git.ts +88 -0
  183. package/src/server/lib/changes/classify-paths.ts +112 -0
  184. package/src/server/lib/changes/classify-tokenize.ts +185 -0
  185. package/src/server/lib/changes/journal.server.ts +183 -0
  186. package/src/server/lib/changes/journal.test.ts +125 -0
  187. package/src/server/lib/changes/merge.test.ts +137 -0
  188. package/src/server/lib/changes/paths.server.ts +37 -0
  189. package/src/server/lib/changes/purge.server.ts +32 -0
  190. package/src/server/lib/changes/reader.server.ts +322 -0
  191. package/src/server/lib/changes/reader.test.ts +137 -0
  192. package/src/server/lib/changes/records.ts +120 -0
  193. package/src/server/lib/changes/scan.server.ts +89 -0
  194. package/src/server/lib/harness/register.server.ts +3 -0
  195. package/src/server/lib/omp/rpc/event-fanout.test.ts +58 -0
  196. package/src/server/lib/omp/rpc/event-fanout.ts +19 -0
  197. package/src/server/lib/omp/rpc/manager.ts +4 -3
  198. package/src/server/lib/omp/rpc/session-registration.ts +5 -0
  199. package/src/server/lib/omp/rpc/session-registry.ts +4 -5
  200. package/src/server/lib/omp/session/delete.server.ts +4 -0
  201. package/src/server/lib/sessions/agent-token.server.test.ts +28 -5
  202. package/src/server/lib/sessions/agent-token.server.ts +42 -6
  203. package/src/server/lib/sessions/relation-access.server.test.ts +96 -0
  204. package/src/server/lib/sessions/relation-access.server.ts +71 -0
  205. package/src/server/routes/sessions/changes.ts +1 -1
  206. package/src/shared/lib/chat/ask-form/fields.ts +1 -0
  207. package/src/shared/lib/chat/ask-form/types.ts +6 -0
  208. package/src/shared/lib/chat/ask-questions.ts +56 -3
  209. package/src/shared/lib/chat/composer/delegation.ts +2 -13
  210. package/src/shared/lib/chat/composer/filter.test.ts +39 -0
  211. package/src/shared/lib/chat/composer/filter.ts +23 -13
  212. package/src/shared/lib/chat/composer/harness-model-items.test.ts +54 -0
  213. package/src/shared/lib/chat/composer/harness-model-items.ts +41 -0
  214. package/src/shared/lib/chat/composer/trigger.test.ts +50 -0
  215. package/src/shared/lib/chat/composer/trigger.ts +29 -1
  216. package/src/shared/lib/chat/timeline/changed-files.test.ts +16 -0
  217. package/src/shared/lib/chat/timeline/changed-files.ts +102 -25
  218. package/src/shared/lib/harness/catalog.ts +21 -0
  219. package/src/{client/components/workspace/model-dropdown/harness-models.test.ts → shared/lib/harness/models.test.ts} +1 -1
  220. package/src/shared/lib/models/option.ts +46 -0
  221. package/src/shared/lib/omp/config/schema.test.ts +20 -0
  222. package/src/shared/types/chat.ts +12 -6
  223. package/src/shared/types/omp/agent.ts +9 -0
  224. package/src/shared/types/session-changes.ts +4 -0
  225. package/dist/client/static/js/architecture-7GRP2DOG-7ewrw5vc.js +0 -1
  226. package/dist/client/static/js/c-wkgxb1t1.js +0 -1
  227. package/dist/client/static/js/cpp-y0t6mynx.js +0 -1
  228. package/dist/client/static/js/css-r2nhvzff.js +0 -1
  229. package/dist/client/static/js/css-tf1s0nb7.js +0 -1
  230. package/dist/client/static/js/cynefin-OW5HDTMX-yyyx3px0.js +0 -1
  231. package/dist/client/static/js/eventmodeling-NTZA5JFV-cx3ztxfz.js +0 -1
  232. package/dist/client/static/js/flowDiagram-KWPJA3E3-267mw6sv.js +0 -1
  233. package/dist/client/static/js/gitGraph-4MIJSDKK-eg9r85ak.js +0 -1
  234. package/dist/client/static/js/graphql-skw5krjr.js +0 -1
  235. package/dist/client/static/js/html-pv88ny12.js +0 -1
  236. package/dist/client/static/js/index-tcegdd2t.js +0 -1
  237. package/dist/client/static/js/info-A6RAGUB7-7qhah7fs.js +0 -1
  238. package/dist/client/static/js/javascript-4kw2j9t3.js +0 -1
  239. package/dist/client/static/js/lua-ke895s2q.js +0 -1
  240. package/dist/client/static/js/one-dark-pro-2pywnqrh.js +0 -1
  241. package/dist/client/static/js/one-light-vfgdt4wf.js +0 -1
  242. package/dist/client/static/js/packet-AYTQ26CC-ag2g7tbk.js +0 -1
  243. package/dist/client/static/js/pie-WAS4IAKB-nqcyj3x1.js +0 -1
  244. package/dist/client/static/js/radar-RG4KPBEZ-60gby7be.js +0 -1
  245. package/dist/client/static/js/railroad-74A4TZTK-cnkmcjse.js +0 -1
  246. package/dist/client/static/js/railroad-abnf-HS5TGJTU-qgfdnazd.js +0 -1
  247. package/dist/client/static/js/railroad-ebnf-LZEXJU2U-609h6cpx.js +0 -1
  248. package/dist/client/static/js/railroad-peg-WCYAUIDC-xqnytjhg.js +0 -1
  249. package/dist/client/static/js/treeView-Q6P3EWNA-8djqab8k.js +0 -1
  250. package/dist/client/static/js/treemap-WGGIJYW6-hdztnffk.js +0 -1
  251. package/dist/client/static/js/typescript-0s2t05jj.js +0 -1
  252. package/dist/client/static/js/wardley-WFR3VGLG-avby77vv.js +0 -1
  253. package/dist/client/static/js/xml-81hxjjt4.js +0 -1
  254. /package/src/{client/components/workspace/model-dropdown/harness-models.ts → shared/lib/harness/models.ts} +0 -0
@@ -1,4 +1,4 @@
1
- import{t,te,R,L,z,O,U,j,G,p,h,Lr,xn}from"./index-302d35e5.js";import{Oi,fu,uA,tr}from"./index-cx89yk15.js";var it=function(){var e=t(function(u,n,s,l){for(s=s||{},l=u.length;l--;s[u[l]]=n);return s},"o"),r=[6,8,10,11,12,14,16,17,18],a=[1,9],g=[1,10],i=[1,11],y=[1,12],m=[1,13],o=[1,14],x={trace:t(function(){},"trace"),yy:{},symbols_:{error:2,start:3,journey:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,title:11,acc_title:12,acc_title_value:13,acc_descr:14,acc_descr_value:15,acc_descr_multiline_value:16,section:17,taskName:18,taskData:19,$accept:0,$end:1},terminals_:{2:"error",4:"journey",6:"EOF",8:"SPACE",10:"NEWLINE",11:"title",12:"acc_title",13:"acc_title_value",14:"acc_descr",15:"acc_descr_value",16:"acc_descr_multiline_value",17:"section",18:"taskName",19:"taskData"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,2]],performAction:t(function(n,s,l,d,f,c,w){var _=c.length-1;switch(f){case 1:return c[_-1];case 2:this.$=[];break;case 3:c[_-1].push(c[_]),this.$=c[_-1];break;case 4:case 5:this.$=c[_];break;case 6:case 7:this.$=[];break;case 8:d.setDiagramTitle(c[_].substr(6)),this.$=c[_].substr(6);break;case 9:this.$=c[_].trim(),d.setAccTitle(this.$);break;case 10:case 11:this.$=c[_].trim(),d.setAccDescription(this.$);break;case 12:d.addSection(c[_].substr(8)),this.$=c[_].substr(8);break;case 13:d.addTask(c[_-1],c[_]),this.$="task";break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},e(r,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:a,12:g,14:i,16:y,17:m,18:o},e(r,[2,7],{1:[2,1]}),e(r,[2,3]),{9:15,11:a,12:g,14:i,16:y,17:m,18:o},e(r,[2,5]),e(r,[2,6]),e(r,[2,8]),{13:[1,16]},{15:[1,17]},e(r,[2,11]),e(r,[2,12]),{19:[1,18]},e(r,[2,4]),e(r,[2,9]),e(r,[2,10]),e(r,[2,13])],defaultActions:{},parseError:t(function(n,s){if(s.recoverable)this.trace(n);else{var l=Error(n);throw l.hash=s,l}},"parseError"),parse:t(function(n){var s=this,l=[0],d=[],f=[null],c=[],w=this.table,_="",A=0,lt=0,ot=0,bt=2,ct=1,_t=c.slice.call(arguments,1),v=Object.create(this.lexer),V={yy:{}};for(var K in this.yy)if(Object.prototype.hasOwnProperty.call(this.yy,K))V.yy[K]=this.yy[K];if(v.setInput(n,V.yy),V.yy.lexer=v,V.yy.parser=this,typeof v.yylloc>"u")v.yylloc={};var Q=v.yylloc;c.push(Q);var vt=v.options&&v.options.ranges;if(typeof V.yy.parseError==="function")this.parseError=V.yy.parseError;else this.parseError=Object.getPrototypeOf(this).parseError;function wt(M){l.length=l.length-2*M,f.length=f.length-M,c.length=c.length-M}t(wt,"popStack");function ht(){var M=d.pop()||v.lex()||ct;if(typeof M!=="number"){if(M instanceof Array)d=M,M=d.pop();M=s.symbols_[M]||M}return M}t(ht,"lex");var T,D,B,S,qt,tt,N={},H,P,ut,Z;while(!0){if(B=l[l.length-1],this.defaultActions[B])S=this.defaultActions[B];else{if(T===null||typeof T>"u")T=ht();S=w[B]&&w[B][T]}if(typeof S>"u"||!S.length||!S[0]){var et="";Z=[];for(H in w[B])if(this.terminals_[H]&&H>bt)Z.push("'"+this.terminals_[H]+"'");if(v.showPosition)et="Parse error on line "+(A+1)+`:
1
+ import{t,te,R,L,z,O,U,j,G,p,h,Lr,wn}from"./index-5y0bvq4q.js";import{$i,fu,uA,tr}from"./index-c15r8jd3.js";var it=function(){var e=t(function(u,n,s,l){for(s=s||{},l=u.length;l--;s[u[l]]=n);return s},"o"),r=[6,8,10,11,12,14,16,17,18],a=[1,9],g=[1,10],i=[1,11],y=[1,12],m=[1,13],o=[1,14],x={trace:t(function(){},"trace"),yy:{},symbols_:{error:2,start:3,journey:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,title:11,acc_title:12,acc_title_value:13,acc_descr:14,acc_descr_value:15,acc_descr_multiline_value:16,section:17,taskName:18,taskData:19,$accept:0,$end:1},terminals_:{2:"error",4:"journey",6:"EOF",8:"SPACE",10:"NEWLINE",11:"title",12:"acc_title",13:"acc_title_value",14:"acc_descr",15:"acc_descr_value",16:"acc_descr_multiline_value",17:"section",18:"taskName",19:"taskData"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,2]],performAction:t(function(n,s,l,d,f,c,w){var _=c.length-1;switch(f){case 1:return c[_-1];case 2:this.$=[];break;case 3:c[_-1].push(c[_]),this.$=c[_-1];break;case 4:case 5:this.$=c[_];break;case 6:case 7:this.$=[];break;case 8:d.setDiagramTitle(c[_].substr(6)),this.$=c[_].substr(6);break;case 9:this.$=c[_].trim(),d.setAccTitle(this.$);break;case 10:case 11:this.$=c[_].trim(),d.setAccDescription(this.$);break;case 12:d.addSection(c[_].substr(8)),this.$=c[_].substr(8);break;case 13:d.addTask(c[_-1],c[_]),this.$="task";break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},e(r,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:a,12:g,14:i,16:y,17:m,18:o},e(r,[2,7],{1:[2,1]}),e(r,[2,3]),{9:15,11:a,12:g,14:i,16:y,17:m,18:o},e(r,[2,5]),e(r,[2,6]),e(r,[2,8]),{13:[1,16]},{15:[1,17]},e(r,[2,11]),e(r,[2,12]),{19:[1,18]},e(r,[2,4]),e(r,[2,9]),e(r,[2,10]),e(r,[2,13])],defaultActions:{},parseError:t(function(n,s){if(s.recoverable)this.trace(n);else{var l=Error(n);throw l.hash=s,l}},"parseError"),parse:t(function(n){var s=this,l=[0],d=[],f=[null],c=[],w=this.table,_="",A=0,lt=0,ot=0,bt=2,ct=1,_t=c.slice.call(arguments,1),v=Object.create(this.lexer),V={yy:{}};for(var K in this.yy)if(Object.prototype.hasOwnProperty.call(this.yy,K))V.yy[K]=this.yy[K];if(v.setInput(n,V.yy),V.yy.lexer=v,V.yy.parser=this,typeof v.yylloc>"u")v.yylloc={};var Q=v.yylloc;c.push(Q);var vt=v.options&&v.options.ranges;if(typeof V.yy.parseError==="function")this.parseError=V.yy.parseError;else this.parseError=Object.getPrototypeOf(this).parseError;function wt(M){l.length=l.length-2*M,f.length=f.length-M,c.length=c.length-M}t(wt,"popStack");function ht(){var M=d.pop()||v.lex()||ct;if(typeof M!=="number"){if(M instanceof Array)d=M,M=d.pop();M=s.symbols_[M]||M}return M}t(ht,"lex");var T,D,B,S,qt,tt,N={},H,P,ut,Z;while(!0){if(B=l[l.length-1],this.defaultActions[B])S=this.defaultActions[B];else{if(T===null||typeof T>"u")T=ht();S=w[B]&&w[B][T]}if(typeof S>"u"||!S.length||!S[0]){var et="";Z=[];for(H in w[B])if(this.terminals_[H]&&H>bt)Z.push("'"+this.terminals_[H]+"'");if(v.showPosition)et="Parse error on line "+(A+1)+`:
2
2
  `+v.showPosition()+`
3
3
  Expecting `+Z.join(", ")+", got '"+(this.terminals_[T]||T)+"'";else et="Parse error on line "+(A+1)+": Unexpected "+(T==ct?"end of input":"'"+(this.terminals_[T]||T)+"'");this.parseError(et,{text:v.match,token:this.terminals_[T]||T,line:v.yylineno,loc:Q,expected:Z})}if(S[0]instanceof Array&&S.length>1)throw Error("Parse Error: multiple actions possible at state: "+B+", token: "+T);switch(S[0]){case 1:if(l.push(T),f.push(v.yytext),c.push(v.yylloc),l.push(S[1]),T=null,!D){if(lt=v.yyleng,_=v.yytext,A=v.yylineno,Q=v.yylloc,ot>0)ot--}else T=D,D=null;break;case 2:if(P=this.productions_[S[1]][1],N.$=f[f.length-P],N._$={first_line:c[c.length-(P||1)].first_line,last_line:c[c.length-1].last_line,first_column:c[c.length-(P||1)].first_column,last_column:c[c.length-1].last_column},vt)N._$.range=[c[c.length-(P||1)].range[0],c[c.length-1].range[1]];if(tt=this.performAction.apply(N,[_,lt,A,V.yy,S[1],f,c].concat(_t)),typeof tt<"u")return tt;if(P)l=l.slice(0,-1*P*2),f=f.slice(0,-1*P),c=c.slice(0,-1*P);l.push(this.productions_[S[1]][0]),f.push(N.$),c.push(N._$),ut=w[l[l.length-2]][l[l.length-1]],l.push(ut);break;case 3:return!0}}return!0},"parse")},k=function(){var u={EOF:1,parseError:t(function(s,l){if(this.yy.parser)this.yy.parser.parseError(s,l);else throw Error(s)},"parseError"),setInput:t(function(n,s){if(this.yy=s||this.yy||{},this._input=n,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 n=this._input[0];this.yytext+=n,this.yyleng++,this.offset++,this.match+=n,this.matched+=n;var s=n.match(/(?:\r\n?|\n).*/g);if(s)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),n},"input"),unput:t(function(n){var s=n.length,l=n.split(/(?:\r\n?|\n)/g);this._input=n+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-s),this.offset-=s;var d=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),l.length-1)this.yylineno-=l.length-1;var f=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:l?(l.length===d.length?this.yylloc.first_column:0)+d[d.length-l.length].length-l[0].length:this.yylloc.first_column-s},this.options.ranges)this.yylloc.range=[f[0],f[0]+this.yyleng-s];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(n){this.unput(this.match.slice(n))},"less"),pastInput:t(function(){var n=this.matched.substr(0,this.matched.length-this.match.length);return(n.length>20?"...":"")+n.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:t(function(){var n=this.match;if(n.length<20)n+=this._input.substr(0,20-n.length);return(n.substr(0,20)+(n.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:t(function(){var n=this.pastInput(),s=Array(n.length+1).join("-");return n+this.upcomingInput()+`
@@ -135,5 +135,5 @@ Expecting `+Z.join(", ")+", got '"+(this.terminals_[T]||T)+"'";else et="Parse er
135
135
  .actor-5 {
136
136
  ${e.actor5?`fill: ${e.actor5}`:""};
137
137
  }
138
- ${xn()}
139
- `,"getStyles"),Vt=Ft,at=t(function(e,r){return Oi(e,r)},"drawRect"),Rt=t(function(e,r){let g=e.append("circle").attr("cx",r.cx).attr("cy",r.cy).attr("class","face").attr("r",15).attr("stroke-width",2).attr("overflow","visible"),i=e.append("g");i.append("circle").attr("cx",r.cx-5).attr("cy",r.cy-5).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666"),i.append("circle").attr("cx",r.cx+5).attr("cy",r.cy-5).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666");function y(x){let k=Lr().startAngle(Math.PI/2).endAngle(3*(Math.PI/2)).innerRadius(7.5).outerRadius(6.8181818181818175);x.append("path").attr("class","mouth").attr("d",k).attr("transform","translate("+r.cx+","+(r.cy+2)+")")}t(y,"smile");function m(x){let k=Lr().startAngle(3*Math.PI/2).endAngle(5*(Math.PI/2)).innerRadius(7.5).outerRadius(6.8181818181818175);x.append("path").attr("class","mouth").attr("d",k).attr("transform","translate("+r.cx+","+(r.cy+7)+")")}t(m,"sad");function o(x){x.append("line").attr("class","mouth").attr("stroke",2).attr("x1",r.cx-5).attr("y1",r.cy+7).attr("x2",r.cx+5).attr("y2",r.cy+7).attr("class","mouth").attr("stroke-width","1px").attr("stroke","#666")}if(t(o,"ambivalent"),r.score>3)y(i);else if(r.score<3)m(i);else o(i);return g},"drawFace"),gt=t(function(e,r){let a=e.append("circle");if(a.attr("cx",r.cx),a.attr("cy",r.cy),a.attr("class","actor-"+r.pos),a.attr("fill",r.fill),a.attr("stroke",r.stroke),a.attr("r",r.r),a.class!==void 0)a.attr("class",a.class);if(r.title!==void 0)a.append("title").text(r.title);return a},"drawCircle"),mt=t(function(e,r){return uA(e,r)},"drawText"),Lt=t(function(e,r){function a(i,y,m,o,x){return i+","+y+" "+(i+m)+","+y+" "+(i+m)+","+(y+o-x)+" "+(i+m-x*1.2)+","+(y+o)+" "+i+","+(y+o)}t(a,"genPoints");let g=e.append("polygon");g.attr("points",a(r.x,r.y,50,20,7)),g.attr("class","labelBox"),r.y=r.y+r.labelMargin,r.x=r.x+0.5*r.labelMargin,mt(e,r)},"drawLabel"),Bt=t(function(e,r,a){let g=e.append("g"),i=tr();i.x=r.x,i.y=r.y,i.fill=r.fill,i.width=a.width*r.taskCount+a.diagramMarginX*(r.taskCount-1),i.height=a.height,i.class="journey-section section-type-"+r.num,i.rx=3,i.ry=3,at(g,i),xt(a)(r.text,g,i.x,i.y,i.width,i.height,{class:"journey-section section-type-"+r.num},a,r.colour)},"drawSection"),nt=-1,jt=t(function(e,r,a,g){let i=r.x+a.width/2,y=e.append("g");nt++;let m=450;y.append("line").attr("id",g+"-task"+nt).attr("x1",i).attr("y1",r.y).attr("x2",i).attr("y2",m).attr("class","task-line").attr("stroke-width","1px").attr("stroke-dasharray","4 2").attr("stroke","#666"),Rt(y,{cx:i,cy:300+(5-r.score)*30,score:r.score});let o=tr();o.x=r.x,o.y=r.y,o.fill=r.fill,o.width=a.width,o.height=a.height,o.class="task task-type-"+r.num,o.rx=3,o.ry=3,at(y,o);let x=r.x+14;r.people.forEach((k)=>{let b=r.actors[k].color,u={cx:x,cy:r.y,r:7,fill:b,stroke:"#000",title:k,pos:r.actors[k].position};gt(y,u),x+=10}),xt(a)(r.task,y,o.x,o.y,o.width,o.height,{class:"task"},a,r.colour)},"drawTask"),Nt=t(function(e,r){fu(e,r)},"drawBackgroundRect"),xt=function(){function e(i,y,m,o,x,k,b,u){let n=y.append("text").attr("x",m+x/2).attr("y",o+k/2+5).style("font-color",u).style("text-anchor","middle").text(i);g(n,b)}t(e,"byText");function r(i,y,m,o,x,k,b,u,n){let{taskFontSize:s,taskFontFamily:l}=u,d=i.split(/<br\s*\/?>/gi);for(let f=0;f<d.length;f++){let c=f*s-s*(d.length-1)/2,w=y.append("text").attr("x",m+x/2).attr("y",o).attr("fill",n).style("text-anchor","middle").style("font-size",s).style("font-family",l);w.append("tspan").attr("x",m+x/2).attr("dy",c).text(d[f]),w.attr("y",o+k/2).attr("dominant-baseline","central").attr("alignment-baseline","central"),g(w,b)}}t(r,"byTspan");function a(i,y,m,o,x,k,b,u){let n=y.append("switch"),l=n.append("foreignObject").attr("x",m).attr("y",o).attr("width",x).attr("height",k).attr("position","fixed").append("xhtml:div").style("display","table").style("height","100%").style("width","100%");l.append("div").attr("class","label").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(i),r(i,n,m,o,x,k,b,u),g(l,b)}t(a,"byFo");function g(i,y){for(let m in y)if(m in y)i.attr(m,y[m])}return t(g,"_setTextAttrs"),function(i){return i.textPlacement==="fo"?a:i.textPlacement==="old"?e:r}}(),zt=t(function(e,r){nt=-1,e.append("defs").append("marker").attr("id",r+"-arrowhead").attr("refX",5).attr("refY",2).attr("markerWidth",6).attr("markerHeight",4).attr("orient","auto").append("path").attr("d","M 0,0 V 4 L6,2 Z")},"initGraphics"),X={drawRect:at,drawCircle:gt,drawSection:Bt,drawText:mt,drawLabel:Lt,drawTask:jt,drawBackgroundRect:Nt,initGraphics:zt},Wt=t(function(e){Object.keys(e).forEach(function(a){C[a]=e[a]})},"setConf"),I={},J=0;function kt(e){let r=p().journey,a=r.maxLabelWidth;J=0;let g=60;Object.keys(I).forEach((i)=>{let y=I[i].color,m={cx:20,cy:g,r:7,fill:y,stroke:"#000",pos:I[i].position};X.drawCircle(e,m);let o=e.append("text").attr("visibility","hidden").text(i),x=o.node().getBoundingClientRect().width;o.remove();let k=[];if(x<=a)k=[i];else{let b=i.split(" "),u="";if(o=e.append("text").attr("visibility","hidden"),b.forEach((n)=>{let s=u?`${u} ${n}`:n;if(o.text(s),o.node().getBoundingClientRect().width>a){if(u)k.push(u);if(u=n,o.text(n),o.node().getBoundingClientRect().width>a){let d="";for(let f of n)if(d+=f,o.text(d+"-"),o.node().getBoundingClientRect().width>a)k.push(d.slice(0,-1)+"-"),d=f;u=d}}else u=s}),u)k.push(u);o.remove()}k.forEach((b,u)=>{let n={x:40,y:g+7+u*20,fill:"#666",text:b,textMargin:r.boxTextMargin??5},l=X.drawText(e,n).node().getBoundingClientRect().width;if(l>J&&l>r.leftMargin-l)J=l}),g+=Math.max(20,k.length*20)})}t(kt,"drawActorLegend");var C=p().journey,F=0,Ot=t(function(e,r,a,g){let i=p(),y=i.journey.titleColor,m=i.journey.titleFontSize,o=i.journey.titleFontFamily,x=i.securityLevel,k;if(x==="sandbox")k=h("#i"+r);let b=x==="sandbox"?h(k.nodes()[0].contentDocument.body):h("body");E.init();let u=b.select("#"+r);X.initGraphics(u,r);let n=g.db.getTasks(),s=g.db.getDiagramTitle(),l=g.db.getActors();for(let A in I)delete I[A];let d=0;l.forEach((A)=>{I[A]={color:C.actorColours[d%C.actorColours.length],position:d},d++}),kt(u),F=C.leftMargin+J,E.insert(0,0,F,Object.keys(I).length*50),Yt(u,n,0,r);let f=E.getBounds();if(s)u.append("text").text(s).attr("x",F).attr("font-size",m).attr("font-weight","bold").attr("y",25).attr("fill",y).attr("font-family",o);let c=f.stopy-f.starty+2*C.diagramMarginY,w=F+f.stopx+2*C.diagramMarginX;te(u,c,w,C.useMaxWidth),u.append("line").attr("x1",F).attr("y1",C.height*4).attr("x2",w-F-4).attr("y2",C.height*4).attr("stroke-width",4).attr("stroke","black").attr("marker-end","url(#"+r+"-arrowhead)");let _=s?70:0;u.attr("viewBox",`${f.startx} -25 ${w} ${c+_}`),u.attr("preserveAspectRatio","xMinYMin meet"),u.attr("height",c+_+25)},"draw"),E={data:{startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},verticalPos:0,sequenceItems:[],init:t(function(){this.sequenceItems=[],this.data={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},this.verticalPos=0},"init"),updateVal:t(function(e,r,a,g){if(e[r]===void 0)e[r]=a;else e[r]=g(a,e[r])},"updateVal"),updateBounds:t(function(e,r,a,g){let i=p().journey,y=this,m=0;function o(x){return t(function(b){m++;let u=y.sequenceItems.length-m+1;if(y.updateVal(b,"starty",r-u*i.boxMargin,Math.min),y.updateVal(b,"stopy",g+u*i.boxMargin,Math.max),y.updateVal(E.data,"startx",e-u*i.boxMargin,Math.min),y.updateVal(E.data,"stopx",a+u*i.boxMargin,Math.max),x!=="activation")y.updateVal(b,"startx",e-u*i.boxMargin,Math.min),y.updateVal(b,"stopx",a+u*i.boxMargin,Math.max),y.updateVal(E.data,"starty",r-u*i.boxMargin,Math.min),y.updateVal(E.data,"stopy",g+u*i.boxMargin,Math.max)},"updateItemBounds")}t(o,"updateFn"),this.sequenceItems.forEach(o())},"updateBounds"),insert:t(function(e,r,a,g){let i=Math.min(e,a),y=Math.max(e,a),m=Math.min(r,g),o=Math.max(r,g);this.updateVal(E.data,"startx",i,Math.min),this.updateVal(E.data,"starty",m,Math.min),this.updateVal(E.data,"stopx",y,Math.max),this.updateVal(E.data,"stopy",o,Math.max),this.updateBounds(i,m,y,o)},"insert"),bumpVerticalPos:t(function(e){this.verticalPos=this.verticalPos+e,this.data.stopy=this.verticalPos},"bumpVerticalPos"),getVerticalPos:t(function(){return this.verticalPos},"getVerticalPos"),getBounds:t(function(){return this.data},"getBounds")},{sectionFills:rt,sectionColours:ft}=C,Yt=t(function(e,r,a,g){let i=p().journey,y="",m=i.height*2+i.diagramMarginY,o=a+m,x=0,k="#CCC",b="black",u=0;for(let[n,s]of r.entries()){if(y!==s.section){k=rt[x%rt.length],u=x%rt.length,b=ft[x%ft.length];let d=0,f=s.section;for(let w=n;w<r.length;w++)if(r[w].section==f)d=d+1;else break;let c={x:n*i.taskMargin+n*i.width+F,y:50,text:s.section,fill:k,num:u,colour:b,taskCount:d};X.drawSection(e,c,i),y=s.section,x++}let l=s.people.reduce((d,f)=>{if(I[f])d[f]=I[f];return d},{});s.x=n*i.taskMargin+n*i.width+F,s.y=o,s.width=i.diagramMarginX,s.height=i.diagramMarginY,s.colour=b,s.fill=k,s.num=u,s.actors=l,X.drawTask(e,s,i,g),E.insert(s.x,s.y,s.x+s.width+i.taskMargin,450)}},"drawTasks"),pt={setConf:Wt,draw:Ot},Qt={parser:Tt,db:dt,renderer:pt,styles:Vt,init:t((e)=>{pt.setConf(e.journey),dt.clear()},"init")};export{Qt as diagram};
138
+ ${wn()}
139
+ `,"getStyles"),Vt=Ft,at=t(function(e,r){return $i(e,r)},"drawRect"),Rt=t(function(e,r){let g=e.append("circle").attr("cx",r.cx).attr("cy",r.cy).attr("class","face").attr("r",15).attr("stroke-width",2).attr("overflow","visible"),i=e.append("g");i.append("circle").attr("cx",r.cx-5).attr("cy",r.cy-5).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666"),i.append("circle").attr("cx",r.cx+5).attr("cy",r.cy-5).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666");function y(x){let k=Lr().startAngle(Math.PI/2).endAngle(3*(Math.PI/2)).innerRadius(7.5).outerRadius(6.8181818181818175);x.append("path").attr("class","mouth").attr("d",k).attr("transform","translate("+r.cx+","+(r.cy+2)+")")}t(y,"smile");function m(x){let k=Lr().startAngle(3*Math.PI/2).endAngle(5*(Math.PI/2)).innerRadius(7.5).outerRadius(6.8181818181818175);x.append("path").attr("class","mouth").attr("d",k).attr("transform","translate("+r.cx+","+(r.cy+7)+")")}t(m,"sad");function o(x){x.append("line").attr("class","mouth").attr("stroke",2).attr("x1",r.cx-5).attr("y1",r.cy+7).attr("x2",r.cx+5).attr("y2",r.cy+7).attr("class","mouth").attr("stroke-width","1px").attr("stroke","#666")}if(t(o,"ambivalent"),r.score>3)y(i);else if(r.score<3)m(i);else o(i);return g},"drawFace"),gt=t(function(e,r){let a=e.append("circle");if(a.attr("cx",r.cx),a.attr("cy",r.cy),a.attr("class","actor-"+r.pos),a.attr("fill",r.fill),a.attr("stroke",r.stroke),a.attr("r",r.r),a.class!==void 0)a.attr("class",a.class);if(r.title!==void 0)a.append("title").text(r.title);return a},"drawCircle"),mt=t(function(e,r){return uA(e,r)},"drawText"),Lt=t(function(e,r){function a(i,y,m,o,x){return i+","+y+" "+(i+m)+","+y+" "+(i+m)+","+(y+o-x)+" "+(i+m-x*1.2)+","+(y+o)+" "+i+","+(y+o)}t(a,"genPoints");let g=e.append("polygon");g.attr("points",a(r.x,r.y,50,20,7)),g.attr("class","labelBox"),r.y=r.y+r.labelMargin,r.x=r.x+0.5*r.labelMargin,mt(e,r)},"drawLabel"),Bt=t(function(e,r,a){let g=e.append("g"),i=tr();i.x=r.x,i.y=r.y,i.fill=r.fill,i.width=a.width*r.taskCount+a.diagramMarginX*(r.taskCount-1),i.height=a.height,i.class="journey-section section-type-"+r.num,i.rx=3,i.ry=3,at(g,i),xt(a)(r.text,g,i.x,i.y,i.width,i.height,{class:"journey-section section-type-"+r.num},a,r.colour)},"drawSection"),nt=-1,jt=t(function(e,r,a,g){let i=r.x+a.width/2,y=e.append("g");nt++;let m=450;y.append("line").attr("id",g+"-task"+nt).attr("x1",i).attr("y1",r.y).attr("x2",i).attr("y2",m).attr("class","task-line").attr("stroke-width","1px").attr("stroke-dasharray","4 2").attr("stroke","#666"),Rt(y,{cx:i,cy:300+(5-r.score)*30,score:r.score});let o=tr();o.x=r.x,o.y=r.y,o.fill=r.fill,o.width=a.width,o.height=a.height,o.class="task task-type-"+r.num,o.rx=3,o.ry=3,at(y,o);let x=r.x+14;r.people.forEach((k)=>{let b=r.actors[k].color,u={cx:x,cy:r.y,r:7,fill:b,stroke:"#000",title:k,pos:r.actors[k].position};gt(y,u),x+=10}),xt(a)(r.task,y,o.x,o.y,o.width,o.height,{class:"task"},a,r.colour)},"drawTask"),Nt=t(function(e,r){fu(e,r)},"drawBackgroundRect"),xt=function(){function e(i,y,m,o,x,k,b,u){let n=y.append("text").attr("x",m+x/2).attr("y",o+k/2+5).style("font-color",u).style("text-anchor","middle").text(i);g(n,b)}t(e,"byText");function r(i,y,m,o,x,k,b,u,n){let{taskFontSize:s,taskFontFamily:l}=u,d=i.split(/<br\s*\/?>/gi);for(let f=0;f<d.length;f++){let c=f*s-s*(d.length-1)/2,w=y.append("text").attr("x",m+x/2).attr("y",o).attr("fill",n).style("text-anchor","middle").style("font-size",s).style("font-family",l);w.append("tspan").attr("x",m+x/2).attr("dy",c).text(d[f]),w.attr("y",o+k/2).attr("dominant-baseline","central").attr("alignment-baseline","central"),g(w,b)}}t(r,"byTspan");function a(i,y,m,o,x,k,b,u){let n=y.append("switch"),l=n.append("foreignObject").attr("x",m).attr("y",o).attr("width",x).attr("height",k).attr("position","fixed").append("xhtml:div").style("display","table").style("height","100%").style("width","100%");l.append("div").attr("class","label").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(i),r(i,n,m,o,x,k,b,u),g(l,b)}t(a,"byFo");function g(i,y){for(let m in y)if(m in y)i.attr(m,y[m])}return t(g,"_setTextAttrs"),function(i){return i.textPlacement==="fo"?a:i.textPlacement==="old"?e:r}}(),zt=t(function(e,r){nt=-1,e.append("defs").append("marker").attr("id",r+"-arrowhead").attr("refX",5).attr("refY",2).attr("markerWidth",6).attr("markerHeight",4).attr("orient","auto").append("path").attr("d","M 0,0 V 4 L6,2 Z")},"initGraphics"),X={drawRect:at,drawCircle:gt,drawSection:Bt,drawText:mt,drawLabel:Lt,drawTask:jt,drawBackgroundRect:Nt,initGraphics:zt},Wt=t(function(e){Object.keys(e).forEach(function(a){C[a]=e[a]})},"setConf"),I={},J=0;function kt(e){let r=p().journey,a=r.maxLabelWidth;J=0;let g=60;Object.keys(I).forEach((i)=>{let y=I[i].color,m={cx:20,cy:g,r:7,fill:y,stroke:"#000",pos:I[i].position};X.drawCircle(e,m);let o=e.append("text").attr("visibility","hidden").text(i),x=o.node().getBoundingClientRect().width;o.remove();let k=[];if(x<=a)k=[i];else{let b=i.split(" "),u="";if(o=e.append("text").attr("visibility","hidden"),b.forEach((n)=>{let s=u?`${u} ${n}`:n;if(o.text(s),o.node().getBoundingClientRect().width>a){if(u)k.push(u);if(u=n,o.text(n),o.node().getBoundingClientRect().width>a){let d="";for(let f of n)if(d+=f,o.text(d+"-"),o.node().getBoundingClientRect().width>a)k.push(d.slice(0,-1)+"-"),d=f;u=d}}else u=s}),u)k.push(u);o.remove()}k.forEach((b,u)=>{let n={x:40,y:g+7+u*20,fill:"#666",text:b,textMargin:r.boxTextMargin??5},l=X.drawText(e,n).node().getBoundingClientRect().width;if(l>J&&l>r.leftMargin-l)J=l}),g+=Math.max(20,k.length*20)})}t(kt,"drawActorLegend");var C=p().journey,F=0,Ot=t(function(e,r,a,g){let i=p(),y=i.journey.titleColor,m=i.journey.titleFontSize,o=i.journey.titleFontFamily,x=i.securityLevel,k;if(x==="sandbox")k=h("#i"+r);let b=x==="sandbox"?h(k.nodes()[0].contentDocument.body):h("body");E.init();let u=b.select("#"+r);X.initGraphics(u,r);let n=g.db.getTasks(),s=g.db.getDiagramTitle(),l=g.db.getActors();for(let A in I)delete I[A];let d=0;l.forEach((A)=>{I[A]={color:C.actorColours[d%C.actorColours.length],position:d},d++}),kt(u),F=C.leftMargin+J,E.insert(0,0,F,Object.keys(I).length*50),Yt(u,n,0,r);let f=E.getBounds();if(s)u.append("text").text(s).attr("x",F).attr("font-size",m).attr("font-weight","bold").attr("y",25).attr("fill",y).attr("font-family",o);let c=f.stopy-f.starty+2*C.diagramMarginY,w=F+f.stopx+2*C.diagramMarginX;te(u,c,w,C.useMaxWidth),u.append("line").attr("x1",F).attr("y1",C.height*4).attr("x2",w-F-4).attr("y2",C.height*4).attr("stroke-width",4).attr("stroke","black").attr("marker-end","url(#"+r+"-arrowhead)");let _=s?70:0;u.attr("viewBox",`${f.startx} -25 ${w} ${c+_}`),u.attr("preserveAspectRatio","xMinYMin meet"),u.attr("height",c+_+25)},"draw"),E={data:{startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},verticalPos:0,sequenceItems:[],init:t(function(){this.sequenceItems=[],this.data={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},this.verticalPos=0},"init"),updateVal:t(function(e,r,a,g){if(e[r]===void 0)e[r]=a;else e[r]=g(a,e[r])},"updateVal"),updateBounds:t(function(e,r,a,g){let i=p().journey,y=this,m=0;function o(x){return t(function(b){m++;let u=y.sequenceItems.length-m+1;if(y.updateVal(b,"starty",r-u*i.boxMargin,Math.min),y.updateVal(b,"stopy",g+u*i.boxMargin,Math.max),y.updateVal(E.data,"startx",e-u*i.boxMargin,Math.min),y.updateVal(E.data,"stopx",a+u*i.boxMargin,Math.max),x!=="activation")y.updateVal(b,"startx",e-u*i.boxMargin,Math.min),y.updateVal(b,"stopx",a+u*i.boxMargin,Math.max),y.updateVal(E.data,"starty",r-u*i.boxMargin,Math.min),y.updateVal(E.data,"stopy",g+u*i.boxMargin,Math.max)},"updateItemBounds")}t(o,"updateFn"),this.sequenceItems.forEach(o())},"updateBounds"),insert:t(function(e,r,a,g){let i=Math.min(e,a),y=Math.max(e,a),m=Math.min(r,g),o=Math.max(r,g);this.updateVal(E.data,"startx",i,Math.min),this.updateVal(E.data,"starty",m,Math.min),this.updateVal(E.data,"stopx",y,Math.max),this.updateVal(E.data,"stopy",o,Math.max),this.updateBounds(i,m,y,o)},"insert"),bumpVerticalPos:t(function(e){this.verticalPos=this.verticalPos+e,this.data.stopy=this.verticalPos},"bumpVerticalPos"),getVerticalPos:t(function(){return this.verticalPos},"getVerticalPos"),getBounds:t(function(){return this.data},"getBounds")},{sectionFills:rt,sectionColours:ft}=C,Yt=t(function(e,r,a,g){let i=p().journey,y="",m=i.height*2+i.diagramMarginY,o=a+m,x=0,k="#CCC",b="black",u=0;for(let[n,s]of r.entries()){if(y!==s.section){k=rt[x%rt.length],u=x%rt.length,b=ft[x%ft.length];let d=0,f=s.section;for(let w=n;w<r.length;w++)if(r[w].section==f)d=d+1;else break;let c={x:n*i.taskMargin+n*i.width+F,y:50,text:s.section,fill:k,num:u,colour:b,taskCount:d};X.drawSection(e,c,i),y=s.section,x++}let l=s.people.reduce((d,f)=>{if(I[f])d[f]=I[f];return d},{});s.x=n*i.taskMargin+n*i.width+F,s.y=o,s.width=i.diagramMarginX,s.height=i.diagramMarginY,s.colour=b,s.fill=k,s.num=u,s.actors=l,X.drawTask(e,s,i,g),E.insert(s.x,s.y,s.x+s.width+i.taskMargin,450)}},"drawTasks"),pt={setConf:Wt,draw:Ot},Qt={parser:Tt,db:dt,renderer:pt,styles:Vt,init:t((e)=>{pt.setConf(e.journey),dt.clear()},"init")};export{Qt as diagram};
@@ -1 +1 @@
1
- import"./index-9t82sx0w.js";import{$l}from"./index-vtbbfwx0.js";import{Qf}from"./index-gbfg0anm.js";import{Pe}from"./index-0j518hqm.js";import{If}from"./index-sa9cp6km.js";import{da}from"./index-8acv5b77.js";var e=Object.freeze(JSON.parse(`{"displayName":"Julia","name":"julia","patterns":[{"include":"#operator"},{"include":"#array"},{"include":"#string"},{"include":"#parentheses"},{"include":"#bracket"},{"include":"#function_decl"},{"include":"#function_call"},{"include":"#for_block"},{"include":"#keyword"},{"include":"#number"},{"include":"#comment"},{"include":"#type_decl"},{"include":"#symbol"},{"include":"#punctuation"}],"repository":{"array":{"patterns":[{"begin":"\\\\[","beginCaptures":{"0":{"name":"meta.bracket.julia"}},"end":"(])(\\\\.?'*)","endCaptures":{"1":{"name":"meta.bracket.julia"},"2":{"name":"keyword.operator.transpose.julia"}},"name":"meta.array.julia","patterns":[{"match":"\\\\bbegin\\\\b","name":"constant.numeric.julia"},{"match":"\\\\bend\\\\b","name":"constant.numeric.julia"},{"include":"#self_no_for_block"}]}]},"bracket":{"patterns":[{"begin":"\\\\{","beginCaptures":{"0":{"name":"meta.bracket.julia"}},"end":"(})(\\\\.?'*)","endCaptures":{"1":{"name":"meta.bracket.julia"},"2":{"name":"keyword.operator.transpose.julia"}},"patterns":[{"include":"#self_no_for_block"}]}]},"comment":{"patterns":[{"include":"#comment_block"},{"begin":"#","beginCaptures":{"0":{"name":"punctuation.definition.comment.julia"}},"end":"\\\\n","name":"comment.line.number-sign.julia","patterns":[{"include":"#comment_tags"}]}]},"comment_block":{"patterns":[{"begin":"#=","beginCaptures":{"0":{"name":"punctuation.definition.comment.begin.julia"}},"end":"=#","endCaptures":{"0":{"name":"punctuation.definition.comment.end.julia"}},"name":"comment.block.number-sign-equals.julia","patterns":[{"include":"#comment_tags"},{"include":"#comment_block"}]}]},"comment_tags":{"patterns":[{"match":"\\\\bTODO\\\\b","name":"keyword.other.comment-annotation.julia"},{"match":"\\\\bFIXME\\\\b","name":"keyword.other.comment-annotation.julia"},{"match":"\\\\bCHANGED\\\\b","name":"keyword.other.comment-annotation.julia"},{"match":"\\\\bXXX\\\\b","name":"keyword.other.comment-annotation.julia"}]},"for_block":{"patterns":[{"begin":"\\\\b(for)\\\\b","beginCaptures":{"0":{"name":"keyword.control.julia"}},"end":"(?<![,\\\\s])(\\\\s*\\\\n)","patterns":[{"match":"\\\\bouter\\\\b","name":"keyword.other.julia"},{"include":"$self"}]}]},"function_call":{"patterns":[{"begin":"([_ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:alpha:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^←-⇿\\\\P{So}]][!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:word:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^\\\\x01-¡\\\\P{Mn}][^\\\\x01-¡\\\\P{Mc}][^\\\\x01-¡\\\\D][^\\\\x01-¡\\\\P{Pc}][^\\\\x01-¡\\\\P{Sk}][^\\\\x01-¡\\\\P{Me}][^\\\\x01-¡\\\\P{No}][^←-⇿\\\\P{So}]]*)(\\\\{(?:[^{}]|\\\\{(?:[^{}]|\\\\{[^{}]*})*})*})?\\\\.?(\\\\()","beginCaptures":{"1":{"name":"support.function.julia"},"2":{"name":"support.type.julia"},"3":{"name":"meta.bracket.julia"}},"end":"\\\\)(('|(\\\\.'))*\\\\.?')?","endCaptures":{"0":{"name":"meta.bracket.julia"},"1":{"name":"keyword.operator.transposed-func.julia"}},"patterns":[{"include":"#self_no_for_block"}]}]},"function_decl":{"patterns":[{"captures":{"1":{"name":"entity.name.function.julia"},"2":{"name":"support.type.julia"}},"match":"([_ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:alpha:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^←-⇿\\\\P{So}]][!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:word:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^\\\\x01-¡\\\\P{Mn}][^\\\\x01-¡\\\\P{Mc}][^\\\\x01-¡\\\\D][^\\\\x01-¡\\\\P{Pc}][^\\\\x01-¡\\\\P{Sk}][^\\\\x01-¡\\\\P{Me}][^\\\\x01-¡\\\\P{No}][^←-⇿\\\\P{So}]]*)(\\\\{(?:[^{}]|\\\\{(?:[^{}]|\\\\{[^{}]*})*})*})?(?=\\\\([^#]*\\\\)(::\\\\S+)?(\\\\s*\\\\bwhere\\\\b\\\\s+.+?)?\\\\s*?=(?![=>]))"},{"captures":{"1":{"name":"keyword.other.julia"},"2":{"name":"keyword.operator.dots.julia"},"3":{"name":"entity.name.function.julia"},"4":{"name":"support.type.julia"}},"match":"\\\\b(function|macro)(?:\\\\s+(?:[_ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:alpha:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^←-⇿\\\\P{So}]][!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:word:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^\\\\x01-¡\\\\P{Mn}][^\\\\x01-¡\\\\P{Mc}][^\\\\x01-¡\\\\D][^\\\\x01-¡\\\\P{Pc}][^\\\\x01-¡\\\\P{Sk}][^\\\\x01-¡\\\\P{Me}][^\\\\x01-¡\\\\P{No}][^←-⇿\\\\P{So}]]*(\\\\.))?([_ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:alpha:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^←-⇿\\\\P{So}]][!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:word:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^\\\\x01-¡\\\\P{Mn}][^\\\\x01-¡\\\\P{Mc}][^\\\\x01-¡\\\\D][^\\\\x01-¡\\\\P{Pc}][^\\\\x01-¡\\\\P{Sk}][^\\\\x01-¡\\\\P{Me}][^\\\\x01-¡\\\\P{No}][^←-⇿\\\\P{So}]]*)(\\\\{(?:[^{}]|\\\\{(?:[^{}]|\\\\{[^{}]*})*})*})?|\\\\s*)(?=\\\\()"}]},"keyword":{"patterns":[{"match":"\\\\b(?<![.:_])(?:function|mutable\\\\s+struct|struct|macro|quote|abstract\\\\s+type|primitive\\\\s+type|typegroup|module|baremodule|where)\\\\b","name":"keyword.other.julia"},{"match":"\\\\b(?<![:_])(?:if|else|elseif|for|while|begin|let|do|try|catch|finally|return|break|continue)\\\\b","name":"keyword.control.julia"},{"match":"\\\\b(?<![:_])end\\\\b","name":"keyword.control.end.julia"},{"match":"\\\\b(?<![:_])(?:global|local|const)\\\\b","name":"keyword.storage.modifier.julia"},{"match":"\\\\b(?<![:_])export\\\\b","name":"keyword.control.export.julia"},{"match":"^public\\\\b","name":"keyword.control.public.julia"},{"match":"\\\\b(?<![:_])import\\\\b","name":"keyword.control.import.julia"},{"match":"\\\\b(?<![:_])using\\\\b","name":"keyword.control.using.julia"},{"match":"(?<=\\\\S\\\\s+)\\\\b(as)\\\\b(?=\\\\s+\\\\S)","name":"keyword.control.as.julia"},{"match":"@(\\\\.|[_ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:alpha:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^←-⇿\\\\P{So}]][!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:word:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^\\\\x01-¡\\\\P{Mn}][^\\\\x01-¡\\\\P{Mc}][^\\\\x01-¡\\\\D][^\\\\x01-¡\\\\P{Pc}][^\\\\x01-¡\\\\P{Sk}][^\\\\x01-¡\\\\P{Me}][^\\\\x01-¡\\\\P{No}][^←-⇿\\\\P{So}]]*|[[\\\\p{S}\\\\p{P}]&&[^@\\\\s]]+)","name":"support.function.macro.julia"}]},"number":{"patterns":[{"captures":{"1":{"name":"constant.numeric.julia"},"2":{"name":"keyword.operator.conjugate-number.julia"}},"match":"((?<![!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:word:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^\\\\x01-¡\\\\P{Mn}][^\\\\x01-¡\\\\P{Mc}][^\\\\x01-¡\\\\D][^\\\\x01-¡\\\\P{Pc}][^\\\\x01-¡\\\\P{Sk}][^\\\\x01-¡\\\\P{Me}][^\\\\x01-¡\\\\P{No}][^←-⇿\\\\P{So}]])\\\\b(?:0[Xx]\\\\h(?:_?\\\\h)*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:[0-9](?:_?[0-9])*\\\\.?(?!\\\\.)[0-9_]*|\\\\.[0-9](?:_?[0-9])*)(?:[Eef][-+]?[0-9](?:_?[0-9])*)?(?:(?:im|Inf(?:16|32|64)?|NaN(?:16|32|64)?|π|pi|ℯ)\\\\b)?|[0-9]+|Inf(?:16|32|64)?\\\\b|NaN(?:16|32|64)?\\\\b|π\\\\b|pi\\\\b|ℯ\\\\b))('*)"},{"match":"\\\\b(?:ARGS|C_NULL|DEPOT_PATH|ENDIAN_BOM|ENV|LOAD_PATH|PROGRAM_FILE|stdin|stdout|stderr|VERSION|devnull)\\\\b","name":"constant.global.julia"},{"match":"\\\\b(?:true|false|nothing|missing)\\\\b","name":"constant.language.julia"}]},"operator":{"patterns":[{"match":"\\\\.?(?:<-->|->|-->|<--|[←→↔↚-↞↠↢↣↤↦↩-↬↮↶↷↺-↽⇀⇁⇄⇆⇇⇉⇋-⇐⇒⇔⇚-⇝⇠⇢⇴⇶-⇿⟵⟶⟷⟹-⟿⤀-⤇⤌-⤑⤔-⤘⤝-⤠⥄-⥈⥊⥋⥎⥐⥒⥓⥖⥗⥚⥛⥞⥟⥢⥤⥦-⥭⥰⥷⥺⧴⬰-⭄⭇-⭌←→]|=>)","name":"keyword.operator.arrow.julia"},{"match":":=|\\\\+=|-=|\\\\*=|//=|/=|\\\\.//=|\\\\./=|\\\\.\\\\*=|\\\\\\\\=|\\\\.\\\\\\\\=|\\\\^=|\\\\.\\\\^=|%=|\\\\.%=|÷=|\\\\.÷=|\\\\|=|&=|\\\\.&=|⊻=|\\\\.⊻=|\\\\$=|<<=|>>=|>>>=|=(?!=)","name":"keyword.operator.update.julia"},{"match":"<<|>>>?|\\\\.>>>?|\\\\.<<","name":"keyword.operator.shift.julia"},{"captures":{"1":{"name":"keyword.operator.relation.types.julia"},"2":{"name":"support.type.julia"},"3":{"name":"keyword.operator.transpose.julia"}},"match":"\\\\s*([:<>]:)\\\\s*((?:Union)?\\\\([^)]*\\\\)|[$_∇[:alpha:]][!.′⁺-ₜ[:word:]]*(?:\\\\{(?:[^{}]|\\\\{(?:[^{}]|\\\\{[^{}]*})*})*}|\\".+?(?<!\\\\\\\\)\\")?)(?:\\\\.\\\\.\\\\.)?(\\\\.?'*)"},{"match":"(\\\\.?((?<!<)<=|(?<!>)>=|[<>≤≥]|===?|≡|!=|≠|!==|[∈-∍∝∥∦∷∺∻∽∾≁-≎≐-≓≖-≟≢≣≦-⊋⊏-⊒⊜⊢⊣⊩⊬⊮⊰-⊷⋍⋐⋑⋕-⋭⋲-⋿⟂⟈⟉⟒⦷⧀⧁⧡⧣⧤⧥⩦⩧⩪-⩳⩵-⫙⫪⫫⫷-⫺]|<:|>:))","name":"keyword.operator.relation.julia"},{"match":"(?<=\\\\s)\\\\?(?=\\\\s)","name":"keyword.operator.ternary.julia"},{"match":"(?<=\\\\s):(?=\\\\s)","name":"keyword.operator.ternary.julia"},{"match":"\\\\|\\\\||&&|(?<![!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:word:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^\\\\x01-¡\\\\P{Mn}][^\\\\x01-¡\\\\P{Mc}][^\\\\x01-¡\\\\D][^\\\\x01-¡\\\\P{Pc}][^\\\\x01-¡\\\\P{Sk}][^\\\\x01-¡\\\\P{Me}][^\\\\x01-¡\\\\P{No}][^←-⇿\\\\P{So}]])!","name":"keyword.operator.boolean.julia"},{"match":"(?<=[]!)}′⁺-ₜ∇[:word:]]):","name":"keyword.operator.range.julia"},{"match":"\\\\|>","name":"keyword.operator.applies.julia"},{"match":"\\\\||\\\\.\\\\||&|\\\\.&|[~¬]|\\\\.~|⊻|\\\\.⊻","name":"keyword.operator.bitwise.julia"},{"match":"\\\\.?(?:\\\\+\\\\+|--|[-*+|¦±−∓∔∨∪∸≏⊎⊔⊕⊖⊞⊟⊻⊽⋎⋓⟇⧺⧻⨈⨢-⨮⨹⨺⩁⩂⩅⩊⩌⩏⩐⩒⩔⩖⩗⩛⩝⩡⩢⩣]|//?|[%\\\\&\\\\\\\\^±·×÷·⅋↑↓⇵∓∗-∜∤∧∩≀⊍⊓⊗-⊛⊠⊡⊼⋄-⋇⋉-⋌⋏⋒⌿▷⟑⟕⟖⟗⟰⟱⤈-⤋⤒⤓⥉⥌⥍⥏⥑⥔⥕⥘⥙⥜⥝⥠⥡⥣⥥⥮⥯⦸⦼⦾⦿⧶⧷⨇⨝⨟⨰-⨸⨻⨼⨽⩀⩃⩄⩋⩍⩎⩑⩓⩕⩘⩚⩜⩞⩟⩠⫛↑↓])","name":"keyword.operator.arithmetic.julia"},{"match":"∘","name":"keyword.operator.compose.julia"},{"match":"::|(?<=\\\\s)isa(?=\\\\s)","name":"keyword.operator.isa.julia"},{"match":"(?<=\\\\s)in(?=\\\\s)","name":"keyword.operator.relation.in.julia"},{"match":"\\\\.(?=[@_\\\\p{L}])|\\\\.\\\\.+|[…⁝⋮-⋱]","name":"keyword.operator.dots.julia"},{"match":"\\\\$(?=.+)","name":"keyword.operator.interpolation.julia"},{"captures":{"2":{"name":"keyword.operator.transposed-variable.julia"}},"match":"([_ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:alpha:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^←-⇿\\\\P{So}]][!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:word:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^\\\\x01-¡\\\\P{Mn}][^\\\\x01-¡\\\\P{Mc}][^\\\\x01-¡\\\\D][^\\\\x01-¡\\\\P{Pc}][^\\\\x01-¡\\\\P{Sk}][^\\\\x01-¡\\\\P{Me}][^\\\\x01-¡\\\\P{No}][^←-⇿\\\\P{So}]]*)(('|(\\\\.'))*\\\\.?')"},{"captures":{"1":{"name":"bracket.end.julia"},"2":{"name":"keyword.operator.transposed-matrix.julia"}},"match":"(])((?:\\\\.??')*\\\\.?')"},{"captures":{"1":{"name":"bracket.end.julia"},"2":{"name":"keyword.operator.transposed-parens.julia"}},"match":"(\\\\))((?:\\\\.??')*\\\\.?')"}]},"parentheses":{"patterns":[{"begin":"\\\\(","beginCaptures":{"0":{"name":"meta.bracket.julia"}},"end":"(\\\\))(\\\\.?'*)","endCaptures":{"1":{"name":"meta.bracket.julia"},"2":{"name":"keyword.operator.transpose.julia"}},"patterns":[{"include":"#self_no_for_block"}]}]},"punctuation":{"patterns":[{"match":",","name":"punctuation.separator.comma.julia"},{"match":";","name":"punctuation.separator.semicolon.julia"}]},"self_no_for_block":{"patterns":[{"include":"#operator"},{"include":"#array"},{"include":"#string"},{"include":"#parentheses"},{"include":"#bracket"},{"include":"#function_decl"},{"include":"#function_call"},{"include":"#keyword"},{"include":"#number"},{"include":"#comment"},{"include":"#type_decl"},{"include":"#symbol"},{"include":"#punctuation"}]},"string":{"patterns":[{"begin":"(@doc)\\\\s((?:doc)?\\"\\"\\")|(doc\\"\\"\\")","beginCaptures":{"1":{"name":"support.function.macro.julia"},"2":{"name":"punctuation.definition.string.begin.julia"}},"end":"(\\"\\"\\") ?(->)?","endCaptures":{"1":{"name":"punctuation.definition.string.end.julia"},"2":{"name":"keyword.operator.arrow.julia"}},"name":"string.docstring.julia","patterns":[{"include":"#string_escaped_char"},{"include":"#string_dollar_sign_interpolate"}]},{"begin":"(i?cxx)(\\"\\"\\")","beginCaptures":{"1":{"name":"support.function.macro.julia"},"2":{"name":"punctuation.definition.string.begin.julia"}},"contentName":"meta.embedded.inline.cpp","end":"\\"\\"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.julia"}},"name":"embed.cxx.julia","patterns":[{"include":"source.cpp#root_context"},{"include":"#string_dollar_sign_interpolate"}]},{"begin":"(py)(\\"\\"\\")","beginCaptures":{"1":{"name":"support.function.macro.julia"},"2":{"name":"punctuation.definition.string.begin.julia"}},"contentName":"meta.embedded.inline.python","end":"([\\\\s\\\\w]*)(\\"\\"\\")","endCaptures":{"2":{"name":"punctuation.definition.string.end.julia"}},"name":"embed.python.julia","patterns":[{"include":"source.python"},{"include":"#string_dollar_sign_interpolate"}]},{"begin":"(js)(\\"\\"\\")","beginCaptures":{"1":{"name":"support.function.macro.julia"},"2":{"name":"punctuation.definition.string.begin.julia"}},"contentName":"meta.embedded.inline.javascript","end":"\\"\\"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.julia"}},"name":"embed.js.julia","patterns":[{"include":"source.js"},{"include":"#string_dollar_sign_interpolate"}]},{"begin":"(R)(\\"\\"\\")","beginCaptures":{"1":{"name":"support.function.macro.julia"},"2":{"name":"punctuation.definition.string.begin.julia"}},"contentName":"meta.embedded.inline.r","end":"\\"\\"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.julia"}},"name":"embed.R.julia","patterns":[{"include":"source.r"},{"include":"#string_dollar_sign_interpolate"}]},{"begin":"(raw)(\\"\\"\\")","beginCaptures":{"1":{"name":"support.function.macro.julia"},"2":{"name":"punctuation.definition.string.begin.julia"}},"end":"\\"\\"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.julia"}},"name":"string.quoted.other.julia","patterns":[{"include":"#string_escaped_char"}]},{"begin":"(raw)(\\")","beginCaptures":{"1":{"name":"support.function.macro.julia"},"2":{"name":"punctuation.definition.string.begin.julia"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.julia"}},"name":"string.quoted.other.julia","patterns":[{"include":"#string_escaped_char"}]},{"begin":"(sql)(\\"\\"\\")","beginCaptures":{"1":{"name":"support.function.macro.julia"},"2":{"name":"punctuation.definition.string.begin.julia"}},"contentName":"meta.embedded.inline.sql","end":"\\"\\"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.julia"}},"name":"embed.sql.julia","patterns":[{"include":"source.sql"},{"include":"#string_dollar_sign_interpolate"}]},{"begin":"var\\"\\"\\"","end":"\\"\\"\\"","name":"constant.other.symbol.julia","patterns":[{"include":"#string_escaped_char"}]},{"begin":"var\\"","end":"\\"","name":"constant.other.symbol.julia","patterns":[{"include":"#string_escaped_char"}]},{"begin":"^\\\\s?(doc)?(\\"\\"\\")\\\\s?$","beginCaptures":{"1":{"name":"support.function.macro.julia"},"2":{"name":"punctuation.definition.string.begin.julia"}},"end":"(\\"\\"\\")","endCaptures":{"1":{"name":"punctuation.definition.string.end.julia"}},"name":"string.docstring.julia","patterns":[{"include":"#string_escaped_char"},{"include":"#string_dollar_sign_interpolate"}]},{"begin":"'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.julia"}},"end":"'(?!')","endCaptures":{"0":{"name":"punctuation.definition.string.end.julia"}},"name":"string.quoted.single.julia","patterns":[{"include":"#string_escaped_char"}]},{"begin":"\\"\\"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.multiline.begin.julia"}},"end":"\\"\\"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.multiline.end.julia"}},"name":"string.quoted.triple.double.julia","patterns":[{"include":"#string_escaped_char"},{"include":"#string_dollar_sign_interpolate"}]},{"begin":"\\"(?!\\"\\")","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.julia"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.julia"}},"name":"string.quoted.double.julia","patterns":[{"include":"#string_escaped_char"},{"include":"#string_dollar_sign_interpolate"}]},{"begin":"r\\"\\"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.regexp.begin.julia"}},"end":"(\\"\\"\\")([imsx]{0,4})?","endCaptures":{"1":{"name":"punctuation.definition.string.regexp.end.julia"},"2":{"name":"keyword.other.option-toggle.regexp.julia"}},"name":"string.regexp.julia","patterns":[{"include":"#string_escaped_char"}]},{"begin":"r\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.regexp.begin.julia"}},"end":"(\\")([imsx]{0,4})?","endCaptures":{"1":{"name":"punctuation.definition.string.regexp.end.julia"},"2":{"name":"keyword.other.option-toggle.regexp.julia"}},"name":"string.regexp.julia","patterns":[{"include":"#string_escaped_char"}]},{"begin":"(?<!\\")([_ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:alpha:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^←-⇿\\\\P{So}]][!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:word:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^\\\\x01-¡\\\\P{Mn}][^\\\\x01-¡\\\\P{Mc}][^\\\\x01-¡\\\\D][^\\\\x01-¡\\\\P{Pc}][^\\\\x01-¡\\\\P{Sk}][^\\\\x01-¡\\\\P{Me}][^\\\\x01-¡\\\\P{No}][^←-⇿\\\\P{So}]]*)\\"\\"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.julia"},"1":{"name":"support.function.macro.julia"}},"end":"(\\"\\"\\")([_ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:alpha:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^←-⇿\\\\P{So}]][!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:word:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^\\\\x01-¡\\\\P{Mn}][^\\\\x01-¡\\\\P{Mc}][^\\\\x01-¡\\\\D][^\\\\x01-¡\\\\P{Pc}][^\\\\x01-¡\\\\P{Sk}][^\\\\x01-¡\\\\P{Me}][^\\\\x01-¡\\\\P{No}][^←-⇿\\\\P{So}]]*)?","endCaptures":{"1":{"name":"punctuation.definition.string.end.julia"},"2":{"name":"support.function.macro.julia"}},"name":"string.quoted.other.julia","patterns":[{"include":"#string_escaped_char"}]},{"begin":"(?<!\\")([_ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:alpha:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^←-⇿\\\\P{So}]][!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:word:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^\\\\x01-¡\\\\P{Mn}][^\\\\x01-¡\\\\P{Mc}][^\\\\x01-¡\\\\D][^\\\\x01-¡\\\\P{Pc}][^\\\\x01-¡\\\\P{Sk}][^\\\\x01-¡\\\\P{Me}][^\\\\x01-¡\\\\P{No}][^←-⇿\\\\P{So}]]*)\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.julia"},"1":{"name":"support.function.macro.julia"}},"end":"(?<![^\\\\\\\\]\\\\\\\\)(\\")([_ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:alpha:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^←-⇿\\\\P{So}]][!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:word:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^\\\\x01-¡\\\\P{Mn}][^\\\\x01-¡\\\\P{Mc}][^\\\\x01-¡\\\\D][^\\\\x01-¡\\\\P{Pc}][^\\\\x01-¡\\\\P{Sk}][^\\\\x01-¡\\\\P{Me}][^\\\\x01-¡\\\\P{No}][^←-⇿\\\\P{So}]]*)?","endCaptures":{"1":{"name":"punctuation.definition.string.end.julia"},"2":{"name":"support.function.macro.julia"}},"name":"string.quoted.other.julia","patterns":[{"include":"#string_escaped_char"}]},{"begin":"(?<!\`)([_ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:alpha:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^←-⇿\\\\P{So}]][!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:word:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^\\\\x01-¡\\\\P{Mn}][^\\\\x01-¡\\\\P{Mc}][^\\\\x01-¡\\\\D][^\\\\x01-¡\\\\P{Pc}][^\\\\x01-¡\\\\P{Sk}][^\\\\x01-¡\\\\P{Me}][^\\\\x01-¡\\\\P{No}][^←-⇿\\\\P{So}]]*)?\`\`\`","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.julia"},"1":{"name":"support.function.macro.julia"}},"end":"(\`\`\`)([_ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:alpha:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^←-⇿\\\\P{So}]][!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:word:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^\\\\x01-¡\\\\P{Mn}][^\\\\x01-¡\\\\P{Mc}][^\\\\x01-¡\\\\D][^\\\\x01-¡\\\\P{Pc}][^\\\\x01-¡\\\\P{Sk}][^\\\\x01-¡\\\\P{Me}][^\\\\x01-¡\\\\P{No}][^←-⇿\\\\P{So}]]*)?","endCaptures":{"1":{"name":"punctuation.definition.string.end.julia"},"2":{"name":"support.function.macro.julia"}},"name":"string.interpolated.backtick.julia","patterns":[{"include":"#string_escaped_char"},{"include":"#string_dollar_sign_interpolate"}]},{"begin":"(?<!\`)([_ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:alpha:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^←-⇿\\\\P{So}]][!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:word:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^\\\\x01-¡\\\\P{Mn}][^\\\\x01-¡\\\\P{Mc}][^\\\\x01-¡\\\\D][^\\\\x01-¡\\\\P{Pc}][^\\\\x01-¡\\\\P{Sk}][^\\\\x01-¡\\\\P{Me}][^\\\\x01-¡\\\\P{No}][^←-⇿\\\\P{So}]]*)?\`","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.julia"},"1":{"name":"support.function.macro.julia"}},"end":"(?<![^\\\\\\\\]\\\\\\\\)(\`)([_ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:alpha:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^←-⇿\\\\P{So}]][!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:word:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^\\\\x01-¡\\\\P{Mn}][^\\\\x01-¡\\\\P{Mc}][^\\\\x01-¡\\\\D][^\\\\x01-¡\\\\P{Pc}][^\\\\x01-¡\\\\P{Sk}][^\\\\x01-¡\\\\P{Me}][^\\\\x01-¡\\\\P{No}][^←-⇿\\\\P{So}]]*)?","endCaptures":{"1":{"name":"punctuation.definition.string.end.julia"},"2":{"name":"support.function.macro.julia"}},"name":"string.interpolated.backtick.julia","patterns":[{"include":"#string_escaped_char"},{"include":"#string_dollar_sign_interpolate"}]}]},"string_dollar_sign_interpolate":{"patterns":[{"match":"\\\\$[_ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:alpha:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}[^←-⇿\\\\P{So}][^$\\\\P{Sc}]][!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:word:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}[^\\\\x01-¡\\\\P{Mn}][^\\\\x01-¡\\\\P{Mc}][^\\\\x01-¡\\\\D][^\\\\x01-¡\\\\P{Pc}][^\\\\x01-¡\\\\P{Sk}][^\\\\x01-¡\\\\P{Me}][^\\\\x01-¡\\\\P{No}][^←-⇿\\\\P{So}][^$\\\\P{Sc}]]*","name":"variable.interpolation.julia"},{"begin":"\\\\$(\\\\()","beginCaptures":{"1":{"name":"meta.bracket.julia"}},"end":"\\\\)","endCaptures":{"0":{"name":"meta.bracket.julia"}},"name":"variable.interpolation.julia","patterns":[{"include":"#self_no_for_block"}]}]},"string_escaped_char":{"patterns":[{"match":"\\\\\\\\(\\\\\\\\|[0-3]\\\\d{0,2}|[4-7]\\\\d?|x\\\\h{0,2}|u\\\\h{0,4}|U\\\\h{0,8}|.)","name":"constant.character.escape.julia"}]},"symbol":{"patterns":[{"match":"(?<![]!)}′⁺-ₜ∇[:word:]]):[_ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:alpha:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^←-⇿\\\\P{So}]][!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:word:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^\\\\x01-¡\\\\P{Mn}][^\\\\x01-¡\\\\P{Mc}][^\\\\x01-¡\\\\D][^\\\\x01-¡\\\\P{Pc}][^\\\\x01-¡\\\\P{Sk}][^\\\\x01-¡\\\\P{Me}][^\\\\x01-¡\\\\P{No}][^←-⇿\\\\P{So}]]*(?![!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:word:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^\\\\x01-¡\\\\P{Mn}][^\\\\x01-¡\\\\P{Mc}][^\\\\x01-¡\\\\D][^\\\\x01-¡\\\\P{Pc}][^\\\\x01-¡\\\\P{Sk}][^\\\\x01-¡\\\\P{Me}][^\\\\x01-¡\\\\P{No}][^←-⇿\\\\P{So}]])(?![\\"\`])","name":"constant.other.symbol.julia"}]},"type_decl":{"patterns":[{"captures":{"1":{"name":"entity.name.type.julia"},"2":{"name":"entity.other.inherited-class.julia"},"3":{"name":"punctuation.separator.inheritance.julia"}},"match":"!:_(?:struct|mutable\\\\s+struct|abstract\\\\s+type|primitive\\\\s+type)\\\\s+([_ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:alpha:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^←-⇿\\\\P{So}]][!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:word:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^\\\\x01-¡\\\\P{Mn}][^\\\\x01-¡\\\\P{Mc}][^\\\\x01-¡\\\\D][^\\\\x01-¡\\\\P{Pc}][^\\\\x01-¡\\\\P{Sk}][^\\\\x01-¡\\\\P{Me}][^\\\\x01-¡\\\\P{No}][^←-⇿\\\\P{So}]]*)(\\\\s*(<:)\\\\s*[_ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:alpha:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^←-⇿\\\\P{So}]][!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:word:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^\\\\x01-¡\\\\P{Mn}][^\\\\x01-¡\\\\P{Mc}][^\\\\x01-¡\\\\D][^\\\\x01-¡\\\\P{Pc}][^\\\\x01-¡\\\\P{Sk}][^\\\\x01-¡\\\\P{Me}][^\\\\x01-¡\\\\P{No}][^←-⇿\\\\P{So}]]*(?:\\\\{.*})?)?","name":"meta.type.julia"}]}},"scopeName":"source.julia","embeddedLangs":["cpp","python","javascript","r","sql"],"aliases":["jl"]}`)),o=[...$l,...Qf,...Pe,...If,...da,e];export{o as default};
1
+ import"./index-6k3e5dph.js";import{zl}from"./index-gr6jng0x.js";import{Qf}from"./index-gbfg0anm.js";import{Oe}from"./index-3az1w5f8.js";import{If}from"./index-sa9cp6km.js";import{da}from"./index-8acv5b77.js";var e=Object.freeze(JSON.parse(`{"displayName":"Julia","name":"julia","patterns":[{"include":"#operator"},{"include":"#array"},{"include":"#string"},{"include":"#parentheses"},{"include":"#bracket"},{"include":"#function_decl"},{"include":"#function_call"},{"include":"#for_block"},{"include":"#keyword"},{"include":"#number"},{"include":"#comment"},{"include":"#type_decl"},{"include":"#symbol"},{"include":"#punctuation"}],"repository":{"array":{"patterns":[{"begin":"\\\\[","beginCaptures":{"0":{"name":"meta.bracket.julia"}},"end":"(])(\\\\.?'*)","endCaptures":{"1":{"name":"meta.bracket.julia"},"2":{"name":"keyword.operator.transpose.julia"}},"name":"meta.array.julia","patterns":[{"match":"\\\\bbegin\\\\b","name":"constant.numeric.julia"},{"match":"\\\\bend\\\\b","name":"constant.numeric.julia"},{"include":"#self_no_for_block"}]}]},"bracket":{"patterns":[{"begin":"\\\\{","beginCaptures":{"0":{"name":"meta.bracket.julia"}},"end":"(})(\\\\.?'*)","endCaptures":{"1":{"name":"meta.bracket.julia"},"2":{"name":"keyword.operator.transpose.julia"}},"patterns":[{"include":"#self_no_for_block"}]}]},"comment":{"patterns":[{"include":"#comment_block"},{"begin":"#","beginCaptures":{"0":{"name":"punctuation.definition.comment.julia"}},"end":"\\\\n","name":"comment.line.number-sign.julia","patterns":[{"include":"#comment_tags"}]}]},"comment_block":{"patterns":[{"begin":"#=","beginCaptures":{"0":{"name":"punctuation.definition.comment.begin.julia"}},"end":"=#","endCaptures":{"0":{"name":"punctuation.definition.comment.end.julia"}},"name":"comment.block.number-sign-equals.julia","patterns":[{"include":"#comment_tags"},{"include":"#comment_block"}]}]},"comment_tags":{"patterns":[{"match":"\\\\bTODO\\\\b","name":"keyword.other.comment-annotation.julia"},{"match":"\\\\bFIXME\\\\b","name":"keyword.other.comment-annotation.julia"},{"match":"\\\\bCHANGED\\\\b","name":"keyword.other.comment-annotation.julia"},{"match":"\\\\bXXX\\\\b","name":"keyword.other.comment-annotation.julia"}]},"for_block":{"patterns":[{"begin":"\\\\b(for)\\\\b","beginCaptures":{"0":{"name":"keyword.control.julia"}},"end":"(?<![,\\\\s])(\\\\s*\\\\n)","patterns":[{"match":"\\\\bouter\\\\b","name":"keyword.other.julia"},{"include":"$self"}]}]},"function_call":{"patterns":[{"begin":"([_ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:alpha:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^←-⇿\\\\P{So}]][!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:word:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^\\\\x01-¡\\\\P{Mn}][^\\\\x01-¡\\\\P{Mc}][^\\\\x01-¡\\\\D][^\\\\x01-¡\\\\P{Pc}][^\\\\x01-¡\\\\P{Sk}][^\\\\x01-¡\\\\P{Me}][^\\\\x01-¡\\\\P{No}][^←-⇿\\\\P{So}]]*)(\\\\{(?:[^{}]|\\\\{(?:[^{}]|\\\\{[^{}]*})*})*})?\\\\.?(\\\\()","beginCaptures":{"1":{"name":"support.function.julia"},"2":{"name":"support.type.julia"},"3":{"name":"meta.bracket.julia"}},"end":"\\\\)(('|(\\\\.'))*\\\\.?')?","endCaptures":{"0":{"name":"meta.bracket.julia"},"1":{"name":"keyword.operator.transposed-func.julia"}},"patterns":[{"include":"#self_no_for_block"}]}]},"function_decl":{"patterns":[{"captures":{"1":{"name":"entity.name.function.julia"},"2":{"name":"support.type.julia"}},"match":"([_ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:alpha:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^←-⇿\\\\P{So}]][!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:word:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^\\\\x01-¡\\\\P{Mn}][^\\\\x01-¡\\\\P{Mc}][^\\\\x01-¡\\\\D][^\\\\x01-¡\\\\P{Pc}][^\\\\x01-¡\\\\P{Sk}][^\\\\x01-¡\\\\P{Me}][^\\\\x01-¡\\\\P{No}][^←-⇿\\\\P{So}]]*)(\\\\{(?:[^{}]|\\\\{(?:[^{}]|\\\\{[^{}]*})*})*})?(?=\\\\([^#]*\\\\)(::\\\\S+)?(\\\\s*\\\\bwhere\\\\b\\\\s+.+?)?\\\\s*?=(?![=>]))"},{"captures":{"1":{"name":"keyword.other.julia"},"2":{"name":"keyword.operator.dots.julia"},"3":{"name":"entity.name.function.julia"},"4":{"name":"support.type.julia"}},"match":"\\\\b(function|macro)(?:\\\\s+(?:[_ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:alpha:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^←-⇿\\\\P{So}]][!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:word:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^\\\\x01-¡\\\\P{Mn}][^\\\\x01-¡\\\\P{Mc}][^\\\\x01-¡\\\\D][^\\\\x01-¡\\\\P{Pc}][^\\\\x01-¡\\\\P{Sk}][^\\\\x01-¡\\\\P{Me}][^\\\\x01-¡\\\\P{No}][^←-⇿\\\\P{So}]]*(\\\\.))?([_ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:alpha:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^←-⇿\\\\P{So}]][!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:word:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^\\\\x01-¡\\\\P{Mn}][^\\\\x01-¡\\\\P{Mc}][^\\\\x01-¡\\\\D][^\\\\x01-¡\\\\P{Pc}][^\\\\x01-¡\\\\P{Sk}][^\\\\x01-¡\\\\P{Me}][^\\\\x01-¡\\\\P{No}][^←-⇿\\\\P{So}]]*)(\\\\{(?:[^{}]|\\\\{(?:[^{}]|\\\\{[^{}]*})*})*})?|\\\\s*)(?=\\\\()"}]},"keyword":{"patterns":[{"match":"\\\\b(?<![.:_])(?:function|mutable\\\\s+struct|struct|macro|quote|abstract\\\\s+type|primitive\\\\s+type|typegroup|module|baremodule|where)\\\\b","name":"keyword.other.julia"},{"match":"\\\\b(?<![:_])(?:if|else|elseif|for|while|begin|let|do|try|catch|finally|return|break|continue)\\\\b","name":"keyword.control.julia"},{"match":"\\\\b(?<![:_])end\\\\b","name":"keyword.control.end.julia"},{"match":"\\\\b(?<![:_])(?:global|local|const)\\\\b","name":"keyword.storage.modifier.julia"},{"match":"\\\\b(?<![:_])export\\\\b","name":"keyword.control.export.julia"},{"match":"^public\\\\b","name":"keyword.control.public.julia"},{"match":"\\\\b(?<![:_])import\\\\b","name":"keyword.control.import.julia"},{"match":"\\\\b(?<![:_])using\\\\b","name":"keyword.control.using.julia"},{"match":"(?<=\\\\S\\\\s+)\\\\b(as)\\\\b(?=\\\\s+\\\\S)","name":"keyword.control.as.julia"},{"match":"@(\\\\.|[_ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:alpha:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^←-⇿\\\\P{So}]][!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:word:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^\\\\x01-¡\\\\P{Mn}][^\\\\x01-¡\\\\P{Mc}][^\\\\x01-¡\\\\D][^\\\\x01-¡\\\\P{Pc}][^\\\\x01-¡\\\\P{Sk}][^\\\\x01-¡\\\\P{Me}][^\\\\x01-¡\\\\P{No}][^←-⇿\\\\P{So}]]*|[[\\\\p{S}\\\\p{P}]&&[^@\\\\s]]+)","name":"support.function.macro.julia"}]},"number":{"patterns":[{"captures":{"1":{"name":"constant.numeric.julia"},"2":{"name":"keyword.operator.conjugate-number.julia"}},"match":"((?<![!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:word:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^\\\\x01-¡\\\\P{Mn}][^\\\\x01-¡\\\\P{Mc}][^\\\\x01-¡\\\\D][^\\\\x01-¡\\\\P{Pc}][^\\\\x01-¡\\\\P{Sk}][^\\\\x01-¡\\\\P{Me}][^\\\\x01-¡\\\\P{No}][^←-⇿\\\\P{So}]])\\\\b(?:0[Xx]\\\\h(?:_?\\\\h)*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:[0-9](?:_?[0-9])*\\\\.?(?!\\\\.)[0-9_]*|\\\\.[0-9](?:_?[0-9])*)(?:[Eef][-+]?[0-9](?:_?[0-9])*)?(?:(?:im|Inf(?:16|32|64)?|NaN(?:16|32|64)?|π|pi|ℯ)\\\\b)?|[0-9]+|Inf(?:16|32|64)?\\\\b|NaN(?:16|32|64)?\\\\b|π\\\\b|pi\\\\b|ℯ\\\\b))('*)"},{"match":"\\\\b(?:ARGS|C_NULL|DEPOT_PATH|ENDIAN_BOM|ENV|LOAD_PATH|PROGRAM_FILE|stdin|stdout|stderr|VERSION|devnull)\\\\b","name":"constant.global.julia"},{"match":"\\\\b(?:true|false|nothing|missing)\\\\b","name":"constant.language.julia"}]},"operator":{"patterns":[{"match":"\\\\.?(?:<-->|->|-->|<--|[←→↔↚-↞↠↢↣↤↦↩-↬↮↶↷↺-↽⇀⇁⇄⇆⇇⇉⇋-⇐⇒⇔⇚-⇝⇠⇢⇴⇶-⇿⟵⟶⟷⟹-⟿⤀-⤇⤌-⤑⤔-⤘⤝-⤠⥄-⥈⥊⥋⥎⥐⥒⥓⥖⥗⥚⥛⥞⥟⥢⥤⥦-⥭⥰⥷⥺⧴⬰-⭄⭇-⭌←→]|=>)","name":"keyword.operator.arrow.julia"},{"match":":=|\\\\+=|-=|\\\\*=|//=|/=|\\\\.//=|\\\\./=|\\\\.\\\\*=|\\\\\\\\=|\\\\.\\\\\\\\=|\\\\^=|\\\\.\\\\^=|%=|\\\\.%=|÷=|\\\\.÷=|\\\\|=|&=|\\\\.&=|⊻=|\\\\.⊻=|\\\\$=|<<=|>>=|>>>=|=(?!=)","name":"keyword.operator.update.julia"},{"match":"<<|>>>?|\\\\.>>>?|\\\\.<<","name":"keyword.operator.shift.julia"},{"captures":{"1":{"name":"keyword.operator.relation.types.julia"},"2":{"name":"support.type.julia"},"3":{"name":"keyword.operator.transpose.julia"}},"match":"\\\\s*([:<>]:)\\\\s*((?:Union)?\\\\([^)]*\\\\)|[$_∇[:alpha:]][!.′⁺-ₜ[:word:]]*(?:\\\\{(?:[^{}]|\\\\{(?:[^{}]|\\\\{[^{}]*})*})*}|\\".+?(?<!\\\\\\\\)\\")?)(?:\\\\.\\\\.\\\\.)?(\\\\.?'*)"},{"match":"(\\\\.?((?<!<)<=|(?<!>)>=|[<>≤≥]|===?|≡|!=|≠|!==|[∈-∍∝∥∦∷∺∻∽∾≁-≎≐-≓≖-≟≢≣≦-⊋⊏-⊒⊜⊢⊣⊩⊬⊮⊰-⊷⋍⋐⋑⋕-⋭⋲-⋿⟂⟈⟉⟒⦷⧀⧁⧡⧣⧤⧥⩦⩧⩪-⩳⩵-⫙⫪⫫⫷-⫺]|<:|>:))","name":"keyword.operator.relation.julia"},{"match":"(?<=\\\\s)\\\\?(?=\\\\s)","name":"keyword.operator.ternary.julia"},{"match":"(?<=\\\\s):(?=\\\\s)","name":"keyword.operator.ternary.julia"},{"match":"\\\\|\\\\||&&|(?<![!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:word:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^\\\\x01-¡\\\\P{Mn}][^\\\\x01-¡\\\\P{Mc}][^\\\\x01-¡\\\\D][^\\\\x01-¡\\\\P{Pc}][^\\\\x01-¡\\\\P{Sk}][^\\\\x01-¡\\\\P{Me}][^\\\\x01-¡\\\\P{No}][^←-⇿\\\\P{So}]])!","name":"keyword.operator.boolean.julia"},{"match":"(?<=[]!)}′⁺-ₜ∇[:word:]]):","name":"keyword.operator.range.julia"},{"match":"\\\\|>","name":"keyword.operator.applies.julia"},{"match":"\\\\||\\\\.\\\\||&|\\\\.&|[~¬]|\\\\.~|⊻|\\\\.⊻","name":"keyword.operator.bitwise.julia"},{"match":"\\\\.?(?:\\\\+\\\\+|--|[-*+|¦±−∓∔∨∪∸≏⊎⊔⊕⊖⊞⊟⊻⊽⋎⋓⟇⧺⧻⨈⨢-⨮⨹⨺⩁⩂⩅⩊⩌⩏⩐⩒⩔⩖⩗⩛⩝⩡⩢⩣]|//?|[%\\\\&\\\\\\\\^±·×÷·⅋↑↓⇵∓∗-∜∤∧∩≀⊍⊓⊗-⊛⊠⊡⊼⋄-⋇⋉-⋌⋏⋒⌿▷⟑⟕⟖⟗⟰⟱⤈-⤋⤒⤓⥉⥌⥍⥏⥑⥔⥕⥘⥙⥜⥝⥠⥡⥣⥥⥮⥯⦸⦼⦾⦿⧶⧷⨇⨝⨟⨰-⨸⨻⨼⨽⩀⩃⩄⩋⩍⩎⩑⩓⩕⩘⩚⩜⩞⩟⩠⫛↑↓])","name":"keyword.operator.arithmetic.julia"},{"match":"∘","name":"keyword.operator.compose.julia"},{"match":"::|(?<=\\\\s)isa(?=\\\\s)","name":"keyword.operator.isa.julia"},{"match":"(?<=\\\\s)in(?=\\\\s)","name":"keyword.operator.relation.in.julia"},{"match":"\\\\.(?=[@_\\\\p{L}])|\\\\.\\\\.+|[…⁝⋮-⋱]","name":"keyword.operator.dots.julia"},{"match":"\\\\$(?=.+)","name":"keyword.operator.interpolation.julia"},{"captures":{"2":{"name":"keyword.operator.transposed-variable.julia"}},"match":"([_ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:alpha:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^←-⇿\\\\P{So}]][!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:word:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^\\\\x01-¡\\\\P{Mn}][^\\\\x01-¡\\\\P{Mc}][^\\\\x01-¡\\\\D][^\\\\x01-¡\\\\P{Pc}][^\\\\x01-¡\\\\P{Sk}][^\\\\x01-¡\\\\P{Me}][^\\\\x01-¡\\\\P{No}][^←-⇿\\\\P{So}]]*)(('|(\\\\.'))*\\\\.?')"},{"captures":{"1":{"name":"bracket.end.julia"},"2":{"name":"keyword.operator.transposed-matrix.julia"}},"match":"(])((?:\\\\.??')*\\\\.?')"},{"captures":{"1":{"name":"bracket.end.julia"},"2":{"name":"keyword.operator.transposed-parens.julia"}},"match":"(\\\\))((?:\\\\.??')*\\\\.?')"}]},"parentheses":{"patterns":[{"begin":"\\\\(","beginCaptures":{"0":{"name":"meta.bracket.julia"}},"end":"(\\\\))(\\\\.?'*)","endCaptures":{"1":{"name":"meta.bracket.julia"},"2":{"name":"keyword.operator.transpose.julia"}},"patterns":[{"include":"#self_no_for_block"}]}]},"punctuation":{"patterns":[{"match":",","name":"punctuation.separator.comma.julia"},{"match":";","name":"punctuation.separator.semicolon.julia"}]},"self_no_for_block":{"patterns":[{"include":"#operator"},{"include":"#array"},{"include":"#string"},{"include":"#parentheses"},{"include":"#bracket"},{"include":"#function_decl"},{"include":"#function_call"},{"include":"#keyword"},{"include":"#number"},{"include":"#comment"},{"include":"#type_decl"},{"include":"#symbol"},{"include":"#punctuation"}]},"string":{"patterns":[{"begin":"(@doc)\\\\s((?:doc)?\\"\\"\\")|(doc\\"\\"\\")","beginCaptures":{"1":{"name":"support.function.macro.julia"},"2":{"name":"punctuation.definition.string.begin.julia"}},"end":"(\\"\\"\\") ?(->)?","endCaptures":{"1":{"name":"punctuation.definition.string.end.julia"},"2":{"name":"keyword.operator.arrow.julia"}},"name":"string.docstring.julia","patterns":[{"include":"#string_escaped_char"},{"include":"#string_dollar_sign_interpolate"}]},{"begin":"(i?cxx)(\\"\\"\\")","beginCaptures":{"1":{"name":"support.function.macro.julia"},"2":{"name":"punctuation.definition.string.begin.julia"}},"contentName":"meta.embedded.inline.cpp","end":"\\"\\"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.julia"}},"name":"embed.cxx.julia","patterns":[{"include":"source.cpp#root_context"},{"include":"#string_dollar_sign_interpolate"}]},{"begin":"(py)(\\"\\"\\")","beginCaptures":{"1":{"name":"support.function.macro.julia"},"2":{"name":"punctuation.definition.string.begin.julia"}},"contentName":"meta.embedded.inline.python","end":"([\\\\s\\\\w]*)(\\"\\"\\")","endCaptures":{"2":{"name":"punctuation.definition.string.end.julia"}},"name":"embed.python.julia","patterns":[{"include":"source.python"},{"include":"#string_dollar_sign_interpolate"}]},{"begin":"(js)(\\"\\"\\")","beginCaptures":{"1":{"name":"support.function.macro.julia"},"2":{"name":"punctuation.definition.string.begin.julia"}},"contentName":"meta.embedded.inline.javascript","end":"\\"\\"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.julia"}},"name":"embed.js.julia","patterns":[{"include":"source.js"},{"include":"#string_dollar_sign_interpolate"}]},{"begin":"(R)(\\"\\"\\")","beginCaptures":{"1":{"name":"support.function.macro.julia"},"2":{"name":"punctuation.definition.string.begin.julia"}},"contentName":"meta.embedded.inline.r","end":"\\"\\"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.julia"}},"name":"embed.R.julia","patterns":[{"include":"source.r"},{"include":"#string_dollar_sign_interpolate"}]},{"begin":"(raw)(\\"\\"\\")","beginCaptures":{"1":{"name":"support.function.macro.julia"},"2":{"name":"punctuation.definition.string.begin.julia"}},"end":"\\"\\"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.julia"}},"name":"string.quoted.other.julia","patterns":[{"include":"#string_escaped_char"}]},{"begin":"(raw)(\\")","beginCaptures":{"1":{"name":"support.function.macro.julia"},"2":{"name":"punctuation.definition.string.begin.julia"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.julia"}},"name":"string.quoted.other.julia","patterns":[{"include":"#string_escaped_char"}]},{"begin":"(sql)(\\"\\"\\")","beginCaptures":{"1":{"name":"support.function.macro.julia"},"2":{"name":"punctuation.definition.string.begin.julia"}},"contentName":"meta.embedded.inline.sql","end":"\\"\\"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.julia"}},"name":"embed.sql.julia","patterns":[{"include":"source.sql"},{"include":"#string_dollar_sign_interpolate"}]},{"begin":"var\\"\\"\\"","end":"\\"\\"\\"","name":"constant.other.symbol.julia","patterns":[{"include":"#string_escaped_char"}]},{"begin":"var\\"","end":"\\"","name":"constant.other.symbol.julia","patterns":[{"include":"#string_escaped_char"}]},{"begin":"^\\\\s?(doc)?(\\"\\"\\")\\\\s?$","beginCaptures":{"1":{"name":"support.function.macro.julia"},"2":{"name":"punctuation.definition.string.begin.julia"}},"end":"(\\"\\"\\")","endCaptures":{"1":{"name":"punctuation.definition.string.end.julia"}},"name":"string.docstring.julia","patterns":[{"include":"#string_escaped_char"},{"include":"#string_dollar_sign_interpolate"}]},{"begin":"'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.julia"}},"end":"'(?!')","endCaptures":{"0":{"name":"punctuation.definition.string.end.julia"}},"name":"string.quoted.single.julia","patterns":[{"include":"#string_escaped_char"}]},{"begin":"\\"\\"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.multiline.begin.julia"}},"end":"\\"\\"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.multiline.end.julia"}},"name":"string.quoted.triple.double.julia","patterns":[{"include":"#string_escaped_char"},{"include":"#string_dollar_sign_interpolate"}]},{"begin":"\\"(?!\\"\\")","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.julia"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.julia"}},"name":"string.quoted.double.julia","patterns":[{"include":"#string_escaped_char"},{"include":"#string_dollar_sign_interpolate"}]},{"begin":"r\\"\\"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.regexp.begin.julia"}},"end":"(\\"\\"\\")([imsx]{0,4})?","endCaptures":{"1":{"name":"punctuation.definition.string.regexp.end.julia"},"2":{"name":"keyword.other.option-toggle.regexp.julia"}},"name":"string.regexp.julia","patterns":[{"include":"#string_escaped_char"}]},{"begin":"r\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.regexp.begin.julia"}},"end":"(\\")([imsx]{0,4})?","endCaptures":{"1":{"name":"punctuation.definition.string.regexp.end.julia"},"2":{"name":"keyword.other.option-toggle.regexp.julia"}},"name":"string.regexp.julia","patterns":[{"include":"#string_escaped_char"}]},{"begin":"(?<!\\")([_ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:alpha:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^←-⇿\\\\P{So}]][!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:word:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^\\\\x01-¡\\\\P{Mn}][^\\\\x01-¡\\\\P{Mc}][^\\\\x01-¡\\\\D][^\\\\x01-¡\\\\P{Pc}][^\\\\x01-¡\\\\P{Sk}][^\\\\x01-¡\\\\P{Me}][^\\\\x01-¡\\\\P{No}][^←-⇿\\\\P{So}]]*)\\"\\"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.julia"},"1":{"name":"support.function.macro.julia"}},"end":"(\\"\\"\\")([_ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:alpha:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^←-⇿\\\\P{So}]][!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:word:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^\\\\x01-¡\\\\P{Mn}][^\\\\x01-¡\\\\P{Mc}][^\\\\x01-¡\\\\D][^\\\\x01-¡\\\\P{Pc}][^\\\\x01-¡\\\\P{Sk}][^\\\\x01-¡\\\\P{Me}][^\\\\x01-¡\\\\P{No}][^←-⇿\\\\P{So}]]*)?","endCaptures":{"1":{"name":"punctuation.definition.string.end.julia"},"2":{"name":"support.function.macro.julia"}},"name":"string.quoted.other.julia","patterns":[{"include":"#string_escaped_char"}]},{"begin":"(?<!\\")([_ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:alpha:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^←-⇿\\\\P{So}]][!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:word:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^\\\\x01-¡\\\\P{Mn}][^\\\\x01-¡\\\\P{Mc}][^\\\\x01-¡\\\\D][^\\\\x01-¡\\\\P{Pc}][^\\\\x01-¡\\\\P{Sk}][^\\\\x01-¡\\\\P{Me}][^\\\\x01-¡\\\\P{No}][^←-⇿\\\\P{So}]]*)\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.julia"},"1":{"name":"support.function.macro.julia"}},"end":"(?<![^\\\\\\\\]\\\\\\\\)(\\")([_ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:alpha:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^←-⇿\\\\P{So}]][!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:word:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^\\\\x01-¡\\\\P{Mn}][^\\\\x01-¡\\\\P{Mc}][^\\\\x01-¡\\\\D][^\\\\x01-¡\\\\P{Pc}][^\\\\x01-¡\\\\P{Sk}][^\\\\x01-¡\\\\P{Me}][^\\\\x01-¡\\\\P{No}][^←-⇿\\\\P{So}]]*)?","endCaptures":{"1":{"name":"punctuation.definition.string.end.julia"},"2":{"name":"support.function.macro.julia"}},"name":"string.quoted.other.julia","patterns":[{"include":"#string_escaped_char"}]},{"begin":"(?<!\`)([_ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:alpha:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^←-⇿\\\\P{So}]][!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:word:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^\\\\x01-¡\\\\P{Mn}][^\\\\x01-¡\\\\P{Mc}][^\\\\x01-¡\\\\D][^\\\\x01-¡\\\\P{Pc}][^\\\\x01-¡\\\\P{Sk}][^\\\\x01-¡\\\\P{Me}][^\\\\x01-¡\\\\P{No}][^←-⇿\\\\P{So}]]*)?\`\`\`","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.julia"},"1":{"name":"support.function.macro.julia"}},"end":"(\`\`\`)([_ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:alpha:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^←-⇿\\\\P{So}]][!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:word:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^\\\\x01-¡\\\\P{Mn}][^\\\\x01-¡\\\\P{Mc}][^\\\\x01-¡\\\\D][^\\\\x01-¡\\\\P{Pc}][^\\\\x01-¡\\\\P{Sk}][^\\\\x01-¡\\\\P{Me}][^\\\\x01-¡\\\\P{No}][^←-⇿\\\\P{So}]]*)?","endCaptures":{"1":{"name":"punctuation.definition.string.end.julia"},"2":{"name":"support.function.macro.julia"}},"name":"string.interpolated.backtick.julia","patterns":[{"include":"#string_escaped_char"},{"include":"#string_dollar_sign_interpolate"}]},{"begin":"(?<!\`)([_ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:alpha:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^←-⇿\\\\P{So}]][!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:word:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^\\\\x01-¡\\\\P{Mn}][^\\\\x01-¡\\\\P{Mc}][^\\\\x01-¡\\\\D][^\\\\x01-¡\\\\P{Pc}][^\\\\x01-¡\\\\P{Sk}][^\\\\x01-¡\\\\P{Me}][^\\\\x01-¡\\\\P{No}][^←-⇿\\\\P{So}]]*)?\`","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.julia"},"1":{"name":"support.function.macro.julia"}},"end":"(?<![^\\\\\\\\]\\\\\\\\)(\`)([_ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:alpha:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^←-⇿\\\\P{So}]][!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:word:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^\\\\x01-¡\\\\P{Mn}][^\\\\x01-¡\\\\P{Mc}][^\\\\x01-¡\\\\D][^\\\\x01-¡\\\\P{Pc}][^\\\\x01-¡\\\\P{Sk}][^\\\\x01-¡\\\\P{Me}][^\\\\x01-¡\\\\P{No}][^←-⇿\\\\P{So}]]*)?","endCaptures":{"1":{"name":"punctuation.definition.string.end.julia"},"2":{"name":"support.function.macro.julia"}},"name":"string.interpolated.backtick.julia","patterns":[{"include":"#string_escaped_char"},{"include":"#string_dollar_sign_interpolate"}]}]},"string_dollar_sign_interpolate":{"patterns":[{"match":"\\\\$[_ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:alpha:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}[^←-⇿\\\\P{So}][^$\\\\P{Sc}]][!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:word:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}[^\\\\x01-¡\\\\P{Mn}][^\\\\x01-¡\\\\P{Mc}][^\\\\x01-¡\\\\D][^\\\\x01-¡\\\\P{Pc}][^\\\\x01-¡\\\\P{Sk}][^\\\\x01-¡\\\\P{Me}][^\\\\x01-¡\\\\P{No}][^←-⇿\\\\P{So}][^$\\\\P{Sc}]]*","name":"variable.interpolation.julia"},{"begin":"\\\\$(\\\\()","beginCaptures":{"1":{"name":"meta.bracket.julia"}},"end":"\\\\)","endCaptures":{"0":{"name":"meta.bracket.julia"}},"name":"variable.interpolation.julia","patterns":[{"include":"#self_no_for_block"}]}]},"string_escaped_char":{"patterns":[{"match":"\\\\\\\\(\\\\\\\\|[0-3]\\\\d{0,2}|[4-7]\\\\d?|x\\\\h{0,2}|u\\\\h{0,4}|U\\\\h{0,8}|.)","name":"constant.character.escape.julia"}]},"symbol":{"patterns":[{"match":"(?<![]!)}′⁺-ₜ∇[:word:]]):[_ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:alpha:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^←-⇿\\\\P{So}]][!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:word:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^\\\\x01-¡\\\\P{Mn}][^\\\\x01-¡\\\\P{Mc}][^\\\\x01-¡\\\\D][^\\\\x01-¡\\\\P{Pc}][^\\\\x01-¡\\\\P{Sk}][^\\\\x01-¡\\\\P{Me}][^\\\\x01-¡\\\\P{No}][^←-⇿\\\\P{So}]]*(?![!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:word:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^\\\\x01-¡\\\\P{Mn}][^\\\\x01-¡\\\\P{Mc}][^\\\\x01-¡\\\\D][^\\\\x01-¡\\\\P{Pc}][^\\\\x01-¡\\\\P{Sk}][^\\\\x01-¡\\\\P{Me}][^\\\\x01-¡\\\\P{No}][^←-⇿\\\\P{So}]])(?![\\"\`])","name":"constant.other.symbol.julia"}]},"type_decl":{"patterns":[{"captures":{"1":{"name":"entity.name.type.julia"},"2":{"name":"entity.other.inherited-class.julia"},"3":{"name":"punctuation.separator.inheritance.julia"}},"match":"!:_(?:struct|mutable\\\\s+struct|abstract\\\\s+type|primitive\\\\s+type)\\\\s+([_ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:alpha:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^←-⇿\\\\P{So}]][!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:word:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^\\\\x01-¡\\\\P{Mn}][^\\\\x01-¡\\\\P{Mc}][^\\\\x01-¡\\\\D][^\\\\x01-¡\\\\P{Pc}][^\\\\x01-¡\\\\P{Sk}][^\\\\x01-¡\\\\P{Me}][^\\\\x01-¡\\\\P{No}][^←-⇿\\\\P{So}]]*)(\\\\s*(<:)\\\\s*[_ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:alpha:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^←-⇿\\\\P{So}]][!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:word:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^\\\\x01-¡\\\\P{Mn}][^\\\\x01-¡\\\\P{Mc}][^\\\\x01-¡\\\\D][^\\\\x01-¡\\\\P{Pc}][^\\\\x01-¡\\\\P{Sk}][^\\\\x01-¡\\\\P{Me}][^\\\\x01-¡\\\\P{No}][^←-⇿\\\\P{So}]]*(?:\\\\{.*})?)?","name":"meta.type.julia"}]}},"scopeName":"source.julia","embeddedLangs":["cpp","python","javascript","r","sql"],"aliases":["jl"]}`)),o=[...zl,...Qf,...Oe,...If,...da,e];export{o as default};
@@ -1,4 +1,4 @@
1
- import{t,l,Ee,A,g,K,X,Fr,p,de,nr,rr,ca,Pr,ii,xn}from"./index-302d35e5.js";var re=function(){var e=t(function(w,r,i,a){for(i=i||{},a=w.length;a--;i[w[a]]=r);return i},"o"),d=[1,4],y=[1,13],s=[1,12],b=[1,15],S=[1,16],_=[1,20],h=[1,19],I=[6,7,8],T=[1,26],f=[1,24],P=[1,25],N=[6,7,11],W=[1,31],v=[6,7,11,24],M=[1,6,13,16,17,20,23],m=[1,35],V=[1,36],C=[1,6,7,11,13,16,17,20,23],z=[1,38],B={trace:t(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mindMap:4,spaceLines:5,SPACELINE:6,NL:7,KANBAN:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,node:14,shapeData:15,ICON:16,CLASS:17,nodeWithId:18,nodeWithoutId:19,NODE_DSTART:20,NODE_DESCR:21,NODE_DEND:22,NODE_ID:23,SHAPE_DATA:24,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"KANBAN",11:"EOF",13:"SPACELIST",16:"ICON",17:"CLASS",20:"NODE_DSTART",21:"NODE_DESCR",22:"NODE_DEND",23:"NODE_ID",24:"SHAPE_DATA"},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,3],[12,2],[12,2],[12,2],[12,1],[12,2],[12,1],[12,1],[12,1],[12,1],[14,1],[14,1],[19,3],[18,1],[18,4],[15,2],[15,1]],performAction:t(function(r,i,a,o,u,n,j){var c=n.length-1;switch(u){case 6:case 7:return o;case 8:o.getLogger().trace("Stop NL ");break;case 9:o.getLogger().trace("Stop EOF ");break;case 11:o.getLogger().trace("Stop NL2 ");break;case 12:o.getLogger().trace("Stop EOF2 ");break;case 15:o.getLogger().info("Node: ",n[c-1].id),o.addNode(n[c-2].length,n[c-1].id,n[c-1].descr,n[c-1].type,n[c]);break;case 16:o.getLogger().info("Node: ",n[c].id),o.addNode(n[c-1].length,n[c].id,n[c].descr,n[c].type);break;case 17:o.getLogger().trace("Icon: ",n[c]),o.decorateNode({icon:n[c]});break;case 18:case 23:o.decorateNode({class:n[c]});break;case 19:o.getLogger().trace("SPACELIST");break;case 20:o.getLogger().trace("Node: ",n[c-1].id),o.addNode(0,n[c-1].id,n[c-1].descr,n[c-1].type,n[c]);break;case 21:o.getLogger().trace("Node: ",n[c].id),o.addNode(0,n[c].id,n[c].descr,n[c].type);break;case 22:o.decorateNode({icon:n[c]});break;case 27:o.getLogger().trace("node found ..",n[c-2]),this.$={id:n[c-1],descr:n[c-1],type:o.getType(n[c-2],n[c])};break;case 28:this.$={id:n[c],descr:n[c],type:0};break;case 29:o.getLogger().trace("node found ..",n[c-3]),this.$={id:n[c-3],descr:n[c-1],type:o.getType(n[c-2],n[c])};break;case 30:this.$=n[c-1]+n[c];break;case 31:this.$=n[c];break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],8:d},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:d},{6:y,7:[1,10],9:9,12:11,13:s,14:14,16:b,17:S,18:17,19:18,20:_,23:h},e(I,[2,3]),{1:[2,2]},e(I,[2,4]),e(I,[2,5]),{1:[2,6],6:y,12:21,13:s,14:14,16:b,17:S,18:17,19:18,20:_,23:h},{6:y,9:22,12:11,13:s,14:14,16:b,17:S,18:17,19:18,20:_,23:h},{6:T,7:f,10:23,11:P},e(N,[2,24],{18:17,19:18,14:27,16:[1,28],17:[1,29],20:_,23:h}),e(N,[2,19]),e(N,[2,21],{15:30,24:W}),e(N,[2,22]),e(N,[2,23]),e(v,[2,25]),e(v,[2,26]),e(v,[2,28],{20:[1,32]}),{21:[1,33]},{6:T,7:f,10:34,11:P},{1:[2,7],6:y,12:21,13:s,14:14,16:b,17:S,18:17,19:18,20:_,23:h},e(M,[2,14],{7:m,11:V}),e(C,[2,8]),e(C,[2,9]),e(C,[2,10]),e(N,[2,16],{15:37,24:W}),e(N,[2,17]),e(N,[2,18]),e(N,[2,20],{24:z}),e(v,[2,31]),{21:[1,39]},{22:[1,40]},e(M,[2,13],{7:m,11:V}),e(C,[2,11]),e(C,[2,12]),e(N,[2,15],{24:z}),e(v,[2,30]),{22:[1,41]},e(v,[2,27]),e(v,[2,29])],defaultActions:{2:[2,1],6:[2,2]},parseError:t(function(r,i){if(i.recoverable)this.trace(r);else{var a=Error(r);throw a.hash=i,a}},"parseError"),parse:t(function(r){var i=this,a=[0],o=[],u=[null],n=[],j=this.table,c="",Y=0,ce=0,le=0,fe=2,he=1,be=n.slice.call(arguments,1),E=Object.create(this.lexer),F={yy:{}};for(var Z in this.yy)if(Object.prototype.hasOwnProperty.call(this.yy,Z))F.yy[Z]=this.yy[Z];if(E.setInput(r,F.yy),F.yy.lexer=E,F.yy.parser=this,typeof E.yylloc>"u")E.yylloc={};var ee=E.yylloc;n.push(ee);var ye=E.options&&E.options.ranges;if(typeof F.yy.parseError==="function")this.parseError=F.yy.parseError;else this.parseError=Object.getPrototypeOf(this).parseError;function me(L){a.length=a.length-2*L,u.length=u.length-L,n.length=n.length-L}t(me,"popStack");function ue(){var L=o.pop()||E.lex()||he;if(typeof L!=="number"){if(L instanceof Array)o=L,L=o.pop();L=i.symbols_[L]||L}return L}t(ue,"lex");var x,te,G,D,je,ne,H={},J,R,ge,q;while(!0){if(G=a[a.length-1],this.defaultActions[G])D=this.defaultActions[G];else{if(x===null||typeof x>"u")x=ue();D=j[G]&&j[G][x]}if(typeof D>"u"||!D.length||!D[0]){var ie="";q=[];for(J in j[G])if(this.terminals_[J]&&J>fe)q.push("'"+this.terminals_[J]+"'");if(E.showPosition)ie="Parse error on line "+(Y+1)+`:
1
+ import{t,l,Ee,A,g,K,X,Fr,p,de,nr,rr,ca,Pr,si,wn}from"./index-5y0bvq4q.js";var re=function(){var e=t(function(w,r,i,a){for(i=i||{},a=w.length;a--;i[w[a]]=r);return i},"o"),d=[1,4],y=[1,13],s=[1,12],b=[1,15],S=[1,16],_=[1,20],h=[1,19],I=[6,7,8],T=[1,26],f=[1,24],P=[1,25],N=[6,7,11],W=[1,31],v=[6,7,11,24],M=[1,6,13,16,17,20,23],m=[1,35],V=[1,36],C=[1,6,7,11,13,16,17,20,23],z=[1,38],B={trace:t(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mindMap:4,spaceLines:5,SPACELINE:6,NL:7,KANBAN:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,node:14,shapeData:15,ICON:16,CLASS:17,nodeWithId:18,nodeWithoutId:19,NODE_DSTART:20,NODE_DESCR:21,NODE_DEND:22,NODE_ID:23,SHAPE_DATA:24,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"KANBAN",11:"EOF",13:"SPACELIST",16:"ICON",17:"CLASS",20:"NODE_DSTART",21:"NODE_DESCR",22:"NODE_DEND",23:"NODE_ID",24:"SHAPE_DATA"},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,3],[12,2],[12,2],[12,2],[12,1],[12,2],[12,1],[12,1],[12,1],[12,1],[14,1],[14,1],[19,3],[18,1],[18,4],[15,2],[15,1]],performAction:t(function(r,i,a,o,u,n,j){var c=n.length-1;switch(u){case 6:case 7:return o;case 8:o.getLogger().trace("Stop NL ");break;case 9:o.getLogger().trace("Stop EOF ");break;case 11:o.getLogger().trace("Stop NL2 ");break;case 12:o.getLogger().trace("Stop EOF2 ");break;case 15:o.getLogger().info("Node: ",n[c-1].id),o.addNode(n[c-2].length,n[c-1].id,n[c-1].descr,n[c-1].type,n[c]);break;case 16:o.getLogger().info("Node: ",n[c].id),o.addNode(n[c-1].length,n[c].id,n[c].descr,n[c].type);break;case 17:o.getLogger().trace("Icon: ",n[c]),o.decorateNode({icon:n[c]});break;case 18:case 23:o.decorateNode({class:n[c]});break;case 19:o.getLogger().trace("SPACELIST");break;case 20:o.getLogger().trace("Node: ",n[c-1].id),o.addNode(0,n[c-1].id,n[c-1].descr,n[c-1].type,n[c]);break;case 21:o.getLogger().trace("Node: ",n[c].id),o.addNode(0,n[c].id,n[c].descr,n[c].type);break;case 22:o.decorateNode({icon:n[c]});break;case 27:o.getLogger().trace("node found ..",n[c-2]),this.$={id:n[c-1],descr:n[c-1],type:o.getType(n[c-2],n[c])};break;case 28:this.$={id:n[c],descr:n[c],type:0};break;case 29:o.getLogger().trace("node found ..",n[c-3]),this.$={id:n[c-3],descr:n[c-1],type:o.getType(n[c-2],n[c])};break;case 30:this.$=n[c-1]+n[c];break;case 31:this.$=n[c];break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],8:d},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:d},{6:y,7:[1,10],9:9,12:11,13:s,14:14,16:b,17:S,18:17,19:18,20:_,23:h},e(I,[2,3]),{1:[2,2]},e(I,[2,4]),e(I,[2,5]),{1:[2,6],6:y,12:21,13:s,14:14,16:b,17:S,18:17,19:18,20:_,23:h},{6:y,9:22,12:11,13:s,14:14,16:b,17:S,18:17,19:18,20:_,23:h},{6:T,7:f,10:23,11:P},e(N,[2,24],{18:17,19:18,14:27,16:[1,28],17:[1,29],20:_,23:h}),e(N,[2,19]),e(N,[2,21],{15:30,24:W}),e(N,[2,22]),e(N,[2,23]),e(v,[2,25]),e(v,[2,26]),e(v,[2,28],{20:[1,32]}),{21:[1,33]},{6:T,7:f,10:34,11:P},{1:[2,7],6:y,12:21,13:s,14:14,16:b,17:S,18:17,19:18,20:_,23:h},e(M,[2,14],{7:m,11:V}),e(C,[2,8]),e(C,[2,9]),e(C,[2,10]),e(N,[2,16],{15:37,24:W}),e(N,[2,17]),e(N,[2,18]),e(N,[2,20],{24:z}),e(v,[2,31]),{21:[1,39]},{22:[1,40]},e(M,[2,13],{7:m,11:V}),e(C,[2,11]),e(C,[2,12]),e(N,[2,15],{24:z}),e(v,[2,30]),{22:[1,41]},e(v,[2,27]),e(v,[2,29])],defaultActions:{2:[2,1],6:[2,2]},parseError:t(function(r,i){if(i.recoverable)this.trace(r);else{var a=Error(r);throw a.hash=i,a}},"parseError"),parse:t(function(r){var i=this,a=[0],o=[],u=[null],n=[],j=this.table,c="",Y=0,ce=0,le=0,fe=2,he=1,be=n.slice.call(arguments,1),E=Object.create(this.lexer),F={yy:{}};for(var Z in this.yy)if(Object.prototype.hasOwnProperty.call(this.yy,Z))F.yy[Z]=this.yy[Z];if(E.setInput(r,F.yy),F.yy.lexer=E,F.yy.parser=this,typeof E.yylloc>"u")E.yylloc={};var ee=E.yylloc;n.push(ee);var ye=E.options&&E.options.ranges;if(typeof F.yy.parseError==="function")this.parseError=F.yy.parseError;else this.parseError=Object.getPrototypeOf(this).parseError;function me(L){a.length=a.length-2*L,u.length=u.length-L,n.length=n.length-L}t(me,"popStack");function ue(){var L=o.pop()||E.lex()||he;if(typeof L!=="number"){if(L instanceof Array)o=L,L=o.pop();L=i.symbols_[L]||L}return L}t(ue,"lex");var x,te,G,D,je,ne,H={},J,R,ge,q;while(!0){if(G=a[a.length-1],this.defaultActions[G])D=this.defaultActions[G];else{if(x===null||typeof x>"u")x=ue();D=j[G]&&j[G][x]}if(typeof D>"u"||!D.length||!D[0]){var ie="";q=[];for(J in j[G])if(this.terminals_[J]&&J>fe)q.push("'"+this.terminals_[J]+"'");if(E.showPosition)ie="Parse error on line "+(Y+1)+`:
2
2
  `+E.showPosition()+`
3
3
  Expecting `+q.join(", ")+", got '"+(this.terminals_[x]||x)+"'";else ie="Parse error on line "+(Y+1)+": Unexpected "+(x==he?"end of input":"'"+(this.terminals_[x]||x)+"'");this.parseError(ie,{text:E.match,token:this.terminals_[x]||x,line:E.yylineno,loc:ee,expected:q})}if(D[0]instanceof Array&&D.length>1)throw Error("Parse Error: multiple actions possible at state: "+G+", token: "+x);switch(D[0]){case 1:if(a.push(x),u.push(E.yytext),n.push(E.yylloc),a.push(D[1]),x=null,!te){if(ce=E.yyleng,c=E.yytext,Y=E.yylineno,ee=E.yylloc,le>0)le--}else x=te,te=null;break;case 2:if(R=this.productions_[D[1]][1],H.$=u[u.length-R],H._$={first_line:n[n.length-(R||1)].first_line,last_line:n[n.length-1].last_line,first_column:n[n.length-(R||1)].first_column,last_column:n[n.length-1].last_column},ye)H._$.range=[n[n.length-(R||1)].range[0],n[n.length-1].range[1]];if(ne=this.performAction.apply(H,[c,ce,Y,F.yy,D[1],u,n].concat(be)),typeof ne<"u")return ne;if(R)a=a.slice(0,-1*R*2),u=u.slice(0,-1*R),n=n.slice(0,-1*R);a.push(this.productions_[D[1]][0]),u.push(H.$),n.push(H._$),ge=j[a[a.length-2]][a[a.length-1]],a.push(ge);break;case 3:return!0}}return!0},"parse")},Q=function(){var w={EOF:1,parseError:t(function(i,a){if(this.yy.parser)this.yy.parser.parseError(i,a);else throw Error(i)},"parseError"),setInput:t(function(r,i){if(this.yy=i||this.yy||{},this._input=r,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges)this.yylloc.range=[0,0];return this.offset=0,this},"setInput"),input:t(function(){var r=this._input[0];this.yytext+=r,this.yyleng++,this.offset++,this.match+=r,this.matched+=r;var i=r.match(/(?:\r\n?|\n).*/g);if(i)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),r},"input"),unput:t(function(r){var i=r.length,a=r.split(/(?:\r\n?|\n)/g);this._input=r+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-i),this.offset-=i;var o=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),a.length-1)this.yylineno-=a.length-1;var u=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:a?(a.length===o.length?this.yylloc.first_column:0)+o[o.length-a.length].length-a[0].length:this.yylloc.first_column-i},this.options.ranges)this.yylloc.range=[u[0],u[0]+this.yyleng-i];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(r){this.unput(this.match.slice(r))},"less"),pastInput:t(function(){var r=this.matched.substr(0,this.matched.length-this.match.length);return(r.length>20?"...":"")+r.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:t(function(){var r=this.match;if(r.length<20)r+=this._input.substr(0,20-r.length);return(r.substr(0,20)+(r.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:t(function(){var r=this.pastInput(),i=Array(r.length+1).join("-");return r+this.upcomingInput()+`
@@ -8,7 +8,7 @@ Expecting `+q.join(", ")+", got '"+(this.terminals_[x]||x)+"'";else ie="Parse er
8
8
  `+b+`
9
9
  }`;else T=b+`
10
10
  `;let f=rr(T,{schema:nr});if(f.shape&&(f.shape!==f.shape.toLowerCase()||f.shape.includes("_")))throw Error(`No such shape: ${f.shape}. Shape names should be lowercase.`);if(f?.shape&&f.shape==="kanbanItem")h.shape=f?.shape;if(f?.label)h.label=f?.label;if(f?.icon)h.icon=f?.icon.toString();if(f?.assigned)h.assigned=f?.assigned.toString();if(f?.ticket)h.ticket=f?.ticket.toString();if(f?.priority)h.priority=f?.priority}let I=Se(e);if(I)h.parentId=I.id||"kbn"+se++;else ae.push(h);O.push(h)},"addNode"),k={DEFAULT:0,NO_BORDER:0,ROUNDED_RECT:1,RECT:2,CIRCLE:3,CLOUD:4,BANG:5,HEXAGON:6},ve=t((e,d)=>{switch(l.debug("In get type",e,d),e){case"[":return k.RECT;case"(":return d===")"?k.ROUNDED_RECT:k.CLOUD;case"((":return k.CIRCLE;case")":return k.CLOUD;case"))":return k.BANG;case"{{":return k.HEXAGON;default:return k.DEFAULT}},"getType"),De=t((e,d)=>{oe[e]=d},"setElementForId"),Le=t((e)=>{if(!e)return;let d=p(),y=O[O.length-1];if(e.icon)y.icon=X(e.icon,d);if(e.class)y.cssClasses=X(e.class,d)},"decorateNode"),Oe=t((e)=>{switch(e){case k.DEFAULT:return"no-border";case k.RECT:return"rect";case k.ROUNDED_RECT:return"rounded-rect";case k.CIRCLE:return"circle";case k.CLOUD:return"cloud";case k.BANG:return"bang";case k.HEXAGON:return"hexgon";default:return"no-border"}},"type2Str"),Ie=t(()=>l,"getLogger"),Ce=t((e)=>oe[e],"getElementById"),we={clear:_e,addNode:xe,getSections:pe,getData:Ne,nodeType:k,getType:ve,setElementForId:De,decorateNode:Le,type2Str:Oe,getLogger:Ie,getElementById:Ce},Ae=we,Te=t(async(e,d,y,s)=>{l.debug(`Rendering kanban diagram
11
- `+e);let S=s.db.getData(),_=p();_.htmlLabels=!1;let h=de(d);for(let m of S.nodes)m.domId=`${d}-${m.id}`;let I=h.append("g");I.attr("class","sections");let T=h.append("g");T.attr("class","items");let f=S.nodes.filter((m)=>m.isGroup),P=0,N=10,W=[],v=25;for(let m of f){let V=_?.kanban?.sectionWidth||200;P=P+1,m.x=V*P+(P-1)*N/2,m.width=V,m.y=0,m.height=V*3,m.rx=5,m.ry=5,m.cssClasses=m.cssClasses+" section-"+P;let C=await ii(I,m);v=Math.max(v,C?.labelBBox?.height),W.push(C)}let M=0;for(let m of f){let V=W[M];M=M+1;let C=_?.kanban?.sectionWidth||200,z=-C*3/2+v,B=z,Q=S.nodes.filter((r)=>r.parentId===m.id);for(let r of Q){if(r.isGroup)throw Error("Groups within groups are not allowed in Kanban diagrams");r.x=m.x,r.width=C-1.5*N;let a=(await ca(T,r,{config:_})).node().getBBox();r.y=B+a.height/2,await Pr(r),B=r.y+a.height/2+N/2}let U=V.cluster.select("rect"),w=Math.max(B-z+3*N,50)+(v-25);U.attr("height",w)}Fr(void 0,h,_.mindmap?.padding??K.kanban.padding,_.mindmap?.useMaxWidth??K.kanban.useMaxWidth)},"draw"),Re={draw:Te},Pe=t((e)=>{let d="";for(let s=0;s<e.THEME_COLOR_LIMIT;s++)if(e["lineColor"+s]=e["lineColor"+s]||e["cScaleInv"+s],Ee(e["lineColor"+s]))e["lineColor"+s]=A(e["lineColor"+s],20);else e["lineColor"+s]=g(e["lineColor"+s],20);let y=t((s,b)=>e.darkMode?g(s,b):A(s,b),"adjuster");for(let s=0;s<e.THEME_COLOR_LIMIT;s++){let b=""+(17-3*s);d+=`
11
+ `+e);let S=s.db.getData(),_=p();_.htmlLabels=!1;let h=de(d);for(let m of S.nodes)m.domId=`${d}-${m.id}`;let I=h.append("g");I.attr("class","sections");let T=h.append("g");T.attr("class","items");let f=S.nodes.filter((m)=>m.isGroup),P=0,N=10,W=[],v=25;for(let m of f){let V=_?.kanban?.sectionWidth||200;P=P+1,m.x=V*P+(P-1)*N/2,m.width=V,m.y=0,m.height=V*3,m.rx=5,m.ry=5,m.cssClasses=m.cssClasses+" section-"+P;let C=await si(I,m);v=Math.max(v,C?.labelBBox?.height),W.push(C)}let M=0;for(let m of f){let V=W[M];M=M+1;let C=_?.kanban?.sectionWidth||200,z=-C*3/2+v,B=z,Q=S.nodes.filter((r)=>r.parentId===m.id);for(let r of Q){if(r.isGroup)throw Error("Groups within groups are not allowed in Kanban diagrams");r.x=m.x,r.width=C-1.5*N;let a=(await ca(T,r,{config:_})).node().getBBox();r.y=B+a.height/2,await Pr(r),B=r.y+a.height/2+N/2}let U=V.cluster.select("rect"),w=Math.max(B-z+3*N,50)+(v-25);U.attr("height",w)}Fr(void 0,h,_.mindmap?.padding??K.kanban.padding,_.mindmap?.useMaxWidth??K.kanban.useMaxWidth)},"draw"),Re={draw:Te},Pe=t((e)=>{let d="";for(let s=0;s<e.THEME_COLOR_LIMIT;s++)if(e["lineColor"+s]=e["lineColor"+s]||e["cScaleInv"+s],Ee(e["lineColor"+s]))e["lineColor"+s]=A(e["lineColor"+s],20);else e["lineColor"+s]=g(e["lineColor"+s],20);let y=t((s,b)=>e.darkMode?g(s,b):A(s,b),"adjuster");for(let s=0;s<e.THEME_COLOR_LIMIT;s++){let b=""+(17-3*s);d+=`
12
12
  .section-${s-1} rect, .section-${s-1} path, .section-${s-1} circle, .section-${s-1} polygon, .section-${s-1} path {
13
13
  fill: ${y(e["cScale"+s],10)};
14
14
  stroke: ${y(e["cScale"+s],10)};
@@ -85,5 +85,5 @@ Expecting `+q.join(", ")+", got '"+(this.terminals_[x]||x)+"'";else ie="Parse er
85
85
  dominant-baseline: middle;
86
86
  text-align: center;
87
87
  }
88
- ${xn()}
88
+ ${wn()}
89
89
  `,"getStyles"),Be=Ve,et={db:Ae,renderer:Re,parser:ke,styles:Be};export{et as diagram};
@@ -0,0 +1 @@
1
+ import{Sf}from"./index-ashpbfqv.js";import"./index-6k3e5dph.js";export{Sf as default};
@@ -1,12 +1,12 @@
1
- import{t,l,Au,pf,mf,Eo,Bl,Ld,dA,qe,ni,K,ff,$i,Rr,Md,pA,mA,fA,Af,gf,E,AA,gu,Pt,te,Pd,hA,hu,$d,h,de,nr,rr,So,Gi,Pl,vu,op,yA,lp,oe,W,vA,Fa,cp,Bf}from"./index-302d35e5.js";import{Nt}from"./index-qznwd6g8.js";function xr(r){let e=r?.constructor;return r===(typeof e==="function"?e.prototype:Object.prototype)}function fr(r){if(r==null)return!0;if(op(r)){if(typeof r.splice!=="function"&&typeof r!=="string"&&!Pl(r)&&!Gi(r)&&!vu(r))return!1;return r.length===0}if(typeof r==="object"||typeof r==="function"){if(r instanceof Map||r instanceof Set)return r.size===0;let e=Object.keys(r);if(xr(r))return e.filter((a)=>a!=="constructor").length===0;return e.length===0}return!0}var U="comm",Z="rule",J="decl";var br="@media",Sr="@import";var Er="@supports";var Dr="@namespace",q="@keyframes";var er="@layer",Tr="@scope";var Ar=Math.abs,P=String.fromCharCode;function tr(r){return r.trim()}function X(r,e,a){return r.replace(e,a)}function I(r,e){return r.charCodeAt(e)|0}function O(r,e,a){return r.slice(e,a)}function D(r){return r.length}function ar(r){return r.length}function G(r,e){return e.push(r),r}var ir=1,H=1,_r=0,L=0,y=0,Y="";function or(r,e,a,i,o,n,d,s){return{value:r,root:e,parent:a,type:i,props:o,children:n,line:ir,column:H,length:d,return:"",siblings:s}}function Cr(){return y}function Lr(){if(y=L>0?I(Y,--L):0,H--,y===10)H=1,ir--;return y}function M(){if(y=L<_r?I(Y,L++):0,H++,y===10)H=1,ir++;return y}function F(){return I(Y,L)}function Q(){return L}function sr(r,e){return O(Y,r,e)}function B(r){switch(r){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Mr(r){return ir=H=1,_r=D(Y=r),L=0,[]}function kr(r){return Y="",r}function dr(r){return tr(sr(L-1,gr(r===91?r+2:r===40?r+1:r)))}function Ir(r){while(y=F())if(y<33)M();else break;return B(r)>2||B(y)>3?"":" "}function Or(r,e){while(--e&&M())if(y<48||y>102||y>57&&y<65||y>70&&y<97)break;return sr(r,Q()+(e<6&&F()==32&&M()==32))}function gr(r){while(M())switch(y){case r:return L;case 34:case 39:if(r!==34&&r!==39)gr(y);break;case 40:if(r===41)gr(r);break;case 92:M();break}return L}function Fr(r,e){while(M())if(r+y===57)break;else if(r+y===84&&F()===47)break;return"/*"+sr(e,L-1)+"*"+P(r===47?r:M())}function zr(r){while(!B(F()))M();return sr(r,L)}function Nr(r){return kr(cr("",null,null,null,[""],r=Mr(r),0,[0],r))}function cr(r,e,a,i,o,n,d,s,c){var f=0,g=0,p=d,u=0,x=0,T=0,S=1,b=1,A=1,_=0,v=0,k="",V=o,R=n,C=i,m=k;while(b)switch(T=v,v=M()){case 40:if(T!=108&&I(m,p-1)==58)_++,m+="(";else m+=dr(v);break;case 41:_--,m+=")";break;case 34:case 39:case 91:m+=dr(v);break;case 9:case 10:case 13:case 32:if(_>0){m+=P(v);break}m+=Ir(T);break;case 92:m+=Or(Q()-1,7);continue;case 47:switch(F()){case 42:case 47:if(G(Qe(Fr(M(),Q()),e,a,c),c),(B(T||1)==5||B(F()||1)==5)&&D(m)&&O(m,-1,void 0)!==" ")m+=" ";break;default:m+="/"}break;case 123*S:s[f++]=D(m)*A;case 125*S:case 59:case 0:if(_>0&&v){m+=P(v);break}switch(v){case 0:case 125:b=0;case 59+g:if(A==-1)m=X(m,/\f/g,"");if(x>0&&(D(m)-p||S===0))G(x>32?Pr(m+";",i,a,p-1,c):Pr(X(m," ","")+";",i,a,p-2,c),c);break;case 59:m+=";";default:if(G(C=$r(m,e,a,f,g,o,s,k,V=[],R=[],p,n),n),v===123)if(g===0)cr(m,e,C,C,V,n,p,s,R);else{switch(u){case 99:if(I(m,3)===110)break;case 108:if(I(m,2)===97)break;default:g=0;case 100:case 109:case 115:}if(g)cr(r,C,C,i&&G($r(r,C,C,0,0,o,s,k,o,V=[],p,R),R),o,R,p,s,i?V:R);else cr(m,C,C,C,[""],R,0,s,R)}}f=g=x=0,S=A=1,k=m="",p=d;break;case 58:p=1+D(m),x=T;default:if(S<1){if(v==123)--S;else if(v==125&&S++==0&&Lr()==125)continue}switch(m+=P(v),v*S){case 38:A=g>0?1:(m+="\f",-1);break;case 44:if(_>0)break;s[f++]=(D(m)-1)*A,A=1;break;case 64:if(F()===45)m+=dr(M());u=F(),g=p=D(k=m+=zr(Q())),v++;break;case 45:if(T===45&&D(m)==2)S=0}}return n}function $r(r,e,a,i,o,n,d,s,c,f,g,p){var u=o-1,x=o===0?n:[""],T=ar(x);for(var S=0,b=0,A=0;S<i;++S)for(var _=0,v=O(r,u+1,u=Ar(b=d[S])),k=r;_<T;++_)if(k=tr(b>0?x[_]+" "+v:X(v,/&\f/g,x[_])))c[A++]=k;return or(r,e,a,o===0?Z:s,c,f,g,p)}function Qe(r,e,a,i){return or(r,e,a,U,P(Cr()),O(r,2,-2),0,i)}function Pr(r,e,a,i,o){return or(r,e,a,J,O(r,0,i),O(r,i+1,-1),i,o)}function lr(r,e){var a="";for(var i=0;i<r.length;i++)a+=e(r[i],i,r,e)||"";return a}function Vr(r,e,a,i){switch(r.type){case er:if(r.children.length)break;case Sr:case Dr:case J:return r.return=r.return||r.value;case U:return"";case q:return r.return=r.value+"{"+lr(r.children,i)+"}";case Z:if(!D(r.value=r.props.join(",")))return""}return D(a=lr(r.children,i))?r.return=r.value+"{"+a+"}":""}function Ur(r){var e=ar(r);return function(a,i,o,n){var d="";for(var s=0;s<e;s++)d+=r[s](a,i,o,n)||"";return d}}var jr="c4",Ze=t((r)=>/^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(r),"detector"),Je=t(async()=>{let{diagram:r}=await import("./c4Diagram-YGBWAQC7-rf9xkmrm.js");return{id:jr,diagram:r}},"loader"),rt={id:jr,detector:Ze,loader:Je},et=rt,qr="flowchart-v2",tt=t((r)=>/^\s*(graph|flowchart)/.test(r),"detector"),at=t(async()=>{let{diagram:r}=await import("./flowDiagram-KWPJA3E3-267mw6sv.js");return{id:qr,diagram:r}},"loader"),it={id:qr,detector:tt,loader:at},ot=it,Wr="agentflow",nt=t((r)=>/^\s*agentflow-beta\b/.test(r),"detector"),st=t(async()=>{let{diagram:r}=await import("./diagram-22UHCM2B-sfvfjjsy.js");return{id:Wr,diagram:r}},"loader"),dt={id:Wr,detector:nt,loader:st},ct=dt,Xr="swimlane",lt=t((r)=>/^\s*swimlane-beta\b/.test(r),"detector"),mt=t(async()=>{let{diagram:r}=await import("./swimlanesDiagram-TC7HE7FX-a8b7z74e.js");return{id:Xr,diagram:r}},"loader"),ut={id:Xr,detector:lt,loader:mt},pt=ut,Kr="er",ft=t((r)=>/^\s*erDiagram/.test(r),"detector"),gt=t(async()=>{let{diagram:r}=await import("./erDiagram-OPXOYQCR-agjdsm1b.js");return{id:Kr,diagram:r}},"loader"),vt={id:Kr,detector:ft,loader:gt},ht=vt,Qr="gitGraph",yt=t((r)=>/^\s*gitGraph/.test(r),"detector"),wt=t(async()=>{let{diagram:r}=await import("./gitGraphDiagram-X574FWY7-bvbmfw6h.js");return{id:Qr,diagram:r}},"loader"),xt={id:Qr,detector:yt,loader:wt},bt=xt,Zr="gantt",St=t((r)=>/^\s*gantt/.test(r),"detector"),Et=t(async()=>{let{diagram:r}=await import("./ganttDiagram-FUAMR5RP-z6ywqqc1.js");return{id:Zr,diagram:r}},"loader"),Dt={id:Zr,detector:St,loader:Et},Tt=Dt,Jr="info",At=t((r)=>/^\s*info/.test(r),"detector"),_t=t(async()=>{let{diagram:r}=await import("./infoDiagram-VRGFBTTK-58bv28d4.js");return{id:Jr,diagram:r}},"loader"),Ct={id:Jr,detector:At,loader:_t},re="pie",Lt=t((r)=>/^\s*pie/.test(r),"detector"),Mt=t(async()=>{let{diagram:r}=await import("./pieDiagram-5QR66LMP-wh04y7wp.js");return{id:re,diagram:r}},"loader"),kt={id:re,detector:Lt,loader:Mt},ee="quadrantChart",Rt=t((r)=>/^\s*quadrantChart/.test(r),"detector"),It=t(async()=>{let{diagram:r}=await import("./quadrantDiagram-O4NWA36T-4mhbag8n.js");return{id:ee,diagram:r}},"loader"),Ot={id:ee,detector:Rt,loader:It},Ft=Ot,ae="xychart",zt=t((r)=>/^\s*xychart(-beta)?/.test(r),"detector"),$t=t(async()=>{let{diagram:r}=await import("./xychartDiagram-PMCCYNJV-kcz8y04e.js");return{id:ae,diagram:r}},"loader"),Vt={id:ae,detector:zt,loader:$t},Ut=Vt,ie="requirement",Gt=t((r)=>/^\s*requirement(Diagram)?/.test(r),"detector"),Ht=t(async()=>{let{diagram:r}=await import("./requirementDiagram-PLB6GJNP-jhfhp4eq.js");return{id:ie,diagram:r}},"loader"),Bt={id:ie,detector:Gt,loader:Ht},Yt=Bt,ne="sequence",jt=t((r)=>/^\s*sequenceDiagram/.test(r),"detector"),qt=t(async()=>{let{diagram:r}=await import("./sequenceDiagram-PO4LG4MO-fpznwnva.js");return{id:ne,diagram:r}},"loader"),Wt={id:ne,detector:jt,loader:qt},Xt=Wt,se="classDiagram",Kt=t((r)=>/^\s*classDiagram/.test(r),"detector"),Qt=t(async()=>{let{diagram:r}=await import("./classDiagram-v2-NBCMYWYE-zfm2cj2a.js");return{id:se,diagram:r}},"loader"),Zt={id:se,detector:Kt,loader:Qt},Jt=Zt,ce="stateDiagram",ra=t((r)=>/^\s*stateDiagram/.test(r),"detector"),ea=t(async()=>{let{diagram:r}=await import("./stateDiagram-v2-GCMORJYK-2m99syxm.js");return{id:ce,diagram:r}},"loader"),ta={id:ce,detector:ra,loader:ea},aa=ta,le="journey",ia=t((r)=>/^\s*journey/.test(r),"detector"),oa=t(async()=>{let{diagram:r}=await import("./journeyDiagram-ZHPQQLJL-ydamm17a.js");return{id:le,diagram:r}},"loader"),na={id:le,detector:ia,loader:oa},sa=na,da=t((r,e,a)=>{l.debug(`rendering svg for syntax error
2
- `);let i=de(e),o=i.append("g");i.attr("viewBox","0 0 2412 512"),te(i,100,512,!0),o.append("path").attr("class","error-icon").attr("d","m411.313,123.313c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32-9.375,9.375-20.688-20.688c-12.484-12.5-32.766-12.5-45.25,0l-16,16c-1.261,1.261-2.304,2.648-3.31,4.051-21.739-8.561-45.324-13.426-70.065-13.426-105.867,0-192,86.133-192,192s86.133,192 192,192 192-86.133 192-192c0-24.741-4.864-48.327-13.426-70.065 1.402-1.007 2.79-2.049 4.051-3.31l16-16c12.5-12.492 12.5-32.758 0-45.25l-20.688-20.688 9.375-9.375 32.001-31.999zm-219.313,100.687c-52.938,0-96,43.063-96,96 0,8.836-7.164,16-16,16s-16-7.164-16-16c0-70.578 57.422-128 128-128 8.836,0 16,7.164 16,16s-7.164,16-16,16z"),o.append("path").attr("class","error-icon").attr("d","m459.02,148.98c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l16,16c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16.001-16z"),o.append("path").attr("class","error-icon").attr("d","m340.395,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16-16c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l15.999,16z"),o.append("path").attr("class","error-icon").attr("d","m400,64c8.844,0 16-7.164 16-16v-32c0-8.836-7.156-16-16-16-8.844,0-16,7.164-16,16v32c0,8.836 7.156,16 16,16z"),o.append("path").attr("class","error-icon").attr("d","m496,96.586h-32c-8.844,0-16,7.164-16,16 0,8.836 7.156,16 16,16h32c8.844,0 16-7.164 16-16 0-8.836-7.156-16-16-16z"),o.append("path").attr("class","error-icon").attr("d","m436.98,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688l32-32c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32c-6.251,6.25-6.251,16.375-0.001,22.625z"),o.append("text").attr("class","error-text").attr("x",1440).attr("y",250).attr("font-size","150px").style("text-anchor","middle").text("Syntax error in text"),o.append("text").attr("class","error-text").attr("x",1250).attr("y",400).attr("font-size","100px").style("text-anchor","middle").text(`mermaid version ${a}`)},"draw"),me={draw:da},ca=me,la={db:{},renderer:me,parser:{parse:t(()=>{return},"parse")}},ma=la,ue="flowchart-elk",ua=t((r,e={})=>{if(/^\s*flowchart-elk/.test(r))return e.layout="elk",!0;return!1},"detector"),pa=t(async()=>{let{diagram:r}=await import("./flowDiagram-KWPJA3E3-267mw6sv.js");return{id:ue,diagram:r}},"loader"),fa={id:ue,detector:ua,loader:pa},ga=fa,pe="timeline",va=t((r)=>/^\s*timeline/.test(r),"detector"),ha=t(async()=>{let{diagram:r}=await import("./timeline-definition-EJHVYXUP-765y3ssa.js");return{id:pe,diagram:r}},"loader"),ya={id:pe,detector:va,loader:ha},wa=ya,fe="mindmap",xa=t((r)=>/^\s*mindmap/.test(r),"detector"),ba=t(async()=>{let{diagram:r}=await import("./mindmap-definition-NLK3R4M7-ra4wrts4.js");return{id:fe,diagram:r}},"loader"),Sa={id:fe,detector:xa,loader:ba},Ea=Sa,ge="kanban",Da=t((r)=>/^\s*kanban/.test(r),"detector"),Ta=t(async()=>{let{diagram:r}=await import("./kanban-definition-PNTS6WVX-7jxfsf17.js");return{id:ge,diagram:r}},"loader"),Aa={id:ge,detector:Da,loader:Ta},_a=Aa,ve="sankey",Ca=t((r)=>/^\s*sankey(-beta)?/.test(r),"detector"),La=t(async()=>{let{diagram:r}=await import("./sankeyDiagram-IPEJSGJF-qrfxzvp3.js");return{id:ve,diagram:r}},"loader"),Ma={id:ve,detector:Ca,loader:La},ka=Ma,he="packet",Ra=t((r)=>/^\s*packet(-beta)?/.test(r),"detector"),Ia=t(async()=>{let{diagram:r}=await import("./diagram-MLGK6HIB-qdxfjjhf.js");return{id:he,diagram:r}},"loader"),Oa={id:he,detector:Ra,loader:Ia},ye="radar",za=t((r)=>/^\s*radar-beta/.test(r),"detector"),$a=t(async()=>{let{diagram:r}=await import("./diagram-MPIPVDR6-dfqeqa1d.js");return{id:ye,diagram:r}},"loader"),Pa={id:ye,detector:za,loader:$a},we="block",Na=t((r)=>/^\s*block(-beta)?/.test(r),"detector"),Va=t(async()=>{let{diagram:r}=await import("./blockDiagram-BEXU5L5S-s5yz9hcd.js");return{id:we,diagram:r}},"loader"),Ua={id:we,detector:Na,loader:Va},Ga=Ua,xe="treeView",Ha=t((r)=>/^\s*treeView-beta/.test(r),"detector"),Ba=t(async()=>{let{diagram:r}=await import("./diagram-CDSNMT55-kk437kxq.js");return{id:xe,diagram:r}},"loader"),Ya={id:xe,detector:Ha,loader:Ba},ja=Ya,be="architecture",qa=t((r)=>/^\s*architecture/.test(r),"detector"),Wa=t(async()=>{let{diagram:r}=await import("./architectureDiagram-NJMV4G6O-62mygavm.js");return{id:be,diagram:r}},"loader"),Xa={id:be,detector:qa,loader:Wa},Ka=Xa,Se="eventmodeling",Qa=t((r)=>/^\s*eventmodeling/.test(r),"detector"),Za=t(async()=>{let{diagram:r}=await import("./diagram-ATOU4E4O-yathy97a.js");return{id:Se,diagram:r}},"loader"),Ja={id:Se,detector:Qa,loader:Za},ri=Ja,Ee="ishikawa",ei=t((r)=>/^\s*ishikawa(-beta)?\b/i.test(r),"detector"),ti=t(async()=>{let{diagram:r}=await import("./ishikawaDiagram-OU5B5YK6-tz6b0caw.js");return{id:Ee,diagram:r}},"loader"),ai={id:Ee,detector:ei,loader:ti},De="venn",ii=t((r)=>/^\s*venn-beta/.test(r),"detector"),oi=t(async()=>{let{diagram:r}=await import("./vennDiagram-UO4OBE2U-wd51qq26.js");return{id:De,diagram:r}},"loader"),si={id:De,detector:ii,loader:oi},di=si,Te="treemap",ci=t((r)=>/^\s*treemap/.test(r),"detector"),li=t(async()=>{let{diagram:r}=await import("./diagram-3UASUU5V-3r2c8s14.js");return{id:Te,diagram:r}},"loader"),mi={id:Te,detector:ci,loader:li},Ae="usecase",ui=t((r)=>/^\s*usecase-beta(?:\s|$)/.test(r),"detector"),pi=t(async()=>{let{diagram:r}=await import("./usecaseDiagram-POWQR4AR-rex2j507.js");return{id:Ae,diagram:r}},"loader"),fi={id:Ae,detector:ui,loader:pi},_e="wardley",gi=t((r)=>/^\s*wardley-beta/i.test(r),"detector"),vi=t(async()=>{let{diagram:r}=await import("./wardleyDiagram-VNRHLVJA-6jdqn8f7.js");return{id:_e,diagram:r}},"loader"),hi={id:_e,detector:gi,loader:vi},yi=hi,Ce="cynefin",wi=t((r)=>/^\s*cynefin-beta(?:[\s:]|$)/.test(r),"detector"),xi=t(async()=>{let{diagram:r}=await import("./cynefinDiagram-VND7K2PF-468r5xc2.js");return{id:Ce,diagram:r}},"loader"),bi={id:Ce,detector:wi,loader:xi},Le="railroad",Si=t((r)=>/^\s*railroad-beta/i.test(r),"detector"),Ei=t(async()=>{let{diagram:r}=await import("./railroadDiagram-XR7U4H2S-pagmr4hc.js");return{id:Le,diagram:r}},"loader"),Di={id:Le,detector:Si,loader:Ei},Me="railroadEbnf",Ti=t((r)=>/^\s*railroad-ebnf-beta/i.test(r),"detector"),Ai=t(async()=>{let{diagram:r}=await import("./ebnfDiagram-ZINNZB2B-s0b0vv4k.js");return{id:Me,diagram:r}},"loader"),_i={id:Me,detector:Ti,loader:Ai},ke="railroadAbnf",Ci=t((r)=>/^\s*railroad-abnf-beta/i.test(r),"detector"),Li=t(async()=>{let{diagram:r}=await import("./abnfDiagram-O67JEVCF-5cjzxcaq.js");return{id:ke,diagram:r}},"loader"),Mi={id:ke,detector:Ci,loader:Li},Re="railroadPeg",ki=t((r)=>/^\s*railroad-peg-beta/i.test(r),"detector"),Ri=t(async()=>{let{diagram:r}=await import("./pegDiagram-GJSIUBJH-ydjcfea9.js");return{id:Re,diagram:r}},"loader"),Ii={id:Re,detector:ki,loader:Ri},Gr=!1,pr=t(()=>{if(Gr)return;Gr=!0,hu("error",ma,(r)=>r.toLowerCase().trim()==="error"),hu("---",{db:{clear:t(()=>{},"clear")},styles:{},renderer:{draw:t(()=>{},"draw")},parser:{parse:t(()=>{throw Error("Diagrams beginning with --- are not valid. If you were trying to use a YAML front-matter, please ensure that you've correctly opened and closed the YAML front-matter with un-indented `---` blocks")},"parse")},init:t(()=>null,"init")},(r)=>r.toLowerCase().trimStart().startsWith("---")),Ld(ga,Ea,Ka),Ld(ct,et,_a,Jt,ht,Tt,Ct,kt,Yt,Xt,pt,ot,wa,bt,aa,sa,Ft,ka,Oa,Ut,Ga,ri,ja,Pa,ai,mi,Di,_i,Mi,Ii,di,yi,bi,fi)},"addDiagrams"),Oi=t(async()=>{l.debug("Loading registered diagrams");let e=(await Promise.allSettled(Object.entries(Eo).map(async([a,{detector:i,loader:o}])=>{if(!o)return;try{$d(a)}catch{try{let{diagram:n,id:d}=await o();hu(d,n,i)}catch(n){throw l.error(`Failed to load external diagram with key ${a}. Removing from detectors.`),delete Eo[a],n}}}))).filter((a)=>a.status==="rejected");if(e.length>0){l.error(`Failed to load ${e.length} external diagrams`);for(let a of e)l.error(a);throw Error(`Failed to load ${e.length} external diagrams`)}},"loadRegisteredDiagrams"),Fi="graphics-document document";function Ie(r,e){if(r.attr("role",Fi),e!=="")r.attr("aria-roledescription",e)}t(Ie,"setA11yDiagramInfo");function Oe(r,e,a,i){if(r.insert===void 0)return;if(a){let o=`chart-desc-${i}`;r.attr("aria-describedby",o),r.insert("desc",":first-child").attr("id",o).text(a)}if(e){let o=`chart-title-${i}`;r.attr("aria-labelledby",o),r.insert("title",":first-child").attr("id",o).text(e)}}t(Oe,"addSVGa11yTitleDescription");var mr=class r{constructor(e,a,i,o,n){this.type=e,this.text=a,this.db=i,this.parser=o,this.renderer=n}static{t(this,"Diagram")}static async fromText(e,a={}){let i=typeof e==="string"?{raw:e,cleaned:e}:e,o=E(),n=Bl(i.cleaned,o);try{$d(n)}catch{let u=dA(n);if(!u)throw new mf(`Diagram ${n} not found.`);let{id:x,diagram:T}=await u();hu(x,T)}let{db:d,parser:s,renderer:c,init:f}=$d(n);if(s.parser)s.parser.yy=d;if(d.clear?.(),f?.(o),a.title)d.setDiagramTitle?.(a.title);let g=i.cleaned;if(d.preserveCommentsWhenParsing&&i.withComments){let u=o.maxTextSize??K.maxTextSize;if(i.withComments.length>u)l.warn(`Comment-preserving source exceeds maxTextSize (${i.withComments.length} > ${u}); parsing the comment-stripped text instead. Reported source positions will not account for comment lines.`);else g=i.withComments}let p=vA(g)+`
3
- `;if(i.frontmatterLineOffset)d.setFrontmatterLineOffset?.(i.frontmatterLineOffset);return await s.parse(p),new r(n,p,d,s,c)}async render(e,a){await this.renderer.draw(this.text,e,a,this)}getParser(){return this.parser}getType(){return this.type}},Hr=[],zi=t(()=>{Hr.forEach((r)=>{r()}),Hr=[]},"attachFunctions"),Pi=t((r)=>r.replace(/^\s*%%(?!{)[^\n]+\n?/gm,"").trimStart(),"cleanupComments");function Fe(r){let e=r.match(pf);if(!e)return{text:r,metadata:{}};let a=e[1],i=a?e[2].split(`
1
+ import{t,l,Au,pf,mf,Eo,Il,Ld,dA,qe,ai,K,ff,zi,Rr,Md,pA,mA,fA,Af,gf,E,AA,gu,Pt,te,Pd,hA,hu,$d,h,de,nr,rr,So,ji,Ol,vu,op,yA,lp,oe,W,vA,La,cp,Bf}from"./index-5y0bvq4q.js";import{Nt}from"./index-st202rjv.js";function xr(r){let e=r?.constructor;return r===(typeof e==="function"?e.prototype:Object.prototype)}function fr(r){if(r==null)return!0;if(op(r)){if(typeof r.splice!=="function"&&typeof r!=="string"&&!Ol(r)&&!ji(r)&&!vu(r))return!1;return r.length===0}if(typeof r==="object"||typeof r==="function"){if(r instanceof Map||r instanceof Set)return r.size===0;let e=Object.keys(r);if(xr(r))return e.filter((a)=>a!=="constructor").length===0;return e.length===0}return!0}var U="comm",Z="rule",J="decl";var br="@media",Sr="@import";var Er="@supports";var Dr="@namespace",q="@keyframes";var er="@layer",Tr="@scope";var Ar=Math.abs,P=String.fromCharCode;function tr(r){return r.trim()}function X(r,e,a){return r.replace(e,a)}function I(r,e){return r.charCodeAt(e)|0}function O(r,e,a){return r.slice(e,a)}function D(r){return r.length}function ar(r){return r.length}function G(r,e){return e.push(r),r}var ir=1,H=1,_r=0,L=0,y=0,Y="";function or(r,e,a,i,o,n,d,s){return{value:r,root:e,parent:a,type:i,props:o,children:n,line:ir,column:H,length:d,return:"",siblings:s}}function Cr(){return y}function Lr(){if(y=L>0?I(Y,--L):0,H--,y===10)H=1,ir--;return y}function M(){if(y=L<_r?I(Y,L++):0,H++,y===10)H=1,ir++;return y}function F(){return I(Y,L)}function Q(){return L}function sr(r,e){return O(Y,r,e)}function B(r){switch(r){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Mr(r){return ir=H=1,_r=D(Y=r),L=0,[]}function kr(r){return Y="",r}function dr(r){return tr(sr(L-1,gr(r===91?r+2:r===40?r+1:r)))}function Ir(r){while(y=F())if(y<33)M();else break;return B(r)>2||B(y)>3?"":" "}function Or(r,e){while(--e&&M())if(y<48||y>102||y>57&&y<65||y>70&&y<97)break;return sr(r,Q()+(e<6&&F()==32&&M()==32))}function gr(r){while(M())switch(y){case r:return L;case 34:case 39:if(r!==34&&r!==39)gr(y);break;case 40:if(r===41)gr(r);break;case 92:M();break}return L}function Fr(r,e){while(M())if(r+y===57)break;else if(r+y===84&&F()===47)break;return"/*"+sr(e,L-1)+"*"+P(r===47?r:M())}function zr(r){while(!B(F()))M();return sr(r,L)}function Nr(r){return kr(cr("",null,null,null,[""],r=Mr(r),0,[0],r))}function cr(r,e,a,i,o,n,d,s,c){var f=0,g=0,p=d,u=0,x=0,T=0,S=1,b=1,A=1,_=0,v=0,k="",V=o,R=n,C=i,m=k;while(b)switch(T=v,v=M()){case 40:if(T!=108&&I(m,p-1)==58)_++,m+="(";else m+=dr(v);break;case 41:_--,m+=")";break;case 34:case 39:case 91:m+=dr(v);break;case 9:case 10:case 13:case 32:if(_>0){m+=P(v);break}m+=Ir(T);break;case 92:m+=Or(Q()-1,7);continue;case 47:switch(F()){case 42:case 47:if(G(Qe(Fr(M(),Q()),e,a,c),c),(B(T||1)==5||B(F()||1)==5)&&D(m)&&O(m,-1,void 0)!==" ")m+=" ";break;default:m+="/"}break;case 123*S:s[f++]=D(m)*A;case 125*S:case 59:case 0:if(_>0&&v){m+=P(v);break}switch(v){case 0:case 125:b=0;case 59+g:if(A==-1)m=X(m,/\f/g,"");if(x>0&&(D(m)-p||S===0))G(x>32?Pr(m+";",i,a,p-1,c):Pr(X(m," ","")+";",i,a,p-2,c),c);break;case 59:m+=";";default:if(G(C=$r(m,e,a,f,g,o,s,k,V=[],R=[],p,n),n),v===123)if(g===0)cr(m,e,C,C,V,n,p,s,R);else{switch(u){case 99:if(I(m,3)===110)break;case 108:if(I(m,2)===97)break;default:g=0;case 100:case 109:case 115:}if(g)cr(r,C,C,i&&G($r(r,C,C,0,0,o,s,k,o,V=[],p,R),R),o,R,p,s,i?V:R);else cr(m,C,C,C,[""],R,0,s,R)}}f=g=x=0,S=A=1,k=m="",p=d;break;case 58:p=1+D(m),x=T;default:if(S<1){if(v==123)--S;else if(v==125&&S++==0&&Lr()==125)continue}switch(m+=P(v),v*S){case 38:A=g>0?1:(m+="\f",-1);break;case 44:if(_>0)break;s[f++]=(D(m)-1)*A,A=1;break;case 64:if(F()===45)m+=dr(M());u=F(),g=p=D(k=m+=zr(Q())),v++;break;case 45:if(T===45&&D(m)==2)S=0}}return n}function $r(r,e,a,i,o,n,d,s,c,f,g,p){var u=o-1,x=o===0?n:[""],T=ar(x);for(var S=0,b=0,A=0;S<i;++S)for(var _=0,v=O(r,u+1,u=Ar(b=d[S])),k=r;_<T;++_)if(k=tr(b>0?x[_]+" "+v:X(v,/&\f/g,x[_])))c[A++]=k;return or(r,e,a,o===0?Z:s,c,f,g,p)}function Qe(r,e,a,i){return or(r,e,a,U,P(Cr()),O(r,2,-2),0,i)}function Pr(r,e,a,i,o){return or(r,e,a,J,O(r,0,i),O(r,i+1,-1),i,o)}function lr(r,e){var a="";for(var i=0;i<r.length;i++)a+=e(r[i],i,r,e)||"";return a}function Vr(r,e,a,i){switch(r.type){case er:if(r.children.length)break;case Sr:case Dr:case J:return r.return=r.return||r.value;case U:return"";case q:return r.return=r.value+"{"+lr(r.children,i)+"}";case Z:if(!D(r.value=r.props.join(",")))return""}return D(a=lr(r.children,i))?r.return=r.value+"{"+a+"}":""}function Ur(r){var e=ar(r);return function(a,i,o,n){var d="";for(var s=0;s<e;s++)d+=r[s](a,i,o,n)||"";return d}}var jr="c4",Ze=t((r)=>/^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(r),"detector"),Je=t(async()=>{let{diagram:r}=await import("./c4Diagram-YGBWAQC7-rdcmn6ac.js");return{id:jr,diagram:r}},"loader"),rt={id:jr,detector:Ze,loader:Je},et=rt,qr="flowchart-v2",tt=t((r)=>/^\s*(graph|flowchart)/.test(r),"detector"),at=t(async()=>{let{diagram:r}=await import("./flowDiagram-KWPJA3E3-f6jpcqyq.js");return{id:qr,diagram:r}},"loader"),it={id:qr,detector:tt,loader:at},ot=it,Wr="agentflow",nt=t((r)=>/^\s*agentflow-beta\b/.test(r),"detector"),st=t(async()=>{let{diagram:r}=await import("./diagram-22UHCM2B-vqvhdc5m.js");return{id:Wr,diagram:r}},"loader"),dt={id:Wr,detector:nt,loader:st},ct=dt,Xr="swimlane",lt=t((r)=>/^\s*swimlane-beta\b/.test(r),"detector"),mt=t(async()=>{let{diagram:r}=await import("./swimlanesDiagram-TC7HE7FX-6xmrz03n.js");return{id:Xr,diagram:r}},"loader"),ut={id:Xr,detector:lt,loader:mt},pt=ut,Kr="er",ft=t((r)=>/^\s*erDiagram/.test(r),"detector"),gt=t(async()=>{let{diagram:r}=await import("./erDiagram-OPXOYQCR-39gat96z.js");return{id:Kr,diagram:r}},"loader"),vt={id:Kr,detector:ft,loader:gt},ht=vt,Qr="gitGraph",yt=t((r)=>/^\s*gitGraph/.test(r),"detector"),wt=t(async()=>{let{diagram:r}=await import("./gitGraphDiagram-X574FWY7-r4vnkcy3.js");return{id:Qr,diagram:r}},"loader"),xt={id:Qr,detector:yt,loader:wt},bt=xt,Zr="gantt",St=t((r)=>/^\s*gantt/.test(r),"detector"),Et=t(async()=>{let{diagram:r}=await import("./ganttDiagram-FUAMR5RP-nsjv1zt4.js");return{id:Zr,diagram:r}},"loader"),Dt={id:Zr,detector:St,loader:Et},Tt=Dt,Jr="info",At=t((r)=>/^\s*info/.test(r),"detector"),_t=t(async()=>{let{diagram:r}=await import("./infoDiagram-VRGFBTTK-e39pvm4j.js");return{id:Jr,diagram:r}},"loader"),Ct={id:Jr,detector:At,loader:_t},re="pie",Lt=t((r)=>/^\s*pie/.test(r),"detector"),Mt=t(async()=>{let{diagram:r}=await import("./pieDiagram-5QR66LMP-0cbm773h.js");return{id:re,diagram:r}},"loader"),kt={id:re,detector:Lt,loader:Mt},ee="quadrantChart",Rt=t((r)=>/^\s*quadrantChart/.test(r),"detector"),It=t(async()=>{let{diagram:r}=await import("./quadrantDiagram-O4NWA36T-jwg7fc9f.js");return{id:ee,diagram:r}},"loader"),Ot={id:ee,detector:Rt,loader:It},Ft=Ot,ae="xychart",zt=t((r)=>/^\s*xychart(-beta)?/.test(r),"detector"),$t=t(async()=>{let{diagram:r}=await import("./xychartDiagram-PMCCYNJV-njyfrqkv.js");return{id:ae,diagram:r}},"loader"),Vt={id:ae,detector:zt,loader:$t},Ut=Vt,ie="requirement",Gt=t((r)=>/^\s*requirement(Diagram)?/.test(r),"detector"),Ht=t(async()=>{let{diagram:r}=await import("./requirementDiagram-PLB6GJNP-gpddawxh.js");return{id:ie,diagram:r}},"loader"),Bt={id:ie,detector:Gt,loader:Ht},Yt=Bt,ne="sequence",jt=t((r)=>/^\s*sequenceDiagram/.test(r),"detector"),qt=t(async()=>{let{diagram:r}=await import("./sequenceDiagram-PO4LG4MO-wkq51pmb.js");return{id:ne,diagram:r}},"loader"),Wt={id:ne,detector:jt,loader:qt},Xt=Wt,se="classDiagram",Kt=t((r)=>/^\s*classDiagram/.test(r),"detector"),Qt=t(async()=>{let{diagram:r}=await import("./classDiagram-v2-NBCMYWYE-txbmbkxv.js");return{id:se,diagram:r}},"loader"),Zt={id:se,detector:Kt,loader:Qt},Jt=Zt,ce="stateDiagram",ra=t((r)=>/^\s*stateDiagram/.test(r),"detector"),ea=t(async()=>{let{diagram:r}=await import("./stateDiagram-v2-GCMORJYK-jnwsqa7y.js");return{id:ce,diagram:r}},"loader"),ta={id:ce,detector:ra,loader:ea},aa=ta,le="journey",ia=t((r)=>/^\s*journey/.test(r),"detector"),oa=t(async()=>{let{diagram:r}=await import("./journeyDiagram-ZHPQQLJL-wgy5qrsv.js");return{id:le,diagram:r}},"loader"),na={id:le,detector:ia,loader:oa},sa=na,da=t((r,e,a)=>{l.debug(`rendering svg for syntax error
2
+ `);let i=de(e),o=i.append("g");i.attr("viewBox","0 0 2412 512"),te(i,100,512,!0),o.append("path").attr("class","error-icon").attr("d","m411.313,123.313c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32-9.375,9.375-20.688-20.688c-12.484-12.5-32.766-12.5-45.25,0l-16,16c-1.261,1.261-2.304,2.648-3.31,4.051-21.739-8.561-45.324-13.426-70.065-13.426-105.867,0-192,86.133-192,192s86.133,192 192,192 192-86.133 192-192c0-24.741-4.864-48.327-13.426-70.065 1.402-1.007 2.79-2.049 4.051-3.31l16-16c12.5-12.492 12.5-32.758 0-45.25l-20.688-20.688 9.375-9.375 32.001-31.999zm-219.313,100.687c-52.938,0-96,43.063-96,96 0,8.836-7.164,16-16,16s-16-7.164-16-16c0-70.578 57.422-128 128-128 8.836,0 16,7.164 16,16s-7.164,16-16,16z"),o.append("path").attr("class","error-icon").attr("d","m459.02,148.98c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l16,16c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16.001-16z"),o.append("path").attr("class","error-icon").attr("d","m340.395,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16-16c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l15.999,16z"),o.append("path").attr("class","error-icon").attr("d","m400,64c8.844,0 16-7.164 16-16v-32c0-8.836-7.156-16-16-16-8.844,0-16,7.164-16,16v32c0,8.836 7.156,16 16,16z"),o.append("path").attr("class","error-icon").attr("d","m496,96.586h-32c-8.844,0-16,7.164-16,16 0,8.836 7.156,16 16,16h32c8.844,0 16-7.164 16-16 0-8.836-7.156-16-16-16z"),o.append("path").attr("class","error-icon").attr("d","m436.98,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688l32-32c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32c-6.251,6.25-6.251,16.375-0.001,22.625z"),o.append("text").attr("class","error-text").attr("x",1440).attr("y",250).attr("font-size","150px").style("text-anchor","middle").text("Syntax error in text"),o.append("text").attr("class","error-text").attr("x",1250).attr("y",400).attr("font-size","100px").style("text-anchor","middle").text(`mermaid version ${a}`)},"draw"),me={draw:da},ca=me,la={db:{},renderer:me,parser:{parse:t(()=>{return},"parse")}},ma=la,ue="flowchart-elk",ua=t((r,e={})=>{if(/^\s*flowchart-elk/.test(r))return e.layout="elk",!0;return!1},"detector"),pa=t(async()=>{let{diagram:r}=await import("./flowDiagram-KWPJA3E3-f6jpcqyq.js");return{id:ue,diagram:r}},"loader"),fa={id:ue,detector:ua,loader:pa},ga=fa,pe="timeline",va=t((r)=>/^\s*timeline/.test(r),"detector"),ha=t(async()=>{let{diagram:r}=await import("./timeline-definition-EJHVYXUP-rxq6heqh.js");return{id:pe,diagram:r}},"loader"),ya={id:pe,detector:va,loader:ha},wa=ya,fe="mindmap",xa=t((r)=>/^\s*mindmap/.test(r),"detector"),ba=t(async()=>{let{diagram:r}=await import("./mindmap-definition-NLK3R4M7-t4p38s38.js");return{id:fe,diagram:r}},"loader"),Sa={id:fe,detector:xa,loader:ba},Ea=Sa,ge="kanban",Da=t((r)=>/^\s*kanban/.test(r),"detector"),Ta=t(async()=>{let{diagram:r}=await import("./kanban-definition-PNTS6WVX-b8bxn0h1.js");return{id:ge,diagram:r}},"loader"),Aa={id:ge,detector:Da,loader:Ta},_a=Aa,ve="sankey",Ca=t((r)=>/^\s*sankey(-beta)?/.test(r),"detector"),Ma=t(async()=>{let{diagram:r}=await import("./sankeyDiagram-IPEJSGJF-s6t6bbhk.js");return{id:ve,diagram:r}},"loader"),ka={id:ve,detector:Ca,loader:Ma},Ra=ka,he="packet",Ia=t((r)=>/^\s*packet(-beta)?/.test(r),"detector"),Oa=t(async()=>{let{diagram:r}=await import("./diagram-MLGK6HIB-zgc386pv.js");return{id:he,diagram:r}},"loader"),Fa={id:he,detector:Ia,loader:Oa},ye="radar",za=t((r)=>/^\s*radar-beta/.test(r),"detector"),$a=t(async()=>{let{diagram:r}=await import("./diagram-MPIPVDR6-efmvvscm.js");return{id:ye,diagram:r}},"loader"),Pa={id:ye,detector:za,loader:$a},we="block",Na=t((r)=>/^\s*block(-beta)?/.test(r),"detector"),Va=t(async()=>{let{diagram:r}=await import("./blockDiagram-BEXU5L5S-k41cvjrd.js");return{id:we,diagram:r}},"loader"),Ua={id:we,detector:Na,loader:Va},Ga=Ua,xe="treeView",Ha=t((r)=>/^\s*treeView-beta/.test(r),"detector"),Ba=t(async()=>{let{diagram:r}=await import("./diagram-CDSNMT55-8yw39mmj.js");return{id:xe,diagram:r}},"loader"),Ya={id:xe,detector:Ha,loader:Ba},ja=Ya,be="architecture",qa=t((r)=>/^\s*architecture/.test(r),"detector"),Wa=t(async()=>{let{diagram:r}=await import("./architectureDiagram-NJMV4G6O-40ggw6e8.js");return{id:be,diagram:r}},"loader"),Xa={id:be,detector:qa,loader:Wa},Ka=Xa,Se="eventmodeling",Qa=t((r)=>/^\s*eventmodeling/.test(r),"detector"),Za=t(async()=>{let{diagram:r}=await import("./diagram-ATOU4E4O-zzcmwnm8.js");return{id:Se,diagram:r}},"loader"),Ja={id:Se,detector:Qa,loader:Za},ri=Ja,Ee="ishikawa",ei=t((r)=>/^\s*ishikawa(-beta)?\b/i.test(r),"detector"),ti=t(async()=>{let{diagram:r}=await import("./ishikawaDiagram-OU5B5YK6-rqhszgvp.js");return{id:Ee,diagram:r}},"loader"),ii={id:Ee,detector:ei,loader:ti},De="venn",oi=t((r)=>/^\s*venn-beta/.test(r),"detector"),ni=t(async()=>{let{diagram:r}=await import("./vennDiagram-UO4OBE2U-5mmvkhsq.js");return{id:De,diagram:r}},"loader"),si={id:De,detector:oi,loader:ni},di=si,Te="treemap",ci=t((r)=>/^\s*treemap/.test(r),"detector"),li=t(async()=>{let{diagram:r}=await import("./diagram-3UASUU5V-w328rfx0.js");return{id:Te,diagram:r}},"loader"),mi={id:Te,detector:ci,loader:li},Ae="usecase",ui=t((r)=>/^\s*usecase-beta(?:\s|$)/.test(r),"detector"),pi=t(async()=>{let{diagram:r}=await import("./usecaseDiagram-POWQR4AR-dz94f57t.js");return{id:Ae,diagram:r}},"loader"),fi={id:Ae,detector:ui,loader:pi},_e="wardley",gi=t((r)=>/^\s*wardley-beta/i.test(r),"detector"),vi=t(async()=>{let{diagram:r}=await import("./wardleyDiagram-VNRHLVJA-dctdntpa.js");return{id:_e,diagram:r}},"loader"),hi={id:_e,detector:gi,loader:vi},yi=hi,Ce="cynefin",wi=t((r)=>/^\s*cynefin-beta(?:[\s:]|$)/.test(r),"detector"),xi=t(async()=>{let{diagram:r}=await import("./cynefinDiagram-VND7K2PF-abx5343b.js");return{id:Ce,diagram:r}},"loader"),bi={id:Ce,detector:wi,loader:xi},Le="railroad",Si=t((r)=>/^\s*railroad-beta/i.test(r),"detector"),Ei=t(async()=>{let{diagram:r}=await import("./railroadDiagram-XR7U4H2S-38xh691s.js");return{id:Le,diagram:r}},"loader"),Di={id:Le,detector:Si,loader:Ei},Me="railroadEbnf",Ti=t((r)=>/^\s*railroad-ebnf-beta/i.test(r),"detector"),Ai=t(async()=>{let{diagram:r}=await import("./ebnfDiagram-ZINNZB2B-p66h0dzq.js");return{id:Me,diagram:r}},"loader"),_i={id:Me,detector:Ti,loader:Ai},ke="railroadAbnf",Ci=t((r)=>/^\s*railroad-abnf-beta/i.test(r),"detector"),Li=t(async()=>{let{diagram:r}=await import("./abnfDiagram-O67JEVCF-bxcn33e1.js");return{id:ke,diagram:r}},"loader"),Mi={id:ke,detector:Ci,loader:Li},Re="railroadPeg",ki=t((r)=>/^\s*railroad-peg-beta/i.test(r),"detector"),Ri=t(async()=>{let{diagram:r}=await import("./pegDiagram-GJSIUBJH-3gp4madx.js");return{id:Re,diagram:r}},"loader"),Ii={id:Re,detector:ki,loader:Ri},Gr=!1,pr=t(()=>{if(Gr)return;Gr=!0,hu("error",ma,(r)=>r.toLowerCase().trim()==="error"),hu("---",{db:{clear:t(()=>{},"clear")},styles:{},renderer:{draw:t(()=>{},"draw")},parser:{parse:t(()=>{throw Error("Diagrams beginning with --- are not valid. If you were trying to use a YAML front-matter, please ensure that you've correctly opened and closed the YAML front-matter with un-indented `---` blocks")},"parse")},init:t(()=>null,"init")},(r)=>r.toLowerCase().trimStart().startsWith("---")),Ld(ga,Ea,Ka),Ld(ct,et,_a,Jt,ht,Tt,Ct,kt,Yt,Xt,pt,ot,wa,bt,aa,sa,Ft,Ra,Fa,Ut,Ga,ri,ja,Pa,ii,mi,Di,_i,Mi,Ii,di,yi,bi,fi)},"addDiagrams"),Oi=t(async()=>{l.debug("Loading registered diagrams");let e=(await Promise.allSettled(Object.entries(Eo).map(async([a,{detector:i,loader:o}])=>{if(!o)return;try{$d(a)}catch{try{let{diagram:n,id:d}=await o();hu(d,n,i)}catch(n){throw l.error(`Failed to load external diagram with key ${a}. Removing from detectors.`),delete Eo[a],n}}}))).filter((a)=>a.status==="rejected");if(e.length>0){l.error(`Failed to load ${e.length} external diagrams`);for(let a of e)l.error(a);throw Error(`Failed to load ${e.length} external diagrams`)}},"loadRegisteredDiagrams"),Fi="graphics-document document";function Ie(r,e){if(r.attr("role",Fi),e!=="")r.attr("aria-roledescription",e)}t(Ie,"setA11yDiagramInfo");function Oe(r,e,a,i){if(r.insert===void 0)return;if(a){let o=`chart-desc-${i}`;r.attr("aria-describedby",o),r.insert("desc",":first-child").attr("id",o).text(a)}if(e){let o=`chart-title-${i}`;r.attr("aria-labelledby",o),r.insert("title",":first-child").attr("id",o).text(e)}}t(Oe,"addSVGa11yTitleDescription");var mr=class r{constructor(e,a,i,o,n){this.type=e,this.text=a,this.db=i,this.parser=o,this.renderer=n}static{t(this,"Diagram")}static async fromText(e,a={}){let i=typeof e==="string"?{raw:e,cleaned:e}:e,o=E(),n=Il(i.cleaned,o);try{$d(n)}catch{let u=dA(n);if(!u)throw new mf(`Diagram ${n} not found.`);let{id:x,diagram:T}=await u();hu(x,T)}let{db:d,parser:s,renderer:c,init:f}=$d(n);if(s.parser)s.parser.yy=d;if(d.clear?.(),f?.(o),a.title)d.setDiagramTitle?.(a.title);let g=i.cleaned;if(d.preserveCommentsWhenParsing&&i.withComments){let u=o.maxTextSize??K.maxTextSize;if(i.withComments.length>u)l.warn(`Comment-preserving source exceeds maxTextSize (${i.withComments.length} > ${u}); parsing the comment-stripped text instead. Reported source positions will not account for comment lines.`);else g=i.withComments}let p=vA(g)+`
3
+ `;if(i.frontmatterLineOffset)d.setFrontmatterLineOffset?.(i.frontmatterLineOffset);return await s.parse(p),new r(n,p,d,s,c)}async render(e,a){await this.renderer.draw(this.text,e,a,this)}getParser(){return this.parser}getType(){return this.type}},Hr=[],$i=t(()=>{Hr.forEach((r)=>{r()}),Hr=[]},"attachFunctions"),Pi=t((r)=>r.replace(/^\s*%%(?!{)[^\n]+\n?/gm,"").trimStart(),"cleanupComments");function Fe(r){let e=r.match(pf);if(!e)return{text:r,metadata:{}};let a=e[1],i=a?e[2].split(`
4
4
  `).map((d)=>d.startsWith(a)?d.slice(a.length):d).join(`
5
5
  `):e[2],o=rr(i,{schema:nr})??{};o=typeof o==="object"&&!Array.isArray(o)?o:{};let n={};if(o.displayMode)n.displayMode=o.displayMode.toString();if(o.title)n.title=o.title.toString();if(o.config)n.config=o.config;return{text:r.slice(e[0].length),metadata:n}}t(Fe,"extractFrontMatter");var Ni=t((r)=>r.replace(/\r\n?/g,`
6
- `).replace(/<(\w+)([^>]*)>/g,(e,a,i)=>"<"+a+i.replace(/="([^"]*)"/g,"='$1'")+">"),"cleanupText"),Vi=t((r)=>{let{text:e,metadata:a}=Fe(r),{displayMode:i,title:o,config:n={}}=a;if(i){if(!n.gantt)n.gantt={};n.gantt.displayMode=i}return{title:o,config:n,text:e}},"processFrontmatter"),Ui=t((r)=>{let e=W.detectInit(r)??{},a=W.detectDirective(r,"wrap");if(Array.isArray(a))e.wrap=a.some(({type:i})=>i==="wrap");else if(a?.type==="wrap")e.wrap=!0;return{text:yA(r),directive:e}},"processDirectives");function yr(r){let e=r,a=Ni(r),i=Vi(a),o=Ui(i.text),n=oe(i.config,o.directive),d=o.text,s=Pi(d),c=a.length>i.text.length?(a.substring(0,a.length-i.text.length).match(/\n/g)??[]).length:0;return{code:{raw:e,cleaned:s,withComments:d,frontmatterLineOffset:c},title:i.title,config:n}}t(yr,"preprocessDiagram");function ze(r){let e=new TextEncoder().encode(r),a=Array.from(e,(i)=>String.fromCodePoint(i)).join("");return btoa(a)}t(ze,"toBase64");var Hi=50000,Bi="graph TB;a[Maximum text size in diagram exceeded];style a fill:#faa",Yi="sandbox",ji="loose",qi="http://www.w3.org/2000/svg",Wi="http://www.w3.org/1999/xlink",Xi="http://www.w3.org/1999/xhtml",Ki="100%",Qi="100%",Zi="border:0;margin:0;",Ji="margin:0",ro="allow-top-navigation-by-user-activation allow-popups",eo='The "iframe" tag is not supported by your browser.',to=["foreignobject"],ao=["dominant-baseline"];function wr(r){let e=yr(r);gu();let a;try{a=Bl(e.code.cleaned,E())}catch{a=void 0}return Md(a),AA(e.config??{}),e}t(wr,"processAndSetConfigs");async function $e(r,e){pr();try{let{code:a,config:i}=wr(r);return{diagramType:(await mr.fromText(a)).type,config:i}}catch(a){if(e?.suppressErrors)return!1;throw a}finally{Md(void 0)}}t($e,"parse");var Br=t((r,e,a=[])=>{let i=ff(`{ ${a.join(" !important; ")} !important; }`);return`.${r} ${e} ${i}`},"cssImportantStyles"),io=t((r,e=new Map)=>{let a=new CSSStyleSheet;if(r.fontFamily!==void 0)a.insertRule(`:root { --mermaid-font-family: ${r.fontFamily}}`,a.cssRules.length);if(r.altFontFamily!==void 0)a.insertRule(`:root { --mermaid-alt-font-family: ${r.altFontFamily}}`,a.cssRules.length);if(e instanceof Map){let s=Pt(r)?["> *","span"]:["rect","polygon","ellipse","circle","path"];e.forEach((c)=>{if(!fr(c.styles))s.forEach((f)=>{a.insertRule(Br(c.id,f,c.styles),a.cssRules.length)});if(!fr(c.textStyles))a.insertRule(Br(c.id,"tspan",(c?.textStyles||[]).map((f)=>f.replace("color","fill"))),a.cssRules.length)})}let i="";if(r.themeCSS!==void 0)if(typeof a.replaceSync==="function"){let o=new CSSStyleSheet;o.replaceSync(r.themeCSS),i=Pd(o)+`
6
+ `).replace(/<(\w+)([^>]*)>/g,(e,a,i)=>"<"+a+i.replace(/="([^"]*)"/g,"='$1'")+">"),"cleanupText"),Vi=t((r)=>{let{text:e,metadata:a}=Fe(r),{displayMode:i,title:o,config:n={}}=a;if(i){if(!n.gantt)n.gantt={};n.gantt.displayMode=i}return{title:o,config:n,text:e}},"processFrontmatter"),Ui=t((r)=>{let e=W.detectInit(r)??{},a=W.detectDirective(r,"wrap");if(Array.isArray(a))e.wrap=a.some(({type:i})=>i==="wrap");else if(a?.type==="wrap")e.wrap=!0;return{text:yA(r),directive:e}},"processDirectives");function yr(r){let e=r,a=Ni(r),i=Vi(a),o=Ui(i.text),n=oe(i.config,o.directive),d=o.text,s=Pi(d),c=a.length>i.text.length?(a.substring(0,a.length-i.text.length).match(/\n/g)??[]).length:0;return{code:{raw:e,cleaned:s,withComments:d,frontmatterLineOffset:c},title:i.title,config:n}}t(yr,"preprocessDiagram");function ze(r){let e=new TextEncoder().encode(r),a=Array.from(e,(i)=>String.fromCodePoint(i)).join("");return btoa(a)}t(ze,"toBase64");var Gi=50000,Hi="graph TB;a[Maximum text size in diagram exceeded];style a fill:#faa",Bi="sandbox",Yi="loose",qi="http://www.w3.org/2000/svg",Wi="http://www.w3.org/1999/xlink",Xi="http://www.w3.org/1999/xhtml",Ki="100%",Qi="100%",Zi="border:0;margin:0;",Ji="margin:0",ro="allow-top-navigation-by-user-activation allow-popups",eo='The "iframe" tag is not supported by your browser.',to=["foreignobject"],ao=["dominant-baseline"];function wr(r){let e=yr(r);gu();let a;try{a=Il(e.code.cleaned,E())}catch{a=void 0}return Md(a),AA(e.config??{}),e}t(wr,"processAndSetConfigs");async function $e(r,e){pr();try{let{code:a,config:i}=wr(r);return{diagramType:(await mr.fromText(a)).type,config:i}}catch(a){if(e?.suppressErrors)return!1;throw a}finally{Md(void 0)}}t($e,"parse");var Br=t((r,e,a=[])=>{let i=ff(`{ ${a.join(" !important; ")} !important; }`);return`.${r} ${e} ${i}`},"cssImportantStyles"),io=t((r,e=new Map)=>{let a=new CSSStyleSheet;if(r.fontFamily!==void 0)a.insertRule(`:root { --mermaid-font-family: ${r.fontFamily}}`,a.cssRules.length);if(r.altFontFamily!==void 0)a.insertRule(`:root { --mermaid-alt-font-family: ${r.altFontFamily}}`,a.cssRules.length);if(e instanceof Map){let s=Pt(r)?["> *","span"]:["rect","polygon","ellipse","circle","path"];e.forEach((c)=>{if(!fr(c.styles))s.forEach((f)=>{a.insertRule(Br(c.id,f,c.styles),a.cssRules.length)});if(!fr(c.textStyles))a.insertRule(Br(c.id,"tspan",(c?.textStyles||[]).map((f)=>f.replace("color","fill"))),a.cssRules.length)})}let i="";if(r.themeCSS!==void 0)if(typeof a.replaceSync==="function"){let o=new CSSStyleSheet;o.replaceSync(r.themeCSS),i=Pd(o)+`
7
7
  `}else i+=`${r.themeCSS}
8
- `;return i+Pd(a)},"createCssStyles"),oo=t((r,e)=>lr(Nr(`${r}{${e}}`),Ur([t(function(i,o,n,d){if(i.type==="rule"&&Array.isArray(i.props)){if(i.parent&&i.parent.type===q)return;i.props=i.props.map((s)=>{if(s===r&&Array.isArray(i.children)&&i.children.every((f)=>{if(f.type!=="decl")return!1;return new Set(["font-family","font-size","fill"]).has(f.props)}))return s;if(!((s.startsWith(`${r} `)||s.startsWith(`${r}>`))&&!s.startsWith(`${r} ||`)))return`${r} ${s}`;return s})}else if(i.type.startsWith("@")){if(![br,Er,er,Tr,"@container","@starting-style",q].includes(i.type))l.warn(`Removing unsupported at-rule ${i.type} from CSS`),i.type=U}},"addNamespace"),Vr])),"compileCSS"),no=t((r,e,a,i)=>{let o=io(r,a),n=hA(e,o,{...r.themeVariables,theme:r.theme,look:r.look},i);return oo(i,n)},"createUserStyles"),so=t((r="",e,a)=>{let i=r;if(!a&&!e)i=i.replace(/marker-end="url\([\d+./:=?A-Za-z-]*?#/g,'marker-end="url(#');return i=Fa(i),i=i.replace(/<br>/g,"<br/>"),i},"cleanUpSvgCode"),co=t((r="",e)=>{let a=e?.viewBox?.baseVal?.height?e.viewBox.baseVal.height+"px":Qi,i=ze(`<body style="${Ji}">${r}</body>`);return`<iframe style="width:${Ki};height:${a};${Zi}" src="data:text/html;charset=UTF-8;base64,${i}" sandbox="${ro}">
8
+ `;return i+Pd(a)},"createCssStyles"),oo=t((r,e)=>lr(Nr(`${r}{${e}}`),Ur([t(function(i,o,n,d){if(i.type==="rule"&&Array.isArray(i.props)){if(i.parent&&i.parent.type===q)return;i.props=i.props.map((s)=>{if(s===r&&Array.isArray(i.children)&&i.children.every((f)=>{if(f.type!=="decl")return!1;return new Set(["font-family","font-size","fill"]).has(f.props)}))return s;if(!((s.startsWith(`${r} `)||s.startsWith(`${r}>`))&&!s.startsWith(`${r} ||`)))return`${r} ${s}`;return s})}else if(i.type.startsWith("@")){if(![br,Er,er,Tr,"@container","@starting-style",q].includes(i.type))l.warn(`Removing unsupported at-rule ${i.type} from CSS`),i.type=U}},"addNamespace"),Vr])),"compileCSS"),no=t((r,e,a,i)=>{let o=io(r,a),n=hA(e,o,{...r.themeVariables,theme:r.theme,look:r.look},i);return oo(i,n)},"createUserStyles"),so=t((r="",e,a)=>{let i=r;if(!a&&!e)i=i.replace(/marker-end="url\([\d+./:=?A-Za-z-]*?#/g,'marker-end="url(#');return i=La(i),i=i.replace(/<br>/g,"<br/>"),i},"cleanUpSvgCode"),co=t((r="",e)=>{let a=e?.viewBox?.baseVal?.height?e.viewBox.baseVal.height+"px":Qi,i=ze(`<body style="${Ji}">${r}</body>`);return`<iframe style="width:${Ki};height:${a};${Zi}" src="data:text/html;charset=UTF-8;base64,${i}" sandbox="${ro}">
9
9
  ${eo}
10
- </iframe>`},"putIntoIFrame"),Yr=t((r,e,a,i,o)=>{let n=r.append("div");if(n.attr("id",a),i)n.attr("style",i);let d=n.append("svg").attr("id",e).attr("width","100%").attr("xmlns",qi);if(o)d.attr("xmlns:xlink",o);return d.append("g"),r},"appendDivSvgG");function hr(r,e){return r.append("iframe").attr("id",e).attr("style","width: 100%; height: 100%;").attr("sandbox","")}t(hr,"sandboxedIframe");var lo=t((r,e,a,i)=>{r.getElementById(e)?.remove(),r.getElementById(a)?.remove(),r.getElementById(i)?.remove()},"removeExistingElements"),mo=t(async function(r,e,a){pr();let i=wr(e),o=i.code;e=o.cleaned;let n=E();if(l.debug(n),e.length>(n?.maxTextSize??Hi))e=Bi,o={raw:e,cleaned:e};let d=`#${r}`,s="i"+r,c="#"+s,f="d"+r,g="#"+f,p=t(()=>{let j=h(x?c:g).node();if(j&&"remove"in j)j.remove()},"removeTempElements"),u=h(document.body),x=n.securityLevel===Yi,T=n.securityLevel===ji,S=n.fontFamily;if(a!==void 0){if(a)a.innerHTML="";if(x){let w=hr(h(a),s);u=h(w.nodes()[0].contentDocument.body),u.node().style.margin="0"}else u=h(a);Yr(u,r,f,`font-family: ${S}`,Wi)}else{if(lo(document,r,f,s),x){let w=hr(h(document.body),s);u=h(w.nodes()[0].contentDocument.body),u.node().style.margin="0"}else u=h("body");Yr(u,r,f)}let b,A;try{b=await mr.fromText(o,{title:i.title})}catch(w){if(n.suppressErrorRendering)throw p(),w;b=await mr.fromText("error"),A=w}let _=u.select(g).node(),v=b.type,k=_.firstChild,V=k.firstChild,R=b.renderer.getClasses?.(e,b),C=no(n,v,R,d),m=document.createElement("style");m.innerHTML=C,k.insertBefore(m,V);try{await b.renderer.draw(e,r,"12.0.0",b)}catch(w){if(n.suppressErrorRendering)p();else ca.draw(e,r,"12.0.0");throw w}let Ye=u.select(`${g} svg`),je=b.db.getAccTitle?.(),We=b.db.getAccDescription?.();Ne(v,Ye,je,We);let Xe=t(()=>{u.select(`[id="${r}"]`).selectAll("foreignobject > *").attr("xmlns",Xi);let w=u.select(g).node().innerHTML;if(l.debug("config.arrowMarkerAbsolute",n.arrowMarkerAbsolute),w=so(w,x,Rr(n.arrowMarkerAbsolute)),x){let j=u.select(g+" svg").node();w=co(w,j)}else if(!T)w=Nt.sanitize(w,{ADD_TAGS:to,ADD_ATTR:ao,HTML_INTEGRATION_POINTS:{foreignobject:!0}});return zi(),w},"serializeSvg")();if(A)throw A;return p(),{diagramType:v,svg:Xe,bindFunctions:b.db.bindFunctions}},"renderDiagram"),uo=t(async function(r,e,a){try{return await mo(r,e,a)}finally{Md(void 0)}},"render");function Pe(r={}){let e=qe({},r);if(e?.fontFamily&&!e.themeVariables?.fontFamily){if(!e.themeVariables)e.themeVariables={};e.themeVariables.fontFamily=e.fontFamily}mA(e);let a=$i.theme;if(e?.theme&&Object.hasOwn(ni,e.theme))e.themeVariables=ni[e.theme].getThemeVariables(e.themeVariables);else if(e){if(e.theme!=null&&e.theme!=="null")e.theme=a;e.themeVariables=ni[a].getThemeVariables(e.themeVariables)}let i=typeof e==="object"?pA(e):Af();Au(i.logLevel),pr()}t(Pe,"initialize");var po=t((r,e={})=>{let{code:a}=yr(r);return mr.fromText(a,e)},"getDiagramFromText");function Ne(r,e,a,i){Ie(e,r),Oe(e,a,i,e.attr("id"))}t(Ne,"addA11yInfo");var N=Object.freeze({render:uo,parse:$e,getDiagramFromText:po,initialize:Pe,getConfig:E,setConfig:gf,getSiteConfig:Af,updateSiteConfig:fA,reset:t(()=>{gu()},"reset"),globalReset:t(()=>{gu($i)},"globalReset"),defaultConfig:$i});Au(E().logLevel);gu(E());var fo=t((r,e,a)=>{if(l.warn(r),lp(r)){if(a)a(r.str,r.hash);e.push({...r,message:r.str,error:r})}else{if(a)a(r);if(r instanceof Error)e.push({str:r.message,message:r.message,hash:r.name,error:r})}},"handleError"),Ve=t(async function(r={querySelector:".mermaid"}){try{await go(r)}catch(e){if(lp(e))l.error(e.str);if(z.parseError)z.parseError(e);if(!r.suppressErrors)throw l.error("Use the suppressErrors option to suppress these errors"),e}},"run"),go=t(async function({postRenderCallback:r,querySelector:e,nodes:a}={querySelector:".mermaid"}){let i=N.getConfig();l.debug(`${!r?"No ":""}Callback function found`);let o;if(a)o=a;else if(e)o=document.querySelectorAll(e);else throw Error("Nodes and querySelector are both undefined");if(l.debug(`Found ${o.length} diagrams`),i?.startOnLoad!==void 0)l.debug("Start On Load: "+i?.startOnLoad),N.updateSiteConfig({startOnLoad:i?.startOnLoad});let n=new W.InitIDGenerator(i.deterministicIds,i.deterministicIDSeed),d,s=[];for(let c of Array.from(o)){if(l.info("Rendering diagram: "+c.id),c.getAttribute("data-processed"))continue;c.setAttribute("data-processed","true");let f=`mermaid-${n.next()}`;d=c.innerHTML,d=cp(W.entityDecode(d)).trim().replace(/<br\s*\/?>/gi,"<br/>");let g=W.detectInit(d);if(g)l.debug("Detected early reinit: ",g);try{let{svg:p,bindFunctions:u}=await Be(f,d,c);if(c.innerHTML=p,r)await r(f);if(u)u(c)}catch(p){fo(p,s,z.parseError)}}if(s.length>0)throw s[0]},"runThrowsErrors"),Ue=t(function(r){N.initialize(r)},"initialize"),vo=t(async function(r,e,a){if(l.warn("mermaid.init is deprecated. Please use run instead."),r)Ue(r);let i={postRenderCallback:a,querySelector:".mermaid"};if(typeof e==="string")i.querySelector=e;else if(e)if(e instanceof HTMLElement)i.nodes=[e];else i.nodes=e;await Ve(i)},"init"),ho=t(async(r,{lazyLoad:e=!0}={})=>{if(pr(),Ld(...r),e===!1)await Oi()},"registerExternalDiagrams"),Ge=t(function(){if(z.startOnLoad){let{startOnLoad:r}=N.getConfig();if(r)z.run().catch((e)=>l.error("Mermaid failed to initialize",e))}},"contentLoaded");if(typeof document<"u")window.addEventListener("load",Ge,!1);var yo=t(function(r){z.parseError=r},"setParseErrorHandler"),ur=[],vr=!1,He=t(async()=>{if(vr)return;vr=!0;while(ur.length>0){let r=ur.shift();if(r)try{await r()}catch(e){l.error("Error executing queue",e)}}vr=!1},"executeQueue"),wo=t(async(r,e)=>new Promise((a,i)=>{let o=t(()=>new Promise((n,d)=>{N.parse(r,e).then((s)=>{n(s),a(s)},(s)=>{l.error("Error parsing",s),z.parseError?.(s),d(s),i(s)})}),"performCall");ur.push(o),He().catch(i)}),"parse"),Be=t((r,e,a)=>new Promise((i,o)=>{let n=t(()=>new Promise((d,s)=>{N.render(r,e,a).then((c)=>{d(c),i(c)},(c)=>{l.error("Error parsing",c),z.parseError?.(c),s(c),o(c)})}),"performCall");ur.push(n),He().catch(o)}),"render"),xo=t(()=>Object.keys(Eo).map((r)=>({id:r})),"getRegisteredDiagramsMetadata"),z={startOnLoad:!0,mermaidAPI:N,parse:wo,render:Be,init:vo,run:Ve,registerExternalDiagrams:ho,registerLayoutLoaders:Bf,initialize:Ue,parseError:void 0,contentLoaded:Ge,setParseErrorHandler:yo,detectType:Bl,registerIconPacks:So,getRegisteredDiagramsMetadata:xo},gn=z;/*! Check if previously processed *//*!
10
+ </iframe>`},"putIntoIFrame"),Yr=t((r,e,a,i,o)=>{let n=r.append("div");if(n.attr("id",a),i)n.attr("style",i);let d=n.append("svg").attr("id",e).attr("width","100%").attr("xmlns",qi);if(o)d.attr("xmlns:xlink",o);return d.append("g"),r},"appendDivSvgG");function hr(r,e){return r.append("iframe").attr("id",e).attr("style","width: 100%; height: 100%;").attr("sandbox","")}t(hr,"sandboxedIframe");var lo=t((r,e,a,i)=>{r.getElementById(e)?.remove(),r.getElementById(a)?.remove(),r.getElementById(i)?.remove()},"removeExistingElements"),mo=t(async function(r,e,a){pr();let i=wr(e),o=i.code;e=o.cleaned;let n=E();if(l.debug(n),e.length>(n?.maxTextSize??Gi))e=Hi,o={raw:e,cleaned:e};let d=`#${r}`,s="i"+r,c="#"+s,f="d"+r,g="#"+f,p=t(()=>{let j=h(x?c:g).node();if(j&&"remove"in j)j.remove()},"removeTempElements"),u=h(document.body),x=n.securityLevel===Bi,T=n.securityLevel===Yi,S=n.fontFamily;if(a!==void 0){if(a)a.innerHTML="";if(x){let w=hr(h(a),s);u=h(w.nodes()[0].contentDocument.body),u.node().style.margin="0"}else u=h(a);Yr(u,r,f,`font-family: ${S}`,Wi)}else{if(lo(document,r,f,s),x){let w=hr(h(document.body),s);u=h(w.nodes()[0].contentDocument.body),u.node().style.margin="0"}else u=h("body");Yr(u,r,f)}let b,A;try{b=await mr.fromText(o,{title:i.title})}catch(w){if(n.suppressErrorRendering)throw p(),w;b=await mr.fromText("error"),A=w}let _=u.select(g).node(),v=b.type,k=_.firstChild,V=k.firstChild,R=b.renderer.getClasses?.(e,b),C=no(n,v,R,d),m=document.createElement("style");m.innerHTML=C,k.insertBefore(m,V);try{await b.renderer.draw(e,r,"12.0.0",b)}catch(w){if(n.suppressErrorRendering)p();else ca.draw(e,r,"12.0.0");throw w}let Ye=u.select(`${g} svg`),je=b.db.getAccTitle?.(),We=b.db.getAccDescription?.();Ne(v,Ye,je,We);let Xe=t(()=>{u.select(`[id="${r}"]`).selectAll("foreignobject > *").attr("xmlns",Xi);let w=u.select(g).node().innerHTML;if(l.debug("config.arrowMarkerAbsolute",n.arrowMarkerAbsolute),w=so(w,x,Rr(n.arrowMarkerAbsolute)),x){let j=u.select(g+" svg").node();w=co(w,j)}else if(!T)w=Nt.sanitize(w,{ADD_TAGS:to,ADD_ATTR:ao,HTML_INTEGRATION_POINTS:{foreignobject:!0}});return $i(),w},"serializeSvg")();if(A)throw A;return p(),{diagramType:v,svg:Xe,bindFunctions:b.db.bindFunctions}},"renderDiagram"),uo=t(async function(r,e,a){try{return await mo(r,e,a)}finally{Md(void 0)}},"render");function Pe(r={}){let e=qe({},r);if(e?.fontFamily&&!e.themeVariables?.fontFamily){if(!e.themeVariables)e.themeVariables={};e.themeVariables.fontFamily=e.fontFamily}mA(e);let a=zi.theme;if(e?.theme&&Object.hasOwn(ai,e.theme))e.themeVariables=ai[e.theme].getThemeVariables(e.themeVariables);else if(e){if(e.theme!=null&&e.theme!=="null")e.theme=a;e.themeVariables=ai[a].getThemeVariables(e.themeVariables)}let i=typeof e==="object"?pA(e):Af();Au(i.logLevel),pr()}t(Pe,"initialize");var po=t((r,e={})=>{let{code:a}=yr(r);return mr.fromText(a,e)},"getDiagramFromText");function Ne(r,e,a,i){Ie(e,r),Oe(e,a,i,e.attr("id"))}t(Ne,"addA11yInfo");var N=Object.freeze({render:uo,parse:$e,getDiagramFromText:po,initialize:Pe,getConfig:E,setConfig:gf,getSiteConfig:Af,updateSiteConfig:fA,reset:t(()=>{gu()},"reset"),globalReset:t(()=>{gu(zi)},"globalReset"),defaultConfig:zi});Au(E().logLevel);gu(E());var fo=t((r,e,a)=>{if(l.warn(r),lp(r)){if(a)a(r.str,r.hash);e.push({...r,message:r.str,error:r})}else{if(a)a(r);if(r instanceof Error)e.push({str:r.message,message:r.message,hash:r.name,error:r})}},"handleError"),Ve=t(async function(r={querySelector:".mermaid"}){try{await go(r)}catch(e){if(lp(e))l.error(e.str);if(z.parseError)z.parseError(e);if(!r.suppressErrors)throw l.error("Use the suppressErrors option to suppress these errors"),e}},"run"),go=t(async function({postRenderCallback:r,querySelector:e,nodes:a}={querySelector:".mermaid"}){let i=N.getConfig();l.debug(`${!r?"No ":""}Callback function found`);let o;if(a)o=a;else if(e)o=document.querySelectorAll(e);else throw Error("Nodes and querySelector are both undefined");if(l.debug(`Found ${o.length} diagrams`),i?.startOnLoad!==void 0)l.debug("Start On Load: "+i?.startOnLoad),N.updateSiteConfig({startOnLoad:i?.startOnLoad});let n=new W.InitIDGenerator(i.deterministicIds,i.deterministicIDSeed),d,s=[];for(let c of Array.from(o)){if(l.info("Rendering diagram: "+c.id),c.getAttribute("data-processed"))continue;c.setAttribute("data-processed","true");let f=`mermaid-${n.next()}`;d=c.innerHTML,d=cp(W.entityDecode(d)).trim().replace(/<br\s*\/?>/gi,"<br/>");let g=W.detectInit(d);if(g)l.debug("Detected early reinit: ",g);try{let{svg:p,bindFunctions:u}=await Be(f,d,c);if(c.innerHTML=p,r)await r(f);if(u)u(c)}catch(p){fo(p,s,z.parseError)}}if(s.length>0)throw s[0]},"runThrowsErrors"),Ue=t(function(r){N.initialize(r)},"initialize"),vo=t(async function(r,e,a){if(l.warn("mermaid.init is deprecated. Please use run instead."),r)Ue(r);let i={postRenderCallback:a,querySelector:".mermaid"};if(typeof e==="string")i.querySelector=e;else if(e)if(e instanceof HTMLElement)i.nodes=[e];else i.nodes=e;await Ve(i)},"init"),ho=t(async(r,{lazyLoad:e=!0}={})=>{if(pr(),Ld(...r),e===!1)await Oi()},"registerExternalDiagrams"),Ge=t(function(){if(z.startOnLoad){let{startOnLoad:r}=N.getConfig();if(r)z.run().catch((e)=>l.error("Mermaid failed to initialize",e))}},"contentLoaded");if(typeof document<"u")window.addEventListener("load",Ge,!1);var yo=t(function(r){z.parseError=r},"setParseErrorHandler"),ur=[],vr=!1,He=t(async()=>{if(vr)return;vr=!0;while(ur.length>0){let r=ur.shift();if(r)try{await r()}catch(e){l.error("Error executing queue",e)}}vr=!1},"executeQueue"),wo=t(async(r,e)=>new Promise((a,i)=>{let o=t(()=>new Promise((n,d)=>{N.parse(r,e).then((s)=>{n(s),a(s)},(s)=>{l.error("Error parsing",s),z.parseError?.(s),d(s),i(s)})}),"performCall");ur.push(o),He().catch(i)}),"parse"),Be=t((r,e,a)=>new Promise((i,o)=>{let n=t(()=>new Promise((d,s)=>{N.render(r,e,a).then((c)=>{d(c),i(c)},(c)=>{l.error("Error parsing",c),z.parseError?.(c),s(c),o(c)})}),"performCall");ur.push(n),He().catch(o)}),"render"),xo=t(()=>Object.keys(Eo).map((r)=>({id:r})),"getRegisteredDiagramsMetadata"),z={startOnLoad:!0,mermaidAPI:N,parse:wo,render:Be,init:vo,run:Ve,registerExternalDiagrams:ho,registerLayoutLoaders:Bf,initialize:Ue,parseError:void 0,contentLoaded:Ge,setParseErrorHandler:yo,detectType:Il,registerIconPacks:So,getRegisteredDiagramsMetadata:xo},gn=z;/*! Check if previously processed *//*!
11
11
  * Wait for document loaded before starting the execution
12
12
  */export{gn as default};