@intent-hq/web 2.392.1 → 2.392.3

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 (169) hide show
  1. package/package.json +1 -1
  2. package/web/app/immutable/chunks/{DotCIVLI.js → -xPMI1SM.js} +1 -1
  3. package/web/app/immutable/chunks/{x9IQ_8UO.js → 2ZBNrUZy.js} +1 -1
  4. package/web/app/immutable/chunks/{ByvcSsIj.js → 2bueaerM.js} +1 -1
  5. package/web/app/immutable/chunks/{AlO3r9jV.js → 4Rh5tdzC.js} +1 -1
  6. package/web/app/immutable/chunks/{CLX81MHV.js → 6_Ki4zfU.js} +1 -1
  7. package/web/app/immutable/chunks/{D_YMc8vN.js → 7n-O-xn5.js} +1 -1
  8. package/web/app/immutable/chunks/{CccfsETL.js → 8ItTOum-.js} +2 -2
  9. package/web/app/immutable/chunks/{aoX2v33V.js → 9AeivJQm.js} +4 -4
  10. package/web/app/immutable/chunks/{CngTEvgU.js → A9FjQ4ig.js} +1 -1
  11. package/web/app/immutable/chunks/{DaTwSOqs.js → B0dqY8Yd.js} +1 -1
  12. package/web/app/immutable/chunks/{KPBWxwIA.js → B26epB4C.js} +1 -1
  13. package/web/app/immutable/chunks/B3ZeLze4.js +2 -0
  14. package/web/app/immutable/chunks/{BSpgPPjp.js → B3sgdO-M.js} +1 -1
  15. package/web/app/immutable/chunks/{3rqOYBi3.js → B5OK1c9R.js} +1 -1
  16. package/web/app/immutable/chunks/{OuI4JmWC.js → B5V_Igzh.js} +1 -1
  17. package/web/app/immutable/chunks/{D0DIeAXH.js → B87xP_ZF.js} +1 -1
  18. package/web/app/immutable/chunks/{Bwa2n5jC.js → BAbB1JR3.js} +1 -1
  19. package/web/app/immutable/chunks/{B2frqTj8.js → BC2ymm4x.js} +1 -1
  20. package/web/app/immutable/chunks/{CUmvnJK5.js → BC7-67A3.js} +1 -1
  21. package/web/app/immutable/chunks/{KRACSBb9.js → BFMw_Rsu.js} +1 -1
  22. package/web/app/immutable/chunks/{B97l6Xkk.js → BH56GSiy.js} +1 -1
  23. package/web/app/immutable/chunks/{CcMCIG6E.js → BHYEUr70.js} +2 -2
  24. package/web/app/immutable/chunks/{CorT7tdR.js → BLNxuTdw.js} +1 -1
  25. package/web/app/immutable/chunks/{DQe_5JbW.js → BOnAZ0Bh.js} +1 -1
  26. package/web/app/immutable/chunks/{CiNmS1jZ.js → BQLNg--d.js} +1 -1
  27. package/web/app/immutable/chunks/{CdLJ0-dH.js → BRtw-FGJ.js} +1 -1
  28. package/web/app/immutable/chunks/{BdlwjSpf.js → BSsSTp5c.js} +1 -1
  29. package/web/app/immutable/chunks/{9AKr1UyY.js → BV3fep4W.js} +1 -1
  30. package/web/app/immutable/chunks/{C6Af0QaF.js → BWtzEUuh.js} +1 -1
  31. package/web/app/immutable/chunks/{R3fZBk-k.js → BYanH6N9.js} +1 -1
  32. package/web/app/immutable/chunks/{vJJtTADX.js → BZNRCsEn.js} +1 -1
  33. package/web/app/immutable/chunks/{b7gnFN68.js → BafkB9h2.js} +1 -1
  34. package/web/app/immutable/chunks/BeZe2Rt-.js +4 -0
  35. package/web/app/immutable/chunks/{DFNKkiho.js → Bex9L_jH.js} +4 -4
  36. package/web/app/immutable/chunks/{Dp0kLnIL.js → BezBXtqG.js} +1 -1
  37. package/web/app/immutable/chunks/{DY9w61PC.js → BhD6TCSq.js} +6 -6
  38. package/web/app/immutable/chunks/{Dvzvnzzu.js → Bhk2u-_3.js} +1 -1
  39. package/web/app/immutable/chunks/{CGJ5yTzR.js → BipAYtG2.js} +3 -3
  40. package/web/app/immutable/chunks/{i2Q0D3-m.js → BptF1xOU.js} +1 -1
  41. package/web/app/immutable/chunks/{CUiYYsIq.js → BrCVQoPE.js} +1 -1
  42. package/web/app/immutable/chunks/{CJItvMq2.js → BrLVGrLO.js} +1 -1
  43. package/web/app/immutable/chunks/{50HYkjWD.js → Bsnum5pm.js} +3 -3
  44. package/web/app/immutable/chunks/{FS0kRzLP.js → BtOGFmaT.js} +1 -1
  45. package/web/app/immutable/chunks/{z2uEgbos.js → BtmdpA7S.js} +1 -1
  46. package/web/app/immutable/chunks/{CzK_7_Jd.js → By6WkvE9.js} +1 -1
  47. package/web/app/immutable/chunks/{DmtYsVlu.js → Bz-Q0sJs.js} +2 -2
  48. package/web/app/immutable/chunks/{vq6mxGLA.js → BzZzhsx0.js} +1 -1
  49. package/web/app/immutable/chunks/{DbB491_u.js → C1UoJPr2.js} +1 -1
  50. package/web/app/immutable/chunks/{oM2TfoNE.js → C2KrJl1V.js} +1 -1
  51. package/web/app/immutable/chunks/{DTbyG794.js → C3L7kk5u.js} +1 -1
  52. package/web/app/immutable/chunks/{BJEFEyAm.js → C6O8IM8T.js} +1 -1
  53. package/web/app/immutable/chunks/{BwFe8eI9.js → C8XfkHlI.js} +1 -1
  54. package/web/app/immutable/chunks/{KvfW-q1N.js → CCMvmg57.js} +1 -1
  55. package/web/app/immutable/chunks/CDCAMh6o.js +1 -0
  56. package/web/app/immutable/chunks/{D8MIwtpL.js → CDUwgFl9.js} +1 -1
  57. package/web/app/immutable/chunks/{D_R1vNH8.js → CE7ZckmT.js} +1 -1
  58. package/web/app/immutable/chunks/{gXHlCg5O.js → CKa70XGN.js} +1 -1
  59. package/web/app/immutable/chunks/{rmHQzJ1a.js → CKzjrq__.js} +1 -1
  60. package/web/app/immutable/chunks/{DDDvNwR-.js → CN7DE5jB.js} +1 -1
  61. package/web/app/immutable/chunks/{D-j7vD5Z.js → CNKJ8_Xr.js} +1 -1
  62. package/web/app/immutable/chunks/{CPNOsHfj.js → CO-JfYA5.js} +1 -1
  63. package/web/app/immutable/chunks/{CCyGGl6b.js → CPgSaaZt.js} +1 -1
  64. package/web/app/immutable/chunks/{BVBh582U.js → CQmOm-Tm.js} +1 -1
  65. package/web/app/immutable/chunks/{DvdITStP.js → CQzFriMx.js} +1 -1
  66. package/web/app/immutable/chunks/{BlVpCoL1.js → CTGxPVh7.js} +1 -1
  67. package/web/app/immutable/chunks/{BDRM-DVo.js → CVCwKAMk.js} +1 -1
  68. package/web/app/immutable/chunks/{DNup87JQ.js → CVG625sB.js} +1 -1
  69. package/web/app/immutable/chunks/{H8hIaDaV.js → CcUDp4zq.js} +1 -1
  70. package/web/app/immutable/chunks/{r4dmBxo_.js → Ce20e-vK.js} +1 -1
  71. package/web/app/immutable/chunks/Ce2Qo9vu.js +3 -0
  72. package/web/app/immutable/chunks/{PejVYY2W.js → Cf5NbMeL.js} +3 -3
  73. package/web/app/immutable/chunks/{CY56l_5k.js → CfOrhDjV.js} +1 -1
  74. package/web/app/immutable/chunks/{DTNrtzyx.js → Cim9mWY1.js} +1 -1
  75. package/web/app/immutable/chunks/{DIxibpTv.js → Cks1DUg1.js} +1 -1
  76. package/web/app/immutable/chunks/{CDcxODgf.js → CnDbx_Wj.js} +1 -1
  77. package/web/app/immutable/chunks/{DznISJQO.js → CnDy2OA4.js} +1 -1
  78. package/web/app/immutable/chunks/{Bp6DusVC.js → Cp9hDo50.js} +1 -1
  79. package/web/app/immutable/chunks/{ciQFmiC4.js → Cs3vMbTn.js} +1 -1
  80. package/web/app/immutable/chunks/{0TbppU-W.js → Ct1r6efw.js} +2 -2
  81. package/web/app/immutable/chunks/{CpT48V2z.js → Cy5LTcPz.js} +1 -1
  82. package/web/app/immutable/chunks/{RqSv1iWX.js → CyUokemm.js} +1 -1
  83. package/web/app/immutable/chunks/{gX9ZnDRD.js → D1Tekuc4.js} +1 -1
  84. package/web/app/immutable/chunks/{pQalwNsE.js → D2Jd8tc3.js} +1 -1
  85. package/web/app/immutable/chunks/{Cdw7QKyr.js → D80ng7VB.js} +3 -3
  86. package/web/app/immutable/chunks/{CWS5g6aA.js → D9OezaF9.js} +1 -1
  87. package/web/app/immutable/chunks/{BUPWY1pO.js → DDhuJH-4.js} +1 -1
  88. package/web/app/immutable/chunks/{WWq3hijy.js → DEOVFEjx.js} +1 -1
  89. package/web/app/immutable/chunks/{Bhul7r_Y.js → DEuuzjmM.js} +1 -1
  90. package/web/app/immutable/chunks/{DaTkisKB.js → DEykPUjl.js} +1 -1
  91. package/web/app/immutable/chunks/{DdYVblGk.js → DFh2QzKR.js} +1 -1
  92. package/web/app/immutable/chunks/{BB5TUToP.js → DGMKnMeG.js} +2 -2
  93. package/web/app/immutable/chunks/{DEsM7h8K.js → DIHHBzYi.js} +2 -2
  94. package/web/app/immutable/chunks/{CcBmcC9f.js → DIUdGij-.js} +2 -2
  95. package/web/app/immutable/chunks/{BTE0066U.js → DJDA_1H4.js} +1 -1
  96. package/web/app/immutable/chunks/{B0oQ37UY.js → DQxnu3QZ.js} +1 -1
  97. package/web/app/immutable/chunks/{CEqrck_t.js → DRpk7IAR.js} +1 -1
  98. package/web/app/immutable/chunks/{a3O-Ns1M.js → DUbqvr_K.js} +1 -1
  99. package/web/app/immutable/chunks/{BPFSAjsd.js → DVSwhvvP.js} +7 -7
  100. package/web/app/immutable/chunks/{QKQvZF-2.js → DVqhJMup.js} +2 -2
  101. package/web/app/immutable/chunks/{CeHL-3WK.js → DWOcsYbU.js} +1 -1
  102. package/web/app/immutable/chunks/{DuFY1gwd.js → DWurigib.js} +4 -4
  103. package/web/app/immutable/chunks/{DTco_120.js → D__LL1n8.js} +1 -1
  104. package/web/app/immutable/chunks/{BS9LmSp_.js → DccCxKmZ.js} +1 -1
  105. package/web/app/immutable/chunks/{CSzXeH2S.js → DdpYiyRs.js} +1 -1
  106. package/web/app/immutable/chunks/{7zxUzaYz.js → DeJMgdsa.js} +1 -1
  107. package/web/app/immutable/chunks/{B9NjB9vD.js → DgzWQmDb.js} +1 -1
  108. package/web/app/immutable/chunks/{DIME5LWK.js → DimbKbDZ.js} +2 -2
  109. package/web/app/immutable/chunks/{BvByaKKp.js → DjyYYXwz.js} +1 -1
  110. package/web/app/immutable/chunks/{CRFyRwf-.js → DlbHdfKY.js} +1 -1
  111. package/web/app/immutable/chunks/{C7MFACZg.js → DqQqeuqi.js} +1 -1
  112. package/web/app/immutable/chunks/{BSMi55yC.js → DthJR85Z.js} +1 -1
  113. package/web/app/immutable/chunks/{BUF0WvAS.js → DtqJUfJC.js} +1 -1
  114. package/web/app/immutable/chunks/{DYzxLuOL.js → DvXSJM4q.js} +1 -1
  115. package/web/app/immutable/chunks/{B6wkNYPs.js → DxZIPHU6.js} +1 -1
  116. package/web/app/immutable/chunks/{Ct0fN4Lt.js → DyrDaCZi.js} +1 -1
  117. package/web/app/immutable/chunks/{D6EyZ2rd.js → Dz-57yVz.js} +1 -1
  118. package/web/app/immutable/chunks/{DL__HI6l.js → DzR2lw_C.js} +1 -1
  119. package/web/app/immutable/chunks/{DUcJILSg.js → ERz1iYnn.js} +1 -1
  120. package/web/app/immutable/chunks/{C9iwh4F-.js → Egi6fNpS.js} +1 -1
  121. package/web/app/immutable/chunks/{DdU2snxg.js → FTRClsUK.js} +1 -1
  122. package/web/app/immutable/chunks/{CBQrOO2t.js → L9YD-wcw.js} +1 -1
  123. package/web/app/immutable/chunks/{CQClkuxa.js → O8yKLCWC.js} +1 -1
  124. package/web/app/immutable/chunks/{B9ZgGXDm.js → PAEJNClQ.js} +1 -1
  125. package/web/app/immutable/chunks/{DA3tGWzX.js → PZ5MSUIU.js} +1 -1
  126. package/web/app/immutable/chunks/{DqCgFTqN.js → QnRBGtVu.js} +1 -1
  127. package/web/app/immutable/chunks/{f0WUpIfB.js → RGi81mvu.js} +1 -1
  128. package/web/app/immutable/chunks/{CA5vNvRD.js → VeOG7xIg.js} +3 -3
  129. package/web/app/immutable/chunks/XAL8NtHj.js +1 -0
  130. package/web/app/immutable/chunks/{CPav-V5t.js → YClu3XTz.js} +2 -2
  131. package/web/app/immutable/chunks/{CtzbB_EQ.js → ZspDMNEv.js} +1 -1
  132. package/web/app/immutable/chunks/{Cp4SiU7R.js → _aw8AL2s.js} +1 -1
  133. package/web/app/immutable/chunks/{CRIoGx5T.js → edaGtK2z.js} +1 -1
  134. package/web/app/immutable/chunks/{Dgvdn_ax.js → g2j4hm88.js} +1 -1
  135. package/web/app/immutable/chunks/{ZIePA90q.js → gdhW58MB.js} +3 -3
  136. package/web/app/immutable/chunks/{CPmXQBUf.js → n1INJGMs.js} +1 -1
  137. package/web/app/immutable/chunks/{BvvIG-FE.js → nUY7GyaZ.js} +1 -1
  138. package/web/app/immutable/chunks/{C9DStJW1.js → q9gf_Sso.js} +1 -1
  139. package/web/app/immutable/chunks/{CewZlXwy.js → u-Z99Ptk.js} +1 -1
  140. package/web/app/immutable/chunks/{BE3g5vcj.js → uQRHnH1Z.js} +1 -1
  141. package/web/app/immutable/chunks/{Dhs7RSq9.js → wsIl6ydR.js} +1 -1
  142. package/web/app/immutable/chunks/{C13CRqsS.js → yus24-dF.js} +1 -1
  143. package/web/app/immutable/chunks/zdzlwKoA.js +1 -0
  144. package/web/app/immutable/entry/{app.Dh0FLLBd.js → app.DBKLYfDG.js} +2 -2
  145. package/web/app/immutable/entry/start.DyzI50m5.js +1 -0
  146. package/web/app/immutable/nodes/{0.BlcS-Hyh.js → 0.Dr_KMFP9.js} +1 -1
  147. package/web/app/immutable/nodes/{1.BMTchPFq.js → 1.B4UC5y6C.js} +1 -1
  148. package/web/app/immutable/nodes/{10.CfDNhRgU.js → 10.D-SXaVii.js} +1 -1
  149. package/web/app/immutable/nodes/{11.CxSRkGHD.js → 11.CD0ZMPB_.js} +1 -1
  150. package/web/app/immutable/nodes/{15.DCpm4k7K.js → 15.CWhAy0IL.js} +1 -1
  151. package/web/app/immutable/nodes/{19.C2T81__z.js → 19.Cl4NIDR3.js} +2 -2
  152. package/web/app/immutable/nodes/{2.1iJIAnw5.js → 2.DgYKd6eT.js} +1 -1
  153. package/web/app/immutable/nodes/{20.BHRuLw4-.js → 20.gu-VpWFh.js} +1 -1
  154. package/web/app/immutable/nodes/{3.BDDby9Gq.js → 3.Cz3D2Kq7.js} +1 -1
  155. package/web/app/immutable/nodes/{4.utfN0vdd.js → 4.CjaUjxEb.js} +1 -1
  156. package/web/app/immutable/nodes/{5.Z6w8za6J.js → 5.COJH7IAv.js} +1 -1
  157. package/web/app/immutable/nodes/{6.w_k_ibWb.js → 6.Da5DOHiE.js} +1 -1
  158. package/web/app/immutable/nodes/{7.I-q-I1bs.js → 7.dcDATK47.js} +1 -1
  159. package/web/app/immutable/nodes/{8.BgjULPKU.js → 8.C2qio8n9.js} +1 -1
  160. package/web/app/immutable/nodes/{9.DOkmR0cl.js → 9.CjfzK0IK.js} +2 -2
  161. package/web/app/version.json +1 -1
  162. package/web/index.html +9 -9
  163. package/web/app/immutable/chunks/BuM8LV7z.js +0 -4
  164. package/web/app/immutable/chunks/DejjV5ft.js +0 -1
  165. package/web/app/immutable/chunks/DivmpPFQ.js +0 -1
  166. package/web/app/immutable/chunks/DlnCrS3y.js +0 -2
  167. package/web/app/immutable/chunks/MFTfhUYi.js +0 -1
  168. package/web/app/immutable/chunks/Xr-aTNRN.js +0 -3
  169. package/web/app/immutable/entry/start.IMZH36aM.js +0 -1
