@intent-hq/web 2.341.1 → 2.341.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (142) hide show
  1. package/package.json +1 -1
  2. package/web/app/immutable/chunks/{CgEYFTw0.js → 0WuPrU1r.js} +1 -1
  3. package/web/app/immutable/chunks/{Bjar6XLk.js → 0wIIYnxr.js} +1 -1
  4. package/web/app/immutable/chunks/{BaF_QH3L.js → 1-j6WuPc.js} +1 -1
  5. package/web/app/immutable/chunks/{BVWMj_DH.js → 5y55aTrU.js} +1 -1
  6. package/web/app/immutable/chunks/{lI90GCpH.js → 8FNKiReg.js} +1 -1
  7. package/web/app/immutable/chunks/{CLgmUgBt.js → 9IpLdHiv.js} +1 -1
  8. package/web/app/immutable/chunks/{5yPZRZCV.js → A8KQJd5d.js} +2 -2
  9. package/web/app/immutable/chunks/{kFQYnC_s.js → B-t0Hiim.js} +1 -1
  10. package/web/app/immutable/chunks/{C2E3PLRc.js → B03kA1R2.js} +1 -1
  11. package/web/app/immutable/chunks/{qRPKZipv.js → B1Fu6T0M.js} +2 -2
  12. package/web/app/immutable/chunks/{Fvq5uW61.js → B2Km94Qz.js} +1 -1
  13. package/web/app/immutable/chunks/{DfkAksH6.js → B5NMwDr1.js} +1 -1
  14. package/web/app/immutable/chunks/{eLTYtu4L.js → B5sVEway.js} +3 -3
  15. package/web/app/immutable/chunks/{BPpJ5XOM.js → B6qmQARR.js} +1 -1
  16. package/web/app/immutable/chunks/{lttzdtAd.js → B8mTuhzO.js} +1 -1
  17. package/web/app/immutable/chunks/{iLL2N6eh.js → B9R98FZz.js} +1 -1
  18. package/web/app/immutable/chunks/{Cm09y9xR.js → BB_HEKX3.js} +1 -1
  19. package/web/app/immutable/chunks/{Byde94fq.js → BGjYxu3b.js} +1 -1
  20. package/web/app/immutable/chunks/{BLu2Qjcz.js → BIPVAS3s.js} +1 -1
  21. package/web/app/immutable/chunks/{RqvE5pv9.js → BJwhTMNH.js} +1 -1
  22. package/web/app/immutable/chunks/{YRHmTfBP.js → BOp-xgUY.js} +1 -1
  23. package/web/app/immutable/chunks/{7_ObPjVE.js → BRlTfYVq.js} +1 -1
  24. package/web/app/immutable/chunks/{C8jV_1kH.js → BVWcbZYZ.js} +1 -1
  25. package/web/app/immutable/chunks/{EfHzTgiE.js → BVo9Fayv.js} +1 -1
  26. package/web/app/immutable/chunks/{CNaYNOfE.js → BWkUdpvz.js} +4 -4
  27. package/web/app/immutable/chunks/{CccM2Igh.js → BWqChnH3.js} +2 -2
  28. package/web/app/immutable/chunks/{LY8itt27.js → BY4GwAft.js} +1 -1
  29. package/web/app/immutable/chunks/{F0n5o6xT.js → BZ3ZUgHl.js} +1 -1
  30. package/web/app/immutable/chunks/{DAbJJ8Qj.js → B_wqGXO8.js} +1 -1
  31. package/web/app/immutable/chunks/{BLnYhmvu.js → BcbwK1ES.js} +1 -1
  32. package/web/app/immutable/chunks/{CzTA_X57.js → BeqvtwUo.js} +1 -1
  33. package/web/app/immutable/chunks/{usONbtdT.js → Bf0Zh6Mw.js} +1 -1
  34. package/web/app/immutable/chunks/{DzptM7_X.js → BfpUcUyv.js} +1 -1
  35. package/web/app/immutable/chunks/{CJE64TCE.js → BgS9mR9A.js} +1 -1
  36. package/web/app/immutable/chunks/{LMfwm5GA.js → BgrWRL30.js} +1 -1
  37. package/web/app/immutable/chunks/{CSHEsMmc.js → BhaAu9oc.js} +1 -1
  38. package/web/app/immutable/chunks/{CN5NPyij.js → Bi3gb3vy.js} +12 -12
  39. package/web/app/immutable/chunks/{CUME4y3G.js → BipW4sR9.js} +1 -1
  40. package/web/app/immutable/chunks/{BkOZFMFh.js → BjtbuSfg.js} +1 -1
  41. package/web/app/immutable/chunks/{DHuOtKKG.js → Bjxr6-oA.js} +1 -1
  42. package/web/app/immutable/chunks/{DiYuqE5C.js → BkZ_IlDM.js} +3 -3
  43. package/web/app/immutable/chunks/{D9MlL8EE.js → Bn7L4PAr.js} +1 -1
  44. package/web/app/immutable/chunks/{DMUjpYuS.js → BnlWUiku.js} +2 -2
  45. package/web/app/immutable/chunks/{CSvoOaiI.js → BrtFGrrQ.js} +1 -1
  46. package/web/app/immutable/chunks/{BvqQKgIh.js → Buh_qAzZ.js} +1 -1
  47. package/web/app/immutable/chunks/{D25Siso6.js → BvAoeVAO.js} +1 -1
  48. package/web/app/immutable/chunks/{DBQ6sG-N.js → BvZxg4g7.js} +1 -1
  49. package/web/app/immutable/chunks/{B9e3ZGxo.js → BwUyq-_g.js} +1 -1
  50. package/web/app/immutable/chunks/{DeLswjKZ.js → BxygHVc0.js} +1 -1
  51. package/web/app/immutable/chunks/{CQnMf1_x.js → C-rIyhbi.js} +1 -1
  52. package/web/app/immutable/chunks/{BREnKX07.js → C2qzWhM3.js} +1 -1
  53. package/web/app/immutable/chunks/{DvcprnFO.js → C4igGWED.js} +1 -1
  54. package/web/app/immutable/chunks/{CD2HYrCH.js → C56SKTiE.js} +2 -2
  55. package/web/app/immutable/chunks/{T5dXiqec.js → C6CAte5a.js} +1 -1
  56. package/web/app/immutable/chunks/{CJER3CRY.js → C96eSOju.js} +4 -4
  57. package/web/app/immutable/chunks/{uowR4Emm.js → C9kFd-ow.js} +2 -2
  58. package/web/app/immutable/chunks/{CNMeJ__-.js → CDmGTSwM.js} +1 -1
  59. package/web/app/immutable/chunks/{CPYAlnby.js → CIo5jCu0.js} +1 -1
  60. package/web/app/immutable/chunks/{v_6l3PxL.js → CL51sD2J.js} +1 -1
  61. package/web/app/immutable/chunks/{yB960NCO.js → CL6Jm56o.js} +1 -1
  62. package/web/app/immutable/chunks/{BLm6M8a7.js → CTd6owPM.js} +1 -1
  63. package/web/app/immutable/chunks/{BhdaCqy0.js → CY_U0FqG.js} +1 -1
  64. package/web/app/immutable/chunks/{B5MLgCrX.js → CaEO1WOw.js} +1 -1
  65. package/web/app/immutable/chunks/{sl7qUXdR.js → CbIjL5rO.js} +1 -1
  66. package/web/app/immutable/chunks/{DD7CIwZr.js → CdEZnV89.js} +1 -1
  67. package/web/app/immutable/chunks/{C0I9IFl7.js → CifnfNKw.js} +1 -1
  68. package/web/app/immutable/chunks/{DS9x31Ck.js → Cih9Zs2a.js} +1 -1
  69. package/web/app/immutable/chunks/{DDBIVnjY.js → CjMZRWVT.js} +2 -2
  70. package/web/app/immutable/chunks/{lo23QH6G.js → CkgZ-o6m.js} +3 -3
  71. package/web/app/immutable/chunks/{D7N7IHMl.js → Cln842Nh.js} +1 -1
  72. package/web/app/immutable/chunks/{bnlzpH0C.js → Cr9jYHoz.js} +1 -1
  73. package/web/app/immutable/chunks/{CU_igNrp.js → CrLZNk77.js} +1 -1
  74. package/web/app/immutable/chunks/{6zbXr_io.js → CriDtN0a.js} +1 -1
  75. package/web/app/immutable/chunks/{jbubRayo.js → Ctqq_Hm-.js} +1 -1
  76. package/web/app/immutable/chunks/{xCO9YQv5.js → D-wkRpKs.js} +1 -1
  77. package/web/app/immutable/chunks/{CblXzMHl.js → D1jOGOLo.js} +1 -1
  78. package/web/app/immutable/chunks/{CdRr34Ch.js → D34VXx0H.js} +1 -1
  79. package/web/app/immutable/chunks/{BkYxjZBQ.js → D70Wuc8a.js} +1 -1
  80. package/web/app/immutable/chunks/{BE3wyntg.js → D7RDU4oX.js} +1 -1
  81. package/web/app/immutable/chunks/{DJz5fNHR.js → D8ulYjLF.js} +1 -1
  82. package/web/app/immutable/chunks/{r6BQ8kUW.js → D9XMFsak.js} +1 -1
  83. package/web/app/immutable/chunks/{OUEUfGbN.js → DACVGRAe.js} +2 -2
  84. package/web/app/immutable/chunks/{BWJDe8j7.js → DAvxjdg4.js} +1 -1
  85. package/web/app/immutable/chunks/{C33ol_Co.js → DEJKGaFk.js} +1 -1
  86. package/web/app/immutable/chunks/{BVpTbT83.js → DFYnEvjJ.js} +1 -1
  87. package/web/app/immutable/chunks/{Dci3uR78.js → DGm9BQVB.js} +4 -4
  88. package/web/app/immutable/chunks/{BXCSmyo3.js → DLAO6H8J.js} +1 -1
  89. package/web/app/immutable/chunks/{BG9XZ9or.js → DLBq5-aC.js} +1 -1
  90. package/web/app/immutable/chunks/{BGhDRH6N.js → DLItSYgF.js} +1 -1
  91. package/web/app/immutable/chunks/{B8IG1OPH.js → DMfRTAkK.js} +1 -1
  92. package/web/app/immutable/chunks/{BIPzkS2w.js → DP2mFyqQ.js} +1 -1
  93. package/web/app/immutable/chunks/{MfgLK08j.js → DRK9fuuL.js} +1 -1
  94. package/web/app/immutable/chunks/{DFq5nrYO.js → DSDDKy6s.js} +1 -1
  95. package/web/app/immutable/chunks/{CWIKgED9.js → DUATm_LT.js} +1 -1
  96. package/web/app/immutable/chunks/{dV6zU05r.js → DWYjcnCC.js} +1 -1
  97. package/web/app/immutable/chunks/{DsudoUwx.js → DhvbLTQy.js} +1 -1
  98. package/web/app/immutable/chunks/{YEOg1jH9.js → DiaGgCHr.js} +1 -1
  99. package/web/app/immutable/chunks/{K_GlKbLA.js → DmfDK5sO.js} +1 -1
  100. package/web/app/immutable/chunks/{96Ve7GDU.js → DqP8lgeh.js} +1 -1
  101. package/web/app/immutable/chunks/{CGy2WPjn.js → DrpsA4Ly.js} +2 -2
  102. package/web/app/immutable/chunks/{ClbTB6Xj.js → Ds-0wg5K.js} +1 -1
  103. package/web/app/immutable/chunks/{CLjbCWr-.js → DtZ0s0DW.js} +1 -1
  104. package/web/app/immutable/chunks/{DXZHhaz3.js → DtgKDhuM.js} +1 -1
  105. package/web/app/immutable/chunks/{DC8-G6L8.js → Dul4sOUW.js} +1 -1
  106. package/web/app/immutable/chunks/{Deqxq6ha.js → Dw2h3dcZ.js} +1 -1
  107. package/web/app/immutable/chunks/{Cz81LY0L.js → DzHDJT7q.js} +1 -1
  108. package/web/app/immutable/chunks/{CR6ZEzLI.js → FODk8jOy.js} +1 -1
  109. package/web/app/immutable/chunks/{DMoEVjOP.js → H2_zVpjq.js} +1 -1
  110. package/web/app/immutable/chunks/{C3vxynMw.js → IZ0jBMf8.js} +3 -3
  111. package/web/app/immutable/chunks/{CW_delv_.js → Iv7jZvFC.js} +1 -1
  112. package/web/app/immutable/chunks/{DBOfY2BB.js → MDtuP-Z1.js} +1 -1
  113. package/web/app/immutable/chunks/{CqO_vGSb.js → Q7iXJPU-.js} +1 -1
  114. package/web/app/immutable/chunks/{DXfvYvEU.js → alm18JsE.js} +3 -3
  115. package/web/app/immutable/chunks/{8NIig13l.js → eq3yiGc9.js} +4 -4
  116. package/web/app/immutable/chunks/{CqlFtspL.js → fqryZMo8.js} +1 -1
  117. package/web/app/immutable/chunks/{BymNHpPR.js → j3Ayt40n.js} +1 -1
  118. package/web/app/immutable/chunks/{CErUs68q.js → jRKGXRXm.js} +1 -1
  119. package/web/app/immutable/chunks/{D_80WZ_T.js → jsqrFryE.js} +1 -1
  120. package/web/app/immutable/chunks/{DtePJIwh.js → kLefAR3d.js} +1 -1
  121. package/web/app/immutable/chunks/{PxK7Tpi1.js → kYL_f4ep.js} +1 -1
  122. package/web/app/immutable/chunks/{1BA0jf6v.js → niGffMj9.js} +1 -1
  123. package/web/app/immutable/chunks/{OuBvt1Dn.js → qReongxq.js} +1 -1
  124. package/web/app/immutable/chunks/{B5NUCtAB.js → urUnkHMR.js} +1 -1
  125. package/web/app/immutable/entry/{app.Bw3-3P2q.js → app.soTIQVal.js} +2 -2
  126. package/web/app/immutable/entry/start.BP3fu5vG.js +1 -0
  127. package/web/app/immutable/nodes/{0.CmLft-QF.js → 0.r0ulDrwu.js} +1 -1
  128. package/web/app/immutable/nodes/{1.CqB7---n.js → 1.A8v1n0qj.js} +1 -1
  129. package/web/app/immutable/nodes/{10.BtG5pQwg.js → 10.yOzUfegC.js} +1 -1
  130. package/web/app/immutable/nodes/{14.BSVXjSpi.js → 14.3B0XUkw_.js} +1 -1
  131. package/web/app/immutable/nodes/{17.Bh5ugvjO.js → 17.DxRLAlw9.js} +2 -2
  132. package/web/app/immutable/nodes/{2.CZ34mXRg.js → 2.Be1Ga7Wd.js} +4 -4
  133. package/web/app/immutable/nodes/{3.BSXruCL4.js → 3.C16OjbRR.js} +1 -1
  134. package/web/app/immutable/nodes/{4.H1psgKQ4.js → 4.DBcE2UNc.js} +1 -1
  135. package/web/app/immutable/nodes/{5.CSAkx37t.js → 5.CJRPdyCh.js} +1 -1
  136. package/web/app/immutable/nodes/{6.C2NzRpeE.js → 6.BSMzZH-3.js} +1 -1
  137. package/web/app/immutable/nodes/{7.DX2-aZdI.js → 7.AlZl2_PU.js} +1 -1
  138. package/web/app/immutable/nodes/{8.BUULI5of.js → 8.WS_XHrBt.js} +4 -4
  139. package/web/app/immutable/nodes/{9.QGJ-fCb7.js → 9.B3dVA_xP.js} +4 -4
  140. package/web/app/version.json +1 -1
  141. package/web/index.html +9 -9
  142. package/web/app/immutable/entry/start.icYYR8ly.js +0 -1
