@intent-hq/web 2.369.0 → 2.369.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 (143) hide show
  1. package/package.json +1 -1
  2. package/web/app/immutable/chunks/{C-dUgTvj.js → 3kQ-PiCp.js} +1 -1
  3. package/web/app/immutable/chunks/{BswUVSRu.js → 4GHsM2YX.js} +1 -1
  4. package/web/app/immutable/chunks/{CxmJEenA.js → 6CAGpBb_.js} +1 -1
  5. package/web/app/immutable/chunks/{CDqnAH9U.js → 7mowE2Gg.js} +2 -2
  6. package/web/app/immutable/chunks/{Qnx8Hmfg.js → 8bw9vP4h.js} +1 -1
  7. package/web/app/immutable/chunks/{BTYfh5fW.js → A2MGRlHV.js} +1 -1
  8. package/web/app/immutable/chunks/{CZTVb5IB.js → A9EcmNK3.js} +1 -1
  9. package/web/app/immutable/chunks/{P4OctF9m.js → B-F2f_Hq.js} +1 -1
  10. package/web/app/immutable/chunks/{DOi8NPXE.js → B1sp_kEH.js} +1 -1
  11. package/web/app/immutable/chunks/{Q8rtHwbz.js → B2FXFK8l.js} +1 -1
  12. package/web/app/immutable/chunks/{DWLnWMNZ.js → B6jI9-V_.js} +1 -1
  13. package/web/app/immutable/chunks/{tVHyNPqL.js → B9EhZrTN.js} +1 -1
  14. package/web/app/immutable/chunks/{CS3R6Yuh.js → B9I2hDG-.js} +1 -1
  15. package/web/app/immutable/chunks/{CcNIw4Px.js → BBMzDN3i.js} +1 -1
  16. package/web/app/immutable/chunks/{S5vPfW1A.js → BCSEMQfF.js} +1 -1
  17. package/web/app/immutable/chunks/{BW6PhteS.js → BDP3Y6aK.js} +1 -1
  18. package/web/app/immutable/chunks/{DNieQhK8.js → BEqf00Je.js} +3 -3
  19. package/web/app/immutable/chunks/{B2CG0f08.js → BHfEypjS.js} +1 -1
  20. package/web/app/immutable/chunks/{B6P0nIFd.js → BKuhcLZN.js} +1 -1
  21. package/web/app/immutable/chunks/{DCrqv4Go.js → BLlLxRVW.js} +1 -1
  22. package/web/app/immutable/chunks/{CeBDdapO.js → BNp3_sz0.js} +1 -1
  23. package/web/app/immutable/chunks/{DrBi0w5G.js → BOCp5eAe.js} +4 -4
  24. package/web/app/immutable/chunks/{oZkhvgMl.js → BPCO02B5.js} +1 -1
  25. package/web/app/immutable/chunks/{CMRXUPn9.js → BUrTAEns.js} +1 -1
  26. package/web/app/immutable/chunks/{D8BdISor.js → BXkyhXuK.js} +1 -1
  27. package/web/app/immutable/chunks/{Druyrynh.js → BZ5fAc9N.js} +1 -1
  28. package/web/app/immutable/chunks/{Bi5_2qbB.js → BbQfjn7f.js} +2 -2
  29. package/web/app/immutable/chunks/{DupNtpYi.js → Bd_VEON_.js} +1 -1
  30. package/web/app/immutable/chunks/{DF0Pm5yp.js → BigChyTJ.js} +2 -2
  31. package/web/app/immutable/chunks/{C7H74phM.js → Bl3mtXZn.js} +1 -1
  32. package/web/app/immutable/chunks/{CpL3Nqus.js → BlIreYOW.js} +1 -1
  33. package/web/app/immutable/chunks/{BgJ-6yg0.js → Bo-8pH0P.js} +1 -1
  34. package/web/app/immutable/chunks/{BVVyDeyd.js → Boh_rcCH.js} +1 -1
  35. package/web/app/immutable/chunks/{B3Zt92Gh.js → BpwdP8dq.js} +1 -1
  36. package/web/app/immutable/chunks/{Ch30XVIS.js → BrAu7eNn.js} +1 -1
  37. package/web/app/immutable/chunks/{DzFkUqsC.js → BxbMMWzz.js} +1 -1
  38. package/web/app/immutable/chunks/{DcmaumPg.js → ByDB1X4D.js} +1 -1
  39. package/web/app/immutable/chunks/{U3137Ii1.js → ByN-IDvR.js} +1 -1
  40. package/web/app/immutable/chunks/{CJj_lU-4.js → C1VlgusM.js} +1 -1
  41. package/web/app/immutable/chunks/{gcij4Gee.js → C1ZHQc4S.js} +1 -1
  42. package/web/app/immutable/chunks/{CLg2G62j.js → C5X1QcI7.js} +3 -3
  43. package/web/app/immutable/chunks/{Bq_CYpxm.js → C6MAELkY.js} +1 -1
  44. package/web/app/immutable/chunks/{CnM1-KSC.js → C6T3ggVX.js} +1 -1
  45. package/web/app/immutable/chunks/{CiyIhnuP.js → C7Ed4dxf.js} +3 -3
  46. package/web/app/immutable/chunks/{Bf02lG8Y.js → C7kFrL62.js} +1 -1
  47. package/web/app/immutable/chunks/{3IxT-Mrl.js → C8APJtmo.js} +1 -1
  48. package/web/app/immutable/chunks/{k3tEZZCe.js → CB0sfbT7.js} +1 -1
  49. package/web/app/immutable/chunks/{D4q8ggLU.js → CBZ4KqrB.js} +2 -2
  50. package/web/app/immutable/chunks/{D5sw7nR1.js → CJHs_ufb.js} +1 -1
  51. package/web/app/immutable/chunks/{C7RXZVwZ.js → CKkGJ_p-.js} +3 -3
  52. package/web/app/immutable/chunks/{DMjF7NYG.js → CNn7flY0.js} +2 -2
  53. package/web/app/immutable/chunks/{CgeBiXYG.js → CPatK7EU.js} +1 -1
  54. package/web/app/immutable/chunks/{BJTl-SyI.js → CRwqTV0i.js} +1 -1
  55. package/web/app/immutable/chunks/{BipEZFvA.js → CUH5IR0E.js} +1 -1
  56. package/web/app/immutable/chunks/{C6yPb5D8.js → CWybLnJv.js} +1 -1
  57. package/web/app/immutable/chunks/{Dbpb1w7S.js → CXaVTV1g.js} +3 -3
  58. package/web/app/immutable/chunks/{D9d8HfDB.js → C_A_Ikb5.js} +1 -1
  59. package/web/app/immutable/chunks/{CLalkdxk.js → Cl71oYkB.js} +1 -1
  60. package/web/app/immutable/chunks/{C1FbWx7h.js → ClHV2gp3.js} +1 -1
  61. package/web/app/immutable/chunks/{CMh2xRIF.js → Cnwc7RZW.js} +1 -1
  62. package/web/app/immutable/chunks/{DA4getmI.js → CoNmDxYv.js} +1 -1
  63. package/web/app/immutable/chunks/{lVHjTAAb.js → CtxaFpQJ.js} +1 -1
  64. package/web/app/immutable/chunks/{ykNMRL6H.js → Cu3YXFZW.js} +1 -1
  65. package/web/app/immutable/chunks/{a34jwGLW.js → CxXkuVq5.js} +1 -1
  66. package/web/app/immutable/chunks/{DRLOB6Gw.js → CzmcyLb_.js} +1 -1
  67. package/web/app/immutable/chunks/{BTIkMWVv.js → D1E6y9eQ.js} +1 -1
  68. package/web/app/immutable/chunks/{BxOfEPjL.js → D321NUNJ.js} +1 -1
  69. package/web/app/immutable/chunks/{CC08YY4X.js → D547g0l5.js} +2 -2
  70. package/web/app/immutable/chunks/{DZTT1V6G.js → D7slXRL_.js} +1 -1
  71. package/web/app/immutable/chunks/{uWDJKH9B.js → D9NDL9ta.js} +1 -1
  72. package/web/app/immutable/chunks/{DPLuga0X.js → DAjaV_xN.js} +3 -3
  73. package/web/app/immutable/chunks/{Dy_4BU07.js → DCJDf3gb.js} +3 -3
  74. package/web/app/immutable/chunks/{E_jRuW-b.js → DEMmGTfr.js} +2 -2
  75. package/web/app/immutable/chunks/{v2EYTTpI.js → DH6z3AzB.js} +3 -3
  76. package/web/app/immutable/chunks/{DaXgwzm7.js → DK2Pie4F.js} +1 -1
  77. package/web/app/immutable/chunks/{BkrPhcBU.js → DKyvRWc2.js} +1 -1
  78. package/web/app/immutable/chunks/{C6vnD-WG.js → DR7bEdZk.js} +1 -1
  79. package/web/app/immutable/chunks/{C3SM2b7L.js → DSqj6mlv.js} +2 -2
  80. package/web/app/immutable/chunks/{8TQkfju3.js → Da2tbXc-.js} +1 -1
  81. package/web/app/immutable/chunks/{CNAilJvj.js → Danvn_nL.js} +1 -1
  82. package/web/app/immutable/chunks/{DdkBNH3W.js → DdH7Q5ij.js} +1 -1
  83. package/web/app/immutable/chunks/{dx9b_0TP.js → DdKIjYo_.js} +2 -2
  84. package/web/app/immutable/chunks/{C3CJZFT3.js → Dd_WBgru.js} +1 -1
  85. package/web/app/immutable/chunks/{Deg_SlHr.js → DgFinDjM.js} +2 -2
  86. package/web/app/immutable/chunks/{DeVwq4Xj.js → DllP5msd.js} +1 -1
  87. package/web/app/immutable/chunks/{BVUXyHGH.js → DpFiDNG-.js} +1 -1
  88. package/web/app/immutable/chunks/{B3rtR-T9.js → DsI0RDZ2.js} +1 -1
  89. package/web/app/immutable/chunks/{CSFyiYHp.js → DuPd2TLf.js} +1 -1
  90. package/web/app/immutable/chunks/{iI6LFAGI.js → DvPSMnYw.js} +1 -1
  91. package/web/app/immutable/chunks/{DlqetqWw.js → DvYo8gAP.js} +1 -1
  92. package/web/app/immutable/chunks/{C3YB0zcV.js → DvdPJ4VE.js} +1 -1
  93. package/web/app/immutable/chunks/{BgVn7-pK.js → DxejgjNm.js} +1 -1
  94. package/web/app/immutable/chunks/{COmDhl6S.js → Dxjy2MWO.js} +1 -1
  95. package/web/app/immutable/chunks/{Cmm2Uwq6.js → Dxs2medA.js} +1 -1
  96. package/web/app/immutable/chunks/{p8jwzOYN.js → Dz2wxoQy.js} +1 -1
  97. package/web/app/immutable/chunks/{Cstrfm23.js → Dz5OBP4z.js} +4 -4
  98. package/web/app/immutable/chunks/{Cp81xhuN.js → FavPgSsK.js} +1 -1
  99. package/web/app/immutable/chunks/{BXHaIh_f.js → N5wpZAwp.js} +1 -1
  100. package/web/app/immutable/chunks/{5E3JQYey.js → OcJyMtNk.js} +1 -1
  101. package/web/app/immutable/chunks/{DZCGZjzG.js → PxI10rWs.js} +1 -1
  102. package/web/app/immutable/chunks/{4pFiTcXi.js → QpGjdleN.js} +1 -1
  103. package/web/app/immutable/chunks/{B5ht1e3g.js → RifCGV3x.js} +1 -1
  104. package/web/app/immutable/chunks/{DzMdBKPh.js → Wv5_ui4s.js} +1 -1
  105. package/web/app/immutable/chunks/{CvC_PTf7.js → Z73Hn0_g.js} +1 -1
  106. package/web/app/immutable/chunks/{RsJMsDHX.js → ZYL8cEBi.js} +1 -1
  107. package/web/app/immutable/chunks/{CQt5NIo9.js → eLOMf9Vt.js} +1 -1
  108. package/web/app/immutable/chunks/{D1FzC71c.js → fK0I75t-.js} +1 -1
  109. package/web/app/immutable/chunks/{Cu0mADIg.js → fRGswTf6.js} +1 -1
  110. package/web/app/immutable/chunks/{_UNYBFXm.js → fXS7JPx0.js} +1 -1
  111. package/web/app/immutable/chunks/{C_qOm4aX.js → fd1DS8nx.js} +13 -13
  112. package/web/app/immutable/chunks/{AIQuxhpV.js → iTSQ9YOi.js} +1 -1
  113. package/web/app/immutable/chunks/{CuHlAB4d.js → ie53yFct.js} +1 -1
  114. package/web/app/immutable/chunks/{D3SYIfTl.js → jRFO7UbE.js} +3 -3
  115. package/web/app/immutable/chunks/{Ckp5O1pb.js → msw9XRLE.js} +1 -1
  116. package/web/app/immutable/chunks/{DLEm9Cyg.js → nIQsF0QH.js} +1 -1
  117. package/web/app/immutable/chunks/{0jRiL-di.js → ocWSyOIA.js} +1 -1
  118. package/web/app/immutable/chunks/{B5L5kFMu.js → s3nd6_cp.js} +1 -1
  119. package/web/app/immutable/chunks/{CF2xUnmW.js → s97D1nrA.js} +1 -1
  120. package/web/app/immutable/chunks/{CFybzafc.js → sJt4gu2x.js} +1 -1
  121. package/web/app/immutable/chunks/{Bn5goMn4.js → u8OBGcNi.js} +1 -1
  122. package/web/app/immutable/chunks/{CxVedbHg.js → wJewnowK.js} +6 -6
  123. package/web/app/immutable/chunks/{DdkDv5Sd.js → x-XvE_CJ.js} +1 -1
  124. package/web/app/immutable/chunks/{DpSi4PLY.js → xqJuIupR.js} +1 -1
  125. package/web/app/immutable/entry/{app.AtsW0EhM.js → app.OFNFrEIR.js} +2 -2
  126. package/web/app/immutable/entry/start.CHpPu02l.js +1 -0
  127. package/web/app/immutable/nodes/{0.CegL6Bfc.js → 0.BPB4y4Pk.js} +1 -1
  128. package/web/app/immutable/nodes/{1.B6-BTMS1.js → 1.CBbBqNOx.js} +1 -1
  129. package/web/app/immutable/nodes/{10.qlZM4NPl.js → 10.B-rk3kEM.js} +4 -4
  130. package/web/app/immutable/nodes/{11.BR5ZtLjn.js → 11.P0HocOtE.js} +1 -1
  131. package/web/app/immutable/nodes/{15.Bitx8r2v.js → 15.DhLBijej.js} +1 -1
  132. package/web/app/immutable/nodes/{19.BRj21xes.js → 19.bgAqepNt.js} +2 -2
  133. package/web/app/immutable/nodes/{2.BBHXaN8p.js → 2.DU7oYEtS.js} +4 -4
  134. package/web/app/immutable/nodes/{3.JJmMGjhS.js → 3.B4hrIG7P.js} +1 -1
  135. package/web/app/immutable/nodes/{4.C3VD-4KP.js → 4.J3HSWI_f.js} +1 -1
  136. package/web/app/immutable/nodes/{5.DIJ6nzqY.js → 5.CS5w-vHI.js} +1 -1
  137. package/web/app/immutable/nodes/{6.DIzZZwt4.js → 6.Bf53uJQ1.js} +1 -1
  138. package/web/app/immutable/nodes/{7.Xo0EbJUd.js → 7.q-WiNda-.js} +1 -1
  139. package/web/app/immutable/nodes/{8.xZANL-qg.js → 8.eHanxjw-.js} +1 -1
  140. package/web/app/immutable/nodes/{9.BVBQgdJj.js → 9.BMShc48l.js} +4 -4
  141. package/web/app/version.json +1 -1
  142. package/web/index.html +9 -9
  143. package/web/app/immutable/entry/start.DHsRk6-P.js +0 -1
