@intent-hq/web 2.361.0 → 2.361.1

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 (146) hide show
  1. package/package.json +1 -1
  2. package/web/app/immutable/assets/{chat-search.CWdkjFsY.css → chat-search.BEJJqsqt.css} +1 -1
  3. package/web/app/immutable/chunks/{BWmQZ9-W.js → 8C8OyL-H.js} +1 -1
  4. package/web/app/immutable/chunks/{C2NcLB2u.js → 9JxkPVF4.js} +1 -1
  5. package/web/app/immutable/chunks/{CTNuszHC.js → B1ScYY03.js} +4 -4
  6. package/web/app/immutable/chunks/{D7HGt2gg.js → BAL5XTLB.js} +1 -1
  7. package/web/app/immutable/chunks/{c4wFHOws.js → BAyBEEFm.js} +1 -1
  8. package/web/app/immutable/chunks/{BYMZ452w.js → BCKdYbDN.js} +1 -1
  9. package/web/app/immutable/chunks/{Bw3Jc49z.js → BCReWepB.js} +1 -1
  10. package/web/app/immutable/chunks/{PsyApth6.js → BIbN5V8o.js} +1 -1
  11. package/web/app/immutable/chunks/{Khf-yjCZ.js → BJ3gWX43.js} +2 -2
  12. package/web/app/immutable/chunks/{CucLWNXy.js → BM1o8cfq.js} +1 -1
  13. package/web/app/immutable/chunks/{D7Qg9UsC.js → BPvTHi1E.js} +1 -1
  14. package/web/app/immutable/chunks/{DFrHql0h.js → BSEFatJl.js} +1 -1
  15. package/web/app/immutable/chunks/{DqKDx046.js → BSQOiuf7.js} +1 -1
  16. package/web/app/immutable/chunks/{BqVB3HSC.js → BShQ2LRb.js} +1 -1
  17. package/web/app/immutable/chunks/{CKxDlPZO.js → BTYFFiiL.js} +1 -1
  18. package/web/app/immutable/chunks/{D27yNjLf.js → BTl8ihCX.js} +1 -1
  19. package/web/app/immutable/chunks/{BYAWXKUB.js → BTli9eoV.js} +1 -1
  20. package/web/app/immutable/chunks/{VFkYp0FY.js → BTpJekrR.js} +1 -1
  21. package/web/app/immutable/chunks/{Rn1PSvxr.js → BVV3fM7W.js} +1 -1
  22. package/web/app/immutable/chunks/{D93k--bp.js → BYx2Y144.js} +1 -1
  23. package/web/app/immutable/chunks/{BN7TE2rx.js → B_tHbtUI.js} +1 -1
  24. package/web/app/immutable/chunks/{B3a7OI2F.js → BdcgINI4.js} +1 -1
  25. package/web/app/immutable/chunks/{BEXbHJh4.js → BffM0X9l.js} +1 -1
  26. package/web/app/immutable/chunks/{DwM4HivY.js → Bh3GosDM.js} +1 -1
  27. package/web/app/immutable/chunks/{D_rNeuD7.js → Bmmvebpd.js} +1 -1
  28. package/web/app/immutable/chunks/{BJf3iy0S.js → BpOARSV2.js} +2 -2
  29. package/web/app/immutable/chunks/{DgLG2932.js → BqUUWX71.js} +1 -1
  30. package/web/app/immutable/chunks/{Bkvyt2Uf.js → BrQ0wqQy.js} +1 -1
  31. package/web/app/immutable/chunks/{BzRgELGj.js → BrYKR-SG.js} +2 -2
  32. package/web/app/immutable/chunks/{D81z2pn-.js → Bx9jZIih.js} +3 -3
  33. package/web/app/immutable/chunks/{kcZjzSP7.js → ByIgBfs_.js} +1 -1
  34. package/web/app/immutable/chunks/{BinCXnWY.js → BzTKzuhn.js} +1 -1
  35. package/web/app/immutable/chunks/{BW5RQ7dH.js → C0w-ozGP.js} +1 -1
  36. package/web/app/immutable/chunks/{B5XDKjvt.js → C1d-f55y.js} +1 -1
  37. package/web/app/immutable/chunks/{DDA9SIgp.js → C7Y9ew7Z.js} +1 -1
  38. package/web/app/immutable/chunks/{t3JsxPaO.js → CD3p1vYG.js} +1 -1
  39. package/web/app/immutable/chunks/{CTRLupPR.js → CD6wiERl.js} +2 -2
  40. package/web/app/immutable/chunks/CDfNySzn.js +12 -0
  41. package/web/app/immutable/chunks/{C9ujJ6il.js → CEX--Xsn.js} +2 -2
  42. package/web/app/immutable/chunks/{DwC7M61S.js → CGa_N4XN.js} +1 -1
  43. package/web/app/immutable/chunks/{CpV8u0F6.js → CGyzoULR.js} +2 -2
  44. package/web/app/immutable/chunks/{CFuZ1Me4.js → CK1KGIDF.js} +2 -2
  45. package/web/app/immutable/chunks/{BhQ7Nd7i.js → CM4RKAei.js} +1 -1
  46. package/web/app/immutable/chunks/{B81eIwbi.js → CNrMRWtA.js} +2 -2
  47. package/web/app/immutable/chunks/{CPuPCqZE.js → CTRz9TAp.js} +1 -1
  48. package/web/app/immutable/chunks/{YgZ9xfEe.js → CU9Jo2EB.js} +1 -1
  49. package/web/app/immutable/chunks/{OJCFNlvY.js → CWv2hgO9.js} +1 -1
  50. package/web/app/immutable/chunks/{EtMoREaX.js → CY0JcuWq.js} +1 -1
  51. package/web/app/immutable/chunks/{D-RdTqFP.js → C_RGTtXj.js} +3 -3
  52. package/web/app/immutable/chunks/{Lpw6MOlz.js → CbvpJoHZ.js} +1 -1
  53. package/web/app/immutable/chunks/{Dads5On7.js → Ccaz1_yi.js} +1 -1
  54. package/web/app/immutable/chunks/{1c0lZJrV.js → CfrI0flQ.js} +1 -1
  55. package/web/app/immutable/chunks/{95Q5Q_xW.js → ChdfugfS.js} +1 -1
  56. package/web/app/immutable/chunks/{COGpUz3t.js → CigwWVbR.js} +1 -1
  57. package/web/app/immutable/chunks/{B-gNGby7.js → Cn2kUD4R.js} +1 -1
  58. package/web/app/immutable/chunks/{KnX_02Jn.js → Cnly_zgc.js} +1 -1
  59. package/web/app/immutable/chunks/{DbgIztcj.js → Ct4BiqZH.js} +2 -2
  60. package/web/app/immutable/chunks/{CiCc1qZy.js → CtoSWfC3.js} +1 -1
  61. package/web/app/immutable/chunks/{kV-fkifL.js → CubYUWh2.js} +1 -1
  62. package/web/app/immutable/chunks/{Dm7totry.js → CwzEnqS-.js} +1 -1
  63. package/web/app/immutable/chunks/{BsOXr_0z.js → CzEsFefN.js} +1 -1
  64. package/web/app/immutable/chunks/{CSykTYZD.js → D3110at5.js} +1 -1
  65. package/web/app/immutable/chunks/{Bep3Jqpc.js → D39Rrj4Y.js} +1 -1
  66. package/web/app/immutable/chunks/{CSSLtQaO.js → D478BUHq.js} +1 -1
  67. package/web/app/immutable/chunks/{Dd5jECmn.js → D6d4xhu_.js} +1 -1
  68. package/web/app/immutable/chunks/{Cmh4buXt.js → DB-v9jra.js} +1 -1
  69. package/web/app/immutable/chunks/{D5Y-fh7x.js → DDJJ0r24.js} +1 -1
  70. package/web/app/immutable/chunks/{_2nk2_Hn.js → DGzlSz-8.js} +1 -1
  71. package/web/app/immutable/chunks/{qWbeHdf9.js → DHQj_UCz.js} +1 -1
  72. package/web/app/immutable/chunks/{BzFCW_oO.js → DJ5x8cvc.js} +1 -1
  73. package/web/app/immutable/chunks/{BeTn7XSu.js → DKAPPU9s.js} +4 -4
  74. package/web/app/immutable/chunks/{BMiSQSg-.js → DL8IL3dP.js} +1 -1
  75. package/web/app/immutable/chunks/{DZ-8xGs3.js → DMHNxEyN.js} +1 -1
  76. package/web/app/immutable/chunks/{BM-7iiyp.js → DPVE_K_W.js} +1 -1
  77. package/web/app/immutable/chunks/{aF9CaLLA.js → DSEn8hom.js} +1 -1
  78. package/web/app/immutable/chunks/{B2islIT9.js → DU2T1Vdb.js} +1 -1
  79. package/web/app/immutable/chunks/DUCIVWu4.js +12 -0
  80. package/web/app/immutable/chunks/{CIeKs3Fz.js → DW6bFMyN.js} +1 -1
  81. package/web/app/immutable/chunks/{C5ak_0Xq.js → DYUOfSUt.js} +1 -1
  82. package/web/app/immutable/chunks/{ByVGRZX6.js → D_duQWml.js} +1 -1
  83. package/web/app/immutable/chunks/{CjLcyZTM.js → DfPFNZRA.js} +1 -1
  84. package/web/app/immutable/chunks/{BVPML882.js → Dg8d6CfG.js} +1 -1
  85. package/web/app/immutable/chunks/{Bw8AD9dJ.js → Dg9xZYld.js} +1 -1
  86. package/web/app/immutable/chunks/{BSxTNz_Y.js → DgcVHfLT.js} +1 -1
  87. package/web/app/immutable/chunks/{vSqR6YVO.js → DhFCUcs_.js} +1 -1
  88. package/web/app/immutable/chunks/{j3M2P1q-.js → DjcKhQp4.js} +1 -1
  89. package/web/app/immutable/chunks/{BfLVjdWH.js → DlZbnYcc.js} +1 -1
  90. package/web/app/immutable/chunks/{Bwq11IJN.js → DnxaSjad.js} +1 -1
  91. package/web/app/immutable/chunks/{CL0ULjU-.js → Dr8wZpId.js} +1 -1
  92. package/web/app/immutable/chunks/{Bs7k0nr9.js → DtIte6Mn.js} +13 -13
  93. package/web/app/immutable/chunks/{1j8IB6qY.js → DxNx74qV.js} +1 -1
  94. package/web/app/immutable/chunks/DxOUk2oJ.js +305 -0
  95. package/web/app/immutable/chunks/{Bv2wmdPv.js → Dxv3G1Mb.js} +1 -1
  96. package/web/app/immutable/chunks/{CKn-VDhm.js → DzGon3k8.js} +1 -1
  97. package/web/app/immutable/chunks/{DXJZHh0A.js → HtczSd2T.js} +1 -1
  98. package/web/app/immutable/chunks/{CK61dfwH.js → HzX2dyQQ.js} +1 -1
  99. package/web/app/immutable/chunks/{BkNoKwFt.js → IF38I4hJ.js} +1 -1
  100. package/web/app/immutable/chunks/{Bz8fykGF.js → LOqiMc_U.js} +1 -1
  101. package/web/app/immutable/chunks/{BkBez7WX.js → LWmvlIUb.js} +1 -1
  102. package/web/app/immutable/chunks/{VPOqbJP9.js → LbgKUbsl.js} +3 -3
  103. package/web/app/immutable/chunks/{XwrZ1aRW.js → Mq-KWmnJ.js} +1 -1
  104. package/web/app/immutable/chunks/{CyPGin7U.js → NAsYJxQg.js} +1 -1
  105. package/web/app/immutable/chunks/{Cot5yElc.js → Oa6WXH6c.js} +3 -3
  106. package/web/app/immutable/chunks/{BKkSBqXG.js → PRiKArA2.js} +1 -1
  107. package/web/app/immutable/chunks/{hvIpWr_e.js → Pyx0yui4.js} +1 -1
  108. package/web/app/immutable/chunks/{cqV5ArDy.js → QNDivBsM.js} +1 -1
  109. package/web/app/immutable/chunks/{D-2XEcTW.js → WJw0rC-g.js} +1 -1
  110. package/web/app/immutable/chunks/{BvyARSUu.js → ZWDSGAzi.js} +1 -1
  111. package/web/app/immutable/chunks/{f178PQSp.js → _iJcPN5_.js} +1 -1
  112. package/web/app/immutable/chunks/{D_sZQPLm.js → fUWZZKuh.js} +3 -3
  113. package/web/app/immutable/chunks/{C27IcubQ.js → g5Oev8-0.js} +1 -1
  114. package/web/app/immutable/chunks/{D7Vw4JcL.js → i-66Uv-K.js} +1 -1
  115. package/web/app/immutable/chunks/{cFIrJg-T.js → i9Ai-esv.js} +1 -1
  116. package/web/app/immutable/chunks/{C-UIC-T7.js → iDIfJ3iV.js} +1 -1
  117. package/web/app/immutable/chunks/{BUd39PAw.js → j9e5aB7O.js} +1 -1
  118. package/web/app/immutable/chunks/{DR2khMiR.js → jbEf1eyu.js} +1 -1
  119. package/web/app/immutable/chunks/{VSdJtUTR.js → m2KtwqZj.js} +3 -3
  120. package/web/app/immutable/chunks/{MMcMOHPP.js → p1enVnf-.js} +3 -3
  121. package/web/app/immutable/chunks/{sUAKfW_e.js → q3oLC86w.js} +1 -1
  122. package/web/app/immutable/chunks/{CZXdxwZ-.js → tm_HKw3E.js} +1 -1
  123. package/web/app/immutable/chunks/{C1RT5V9K.js → wuYAM5lX.js} +1 -1
  124. package/web/app/immutable/chunks/{B1Qwlozr.js → ye2FbJ5D.js} +2 -2
  125. package/web/app/immutable/entry/{app.BcpofzE6.js → app.0rhGzEA-.js} +2 -2
  126. package/web/app/immutable/entry/start.piZarN4f.js +1 -0
  127. package/web/app/immutable/nodes/{0.BQUOze-j.js → 0.7iTMX8MP.js} +1 -1
  128. package/web/app/immutable/nodes/{1.Bp05_YjA.js → 1.BwagR4s9.js} +1 -1
  129. package/web/app/immutable/nodes/{10.3aTkNQpJ.js → 10.DuZeAxuV.js} +4 -4
  130. package/web/app/immutable/nodes/{11.BXjLtpXc.js → 11.D7qyNhVk.js} +1 -1
  131. package/web/app/immutable/nodes/{15.DfBroLQA.js → 15.De8ZpDZ1.js} +1 -1
  132. package/web/app/immutable/nodes/{19.-ypsiFbk.js → 19.Df09vK0B.js} +2 -2
  133. package/web/app/immutable/nodes/{2.DULGAXhA.js → 2.Dlt4LRYB.js} +4 -4
  134. package/web/app/immutable/nodes/{3.CM-CFkEo.js → 3.PjliZTHk.js} +1 -1
  135. package/web/app/immutable/nodes/{4.DiNldv1M.js → 4.OFyddHWG.js} +1 -1
  136. package/web/app/immutable/nodes/{5.DDbl8ORw.js → 5.C7naJyKP.js} +1 -1
  137. package/web/app/immutable/nodes/{6.CGP2STrw.js → 6.k4q9sApB.js} +1 -1
  138. package/web/app/immutable/nodes/{7.xmorhsK4.js → 7.C4plvmUt.js} +1 -1
  139. package/web/app/immutable/nodes/{8.D_BxSNz-.js → 8.tv1szX_U.js} +1 -1
  140. package/web/app/immutable/nodes/{9.BUD_PMUy.js → 9.gOkUPoOT.js} +4 -4
  141. package/web/app/version.json +1 -1
  142. package/web/index.html +9 -9
  143. package/web/app/immutable/chunks/CA6_Ao_-.js +0 -305
  144. package/web/app/immutable/chunks/DSDcLbxr.js +0 -12
  145. package/web/app/immutable/chunks/DxuDR3-b.js +0 -12
  146. package/web/app/immutable/entry/start.BYusRIxF.js +0 -1
