@intent-hq/web 2.340.6 → 2.340.7

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 (141) hide show
  1. package/package.json +1 -1
  2. package/web/app/immutable/chunks/{ByV5esjn.js → -dNCsu7w.js} +1 -1
  3. package/web/app/immutable/chunks/{Dcwc2djA.js → 1tkamMao.js} +1 -1
  4. package/web/app/immutable/chunks/{DTlEKJqy.js → 2P2kVPCB.js} +1 -1
  5. package/web/app/immutable/chunks/{C_CKJxnP.js → 8Wbpf7N2.js} +1 -1
  6. package/web/app/immutable/chunks/{fRLs4n3O.js → 9HsXeNBx.js} +1 -1
  7. package/web/app/immutable/chunks/{TZGe3OMK.js → 9twPAssU.js} +1 -1
  8. package/web/app/immutable/chunks/{CWLAsMTB.js → 9wnHE4mj.js} +1 -1
  9. package/web/app/immutable/chunks/{BBY6C0IK.js → AI_b5jlG.js} +1 -1
  10. package/web/app/immutable/chunks/{DKhiTKbW.js → B4deWBhm.js} +1 -1
  11. package/web/app/immutable/chunks/{B1qx8JJ_.js → B7TRhc1v.js} +1 -1
  12. package/web/app/immutable/chunks/{OFHFLNje.js → BEt4M6gK.js} +2 -2
  13. package/web/app/immutable/chunks/{M1A49W9w.js → BFda-Ujs.js} +1 -1
  14. package/web/app/immutable/chunks/{Ge0uEEo-.js → BGjqhE-a.js} +1 -1
  15. package/web/app/immutable/chunks/{CVd9x_8V.js → BJqh-N9X.js} +1 -1
  16. package/web/app/immutable/chunks/{C_x1sZu2.js → BJtCQYdU.js} +1 -1
  17. package/web/app/immutable/chunks/{BcZAt1_H.js → BKTUcy0r.js} +3 -3
  18. package/web/app/immutable/chunks/{C_p-Kfor.js → BMc0RC3L.js} +1 -1
  19. package/web/app/immutable/chunks/{CIjJMeHw.js → BPMHMdjQ.js} +1 -1
  20. package/web/app/immutable/chunks/{BxiYmwg2.js → BT4M00FE.js} +1 -1
  21. package/web/app/immutable/chunks/{iU77M41Z.js → B_1oD9ZO.js} +2 -2
  22. package/web/app/immutable/chunks/{etHGd3Hq.js → Ba0MC1Ai.js} +1 -1
  23. package/web/app/immutable/chunks/{DFMpUCE8.js → Bbp2vgh6.js} +1 -1
  24. package/web/app/immutable/chunks/{BY0E1iP7.js → Bd92SfyX.js} +1 -1
  25. package/web/app/immutable/chunks/{D__EtvuY.js → Be8QAJjH.js} +1 -1
  26. package/web/app/immutable/chunks/{D6ufKi8g.js → BeQsg97d.js} +1 -1
  27. package/web/app/immutable/chunks/{B3SoCSkY.js → BejYO45s.js} +1 -1
  28. package/web/app/immutable/chunks/{C4C9aEqJ.js → Bh2qnIyE.js} +12 -12
  29. package/web/app/immutable/chunks/{CqeYZsFI.js → Bj8OOzrW.js} +1 -1
  30. package/web/app/immutable/chunks/{DC6din1b.js → Bkb2JppZ.js} +1 -1
  31. package/web/app/immutable/chunks/{COrX_n08.js → BmOVoAuP.js} +1 -1
  32. package/web/app/immutable/chunks/{1zzTvnVt.js → Bnny-UX2.js} +1 -1
  33. package/web/app/immutable/chunks/{CrbgiVvK.js → Boe_FU77.js} +1 -1
  34. package/web/app/immutable/chunks/{D6l7oMHI.js → Br8Z_nmS.js} +1 -1
  35. package/web/app/immutable/chunks/{t5zcSjIO.js → BsJepqY8.js} +1 -1
  36. package/web/app/immutable/chunks/{gNoxwZxZ.js → Bsgx3c3i.js} +1 -1
  37. package/web/app/immutable/chunks/{b1l2x0MA.js → Bu6kTDqK.js} +1 -1
  38. package/web/app/immutable/chunks/{Dl0GU3up.js → ByPwCkMc.js} +4 -4
  39. package/web/app/immutable/chunks/{DiTnb1P-.js → ByuW8CQ3.js} +1 -1
  40. package/web/app/immutable/chunks/{DkQ_WhSU.js → BzJYuxYV.js} +1 -1
  41. package/web/app/immutable/chunks/{BMbaoyFH.js → C0P4m-SB.js} +4 -4
  42. package/web/app/immutable/chunks/{eTOAo4LX.js → C3YthNht.js} +1 -1
  43. package/web/app/immutable/chunks/{8nZ72cNt.js → C490-vcB.js} +1 -1
  44. package/web/app/immutable/chunks/{6LOqOXDu.js → C4qv7Dpg.js} +1 -1
  45. package/web/app/immutable/chunks/{DJSbaLBj.js → C4zS7Es5.js} +1 -1
  46. package/web/app/immutable/chunks/{CsM0rIyN.js → C6HaR2KP.js} +1 -1
  47. package/web/app/immutable/chunks/{BAFq1AFI.js → CDYDn5lR.js} +1 -1
  48. package/web/app/immutable/chunks/{FY5Q7suL.js → CG-wUQnZ.js} +1 -1
  49. package/web/app/immutable/chunks/{DiKVnNpA.js → CKAixUGj.js} +4 -4
  50. package/web/app/immutable/chunks/{HhkQjHUK.js → CLeKPrPb.js} +1 -1
  51. package/web/app/immutable/chunks/{CjsX479D.js → COHkleOL.js} +1 -1
  52. package/web/app/immutable/chunks/{C1bFKEcb.js → CQZlhl3K.js} +1 -1
  53. package/web/app/immutable/chunks/{CeTeqcAO.js → CTnbGelF.js} +1 -1
  54. package/web/app/immutable/chunks/{CZR5ZTNX.js → CVsEKB0R.js} +1 -1
  55. package/web/app/immutable/chunks/{D5kuJ4AR.js → CX8H2ves.js} +1 -1
  56. package/web/app/immutable/chunks/{CKQKk1Ku.js → CXIgxu2a.js} +1 -1
  57. package/web/app/immutable/chunks/{CHLArQrL.js → CYsnGP7P.js} +1 -1
  58. package/web/app/immutable/chunks/{CxfJ9pVE.js → CZwWYP-m.js} +1 -1
  59. package/web/app/immutable/chunks/{j4tkFfox.js → CbDqUsqr.js} +1 -1
  60. package/web/app/immutable/chunks/{O-VmbRsR.js → Ccyhl2kf.js} +1 -1
  61. package/web/app/immutable/chunks/{HbSy1-Xh.js → CdYZLRXg.js} +1 -1
  62. package/web/app/immutable/chunks/{D5ODnJqN.js → Cdz-dTJc.js} +1 -1
  63. package/web/app/immutable/chunks/{D-KeFJd1.js → CkeU3F3D.js} +1 -1
  64. package/web/app/immutable/chunks/{Bwp_IhBH.js → Cn5zzBrS.js} +1 -1
  65. package/web/app/immutable/chunks/{D0Sca-Fp.js → Cp_23Eo7.js} +3 -3
  66. package/web/app/immutable/chunks/{CVzPOOwl.js → CsQEs72A.js} +1 -1
  67. package/web/app/immutable/chunks/{BC4m0ek2.js → CvyuoqmI.js} +1 -1
  68. package/web/app/immutable/chunks/{BWRv4jYV.js → D0Zs15zf.js} +1 -1
  69. package/web/app/immutable/chunks/{CH3vrkAm.js → D0_C6Y6w.js} +1 -1
  70. package/web/app/immutable/chunks/{BgOcyw2D.js → D7XO4i7w.js} +1 -1
  71. package/web/app/immutable/chunks/{yzCQdK92.js → D8dKPp7k.js} +1 -1
  72. package/web/app/immutable/chunks/{CV7aDOaJ.js → D8zuzFHW.js} +1 -1
  73. package/web/app/immutable/chunks/{3AB6s4tE.js → DA9827Ou.js} +1 -1
  74. package/web/app/immutable/chunks/{CzcNn8BK.js → DAvg18a7.js} +1 -1
  75. package/web/app/immutable/chunks/{HqU78q0z.js → DB-R65cd.js} +2 -2
  76. package/web/app/immutable/chunks/{4pPr0TbX.js → DD0ZWM8H.js} +1 -1
  77. package/web/app/immutable/chunks/{YCf9YQ0d.js → DF6fRPMU.js} +1 -1
  78. package/web/app/immutable/chunks/{QkOzjVQc.js → DKPjRtn_.js} +4 -4
  79. package/web/app/immutable/chunks/{B6-_n61y.js → DM3oLKKN.js} +6 -6
  80. package/web/app/immutable/chunks/{_zYQ1N4x.js → DQQN34Q0.js} +1 -1
  81. package/web/app/immutable/chunks/{Kdx_EaUx.js → DTdxkg7G.js} +1 -1
  82. package/web/app/immutable/chunks/{4ky4SrJc.js → DTgdngdm.js} +1 -1
  83. package/web/app/immutable/chunks/{BkJEcisi.js → DV6BiHtA.js} +1 -1
  84. package/web/app/immutable/chunks/{D8DWZHUq.js → DZE3URJN.js} +1 -1
  85. package/web/app/immutable/chunks/{Ns2qHkqi.js → DdK8ZPOk.js} +2 -2
  86. package/web/app/immutable/chunks/{D15H4oRf.js → De1NHw-5.js} +1 -1
  87. package/web/app/immutable/chunks/{Cp6myVhl.js → DhIZOm2E.js} +1 -1
  88. package/web/app/immutable/chunks/{DQkPf_4w.js → DmShYb80.js} +1 -1
  89. package/web/app/immutable/chunks/{mNy9r7LX.js → DnpKDKHX.js} +1 -1
  90. package/web/app/immutable/chunks/{YX1522DG.js → DnxyCPYU.js} +1 -1
  91. package/web/app/immutable/chunks/{cSOpNTcQ.js → Dogti_VQ.js} +3 -3
  92. package/web/app/immutable/chunks/{CexA-t1b.js → Doi4K0nr.js} +1 -1
  93. package/web/app/immutable/chunks/{K0eFxcR7.js → DrYvitBx.js} +1 -1
  94. package/web/app/immutable/chunks/{C5VTexpW.js → DxGvCXqx.js} +1 -1
  95. package/web/app/immutable/chunks/{CU9XHYHQ.js → DzaVJwKP.js} +1 -1
  96. package/web/app/immutable/chunks/{B0YUMwLM.js → ETQYVXfv.js} +1 -1
  97. package/web/app/immutable/chunks/{_c0b5RiW.js → EfsySr-7.js} +1 -1
  98. package/web/app/immutable/chunks/{BGxwES8N.js → GLaUdcVG.js} +1 -1
  99. package/web/app/immutable/chunks/{HOnzeXNV.js → GhBVkn0A.js} +1 -1
  100. package/web/app/immutable/chunks/{D-zxUN6t.js → KsUNEVwc.js} +1 -1
  101. package/web/app/immutable/chunks/{Cj01MC7B.js → LUmI1RpP.js} +1 -1
  102. package/web/app/immutable/chunks/{DCuF_YI1.js → Lbcfa2vI.js} +2 -2
  103. package/web/app/immutable/chunks/{BUFX_mPw.js → R998t4dy.js} +3 -3
  104. package/web/app/immutable/chunks/{CAOpOF2d.js → S2KOBxse.js} +1 -1
  105. package/web/app/immutable/chunks/{Biff1vjc.js → X_GAP9Jd.js} +3 -3
  106. package/web/app/immutable/chunks/{Cm5DOj9x.js → _621KNlC.js} +1 -1
  107. package/web/app/immutable/chunks/{BxD5AERd.js → _laUUQkK.js} +2 -2
  108. package/web/app/immutable/chunks/{DBunkriw.js → a4p9mH2a.js} +1 -1
  109. package/web/app/immutable/chunks/{Dk9BwVWN.js → b-9RFiLF.js} +2 -2
  110. package/web/app/immutable/chunks/{Df793aTM.js → dUdcU4jc.js} +2 -2
  111. package/web/app/immutable/chunks/{BIW9BxTL.js → iI3ATVN9.js} +1 -1
  112. package/web/app/immutable/chunks/{DYlIySpa.js → iteVAcc8.js} +1 -1
  113. package/web/app/immutable/chunks/{sKfkOhQG.js → kjcC8vHg.js} +1 -1
  114. package/web/app/immutable/chunks/{BkhvDlGb.js → lG8YRSFt.js} +1 -1
  115. package/web/app/immutable/chunks/{DnLbLSkh.js → lo4jmysS.js} +1 -1
  116. package/web/app/immutable/chunks/{D8GJMKxV.js → oAhLaZGg.js} +1 -1
  117. package/web/app/immutable/chunks/{BYUG1_M-.js → pAZeyaYi.js} +1 -1
  118. package/web/app/immutable/chunks/{CnztRGqH.js → pBo-Ckpw.js} +1 -1
  119. package/web/app/immutable/chunks/{DL0xgk9b.js → qIqnGNYN.js} +1 -1
  120. package/web/app/immutable/chunks/{ox9Bg2sp.js → v5Ulh8Hm.js} +1 -1
  121. package/web/app/immutable/chunks/{DvhuEIzR.js → xUweO4ts.js} +1 -1
  122. package/web/app/immutable/chunks/{B9O8hRmi.js → xpVEpcY9.js} +1 -1
  123. package/web/app/immutable/chunks/{CULXF2Qp.js → yz8u5JJg.js} +1 -1
  124. package/web/app/immutable/entry/{app.F2xw-XeW.js → app.B1_sCwR_.js} +2 -2
  125. package/web/app/immutable/entry/start.DpOilleL.js +1 -0
  126. package/web/app/immutable/nodes/{0.BNZhTpvz.js → 0.Dm_Wrn8a.js} +1 -1
  127. package/web/app/immutable/nodes/{1.D6TO8-ms.js → 1.tHwXdWHU.js} +1 -1
  128. package/web/app/immutable/nodes/{10.BlEex6Ex.js → 10.CH-P0d_x.js} +1 -1
  129. package/web/app/immutable/nodes/{14.-lSIKZBv.js → 14.DHU-88k0.js} +1 -1
  130. package/web/app/immutable/nodes/{17.ffmdCuSw.js → 17.BVdrxt4z.js} +2 -2
  131. package/web/app/immutable/nodes/{2.Dm8kTJ3J.js → 2.CYfia3l7.js} +4 -4
  132. package/web/app/immutable/nodes/{3.Ch4CnbVo.js → 3.LTzWUntu.js} +1 -1
  133. package/web/app/immutable/nodes/{4.B1MnBi41.js → 4.DmnpJbBQ.js} +1 -1
  134. package/web/app/immutable/nodes/{5.CT6EoSVV.js → 5.OcCkV4TE.js} +1 -1
  135. package/web/app/immutable/nodes/{6.DGscet-O.js → 6.BX-GHMl7.js} +1 -1
  136. package/web/app/immutable/nodes/{7.BXLXL53Q.js → 7.845VSiaM.js} +1 -1
  137. package/web/app/immutable/nodes/{8.C4OalPt9.js → 8.DhfxJ-A6.js} +4 -4
  138. package/web/app/immutable/nodes/{9.ClM472Gh.js → 9.ByyuHyJR.js} +4 -4
  139. package/web/app/version.json +1 -1
  140. package/web/index.html +9 -9
  141. package/web/app/immutable/entry/start.BYKhwMoZ.js +0 -1