@@ -1,4 +1,4 @@
1
- import{bm as y,t as wt,bo as H,bw as Tt,bq as xt,b as kt,bs as D}from"./51_h0jm2.js";import{bs as It,ca as Q,aD as t,a7 as At,ay as X,W as w,bn as Pt,bS as N,c9 as f,aA as M,aB as x,a5 as I,bA as A,bl as P,b_ as F,bO as S}from"./CJxGDkBm.js";import{i as E}from"./PXCFrn2V.js";import{k as St}from"./C9UsZ4re.js";import{c as Wt}from"./DGmOjLYi.js";import{C as q}from"./DypB-Dwi.js";import{L as $t}from"./CSiaiLHL.js";import"./DdkBNH3W.js";import"./CpPNoOk-.js";import"./DxvSggY5.js";import{bg as Dt}from"./DSQT151l.js";import"./CF1Tu_8c.js";/* empty css */import{J4 as B,JE as Nt,JT as Ft,JJ as Et,vg as Bt}from"./Zldsekdv.js";import{T as Lt}from"./CpL3Nqus.js";import{g as Ut}from"./BrMXrCxP.js";import{dE as Ot}from"./XJqoy2ap.js";import{bT as Jt,bN as jt,b8 as Ht}from"./uWDJKH9B.js";import"./DmhHEMPi.js";import{M as Mt}from"./CqesqBNM.js";import{V as Vt}from"./sG8VksRm.js";import{O as qt}from"./CF2xUnmW.js";import{c as Rt}from"./ChTqQfQN.js";import{i as Gt}from"./H2jLkRRS.js";const T=new $t({category:"change-converters"});function V(e,n){return e.path||e.file||e.filePath||e.relativePath||n?.filePath}function Y(e,n){return{additions:e.additions??n?.additions??0,deletions:e.deletions??n?.deletions??0,binary:e.binary??!1}}function zt(e,n){if(n.actor?.type==="agent"&&n.actor.id){const r=n.actor;return{agentId:r.id,agentName:r.name||y.fileTracking_changeTimeline_agent_fallback(),sessionId:r.sessionId||e.sessionId||"",turnNumber:r.turnNumber??e.turnNumber??0,messageId:r.messageId,timestamp:new Date(n.timestamp).getTime()}}if(e.agentId)return{agentId:e.agentId,agentName:e.agentName||y.fileTracking_changeTimeline_agent_fallback(),sessionId:e.sessionId||"",turnNumber:e.turnNumber||0,timestamp:new Date(n.timestamp).getTime()}}function Z(e,n){return{timestamp:new Date(e.timestamp).getTime(),manual:e.actor?.type==="user",agent:zt(n,e)}}function tt(e,n){return{oldContent:n?.oldContent??e.oldContent,newContent:n?.newContent??e.newContent,diff:e.diff??n?.diff}}function et(e,n,r){return r!==void 0?`${e}-${n}-${r}`:`${e}-${n}`}function Kt(e){try{const n=e.data||{},r=e.codeChange;T.debug("Converting event to TrackedChange",{eventType:e.type,eventId:e.id,hasData:!!n,hasCodeChange:!!r});const c=V(n,r);if(e.type.startsWith("file:")&&c){const d=Y(n,r);return T.debug("Creating TrackedChange for file event",{filePath:c,stats:d,hasDiff:!!(n.diff||r?.diff)}),[{id:et("event",e.id),file:c,relativePath:c,stage:q.Unstaged,stats:d,attribution:Z(e,n),content:tt(n,r)}]}return(e.type==="agent:completed"||e.type.startsWith("agent:"))&&n.fileChanges&&Array.isArray(n.fileChanges)?(T.debug("Creating TrackedChanges for agent event",{eventType:e.type,fileChangesCount:n.fileChanges.length,agentId:n.agentId}),n.fileChanges.filter(d=>V(d)?!0:(T.warn("Skipping file change without path",{change:d}),!1)).map((d,s)=>{const v=V(d);if(!v)throw new Error("file change without path");return{id:et("event",e.id,s),file:v,relativePath:v,stage:q.Unstaged,stats:Y(d),attribution:Z(e,n),content:tt(d)}})):(T.debug("No TrackedChanges created for event",{eventType:e.type,eventId:e.id,hasFilePath:!!c,hasFileChanges:!!(n.fileChanges&&Array.isArray(n.fileChanges))}),[])}catch(n){return T.error("Error converting event to TrackedChange",n instanceof Error?n:new Error(String(n)),{eventType:e.type,eventId:e.id}),[]}}function Qt(e){if(!e)return{oldContent:"",newContent:""};const n=[],r=[],c=e.split(`
1
+ import{bm as y,t as wt,bo as H,bw as Tt,bq as xt,b as kt,bs as D}from"./51_h0jm2.js";import{bs as It,ca as Q,aD as t,a7 as At,ay as X,W as w,bn as Pt,bS as N,c9 as f,aA as M,aB as x,a5 as I,bA as A,bl as P,b_ as F,bO as S}from"./CJxGDkBm.js";import{i as E}from"./PXCFrn2V.js";import{k as St}from"./C9UsZ4re.js";import{c as Wt}from"./DGmOjLYi.js";import{C as q}from"./DypB-Dwi.js";import{L as $t}from"./CSiaiLHL.js";import"./DdH7Q5ij.js";import"./CpPNoOk-.js";import"./DxvSggY5.js";import{bg as Dt}from"./DSQT151l.js";import"./CF1Tu_8c.js";/* empty css */import{J4 as B,JE as Nt,JT as Ft,JJ as Et,vg as Bt}from"./Zldsekdv.js";import{T as Lt}from"./BlIreYOW.js";import{g as Ut}from"./BrMXrCxP.js";import{dE as Ot}from"./XJqoy2ap.js";import{bT as Jt,bN as jt,b8 as Ht}from"./D9NDL9ta.js";import"./DmhHEMPi.js";import{M as Mt}from"./CqesqBNM.js";import{V as Vt}from"./sG8VksRm.js";import{O as qt}from"./s97D1nrA.js";import{c as Rt}from"./ChTqQfQN.js";import{i as Gt}from"./H2jLkRRS.js";const T=new $t({category:"change-converters"});function V(e,n){return e.path||e.file||e.filePath||e.relativePath||n?.filePath}function Y(e,n){return{additions:e.additions??n?.additions??0,deletions:e.deletions??n?.deletions??0,binary:e.binary??!1}}function zt(e,n){if(n.actor?.type==="agent"&&n.actor.id){const r=n.actor;return{agentId:r.id,agentName:r.name||y.fileTracking_changeTimeline_agent_fallback(),sessionId:r.sessionId||e.sessionId||"",turnNumber:r.turnNumber??e.turnNumber??0,messageId:r.messageId,timestamp:new Date(n.timestamp).getTime()}}if(e.agentId)return{agentId:e.agentId,agentName:e.agentName||y.fileTracking_changeTimeline_agent_fallback(),sessionId:e.sessionId||"",turnNumber:e.turnNumber||0,timestamp:new Date(n.timestamp).getTime()}}function Z(e,n){return{timestamp:new Date(e.timestamp).getTime(),manual:e.actor?.type==="user",agent:zt(n,e)}}function tt(e,n){return{oldContent:n?.oldContent??e.oldContent,newContent:n?.newContent??e.newContent,diff:e.diff??n?.diff}}function et(e,n,r){return r!==void 0?`${e}-${n}-${r}`:`${e}-${n}`}function Kt(e){try{const n=e.data||{},r=e.codeChange;T.debug("Converting event to TrackedChange",{eventType:e.type,eventId:e.id,hasData:!!n,hasCodeChange:!!r});const c=V(n,r);if(e.type.startsWith("file:")&&c){const d=Y(n,r);return T.debug("Creating TrackedChange for file event",{filePath:c,stats:d,hasDiff:!!(n.diff||r?.diff)}),[{id:et("event",e.id),file:c,relativePath:c,stage:q.Unstaged,stats:d,attribution:Z(e,n),content:tt(n,r)}]}return(e.type==="agent:completed"||e.type.startsWith("agent:"))&&n.fileChanges&&Array.isArray(n.fileChanges)?(T.debug("Creating TrackedChanges for agent event",{eventType:e.type,fileChangesCount:n.fileChanges.length,agentId:n.agentId}),n.fileChanges.filter(d=>V(d)?!0:(T.warn("Skipping file change without path",{change:d}),!1)).map((d,s)=>{const v=V(d);if(!v)throw new Error("file change without path");return{id:et("event",e.id,s),file:v,relativePath:v,stage:q.Unstaged,stats:Y(d),attribution:Z(e,n),content:tt(d)}})):(T.debug("No TrackedChanges created for event",{eventType:e.type,eventId:e.id,hasFilePath:!!c,hasFileChanges:!!(n.fileChanges&&Array.isArray(n.fileChanges))}),[])}catch(n){return T.error("Error converting event to TrackedChange",n instanceof Error?n:new Error(String(n)),{eventType:e.type,eventId:e.id}),[]}}function Qt(e){if(!e)return{oldContent:"",newContent:""};const n=[],r=[],c=e.split(`
2
2
  `);c.length>0&&c[c.length-1]===""&&c.pop();let d=!1;for(const s of c)if(!(s.startsWith("diff --git")||s.startsWith("index ")||s.startsWith("--- ")||s.startsWith("+++ ")||s.startsWith("\"))){if(s.startsWith("@@")){d=!0;continue}d&&(s.startsWith("+")?r.push(s.slice(1)):s.startsWith("-")?n.push(s.slice(1)):s.startsWith(" ")?(n.push(s.slice(1)),r.push(s.slice(1))):s===""&&(n.push(""),r.push("")))}return{oldContent:n.join(`
3
3
  `),newContent:r.join(`
4
4
  `)}}var Xt=x("<!> <!>",1),Yt=x('<div class="flex items-center gap-1.5 px-3 py-1.5 text-xs text-subtle bg-muted/50 border-b border-border"><span> </span></div>'),Zt=x('<div class="flex flex-col h-full"><!> <div class="flex-1 min-h-0"><!></div></div>'),te=x('<div class="flex flex-col items-center justify-center h-full text-subtle gap-4"><p class="text-sm"> </p> <p class="text-xs opacity-70"> </p></div>'),ee=x('<p class="text-xs opacity-70"> </p>'),ne=x('<div class="flex flex-col items-center justify-center h-full text-subtle gap-4"><p class="text-sm"> </p> <!></div>');function ae(e,n){if(new.target)return wt({component:ae,...e});It(n,!0);const r=()=>D(lt,"$workspace",v),c=()=>D(st,"$foldUnchanged",v),d=()=>D(rt,"$lineWrapping",v),s=()=>D(ot,"$diffSideBySide",v),[v,nt]=xt(),at=a=>{Vt(a,{embedded:!0,get foldEnabled(){return c()},onToggleFold:()=>B.dispatch(Et()),get wrapEnabled(){return d()},onToggleWrap:()=>B.dispatch(Ft()),get splitEnabled(){return s()},onToggleSplit:()=>B.dispatch(Nt())})},it=a=>{var i=Xt(),g=X(i);{let m=f(()=>y.layout_diffHeader_goToFile_tooltip());Wt(g,()=>Mt,(l,h)=>{h(l,{get icon(){return Dt},get label(){return t(m)},onclick:$=>ut()})})}var C=N(g,2);{var b=m=>{qt(m,{get filePath(){return t(G)},get workspaceId(){return _()},isDirectory:!1,embedded:!0,get workspaceFolderPath(){return t(O)}})};E(C,m=>{t(G)&&m(b)})}w(a,i)},rt=Jt(),st=jt(),ot=Ht(),dt=Rt("ActivityChangesTabType");let L=H(n,"tab",7),_=H(n,"workspaceId",7),U=H(n,"isActive",7);const R=Ut(),lt=Ot(_()),O=f(()=>r()?.worktreePath||r()?.repositoryPath||void 0),o=f(()=>L().data?.event),ct=f(()=>t(o)?Kt(t(o)):[]),u=f(()=>t(ct)[0]),p=f(()=>t(u)?.relativePath||t(u)?.file||null),G=f(()=>t(p)&&t(O)?Gt(t(p))?t(p):`${t(O)}/${t(p)}`:null),J=f(()=>()=>{if(!t(o))return null;const a=t(o).data,i=t(o).codeChange;return a?.diff||i?.diff||t(u)?.content?.diff||null}),z=f(()=>()=>t(u)?.content?!!(t(u).content.oldContent&&t(u).content.newContent):!1);function ft(a){if(!a)return;const i=a.match(/@@ -(\d+)/);return i?parseInt(i[1],10):void 0}const k=f(()=>{if(t(z)()&&t(u)?.content)return{oldContent:t(u).content.oldContent??"",newContent:t(u).content.newContent??""};const a=t(J)();return a?Qt(a):null}),W=f(()=>ft(t(J)())),pt=f(()=>t(W)!==void 0&&t(W)>1),gt=f(()=>{const a=t(p)||"",i=t(o)?.data||{};return{id:`activity-${t(o)?.id||"unknown"}-${a}`,file:a,relativePath:a,stage:q.Committed,status:t(u)?.status||"modified",stats:{additions:i?.additions||t(u)?.stats?.additions||0,deletions:i?.deletions||t(u)?.stats?.deletions||0},attribution:{timestamp:t(o)?.timestamp?new Date(t(o).timestamp).getTime():Date.now()},content:t(k)?{oldContent:t(k).oldContent,newContent:t(k).newContent}:void 0}});function ut(a){if(!t(p))return;const g={type:"file",title:t(p).split("/").pop()||t(p),closable:!0,filePath:t(p),workspaceId:_()};B.dispatch(Bt(_(),g))}Q(()=>{!R||!U()||R.registerActions({display:at,actions:it})}),Q(()=>{if(t(o)){const a=t(o).data;dt.debug("Activity event diff info",{eventType:t(o).type,eventId:t(o).id,filePath:t(p),hasDiffString:!!t(J)(),hasOldNewContent:t(z)(),hasDiffContents:!!t(k),dataAdditions:a?.additions,dataDeletions:a?.deletions})}});var ht={get tab(){return L()},set tab(a){L(a),M()},get workspaceId(){return _()},set workspaceId(a){_(a),M()},get isActive(){return U()},set isActive(a){U(a),M()},$set:Tt,$on:(a,i)=>kt(n,a,i)},K=At(),mt=X(K);{var vt=a=>{var i=Zt(),g=I(i);{var C=l=>{var h=Yt(),$=I(h),j=P($,!0);A(h),F(_t=>S(j,_t),[()=>y.layout_activityChanges_partialDiff_label({line:t(W)??0})]),w(l,h)};E(g,l=>{t(pt)&&l(C)})}var b=N(g,2),m=I(b);St(m,()=>`${t(o)?.id}-${t(p)}`,l=>{{let h=f(()=>s()?"split":"unified");Lt(l,{get change(){return t(gt)},get workspaceId(){return _()},get viewMode(){return t(h)},get foldUnchanged(){return c()},get lineWrapping(){return d()},get lineOffset(){return t(W)}})}}),A(b),A(i),w(a,i)},Ct=a=>{var i=te(),g=I(i),C=P(g,!0),b=N(g,2),m=P(b,!0);A(i),F((l,h)=>{S(C,l),S(m,h)},[()=>y.layout_activityChanges_noDiffStored_label(),()=>y.layout_activityChanges_diffNotCaptured_description()]),w(a,i)},bt=a=>{var i=ne(),g=I(i),C=P(g,!0),b=N(g,2);{var m=l=>{var h=ee(),$=P(h,!0);F(j=>S($,j),[()=>y.layout_activityChanges_eventType_label({type:t(o).type})]),w(l,h)};E(b,l=>{t(o)&&l(m)})}A(i),F(l=>S(C,l),[()=>y.layout_activityChanges_noChanges_label()]),w(a,i)};E(mt,a=>{t(p)&&t(k)?a(vt):t(p)?a(Ct,1):a(bt,-1)})}w(e,K);var yt=Pt(ht);return nt(),yt}export{ae as default};
@@ -1 +1 @@
1
- import{t as mt,bo as h,bw as dt,bq as ut,b as ft,bs as _,bm as D}from"./51_h0jm2.js";import{bs as gt,ca as T,aD as e,bj as vt,a7 as b,ay as m,W as d,bn as _t,c9 as i,cd as j,aA as k,bS as bt,aB as $t}from"./CJxGDkBm.js";import{i as A}from"./PXCFrn2V.js";import{k as q}from"./C9UsZ4re.js";import{c as z}from"./DGmOjLYi.js";import{aw as It,cS as wt}from"./DSQT151l.js";import{dz as St,dX as ht}from"./XJqoy2ap.js";import{S as kt,c as Ct}from"./DRLOB6Gw.js";import{selectScriptById as yt,selectCanDeleteScript as xt}from"./B5L5kFMu.js";import"./CpPNoOk-.js";import"./DxvSggY5.js";import"./CF1Tu_8c.js";import"./DmhHEMPi.js";import{M as J}from"./CqesqBNM.js";import{g as Dt}from"./BrMXrCxP.js";import{T as Tt}from"./WHfdsTrE.js";import{t as At,e as Bt}from"./C9r0mVfa.js";import{J4 as B,Dd as Vt,vh as Wt,gS as Rt}from"./Zldsekdv.js";var Ht=$t("<!> <!>",1);function Mt(V,c){if(new.target)return mt({component:Mt,...V});gt(c,!0);const $=()=>_(K,"$fullContext$",u),P=()=>_(Q,"$canDeleteScript$",u),X=()=>_(L,"$scriptContext$",u),E=()=>_(N,"$script$",u),W=()=>_(U,"$homeView$",u),[u,F]=ut(),G=t=>{var r=b(),n=m(r);{var f=g=>{var w=Ht(),O=m(w);{let v=i(()=>D.workspace_shell_showInBottomBar_tooltip());z(O,()=>J,(S,x)=>{x(S,{get icon(){return It},get label(){return e(v)},onclick:Z,"data-move-to-bottom-bar":!0})})}var st=bt(O,2);{var nt=v=>{var S=b(),x=m(S);{let it=i(()=>D.scripts_delete_label()),ct=i(()=>P()?void 0:D.scripts_delete_disabled_description());z(x,()=>J,(lt,pt)=>{pt(lt,{get icon(){return wt},get label(){return e(it)},destructive:!0,get disabledReason(){return e(ct)},onclick:Y})})}d(v,S)};A(st,v=>{e(o)&&v(nt)})}d(g,w)};A(n,g=>{$()&&g(f)})}d(t,r)};let s=h(c,"tab",7),a=h(c,"workspaceId",7),C=h(c,"layoutId",7),l=h(c,"isActive",7);const I=i(()=>s().terminalId),o=i(()=>s().scriptId),R=Dt(),p=j(""),y=j("");T(()=>p.set(a())),T(()=>y.set(e(o)??""));const K=St(p),L=ht(p),N=yt(p,y),Q=xt(p,y),U=At(p);let H=!0;vt(()=>{H=!1});function Y(){if(!e(o))return;const t=a(),r=e(o),n=s().id;return Ct(t,r,()=>H&&l()&&a()===t&&e(o)===r&&s().id===n)}function Z(){$()&&(e(o)&&B.dispatch(Vt(a(),e(o))),B.dispatch(Wt(a(),e(I))),B.dispatch(Rt(C()??a(),s().id)))}T(()=>{if(!(!R||!l()))return R.registerActions({actions:G})});var tt={get tab(){return s()},set tab(t){s(t),k()},get workspaceId(){return a()},set workspaceId(t){a(t),k()},get layoutId(){return C()},set layoutId(t){C(t),k()},get isActive(){return l()},set isActive(t){l(t),k()},$set:dt,$on:(t,r)=>ft(c,t,r)},M=b(),et=m(M);{var rt=t=>{var r=b(),n=m(r);q(n,()=>e(o),f=>{{let g=i(()=>W()?.unavailable===!0),w=i(()=>Bt(W()));kt(f,{get scriptId(){return e(o)},get workspaceId(){return a()},class:"h-full",get runDisabled(){return e(g)},get runDisabledReason(){return e(w)}})}}),d(t,r)},at=t=>{var r=b(),n=m(r);q(n,()=>e(I),f=>{Tt(f,{get terminalId(){return e(I)},get workspaceId(){return a()},class:"h-full"})}),d(t,r)};A(et,t=>{e(o)&&l()&&X()&&($()||E())?t(rt):e(I)&&l()&&$()&&t(at,1)})}d(V,M);var ot=_t(tt);return F(),ot}export{Mt as default};
1
+ import{t as mt,bo as h,bw as dt,bq as ut,b as ft,bs as _,bm as D}from"./51_h0jm2.js";import{bs as gt,ca as T,aD as e,bj as vt,a7 as b,ay as m,W as d,bn as _t,c9 as i,cd as j,aA as k,bS as bt,aB as $t}from"./CJxGDkBm.js";import{i as A}from"./PXCFrn2V.js";import{k as q}from"./C9UsZ4re.js";import{c as z}from"./DGmOjLYi.js";import{aw as It,cS as wt}from"./DSQT151l.js";import{dz as St,dX as ht}from"./XJqoy2ap.js";import{S as kt,c as Ct}from"./CzmcyLb_.js";import{selectScriptById as yt,selectCanDeleteScript as xt}from"./s3nd6_cp.js";import"./CpPNoOk-.js";import"./DxvSggY5.js";import"./CF1Tu_8c.js";import"./DmhHEMPi.js";import{M as J}from"./CqesqBNM.js";import{g as Dt}from"./BrMXrCxP.js";import{T as Tt}from"./WHfdsTrE.js";import{t as At,e as Bt}from"./C9r0mVfa.js";import{J4 as B,Dd as Vt,vh as Wt,gS as Rt}from"./Zldsekdv.js";var Ht=$t("<!> <!>",1);function Mt(V,c){if(new.target)return mt({component:Mt,...V});gt(c,!0);const $=()=>_(K,"$fullContext$",u),P=()=>_(Q,"$canDeleteScript$",u),X=()=>_(L,"$scriptContext$",u),E=()=>_(N,"$script$",u),W=()=>_(U,"$homeView$",u),[u,F]=ut(),G=t=>{var r=b(),n=m(r);{var f=g=>{var w=Ht(),O=m(w);{let v=i(()=>D.workspace_shell_showInBottomBar_tooltip());z(O,()=>J,(S,x)=>{x(S,{get icon(){return It},get label(){return e(v)},onclick:Z,"data-move-to-bottom-bar":!0})})}var st=bt(O,2);{var nt=v=>{var S=b(),x=m(S);{let it=i(()=>D.scripts_delete_label()),ct=i(()=>P()?void 0:D.scripts_delete_disabled_description());z(x,()=>J,(lt,pt)=>{pt(lt,{get icon(){return wt},get label(){return e(it)},destructive:!0,get disabledReason(){return e(ct)},onclick:Y})})}d(v,S)};A(st,v=>{e(o)&&v(nt)})}d(g,w)};A(n,g=>{$()&&g(f)})}d(t,r)};let s=h(c,"tab",7),a=h(c,"workspaceId",7),C=h(c,"layoutId",7),l=h(c,"isActive",7);const I=i(()=>s().terminalId),o=i(()=>s().scriptId),R=Dt(),p=j(""),y=j("");T(()=>p.set(a())),T(()=>y.set(e(o)??""));const K=St(p),L=ht(p),N=yt(p,y),Q=xt(p,y),U=At(p);let H=!0;vt(()=>{H=!1});function Y(){if(!e(o))return;const t=a(),r=e(o),n=s().id;return Ct(t,r,()=>H&&l()&&a()===t&&e(o)===r&&s().id===n)}function Z(){$()&&(e(o)&&B.dispatch(Vt(a(),e(o))),B.dispatch(Wt(a(),e(I))),B.dispatch(Rt(C()??a(),s().id)))}T(()=>{if(!(!R||!l()))return R.registerActions({actions:G})});var tt={get tab(){return s()},set tab(t){s(t),k()},get workspaceId(){return a()},set workspaceId(t){a(t),k()},get layoutId(){return C()},set layoutId(t){C(t),k()},get isActive(){return l()},set isActive(t){l(t),k()},$set:dt,$on:(t,r)=>ft(c,t,r)},M=b(),et=m(M);{var rt=t=>{var r=b(),n=m(r);q(n,()=>e(o),f=>{{let g=i(()=>W()?.unavailable===!0),w=i(()=>Bt(W()));kt(f,{get scriptId(){return e(o)},get workspaceId(){return a()},class:"h-full",get runDisabled(){return e(g)},get runDisabledReason(){return e(w)}})}}),d(t,r)},at=t=>{var r=b(),n=m(r);q(n,()=>e(I),f=>{Tt(f,{get terminalId(){return e(I)},get workspaceId(){return a()},class:"h-full"})}),d(t,r)};A(et,t=>{e(o)&&l()&&X()&&($()||E())?t(rt):e(I)&&l()&&$()&&t(at,1)})}d(V,M);var ot=_t(tt);return F(),ot}export{Mt as default};
@@ -1,4 +1,4 @@
1
- import{g as ie}from"./S5vPfW1A.js";import{s as re}from"./CJj_lU-4.js";import{b as p,ay as b,X as $,a1 as ae,aP as ne,bh as oe,V as le,a_ as ce,U as he,aZ as de,b0 as ue,Y as fe,T as pe,z as j,r as Se,aW as vt,am as ge,aU as ye,ab as me,aG as Te}from"./DrBi0w5G.js";import{c as Ee}from"./B2CG0f08.js";import{aR as _e}from"./uWDJKH9B.js";var At=(function(){var t=p(function(V,o,f,n){for(f=f||{},n=V.length;n--;f[V[n]]=o);return f},"o"),e=[1,2],s=[1,3],a=[1,4],r=[2,4],c=[1,9],h=[1,11],u=[1,16],l=[1,17],m=[1,18],y=[1,19],_=[1,33],L=[1,20],N=[1,21],D=[1,22],S=[1,23],w=[1,24],C=[1,26],F=[1,27],I=[1,28],P=[1,29],v=[1,30],z=[1,31],at=[1,32],nt=[1,35],ot=[1,36],lt=[1,37],ct=[1,38],K=[1,34],g=[1,4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],ht=[1,4,5,14,15,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,39,40,41,45,48,51,52,53,54,57],It=[4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],mt={trace:p(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SPACE:4,NL:5,SD:6,document:7,line:8,statement:9,classDefStatement:10,styleStatement:11,cssClassStatement:12,idStatement:13,DESCR:14,"-->":15,HIDE_EMPTY:16,scale:17,WIDTH:18,COMPOSIT_STATE:19,STRUCT_START:20,STRUCT_STOP:21,STATE_DESCR:22,AS:23,ID:24,FORK:25,JOIN:26,CHOICE:27,CONCURRENT:28,note:29,notePosition:30,NOTE_TEXT:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,CLICK:38,STRING:39,HREF:40,classDef:41,CLASSDEF_ID:42,CLASSDEF_STYLEOPTS:43,DEFAULT:44,style:45,STYLE_IDS:46,STYLEDEF_STYLEOPTS:47,class:48,CLASSENTITY_IDS:49,STYLECLASS:50,direction_tb:51,direction_bt:52,direction_rl:53,direction_lr:54,eol:55,";":56,EDGE_STATE:57,STYLE_SEPARATOR:58,left_of:59,right_of:60,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NL",6:"SD",14:"DESCR",15:"-->",16:"HIDE_EMPTY",17:"scale",18:"WIDTH",19:"COMPOSIT_STATE",20:"STRUCT_START",21:"STRUCT_STOP",22:"STATE_DESCR",23:"AS",24:"ID",25:"FORK",26:"JOIN",27:"CHOICE",28:"CONCURRENT",29:"note",31:"NOTE_TEXT",33:"acc_title",34:"acc_title_value",35:"acc_descr",36:"acc_descr_value",37:"acc_descr_multiline_value",38:"CLICK",39:"STRING",40:"HREF",41:"classDef",42:"CLASSDEF_ID",43:"CLASSDEF_STYLEOPTS",44:"DEFAULT",45:"style",46:"STYLE_IDS",47:"STYLEDEF_STYLEOPTS",48:"class",49:"CLASSENTITY_IDS",50:"STYLECLASS",51:"direction_tb",52:"direction_bt",53:"direction_rl",54:"direction_lr",56:";",57:"EDGE_STATE",58:"STYLE_SEPARATOR",59:"left_of",60:"right_of"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,3],[9,4],[9,1],[9,2],[9,1],[9,4],[9,3],[9,6],[9,1],[9,1],[9,1],[9,1],[9,4],[9,4],[9,1],[9,2],[9,2],[9,1],[9,5],[9,5],[10,3],[10,3],[11,3],[12,3],[32,1],[32,1],[32,1],[32,1],[55,1],[55,1],[13,1],[13,1],[13,3],[13,3],[30,1],[30,1]],performAction:p(function(o,f,n,T,E,i,B){var d=i.length-1;switch(E){case 3:return T.setRootDoc(i[d]),i[d];case 4:this.$=[];break;case 5:i[d]!="nl"&&(i[d-1].push(i[d]),this.$=i[d-1]);break;case 6:case 7:this.$=i[d];break;case 8:this.$="nl";break;case 12:this.$=i[d];break;case 13:const Q=i[d-1];Q.description=T.trimColon(i[d]),this.$=Q;break;case 14:this.$={stmt:"relation",state1:i[d-2],state2:i[d]};break;case 15:const Tt=T.trimColon(i[d]);this.$={stmt:"relation",state1:i[d-3],state2:i[d-1],description:Tt};break;case 19:this.$={stmt:"state",id:i[d-3],type:"default",description:"",doc:i[d-1]};break;case 20:var G=i[d],X=i[d-2].trim();if(i[d].match(":")){var ut=i[d].split(":");G=ut[0],X=[X,ut[1]]}this.$={stmt:"state",id:G,type:"default",description:X};break;case 21:this.$={stmt:"state",id:i[d-3],type:"default",description:i[d-5],doc:i[d-1]};break;case 22:this.$={stmt:"state",id:i[d],type:"fork"};break;case 23:this.$={stmt:"state",id:i[d],type:"join"};break;case 24:this.$={stmt:"state",id:i[d],type:"choice"};break;case 25:this.$={stmt:"state",id:T.getDividerId(),type:"divider"};break;case 26:this.$={stmt:"state",id:i[d-1].trim(),note:{position:i[d-2].trim(),text:i[d].trim()}};break;case 29:this.$=i[d].trim(),T.setAccTitle(this.$);break;case 30:case 31:this.$=i[d].trim(),T.setAccDescription(this.$);break;case 32:this.$={stmt:"click",id:i[d-3],url:i[d-2],tooltip:i[d-1]};break;case 33:this.$={stmt:"click",id:i[d-3],url:i[d-1],tooltip:""};break;case 34:case 35:this.$={stmt:"classDef",id:i[d-1].trim(),classes:i[d].trim()};break;case 36:this.$={stmt:"style",id:i[d-1].trim(),styleClass:i[d].trim()};break;case 37:this.$={stmt:"applyClass",id:i[d-1].trim(),styleClass:i[d].trim()};break;case 38:T.setDirection("TB"),this.$={stmt:"dir",value:"TB"};break;case 39:T.setDirection("BT"),this.$={stmt:"dir",value:"BT"};break;case 40:T.setDirection("RL"),this.$={stmt:"dir",value:"RL"};break;case 41:T.setDirection("LR"),this.$={stmt:"dir",value:"LR"};break;case 44:case 45:this.$={stmt:"state",id:i[d].trim(),type:"default",description:""};break;case 46:this.$={stmt:"state",id:i[d-2].trim(),classes:[i[d].trim()],type:"default",description:""};break;case 47:this.$={stmt:"state",id:i[d-2].trim(),classes:[i[d].trim()],type:"default",description:""};break}},"anonymous"),table:[{3:1,4:e,5:s,6:a},{1:[3]},{3:5,4:e,5:s,6:a},{3:6,4:e,5:s,6:a},t([1,4,5,16,17,19,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],r,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:c,5:h,8:8,9:10,10:12,11:13,12:14,13:15,16:u,17:l,19:m,22:y,24:_,25:L,26:N,27:D,28:S,29:w,32:25,33:C,35:F,37:I,38:P,41:v,45:z,48:at,51:nt,52:ot,53:lt,54:ct,57:K},t(g,[2,5]),{9:39,10:12,11:13,12:14,13:15,16:u,17:l,19:m,22:y,24:_,25:L,26:N,27:D,28:S,29:w,32:25,33:C,35:F,37:I,38:P,41:v,45:z,48:at,51:nt,52:ot,53:lt,54:ct,57:K},t(g,[2,7]),t(g,[2,8]),t(g,[2,9]),t(g,[2,10]),t(g,[2,11]),t(g,[2,12],{14:[1,40],15:[1,41]}),t(g,[2,16]),{18:[1,42]},t(g,[2,18],{20:[1,43]}),{23:[1,44]},t(g,[2,22]),t(g,[2,23]),t(g,[2,24]),t(g,[2,25]),{30:45,31:[1,46],59:[1,47],60:[1,48]},t(g,[2,28]),{34:[1,49]},{36:[1,50]},t(g,[2,31]),{13:51,24:_,57:K},{42:[1,52],44:[1,53]},{46:[1,54]},{49:[1,55]},t(ht,[2,44],{58:[1,56]}),t(ht,[2,45],{58:[1,57]}),t(g,[2,38]),t(g,[2,39]),t(g,[2,40]),t(g,[2,41]),t(g,[2,6]),t(g,[2,13]),{13:58,24:_,57:K},t(g,[2,17]),t(It,r,{7:59}),{24:[1,60]},{24:[1,61]},{23:[1,62]},{24:[2,48]},{24:[2,49]},t(g,[2,29]),t(g,[2,30]),{39:[1,63],40:[1,64]},{43:[1,65]},{43:[1,66]},{47:[1,67]},{50:[1,68]},{24:[1,69]},{24:[1,70]},t(g,[2,14],{14:[1,71]}),{4:c,5:h,8:8,9:10,10:12,11:13,12:14,13:15,16:u,17:l,19:m,21:[1,72],22:y,24:_,25:L,26:N,27:D,28:S,29:w,32:25,33:C,35:F,37:I,38:P,41:v,45:z,48:at,51:nt,52:ot,53:lt,54:ct,57:K},t(g,[2,20],{20:[1,73]}),{31:[1,74]},{24:[1,75]},{39:[1,76]},{39:[1,77]},t(g,[2,34]),t(g,[2,35]),t(g,[2,36]),t(g,[2,37]),t(ht,[2,46]),t(ht,[2,47]),t(g,[2,15]),t(g,[2,19]),t(It,r,{7:78}),t(g,[2,26]),t(g,[2,27]),{5:[1,79]},{5:[1,80]},{4:c,5:h,8:8,9:10,10:12,11:13,12:14,13:15,16:u,17:l,19:m,21:[1,81],22:y,24:_,25:L,26:N,27:D,28:S,29:w,32:25,33:C,35:F,37:I,38:P,41:v,45:z,48:at,51:nt,52:ot,53:lt,54:ct,57:K},t(g,[2,32]),t(g,[2,33]),t(g,[2,21])],defaultActions:{5:[2,1],6:[2,2],47:[2,48],48:[2,49]},parseError:p(function(o,f){if(f.recoverable)this.trace(o);else{var n=new Error(o);throw n.hash=f,n}},"parseError"),parse:p(function(o){var f=this,n=[0],T=[],E=[null],i=[],B=this.table,d="",G=0,X=0,ut=2,Q=1,Tt=i.slice.call(arguments,1),k=Object.create(this.lexer),W={yy:{}};for(var Et in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Et)&&(W.yy[Et]=this.yy[Et]);k.setInput(o,W.yy),W.yy.lexer=k,W.yy.parser=this,typeof k.yylloc>"u"&&(k.yylloc={});var _t=k.yylloc;i.push(_t);var ee=k.options&&k.options.ranges;typeof W.yy.parseError=="function"?this.parseError=W.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function se(R){n.length=n.length-2*R,E.length=E.length-R,i.length=i.length-R}p(se,"popStack");function Rt(){var R;return R=T.pop()||k.lex()||Q,typeof R!="number"&&(R instanceof Array&&(T=R,R=T.pop()),R=f.symbols_[R]||R),R}p(Rt,"lex");for(var x,U,O,bt,J={},ft,Y,Nt,pt;;){if(U=n[n.length-1],this.defaultActions[U]?O=this.defaultActions[U]:((x===null||typeof x>"u")&&(x=Rt()),O=B[U]&&B[U][x]),typeof O>"u"||!O.length||!O[0]){var kt="";pt=[];for(ft in B[U])this.terminals_[ft]&&ft>ut&&pt.push("'"+this.terminals_[ft]+"'");k.showPosition?kt="Parse error on line "+(G+1)+`:
1
+ import{g as ie}from"./BCSEMQfF.js";import{s as re}from"./C1VlgusM.js";import{b as p,ay as b,X as $,a1 as ae,aP as ne,bh as oe,V as le,a_ as ce,U as he,aZ as de,b0 as ue,Y as fe,T as pe,z as j,r as Se,aW as vt,am as ge,aU as ye,ab as me,aG as Te}from"./BOCp5eAe.js";import{c as Ee}from"./BHfEypjS.js";import{aR as _e}from"./D9NDL9ta.js";var At=(function(){var t=p(function(V,o,f,n){for(f=f||{},n=V.length;n--;f[V[n]]=o);return f},"o"),e=[1,2],s=[1,3],a=[1,4],r=[2,4],c=[1,9],h=[1,11],u=[1,16],l=[1,17],m=[1,18],y=[1,19],_=[1,33],L=[1,20],N=[1,21],D=[1,22],S=[1,23],w=[1,24],C=[1,26],F=[1,27],I=[1,28],P=[1,29],v=[1,30],z=[1,31],at=[1,32],nt=[1,35],ot=[1,36],lt=[1,37],ct=[1,38],K=[1,34],g=[1,4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],ht=[1,4,5,14,15,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,39,40,41,45,48,51,52,53,54,57],It=[4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],mt={trace:p(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SPACE:4,NL:5,SD:6,document:7,line:8,statement:9,classDefStatement:10,styleStatement:11,cssClassStatement:12,idStatement:13,DESCR:14,"-->":15,HIDE_EMPTY:16,scale:17,WIDTH:18,COMPOSIT_STATE:19,STRUCT_START:20,STRUCT_STOP:21,STATE_DESCR:22,AS:23,ID:24,FORK:25,JOIN:26,CHOICE:27,CONCURRENT:28,note:29,notePosition:30,NOTE_TEXT:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,CLICK:38,STRING:39,HREF:40,classDef:41,CLASSDEF_ID:42,CLASSDEF_STYLEOPTS:43,DEFAULT:44,style:45,STYLE_IDS:46,STYLEDEF_STYLEOPTS:47,class:48,CLASSENTITY_IDS:49,STYLECLASS:50,direction_tb:51,direction_bt:52,direction_rl:53,direction_lr:54,eol:55,";":56,EDGE_STATE:57,STYLE_SEPARATOR:58,left_of:59,right_of:60,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NL",6:"SD",14:"DESCR",15:"-->",16:"HIDE_EMPTY",17:"scale",18:"WIDTH",19:"COMPOSIT_STATE",20:"STRUCT_START",21:"STRUCT_STOP",22:"STATE_DESCR",23:"AS",24:"ID",25:"FORK",26:"JOIN",27:"CHOICE",28:"CONCURRENT",29:"note",31:"NOTE_TEXT",33:"acc_title",34:"acc_title_value",35:"acc_descr",36:"acc_descr_value",37:"acc_descr_multiline_value",38:"CLICK",39:"STRING",40:"HREF",41:"classDef",42:"CLASSDEF_ID",43:"CLASSDEF_STYLEOPTS",44:"DEFAULT",45:"style",46:"STYLE_IDS",47:"STYLEDEF_STYLEOPTS",48:"class",49:"CLASSENTITY_IDS",50:"STYLECLASS",51:"direction_tb",52:"direction_bt",53:"direction_rl",54:"direction_lr",56:";",57:"EDGE_STATE",58:"STYLE_SEPARATOR",59:"left_of",60:"right_of"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,3],[9,4],[9,1],[9,2],[9,1],[9,4],[9,3],[9,6],[9,1],[9,1],[9,1],[9,1],[9,4],[9,4],[9,1],[9,2],[9,2],[9,1],[9,5],[9,5],[10,3],[10,3],[11,3],[12,3],[32,1],[32,1],[32,1],[32,1],[55,1],[55,1],[13,1],[13,1],[13,3],[13,3],[30,1],[30,1]],performAction:p(function(o,f,n,T,E,i,B){var d=i.length-1;switch(E){case 3:return T.setRootDoc(i[d]),i[d];case 4:this.$=[];break;case 5:i[d]!="nl"&&(i[d-1].push(i[d]),this.$=i[d-1]);break;case 6:case 7:this.$=i[d];break;case 8:this.$="nl";break;case 12:this.$=i[d];break;case 13:const Q=i[d-1];Q.description=T.trimColon(i[d]),this.$=Q;break;case 14:this.$={stmt:"relation",state1:i[d-2],state2:i[d]};break;case 15:const Tt=T.trimColon(i[d]);this.$={stmt:"relation",state1:i[d-3],state2:i[d-1],description:Tt};break;case 19:this.$={stmt:"state",id:i[d-3],type:"default",description:"",doc:i[d-1]};break;case 20:var G=i[d],X=i[d-2].trim();if(i[d].match(":")){var ut=i[d].split(":");G=ut[0],X=[X,ut[1]]}this.$={stmt:"state",id:G,type:"default",description:X};break;case 21:this.$={stmt:"state",id:i[d-3],type:"default",description:i[d-5],doc:i[d-1]};break;case 22:this.$={stmt:"state",id:i[d],type:"fork"};break;case 23:this.$={stmt:"state",id:i[d],type:"join"};break;case 24:this.$={stmt:"state",id:i[d],type:"choice"};break;case 25:this.$={stmt:"state",id:T.getDividerId(),type:"divider"};break;case 26:this.$={stmt:"state",id:i[d-1].trim(),note:{position:i[d-2].trim(),text:i[d].trim()}};break;case 29:this.$=i[d].trim(),T.setAccTitle(this.$);break;case 30:case 31:this.$=i[d].trim(),T.setAccDescription(this.$);break;case 32:this.$={stmt:"click",id:i[d-3],url:i[d-2],tooltip:i[d-1]};break;case 33:this.$={stmt:"click",id:i[d-3],url:i[d-1],tooltip:""};break;case 34:case 35:this.$={stmt:"classDef",id:i[d-1].trim(),classes:i[d].trim()};break;case 36:this.$={stmt:"style",id:i[d-1].trim(),styleClass:i[d].trim()};break;case 37:this.$={stmt:"applyClass",id:i[d-1].trim(),styleClass:i[d].trim()};break;case 38:T.setDirection("TB"),this.$={stmt:"dir",value:"TB"};break;case 39:T.setDirection("BT"),this.$={stmt:"dir",value:"BT"};break;case 40:T.setDirection("RL"),this.$={stmt:"dir",value:"RL"};break;case 41:T.setDirection("LR"),this.$={stmt:"dir",value:"LR"};break;case 44:case 45:this.$={stmt:"state",id:i[d].trim(),type:"default",description:""};break;case 46:this.$={stmt:"state",id:i[d-2].trim(),classes:[i[d].trim()],type:"default",description:""};break;case 47:this.$={stmt:"state",id:i[d-2].trim(),classes:[i[d].trim()],type:"default",description:""};break}},"anonymous"),table:[{3:1,4:e,5:s,6:a},{1:[3]},{3:5,4:e,5:s,6:a},{3:6,4:e,5:s,6:a},t([1,4,5,16,17,19,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],r,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:c,5:h,8:8,9:10,10:12,11:13,12:14,13:15,16:u,17:l,19:m,22:y,24:_,25:L,26:N,27:D,28:S,29:w,32:25,33:C,35:F,37:I,38:P,41:v,45:z,48:at,51:nt,52:ot,53:lt,54:ct,57:K},t(g,[2,5]),{9:39,10:12,11:13,12:14,13:15,16:u,17:l,19:m,22:y,24:_,25:L,26:N,27:D,28:S,29:w,32:25,33:C,35:F,37:I,38:P,41:v,45:z,48:at,51:nt,52:ot,53:lt,54:ct,57:K},t(g,[2,7]),t(g,[2,8]),t(g,[2,9]),t(g,[2,10]),t(g,[2,11]),t(g,[2,12],{14:[1,40],15:[1,41]}),t(g,[2,16]),{18:[1,42]},t(g,[2,18],{20:[1,43]}),{23:[1,44]},t(g,[2,22]),t(g,[2,23]),t(g,[2,24]),t(g,[2,25]),{30:45,31:[1,46],59:[1,47],60:[1,48]},t(g,[2,28]),{34:[1,49]},{36:[1,50]},t(g,[2,31]),{13:51,24:_,57:K},{42:[1,52],44:[1,53]},{46:[1,54]},{49:[1,55]},t(ht,[2,44],{58:[1,56]}),t(ht,[2,45],{58:[1,57]}),t(g,[2,38]),t(g,[2,39]),t(g,[2,40]),t(g,[2,41]),t(g,[2,6]),t(g,[2,13]),{13:58,24:_,57:K},t(g,[2,17]),t(It,r,{7:59}),{24:[1,60]},{24:[1,61]},{23:[1,62]},{24:[2,48]},{24:[2,49]},t(g,[2,29]),t(g,[2,30]),{39:[1,63],40:[1,64]},{43:[1,65]},{43:[1,66]},{47:[1,67]},{50:[1,68]},{24:[1,69]},{24:[1,70]},t(g,[2,14],{14:[1,71]}),{4:c,5:h,8:8,9:10,10:12,11:13,12:14,13:15,16:u,17:l,19:m,21:[1,72],22:y,24:_,25:L,26:N,27:D,28:S,29:w,32:25,33:C,35:F,37:I,38:P,41:v,45:z,48:at,51:nt,52:ot,53:lt,54:ct,57:K},t(g,[2,20],{20:[1,73]}),{31:[1,74]},{24:[1,75]},{39:[1,76]},{39:[1,77]},t(g,[2,34]),t(g,[2,35]),t(g,[2,36]),t(g,[2,37]),t(ht,[2,46]),t(ht,[2,47]),t(g,[2,15]),t(g,[2,19]),t(It,r,{7:78}),t(g,[2,26]),t(g,[2,27]),{5:[1,79]},{5:[1,80]},{4:c,5:h,8:8,9:10,10:12,11:13,12:14,13:15,16:u,17:l,19:m,21:[1,81],22:y,24:_,25:L,26:N,27:D,28:S,29:w,32:25,33:C,35:F,37:I,38:P,41:v,45:z,48:at,51:nt,52:ot,53:lt,54:ct,57:K},t(g,[2,32]),t(g,[2,33]),t(g,[2,21])],defaultActions:{5:[2,1],6:[2,2],47:[2,48],48:[2,49]},parseError:p(function(o,f){if(f.recoverable)this.trace(o);else{var n=new Error(o);throw n.hash=f,n}},"parseError"),parse:p(function(o){var f=this,n=[0],T=[],E=[null],i=[],B=this.table,d="",G=0,X=0,ut=2,Q=1,Tt=i.slice.call(arguments,1),k=Object.create(this.lexer),W={yy:{}};for(var Et in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Et)&&(W.yy[Et]=this.yy[Et]);k.setInput(o,W.yy),W.yy.lexer=k,W.yy.parser=this,typeof k.yylloc>"u"&&(k.yylloc={});var _t=k.yylloc;i.push(_t);var ee=k.options&&k.options.ranges;typeof W.yy.parseError=="function"?this.parseError=W.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function se(R){n.length=n.length-2*R,E.length=E.length-R,i.length=i.length-R}p(se,"popStack");function Rt(){var R;return R=T.pop()||k.lex()||Q,typeof R!="number"&&(R instanceof Array&&(T=R,R=T.pop()),R=f.symbols_[R]||R),R}p(Rt,"lex");for(var x,U,O,bt,J={},ft,Y,Nt,pt;;){if(U=n[n.length-1],this.defaultActions[U]?O=this.defaultActions[U]:((x===null||typeof x>"u")&&(x=Rt()),O=B[U]&&B[U][x]),typeof O>"u"||!O.length||!O[0]){var kt="";pt=[];for(ft in B[U])this.terminals_[ft]&&ft>ut&&pt.push("'"+this.terminals_[ft]+"'");k.showPosition?kt="Parse error on line "+(G+1)+`:
2
2
  `+k.showPosition()+`
3
3
  Expecting `+pt.join(", ")+", got '"+(this.terminals_[x]||x)+"'":kt="Parse error on line "+(G+1)+": Unexpected "+(x==Q?"end of input":"'"+(this.terminals_[x]||x)+"'"),this.parseError(kt,{text:k.match,token:this.terminals_[x]||x,line:k.yylineno,loc:_t,expected:pt})}if(O[0]instanceof Array&&O.length>1)throw new Error("Parse Error: multiple actions possible at state: "+U+", token: "+x);switch(O[0]){case 1:n.push(x),E.push(k.yytext),i.push(k.yylloc),n.push(O[1]),x=null,X=k.yyleng,d=k.yytext,G=k.yylineno,_t=k.yylloc;break;case 2:if(Y=this.productions_[O[1]][1],J.$=E[E.length-Y],J._$={first_line:i[i.length-(Y||1)].first_line,last_line:i[i.length-1].last_line,first_column:i[i.length-(Y||1)].first_column,last_column:i[i.length-1].last_column},ee&&(J._$.range=[i[i.length-(Y||1)].range[0],i[i.length-1].range[1]]),bt=this.performAction.apply(J,[d,X,G,W.yy,O[1],E,i].concat(Tt)),typeof bt<"u")return bt;Y&&(n=n.slice(0,-1*Y*2),E=E.slice(0,-1*Y),i=i.slice(0,-1*Y)),n.push(this.productions_[O[1]][0]),E.push(J.$),i.push(J._$),Nt=B[n[n.length-2]][n[n.length-1]],n.push(Nt);break;case 3:return!0}}return!0},"parse")},te=(function(){var V={EOF:1,parseError:p(function(f,n){if(this.yy.parser)this.yy.parser.parseError(f,n);else throw new Error(f)},"parseError"),setInput:p(function(o,f){return this.yy=f||this.yy||{},this._input=o,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:p(function(){var o=this._input[0];this.yytext+=o,this.yyleng++,this.offset++,this.match+=o,this.matched+=o;var f=o.match(/(?:\r\n?|\n).*/g);return f?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),o},"input"),unput:p(function(o){var f=o.length,n=o.split(/(?:\r\n?|\n)/g);this._input=o+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-f),this.offset-=f;var T=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),n.length-1&&(this.yylineno-=n.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:n?(n.length===T.length?this.yylloc.first_column:0)+T[T.length-n.length].length-n[0].length:this.yylloc.first_column-f},this.options.ranges&&(this.yylloc.range=[E[0],E[0]+this.yyleng-f]),this.yyleng=this.yytext.length,this},"unput"),more:p(function(){return this._more=!0,this},"more"),reject:p(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:p(function(o){this.unput(this.match.slice(o))},"less"),pastInput:p(function(){var o=this.matched.substr(0,this.matched.length-this.match.length);return(o.length>20?"...":"")+o.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:p(function(){var o=this.match;return o.length<20&&(o+=this._input.substr(0,20-o.length)),(o.substr(0,20)+(o.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:p(function(){var o=this.pastInput(),f=new Array(o.length+1).join("-");return o+this.upcomingInput()+`
@@ -1,2 +1,2 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/Cp81xhuN.js","/app/immutable/chunks/51_h0jm2.js","/app/immutable/chunks/CJxGDkBm.js","/app/immutable/chunks/PXCFrn2V.js","/app/immutable/chunks/C9UsZ4re.js","/app/immutable/chunks/B3rtR-T9.js","/app/immutable/chunks/Bjy4ygfJ.js","/app/immutable/chunks/DxvSggY5.js","/app/immutable/chunks/CpPNoOk-.js","/app/immutable/chunks/CIyUrgF0.js","/app/immutable/assets/spinner.D_TRo5Hy.css","/app/immutable/chunks/DGmOjLYi.js","/app/immutable/chunks/SX1khnGy.js","/app/immutable/chunks/CqJQ3ikU.js","/app/immutable/chunks/Cdw_CIdg.js","/app/immutable/chunks/NtFyWdpR.js","/app/immutable/chunks/CF1Tu_8c.js","/app/immutable/chunks/BQDGTBxC.js","/app/immutable/chunks/uXuxG9cN.js","/app/immutable/assets/button.-yaUNjRS.css","/app/immutable/chunks/DqFWZ_g1.js","/app/immutable/chunks/JKboQXkL.js","/app/immutable/chunks/Zldsekdv.js","/app/immutable/chunks/PVXvIyE8.js","/app/immutable/chunks/ChTqQfQN.js","/app/immutable/chunks/BEklUrxK.js","/app/immutable/chunks/DxwfiAWm.js","/app/immutable/chunks/DJfJ5NWH.js","/app/immutable/chunks/DSQT151l.js","/app/immutable/chunks/BxwkoIbZ.js","/app/immutable/chunks/BoIfXiRv.js","/app/immutable/chunks/XJv96NUg.js","/app/immutable/assets/notify.B1j5oT2y.css","/app/immutable/chunks/M18r7swD.js","/app/immutable/chunks/Cdhrdfve.js","/app/immutable/chunks/BgDYQZ_0.js","/app/immutable/chunks/DKn1sQ32.js","/app/immutable/chunks/BLzqYDED.js","/app/immutable/chunks/DmhHEMPi.js","/app/immutable/assets/menu-footer.Ck5GCpgU.css","/app/immutable/chunks/CN-6Tr26.js","/app/immutable/assets/dialog.BtQTVchw.css","/app/immutable/chunks/BGP1lrgu.js","/app/immutable/assets/confirm.UE5obH5A.css","/app/immutable/chunks/B_QtiZYt.js","/app/immutable/chunks/BCBNqT5t.js","/app/immutable/chunks/C1McR-sz.js","/app/immutable/chunks/KykWEhyB.js","/app/immutable/chunks/D-g0wh54.js","/app/immutable/chunks/BsE4jMhr.js","/app/immutable/chunks/DAsc1V4f.js","/app/immutable/chunks/BsieX9dN.js","/app/immutable/chunks/Dukt1CUc.js","/app/immutable/assets/SettingsPage.CKvEnOAL.css","/app/immutable/chunks/BVUXyHGH.js","/app/immutable/chunks/DfTSMq0b.js","/app/immutable/chunks/CLg2G62j.js","/app/immutable/chunks/XJqoy2ap.js","/app/immutable/chunks/DypB-Dwi.js","/app/immutable/chunks/LKW_Bid7.js","/app/immutable/chunks/D-62MVd3.js","/app/immutable/chunks/nRmTo2Eh.js","/app/immutable/chunks/DCOxMTSf.js","/app/immutable/chunks/DMl4Z5o_.js","/app/immutable/chunks/BdWqymET.js","/app/immutable/chunks/CnM1-KSC.js","/app/immutable/chunks/CMiilI_P.js","/app/immutable/chunks/CC7to1B5.js","/app/immutable/chunks/DWLnWMNZ.js","/app/immutable/chunks/Bi5_2qbB.js","/app/immutable/chunks/DKwAaLwd.js","/app/immutable/chunks/Bs9TCQJX.js","/app/immutable/chunks/BuveYyQe.js","/app/immutable/chunks/oOuL5l8A.js","/app/immutable/chunks/DUItrdZb.js","/app/immutable/chunks/DVy6H5Ng.js","/app/immutable/chunks/B5aYN90J.js","/app/immutable/chunks/BgLPrJ77.js","/app/immutable/assets/slider.kL-wkHnx.css","/app/immutable/chunks/KAO5AtPr.js","/app/immutable/chunks/CC08YY4X.js","/app/immutable/chunks/CjswKKTa.js","/app/immutable/chunks/CQcEqK4G.js","/app/immutable/chunks/Ct_Zx4ru.js","/app/immutable/chunks/C5rcw_c7.js","/app/immutable/chunks/D-2bQKif.js","/app/immutable/chunks/CV10cSI4.js","/app/immutable/chunks/CFvGekuw.js","/app/immutable/chunks/DCv0ZqUq.js","/app/immutable/assets/DockScreenshotEditorWindow.DNkBhnHK.css","/app/immutable/assets/dock-tokens.C3wiNkmL.css","/app/immutable/chunks/uWDJKH9B.js","/app/immutable/chunks/Cs_DX3BC.js","/app/immutable/chunks/v2EYTTpI.js","/app/immutable/chunks/DWsHBNeU.js","/app/immutable/chunks/3_UV1UgL.js","/app/immutable/assets/select-viewport.CV-KWLNP.css","/app/immutable/chunks/DumeSIrz.js","/app/immutable/chunks/9wk-Hes5.js","/app/immutable/chunks/BEjEPSxp.js","/app/immutable/chunks/CQw_RyF_.js","/app/immutable/chunks/DWcAR6Dh.js","/app/immutable/chunks/Bn5goMn4.js","/app/immutable/chunks/C3-0e__R.js","/app/immutable/chunks/BsjFeGOg.js","/app/immutable/chunks/B9XvejAu.js","/app/immutable/assets/checkbox.D429NJZk.css","/app/immutable/chunks/5NOp7PNZ.js","/app/immutable/chunks/BswUVSRu.js","/app/immutable/chunks/CxVedbHg.js","/app/immutable/chunks/C3CJZFT3.js","/app/immutable/chunks/B0Z-1lwJ.js","/app/immutable/chunks/CxmJEenA.js","/app/immutable/chunks/BQGSaBlM.js","/app/immutable/chunks/DUctnn_k.js","/app/immutable/assets/directory-picker-service.Eai7L_H2.css","/app/immutable/chunks/DNieQhK8.js","/app/immutable/chunks/D0Z6csIX.js","/app/immutable/chunks/dx9b_0TP.js","/app/immutable/chunks/D1cY0pVs.js","/app/immutable/chunks/FmBB5PWm.js","/app/immutable/assets/AgentAvatar.CZKKHyEm.css","/app/immutable/assets/avatar-state.BzFIexJN.css","/app/immutable/chunks/BE2y8JEQ.js","/app/immutable/assets/TipTapEditor.BLRSTYT-.css","/app/immutable/chunks/CZ_Dk1nz.js","/app/immutable/chunks/Cl7NoY6M.js","/app/immutable/chunks/BUHAwVs7.js","/app/immutable/assets/AttachmentPreview.D_hsaikk.css","/app/immutable/chunks/a34jwGLW.js","/app/immutable/chunks/BqkCNgyL.js","/app/immutable/assets/DictationStopButton.DWUPhcKi.css","/app/immutable/chunks/C7RXZVwZ.js","/app/immutable/chunks/0jRiL-di.js","/app/immutable/chunks/DdkDv5Sd.js","/app/immutable/chunks/TaTYmBM5.js","/app/immutable/chunks/CqesqBNM.js","/app/immutable/chunks/4pFiTcXi.js","/app/immutable/chunks/D4q8ggLU.js","/app/immutable/chunks/BW94gUhQ.js","/app/immutable/chunks/BigcqNWS.js","/app/immutable/assets/TaskStatusIcon.sfU2TZ7a.css","/app/immutable/chunks/DWjKA8Pm.js","/app/immutable/chunks/CgXGPBF5.js","/app/immutable/chunks/FLNU8xuu.js","/app/immutable/assets/AgentCard.Cna0hri3.css","/app/immutable/chunks/DdkBNH3W.js","/app/immutable/chunks/BR5vKj6f.js","/app/immutable/assets/TrackedChangeDiffViewer.CveSjyPc.css","/app/immutable/chunks/C2jA6pM8.js","/app/immutable/chunks/Ck5xuk0H.js","/app/immutable/chunks/CcNhqKh5.js","/app/immutable/assets/syntax-highlighting.CrQGLq0X.css","/app/immutable/assets/CodeBlock.BezhEtUo.css","/app/immutable/chunks/DrBi0w5G.js","/app/immutable/chunks/BbIcudMY.js","/app/immutable/chunks/B0v5Qiob.js","/app/immutable/assets/DiagramPresentation.C2GLYoBN.css","/app/immutable/chunks/BxTyo7yU.js","/app/immutable/chunks/CDqnAH9U.js","/app/immutable/chunks/D0H3cACA.js","/app/immutable/chunks/D2MmXC4A.js","/app/immutable/chunks/CiyIhnuP.js","/app/immutable/assets/MarkdownViewer.D2MexjjT.css","/app/immutable/chunks/Deg_SlHr.js","/app/immutable/chunks/Cc2FSrQK.js","/app/immutable/chunks/DupNtpYi.js","/app/immutable/chunks/Dy_4BU07.js","/app/immutable/assets/workspace-key-menu.DrT-Fxqq.css","/app/immutable/chunks/BOXv-Vsz.js","/app/immutable/chunks/YqTahsxp.js","/app/immutable/chunks/hHeBjODU.js","/app/immutable/chunks/ByCxDC-R.js","/app/immutable/chunks/Qnx8Hmfg.js","/app/immutable/assets/StreamingDiagramRenderer.BShsSvPz.css","/app/immutable/assets/chat-search.Cjb73igJ.css","/app/immutable/chunks/D3SYIfTl.js","/app/immutable/chunks/Dz5-AChV.js","/app/immutable/chunks/CQkTODWA.js","/app/immutable/chunks/CuHlAB4d.js","/app/immutable/chunks/Bo900RGs.js","/app/immutable/chunks/DcmaumPg.js","/app/immutable/chunks/BW6PhteS.js","/app/immutable/chunks/93RUSyHg.js","/app/immutable/chunks/Bf02lG8Y.js","/app/immutable/chunks/CtFSFfLz.js","/app/immutable/assets/AgentAvatarStack.DOhClFuX.css","/app/immutable/chunks/eln8hjjQ.js","/app/immutable/assets/conversation-turns.BHHyRLdd.css","/app/immutable/chunks/DyBkeTEM.js","/app/immutable/chunks/CASKMy_V.js","/app/immutable/chunks/0NGflniG.js","/app/immutable/chunks/7Uk2VvOl.js","/app/immutable/chunks/BuLzqNKd.js","/app/immutable/chunks/DLEm9Cyg.js","/app/immutable/chunks/CF2xUnmW.js","/app/immutable/chunks/CatLGfTW.js","/app/immutable/chunks/H2jLkRRS.js","/app/immutable/chunks/BUNNt_Jr.js","/app/immutable/assets/WorkspaceSetupCard.DNLkSKZg.css","/app/immutable/chunks/DtnAdLQg.js","/app/immutable/chunks/DL6gGkHp.js","/app/immutable/assets/DockRecordingEditor.BX1NXczK.css","/app/immutable/chunks/6i_wfV3v.js","/app/immutable/chunks/BVVyDeyd.js","/app/immutable/assets/ChatPanel.B73KM22O.css","/app/immutable/assets/HomeWorkspaceDetail.Dp5EWw2P.css","/app/immutable/chunks/BTYfh5fW.js","/app/immutable/chunks/zhSFUcJz.js","/app/immutable/chunks/CQ409-Pj.js","/app/immutable/chunks/BDbtK9be.js","/app/immutable/chunks/CXXVPWBH.js","/app/immutable/chunks/BrMXrCxP.js","/app/immutable/chunks/Dbpb1w7S.js","/app/immutable/chunks/DfSzfqox.js","/app/immutable/assets/BrowserTabType.DojB6H-_.css","/app/immutable/chunks/BkrPhcBU.js","/app/immutable/chunks/DRLOB6Gw.js","/app/immutable/chunks/5vm8eILD.js","/app/immutable/chunks/dSvJdwG_.js","/app/immutable/chunks/BnRltR11.js","/app/immutable/chunks/BX9VoS92.js","/app/immutable/chunks/ByfLGh4b.js","/app/immutable/chunks/DyHCBf0T.js","/app/immutable/assets/register.CUyDR59i.css","/app/immutable/assets/terminal-manager.MhP_vFvK.css","/app/immutable/chunks/B5L5kFMu.js","/app/immutable/assets/confirm-script-deletion.CqNa5NIC.css","/app/immutable/chunks/WHfdsTrE.js","/app/immutable/assets/Terminal.Ddek5eNE.css","/app/immutable/chunks/C9r0mVfa.js","/app/immutable/chunks/TrRXD94r.js","/app/immutable/chunks/BJTl-SyI.js","/app/immutable/chunks/C_qOm4aX.js","/app/immutable/chunks/DqgCp5ae.js","/app/immutable/chunks/E_jRuW-b.js","/app/immutable/chunks/XPs8BW44.js","/app/immutable/chunks/Cu0mADIg.js","/app/immutable/chunks/CSiaiLHL.js","/app/immutable/chunks/Cu91VTQn.js","/app/immutable/chunks/Bp0nVWtT.js","/app/immutable/chunks/CLZkKjaI.js","/app/immutable/chunks/CGOlqeU_.js","/app/immutable/chunks/CoeUPp7o.js","/app/immutable/chunks/BgJ-6yg0.js","/app/immutable/assets/AgentOverviewTabType.DU1WpoFR.css","/app/immutable/chunks/DlqetqWw.js","/app/immutable/chunks/CNAilJvj.js","/app/immutable/chunks/b-bXytVF.js","/app/immutable/chunks/BTIkMWVv.js","/app/immutable/chunks/BUtBz-tz.js","/app/immutable/assets/DiscussionTabType.D3Laoutn.css","/app/immutable/chunks/DPLuga0X.js","/app/immutable/chunks/BR9s3igW.js","/app/immutable/chunks/Gr7b8MIr.js","/app/immutable/assets/CodeEditor.Bq04Rj-N.css","/app/immutable/chunks/DYmzWBEk.js","/app/immutable/assets/LineChangesBadge.CJ0J_Z0k.css","/app/immutable/chunks/L3AlUw84.js","/app/immutable/assets/NoteTabType.AG_iwaNn.css","/app/immutable/chunks/Druyrynh.js","/app/immutable/chunks/iBqqkWL_.js","/app/immutable/chunks/sG8VksRm.js","/app/immutable/chunks/ge7HDe-3.js","/app/immutable/assets/FileTabType.BUKcoHE1.css","/app/immutable/chunks/CLalkdxk.js","/app/immutable/chunks/CpL3Nqus.js","/app/immutable/chunks/tVHyNPqL.js","/app/immutable/chunks/C7H74phM.js","/app/immutable/assets/ChatChangesPanel.BQqG1JnE.css","/app/immutable/chunks/Cmm2Uwq6.js","/app/immutable/chunks/B5ht1e3g.js","/app/immutable/chunks/DaXgwzm7.js","/app/immutable/chunks/s1m3ujOc.js","/app/immutable/chunks/DPPtpHwn.js","/app/immutable/chunks/CMMep18j.js","/app/immutable/chunks/BZ9svoQk.js"])))=>i.map(i=>d[i]);
2
- import{bm as e,_ as c,t as Te,bo as ie,bw as he,b as ke}from"./51_h0jm2.js";import{t as u}from"./aHO4L7kg.js";import{bD as ue,bv as Ve,cK as Ne,aO as $e,cn as Me,aV as ge,bg as Ke,aN as Be,aM as Ge,bs as He,bL as qe,b_ as Fe,bJ as je,F as Ue}from"./DSQT151l.js";import{R as H}from"./CJCoBdox.js";import{bs as we,ca as Q,bH as v,aD as t,bV as K,br as ze,a7 as q,ay as M,W as p,bn as Le,c9 as b,aA as ne,a5 as X,bA as Z,bS as ye,aw as Ye,aB as W,be as F,b$ as x,b_ as I,bO as E,bl as Je,bk as Qe}from"./CJxGDkBm.js";import{i as D}from"./PXCFrn2V.js";import{s as fe}from"./CpPNoOk-.js";import{L as me}from"./BUHAwVs7.js";import{C as Xe,L as be}from"./M18r7swD.js";import{I as Ze}from"./BgDYQZ_0.js";import"./DKn1sQ32.js";import"./BGP1lrgu.js";import{f as le}from"./Cdw_CIdg.js";import{v as Ie}from"./CF1Tu_8c.js";import"./CN-6Tr26.js";import"./DxvSggY5.js";import{I as ve}from"./Bjy4ygfJ.js";import{I as et}from"./CqJQ3ikU.js";import"./BQDGTBxC.js";import{a as tt}from"./BdWqymET.js";function xt(){u.register({type:"workspace",loadComponent:()=>c(()=>import("./Cp81xhuN.js"),__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,37,38,39,40,41,42,43,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,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206]),import.meta.url),defaultWidthTier:"wide",icon:ue,get defaultTitle(){return e.workspace_page_workspaceResource_label()},get categoryLabel(){return e.workspace_page_workspaceResource_label()},renameable:!1}),u.register({type:"browser",loadComponent:()=>c(()=>import("./BTYfh5fW.js"),__vite__mapDeps([207,1,2,3,11,6,7,8,9,10,15,208,22,23,24,25,26,18,13,4,67,14,16,17,19,12,20,21,27,28,29,30,31,32,45,33,34,35,36,37,38,39,40,41,42,43,44,46,76,68,57,58,59,62,63,64,69,70,71,72,73,74,75,179,91,92,85,180,209,123,210,125,52,136,84,211,99,100,212,108,109,110,111,112,213,214,113,215]),import.meta.url),defaultWidthTier:"wide",icon:Ve,get defaultTitle(){return e.layout_tabTypes_browser_title()},get categoryLabel(){return e.layout_tabTypes_browser_category()},sidebarTabId:"browser",renameable:!1}),u.register({type:"terminal",loadComponent:()=>c(()=>import("./BkrPhcBU.js"),__vite__mapDeps([216,1,2,3,4,11,28,7,8,9,10,6,57,18,22,23,24,25,26,13,58,16,17,19,59,20,217,15,218,219,64,63,92,76,85,73,220,221,222,223,224,111,209,189,225,14,12,21,27,29,30,31,32,210,226,68,62,69,70,71,72,74,75,36,42,43,40,41,214,227,38,35,39,136,33,34,37,44,45,46,212,228,147,229,230,113,231]),import.meta.url),defaultWidthTier:"medium",icon:Ne,get defaultTitle(){return e.layout_tabTypes_terminal_title()},get categoryLabel(){return e.layout_tabTypes_terminal_category()},sidebarTabId:"terminals",renameable:!1}),u.register({type:"code-review",loadComponent:()=>c(()=>import("./BJTl-SyI.js"),__vite__mapDeps([232,1,2,22,23,24,25,9,7,26,18,13,3,29,6,8,10,57,28,11,58,16,17,19,59,20,213,72,73,75,91,68,12,14,15,4,21,27,30,31,32,62,63,64,69,70,71,74,76,92,85,214,179,180,113,233,234,176,82,86,177,178,130,132,133,142,226,165,235,231,236,36,42,43,40,41,112,111,170,189,210,143,135,67,237,238,239,240,241,197,149,108,109,110,242,243,220,221,222,223,224,140,151,152,35,162,80,65,66,33,34,37,38,39,44,45,46,77,78,79,50,51,117,163,125,52]),import.meta.url),defaultWidthTier:"wide",icon:$e,get defaultTitle(){return e.layout_tabTypes_codeReview_title()},get categoryLabel(){return e.layout_tabTypes_codeReview_category()},renameable:!1}),u.register({type:"agent-overview",loadComponent:()=>c(()=>import("./BgJ-6yg0.js"),__vite__mapDeps([244,1,2,3,6,7,8,9,10,15,14,16,13,17,18,19,11,4,119,120,121,71,22,23,24,25,26,72,73,74,57,28,58,59,20,75,76,122,12,21,27,29,30,31,32,156,79,51,176,82,86,62,63,64,177,178,130,91,68,69,70,92,85,132,133,142,108,109,110,111,112,245]),import.meta.url),defaultWidthTier:"narrow",icon:Me,get defaultTitle(){return e.layout_tabTypes_agentOverview_title()},get categoryLabel(){return e.layout_tabTypes_agents_category()},renameable:!1}),u.register({type:"agent",loadComponent:()=>c(()=>import("./DlqetqWw.js"),__vite__mapDeps([246,1,2,3,4,6,7,8,9,10,11,15,68,12,13,14,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,57,58,59,62,63,64,69,70,71,72,73,74,75,76,247,248,235,234,113,92,85,133,203,44,45,212,237,132,91,238,102,35,36,47,48,49,42,43,50,51,52,53,103,38,39,104,84,34,37,40,41,67,80,33,46,105,106,79,107,95,96,108,109,110,111,112,114,115,192,54,55,56,60,61,65,66,77,78,81,82,83,86,87,88,89,90,93,94,97,98,99,100,101,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,193,194,195,196,197,198,199,200,201,202,204,205,214,213]),import.meta.url),defaultWidthTier:"chat",icon:ge,get defaultTitle(){return e.layout_tabTypes_agent_title()},get categoryLabel(){return e.layout_tabTypes_agents_category()},sidebarTabId:"agents",renameable:!0}),u.register({type:"discussion",loadComponent:()=>c(()=>import("./BTIkMWVv.js"),__vite__mapDeps([249,1,2,3,4,11,8,9,7,10,16,13,17,18,19,38,6,29,35,15,36,14,39,33,34,37,27,40,41,28,42,31,43,44,45,46,21,22,23,24,25,26,214,12,20,30,32,57,58,59,68,62,63,64,69,70,71,72,73,74,75,76,91,92,85,192,87,88,60,114,120,121,125,52,159,80,162,140,65,66,67,77,78,79,50,51,117,163,99,100,48,233,213,179,180,113,234,176,82,86,177,178,130,132,133,142,226,165,235,231,236,112,111,170,189,210,143,135,237,238,239,240,241,197,149,108,109,110,242,243,220,221,222,223,224,129,131,250,98,94,95,49,96,97,118,212,251]),import.meta.url),defaultWidthTier:"chat",icon:ge,get defaultTitle(){return e.workspace_discussion_title()},get categoryLabel(){return e.workspace_discussion_list_label()},sidebarTabId:"people",renameable:!1}),u.register({type:"note",loadComponent:()=>c(()=>import("./DPLuga0X.js"),__vite__mapDeps([252,1,2,3,11,57,18,9,22,23,24,25,7,26,13,28,8,10,6,58,16,17,19,59,20,212,179,91,68,12,14,15,4,21,27,29,30,31,32,62,63,64,69,70,71,72,73,74,75,76,92,85,180,35,36,79,87,88,50,51,33,34,37,38,39,40,41,42,43,44,45,46,117,120,121,138,139,140,141,116,67,52,65,66,77,78,80,61,118,114,119,122,123,100,124,233,213,214,113,234,176,82,86,177,178,130,132,133,142,226,165,235,231,236,112,111,170,189,210,143,135,237,238,239,240,241,197,149,108,109,110,242,243,220,221,222,223,224,146,55,147,148,253,254,255,107,95,49,96,161,193,256,257,151,152,105,48,106,258,154,155,156,157,150,153,160,182,190,136,195,196,172,162,163,259]),import.meta.url),defaultWidthTier:"medium",icon:H.note,get defaultTitle(){return e.layout_tabTypes_note_title()},get categoryLabel(){return e.layout_tabTypes_context_category()},sidebarTabId:"notes",renameable:!0}),u.register({type:"file",loadComponent:()=>c(()=>import("./Druyrynh.js"),__vite__mapDeps([260,1,2,3,4,6,7,8,9,10,11,15,22,23,24,25,26,18,13,212,149,57,28,58,16,17,19,59,20,261,62,63,64,197,74,12,14,21,27,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,233,85,92,76,73,91,68,69,70,71,72,75,213,214,179,180,113,234,176,82,86,177,178,130,132,133,142,226,165,235,231,236,112,111,170,189,210,143,135,67,237,238,239,240,241,108,109,110,242,243,220,221,222,223,224,253,254,117,255,162,140,80,65,66,77,78,79,50,51,163,136,262,123,263,230,264]),import.meta.url),defaultWidthTier:"wide",icon:Ke,get defaultTitle(){return e.layout_tabTypes_file_title()},get categoryLabel(){return e.layout_tabTypes_files_category()},sidebarTabId:"files",renameable:!0}),u.register({type:"diff",loadComponent:()=>c(()=>import("./CLalkdxk.js"),__vite__mapDeps([265,1,2,3,4,11,161,22,23,24,25,9,7,26,18,13,212,57,28,8,10,6,58,16,17,19,59,20,146,55,15,132,64,91,68,12,14,21,27,29,30,31,32,62,63,69,70,71,72,73,74,75,76,92,85,133,147,35,36,148,266,149,33,34,37,38,39,40,41,42,43,44,45,46,117,136,262,195,196,172,197,121]),import.meta.url),defaultWidthTier:"wide",icon:Be,get defaultTitle(){return e.layout_tabTypes_diff_title()},get categoryLabel(){return e.layout_tabTypes_changes_category()},sidebarTabId:"files",renameable:!1}),u.register({type:"changes",loadComponent:()=>c(()=>import("./tVHyNPqL.js"),__vite__mapDeps([267,1,2,4,15,22,23,24,25,9,7,26,18,13,161,212,57,28,11,3,8,10,6,58,16,17,19,59,20,213,72,73,75,91,68,12,14,21,27,29,30,31,32,62,63,64,69,70,71,74,76,92,85,214,179,180,113,268,158,256,257,146,55,132,133,147,35,36,148,266,149,33,34,37,38,39,40,41,42,43,44,45,46,117,120,121,105,48,49,106,134,135,67,126,143,176,82,86,177,178,130,142,233,234,226,165,235,231,236,112,111,170,189,210,237,238,239,240,241,197,108,109,110,242,243,220,221,222,223,224,269,262]),import.meta.url),defaultWidthTier:"wide",icon:H.changes,get defaultTitle(){return e.layout_tabTypes_changes_title()},get categoryLabel(){return e.layout_tabTypes_changes_category()},sidebarTabId:"changes",renameable:!1}),u.register({type:"local-changes",loadComponent:()=>c(()=>import("./Cmm2Uwq6.js"),__vite__mapDeps([270,1,2,15,22,23,24,25,9,7,26,18,13,161,212,57,28,11,3,8,10,6,58,16,17,19,59,20,268,29,158,256,257,91,68,12,14,4,21,27,30,31,32,62,63,64,69,70,71,72,73,74,75,76,92,85,146,55,132,133,147,35,36,148,266,149,33,34,37,38,39,40,41,42,43,44,45,46,117,120,121,105,48,49,106,134,135,67,126,143,179,180,213,214,113,176,82,86,177,178,130,142,233,234,226,165,235,231,236,112,111,170,189,210,237,238,239,240,241,197,108,109,110,242,243,220,221,222,223,224,269,262]),import.meta.url),defaultWidthTier:"wide",icon:H.changes,get defaultTitle(){return e.layout_tabTypes_localChanges_title()},get categoryLabel(){return e.layout_tabTypes_changes_category()},sidebarTabId:"changes",renameable:!1}),u.register({type:"chat-changes",loadComponent:()=>c(()=>import("./B5ht1e3g.js"),__vite__mapDeps([271,1,2,3,268,6,7,8,9,10,29,15,22,23,24,25,26,18,13,158,57,28,11,58,16,17,19,59,20,256,257,91,68,12,14,4,21,27,30,31,32,62,63,64,69,70,71,72,73,74,75,76,92,85,146,55,132,133,147,35,36,148,266,149,33,34,37,38,39,40,41,42,43,44,45,46,117,120,121,105,48,49,106,134,135,67,126,143,179,180,213,214,113,176,82,86,177,178,130,142,233,234,226,165,235,231,236,112,111,170,189,210,237,238,239,240,241,197,108,109,110,242,243,220,221,222,223,224,269]),import.meta.url),defaultWidthTier:"wide",icon:H.changes,get defaultTitle(){return e.layout_tabTypes_chatChanges_title()},get categoryLabel(){return e.layout_tabTypes_changes_category()},renameable:!1}),u.register({type:"activity-changes",loadComponent:()=>c(()=>import("./DaXgwzm7.js"),__vite__mapDeps([272,1,2,3,4,11,58,238,24,64,146,8,9,7,10,55,15,132,16,13,17,18,19,22,23,25,26,91,57,28,6,59,20,68,12,14,21,27,29,30,31,32,62,63,69,70,71,72,73,74,75,76,92,85,133,147,35,36,148,266,149,33,34,37,38,39,40,41,42,43,44,45,46,117,212,136,262,195,196,172,197,121]),import.meta.url),defaultWidthTier:"wide",icon:H.changes,get defaultTitle(){return e.layout_tabTypes_activityChanges_title()},get categoryLabel(){return e.layout_tabTypes_changes_category()},renameable:!1}),u.register({type:"hook-script",loadComponent:()=>c(()=>import("./s1m3ujOc.js"),__vite__mapDeps([273,1,2,3,150,6,7,8,9,10,140,151,64,152,12,13,14,15,16,17,18,19,11,4,20,21,22,23,24,25,26,27,28,29,30,31,32,153,165,57,58,59,72,73,74]),import.meta.url),defaultWidthTier:"medium",icon:Ge,get defaultTitle(){return e.chat_backgroundHooks_viewScript_label()},get categoryLabel(){return e.layout_tabTypes_panel_category()},renameable:!1}),u.register({type:"settings",loadComponent:()=>c(()=>import("./DPPtpHwn.js"),__vite__mapDeps([274,1,2]),import.meta.url),defaultWidthTier:"narrow",icon:He,get defaultTitle(){return e.layout_tabTypes_settings_title()},get categoryLabel(){return e.layout_tabTypes_settings_category()},renameable:!1}),u.register({type:"overview",loadComponent:()=>c(()=>import("./CMMep18j.js"),__vite__mapDeps([275,1,2]),import.meta.url),defaultWidthTier:"narrow",icon:ue,get defaultTitle(){return e.layout_tabTypes_overview_title()},get categoryLabel(){return e.layout_tabTypes_overview_category()},renameable:!1})}async function Wt(y){if(y?.restoreStatus!=="restored")return;const _=new Set(Object.values(y.panels).flatMap(r=>{const k=r.tabs.find(l=>l.id===r.activeTabId);return k?[k.type]:[]}));await Promise.allSettled([..._].map(r=>u.loadComponent(r)))}var at=W("<!> <!>",1),rt=W('<img class="h-auto w-full max-w-64 rounded-lg" width="512" height="512"/>'),ot=W('<div class="flex aspect-square w-full max-w-64 items-center justify-center"><!></div>'),st=W('<div class="flex justify-center" data-testid="passkey-qr"><!></div>'),it=W('<div class="flex justify-center py-4 text-muted-foreground"><!></div>'),nt=W('<p class="type-caption text-muted-foreground" data-testid="passkey-pin-advice"> </p>'),lt=W('<form id="passkey-pin-form" class="flex flex-col gap-3"><!> <!></form>');function Pe(y,_){if(new.target)return Te({component:Pe,...y});we(_,!0);let r=ie(_,"payload",7),k=ie(_,"static",7,!1),l=ie(_,"onRespond",7),f=K(!1),A=K(""),U=K("");const a=b(()=>r()?.view??null);Q(()=>{v(f,r()!==null)}),Q(()=>{t(a)?.step!=="pin"&&v(A,"")});let z=K(0),Y=K(ze(Date.now()));Q(()=>{const i=t(a)?.step==="pin"&&t(a).kind==="device"?t(a).retryAfterMs:void 0;if(typeof i!="number"){v(z,0);return}const T=Date.now();v(Y,T,!0),v(z,T+i);const w=setInterval(()=>{v(Y,Date.now(),!0),t(Y)>=t(z)&&clearInterval(w)},250);return()=>clearInterval(w)});const ee=b(()=>Math.max(0,Math.ceil((t(z)-t(Y))/1e3))),_e=b(()=>t(a)?.step==="pin"&&(t(a).kind==="device"?t(ee)>0:typeof t(a).retryAfterMs=="number"));Q(()=>{const i=t(a)?.step==="qr"?t(a).data:"";if(!i){v(U,"");return}let T=!0;return c(async()=>{const{default:w}=await import("./BZ9svoQk.js").then(C=>C.b);return{default:w}},__vite__mapDeps([276,64]),import.meta.url).then(({default:w})=>w.toDataURL(i,{width:512,margin:2})).then(w=>{T&&v(U,w,!0)}),()=>{T=!1}});const Ee=b(()=>r()?r().kind==="create"?e.passkeys_dialog_createTitle_label({site:r().rpId}):e.passkeys_dialog_getTitle_label({site:r().rpId}):"");function De(i){switch(i){case"bluetooth-off":return e.passkeys_dialog_bluetoothOff_error();case"bluetooth-missing":return e.passkeys_dialog_bluetoothMissing_error();case"pin-locked":return e.passkeys_dialog_pinLocked_error();case"timeout":return e.passkeys_dialog_timeout_error();case"already-registered":return e.passkeys_dialog_alreadyRegistered_error();case"unavailable":return e.passkeys_dialog_unavailable_error();case"device-locked":return e.passkeys_dialog_deviceLocked_error();case"device-already-registered":return e.passkeys_dialog_deviceAlreadyRegistered_error();case"device-no-passkey":return e.passkeys_dialog_deviceNoPasskey_error({site:r()?.rpId??""});case"device-old-pin-wrong":return e.passkeys_dialog_deviceOldPinWrong_error();case"device-failed":return e.passkeys_dialog_deviceFailed_error();default:return e.passkeys_dialog_failed_error()}}const Ae=b(()=>{if(!(!t(a)||!r()))switch(t(a).step){case"choose-transport":return r().kind==="create"?e.passkeys_dialog_chooseCreate_description():e.passkeys_dialog_chooseGet_description();case"qr":case"progress":switch(t(a).progress){case"waiting-for-phone":return e.passkeys_dialog_waitingForPhone_description();case"connecting":return e.passkeys_dialog_connecting_description();case"waiting-for-approval":return e.passkeys_dialog_waitingForApproval_description();case"touch-key":return e.passkeys_dialog_touchKey_description();case"processing":return e.passkeys_dialog_processing_description();default:return t(a).step==="progress"&&t(a).transport==="usb"?e.passkeys_dialog_insertKey_description():e.passkeys_dialog_starting_description()}case"pin":return t(a).kind==="usb"?e.passkeys_dialog_pin_description():t(a).oldPin?e.passkeys_dialog_deviceOldPin_description():e.passkeys_dialog_devicePin_description();case"choose-account":return e.passkeys_dialog_chooseAccount_description();case"error":return De(t(a).reason)}}),de=b(()=>t(a)?.step==="pin"&&t(a).kind==="device"?t(a).oldPin?e.passkeys_dialog_deviceOldPin_label():e.passkeys_dialog_devicePin_label():e.passkeys_dialog_pin_label()),Ce=b(()=>{if(t(a)?.step==="pin"){if(t(a).kind==="device"){if(t(ee)>0)return e.passkeys_dialog_devicePinWait_error({seconds:t(ee)})}else if(typeof t(a).retryAfterMs=="number")return e.passkeys_dialog_pinRetryAfter_error();if(t(a).wrongPin)return typeof t(a).attemptsLeft=="number"?t(a).attemptsLeft===1?e.passkeys_dialog_wrongPinAttempts_one({count:t(a).attemptsLeft}):e.passkeys_dialog_wrongPinAttempts_many({count:t(a).attemptsLeft}):e.passkeys_dialog_wrongPin_error()}}),Oe=b(()=>{if(t(a)?.step!=="choose-transport")return[];const i=t(a).hybrid==="bluetooth-off"?e.passkeys_dialog_bluetoothOff_description():t(a).hybrid==="bluetooth-missing"?e.passkeys_dialog_bluetoothMissing_description():void 0;return[...t(a).device?[{id:"device",label:e.passkeys_dialog_thisDevice_label(),note:void 0,icon:qe}]:[],{id:"hybrid",label:e.passkeys_dialog_phone_label(),note:i,icon:Fe},{id:"usb",label:e.passkeys_dialog_securityKey_label(),note:void 0,icon:je}]});function te(){l()({action:"cancel"})}function Re(i){if(i.preventDefault(),!t(A))return;const T=t(A);v(A,""),l()({action:"pin",pin:T})}var xe={get payload(){return r()},set payload(i){r(i),ne()},get static(){return k()},set static(i=!1){k(i),ne()},get onRespond(){return l()},set onRespond(i){l(i),ne()},$set:he,$on:(i,T)=>ke(_,i,T)},pe=q(),We=M(pe);{var Se=i=>{{const T=C=>{var ae=q(),J=M(ae);{var re=P=>{le(P,{variant:"secondary",onclick:te,children:(S,B)=>{F();var V=x();I(d=>E(V,d),[()=>e.passkeys_dialog_close_label()]),p(S,V)},$$slots:{default:!0}})},oe=P=>{var S=at(),B=M(S);le(B,{variant:"ghost",onclick:te,children:(n,m)=>{F();var s=x();I(L=>E(s,L),[()=>e.passkeys_dialog_cancel_label()]),p(n,s)},$$slots:{default:!0}});var V=ye(B,2);{var d=n=>{{let m=b(()=>!t(A)||t(_e));le(n,{variant:"primary",type:"submit",form:"passkey-pin-form",get disabled(){return t(m)},children:(s,L)=>{F();var o=x();I(g=>E(o,g),[()=>e.passkeys_dialog_continue_label()]),p(s,o)},$$slots:{default:!0}})}};D(V,n=>{t(a).step==="pin"&&n(d)})}p(P,S)};D(J,P=>{t(a).step==="error"?P(re):P(oe,-1)})}p(C,ae)};let w=b(()=>t(a).step==="error"?e.passkeys_dialog_close_label():e.passkeys_dialog_cancel_label());Xe(i,{get static(){return k()},get title(){return t(Ee)},get description(){return t(Ae)},size:"sm",dismissOnInteractOutside:!1,get closeLabel(){return t(w)},onClose:te,get open(){return t(f)},set open(C){v(f,C,!0)},footer:T,children:(C,ae)=>{var J=q(),re=M(J);{var oe=d=>{{const n=(s,L)=>{let o=()=>(L?.()).item;me(s,{leading:h=>{Ue(h,{get icon(){return o().icon},fw:!0})},title:h=>{F();var R=x();I(()=>E(R,o().label)),p(h,R)},description:h=>{var R=q(),se=M(R);{var G=$=>{var ce=x();I(()=>E(ce,o().note)),p($,ce)};D(se,$=>{o().note&&$(G)})}p(h,R)},$$slots:{leading:!0,title:!0,description:!0}})};let m=b(()=>e.passkeys_dialog_transports_ariaLabel());be(d,{get items(){return t(Oe)},getKey:s=>s.id,getText:s=>s.label,get ariaLabel(){return t(m)},onActivate:s=>l()({action:"transport",transport:s.id}),row:n,$$slots:{row:!0}})}},P=d=>{var n=st(),m=X(n);{var s=o=>{var g=rt();I(O=>{fe(g,"src",t(U)),fe(g,"alt",O)},[()=>e.passkeys_dialog_qrImage_ariaLabel()]),p(o,g)},L=o=>{var g=ot(),O=X(g);ve(O,{size:20}),Z(g),p(o,g)};D(m,o=>{t(U)?o(s):o(L,-1)})}Z(n),p(d,n)},S=d=>{var n=it(),m=X(n);ve(m,{size:20}),Z(n),p(d,n)},B=d=>{var n=lt(),m=X(n);{let o=b(()=>t(a).kind==="device"?"numeric":void 0);Ze(m,{type:"password",get inputmode(){return t(o)},autocomplete:"off",get"aria-label"(){return t(de)},get placeholder(){return t(de)},get error(){return t(Ce)},get disabled(){return t(_e)},autofocus:!0,get value(){return t(A)},set value(g){v(A,g,!0)}})}var s=ye(m,2);{var L=o=>{var g=nt(),O=Je(g,!0);I(N=>E(O,N),[()=>e.passkeys_dialog_devicePinAdvice_description()]),p(o,g)};D(s,o=>{t(a).firstPasskey&&o(L)})}Z(n),Ye("submit",n,Re),p(d,n)},V=d=>{{const n=(s,L)=>{let o=()=>(L?.()).item;me(s,{title:N=>{F();var h=x();I(()=>E(h,o().userDisplayName||o().userName)),p(N,h)},description:N=>{var h=q(),R=M(h);{var se=G=>{var $=x();I(()=>E($,o().userName)),p(G,$)};D(R,G=>{o().userDisplayName&&o().userName&&G(se)})}p(N,h)},$$slots:{title:!0,description:!0}})};let m=b(()=>e.passkeys_dialog_accounts_ariaLabel());be(d,{get items(){return t(a).accounts},getKey:s=>s.index,getText:s=>s.userDisplayName||s.userName,get ariaLabel(){return t(m)},onActivate:s=>l()({action:"choose",index:s.index}),row:n,$$slots:{row:!0}})}};D(re,d=>{t(a).step==="choose-transport"?d(oe):t(a).step==="qr"?d(P,1):t(a).step==="progress"?d(S,2):t(a).step==="pin"?d(B,3):t(a).step==="choose-account"&&d(V,4)})}p(C,J)},$$slots:{footer:!0,default:!0}})}};D(We,i=>{r()&&t(a)&&i(Se)})}return p(y,pe),Le(xe)}const _t=new tt("PasskeyDialog"),j=et.PASSKEYS;function dt(y){const _=Ie();if(!_)return()=>{};const r=_.on(j.DIALOG_SHOW,l=>{const f=l;!f||typeof f.ceremonyId!="string"||!f.view||y.onShow(f)}),k=_.on(j.DIALOG_CLOSE,l=>{const f=l;f&&typeof f.ceremonyId=="string"&&y.onClose(f.ceremonyId)});return()=>{_.offById(j.DIALOG_SHOW,r),_.offById(j.DIALOG_CLOSE,k)}}function pt(y){const _=Ie();_&&_.invoke(j.DIALOG_RESPOND,y).catch(()=>{_t.warn("Passkey dialog response failed",{action:y.action})})}function ct(y,_){if(new.target)return Te({component:ct,...y});we(_,!0);let r=K(null);Qe(()=>dt({onShow:l=>{v(r,l,!0)},onClose:l=>{t(r)?.ceremonyId===l&&v(r,null)}}));var k={$set:he,$on:(l,f)=>ke(_,l,f)};return Pe(y,{get payload(){return t(r)},onRespond:l=>{t(r)&&pt({...l,ceremonyId:t(r).ceremonyId})}}),Le(k)}export{ct as P,Wt as p,xt as r};
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/FavPgSsK.js","/app/immutable/chunks/51_h0jm2.js","/app/immutable/chunks/CJxGDkBm.js","/app/immutable/chunks/PXCFrn2V.js","/app/immutable/chunks/C9UsZ4re.js","/app/immutable/chunks/DsI0RDZ2.js","/app/immutable/chunks/Bjy4ygfJ.js","/app/immutable/chunks/DxvSggY5.js","/app/immutable/chunks/CpPNoOk-.js","/app/immutable/chunks/CIyUrgF0.js","/app/immutable/assets/spinner.D_TRo5Hy.css","/app/immutable/chunks/DGmOjLYi.js","/app/immutable/chunks/SX1khnGy.js","/app/immutable/chunks/CqJQ3ikU.js","/app/immutable/chunks/Cdw_CIdg.js","/app/immutable/chunks/NtFyWdpR.js","/app/immutable/chunks/CF1Tu_8c.js","/app/immutable/chunks/BQDGTBxC.js","/app/immutable/chunks/uXuxG9cN.js","/app/immutable/assets/button.-yaUNjRS.css","/app/immutable/chunks/DqFWZ_g1.js","/app/immutable/chunks/JKboQXkL.js","/app/immutable/chunks/Zldsekdv.js","/app/immutable/chunks/PVXvIyE8.js","/app/immutable/chunks/ChTqQfQN.js","/app/immutable/chunks/BEklUrxK.js","/app/immutable/chunks/DxwfiAWm.js","/app/immutable/chunks/DJfJ5NWH.js","/app/immutable/chunks/DSQT151l.js","/app/immutable/chunks/BxwkoIbZ.js","/app/immutable/chunks/BoIfXiRv.js","/app/immutable/chunks/XJv96NUg.js","/app/immutable/assets/notify.B1j5oT2y.css","/app/immutable/chunks/M18r7swD.js","/app/immutable/chunks/Cdhrdfve.js","/app/immutable/chunks/BgDYQZ_0.js","/app/immutable/chunks/DKn1sQ32.js","/app/immutable/chunks/BLzqYDED.js","/app/immutable/chunks/DmhHEMPi.js","/app/immutable/assets/menu-footer.Ck5GCpgU.css","/app/immutable/chunks/CN-6Tr26.js","/app/immutable/assets/dialog.BtQTVchw.css","/app/immutable/chunks/BGP1lrgu.js","/app/immutable/assets/confirm.UE5obH5A.css","/app/immutable/chunks/B_QtiZYt.js","/app/immutable/chunks/BCBNqT5t.js","/app/immutable/chunks/C1McR-sz.js","/app/immutable/chunks/KykWEhyB.js","/app/immutable/chunks/D-g0wh54.js","/app/immutable/chunks/BsE4jMhr.js","/app/immutable/chunks/DAsc1V4f.js","/app/immutable/chunks/BsieX9dN.js","/app/immutable/chunks/Dukt1CUc.js","/app/immutable/assets/SettingsPage.CKvEnOAL.css","/app/immutable/chunks/DpFiDNG-.js","/app/immutable/chunks/DfTSMq0b.js","/app/immutable/chunks/C5X1QcI7.js","/app/immutable/chunks/XJqoy2ap.js","/app/immutable/chunks/DypB-Dwi.js","/app/immutable/chunks/LKW_Bid7.js","/app/immutable/chunks/D-62MVd3.js","/app/immutable/chunks/nRmTo2Eh.js","/app/immutable/chunks/DCOxMTSf.js","/app/immutable/chunks/DMl4Z5o_.js","/app/immutable/chunks/BdWqymET.js","/app/immutable/chunks/C6T3ggVX.js","/app/immutable/chunks/CMiilI_P.js","/app/immutable/chunks/CC7to1B5.js","/app/immutable/chunks/B6jI9-V_.js","/app/immutable/chunks/BbQfjn7f.js","/app/immutable/chunks/DKwAaLwd.js","/app/immutable/chunks/Bs9TCQJX.js","/app/immutable/chunks/BuveYyQe.js","/app/immutable/chunks/oOuL5l8A.js","/app/immutable/chunks/DUItrdZb.js","/app/immutable/chunks/DVy6H5Ng.js","/app/immutable/chunks/B5aYN90J.js","/app/immutable/chunks/BgLPrJ77.js","/app/immutable/assets/slider.kL-wkHnx.css","/app/immutable/chunks/KAO5AtPr.js","/app/immutable/chunks/D547g0l5.js","/app/immutable/chunks/CjswKKTa.js","/app/immutable/chunks/CQcEqK4G.js","/app/immutable/chunks/Ct_Zx4ru.js","/app/immutable/chunks/C5rcw_c7.js","/app/immutable/chunks/D-2bQKif.js","/app/immutable/chunks/CV10cSI4.js","/app/immutable/chunks/CFvGekuw.js","/app/immutable/chunks/DCv0ZqUq.js","/app/immutable/assets/DockScreenshotEditorWindow.DNkBhnHK.css","/app/immutable/assets/dock-tokens.C3wiNkmL.css","/app/immutable/chunks/D9NDL9ta.js","/app/immutable/chunks/Cs_DX3BC.js","/app/immutable/chunks/DH6z3AzB.js","/app/immutable/chunks/DWsHBNeU.js","/app/immutable/chunks/3_UV1UgL.js","/app/immutable/assets/select-viewport.CV-KWLNP.css","/app/immutable/chunks/DumeSIrz.js","/app/immutable/chunks/9wk-Hes5.js","/app/immutable/chunks/BEjEPSxp.js","/app/immutable/chunks/CQw_RyF_.js","/app/immutable/chunks/DWcAR6Dh.js","/app/immutable/chunks/u8OBGcNi.js","/app/immutable/chunks/C3-0e__R.js","/app/immutable/chunks/BsjFeGOg.js","/app/immutable/chunks/B9XvejAu.js","/app/immutable/assets/checkbox.D429NJZk.css","/app/immutable/chunks/5NOp7PNZ.js","/app/immutable/chunks/4GHsM2YX.js","/app/immutable/chunks/wJewnowK.js","/app/immutable/chunks/Dd_WBgru.js","/app/immutable/chunks/B0Z-1lwJ.js","/app/immutable/chunks/6CAGpBb_.js","/app/immutable/chunks/BQGSaBlM.js","/app/immutable/chunks/DUctnn_k.js","/app/immutable/assets/directory-picker-service.Eai7L_H2.css","/app/immutable/chunks/BEqf00Je.js","/app/immutable/chunks/D0Z6csIX.js","/app/immutable/chunks/DdKIjYo_.js","/app/immutable/chunks/D1cY0pVs.js","/app/immutable/chunks/FmBB5PWm.js","/app/immutable/assets/AgentAvatar.CZKKHyEm.css","/app/immutable/assets/avatar-state.BzFIexJN.css","/app/immutable/chunks/BE2y8JEQ.js","/app/immutable/assets/TipTapEditor.BLRSTYT-.css","/app/immutable/chunks/CZ_Dk1nz.js","/app/immutable/chunks/Cl7NoY6M.js","/app/immutable/chunks/BUHAwVs7.js","/app/immutable/assets/AttachmentPreview.D_hsaikk.css","/app/immutable/chunks/CxXkuVq5.js","/app/immutable/chunks/BqkCNgyL.js","/app/immutable/assets/DictationStopButton.DWUPhcKi.css","/app/immutable/chunks/CKkGJ_p-.js","/app/immutable/chunks/ocWSyOIA.js","/app/immutable/chunks/x-XvE_CJ.js","/app/immutable/chunks/TaTYmBM5.js","/app/immutable/chunks/CqesqBNM.js","/app/immutable/chunks/QpGjdleN.js","/app/immutable/chunks/CBZ4KqrB.js","/app/immutable/chunks/BW94gUhQ.js","/app/immutable/chunks/BigcqNWS.js","/app/immutable/assets/TaskStatusIcon.sfU2TZ7a.css","/app/immutable/chunks/DWjKA8Pm.js","/app/immutable/chunks/CgXGPBF5.js","/app/immutable/chunks/FLNU8xuu.js","/app/immutable/assets/AgentCard.Cna0hri3.css","/app/immutable/chunks/DdH7Q5ij.js","/app/immutable/chunks/BR5vKj6f.js","/app/immutable/assets/TrackedChangeDiffViewer.CveSjyPc.css","/app/immutable/chunks/C2jA6pM8.js","/app/immutable/chunks/Ck5xuk0H.js","/app/immutable/chunks/CcNhqKh5.js","/app/immutable/assets/syntax-highlighting.CrQGLq0X.css","/app/immutable/assets/CodeBlock.BezhEtUo.css","/app/immutable/chunks/BOCp5eAe.js","/app/immutable/chunks/BbIcudMY.js","/app/immutable/chunks/B0v5Qiob.js","/app/immutable/assets/DiagramPresentation.C2GLYoBN.css","/app/immutable/chunks/BxTyo7yU.js","/app/immutable/chunks/7mowE2Gg.js","/app/immutable/chunks/D0H3cACA.js","/app/immutable/chunks/D2MmXC4A.js","/app/immutable/chunks/C7Ed4dxf.js","/app/immutable/assets/MarkdownViewer.D2MexjjT.css","/app/immutable/chunks/DgFinDjM.js","/app/immutable/chunks/Cc2FSrQK.js","/app/immutable/chunks/Bd_VEON_.js","/app/immutable/chunks/DCJDf3gb.js","/app/immutable/assets/workspace-key-menu.DrT-Fxqq.css","/app/immutable/chunks/BOXv-Vsz.js","/app/immutable/chunks/YqTahsxp.js","/app/immutable/chunks/hHeBjODU.js","/app/immutable/chunks/ByCxDC-R.js","/app/immutable/chunks/8bw9vP4h.js","/app/immutable/assets/StreamingDiagramRenderer.BShsSvPz.css","/app/immutable/assets/chat-search.Cjb73igJ.css","/app/immutable/chunks/jRFO7UbE.js","/app/immutable/chunks/Dz5-AChV.js","/app/immutable/chunks/CQkTODWA.js","/app/immutable/chunks/ie53yFct.js","/app/immutable/chunks/Bo900RGs.js","/app/immutable/chunks/ByDB1X4D.js","/app/immutable/chunks/BDP3Y6aK.js","/app/immutable/chunks/93RUSyHg.js","/app/immutable/chunks/C7kFrL62.js","/app/immutable/chunks/CtFSFfLz.js","/app/immutable/assets/AgentAvatarStack.DOhClFuX.css","/app/immutable/chunks/eln8hjjQ.js","/app/immutable/assets/conversation-turns.BHHyRLdd.css","/app/immutable/chunks/DyBkeTEM.js","/app/immutable/chunks/CASKMy_V.js","/app/immutable/chunks/0NGflniG.js","/app/immutable/chunks/7Uk2VvOl.js","/app/immutable/chunks/BuLzqNKd.js","/app/immutable/chunks/nIQsF0QH.js","/app/immutable/chunks/s97D1nrA.js","/app/immutable/chunks/CatLGfTW.js","/app/immutable/chunks/H2jLkRRS.js","/app/immutable/chunks/BUNNt_Jr.js","/app/immutable/assets/WorkspaceSetupCard.DNLkSKZg.css","/app/immutable/chunks/DtnAdLQg.js","/app/immutable/chunks/DL6gGkHp.js","/app/immutable/assets/DockRecordingEditor.BX1NXczK.css","/app/immutable/chunks/6i_wfV3v.js","/app/immutable/chunks/Boh_rcCH.js","/app/immutable/assets/ChatPanel.B73KM22O.css","/app/immutable/assets/HomeWorkspaceDetail.Dp5EWw2P.css","/app/immutable/chunks/A2MGRlHV.js","/app/immutable/chunks/zhSFUcJz.js","/app/immutable/chunks/CQ409-Pj.js","/app/immutable/chunks/BDbtK9be.js","/app/immutable/chunks/CXXVPWBH.js","/app/immutable/chunks/BrMXrCxP.js","/app/immutable/chunks/CXaVTV1g.js","/app/immutable/chunks/DfSzfqox.js","/app/immutable/assets/BrowserTabType.DojB6H-_.css","/app/immutable/chunks/DKyvRWc2.js","/app/immutable/chunks/CzmcyLb_.js","/app/immutable/chunks/5vm8eILD.js","/app/immutable/chunks/dSvJdwG_.js","/app/immutable/chunks/BnRltR11.js","/app/immutable/chunks/BX9VoS92.js","/app/immutable/chunks/ByfLGh4b.js","/app/immutable/chunks/DyHCBf0T.js","/app/immutable/assets/register.CUyDR59i.css","/app/immutable/assets/terminal-manager.MhP_vFvK.css","/app/immutable/chunks/s3nd6_cp.js","/app/immutable/assets/confirm-script-deletion.CqNa5NIC.css","/app/immutable/chunks/WHfdsTrE.js","/app/immutable/assets/Terminal.Ddek5eNE.css","/app/immutable/chunks/C9r0mVfa.js","/app/immutable/chunks/TrRXD94r.js","/app/immutable/chunks/CRwqTV0i.js","/app/immutable/chunks/fd1DS8nx.js","/app/immutable/chunks/DqgCp5ae.js","/app/immutable/chunks/DEMmGTfr.js","/app/immutable/chunks/XPs8BW44.js","/app/immutable/chunks/fRGswTf6.js","/app/immutable/chunks/CSiaiLHL.js","/app/immutable/chunks/Cu91VTQn.js","/app/immutable/chunks/Bp0nVWtT.js","/app/immutable/chunks/CLZkKjaI.js","/app/immutable/chunks/CGOlqeU_.js","/app/immutable/chunks/CoeUPp7o.js","/app/immutable/chunks/Bo-8pH0P.js","/app/immutable/assets/AgentOverviewTabType.DU1WpoFR.css","/app/immutable/chunks/DvYo8gAP.js","/app/immutable/chunks/Danvn_nL.js","/app/immutable/chunks/b-bXytVF.js","/app/immutable/chunks/D1E6y9eQ.js","/app/immutable/chunks/BUtBz-tz.js","/app/immutable/assets/DiscussionTabType.D3Laoutn.css","/app/immutable/chunks/DAjaV_xN.js","/app/immutable/chunks/BR9s3igW.js","/app/immutable/chunks/Gr7b8MIr.js","/app/immutable/assets/CodeEditor.Bq04Rj-N.css","/app/immutable/chunks/DYmzWBEk.js","/app/immutable/assets/LineChangesBadge.CJ0J_Z0k.css","/app/immutable/chunks/L3AlUw84.js","/app/immutable/assets/NoteTabType.AG_iwaNn.css","/app/immutable/chunks/BZ5fAc9N.js","/app/immutable/chunks/iBqqkWL_.js","/app/immutable/chunks/sG8VksRm.js","/app/immutable/chunks/ge7HDe-3.js","/app/immutable/assets/FileTabType.BUKcoHE1.css","/app/immutable/chunks/Cl71oYkB.js","/app/immutable/chunks/BlIreYOW.js","/app/immutable/chunks/B9EhZrTN.js","/app/immutable/chunks/Bl3mtXZn.js","/app/immutable/assets/ChatChangesPanel.BQqG1JnE.css","/app/immutable/chunks/Dxs2medA.js","/app/immutable/chunks/RifCGV3x.js","/app/immutable/chunks/DK2Pie4F.js","/app/immutable/chunks/s1m3ujOc.js","/app/immutable/chunks/DPPtpHwn.js","/app/immutable/chunks/CMMep18j.js","/app/immutable/chunks/BZ9svoQk.js"])))=>i.map(i=>d[i]);
2
+ import{bm as e,_ as c,t as Te,bo as ie,bw as he,b as ke}from"./51_h0jm2.js";import{t as u}from"./aHO4L7kg.js";import{bD as ue,bv as Ve,cK as Ne,aO as $e,cn as Me,aV as ge,bg as Ke,aN as Be,aM as Ge,bs as He,bL as qe,b_ as Fe,bJ as je,F as Ue}from"./DSQT151l.js";import{R as H}from"./CJCoBdox.js";import{bs as we,ca as Q,bH as v,aD as t,bV as K,br as ze,a7 as q,ay as M,W as p,bn as Le,c9 as b,aA as ne,a5 as X,bA as Z,bS as ye,aw as Ye,aB as W,be as F,b$ as x,b_ as I,bO as E,bl as Je,bk as Qe}from"./CJxGDkBm.js";import{i as D}from"./PXCFrn2V.js";import{s as fe}from"./CpPNoOk-.js";import{L as me}from"./BUHAwVs7.js";import{C as Xe,L as be}from"./M18r7swD.js";import{I as Ze}from"./BgDYQZ_0.js";import"./DKn1sQ32.js";import"./BGP1lrgu.js";import{f as le}from"./Cdw_CIdg.js";import{v as Ie}from"./CF1Tu_8c.js";import"./CN-6Tr26.js";import"./DxvSggY5.js";import{I as ve}from"./Bjy4ygfJ.js";import{I as et}from"./CqJQ3ikU.js";import"./BQDGTBxC.js";import{a as tt}from"./BdWqymET.js";function xt(){u.register({type:"workspace",loadComponent:()=>c(()=>import("./FavPgSsK.js"),__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,37,38,39,40,41,42,43,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,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206]),import.meta.url),defaultWidthTier:"wide",icon:ue,get defaultTitle(){return e.workspace_page_workspaceResource_label()},get categoryLabel(){return e.workspace_page_workspaceResource_label()},renameable:!1}),u.register({type:"browser",loadComponent:()=>c(()=>import("./A2MGRlHV.js"),__vite__mapDeps([207,1,2,3,11,6,7,8,9,10,15,208,22,23,24,25,26,18,13,4,67,14,16,17,19,12,20,21,27,28,29,30,31,32,45,33,34,35,36,37,38,39,40,41,42,43,44,46,76,68,57,58,59,62,63,64,69,70,71,72,73,74,75,179,91,92,85,180,209,123,210,125,52,136,84,211,99,100,212,108,109,110,111,112,213,214,113,215]),import.meta.url),defaultWidthTier:"wide",icon:Ve,get defaultTitle(){return e.layout_tabTypes_browser_title()},get categoryLabel(){return e.layout_tabTypes_browser_category()},sidebarTabId:"browser",renameable:!1}),u.register({type:"terminal",loadComponent:()=>c(()=>import("./DKyvRWc2.js"),__vite__mapDeps([216,1,2,3,4,11,28,7,8,9,10,6,57,18,22,23,24,25,26,13,58,16,17,19,59,20,217,15,218,219,64,63,92,76,85,73,220,221,222,223,224,111,209,189,225,14,12,21,27,29,30,31,32,210,226,68,62,69,70,71,72,74,75,36,42,43,40,41,214,227,38,35,39,136,33,34,37,44,45,46,212,228,147,229,230,113,231]),import.meta.url),defaultWidthTier:"medium",icon:Ne,get defaultTitle(){return e.layout_tabTypes_terminal_title()},get categoryLabel(){return e.layout_tabTypes_terminal_category()},sidebarTabId:"terminals",renameable:!1}),u.register({type:"code-review",loadComponent:()=>c(()=>import("./CRwqTV0i.js"),__vite__mapDeps([232,1,2,22,23,24,25,9,7,26,18,13,3,29,6,8,10,57,28,11,58,16,17,19,59,20,213,72,73,75,91,68,12,14,15,4,21,27,30,31,32,62,63,64,69,70,71,74,76,92,85,214,179,180,113,233,234,176,82,86,177,178,130,132,133,142,226,165,235,231,236,36,42,43,40,41,112,111,170,189,210,143,135,67,237,238,239,240,241,197,149,108,109,110,242,243,220,221,222,223,224,140,151,152,35,162,80,65,66,33,34,37,38,39,44,45,46,77,78,79,50,51,117,163,125,52]),import.meta.url),defaultWidthTier:"wide",icon:$e,get defaultTitle(){return e.layout_tabTypes_codeReview_title()},get categoryLabel(){return e.layout_tabTypes_codeReview_category()},renameable:!1}),u.register({type:"agent-overview",loadComponent:()=>c(()=>import("./Bo-8pH0P.js"),__vite__mapDeps([244,1,2,3,6,7,8,9,10,15,14,16,13,17,18,19,11,4,119,120,121,71,22,23,24,25,26,72,73,74,57,28,58,59,20,75,76,122,12,21,27,29,30,31,32,156,79,51,176,82,86,62,63,64,177,178,130,91,68,69,70,92,85,132,133,142,108,109,110,111,112,245]),import.meta.url),defaultWidthTier:"narrow",icon:Me,get defaultTitle(){return e.layout_tabTypes_agentOverview_title()},get categoryLabel(){return e.layout_tabTypes_agents_category()},renameable:!1}),u.register({type:"agent",loadComponent:()=>c(()=>import("./DvYo8gAP.js"),__vite__mapDeps([246,1,2,3,4,6,7,8,9,10,11,15,68,12,13,14,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,57,58,59,62,63,64,69,70,71,72,73,74,75,76,247,248,235,234,113,92,85,133,203,44,45,212,237,132,91,238,102,35,36,47,48,49,42,43,50,51,52,53,103,38,39,104,84,34,37,40,41,67,80,33,46,105,106,79,107,95,96,108,109,110,111,112,114,115,192,54,55,56,60,61,65,66,77,78,81,82,83,86,87,88,89,90,93,94,97,98,99,100,101,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,193,194,195,196,197,198,199,200,201,202,204,205,214,213]),import.meta.url),defaultWidthTier:"chat",icon:ge,get defaultTitle(){return e.layout_tabTypes_agent_title()},get categoryLabel(){return e.layout_tabTypes_agents_category()},sidebarTabId:"agents",renameable:!0}),u.register({type:"discussion",loadComponent:()=>c(()=>import("./D1E6y9eQ.js"),__vite__mapDeps([249,1,2,3,4,11,8,9,7,10,16,13,17,18,19,38,6,29,35,15,36,14,39,33,34,37,27,40,41,28,42,31,43,44,45,46,21,22,23,24,25,26,214,12,20,30,32,57,58,59,68,62,63,64,69,70,71,72,73,74,75,76,91,92,85,192,87,88,60,114,120,121,125,52,159,80,162,140,65,66,67,77,78,79,50,51,117,163,99,100,48,233,213,179,180,113,234,176,82,86,177,178,130,132,133,142,226,165,235,231,236,112,111,170,189,210,143,135,237,238,239,240,241,197,149,108,109,110,242,243,220,221,222,223,224,129,131,250,98,94,95,49,96,97,118,212,251]),import.meta.url),defaultWidthTier:"chat",icon:ge,get defaultTitle(){return e.workspace_discussion_title()},get categoryLabel(){return e.workspace_discussion_list_label()},sidebarTabId:"people",renameable:!1}),u.register({type:"note",loadComponent:()=>c(()=>import("./DAjaV_xN.js"),__vite__mapDeps([252,1,2,3,11,57,18,9,22,23,24,25,7,26,13,28,8,10,6,58,16,17,19,59,20,212,179,91,68,12,14,15,4,21,27,29,30,31,32,62,63,64,69,70,71,72,73,74,75,76,92,85,180,35,36,79,87,88,50,51,33,34,37,38,39,40,41,42,43,44,45,46,117,120,121,138,139,140,141,116,67,52,65,66,77,78,80,61,118,114,119,122,123,100,124,233,213,214,113,234,176,82,86,177,178,130,132,133,142,226,165,235,231,236,112,111,170,189,210,143,135,237,238,239,240,241,197,149,108,109,110,242,243,220,221,222,223,224,146,55,147,148,253,254,255,107,95,49,96,161,193,256,257,151,152,105,48,106,258,154,155,156,157,150,153,160,182,190,136,195,196,172,162,163,259]),import.meta.url),defaultWidthTier:"medium",icon:H.note,get defaultTitle(){return e.layout_tabTypes_note_title()},get categoryLabel(){return e.layout_tabTypes_context_category()},sidebarTabId:"notes",renameable:!0}),u.register({type:"file",loadComponent:()=>c(()=>import("./BZ5fAc9N.js"),__vite__mapDeps([260,1,2,3,4,6,7,8,9,10,11,15,22,23,24,25,26,18,13,212,149,57,28,58,16,17,19,59,20,261,62,63,64,197,74,12,14,21,27,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,233,85,92,76,73,91,68,69,70,71,72,75,213,214,179,180,113,234,176,82,86,177,178,130,132,133,142,226,165,235,231,236,112,111,170,189,210,143,135,67,237,238,239,240,241,108,109,110,242,243,220,221,222,223,224,253,254,117,255,162,140,80,65,66,77,78,79,50,51,163,136,262,123,263,230,264]),import.meta.url),defaultWidthTier:"wide",icon:Ke,get defaultTitle(){return e.layout_tabTypes_file_title()},get categoryLabel(){return e.layout_tabTypes_files_category()},sidebarTabId:"files",renameable:!0}),u.register({type:"diff",loadComponent:()=>c(()=>import("./Cl71oYkB.js"),__vite__mapDeps([265,1,2,3,4,11,161,22,23,24,25,9,7,26,18,13,212,57,28,8,10,6,58,16,17,19,59,20,146,55,15,132,64,91,68,12,14,21,27,29,30,31,32,62,63,69,70,71,72,73,74,75,76,92,85,133,147,35,36,148,266,149,33,34,37,38,39,40,41,42,43,44,45,46,117,136,262,195,196,172,197,121]),import.meta.url),defaultWidthTier:"wide",icon:Be,get defaultTitle(){return e.layout_tabTypes_diff_title()},get categoryLabel(){return e.layout_tabTypes_changes_category()},sidebarTabId:"files",renameable:!1}),u.register({type:"changes",loadComponent:()=>c(()=>import("./B9EhZrTN.js"),__vite__mapDeps([267,1,2,4,15,22,23,24,25,9,7,26,18,13,161,212,57,28,11,3,8,10,6,58,16,17,19,59,20,213,72,73,75,91,68,12,14,21,27,29,30,31,32,62,63,64,69,70,71,74,76,92,85,214,179,180,113,268,158,256,257,146,55,132,133,147,35,36,148,266,149,33,34,37,38,39,40,41,42,43,44,45,46,117,120,121,105,48,49,106,134,135,67,126,143,176,82,86,177,178,130,142,233,234,226,165,235,231,236,112,111,170,189,210,237,238,239,240,241,197,108,109,110,242,243,220,221,222,223,224,269,262]),import.meta.url),defaultWidthTier:"wide",icon:H.changes,get defaultTitle(){return e.layout_tabTypes_changes_title()},get categoryLabel(){return e.layout_tabTypes_changes_category()},sidebarTabId:"changes",renameable:!1}),u.register({type:"local-changes",loadComponent:()=>c(()=>import("./Dxs2medA.js"),__vite__mapDeps([270,1,2,15,22,23,24,25,9,7,26,18,13,161,212,57,28,11,3,8,10,6,58,16,17,19,59,20,268,29,158,256,257,91,68,12,14,4,21,27,30,31,32,62,63,64,69,70,71,72,73,74,75,76,92,85,146,55,132,133,147,35,36,148,266,149,33,34,37,38,39,40,41,42,43,44,45,46,117,120,121,105,48,49,106,134,135,67,126,143,179,180,213,214,113,176,82,86,177,178,130,142,233,234,226,165,235,231,236,112,111,170,189,210,237,238,239,240,241,197,108,109,110,242,243,220,221,222,223,224,269,262]),import.meta.url),defaultWidthTier:"wide",icon:H.changes,get defaultTitle(){return e.layout_tabTypes_localChanges_title()},get categoryLabel(){return e.layout_tabTypes_changes_category()},sidebarTabId:"changes",renameable:!1}),u.register({type:"chat-changes",loadComponent:()=>c(()=>import("./RifCGV3x.js"),__vite__mapDeps([271,1,2,3,268,6,7,8,9,10,29,15,22,23,24,25,26,18,13,158,57,28,11,58,16,17,19,59,20,256,257,91,68,12,14,4,21,27,30,31,32,62,63,64,69,70,71,72,73,74,75,76,92,85,146,55,132,133,147,35,36,148,266,149,33,34,37,38,39,40,41,42,43,44,45,46,117,120,121,105,48,49,106,134,135,67,126,143,179,180,213,214,113,176,82,86,177,178,130,142,233,234,226,165,235,231,236,112,111,170,189,210,237,238,239,240,241,197,108,109,110,242,243,220,221,222,223,224,269]),import.meta.url),defaultWidthTier:"wide",icon:H.changes,get defaultTitle(){return e.layout_tabTypes_chatChanges_title()},get categoryLabel(){return e.layout_tabTypes_changes_category()},renameable:!1}),u.register({type:"activity-changes",loadComponent:()=>c(()=>import("./DK2Pie4F.js"),__vite__mapDeps([272,1,2,3,4,11,58,238,24,64,146,8,9,7,10,55,15,132,16,13,17,18,19,22,23,25,26,91,57,28,6,59,20,68,12,14,21,27,29,30,31,32,62,63,69,70,71,72,73,74,75,76,92,85,133,147,35,36,148,266,149,33,34,37,38,39,40,41,42,43,44,45,46,117,212,136,262,195,196,172,197,121]),import.meta.url),defaultWidthTier:"wide",icon:H.changes,get defaultTitle(){return e.layout_tabTypes_activityChanges_title()},get categoryLabel(){return e.layout_tabTypes_changes_category()},renameable:!1}),u.register({type:"hook-script",loadComponent:()=>c(()=>import("./s1m3ujOc.js"),__vite__mapDeps([273,1,2,3,150,6,7,8,9,10,140,151,64,152,12,13,14,15,16,17,18,19,11,4,20,21,22,23,24,25,26,27,28,29,30,31,32,153,165,57,58,59,72,73,74]),import.meta.url),defaultWidthTier:"medium",icon:Ge,get defaultTitle(){return e.chat_backgroundHooks_viewScript_label()},get categoryLabel(){return e.layout_tabTypes_panel_category()},renameable:!1}),u.register({type:"settings",loadComponent:()=>c(()=>import("./DPPtpHwn.js"),__vite__mapDeps([274,1,2]),import.meta.url),defaultWidthTier:"narrow",icon:He,get defaultTitle(){return e.layout_tabTypes_settings_title()},get categoryLabel(){return e.layout_tabTypes_settings_category()},renameable:!1}),u.register({type:"overview",loadComponent:()=>c(()=>import("./CMMep18j.js"),__vite__mapDeps([275,1,2]),import.meta.url),defaultWidthTier:"narrow",icon:ue,get defaultTitle(){return e.layout_tabTypes_overview_title()},get categoryLabel(){return e.layout_tabTypes_overview_category()},renameable:!1})}async function Wt(y){if(y?.restoreStatus!=="restored")return;const _=new Set(Object.values(y.panels).flatMap(r=>{const k=r.tabs.find(l=>l.id===r.activeTabId);return k?[k.type]:[]}));await Promise.allSettled([..._].map(r=>u.loadComponent(r)))}var at=W("<!> <!>",1),rt=W('<img class="h-auto w-full max-w-64 rounded-lg" width="512" height="512"/>'),ot=W('<div class="flex aspect-square w-full max-w-64 items-center justify-center"><!></div>'),st=W('<div class="flex justify-center" data-testid="passkey-qr"><!></div>'),it=W('<div class="flex justify-center py-4 text-muted-foreground"><!></div>'),nt=W('<p class="type-caption text-muted-foreground" data-testid="passkey-pin-advice"> </p>'),lt=W('<form id="passkey-pin-form" class="flex flex-col gap-3"><!> <!></form>');function Pe(y,_){if(new.target)return Te({component:Pe,...y});we(_,!0);let r=ie(_,"payload",7),k=ie(_,"static",7,!1),l=ie(_,"onRespond",7),f=K(!1),A=K(""),U=K("");const a=b(()=>r()?.view??null);Q(()=>{v(f,r()!==null)}),Q(()=>{t(a)?.step!=="pin"&&v(A,"")});let z=K(0),Y=K(ze(Date.now()));Q(()=>{const i=t(a)?.step==="pin"&&t(a).kind==="device"?t(a).retryAfterMs:void 0;if(typeof i!="number"){v(z,0);return}const T=Date.now();v(Y,T,!0),v(z,T+i);const w=setInterval(()=>{v(Y,Date.now(),!0),t(Y)>=t(z)&&clearInterval(w)},250);return()=>clearInterval(w)});const ee=b(()=>Math.max(0,Math.ceil((t(z)-t(Y))/1e3))),_e=b(()=>t(a)?.step==="pin"&&(t(a).kind==="device"?t(ee)>0:typeof t(a).retryAfterMs=="number"));Q(()=>{const i=t(a)?.step==="qr"?t(a).data:"";if(!i){v(U,"");return}let T=!0;return c(async()=>{const{default:w}=await import("./BZ9svoQk.js").then(C=>C.b);return{default:w}},__vite__mapDeps([276,64]),import.meta.url).then(({default:w})=>w.toDataURL(i,{width:512,margin:2})).then(w=>{T&&v(U,w,!0)}),()=>{T=!1}});const Ee=b(()=>r()?r().kind==="create"?e.passkeys_dialog_createTitle_label({site:r().rpId}):e.passkeys_dialog_getTitle_label({site:r().rpId}):"");function De(i){switch(i){case"bluetooth-off":return e.passkeys_dialog_bluetoothOff_error();case"bluetooth-missing":return e.passkeys_dialog_bluetoothMissing_error();case"pin-locked":return e.passkeys_dialog_pinLocked_error();case"timeout":return e.passkeys_dialog_timeout_error();case"already-registered":return e.passkeys_dialog_alreadyRegistered_error();case"unavailable":return e.passkeys_dialog_unavailable_error();case"device-locked":return e.passkeys_dialog_deviceLocked_error();case"device-already-registered":return e.passkeys_dialog_deviceAlreadyRegistered_error();case"device-no-passkey":return e.passkeys_dialog_deviceNoPasskey_error({site:r()?.rpId??""});case"device-old-pin-wrong":return e.passkeys_dialog_deviceOldPinWrong_error();case"device-failed":return e.passkeys_dialog_deviceFailed_error();default:return e.passkeys_dialog_failed_error()}}const Ae=b(()=>{if(!(!t(a)||!r()))switch(t(a).step){case"choose-transport":return r().kind==="create"?e.passkeys_dialog_chooseCreate_description():e.passkeys_dialog_chooseGet_description();case"qr":case"progress":switch(t(a).progress){case"waiting-for-phone":return e.passkeys_dialog_waitingForPhone_description();case"connecting":return e.passkeys_dialog_connecting_description();case"waiting-for-approval":return e.passkeys_dialog_waitingForApproval_description();case"touch-key":return e.passkeys_dialog_touchKey_description();case"processing":return e.passkeys_dialog_processing_description();default:return t(a).step==="progress"&&t(a).transport==="usb"?e.passkeys_dialog_insertKey_description():e.passkeys_dialog_starting_description()}case"pin":return t(a).kind==="usb"?e.passkeys_dialog_pin_description():t(a).oldPin?e.passkeys_dialog_deviceOldPin_description():e.passkeys_dialog_devicePin_description();case"choose-account":return e.passkeys_dialog_chooseAccount_description();case"error":return De(t(a).reason)}}),de=b(()=>t(a)?.step==="pin"&&t(a).kind==="device"?t(a).oldPin?e.passkeys_dialog_deviceOldPin_label():e.passkeys_dialog_devicePin_label():e.passkeys_dialog_pin_label()),Ce=b(()=>{if(t(a)?.step==="pin"){if(t(a).kind==="device"){if(t(ee)>0)return e.passkeys_dialog_devicePinWait_error({seconds:t(ee)})}else if(typeof t(a).retryAfterMs=="number")return e.passkeys_dialog_pinRetryAfter_error();if(t(a).wrongPin)return typeof t(a).attemptsLeft=="number"?t(a).attemptsLeft===1?e.passkeys_dialog_wrongPinAttempts_one({count:t(a).attemptsLeft}):e.passkeys_dialog_wrongPinAttempts_many({count:t(a).attemptsLeft}):e.passkeys_dialog_wrongPin_error()}}),Oe=b(()=>{if(t(a)?.step!=="choose-transport")return[];const i=t(a).hybrid==="bluetooth-off"?e.passkeys_dialog_bluetoothOff_description():t(a).hybrid==="bluetooth-missing"?e.passkeys_dialog_bluetoothMissing_description():void 0;return[...t(a).device?[{id:"device",label:e.passkeys_dialog_thisDevice_label(),note:void 0,icon:qe}]:[],{id:"hybrid",label:e.passkeys_dialog_phone_label(),note:i,icon:Fe},{id:"usb",label:e.passkeys_dialog_securityKey_label(),note:void 0,icon:je}]});function te(){l()({action:"cancel"})}function Re(i){if(i.preventDefault(),!t(A))return;const T=t(A);v(A,""),l()({action:"pin",pin:T})}var xe={get payload(){return r()},set payload(i){r(i),ne()},get static(){return k()},set static(i=!1){k(i),ne()},get onRespond(){return l()},set onRespond(i){l(i),ne()},$set:he,$on:(i,T)=>ke(_,i,T)},pe=q(),We=M(pe);{var Se=i=>{{const T=C=>{var ae=q(),J=M(ae);{var re=P=>{le(P,{variant:"secondary",onclick:te,children:(S,B)=>{F();var V=x();I(d=>E(V,d),[()=>e.passkeys_dialog_close_label()]),p(S,V)},$$slots:{default:!0}})},oe=P=>{var S=at(),B=M(S);le(B,{variant:"ghost",onclick:te,children:(n,m)=>{F();var s=x();I(L=>E(s,L),[()=>e.passkeys_dialog_cancel_label()]),p(n,s)},$$slots:{default:!0}});var V=ye(B,2);{var d=n=>{{let m=b(()=>!t(A)||t(_e));le(n,{variant:"primary",type:"submit",form:"passkey-pin-form",get disabled(){return t(m)},children:(s,L)=>{F();var o=x();I(g=>E(o,g),[()=>e.passkeys_dialog_continue_label()]),p(s,o)},$$slots:{default:!0}})}};D(V,n=>{t(a).step==="pin"&&n(d)})}p(P,S)};D(J,P=>{t(a).step==="error"?P(re):P(oe,-1)})}p(C,ae)};let w=b(()=>t(a).step==="error"?e.passkeys_dialog_close_label():e.passkeys_dialog_cancel_label());Xe(i,{get static(){return k()},get title(){return t(Ee)},get description(){return t(Ae)},size:"sm",dismissOnInteractOutside:!1,get closeLabel(){return t(w)},onClose:te,get open(){return t(f)},set open(C){v(f,C,!0)},footer:T,children:(C,ae)=>{var J=q(),re=M(J);{var oe=d=>{{const n=(s,L)=>{let o=()=>(L?.()).item;me(s,{leading:h=>{Ue(h,{get icon(){return o().icon},fw:!0})},title:h=>{F();var R=x();I(()=>E(R,o().label)),p(h,R)},description:h=>{var R=q(),se=M(R);{var G=$=>{var ce=x();I(()=>E(ce,o().note)),p($,ce)};D(se,$=>{o().note&&$(G)})}p(h,R)},$$slots:{leading:!0,title:!0,description:!0}})};let m=b(()=>e.passkeys_dialog_transports_ariaLabel());be(d,{get items(){return t(Oe)},getKey:s=>s.id,getText:s=>s.label,get ariaLabel(){return t(m)},onActivate:s=>l()({action:"transport",transport:s.id}),row:n,$$slots:{row:!0}})}},P=d=>{var n=st(),m=X(n);{var s=o=>{var g=rt();I(O=>{fe(g,"src",t(U)),fe(g,"alt",O)},[()=>e.passkeys_dialog_qrImage_ariaLabel()]),p(o,g)},L=o=>{var g=ot(),O=X(g);ve(O,{size:20}),Z(g),p(o,g)};D(m,o=>{t(U)?o(s):o(L,-1)})}Z(n),p(d,n)},S=d=>{var n=it(),m=X(n);ve(m,{size:20}),Z(n),p(d,n)},B=d=>{var n=lt(),m=X(n);{let o=b(()=>t(a).kind==="device"?"numeric":void 0);Ze(m,{type:"password",get inputmode(){return t(o)},autocomplete:"off",get"aria-label"(){return t(de)},get placeholder(){return t(de)},get error(){return t(Ce)},get disabled(){return t(_e)},autofocus:!0,get value(){return t(A)},set value(g){v(A,g,!0)}})}var s=ye(m,2);{var L=o=>{var g=nt(),O=Je(g,!0);I(N=>E(O,N),[()=>e.passkeys_dialog_devicePinAdvice_description()]),p(o,g)};D(s,o=>{t(a).firstPasskey&&o(L)})}Z(n),Ye("submit",n,Re),p(d,n)},V=d=>{{const n=(s,L)=>{let o=()=>(L?.()).item;me(s,{title:N=>{F();var h=x();I(()=>E(h,o().userDisplayName||o().userName)),p(N,h)},description:N=>{var h=q(),R=M(h);{var se=G=>{var $=x();I(()=>E($,o().userName)),p(G,$)};D(R,G=>{o().userDisplayName&&o().userName&&G(se)})}p(N,h)},$$slots:{title:!0,description:!0}})};let m=b(()=>e.passkeys_dialog_accounts_ariaLabel());be(d,{get items(){return t(a).accounts},getKey:s=>s.index,getText:s=>s.userDisplayName||s.userName,get ariaLabel(){return t(m)},onActivate:s=>l()({action:"choose",index:s.index}),row:n,$$slots:{row:!0}})}};D(re,d=>{t(a).step==="choose-transport"?d(oe):t(a).step==="qr"?d(P,1):t(a).step==="progress"?d(S,2):t(a).step==="pin"?d(B,3):t(a).step==="choose-account"&&d(V,4)})}p(C,J)},$$slots:{footer:!0,default:!0}})}};D(We,i=>{r()&&t(a)&&i(Se)})}return p(y,pe),Le(xe)}const _t=new tt("PasskeyDialog"),j=et.PASSKEYS;function dt(y){const _=Ie();if(!_)return()=>{};const r=_.on(j.DIALOG_SHOW,l=>{const f=l;!f||typeof f.ceremonyId!="string"||!f.view||y.onShow(f)}),k=_.on(j.DIALOG_CLOSE,l=>{const f=l;f&&typeof f.ceremonyId=="string"&&y.onClose(f.ceremonyId)});return()=>{_.offById(j.DIALOG_SHOW,r),_.offById(j.DIALOG_CLOSE,k)}}function pt(y){const _=Ie();_&&_.invoke(j.DIALOG_RESPOND,y).catch(()=>{_t.warn("Passkey dialog response failed",{action:y.action})})}function ct(y,_){if(new.target)return Te({component:ct,...y});we(_,!0);let r=K(null);Qe(()=>dt({onShow:l=>{v(r,l,!0)},onClose:l=>{t(r)?.ceremonyId===l&&v(r,null)}}));var k={$set:he,$on:(l,f)=>ke(_,l,f)};return Pe(y,{get payload(){return t(r)},onRespond:l=>{t(r)&&pt({...l,ceremonyId:t(r).ceremonyId})}}),Le(k)}export{ct as P,Wt as p,xt as r};
@@ -1,4 +1,4 @@
1
- import{g as ze}from"./S5vPfW1A.js";import{s as Xe}from"./CJj_lU-4.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"./DrBi0w5G.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"./BCSEMQfF.js";import{s as Xe}from"./C1VlgusM.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"./BOCp5eAe.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()+`
@@ -1 +1 @@
1
- import{t as F,bo as l,bm as u,bw as G,b as H,bs as re,bq as se}from"./51_h0jm2.js";import{bs as K,a5 as P,bl as w,bS as m,bA as $,be as z,b$ as N,b_ as k,bO as _,W as v,aD as ae,bn as L,aA as p,c9 as ne,aB as B,c5 as R,a7 as oe,ay as ie}from"./CJxGDkBm.js";import{i as q}from"./PXCFrn2V.js";import{s as W}from"./CpPNoOk-.js";import{f as A}from"./Cdw_CIdg.js";import"./CF1Tu_8c.js";import{D as ce}from"./b-bXytVF.js";import{U as de}from"./E_jRuW-b.js";import{J4 as ue,iT as le}from"./Zldsekdv.js";var pe=B('<p class="text-sm text-muted-foreground"> </p>'),j=B('<p role="status" class="text-sm"> </p>'),ge=B('<div class="flex max-h-[min(calc(100dvh-8rem),calc(var(--toast-max-height,100dvh)-2rem))] min-h-0 min-w-0 flex-col gap-3" role="group"><div class="min-h-0 space-y-3 overflow-y-auto break-words" role="region" tabindex="0"><p class="font-medium break-words"> </p> <p class="text-sm text-muted-foreground"> </p> <!> <!> <!> <!></div> <div class="flex shrink-0 flex-wrap gap-2"><!> <!> <!></div></div>');function M(y,r){if(new.target)return F({component:M,...y});K(r,!0);let a=l(r,"request",7),g=l(r,"pending",7,!1),b=l(r,"settingUp",7,!1),c=l(r,"guidance",7),d=l(r,"checklist",7),i=l(r,"onDecision",7);var C={get request(){return a()},set request(e){a(e),p()},get pending(){return g()},set pending(e=!1){g(e),p()},get settingUp(){return b()},set settingUp(e=!1){b(e),p()},get guidance(){return c()},set guidance(e){c(e),p()},get checklist(){return d()},set checklist(e){d(e),p()},get onDecision(){return i()},set onDecision(e){i(e),p()},$set:G,$on:(e,t)=>H(r,e,t)},x=ge(),f=P(x),I=P(f),U=w(I,!0),D=m(I,2),n=w(D,!0),h=m(D,2);{var Q=e=>{var t=pe(),s=w(t,!0);k(o=>_(s,o),[()=>u.desktop_consent_claimPrimary({computer:a().computerName})]),v(e,t)};q(h,e=>{a().claimsPrimary&&e(Q)})}var O=m(h,2);{var V=e=>{ce(e,{get checklist(){return d()}})};q(O,e=>{d()&&e(V)})}var S=m(O,2);{var X=e=>{var t=j(),s=w(t,!0);k(()=>_(s,c())),v(e,t)};q(S,e=>{c()&&e(X)})}var Y=m(S,2);{var Z=e=>{var t=j(),s=w(t,!0);k(o=>_(s,o),[()=>u.desktop_consent_pending()]),v(e,t)};q(Y,e=>{g()&&!b()&&e(Z)})}$(f);var T=m(f,2),E=P(T);A(E,{size:"compact",variant:"primary",get disabled(){return g()},onclick:()=>i()("allow_once"),children:(e,t)=>{z();var s=N();k(o=>_(s,o),[()=>u.desktop_consent_once()]),v(e,s)},$$slots:{default:!0}});var J=m(E,2);A(J,{size:"compact",variant:"outline",get disabled(){return g()},onclick:()=>i()("allow_future"),children:(e,t)=>{z();var s=N();k(o=>_(s,o),[()=>u.desktop_consent_future()]),v(e,s)},$$slots:{default:!0}});var ee=m(J,2);{let e=ne(()=>g()&&!b());A(ee,{size:"compact",variant:"ghost",get disabled(){return ae(e)},onclick:()=>i()("deny"),children:(t,s)=>{z();var o=N();k(te=>_(o,te),[()=>u.desktop_consent_deny()]),v(t,o)},$$slots:{default:!0}})}return $(T),$(x),k((e,t,s,o)=>{W(x,"aria-label",e),W(f,"aria-label",t),_(U,s),_(n,o)},[()=>u.desktop_consent_title(),()=>u.desktop_consent_title(),()=>u.desktop_consent_request({agent:a().agentName,computer:a().computerName}),()=>u.desktop_consent_description()]),v(y,x),L(C)}function me(y,r){if(new.target)return F({component:me,...y});K(r,!0);const a=()=>re(C,"$entry",g),[g,b]=se();let c=l(r,"workspaceId",7),d=l(r,"agentId",7),i=l(r,"requestId",7);const C=de(R(()=>c()),R(()=>d()));var x={get workspaceId(){return c()},set workspaceId(n){c(n),p()},get agentId(){return d()},set agentId(n){d(n),p()},get requestId(){return i()},set requestId(n){i(n),p()},$set:G,$on:(n,h)=>H(r,n,h)},f=oe(),I=ie(f);{var U=n=>{M(n,{get request(){return a().pending},get pending(){return a().submitting},get settingUp(){return a().settingUp},get guidance(){return a().error},get checklist(){return a().osChecklist},onDecision:h=>ue.dispatch(le(c(),d(),i(),h))})};q(I,n=>{a()?.pending?.requestId===i()&&n(U)})}v(y,f);var D=L(x);return b(),D}export{me as default};
1
+ import{t as F,bo as l,bm as u,bw as G,b as H,bs as re,bq as se}from"./51_h0jm2.js";import{bs as K,a5 as P,bl as w,bS as m,bA as $,be as z,b$ as N,b_ as k,bO as _,W as v,aD as ae,bn as L,aA as p,c9 as ne,aB as B,c5 as R,a7 as oe,ay as ie}from"./CJxGDkBm.js";import{i as q}from"./PXCFrn2V.js";import{s as W}from"./CpPNoOk-.js";import{f as A}from"./Cdw_CIdg.js";import"./CF1Tu_8c.js";import{D as ce}from"./b-bXytVF.js";import{U as de}from"./DEMmGTfr.js";import{J4 as ue,iT as le}from"./Zldsekdv.js";var pe=B('<p class="text-sm text-muted-foreground"> </p>'),j=B('<p role="status" class="text-sm"> </p>'),ge=B('<div class="flex max-h-[min(calc(100dvh-8rem),calc(var(--toast-max-height,100dvh)-2rem))] min-h-0 min-w-0 flex-col gap-3" role="group"><div class="min-h-0 space-y-3 overflow-y-auto break-words" role="region" tabindex="0"><p class="font-medium break-words"> </p> <p class="text-sm text-muted-foreground"> </p> <!> <!> <!> <!></div> <div class="flex shrink-0 flex-wrap gap-2"><!> <!> <!></div></div>');function M(y,r){if(new.target)return F({component:M,...y});K(r,!0);let a=l(r,"request",7),g=l(r,"pending",7,!1),b=l(r,"settingUp",7,!1),c=l(r,"guidance",7),d=l(r,"checklist",7),i=l(r,"onDecision",7);var C={get request(){return a()},set request(e){a(e),p()},get pending(){return g()},set pending(e=!1){g(e),p()},get settingUp(){return b()},set settingUp(e=!1){b(e),p()},get guidance(){return c()},set guidance(e){c(e),p()},get checklist(){return d()},set checklist(e){d(e),p()},get onDecision(){return i()},set onDecision(e){i(e),p()},$set:G,$on:(e,t)=>H(r,e,t)},x=ge(),f=P(x),I=P(f),U=w(I,!0),D=m(I,2),n=w(D,!0),h=m(D,2);{var Q=e=>{var t=pe(),s=w(t,!0);k(o=>_(s,o),[()=>u.desktop_consent_claimPrimary({computer:a().computerName})]),v(e,t)};q(h,e=>{a().claimsPrimary&&e(Q)})}var O=m(h,2);{var V=e=>{ce(e,{get checklist(){return d()}})};q(O,e=>{d()&&e(V)})}var S=m(O,2);{var X=e=>{var t=j(),s=w(t,!0);k(()=>_(s,c())),v(e,t)};q(S,e=>{c()&&e(X)})}var Y=m(S,2);{var Z=e=>{var t=j(),s=w(t,!0);k(o=>_(s,o),[()=>u.desktop_consent_pending()]),v(e,t)};q(Y,e=>{g()&&!b()&&e(Z)})}$(f);var T=m(f,2),E=P(T);A(E,{size:"compact",variant:"primary",get disabled(){return g()},onclick:()=>i()("allow_once"),children:(e,t)=>{z();var s=N();k(o=>_(s,o),[()=>u.desktop_consent_once()]),v(e,s)},$$slots:{default:!0}});var J=m(E,2);A(J,{size:"compact",variant:"outline",get disabled(){return g()},onclick:()=>i()("allow_future"),children:(e,t)=>{z();var s=N();k(o=>_(s,o),[()=>u.desktop_consent_future()]),v(e,s)},$$slots:{default:!0}});var ee=m(J,2);{let e=ne(()=>g()&&!b());A(ee,{size:"compact",variant:"ghost",get disabled(){return ae(e)},onclick:()=>i()("deny"),children:(t,s)=>{z();var o=N();k(te=>_(o,te),[()=>u.desktop_consent_deny()]),v(t,o)},$$slots:{default:!0}})}return $(T),$(x),k((e,t,s,o)=>{W(x,"aria-label",e),W(f,"aria-label",t),_(U,s),_(n,o)},[()=>u.desktop_consent_title(),()=>u.desktop_consent_title(),()=>u.desktop_consent_request({agent:a().agentName,computer:a().computerName}),()=>u.desktop_consent_description()]),v(y,x),L(C)}function me(y,r){if(new.target)return F({component:me,...y});K(r,!0);const a=()=>re(C,"$entry",g),[g,b]=se();let c=l(r,"workspaceId",7),d=l(r,"agentId",7),i=l(r,"requestId",7);const C=de(R(()=>c()),R(()=>d()));var x={get workspaceId(){return c()},set workspaceId(n){c(n),p()},get agentId(){return d()},set agentId(n){d(n),p()},get requestId(){return i()},set requestId(n){i(n),p()},$set:G,$on:(n,h)=>H(r,n,h)},f=oe(),I=ie(f);{var U=n=>{M(n,{get request(){return a().pending},get pending(){return a().submitting},get settingUp(){return a().settingUp},get guidance(){return a().error},get checklist(){return a().osChecklist},onDecision:h=>ue.dispatch(le(c(),d(),i(),h))})};q(I,n=>{a()?.pending?.requestId===i()&&n(U)})}v(y,f);var D=L(x);return b(),D}export{me as default};
@@ -1,4 +1,4 @@
1
- var vo=Object.defineProperty;var bo=(e,t,i)=>t in e?vo(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i;var v=(e,t,i)=>bo(e,typeof t!="symbol"?t+"":t,i);import{t as ir,bo as M,bw as nr,b as rr,bs as dn,bq as So,bm as $e}from"./51_h0jm2.js";import{bs as or,a5 as De,ay as hn,bS as Xe,aD as C,bA as ke,b_ as Me,bO as rt,W as le,bl as Xt,be as Hi,bn as sr,c9 as ne,aA as I,b$ as ar,aB as ge,ai as yo,bV as Te,br as Co,ca as je,bH as Y,c5 as dt,bk as xo,bj as Lo,aj as wo,c0 as fn}from"./CJxGDkBm.js";import{i as we}from"./PXCFrn2V.js";import{f as un,g as pi,s as cn}from"./CpPNoOk-.js";import{b as ko}from"./DfTSMq0b.js";import{b as pn}from"./NtFyWdpR.js";import{h as Eo,c as Ye,w as lr,N as O,O as Jt,b3 as Qe,a as dr,j as hr,P as Je,H as fr,i as ur,ab as cr,U as Ro,f as Ao,e as pr,T as Ho,g as To,S as Do,a4 as Ze,a3 as Ve,C as Mo,G as gr,F as Io,I as Fo,A as At,ah as No,$ as Ht,ad as Tt,v as St,a1 as Ti,s as J,r as Ue,an as wt,D as Po,d as zo,aa as mr,b as gn,u as mn,aI as Uo,ap as ct,ac as _o,K as Le,M as Ut,L as Oo,a0 as Dt,E as Bo,al as vr,a6 as Vo,a2 as vn,t as br,af as ft,a5 as kt,ae as ot,ag as Sr,B as gi,a9 as mi,k as Wo,aH as bn}from"./C7RXZVwZ.js";import{g as Go,i as $o}from"./Bjy4ygfJ.js";import{F as vi,c9 as jo,bi as qo,ax as Ko,aw as Xo}from"./DSQT151l.js";import{f as Di}from"./Cdw_CIdg.js";import"./CF1Tu_8c.js";import{g as Yo}from"./LKW_Bid7.js";import{c as Qo}from"./JKboQXkL.js";import{P as Jo}from"./BR5vKj6f.js";import{l as Sn}from"./DqFWZ_g1.js";class Zo extends Eo{constructor(){super(...arguments),this.tokenize=ts}equals(t,i,n){return n.ignoreWhitespace?((!n.newlineIsToken||!t.includes(`
1
+ var vo=Object.defineProperty;var bo=(e,t,i)=>t in e?vo(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i;var v=(e,t,i)=>bo(e,typeof t!="symbol"?t+"":t,i);import{t as ir,bo as M,bw as nr,b as rr,bs as dn,bq as So,bm as $e}from"./51_h0jm2.js";import{bs as or,a5 as De,ay as hn,bS as Xe,aD as C,bA as ke,b_ as Me,bO as rt,W as le,bl as Xt,be as Hi,bn as sr,c9 as ne,aA as I,b$ as ar,aB as ge,ai as yo,bV as Te,br as Co,ca as je,bH as Y,c5 as dt,bk as xo,bj as Lo,aj as wo,c0 as fn}from"./CJxGDkBm.js";import{i as we}from"./PXCFrn2V.js";import{f as un,g as pi,s as cn}from"./CpPNoOk-.js";import{b as ko}from"./DfTSMq0b.js";import{b as pn}from"./NtFyWdpR.js";import{h as Eo,c as Ye,w as lr,N as O,O as Jt,b3 as Qe,a as dr,j as hr,P as Je,H as fr,i as ur,ab as cr,U as Ro,f as Ao,e as pr,T as Ho,g as To,S as Do,a4 as Ze,a3 as Ve,C as Mo,G as gr,F as Io,I as Fo,A as At,ah as No,$ as Ht,ad as Tt,v as St,a1 as Ti,s as J,r as Ue,an as wt,D as Po,d as zo,aa as mr,b as gn,u as mn,aI as Uo,ap as ct,ac as _o,K as Le,M as Ut,L as Oo,a0 as Dt,E as Bo,al as vr,a6 as Vo,a2 as vn,t as br,af as ft,a5 as kt,ae as ot,ag as Sr,B as gi,a9 as mi,k as Wo,aH as bn}from"./CKkGJ_p-.js";import{g as Go,i as $o}from"./Bjy4ygfJ.js";import{F as vi,c9 as jo,bi as qo,ax as Ko,aw as Xo}from"./DSQT151l.js";import{f as Di}from"./Cdw_CIdg.js";import"./CF1Tu_8c.js";import{g as Yo}from"./LKW_Bid7.js";import{c as Qo}from"./JKboQXkL.js";import{P as Jo}from"./BR5vKj6f.js";import{l as Sn}from"./DqFWZ_g1.js";class Zo extends Eo{constructor(){super(...arguments),this.tokenize=ts}equals(t,i,n){return n.ignoreWhitespace?((!n.newlineIsToken||!t.includes(`
2
2
  `))&&(t=t.trim()),(!n.newlineIsToken||!i.includes(`
3
3
  `))&&(i=i.trim())):n.ignoreNewlineAtEof&&!n.newlineIsToken&&(t.endsWith(`
4
4
  `)&&(t=t.slice(0,-1)),i.endsWith(`