@@ -1 +1 @@
1
- import{t as Fe,bo as Q,bm as z,bw as je,b as qe,bs as Ie,bq as at,br as xt}from"./AeC4KVgG.js";import{bs as Ge,bj as bt,a5 as u,bA as c,b_ as x,W as r,bn as Ne,aA as U,ay as R,bS as n,aD as e,aB as m,c9 as $,c5 as Oe,ca as yt,bk as st,bH as Pe,bV as Be,a7 as fe,be as $e,b$ as ke,bO as B,bl as Ae}from"./CJxGDkBm.js";import{i as K}from"./k2awEenT.js";import{k as ot}from"./HftJbvyF.js";import{g as De}from"./CswzK9Go.js";import{c as P}from"./ZcoUa9Jg.js";import{s as Me,f as Ue,c as Je,b as Ye}from"./DrHJ7oPv.js";import{P as Se,h as ze,i as He,g as We}from"./DbaZdUr0.js";import{S as T}from"./F1SvNoTt.js";import"./jhNNYE0v.js";import{w as At}from"./DZGQ9Nrs.js";import{C as Pt}from"./hvIpWr_e.js";import{E as Ze}from"./GX2qna_j.js";import{E as Tt}from"./TF9FVLD5.js";import"./BSnHR4nh.js";import{IX as xe,fp as Rt,EV as nt,Dl as it,pQ as Dt}from"./BkzMrEqG.js";import{aO as lt,aL as It,aM as Et,du as Lt}from"./BEyxbMng.js";import{d as Mt,r as St}from"./yAiwGS7g.js";import{M as zt}from"./DSDcLbxr.js";import{G as Ht}from"./BnY0sRro.js";import{A as et}from"./gJtrDJPm.js";import{M as Wt,e as Ct}from"./CZXdxwZ-.js";import{o as Ot}from"./BkNoKwFt.js";import{f as Ce}from"./DJM6amHV.js";import{S as Ee}from"./BfeuGyqq.js";import{F as Le,a1 as Bt,d2 as Ft,av as jt,bm as qt}from"./Ci7mS1ie.js";var Gt=m('<div class="space-y-3"><!> <!></div>'),Nt=m('<div class="space-y-3"><!> <!></div> <!>',1),Vt=m('<div class="space-y-3 rounded-xl border border-border p-4 shadow-xs"><div class="flex items-center gap-3"><!><!></div> <!> <div class="flex items-center justify-between pt-1"><!><!></div></div>'),Xt=m('<div class="min-w-0 space-y-3"><div class="flex h-10 items-center px-2"><!></div> <!></div>'),Kt=m('<div class="grid grid-cols-[repeat(auto-fit,minmax(min(100%,10rem),1fr))] gap-3 px-1"></div>'),Qt=m('<div class="flex h-10 items-center px-3"><!></div>'),Ut=m("<div><!> <!> <!> <!></div>"),Jt=m("<!> <!>",1),Yt=m('<div role="status" class="min-h-0 min-w-0 flex-1 overflow-hidden svelte-kmeefs" data-home-loading=""><div aria-hidden="true"><!></div></div>');function dt(b,l){if(new.target)return Fe({component:dt,...b});Ge(l,!0);const J=At();bt(J.cleanup);let E=Q(l,"detail",7,!1),F=Q(l,"count",7,5),Y=Q(l,"view",7,"list"),Z=Q(l,"grouped",7,!1),s=Q(l,"rows",7,"workspace");var L={get detail(){return E()},set detail(i=!1){E(i),U()},get count(){return F()},set count(i=5){F(i),U()},get view(){return Y()},set view(i="list"){Y(i),U()},get grouped(){return Z()},set grouped(i=!1){Z(i),U()},get rows(){return s()},set rows(i="workspace"){s(i),U()},$set:je,$on:(i,D)=>qe(l,i,D)},y=Yt(),ie=u(y),be=u(ie);{var le=i=>{var D=Nt(),g=R(D),ee=u(g);T(ee,{class:"h-6 w-4/5"});var H=n(ee,2);T(H,{class:"h-4 w-1/2"}),c(g);var d=n(g,2);De(d,16,()=>[0,1],h=>h,(h,A)=>{var k=Gt(),te=u(k);T(te,{class:"h-3 w-full"});var j=n(te,2);T(j,{class:"h-3 w-5/6"}),c(k),r(h,k)}),r(i,D)},Te=i=>{var D=Kt();De(D,20,()=>[0,1,2],g=>g,(g,ee)=>{var H=Xt(),d=u(H),h=u(d);T(h,{class:"h-3 w-20"}),c(d);var A=n(d,2);De(A,16,()=>[0,1,2],k=>k,(k,te)=>{var j=Vt(),de=u(j),re=u(de);T(re,{class:"h-4 flex-1"});var ce=n(re);T(ce,{class:"size-3 rounded-full"}),c(de);var t=n(de,2);T(t,{class:"h-3 w-full"});var o=n(t,2),w=u(o);T(w,{class:"size-4 rounded-sm"});var q=n(w);T(q,{class:"h-3 w-6"}),c(o),c(j),r(k,j)}),c(H),r(g,H)}),c(D),r(i,D)},_e=i=>{var D=Jt(),g=R(D);{var ee=d=>{var h=Qt(),A=u(h);T(A,{class:"h-3 w-20"}),c(h),r(d,h)};K(g,d=>{Z()&&d(ee)})}var H=n(g,2);De(H,16,()=>Array.from({length:F()},(d,h)=>h),d=>d,(d,h)=>{var A=Ut(),k=u(A);T(k,{class:"size-4 shrink-0 rounded-sm"});var te=n(k,2);T(te,{class:"h-4 min-w-0 flex-1"});var j=n(te,2);{var de=o=>{T(o,{class:"size-3 shrink-0 rounded-full"})},re=o=>{T(o,{class:"size-5 shrink-0 rounded-full"})};K(j,o=>{s()==="workspace"?o(de):s()==="integration"&&o(re,1)})}var ce=n(j,2);{var t=o=>{{let w=$(()=>s()==="workspace"?"h-3 w-8 shrink-0":"h-3 w-6 shrink-0");T(o,{get class(){return e(w)}})}};K(ce,o=>{s()!=="compact"&&o(t)})}c(A),x(()=>Ue(A,1,Je(s()==="compact"?"flex min-h-6 items-center gap-2 py-1":`flex h-12 items-center gap-3 border-b border-border ${s()==="integration"?"px-2":"px-3"}`))),r(d,A)}),r(i,D)};K(be,i=>{E()?i(le):Y()==="board"?i(Te,1):i(_e,-1)})}return c(ie),c(y),x(i=>{Me(y,"aria-label",i),Me(y,"data-reduced",J.current),Ue(ie,1,Je(E()?"space-y-6 py-3":s()==="compact"?"":"px-5 pb-4"))},[()=>z.home_integrations_loading()]),r(b,y),Ne(L)}function ct(b){return b.filter(Mt)}function Zt(){let b=null;return(l,J)=>{const E=b?l.find(Y=>Y.id===b):void 0;if(E)return E;const F=St(l);return b=J&&F?String(F.id):null,F}}function er(b,l,J){return l&&b.find(E=>E.id===l)||J}var tr=m('<div class="p-4"><!></div>'),rr=m('<div class="flex h-full min-h-0 min-w-0 flex-col" data-home-workspace-chat=""><!></div>');function vt(b,l){if(new.target)return Fe({component:vt,...b});Ge(l,!0);const J=()=>Ie(ie,"$agents$",F),E=()=>Ie(be,"$loaded$",F),[F,Y]=at();let Z=Q(l,"workspace",7),s=Q(l,"preview",7,!1),L=Q(l,"agent",7);const y=Oe(()=>Z().id),ie=lt(y),be=It(y),le=$(()=>ct(J())),Te=$(()=>s()?void 0:L()?.id);yt(()=>{const t=e(Te);if(!t)return;const o=Date.now();return()=>{Date.now()-o<zt||setTimeout(()=>xe.dispatch(Rt(t)),0)}});let _e=Be(void 0),i=0;function D(t,o){s()||!e(le).some(w=>w.id===t)||(Pe(_e,{agentId:t,questionMessageId:o,requestId:++i},!0),xe.dispatch(nt(y,t)),xe.dispatch(it(y,t)))}let g=Be(!1),ee;function H(){s()||(Pe(g,!1),clearTimeout(ee),xe.dispatch(Dt(y)),ee=setTimeout(()=>{Pe(g,!0)},15e3))}st(()=>(s()||H(),()=>clearTimeout(ee)));var d={focusAttention:D,get workspace(){return Z()},set workspace(t){Z(t),U()},get preview(){return s()},set preview(t=!1){s(t),U()},get agent(){return L()},set agent(t){L(t),U()},$set:je,$on:(t,o)=>qe(l,t,o)},h=rr(),A=u(h);{var k=t=>{Ze(t,{density:"compact",title:w=>{$e();var q=ke();x(ae=>B(q,ae),[()=>z.agentOverview_hierarchyGraph_noAgents_title()]),r(w,q)},$$slots:{title:!0}})},te=t=>{var o=fe(),w=R(o);ot(w,()=>L().id,q=>{{let ae=$(()=>e(_e)?.agentId===L().id?e(_e):void 0);Pt(q,{get workspace(){return Z()},get agentId(){return L().id},get agentName(){return L().name},autoFocus:!1,get attentionFocusRequest(){return e(ae)},isInitialWorkspaceAgent:!1})}}),r(t,o)},j=t=>{var o=tr(),w=u(o);dt(w,{detail:!0}),c(o),r(t,o)},de=t=>{{const o=q=>{$e();var ae=ke();x(ye=>B(ae,ye),[()=>z.home_detail_unavailable()]),r(q,ae)};let w=$(()=>z.home_retry());Tt(t,{density:"compact",get retryLabel(){return e(w)},onRetry:H,message:o,$$slots:{message:!0}})}},re=t=>{{const o=q=>{$e();var ae=ke();x(ye=>B(ae,ye),[()=>z.agentOverview_hierarchyGraph_noAgents_title()]),r(q,ae)};let w=$(()=>z.home_retry());Ze(t,{density:"compact",get actionLabel(){return e(w)},onAction:H,title:o,$$slots:{title:!0}})}};K(A,t=>{s()?t(k):L()?t(te,1):!E()&&!e(g)?t(j,2):E()?t(re,-1):t(de,3)})}c(h),x(()=>Me(h,"data-workspace-link-target",Z().id)),r(b,h);var ce=Ne(d);return Y(),ce}var ar=m('<span class="min-w-0 line-clamp-2 [overflow-wrap:anywhere]"> </span> <!>',1),tt=m("<!> <!>",1),sr=m('<div class="shrink-0"><!></div>'),or=m('<div><!> <span class="home-detail-repository-name truncate"> </span></div>'),rt=m("<!><!>",1),nr=m("<p> </p>"),ir=m('<!> <span class="min-w-0 truncate text-left"> </span> <!>',1),lr=m('<span class="flex min-w-0 items-center gap-2"><!> <span class="truncate"> </span></span>'),dr=m('<div class="shrink-0 min-w-0 px-1 py-2" data-home-agent-switcher=""><!></div>'),cr=m('<div class="flex items-center gap-2 px-4 py-2 type-caption text-muted-foreground" role="status"><p> </p> <!></div>'),vr=m('<section class="flex h-full min-h-0 min-w-0 flex-col" data-home-detail=""><header class="shrink-0 border-b border-border px-4 py-2"><div class="flex min-w-0 items-center gap-3"><h2 class="-ml-2 min-w-0 flex-1"><!></h2> <!></div> <!> <!></header> <!> <!> <div class="min-h-0 min-w-0 flex-1"><!></div></section>');function ur(b,l){if(new.target)return Fe({component:ur,...b});Ge(l,!0);const J=()=>Ie(_e,"$readRevision$",Y),E=()=>Ie(Te,"$agents$",Y),F=()=>Ie(D,"$pickedId$",Y),[Y,Z]=at();let s=Q(l,"workspace",7),L=Q(l,"onclose",7),y=Q(l,"preview",7,!1),ie=Q(l,"showBackToList",7,!0);const be=$(()=>s().title.trim()?s().title:z.workspace_links_untitled_label()),le=Oe(()=>s().id),Te=lt(le),_e=Et(le),i=Oe(()=>J()),D=Wt(le),g=$(()=>ct(E())),ee=Zt(),H=$(()=>ee(e(g),J()>i)),d=$(()=>er(e(g),F(),e(H)));function h(a){xe.dispatch(nt(le,a)),xe.dispatch(it(le,a))}const A=$(()=>[s().repositoryOwner,s().repositoryName].filter(Boolean).join("/")||s().repositoryPath);let k=Be(!1);async function te(){Pe(k,!1);try{await Ct(s().id),Pe(k,!Lt.select(xe.state,s().id))}catch{Pe(k,!0)}}st(()=>{y()||te()});function j(){Ot(s().id)}var de={get workspace(){return s()},set workspace(a){s(a),U()},get onclose(){return L()},set onclose(a){L(a),U()},get preview(){return y()},set preview(a=!1){y(a),U()},get showBackToList(){return ie()},set showBackToList(a=!0){ie(a),U()},$set:je,$on:(a,f)=>qe(l,a,f)},re=vr(),ce=u(re),t=u(ce),o=u(t),w=u(o);P(w,()=>Se,(a,f)=>{f(a,{children:(G,oe)=>{var N=fe(),W=R(N);P(W,()=>ze,(ve,M)=>{M(ve,{children:(V,ge)=>{var me=tt(),ne=R(me);{const C=(S,O)=>{let I=()=>(O?.()).props;{let v=$(()=>z.home_open_workspace());Ce(S,xt(I,{variant:"ghost",class:"type-title h-auto min-w-0 max-w-full shrink gap-2 justify-start whitespace-normal px-2 py-1 text-left font-medium leading-snug",wrapContent:!1,get"aria-label"(){return e(v)},onclick:j,children:(p,X)=>{var _=ar(),se=R(_),ue=Ae(se,!0),we=n(se,2);Le(we,{get icon(){return Bt},class:"shrink-0 text-muted-foreground",size:"sm"}),x(()=>B(ue,e(be))),r(p,_)},$$slots:{default:!0}}))}};P(ne,()=>He,(S,O)=>{O(S,{child:C,$$slots:{child:!0}})})}var he=n(ne,2);P(he,()=>We,(C,S)=>{S(C,{children:(O,I)=>{$e();var v=ke();x(()=>B(v,e(be))),r(O,v)},$$slots:{default:!0}})}),r(V,me)},$$slots:{default:!0}})}),r(G,N)},$$slots:{default:!0}})}),c(o);var q=n(o,2);{var ae=a=>{var f=sr(),G=u(f);{let oe=$(()=>z.home_close_preview()),N=$(()=>z.home_close_preview());Ce(G,{variant:"ghost",size:"icon-sm",get"aria-label"(){return e(oe)},get tooltip(){return e(N)},get onclick(){return L()},children:(W,ve)=>{Le(W,{get icon(){return Ft}})},$$slots:{default:!0}})}c(f),r(a,f)};K(q,a=>{ie()&&a(ae)})}c(t);var ye=n(t,2);{var ut=a=>{var f=fe(),G=R(f);P(G,()=>Se,(oe,N)=>{N(oe,{children:(W,ve)=>{var M=fe(),V=R(M);P(V,()=>ze,(ge,me)=>{me(ge,{children:(ne,he)=>{var C=rt(),S=R(C);{const I=(v,p)=>{let X=()=>(p?.()).props;var _=or();Ye(_,()=>({...X(),class:"mb-1 flex min-w-0 max-w-[min(100%,16rem)] items-center gap-1.5 type-caption text-muted-foreground","data-home-detail-repository":!0,"aria-label":e(A)}));var se=u(_);{var ue=pe=>{Ht(pe,{get identity(){return s().repositoryOwner},size:16,class:"shrink-0 rounded-sm"})},we=pe=>{Le(pe,{get icon(){return qt}})};K(se,pe=>{s().repositoryOwner?pe(ue):pe(we,-1)})}var Qe=n(se,2),Re=Ae(Qe,!0);c(_),x(()=>B(Re,e(A))),r(v,_)};P(S,()=>He,(v,p)=>{p(v,{child:I,$$slots:{child:!0}})})}var O=n(S);P(O,()=>We,(I,v)=>{v(I,{children:(p,X)=>{$e();var _=ke();x(()=>B(_,e(A))),r(p,_)},$$slots:{default:!0}})}),r(ne,C)},$$slots:{default:!0}})}),r(W,M)},$$slots:{default:!0}})}),r(a,f)};K(ye,a=>{e(A)&&a(ut)})}var pt=n(ye,2);{var mt=a=>{var f=fe(),G=R(f);P(G,()=>Se,(oe,N)=>{N(oe,{children:(W,ve)=>{var M=fe(),V=R(M);P(V,()=>ze,(ge,me)=>{me(ge,{children:(ne,he)=>{var C=rt(),S=R(C);{const I=(v,p)=>{let X=()=>(p?.()).props;var _=nr();Ye(_,()=>({...X(),class:"type-caption line-clamp-2 break-words leading-snug text-muted-foreground"}));var se=Ae(_,!0);x(()=>B(se,s().statusMessage)),r(v,_)};P(S,()=>He,(v,p)=>{p(v,{child:I,$$slots:{child:!0}})})}var O=n(S);P(O,()=>We,(I,v)=>{v(I,{children:(p,X)=>{$e();var _=ke();x(()=>B(_,s().statusMessage)),r(p,_)},$$slots:{default:!0}})}),r(ne,C)},$$slots:{default:!0}})}),r(W,M)},$$slots:{default:!0}})}),r(a,f)};K(pt,a=>{s().statusMessage&&a(mt)})}c(ce);var Ve=n(ce,2);{var ft=a=>{var f=dr(),G=u(f);{let oe=$(()=>e(d)?.id??"");P(G,()=>Ee.Root,(N,W)=>{W(N,{get value(){return e(oe)},onchange:ve=>{const M=e(g).find(V=>V.id===ve);M&&h(M.id)},children:(ve,M)=>{var V=tt(),ge=R(V);{let ne=$(()=>z.home_agents());P(ge,()=>Ee.Trigger,(he,C)=>{C(he,{variant:"ghost",class:"h-8 w-fit max-w-full justify-start",get"aria-label"(){return e(ne)},children:(S,O)=>{var I=ir(),v=R(I);{var p=ue=>{{let we=$(()=>e(d).metadata?.specialist??e(d).agentMetadata?.specialist);et(ue,{get agentId(){return e(d).id},get specialist(){return e(we)},variant:"emphasized"})}};K(v,ue=>{e(d)&&ue(p)})}var X=n(v,2),_=Ae(X,!0),se=n(X,2);Le(se,{get icon(){return jt},class:"shrink-0 text-muted-foreground"}),x(()=>B(_,e(d)?.name)),r(S,I)},$$slots:{default:!0}})})}var me=n(ge,2);P(me,()=>Ee.Content,(ne,he)=>{he(ne,{portal:!0,children:(C,S)=>{var O=fe(),I=R(O);De(I,17,()=>e(g),v=>v.id,(v,p)=>{var X=fe(),_=R(X);P(_,()=>Ee.Item,(se,ue)=>{ue(se,{get value(){return e(p).id},get label(){return e(p).name},children:(we,Qe)=>{var Re=lr(),pe=u(Re);{let kt=$(()=>e(p).metadata?.specialist??e(p).agentMetadata?.specialist);et(pe,{get agentId(){return e(p).id},get specialist(){return e(kt)},variant:"emphasized"})}var wt=n(pe,2),$t=Ae(wt,!0);c(Re),x(()=>B($t,e(p).name)),r(we,Re)},$$slots:{default:!0}})}),r(v,X)}),r(C,O)},$$slots:{default:!0}})}),r(ve,V)},$$slots:{default:!0}})})}c(f),r(a,f)};K(Ve,a=>{e(g).length&&a(ft)})}var Xe=n(Ve,2);{var _t=a=>{var f=cr(),G=u(f),oe=Ae(G,!0),N=n(G,2);Ce(N,{variant:"outline",size:"sm",onclick:te,children:(W,ve)=>{$e();var M=ke();x(V=>B(M,V),[()=>z.home_retry()]),r(W,M)},$$slots:{default:!0}}),c(f),x(W=>B(oe,W),[()=>z.home_detail_unavailable()]),r(a,f)};K(Xe,a=>{e(k)&&a(_t)})}var Ke=n(Xe,2),gt=u(Ke);ot(gt,()=>s().id,a=>{vt(a,{get workspace(){return s()},get preview(){return y()},get agent(){return e(d)}})}),c(Ke),c(re),x(a=>Me(re,"aria-label",a),[()=>z.home_workspace_details()]),r(b,re);var ht=Ne(de);return Z(),ht}export{dt as H,ur as a};
1
+ import{t as Fe,bo as Q,bm as z,bw as je,b as qe,bs as Ie,bq as at,br as xt}from"./AeC4KVgG.js";import{bs as Ge,bj as bt,a5 as u,bA as c,b_ as x,W as r,bn as Ne,aA as U,ay as R,bS as n,aD as e,aB as m,c9 as $,c5 as Oe,ca as yt,bk as st,bH as Pe,bV as Be,a7 as fe,be as $e,b$ as ke,bO as B,bl as Ae}from"./CJxGDkBm.js";import{i as K}from"./k2awEenT.js";import{k as ot}from"./HftJbvyF.js";import{g as De}from"./CswzK9Go.js";import{c as P}from"./ZcoUa9Jg.js";import{s as Me,f as Ue,c as Je,b as Ye}from"./DrHJ7oPv.js";import{P as Se,h as ze,i as He,g as We}from"./DbaZdUr0.js";import{S as T}from"./F1SvNoTt.js";import"./jhNNYE0v.js";import{w as At}from"./DZGQ9Nrs.js";import{C as Pt}from"./Pyx0yui4.js";import{E as Ze}from"./GX2qna_j.js";import{E as Tt}from"./TF9FVLD5.js";import"./BSnHR4nh.js";import{IX as xe,fp as Rt,EV as nt,Dl as it,pQ as Dt}from"./BkzMrEqG.js";import{aO as lt,aL as It,aM as Et,du as Lt}from"./BEyxbMng.js";import{d as Mt,r as St}from"./yAiwGS7g.js";import{M as zt}from"./DUCIVWu4.js";import{G as Ht}from"./BnY0sRro.js";import{A as et}from"./gJtrDJPm.js";import{M as Wt,e as Ct}from"./tm_HKw3E.js";import{o as Ot}from"./IF38I4hJ.js";import{f as Ce}from"./DJM6amHV.js";import{S as Ee}from"./BfeuGyqq.js";import{F as Le,a1 as Bt,d2 as Ft,av as jt,bm as qt}from"./Ci7mS1ie.js";var Gt=m('<div class="space-y-3"><!> <!></div>'),Nt=m('<div class="space-y-3"><!> <!></div> <!>',1),Vt=m('<div class="space-y-3 rounded-xl border border-border p-4 shadow-xs"><div class="flex items-center gap-3"><!><!></div> <!> <div class="flex items-center justify-between pt-1"><!><!></div></div>'),Xt=m('<div class="min-w-0 space-y-3"><div class="flex h-10 items-center px-2"><!></div> <!></div>'),Kt=m('<div class="grid grid-cols-[repeat(auto-fit,minmax(min(100%,10rem),1fr))] gap-3 px-1"></div>'),Qt=m('<div class="flex h-10 items-center px-3"><!></div>'),Ut=m("<div><!> <!> <!> <!></div>"),Jt=m("<!> <!>",1),Yt=m('<div role="status" class="min-h-0 min-w-0 flex-1 overflow-hidden svelte-kmeefs" data-home-loading=""><div aria-hidden="true"><!></div></div>');function dt(b,l){if(new.target)return Fe({component:dt,...b});Ge(l,!0);const J=At();bt(J.cleanup);let E=Q(l,"detail",7,!1),F=Q(l,"count",7,5),Y=Q(l,"view",7,"list"),Z=Q(l,"grouped",7,!1),s=Q(l,"rows",7,"workspace");var L={get detail(){return E()},set detail(i=!1){E(i),U()},get count(){return F()},set count(i=5){F(i),U()},get view(){return Y()},set view(i="list"){Y(i),U()},get grouped(){return Z()},set grouped(i=!1){Z(i),U()},get rows(){return s()},set rows(i="workspace"){s(i),U()},$set:je,$on:(i,D)=>qe(l,i,D)},y=Yt(),ie=u(y),be=u(ie);{var le=i=>{var D=Nt(),g=R(D),ee=u(g);T(ee,{class:"h-6 w-4/5"});var H=n(ee,2);T(H,{class:"h-4 w-1/2"}),c(g);var d=n(g,2);De(d,16,()=>[0,1],h=>h,(h,A)=>{var k=Gt(),te=u(k);T(te,{class:"h-3 w-full"});var j=n(te,2);T(j,{class:"h-3 w-5/6"}),c(k),r(h,k)}),r(i,D)},Te=i=>{var D=Kt();De(D,20,()=>[0,1,2],g=>g,(g,ee)=>{var H=Xt(),d=u(H),h=u(d);T(h,{class:"h-3 w-20"}),c(d);var A=n(d,2);De(A,16,()=>[0,1,2],k=>k,(k,te)=>{var j=Vt(),de=u(j),re=u(de);T(re,{class:"h-4 flex-1"});var ce=n(re);T(ce,{class:"size-3 rounded-full"}),c(de);var t=n(de,2);T(t,{class:"h-3 w-full"});var o=n(t,2),w=u(o);T(w,{class:"size-4 rounded-sm"});var q=n(w);T(q,{class:"h-3 w-6"}),c(o),c(j),r(k,j)}),c(H),r(g,H)}),c(D),r(i,D)},_e=i=>{var D=Jt(),g=R(D);{var ee=d=>{var h=Qt(),A=u(h);T(A,{class:"h-3 w-20"}),c(h),r(d,h)};K(g,d=>{Z()&&d(ee)})}var H=n(g,2);De(H,16,()=>Array.from({length:F()},(d,h)=>h),d=>d,(d,h)=>{var A=Ut(),k=u(A);T(k,{class:"size-4 shrink-0 rounded-sm"});var te=n(k,2);T(te,{class:"h-4 min-w-0 flex-1"});var j=n(te,2);{var de=o=>{T(o,{class:"size-3 shrink-0 rounded-full"})},re=o=>{T(o,{class:"size-5 shrink-0 rounded-full"})};K(j,o=>{s()==="workspace"?o(de):s()==="integration"&&o(re,1)})}var ce=n(j,2);{var t=o=>{{let w=$(()=>s()==="workspace"?"h-3 w-8 shrink-0":"h-3 w-6 shrink-0");T(o,{get class(){return e(w)}})}};K(ce,o=>{s()!=="compact"&&o(t)})}c(A),x(()=>Ue(A,1,Je(s()==="compact"?"flex min-h-6 items-center gap-2 py-1":`flex h-12 items-center gap-3 border-b border-border ${s()==="integration"?"px-2":"px-3"}`))),r(d,A)}),r(i,D)};K(be,i=>{E()?i(le):Y()==="board"?i(Te,1):i(_e,-1)})}return c(ie),c(y),x(i=>{Me(y,"aria-label",i),Me(y,"data-reduced",J.current),Ue(ie,1,Je(E()?"space-y-6 py-3":s()==="compact"?"":"px-5 pb-4"))},[()=>z.home_integrations_loading()]),r(b,y),Ne(L)}function ct(b){return b.filter(Mt)}function Zt(){let b=null;return(l,J)=>{const E=b?l.find(Y=>Y.id===b):void 0;if(E)return E;const F=St(l);return b=J&&F?String(F.id):null,F}}function er(b,l,J){return l&&b.find(E=>E.id===l)||J}var tr=m('<div class="p-4"><!></div>'),rr=m('<div class="flex h-full min-h-0 min-w-0 flex-col" data-home-workspace-chat=""><!></div>');function vt(b,l){if(new.target)return Fe({component:vt,...b});Ge(l,!0);const J=()=>Ie(ie,"$agents$",F),E=()=>Ie(be,"$loaded$",F),[F,Y]=at();let Z=Q(l,"workspace",7),s=Q(l,"preview",7,!1),L=Q(l,"agent",7);const y=Oe(()=>Z().id),ie=lt(y),be=It(y),le=$(()=>ct(J())),Te=$(()=>s()?void 0:L()?.id);yt(()=>{const t=e(Te);if(!t)return;const o=Date.now();return()=>{Date.now()-o<zt||setTimeout(()=>xe.dispatch(Rt(t)),0)}});let _e=Be(void 0),i=0;function D(t,o){s()||!e(le).some(w=>w.id===t)||(Pe(_e,{agentId:t,questionMessageId:o,requestId:++i},!0),xe.dispatch(nt(y,t)),xe.dispatch(it(y,t)))}let g=Be(!1),ee;function H(){s()||(Pe(g,!1),clearTimeout(ee),xe.dispatch(Dt(y)),ee=setTimeout(()=>{Pe(g,!0)},15e3))}st(()=>(s()||H(),()=>clearTimeout(ee)));var d={focusAttention:D,get workspace(){return Z()},set workspace(t){Z(t),U()},get preview(){return s()},set preview(t=!1){s(t),U()},get agent(){return L()},set agent(t){L(t),U()},$set:je,$on:(t,o)=>qe(l,t,o)},h=rr(),A=u(h);{var k=t=>{Ze(t,{density:"compact",title:w=>{$e();var q=ke();x(ae=>B(q,ae),[()=>z.agentOverview_hierarchyGraph_noAgents_title()]),r(w,q)},$$slots:{title:!0}})},te=t=>{var o=fe(),w=R(o);ot(w,()=>L().id,q=>{{let ae=$(()=>e(_e)?.agentId===L().id?e(_e):void 0);Pt(q,{get workspace(){return Z()},get agentId(){return L().id},get agentName(){return L().name},autoFocus:!1,get attentionFocusRequest(){return e(ae)},isInitialWorkspaceAgent:!1})}}),r(t,o)},j=t=>{var o=tr(),w=u(o);dt(w,{detail:!0}),c(o),r(t,o)},de=t=>{{const o=q=>{$e();var ae=ke();x(ye=>B(ae,ye),[()=>z.home_detail_unavailable()]),r(q,ae)};let w=$(()=>z.home_retry());Tt(t,{density:"compact",get retryLabel(){return e(w)},onRetry:H,message:o,$$slots:{message:!0}})}},re=t=>{{const o=q=>{$e();var ae=ke();x(ye=>B(ae,ye),[()=>z.agentOverview_hierarchyGraph_noAgents_title()]),r(q,ae)};let w=$(()=>z.home_retry());Ze(t,{density:"compact",get actionLabel(){return e(w)},onAction:H,title:o,$$slots:{title:!0}})}};K(A,t=>{s()?t(k):L()?t(te,1):!E()&&!e(g)?t(j,2):E()?t(re,-1):t(de,3)})}c(h),x(()=>Me(h,"data-workspace-link-target",Z().id)),r(b,h);var ce=Ne(d);return Y(),ce}var ar=m('<span class="min-w-0 line-clamp-2 [overflow-wrap:anywhere]"> </span> <!>',1),tt=m("<!> <!>",1),sr=m('<div class="shrink-0"><!></div>'),or=m('<div><!> <span class="home-detail-repository-name truncate"> </span></div>'),rt=m("<!><!>",1),nr=m("<p> </p>"),ir=m('<!> <span class="min-w-0 truncate text-left"> </span> <!>',1),lr=m('<span class="flex min-w-0 items-center gap-2"><!> <span class="truncate"> </span></span>'),dr=m('<div class="shrink-0 min-w-0 px-1 py-2" data-home-agent-switcher=""><!></div>'),cr=m('<div class="flex items-center gap-2 px-4 py-2 type-caption text-muted-foreground" role="status"><p> </p> <!></div>'),vr=m('<section class="flex h-full min-h-0 min-w-0 flex-col" data-home-detail=""><header class="shrink-0 border-b border-border px-4 py-2"><div class="flex min-w-0 items-center gap-3"><h2 class="-ml-2 min-w-0 flex-1"><!></h2> <!></div> <!> <!></header> <!> <!> <div class="min-h-0 min-w-0 flex-1"><!></div></section>');function ur(b,l){if(new.target)return Fe({component:ur,...b});Ge(l,!0);const J=()=>Ie(_e,"$readRevision$",Y),E=()=>Ie(Te,"$agents$",Y),F=()=>Ie(D,"$pickedId$",Y),[Y,Z]=at();let s=Q(l,"workspace",7),L=Q(l,"onclose",7),y=Q(l,"preview",7,!1),ie=Q(l,"showBackToList",7,!0);const be=$(()=>s().title.trim()?s().title:z.workspace_links_untitled_label()),le=Oe(()=>s().id),Te=lt(le),_e=Et(le),i=Oe(()=>J()),D=Wt(le),g=$(()=>ct(E())),ee=Zt(),H=$(()=>ee(e(g),J()>i)),d=$(()=>er(e(g),F(),e(H)));function h(a){xe.dispatch(nt(le,a)),xe.dispatch(it(le,a))}const A=$(()=>[s().repositoryOwner,s().repositoryName].filter(Boolean).join("/")||s().repositoryPath);let k=Be(!1);async function te(){Pe(k,!1);try{await Ct(s().id),Pe(k,!Lt.select(xe.state,s().id))}catch{Pe(k,!0)}}st(()=>{y()||te()});function j(){Ot(s().id)}var de={get workspace(){return s()},set workspace(a){s(a),U()},get onclose(){return L()},set onclose(a){L(a),U()},get preview(){return y()},set preview(a=!1){y(a),U()},get showBackToList(){return ie()},set showBackToList(a=!0){ie(a),U()},$set:je,$on:(a,f)=>qe(l,a,f)},re=vr(),ce=u(re),t=u(ce),o=u(t),w=u(o);P(w,()=>Se,(a,f)=>{f(a,{children:(G,oe)=>{var N=fe(),W=R(N);P(W,()=>ze,(ve,M)=>{M(ve,{children:(V,ge)=>{var me=tt(),ne=R(me);{const C=(S,O)=>{let I=()=>(O?.()).props;{let v=$(()=>z.home_open_workspace());Ce(S,xt(I,{variant:"ghost",class:"type-title h-auto min-w-0 max-w-full shrink gap-2 justify-start whitespace-normal px-2 py-1 text-left font-medium leading-snug",wrapContent:!1,get"aria-label"(){return e(v)},onclick:j,children:(p,X)=>{var _=ar(),se=R(_),ue=Ae(se,!0),we=n(se,2);Le(we,{get icon(){return Bt},class:"shrink-0 text-muted-foreground",size:"sm"}),x(()=>B(ue,e(be))),r(p,_)},$$slots:{default:!0}}))}};P(ne,()=>He,(S,O)=>{O(S,{child:C,$$slots:{child:!0}})})}var he=n(ne,2);P(he,()=>We,(C,S)=>{S(C,{children:(O,I)=>{$e();var v=ke();x(()=>B(v,e(be))),r(O,v)},$$slots:{default:!0}})}),r(V,me)},$$slots:{default:!0}})}),r(G,N)},$$slots:{default:!0}})}),c(o);var q=n(o,2);{var ae=a=>{var f=sr(),G=u(f);{let oe=$(()=>z.home_close_preview()),N=$(()=>z.home_close_preview());Ce(G,{variant:"ghost",size:"icon-sm",get"aria-label"(){return e(oe)},get tooltip(){return e(N)},get onclick(){return L()},children:(W,ve)=>{Le(W,{get icon(){return Ft}})},$$slots:{default:!0}})}c(f),r(a,f)};K(q,a=>{ie()&&a(ae)})}c(t);var ye=n(t,2);{var ut=a=>{var f=fe(),G=R(f);P(G,()=>Se,(oe,N)=>{N(oe,{children:(W,ve)=>{var M=fe(),V=R(M);P(V,()=>ze,(ge,me)=>{me(ge,{children:(ne,he)=>{var C=rt(),S=R(C);{const I=(v,p)=>{let X=()=>(p?.()).props;var _=or();Ye(_,()=>({...X(),class:"mb-1 flex min-w-0 max-w-[min(100%,16rem)] items-center gap-1.5 type-caption text-muted-foreground","data-home-detail-repository":!0,"aria-label":e(A)}));var se=u(_);{var ue=pe=>{Ht(pe,{get identity(){return s().repositoryOwner},size:16,class:"shrink-0 rounded-sm"})},we=pe=>{Le(pe,{get icon(){return qt}})};K(se,pe=>{s().repositoryOwner?pe(ue):pe(we,-1)})}var Qe=n(se,2),Re=Ae(Qe,!0);c(_),x(()=>B(Re,e(A))),r(v,_)};P(S,()=>He,(v,p)=>{p(v,{child:I,$$slots:{child:!0}})})}var O=n(S);P(O,()=>We,(I,v)=>{v(I,{children:(p,X)=>{$e();var _=ke();x(()=>B(_,e(A))),r(p,_)},$$slots:{default:!0}})}),r(ne,C)},$$slots:{default:!0}})}),r(W,M)},$$slots:{default:!0}})}),r(a,f)};K(ye,a=>{e(A)&&a(ut)})}var pt=n(ye,2);{var mt=a=>{var f=fe(),G=R(f);P(G,()=>Se,(oe,N)=>{N(oe,{children:(W,ve)=>{var M=fe(),V=R(M);P(V,()=>ze,(ge,me)=>{me(ge,{children:(ne,he)=>{var C=rt(),S=R(C);{const I=(v,p)=>{let X=()=>(p?.()).props;var _=nr();Ye(_,()=>({...X(),class:"type-caption line-clamp-2 break-words leading-snug text-muted-foreground"}));var se=Ae(_,!0);x(()=>B(se,s().statusMessage)),r(v,_)};P(S,()=>He,(v,p)=>{p(v,{child:I,$$slots:{child:!0}})})}var O=n(S);P(O,()=>We,(I,v)=>{v(I,{children:(p,X)=>{$e();var _=ke();x(()=>B(_,s().statusMessage)),r(p,_)},$$slots:{default:!0}})}),r(ne,C)},$$slots:{default:!0}})}),r(W,M)},$$slots:{default:!0}})}),r(a,f)};K(pt,a=>{s().statusMessage&&a(mt)})}c(ce);var Ve=n(ce,2);{var ft=a=>{var f=dr(),G=u(f);{let oe=$(()=>e(d)?.id??"");P(G,()=>Ee.Root,(N,W)=>{W(N,{get value(){return e(oe)},onchange:ve=>{const M=e(g).find(V=>V.id===ve);M&&h(M.id)},children:(ve,M)=>{var V=tt(),ge=R(V);{let ne=$(()=>z.home_agents());P(ge,()=>Ee.Trigger,(he,C)=>{C(he,{variant:"ghost",class:"h-8 w-fit max-w-full justify-start",get"aria-label"(){return e(ne)},children:(S,O)=>{var I=ir(),v=R(I);{var p=ue=>{{let we=$(()=>e(d).metadata?.specialist??e(d).agentMetadata?.specialist);et(ue,{get agentId(){return e(d).id},get specialist(){return e(we)},variant:"emphasized"})}};K(v,ue=>{e(d)&&ue(p)})}var X=n(v,2),_=Ae(X,!0),se=n(X,2);Le(se,{get icon(){return jt},class:"shrink-0 text-muted-foreground"}),x(()=>B(_,e(d)?.name)),r(S,I)},$$slots:{default:!0}})})}var me=n(ge,2);P(me,()=>Ee.Content,(ne,he)=>{he(ne,{portal:!0,children:(C,S)=>{var O=fe(),I=R(O);De(I,17,()=>e(g),v=>v.id,(v,p)=>{var X=fe(),_=R(X);P(_,()=>Ee.Item,(se,ue)=>{ue(se,{get value(){return e(p).id},get label(){return e(p).name},children:(we,Qe)=>{var Re=lr(),pe=u(Re);{let kt=$(()=>e(p).metadata?.specialist??e(p).agentMetadata?.specialist);et(pe,{get agentId(){return e(p).id},get specialist(){return e(kt)},variant:"emphasized"})}var wt=n(pe,2),$t=Ae(wt,!0);c(Re),x(()=>B($t,e(p).name)),r(we,Re)},$$slots:{default:!0}})}),r(v,X)}),r(C,O)},$$slots:{default:!0}})}),r(ve,V)},$$slots:{default:!0}})})}c(f),r(a,f)};K(Ve,a=>{e(g).length&&a(ft)})}var Xe=n(Ve,2);{var _t=a=>{var f=cr(),G=u(f),oe=Ae(G,!0),N=n(G,2);Ce(N,{variant:"outline",size:"sm",onclick:te,children:(W,ve)=>{$e();var M=ke();x(V=>B(M,V),[()=>z.home_retry()]),r(W,M)},$$slots:{default:!0}}),c(f),x(W=>B(oe,W),[()=>z.home_detail_unavailable()]),r(a,f)};K(Xe,a=>{e(k)&&a(_t)})}var Ke=n(Xe,2),gt=u(Ke);ot(gt,()=>s().id,a=>{vt(a,{get workspace(){return s()},get preview(){return y()},get agent(){return e(d)}})}),c(Ke),c(re),x(a=>Me(re,"aria-label",a),[()=>z.home_workspace_details()]),r(b,re);var ht=Ne(de);return Z(),ht}export{dt as H,ur as a};
@@ -1,4 +1,4 @@
1
- import{g as ze}from"./KnX_02Jn.js";import{s as Xe}from"./Bz8fykGF.js";import{b as m,W as Be,a_ as Je,V as Ze,aZ as et,U as tt,b0 as st,Y as it,X as Ne,ay as qe,r as rt,am as nt,aU as at,ab as lt,aG as ct,_ as ot,a1 as ht,aP as ut,bh as ft}from"./CTNuszHC.js";var Ce=(function(){var e=m(function($,i,n,o){for(n=n||{},o=$.length;o--;n[$[o]]=i);return n},"o"),r=[1,3],u=[1,4],h=[1,5],f=[1,6],a=[5,6,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,77,89,90],c=[1,22],S=[2,7],d=[1,26],_=[1,27],b=[1,28],q=[1,29],C=[1,33],A=[1,34],V=[1,35],v=[1,36],L=[1,37],x=[1,38],w=[1,24],D=[1,31],O=[1,32],M=[1,30],R=[1,39],g=[1,40],p=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,77,89,90],P=[1,61],X=[89,90],Ae=[5,8,9,11,13,21,22,23,24,27,29,41,42,43,44,45,46,54,61,63,72,74,75,76,77,80,81,82,83,84,85,86,87,88,89,90],Ee=[27,29],Ve=[1,70],ve=[1,71],Le=[1,72],xe=[1,73],we=[1,74],De=[1,75],Oe=[1,76],ee=[1,83],U=[1,80],te=[1,84],se=[1,85],ie=[1,86],re=[1,87],ne=[1,88],ae=[1,89],le=[1,90],ce=[1,91],oe=[1,92],pe=[5,8,9,11,13,21,22,23,24,27,41,42,43,44,45,46,54,72,74,75,76,77,80,81,82,83,84,85,86,87,88,89,90],Y=[63,64],Me=[1,101],Fe=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,76,77,89,90],T=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,75,76,77,80,81,82,83,84,85,86,87,88,89,90],B=[1,110],Q=[1,106],H=[1,107],K=[1,108],W=[1,109],j=[1,111],he=[1,116],ue=[1,117],fe=[1,114],me=[1,115],Se={trace:m(function(){},"trace"),yy:{},symbols_:{error:2,start:3,directive:4,NEWLINE:5,RD:6,diagram:7,EOF:8,acc_title:9,acc_title_value:10,acc_descr:11,acc_descr_value:12,acc_descr_multiline_value:13,requirementDef:14,elementDef:15,relationshipDef:16,direction:17,styleStatement:18,classDefStatement:19,classStatement:20,direction_tb:21,direction_bt:22,direction_rl:23,direction_lr:24,requirementType:25,requirementName:26,STRUCT_START:27,requirementBody:28,STYLE_SEPARATOR:29,idList:30,ID:31,COLONSEP:32,id:33,TEXT:34,text:35,RISK:36,riskLevel:37,VERIFYMTHD:38,verifyType:39,STRUCT_STOP:40,REQUIREMENT:41,FUNCTIONAL_REQUIREMENT:42,INTERFACE_REQUIREMENT:43,PERFORMANCE_REQUIREMENT:44,PHYSICAL_REQUIREMENT:45,DESIGN_CONSTRAINT:46,LOW_RISK:47,MED_RISK:48,HIGH_RISK:49,VERIFY_ANALYSIS:50,VERIFY_DEMONSTRATION:51,VERIFY_INSPECTION:52,VERIFY_TEST:53,ELEMENT:54,elementName:55,elementBody:56,TYPE:57,type:58,DOCREF:59,ref:60,END_ARROW_L:61,relationship:62,LINE:63,END_ARROW_R:64,CONTAINS:65,COPIES:66,DERIVES:67,SATISFIES:68,VERIFIES:69,REFINES:70,TRACES:71,CLASSDEF:72,stylesOpt:73,CLASS:74,ALPHA:75,COMMA:76,STYLE:77,style:78,styleComponent:79,NUM:80,COLON:81,UNIT:82,SPACE:83,BRKT:84,PCT:85,MINUS:86,LABEL:87,SEMICOLON:88,unqString:89,qString:90,$accept:0,$end:1},terminals_:{2:"error",5:"NEWLINE",6:"RD",8:"EOF",9:"acc_title",10:"acc_title_value",11:"acc_descr",12:"acc_descr_value",13:"acc_descr_multiline_value",21:"direction_tb",22:"direction_bt",23:"direction_rl",24:"direction_lr",27:"STRUCT_START",29:"STYLE_SEPARATOR",31:"ID",32:"COLONSEP",34:"TEXT",36:"RISK",38:"VERIFYMTHD",40:"STRUCT_STOP",41:"REQUIREMENT",42:"FUNCTIONAL_REQUIREMENT",43:"INTERFACE_REQUIREMENT",44:"PERFORMANCE_REQUIREMENT",45:"PHYSICAL_REQUIREMENT",46:"DESIGN_CONSTRAINT",47:"LOW_RISK",48:"MED_RISK",49:"HIGH_RISK",50:"VERIFY_ANALYSIS",51:"VERIFY_DEMONSTRATION",52:"VERIFY_INSPECTION",53:"VERIFY_TEST",54:"ELEMENT",57:"TYPE",59:"DOCREF",61:"END_ARROW_L",63:"LINE",64:"END_ARROW_R",65:"CONTAINS",66:"COPIES",67:"DERIVES",68:"SATISFIES",69:"VERIFIES",70:"REFINES",71:"TRACES",72:"CLASSDEF",74:"CLASS",75:"ALPHA",76:"COMMA",77:"STYLE",80:"NUM",81:"COLON",82:"UNIT",83:"SPACE",84:"BRKT",85:"PCT",86:"MINUS",87:"LABEL",88:"SEMICOLON",89:"unqString",90:"qString"},productions_:[0,[3,3],[3,2],[3,4],[4,2],[4,2],[4,1],[7,0],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[17,1],[17,1],[17,1],[17,1],[14,5],[14,7],[28,5],[28,5],[28,5],[28,5],[28,2],[28,1],[25,1],[25,1],[25,1],[25,1],[25,1],[25,1],[37,1],[37,1],[37,1],[39,1],[39,1],[39,1],[39,1],[15,5],[15,7],[56,5],[56,5],[56,2],[56,1],[16,5],[16,5],[62,1],[62,1],[62,1],[62,1],[62,1],[62,1],[62,1],[19,3],[20,3],[20,3],[30,1],[30,3],[30,1],[30,3],[18,3],[73,1],[73,3],[78,1],[78,2],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[26,1],[26,1],[33,1],[33,1],[35,1],[35,1],[55,1],[55,1],[58,1],[58,1],[60,1],[60,1]],performAction:m(function(i,n,o,s,E,t,de){var l=t.length-1;switch(E){case 4:this.$=t[l].trim(),s.setAccTitle(this.$);break;case 5:case 6:this.$=t[l].trim(),s.setAccDescription(this.$);break;case 7:this.$=[];break;case 17:s.setDirection("TB");break;case 18:s.setDirection("BT");break;case 19:s.setDirection("RL");break;case 20:s.setDirection("LR");break;case 21:s.addRequirement(t[l-3],t[l-4]);break;case 22:s.addRequirement(t[l-5],t[l-6]),s.setClass([t[l-5]],t[l-3]);break;case 23:s.setNewReqId(t[l-2]);break;case 24:s.setNewReqText(t[l-2]);break;case 25:s.setNewReqRisk(t[l-2]);break;case 26:s.setNewReqVerifyMethod(t[l-2]);break;case 29:this.$=s.RequirementType.REQUIREMENT;break;case 30:this.$=s.RequirementType.FUNCTIONAL_REQUIREMENT;break;case 31:this.$=s.RequirementType.INTERFACE_REQUIREMENT;break;case 32:this.$=s.RequirementType.PERFORMANCE_REQUIREMENT;break;case 33:this.$=s.RequirementType.PHYSICAL_REQUIREMENT;break;case 34:this.$=s.RequirementType.DESIGN_CONSTRAINT;break;case 35:this.$=s.RiskLevel.LOW_RISK;break;case 36:this.$=s.RiskLevel.MED_RISK;break;case 37:this.$=s.RiskLevel.HIGH_RISK;break;case 38:this.$=s.VerifyType.VERIFY_ANALYSIS;break;case 39:this.$=s.VerifyType.VERIFY_DEMONSTRATION;break;case 40:this.$=s.VerifyType.VERIFY_INSPECTION;break;case 41:this.$=s.VerifyType.VERIFY_TEST;break;case 42:s.addElement(t[l-3]);break;case 43:s.addElement(t[l-5]),s.setClass([t[l-5]],t[l-3]);break;case 44:s.setNewElementType(t[l-2]);break;case 45:s.setNewElementDocRef(t[l-2]);break;case 48:s.addRelationship(t[l-2],t[l],t[l-4]);break;case 49:s.addRelationship(t[l-2],t[l-4],t[l]);break;case 50:this.$=s.Relationships.CONTAINS;break;case 51:this.$=s.Relationships.COPIES;break;case 52:this.$=s.Relationships.DERIVES;break;case 53:this.$=s.Relationships.SATISFIES;break;case 54:this.$=s.Relationships.VERIFIES;break;case 55:this.$=s.Relationships.REFINES;break;case 56:this.$=s.Relationships.TRACES;break;case 57:this.$=t[l-2],s.defineClass(t[l-1],t[l]);break;case 58:s.setClass(t[l-1],t[l]);break;case 59:s.setClass([t[l-2]],t[l]);break;case 60:case 62:this.$=[t[l]];break;case 61:case 63:this.$=t[l-2].concat([t[l]]);break;case 64:this.$=t[l-2],s.setCssStyle(t[l-1],t[l]);break;case 65:this.$=[t[l]];break;case 66:t[l-2].push(t[l]),this.$=t[l-2];break;case 68:this.$=t[l-1]+t[l];break}},"anonymous"),table:[{3:1,4:2,6:r,9:u,11:h,13:f},{1:[3]},{3:8,4:2,5:[1,7],6:r,9:u,11:h,13:f},{5:[1,9]},{10:[1,10]},{12:[1,11]},e(a,[2,6]),{3:12,4:2,6:r,9:u,11:h,13:f},{1:[2,2]},{4:17,5:c,7:13,8:S,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:d,22:_,23:b,24:q,25:23,33:25,41:C,42:A,43:V,44:v,45:L,46:x,54:w,72:D,74:O,77:M,89:R,90:g},e(a,[2,4]),e(a,[2,5]),{1:[2,1]},{8:[1,41]},{4:17,5:c,7:42,8:S,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:d,22:_,23:b,24:q,25:23,33:25,41:C,42:A,43:V,44:v,45:L,46:x,54:w,72:D,74:O,77:M,89:R,90:g},{4:17,5:c,7:43,8:S,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:d,22:_,23:b,24:q,25:23,33:25,41:C,42:A,43:V,44:v,45:L,46:x,54:w,72:D,74:O,77:M,89:R,90:g},{4:17,5:c,7:44,8:S,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:d,22:_,23:b,24:q,25:23,33:25,41:C,42:A,43:V,44:v,45:L,46:x,54:w,72:D,74:O,77:M,89:R,90:g},{4:17,5:c,7:45,8:S,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:d,22:_,23:b,24:q,25:23,33:25,41:C,42:A,43:V,44:v,45:L,46:x,54:w,72:D,74:O,77:M,89:R,90:g},{4:17,5:c,7:46,8:S,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:d,22:_,23:b,24:q,25:23,33:25,41:C,42:A,43:V,44:v,45:L,46:x,54:w,72:D,74:O,77:M,89:R,90:g},{4:17,5:c,7:47,8:S,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:d,22:_,23:b,24:q,25:23,33:25,41:C,42:A,43:V,44:v,45:L,46:x,54:w,72:D,74:O,77:M,89:R,90:g},{4:17,5:c,7:48,8:S,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:d,22:_,23:b,24:q,25:23,33:25,41:C,42:A,43:V,44:v,45:L,46:x,54:w,72:D,74:O,77:M,89:R,90:g},{4:17,5:c,7:49,8:S,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:d,22:_,23:b,24:q,25:23,33:25,41:C,42:A,43:V,44:v,45:L,46:x,54:w,72:D,74:O,77:M,89:R,90:g},{4:17,5:c,7:50,8:S,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:d,22:_,23:b,24:q,25:23,33:25,41:C,42:A,43:V,44:v,45:L,46:x,54:w,72:D,74:O,77:M,89:R,90:g},{26:51,89:[1,52],90:[1,53]},{55:54,89:[1,55],90:[1,56]},{29:[1,59],61:[1,57],63:[1,58]},e(p,[2,17]),e(p,[2,18]),e(p,[2,19]),e(p,[2,20]),{30:60,33:62,75:P,89:R,90:g},{30:63,33:62,75:P,89:R,90:g},{30:64,33:62,75:P,89:R,90:g},e(X,[2,29]),e(X,[2,30]),e(X,[2,31]),e(X,[2,32]),e(X,[2,33]),e(X,[2,34]),e(Ae,[2,81]),e(Ae,[2,82]),{1:[2,3]},{8:[2,8]},{8:[2,9]},{8:[2,10]},{8:[2,11]},{8:[2,12]},{8:[2,13]},{8:[2,14]},{8:[2,15]},{8:[2,16]},{27:[1,65],29:[1,66]},e(Ee,[2,79]),e(Ee,[2,80]),{27:[1,67],29:[1,68]},e(Ee,[2,85]),e(Ee,[2,86]),{62:69,65:Ve,66:ve,67:Le,68:xe,69:we,70:De,71:Oe},{62:77,65:Ve,66:ve,67:Le,68:xe,69:we,70:De,71:Oe},{30:78,33:62,75:P,89:R,90:g},{73:79,75:ee,76:U,78:81,79:82,80:te,81:se,82:ie,83:re,84:ne,85:ae,86:le,87:ce,88:oe},e(pe,[2,60]),e(pe,[2,62]),{73:93,75:ee,76:U,78:81,79:82,80:te,81:se,82:ie,83:re,84:ne,85:ae,86:le,87:ce,88:oe},{30:94,33:62,75:P,76:U,89:R,90:g},{5:[1,95]},{30:96,33:62,75:P,89:R,90:g},{5:[1,97]},{30:98,33:62,75:P,89:R,90:g},{63:[1,99]},e(Y,[2,50]),e(Y,[2,51]),e(Y,[2,52]),e(Y,[2,53]),e(Y,[2,54]),e(Y,[2,55]),e(Y,[2,56]),{64:[1,100]},e(p,[2,59],{76:U}),e(p,[2,64],{76:Me}),{33:103,75:[1,102],89:R,90:g},e(Fe,[2,65],{79:104,75:ee,80:te,81:se,82:ie,83:re,84:ne,85:ae,86:le,87:ce,88:oe}),e(T,[2,67]),e(T,[2,69]),e(T,[2,70]),e(T,[2,71]),e(T,[2,72]),e(T,[2,73]),e(T,[2,74]),e(T,[2,75]),e(T,[2,76]),e(T,[2,77]),e(T,[2,78]),e(p,[2,57],{76:Me}),e(p,[2,58],{76:U}),{5:B,28:105,31:Q,34:H,36:K,38:W,40:j},{27:[1,112],76:U},{5:he,40:ue,56:113,57:fe,59:me},{27:[1,118],76:U},{33:119,89:R,90:g},{33:120,89:R,90:g},{75:ee,78:121,79:82,80:te,81:se,82:ie,83:re,84:ne,85:ae,86:le,87:ce,88:oe},e(pe,[2,61]),e(pe,[2,63]),e(T,[2,68]),e(p,[2,21]),{32:[1,122]},{32:[1,123]},{32:[1,124]},{32:[1,125]},{5:B,28:126,31:Q,34:H,36:K,38:W,40:j},e(p,[2,28]),{5:[1,127]},e(p,[2,42]),{32:[1,128]},{32:[1,129]},{5:he,40:ue,56:130,57:fe,59:me},e(p,[2,47]),{5:[1,131]},e(p,[2,48]),e(p,[2,49]),e(Fe,[2,66],{79:104,75:ee,80:te,81:se,82:ie,83:re,84:ne,85:ae,86:le,87:ce,88:oe}),{33:132,89:R,90:g},{35:133,89:[1,134],90:[1,135]},{37:136,47:[1,137],48:[1,138],49:[1,139]},{39:140,50:[1,141],51:[1,142],52:[1,143],53:[1,144]},e(p,[2,27]),{5:B,28:145,31:Q,34:H,36:K,38:W,40:j},{58:146,89:[1,147],90:[1,148]},{60:149,89:[1,150],90:[1,151]},e(p,[2,46]),{5:he,40:ue,56:152,57:fe,59:me},{5:[1,153]},{5:[1,154]},{5:[2,83]},{5:[2,84]},{5:[1,155]},{5:[2,35]},{5:[2,36]},{5:[2,37]},{5:[1,156]},{5:[2,38]},{5:[2,39]},{5:[2,40]},{5:[2,41]},e(p,[2,22]),{5:[1,157]},{5:[2,87]},{5:[2,88]},{5:[1,158]},{5:[2,89]},{5:[2,90]},e(p,[2,43]),{5:B,28:159,31:Q,34:H,36:K,38:W,40:j},{5:B,28:160,31:Q,34:H,36:K,38:W,40:j},{5:B,28:161,31:Q,34:H,36:K,38:W,40:j},{5:B,28:162,31:Q,34:H,36:K,38:W,40:j},{5:he,40:ue,56:163,57:fe,59:me},{5:he,40:ue,56:164,57:fe,59:me},e(p,[2,23]),e(p,[2,24]),e(p,[2,25]),e(p,[2,26]),e(p,[2,44]),e(p,[2,45])],defaultActions:{8:[2,2],12:[2,1],41:[2,3],42:[2,8],43:[2,9],44:[2,10],45:[2,11],46:[2,12],47:[2,13],48:[2,14],49:[2,15],50:[2,16],134:[2,83],135:[2,84],137:[2,35],138:[2,36],139:[2,37],141:[2,38],142:[2,39],143:[2,40],144:[2,41],147:[2,87],148:[2,88],150:[2,89],151:[2,90]},parseError:m(function(i,n){if(n.recoverable)this.trace(i);else{var o=new Error(i);throw o.hash=n,o}},"parseError"),parse:m(function(i){var n=this,o=[0],s=[],E=[null],t=[],de=this.table,l="",ge=0,$e=0,Ke=2,Pe=1,We=t.slice.call(arguments,1),y=Object.create(this.lexer),G={yy:{}};for(var be in this.yy)Object.prototype.hasOwnProperty.call(this.yy,be)&&(G.yy[be]=this.yy[be]);y.setInput(i,G.yy),G.yy.lexer=y,G.yy.parser=this,typeof y.yylloc>"u"&&(y.yylloc={});var Ie=y.yylloc;t.push(Ie);var je=y.options&&y.options.ranges;typeof G.yy.parseError=="function"?this.parseError=G.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Ge(k){o.length=o.length-2*k,E.length=E.length-k,t.length=t.length-k}m(Ge,"popStack");function Ue(){var k;return k=s.pop()||y.lex()||Pe,typeof k!="number"&&(k instanceof Array&&(s=k,k=s.pop()),k=n.symbols_[k]||k),k}m(Ue,"lex");for(var I,z,N,ke,J={},ye,F,Ye,_e;;){if(z=o[o.length-1],this.defaultActions[z]?N=this.defaultActions[z]:((I===null||typeof I>"u")&&(I=Ue()),N=de[z]&&de[z][I]),typeof N>"u"||!N.length||!N[0]){var Te="";_e=[];for(ye in de[z])this.terminals_[ye]&&ye>Ke&&_e.push("'"+this.terminals_[ye]+"'");y.showPosition?Te="Parse error on line "+(ge+1)+`:
1
+ import{g as ze}from"./Cnly_zgc.js";import{s as Xe}from"./LOqiMc_U.js";import{b as m,W as Be,a_ as Je,V as Ze,aZ as et,U as tt,b0 as st,Y as it,X as Ne,ay as qe,r as rt,am as nt,aU as at,ab as lt,aG as ct,_ as ot,a1 as ht,aP as ut,bh as ft}from"./B1ScYY03.js";var Ce=(function(){var e=m(function($,i,n,o){for(n=n||{},o=$.length;o--;n[$[o]]=i);return n},"o"),r=[1,3],u=[1,4],h=[1,5],f=[1,6],a=[5,6,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,77,89,90],c=[1,22],S=[2,7],d=[1,26],_=[1,27],b=[1,28],q=[1,29],C=[1,33],A=[1,34],V=[1,35],v=[1,36],L=[1,37],x=[1,38],w=[1,24],D=[1,31],O=[1,32],M=[1,30],R=[1,39],g=[1,40],p=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,77,89,90],P=[1,61],X=[89,90],Ae=[5,8,9,11,13,21,22,23,24,27,29,41,42,43,44,45,46,54,61,63,72,74,75,76,77,80,81,82,83,84,85,86,87,88,89,90],Ee=[27,29],Ve=[1,70],ve=[1,71],Le=[1,72],xe=[1,73],we=[1,74],De=[1,75],Oe=[1,76],ee=[1,83],U=[1,80],te=[1,84],se=[1,85],ie=[1,86],re=[1,87],ne=[1,88],ae=[1,89],le=[1,90],ce=[1,91],oe=[1,92],pe=[5,8,9,11,13,21,22,23,24,27,41,42,43,44,45,46,54,72,74,75,76,77,80,81,82,83,84,85,86,87,88,89,90],Y=[63,64],Me=[1,101],Fe=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,76,77,89,90],T=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,75,76,77,80,81,82,83,84,85,86,87,88,89,90],B=[1,110],Q=[1,106],H=[1,107],K=[1,108],W=[1,109],j=[1,111],he=[1,116],ue=[1,117],fe=[1,114],me=[1,115],Se={trace:m(function(){},"trace"),yy:{},symbols_:{error:2,start:3,directive:4,NEWLINE:5,RD:6,diagram:7,EOF:8,acc_title:9,acc_title_value:10,acc_descr:11,acc_descr_value:12,acc_descr_multiline_value:13,requirementDef:14,elementDef:15,relationshipDef:16,direction:17,styleStatement:18,classDefStatement:19,classStatement:20,direction_tb:21,direction_bt:22,direction_rl:23,direction_lr:24,requirementType:25,requirementName:26,STRUCT_START:27,requirementBody:28,STYLE_SEPARATOR:29,idList:30,ID:31,COLONSEP:32,id:33,TEXT:34,text:35,RISK:36,riskLevel:37,VERIFYMTHD:38,verifyType:39,STRUCT_STOP:40,REQUIREMENT:41,FUNCTIONAL_REQUIREMENT:42,INTERFACE_REQUIREMENT:43,PERFORMANCE_REQUIREMENT:44,PHYSICAL_REQUIREMENT:45,DESIGN_CONSTRAINT:46,LOW_RISK:47,MED_RISK:48,HIGH_RISK:49,VERIFY_ANALYSIS:50,VERIFY_DEMONSTRATION:51,VERIFY_INSPECTION:52,VERIFY_TEST:53,ELEMENT:54,elementName:55,elementBody:56,TYPE:57,type:58,DOCREF:59,ref:60,END_ARROW_L:61,relationship:62,LINE:63,END_ARROW_R:64,CONTAINS:65,COPIES:66,DERIVES:67,SATISFIES:68,VERIFIES:69,REFINES:70,TRACES:71,CLASSDEF:72,stylesOpt:73,CLASS:74,ALPHA:75,COMMA:76,STYLE:77,style:78,styleComponent:79,NUM:80,COLON:81,UNIT:82,SPACE:83,BRKT:84,PCT:85,MINUS:86,LABEL:87,SEMICOLON:88,unqString:89,qString:90,$accept:0,$end:1},terminals_:{2:"error",5:"NEWLINE",6:"RD",8:"EOF",9:"acc_title",10:"acc_title_value",11:"acc_descr",12:"acc_descr_value",13:"acc_descr_multiline_value",21:"direction_tb",22:"direction_bt",23:"direction_rl",24:"direction_lr",27:"STRUCT_START",29:"STYLE_SEPARATOR",31:"ID",32:"COLONSEP",34:"TEXT",36:"RISK",38:"VERIFYMTHD",40:"STRUCT_STOP",41:"REQUIREMENT",42:"FUNCTIONAL_REQUIREMENT",43:"INTERFACE_REQUIREMENT",44:"PERFORMANCE_REQUIREMENT",45:"PHYSICAL_REQUIREMENT",46:"DESIGN_CONSTRAINT",47:"LOW_RISK",48:"MED_RISK",49:"HIGH_RISK",50:"VERIFY_ANALYSIS",51:"VERIFY_DEMONSTRATION",52:"VERIFY_INSPECTION",53:"VERIFY_TEST",54:"ELEMENT",57:"TYPE",59:"DOCREF",61:"END_ARROW_L",63:"LINE",64:"END_ARROW_R",65:"CONTAINS",66:"COPIES",67:"DERIVES",68:"SATISFIES",69:"VERIFIES",70:"REFINES",71:"TRACES",72:"CLASSDEF",74:"CLASS",75:"ALPHA",76:"COMMA",77:"STYLE",80:"NUM",81:"COLON",82:"UNIT",83:"SPACE",84:"BRKT",85:"PCT",86:"MINUS",87:"LABEL",88:"SEMICOLON",89:"unqString",90:"qString"},productions_:[0,[3,3],[3,2],[3,4],[4,2],[4,2],[4,1],[7,0],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[17,1],[17,1],[17,1],[17,1],[14,5],[14,7],[28,5],[28,5],[28,5],[28,5],[28,2],[28,1],[25,1],[25,1],[25,1],[25,1],[25,1],[25,1],[37,1],[37,1],[37,1],[39,1],[39,1],[39,1],[39,1],[15,5],[15,7],[56,5],[56,5],[56,2],[56,1],[16,5],[16,5],[62,1],[62,1],[62,1],[62,1],[62,1],[62,1],[62,1],[19,3],[20,3],[20,3],[30,1],[30,3],[30,1],[30,3],[18,3],[73,1],[73,3],[78,1],[78,2],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[26,1],[26,1],[33,1],[33,1],[35,1],[35,1],[55,1],[55,1],[58,1],[58,1],[60,1],[60,1]],performAction:m(function(i,n,o,s,E,t,de){var l=t.length-1;switch(E){case 4:this.$=t[l].trim(),s.setAccTitle(this.$);break;case 5:case 6:this.$=t[l].trim(),s.setAccDescription(this.$);break;case 7:this.$=[];break;case 17:s.setDirection("TB");break;case 18:s.setDirection("BT");break;case 19:s.setDirection("RL");break;case 20:s.setDirection("LR");break;case 21:s.addRequirement(t[l-3],t[l-4]);break;case 22:s.addRequirement(t[l-5],t[l-6]),s.setClass([t[l-5]],t[l-3]);break;case 23:s.setNewReqId(t[l-2]);break;case 24:s.setNewReqText(t[l-2]);break;case 25:s.setNewReqRisk(t[l-2]);break;case 26:s.setNewReqVerifyMethod(t[l-2]);break;case 29:this.$=s.RequirementType.REQUIREMENT;break;case 30:this.$=s.RequirementType.FUNCTIONAL_REQUIREMENT;break;case 31:this.$=s.RequirementType.INTERFACE_REQUIREMENT;break;case 32:this.$=s.RequirementType.PERFORMANCE_REQUIREMENT;break;case 33:this.$=s.RequirementType.PHYSICAL_REQUIREMENT;break;case 34:this.$=s.RequirementType.DESIGN_CONSTRAINT;break;case 35:this.$=s.RiskLevel.LOW_RISK;break;case 36:this.$=s.RiskLevel.MED_RISK;break;case 37:this.$=s.RiskLevel.HIGH_RISK;break;case 38:this.$=s.VerifyType.VERIFY_ANALYSIS;break;case 39:this.$=s.VerifyType.VERIFY_DEMONSTRATION;break;case 40:this.$=s.VerifyType.VERIFY_INSPECTION;break;case 41:this.$=s.VerifyType.VERIFY_TEST;break;case 42:s.addElement(t[l-3]);break;case 43:s.addElement(t[l-5]),s.setClass([t[l-5]],t[l-3]);break;case 44:s.setNewElementType(t[l-2]);break;case 45:s.setNewElementDocRef(t[l-2]);break;case 48:s.addRelationship(t[l-2],t[l],t[l-4]);break;case 49:s.addRelationship(t[l-2],t[l-4],t[l]);break;case 50:this.$=s.Relationships.CONTAINS;break;case 51:this.$=s.Relationships.COPIES;break;case 52:this.$=s.Relationships.DERIVES;break;case 53:this.$=s.Relationships.SATISFIES;break;case 54:this.$=s.Relationships.VERIFIES;break;case 55:this.$=s.Relationships.REFINES;break;case 56:this.$=s.Relationships.TRACES;break;case 57:this.$=t[l-2],s.defineClass(t[l-1],t[l]);break;case 58:s.setClass(t[l-1],t[l]);break;case 59:s.setClass([t[l-2]],t[l]);break;case 60:case 62:this.$=[t[l]];break;case 61:case 63:this.$=t[l-2].concat([t[l]]);break;case 64:this.$=t[l-2],s.setCssStyle(t[l-1],t[l]);break;case 65:this.$=[t[l]];break;case 66:t[l-2].push(t[l]),this.$=t[l-2];break;case 68:this.$=t[l-1]+t[l];break}},"anonymous"),table:[{3:1,4:2,6:r,9:u,11:h,13:f},{1:[3]},{3:8,4:2,5:[1,7],6:r,9:u,11:h,13:f},{5:[1,9]},{10:[1,10]},{12:[1,11]},e(a,[2,6]),{3:12,4:2,6:r,9:u,11:h,13:f},{1:[2,2]},{4:17,5:c,7:13,8:S,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:d,22:_,23:b,24:q,25:23,33:25,41:C,42:A,43:V,44:v,45:L,46:x,54:w,72:D,74:O,77:M,89:R,90:g},e(a,[2,4]),e(a,[2,5]),{1:[2,1]},{8:[1,41]},{4:17,5:c,7:42,8:S,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:d,22:_,23:b,24:q,25:23,33:25,41:C,42:A,43:V,44:v,45:L,46:x,54:w,72:D,74:O,77:M,89:R,90:g},{4:17,5:c,7:43,8:S,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:d,22:_,23:b,24:q,25:23,33:25,41:C,42:A,43:V,44:v,45:L,46:x,54:w,72:D,74:O,77:M,89:R,90:g},{4:17,5:c,7:44,8:S,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:d,22:_,23:b,24:q,25:23,33:25,41:C,42:A,43:V,44:v,45:L,46:x,54:w,72:D,74:O,77:M,89:R,90:g},{4:17,5:c,7:45,8:S,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:d,22:_,23:b,24:q,25:23,33:25,41:C,42:A,43:V,44:v,45:L,46:x,54:w,72:D,74:O,77:M,89:R,90:g},{4:17,5:c,7:46,8:S,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:d,22:_,23:b,24:q,25:23,33:25,41:C,42:A,43:V,44:v,45:L,46:x,54:w,72:D,74:O,77:M,89:R,90:g},{4:17,5:c,7:47,8:S,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:d,22:_,23:b,24:q,25:23,33:25,41:C,42:A,43:V,44:v,45:L,46:x,54:w,72:D,74:O,77:M,89:R,90:g},{4:17,5:c,7:48,8:S,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:d,22:_,23:b,24:q,25:23,33:25,41:C,42:A,43:V,44:v,45:L,46:x,54:w,72:D,74:O,77:M,89:R,90:g},{4:17,5:c,7:49,8:S,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:d,22:_,23:b,24:q,25:23,33:25,41:C,42:A,43:V,44:v,45:L,46:x,54:w,72:D,74:O,77:M,89:R,90:g},{4:17,5:c,7:50,8:S,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:d,22:_,23:b,24:q,25:23,33:25,41:C,42:A,43:V,44:v,45:L,46:x,54:w,72:D,74:O,77:M,89:R,90:g},{26:51,89:[1,52],90:[1,53]},{55:54,89:[1,55],90:[1,56]},{29:[1,59],61:[1,57],63:[1,58]},e(p,[2,17]),e(p,[2,18]),e(p,[2,19]),e(p,[2,20]),{30:60,33:62,75:P,89:R,90:g},{30:63,33:62,75:P,89:R,90:g},{30:64,33:62,75:P,89:R,90:g},e(X,[2,29]),e(X,[2,30]),e(X,[2,31]),e(X,[2,32]),e(X,[2,33]),e(X,[2,34]),e(Ae,[2,81]),e(Ae,[2,82]),{1:[2,3]},{8:[2,8]},{8:[2,9]},{8:[2,10]},{8:[2,11]},{8:[2,12]},{8:[2,13]},{8:[2,14]},{8:[2,15]},{8:[2,16]},{27:[1,65],29:[1,66]},e(Ee,[2,79]),e(Ee,[2,80]),{27:[1,67],29:[1,68]},e(Ee,[2,85]),e(Ee,[2,86]),{62:69,65:Ve,66:ve,67:Le,68:xe,69:we,70:De,71:Oe},{62:77,65:Ve,66:ve,67:Le,68:xe,69:we,70:De,71:Oe},{30:78,33:62,75:P,89:R,90:g},{73:79,75:ee,76:U,78:81,79:82,80:te,81:se,82:ie,83:re,84:ne,85:ae,86:le,87:ce,88:oe},e(pe,[2,60]),e(pe,[2,62]),{73:93,75:ee,76:U,78:81,79:82,80:te,81:se,82:ie,83:re,84:ne,85:ae,86:le,87:ce,88:oe},{30:94,33:62,75:P,76:U,89:R,90:g},{5:[1,95]},{30:96,33:62,75:P,89:R,90:g},{5:[1,97]},{30:98,33:62,75:P,89:R,90:g},{63:[1,99]},e(Y,[2,50]),e(Y,[2,51]),e(Y,[2,52]),e(Y,[2,53]),e(Y,[2,54]),e(Y,[2,55]),e(Y,[2,56]),{64:[1,100]},e(p,[2,59],{76:U}),e(p,[2,64],{76:Me}),{33:103,75:[1,102],89:R,90:g},e(Fe,[2,65],{79:104,75:ee,80:te,81:se,82:ie,83:re,84:ne,85:ae,86:le,87:ce,88:oe}),e(T,[2,67]),e(T,[2,69]),e(T,[2,70]),e(T,[2,71]),e(T,[2,72]),e(T,[2,73]),e(T,[2,74]),e(T,[2,75]),e(T,[2,76]),e(T,[2,77]),e(T,[2,78]),e(p,[2,57],{76:Me}),e(p,[2,58],{76:U}),{5:B,28:105,31:Q,34:H,36:K,38:W,40:j},{27:[1,112],76:U},{5:he,40:ue,56:113,57:fe,59:me},{27:[1,118],76:U},{33:119,89:R,90:g},{33:120,89:R,90:g},{75:ee,78:121,79:82,80:te,81:se,82:ie,83:re,84:ne,85:ae,86:le,87:ce,88:oe},e(pe,[2,61]),e(pe,[2,63]),e(T,[2,68]),e(p,[2,21]),{32:[1,122]},{32:[1,123]},{32:[1,124]},{32:[1,125]},{5:B,28:126,31:Q,34:H,36:K,38:W,40:j},e(p,[2,28]),{5:[1,127]},e(p,[2,42]),{32:[1,128]},{32:[1,129]},{5:he,40:ue,56:130,57:fe,59:me},e(p,[2,47]),{5:[1,131]},e(p,[2,48]),e(p,[2,49]),e(Fe,[2,66],{79:104,75:ee,80:te,81:se,82:ie,83:re,84:ne,85:ae,86:le,87:ce,88:oe}),{33:132,89:R,90:g},{35:133,89:[1,134],90:[1,135]},{37:136,47:[1,137],48:[1,138],49:[1,139]},{39:140,50:[1,141],51:[1,142],52:[1,143],53:[1,144]},e(p,[2,27]),{5:B,28:145,31:Q,34:H,36:K,38:W,40:j},{58:146,89:[1,147],90:[1,148]},{60:149,89:[1,150],90:[1,151]},e(p,[2,46]),{5:he,40:ue,56:152,57:fe,59:me},{5:[1,153]},{5:[1,154]},{5:[2,83]},{5:[2,84]},{5:[1,155]},{5:[2,35]},{5:[2,36]},{5:[2,37]},{5:[1,156]},{5:[2,38]},{5:[2,39]},{5:[2,40]},{5:[2,41]},e(p,[2,22]),{5:[1,157]},{5:[2,87]},{5:[2,88]},{5:[1,158]},{5:[2,89]},{5:[2,90]},e(p,[2,43]),{5:B,28:159,31:Q,34:H,36:K,38:W,40:j},{5:B,28:160,31:Q,34:H,36:K,38:W,40:j},{5:B,28:161,31:Q,34:H,36:K,38:W,40:j},{5:B,28:162,31:Q,34:H,36:K,38:W,40:j},{5:he,40:ue,56:163,57:fe,59:me},{5:he,40:ue,56:164,57:fe,59:me},e(p,[2,23]),e(p,[2,24]),e(p,[2,25]),e(p,[2,26]),e(p,[2,44]),e(p,[2,45])],defaultActions:{8:[2,2],12:[2,1],41:[2,3],42:[2,8],43:[2,9],44:[2,10],45:[2,11],46:[2,12],47:[2,13],48:[2,14],49:[2,15],50:[2,16],134:[2,83],135:[2,84],137:[2,35],138:[2,36],139:[2,37],141:[2,38],142:[2,39],143:[2,40],144:[2,41],147:[2,87],148:[2,88],150:[2,89],151:[2,90]},parseError:m(function(i,n){if(n.recoverable)this.trace(i);else{var o=new Error(i);throw o.hash=n,o}},"parseError"),parse:m(function(i){var n=this,o=[0],s=[],E=[null],t=[],de=this.table,l="",ge=0,$e=0,Ke=2,Pe=1,We=t.slice.call(arguments,1),y=Object.create(this.lexer),G={yy:{}};for(var be in this.yy)Object.prototype.hasOwnProperty.call(this.yy,be)&&(G.yy[be]=this.yy[be]);y.setInput(i,G.yy),G.yy.lexer=y,G.yy.parser=this,typeof y.yylloc>"u"&&(y.yylloc={});var Ie=y.yylloc;t.push(Ie);var je=y.options&&y.options.ranges;typeof G.yy.parseError=="function"?this.parseError=G.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Ge(k){o.length=o.length-2*k,E.length=E.length-k,t.length=t.length-k}m(Ge,"popStack");function Ue(){var k;return k=s.pop()||y.lex()||Pe,typeof k!="number"&&(k instanceof Array&&(s=k,k=s.pop()),k=n.symbols_[k]||k),k}m(Ue,"lex");for(var I,z,N,ke,J={},ye,F,Ye,_e;;){if(z=o[o.length-1],this.defaultActions[z]?N=this.defaultActions[z]:((I===null||typeof I>"u")&&(I=Ue()),N=de[z]&&de[z][I]),typeof N>"u"||!N.length||!N[0]){var Te="";_e=[];for(ye in de[z])this.terminals_[ye]&&ye>Ke&&_e.push("'"+this.terminals_[ye]+"'");y.showPosition?Te="Parse error on line "+(ge+1)+`:
2
2
  `+y.showPosition()+`
3
3
  Expecting `+_e.join(", ")+", got '"+(this.terminals_[I]||I)+"'":Te="Parse error on line "+(ge+1)+": Unexpected "+(I==Pe?"end of input":"'"+(this.terminals_[I]||I)+"'"),this.parseError(Te,{text:y.match,token:this.terminals_[I]||I,line:y.yylineno,loc:Ie,expected:_e})}if(N[0]instanceof Array&&N.length>1)throw new Error("Parse Error: multiple actions possible at state: "+z+", token: "+I);switch(N[0]){case 1:o.push(I),E.push(y.yytext),t.push(y.yylloc),o.push(N[1]),I=null,$e=y.yyleng,l=y.yytext,ge=y.yylineno,Ie=y.yylloc;break;case 2:if(F=this.productions_[N[1]][1],J.$=E[E.length-F],J._$={first_line:t[t.length-(F||1)].first_line,last_line:t[t.length-1].last_line,first_column:t[t.length-(F||1)].first_column,last_column:t[t.length-1].last_column},je&&(J._$.range=[t[t.length-(F||1)].range[0],t[t.length-1].range[1]]),ke=this.performAction.apply(J,[l,$e,ge,G.yy,N[1],E,t].concat(We)),typeof ke<"u")return ke;F&&(o=o.slice(0,-1*F*2),E=E.slice(0,-1*F),t=t.slice(0,-1*F)),o.push(this.productions_[N[1]][0]),E.push(J.$),t.push(J._$),Ye=de[o[o.length-2]][o[o.length-1]],o.push(Ye);break;case 3:return!0}}return!0},"parse")},He=(function(){var $={EOF:1,parseError:m(function(n,o){if(this.yy.parser)this.yy.parser.parseError(n,o);else throw new Error(n)},"parseError"),setInput:m(function(i,n){return this.yy=n||this.yy||{},this._input=i,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:m(function(){var i=this._input[0];this.yytext+=i,this.yyleng++,this.offset++,this.match+=i,this.matched+=i;var n=i.match(/(?:\r\n?|\n).*/g);return n?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),i},"input"),unput:m(function(i){var n=i.length,o=i.split(/(?:\r\n?|\n)/g);this._input=i+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-n),this.offset-=n;var s=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),o.length-1&&(this.yylineno-=o.length-1);var E=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:o?(o.length===s.length?this.yylloc.first_column:0)+s[s.length-o.length].length-o[0].length:this.yylloc.first_column-n},this.options.ranges&&(this.yylloc.range=[E[0],E[0]+this.yyleng-n]),this.yyleng=this.yytext.length,this},"unput"),more:m(function(){return this._more=!0,this},"more"),reject:m(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:m(function(i){this.unput(this.match.slice(i))},"less"),pastInput:m(function(){var i=this.matched.substr(0,this.matched.length-this.match.length);return(i.length>20?"...":"")+i.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:m(function(){var i=this.match;return i.length<20&&(i+=this._input.substr(0,20-i.length)),(i.substr(0,20)+(i.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:m(function(){var i=this.pastInput(),n=new Array(i.length+1).join("-");return i+this.upcomingInput()+`