@@ -1,4 +1,4 @@
1
- import{I as pr}from"./C5VTexpW.js";import{b as f,a$ as Er,X as j,aW as Kt,ay as nt,P as Ue,B as ur,h as fr,z as N,a_ as Ke,aZ as _r,b0 as gr,V as xr,U as yr,Y as Ir,ax as Rr,J as Or,r as Lr,aV as Ft,bh as Q,aa as tt,l as vt,aH as Ge,Z as br,W as zt,a7 as mr,aQ as Xe}from"./DiKVnNpA.js";import{d as Sr,h as le,g as pt,e as Ar,a as he,b as de}from"./Cm5DOj9x.js";var ne=(function(){var e=f(function(_t,w,C,D){for(C=C||{},D=_t.length;D--;C[_t[D]]=w);return C},"o"),t=[1,2],a=[1,3],r=[1,4],i=[2,4],o=[1,9],s=[1,11],n=[1,12],h=[1,14],d=[1,15],E=[1,17],u=[1,18],_=[1,19],L=[1,25],g=[1,26],R=[1,27],T=[1,28],O=[1,29],x=[1,30],m=[1,31],S=[1,32],b=[1,33],P=[1,34],k=[1,35],B=[1,36],V=[1,37],H=[1,38],z=[1,39],X=[1,40],et=[1,42],rt=[1,43],U=[1,44],ot=[1,45],at=[1,46],W=[1,47],M=[1,4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,48,49,50,51,53,54,56,61,62,63,64,73],Z=[1,56],Mt=[1,75],A=[1,81],v=[1,82],dt=[1,83],st=[1,84],K=[1,85],mt=[1,86],pe=[1,87],Ee=[1,88],ue=[1,89],fe=[1,90],_e=[1,91],ge=[1,92],xe=[1,93],ye=[1,94],Ie=[1,95],Re=[1,96],Oe=[1,97],Le=[1,98],be=[1,99],me=[1,100],Se=[1,101],Ae=[1,102],we=[1,103],Ne=[1,104],Pe=[1,105],ke=[1,106],De=[2,79],ve=[2,78],Pt=[4,5,17,51,53,54],Bt=[4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,51,53,54,56,61,62,63,64,73],Ce=[4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,50,51,53,54,56,61,62,63,64,73],$t=[4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,49,51,53,54,56,61,62,63,64,73],Me=[4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,48,51,53,54,56,61,62,63,64,73],jt=[5,52],F=[62,70,71,72,73],Be=[62,73],lt=[1,152],te={trace:f(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SPACE:4,NEWLINE:5,SD:6,document:7,line:8,statement:9,INVALID:10,box_section:11,box_line:12,participant_statement:13,create:14,box:15,restOfLine:16,end:17,signal:18,autonumber:19,NUM:20,off:21,activate:22,actor:23,deactivate:24,note_statement:25,links_statement:26,link_statement:27,properties_statement:28,details_statement:29,title:30,legacy_title:31,acc_title:32,acc_title_value:33,acc_descr:34,acc_descr_value:35,acc_descr_multiline_value:36,loop:37,rect:38,opt:39,alt:40,else_sections:41,par:42,par_sections:43,par_over:44,critical:45,option_sections:46,break:47,option:48,and:49,else:50,participant:51,AS:52,participant_actor:53,destroy:54,actor_with_config:55,note:56,placement:57,text2:58,over:59,actor_pair:60,links:61,link:62,properties:63,details:64,spaceList:65,",":66,left_of:67,right_of:68,signaltype:69,"+":70,"-":71,"()":72,ACTOR:73,config_object:74,CONFIG_START:75,CONFIG_CONTENT:76,CONFIG_END:77,SOLID_OPEN_ARROW:78,DOTTED_OPEN_ARROW:79,SOLID_ARROW:80,SOLID_ARROW_TOP:81,SOLID_ARROW_BOTTOM:82,STICK_ARROW_TOP:83,STICK_ARROW_BOTTOM:84,SOLID_ARROW_TOP_DOTTED:85,SOLID_ARROW_BOTTOM_DOTTED:86,STICK_ARROW_TOP_DOTTED:87,STICK_ARROW_BOTTOM_DOTTED:88,SOLID_ARROW_TOP_REVERSE:89,SOLID_ARROW_BOTTOM_REVERSE:90,STICK_ARROW_TOP_REVERSE:91,STICK_ARROW_BOTTOM_REVERSE:92,SOLID_ARROW_TOP_REVERSE_DOTTED:93,SOLID_ARROW_BOTTOM_REVERSE_DOTTED:94,STICK_ARROW_TOP_REVERSE_DOTTED:95,STICK_ARROW_BOTTOM_REVERSE_DOTTED:96,BIDIRECTIONAL_SOLID_ARROW:97,DOTTED_ARROW:98,BIDIRECTIONAL_DOTTED_ARROW:99,SOLID_CROSS:100,DOTTED_CROSS:101,SOLID_POINT:102,DOTTED_POINT:103,TXT:104,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NEWLINE",6:"SD",10:"INVALID",14:"create",15:"box",16:"restOfLine",17:"end",19:"autonumber",20:"NUM",21:"off",22:"activate",24:"deactivate",30:"title",31:"legacy_title",32:"acc_title",33:"acc_title_value",34:"acc_descr",35:"acc_descr_value",36:"acc_descr_multiline_value",37:"loop",38:"rect",39:"opt",40:"alt",42:"par",44:"par_over",45:"critical",47:"break",48:"option",49:"and",50:"else",51:"participant",52:"AS",53:"participant_actor",54:"destroy",56:"note",59:"over",61:"links",62:"link",63:"properties",64:"details",66:",",67:"left_of",68:"right_of",70:"+",71:"-",72:"()",73:"ACTOR",75:"CONFIG_START",76:"CONFIG_CONTENT",77:"CONFIG_END",78:"SOLID_OPEN_ARROW",79:"DOTTED_OPEN_ARROW",80:"SOLID_ARROW",81:"SOLID_ARROW_TOP",82:"SOLID_ARROW_BOTTOM",83:"STICK_ARROW_TOP",84:"STICK_ARROW_BOTTOM",85:"SOLID_ARROW_TOP_DOTTED",86:"SOLID_ARROW_BOTTOM_DOTTED",87:"STICK_ARROW_TOP_DOTTED",88:"STICK_ARROW_BOTTOM_DOTTED",89:"SOLID_ARROW_TOP_REVERSE",90:"SOLID_ARROW_BOTTOM_REVERSE",91:"STICK_ARROW_TOP_REVERSE",92:"STICK_ARROW_BOTTOM_REVERSE",93:"SOLID_ARROW_TOP_REVERSE_DOTTED",94:"SOLID_ARROW_BOTTOM_REVERSE_DOTTED",95:"STICK_ARROW_TOP_REVERSE_DOTTED",96:"STICK_ARROW_BOTTOM_REVERSE_DOTTED",97:"BIDIRECTIONAL_SOLID_ARROW",98:"DOTTED_ARROW",99:"BIDIRECTIONAL_DOTTED_ARROW",100:"SOLID_CROSS",101:"DOTTED_CROSS",102:"SOLID_POINT",103:"DOTTED_POINT",104:"TXT"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[8,1],[11,0],[11,2],[12,2],[12,1],[12,1],[9,1],[9,2],[9,4],[9,2],[9,4],[9,3],[9,3],[9,2],[9,3],[9,3],[9,2],[9,2],[9,2],[9,2],[9,2],[9,1],[9,1],[9,2],[9,2],[9,1],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[46,1],[46,4],[43,1],[43,4],[41,1],[41,4],[13,5],[13,3],[13,5],[13,3],[13,3],[13,5],[13,3],[13,5],[13,3],[25,4],[25,4],[26,3],[27,3],[28,3],[29,3],[65,2],[65,1],[60,3],[60,1],[57,1],[57,1],[18,5],[18,5],[18,5],[18,5],[18,6],[18,4],[55,2],[74,3],[23,1],[23,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[58,1]],performAction:f(function(w,C,D,y,G,c,kt){var p=c.length-1;switch(G){case 3:return y.apply(c[p]),c[p];case 4:case 10:this.$=[];break;case 5:case 11:c[p-1].push(c[p]),this.$=c[p-1];break;case 6:case 7:case 12:case 13:this.$=c[p];break;case 8:case 9:case 14:this.$=[];break;case 16:c[p].type="createParticipant",this.$=c[p];break;case 17:c[p-1].unshift({type:"boxStart",boxData:y.parseBoxData(c[p-2])}),c[p-1].push({type:"boxEnd",boxText:c[p-2]}),this.$=c[p-1];break;case 19:this.$={type:"sequenceIndex",sequenceIndex:Number(c[p-2]),sequenceIndexStep:Number(c[p-1]),sequenceVisible:!0,signalType:y.LINETYPE.AUTONUMBER};break;case 20:this.$={type:"sequenceIndex",sequenceIndex:Number(c[p-1]),sequenceIndexStep:1,sequenceVisible:!0,signalType:y.LINETYPE.AUTONUMBER};break;case 21:this.$={type:"sequenceIndex",sequenceVisible:!1,signalType:y.LINETYPE.AUTONUMBER};break;case 22:this.$={type:"sequenceIndex",sequenceVisible:!0,signalType:y.LINETYPE.AUTONUMBER};break;case 23:this.$={type:"activeStart",signalType:y.LINETYPE.ACTIVE_START,actor:c[p-1].actor};break;case 24:this.$={type:"activeEnd",signalType:y.LINETYPE.ACTIVE_END,actor:c[p-1].actor};break;case 30:y.setDiagramTitle(c[p].substring(6)),this.$=c[p].substring(6);break;case 31:y.setDiagramTitle(c[p].substring(7)),this.$=c[p].substring(7);break;case 32:this.$=c[p].trim(),y.setAccTitle(this.$);break;case 33:case 34:this.$=c[p].trim(),y.setAccDescription(this.$);break;case 35:c[p-1].unshift({type:"loopStart",loopText:y.parseMessage(c[p-2]),signalType:y.LINETYPE.LOOP_START}),c[p-1].push({type:"loopEnd",loopText:c[p-2],signalType:y.LINETYPE.LOOP_END}),this.$=c[p-1];break;case 36:c[p-1].unshift({type:"rectStart",color:y.parseMessage(c[p-2]),signalType:y.LINETYPE.RECT_START}),c[p-1].push({type:"rectEnd",color:y.parseMessage(c[p-2]),signalType:y.LINETYPE.RECT_END}),this.$=c[p-1];break;case 37:c[p-1].unshift({type:"optStart",optText:y.parseMessage(c[p-2]),signalType:y.LINETYPE.OPT_START}),c[p-1].push({type:"optEnd",optText:y.parseMessage(c[p-2]),signalType:y.LINETYPE.OPT_END}),this.$=c[p-1];break;case 38:c[p-1].unshift({type:"altStart",altText:y.parseMessage(c[p-2]),signalType:y.LINETYPE.ALT_START}),c[p-1].push({type:"altEnd",signalType:y.LINETYPE.ALT_END}),this.$=c[p-1];break;case 39:c[p-1].unshift({type:"parStart",parText:y.parseMessage(c[p-2]),signalType:y.LINETYPE.PAR_START}),c[p-1].push({type:"parEnd",signalType:y.LINETYPE.PAR_END}),this.$=c[p-1];break;case 40:c[p-1].unshift({type:"parStart",parText:y.parseMessage(c[p-2]),signalType:y.LINETYPE.PAR_OVER_START}),c[p-1].push({type:"parEnd",signalType:y.LINETYPE.PAR_END}),this.$=c[p-1];break;case 41:c[p-1].unshift({type:"criticalStart",criticalText:y.parseMessage(c[p-2]),signalType:y.LINETYPE.CRITICAL_START}),c[p-1].push({type:"criticalEnd",signalType:y.LINETYPE.CRITICAL_END}),this.$=c[p-1];break;case 42:c[p-1].unshift({type:"breakStart",breakText:y.parseMessage(c[p-2]),signalType:y.LINETYPE.BREAK_START}),c[p-1].push({type:"breakEnd",optText:y.parseMessage(c[p-2]),signalType:y.LINETYPE.BREAK_END}),this.$=c[p-1];break;case 44:this.$=c[p-3].concat([{type:"option",optionText:y.parseMessage(c[p-1]),signalType:y.LINETYPE.CRITICAL_OPTION},c[p]]);break;case 46:this.$=c[p-3].concat([{type:"and",parText:y.parseMessage(c[p-1]),signalType:y.LINETYPE.PAR_AND},c[p]]);break;case 48:this.$=c[p-3].concat([{type:"else",altText:y.parseMessage(c[p-1]),signalType:y.LINETYPE.ALT_ELSE},c[p]]);break;case 49:c[p-3].draw="participant",c[p-3].type="addParticipant",c[p-3].description=y.parseMessage(c[p-1]),this.$=c[p-3];break;case 50:c[p-1].draw="participant",c[p-1].type="addParticipant",this.$=c[p-1];break;case 51:c[p-3].draw="actor",c[p-3].type="addParticipant",c[p-3].description=y.parseMessage(c[p-1]),this.$=c[p-3];break;case 52:case 57:c[p-1].draw="actor",c[p-1].type="addParticipant",this.$=c[p-1];break;case 53:c[p-1].type="destroyParticipant",this.$=c[p-1];break;case 54:c[p-3].draw="participant",c[p-3].type="addParticipant",c[p-3].description=y.parseMessage(c[p-1]),this.$=c[p-3];break;case 55:c[p-1].draw="participant",c[p-1].type="addParticipant",this.$=c[p-1];break;case 56:c[p-3].draw="actor",c[p-3].type="addParticipant",c[p-3].description=y.parseMessage(c[p-1]),this.$=c[p-3];break;case 58:this.$=[c[p-1],{type:"addNote",placement:c[p-2],actor:c[p-1].actor,text:c[p]}];break;case 59:c[p-2]=[].concat(c[p-1],c[p-1]).slice(0,2),c[p-2][0]=c[p-2][0].actor,c[p-2][1]=c[p-2][1].actor,this.$=[c[p-1],{type:"addNote",placement:y.PLACEMENT.OVER,actor:c[p-2].slice(0,2),text:c[p]}];break;case 60:this.$=[c[p-1],{type:"addLinks",actor:c[p-1].actor,text:c[p]}];break;case 61:this.$=[c[p-1],{type:"addALink",actor:c[p-1].actor,text:c[p]}];break;case 62:this.$=[c[p-1],{type:"addProperties",actor:c[p-1].actor,text:c[p]}];break;case 63:this.$=[c[p-1],{type:"addDetails",actor:c[p-1].actor,text:c[p]}];break;case 66:this.$=[c[p-2],c[p]];break;case 67:this.$=c[p];break;case 68:this.$=y.PLACEMENT.LEFTOF;break;case 69:this.$=y.PLACEMENT.RIGHTOF;break;case 70:this.$=[c[p-4],c[p-1],{type:"addMessage",from:c[p-4].actor,to:c[p-1].actor,signalType:c[p-3],msg:c[p],activate:!0},{type:"activeStart",signalType:y.LINETYPE.ACTIVE_START,actor:c[p-1].actor}];break;case 71:this.$=[c[p-4],c[p-1],{type:"addMessage",from:c[p-4].actor,to:c[p-1].actor,signalType:c[p-3],msg:c[p]},{type:"activeEnd",signalType:y.LINETYPE.ACTIVE_END,actor:c[p-4].actor}];break;case 72:this.$=[c[p-4],c[p-1],{type:"addMessage",from:c[p-4].actor,to:c[p-1].actor,signalType:c[p-3],msg:c[p],activate:!0,centralConnection:y.LINETYPE.CENTRAL_CONNECTION},{type:"centralConnection",signalType:y.LINETYPE.CENTRAL_CONNECTION,actor:c[p-1].actor}];break;case 73:this.$=[c[p-4],c[p-1],{type:"addMessage",from:c[p-4].actor,to:c[p-1].actor,signalType:c[p-2],msg:c[p],activate:!1,centralConnection:y.LINETYPE.CENTRAL_CONNECTION_REVERSE},{type:"centralConnectionReverse",signalType:y.LINETYPE.CENTRAL_CONNECTION_REVERSE,actor:c[p-4].actor}];break;case 74:this.$=[c[p-5],c[p-1],{type:"addMessage",from:c[p-5].actor,to:c[p-1].actor,signalType:c[p-3],msg:c[p],activate:!0,centralConnection:y.LINETYPE.CENTRAL_CONNECTION_DUAL},{type:"centralConnection",signalType:y.LINETYPE.CENTRAL_CONNECTION,actor:c[p-1].actor},{type:"centralConnectionReverse",signalType:y.LINETYPE.CENTRAL_CONNECTION_REVERSE,actor:c[p-5].actor}];break;case 75:this.$=[c[p-3],c[p-1],{type:"addMessage",from:c[p-3].actor,to:c[p-1].actor,signalType:c[p-2],msg:c[p]}];break;case 76:this.$={type:"addParticipant",actor:c[p-1],config:c[p]};break;case 77:this.$=c[p-1].trim();break;case 78:case 79:this.$={type:"addParticipant",actor:c[p]};break;case 80:this.$=y.LINETYPE.SOLID_OPEN;break;case 81:this.$=y.LINETYPE.DOTTED_OPEN;break;case 82:this.$=y.LINETYPE.SOLID;break;case 83:this.$=y.LINETYPE.SOLID_TOP;break;case 84:this.$=y.LINETYPE.SOLID_BOTTOM;break;case 85:this.$=y.LINETYPE.STICK_TOP;break;case 86:this.$=y.LINETYPE.STICK_BOTTOM;break;case 87:this.$=y.LINETYPE.SOLID_TOP_DOTTED;break;case 88:this.$=y.LINETYPE.SOLID_BOTTOM_DOTTED;break;case 89:this.$=y.LINETYPE.STICK_TOP_DOTTED;break;case 90:this.$=y.LINETYPE.STICK_BOTTOM_DOTTED;break;case 91:this.$=y.LINETYPE.SOLID_ARROW_TOP_REVERSE;break;case 92:this.$=y.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE;break;case 93:this.$=y.LINETYPE.STICK_ARROW_TOP_REVERSE;break;case 94:this.$=y.LINETYPE.STICK_ARROW_BOTTOM_REVERSE;break;case 95:this.$=y.LINETYPE.SOLID_ARROW_TOP_REVERSE_DOTTED;break;case 96:this.$=y.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE_DOTTED;break;case 97:this.$=y.LINETYPE.STICK_ARROW_TOP_REVERSE_DOTTED;break;case 98:this.$=y.LINETYPE.STICK_ARROW_BOTTOM_REVERSE_DOTTED;break;case 99:this.$=y.LINETYPE.BIDIRECTIONAL_SOLID;break;case 100:this.$=y.LINETYPE.DOTTED;break;case 101:this.$=y.LINETYPE.BIDIRECTIONAL_DOTTED;break;case 102:this.$=y.LINETYPE.SOLID_CROSS;break;case 103:this.$=y.LINETYPE.DOTTED_CROSS;break;case 104:this.$=y.LINETYPE.SOLID_POINT;break;case 105:this.$=y.LINETYPE.DOTTED_POINT;break;case 106:this.$=y.parseMessage(c[p].trim().substring(1));break}},"anonymous"),table:[{3:1,4:t,5:a,6:r},{1:[3]},{3:5,4:t,5:a,6:r},{3:6,4:t,5:a,6:r},e([1,4,5,10,14,15,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,51,53,54,56,61,62,63,64,73],i,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:o,5:s,8:8,9:10,10:n,13:13,14:h,15:d,18:16,19:E,22:u,23:41,24:_,25:20,26:21,27:22,28:23,29:24,30:L,31:g,32:R,34:T,36:O,37:x,38:m,39:S,40:b,42:P,44:k,45:B,47:V,51:H,53:z,54:X,56:et,61:rt,62:U,63:ot,64:at,73:W},e(M,[2,5]),{9:48,13:13,14:h,15:d,18:16,19:E,22:u,23:41,24:_,25:20,26:21,27:22,28:23,29:24,30:L,31:g,32:R,34:T,36:O,37:x,38:m,39:S,40:b,42:P,44:k,45:B,47:V,51:H,53:z,54:X,56:et,61:rt,62:U,63:ot,64:at,73:W},e(M,[2,7]),e(M,[2,8]),e(M,[2,9]),e(M,[2,15]),{13:49,51:H,53:z,54:X},{16:[1,50]},{5:[1,51]},{5:[1,54],20:[1,52],21:[1,53]},{23:55,62:Z,73:W},{23:57,62:Z,73:W},{5:[1,58]},{5:[1,59]},{5:[1,60]},{5:[1,61]},{5:[1,62]},e(M,[2,30]),e(M,[2,31]),{33:[1,63]},{35:[1,64]},e(M,[2,34]),{16:[1,65]},{16:[1,66]},{16:[1,67]},{16:[1,68]},{16:[1,69]},{16:[1,70]},{16:[1,71]},{16:[1,72]},{23:73,55:74,62:Z,73:Mt},{23:76,55:77,62:Z,73:Mt},{23:78,62:Z,73:W},{69:79,72:[1,80],78:A,79:v,80:dt,81:st,82:K,83:mt,84:pe,85:Ee,86:ue,87:fe,88:_e,89:ge,90:xe,91:ye,92:Ie,93:Re,94:Oe,95:Le,96:be,97:me,98:Se,99:Ae,100:we,101:Ne,102:Pe,103:ke},{57:107,59:[1,108],67:[1,109],68:[1,110]},{23:111,62:Z,73:W},e([72,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103],De,{23:112,62:Z,73:W}),{23:113,62:Z,73:W},{23:114,62:Z,73:W},e([5,66,72,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104],ve),e(M,[2,6]),e(M,[2,16]),e(Pt,[2,10],{11:115}),e(M,[2,18]),{5:[1,117],20:[1,116]},{5:[1,118]},e(M,[2,22]),{5:[1,119]},e([5,52,66,104],De),{5:[1,120]},e(M,[2,25]),e(M,[2,26]),e(M,[2,27]),e(M,[2,28]),e(M,[2,29]),e(M,[2,32]),e(M,[2,33]),e(Bt,i,{7:121}),e(Bt,i,{7:122}),e(Bt,i,{7:123}),e(Ce,i,{41:124,7:125}),e($t,i,{43:126,7:127}),e($t,i,{7:127,43:128}),e(Me,i,{46:129,7:130}),e(Bt,i,{7:131}),{5:[1,133],52:[1,132]},{5:[1,135],52:[1,134]},e(jt,ve,{74:136,75:[1,137]}),{5:[1,139],52:[1,138]},{5:[1,141],52:[1,140]},{5:[1,142]},{23:146,62:Z,70:[1,143],71:[1,144],72:[1,145],73:W},{69:147,78:A,79:v,80:dt,81:st,82:K,83:mt,84:pe,85:Ee,86:ue,87:fe,88:_e,89:ge,90:xe,91:ye,92:Ie,93:Re,94:Oe,95:Le,96:be,97:me,98:Se,99:Ae,100:we,101:Ne,102:Pe,103:ke},e(F,[2,80]),e(F,[2,81]),e(F,[2,82]),e(F,[2,83]),e(F,[2,84]),e(F,[2,85]),e(F,[2,86]),e(F,[2,87]),e(F,[2,88]),e(F,[2,89]),e(F,[2,90]),e(F,[2,91]),e(F,[2,92]),e(F,[2,93]),e(F,[2,94]),e(F,[2,95]),e(F,[2,96]),e(F,[2,97]),e(F,[2,98]),e(F,[2,99]),e(F,[2,100]),e(F,[2,101]),e(F,[2,102]),e(F,[2,103]),e(F,[2,104]),e(F,[2,105]),{23:148,62:Z,73:W},{23:150,60:149,62:Z,73:W},e(Be,[2,68]),e(Be,[2,69]),{58:151,104:lt},{58:153,104:lt},{58:154,104:lt},{58:155,104:lt},{4:[1,158],5:[1,160],12:157,13:159,17:[1,156],51:H,53:z,54:X},{5:[1,161]},e(M,[2,20]),e(M,[2,21]),e(M,[2,23]),e(M,[2,24]),{4:o,5:s,8:8,9:10,10:n,13:13,14:h,15:d,17:[1,162],18:16,19:E,22:u,23:41,24:_,25:20,26:21,27:22,28:23,29:24,30:L,31:g,32:R,34:T,36:O,37:x,38:m,39:S,40:b,42:P,44:k,45:B,47:V,51:H,53:z,54:X,56:et,61:rt,62:U,63:ot,64:at,73:W},{4:o,5:s,8:8,9:10,10:n,13:13,14:h,15:d,17:[1,163],18:16,19:E,22:u,23:41,24:_,25:20,26:21,27:22,28:23,29:24,30:L,31:g,32:R,34:T,36:O,37:x,38:m,39:S,40:b,42:P,44:k,45:B,47:V,51:H,53:z,54:X,56:et,61:rt,62:U,63:ot,64:at,73:W},{4:o,5:s,8:8,9:10,10:n,13:13,14:h,15:d,17:[1,164],18:16,19:E,22:u,23:41,24:_,25:20,26:21,27:22,28:23,29:24,30:L,31:g,32:R,34:T,36:O,37:x,38:m,39:S,40:b,42:P,44:k,45:B,47:V,51:H,53:z,54:X,56:et,61:rt,62:U,63:ot,64:at,73:W},{17:[1,165]},{4:o,5:s,8:8,9:10,10:n,13:13,14:h,15:d,17:[2,47],18:16,19:E,22:u,23:41,24:_,25:20,26:21,27:22,28:23,29:24,30:L,31:g,32:R,34:T,36:O,37:x,38:m,39:S,40:b,42:P,44:k,45:B,47:V,50:[1,166],51:H,53:z,54:X,56:et,61:rt,62:U,63:ot,64:at,73:W},{17:[1,167]},{4:o,5:s,8:8,9:10,10:n,13:13,14:h,15:d,17:[2,45],18:16,19:E,22:u,23:41,24:_,25:20,26:21,27:22,28:23,29:24,30:L,31:g,32:R,34:T,36:O,37:x,38:m,39:S,40:b,42:P,44:k,45:B,47:V,49:[1,168],51:H,53:z,54:X,56:et,61:rt,62:U,63:ot,64:at,73:W},{17:[1,169]},{17:[1,170]},{4:o,5:s,8:8,9:10,10:n,13:13,14:h,15:d,17:[2,43],18:16,19:E,22:u,23:41,24:_,25:20,26:21,27:22,28:23,29:24,30:L,31:g,32:R,34:T,36:O,37:x,38:m,39:S,40:b,42:P,44:k,45:B,47:V,48:[1,171],51:H,53:z,54:X,56:et,61:rt,62:U,63:ot,64:at,73:W},{4:o,5:s,8:8,9:10,10:n,13:13,14:h,15:d,17:[1,172],18:16,19:E,22:u,23:41,24:_,25:20,26:21,27:22,28:23,29:24,30:L,31:g,32:R,34:T,36:O,37:x,38:m,39:S,40:b,42:P,44:k,45:B,47:V,51:H,53:z,54:X,56:et,61:rt,62:U,63:ot,64:at,73:W},{16:[1,173]},e(M,[2,50]),{16:[1,174]},e(M,[2,55]),e(jt,[2,76]),{76:[1,175]},{16:[1,176]},e(M,[2,52]),{16:[1,177]},e(M,[2,57]),e(M,[2,53]),{23:178,62:Z,73:W},{23:179,62:Z,73:W},{23:180,62:Z,73:W},{58:181,104:lt},{23:182,62:Z,72:[1,183],73:W},{58:184,104:lt},{58:185,104:lt},{66:[1,186],104:[2,67]},{5:[2,60]},{5:[2,106]},{5:[2,61]},{5:[2,62]},{5:[2,63]},e(M,[2,17]),e(Pt,[2,11]),{13:187,51:H,53:z,54:X},e(Pt,[2,13]),e(Pt,[2,14]),e(M,[2,19]),e(M,[2,35]),e(M,[2,36]),e(M,[2,37]),e(M,[2,38]),{16:[1,188]},e(M,[2,39]),{16:[1,189]},e(M,[2,40]),e(M,[2,41]),{16:[1,190]},e(M,[2,42]),{5:[1,191]},{5:[1,192]},{77:[1,193]},{5:[1,194]},{5:[1,195]},{58:196,104:lt},{58:197,104:lt},{58:198,104:lt},{5:[2,75]},{58:199,104:lt},{23:200,62:Z,73:W},{5:[2,58]},{5:[2,59]},{23:201,62:Z,73:W},e(Pt,[2,12]),e(Ce,i,{7:125,41:202}),e($t,i,{7:127,43:203}),e(Me,i,{7:130,46:204}),e(M,[2,49]),e(M,[2,54]),e(jt,[2,77]),e(M,[2,51]),e(M,[2,56]),{5:[2,70]},{5:[2,71]},{5:[2,72]},{5:[2,73]},{58:205,104:lt},{104:[2,66]},{17:[2,48]},{17:[2,46]},{17:[2,44]},{5:[2,74]}],defaultActions:{5:[2,1],6:[2,2],151:[2,60],152:[2,106],153:[2,61],154:[2,62],155:[2,63],181:[2,75],184:[2,58],185:[2,59],196:[2,70],197:[2,71],198:[2,72],199:[2,73],201:[2,66],202:[2,48],203:[2,46],204:[2,44],205:[2,74]},parseError:f(function(w,C){if(C.recoverable)this.trace(w);else{var D=new Error(w);throw D.hash=C,D}},"parseError"),parse:f(function(w){var C=this,D=[0],y=[],G=[null],c=[],kt=this.table,p="",Vt=0,Ye=0,lr=2,Ve=1,hr=c.slice.call(arguments,1),$=Object.create(this.lexer),It={yy:{}};for(var ee in this.yy)Object.prototype.hasOwnProperty.call(this.yy,ee)&&(It.yy[ee]=this.yy[ee]);$.setInput(w,It.yy),It.yy.lexer=$,It.yy.parser=this,typeof $.yylloc>"u"&&($.yylloc={});var re=$.yylloc;c.push(re);var dr=$.options&&$.options.ranges;typeof It.yy.parseError=="function"?this.parseError=It.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Tr(ct){D.length=D.length-2*ct,G.length=G.length-ct,c.length=c.length-ct}f(Tr,"popStack");function We(){var ct;return ct=y.pop()||$.lex()||Ve,typeof ct!="number"&&(ct instanceof Array&&(y=ct,ct=y.pop()),ct=C.symbols_[ct]||ct),ct}f(We,"lex");for(var it,Rt,ht,ae,St={},Wt,Et,He,Ht;;){if(Rt=D[D.length-1],this.defaultActions[Rt]?ht=this.defaultActions[Rt]:((it===null||typeof it>"u")&&(it=We()),ht=kt[Rt]&&kt[Rt][it]),typeof ht>"u"||!ht.length||!ht[0]){var se="";Ht=[];for(Wt in kt[Rt])this.terminals_[Wt]&&Wt>lr&&Ht.push("'"+this.terminals_[Wt]+"'");$.showPosition?se="Parse error on line "+(Vt+1)+`:
1
+ import{I as pr}from"./DxGvCXqx.js";import{b as f,a$ as Er,X as j,aW as Kt,ay as nt,P as Ue,B as ur,h as fr,z as N,a_ as Ke,aZ as _r,b0 as gr,V as xr,U as yr,Y as Ir,ax as Rr,J as Or,r as Lr,aV as Ft,bh as Q,aa as tt,l as vt,aH as Ge,Z as br,W as zt,a7 as mr,aQ as Xe}from"./CKAixUGj.js";import{d as Sr,h as le,g as pt,e as Ar,a as he,b as de}from"./_621KNlC.js";var ne=(function(){var e=f(function(_t,w,C,D){for(C=C||{},D=_t.length;D--;C[_t[D]]=w);return C},"o"),t=[1,2],a=[1,3],r=[1,4],i=[2,4],o=[1,9],s=[1,11],n=[1,12],h=[1,14],d=[1,15],E=[1,17],u=[1,18],_=[1,19],L=[1,25],g=[1,26],R=[1,27],T=[1,28],O=[1,29],x=[1,30],m=[1,31],S=[1,32],b=[1,33],P=[1,34],k=[1,35],B=[1,36],V=[1,37],H=[1,38],z=[1,39],X=[1,40],et=[1,42],rt=[1,43],U=[1,44],ot=[1,45],at=[1,46],W=[1,47],M=[1,4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,48,49,50,51,53,54,56,61,62,63,64,73],Z=[1,56],Mt=[1,75],A=[1,81],v=[1,82],dt=[1,83],st=[1,84],K=[1,85],mt=[1,86],pe=[1,87],Ee=[1,88],ue=[1,89],fe=[1,90],_e=[1,91],ge=[1,92],xe=[1,93],ye=[1,94],Ie=[1,95],Re=[1,96],Oe=[1,97],Le=[1,98],be=[1,99],me=[1,100],Se=[1,101],Ae=[1,102],we=[1,103],Ne=[1,104],Pe=[1,105],ke=[1,106],De=[2,79],ve=[2,78],Pt=[4,5,17,51,53,54],Bt=[4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,51,53,54,56,61,62,63,64,73],Ce=[4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,50,51,53,54,56,61,62,63,64,73],$t=[4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,49,51,53,54,56,61,62,63,64,73],Me=[4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,48,51,53,54,56,61,62,63,64,73],jt=[5,52],F=[62,70,71,72,73],Be=[62,73],lt=[1,152],te={trace:f(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SPACE:4,NEWLINE:5,SD:6,document:7,line:8,statement:9,INVALID:10,box_section:11,box_line:12,participant_statement:13,create:14,box:15,restOfLine:16,end:17,signal:18,autonumber:19,NUM:20,off:21,activate:22,actor:23,deactivate:24,note_statement:25,links_statement:26,link_statement:27,properties_statement:28,details_statement:29,title:30,legacy_title:31,acc_title:32,acc_title_value:33,acc_descr:34,acc_descr_value:35,acc_descr_multiline_value:36,loop:37,rect:38,opt:39,alt:40,else_sections:41,par:42,par_sections:43,par_over:44,critical:45,option_sections:46,break:47,option:48,and:49,else:50,participant:51,AS:52,participant_actor:53,destroy:54,actor_with_config:55,note:56,placement:57,text2:58,over:59,actor_pair:60,links:61,link:62,properties:63,details:64,spaceList:65,",":66,left_of:67,right_of:68,signaltype:69,"+":70,"-":71,"()":72,ACTOR:73,config_object:74,CONFIG_START:75,CONFIG_CONTENT:76,CONFIG_END:77,SOLID_OPEN_ARROW:78,DOTTED_OPEN_ARROW:79,SOLID_ARROW:80,SOLID_ARROW_TOP:81,SOLID_ARROW_BOTTOM:82,STICK_ARROW_TOP:83,STICK_ARROW_BOTTOM:84,SOLID_ARROW_TOP_DOTTED:85,SOLID_ARROW_BOTTOM_DOTTED:86,STICK_ARROW_TOP_DOTTED:87,STICK_ARROW_BOTTOM_DOTTED:88,SOLID_ARROW_TOP_REVERSE:89,SOLID_ARROW_BOTTOM_REVERSE:90,STICK_ARROW_TOP_REVERSE:91,STICK_ARROW_BOTTOM_REVERSE:92,SOLID_ARROW_TOP_REVERSE_DOTTED:93,SOLID_ARROW_BOTTOM_REVERSE_DOTTED:94,STICK_ARROW_TOP_REVERSE_DOTTED:95,STICK_ARROW_BOTTOM_REVERSE_DOTTED:96,BIDIRECTIONAL_SOLID_ARROW:97,DOTTED_ARROW:98,BIDIRECTIONAL_DOTTED_ARROW:99,SOLID_CROSS:100,DOTTED_CROSS:101,SOLID_POINT:102,DOTTED_POINT:103,TXT:104,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NEWLINE",6:"SD",10:"INVALID",14:"create",15:"box",16:"restOfLine",17:"end",19:"autonumber",20:"NUM",21:"off",22:"activate",24:"deactivate",30:"title",31:"legacy_title",32:"acc_title",33:"acc_title_value",34:"acc_descr",35:"acc_descr_value",36:"acc_descr_multiline_value",37:"loop",38:"rect",39:"opt",40:"alt",42:"par",44:"par_over",45:"critical",47:"break",48:"option",49:"and",50:"else",51:"participant",52:"AS",53:"participant_actor",54:"destroy",56:"note",59:"over",61:"links",62:"link",63:"properties",64:"details",66:",",67:"left_of",68:"right_of",70:"+",71:"-",72:"()",73:"ACTOR",75:"CONFIG_START",76:"CONFIG_CONTENT",77:"CONFIG_END",78:"SOLID_OPEN_ARROW",79:"DOTTED_OPEN_ARROW",80:"SOLID_ARROW",81:"SOLID_ARROW_TOP",82:"SOLID_ARROW_BOTTOM",83:"STICK_ARROW_TOP",84:"STICK_ARROW_BOTTOM",85:"SOLID_ARROW_TOP_DOTTED",86:"SOLID_ARROW_BOTTOM_DOTTED",87:"STICK_ARROW_TOP_DOTTED",88:"STICK_ARROW_BOTTOM_DOTTED",89:"SOLID_ARROW_TOP_REVERSE",90:"SOLID_ARROW_BOTTOM_REVERSE",91:"STICK_ARROW_TOP_REVERSE",92:"STICK_ARROW_BOTTOM_REVERSE",93:"SOLID_ARROW_TOP_REVERSE_DOTTED",94:"SOLID_ARROW_BOTTOM_REVERSE_DOTTED",95:"STICK_ARROW_TOP_REVERSE_DOTTED",96:"STICK_ARROW_BOTTOM_REVERSE_DOTTED",97:"BIDIRECTIONAL_SOLID_ARROW",98:"DOTTED_ARROW",99:"BIDIRECTIONAL_DOTTED_ARROW",100:"SOLID_CROSS",101:"DOTTED_CROSS",102:"SOLID_POINT",103:"DOTTED_POINT",104:"TXT"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[8,1],[11,0],[11,2],[12,2],[12,1],[12,1],[9,1],[9,2],[9,4],[9,2],[9,4],[9,3],[9,3],[9,2],[9,3],[9,3],[9,2],[9,2],[9,2],[9,2],[9,2],[9,1],[9,1],[9,2],[9,2],[9,1],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[46,1],[46,4],[43,1],[43,4],[41,1],[41,4],[13,5],[13,3],[13,5],[13,3],[13,3],[13,5],[13,3],[13,5],[13,3],[25,4],[25,4],[26,3],[27,3],[28,3],[29,3],[65,2],[65,1],[60,3],[60,1],[57,1],[57,1],[18,5],[18,5],[18,5],[18,5],[18,6],[18,4],[55,2],[74,3],[23,1],[23,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[58,1]],performAction:f(function(w,C,D,y,G,c,kt){var p=c.length-1;switch(G){case 3:return y.apply(c[p]),c[p];case 4:case 10:this.$=[];break;case 5:case 11:c[p-1].push(c[p]),this.$=c[p-1];break;case 6:case 7:case 12:case 13:this.$=c[p];break;case 8:case 9:case 14:this.$=[];break;case 16:c[p].type="createParticipant",this.$=c[p];break;case 17:c[p-1].unshift({type:"boxStart",boxData:y.parseBoxData(c[p-2])}),c[p-1].push({type:"boxEnd",boxText:c[p-2]}),this.$=c[p-1];break;case 19:this.$={type:"sequenceIndex",sequenceIndex:Number(c[p-2]),sequenceIndexStep:Number(c[p-1]),sequenceVisible:!0,signalType:y.LINETYPE.AUTONUMBER};break;case 20:this.$={type:"sequenceIndex",sequenceIndex:Number(c[p-1]),sequenceIndexStep:1,sequenceVisible:!0,signalType:y.LINETYPE.AUTONUMBER};break;case 21:this.$={type:"sequenceIndex",sequenceVisible:!1,signalType:y.LINETYPE.AUTONUMBER};break;case 22:this.$={type:"sequenceIndex",sequenceVisible:!0,signalType:y.LINETYPE.AUTONUMBER};break;case 23:this.$={type:"activeStart",signalType:y.LINETYPE.ACTIVE_START,actor:c[p-1].actor};break;case 24:this.$={type:"activeEnd",signalType:y.LINETYPE.ACTIVE_END,actor:c[p-1].actor};break;case 30:y.setDiagramTitle(c[p].substring(6)),this.$=c[p].substring(6);break;case 31:y.setDiagramTitle(c[p].substring(7)),this.$=c[p].substring(7);break;case 32:this.$=c[p].trim(),y.setAccTitle(this.$);break;case 33:case 34:this.$=c[p].trim(),y.setAccDescription(this.$);break;case 35:c[p-1].unshift({type:"loopStart",loopText:y.parseMessage(c[p-2]),signalType:y.LINETYPE.LOOP_START}),c[p-1].push({type:"loopEnd",loopText:c[p-2],signalType:y.LINETYPE.LOOP_END}),this.$=c[p-1];break;case 36:c[p-1].unshift({type:"rectStart",color:y.parseMessage(c[p-2]),signalType:y.LINETYPE.RECT_START}),c[p-1].push({type:"rectEnd",color:y.parseMessage(c[p-2]),signalType:y.LINETYPE.RECT_END}),this.$=c[p-1];break;case 37:c[p-1].unshift({type:"optStart",optText:y.parseMessage(c[p-2]),signalType:y.LINETYPE.OPT_START}),c[p-1].push({type:"optEnd",optText:y.parseMessage(c[p-2]),signalType:y.LINETYPE.OPT_END}),this.$=c[p-1];break;case 38:c[p-1].unshift({type:"altStart",altText:y.parseMessage(c[p-2]),signalType:y.LINETYPE.ALT_START}),c[p-1].push({type:"altEnd",signalType:y.LINETYPE.ALT_END}),this.$=c[p-1];break;case 39:c[p-1].unshift({type:"parStart",parText:y.parseMessage(c[p-2]),signalType:y.LINETYPE.PAR_START}),c[p-1].push({type:"parEnd",signalType:y.LINETYPE.PAR_END}),this.$=c[p-1];break;case 40:c[p-1].unshift({type:"parStart",parText:y.parseMessage(c[p-2]),signalType:y.LINETYPE.PAR_OVER_START}),c[p-1].push({type:"parEnd",signalType:y.LINETYPE.PAR_END}),this.$=c[p-1];break;case 41:c[p-1].unshift({type:"criticalStart",criticalText:y.parseMessage(c[p-2]),signalType:y.LINETYPE.CRITICAL_START}),c[p-1].push({type:"criticalEnd",signalType:y.LINETYPE.CRITICAL_END}),this.$=c[p-1];break;case 42:c[p-1].unshift({type:"breakStart",breakText:y.parseMessage(c[p-2]),signalType:y.LINETYPE.BREAK_START}),c[p-1].push({type:"breakEnd",optText:y.parseMessage(c[p-2]),signalType:y.LINETYPE.BREAK_END}),this.$=c[p-1];break;case 44:this.$=c[p-3].concat([{type:"option",optionText:y.parseMessage(c[p-1]),signalType:y.LINETYPE.CRITICAL_OPTION},c[p]]);break;case 46:this.$=c[p-3].concat([{type:"and",parText:y.parseMessage(c[p-1]),signalType:y.LINETYPE.PAR_AND},c[p]]);break;case 48:this.$=c[p-3].concat([{type:"else",altText:y.parseMessage(c[p-1]),signalType:y.LINETYPE.ALT_ELSE},c[p]]);break;case 49:c[p-3].draw="participant",c[p-3].type="addParticipant",c[p-3].description=y.parseMessage(c[p-1]),this.$=c[p-3];break;case 50:c[p-1].draw="participant",c[p-1].type="addParticipant",this.$=c[p-1];break;case 51:c[p-3].draw="actor",c[p-3].type="addParticipant",c[p-3].description=y.parseMessage(c[p-1]),this.$=c[p-3];break;case 52:case 57:c[p-1].draw="actor",c[p-1].type="addParticipant",this.$=c[p-1];break;case 53:c[p-1].type="destroyParticipant",this.$=c[p-1];break;case 54:c[p-3].draw="participant",c[p-3].type="addParticipant",c[p-3].description=y.parseMessage(c[p-1]),this.$=c[p-3];break;case 55:c[p-1].draw="participant",c[p-1].type="addParticipant",this.$=c[p-1];break;case 56:c[p-3].draw="actor",c[p-3].type="addParticipant",c[p-3].description=y.parseMessage(c[p-1]),this.$=c[p-3];break;case 58:this.$=[c[p-1],{type:"addNote",placement:c[p-2],actor:c[p-1].actor,text:c[p]}];break;case 59:c[p-2]=[].concat(c[p-1],c[p-1]).slice(0,2),c[p-2][0]=c[p-2][0].actor,c[p-2][1]=c[p-2][1].actor,this.$=[c[p-1],{type:"addNote",placement:y.PLACEMENT.OVER,actor:c[p-2].slice(0,2),text:c[p]}];break;case 60:this.$=[c[p-1],{type:"addLinks",actor:c[p-1].actor,text:c[p]}];break;case 61:this.$=[c[p-1],{type:"addALink",actor:c[p-1].actor,text:c[p]}];break;case 62:this.$=[c[p-1],{type:"addProperties",actor:c[p-1].actor,text:c[p]}];break;case 63:this.$=[c[p-1],{type:"addDetails",actor:c[p-1].actor,text:c[p]}];break;case 66:this.$=[c[p-2],c[p]];break;case 67:this.$=c[p];break;case 68:this.$=y.PLACEMENT.LEFTOF;break;case 69:this.$=y.PLACEMENT.RIGHTOF;break;case 70:this.$=[c[p-4],c[p-1],{type:"addMessage",from:c[p-4].actor,to:c[p-1].actor,signalType:c[p-3],msg:c[p],activate:!0},{type:"activeStart",signalType:y.LINETYPE.ACTIVE_START,actor:c[p-1].actor}];break;case 71:this.$=[c[p-4],c[p-1],{type:"addMessage",from:c[p-4].actor,to:c[p-1].actor,signalType:c[p-3],msg:c[p]},{type:"activeEnd",signalType:y.LINETYPE.ACTIVE_END,actor:c[p-4].actor}];break;case 72:this.$=[c[p-4],c[p-1],{type:"addMessage",from:c[p-4].actor,to:c[p-1].actor,signalType:c[p-3],msg:c[p],activate:!0,centralConnection:y.LINETYPE.CENTRAL_CONNECTION},{type:"centralConnection",signalType:y.LINETYPE.CENTRAL_CONNECTION,actor:c[p-1].actor}];break;case 73:this.$=[c[p-4],c[p-1],{type:"addMessage",from:c[p-4].actor,to:c[p-1].actor,signalType:c[p-2],msg:c[p],activate:!1,centralConnection:y.LINETYPE.CENTRAL_CONNECTION_REVERSE},{type:"centralConnectionReverse",signalType:y.LINETYPE.CENTRAL_CONNECTION_REVERSE,actor:c[p-4].actor}];break;case 74:this.$=[c[p-5],c[p-1],{type:"addMessage",from:c[p-5].actor,to:c[p-1].actor,signalType:c[p-3],msg:c[p],activate:!0,centralConnection:y.LINETYPE.CENTRAL_CONNECTION_DUAL},{type:"centralConnection",signalType:y.LINETYPE.CENTRAL_CONNECTION,actor:c[p-1].actor},{type:"centralConnectionReverse",signalType:y.LINETYPE.CENTRAL_CONNECTION_REVERSE,actor:c[p-5].actor}];break;case 75:this.$=[c[p-3],c[p-1],{type:"addMessage",from:c[p-3].actor,to:c[p-1].actor,signalType:c[p-2],msg:c[p]}];break;case 76:this.$={type:"addParticipant",actor:c[p-1],config:c[p]};break;case 77:this.$=c[p-1].trim();break;case 78:case 79:this.$={type:"addParticipant",actor:c[p]};break;case 80:this.$=y.LINETYPE.SOLID_OPEN;break;case 81:this.$=y.LINETYPE.DOTTED_OPEN;break;case 82:this.$=y.LINETYPE.SOLID;break;case 83:this.$=y.LINETYPE.SOLID_TOP;break;case 84:this.$=y.LINETYPE.SOLID_BOTTOM;break;case 85:this.$=y.LINETYPE.STICK_TOP;break;case 86:this.$=y.LINETYPE.STICK_BOTTOM;break;case 87:this.$=y.LINETYPE.SOLID_TOP_DOTTED;break;case 88:this.$=y.LINETYPE.SOLID_BOTTOM_DOTTED;break;case 89:this.$=y.LINETYPE.STICK_TOP_DOTTED;break;case 90:this.$=y.LINETYPE.STICK_BOTTOM_DOTTED;break;case 91:this.$=y.LINETYPE.SOLID_ARROW_TOP_REVERSE;break;case 92:this.$=y.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE;break;case 93:this.$=y.LINETYPE.STICK_ARROW_TOP_REVERSE;break;case 94:this.$=y.LINETYPE.STICK_ARROW_BOTTOM_REVERSE;break;case 95:this.$=y.LINETYPE.SOLID_ARROW_TOP_REVERSE_DOTTED;break;case 96:this.$=y.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE_DOTTED;break;case 97:this.$=y.LINETYPE.STICK_ARROW_TOP_REVERSE_DOTTED;break;case 98:this.$=y.LINETYPE.STICK_ARROW_BOTTOM_REVERSE_DOTTED;break;case 99:this.$=y.LINETYPE.BIDIRECTIONAL_SOLID;break;case 100:this.$=y.LINETYPE.DOTTED;break;case 101:this.$=y.LINETYPE.BIDIRECTIONAL_DOTTED;break;case 102:this.$=y.LINETYPE.SOLID_CROSS;break;case 103:this.$=y.LINETYPE.DOTTED_CROSS;break;case 104:this.$=y.LINETYPE.SOLID_POINT;break;case 105:this.$=y.LINETYPE.DOTTED_POINT;break;case 106:this.$=y.parseMessage(c[p].trim().substring(1));break}},"anonymous"),table:[{3:1,4:t,5:a,6:r},{1:[3]},{3:5,4:t,5:a,6:r},{3:6,4:t,5:a,6:r},e([1,4,5,10,14,15,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,51,53,54,56,61,62,63,64,73],i,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:o,5:s,8:8,9:10,10:n,13:13,14:h,15:d,18:16,19:E,22:u,23:41,24:_,25:20,26:21,27:22,28:23,29:24,30:L,31:g,32:R,34:T,36:O,37:x,38:m,39:S,40:b,42:P,44:k,45:B,47:V,51:H,53:z,54:X,56:et,61:rt,62:U,63:ot,64:at,73:W},e(M,[2,5]),{9:48,13:13,14:h,15:d,18:16,19:E,22:u,23:41,24:_,25:20,26:21,27:22,28:23,29:24,30:L,31:g,32:R,34:T,36:O,37:x,38:m,39:S,40:b,42:P,44:k,45:B,47:V,51:H,53:z,54:X,56:et,61:rt,62:U,63:ot,64:at,73:W},e(M,[2,7]),e(M,[2,8]),e(M,[2,9]),e(M,[2,15]),{13:49,51:H,53:z,54:X},{16:[1,50]},{5:[1,51]},{5:[1,54],20:[1,52],21:[1,53]},{23:55,62:Z,73:W},{23:57,62:Z,73:W},{5:[1,58]},{5:[1,59]},{5:[1,60]},{5:[1,61]},{5:[1,62]},e(M,[2,30]),e(M,[2,31]),{33:[1,63]},{35:[1,64]},e(M,[2,34]),{16:[1,65]},{16:[1,66]},{16:[1,67]},{16:[1,68]},{16:[1,69]},{16:[1,70]},{16:[1,71]},{16:[1,72]},{23:73,55:74,62:Z,73:Mt},{23:76,55:77,62:Z,73:Mt},{23:78,62:Z,73:W},{69:79,72:[1,80],78:A,79:v,80:dt,81:st,82:K,83:mt,84:pe,85:Ee,86:ue,87:fe,88:_e,89:ge,90:xe,91:ye,92:Ie,93:Re,94:Oe,95:Le,96:be,97:me,98:Se,99:Ae,100:we,101:Ne,102:Pe,103:ke},{57:107,59:[1,108],67:[1,109],68:[1,110]},{23:111,62:Z,73:W},e([72,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103],De,{23:112,62:Z,73:W}),{23:113,62:Z,73:W},{23:114,62:Z,73:W},e([5,66,72,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104],ve),e(M,[2,6]),e(M,[2,16]),e(Pt,[2,10],{11:115}),e(M,[2,18]),{5:[1,117],20:[1,116]},{5:[1,118]},e(M,[2,22]),{5:[1,119]},e([5,52,66,104],De),{5:[1,120]},e(M,[2,25]),e(M,[2,26]),e(M,[2,27]),e(M,[2,28]),e(M,[2,29]),e(M,[2,32]),e(M,[2,33]),e(Bt,i,{7:121}),e(Bt,i,{7:122}),e(Bt,i,{7:123}),e(Ce,i,{41:124,7:125}),e($t,i,{43:126,7:127}),e($t,i,{7:127,43:128}),e(Me,i,{46:129,7:130}),e(Bt,i,{7:131}),{5:[1,133],52:[1,132]},{5:[1,135],52:[1,134]},e(jt,ve,{74:136,75:[1,137]}),{5:[1,139],52:[1,138]},{5:[1,141],52:[1,140]},{5:[1,142]},{23:146,62:Z,70:[1,143],71:[1,144],72:[1,145],73:W},{69:147,78:A,79:v,80:dt,81:st,82:K,83:mt,84:pe,85:Ee,86:ue,87:fe,88:_e,89:ge,90:xe,91:ye,92:Ie,93:Re,94:Oe,95:Le,96:be,97:me,98:Se,99:Ae,100:we,101:Ne,102:Pe,103:ke},e(F,[2,80]),e(F,[2,81]),e(F,[2,82]),e(F,[2,83]),e(F,[2,84]),e(F,[2,85]),e(F,[2,86]),e(F,[2,87]),e(F,[2,88]),e(F,[2,89]),e(F,[2,90]),e(F,[2,91]),e(F,[2,92]),e(F,[2,93]),e(F,[2,94]),e(F,[2,95]),e(F,[2,96]),e(F,[2,97]),e(F,[2,98]),e(F,[2,99]),e(F,[2,100]),e(F,[2,101]),e(F,[2,102]),e(F,[2,103]),e(F,[2,104]),e(F,[2,105]),{23:148,62:Z,73:W},{23:150,60:149,62:Z,73:W},e(Be,[2,68]),e(Be,[2,69]),{58:151,104:lt},{58:153,104:lt},{58:154,104:lt},{58:155,104:lt},{4:[1,158],5:[1,160],12:157,13:159,17:[1,156],51:H,53:z,54:X},{5:[1,161]},e(M,[2,20]),e(M,[2,21]),e(M,[2,23]),e(M,[2,24]),{4:o,5:s,8:8,9:10,10:n,13:13,14:h,15:d,17:[1,162],18:16,19:E,22:u,23:41,24:_,25:20,26:21,27:22,28:23,29:24,30:L,31:g,32:R,34:T,36:O,37:x,38:m,39:S,40:b,42:P,44:k,45:B,47:V,51:H,53:z,54:X,56:et,61:rt,62:U,63:ot,64:at,73:W},{4:o,5:s,8:8,9:10,10:n,13:13,14:h,15:d,17:[1,163],18:16,19:E,22:u,23:41,24:_,25:20,26:21,27:22,28:23,29:24,30:L,31:g,32:R,34:T,36:O,37:x,38:m,39:S,40:b,42:P,44:k,45:B,47:V,51:H,53:z,54:X,56:et,61:rt,62:U,63:ot,64:at,73:W},{4:o,5:s,8:8,9:10,10:n,13:13,14:h,15:d,17:[1,164],18:16,19:E,22:u,23:41,24:_,25:20,26:21,27:22,28:23,29:24,30:L,31:g,32:R,34:T,36:O,37:x,38:m,39:S,40:b,42:P,44:k,45:B,47:V,51:H,53:z,54:X,56:et,61:rt,62:U,63:ot,64:at,73:W},{17:[1,165]},{4:o,5:s,8:8,9:10,10:n,13:13,14:h,15:d,17:[2,47],18:16,19:E,22:u,23:41,24:_,25:20,26:21,27:22,28:23,29:24,30:L,31:g,32:R,34:T,36:O,37:x,38:m,39:S,40:b,42:P,44:k,45:B,47:V,50:[1,166],51:H,53:z,54:X,56:et,61:rt,62:U,63:ot,64:at,73:W},{17:[1,167]},{4:o,5:s,8:8,9:10,10:n,13:13,14:h,15:d,17:[2,45],18:16,19:E,22:u,23:41,24:_,25:20,26:21,27:22,28:23,29:24,30:L,31:g,32:R,34:T,36:O,37:x,38:m,39:S,40:b,42:P,44:k,45:B,47:V,49:[1,168],51:H,53:z,54:X,56:et,61:rt,62:U,63:ot,64:at,73:W},{17:[1,169]},{17:[1,170]},{4:o,5:s,8:8,9:10,10:n,13:13,14:h,15:d,17:[2,43],18:16,19:E,22:u,23:41,24:_,25:20,26:21,27:22,28:23,29:24,30:L,31:g,32:R,34:T,36:O,37:x,38:m,39:S,40:b,42:P,44:k,45:B,47:V,48:[1,171],51:H,53:z,54:X,56:et,61:rt,62:U,63:ot,64:at,73:W},{4:o,5:s,8:8,9:10,10:n,13:13,14:h,15:d,17:[1,172],18:16,19:E,22:u,23:41,24:_,25:20,26:21,27:22,28:23,29:24,30:L,31:g,32:R,34:T,36:O,37:x,38:m,39:S,40:b,42:P,44:k,45:B,47:V,51:H,53:z,54:X,56:et,61:rt,62:U,63:ot,64:at,73:W},{16:[1,173]},e(M,[2,50]),{16:[1,174]},e(M,[2,55]),e(jt,[2,76]),{76:[1,175]},{16:[1,176]},e(M,[2,52]),{16:[1,177]},e(M,[2,57]),e(M,[2,53]),{23:178,62:Z,73:W},{23:179,62:Z,73:W},{23:180,62:Z,73:W},{58:181,104:lt},{23:182,62:Z,72:[1,183],73:W},{58:184,104:lt},{58:185,104:lt},{66:[1,186],104:[2,67]},{5:[2,60]},{5:[2,106]},{5:[2,61]},{5:[2,62]},{5:[2,63]},e(M,[2,17]),e(Pt,[2,11]),{13:187,51:H,53:z,54:X},e(Pt,[2,13]),e(Pt,[2,14]),e(M,[2,19]),e(M,[2,35]),e(M,[2,36]),e(M,[2,37]),e(M,[2,38]),{16:[1,188]},e(M,[2,39]),{16:[1,189]},e(M,[2,40]),e(M,[2,41]),{16:[1,190]},e(M,[2,42]),{5:[1,191]},{5:[1,192]},{77:[1,193]},{5:[1,194]},{5:[1,195]},{58:196,104:lt},{58:197,104:lt},{58:198,104:lt},{5:[2,75]},{58:199,104:lt},{23:200,62:Z,73:W},{5:[2,58]},{5:[2,59]},{23:201,62:Z,73:W},e(Pt,[2,12]),e(Ce,i,{7:125,41:202}),e($t,i,{7:127,43:203}),e(Me,i,{7:130,46:204}),e(M,[2,49]),e(M,[2,54]),e(jt,[2,77]),e(M,[2,51]),e(M,[2,56]),{5:[2,70]},{5:[2,71]},{5:[2,72]},{5:[2,73]},{58:205,104:lt},{104:[2,66]},{17:[2,48]},{17:[2,46]},{17:[2,44]},{5:[2,74]}],defaultActions:{5:[2,1],6:[2,2],151:[2,60],152:[2,106],153:[2,61],154:[2,62],155:[2,63],181:[2,75],184:[2,58],185:[2,59],196:[2,70],197:[2,71],198:[2,72],199:[2,73],201:[2,66],202:[2,48],203:[2,46],204:[2,44],205:[2,74]},parseError:f(function(w,C){if(C.recoverable)this.trace(w);else{var D=new Error(w);throw D.hash=C,D}},"parseError"),parse:f(function(w){var C=this,D=[0],y=[],G=[null],c=[],kt=this.table,p="",Vt=0,Ye=0,lr=2,Ve=1,hr=c.slice.call(arguments,1),$=Object.create(this.lexer),It={yy:{}};for(var ee in this.yy)Object.prototype.hasOwnProperty.call(this.yy,ee)&&(It.yy[ee]=this.yy[ee]);$.setInput(w,It.yy),It.yy.lexer=$,It.yy.parser=this,typeof $.yylloc>"u"&&($.yylloc={});var re=$.yylloc;c.push(re);var dr=$.options&&$.options.ranges;typeof It.yy.parseError=="function"?this.parseError=It.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Tr(ct){D.length=D.length-2*ct,G.length=G.length-ct,c.length=c.length-ct}f(Tr,"popStack");function We(){var ct;return ct=y.pop()||$.lex()||Ve,typeof ct!="number"&&(ct instanceof Array&&(y=ct,ct=y.pop()),ct=C.symbols_[ct]||ct),ct}f(We,"lex");for(var it,Rt,ht,ae,St={},Wt,Et,He,Ht;;){if(Rt=D[D.length-1],this.defaultActions[Rt]?ht=this.defaultActions[Rt]:((it===null||typeof it>"u")&&(it=We()),ht=kt[Rt]&&kt[Rt][it]),typeof ht>"u"||!ht.length||!ht[0]){var se="";Ht=[];for(Wt in kt[Rt])this.terminals_[Wt]&&Wt>lr&&Ht.push("'"+this.terminals_[Wt]+"'");$.showPosition?se="Parse error on line "+(Vt+1)+`:
2
2
  `+$.showPosition()+`
3
3
  Expecting `+Ht.join(", ")+", got '"+(this.terminals_[it]||it)+"'":se="Parse error on line "+(Vt+1)+": Unexpected "+(it==Ve?"end of input":"'"+(this.terminals_[it]||it)+"'"),this.parseError(se,{text:$.match,token:this.terminals_[it]||it,line:$.yylineno,loc:re,expected:Ht})}if(ht[0]instanceof Array&&ht.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Rt+", token: "+it);switch(ht[0]){case 1:D.push(it),G.push($.yytext),c.push($.yylloc),D.push(ht[1]),it=null,Ye=$.yyleng,p=$.yytext,Vt=$.yylineno,re=$.yylloc;break;case 2:if(Et=this.productions_[ht[1]][1],St.$=G[G.length-Et],St._$={first_line:c[c.length-(Et||1)].first_line,last_line:c[c.length-1].last_line,first_column:c[c.length-(Et||1)].first_column,last_column:c[c.length-1].last_column},dr&&(St._$.range=[c[c.length-(Et||1)].range[0],c[c.length-1].range[1]]),ae=this.performAction.apply(St,[p,Ye,Vt,It.yy,ht[1],G,c].concat(hr)),typeof ae<"u")return ae;Et&&(D=D.slice(0,-1*Et*2),G=G.slice(0,-1*Et),c=c.slice(0,-1*Et)),D.push(this.productions_[ht[1]][0]),G.push(St.$),c.push(St._$),He=kt[D[D.length-2]][D[D.length-1]],D.push(He);break;case 3:return!0}}return!0},"parse")},cr=(function(){var _t={EOF:1,parseError:f(function(C,D){if(this.yy.parser)this.yy.parser.parseError(C,D);else throw new Error(C)},"parseError"),setInput:f(function(w,C){return this.yy=C||this.yy||{},this._input=w,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:f(function(){var w=this._input[0];this.yytext+=w,this.yyleng++,this.offset++,this.match+=w,this.matched+=w;var C=w.match(/(?:\r\n?|\n).*/g);return C?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),w},"input"),unput:f(function(w){var C=w.length,D=w.split(/(?:\r\n?|\n)/g);this._input=w+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-C),this.offset-=C;var y=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),D.length-1&&(this.yylineno-=D.length-1);var G=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:D?(D.length===y.length?this.yylloc.first_column:0)+y[y.length-D.length].length-D[0].length:this.yylloc.first_column-C},this.options.ranges&&(this.yylloc.range=[G[0],G[0]+this.yyleng-C]),this.yyleng=this.yytext.length,this},"unput"),more:f(function(){return this._more=!0,this},"more"),reject:f(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
4
4
  `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:f(function(w){this.unput(this.match.slice(w))},"less"),pastInput:f(function(){var w=this.matched.substr(0,this.matched.length-this.match.length);return(w.length>20?"...":"")+w.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:f(function(){var w=this.match;return w.length<20&&(w+=this._input.substr(0,20-w.length)),(w.substr(0,20)+(w.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:f(function(){var w=this.pastInput(),C=new Array(w.length+1).join("-");return w+this.upcomingInput()+`
@@ -1,4 +1,4 @@
1
- import{s as xe}from"./1zzTvnVt.js";import{p as be}from"./COrX_n08.js";import{b as C,a6 as Ce,W as ae,q as ee,aX as we,B as Te,ay as te,b8 as B,aW as Z,a_ as Le,V as $e,b0 as Ae,Y as Fe,U as _e,aZ as Ne,O as Me,ao as ke,r as Ve}from"./DiKVnNpA.js";import{p as ze}from"./BbcRDMCy.js";import{f as O,o as Q}from"./sKfkOhQG.js";function De(t){var a=0,l=t.children,n=l&&l.length;if(!n)a=1;else for(;--n>=0;)a+=l[n].value;t.value=a}function Pe(){return this.eachAfter(De)}function Be(t,a){let l=-1;for(const n of this)t.call(a,n,++l,this);return this}function We(t,a){for(var l=this,n=[l],s,r,h=-1;l=n.pop();)if(t.call(a,l,++h,this),s=l.children)for(r=s.length-1;r>=0;--r)n.push(s[r]);return this}function Ee(t,a){for(var l=this,n=[l],s=[],r,h,d,f=-1;l=n.pop();)if(s.push(l),r=l.children)for(h=0,d=r.length;h<d;++h)n.push(r[h]);for(;l=s.pop();)t.call(a,l,++f,this);return this}function Re(t,a){let l=-1;for(const n of this)if(t.call(a,n,++l,this))return n}function He(t){return this.eachAfter(function(a){for(var l=+t(a.data)||0,n=a.children,s=n&&n.length;--s>=0;)l+=n[s].value;a.value=l})}function Ie(t){return this.eachBefore(function(a){a.children&&a.children.sort(t)})}function Oe(t){for(var a=this,l=qe(a,t),n=[a];a!==l;)a=a.parent,n.push(a);for(var s=n.length;t!==l;)n.splice(s,0,t),t=t.parent;return n}function qe(t,a){if(t===a)return t;var l=t.ancestors(),n=a.ancestors(),s=null;for(t=l.pop(),a=n.pop();t===a;)s=t,t=l.pop(),a=n.pop();return s}function Ge(){for(var t=this,a=[t];t=t.parent;)a.push(t);return a}function Xe(){return Array.from(this)}function Ye(){var t=[];return this.eachBefore(function(a){a.children||t.push(a)}),t}function je(){var t=this,a=[];return t.each(function(l){l!==t&&a.push({source:l.parent,target:l})}),a}function*Ue(){var t=this,a,l=[t],n,s,r;do for(a=l.reverse(),l=[];t=a.pop();)if(yield t,n=t.children)for(s=0,r=n.length;s<r;++s)l.push(n[s]);while(l.length)}function ne(t,a){t instanceof Map?(t=[void 0,t],a===void 0&&(a=Ke)):a===void 0&&(a=Je);for(var l=new Y(t),n,s=[l],r,h,d,f;n=s.pop();)if((h=a(n.data))&&(f=(h=Array.from(h)).length))for(n.children=h,d=f-1;d>=0;--d)s.push(r=h[d]=new Y(h[d])),r.parent=n,r.depth=n.depth+1;return l.eachBefore(et)}function Ze(){return ne(this).eachBefore(Qe)}function Je(t){return t.children}function Ke(t){return Array.isArray(t)?t[1]:null}function Qe(t){t.data.value!==void 0&&(t.value=t.data.value),t.data=t.data.data}function et(t){var a=0;do t.height=a;while((t=t.parent)&&t.height<++a)}function Y(t){this.data=t,this.depth=this.height=0,this.parent=null}Y.prototype=ne.prototype={constructor:Y,count:Pe,each:Be,eachAfter:Ee,eachBefore:We,find:Re,sum:He,sort:Ie,path:Oe,ancestors:Ge,descendants:Xe,leaves:Ye,links:je,copy:Ze,[Symbol.iterator]:Ue};function tt(t){if(typeof t!="function")throw new Error;return t}function q(){return 0}function G(t){return function(){return t}}function at(t){t.x0=Math.round(t.x0),t.y0=Math.round(t.y0),t.x1=Math.round(t.x1),t.y1=Math.round(t.y1)}function oe(t,a,l,n,s){for(var r=t.children,h,d=-1,f=r.length,o=t.value&&(n-a)/t.value;++d<f;)h=r[d],h.y0=l,h.y1=s,h.x0=a,h.x1=a+=h.value*o}Object.create(Y.prototype);function ce(t,a,l,n,s){for(var r=t.children,h,d=-1,f=r.length,o=t.value&&(s-l)/t.value;++d<f;)h=r[d],h.x0=a,h.x1=n,h.y0=l,h.y1=l+=h.value*o}var he=(1+Math.sqrt(5))/2;function de(t,a,l,n,s,r){for(var h=[],d=a.children,f,o,u=0,S=0,i=d.length,v,x,g=a.value,p,b,_,$,z,R,N;u<i;){v=s-l,x=r-n;do p=d[S++].value;while(!p&&S<i);for(b=_=p,R=Math.max(x/v,v/x)/(g*t),N=p*p*R,z=Math.max(_/N,N/b);S<i;++S){if(p+=o=d[S].value,o<b&&(b=o),o>_&&(_=o),N=p*p*R,$=Math.max(_/N,N/b),$>z){p-=o;break}z=$}h.push(f={value:p,dice:v<x,children:d.slice(u,S)}),f.dice?oe(f,l,n,s,g?n+=x*p/g:r):ce(f,l,n,g?l+=v*p/g:s,r),g-=p,u=S}return h}var nt=(function t(a){function l(n,s,r,h,d){de(a,n,s,r,h,d)}return l.ratio=function(n){return t((n=+n)>1?n:1)},l})(he);function lt(){var t=nt,a=!1,l=1,n=1,s=[0],r=q,h=q,d=q,f=q,o=q;function u(i){return i.x0=i.y0=0,i.x1=l,i.y1=n,i.eachBefore(S),s=[0],a&&i.eachBefore(at),i}function S(i){var v=s[i.depth],x=i.x0+v,g=i.y0+v,p=i.x1-v,b=i.y1-v;p<x&&(x=p=(x+p)/2),b<g&&(g=b=(g+b)/2),i.x0=x,i.y0=g,i.x1=p,i.y1=b,i.children&&(v=s[i.depth+1]=r(i)/2,x+=o(i)-v,g+=h(i)-v,p-=d(i)-v,b-=f(i)-v,p<x&&(x=p=(x+p)/2),b<g&&(g=b=(g+b)/2),t(i,x,g,p,b))}return u.round=function(i){return arguments.length?(a=!!i,u):a},u.size=function(i){return arguments.length?(l=+i[0],n=+i[1],u):[l,n]},u.tile=function(i){return arguments.length?(t=tt(i),u):t},u.padding=function(i){return arguments.length?u.paddingInner(i).paddingOuter(i):u.paddingInner()},u.paddingInner=function(i){return arguments.length?(r=typeof i=="function"?i:G(+i),u):r},u.paddingOuter=function(i){return arguments.length?u.paddingTop(i).paddingRight(i).paddingBottom(i).paddingLeft(i):u.paddingTop()},u.paddingTop=function(i){return arguments.length?(h=typeof i=="function"?i:G(+i),u):h},u.paddingRight=function(i){return arguments.length?(d=typeof i=="function"?i:G(+i),u):d},u.paddingBottom=function(i){return arguments.length?(f=typeof i=="function"?i:G(+i),u):f},u.paddingLeft=function(i){return arguments.length?(o=typeof i=="function"?i:G(+i),u):o},u}(function t(a){function l(n,s,r,h,d){if((f=n._squarify)&&f.ratio===a)for(var f,o,u,S,i=-1,v,x=f.length,g=n.value;++i<x;){for(o=f[i],u=o.children,S=o.value=0,v=u.length;S<v;++S)o.value+=u[S].value;o.dice?oe(o,s,r,h,g?r+=(d-r)*o.value/g:d):ce(o,s,r,g?s+=(h-s)*o.value/g:h,d),g-=o.value}else n._squarify=f=de(a,n,s,r,h,d),f.ratio=a}return l.ratio=function(n){return t((n=+n)>1?n:1)},l})(he);var E,ue=(E=class{constructor(){this.nodes=[],this.levels=new Map,this.outerNodes=[],this.classes=new Map,this.setAccTitle=Le,this.getAccTitle=$e,this.setDiagramTitle=Ae,this.getDiagramTitle=Fe,this.getAccDescription=_e,this.setAccDescription=Ne}getNodes(){return this.nodes}getConfig(){const a=Me,l=ae();return ee({...a.treemap,...l.treemap??{}})}addNode(a,l){this.nodes.push(a),this.levels.set(a,l),l===0&&(this.outerNodes.push(a),this.root??=a)}getRoot(){return{name:"",children:this.outerNodes}}addClass(a,l){const n=this.classes.get(a)??{id:a,styles:[],textStyles:[]},s=l.replace(/\\,/g,"§§§").replace(/,/g,";").replace(/§§§/g,",").split(";");s&&s.forEach(r=>{ke(r)&&(n?.textStyles?n.textStyles.push(r):n.textStyles=[r]),n?.styles?n.styles.push(r):n.styles=[r]}),this.classes.set(a,n)}getClasses(){return this.classes}getStylesForClass(a){return this.classes.get(a)?.styles??[]}clear(){Ve(),this.nodes=[],this.levels=new Map,this.outerNodes=[],this.classes=new Map,this.root=void 0}},C(E,"TreeMapDB"),E);function pe(t){if(!t.length)return[];const a=[],l=[];return t.forEach(n=>{const s={name:n.name,children:n.type==="Leaf"?void 0:[]};for(s.classSelector=n?.classSelector,n?.cssCompiledStyles&&(s.cssCompiledStyles=n.cssCompiledStyles),n.type==="Leaf"&&n.value!==void 0&&(s.value=n.value);l.length>0&&l[l.length-1].level>=n.level;)l.pop();if(l.length===0)a.push(s);else{const r=l[l.length-1].node;r.children?r.children.push(s):r.children=[s]}n.type!=="Leaf"&&l.push({node:s,level:n.level})}),a}C(pe,"buildHierarchy");var st=C((t,a)=>{be(t,a);const l=[];for(const r of t.TreemapRows??[])r.$type==="ClassDefStatement"&&a.addClass(r.className??"",r.styleText??"");for(const r of t.TreemapRows??[]){const h=r.item;if(!h)continue;const d=r.indent?parseInt(r.indent):0,f=rt(h),o=h.classSelector?a.getStylesForClass(h.classSelector):[],u=o.length>0?o:void 0,S={level:d,name:f,type:h.$type,value:h.value,classSelector:h.classSelector,cssCompiledStyles:u};l.push(S)}const n=pe(l),s=C((r,h)=>{for(const d of r)a.addNode(d,h),d.children&&d.children.length>0&&s(d.children,h+1)},"addNodesRecursively");s(n,0)},"populate"),rt=C(t=>t.name?String(t.name):"","getItemName"),fe={parser:{yy:void 0},parse:C(async t=>{try{const l=await ze("treemap",t);te.debug("Treemap AST:",l);const n=fe.parser?.yy;if(!(n instanceof ue))throw new Error("parser.parser?.yy was not a TreemapDB. This is due to a bug within Mermaid, please report this issue at https://github.com/mermaid-js/mermaid/issues.");st(l,n)}catch(a){throw te.error("Error parsing treemap:",a),a}},"parse")},it=10,W=10,X=25,ot=C((t,a,l,n)=>{const s=n.db,r=s.getConfig(),h=r.padding??it,d=s.getDiagramTitle(),f=s.getRoot(),{themeVariables:o}=ae();if(!f)return;const u=d?30:0,S=we(a),i=r.nodeWidth?r.nodeWidth*W:960,v=r.nodeHeight?r.nodeHeight*W:500,x=i,g=v+u;S.attr("viewBox",`0 0 ${x} ${g}`),Te(S,g,x,r.useMaxWidth);let p;try{const e=r.valueFormat||",";if(e==="$0,0")p=C(c=>"$"+O(",")(c),"valueFormat");else if(e.startsWith("$")&&e.includes(",")){const c=/\.\d+/.exec(e),m=c?c[0]:"";p=C(w=>"$"+O(","+m)(w),"valueFormat")}else if(e.startsWith("$")){const c=e.substring(1);p=C(m=>"$"+O(c||"")(m),"valueFormat")}else p=O(e)}catch(e){te.error("Error creating format function:",e),p=O(",")}const b=Q().range(["transparent",o.cScale0,o.cScale1,o.cScale2,o.cScale3,o.cScale4,o.cScale5,o.cScale6,o.cScale7,o.cScale8,o.cScale9,o.cScale10,o.cScale11]),_=Q().range(["transparent",o.cScalePeer0,o.cScalePeer1,o.cScalePeer2,o.cScalePeer3,o.cScalePeer4,o.cScalePeer5,o.cScalePeer6,o.cScalePeer7,o.cScalePeer8,o.cScalePeer9,o.cScalePeer10,o.cScalePeer11]),$=Q().range([o.cScaleLabel0,o.cScaleLabel1,o.cScaleLabel2,o.cScaleLabel3,o.cScaleLabel4,o.cScaleLabel5,o.cScaleLabel6,o.cScaleLabel7,o.cScaleLabel8,o.cScaleLabel9,o.cScaleLabel10,o.cScaleLabel11]);d&&S.append("text").attr("x",x/2).attr("y",u/2).attr("class","treemapTitle").attr("text-anchor","middle").attr("dominant-baseline","middle").text(d);const z=S.append("g").attr("transform",`translate(0, ${u})`).attr("class","treemapContainer"),R=ne(f).sum(e=>e.value??0).sort((e,c)=>(c.value??0)-(e.value??0)),le=lt().size([i,v]).paddingTop(e=>e.children&&e.children.length>0?X+W:0).paddingInner(h).paddingLeft(e=>e.children&&e.children.length>0?W:0).paddingRight(e=>e.children&&e.children.length>0?W:0).paddingBottom(e=>e.children&&e.children.length>0?W:0).round(!0)(R),me=le.descendants().filter(e=>e.children&&e.children.length>0),H=z.selectAll(".treemapSection").data(me).enter().append("g").attr("class","treemapSection").attr("transform",e=>`translate(${e.x0},${e.y0})`);H.append("rect").attr("width",e=>e.x1-e.x0).attr("height",X).attr("class","treemapSectionHeader").attr("fill","none").attr("fill-opacity",.6).attr("stroke-width",.6).attr("style",e=>e.depth===0?"display: none;":""),H.append("clipPath").attr("id",(e,c)=>`clip-section-${a}-${c}`).append("rect").attr("width",e=>Math.max(0,e.x1-e.x0-12)).attr("height",X),H.append("rect").attr("width",e=>e.x1-e.x0).attr("height",e=>e.y1-e.y0).attr("class",(e,c)=>`treemapSection section${c}`).attr("fill",e=>b(e.data.name)).attr("fill-opacity",.6).attr("stroke",e=>_(e.data.name)).attr("stroke-width",2).attr("stroke-opacity",.4).attr("style",e=>{if(e.depth===0)return"display: none;";const c=B({cssCompiledStyles:e.data.cssCompiledStyles});return c.nodeStyles+";"+c.borderStyles.join(";")}),H.append("text").attr("class","treemapSectionLabel").attr("x",6).attr("y",X/2).attr("dominant-baseline","middle").text(e=>e.depth===0?"":e.data.name).attr("font-weight","bold").attr("clip-path",(e,c)=>`url(#clip-section-${a}-${c})`).attr("style",e=>{if(e.depth===0)return"display: none;";const c="dominant-baseline: middle; font-size: 12px; fill:"+$(e.data.name)+"; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;",m=B({cssCompiledStyles:e.data.cssCompiledStyles});return c+m.labelStyles.replace("color:","fill:")}).each(function(e){if(e.depth===0)return;const c=Z(this),m=e.data.name;c.text(m);const w=e.x1-e.x0,L=6;let T;r.showValues!==!1&&e.value?T=w-10-30-10-L:T=w-L-6;const y=Math.max(15,T),M=c.node();if(M.getComputedTextLength()>y){let V=m;for(;V.length>0;){if(V=m.substring(0,V.length-1),V.length===0){c.text("..."),M.getComputedTextLength()>y&&c.text("");break}if(c.text(V+"..."),M.getComputedTextLength()<=y)break}}}),r.showValues!==!1&&H.append("text").attr("class","treemapSectionValue").attr("x",e=>e.x1-e.x0-10).attr("y",X/2).attr("text-anchor","end").attr("dominant-baseline","middle").text(e=>e.value?p(e.value):"").attr("font-style","italic").attr("style",e=>{if(e.depth===0)return"display: none;";const c="text-anchor: end; dominant-baseline: middle; font-size: 10px; fill:"+$(e.data.name)+"; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;",m=B({cssCompiledStyles:e.data.cssCompiledStyles});return c+m.labelStyles.replace("color:","fill:")});const se=le.leaves(),A=se.length>20,ge=A?16:38,j=A?14:28,D=A?4:8,I=A?4:6,J=A?2:4,re=A?8:10,K=A?1:2,U=z.selectAll(".treemapLeafGroup").data(se).enter().append("g").attr("class",(e,c)=>`treemapNode treemapLeafGroup leaf${c}${e.data.classSelector?` ${e.data.classSelector}`:""}x`).attr("transform",e=>`translate(${e.x0},${e.y0})`);U.append("rect").attr("width",e=>e.x1-e.x0).attr("height",e=>e.y1-e.y0).attr("class","treemapLeaf").attr("fill",e=>e.parent?b(e.parent.data.name):b(e.data.name)).attr("style",e=>B({cssCompiledStyles:e.data.cssCompiledStyles}).nodeStyles).attr("fill-opacity",.3).attr("stroke",e=>e.parent?b(e.parent.data.name):b(e.data.name)).attr("stroke-width",3),U.append("clipPath").attr("id",(e,c)=>`clip-${a}-${c}`).append("rect").attr("width",e=>Math.max(0,e.x1-e.x0-4)).attr("height",e=>Math.max(0,e.y1-e.y0-4)),U.append("text").attr("class","treemapLabel").attr("x",e=>(e.x1-e.x0)/2).attr("y",e=>(e.y1-e.y0)/2).attr("style",e=>{const c=`text-anchor: middle; dominant-baseline: middle; font-size: ${ge}px;fill:`+$(e.data.name)+";",m=B({cssCompiledStyles:e.data.cssCompiledStyles});return c+m.labelStyles.replace("color:","fill:")}).attr("clip-path",(e,c)=>`url(#clip-${a}-${c})`).text(e=>e.data.name).each(function(e){const c=Z(this),m=e.x1-e.x0,w=e.y1-e.y0,L=c.node(),T=m-2*J,P=w-2*J;if(T<re||P<re){c.style("display","none");return}let y=parseInt(c.style("font-size"),10);const M=.6;for(;L.getComputedTextLength()>T&&y>D;)y--,c.style("font-size",`${y}px`);let F=Math.max(I,Math.min(j,Math.round(y*M))),k=y+K+F;for(;k>P&&y>D&&(y--,F=Math.max(I,Math.min(j,Math.round(y*M))),!(F<I&&y===D));)c.style("font-size",`${y}px`),k=y+K+F;c.style("font-size",`${y}px`),A?(y<D||P<D)&&c.style("display","none"):(L.getComputedTextLength()>T||y<D||P<y)&&c.style("display","none")}),r.showValues!==!1&&U.append("text").attr("class","treemapValue").attr("x",c=>(c.x1-c.x0)/2).attr("y",function(c){return(c.y1-c.y0)/2}).attr("style",c=>{const m=`text-anchor: middle; dominant-baseline: hanging; font-size: ${j}px;fill:`+$(c.data.name)+";",w=B({cssCompiledStyles:c.data.cssCompiledStyles});return m+w.labelStyles.replace("color:","fill:")}).attr("clip-path",(c,m)=>`url(#clip-${a}-${m})`).text(c=>c.value?p(c.value):"").each(function(c){const m=Z(this),w=this.parentNode;if(!w){m.style("display","none");return}const L=Z(w).select(".treemapLabel");if(L.empty()||L.style("display")==="none"){m.style("display","none");return}const T=parseFloat(L.style("font-size")),y=Math.max(I,Math.min(j,Math.round(T*.6)));m.style("font-size",`${y}px`);const F=(c.y1-c.y0)/2+T/2+K;m.attr("y",F);const k=c.x1-c.x0,ie=c.y1-c.y0-4,ve=k-2*J;m.node().getComputedTextLength()>ve||F+y>ie||y<I?m.style("display","none"):m.style("display",null)});const ye=r.diagramPadding??8;xe(S,ye,"flowchart",r?.useMaxWidth||!1)},"draw"),ct=C(function(t,a){return a.db.getClasses()},"getClasses"),ht={draw:ot,getClasses:ct},dt={sectionStrokeColor:"black",sectionStrokeWidth:"1",sectionFillColor:"#efefef",leafStrokeColor:"black",leafStrokeWidth:"1",leafFillColor:"#efefef",labelFontSize:"12px",valueFontSize:"10px",titleFontSize:"14px"},ut=C(({treemap:t}={})=>{const a=Ce(),l=ae(),n=ee(a,l.themeVariables),s=ee(dt,t),r=s.titleColor??n.titleColor,h=s.labelColor??n.textColor,d=s.valueColor??n.textColor;return`
1
+ import{s as xe}from"./Bnny-UX2.js";import{p as be}from"./BmOVoAuP.js";import{b as C,a6 as Ce,W as ae,q as ee,aX as we,B as Te,ay as te,b8 as B,aW as Z,a_ as Le,V as $e,b0 as Ae,Y as Fe,U as _e,aZ as Ne,O as Me,ao as ke,r as Ve}from"./CKAixUGj.js";import{p as ze}from"./BbcRDMCy.js";import{f as O,o as Q}from"./kjcC8vHg.js";function De(t){var a=0,l=t.children,n=l&&l.length;if(!n)a=1;else for(;--n>=0;)a+=l[n].value;t.value=a}function Pe(){return this.eachAfter(De)}function Be(t,a){let l=-1;for(const n of this)t.call(a,n,++l,this);return this}function We(t,a){for(var l=this,n=[l],s,r,h=-1;l=n.pop();)if(t.call(a,l,++h,this),s=l.children)for(r=s.length-1;r>=0;--r)n.push(s[r]);return this}function Ee(t,a){for(var l=this,n=[l],s=[],r,h,d,f=-1;l=n.pop();)if(s.push(l),r=l.children)for(h=0,d=r.length;h<d;++h)n.push(r[h]);for(;l=s.pop();)t.call(a,l,++f,this);return this}function Re(t,a){let l=-1;for(const n of this)if(t.call(a,n,++l,this))return n}function He(t){return this.eachAfter(function(a){for(var l=+t(a.data)||0,n=a.children,s=n&&n.length;--s>=0;)l+=n[s].value;a.value=l})}function Ie(t){return this.eachBefore(function(a){a.children&&a.children.sort(t)})}function Oe(t){for(var a=this,l=qe(a,t),n=[a];a!==l;)a=a.parent,n.push(a);for(var s=n.length;t!==l;)n.splice(s,0,t),t=t.parent;return n}function qe(t,a){if(t===a)return t;var l=t.ancestors(),n=a.ancestors(),s=null;for(t=l.pop(),a=n.pop();t===a;)s=t,t=l.pop(),a=n.pop();return s}function Ge(){for(var t=this,a=[t];t=t.parent;)a.push(t);return a}function Xe(){return Array.from(this)}function Ye(){var t=[];return this.eachBefore(function(a){a.children||t.push(a)}),t}function je(){var t=this,a=[];return t.each(function(l){l!==t&&a.push({source:l.parent,target:l})}),a}function*Ue(){var t=this,a,l=[t],n,s,r;do for(a=l.reverse(),l=[];t=a.pop();)if(yield t,n=t.children)for(s=0,r=n.length;s<r;++s)l.push(n[s]);while(l.length)}function ne(t,a){t instanceof Map?(t=[void 0,t],a===void 0&&(a=Ke)):a===void 0&&(a=Je);for(var l=new Y(t),n,s=[l],r,h,d,f;n=s.pop();)if((h=a(n.data))&&(f=(h=Array.from(h)).length))for(n.children=h,d=f-1;d>=0;--d)s.push(r=h[d]=new Y(h[d])),r.parent=n,r.depth=n.depth+1;return l.eachBefore(et)}function Ze(){return ne(this).eachBefore(Qe)}function Je(t){return t.children}function Ke(t){return Array.isArray(t)?t[1]:null}function Qe(t){t.data.value!==void 0&&(t.value=t.data.value),t.data=t.data.data}function et(t){var a=0;do t.height=a;while((t=t.parent)&&t.height<++a)}function Y(t){this.data=t,this.depth=this.height=0,this.parent=null}Y.prototype=ne.prototype={constructor:Y,count:Pe,each:Be,eachAfter:Ee,eachBefore:We,find:Re,sum:He,sort:Ie,path:Oe,ancestors:Ge,descendants:Xe,leaves:Ye,links:je,copy:Ze,[Symbol.iterator]:Ue};function tt(t){if(typeof t!="function")throw new Error;return t}function q(){return 0}function G(t){return function(){return t}}function at(t){t.x0=Math.round(t.x0),t.y0=Math.round(t.y0),t.x1=Math.round(t.x1),t.y1=Math.round(t.y1)}function oe(t,a,l,n,s){for(var r=t.children,h,d=-1,f=r.length,o=t.value&&(n-a)/t.value;++d<f;)h=r[d],h.y0=l,h.y1=s,h.x0=a,h.x1=a+=h.value*o}Object.create(Y.prototype);function ce(t,a,l,n,s){for(var r=t.children,h,d=-1,f=r.length,o=t.value&&(s-l)/t.value;++d<f;)h=r[d],h.x0=a,h.x1=n,h.y0=l,h.y1=l+=h.value*o}var he=(1+Math.sqrt(5))/2;function de(t,a,l,n,s,r){for(var h=[],d=a.children,f,o,u=0,S=0,i=d.length,v,x,g=a.value,p,b,_,$,z,R,N;u<i;){v=s-l,x=r-n;do p=d[S++].value;while(!p&&S<i);for(b=_=p,R=Math.max(x/v,v/x)/(g*t),N=p*p*R,z=Math.max(_/N,N/b);S<i;++S){if(p+=o=d[S].value,o<b&&(b=o),o>_&&(_=o),N=p*p*R,$=Math.max(_/N,N/b),$>z){p-=o;break}z=$}h.push(f={value:p,dice:v<x,children:d.slice(u,S)}),f.dice?oe(f,l,n,s,g?n+=x*p/g:r):ce(f,l,n,g?l+=v*p/g:s,r),g-=p,u=S}return h}var nt=(function t(a){function l(n,s,r,h,d){de(a,n,s,r,h,d)}return l.ratio=function(n){return t((n=+n)>1?n:1)},l})(he);function lt(){var t=nt,a=!1,l=1,n=1,s=[0],r=q,h=q,d=q,f=q,o=q;function u(i){return i.x0=i.y0=0,i.x1=l,i.y1=n,i.eachBefore(S),s=[0],a&&i.eachBefore(at),i}function S(i){var v=s[i.depth],x=i.x0+v,g=i.y0+v,p=i.x1-v,b=i.y1-v;p<x&&(x=p=(x+p)/2),b<g&&(g=b=(g+b)/2),i.x0=x,i.y0=g,i.x1=p,i.y1=b,i.children&&(v=s[i.depth+1]=r(i)/2,x+=o(i)-v,g+=h(i)-v,p-=d(i)-v,b-=f(i)-v,p<x&&(x=p=(x+p)/2),b<g&&(g=b=(g+b)/2),t(i,x,g,p,b))}return u.round=function(i){return arguments.length?(a=!!i,u):a},u.size=function(i){return arguments.length?(l=+i[0],n=+i[1],u):[l,n]},u.tile=function(i){return arguments.length?(t=tt(i),u):t},u.padding=function(i){return arguments.length?u.paddingInner(i).paddingOuter(i):u.paddingInner()},u.paddingInner=function(i){return arguments.length?(r=typeof i=="function"?i:G(+i),u):r},u.paddingOuter=function(i){return arguments.length?u.paddingTop(i).paddingRight(i).paddingBottom(i).paddingLeft(i):u.paddingTop()},u.paddingTop=function(i){return arguments.length?(h=typeof i=="function"?i:G(+i),u):h},u.paddingRight=function(i){return arguments.length?(d=typeof i=="function"?i:G(+i),u):d},u.paddingBottom=function(i){return arguments.length?(f=typeof i=="function"?i:G(+i),u):f},u.paddingLeft=function(i){return arguments.length?(o=typeof i=="function"?i:G(+i),u):o},u}(function t(a){function l(n,s,r,h,d){if((f=n._squarify)&&f.ratio===a)for(var f,o,u,S,i=-1,v,x=f.length,g=n.value;++i<x;){for(o=f[i],u=o.children,S=o.value=0,v=u.length;S<v;++S)o.value+=u[S].value;o.dice?oe(o,s,r,h,g?r+=(d-r)*o.value/g:d):ce(o,s,r,g?s+=(h-s)*o.value/g:h,d),g-=o.value}else n._squarify=f=de(a,n,s,r,h,d),f.ratio=a}return l.ratio=function(n){return t((n=+n)>1?n:1)},l})(he);var E,ue=(E=class{constructor(){this.nodes=[],this.levels=new Map,this.outerNodes=[],this.classes=new Map,this.setAccTitle=Le,this.getAccTitle=$e,this.setDiagramTitle=Ae,this.getDiagramTitle=Fe,this.getAccDescription=_e,this.setAccDescription=Ne}getNodes(){return this.nodes}getConfig(){const a=Me,l=ae();return ee({...a.treemap,...l.treemap??{}})}addNode(a,l){this.nodes.push(a),this.levels.set(a,l),l===0&&(this.outerNodes.push(a),this.root??=a)}getRoot(){return{name:"",children:this.outerNodes}}addClass(a,l){const n=this.classes.get(a)??{id:a,styles:[],textStyles:[]},s=l.replace(/\\,/g,"§§§").replace(/,/g,";").replace(/§§§/g,",").split(";");s&&s.forEach(r=>{ke(r)&&(n?.textStyles?n.textStyles.push(r):n.textStyles=[r]),n?.styles?n.styles.push(r):n.styles=[r]}),this.classes.set(a,n)}getClasses(){return this.classes}getStylesForClass(a){return this.classes.get(a)?.styles??[]}clear(){Ve(),this.nodes=[],this.levels=new Map,this.outerNodes=[],this.classes=new Map,this.root=void 0}},C(E,"TreeMapDB"),E);function pe(t){if(!t.length)return[];const a=[],l=[];return t.forEach(n=>{const s={name:n.name,children:n.type==="Leaf"?void 0:[]};for(s.classSelector=n?.classSelector,n?.cssCompiledStyles&&(s.cssCompiledStyles=n.cssCompiledStyles),n.type==="Leaf"&&n.value!==void 0&&(s.value=n.value);l.length>0&&l[l.length-1].level>=n.level;)l.pop();if(l.length===0)a.push(s);else{const r=l[l.length-1].node;r.children?r.children.push(s):r.children=[s]}n.type!=="Leaf"&&l.push({node:s,level:n.level})}),a}C(pe,"buildHierarchy");var st=C((t,a)=>{be(t,a);const l=[];for(const r of t.TreemapRows??[])r.$type==="ClassDefStatement"&&a.addClass(r.className??"",r.styleText??"");for(const r of t.TreemapRows??[]){const h=r.item;if(!h)continue;const d=r.indent?parseInt(r.indent):0,f=rt(h),o=h.classSelector?a.getStylesForClass(h.classSelector):[],u=o.length>0?o:void 0,S={level:d,name:f,type:h.$type,value:h.value,classSelector:h.classSelector,cssCompiledStyles:u};l.push(S)}const n=pe(l),s=C((r,h)=>{for(const d of r)a.addNode(d,h),d.children&&d.children.length>0&&s(d.children,h+1)},"addNodesRecursively");s(n,0)},"populate"),rt=C(t=>t.name?String(t.name):"","getItemName"),fe={parser:{yy:void 0},parse:C(async t=>{try{const l=await ze("treemap",t);te.debug("Treemap AST:",l);const n=fe.parser?.yy;if(!(n instanceof ue))throw new Error("parser.parser?.yy was not a TreemapDB. This is due to a bug within Mermaid, please report this issue at https://github.com/mermaid-js/mermaid/issues.");st(l,n)}catch(a){throw te.error("Error parsing treemap:",a),a}},"parse")},it=10,W=10,X=25,ot=C((t,a,l,n)=>{const s=n.db,r=s.getConfig(),h=r.padding??it,d=s.getDiagramTitle(),f=s.getRoot(),{themeVariables:o}=ae();if(!f)return;const u=d?30:0,S=we(a),i=r.nodeWidth?r.nodeWidth*W:960,v=r.nodeHeight?r.nodeHeight*W:500,x=i,g=v+u;S.attr("viewBox",`0 0 ${x} ${g}`),Te(S,g,x,r.useMaxWidth);let p;try{const e=r.valueFormat||",";if(e==="$0,0")p=C(c=>"$"+O(",")(c),"valueFormat");else if(e.startsWith("$")&&e.includes(",")){const c=/\.\d+/.exec(e),m=c?c[0]:"";p=C(w=>"$"+O(","+m)(w),"valueFormat")}else if(e.startsWith("$")){const c=e.substring(1);p=C(m=>"$"+O(c||"")(m),"valueFormat")}else p=O(e)}catch(e){te.error("Error creating format function:",e),p=O(",")}const b=Q().range(["transparent",o.cScale0,o.cScale1,o.cScale2,o.cScale3,o.cScale4,o.cScale5,o.cScale6,o.cScale7,o.cScale8,o.cScale9,o.cScale10,o.cScale11]),_=Q().range(["transparent",o.cScalePeer0,o.cScalePeer1,o.cScalePeer2,o.cScalePeer3,o.cScalePeer4,o.cScalePeer5,o.cScalePeer6,o.cScalePeer7,o.cScalePeer8,o.cScalePeer9,o.cScalePeer10,o.cScalePeer11]),$=Q().range([o.cScaleLabel0,o.cScaleLabel1,o.cScaleLabel2,o.cScaleLabel3,o.cScaleLabel4,o.cScaleLabel5,o.cScaleLabel6,o.cScaleLabel7,o.cScaleLabel8,o.cScaleLabel9,o.cScaleLabel10,o.cScaleLabel11]);d&&S.append("text").attr("x",x/2).attr("y",u/2).attr("class","treemapTitle").attr("text-anchor","middle").attr("dominant-baseline","middle").text(d);const z=S.append("g").attr("transform",`translate(0, ${u})`).attr("class","treemapContainer"),R=ne(f).sum(e=>e.value??0).sort((e,c)=>(c.value??0)-(e.value??0)),le=lt().size([i,v]).paddingTop(e=>e.children&&e.children.length>0?X+W:0).paddingInner(h).paddingLeft(e=>e.children&&e.children.length>0?W:0).paddingRight(e=>e.children&&e.children.length>0?W:0).paddingBottom(e=>e.children&&e.children.length>0?W:0).round(!0)(R),me=le.descendants().filter(e=>e.children&&e.children.length>0),H=z.selectAll(".treemapSection").data(me).enter().append("g").attr("class","treemapSection").attr("transform",e=>`translate(${e.x0},${e.y0})`);H.append("rect").attr("width",e=>e.x1-e.x0).attr("height",X).attr("class","treemapSectionHeader").attr("fill","none").attr("fill-opacity",.6).attr("stroke-width",.6).attr("style",e=>e.depth===0?"display: none;":""),H.append("clipPath").attr("id",(e,c)=>`clip-section-${a}-${c}`).append("rect").attr("width",e=>Math.max(0,e.x1-e.x0-12)).attr("height",X),H.append("rect").attr("width",e=>e.x1-e.x0).attr("height",e=>e.y1-e.y0).attr("class",(e,c)=>`treemapSection section${c}`).attr("fill",e=>b(e.data.name)).attr("fill-opacity",.6).attr("stroke",e=>_(e.data.name)).attr("stroke-width",2).attr("stroke-opacity",.4).attr("style",e=>{if(e.depth===0)return"display: none;";const c=B({cssCompiledStyles:e.data.cssCompiledStyles});return c.nodeStyles+";"+c.borderStyles.join(";")}),H.append("text").attr("class","treemapSectionLabel").attr("x",6).attr("y",X/2).attr("dominant-baseline","middle").text(e=>e.depth===0?"":e.data.name).attr("font-weight","bold").attr("clip-path",(e,c)=>`url(#clip-section-${a}-${c})`).attr("style",e=>{if(e.depth===0)return"display: none;";const c="dominant-baseline: middle; font-size: 12px; fill:"+$(e.data.name)+"; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;",m=B({cssCompiledStyles:e.data.cssCompiledStyles});return c+m.labelStyles.replace("color:","fill:")}).each(function(e){if(e.depth===0)return;const c=Z(this),m=e.data.name;c.text(m);const w=e.x1-e.x0,L=6;let T;r.showValues!==!1&&e.value?T=w-10-30-10-L:T=w-L-6;const y=Math.max(15,T),M=c.node();if(M.getComputedTextLength()>y){let V=m;for(;V.length>0;){if(V=m.substring(0,V.length-1),V.length===0){c.text("..."),M.getComputedTextLength()>y&&c.text("");break}if(c.text(V+"..."),M.getComputedTextLength()<=y)break}}}),r.showValues!==!1&&H.append("text").attr("class","treemapSectionValue").attr("x",e=>e.x1-e.x0-10).attr("y",X/2).attr("text-anchor","end").attr("dominant-baseline","middle").text(e=>e.value?p(e.value):"").attr("font-style","italic").attr("style",e=>{if(e.depth===0)return"display: none;";const c="text-anchor: end; dominant-baseline: middle; font-size: 10px; fill:"+$(e.data.name)+"; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;",m=B({cssCompiledStyles:e.data.cssCompiledStyles});return c+m.labelStyles.replace("color:","fill:")});const se=le.leaves(),A=se.length>20,ge=A?16:38,j=A?14:28,D=A?4:8,I=A?4:6,J=A?2:4,re=A?8:10,K=A?1:2,U=z.selectAll(".treemapLeafGroup").data(se).enter().append("g").attr("class",(e,c)=>`treemapNode treemapLeafGroup leaf${c}${e.data.classSelector?` ${e.data.classSelector}`:""}x`).attr("transform",e=>`translate(${e.x0},${e.y0})`);U.append("rect").attr("width",e=>e.x1-e.x0).attr("height",e=>e.y1-e.y0).attr("class","treemapLeaf").attr("fill",e=>e.parent?b(e.parent.data.name):b(e.data.name)).attr("style",e=>B({cssCompiledStyles:e.data.cssCompiledStyles}).nodeStyles).attr("fill-opacity",.3).attr("stroke",e=>e.parent?b(e.parent.data.name):b(e.data.name)).attr("stroke-width",3),U.append("clipPath").attr("id",(e,c)=>`clip-${a}-${c}`).append("rect").attr("width",e=>Math.max(0,e.x1-e.x0-4)).attr("height",e=>Math.max(0,e.y1-e.y0-4)),U.append("text").attr("class","treemapLabel").attr("x",e=>(e.x1-e.x0)/2).attr("y",e=>(e.y1-e.y0)/2).attr("style",e=>{const c=`text-anchor: middle; dominant-baseline: middle; font-size: ${ge}px;fill:`+$(e.data.name)+";",m=B({cssCompiledStyles:e.data.cssCompiledStyles});return c+m.labelStyles.replace("color:","fill:")}).attr("clip-path",(e,c)=>`url(#clip-${a}-${c})`).text(e=>e.data.name).each(function(e){const c=Z(this),m=e.x1-e.x0,w=e.y1-e.y0,L=c.node(),T=m-2*J,P=w-2*J;if(T<re||P<re){c.style("display","none");return}let y=parseInt(c.style("font-size"),10);const M=.6;for(;L.getComputedTextLength()>T&&y>D;)y--,c.style("font-size",`${y}px`);let F=Math.max(I,Math.min(j,Math.round(y*M))),k=y+K+F;for(;k>P&&y>D&&(y--,F=Math.max(I,Math.min(j,Math.round(y*M))),!(F<I&&y===D));)c.style("font-size",`${y}px`),k=y+K+F;c.style("font-size",`${y}px`),A?(y<D||P<D)&&c.style("display","none"):(L.getComputedTextLength()>T||y<D||P<y)&&c.style("display","none")}),r.showValues!==!1&&U.append("text").attr("class","treemapValue").attr("x",c=>(c.x1-c.x0)/2).attr("y",function(c){return(c.y1-c.y0)/2}).attr("style",c=>{const m=`text-anchor: middle; dominant-baseline: hanging; font-size: ${j}px;fill:`+$(c.data.name)+";",w=B({cssCompiledStyles:c.data.cssCompiledStyles});return m+w.labelStyles.replace("color:","fill:")}).attr("clip-path",(c,m)=>`url(#clip-${a}-${m})`).text(c=>c.value?p(c.value):"").each(function(c){const m=Z(this),w=this.parentNode;if(!w){m.style("display","none");return}const L=Z(w).select(".treemapLabel");if(L.empty()||L.style("display")==="none"){m.style("display","none");return}const T=parseFloat(L.style("font-size")),y=Math.max(I,Math.min(j,Math.round(T*.6)));m.style("font-size",`${y}px`);const F=(c.y1-c.y0)/2+T/2+K;m.attr("y",F);const k=c.x1-c.x0,ie=c.y1-c.y0-4,ve=k-2*J;m.node().getComputedTextLength()>ve||F+y>ie||y<I?m.style("display","none"):m.style("display",null)});const ye=r.diagramPadding??8;xe(S,ye,"flowchart",r?.useMaxWidth||!1)},"draw"),ct=C(function(t,a){return a.db.getClasses()},"getClasses"),ht={draw:ot,getClasses:ct},dt={sectionStrokeColor:"black",sectionStrokeWidth:"1",sectionFillColor:"#efefef",leafStrokeColor:"black",leafStrokeWidth:"1",leafFillColor:"#efefef",labelFontSize:"12px",valueFontSize:"10px",titleFontSize:"14px"},ut=C(({treemap:t}={})=>{const a=Ce(),l=ae(),n=ee(a,l.themeVariables),s=ee(dt,t),r=s.titleColor??n.titleColor,h=s.labelColor??n.textColor,d=s.valueColor??n.textColor;return`
2
2
  .treemapNode.section {
3
3
  stroke: ${s.sectionStrokeColor};
4
4
  stroke-width: ${s.sectionStrokeWidth};
@@ -1 +1 @@
1
- import{n as i}from"./DCuF_YI1.js";import{o as n}from"./D8GJMKxV.js";import{g as o,Ir as a,Dm as s,uF as r,uf as f}from"./DBkMUdAo.js";async function h(t,e){if(!(!t||!e)){if(t===o){await i("/"),a.dispatch(s(e)),a.dispatch(r("chief"));return}await n(t)&&a.dispatch(f(t,{agentId:e}))}}export{h as n};
1
+ import{n as i}from"./Lbcfa2vI.js";import{o as n}from"./oAhLaZGg.js";import{g as o,Ir as a,Dm as s,uF as r,uf as f}from"./DBkMUdAo.js";async function h(t,e){if(!(!t||!e)){if(t===o){await i("/"),a.dispatch(s(e)),a.dispatch(r("chief"));return}await n(t)&&a.dispatch(f(t,{agentId:e}))}}export{h as n};
@@ -1,4 +1,4 @@
1
- import{g as Ut}from"./D-zxUN6t.js";import{s as Kt}from"./1zzTvnVt.js";import{b as f,C as Tt,a_ as Zt,V as jt,aZ as Wt,U as qt,b0 as Ht,Y as Qt,X as tt,ay as F,z as Xt,r as Jt,$ as $t,am as te,aU as ee,ab as se,aG as ie,aT as re,p as ae,_ as ne,a1 as oe,aP as ce,aW as le,bh as he}from"./DiKVnNpA.js";var Ct=(function(){var s=f(function(G,n,l,d){for(l=l||{},d=G.length;d--;l[G[d]]=n);return l},"o"),a=[6,9,21,23,25,27,34,37,38,39,40,41,43,46,47,51,53,54,55],o=[2,2],c=[1,7],r=[1,9],u=[1,10],y=[1,11],g=[1,12],k=[1,30],C=[1,23],p=[1,24],b=[1,25],A=[1,26],v=[1,27],O=[1,19],N=[1,28],I=[1,29],x=[1,20],D=[1,18],L=[1,21],w=[1,22],Ot=[2,6],h=[6,9,21,23,25,27,33,34,37,38,39,40,41,43,46,47,51,53,54,55],dt=[1,36],pt=[1,37],ft=[1,38],bt=[1,39],gt=[1,40],Z=[6,9,12,14,16,19,20,21,23,25,27,33,34,37,38,39,40,41,43,46,47,50,51,53,54,55,69,70,71,72,73],V=[1,46],M=[1,47],j=[1,57],W=[43,51,53,54,55,74,75],q=[1,70],H=[1,68],B=[1,65],Q=[1,69],X=[1,71],et=[6,9,12,16,21,23,25,27,33,34,37,38,39,40,41,43,44,45,46,47,51,52,53,54,55,69,70,71,72,73],st=[1,78],it=[1,77],rt=[1,76],Nt=[69,70,71,72,73],xt=[1,91],At=[6,9,45,50],z=[6,9,12,44,45,50,51,52],at=[1,101],nt=[1,100],ot=[1,99],J=[18,61],It=[1,110],Rt=[1,109],vt=[20,43,51,53,54,55],yt=[18,61,64,66],_t={trace:f(function(){},"trace"),yy:{},symbols_:{error:2,start:3,ER_DIAGRAM:4,document:5,EOF:6,line:7,statement:8,NEWLINE:9,entityName:10,relSpec:11,COLON:12,role:13,STYLE_SEPARATOR:14,idList:15,BLOCK_START:16,attributes:17,BLOCK_STOP:18,SQS:19,SQE:20,title:21,title_value:22,acc_title:23,acc_title_value:24,acc_descr:25,acc_descr_value:26,acc_descr_multiline_value:27,direction:28,classDefStatement:29,classStatement:30,styleStatement:31,subgraphHeader:32,END:33,SUBGRAPH:34,separator:35,subgraphTitle:36,direction_tb:37,direction_bt:38,direction_rl:39,direction_lr:40,CLASSDEF:41,stylesOpt:42,UNICODE_TEXT:43,STYLE_TEXT:44,COMMA:45,CLASS:46,STYLE:47,style:48,styleComponent:49,SEMI:50,NUM:51,BRKT:52,ENTITY_NAME:53,DECIMAL_NUM:54,ENTITY_ONE:55,attribute:56,attributeType:57,attributeName:58,attributeKeyTypeList:59,attributeComment:60,ATTRIBUTE_WORD:61,"?":62,attributeKeyType:63,",":64,ATTRIBUTE_KEY:65,COMMENT:66,cardinality:67,relType:68,ZERO_OR_ONE:69,ZERO_OR_MORE:70,ONE_OR_MORE:71,ONLY_ONE:72,MD_PARENT:73,NON_IDENTIFYING:74,IDENTIFYING:75,WORD:76,$accept:0,$end:1},terminals_:{2:"error",4:"ER_DIAGRAM",6:"EOF",9:"NEWLINE",12:"COLON",14:"STYLE_SEPARATOR",16:"BLOCK_START",18:"BLOCK_STOP",19:"SQS",20:"SQE",21:"title",22:"title_value",23:"acc_title",24:"acc_title_value",25:"acc_descr",26:"acc_descr_value",27:"acc_descr_multiline_value",33:"END",34:"SUBGRAPH",37:"direction_tb",38:"direction_bt",39:"direction_rl",40:"direction_lr",41:"CLASSDEF",43:"UNICODE_TEXT",44:"STYLE_TEXT",45:"COMMA",46:"CLASS",47:"STYLE",50:"SEMI",51:"NUM",52:"BRKT",53:"ENTITY_NAME",54:"DECIMAL_NUM",55:"ENTITY_ONE",61:"ATTRIBUTE_WORD",62:"?",64:",",65:"ATTRIBUTE_KEY",66:"COMMENT",69:"ZERO_OR_ONE",70:"ZERO_OR_MORE",71:"ONE_OR_MORE",72:"ONLY_ONE",73:"MD_PARENT",74:"NON_IDENTIFYING",75:"IDENTIFYING",76:"WORD"},productions_:[0,[3,3],[5,0],[5,2],[7,1],[7,1],[7,1],[8,5],[8,9],[8,7],[8,7],[8,4],[8,6],[8,3],[8,5],[8,1],[8,3],[8,7],[8,9],[8,6],[8,8],[8,4],[8,6],[8,2],[8,2],[8,2],[8,1],[8,1],[8,1],[8,1],[8,1],[8,3],[32,3],[32,6],[36,1],[36,2],[28,1],[28,1],[28,1],[28,1],[29,4],[15,1],[15,1],[15,3],[15,3],[30,3],[31,4],[42,1],[42,3],[48,1],[48,2],[35,1],[35,1],[35,1],[49,1],[49,1],[49,1],[49,1],[10,1],[10,1],[10,1],[10,1],[10,1],[17,1],[17,2],[56,2],[56,3],[56,3],[56,4],[57,1],[57,2],[58,1],[59,1],[59,3],[63,1],[60,1],[11,3],[67,1],[67,1],[67,1],[67,1],[67,1],[68,1],[68,1],[13,1],[13,1],[13,1]],performAction:f(function(n,l,d,i,_,t,$){var e=t.length-1;switch(_){case 1:break;case 2:this.$=[];break;case 3:this.$=t[e-1].concat(t[e]);break;case 4:this.$=t[e];break;case 5:case 6:this.$=[];break;case 7:i.addEntity(t[e-4]),i.addEntity(t[e-2]),i.addRelationship(t[e-4],t[e],t[e-2],t[e-3]),this.$=[t[e-4],t[e-2]];break;case 8:i.addEntity(t[e-8]),i.addEntity(t[e-4]),i.addRelationship(t[e-8],t[e],t[e-4],t[e-5]),i.setClass([t[e-8]],t[e-6]),i.setClass([t[e-4]],t[e-2]),this.$=[t[e-8],t[e-4]];break;case 9:i.addEntity(t[e-6]),i.addEntity(t[e-2]),i.addRelationship(t[e-6],t[e],t[e-2],t[e-3]),i.setClass([t[e-6]],t[e-4]),this.$=[t[e-6],t[e-2]];break;case 10:i.addEntity(t[e-6]),i.addEntity(t[e-4]),i.addRelationship(t[e-6],t[e],t[e-4],t[e-5]),i.setClass([t[e-4]],t[e-2]),this.$=[t[e-6],t[e-4]];break;case 11:i.addEntity(t[e-3]),i.addAttributes(t[e-3],t[e-1]),this.$=[t[e-3]];break;case 12:i.addEntity(t[e-5]),i.addAttributes(t[e-5],t[e-1]),i.setClass([t[e-5]],t[e-3]),this.$=[t[e-5]];break;case 13:i.addEntity(t[e-2]),this.$=[t[e-2]];break;case 14:i.addEntity(t[e-4]),i.setClass([t[e-4]],t[e-2]),this.$=[t[e-4]];break;case 15:i.addEntity(t[e]),this.$=[t[e]];break;case 16:i.addEntity(t[e-2]),i.setClass([t[e-2]],t[e]),this.$=[t[e-2]];break;case 17:i.addEntity(t[e-6],t[e-4]),i.addAttributes(t[e-6],t[e-1]),this.$=[t[e-6]];break;case 18:i.addEntity(t[e-8],t[e-6]),i.addAttributes(t[e-8],t[e-1]),i.setClass([t[e-8]],t[e-3]),this.$=[t[e-8]];break;case 19:i.addEntity(t[e-5],t[e-3]),this.$=[t[e-5]];break;case 20:i.addEntity(t[e-7],t[e-5]),i.setClass([t[e-7]],t[e-2]),this.$=[t[e-7]];break;case 21:i.addEntity(t[e-3],t[e-1]);break;case 22:i.addEntity(t[e-5],t[e-3]),i.setClass([t[e-5]],t[e]);break;case 23:case 24:this.$=t[e].trim(),i.setAccTitle(this.$);break;case 25:case 26:this.$=t[e].trim(),i.setAccDescription(this.$);break;case 27:i.subgraphDepth?this.$=t[e]:(i.setDirection(t[e].value),this.$=[]);break;case 31:i.subgraphDepth=(i.subgraphDepth||1)-1,this.$=i.addSubGraph({text:t[e-2].id},t[e-1],{text:t[e-2].text});break;case 32:i.subgraphDepth=(i.subgraphDepth||0)+1,this.$={id:t[e-1],text:t[e-1]};break;case 33:i.subgraphDepth=(i.subgraphDepth||0)+1,this.$={id:t[e-4],text:t[e-2]};break;case 34:case 59:case 60:case 61:case 62:case 86:this.$=t[e];break;case 35:this.$=t[e-1]+" "+t[e];break;case 36:this.$={stmt:"dir",value:"TB"};break;case 37:this.$={stmt:"dir",value:"BT"};break;case 38:this.$={stmt:"dir",value:"RL"};break;case 39:this.$={stmt:"dir",value:"LR"};break;case 40:this.$=t[e-3],i.addClass(t[e-2],t[e-1]);break;case 41:case 42:case 63:case 72:this.$=[t[e]];break;case 43:case 44:this.$=t[e-2].concat([t[e]]);break;case 45:this.$=t[e-2],i.setClass(t[e-1],t[e]);break;case 46:this.$=t[e-3],i.addCssStyles(t[e-2],t[e-1]);break;case 47:this.$=[t[e]];break;case 48:t[e-2].push(t[e]),this.$=t[e-2];break;case 50:this.$=t[e-1]+t[e];break;case 58:case 84:case 85:this.$=t[e].replace(/"/g,"");break;case 64:t[e].push(t[e-1]),this.$=t[e];break;case 65:this.$={type:t[e-1],name:t[e]};break;case 66:this.$={type:t[e-2],name:t[e-1],keys:t[e]};break;case 67:this.$={type:t[e-2],name:t[e-1],comment:t[e]};break;case 68:this.$={type:t[e-3],name:t[e-2],keys:t[e-1],comment:t[e]};break;case 69:case 71:case 74:this.$=t[e];break;case 70:this.$=t[e-1]+t[e];break;case 73:t[e-2].push(t[e]),this.$=t[e-2];break;case 75:this.$=t[e].replace(/"/g,"");break;case 76:this.$={cardA:t[e],relType:t[e-1],cardB:t[e-2]};break;case 77:this.$=i.Cardinality.ZERO_OR_ONE;break;case 78:this.$=i.Cardinality.ZERO_OR_MORE;break;case 79:this.$=i.Cardinality.ONE_OR_MORE;break;case 80:this.$=i.Cardinality.ONLY_ONE;break;case 81:this.$=i.Cardinality.MD_PARENT;break;case 82:this.$=i.Identification.NON_IDENTIFYING;break;case 83:this.$=i.Identification.IDENTIFYING;break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},s(a,o,{5:3}),{6:[1,4],7:5,8:6,9:c,10:8,21:r,23:u,25:y,27:g,28:13,29:14,30:15,31:16,32:17,34:k,37:C,38:p,39:b,40:A,41:v,43:O,46:N,47:I,51:x,53:D,54:L,55:w},s(a,Ot,{1:[2,1]}),s(h,[2,3]),s(h,[2,4]),s(h,[2,5]),s(h,[2,15],{11:31,67:35,14:[1,32],16:[1,33],19:[1,34],69:dt,70:pt,71:ft,72:bt,73:gt}),{22:[1,41]},{24:[1,42]},{26:[1,43]},s(h,[2,26]),s(h,[2,27]),s(h,[2,28]),s(h,[2,29]),s(h,[2,30]),s(h,o,{5:44}),s(Z,[2,58]),s(Z,[2,59]),s(Z,[2,60]),s(Z,[2,61]),s(Z,[2,62]),s(h,[2,36]),s(h,[2,37]),s(h,[2,38]),s(h,[2,39]),{15:45,43:V,44:M},{15:48,43:V,44:M},{15:49,43:V,44:M},{10:50,43:O,51:x,53:D,54:L,55:w},{10:51,43:O,51:x,53:D,54:L,55:w},{15:52,43:V,44:M},{17:53,18:[1,54],56:55,57:56,61:j},{10:58,43:O,51:x,53:D,54:L,55:w},{68:59,74:[1,60],75:[1,61]},s(W,[2,77]),s(W,[2,78]),s(W,[2,79]),s(W,[2,80]),s(W,[2,81]),s(h,[2,23]),s(h,[2,24]),s(h,[2,25]),{6:[1,63],7:5,8:6,9:c,10:8,21:r,23:u,25:y,27:g,28:13,29:14,30:15,31:16,32:17,33:[1,62],34:k,37:C,38:p,39:b,40:A,41:v,43:O,46:N,47:I,51:x,53:D,54:L,55:w},{12:q,42:64,44:H,45:B,48:66,49:67,51:Q,52:X},s(et,[2,41]),s(et,[2,42]),{15:72,43:V,44:M,45:B},{12:q,42:73,44:H,45:B,48:66,49:67,51:Q,52:X},{6:st,9:it,19:[1,75],35:74,50:rt},{12:[1,79],14:[1,80]},s(h,[2,16],{67:35,11:81,16:[1,82],45:B,69:dt,70:pt,71:ft,72:bt,73:gt}),{18:[1,83]},s(h,[2,13]),{17:84,18:[2,63],56:55,57:56,61:j},{58:85,61:[1,86]},{61:[2,69],62:[1,87]},{20:[1,88]},{67:89,69:dt,70:pt,71:ft,72:bt,73:gt},s(Nt,[2,82]),s(Nt,[2,83]),s(h,[2,31]),s(h,Ot),{6:st,9:it,35:90,45:xt,50:rt},{43:[1,92],44:[1,93]},s(At,[2,47],{49:94,12:q,44:H,51:Q,52:X}),s(z,[2,49]),s(z,[2,54]),s(z,[2,55]),s(z,[2,56]),s(z,[2,57]),s(h,[2,45],{45:B}),{6:st,9:it,35:95,45:xt,50:rt},s(h,[2,32]),{10:97,36:96,43:O,51:x,53:D,54:L,55:w},s(h,[2,51]),s(h,[2,52]),s(h,[2,53]),{13:98,43:at,53:nt,76:ot},{15:102,43:V,44:M},{10:103,43:O,51:x,53:D,54:L,55:w},{17:104,18:[1,105],56:55,57:56,61:j},s(h,[2,11]),{18:[2,64]},s(J,[2,65],{59:106,60:107,63:108,65:It,66:Rt}),s([18,61,65,66],[2,71]),{61:[2,70]},s(h,[2,21],{14:[1,112],16:[1,111]}),s([43,51,53,54,55],[2,76]),s(h,[2,40]),{12:q,44:H,48:113,49:67,51:Q,52:X},s(et,[2,43]),s(et,[2,44]),s(z,[2,50]),s(h,[2,46]),{10:115,20:[1,114],43:O,51:x,53:D,54:L,55:w},s(vt,[2,34]),s(h,[2,7]),s(h,[2,84]),s(h,[2,85]),s(h,[2,86]),{12:[1,116],45:B},{12:[1,118],14:[1,117]},{18:[1,119]},s(h,[2,14]),s(J,[2,66],{60:120,64:[1,121],66:Rt}),s(J,[2,67]),s(yt,[2,72]),s(J,[2,75]),s(yt,[2,74]),{17:122,18:[1,123],56:55,57:56,61:j},{15:124,43:V,44:M},s(At,[2,48],{49:94,12:q,44:H,51:Q,52:X}),{6:st,9:it,35:125,50:rt},s(vt,[2,35]),{13:126,43:at,53:nt,76:ot},{15:127,43:V,44:M},{13:128,43:at,53:nt,76:ot},s(h,[2,12]),s(J,[2,68]),{63:129,65:It},{18:[1,130]},s(h,[2,19]),s(h,[2,22],{16:[1,131],45:B}),s(h,[2,33]),s(h,[2,10]),{12:[1,132],45:B},s(h,[2,9]),s(yt,[2,73]),s(h,[2,17]),{17:133,18:[1,134],56:55,57:56,61:j},{13:135,43:at,53:nt,76:ot},{18:[1,136]},s(h,[2,20]),s(h,[2,8]),s(h,[2,18])],defaultActions:{84:[2,64],87:[2,70]},parseError:f(function(n,l){if(l.recoverable)this.trace(n);else{var d=new Error(n);throw d.hash=l,d}},"parseError"),parse:f(function(n){var l=this,d=[0],i=[],_=[null],t=[],$=this.table,e="",lt=0,Dt=0,Ft=2,Lt=1,Yt=t.slice.call(arguments,1),m=Object.create(this.lexer),Y={yy:{}};for(var kt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,kt)&&(Y.yy[kt]=this.yy[kt]);m.setInput(n,Y.yy),Y.yy.lexer=m,Y.yy.parser=this,typeof m.yylloc>"u"&&(m.yylloc={});var mt=m.yylloc;t.push(mt);var Pt=m.options&&m.options.ranges;typeof Y.yy.parseError=="function"?this.parseError=Y.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function zt(S){d.length=d.length-2*S,_.length=_.length-S,t.length=t.length-S}f(zt,"popStack");function wt(){var S;return S=i.pop()||m.lex()||Lt,typeof S!="number"&&(S instanceof Array&&(i=S,S=i.pop()),S=l.symbols_[S]||S),S}f(wt,"lex");for(var E,P,T,Et,U={},ht,R,Vt,ut;;){if(P=d[d.length-1],this.defaultActions[P]?T=this.defaultActions[P]:((E===null||typeof E>"u")&&(E=wt()),T=$[P]&&$[P][E]),typeof T>"u"||!T.length||!T[0]){var St="";ut=[];for(ht in $[P])this.terminals_[ht]&&ht>Ft&&ut.push("'"+this.terminals_[ht]+"'");m.showPosition?St="Parse error on line "+(lt+1)+`:
1
+ import{g as Ut}from"./KsUNEVwc.js";import{s as Kt}from"./Bnny-UX2.js";import{b as f,C as Tt,a_ as Zt,V as jt,aZ as Wt,U as qt,b0 as Ht,Y as Qt,X as tt,ay as F,z as Xt,r as Jt,$ as $t,am as te,aU as ee,ab as se,aG as ie,aT as re,p as ae,_ as ne,a1 as oe,aP as ce,aW as le,bh as he}from"./CKAixUGj.js";var Ct=(function(){var s=f(function(G,n,l,d){for(l=l||{},d=G.length;d--;l[G[d]]=n);return l},"o"),a=[6,9,21,23,25,27,34,37,38,39,40,41,43,46,47,51,53,54,55],o=[2,2],c=[1,7],r=[1,9],u=[1,10],y=[1,11],g=[1,12],k=[1,30],C=[1,23],p=[1,24],b=[1,25],A=[1,26],v=[1,27],O=[1,19],N=[1,28],I=[1,29],x=[1,20],D=[1,18],L=[1,21],w=[1,22],Ot=[2,6],h=[6,9,21,23,25,27,33,34,37,38,39,40,41,43,46,47,51,53,54,55],dt=[1,36],pt=[1,37],ft=[1,38],bt=[1,39],gt=[1,40],Z=[6,9,12,14,16,19,20,21,23,25,27,33,34,37,38,39,40,41,43,46,47,50,51,53,54,55,69,70,71,72,73],V=[1,46],M=[1,47],j=[1,57],W=[43,51,53,54,55,74,75],q=[1,70],H=[1,68],B=[1,65],Q=[1,69],X=[1,71],et=[6,9,12,16,21,23,25,27,33,34,37,38,39,40,41,43,44,45,46,47,51,52,53,54,55,69,70,71,72,73],st=[1,78],it=[1,77],rt=[1,76],Nt=[69,70,71,72,73],xt=[1,91],At=[6,9,45,50],z=[6,9,12,44,45,50,51,52],at=[1,101],nt=[1,100],ot=[1,99],J=[18,61],It=[1,110],Rt=[1,109],vt=[20,43,51,53,54,55],yt=[18,61,64,66],_t={trace:f(function(){},"trace"),yy:{},symbols_:{error:2,start:3,ER_DIAGRAM:4,document:5,EOF:6,line:7,statement:8,NEWLINE:9,entityName:10,relSpec:11,COLON:12,role:13,STYLE_SEPARATOR:14,idList:15,BLOCK_START:16,attributes:17,BLOCK_STOP:18,SQS:19,SQE:20,title:21,title_value:22,acc_title:23,acc_title_value:24,acc_descr:25,acc_descr_value:26,acc_descr_multiline_value:27,direction:28,classDefStatement:29,classStatement:30,styleStatement:31,subgraphHeader:32,END:33,SUBGRAPH:34,separator:35,subgraphTitle:36,direction_tb:37,direction_bt:38,direction_rl:39,direction_lr:40,CLASSDEF:41,stylesOpt:42,UNICODE_TEXT:43,STYLE_TEXT:44,COMMA:45,CLASS:46,STYLE:47,style:48,styleComponent:49,SEMI:50,NUM:51,BRKT:52,ENTITY_NAME:53,DECIMAL_NUM:54,ENTITY_ONE:55,attribute:56,attributeType:57,attributeName:58,attributeKeyTypeList:59,attributeComment:60,ATTRIBUTE_WORD:61,"?":62,attributeKeyType:63,",":64,ATTRIBUTE_KEY:65,COMMENT:66,cardinality:67,relType:68,ZERO_OR_ONE:69,ZERO_OR_MORE:70,ONE_OR_MORE:71,ONLY_ONE:72,MD_PARENT:73,NON_IDENTIFYING:74,IDENTIFYING:75,WORD:76,$accept:0,$end:1},terminals_:{2:"error",4:"ER_DIAGRAM",6:"EOF",9:"NEWLINE",12:"COLON",14:"STYLE_SEPARATOR",16:"BLOCK_START",18:"BLOCK_STOP",19:"SQS",20:"SQE",21:"title",22:"title_value",23:"acc_title",24:"acc_title_value",25:"acc_descr",26:"acc_descr_value",27:"acc_descr_multiline_value",33:"END",34:"SUBGRAPH",37:"direction_tb",38:"direction_bt",39:"direction_rl",40:"direction_lr",41:"CLASSDEF",43:"UNICODE_TEXT",44:"STYLE_TEXT",45:"COMMA",46:"CLASS",47:"STYLE",50:"SEMI",51:"NUM",52:"BRKT",53:"ENTITY_NAME",54:"DECIMAL_NUM",55:"ENTITY_ONE",61:"ATTRIBUTE_WORD",62:"?",64:",",65:"ATTRIBUTE_KEY",66:"COMMENT",69:"ZERO_OR_ONE",70:"ZERO_OR_MORE",71:"ONE_OR_MORE",72:"ONLY_ONE",73:"MD_PARENT",74:"NON_IDENTIFYING",75:"IDENTIFYING",76:"WORD"},productions_:[0,[3,3],[5,0],[5,2],[7,1],[7,1],[7,1],[8,5],[8,9],[8,7],[8,7],[8,4],[8,6],[8,3],[8,5],[8,1],[8,3],[8,7],[8,9],[8,6],[8,8],[8,4],[8,6],[8,2],[8,2],[8,2],[8,1],[8,1],[8,1],[8,1],[8,1],[8,3],[32,3],[32,6],[36,1],[36,2],[28,1],[28,1],[28,1],[28,1],[29,4],[15,1],[15,1],[15,3],[15,3],[30,3],[31,4],[42,1],[42,3],[48,1],[48,2],[35,1],[35,1],[35,1],[49,1],[49,1],[49,1],[49,1],[10,1],[10,1],[10,1],[10,1],[10,1],[17,1],[17,2],[56,2],[56,3],[56,3],[56,4],[57,1],[57,2],[58,1],[59,1],[59,3],[63,1],[60,1],[11,3],[67,1],[67,1],[67,1],[67,1],[67,1],[68,1],[68,1],[13,1],[13,1],[13,1]],performAction:f(function(n,l,d,i,_,t,$){var e=t.length-1;switch(_){case 1:break;case 2:this.$=[];break;case 3:this.$=t[e-1].concat(t[e]);break;case 4:this.$=t[e];break;case 5:case 6:this.$=[];break;case 7:i.addEntity(t[e-4]),i.addEntity(t[e-2]),i.addRelationship(t[e-4],t[e],t[e-2],t[e-3]),this.$=[t[e-4],t[e-2]];break;case 8:i.addEntity(t[e-8]),i.addEntity(t[e-4]),i.addRelationship(t[e-8],t[e],t[e-4],t[e-5]),i.setClass([t[e-8]],t[e-6]),i.setClass([t[e-4]],t[e-2]),this.$=[t[e-8],t[e-4]];break;case 9:i.addEntity(t[e-6]),i.addEntity(t[e-2]),i.addRelationship(t[e-6],t[e],t[e-2],t[e-3]),i.setClass([t[e-6]],t[e-4]),this.$=[t[e-6],t[e-2]];break;case 10:i.addEntity(t[e-6]),i.addEntity(t[e-4]),i.addRelationship(t[e-6],t[e],t[e-4],t[e-5]),i.setClass([t[e-4]],t[e-2]),this.$=[t[e-6],t[e-4]];break;case 11:i.addEntity(t[e-3]),i.addAttributes(t[e-3],t[e-1]),this.$=[t[e-3]];break;case 12:i.addEntity(t[e-5]),i.addAttributes(t[e-5],t[e-1]),i.setClass([t[e-5]],t[e-3]),this.$=[t[e-5]];break;case 13:i.addEntity(t[e-2]),this.$=[t[e-2]];break;case 14:i.addEntity(t[e-4]),i.setClass([t[e-4]],t[e-2]),this.$=[t[e-4]];break;case 15:i.addEntity(t[e]),this.$=[t[e]];break;case 16:i.addEntity(t[e-2]),i.setClass([t[e-2]],t[e]),this.$=[t[e-2]];break;case 17:i.addEntity(t[e-6],t[e-4]),i.addAttributes(t[e-6],t[e-1]),this.$=[t[e-6]];break;case 18:i.addEntity(t[e-8],t[e-6]),i.addAttributes(t[e-8],t[e-1]),i.setClass([t[e-8]],t[e-3]),this.$=[t[e-8]];break;case 19:i.addEntity(t[e-5],t[e-3]),this.$=[t[e-5]];break;case 20:i.addEntity(t[e-7],t[e-5]),i.setClass([t[e-7]],t[e-2]),this.$=[t[e-7]];break;case 21:i.addEntity(t[e-3],t[e-1]);break;case 22:i.addEntity(t[e-5],t[e-3]),i.setClass([t[e-5]],t[e]);break;case 23:case 24:this.$=t[e].trim(),i.setAccTitle(this.$);break;case 25:case 26:this.$=t[e].trim(),i.setAccDescription(this.$);break;case 27:i.subgraphDepth?this.$=t[e]:(i.setDirection(t[e].value),this.$=[]);break;case 31:i.subgraphDepth=(i.subgraphDepth||1)-1,this.$=i.addSubGraph({text:t[e-2].id},t[e-1],{text:t[e-2].text});break;case 32:i.subgraphDepth=(i.subgraphDepth||0)+1,this.$={id:t[e-1],text:t[e-1]};break;case 33:i.subgraphDepth=(i.subgraphDepth||0)+1,this.$={id:t[e-4],text:t[e-2]};break;case 34:case 59:case 60:case 61:case 62:case 86:this.$=t[e];break;case 35:this.$=t[e-1]+" "+t[e];break;case 36:this.$={stmt:"dir",value:"TB"};break;case 37:this.$={stmt:"dir",value:"BT"};break;case 38:this.$={stmt:"dir",value:"RL"};break;case 39:this.$={stmt:"dir",value:"LR"};break;case 40:this.$=t[e-3],i.addClass(t[e-2],t[e-1]);break;case 41:case 42:case 63:case 72:this.$=[t[e]];break;case 43:case 44:this.$=t[e-2].concat([t[e]]);break;case 45:this.$=t[e-2],i.setClass(t[e-1],t[e]);break;case 46:this.$=t[e-3],i.addCssStyles(t[e-2],t[e-1]);break;case 47:this.$=[t[e]];break;case 48:t[e-2].push(t[e]),this.$=t[e-2];break;case 50:this.$=t[e-1]+t[e];break;case 58:case 84:case 85:this.$=t[e].replace(/"/g,"");break;case 64:t[e].push(t[e-1]),this.$=t[e];break;case 65:this.$={type:t[e-1],name:t[e]};break;case 66:this.$={type:t[e-2],name:t[e-1],keys:t[e]};break;case 67:this.$={type:t[e-2],name:t[e-1],comment:t[e]};break;case 68:this.$={type:t[e-3],name:t[e-2],keys:t[e-1],comment:t[e]};break;case 69:case 71:case 74:this.$=t[e];break;case 70:this.$=t[e-1]+t[e];break;case 73:t[e-2].push(t[e]),this.$=t[e-2];break;case 75:this.$=t[e].replace(/"/g,"");break;case 76:this.$={cardA:t[e],relType:t[e-1],cardB:t[e-2]};break;case 77:this.$=i.Cardinality.ZERO_OR_ONE;break;case 78:this.$=i.Cardinality.ZERO_OR_MORE;break;case 79:this.$=i.Cardinality.ONE_OR_MORE;break;case 80:this.$=i.Cardinality.ONLY_ONE;break;case 81:this.$=i.Cardinality.MD_PARENT;break;case 82:this.$=i.Identification.NON_IDENTIFYING;break;case 83:this.$=i.Identification.IDENTIFYING;break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},s(a,o,{5:3}),{6:[1,4],7:5,8:6,9:c,10:8,21:r,23:u,25:y,27:g,28:13,29:14,30:15,31:16,32:17,34:k,37:C,38:p,39:b,40:A,41:v,43:O,46:N,47:I,51:x,53:D,54:L,55:w},s(a,Ot,{1:[2,1]}),s(h,[2,3]),s(h,[2,4]),s(h,[2,5]),s(h,[2,15],{11:31,67:35,14:[1,32],16:[1,33],19:[1,34],69:dt,70:pt,71:ft,72:bt,73:gt}),{22:[1,41]},{24:[1,42]},{26:[1,43]},s(h,[2,26]),s(h,[2,27]),s(h,[2,28]),s(h,[2,29]),s(h,[2,30]),s(h,o,{5:44}),s(Z,[2,58]),s(Z,[2,59]),s(Z,[2,60]),s(Z,[2,61]),s(Z,[2,62]),s(h,[2,36]),s(h,[2,37]),s(h,[2,38]),s(h,[2,39]),{15:45,43:V,44:M},{15:48,43:V,44:M},{15:49,43:V,44:M},{10:50,43:O,51:x,53:D,54:L,55:w},{10:51,43:O,51:x,53:D,54:L,55:w},{15:52,43:V,44:M},{17:53,18:[1,54],56:55,57:56,61:j},{10:58,43:O,51:x,53:D,54:L,55:w},{68:59,74:[1,60],75:[1,61]},s(W,[2,77]),s(W,[2,78]),s(W,[2,79]),s(W,[2,80]),s(W,[2,81]),s(h,[2,23]),s(h,[2,24]),s(h,[2,25]),{6:[1,63],7:5,8:6,9:c,10:8,21:r,23:u,25:y,27:g,28:13,29:14,30:15,31:16,32:17,33:[1,62],34:k,37:C,38:p,39:b,40:A,41:v,43:O,46:N,47:I,51:x,53:D,54:L,55:w},{12:q,42:64,44:H,45:B,48:66,49:67,51:Q,52:X},s(et,[2,41]),s(et,[2,42]),{15:72,43:V,44:M,45:B},{12:q,42:73,44:H,45:B,48:66,49:67,51:Q,52:X},{6:st,9:it,19:[1,75],35:74,50:rt},{12:[1,79],14:[1,80]},s(h,[2,16],{67:35,11:81,16:[1,82],45:B,69:dt,70:pt,71:ft,72:bt,73:gt}),{18:[1,83]},s(h,[2,13]),{17:84,18:[2,63],56:55,57:56,61:j},{58:85,61:[1,86]},{61:[2,69],62:[1,87]},{20:[1,88]},{67:89,69:dt,70:pt,71:ft,72:bt,73:gt},s(Nt,[2,82]),s(Nt,[2,83]),s(h,[2,31]),s(h,Ot),{6:st,9:it,35:90,45:xt,50:rt},{43:[1,92],44:[1,93]},s(At,[2,47],{49:94,12:q,44:H,51:Q,52:X}),s(z,[2,49]),s(z,[2,54]),s(z,[2,55]),s(z,[2,56]),s(z,[2,57]),s(h,[2,45],{45:B}),{6:st,9:it,35:95,45:xt,50:rt},s(h,[2,32]),{10:97,36:96,43:O,51:x,53:D,54:L,55:w},s(h,[2,51]),s(h,[2,52]),s(h,[2,53]),{13:98,43:at,53:nt,76:ot},{15:102,43:V,44:M},{10:103,43:O,51:x,53:D,54:L,55:w},{17:104,18:[1,105],56:55,57:56,61:j},s(h,[2,11]),{18:[2,64]},s(J,[2,65],{59:106,60:107,63:108,65:It,66:Rt}),s([18,61,65,66],[2,71]),{61:[2,70]},s(h,[2,21],{14:[1,112],16:[1,111]}),s([43,51,53,54,55],[2,76]),s(h,[2,40]),{12:q,44:H,48:113,49:67,51:Q,52:X},s(et,[2,43]),s(et,[2,44]),s(z,[2,50]),s(h,[2,46]),{10:115,20:[1,114],43:O,51:x,53:D,54:L,55:w},s(vt,[2,34]),s(h,[2,7]),s(h,[2,84]),s(h,[2,85]),s(h,[2,86]),{12:[1,116],45:B},{12:[1,118],14:[1,117]},{18:[1,119]},s(h,[2,14]),s(J,[2,66],{60:120,64:[1,121],66:Rt}),s(J,[2,67]),s(yt,[2,72]),s(J,[2,75]),s(yt,[2,74]),{17:122,18:[1,123],56:55,57:56,61:j},{15:124,43:V,44:M},s(At,[2,48],{49:94,12:q,44:H,51:Q,52:X}),{6:st,9:it,35:125,50:rt},s(vt,[2,35]),{13:126,43:at,53:nt,76:ot},{15:127,43:V,44:M},{13:128,43:at,53:nt,76:ot},s(h,[2,12]),s(J,[2,68]),{63:129,65:It},{18:[1,130]},s(h,[2,19]),s(h,[2,22],{16:[1,131],45:B}),s(h,[2,33]),s(h,[2,10]),{12:[1,132],45:B},s(h,[2,9]),s(yt,[2,73]),s(h,[2,17]),{17:133,18:[1,134],56:55,57:56,61:j},{13:135,43:at,53:nt,76:ot},{18:[1,136]},s(h,[2,20]),s(h,[2,8]),s(h,[2,18])],defaultActions:{84:[2,64],87:[2,70]},parseError:f(function(n,l){if(l.recoverable)this.trace(n);else{var d=new Error(n);throw d.hash=l,d}},"parseError"),parse:f(function(n){var l=this,d=[0],i=[],_=[null],t=[],$=this.table,e="",lt=0,Dt=0,Ft=2,Lt=1,Yt=t.slice.call(arguments,1),m=Object.create(this.lexer),Y={yy:{}};for(var kt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,kt)&&(Y.yy[kt]=this.yy[kt]);m.setInput(n,Y.yy),Y.yy.lexer=m,Y.yy.parser=this,typeof m.yylloc>"u"&&(m.yylloc={});var mt=m.yylloc;t.push(mt);var Pt=m.options&&m.options.ranges;typeof Y.yy.parseError=="function"?this.parseError=Y.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function zt(S){d.length=d.length-2*S,_.length=_.length-S,t.length=t.length-S}f(zt,"popStack");function wt(){var S;return S=i.pop()||m.lex()||Lt,typeof S!="number"&&(S instanceof Array&&(i=S,S=i.pop()),S=l.symbols_[S]||S),S}f(wt,"lex");for(var E,P,T,Et,U={},ht,R,Vt,ut;;){if(P=d[d.length-1],this.defaultActions[P]?T=this.defaultActions[P]:((E===null||typeof E>"u")&&(E=wt()),T=$[P]&&$[P][E]),typeof T>"u"||!T.length||!T[0]){var St="";ut=[];for(ht in $[P])this.terminals_[ht]&&ht>Ft&&ut.push("'"+this.terminals_[ht]+"'");m.showPosition?St="Parse error on line "+(lt+1)+`:
2
2
  `+m.showPosition()+`
3
3
  Expecting `+ut.join(", ")+", got '"+(this.terminals_[E]||E)+"'":St="Parse error on line "+(lt+1)+": Unexpected "+(E==Lt?"end of input":"'"+(this.terminals_[E]||E)+"'"),this.parseError(St,{text:m.match,token:this.terminals_[E]||E,line:m.yylineno,loc:mt,expected:ut})}if(T[0]instanceof Array&&T.length>1)throw new Error("Parse Error: multiple actions possible at state: "+P+", token: "+E);switch(T[0]){case 1:d.push(E),_.push(m.yytext),t.push(m.yylloc),d.push(T[1]),E=null,Dt=m.yyleng,e=m.yytext,lt=m.yylineno,mt=m.yylloc;break;case 2:if(R=this.productions_[T[1]][1],U.$=_[_.length-R],U._$={first_line:t[t.length-(R||1)].first_line,last_line:t[t.length-1].last_line,first_column:t[t.length-(R||1)].first_column,last_column:t[t.length-1].last_column},Pt&&(U._$.range=[t[t.length-(R||1)].range[0],t[t.length-1].range[1]]),Et=this.performAction.apply(U,[e,Dt,lt,Y.yy,T[1],_,t].concat(Yt)),typeof Et<"u")return Et;R&&(d=d.slice(0,-1*R*2),_=_.slice(0,-1*R),t=t.slice(0,-1*R)),d.push(this.productions_[T[1]][0]),_.push(U.$),t.push(U._$),Vt=$[d[d.length-2]][d[d.length-1]],d.push(Vt);break;case 3:return!0}}return!0},"parse")},Gt=(function(){var G={EOF:1,parseError:f(function(l,d){if(this.yy.parser)this.yy.parser.parseError(l,d);else throw new Error(l)},"parseError"),setInput:f(function(n,l){return this.yy=l||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},"setInput"),input:f(function(){var n=this._input[0];this.yytext+=n,this.yyleng++,this.offset++,this.match+=n,this.matched+=n;var l=n.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),n},"input"),unput:f(function(n){var l=n.length,d=n.split(/(?:\r\n?|\n)/g);this._input=n+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-l),this.offset-=l;var i=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),d.length-1&&(this.yylineno-=d.length-1);var _=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:d?(d.length===i.length?this.yylloc.first_column:0)+i[i.length-d.length].length-d[0].length:this.yylloc.first_column-l},this.options.ranges&&(this.yylloc.range=[_[0],_[0]+this.yyleng-l]),this.yyleng=this.yytext.length,this},"unput"),more:f(function(){return this._more=!0,this},"more"),reject:f(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
4
4
  `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:f(function(n){this.unput(this.match.slice(n))},"less"),pastInput:f(function(){var n=this.matched.substr(0,this.matched.length-this.match.length);return(n.length>20?"...":"")+n.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:f(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,"")},"upcomingInput"),showPosition:f(function(){var n=this.pastInput(),l=new Array(n.length+1).join("-");return n+this.upcomingInput()+`
@@ -1 +1 @@
1
- import{t as ht,br as E,bz as $t,bt as It,b as bt,bv as d}from"./Cv-W__h8.js";import{bs as yt,ca as k,aD as t,c9 as s,a7 as Ct,ay as Rt,W as kt,bn as wt,bH as H,bV as N,aA as _}from"./DYhIMPy1.js";import{G as At}from"./GdlMbZRO.js";import{b as Dt}from"./BaIAhI85.js";import{Ir as a,eu as Pt,ev as St,nV as Et,z9 as _t,nZ as Ut,n_ as Ft,IY as Tt,Jd as xt,J1 as Wt,u_ as vt,uf as Lt}from"./DBkMUdAo.js";import{b7 as Ht}from"./QkOzjVQc.js";import{g as Nt}from"./DfN8_dcw.js";import{dr as Ot,bN as qt,bC as Bt,bG as Gt,bE as Mt}from"./B10dK85Q.js";import{ae as Kt}from"./BcZAt1_H.js";import{C as Vt}from"./yzCQdK92.js";import{V as Jt}from"./CQsysHl4.js";import{bR as jt,bL as zt,b6 as Yt}from"./Dcwc2djA.js";import{i as Zt}from"./H2jLkRRS.js";function Qt(U,f){if(new.target)return ht({component:Qt,...U});yt(f,!0);const O=()=>d(X,"$gitRoots$",n),F=()=>d(Q,"$workspace",n),q=()=>d(st,"$ftCommits$",n),B=()=>d(ot,"$ftOlderCommits$",n),y=()=>d(tt,"$commitRead$",n),G=()=>d(Y,"$foldUnchanged",n),M=()=>d(z,"$lineWrapping",n),K=()=>d(Z,"$diffSideBySide",n),V=()=>d(at,"$ftLoading$",n),[n,J]=It(),j=e=>{Jt(e,{embedded:!0,showExpand:!0,get expanded(){return t(C)},onToggleExpand:()=>{H(C,!t(C)),t(C)?t(R)?.expandAll():t(R)?.collapseAll()},get foldEnabled(){return G()},onToggleFold:()=>a.dispatch(Wt()),get wrapEnabled(){return M()},onToggleWrap:()=>a.dispatch(xt()),get splitEnabled(){return K()},onToggleSplit:()=>a.dispatch(Tt())})},z=jt(),Y=zt(),Z=Yt();let h=E(f,"tab",7),i=E(f,"workspaceId",7),$=E(f,"isActive",7);const T=Nt(),g=Ht(()=>i()),Q=Ot(g),X=Kt(g),w=crypto.randomUUID(),tt=qt(g,w),c=s(()=>h().data?.commitHash||""),x=s(()=>h().data?.commitMessage||"");k(()=>{const e=i();if(!(!$()||!e||t(r)))return a.dispatch(Pt(e,"history")),()=>a.dispatch(St(e,"history"))});const r=s(()=>h().data?.gitRootId||""),W=s(()=>t(r)&&O().find(e=>e.id===t(r))?.path||""),et=s(()=>t(W)||F()?.worktreePath||F()?.repositoryPath||""),st=Bt(g),ot=Gt(g),at=Mt(g),nt=s(()=>q()||[]),it=s(()=>B()||[]),p=s(()=>t(r)?void 0:t(nt).find(e=>e.hash===t(c))||t(it).find(e=>e.hash===t(c))),A=s(()=>t(p)?.files||[]),D=s(()=>y()?.request.kind==="commitDetails"&&y().request.commitHash===t(c)&&(y().request.gitRootId??"")===t(r)?y():void 0),l=s(()=>t(D)?.result?.kind==="commitDetails"?t(D).result.details:null),rt=s(()=>t(l)?t(l).fileDetails.length>0?t(l).fileDetails:t(l).files.map(e=>({path:e,additions:0,deletions:0})):[]),dt=s(()=>t(D)?.loading??!1);k(()=>{const e=t(c),o=i(),I=t(r);if(!e||!o||t(A).length>0)return;const u=crypto.randomUUID();return a.dispatch(Et(o,w,u,{kind:"commitDetails",commitHash:e,gitRootId:I||void 0})),()=>a.dispatch(_t(o,w,u))});const ct=s(()=>t(A).length>0?t(A):t(rt));let C=N(!0),R=N(null);const lt=s(()=>t(ct).map(e=>{const o=typeof e=="string"?e:e.path||"",I=typeof e=="string"?0:e.additions||0,u=typeof e=="string"?0:e.deletions||0;return{filePath:Zt(o)?o:`${t(et)}/${o}`,action:"modify",additions:I,deletions:u,toolName:"local",toolCallId:`commit-${t(c)}-${o}`,staged:!1,category:"committed",commitHash:t(c),commitMessage:t(x)}}));k(()=>{!T||!$()||T.registerActions({display:j})});const v=crypto.randomUUID();k(()=>{const e=i();if(!(!($()&&t(r))||!e))return a.dispatch(Ut(e,v)),()=>a.dispatch(Ft(e,v))});var mt={get tab(){return h()},set tab(e){h(e),_()},get workspaceId(){return i()},set workspaceId(e){i(e),_()},get isActive(){return $()},set isActive(e){$(e),_()},$set:$t,$on:(e,o)=>bt(f,e,o)},L=Ct(),gt=Rt(L);At(gt,()=>JSON.stringify([i(),t(r),t(c)]),e=>{{let o=s(()=>V()||t(dt)),I=s(()=>t(r)||void 0),u=s(()=>t(W)||void 0),ut=s(()=>({hash:t(c),message:t(x),author:t(p)?.author||t(l)?.author,authorEmail:t(p)?.authorEmail||t(l)?.authorEmail,date:t(p)?.date||t(l)?.date,agentId:t(p)?.agentId,linkedNoteId:t(p)?.linkedNoteId}));Dt(Vt(e,{get isLoading(){return t(o)},get changes(){return t(lt)},get gitRootId(){return t(I)},get gitRootPath(){return t(u)},get commitInfo(){return t(ut)},onOpenAgent:(b,m)=>{const P=m?.metaKey||m?.ctrlKey||!1,S=m?.target?.closest("[data-panel-id]")?.getAttribute("data-panel-id")??void 0;a.dispatch(Lt(i(),{agentId:b,openInAdjacentPanel:P,sourcePanelId:S}))},onOpenNote:(b,m)=>{const P=m?.metaKey||m?.ctrlKey||!1,S=m?.target?.closest("[data-panel-id]")?.getAttribute("data-panel-id")??void 0;a.dispatch(vt(i(),b,{openInAdjacentPanel:P,sourcePanelId:S}))}}),b=>H(R,b,!0),()=>t(R))}}),kt(U,L);var pt=wt(mt);return J(),pt}export{Qt as default};
1
+ import{t as ht,br as E,bz as $t,bt as It,b as bt,bv as d}from"./Cv-W__h8.js";import{bs as yt,ca as k,aD as t,c9 as s,a7 as Ct,ay as Rt,W as kt,bn as wt,bH as H,bV as N,aA as _}from"./DYhIMPy1.js";import{G as At}from"./GdlMbZRO.js";import{b as Dt}from"./BaIAhI85.js";import{Ir as a,eu as Pt,ev as St,nV as Et,z9 as _t,nZ as Ut,n_ as Ft,IY as Tt,Jd as xt,J1 as Wt,u_ as vt,uf as Lt}from"./DBkMUdAo.js";import{b7 as Ht}from"./DKPjRtn_.js";import{g as Nt}from"./DfN8_dcw.js";import{dr as Ot,bN as qt,bC as Bt,bG as Gt,bE as Mt}from"./B10dK85Q.js";import{ae as Kt}from"./BKTUcy0r.js";import{C as Vt}from"./D8dKPp7k.js";import{V as Jt}from"./CQsysHl4.js";import{bR as jt,bL as zt,b6 as Yt}from"./1tkamMao.js";import{i as Zt}from"./H2jLkRRS.js";function Qt(U,f){if(new.target)return ht({component:Qt,...U});yt(f,!0);const O=()=>d(X,"$gitRoots$",n),F=()=>d(Q,"$workspace",n),q=()=>d(st,"$ftCommits$",n),B=()=>d(ot,"$ftOlderCommits$",n),y=()=>d(tt,"$commitRead$",n),G=()=>d(Y,"$foldUnchanged",n),M=()=>d(z,"$lineWrapping",n),K=()=>d(Z,"$diffSideBySide",n),V=()=>d(at,"$ftLoading$",n),[n,J]=It(),j=e=>{Jt(e,{embedded:!0,showExpand:!0,get expanded(){return t(C)},onToggleExpand:()=>{H(C,!t(C)),t(C)?t(R)?.expandAll():t(R)?.collapseAll()},get foldEnabled(){return G()},onToggleFold:()=>a.dispatch(Wt()),get wrapEnabled(){return M()},onToggleWrap:()=>a.dispatch(xt()),get splitEnabled(){return K()},onToggleSplit:()=>a.dispatch(Tt())})},z=jt(),Y=zt(),Z=Yt();let h=E(f,"tab",7),i=E(f,"workspaceId",7),$=E(f,"isActive",7);const T=Nt(),g=Ht(()=>i()),Q=Ot(g),X=Kt(g),w=crypto.randomUUID(),tt=qt(g,w),c=s(()=>h().data?.commitHash||""),x=s(()=>h().data?.commitMessage||"");k(()=>{const e=i();if(!(!$()||!e||t(r)))return a.dispatch(Pt(e,"history")),()=>a.dispatch(St(e,"history"))});const r=s(()=>h().data?.gitRootId||""),W=s(()=>t(r)&&O().find(e=>e.id===t(r))?.path||""),et=s(()=>t(W)||F()?.worktreePath||F()?.repositoryPath||""),st=Bt(g),ot=Gt(g),at=Mt(g),nt=s(()=>q()||[]),it=s(()=>B()||[]),p=s(()=>t(r)?void 0:t(nt).find(e=>e.hash===t(c))||t(it).find(e=>e.hash===t(c))),A=s(()=>t(p)?.files||[]),D=s(()=>y()?.request.kind==="commitDetails"&&y().request.commitHash===t(c)&&(y().request.gitRootId??"")===t(r)?y():void 0),l=s(()=>t(D)?.result?.kind==="commitDetails"?t(D).result.details:null),rt=s(()=>t(l)?t(l).fileDetails.length>0?t(l).fileDetails:t(l).files.map(e=>({path:e,additions:0,deletions:0})):[]),dt=s(()=>t(D)?.loading??!1);k(()=>{const e=t(c),o=i(),I=t(r);if(!e||!o||t(A).length>0)return;const u=crypto.randomUUID();return a.dispatch(Et(o,w,u,{kind:"commitDetails",commitHash:e,gitRootId:I||void 0})),()=>a.dispatch(_t(o,w,u))});const ct=s(()=>t(A).length>0?t(A):t(rt));let C=N(!0),R=N(null);const lt=s(()=>t(ct).map(e=>{const o=typeof e=="string"?e:e.path||"",I=typeof e=="string"?0:e.additions||0,u=typeof e=="string"?0:e.deletions||0;return{filePath:Zt(o)?o:`${t(et)}/${o}`,action:"modify",additions:I,deletions:u,toolName:"local",toolCallId:`commit-${t(c)}-${o}`,staged:!1,category:"committed",commitHash:t(c),commitMessage:t(x)}}));k(()=>{!T||!$()||T.registerActions({display:j})});const v=crypto.randomUUID();k(()=>{const e=i();if(!(!($()&&t(r))||!e))return a.dispatch(Ut(e,v)),()=>a.dispatch(Ft(e,v))});var mt={get tab(){return h()},set tab(e){h(e),_()},get workspaceId(){return i()},set workspaceId(e){i(e),_()},get isActive(){return $()},set isActive(e){$(e),_()},$set:$t,$on:(e,o)=>bt(f,e,o)},L=Ct(),gt=Rt(L);At(gt,()=>JSON.stringify([i(),t(r),t(c)]),e=>{{let o=s(()=>V()||t(dt)),I=s(()=>t(r)||void 0),u=s(()=>t(W)||void 0),ut=s(()=>({hash:t(c),message:t(x),author:t(p)?.author||t(l)?.author,authorEmail:t(p)?.authorEmail||t(l)?.authorEmail,date:t(p)?.date||t(l)?.date,agentId:t(p)?.agentId,linkedNoteId:t(p)?.linkedNoteId}));Dt(Vt(e,{get isLoading(){return t(o)},get changes(){return t(lt)},get gitRootId(){return t(I)},get gitRootPath(){return t(u)},get commitInfo(){return t(ut)},onOpenAgent:(b,m)=>{const P=m?.metaKey||m?.ctrlKey||!1,S=m?.target?.closest("[data-panel-id]")?.getAttribute("data-panel-id")??void 0;a.dispatch(Lt(i(),{agentId:b,openInAdjacentPanel:P,sourcePanelId:S}))},onOpenNote:(b,m)=>{const P=m?.metaKey||m?.ctrlKey||!1,S=m?.target?.closest("[data-panel-id]")?.getAttribute("data-panel-id")??void 0;a.dispatch(vt(i(),b,{openInAdjacentPanel:P,sourcePanelId:S}))}}),b=>H(R,b,!0),()=>t(R))}}),kt(U,L);var pt=wt(mt);return J(),pt}export{Qt as default};
@@ -1 +1 @@
1
- import{g as p,r as u,d as n}from"./CzcNn8BK.js";import{p as f}from"./COrX_n08.js";import{b as a,ay as o}from"./DiKVnNpA.js";import{M as c,c as d}from"./BbcRDMCy.js";var v=d().RailroadAbnf.parser.LangiumParser,i=a(e=>{const r=e.alternatives.map(g);return r.length===1?r[0]:{type:"choice",alternatives:r}},"transformAlternation"),g=a(e=>{const r=e.elements.map(y);return r.length===1?r[0]:{type:"sequence",elements:r}},"transformConcatenation"),b=a(e=>{if(e.includes("*")){const[t,s]=e.split("*"),l=t?parseInt(t,10):0,m=s?parseInt(s,10):1/0;return{min:l,max:m}}const r=parseInt(e,10);return{min:r,max:r}},"parseRepeat"),y=a(e=>{const r=A(e.primary);if(!e.repeat)return r;const{min:t,max:s}=b(e.repeat);return t===0&&s===1?{type:"optional",element:r}:{type:"repetition",element:r,min:t,max:s}},"transformElement"),A=a(e=>{switch(e.$type){case"AbnfStringLiteral":return{type:"terminal",value:e.value};case"AbnfNumVal":return{type:"terminal",value:e.value};case"AbnfRuleName":return{type:"nonterminal",name:e.name};case"AbnfGroup":return i(e.element);case"AbnfOptionalGroup":return{type:"optional",element:i(e.element)};default:throw new Error(`Unsupported ABNF primary node: ${e.$type}`)}},"transformPrimary"),P=a(e=>({name:e.name,definition:i(e.definition)}),"transformRule"),h=a(e=>{f(e,n),e.title&&n.setTitle(e.title),e.rules.map(r=>n.addRule(P(r)))},"populateDb"),R={parse:a(e=>{n.clear(),o.debug("[ABNF Parser] Starting Langium parse");const r=v.parse(e);if(r.lexerErrors.length>0||r.parserErrors.length>0)throw new c(r);const t=r.value;o.debug("[ABNF Parser] Parsed rules:",t.rules.length),h(t),o.debug("[ABNF Parser] Parse complete")},"parse"),parser:{yy:n}},w={parser:R,db:n,renderer:u,styles:p};export{w as diagram};
1
+ import{g as p,r as u,d as n}from"./DAvg18a7.js";import{p as f}from"./BmOVoAuP.js";import{b as a,ay as o}from"./CKAixUGj.js";import{M as c,c as d}from"./BbcRDMCy.js";var v=d().RailroadAbnf.parser.LangiumParser,i=a(e=>{const r=e.alternatives.map(g);return r.length===1?r[0]:{type:"choice",alternatives:r}},"transformAlternation"),g=a(e=>{const r=e.elements.map(y);return r.length===1?r[0]:{type:"sequence",elements:r}},"transformConcatenation"),b=a(e=>{if(e.includes("*")){const[t,s]=e.split("*"),l=t?parseInt(t,10):0,m=s?parseInt(s,10):1/0;return{min:l,max:m}}const r=parseInt(e,10);return{min:r,max:r}},"parseRepeat"),y=a(e=>{const r=A(e.primary);if(!e.repeat)return r;const{min:t,max:s}=b(e.repeat);return t===0&&s===1?{type:"optional",element:r}:{type:"repetition",element:r,min:t,max:s}},"transformElement"),A=a(e=>{switch(e.$type){case"AbnfStringLiteral":return{type:"terminal",value:e.value};case"AbnfNumVal":return{type:"terminal",value:e.value};case"AbnfRuleName":return{type:"nonterminal",name:e.name};case"AbnfGroup":return i(e.element);case"AbnfOptionalGroup":return{type:"optional",element:i(e.element)};default:throw new Error(`Unsupported ABNF primary node: ${e.$type}`)}},"transformPrimary"),P=a(e=>({name:e.name,definition:i(e.definition)}),"transformRule"),h=a(e=>{f(e,n),e.title&&n.setTitle(e.title),e.rules.map(r=>n.addRule(P(r)))},"populateDb"),R={parse:a(e=>{n.clear(),o.debug("[ABNF Parser] Starting Langium parse");const r=v.parse(e);if(r.lexerErrors.length>0||r.parserErrors.length>0)throw new c(r);const t=r.value;o.debug("[ABNF Parser] Parsed rules:",t.rules.length),h(t),o.debug("[ABNF Parser] Parse complete")},"parse"),parser:{yy:n}},w={parser:R,db:n,renderer:u,styles:p};export{w as diagram};
@@ -1 +1 @@
1
- import{t as a3,br as p,a_ as I,bz as t3,b as s3}from"./Cv-W__h8.js";import{bs as r3,a5 as l3,aD as t,bA as L,b_ as v,W as f,bn as o3,c9 as o,bV as S,aA as u,ay as n3,bS as i3,aw as N,bz as c3,bl as Z,bO as A,aB as m,bH as B}from"./DYhIMPy1.js";import{z as v3}from"./Ns2qHkqi.js";import{v as _,w as x,u as F}from"./DPvDLGgX.js";import{F as f3,aP as m3,aH as g3,aY as p3,cq as u3,al as d3}from"./BKpkoMuv.js";var h3=m("<div></div>"),b3=m('<span class="type-caption absolute text-subtle font-medium"> </span>'),w3=m("<img/> <!>",1),C3=m('<span class="type-caption text-subtle font-medium"> </span>'),_3=m("<div><!></div>");function x3(y,n){if(new.target)return a3({component:x3,...y});r3(n,!0);let r=p(n,"iconName",7),i=p(n,"label",7),l=p(n,"size",7,20),d=p(n,"class",7,"");const j={redis:"redis",mongodb:"mongodb",circleci:"circleci",vercel:"vercel",railway:"railway",convex:"convex",snowflake:"snowflake",sentry:"sentry",figma:"figma",github:"github",linear:"linear"},D={figma:"https://upload.wikimedia.org/wikipedia/commons/thumb/3/33/Figma-logo.svg/960px-Figma-logo.svg.png",playwright:"https://ray.run/playwright-brand-assets/playwright-logo.svg"},E={context7:'<svg width="28" height="28" viewBox="0 0 28 28" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M24 0C26.2091 0 28 1.79086 28 4V24C28 26.2091 26.2091 28 24 28H4C1.79086 28 0 26.2091 0 24V4C0 1.79086 1.79086 0 4 0H24ZM8.58008 15.2559C8.58008 17.8621 7.95482 19.3557 6.33398 21.1885V22.7783H11.6309V21.1045H8.17773C9.66098 19.3776 10.5723 17.5019 10.5723 15.2559H8.58008ZM17.4268 15.2559C17.4268 17.5019 18.338 19.3776 19.8213 21.1045H16.3672V22.7783H21.6641V21.1885C20.0433 19.3558 19.4189 17.862 19.4189 15.2559H17.4268ZM6.33398 6.80957C7.95495 8.64244 8.58008 10.137 8.58008 12.7432H10.5713C10.5713 10.4972 9.66094 8.62143 8.17773 6.89453H11.6309V5.2207H6.33398V6.80957ZM16.3672 5.2207V6.89453H19.8213C18.338 8.62145 17.4268 10.4972 17.4268 12.7432H19.4189C19.4189 10.137 20.0432 8.64242 21.6641 6.80957V5.2207H16.3672Z" fill="black"/></svg>',slack:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 128 128"><path d="M27.255 80.719c0 7.33-5.978 13.317-13.309 13.317C6.616 94.036.63 88.049.63 80.719s5.987-13.317 13.317-13.317h13.309zm6.709 0c0-7.33 5.987-13.317 13.317-13.317s13.317 5.986 13.317 13.317v33.335c0 7.33-5.986 13.317-13.317 13.317-7.33 0-13.317-5.987-13.317-13.317zm0 0" fill="#de1c59"/><path d="M47.281 27.255c-7.33 0-13.317-5.978-13.317-13.309C33.964 6.616 39.951.63 47.281.63s13.317 5.987 13.317 13.317v13.309zm0 6.709c7.33 0 13.317 5.987 13.317 13.317s-5.986 13.317-13.317 13.317H13.946C6.616 60.598.63 54.612.63 47.281c0-7.33 5.987-13.317 13.317-13.317zm0 0" fill="#35c5f0"/><path d="M100.745 47.281c0-7.33 5.978-13.317 13.309-13.317 7.33 0 13.317 5.987 13.317 13.317s-5.987 13.317-13.317 13.317h-13.309zm-6.709 0c0 7.33-5.987 13.317-13.317 13.317s-13.317-5.986-13.317-13.317V13.946C67.402 6.616 73.388.63 80.719.63c7.33 0 13.317 5.987 13.317 13.317zm0 0" fill="#2eb57d"/><path d="M80.719 100.745c7.33 0 13.317 5.978 13.317 13.309 0 7.33-5.987 13.317-13.317 13.317s-13.317-5.987-13.317-13.317v-13.309zm0-6.709c-7.33 0-13.317-5.987-13.317-13.317s5.986-13.317 13.317-13.317h33.335c7.33 0 13.317 5.986 13.317 13.317 0 7.33-5.987 13.317-13.317 13.317zm0 0" fill="#ebb02e"/></svg>'},U=new Set(["context7","github","linear"]),h={brain:d3,server:u3,database:p3,cloud:g3,default:m3},z=o(()=>j[r().toLowerCase()]),W=o(()=>h[r().toLowerCase()]||h.default),H=o(()=>E[r().toLowerCase()]||null),M=o(()=>U.has(r().toLowerCase()));let b=S(!1),V=S(!1);const k=o(()=>D[r().toLowerCase()]||(t(z)?`https://cdn.simpleicons.org/${t(z)}`:null));function q(){B(b,!0)}function O(){B(V,!0)}var P={get iconName(){return r()},set iconName(e){r(e),u()},get label(){return i()},set label(e){i(e),u()},get size(){return l()},set size(e=20){l(e),u()},get class(){return d()},set class(e=""){d(e),u()},$set:t3,$on:(e,a)=>s3(n,e,a)},c=_3(),Y=l3(c);{var G=e=>{var a=h3();v3(a,()=>t(H),!0),L(a),v(()=>_(a,1,`w-full h-full flex items-center justify-center [&>svg]:w-full [&>svg]:h-full ${t(M)?"dark:invert":""}`)),f(e,a)},J=e=>{var a=w3(),s=n3(a);let g;var T=i3(s,2);{var X=w=>{var C=b3(),$=Z(C,!0);v(e3=>{x(C,`font-size: ${l()*.45}px;`),A($,e3)},[()=>i().charAt(0)]),f(w,C)};I(T,w=>{t(b)||w(X)})}v(()=>{F(s,"src",t(k)),F(s,"alt",i()),g=_(s,1,`w-full h-full object-contain ${t(M)?"dark:invert":""}`,null,g,{"opacity-0":!t(b)})}),N("load",s,q),N("error",s,O),c3(s),f(e,a)},K=e=>{{let a=o(()=>l()*.7);f3(e,{get icon(){return t(W)},class:"text-ghost",get style(){return`font-size: ${t(a)??""}px;`}})}},Q=o(()=>h[r().toLowerCase()]),R=e=>{var a=C3(),s=Z(a,!0);v(g=>{x(a,`font-size: ${l()*.45}px;`),A(s,g)},[()=>i().charAt(0)]),f(e,a)};I(Y,e=>{t(H)?e(G):t(k)&&!t(V)?e(J,1):t(Q)?e(K,2):e(R,-1)})}return L(c),v(()=>{_(c,1,`flex items-center justify-center shrink-0 ${d()??""}`),x(c,`width: ${l()??""}px; height: ${l()??""}px;`)}),f(y,c),o3(P)}export{x3 as M};
1
+ import{t as a3,br as p,a_ as I,bz as t3,b as s3}from"./Cv-W__h8.js";import{bs as r3,a5 as l3,aD as t,bA as L,b_ as v,W as f,bn as o3,c9 as o,bV as S,aA as u,ay as n3,bS as i3,aw as N,bz as c3,bl as Z,bO as A,aB as m,bH as B}from"./DYhIMPy1.js";import{z as v3}from"./DdK8ZPOk.js";import{v as _,w as x,u as F}from"./DPvDLGgX.js";import{F as f3,aP as m3,aH as g3,aY as p3,cq as u3,al as d3}from"./BKpkoMuv.js";var h3=m("<div></div>"),b3=m('<span class="type-caption absolute text-subtle font-medium"> </span>'),w3=m("<img/> <!>",1),C3=m('<span class="type-caption text-subtle font-medium"> </span>'),_3=m("<div><!></div>");function x3(y,n){if(new.target)return a3({component:x3,...y});r3(n,!0);let r=p(n,"iconName",7),i=p(n,"label",7),l=p(n,"size",7,20),d=p(n,"class",7,"");const j={redis:"redis",mongodb:"mongodb",circleci:"circleci",vercel:"vercel",railway:"railway",convex:"convex",snowflake:"snowflake",sentry:"sentry",figma:"figma",github:"github",linear:"linear"},D={figma:"https://upload.wikimedia.org/wikipedia/commons/thumb/3/33/Figma-logo.svg/960px-Figma-logo.svg.png",playwright:"https://ray.run/playwright-brand-assets/playwright-logo.svg"},E={context7:'<svg width="28" height="28" viewBox="0 0 28 28" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M24 0C26.2091 0 28 1.79086 28 4V24C28 26.2091 26.2091 28 24 28H4C1.79086 28 0 26.2091 0 24V4C0 1.79086 1.79086 0 4 0H24ZM8.58008 15.2559C8.58008 17.8621 7.95482 19.3557 6.33398 21.1885V22.7783H11.6309V21.1045H8.17773C9.66098 19.3776 10.5723 17.5019 10.5723 15.2559H8.58008ZM17.4268 15.2559C17.4268 17.5019 18.338 19.3776 19.8213 21.1045H16.3672V22.7783H21.6641V21.1885C20.0433 19.3558 19.4189 17.862 19.4189 15.2559H17.4268ZM6.33398 6.80957C7.95495 8.64244 8.58008 10.137 8.58008 12.7432H10.5713C10.5713 10.4972 9.66094 8.62143 8.17773 6.89453H11.6309V5.2207H6.33398V6.80957ZM16.3672 5.2207V6.89453H19.8213C18.338 8.62145 17.4268 10.4972 17.4268 12.7432H19.4189C19.4189 10.137 20.0432 8.64242 21.6641 6.80957V5.2207H16.3672Z" fill="black"/></svg>',slack:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 128 128"><path d="M27.255 80.719c0 7.33-5.978 13.317-13.309 13.317C6.616 94.036.63 88.049.63 80.719s5.987-13.317 13.317-13.317h13.309zm6.709 0c0-7.33 5.987-13.317 13.317-13.317s13.317 5.986 13.317 13.317v33.335c0 7.33-5.986 13.317-13.317 13.317-7.33 0-13.317-5.987-13.317-13.317zm0 0" fill="#de1c59"/><path d="M47.281 27.255c-7.33 0-13.317-5.978-13.317-13.309C33.964 6.616 39.951.63 47.281.63s13.317 5.987 13.317 13.317v13.309zm0 6.709c7.33 0 13.317 5.987 13.317 13.317s-5.986 13.317-13.317 13.317H13.946C6.616 60.598.63 54.612.63 47.281c0-7.33 5.987-13.317 13.317-13.317zm0 0" fill="#35c5f0"/><path d="M100.745 47.281c0-7.33 5.978-13.317 13.309-13.317 7.33 0 13.317 5.987 13.317 13.317s-5.987 13.317-13.317 13.317h-13.309zm-6.709 0c0 7.33-5.987 13.317-13.317 13.317s-13.317-5.986-13.317-13.317V13.946C67.402 6.616 73.388.63 80.719.63c7.33 0 13.317 5.987 13.317 13.317zm0 0" fill="#2eb57d"/><path d="M80.719 100.745c7.33 0 13.317 5.978 13.317 13.309 0 7.33-5.987 13.317-13.317 13.317s-13.317-5.987-13.317-13.317v-13.309zm0-6.709c-7.33 0-13.317-5.987-13.317-13.317s5.986-13.317 13.317-13.317h33.335c7.33 0 13.317 5.986 13.317 13.317 0 7.33-5.987 13.317-13.317 13.317zm0 0" fill="#ebb02e"/></svg>'},U=new Set(["context7","github","linear"]),h={brain:d3,server:u3,database:p3,cloud:g3,default:m3},z=o(()=>j[r().toLowerCase()]),W=o(()=>h[r().toLowerCase()]||h.default),H=o(()=>E[r().toLowerCase()]||null),M=o(()=>U.has(r().toLowerCase()));let b=S(!1),V=S(!1);const k=o(()=>D[r().toLowerCase()]||(t(z)?`https://cdn.simpleicons.org/${t(z)}`:null));function q(){B(b,!0)}function O(){B(V,!0)}var P={get iconName(){return r()},set iconName(e){r(e),u()},get label(){return i()},set label(e){i(e),u()},get size(){return l()},set size(e=20){l(e),u()},get class(){return d()},set class(e=""){d(e),u()},$set:t3,$on:(e,a)=>s3(n,e,a)},c=_3(),Y=l3(c);{var G=e=>{var a=h3();v3(a,()=>t(H),!0),L(a),v(()=>_(a,1,`w-full h-full flex items-center justify-center [&>svg]:w-full [&>svg]:h-full ${t(M)?"dark:invert":""}`)),f(e,a)},J=e=>{var a=w3(),s=n3(a);let g;var T=i3(s,2);{var X=w=>{var C=b3(),$=Z(C,!0);v(e3=>{x(C,`font-size: ${l()*.45}px;`),A($,e3)},[()=>i().charAt(0)]),f(w,C)};I(T,w=>{t(b)||w(X)})}v(()=>{F(s,"src",t(k)),F(s,"alt",i()),g=_(s,1,`w-full h-full object-contain ${t(M)?"dark:invert":""}`,null,g,{"opacity-0":!t(b)})}),N("load",s,q),N("error",s,O),c3(s),f(e,a)},K=e=>{{let a=o(()=>l()*.7);f3(e,{get icon(){return t(W)},class:"text-ghost",get style(){return`font-size: ${t(a)??""}px;`}})}},Q=o(()=>h[r().toLowerCase()]),R=e=>{var a=C3(),s=Z(a,!0);v(g=>{x(a,`font-size: ${l()*.45}px;`),A(s,g)},[()=>i().charAt(0)]),f(e,a)};I(Y,e=>{t(H)?e(G):t(k)&&!t(V)?e(J,1):t(Q)?e(K,2):e(R,-1)})}return L(c),v(()=>{_(c,1,`flex items-center justify-center shrink-0 ${d()??""}`),x(c,`width: ${l()??""}px; height: ${l()??""}px;`)}),f(y,c),o3(P)}export{x3 as M};
@@ -1,5 +1,5 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/D8DWZHUq.js","/app/immutable/chunks/C_p-Kfor.js","/app/immutable/chunks/BxD5AERd.js","/app/immutable/chunks/Cv-W__h8.js","/app/immutable/chunks/DYhIMPy1.js","/app/immutable/chunks/-xK_vQQs.js","/app/immutable/chunks/BdWqymET.js","/app/immutable/chunks/CVzPOOwl.js","/app/immutable/chunks/BYUG1_M-.js","/app/immutable/chunks/CKQKk1Ku.js","/app/immutable/chunks/lAmQKSWr.js","/app/immutable/chunks/CV7aDOaJ.js","/app/immutable/chunks/Cm5DOj9x.js","/app/immutable/chunks/CU9XHYHQ.js","/app/immutable/chunks/ByV5esjn.js","/app/immutable/chunks/D-zxUN6t.js","/app/immutable/chunks/1zzTvnVt.js","/app/immutable/chunks/Dcwc2djA.js","/app/immutable/chunks/B10dK85Q.js","/app/immutable/chunks/uXuxG9cN.js","/app/immutable/chunks/CIyUrgF0.js","/app/immutable/chunks/DBkMUdAo.js","/app/immutable/chunks/WFvSJ9zU.js","/app/immutable/chunks/ChTqQfQN.js","/app/immutable/chunks/BZeUwBn0.js","/app/immutable/chunks/ClsZrb8B.js","/app/immutable/chunks/DxwfiAWm.js","/app/immutable/chunks/GdlMbZRO.js","/app/immutable/chunks/BKpkoMuv.js","/app/immutable/chunks/D4os-974.js","/app/immutable/chunks/DPvDLGgX.js","/app/immutable/assets/spinner.D_TRo5Hy.css","/app/immutable/chunks/DypB-Dwi.js","/app/immutable/chunks/BePtUMMB.js","/app/immutable/chunks/BaIAhI85.js","/app/immutable/chunks/BiLjH_HB.js","/app/immutable/assets/button.-yaUNjRS.css","/app/immutable/chunks/1o85IiDb.js","/app/immutable/chunks/j0KL2ItM.js","/app/immutable/chunks/HOnzeXNV.js","/app/immutable/chunks/DTDbZc--.js","/app/immutable/chunks/CgCdkhNg.js","/app/immutable/chunks/DfxQWSVU.js","/app/immutable/chunks/BWYr8u9e.js","/app/immutable/chunks/XJv96NUg.js","/app/immutable/assets/notify.BeL_JB6L.css","/app/immutable/chunks/CEpchTPD.js","/app/immutable/chunks/ZhmlPELZ.js","/app/immutable/chunks/CUrYTyIw.js","/app/immutable/chunks/BtpuPEaR.js","/app/immutable/chunks/Ct5KmixI.js","/app/immutable/chunks/BvFAWM27.js","/app/immutable/chunks/DCuF_YI1.js","/app/immutable/chunks/C3BW_tmx.js","/app/immutable/chunks/BahFkvC5.js","/app/immutable/chunks/BC4m0ek2.js","/app/immutable/chunks/_zYQ1N4x.js","/app/immutable/chunks/DJSbaLBj.js","/app/immutable/chunks/mNy9r7LX.js","/app/immutable/chunks/C5VTexpW.js","/app/immutable/chunks/COrX_n08.js","/app/immutable/chunks/BbcRDMCy.js","/app/immutable/chunks/DiTnb1P-.js","/app/immutable/chunks/sKfkOhQG.js","/app/immutable/chunks/Cj01MC7B.js","/app/immutable/chunks/BxiYmwg2.js","/app/immutable/chunks/3AB6s4tE.js","/app/immutable/chunks/DBunkriw.js","/app/immutable/chunks/fRLs4n3O.js","/app/immutable/chunks/eTOAo4LX.js","/app/immutable/chunks/CH3vrkAm.js","/app/immutable/chunks/DYlIySpa.js","/app/immutable/chunks/t5zcSjIO.js","/app/immutable/chunks/BIW9BxTL.js","/app/immutable/chunks/O-VmbRsR.js","/app/immutable/chunks/D6ufKi8g.js","/app/immutable/chunks/CjsX479D.js","/app/immutable/chunks/BBY6C0IK.js","/app/immutable/chunks/D-KeFJd1.js","/app/immutable/chunks/D6l7oMHI.js","/app/immutable/chunks/BkJEcisi.js","/app/immutable/chunks/Bwp_IhBH.js","/app/immutable/chunks/8nZ72cNt.js","/app/immutable/chunks/B9O8hRmi.js","/app/immutable/chunks/B1qx8JJ_.js","/app/immutable/chunks/DKhiTKbW.js","/app/immutable/chunks/B0YUMwLM.js","/app/immutable/chunks/CzcNn8BK.js","/app/immutable/chunks/BgOcyw2D.js","/app/immutable/chunks/BAFq1AFI.js","/app/immutable/chunks/YCf9YQ0d.js"])))=>i.map(i=>d[i]);
2
- var W1=Object.defineProperty;var z1=(e,t,r)=>t in e?W1(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var gr=(e,t,r)=>z1(e,typeof t!="symbol"?t+"":t,r);import{_ as Ge,t as _a,br as ze,bp as Ye,bz as La,b as Aa,a_ as ur,bs as H1}from"./Cv-W__h8.js";import{g as Y1}from"./BdWqymET.js";import{aP as cs}from"./Dcwc2djA.js";import{b7 as X1,cc as j1,bs as Fa,a7 as za,ay as ri,aD as S,bS as qe,be as Hs,b$ as zn,b_ as or,bO as pr,W as ge,c9 as Et,bn as $a,aA as Te,aB as er,bk as Gh,bH as ft,ca as ba,c5 as el,a5 as Ne,bA as Fe,bV as ce,bl as kr,c0 as ch,aC as oi,aw as rl,a as vu,bj as Cp,br as fi,cb as G1,bf as U1}from"./DYhIMPy1.js";import{z as Mu}from"./Ns2qHkqi.js";import{v as ra,u as fe,s as Ys,o as V1,i as wp,e as Z1,f as K1,g as Q1,n as no,p as Tu,j as kp,w as Oo}from"./DPvDLGgX.js";import{b as ta}from"./BaIAhI85.js";import{c as J1}from"./ChTqQfQN.js";import{c$ as tC,cR as eC,F as Qs,aI as rC,b7 as Sp,l as iC,m as aC,f as oC,i as sC,v as Bu,s as _u,g as nC,G as lC,P as cC,q as hC,y as dC,p as uC,j as fC,D as Lu,H as gC,U as pC,at as mC,au as yC,aU as xC}from"./BKpkoMuv.js";import{f as Ho,am as bC}from"./BePtUMMB.js";import{r as CC,a6 as wC}from"./QkOzjVQc.js";import{e as kC,H as SC}from"./Dl0GU3up.js";import{G as vp}from"./GdlMbZRO.js";import{I as xa,h as Au,H as Ms,d as Fu}from"./j0KL2ItM.js";import{c as io}from"./D4os-974.js";import{e as vC}from"./CmUwI5cU.js";import{t as MC}from"./2_iuLgF6.js";import{s as Hn}from"./ClsZrb8B.js";import{s as $u,a as TC}from"./BsieX9dN.js";import{p as BC,K as _C,h as LC,i as sc,M as AC}from"./D2pEu7en.js";import"./BvDMLNjQ.js";import{t as ga}from"./DTDbZc--.js";import"./CgCdkhNg.js";import"./DBkMUdAo.js";import{cq as FC}from"./HOnzeXNV.js";function $C(e,t){X1(window,["resize"],()=>j1(()=>t(window[e])))}var Mp=Object.defineProperty,b=(e,t)=>Mp(e,"name",{value:t,configurable:!0}),EC=(e,t)=>{for(var r in t)Mp(e,r,{get:t[r],enumerable:!0})};function Tp(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}b(Tp,"getDefaultExportFromCjs");var jr={},kn={},Ra={},Eu;function ms(){if(Eu)return Ra;Eu=1;function e(s){return typeof s>"u"||s===null}b(e,"isNothing");function t(s){return typeof s=="object"&&s!==null}b(t,"isObject");function r(s){return Array.isArray(s)?s:e(s)?[]:[s]}b(r,"toArray");function i(s,n){if(n){const l=Object.keys(n);for(let c=0,h=l.length;c<h;c+=1){const d=l[c];s[d]=n[d]}}return s}b(i,"extend");function a(s,n){let l="";for(let c=0;c<n;c+=1)l+=s;return l}b(a,"repeat");function o(s){return s===0&&Number.NEGATIVE_INFINITY===1/s}return b(o,"isNegativeZero"),Ra.isNothing=e,Ra.isObject=t,Ra.toArray=r,Ra.repeat=a,Ra.isNegativeZero=o,Ra.extend=i,Ra}b(ms,"requireCommon");var nc,Pu;function ys(){if(Pu)return nc;Pu=1;function e(r,i){let a="";const o=r.reason||"(unknown reason)";return r.mark?(r.mark.name&&(a+='in "'+r.mark.name+'" '),a+="("+(r.mark.line+1)+":"+(r.mark.column+1)+")",!i&&r.mark.snippet&&(a+=`
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/DZE3URJN.js","/app/immutable/chunks/BMc0RC3L.js","/app/immutable/chunks/_laUUQkK.js","/app/immutable/chunks/Cv-W__h8.js","/app/immutable/chunks/DYhIMPy1.js","/app/immutable/chunks/-xK_vQQs.js","/app/immutable/chunks/BdWqymET.js","/app/immutable/chunks/CsQEs72A.js","/app/immutable/chunks/pAZeyaYi.js","/app/immutable/chunks/CXIgxu2a.js","/app/immutable/chunks/lAmQKSWr.js","/app/immutable/chunks/D8zuzFHW.js","/app/immutable/chunks/_621KNlC.js","/app/immutable/chunks/DzaVJwKP.js","/app/immutable/chunks/-dNCsu7w.js","/app/immutable/chunks/KsUNEVwc.js","/app/immutable/chunks/Bnny-UX2.js","/app/immutable/chunks/1tkamMao.js","/app/immutable/chunks/B10dK85Q.js","/app/immutable/chunks/uXuxG9cN.js","/app/immutable/chunks/CIyUrgF0.js","/app/immutable/chunks/DBkMUdAo.js","/app/immutable/chunks/WFvSJ9zU.js","/app/immutable/chunks/ChTqQfQN.js","/app/immutable/chunks/BZeUwBn0.js","/app/immutable/chunks/ClsZrb8B.js","/app/immutable/chunks/DxwfiAWm.js","/app/immutable/chunks/GdlMbZRO.js","/app/immutable/chunks/BKpkoMuv.js","/app/immutable/chunks/D4os-974.js","/app/immutable/chunks/DPvDLGgX.js","/app/immutable/assets/spinner.D_TRo5Hy.css","/app/immutable/chunks/DypB-Dwi.js","/app/immutable/chunks/BePtUMMB.js","/app/immutable/chunks/BaIAhI85.js","/app/immutable/chunks/BiLjH_HB.js","/app/immutable/assets/button.-yaUNjRS.css","/app/immutable/chunks/1o85IiDb.js","/app/immutable/chunks/j0KL2ItM.js","/app/immutable/chunks/GhBVkn0A.js","/app/immutable/chunks/DTDbZc--.js","/app/immutable/chunks/CgCdkhNg.js","/app/immutable/chunks/DfxQWSVU.js","/app/immutable/chunks/BWYr8u9e.js","/app/immutable/chunks/XJv96NUg.js","/app/immutable/assets/notify.BeL_JB6L.css","/app/immutable/chunks/CEpchTPD.js","/app/immutable/chunks/ZhmlPELZ.js","/app/immutable/chunks/CUrYTyIw.js","/app/immutable/chunks/BtpuPEaR.js","/app/immutable/chunks/Ct5KmixI.js","/app/immutable/chunks/BvFAWM27.js","/app/immutable/chunks/Lbcfa2vI.js","/app/immutable/chunks/C3BW_tmx.js","/app/immutable/chunks/BahFkvC5.js","/app/immutable/chunks/CvyuoqmI.js","/app/immutable/chunks/DQQN34Q0.js","/app/immutable/chunks/C4zS7Es5.js","/app/immutable/chunks/DnpKDKHX.js","/app/immutable/chunks/DxGvCXqx.js","/app/immutable/chunks/BmOVoAuP.js","/app/immutable/chunks/BbcRDMCy.js","/app/immutable/chunks/ByuW8CQ3.js","/app/immutable/chunks/kjcC8vHg.js","/app/immutable/chunks/LUmI1RpP.js","/app/immutable/chunks/BT4M00FE.js","/app/immutable/chunks/DA9827Ou.js","/app/immutable/chunks/a4p9mH2a.js","/app/immutable/chunks/9HsXeNBx.js","/app/immutable/chunks/C3YthNht.js","/app/immutable/chunks/D0_C6Y6w.js","/app/immutable/chunks/iteVAcc8.js","/app/immutable/chunks/BsJepqY8.js","/app/immutable/chunks/iI3ATVN9.js","/app/immutable/chunks/Ccyhl2kf.js","/app/immutable/chunks/BeQsg97d.js","/app/immutable/chunks/COHkleOL.js","/app/immutable/chunks/AI_b5jlG.js","/app/immutable/chunks/CkeU3F3D.js","/app/immutable/chunks/Br8Z_nmS.js","/app/immutable/chunks/DV6BiHtA.js","/app/immutable/chunks/Cn5zzBrS.js","/app/immutable/chunks/C490-vcB.js","/app/immutable/chunks/xpVEpcY9.js","/app/immutable/chunks/B7TRhc1v.js","/app/immutable/chunks/B4deWBhm.js","/app/immutable/chunks/ETQYVXfv.js","/app/immutable/chunks/DAvg18a7.js","/app/immutable/chunks/D7XO4i7w.js","/app/immutable/chunks/CDYDn5lR.js","/app/immutable/chunks/DF6fRPMU.js"])))=>i.map(i=>d[i]);
2
+ var W1=Object.defineProperty;var z1=(e,t,r)=>t in e?W1(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var gr=(e,t,r)=>z1(e,typeof t!="symbol"?t+"":t,r);import{_ as Ge,t as _a,br as ze,bp as Ye,bz as La,b as Aa,a_ as ur,bs as H1}from"./Cv-W__h8.js";import{g as Y1}from"./BdWqymET.js";import{aP as cs}from"./1tkamMao.js";import{b7 as X1,cc as j1,bs as Fa,a7 as za,ay as ri,aD as S,bS as qe,be as Hs,b$ as zn,b_ as or,bO as pr,W as ge,c9 as Et,bn as $a,aA as Te,aB as er,bk as Gh,bH as ft,ca as ba,c5 as el,a5 as Ne,bA as Fe,bV as ce,bl as kr,c0 as ch,aC as oi,aw as rl,a as vu,bj as Cp,br as fi,cb as G1,bf as U1}from"./DYhIMPy1.js";import{z as Mu}from"./DdK8ZPOk.js";import{v as ra,u as fe,s as Ys,o as V1,i as wp,e as Z1,f as K1,g as Q1,n as no,p as Tu,j as kp,w as Oo}from"./DPvDLGgX.js";import{b as ta}from"./BaIAhI85.js";import{c as J1}from"./ChTqQfQN.js";import{c$ as tC,cR as eC,F as Qs,aI as rC,b7 as Sp,l as iC,m as aC,f as oC,i as sC,v as Bu,s as _u,g as nC,G as lC,P as cC,q as hC,y as dC,p as uC,j as fC,D as Lu,H as gC,U as pC,at as mC,au as yC,aU as xC}from"./BKpkoMuv.js";import{f as Ho,am as bC}from"./BePtUMMB.js";import{r as CC,a6 as wC}from"./DKPjRtn_.js";import{e as kC,H as SC}from"./ByPwCkMc.js";import{G as vp}from"./GdlMbZRO.js";import{I as xa,h as Au,H as Ms,d as Fu}from"./j0KL2ItM.js";import{c as io}from"./D4os-974.js";import{e as vC}from"./CmUwI5cU.js";import{t as MC}from"./2_iuLgF6.js";import{s as Hn}from"./ClsZrb8B.js";import{s as $u,a as TC}from"./BsieX9dN.js";import{p as BC,K as _C,h as LC,i as sc,M as AC}from"./D2pEu7en.js";import"./BvDMLNjQ.js";import{t as ga}from"./DTDbZc--.js";import"./CgCdkhNg.js";import"./DBkMUdAo.js";import{cq as FC}from"./GhBVkn0A.js";function $C(e,t){X1(window,["resize"],()=>j1(()=>t(window[e])))}var Mp=Object.defineProperty,b=(e,t)=>Mp(e,"name",{value:t,configurable:!0}),EC=(e,t)=>{for(var r in t)Mp(e,r,{get:t[r],enumerable:!0})};function Tp(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}b(Tp,"getDefaultExportFromCjs");var jr={},kn={},Ra={},Eu;function ms(){if(Eu)return Ra;Eu=1;function e(s){return typeof s>"u"||s===null}b(e,"isNothing");function t(s){return typeof s=="object"&&s!==null}b(t,"isObject");function r(s){return Array.isArray(s)?s:e(s)?[]:[s]}b(r,"toArray");function i(s,n){if(n){const l=Object.keys(n);for(let c=0,h=l.length;c<h;c+=1){const d=l[c];s[d]=n[d]}}return s}b(i,"extend");function a(s,n){let l="";for(let c=0;c<n;c+=1)l+=s;return l}b(a,"repeat");function o(s){return s===0&&Number.NEGATIVE_INFINITY===1/s}return b(o,"isNegativeZero"),Ra.isNothing=e,Ra.isObject=t,Ra.toArray=r,Ra.repeat=a,Ra.isNegativeZero=o,Ra.extend=i,Ra}b(ms,"requireCommon");var nc,Pu;function ys(){if(Pu)return nc;Pu=1;function e(r,i){let a="";const o=r.reason||"(unknown reason)";return r.mark?(r.mark.name&&(a+='in "'+r.mark.name+'" '),a+="("+(r.mark.line+1)+":"+(r.mark.column+1)+")",!i&&r.mark.snippet&&(a+=`
3
3
 
4
4
  `+r.mark.snippet),o+" "+a):o}b(e,"formatError");function t(r,i){Error.call(this),this.name="YAMLException",this.reason=r,this.mark=i,this.message=e(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack||""}return b(t,"YAMLException2"),t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t.prototype.toString=b(function(i){return this.name+": "+e(this,i)},"toString"),nc=t,nc}b(ys,"requireException");var lc,Iu;function Bp(){if(Iu)return lc;Iu=1;const e=ms();function t(a,o,s,n,l){let c="",h="";const d=Math.floor(l/2)-1;return n-o>d&&(c=" ... ",o=n-d+c.length),s-n>d&&(h=" ...",s=n+d-h.length),{str:c+a.slice(o,s).replace(/\t/g,"→")+h,pos:n-o+c.length}}b(t,"getLine");function r(a,o){return e.repeat(" ",o-a.length)+a}b(r,"padStart");function i(a,o){if(o=Object.create(o||null),!a.buffer)return null;o.maxLength||(o.maxLength=79),typeof o.indent!="number"&&(o.indent=1),typeof o.linesBefore!="number"&&(o.linesBefore=3),typeof o.linesAfter!="number"&&(o.linesAfter=2);const s=/\r?\n|\r|\0/g,n=[0],l=[];let c,h=-1;for(;c=s.exec(a.buffer);)l.push(c.index),n.push(c.index+c[0].length),a.position<=c.index&&h<0&&(h=n.length-2);h<0&&(h=n.length-1);let d="";const u=Math.min(a.line+o.linesAfter,l.length).toString().length,f=o.maxLength-(o.indent+u+3);for(let g=1;g<=o.linesBefore&&!(h-g<0);g++){const m=t(a.buffer,n[h-g],l[h-g],a.position-(n[h]-n[h-g]),f);d=e.repeat(" ",o.indent)+r((a.line-g+1).toString(),u)+" | "+m.str+`
5
5
  `+d}const p=t(a.buffer,n[h],l[h],a.position,f);d+=e.repeat(" ",o.indent)+r((a.line+1).toString(),u)+" | "+p.str+`
@@ -298,8 +298,8 @@ ${o.join(`
298
298
  L0,20`)},"requirement_arrow"),W_=b((e,t,r)=>{const i=Tr(),{themeVariables:a}=i,{strokeWidth:o}=a;e.append("defs").append("marker").attr("id",r+"_"+t+"-requirement_arrowEnd").attr("refX",20).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").attr("markerUnits","userSpaceOnUse").attr("stroke-width",`${o}`).attr("viewBox","0 0 25 20").append("path").attr("d",`M0,0
299
299
  L20,10
300
300
  M20,10
301
- L0,20`).attr("stroke-linejoin","miter")},"requirement_arrow_neo"),z_=b((e,t,r)=>{const i=e.append("defs").append("marker").attr("id",r+"_"+t+"-requirement_containsStart").attr("refX",0).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").append("g");i.append("circle").attr("cx",10).attr("cy",10).attr("r",9).attr("fill","none"),i.append("line").attr("x1",1).attr("x2",19).attr("y1",10).attr("y2",10),i.append("line").attr("y1",1).attr("y2",19).attr("x1",10).attr("x2",10)},"requirement_contains"),H_=b((e,t,r)=>{const i=Tr(),{themeVariables:a}=i,{strokeWidth:o}=a,s=e.append("defs").append("marker").attr("id",r+"_"+t+"-requirement_containsStart").attr("refX",0).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("g");s.append("circle").attr("cx",10).attr("cy",10).attr("r",9).attr("fill","none"),s.append("line").attr("x1",1).attr("x2",19).attr("y1",10).attr("y2",10),s.append("line").attr("y1",1).attr("y2",19).attr("x1",10).attr("x2",10),s.selectAll("*").attr("stroke-width",`${o}`)},"requirement_contains_neo"),Y_=b((e,t,r)=>{e.append("marker").attr("id",r+"_"+t+"-hierarchyEnd").attr("class","marker hierarchy "+t).attr("viewBox","0 0 12 10").attr("refX",10).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",10).attr("orient","auto").append("path").attr("d","M 0 0 L 6 5 L 0 10 M 4 0 L 10 5 L 4 10").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0").style("fill","none"),e.append("marker").attr("id",r+"_"+t+"-hierarchyStart").attr("class","marker hierarchy "+t).attr("viewBox","0 0 12 10").attr("refX",2).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",10).attr("orient","auto").append("path").attr("d","M 12 0 L 6 5 L 12 10 M 8 0 L 2 5 L 8 10").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0").style("fill","none")},"hierarchy"),X_=b((e,t,r)=>{e.append("marker").attr("id",r+"_"+t+"-openArrowEnd").attr("class","marker openArrow "+t).attr("viewBox","0 0 12 12").attr("refX",11).attr("refY",6).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 1 1 L 11 6 L 1 11").attr("class","arrowMarkerPath").style("stroke-width",1.4).style("stroke-linecap","round").style("stroke-linejoin","round").style("stroke-dasharray","1,0").style("fill","none"),e.append("marker").attr("id",r+"_"+t+"-openArrowStart").attr("class","marker openArrow "+t).attr("viewBox","0 0 12 12").attr("refX",1).attr("refY",6).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 11 1 L 1 6 L 11 11").attr("class","arrowMarkerPath").style("stroke-width",1.4).style("stroke-linecap","round").style("stroke-linejoin","round").style("stroke-dasharray","1,0").style("fill","none")},"openArrow"),j_=b((e,t,r)=>{e.append("marker").attr("id",r+"_"+t+"-hollowCircleStart").attr("class","marker hollowCircle "+t).attr("viewBox","0 0 10 10").attr("refX",0).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",10).attr("markerHeight",10).attr("orient","auto").append("circle").attr("cx",5).attr("cy",5).attr("r",3.6).attr("class","arrowMarkerPath").style("stroke-width",1.4).style("stroke-dasharray","1,0").style("fill","none"),e.append("marker").attr("id",r+"_"+t+"-hollowCircleEnd").attr("class","marker hollowCircle "+t).attr("viewBox","0 0 10 10").attr("refX",10).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",10).attr("markerHeight",10).attr("orient","auto").append("circle").attr("cx",5).attr("cy",5).attr("r",3.6).attr("class","arrowMarkerPath").style("stroke-width",1.4).style("stroke-dasharray","1,0").style("fill","none")},"hollowCircle"),G_={extension:k_,composition:S_,aggregation:v_,dependency:M_,lollipop:T_,point:B_,circle:__,cross:L_,barb:A_,barbNeo:F_,hierarchy:Y_,only_one:$_,zero_or_one:E_,one_or_more:P_,zero_or_more:I_,only_one_neo:O_,zero_or_one_neo:R_,one_or_more_neo:D_,zero_or_more_neo:N_,requirement_arrow:q_,requirement_contains:z_,requirement_arrow_neo:W_,requirement_contains_neo:H_,openArrow:X_,hollowCircle:j_},U_=w_,V_={common:hn,getConfig:Tr,insertCluster:BB,insertEdge:C_,insertEdgeLabel:u_,insertMarkers:U_,insertNode:O0,interpolateToCurve:$d,labelHelper:he,log:Tt,positionEdgeLabel:g_},Z_=["elk.stress","elk.force","elk.mrtree","elk.sporeOverlap","elk.box","elk.rectpacking"],an=Object.create(null),eb=b(e=>{for(const t of e)an[t.name]=t},"registerLayoutLoaders"),K_=b(()=>{const e=b(async()=>await Ge(()=>import("./D8DWZHUq.js"),__vite__mapDeps([0,1,2,3,4,5,6]),import.meta.url),"loader");return[{name:"elk",loader:e,algorithm:"elk.layered"},...Z_.map(t=>({name:t,loader:e,algorithm:t}))]},"elkLayoutLoaders"),Q_=b(()=>{eb([{name:"dagre",loader:b(async()=>await Ge(()=>import("./CVzPOOwl.js"),__vite__mapDeps([7,2,3,4,5]),import.meta.url),"loader")},{name:"swimlane",loader:b(async()=>await Ge(()=>import("./BYUG1_M-.js"),__vite__mapDeps([8,1,2,3,4,5]),import.meta.url),"loader")},{name:"cose-bilkent",loader:b(async()=>await Ge(()=>import("./CKQKk1Ku.js"),__vite__mapDeps([9,10,6]),import.meta.url),"loader")},...K_()])},"registerDefaultLayoutLoaders");Q_();var eP=b(async(e,t)=>{if(!Object.hasOwn(an,e.layoutAlgorithm))throw new Error(`Unknown layout algorithm: ${e.layoutAlgorithm}`);if(e.diagramId)for(const o of e.nodes){const s=o.domId||o.id;o.domId=`${e.diagramId}-${s}`}const r=an[e.layoutAlgorithm],i=await r.loader();DC(t,e.config);const a=await i.render(e,t,V_,{algorithm:r.algorithm});return s_(t.node()),a},"render"),Vc="dagre",rP=b((e="",{fallback:t=Vc}={})=>{if(Object.hasOwn(an,e))return e;for(const r of[t,Vc])if(Object.hasOwn(an,r))return Tt.warn(`Layout algorithm ${e} is not registered. Using ${r} as fallback.`),r;throw new Error(`Neither layout algorithm ${e}, ${t}, nor ${Vc} is registered.`)},"getRegisteredLayoutAlgorithm"),J_=b(e=>{const{securityLevel:t}=Xe();let r=He("body");if(t==="sandbox"){const o=He(`#i${e}`).node()?.contentDocument??document;r=He(o.body)}return r.select(`#${e}`)},"selectSvgElement"),ou="comm",rb="rule",ib="decl",tL="@media",eL="@import",rL="@supports",iL="@namespace",Rh="@keyframes",ab="@layer",aL="@scope",oL=Math.abs,Ks=String.fromCharCode;function ob(e){return e.trim()}function Dh(e,t,r){return e.replace(t,r)}function Go(e,t){return e.charCodeAt(t)|0}function us(e,t,r){return e.slice(t,r)}function Ki(e){return e.length}function sb(e){return e.length}function Pn(e,t){return t.push(e),e}var Vl=1,fs=1,nb=0,_i=0,Pr=0,ws="";function su(e,t,r,i,a,o,s,n){return{value:e,root:t,parent:r,type:i,props:a,children:o,line:Vl,column:fs,length:s,return:"",siblings:n}}function sL(){return Pr}function nL(){return Pr=_i>0?Go(ws,--_i):0,fs--,Pr===10&&(fs=1,Vl--),Pr}function Di(){return Pr=_i<nb?Go(ws,_i++):0,fs++,Pr===10&&(fs=1,Vl++),Pr}function qa(){return Go(ws,_i)}function Jn(){return _i}function Zl(e,t){return us(ws,e,t)}function on(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function lL(e){return Vl=fs=1,nb=Ki(ws=e),_i=0,[]}function cL(e){return ws="",e}function Zc(e){return ob(Zl(_i-1,Nh(e===91?e+2:e===40?e+1:e)))}function hL(e){for(;(Pr=qa())&&Pr<33;)Di();return on(e)>2||on(Pr)>3?"":" "}function dL(e,t){for(;--t&&Di()&&!(Pr<48||Pr>102||Pr>57&&Pr<65||Pr>70&&Pr<97););return Zl(e,Jn()+(t<6&&qa()==32&&Di()==32))}function Nh(e){for(;Di();)switch(Pr){case e:return _i;case 34:case 39:e!==34&&e!==39&&Nh(Pr);break;case 40:e===41&&Nh(e);break;case 92:Di();break}return _i}function uL(e,t){for(;Di()&&e+Pr!==57;)if(e+Pr===84&&qa()===47)break;return"/*"+Zl(t,_i-1)+"*"+Ks(e===47?e:Di())}function fL(e){for(;!on(qa());)Di();return Zl(e,_i)}function gL(e){return cL(tl("",null,null,null,[""],e=lL(e),0,[0],e))}function tl(e,t,r,i,a,o,s,n,l){for(var c=0,h=0,d=s,u=0,f=0,p=0,g=1,m=1,y=1,x=0,C=0,k="",v=a,T=o,F=i,A=k;m;)switch(p=C,C=Di()){case 40:p!=108&&Go(A,d-1)==58?(x++,A+="("):A+=Zc(C);break;case 41:x--,A+=")";break;case 34:case 39:case 91:A+=Zc(C);break;case 9:case 10:case 13:case 32:if(x>0){A+=Ks(C);break}A+=hL(p);break;case 92:A+=dL(Jn()-1,7);continue;case 47:switch(qa()){case 42:case 47:Pn(pL(uL(Di(),Jn()),t,r,l),l),(on(p||1)==5||on(qa()||1)==5)&&Ki(A)&&us(A,-1,void 0)!==" "&&(A+=" ");break;default:A+="/"}break;case 123*g:n[c++]=Ki(A)*y;case 125*g:case 59:case 0:if(x>0&&C){A+=Ks(C);break}switch(C){case 0:case 125:m=0;case 59+h:y==-1&&(A=Dh(A,/\f/g,"")),f>0&&(Ki(A)-d||g===0)&&Pn(f>32?Hg(A+";",i,r,d-1,l):Hg(Dh(A," ","")+";",i,r,d-2,l),l);break;case 59:A+=";";default:if(Pn(F=zg(A,t,r,c,h,a,n,k,v=[],T=[],d,o),o),C===123)if(h===0)tl(A,t,F,F,v,o,d,n,T);else{switch(u){case 99:if(Go(A,3)===110)break;case 108:if(Go(A,2)===97)break;default:h=0;case 100:case 109:case 115:}h?tl(e,F,F,i&&Pn(zg(e,F,F,0,0,a,n,k,a,v=[],d,T),T),a,T,d,n,i?v:T):tl(A,F,F,F,[""],T,0,n,T)}}c=h=f=0,g=y=1,k=A="",d=s;break;case 58:d=1+Ki(A),f=p;default:if(g<1){if(C==123)--g;else if(C==125&&g++==0&&nL()==125)continue}switch(A+=Ks(C),C*g){case 38:y=h>0?1:(A+="\f",-1);break;case 44:if(x>0)break;n[c++]=(Ki(A)-1)*y,y=1;break;case 64:qa()===45&&(A+=Zc(Di())),u=qa(),h=d=Ki(k=A+=fL(Jn())),C++;break;case 45:p===45&&Ki(A)==2&&(g=0)}}return o}function zg(e,t,r,i,a,o,s,n,l,c,h,d){for(var u=a-1,f=a===0?o:[""],p=sb(f),g=0,m=0,y=0;g<i;++g)for(var x=0,C=us(e,u+1,u=oL(m=s[g])),k=e;x<p;++x)(k=ob(m>0?f[x]+" "+C:Dh(C,/&\f/g,f[x])))&&(l[y++]=k);return su(e,t,r,a===0?rb:n,l,c,h,d)}function pL(e,t,r,i){return su(e,t,r,ou,Ks(sL()),us(e,2,-2),0,i)}function Hg(e,t,r,i,a){return su(e,t,r,ib,us(e,0,i),us(e,i+1,-1),i,a)}function qh(e,t){for(var r="",i=0;i<e.length;i++)r+=t(e[i],i,e,t)||"";return r}function mL(e,t,r,i){switch(e.type){case ab:if(e.children.length)break;case eL:case iL:case ib:return e.return=e.return||e.value;case ou:return"";case Rh:return e.return=e.value+"{"+qh(e.children,i)+"}";case rb:if(!Ki(e.value=e.props.join(",")))return""}return Ki(r=qh(e.children,i))?e.return=e.value+"{"+r+"}":""}function yL(e){var t=sb(e);return function(r,i,a,o){for(var s="",n=0;n<t;n++)s+=e[n](r,i,a,o)||"";return s}}var lb="c4",xL=b(e=>/^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(e),"detector"),bL=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./CV7aDOaJ.js");return{diagram:t}},__vite__mapDeps([11,12]),import.meta.url);return{id:lb,diagram:e}},"loader"),CL={id:lb,detector:xL,loader:bL},wL=CL,cb="flowchart-v2",kL=b(e=>/^\s*(graph|flowchart)/.test(e),"detector"),SL=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./CU9XHYHQ.js").then(r=>r.f);return{diagram:t}},__vite__mapDeps([13,14,15,16,12,17,18,19,20,3,4,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,6,48,49,50,51,52,53,54]),import.meta.url);return{id:cb,diagram:e}},"loader"),vL={id:cb,detector:kL,loader:SL},ML=vL,hb="agentflow",TL=b(e=>/^\s*agentflow-beta\b/.test(e),"detector"),BL=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./BC4m0ek2.js");return{diagram:t}},__vite__mapDeps([55,14,15,16,12,17,18,19,20,3,4,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,6,48,49,50,51,52,53,54]),import.meta.url);return{id:hb,diagram:e}},"loader"),_L={id:hb,detector:TL,loader:BL},LL=_L,db="swimlane",AL=b(e=>/^\s*swimlane-beta\b/.test(e),"detector"),FL=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./_zYQ1N4x.js");return{diagram:t}},__vite__mapDeps([56,13,14,15,16,12,17,18,19,20,3,4,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,6,48,49,50,51,52,53,54]),import.meta.url);return{id:db,diagram:e}},"loader"),$L={id:db,detector:AL,loader:FL},EL=$L,ub="er",PL=b(e=>/^\s*erDiagram/.test(e),"detector"),IL=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./DJSbaLBj.js");return{diagram:t}},__vite__mapDeps([57,15,16]),import.meta.url);return{id:ub,diagram:e}},"loader"),OL={id:ub,detector:PL,loader:IL},RL=OL,fb="gitGraph",DL=b(e=>/^\s*gitGraph/.test(e),"detector"),NL=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./mNy9r7LX.js");return{diagram:t}},__vite__mapDeps([58,59,60,61,3,4]),import.meta.url);return{id:fb,diagram:e}},"loader"),qL={id:fb,detector:DL,loader:NL},WL=qL,gb="gantt",zL=b(e=>/^\s*gantt/.test(e),"detector"),HL=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./DiTnb1P-.js");return{diagram:t}},__vite__mapDeps([62,6,63]),import.meta.url);return{id:gb,diagram:e}},"loader"),YL={id:gb,detector:zL,loader:HL},XL=YL,pb="info",jL=b(e=>/^\s*info/.test(e),"detector"),GL=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./Cj01MC7B.js");return{diagram:t}},__vite__mapDeps([64,61,3,4]),import.meta.url);return{id:pb,diagram:e}},"loader"),UL={id:pb,detector:jL,loader:GL},mb="pie",VL=b(e=>/^\s*pie/.test(e),"detector"),ZL=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./BxiYmwg2.js");return{diagram:t}},__vite__mapDeps([65,60,61,3,4,63]),import.meta.url);return{id:mb,diagram:e}},"loader"),KL={id:mb,detector:VL,loader:ZL},yb="quadrantChart",QL=b(e=>/^\s*quadrantChart/.test(e),"detector"),JL=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./3AB6s4tE.js");return{diagram:t}},__vite__mapDeps([66,63]),import.meta.url);return{id:yb,diagram:e}},"loader"),tA={id:yb,detector:QL,loader:JL},eA=tA,xb="xychart",rA=b(e=>/^\s*xychart(-beta)?/.test(e),"detector"),iA=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./DBunkriw.js");return{diagram:t}},__vite__mapDeps([67,63]),import.meta.url);return{id:xb,diagram:e}},"loader"),aA={id:xb,detector:rA,loader:iA},oA=aA,bb="requirement",sA=b(e=>/^\s*requirement(Diagram)?/.test(e),"detector"),nA=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./fRLs4n3O.js");return{diagram:t}},__vite__mapDeps([68,15,16]),import.meta.url);return{id:bb,diagram:e}},"loader"),lA={id:bb,detector:sA,loader:nA},cA=lA,Cb="sequence",hA=b(e=>/^\s*sequenceDiagram/.test(e),"detector"),dA=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./eTOAo4LX.js");return{diagram:t}},__vite__mapDeps([69,59,12]),import.meta.url);return{id:Cb,diagram:e}},"loader"),uA={id:Cb,detector:hA,loader:dA},fA=uA,wb="classDiagram",gA=b(e=>/^\s*classDiagram/.test(e),"detector"),pA=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./CH3vrkAm.js");return{diagram:t}},__vite__mapDeps([70,14,15,16,12,17,18,19,20,3,4,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,6,48,49,50,51,52,53,54]),import.meta.url);return{id:wb,diagram:e}},"loader"),mA={id:wb,detector:gA,loader:pA},yA=mA,kb="stateDiagram",xA=b(e=>/^\s*stateDiagram/.test(e),"detector"),bA=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./DYlIySpa.js");return{diagram:t}},__vite__mapDeps([71,15,16,12,17,18,19,20,3,4,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,6,48,49,50,51,52,53,54]),import.meta.url);return{id:kb,diagram:e}},"loader"),CA={id:kb,detector:xA,loader:bA},wA=CA,Sb="journey",kA=b(e=>/^\s*journey/.test(e),"detector"),SA=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./t5zcSjIO.js");return{diagram:t}},__vite__mapDeps([72,14,12]),import.meta.url);return{id:Sb,diagram:e}},"loader"),vA={id:Sb,detector:kA,loader:SA},MA=vA,In=4,Es=75,TA=b(e=>{const t=[];for(const a of e.split(/\s+/)){let o=[...a];for(;o.length>Es;)t.push(o.slice(0,Es).join("")),o=o.slice(Es);o.length>0&&t.push(o.join(""))}const r=[];let i="";for(const a of t){const o=i?`${i} ${a}`:a;[...o].length>Es?(r.push(i),i=a):i=o}if(i&&r.push(i),r.length>In){r.length=In;const a=r[In-1]??"";r[In-1]=`${[...a].slice(0,Es-3).join("")}...`}return r},"wrapErrorMessage"),BA=b((e,t,r,i)=>{Tt.debug(`rendering svg for syntax error
302
- `);const a=J_(t),o=a.append("g"),s=TA(i?.db.getErrorMessage?.()??""),n=s.length>0?500+s.length*56:512;a.attr("viewBox",`0 0 2412 ${n}`),Gp(a,100,n,!0),o.append("path").attr("class","error-icon").attr("d","m411.313,123.313c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32-9.375,9.375-20.688-20.688c-12.484-12.5-32.766-12.5-45.25,0l-16,16c-1.261,1.261-2.304,2.648-3.31,4.051-21.739-8.561-45.324-13.426-70.065-13.426-105.867,0-192,86.133-192,192s86.133,192 192,192 192-86.133 192-192c0-24.741-4.864-48.327-13.426-70.065 1.402-1.007 2.79-2.049 4.051-3.31l16-16c12.5-12.492 12.5-32.758 0-45.25l-20.688-20.688 9.375-9.375 32.001-31.999zm-219.313,100.687c-52.938,0-96,43.063-96,96 0,8.836-7.164,16-16,16s-16-7.164-16-16c0-70.578 57.422-128 128-128 8.836,0 16,7.164 16,16s-7.164,16-16,16z"),o.append("path").attr("class","error-icon").attr("d","m459.02,148.98c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l16,16c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16.001-16z"),o.append("path").attr("class","error-icon").attr("d","m340.395,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16-16c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l15.999,16z"),o.append("path").attr("class","error-icon").attr("d","m400,64c8.844,0 16-7.164 16-16v-32c0-8.836-7.156-16-16-16-8.844,0-16,7.164-16,16v32c0,8.836 7.156,16 16,16z"),o.append("path").attr("class","error-icon").attr("d","m496,96.586h-32c-8.844,0-16,7.164-16,16 0,8.836 7.156,16 16,16h32c8.844,0 16-7.164 16-16 0-8.836-7.156-16-16-16z"),o.append("path").attr("class","error-icon").attr("d","m436.98,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688l32-32c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32c-6.251,6.25-6.251,16.375-0.001,22.625z"),o.append("text").attr("class","error-text").attr("x",1440).attr("y",250).attr("font-size","150px").style("text-anchor","middle").text("Syntax error in text"),o.append("text").attr("class","error-text").attr("x",1250).attr("y",400).attr("font-size","100px").style("text-anchor","middle").text(`mermaid version ${r}`),s.forEach((l,c)=>{o.append("text").attr("class","error-text").attr("x",1440).attr("y",510+c*56).attr("font-size","42px").style("text-anchor","middle").text(l)})},"draw"),vb={draw:BA},_A=vb,Kc,LA={clear(){Kc=void 0},setErrorMessage(e){Kc=e},getErrorMessage(){return Kc}},AA={db:LA,renderer:vb,parser:{parse:b(()=>{},"parse")}},FA=AA,Mb="flowchart-elk",$A=b((e,t={})=>/^\s*flowchart-elk/.test(e)?(t.layout="elk",!0):!1,"detector"),EA=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./CU9XHYHQ.js").then(r=>r.f);return{diagram:t}},__vite__mapDeps([13,14,15,16,12,17,18,19,20,3,4,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,6,48,49,50,51,52,53,54]),import.meta.url);return{id:Mb,diagram:e}},"loader"),PA={id:Mb,detector:$A,loader:EA},IA=PA,Tb="timeline",OA=b(e=>/^\s*timeline/.test(e),"detector"),RA=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./BGxwES8N.js");return{diagram:t}},[],import.meta.url);return{id:Tb,diagram:e}},"loader"),DA={id:Tb,detector:OA,loader:RA},NA=DA,Bb="mindmap",qA=b(e=>/^\s*mindmap/.test(e),"detector"),WA=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./BIW9BxTL.js");return{diagram:t}},__vite__mapDeps([73,15,16]),import.meta.url);return{id:Bb,diagram:e}},"loader"),zA={id:Bb,detector:qA,loader:WA},HA=zA,_b="kanban",YA=b(e=>/^\s*kanban/.test(e),"detector"),XA=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./O-VmbRsR.js");return{diagram:t}},__vite__mapDeps([74,14]),import.meta.url);return{id:_b,diagram:e}},"loader"),jA={id:_b,detector:YA,loader:XA},GA=jA,Lb="sankey",UA=b(e=>/^\s*sankey(-beta)?/.test(e),"detector"),VA=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./D6ufKi8g.js");return{diagram:t}},__vite__mapDeps([75,63]),import.meta.url);return{id:Lb,diagram:e}},"loader"),ZA={id:Lb,detector:UA,loader:VA},KA=ZA,Ab="packet",QA=b(e=>/^\s*packet(-beta)?/.test(e),"detector"),JA=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./CjsX479D.js");return{diagram:t}},__vite__mapDeps([76,60,61,3,4]),import.meta.url);return{id:Ab,diagram:e}},"loader"),t5={id:Ab,detector:QA,loader:JA},Fb="radar",e5=b(e=>/^\s*radar-beta/.test(e),"detector"),r5=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./BBY6C0IK.js");return{diagram:t}},__vite__mapDeps([77,60,61,3,4]),import.meta.url);return{id:Fb,diagram:e}},"loader"),i5={id:Fb,detector:e5,loader:r5},$b="block",a5=b(e=>/^\s*block(-beta)?/.test(e),"detector"),o5=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./D-KeFJd1.js");return{diagram:t}},__vite__mapDeps([78,14,5]),import.meta.url);return{id:$b,diagram:e}},"loader"),s5={id:$b,detector:a5,loader:o5},n5=s5,Eb="treeView",l5=b(e=>/^\s*treeView-beta/.test(e),"detector"),c5=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./D6l7oMHI.js");return{diagram:t}},__vite__mapDeps([79,59,60,61,3,4]),import.meta.url);return{id:Eb,diagram:e}},"loader"),h5={id:Eb,detector:l5,loader:c5},d5=h5,Pb="architecture",u5=b(e=>/^\s*architecture/.test(e),"detector"),f5=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./BkJEcisi.js");return{diagram:t}},__vite__mapDeps([80,60,61,3,4,10,6]),import.meta.url);return{id:Pb,diagram:e}},"loader"),g5={id:Pb,detector:u5,loader:f5},p5=g5,Ib="eventmodeling",m5=b(e=>/^\s*eventmodeling/.test(e),"detector"),y5=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./Bwp_IhBH.js");return{diagram:t}},__vite__mapDeps([81,60,61,3,4]),import.meta.url);return{id:Ib,diagram:e}},"loader"),x5={id:Ib,detector:m5,loader:y5},b5=x5,Ob="ishikawa",C5=b(e=>/^\s*ishikawa(-beta)?\b/i.test(e),"detector"),w5=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./ox9Bg2sp.js");return{diagram:t}},[],import.meta.url);return{id:Ob,diagram:e}},"loader"),k5={id:Ob,detector:C5,loader:w5},Rb="venn",S5=b(e=>/^\s*venn-beta/.test(e),"detector"),v5=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./K0eFxcR7.js");return{diagram:t}},[],import.meta.url);return{id:Rb,diagram:e}},"loader"),M5={id:Rb,detector:S5,loader:v5},T5=M5,Db="treemap",B5=b(e=>/^\s*treemap/.test(e),"detector"),_5=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./8nZ72cNt.js");return{diagram:t}},__vite__mapDeps([82,16,60,61,3,4,63]),import.meta.url);return{id:Db,diagram:e}},"loader"),L5={id:Db,detector:B5,loader:_5},Nb="usecase",A5=b(e=>/^\s*usecase-beta(?:\s|$)/.test(e),"detector"),F5=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./B9O8hRmi.js");return{diagram:t}},__vite__mapDeps([83,15,16]),import.meta.url);return{id:Nb,diagram:e}},"loader"),$5={id:Nb,detector:A5,loader:F5},qb="wardley",E5=b(e=>/^\s*wardley-beta/i.test(e),"detector"),P5=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./B1qx8JJ_.js");return{diagram:t}},__vite__mapDeps([84,60,61,3,4]),import.meta.url);return{id:qb,diagram:e}},"loader"),I5={id:qb,detector:E5,loader:P5},O5=I5,Wb="cynefin",R5=b(e=>/^\s*cynefin-beta(?:[\s:]|$)/.test(e),"detector"),D5=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./DKhiTKbW.js");return{diagram:t}},__vite__mapDeps([85,60,61,3,4]),import.meta.url);return{id:Wb,diagram:e}},"loader"),N5={id:Wb,detector:R5,loader:D5},zb="railroad",q5=b(e=>/^\s*railroad-beta/i.test(e),"detector"),W5=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./B0YUMwLM.js");return{diagram:t}},__vite__mapDeps([86,87,60,61,3,4]),import.meta.url);return{id:zb,diagram:e}},"loader"),z5={id:zb,detector:q5,loader:W5},Hb="railroadEbnf",H5=b(e=>/^\s*railroad-ebnf-beta/i.test(e),"detector"),Y5=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./BgOcyw2D.js");return{diagram:t}},__vite__mapDeps([88,87,60,61,3,4]),import.meta.url);return{id:Hb,diagram:e}},"loader"),X5={id:Hb,detector:H5,loader:Y5},Yb="railroadAbnf",j5=b(e=>/^\s*railroad-abnf-beta/i.test(e),"detector"),G5=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./BAFq1AFI.js");return{diagram:t}},__vite__mapDeps([89,87,60,61,3,4]),import.meta.url);return{id:Yb,diagram:e}},"loader"),U5={id:Yb,detector:j5,loader:G5},Xb="railroadPeg",V5=b(e=>/^\s*railroad-peg-beta/i.test(e),"detector"),Z5=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./YCf9YQ0d.js");return{diagram:t}},__vite__mapDeps([90,87,60,61,3,4]),import.meta.url);return{id:Xb,diagram:e}},"loader"),K5={id:Xb,detector:V5,loader:Z5},Yg=!1,Kl=b(()=>{Yg||(Yg=!0,cl("error",FA,e=>e.toLowerCase().trim()==="error"),cl("---",{db:{clear:b(()=>{},"clear")},styles:{},renderer:{draw:b(()=>{},"draw")},parser:{parse:b(()=>{throw new Error("Diagrams beginning with --- are not valid. If you were trying to use a YAML front-matter, please ensure that you've correctly opened and closed the YAML front-matter with un-indented `---` blocks")},"parse")},init:b(()=>null,"init")},e=>e.toLowerCase().trimStart().startsWith("---")),hh(IA,HA,p5),hh(LL,wL,GA,yA,RL,XL,UL,KL,cA,fA,EL,ML,NA,WL,wA,MA,eA,KA,t5,oA,n5,b5,d5,i5,k5,L5,z5,X5,U5,K5,T5,O5,N5,$5))},"addDiagrams"),Q5=b(async()=>{Tt.debug("Loading registered diagrams");const t=(await Promise.allSettled(Object.entries(yo).map(async([r,{detector:i,loader:a}])=>{if(a)try{ph(r)}catch{try{const{diagram:o,id:s}=await a();cl(s,o,i)}catch(o){throw Tt.error(`Failed to load external diagram with key ${r}. Removing from detectors.`),delete yo[r],o}}}))).filter(r=>r.status==="rejected");if(t.length>0){Tt.error(`Failed to load ${t.length} external diagrams`);for(const r of t)Tt.error(r);throw new Error(`Failed to load ${t.length} external diagrams`)}},"loadRegisteredDiagrams"),J5="graphics-document document";function jb(e,t){e.attr("role",J5),t!==""&&e.attr("aria-roledescription",t)}b(jb,"setA11yDiagramInfo");function Gb(e,t,r,i){if(e.insert!==void 0){if(r){const a=`chart-desc-${i}`;e.attr("aria-describedby",a),e.insert("desc",":first-child").attr("id",a).text(r)}if(t){const a=`chart-title-${i}`;e.attr("aria-labelledby",a),e.insert("title",":first-child").attr("id",a).text(t)}}}b(Gb,"addSVGa11yTitleDescription");var mo,Fl=(mo=class{constructor(t,r,i,a,o){this.type=t,this.text=r,this.db=i,this.parser=a,this.renderer=o}static async fromText(t,r={}){const i=typeof t=="string"?{cleaned:t}:t,a=Tr(),o=Ol(i.cleaned,a);try{ph(o)}catch{const u=JC(o);if(!u)throw new Pp(`Diagram ${o} not found.`);const{id:f,diagram:p}=await u();cl(f,p)}const{db:s,parser:n,renderer:l,init:c}=ph(o);n.parser&&(n.parser.yy=s),s.clear?.(),c?.(a),r.title&&s.setDiagramTitle?.(r.title);let h=i.cleaned;if(s.preserveCommentsWhenParsing&&i.withComments){const u=a.maxTextSize??ud.maxTextSize;i.withComments.length>u?Tt.warn(`Comment-preserving source exceeds maxTextSize (${i.withComments.length} > ${u}); parsing the comment-stripped text instead. Reported source positions will not account for comment lines.`):h=i.withComments}const d=oM(h)+`
301
+ L0,20`).attr("stroke-linejoin","miter")},"requirement_arrow_neo"),z_=b((e,t,r)=>{const i=e.append("defs").append("marker").attr("id",r+"_"+t+"-requirement_containsStart").attr("refX",0).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").append("g");i.append("circle").attr("cx",10).attr("cy",10).attr("r",9).attr("fill","none"),i.append("line").attr("x1",1).attr("x2",19).attr("y1",10).attr("y2",10),i.append("line").attr("y1",1).attr("y2",19).attr("x1",10).attr("x2",10)},"requirement_contains"),H_=b((e,t,r)=>{const i=Tr(),{themeVariables:a}=i,{strokeWidth:o}=a,s=e.append("defs").append("marker").attr("id",r+"_"+t+"-requirement_containsStart").attr("refX",0).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("g");s.append("circle").attr("cx",10).attr("cy",10).attr("r",9).attr("fill","none"),s.append("line").attr("x1",1).attr("x2",19).attr("y1",10).attr("y2",10),s.append("line").attr("y1",1).attr("y2",19).attr("x1",10).attr("x2",10),s.selectAll("*").attr("stroke-width",`${o}`)},"requirement_contains_neo"),Y_=b((e,t,r)=>{e.append("marker").attr("id",r+"_"+t+"-hierarchyEnd").attr("class","marker hierarchy "+t).attr("viewBox","0 0 12 10").attr("refX",10).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",10).attr("orient","auto").append("path").attr("d","M 0 0 L 6 5 L 0 10 M 4 0 L 10 5 L 4 10").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0").style("fill","none"),e.append("marker").attr("id",r+"_"+t+"-hierarchyStart").attr("class","marker hierarchy "+t).attr("viewBox","0 0 12 10").attr("refX",2).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",10).attr("orient","auto").append("path").attr("d","M 12 0 L 6 5 L 12 10 M 8 0 L 2 5 L 8 10").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0").style("fill","none")},"hierarchy"),X_=b((e,t,r)=>{e.append("marker").attr("id",r+"_"+t+"-openArrowEnd").attr("class","marker openArrow "+t).attr("viewBox","0 0 12 12").attr("refX",11).attr("refY",6).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 1 1 L 11 6 L 1 11").attr("class","arrowMarkerPath").style("stroke-width",1.4).style("stroke-linecap","round").style("stroke-linejoin","round").style("stroke-dasharray","1,0").style("fill","none"),e.append("marker").attr("id",r+"_"+t+"-openArrowStart").attr("class","marker openArrow "+t).attr("viewBox","0 0 12 12").attr("refX",1).attr("refY",6).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 11 1 L 1 6 L 11 11").attr("class","arrowMarkerPath").style("stroke-width",1.4).style("stroke-linecap","round").style("stroke-linejoin","round").style("stroke-dasharray","1,0").style("fill","none")},"openArrow"),j_=b((e,t,r)=>{e.append("marker").attr("id",r+"_"+t+"-hollowCircleStart").attr("class","marker hollowCircle "+t).attr("viewBox","0 0 10 10").attr("refX",0).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",10).attr("markerHeight",10).attr("orient","auto").append("circle").attr("cx",5).attr("cy",5).attr("r",3.6).attr("class","arrowMarkerPath").style("stroke-width",1.4).style("stroke-dasharray","1,0").style("fill","none"),e.append("marker").attr("id",r+"_"+t+"-hollowCircleEnd").attr("class","marker hollowCircle "+t).attr("viewBox","0 0 10 10").attr("refX",10).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",10).attr("markerHeight",10).attr("orient","auto").append("circle").attr("cx",5).attr("cy",5).attr("r",3.6).attr("class","arrowMarkerPath").style("stroke-width",1.4).style("stroke-dasharray","1,0").style("fill","none")},"hollowCircle"),G_={extension:k_,composition:S_,aggregation:v_,dependency:M_,lollipop:T_,point:B_,circle:__,cross:L_,barb:A_,barbNeo:F_,hierarchy:Y_,only_one:$_,zero_or_one:E_,one_or_more:P_,zero_or_more:I_,only_one_neo:O_,zero_or_one_neo:R_,one_or_more_neo:D_,zero_or_more_neo:N_,requirement_arrow:q_,requirement_contains:z_,requirement_arrow_neo:W_,requirement_contains_neo:H_,openArrow:X_,hollowCircle:j_},U_=w_,V_={common:hn,getConfig:Tr,insertCluster:BB,insertEdge:C_,insertEdgeLabel:u_,insertMarkers:U_,insertNode:O0,interpolateToCurve:$d,labelHelper:he,log:Tt,positionEdgeLabel:g_},Z_=["elk.stress","elk.force","elk.mrtree","elk.sporeOverlap","elk.box","elk.rectpacking"],an=Object.create(null),eb=b(e=>{for(const t of e)an[t.name]=t},"registerLayoutLoaders"),K_=b(()=>{const e=b(async()=>await Ge(()=>import("./DZE3URJN.js"),__vite__mapDeps([0,1,2,3,4,5,6]),import.meta.url),"loader");return[{name:"elk",loader:e,algorithm:"elk.layered"},...Z_.map(t=>({name:t,loader:e,algorithm:t}))]},"elkLayoutLoaders"),Q_=b(()=>{eb([{name:"dagre",loader:b(async()=>await Ge(()=>import("./CsQEs72A.js"),__vite__mapDeps([7,2,3,4,5]),import.meta.url),"loader")},{name:"swimlane",loader:b(async()=>await Ge(()=>import("./pAZeyaYi.js"),__vite__mapDeps([8,1,2,3,4,5]),import.meta.url),"loader")},{name:"cose-bilkent",loader:b(async()=>await Ge(()=>import("./CXIgxu2a.js"),__vite__mapDeps([9,10,6]),import.meta.url),"loader")},...K_()])},"registerDefaultLayoutLoaders");Q_();var eP=b(async(e,t)=>{if(!Object.hasOwn(an,e.layoutAlgorithm))throw new Error(`Unknown layout algorithm: ${e.layoutAlgorithm}`);if(e.diagramId)for(const o of e.nodes){const s=o.domId||o.id;o.domId=`${e.diagramId}-${s}`}const r=an[e.layoutAlgorithm],i=await r.loader();DC(t,e.config);const a=await i.render(e,t,V_,{algorithm:r.algorithm});return s_(t.node()),a},"render"),Vc="dagre",rP=b((e="",{fallback:t=Vc}={})=>{if(Object.hasOwn(an,e))return e;for(const r of[t,Vc])if(Object.hasOwn(an,r))return Tt.warn(`Layout algorithm ${e} is not registered. Using ${r} as fallback.`),r;throw new Error(`Neither layout algorithm ${e}, ${t}, nor ${Vc} is registered.`)},"getRegisteredLayoutAlgorithm"),J_=b(e=>{const{securityLevel:t}=Xe();let r=He("body");if(t==="sandbox"){const o=He(`#i${e}`).node()?.contentDocument??document;r=He(o.body)}return r.select(`#${e}`)},"selectSvgElement"),ou="comm",rb="rule",ib="decl",tL="@media",eL="@import",rL="@supports",iL="@namespace",Rh="@keyframes",ab="@layer",aL="@scope",oL=Math.abs,Ks=String.fromCharCode;function ob(e){return e.trim()}function Dh(e,t,r){return e.replace(t,r)}function Go(e,t){return e.charCodeAt(t)|0}function us(e,t,r){return e.slice(t,r)}function Ki(e){return e.length}function sb(e){return e.length}function Pn(e,t){return t.push(e),e}var Vl=1,fs=1,nb=0,_i=0,Pr=0,ws="";function su(e,t,r,i,a,o,s,n){return{value:e,root:t,parent:r,type:i,props:a,children:o,line:Vl,column:fs,length:s,return:"",siblings:n}}function sL(){return Pr}function nL(){return Pr=_i>0?Go(ws,--_i):0,fs--,Pr===10&&(fs=1,Vl--),Pr}function Di(){return Pr=_i<nb?Go(ws,_i++):0,fs++,Pr===10&&(fs=1,Vl++),Pr}function qa(){return Go(ws,_i)}function Jn(){return _i}function Zl(e,t){return us(ws,e,t)}function on(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function lL(e){return Vl=fs=1,nb=Ki(ws=e),_i=0,[]}function cL(e){return ws="",e}function Zc(e){return ob(Zl(_i-1,Nh(e===91?e+2:e===40?e+1:e)))}function hL(e){for(;(Pr=qa())&&Pr<33;)Di();return on(e)>2||on(Pr)>3?"":" "}function dL(e,t){for(;--t&&Di()&&!(Pr<48||Pr>102||Pr>57&&Pr<65||Pr>70&&Pr<97););return Zl(e,Jn()+(t<6&&qa()==32&&Di()==32))}function Nh(e){for(;Di();)switch(Pr){case e:return _i;case 34:case 39:e!==34&&e!==39&&Nh(Pr);break;case 40:e===41&&Nh(e);break;case 92:Di();break}return _i}function uL(e,t){for(;Di()&&e+Pr!==57;)if(e+Pr===84&&qa()===47)break;return"/*"+Zl(t,_i-1)+"*"+Ks(e===47?e:Di())}function fL(e){for(;!on(qa());)Di();return Zl(e,_i)}function gL(e){return cL(tl("",null,null,null,[""],e=lL(e),0,[0],e))}function tl(e,t,r,i,a,o,s,n,l){for(var c=0,h=0,d=s,u=0,f=0,p=0,g=1,m=1,y=1,x=0,C=0,k="",v=a,T=o,F=i,A=k;m;)switch(p=C,C=Di()){case 40:p!=108&&Go(A,d-1)==58?(x++,A+="("):A+=Zc(C);break;case 41:x--,A+=")";break;case 34:case 39:case 91:A+=Zc(C);break;case 9:case 10:case 13:case 32:if(x>0){A+=Ks(C);break}A+=hL(p);break;case 92:A+=dL(Jn()-1,7);continue;case 47:switch(qa()){case 42:case 47:Pn(pL(uL(Di(),Jn()),t,r,l),l),(on(p||1)==5||on(qa()||1)==5)&&Ki(A)&&us(A,-1,void 0)!==" "&&(A+=" ");break;default:A+="/"}break;case 123*g:n[c++]=Ki(A)*y;case 125*g:case 59:case 0:if(x>0&&C){A+=Ks(C);break}switch(C){case 0:case 125:m=0;case 59+h:y==-1&&(A=Dh(A,/\f/g,"")),f>0&&(Ki(A)-d||g===0)&&Pn(f>32?Hg(A+";",i,r,d-1,l):Hg(Dh(A," ","")+";",i,r,d-2,l),l);break;case 59:A+=";";default:if(Pn(F=zg(A,t,r,c,h,a,n,k,v=[],T=[],d,o),o),C===123)if(h===0)tl(A,t,F,F,v,o,d,n,T);else{switch(u){case 99:if(Go(A,3)===110)break;case 108:if(Go(A,2)===97)break;default:h=0;case 100:case 109:case 115:}h?tl(e,F,F,i&&Pn(zg(e,F,F,0,0,a,n,k,a,v=[],d,T),T),a,T,d,n,i?v:T):tl(A,F,F,F,[""],T,0,n,T)}}c=h=f=0,g=y=1,k=A="",d=s;break;case 58:d=1+Ki(A),f=p;default:if(g<1){if(C==123)--g;else if(C==125&&g++==0&&nL()==125)continue}switch(A+=Ks(C),C*g){case 38:y=h>0?1:(A+="\f",-1);break;case 44:if(x>0)break;n[c++]=(Ki(A)-1)*y,y=1;break;case 64:qa()===45&&(A+=Zc(Di())),u=qa(),h=d=Ki(k=A+=fL(Jn())),C++;break;case 45:p===45&&Ki(A)==2&&(g=0)}}return o}function zg(e,t,r,i,a,o,s,n,l,c,h,d){for(var u=a-1,f=a===0?o:[""],p=sb(f),g=0,m=0,y=0;g<i;++g)for(var x=0,C=us(e,u+1,u=oL(m=s[g])),k=e;x<p;++x)(k=ob(m>0?f[x]+" "+C:Dh(C,/&\f/g,f[x])))&&(l[y++]=k);return su(e,t,r,a===0?rb:n,l,c,h,d)}function pL(e,t,r,i){return su(e,t,r,ou,Ks(sL()),us(e,2,-2),0,i)}function Hg(e,t,r,i,a){return su(e,t,r,ib,us(e,0,i),us(e,i+1,-1),i,a)}function qh(e,t){for(var r="",i=0;i<e.length;i++)r+=t(e[i],i,e,t)||"";return r}function mL(e,t,r,i){switch(e.type){case ab:if(e.children.length)break;case eL:case iL:case ib:return e.return=e.return||e.value;case ou:return"";case Rh:return e.return=e.value+"{"+qh(e.children,i)+"}";case rb:if(!Ki(e.value=e.props.join(",")))return""}return Ki(r=qh(e.children,i))?e.return=e.value+"{"+r+"}":""}function yL(e){var t=sb(e);return function(r,i,a,o){for(var s="",n=0;n<t;n++)s+=e[n](r,i,a,o)||"";return s}}var lb="c4",xL=b(e=>/^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(e),"detector"),bL=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./D8zuzFHW.js");return{diagram:t}},__vite__mapDeps([11,12]),import.meta.url);return{id:lb,diagram:e}},"loader"),CL={id:lb,detector:xL,loader:bL},wL=CL,cb="flowchart-v2",kL=b(e=>/^\s*(graph|flowchart)/.test(e),"detector"),SL=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./DzaVJwKP.js").then(r=>r.f);return{diagram:t}},__vite__mapDeps([13,14,15,16,12,17,18,19,20,3,4,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,6,48,49,50,51,52,53,54]),import.meta.url);return{id:cb,diagram:e}},"loader"),vL={id:cb,detector:kL,loader:SL},ML=vL,hb="agentflow",TL=b(e=>/^\s*agentflow-beta\b/.test(e),"detector"),BL=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./CvyuoqmI.js");return{diagram:t}},__vite__mapDeps([55,14,15,16,12,17,18,19,20,3,4,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,6,48,49,50,51,52,53,54]),import.meta.url);return{id:hb,diagram:e}},"loader"),_L={id:hb,detector:TL,loader:BL},LL=_L,db="swimlane",AL=b(e=>/^\s*swimlane-beta\b/.test(e),"detector"),FL=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./DQQN34Q0.js");return{diagram:t}},__vite__mapDeps([56,13,14,15,16,12,17,18,19,20,3,4,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,6,48,49,50,51,52,53,54]),import.meta.url);return{id:db,diagram:e}},"loader"),$L={id:db,detector:AL,loader:FL},EL=$L,ub="er",PL=b(e=>/^\s*erDiagram/.test(e),"detector"),IL=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./C4zS7Es5.js");return{diagram:t}},__vite__mapDeps([57,15,16]),import.meta.url);return{id:ub,diagram:e}},"loader"),OL={id:ub,detector:PL,loader:IL},RL=OL,fb="gitGraph",DL=b(e=>/^\s*gitGraph/.test(e),"detector"),NL=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./DnpKDKHX.js");return{diagram:t}},__vite__mapDeps([58,59,60,61,3,4]),import.meta.url);return{id:fb,diagram:e}},"loader"),qL={id:fb,detector:DL,loader:NL},WL=qL,gb="gantt",zL=b(e=>/^\s*gantt/.test(e),"detector"),HL=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./ByuW8CQ3.js");return{diagram:t}},__vite__mapDeps([62,6,63]),import.meta.url);return{id:gb,diagram:e}},"loader"),YL={id:gb,detector:zL,loader:HL},XL=YL,pb="info",jL=b(e=>/^\s*info/.test(e),"detector"),GL=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./LUmI1RpP.js");return{diagram:t}},__vite__mapDeps([64,61,3,4]),import.meta.url);return{id:pb,diagram:e}},"loader"),UL={id:pb,detector:jL,loader:GL},mb="pie",VL=b(e=>/^\s*pie/.test(e),"detector"),ZL=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./BT4M00FE.js");return{diagram:t}},__vite__mapDeps([65,60,61,3,4,63]),import.meta.url);return{id:mb,diagram:e}},"loader"),KL={id:mb,detector:VL,loader:ZL},yb="quadrantChart",QL=b(e=>/^\s*quadrantChart/.test(e),"detector"),JL=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./DA9827Ou.js");return{diagram:t}},__vite__mapDeps([66,63]),import.meta.url);return{id:yb,diagram:e}},"loader"),tA={id:yb,detector:QL,loader:JL},eA=tA,xb="xychart",rA=b(e=>/^\s*xychart(-beta)?/.test(e),"detector"),iA=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./a4p9mH2a.js");return{diagram:t}},__vite__mapDeps([67,63]),import.meta.url);return{id:xb,diagram:e}},"loader"),aA={id:xb,detector:rA,loader:iA},oA=aA,bb="requirement",sA=b(e=>/^\s*requirement(Diagram)?/.test(e),"detector"),nA=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./9HsXeNBx.js");return{diagram:t}},__vite__mapDeps([68,15,16]),import.meta.url);return{id:bb,diagram:e}},"loader"),lA={id:bb,detector:sA,loader:nA},cA=lA,Cb="sequence",hA=b(e=>/^\s*sequenceDiagram/.test(e),"detector"),dA=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./C3YthNht.js");return{diagram:t}},__vite__mapDeps([69,59,12]),import.meta.url);return{id:Cb,diagram:e}},"loader"),uA={id:Cb,detector:hA,loader:dA},fA=uA,wb="classDiagram",gA=b(e=>/^\s*classDiagram/.test(e),"detector"),pA=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./D0_C6Y6w.js");return{diagram:t}},__vite__mapDeps([70,14,15,16,12,17,18,19,20,3,4,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,6,48,49,50,51,52,53,54]),import.meta.url);return{id:wb,diagram:e}},"loader"),mA={id:wb,detector:gA,loader:pA},yA=mA,kb="stateDiagram",xA=b(e=>/^\s*stateDiagram/.test(e),"detector"),bA=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./iteVAcc8.js");return{diagram:t}},__vite__mapDeps([71,15,16,12,17,18,19,20,3,4,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,6,48,49,50,51,52,53,54]),import.meta.url);return{id:kb,diagram:e}},"loader"),CA={id:kb,detector:xA,loader:bA},wA=CA,Sb="journey",kA=b(e=>/^\s*journey/.test(e),"detector"),SA=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./BsJepqY8.js");return{diagram:t}},__vite__mapDeps([72,14,12]),import.meta.url);return{id:Sb,diagram:e}},"loader"),vA={id:Sb,detector:kA,loader:SA},MA=vA,In=4,Es=75,TA=b(e=>{const t=[];for(const a of e.split(/\s+/)){let o=[...a];for(;o.length>Es;)t.push(o.slice(0,Es).join("")),o=o.slice(Es);o.length>0&&t.push(o.join(""))}const r=[];let i="";for(const a of t){const o=i?`${i} ${a}`:a;[...o].length>Es?(r.push(i),i=a):i=o}if(i&&r.push(i),r.length>In){r.length=In;const a=r[In-1]??"";r[In-1]=`${[...a].slice(0,Es-3).join("")}...`}return r},"wrapErrorMessage"),BA=b((e,t,r,i)=>{Tt.debug(`rendering svg for syntax error
302
+ `);const a=J_(t),o=a.append("g"),s=TA(i?.db.getErrorMessage?.()??""),n=s.length>0?500+s.length*56:512;a.attr("viewBox",`0 0 2412 ${n}`),Gp(a,100,n,!0),o.append("path").attr("class","error-icon").attr("d","m411.313,123.313c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32-9.375,9.375-20.688-20.688c-12.484-12.5-32.766-12.5-45.25,0l-16,16c-1.261,1.261-2.304,2.648-3.31,4.051-21.739-8.561-45.324-13.426-70.065-13.426-105.867,0-192,86.133-192,192s86.133,192 192,192 192-86.133 192-192c0-24.741-4.864-48.327-13.426-70.065 1.402-1.007 2.79-2.049 4.051-3.31l16-16c12.5-12.492 12.5-32.758 0-45.25l-20.688-20.688 9.375-9.375 32.001-31.999zm-219.313,100.687c-52.938,0-96,43.063-96,96 0,8.836-7.164,16-16,16s-16-7.164-16-16c0-70.578 57.422-128 128-128 8.836,0 16,7.164 16,16s-7.164,16-16,16z"),o.append("path").attr("class","error-icon").attr("d","m459.02,148.98c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l16,16c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16.001-16z"),o.append("path").attr("class","error-icon").attr("d","m340.395,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16-16c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l15.999,16z"),o.append("path").attr("class","error-icon").attr("d","m400,64c8.844,0 16-7.164 16-16v-32c0-8.836-7.156-16-16-16-8.844,0-16,7.164-16,16v32c0,8.836 7.156,16 16,16z"),o.append("path").attr("class","error-icon").attr("d","m496,96.586h-32c-8.844,0-16,7.164-16,16 0,8.836 7.156,16 16,16h32c8.844,0 16-7.164 16-16 0-8.836-7.156-16-16-16z"),o.append("path").attr("class","error-icon").attr("d","m436.98,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688l32-32c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32c-6.251,6.25-6.251,16.375-0.001,22.625z"),o.append("text").attr("class","error-text").attr("x",1440).attr("y",250).attr("font-size","150px").style("text-anchor","middle").text("Syntax error in text"),o.append("text").attr("class","error-text").attr("x",1250).attr("y",400).attr("font-size","100px").style("text-anchor","middle").text(`mermaid version ${r}`),s.forEach((l,c)=>{o.append("text").attr("class","error-text").attr("x",1440).attr("y",510+c*56).attr("font-size","42px").style("text-anchor","middle").text(l)})},"draw"),vb={draw:BA},_A=vb,Kc,LA={clear(){Kc=void 0},setErrorMessage(e){Kc=e},getErrorMessage(){return Kc}},AA={db:LA,renderer:vb,parser:{parse:b(()=>{},"parse")}},FA=AA,Mb="flowchart-elk",$A=b((e,t={})=>/^\s*flowchart-elk/.test(e)?(t.layout="elk",!0):!1,"detector"),EA=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./DzaVJwKP.js").then(r=>r.f);return{diagram:t}},__vite__mapDeps([13,14,15,16,12,17,18,19,20,3,4,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,6,48,49,50,51,52,53,54]),import.meta.url);return{id:Mb,diagram:e}},"loader"),PA={id:Mb,detector:$A,loader:EA},IA=PA,Tb="timeline",OA=b(e=>/^\s*timeline/.test(e),"detector"),RA=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./GLaUdcVG.js");return{diagram:t}},[],import.meta.url);return{id:Tb,diagram:e}},"loader"),DA={id:Tb,detector:OA,loader:RA},NA=DA,Bb="mindmap",qA=b(e=>/^\s*mindmap/.test(e),"detector"),WA=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./iI3ATVN9.js");return{diagram:t}},__vite__mapDeps([73,15,16]),import.meta.url);return{id:Bb,diagram:e}},"loader"),zA={id:Bb,detector:qA,loader:WA},HA=zA,_b="kanban",YA=b(e=>/^\s*kanban/.test(e),"detector"),XA=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./Ccyhl2kf.js");return{diagram:t}},__vite__mapDeps([74,14]),import.meta.url);return{id:_b,diagram:e}},"loader"),jA={id:_b,detector:YA,loader:XA},GA=jA,Lb="sankey",UA=b(e=>/^\s*sankey(-beta)?/.test(e),"detector"),VA=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./BeQsg97d.js");return{diagram:t}},__vite__mapDeps([75,63]),import.meta.url);return{id:Lb,diagram:e}},"loader"),ZA={id:Lb,detector:UA,loader:VA},KA=ZA,Ab="packet",QA=b(e=>/^\s*packet(-beta)?/.test(e),"detector"),JA=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./COHkleOL.js");return{diagram:t}},__vite__mapDeps([76,60,61,3,4]),import.meta.url);return{id:Ab,diagram:e}},"loader"),t5={id:Ab,detector:QA,loader:JA},Fb="radar",e5=b(e=>/^\s*radar-beta/.test(e),"detector"),r5=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./AI_b5jlG.js");return{diagram:t}},__vite__mapDeps([77,60,61,3,4]),import.meta.url);return{id:Fb,diagram:e}},"loader"),i5={id:Fb,detector:e5,loader:r5},$b="block",a5=b(e=>/^\s*block(-beta)?/.test(e),"detector"),o5=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./CkeU3F3D.js");return{diagram:t}},__vite__mapDeps([78,14,5]),import.meta.url);return{id:$b,diagram:e}},"loader"),s5={id:$b,detector:a5,loader:o5},n5=s5,Eb="treeView",l5=b(e=>/^\s*treeView-beta/.test(e),"detector"),c5=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./Br8Z_nmS.js");return{diagram:t}},__vite__mapDeps([79,59,60,61,3,4]),import.meta.url);return{id:Eb,diagram:e}},"loader"),h5={id:Eb,detector:l5,loader:c5},d5=h5,Pb="architecture",u5=b(e=>/^\s*architecture/.test(e),"detector"),f5=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./DV6BiHtA.js");return{diagram:t}},__vite__mapDeps([80,60,61,3,4,10,6]),import.meta.url);return{id:Pb,diagram:e}},"loader"),g5={id:Pb,detector:u5,loader:f5},p5=g5,Ib="eventmodeling",m5=b(e=>/^\s*eventmodeling/.test(e),"detector"),y5=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./Cn5zzBrS.js");return{diagram:t}},__vite__mapDeps([81,60,61,3,4]),import.meta.url);return{id:Ib,diagram:e}},"loader"),x5={id:Ib,detector:m5,loader:y5},b5=x5,Ob="ishikawa",C5=b(e=>/^\s*ishikawa(-beta)?\b/i.test(e),"detector"),w5=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./v5Ulh8Hm.js");return{diagram:t}},[],import.meta.url);return{id:Ob,diagram:e}},"loader"),k5={id:Ob,detector:C5,loader:w5},Rb="venn",S5=b(e=>/^\s*venn-beta/.test(e),"detector"),v5=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./DrYvitBx.js");return{diagram:t}},[],import.meta.url);return{id:Rb,diagram:e}},"loader"),M5={id:Rb,detector:S5,loader:v5},T5=M5,Db="treemap",B5=b(e=>/^\s*treemap/.test(e),"detector"),_5=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./C490-vcB.js");return{diagram:t}},__vite__mapDeps([82,16,60,61,3,4,63]),import.meta.url);return{id:Db,diagram:e}},"loader"),L5={id:Db,detector:B5,loader:_5},Nb="usecase",A5=b(e=>/^\s*usecase-beta(?:\s|$)/.test(e),"detector"),F5=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./xpVEpcY9.js");return{diagram:t}},__vite__mapDeps([83,15,16]),import.meta.url);return{id:Nb,diagram:e}},"loader"),$5={id:Nb,detector:A5,loader:F5},qb="wardley",E5=b(e=>/^\s*wardley-beta/i.test(e),"detector"),P5=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./B7TRhc1v.js");return{diagram:t}},__vite__mapDeps([84,60,61,3,4]),import.meta.url);return{id:qb,diagram:e}},"loader"),I5={id:qb,detector:E5,loader:P5},O5=I5,Wb="cynefin",R5=b(e=>/^\s*cynefin-beta(?:[\s:]|$)/.test(e),"detector"),D5=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./B4deWBhm.js");return{diagram:t}},__vite__mapDeps([85,60,61,3,4]),import.meta.url);return{id:Wb,diagram:e}},"loader"),N5={id:Wb,detector:R5,loader:D5},zb="railroad",q5=b(e=>/^\s*railroad-beta/i.test(e),"detector"),W5=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./ETQYVXfv.js");return{diagram:t}},__vite__mapDeps([86,87,60,61,3,4]),import.meta.url);return{id:zb,diagram:e}},"loader"),z5={id:zb,detector:q5,loader:W5},Hb="railroadEbnf",H5=b(e=>/^\s*railroad-ebnf-beta/i.test(e),"detector"),Y5=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./D7XO4i7w.js");return{diagram:t}},__vite__mapDeps([88,87,60,61,3,4]),import.meta.url);return{id:Hb,diagram:e}},"loader"),X5={id:Hb,detector:H5,loader:Y5},Yb="railroadAbnf",j5=b(e=>/^\s*railroad-abnf-beta/i.test(e),"detector"),G5=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./CDYDn5lR.js");return{diagram:t}},__vite__mapDeps([89,87,60,61,3,4]),import.meta.url);return{id:Yb,diagram:e}},"loader"),U5={id:Yb,detector:j5,loader:G5},Xb="railroadPeg",V5=b(e=>/^\s*railroad-peg-beta/i.test(e),"detector"),Z5=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./DF6fRPMU.js");return{diagram:t}},__vite__mapDeps([90,87,60,61,3,4]),import.meta.url);return{id:Xb,diagram:e}},"loader"),K5={id:Xb,detector:V5,loader:Z5},Yg=!1,Kl=b(()=>{Yg||(Yg=!0,cl("error",FA,e=>e.toLowerCase().trim()==="error"),cl("---",{db:{clear:b(()=>{},"clear")},styles:{},renderer:{draw:b(()=>{},"draw")},parser:{parse:b(()=>{throw new Error("Diagrams beginning with --- are not valid. If you were trying to use a YAML front-matter, please ensure that you've correctly opened and closed the YAML front-matter with un-indented `---` blocks")},"parse")},init:b(()=>null,"init")},e=>e.toLowerCase().trimStart().startsWith("---")),hh(IA,HA,p5),hh(LL,wL,GA,yA,RL,XL,UL,KL,cA,fA,EL,ML,NA,WL,wA,MA,eA,KA,t5,oA,n5,b5,d5,i5,k5,L5,z5,X5,U5,K5,T5,O5,N5,$5))},"addDiagrams"),Q5=b(async()=>{Tt.debug("Loading registered diagrams");const t=(await Promise.allSettled(Object.entries(yo).map(async([r,{detector:i,loader:a}])=>{if(a)try{ph(r)}catch{try{const{diagram:o,id:s}=await a();cl(s,o,i)}catch(o){throw Tt.error(`Failed to load external diagram with key ${r}. Removing from detectors.`),delete yo[r],o}}}))).filter(r=>r.status==="rejected");if(t.length>0){Tt.error(`Failed to load ${t.length} external diagrams`);for(const r of t)Tt.error(r);throw new Error(`Failed to load ${t.length} external diagrams`)}},"loadRegisteredDiagrams"),J5="graphics-document document";function jb(e,t){e.attr("role",J5),t!==""&&e.attr("aria-roledescription",t)}b(jb,"setA11yDiagramInfo");function Gb(e,t,r,i){if(e.insert!==void 0){if(r){const a=`chart-desc-${i}`;e.attr("aria-describedby",a),e.insert("desc",":first-child").attr("id",a).text(r)}if(t){const a=`chart-title-${i}`;e.attr("aria-labelledby",a),e.insert("title",":first-child").attr("id",a).text(t)}}}b(Gb,"addSVGa11yTitleDescription");var mo,Fl=(mo=class{constructor(t,r,i,a,o){this.type=t,this.text=r,this.db=i,this.parser=a,this.renderer=o}static async fromText(t,r={}){const i=typeof t=="string"?{cleaned:t}:t,a=Tr(),o=Ol(i.cleaned,a);try{ph(o)}catch{const u=JC(o);if(!u)throw new Pp(`Diagram ${o} not found.`);const{id:f,diagram:p}=await u();cl(f,p)}const{db:s,parser:n,renderer:l,init:c}=ph(o);n.parser&&(n.parser.yy=s),s.clear?.(),c?.(a),r.title&&s.setDiagramTitle?.(r.title);let h=i.cleaned;if(s.preserveCommentsWhenParsing&&i.withComments){const u=a.maxTextSize??ud.maxTextSize;i.withComments.length>u?Tt.warn(`Comment-preserving source exceeds maxTextSize (${i.withComments.length} > ${u}); parsing the comment-stripped text instead. Reported source positions will not account for comment lines.`):h=i.withComments}const d=oM(h)+`
303
303
  `;return i.frontmatterLineOffset&&s.setFrontmatterLineOffset?.(i.frontmatterLineOffset),await n.parse(d),new mo(o,d,s,n,l)}async render(t,r){await this.renderer.draw(this.text,t,r,this)}getParser(){return this.parser}getType(){return this.type}},b(mo,"Diagram"),mo),Xg=[],tF=b(()=>{Xg.forEach(e=>{e()}),Xg=[]},"attachFunctions"),eF=b(e=>e.replace(/^\s*%%(?!{)[^\n]+\n?/gm,"").trimStart(),"cleanupComments");function Ub(e){const t=Ep(e);if(!t)return{text:e,metadata:{}};const r=t.indent,i=r?t.body.split(`
304
304
  `).map(s=>s.startsWith(r)?s.slice(r.length):s).join(`
305
305
  `):t.body;let a=RC(i,{schema:OC})??{};a=typeof a=="object"&&!Array.isArray(a)?a:{};const o={};return a.displayMode&&(o.displayMode=a.displayMode.toString()),a.title&&(o.title=a.title.toString()),a.config&&(o.config=a.config),{text:e.slice(t.length),metadata:o}}b(Ub,"extractFrontMatter");var rF=b(e=>e.replace(/\r\n?/g,`