@@ -1 +1 @@
1
- import{d as l,v as h,t as T}from"./WFvSJ9zU.js";import{Ix as c,v5 as w}from"./DNqM68dO.js";import{i as W,c as s,n as u,b as m}from"./CGy2WPjn.js";const E=new Set(["new","creating"]);function g(n){let t;try{t=decodeURIComponent(n)}catch{return null}return t.length===0||E.has(t)?null:t}function f(n){const t=/^\/workspace\/([^/?#]+)\/?(?:[?#].*)?$/.exec(n);return t?g(t[1]):null}function A(n){const t=/^\/workspace\/([^/?#]+)(?:[/?#].*)?$/.exec(n);return t?g(t[1]):null}function N(n,t){return t.length>0&&A(n)===t}function p(){return typeof window>"u"?null:window.location?.pathname??null}function d(n,t){const e=`/workspace/${encodeURIComponent(n)}`,a=t?new URLSearchParams(t).toString():"";return a?`${e}?${a}`:e}function R(n,t){const e=t?.presenceFollowRequestId;return e?w(n,e):w(n)}function I(n,t){return t?u(n,{state:t}):u(n)}function o(n){return n?.tabState?.currentTabId??null}async function S(n,t,e,a){m();const i=I(t,e),r={workspaceId:n,epoch:s(),startTabId:a};return await i,r}function y(n){return!n||W()}function b(n,t){if(s()!==n.epoch||t!==n.startTabId&&t!==n.workspaceId)return!1;const e=p();return e===null||f(e)===n.workspaceId}async function v(n,t,e){if(y(n))return!1;const a=await S(n,t,e,o(c.state));return b(a,o(c.state))?(c.dispatch(R(n,e)),!0):!1}function*k(n,t,e){if(y(n))return!1;const a=o(yield*h(r=>r)),i=yield*l(S,n,t,e,a);return b(i,o(yield*h(r=>r)))?(yield*T(R(n,e)),!0):!1}function P(){m();const n=s(),t=o(c.state),e=p();return()=>s()===n&&o(c.state)===t&&p()===e}function _(n,t={}){return v(n,d(n,t.query),t.state)}function O(n,t={}){return k(n,d(n,t.query),t.state)}async function $(n){const t=f(n);t?await v(t,n,void 0):await u(n)}function*x(n){const t=f(n);t?yield*l(k,t,n,void 0):yield*l(u,n)}const U=Object.freeze(Object.defineProperty({__proto__:null,claimNavigation:P,navigateToAppRoute:$,navigateToAppRouteSaga:x,openAndShowWorkspace:_,showWorkspaceSaga:O,workspaceRoute:d},Symbol.toStringTag,{value:"Module"}));export{p as a,x as b,P as c,O as d,d as e,N as i,$ as n,_ as o,f as p,U as s,A as w};
1
+ import{d as l,v as h,t as T}from"./WFvSJ9zU.js";import{Ix as c,v5 as w}from"./DNqM68dO.js";import{i as W,c as s,n as u,b as m}from"./DrpsA4Ly.js";const E=new Set(["new","creating"]);function g(n){let t;try{t=decodeURIComponent(n)}catch{return null}return t.length===0||E.has(t)?null:t}function f(n){const t=/^\/workspace\/([^/?#]+)\/?(?:[?#].*)?$/.exec(n);return t?g(t[1]):null}function A(n){const t=/^\/workspace\/([^/?#]+)(?:[/?#].*)?$/.exec(n);return t?g(t[1]):null}function N(n,t){return t.length>0&&A(n)===t}function p(){return typeof window>"u"?null:window.location?.pathname??null}function d(n,t){const e=`/workspace/${encodeURIComponent(n)}`,a=t?new URLSearchParams(t).toString():"";return a?`${e}?${a}`:e}function R(n,t){const e=t?.presenceFollowRequestId;return e?w(n,e):w(n)}function I(n,t){return t?u(n,{state:t}):u(n)}function o(n){return n?.tabState?.currentTabId??null}async function S(n,t,e,a){m();const i=I(t,e),r={workspaceId:n,epoch:s(),startTabId:a};return await i,r}function y(n){return!n||W()}function b(n,t){if(s()!==n.epoch||t!==n.startTabId&&t!==n.workspaceId)return!1;const e=p();return e===null||f(e)===n.workspaceId}async function v(n,t,e){if(y(n))return!1;const a=await S(n,t,e,o(c.state));return b(a,o(c.state))?(c.dispatch(R(n,e)),!0):!1}function*k(n,t,e){if(y(n))return!1;const a=o(yield*h(r=>r)),i=yield*l(S,n,t,e,a);return b(i,o(yield*h(r=>r)))?(yield*T(R(n,e)),!0):!1}function P(){m();const n=s(),t=o(c.state),e=p();return()=>s()===n&&o(c.state)===t&&p()===e}function _(n,t={}){return v(n,d(n,t.query),t.state)}function O(n,t={}){return k(n,d(n,t.query),t.state)}async function $(n){const t=f(n);t?await v(t,n,void 0):await u(n)}function*x(n){const t=f(n);t?yield*l(k,t,n,void 0):yield*l(u,n)}const U=Object.freeze(Object.defineProperty({__proto__:null,claimNavigation:P,navigateToAppRoute:$,navigateToAppRouteSaga:x,openAndShowWorkspace:_,showWorkspaceSaga:O,workspaceRoute:d},Symbol.toStringTag,{value:"Module"}));export{p as a,x as b,P as c,O as d,d as e,N as i,$ as n,_ as o,f as p,U as s,A as w};
@@ -1,4 +1,4 @@
1
- import{p as tt}from"./Fvq5uW61.js";import{U as et,aZ as at,V as rt,a_ as it,Y as nt,b0 as ot,b as l,ay as E,X as st,q as lt,aX as ct,aH as dt,d as I,B as gt,r as ht,aJ as pt,O as ft}from"./8NIig13l.js";import{p as ut}from"./ltO9jYXn.js";import{o as mt}from"./LMfwm5GA.js";var vt=ft.pie,R={sections:new Map,showData:!1},b=R.sections,H=R.showData,St=structuredClone(vt),xt=l(()=>structuredClone(St),"getConfig"),wt=l(()=>{b=new Map,H=R.showData,ht()},"clear"),$t=l(({label:t,value:a})=>{if(a<0)throw new Error(`"${t}" has invalid value: ${a}. Negative values are not allowed in pie charts. All slice values must be >= 0.`);b.has(t)||(b.set(t,a),E.debug(`added new section: ${t}, with value: ${a}`))},"addSection"),Ct=l(()=>b,"getSections"),yt=l(t=>{H=t},"setShowData"),Dt=l(()=>H,"getShowData"),U={getConfig:xt,clear:wt,setDiagramTitle:ot,getDiagramTitle:nt,setAccTitle:it,getAccTitle:rt,setAccDescription:at,getAccDescription:et,addSection:$t,getSections:Ct,setShowData:yt,getShowData:Dt},bt=l((t,a)=>{tt(t,a),a.setShowData(t.showData),t.sections.map(a.addSection)},"populateDb"),Tt={parse:l(async t=>{const a=await ut("pie",t);E.debug(a),bt(a,U)},"parse")},At=l(t=>`
1
+ import{p as tt}from"./B2Km94Qz.js";import{U as et,aZ as at,V as rt,a_ as it,Y as nt,b0 as ot,b as l,ay as E,X as st,q as lt,aX as ct,aH as dt,d as I,B as gt,r as ht,aJ as pt,O as ft}from"./eq3yiGc9.js";import{p as ut}from"./ltO9jYXn.js";import{o as mt}from"./BgrWRL30.js";var vt=ft.pie,R={sections:new Map,showData:!1},b=R.sections,H=R.showData,St=structuredClone(vt),xt=l(()=>structuredClone(St),"getConfig"),wt=l(()=>{b=new Map,H=R.showData,ht()},"clear"),$t=l(({label:t,value:a})=>{if(a<0)throw new Error(`"${t}" has invalid value: ${a}. Negative values are not allowed in pie charts. All slice values must be >= 0.`);b.has(t)||(b.set(t,a),E.debug(`added new section: ${t}, with value: ${a}`))},"addSection"),Ct=l(()=>b,"getSections"),yt=l(t=>{H=t},"setShowData"),Dt=l(()=>H,"getShowData"),U={getConfig:xt,clear:wt,setDiagramTitle:ot,getDiagramTitle:nt,setAccTitle:it,getAccTitle:rt,setAccDescription:at,getAccDescription:et,addSection:$t,getSections:Ct,setShowData:yt,getShowData:Dt},bt=l((t,a)=>{tt(t,a),a.setShowData(t.showData),t.sections.map(a.addSection)},"populateDb"),Tt={parse:l(async t=>{const a=await ut("pie",t);E.debug(a),bt(a,U)},"parse")},At=l(t=>`
2
2
  .pieCircle{
3
3
  stroke: ${t.pieStrokeColor};
4
4
  stroke-width : ${t.pieStrokeWidth};
@@ -1,4 +1,4 @@
1
- import{t as He,br as v,bp as d,a_ as be,bz as je,b as Ze,bu as or,bv as _t,bt as Ur}from"./O1QHAURn.js";import{bs as Xe,ay as X,be as ut,b$ as nt,b_ as q,bO as Y,W as y,bS as m,aD as e,a7 as ht,bl as xe,bn as Ye,c9 as c,aA as p,aB as re,ca as Le,c0 as pt,bH as s,a5 as oe,bA as ne,bV as V,br as Ct,bk as Ar,bj as Br,bf as Lo,bo as Nr,c5 as kt,aw as Yt,bz as Fo,cd as qt}from"./DYhIMPy1.js";import{c as Q}from"./C2mPABxH.js";import{n as yr,p as Ro,v as Lt,u as Me,w as So,I as To,g as It}from"./CAyg2ijY.js";import{b as wt}from"./BaIAhI85.js";import{d as xr}from"./CNaYNOfE.js";import{H as $o,G as Uo,I as Ao}from"./CovkQMd0.js";import{c as nr}from"./ChTqQfQN.js";import{a as Bo}from"./CC7to1B5.js";import{f as Be,bc as No}from"./CR_t_AVn.js";import{k as st}from"./B6kyqBFl.js";import{s as Oo}from"./BBDxUL80.js";import{ck as Or,F as _e,a4 as Mo,aV as Do,an as Ko,cF as Vo,aI as Wo,aW as Jt,Y as ar,_ as ir,aZ as Mr,as as zo,ay as Dr,cO as Go,cd as Kr,bO as Vr,ci as qo}from"./B0f-om7y.js";import"./B1mZq3ve.js";import{Ix as Pe,fL as Ho,br as jo,ze as Zo,yB as Xo,Kw as Cr,dI as Yo,bL as Jo,Kv as Qo,ul as en,Kt as kr,gr as tn,tI as rn,Ku as on,K9 as Ir,Ks as Er}from"./DNqM68dO.js";import"./CerLhVOI.js";import{R as nn,k as Ht,l as dt,j as an,i as qe,p as Wr,h as zr,K as sn,m as ln,o as dn,n as un,M as Gr,d as cn}from"./DV9nY0bt.js";import{a as qr,B as Et}from"./BvFAWM27.js";import{cq as fn}from"./BvqQKgIh.js";import{a8 as gn,z as vn}from"./BREnKX07.js";import{w as pn,K as wn}from"./BVs4aETe.js";import{I as $t}from"./BV0i7JjW.js";import{d as bn}from"./Vn5GukrK.js";import{a3 as mn,ae as _n}from"./Dci3uR78.js";import{i as Qt}from"./RoOfSbrC.js";import{i as hn,a as yn}from"./Cx-ifKmr.js";import{B as xn,m as Cn,n as kn}from"./DMUjpYuS.js";import"./BgCTNfXj.js";import{t as Ke}from"./BkT9o_nd.js";import{M as Hr}from"./C64Iv2ib.js";import"./BH3LKWph.js";import"./CQkmEJ54.js";import{b as In}from"./Drd3_KgI.js";import"./CqO6BKca.js";import{o as Pr,s as lt,n as St}from"./CIyUrgF0.js";import{g as En}from"./DfN8_dcw.js";import{f as Pn}from"./CUME4y3G.js";import{aw as Ln,_ as Fn}from"./C3vxynMw.js";import{aO as Rn}from"./VZEkDWIM.js";function Sn(o,r){return o.loadURL(r)}function Tn(o){return{previousUrlProp:o||null}}function Lr(o,r){o.previousUrlProp=r}function $n(o,r,i){const b=i||r;return o.previousUrlProp===b?null:(o.previousUrlProp=b,b)}function Un(o,r,i){return r?o.previousUrlProp===null?(o.previousUrlProp=r,{shouldLoad:!1,targetUrl:null}):r===o.previousUrlProp?{shouldLoad:!1,targetUrl:null}:i.webviewReady?(o.previousUrlProp=r,i.isValidBrowserUrl(r)?{shouldLoad:!0,targetUrl:r}:{shouldLoad:!1,targetUrl:null}):{shouldLoad:!1,targetUrl:null}:{shouldLoad:!1,targetUrl:null}}const jr=nr("TabBoundsReporter"),An=150;function jt(o,r,i){!(r>0)||!(i>0)||window.electronAPI?.invoke("browser:report-tab-bounds",{tabId:o,width:r,height:i}).catch(b=>{jr.debug("Failed to report tab bounds",{tabId:o,error:b})})}function Fr(o){window.electronAPI?.invoke("browser:report-tab-bounds",{tabId:o}).catch(r=>{jr.debug("Failed to clear tab bounds",{tabId:o,error:r})})}function Bn(o,r){let i=r,b;const x=typeof ResizeObserver>"u"?void 0:new ResizeObserver(C=>{if(!i)return;const h=C[C.length-1]?.contentRect;if(!h)return;const N=i;clearTimeout(b),b=setTimeout(()=>{jt(N,h.width,h.height)},An)});if(x?.observe(o),i){const C=o.getBoundingClientRect();jt(i,C.width,C.height)}return{update(C){if(C!==i&&(clearTimeout(b),i&&Fr(i),i=C,i)){const h=o.getBoundingClientRect();jt(i,h.width,h.height)}},destroy(){clearTimeout(b),x?.disconnect(),i&&Fr(i)}}}function Zr(o){let r=o.trim();if(!r)return null;/^[a-z][a-z0-9+.-]*:\/\//i.test(r)||(r=(r.includes("localhost")||r.includes("127.0.0.1")||r.includes("0.0.0.0")?"http://":"https://")+r);try{return new URL(r),r}catch{return null}}function ot(o,r=typeof window<"u"?window.location.origin:""){return o==="about:blank"||Xr(o,r)}function Xr(o,r=typeof window<"u"?window.location.origin:""){if(!o)return!1;try{const i=new URL(o);return qr.NAVIGATION_ALLOWED.includes(i.protocol)&&i.origin!==r}catch{return!1}}const er="__INTENT_PANEL_BRACKET__:",Nn=`
1
+ import{t as He,br as v,bp as d,a_ as be,bz as je,b as Ze,bu as or,bv as _t,bt as Ur}from"./O1QHAURn.js";import{bs as Xe,ay as X,be as ut,b$ as nt,b_ as q,bO as Y,W as y,bS as m,aD as e,a7 as ht,bl as xe,bn as Ye,c9 as c,aA as p,aB as re,ca as Le,c0 as pt,bH as s,a5 as oe,bA as ne,bV as V,br as Ct,bk as Ar,bj as Br,bf as Lo,bo as Nr,c5 as kt,aw as Yt,bz as Fo,cd as qt}from"./DYhIMPy1.js";import{c as Q}from"./C2mPABxH.js";import{n as yr,p as Ro,v as Lt,u as Me,w as So,I as To,g as It}from"./CAyg2ijY.js";import{b as wt}from"./BaIAhI85.js";import{d as xr}from"./BWkUdpvz.js";import{H as $o,G as Uo,I as Ao}from"./CovkQMd0.js";import{c as nr}from"./ChTqQfQN.js";import{a as Bo}from"./CC7to1B5.js";import{f as Be,bc as No}from"./CR_t_AVn.js";import{k as st}from"./B6kyqBFl.js";import{s as Oo}from"./BBDxUL80.js";import{ck as Or,F as _e,a4 as Mo,aV as Do,an as Ko,cF as Vo,aI as Wo,aW as Jt,Y as ar,_ as ir,aZ as Mr,as as zo,ay as Dr,cO as Go,cd as Kr,bO as Vr,ci as qo}from"./B0f-om7y.js";import"./B1mZq3ve.js";import{Ix as Pe,fL as Ho,br as jo,ze as Zo,yB as Xo,Kw as Cr,dI as Yo,bL as Jo,Kv as Qo,ul as en,Kt as kr,gr as tn,tI as rn,Ku as on,K9 as Ir,Ks as Er}from"./DNqM68dO.js";import"./CerLhVOI.js";import{R as nn,k as Ht,l as dt,j as an,i as qe,p as Wr,h as zr,K as sn,m as ln,o as dn,n as un,M as Gr,d as cn}from"./DV9nY0bt.js";import{a as qr,B as Et}from"./BvFAWM27.js";import{cq as fn}from"./Buh_qAzZ.js";import{a8 as gn,z as vn}from"./C2qzWhM3.js";import{w as pn,K as wn}from"./BVs4aETe.js";import{I as $t}from"./BV0i7JjW.js";import{d as bn}from"./Vn5GukrK.js";import{a3 as mn,ae as _n}from"./DGm9BQVB.js";import{i as Qt}from"./RoOfSbrC.js";import{i as hn,a as yn}from"./Cx-ifKmr.js";import{B as xn,m as Cn,n as kn}from"./BnlWUiku.js";import"./BgCTNfXj.js";import{t as Ke}from"./BkT9o_nd.js";import{M as Hr}from"./C64Iv2ib.js";import"./BH3LKWph.js";import"./CQkmEJ54.js";import{b as In}from"./Drd3_KgI.js";import"./CqO6BKca.js";import{o as Pr,s as lt,n as St}from"./CIyUrgF0.js";import{g as En}from"./DfN8_dcw.js";import{f as Pn}from"./BipW4sR9.js";import{aw as Ln,_ as Fn}from"./IZ0jBMf8.js";import{aO as Rn}from"./VZEkDWIM.js";function Sn(o,r){return o.loadURL(r)}function Tn(o){return{previousUrlProp:o||null}}function Lr(o,r){o.previousUrlProp=r}function $n(o,r,i){const b=i||r;return o.previousUrlProp===b?null:(o.previousUrlProp=b,b)}function Un(o,r,i){return r?o.previousUrlProp===null?(o.previousUrlProp=r,{shouldLoad:!1,targetUrl:null}):r===o.previousUrlProp?{shouldLoad:!1,targetUrl:null}:i.webviewReady?(o.previousUrlProp=r,i.isValidBrowserUrl(r)?{shouldLoad:!0,targetUrl:r}:{shouldLoad:!1,targetUrl:null}):{shouldLoad:!1,targetUrl:null}:{shouldLoad:!1,targetUrl:null}}const jr=nr("TabBoundsReporter"),An=150;function jt(o,r,i){!(r>0)||!(i>0)||window.electronAPI?.invoke("browser:report-tab-bounds",{tabId:o,width:r,height:i}).catch(b=>{jr.debug("Failed to report tab bounds",{tabId:o,error:b})})}function Fr(o){window.electronAPI?.invoke("browser:report-tab-bounds",{tabId:o}).catch(r=>{jr.debug("Failed to clear tab bounds",{tabId:o,error:r})})}function Bn(o,r){let i=r,b;const x=typeof ResizeObserver>"u"?void 0:new ResizeObserver(C=>{if(!i)return;const h=C[C.length-1]?.contentRect;if(!h)return;const N=i;clearTimeout(b),b=setTimeout(()=>{jt(N,h.width,h.height)},An)});if(x?.observe(o),i){const C=o.getBoundingClientRect();jt(i,C.width,C.height)}return{update(C){if(C!==i&&(clearTimeout(b),i&&Fr(i),i=C,i)){const h=o.getBoundingClientRect();jt(i,h.width,h.height)}},destroy(){clearTimeout(b),x?.disconnect(),i&&Fr(i)}}}function Zr(o){let r=o.trim();if(!r)return null;/^[a-z][a-z0-9+.-]*:\/\//i.test(r)||(r=(r.includes("localhost")||r.includes("127.0.0.1")||r.includes("0.0.0.0")?"http://":"https://")+r);try{return new URL(r),r}catch{return null}}function ot(o,r=typeof window<"u"?window.location.origin:""){return o==="about:blank"||Xr(o,r)}function Xr(o,r=typeof window<"u"?window.location.origin:""){if(!o)return!1;try{const i=new URL(o);return qr.NAVIGATION_ALLOWED.includes(i.protocol)&&i.origin!==r}catch{return!1}}const er="__INTENT_PANEL_BRACKET__:",Nn=`
2
2
  (function() {
3
3
  if (window.__augmentKeyboardInterceptorInstalled) return;
4
4
  window.__augmentKeyboardInterceptorInstalled = true;
@@ -1,4 +1,4 @@
1
- import{g as gt}from"./BVpTbT83.js";import{d as mt,g as lt,f as xt,e as kt}from"./Deqxq6ha.js";import{U as _t,aZ as vt,V as bt,a_ as wt,Y as Tt,b0 as St,b as s,X as R,aW as H,B as $t,r as Mt,d as it}from"./8NIig13l.js";var U=(function(){var t=s(function(h,r,n,l){for(n=n||{},l=h.length;l--;n[h[l]]=r);return n},"o"),e=[6,8,10,11,12,14,16,17,18],a=[1,9],f=[1,10],i=[1,11],u=[1,12],p=[1,13],o=[1,14],g={trace:s(function(){},"trace"),yy:{},symbols_:{error:2,start:3,journey:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,title:11,acc_title:12,acc_title_value:13,acc_descr:14,acc_descr_value:15,acc_descr_multiline_value:16,section:17,taskName:18,taskData:19,$accept:0,$end:1},terminals_:{2:"error",4:"journey",6:"EOF",8:"SPACE",10:"NEWLINE",11:"title",12:"acc_title",13:"acc_title_value",14:"acc_descr",15:"acc_descr_value",16:"acc_descr_multiline_value",17:"section",18:"taskName",19:"taskData"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,2]],performAction:s(function(r,n,l,y,d,c,v){var k=c.length-1;switch(d){case 1:return c[k-1];case 2:this.$=[];break;case 3:c[k-1].push(c[k]),this.$=c[k-1];break;case 4:case 5:this.$=c[k];break;case 6:case 7:this.$=[];break;case 8:y.setDiagramTitle(c[k].substr(6)),this.$=c[k].substr(6);break;case 9:this.$=c[k].trim(),y.setAccTitle(this.$);break;case 10:case 11:this.$=c[k].trim(),y.setAccDescription(this.$);break;case 12:y.addSection(c[k].substr(8)),this.$=c[k].substr(8);break;case 13:y.addTask(c[k-1],c[k]),this.$="task";break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:a,12:f,14:i,16:u,17:p,18:o},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:15,11:a,12:f,14:i,16:u,17:p,18:o},t(e,[2,5]),t(e,[2,6]),t(e,[2,8]),{13:[1,16]},{15:[1,17]},t(e,[2,11]),t(e,[2,12]),{19:[1,18]},t(e,[2,4]),t(e,[2,9]),t(e,[2,10]),t(e,[2,13])],defaultActions:{},parseError:s(function(r,n){if(n.recoverable)this.trace(r);else{var l=new Error(r);throw l.hash=n,l}},"parseError"),parse:s(function(r){var n=this,l=[0],y=[],d=[null],c=[],v=this.table,k="",C=0,Q=0,yt=2,D=1,dt=c.slice.call(arguments,1),_=Object.create(this.lexer),I={yy:{}};for(var O in this.yy)Object.prototype.hasOwnProperty.call(this.yy,O)&&(I.yy[O]=this.yy[O]);_.setInput(r,I.yy),I.yy.lexer=_,I.yy.parser=this,typeof _.yylloc>"u"&&(_.yylloc={});var Y=_.yylloc;c.push(Y);var ft=_.options&&_.options.ranges;typeof I.yy.parseError=="function"?this.parseError=I.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function pt(w){l.length=l.length-2*w,d.length=d.length-w,c.length=c.length-w}s(pt,"popStack");function tt(){var w;return w=y.pop()||_.lex()||D,typeof w!="number"&&(w instanceof Array&&(y=w,w=y.pop()),w=n.symbols_[w]||w),w}s(tt,"lex");for(var b,A,T,q,F={},N,M,et,W;;){if(A=l[l.length-1],this.defaultActions[A]?T=this.defaultActions[A]:((b===null||typeof b>"u")&&(b=tt()),T=v[A]&&v[A][b]),typeof T>"u"||!T.length||!T[0]){var X="";W=[];for(N in v[A])this.terminals_[N]&&N>yt&&W.push("'"+this.terminals_[N]+"'");_.showPosition?X="Parse error on line "+(C+1)+`:
1
+ import{g as gt}from"./DFYnEvjJ.js";import{d as mt,g as lt,f as xt,e as kt}from"./Dw2h3dcZ.js";import{U as _t,aZ as vt,V as bt,a_ as wt,Y as Tt,b0 as St,b as s,X as R,aW as H,B as $t,r as Mt,d as it}from"./eq3yiGc9.js";var U=(function(){var t=s(function(h,r,n,l){for(n=n||{},l=h.length;l--;n[h[l]]=r);return n},"o"),e=[6,8,10,11,12,14,16,17,18],a=[1,9],f=[1,10],i=[1,11],u=[1,12],p=[1,13],o=[1,14],g={trace:s(function(){},"trace"),yy:{},symbols_:{error:2,start:3,journey:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,title:11,acc_title:12,acc_title_value:13,acc_descr:14,acc_descr_value:15,acc_descr_multiline_value:16,section:17,taskName:18,taskData:19,$accept:0,$end:1},terminals_:{2:"error",4:"journey",6:"EOF",8:"SPACE",10:"NEWLINE",11:"title",12:"acc_title",13:"acc_title_value",14:"acc_descr",15:"acc_descr_value",16:"acc_descr_multiline_value",17:"section",18:"taskName",19:"taskData"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,2]],performAction:s(function(r,n,l,y,d,c,v){var k=c.length-1;switch(d){case 1:return c[k-1];case 2:this.$=[];break;case 3:c[k-1].push(c[k]),this.$=c[k-1];break;case 4:case 5:this.$=c[k];break;case 6:case 7:this.$=[];break;case 8:y.setDiagramTitle(c[k].substr(6)),this.$=c[k].substr(6);break;case 9:this.$=c[k].trim(),y.setAccTitle(this.$);break;case 10:case 11:this.$=c[k].trim(),y.setAccDescription(this.$);break;case 12:y.addSection(c[k].substr(8)),this.$=c[k].substr(8);break;case 13:y.addTask(c[k-1],c[k]),this.$="task";break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:a,12:f,14:i,16:u,17:p,18:o},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:15,11:a,12:f,14:i,16:u,17:p,18:o},t(e,[2,5]),t(e,[2,6]),t(e,[2,8]),{13:[1,16]},{15:[1,17]},t(e,[2,11]),t(e,[2,12]),{19:[1,18]},t(e,[2,4]),t(e,[2,9]),t(e,[2,10]),t(e,[2,13])],defaultActions:{},parseError:s(function(r,n){if(n.recoverable)this.trace(r);else{var l=new Error(r);throw l.hash=n,l}},"parseError"),parse:s(function(r){var n=this,l=[0],y=[],d=[null],c=[],v=this.table,k="",C=0,Q=0,yt=2,D=1,dt=c.slice.call(arguments,1),_=Object.create(this.lexer),I={yy:{}};for(var O in this.yy)Object.prototype.hasOwnProperty.call(this.yy,O)&&(I.yy[O]=this.yy[O]);_.setInput(r,I.yy),I.yy.lexer=_,I.yy.parser=this,typeof _.yylloc>"u"&&(_.yylloc={});var Y=_.yylloc;c.push(Y);var ft=_.options&&_.options.ranges;typeof I.yy.parseError=="function"?this.parseError=I.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function pt(w){l.length=l.length-2*w,d.length=d.length-w,c.length=c.length-w}s(pt,"popStack");function tt(){var w;return w=y.pop()||_.lex()||D,typeof w!="number"&&(w instanceof Array&&(y=w,w=y.pop()),w=n.symbols_[w]||w),w}s(tt,"lex");for(var b,A,T,q,F={},N,M,et,W;;){if(A=l[l.length-1],this.defaultActions[A]?T=this.defaultActions[A]:((b===null||typeof b>"u")&&(b=tt()),T=v[A]&&v[A][b]),typeof T>"u"||!T.length||!T[0]){var X="";W=[];for(N in v[A])this.terminals_[N]&&N>yt&&W.push("'"+this.terminals_[N]+"'");_.showPosition?X="Parse error on line "+(C+1)+`:
2
2
  `+_.showPosition()+`
3
3
  Expecting `+W.join(", ")+", got '"+(this.terminals_[b]||b)+"'":X="Parse error on line "+(C+1)+": Unexpected "+(b==D?"end of input":"'"+(this.terminals_[b]||b)+"'"),this.parseError(X,{text:_.match,token:this.terminals_[b]||b,line:_.yylineno,loc:Y,expected:W})}if(T[0]instanceof Array&&T.length>1)throw new Error("Parse Error: multiple actions possible at state: "+A+", token: "+b);switch(T[0]){case 1:l.push(b),d.push(_.yytext),c.push(_.yylloc),l.push(T[1]),b=null,Q=_.yyleng,k=_.yytext,C=_.yylineno,Y=_.yylloc;break;case 2:if(M=this.productions_[T[1]][1],F.$=d[d.length-M],F._$={first_line:c[c.length-(M||1)].first_line,last_line:c[c.length-1].last_line,first_column:c[c.length-(M||1)].first_column,last_column:c[c.length-1].last_column},ft&&(F._$.range=[c[c.length-(M||1)].range[0],c[c.length-1].range[1]]),q=this.performAction.apply(F,[k,Q,C,I.yy,T[1],d,c].concat(dt)),typeof q<"u")return q;M&&(l=l.slice(0,-1*M*2),d=d.slice(0,-1*M),c=c.slice(0,-1*M)),l.push(this.productions_[T[1]][0]),d.push(F.$),c.push(F._$),et=v[l[l.length-2]][l[l.length-1]],l.push(et);break;case 3:return!0}}return!0},"parse")},m=(function(){var h={EOF:1,parseError:s(function(n,l){if(this.yy.parser)this.yy.parser.parseError(n,l);else throw new Error(n)},"parseError"),setInput:s(function(r,n){return this.yy=n||this.yy||{},this._input=r,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:s(function(){var r=this._input[0];this.yytext+=r,this.yyleng++,this.offset++,this.match+=r,this.matched+=r;var n=r.match(/(?:\r\n?|\n).*/g);return n?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),r},"input"),unput:s(function(r){var n=r.length,l=r.split(/(?:\r\n?|\n)/g);this._input=r+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-n),this.offset-=n;var y=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),l.length-1&&(this.yylineno-=l.length-1);var d=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:l?(l.length===y.length?this.yylloc.first_column:0)+y[y.length-l.length].length-l[0].length:this.yylloc.first_column-n},this.options.ranges&&(this.yylloc.range=[d[0],d[0]+this.yyleng-n]),this.yyleng=this.yytext.length,this},"unput"),more:s(function(){return this._more=!0,this},"more"),reject:s(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:s(function(r){this.unput(this.match.slice(r))},"less"),pastInput:s(function(){var r=this.matched.substr(0,this.matched.length-this.match.length);return(r.length>20?"...":"")+r.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:s(function(){var r=this.match;return r.length<20&&(r+=this._input.substr(0,20-r.length)),(r.substr(0,20)+(r.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:s(function(){var r=this.pastInput(),n=new Array(r.length+1).join("-");return r+this.upcomingInput()+`
@@ -1,4 +1,4 @@
1
- import{e as Ie}from"./Deqxq6ha.js";import{aZ as Me,U as Be,V as Ve,a_ as Ye,b as d,X as Ot,ay as de,B as Fe,h as Ue,al as je,o as Nt,b5 as ze,aV as me,aW as Jt,bi as We,z as te,n as pe}from"./8NIig13l.js";var jt=(function(){var t=d(function(_t,m,x,E){for(x=x||{},E=_t.length;E--;x[_t[E]]=m);return x},"o"),e=[1,24],a=[1,25],i=[1,26],u=[1,27],r=[1,28],n=[1,63],l=[1,64],s=[1,65],h=[1,66],y=[1,67],p=[1,68],g=[1,69],v=[1,29],w=[1,30],N=[1,31],O=[1,32],P=[1,33],I=[1,34],X=[1,35],q=[1,36],H=[1,37],Q=[1,38],K=[1,39],G=[1,40],Z=[1,41],J=[1,42],$=[1,43],tt=[1,44],et=[1,45],nt=[1,46],st=[1,47],at=[1,48],rt=[1,50],it=[1,51],ot=[1,52],lt=[1,53],ct=[1,54],ut=[1,55],ht=[1,56],dt=[1,57],pt=[1,58],ft=[1,59],yt=[1,60],kt=[14,42],Xt=[14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],Pt=[12,14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],S=[1,82],T=[1,83],k=[1,84],C=[1,85],R=[12,14,42],oe=[12,14,33,42],Bt=[12,14,33,42,76,77,79,80],xt=[12,33],qt=[34,36,37,38,39,40,41,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],Ht={trace:d(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mermaidDoc:4,direction:5,direction_tb:6,direction_bt:7,direction_rl:8,direction_lr:9,graphConfig:10,C4_CONTEXT:11,NEWLINE:12,statements:13,EOF:14,C4_CONTAINER:15,C4_COMPONENT:16,C4_DYNAMIC:17,C4_DEPLOYMENT:18,otherStatements:19,diagramStatements:20,otherStatement:21,title:22,accDescription:23,acc_title:24,acc_title_value:25,acc_descr:26,acc_descr_value:27,acc_descr_multiline_value:28,boundaryStatement:29,boundaryStartStatement:30,boundaryStopStatement:31,boundaryStart:32,LBRACE:33,ENTERPRISE_BOUNDARY:34,attributes:35,SYSTEM_BOUNDARY:36,BOUNDARY:37,CONTAINER_BOUNDARY:38,NODE:39,NODE_L:40,NODE_R:41,RBRACE:42,diagramStatement:43,PERSON:44,PERSON_EXT:45,SYSTEM:46,SYSTEM_DB:47,SYSTEM_QUEUE:48,SYSTEM_EXT:49,SYSTEM_EXT_DB:50,SYSTEM_EXT_QUEUE:51,CONTAINER:52,CONTAINER_DB:53,CONTAINER_QUEUE:54,CONTAINER_EXT:55,CONTAINER_EXT_DB:56,CONTAINER_EXT_QUEUE:57,COMPONENT:58,COMPONENT_DB:59,COMPONENT_QUEUE:60,COMPONENT_EXT:61,COMPONENT_EXT_DB:62,COMPONENT_EXT_QUEUE:63,REL:64,BIREL:65,REL_U:66,REL_D:67,REL_L:68,REL_R:69,REL_B:70,REL_INDEX:71,UPDATE_EL_STYLE:72,UPDATE_REL_STYLE:73,UPDATE_LAYOUT_CONFIG:74,attribute:75,STR:76,STR_KEY:77,STR_VALUE:78,ATTRIBUTE:79,ATTRIBUTE_EMPTY:80,$accept:0,$end:1},terminals_:{2:"error",6:"direction_tb",7:"direction_bt",8:"direction_rl",9:"direction_lr",11:"C4_CONTEXT",12:"NEWLINE",14:"EOF",15:"C4_CONTAINER",16:"C4_COMPONENT",17:"C4_DYNAMIC",18:"C4_DEPLOYMENT",22:"title",23:"accDescription",24:"acc_title",25:"acc_title_value",26:"acc_descr",27:"acc_descr_value",28:"acc_descr_multiline_value",33:"LBRACE",34:"ENTERPRISE_BOUNDARY",36:"SYSTEM_BOUNDARY",37:"BOUNDARY",38:"CONTAINER_BOUNDARY",39:"NODE",40:"NODE_L",41:"NODE_R",42:"RBRACE",44:"PERSON",45:"PERSON_EXT",46:"SYSTEM",47:"SYSTEM_DB",48:"SYSTEM_QUEUE",49:"SYSTEM_EXT",50:"SYSTEM_EXT_DB",51:"SYSTEM_EXT_QUEUE",52:"CONTAINER",53:"CONTAINER_DB",54:"CONTAINER_QUEUE",55:"CONTAINER_EXT",56:"CONTAINER_EXT_DB",57:"CONTAINER_EXT_QUEUE",58:"COMPONENT",59:"COMPONENT_DB",60:"COMPONENT_QUEUE",61:"COMPONENT_EXT",62:"COMPONENT_EXT_DB",63:"COMPONENT_EXT_QUEUE",64:"REL",65:"BIREL",66:"REL_U",67:"REL_D",68:"REL_L",69:"REL_R",70:"REL_B",71:"REL_INDEX",72:"UPDATE_EL_STYLE",73:"UPDATE_REL_STYLE",74:"UPDATE_LAYOUT_CONFIG",76:"STR",77:"STR_KEY",78:"STR_VALUE",79:"ATTRIBUTE",80:"ATTRIBUTE_EMPTY"},productions_:[0,[3,1],[3,1],[5,1],[5,1],[5,1],[5,1],[4,1],[10,4],[10,4],[10,4],[10,4],[10,4],[13,1],[13,1],[13,2],[19,1],[19,2],[19,3],[21,1],[21,1],[21,2],[21,2],[21,1],[29,3],[30,3],[30,3],[30,4],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[31,1],[20,1],[20,2],[20,3],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,1],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[35,1],[35,2],[75,1],[75,2],[75,1],[75,1]],performAction:d(function(m,x,E,_,D,o,Dt){var f=o.length-1;switch(D){case 3:_.setDirection("TB");break;case 4:_.setDirection("BT");break;case 5:_.setDirection("RL");break;case 6:_.setDirection("LR");break;case 8:case 9:case 10:case 11:case 12:_.setC4Type(o[f-3]);break;case 19:_.setTitle(o[f].substring(6)),this.$=o[f].substring(6);break;case 20:_.setAccDescription(o[f].substring(15)),this.$=o[f].substring(15);break;case 21:this.$=o[f].trim(),_.setTitle(this.$);break;case 22:case 23:this.$=o[f].trim(),_.setAccDescription(this.$);break;case 28:o[f].splice(2,0,"ENTERPRISE"),_.addPersonOrSystemBoundary(...o[f]),this.$=o[f];break;case 29:o[f].splice(2,0,"SYSTEM"),_.addPersonOrSystemBoundary(...o[f]),this.$=o[f];break;case 30:_.addPersonOrSystemBoundary(...o[f]),this.$=o[f];break;case 31:o[f].splice(2,0,"CONTAINER"),_.addContainerBoundary(...o[f]),this.$=o[f];break;case 32:_.addDeploymentNode("node",...o[f]),this.$=o[f];break;case 33:_.addDeploymentNode("nodeL",...o[f]),this.$=o[f];break;case 34:_.addDeploymentNode("nodeR",...o[f]),this.$=o[f];break;case 35:_.popBoundaryParseStack();break;case 39:_.addPersonOrSystem("person",...o[f]),this.$=o[f];break;case 40:_.addPersonOrSystem("external_person",...o[f]),this.$=o[f];break;case 41:_.addPersonOrSystem("system",...o[f]),this.$=o[f];break;case 42:_.addPersonOrSystem("system_db",...o[f]),this.$=o[f];break;case 43:_.addPersonOrSystem("system_queue",...o[f]),this.$=o[f];break;case 44:_.addPersonOrSystem("external_system",...o[f]),this.$=o[f];break;case 45:_.addPersonOrSystem("external_system_db",...o[f]),this.$=o[f];break;case 46:_.addPersonOrSystem("external_system_queue",...o[f]),this.$=o[f];break;case 47:_.addContainer("container",...o[f]),this.$=o[f];break;case 48:_.addContainer("container_db",...o[f]),this.$=o[f];break;case 49:_.addContainer("container_queue",...o[f]),this.$=o[f];break;case 50:_.addContainer("external_container",...o[f]),this.$=o[f];break;case 51:_.addContainer("external_container_db",...o[f]),this.$=o[f];break;case 52:_.addContainer("external_container_queue",...o[f]),this.$=o[f];break;case 53:_.addComponent("component",...o[f]),this.$=o[f];break;case 54:_.addComponent("component_db",...o[f]),this.$=o[f];break;case 55:_.addComponent("component_queue",...o[f]),this.$=o[f];break;case 56:_.addComponent("external_component",...o[f]),this.$=o[f];break;case 57:_.addComponent("external_component_db",...o[f]),this.$=o[f];break;case 58:_.addComponent("external_component_queue",...o[f]),this.$=o[f];break;case 60:_.addRel("rel",...o[f]),this.$=o[f];break;case 61:_.addRel("birel",...o[f]),this.$=o[f];break;case 62:_.addRel("rel_u",...o[f]),this.$=o[f];break;case 63:_.addRel("rel_d",...o[f]),this.$=o[f];break;case 64:_.addRel("rel_l",...o[f]),this.$=o[f];break;case 65:_.addRel("rel_r",...o[f]),this.$=o[f];break;case 66:_.addRel("rel_b",...o[f]),this.$=o[f];break;case 67:o[f].splice(0,1),_.addRel("rel",...o[f]),this.$=o[f];break;case 68:_.updateElStyle("update_el_style",...o[f]),this.$=o[f];break;case 69:_.updateRelStyle("update_rel_style",...o[f]),this.$=o[f];break;case 70:_.updateLayoutConfig("update_layout_config",...o[f]),this.$=o[f];break;case 71:this.$=[o[f]];break;case 72:o[f].unshift(o[f-1]),this.$=o[f];break;case 73:case 75:this.$=o[f].trim();break;case 74:let vt={};vt[o[f-1].trim()]=o[f].trim(),this.$=vt;break;case 76:this.$="";break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],7:[1,6],8:[1,7],9:[1,8],10:4,11:[1,9],15:[1,10],16:[1,11],17:[1,12],18:[1,13]},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,7]},{1:[2,3]},{1:[2,4]},{1:[2,5]},{1:[2,6]},{12:[1,14]},{12:[1,15]},{12:[1,16]},{12:[1,17]},{12:[1,18]},{13:19,19:20,20:21,21:22,22:e,23:a,24:i,26:u,28:r,29:49,30:61,32:62,34:n,36:l,37:s,38:h,39:y,40:p,41:g,43:23,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:Z,57:J,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{13:70,19:20,20:21,21:22,22:e,23:a,24:i,26:u,28:r,29:49,30:61,32:62,34:n,36:l,37:s,38:h,39:y,40:p,41:g,43:23,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:Z,57:J,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{13:71,19:20,20:21,21:22,22:e,23:a,24:i,26:u,28:r,29:49,30:61,32:62,34:n,36:l,37:s,38:h,39:y,40:p,41:g,43:23,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:Z,57:J,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{13:72,19:20,20:21,21:22,22:e,23:a,24:i,26:u,28:r,29:49,30:61,32:62,34:n,36:l,37:s,38:h,39:y,40:p,41:g,43:23,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:Z,57:J,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{13:73,19:20,20:21,21:22,22:e,23:a,24:i,26:u,28:r,29:49,30:61,32:62,34:n,36:l,37:s,38:h,39:y,40:p,41:g,43:23,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:Z,57:J,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{14:[1,74]},t(kt,[2,13],{43:23,29:49,30:61,32:62,20:75,34:n,36:l,37:s,38:h,39:y,40:p,41:g,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:Z,57:J,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt}),t(kt,[2,14]),t(Xt,[2,16],{12:[1,76]}),t(kt,[2,36],{12:[1,77]}),t(Pt,[2,19]),t(Pt,[2,20]),{25:[1,78]},{27:[1,79]},t(Pt,[2,23]),{35:80,75:81,76:S,77:T,79:k,80:C},{35:86,75:81,76:S,77:T,79:k,80:C},{35:87,75:81,76:S,77:T,79:k,80:C},{35:88,75:81,76:S,77:T,79:k,80:C},{35:89,75:81,76:S,77:T,79:k,80:C},{35:90,75:81,76:S,77:T,79:k,80:C},{35:91,75:81,76:S,77:T,79:k,80:C},{35:92,75:81,76:S,77:T,79:k,80:C},{35:93,75:81,76:S,77:T,79:k,80:C},{35:94,75:81,76:S,77:T,79:k,80:C},{35:95,75:81,76:S,77:T,79:k,80:C},{35:96,75:81,76:S,77:T,79:k,80:C},{35:97,75:81,76:S,77:T,79:k,80:C},{35:98,75:81,76:S,77:T,79:k,80:C},{35:99,75:81,76:S,77:T,79:k,80:C},{35:100,75:81,76:S,77:T,79:k,80:C},{35:101,75:81,76:S,77:T,79:k,80:C},{35:102,75:81,76:S,77:T,79:k,80:C},{35:103,75:81,76:S,77:T,79:k,80:C},{35:104,75:81,76:S,77:T,79:k,80:C},t(R,[2,59]),{35:105,75:81,76:S,77:T,79:k,80:C},{35:106,75:81,76:S,77:T,79:k,80:C},{35:107,75:81,76:S,77:T,79:k,80:C},{35:108,75:81,76:S,77:T,79:k,80:C},{35:109,75:81,76:S,77:T,79:k,80:C},{35:110,75:81,76:S,77:T,79:k,80:C},{35:111,75:81,76:S,77:T,79:k,80:C},{35:112,75:81,76:S,77:T,79:k,80:C},{35:113,75:81,76:S,77:T,79:k,80:C},{35:114,75:81,76:S,77:T,79:k,80:C},{35:115,75:81,76:S,77:T,79:k,80:C},{20:116,29:49,30:61,32:62,34:n,36:l,37:s,38:h,39:y,40:p,41:g,43:23,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:Z,57:J,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{12:[1,118],33:[1,117]},{35:119,75:81,76:S,77:T,79:k,80:C},{35:120,75:81,76:S,77:T,79:k,80:C},{35:121,75:81,76:S,77:T,79:k,80:C},{35:122,75:81,76:S,77:T,79:k,80:C},{35:123,75:81,76:S,77:T,79:k,80:C},{35:124,75:81,76:S,77:T,79:k,80:C},{35:125,75:81,76:S,77:T,79:k,80:C},{14:[1,126]},{14:[1,127]},{14:[1,128]},{14:[1,129]},{1:[2,8]},t(kt,[2,15]),t(Xt,[2,17],{21:22,19:130,22:e,23:a,24:i,26:u,28:r}),t(kt,[2,37],{19:20,20:21,21:22,43:23,29:49,30:61,32:62,13:131,22:e,23:a,24:i,26:u,28:r,34:n,36:l,37:s,38:h,39:y,40:p,41:g,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:Z,57:J,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt}),t(Pt,[2,21]),t(Pt,[2,22]),t(R,[2,39]),t(oe,[2,71],{75:81,35:132,76:S,77:T,79:k,80:C}),t(Bt,[2,73]),{78:[1,133]},t(Bt,[2,75]),t(Bt,[2,76]),t(R,[2,40]),t(R,[2,41]),t(R,[2,42]),t(R,[2,43]),t(R,[2,44]),t(R,[2,45]),t(R,[2,46]),t(R,[2,47]),t(R,[2,48]),t(R,[2,49]),t(R,[2,50]),t(R,[2,51]),t(R,[2,52]),t(R,[2,53]),t(R,[2,54]),t(R,[2,55]),t(R,[2,56]),t(R,[2,57]),t(R,[2,58]),t(R,[2,60]),t(R,[2,61]),t(R,[2,62]),t(R,[2,63]),t(R,[2,64]),t(R,[2,65]),t(R,[2,66]),t(R,[2,67]),t(R,[2,68]),t(R,[2,69]),t(R,[2,70]),{31:134,42:[1,135]},{12:[1,136]},{33:[1,137]},t(xt,[2,28]),t(xt,[2,29]),t(xt,[2,30]),t(xt,[2,31]),t(xt,[2,32]),t(xt,[2,33]),t(xt,[2,34]),{1:[2,9]},{1:[2,10]},{1:[2,11]},{1:[2,12]},t(Xt,[2,18]),t(kt,[2,38]),t(oe,[2,72]),t(Bt,[2,74]),t(R,[2,24]),t(R,[2,35]),t(qt,[2,25]),t(qt,[2,26],{12:[1,138]}),t(qt,[2,27])],defaultActions:{2:[2,1],3:[2,2],4:[2,7],5:[2,3],6:[2,4],7:[2,5],8:[2,6],74:[2,8],126:[2,9],127:[2,10],128:[2,11],129:[2,12]},parseError:d(function(m,x){if(x.recoverable)this.trace(m);else{var E=new Error(m);throw E.hash=x,E}},"parseError"),parse:d(function(m){var x=this,E=[0],_=[],D=[null],o=[],Dt=this.table,f="",vt=0,le=0,De=2,ce=1,Ne=o.slice.call(arguments,1),A=Object.create(this.lexer),Et={yy:{}};for(var Qt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Qt)&&(Et.yy[Qt]=this.yy[Qt]);A.setInput(m,Et.yy),Et.yy.lexer=A,Et.yy.parser=this,typeof A.yylloc>"u"&&(A.yylloc={});var Kt=A.yylloc;o.push(Kt);var Ae=A.options&&A.options.ranges;typeof Et.yy.parseError=="function"?this.parseError=Et.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Le(B){E.length=E.length-2*B,D.length=D.length-B,o.length=o.length-B}d(Le,"popStack");function ue(){var B;return B=_.pop()||A.lex()||ce,typeof B!="number"&&(B instanceof Array&&(_=B,B=_.pop()),B=x.symbols_[B]||B),B}d(ue,"lex");for(var M,St,V,Gt,Ct={},Yt,z,he,Ft;;){if(St=E[E.length-1],this.defaultActions[St]?V=this.defaultActions[St]:((M===null||typeof M>"u")&&(M=ue()),V=Dt[St]&&Dt[St][M]),typeof V>"u"||!V.length||!V[0]){var Zt="";Ft=[];for(Yt in Dt[St])this.terminals_[Yt]&&Yt>De&&Ft.push("'"+this.terminals_[Yt]+"'");A.showPosition?Zt="Parse error on line "+(vt+1)+`:
1
+ import{e as Ie}from"./Dw2h3dcZ.js";import{aZ as Me,U as Be,V as Ve,a_ as Ye,b as d,X as Ot,ay as de,B as Fe,h as Ue,al as je,o as Nt,b5 as ze,aV as me,aW as Jt,bi as We,z as te,n as pe}from"./eq3yiGc9.js";var jt=(function(){var t=d(function(_t,m,x,E){for(x=x||{},E=_t.length;E--;x[_t[E]]=m);return x},"o"),e=[1,24],a=[1,25],i=[1,26],u=[1,27],r=[1,28],n=[1,63],l=[1,64],s=[1,65],h=[1,66],y=[1,67],p=[1,68],g=[1,69],v=[1,29],w=[1,30],N=[1,31],O=[1,32],P=[1,33],I=[1,34],X=[1,35],q=[1,36],H=[1,37],Q=[1,38],K=[1,39],G=[1,40],Z=[1,41],J=[1,42],$=[1,43],tt=[1,44],et=[1,45],nt=[1,46],st=[1,47],at=[1,48],rt=[1,50],it=[1,51],ot=[1,52],lt=[1,53],ct=[1,54],ut=[1,55],ht=[1,56],dt=[1,57],pt=[1,58],ft=[1,59],yt=[1,60],kt=[14,42],Xt=[14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],Pt=[12,14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],S=[1,82],T=[1,83],k=[1,84],C=[1,85],R=[12,14,42],oe=[12,14,33,42],Bt=[12,14,33,42,76,77,79,80],xt=[12,33],qt=[34,36,37,38,39,40,41,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],Ht={trace:d(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mermaidDoc:4,direction:5,direction_tb:6,direction_bt:7,direction_rl:8,direction_lr:9,graphConfig:10,C4_CONTEXT:11,NEWLINE:12,statements:13,EOF:14,C4_CONTAINER:15,C4_COMPONENT:16,C4_DYNAMIC:17,C4_DEPLOYMENT:18,otherStatements:19,diagramStatements:20,otherStatement:21,title:22,accDescription:23,acc_title:24,acc_title_value:25,acc_descr:26,acc_descr_value:27,acc_descr_multiline_value:28,boundaryStatement:29,boundaryStartStatement:30,boundaryStopStatement:31,boundaryStart:32,LBRACE:33,ENTERPRISE_BOUNDARY:34,attributes:35,SYSTEM_BOUNDARY:36,BOUNDARY:37,CONTAINER_BOUNDARY:38,NODE:39,NODE_L:40,NODE_R:41,RBRACE:42,diagramStatement:43,PERSON:44,PERSON_EXT:45,SYSTEM:46,SYSTEM_DB:47,SYSTEM_QUEUE:48,SYSTEM_EXT:49,SYSTEM_EXT_DB:50,SYSTEM_EXT_QUEUE:51,CONTAINER:52,CONTAINER_DB:53,CONTAINER_QUEUE:54,CONTAINER_EXT:55,CONTAINER_EXT_DB:56,CONTAINER_EXT_QUEUE:57,COMPONENT:58,COMPONENT_DB:59,COMPONENT_QUEUE:60,COMPONENT_EXT:61,COMPONENT_EXT_DB:62,COMPONENT_EXT_QUEUE:63,REL:64,BIREL:65,REL_U:66,REL_D:67,REL_L:68,REL_R:69,REL_B:70,REL_INDEX:71,UPDATE_EL_STYLE:72,UPDATE_REL_STYLE:73,UPDATE_LAYOUT_CONFIG:74,attribute:75,STR:76,STR_KEY:77,STR_VALUE:78,ATTRIBUTE:79,ATTRIBUTE_EMPTY:80,$accept:0,$end:1},terminals_:{2:"error",6:"direction_tb",7:"direction_bt",8:"direction_rl",9:"direction_lr",11:"C4_CONTEXT",12:"NEWLINE",14:"EOF",15:"C4_CONTAINER",16:"C4_COMPONENT",17:"C4_DYNAMIC",18:"C4_DEPLOYMENT",22:"title",23:"accDescription",24:"acc_title",25:"acc_title_value",26:"acc_descr",27:"acc_descr_value",28:"acc_descr_multiline_value",33:"LBRACE",34:"ENTERPRISE_BOUNDARY",36:"SYSTEM_BOUNDARY",37:"BOUNDARY",38:"CONTAINER_BOUNDARY",39:"NODE",40:"NODE_L",41:"NODE_R",42:"RBRACE",44:"PERSON",45:"PERSON_EXT",46:"SYSTEM",47:"SYSTEM_DB",48:"SYSTEM_QUEUE",49:"SYSTEM_EXT",50:"SYSTEM_EXT_DB",51:"SYSTEM_EXT_QUEUE",52:"CONTAINER",53:"CONTAINER_DB",54:"CONTAINER_QUEUE",55:"CONTAINER_EXT",56:"CONTAINER_EXT_DB",57:"CONTAINER_EXT_QUEUE",58:"COMPONENT",59:"COMPONENT_DB",60:"COMPONENT_QUEUE",61:"COMPONENT_EXT",62:"COMPONENT_EXT_DB",63:"COMPONENT_EXT_QUEUE",64:"REL",65:"BIREL",66:"REL_U",67:"REL_D",68:"REL_L",69:"REL_R",70:"REL_B",71:"REL_INDEX",72:"UPDATE_EL_STYLE",73:"UPDATE_REL_STYLE",74:"UPDATE_LAYOUT_CONFIG",76:"STR",77:"STR_KEY",78:"STR_VALUE",79:"ATTRIBUTE",80:"ATTRIBUTE_EMPTY"},productions_:[0,[3,1],[3,1],[5,1],[5,1],[5,1],[5,1],[4,1],[10,4],[10,4],[10,4],[10,4],[10,4],[13,1],[13,1],[13,2],[19,1],[19,2],[19,3],[21,1],[21,1],[21,2],[21,2],[21,1],[29,3],[30,3],[30,3],[30,4],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[31,1],[20,1],[20,2],[20,3],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,1],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[35,1],[35,2],[75,1],[75,2],[75,1],[75,1]],performAction:d(function(m,x,E,_,D,o,Dt){var f=o.length-1;switch(D){case 3:_.setDirection("TB");break;case 4:_.setDirection("BT");break;case 5:_.setDirection("RL");break;case 6:_.setDirection("LR");break;case 8:case 9:case 10:case 11:case 12:_.setC4Type(o[f-3]);break;case 19:_.setTitle(o[f].substring(6)),this.$=o[f].substring(6);break;case 20:_.setAccDescription(o[f].substring(15)),this.$=o[f].substring(15);break;case 21:this.$=o[f].trim(),_.setTitle(this.$);break;case 22:case 23:this.$=o[f].trim(),_.setAccDescription(this.$);break;case 28:o[f].splice(2,0,"ENTERPRISE"),_.addPersonOrSystemBoundary(...o[f]),this.$=o[f];break;case 29:o[f].splice(2,0,"SYSTEM"),_.addPersonOrSystemBoundary(...o[f]),this.$=o[f];break;case 30:_.addPersonOrSystemBoundary(...o[f]),this.$=o[f];break;case 31:o[f].splice(2,0,"CONTAINER"),_.addContainerBoundary(...o[f]),this.$=o[f];break;case 32:_.addDeploymentNode("node",...o[f]),this.$=o[f];break;case 33:_.addDeploymentNode("nodeL",...o[f]),this.$=o[f];break;case 34:_.addDeploymentNode("nodeR",...o[f]),this.$=o[f];break;case 35:_.popBoundaryParseStack();break;case 39:_.addPersonOrSystem("person",...o[f]),this.$=o[f];break;case 40:_.addPersonOrSystem("external_person",...o[f]),this.$=o[f];break;case 41:_.addPersonOrSystem("system",...o[f]),this.$=o[f];break;case 42:_.addPersonOrSystem("system_db",...o[f]),this.$=o[f];break;case 43:_.addPersonOrSystem("system_queue",...o[f]),this.$=o[f];break;case 44:_.addPersonOrSystem("external_system",...o[f]),this.$=o[f];break;case 45:_.addPersonOrSystem("external_system_db",...o[f]),this.$=o[f];break;case 46:_.addPersonOrSystem("external_system_queue",...o[f]),this.$=o[f];break;case 47:_.addContainer("container",...o[f]),this.$=o[f];break;case 48:_.addContainer("container_db",...o[f]),this.$=o[f];break;case 49:_.addContainer("container_queue",...o[f]),this.$=o[f];break;case 50:_.addContainer("external_container",...o[f]),this.$=o[f];break;case 51:_.addContainer("external_container_db",...o[f]),this.$=o[f];break;case 52:_.addContainer("external_container_queue",...o[f]),this.$=o[f];break;case 53:_.addComponent("component",...o[f]),this.$=o[f];break;case 54:_.addComponent("component_db",...o[f]),this.$=o[f];break;case 55:_.addComponent("component_queue",...o[f]),this.$=o[f];break;case 56:_.addComponent("external_component",...o[f]),this.$=o[f];break;case 57:_.addComponent("external_component_db",...o[f]),this.$=o[f];break;case 58:_.addComponent("external_component_queue",...o[f]),this.$=o[f];break;case 60:_.addRel("rel",...o[f]),this.$=o[f];break;case 61:_.addRel("birel",...o[f]),this.$=o[f];break;case 62:_.addRel("rel_u",...o[f]),this.$=o[f];break;case 63:_.addRel("rel_d",...o[f]),this.$=o[f];break;case 64:_.addRel("rel_l",...o[f]),this.$=o[f];break;case 65:_.addRel("rel_r",...o[f]),this.$=o[f];break;case 66:_.addRel("rel_b",...o[f]),this.$=o[f];break;case 67:o[f].splice(0,1),_.addRel("rel",...o[f]),this.$=o[f];break;case 68:_.updateElStyle("update_el_style",...o[f]),this.$=o[f];break;case 69:_.updateRelStyle("update_rel_style",...o[f]),this.$=o[f];break;case 70:_.updateLayoutConfig("update_layout_config",...o[f]),this.$=o[f];break;case 71:this.$=[o[f]];break;case 72:o[f].unshift(o[f-1]),this.$=o[f];break;case 73:case 75:this.$=o[f].trim();break;case 74:let vt={};vt[o[f-1].trim()]=o[f].trim(),this.$=vt;break;case 76:this.$="";break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],7:[1,6],8:[1,7],9:[1,8],10:4,11:[1,9],15:[1,10],16:[1,11],17:[1,12],18:[1,13]},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,7]},{1:[2,3]},{1:[2,4]},{1:[2,5]},{1:[2,6]},{12:[1,14]},{12:[1,15]},{12:[1,16]},{12:[1,17]},{12:[1,18]},{13:19,19:20,20:21,21:22,22:e,23:a,24:i,26:u,28:r,29:49,30:61,32:62,34:n,36:l,37:s,38:h,39:y,40:p,41:g,43:23,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:Z,57:J,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{13:70,19:20,20:21,21:22,22:e,23:a,24:i,26:u,28:r,29:49,30:61,32:62,34:n,36:l,37:s,38:h,39:y,40:p,41:g,43:23,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:Z,57:J,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{13:71,19:20,20:21,21:22,22:e,23:a,24:i,26:u,28:r,29:49,30:61,32:62,34:n,36:l,37:s,38:h,39:y,40:p,41:g,43:23,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:Z,57:J,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{13:72,19:20,20:21,21:22,22:e,23:a,24:i,26:u,28:r,29:49,30:61,32:62,34:n,36:l,37:s,38:h,39:y,40:p,41:g,43:23,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:Z,57:J,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{13:73,19:20,20:21,21:22,22:e,23:a,24:i,26:u,28:r,29:49,30:61,32:62,34:n,36:l,37:s,38:h,39:y,40:p,41:g,43:23,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:Z,57:J,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{14:[1,74]},t(kt,[2,13],{43:23,29:49,30:61,32:62,20:75,34:n,36:l,37:s,38:h,39:y,40:p,41:g,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:Z,57:J,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt}),t(kt,[2,14]),t(Xt,[2,16],{12:[1,76]}),t(kt,[2,36],{12:[1,77]}),t(Pt,[2,19]),t(Pt,[2,20]),{25:[1,78]},{27:[1,79]},t(Pt,[2,23]),{35:80,75:81,76:S,77:T,79:k,80:C},{35:86,75:81,76:S,77:T,79:k,80:C},{35:87,75:81,76:S,77:T,79:k,80:C},{35:88,75:81,76:S,77:T,79:k,80:C},{35:89,75:81,76:S,77:T,79:k,80:C},{35:90,75:81,76:S,77:T,79:k,80:C},{35:91,75:81,76:S,77:T,79:k,80:C},{35:92,75:81,76:S,77:T,79:k,80:C},{35:93,75:81,76:S,77:T,79:k,80:C},{35:94,75:81,76:S,77:T,79:k,80:C},{35:95,75:81,76:S,77:T,79:k,80:C},{35:96,75:81,76:S,77:T,79:k,80:C},{35:97,75:81,76:S,77:T,79:k,80:C},{35:98,75:81,76:S,77:T,79:k,80:C},{35:99,75:81,76:S,77:T,79:k,80:C},{35:100,75:81,76:S,77:T,79:k,80:C},{35:101,75:81,76:S,77:T,79:k,80:C},{35:102,75:81,76:S,77:T,79:k,80:C},{35:103,75:81,76:S,77:T,79:k,80:C},{35:104,75:81,76:S,77:T,79:k,80:C},t(R,[2,59]),{35:105,75:81,76:S,77:T,79:k,80:C},{35:106,75:81,76:S,77:T,79:k,80:C},{35:107,75:81,76:S,77:T,79:k,80:C},{35:108,75:81,76:S,77:T,79:k,80:C},{35:109,75:81,76:S,77:T,79:k,80:C},{35:110,75:81,76:S,77:T,79:k,80:C},{35:111,75:81,76:S,77:T,79:k,80:C},{35:112,75:81,76:S,77:T,79:k,80:C},{35:113,75:81,76:S,77:T,79:k,80:C},{35:114,75:81,76:S,77:T,79:k,80:C},{35:115,75:81,76:S,77:T,79:k,80:C},{20:116,29:49,30:61,32:62,34:n,36:l,37:s,38:h,39:y,40:p,41:g,43:23,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:Z,57:J,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{12:[1,118],33:[1,117]},{35:119,75:81,76:S,77:T,79:k,80:C},{35:120,75:81,76:S,77:T,79:k,80:C},{35:121,75:81,76:S,77:T,79:k,80:C},{35:122,75:81,76:S,77:T,79:k,80:C},{35:123,75:81,76:S,77:T,79:k,80:C},{35:124,75:81,76:S,77:T,79:k,80:C},{35:125,75:81,76:S,77:T,79:k,80:C},{14:[1,126]},{14:[1,127]},{14:[1,128]},{14:[1,129]},{1:[2,8]},t(kt,[2,15]),t(Xt,[2,17],{21:22,19:130,22:e,23:a,24:i,26:u,28:r}),t(kt,[2,37],{19:20,20:21,21:22,43:23,29:49,30:61,32:62,13:131,22:e,23:a,24:i,26:u,28:r,34:n,36:l,37:s,38:h,39:y,40:p,41:g,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:Z,57:J,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt}),t(Pt,[2,21]),t(Pt,[2,22]),t(R,[2,39]),t(oe,[2,71],{75:81,35:132,76:S,77:T,79:k,80:C}),t(Bt,[2,73]),{78:[1,133]},t(Bt,[2,75]),t(Bt,[2,76]),t(R,[2,40]),t(R,[2,41]),t(R,[2,42]),t(R,[2,43]),t(R,[2,44]),t(R,[2,45]),t(R,[2,46]),t(R,[2,47]),t(R,[2,48]),t(R,[2,49]),t(R,[2,50]),t(R,[2,51]),t(R,[2,52]),t(R,[2,53]),t(R,[2,54]),t(R,[2,55]),t(R,[2,56]),t(R,[2,57]),t(R,[2,58]),t(R,[2,60]),t(R,[2,61]),t(R,[2,62]),t(R,[2,63]),t(R,[2,64]),t(R,[2,65]),t(R,[2,66]),t(R,[2,67]),t(R,[2,68]),t(R,[2,69]),t(R,[2,70]),{31:134,42:[1,135]},{12:[1,136]},{33:[1,137]},t(xt,[2,28]),t(xt,[2,29]),t(xt,[2,30]),t(xt,[2,31]),t(xt,[2,32]),t(xt,[2,33]),t(xt,[2,34]),{1:[2,9]},{1:[2,10]},{1:[2,11]},{1:[2,12]},t(Xt,[2,18]),t(kt,[2,38]),t(oe,[2,72]),t(Bt,[2,74]),t(R,[2,24]),t(R,[2,35]),t(qt,[2,25]),t(qt,[2,26],{12:[1,138]}),t(qt,[2,27])],defaultActions:{2:[2,1],3:[2,2],4:[2,7],5:[2,3],6:[2,4],7:[2,5],8:[2,6],74:[2,8],126:[2,9],127:[2,10],128:[2,11],129:[2,12]},parseError:d(function(m,x){if(x.recoverable)this.trace(m);else{var E=new Error(m);throw E.hash=x,E}},"parseError"),parse:d(function(m){var x=this,E=[0],_=[],D=[null],o=[],Dt=this.table,f="",vt=0,le=0,De=2,ce=1,Ne=o.slice.call(arguments,1),A=Object.create(this.lexer),Et={yy:{}};for(var Qt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Qt)&&(Et.yy[Qt]=this.yy[Qt]);A.setInput(m,Et.yy),Et.yy.lexer=A,Et.yy.parser=this,typeof A.yylloc>"u"&&(A.yylloc={});var Kt=A.yylloc;o.push(Kt);var Ae=A.options&&A.options.ranges;typeof Et.yy.parseError=="function"?this.parseError=Et.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Le(B){E.length=E.length-2*B,D.length=D.length-B,o.length=o.length-B}d(Le,"popStack");function ue(){var B;return B=_.pop()||A.lex()||ce,typeof B!="number"&&(B instanceof Array&&(_=B,B=_.pop()),B=x.symbols_[B]||B),B}d(ue,"lex");for(var M,St,V,Gt,Ct={},Yt,z,he,Ft;;){if(St=E[E.length-1],this.defaultActions[St]?V=this.defaultActions[St]:((M===null||typeof M>"u")&&(M=ue()),V=Dt[St]&&Dt[St][M]),typeof V>"u"||!V.length||!V[0]){var Zt="";Ft=[];for(Yt in Dt[St])this.terminals_[Yt]&&Yt>De&&Ft.push("'"+this.terminals_[Yt]+"'");A.showPosition?Zt="Parse error on line "+(vt+1)+`:
2
2
  `+A.showPosition()+`
3
3
  Expecting `+Ft.join(", ")+", got '"+(this.terminals_[M]||M)+"'":Zt="Parse error on line "+(vt+1)+": Unexpected "+(M==ce?"end of input":"'"+(this.terminals_[M]||M)+"'"),this.parseError(Zt,{text:A.match,token:this.terminals_[M]||M,line:A.yylineno,loc:Kt,expected:Ft})}if(V[0]instanceof Array&&V.length>1)throw new Error("Parse Error: multiple actions possible at state: "+St+", token: "+M);switch(V[0]){case 1:E.push(M),D.push(A.yytext),o.push(A.yylloc),E.push(V[1]),M=null,le=A.yyleng,f=A.yytext,vt=A.yylineno,Kt=A.yylloc;break;case 2:if(z=this.productions_[V[1]][1],Ct.$=D[D.length-z],Ct._$={first_line:o[o.length-(z||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(z||1)].first_column,last_column:o[o.length-1].last_column},Ae&&(Ct._$.range=[o[o.length-(z||1)].range[0],o[o.length-1].range[1]]),Gt=this.performAction.apply(Ct,[f,le,vt,Et.yy,V[1],D,o].concat(Ne)),typeof Gt<"u")return Gt;z&&(E=E.slice(0,-1*z*2),D=D.slice(0,-1*z),o=o.slice(0,-1*z)),E.push(this.productions_[V[1]][0]),D.push(Ct.$),o.push(Ct._$),he=Dt[E[E.length-2]][E[E.length-1]],E.push(he);break;case 3:return!0}}return!0},"parse")},Pe=(function(){var _t={EOF:1,parseError:d(function(x,E){if(this.yy.parser)this.yy.parser.parseError(x,E);else throw new Error(x)},"parseError"),setInput:d(function(m,x){return this.yy=x||this.yy||{},this._input=m,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:d(function(){var m=this._input[0];this.yytext+=m,this.yyleng++,this.offset++,this.match+=m,this.matched+=m;var x=m.match(/(?:\r\n?|\n).*/g);return x?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),m},"input"),unput:d(function(m){var x=m.length,E=m.split(/(?:\r\n?|\n)/g);this._input=m+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-x),this.offset-=x;var _=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),E.length-1&&(this.yylineno-=E.length-1);var D=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:E?(E.length===_.length?this.yylloc.first_column:0)+_[_.length-E.length].length-E[0].length:this.yylloc.first_column-x},this.options.ranges&&(this.yylloc.range=[D[0],D[0]+this.yyleng-x]),this.yyleng=this.yytext.length,this},"unput"),more:d(function(){return this._more=!0,this},"more"),reject:d(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
4
4
  `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:d(function(m){this.unput(this.match.slice(m))},"less"),pastInput:d(function(){var m=this.matched.substr(0,this.matched.length-this.match.length);return(m.length>20?"...":"")+m.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:d(function(){var m=this.match;return m.length<20&&(m+=this._input.substr(0,20-m.length)),(m.substr(0,20)+(m.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:d(function(){var m=this.pastInput(),x=new Array(m.length+1).join("-");return m+this.upcomingInput()+`
@@ -1,2 +1,2 @@
1
1
  const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/CH5tRPYb.js","/app/immutable/chunks/DNqM68dO.js","/app/immutable/chunks/WFvSJ9zU.js","/app/immutable/chunks/DYhIMPy1.js","/app/immutable/chunks/ChTqQfQN.js","/app/immutable/chunks/BUzdsYyD.js","/app/immutable/chunks/CIyUrgF0.js","/app/immutable/chunks/BBDxUL80.js","/app/immutable/chunks/O1QHAURn.js","/app/immutable/chunks/DxwfiAWm.js","/app/immutable/chunks/uXuxG9cN.js","/app/immutable/chunks/CovkQMd0.js","/app/immutable/chunks/BVs4aETe.js","/app/immutable/chunks/BgLcfABG.js"])))=>i.map(i=>d[i]);
2
- import{t as Nt,br as Z,a_ as B,bz as Zt,bv as T,bt as Gt,b as Jt,bp as i,_ as Qt}from"./O1QHAURn.js";import{bs as Yt,ca as A,bH as U,c5 as _t,aD as et,bj as te,a5 as C,bS as m,bA as F,b_ as y,W as b,bn as ee,cd as rt,bV as vt,c9 as re,aA as G,bl as E,bO as k,ay as xt,aB as w}from"./DYhIMPy1.js";import{v as gt,w as se}from"./CAyg2ijY.js";import{b as ae}from"./BaIAhI85.js";import{b as ne}from"./4xlJdO9z.js";import{Ix as u,C8 as ie,B_ as oe,BZ as le,Ir as ce,BL as ue,ii as de,iI as pe}from"./DNqM68dO.js";import{a as me,T as fe,D as _e,L as ve,o as xe}from"./Vn5GukrK.js";import{F as st,c_ as ge,c6 as be,cW as he}from"./B0f-om7y.js";import{f as bt}from"./CR_t_AVn.js";import{k as J}from"./B6kyqBFl.js";import"./BBDxUL80.js";import"./ChTqQfQN.js";import"./B1mZq3ve.js";import{r as ye}from"./Cx-ifKmr.js";import{selectScriptById as at,selectScriptRuntime as ke,selectScriptOutput as ht,selectScriptRetainedOutput as we,selectCanDeleteScript as yt}from"./CU_igNrp.js";import{g as Se}from"./xEfOpOba.js";import{bS as $e,dL as Ae,dl as kt}from"./VZEkDWIM.js";import"./BH3LKWph.js";import"./CQkmEJ54.js";import"./CqO6BKca.js";import{c as Ce}from"./C1dHaq0T.js";import{H as wt}from"./BvqQKgIh.js";var St=w("<!> ",1),Fe=w('<div class="bg-danger-background/20 border-y border-danger/20 px-3 py-1.5 flex items-center justify-between"><div class="flex items-center gap-2 text-sm text-danger font-medium"><div class="w-4 h-4 rounded-full bg-danger-background flex items-center justify-center"><!></div> <span> </span></div> <!></div>'),Oe=w('<pre class="retained-text px-3 pb-3 text-xs svelte-115p4sl"> </pre>'),Ie=w('<p class="px-3 pb-3 text-xs text-muted-foreground" role="status"> </p>'),Le=w('<details class="retained-output border-b border-border svelte-115p4sl"><summary class="cursor-pointer px-3 py-2 text-xs text-muted-foreground"> </summary> <p class="px-3 pb-2 text-xs text-muted-foreground"> </p> <!></details>'),De=w('<div class="px-3 py-1 text-xs text-muted-foreground"> </div>'),Re=w('<code class="text-muted-foreground font-mono text-xs"> </code>'),Be=w('<div class="flex-1 flex items-center justify-center px-4 py-8"><div class="flex items-center gap-3 text-sm"><span class="text-subtle font-mono">$</span> <!> <!></div></div>'),Te=w('<div><!> <!> <!> <!> <div><div class="xterm-output svelte-115p4sl"></div></div></div>');function Ee(_,d){if(new.target)return Nt({component:Ee,..._});Yt(d,!0);const H=()=>T(Rt,"$outputAuthority",O),o=()=>T(Ft,"$runtime$",O),v=()=>T(Ot,"$output$",O),W=()=>T(Dt,"$codeFontFamilyCSS",O),f=()=>T(It,"$retainedOutput$",O),$t=()=>T(Lt,"$hidesAgentLifecycleActions$",O),nt=()=>T(Ct,"$script$",O),[O,At]=Gt();let S=Z(d,"scriptId",7),x=Z(d,"workspaceId",7),Q=Z(d,"class",7,""),V=Z(d,"runDisabled",7,!1);const I=rt(""),z=rt(""),it=rt("");let Y=vt(!1);A(()=>I.set(x())),A(()=>z.set(S()));let L,n=null,M=null,X=null,P=null,D=null,j=null;const Ct=at(I,z),Ft=ke(I,z),Ot=ht(I,z),It=we(I,z,it),Lt=$e(I),Dt=Se(),Rt=Ae(I),ot=crypto.randomUUID();A(()=>{const t=x();return S(),()=>{t&&u.dispatch(ie(t,ot))}}),A(()=>{const t=x(),e=S(),s=H(),r=o();if(!s||!t||!e)return;r.status,r.startedAt;const l=crypto.randomUUID();return it.set(l),U(Y,_t(()=>v().chunks.length===0),!0),u.dispatch(oe(t,e,l)),()=>u.dispatch(le(t,e,l))});let K=vt(0);const Bt=re(()=>o().status==="exited"&&o().exitCode!=null&&o().exitCode!==0&&o().exitCode<128);function Tt(){if(!L||n)return;P=new fe(L);const t=P.getCurrentTheme();n=new _e({allowProposedApi:!0,fontFamily:W(),fontSize:13,lineHeight:1.2,letterSpacing:0,cursorBlink:!1,cursorStyle:"underline",cursorWidth:1,scrollback:1e4,allowTransparency:!0,convertEol:!0,disableStdin:!0,drawBoldTextInBrightColors:!0,theme:t}),n.attachCustomKeyEventHandler(s=>{const r=s.metaKey||s.ctrlKey;return!(r&&s.key==="`"||r&&s.key==="j"||r&&s.key==="k")}),M=new xe,n.loadAddon(M);const e=new ve((s,r)=>{try{const l=new URL(r);l.hostname==="localhost"||l.hostname==="127.0.0.1"?ye(r).then(h=>{Qt(async()=>{const{getPanelLayoutManager:c}=await import("./CH5tRPYb.js").then(g=>g.p);return{getPanelLayoutManager:c}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13]),import.meta.url).then(({getPanelLayoutManager:c})=>{c(x()).openBrowserPanel(h.url,void 0,void 0,h.requestedUrl)}).catch(()=>{window.open(h.url,"_blank")})}):window.open(r,"_blank")}catch{window.open(r,"_blank")}});n.loadAddon(e),n.open(L),P.applyTheme(n),j=requestAnimationFrame(()=>{j=null,M?.fit()}),X=new ResizeObserver(()=>{M?.fit()}),X.observe(L),Et()}function Et(){if(!n)return;const t=ht.select(u.state,x(),S());t.chunks.length>0&&n.write(t.chunks.map(e=>e.text).join("")),U(K,t.dropped+t.chunks.length)}function lt(){D!==null&&(cancelAnimationFrame(D),D=null),j!==null&&(cancelAnimationFrame(j),j=null),X?.disconnect(),X=null,P?.dispose(),P=null;const t=n;n=null,M=null,U(K,0),t&&me(t)}A(()=>{const t=v(),e=_t(()=>et(K)),s=t.dropped+t.chunks.length;if(!n||s<=e)return;const r=Math.max(e-t.dropped,0);n.write(t.chunks.slice(r).map(l=>l.text).join("")),U(K,s)}),A(()=>{const t=W();n&&n.options.fontFamily!==t&&(n.options.fontFamily=t)});function Wt(){V()||u.dispatch(ce(x(),S()))}function qt(){if(!x()){J.error(i.terminal_scriptOutput_noWorkspace_error());return}u.dispatch(de(x(),S(),f()?.text,ot))}A(()=>{o().status==="idle"&&v().chunks.length===0&&lt()}),A(()=>{!(o().status==="idle"&&v().chunks.length===0)&&L&&!n&&(D!==null&&cancelAnimationFrame(D),D=requestAnimationFrame(()=>{D=null,Tt()}))}),te(()=>{lt()});var zt={get scriptId(){return S()},set scriptId(t){S(t),G()},get workspaceId(){return x()},set workspaceId(t){x(t),G()},get class(){return Q()},set class(t=""){Q(t),G()},get runDisabled(){return V()},set runDisabled(t=!1){V(t),G()},$set:Zt,$on:(t,e)=>Jt(d,t,e)},N=Te(),ct=C(N);{var Mt=t=>{var e=Fe(),s=C(e),r=C(s),l=C(r);st(l,{get icon(){return ge},size:"xs"}),F(r);var h=m(r,2),c=E(h,!0);F(s);var g=m(s,2);{var $=a=>{bt(a,{variant:"outline",size:"sm",class:"h-7 text-xs bg-background border border-border text-danger",onclick:qt,children:(p,R)=>{var q=St(),ft=xt(q);st(ft,{get icon(){return he},size:"sm",class:"mr-1.5"});var Xt=m(ft);y(Kt=>k(Xt,` ${Kt??""}`),[()=>i.terminal_scriptOutput_askAiToFix_label()]),b(p,q)},$$slots:{default:!0}})};B(g,a=>{$t()||a($)})}F(e),y(a=>k(c,a),[()=>i.terminal_scriptOutput_buildFailed_label({exitCode:o().exitCode??0})]),b(t,e)};B(ct,t=>{et(Bt)&&t(Mt)})}var ut=m(ct,2);{var Pt=t=>{var e=Le(),s=C(e),r=E(s,!0),l=m(s,2),h=E(l,!0),c=m(l,2);{var g=a=>{var p=Oe();let R;var q=E(p,!0);y(()=>{R=se(p,"",R,{"font-family":W()}),k(q,f().text)}),b(a,p)},$=a=>{var p=Ie(),R=E(p,!0);y(q=>k(R,q),[()=>f().status==="loading"?i.terminal_scriptOutput_retainedLoading_label():i.terminal_scriptOutput_retainedUnavailable_label()]),b(a,p)};B(c,a=>{f().status==="available"?a(g):a($,-1)})}F(e),y((a,p)=>{k(r,a),k(h,p)},[()=>i.terminal_scriptOutput_retained_label(),()=>i.terminal_scriptOutput_retained_description()]),ne("open","toggle",e,a=>U(Y,a),()=>et(Y)),b(t,e)};B(ut,t=>{f()&&t(Pt)})}var dt=m(ut,2);{var jt=t=>{var e=De(),s=E(e,!0);y(r=>k(s,r),[()=>i.terminal_scriptOutput_live_label()]),b(t,e)};B(dt,t=>{v().chunks.length>0&&f()&&t(jt)})}var pt=m(dt,2);{var Ut=t=>{var e=Be(),s=C(e),r=m(C(s),2);{var l=c=>{var g=Re(),$=E(g,!0);y(a=>k($,a),[()=>ue(nt())]),b(c,g)};B(r,c=>{nt()&&c(l)})}var h=m(r,2);bt(h,{variant:"ghost",size:"xs",get disabled(){return V()},onclick:Wt,class:"text-muted-foreground hover:text-foreground",children:(c,g)=>{var $=St(),a=xt($);st(a,{get icon(){return be},class:"h-3 w-3 mr-1"});var p=m(a);y(R=>k(p,` ${R??""}`),[()=>i.terminal_scriptOutput_run_label()]),b(c,$)},$$slots:{default:!0}}),F(s),F(e),b(t,e)};B(pt,t=>{o().status==="idle"&&v().chunks.length===0&&t(Ut)})}var tt=m(pt,2);let mt;var Ht=C(tt);ae(Ht,t=>L=t,()=>L),F(tt),F(N),y(()=>{gt(N,1,`script-output-viewer ${Q()??""}`,"svelte-115p4sl"),mt=gt(tt,1,"flex-1 relative overflow-hidden",null,mt,{hidden:o().status==="idle"&&v().chunks.length===0})}),b(_,N);var Vt=ee(zt);return At(),Vt}async function nr(_,d,H){const o=at.select(u.state,_,d);if(!o||!H()||!yt.select(u.state,_,d))return;const v=wt(o.runtime?.status),W=kt.select(u.state,_);if(!W){J.error(i.workspace_client_accessChanged_error());return}if(!await Ce({title:i.scripts_delete_title({name:o.name}),description:v?i.scripts_delete_running_description():i.scripts_delete_description(),confirmLabel:i.scripts_delete_label(),destructive:!0}))return;if(W!==kt.select(u.state,_)){J.error(i.workspace_client_accessChanged_error());return}const f=at.select(u.state,_,d);if(!H()||!f||f.createdAt!==o.createdAt||f.name!==o.name||!v&&wt(f.runtime?.status)||!yt.select(u.state,_,d)){J.error(i.scripts_delete_changed_error());return}u.dispatch(pe(_,d,i.terminal_quakeOverlay_deleteScriptFailed_error()))}export{Ee as S,nr as c};
2
+ import{t as Nt,br as Z,a_ as B,bz as Zt,bv as T,bt as Gt,b as Jt,bp as i,_ as Qt}from"./O1QHAURn.js";import{bs as Yt,ca as A,bH as U,c5 as _t,aD as et,bj as te,a5 as C,bS as m,bA as F,b_ as y,W as b,bn as ee,cd as rt,bV as vt,c9 as re,aA as G,bl as E,bO as k,ay as xt,aB as w}from"./DYhIMPy1.js";import{v as gt,w as se}from"./CAyg2ijY.js";import{b as ae}from"./BaIAhI85.js";import{b as ne}from"./4xlJdO9z.js";import{Ix as u,C8 as ie,B_ as oe,BZ as le,Ir as ce,BL as ue,ii as de,iI as pe}from"./DNqM68dO.js";import{a as me,T as fe,D as _e,L as ve,o as xe}from"./Vn5GukrK.js";import{F as st,c_ as ge,c6 as be,cW as he}from"./B0f-om7y.js";import{f as bt}from"./CR_t_AVn.js";import{k as J}from"./B6kyqBFl.js";import"./BBDxUL80.js";import"./ChTqQfQN.js";import"./B1mZq3ve.js";import{r as ye}from"./Cx-ifKmr.js";import{selectScriptById as at,selectScriptRuntime as ke,selectScriptOutput as ht,selectScriptRetainedOutput as we,selectCanDeleteScript as yt}from"./CrLZNk77.js";import{g as Se}from"./xEfOpOba.js";import{bS as $e,dL as Ae,dl as kt}from"./VZEkDWIM.js";import"./BH3LKWph.js";import"./CQkmEJ54.js";import"./CqO6BKca.js";import{c as Ce}from"./C1dHaq0T.js";import{H as wt}from"./Buh_qAzZ.js";var St=w("<!> ",1),Fe=w('<div class="bg-danger-background/20 border-y border-danger/20 px-3 py-1.5 flex items-center justify-between"><div class="flex items-center gap-2 text-sm text-danger font-medium"><div class="w-4 h-4 rounded-full bg-danger-background flex items-center justify-center"><!></div> <span> </span></div> <!></div>'),Oe=w('<pre class="retained-text px-3 pb-3 text-xs svelte-115p4sl"> </pre>'),Ie=w('<p class="px-3 pb-3 text-xs text-muted-foreground" role="status"> </p>'),Le=w('<details class="retained-output border-b border-border svelte-115p4sl"><summary class="cursor-pointer px-3 py-2 text-xs text-muted-foreground"> </summary> <p class="px-3 pb-2 text-xs text-muted-foreground"> </p> <!></details>'),De=w('<div class="px-3 py-1 text-xs text-muted-foreground"> </div>'),Re=w('<code class="text-muted-foreground font-mono text-xs"> </code>'),Be=w('<div class="flex-1 flex items-center justify-center px-4 py-8"><div class="flex items-center gap-3 text-sm"><span class="text-subtle font-mono">$</span> <!> <!></div></div>'),Te=w('<div><!> <!> <!> <!> <div><div class="xterm-output svelte-115p4sl"></div></div></div>');function Ee(_,d){if(new.target)return Nt({component:Ee,..._});Yt(d,!0);const H=()=>T(Rt,"$outputAuthority",O),o=()=>T(Ft,"$runtime$",O),v=()=>T(Ot,"$output$",O),W=()=>T(Dt,"$codeFontFamilyCSS",O),f=()=>T(It,"$retainedOutput$",O),$t=()=>T(Lt,"$hidesAgentLifecycleActions$",O),nt=()=>T(Ct,"$script$",O),[O,At]=Gt();let S=Z(d,"scriptId",7),x=Z(d,"workspaceId",7),Q=Z(d,"class",7,""),V=Z(d,"runDisabled",7,!1);const I=rt(""),z=rt(""),it=rt("");let Y=vt(!1);A(()=>I.set(x())),A(()=>z.set(S()));let L,n=null,M=null,X=null,P=null,D=null,j=null;const Ct=at(I,z),Ft=ke(I,z),Ot=ht(I,z),It=we(I,z,it),Lt=$e(I),Dt=Se(),Rt=Ae(I),ot=crypto.randomUUID();A(()=>{const t=x();return S(),()=>{t&&u.dispatch(ie(t,ot))}}),A(()=>{const t=x(),e=S(),s=H(),r=o();if(!s||!t||!e)return;r.status,r.startedAt;const l=crypto.randomUUID();return it.set(l),U(Y,_t(()=>v().chunks.length===0),!0),u.dispatch(oe(t,e,l)),()=>u.dispatch(le(t,e,l))});let K=vt(0);const Bt=re(()=>o().status==="exited"&&o().exitCode!=null&&o().exitCode!==0&&o().exitCode<128);function Tt(){if(!L||n)return;P=new fe(L);const t=P.getCurrentTheme();n=new _e({allowProposedApi:!0,fontFamily:W(),fontSize:13,lineHeight:1.2,letterSpacing:0,cursorBlink:!1,cursorStyle:"underline",cursorWidth:1,scrollback:1e4,allowTransparency:!0,convertEol:!0,disableStdin:!0,drawBoldTextInBrightColors:!0,theme:t}),n.attachCustomKeyEventHandler(s=>{const r=s.metaKey||s.ctrlKey;return!(r&&s.key==="`"||r&&s.key==="j"||r&&s.key==="k")}),M=new xe,n.loadAddon(M);const e=new ve((s,r)=>{try{const l=new URL(r);l.hostname==="localhost"||l.hostname==="127.0.0.1"?ye(r).then(h=>{Qt(async()=>{const{getPanelLayoutManager:c}=await import("./CH5tRPYb.js").then(g=>g.p);return{getPanelLayoutManager:c}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13]),import.meta.url).then(({getPanelLayoutManager:c})=>{c(x()).openBrowserPanel(h.url,void 0,void 0,h.requestedUrl)}).catch(()=>{window.open(h.url,"_blank")})}):window.open(r,"_blank")}catch{window.open(r,"_blank")}});n.loadAddon(e),n.open(L),P.applyTheme(n),j=requestAnimationFrame(()=>{j=null,M?.fit()}),X=new ResizeObserver(()=>{M?.fit()}),X.observe(L),Et()}function Et(){if(!n)return;const t=ht.select(u.state,x(),S());t.chunks.length>0&&n.write(t.chunks.map(e=>e.text).join("")),U(K,t.dropped+t.chunks.length)}function lt(){D!==null&&(cancelAnimationFrame(D),D=null),j!==null&&(cancelAnimationFrame(j),j=null),X?.disconnect(),X=null,P?.dispose(),P=null;const t=n;n=null,M=null,U(K,0),t&&me(t)}A(()=>{const t=v(),e=_t(()=>et(K)),s=t.dropped+t.chunks.length;if(!n||s<=e)return;const r=Math.max(e-t.dropped,0);n.write(t.chunks.slice(r).map(l=>l.text).join("")),U(K,s)}),A(()=>{const t=W();n&&n.options.fontFamily!==t&&(n.options.fontFamily=t)});function Wt(){V()||u.dispatch(ce(x(),S()))}function qt(){if(!x()){J.error(i.terminal_scriptOutput_noWorkspace_error());return}u.dispatch(de(x(),S(),f()?.text,ot))}A(()=>{o().status==="idle"&&v().chunks.length===0&&lt()}),A(()=>{!(o().status==="idle"&&v().chunks.length===0)&&L&&!n&&(D!==null&&cancelAnimationFrame(D),D=requestAnimationFrame(()=>{D=null,Tt()}))}),te(()=>{lt()});var zt={get scriptId(){return S()},set scriptId(t){S(t),G()},get workspaceId(){return x()},set workspaceId(t){x(t),G()},get class(){return Q()},set class(t=""){Q(t),G()},get runDisabled(){return V()},set runDisabled(t=!1){V(t),G()},$set:Zt,$on:(t,e)=>Jt(d,t,e)},N=Te(),ct=C(N);{var Mt=t=>{var e=Fe(),s=C(e),r=C(s),l=C(r);st(l,{get icon(){return ge},size:"xs"}),F(r);var h=m(r,2),c=E(h,!0);F(s);var g=m(s,2);{var $=a=>{bt(a,{variant:"outline",size:"sm",class:"h-7 text-xs bg-background border border-border text-danger",onclick:qt,children:(p,R)=>{var q=St(),ft=xt(q);st(ft,{get icon(){return he},size:"sm",class:"mr-1.5"});var Xt=m(ft);y(Kt=>k(Xt,` ${Kt??""}`),[()=>i.terminal_scriptOutput_askAiToFix_label()]),b(p,q)},$$slots:{default:!0}})};B(g,a=>{$t()||a($)})}F(e),y(a=>k(c,a),[()=>i.terminal_scriptOutput_buildFailed_label({exitCode:o().exitCode??0})]),b(t,e)};B(ct,t=>{et(Bt)&&t(Mt)})}var ut=m(ct,2);{var Pt=t=>{var e=Le(),s=C(e),r=E(s,!0),l=m(s,2),h=E(l,!0),c=m(l,2);{var g=a=>{var p=Oe();let R;var q=E(p,!0);y(()=>{R=se(p,"",R,{"font-family":W()}),k(q,f().text)}),b(a,p)},$=a=>{var p=Ie(),R=E(p,!0);y(q=>k(R,q),[()=>f().status==="loading"?i.terminal_scriptOutput_retainedLoading_label():i.terminal_scriptOutput_retainedUnavailable_label()]),b(a,p)};B(c,a=>{f().status==="available"?a(g):a($,-1)})}F(e),y((a,p)=>{k(r,a),k(h,p)},[()=>i.terminal_scriptOutput_retained_label(),()=>i.terminal_scriptOutput_retained_description()]),ne("open","toggle",e,a=>U(Y,a),()=>et(Y)),b(t,e)};B(ut,t=>{f()&&t(Pt)})}var dt=m(ut,2);{var jt=t=>{var e=De(),s=E(e,!0);y(r=>k(s,r),[()=>i.terminal_scriptOutput_live_label()]),b(t,e)};B(dt,t=>{v().chunks.length>0&&f()&&t(jt)})}var pt=m(dt,2);{var Ut=t=>{var e=Be(),s=C(e),r=m(C(s),2);{var l=c=>{var g=Re(),$=E(g,!0);y(a=>k($,a),[()=>ue(nt())]),b(c,g)};B(r,c=>{nt()&&c(l)})}var h=m(r,2);bt(h,{variant:"ghost",size:"xs",get disabled(){return V()},onclick:Wt,class:"text-muted-foreground hover:text-foreground",children:(c,g)=>{var $=St(),a=xt($);st(a,{get icon(){return be},class:"h-3 w-3 mr-1"});var p=m(a);y(R=>k(p,` ${R??""}`),[()=>i.terminal_scriptOutput_run_label()]),b(c,$)},$$slots:{default:!0}}),F(s),F(e),b(t,e)};B(pt,t=>{o().status==="idle"&&v().chunks.length===0&&t(Ut)})}var tt=m(pt,2);let mt;var Ht=C(tt);ae(Ht,t=>L=t,()=>L),F(tt),F(N),y(()=>{gt(N,1,`script-output-viewer ${Q()??""}`,"svelte-115p4sl"),mt=gt(tt,1,"flex-1 relative overflow-hidden",null,mt,{hidden:o().status==="idle"&&v().chunks.length===0})}),b(_,N);var Vt=ee(zt);return At(),Vt}async function nr(_,d,H){const o=at.select(u.state,_,d);if(!o||!H()||!yt.select(u.state,_,d))return;const v=wt(o.runtime?.status),W=kt.select(u.state,_);if(!W){J.error(i.workspace_client_accessChanged_error());return}if(!await Ce({title:i.scripts_delete_title({name:o.name}),description:v?i.scripts_delete_running_description():i.scripts_delete_description(),confirmLabel:i.scripts_delete_label(),destructive:!0}))return;if(W!==kt.select(u.state,_)){J.error(i.workspace_client_accessChanged_error());return}const f=at.select(u.state,_,d);if(!H()||!f||f.createdAt!==o.createdAt||f.name!==o.name||!v&&wt(f.runtime?.status)||!yt.select(u.state,_,d)){J.error(i.scripts_delete_changed_error());return}u.dispatch(pe(_,d,i.terminal_quakeOverlay_deleteScriptFailed_error()))}export{Ee as S,nr as c};
@@ -1 +1 @@
1
- import{d as p}from"./BV3MrUXO.js";import{D as s,C as l}from"./BREnKX07.js";import{selectScriptOutput as o,selectScriptById as f,selectCanReadScriptDefinition as m}from"./CU_igNrp.js";async function S(i,t,e,r=100){const n=s(o.select(i,t,e)).slice(-r);if(!t||!e)return n;const u=f.select(i,t,e);if(!m.select(i,t,u))return[];try{const c=l(await p.scripts.output(t,e,r));return c.length>0?c.slice(-r):n}catch{return n}}export{S as readScriptContextOutputLines};
1
+ import{d as p}from"./BV3MrUXO.js";import{D as s,C as l}from"./C2qzWhM3.js";import{selectScriptOutput as o,selectScriptById as f,selectCanReadScriptDefinition as m}from"./CrLZNk77.js";async function S(i,t,e,r=100){const n=s(o.select(i,t,e)).slice(-r);if(!t||!e)return n;const u=f.select(i,t,e);if(!m.select(i,t,u))return[];try{const c=l(await p.scripts.output(t,e,r));return c.length>0?c.slice(-r):n}catch{return n}}export{S as readScriptContextOutputLines};