@@ -1,4 +1,4 @@
1
- import{aZ as pi,U as mi,Y as $t,b0 as yi,V as bi,a_ as Ai,b as n,ay as Ut,aX as wi,B as Ci,r as Si,W as Tt,aV as Ri,q as qt,O as _i,a6 as ki,A as Ti,av as Ft}from"./DFNKkiho.js";import{b as Xt,l as Yt}from"./DYzxLuOL.js";var St=(function(){var e=n(function(O,r,g,u){for(g=g||{},u=O.length;u--;g[O[u]]=r);return g},"o"),t=[1,10,12,14,16,18,19,21,23],i=[2,6],s=[1,3],a=[1,5],h=[1,6],c=[1,7],m=[1,5,10,12,14,16,18,19,21,23,36,37,38],f=[1,25],d=[1,26],w=[1,28],k=[1,29],P=[1,30],W=[1,31],F=[1,32],v=[1,33],z=[1,34],b=[1,35],T=[1,36],l=[1,37],I=[1,43],V=[1,42],X=[1,47],Y=[1,50],R=[1,10,12,14,16,18,19,21,23,36,37,38],H=[1,10,12,14,16,18,19,21,23,24,26,28,29,36,37,38],A=[1,10,12,14,16,18,19,21,23,24,26,28,29,36,37,38,42,43,44,45,46,47,48,49,50,51],C=[1,65],M=[26,28],_={trace:n(function(){},"trace"),yy:{},symbols_:{error:2,start:3,eol:4,XYCHART:5,chartConfig:6,document:7,CHART_ORIENTATION:8,statement:9,title:10,text:11,X_AXIS:12,parseXAxis:13,Y_AXIS:14,parseYAxis:15,LINE:16,plotData:17,BAR:18,acc_title:19,acc_title_value:20,acc_descr:21,acc_descr_value:22,acc_descr_multiline_value:23,SQUARE_BRACES_START:24,dataPoints:25,SQUARE_BRACES_END:26,dataPoint:27,COMMA:28,NUMBER_WITH_DECIMAL:29,STR:30,xAxisData:31,bandData:32,ARROW_DELIMITER:33,commaSeparatedTexts:34,yAxisData:35,NEWLINE:36,SEMI:37,EOF:38,alphaNum:39,MD_STR:40,alphaNumToken:41,AMP:42,NUM:43,ALPHA:44,PLUS:45,EQUALS:46,MULT:47,DOT:48,BRKT:49,MINUS:50,UNDERSCORE:51,$accept:0,$end:1},terminals_:{2:"error",5:"XYCHART",8:"CHART_ORIENTATION",10:"title",12:"X_AXIS",14:"Y_AXIS",16:"LINE",18:"BAR",19:"acc_title",20:"acc_title_value",21:"acc_descr",22:"acc_descr_value",23:"acc_descr_multiline_value",24:"SQUARE_BRACES_START",26:"SQUARE_BRACES_END",28:"COMMA",29:"NUMBER_WITH_DECIMAL",30:"STR",33:"ARROW_DELIMITER",36:"NEWLINE",37:"SEMI",38:"EOF",40:"MD_STR",42:"AMP",43:"NUM",44:"ALPHA",45:"PLUS",46:"EQUALS",47:"MULT",48:"DOT",49:"BRKT",50:"MINUS",51:"UNDERSCORE"},productions_:[0,[3,2],[3,3],[3,2],[3,1],[6,1],[7,0],[7,2],[9,2],[9,2],[9,2],[9,2],[9,2],[9,3],[9,2],[9,3],[9,2],[9,2],[9,1],[17,3],[25,3],[25,1],[27,2],[27,1],[13,1],[13,2],[13,1],[31,1],[31,3],[32,3],[34,3],[34,1],[15,1],[15,2],[15,1],[35,3],[4,1],[4,1],[4,1],[11,1],[11,1],[11,1],[39,1],[39,2],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1]],performAction:n(function(r,g,u,x,S,o,lt){var p=o.length-1;switch(S){case 5:x.setOrientation(o[p]);break;case 9:x.setDiagramTitle(o[p].text.trim());break;case 12:x.setLineData({text:"",type:"text"},o[p]);break;case 13:x.setLineData(o[p-1],o[p]);break;case 14:x.setBarData({text:"",type:"text"},o[p]);break;case 15:x.setBarData(o[p-1],o[p]);break;case 16:this.$=o[p].trim(),x.setAccTitle(this.$);break;case 17:case 18:this.$=o[p].trim(),x.setAccDescription(this.$);break;case 19:this.$=o[p-1];break;case 20:case 30:this.$=[o[p-2],...o[p]];break;case 21:case 31:this.$=[o[p]];break;case 22:this.$={value:Number(o[p-1]),label:o[p]};break;case 23:this.$={value:Number(o[p]),label:""};break;case 24:x.setXAxisTitle(o[p]);break;case 25:x.setXAxisTitle(o[p-1]);break;case 26:x.setXAxisTitle({type:"text",text:""});break;case 27:x.setXAxisBand(o[p]);break;case 28:x.setXAxisRangeData(Number(o[p-2]),Number(o[p]));break;case 29:this.$=o[p-1];break;case 32:x.setYAxisTitle(o[p]);break;case 33:x.setYAxisTitle(o[p-1]);break;case 34:x.setYAxisTitle({type:"text",text:""});break;case 35:x.setYAxisRangeData(Number(o[p-2]),Number(o[p]));break;case 39:this.$={text:o[p],type:"text"};break;case 40:this.$={text:o[p],type:"text"};break;case 41:this.$={text:o[p],type:"markdown"};break;case 42:this.$=o[p];break;case 43:this.$=o[p-1]+""+o[p];break}},"anonymous"),table:[e(t,i,{3:1,4:2,7:4,5:s,36:a,37:h,38:c}),{1:[3]},e(t,i,{4:2,7:4,3:8,5:s,36:a,37:h,38:c}),e(t,i,{4:2,7:4,6:9,3:10,5:s,8:[1,11],36:a,37:h,38:c}),{1:[2,4],9:12,10:[1,13],12:[1,14],14:[1,15],16:[1,16],18:[1,17],19:[1,18],21:[1,19],23:[1,20]},e(m,[2,36]),e(m,[2,37]),e(m,[2,38]),{1:[2,1]},e(t,i,{4:2,7:4,3:21,5:s,36:a,37:h,38:c}),{1:[2,3]},e(m,[2,5]),e(t,[2,7],{4:22,36:a,37:h,38:c}),{11:23,30:f,39:24,40:d,41:27,42:w,43:k,44:P,45:W,46:F,47:v,48:z,49:b,50:T,51:l},{11:39,13:38,24:I,29:V,30:f,31:40,32:41,39:24,40:d,41:27,42:w,43:k,44:P,45:W,46:F,47:v,48:z,49:b,50:T,51:l},{11:45,15:44,29:X,30:f,35:46,39:24,40:d,41:27,42:w,43:k,44:P,45:W,46:F,47:v,48:z,49:b,50:T,51:l},{11:49,17:48,24:Y,30:f,39:24,40:d,41:27,42:w,43:k,44:P,45:W,46:F,47:v,48:z,49:b,50:T,51:l},{11:52,17:51,24:Y,30:f,39:24,40:d,41:27,42:w,43:k,44:P,45:W,46:F,47:v,48:z,49:b,50:T,51:l},{20:[1,53]},{22:[1,54]},e(R,[2,18]),{1:[2,2]},e(R,[2,8]),e(R,[2,9]),e(H,[2,39],{41:55,42:w,43:k,44:P,45:W,46:F,47:v,48:z,49:b,50:T,51:l}),e(H,[2,40]),e(H,[2,41]),e(A,[2,42]),e(A,[2,44]),e(A,[2,45]),e(A,[2,46]),e(A,[2,47]),e(A,[2,48]),e(A,[2,49]),e(A,[2,50]),e(A,[2,51]),e(A,[2,52]),e(A,[2,53]),e(R,[2,10]),e(R,[2,24],{32:41,31:56,24:I,29:V}),e(R,[2,26]),e(R,[2,27]),{33:[1,57]},{11:59,30:f,34:58,39:24,40:d,41:27,42:w,43:k,44:P,45:W,46:F,47:v,48:z,49:b,50:T,51:l},e(R,[2,11]),e(R,[2,32],{35:60,29:X}),e(R,[2,34]),{33:[1,61]},e(R,[2,12]),{17:62,24:Y},{25:63,27:64,29:C},e(R,[2,14]),{17:66,24:Y},e(R,[2,16]),e(R,[2,17]),e(A,[2,43]),e(R,[2,25]),{29:[1,67]},{26:[1,68]},{26:[2,31],28:[1,69]},e(R,[2,33]),{29:[1,70]},e(R,[2,13]),{26:[1,71]},{26:[2,21],28:[1,72]},e(M,[2,23],{30:[1,73]}),e(R,[2,15]),e(R,[2,28]),e(R,[2,29]),{11:59,30:f,34:74,39:24,40:d,41:27,42:w,43:k,44:P,45:W,46:F,47:v,48:z,49:b,50:T,51:l},e(R,[2,35]),e(R,[2,19]),{25:75,27:64,29:C},e(M,[2,22]),{26:[2,30]},{26:[2,20]}],defaultActions:{8:[2,1],10:[2,3],21:[2,2],74:[2,30],75:[2,20]},parseError:n(function(r,g){if(g.recoverable)this.trace(r);else{var u=new Error(r);throw u.hash=g,u}},"parseError"),parse:n(function(r){var g=this,u=[0],x=[],S=[null],o=[],lt=this.table,p="",dt=0,zt=0,ui=2,Vt=1,di=o.slice.call(arguments,1),D=Object.create(this.lexer),$={yy:{}};for(var bt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,bt)&&($.yy[bt]=this.yy[bt]);D.setInput(r,$.yy),$.yy.lexer=D,$.yy.parser=this,typeof D.yylloc>"u"&&(D.yylloc={});var At=D.yylloc;o.push(At);var xi=D.options&&D.options.ranges;typeof $.yy.parseError=="function"?this.parseError=$.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function fi(E){u.length=u.length-2*E,S.length=S.length-E,o.length=o.length-E}n(fi,"popStack");function Ot(){var E;return E=x.pop()||D.lex()||Vt,typeof E!="number"&&(E instanceof Array&&(x=E,E=x.pop()),E=g.symbols_[E]||E),E}n(Ot,"lex");for(var L,U,B,wt,j={},xt,N,Wt,ft;;){if(U=u[u.length-1],this.defaultActions[U]?B=this.defaultActions[U]:((L===null||typeof L>"u")&&(L=Ot()),B=lt[U]&&lt[U][L]),typeof B>"u"||!B.length||!B[0]){var Ct="";ft=[];for(xt in lt[U])this.terminals_[xt]&&xt>ui&&ft.push("'"+this.terminals_[xt]+"'");D.showPosition?Ct="Parse error on line "+(dt+1)+`:
1
+ import{aZ as pi,U as mi,Y as $t,b0 as yi,V as bi,a_ as Ai,b as n,ay as Ut,aX as wi,B as Ci,r as Si,W as Tt,aV as Ri,q as qt,O as _i,a6 as ki,A as Ti,av as Ft}from"./Bex9L_jH.js";import{b as Xt,l as Yt}from"./DvXSJM4q.js";var St=(function(){var e=n(function(O,r,g,u){for(g=g||{},u=O.length;u--;g[O[u]]=r);return g},"o"),t=[1,10,12,14,16,18,19,21,23],i=[2,6],s=[1,3],a=[1,5],h=[1,6],c=[1,7],m=[1,5,10,12,14,16,18,19,21,23,36,37,38],f=[1,25],d=[1,26],w=[1,28],k=[1,29],P=[1,30],W=[1,31],F=[1,32],v=[1,33],z=[1,34],b=[1,35],T=[1,36],l=[1,37],I=[1,43],V=[1,42],X=[1,47],Y=[1,50],R=[1,10,12,14,16,18,19,21,23,36,37,38],H=[1,10,12,14,16,18,19,21,23,24,26,28,29,36,37,38],A=[1,10,12,14,16,18,19,21,23,24,26,28,29,36,37,38,42,43,44,45,46,47,48,49,50,51],C=[1,65],M=[26,28],_={trace:n(function(){},"trace"),yy:{},symbols_:{error:2,start:3,eol:4,XYCHART:5,chartConfig:6,document:7,CHART_ORIENTATION:8,statement:9,title:10,text:11,X_AXIS:12,parseXAxis:13,Y_AXIS:14,parseYAxis:15,LINE:16,plotData:17,BAR:18,acc_title:19,acc_title_value:20,acc_descr:21,acc_descr_value:22,acc_descr_multiline_value:23,SQUARE_BRACES_START:24,dataPoints:25,SQUARE_BRACES_END:26,dataPoint:27,COMMA:28,NUMBER_WITH_DECIMAL:29,STR:30,xAxisData:31,bandData:32,ARROW_DELIMITER:33,commaSeparatedTexts:34,yAxisData:35,NEWLINE:36,SEMI:37,EOF:38,alphaNum:39,MD_STR:40,alphaNumToken:41,AMP:42,NUM:43,ALPHA:44,PLUS:45,EQUALS:46,MULT:47,DOT:48,BRKT:49,MINUS:50,UNDERSCORE:51,$accept:0,$end:1},terminals_:{2:"error",5:"XYCHART",8:"CHART_ORIENTATION",10:"title",12:"X_AXIS",14:"Y_AXIS",16:"LINE",18:"BAR",19:"acc_title",20:"acc_title_value",21:"acc_descr",22:"acc_descr_value",23:"acc_descr_multiline_value",24:"SQUARE_BRACES_START",26:"SQUARE_BRACES_END",28:"COMMA",29:"NUMBER_WITH_DECIMAL",30:"STR",33:"ARROW_DELIMITER",36:"NEWLINE",37:"SEMI",38:"EOF",40:"MD_STR",42:"AMP",43:"NUM",44:"ALPHA",45:"PLUS",46:"EQUALS",47:"MULT",48:"DOT",49:"BRKT",50:"MINUS",51:"UNDERSCORE"},productions_:[0,[3,2],[3,3],[3,2],[3,1],[6,1],[7,0],[7,2],[9,2],[9,2],[9,2],[9,2],[9,2],[9,3],[9,2],[9,3],[9,2],[9,2],[9,1],[17,3],[25,3],[25,1],[27,2],[27,1],[13,1],[13,2],[13,1],[31,1],[31,3],[32,3],[34,3],[34,1],[15,1],[15,2],[15,1],[35,3],[4,1],[4,1],[4,1],[11,1],[11,1],[11,1],[39,1],[39,2],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1]],performAction:n(function(r,g,u,x,S,o,lt){var p=o.length-1;switch(S){case 5:x.setOrientation(o[p]);break;case 9:x.setDiagramTitle(o[p].text.trim());break;case 12:x.setLineData({text:"",type:"text"},o[p]);break;case 13:x.setLineData(o[p-1],o[p]);break;case 14:x.setBarData({text:"",type:"text"},o[p]);break;case 15:x.setBarData(o[p-1],o[p]);break;case 16:this.$=o[p].trim(),x.setAccTitle(this.$);break;case 17:case 18:this.$=o[p].trim(),x.setAccDescription(this.$);break;case 19:this.$=o[p-1];break;case 20:case 30:this.$=[o[p-2],...o[p]];break;case 21:case 31:this.$=[o[p]];break;case 22:this.$={value:Number(o[p-1]),label:o[p]};break;case 23:this.$={value:Number(o[p]),label:""};break;case 24:x.setXAxisTitle(o[p]);break;case 25:x.setXAxisTitle(o[p-1]);break;case 26:x.setXAxisTitle({type:"text",text:""});break;case 27:x.setXAxisBand(o[p]);break;case 28:x.setXAxisRangeData(Number(o[p-2]),Number(o[p]));break;case 29:this.$=o[p-1];break;case 32:x.setYAxisTitle(o[p]);break;case 33:x.setYAxisTitle(o[p-1]);break;case 34:x.setYAxisTitle({type:"text",text:""});break;case 35:x.setYAxisRangeData(Number(o[p-2]),Number(o[p]));break;case 39:this.$={text:o[p],type:"text"};break;case 40:this.$={text:o[p],type:"text"};break;case 41:this.$={text:o[p],type:"markdown"};break;case 42:this.$=o[p];break;case 43:this.$=o[p-1]+""+o[p];break}},"anonymous"),table:[e(t,i,{3:1,4:2,7:4,5:s,36:a,37:h,38:c}),{1:[3]},e(t,i,{4:2,7:4,3:8,5:s,36:a,37:h,38:c}),e(t,i,{4:2,7:4,6:9,3:10,5:s,8:[1,11],36:a,37:h,38:c}),{1:[2,4],9:12,10:[1,13],12:[1,14],14:[1,15],16:[1,16],18:[1,17],19:[1,18],21:[1,19],23:[1,20]},e(m,[2,36]),e(m,[2,37]),e(m,[2,38]),{1:[2,1]},e(t,i,{4:2,7:4,3:21,5:s,36:a,37:h,38:c}),{1:[2,3]},e(m,[2,5]),e(t,[2,7],{4:22,36:a,37:h,38:c}),{11:23,30:f,39:24,40:d,41:27,42:w,43:k,44:P,45:W,46:F,47:v,48:z,49:b,50:T,51:l},{11:39,13:38,24:I,29:V,30:f,31:40,32:41,39:24,40:d,41:27,42:w,43:k,44:P,45:W,46:F,47:v,48:z,49:b,50:T,51:l},{11:45,15:44,29:X,30:f,35:46,39:24,40:d,41:27,42:w,43:k,44:P,45:W,46:F,47:v,48:z,49:b,50:T,51:l},{11:49,17:48,24:Y,30:f,39:24,40:d,41:27,42:w,43:k,44:P,45:W,46:F,47:v,48:z,49:b,50:T,51:l},{11:52,17:51,24:Y,30:f,39:24,40:d,41:27,42:w,43:k,44:P,45:W,46:F,47:v,48:z,49:b,50:T,51:l},{20:[1,53]},{22:[1,54]},e(R,[2,18]),{1:[2,2]},e(R,[2,8]),e(R,[2,9]),e(H,[2,39],{41:55,42:w,43:k,44:P,45:W,46:F,47:v,48:z,49:b,50:T,51:l}),e(H,[2,40]),e(H,[2,41]),e(A,[2,42]),e(A,[2,44]),e(A,[2,45]),e(A,[2,46]),e(A,[2,47]),e(A,[2,48]),e(A,[2,49]),e(A,[2,50]),e(A,[2,51]),e(A,[2,52]),e(A,[2,53]),e(R,[2,10]),e(R,[2,24],{32:41,31:56,24:I,29:V}),e(R,[2,26]),e(R,[2,27]),{33:[1,57]},{11:59,30:f,34:58,39:24,40:d,41:27,42:w,43:k,44:P,45:W,46:F,47:v,48:z,49:b,50:T,51:l},e(R,[2,11]),e(R,[2,32],{35:60,29:X}),e(R,[2,34]),{33:[1,61]},e(R,[2,12]),{17:62,24:Y},{25:63,27:64,29:C},e(R,[2,14]),{17:66,24:Y},e(R,[2,16]),e(R,[2,17]),e(A,[2,43]),e(R,[2,25]),{29:[1,67]},{26:[1,68]},{26:[2,31],28:[1,69]},e(R,[2,33]),{29:[1,70]},e(R,[2,13]),{26:[1,71]},{26:[2,21],28:[1,72]},e(M,[2,23],{30:[1,73]}),e(R,[2,15]),e(R,[2,28]),e(R,[2,29]),{11:59,30:f,34:74,39:24,40:d,41:27,42:w,43:k,44:P,45:W,46:F,47:v,48:z,49:b,50:T,51:l},e(R,[2,35]),e(R,[2,19]),{25:75,27:64,29:C},e(M,[2,22]),{26:[2,30]},{26:[2,20]}],defaultActions:{8:[2,1],10:[2,3],21:[2,2],74:[2,30],75:[2,20]},parseError:n(function(r,g){if(g.recoverable)this.trace(r);else{var u=new Error(r);throw u.hash=g,u}},"parseError"),parse:n(function(r){var g=this,u=[0],x=[],S=[null],o=[],lt=this.table,p="",dt=0,zt=0,ui=2,Vt=1,di=o.slice.call(arguments,1),D=Object.create(this.lexer),$={yy:{}};for(var bt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,bt)&&($.yy[bt]=this.yy[bt]);D.setInput(r,$.yy),$.yy.lexer=D,$.yy.parser=this,typeof D.yylloc>"u"&&(D.yylloc={});var At=D.yylloc;o.push(At);var xi=D.options&&D.options.ranges;typeof $.yy.parseError=="function"?this.parseError=$.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function fi(E){u.length=u.length-2*E,S.length=S.length-E,o.length=o.length-E}n(fi,"popStack");function Ot(){var E;return E=x.pop()||D.lex()||Vt,typeof E!="number"&&(E instanceof Array&&(x=E,E=x.pop()),E=g.symbols_[E]||E),E}n(Ot,"lex");for(var L,U,B,wt,j={},xt,N,Wt,ft;;){if(U=u[u.length-1],this.defaultActions[U]?B=this.defaultActions[U]:((L===null||typeof L>"u")&&(L=Ot()),B=lt[U]&&lt[U][L]),typeof B>"u"||!B.length||!B[0]){var Ct="";ft=[];for(xt in lt[U])this.terminals_[xt]&&xt>ui&&ft.push("'"+this.terminals_[xt]+"'");D.showPosition?Ct="Parse error on line "+(dt+1)+`:
2
2
  `+D.showPosition()+`
3
3
  Expecting `+ft.join(", ")+", got '"+(this.terminals_[L]||L)+"'":Ct="Parse error on line "+(dt+1)+": Unexpected "+(L==Vt?"end of input":"'"+(this.terminals_[L]||L)+"'"),this.parseError(Ct,{text:D.match,token:this.terminals_[L]||L,line:D.yylineno,loc:At,expected:ft})}if(B[0]instanceof Array&&B.length>1)throw new Error("Parse Error: multiple actions possible at state: "+U+", token: "+L);switch(B[0]){case 1:u.push(L),S.push(D.yytext),o.push(D.yylloc),u.push(B[1]),L=null,zt=D.yyleng,p=D.yytext,dt=D.yylineno,At=D.yylloc;break;case 2:if(N=this.productions_[B[1]][1],j.$=S[S.length-N],j._$={first_line:o[o.length-(N||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(N||1)].first_column,last_column:o[o.length-1].last_column},xi&&(j._$.range=[o[o.length-(N||1)].range[0],o[o.length-1].range[1]]),wt=this.performAction.apply(j,[p,zt,dt,$.yy,B[1],S,o].concat(di)),typeof wt<"u")return wt;N&&(u=u.slice(0,-1*N*2),S=S.slice(0,-1*N),o=o.slice(0,-1*N)),u.push(this.productions_[B[1]][0]),S.push(j.$),o.push(j._$),Wt=lt[u[u.length-2]][u[u.length-1]],u.push(Wt);break;case 3:return!0}}return!0},"parse")},rt=(function(){var O={EOF:1,parseError:n(function(g,u){if(this.yy.parser)this.yy.parser.parseError(g,u);else throw new Error(g)},"parseError"),setInput:n(function(r,g){return this.yy=g||this.yy||{},this._input=r,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:n(function(){var r=this._input[0];this.yytext+=r,this.yyleng++,this.offset++,this.match+=r,this.matched+=r;var g=r.match(/(?:\r\n?|\n).*/g);return g?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),r},"input"),unput:n(function(r){var g=r.length,u=r.split(/(?:\r\n?|\n)/g);this._input=r+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-g),this.offset-=g;var x=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),u.length-1&&(this.yylineno-=u.length-1);var S=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:u?(u.length===x.length?this.yylloc.first_column:0)+x[x.length-u.length].length-u[0].length:this.yylloc.first_column-g},this.options.ranges&&(this.yylloc.range=[S[0],S[0]+this.yyleng-g]),this.yyleng=this.yytext.length,this},"unput"),more:n(function(){return this._more=!0,this},"more"),reject:n(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:n(function(r){this.unput(this.match.slice(r))},"less"),pastInput:n(function(){var r=this.matched.substr(0,this.matched.length-this.match.length);return(r.length>20?"...":"")+r.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:n(function(){var r=this.match;return r.length<20&&(r+=this._input.substr(0,20-r.length)),(r.substr(0,20)+(r.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:n(function(){var r=this.pastInput(),g=new Array(r.length+1).join("-");return r+this.upcomingInput()+`
@@ -1,4 +1,4 @@
1
- import{t as ct,bo as ae,bw as dt,bp as jt,b as ut,bm as d,br as Mt,bq as xt,bs as ke}from"./Fcr7AvC-.js";import{bs as gt,a5 as qe,bf as Dt,bA as Be,W as r,bn as ft,aA as re,aB as H,aD as e,bS as $,c9 as n,a7 as Q,ay as m,be as Ye,b$ as et,aC as pt,bo as $a,bV as ce,br as It,ca as je,bH as b,c5 as At,b_ as ve,bO as $e,c0 as Ft,bl as at,aw as Gt,cd as St,bz as wa,bj as Ia}from"./3SdAC2_C.js";import{i as Z}from"./BhYXv0ZM.js";import{k as Kt}from"./Cc0763mU.js";import{h as Aa,I as ka,g as kt,e as xa}from"./CA6H1-bp.js";import{c as x}from"./2z64ELW5.js";import{b as Jt}from"./Dn334wJv.js";import{a3 as ya,a4 as Ta,bb as Ca}from"./DlnCrS3y.js";import Sa from"./BlVpCoL1.js";import{D as Pa}from"./CdtwTpzR.js";import{C as Nt}from"./CXygwMkb.js";import{b as Qt,e as Xt,s as Yt,f as Ma}from"./BRCr02in.js";import"./CpK0xLH4.js";import{a3 as ea}from"./BB5TUToP.js";import{JH as X,dS as Da,dT as La,h0 as ta,jd as Ha,Cu as Oa,gI as Ba,ja as aa,j9 as Ra,Ey as Ea,Ex as Fa,EE as Na,E4 as za,E7 as Ua,cq as Va,co as Za,cu as Wa,c7 as qa,E6 as ja,cr as Ga,DP as Ka}from"./D0qhIm1r.js";import{g as Ja}from"./DWGXN6Nr.js";import{a as Qa}from"./DaTkisKB.js";import{u as zt}from"./Xr-aTNRN.js";import{ay as Xa,aO as Ya,dI as er,c4 as tr,ci as ar,aM as rr,bv as nr,p as or}from"./cD292w1o.js";import{a_ as sr,a$ as ir}from"./D-j7vD5Z.js";import{a as lr}from"./gKdztwD8.js";import{c as cr}from"./ChTqQfQN.js";import{c as dr}from"./OuI4JmWC.js";import{C as ur}from"./Cp4SiU7R.js";import{o as gr}from"./DAsc1V4f.js";import{I as fr,c as pr}from"./C3KgmGxd.js";import"./x4bPxhVW.js";import{t as ra}from"./CWfjuhY2.js";import{a1 as mr,f as lt,ae as vr}from"./Beq_QLuz.js";import"./BAtAwQ72.js";import{D as _r,C as na,T as hr,F as br,H as $r,t as wr,R as Ir}from"./CzK_7_Jd.js";import{aV as Ar,d0 as oa,F as ht,d3 as $t,B as kr,b1 as xr,br as yr,cA as Tr,aa as Cr,cB as Sr,a9 as Pr,cx as Mr,au as Dr,aZ as Lr,cZ as Hr,ag as Or,cl as Br,an as Rr,cS as Er}from"./ChHRVjww.js";import{a as Pt,m as Fr}from"./Cz3WzTlQ.js";import{n as Nr,k as Lt,j as Ht,i as Ot,e as Ut,h as Bt,c as mt,l as zr,d as Ur,M as Vr,g as Vt,R as Zr}from"./D7KhILhs.js";import{B as Wr}from"./i2Q0D3-m.js";import{P as qr,T as jr}from"./B2-ooCTr.js";import{b as Gr,P as Kr,c as Jr,d as Qr}from"./Dbqo6rfT.js";import"./BzXQ5SMs.js";import{b as Xr}from"./Ch9YoFhc.js";import{e as Yr}from"./s_T1Uukt.js";import"./O5ZlQHf9.js";import{M as st}from"./D179JMBI.js";import{g as en}from"./2OP7IVCM.js";import{y as Zt,k as tn}from"./CH7HNVC2.js";import{ay as an,$ as rn}from"./50HYkjWD.js";import{l as wt,h as nn}from"./C7b3vXLD.js";import{t as on}from"./C-BsEdGZ.js";import{a as sn,e as ln,d as cn,i as dn}from"./BwweojP5.js";var un=new Set(["$$slots","$$events","$$legacy","children","class"]),gn=H("<div><!></div>");function sa(f,i){if(new.target)return ct({component:sa,...f});gt(i,!0);let w=ae(i,"children",7),p=ae(i,"class",7),v=jt(i,un);Nr(()=>!1);var T={get children(){return w()},set children(g){w(g),re()},get class(){return p()},set class(g){p(g),re()},$set:dt,$on:(g,M)=>ut(i,g,M)},A=gn();Qt(A,g=>({"data-slot":"menu-footer",class:g,...v}),[()=>Xt("menu-footer type-caption relative z-10 -mx-1.5 -mb-1.5 mt-1.5 border-t border-border bg-muted/20 px-3.5 py-1.5 leading-(--text-caption-line-height) font-normal text-muted-foreground [&_[data-menu-item]]:hover:bg-hover [&_[data-menu-item]]:focus-visible:bg-hover",p())],void 0,void 0,"svelte-1od5b5i");var S=qe(A);return ra(S,()=>w()??Dt),Be(A),r(f,A),ft(T)}var fn=new Set(["$$slots","$$events","$$legacy","children"]),pn=pt('<path d="M216,44H40A20,20,0,0,0,20,64V224A19.82,19.82,0,0,0,31.56,242.1a20.14,20.14,0,0,0,8.49,1.9,19.91,19.91,0,0,0,12.82-4.72l.12-.11L84.47,212H216a20,20,0,0,0,20-20V64A20,20,0,0,0,216,44Zm-4,144H80a11.93,11.93,0,0,0-7.84,2.92L44,215.23V68H212ZM84,108A12,12,0,0,1,96,96h64a12,12,0,1,1,0,24H96A12,12,0,0,1,84,108Zm0,40a12,12,0,0,1,12-12h64a12,12,0,0,1,0,24H96A12,12,0,0,1,84,148Z"></path>'),mn=pt('<path d="M224,64V192a8,8,0,0,1-8,8H80L45.15,230.11A8,8,0,0,1,32,224V64a8,8,0,0,1,8-8H216A8,8,0,0,1,224,64Z" opacity="0.2"></path><path d="M216,48H40A16,16,0,0,0,24,64V224a15.85,15.85,0,0,0,9.24,14.5A16.13,16.13,0,0,0,40,240a15.89,15.89,0,0,0,10.25-3.78l.09-.07L83,208H216a16,16,0,0,0,16-16V64A16,16,0,0,0,216,48ZM40,224h0ZM216,192H80a8,8,0,0,0-5.23,1.95L40,224V64H216ZM88,112a8,8,0,0,1,8-8h64a8,8,0,0,1,0,16H96A8,8,0,0,1,88,112Zm0,32a8,8,0,0,1,8-8h64a8,8,0,1,1,0,16H96A8,8,0,0,1,88,144Z"></path>',1),vn=pt('<path d="M216,48H40A16,16,0,0,0,24,64V224a15.84,15.84,0,0,0,9.25,14.5A16.05,16.05,0,0,0,40,240a15.89,15.89,0,0,0,10.25-3.78l.09-.07L83,208H216a16,16,0,0,0,16-16V64A16,16,0,0,0,216,48ZM160,152H96a8,8,0,0,1,0-16h64a8,8,0,0,1,0,16Zm0-32H96a8,8,0,0,1,0-16h64a8,8,0,0,1,0,16Z"></path>'),_n=pt('<path d="M216,50H40A14,14,0,0,0,26,64V224a13.88,13.88,0,0,0,8.09,12.69A14.11,14.11,0,0,0,40,238a13.87,13.87,0,0,0,9-3.31l.06-.05L82.23,206H216a14,14,0,0,0,14-14V64A14,14,0,0,0,216,50Zm2,142a2,2,0,0,1-2,2H80a6,6,0,0,0-3.92,1.46L41.26,225.53A2,2,0,0,1,38,224V64a2,2,0,0,1,2-2H216a2,2,0,0,1,2,2Zm-52-80a6,6,0,0,1-6,6H96a6,6,0,0,1,0-12h64A6,6,0,0,1,166,112Zm0,32a6,6,0,0,1-6,6H96a6,6,0,0,1,0-12h64A6,6,0,0,1,166,144Z"></path>'),hn=pt('<path d="M216,48H40A16,16,0,0,0,24,64V224a15.85,15.85,0,0,0,9.24,14.5A16.13,16.13,0,0,0,40,240a15.89,15.89,0,0,0,10.25-3.78l.09-.07L83,208H216a16,16,0,0,0,16-16V64A16,16,0,0,0,216,48ZM40,224h0ZM216,192H80a8,8,0,0,0-5.23,1.95L40,224V64H216ZM88,112a8,8,0,0,1,8-8h64a8,8,0,0,1,0,16H96A8,8,0,0,1,88,112Zm0,32a8,8,0,0,1,8-8h64a8,8,0,1,1,0,16H96A8,8,0,0,1,88,144Z"></path>'),bn=pt('<path d="M216,52H40A12,12,0,0,0,28,64V224a11.89,11.89,0,0,0,6.93,10.88A12.17,12.17,0,0,0,40,236a11.89,11.89,0,0,0,7.69-2.83l0,0L81.49,204H216a12,12,0,0,0,12-12V64A12,12,0,0,0,216,52Zm4,140a4,4,0,0,1-4,4H80a4,4,0,0,0-2.62,1L42.56,227.06A4,4,0,0,1,36,224V64a4,4,0,0,1,4-4H216a4,4,0,0,1,4,4Zm-56-80a4,4,0,0,1-4,4H96a4,4,0,0,1,0-8h64A4,4,0,0,1,164,112Zm0,32a4,4,0,0,1-4,4H96a4,4,0,0,1,0-8h64A4,4,0,0,1,164,144Z"></path>'),$n=pt('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');function ia(f,i){if(new.target)return ct({component:ia,...f});gt(i,!0);const w=Aa();let p=ae(i,"children",7),v=jt(i,fn),T=n(()=>i.weight??w.weight??"regular"),A=n(()=>i.color??w.color??"currentColor"),S=n(()=>i.size??w.size??"1em"),g=n(()=>i.mirrored??w.mirrored??!1);function M(o){let{weight:I,color:O,size:Le,mirrored:J,...Fe}=o;return Fe}var q={get children(){return p()},set children(o){p(o),re()},$set:dt,$on:(o,I)=>ut(i,o,I)},R=$n();Qt(R,(o,I)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:e(S),height:e(S),fill:e(A),transform:e(g)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...o,...I}),[()=>M(w),()=>M(v)]);var Re=qe(R);{var ne=o=>{var I=Q(),O=m(I);ra(O,p),r(o,I)};Z(Re,o=>{p()&&o(ne)})}var c=$(Re,2);{var N=o=>{var I=pn();r(o,I)},Ce=o=>{var I=mn();Ye(),r(o,I)},ze=o=>{var I=vn();r(o,I)},Ee=o=>{var I=_n();r(o,I)},K=o=>{var I=hn();r(o,I)},de=o=>{var I=bn();r(o,I)},u=o=>{var I=et();I.nodeValue=(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),""),r(o,I)};Z(c,o=>{e(T)==="bold"?o(N):e(T)==="duotone"?o(Ce,1):e(T)==="fill"?o(ze,2):e(T)==="light"?o(Ee,3):e(T)==="regular"?o(K,4):e(T)==="thin"?o(de,5):o(u,-1)})}return Be(R),r(f,R),ft(q)}var wn=H('<div class="type-caption flex items-center gap-[var(--space-2)] px-[var(--space-2)] py-[var(--space-1)] text-muted-foreground" data-testid="chat-message-navigator-loading"><!> <span> </span></div>'),In=H('<span class="block min-w-0 max-w-full flex-1 overflow-hidden whitespace-nowrap text-left text-ellipsis font-normal"> </span>'),An=H('<div role="listbox" class="mt-[var(--space-1)] min-h-0 min-w-0 flex-1 max-h-72 overflow-x-hidden overflow-y-auto overscroll-contain"></div>'),kn=H('<div class="type-caption px-2 py-6 text-left text-muted-foreground" data-testid="chat-message-navigator-empty"> </div>'),xn=H('<div class="flex min-h-0 min-w-0 max-h-full flex-1 flex-col overflow-hidden" data-testid="chat-message-navigator-panel"><!> <div role="status" aria-live="polite" class="shrink-0" data-testid="chat-message-navigator-loading-region"><!></div> <!></div>'),Wt=H("<!> <!>",1),yn=H('<div class="flex shrink-0 items-center gap-0.5" data-testid="chat-header-navigation-controls"><!> <!></div>');function la(f,i){const w=$a();if(new.target)return ct({component:la,...f});gt(i,!0);const p=t=>{var h=xn(),E=qe(h);{let F=n(()=>d.chat_messageNavigator_search_ariaLabel()),P=n(()=>e(O).length>0?I:void 0),U=n(()=>d.chat_messageNavigator_search_placeholder());fr(E,{get value(){return e(ne)},oninput:nt,onkeydown:j,role:"combobox",get"aria-label"(){return e(F)},get"aria-controls"(){return e(P)},"aria-expanded":"true","aria-autocomplete":"list",get"aria-activedescendant"(){return e(Le)},autocomplete:"off",get placeholder(){return e(U)},class:"type-caption h-(--control-height-medium) w-full min-w-0 shrink-0 rounded-(--radius-small) border border-border bg-card px-[var(--space-2)] text-foreground caret-foreground outline-none placeholder:text-muted-foreground","data-testid":"chat-message-navigator-search",get ref(){return e(Ee)},set ref(B){b(Ee,B,!0)}})}var G=$(E,2),ee=qe(G);{var ye=F=>{var P=wn(),U=qe(P);ka(U,{size:16});var B=$(U,2),Ie=at(B,!0);Be(P),ve(D=>$e(Ie,D),[()=>d.chat_messageNavigator_loading_label()]),r(F,P)};Z(ee,F=>{M()&&F(ye)})}Be(G);var se=$(G,2);{var ie=F=>{var P=An();kt(P,23,()=>e(O),U=>U.id,(U,B,Ie)=>{{let D=n(()=>!e(Re)[e(B).id]),y=n(()=>q()?"":"h-(--control-height-large)");vr(U,{get content(){return e(B).text},get disabled(){return e(D)},side:"left",align:"center",delayDuration:300,size:"sm",get class(){return`block w-full min-w-0 max-w-full ${e(y)??""}`},contentClass:"max-w-[min(28rem,calc(100vw-var(--space-4)))] break-words text-left",children:(_e,ge)=>{{let fe=n(()=>J(e(B).id)),Oe=n(()=>e(Ie)===e(c)),Se=n(()=>Xt(Pt(),pr,"max-w-full cursor-pointer overflow-hidden text-muted-foreground focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-ring/40",q()?"font-normal":"font-medium",!q()&&"h-(--control-height-large) min-h-(--control-height-large) max-h-(--control-height-large)",q()?"hover:bg-hover hover:text-foreground":"hover:bg-accent/60 hover:text-accent-foreground",e(Ie)===e(c)&&(q()?"bg-selected text-foreground":"bg-accent text-accent-foreground"))),Pe=n(()=>q()||void 0);lt(_e,{type:"button",variant:"plain",labelClass:"overflow-hidden whitespace-nowrap text-left text-ellipsis",get id(){return e(fe)},role:"option",tabindex:-1,get"aria-selected"(){return e(Oe)},get class(){return e(Se)},onclick:()=>void ue(e(B).id),onkeydown:Me=>{(Me.key==="Enter"||Me.key===" ")&&(Me.preventDefault(),ue(e(B).id))},onpointermove:()=>{(e(c)!==e(Ie)||e(N))&&He(e(Ie))},"data-testid":"chat-message-navigator-result",get"data-navigation-message-id"(){return e(B).id},get"data-panel-menu-row"(){return e(Pe)},children:(Me,le)=>{var Ue=In(),Je=at(Ue,!0);xa(Ue,(Qe,Ve)=>gr?.(Qe,Ve),()=>Qe=>e(Re)[e(B).id]=Qe),ve(()=>$e(Je,e(B).text)),r(Me,Ue)},$$slots:{default:!0}})}},$$slots:{default:!0}})}}),Be(P),ve(()=>Yt(P,"id",I)),Gt("scroll",P,tt),r(F,P)},W=F=>{var P=kn(),U=at(P,!0);ve(B=>$e(U,B),[()=>d.chat_messageNavigator_empty_label()]),r(F,P)};Z(se,F=>{e(O).length>0?F(ie):M()||F(W,1)})}Be(h),r(t,h)};let v=ae(i,"messages",7),T=ae(i,"isAtBottom",7),A=ae(i,"onSelectMessage",7),S=ae(i,"onScrollToBottom",7),g=ae(i,"onOpen",7),M=ae(i,"isLoadingIndex",7,!1),q=ae(i,"embedded",7,!1),R=ce(!1),Re=ce(It({})),ne=ce(""),c=ce(0),N=ce(!0),Ce=null,ze=!1,Ee=ce(null),K=ce(null),de=ce(null),u=ce(It([])),o=ce(!1);const I=`chat-message-navigator-listbox-${w}`,O=n(()=>{const t=e(ne).trim().toLocaleLowerCase();return t?v().filter(h=>h.text.toLocaleLowerCase().includes(t)):v()}),Le=n(()=>e(O)[e(c)]?J(e(O)[e(c)].id):void 0);function J(t){return`${I}-option-${encodeURIComponent(t)}`}function Fe(t){if(b(R,t,!0),!t)return;const h=e(K)?.closest("[data-panel-id]");b(u,h?[h]:[],!0),b(ne,""),b(N,!0),b(c,Math.max(v().length-1,0),!0),g()?.()}function nt(t){b(ne,t.currentTarget.value,!0),b(N,!0),b(c,Math.max(e(O).length-1,0),!0)}function He(t){b(N,!1),b(c,t,!0),Ce=e(O)[t]?.id??null}function tt(){ze||b(N,!1)}je(()=>{if(!e(R))return;const t=e(O).length;if(t===0)return;if(e(N)){b(c,t-1),Ce=e(O)[t-1].id;return}const h=At(()=>e(c)),E=Ce===null?-1:e(O).findIndex(G=>G.id===Ce);E>=0?E!==h&&b(c,E,!0):h>=t?(b(c,t-1),Ce=e(O)[t-1].id):Ce=e(O)[h]?.id??null}),je(()=>{if(!e(R)||!e(de)||e(O).length===0)return;const t=e(Le)?document.getElementById(e(Le)):null;t&&(ze=!0,t.scrollIntoView?.({block:"nearest"}),requestAnimationFrame(()=>{ze=!1}))});function C(t){t.key!=="Enter"&&t.key!==" "||(t.preventDefault(),Fe(!e(R)))}function z(t){t.preventDefault(),e(Ee)?.focus()}async function xe(){await Ft(),e(R)&&e(Ee)?.focus()}function we(t){return e(de)?.contains(t)?!0:t instanceof Element?t.closest("[data-chat-message-navigator-content]")?.dataset.chatMessageNavigatorContent===w:!1}function oe(t){!e(R)||!(t.target instanceof Node)||e(K)?.contains(t.target)||we(t.target)||(b(o,!0),Fe(!1))}function Y(t){e(o)&&(t.preventDefault(),b(o,!1))}async function ue(t){b(R,!1),await Ft(),await A()(t)}function j(t){if(q()&&t.stopPropagation(),t.key==="Escape"){t.preventDefault(),b(R,!1);return}e(O).length!==0&&(t.key==="ArrowDown"?(t.preventDefault(),He((e(c)+1)%e(O).length)):t.key==="ArrowUp"?(t.preventDefault(),He((e(c)-1+e(O).length)%e(O).length)):t.key==="Home"?(t.preventDefault(),He(0)):t.key==="End"?(t.preventDefault(),He(e(O).length-1)):t.key==="Enter"&&(t.preventDefault(),ue(e(O)[e(c)].id)))}var te={get messages(){return v()},set messages(t){v(t),re()},get isAtBottom(){return T()},set isAtBottom(t){T(t),re()},get onSelectMessage(){return A()},set onSelectMessage(t){A(t),re()},get onScrollToBottom(){return S()},set onScrollToBottom(t){S(t),re()},get onOpen(){return g()},set onOpen(t){g(t),re()},get isLoadingIndex(){return M()},set isLoadingIndex(t=!1){M(t),re()},get embedded(){return q()},set embedded(t=!1){q(t),re()},$set:dt,$on:(t,h)=>ut(i,t,h)},a=Q(),s=m(a);{var k=t=>{var h=Q(),E=m(h);x(E,()=>Ot,(G,ee)=>{ee(G,{onOpenChange:Fe,get open(){return e(R)},set open(ye){b(R,ye,!0)},children:(ye,se)=>{var ie=Wt(),W=m(ie);x(W,()=>Lt,(P,U)=>{U(P,{get icon(){return Ar},onSelect:xe,"data-testid":"chat-message-navigator-trigger",children:(B,Ie)=>{Ye();var D=et();ve(y=>$e(D,y),[()=>d.chat_messageNavigator_menu_label()]),r(B,D)},$$slots:{default:!0}})});var F=$(W,2);x(F,()=>Ht,(P,U)=>{U(P,{class:"w-[28rem] max-w-[calc(100vw-1rem)]",onOpenAutoFocus:z,get"data-chat-message-navigator-content"(){return w},get ref(){return e(de)},set ref(B){b(de,B,!0)},children:(B,Ie)=>{p(B)},$$slots:{default:!0}})}),r(ye,ie)},$$slots:{default:!0}})}),r(t,h)},_=t=>{var h=yn(),E=qe(h);x(E,()=>Kr,(ee,ye)=>{ye(ee,{onOpenChange:Fe,get open(){return e(R)},set open(se){b(R,se,!0)},children:(se,ie)=>{var W=Wt(),F=m(W);{const U=(B,Ie)=>{let D=()=>(Ie?.()).props;{let y=n(()=>d.chat_messageNavigator_open_ariaLabel()),_e=n(()=>d.chat_messageNavigator_open_ariaLabel());lt(B,Mt(D,{variant:"ghost-light",size:"icon-sm",get active(){return e(R)},get"aria-label"(){return e(y)},get tooltip(){return e(_e)},get tooltipDisabled(){return e(R)},tooltipSide:"bottom",tooltipDelayDuration:300,get"aria-expanded"(){return e(R)},onkeydown:C,"data-testid":"chat-message-navigator-trigger",children:(ge,fe)=>{ia(ge,{get size(){return na.compact},weight:"regular",mirrored:!1,"aria-hidden":"true",class:"size-4!","data-chat-message-navigator-chat-icon":!0})},$$slots:{default:!0}}))}};x(F,()=>qr,(B,Ie)=>{Ie(B,{get ref(){return e(K)},set ref(D){b(K,D,!0)},child:U,$$slots:{child:!0}})})}var P=$(F,2);x(P,()=>mr,(U,B)=>{B(U,{children:(Ie,D)=>{var y=Q(),_e=m(y);{let ge=n(()=>d.chat_messageNavigator_open_ariaLabel());x(_e,()=>Gr,(fe,Oe)=>{Oe(fe,{role:"dialog",get"aria-label"(){return e(ge)},align:"end",side:"bottom",sideOffset:4,get collisionBoundary(){return e(u)},collisionPadding:8,trapFocus:!1,onOpenAutoFocus:z,onCloseAutoFocus:Y,onFocusOutside:oe,get"data-chat-message-navigator-content"(){return w},get class(){return`${_r} w-[28rem]`},get ref(){return e(de)},set ref(Se){b(de,Se,!0)},children:(Se,Pe)=>{p(Se)},$$slots:{default:!0}})})}r(Ie,y)},$$slots:{default:!0}})}),r(se,W)},$$slots:{default:!0}})});var G=$(E,2);Wr(G,{get disabled(){return T()},get onclick(){return S()}}),Be(h),r(t,h)};Z(s,t=>{q()?t(k):t(_,-1)})}return r(f,a),ft(te)}function Tn(f,i,w){return[...Object.values(f).flatMap(p=>p.tabs.filter(v=>v.type==="browser"&&v.ownerAgentId===w).map(v=>({tab:v,panelId:p.id,active:p.activeTabId===v.id,hidden:!1}))),...i.filter(p=>p.type==="browser"&&p.ownerAgentId===w).map(p=>({tab:p,active:!1,hidden:!0}))]}const qt=(f,i=Dt)=>{var w=Sn(),p=qe(w);ht(p,{get icon(){return oa},class:"size-(--menu-icon-size) opacity-30"});var v=$(p,2);{var T=A=>{var S=Cn();ve(()=>Yt(S,"src",i().tab.faviconUrl)),Gt("error",S,g=>g.currentTarget.style.display="none"),wa(S),r(A,S)};Z(v,A=>{i().tab.faviconUrl&&A(T)})}Be(w),r(f,w)};var Cn=H('<img alt="" class="absolute inset-0 size-full rounded-sm object-contain"/>'),Sn=H('<span class="relative inline-flex size-(--menu-icon-size) shrink-0 items-center justify-center" aria-hidden="true"><!> <!></span>'),Pn=H('<span class="min-w-0 flex-1 truncate"> </span>'),Mn=H('<span class="inline-flex size-(--menu-icon-size) items-center justify-center" aria-hidden="true"><!></span>'),Dn=H('<div class="flex min-w-0 items-center gap-1"><!> <!></div>'),_t=H("<!> <!>",1),Ln=H('<span class="first-line-icon w-(--menu-icon-size)" aria-hidden="true"><!></span> <span class="min-w-0 flex-1 truncate text-muted-foreground"> </span>',1),Hn=H('<li class="flex min-w-0 items-center gap-1"><!> <!></li>'),On=H("<!> ",1),Bn=H('<div class="my-1 border-t border-border"></div> <!>',1),Rn=H('<ul class="m-0 list-none p-0"></ul> <!>',1);function ca(f,i){if(new.target)return ct({component:ca,...f});gt(i,!0);const w=()=>ke(R,"$panels$",v),p=()=>ke(Re,"$hiddenTabs$",v),[v,T]=xt();let A=ae(i,"workspaceId",7),S=ae(i,"agentId",7),g=ae(i,"entries",7),M=ae(i,"embedded",7,!1);const q=St(A());je(()=>q.set(A()));const R=Zt(q),Re=tn(q),ne=n(()=>Tn(w(),p(),S())),c=n(()=>g()??e(ne)),N=n(()=>e(c).length===1?d.chat_browserTabs_trigger_tooltip_one({count:wt(e(c).length)}):d.chat_browserTabs_trigger_tooltip_many({count:wt(e(c).length)}));function Ce(a){const s=a.tab.title.trim();if(s)return s;if(a.tab.browserUrl)try{return new URL(a.tab.browserUrl).host||a.tab.browserUrl}catch{return a.tab.browserUrl}return d.browser_embedded_noUrl_label()}function ze(a){if(b(K,!1),!g()){if(a.hidden){const s=Zt.select(X.state,A()),k=Object.values(s).find(_=>_.tabs.some(t=>t.type==="agent"&&t.agentId===S()));X.dispatch(Oa(A(),a.tab.id,k?.id??null))}else if(a.panelId){const s=en(A());s.setActiveTab(a.tab.id,a.panelId),o=!0,s.focusPanel(a.panelId)}}}const Ee=crypto.randomUUID();je(()=>{const a=A();if(!(!e(K)||g()))return X.dispatch(Da(a,Ee)),()=>X.dispatch(La(a,Ee))});let K=ce(!1),de=ce(null),u=ce(null),o=!1;function I(a){!o&&!e(J)||(a.preventDefault(),o=!1)}function O(a,s){const k=e(de)?.querySelectorAll('[data-testid="browser-tabs-menu-item"]');if(!k?.length)return;let _;if(a.key==="ArrowDown")_=(s+1)%k.length;else if(a.key==="ArrowUp")_=(s-1+k.length)%k.length;else if(a.key==="Home")_=0;else if(a.key==="End")_=k.length-1;else if(a.key==="ArrowRight"){a.preventDefault(),a.currentTarget.closest("li")?.querySelector('[data-testid="browser-tab-close"]')?.focus();return}else return;a.preventDefault(),k[_].focus()}const Le=n(()=>e(c).filter(a=>a.hidden).length);let J=ce(null);function Fe(a,s){return a.hostClientId===void 0||a.hostClientId===s}function nt(a){const s=rn.select(X.state,a.hostClientId??"",A());X.dispatch(Ba(a.id,!s.connected))}function He(a){const s=an.select(X.state);if(a.kind==="tab"){const{tab:_,panelId:t}=a.entry;Fe(_,s)?X.dispatch(ta(A(),_.id,t,void 0,{destroy:!0})):nt(_);return}const k=e(c).filter(_=>_.hidden&&!Fe(_.tab,s)).map(_=>_.tab);k.length<e(Le)&&X.dispatch(Ha(A(),S(),s));for(const _ of k)nt(_)}async function tt(a){if(!g()){if(b(K,!1),Xa.select(X.state,S())){if(M()){const s=a.kind==="hidden";await Yr({title:s?d.chat_browserTabs_closeHiddenDialog_title():d.chat_browserTabs_closeDialog_title(),description:s?d.chat_browserTabs_closeHiddenDialog_description():d.chat_browserTabs_closeDialog_description(),confirmLabel:s?d.chat_browserTabs_closeHiddenDialog_confirm_label():d.chat_browserTabs_closeDialog_confirm_label(),cancelLabel:d.chat_browserTabs_closeDialog_cancel_label(),destructive:!0})&&He(a)}else b(J,a,!0);return}He(a)}}function C(){const a=e(J);b(J,null),a&&He(a)}function z(){b(J,null)}var xe={get workspaceId(){return A()},set workspaceId(a){A(a),re()},get agentId(){return S()},set agentId(a){S(a),re()},get entries(){return g()},set entries(a){g(a),re()},get embedded(){return M()},set embedded(a=!1){M(a),re()},$set:dt,$on:(a,s)=>ut(i,a,s)},we=_t(),oe=m(we);{var Y=a=>{var s=Q(),k=m(s);x(k,()=>Ot,(_,t)=>{t(_,{get open(){return e(K)},set open(h){b(K,h,!0)},children:(h,E)=>{var G=_t(),ee=m(G);x(ee,()=>Lt,(se,ie)=>{ie(se,{get icon(){return oa},"data-testid":"browser-tabs-trigger",children:(W,F)=>{Ye();var P=et();ve(()=>$e(P,e(N))),r(W,P)},$$slots:{default:!0}})});var ye=$(ee,2);x(ye,()=>Ht,(se,ie)=>{ie(se,{class:"w-64",alignIconColumn:!1,onCloseAutoFocus:I,children:(W,F)=>{var P=_t(),U=m(P);kt(U,17,()=>e(c),D=>D.tab.id,(D,y)=>{const _e=n(()=>Ce(e(y)));var ge=Dn(),fe=qe(ge);{const Se=le=>{qt(le,()=>e(y))};let Pe=n(()=>e(y).hidden?"opacity-60":""),Me=n(()=>e(y).hidden||void 0);x(fe,()=>Ut,(le,Ue)=>{Ue(le,{get class(){return`min-w-0 flex-1 ${e(Pe)??""}`},get textValue(){return e(_e)},onclick:()=>ze(e(y)),"data-testid":"browser-tabs-menu-item",get"data-browser-tab-id"(){return e(y).tab.id},get"data-hidden"(){return e(Me)},leading:Se,children:(Je,Qe)=>{var Ve=Pn(),ot=at(Ve,!0);ve(()=>$e(ot,e(_e))),r(Je,Ve)},$$slots:{leading:!0,default:!0}})})}var Oe=$(fe,2);{let Se=n(()=>d.chat_browserTabs_closeTab_ariaLabel({title:e(_e)})),Pe=n(()=>d.chat_browserTabs_closeTab_ariaLabel({title:e(_e)})),Me=n(()=>d.chat_browserTabs_closeTab_ariaLabel({title:e(_e)}));x(Oe,()=>Ut,(le,Ue)=>{Ue(le,{class:"size-7 shrink-0 items-center justify-center p-0",get textValue(){return e(Se)},get"aria-label"(){return e(Pe)},get title(){return e(Me)},onSelect:Je=>Je.preventDefault(),onclick:()=>tt({kind:"tab",entry:e(y)}),"data-testid":"browser-tab-close",get"data-browser-tab-id"(){return e(y).tab.id},children:(Je,Qe)=>{var Ve=Mn(),ot=qe(Ve);ht(ot,{get icon(){return $t},class:"size-(--menu-icon-size)! shrink-0"}),Be(Ve),r(Je,Ve)},$$slots:{default:!0}})})}Be(ge),r(D,ge)});var B=$(U,2);{var Ie=D=>{var y=_t(),_e=m(y);x(_e,()=>Bt,(fe,Oe)=>{Oe(fe,{})});var ge=$(_e,2);{let fe=n(()=>d.chat_browserTabs_closeHidden_label({count:wt(e(Le))}));x(ge,()=>st,(Oe,Se)=>{Se(Oe,{get icon(){return $t},get label(){return e(fe)},onSelect:Pe=>Pe.preventDefault(),onclick:()=>tt({kind:"hidden"}),"data-testid":"browser-tabs-close-hidden"})})}r(D,y)};Z(B,D=>{e(Le)>0&&D(Ie)})}r(W,P)},$$slots:{default:!0}})}),r(h,G)},$$slots:{default:!0}})}),r(a,s)},ue=a=>{var s=Q(),k=m(s);x(k,()=>Qr,(_,t)=>{t(_,{get open(){return e(K)},set open(h){b(K,h,!0)},children:(h,E)=>{var G=_t(),ee=m(G);{const se=(ie,W)=>{lt(ie,Mt(()=>(W?.()).props,{variant:"ghost-light",size:"icon-sm",get active(){return e(K)},get"aria-label"(){return e(N)},get tooltip(){return e(N)},get tooltipDisabled(){return e(K)},tooltipSide:"bottom",tooltipDelayDuration:300,"data-testid":"browser-tabs-trigger",get ref(){return e(u)},set ref(P){b(u,P,!0)},children:(P,U)=>{kr(P,{get size(){return na.compact},weight:"regular","aria-hidden":"true",class:"size-4!"})},$$slots:{default:!0}}))};x(ee,()=>jr,(ie,W)=>{W(ie,{child:se,$$slots:{child:!0}})})}var ye=$(ee,2);x(ye,()=>Jr,(se,ie)=>{ie(se,{trapFocus:!1,align:"end",side:"bottom",sideOffset:4,class:"min-w-52 max-w-80 max-h-[min(var(--bits-popover-content-available-height,calc(100dvh-1rem)),calc(100dvh-1rem))] overflow-y-auto p-1",role:"dialog",get"aria-label"(){return e(N)},onOpenAutoFocus:W=>{W.preventDefault(),e(de)?.querySelector('[data-testid="browser-tabs-menu-item"]')?.focus()},onCloseAutoFocus:I,children:(W,F)=>{var P=Rn(),U=m(P);kt(U,23,()=>e(c),D=>D.tab.id,(D,y,_e)=>{const ge=n(()=>Ce(e(y)));var fe=Hn(),Oe=qe(fe);{let Pe=n(Pt),Me=n(()=>e(y).hidden?"opacity-60":""),le=n(()=>e(y).hidden||void 0);lt(Oe,{variant:"plain",wrapContent:!1,get class(){return`${e(Pe)??""} h-auto min-w-0 flex-1 ${e(Me)??""}`},"data-testid":"browser-tabs-menu-item",get"data-browser-tab-id"(){return e(y).tab.id},get"data-hidden"(){return e(le)},onkeydown:Ue=>O(Ue,e(_e)),onclick:()=>ze(e(y)),children:(Ue,Je)=>{var Qe=Ln(),Ve=m(Qe),ot=qe(Ve);qt(ot,()=>e(y)),Be(Ve);var yt=$(Ve,2),bt=at(yt,!0);ve(()=>$e(bt,e(ge))),r(Ue,Qe)},$$slots:{default:!0}})}var Se=$(Oe,2);{let Pe=n(()=>d.chat_browserTabs_closeTab_ariaLabel({title:e(ge)})),Me=n(()=>d.chat_browserTabs_closeTab_ariaLabel({title:e(ge)}));lt(Se,{variant:"plain",size:"icon-compact",type:"button",class:"size-6 shrink-0 focus-visible:ring-1","data-testid":"browser-tab-close",get"data-browser-tab-id"(){return e(y).tab.id},get"aria-label"(){return e(Pe)},get title(){return e(Me)},onkeydown:le=>{le.key!=="Escape"&&le.stopPropagation(),le.key==="ArrowLeft"&&(le.preventDefault(),le.currentTarget.closest("li")?.querySelector('[data-testid="browser-tabs-menu-item"]')?.focus())},onclick:le=>{le.preventDefault(),le.stopPropagation(),tt({kind:"tab",entry:e(y)})},children:(le,Ue)=>{ht(le,{get icon(){return $t},class:"size-3"})},$$slots:{default:!0}})}Be(fe),r(D,fe)}),Be(U),Jt(U,D=>b(de,D),()=>e(de));var B=$(U,2);{var Ie=D=>{var y=Bn(),_e=$(m(y),2);{let ge=n(Pt);lt(_e,{variant:"plain",get class(){return e(ge)},"data-testid":"browser-tabs-close-hidden",onclick:()=>tt({kind:"hidden"}),children:(fe,Oe)=>{var Se=On(),Pe=m(Se);ht(Pe,{get icon(){return $t},class:"size-3"});var Me=$(Pe);ve(le=>$e(Me,` ${le??""}`),[()=>d.chat_browserTabs_closeHidden_label({count:wt(e(Le))})]),r(fe,Se)},$$slots:{default:!0}})}r(D,y)};Z(B,D=>{e(Le)>0&&D(Ie)})}r(W,P)},$$slots:{default:!0}})}),r(h,G)},$$slots:{default:!0}})}),r(a,s)};Z(oe,a=>{e(c).length>0&&M()?a(Y):e(c).length>0&&a(ue,1)})}var j=$(oe,2);{let a=n(()=>e(J)!==null),s=n(()=>e(J)?.kind==="hidden"?d.chat_browserTabs_closeHiddenDialog_title():d.chat_browserTabs_closeDialog_title()),k=n(()=>e(J)?.kind==="hidden"?d.chat_browserTabs_closeHiddenDialog_description():d.chat_browserTabs_closeDialog_description()),_=n(()=>d.chat_browserTabs_closeDialog_close_ariaLabel()),t=n(()=>d.chat_browserTabs_closeDialog_cancel_label()),h=n(()=>e(J)?.kind==="hidden"?d.chat_browserTabs_closeHiddenDialog_confirm_label():d.chat_browserTabs_closeDialog_confirm_label());Xr(j,{get open(){return e(a)},size:"sm",get title(){return e(s)},get description(){return e(k)},get closeLabel(){return e(_)},get cancelLabel(){return e(t)},get submitLabel(){return e(h)},submitVariant:"destructive",focusSubmit:!0,onSubmit:C,onCancel:z,onCloseAutoFocus:E=>{E.preventDefault(),e(u)?.focus()}})}r(f,we);var te=ft(xe);return T(),te}var En=H("<!> <!>",1);function da(f,i){if(new.target)return ct({component:da,...f});gt(i,!0);const w=()=>ke(g,"$entry",p),[p,v]=xt();let T=ae(i,"workspaceId",7),A=ae(i,"agentId",7),S=ae(i,"separator",7,!0);const g=ea(At(()=>T()),At(()=>A()));je(()=>{X.dispatch(aa(T(),A()))});var M={get workspaceId(){return T()},set workspaceId(c){T(c),re()},get agentId(){return A()},set agentId(c){A(c),re()},get separator(){return S()},set separator(c=!0){S(c),re()},$set:dt,$on:(c,N)=>ut(i,c,N)},q=Q(),R=m(q);{var Re=c=>{var N=En(),Ce=m(N);{var ze=K=>{var de=Q(),u=m(de);x(u,()=>Bt,(o,I)=>{I(o,{})}),r(K,de)};Z(Ce,K=>{S()&&K(ze)})}var Ee=$(Ce,2);x(Ee,()=>mt,(K,de)=>{de(K,{indicator:"switch",get icon(){return xr},get checked(){return w().permission.allowed},onSelect:u=>{u.preventDefault();const o=w()?.permission;o&&!w()?.saving&&X.dispatch(Ra(T(),A(),o.computerId,!o.allowed))},children:(u,o)=>{Ye();var I=et();ve(O=>$e(I,O),[()=>d.settings_agentFeatures_desktopControl_label()]),r(u,I)},$$slots:{default:!0}})}),r(c,N)};Z(R,c=>{w()?.permission&&c(Re)})}r(f,q);var ne=ft(M);return v(),ne}var Ct=H("<!> <!>",1),Fn=H("<!> <!> <!>",1),Nn=H('<span class="min-w-0 flex-1"> </span> <span> </span>',1),zn=H("<!> <!> <!> <!>",1),Un=H("<!> <!> <!> <!> <!>",1);function ua(f,i){if(new.target)return ct({component:ua,...f});gt(i,!0);const w=()=>ke(de,"$agentSession",S),p=()=>ke(Ce,"$fontStyle",S),v=()=>ke(ze,"$chatContentWidth",S),T=()=>ke(Ee,"$chatAuroraEnabled",S),A=()=>ke(K,"$collapseToolRuns",S),[S,g]=xt(),M=C=>{var z=Q(),xe=m(z);x(xe,()=>Zr,(we,oe)=>{oe(we,{get value(){return p()},onValueChange:O,children:(Y,ue)=>{var j=Ct(),te=m(j);x(te,()=>Vt,(s,k)=>{k(s,{value:"sans",closeOnSelect:!1,children:(_,t)=>{Ye();var h=et();ve(E=>$e(h,E),[()=>d.settings_fontStyle_sans()]),r(_,h)},$$slots:{default:!0}})});var a=$(te,2);x(a,()=>Vt,(s,k)=>{k(s,{value:"monospace",closeOnSelect:!1,children:(_,t)=>{Ye();var h=et();ve(E=>$e(h,E),[()=>d.settings_fontStyle_mono()]),r(_,h)},$$slots:{default:!0}})}),r(Y,j)},$$slots:{default:!0}})}),r(C,z)},q=C=>{var z=Fn(),xe=m(z);{let Y=n(()=>v()==="full");x(xe,()=>mt,(ue,j)=>{j(ue,{indicator:"switch",get icon(){return Cr},get checked(){return e(Y)},closeOnSelect:!1,onCheckedChange:te=>X.dispatch(Ea(te?"full":"800")),children:(te,a)=>{Ye();var s=et();ve(k=>$e(s,k),[()=>d.settings_appearance_chatContentWidth_label()]),r(te,s)},$$slots:{default:!0}})})}var we=$(xe,2);x(we,()=>mt,(Y,ue)=>{ue(Y,{indicator:"switch",get icon(){return Sr},get checked(){return T()},closeOnSelect:!1,onCheckedChange:j=>X.dispatch(Fa(j)),children:(j,te)=>{Ye();var a=et();ve(s=>$e(a,s),[()=>d.settings_appearance_chatAurora_label()]),r(j,a)},$$slots:{default:!0}})});var oe=$(we,2);x(oe,()=>mt,(Y,ue)=>{ue(Y,{indicator:"switch",get icon(){return Pr},get checked(){return A()},closeOnSelect:!1,onCheckedChange:j=>X.dispatch(Na(j)),children:(j,te)=>{Ye();var a=et();ve(s=>$e(a,s),[()=>d.settings_appearance_collapseToolRuns_label()]),r(j,a)},$$slots:{default:!0}})}),r(C,z)},R=C=>{var z=Q(),xe=m(z);{var we=oe=>{var Y=Q(),ue=m(Y);x(ue,()=>mt,(j,te)=>{te(j,{indicator:"switch",get icon(){return Mr},get checked(){return e(u)},closeOnSelect:!1,onCheckedChange:a=>X.dispatch(Ua(c(),N(),a?"interactive":"allow")),children:(a,s)=>{Ye();var k=et();ve(_=>$e(k,_),[()=>d.ui_viewSettings_askBeforeTools_label()]),r(a,k)},$$slots:{default:!0}})}),r(oe,Y)};Z(xe,oe=>{e(u)!==void 0&&c()&&N()&&oe(we)})}r(C,z)},Re=C=>{var z=Q(),xe=m(z);{var we=oe=>{var Y=Q(),ue=m(Y);Kt(ue,()=>`${c()}:${N()}`,j=>{{let te=n(()=>!ne());da(j,{get workspaceId(){return c()},get agentId(){return N()},get separator(){return e(te)}})}}),r(oe,Y)};Z(xe,oe=>{c()&&N()&&oe(we)})}r(C,z)};let ne=ae(i,"embedded",7,!1),c=ae(i,"workspaceId",7),N=ae(i,"agentId",7);const Ce=sn(),ze=ln(),Ee=cn(),K=dn(),de=Ya(on(()=>N())),u=n(()=>{const C=w();if(!c()||!C||C.permissionPolicy===void 0)return;const z=C.effectivePermissionPolicy;return typeof z=="string"?z==="interactive":void 0});let o=ce(!1);const I=n(()=>p()==="sans"?d.settings_fontStyle_sans():d.settings_fontStyle_mono());function O(C){C!=="sans"&&C!=="monospace"||X.dispatch(za(C))}var Le={get embedded(){return ne()},set embedded(C=!1){ne(C),re()},get workspaceId(){return c()},set workspaceId(C){c(C),re()},get agentId(){return N()},set agentId(C){N(C),re()},$set:dt,$on:(C,z)=>ut(i,C,z)},J=Q(),Fe=m(J);{var nt=C=>{var z=zn(),xe=m(z);x(xe,()=>Ot,(ue,j)=>{j(ue,{children:(te,a)=>{var s=Ct(),k=m(s);x(k,()=>Lt,(t,h)=>{h(t,{get icon(){return yr},iconWeight:"regular",children:(E,G)=>{var ee=Nn(),ye=m(ee),se=at(ye,!0),ie=$(ye,2),W=at(ie,!0);ve(F=>{$e(se,F),Ma(ie,1,`type-caption ${Fr}`),$e(W,e(I))},[()=>d.ui_viewSettings_font_label()]),r(E,ee)},$$slots:{default:!0}})});var _=$(k,2);{let t=n(()=>d.ui_viewSettings_font_label());x(_,()=>Ht,(h,E)=>{E(h,{get"aria-label"(){return e(t)},children:(G,ee)=>{M(G)},$$slots:{default:!0}})})}r(te,s)},$$slots:{default:!0}})});var we=$(xe,2);q(we);var oe=$(we,2);R(oe);var Y=$(oe,2);Re(Y),r(C,z)},He=C=>{var z=Q(),xe=m(z);x(xe,()=>Vr,(we,oe)=>{oe(we,{get open(){return e(o)},set open(Y){b(o,Y,!0)},children:(Y,ue)=>{var j=Ct(),te=m(j);{const s=(k,_)=>{let t=()=>(_?.()).props;{let h=n(()=>d.ui_viewSettings_trigger_tooltip()),E=n(()=>d.ui_viewSettings_trigger_tooltip());lt(k,Mt(t,{variant:"ghost-light",size:"icon-xs",get tooltip(){return e(h)},tooltipSide:"bottom",get"aria-label"(){return e(E)},get"aria-expanded"(){return e(o)},"data-testid":"agent-view-settings-trigger",children:(G,ee)=>{ht(G,{get icon(){return Tr},size:"xs"})},$$slots:{default:!0}}))}};x(te,()=>zr,(k,_)=>{_(k,{child:s,$$slots:{child:!0}})})}var a=$(te,2);{let s=n(()=>d.ui_viewSettings_trigger_tooltip());x(a,()=>Ur,(k,_)=>{_(k,{align:"end",class:"w-56",get"aria-label"(){return e(s)},children:(t,h)=>{var E=Un(),G=m(E);M(G);var ee=$(G,2);x(ee,()=>Bt,(W,F)=>{F(W,{})});var ye=$(ee,2);q(ye);var se=$(ye,2);R(se);var ie=$(se,2);Re(ie),r(t,E)},$$slots:{default:!0}})})}r(Y,j)},$$slots:{default:!0}})}),r(C,z)};Z(Fe,C=>{ne()?C(nt):C(He,-1)})}r(f,J);var tt=ft(Le);return g(),tt}function vt(f,i=2){if(f==null)return"";if(typeof f=="string")return f;try{return JSON.stringify(f,null,i)}catch{return String(f)}}function Vn(f){const i=f.name||f.toolName||"unknown",w=f.arguments||f.input||f.parameters||{},p=vt(w),v=f.result,T=f.error;let A=`🔧 Tool: ${i}
1
+ import{t as ct,bo as ae,bw as dt,bp as jt,b as ut,bm as d,br as Mt,bq as xt,bs as ke}from"./Fcr7AvC-.js";import{bs as gt,a5 as qe,bf as Dt,bA as Be,W as r,bn as ft,aA as re,aB as H,aD as e,bS as $,c9 as n,a7 as Q,ay as m,be as Ye,b$ as et,aC as pt,bo as $a,bV as ce,br as It,ca as je,bH as b,c5 as At,b_ as ve,bO as $e,c0 as Ft,bl as at,aw as Gt,cd as St,bz as wa,bj as Ia}from"./3SdAC2_C.js";import{i as Z}from"./BhYXv0ZM.js";import{k as Kt}from"./Cc0763mU.js";import{h as Aa,I as ka,g as kt,e as xa}from"./CA6H1-bp.js";import{c as x}from"./2z64ELW5.js";import{b as Jt}from"./Dn334wJv.js";import{a3 as ya,a4 as Ta,bb as Ca}from"./B3ZeLze4.js";import Sa from"./CTGxPVh7.js";import{D as Pa}from"./CdtwTpzR.js";import{C as Nt}from"./CXygwMkb.js";import{b as Qt,e as Xt,s as Yt,f as Ma}from"./BRCr02in.js";import"./CpK0xLH4.js";import{a3 as ea}from"./DGMKnMeG.js";import{JH as X,dS as Da,dT as La,h0 as ta,jd as Ha,Cu as Oa,gI as Ba,ja as aa,j9 as Ra,Ey as Ea,Ex as Fa,EE as Na,E4 as za,E7 as Ua,cq as Va,co as Za,cu as Wa,c7 as qa,E6 as ja,cr as Ga,DP as Ka}from"./D0qhIm1r.js";import{g as Ja}from"./DWGXN6Nr.js";import{a as Qa}from"./DEykPUjl.js";import{u as zt}from"./Ce2Qo9vu.js";import{ay as Xa,aO as Ya,dI as er,c4 as tr,ci as ar,aM as rr,bv as nr,p as or}from"./cD292w1o.js";import{a_ as sr,a$ as ir}from"./CNKJ8_Xr.js";import{a as lr}from"./gKdztwD8.js";import{c as cr}from"./ChTqQfQN.js";import{c as dr}from"./B5V_Igzh.js";import{C as ur}from"./_aw8AL2s.js";import{o as gr}from"./DAsc1V4f.js";import{I as fr,c as pr}from"./C3KgmGxd.js";import"./x4bPxhVW.js";import{t as ra}from"./CWfjuhY2.js";import{a1 as mr,f as lt,ae as vr}from"./Beq_QLuz.js";import"./BAtAwQ72.js";import{D as _r,C as na,T as hr,F as br,H as $r,t as wr,R as Ir}from"./By6WkvE9.js";import{aV as Ar,d0 as oa,F as ht,d3 as $t,B as kr,b1 as xr,br as yr,cA as Tr,aa as Cr,cB as Sr,a9 as Pr,cx as Mr,au as Dr,aZ as Lr,cZ as Hr,ag as Or,cl as Br,an as Rr,cS as Er}from"./ChHRVjww.js";import{a as Pt,m as Fr}from"./Cz3WzTlQ.js";import{n as Nr,k as Lt,j as Ht,i as Ot,e as Ut,h as Bt,c as mt,l as zr,d as Ur,M as Vr,g as Vt,R as Zr}from"./D7KhILhs.js";import{B as Wr}from"./BptF1xOU.js";import{P as qr,T as jr}from"./B2-ooCTr.js";import{b as Gr,P as Kr,c as Jr,d as Qr}from"./Dbqo6rfT.js";import"./BzXQ5SMs.js";import{b as Xr}from"./Ch9YoFhc.js";import{e as Yr}from"./s_T1Uukt.js";import"./O5ZlQHf9.js";import{M as st}from"./D179JMBI.js";import{g as en}from"./2OP7IVCM.js";import{y as Zt,k as tn}from"./CH7HNVC2.js";import{ay as an,$ as rn}from"./Bsnum5pm.js";import{l as wt,h as nn}from"./C7b3vXLD.js";import{t as on}from"./C-BsEdGZ.js";import{a as sn,e as ln,d as cn,i as dn}from"./BwweojP5.js";var un=new Set(["$$slots","$$events","$$legacy","children","class"]),gn=H("<div><!></div>");function sa(f,i){if(new.target)return ct({component:sa,...f});gt(i,!0);let w=ae(i,"children",7),p=ae(i,"class",7),v=jt(i,un);Nr(()=>!1);var T={get children(){return w()},set children(g){w(g),re()},get class(){return p()},set class(g){p(g),re()},$set:dt,$on:(g,M)=>ut(i,g,M)},A=gn();Qt(A,g=>({"data-slot":"menu-footer",class:g,...v}),[()=>Xt("menu-footer type-caption relative z-10 -mx-1.5 -mb-1.5 mt-1.5 border-t border-border bg-muted/20 px-3.5 py-1.5 leading-(--text-caption-line-height) font-normal text-muted-foreground [&_[data-menu-item]]:hover:bg-hover [&_[data-menu-item]]:focus-visible:bg-hover",p())],void 0,void 0,"svelte-1od5b5i");var S=qe(A);return ra(S,()=>w()??Dt),Be(A),r(f,A),ft(T)}var fn=new Set(["$$slots","$$events","$$legacy","children"]),pn=pt('<path d="M216,44H40A20,20,0,0,0,20,64V224A19.82,19.82,0,0,0,31.56,242.1a20.14,20.14,0,0,0,8.49,1.9,19.91,19.91,0,0,0,12.82-4.72l.12-.11L84.47,212H216a20,20,0,0,0,20-20V64A20,20,0,0,0,216,44Zm-4,144H80a11.93,11.93,0,0,0-7.84,2.92L44,215.23V68H212ZM84,108A12,12,0,0,1,96,96h64a12,12,0,1,1,0,24H96A12,12,0,0,1,84,108Zm0,40a12,12,0,0,1,12-12h64a12,12,0,0,1,0,24H96A12,12,0,0,1,84,148Z"></path>'),mn=pt('<path d="M224,64V192a8,8,0,0,1-8,8H80L45.15,230.11A8,8,0,0,1,32,224V64a8,8,0,0,1,8-8H216A8,8,0,0,1,224,64Z" opacity="0.2"></path><path d="M216,48H40A16,16,0,0,0,24,64V224a15.85,15.85,0,0,0,9.24,14.5A16.13,16.13,0,0,0,40,240a15.89,15.89,0,0,0,10.25-3.78l.09-.07L83,208H216a16,16,0,0,0,16-16V64A16,16,0,0,0,216,48ZM40,224h0ZM216,192H80a8,8,0,0,0-5.23,1.95L40,224V64H216ZM88,112a8,8,0,0,1,8-8h64a8,8,0,0,1,0,16H96A8,8,0,0,1,88,112Zm0,32a8,8,0,0,1,8-8h64a8,8,0,1,1,0,16H96A8,8,0,0,1,88,144Z"></path>',1),vn=pt('<path d="M216,48H40A16,16,0,0,0,24,64V224a15.84,15.84,0,0,0,9.25,14.5A16.05,16.05,0,0,0,40,240a15.89,15.89,0,0,0,10.25-3.78l.09-.07L83,208H216a16,16,0,0,0,16-16V64A16,16,0,0,0,216,48ZM160,152H96a8,8,0,0,1,0-16h64a8,8,0,0,1,0,16Zm0-32H96a8,8,0,0,1,0-16h64a8,8,0,0,1,0,16Z"></path>'),_n=pt('<path d="M216,50H40A14,14,0,0,0,26,64V224a13.88,13.88,0,0,0,8.09,12.69A14.11,14.11,0,0,0,40,238a13.87,13.87,0,0,0,9-3.31l.06-.05L82.23,206H216a14,14,0,0,0,14-14V64A14,14,0,0,0,216,50Zm2,142a2,2,0,0,1-2,2H80a6,6,0,0,0-3.92,1.46L41.26,225.53A2,2,0,0,1,38,224V64a2,2,0,0,1,2-2H216a2,2,0,0,1,2,2Zm-52-80a6,6,0,0,1-6,6H96a6,6,0,0,1,0-12h64A6,6,0,0,1,166,112Zm0,32a6,6,0,0,1-6,6H96a6,6,0,0,1,0-12h64A6,6,0,0,1,166,144Z"></path>'),hn=pt('<path d="M216,48H40A16,16,0,0,0,24,64V224a15.85,15.85,0,0,0,9.24,14.5A16.13,16.13,0,0,0,40,240a15.89,15.89,0,0,0,10.25-3.78l.09-.07L83,208H216a16,16,0,0,0,16-16V64A16,16,0,0,0,216,48ZM40,224h0ZM216,192H80a8,8,0,0,0-5.23,1.95L40,224V64H216ZM88,112a8,8,0,0,1,8-8h64a8,8,0,0,1,0,16H96A8,8,0,0,1,88,112Zm0,32a8,8,0,0,1,8-8h64a8,8,0,1,1,0,16H96A8,8,0,0,1,88,144Z"></path>'),bn=pt('<path d="M216,52H40A12,12,0,0,0,28,64V224a11.89,11.89,0,0,0,6.93,10.88A12.17,12.17,0,0,0,40,236a11.89,11.89,0,0,0,7.69-2.83l0,0L81.49,204H216a12,12,0,0,0,12-12V64A12,12,0,0,0,216,52Zm4,140a4,4,0,0,1-4,4H80a4,4,0,0,0-2.62,1L42.56,227.06A4,4,0,0,1,36,224V64a4,4,0,0,1,4-4H216a4,4,0,0,1,4,4Zm-56-80a4,4,0,0,1-4,4H96a4,4,0,0,1,0-8h64A4,4,0,0,1,164,112Zm0,32a4,4,0,0,1-4,4H96a4,4,0,0,1,0-8h64A4,4,0,0,1,164,144Z"></path>'),$n=pt('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');function ia(f,i){if(new.target)return ct({component:ia,...f});gt(i,!0);const w=Aa();let p=ae(i,"children",7),v=jt(i,fn),T=n(()=>i.weight??w.weight??"regular"),A=n(()=>i.color??w.color??"currentColor"),S=n(()=>i.size??w.size??"1em"),g=n(()=>i.mirrored??w.mirrored??!1);function M(o){let{weight:I,color:O,size:Le,mirrored:J,...Fe}=o;return Fe}var q={get children(){return p()},set children(o){p(o),re()},$set:dt,$on:(o,I)=>ut(i,o,I)},R=$n();Qt(R,(o,I)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:e(S),height:e(S),fill:e(A),transform:e(g)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...o,...I}),[()=>M(w),()=>M(v)]);var Re=qe(R);{var ne=o=>{var I=Q(),O=m(I);ra(O,p),r(o,I)};Z(Re,o=>{p()&&o(ne)})}var c=$(Re,2);{var N=o=>{var I=pn();r(o,I)},Ce=o=>{var I=mn();Ye(),r(o,I)},ze=o=>{var I=vn();r(o,I)},Ee=o=>{var I=_n();r(o,I)},K=o=>{var I=hn();r(o,I)},de=o=>{var I=bn();r(o,I)},u=o=>{var I=et();I.nodeValue=(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),""),r(o,I)};Z(c,o=>{e(T)==="bold"?o(N):e(T)==="duotone"?o(Ce,1):e(T)==="fill"?o(ze,2):e(T)==="light"?o(Ee,3):e(T)==="regular"?o(K,4):e(T)==="thin"?o(de,5):o(u,-1)})}return Be(R),r(f,R),ft(q)}var wn=H('<div class="type-caption flex items-center gap-[var(--space-2)] px-[var(--space-2)] py-[var(--space-1)] text-muted-foreground" data-testid="chat-message-navigator-loading"><!> <span> </span></div>'),In=H('<span class="block min-w-0 max-w-full flex-1 overflow-hidden whitespace-nowrap text-left text-ellipsis font-normal"> </span>'),An=H('<div role="listbox" class="mt-[var(--space-1)] min-h-0 min-w-0 flex-1 max-h-72 overflow-x-hidden overflow-y-auto overscroll-contain"></div>'),kn=H('<div class="type-caption px-2 py-6 text-left text-muted-foreground" data-testid="chat-message-navigator-empty"> </div>'),xn=H('<div class="flex min-h-0 min-w-0 max-h-full flex-1 flex-col overflow-hidden" data-testid="chat-message-navigator-panel"><!> <div role="status" aria-live="polite" class="shrink-0" data-testid="chat-message-navigator-loading-region"><!></div> <!></div>'),Wt=H("<!> <!>",1),yn=H('<div class="flex shrink-0 items-center gap-0.5" data-testid="chat-header-navigation-controls"><!> <!></div>');function la(f,i){const w=$a();if(new.target)return ct({component:la,...f});gt(i,!0);const p=t=>{var h=xn(),E=qe(h);{let F=n(()=>d.chat_messageNavigator_search_ariaLabel()),P=n(()=>e(O).length>0?I:void 0),U=n(()=>d.chat_messageNavigator_search_placeholder());fr(E,{get value(){return e(ne)},oninput:nt,onkeydown:j,role:"combobox",get"aria-label"(){return e(F)},get"aria-controls"(){return e(P)},"aria-expanded":"true","aria-autocomplete":"list",get"aria-activedescendant"(){return e(Le)},autocomplete:"off",get placeholder(){return e(U)},class:"type-caption h-(--control-height-medium) w-full min-w-0 shrink-0 rounded-(--radius-small) border border-border bg-card px-[var(--space-2)] text-foreground caret-foreground outline-none placeholder:text-muted-foreground","data-testid":"chat-message-navigator-search",get ref(){return e(Ee)},set ref(B){b(Ee,B,!0)}})}var G=$(E,2),ee=qe(G);{var ye=F=>{var P=wn(),U=qe(P);ka(U,{size:16});var B=$(U,2),Ie=at(B,!0);Be(P),ve(D=>$e(Ie,D),[()=>d.chat_messageNavigator_loading_label()]),r(F,P)};Z(ee,F=>{M()&&F(ye)})}Be(G);var se=$(G,2);{var ie=F=>{var P=An();kt(P,23,()=>e(O),U=>U.id,(U,B,Ie)=>{{let D=n(()=>!e(Re)[e(B).id]),y=n(()=>q()?"":"h-(--control-height-large)");vr(U,{get content(){return e(B).text},get disabled(){return e(D)},side:"left",align:"center",delayDuration:300,size:"sm",get class(){return`block w-full min-w-0 max-w-full ${e(y)??""}`},contentClass:"max-w-[min(28rem,calc(100vw-var(--space-4)))] break-words text-left",children:(_e,ge)=>{{let fe=n(()=>J(e(B).id)),Oe=n(()=>e(Ie)===e(c)),Se=n(()=>Xt(Pt(),pr,"max-w-full cursor-pointer overflow-hidden text-muted-foreground focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-ring/40",q()?"font-normal":"font-medium",!q()&&"h-(--control-height-large) min-h-(--control-height-large) max-h-(--control-height-large)",q()?"hover:bg-hover hover:text-foreground":"hover:bg-accent/60 hover:text-accent-foreground",e(Ie)===e(c)&&(q()?"bg-selected text-foreground":"bg-accent text-accent-foreground"))),Pe=n(()=>q()||void 0);lt(_e,{type:"button",variant:"plain",labelClass:"overflow-hidden whitespace-nowrap text-left text-ellipsis",get id(){return e(fe)},role:"option",tabindex:-1,get"aria-selected"(){return e(Oe)},get class(){return e(Se)},onclick:()=>void ue(e(B).id),onkeydown:Me=>{(Me.key==="Enter"||Me.key===" ")&&(Me.preventDefault(),ue(e(B).id))},onpointermove:()=>{(e(c)!==e(Ie)||e(N))&&He(e(Ie))},"data-testid":"chat-message-navigator-result",get"data-navigation-message-id"(){return e(B).id},get"data-panel-menu-row"(){return e(Pe)},children:(Me,le)=>{var Ue=In(),Je=at(Ue,!0);xa(Ue,(Qe,Ve)=>gr?.(Qe,Ve),()=>Qe=>e(Re)[e(B).id]=Qe),ve(()=>$e(Je,e(B).text)),r(Me,Ue)},$$slots:{default:!0}})}},$$slots:{default:!0}})}}),Be(P),ve(()=>Yt(P,"id",I)),Gt("scroll",P,tt),r(F,P)},W=F=>{var P=kn(),U=at(P,!0);ve(B=>$e(U,B),[()=>d.chat_messageNavigator_empty_label()]),r(F,P)};Z(se,F=>{e(O).length>0?F(ie):M()||F(W,1)})}Be(h),r(t,h)};let v=ae(i,"messages",7),T=ae(i,"isAtBottom",7),A=ae(i,"onSelectMessage",7),S=ae(i,"onScrollToBottom",7),g=ae(i,"onOpen",7),M=ae(i,"isLoadingIndex",7,!1),q=ae(i,"embedded",7,!1),R=ce(!1),Re=ce(It({})),ne=ce(""),c=ce(0),N=ce(!0),Ce=null,ze=!1,Ee=ce(null),K=ce(null),de=ce(null),u=ce(It([])),o=ce(!1);const I=`chat-message-navigator-listbox-${w}`,O=n(()=>{const t=e(ne).trim().toLocaleLowerCase();return t?v().filter(h=>h.text.toLocaleLowerCase().includes(t)):v()}),Le=n(()=>e(O)[e(c)]?J(e(O)[e(c)].id):void 0);function J(t){return`${I}-option-${encodeURIComponent(t)}`}function Fe(t){if(b(R,t,!0),!t)return;const h=e(K)?.closest("[data-panel-id]");b(u,h?[h]:[],!0),b(ne,""),b(N,!0),b(c,Math.max(v().length-1,0),!0),g()?.()}function nt(t){b(ne,t.currentTarget.value,!0),b(N,!0),b(c,Math.max(e(O).length-1,0),!0)}function He(t){b(N,!1),b(c,t,!0),Ce=e(O)[t]?.id??null}function tt(){ze||b(N,!1)}je(()=>{if(!e(R))return;const t=e(O).length;if(t===0)return;if(e(N)){b(c,t-1),Ce=e(O)[t-1].id;return}const h=At(()=>e(c)),E=Ce===null?-1:e(O).findIndex(G=>G.id===Ce);E>=0?E!==h&&b(c,E,!0):h>=t?(b(c,t-1),Ce=e(O)[t-1].id):Ce=e(O)[h]?.id??null}),je(()=>{if(!e(R)||!e(de)||e(O).length===0)return;const t=e(Le)?document.getElementById(e(Le)):null;t&&(ze=!0,t.scrollIntoView?.({block:"nearest"}),requestAnimationFrame(()=>{ze=!1}))});function C(t){t.key!=="Enter"&&t.key!==" "||(t.preventDefault(),Fe(!e(R)))}function z(t){t.preventDefault(),e(Ee)?.focus()}async function xe(){await Ft(),e(R)&&e(Ee)?.focus()}function we(t){return e(de)?.contains(t)?!0:t instanceof Element?t.closest("[data-chat-message-navigator-content]")?.dataset.chatMessageNavigatorContent===w:!1}function oe(t){!e(R)||!(t.target instanceof Node)||e(K)?.contains(t.target)||we(t.target)||(b(o,!0),Fe(!1))}function Y(t){e(o)&&(t.preventDefault(),b(o,!1))}async function ue(t){b(R,!1),await Ft(),await A()(t)}function j(t){if(q()&&t.stopPropagation(),t.key==="Escape"){t.preventDefault(),b(R,!1);return}e(O).length!==0&&(t.key==="ArrowDown"?(t.preventDefault(),He((e(c)+1)%e(O).length)):t.key==="ArrowUp"?(t.preventDefault(),He((e(c)-1+e(O).length)%e(O).length)):t.key==="Home"?(t.preventDefault(),He(0)):t.key==="End"?(t.preventDefault(),He(e(O).length-1)):t.key==="Enter"&&(t.preventDefault(),ue(e(O)[e(c)].id)))}var te={get messages(){return v()},set messages(t){v(t),re()},get isAtBottom(){return T()},set isAtBottom(t){T(t),re()},get onSelectMessage(){return A()},set onSelectMessage(t){A(t),re()},get onScrollToBottom(){return S()},set onScrollToBottom(t){S(t),re()},get onOpen(){return g()},set onOpen(t){g(t),re()},get isLoadingIndex(){return M()},set isLoadingIndex(t=!1){M(t),re()},get embedded(){return q()},set embedded(t=!1){q(t),re()},$set:dt,$on:(t,h)=>ut(i,t,h)},a=Q(),s=m(a);{var k=t=>{var h=Q(),E=m(h);x(E,()=>Ot,(G,ee)=>{ee(G,{onOpenChange:Fe,get open(){return e(R)},set open(ye){b(R,ye,!0)},children:(ye,se)=>{var ie=Wt(),W=m(ie);x(W,()=>Lt,(P,U)=>{U(P,{get icon(){return Ar},onSelect:xe,"data-testid":"chat-message-navigator-trigger",children:(B,Ie)=>{Ye();var D=et();ve(y=>$e(D,y),[()=>d.chat_messageNavigator_menu_label()]),r(B,D)},$$slots:{default:!0}})});var F=$(W,2);x(F,()=>Ht,(P,U)=>{U(P,{class:"w-[28rem] max-w-[calc(100vw-1rem)]",onOpenAutoFocus:z,get"data-chat-message-navigator-content"(){return w},get ref(){return e(de)},set ref(B){b(de,B,!0)},children:(B,Ie)=>{p(B)},$$slots:{default:!0}})}),r(ye,ie)},$$slots:{default:!0}})}),r(t,h)},_=t=>{var h=yn(),E=qe(h);x(E,()=>Kr,(ee,ye)=>{ye(ee,{onOpenChange:Fe,get open(){return e(R)},set open(se){b(R,se,!0)},children:(se,ie)=>{var W=Wt(),F=m(W);{const U=(B,Ie)=>{let D=()=>(Ie?.()).props;{let y=n(()=>d.chat_messageNavigator_open_ariaLabel()),_e=n(()=>d.chat_messageNavigator_open_ariaLabel());lt(B,Mt(D,{variant:"ghost-light",size:"icon-sm",get active(){return e(R)},get"aria-label"(){return e(y)},get tooltip(){return e(_e)},get tooltipDisabled(){return e(R)},tooltipSide:"bottom",tooltipDelayDuration:300,get"aria-expanded"(){return e(R)},onkeydown:C,"data-testid":"chat-message-navigator-trigger",children:(ge,fe)=>{ia(ge,{get size(){return na.compact},weight:"regular",mirrored:!1,"aria-hidden":"true",class:"size-4!","data-chat-message-navigator-chat-icon":!0})},$$slots:{default:!0}}))}};x(F,()=>qr,(B,Ie)=>{Ie(B,{get ref(){return e(K)},set ref(D){b(K,D,!0)},child:U,$$slots:{child:!0}})})}var P=$(F,2);x(P,()=>mr,(U,B)=>{B(U,{children:(Ie,D)=>{var y=Q(),_e=m(y);{let ge=n(()=>d.chat_messageNavigator_open_ariaLabel());x(_e,()=>Gr,(fe,Oe)=>{Oe(fe,{role:"dialog",get"aria-label"(){return e(ge)},align:"end",side:"bottom",sideOffset:4,get collisionBoundary(){return e(u)},collisionPadding:8,trapFocus:!1,onOpenAutoFocus:z,onCloseAutoFocus:Y,onFocusOutside:oe,get"data-chat-message-navigator-content"(){return w},get class(){return`${_r} w-[28rem]`},get ref(){return e(de)},set ref(Se){b(de,Se,!0)},children:(Se,Pe)=>{p(Se)},$$slots:{default:!0}})})}r(Ie,y)},$$slots:{default:!0}})}),r(se,W)},$$slots:{default:!0}})});var G=$(E,2);Wr(G,{get disabled(){return T()},get onclick(){return S()}}),Be(h),r(t,h)};Z(s,t=>{q()?t(k):t(_,-1)})}return r(f,a),ft(te)}function Tn(f,i,w){return[...Object.values(f).flatMap(p=>p.tabs.filter(v=>v.type==="browser"&&v.ownerAgentId===w).map(v=>({tab:v,panelId:p.id,active:p.activeTabId===v.id,hidden:!1}))),...i.filter(p=>p.type==="browser"&&p.ownerAgentId===w).map(p=>({tab:p,active:!1,hidden:!0}))]}const qt=(f,i=Dt)=>{var w=Sn(),p=qe(w);ht(p,{get icon(){return oa},class:"size-(--menu-icon-size) opacity-30"});var v=$(p,2);{var T=A=>{var S=Cn();ve(()=>Yt(S,"src",i().tab.faviconUrl)),Gt("error",S,g=>g.currentTarget.style.display="none"),wa(S),r(A,S)};Z(v,A=>{i().tab.faviconUrl&&A(T)})}Be(w),r(f,w)};var Cn=H('<img alt="" class="absolute inset-0 size-full rounded-sm object-contain"/>'),Sn=H('<span class="relative inline-flex size-(--menu-icon-size) shrink-0 items-center justify-center" aria-hidden="true"><!> <!></span>'),Pn=H('<span class="min-w-0 flex-1 truncate"> </span>'),Mn=H('<span class="inline-flex size-(--menu-icon-size) items-center justify-center" aria-hidden="true"><!></span>'),Dn=H('<div class="flex min-w-0 items-center gap-1"><!> <!></div>'),_t=H("<!> <!>",1),Ln=H('<span class="first-line-icon w-(--menu-icon-size)" aria-hidden="true"><!></span> <span class="min-w-0 flex-1 truncate text-muted-foreground"> </span>',1),Hn=H('<li class="flex min-w-0 items-center gap-1"><!> <!></li>'),On=H("<!> ",1),Bn=H('<div class="my-1 border-t border-border"></div> <!>',1),Rn=H('<ul class="m-0 list-none p-0"></ul> <!>',1);function ca(f,i){if(new.target)return ct({component:ca,...f});gt(i,!0);const w=()=>ke(R,"$panels$",v),p=()=>ke(Re,"$hiddenTabs$",v),[v,T]=xt();let A=ae(i,"workspaceId",7),S=ae(i,"agentId",7),g=ae(i,"entries",7),M=ae(i,"embedded",7,!1);const q=St(A());je(()=>q.set(A()));const R=Zt(q),Re=tn(q),ne=n(()=>Tn(w(),p(),S())),c=n(()=>g()??e(ne)),N=n(()=>e(c).length===1?d.chat_browserTabs_trigger_tooltip_one({count:wt(e(c).length)}):d.chat_browserTabs_trigger_tooltip_many({count:wt(e(c).length)}));function Ce(a){const s=a.tab.title.trim();if(s)return s;if(a.tab.browserUrl)try{return new URL(a.tab.browserUrl).host||a.tab.browserUrl}catch{return a.tab.browserUrl}return d.browser_embedded_noUrl_label()}function ze(a){if(b(K,!1),!g()){if(a.hidden){const s=Zt.select(X.state,A()),k=Object.values(s).find(_=>_.tabs.some(t=>t.type==="agent"&&t.agentId===S()));X.dispatch(Oa(A(),a.tab.id,k?.id??null))}else if(a.panelId){const s=en(A());s.setActiveTab(a.tab.id,a.panelId),o=!0,s.focusPanel(a.panelId)}}}const Ee=crypto.randomUUID();je(()=>{const a=A();if(!(!e(K)||g()))return X.dispatch(Da(a,Ee)),()=>X.dispatch(La(a,Ee))});let K=ce(!1),de=ce(null),u=ce(null),o=!1;function I(a){!o&&!e(J)||(a.preventDefault(),o=!1)}function O(a,s){const k=e(de)?.querySelectorAll('[data-testid="browser-tabs-menu-item"]');if(!k?.length)return;let _;if(a.key==="ArrowDown")_=(s+1)%k.length;else if(a.key==="ArrowUp")_=(s-1+k.length)%k.length;else if(a.key==="Home")_=0;else if(a.key==="End")_=k.length-1;else if(a.key==="ArrowRight"){a.preventDefault(),a.currentTarget.closest("li")?.querySelector('[data-testid="browser-tab-close"]')?.focus();return}else return;a.preventDefault(),k[_].focus()}const Le=n(()=>e(c).filter(a=>a.hidden).length);let J=ce(null);function Fe(a,s){return a.hostClientId===void 0||a.hostClientId===s}function nt(a){const s=rn.select(X.state,a.hostClientId??"",A());X.dispatch(Ba(a.id,!s.connected))}function He(a){const s=an.select(X.state);if(a.kind==="tab"){const{tab:_,panelId:t}=a.entry;Fe(_,s)?X.dispatch(ta(A(),_.id,t,void 0,{destroy:!0})):nt(_);return}const k=e(c).filter(_=>_.hidden&&!Fe(_.tab,s)).map(_=>_.tab);k.length<e(Le)&&X.dispatch(Ha(A(),S(),s));for(const _ of k)nt(_)}async function tt(a){if(!g()){if(b(K,!1),Xa.select(X.state,S())){if(M()){const s=a.kind==="hidden";await Yr({title:s?d.chat_browserTabs_closeHiddenDialog_title():d.chat_browserTabs_closeDialog_title(),description:s?d.chat_browserTabs_closeHiddenDialog_description():d.chat_browserTabs_closeDialog_description(),confirmLabel:s?d.chat_browserTabs_closeHiddenDialog_confirm_label():d.chat_browserTabs_closeDialog_confirm_label(),cancelLabel:d.chat_browserTabs_closeDialog_cancel_label(),destructive:!0})&&He(a)}else b(J,a,!0);return}He(a)}}function C(){const a=e(J);b(J,null),a&&He(a)}function z(){b(J,null)}var xe={get workspaceId(){return A()},set workspaceId(a){A(a),re()},get agentId(){return S()},set agentId(a){S(a),re()},get entries(){return g()},set entries(a){g(a),re()},get embedded(){return M()},set embedded(a=!1){M(a),re()},$set:dt,$on:(a,s)=>ut(i,a,s)},we=_t(),oe=m(we);{var Y=a=>{var s=Q(),k=m(s);x(k,()=>Ot,(_,t)=>{t(_,{get open(){return e(K)},set open(h){b(K,h,!0)},children:(h,E)=>{var G=_t(),ee=m(G);x(ee,()=>Lt,(se,ie)=>{ie(se,{get icon(){return oa},"data-testid":"browser-tabs-trigger",children:(W,F)=>{Ye();var P=et();ve(()=>$e(P,e(N))),r(W,P)},$$slots:{default:!0}})});var ye=$(ee,2);x(ye,()=>Ht,(se,ie)=>{ie(se,{class:"w-64",alignIconColumn:!1,onCloseAutoFocus:I,children:(W,F)=>{var P=_t(),U=m(P);kt(U,17,()=>e(c),D=>D.tab.id,(D,y)=>{const _e=n(()=>Ce(e(y)));var ge=Dn(),fe=qe(ge);{const Se=le=>{qt(le,()=>e(y))};let Pe=n(()=>e(y).hidden?"opacity-60":""),Me=n(()=>e(y).hidden||void 0);x(fe,()=>Ut,(le,Ue)=>{Ue(le,{get class(){return`min-w-0 flex-1 ${e(Pe)??""}`},get textValue(){return e(_e)},onclick:()=>ze(e(y)),"data-testid":"browser-tabs-menu-item",get"data-browser-tab-id"(){return e(y).tab.id},get"data-hidden"(){return e(Me)},leading:Se,children:(Je,Qe)=>{var Ve=Pn(),ot=at(Ve,!0);ve(()=>$e(ot,e(_e))),r(Je,Ve)},$$slots:{leading:!0,default:!0}})})}var Oe=$(fe,2);{let Se=n(()=>d.chat_browserTabs_closeTab_ariaLabel({title:e(_e)})),Pe=n(()=>d.chat_browserTabs_closeTab_ariaLabel({title:e(_e)})),Me=n(()=>d.chat_browserTabs_closeTab_ariaLabel({title:e(_e)}));x(Oe,()=>Ut,(le,Ue)=>{Ue(le,{class:"size-7 shrink-0 items-center justify-center p-0",get textValue(){return e(Se)},get"aria-label"(){return e(Pe)},get title(){return e(Me)},onSelect:Je=>Je.preventDefault(),onclick:()=>tt({kind:"tab",entry:e(y)}),"data-testid":"browser-tab-close",get"data-browser-tab-id"(){return e(y).tab.id},children:(Je,Qe)=>{var Ve=Mn(),ot=qe(Ve);ht(ot,{get icon(){return $t},class:"size-(--menu-icon-size)! shrink-0"}),Be(Ve),r(Je,Ve)},$$slots:{default:!0}})})}Be(ge),r(D,ge)});var B=$(U,2);{var Ie=D=>{var y=_t(),_e=m(y);x(_e,()=>Bt,(fe,Oe)=>{Oe(fe,{})});var ge=$(_e,2);{let fe=n(()=>d.chat_browserTabs_closeHidden_label({count:wt(e(Le))}));x(ge,()=>st,(Oe,Se)=>{Se(Oe,{get icon(){return $t},get label(){return e(fe)},onSelect:Pe=>Pe.preventDefault(),onclick:()=>tt({kind:"hidden"}),"data-testid":"browser-tabs-close-hidden"})})}r(D,y)};Z(B,D=>{e(Le)>0&&D(Ie)})}r(W,P)},$$slots:{default:!0}})}),r(h,G)},$$slots:{default:!0}})}),r(a,s)},ue=a=>{var s=Q(),k=m(s);x(k,()=>Qr,(_,t)=>{t(_,{get open(){return e(K)},set open(h){b(K,h,!0)},children:(h,E)=>{var G=_t(),ee=m(G);{const se=(ie,W)=>{lt(ie,Mt(()=>(W?.()).props,{variant:"ghost-light",size:"icon-sm",get active(){return e(K)},get"aria-label"(){return e(N)},get tooltip(){return e(N)},get tooltipDisabled(){return e(K)},tooltipSide:"bottom",tooltipDelayDuration:300,"data-testid":"browser-tabs-trigger",get ref(){return e(u)},set ref(P){b(u,P,!0)},children:(P,U)=>{kr(P,{get size(){return na.compact},weight:"regular","aria-hidden":"true",class:"size-4!"})},$$slots:{default:!0}}))};x(ee,()=>jr,(ie,W)=>{W(ie,{child:se,$$slots:{child:!0}})})}var ye=$(ee,2);x(ye,()=>Jr,(se,ie)=>{ie(se,{trapFocus:!1,align:"end",side:"bottom",sideOffset:4,class:"min-w-52 max-w-80 max-h-[min(var(--bits-popover-content-available-height,calc(100dvh-1rem)),calc(100dvh-1rem))] overflow-y-auto p-1",role:"dialog",get"aria-label"(){return e(N)},onOpenAutoFocus:W=>{W.preventDefault(),e(de)?.querySelector('[data-testid="browser-tabs-menu-item"]')?.focus()},onCloseAutoFocus:I,children:(W,F)=>{var P=Rn(),U=m(P);kt(U,23,()=>e(c),D=>D.tab.id,(D,y,_e)=>{const ge=n(()=>Ce(e(y)));var fe=Hn(),Oe=qe(fe);{let Pe=n(Pt),Me=n(()=>e(y).hidden?"opacity-60":""),le=n(()=>e(y).hidden||void 0);lt(Oe,{variant:"plain",wrapContent:!1,get class(){return`${e(Pe)??""} h-auto min-w-0 flex-1 ${e(Me)??""}`},"data-testid":"browser-tabs-menu-item",get"data-browser-tab-id"(){return e(y).tab.id},get"data-hidden"(){return e(le)},onkeydown:Ue=>O(Ue,e(_e)),onclick:()=>ze(e(y)),children:(Ue,Je)=>{var Qe=Ln(),Ve=m(Qe),ot=qe(Ve);qt(ot,()=>e(y)),Be(Ve);var yt=$(Ve,2),bt=at(yt,!0);ve(()=>$e(bt,e(ge))),r(Ue,Qe)},$$slots:{default:!0}})}var Se=$(Oe,2);{let Pe=n(()=>d.chat_browserTabs_closeTab_ariaLabel({title:e(ge)})),Me=n(()=>d.chat_browserTabs_closeTab_ariaLabel({title:e(ge)}));lt(Se,{variant:"plain",size:"icon-compact",type:"button",class:"size-6 shrink-0 focus-visible:ring-1","data-testid":"browser-tab-close",get"data-browser-tab-id"(){return e(y).tab.id},get"aria-label"(){return e(Pe)},get title(){return e(Me)},onkeydown:le=>{le.key!=="Escape"&&le.stopPropagation(),le.key==="ArrowLeft"&&(le.preventDefault(),le.currentTarget.closest("li")?.querySelector('[data-testid="browser-tabs-menu-item"]')?.focus())},onclick:le=>{le.preventDefault(),le.stopPropagation(),tt({kind:"tab",entry:e(y)})},children:(le,Ue)=>{ht(le,{get icon(){return $t},class:"size-3"})},$$slots:{default:!0}})}Be(fe),r(D,fe)}),Be(U),Jt(U,D=>b(de,D),()=>e(de));var B=$(U,2);{var Ie=D=>{var y=Bn(),_e=$(m(y),2);{let ge=n(Pt);lt(_e,{variant:"plain",get class(){return e(ge)},"data-testid":"browser-tabs-close-hidden",onclick:()=>tt({kind:"hidden"}),children:(fe,Oe)=>{var Se=On(),Pe=m(Se);ht(Pe,{get icon(){return $t},class:"size-3"});var Me=$(Pe);ve(le=>$e(Me,` ${le??""}`),[()=>d.chat_browserTabs_closeHidden_label({count:wt(e(Le))})]),r(fe,Se)},$$slots:{default:!0}})}r(D,y)};Z(B,D=>{e(Le)>0&&D(Ie)})}r(W,P)},$$slots:{default:!0}})}),r(h,G)},$$slots:{default:!0}})}),r(a,s)};Z(oe,a=>{e(c).length>0&&M()?a(Y):e(c).length>0&&a(ue,1)})}var j=$(oe,2);{let a=n(()=>e(J)!==null),s=n(()=>e(J)?.kind==="hidden"?d.chat_browserTabs_closeHiddenDialog_title():d.chat_browserTabs_closeDialog_title()),k=n(()=>e(J)?.kind==="hidden"?d.chat_browserTabs_closeHiddenDialog_description():d.chat_browserTabs_closeDialog_description()),_=n(()=>d.chat_browserTabs_closeDialog_close_ariaLabel()),t=n(()=>d.chat_browserTabs_closeDialog_cancel_label()),h=n(()=>e(J)?.kind==="hidden"?d.chat_browserTabs_closeHiddenDialog_confirm_label():d.chat_browserTabs_closeDialog_confirm_label());Xr(j,{get open(){return e(a)},size:"sm",get title(){return e(s)},get description(){return e(k)},get closeLabel(){return e(_)},get cancelLabel(){return e(t)},get submitLabel(){return e(h)},submitVariant:"destructive",focusSubmit:!0,onSubmit:C,onCancel:z,onCloseAutoFocus:E=>{E.preventDefault(),e(u)?.focus()}})}r(f,we);var te=ft(xe);return T(),te}var En=H("<!> <!>",1);function da(f,i){if(new.target)return ct({component:da,...f});gt(i,!0);const w=()=>ke(g,"$entry",p),[p,v]=xt();let T=ae(i,"workspaceId",7),A=ae(i,"agentId",7),S=ae(i,"separator",7,!0);const g=ea(At(()=>T()),At(()=>A()));je(()=>{X.dispatch(aa(T(),A()))});var M={get workspaceId(){return T()},set workspaceId(c){T(c),re()},get agentId(){return A()},set agentId(c){A(c),re()},get separator(){return S()},set separator(c=!0){S(c),re()},$set:dt,$on:(c,N)=>ut(i,c,N)},q=Q(),R=m(q);{var Re=c=>{var N=En(),Ce=m(N);{var ze=K=>{var de=Q(),u=m(de);x(u,()=>Bt,(o,I)=>{I(o,{})}),r(K,de)};Z(Ce,K=>{S()&&K(ze)})}var Ee=$(Ce,2);x(Ee,()=>mt,(K,de)=>{de(K,{indicator:"switch",get icon(){return xr},get checked(){return w().permission.allowed},onSelect:u=>{u.preventDefault();const o=w()?.permission;o&&!w()?.saving&&X.dispatch(Ra(T(),A(),o.computerId,!o.allowed))},children:(u,o)=>{Ye();var I=et();ve(O=>$e(I,O),[()=>d.settings_agentFeatures_desktopControl_label()]),r(u,I)},$$slots:{default:!0}})}),r(c,N)};Z(R,c=>{w()?.permission&&c(Re)})}r(f,q);var ne=ft(M);return v(),ne}var Ct=H("<!> <!>",1),Fn=H("<!> <!> <!>",1),Nn=H('<span class="min-w-0 flex-1"> </span> <span> </span>',1),zn=H("<!> <!> <!> <!>",1),Un=H("<!> <!> <!> <!> <!>",1);function ua(f,i){if(new.target)return ct({component:ua,...f});gt(i,!0);const w=()=>ke(de,"$agentSession",S),p=()=>ke(Ce,"$fontStyle",S),v=()=>ke(ze,"$chatContentWidth",S),T=()=>ke(Ee,"$chatAuroraEnabled",S),A=()=>ke(K,"$collapseToolRuns",S),[S,g]=xt(),M=C=>{var z=Q(),xe=m(z);x(xe,()=>Zr,(we,oe)=>{oe(we,{get value(){return p()},onValueChange:O,children:(Y,ue)=>{var j=Ct(),te=m(j);x(te,()=>Vt,(s,k)=>{k(s,{value:"sans",closeOnSelect:!1,children:(_,t)=>{Ye();var h=et();ve(E=>$e(h,E),[()=>d.settings_fontStyle_sans()]),r(_,h)},$$slots:{default:!0}})});var a=$(te,2);x(a,()=>Vt,(s,k)=>{k(s,{value:"monospace",closeOnSelect:!1,children:(_,t)=>{Ye();var h=et();ve(E=>$e(h,E),[()=>d.settings_fontStyle_mono()]),r(_,h)},$$slots:{default:!0}})}),r(Y,j)},$$slots:{default:!0}})}),r(C,z)},q=C=>{var z=Fn(),xe=m(z);{let Y=n(()=>v()==="full");x(xe,()=>mt,(ue,j)=>{j(ue,{indicator:"switch",get icon(){return Cr},get checked(){return e(Y)},closeOnSelect:!1,onCheckedChange:te=>X.dispatch(Ea(te?"full":"800")),children:(te,a)=>{Ye();var s=et();ve(k=>$e(s,k),[()=>d.settings_appearance_chatContentWidth_label()]),r(te,s)},$$slots:{default:!0}})})}var we=$(xe,2);x(we,()=>mt,(Y,ue)=>{ue(Y,{indicator:"switch",get icon(){return Sr},get checked(){return T()},closeOnSelect:!1,onCheckedChange:j=>X.dispatch(Fa(j)),children:(j,te)=>{Ye();var a=et();ve(s=>$e(a,s),[()=>d.settings_appearance_chatAurora_label()]),r(j,a)},$$slots:{default:!0}})});var oe=$(we,2);x(oe,()=>mt,(Y,ue)=>{ue(Y,{indicator:"switch",get icon(){return Pr},get checked(){return A()},closeOnSelect:!1,onCheckedChange:j=>X.dispatch(Na(j)),children:(j,te)=>{Ye();var a=et();ve(s=>$e(a,s),[()=>d.settings_appearance_collapseToolRuns_label()]),r(j,a)},$$slots:{default:!0}})}),r(C,z)},R=C=>{var z=Q(),xe=m(z);{var we=oe=>{var Y=Q(),ue=m(Y);x(ue,()=>mt,(j,te)=>{te(j,{indicator:"switch",get icon(){return Mr},get checked(){return e(u)},closeOnSelect:!1,onCheckedChange:a=>X.dispatch(Ua(c(),N(),a?"interactive":"allow")),children:(a,s)=>{Ye();var k=et();ve(_=>$e(k,_),[()=>d.ui_viewSettings_askBeforeTools_label()]),r(a,k)},$$slots:{default:!0}})}),r(oe,Y)};Z(xe,oe=>{e(u)!==void 0&&c()&&N()&&oe(we)})}r(C,z)},Re=C=>{var z=Q(),xe=m(z);{var we=oe=>{var Y=Q(),ue=m(Y);Kt(ue,()=>`${c()}:${N()}`,j=>{{let te=n(()=>!ne());da(j,{get workspaceId(){return c()},get agentId(){return N()},get separator(){return e(te)}})}}),r(oe,Y)};Z(xe,oe=>{c()&&N()&&oe(we)})}r(C,z)};let ne=ae(i,"embedded",7,!1),c=ae(i,"workspaceId",7),N=ae(i,"agentId",7);const Ce=sn(),ze=ln(),Ee=cn(),K=dn(),de=Ya(on(()=>N())),u=n(()=>{const C=w();if(!c()||!C||C.permissionPolicy===void 0)return;const z=C.effectivePermissionPolicy;return typeof z=="string"?z==="interactive":void 0});let o=ce(!1);const I=n(()=>p()==="sans"?d.settings_fontStyle_sans():d.settings_fontStyle_mono());function O(C){C!=="sans"&&C!=="monospace"||X.dispatch(za(C))}var Le={get embedded(){return ne()},set embedded(C=!1){ne(C),re()},get workspaceId(){return c()},set workspaceId(C){c(C),re()},get agentId(){return N()},set agentId(C){N(C),re()},$set:dt,$on:(C,z)=>ut(i,C,z)},J=Q(),Fe=m(J);{var nt=C=>{var z=zn(),xe=m(z);x(xe,()=>Ot,(ue,j)=>{j(ue,{children:(te,a)=>{var s=Ct(),k=m(s);x(k,()=>Lt,(t,h)=>{h(t,{get icon(){return yr},iconWeight:"regular",children:(E,G)=>{var ee=Nn(),ye=m(ee),se=at(ye,!0),ie=$(ye,2),W=at(ie,!0);ve(F=>{$e(se,F),Ma(ie,1,`type-caption ${Fr}`),$e(W,e(I))},[()=>d.ui_viewSettings_font_label()]),r(E,ee)},$$slots:{default:!0}})});var _=$(k,2);{let t=n(()=>d.ui_viewSettings_font_label());x(_,()=>Ht,(h,E)=>{E(h,{get"aria-label"(){return e(t)},children:(G,ee)=>{M(G)},$$slots:{default:!0}})})}r(te,s)},$$slots:{default:!0}})});var we=$(xe,2);q(we);var oe=$(we,2);R(oe);var Y=$(oe,2);Re(Y),r(C,z)},He=C=>{var z=Q(),xe=m(z);x(xe,()=>Vr,(we,oe)=>{oe(we,{get open(){return e(o)},set open(Y){b(o,Y,!0)},children:(Y,ue)=>{var j=Ct(),te=m(j);{const s=(k,_)=>{let t=()=>(_?.()).props;{let h=n(()=>d.ui_viewSettings_trigger_tooltip()),E=n(()=>d.ui_viewSettings_trigger_tooltip());lt(k,Mt(t,{variant:"ghost-light",size:"icon-xs",get tooltip(){return e(h)},tooltipSide:"bottom",get"aria-label"(){return e(E)},get"aria-expanded"(){return e(o)},"data-testid":"agent-view-settings-trigger",children:(G,ee)=>{ht(G,{get icon(){return Tr},size:"xs"})},$$slots:{default:!0}}))}};x(te,()=>zr,(k,_)=>{_(k,{child:s,$$slots:{child:!0}})})}var a=$(te,2);{let s=n(()=>d.ui_viewSettings_trigger_tooltip());x(a,()=>Ur,(k,_)=>{_(k,{align:"end",class:"w-56",get"aria-label"(){return e(s)},children:(t,h)=>{var E=Un(),G=m(E);M(G);var ee=$(G,2);x(ee,()=>Bt,(W,F)=>{F(W,{})});var ye=$(ee,2);q(ye);var se=$(ye,2);R(se);var ie=$(se,2);Re(ie),r(t,E)},$$slots:{default:!0}})})}r(Y,j)},$$slots:{default:!0}})}),r(C,z)};Z(Fe,C=>{ne()?C(nt):C(He,-1)})}r(f,J);var tt=ft(Le);return g(),tt}function vt(f,i=2){if(f==null)return"";if(typeof f=="string")return f;try{return JSON.stringify(f,null,i)}catch{return String(f)}}function Vn(f){const i=f.name||f.toolName||"unknown",w=f.arguments||f.input||f.parameters||{},p=vt(w),v=f.result,T=f.error;let A=`🔧 Tool: ${i}
2
2
  Input:
3
3
  ${p}`;return T?A+=`
4
4
  ❌ Error: ${typeof T=="string"?T:vt(T)}`:v!==void 0&&(A+=`
@@ -1,4 +1,4 @@
1
- import{p as xt}from"./CSzXeH2S.js";import{aZ as gt,U as $t,Y as bt,b0 as wt,V as Ct,a_ as vt,b as s,ay as O,aX as Dt,B as kt,r as Tt,q as U,W as Z,O as At,a6 as ot}from"./DFNKkiho.js";import{p as Bt}from"./BBfR26V0.js";var rt=s(()=>({domains:new Map,transitions:[]}),"createDefaultData"),H=rt(),St=s(()=>H.domains,"getDomains"),Mt=s(()=>H.transitions,"getTransitions"),zt=s(t=>{if(t)for(const e of t){const n=e.domain,a=(e.items??[]).map(c=>({label:c.label}));H.domains.set(n,{name:n,items:a})}},"setDomains"),Lt=s(t=>{t&&(H.transitions=t.filter(e=>e.from===e.to?(O.warn(`Cynefin: self-loop transition on domain "${e.from}" is not meaningful and will be skipped.`),!1):!0).map(e=>({from:e.from,to:e.to,label:e.label||void 0})))},"setTransitions"),Nt=s(()=>U({...At.cynefin,...Z().cynefin}),"getConfig"),Pt=s(()=>{Tt(),H=rt()},"clear"),G={getDomains:St,getTransitions:Mt,setDomains:zt,setTransitions:Lt,getConfig:Nt,clear:Pt,setAccTitle:vt,getAccTitle:Ct,setDiagramTitle:wt,getDiagramTitle:bt,getAccDescription:$t,setAccDescription:gt},Wt=s(t=>{xt(t,G),G.setDomains(t.domains),G.setTransitions(t.transitions)},"populate"),It={parse:s(async t=>{const e=await Bt("cynefin",t);O.debug(e),Wt(e)},"parse")};function E(t){let e=t+1831565813|0;return e=Math.imul(e^e>>>15,e|1),e^=e+Math.imul(e^e>>>7,e|61),((e^e>>>14)>>>0)/4294967296}s(E,"seededRandom");function st(t){let e=0;for(let n=0;n<t.length;n++){const a=t.charCodeAt(n);e=(e<<5)-e+a,e|=0}return e}s(st,"hashString");function it(t,e){return typeof t=="number"&&Number.isFinite(t)&&t!==0?t:st(e)}s(it,"resolveSeed");function ct(t,e,n,a){const c=t/2,m=a??t*.015,v=7,I=e/v,d=[];for(let o=0;o<=v;o++){const p=E(n+o*17)*m*2-m;d.push({x:c+p,y:o*I})}let D=`M${d[0].x},${d[0].y}`;for(let o=0;o<d.length-1;o++){const p=d[o],i=d[o+1],f=(p.y+i.y)/2,b=o%2===0?1:-1,h=m*1.5*b*E(n+o*31+7),R=p.x+h,V=f,_=i.x-h;D+=` C${R},${V} ${_},${f} ${i.x},${i.y}`}return D}s(ct,"generateFoldPath");function lt(t,e,n,a){const c=e/2,m=a??e*.015,v=7,I=t/v,d=[];for(let o=0;o<=v;o++){const p=E(n+o*23)*m*2-m;d.push({x:o*I,y:c+p})}let D=`M${d[0].x},${d[0].y}`;for(let o=0;o<d.length-1;o++){const p=d[o],i=d[o+1],f=(p.x+i.x)/2,b=o%2===0?1:-1,h=m*1.5*b*E(n+o*37+11),R=f,V=p.y+h,_=f,z=i.y-h;D+=` C${R},${V} ${_},${z} ${i.x},${i.y}`}return D}s(lt,"generateHorizontalBoundary");function dt(t,e){const n=t/2,a=e*.5,c=e,m=t*.03;return[`M${n},${a}`,`C${n+m},${a+(c-a)*.2}`,`${n-m*1.5},${a+(c-a)*.55}`,`${n+m*.5},${a+(c-a)*.75}`,`C${n-m},${a+(c-a)*.85}`,`${n+m*.3},${a+(c-a)*.95}`,`${n},${c}`].join(" ")}s(dt,"generateCliffPath");function ft(t,e,n,a){return[`M${t-n},${e}`,`A${n},${a} 0 1,1 ${t+n},${e}`,`A${n},${a} 0 1,1 ${t-n},${e}`,"Z"].join(" ")}s(ft,"generateConfusionPath");var at={complex:{model:"Probe → Sense → Respond",practice:"Emergent Practices"},complicated:{model:"Sense → Analyse → Respond",practice:"Good Practices"},clear:{model:"Sense → Categorise → Respond",practice:"Best Practices"},chaotic:{model:"Act → Sense → Respond",practice:"Novel Practices"},confusion:{model:"",practice:"Disorder"}},Rt=s((t,e)=>{const n=t/2,a=e/2;return{complex:{cx:n/2,cy:a/2,x:0,y:0,w:n,h:a},complicated:{cx:n+n/2,cy:a/2,x:n,y:0,w:n,h:a},chaotic:{cx:n/2,cy:a+a/2,x:0,y:a,w:n,h:a},clear:{cx:n+n/2,cy:a+a/2,x:n,y:a,w:n,h:a},confusion:{cx:n,cy:a,x:n*.7,y:a*.7,w:n*.6,h:a*.6}}},"getDomainLayouts"),Vt=s(()=>{const t=ot(),e=Z();return U(t,e.themeVariables).cynefin},"getCynefinDomainColors"),q=3,_t=s((t,e,n,a)=>{const c=a.db,m=c.getDomains(),v=c.getTransitions(),I=c.getDiagramTitle(),d=c.getAccTitle(),D=c.getAccDescription(),o=c.getConfig(),p=Vt();O.debug("Rendering Cynefin diagram");const i=o.width,f=o.height,b=o.padding,h=o.showDomainDescriptions,R=o.boundaryAmplitude,V=i+b*2,_=f+b*2,z={complex:p.complexBg,complicated:p.complicatedBg,clear:p.clearBg,chaotic:p.chaoticBg,confusion:p.confusionBg},k=Dt(e);kt(k,_,V,o.useMaxWidth??!0),k.attr("viewBox",`0 0 ${V} ${_}`),d&&k.append("title").text(d),D&&k.append("desc").text(D);const T=k.append("g").attr("transform",`translate(${b}, ${b})`),F=Rt(i,f),Q=it(o.seed,e),mt=T.append("g").attr("class","cynefin-backgrounds"),X=["complex","complicated","chaotic","clear"];for(const l of X){const r=F[l];mt.append("rect").attr("class","cynefinDomain").attr("x",r.x).attr("y",r.y).attr("width",r.w).attr("height",r.h).attr("fill",z[l]).attr("fill-opacity",.4).attr("stroke","none")}const j=T.append("g").attr("class","cynefin-boundaries");j.append("path").attr("class","cynefinBoundary").attr("d",ct(i,f,Q,R)).attr("fill","none"),j.append("path").attr("class","cynefinBoundary").attr("d",lt(i,f,Q+100,R)).attr("fill","none"),j.append("path").attr("class","cynefinCliff").attr("d",dt(i,f)).attr("fill","none");const pt=i*.15,yt=f*.15;T.append("path").attr("class","cynefinConfusion").attr("d",ft(i/2,f/2,pt,yt)).attr("fill",z.confusion).attr("fill-opacity",.5);const J=T.append("g").attr("class","cynefin-labels");for(const l of X){const r=F[l];J.append("text").attr("class","cynefinDomainLabel").attr("x",r.cx).attr("y",h?r.cy-30:r.cy).attr("text-anchor","middle").attr("dominant-baseline","middle").text(l.charAt(0).toUpperCase()+l.slice(1))}if(J.append("text").attr("class","cynefinDomainLabel").attr("x",i/2).attr("y",h?f/2-10:f/2).attr("text-anchor","middle").attr("dominant-baseline","middle").text("Confusion"),h){const l=T.append("g").attr("class","cynefin-subtitles");for(const r of X){const u=F[r],y=at[r];l.append("text").attr("class","cynefinSubtitle").attr("x",u.cx).attr("y",u.cy-10).attr("text-anchor","middle").attr("dominant-baseline","middle").text(y.model),l.append("text").attr("class","cynefinSubtitle").attr("x",u.cx).attr("y",u.cy+5).attr("text-anchor","middle").attr("dominant-baseline","middle").text(y.practice)}l.append("text").attr("class","cynefinSubtitle").attr("x",i/2).attr("y",f/2+8).attr("text-anchor","middle").attr("dominant-baseline","middle").text(at.confusion.practice)}const K=T.append("g").attr("class","cynefin-items"),A=26,tt=10,ut=["complex","complicated","chaotic","clear","confusion"];for(const l of ut){const r=m.get(l);if(!r||r.items.length===0)continue;const u=F[l],y=l==="confusion";let L=r.items,N=0;y&&r.items.length>q&&(N=r.items.length-q,L=r.items.slice(0,q));let B;if(y){const g=h?22:14;B=u.cy+g}else B=u.cy+(h?25:15);if([...L].forEach((g,S)=>{const w=B+S*(A+4),M=K.append("g"),P=M.append("text").attr("class","cynefinItemText").attr("x",0).attr("y",A/2).attr("text-anchor","middle").attr("dominant-baseline","central").text(g.label);let $=g.label.length*7;const x=P.node();if(x&&typeof x.getBBox=="function"){const Y=x.getBBox();Y.width>0&&($=Y.width)}const C=$+tt*2,W=u.cx-C/2;M.attr("transform",`translate(${W}, ${w})`),M.insert("rect","text").attr("class","cynefinItem").attr("x",0).attr("y",0).attr("width",C).attr("height",A).attr("rx",4).attr("ry",4).attr("fill",z[l]).attr("fill-opacity",.95),P.attr("x",C/2).attr("y",A/2)}),N>0){const g=B+L.length*(A+4),S=`+${N} more`,w=K.append("g"),M=w.append("text").attr("class","cynefinItemText").attr("x",0).attr("y",A/2).attr("text-anchor","middle").attr("dominant-baseline","central").text(S);let P=S.length*7;const $=M.node();if($&&typeof $.getBBox=="function"){const W=$.getBBox();W.width>0&&(P=W.width)}const x=P+tt*2,C=u.cx-x/2;w.attr("transform",`translate(${C}, ${g})`),w.insert("rect","text").attr("class","cynefinItemOverflow").attr("x",0).attr("y",0).attr("width",x).attr("height",A).attr("rx",4).attr("ry",4).attr("fill",z[l]).attr("fill-opacity",.6),M.attr("x",x/2).attr("y",A/2)}}if(v.length>0){const l=k.select("defs").empty()?k.append("defs"):k.select("defs"),r=`cynefin-arrow-${e}`;l.append("marker").attr("id",r).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerWidth",6).attr("markerHeight",6).attr("orient","auto-start-reverse").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").attr("class","cynefinArrowHead");const u=T.append("g").attr("class","cynefin-arrows");v.forEach(y=>{const L=F[y.from],N=F[y.to];if(!L||!N)return;if(y.from===y.to){O.warn(`Cynefin renderer: skipping self-loop on domain "${y.from}"`);return}const B=L.cx,g=L.cy,S=N.cx,w=N.cy,M=(B+S)/2,P=(g+w)/2,$=S-B,x=w-g,C=Math.sqrt($*$+x*x),W=C*.15,Y=-x/C,ht=$/C,et=M+Y*W,nt=P+ht*W;u.append("path").attr("class","cynefinArrowLine").attr("d",`M${B},${g} Q${et},${nt} ${S},${w}`).attr("fill","none").attr("marker-end",`url(#${r})`),y.label&&u.append("text").attr("class","cynefinArrowLabel").attr("x",et).attr("y",nt-6).attr("text-anchor","middle").attr("dominant-baseline","auto").text(y.label)})}I&&T.append("text").attr("class","cynefinTitle").attr("x",i/2).attr("y",-b/2).attr("text-anchor","middle").attr("dominant-baseline","middle").text(I)},"draw"),Ft={draw:_t},Et=s(()=>{const t=ot(),e=Z();return U(t,e.themeVariables).cynefin},"getCynefinTheme"),Ht=s(()=>{const t=Et();return`
1
+ import{p as xt}from"./DdpYiyRs.js";import{aZ as gt,U as $t,Y as bt,b0 as wt,V as Ct,a_ as vt,b as s,ay as O,aX as Dt,B as kt,r as Tt,q as U,W as Z,O as At,a6 as ot}from"./Bex9L_jH.js";import{p as Bt}from"./BBfR26V0.js";var rt=s(()=>({domains:new Map,transitions:[]}),"createDefaultData"),H=rt(),St=s(()=>H.domains,"getDomains"),Mt=s(()=>H.transitions,"getTransitions"),zt=s(t=>{if(t)for(const e of t){const n=e.domain,a=(e.items??[]).map(c=>({label:c.label}));H.domains.set(n,{name:n,items:a})}},"setDomains"),Lt=s(t=>{t&&(H.transitions=t.filter(e=>e.from===e.to?(O.warn(`Cynefin: self-loop transition on domain "${e.from}" is not meaningful and will be skipped.`),!1):!0).map(e=>({from:e.from,to:e.to,label:e.label||void 0})))},"setTransitions"),Nt=s(()=>U({...At.cynefin,...Z().cynefin}),"getConfig"),Pt=s(()=>{Tt(),H=rt()},"clear"),G={getDomains:St,getTransitions:Mt,setDomains:zt,setTransitions:Lt,getConfig:Nt,clear:Pt,setAccTitle:vt,getAccTitle:Ct,setDiagramTitle:wt,getDiagramTitle:bt,getAccDescription:$t,setAccDescription:gt},Wt=s(t=>{xt(t,G),G.setDomains(t.domains),G.setTransitions(t.transitions)},"populate"),It={parse:s(async t=>{const e=await Bt("cynefin",t);O.debug(e),Wt(e)},"parse")};function E(t){let e=t+1831565813|0;return e=Math.imul(e^e>>>15,e|1),e^=e+Math.imul(e^e>>>7,e|61),((e^e>>>14)>>>0)/4294967296}s(E,"seededRandom");function st(t){let e=0;for(let n=0;n<t.length;n++){const a=t.charCodeAt(n);e=(e<<5)-e+a,e|=0}return e}s(st,"hashString");function it(t,e){return typeof t=="number"&&Number.isFinite(t)&&t!==0?t:st(e)}s(it,"resolveSeed");function ct(t,e,n,a){const c=t/2,m=a??t*.015,v=7,I=e/v,d=[];for(let o=0;o<=v;o++){const p=E(n+o*17)*m*2-m;d.push({x:c+p,y:o*I})}let D=`M${d[0].x},${d[0].y}`;for(let o=0;o<d.length-1;o++){const p=d[o],i=d[o+1],f=(p.y+i.y)/2,b=o%2===0?1:-1,h=m*1.5*b*E(n+o*31+7),R=p.x+h,V=f,_=i.x-h;D+=` C${R},${V} ${_},${f} ${i.x},${i.y}`}return D}s(ct,"generateFoldPath");function lt(t,e,n,a){const c=e/2,m=a??e*.015,v=7,I=t/v,d=[];for(let o=0;o<=v;o++){const p=E(n+o*23)*m*2-m;d.push({x:o*I,y:c+p})}let D=`M${d[0].x},${d[0].y}`;for(let o=0;o<d.length-1;o++){const p=d[o],i=d[o+1],f=(p.x+i.x)/2,b=o%2===0?1:-1,h=m*1.5*b*E(n+o*37+11),R=f,V=p.y+h,_=f,z=i.y-h;D+=` C${R},${V} ${_},${z} ${i.x},${i.y}`}return D}s(lt,"generateHorizontalBoundary");function dt(t,e){const n=t/2,a=e*.5,c=e,m=t*.03;return[`M${n},${a}`,`C${n+m},${a+(c-a)*.2}`,`${n-m*1.5},${a+(c-a)*.55}`,`${n+m*.5},${a+(c-a)*.75}`,`C${n-m},${a+(c-a)*.85}`,`${n+m*.3},${a+(c-a)*.95}`,`${n},${c}`].join(" ")}s(dt,"generateCliffPath");function ft(t,e,n,a){return[`M${t-n},${e}`,`A${n},${a} 0 1,1 ${t+n},${e}`,`A${n},${a} 0 1,1 ${t-n},${e}`,"Z"].join(" ")}s(ft,"generateConfusionPath");var at={complex:{model:"Probe → Sense → Respond",practice:"Emergent Practices"},complicated:{model:"Sense → Analyse → Respond",practice:"Good Practices"},clear:{model:"Sense → Categorise → Respond",practice:"Best Practices"},chaotic:{model:"Act → Sense → Respond",practice:"Novel Practices"},confusion:{model:"",practice:"Disorder"}},Rt=s((t,e)=>{const n=t/2,a=e/2;return{complex:{cx:n/2,cy:a/2,x:0,y:0,w:n,h:a},complicated:{cx:n+n/2,cy:a/2,x:n,y:0,w:n,h:a},chaotic:{cx:n/2,cy:a+a/2,x:0,y:a,w:n,h:a},clear:{cx:n+n/2,cy:a+a/2,x:n,y:a,w:n,h:a},confusion:{cx:n,cy:a,x:n*.7,y:a*.7,w:n*.6,h:a*.6}}},"getDomainLayouts"),Vt=s(()=>{const t=ot(),e=Z();return U(t,e.themeVariables).cynefin},"getCynefinDomainColors"),q=3,_t=s((t,e,n,a)=>{const c=a.db,m=c.getDomains(),v=c.getTransitions(),I=c.getDiagramTitle(),d=c.getAccTitle(),D=c.getAccDescription(),o=c.getConfig(),p=Vt();O.debug("Rendering Cynefin diagram");const i=o.width,f=o.height,b=o.padding,h=o.showDomainDescriptions,R=o.boundaryAmplitude,V=i+b*2,_=f+b*2,z={complex:p.complexBg,complicated:p.complicatedBg,clear:p.clearBg,chaotic:p.chaoticBg,confusion:p.confusionBg},k=Dt(e);kt(k,_,V,o.useMaxWidth??!0),k.attr("viewBox",`0 0 ${V} ${_}`),d&&k.append("title").text(d),D&&k.append("desc").text(D);const T=k.append("g").attr("transform",`translate(${b}, ${b})`),F=Rt(i,f),Q=it(o.seed,e),mt=T.append("g").attr("class","cynefin-backgrounds"),X=["complex","complicated","chaotic","clear"];for(const l of X){const r=F[l];mt.append("rect").attr("class","cynefinDomain").attr("x",r.x).attr("y",r.y).attr("width",r.w).attr("height",r.h).attr("fill",z[l]).attr("fill-opacity",.4).attr("stroke","none")}const j=T.append("g").attr("class","cynefin-boundaries");j.append("path").attr("class","cynefinBoundary").attr("d",ct(i,f,Q,R)).attr("fill","none"),j.append("path").attr("class","cynefinBoundary").attr("d",lt(i,f,Q+100,R)).attr("fill","none"),j.append("path").attr("class","cynefinCliff").attr("d",dt(i,f)).attr("fill","none");const pt=i*.15,yt=f*.15;T.append("path").attr("class","cynefinConfusion").attr("d",ft(i/2,f/2,pt,yt)).attr("fill",z.confusion).attr("fill-opacity",.5);const J=T.append("g").attr("class","cynefin-labels");for(const l of X){const r=F[l];J.append("text").attr("class","cynefinDomainLabel").attr("x",r.cx).attr("y",h?r.cy-30:r.cy).attr("text-anchor","middle").attr("dominant-baseline","middle").text(l.charAt(0).toUpperCase()+l.slice(1))}if(J.append("text").attr("class","cynefinDomainLabel").attr("x",i/2).attr("y",h?f/2-10:f/2).attr("text-anchor","middle").attr("dominant-baseline","middle").text("Confusion"),h){const l=T.append("g").attr("class","cynefin-subtitles");for(const r of X){const u=F[r],y=at[r];l.append("text").attr("class","cynefinSubtitle").attr("x",u.cx).attr("y",u.cy-10).attr("text-anchor","middle").attr("dominant-baseline","middle").text(y.model),l.append("text").attr("class","cynefinSubtitle").attr("x",u.cx).attr("y",u.cy+5).attr("text-anchor","middle").attr("dominant-baseline","middle").text(y.practice)}l.append("text").attr("class","cynefinSubtitle").attr("x",i/2).attr("y",f/2+8).attr("text-anchor","middle").attr("dominant-baseline","middle").text(at.confusion.practice)}const K=T.append("g").attr("class","cynefin-items"),A=26,tt=10,ut=["complex","complicated","chaotic","clear","confusion"];for(const l of ut){const r=m.get(l);if(!r||r.items.length===0)continue;const u=F[l],y=l==="confusion";let L=r.items,N=0;y&&r.items.length>q&&(N=r.items.length-q,L=r.items.slice(0,q));let B;if(y){const g=h?22:14;B=u.cy+g}else B=u.cy+(h?25:15);if([...L].forEach((g,S)=>{const w=B+S*(A+4),M=K.append("g"),P=M.append("text").attr("class","cynefinItemText").attr("x",0).attr("y",A/2).attr("text-anchor","middle").attr("dominant-baseline","central").text(g.label);let $=g.label.length*7;const x=P.node();if(x&&typeof x.getBBox=="function"){const Y=x.getBBox();Y.width>0&&($=Y.width)}const C=$+tt*2,W=u.cx-C/2;M.attr("transform",`translate(${W}, ${w})`),M.insert("rect","text").attr("class","cynefinItem").attr("x",0).attr("y",0).attr("width",C).attr("height",A).attr("rx",4).attr("ry",4).attr("fill",z[l]).attr("fill-opacity",.95),P.attr("x",C/2).attr("y",A/2)}),N>0){const g=B+L.length*(A+4),S=`+${N} more`,w=K.append("g"),M=w.append("text").attr("class","cynefinItemText").attr("x",0).attr("y",A/2).attr("text-anchor","middle").attr("dominant-baseline","central").text(S);let P=S.length*7;const $=M.node();if($&&typeof $.getBBox=="function"){const W=$.getBBox();W.width>0&&(P=W.width)}const x=P+tt*2,C=u.cx-x/2;w.attr("transform",`translate(${C}, ${g})`),w.insert("rect","text").attr("class","cynefinItemOverflow").attr("x",0).attr("y",0).attr("width",x).attr("height",A).attr("rx",4).attr("ry",4).attr("fill",z[l]).attr("fill-opacity",.6),M.attr("x",x/2).attr("y",A/2)}}if(v.length>0){const l=k.select("defs").empty()?k.append("defs"):k.select("defs"),r=`cynefin-arrow-${e}`;l.append("marker").attr("id",r).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerWidth",6).attr("markerHeight",6).attr("orient","auto-start-reverse").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").attr("class","cynefinArrowHead");const u=T.append("g").attr("class","cynefin-arrows");v.forEach(y=>{const L=F[y.from],N=F[y.to];if(!L||!N)return;if(y.from===y.to){O.warn(`Cynefin renderer: skipping self-loop on domain "${y.from}"`);return}const B=L.cx,g=L.cy,S=N.cx,w=N.cy,M=(B+S)/2,P=(g+w)/2,$=S-B,x=w-g,C=Math.sqrt($*$+x*x),W=C*.15,Y=-x/C,ht=$/C,et=M+Y*W,nt=P+ht*W;u.append("path").attr("class","cynefinArrowLine").attr("d",`M${B},${g} Q${et},${nt} ${S},${w}`).attr("fill","none").attr("marker-end",`url(#${r})`),y.label&&u.append("text").attr("class","cynefinArrowLabel").attr("x",et).attr("y",nt-6).attr("text-anchor","middle").attr("dominant-baseline","auto").text(y.label)})}I&&T.append("text").attr("class","cynefinTitle").attr("x",i/2).attr("y",-b/2).attr("text-anchor","middle").attr("dominant-baseline","middle").text(I)},"draw"),Ft={draw:_t},Et=s(()=>{const t=ot(),e=Z();return U(t,e.themeVariables).cynefin},"getCynefinTheme"),Ht=s(()=>{const t=Et();return`
2
2
  .cynefinDomain {
3
3
  stroke: none;
4
4
  }
@@ -0,0 +1,2 @@
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/CCAtqaSn.js","/app/immutable/chunks/D0qhIm1r.js","/app/immutable/chunks/Dms_DO28.js","/app/immutable/chunks/3SdAC2_C.js","/app/immutable/chunks/ChTqQfQN.js","/app/immutable/chunks/BS1zON0P.js","/app/immutable/chunks/CIyUrgF0.js","/app/immutable/chunks/CWfjuhY2.js","/app/immutable/chunks/Fcr7AvC-.js","/app/immutable/chunks/DxwfiAWm.js","/app/immutable/chunks/uXuxG9cN.js","/app/immutable/chunks/Bqd7fdCF.js","/app/immutable/chunks/cD292w1o.js","/app/immutable/chunks/CZfU7DE3.js","/app/immutable/chunks/ChHRVjww.js","/app/immutable/chunks/2z64ELW5.js","/app/immutable/chunks/BhYXv0ZM.js","/app/immutable/chunks/BRCr02in.js","/app/immutable/assets/spinner.D_TRo5Hy.css","/app/immutable/chunks/CA6H1-bp.js","/app/immutable/chunks/BAtAwQ72.js","/app/immutable/chunks/TdGvVwuC.js","/app/immutable/assets/button.-yaUNjRS.css","/app/immutable/chunks/BwweojP5.js","/app/immutable/chunks/C7b3vXLD.js","/app/immutable/chunks/_IjN0Lbt.js","/app/immutable/chunks/CH7HNVC2.js","/app/immutable/chunks/DkQdSPDN.js","/app/immutable/chunks/Beq_QLuz.js","/app/immutable/chunks/Dn334wJv.js","/app/immutable/chunks/Cc0763mU.js","/app/immutable/chunks/DRMe5Ypb.js","/app/immutable/chunks/D9tVylVS.js","/app/immutable/chunks/CxR-pcVt.js","/app/immutable/chunks/DU3vNstz.js","/app/immutable/chunks/XJv96NUg.js","/app/immutable/assets/notify.DylRFR3N.css"])))=>i.map(i=>d[i]);
2
+ var ne=Object.defineProperty;var oe=(e,t,r)=>t in e?ne(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var d=(e,t,r)=>oe(e,typeof t!="symbol"?t+"":t,r);import{JH as a,uC as ce,n_ as k,nZ as y,mq as le,c9 as de,c8 as ue,cn as pe,cm as ge,z6 as C,z7 as B,z4 as he,z3 as fe,z5 as Se,rV as be,o0 as w}from"./D0qhIm1r.js";import{cU as me,cJ as ve,bJ as _e,cS as Q,aJ as Ae,c3 as ke,c$ as ye,cl as we,cB as Ee,cn as Ce}from"./cD292w1o.js";import{a as Pe,i as Re}from"./CL3a4Hm1.js";import{c as N}from"./ChTqQfQN.js";import{y as Me,aP as Te,c as Ie,aE as Fe,C as De,z as Le,B as xe}from"./BeZe2Rt-.js";import{a1 as Oe,L as J,a2 as We,aA as U,_ as Be,a4 as Ge,M as Ve,a0 as Ne,aC as Ue,x as He}from"./CDCAMh6o.js";import{bm as n,_ as qe}from"./Fcr7AvC-.js";import{i as D}from"./BBWuirRW.js";import{n as ze}from"./8ItTOum-.js";const $e=5,L=120,je=4e3,j=.2,Ke=.8;function Ze(e,t,r=$e){const s=e.length>0?t/(2*e.length):0,i=je/L;return Array.from({length:r},(o,l)=>{if(s<=0)return 0;const c=L*i**(l/r),g=L*i**((l+1)/r),f=Math.min(e.length-1,Math.floor(c/s)),b=Math.min(e.length,Math.max(f+1,Math.ceil(g/s)));let z=0;for(let F=f;F<b;F+=1)z+=e[F]??0;const $=(z/(b-f)/255-j)/(Ke-j);return Number.isFinite($)?Math.min(1,Math.max(0,$)):0})}const _r=a.createSelector(e=>me.select(e)?.capabilities.gitlabCheckout===!0),Ar=a.createSelector(e=>e.gitlabAuth.host),kr=a.createSelector(e=>e.gitlabAuth.instanceBaseUrl??e.gitlabAuth.host),yr=a.createSelector(e=>ce(e.gitlabAuth.instanceBaseUrl??e.gitlabAuth.host)??""),wr=a.createSelector(e=>e.gitlabAuth.isCancelling),Er=a.createSelector(e=>e.gitlabAuth.cancelOutcome),Cr=a.createSelector(e=>e.gitlabAuth.isConfigured),Pr=a.createSelector(e=>e.gitlabAuth.isAuthenticating),Rr=a.createSelector(e=>e.gitlabAuth.deviceFlow),Mr=a.createSelector(e=>e.gitlabAuth.deviceGrantSupported),Tr=a.createSelector(e=>e.gitlabAuth.user),Ir=a.createSelector(e=>e.gitlabAuth.error);a.createSelector(e=>e.gitlabAuth.method);const Fr=a.createSelector(e=>e.gitlabAuth.statusReady===!0),A=[{id:"pr-reviewer",icon:"pr-reviewer",get name(){return n.specialists_builtin_prReviewer_name()},get description(){return n.specialists_builtin_prReviewer_description()},defaultBehaviorPrompt:"",promptUnavailable:!0},{id:"ui-designer",icon:"ui-designer",get name(){return n.specialists_builtin_uiDesigner_name()},get description(){return n.specialists_builtin_uiDesigner_description()},defaultBehaviorPrompt:"",promptUnavailable:!0},{id:"vulnerability-scanner",icon:"pr-reviewer",get name(){return n.specialists_builtin_vulnerabilityScanner_name()},get description(){return n.specialists_builtin_vulnerabilityScanner_description()},defaultBehaviorPrompt:"",promptUnavailable:!0},{id:"developer",icon:"verifier",get name(){return n.specialists_builtin_developer_name()},get description(){return n.specialists_builtin_developer_description()},defaultBehaviorPrompt:"",promptUnavailable:!0},{id:"product-manager",icon:"coordinator",get name(){return n.specialists_builtin_productManager_name()},get description(){return n.specialists_builtin_productManager_description()},defaultBehaviorPrompt:"",promptUnavailable:!0},{id:"maintenance-coordinator",icon:"ralph",get name(){return n.specialists_builtin_maintenanceCoordinator_name()},get description(){return n.specialists_builtin_maintenanceCoordinator_description()},defaultBehaviorPrompt:"",promptUnavailable:!0},{id:"chief-of-staff",icon:"chief-of-staff",get name(){return n.specialists_builtin_chiefOfStaff_name()},get description(){return n.specialists_builtin_chiefOfStaff_description()},hidden:!0,defaultBehaviorPrompt:"",promptUnavailable:!0}],Y=new Set(["pr-reviewer"]),Dr="developer";function Lr(e){return A.find(t=>t.id===e)}const Qe=a.createSelector(e=>e.githubAuth.mutationRequestId),Je=a.createSelector(e=>e.githubAuth.callbacksCancelled),Ye=a.createSelector(e=>e.githubAuth.isDisconnecting),X=a.createSelector(e=>e.githubAuth.isAuthenticated),Xe=a.createSelector(e=>e.githubAuth.statusSettled===!0),et=a.createSelector(e=>e.githubAuth.requiresDaemonAuth),tt=a.createSelector(e=>e.githubAuth.user),rt=a.createSelector(e=>e.githubAuth.isAuthenticating),st=a.createSelector(e=>e.githubAuth.deviceFlow),it=a.createSelector(e=>e.githubAuth.error),xr=Object.freeze(Object.defineProperty({__proto__:null,selectGitHubAuthCallbacksCancelled:Je,selectGitHubAuthDeviceFlow:st,selectGitHubAuthError:it,selectGitHubAuthIsAuthenticated:X,selectGitHubAuthIsAuthenticating:rt,selectGitHubAuthIsDisconnecting:Ye,selectGitHubAuthMutationRequestId:Qe,selectGitHubAuthRequiresDaemonAuth:et,selectGitHubAuthStatusSettled:Xe,selectGitHubAuthUser:tt},Symbol.toStringTag,{value:"Module"}));function u(e){return e??""}function at(e,t){const r=e??[],s=t??[];return r.length===s.length&&r.every((i,o)=>u(i.provider)===u(s[o].provider)&&i.model===s[o].model&&i.hint===s[o].hint&&u(i.reasoningEffort)===u(s[o].reasoningEffort))}function K(e,t){if(e.source!=="user"||!t?.ignoreModelPin&&(e.model||e.codingAgent))return!1;const r=e.bundled;return r?u(e.name)===u(r.name)&&u(e.description)===u(r.description)&&u(e.behaviorPrompt)===u(r.behaviorPrompt)&&u(e.roleReminder)===u(r.roleReminder)&&u(e.reasoningEffort)===u(r.reasoningEffort)&&at(e.modelOptions,r.modelOptions):!1}const Or=a.createSelector(e=>e.specialists.bundledSpecialists),nt=a.createSelector(e=>e.specialists.fileSpecialists),Wr=a.createSelector(e=>k(nt.select(e))),Br=a.createSelector(e=>e.specialists.userOverrides);a.createSelector(e=>e.specialists.overridesLoaded);const Gr=a.createSelector(e=>e.specialists.customSpecialistsLoaded),Vr=a.createSelector(e=>e.specialists.fileSpecialistsLoaded),Nr=a.createSelector(e=>e.specialists.bundledSpecialistsLoaded),Ur=a.createSelector(e=>e.specialists.specialistsFolderPath),Hr=a.createSelector((e,t)=>{if(!t)return e.specialists.defaultSpecialistId??"";const r=e.providerCatalog?.byWorkspaceId?.[t]?.settings.find(s=>s.path==="specialists.default")?.value;return typeof r=="string"?r:""});a.createSelector(e=>e.specialists.providerModelOverrides);const x=a.createSelector((e,t)=>!(Y.has(t)&&!X.select(e)));function ot(e,t){return t?e:e.filter(r=>!Y.has(r.id))}function ct(e,t){return ot(e,t).filter(r=>!r.hidden)}function qr(e,t){return ct(e,t).filter(r=>r.role!=="internal")}const v=a.createSelector((e,t)=>{if(t)return(e.providerCatalog?.byWorkspaceId?.[t]?.specialists??[]).map(c=>({...c,defaultModel:c.model,defaultBehaviorPrompt:c.behaviorPrompt??c.prompt??"",defaultAgentType:c.agentType}));const r=k(e.specialists.fileSpecialists),s=e.specialists.bundledSpecialists,i=new Set,o=[];for(const c of r)!i.has(c.id)&&x.select(e,c.id)&&(i.add(c.id),o.push({id:c.id,name:c.name,description:c.description,codingAgent:c.codingAgent,defaultModel:c.model||void 0,defaultBehaviorPrompt:c.behaviorPrompt,roleReminder:c.roleReminder,source:c.source,importedFrom:c.importedFrom,unsupportedFields:c.unsupportedFields,requiredSkills:c.requiredSkills,missingSkills:c.missingSkills,hidden:c.hidden,resolvedModel:c.resolvedModel,resolvedProvider:c.resolvedProvider,modelOptions:c.modelOptions,reasoningEffort:c.reasoningEffort,role:c.role,teamAgents:c.teamAgents,icon:c.icon}));for(const c of s)!i.has(c.id)&&x.select(e,c.id)&&(i.add(c.id),o.push(c));if(!e.specialists.bundledSpecialistsLoaded&&r.length===0&&s.length===0)for(const c of A)!i.has(c.id)&&x.select(e,c.id)&&(i.add(c.id),o.push(c));const l=new Map;for(const c of A)l.has(c.id)||l.set(c.id,l.size);for(const c of s)l.has(c.id)||l.set(c.id,l.size);return o.sort((c,g)=>{const f=l.has(c.id),b=l.has(g.id);return f&&b?(l.get(c.id)??0)-(l.get(g.id)??0):f&&!b?-1:!f&&b?1:c.name.localeCompare(g.name)}),o}),zr=a.createSelector(e=>{const t=v.select(e).filter(s=>s.role==="orchestrator");if(t.length===0)return null;const r=new Set([...A.map(({id:s})=>s),...e.specialists.bundledSpecialists.map(({id:s})=>s)]);return t.sort((s,i)=>+!r.has(s.id)-+!r.has(i.id)||s.id.localeCompare(i.id)),t[0]}),lt=a.createSelector((e,t)=>{const r=y(e.specialists.fileSpecialists,t);if(r)return{id:r.id,name:r.name,description:r.description,source:r.source};const s=e.specialists.bundledSpecialists.find(i=>i.id===t);if(s)return{id:s.id,name:s.name,description:s.description,source:"builtin"};if(!e.specialists.bundledSpecialistsLoaded&&k(e.specialists.fileSpecialists).length===0&&e.specialists.bundledSpecialists.length===0){const i=A.find(o=>o.id===t);if(i)return{id:i.id,name:i.name,description:i.description,source:"builtin"}}return null}),$r=a.createSelector((e,t)=>lt.select(e,t)?.name??null),jr=a.createSelector((e,t,r)=>{const i=v.select(e,r).find(o=>o.id===t);return i?i.defaultModel?i.defaultModel:i.resolvedModel??"":""}),Kr=a.createSelector((e,t,r)=>v.select(e,r).find(o=>o.id===t)?.defaultModel||void 0),Zr=a.createSelector((e,t,r)=>v.select(e,r).find(o=>o.id===t)?.reasoningEffort||void 0),Qr=a.createSelector((e,t,r)=>{const i=v.select(e,r).find(o=>o.id===t);return i?i.defaultBehaviorPrompt:""});function P(e,t){return t.some(r=>r.id===e)||A.some(r=>r.id===e)}const Jr=a.createSelector((e,t,r)=>{if(r){const s=e.providerCatalog?.byWorkspaceId?.[r]?.specialists.find(i=>i.id===t);return!s||s.importedFrom?!1:s.source==="bundled"||s.source==="user"&&P(t,e.specialists.bundledSpecialists)}return P(t,e.specialists.bundledSpecialists)}),Yr=a.createSelector((e,t,r)=>r?!!H.select(e,t,r):!!y(e.specialists.fileSpecialists,t)),Xr=a.createSelector((e,t,r)=>{if(r){const o=H.select(e,t,r);return!o||o.importedFrom||o.source==="project"?!1:P(t,e.specialists.bundledSpecialists)&&!K(o)}if(!P(t,e.specialists.bundledSpecialists))return!1;const i=y(e.specialists.fileSpecialists,t);return!i||i.source!=="user"?!1:!K(i)}),H=a.createSelector((e,t,r)=>{if(r){const s=e.providerCatalog?.byWorkspaceId?.[r]?.specialists.find(i=>i.id===t);return!s||s.source==="bundled"?void 0:{...s,source:s.source,model:s.model??"",behaviorPrompt:s.behaviorPrompt??s.prompt??"",filePath:s.path??""}}return y(e.specialists.fileSpecialists,t)}),es=a.createSelector((e,t,r)=>{const s=H.select(e,t,r);return r&&!s?e.providerCatalog?.byWorkspaceId?.[r]?.specialists.some(i=>i.id===t)?"Built-in":null:s?.source==="project"?"Project":s?.source==="user"?"User":e.specialists.bundledSpecialists.some(i=>i.id===t)?"Built-in":null}),ts=a.createSelector((e,t,r)=>{if(r)return e.providerCatalog?.byWorkspaceId?.[r]?.specialists.find(o=>o.id===t)?.path;const s=y(e.specialists.fileSpecialists,t);if(s)return s.filePath;const i=e.specialists.bundledSpecialists.find(o=>o.id===t);if(i&&"filePath"in i)return i.filePath}),rs=a.createSelector((e,t,r)=>{if(r){const i=v.select(e,r).find(c=>c.id===t),o=i?.codingAgent||i?.resolvedProvider;if(o)return ve.select(e,o,r);const l=_e.select(e,r);return e.providerCatalog?.byWorkspaceId?.[r]?.readiness[l]?.available?l:""}const s=y(e.specialists.fileSpecialists,t);return s?.codingAgent?s.codingAgent:dt.select(e,t)}),dt=a.createSelector((e,t)=>{const s=v.select(e).find(i=>i.id===t);return s?.codingAgent?s.codingAgent:Oe.select(e)?J.select(e):""}),ss=a.createSelector((e,t)=>{if(t)return e.providerCatalog?.byWorkspaceId?.[t]?.importDiagnostics??[];const r=e.specialists.importDiagnostics;return r?k(r):[]}),is=a.createSelector((e,t)=>e.specialists.creationByContext?.[t]??le),as=a.createSelector(e=>Object.values(e.specialists.creationByContext??{}).flatMap(t=>t.specialistId?[t.specialistId]:[])),O=N("Clipboard");async function ns(e){let t;if(Pe())try{const r=await Re("system:write-clipboard",{text:e});if(r?.success===!1)throw new Error(r.error||"Electron clipboard write failed");return}catch(r){t=r,O.warn("Electron clipboard write failed; falling back to browser clipboard",{error:r})}if(typeof navigator<"u"&&navigator.clipboard?.writeText)try{await navigator.clipboard.writeText(e);return}catch(r){throw O.error("Browser clipboard write failed",r,{electronError:t}),r}throw O.error("No clipboard write API is available",void 0,{electronError:t}),t instanceof Error?t:new Error("Clipboard write API unavailable")}function os(e,t){if(!e||!t||t===e.providerId)return!1;const r=e.providerSettings[t];return!!(r&&[r.defaultModel,...Object.values(r.typeOverrides??{})].some(s=>typeof s=="string"&&s.includes(":")))}let ut=0;function pt(e,t){const r=++ut;return a.dispatch(ue(e,t,r)),r}function cs(e,t,r){a.dispatch(de(e,t,r))}async function ee(e,t,r,s){const i=crypto.randomUUID(),o=s?.source??"control";try{return(await a.dispatch(pe({requestId:i,consumerId:o,agentId:e,workspaceId:t,operation:r,connection:Q.select(a.state)},{...s,intent:s?.intent??pt(e,t)}))).status==="success"}finally{a.dispatch(ge(i,o))}}async function ls(e,t,r,s,i){return ee(e,t,{kind:"effort",effort:r,previous:s},i)}async function ds(e,t,r,s,i){return ee(e,t,{kind:"reconcile",current:r??null,levels:s},i)}const gt=a.createSelector((e,t)=>k(e.agentModel.mutations).filter(r=>r.consumerId===t)),us=a.createSelector((e,t)=>gt.select(e,t).some(r=>r.status==="pending")),ps=a.createSelector((e,t,r)=>{const s=e.agentSessions.byAgentId[t],i=Ae.select(e,t),o=Me.select(e,t),l=e.daemonHealth.stats?.protocolVersion,c=Te(l),g=c?Ie(s?.model,null,o):s?.model;return{session:s,providerId:i,levels:o,legacy:c,identity:JSON.stringify([g,i]),connection:Q.select(e),canWrite:!!s&&s.workspaceId===r&&!ke.select(e,r)}});function ht(e,t,r=!1){const s=t?.available===!0&&t.viaNpx!==!0;return e!=="auggie"||s||r}const gs=a.createSelector(e=>We.select(e)?null:U.select(e)),ft=a.createSelector(e=>e.providerCatalog?.workspaceEpoch??0),S=a.createSelector((e,t)=>t?e.providerCatalog?.byWorkspaceId?.[t]:void 0),hs=a.createSelector(e=>Object.keys(e.providerCatalog?.byWorkspaceId??{})),fs=a.createSelector((e,t)=>!!S.select(e,t)&&e.providerCatalog.workspaceSnapshotEpochs?.[t]===ft.select(e)),te=a.createSelector((e,t)=>t?S.select(e,t)?.catalog.providers??[]:ye.select(e)),re=a.createSelector((e,t)=>{if(!t)return J.select(e);const r=S.select(e,t)?.settings.find(s=>s.path==="model.defaultProvider")?.value;return typeof r=="string"?r:""}),q=a.createSelector((e,t)=>{if(!t)return Be.select(e);const r=S.select(e,t)?.settings.find(s=>s.path==="providers.enabled")?.value;return r&&typeof r=="object"?r:{}}),se=a.createSelector((e,t)=>{if(!t)return Ge.select(e);const r=q.select(e,t),s=re.select(e,t),i=S.select(e,t)?.readiness??{};return te.select(e,t).filter(o=>o.visible&&(!o.canBeDisabled||r[o.id]||o.id===s)&&i[o.id]?.available).map(o=>o.id)}),Ss=a.createSelector((e,t)=>{const r=q.select(e,t),s=t?S.select(e,t)?.readiness??{}:U.select(e);return te.select(e,t).filter(i=>ht(i.id,s[i.id],r[i.id]===!0)).map(i=>i.id)}),bs=a.createSelector((e,t)=>t?se.select(e,t):Ve.select(e)),ms=a.createSelector((e,t)=>v.select(e,t)),vs=a.createSelector((e,t)=>t?!!S.select(e,t):Ne.select(e)),_s=a.createSelector((e,t)=>{if(!t)return Fe.select(e);const r=S.select(e,t)?.settings??[],s=re.select(e,t),i=r.find(c=>c.path==="model.providerDefaults")?.value,o=i&&typeof i=="object"?i[s]:void 0;if(typeof o=="string")return o;const l=r.find(c=>c.path==="model.default")?.value;return typeof l=="string"?l:""}),As=a.createSelector((e,t)=>t?Object.fromEntries(Object.entries(e.providerModels?.byWorkspaceId?.[t]??{}).flatMap(([r,s])=>s.warning?[[r,s.warning]]:[])):De.select(e)),ks=a.createSelector((e,t)=>t?Object.fromEntries(Object.entries(e.providerModels?.byWorkspaceId?.[t]??{}).map(([r,s])=>[r,s.stale===!0])):Le.select(e)),ys=a.createSelector((e,t)=>t?Object.fromEntries(Object.entries(e.providerModels?.byWorkspaceId?.[t]??{}).flatMap(([r,s])=>s.warning&&s.warningKind?[[r,s.warningKind]]:[])):xe.select(e)),ws=a.createSelector((e,t,r)=>{if(!r)return Ue.select(e,t);const s=q.select(e,r),i=S.select(e,r);return se.select(e,r).filter(o=>o!==t&&(s[o]||i?.catalog.providers.find(l=>l.id===o)?.canBeDisabled===!1)&&He(o,i?.readiness[o]?.authenticated))}),Es=a.createSelector((e,t)=>t?S.select(e,t)?.readiness??{}:U.select(e)),St={},Cs=a.createSelector(e=>e.providerSettings?.profiles?.status??St),Ps=a.createSelector(e=>e.directoryPicker.source??"daemon"),Rs=a.createSelector(e=>e.directoryPicker.listing),Ms=a.createSelector(e=>e.directoryPicker.loading),Ts=a.createSelector(e=>e.directoryPicker.error),Is=a.createSelector(e=>e.directoryPicker.pathError),Fs=a.createSelector(e=>e.directoryPicker.createError),bt=N("WorkspaceValidation");async function Ds(e,t=!1,r=!1){if(!e||e.trim().length===0)return{valid:!1,error:n.workspace_validation_repoPathRequired_error(),suggestion:n.workspace_validation_repoPathRequired_suggestion()};const s=e.trim();return mt(s)?_t(s):At(s,t,r)}function mt(e){return[/^https?:\/\/github\.com\//i,/^git@github\.com:/i,/^github\.com\//i,/^([a-zA-Z0-9\-_]+)\/([a-zA-Z0-9\-_\.]+)$/].some(r=>r.test(e.trim()))}function vt(e){const t=e.trim(),r=[/^https?:\/\/github\.com\/([^\/]+)\/([^\/]+)$/i,/^git@github\.com:([^\/]+)\/([^\/]+)$/i,/^github\.com\/([^\/]+)\/([^\/]+)$/i];for(const i of r){const o=t.match(i);if(o){const l=o[2].replace(/\.git$/,"");return l?{owner:o[1],repo:l}:null}}const s=t.match(/^([a-zA-Z0-9\-_]+)\/([a-zA-Z0-9\-_\.]+)$/);if(s&&!t.includes("\\")&&!t.includes(":")){const i=s[2].replace(/\.git$/,"");return i?{owner:s[1],repo:i}:null}return null}async function _t(e){return vt(e)?{valid:!0,warning:n.workspace_validation_githubCloneLocally_warning()}:{valid:!1,error:n.workspace_validation_invalidGithubUrl_error(),suggestion:n.workspace_validation_invalidGithubUrl_suggestion()}}async function At(e,t=!1,r=!1){if(e.includes("\0"))return{valid:!1,error:n.workspace_validation_nullCharacters_error()};if(!e.startsWith("/")&&!e.startsWith("~")&&!e.startsWith(".")&&!e.includes(":\\")&&!/^[a-zA-Z]:\//.test(e))return{valid:!1,error:n.workspace_validation_pathNotAbsolute_error(),suggestion:n.workspace_validation_pathNotAbsolute_suggestion()};if(typeof window<"u"&&window.electronAPI)try{const s=await D("file:getDirectoryStatus",{path:e});if(s.success&&s.data){const l=s.data;return l.exists?l.isDirectory?l.isGitRepo?{valid:!0,isNewRepo:!1,directoryStatus:l}:l.isSubdirectoryOfGitRepo?{valid:!0,isNewRepo:!1,directoryStatus:l,warning:n.workspace_validation_insideParentRepo_warning({path:l.parentGitRoot??""})}:r?{valid:!0,isNewRepo:!1,directoryStatus:l}:t?l.isEmpty?{valid:!0,isNewRepo:!0,directoryStatus:l,warning:n.workspace_validation_emptyDirInit_warning()}:{valid:!0,isNewRepo:!0,directoryStatus:l,warning:n.workspace_validation_nonGitDirInit_warning()}:{valid:!1,error:n.workspace_repoSelector_notGitRepository_label(),directoryStatus:l}:{valid:!1,error:n.workspace_validation_notDirectory_error(),suggestion:n.workspace_validation_notDirectory_suggestion(),directoryStatus:l}:t?{valid:!0,isNewRepo:!0,directoryStatus:l,warning:n.workspace_validation_willCreateRepo_warning()}:{valid:!1,error:n.workspace_validation_dirNotExist_error(),suggestion:n.workspace_validation_dirNotExist_suggestion(),directoryStatus:l}}if(!(await D("file:exists",{path:e})).exists)return t?{valid:!0,isNewRepo:!0,warning:n.workspace_validation_willCreateRepo_warning()}:{valid:!1,error:n.workspace_validation_dirNotExist_error(),suggestion:n.workspace_validation_dirNotExistLegacy_suggestion()};const o=await D("git:isRepository",{path:e});if(!t&&o?.isRepository!==!0)return{valid:!1,error:o?.isRepository===!1?n.workspace_repoSelector_notGitRepository_label():n.workspace_compactInitializer_gitCheckUnknown_label()};if(!o.isRepository)return{valid:!0,isNewRepo:!0,warning:n.workspace_validation_nonGitInit_warning()}}catch(s){if(bt.warn("Could not validate path existence",s),!t)return{valid:!1,error:n.workspace_compactInitializer_gitCheckUnknown_label()}}return{valid:!0,isNewRepo:!1}}function Ls(e){if(!e||e.trim().length===0)return{valid:!0};const t=e.trim();return/[\s~^:?*\[\]\\]/.test(t)?{valid:!1,error:n.workspace_validation_branchPrefixInvalidChars_error(),suggestion:n.workspace_validation_branchChars_suggestion()}:t==="."||t===".."||t.startsWith(".")?{valid:!1,error:n.workspace_validation_branchPrefixDot_error()}:t.includes("..")||t.includes("//")?{valid:!1,error:n.workspace_validation_branchPrefixConsecutive_error()}:t.startsWith("/")?{valid:!1,error:n.workspace_validation_branchPrefixSlash_error()}:t.endsWith(".lock")?{valid:!1,error:n.workspace_validation_branchPrefixLock_error()}:t.length>50?{valid:!1,error:n.workspace_validation_branchPrefixTooLong_error()}:{valid:!0}}function xs(e){if(!e||e.trim().length===0)return"";let t=e.trim().replace(/^[./]+/,"").replace(/[\s~^:?*\[\]\\]/g,"-").replace(/\.{2,}/g,"-").replace(/\/{2,}/g,"/").replace(/-{2,}/g,"-").replace(/^-+/,"").replace(/\.lock$/,"").toLowerCase();return t.length>0&&!t.endsWith("/")&&!t.endsWith("-")&&(t=t.includes("/")?`${t}/`:`${t}/`),t}function Os(e){if(!e||e.trim().length===0)return{valid:!1,error:n.workspace_validation_branchNameRequired_error()};const t=e.trim();return/[\s~^:?*\[\]\\]/.test(t)?{valid:!1,error:n.workspace_validation_branchNameInvalidChars_error(),suggestion:n.workspace_validation_branchChars_suggestion()}:["HEAD",".",".."].includes(t)?{valid:!1,error:n.workspace_validation_branchNameReserved_error()}:t.includes("..")||t.includes("//")?{valid:!1,error:n.workspace_validation_branchNameConsecutive_error()}:t.startsWith("/")||t.endsWith("/")?{valid:!1,error:n.workspace_validation_branchNameSlash_error()}:t.endsWith(".lock")?{valid:!1,error:n.workspace_validation_branchNameLock_error()}:{valid:!0}}function Ws(e){return!e||e.trim().length===0?{valid:!0}:e.trim().length>1e5?{valid:!1,error:n.workspace_validation_promptTooLong_error(),suggestion:n.workspace_validation_promptTooLong_suggestion()}:{valid:!0}}function Bs(e){const t=e.toLowerCase();return t.includes("maxbuffer")?n.workspace_gitError_maxBuffer():t.includes("clone")&&t.includes("timed out")?n.workspace_gitError_cloneTimeout():t.includes("json-rpc request timed out: workspace.create")?n.workspace_gitError_createTimeout():t.includes("timed out")&&["git","clone","fetch","worktree","pull","push","rebase","merge"].some(r=>t.includes(r))?n.workspace_gitError_gitTimeout():t.includes("git clone failed")?t.includes("could not read from remote")?n.workspace_gitError_cloneRemote():t.includes("authentication")||t.includes("permission denied")||t.includes("access denied")?n.workspace_gitError_cloneAuth():n.workspace_gitError_cloneFailed():t.includes("could not resolve any ref to create worktree")?n.workspace_gitError_worktreeRef():t.includes("failed to write file")?t.includes("eacces")||t.includes("permission denied")?n.workspace_gitError_writePermission():t.includes("enospc")||t.includes("disk space")?n.workspace_gitError_diskSpaceFree():t.includes("enoent")||t.includes("no such file")?n.workspace_gitError_writeNoEnt():e:t.includes("failed to read file")?t.includes("enoent")||t.includes("no such file")?n.workspace_gitError_readNotFound():t.includes("eacces")||t.includes("permission denied")?n.workspace_gitError_readPermission():e:t.includes("permission denied")?n.workspace_gitError_permissionDenied():t.includes("not found")||t.includes("enoent")?n.workspace_gitError_notFound():t.includes("already exists")?n.workspace_gitError_alreadyExists():t.includes("network")||t.includes("etimedout")?n.workspace_gitError_network():t.includes("authentication")||t.includes("401")?t.includes("private repositor")?e:n.workspace_gitError_authFailed():t.includes("rate limit")||t.includes("403")?n.workspace_gitError_rateLimit():t.includes("disk space")||t.includes("enospc")?n.workspace_gitError_diskSpace():e}const kt=["idle","exited"];function yt(e){return e===void 0||!kt.includes(e)}function Gs(e){return e.status==="restarting"?"restarting":yt(e.status)?"running":e.status==="idle"?"idle":e.exitCode===0?"succeeded":e.exitCode===null||e.exitCode===void 0?"exited":e.exitCode>=128?"stopped":"failed"}function wt(e){return e.engine==="os"?"os":e.isLoading||e.keyConfigured[e.provider]===!0?"daemon":e.osEngineAvailable?"os":"unavailable"}const Vs=a.createSelector(e=>e.voiceSettings.isLoading),Ns=a.createSelector(e=>e.voiceSettings.available),Us=a.createSelector(e=>e.voiceSettings.provider),Hs=a.createSelector(e=>e.voiceSettings.engine),qs=a.createSelector(e=>e.voiceSettings.osEngineAvailable),zs=a.createSelector(e=>e.voiceSettings.keyConfigured),$s=a.createSelector(e=>e.voiceSettings.vocabulary),js=a.createSelector(e=>e.voiceSettings.openaiModel),Ks=a.createSelector(e=>e.voiceSettings.language),Zs=a.createSelector(e=>e.voiceSettings.workspaceVocabularyMaxTerms),Qs=a.createSelector(e=>e.voiceSettings.inputDeviceId),Js=a.createSelector(e=>e.voiceSettings.inputDevices),Ys=a.createSelector(e=>e.voiceSettings.busyProvider),Xs=a.createSelector(e=>e.voiceSettings.error),ei=a.createSelector(e=>we.select(e)?"unavailable":wt(e.voiceSettings)),G="intent.voice.inputDevice";let V;function Et(){if(V!==void 0)return V;try{const e=localStorage.getItem(G);return typeof e=="string"&&e!==""?e:null}catch{return null}}function ti(e){V=e;try{e===null?localStorage.removeItem(G):localStorage.setItem(G,e)}catch{}}let R=null;function ri(e){R=e}function si(){const e=R;return R=null,e}function Ct(){R=null}const Pt=300,Rt=300;class Mt{constructor(t){d(this,"holdThresholdMs");d(this,"doublePressWindowMs");d(this,"onRecordStart");d(this,"onRecordStop");d(this,"currentState","idle");d(this,"timer",null);this.holdThresholdMs=t.holdThresholdMs??Pt,this.doublePressWindowMs=t.doublePressWindowMs??Rt,this.onRecordStart=t.onRecordStart,this.onRecordStop=t.onRecordStop}get state(){return this.currentState}keyDown(){switch(this.currentState){case"idle":this.currentState="first-press",this.armTimer(this.holdThresholdMs,()=>{this.currentState="holding"}),this.onRecordStart();break;case"await-second-press":this.clearTimer(),this.currentState="second-press",this.armTimer(this.holdThresholdMs,()=>{this.currentState="holding-send"});break;case"latched":this.currentState="latched-press";break;case"latched-await-second":this.clearTimer(),this.currentState="draining",this.onRecordStop({stopReason:"double-press",autoSend:!0});break}}keyUp(){switch(this.currentState){case"first-press":this.clearTimer(),this.currentState="await-second-press",this.armTimer(this.doublePressWindowMs,()=>{this.currentState="latched"});break;case"holding":this.currentState="idle",this.onRecordStop({stopReason:"hold-release",autoSend:!1});break;case"second-press":this.clearTimer(),this.currentState="idle",this.onRecordStop({stopReason:"double-press",autoSend:!0});break;case"holding-send":this.currentState="idle",this.onRecordStop({stopReason:"double-hold-release",autoSend:!0});break;case"latched-press":this.currentState="latched-await-second",this.armTimer(this.doublePressWindowMs,()=>{this.currentState="idle",this.onRecordStop({stopReason:"latch-stop",autoSend:!1})});break;case"draining":this.currentState="idle";break}}reset(){this.clearTimer(),this.currentState="idle"}armTimer(t,r){this.clearTimer(),this.timer=setTimeout(()=>{this.timer=null,r()},t)}clearTimer(){this.timer!==null&&clearTimeout(this.timer),this.timer=null}}let M=null;function ii(e){M=e}function ai(){const e=M;return M=null,e}function Tt(){M=null}const It=66;function Ft(e,t){const r=globalThis.AudioContext;if(typeof r!="function")return()=>{};let s,i,o;try{s=new r,i=s.createMediaStreamSource(e),o=s.createAnalyser(),o.fftSize=1024,o.smoothingTimeConstant=.5,o.minDecibels=-85,o.maxDecibels=-25,i.connect(o)}catch{return i?.disconnect(),s?.close().catch(()=>{}),()=>{}}if(!s||!i)return()=>{};const l=s,c=i,g=new Uint8Array(o.frequencyBinCount),f=setInterval(()=>{o.getByteFrequencyData(g),t(Ze(g,l.sampleRate))},It);let b=!1;return()=>{b||(b=!0,clearInterval(f),c.disconnect(),l.close().catch(()=>{}))}}const Dt=12e4,Lt=["audio/webm;codecs=opus","audio/webm"];function ni(){return typeof navigator<"u"&&typeof navigator.mediaDevices?.getUserMedia=="function"&&typeof MediaRecorder<"u"}function xt(e){return e?{audio:{deviceId:{ideal:e}}}:{audio:!0}}function Ot(){if(!(typeof MediaRecorder>"u"||typeof MediaRecorder.isTypeSupported!="function"))return Lt.find(e=>MediaRecorder.isTypeSupported(e))}class Wt{constructor(t){d(this,"maxDurationMs");d(this,"now");d(this,"callbacks");d(this,"deviceId");d(this,"onLevels");d(this,"stopMeter",null);d(this,"currentState","idle");d(this,"recorder",null);d(this,"stream",null);d(this,"chunks",[]);d(this,"startedAt",0);d(this,"maxTimer",null);d(this,"discardRequested",!1);d(this,"cancelRequested",!1);this.maxDurationMs=t.maxDurationMs??Dt,this.now=t.now??Date.now,this.callbacks={onFinished:t.onFinished,onError:t.onError},this.deviceId=t.deviceId??null,this.onLevels=t.onLevels}get state(){return this.currentState}async start(){if(this.currentState!=="idle")return"discarded";this.currentState="starting";let t;try{t=await navigator.mediaDevices.getUserMedia(xt(this.deviceId))}catch(i){const o=this.discardRequested;return this.currentState="stopped",o||this.callbacks.onError(i),o?"discarded":"error"}if(this.discardRequested){for(const i of t.getTracks())i.stop();return this.currentState="stopped","discarded"}this.stream=t;const r=Ot(),s=r?new MediaRecorder(t,{mimeType:r}):new MediaRecorder(t);return this.recorder=s,s.ondataavailable=i=>{i.data&&i.data.size>0&&this.chunks.push(i.data)},s.onstop=()=>this.handleRecorderStop(),s.onerror=i=>this.handleRecorderError(i),s.start(),this.startedAt=this.now(),this.currentState="recording",this.maxTimer=setTimeout(()=>this.stop(),this.maxDurationMs),this.onLevels&&(this.stopMeter=Ft(t,this.onLevels)),"recording"}stop(){if(this.currentState==="starting"){this.discardRequested=!0;return}this.currentState==="recording"&&this.recorder?.stop()}cancel(){if(this.currentState==="starting"){this.discardRequested=!0;return}this.currentState==="recording"&&(this.cancelRequested=!0,this.recorder?.stop())}handleRecorderStop(){const t=this.now()-this.startedAt,r=this.recorder?.mimeType||"audio/webm",s=this.chunks,i=this.cancelRequested;this.teardown(),!i&&this.callbacks.onFinished({blob:new Blob(s,{type:r}),durationMs:t,mimeType:r})}handleRecorderError(t){const r=t?.error??t;this.teardown(),this.callbacks.onError(r)}teardown(){this.maxTimer!==null&&clearTimeout(this.maxTimer),this.maxTimer=null,this.stopMeter?.(),this.stopMeter=null,this.recorder&&(this.recorder.ondataavailable=null,this.recorder.onstop=null,this.recorder.onerror=null),this.recorder=null;for(const t of this.stream?.getTracks()??[])t.stop();this.stream=null,this.chunks=[],this.currentState="stopped"}}const Bt=300;function Gt(e){const t=e?.name;return t==="NotAllowedError"||t==="SecurityError"}const Vt={stopReason:"manual",autoSend:!1};let p=null,m=null,_=0,E=null;const I=new Mt({onRecordStart:()=>{E&&Nt(E)},onRecordStop:e=>{ie(E,e)}});function oi(){return p!==null}function ci(){return p}function li(e){E=e,_+=1,_===1&&I.keyDown()}function di(e){E=e,_!==0&&(_-=1,_===0&&I.keyUp())}function Nt(e,t="key"){if(p!==null)return;Tt(),Ct();const r=new Wt({deviceId:Et(),onLevels:s=>{p===r&&e.dispatch(fe(s))},onFinished:s=>{p===r&&(p=null);const i=m??{stopReason:"auto-stop",autoSend:!1},o=m!==null;if(m=null,e.dispatch(C()),o||I.reset(),s.durationMs<Bt){i.autoSend&&e.dispatch(B());return}e.dispatch(he({...s,stopReason:i.stopReason,autoSend:i.autoSend}))},onError:s=>{p===r&&(p=null),m=null,e.dispatch(C()),e.showHint(Gt(s)?n.hardwareConsole_ptt_micDenied_message():n.hardwareConsole_ptt_recordingFailed_message())}});p=r,e.dispatch(Se({source:t,startedAt:Date.now()})),r.start().then(s=>{if(s!=="recording"&&(p===r&&(p=null),s==="discarded")){const i=m?.autoSend===!0;m=null,e.dispatch(C()),i&&e.dispatch(B())}})}function ie(e,t){const r=p;if(r===null){t.autoSend&&e?.dispatch(B());return}m=t,r.stop()}function ui(){ie(null,Vt)}function pi(e){I.reset(),_=0,m=null;const t=p;t!==null&&(p=null,t.cancel(),e.dispatch(C()))}const Ut=N("HardwareConsoleVoiceSetupToast"),Ht="hardware-console-voice-setup";let W=null;function qt(){return W||(W=qe(()=>import("./CCAtqaSn.js").then(e=>e.i),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36]),import.meta.url).then(e=>e.notify)),W}function zt(){ze("/settings?tab=connections#voice").catch(e=>{Ut.error("Failed to open voice settings from setup toast",e)})}function $t(){return{label:n.hardwareConsole_voice_openSettings_label(),onClick:()=>zt()}}function gi(){qt().then(e=>{e.error(n.hardwareConsole_voice_noKey_error(),{id:Ht,action:$t()})})}const hi=a.createSelector(e=>e.externalEditors.selectedAction),jt=a.createSelector(e=>e.externalEditors.editors),Kt=a.createSelector(e=>{const t=k(jt.select(e)),r=e.externalEditors.editorOrder??[];if(!r.length)return t;const s=new Map(t.map(l=>[l.id,l])),i=r.flatMap(l=>{const c=s.get(l);return c?[c]:[]}),o=new Set(r);return[...i,...t.filter(({id:l})=>!o.has(l))]}),fi=a.createSelector(e=>e.externalEditors.editorOrder??[]),Si=a.createSelector(e=>e.externalEditors.loading),bi=a.createSelector(e=>e.externalEditors.lastFetched),Zt=a.createSelector(e=>e.externalEditors.hiddenEditorIds),mi=a.createSelector((e,t)=>{if(!(t?Ee.select(e,t):Ce.select(e))||be())return[];const s=Zt.select(e);return Kt.select(e).filter(i=>i.installed&&!s.includes(i.id))}),Z={},Qt=a.createSelector((e,t)=>t?e.providerCatalog?.byWorkspaceId?.[t]?.mcpServers??[]:e.mcpSettings.servers),vi=a.createSelector((e,t,r)=>{const s=e.providerCatalog?.byWorkspaceId?.[t];return s?s.mcpServers?.find(i=>i.id===r)?.name:e.providerCatalog?.mcpServerNamesByWorkspaceId?.[t]?.[r]}),_i=a.createSelector(e=>e.mcpSettings.loading),Ai=a.createSelector(e=>e.mcpSettings.error),ki=a.createSelector(e=>e.mcpSettings.mutationError??null),yi=a.createSelector(e=>e.mcpSettings.enabled),Jt=a.createSelector(e=>e.mcpSettings.disabledServers),Yt=a.createSelector(e=>e.mcpSettings.statusMap),Xt=a.createSelector(e=>e.mcpSettings.toolsMap),er=a.createSelector((e,t)=>{if(!t)return e.mcpSettings.errorMessages;const r=e.providerCatalog?.byWorkspaceId?.[t],s=new Map(r?.mcpServers?.map(i=>[i.id,w(i)])??[]);return Object.fromEntries((r?.mcpStatuses??[]).flatMap(i=>{const o=s.get(i.serverId);return o&&i.lastError?[[o,i.lastError]]:[]}))}),tr=a.createSelector((e,t)=>t?e.mcpSettings.byWorkspaceId[t]?.disabledServers??Z:Z),wi=a.createSelector((e,t)=>Object.keys(tr.select(e,t))),Ei=a.createSelector(e=>{const t=Qt.select(e),r=Yt.select(e),s=Xt.select(e),i=Jt.select(e),o=er.select(e);return t.map(l=>{const c=w(l)in i,g=s[w(l)]||[];let f=r[w(l)]||"disconnected";return c&&(f="disabled"),{...l,disabled:c,status:f,tools:g,toolCount:g.length,errorMessage:o[w(l)]}})});a.createSelector((e,t)=>e.mcpSettings.errorMessages[t]);const Ci=a.createSelector(e=>e.mcpSettings.lastImportedCount),Pi=a.createSelector(e=>e.mcpSettings.advancedSaveStatus),Ri=a.createSelector(e=>e.mcpSettings.advancedSaveError);function h(e){return{category:"settings",...e}}const T=[{id:"new-workspace",tab:"",label:"New workspace",route:"/workspace/new",category:"navigation",description:"Create-workspace flow."},h({id:"utility-default-model",tab:"providers",hashAliases:["utility-default-model","default-model","quickActions.defaultModel","backgroundAgents.defaultModel"],scrollSelector:"#utility-default-model",highlightSelector:'[data-highlight-id="utility-default-model"]',label:"Settings: Default model",route:"/settings?tab=providers#utility-default-model",description:"Default AI behavior model selection."}),h({id:"global-instructions",tab:"agent-behavior",hashAliases:["global-instructions","agents","specialists","all-agents"],scrollSelector:"#global-instructions",highlightSelector:'[data-highlight-id="global-instructions"]',label:"Settings: Agent Behavior",route:"/settings?tab=agent-behavior#global-instructions",description:"Global agent instructions and defaults."}),h({id:"create-specialist",tab:"specialists",hashAliases:["create-specialist"],scrollSelector:"#create-specialist",highlightSelector:'[data-highlight-id="create-specialist"]',label:"Settings: Create specialist",route:"/settings?tab=specialists&view=create-specialist#create-specialist",description:"Create-specialist entry point."}),h({id:"providers",tab:"providers",hashAliases:["providers"],scrollSelector:"#providers",highlightSelector:'[data-highlight-id="providers"]',label:"Settings: AI coding CLIs",route:"/settings?tab=providers#providers",description:"Provider/account selector settings."}),h({id:"integrations",tab:"connections",hashAliases:["integrations"],scrollSelector:"#integrations",highlightSelector:'[data-highlight-id="integrations"]',label:"Settings: Connections",route:"/settings?tab=connections#integrations",description:"Connected integrations settings."}),h({id:"devices",tab:"devices",hashAliases:["devices","machines"],scrollSelector:"#devices",highlightSelector:"#devices",label:"Settings: Machines",route:"/settings?tab=devices#devices",description:"Saved remote machine settings."}),h({id:"mobile",tab:"mobile",hashAliases:["mobile"],scrollSelector:"#mobile",highlightSelector:'[data-highlight-id="mobile"]',label:"Settings: Mobile",route:"/settings?tab=mobile#mobile",description:"Remote access and Intent Mobile pairing."}),h({id:"guest-sessions",tab:"collaboration",hashAliases:["collaboration","guest-sessions","sharing"],scrollSelector:"#collaboration",highlightSelector:"#collaboration",label:"Settings: Collaboration",route:"/settings?tab=collaboration#collaboration",description:"Host membership, workspace guests and joined hosts."}),h({id:"websocket-api",tab:"mobile",hashAliases:["websocket-api","remote-access"],scrollSelector:"#websocket-api",highlightSelector:'[data-highlight-id="websocket-api"]',label:"Settings: Remote Access",route:"/settings?tab=mobile#websocket-api",description:"Remote access (WebSocket API) settings."}),...[["voice","Voice Dictation","Voice dictation settings.","input"],["keyboard-shortcuts","Keyboard Shortcuts","Keyboard shortcuts reference.","input"],["autocomplete","Autocomplete","Suggest as you type: service, model and API keys.","input"],["mcp-servers","MCP Servers","MCP server configuration.","connections"],["plugins","Plugins","App-wide Agent Plugins.","connections"],["git-workspace","Git & Workspace","Git and workspace defaults.","setup"],["git","Git","Git defaults.","setup"],["shell","Shell","Shell settings.","setup"],["workspace","Workspace","Workspace defaults.","setup"],["cli-optimization","CLI Optimization","RTK/CLI optimization settings.","token-savings"],["workspace-api","Tool Output & Retention","Tool output size and retention settings.","advanced"],["notifications","Notifications","Notification preferences.","app-behavior"],["updates","Updates","Application update preferences.","app-behavior"],["open-in","Open In","External editor/app launch preferences.","app-behavior"],["github-link-action","GitHub Links","GitHub issue and pull request link behavior.","app-behavior"],["agent-features","Agent Features","Agent feature settings.","token-savings"],["font-style","Font style","Font style settings.","display"],["language","Language","Application language settings.","display"],["labs","Labs","Experimental feature switches.","advanced"],["agent-backend","Agent Backend","Agent backend settings.","performance"],["connection","Connection","Daemon connection details.","advanced"],["hardware","Hardware","Hardware integration settings.","input"],["developer","Developer","Development-only settings.","advanced"]].map(([e,t,r,s])=>h({id:e,tab:s,hashAliases:[e],scrollSelector:`#${e}`,highlightSelector:`[data-highlight-id="${e}"]`,label:`Settings: ${t}`,route:`/settings?tab=${s}#${e}`,description:r})),h({id:"appearance",tab:"display",hashAliases:["appearance","theme"],scrollSelector:"#theme",highlightSelector:'[data-highlight-id="appearance"]',label:"Settings: Appearance",route:"/settings?tab=display#theme",description:"Theme mode controls."}),...[["color-theme","Color theme","Color theme selection."],["note-font","Notes font","Notes/spec font style."],["agent-chat-font","Agent chat font","Agent chat font style."],["code-font","Code font","Code editor and diff font."]].map(([e,t,r])=>h({id:e,tab:"display",hashAliases:[e],scrollSelector:`#${e}`,highlightSelector:`[data-highlight-id="${e}"]`,label:`Settings: ${t}`,route:`/settings?tab=display#${e}`,description:r})),h({id:"general",tab:"advanced",hashAliases:["general","reset"],scrollSelector:"#reset",highlightSelector:'[data-highlight-id="general"]',label:"Settings: Advanced",route:"/settings?tab=advanced#reset",description:"Advanced settings and reset controls."}),{id:"workspace-card",tab:"",hashAliases:["workspace-card"],highlightSelector:'[data-highlight-id^="workspace-"]',label:"Workspace card",category:"workspace",description:"A workspace card on workspace list surfaces.",dynamic:!0,idPattern:"workspace-{workspaceId}"},{id:"specialist-entry",tab:"specialists",highlightSelector:'[data-highlight-id^="specialist-"]',label:"Specialist entry",route:"/settings?tab=specialists&specialist={specialistId}#specialist-{specialistId}",category:"specialist",description:"A specific specialist row in settings.",dynamic:!0,idPattern:"specialist-{specialistId}"}];function ae(e){const t=e.indexOf("#"),r=t>=0?e.slice(t+1):e;return decodeURIComponent(r.replace(/^#/,"")).trim()}function rr(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function sr(e,t){if(!t.match(/\{[^}]+\}/g)?.length)return e===t;const s=t.split(/\{[^}]+\}/g).map(rr).join("[^/]+");return new RegExp(`^${s}$`).test(e)}function ir(e){const t=ae(e);if(!t)return;const r=T.find(i=>i.id===t||i.hashAliases?.includes(t));if(r)return r;const s=T.find(i=>i.route&&i.dynamic&&i.idPattern&&sr(t,i.idPattern));return s?{...s,id:t}:void 0}function Mi(){return T.map(e=>({...e,hashAliases:e.hashAliases?[...e.hashAliases]:void 0}))}function ar(e){try{return new URL(e,"app://intent").pathname||"/"}catch{const t=e.indexOf("?"),r=e.indexOf("#");let s=e.length;return t>=0&&(s=Math.min(s,t)),r>=0&&(s=Math.min(s,r)),e.slice(0,s)||"/"}}const nr=new Set(T.flatMap(e=>e.route?[ar(e.route)]:[])),or=[/^\/workspace\/[^/]+$/,/^\/agent\/[^/]+$/];function Ti(e){if(typeof e!="string")return!1;const t=e.trim();if(!t)return!1;if(t.startsWith("intent://"))return!0;let r,s;try{const i=new URL(t,"app://intent");if(i.protocol!=="app:")return!1;r=i.pathname||"/",s=ae(i.hash)}catch{return!1}return nr.has(r)?s?!!ir(s):!0:or.some(i=>i.test(r))}const Ii=["agentFeatures.backgroundHooks","agentFeatures.hostExec","agentFeatures.secretRequests","agentFeatures.scripts","agentFeatures.terminalAccess","agentFeatures.browserAutomation","agentFeatures.desktopControl","agentFeatures.richChatBlocks","agentFeatures.structuredQuestions","agentFeatures.attentionRequests","agentFeatures.stateSnapshot","agentFeatures.prMonitor","agentFeatures.taskGraph","agentFeatures.peerAgents","agentFeatures.mcpTools"],cr=[{path:"agentFeatures.backgroundHooks",label:()=>n.settings_agentFeatures_backgroundHooks_label(),description:()=>n.settings_agentFeatures_backgroundHooks_description(),defaultValue:!0},{path:"agentFeatures.hostExec",label:()=>n.settings_agentFeatures_hostExec_label(),description:()=>n.settings_agentFeatures_hostExec_description(),defaultValue:!0},{path:"agentFeatures.secretRequests",label:()=>n.settings_agentFeatures_secretRequests_label(),description:()=>n.settings_agentFeatures_secretRequests_description(),defaultValue:!1},{path:"agentFeatures.scripts",label:()=>n.settings_agentFeatures_scripts_label(),description:()=>n.settings_agentFeatures_scripts_description(),defaultValue:!0},{path:"agentFeatures.terminalAccess",label:()=>n.settings_agentFeatures_terminalAccess_label(),description:()=>n.settings_agentFeatures_terminalAccess_description(),defaultValue:!0},{path:"agentFeatures.browserAutomation",label:()=>n.settings_agentFeatures_browserAutomation_label(),description:()=>n.settings_agentFeatures_browserAutomation_description(),defaultValue:!0},{path:"agentFeatures.desktopControl",label:()=>n.settings_agentFeatures_desktopControl_label(),description:()=>n.settings_agentFeatures_desktopControl_description(),info:()=>n.settings_agentFeatures_desktopControl_info(),defaultValue:!0},{path:"agentFeatures.richChatBlocks",label:()=>n.settings_agentFeatures_richChatBlocks_label(),description:()=>n.settings_agentFeatures_richChatBlocks_description(),defaultValue:!0},{path:"agentFeatures.structuredQuestions",label:()=>n.settings_agentFeatures_structuredQuestions_label(),description:()=>n.settings_agentFeatures_structuredQuestions_description(),defaultValue:!0},{path:"agentFeatures.attentionRequests",label:()=>n.settings_agentFeatures_attentionRequests_label(),description:()=>n.settings_agentFeatures_attentionRequests_description(),defaultValue:!0},{path:"agentFeatures.stateSnapshot",label:()=>n.settings_agentFeatures_stateSnapshot_label(),description:()=>n.settings_agentFeatures_stateSnapshot_description(),defaultValue:!0},{path:"agentFeatures.prMonitor",label:()=>n.settings_agentFeatures_prMonitor_label(),description:()=>n.settings_agentFeatures_prMonitor_description(),defaultValue:!0},{path:"agentFeatures.taskGraph",label:()=>n.settings_agentFeatures_taskGraph_label(),description:()=>n.settings_agentFeatures_taskGraph_description(),defaultValue:!0},{path:"agentFeatures.peerAgents",label:()=>n.settings_agentFeatures_peerAgents_label(),description:()=>n.settings_agentFeatures_peerAgents_description(),defaultValue:!0},{path:"agentFeatures.mcpTools",label:()=>n.settings_agentFeatures_mcpTools_label(),description:()=>n.settings_agentFeatures_mcpTools_description(),defaultValue:!0}],Fi=Object.fromEntries(cr.map(e=>[e.path,e.defaultValue]));export{As as $,ni as A,Et as B,pt as C,Dr as D,vt as E,cr as F,Y as G,ds as H,cs as I,wt as J,ir as K,xs as L,ti as M,us as N,gt as O,ps as P,Or as Q,Nr as R,A as S,bs as T,re as U,q as V,Ss as W,se as X,te as Y,ks as Z,ys as _,$e as a,Ei as a$,ws as a0,Es as a1,vs as a2,_s as a3,ms as a4,Gr as a5,Hr as a6,Fs as a7,Ts as a8,Rs as a9,Ar as aA,yr as aB,Pr as aC,wr as aD,Cr as aE,kr as aF,Tr as aG,_r as aH,Fr as aI,Xr as aJ,Zt as aK,Kt as aL,mi as aM,Si as aN,Jr as aO,Yr as aP,bi as aQ,Ri as aR,Pi as aS,Jt as aT,yi as aU,Ai as aV,er as aW,Ci as aX,_i as aY,ki as aZ,Qt as a_,Ms as aa,Is as ab,Ps as ac,fi as ad,Qr as ae,rs as af,jr as ag,ei as ah,Kr as ai,Zr as aj,Wr as ak,Vr as al,H as am,Je as an,st as ao,it as ap,X as aq,rt as ar,Ye as as,Qe as at,et as au,tt as av,Er as aw,Rr as ax,Mr as ay,Ir as az,Fi as b,Yt as b0,Xt as b1,hi as b2,zr as b3,Cs as b4,gs as b5,lt as b6,is as b7,as as b8,ts as b9,ri as bA,ii as bB,gi as bC,Nt as bD,ui as bE,Os as bF,Ls as bG,Ws as bH,Ds as bI,$t as bJ,ns as bK,ss as ba,$r as bb,es as bc,v as bd,Ur as be,Br as bf,Ys as bg,Hs as bh,Qs as bi,Js as bj,zs as bk,Ks as bl,js as bm,qs as bn,Us as bo,Ns as bp,Xs as bq,Vs as br,$s as bs,Zs as bt,S as bu,ft as bv,fs as bw,hs as bx,wi as by,vi as bz,Ii as c,ls as d,pi as e,Ct as f,Tt as g,si as h,ai as i,qr as j,ct as k,ot as l,ci as m,Mi as n,Bs as o,Gs as p,Lr as q,xr as r,li as s,di as t,yt as u,ht as v,oi as w,os as x,K as y,Ti as z};
@@ -1,4 +1,4 @@
1
- import{g as Ut}from"./CRFyRwf-.js";import{s as Kt}from"./CRIoGx5T.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"./DFNKkiho.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"./DlbHdfKY.js";import{s as Kt}from"./edaGtK2z.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"./Bex9L_jH.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,4 +1,4 @@
1
- import{e as Ie}from"./BvByaKKp.js";import{aZ as Me,U as Be,V as Ve,a_ as Ye,b as d,X as Ot,ay as de,B as Fe,h as Ue,al as je,o as Nt,b5 as ze,aV as me,aW as Jt,bi as We,z as te,n as pe}from"./DFNKkiho.js";var jt=(function(){var t=d(function(_t,m,x,E){for(x=x||{},E=_t.length;E--;x[_t[E]]=m);return x},"o"),e=[1,24],a=[1,25],i=[1,26],u=[1,27],r=[1,28],n=[1,63],l=[1,64],s=[1,65],h=[1,66],y=[1,67],p=[1,68],g=[1,69],v=[1,29],w=[1,30],N=[1,31],O=[1,32],P=[1,33],I=[1,34],X=[1,35],q=[1,36],H=[1,37],Q=[1,38],K=[1,39],G=[1,40],Z=[1,41],J=[1,42],$=[1,43],tt=[1,44],et=[1,45],nt=[1,46],st=[1,47],at=[1,48],rt=[1,50],it=[1,51],ot=[1,52],lt=[1,53],ct=[1,54],ut=[1,55],ht=[1,56],dt=[1,57],pt=[1,58],ft=[1,59],yt=[1,60],kt=[14,42],Xt=[14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],Pt=[12,14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],S=[1,82],T=[1,83],k=[1,84],C=[1,85],R=[12,14,42],oe=[12,14,33,42],Bt=[12,14,33,42,76,77,79,80],xt=[12,33],qt=[34,36,37,38,39,40,41,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],Ht={trace:d(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mermaidDoc:4,direction:5,direction_tb:6,direction_bt:7,direction_rl:8,direction_lr:9,graphConfig:10,C4_CONTEXT:11,NEWLINE:12,statements:13,EOF:14,C4_CONTAINER:15,C4_COMPONENT:16,C4_DYNAMIC:17,C4_DEPLOYMENT:18,otherStatements:19,diagramStatements:20,otherStatement:21,title:22,accDescription:23,acc_title:24,acc_title_value:25,acc_descr:26,acc_descr_value:27,acc_descr_multiline_value:28,boundaryStatement:29,boundaryStartStatement:30,boundaryStopStatement:31,boundaryStart:32,LBRACE:33,ENTERPRISE_BOUNDARY:34,attributes:35,SYSTEM_BOUNDARY:36,BOUNDARY:37,CONTAINER_BOUNDARY:38,NODE:39,NODE_L:40,NODE_R:41,RBRACE:42,diagramStatement:43,PERSON:44,PERSON_EXT:45,SYSTEM:46,SYSTEM_DB:47,SYSTEM_QUEUE:48,SYSTEM_EXT:49,SYSTEM_EXT_DB:50,SYSTEM_EXT_QUEUE:51,CONTAINER:52,CONTAINER_DB:53,CONTAINER_QUEUE:54,CONTAINER_EXT:55,CONTAINER_EXT_DB:56,CONTAINER_EXT_QUEUE:57,COMPONENT:58,COMPONENT_DB:59,COMPONENT_QUEUE:60,COMPONENT_EXT:61,COMPONENT_EXT_DB:62,COMPONENT_EXT_QUEUE:63,REL:64,BIREL:65,REL_U:66,REL_D:67,REL_L:68,REL_R:69,REL_B:70,REL_INDEX:71,UPDATE_EL_STYLE:72,UPDATE_REL_STYLE:73,UPDATE_LAYOUT_CONFIG:74,attribute:75,STR:76,STR_KEY:77,STR_VALUE:78,ATTRIBUTE:79,ATTRIBUTE_EMPTY:80,$accept:0,$end:1},terminals_:{2:"error",6:"direction_tb",7:"direction_bt",8:"direction_rl",9:"direction_lr",11:"C4_CONTEXT",12:"NEWLINE",14:"EOF",15:"C4_CONTAINER",16:"C4_COMPONENT",17:"C4_DYNAMIC",18:"C4_DEPLOYMENT",22:"title",23:"accDescription",24:"acc_title",25:"acc_title_value",26:"acc_descr",27:"acc_descr_value",28:"acc_descr_multiline_value",33:"LBRACE",34:"ENTERPRISE_BOUNDARY",36:"SYSTEM_BOUNDARY",37:"BOUNDARY",38:"CONTAINER_BOUNDARY",39:"NODE",40:"NODE_L",41:"NODE_R",42:"RBRACE",44:"PERSON",45:"PERSON_EXT",46:"SYSTEM",47:"SYSTEM_DB",48:"SYSTEM_QUEUE",49:"SYSTEM_EXT",50:"SYSTEM_EXT_DB",51:"SYSTEM_EXT_QUEUE",52:"CONTAINER",53:"CONTAINER_DB",54:"CONTAINER_QUEUE",55:"CONTAINER_EXT",56:"CONTAINER_EXT_DB",57:"CONTAINER_EXT_QUEUE",58:"COMPONENT",59:"COMPONENT_DB",60:"COMPONENT_QUEUE",61:"COMPONENT_EXT",62:"COMPONENT_EXT_DB",63:"COMPONENT_EXT_QUEUE",64:"REL",65:"BIREL",66:"REL_U",67:"REL_D",68:"REL_L",69:"REL_R",70:"REL_B",71:"REL_INDEX",72:"UPDATE_EL_STYLE",73:"UPDATE_REL_STYLE",74:"UPDATE_LAYOUT_CONFIG",76:"STR",77:"STR_KEY",78:"STR_VALUE",79:"ATTRIBUTE",80:"ATTRIBUTE_EMPTY"},productions_:[0,[3,1],[3,1],[5,1],[5,1],[5,1],[5,1],[4,1],[10,4],[10,4],[10,4],[10,4],[10,4],[13,1],[13,1],[13,2],[19,1],[19,2],[19,3],[21,1],[21,1],[21,2],[21,2],[21,1],[29,3],[30,3],[30,3],[30,4],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[31,1],[20,1],[20,2],[20,3],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,1],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[35,1],[35,2],[75,1],[75,2],[75,1],[75,1]],performAction:d(function(m,x,E,_,D,o,Dt){var f=o.length-1;switch(D){case 3:_.setDirection("TB");break;case 4:_.setDirection("BT");break;case 5:_.setDirection("RL");break;case 6:_.setDirection("LR");break;case 8:case 9:case 10:case 11:case 12:_.setC4Type(o[f-3]);break;case 19:_.setTitle(o[f].substring(6)),this.$=o[f].substring(6);break;case 20:_.setAccDescription(o[f].substring(15)),this.$=o[f].substring(15);break;case 21:this.$=o[f].trim(),_.setTitle(this.$);break;case 22:case 23:this.$=o[f].trim(),_.setAccDescription(this.$);break;case 28:o[f].splice(2,0,"ENTERPRISE"),_.addPersonOrSystemBoundary(...o[f]),this.$=o[f];break;case 29:o[f].splice(2,0,"SYSTEM"),_.addPersonOrSystemBoundary(...o[f]),this.$=o[f];break;case 30:_.addPersonOrSystemBoundary(...o[f]),this.$=o[f];break;case 31:o[f].splice(2,0,"CONTAINER"),_.addContainerBoundary(...o[f]),this.$=o[f];break;case 32:_.addDeploymentNode("node",...o[f]),this.$=o[f];break;case 33:_.addDeploymentNode("nodeL",...o[f]),this.$=o[f];break;case 34:_.addDeploymentNode("nodeR",...o[f]),this.$=o[f];break;case 35:_.popBoundaryParseStack();break;case 39:_.addPersonOrSystem("person",...o[f]),this.$=o[f];break;case 40:_.addPersonOrSystem("external_person",...o[f]),this.$=o[f];break;case 41:_.addPersonOrSystem("system",...o[f]),this.$=o[f];break;case 42:_.addPersonOrSystem("system_db",...o[f]),this.$=o[f];break;case 43:_.addPersonOrSystem("system_queue",...o[f]),this.$=o[f];break;case 44:_.addPersonOrSystem("external_system",...o[f]),this.$=o[f];break;case 45:_.addPersonOrSystem("external_system_db",...o[f]),this.$=o[f];break;case 46:_.addPersonOrSystem("external_system_queue",...o[f]),this.$=o[f];break;case 47:_.addContainer("container",...o[f]),this.$=o[f];break;case 48:_.addContainer("container_db",...o[f]),this.$=o[f];break;case 49:_.addContainer("container_queue",...o[f]),this.$=o[f];break;case 50:_.addContainer("external_container",...o[f]),this.$=o[f];break;case 51:_.addContainer("external_container_db",...o[f]),this.$=o[f];break;case 52:_.addContainer("external_container_queue",...o[f]),this.$=o[f];break;case 53:_.addComponent("component",...o[f]),this.$=o[f];break;case 54:_.addComponent("component_db",...o[f]),this.$=o[f];break;case 55:_.addComponent("component_queue",...o[f]),this.$=o[f];break;case 56:_.addComponent("external_component",...o[f]),this.$=o[f];break;case 57:_.addComponent("external_component_db",...o[f]),this.$=o[f];break;case 58:_.addComponent("external_component_queue",...o[f]),this.$=o[f];break;case 60:_.addRel("rel",...o[f]),this.$=o[f];break;case 61:_.addRel("birel",...o[f]),this.$=o[f];break;case 62:_.addRel("rel_u",...o[f]),this.$=o[f];break;case 63:_.addRel("rel_d",...o[f]),this.$=o[f];break;case 64:_.addRel("rel_l",...o[f]),this.$=o[f];break;case 65:_.addRel("rel_r",...o[f]),this.$=o[f];break;case 66:_.addRel("rel_b",...o[f]),this.$=o[f];break;case 67:o[f].splice(0,1),_.addRel("rel",...o[f]),this.$=o[f];break;case 68:_.updateElStyle("update_el_style",...o[f]),this.$=o[f];break;case 69:_.updateRelStyle("update_rel_style",...o[f]),this.$=o[f];break;case 70:_.updateLayoutConfig("update_layout_config",...o[f]),this.$=o[f];break;case 71:this.$=[o[f]];break;case 72:o[f].unshift(o[f-1]),this.$=o[f];break;case 73:case 75:this.$=o[f].trim();break;case 74:let vt={};vt[o[f-1].trim()]=o[f].trim(),this.$=vt;break;case 76:this.$="";break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],7:[1,6],8:[1,7],9:[1,8],10:4,11:[1,9],15:[1,10],16:[1,11],17:[1,12],18:[1,13]},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,7]},{1:[2,3]},{1:[2,4]},{1:[2,5]},{1:[2,6]},{12:[1,14]},{12:[1,15]},{12:[1,16]},{12:[1,17]},{12:[1,18]},{13:19,19:20,20:21,21:22,22:e,23:a,24:i,26:u,28:r,29:49,30:61,32:62,34:n,36:l,37:s,38:h,39:y,40:p,41:g,43:23,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:Z,57:J,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{13:70,19:20,20:21,21:22,22:e,23:a,24:i,26:u,28:r,29:49,30:61,32:62,34:n,36:l,37:s,38:h,39:y,40:p,41:g,43:23,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:Z,57:J,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{13:71,19:20,20:21,21:22,22:e,23:a,24:i,26:u,28:r,29:49,30:61,32:62,34:n,36:l,37:s,38:h,39:y,40:p,41:g,43:23,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:Z,57:J,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{13:72,19:20,20:21,21:22,22:e,23:a,24:i,26:u,28:r,29:49,30:61,32:62,34:n,36:l,37:s,38:h,39:y,40:p,41:g,43:23,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:Z,57:J,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{13:73,19:20,20:21,21:22,22:e,23:a,24:i,26:u,28:r,29:49,30:61,32:62,34:n,36:l,37:s,38:h,39:y,40:p,41:g,43:23,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:Z,57:J,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{14:[1,74]},t(kt,[2,13],{43:23,29:49,30:61,32:62,20:75,34:n,36:l,37:s,38:h,39:y,40:p,41:g,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:Z,57:J,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt}),t(kt,[2,14]),t(Xt,[2,16],{12:[1,76]}),t(kt,[2,36],{12:[1,77]}),t(Pt,[2,19]),t(Pt,[2,20]),{25:[1,78]},{27:[1,79]},t(Pt,[2,23]),{35:80,75:81,76:S,77:T,79:k,80:C},{35:86,75:81,76:S,77:T,79:k,80:C},{35:87,75:81,76:S,77:T,79:k,80:C},{35:88,75:81,76:S,77:T,79:k,80:C},{35:89,75:81,76:S,77:T,79:k,80:C},{35:90,75:81,76:S,77:T,79:k,80:C},{35:91,75:81,76:S,77:T,79:k,80:C},{35:92,75:81,76:S,77:T,79:k,80:C},{35:93,75:81,76:S,77:T,79:k,80:C},{35:94,75:81,76:S,77:T,79:k,80:C},{35:95,75:81,76:S,77:T,79:k,80:C},{35:96,75:81,76:S,77:T,79:k,80:C},{35:97,75:81,76:S,77:T,79:k,80:C},{35:98,75:81,76:S,77:T,79:k,80:C},{35:99,75:81,76:S,77:T,79:k,80:C},{35:100,75:81,76:S,77:T,79:k,80:C},{35:101,75:81,76:S,77:T,79:k,80:C},{35:102,75:81,76:S,77:T,79:k,80:C},{35:103,75:81,76:S,77:T,79:k,80:C},{35:104,75:81,76:S,77:T,79:k,80:C},t(R,[2,59]),{35:105,75:81,76:S,77:T,79:k,80:C},{35:106,75:81,76:S,77:T,79:k,80:C},{35:107,75:81,76:S,77:T,79:k,80:C},{35:108,75:81,76:S,77:T,79:k,80:C},{35:109,75:81,76:S,77:T,79:k,80:C},{35:110,75:81,76:S,77:T,79:k,80:C},{35:111,75:81,76:S,77:T,79:k,80:C},{35:112,75:81,76:S,77:T,79:k,80:C},{35:113,75:81,76:S,77:T,79:k,80:C},{35:114,75:81,76:S,77:T,79:k,80:C},{35:115,75:81,76:S,77:T,79:k,80:C},{20:116,29:49,30:61,32:62,34:n,36:l,37:s,38:h,39:y,40:p,41:g,43:23,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:Z,57:J,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{12:[1,118],33:[1,117]},{35:119,75:81,76:S,77:T,79:k,80:C},{35:120,75:81,76:S,77:T,79:k,80:C},{35:121,75:81,76:S,77:T,79:k,80:C},{35:122,75:81,76:S,77:T,79:k,80:C},{35:123,75:81,76:S,77:T,79:k,80:C},{35:124,75:81,76:S,77:T,79:k,80:C},{35:125,75:81,76:S,77:T,79:k,80:C},{14:[1,126]},{14:[1,127]},{14:[1,128]},{14:[1,129]},{1:[2,8]},t(kt,[2,15]),t(Xt,[2,17],{21:22,19:130,22:e,23:a,24:i,26:u,28:r}),t(kt,[2,37],{19:20,20:21,21:22,43:23,29:49,30:61,32:62,13:131,22:e,23:a,24:i,26:u,28:r,34:n,36:l,37:s,38:h,39:y,40:p,41:g,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:Z,57:J,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt}),t(Pt,[2,21]),t(Pt,[2,22]),t(R,[2,39]),t(oe,[2,71],{75:81,35:132,76:S,77:T,79:k,80:C}),t(Bt,[2,73]),{78:[1,133]},t(Bt,[2,75]),t(Bt,[2,76]),t(R,[2,40]),t(R,[2,41]),t(R,[2,42]),t(R,[2,43]),t(R,[2,44]),t(R,[2,45]),t(R,[2,46]),t(R,[2,47]),t(R,[2,48]),t(R,[2,49]),t(R,[2,50]),t(R,[2,51]),t(R,[2,52]),t(R,[2,53]),t(R,[2,54]),t(R,[2,55]),t(R,[2,56]),t(R,[2,57]),t(R,[2,58]),t(R,[2,60]),t(R,[2,61]),t(R,[2,62]),t(R,[2,63]),t(R,[2,64]),t(R,[2,65]),t(R,[2,66]),t(R,[2,67]),t(R,[2,68]),t(R,[2,69]),t(R,[2,70]),{31:134,42:[1,135]},{12:[1,136]},{33:[1,137]},t(xt,[2,28]),t(xt,[2,29]),t(xt,[2,30]),t(xt,[2,31]),t(xt,[2,32]),t(xt,[2,33]),t(xt,[2,34]),{1:[2,9]},{1:[2,10]},{1:[2,11]},{1:[2,12]},t(Xt,[2,18]),t(kt,[2,38]),t(oe,[2,72]),t(Bt,[2,74]),t(R,[2,24]),t(R,[2,35]),t(qt,[2,25]),t(qt,[2,26],{12:[1,138]}),t(qt,[2,27])],defaultActions:{2:[2,1],3:[2,2],4:[2,7],5:[2,3],6:[2,4],7:[2,5],8:[2,6],74:[2,8],126:[2,9],127:[2,10],128:[2,11],129:[2,12]},parseError:d(function(m,x){if(x.recoverable)this.trace(m);else{var E=new Error(m);throw E.hash=x,E}},"parseError"),parse:d(function(m){var x=this,E=[0],_=[],D=[null],o=[],Dt=this.table,f="",vt=0,le=0,De=2,ce=1,Ne=o.slice.call(arguments,1),A=Object.create(this.lexer),Et={yy:{}};for(var Qt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Qt)&&(Et.yy[Qt]=this.yy[Qt]);A.setInput(m,Et.yy),Et.yy.lexer=A,Et.yy.parser=this,typeof A.yylloc>"u"&&(A.yylloc={});var Kt=A.yylloc;o.push(Kt);var Ae=A.options&&A.options.ranges;typeof Et.yy.parseError=="function"?this.parseError=Et.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Le(B){E.length=E.length-2*B,D.length=D.length-B,o.length=o.length-B}d(Le,"popStack");function ue(){var B;return B=_.pop()||A.lex()||ce,typeof B!="number"&&(B instanceof Array&&(_=B,B=_.pop()),B=x.symbols_[B]||B),B}d(ue,"lex");for(var M,St,V,Gt,Ct={},Yt,z,he,Ft;;){if(St=E[E.length-1],this.defaultActions[St]?V=this.defaultActions[St]:((M===null||typeof M>"u")&&(M=ue()),V=Dt[St]&&Dt[St][M]),typeof V>"u"||!V.length||!V[0]){var Zt="";Ft=[];for(Yt in Dt[St])this.terminals_[Yt]&&Yt>De&&Ft.push("'"+this.terminals_[Yt]+"'");A.showPosition?Zt="Parse error on line "+(vt+1)+`:
1
+ import{e as Ie}from"./DjyYYXwz.js";import{aZ as Me,U as Be,V as Ve,a_ as Ye,b as d,X as Ot,ay as de,B as Fe,h as Ue,al as je,o as Nt,b5 as ze,aV as me,aW as Jt,bi as We,z as te,n as pe}from"./Bex9L_jH.js";var jt=(function(){var t=d(function(_t,m,x,E){for(x=x||{},E=_t.length;E--;x[_t[E]]=m);return x},"o"),e=[1,24],a=[1,25],i=[1,26],u=[1,27],r=[1,28],n=[1,63],l=[1,64],s=[1,65],h=[1,66],y=[1,67],p=[1,68],g=[1,69],v=[1,29],w=[1,30],N=[1,31],O=[1,32],P=[1,33],I=[1,34],X=[1,35],q=[1,36],H=[1,37],Q=[1,38],K=[1,39],G=[1,40],Z=[1,41],J=[1,42],$=[1,43],tt=[1,44],et=[1,45],nt=[1,46],st=[1,47],at=[1,48],rt=[1,50],it=[1,51],ot=[1,52],lt=[1,53],ct=[1,54],ut=[1,55],ht=[1,56],dt=[1,57],pt=[1,58],ft=[1,59],yt=[1,60],kt=[14,42],Xt=[14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],Pt=[12,14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],S=[1,82],T=[1,83],k=[1,84],C=[1,85],R=[12,14,42],oe=[12,14,33,42],Bt=[12,14,33,42,76,77,79,80],xt=[12,33],qt=[34,36,37,38,39,40,41,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],Ht={trace:d(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mermaidDoc:4,direction:5,direction_tb:6,direction_bt:7,direction_rl:8,direction_lr:9,graphConfig:10,C4_CONTEXT:11,NEWLINE:12,statements:13,EOF:14,C4_CONTAINER:15,C4_COMPONENT:16,C4_DYNAMIC:17,C4_DEPLOYMENT:18,otherStatements:19,diagramStatements:20,otherStatement:21,title:22,accDescription:23,acc_title:24,acc_title_value:25,acc_descr:26,acc_descr_value:27,acc_descr_multiline_value:28,boundaryStatement:29,boundaryStartStatement:30,boundaryStopStatement:31,boundaryStart:32,LBRACE:33,ENTERPRISE_BOUNDARY:34,attributes:35,SYSTEM_BOUNDARY:36,BOUNDARY:37,CONTAINER_BOUNDARY:38,NODE:39,NODE_L:40,NODE_R:41,RBRACE:42,diagramStatement:43,PERSON:44,PERSON_EXT:45,SYSTEM:46,SYSTEM_DB:47,SYSTEM_QUEUE:48,SYSTEM_EXT:49,SYSTEM_EXT_DB:50,SYSTEM_EXT_QUEUE:51,CONTAINER:52,CONTAINER_DB:53,CONTAINER_QUEUE:54,CONTAINER_EXT:55,CONTAINER_EXT_DB:56,CONTAINER_EXT_QUEUE:57,COMPONENT:58,COMPONENT_DB:59,COMPONENT_QUEUE:60,COMPONENT_EXT:61,COMPONENT_EXT_DB:62,COMPONENT_EXT_QUEUE:63,REL:64,BIREL:65,REL_U:66,REL_D:67,REL_L:68,REL_R:69,REL_B:70,REL_INDEX:71,UPDATE_EL_STYLE:72,UPDATE_REL_STYLE:73,UPDATE_LAYOUT_CONFIG:74,attribute:75,STR:76,STR_KEY:77,STR_VALUE:78,ATTRIBUTE:79,ATTRIBUTE_EMPTY:80,$accept:0,$end:1},terminals_:{2:"error",6:"direction_tb",7:"direction_bt",8:"direction_rl",9:"direction_lr",11:"C4_CONTEXT",12:"NEWLINE",14:"EOF",15:"C4_CONTAINER",16:"C4_COMPONENT",17:"C4_DYNAMIC",18:"C4_DEPLOYMENT",22:"title",23:"accDescription",24:"acc_title",25:"acc_title_value",26:"acc_descr",27:"acc_descr_value",28:"acc_descr_multiline_value",33:"LBRACE",34:"ENTERPRISE_BOUNDARY",36:"SYSTEM_BOUNDARY",37:"BOUNDARY",38:"CONTAINER_BOUNDARY",39:"NODE",40:"NODE_L",41:"NODE_R",42:"RBRACE",44:"PERSON",45:"PERSON_EXT",46:"SYSTEM",47:"SYSTEM_DB",48:"SYSTEM_QUEUE",49:"SYSTEM_EXT",50:"SYSTEM_EXT_DB",51:"SYSTEM_EXT_QUEUE",52:"CONTAINER",53:"CONTAINER_DB",54:"CONTAINER_QUEUE",55:"CONTAINER_EXT",56:"CONTAINER_EXT_DB",57:"CONTAINER_EXT_QUEUE",58:"COMPONENT",59:"COMPONENT_DB",60:"COMPONENT_QUEUE",61:"COMPONENT_EXT",62:"COMPONENT_EXT_DB",63:"COMPONENT_EXT_QUEUE",64:"REL",65:"BIREL",66:"REL_U",67:"REL_D",68:"REL_L",69:"REL_R",70:"REL_B",71:"REL_INDEX",72:"UPDATE_EL_STYLE",73:"UPDATE_REL_STYLE",74:"UPDATE_LAYOUT_CONFIG",76:"STR",77:"STR_KEY",78:"STR_VALUE",79:"ATTRIBUTE",80:"ATTRIBUTE_EMPTY"},productions_:[0,[3,1],[3,1],[5,1],[5,1],[5,1],[5,1],[4,1],[10,4],[10,4],[10,4],[10,4],[10,4],[13,1],[13,1],[13,2],[19,1],[19,2],[19,3],[21,1],[21,1],[21,2],[21,2],[21,1],[29,3],[30,3],[30,3],[30,4],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[31,1],[20,1],[20,2],[20,3],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,1],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[35,1],[35,2],[75,1],[75,2],[75,1],[75,1]],performAction:d(function(m,x,E,_,D,o,Dt){var f=o.length-1;switch(D){case 3:_.setDirection("TB");break;case 4:_.setDirection("BT");break;case 5:_.setDirection("RL");break;case 6:_.setDirection("LR");break;case 8:case 9:case 10:case 11:case 12:_.setC4Type(o[f-3]);break;case 19:_.setTitle(o[f].substring(6)),this.$=o[f].substring(6);break;case 20:_.setAccDescription(o[f].substring(15)),this.$=o[f].substring(15);break;case 21:this.$=o[f].trim(),_.setTitle(this.$);break;case 22:case 23:this.$=o[f].trim(),_.setAccDescription(this.$);break;case 28:o[f].splice(2,0,"ENTERPRISE"),_.addPersonOrSystemBoundary(...o[f]),this.$=o[f];break;case 29:o[f].splice(2,0,"SYSTEM"),_.addPersonOrSystemBoundary(...o[f]),this.$=o[f];break;case 30:_.addPersonOrSystemBoundary(...o[f]),this.$=o[f];break;case 31:o[f].splice(2,0,"CONTAINER"),_.addContainerBoundary(...o[f]),this.$=o[f];break;case 32:_.addDeploymentNode("node",...o[f]),this.$=o[f];break;case 33:_.addDeploymentNode("nodeL",...o[f]),this.$=o[f];break;case 34:_.addDeploymentNode("nodeR",...o[f]),this.$=o[f];break;case 35:_.popBoundaryParseStack();break;case 39:_.addPersonOrSystem("person",...o[f]),this.$=o[f];break;case 40:_.addPersonOrSystem("external_person",...o[f]),this.$=o[f];break;case 41:_.addPersonOrSystem("system",...o[f]),this.$=o[f];break;case 42:_.addPersonOrSystem("system_db",...o[f]),this.$=o[f];break;case 43:_.addPersonOrSystem("system_queue",...o[f]),this.$=o[f];break;case 44:_.addPersonOrSystem("external_system",...o[f]),this.$=o[f];break;case 45:_.addPersonOrSystem("external_system_db",...o[f]),this.$=o[f];break;case 46:_.addPersonOrSystem("external_system_queue",...o[f]),this.$=o[f];break;case 47:_.addContainer("container",...o[f]),this.$=o[f];break;case 48:_.addContainer("container_db",...o[f]),this.$=o[f];break;case 49:_.addContainer("container_queue",...o[f]),this.$=o[f];break;case 50:_.addContainer("external_container",...o[f]),this.$=o[f];break;case 51:_.addContainer("external_container_db",...o[f]),this.$=o[f];break;case 52:_.addContainer("external_container_queue",...o[f]),this.$=o[f];break;case 53:_.addComponent("component",...o[f]),this.$=o[f];break;case 54:_.addComponent("component_db",...o[f]),this.$=o[f];break;case 55:_.addComponent("component_queue",...o[f]),this.$=o[f];break;case 56:_.addComponent("external_component",...o[f]),this.$=o[f];break;case 57:_.addComponent("external_component_db",...o[f]),this.$=o[f];break;case 58:_.addComponent("external_component_queue",...o[f]),this.$=o[f];break;case 60:_.addRel("rel",...o[f]),this.$=o[f];break;case 61:_.addRel("birel",...o[f]),this.$=o[f];break;case 62:_.addRel("rel_u",...o[f]),this.$=o[f];break;case 63:_.addRel("rel_d",...o[f]),this.$=o[f];break;case 64:_.addRel("rel_l",...o[f]),this.$=o[f];break;case 65:_.addRel("rel_r",...o[f]),this.$=o[f];break;case 66:_.addRel("rel_b",...o[f]),this.$=o[f];break;case 67:o[f].splice(0,1),_.addRel("rel",...o[f]),this.$=o[f];break;case 68:_.updateElStyle("update_el_style",...o[f]),this.$=o[f];break;case 69:_.updateRelStyle("update_rel_style",...o[f]),this.$=o[f];break;case 70:_.updateLayoutConfig("update_layout_config",...o[f]),this.$=o[f];break;case 71:this.$=[o[f]];break;case 72:o[f].unshift(o[f-1]),this.$=o[f];break;case 73:case 75:this.$=o[f].trim();break;case 74:let vt={};vt[o[f-1].trim()]=o[f].trim(),this.$=vt;break;case 76:this.$="";break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],7:[1,6],8:[1,7],9:[1,8],10:4,11:[1,9],15:[1,10],16:[1,11],17:[1,12],18:[1,13]},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,7]},{1:[2,3]},{1:[2,4]},{1:[2,5]},{1:[2,6]},{12:[1,14]},{12:[1,15]},{12:[1,16]},{12:[1,17]},{12:[1,18]},{13:19,19:20,20:21,21:22,22:e,23:a,24:i,26:u,28:r,29:49,30:61,32:62,34:n,36:l,37:s,38:h,39:y,40:p,41:g,43:23,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:Z,57:J,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{13:70,19:20,20:21,21:22,22:e,23:a,24:i,26:u,28:r,29:49,30:61,32:62,34:n,36:l,37:s,38:h,39:y,40:p,41:g,43:23,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:Z,57:J,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{13:71,19:20,20:21,21:22,22:e,23:a,24:i,26:u,28:r,29:49,30:61,32:62,34:n,36:l,37:s,38:h,39:y,40:p,41:g,43:23,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:Z,57:J,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{13:72,19:20,20:21,21:22,22:e,23:a,24:i,26:u,28:r,29:49,30:61,32:62,34:n,36:l,37:s,38:h,39:y,40:p,41:g,43:23,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:Z,57:J,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{13:73,19:20,20:21,21:22,22:e,23:a,24:i,26:u,28:r,29:49,30:61,32:62,34:n,36:l,37:s,38:h,39:y,40:p,41:g,43:23,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:Z,57:J,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{14:[1,74]},t(kt,[2,13],{43:23,29:49,30:61,32:62,20:75,34:n,36:l,37:s,38:h,39:y,40:p,41:g,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:Z,57:J,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt}),t(kt,[2,14]),t(Xt,[2,16],{12:[1,76]}),t(kt,[2,36],{12:[1,77]}),t(Pt,[2,19]),t(Pt,[2,20]),{25:[1,78]},{27:[1,79]},t(Pt,[2,23]),{35:80,75:81,76:S,77:T,79:k,80:C},{35:86,75:81,76:S,77:T,79:k,80:C},{35:87,75:81,76:S,77:T,79:k,80:C},{35:88,75:81,76:S,77:T,79:k,80:C},{35:89,75:81,76:S,77:T,79:k,80:C},{35:90,75:81,76:S,77:T,79:k,80:C},{35:91,75:81,76:S,77:T,79:k,80:C},{35:92,75:81,76:S,77:T,79:k,80:C},{35:93,75:81,76:S,77:T,79:k,80:C},{35:94,75:81,76:S,77:T,79:k,80:C},{35:95,75:81,76:S,77:T,79:k,80:C},{35:96,75:81,76:S,77:T,79:k,80:C},{35:97,75:81,76:S,77:T,79:k,80:C},{35:98,75:81,76:S,77:T,79:k,80:C},{35:99,75:81,76:S,77:T,79:k,80:C},{35:100,75:81,76:S,77:T,79:k,80:C},{35:101,75:81,76:S,77:T,79:k,80:C},{35:102,75:81,76:S,77:T,79:k,80:C},{35:103,75:81,76:S,77:T,79:k,80:C},{35:104,75:81,76:S,77:T,79:k,80:C},t(R,[2,59]),{35:105,75:81,76:S,77:T,79:k,80:C},{35:106,75:81,76:S,77:T,79:k,80:C},{35:107,75:81,76:S,77:T,79:k,80:C},{35:108,75:81,76:S,77:T,79:k,80:C},{35:109,75:81,76:S,77:T,79:k,80:C},{35:110,75:81,76:S,77:T,79:k,80:C},{35:111,75:81,76:S,77:T,79:k,80:C},{35:112,75:81,76:S,77:T,79:k,80:C},{35:113,75:81,76:S,77:T,79:k,80:C},{35:114,75:81,76:S,77:T,79:k,80:C},{35:115,75:81,76:S,77:T,79:k,80:C},{20:116,29:49,30:61,32:62,34:n,36:l,37:s,38:h,39:y,40:p,41:g,43:23,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:Z,57:J,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{12:[1,118],33:[1,117]},{35:119,75:81,76:S,77:T,79:k,80:C},{35:120,75:81,76:S,77:T,79:k,80:C},{35:121,75:81,76:S,77:T,79:k,80:C},{35:122,75:81,76:S,77:T,79:k,80:C},{35:123,75:81,76:S,77:T,79:k,80:C},{35:124,75:81,76:S,77:T,79:k,80:C},{35:125,75:81,76:S,77:T,79:k,80:C},{14:[1,126]},{14:[1,127]},{14:[1,128]},{14:[1,129]},{1:[2,8]},t(kt,[2,15]),t(Xt,[2,17],{21:22,19:130,22:e,23:a,24:i,26:u,28:r}),t(kt,[2,37],{19:20,20:21,21:22,43:23,29:49,30:61,32:62,13:131,22:e,23:a,24:i,26:u,28:r,34:n,36:l,37:s,38:h,39:y,40:p,41:g,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:Z,57:J,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt}),t(Pt,[2,21]),t(Pt,[2,22]),t(R,[2,39]),t(oe,[2,71],{75:81,35:132,76:S,77:T,79:k,80:C}),t(Bt,[2,73]),{78:[1,133]},t(Bt,[2,75]),t(Bt,[2,76]),t(R,[2,40]),t(R,[2,41]),t(R,[2,42]),t(R,[2,43]),t(R,[2,44]),t(R,[2,45]),t(R,[2,46]),t(R,[2,47]),t(R,[2,48]),t(R,[2,49]),t(R,[2,50]),t(R,[2,51]),t(R,[2,52]),t(R,[2,53]),t(R,[2,54]),t(R,[2,55]),t(R,[2,56]),t(R,[2,57]),t(R,[2,58]),t(R,[2,60]),t(R,[2,61]),t(R,[2,62]),t(R,[2,63]),t(R,[2,64]),t(R,[2,65]),t(R,[2,66]),t(R,[2,67]),t(R,[2,68]),t(R,[2,69]),t(R,[2,70]),{31:134,42:[1,135]},{12:[1,136]},{33:[1,137]},t(xt,[2,28]),t(xt,[2,29]),t(xt,[2,30]),t(xt,[2,31]),t(xt,[2,32]),t(xt,[2,33]),t(xt,[2,34]),{1:[2,9]},{1:[2,10]},{1:[2,11]},{1:[2,12]},t(Xt,[2,18]),t(kt,[2,38]),t(oe,[2,72]),t(Bt,[2,74]),t(R,[2,24]),t(R,[2,35]),t(qt,[2,25]),t(qt,[2,26],{12:[1,138]}),t(qt,[2,27])],defaultActions:{2:[2,1],3:[2,2],4:[2,7],5:[2,3],6:[2,4],7:[2,5],8:[2,6],74:[2,8],126:[2,9],127:[2,10],128:[2,11],129:[2,12]},parseError:d(function(m,x){if(x.recoverable)this.trace(m);else{var E=new Error(m);throw E.hash=x,E}},"parseError"),parse:d(function(m){var x=this,E=[0],_=[],D=[null],o=[],Dt=this.table,f="",vt=0,le=0,De=2,ce=1,Ne=o.slice.call(arguments,1),A=Object.create(this.lexer),Et={yy:{}};for(var Qt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Qt)&&(Et.yy[Qt]=this.yy[Qt]);A.setInput(m,Et.yy),Et.yy.lexer=A,Et.yy.parser=this,typeof A.yylloc>"u"&&(A.yylloc={});var Kt=A.yylloc;o.push(Kt);var Ae=A.options&&A.options.ranges;typeof Et.yy.parseError=="function"?this.parseError=Et.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Le(B){E.length=E.length-2*B,D.length=D.length-B,o.length=o.length-B}d(Le,"popStack");function ue(){var B;return B=_.pop()||A.lex()||ce,typeof B!="number"&&(B instanceof Array&&(_=B,B=_.pop()),B=x.symbols_[B]||B),B}d(ue,"lex");for(var M,St,V,Gt,Ct={},Yt,z,he,Ft;;){if(St=E[E.length-1],this.defaultActions[St]?V=this.defaultActions[St]:((M===null||typeof M>"u")&&(M=ue()),V=Dt[St]&&Dt[St][M]),typeof V>"u"||!V.length||!V[0]){var Zt="";Ft=[];for(Yt in Dt[St])this.terminals_[Yt]&&Yt>De&&Ft.push("'"+this.terminals_[Yt]+"'");A.showPosition?Zt="Parse error on line "+(vt+1)+`:
2
2
  `+A.showPosition()+`
3
3
  Expecting `+Ft.join(", ")+", got '"+(this.terminals_[M]||M)+"'":Zt="Parse error on line "+(vt+1)+": Unexpected "+(M==ce?"end of input":"'"+(this.terminals_[M]||M)+"'"),this.parseError(Zt,{text:A.match,token:this.terminals_[M]||M,line:A.yylineno,loc:Kt,expected:Ft})}if(V[0]instanceof Array&&V.length>1)throw new Error("Parse Error: multiple actions possible at state: "+St+", token: "+M);switch(V[0]){case 1:E.push(M),D.push(A.yytext),o.push(A.yylloc),E.push(V[1]),M=null,le=A.yyleng,f=A.yytext,vt=A.yylineno,Kt=A.yylloc;break;case 2:if(z=this.productions_[V[1]][1],Ct.$=D[D.length-z],Ct._$={first_line:o[o.length-(z||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(z||1)].first_column,last_column:o[o.length-1].last_column},Ae&&(Ct._$.range=[o[o.length-(z||1)].range[0],o[o.length-1].range[1]]),Gt=this.performAction.apply(Ct,[f,le,vt,Et.yy,V[1],D,o].concat(Ne)),typeof Gt<"u")return Gt;z&&(E=E.slice(0,-1*z*2),D=D.slice(0,-1*z),o=o.slice(0,-1*z)),E.push(this.productions_[V[1]][0]),D.push(Ct.$),o.push(Ct._$),he=Dt[E[E.length-2]][E[E.length-1]],E.push(he);break;case 3:return!0}}return!0},"parse")},Pe=(function(){var _t={EOF:1,parseError:d(function(x,E){if(this.yy.parser)this.yy.parser.parseError(x,E);else throw new Error(x)},"parseError"),setInput:d(function(m,x){return this.yy=x||this.yy||{},this._input=m,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:d(function(){var m=this._input[0];this.yytext+=m,this.yyleng++,this.offset++,this.match+=m,this.matched+=m;var x=m.match(/(?:\r\n?|\n).*/g);return x?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),m},"input"),unput:d(function(m){var x=m.length,E=m.split(/(?:\r\n?|\n)/g);this._input=m+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-x),this.offset-=x;var _=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),E.length-1&&(this.yylineno-=E.length-1);var D=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:E?(E.length===_.length?this.yylloc.first_column:0)+_[_.length-E.length].length-E[0].length:this.yylloc.first_column-x},this.options.ranges&&(this.yylloc.range=[D[0],D[0]+this.yyleng-x]),this.yyleng=this.yytext.length,this},"unput"),more:d(function(){return this._more=!0,this},"more"),reject:d(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:d(function(m){this.unput(this.match.slice(m))},"less"),pastInput:d(function(){var m=this.matched.substr(0,this.matched.length-this.match.length);return(m.length>20?"...":"")+m.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:d(function(){var m=this.match;return m.length<20&&(m+=this._input.substr(0,20-m.length)),(m.substr(0,20)+(m.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:d(function(){var m=this.pastInput(),x=new Array(m.length+1).join("-");return m+this.upcomingInput()+`