@layers-app/editor 0.2.0 → 0.2.2

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 (232) hide show
  1. package/dist/index.cjs +2 -2
  2. package/dist/index.js +2 -2
  3. package/dist/{layers.CNLMZ-n8.js → layers.0F4YVLp2.js} +1 -1
  4. package/dist/{layers.B3BBy8oP.js → layers.0VD_lQDW.js} +1 -1
  5. package/dist/{layers.Ddk469Dh.js → layers.2c8neW9s.js} +1 -1
  6. package/dist/{layers.BMC2kTTB.js → layers.35zYsSGA.js} +3 -3
  7. package/dist/{layers.mp_9sP04.js → layers.3fHuIWPj.js} +1 -1
  8. package/dist/{layers.BbArzt5V.js → layers.4CKvGDBj.js} +1 -1
  9. package/dist/{layers.BtZHGQ6E.js → layers.4hMJo09s.js} +1 -1
  10. package/dist/layers.52famHy6.js +1 -0
  11. package/dist/layers.5MjpdN9h.js +7 -0
  12. package/dist/{layers.Bg-rk-IY.js → layers.5QTOXn6B.js} +7 -7
  13. package/dist/{layers.4B2wOIR1.js → layers.5bRls69E.js} +1 -1
  14. package/dist/layers.70-mDRns.js +7 -0
  15. package/dist/{layers.umahO1ag.js → layers.8Xhcyc3R.js} +1 -1
  16. package/dist/{layers.Bs1Yuja3.js → layers.8yJMoQR5.js} +5 -5
  17. package/dist/{layers.CR64bkIJ.js → layers.9FcR61sH.js} +1 -1
  18. package/dist/layers.9kMKYgzy.js +425 -0
  19. package/dist/{layers.YCPGkQIi.js → layers.AR5MtL5j.js} +1 -1
  20. package/dist/{layers.BeoJyn39.js → layers.B-D6NGcR.js} +1 -1
  21. package/dist/layers.B-JWed8S.js +122 -0
  22. package/dist/{layers.DVOYRLqd.js → layers.B-WhNV_G.js} +1 -1
  23. package/dist/layers.B-YVtk3d.js +207 -0
  24. package/dist/{layers.Cq0Ch5Iv.js → layers.B02pzIIg.js} +1 -1
  25. package/dist/{layers.JP-lzz5f.js → layers.B26uOkwH.js} +1 -1
  26. package/dist/{layers.C4ls7ISP.js → layers.B2IUimpm.js} +1 -1
  27. package/dist/layers.B31sa6rr.js +139 -0
  28. package/dist/layers.B3D4g2HH.js +1 -0
  29. package/dist/{layers.CGpLdUiP.js → layers.B3bY-ou_.js} +2 -2
  30. package/dist/layers.B7z4hw4p.js +51 -0
  31. package/dist/layers.B8GNrynA.js +6 -0
  32. package/dist/{layers.fDF0XXNl.js → layers.B9cgMIYN.js} +1 -1
  33. package/dist/layers.BAZ7VG7y.js +1 -0
  34. package/dist/{layers.C94fZyIE.js → layers.BBMUBp9d.js} +1 -1
  35. package/dist/{layers.B2Pkrdw1.js → layers.BC8EPkM1.js} +1 -1
  36. package/dist/{layers.BahDi8Jq.js → layers.BEBnBBBW.js} +1 -1
  37. package/dist/{layers.Dk0kd6-B.js → layers.BHu9OC6O.js} +1 -1
  38. package/dist/{layers.TyARdHUj.js → layers.BI9sEtHQ.js} +4 -4
  39. package/dist/{layers.DCNkKcra.js → layers.BKQGrfL6.js} +149 -143
  40. package/dist/{layers.BRDVz-vO.js → layers.BLB-_Qmf.js} +1 -1
  41. package/dist/{layers.DzuES31X.js → layers.BLvIp7w9.js} +64 -64
  42. package/dist/{layers.C_TMBTwJ.js → layers.BN5jyCHu.js} +2 -2
  43. package/dist/{layers.7AsF2nNX.js → layers.BN6XfzOG.js} +1 -1
  44. package/dist/{layers.D_VA8g4H.js → layers.BQMg8YcH.js} +4 -4
  45. package/dist/{layers.C22FTFEe.js → layers.BRemUPLR.js} +1 -1
  46. package/dist/{layers.Cs8AaSS3.js → layers.BSmQmuya.js} +1 -1
  47. package/dist/{layers.3Ou02qfO.js → layers.BT-Zowct.js} +5 -5
  48. package/dist/{layers.BWcGUFHK.js → layers.BTqJA0pT.js} +1 -1
  49. package/dist/{layers.f6YInEN9.js → layers.BUbI0ic-.js} +1 -1
  50. package/dist/{layers.BKC37Rv9.js → layers.BYBbRM55.js} +3 -3
  51. package/dist/{layers.CS2XhZuy.js → layers.BYDDbIIf.js} +1 -1
  52. package/dist/{layers.B_tG84JI.js → layers.BYzGqi2X.js} +1 -1
  53. package/dist/{layers.DAjImaDP.js → layers.B_0_ehec.js} +1 -1
  54. package/dist/{layers.O_QfH9Tw.js → layers.BbCfEXyj.js} +2 -2
  55. package/dist/{layers.BVMj1jxT.js → layers.Bcyj5-mw.js} +1 -1
  56. package/dist/{layers.Bp4GA39y.js → layers.BeEd9b3v.js} +1 -1
  57. package/dist/{layers.B26_Cpa_.js → layers.Bf8DIIJg.js} +1 -1
  58. package/dist/{layers.BWnw9UAM.js → layers.BffSZvB5.js} +1 -1
  59. package/dist/{layers.BeQ4Whpe.js → layers.BgMZDjpU.js} +1 -1
  60. package/dist/{layers.BODaZCcU.js → layers.BgOa2ZQq.js} +1 -1
  61. package/dist/{layers.OwyTRmnO.js → layers.BiJ8hfRt.js} +2 -2
  62. package/dist/{layers.DcfJoQ0g.js → layers.Bix14Gyj.js} +1 -1
  63. package/dist/{layers.Ky-Kjdnk.js → layers.BkI15sb3.js} +4 -4
  64. package/dist/{layers.D3uU6aTA.js → layers.BmnCi3BA.js} +1 -1
  65. package/dist/{layers.D8x1H5iy.js → layers.Bn0pZfJP.js} +1 -1
  66. package/dist/layers.BnzcEpZ-.js +133 -0
  67. package/dist/{layers.DrMkXfHK.js → layers.BoGiK5Q3.js} +1 -1
  68. package/dist/{layers.s5JSe8EA.js → layers.BrLfRSb6.js} +7603 -7501
  69. package/dist/{layers.eyx0ycIx.js → layers.BvY9Vbf5.js} +1 -1
  70. package/dist/{layers.Bh3cQUDo.js → layers.BvxaTTGy.js} +1 -1
  71. package/dist/{layers.IVSRrFHN.js → layers.BxUcR6lS.js} +1 -1
  72. package/dist/{layers.DHSCEHR8.js → layers.BxgEYHek.js} +1 -1
  73. package/dist/{layers.rze-LVSQ.js → layers.Bycyf6i4.js} +3 -3
  74. package/dist/{layers.BrEysPok.js → layers.BzBY9_VP.js} +1 -1
  75. package/dist/{layers.BbLvjR2J.js → layers.C5qx0lm-.js} +1 -1
  76. package/dist/{layers.B8vpQUjo.js → layers.C63_nn-c.js} +1 -1
  77. package/dist/{layers.BwoIBDJT.js → layers.C6KSH7-K.js} +5 -5
  78. package/dist/{layers.D0DwN9e2.js → layers.C7Bp-YD0.js} +1 -1
  79. package/dist/{layers.BjijCp-F.js → layers.C7wlXQdJ.js} +1 -1
  80. package/dist/{layers.CPqqkX8Z.js → layers.C8_lu5UH.js} +4 -4
  81. package/dist/{layers.Bw0ntPL0.js → layers.CB16iL01.js} +1 -1
  82. package/dist/{layers.DgZOLgtm.js → layers.CBHqAOYd.js} +1 -1
  83. package/dist/{layers.DxK9eunI.js → layers.CBdo3bZY.js} +5 -5
  84. package/dist/{layers.CV4vxTrW.js → layers.CCA_JMcB.js} +5 -5
  85. package/dist/{layers.DRho07Me.js → layers.CCOSIepd.js} +1 -1
  86. package/dist/{layers.v61VCm7Q.js → layers.CCgXCoxo.js} +10 -10
  87. package/dist/{layers.C1pkM2ng.js → layers.CDCOafi_.js} +1 -1
  88. package/dist/{layers.CLLE0XNM.js → layers.CFFbs4Fg.js} +9 -9
  89. package/dist/{layers.CJDFmwM6.js → layers.CG2_6S6j.js} +1 -1
  90. package/dist/{layers.CEbG0GWT.js → layers.CIUNTFjL.js} +1 -1
  91. package/dist/{layers.tv97TVVq.js → layers.CLJ_bqDt.js} +7 -7
  92. package/dist/{layers.Bt2QXZPR.js → layers.CMXxlWls.js} +6 -6
  93. package/dist/{layers.DAdht3uC.js → layers.CMlDQ4cq.js} +1 -1
  94. package/dist/{layers.D37Y-iXY.js → layers.CPpq-0-3.js} +1 -1
  95. package/dist/{layers.CRBfbmxk.js → layers.CSOcpruf.js} +3 -3
  96. package/dist/{layers.CC5jTanD.js → layers.CTJult8H.js} +1 -1
  97. package/dist/{layers.BxS3YGIg.js → layers.CTvU95kc.js} +8 -8
  98. package/dist/{layers.CI18gAPx.js → layers.CUjzCCDm.js} +1 -1
  99. package/dist/{layers.B5mng6BK.js → layers.CV6zTkfI.js} +3 -3
  100. package/dist/layers.CWD_iM8P.js +10 -0
  101. package/dist/{layers.GDyqPJjS.js → layers.CXj15Ps-.js} +1 -1
  102. package/dist/{layers.CI9cIkVg.js → layers.CXvT2UC9.js} +1 -1
  103. package/dist/{layers.dd9VpJ2j.js → layers.CXvVwX4x.js} +1 -1
  104. package/dist/{layers.COPquQl9.js → layers.CYTk83wT.js} +1 -1
  105. package/dist/layers.CZm6rGMB.js +61 -0
  106. package/dist/{layers.CFNz078z.js → layers.C_-Ax18X.js} +3 -3
  107. package/dist/{layers.DeMtErmI.js → layers.CbgVuTnA.js} +1 -1
  108. package/dist/{layers.BZ8rMF0E.js → layers.CcBXzLii.js} +2 -2
  109. package/dist/layers.Cd1w5n0X.js +160 -0
  110. package/dist/layers.CdpHcFy4.js +8 -0
  111. package/dist/{layers.ClRou2HW.js → layers.CeVO_M7c.js} +1 -1
  112. package/dist/{layers.D-TocJgP.js → layers.CfhsXiUG.js} +1 -1
  113. package/dist/layers.Cg4yfmEg.js +7 -0
  114. package/dist/{layers.CSAG6lyD.js → layers.CkrYzAn-.js} +1 -1
  115. package/dist/{layers.CUS1mIbU.js → layers.ClXOWap_.js} +1 -1
  116. package/dist/{layers.oAr0GPvq.js → layers.Clyu9Us_.js} +1 -1
  117. package/dist/{layers._9mQNYpC.js → layers.Cmd31MCh.js} +7 -7
  118. package/dist/{layers.CmawNzHJ.js → layers.CoyIFAVi.js} +1 -1
  119. package/dist/{layers.BtsKbOpT.js → layers.CpTgN5MB.js} +1 -1
  120. package/dist/{layers.fwvLLyfC.js → layers.Cs4xvX_E.js} +3 -3
  121. package/dist/{layers.OucwMvYb.js → layers.CsZt8Z7H.js} +1 -1
  122. package/dist/{layers.BfiIrqIN.js → layers.CsnR-FHC.js} +1 -1
  123. package/dist/{layers.Dd8DmCpU.js → layers.CvJTPHg2.js} +1 -1
  124. package/dist/{layers.3ncr24k-.js → layers.CvPWRTZP.js} +1 -1
  125. package/dist/{layers.B1Se8OaH.js → layers.CwSCM7t9.js} +1 -1
  126. package/dist/{layers.DStKHWvW.js → layers.CxungwaX.js} +1 -1
  127. package/dist/{layers.7H2WL17C.js → layers.Cy_zyir1.js} +1 -1
  128. package/dist/{layers.CNHqdpb5.js → layers.D-KUaT13.js} +1 -1
  129. package/dist/{layers.CRqgQB8J.js → layers.D0LUaNf6.js} +3298 -3296
  130. package/dist/{layers.DwIdSTnx.js → layers.D3ie5lZH.js} +1 -1
  131. package/dist/{layers.99biaYEX.js → layers.D42Q8AOa.js} +1 -1
  132. package/dist/{layers.7PjUehxE.js → layers.D4ynF3yn.js} +1 -1
  133. package/dist/{layers.CwIlknpB.js → layers.D6zG1isk.js} +1 -1
  134. package/dist/{layers.C1IDSQaT.js → layers.D8VZU5xA.js} +1 -1
  135. package/dist/{layers.D_fROAHm.js → layers.D8v17Kex.js} +1 -1
  136. package/dist/{layers.D1ZA3f6W.js → layers.DDSZLEv8.js} +3 -3
  137. package/dist/{layers.Bu-x_OvJ.js → layers.DEh849IH.js} +1 -1
  138. package/dist/{layers.BH9wqgDY.js → layers.DICExkiD.js} +1 -1
  139. package/dist/{layers.U3puEHYK.js → layers.DJyLK8NN.js} +9 -9
  140. package/dist/{layers.CTwL_3Cz.js → layers.DKgc2UPF.js} +6 -6
  141. package/dist/{layers.CxtTQD6P.js → layers.DLrHHn6O.js} +1 -1
  142. package/dist/{layers.Bt8u_f-g.js → layers.DLvSgg1j.js} +1 -1
  143. package/dist/{layers.D2U6dFrQ.js → layers.DRThkhb-.js} +1 -1
  144. package/dist/{layers.Cg7KtW25.js → layers.DSCDI0hj.js} +1 -1
  145. package/dist/{layers.CyziF_SQ.js → layers.DUIaCr3w.js} +1 -1
  146. package/dist/layers.DURGPkGd.js +1 -0
  147. package/dist/{layers.BMwaDYYZ.js → layers.DVU5gOz7.js} +1 -1
  148. package/dist/{layers.BUmiV0yN.js → layers.DVnFApRs.js} +1 -1
  149. package/dist/{layers.BFTIBVaT.js → layers.DWKh0bxp.js} +1 -1
  150. package/dist/{layers.BBlxht-2.js → layers.DXQ151AT.js} +8 -8
  151. package/dist/{layers.D909hx91.js → layers.DadXDcU9.js} +4 -4
  152. package/dist/{layers.DgWiivNQ.js → layers.Dbl9SWXe.js} +34 -34
  153. package/dist/{layers.vNQeOI7i.js → layers.DeWpRm8S.js} +1 -1
  154. package/dist/{layers.09-oE2J6.js → layers.DeZkhcY6.js} +1 -1
  155. package/dist/{layers.rOgZc7GK.js → layers.Dfjo7U5Y.js} +1 -1
  156. package/dist/{layers.CTm23lwt.js → layers.DhYiQsca.js} +1 -1
  157. package/dist/layers.DjWiinie.js +70 -0
  158. package/dist/layers.DjkEfBcd.js +1 -0
  159. package/dist/{layers.D8h1OdVA.js → layers.DkVk5c8Y.js} +6 -6
  160. package/dist/{layers.CIPEXJ_Z.js → layers.Dkcn0PJ4.js} +2 -2
  161. package/dist/{layers.VCVkMi6g.js → layers.DmGNcA03.js} +1 -1
  162. package/dist/{layers.C8ovo18Q.js → layers.DnbyHEyP.js} +1 -1
  163. package/dist/{layers.CJKF-1iy.js → layers.DnzgqxNL.js} +1 -1
  164. package/dist/layers.Dos5JhV7.js +10 -0
  165. package/dist/{layers.BOuSIBai.js → layers.DrZ_6nLR.js} +1 -1
  166. package/dist/{layers.CU8oxKiy.js → layers.Dr_GuX3B.js} +1 -1
  167. package/dist/{layers.COLyJ5LO.js → layers.Du3MtzCK.js} +3 -3
  168. package/dist/{layers.lqQ4_QwL.js → layers.DxT3M_n_.js} +1 -1
  169. package/dist/{layers.CyhLcp6y.js → layers.Dy5HywqQ.js} +18 -18
  170. package/dist/{layers.BmTC_qEU.js → layers.DyOerMOO.js} +7 -7
  171. package/dist/{layers.CWT_90sw.js → layers.DyW56kfJ.js} +1 -1
  172. package/dist/{layers.DpBckJG9.js → layers.EJCk5q9h.js} +1 -1
  173. package/dist/{layers.bGcD7F4_.js → layers.G0Hy6_r0.js} +1 -1
  174. package/dist/{layers.iWHM-07P.js → layers.H7ZdlWaz.js} +1 -1
  175. package/dist/{layers.Cw-Ru6_X.js → layers.HZDrvVZ_.js} +1 -1
  176. package/dist/{layers.Dj1UIVrM.js → layers.JV8VqxPJ.js} +1 -1
  177. package/dist/{layers.BxGdSKRP.js → layers.JkI-2tky.js} +2 -2
  178. package/dist/{layers.CqMjEixm.js → layers.K-5OCs0S.js} +1 -1
  179. package/dist/{layers.BulWAmk4.js → layers.MUAIuNwW.js} +1 -1
  180. package/dist/{layers.BCkBAe54.js → layers.N0r3OrGA.js} +1 -1
  181. package/dist/{layers.SsYje0m0.js → layers.NW_jMcHV.js} +1 -1
  182. package/dist/{layers.DBc1SfKV.js → layers.QhXcTlNu.js} +1 -1
  183. package/dist/{layers.CTcZFAZr.js → layers.Qoe7c5zq.js} +1 -1
  184. package/dist/{layers.DvkFfQRh.js → layers.SZnQBQCh.js} +1 -1
  185. package/dist/{layers.Ct4uwlVm.js → layers.V1JpmTJ-.js} +5 -5
  186. package/dist/{layers.BQKuAwQB.js → layers.YAOhWgD1.js} +1 -1
  187. package/dist/{layers.CqF4H_mD.js → layers.Yq02aUNE.js} +1 -1
  188. package/dist/{layers.BvS5Wia8.js → layers._-TDHzf7.js} +3 -3
  189. package/dist/{layers.CWpeLc0t.js → layers._7y-Xj15.js} +1 -1
  190. package/dist/{layers.CN8r250h.js → layers.an4EkQNe.js} +1 -1
  191. package/dist/{layers.DXz6eUMI.js → layers.aqWSxJBA.js} +1 -1
  192. package/dist/{layers.Ddq-N8Yz.js → layers.b4JJbLKL.js} +1 -1
  193. package/dist/{layers.DCRFU33R.js → layers.bd4UZYau.js} +1 -1
  194. package/dist/{layers.BV8IclsW.js → layers.cCX18abj.js} +10 -10
  195. package/dist/{layers.D-kFJ8el.js → layers.f1mppJzZ.js} +1 -1
  196. package/dist/{layers.DpoYMK1j.js → layers.f5MGtbUo.js} +1 -1
  197. package/dist/{layers.BLDa5caG.js → layers.jeBs5I3w.js} +39 -39
  198. package/dist/{layers.Dimd3uv_.js → layers.l1b8DDPI.js} +1 -1
  199. package/dist/{layers.STzdH4sy.js → layers.l8pum33R.js} +1 -1
  200. package/dist/{layers.wt0qnNWd.js → layers.qkfFfzYb.js} +9 -9
  201. package/dist/{layers.DrqT2qdE.js → layers.qqCEeUgc.js} +1 -1
  202. package/dist/{layers.C6FjBgZG.js → layers.qsV-U57E.js} +1 -1
  203. package/dist/{layers.BhzBGGFh.js → layers.rFaWtL_v.js} +4 -4
  204. package/dist/{layers.D5zd0los.js → layers.s4QuadEl.js} +1 -1
  205. package/dist/{layers.BvuDBP9J.js → layers.sErNmXIW.js} +1 -1
  206. package/dist/{layers.CQuzRJqP.js → layers.uU2u2bPA.js} +1 -1
  207. package/dist/{layers.CwoIo7W8.js → layers.vBwtO_oV.js} +1 -1
  208. package/dist/{layers.CxfZ-PyC.js → layers.vcAXI_CD.js} +1 -1
  209. package/dist/{layers.CZ8VwlJ4.js → layers.yretCoWE.js} +3 -3
  210. package/dist/{layers.CvP8SKXD.js → layers.zbIcrERn.js} +1 -1
  211. package/package.json +5 -5
  212. package/dist/layers.0GKOEfQX.js +0 -132
  213. package/dist/layers.0QUpYe8U.js +0 -7
  214. package/dist/layers.B7HljEnE.js +0 -1
  215. package/dist/layers.BGu81HI5.js +0 -139
  216. package/dist/layers.BW2Tio6y.js +0 -8
  217. package/dist/layers.BZxcnuyH.js +0 -1
  218. package/dist/layers.C6qpUDWv.js +0 -207
  219. package/dist/layers.C8qZUu8m.js +0 -7
  220. package/dist/layers.CLPJWTr_.js +0 -1
  221. package/dist/layers.CbKsKQXR.js +0 -10
  222. package/dist/layers.DCtPhtVd.js +0 -10
  223. package/dist/layers.DEzlOM_P.js +0 -1
  224. package/dist/layers.DIVgeM1q.js +0 -160
  225. package/dist/layers.DX3QVmN4.js +0 -6
  226. package/dist/layers.DftUTp1O.js +0 -122
  227. package/dist/layers.DjLVRmof.js +0 -7
  228. package/dist/layers.Ds95POLS.js +0 -1
  229. package/dist/layers.DxlYIAi2.js +0 -70
  230. package/dist/layers.eXGxDQC_.js +0 -425
  231. package/dist/layers.gWRZSm_f.js +0 -61
  232. package/dist/layers.zq4AFjsy.js +0 -51
