collabmd 0.1.18

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 (430) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +453 -0
  3. package/bin/collabmd.js +241 -0
  4. package/docker-compose.yml +43 -0
  5. package/package.json +93 -0
  6. package/public/assets/css/base.css +1 -0
  7. package/public/assets/css/style.css +1 -0
  8. package/public/assets/js/assets/Assistant-Bold-ZDZZ6JHA.woff2 +0 -0
  9. package/public/assets/js/assets/Assistant-Medium-DZ25RZU3.woff2 +0 -0
  10. package/public/assets/js/assets/Assistant-Regular-PLF2XOGW.woff2 +0 -0
  11. package/public/assets/js/assets/Assistant-SemiBold-CZ5MX6FK.woff2 +0 -0
  12. package/public/assets/js/chunks/CodeMirrorEditor-UCMRAMCV-MAKZFDBE.js +12 -0
  13. package/public/assets/js/chunks/apl-C5P5JBDI.js +1 -0
  14. package/public/assets/js/chunks/ar-SA-NXDWD63E-MF6HMEA4.js +8 -0
  15. package/public/assets/js/chunks/architecture-PBZL5I3N-55LDZ5WS.js +1 -0
  16. package/public/assets/js/chunks/architectureDiagram-2XIMDMQ5-2VP562X7.js +36 -0
  17. package/public/assets/js/chunks/asciiarmor-3NCLLELT.js +1 -0
  18. package/public/assets/js/chunks/asn1-KF4WXU3M.js +1 -0
  19. package/public/assets/js/chunks/asterisk-EA3VIN65.js +1 -0
  20. package/public/assets/js/chunks/az-AZ-MXSORGZV-AIGO4TNU.js +1 -0
  21. package/public/assets/js/chunks/bg-BG-O6MV2KSF-X6AVO2AF.js +5 -0
  22. package/public/assets/js/chunks/blockDiagram-WCTKOSBZ-KM56WWDE.js +132 -0
  23. package/public/assets/js/chunks/bn-BD-T2VJNT7N-7OMHRIGC.js +3 -0
  24. package/public/assets/js/chunks/bn-IN-MMW2ORAC-EPKMNKG7.js +3 -0
  25. package/public/assets/js/chunks/brainfuck-A3CTQVFD.js +1 -0
  26. package/public/assets/js/chunks/c4Diagram-IC4MRINW-KX6UEGQZ.js +10 -0
  27. package/public/assets/js/chunks/ca-ES-MKBCGNOG-U44SUUTN.js +8 -0
  28. package/public/assets/js/chunks/chunk-2NTQWLZD.js +25 -0
  29. package/public/assets/js/chunks/chunk-2YRP2AWD.js +1 -0
  30. package/public/assets/js/chunks/chunk-3BUCGSSJ.js +1 -0
  31. package/public/assets/js/chunks/chunk-47L7JGE3.js +1 -0
  32. package/public/assets/js/chunks/chunk-4BCHPULB.js +1 -0
  33. package/public/assets/js/chunks/chunk-4NKM6YFO.js +161 -0
  34. package/public/assets/js/chunks/chunk-4WGMPBK5.js +1 -0
  35. package/public/assets/js/chunks/chunk-55WF6Y2Q.js +1 -0
  36. package/public/assets/js/chunks/chunk-775E65SU.js +1 -0
  37. package/public/assets/js/chunks/chunk-AJRGTECU.js +70 -0
  38. package/public/assets/js/chunks/chunk-B2J3PHGY.js +1 -0
  39. package/public/assets/js/chunks/chunk-B4JKB3BC.js +1 -0
  40. package/public/assets/js/chunks/chunk-BBHPYU2R.js +1 -0
  41. package/public/assets/js/chunks/chunk-CGVY4PKT.js +13 -0
  42. package/public/assets/js/chunks/chunk-CVTRX3TE.js +220 -0
  43. package/public/assets/js/chunks/chunk-DW6KK6VF.js +1 -0
  44. package/public/assets/js/chunks/chunk-E2HMNOQL.js +189 -0
  45. package/public/assets/js/chunks/chunk-EPTJZP5H.js +7 -0
  46. package/public/assets/js/chunks/chunk-G7NUGGE7.js +13 -0
  47. package/public/assets/js/chunks/chunk-GI7LBIBP.js +1 -0
  48. package/public/assets/js/chunks/chunk-GXRL27M7.js +1 -0
  49. package/public/assets/js/chunks/chunk-H6EYDHRW.js +1 -0
  50. package/public/assets/js/chunks/chunk-HOCBCDA5.js +1 -0
  51. package/public/assets/js/chunks/chunk-HS2CUOC6.js +1 -0
  52. package/public/assets/js/chunks/chunk-HUAS4BYI.js +12 -0
  53. package/public/assets/js/chunks/chunk-HVNNEPP5.js +2 -0
  54. package/public/assets/js/chunks/chunk-I2GVZI7W.js +38 -0
  55. package/public/assets/js/chunks/chunk-I6PVWGBN.js +14 -0
  56. package/public/assets/js/chunks/chunk-IR2DOYV4.js +7 -0
  57. package/public/assets/js/chunks/chunk-IZ3V3F2A.js +1 -0
  58. package/public/assets/js/chunks/chunk-KPAQHIOI.js +1 -0
  59. package/public/assets/js/chunks/chunk-M3EW4V74.js +1 -0
  60. package/public/assets/js/chunks/chunk-MK3AFU3C.js +90 -0
  61. package/public/assets/js/chunks/chunk-NM6J3ND7.js +1 -0
  62. package/public/assets/js/chunks/chunk-NO7UPWTU.js +1 -0
  63. package/public/assets/js/chunks/chunk-OG2TNZEU.js +9 -0
  64. package/public/assets/js/chunks/chunk-OHGDMMWM.js +1 -0
  65. package/public/assets/js/chunks/chunk-OOT2HALX.js +1 -0
  66. package/public/assets/js/chunks/chunk-OQLLZFFN.js +1 -0
  67. package/public/assets/js/chunks/chunk-PF6TP4EI.js +1 -0
  68. package/public/assets/js/chunks/chunk-PMOZMECZ.js +85 -0
  69. package/public/assets/js/chunks/chunk-QBGS6DJR.js +1 -0
  70. package/public/assets/js/chunks/chunk-QF3ZQ6UQ.js +1 -0
  71. package/public/assets/js/chunks/chunk-QFXMAUW4.js +1 -0
  72. package/public/assets/js/chunks/chunk-QSTBGTWJ.js +1 -0
  73. package/public/assets/js/chunks/chunk-QYKIT2IH.js +41 -0
  74. package/public/assets/js/chunks/chunk-S75BI2UQ.js +1 -0
  75. package/public/assets/js/chunks/chunk-SKEZZ3H6.js +1 -0
  76. package/public/assets/js/chunks/chunk-SO6QBCB6.js +1 -0
  77. package/public/assets/js/chunks/chunk-SR3U53EQ.js +1 -0
  78. package/public/assets/js/chunks/chunk-TFP6LRYJ.js +53 -0
  79. package/public/assets/js/chunks/chunk-U6APNHAF.js +15 -0
  80. package/public/assets/js/chunks/chunk-VOODXHXA.js +1 -0
  81. package/public/assets/js/chunks/chunk-W7WJUTSA.js +3 -0
  82. package/public/assets/js/chunks/chunk-WNXFO2F2.js +1 -0
  83. package/public/assets/js/chunks/chunk-X6EEYWV4.js +6 -0
  84. package/public/assets/js/chunks/chunk-YVW3ZETS.js +1 -0
  85. package/public/assets/js/chunks/chunk-ZR2QRTBG.js +339 -0
  86. package/public/assets/js/chunks/chunk-ZZJX4LQ2.js +1 -0
  87. package/public/assets/js/chunks/classDiagram-VBA2DB6C-IYW4O2RM.js +1 -0
  88. package/public/assets/js/chunks/classDiagram-v2-RAHNMMFH-DNKVN2WD.js +1 -0
  89. package/public/assets/js/chunks/clike-RTBH33GE.js +1 -0
  90. package/public/assets/js/chunks/clojure-BR2VJ2JI.js +1 -0
  91. package/public/assets/js/chunks/cmake-2HEWVFEE.js +1 -0
  92. package/public/assets/js/chunks/cobol-V6EIK6DN.js +1 -0
  93. package/public/assets/js/chunks/coffeescript-JW3ZOGMD.js +1 -0
  94. package/public/assets/js/chunks/commonlisp-UCWSIHYK.js +1 -0
  95. package/public/assets/js/chunks/cose-bilkent-S5V4N54A-QVYRFFNC.js +1 -0
  96. package/public/assets/js/chunks/crystal-GR4VLC3M.js +1 -0
  97. package/public/assets/js/chunks/cs-CZ-V77HGUP7-OLBAKFG5.js +7 -0
  98. package/public/assets/js/chunks/css-C5DVWGB4.js +1 -0
  99. package/public/assets/js/chunks/cypher-K7FZM5GC.js +1 -0
  100. package/public/assets/js/chunks/d-CF3QNNH5.js +1 -0
  101. package/public/assets/js/chunks/da-DK-I5RFNTM4-QJIG2SEZ.js +2 -0
  102. package/public/assets/js/chunks/dagre-KLK3FWXG-KVNBUDOY.js +4 -0
  103. package/public/assets/js/chunks/de-CH-WLRDEVBV-4MMJDMVD.js +7 -0
  104. package/public/assets/js/chunks/de-DE-DTI4WUSC-ML7C46TT.js +7 -0
  105. package/public/assets/js/chunks/diagram-E7M64L7V-ZP33VRUC.js +24 -0
  106. package/public/assets/js/chunks/diagram-IFDJBPK2-ZG35YWOD.js +43 -0
  107. package/public/assets/js/chunks/diagram-P4PSJMXO-ZGIGM7D2.js +24 -0
  108. package/public/assets/js/chunks/diff-KOMSZU7O.js +1 -0
  109. package/public/assets/js/chunks/dist-7RQKSOUX.js +7 -0
  110. package/public/assets/js/chunks/dist-ARWGZ6MN.js +1 -0
  111. package/public/assets/js/chunks/dist-DPBSGC3Y.js +2 -0
  112. package/public/assets/js/chunks/dist-E36PJE5M.js +1 -0
  113. package/public/assets/js/chunks/dist-E5NM7OBW.js +1 -0
  114. package/public/assets/js/chunks/dist-ERADYPEK.js +1 -0
  115. package/public/assets/js/chunks/dist-F43RIHBZ.js +1 -0
  116. package/public/assets/js/chunks/dist-HAB5NIXI.js +1 -0
  117. package/public/assets/js/chunks/dist-HG23OLRA.js +1 -0
  118. package/public/assets/js/chunks/dist-IEJXBSDJ.js +1 -0
  119. package/public/assets/js/chunks/dist-IQA4KVJK.js +1 -0
  120. package/public/assets/js/chunks/dist-OIQTNVT2.js +3 -0
  121. package/public/assets/js/chunks/dist-PMZJ734S.js +1 -0
  122. package/public/assets/js/chunks/dist-RCQFQRLD.js +1 -0
  123. package/public/assets/js/chunks/dist-RQLC4GVI.js +1 -0
  124. package/public/assets/js/chunks/dist-RSJGLSKC.js +1 -0
  125. package/public/assets/js/chunks/dist-SGNQZVVX.js +1 -0
  126. package/public/assets/js/chunks/dist-VCFTF7Z6.js +1 -0
  127. package/public/assets/js/chunks/dist-VTO23SHH.js +1 -0
  128. package/public/assets/js/chunks/dist-XOODBV4L.js +1 -0
  129. package/public/assets/js/chunks/dist-ZFZNCRZY.js +1 -0
  130. package/public/assets/js/chunks/dockerfile-XCIKYOSI.js +1 -0
  131. package/public/assets/js/chunks/dtd-3XFH7W6Z.js +1 -0
  132. package/public/assets/js/chunks/dylan-3UWPKVOR.js +1 -0
  133. package/public/assets/js/chunks/ebnf-OLHTL3VN.js +1 -0
  134. package/public/assets/js/chunks/ecl-43LZ3ZRM.js +1 -0
  135. package/public/assets/js/chunks/editor-session-IHFTYG5D.js +22 -0
  136. package/public/assets/js/chunks/eiffel-ISPO2UJF.js +1 -0
  137. package/public/assets/js/chunks/el-GR-ZXDJ2OS4-WSCEIO6J.js +7 -0
  138. package/public/assets/js/chunks/elm-CLK576PK.js +1 -0
  139. package/public/assets/js/chunks/en-CTDJDZ6K-IC3QAUOI.js +1 -0
  140. package/public/assets/js/chunks/erDiagram-INFDFZHY-ZMS6H2TH.js +70 -0
  141. package/public/assets/js/chunks/erlang-AVQXQFOT.js +1 -0
  142. package/public/assets/js/chunks/es-ES-DYQHAD43-XGB5X5IM.js +7 -0
  143. package/public/assets/js/chunks/eu-ES-QDSYU5Y3-LA3JTIJ2.js +7 -0
  144. package/public/assets/js/chunks/excalidraw-mermaid-stub-NYXTOJ4H.js +1 -0
  145. package/public/assets/js/chunks/fa-IR-26LZG4PM-PFALMEDX.js +9 -0
  146. package/public/assets/js/chunks/factor-CRTVBD6Q.js +1 -0
  147. package/public/assets/js/chunks/fcl-FX24LKTH.js +1 -0
  148. package/public/assets/js/chunks/fi-FI-6YS4KDE4-ES5MV6P4.js +6 -0
  149. package/public/assets/js/chunks/flowDiagram-PKNHOUZH-QD4L5IE5.js +162 -0
  150. package/public/assets/js/chunks/forth-YKDKCTVS.js +1 -0
  151. package/public/assets/js/chunks/fortran-UJWC6SLU.js +1 -0
  152. package/public/assets/js/chunks/fr-FR-BRLLPTZC-VMFE22YV.js +12 -0
  153. package/public/assets/js/chunks/ganttDiagram-A5KZAMGK-VTMTQESP.js +292 -0
  154. package/public/assets/js/chunks/gas-MYEMWGRE.js +1 -0
  155. package/public/assets/js/chunks/gherkin-JWHAU2YG.js +1 -0
  156. package/public/assets/js/chunks/gitGraph-HDMCJU4V-YPHS74XX.js +1 -0
  157. package/public/assets/js/chunks/gitGraphDiagram-K3NZZRJ6-Z3EZ634T.js +65 -0
  158. package/public/assets/js/chunks/gl-ES-OKUZTLYG-GPT42ZHV.js +6 -0
  159. package/public/assets/js/chunks/groovy-QZIZQIAK.js +1 -0
  160. package/public/assets/js/chunks/haskell-JR3G7YNW.js +1 -0
  161. package/public/assets/js/chunks/haxe-TVLAIYEN.js +1 -0
  162. package/public/assets/js/chunks/he-IL-26MGYIU7-VQ5XQYYY.js +8 -0
  163. package/public/assets/js/chunks/hi-IN-Q4ZOGTP2-2Z766MXA.js +3 -0
  164. package/public/assets/js/chunks/http-YXQRE77G.js +1 -0
  165. package/public/assets/js/chunks/hu-HU-P2OXPSN5-6XDVPGTE.js +3 -0
  166. package/public/assets/js/chunks/id-ID-2EIKXYN6-J5GWSY2S.js +8 -0
  167. package/public/assets/js/chunks/idl-RAQGJ6LJ.js +1 -0
  168. package/public/assets/js/chunks/image-32MOCVDX-JN2EUMQG.js +1 -0
  169. package/public/assets/js/chunks/image-blob-reduce.esm-K5OWL55S.js +13 -0
  170. package/public/assets/js/chunks/info-3K5VOQVL-CXJSPNNP.js +1 -0
  171. package/public/assets/js/chunks/infoDiagram-LFFYTUFH-WQ34MUJA.js +2 -0
  172. package/public/assets/js/chunks/ishikawaDiagram-PHBUUO56-4IARWKJK.js +70 -0
  173. package/public/assets/js/chunks/it-IT-4CFKVXI2-NMBWUWFF.js +12 -0
  174. package/public/assets/js/chunks/ja-JP-MAND2Z4V-GQZYXXOC.js +7 -0
  175. package/public/assets/js/chunks/javascript-NM7KDJUE.js +1 -0
  176. package/public/assets/js/chunks/journeyDiagram-4ABVD52K-FJ4LF4SX.js +139 -0
  177. package/public/assets/js/chunks/julia-LG3BH25B.js +1 -0
  178. package/public/assets/js/chunks/kaa-HQRTCXTJ-7D6PAKDJ.js +1 -0
  179. package/public/assets/js/chunks/kab-KAB-JKIKKTGH-TNKFXNAX.js +4 -0
  180. package/public/assets/js/chunks/kanban-definition-K7BYSVSG-TY4EVYI3.js +89 -0
  181. package/public/assets/js/chunks/katex-5YJCUCFD.js +261 -0
  182. package/public/assets/js/chunks/kk-KZ-HXQ63ZFC-T4HCMWED.js +1 -0
  183. package/public/assets/js/chunks/km-KH-PKL3LSGX-HTLHEJV6.js +7 -0
  184. package/public/assets/js/chunks/ko-KR-KXLREZX3-QMR52QVI.js +5 -0
  185. package/public/assets/js/chunks/ku-TR-MJ4IER3X-K5CNY4UO.js +6 -0
  186. package/public/assets/js/chunks/livescript-4CVWVI4M.js +1 -0
  187. package/public/assets/js/chunks/lt-LT-H6WFQ6FJ-IW25FAGX.js +3 -0
  188. package/public/assets/js/chunks/lua-VWGE7DQ7.js +1 -0
  189. package/public/assets/js/chunks/lv-LV-GOCK6SJW-KTDFW5OH.js +4 -0
  190. package/public/assets/js/chunks/mathematica-D7APQSEU.js +1 -0
  191. package/public/assets/js/chunks/mbox-BN3XQBYX.js +1 -0
  192. package/public/assets/js/chunks/mermaid-runtime-BIFNJ2CT.js +18 -0
  193. package/public/assets/js/chunks/mindmap-definition-YRQLILUH-5B565RNP.js +68 -0
  194. package/public/assets/js/chunks/mirc-565WBI76.js +1 -0
  195. package/public/assets/js/chunks/mllike-VV3KS46B.js +1 -0
  196. package/public/assets/js/chunks/modelica-EGX44FZV.js +1 -0
  197. package/public/assets/js/chunks/mr-IN-IXVLDMEQ-PHM5DT7Q.js +9 -0
  198. package/public/assets/js/chunks/mscgen-GFGTHENT.js +1 -0
  199. package/public/assets/js/chunks/mumps-POZYWSMI.js +1 -0
  200. package/public/assets/js/chunks/my-MM-YG6MYTTD-ZHLCMEVA.js +1 -0
  201. package/public/assets/js/chunks/nb-NO-XGWJISD2-KSDFG6YU.js +8 -0
  202. package/public/assets/js/chunks/nginx-JUBX55EU.js +1 -0
  203. package/public/assets/js/chunks/nl-NL-XVDVCPNC-KVF3ZO2R.js +13 -0
  204. package/public/assets/js/chunks/nn-NO-EMX5MJX5-34QKSHNR.js +4 -0
  205. package/public/assets/js/chunks/nsis-RC4CREGM.js +1 -0
  206. package/public/assets/js/chunks/ntriples-4WK6CNVE.js +1 -0
  207. package/public/assets/js/chunks/oc-FR-ROEINTVO-5GP4AOYO.js +4 -0
  208. package/public/assets/js/chunks/octave-GOKFN2V7.js +1 -0
  209. package/public/assets/js/chunks/oz-OQUMNC63.js +1 -0
  210. package/public/assets/js/chunks/pa-IN-ZYN6SUDY-MVL7O44W.js +4 -0
  211. package/public/assets/js/chunks/packet-RMMSAZCW-D7XTR5TT.js +1 -0
  212. package/public/assets/js/chunks/pascal-BBWQWWWD.js +1 -0
  213. package/public/assets/js/chunks/percentages-5DKR754L-DG7W23CV.js +1 -0
  214. package/public/assets/js/chunks/perl-KTPJTTAM.js +1 -0
  215. package/public/assets/js/chunks/pica-6G3NROWT.js +17 -0
  216. package/public/assets/js/chunks/pie-UPGHQEXC-KGC3O6LN.js +1 -0
  217. package/public/assets/js/chunks/pieDiagram-SKSYHLDU-KWKRDEZS.js +30 -0
  218. package/public/assets/js/chunks/pig-IJMBS4FZ.js +1 -0
  219. package/public/assets/js/chunks/pl-PL-6VTG7PHC-VADRWSX4.js +12 -0
  220. package/public/assets/js/chunks/powershell-6YGCBHDP.js +1 -0
  221. package/public/assets/js/chunks/preview-render-compiler-WD3A76I6.js +25 -0
  222. package/public/assets/js/chunks/properties-5QTD3364.js +1 -0
  223. package/public/assets/js/chunks/protobuf-LTRWBIK3.js +1 -0
  224. package/public/assets/js/chunks/pt-BR-5YFKRR5G-HHF4UPO4.js +6 -0
  225. package/public/assets/js/chunks/pt-PT-GEIXXZ67-TUTAUZJK.js +8 -0
  226. package/public/assets/js/chunks/pug-U4PV3WLG.js +1 -0
  227. package/public/assets/js/chunks/puppet-WGYJPR3Y.js +1 -0
  228. package/public/assets/js/chunks/python-6YGH4S47.js +1 -0
  229. package/public/assets/js/chunks/q-VIG4IJLI.js +1 -0
  230. package/public/assets/js/chunks/quadrantDiagram-337W2JSQ-GWQRUFHQ.js +7 -0
  231. package/public/assets/js/chunks/quick-switcher-controller-JYDIJVAJ.js +5 -0
  232. package/public/assets/js/chunks/r-NVPCXGTR.js +1 -0
  233. package/public/assets/js/chunks/radar-KQ55EAFF-OPO64DRI.js +1 -0
  234. package/public/assets/js/chunks/requirementDiagram-Z7DCOOCP-ASW7IPJL.js +73 -0
  235. package/public/assets/js/chunks/ro-RO-E2P6TFZI-RJFCULYF.js +12 -0
  236. package/public/assets/js/chunks/roundRect-Z3DX3W5S.js +1 -0
  237. package/public/assets/js/chunks/rpm-UEA257HD.js +1 -0
  238. package/public/assets/js/chunks/ru-RU-YBIIY43T-BF27TNVK.js +10 -0
  239. package/public/assets/js/chunks/ruby-KPQRAJGE.js +1 -0
  240. package/public/assets/js/chunks/sankeyDiagram-WA2Y5GQK-W6BBWCLW.js +10 -0
  241. package/public/assets/js/chunks/sas-L7VATVH5.js +1 -0
  242. package/public/assets/js/chunks/scheme-T2NOWR3P.js +1 -0
  243. package/public/assets/js/chunks/sequenceDiagram-2WXFIKYE-H4G3ISLN.js +145 -0
  244. package/public/assets/js/chunks/shell-DLVDUNFA.js +1 -0
  245. package/public/assets/js/chunks/si-LK-673C2CI2-IOFGU4U2.js +1 -0
  246. package/public/assets/js/chunks/sieve-BKBZYDBU.js +1 -0
  247. package/public/assets/js/chunks/sk-SK-CKZHQ4AP-6O5JGN26.js +7 -0
  248. package/public/assets/js/chunks/sl-SI-557H2GWM-2NEHLV7W.js +6 -0
  249. package/public/assets/js/chunks/smalltalk-WRJQKJSD.js +1 -0
  250. package/public/assets/js/chunks/solr-66B3BIDL.js +1 -0
  251. package/public/assets/js/chunks/sparql-S25Z47JG.js +1 -0
  252. package/public/assets/js/chunks/spreadsheet-B272EF7Y.js +1 -0
  253. package/public/assets/js/chunks/sql-BPLIIUYC.js +1 -0
  254. package/public/assets/js/chunks/stateDiagram-RAJIS63D-OF5XXRUS.js +1 -0
  255. package/public/assets/js/chunks/stateDiagram-v2-FVOUBMTO-IV2CSQSQ.js +1 -0
  256. package/public/assets/js/chunks/stex-4IJY64QX.js +1 -0
  257. package/public/assets/js/chunks/stylus-PJUHLGPT.js +1 -0
  258. package/public/assets/js/chunks/subset-shared.chunk-4NMWHS4D.js +1 -0
  259. package/public/assets/js/chunks/subset-worker.chunk-NTLP7Y66.js +1 -0
  260. package/public/assets/js/chunks/sv-SE-XOPKKDWS-Q2L6KGFV.js +8 -0
  261. package/public/assets/js/chunks/swift-UYHTO4SX.js +1 -0
  262. package/public/assets/js/chunks/ta-IN-XBH7DQI3-ISSUGZAK.js +6 -0
  263. package/public/assets/js/chunks/tcl-OQ5J3VO2.js +1 -0
  264. package/public/assets/js/chunks/textile-NOGVBEYF.js +1 -0
  265. package/public/assets/js/chunks/th-TH-TOCWH3R4-TABEAMJA.js +1 -0
  266. package/public/assets/js/chunks/tiddlywiki-SYTK4QUE.js +1 -0
  267. package/public/assets/js/chunks/tiki-P7K4ZLOM.js +1 -0
  268. package/public/assets/js/chunks/timeline-definition-YZTLITO2-HBCANIUC.js +61 -0
  269. package/public/assets/js/chunks/toml-AUZYRP36.js +1 -0
  270. package/public/assets/js/chunks/tr-TR-GXW6CYY5-5NQRN52Y.js +4 -0
  271. package/public/assets/js/chunks/treemap-KZPCXAKY-WYMCT5F7.js +1 -0
  272. package/public/assets/js/chunks/troff-XFYJNQOJ.js +1 -0
  273. package/public/assets/js/chunks/ttcn-AK2IXWU6.js +1 -0
  274. package/public/assets/js/chunks/ttcn-cfg-3IDPIYPU.js +1 -0
  275. package/public/assets/js/chunks/turtle-OIDMF46P.js +1 -0
  276. package/public/assets/js/chunks/uk-UA-IJKTNUDG-2IIL3TO5.js +6 -0
  277. package/public/assets/js/chunks/uz-UZ-TBZZEA4V-X22KVKBP.js +1 -0
  278. package/public/assets/js/chunks/vb-J6K4XVA2.js +1 -0
  279. package/public/assets/js/chunks/vbscript-FM7DDZZE.js +1 -0
  280. package/public/assets/js/chunks/velocity-6KZFEOFD.js +1 -0
  281. package/public/assets/js/chunks/vennDiagram-LZ73GAT5-EBRF3MZR.js +34 -0
  282. package/public/assets/js/chunks/verilog-EWWQPMNN.js +1 -0
  283. package/public/assets/js/chunks/vhdl-CJ3M4IHI.js +1 -0
  284. package/public/assets/js/chunks/vi-VN-MULSGNVB-TENM65C7.js +7 -0
  285. package/public/assets/js/chunks/webidl-XVBHXCRV.js +1 -0
  286. package/public/assets/js/chunks/xquery-7WZOZ4UK.js +1 -0
  287. package/public/assets/js/chunks/xychartDiagram-JWTSCODW-WIFVRQPR.js +7 -0
  288. package/public/assets/js/chunks/yacas-MZ2ZZPF3.js +1 -0
  289. package/public/assets/js/chunks/z80-I447CBF7.js +1 -0
  290. package/public/assets/js/chunks/zh-CN-MVX3E32U-S5VA2BA5.js +11 -0
  291. package/public/assets/js/chunks/zh-HK-JNU5RLIE-A4VUKZFV.js +1 -0
  292. package/public/assets/js/chunks/zh-TW-LENVCA6T-KFB6KHMM.js +9 -0
  293. package/public/assets/js/excalidraw-editor-7ORML5YA.css +1 -0
  294. package/public/assets/js/excalidraw-editor-LKW2AZBU.js +347 -0
  295. package/public/assets/js/excalidraw-editor.css +1 -0
  296. package/public/assets/js/excalidraw-editor.js +1 -0
  297. package/public/assets/js/main.js +354 -0
  298. package/public/assets/js/preview-render-worker.js +30 -0
  299. package/public/assets/vendor/highlight/github-dark.min.css +10 -0
  300. package/public/assets/vendor/highlight/github.min.css +10 -0
  301. package/public/excalidraw-editor.html +31 -0
  302. package/public/index.html +549 -0
  303. package/scripts/cloudflare-tunnel.mjs +145 -0
  304. package/scripts/local-plantuml-compose.mjs +92 -0
  305. package/server.js +1 -0
  306. package/src/client/application/app-shell/chat-feature.js +363 -0
  307. package/src/client/application/app-shell/comments-feature.js +33 -0
  308. package/src/client/application/app-shell/git-feature.js +394 -0
  309. package/src/client/application/app-shell/presence-feature.js +229 -0
  310. package/src/client/application/app-shell/ui-feature.js +535 -0
  311. package/src/client/application/app-shell/workspace-feature.js +132 -0
  312. package/src/client/application/app-shell-elements.js +78 -0
  313. package/src/client/application/diagram-preview-hydrator.js +382 -0
  314. package/src/client/application/file-open-lifecycle.js +26 -0
  315. package/src/client/application/mermaid-preview-hydrator.js +570 -0
  316. package/src/client/application/plantuml-preview-hydrator.js +563 -0
  317. package/src/client/application/preview-diagram-utils.js +223 -0
  318. package/src/client/application/preview-render-compiler.js +426 -0
  319. package/src/client/application/preview-render-executor.js +153 -0
  320. package/src/client/application/preview-render-profile.js +63 -0
  321. package/src/client/application/preview-render-scheduler.js +73 -0
  322. package/src/client/application/preview-render-worker.js +19 -0
  323. package/src/client/application/preview-renderer.js +452 -0
  324. package/src/client/application/wiki-link-file-controller.js +58 -0
  325. package/src/client/application/workspace-chrome-controller.js +84 -0
  326. package/src/client/application/workspace-coordinator.js +238 -0
  327. package/src/client/application/workspace-preview-controller.js +237 -0
  328. package/src/client/application/workspace-route-controller.js +170 -0
  329. package/src/client/application/workspace-state-store.js +46 -0
  330. package/src/client/bootstrap/collabmd-app-shell.js +479 -0
  331. package/src/client/domain/diagram-action-icons.js +41 -0
  332. package/src/client/domain/excalidraw-collaboration.js +153 -0
  333. package/src/client/domain/excalidraw-scene.js +87 -0
  334. package/src/client/domain/markdown-formatting.js +370 -0
  335. package/src/client/domain/plantuml-language.js +226 -0
  336. package/src/client/domain/room.js +49 -0
  337. package/src/client/domain/runtime-paths.js +136 -0
  338. package/src/client/domain/vault-api-client.js +1 -0
  339. package/src/client/domain/vault-paths.js +80 -0
  340. package/src/client/domain/vault-utils.js +49 -0
  341. package/src/client/domain/wiki-link-completions.js +78 -0
  342. package/src/client/excalidraw-editor.js +630 -0
  343. package/src/client/excalidraw-mermaid-stub.js +7 -0
  344. package/src/client/infrastructure/auth-client.js +383 -0
  345. package/src/client/infrastructure/browser-navigation-port.js +19 -0
  346. package/src/client/infrastructure/browser-notification-port.js +40 -0
  347. package/src/client/infrastructure/browser-preferences-port.js +79 -0
  348. package/src/client/infrastructure/comment-thread-store.js +293 -0
  349. package/src/client/infrastructure/editor-collaboration-client.js +240 -0
  350. package/src/client/infrastructure/editor-session.js +255 -0
  351. package/src/client/infrastructure/editor-view-adapter.js +578 -0
  352. package/src/client/infrastructure/excalidraw-room-client.js +651 -0
  353. package/src/client/infrastructure/lobby-presence.js +304 -0
  354. package/src/client/infrastructure/runtime-config.js +65 -0
  355. package/src/client/infrastructure/tab-activity-lock.js +193 -0
  356. package/src/client/infrastructure/vault-api-client.js +61 -0
  357. package/src/client/infrastructure/yjs-provider-reset-guard.js +19 -0
  358. package/src/client/main.js +16 -0
  359. package/src/client/mermaid-runtime.js +3 -0
  360. package/src/client/presentation/backlinks-panel.js +188 -0
  361. package/src/client/presentation/comment-ui-controller.js +1235 -0
  362. package/src/client/presentation/comments-panel.js +531 -0
  363. package/src/client/presentation/excalidraw-embed-controller.js +968 -0
  364. package/src/client/presentation/excalidraw-embed-reconciler.js +37 -0
  365. package/src/client/presentation/file-action-controller.js +596 -0
  366. package/src/client/presentation/file-explorer-controller.js +81 -0
  367. package/src/client/presentation/file-explorer-view.js +256 -0
  368. package/src/client/presentation/file-tree-state.js +77 -0
  369. package/src/client/presentation/git-diff-view-controller.js +656 -0
  370. package/src/client/presentation/git-panel-controller.js +516 -0
  371. package/src/client/presentation/layout-controller.js +222 -0
  372. package/src/client/presentation/outline-controller.js +239 -0
  373. package/src/client/presentation/quick-switcher-controller.js +300 -0
  374. package/src/client/presentation/scroll-sync-controller.js +500 -0
  375. package/src/client/presentation/theme-controller.js +64 -0
  376. package/src/client/presentation/toast-controller.js +21 -0
  377. package/src/client/presentation/video-embed-controller.js +264 -0
  378. package/src/client/styles/base.css +58 -0
  379. package/src/client/styles/style.css +4245 -0
  380. package/src/domain/comment-threads.js +233 -0
  381. package/src/domain/excalidraw-room-codec.js +427 -0
  382. package/src/domain/file-kind.js +104 -0
  383. package/src/domain/wiki-link-resolver.js +75 -0
  384. package/src/server/auth/create-auth-service.js +272 -0
  385. package/src/server/auth/session-cookie.js +125 -0
  386. package/src/server/config/env.js +186 -0
  387. package/src/server/create-app-server.js +143 -0
  388. package/src/server/domain/backlink-index.js +291 -0
  389. package/src/server/domain/collaboration/collaboration-document-store.js +155 -0
  390. package/src/server/domain/collaboration/collaboration-room.js +603 -0
  391. package/src/server/domain/collaboration/protocol.js +2 -0
  392. package/src/server/domain/collaboration/room-client-state-store.js +28 -0
  393. package/src/server/domain/collaboration/room-persistence-controller.js +80 -0
  394. package/src/server/domain/collaboration/room-registry.js +94 -0
  395. package/src/server/domain/git-service.js +1 -0
  396. package/src/server/domain/plantuml-encoder.js +49 -0
  397. package/src/server/domain/plantuml-renderer.js +1 -0
  398. package/src/server/index.js +72 -0
  399. package/src/server/infrastructure/git/command-runner.js +48 -0
  400. package/src/server/infrastructure/git/concurrency.js +19 -0
  401. package/src/server/infrastructure/git/diff-service.js +389 -0
  402. package/src/server/infrastructure/git/errors.js +5 -0
  403. package/src/server/infrastructure/git/git-service.js +216 -0
  404. package/src/server/infrastructure/git/parsers.js +401 -0
  405. package/src/server/infrastructure/git/path-utils.js +65 -0
  406. package/src/server/infrastructure/git/responses.js +108 -0
  407. package/src/server/infrastructure/git/status-service.js +99 -0
  408. package/src/server/infrastructure/git/untracked-files.js +101 -0
  409. package/src/server/infrastructure/http/create-auth-api-handler.js +48 -0
  410. package/src/server/infrastructure/http/create-esm-proxy-handler.js +130 -0
  411. package/src/server/infrastructure/http/create-git-api-command-handler.js +170 -0
  412. package/src/server/infrastructure/http/create-git-api-handler.js +40 -0
  413. package/src/server/infrastructure/http/create-git-api-query-handler.js +62 -0
  414. package/src/server/infrastructure/http/create-plantuml-api-handler.js +43 -0
  415. package/src/server/infrastructure/http/create-request-handler.js +138 -0
  416. package/src/server/infrastructure/http/create-static-handler.js +167 -0
  417. package/src/server/infrastructure/http/create-vault-api-command-handler.js +161 -0
  418. package/src/server/infrastructure/http/create-vault-api-handler.js +43 -0
  419. package/src/server/infrastructure/http/create-vault-api-query-handler.js +82 -0
  420. package/src/server/infrastructure/http/http-errors.js +13 -0
  421. package/src/server/infrastructure/http/http-response.js +167 -0
  422. package/src/server/infrastructure/http/request-body.js +56 -0
  423. package/src/server/infrastructure/persistence/path-utils.js +90 -0
  424. package/src/server/infrastructure/persistence/sidecar-store.js +150 -0
  425. package/src/server/infrastructure/persistence/vault-content-adapter.js +49 -0
  426. package/src/server/infrastructure/persistence/vault-file-store.js +435 -0
  427. package/src/server/infrastructure/plantuml/plantuml-renderer.js +56 -0
  428. package/src/server/infrastructure/websocket/attach-collaboration-gateway.js +194 -0
  429. package/src/server/infrastructure/websocket/client-socket-session.js +151 -0
  430. package/src/server/startup/git-remote-bootstrap.js +435 -0
