@intent-hq/web 2.324.0 → 2.324.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.
- package/package.json +1 -1
- package/web/app/immutable/chunks/{DkRyrpgd.js → 1eEcuHcS.js} +1 -1
- package/web/app/immutable/chunks/{dwOMHvst.js → 5S1qZlDD.js} +1 -1
- package/web/app/immutable/chunks/{BAS_DDrx.js → 6jrMk-C_.js} +1 -1
- package/web/app/immutable/chunks/{Dwl1U2Yv.js → 9SNY3EB9.js} +4 -4
- package/web/app/immutable/chunks/{Bv1YyxXs.js → 9mLk0Km9.js} +1 -1
- package/web/app/immutable/chunks/{D46Exibl.js → AN-5WX_c.js} +1 -1
- package/web/app/immutable/chunks/{DRFk8D8j.js → ATTw52No.js} +1 -1
- package/web/app/immutable/chunks/{rj-wRFR4.js → B-bq_ltD.js} +1 -1
- package/web/app/immutable/chunks/{Dw06QZ5K.js → B3SAbaUw.js} +1 -1
- package/web/app/immutable/chunks/{ZA2c_UV4.js → B4n_mdRo.js} +1 -1
- package/web/app/immutable/chunks/{kiCqsadm.js → BBAtPQBU.js} +1 -1
- package/web/app/immutable/chunks/{BiBHrbag.js → BBwPWV3o.js} +1 -1
- package/web/app/immutable/chunks/{lLIg9v9q.js → BDxgTj-Q.js} +1 -1
- package/web/app/immutable/chunks/{BQX6MpDU.js → BEWcSK-Z.js} +1 -1
- package/web/app/immutable/chunks/{gH9F0r3o.js → BFJrCHJ7.js} +1 -1
- package/web/app/immutable/chunks/{XeqQww8o.js → BHdlOQ18.js} +1 -1
- package/web/app/immutable/chunks/{-nhZ0nNk.js → BM9EAgHn.js} +1 -1
- package/web/app/immutable/chunks/{guvVB0-Q.js → BRVXCoHC.js} +1 -1
- package/web/app/immutable/chunks/{BXOh3iG1.js → BSkOEBtu.js} +1 -1
- package/web/app/immutable/chunks/{C73nd7h_.js → BYGvqRLs.js} +1 -1
- package/web/app/immutable/chunks/{B6hBcFly.js → B_aA47Rw.js} +1 -1
- package/web/app/immutable/chunks/{B-DqAnQ_.js → BaG-bb51.js} +2 -2
- package/web/app/immutable/chunks/{kN-pIg8U.js → BaN8MLaG.js} +1 -1
- package/web/app/immutable/chunks/{CHM9bwh2.js → BbuD6IF7.js} +1 -1
- package/web/app/immutable/chunks/{DCNtfwQI.js → BcIgCIVI.js} +1 -1
- package/web/app/immutable/chunks/{DS1K8giL.js → Blf_XS6o.js} +1 -1
- package/web/app/immutable/chunks/{Ddbm9CO3.js → Bmnfh3k3.js} +1 -1
- package/web/app/immutable/chunks/{ff5GWvuF.js → Bn4g8i34.js} +2 -2
- package/web/app/immutable/chunks/{BWxEfTfw.js → BpOTSlYU.js} +1 -1
- package/web/app/immutable/chunks/{CZdzzv7j.js → BpjBZaBN.js} +1 -1
- package/web/app/immutable/chunks/{DMqRI5mB.js → BrRq5glY.js} +1 -1
- package/web/app/immutable/chunks/{D6hXPuoQ.js → BrzHeDFL.js} +1 -1
- package/web/app/immutable/chunks/{BNpoIpK3.js → BuwOUSye.js} +1 -1
- package/web/app/immutable/chunks/{CwS-VFDa.js → Bv6BpGqB.js} +1 -1
- package/web/app/immutable/chunks/{BbJPpmJZ.js → BvehcAMH.js} +1 -1
- package/web/app/immutable/chunks/{BeFuCoSp.js → By_08IiR.js} +1 -1
- package/web/app/immutable/chunks/{4Co7oa1E.js → BzCZ0ySt.js} +1 -1
- package/web/app/immutable/chunks/{DYTaPFba.js → BzXYaZ27.js} +1 -1
- package/web/app/immutable/chunks/{BRjsxYDA.js → C-vFw5fg.js} +1 -1
- package/web/app/immutable/chunks/{IADOsM4I.js → C2JrJu0l.js} +1 -1
- package/web/app/immutable/chunks/{ChVRTdkj.js → C623z706.js} +2 -2
- package/web/app/immutable/chunks/{CwXihZzq.js → CCL1cHzZ.js} +1 -1
- package/web/app/immutable/chunks/{CQOPGB8W.js → CGeCOc38.js} +6 -6
- package/web/app/immutable/chunks/{xsyU0p2l.js → CGsrGQFv.js} +1 -1
- package/web/app/immutable/chunks/{CLC_EHyS.js → CHo0aT92.js} +2 -2
- package/web/app/immutable/chunks/{MCTJzu4E.js → CJ6mN5w4.js} +1 -1
- package/web/app/immutable/chunks/{9KkuRhnb.js → CJ9f1bCH.js} +1 -1
- package/web/app/immutable/chunks/{DC6ub8r4.js → CJJqYdTW.js} +1 -1
- package/web/app/immutable/chunks/{nJbYCzDf.js → CJeBMely.js} +1 -1
- package/web/app/immutable/chunks/{DkOappis.js → CJysbhf8.js} +1 -1
- package/web/app/immutable/chunks/{CFbpAAIH.js → CLRygoXX.js} +1 -1
- package/web/app/immutable/chunks/{C6j5ZNGg.js → CMYoNgeG.js} +1 -1
- package/web/app/immutable/chunks/{BKDHfRWh.js → CTNWfj01.js} +1 -1
- package/web/app/immutable/chunks/{CsWXL2nx.js → CTinGOMk.js} +1 -1
- package/web/app/immutable/chunks/{dUPFEVFf.js → CUlORLHD.js} +1 -1
- package/web/app/immutable/chunks/{DN8Bt6h5.js → CZYU-h5D.js} +1 -1
- package/web/app/immutable/chunks/{KcpuhlLy.js → CZjhyecI.js} +1 -1
- package/web/app/immutable/chunks/{yeZ43yxT.js → C_fhG6YK.js} +1 -1
- package/web/app/immutable/chunks/{Lxp0_8bR.js → CaDLa-o_.js} +1 -1
- package/web/app/immutable/chunks/{CeBMwYHT.js → CcATeaI9.js} +1 -1
- package/web/app/immutable/chunks/{CQyOHx6M.js → CdjyXCOH.js} +1 -1
- package/web/app/immutable/chunks/{DGL0v2_K.js → CfMQKf-j.js} +3 -3
- package/web/app/immutable/chunks/{CLw4HONO.js → CgUN6u-_.js} +1 -1
- package/web/app/immutable/chunks/{BhJHuPsV.js → Ch1eKq6l.js} +1 -1
- package/web/app/immutable/chunks/{B936R10a.js → ChhBfFca.js} +1 -1
- package/web/app/immutable/chunks/{Cjn6Una6.js → CigKENF5.js} +1 -1
- package/web/app/immutable/chunks/{C1maZVRS.js → CijDx9m6.js} +1 -1
- package/web/app/immutable/chunks/{pKEFLYyh.js → Cjg2jz_a.js} +1 -1
- package/web/app/immutable/chunks/{BpRe43-R.js → CkZbc2gD.js} +1 -1
- package/web/app/immutable/chunks/{BVfskea1.js → Ckz2jIHD.js} +1 -1
- package/web/app/immutable/chunks/{Dp4_L-mJ.js → ClaYICeR.js} +1 -1
- package/web/app/immutable/chunks/{CGJ9VzuP.js → CqIDDFDI.js} +1 -1
- package/web/app/immutable/chunks/{DUVnloFh.js → CuSAboZj.js} +1 -1
- package/web/app/immutable/chunks/{DQ6Y9dnn.js → D2lAsIeu.js} +1 -1
- package/web/app/immutable/chunks/{CpbsOacb.js → D3AcDR3o.js} +1 -1
- package/web/app/immutable/chunks/{BeMvgNvQ.js → D532ard4.js} +1 -1
- package/web/app/immutable/chunks/{DkQJFeTP.js → D6Ce7f2V.js} +2 -2
- package/web/app/immutable/chunks/{D57Ppo5L.js → D75IkkXv.js} +3 -3
- package/web/app/immutable/chunks/{Brd4CWXk.js → D7RDVSQr.js} +1 -1
- package/web/app/immutable/chunks/{BnEz7hpf.js → DHMy5FAq.js} +1 -1
- package/web/app/immutable/chunks/{BZjn_N94.js → DJCg-7KJ.js} +1 -1
- package/web/app/immutable/chunks/{Dsn_oUBL.js → DQC_mrNT.js} +1 -1
- package/web/app/immutable/chunks/{CRU2Ic4N.js → DQ_wgZoU.js} +3 -3
- package/web/app/immutable/chunks/{DnOAMlHx.js → DS4soA_f.js} +1 -1
- package/web/app/immutable/chunks/{z8GMbNej.js → DSlctBp2.js} +1 -1
- package/web/app/immutable/chunks/{D9l5OW3n.js → DTVPZt77.js} +1 -1
- package/web/app/immutable/chunks/{D0cFLlyl.js → DW8qqj88.js} +1 -1
- package/web/app/immutable/chunks/{BffXhPh0.js → DXsf6BJU.js} +1 -1
- package/web/app/immutable/chunks/{DsXgwl6C.js → D_NiIEQ6.js} +1 -1
- package/web/app/immutable/chunks/{D_Wkw7kr.js → Dc4zROVy.js} +4 -4
- package/web/app/immutable/chunks/{B0atVUKu.js → DeTs9jD5.js} +4 -4
- package/web/app/immutable/chunks/{nTVNhk4O.js → DgErwCEB.js} +1 -1
- package/web/app/immutable/chunks/{U8xWziLC.js → DjR5RZok.js} +3 -3
- package/web/app/immutable/chunks/{mpNBLC-M.js → DjsJtwwu.js} +1 -1
- package/web/app/immutable/chunks/{DnLsVCn0.js → DkezX7YW.js} +1 -1
- package/web/app/immutable/chunks/{QOF44Ax5.js → DlrPlPdU.js} +1 -1
- package/web/app/immutable/chunks/{DUK_WcWP.js → DmISwPRv.js} +4 -4
- package/web/app/immutable/chunks/{C-XAWPZ7.js → Dqz0GoEb.js} +1 -1
- package/web/app/immutable/chunks/{CH1XTxaS.js → DrUxg-Y7.js} +1 -1
- package/web/app/immutable/chunks/{Bjmlr17E.js → Ds8Q4xhB.js} +1 -1
- package/web/app/immutable/chunks/{DBTfX6rI.js → DsKrfPLi.js} +1 -1
- package/web/app/immutable/chunks/{DBmpoctk.js → DwO1y83i.js} +2 -2
- package/web/app/immutable/chunks/{DBhplgvj.js → DxNDvhDP.js} +1 -1
- package/web/app/immutable/chunks/{BXVNQtRc.js → Dy7u_TIm.js} +12 -12
- package/web/app/immutable/chunks/{Bp706RE4.js → Dzdq4O56.js} +1 -1
- package/web/app/immutable/chunks/{DPWsPeoA.js → JWiMpes2.js} +1 -1
- package/web/app/immutable/chunks/{Ci2Gifly.js → O1bAo7yo.js} +1 -1
- package/web/app/immutable/chunks/{CKrwXssS.js → PpwMLCep.js} +1 -1
- package/web/app/immutable/chunks/{BSD9VMOV.js → RSDIM4gD.js} +1 -1
- package/web/app/immutable/chunks/{Bnm7ygQV.js → RYhI8dYv.js} +1 -1
- package/web/app/immutable/chunks/{bRXMRmdl.js → SlxMd164.js} +2 -2
- package/web/app/immutable/chunks/{C-Y7-zdK.js → VXZwYyoB.js} +2 -2
- package/web/app/immutable/chunks/{toCIdgUz.js → _nQS1-Df.js} +1 -1
- package/web/app/immutable/chunks/{BrTciRFM.js → b08xwO0r.js} +1 -1
- package/web/app/immutable/chunks/{BsNePyuY.js → ghhvOz1y.js} +1 -1
- package/web/app/immutable/chunks/{C3TiZRkc.js → j0leTGhK.js} +1 -1
- package/web/app/immutable/chunks/{1f62sBkn.js → j1j9cU_K.js} +1 -1
- package/web/app/immutable/chunks/{cvvVus67.js → k6lXtlbO.js} +1 -1
- package/web/app/immutable/chunks/{CRqr6c7k.js → mAhKABz-.js} +1 -1
- package/web/app/immutable/chunks/{CfjgICqo.js → sYTqF3T1.js} +1 -1
- package/web/app/immutable/chunks/{Clcj0fwW.js → uqakVTxn.js} +3 -3
- package/web/app/immutable/chunks/{Bc2QIZ6t.js → xDi6FAPK.js} +1 -1
- package/web/app/immutable/chunks/{CASBM6UJ.js → xQKmWoYY.js} +1 -1
- package/web/app/immutable/entry/{app.Bc_1CKih.js → app.LbatBIRw.js} +2 -2
- package/web/app/immutable/entry/start.DTyCrHuH.js +1 -0
- package/web/app/immutable/nodes/{0.Da22RqTZ.js → 0.21ZdDYxW.js} +1 -1
- package/web/app/immutable/nodes/{1.C64Py_bd.js → 1.DX6wFID1.js} +1 -1
- package/web/app/immutable/nodes/{10.Fcw_jx1Y.js → 10.DdNSlx1G.js} +1 -1
- package/web/app/immutable/nodes/{14.CDmSmw_i.js → 14.4lx3m62g.js} +1 -1
- package/web/app/immutable/nodes/{17.C88kK0S3.js → 17.CZgoFvCc.js} +2 -2
- package/web/app/immutable/nodes/{2.DpEBmCCZ.js → 2.DieJaTIH.js} +4 -4
- package/web/app/immutable/nodes/{3.yMwaM28U.js → 3.B3SMgy_G.js} +1 -1
- package/web/app/immutable/nodes/{4.CGO7LYnU.js → 4.BFCur9Dx.js} +1 -1
- package/web/app/immutable/nodes/{5.O5xHx7D5.js → 5.BoGoB5Ro.js} +1 -1
- package/web/app/immutable/nodes/{6.Cc5CO6D3.js → 6.D6ZxB8ue.js} +1 -1
- package/web/app/immutable/nodes/{7.nX4FdCfv.js → 7.WRtV8iZu.js} +1 -1
- package/web/app/immutable/nodes/{8.CTXV-0qk.js → 8.0dbfCSYz.js} +4 -4
- package/web/app/immutable/nodes/{9.BauBy2np.js → 9.BmPzuZvn.js} +4 -4
- package/web/app/version.json +1 -1
- package/web/index.html +9 -9
- package/web/app/immutable/entry/start.C_E3N2hY.js +0 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/DcgYQyaS.js","/app/immutable/chunks/B_TVaDKX.js","/app/immutable/chunks/WFvSJ9zU.js","/app/immutable/chunks/DYhIMPy1.js","/app/immutable/chunks/ChTqQfQN.js","/app/immutable/chunks/CLnoXQvq.js","/app/immutable/chunks/CIyUrgF0.js","/app/immutable/chunks/DCwCW5T0.js","/app/immutable/chunks/CNRXwQIm.js","/app/immutable/chunks/DxwfiAWm.js","/app/immutable/chunks/uXuxG9cN.js","/app/immutable/chunks/Cbpg9otW.js","/app/immutable/chunks/CVc_SQrm.js","/app/immutable/chunks/CfTmfkGh.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
import{t as Xt,bq as Q,a_ as D,by as Nt,bu as E,bs as Jt,b as Yt,bo as i,_ as Gt}from"./CNRXwQIm.js";import{bs as Qt,ca as A,bH as z,c5 as ft,aD as Z,bj as Zt,a5 as C,bS as p,bA as F,b_ as y,W as g,bn as te,cd as tt,bV as _t,c9 as ee,aA as et,bl as T,bO as k,ay as vt,aB as w}from"./DYhIMPy1.js";import{v as xt,w as re}from"./CSGwK3Iy.js";import{b as se}from"./BaIAhI85.js";import{b as ae}from"./4xlJdO9z.js";import{Ia as u,BN as ne,BD as ie,BC as oe,I4 as le,Bo as ce,ik as ue,iK as de}from"./B_TVaDKX.js";import{a as pe,T as me,D as fe,L as _e,o as ve}from"./CciGprcs.js";import{F as rt,cY as xe,c5 as he,cU as ge}from"./C9E3dZMW.js";import{f as ht}from"./CzFRvFff.js";import{k as N}from"./BdVXLC6D.js";import"./DCwCW5T0.js";import"./ChTqQfQN.js";import"./BYBI0ipE.js";import{r as be}from"./CBLJc4yj.js";import{selectScriptById as st,selectScriptRuntime as ye,selectScriptOutput as gt,selectScriptRetainedOutput as ke,selectCanDeleteScript as bt}from"./
|
|
2
|
+
import{t as Xt,bq as Q,a_ as D,by as Nt,bu as E,bs as Jt,b as Yt,bo as i,_ as Gt}from"./CNRXwQIm.js";import{bs as Qt,ca as A,bH as z,c5 as ft,aD as Z,bj as Zt,a5 as C,bS as p,bA as F,b_ as y,W as g,bn as te,cd as tt,bV as _t,c9 as ee,aA as et,bl as T,bO as k,ay as vt,aB as w}from"./DYhIMPy1.js";import{v as xt,w as re}from"./CSGwK3Iy.js";import{b as se}from"./BaIAhI85.js";import{b as ae}from"./4xlJdO9z.js";import{Ia as u,BN as ne,BD as ie,BC as oe,I4 as le,Bo as ce,ik as ue,iK as de}from"./B_TVaDKX.js";import{a as pe,T as me,D as fe,L as _e,o as ve}from"./CciGprcs.js";import{F as rt,cY as xe,c5 as he,cU as ge}from"./C9E3dZMW.js";import{f as ht}from"./CzFRvFff.js";import{k as N}from"./BdVXLC6D.js";import"./DCwCW5T0.js";import"./ChTqQfQN.js";import"./BYBI0ipE.js";import{r as be}from"./CBLJc4yj.js";import{selectScriptById as st,selectScriptRuntime as ye,selectScriptOutput as gt,selectScriptRetainedOutput as ke,selectCanDeleteScript as bt}from"./JWiMpes2.js";import{g as we}from"./DxPu2Dk4.js";import{bR as Se,dJ as $e,dj as yt}from"./9uHm6kyM.js";import"./DTbgyOj0.js";import"./CkJPh0Kr.js";import"./BXICH2Fm.js";import{c as Ae}from"./zls5luSQ.js";import{E as kt}from"./B-bq_ltD.js";var wt=w("<!> ",1),Ce=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>'),Fe=w('<pre class="retained-text px-3 pb-3 text-xs svelte-115p4sl"> </pre>'),Oe=w('<p class="px-3 pb-3 text-xs text-muted-foreground" role="status"> </p>'),Ie=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>'),Re=w('<div class="px-3 py-1 text-xs text-muted-foreground"> </div>'),Le=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>'),De=w('<div><!> <!> <!> <!> <div><div class="xterm-output svelte-115p4sl"></div></div></div>');function Ee(_,m){if(new.target)return Xt({component:Ee,..._});Qt(m,!0);const H=()=>E(Lt,"$outputAuthority",O),o=()=>E(Ct,"$runtime$",O),v=()=>E(Ft,"$output$",O),q=()=>E(Rt,"$codeFontFamilyCSS",O),f=()=>E(Ot,"$retainedOutput$",O),St=()=>E(It,"$hidesAgentLifecycleActions$",O),at=()=>E(At,"$script$",O),[O,$t]=Jt();let S=Q(m,"scriptId",7),x=Q(m,"workspaceId",7),J=Q(m,"class",7,"");const I=tt(""),M=tt(""),nt=tt("");let Y=_t(!1);A(()=>I.set(x())),A(()=>M.set(S()));let R,n=null,P=null,K=null,U=null,L=null,W=null;const At=st(I,M),Ct=ye(I,M),Ft=gt(I,M),Ot=ke(I,M,nt),It=Se(I),Rt=we(),Lt=$e(I),it=crypto.randomUUID();A(()=>{const t=x();return S(),()=>{t&&u.dispatch(ne(t,it))}}),A(()=>{const t=x(),e=S(),s=H(),r=o();if(!s||!t||!e)return;r.status,r.startedAt;const l=crypto.randomUUID();return nt.set(l),z(Y,ft(()=>v().chunks.length===0),!0),u.dispatch(ie(t,e,l)),()=>u.dispatch(oe(t,e,l))});let V=_t(0);const Bt=ee(()=>o().status==="exited"&&o().exitCode!=null&&o().exitCode!==0&&o().exitCode<128);function Dt(){if(!R||n)return;U=new me(R);const t=U.getCurrentTheme();n=new fe({allowProposedApi:!0,fontFamily:q(),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")}),P=new ve,n.loadAddon(P);const e=new _e((s,r)=>{try{const l=new URL(r);l.hostname==="localhost"||l.hostname==="127.0.0.1"?be(r).then(b=>{Gt(async()=>{const{getPanelLayoutManager:c}=await import("./DcgYQyaS.js").then(h=>h.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(b.url,void 0,void 0,b.requestedUrl)}).catch(()=>{window.open(b.url,"_blank")})}):window.open(r,"_blank")}catch{window.open(r,"_blank")}});n.loadAddon(e),n.open(R),U.applyTheme(n),W=requestAnimationFrame(()=>{W=null,P?.fit()}),K=new ResizeObserver(()=>{P?.fit()}),K.observe(R),Et()}function Et(){if(!n)return;const t=gt.select(u.state,x(),S());t.chunks.length>0&&n.write(t.chunks.map(e=>e.text).join("")),z(V,t.dropped+t.chunks.length)}function ot(){L!==null&&(cancelAnimationFrame(L),L=null),W!==null&&(cancelAnimationFrame(W),W=null),K?.disconnect(),K=null,U?.dispose(),U=null;const t=n;n=null,P=null,z(V,0),t&&pe(t)}A(()=>{const t=v(),e=ft(()=>Z(V)),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("")),z(V,s)}),A(()=>{const t=q();n&&n.options.fontFamily!==t&&(n.options.fontFamily=t)});function Tt(){u.dispatch(le(x(),S()))}function qt(){if(!x()){N.error(i.terminal_scriptOutput_noWorkspace_error());return}u.dispatch(ue(x(),S(),f()?.text,it))}A(()=>{o().status==="idle"&&v().chunks.length===0&&ot()}),A(()=>{!(o().status==="idle"&&v().chunks.length===0)&&R&&!n&&(L!==null&&cancelAnimationFrame(L),L=requestAnimationFrame(()=>{L=null,Dt()}))}),Zt(()=>{ot()});var jt={get scriptId(){return S()},set scriptId(t){S(t),et()},get workspaceId(){return x()},set workspaceId(t){x(t),et()},get class(){return J()},set class(t=""){J(t),et()},$set:Nt,$on:(t,e)=>Yt(m,t,e)},X=De(),lt=C(X);{var Mt=t=>{var e=Ce(),s=C(e),r=C(s),l=C(r);rt(l,{get icon(){return xe},size:"xs"}),F(r);var b=p(r,2),c=T(b,!0);F(s);var h=p(s,2);{var $=a=>{ht(a,{variant:"outline",size:"sm",class:"h-7 text-xs bg-background border border-border text-danger",onclick:qt,children:(d,B)=>{var j=wt(),mt=vt(j);rt(mt,{get icon(){return ge},size:"sm",class:"mr-1.5"});var Kt=p(mt);y(Vt=>k(Kt,` ${Vt??""}`),[()=>i.terminal_scriptOutput_askAiToFix_label()]),g(d,j)},$$slots:{default:!0}})};D(h,a=>{St()||a($)})}F(e),y(a=>k(c,a),[()=>i.terminal_scriptOutput_buildFailed_label({exitCode:o().exitCode??0})]),g(t,e)};D(lt,t=>{Z(Bt)&&t(Mt)})}var ct=p(lt,2);{var Pt=t=>{var e=Ie(),s=C(e),r=T(s,!0),l=p(s,2),b=T(l,!0),c=p(l,2);{var h=a=>{var d=Fe();let B;var j=T(d,!0);y(()=>{B=re(d,"",B,{"font-family":q()}),k(j,f().text)}),g(a,d)},$=a=>{var d=Oe(),B=T(d,!0);y(j=>k(B,j),[()=>f().status==="loading"?i.terminal_scriptOutput_retainedLoading_label():i.terminal_scriptOutput_retainedUnavailable_label()]),g(a,d)};D(c,a=>{f().status==="available"?a(h):a($,-1)})}F(e),y((a,d)=>{k(r,a),k(b,d)},[()=>i.terminal_scriptOutput_retained_label(),()=>i.terminal_scriptOutput_retained_description()]),ae("open","toggle",e,a=>z(Y,a),()=>Z(Y)),g(t,e)};D(ct,t=>{f()&&t(Pt)})}var ut=p(ct,2);{var Ut=t=>{var e=Re(),s=T(e,!0);y(r=>k(s,r),[()=>i.terminal_scriptOutput_live_label()]),g(t,e)};D(ut,t=>{v().chunks.length>0&&f()&&t(Ut)})}var dt=p(ut,2);{var Wt=t=>{var e=Be(),s=C(e),r=p(C(s),2);{var l=c=>{var h=Le(),$=T(h,!0);y(a=>k($,a),[()=>ce(at())]),g(c,h)};D(r,c=>{at()&&c(l)})}var b=p(r,2);ht(b,{variant:"ghost",size:"xs",onclick:Tt,class:"text-muted-foreground hover:text-foreground",children:(c,h)=>{var $=wt(),a=vt($);rt(a,{get icon(){return he},class:"h-3 w-3 mr-1"});var d=p(a);y(B=>k(d,` ${B??""}`),[()=>i.terminal_scriptOutput_run_label()]),g(c,$)},$$slots:{default:!0}}),F(s),F(e),g(t,e)};D(dt,t=>{o().status==="idle"&&v().chunks.length===0&&t(Wt)})}var G=p(dt,2);let pt;var zt=C(G);se(zt,t=>R=t,()=>R),F(G),F(X),y(()=>{xt(X,1,`script-output-viewer ${J()??""}`,"svelte-115p4sl"),pt=xt(G,1,"flex-1 relative overflow-hidden",null,pt,{hidden:o().status==="idle"&&v().chunks.length===0})}),g(_,X);var Ht=te(jt);return $t(),Ht}async function ar(_,m,H){const o=st.select(u.state,_,m);if(!o||!H()||!bt.select(u.state,_,m))return;const v=kt(o.runtime?.status),q=yt.select(u.state,_);if(!q){N.error(i.workspace_client_accessChanged_error());return}if(!await Ae({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(q!==yt.select(u.state,_)){N.error(i.workspace_client_accessChanged_error());return}const f=st.select(u.state,_,m);if(!H()||!f||f.createdAt!==o.createdAt||f.name!==o.name||!v&&kt(f.runtime?.status)||!bt.select(u.state,_,m)){N.error(i.scripts_delete_changed_error());return}u.dispatch(de(_,m,i.terminal_quakeOverlay_deleteScriptFailed_error()))}export{Ee as S,ar as c};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{aZ as Ae,U as ke,Y as ae,b0 as Fe,V as Pe,a_ as ve,b as o,X as Vt,ay as bt,aW as Lt,B as Ce,r as Le,O as V,aV as Ee,a6 as De}from"./
|
|
1
|
+
import{aZ as Ae,U as ke,Y as ae,b0 as Fe,V as Pe,a_ as ve,b as o,X as Vt,ay as bt,aW as Lt,B as Ce,r as Le,O as V,aV as Ee,a6 as De}from"./DeTs9jD5.js";import{l as ie}from"./BM9EAgHn.js";var Et=(function(){var t=o(function(Y,r,l,x){for(l=l||{},x=Y.length;x--;l[Y[x]]=r);return l},"o"),n=[1,3],f=[1,4],d=[1,5],h=[1,6],p=[1,7],y=[1,4,5,10,12,13,14,15,18,25,35,37,39,41,42,48,50,51,52,53,54,55,56,57,60,61,63,64,65,66,67],_=[1,4,5,10,12,13,14,15,18,25,28,35,37,39,41,42,48,50,51,52,53,54,55,56,57,60,61,63,64,65,66,67],a=[55,56,57],k=[2,36],u=[1,37],T=[1,36],q=[1,38],m=[1,35],b=[1,43],g=[1,41],A=[1,45],ht=[1,14],xt=[1,23],ft=[1,18],gt=[1,19],ct=[1,20],_t=[1,21],dt=[1,22],i=[1,24],zt=[1,25],It=[1,26],wt=[1,27],Bt=[1,28],Rt=[1,29],U=[1,32],Q=[1,33],F=[1,34],P=[1,39],v=[1,40],C=[1,42],L=[1,44],X=[1,63],H=[1,62],E=[4,5,8,10,12,13,14,15,18,44,47,49,55,56,57,63,64,65,66,67],Nt=[1,66],Wt=[1,67],Ut=[1,68],Qt=[1,69],Ot=[1,70],Xt=[1,71],Ht=[1,72],Mt=[1,73],Yt=[1,74],jt=[1,75],Gt=[1,76],Kt=[1,77],w=[4,5,6,7,8,9,10,11,12,13,14,15,18],K=[1,91],Z=[1,92],J=[1,93],$=[1,100],tt=[1,94],et=[1,97],it=[1,95],at=[1,96],nt=[1,98],st=[1,99],At=[1,103],Zt=[10,55,56,57],N=[4,5,6,8,10,11,13,17,18,19,20,55,56,57],kt={trace:o(function(){},"trace"),yy:{},symbols_:{error:2,idStringToken:3,ALPHA:4,NUM:5,NODE_STRING:6,DOWN:7,MINUS:8,DEFAULT:9,COMMA:10,COLON:11,AMP:12,BRKT:13,MULT:14,UNICODE_TEXT:15,styleComponent:16,UNIT:17,SPACE:18,STYLE:19,PCT:20,idString:21,style:22,stylesOpt:23,classDefStatement:24,CLASSDEF:25,start:26,eol:27,QUADRANT:28,document:29,line:30,statement:31,axisDetails:32,quadrantDetails:33,points:34,title:35,title_value:36,acc_title:37,acc_title_value:38,acc_descr:39,acc_descr_value:40,acc_descr_multiline_value:41,section:42,text:43,point_start:44,point_x:45,point_y:46,class_name:47,"X-AXIS":48,"AXIS-TEXT-DELIMITER":49,"Y-AXIS":50,QUADRANT_1:51,QUADRANT_2:52,QUADRANT_3:53,QUADRANT_4:54,NEWLINE:55,SEMI:56,EOF:57,alphaNumToken:58,textNoTagsToken:59,STR:60,MD_STR:61,alphaNum:62,PUNCTUATION:63,PLUS:64,EQUALS:65,DOT:66,UNDERSCORE:67,$accept:0,$end:1},terminals_:{2:"error",4:"ALPHA",5:"NUM",6:"NODE_STRING",7:"DOWN",8:"MINUS",9:"DEFAULT",10:"COMMA",11:"COLON",12:"AMP",13:"BRKT",14:"MULT",15:"UNICODE_TEXT",17:"UNIT",18:"SPACE",19:"STYLE",20:"PCT",25:"CLASSDEF",28:"QUADRANT",35:"title",36:"title_value",37:"acc_title",38:"acc_title_value",39:"acc_descr",40:"acc_descr_value",41:"acc_descr_multiline_value",42:"section",44:"point_start",45:"point_x",46:"point_y",47:"class_name",48:"X-AXIS",49:"AXIS-TEXT-DELIMITER",50:"Y-AXIS",51:"QUADRANT_1",52:"QUADRANT_2",53:"QUADRANT_3",54:"QUADRANT_4",55:"NEWLINE",56:"SEMI",57:"EOF",60:"STR",61:"MD_STR",63:"PUNCTUATION",64:"PLUS",65:"EQUALS",66:"DOT",67:"UNDERSCORE"},productions_:[0,[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[21,1],[21,2],[22,1],[22,2],[23,1],[23,3],[24,5],[26,2],[26,2],[26,2],[29,0],[29,2],[30,2],[31,0],[31,1],[31,2],[31,1],[31,1],[31,1],[31,2],[31,2],[31,2],[31,1],[31,1],[34,4],[34,5],[34,5],[34,6],[32,4],[32,3],[32,2],[32,4],[32,3],[32,2],[33,2],[33,2],[33,2],[33,2],[27,1],[27,1],[27,1],[43,1],[43,2],[43,1],[43,1],[62,1],[62,2],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[59,1],[59,1],[59,1]],performAction:o(function(r,l,x,c,S,e,ut){var s=e.length-1;switch(S){case 23:this.$=e[s];break;case 24:this.$=e[s-1]+""+e[s];break;case 26:this.$=e[s-1]+e[s];break;case 27:this.$=[e[s].trim()];break;case 28:e[s-2].push(e[s].trim()),this.$=e[s-2];break;case 29:this.$=e[s-4],c.addClass(e[s-2],e[s]);break;case 37:this.$=[];break;case 42:this.$=e[s].trim(),c.setDiagramTitle(this.$);break;case 43:this.$=e[s].trim(),c.setAccTitle(this.$);break;case 44:case 45:this.$=e[s].trim(),c.setAccDescription(this.$);break;case 46:c.addSection(e[s].substr(8)),this.$=e[s].substr(8);break;case 47:c.addPoint(e[s-3],"",e[s-1],e[s],[]);break;case 48:c.addPoint(e[s-4],e[s-3],e[s-1],e[s],[]);break;case 49:c.addPoint(e[s-4],"",e[s-2],e[s-1],e[s]);break;case 50:c.addPoint(e[s-5],e[s-4],e[s-2],e[s-1],e[s]);break;case 51:c.setXAxisLeftText(e[s-2]),c.setXAxisRightText(e[s]);break;case 52:e[s-1].text+=" ⟶ ",c.setXAxisLeftText(e[s-1]);break;case 53:c.setXAxisLeftText(e[s]);break;case 54:c.setYAxisBottomText(e[s-2]),c.setYAxisTopText(e[s]);break;case 55:e[s-1].text+=" ⟶ ",c.setYAxisBottomText(e[s-1]);break;case 56:c.setYAxisBottomText(e[s]);break;case 57:c.setQuadrant1Text(e[s]);break;case 58:c.setQuadrant2Text(e[s]);break;case 59:c.setQuadrant3Text(e[s]);break;case 60:c.setQuadrant4Text(e[s]);break;case 64:this.$={text:e[s],type:"text"};break;case 65:this.$={text:e[s-1].text+""+e[s],type:e[s-1].type};break;case 66:this.$={text:e[s],type:"text"};break;case 67:this.$={text:e[s],type:"markdown"};break;case 68:this.$=e[s];break;case 69:this.$=e[s-1]+""+e[s];break}},"anonymous"),table:[{18:n,26:1,27:2,28:f,55:d,56:h,57:p},{1:[3]},{18:n,26:8,27:2,28:f,55:d,56:h,57:p},{18:n,26:9,27:2,28:f,55:d,56:h,57:p},t(y,[2,33],{29:10}),t(_,[2,61]),t(_,[2,62]),t(_,[2,63]),{1:[2,30]},{1:[2,31]},t(a,k,{30:11,31:12,24:13,32:15,33:16,34:17,43:30,58:31,1:[2,32],4:u,5:T,10:q,12:m,13:b,14:g,15:A,18:ht,25:xt,35:ft,37:gt,39:ct,41:_t,42:dt,48:i,50:zt,51:It,52:wt,53:Bt,54:Rt,60:U,61:Q,63:F,64:P,65:v,66:C,67:L}),t(y,[2,34]),{27:46,55:d,56:h,57:p},t(a,[2,37]),t(a,k,{24:13,32:15,33:16,34:17,43:30,58:31,31:47,4:u,5:T,10:q,12:m,13:b,14:g,15:A,18:ht,25:xt,35:ft,37:gt,39:ct,41:_t,42:dt,48:i,50:zt,51:It,52:wt,53:Bt,54:Rt,60:U,61:Q,63:F,64:P,65:v,66:C,67:L}),t(a,[2,39]),t(a,[2,40]),t(a,[2,41]),{36:[1,48]},{38:[1,49]},{40:[1,50]},t(a,[2,45]),t(a,[2,46]),{18:[1,51]},{4:u,5:T,10:q,12:m,13:b,14:g,15:A,43:52,58:31,60:U,61:Q,63:F,64:P,65:v,66:C,67:L},{4:u,5:T,10:q,12:m,13:b,14:g,15:A,43:53,58:31,60:U,61:Q,63:F,64:P,65:v,66:C,67:L},{4:u,5:T,10:q,12:m,13:b,14:g,15:A,43:54,58:31,60:U,61:Q,63:F,64:P,65:v,66:C,67:L},{4:u,5:T,10:q,12:m,13:b,14:g,15:A,43:55,58:31,60:U,61:Q,63:F,64:P,65:v,66:C,67:L},{4:u,5:T,10:q,12:m,13:b,14:g,15:A,43:56,58:31,60:U,61:Q,63:F,64:P,65:v,66:C,67:L},{4:u,5:T,10:q,12:m,13:b,14:g,15:A,43:57,58:31,60:U,61:Q,63:F,64:P,65:v,66:C,67:L},{4:u,5:T,8:X,10:q,12:m,13:b,14:g,15:A,18:H,44:[1,58],47:[1,59],58:61,59:60,63:F,64:P,65:v,66:C,67:L},t(E,[2,64]),t(E,[2,66]),t(E,[2,67]),t(E,[2,70]),t(E,[2,71]),t(E,[2,72]),t(E,[2,73]),t(E,[2,74]),t(E,[2,75]),t(E,[2,76]),t(E,[2,77]),t(E,[2,78]),t(E,[2,79]),t(E,[2,80]),t(E,[2,81]),t(y,[2,35]),t(a,[2,38]),t(a,[2,42]),t(a,[2,43]),t(a,[2,44]),{3:65,4:Nt,5:Wt,6:Ut,7:Qt,8:Ot,9:Xt,10:Ht,11:Mt,12:Yt,13:jt,14:Gt,15:Kt,21:64},t(a,[2,53],{59:60,58:61,4:u,5:T,8:X,10:q,12:m,13:b,14:g,15:A,18:H,49:[1,78],63:F,64:P,65:v,66:C,67:L}),t(a,[2,56],{59:60,58:61,4:u,5:T,8:X,10:q,12:m,13:b,14:g,15:A,18:H,49:[1,79],63:F,64:P,65:v,66:C,67:L}),t(a,[2,57],{59:60,58:61,4:u,5:T,8:X,10:q,12:m,13:b,14:g,15:A,18:H,63:F,64:P,65:v,66:C,67:L}),t(a,[2,58],{59:60,58:61,4:u,5:T,8:X,10:q,12:m,13:b,14:g,15:A,18:H,63:F,64:P,65:v,66:C,67:L}),t(a,[2,59],{59:60,58:61,4:u,5:T,8:X,10:q,12:m,13:b,14:g,15:A,18:H,63:F,64:P,65:v,66:C,67:L}),t(a,[2,60],{59:60,58:61,4:u,5:T,8:X,10:q,12:m,13:b,14:g,15:A,18:H,63:F,64:P,65:v,66:C,67:L}),{45:[1,80]},{44:[1,81]},t(E,[2,65]),t(E,[2,82]),t(E,[2,83]),t(E,[2,84]),{3:83,4:Nt,5:Wt,6:Ut,7:Qt,8:Ot,9:Xt,10:Ht,11:Mt,12:Yt,13:jt,14:Gt,15:Kt,18:[1,82]},t(w,[2,23]),t(w,[2,1]),t(w,[2,2]),t(w,[2,3]),t(w,[2,4]),t(w,[2,5]),t(w,[2,6]),t(w,[2,7]),t(w,[2,8]),t(w,[2,9]),t(w,[2,10]),t(w,[2,11]),t(w,[2,12]),t(a,[2,52],{58:31,43:84,4:u,5:T,10:q,12:m,13:b,14:g,15:A,60:U,61:Q,63:F,64:P,65:v,66:C,67:L}),t(a,[2,55],{58:31,43:85,4:u,5:T,10:q,12:m,13:b,14:g,15:A,60:U,61:Q,63:F,64:P,65:v,66:C,67:L}),{46:[1,86]},{45:[1,87]},{4:K,5:Z,6:J,8:$,11:tt,13:et,16:90,17:it,18:at,19:nt,20:st,22:89,23:88},t(w,[2,24]),t(a,[2,51],{59:60,58:61,4:u,5:T,8:X,10:q,12:m,13:b,14:g,15:A,18:H,63:F,64:P,65:v,66:C,67:L}),t(a,[2,54],{59:60,58:61,4:u,5:T,8:X,10:q,12:m,13:b,14:g,15:A,18:H,63:F,64:P,65:v,66:C,67:L}),t(a,[2,47],{22:89,16:90,23:101,4:K,5:Z,6:J,8:$,11:tt,13:et,17:it,18:at,19:nt,20:st}),{46:[1,102]},t(a,[2,29],{10:At}),t(Zt,[2,27],{16:104,4:K,5:Z,6:J,8:$,11:tt,13:et,17:it,18:at,19:nt,20:st}),t(N,[2,25]),t(N,[2,13]),t(N,[2,14]),t(N,[2,15]),t(N,[2,16]),t(N,[2,17]),t(N,[2,18]),t(N,[2,19]),t(N,[2,20]),t(N,[2,21]),t(N,[2,22]),t(a,[2,49],{10:At}),t(a,[2,48],{22:89,16:90,23:105,4:K,5:Z,6:J,8:$,11:tt,13:et,17:it,18:at,19:nt,20:st}),{4:K,5:Z,6:J,8:$,11:tt,13:et,16:90,17:it,18:at,19:nt,20:st,22:106},t(N,[2,26]),t(a,[2,50],{10:At}),t(Zt,[2,28],{16:104,4:K,5:Z,6:J,8:$,11:tt,13:et,17:it,18:at,19:nt,20:st})],defaultActions:{8:[2,30],9:[2,31]},parseError:o(function(r,l){if(l.recoverable)this.trace(r);else{var x=new Error(r);throw x.hash=l,x}},"parseError"),parse:o(function(r){var l=this,x=[0],c=[],S=[null],e=[],ut=this.table,s="",yt=0,Jt=0,me=2,$t=1,be=e.slice.call(arguments,1),D=Object.create(this.lexer),j={yy:{}};for(var Ft in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Ft)&&(j.yy[Ft]=this.yy[Ft]);D.setInput(r,j.yy),j.yy.lexer=D,j.yy.parser=this,typeof D.yylloc>"u"&&(D.yylloc={});var Pt=D.yylloc;e.push(Pt);var Se=D.options&&D.options.ranges;typeof j.yy.parseError=="function"?this.parseError=j.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function _e(R){x.length=x.length-2*R,S.length=S.length-R,e.length=e.length-R}o(_e,"popStack");function te(){var R;return R=c.pop()||D.lex()||$t,typeof R!="number"&&(R instanceof Array&&(c=R,R=c.pop()),R=l.symbols_[R]||R),R}o(te,"lex");for(var B,G,W,vt,rt={},Tt,M,ee,qt;;){if(G=x[x.length-1],this.defaultActions[G]?W=this.defaultActions[G]:((B===null||typeof B>"u")&&(B=te()),W=ut[G]&&ut[G][B]),typeof W>"u"||!W.length||!W[0]){var Ct="";qt=[];for(Tt in ut[G])this.terminals_[Tt]&&Tt>me&&qt.push("'"+this.terminals_[Tt]+"'");D.showPosition?Ct="Parse error on line "+(yt+1)+`:
|
|
2
2
|
`+D.showPosition()+`
|
|
3
3
|
Expecting `+qt.join(", ")+", got '"+(this.terminals_[B]||B)+"'":Ct="Parse error on line "+(yt+1)+": Unexpected "+(B==$t?"end of input":"'"+(this.terminals_[B]||B)+"'"),this.parseError(Ct,{text:D.match,token:this.terminals_[B]||B,line:D.yylineno,loc:Pt,expected:qt})}if(W[0]instanceof Array&&W.length>1)throw new Error("Parse Error: multiple actions possible at state: "+G+", token: "+B);switch(W[0]){case 1:x.push(B),S.push(D.yytext),e.push(D.yylloc),x.push(W[1]),B=null,Jt=D.yyleng,s=D.yytext,yt=D.yylineno,Pt=D.yylloc;break;case 2:if(M=this.productions_[W[1]][1],rt.$=S[S.length-M],rt._$={first_line:e[e.length-(M||1)].first_line,last_line:e[e.length-1].last_line,first_column:e[e.length-(M||1)].first_column,last_column:e[e.length-1].last_column},Se&&(rt._$.range=[e[e.length-(M||1)].range[0],e[e.length-1].range[1]]),vt=this.performAction.apply(rt,[s,Jt,yt,j.yy,W[1],S,e].concat(be)),typeof vt<"u")return vt;M&&(x=x.slice(0,-1*M*2),S=S.slice(0,-1*M),e=e.slice(0,-1*M)),x.push(this.productions_[W[1]][0]),S.push(rt.$),e.push(rt._$),ee=ut[x[x.length-2]][x[x.length-1]],x.push(ee);break;case 3:return!0}}return!0},"parse")},qe=(function(){var Y={EOF:1,parseError:o(function(l,x){if(this.yy.parser)this.yy.parser.parseError(l,x);else throw new Error(l)},"parseError"),setInput:o(function(r,l){return this.yy=l||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:o(function(){var r=this._input[0];this.yytext+=r,this.yyleng++,this.offset++,this.match+=r,this.matched+=r;var l=r.match(/(?:\r\n?|\n).*/g);return l?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),r},"input"),unput:o(function(r){var l=r.length,x=r.split(/(?:\r\n?|\n)/g);this._input=r+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-l),this.offset-=l;var c=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),x.length-1&&(this.yylineno-=x.length-1);var S=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:x?(x.length===c.length?this.yylloc.first_column:0)+c[c.length-x.length].length-x[0].length:this.yylloc.first_column-l},this.options.ranges&&(this.yylloc.range=[S[0],S[0]+this.yyleng-l]),this.yyleng=this.yytext.length,this},"unput"),more:o(function(){return this._more=!0,this},"more"),reject:o(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:o(function(r){this.unput(this.match.slice(r))},"less"),pastInput:o(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:o(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:o(function(){var r=this.pastInput(),l=new Array(r.length+1).join("-");return r+this.upcomingInput()+`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{b as o,W as pt,x as nt,am as Wt,an as Rt,au as Pt,H as Bt,X as ft,ay as E,aX as Vt,aH as Ft,b3 as yt,aW as U,d as ct,_ as zt,y as Ot,r as Gt}from"./
|
|
1
|
+
import{b as o,W as pt,x as nt,am as Wt,an as Rt,au as Pt,H as Bt,X as ft,ay as E,aX as Vt,aH as Ft,b3 as yt,aW as U,d as ct,_ as zt,y as Ot,r as Gt}from"./DeTs9jD5.js";var tt=(function(){var e=o(function(k,a,d,l){for(d=d||{},l=k.length;l--;d[k[l]]=a);return d},"o"),t=[6,11,13,14,15,17,19,20,23,24],s=[1,12],r=[1,13],n=[1,14],h=[1,15],c=[1,16],i=[1,19],y=[1,20],p={trace:o(function(){},"trace"),yy:{},symbols_:{error:2,start:3,timeline_header:4,document:5,EOF:6,timeline:7,timeline_lr:8,timeline_td:9,line:10,SPACE:11,statement:12,NEWLINE:13,title:14,acc_title:15,acc_title_value:16,acc_descr:17,acc_descr_value:18,acc_descr_multiline_value:19,section:20,period_statement:21,event_statement:22,period:23,event:24,$accept:0,$end:1},terminals_:{2:"error",6:"EOF",7:"timeline",8:"timeline_lr",9:"timeline_td",11:"SPACE",13:"NEWLINE",14:"title",15:"acc_title",16:"acc_title_value",17:"acc_descr",18:"acc_descr_value",19:"acc_descr_multiline_value",20:"section",23:"period",24:"event"},productions_:[0,[3,3],[4,1],[4,1],[4,1],[5,0],[5,2],[10,2],[10,1],[10,1],[10,1],[12,1],[12,2],[12,2],[12,1],[12,1],[12,1],[12,1],[21,1],[22,1]],performAction:o(function(a,d,l,g,x,u,S){var v=u.length-1;switch(x){case 1:return u[v-1];case 3:g.setDirection("LR");break;case 4:g.setDirection("TD");break;case 5:this.$=[];break;case 6:u[v-1].push(u[v]),this.$=u[v-1];break;case 7:case 8:this.$=u[v];break;case 9:case 10:this.$=[];break;case 11:g.getCommonDb().setDiagramTitle(u[v].substr(6)),this.$=u[v].substr(6);break;case 12:this.$=u[v].trim(),g.getCommonDb().setAccTitle(this.$);break;case 13:case 14:this.$=u[v].trim(),g.getCommonDb().setAccDescription(this.$);break;case 15:g.addSection(u[v].substr(8)),this.$=u[v].substr(8);break;case 18:g.addTask(u[v],0,""),this.$=u[v];break;case 19:g.addEvent(u[v].substr(2)),this.$=u[v];break}},"anonymous"),table:[{3:1,4:2,7:[1,3],8:[1,4],9:[1,5]},{1:[3]},e(t,[2,5],{5:6}),e(t,[2,2]),e(t,[2,3]),e(t,[2,4]),{6:[1,7],10:8,11:[1,9],12:10,13:[1,11],14:s,15:r,17:n,19:h,20:c,21:17,22:18,23:i,24:y},e(t,[2,10],{1:[2,1]}),e(t,[2,6]),{12:21,14:s,15:r,17:n,19:h,20:c,21:17,22:18,23:i,24:y},e(t,[2,8]),e(t,[2,9]),e(t,[2,11]),{16:[1,22]},{18:[1,23]},e(t,[2,14]),e(t,[2,15]),e(t,[2,16]),e(t,[2,17]),e(t,[2,18]),e(t,[2,19]),e(t,[2,7]),e(t,[2,12]),e(t,[2,13])],defaultActions:{},parseError:o(function(a,d){if(d.recoverable)this.trace(a);else{var l=new Error(a);throw l.hash=d,l}},"parseError"),parse:o(function(a){var d=this,l=[0],g=[],x=[null],u=[],S=this.table,v="",I=0,C=0,R=2,O=1,L=u.slice.call(arguments,1),w=Object.create(this.lexer),H={yy:{}};for(var V in this.yy)Object.prototype.hasOwnProperty.call(this.yy,V)&&(H.yy[V]=this.yy[V]);w.setInput(a,H.yy),H.yy.lexer=w,H.yy.parser=this,typeof w.yylloc>"u"&&(w.yylloc={});var F=w.yylloc;u.push(F);var K=w.options&&w.options.ranges;typeof H.yy.parseError=="function"?this.parseError=H.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function N(A){l.length=l.length-2*A,x.length=x.length-A,u.length=u.length-A}o(N,"popStack");function b(){var A;return A=g.pop()||w.lex()||O,typeof A!="number"&&(A instanceof Array&&(g=A,A=g.pop()),A=d.symbols_[A]||A),A}o(b,"lex");for(var _,$,T,P,W={},G,B,Z,j;;){if($=l[l.length-1],this.defaultActions[$]?T=this.defaultActions[$]:((_===null||typeof _>"u")&&(_=b()),T=S[$]&&S[$][_]),typeof T>"u"||!T.length||!T[0]){var Y="";j=[];for(G in S[$])this.terminals_[G]&&G>R&&j.push("'"+this.terminals_[G]+"'");w.showPosition?Y="Parse error on line "+(I+1)+`:
|
|
2
2
|
`+w.showPosition()+`
|
|
3
3
|
Expecting `+j.join(", ")+", got '"+(this.terminals_[_]||_)+"'":Y="Parse error on line "+(I+1)+": Unexpected "+(_==O?"end of input":"'"+(this.terminals_[_]||_)+"'"),this.parseError(Y,{text:w.match,token:this.terminals_[_]||_,line:w.yylineno,loc:F,expected:j})}if(T[0]instanceof Array&&T.length>1)throw new Error("Parse Error: multiple actions possible at state: "+$+", token: "+_);switch(T[0]){case 1:l.push(_),x.push(w.yytext),u.push(w.yylloc),l.push(T[1]),_=null,C=w.yyleng,v=w.yytext,I=w.yylineno,F=w.yylloc;break;case 2:if(B=this.productions_[T[1]][1],W.$=x[x.length-B],W._$={first_line:u[u.length-(B||1)].first_line,last_line:u[u.length-1].last_line,first_column:u[u.length-(B||1)].first_column,last_column:u[u.length-1].last_column},K&&(W._$.range=[u[u.length-(B||1)].range[0],u[u.length-1].range[1]]),P=this.performAction.apply(W,[v,C,I,H.yy,T[1],x,u].concat(L)),typeof P<"u")return P;B&&(l=l.slice(0,-1*B*2),x=x.slice(0,-1*B),u=u.slice(0,-1*B)),l.push(this.productions_[T[1]][0]),x.push(W.$),u.push(W._$),Z=S[l[l.length-2]][l[l.length-1]],l.push(Z);break;case 3:return!0}}return!0},"parse")},m=(function(){var k={EOF:1,parseError:o(function(d,l){if(this.yy.parser)this.yy.parser.parseError(d,l);else throw new Error(d)},"parseError"),setInput:o(function(a,d){return this.yy=d||this.yy||{},this._input=a,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:o(function(){var a=this._input[0];this.yytext+=a,this.yyleng++,this.offset++,this.match+=a,this.matched+=a;var d=a.match(/(?:\r\n?|\n).*/g);return d?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),a},"input"),unput:o(function(a){var d=a.length,l=a.split(/(?:\r\n?|\n)/g);this._input=a+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-d),this.offset-=d;var g=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 x=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===g.length?this.yylloc.first_column:0)+g[g.length-l.length].length-l[0].length:this.yylloc.first_column-d},this.options.ranges&&(this.yylloc.range=[x[0],x[0]+this.yyleng-d]),this.yyleng=this.yytext.length,this},"unput"),more:o(function(){return this._more=!0,this},"more"),reject:o(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:o(function(a){this.unput(this.match.slice(a))},"less"),pastInput:o(function(){var a=this.matched.substr(0,this.matched.length-this.match.length);return(a.length>20?"...":"")+a.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:o(function(){var a=this.match;return a.length<20&&(a+=this._input.substr(0,20-a.length)),(a.substr(0,20)+(a.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:o(function(){var a=this.pastInput(),d=new Array(a.length+1).join("-");return a+this.upcomingInput()+`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as p}from"./BhqDF1JR.js";import{v as s,u as l}from"./
|
|
1
|
+
import{d as p}from"./BhqDF1JR.js";import{v as s,u as l}from"./BaN8MLaG.js";import{selectScriptOutput as o,selectScriptById as f,selectCanReadScriptDefinition as m}from"./JWiMpes2.js";async function a(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{a as readScriptContextOutputLines};
|