@@ -0,0 +1,207 @@
1
+ "use strict";const u=require("./layers.BT-Zowct.js");var gt=(function(){var t=function(A,r,n,i){for(n=n||{},i=A.length;i--;n[A[i]]=r);return n},s=[1,2],a=[1,3],h=[1,4],d=[2,4],y=[1,9],p=[1,11],k=[1,15],f=[1,16],b=[1,17],E=[1,18],R=[1,30],Y=[1,19],G=[1,20],U=[1,21],j=[1,22],M=[1,23],z=[1,25],H=[1,26],X=[1,27],K=[1,28],W=[1,29],J=[1,32],q=[1,33],Q=[1,34],Z=[1,35],$=[1,31],c=[1,4,5,15,16,18,20,21,23,24,25,26,27,28,32,34,36,37,41,44,45,46,47,50],tt=[1,4,5,13,14,15,16,18,20,21,23,24,25,26,27,28,32,34,36,37,41,44,45,46,47,50],xt=[4,5,15,16,18,20,21,23,24,25,26,27,28,32,34,36,37,41,44,45,46,47,50],ht={trace:function(){},yy:{},symbols_:{error:2,start:3,SPACE:4,NL:5,SD:6,document:7,line:8,statement:9,classDefStatement:10,cssClassStatement:11,idStatement:12,DESCR:13,"-->":14,HIDE_EMPTY:15,scale:16,WIDTH:17,COMPOSIT_STATE:18,STRUCT_START:19,STRUCT_STOP:20,STATE_DESCR:21,AS:22,ID:23,FORK:24,JOIN:25,CHOICE:26,CONCURRENT:27,note:28,notePosition:29,NOTE_TEXT:30,direction:31,acc_title:32,acc_title_value:33,acc_descr:34,acc_descr_value:35,acc_descr_multiline_value:36,classDef:37,CLASSDEF_ID:38,CLASSDEF_STYLEOPTS:39,DEFAULT:40,class:41,CLASSENTITY_IDS:42,STYLECLASS:43,direction_tb:44,direction_bt:45,direction_rl:46,direction_lr:47,eol:48,";":49,EDGE_STATE:50,STYLE_SEPARATOR:51,left_of:52,right_of:53,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NL",6:"SD",13:"DESCR",14:"-->",15:"HIDE_EMPTY",16:"scale",17:"WIDTH",18:"COMPOSIT_STATE",19:"STRUCT_START",20:"STRUCT_STOP",21:"STATE_DESCR",22:"AS",23:"ID",24:"FORK",25:"JOIN",26:"CHOICE",27:"CONCURRENT",28:"note",30:"NOTE_TEXT",32:"acc_title",33:"acc_title_value",34:"acc_descr",35:"acc_descr_value",36:"acc_descr_multiline_value",37:"classDef",38:"CLASSDEF_ID",39:"CLASSDEF_STYLEOPTS",40:"DEFAULT",41:"class",42:"CLASSENTITY_IDS",43:"STYLECLASS",44:"direction_tb",45:"direction_bt",46:"direction_rl",47:"direction_lr",49:";",50:"EDGE_STATE",51:"STYLE_SEPARATOR",52:"left_of",53:"right_of"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[9,1],[9,1],[9,1],[9,2],[9,3],[9,4],[9,1],[9,2],[9,1],[9,4],[9,3],[9,6],[9,1],[9,1],[9,1],[9,1],[9,4],[9,4],[9,1],[9,2],[9,2],[9,1],[10,3],[10,3],[11,3],[31,1],[31,1],[31,1],[31,1],[48,1],[48,1],[12,1],[12,1],[12,3],[12,3],[29,1],[29,1]],performAction:function(r,n,i,o,S,e,w){var l=e.length-1;switch(S){case 3:return o.setRootDoc(e[l]),e[l];case 4:this.$=[];break;case 5:e[l]!="nl"&&(e[l-1].push(e[l]),this.$=e[l-1]);break;case 6:case 7:this.$=e[l];break;case 8:this.$="nl";break;case 11:this.$=e[l];break;case 12:const B=e[l-1];B.description=o.trimColon(e[l]),this.$=B;break;case 13:this.$={stmt:"relation",state1:e[l-2],state2:e[l]};break;case 14:const ft=o.trimColon(e[l]);this.$={stmt:"relation",state1:e[l-3],state2:e[l-1],description:ft};break;case 18:this.$={stmt:"state",id:e[l-3],type:"default",description:"",doc:e[l-1]};break;case 19:var C=e[l],O=e[l-2].trim();if(e[l].match(":")){var et=e[l].split(":");C=et[0],O=[O,et[1]]}this.$={stmt:"state",id:C,type:"default",description:O};break;case 20:this.$={stmt:"state",id:e[l-3],type:"default",description:e[l-5],doc:e[l-1]};break;case 21:this.$={stmt:"state",id:e[l],type:"fork"};break;case 22:this.$={stmt:"state",id:e[l],type:"join"};break;case 23:this.$={stmt:"state",id:e[l],type:"choice"};break;case 24:this.$={stmt:"state",id:o.getDividerId(),type:"divider"};break;case 25:this.$={stmt:"state",id:e[l-1].trim(),note:{position:e[l-2].trim(),text:e[l].trim()}};break;case 28:this.$=e[l].trim(),o.setAccTitle(this.$);break;case 29:case 30:this.$=e[l].trim(),o.setAccDescription(this.$);break;case 31:case 32:this.$={stmt:"classDef",id:e[l-1].trim(),classes:e[l].trim()};break;case 33:this.$={stmt:"applyClass",id:e[l-1].trim(),styleClass:e[l].trim()};break;case 34:o.setDirection("TB"),this.$={stmt:"dir",value:"TB"};break;case 35:o.setDirection("BT"),this.$={stmt:"dir",value:"BT"};break;case 36:o.setDirection("RL"),this.$={stmt:"dir",value:"RL"};break;case 37:o.setDirection("LR"),this.$={stmt:"dir",value:"LR"};break;case 40:case 41:this.$={stmt:"state",id:e[l].trim(),type:"default",description:""};break;case 42:this.$={stmt:"state",id:e[l-2].trim(),classes:[e[l].trim()],type:"default",description:""};break;case 43:this.$={stmt:"state",id:e[l-2].trim(),classes:[e[l].trim()],type:"default",description:""};break}},table:[{3:1,4:s,5:a,6:h},{1:[3]},{3:5,4:s,5:a,6:h},{3:6,4:s,5:a,6:h},t([1,4,5,15,16,18,21,23,24,25,26,27,28,32,34,36,37,41,44,45,46,47,50],d,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:y,5:p,8:8,9:10,10:12,11:13,12:14,15:k,16:f,18:b,21:E,23:R,24:Y,25:G,26:U,27:j,28:M,31:24,32:z,34:H,36:X,37:K,41:W,44:J,45:q,46:Q,47:Z,50:$},t(c,[2,5]),{9:36,10:12,11:13,12:14,15:k,16:f,18:b,21:E,23:R,24:Y,25:G,26:U,27:j,28:M,31:24,32:z,34:H,36:X,37:K,41:W,44:J,45:q,46:Q,47:Z,50:$},t(c,[2,7]),t(c,[2,8]),t(c,[2,9]),t(c,[2,10]),t(c,[2,11],{13:[1,37],14:[1,38]}),t(c,[2,15]),{17:[1,39]},t(c,[2,17],{19:[1,40]}),{22:[1,41]},t(c,[2,21]),t(c,[2,22]),t(c,[2,23]),t(c,[2,24]),{29:42,30:[1,43],52:[1,44],53:[1,45]},t(c,[2,27]),{33:[1,46]},{35:[1,47]},t(c,[2,30]),{38:[1,48],40:[1,49]},{42:[1,50]},t(tt,[2,40],{51:[1,51]}),t(tt,[2,41],{51:[1,52]}),t(c,[2,34]),t(c,[2,35]),t(c,[2,36]),t(c,[2,37]),t(c,[2,6]),t(c,[2,12]),{12:53,23:R,50:$},t(c,[2,16]),t(xt,d,{7:54}),{23:[1,55]},{23:[1,56]},{22:[1,57]},{23:[2,44]},{23:[2,45]},t(c,[2,28]),t(c,[2,29]),{39:[1,58]},{39:[1,59]},{43:[1,60]},{23:[1,61]},{23:[1,62]},t(c,[2,13],{13:[1,63]}),{4:y,5:p,8:8,9:10,10:12,11:13,12:14,15:k,16:f,18:b,20:[1,64],21:E,23:R,24:Y,25:G,26:U,27:j,28:M,31:24,32:z,34:H,36:X,37:K,41:W,44:J,45:q,46:Q,47:Z,50:$},t(c,[2,19],{19:[1,65]}),{30:[1,66]},{23:[1,67]},t(c,[2,31]),t(c,[2,32]),t(c,[2,33]),t(tt,[2,42]),t(tt,[2,43]),t(c,[2,14]),t(c,[2,18]),t(xt,d,{7:68}),t(c,[2,25]),t(c,[2,26]),{4:y,5:p,8:8,9:10,10:12,11:13,12:14,15:k,16:f,18:b,20:[1,69],21:E,23:R,24:Y,25:G,26:U,27:j,28:M,31:24,32:z,34:H,36:X,37:K,41:W,44:J,45:q,46:Q,47:Z,50:$},t(c,[2,20])],defaultActions:{5:[2,1],6:[2,2],44:[2,44],45:[2,45]},parseError:function(r,n){if(n.recoverable)this.trace(r);else{var i=new Error(r);throw i.hash=n,i}},parse:function(r){var n=this,i=[0],o=[],S=[null],e=[],w=this.table,l="",C=0,O=0,et=2,B=1,ft=e.slice.call(arguments,1),g=Object.create(this.lexer),L={yy:{}};for(var dt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,dt)&&(L.yy[dt]=this.yy[dt]);g.setInput(r,L.yy),L.yy.lexer=g,L.yy.parser=this,typeof g.yylloc>"u"&&(g.yylloc={});var yt=g.yylloc;e.push(yt);var Yt=g.options&&g.options.ranges;typeof L.yy.parseError=="function"?this.parseError=L.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Gt(){var D;return D=o.pop()||g.lex()||B,typeof D!="number"&&(D instanceof Array&&(o=D,D=o.pop()),D=n.symbols_[D]||D),D}for(var _,v,m,pt,N={},st,x,Dt,it;;){if(v=i[i.length-1],this.defaultActions[v]?m=this.defaultActions[v]:((_===null||typeof _>"u")&&(_=Gt()),m=w[v]&&w[v][_]),typeof m>"u"||!m.length||!m[0]){var St="";it=[];for(st in w[v])this.terminals_[st]&&st>et&&it.push("'"+this.terminals_[st]+"'");g.showPosition?St="Parse error on line "+(C+1)+`:
2
+ `+g.showPosition()+`
3
+ Expecting `+it.join(", ")+", got '"+(this.terminals_[_]||_)+"'":St="Parse error on line "+(C+1)+": Unexpected "+(_==B?"end of input":"'"+(this.terminals_[_]||_)+"'"),this.parseError(St,{text:g.match,token:this.terminals_[_]||_,line:g.yylineno,loc:yt,expected:it})}if(m[0]instanceof Array&&m.length>1)throw new Error("Parse Error: multiple actions possible at state: "+v+", token: "+_);switch(m[0]){case 1:i.push(_),S.push(g.yytext),e.push(g.yylloc),i.push(m[1]),_=null,O=g.yyleng,l=g.yytext,C=g.yylineno,yt=g.yylloc;break;case 2:if(x=this.productions_[m[1]][1],N.$=S[S.length-x],N._$={first_line:e[e.length-(x||1)].first_line,last_line:e[e.length-1].last_line,first_column:e[e.length-(x||1)].first_column,last_column:e[e.length-1].last_column},Yt&&(N._$.range=[e[e.length-(x||1)].range[0],e[e.length-1].range[1]]),pt=this.performAction.apply(N,[l,O,C,L.yy,m[1],S,e].concat(ft)),typeof pt<"u")return pt;x&&(i=i.slice(0,-1*x*2),S=S.slice(0,-1*x),e=e.slice(0,-1*x)),i.push(this.productions_[m[1]][0]),S.push(N.$),e.push(N._$),Dt=w[i[i.length-2]][i[i.length-1]],i.push(Dt);break;case 3:return!0}}return!0}},Vt=(function(){var A={EOF:1,parseError:function(n,i){if(this.yy.parser)this.yy.parser.parseError(n,i);else throw new Error(n)},setInput:function(r,n){return this.yy=n||this.yy||{},this._input=r,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var r=this._input[0];this.yytext+=r,this.yyleng++,this.offset++,this.match+=r,this.matched+=r;var n=r.match(/(?:\r\n?|\n).*/g);return n?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),r},unput:function(r){var n=r.length,i=r.split(/(?:\r\n?|\n)/g);this._input=r+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-n),this.offset-=n;var o=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),i.length-1&&(this.yylineno-=i.length-1);var S=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:i?(i.length===o.length?this.yylloc.first_column:0)+o[o.length-i.length].length-i[0].length:this.yylloc.first_column-n},this.options.ranges&&(this.yylloc.range=[S[0],S[0]+this.yyleng-n]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject: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},less:function(r){this.unput(this.match.slice(r))},pastInput:function(){var r=this.matched.substr(0,this.matched.length-this.match.length);return(r.length>20?"...":"")+r.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var r=this.match;return r.length<20&&(r+=this._input.substr(0,20-r.length)),(r.substr(0,20)+(r.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var r=this.pastInput(),n=new Array(r.length+1).join("-");return r+this.upcomingInput()+`
5
+ `+n+"^"},test_match:function(r,n){var i,o,S;if(this.options.backtrack_lexer&&(S={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(S.yylloc.range=this.yylloc.range.slice(0))),o=r[0].match(/(?:\r\n?|\n).*/g),o&&(this.yylineno+=o.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:o?o[o.length-1].length-o[o.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+r[0].length},this.yytext+=r[0],this.match+=r[0],this.matches=r,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(r[0].length),this.matched+=r[0],i=this.performAction.call(this,this.yy,this,n,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),i)return i;if(this._backtrack){for(var e in S)this[e]=S[e];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var r,n,i,o;this._more||(this.yytext="",this.match="");for(var S=this._currentRules(),e=0;e<S.length;e++)if(i=this._input.match(this.rules[S[e]]),i&&(!n||i[0].length>n[0].length)){if(n=i,o=e,this.options.backtrack_lexer){if(r=this.test_match(i,S[e]),r!==!1)return r;if(this._backtrack){n=!1;continue}else return!1}else if(!this.options.flex)break}return n?(r=this.test_match(n,S[o]),r!==!1?r:!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})},lex:function(){var n=this.next();return n||this.lex()},begin:function(n){this.conditionStack.push(n)},popState:function(){var n=this.conditionStack.length-1;return n>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(n){return n=this.conditionStack.length-1-Math.abs(n||0),n>=0?this.conditionStack[n]:"INITIAL"},pushState:function(n){this.begin(n)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(n,i,o,S){switch(o){case 0:return 40;case 1:return 44;case 2:return 45;case 3:return 46;case 4:return 47;case 5:break;case 6:break;case 7:return 5;case 8:break;case 9:break;case 10:break;case 11:break;case 12:return this.pushState("SCALE"),16;case 13:return 17;case 14:this.popState();break;case 15:return this.begin("acc_title"),32;case 16:return this.popState(),"acc_title_value";case 17:return this.begin("acc_descr"),34;case 18:return this.popState(),"acc_descr_value";case 19:this.begin("acc_descr_multiline");break;case 20:this.popState();break;case 21:return"acc_descr_multiline_value";case 22:return this.pushState("CLASSDEF"),37;case 23:return this.popState(),this.pushState("CLASSDEFID"),"DEFAULT_CLASSDEF_ID";case 24:return this.popState(),this.pushState("CLASSDEFID"),38;case 25:return this.popState(),39;case 26:return this.pushState("CLASS"),41;case 27:return this.popState(),this.pushState("CLASS_STYLE"),42;case 28:return this.popState(),43;case 29:return this.pushState("SCALE"),16;case 30:return 17;case 31:this.popState();break;case 32:this.pushState("STATE");break;case 33:return this.popState(),i.yytext=i.yytext.slice(0,-8).trim(),24;case 34:return this.popState(),i.yytext=i.yytext.slice(0,-8).trim(),25;case 35:return this.popState(),i.yytext=i.yytext.slice(0,-10).trim(),26;case 36:return this.popState(),i.yytext=i.yytext.slice(0,-8).trim(),24;case 37:return this.popState(),i.yytext=i.yytext.slice(0,-8).trim(),25;case 38:return this.popState(),i.yytext=i.yytext.slice(0,-10).trim(),26;case 39:return 44;case 40:return 45;case 41:return 46;case 42:return 47;case 43:this.pushState("STATE_STRING");break;case 44:return this.pushState("STATE_ID"),"AS";case 45:return this.popState(),"ID";case 46:this.popState();break;case 47:return"STATE_DESCR";case 48:return 18;case 49:this.popState();break;case 50:return this.popState(),this.pushState("struct"),19;case 51:break;case 52:return this.popState(),20;case 53:break;case 54:return this.begin("NOTE"),28;case 55:return this.popState(),this.pushState("NOTE_ID"),52;case 56:return this.popState(),this.pushState("NOTE_ID"),53;case 57:this.popState(),this.pushState("FLOATING_NOTE");break;case 58:return this.popState(),this.pushState("FLOATING_NOTE_ID"),"AS";case 59:break;case 60:return"NOTE_TEXT";case 61:return this.popState(),"ID";case 62:return this.popState(),this.pushState("NOTE_TEXT"),23;case 63:return this.popState(),i.yytext=i.yytext.substr(2).trim(),30;case 64:return this.popState(),i.yytext=i.yytext.slice(0,-8).trim(),30;case 65:return 6;case 66:return 6;case 67:return 15;case 68:return 50;case 69:return 23;case 70:return i.yytext=i.yytext.trim(),13;case 71:return 14;case 72:return 27;case 73:return 51;case 74:return 5;case 75:return"INVALID"}},rules:[/^(?:default\b)/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:[\s]+)/i,/^(?:((?!\n)\s)+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:scale\s+)/i,/^(?:\d+)/i,/^(?:\s+width\b)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:classDef\s+)/i,/^(?:DEFAULT\s+)/i,/^(?:\w+\s+)/i,/^(?:[^\n]*)/i,/^(?:class\s+)/i,/^(?:(\w+)+((,\s*\w+)*))/i,/^(?:[^\n]*)/i,/^(?:scale\s+)/i,/^(?:\d+)/i,/^(?:\s+width\b)/i,/^(?:state\s+)/i,/^(?:.*<<fork>>)/i,/^(?:.*<<join>>)/i,/^(?:.*<<choice>>)/i,/^(?:.*\[\[fork\]\])/i,/^(?:.*\[\[join\]\])/i,/^(?:.*\[\[choice\]\])/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:["])/i,/^(?:\s*as\s+)/i,/^(?:[^\n\{]*)/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[^\n\s\{]+)/i,/^(?:\n)/i,/^(?:\{)/i,/^(?:%%(?!\{)[^\n]*)/i,/^(?:\})/i,/^(?:[\n])/i,/^(?:note\s+)/i,/^(?:left of\b)/i,/^(?:right of\b)/i,/^(?:")/i,/^(?:\s*as\s*)/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[^\n]*)/i,/^(?:\s*[^:\n\s\-]+)/i,/^(?:\s*:[^:\n;]+)/i,/^(?:[\s\S]*?end note\b)/i,/^(?:stateDiagram\s+)/i,/^(?:stateDiagram-v2\s+)/i,/^(?:hide empty description\b)/i,/^(?:\[\*\])/i,/^(?:[^:\n\s\-\{]+)/i,/^(?:\s*:[^:\n;]+)/i,/^(?:-->)/i,/^(?:--)/i,/^(?::::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{LINE:{rules:[9,10],inclusive:!1},struct:{rules:[9,10,22,26,32,39,40,41,42,51,52,53,54,68,69,70,71,72],inclusive:!1},FLOATING_NOTE_ID:{rules:[61],inclusive:!1},FLOATING_NOTE:{rules:[58,59,60],inclusive:!1},NOTE_TEXT:{rules:[63,64],inclusive:!1},NOTE_ID:{rules:[62],inclusive:!1},NOTE:{rules:[55,56,57],inclusive:!1},CLASS_STYLE:{rules:[28],inclusive:!1},CLASS:{rules:[27],inclusive:!1},CLASSDEFID:{rules:[25],inclusive:!1},CLASSDEF:{rules:[23,24],inclusive:!1},acc_descr_multiline:{rules:[20,21],inclusive:!1},acc_descr:{rules:[18],inclusive:!1},acc_title:{rules:[16],inclusive:!1},SCALE:{rules:[13,14,30,31],inclusive:!1},ALIAS:{rules:[],inclusive:!1},STATE_ID:{rules:[45],inclusive:!1},STATE_STRING:{rules:[46,47],inclusive:!1},FORK_STATE:{rules:[],inclusive:!1},STATE:{rules:[9,10,33,34,35,36,37,38,43,44,48,49,50],inclusive:!1},ID:{rules:[9,10],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,8,10,11,12,15,17,19,22,26,29,32,50,54,65,66,67,68,69,70,71,73,74,75],inclusive:!0}}};return A})();ht.lexer=Vt;function ut(){this.yy={}}return ut.prototype=ht,ht.Parser=ut,new ut})();gt.parser=gt;const Ut=gt,jt="LR",Mt="TB",at="state",Et="relation",zt="classDef",Ht="applyClass",ot="default",vt="divider",kt="[*]",It="start",Ot=kt,Nt="end",At="color",Ct="fill",Xt="bgFill",Kt=",";function Rt(){return{}}let $t=jt,lt=[],P=Rt();const wt=()=>({relations:[],states:{},documents:{}});let ct={root:wt()},T=ct.root,F=0,Lt=0;const Wt={LINE:0,DOTTED_LINE:1},Jt={AGGREGATION:0,EXTENSION:1,COMPOSITION:2,DEPENDENCY:3},rt=t=>JSON.parse(JSON.stringify(t)),qt=t=>{u.log$1.info("Setting root doc",t),lt=t},Qt=()=>lt,nt=(t,s,a)=>{if(s.stmt===Et)nt(t,s.state1,!0),nt(t,s.state2,!1);else if(s.stmt===at&&(s.id==="[*]"?(s.id=a?t.id+"_start":t.id+"_end",s.start=a):s.id=s.id.trim()),s.doc){const h=[];let d=[],y;for(y=0;y<s.doc.length;y++)if(s.doc[y].type===vt){const p=rt(s.doc[y]);p.doc=rt(d),h.push(p),d=[]}else d.push(s.doc[y]);if(h.length>0&&d.length>0){const p={stmt:at,id:u.generateId(),type:"divider",doc:rt(d)};h.push(rt(p)),s.doc=h}s.doc.forEach(p=>nt(s,p,!0))}},Zt=()=>(nt({id:"root"},{id:"root",doc:lt},!0),{id:"root",doc:lt}),te=t=>{let s;t.doc?s=t.doc:s=t,u.log$1.info(s),Bt(!0),u.log$1.info("Extract",s),s.forEach(a=>{switch(a.stmt){case at:I(a.id.trim(),a.type,a.doc,a.description,a.note,a.classes,a.styles,a.textStyles);break;case Et:Pt(a.state1,a.state2,a.description);break;case zt:Ft(a.id.trim(),a.classes);break;case Ht:bt(a.id.trim(),a.styleClass);break}})},I=function(t,s=ot,a=null,h=null,d=null,y=null,p=null,k=null){const f=t==null?void 0:t.trim();T.states[f]===void 0?(u.log$1.info("Adding state ",f,h),T.states[f]={id:f,descriptions:[],type:s,doc:a,note:d,classes:[],styles:[],textStyles:[]}):(T.states[f].doc||(T.states[f].doc=a),T.states[f].type||(T.states[f].type=s)),h&&(u.log$1.info("Setting state description",f,h),typeof h=="string"&&mt(f,h.trim()),typeof h=="object"&&h.forEach(b=>mt(f,b.trim()))),d&&(T.states[f].note=d,T.states[f].note.text=u.common$1.sanitizeText(T.states[f].note.text,u.getConfig())),y&&(u.log$1.info("Setting state classes",f,y),(typeof y=="string"?[y]:y).forEach(E=>bt(f,E.trim()))),p&&(u.log$1.info("Setting state styles",f,p),(typeof p=="string"?[p]:p).forEach(E=>he(f,E.trim()))),k&&(u.log$1.info("Setting state styles",f,p),(typeof k=="string"?[k]:k).forEach(E=>ue(f,E.trim())))},Bt=function(t){ct={root:wt()},T=ct.root,F=0,P=Rt(),t||u.clear()},V=function(t){return T.states[t]},ee=function(){return T.states},se=function(){u.log$1.info("Documents = ",ct)},ie=function(){return T.relations};function Tt(t=""){let s=t;return t===kt&&(F++,s=`${It}${F}`),s}function _t(t="",s=ot){return t===kt?It:s}function re(t=""){let s=t;return t===Ot&&(F++,s=`${Nt}${F}`),s}function ne(t="",s=ot){return t===Ot?Nt:s}function ae(t,s,a){let h=Tt(t.id.trim()),d=_t(t.id.trim(),t.type),y=Tt(s.id.trim()),p=_t(s.id.trim(),s.type);I(h,d,t.doc,t.description,t.note,t.classes,t.styles,t.textStyles),I(y,p,s.doc,s.description,s.note,s.classes,s.styles,s.textStyles),T.relations.push({id1:h,id2:y,relationTitle:u.common$1.sanitizeText(a,u.getConfig())})}const Pt=function(t,s,a){if(typeof t=="object")ae(t,s,a);else{const h=Tt(t.trim()),d=_t(t),y=re(s.trim()),p=ne(s);I(h,d),I(y,p),T.relations.push({id1:h,id2:y,title:u.common$1.sanitizeText(a,u.getConfig())})}},mt=function(t,s){const a=T.states[t],h=s.startsWith(":")?s.replace(":","").trim():s;a.descriptions.push(u.common$1.sanitizeText(h,u.getConfig()))},le=function(t){return t.substring(0,1)===":"?t.substr(2).trim():t.trim()},ce=()=>(Lt++,"divider-id-"+Lt),Ft=function(t,s=""){P[t]===void 0&&(P[t]={id:t,styles:[],textStyles:[]});const a=P[t];s!=null&&s.split(Kt).forEach(h=>{const d=h.replace(/([^;]*);/,"$1").trim();if(h.match(At)){const p=d.replace(Ct,Xt).replace(At,Ct);a.textStyles.push(p)}a.styles.push(d)})},oe=function(){return P},bt=function(t,s){t.split(",").forEach(function(a){let h=V(a);if(h===void 0){const d=a.trim();I(d),h=V(d)}h.classes.push(s)})},he=function(t,s){const a=V(t);a!==void 0&&a.textStyles.push(s)},ue=function(t,s){const a=V(t);a!==void 0&&a.textStyles.push(s)},fe=()=>$t,de=t=>{$t=t},ye=t=>t&&t[0]===":"?t.substr(1).trim():t.trim(),pe={getConfig:()=>u.getConfig().state,addState:I,clear:Bt,getState:V,getStates:ee,getRelations:ie,getClasses:oe,getDirection:fe,addRelation:Pt,getDividerId:ce,setDirection:de,cleanupLabel:le,lineType:Wt,relationType:Jt,logDocuments:se,getRootDoc:Qt,setRootDoc:qt,getRootDocV2:Zt,extract:te,trimColon:ye,getAccTitle:u.getAccTitle,setAccTitle:u.setAccTitle,getAccDescription:u.getAccDescription,setAccDescription:u.setAccDescription,addStyleClass:Ft,setCssClass:bt,addDescription:mt,setDiagramTitle:u.setDiagramTitle,getDiagramTitle:u.getDiagramTitle},Se=t=>`
7
+ defs #statediagram-barbEnd {
8
+ fill: ${t.transitionColor};
9
+ stroke: ${t.transitionColor};
10
+ }
11
+ g.stateGroup text {
12
+ fill: ${t.nodeBorder};
13
+ stroke: none;
14
+ font-size: 10px;
15
+ }
16
+ g.stateGroup text {
17
+ fill: ${t.textColor};
18
+ stroke: none;
19
+ font-size: 10px;
20
+
21
+ }
22
+ g.stateGroup .state-title {
23
+ font-weight: bolder;
24
+ fill: ${t.stateLabelColor};
25
+ }
26
+
27
+ g.stateGroup rect {
28
+ fill: ${t.mainBkg};
29
+ stroke: ${t.nodeBorder};
30
+ }
31
+
32
+ g.stateGroup line {
33
+ stroke: ${t.lineColor};
34
+ stroke-width: 1;
35
+ }
36
+
37
+ .transition {
38
+ stroke: ${t.transitionColor};
39
+ stroke-width: 1;
40
+ fill: none;
41
+ }
42
+
43
+ .stateGroup .composit {
44
+ fill: ${t.background};
45
+ border-bottom: 1px
46
+ }
47
+
48
+ .stateGroup .alt-composit {
49
+ fill: #e0e0e0;
50
+ border-bottom: 1px
51
+ }
52
+
53
+ .state-note {
54
+ stroke: ${t.noteBorderColor};
55
+ fill: ${t.noteBkgColor};
56
+
57
+ text {
58
+ fill: ${t.noteTextColor};
59
+ stroke: none;
60
+ font-size: 10px;
61
+ }
62
+ }
63
+
64
+ .stateLabel .box {
65
+ stroke: none;
66
+ stroke-width: 0;
67
+ fill: ${t.mainBkg};
68
+ opacity: 0.5;
69
+ }
70
+
71
+ .edgeLabel .label rect {
72
+ fill: ${t.labelBackgroundColor};
73
+ opacity: 0.5;
74
+ }
75
+ .edgeLabel .label text {
76
+ fill: ${t.transitionLabelColor||t.tertiaryTextColor};
77
+ }
78
+ .label div .edgeLabel {
79
+ color: ${t.transitionLabelColor||t.tertiaryTextColor};
80
+ }
81
+
82
+ .stateLabel text {
83
+ fill: ${t.stateLabelColor};
84
+ font-size: 10px;
85
+ font-weight: bold;
86
+ }
87
+
88
+ .node circle.state-start {
89
+ fill: ${t.specialStateColor};
90
+ stroke: ${t.specialStateColor};
91
+ }
92
+
93
+ .node .fork-join {
94
+ fill: ${t.specialStateColor};
95
+ stroke: ${t.specialStateColor};
96
+ }
97
+
98
+ .node circle.state-end {
99
+ fill: ${t.innerEndBackground};
100
+ stroke: ${t.background};
101
+ stroke-width: 1.5
102
+ }
103
+ .end-state-inner {
104
+ fill: ${t.compositeBackground||t.background};
105
+ // stroke: ${t.background};
106
+ stroke-width: 1.5
107
+ }
108
+
109
+ .node rect {
110
+ fill: ${t.stateBkg||t.mainBkg};
111
+ stroke: ${t.stateBorder||t.nodeBorder};
112
+ stroke-width: 1px;
113
+ }
114
+ .node polygon {
115
+ fill: ${t.mainBkg};
116
+ stroke: ${t.stateBorder||t.nodeBorder};;
117
+ stroke-width: 1px;
118
+ }
119
+ #statediagram-barbEnd {
120
+ fill: ${t.lineColor};
121
+ }
122
+
123
+ .statediagram-cluster rect {
124
+ fill: ${t.compositeTitleBackground};
125
+ stroke: ${t.stateBorder||t.nodeBorder};
126
+ stroke-width: 1px;
127
+ }
128
+
129
+ .cluster-label, .nodeLabel {
130
+ color: ${t.stateLabelColor};
131
+ }
132
+
133
+ .statediagram-cluster rect.outer {
134
+ rx: 5px;
135
+ ry: 5px;
136
+ }
137
+ .statediagram-state .divider {
138
+ stroke: ${t.stateBorder||t.nodeBorder};
139
+ }
140
+
141
+ .statediagram-state .title-state {
142
+ rx: 5px;
143
+ ry: 5px;
144
+ }
145
+ .statediagram-cluster.statediagram-cluster .inner {
146
+ fill: ${t.compositeBackground||t.background};
147
+ }
148
+ .statediagram-cluster.statediagram-cluster-alt .inner {
149
+ fill: ${t.altBackground?t.altBackground:"#efefef"};
150
+ }
151
+
152
+ .statediagram-cluster .inner {
153
+ rx:0;
154
+ ry:0;
155
+ }
156
+
157
+ .statediagram-state rect.basic {
158
+ rx: 5px;
159
+ ry: 5px;
160
+ }
161
+ .statediagram-state rect.divider {
162
+ stroke-dasharray: 10,10;
163
+ fill: ${t.altBackground?t.altBackground:"#efefef"};
164
+ }
165
+
166
+ .note-edge {
167
+ stroke-dasharray: 5;
168
+ }
169
+
170
+ .statediagram-note rect {
171
+ fill: ${t.noteBkgColor};
172
+ stroke: ${t.noteBorderColor};
173
+ stroke-width: 1px;
174
+ rx: 0;
175
+ ry: 0;
176
+ }
177
+ .statediagram-note rect {
178
+ fill: ${t.noteBkgColor};
179
+ stroke: ${t.noteBorderColor};
180
+ stroke-width: 1px;
181
+ rx: 0;
182
+ ry: 0;
183
+ }
184
+
185
+ .statediagram-note text {
186
+ fill: ${t.noteTextColor};
187
+ }
188
+
189
+ .statediagram-note .nodeLabel {
190
+ color: ${t.noteTextColor};
191
+ }
192
+ .statediagram .edgeLabel {
193
+ color: red; // ${t.noteTextColor};
194
+ }
195
+
196
+ #dependencyStart, #dependencyEnd {
197
+ fill: ${t.lineColor};
198
+ stroke: ${t.lineColor};
199
+ stroke-width: 1;
200
+ }
201
+
202
+ .statediagramTitleText {
203
+ text-anchor: middle;
204
+ font-size: 18px;
205
+ fill: ${t.textColor};
206
+ }
207
+ `,ge=Se;exports.DEFAULT_NESTED_DOC_DIR=Mt;exports.DEFAULT_STATE_TYPE=ot;exports.DIVIDER_TYPE=vt;exports.STMT_RELATION=Et;exports.STMT_STATE=at;exports.db=pe;exports.parser$1=Ut;exports.styles=ge;
@@ -1,4 +1,4 @@
1
- import "./layers.CRqgQB8J.js";
1
+ import "./layers.D0LUaNf6.js";
2
2
  var e = { paste: "Coller", pasteAsPlaintext: "Coller comme texte brut", pasteCharts: "Coller les graphiques", selectAll: "Tout sélectionner", multiSelect: "Ajouter l'élément à la sélection", moveCanvas: "Déplacer le canevas", cut: "Couper", copy: "Copier", copyAsPng: "Copier dans le presse-papier en PNG", copyAsSvg: "Copier dans le presse-papier en SVG", copyText: "Copier dans le presse-papier en tant que texte", copySource: "Copier la source dans le presse-papiers", convertToCode: "Convertir en code", bringForward: "Envoyer vers l'avant", sendToBack: "Déplacer à l'arrière-plan", bringToFront: "Mettre au premier plan", sendBackward: "Reculer d'un plan", delete: "Supprimer", copyStyles: "Copier les styles", pasteStyles: "Coller les styles", stroke: "Trait", background: "Arrière-plan", fill: "Remplissage", strokeWidth: "Largeur du contour", strokeStyle: "Style du trait", strokeStyle_solid: "Continu", strokeStyle_dashed: "Tirets", strokeStyle_dotted: "Pointillés", sloppiness: "Style de tracé", opacity: "Transparence", textAlign: "Alignement du texte", edges: "Angles", sharp: "Pointus", round: "Arrondis", arrowheads: "Extrémités", arrowhead_none: "Sans", arrowhead_arrow: "Flèche", arrowhead_bar: "Barre", arrowhead_circle: "Cercle", arrowhead_circle_outline: "Contour du cercle", arrowhead_triangle: "Triangle", arrowhead_triangle_outline: "Triangle (contour)", arrowhead_diamond: "Losange", arrowhead_diamond_outline: "", fontSize: "Taille de la police", fontFamily: "Police", addWatermark: 'Ajouter "Réalisé avec Excalidraw"', handDrawn: "À main levée", normal: "Normale", code: "Code", small: "Petite", medium: "Moyenne", large: "Grande", veryLarge: "Très grande", solid: "Solide", hachure: "Hachures", zigzag: "Zigzag", crossHatch: "Hachures croisées", thin: "Fine", bold: "Épaisse", left: "À gauche", center: "Au centre", right: "À droite", extraBold: "Très épaisse", architect: "Architecte", artist: "Artiste", cartoonist: "Caricaturiste", fileTitle: "Nom du fichier", colorPicker: "Sélecteur de couleur", canvasColors: "Utilisé sur la zone de dessin", canvasBackground: "Arrière-plan du canevas", drawingCanvas: "Zone de dessin", layers: "Disposition", actions: "Actions", language: "Langue", liveCollaboration: "Collaboration en direct...", duplicateSelection: "Dupliquer", untitled: "Sans-titre", name: "Nom", yourName: "Votre nom", madeWithExcalidraw: "Fait avec Excalidraw", group: "Grouper la sélection", ungroup: "Dégrouper la sélection", collaborators: "Collaborateurs", showGrid: "Afficher la grille", addToLibrary: "Ajouter à la bibliothèque", removeFromLibrary: "Supprimer de la bibliothèque", libraryLoadingMessage: "Chargement de la bibliothèque…", libraries: "Parcourir les bibliothèques", loadingScene: "Chargement de la scène…", align: "Alignement", alignTop: "Aligner en haut", alignBottom: "Aligner en bas", alignLeft: "Aligner à gauche", alignRight: "Aligner à droite", centerVertically: "Centrer verticalement", centerHorizontally: "Centrer horizontalement", distributeHorizontally: "Répartir horizontalement", distributeVertically: "Répartir verticalement", flipHorizontal: "Retourner horizontalement", flipVertical: "Retourner verticalement", viewMode: "Mode présentation", share: "Partager", showStroke: "Afficher le sélecteur de couleur de trait", showBackground: "Afficher le sélecteur de couleur de fond", toggleTheme: "Changer le thème", personalLib: "Bibliothèque personnelle", excalidrawLib: "Bibliothèque Excalidraw", decreaseFontSize: "Diminuer la taille de police", increaseFontSize: "Augmenter la taille de la police", unbindText: "Dissocier le texte", bindText: "Associer le texte au conteneur", createContainerFromText: "Encadrer le texte dans un conteneur", link: { edit: "Modifier le lien", editEmbed: "Éditer le lien & intégrer", create: "Ajouter un lien", createEmbed: "Créer un lien & intégrer", label: "Lien", labelEmbed: "Lier & intégrer", empty: "Aucun lien défini" }, lineEditor: { edit: "Modifier la ligne", exit: "Quitter l'éditeur de ligne" }, elementLock: { lock: "Verrouiller", unlock: "Déverrouiller", lockAll: "Tout verrouiller", unlockAll: "Tout déverrouiller" }, statusPublished: "Publié", sidebarLock: "Maintenir la barre latérale ouverte", selectAllElementsInFrame: "Sélectionner tous les éléments du cadre", removeAllElementsFromFrame: "Supprimer tous les éléments du cadre", eyeDropper: "Choisir la couleur depuis la toile", textToDiagram: "Texte vers Diagramme", prompt: "Consignes" }, r = { noItems: "Aucun élément n'a encore été ajouté ...", hint_emptyLibrary: "Sélectionnez un élément sur le canevas pour l'ajouter ici ou installez une bibliothèque depuis le dépôt public, ci-dessous.", hint_emptyPrivateLibrary: "Sélectionnez un élément sur le canevas pour l'ajouter ici." }, i = { clearReset: "Réinitialiser le canevas", exportJSON: "Exporter comme fichier", exportImage: "Exporter l'image...", export: "Enregistrer sous...", copyToClipboard: "Copier dans le presse-papier", save: "Enregistrer dans le fichier actuel", saveAs: "Enregistrer sous", load: "Ouvrir", getShareableLink: "Obtenir un lien de partage", close: "Fermer", selectLanguage: "Choisir une langue", scrollBackToContent: "Revenir au contenu", zoomIn: "Zoomer", zoomOut: "Dézoomer", resetZoom: "Réinitialiser le zoom", menu: "Menu", done: "Terminé", edit: "Modifier", undo: "Annuler", redo: "Rétablir", resetLibrary: "Réinitialiser la bibliothèque", createNewRoom: "Créer une nouvelle salle", fullScreen: "Plein écran", darkMode: "Mode sombre", lightMode: "Mode clair", zenMode: "Mode zen", objectsSnapMode: "Aimanter aux objets", exitZenMode: "Quitter le mode zen", cancel: "Annuler", clear: "Effacer", remove: "Supprimer", embed: "Activer/Désactiver l'intégration", publishLibrary: "Publier", submit: "Envoyer", confirm: "Confirmer", embeddableInteractionButton: "Cliquez pour interagir" }, o = { clearReset: "L'intégralité du canevas va être effacée. Êtes-vous sûr ?", couldNotCreateShareableLink: "Impossible de créer un lien de partage.", couldNotCreateShareableLinkTooBig: "Impossible de créer un lien de partage : la scène est trop volumineuse", couldNotLoadInvalidFile: "Impossible de charger un fichier invalide", importBackendFailed: "L'importation depuis le serveur a échoué.", cannotExportEmptyCanvas: "Impossible d'exporter un canevas vide.", couldNotCopyToClipboard: "Impossible de copier dans le presse-papiers.", decryptFailed: "Les données n'ont pas pu être déchiffrées.", uploadedSecurly: "Le téléchargement a été sécurisé avec un chiffrement de bout en bout, ce qui signifie que ni Excalidraw ni personne d'autre ne peut en lire le contenu.", loadSceneOverridePrompt: "Le chargement d'un dessin externe remplacera votre contenu actuel. Souhaitez-vous continuer ?", collabStopOverridePrompt: `Arrêter la session écrasera votre précédent dessin stocké localement. Êtes-vous sûr·e ?
3
3
 
4
4
  (Si vous voulez garder votre dessin local, fermez simplement l'onglet du navigateur à la place.)`, errorAddingToLibrary: "Impossible d'ajouter l'élément à la bibliothèque", errorRemovingFromLibrary: "Impossible de retirer l'élément de la bibliothèque", confirmAddLibrary: "Cela va ajouter {{numShapes}} forme(s) à votre bibliothèque. Êtes-vous sûr·e ?", imageDoesNotContainScene: "Cette image ne semble pas contenir de données de scène. Avez-vous activé l'intégration de scène lors de l'exportation ?", cannotRestoreFromImage: "Impossible de restaurer la scène depuis ce fichier image", invalidSceneUrl: "Impossible d'importer la scène depuis l'URL fournie. Elle est soit incorrecte, soit ne contient pas de données JSON Excalidraw valides.", resetLibrary: "Cela va effacer votre bibliothèque. Êtes-vous sûr·e ?", removeItemsFromsLibrary: "Supprimer {{count}} élément(s) de la bibliothèque ?", invalidEncryptionKey: "La clé de chiffrement doit comporter 22 caractères. La collaboration en direct est désactivée.", collabOfflineWarning: `Aucune connexion internet disponible.
@@ -1,4 +1,4 @@
1
- import "./layers.CRqgQB8J.js";
1
+ import "./layers.D0LUaNf6.js";
2
2
  var u = { paste: "貼上", pasteAsPlaintext: "以純文字貼上", pasteCharts: "貼上圖表", selectAll: "全選", multiSelect: "將物件加入選取範圍", moveCanvas: "移動畫布", cut: "剪下", copy: "複製", copyAsPng: "以PNG格式儲存到剪貼板", copyAsSvg: "以SVG格式複製到剪貼板", copyText: "以文字格式複製至剪貼簿", copySource: "複製來源至剪貼簿", convertToCode: "轉換為程式碼", bringForward: "上移一層", sendToBack: "移到最底層", bringToFront: "置於最頂層", sendBackward: "往後移一層", delete: "刪除", copyStyles: "複製樣式", pasteStyles: "貼上樣式", stroke: "筆畫", background: "背景", fill: "填滿", strokeWidth: "筆跡寬度", strokeStyle: "筆畫樣式", strokeStyle_solid: "實線", strokeStyle_dashed: "虛線", strokeStyle_dotted: "點線", sloppiness: "線條風格", opacity: "透明度", textAlign: "文字對齊", edges: "邊緣", sharp: "尖銳", round: "平滑", arrowheads: "箭頭", arrowhead_none: "無", arrowhead_arrow: "箭頭", arrowhead_bar: "條狀箭頭", arrowhead_circle: "圓形", arrowhead_circle_outline: "圓形(外框)", arrowhead_triangle: "三角形", arrowhead_triangle_outline: "三角形(外框)", arrowhead_diamond: "菱形", arrowhead_diamond_outline: "菱形(外框)", fontSize: "字型大小", fontFamily: "字體集", addWatermark: '加上 "Made with Excalidraw" 浮水印', handDrawn: "手寫", normal: "一般", code: "代碼", small: "小", medium: "中", large: "大", veryLarge: "特大", solid: "實心", hachure: "斜線筆觸", zigzag: "Z字形", crossHatch: "交叉筆觸", thin: "細", bold: "粗", left: "左側", center: "置中", right: "右側", extraBold: "極粗", architect: "精確", artist: "藝術", cartoonist: "卡通", fileTitle: "檔案名稱", colorPicker: "色彩選擇工具", canvasColors: "使用於畫布", canvasBackground: "Canvas 背景", drawingCanvas: "繪圖 canvas", layers: "圖層", actions: "動作", language: "語言", liveCollaboration: "即時協作...", duplicateSelection: "複製", untitled: "無標題", name: "名稱", yourName: "你的名稱", madeWithExcalidraw: "以 Excalidraw 製作", group: "建立群組", ungroup: "取消群組", collaborators: "協作者", showGrid: "顯示格線", addToLibrary: "加入資料庫", removeFromLibrary: "從資料庫中移除", libraryLoadingMessage: "資料庫讀取中…", libraries: "瀏覽資料庫", loadingScene: "場景讀取中…", align: "對齊", alignTop: "對齊頂部", alignBottom: "對齊底部", alignLeft: "對齊左側", alignRight: "對齊右側", centerVertically: "垂直置中", centerHorizontally: "水平置中", distributeHorizontally: "水平分布", distributeVertically: "垂直分布", flipHorizontal: "水平翻轉", flipVertical: "垂直翻轉", viewMode: "檢視模式", share: "共享", showStroke: "顯示線條檢色器", showBackground: "顯示背景檢色器", toggleTheme: "切換主題", personalLib: "個人資料庫", excalidrawLib: "Excalidraw 資料庫", decreaseFontSize: "縮小文字", increaseFontSize: "放大文字", unbindText: "取消綁定文字", bindText: "結合文字至容器", createContainerFromText: "將文字包於容器中", link: { edit: "編輯連結", editEmbed: "編輯連結&嵌入", create: "建立連結", createEmbed: "建立連結&嵌入", label: "連結", labelEmbed: "連結&嵌入", empty: "未設定連結" }, lineEditor: { edit: "編輯線條", exit: "結束線條編輯" }, elementLock: { lock: "鎖定", unlock: "解鎖", lockAll: "全部鎖定", unlockAll: "全部解鎖" }, statusPublished: "已發布", sidebarLock: "側欄維持開啟", selectAllElementsInFrame: "選取框架內的所有元素", removeAllElementsFromFrame: "從框架內移除所有元素", eyeDropper: "從畫布中選取顏色", textToDiagram: "文字轉圖表", prompt: "提示詞" }, F = { noItems: "尚未加入任何物件...", hint_emptyLibrary: "選取畫布上的物件以加入,或從下方的公開 repository 中安裝資料庫", hint_emptyPrivateLibrary: "選擇畫布上的物件以在此加入" }, e = { clearReset: "重置 canvas", exportJSON: "匯出至檔案", exportImage: "匯出圖片", export: "儲存至...", copyToClipboard: "複製至剪貼簿", save: "儲存目前檔案", saveAs: "儲存為", load: "開啟", getShareableLink: "取得共享連結", close: "關閉", selectLanguage: "選擇語言", scrollBackToContent: "捲動回到內容", zoomIn: "放大", zoomOut: "縮小", resetZoom: "重設縮放", menu: "選單", done: "完成", edit: "編輯", undo: "復原", redo: "重做", resetLibrary: "重設資料庫", createNewRoom: "建立新協作會議室", fullScreen: "全螢幕", darkMode: "深色模式", lightMode: "淺色模式", zenMode: "專注模式", objectsSnapMode: "吸附至物件", exitZenMode: "離開專注模式", cancel: "取消", clear: "清除", remove: "刪除", embed: "切換嵌入", publishLibrary: "發布", submit: "送出", confirm: "確認", embeddableInteractionButton: "點擊以互動" }, E = { clearReset: "這將會清除整個 canvas。你確定嗎?", couldNotCreateShareableLink: "無法建立共享連結。", couldNotCreateShareableLinkTooBig: "無法建立共享連結:場景太大", couldNotLoadInvalidFile: "無法讀取失效的檔案。", importBackendFailed: "後端讀取失敗。", cannotExportEmptyCanvas: "無法輸出空白的 canvas。", couldNotCopyToClipboard: "無法複製到剪貼簿", decryptFailed: "無法解密資料。", uploadedSecurly: "上傳已通過 end-to-end 加密,Excalidraw 伺服器和第三方無法皆讀取其內容。", loadSceneOverridePrompt: "讀取外部圖樣將取代目前的內容。是否要繼續?", collabStopOverridePrompt: `停止連線將覆蓋您先前於本機儲存的繪圖進度,是否確認?
3
3
 
4
4
  (如要保留原有的本機繪圖進度,直接關閉瀏覽器分頁即可。)`, errorAddingToLibrary: "無法於此資料庫加入項目", errorRemovingFromLibrary: "無法由此資料庫移除項目", confirmAddLibrary: "這將會將 {{numShapes}} 個圖形加入你的資料庫,你確定嗎?", imageDoesNotContainScene: "此圖檔中未包含場景資料。輸出檔案時是否有包含場景資料?", cannotRestoreFromImage: "無法由此檔案回復場景。", invalidSceneUrl: "無法由提供的 URL 匯入場景。可能是發生異常,或未包含有效的 Excalidraw JSON 資料。", resetLibrary: "這會清除您的資料庫,是否確定?", removeItemsFromsLibrary: "從資料庫刪除 {{count}} 項?", invalidEncryptionKey: "加密鍵必須為22字元。即時協作已停用。", collabOfflineWarning: `沒有可用的網路連線。
@@ -1,4 +1,4 @@
1
- import "./layers.CRqgQB8J.js";
1
+ import "./layers.D0LUaNf6.js";
2
2
  var u = { paste: "Dán", pasteAsPlaintext: "Dán kiểu văn bản thuần", pasteCharts: "Dán biểu đồ", selectAll: "Chọn tất cả", multiSelect: "Thêm mới vào Select", moveCanvas: "Di chuyển canvas", cut: "Cắt", copy: "Sao chép", copyAsPng: "Sao chép vào bộ nhớ tạm dưới dạng PNG", copyAsSvg: "Sao chép vào bộ nhớ tạm dưới dạng SVG", copyText: "Sao chép vào bộ nhớ tạm dưới dạng chữ", copySource: "", convertToCode: "", bringForward: "Đưa ra trước", sendToBack: "Hạ xuống dưới", bringToFront: "Đưa ra đầu tiên", sendBackward: "Hạ xuống cuối", delete: "Xóa", copyStyles: "Sao chép định dạng", pasteStyles: "Dán định dạng", stroke: "Nét", background: "Nền", fill: "Fill", strokeWidth: "Độ dày nét", strokeStyle: "Kiểu nét", strokeStyle_solid: "Khối", strokeStyle_dashed: "Gạch ngang", strokeStyle_dotted: "Nhiều chấm", sloppiness: "Hoa văn nét", opacity: "Độ trong suốt", textAlign: "Căn chỉnh văn bản", edges: "Cạnh", sharp: "Nhọn", round: "Tròn", arrowheads: "Đầu mũi tên", arrowhead_none: "Không", arrowhead_arrow: "Mũi tên", arrowhead_bar: "Thanh", arrowhead_circle: "", arrowhead_circle_outline: "", arrowhead_triangle: "Tam giác", arrowhead_triangle_outline: "", arrowhead_diamond: "", arrowhead_diamond_outline: "", fontSize: "Cỡ chữ", fontFamily: "Phông chữ", addWatermark: 'Làm với Excalidraw"', handDrawn: "Vẽ tay", normal: "Bình thường", code: "Mã", small: "Nhỏ", medium: "Vừa", large: "Lớn", veryLarge: "Rất lớn", solid: "Đặc", hachure: "Nét gạch gạch", zigzag: "Zigzag", crossHatch: "Nét gạch chéo", thin: "Mỏng", bold: "In đậm", left: "Trái", center: "Giữa", right: "Phải", extraBold: "Nét siêu đậm", architect: "Kiến trúc sư", artist: "Nghệ sỹ", cartoonist: "Hoạt hình", fileTitle: "Tên tập tin", colorPicker: "Chọn màu", canvasColors: "Đã dùng trên canvas", canvasBackground: "Nền canvas", drawingCanvas: "Canvas vẽ", layers: "Lớp", actions: "Chức năng", language: "Ngôn ngữ", liveCollaboration: "Hợp tác trực tiếp...", duplicateSelection: "Tạo bản sao", untitled: "Không có tiêu đề", name: "Tên", yourName: "Tên của bạn", madeWithExcalidraw: "Làm với Excalidraw", group: "Gộp nhóm lại lựa chọn", ungroup: "Tách nhóm lựa chọn", collaborators: "Cộng tác viên", showGrid: "Hiển thị lưới", addToLibrary: "Thêm vào thư viện", removeFromLibrary: "Xóa khỏi thư viện", libraryLoadingMessage: "Đang tải thư viện…", libraries: "Xem thư viện", loadingScene: "Đang tải về…", align: "Căn chỉnh", alignTop: "Căn trên", alignBottom: "Căn dưới", alignLeft: "Canh trái", alignRight: "Canh phải", centerVertically: "Giữa theo chiều dọc", centerHorizontally: "Giữa theo chiều ngang", distributeHorizontally: "Phân bố theo chiều ngang", distributeVertically: "Phân bố theo chiều dọc", flipHorizontal: "Lật ngang", flipVertical: "Lật dọc", viewMode: "Chế độ xem", share: "Chia sẻ", showStroke: "Hiển thị chọn màu", showBackground: "Hiện thị chọn màu nền", toggleTheme: "", personalLib: "Thư viện cá nhân", excalidrawLib: "Thư viện Excalidraw", decreaseFontSize: "Giảm cỡ chữ", increaseFontSize: "Tăng cỡ chữ", unbindText: "", bindText: "", createContainerFromText: "", link: { edit: "Sửa liên kết", editEmbed: "", create: "Tạo liên kết", createEmbed: "", label: "Liên kết", labelEmbed: "", empty: "" }, lineEditor: { edit: "Điều chỉnh nét", exit: "Thoát chỉnh nét" }, elementLock: { lock: "Khoá", unlock: "Mở khoá", lockAll: "Khóa tất cả", unlockAll: "Mở khóa tất cả" }, statusPublished: "Đã đăng tải", sidebarLock: "Giữ thanh bên luôn mở", selectAllElementsInFrame: "", removeAllElementsFromFrame: "", eyeDropper: "", textToDiagram: "", prompt: "" }, E = { noItems: "Chưa có món nào...", hint_emptyLibrary: "Chọn một món trên canvas để thêm nó vào đây, hoặc cài đặt thư viện từ kho lưu trữ công cộng, ở bên dưới.", hint_emptyPrivateLibrary: "Chọn một món trên canvas để thêm nó vào đây." }, n = { clearReset: "Reset canvas", exportJSON: "Xuất ra tập tin", exportImage: "Xuất file ảnh...", export: "Lưu vào...", copyToClipboard: "Sao chép vào bộ nhớ tạm", save: "Lưu vào tập tin hiện tại", saveAs: "Lưu thành", load: "Mở", getShareableLink: "Tạo liên kết để chia sẻ", close: "Đóng", selectLanguage: "Chọn ngôn ngữ", scrollBackToContent: "Cuộn về nội dung chính", zoomIn: "Phóng to", zoomOut: "Thu nhỏ", resetZoom: "Đặt lại thu phóng", menu: "Bảng chọn", done: "Xong", edit: "Chỉnh sửa", undo: "Hoàn tác", redo: "Làm lại", resetLibrary: "", createNewRoom: "Tạo phòng mới", fullScreen: "Toàn màn hình", darkMode: "Chế độ tối", lightMode: "Chế độ sáng", zenMode: "Chế độ zen", objectsSnapMode: "", exitZenMode: "Thoát chể độ zen", cancel: "Hủy", clear: "Làm sạch", remove: "Xóa", embed: "", publishLibrary: "Đăng tải", submit: "Gửi", confirm: "Xác nhận", embeddableInteractionButton: "" }, e = { clearReset: "Điều này sẽ dọn hết canvas. Bạn có chắc không?", couldNotCreateShareableLink: "Không thể tạo đường dẫn chia sẻ.", couldNotCreateShareableLinkTooBig: "Không thể tạo đường dẫn chia sẻ: bản vẽ quá lớn", couldNotLoadInvalidFile: "Không thể load tập tin không hợp lệ", importBackendFailed: "", cannotExportEmptyCanvas: "Không thể xuất canvas trống.", couldNotCopyToClipboard: "", decryptFailed: "Không thể giải mã dữ liệu.", uploadedSecurly: "", loadSceneOverridePrompt: "", collabStopOverridePrompt: `Dừng phiên sẽ ghi đè lên bản vẽ được lưu trữ cục bộ trước đó của bạn. Bạn có chắc không?
3
3
 
4
4
  (Nếu bạn muốn giữ bản vẽ cục bộ của mình, chỉ cần đóng tab trình duyệt.)`, errorAddingToLibrary: "Không thể thêm món vào thư viện", errorRemovingFromLibrary: "Không thể xoá món khỏi thư viện", confirmAddLibrary: "Hình {{numShapes}} sẽ được thêm vào thư viện. Bạn chắc chứ?", imageDoesNotContainScene: "Hình ảnh này dường như không chứa bất kỳ dữ liệu cảnh nào. Bạn đã bật tính năng nhúng cảnh khi xuất chưa?", cannotRestoreFromImage: "", invalidSceneUrl: "", resetLibrary: "", removeItemsFromsLibrary: "Xoá {{count}} món từ thư viện?", invalidEncryptionKey: "Khóa mã hóa phải có 22 ký tự. Hợp tác trực tiếp bị vô hiệu hóa.", collabOfflineWarning: `Không có kết nối internet.
@@ -0,0 +1,139 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const k=require("./layers.BT-Zowct.js"),R=require("./layers.D-KUaT13.js");require("./layers.jeBs5I3w.js");const Q=require("./layers.K-5OCs0S.js");var X=(function(){var t=function(p,n,r,a){for(r=r||{},a=p.length;a--;r[p[a]]=n);return r},e=[6,8,10,11,12,14,16,17,18],i=[1,9],l=[1,10],s=[1,11],h=[1,12],c=[1,13],f=[1,14],y={trace:function(){},yy:{},symbols_:{error:2,start:3,journey:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,title:11,acc_title:12,acc_title_value:13,acc_descr:14,acc_descr_value:15,acc_descr_multiline_value:16,section:17,taskName:18,taskData:19,$accept:0,$end:1},terminals_:{2:"error",4:"journey",6:"EOF",8:"SPACE",10:"NEWLINE",11:"title",12:"acc_title",13:"acc_title_value",14:"acc_descr",15:"acc_descr_value",16:"acc_descr_multiline_value",17:"section",18:"taskName",19:"taskData"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,2]],performAction:function(n,r,a,u,d,o,T){var _=o.length-1;switch(d){case 1:return o[_-1];case 2:this.$=[];break;case 3:o[_-1].push(o[_]),this.$=o[_-1];break;case 4:case 5:this.$=o[_];break;case 6:case 7:this.$=[];break;case 8:u.setDiagramTitle(o[_].substr(6)),this.$=o[_].substr(6);break;case 9:this.$=o[_].trim(),u.setAccTitle(this.$);break;case 10:case 11:this.$=o[_].trim(),u.setAccDescription(this.$);break;case 12:u.addSection(o[_].substr(8)),this.$=o[_].substr(8);break;case 13:u.addTask(o[_-1],o[_]),this.$="task";break}},table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:i,12:l,14:s,16:h,17:c,18:f},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:15,11:i,12:l,14:s,16:h,17:c,18:f},t(e,[2,5]),t(e,[2,6]),t(e,[2,8]),{13:[1,16]},{15:[1,17]},t(e,[2,11]),t(e,[2,12]),{19:[1,18]},t(e,[2,4]),t(e,[2,9]),t(e,[2,10]),t(e,[2,13])],defaultActions:{},parseError:function(n,r){if(r.recoverable)this.trace(n);else{var a=new Error(n);throw a.hash=r,a}},parse:function(n){var r=this,a=[0],u=[],d=[null],o=[],T=this.table,_="",N=0,Z=0,ot=2,J=1,lt=o.slice.call(arguments,1),x=Object.create(this.lexer),C={yy:{}};for(var z in this.yy)Object.prototype.hasOwnProperty.call(this.yy,z)&&(C.yy[z]=this.yy[z]);x.setInput(n,C.yy),C.yy.lexer=x,C.yy.parser=this,typeof x.yylloc>"u"&&(x.yylloc={});var O=x.yylloc;o.push(O);var ct=x.options&&x.options.ranges;typeof C.yy.parseError=="function"?this.parseError=C.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function ht(){var M;return M=u.pop()||x.lex()||J,typeof M!="number"&&(M instanceof Array&&(u=M,M=u.pop()),M=r.symbols_[M]||M),M}for(var b,E,v,Y,P={},B,$,K,j;;){if(E=a[a.length-1],this.defaultActions[E]?v=this.defaultActions[E]:((b===null||typeof b>"u")&&(b=ht()),v=T[E]&&T[E][b]),typeof v>"u"||!v.length||!v[0]){var H="";j=[];for(B in T[E])this.terminals_[B]&&B>ot&&j.push("'"+this.terminals_[B]+"'");x.showPosition?H="Parse error on line "+(N+1)+`:
2
+ `+x.showPosition()+`
3
+ Expecting `+j.join(", ")+", got '"+(this.terminals_[b]||b)+"'":H="Parse error on line "+(N+1)+": Unexpected "+(b==J?"end of input":"'"+(this.terminals_[b]||b)+"'"),this.parseError(H,{text:x.match,token:this.terminals_[b]||b,line:x.yylineno,loc:O,expected:j})}if(v[0]instanceof Array&&v.length>1)throw new Error("Parse Error: multiple actions possible at state: "+E+", token: "+b);switch(v[0]){case 1:a.push(b),d.push(x.yytext),o.push(x.yylloc),a.push(v[1]),b=null,Z=x.yyleng,_=x.yytext,N=x.yylineno,O=x.yylloc;break;case 2:if($=this.productions_[v[1]][1],P.$=d[d.length-$],P._$={first_line:o[o.length-($||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-($||1)].first_column,last_column:o[o.length-1].last_column},ct&&(P._$.range=[o[o.length-($||1)].range[0],o[o.length-1].range[1]]),Y=this.performAction.apply(P,[_,Z,N,C.yy,v[1],d,o].concat(lt)),typeof Y<"u")return Y;$&&(a=a.slice(0,-1*$*2),d=d.slice(0,-1*$),o=o.slice(0,-1*$)),a.push(this.productions_[v[1]][0]),d.push(P.$),o.push(P._$),K=T[a[a.length-2]][a[a.length-1]],a.push(K);break;case 3:return!0}}return!0}},m=(function(){var p={EOF:1,parseError:function(r,a){if(this.yy.parser)this.yy.parser.parseError(r,a);else throw new Error(r)},setInput:function(n,r){return this.yy=r||this.yy||{},this._input=n,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var n=this._input[0];this.yytext+=n,this.yyleng++,this.offset++,this.match+=n,this.matched+=n;var r=n.match(/(?:\r\n?|\n).*/g);return r?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),n},unput:function(n){var r=n.length,a=n.split(/(?:\r\n?|\n)/g);this._input=n+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-r),this.offset-=r;var u=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),a.length-1&&(this.yylineno-=a.length-1);var d=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:a?(a.length===u.length?this.yylloc.first_column:0)+u[u.length-a.length].length-a[0].length:this.yylloc.first_column-r},this.options.ranges&&(this.yylloc.range=[d[0],d[0]+this.yyleng-r]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject: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},less:function(n){this.unput(this.match.slice(n))},pastInput:function(){var n=this.matched.substr(0,this.matched.length-this.match.length);return(n.length>20?"...":"")+n.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var n=this.match;return n.length<20&&(n+=this._input.substr(0,20-n.length)),(n.substr(0,20)+(n.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var n=this.pastInput(),r=new Array(n.length+1).join("-");return n+this.upcomingInput()+`
5
+ `+r+"^"},test_match:function(n,r){var a,u,d;if(this.options.backtrack_lexer&&(d={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&&(d.yylloc.range=this.yylloc.range.slice(0))),u=n[0].match(/(?:\r\n?|\n).*/g),u&&(this.yylineno+=u.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:u?u[u.length-1].length-u[u.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+n[0].length},this.yytext+=n[0],this.match+=n[0],this.matches=n,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(n[0].length),this.matched+=n[0],a=this.performAction.call(this,this.yy,this,r,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),a)return a;if(this._backtrack){for(var o in d)this[o]=d[o];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var n,r,a,u;this._more||(this.yytext="",this.match="");for(var d=this._currentRules(),o=0;o<d.length;o++)if(a=this._input.match(this.rules[d[o]]),a&&(!r||a[0].length>r[0].length)){if(r=a,u=o,this.options.backtrack_lexer){if(n=this.test_match(a,d[o]),n!==!1)return n;if(this._backtrack){r=!1;continue}else return!1}else if(!this.options.flex)break}return r?(n=this.test_match(r,d[u]),n!==!1?n:!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})},lex:function(){var r=this.next();return r||this.lex()},begin:function(r){this.conditionStack.push(r)},popState:function(){var r=this.conditionStack.length-1;return r>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(r){return r=this.conditionStack.length-1-Math.abs(r||0),r>=0?this.conditionStack[r]:"INITIAL"},pushState:function(r){this.begin(r)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(r,a,u,d){switch(u){case 0:break;case 1:break;case 2:return 10;case 3:break;case 4:break;case 5:return 4;case 6:return 11;case 7:return this.begin("acc_title"),12;case 8:return this.popState(),"acc_title_value";case 9:return this.begin("acc_descr"),14;case 10:return this.popState(),"acc_descr_value";case 11:this.begin("acc_descr_multiline");break;case 12:this.popState();break;case 13:return"acc_descr_multiline_value";case 14:return 17;case 15:return 18;case 16:return 19;case 17:return":";case 18:return 6;case 19:return"INVALID"}},rules:[/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:journey\b)/i,/^(?:title\s[^#\n;]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:section\s[^#:\n;]+)/i,/^(?:[^#:\n;]+)/i,/^(?::[^#\n;]+)/i,/^(?::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[12,13],inclusive:!1},acc_descr:{rules:[10],inclusive:!1},acc_title:{rules:[8],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,9,11,14,15,16,17,18,19],inclusive:!0}}};return p})();y.lexer=m;function g(){this.yy={}}return g.prototype=y,y.Parser=g,new g})();X.parser=X;const ut=X;let I="";const G=[],V=[],F=[],yt=function(){G.length=0,V.length=0,I="",F.length=0,k.clear()},ft=function(t){I=t,G.push(t)},dt=function(){return G},pt=function(){let t=D();const e=100;let i=0;for(;!t&&i<e;)t=D(),i++;return V.push(...F),V},gt=function(){const t=[];return V.forEach(i=>{i.people&&t.push(...i.people)}),[...new Set(t)].sort()},mt=function(t,e){const i=e.substr(1).split(":");let l=0,s=[];i.length===1?(l=Number(i[0]),s=[]):(l=Number(i[0]),s=i[1].split(","));const h=s.map(f=>f.trim()),c={section:I,type:I,people:h,task:t,score:l};F.push(c)},xt=function(t){const e={section:I,type:I,description:t,task:t,classes:[]};V.push(e)},D=function(){const t=function(i){return F[i].processed};let e=!0;for(const[i,l]of F.entries())t(i),e=e&&l.processed;return e},kt=function(){return gt()},tt={getConfig:()=>k.getConfig().journey,clear:yt,setDiagramTitle:k.setDiagramTitle,getDiagramTitle:k.getDiagramTitle,setAccTitle:k.setAccTitle,getAccTitle:k.getAccTitle,setAccDescription:k.setAccDescription,getAccDescription:k.getAccDescription,addSection:ft,getSections:dt,getTasks:pt,addTask:mt,addTaskOrg:xt,getActors:kt},_t=t=>`.label {
7
+ font-family: 'trebuchet ms', verdana, arial, sans-serif;
8
+ font-family: var(--mermaid-font-family);
9
+ color: ${t.textColor};
10
+ }
11
+ .mouth {
12
+ stroke: #666;
13
+ }
14
+
15
+ line {
16
+ stroke: ${t.textColor}
17
+ }
18
+
19
+ .legend {
20
+ fill: ${t.textColor};
21
+ }
22
+
23
+ .label text {
24
+ fill: #333;
25
+ }
26
+ .label {
27
+ color: ${t.textColor}
28
+ }
29
+
30
+ .face {
31
+ ${t.faceColor?`fill: ${t.faceColor}`:"fill: #FFF8DC"};
32
+ stroke: #999;
33
+ }
34
+
35
+ .node rect,
36
+ .node circle,
37
+ .node ellipse,
38
+ .node polygon,
39
+ .node path {
40
+ fill: ${t.mainBkg};
41
+ stroke: ${t.nodeBorder};
42
+ stroke-width: 1px;
43
+ }
44
+
45
+ .node .label {
46
+ text-align: center;
47
+ }
48
+ .node.clickable {
49
+ cursor: pointer;
50
+ }
51
+
52
+ .arrowheadPath {
53
+ fill: ${t.arrowheadColor};
54
+ }
55
+
56
+ .edgePath .path {
57
+ stroke: ${t.lineColor};
58
+ stroke-width: 1.5px;
59
+ }
60
+
61
+ .flowchart-link {
62
+ stroke: ${t.lineColor};
63
+ fill: none;
64
+ }
65
+
66
+ .edgeLabel {
67
+ background-color: ${t.edgeLabelBackground};
68
+ rect {
69
+ opacity: 0.5;
70
+ }
71
+ text-align: center;
72
+ }
73
+
74
+ .cluster rect {
75
+ }
76
+
77
+ .cluster text {
78
+ fill: ${t.titleColor};
79
+ }
80
+
81
+ div.mermaidTooltip {
82
+ position: absolute;
83
+ text-align: center;
84
+ max-width: 200px;
85
+ padding: 2px;
86
+ font-family: 'trebuchet ms', verdana, arial, sans-serif;
87
+ font-family: var(--mermaid-font-family);
88
+ font-size: 12px;
89
+ background: ${t.tertiaryColor};
90
+ border: 1px solid ${t.border2};
91
+ border-radius: 2px;
92
+ pointer-events: none;
93
+ z-index: 100;
94
+ }
95
+
96
+ .task-type-0, .section-type-0 {
97
+ ${t.fillType0?`fill: ${t.fillType0}`:""};
98
+ }
99
+ .task-type-1, .section-type-1 {
100
+ ${t.fillType0?`fill: ${t.fillType1}`:""};
101
+ }
102
+ .task-type-2, .section-type-2 {
103
+ ${t.fillType0?`fill: ${t.fillType2}`:""};
104
+ }
105
+ .task-type-3, .section-type-3 {
106
+ ${t.fillType0?`fill: ${t.fillType3}`:""};
107
+ }
108
+ .task-type-4, .section-type-4 {
109
+ ${t.fillType0?`fill: ${t.fillType4}`:""};
110
+ }
111
+ .task-type-5, .section-type-5 {
112
+ ${t.fillType0?`fill: ${t.fillType5}`:""};
113
+ }
114
+ .task-type-6, .section-type-6 {
115
+ ${t.fillType0?`fill: ${t.fillType6}`:""};
116
+ }
117
+ .task-type-7, .section-type-7 {
118
+ ${t.fillType0?`fill: ${t.fillType7}`:""};
119
+ }
120
+
121
+ .actor-0 {
122
+ ${t.actor0?`fill: ${t.actor0}`:""};
123
+ }
124
+ .actor-1 {
125
+ ${t.actor1?`fill: ${t.actor1}`:""};
126
+ }
127
+ .actor-2 {
128
+ ${t.actor2?`fill: ${t.actor2}`:""};
129
+ }
130
+ .actor-3 {
131
+ ${t.actor3?`fill: ${t.actor3}`:""};
132
+ }
133
+ .actor-4 {
134
+ ${t.actor4?`fill: ${t.actor4}`:""};
135
+ }
136
+ .actor-5 {
137
+ ${t.actor5?`fill: ${t.actor5}`:""};
138
+ }
139
+ `,bt=_t,U=function(t,e){return R.drawRect(t,e)},vt=function(t,e){const l=t.append("circle").attr("cx",e.cx).attr("cy",e.cy).attr("class","face").attr("r",15).attr("stroke-width",2).attr("overflow","visible"),s=t.append("g");s.append("circle").attr("cx",e.cx-15/3).attr("cy",e.cy-15/3).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666"),s.append("circle").attr("cx",e.cx+15/3).attr("cy",e.cy-15/3).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666");function h(y){const m=Q.arc().startAngle(Math.PI/2).endAngle(3*(Math.PI/2)).innerRadius(7.5).outerRadius(6.8181818181818175);y.append("path").attr("class","mouth").attr("d",m).attr("transform","translate("+e.cx+","+(e.cy+2)+")")}function c(y){const m=Q.arc().startAngle(3*Math.PI/2).endAngle(5*(Math.PI/2)).innerRadius(7.5).outerRadius(6.8181818181818175);y.append("path").attr("class","mouth").attr("d",m).attr("transform","translate("+e.cx+","+(e.cy+7)+")")}function f(y){y.append("line").attr("class","mouth").attr("stroke",2).attr("x1",e.cx-5).attr("y1",e.cy+7).attr("x2",e.cx+5).attr("y2",e.cy+7).attr("class","mouth").attr("stroke-width","1px").attr("stroke","#666")}return e.score>3?h(s):e.score<3?c(s):f(s),l},it=function(t,e){const i=t.append("circle");return i.attr("cx",e.cx),i.attr("cy",e.cy),i.attr("class","actor-"+e.pos),i.attr("fill",e.fill),i.attr("stroke",e.stroke),i.attr("r",e.r),i.class!==void 0&&i.attr("class",i.class),e.title!==void 0&&i.append("title").text(e.title),i},rt=function(t,e){return R.drawText(t,e)},wt=function(t,e){function i(s,h,c,f,y){return s+","+h+" "+(s+c)+","+h+" "+(s+c)+","+(h+f-y)+" "+(s+c-y*1.2)+","+(h+f)+" "+s+","+(h+f)}const l=t.append("polygon");l.attr("points",i(e.x,e.y,50,20,7)),l.attr("class","labelBox"),e.y=e.y+e.labelMargin,e.x=e.x+.5*e.labelMargin,rt(t,e)},Tt=function(t,e,i){const l=t.append("g"),s=R.getNoteRect();s.x=e.x,s.y=e.y,s.fill=e.fill,s.width=i.width*e.taskCount+i.diagramMarginX*(e.taskCount-1),s.height=i.height,s.class="journey-section section-type-"+e.num,s.rx=3,s.ry=3,U(l,s),at(i)(e.text,l,s.x,s.y,s.width,s.height,{class:"journey-section section-type-"+e.num},i,e.colour)};let et=-1;const $t=function(t,e,i){const l=e.x+i.width/2,s=t.append("g");et++,s.append("line").attr("id","task"+et).attr("x1",l).attr("y1",e.y).attr("x2",l).attr("y2",450).attr("class","task-line").attr("stroke-width","1px").attr("stroke-dasharray","4 2").attr("stroke","#666"),vt(s,{cx:l,cy:300+(5-e.score)*30,score:e.score});const c=R.getNoteRect();c.x=e.x,c.y=e.y,c.fill=e.fill,c.width=i.width,c.height=i.height,c.class="task task-type-"+e.num,c.rx=3,c.ry=3,U(s,c);let f=e.x+14;e.people.forEach(y=>{const m=e.actors[y].color,g={cx:f,cy:e.y,r:7,fill:m,stroke:"#000",title:y,pos:e.actors[y].position};it(s,g),f+=10}),at(i)(e.task,s,c.x,c.y,c.width,c.height,{class:"task"},i,e.colour)},Mt=function(t,e){R.drawBackgroundRect(t,e)},at=(function(){function t(s,h,c,f,y,m,g,p){const n=h.append("text").attr("x",c+y/2).attr("y",f+m/2+5).style("font-color",p).style("text-anchor","middle").text(s);l(n,g)}function e(s,h,c,f,y,m,g,p,n){const{taskFontSize:r,taskFontFamily:a}=p,u=s.split(/<br\s*\/?>/gi);for(let d=0;d<u.length;d++){const o=d*r-r*(u.length-1)/2,T=h.append("text").attr("x",c+y/2).attr("y",f).attr("fill",n).style("text-anchor","middle").style("font-size",r).style("font-family",a);T.append("tspan").attr("x",c+y/2).attr("dy",o).text(u[d]),T.attr("y",f+m/2).attr("dominant-baseline","central").attr("alignment-baseline","central"),l(T,g)}}function i(s,h,c,f,y,m,g,p){const n=h.append("switch"),a=n.append("foreignObject").attr("x",c).attr("y",f).attr("width",y).attr("height",m).attr("position","fixed").append("xhtml:div").style("display","table").style("height","100%").style("width","100%");a.append("div").attr("class","label").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(s),e(s,n,c,f,y,m,g,p),l(a,g)}function l(s,h){for(const c in h)c in h&&s.attr(c,h[c])}return function(s){return s.textPlacement==="fo"?i:s.textPlacement==="old"?t:e}})(),St=function(t){t.append("defs").append("marker").attr("id","arrowhead").attr("refX",5).attr("refY",2).attr("markerWidth",6).attr("markerHeight",4).attr("orient","auto").append("path").attr("d","M 0,0 V 4 L6,2 Z")},L={drawRect:U,drawCircle:it,drawSection:Tt,drawText:rt,drawLabel:wt,drawTask:$t,drawBackgroundRect:Mt,initGraphics:St},Ct=function(t){Object.keys(t).forEach(function(i){q[i]=t[i]})},S={};function Et(t){const e=k.getConfig().journey;let i=60;Object.keys(S).forEach(l=>{const s=S[l].color,h={cx:20,cy:i,r:7,fill:s,stroke:"#000",pos:S[l].position};L.drawCircle(t,h);const c={x:40,y:i+7,fill:"#666",text:l,textMargin:e.boxTextMargin|5};L.drawText(t,c),i+=20})}const q=k.getConfig().journey,A=q.leftMargin,At=function(t,e,i,l){const s=k.getConfig().journey,h=k.getConfig().securityLevel;let c;h==="sandbox"&&(c=k.select("#i"+e));const f=h==="sandbox"?k.select(c.nodes()[0].contentDocument.body):k.select("body");w.init();const y=f.select("#"+e);L.initGraphics(y);const m=l.db.getTasks(),g=l.db.getDiagramTitle(),p=l.db.getActors();for(const o in S)delete S[o];let n=0;p.forEach(o=>{S[o]={color:s.actorColours[n%s.actorColours.length],position:n},n++}),Et(y),w.insert(0,0,A,Object.keys(S).length*50),Pt(y,m,0);const r=w.getBounds();g&&y.append("text").text(g).attr("x",A).attr("font-size","4ex").attr("font-weight","bold").attr("y",25);const a=r.stopy-r.starty+2*s.diagramMarginY,u=A+r.stopx+2*s.diagramMarginX;k.configureSvgSize(y,a,u,s.useMaxWidth),y.append("line").attr("x1",A).attr("y1",s.height*4).attr("x2",u-A-4).attr("y2",s.height*4).attr("stroke-width",4).attr("stroke","black").attr("marker-end","url(#arrowhead)");const d=g?70:0;y.attr("viewBox",`${r.startx} -25 ${u} ${a+d}`),y.attr("preserveAspectRatio","xMinYMin meet"),y.attr("height",a+d+25)},w={data:{startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},verticalPos:0,sequenceItems:[],init:function(){this.sequenceItems=[],this.data={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},this.verticalPos=0},updateVal:function(t,e,i,l){t[e]===void 0?t[e]=i:t[e]=l(i,t[e])},updateBounds:function(t,e,i,l){const s=k.getConfig().journey,h=this;let c=0;function f(y){return function(g){c++;const p=h.sequenceItems.length-c+1;h.updateVal(g,"starty",e-p*s.boxMargin,Math.min),h.updateVal(g,"stopy",l+p*s.boxMargin,Math.max),h.updateVal(w.data,"startx",t-p*s.boxMargin,Math.min),h.updateVal(w.data,"stopx",i+p*s.boxMargin,Math.max),h.updateVal(g,"startx",t-p*s.boxMargin,Math.min),h.updateVal(g,"stopx",i+p*s.boxMargin,Math.max),h.updateVal(w.data,"starty",e-p*s.boxMargin,Math.min),h.updateVal(w.data,"stopy",l+p*s.boxMargin,Math.max)}}this.sequenceItems.forEach(f())},insert:function(t,e,i,l){const s=Math.min(t,i),h=Math.max(t,i),c=Math.min(e,l),f=Math.max(e,l);this.updateVal(w.data,"startx",s,Math.min),this.updateVal(w.data,"starty",c,Math.min),this.updateVal(w.data,"stopx",h,Math.max),this.updateVal(w.data,"stopy",f,Math.max),this.updateBounds(s,c,h,f)},bumpVerticalPos:function(t){this.verticalPos=this.verticalPos+t,this.data.stopy=this.verticalPos},getVerticalPos:function(){return this.verticalPos},getBounds:function(){return this.data}},W=q.sectionFills,nt=q.sectionColours,Pt=function(t,e,i){const l=k.getConfig().journey;let s="";const h=l.height*2+l.diagramMarginY,c=i+h;let f=0,y="#CCC",m="black",g=0;for(const[p,n]of e.entries()){if(s!==n.section){y=W[f%W.length],g=f%W.length,m=nt[f%nt.length];let a=0;const u=n.section;for(let o=p;o<e.length&&e[o].section==u;o++)a=a+1;const d={x:p*l.taskMargin+p*l.width+A,y:50,text:n.section,fill:y,num:g,colour:m,taskCount:a};L.drawSection(t,d,l),s=n.section,f++}const r=n.people.reduce((a,u)=>(S[u]&&(a[u]=S[u]),a),{});n.x=p*l.taskMargin+p*l.width+A,n.y=c,n.width=l.diagramMarginX,n.height=l.diagramMarginY,n.colour=m,n.fill=y,n.num=g,n.actors=r,L.drawTask(t,n,l),w.insert(n.x,n.y,n.x+n.width+l.taskMargin,450)}},st={setConf:Ct,draw:At},It={parser:ut,db:tt,renderer:st,styles:bt,init:t=>{st.setConf(t.journey),tt.clear()}};exports.diagram=It;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function u(t){function i(e){if(Object(e)!==e)return Promise.reject(new TypeError(e+" is not an object."));var n=e.done;return Promise.resolve(e.value).then(function(s){return{value:s,done:n}})}return u=function(e){this.s=e,this.n=e.next},u.prototype={s:null,n:null,next:function(){return i(this.n.apply(this.s,arguments))},return:function(e){var n=this.s.return;return n===void 0?Promise.resolve({value:e,done:!0}):i(n.apply(this.s,arguments))},throw:function(e){var n=this.s.return;return n===void 0?Promise.reject(e):i(n.apply(this.s,arguments))}},new u(t)}const m=async(t,i,e=t.name,n)=>{const s=[],y=[];var d,c=!1,v=!1;try{for(var h,f=(function(r){var o,a,l,p=2;for(typeof Symbol<"u"&&(a=Symbol.asyncIterator,l=Symbol.iterator);p--;){if(a&&(o=r[a])!=null)return o.call(r);if(l&&(o=r[l])!=null)return new u(o.call(r));a="@@asyncIterator",l="@@iterator"}throw new TypeError("Object is not async iterable")})(t.values());c=!(h=await f.next()).done;c=!1){const r=h.value,o=`${e}/${r.name}`;r.kind==="file"?y.push(r.getFile().then(a=>(a.directoryHandle=t,a.handle=r,Object.defineProperty(a,"webkitRelativePath",{configurable:!0,enumerable:!0,get:()=>o})))):r.kind!=="directory"||!i||n&&n(r)||s.push(m(r,i,o,n))}}catch(r){v=!0,d=r}finally{try{c&&f.return!=null&&await f.return()}finally{if(v)throw d}}return[...(await Promise.all(s)).flat(),...await Promise.all(y)]};var w=async(t={})=>{t.recursive=t.recursive||!1;const i=await window.showDirectoryPicker({id:t.id,startIn:t.startIn});return m(i,t.recursive,void 0,t.skipDirectory)};exports.default=w;
@@ -1,5 +1,5 @@
1
- import { K as i } from "./layers.CRqgQB8J.js";
2
- import { m as o } from "./layers.DzuES31X.js";
1
+ import { K as i } from "./layers.D0LUaNf6.js";
2
+ import { m as o } from "./layers.BLvIp7w9.js";
3
3
  const l = (s, t) => {
4
4
  const r = s.append("rect");
5
5
  if (r.attr("x", t.x), r.attr("y", t.y), r.attr("fill", t.fill), r.attr("stroke", t.stroke), r.attr("width", t.width), r.attr("height", t.height), t.name && r.attr("name", t.name), t.rx !== void 0 && r.attr("rx", t.rx), t.ry !== void 0 && r.attr("ry", t.ry), t.attrs !== void 0)