@@ -0,0 +1,292 @@
1
+ import{m as Ie}from"./chunk-HVNNEPP5.js";import{a as Qe}from"./chunk-HOCBCDA5.js";import{M as oe,N as ce,R as le,S as ue,T as de,U as fe,V as he,W as me,X as ke,Y as ot}from"./chunk-PMOZMECZ.js";import{A as Se,B as Ce,C as Me,D as At,E as Ft,F as Ee,a as ae,b as c,d as it,f as ye,g as ge,h as pe,i as ve,j as yt,k as Te,q as be,r as Et,s as It,t as Lt,u as Yt,v as $t,w as xe,x as we,y as _e,z as De}from"./chunk-M3EW4V74.js";import"./chunk-4BCHPULB.js";import{b as xt,e as at}from"./chunk-775E65SU.js";var Le=xt((Ot,Wt)=>{(function(t,s){typeof Ot=="object"&&typeof Wt<"u"?Wt.exports=s():typeof define=="function"&&define.amd?define(s):(t=typeof globalThis<"u"?globalThis:t||self).dayjs_plugin_isoWeek=s()})(Ot,(function(){"use strict";var t="day";return function(s,n,a){var r=function(D){return D.add(4-D.isoWeekday(),t)},u=n.prototype;u.isoWeekYear=function(){return r(this).year()},u.isoWeek=function(D){if(!this.$utils().u(D))return this.add(7*(D-this.isoWeek()),t);var S,P,C,W,z=r(this),R=(S=this.isoWeekYear(),P=this.$u,C=(P?a.utc:a)().year(S).startOf("year"),W=4-C.isoWeekday(),C.isoWeekday()>4&&(W+=7),C.add(W,t));return z.diff(R,"week")+1},u.isoWeekday=function(D){return this.$utils().u(D)?this.day()||7:this.day(this.day()%7?D:D-7)};var b=u.startOf;u.startOf=function(D,S){var P=this.$utils(),C=!!P.u(S)||S;return P.p(D)==="isoweek"?C?this.date(this.date()-(this.isoWeekday()-1)).startOf("day"):this.date(this.date()-1-(this.isoWeekday()-1)+7).endOf("day"):b.bind(this)(D,S)}}}))});var Ye=xt((Pt,Vt)=>{(function(t,s){typeof Pt=="object"&&typeof Vt<"u"?Vt.exports=s():typeof define=="function"&&define.amd?define(s):(t=typeof globalThis<"u"?globalThis:t||self).dayjs_plugin_customParseFormat=s()})(Pt,(function(){"use strict";var t={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},s=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,n=/\d/,a=/\d\d/,r=/\d\d?/,u=/\d*[^-_:/,()\s\d]+/,b={},D=function(x){return(x=+x)+(x>68?1900:2e3)},S=function(x){return function(k){this[x]=+k}},P=[/[+-]\d\d:?(\d\d)?|Z/,function(x){(this.zone||(this.zone={})).offset=(function(k){if(!k||k==="Z")return 0;var F=k.match(/([+-]|\d\d)/g),Y=60*F[1]+(+F[2]||0);return Y===0?0:F[0]==="+"?-Y:Y})(x)}],C=function(x){var k=b[x];return k&&(k.indexOf?k:k.s.concat(k.f))},W=function(x,k){var F,Y=b.meridiem;if(Y){for(var G=1;G<=24;G+=1)if(x.indexOf(Y(G,0,k))>-1){F=G>12;break}}else F=x===(k?"pm":"PM");return F},z={A:[u,function(x){this.afternoon=W(x,!1)}],a:[u,function(x){this.afternoon=W(x,!0)}],Q:[n,function(x){this.month=3*(x-1)+1}],S:[n,function(x){this.milliseconds=100*+x}],SS:[a,function(x){this.milliseconds=10*+x}],SSS:[/\d{3}/,function(x){this.milliseconds=+x}],s:[r,S("seconds")],ss:[r,S("seconds")],m:[r,S("minutes")],mm:[r,S("minutes")],H:[r,S("hours")],h:[r,S("hours")],HH:[r,S("hours")],hh:[r,S("hours")],D:[r,S("day")],DD:[a,S("day")],Do:[u,function(x){var k=b.ordinal,F=x.match(/\d+/);if(this.day=F[0],k)for(var Y=1;Y<=31;Y+=1)k(Y).replace(/\[|\]/g,"")===x&&(this.day=Y)}],w:[r,S("week")],ww:[a,S("week")],M:[r,S("month")],MM:[a,S("month")],MMM:[u,function(x){var k=C("months"),F=(C("monthsShort")||k.map((function(Y){return Y.slice(0,3)}))).indexOf(x)+1;if(F<1)throw new Error;this.month=F%12||F}],MMMM:[u,function(x){var k=C("months").indexOf(x)+1;if(k<1)throw new Error;this.month=k%12||k}],Y:[/[+-]?\d+/,S("year")],YY:[a,function(x){this.year=D(x)}],YYYY:[/\d{4}/,S("year")],Z:P,ZZ:P};function R(x){var k,F;k=x,F=b&&b.formats;for(var Y=(x=k.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function($,f,y){var g=y&&y.toUpperCase();return f||F[y]||t[y]||F[g].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(T,p,o){return p||o.slice(1)}))}))).match(s),G=Y.length,X=0;X<G;X+=1){var E=Y[X],v=z[E],d=v&&v[0],M=v&&v[1];Y[X]=M?{regex:d,parser:M}:E.replace(/^\[|\]$/g,"")}return function($){for(var f={},y=0,g=0;y<G;y+=1){var T=Y[y];if(typeof T=="string")g+=T.length;else{var p=T.regex,o=T.parser,l=$.slice(g),h=p.exec(l)[0];o.call(f,h),$=$.replace(h,"")}}return(function(m){var w=m.afternoon;if(w!==void 0){var i=m.hours;w?i<12&&(m.hours+=12):i===12&&(m.hours=0),delete m.afternoon}})(f),f}}return function(x,k,F){F.p.customParseFormat=!0,x&&x.parseTwoDigitYear&&(D=x.parseTwoDigitYear);var Y=k.prototype,G=Y.parse;Y.parse=function(X){var E=X.date,v=X.utc,d=X.args;this.$u=v;var M=d[1];if(typeof M=="string"){var $=d[2]===!0,f=d[3]===!0,y=$||f,g=d[2];f&&(g=d[2]),b=this.$locale(),!$&&g&&(b=F.Ls[g]),this.$d=(function(l,h,m,w){try{if(["x","X"].indexOf(h)>-1)return new Date((h==="X"?1e3:1)*l);var i=R(h)(l),O=i.year,e=i.month,_=i.day,A=i.hours,I=i.minutes,L=i.seconds,H=i.milliseconds,V=i.zone,N=i.week,U=new Date,st=_||(O||e?1:U.getDate()),rt=O||U.getFullYear(),lt=0;O&&!e||(lt=e>0?e-1:U.getMonth());var ut,dt=A||0,j=I||0,nt=L||0,K=H||0;return V?new Date(Date.UTC(rt,lt,st,dt,j,nt,K+60*V.offset*1e3)):m?new Date(Date.UTC(rt,lt,st,dt,j,nt,K)):(ut=new Date(rt,lt,st,dt,j,nt,K),N&&(ut=w(ut).week(N).toDate()),ut)}catch{return new Date("")}})(E,M,v,F),this.init(),g&&g!==!0&&(this.$L=this.locale(g).$L),y&&E!=this.format(M)&&(this.$d=new Date("")),b={}}else if(M instanceof Array)for(var T=M.length,p=1;p<=T;p+=1){d[1]=M[p-1];var o=F.apply(this,d);if(o.isValid()){this.$d=o.$d,this.$L=o.$L,this.init();break}p===T&&(this.$d=new Date(""))}else G.call(this,X)}}}))});var $e=xt((Nt,Rt)=>{(function(t,s){typeof Nt=="object"&&typeof Rt<"u"?Rt.exports=s():typeof define=="function"&&define.amd?define(s):(t=typeof globalThis<"u"?globalThis:t||self).dayjs_plugin_advancedFormat=s()})(Nt,(function(){"use strict";return function(t,s){var n=s.prototype,a=n.format;n.format=function(r){var u=this,b=this.$locale();if(!this.isValid())return a.bind(this)(r);var D=this.$utils(),S=(r||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,(function(P){switch(P){case"Q":return Math.ceil((u.$M+1)/3);case"Do":return b.ordinal(u.$D);case"gggg":return u.weekYear();case"GGGG":return u.isoWeekYear();case"wo":return b.ordinal(u.week(),"W");case"w":case"ww":return D.s(u.week(),P==="w"?1:2,"0");case"W":case"WW":return D.s(u.isoWeek(),P==="W"?1:2,"0");case"k":case"kk":return D.s(String(u.$H===0?24:u.$H),P==="k"?1:2,"0");case"X":return Math.floor(u.$d.getTime()/1e3);case"x":return u.$d.getTime();case"z":return"["+u.offsetName()+"]";case"zzz":return"["+u.offsetName("long")+"]";default:return P}}));return a.bind(this)(S)}}}))});var Ae=xt((zt,Ht)=>{(function(t,s){typeof zt=="object"&&typeof Ht<"u"?Ht.exports=s():typeof define=="function"&&define.amd?define(s):(t=typeof globalThis<"u"?globalThis:t||self).dayjs_plugin_duration=s()})(zt,(function(){"use strict";var t,s,n=1e3,a=6e4,r=36e5,u=864e5,b=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,D=31536e6,S=2628e6,P=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,C={years:D,months:S,days:u,hours:r,minutes:a,seconds:n,milliseconds:1,weeks:6048e5},W=function(E){return E instanceof G},z=function(E,v,d){return new G(E,d,v.$l)},R=function(E){return s.p(E)+"s"},x=function(E){return E<0},k=function(E){return x(E)?Math.ceil(E):Math.floor(E)},F=function(E){return Math.abs(E)},Y=function(E,v){return E?x(E)?{negative:!0,format:""+F(E)+v}:{negative:!1,format:""+E+v}:{negative:!1,format:""}},G=(function(){function E(d,M,$){var f=this;if(this.$d={},this.$l=$,d===void 0&&(this.$ms=0,this.parseFromMilliseconds()),M)return z(d*C[R(M)],this);if(typeof d=="number")return this.$ms=d,this.parseFromMilliseconds(),this;if(typeof d=="object")return Object.keys(d).forEach((function(T){f.$d[R(T)]=d[T]})),this.calMilliseconds(),this;if(typeof d=="string"){var y=d.match(P);if(y){var g=y.slice(2).map((function(T){return T!=null?Number(T):0}));return this.$d.years=g[0],this.$d.months=g[1],this.$d.weeks=g[2],this.$d.days=g[3],this.$d.hours=g[4],this.$d.minutes=g[5],this.$d.seconds=g[6],this.calMilliseconds(),this}}return this}var v=E.prototype;return v.calMilliseconds=function(){var d=this;this.$ms=Object.keys(this.$d).reduce((function(M,$){return M+(d.$d[$]||0)*C[$]}),0)},v.parseFromMilliseconds=function(){var d=this.$ms;this.$d.years=k(d/D),d%=D,this.$d.months=k(d/S),d%=S,this.$d.days=k(d/u),d%=u,this.$d.hours=k(d/r),d%=r,this.$d.minutes=k(d/a),d%=a,this.$d.seconds=k(d/n),d%=n,this.$d.milliseconds=d},v.toISOString=function(){var d=Y(this.$d.years,"Y"),M=Y(this.$d.months,"M"),$=+this.$d.days||0;this.$d.weeks&&($+=7*this.$d.weeks);var f=Y($,"D"),y=Y(this.$d.hours,"H"),g=Y(this.$d.minutes,"M"),T=this.$d.seconds||0;this.$d.milliseconds&&(T+=this.$d.milliseconds/1e3,T=Math.round(1e3*T)/1e3);var p=Y(T,"S"),o=d.negative||M.negative||f.negative||y.negative||g.negative||p.negative,l=y.format||g.format||p.format?"T":"",h=(o?"-":"")+"P"+d.format+M.format+f.format+l+y.format+g.format+p.format;return h==="P"||h==="-P"?"P0D":h},v.toJSON=function(){return this.toISOString()},v.format=function(d){var M=d||"YYYY-MM-DDTHH:mm:ss",$={Y:this.$d.years,YY:s.s(this.$d.years,2,"0"),YYYY:s.s(this.$d.years,4,"0"),M:this.$d.months,MM:s.s(this.$d.months,2,"0"),D:this.$d.days,DD:s.s(this.$d.days,2,"0"),H:this.$d.hours,HH:s.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:s.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:s.s(this.$d.seconds,2,"0"),SSS:s.s(this.$d.milliseconds,3,"0")};return M.replace(b,(function(f,y){return y||String($[f])}))},v.as=function(d){return this.$ms/C[R(d)]},v.get=function(d){var M=this.$ms,$=R(d);return $==="milliseconds"?M%=1e3:M=$==="weeks"?k(M/C[$]):this.$d[$],M||0},v.add=function(d,M,$){var f;return f=M?d*C[R(M)]:W(d)?d.$ms:z(d,this).$ms,z(this.$ms+f*($?-1:1),this)},v.subtract=function(d,M){return this.add(d,M,!0)},v.locale=function(d){var M=this.clone();return M.$l=d,M},v.clone=function(){return z(this.$ms,this)},v.humanize=function(d){return t().add(this.$ms,"ms").locale(this.$l).fromNow(!d)},v.valueOf=function(){return this.asMilliseconds()},v.milliseconds=function(){return this.get("milliseconds")},v.asMilliseconds=function(){return this.as("milliseconds")},v.seconds=function(){return this.get("seconds")},v.asSeconds=function(){return this.as("seconds")},v.minutes=function(){return this.get("minutes")},v.asMinutes=function(){return this.as("minutes")},v.hours=function(){return this.get("hours")},v.asHours=function(){return this.as("hours")},v.days=function(){return this.get("days")},v.asDays=function(){return this.as("days")},v.weeks=function(){return this.get("weeks")},v.asWeeks=function(){return this.as("weeks")},v.months=function(){return this.get("months")},v.asMonths=function(){return this.as("months")},v.years=function(){return this.get("years")},v.asYears=function(){return this.as("years")},E})(),X=function(E,v,d){return E.add(v.years()*d,"y").add(v.months()*d,"M").add(v.days()*d,"d").add(v.hours()*d,"h").add(v.minutes()*d,"m").add(v.seconds()*d,"s").add(v.milliseconds()*d,"ms")};return function(E,v,d){t=d,s=d().$utils(),d.duration=function(f,y){var g=d.locale();return z(f,{$l:g},y)},d.isDuration=W;var M=v.prototype.add,$=v.prototype.subtract;v.prototype.add=function(f,y){return W(f)?X(this,f,1):M.bind(this)(f,y)},v.prototype.subtract=function(f,y){return W(f)?X(this,f,-1):$.bind(this)(f,y)}}}))});var Pe=at(Qe(),1),Q=at(ae(),1),Ve=at(Le(),1),Ne=at(Ye(),1),Re=at($e(),1),ht=at(ae(),1),Ze=at(Ae(),1);var Bt=(function(){var t=c(function(p,o,l,h){for(l=l||{},h=p.length;h--;l[p[h]]=o);return l},"o"),s=[6,8,10,12,13,14,15,16,17,18,20,21,22,23,24,25,26,27,28,29,30,31,33,35,36,38,40],n=[1,26],a=[1,27],r=[1,28],u=[1,29],b=[1,30],D=[1,31],S=[1,32],P=[1,33],C=[1,34],W=[1,9],z=[1,10],R=[1,11],x=[1,12],k=[1,13],F=[1,14],Y=[1,15],G=[1,16],X=[1,19],E=[1,20],v=[1,21],d=[1,22],M=[1,23],$=[1,25],f=[1,35],y={trace:c(function(){},"trace"),yy:{},symbols_:{error:2,start:3,gantt:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NL:10,weekday:11,weekday_monday:12,weekday_tuesday:13,weekday_wednesday:14,weekday_thursday:15,weekday_friday:16,weekday_saturday:17,weekday_sunday:18,weekend:19,weekend_friday:20,weekend_saturday:21,dateFormat:22,inclusiveEndDates:23,topAxis:24,axisFormat:25,tickInterval:26,excludes:27,includes:28,todayMarker:29,title:30,acc_title:31,acc_title_value:32,acc_descr:33,acc_descr_value:34,acc_descr_multiline_value:35,section:36,clickStatement:37,taskTxt:38,taskData:39,click:40,callbackname:41,callbackargs:42,href:43,clickStatementDebug:44,$accept:0,$end:1},terminals_:{2:"error",4:"gantt",6:"EOF",8:"SPACE",10:"NL",12:"weekday_monday",13:"weekday_tuesday",14:"weekday_wednesday",15:"weekday_thursday",16:"weekday_friday",17:"weekday_saturday",18:"weekday_sunday",20:"weekend_friday",21:"weekend_saturday",22:"dateFormat",23:"inclusiveEndDates",24:"topAxis",25:"axisFormat",26:"tickInterval",27:"excludes",28:"includes",29:"todayMarker",30:"title",31:"acc_title",32:"acc_title_value",33:"acc_descr",34:"acc_descr_value",35:"acc_descr_multiline_value",36:"section",38:"taskTxt",39:"taskData",40:"click",41:"callbackname",42:"callbackargs",43:"href"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[19,1],[19,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,1],[9,2],[37,2],[37,3],[37,3],[37,4],[37,3],[37,4],[37,2],[44,2],[44,3],[44,3],[44,4],[44,3],[44,4],[44,2]],performAction:c(function(o,l,h,m,w,i,O){var e=i.length-1;switch(w){case 1:return i[e-1];case 2:this.$=[];break;case 3:i[e-1].push(i[e]),this.$=i[e-1];break;case 4:case 5:this.$=i[e];break;case 6:case 7:this.$=[];break;case 8:m.setWeekday("monday");break;case 9:m.setWeekday("tuesday");break;case 10:m.setWeekday("wednesday");break;case 11:m.setWeekday("thursday");break;case 12:m.setWeekday("friday");break;case 13:m.setWeekday("saturday");break;case 14:m.setWeekday("sunday");break;case 15:m.setWeekend("friday");break;case 16:m.setWeekend("saturday");break;case 17:m.setDateFormat(i[e].substr(11)),this.$=i[e].substr(11);break;case 18:m.enableInclusiveEndDates(),this.$=i[e].substr(18);break;case 19:m.TopAxis(),this.$=i[e].substr(8);break;case 20:m.setAxisFormat(i[e].substr(11)),this.$=i[e].substr(11);break;case 21:m.setTickInterval(i[e].substr(13)),this.$=i[e].substr(13);break;case 22:m.setExcludes(i[e].substr(9)),this.$=i[e].substr(9);break;case 23:m.setIncludes(i[e].substr(9)),this.$=i[e].substr(9);break;case 24:m.setTodayMarker(i[e].substr(12)),this.$=i[e].substr(12);break;case 27:m.setDiagramTitle(i[e].substr(6)),this.$=i[e].substr(6);break;case 28:this.$=i[e].trim(),m.setAccTitle(this.$);break;case 29:case 30:this.$=i[e].trim(),m.setAccDescription(this.$);break;case 31:m.addSection(i[e].substr(8)),this.$=i[e].substr(8);break;case 33:m.addTask(i[e-1],i[e]),this.$="task";break;case 34:this.$=i[e-1],m.setClickEvent(i[e-1],i[e],null);break;case 35:this.$=i[e-2],m.setClickEvent(i[e-2],i[e-1],i[e]);break;case 36:this.$=i[e-2],m.setClickEvent(i[e-2],i[e-1],null),m.setLink(i[e-2],i[e]);break;case 37:this.$=i[e-3],m.setClickEvent(i[e-3],i[e-2],i[e-1]),m.setLink(i[e-3],i[e]);break;case 38:this.$=i[e-2],m.setClickEvent(i[e-2],i[e],null),m.setLink(i[e-2],i[e-1]);break;case 39:this.$=i[e-3],m.setClickEvent(i[e-3],i[e-1],i[e]),m.setLink(i[e-3],i[e-2]);break;case 40:this.$=i[e-1],m.setLink(i[e-1],i[e]);break;case 41:case 47:this.$=i[e-1]+" "+i[e];break;case 42:case 43:case 45:this.$=i[e-2]+" "+i[e-1]+" "+i[e];break;case 44:case 46:this.$=i[e-3]+" "+i[e-2]+" "+i[e-1]+" "+i[e];break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},t(s,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:17,12:n,13:a,14:r,15:u,16:b,17:D,18:S,19:18,20:P,21:C,22:W,23:z,24:R,25:x,26:k,27:F,28:Y,29:G,30:X,31:E,33:v,35:d,36:M,37:24,38:$,40:f},t(s,[2,7],{1:[2,1]}),t(s,[2,3]),{9:36,11:17,12:n,13:a,14:r,15:u,16:b,17:D,18:S,19:18,20:P,21:C,22:W,23:z,24:R,25:x,26:k,27:F,28:Y,29:G,30:X,31:E,33:v,35:d,36:M,37:24,38:$,40:f},t(s,[2,5]),t(s,[2,6]),t(s,[2,17]),t(s,[2,18]),t(s,[2,19]),t(s,[2,20]),t(s,[2,21]),t(s,[2,22]),t(s,[2,23]),t(s,[2,24]),t(s,[2,25]),t(s,[2,26]),t(s,[2,27]),{32:[1,37]},{34:[1,38]},t(s,[2,30]),t(s,[2,31]),t(s,[2,32]),{39:[1,39]},t(s,[2,8]),t(s,[2,9]),t(s,[2,10]),t(s,[2,11]),t(s,[2,12]),t(s,[2,13]),t(s,[2,14]),t(s,[2,15]),t(s,[2,16]),{41:[1,40],43:[1,41]},t(s,[2,4]),t(s,[2,28]),t(s,[2,29]),t(s,[2,33]),t(s,[2,34],{42:[1,42],43:[1,43]}),t(s,[2,40],{41:[1,44]}),t(s,[2,35],{43:[1,45]}),t(s,[2,36]),t(s,[2,38],{42:[1,46]}),t(s,[2,37]),t(s,[2,39])],defaultActions:{},parseError:c(function(o,l){if(l.recoverable)this.trace(o);else{var h=new Error(o);throw h.hash=l,h}},"parseError"),parse:c(function(o){var l=this,h=[0],m=[],w=[null],i=[],O=this.table,e="",_=0,A=0,I=0,L=2,H=1,V=i.slice.call(arguments,1),N=Object.create(this.lexer),U={yy:{}};for(var st in this.yy)Object.prototype.hasOwnProperty.call(this.yy,st)&&(U.yy[st]=this.yy[st]);N.setInput(o,U.yy),U.yy.lexer=N,U.yy.parser=this,typeof N.yylloc>"u"&&(N.yylloc={});var rt=N.yylloc;i.push(rt);var lt=N.options&&N.options.ranges;typeof U.yy.parseError=="function"?this.parseError=U.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function ut(Z){h.length=h.length-2*Z,w.length=w.length-Z,i.length=i.length-Z}c(ut,"popStack");function dt(){var Z;return Z=m.pop()||N.lex()||H,typeof Z!="number"&&(Z instanceof Array&&(m=Z,Z=m.pop()),Z=l.symbols_[Z]||Z),Z}c(dt,"lex");for(var j,nt,K,q,Ri,Ct,ft={},Tt,tt,ne,bt;;){if(K=h[h.length-1],this.defaultActions[K]?q=this.defaultActions[K]:((j===null||typeof j>"u")&&(j=dt()),q=O[K]&&O[K][j]),typeof q>"u"||!q.length||!q[0]){var Mt="";bt=[];for(Tt in O[K])this.terminals_[Tt]&&Tt>L&&bt.push("'"+this.terminals_[Tt]+"'");N.showPosition?Mt="Parse error on line "+(_+1)+`:
2
+ `+N.showPosition()+`
3
+ Expecting `+bt.join(", ")+", got '"+(this.terminals_[j]||j)+"'":Mt="Parse error on line "+(_+1)+": Unexpected "+(j==H?"end of input":"'"+(this.terminals_[j]||j)+"'"),this.parseError(Mt,{text:N.match,token:this.terminals_[j]||j,line:N.yylineno,loc:rt,expected:bt})}if(q[0]instanceof Array&&q.length>1)throw new Error("Parse Error: multiple actions possible at state: "+K+", token: "+j);switch(q[0]){case 1:h.push(j),w.push(N.yytext),i.push(N.yylloc),h.push(q[1]),j=null,nt?(j=nt,nt=null):(A=N.yyleng,e=N.yytext,_=N.yylineno,rt=N.yylloc,I>0&&I--);break;case 2:if(tt=this.productions_[q[1]][1],ft.$=w[w.length-tt],ft._$={first_line:i[i.length-(tt||1)].first_line,last_line:i[i.length-1].last_line,first_column:i[i.length-(tt||1)].first_column,last_column:i[i.length-1].last_column},lt&&(ft._$.range=[i[i.length-(tt||1)].range[0],i[i.length-1].range[1]]),Ct=this.performAction.apply(ft,[e,A,_,U.yy,q[1],w,i].concat(V)),typeof Ct<"u")return Ct;tt&&(h=h.slice(0,-1*tt*2),w=w.slice(0,-1*tt),i=i.slice(0,-1*tt)),h.push(this.productions_[q[1]][0]),w.push(ft.$),i.push(ft._$),ne=O[h[h.length-2]][h[h.length-1]],h.push(ne);break;case 3:return!0}}return!0},"parse")},g=(function(){var p={EOF:1,parseError:c(function(l,h){if(this.yy.parser)this.yy.parser.parseError(l,h);else throw new Error(l)},"parseError"),setInput:c(function(o,l){return this.yy=l||this.yy||{},this._input=o,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:c(function(){var o=this._input[0];this.yytext+=o,this.yyleng++,this.offset++,this.match+=o,this.matched+=o;var l=o.match(/(?:\r\n?|\n).*/g);return l?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),o},"input"),unput:c(function(o){var l=o.length,h=o.split(/(?:\r\n?|\n)/g);this._input=o+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-l),this.offset-=l;var m=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),h.length-1&&(this.yylineno-=h.length-1);var w=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:h?(h.length===m.length?this.yylloc.first_column:0)+m[m.length-h.length].length-h[0].length:this.yylloc.first_column-l},this.options.ranges&&(this.yylloc.range=[w[0],w[0]+this.yyleng-l]),this.yyleng=this.yytext.length,this},"unput"),more:c(function(){return this._more=!0,this},"more"),reject:c(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
+ `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:c(function(o){this.unput(this.match.slice(o))},"less"),pastInput:c(function(){var o=this.matched.substr(0,this.matched.length-this.match.length);return(o.length>20?"...":"")+o.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:c(function(){var o=this.match;return o.length<20&&(o+=this._input.substr(0,20-o.length)),(o.substr(0,20)+(o.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:c(function(){var o=this.pastInput(),l=new Array(o.length+1).join("-");return o+this.upcomingInput()+`
5
+ `+l+"^"},"showPosition"),test_match:c(function(o,l){var h,m,w;if(this.options.backtrack_lexer&&(w={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(w.yylloc.range=this.yylloc.range.slice(0))),m=o[0].match(/(?:\r\n?|\n).*/g),m&&(this.yylineno+=m.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:m?m[m.length-1].length-m[m.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+o[0].length},this.yytext+=o[0],this.match+=o[0],this.matches=o,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(o[0].length),this.matched+=o[0],h=this.performAction.call(this,this.yy,this,l,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),h)return h;if(this._backtrack){for(var i in w)this[i]=w[i];return!1}return!1},"test_match"),next:c(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var o,l,h,m;this._more||(this.yytext="",this.match="");for(var w=this._currentRules(),i=0;i<w.length;i++)if(h=this._input.match(this.rules[w[i]]),h&&(!l||h[0].length>l[0].length)){if(l=h,m=i,this.options.backtrack_lexer){if(o=this.test_match(h,w[i]),o!==!1)return o;if(this._backtrack){l=!1;continue}else return!1}else if(!this.options.flex)break}return l?(o=this.test_match(l,w[m]),o!==!1?o:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
6
+ `+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:c(function(){var l=this.next();return l||this.lex()},"lex"),begin:c(function(l){this.conditionStack.push(l)},"begin"),popState:c(function(){var l=this.conditionStack.length-1;return l>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:c(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:c(function(l){return l=this.conditionStack.length-1-Math.abs(l||0),l>=0?this.conditionStack[l]:"INITIAL"},"topState"),pushState:c(function(l){this.begin(l)},"pushState"),stateStackSize:c(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:c(function(l,h,m,w){var i=w;switch(m){case 0:return this.begin("open_directive"),"open_directive";break;case 1:return this.begin("acc_title"),31;break;case 2:return this.popState(),"acc_title_value";break;case 3:return this.begin("acc_descr"),33;break;case 4:return this.popState(),"acc_descr_value";break;case 5:this.begin("acc_descr_multiline");break;case 6:this.popState();break;case 7:return"acc_descr_multiline_value";case 8:break;case 9:break;case 10:break;case 11:return 10;case 12:break;case 13:break;case 14:this.begin("href");break;case 15:this.popState();break;case 16:return 43;case 17:this.begin("callbackname");break;case 18:this.popState();break;case 19:this.popState(),this.begin("callbackargs");break;case 20:return 41;case 21:this.popState();break;case 22:return 42;case 23:this.begin("click");break;case 24:this.popState();break;case 25:return 40;case 26:return 4;case 27:return 22;case 28:return 23;case 29:return 24;case 30:return 25;case 31:return 26;case 32:return 28;case 33:return 27;case 34:return 29;case 35:return 12;case 36:return 13;case 37:return 14;case 38:return 15;case 39:return 16;case 40:return 17;case 41:return 18;case 42:return 20;case 43:return 21;case 44:return"date";case 45:return 30;case 46:return"accDescription";case 47:return 36;case 48:return 38;case 49:return 39;case 50:return":";case 51:return 6;case 52:return"INVALID"}},"anonymous"),rules:[/^(?:%%\{)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:%%(?!\{)*[^\n]*)/i,/^(?:[^\}]%%*[^\n]*)/i,/^(?:%%*[^\n]*[\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:%[^\n]*)/i,/^(?:href[\s]+["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:call[\s]+)/i,/^(?:\([\s]*\))/i,/^(?:\()/i,/^(?:[^(]*)/i,/^(?:\))/i,/^(?:[^)]*)/i,/^(?:click[\s]+)/i,/^(?:[\s\n])/i,/^(?:[^\s\n]*)/i,/^(?:gantt\b)/i,/^(?:dateFormat\s[^#\n;]+)/i,/^(?:inclusiveEndDates\b)/i,/^(?:topAxis\b)/i,/^(?:axisFormat\s[^#\n;]+)/i,/^(?:tickInterval\s[^#\n;]+)/i,/^(?:includes\s[^#\n;]+)/i,/^(?:excludes\s[^#\n;]+)/i,/^(?:todayMarker\s[^\n;]+)/i,/^(?:weekday\s+monday\b)/i,/^(?:weekday\s+tuesday\b)/i,/^(?:weekday\s+wednesday\b)/i,/^(?:weekday\s+thursday\b)/i,/^(?:weekday\s+friday\b)/i,/^(?:weekday\s+saturday\b)/i,/^(?:weekday\s+sunday\b)/i,/^(?:weekend\s+friday\b)/i,/^(?:weekend\s+saturday\b)/i,/^(?:\d\d\d\d-\d\d-\d\d\b)/i,/^(?:title\s[^\n]+)/i,/^(?:accDescription\s[^#\n;]+)/i,/^(?:section\s[^\n]+)/i,/^(?:[^:\n]+)/i,/^(?::[^#\n;]+)/i,/^(?::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[6,7],inclusive:!1},acc_descr:{rules:[4],inclusive:!1},acc_title:{rules:[2],inclusive:!1},callbackargs:{rules:[21,22],inclusive:!1},callbackname:{rules:[18,19,20],inclusive:!1},href:{rules:[15,16],inclusive:!1},click:{rules:[24,25],inclusive:!1},INITIAL:{rules:[0,1,3,5,8,9,10,11,12,13,14,17,23,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52],inclusive:!0}}};return p})();y.lexer=g;function T(){this.yy={}}return c(T,"Parser"),T.prototype=y,y.Parser=T,new T})();Bt.parser=Bt;var Ke=Bt;Q.default.extend(Ve.default);Q.default.extend(Ne.default);Q.default.extend(Re.default);var Fe={friday:5,saturday:6},J="",qt="",Zt=void 0,Qt="",gt=[],pt=[],Kt=new Map,Jt=[],Dt=[],kt="",te="",ze=["active","done","crit","milestone","vert"],ee=[],vt=!1,ie=!1,se="sunday",St="saturday",Gt=0,Je=c(function(){Jt=[],Dt=[],kt="",ee=[],wt=0,Ut=void 0,_t=void 0,B=[],J="",qt="",te="",Zt=void 0,Qt="",gt=[],pt=[],vt=!1,ie=!1,Gt=0,Kt=new Map,le(),se="sunday",St="saturday"},"clear"),ti=c(function(t){qt=t},"setAxisFormat"),ei=c(function(){return qt},"getAxisFormat"),ii=c(function(t){Zt=t},"setTickInterval"),si=c(function(){return Zt},"getTickInterval"),ri=c(function(t){Qt=t},"setTodayMarker"),ni=c(function(){return Qt},"getTodayMarker"),ai=c(function(t){J=t},"setDateFormat"),oi=c(function(){vt=!0},"enableInclusiveEndDates"),ci=c(function(){return vt},"endDatesAreInclusive"),li=c(function(){ie=!0},"enableTopAxis"),ui=c(function(){return ie},"topAxisEnabled"),di=c(function(t){te=t},"setDisplayMode"),fi=c(function(){return te},"getDisplayMode"),hi=c(function(){return J},"getDateFormat"),mi=c(function(t){gt=t.toLowerCase().split(/[\s,]+/)},"setIncludes"),ki=c(function(){return gt},"getIncludes"),yi=c(function(t){pt=t.toLowerCase().split(/[\s,]+/)},"setExcludes"),gi=c(function(){return pt},"getExcludes"),pi=c(function(){return Kt},"getLinks"),vi=c(function(t){kt=t,Jt.push(t)},"addSection"),Ti=c(function(){return Jt},"getSections"),bi=c(function(){let t=Oe(),s=10,n=0;for(;!t&&n<s;)t=Oe(),n++;return Dt=B,Dt},"getTasks"),He=c(function(t,s,n,a){let r=t.format(s.trim()),u=t.format("YYYY-MM-DD");return a.includes(r)||a.includes(u)?!1:n.includes("weekends")&&(t.isoWeekday()===Fe[St]||t.isoWeekday()===Fe[St]+1)||n.includes(t.format("dddd").toLowerCase())?!0:n.includes(r)||n.includes(u)},"isInvalidDate"),xi=c(function(t){se=t},"setWeekday"),wi=c(function(){return se},"getWeekday"),_i=c(function(t){St=t},"setWeekend"),je=c(function(t,s,n,a){if(!n.length||t.manualEndTime)return;let r;t.startTime instanceof Date?r=(0,Q.default)(t.startTime):r=(0,Q.default)(t.startTime,s,!0),r=r.add(1,"d");let u;t.endTime instanceof Date?u=(0,Q.default)(t.endTime):u=(0,Q.default)(t.endTime,s,!0);let[b,D]=Di(r,u,s,n,a);t.endTime=b.toDate(),t.renderEndTime=D},"checkTaskDates"),Di=c(function(t,s,n,a,r){let u=!1,b=null;for(;t<=s;)u||(b=s.toDate()),u=He(t,n,a,r),u&&(s=s.add(1,"d")),t=t.add(1,"d");return[s,b]},"fixTaskDates"),Xt=c(function(t,s,n){if(n=n.trim(),c(D=>{let S=D.trim();return S==="x"||S==="X"},"isTimestampFormat")(s)&&/^\d+$/.test(n))return new Date(Number(n));let u=/^after\s+(?<ids>[\d\w- ]+)/.exec(n);if(u!==null){let D=null;for(let P of u.groups.ids.split(" ")){let C=ct(P);C!==void 0&&(!D||C.endTime>D.endTime)&&(D=C)}if(D)return D.endTime;let S=new Date;return S.setHours(0,0,0,0),S}let b=(0,Q.default)(n,s.trim(),!0);if(b.isValid())return b.toDate();{it.debug("Invalid date:"+n),it.debug("With date format:"+s.trim());let D=new Date(n);if(D===void 0||isNaN(D.getTime())||D.getFullYear()<-1e4||D.getFullYear()>1e4)throw new Error("Invalid date:"+n);return D}},"getStartDate"),Be=c(function(t){let s=/^(\d+(?:\.\d+)?)([Mdhmswy]|ms)$/.exec(t.trim());return s!==null?[Number.parseFloat(s[1]),s[2]]:[NaN,"ms"]},"parseDuration"),Ge=c(function(t,s,n,a=!1){n=n.trim();let u=/^until\s+(?<ids>[\d\w- ]+)/.exec(n);if(u!==null){let C=null;for(let z of u.groups.ids.split(" ")){let R=ct(z);R!==void 0&&(!C||R.startTime<C.startTime)&&(C=R)}if(C)return C.startTime;let W=new Date;return W.setHours(0,0,0,0),W}let b=(0,Q.default)(n,s.trim(),!0);if(b.isValid())return a&&(b=b.add(1,"d")),b.toDate();let D=(0,Q.default)(t),[S,P]=Be(n);if(!Number.isNaN(S)){let C=D.add(S,P);C.isValid()&&(D=C)}return D.toDate()},"getEndDate"),wt=0,mt=c(function(t){return t===void 0?(wt=wt+1,"task"+wt):t},"parseId"),Si=c(function(t,s){let n;s.substr(0,1)===":"?n=s.substr(1,s.length):n=s;let a=n.split(","),r={};re(a,r,ze);for(let b=0;b<a.length;b++)a[b]=a[b].trim();let u="";switch(a.length){case 1:r.id=mt(),r.startTime=t.endTime,u=a[0];break;case 2:r.id=mt(),r.startTime=Xt(void 0,J,a[0]),u=a[1];break;case 3:r.id=mt(a[0]),r.startTime=Xt(void 0,J,a[1]),u=a[2];break;default:}return u&&(r.endTime=Ge(r.startTime,J,u,vt),r.manualEndTime=(0,Q.default)(u,"YYYY-MM-DD",!0).isValid(),je(r,J,pt,gt)),r},"compileData"),Ci=c(function(t,s){let n;s.substr(0,1)===":"?n=s.substr(1,s.length):n=s;let a=n.split(","),r={};re(a,r,ze);for(let u=0;u<a.length;u++)a[u]=a[u].trim();switch(a.length){case 1:r.id=mt(),r.startTime={type:"prevTaskEnd",id:t},r.endTime={data:a[0]};break;case 2:r.id=mt(),r.startTime={type:"getStartDate",startData:a[0]},r.endTime={data:a[1]};break;case 3:r.id=mt(a[0]),r.startTime={type:"getStartDate",startData:a[1]},r.endTime={data:a[2]};break;default:}return r},"parseData"),Ut,_t,B=[],Xe={},Mi=c(function(t,s){let n={section:kt,type:kt,processed:!1,manualEndTime:!1,renderEndTime:null,raw:{data:s},task:t,classes:[]},a=Ci(_t,s);n.raw.startTime=a.startTime,n.raw.endTime=a.endTime,n.id=a.id,n.prevTaskId=_t,n.active=a.active,n.done=a.done,n.crit=a.crit,n.milestone=a.milestone,n.vert=a.vert,n.order=Gt,Gt++;let r=B.push(n);_t=n.id,Xe[n.id]=r-1},"addTask"),ct=c(function(t){let s=Xe[t];return B[s]},"findTaskById"),Ei=c(function(t,s){let n={section:kt,type:kt,description:t,task:t,classes:[]},a=Si(Ut,s);n.startTime=a.startTime,n.endTime=a.endTime,n.id=a.id,n.active=a.active,n.done=a.done,n.crit=a.crit,n.milestone=a.milestone,n.vert=a.vert,Ut=n,Dt.push(n)},"addTaskOrg"),Oe=c(function(){let t=c(function(n){let a=B[n],r="";switch(B[n].raw.startTime.type){case"prevTaskEnd":{let u=ct(a.prevTaskId);a.startTime=u.endTime;break}case"getStartDate":r=Xt(void 0,J,B[n].raw.startTime.startData),r&&(B[n].startTime=r);break}return B[n].startTime&&(B[n].endTime=Ge(B[n].startTime,J,B[n].raw.endTime.data,vt),B[n].endTime&&(B[n].processed=!0,B[n].manualEndTime=(0,Q.default)(B[n].raw.endTime.data,"YYYY-MM-DD",!0).isValid(),je(B[n],J,pt,gt))),B[n].processed},"compileTask"),s=!0;for(let[n,a]of B.entries())t(n),s=s&&a.processed;return s},"compileTasks"),Ii=c(function(t,s){let n=s;ot().securityLevel!=="loose"&&(n=(0,Pe.sanitizeUrl)(s)),t.split(",").forEach(function(a){ct(a)!==void 0&&(qe(a,()=>{window.open(n,"_self")}),Kt.set(a,n))}),Ue(t,"clickable")},"setLink"),Ue=c(function(t,s){t.split(",").forEach(function(n){let a=ct(n);a!==void 0&&a.classes.push(s)})},"setClass"),Li=c(function(t,s,n){if(ot().securityLevel!=="loose"||s===void 0)return;let a=[];if(typeof n=="string"){a=n.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let u=0;u<a.length;u++){let b=a[u].trim();b.startsWith('"')&&b.endsWith('"')&&(b=b.substr(1,b.length-2)),a[u]=b}}a.length===0&&a.push(t),ct(t)!==void 0&&qe(t,()=>{Ie.runFunc(s,...a)})},"setClickFun"),qe=c(function(t,s){ee.push(function(){let n=document.querySelector(`[id="${t}"]`);n!==null&&n.addEventListener("click",function(){s()})},function(){let n=document.querySelector(`[id="${t}-text"]`);n!==null&&n.addEventListener("click",function(){s()})})},"pushFun"),Yi=c(function(t,s,n){t.split(",").forEach(function(a){Li(a,s,n)}),Ue(t,"clickable")},"setClickEvent"),$i=c(function(t){ee.forEach(function(s){s(t)})},"bindFunctions"),Ai={getConfig:c(()=>ot().gantt,"getConfig"),clear:Je,setDateFormat:ai,getDateFormat:hi,enableInclusiveEndDates:oi,endDatesAreInclusive:ci,enableTopAxis:li,topAxisEnabled:ui,setAxisFormat:ti,getAxisFormat:ei,setTickInterval:ii,getTickInterval:si,setTodayMarker:ri,getTodayMarker:ni,setAccTitle:ue,getAccTitle:de,setDiagramTitle:me,getDiagramTitle:ke,setDisplayMode:di,getDisplayMode:fi,setAccDescription:fe,getAccDescription:he,addSection:vi,getSections:Ti,getTasks:bi,addTask:Mi,findTaskById:ct,addTaskOrg:Ei,setIncludes:mi,getIncludes:ki,setExcludes:yi,getExcludes:gi,setClickEvent:Yi,setLink:Ii,getLinks:pi,bindFunctions:$i,parseDuration:Be,isInvalidDate:He,setWeekday:xi,getWeekday:wi,setWeekend:_i};function re(t,s,n){let a=!0;for(;a;)a=!1,n.forEach(function(r){let u="^\\s*"+r+"\\s*$",b=new RegExp(u);t[0].match(b)&&(s[r]=!0,t.shift(1),a=!0)})}c(re,"getTaskTags");ht.default.extend(Ze.default);var Fi=c(function(){it.debug("Something is calling, setConf, remove the call")},"setConf"),We={monday:we,tuesday:_e,wednesday:De,thursday:Se,friday:Ce,saturday:Me,sunday:xe},Oi=c((t,s)=>{let n=[...t].map(()=>-1/0),a=[...t].sort((u,b)=>u.startTime-b.startTime||u.order-b.order),r=0;for(let u of a)for(let b=0;b<n.length;b++)if(u.startTime>=n[b]){n[b]=u.endTime,u.order=b+s,b>r&&(r=b);break}return r},"getMaxIntersections"),et,jt=1e4,Wi=c(function(t,s,n,a){let r=ot().gantt,u=ot().securityLevel,b;u==="sandbox"&&(b=yt("#i"+s));let D=u==="sandbox"?yt(b.nodes()[0].contentDocument.body):yt("body"),S=u==="sandbox"?b.nodes()[0].contentDocument:document,P=S.getElementById(s);et=P.parentElement.offsetWidth,et===void 0&&(et=1200),r.useWidth!==void 0&&(et=r.useWidth);let C=a.db.getTasks(),W=[];for(let f of C)W.push(f.type);W=$(W);let z={},R=2*r.topPadding;if(a.db.getDisplayMode()==="compact"||r.displayMode==="compact"){let f={};for(let g of C)f[g.section]===void 0?f[g.section]=[g]:f[g.section].push(g);let y=0;for(let g of Object.keys(f)){let T=Oi(f[g],y)+1;y+=T,R+=T*(r.barHeight+r.barGap),z[g]=T}}else{R+=C.length*(r.barHeight+r.barGap);for(let f of W)z[f]=C.filter(y=>y.type===f).length}P.setAttribute("viewBox","0 0 "+et+" "+R);let x=D.select(`[id="${s}"]`),k=Ee().domain([ge(C,function(f){return f.startTime}),ye(C,function(f){return f.endTime})]).rangeRound([0,et-r.leftPadding-r.rightPadding]);function F(f,y){let g=f.startTime,T=y.startTime,p=0;return g>T?p=1:g<T&&(p=-1),p}c(F,"taskCompare"),C.sort(F),Y(C,et,R),ce(x,R,et,r.useMaxWidth),x.append("text").text(a.db.getDiagramTitle()).attr("x",et/2).attr("y",r.titleTopMargin).attr("class","titleText");function Y(f,y,g){let T=r.barHeight,p=T+r.barGap,o=r.topPadding,l=r.leftPadding,h=be().domain([0,W.length]).range(["#00B9FA","#F95002"]).interpolate(Te);X(p,o,l,y,g,f,a.db.getExcludes(),a.db.getIncludes()),v(l,o,y,g),G(f,p,o,l,T,h,y,g),d(p,o,l,T,h),M(l,o,y,g)}c(Y,"makeGantt");function G(f,y,g,T,p,o,l){f.sort((e,_)=>e.vert===_.vert?0:e.vert?1:-1);let m=[...new Set(f.map(e=>e.order))].map(e=>f.find(_=>_.order===e));x.append("g").selectAll("rect").data(m).enter().append("rect").attr("x",0).attr("y",function(e,_){return _=e.order,_*y+g-2}).attr("width",function(){return l-r.rightPadding/2}).attr("height",y).attr("class",function(e){for(let[_,A]of W.entries())if(e.type===A)return"section section"+_%r.numberSectionStyles;return"section section0"}).enter();let w=x.append("g").selectAll("rect").data(f).enter(),i=a.db.getLinks();if(w.append("rect").attr("id",function(e){return e.id}).attr("rx",3).attr("ry",3).attr("x",function(e){return e.milestone?k(e.startTime)+T+.5*(k(e.endTime)-k(e.startTime))-.5*p:k(e.startTime)+T}).attr("y",function(e,_){return _=e.order,e.vert?r.gridLineStartPadding:_*y+g}).attr("width",function(e){return e.milestone?p:e.vert?.08*p:k(e.renderEndTime||e.endTime)-k(e.startTime)}).attr("height",function(e){return e.vert?C.length*(r.barHeight+r.barGap)+r.barHeight*2:p}).attr("transform-origin",function(e,_){return _=e.order,(k(e.startTime)+T+.5*(k(e.endTime)-k(e.startTime))).toString()+"px "+(_*y+g+.5*p).toString()+"px"}).attr("class",function(e){let _="task",A="";e.classes.length>0&&(A=e.classes.join(" "));let I=0;for(let[H,V]of W.entries())e.type===V&&(I=H%r.numberSectionStyles);let L="";return e.active?e.crit?L+=" activeCrit":L=" active":e.done?e.crit?L=" doneCrit":L=" done":e.crit&&(L+=" crit"),L.length===0&&(L=" task"),e.milestone&&(L=" milestone "+L),e.vert&&(L=" vert "+L),L+=I,L+=" "+A,_+L}),w.append("text").attr("id",function(e){return e.id+"-text"}).text(function(e){return e.task}).attr("font-size",r.fontSize).attr("x",function(e){let _=k(e.startTime),A=k(e.renderEndTime||e.endTime);if(e.milestone&&(_+=.5*(k(e.endTime)-k(e.startTime))-.5*p,A=_+p),e.vert)return k(e.startTime)+T;let I=this.getBBox().width;return I>A-_?A+I+1.5*r.leftPadding>l?_+T-5:A+T+5:(A-_)/2+_+T}).attr("y",function(e,_){return e.vert?r.gridLineStartPadding+C.length*(r.barHeight+r.barGap)+60:(_=e.order,_*y+r.barHeight/2+(r.fontSize/2-2)+g)}).attr("text-height",p).attr("class",function(e){let _=k(e.startTime),A=k(e.endTime);e.milestone&&(A=_+p);let I=this.getBBox().width,L="";e.classes.length>0&&(L=e.classes.join(" "));let H=0;for(let[N,U]of W.entries())e.type===U&&(H=N%r.numberSectionStyles);let V="";return e.active&&(e.crit?V="activeCritText"+H:V="activeText"+H),e.done?e.crit?V=V+" doneCritText"+H:V=V+" doneText"+H:e.crit&&(V=V+" critText"+H),e.milestone&&(V+=" milestoneText"),e.vert&&(V+=" vertText"),I>A-_?A+I+1.5*r.leftPadding>l?L+" taskTextOutsideLeft taskTextOutside"+H+" "+V:L+" taskTextOutsideRight taskTextOutside"+H+" "+V+" width-"+I:L+" taskText taskText"+H+" "+V+" width-"+I}),ot().securityLevel==="sandbox"){let e;e=yt("#i"+s);let _=e.nodes()[0].contentDocument;w.filter(function(A){return i.has(A.id)}).each(function(A){var I=_.querySelector("#"+A.id),L=_.querySelector("#"+A.id+"-text");let H=I.parentNode;var V=_.createElement("a");V.setAttribute("xlink:href",i.get(A.id)),V.setAttribute("target","_top"),H.appendChild(V),V.appendChild(I),V.appendChild(L)})}}c(G,"drawRects");function X(f,y,g,T,p,o,l,h){if(l.length===0&&h.length===0)return;let m,w;for(let{startTime:I,endTime:L}of o)(m===void 0||I<m)&&(m=I),(w===void 0||L>w)&&(w=L);if(!m||!w)return;if((0,ht.default)(w).diff((0,ht.default)(m),"year")>5){it.warn("The difference between the min and max time is more than 5 years. This will cause performance issues. Skipping drawing exclude days.");return}let i=a.db.getDateFormat(),O=[],e=null,_=(0,ht.default)(m);for(;_.valueOf()<=w;)a.db.isInvalidDate(_,i,l,h)?e?e.end=_:e={start:_,end:_}:e&&(O.push(e),e=null),_=_.add(1,"d");x.append("g").selectAll("rect").data(O).enter().append("rect").attr("id",I=>"exclude-"+I.start.format("YYYY-MM-DD")).attr("x",I=>k(I.start.startOf("day"))+g).attr("y",r.gridLineStartPadding).attr("width",I=>k(I.end.endOf("day"))-k(I.start.startOf("day"))).attr("height",p-y-r.gridLineStartPadding).attr("transform-origin",function(I,L){return(k(I.start)+g+.5*(k(I.end)-k(I.start))).toString()+"px "+(L*f+.5*p).toString()+"px"}).attr("class","exclude-range")}c(X,"drawExcludeDays");function E(f,y,g,T){if(g<=0||f>y)return 1/0;let p=y-f,o=ht.default.duration({[T??"day"]:g}).asMilliseconds();return o<=0?1/0:Math.ceil(p/o)}c(E,"getEstimatedTickCount");function v(f,y,g,T){let p=a.db.getDateFormat(),o=a.db.getAxisFormat(),l;o?l=o:p==="D"?l="%d":l=r.axisFormat??"%Y-%m-%d";let h=ve(k).tickSize(-T+y+r.gridLineStartPadding).tickFormat(Ft(l)),w=/^([1-9]\d*)(millisecond|second|minute|hour|day|week|month)$/.exec(a.db.getTickInterval()||r.tickInterval);if(w!==null){let i=parseInt(w[1],10);if(isNaN(i)||i<=0)it.warn(`Invalid tick interval value: "${w[1]}". Skipping custom tick interval.`);else{let O=w[2],e=a.db.getWeekday()||r.weekday,_=k.domain(),A=_[0],I=_[1],L=E(A,I,i,O);if(L>jt)it.warn(`The tick interval "${i}${O}" would generate ${L} ticks, which exceeds the maximum allowed (${jt}). This may indicate an invalid date or time range. Skipping custom tick interval.`);else switch(O){case"millisecond":h.ticks(Et.every(i));break;case"second":h.ticks(It.every(i));break;case"minute":h.ticks(Lt.every(i));break;case"hour":h.ticks(Yt.every(i));break;case"day":h.ticks($t.every(i));break;case"week":h.ticks(We[e].every(i));break;case"month":h.ticks(At.every(i));break}}}if(x.append("g").attr("class","grid").attr("transform","translate("+f+", "+(T-50)+")").call(h).selectAll("text").style("text-anchor","middle").attr("fill","#000").attr("stroke","none").attr("font-size",10).attr("dy","1em"),a.db.topAxisEnabled()||r.topAxis){let i=pe(k).tickSize(-T+y+r.gridLineStartPadding).tickFormat(Ft(l));if(w!==null){let O=parseInt(w[1],10);if(isNaN(O)||O<=0)it.warn(`Invalid tick interval value: "${w[1]}". Skipping custom tick interval.`);else{let e=w[2],_=a.db.getWeekday()||r.weekday,A=k.domain(),I=A[0],L=A[1];if(E(I,L,O,e)<=jt)switch(e){case"millisecond":i.ticks(Et.every(O));break;case"second":i.ticks(It.every(O));break;case"minute":i.ticks(Lt.every(O));break;case"hour":i.ticks(Yt.every(O));break;case"day":i.ticks($t.every(O));break;case"week":i.ticks(We[_].every(O));break;case"month":i.ticks(At.every(O));break}}}x.append("g").attr("class","grid").attr("transform","translate("+f+", "+y+")").call(i).selectAll("text").style("text-anchor","middle").attr("fill","#000").attr("stroke","none").attr("font-size",10)}}c(v,"makeGrid");function d(f,y){let g=0,T=Object.keys(z).map(p=>[p,z[p]]);x.append("g").selectAll("text").data(T).enter().append(function(p){let o=p[0].split(oe.lineBreakRegex),l=-(o.length-1)/2,h=S.createElementNS("http://www.w3.org/2000/svg","text");h.setAttribute("dy",l+"em");for(let[m,w]of o.entries()){let i=S.createElementNS("http://www.w3.org/2000/svg","tspan");i.setAttribute("alignment-baseline","central"),i.setAttribute("x","10"),m>0&&i.setAttribute("dy","1em"),i.textContent=w,h.appendChild(i)}return h}).attr("x",10).attr("y",function(p,o){if(o>0)for(let l=0;l<o;l++)return g+=T[o-1][1],p[1]*f/2+g*f+y;else return p[1]*f/2+y}).attr("font-size",r.sectionFontSize).attr("class",function(p){for(let[o,l]of W.entries())if(p[0]===l)return"sectionTitle sectionTitle"+o%r.numberSectionStyles;return"sectionTitle"})}c(d,"vertLabels");function M(f,y,g,T){let p=a.db.getTodayMarker();if(p==="off")return;let o=x.append("g").attr("class","today"),l=new Date,h=o.append("line");h.attr("x1",k(l)+f).attr("x2",k(l)+f).attr("y1",r.titleTopMargin).attr("y2",T-r.titleTopMargin).attr("class","today"),p!==""&&h.attr("style",p.replace(/,/g,";"))}c(M,"drawToday");function $(f){let y={},g=[];for(let T=0,p=f.length;T<p;++T)Object.prototype.hasOwnProperty.call(y,f[T])||(y[f[T]]=!0,g.push(f[T]));return g}c($,"checkUnique")},"draw"),Pi={setConf:Fi,draw:Wi},Vi=c(t=>`
7
+ .mermaid-main-font {
8
+ font-family: ${t.fontFamily};
9
+ }
10
+
11
+ .exclude-range {
12
+ fill: ${t.excludeBkgColor};
13
+ }
14
+
15
+ .section {
16
+ stroke: none;
17
+ opacity: 0.2;
18
+ }
19
+
20
+ .section0 {
21
+ fill: ${t.sectionBkgColor};
22
+ }
23
+
24
+ .section2 {
25
+ fill: ${t.sectionBkgColor2};
26
+ }
27
+
28
+ .section1,
29
+ .section3 {
30
+ fill: ${t.altSectionBkgColor};
31
+ opacity: 0.2;
32
+ }
33
+
34
+ .sectionTitle0 {
35
+ fill: ${t.titleColor};
36
+ }
37
+
38
+ .sectionTitle1 {
39
+ fill: ${t.titleColor};
40
+ }
41
+
42
+ .sectionTitle2 {
43
+ fill: ${t.titleColor};
44
+ }
45
+
46
+ .sectionTitle3 {
47
+ fill: ${t.titleColor};
48
+ }
49
+
50
+ .sectionTitle {
51
+ text-anchor: start;
52
+ font-family: ${t.fontFamily};
53
+ }
54
+
55
+
56
+ /* Grid and axis */
57
+
58
+ .grid .tick {
59
+ stroke: ${t.gridColor};
60
+ opacity: 0.8;
61
+ shape-rendering: crispEdges;
62
+ }
63
+
64
+ .grid .tick text {
65
+ font-family: ${t.fontFamily};
66
+ fill: ${t.textColor};
67
+ }
68
+
69
+ .grid path {
70
+ stroke-width: 0;
71
+ }
72
+
73
+
74
+ /* Today line */
75
+
76
+ .today {
77
+ fill: none;
78
+ stroke: ${t.todayLineColor};
79
+ stroke-width: 2px;
80
+ }
81
+
82
+
83
+ /* Task styling */
84
+
85
+ /* Default task */
86
+
87
+ .task {
88
+ stroke-width: 2;
89
+ }
90
+
91
+ .taskText {
92
+ text-anchor: middle;
93
+ font-family: ${t.fontFamily};
94
+ }
95
+
96
+ .taskTextOutsideRight {
97
+ fill: ${t.taskTextDarkColor};
98
+ text-anchor: start;
99
+ font-family: ${t.fontFamily};
100
+ }
101
+
102
+ .taskTextOutsideLeft {
103
+ fill: ${t.taskTextDarkColor};
104
+ text-anchor: end;
105
+ }
106
+
107
+
108
+ /* Special case clickable */
109
+
110
+ .task.clickable {
111
+ cursor: pointer;
112
+ }
113
+
114
+ .taskText.clickable {
115
+ cursor: pointer;
116
+ fill: ${t.taskTextClickableColor} !important;
117
+ font-weight: bold;
118
+ }
119
+
120
+ .taskTextOutsideLeft.clickable {
121
+ cursor: pointer;
122
+ fill: ${t.taskTextClickableColor} !important;
123
+ font-weight: bold;
124
+ }
125
+
126
+ .taskTextOutsideRight.clickable {
127
+ cursor: pointer;
128
+ fill: ${t.taskTextClickableColor} !important;
129
+ font-weight: bold;
130
+ }
131
+
132
+
133
+ /* Specific task settings for the sections*/
134
+
135
+ .taskText0,
136
+ .taskText1,
137
+ .taskText2,
138
+ .taskText3 {
139
+ fill: ${t.taskTextColor};
140
+ }
141
+
142
+ .task0,
143
+ .task1,
144
+ .task2,
145
+ .task3 {
146
+ fill: ${t.taskBkgColor};
147
+ stroke: ${t.taskBorderColor};
148
+ }
149
+
150
+ .taskTextOutside0,
151
+ .taskTextOutside2
152
+ {
153
+ fill: ${t.taskTextOutsideColor};
154
+ }
155
+
156
+ .taskTextOutside1,
157
+ .taskTextOutside3 {
158
+ fill: ${t.taskTextOutsideColor};
159
+ }
160
+
161
+
162
+ /* Active task */
163
+
164
+ .active0,
165
+ .active1,
166
+ .active2,
167
+ .active3 {
168
+ fill: ${t.activeTaskBkgColor};
169
+ stroke: ${t.activeTaskBorderColor};
170
+ }
171
+
172
+ .activeText0,
173
+ .activeText1,
174
+ .activeText2,
175
+ .activeText3 {
176
+ fill: ${t.taskTextDarkColor} !important;
177
+ }
178
+
179
+
180
+ /* Completed task */
181
+
182
+ .done0,
183
+ .done1,
184
+ .done2,
185
+ .done3 {
186
+ stroke: ${t.doneTaskBorderColor};
187
+ fill: ${t.doneTaskBkgColor};
188
+ stroke-width: 2;
189
+ }
190
+
191
+ .doneText0,
192
+ .doneText1,
193
+ .doneText2,
194
+ .doneText3 {
195
+ fill: ${t.taskTextDarkColor} !important;
196
+ }
197
+
198
+ /* Done task text displayed outside the bar sits against the diagram background,
199
+ not against the done-task bar, so it must use the outside/contrast color. */
200
+ .doneText0.taskTextOutsideLeft,
201
+ .doneText0.taskTextOutsideRight,
202
+ .doneText1.taskTextOutsideLeft,
203
+ .doneText1.taskTextOutsideRight,
204
+ .doneText2.taskTextOutsideLeft,
205
+ .doneText2.taskTextOutsideRight,
206
+ .doneText3.taskTextOutsideLeft,
207
+ .doneText3.taskTextOutsideRight {
208
+ fill: ${t.taskTextOutsideColor} !important;
209
+ }
210
+
211
+
212
+ /* Tasks on the critical line */
213
+
214
+ .crit0,
215
+ .crit1,
216
+ .crit2,
217
+ .crit3 {
218
+ stroke: ${t.critBorderColor};
219
+ fill: ${t.critBkgColor};
220
+ stroke-width: 2;
221
+ }
222
+
223
+ .activeCrit0,
224
+ .activeCrit1,
225
+ .activeCrit2,
226
+ .activeCrit3 {
227
+ stroke: ${t.critBorderColor};
228
+ fill: ${t.activeTaskBkgColor};
229
+ stroke-width: 2;
230
+ }
231
+
232
+ .doneCrit0,
233
+ .doneCrit1,
234
+ .doneCrit2,
235
+ .doneCrit3 {
236
+ stroke: ${t.critBorderColor};
237
+ fill: ${t.doneTaskBkgColor};
238
+ stroke-width: 2;
239
+ cursor: pointer;
240
+ shape-rendering: crispEdges;
241
+ }
242
+
243
+ .milestone {
244
+ transform: rotate(45deg) scale(0.8,0.8);
245
+ }
246
+
247
+ .milestoneText {
248
+ font-style: italic;
249
+ }
250
+ .doneCritText0,
251
+ .doneCritText1,
252
+ .doneCritText2,
253
+ .doneCritText3 {
254
+ fill: ${t.taskTextDarkColor} !important;
255
+ }
256
+
257
+ /* Done-crit task text outside the bar \u2014 same reasoning as doneText above. */
258
+ .doneCritText0.taskTextOutsideLeft,
259
+ .doneCritText0.taskTextOutsideRight,
260
+ .doneCritText1.taskTextOutsideLeft,
261
+ .doneCritText1.taskTextOutsideRight,
262
+ .doneCritText2.taskTextOutsideLeft,
263
+ .doneCritText2.taskTextOutsideRight,
264
+ .doneCritText3.taskTextOutsideLeft,
265
+ .doneCritText3.taskTextOutsideRight {
266
+ fill: ${t.taskTextOutsideColor} !important;
267
+ }
268
+
269
+ .vert {
270
+ stroke: ${t.vertLineColor};
271
+ }
272
+
273
+ .vertText {
274
+ font-size: 15px;
275
+ text-anchor: middle;
276
+ fill: ${t.vertLineColor} !important;
277
+ }
278
+
279
+ .activeCritText0,
280
+ .activeCritText1,
281
+ .activeCritText2,
282
+ .activeCritText3 {
283
+ fill: ${t.taskTextDarkColor} !important;
284
+ }
285
+
286
+ .titleText {
287
+ text-anchor: middle;
288
+ font-size: 18px;
289
+ fill: ${t.titleColor||t.textColor};
290
+ font-family: ${t.fontFamily};
291
+ }
292
+ `,"getStyles"),Ni=Vi,Gi={parser:Ke,db:Ai,renderer:Pi,styles:Ni};export{Gi as diagram};
@@ -0,0 +1 @@
1
+ import"./chunk-775E65SU.js";function v(r){var u=[],b="",o={".abort":"builtin",".align":"builtin",".altmacro":"builtin",".ascii":"builtin",".asciz":"builtin",".balign":"builtin",".balignw":"builtin",".balignl":"builtin",".bundle_align_mode":"builtin",".bundle_lock":"builtin",".bundle_unlock":"builtin",".byte":"builtin",".cfi_startproc":"builtin",".comm":"builtin",".data":"builtin",".def":"builtin",".desc":"builtin",".dim":"builtin",".double":"builtin",".eject":"builtin",".else":"builtin",".elseif":"builtin",".end":"builtin",".endef":"builtin",".endfunc":"builtin",".endif":"builtin",".equ":"builtin",".equiv":"builtin",".eqv":"builtin",".err":"builtin",".error":"builtin",".exitm":"builtin",".extern":"builtin",".fail":"builtin",".file":"builtin",".fill":"builtin",".float":"builtin",".func":"builtin",".global":"builtin",".gnu_attribute":"builtin",".hidden":"builtin",".hword":"builtin",".ident":"builtin",".if":"builtin",".incbin":"builtin",".include":"builtin",".int":"builtin",".internal":"builtin",".irp":"builtin",".irpc":"builtin",".lcomm":"builtin",".lflags":"builtin",".line":"builtin",".linkonce":"builtin",".list":"builtin",".ln":"builtin",".loc":"builtin",".loc_mark_labels":"builtin",".local":"builtin",".long":"builtin",".macro":"builtin",".mri":"builtin",".noaltmacro":"builtin",".nolist":"builtin",".octa":"builtin",".offset":"builtin",".org":"builtin",".p2align":"builtin",".popsection":"builtin",".previous":"builtin",".print":"builtin",".protected":"builtin",".psize":"builtin",".purgem":"builtin",".pushsection":"builtin",".quad":"builtin",".reloc":"builtin",".rept":"builtin",".sbttl":"builtin",".scl":"builtin",".section":"builtin",".set":"builtin",".short":"builtin",".single":"builtin",".size":"builtin",".skip":"builtin",".sleb128":"builtin",".space":"builtin",".stab":"builtin",".string":"builtin",".struct":"builtin",".subsection":"builtin",".symver":"builtin",".tag":"builtin",".text":"builtin",".title":"builtin",".type":"builtin",".uleb128":"builtin",".val":"builtin",".version":"builtin",".vtable_entry":"builtin",".vtable_inherit":"builtin",".warning":"builtin",".weak":"builtin",".weakref":"builtin",".word":"builtin"},i={};function p(){b="#",i.al="variable",i.ah="variable",i.ax="variable",i.eax="variableName.special",i.rax="variableName.special",i.bl="variable",i.bh="variable",i.bx="variable",i.ebx="variableName.special",i.rbx="variableName.special",i.cl="variable",i.ch="variable",i.cx="variable",i.ecx="variableName.special",i.rcx="variableName.special",i.dl="variable",i.dh="variable",i.dx="variable",i.edx="variableName.special",i.rdx="variableName.special",i.si="variable",i.esi="variableName.special",i.rsi="variableName.special",i.di="variable",i.edi="variableName.special",i.rdi="variableName.special",i.sp="variable",i.esp="variableName.special",i.rsp="variableName.special",i.bp="variable",i.ebp="variableName.special",i.rbp="variableName.special",i.ip="variable",i.eip="variableName.special",i.rip="variableName.special",i.cs="keyword",i.ds="keyword",i.ss="keyword",i.es="keyword",i.fs="keyword",i.gs="keyword"}function f(){b="@",o.syntax="builtin",i.r0="variable",i.r1="variable",i.r2="variable",i.r3="variable",i.r4="variable",i.r5="variable",i.r6="variable",i.r7="variable",i.r8="variable",i.r9="variable",i.r10="variable",i.r11="variable",i.r12="variable",i.sp="variableName.special",i.lr="variableName.special",i.pc="variableName.special",i.r13=i.sp,i.r14=i.lr,i.r15=i.pc,u.push(function(l,n){if(l==="#")return n.eatWhile(/\w/),"number"})}r==="x86"?p():(r==="arm"||r==="armv6")&&f();function d(l,n){for(var e=!1,a;(a=l.next())!=null;){if(a===n&&!e)return!1;e=!e&&a==="\\"}return e}function s(l,n){for(var e=!1,a;(a=l.next())!=null;){if(a==="/"&&e){n.tokenize=null;break}e=a==="*"}return"comment"}return{name:"gas",startState:function(){return{tokenize:null}},token:function(l,n){if(n.tokenize)return n.tokenize(l,n);if(l.eatSpace())return null;var e,a,t=l.next();if(t==="/"&&l.eat("*"))return n.tokenize=s,s(l,n);if(t===b)return l.skipToEnd(),"comment";if(t==='"')return d(l,'"'),"string";if(t===".")return l.eatWhile(/\w/),a=l.current().toLowerCase(),e=o[a],e||null;if(t==="=")return l.eatWhile(/\w/),"tag";if(t==="{"||t==="}")return"bracket";if(/\d/.test(t))return t==="0"&&l.eat("x")?(l.eatWhile(/[0-9a-fA-F]/),"number"):(l.eatWhile(/\d/),"number");if(/\w/.test(t))return l.eatWhile(/\w/),l.eat(":")?"tag":(a=l.current().toLowerCase(),e=i[a],e||null);for(var c=0;c<u.length;c++)if(e=u[c](t,l,n),e)return e},languageData:{commentTokens:{line:b,block:{open:"/*",close:"*/"}}}}}var m=v("x86"),g=v("arm");export{m as gas,g as gasArm};
@@ -0,0 +1 @@
1
+ import"./chunk-775E65SU.js";var a={name:"gherkin",startState:function(){return{lineNumber:0,tableHeaderLine:!1,allowFeature:!0,allowBackground:!1,allowScenario:!1,allowSteps:!1,allowPlaceholders:!1,allowMultilineArgument:!1,inMultilineString:!1,inMultilineTable:!1,inKeywordLine:!1}},token:function(n,e){if(n.sol()&&(e.lineNumber++,e.inKeywordLine=!1,e.inMultilineTable&&(e.tableHeaderLine=!1,n.match(/\s*\|/,!1)||(e.allowMultilineArgument=!1,e.inMultilineTable=!1))),n.eatSpace(),e.allowMultilineArgument){if(e.inMultilineString)return n.match('"""')?(e.inMultilineString=!1,e.allowMultilineArgument=!1):n.match(/.*/),"string";if(e.inMultilineTable)return n.match(/\|\s*/)?"bracket":(n.match(/[^\|]*/),e.tableHeaderLine?"header":"string");if(n.match('"""'))return e.inMultilineString=!0,"string";if(n.match("|"))return e.inMultilineTable=!0,e.tableHeaderLine=!0,"bracket"}return n.match(/#.*/)?"comment":!e.inKeywordLine&&n.match(/@\S+/)?"tag":!e.inKeywordLine&&e.allowFeature&&n.match(/(機能|功能|フィーチャ|기능|โครงหลัก|ความสามารถ|ความต้องการทางธุรกิจ|ಹೆಚ್ಚಳ|గుణము|ਮੁਹਾਂਦਰਾ|ਨਕਸ਼ ਨੁਹਾਰ|ਖਾਸੀਅਤ|रूप लेख|وِیژگی|خاصية|תכונה|Функціонал|Функция|Функционалност|Функционал|Үзенчәлеклелек|Свойство|Особина|Мөмкинлек|Могућност|Λειτουργία|Δυνατότητα|Właściwość|Vlastnosť|Trajto|Tính năng|Savybė|Pretty much|Požiadavka|Požadavek|Potrzeba biznesowa|Özellik|Osobina|Ominaisuus|Omadus|OH HAI|Mogućnost|Mogucnost|Jellemző|Hwæt|Hwaet|Funzionalità|Funktionalitéit|Funktionalität|Funkcja|Funkcionalnost|Funkcionalitāte|Funkcia|Fungsi|Functionaliteit|Funcționalitate|Funcţionalitate|Functionalitate|Funcionalitat|Funcionalidade|Fonctionnalité|Fitur|Fīča|Feature|Eiginleiki|Egenskap|Egenskab|Característica|Caracteristica|Business Need|Aspekt|Arwedd|Ahoy matey!|Ability):/)?(e.allowScenario=!0,e.allowBackground=!0,e.allowPlaceholders=!1,e.allowSteps=!1,e.allowMultilineArgument=!1,e.inKeywordLine=!0,"keyword"):!e.inKeywordLine&&e.allowBackground&&n.match(/(背景|배경|แนวคิด|ಹಿನ್ನೆಲೆ|నేపథ్యం|ਪਿਛੋਕੜ|पृष्ठभूमि|زمینه|الخلفية|רקע|Тарих|Предыстория|Предистория|Позадина|Передумова|Основа|Контекст|Кереш|Υπόβαθρο|Założenia|Yo\-ho\-ho|Tausta|Taust|Situācija|Rerefons|Pozadina|Pozadie|Pozadí|Osnova|Latar Belakang|Kontext|Konteksts|Kontekstas|Kontekst|Háttér|Hannergrond|Grundlage|Geçmiş|Fundo|Fono|First off|Dis is what went down|Dasar|Contexto|Contexte|Context|Contesto|Cenário de Fundo|Cenario de Fundo|Cefndir|Bối cảnh|Bakgrunnur|Bakgrunn|Bakgrund|Baggrund|Background|B4|Antecedents|Antecedentes|Ær|Aer|Achtergrond):/)?(e.allowPlaceholders=!1,e.allowSteps=!0,e.allowBackground=!1,e.allowMultilineArgument=!1,e.inKeywordLine=!0,"keyword"):!e.inKeywordLine&&e.allowScenario&&n.match(/(場景大綱|场景大纲|劇本大綱|剧本大纲|テンプレ|シナリオテンプレート|シナリオテンプレ|シナリオアウトライン|시나리오 개요|สรุปเหตุการณ์|โครงสร้างของเหตุการณ์|ವಿವರಣೆ|కథనం|ਪਟਕਥਾ ਰੂਪ ਰੇਖਾ|ਪਟਕਥਾ ਢਾਂਚਾ|परिदृश्य रूपरेखा|سيناريو مخطط|الگوی سناریو|תבנית תרחיש|Сценарийның төзелеше|Сценарий структураси|Структура сценарію|Структура сценария|Структура сценарија|Скица|Рамка на сценарий|Концепт|Περιγραφή Σεναρίου|Wharrimean is|Template Situai|Template Senario|Template Keadaan|Tapausaihio|Szenariogrundriss|Szablon scenariusza|Swa hwær swa|Swa hwaer swa|Struktura scenarija|Structură scenariu|Structura scenariu|Skica|Skenario konsep|Shiver me timbers|Senaryo taslağı|Schema dello scenario|Scenariomall|Scenariomal|Scenario Template|Scenario Outline|Scenario Amlinellol|Scenārijs pēc parauga|Scenarijaus šablonas|Reckon it's like|Raamstsenaarium|Plang vum Szenario|Plan du Scénario|Plan du scénario|Osnova scénáře|Osnova Scenára|Náčrt Scenáru|Náčrt Scénáře|Náčrt Scenára|MISHUN SRSLY|Menggariskan Senario|Lýsing Dæma|Lýsing Atburðarásar|Konturo de la scenaro|Koncept|Khung tình huống|Khung kịch bản|Forgatókönyv vázlat|Esquema do Cenário|Esquema do Cenario|Esquema del escenario|Esquema de l'escenari|Esbozo do escenario|Delineação do Cenário|Delineacao do Cenario|All y'all|Abstrakt Scenario|Abstract Scenario):/)?(e.allowPlaceholders=!0,e.allowSteps=!0,e.allowMultilineArgument=!1,e.inKeywordLine=!0,"keyword"):e.allowScenario&&n.match(/(例子|例|サンプル|예|ชุดของเหตุการณ์|ชุดของตัวอย่าง|ಉದಾಹರಣೆಗಳು|ఉదాహరణలు|ਉਦਾਹਰਨਾਂ|उदाहरण|نمونه ها|امثلة|דוגמאות|Үрнәкләр|Сценарији|Примеры|Примери|Приклади|Мисоллар|Мисаллар|Σενάρια|Παραδείγματα|You'll wanna|Voorbeelden|Variantai|Tapaukset|Se þe|Se the|Se ðe|Scenarios|Scenariji|Scenarijai|Przykłady|Primjeri|Primeri|Příklady|Príklady|Piemēri|Példák|Pavyzdžiai|Paraugs|Örnekler|Juhtumid|Exemplos|Exemples|Exemple|Exempel|EXAMPLZ|Examples|Esempi|Enghreifftiau|Ekzemploj|Eksempler|Ejemplos|Dữ liệu|Dead men tell no tales|Dæmi|Contoh|Cenários|Cenarios|Beispiller|Beispiele|Atburðarásir):/)?(e.allowPlaceholders=!1,e.allowSteps=!0,e.allowBackground=!1,e.allowMultilineArgument=!0,"keyword"):!e.inKeywordLine&&e.allowScenario&&n.match(/(場景|场景|劇本|剧本|シナリオ|시나리오|เหตุการณ์|ಕಥಾಸಾರಾಂಶ|సన్నివేశం|ਪਟਕਥਾ|परिदृश्य|سيناريو|سناریو|תרחיש|Сценарій|Сценарио|Сценарий|Пример|Σενάριο|Tình huống|The thing of it is|Tapaus|Szenario|Swa|Stsenaarium|Skenario|Situai|Senaryo|Senario|Scenaro|Scenariusz|Scenariu|Scénario|Scenario|Scenarijus|Scenārijs|Scenarij|Scenarie|Scénář|Scenár|Primer|MISHUN|Kịch bản|Keadaan|Heave to|Forgatókönyv|Escenario|Escenari|Cenário|Cenario|Awww, look mate|Atburðarás):/)?(e.allowPlaceholders=!1,e.allowSteps=!0,e.allowBackground=!1,e.allowMultilineArgument=!1,e.inKeywordLine=!0,"keyword"):!e.inKeywordLine&&e.allowSteps&&n.match(/(那麼|那么|而且|當|当|并且|同時|同时|前提|假设|假設|假定|假如|但是|但し|並且|もし|ならば|ただし|しかし|かつ|하지만|조건|먼저|만일|만약|단|그리고|그러면|และ |เมื่อ |แต่ |ดังนั้น |กำหนดให้ |ಸ್ಥಿತಿಯನ್ನು |ಮತ್ತು |ನೀಡಿದ |ನಂತರ |ಆದರೆ |మరియు |చెప్పబడినది |కాని |ఈ పరిస్థితిలో |అప్పుడు |ਪਰ |ਤਦ |ਜੇਕਰ |ਜਿਵੇਂ ਕਿ |ਜਦੋਂ |ਅਤੇ |यदि |परन्तु |पर |तब |तदा |तथा |जब |चूंकि |किन्तु |कदा |और |अगर |و |هنگامی |متى |لكن |عندما |ثم |بفرض |با فرض |اما |اذاً |آنگاه |כאשר |וגם |בהינתן |אזי |אז |אבל |Якщо |Һәм |Унда |Тоді |Тогда |То |Также |Та |Пусть |Припустимо, що |Припустимо |Онда |Но |Нехай |Нәтиҗәдә |Лекин |Ләкин |Коли |Когда |Когато |Када |Кад |К тому же |І |И |Задато |Задати |Задате |Если |Допустим |Дано |Дадено |Вә |Ва |Бирок |Әмма |Әйтик |Әгәр |Аммо |Али |Але |Агар |А також |А |Τότε |Όταν |Και |Δεδομένου |Αλλά |Þurh |Þegar |Þa þe |Þá |Þa |Zatati |Zakładając |Zadato |Zadate |Zadano |Zadani |Zadan |Za předpokladu |Za predpokladu |Youse know when youse got |Youse know like when |Yna |Yeah nah |Y'know |Y |Wun |Wtedy |When y'all |When |Wenn |WEN |wann |Ve |Và |Und |Un |ugeholl |Too right |Thurh |Thì |Then y'all |Then |Tha the |Tha |Tetapi |Tapi |Tak |Tada |Tad |Stel |Soit |Siis |Și |Şi |Si |Sed |Se |Så |Quando |Quand |Quan |Pryd |Potom |Pokud |Pokiaľ |Però |Pero |Pak |Oraz |Onda |Ond |Oletetaan |Og |Och |O zaman |Niin |Nhưng |När |Når |Mutta |Men |Mas |Maka |Majd |Mając |Mais |Maar |mä |Ma |Lorsque |Lorsqu'|Logo |Let go and haul |Kun |Kuid |Kui |Kiedy |Khi |Ketika |Kemudian |Keď |Když |Kaj |Kai |Kada |Kad |Jeżeli |Jeśli |Ja |It's just unbelievable |Ir |I CAN HAZ |I |Ha |Givun |Givet |Given y'all |Given |Gitt |Gegeven |Gegeben seien |Gegeben sei |Gdy |Gangway! |Fakat |Étant donnés |Etant donnés |Étant données |Etant données |Étant donnée |Etant donnée |Étant donné |Etant donné |Et |És |Entonces |Entón |Então |Entao |En |Eğer ki |Ef |Eeldades |E |Ðurh |Duota |Dun |Donitaĵo |Donat |Donada |Do |Diyelim ki |Diberi |Dengan |Den youse gotta |DEN |De |Dato |Dați fiind |Daţi fiind |Dati fiind |Dati |Date fiind |Date |Data |Dat fiind |Dar |Dann |dann |Dan |Dados |Dado |Dadas |Dada |Ða ðe |Ða |Cuando |Cho |Cando |Când |Cand |Cal |But y'all |But at the end of the day I reckon |BUT |But |Buh |Blimey! |Biết |Bet |Bagi |Aye |awer |Avast! |Atunci |Atesa |Atès |Apabila |Anrhegedig a |Angenommen |And y'all |And |AN |An |an |Amikor |Amennyiben |Ama |Als |Alors |Allora |Ali |Aleshores |Ale |Akkor |Ak |Adott |Ac |Aber |A zároveň |A tiež |A taktiež |A také |A |a |7 |\* )/)?(e.inStep=!0,e.allowPlaceholders=!0,e.allowMultilineArgument=!0,e.inKeywordLine=!0,"keyword"):n.match(/"[^"]*"?/)?"string":e.allowPlaceholders&&n.match(/<[^>]*>?/)?"variable":(n.next(),n.eatWhile(/[^@"<#]/),null)}};export{a as gherkin};
@@ -0,0 +1 @@
1
+ import{a as r,b as e}from"./chunk-ZZJX4LQ2.js";import"./chunk-4NKM6YFO.js";import"./chunk-I6PVWGBN.js";import"./chunk-PF6TP4EI.js";import"./chunk-4BCHPULB.js";import"./chunk-775E65SU.js";export{r as GitGraphModule,e as createGitGraphServices};
@@ -0,0 +1,65 @@
1
+ import{a as Q}from"./chunk-OHGDMMWM.js";import{a as te}from"./chunk-W7WJUTSA.js";import{a as ee}from"./chunk-B2J3PHGY.js";import"./chunk-4WGMPBK5.js";import"./chunk-S75BI2UQ.js";import"./chunk-WNXFO2F2.js";import"./chunk-ZZJX4LQ2.js";import"./chunk-B4JKB3BC.js";import"./chunk-GXRL27M7.js";import{f as V,l as J,m as X}from"./chunk-HVNNEPP5.js";import"./chunk-HOCBCDA5.js";import{A as _,M as C,R as N,S,T as z,U as j,V as F,W as K,X as Y,aa as Z,r as H}from"./chunk-PMOZMECZ.js";import{b as l,d as u,j as U}from"./chunk-M3EW4V74.js";import"./chunk-IZ3V3F2A.js";import"./chunk-4NKM6YFO.js";import"./chunk-I6PVWGBN.js";import"./chunk-PF6TP4EI.js";import"./chunk-4BCHPULB.js";import"./chunk-775E65SU.js";var x={NORMAL:0,REVERSE:1,HIGHLIGHT:2,MERGE:3,CHERRY_PICK:4},de=H.gitGraph,M=l(()=>J({...de,..._().gitGraph}),"getConfig"),n=new ee(()=>{let r=M(),e=r.mainBranchName,a=r.mainBranchOrder;return{mainBranchName:e,commits:new Map,head:null,branchConfig:new Map([[e,{name:e,order:a}]]),branches:new Map([[e,null]]),currBranch:e,direction:"LR",seq:0,options:{}}});function G(){return V({length:7})}l(G,"getID");function ae(r,e){let a=Object.create(null);return r.reduce((o,t)=>{let s=e(t);return a[s]||(a[s]=!0,o.push(t)),o},[])}l(ae,"uniqBy");var he=l(function(r){n.records.direction=r},"setDirection"),le=l(function(r){u.debug("options str",r),r=r?.trim(),r=r||"{}";try{n.records.options=JSON.parse(r)}catch(e){u.error("error while parsing gitGraph options",e.message)}},"setOptions"),me=l(function(){return n.records.options},"getOptions"),pe=l(function(r){let e=r.msg,a=r.id,o=r.type,t=r.tags;u.info("commit",e,a,o,t),u.debug("Entering commit:",e,a,o,t);let s=M();a=C.sanitizeText(a,s),e=C.sanitizeText(e,s),t=t?.map(d=>C.sanitizeText(d,s));let h={id:a||n.records.seq+"-"+G(),message:e,seq:n.records.seq++,type:o??x.NORMAL,tags:t??[],parents:n.records.head==null?[]:[n.records.head.id],branch:n.records.currBranch};n.records.head=h,u.info("main branch",s.mainBranchName),n.records.commits.has(h.id)&&u.warn(`Commit ID ${h.id} already exists`),n.records.commits.set(h.id,h),n.records.branches.set(n.records.currBranch,h.id),u.debug("in pushCommit "+h.id)},"commit"),ge=l(function(r){let e=r.name,a=r.order;if(e=C.sanitizeText(e,M()),n.records.branches.has(e))throw new Error(`Trying to create an existing branch. (Help: Either use a new name if you want create a new branch or try using "checkout ${e}")`);n.records.branches.set(e,n.records.head!=null?n.records.head.id:null),n.records.branchConfig.set(e,{name:e,order:a}),se(e),u.debug("in createBranch")},"branch"),fe=l(r=>{let e=r.branch,a=r.id,o=r.type,t=r.tags,s=M();e=C.sanitizeText(e,s),a&&(a=C.sanitizeText(a,s));let h=n.records.branches.get(n.records.currBranch),d=n.records.branches.get(e),c=h?n.records.commits.get(h):void 0,m=d?n.records.commits.get(d):void 0;if(c&&m&&c.branch===e)throw new Error(`Cannot merge branch '${e}' into itself.`);if(n.records.currBranch===e){let i=new Error('Incorrect usage of "merge". Cannot merge a branch to itself');throw i.hash={text:`merge ${e}`,token:`merge ${e}`,expected:["branch abc"]},i}if(c===void 0||!c){let i=new Error(`Incorrect usage of "merge". Current branch (${n.records.currBranch})has no commits`);throw i.hash={text:`merge ${e}`,token:`merge ${e}`,expected:["commit"]},i}if(!n.records.branches.has(e)){let i=new Error('Incorrect usage of "merge". Branch to be merged ('+e+") does not exist");throw i.hash={text:`merge ${e}`,token:`merge ${e}`,expected:[`branch ${e}`]},i}if(m===void 0||!m){let i=new Error('Incorrect usage of "merge". Branch to be merged ('+e+") has no commits");throw i.hash={text:`merge ${e}`,token:`merge ${e}`,expected:['"commit"']},i}if(c===m){let i=new Error('Incorrect usage of "merge". Both branches have same head');throw i.hash={text:`merge ${e}`,token:`merge ${e}`,expected:["branch abc"]},i}if(a&&n.records.commits.has(a)){let i=new Error('Incorrect usage of "merge". Commit with id:'+a+" already exists, use different custom id");throw i.hash={text:`merge ${e} ${a} ${o} ${t?.join(" ")}`,token:`merge ${e} ${a} ${o} ${t?.join(" ")}`,expected:[`merge ${e} ${a}_UNIQUE ${o} ${t?.join(" ")}`]},i}let p=d||"",f={id:a||`${n.records.seq}-${G()}`,message:`merged branch ${e} into ${n.records.currBranch}`,seq:n.records.seq++,parents:n.records.head==null?[]:[n.records.head.id,p],branch:n.records.currBranch,type:x.MERGE,customType:o,customId:!!a,tags:t??[]};n.records.head=f,n.records.commits.set(f.id,f),n.records.branches.set(n.records.currBranch,f.id),u.debug(n.records.branches),u.debug("in mergeBranch")},"merge"),ye=l(function(r){let e=r.id,a=r.targetId,o=r.tags,t=r.parent;u.debug("Entering cherryPick:",e,a,o);let s=M();if(e=C.sanitizeText(e,s),a=C.sanitizeText(a,s),o=o?.map(c=>C.sanitizeText(c,s)),t=C.sanitizeText(t,s),!e||!n.records.commits.has(e)){let c=new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');throw c.hash={text:`cherryPick ${e} ${a}`,token:`cherryPick ${e} ${a}`,expected:["cherry-pick abc"]},c}let h=n.records.commits.get(e);if(h===void 0||!h)throw new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');if(t&&!(Array.isArray(h.parents)&&h.parents.includes(t)))throw new Error("Invalid operation: The specified parent commit is not an immediate parent of the cherry-picked commit.");let d=h.branch;if(h.type===x.MERGE&&!t)throw new Error("Incorrect usage of cherry-pick: If the source commit is a merge commit, an immediate parent commit must be specified.");if(!a||!n.records.commits.has(a)){if(d===n.records.currBranch){let f=new Error('Incorrect usage of "cherryPick". Source commit is already on current branch');throw f.hash={text:`cherryPick ${e} ${a}`,token:`cherryPick ${e} ${a}`,expected:["cherry-pick abc"]},f}let c=n.records.branches.get(n.records.currBranch);if(c===void 0||!c){let f=new Error(`Incorrect usage of "cherry-pick". Current branch (${n.records.currBranch})has no commits`);throw f.hash={text:`cherryPick ${e} ${a}`,token:`cherryPick ${e} ${a}`,expected:["cherry-pick abc"]},f}let m=n.records.commits.get(c);if(m===void 0||!m){let f=new Error(`Incorrect usage of "cherry-pick". Current branch (${n.records.currBranch})has no commits`);throw f.hash={text:`cherryPick ${e} ${a}`,token:`cherryPick ${e} ${a}`,expected:["cherry-pick abc"]},f}let p={id:n.records.seq+"-"+G(),message:`cherry-picked ${h?.message} into ${n.records.currBranch}`,seq:n.records.seq++,parents:n.records.head==null?[]:[n.records.head.id,h.id],branch:n.records.currBranch,type:x.CHERRY_PICK,tags:o?o.filter(Boolean):[`cherry-pick:${h.id}${h.type===x.MERGE?`|parent:${t}`:""}`]};n.records.head=p,n.records.commits.set(p.id,p),n.records.branches.set(n.records.currBranch,p.id),u.debug(n.records.branches),u.debug("in cherryPick")}},"cherryPick"),se=l(function(r){if(r=C.sanitizeText(r,M()),n.records.branches.has(r)){n.records.currBranch=r;let e=n.records.branches.get(n.records.currBranch);e===void 0||!e?n.records.head=null:n.records.head=n.records.commits.get(e)??null}else{let e=new Error(`Trying to checkout branch which is not yet created. (Help try using "branch ${r}")`);throw e.hash={text:`checkout ${r}`,token:`checkout ${r}`,expected:[`branch ${r}`]},e}},"checkout");function D(r,e,a){let o=r.indexOf(e);o===-1?r.push(a):r.splice(o,1,a)}l(D,"upsert");function W(r){let e=r.reduce((t,s)=>t.seq>s.seq?t:s,r[0]),a="";r.forEach(function(t){t===e?a+=" *":a+=" |"});let o=[a,e.id,e.seq];for(let t in n.records.branches)n.records.branches.get(t)===e.id&&o.push(t);if(u.debug(o.join(" ")),e.parents&&e.parents.length==2&&e.parents[0]&&e.parents[1]){let t=n.records.commits.get(e.parents[0]);D(r,e,t),e.parents[1]&&r.push(n.records.commits.get(e.parents[1]))}else{if(e.parents.length==0)return;if(e.parents[0]){let t=n.records.commits.get(e.parents[0]);D(r,e,t)}}r=ae(r,t=>t.id),W(r)}l(W,"prettyPrintCommitHistory");var $e=l(function(){u.debug(n.records.commits);let r=oe()[0];W([r])},"prettyPrint"),xe=l(function(){n.reset(),N()},"clear"),ue=l(function(){return[...n.records.branchConfig.values()].map((e,a)=>e.order!==null&&e.order!==void 0?e:{...e,order:parseFloat(`0.${a}`)}).sort((e,a)=>(e.order??0)-(a.order??0)).map(({name:e})=>({name:e}))},"getBranchesAsObjArray"),be=l(function(){return n.records.branches},"getBranches"),we=l(function(){return n.records.commits},"getCommits"),oe=l(function(){let r=[...n.records.commits.values()];return r.forEach(function(e){u.debug(e.id)}),r.sort((e,a)=>e.seq-a.seq),r},"getCommitsArray"),Ce=l(function(){return n.records.currBranch},"getCurrentBranch"),Be=l(function(){return n.records.direction},"getDirection"),ve=l(function(){return n.records.head},"getHead"),ce={commitType:x,getConfig:M,setDirection:he,setOptions:le,getOptions:me,commit:pe,branch:ge,merge:fe,cherryPick:ye,checkout:se,prettyPrint:$e,clear:xe,getBranchesAsObjArray:ue,getBranches:be,getCommits:we,getCommitsArray:oe,getCurrentBranch:Ce,getDirection:Be,getHead:ve,setAccTitle:S,getAccTitle:z,getAccDescription:F,setAccDescription:j,setDiagramTitle:K,getDiagramTitle:Y},ke=l((r,e)=>{Q(r,e),r.dir&&e.setDirection(r.dir);for(let a of r.statements)Te(a,e)},"populate"),Te=l((r,e)=>{let o={Commit:l(t=>e.commit(Ee(t)),"Commit"),Branch:l(t=>e.branch(Le(t)),"Branch"),Merge:l(t=>e.merge(Me(t)),"Merge"),Checkout:l(t=>e.checkout(Pe(t)),"Checkout"),CherryPicking:l(t=>e.cherryPick(Re(t)),"CherryPicking")}[r.$type];o?o(r):u.error(`Unknown statement type: ${r.$type}`)},"parseStatement"),Ee=l(r=>({id:r.id,msg:r.message??"",type:r.type!==void 0?x[r.type]:x.NORMAL,tags:r.tags??void 0}),"parseCommit"),Le=l(r=>({name:r.name,order:r.order??0}),"parseBranch"),Me=l(r=>({branch:r.branch,id:r.id??"",type:r.type!==void 0?x[r.type]:void 0,tags:r.tags??void 0}),"parseMerge"),Pe=l(r=>r.branch,"parseCheckout"),Re=l(r=>({id:r.id,targetId:"",tags:r.tags?.length===0?void 0:r.tags,parent:r.parent}),"parseCherryPicking"),Oe={parse:l(async r=>{let e=await te("gitGraph",r);u.debug(e),ke(e,ce)},"parse")},T=10,E=40,B=4,v=2,L=8,b=new Map,w=new Map,I=30,P=new Map,q=[],k=0,$="LR",Ie=l(()=>{b.clear(),w.clear(),P.clear(),k=0,q=[],$="LR"},"clear"),ne=l(r=>{let e=document.createElementNS("http://www.w3.org/2000/svg","text");return(typeof r=="string"?r.split(/\\n|\n|<br\s*\/?>/gi):r).forEach(o=>{let t=document.createElementNS("http://www.w3.org/2000/svg","tspan");t.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),t.setAttribute("dy","1em"),t.setAttribute("x","0"),t.setAttribute("class","row"),t.textContent=o.trim(),e.appendChild(t)}),e},"drawText"),ie=l(r=>{let e,a,o;return $==="BT"?(a=l((t,s)=>t<=s,"comparisonFunc"),o=1/0):(a=l((t,s)=>t>=s,"comparisonFunc"),o=0),r.forEach(t=>{let s=$==="TB"||$=="BT"?w.get(t)?.y:w.get(t)?.x;s!==void 0&&a(s,o)&&(e=t,o=s)}),e},"findClosestParent"),qe=l(r=>{let e="",a=1/0;return r.forEach(o=>{let t=w.get(o).y;t<=a&&(e=o,a=t)}),e||void 0},"findClosestParentBT"),Ge=l((r,e,a)=>{let o=a,t=a,s=[];r.forEach(h=>{let d=e.get(h);if(!d)throw new Error(`Commit not found for key ${h}`);d.parents.length?(o=De(d),t=Math.max(o,t)):s.push(d),We(d,o)}),o=t,s.forEach(h=>{He(h,o,a)}),r.forEach(h=>{let d=e.get(h);if(d?.parents.length){let c=qe(d.parents);o=w.get(c).y-E,o<=t&&(t=o);let m=b.get(d.branch).pos,p=o-T;w.set(d.id,{x:m,y:p})}})},"setParallelBTPos"),Ae=l(r=>{let e=ie(r.parents.filter(o=>o!==null));if(!e)throw new Error(`Closest parent not found for commit ${r.id}`);let a=w.get(e)?.y;if(a===void 0)throw new Error(`Closest parent position not found for commit ${r.id}`);return a},"findClosestParentPos"),De=l(r=>Ae(r)+E,"calculateCommitPosition"),We=l((r,e)=>{let a=b.get(r.branch);if(!a)throw new Error(`Branch not found for commit ${r.id}`);let o=a.pos,t=e+T;return w.set(r.id,{x:o,y:t}),{x:o,y:t}},"setCommitPosition"),He=l((r,e,a)=>{let o=b.get(r.branch);if(!o)throw new Error(`Branch not found for commit ${r.id}`);let t=e+a,s=o.pos;w.set(r.id,{x:s,y:t})},"setRootPosition"),_e=l((r,e,a,o,t,s)=>{if(s===x.HIGHLIGHT)r.append("rect").attr("x",a.x-10).attr("y",a.y-10).attr("width",20).attr("height",20).attr("class",`commit ${e.id} commit-highlight${t%L} ${o}-outer`),r.append("rect").attr("x",a.x-6).attr("y",a.y-6).attr("width",12).attr("height",12).attr("class",`commit ${e.id} commit${t%L} ${o}-inner`);else if(s===x.CHERRY_PICK)r.append("circle").attr("cx",a.x).attr("cy",a.y).attr("r",10).attr("class",`commit ${e.id} ${o}`),r.append("circle").attr("cx",a.x-3).attr("cy",a.y+2).attr("r",2.75).attr("fill","#fff").attr("class",`commit ${e.id} ${o}`),r.append("circle").attr("cx",a.x+3).attr("cy",a.y+2).attr("r",2.75).attr("fill","#fff").attr("class",`commit ${e.id} ${o}`),r.append("line").attr("x1",a.x+3).attr("y1",a.y+1).attr("x2",a.x).attr("y2",a.y-5).attr("stroke","#fff").attr("class",`commit ${e.id} ${o}`),r.append("line").attr("x1",a.x-3).attr("y1",a.y+1).attr("x2",a.x).attr("y2",a.y-5).attr("stroke","#fff").attr("class",`commit ${e.id} ${o}`);else{let h=r.append("circle");if(h.attr("cx",a.x),h.attr("cy",a.y),h.attr("r",e.type===x.MERGE?9:10),h.attr("class",`commit ${e.id} commit${t%L}`),s===x.MERGE){let d=r.append("circle");d.attr("cx",a.x),d.attr("cy",a.y),d.attr("r",6),d.attr("class",`commit ${o} ${e.id} commit${t%L}`)}s===x.REVERSE&&r.append("path").attr("d",`M ${a.x-5},${a.y-5}L${a.x+5},${a.y+5}M${a.x-5},${a.y+5}L${a.x+5},${a.y-5}`).attr("class",`commit ${o} ${e.id} commit${t%L}`)}},"drawCommitBullet"),Ne=l((r,e,a,o,t)=>{if(e.type!==x.CHERRY_PICK&&(e.customId&&e.type===x.MERGE||e.type!==x.MERGE)&&t.showCommitLabel){let s=r.append("g"),h=s.insert("rect").attr("class","commit-label-bkg"),d=s.append("text").attr("x",o).attr("y",a.y+25).attr("class","commit-label").text(e.id),c=d.node()?.getBBox();if(c&&(h.attr("x",a.posWithOffset-c.width/2-v).attr("y",a.y+13.5).attr("width",c.width+2*v).attr("height",c.height+2*v),$==="TB"||$==="BT"?(h.attr("x",a.x-(c.width+4*B+5)).attr("y",a.y-12),d.attr("x",a.x-(c.width+4*B)).attr("y",a.y+c.height-12)):d.attr("x",a.posWithOffset-c.width/2),t.rotateCommitLabel))if($==="TB"||$==="BT")d.attr("transform","rotate(-45, "+a.x+", "+a.y+")"),h.attr("transform","rotate(-45, "+a.x+", "+a.y+")");else{let m=-7.5-(c.width+10)/25*9.5,p=10+c.width/25*8.5;s.attr("transform","translate("+m+", "+p+") rotate(-45, "+o+", "+a.y+")")}}},"drawCommitLabel"),Se=l((r,e,a,o)=>{if(e.tags.length>0){let t=0,s=0,h=0,d=[];for(let c of e.tags.reverse()){let m=r.insert("polygon"),p=r.append("circle"),f=r.append("text").attr("y",a.y-16-t).attr("class","tag-label").text(c),i=f.node()?.getBBox();if(!i)throw new Error("Tag bbox not found");s=Math.max(s,i.width),h=Math.max(h,i.height),f.attr("x",a.posWithOffset-i.width/2),d.push({tag:f,hole:p,rect:m,yOffset:t}),t+=20}for(let{tag:c,hole:m,rect:p,yOffset:f}of d){let i=h/2,y=a.y-19.2-f;if(p.attr("class","tag-label-bkg").attr("points",`
2
+ ${o-s/2-B/2},${y+v}
3
+ ${o-s/2-B/2},${y-v}
4
+ ${a.posWithOffset-s/2-B},${y-i-v}
5
+ ${a.posWithOffset+s/2+B},${y-i-v}
6
+ ${a.posWithOffset+s/2+B},${y+i+v}
7
+ ${a.posWithOffset-s/2-B},${y+i+v}`),m.attr("cy",y).attr("cx",o-s/2+B/2).attr("r",1.5).attr("class","tag-hole"),$==="TB"||$==="BT"){let g=o+f;p.attr("class","tag-label-bkg").attr("points",`
8
+ ${a.x},${g+2}
9
+ ${a.x},${g-2}
10
+ ${a.x+T},${g-i-2}
11
+ ${a.x+T+s+4},${g-i-2}
12
+ ${a.x+T+s+4},${g+i+2}
13
+ ${a.x+T},${g+i+2}`).attr("transform","translate(12,12) rotate(45, "+a.x+","+o+")"),m.attr("cx",a.x+B/2).attr("cy",g).attr("transform","translate(12,12) rotate(45, "+a.x+","+o+")"),c.attr("x",a.x+5).attr("y",g+3).attr("transform","translate(14,14) rotate(45, "+a.x+","+o+")")}}}},"drawCommitTags"),ze=l(r=>{switch(r.customType??r.type){case x.NORMAL:return"commit-normal";case x.REVERSE:return"commit-reverse";case x.HIGHLIGHT:return"commit-highlight";case x.MERGE:return"commit-merge";case x.CHERRY_PICK:return"commit-cherry-pick";default:return"commit-normal"}},"getCommitClassType"),je=l((r,e,a,o)=>{let t={x:0,y:0};if(r.parents.length>0){let s=ie(r.parents);if(s){let h=o.get(s)??t;return e==="TB"?h.y+E:e==="BT"?(o.get(r.id)??t).y-E:h.x+E}}else return e==="TB"?I:e==="BT"?(o.get(r.id)??t).y-E:0;return 0},"calculatePosition"),Fe=l((r,e,a)=>{let o=$==="BT"&&a?e:e+T,t=$==="TB"||$==="BT"?o:b.get(r.branch)?.pos,s=$==="TB"||$==="BT"?b.get(r.branch)?.pos:o;if(s===void 0||t===void 0)throw new Error(`Position were undefined for commit ${r.id}`);return{x:s,y:t,posWithOffset:o}},"getCommitPosition"),re=l((r,e,a,o)=>{let t=r.append("g").attr("class","commit-bullets"),s=r.append("g").attr("class","commit-labels"),h=$==="TB"||$==="BT"?I:0,d=[...e.keys()],c=o.parallelCommits??!1,m=l((f,i)=>{let y=e.get(f)?.seq,g=e.get(i)?.seq;return y!==void 0&&g!==void 0?y-g:0},"sortKeys"),p=d.sort(m);$==="BT"&&(c&&Ge(p,e,h),p=p.reverse()),p.forEach(f=>{let i=e.get(f);if(!i)throw new Error(`Commit not found for key ${f}`);c&&(h=je(i,$,h,w));let y=Fe(i,h,c);if(a){let g=ze(i),O=i.customType??i.type,A=b.get(i.branch)?.index??0;_e(t,i,y,g,A,O),Ne(s,i,y,h,o),Se(s,i,y,h)}$==="TB"||$==="BT"?w.set(i.id,{x:y.x,y:y.posWithOffset}):w.set(i.id,{x:y.posWithOffset,y:y.y}),h=$==="BT"&&c?h+E:h+E+T,h>k&&(k=h)})},"drawCommits"),Ke=l((r,e,a,o,t)=>{let h=($==="TB"||$==="BT"?a.x<o.x:a.y<o.y)?e.branch:r.branch,d=l(m=>m.branch===h,"isOnBranchToGetCurve"),c=l(m=>m.seq>r.seq&&m.seq<e.seq,"isBetweenCommits");return[...t.values()].some(m=>c(m)&&d(m))},"shouldRerouteArrow"),R=l((r,e,a=0)=>{let o=r+Math.abs(r-e)/2;if(a>5)return o;if(q.every(h=>Math.abs(h-o)>=10))return q.push(o),o;let s=Math.abs(r-e);return R(r,e-s/5,a+1)},"findLane"),Ye=l((r,e,a,o)=>{let t=w.get(e.id),s=w.get(a.id);if(t===void 0||s===void 0)throw new Error(`Commit positions not found for commits ${e.id} and ${a.id}`);let h=Ke(e,a,t,s,o),d="",c="",m=0,p=0,f=b.get(a.branch)?.index;a.type===x.MERGE&&e.id!==a.parents[0]&&(f=b.get(e.branch)?.index);let i;if(h){d="A 10 10, 0, 0, 0,",c="A 10 10, 0, 0, 1,",m=10,p=10;let y=t.y<s.y?R(t.y,s.y):R(s.y,t.y),g=t.x<s.x?R(t.x,s.x):R(s.x,t.x);$==="TB"?t.x<s.x?i=`M ${t.x} ${t.y} L ${g-m} ${t.y} ${c} ${g} ${t.y+p} L ${g} ${s.y-m} ${d} ${g+p} ${s.y} L ${s.x} ${s.y}`:(f=b.get(e.branch)?.index,i=`M ${t.x} ${t.y} L ${g+m} ${t.y} ${d} ${g} ${t.y+p} L ${g} ${s.y-m} ${c} ${g-p} ${s.y} L ${s.x} ${s.y}`):$==="BT"?t.x<s.x?i=`M ${t.x} ${t.y} L ${g-m} ${t.y} ${d} ${g} ${t.y-p} L ${g} ${s.y+m} ${c} ${g+p} ${s.y} L ${s.x} ${s.y}`:(f=b.get(e.branch)?.index,i=`M ${t.x} ${t.y} L ${g+m} ${t.y} ${c} ${g} ${t.y-p} L ${g} ${s.y+m} ${d} ${g-p} ${s.y} L ${s.x} ${s.y}`):t.y<s.y?i=`M ${t.x} ${t.y} L ${t.x} ${y-m} ${d} ${t.x+p} ${y} L ${s.x-m} ${y} ${c} ${s.x} ${y+p} L ${s.x} ${s.y}`:(f=b.get(e.branch)?.index,i=`M ${t.x} ${t.y} L ${t.x} ${y+m} ${c} ${t.x+p} ${y} L ${s.x-m} ${y} ${d} ${s.x} ${y-p} L ${s.x} ${s.y}`)}else d="A 20 20, 0, 0, 0,",c="A 20 20, 0, 0, 1,",m=20,p=20,$==="TB"?(t.x<s.x&&(a.type===x.MERGE&&e.id!==a.parents[0]?i=`M ${t.x} ${t.y} L ${t.x} ${s.y-m} ${d} ${t.x+p} ${s.y} L ${s.x} ${s.y}`:i=`M ${t.x} ${t.y} L ${s.x-m} ${t.y} ${c} ${s.x} ${t.y+p} L ${s.x} ${s.y}`),t.x>s.x&&(d="A 20 20, 0, 0, 0,",c="A 20 20, 0, 0, 1,",m=20,p=20,a.type===x.MERGE&&e.id!==a.parents[0]?i=`M ${t.x} ${t.y} L ${t.x} ${s.y-m} ${c} ${t.x-p} ${s.y} L ${s.x} ${s.y}`:i=`M ${t.x} ${t.y} L ${s.x+m} ${t.y} ${d} ${s.x} ${t.y+p} L ${s.x} ${s.y}`),t.x===s.x&&(i=`M ${t.x} ${t.y} L ${s.x} ${s.y}`)):$==="BT"?(t.x<s.x&&(a.type===x.MERGE&&e.id!==a.parents[0]?i=`M ${t.x} ${t.y} L ${t.x} ${s.y+m} ${c} ${t.x+p} ${s.y} L ${s.x} ${s.y}`:i=`M ${t.x} ${t.y} L ${s.x-m} ${t.y} ${d} ${s.x} ${t.y-p} L ${s.x} ${s.y}`),t.x>s.x&&(d="A 20 20, 0, 0, 0,",c="A 20 20, 0, 0, 1,",m=20,p=20,a.type===x.MERGE&&e.id!==a.parents[0]?i=`M ${t.x} ${t.y} L ${t.x} ${s.y+m} ${d} ${t.x-p} ${s.y} L ${s.x} ${s.y}`:i=`M ${t.x} ${t.y} L ${s.x+m} ${t.y} ${c} ${s.x} ${t.y-p} L ${s.x} ${s.y}`),t.x===s.x&&(i=`M ${t.x} ${t.y} L ${s.x} ${s.y}`)):(t.y<s.y&&(a.type===x.MERGE&&e.id!==a.parents[0]?i=`M ${t.x} ${t.y} L ${s.x-m} ${t.y} ${c} ${s.x} ${t.y+p} L ${s.x} ${s.y}`:i=`M ${t.x} ${t.y} L ${t.x} ${s.y-m} ${d} ${t.x+p} ${s.y} L ${s.x} ${s.y}`),t.y>s.y&&(a.type===x.MERGE&&e.id!==a.parents[0]?i=`M ${t.x} ${t.y} L ${s.x-m} ${t.y} ${d} ${s.x} ${t.y-p} L ${s.x} ${s.y}`:i=`M ${t.x} ${t.y} L ${t.x} ${s.y+m} ${c} ${t.x+p} ${s.y} L ${s.x} ${s.y}`),t.y===s.y&&(i=`M ${t.x} ${t.y} L ${s.x} ${s.y}`));if(i===void 0)throw new Error("Line definition not found");r.append("path").attr("d",i).attr("class","arrow arrow"+f%L)},"drawArrow"),Ze=l((r,e)=>{let a=r.append("g").attr("class","commit-arrows");[...e.keys()].forEach(o=>{let t=e.get(o);t.parents&&t.parents.length>0&&t.parents.forEach(s=>{Ye(a,e.get(s),t,e)})})},"drawArrows"),Ue=l((r,e,a)=>{let o=r.append("g");e.forEach((t,s)=>{let h=s%L,d=b.get(t.name)?.pos;if(d===void 0)throw new Error(`Position not found for branch ${t.name}`);let c=o.append("line");c.attr("x1",0),c.attr("y1",d),c.attr("x2",k),c.attr("y2",d),c.attr("class","branch branch"+h),$==="TB"?(c.attr("y1",I),c.attr("x1",d),c.attr("y2",k),c.attr("x2",d)):$==="BT"&&(c.attr("y1",k),c.attr("x1",d),c.attr("y2",I),c.attr("x2",d)),q.push(d);let m=t.name,p=ne(m),f=o.insert("rect"),y=o.insert("g").attr("class","branchLabel").insert("g").attr("class","label branch-label"+h);y.node().appendChild(p);let g=p.getBBox();f.attr("class","branchLabelBkg label"+h).attr("rx",4).attr("ry",4).attr("x",-g.width-4-(a.rotateCommitLabel===!0?30:0)).attr("y",-g.height/2+8).attr("width",g.width+18).attr("height",g.height+4),y.attr("transform","translate("+(-g.width-14-(a.rotateCommitLabel===!0?30:0))+", "+(d-g.height/2-1)+")"),$==="TB"?(f.attr("x",d-g.width/2-10).attr("y",0),y.attr("transform","translate("+(d-g.width/2-5)+", 0)")):$==="BT"?(f.attr("x",d-g.width/2-10).attr("y",k),y.attr("transform","translate("+(d-g.width/2-5)+", "+k+")")):f.attr("transform","translate(-19, "+(d-g.height/2)+")")})},"drawBranches"),Ve=l(function(r,e,a,o,t){return b.set(r,{pos:e,index:a}),e+=50+(t?40:0)+($==="TB"||$==="BT"?o.width/2:0),e},"setBranchPosition"),Je=l(function(r,e,a,o){Ie(),u.debug("in gitgraph renderer",r+`
14
+ `,"id:",e,a);let t=o.db;if(!t.getConfig){u.error("getConfig method is not available on db");return}let s=t.getConfig(),h=s.rotateCommitLabel??!1;P=t.getCommits();let d=t.getBranchesAsObjArray();$=t.getDirection();let c=U(`[id="${e}"]`),m=0;d.forEach((p,f)=>{let i=ne(p.name),y=c.append("g"),g=y.insert("g").attr("class","branchLabel"),O=g.insert("g").attr("class","label branch-label");O.node()?.appendChild(i);let A=i.getBBox();m=Ve(p.name,m,f,A,h),O.remove(),g.remove(),y.remove()}),re(c,P,!1,s),s.showBranches&&Ue(c,d,s),Ze(c,P),re(c,P,!0,s),X.insertTitle(c,"gitTitleText",s.titleTopMargin??0,t.getDiagramTitle()),Z(void 0,c,s.diagramPadding,s.useMaxWidth)},"draw"),Xe={draw:Je},Qe=l(r=>`
15
+ .commit-id,
16
+ .commit-msg,
17
+ .branch-label {
18
+ fill: lightgrey;
19
+ color: lightgrey;
20
+ font-family: 'trebuchet ms', verdana, arial, sans-serif;
21
+ font-family: var(--mermaid-font-family);
22
+ }
23
+ ${[0,1,2,3,4,5,6,7].map(e=>`
24
+ .branch-label${e} { fill: ${r["gitBranchLabel"+e]}; }
25
+ .commit${e} { stroke: ${r["git"+e]}; fill: ${r["git"+e]}; }
26
+ .commit-highlight${e} { stroke: ${r["gitInv"+e]}; fill: ${r["gitInv"+e]}; }
27
+ .label${e} { fill: ${r["git"+e]}; }
28
+ .arrow${e} { stroke: ${r["git"+e]}; }
29
+ `).join(`
30
+ `)}
31
+
32
+ .branch {
33
+ stroke-width: 1;
34
+ stroke: ${r.lineColor};
35
+ stroke-dasharray: 2;
36
+ }
37
+ .commit-label { font-size: ${r.commitLabelFontSize}; fill: ${r.commitLabelColor};}
38
+ .commit-label-bkg { font-size: ${r.commitLabelFontSize}; fill: ${r.commitLabelBackground}; opacity: 0.5; }
39
+ .tag-label { font-size: ${r.tagLabelFontSize}; fill: ${r.tagLabelColor};}
40
+ .tag-label-bkg { fill: ${r.tagLabelBackground}; stroke: ${r.tagLabelBorder}; }
41
+ .tag-hole { fill: ${r.textColor}; }
42
+
43
+ .commit-merge {
44
+ stroke: ${r.primaryColor};
45
+ fill: ${r.primaryColor};
46
+ }
47
+ .commit-reverse {
48
+ stroke: ${r.primaryColor};
49
+ fill: ${r.primaryColor};
50
+ stroke-width: 3;
51
+ }
52
+ .commit-highlight-outer {
53
+ }
54
+ .commit-highlight-inner {
55
+ stroke: ${r.primaryColor};
56
+ fill: ${r.primaryColor};
57
+ }
58
+
59
+ .arrow { stroke-width: 8; stroke-linecap: round; fill: none}
60
+ .gitTitleText {
61
+ text-anchor: middle;
62
+ font-size: 18px;
63
+ fill: ${r.textColor};
64
+ }
65
+ `,"getStyles"),et=Qe,it={parser:Oe,db:ce,renderer:Xe,styles:et};export{it as diagram};
@@ -0,0 +1,6 @@
1
+ import"./chunk-HS2CUOC6.js";import"./chunk-NM6J3ND7.js";var e={paste:"Pegar",pasteAsPlaintext:"Pegar coma texto sen formato",pasteCharts:"Pegar gr\xE1ficos",selectAll:"Seleccionar todo",multiSelect:"Engadir elemento \xE1 selecci\xF3n",moveCanvas:"Mover o lenzo",cut:"Cortar",copy:"Copiar",copyAsPng:"Copiar no portapapeis como PNG",copyAsSvg:"Copiar no portapapeis como SVG",copyText:"Copia no portapapeis como texto",copySource:"Copiar fonte ao portapapeis",convertToCode:"Converter a c\xF3digo",bringForward:"Traer cara adiante",sendToBack:"Enviar cara atr\xE1s",bringToFront:"Traer \xE1 fronte",sendBackward:"Enviar ao fondo",delete:"Borrar",copyStyles:"Copiar estilo",pasteStyles:"Pegar estilo",stroke:"Trazo",changeStroke:"",background:"Fondo",changeBackground:"",fill:"Recheo",strokeWidth:"Largo do trazo",strokeStyle:"Estilo do trazo",strokeStyle_solid:"S\xF3lido",strokeStyle_dashed:"Li\xF1a de trazos",strokeStyle_dotted:"Li\xF1a de puntos",sloppiness:"Estilo de trazo",opacity:"Opacidade",textAlign:"Ali\xF1ar texto",edges:"Bordos",sharp:"Agudo",round:"Redondo",arrowheads:"Puntas de frecha",arrowhead_none:"Ningunha",arrowhead_arrow:"Frecha",arrowhead_bar:"Barra",arrowhead_circle:"C\xEDrculo",arrowhead_circle_outline:"C\xEDrculo (contorno)",arrowhead_triangle:"Tri\xE1ngulo",arrowhead_triangle_outline:"Tri\xE1ngulo (contorno)",arrowhead_diamond:"Diamante",arrowhead_diamond_outline:"Diamante (contorno)",arrowhead_crowfoot_many:"",arrowhead_crowfoot_one:"",arrowhead_crowfoot_one_or_many:"",more_options:"",arrowtypes:"",arrowtype_sharp:"",arrowtype_round:"",arrowtype_elbowed:"",fontSize:"Tama\xF1o da fonte",fontFamily:"Tipo de fonte",addWatermark:'Engadir "Feito con Excalidraw"',handDrawn:"Debuxado a man",normal:"Normal",code:"C\xF3digo",small:"Pequeno",medium:"Mediano",large:"Grande",veryLarge:"Moi grande",solid:"S\xF3lido",hachure:"Folleto",zigzag:"Zigzag",crossHatch:"Raiado transversal",thin:"Estreito",bold:"Groso",left:"Esquerda",center:"Centrado",right:"Dereita",extraBold:"Moi groso",architect:"Arquitecto",artist:"Artista",cartoonist:"Caricatura",fileTitle:"Nome do arquivo",colorPicker:"Selector de cor",canvasColors:"Usado en lenzo",canvasBackground:"Fondo do lenzo",drawingCanvas:"Lenzo de debuxo",clearCanvas:"",layers:"Capas",actions:"Acci\xF3ns",language:"Idioma",liveCollaboration:"Colaboraci\xF3n en directo...",duplicateSelection:"Duplicar",untitled:"Sen t\xEDtulo",name:"Nome",yourName:"O teu nome",madeWithExcalidraw:"Feito con Excalidraw",group:"Agrupar selecci\xF3n",ungroup:"Desagrupar selecci\xF3n",collaborators:"Colaboradores",toggleGrid:"",addToLibrary:"Engadir \xE1 biblioteca",removeFromLibrary:"Eliminar da biblioteca",libraryLoadingMessage:"Cargando biblioteca\u2026",libraries:"Explorar bibliotecas",loadingScene:"Cargando escena\u2026",loadScene:"",align:"Ali\xF1amento",alignTop:"Ali\xF1amento superior",alignBottom:"Ali\xF1amento inferior",alignLeft:"Ali\xF1ar a esquerda",alignRight:"Ali\xF1ar a dereita",centerVertically:"Centrar verticalmente",centerHorizontally:"Centrar horizontalmente",distributeHorizontally:"Distribu\xEDr horizontalmente",distributeVertically:"Distribu\xEDr verticalmente",flipHorizontal:"Virar horizontalmente",flipVertical:"Virar verticalmente",viewMode:"Modo de visualizaci\xF3n",share:"Compartir",showStroke:"Mostrar selector de cores do trazo",showBackground:"Mostrar selector de cores do fondo",showFonts:"",toggleTheme:"",theme:"",personalLib:"Biblioteca Persoal",excalidrawLib:"Biblioteca Excalidraw",decreaseFontSize:"Diminu\xEDr tama\xF1o da fonte",increaseFontSize:"Aumentar o tama\xF1o da fonte",unbindText:"Desvincular texto",bindText:"Ligar o texto ao contedor",createContainerFromText:"Envolver o texto nun contedor",link:{edit:"Editar ligaz\xF3n",editEmbed:"",create:"",label:"Ligaz\xF3n",labelEmbed:"",empty:"Non se estableceu un enlace",hint:"",goToElement:""},lineEditor:{edit:"Editar li\xF1a",editArrow:""},polygon:{breakPolygon:"",convertToPolygon:""},elementLock:{lock:"Bloquear",unlock:"Desbloquear",lockAll:"Bloquear todo",unlockAll:"Desbloquear todo"},statusPublished:"Publicado",sidebarLock:"Manter a barra lateral aberta",selectAllElementsInFrame:"",removeAllElementsFromFrame:"",eyeDropper:"",textToDiagram:"Texto a diagrama",prompt:"",followUs:"S\xEDguenos",discordChat:"Chat de Discord",zoomToFitViewport:"",zoomToFitSelection:"",zoomToFit:"",installPWA:"",autoResize:"",imageCropping:"",unCroppedDimension:"",copyElementLink:"",linkToElement:"",wrapSelectionInFrame:"",tab:"",shapeSwitch:""},a={title:"",desc:"",notFound:""},o={noItems:"A\xEDnda non hai elementos engadidos...",hint_emptyLibrary:"Seleccione un elemento no lenzo para engadilo aqu\xED, ou instale unha biblioteca dende o repositorio p\xFAblico, como se detalla a continuaci\xF3n.",hint_emptyPrivateLibrary:"Seleccione un elemento do lenzo para engadilo aqu\xED.",search:{inputPlaceholder:"",heading:"",noResults:"",clearSearch:""}},r={title:"",noMatch:"",singleResult:"",multipleResults:"",placeholder:"",frames:"",texts:""},i={clearReset:"Limpar o lenzo",exportJSON:"Exportar a arquivo",exportImage:"Exportar imaxe...",export:"Gardar en...",copyToClipboard:"Copiar ao portapapeis",copyLink:"",save:"Gardar no ficheiro actual",saveAs:"Gardar como",load:"Abrir",getShareableLink:"Obter unha ligaz\xF3n que se poida compartir",close:"Pechar",selectLanguage:"Seleccionar idioma",scrollBackToContent:"Volver ao contido",zoomIn:"Ampliar",zoomOut:"Reducir",resetZoom:"Reiniciar zoom",menu:"Men\xFA",done:"Feito",edit:"Editar",undo:"Desfacer",redo:"Refacer",resetLibrary:"Reiniciar biblioteca",createNewRoom:"Crear nova sala",fullScreen:"Pantalla completa",darkMode:"Modo escuro",lightMode:"Modo claro",systemMode:"",zenMode:"Modo zen",objectsSnapMode:"",exitZenMode:"Sa\xEDr do modo zen",cancel:"Cancelar",saveLibNames:"",clear:"Limpar",remove:"Eliminar",embed:"",publishLibrary:"",submit:"Enviar",confirm:"Confirmar",embeddableInteractionButton:"Faga clic para interactuar"},t={clearReset:"Isto limpar\xE1 todo o lenzo. Est\xE1s seguro?",couldNotCreateShareableLink:"Non se puido crear unha ligaz\xF3n para compartir.",couldNotCreateShareableLinkTooBig:"Non se puido crear a ligaz\xF3n para compartir: a escena \xE9 demasiado grande",couldNotLoadInvalidFile:"Non se puido cargar o ficheiro non v\xE1lido",importBackendFailed:"A importaci\xF3n dende o backend fallou.",cannotExportEmptyCanvas:"Non se pode exportar un lenzo baleiro.",couldNotCopyToClipboard:"Non se puido copiar ao portapapeis.",decryptFailed:"Non se poideron descifrar os datos.",uploadedSecurly:"A carga foi asegurada con cifrado de extremo a extremo, o que significa que o servidor de Excalidraw e terceiros non poden ler o contido.",loadSceneOverridePrompt:"A carga dun debuxo externo substituir\xE1 o contido existente. Desexa continuar?",collabStopOverridePrompt:`Deter a sesi\xF3n, sobrescribir\xE1 o seu debuxo local previamente almacenado. Est\xE1 seguro?
2
+
3
+ (Se quere manter o seu debuxo local, simplemente peche a lapela do navegador.)`,errorAddingToLibrary:"Non se puido engadir o elemento \xE1 biblioteca",errorRemovingFromLibrary:"Non se puido eliminar o elemento da biblioteca",confirmAddLibrary:"Isto engadir\xE1 {{numShapes}} forma(s) a t\xFAa biblioteca. Est\xE1s seguro?",imageDoesNotContainScene:"Esta imaxe non parece conter ning\xFAn dato da escena. Activou a inserci\xF3n de escenas durante a exportaci\xF3n?",cannotRestoreFromImage:"Non se puido restaurar a escena dende este arquivo de imaxe",invalidSceneUrl:"Non se puido importar a escena dende a URL proporcionada. Ou ben est\xE1 malformada ou non cont\xE9n un JSON con informaci\xF3n v\xE1lida para Excalidraw.",resetLibrary:"Isto limpar\xE1 a s\xFAa biblioteca. Est\xE1 seguro?",removeItemsFromsLibrary:"Eliminar {{count}} elemento(s) da biblioteca?",invalidEncryptionKey:"A clave de cifrado debe ter 22 caracteres. A colaboraci\xF3n en directo est\xE1 desactivada.",collabOfflineWarning:`Non hai conexi\xF3n a Internet dispo\xF1ible.
4
+ Os teus cambios non ser\xE1n gardados!`,localStorageQuotaExceeded:""},n={unsupportedFileType:"Tipo de ficheiro non soportado.",imageInsertError:"Non se puido inserir a imaxe. Probe de novo m\xE1is tarde...",fileTooBig:"O ficheiro \xE9 demasiado grande. O tama\xF1o m\xE1ximo permitido \xE9 {{maxSize}}.",svgImageInsertError:"Non se puido inserir como imaxe SVG. O marcado SVG semella inv\xE1lido.",failedToFetchImage:"Non se puido obter a imaxe.",cannotResolveCollabServer:"Non se puido conectar ao servidor de colaboraci\xF3n. Por favor recargue a p\xE1xina e probe de novo.",importLibraryError:"Non se puido cargar a biblioteca",saveLibraryError:"",collabSaveFailed:"Non se puido gardar na base de datos. Se o problema persiste, deber\xEDas gardar o teu arquivo de maneira local para asegurarte de non perdelo teu traballo.",collabSaveFailed_sizeExceeded:"Non se puido gardar na base de datos, o lenzo semella demasiado grande. Deber\xEDas gardar o teu arquivo de maneira local para asegurarte de non perdelo teu traballo.",imageToolNotSupported:"As imaxes est\xE1n desactivadas.",brave_measure_text_error:{line1:"",line2:"",line3:"",line4:""},libraryElementTypeError:{embeddable:"",iframe:"",image:""},asyncPasteFailedOnRead:"",asyncPasteFailedOnParse:"Non se puido copiar.",copyToSystemClipboardFailed:"Non se puido copiar ao portapapeis."},s={selection:"Selecci\xF3n",lasso:"",image:"Inserir imaxe",rectangle:"Rect\xE1ngulo",diamond:"Diamante",ellipse:"Elipse",arrow:"Frecha",line:"Li\xF1a",freedraw:"Debuxar",text:"Texto",library:"Biblioteca",lock:"Manter a ferramenta seleccionada activa despois de debuxar",penMode:"Modo lapis - evitar o contacto",link:"",eraser:"Goma de borrar",frame:"",magicframe:"",embeddable:"Inserir na web",laser:"Punteiro l\xE1ser",hand:"Man (ferramenta de desprazamento)",extraTools:"M\xE1is ferramentas",mermaidToExcalidraw:"",convertElementType:""},l={rectangle:"",diamond:"",ellipse:"",arrow:"",line:"",freedraw:"",text:"",image:"",group:"",frame:"",magicframe:"",embeddable:"",selection:"",iframe:""},d={canvasActions:"Acci\xF3ns do lenzo",selectedShapeActions:"Acci\xF3ns da forma seleccionada",shapes:"Formas"},c={dismissSearch:"",canvasPanning:"",linearElement:"Faga clic para iniciar varios puntos, arrastre para unha sola li\xF1a",arrowTool:"",arrowBindModifiers:"",freeDraw:"Fai clic e arrastra, solta cando acabes",text:"Consello: tam\xE9n podes engadir texto facendo dobre-clic en calquera lugar coa ferramenta de selecci\xF3n",embeddable:"Faga clic e arrastre para crear un sitio web embebido",text_selected:"",text_editing:"",linearElementMulti:"",lockAngle:"",resize:"",resizeImage:"",rotate:"",lineEditor_info:"",lineEditor_line_info:"",lineEditor_pointSelected:"",lineEditor_nothingSelected:"",publishLibrary:"Publica a t\xFAa propia biblioteca",bindTextToElement:"",createFlowchart:"",deepBoxSelect:"",eraserRevert:"",firefox_clipboard_write:'Esta funci\xF3n p\xF3dese activar establecendo a opci\xF3n "dom.events.asyncClipboard.clipboardItem" a "true". Para cambiar as opci\xF3ns do navegador en Firefox, visita a p\xE1xina "about:config".',disableSnapping:"",enterCropEditor:"",leaveCropEditor:""},p={cannotShowPreview:"Non se pode mostrar a vista previa",canvasTooBig:"Pode que o lenzo sexa demasiado grande.",canvasTooBigTip:"Consello: Probe a acercar un pouco os elementos m\xE1is afastados."},u={headingMain:"Atopouse un erro. Probe <button>recargando a p\xE1xina.</button>",clearCanvasMessage:"Se recargar non funcionou, probe <button>limpando o lenzo.</button>",clearCanvasCaveat:" Isto resultar\xE1 nunha perda do seu traballo ",trackedToSentry:"O erro con identificador {{eventId}} foi rastrexado no noso sistema.",openIssueMessage:"Fomos moi cautelosos de non inclu\xEDr a informaci\xF3n da s\xFAa escena no erro. Se a s\xFAa escena non \xE9 privada, por favor, considere o seguimento do noso <button>rastrexador de erros.</button> Por favor incl\xFAa a seguinte informaci\xF3n copi\xE1ndoa e peg\xE1ndoa na issue de Github.",sceneContent:"Contido da escena:"},m={or:"Ou"},x={desc_intro:"Invita xente a colaborar no teu diagrama.",desc_privacy:"",button_startSession:"Comezar sesi\xF3n",button_stopSession:"Rematar sesi\xF3n",desc_inProgressIntro:"A sesi\xF3n de colaboraci\xF3n en directo est\xE1 agora en progreso.",desc_shareLink:"Comparte esta ligaz\xF3n con calquera que queiras colaborar:",desc_exitSession:"Deter a sesi\xF3n desconectarao da sala, pero poder\xE1 seguir traballando coa escena de maneira local. Te\xF1a en conta que isto non afectar\xE1 a outras persoas, que poder\xE1n seguir colaborando na s\xFAa versi\xF3n.",shareTitle:"\xDAnase a unha sesi\xF3n de colaboraci\xF3n en directo en Excalidraw"},b={title:"Erro"},g={disk_title:"Gardar no disco",disk_details:"Exporte os datos da escena a un ficheiro que poder\xE1s importar m\xE1is tarde.",disk_button:"Gardar nun ficheiro",link_title:"Ligaz\xF3n para compartir",link_details:"Exportar como unha ligaz\xF3n de s\xF3 lectura.",link_button:"Exportar a unha ligaz\xF3n",excalidrawplus_description:"Garde a escena no seu espazo de traballo en Excalidraw+.",excalidrawplus_button:"Exportar",excalidrawplus_exportError:"Non se puido exportar a Excalidraw+ neste momento..."},E={blog:"Le o noso blog",click:"clic",deepSelect:"Selecci\xF3n en profundidade",deepBoxSelect:"Selecci\xF3n en profundidade dentro da caixa, evitando o arrastre",createFlowchart:"",navigateFlowchart:"",curvedArrow:"Frecha curva",curvedLine:"Li\xF1a curva",documentation:"Documentaci\xF3n",doubleClick:"dobre-clic",drag:"arrastrar",editor:"Editor",editLineArrowPoints:"",editText:"",github:"Encontrou un problema? Env\xEDeo",howto:"Sigue as nosas normas",or:"ou",preventBinding:"Evitar a uni\xF3n de frechas",tools:"Ferramentas",shortcuts:"Atallos de teclado",textFinish:"Rematar de editar (editor de texto)",textNewLine:"Engadir unha nova li\xF1a (editor de texto)",title:"Axuda",view:"Vista",zoomToFit:"Zoom que se axuste a todos os elementos",zoomToSelection:"Zoom \xE1 selecci\xF3n",toggleElementLock:"Bloquear/desbloquear selecci\xF3n",movePageUpDown:"Mover p\xE1xina cara enriba/abaixo",movePageLeftRight:"Mover p\xE1xina cara a esquerda/dereita",cropStart:"",cropFinish:""},h={title:"Limpar lenzo"},F={title:"Publicar biblioteca",itemName:"Nome do elemento",authorName:"Nome do autor",githubUsername:"Nome de usuario en Github",twitterUsername:"Nome de usuario en Twitter",libraryName:"Nome da biblioteca",libraryDesc:"Descrici\xF3n da biblioteca",website:"P\xE1xina web",placeholder:{authorName:"O seu nome ou nome de usuario",libraryName:"Nome da s\xFAa biblioteca",libraryDesc:"Descrici\xF3n da s\xFAa biblioteca para axudar a xente a entender o seu uso",githubHandle:"Nome de usuario de GitHub (opcional), as\xED poder\xE1s editar a biblioteca unha vez enviada para a s\xFAa revisi\xF3n",twitterHandle:"Nome de usuario en Twitter(opcional), as\xED sabemos a quen darlle cr\xE9dito cando se lle de promoci\xF3n a trav\xE9s de Twitter",website:"Ligaz\xF3n ao teu sitio web persoal ou a outro sitio (opcional)"},errors:{required:"Obrigatorio",website:"Introduza unha URL v\xE1lida"},noteDescription:"Env\xEDe a s\xFAa biblioteca para que sexa inclu\xEDda no <link>repositorio p\xFAblico de bibliotecas</link>para que outra xente a poida usar nos seus debuxos.",noteGuidelines:"A biblioteca necesita ser aprobada manualmente primeiro. Por favor, lea as <link>normas</link> antes de ser enviado. Necesitar\xE1s unha conta de GitHub para comunicarte ou facer cambios se se solicitan, pero non \xE9 estritamente necesario.",noteLicense:"Ao enviar, est\xE1s de acordo con que a biblioteca sexa publicada baixo a <link>Licenza MIT, </link>o cal significa que, en resumo, calquera pode usalo sen restrici\xF3ns.",noteItems:"Cada elemento da biblioteca debe ter o seu nome propio para que se poida filtrar. Os seguintes elementos da biblioteca ser\xE1n inclu\xEDdos:",atleastOneLibItem:"Por favor seleccione polo menos un elemento da biblioteca para comezar",republishWarning:"Nota: alg\xFAns dos elementos seleccionados est\xE1n marcados como xa publicados/enviados. S\xF3 deber\xEDas reenviar elementos cando se actualice unha biblioteca ou env\xEDo."},v={title:"Biblioteca enviada",content:"Grazas {{authorName}}. A s\xFAa biblioteca foi enviada para ser revisada. Pode seguir o estado<link>aqu\xED</link>"},f={resetLibrary:"Restablecer biblioteca",removeItemsFromLib:"Eliminar os elementos seleccionados da biblioteca"},S={header:"Exportar imaxe",label:{withBackground:"Fondo",onlySelected:"S\xF3 seleccionados",darkMode:"Modo escuro",embedScene:"",scale:"",padding:""},tooltip:{embedScene:"Os datos da escena ser\xE1n gardados no ficheiro PNG/SVG exportado polo que a escena poder\xE1 ser restaurada dende el. Isto aumentar\xE1 o tama\xF1o do ficheiro exportado."},title:{exportToPng:"Exportar a PNG",exportToSvg:"Exportar a SVG",copyPngToClipboard:"Copiar PNG ao portapapeis"},button:{exportToPng:"PNG",exportToSvg:"SVG",copyPngToClipboard:"Copiar ao portapapeis"}},w={tooltip:"Os teus debuxos est\xE1n cifrados de punto a punto, polo que os servidores de Excalidraw nunca os ver\xE1n.",link:"Entrada do blog acerca do cifrado de punto a punto en Excalidraw"},y={angle:"\xC1ngulo",shapes:"",height:"Alto",scene:"Escena",selected:"Seleccionado",storage:"Almacenamento",fullTitle:"",title:"",generalStats:"",elementProperties:"",total:"Total",version:"Versi\xF3n",versionCopy:"Faga clic para copiar",versionNotAvailable:"Versi\xF3n non dispo\xF1ible",width:"Ancho"},C={addedToLibrary:"Engadido \xE1 biblioteca",copyStyles:"Estilos copiados.",copyToClipboard:"Copiado ao portapapeis.",copyToClipboardAsPng:`Copiar {{exportSelection}} ao portapapeis como PNG
5
+ ({{exportColorScheme}})`,copyToClipboardAsSvg:"",fileSaved:"Ficheiro gardado.",fileSavedToFilename:"Gardado en {filename}",canvas:"lenzo",selection:"selecci\xF3n",pasteAsSingleElement:`Usa {{shortcut}} para pegar como un \xFAnico elemento
6
+ ou pega nun editor de texto existente`,unableToEmbed:"",unrecognizedLinkFormat:"",elementLinkCopied:""},A={transparent:"Transparente",black:"Negro",white:"Branco",red:"Vermello",pink:"Rosa",grape:"Uva",violet:"Violeta",gray:"Gris",blue:"Azul",cyan:"",teal:"",green:"Verde",yellow:"Marelo",orange:"Laranxa",bronze:"Bronce"},D={app:{center_heading:"",center_heading_line2:"",center_heading_line3:"",center_heading_plus:"Queres ir a Excalidraw+ no seu lugar?",menuHint:"Exportar, preferencias, idiomas, ..."},defaults:{menuHint:"Exportar, preferencias, e m\xE1is...",center_heading:"Diagramas. Feito. Sinxelo.",toolbarHint:"Escolle unha ferramenta & Comeza a debuxar!",helpHint:"Atallos & axuda"}},T={color:"",mostUsedCustomColors:"",colors:"Cores",shades:"",hexCode:"",noShades:""},k={action:{exportToImage:{title:"Exportar como imaxe",button:"Exportar como imaxe",description:""},saveToDisk:{title:"Gardar no disco",button:"Gardar no disco",description:""},excalidrawPlus:{title:"Excalidraw+",button:"Exportar a Excalidraw+",description:""}},modal:{loadFromFile:{title:"Cargar dende arquivo",button:"Cargar dende arquivo",description:""},shareableLink:{title:"Cargar dende un enlace",button:"Substitu\xEDr o meu contido",description:""}}},L={title:"",button:"Inserir",description:"",syntax:"",preview:"Vista previa",label:"",inputPlaceholder:""},z={error:""},P={inputPlaceholder:"",inputPlaceholderWithMessages:"",generating:"",rateLimitRemaining:"",role:{user:"",assistant:"",system:""},aiBeta:"",label:"",menu:"",newChat:"",deleteChat:"",deleteMessage:"",viewAsMermaid:"",placeholder:{title:"",description:"",hint:""},preview:"",insert:"",retry:"",errors:{promptTooShort:"",promptTooLong:"",generationFailed:"",invalidDiagram:"",fixInMermaid:"",aiRepair:"",requestAborted:"",requestFailed:"",mermaidParseError:""},rateLimit:{messageLimit:"",generalRateLimit:"",messageLimitInputPlaceholder:""},upsellBtnLabel:""},_={placeholder:""},N={badge:{old:""},sceneFonts:"",availableFonts:"",empty:""},q={empty:"",hint:{text:"Fai clic no usuario para seguilo",followStatus:"Xa est\xE1s a seguir a este usuario",inCall:"",micMuted:"",isSpeaking:""}},M={title:"",shortcuts:{select:"",confirm:"",close:""},recents:"",search:{placeholder:"",noMatch:""},itemNotAvailable:"",shortcutHint:""},I={ctrl:"",option:"",cmd:"",alt:"",escape:"",enter:"",shift:"",spacebar:"",delete:"",mmb:""},G={labels:e,elementLink:a,library:o,search:r,buttons:i,alerts:t,errors:n,toolBar:s,element:l,headings:d,hints:c,canvasError:p,errorSplash:u,shareDialog:m,roomDialog:x,errorDialog:b,exportDialog:g,helpDialog:E,clearCanvasDialog:h,publishDialog:F,publishSuccessDialog:v,confirmDialog:f,imageExportDialog:S,encrypted:w,stats:y,toast:C,colors:A,welcomeScreen:D,colorPicker:T,overwriteConfirm:k,mermaid:L,ttd:z,chat:P,quickSearch:_,fontList:N,userList:q,commandPalette:M,keys:I};export{t as alerts,i as buttons,p as canvasError,P as chat,h as clearCanvasDialog,T as colorPicker,A as colors,M as commandPalette,f as confirmDialog,G as default,l as element,a as elementLink,w as encrypted,b as errorDialog,u as errorSplash,n as errors,g as exportDialog,N as fontList,d as headings,E as helpDialog,c as hints,S as imageExportDialog,I as keys,e as labels,o as library,L as mermaid,k as overwriteConfirm,F as publishDialog,v as publishSuccessDialog,_ as quickSearch,x as roomDialog,r as search,m as shareDialog,y as stats,C as toast,s as toolBar,z as ttd,q as userList,D as welcomeScreen};