claude-mux 0.26.2 → 0.26.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/server/ws-handlers.d.ts.map +1 -1
- package/dist/server/ws-handlers.js +7 -4
- package/dist/server/ws-handlers.js.map +1 -1
- package/dist/tmux/pane.d.ts +7 -3
- package/dist/tmux/pane.d.ts.map +1 -1
- package/dist/tmux/pane.js +35 -13
- package/dist/tmux/pane.js.map +1 -1
- package/dist/utils/version.d.ts +1 -1
- package/dist/utils/version.js +1 -1
- package/dist/web/client/_app/immutable/assets/0.CiLJk_Xe.css +1 -0
- package/dist/web/client/_app/immutable/chunks/{DmEI2TOa.js → BPG41LQc.js} +13 -13
- package/dist/web/client/_app/immutable/chunks/BxK27rIF.js +1 -0
- package/dist/web/client/_app/immutable/chunks/DvtCSRbx.js +1 -0
- package/dist/web/client/_app/immutable/chunks/Iym5fv6V.js +2 -0
- package/{web/.svelte-kit/output/client/_app/immutable/chunks/Cotx9uI_.js → dist/web/client/_app/immutable/chunks/ZzVAGtsj.js} +1 -1
- package/dist/web/client/_app/immutable/entry/{app.DXHW0aPL.js → app.BrdmX1nT.js} +2 -2
- package/dist/web/client/_app/immutable/entry/start.z3GFCeFl.js +1 -0
- package/dist/web/client/_app/immutable/nodes/{0.DAnv2asW.js → 0.DX7LpCH-.js} +1 -1
- package/dist/web/client/_app/immutable/nodes/{1.CU8f4oNB.js → 1.LA4NLAbZ.js} +1 -1
- package/dist/web/client/_app/immutable/nodes/{2.BYpvCgtu.js → 2.CC3GVyR0.js} +1 -1
- package/dist/web/client/_app/immutable/nodes/{3.DuMzeRg3.js → 3.s97PqS3X.js} +1 -1
- package/dist/web/client/_app/version.json +1 -1
- package/dist/web/server/chunks/{0-C-AAPmon.js → 0-D-tZOQ7R.js} +9 -9
- package/dist/web/server/chunks/{0-C-AAPmon.js.map → 0-D-tZOQ7R.js.map} +1 -1
- package/dist/web/server/chunks/{1-T_dogl8W.js → 1-CG5NsrbP.js} +3 -3
- package/dist/web/server/chunks/{1-T_dogl8W.js.map → 1-CG5NsrbP.js.map} +1 -1
- package/dist/web/server/chunks/{2-FlchE_4u.js → 2-yV51EcS-.js} +7 -7
- package/dist/web/server/chunks/{2-FlchE_4u.js.map → 2-yV51EcS-.js.map} +1 -1
- package/dist/web/server/chunks/{3-U2bTntXU.js → 3-D75yomeT.js} +6 -6
- package/dist/web/server/chunks/{3-U2bTntXU.js.map → 3-D75yomeT.js.map} +1 -1
- package/dist/web/server/chunks/{_layout.svelte-Ddn9Wu-V.js → _layout.svelte-B22DMQF4.js} +4 -4
- package/dist/web/server/chunks/{_layout.svelte-Ddn9Wu-V.js.map → _layout.svelte-B22DMQF4.js.map} +1 -1
- package/dist/web/server/chunks/{_page.svelte-_F3qltju.js → _page.svelte-DkZsH6VV.js} +2 -2
- package/dist/web/server/chunks/{_page.svelte-_F3qltju.js.map → _page.svelte-DkZsH6VV.js.map} +1 -1
- package/dist/web/server/chunks/{_server.ts-C6MJsvPN.js → _server.ts-BLpwF6cO.js} +3 -3
- package/dist/web/server/chunks/{_server.ts-C6MJsvPN.js.map → _server.ts-BLpwF6cO.js.map} +1 -1
- package/dist/web/server/chunks/{_server.ts-fnuGtMqr.js → _server.ts-BceRCUNN.js} +3 -3
- package/dist/web/server/chunks/{_server.ts-fnuGtMqr.js.map → _server.ts-BceRCUNN.js.map} +1 -1
- package/dist/web/server/chunks/{_server.ts-Df32fD_Q.js → _server.ts-DLwZHSdd.js} +2 -2
- package/dist/web/server/chunks/{_server.ts-Df32fD_Q.js.map → _server.ts-DLwZHSdd.js.map} +1 -1
- package/dist/web/server/chunks/{_server.ts-CNU4yPZZ.js → _server.ts-IZp35sUH.js} +4 -2
- package/dist/web/server/chunks/_server.ts-IZp35sUH.js.map +1 -0
- package/dist/web/server/chunks/{_server.ts-CtsPyICr.js → _server.ts-ilTVJ4A9.js} +2 -2
- package/dist/web/server/chunks/{_server.ts-CtsPyICr.js.map → _server.ts-ilTVJ4A9.js.map} +1 -1
- package/dist/web/server/chunks/{_server.ts-C00ejke7.js → _server.ts-pihD3w10.js} +2 -2
- package/dist/web/server/chunks/{_server.ts-C00ejke7.js.map → _server.ts-pihD3w10.js.map} +1 -1
- package/dist/web/server/chunks/{_server.ts-BBrtrcEt.js → _server.ts-xXEIfBqh.js} +2 -2
- package/dist/web/server/chunks/{_server.ts-BBrtrcEt.js.map → _server.ts-xXEIfBqh.js.map} +1 -1
- package/dist/web/server/chunks/{button-C1GVS_oY.js → button-svhFQKMs.js} +21 -3
- package/dist/web/server/chunks/{button-C1GVS_oY.js.map → button-svhFQKMs.js.map} +1 -1
- package/dist/web/server/chunks/{hooks.server-DG_lyHkY.js → hooks.server-BschOmH0.js} +3 -3
- package/dist/web/server/chunks/{hooks.server-DG_lyHkY.js.map → hooks.server-BschOmH0.js.map} +1 -1
- package/dist/web/server/chunks/{ws-handlers-BQ2RtlNl.js → ws-handlers-DmdbIqkc.js} +61 -16
- package/dist/web/server/chunks/ws-handlers-DmdbIqkc.js.map +1 -0
- package/dist/web/server/chunks/{ws-managers-DLQiiQnX.js → ws-managers-Cw_QNOpo.js} +2 -2
- package/dist/web/server/chunks/{ws-managers-DLQiiQnX.js.map → ws-managers-Cw_QNOpo.js.map} +1 -1
- package/dist/web/server/index.js +2 -2
- package/dist/web/server/index.js.map +1 -1
- package/dist/web/server/manifest.js +17 -17
- package/dist/web/server/manifest.js.map +1 -1
- package/package.json +1 -1
- package/src/server/ws-handlers.ts +6 -4
- package/src/tmux/pane.ts +35 -11
- package/src/utils/version.ts +1 -1
- package/tests/tmux/activity-line.test.ts +47 -0
- package/web/.svelte-kit/adapter-bun/.vite/manifest.json +3 -7
- package/web/.svelte-kit/adapter-bun/_app/immutable/assets/_layout.6tlxP3iE.css +1 -0
- package/web/.svelte-kit/adapter-bun/chunks/button.js +21 -0
- package/web/.svelte-kit/adapter-bun/chunks/internal2.js +1 -1
- package/web/.svelte-kit/adapter-bun/chunks/ws-handlers.js +45 -15
- package/web/.svelte-kit/adapter-bun/chunks/ws-managers.js +1 -1
- package/web/.svelte-kit/adapter-bun/entries/endpoints/api/projects/new-session/_server.ts.js +3 -1
- package/web/.svelte-kit/adapter-bun/entries/endpoints/api/sessions/_server.ts.js +1 -1
- package/web/.svelte-kit/adapter-bun/entries/endpoints/api/settings/_server.ts.js +1 -1
- package/web/.svelte-kit/adapter-bun/entries/pages/_layout.svelte.js +2 -2
- package/web/.svelte-kit/adapter-bun/manifest-full.js +1 -1
- package/web/.svelte-kit/adapter-bun/manifest.js +1 -1
- package/web/.svelte-kit/adapter-bun/nodes/0.js +2 -2
- package/web/.svelte-kit/adapter-bun/nodes/1.js +1 -1
- package/web/.svelte-kit/adapter-bun/nodes/2.js +1 -1
- package/web/.svelte-kit/adapter-bun/nodes/3.js +1 -1
- package/web/.svelte-kit/generated/server/internal.js +1 -1
- package/web/.svelte-kit/output/client/.vite/manifest.json +60 -60
- package/web/.svelte-kit/output/client/_app/immutable/assets/0.CiLJk_Xe.css +1 -0
- package/web/.svelte-kit/output/client/_app/immutable/chunks/{DmEI2TOa.js → BPG41LQc.js} +13 -13
- package/web/.svelte-kit/output/client/_app/immutable/chunks/BxK27rIF.js +1 -0
- package/web/.svelte-kit/output/client/_app/immutable/chunks/DvtCSRbx.js +1 -0
- package/web/.svelte-kit/output/client/_app/immutable/chunks/Iym5fv6V.js +2 -0
- package/{dist/web/client/_app/immutable/chunks/Cotx9uI_.js → web/.svelte-kit/output/client/_app/immutable/chunks/ZzVAGtsj.js} +1 -1
- package/web/.svelte-kit/output/client/_app/immutable/entry/{app.DXHW0aPL.js → app.BrdmX1nT.js} +2 -2
- package/web/.svelte-kit/output/client/_app/immutable/entry/start.z3GFCeFl.js +1 -0
- package/web/.svelte-kit/output/client/_app/immutable/nodes/{0.DAnv2asW.js → 0.DX7LpCH-.js} +1 -1
- package/web/.svelte-kit/output/client/_app/immutable/nodes/{1.CU8f4oNB.js → 1.LA4NLAbZ.js} +1 -1
- package/web/.svelte-kit/output/client/_app/immutable/nodes/{2.BYpvCgtu.js → 2.CC3GVyR0.js} +1 -1
- package/web/.svelte-kit/output/client/_app/immutable/nodes/{3.DuMzeRg3.js → 3.s97PqS3X.js} +1 -1
- package/web/.svelte-kit/output/client/_app/version.json +1 -1
- package/web/.svelte-kit/output/server/.vite/manifest.json +3 -7
- package/web/.svelte-kit/output/server/_app/immutable/assets/_layout.6tlxP3iE.css +1 -0
- package/web/.svelte-kit/output/server/chunks/button.js +21 -0
- package/web/.svelte-kit/output/server/chunks/internal2.js +1 -1
- package/web/.svelte-kit/output/server/chunks/ws-handlers.js +45 -15
- package/web/.svelte-kit/output/server/chunks/ws-managers.js +1 -1
- package/web/.svelte-kit/output/server/entries/endpoints/api/projects/new-session/_server.ts.js +3 -1
- package/web/.svelte-kit/output/server/entries/endpoints/api/sessions/_server.ts.js +1 -1
- package/web/.svelte-kit/output/server/entries/endpoints/api/settings/_server.ts.js +1 -1
- package/web/.svelte-kit/output/server/entries/pages/_layout.svelte.js +2 -2
- package/web/.svelte-kit/output/server/manifest-full.js +1 -1
- package/web/.svelte-kit/output/server/manifest.js +1 -1
- package/web/.svelte-kit/output/server/nodes/0.js +2 -2
- package/web/.svelte-kit/output/server/nodes/1.js +1 -1
- package/web/.svelte-kit/output/server/nodes/2.js +1 -1
- package/web/.svelte-kit/output/server/nodes/3.js +1 -1
- package/web/src/lib/actions/longPress.ts +52 -6
- package/web/src/lib/components/AllSessionsPanel.svelte +12 -3
- package/web/src/lib/stores/websocket-base.svelte.ts +24 -1
- package/web/src/routes/api/projects/new-session/+server.ts +3 -0
- package/dist/web/client/_app/immutable/assets/0.DwaaTdPO.css +0 -1
- package/dist/web/client/_app/immutable/chunks/1pIWnoD_.js +0 -1
- package/dist/web/client/_app/immutable/chunks/DfoR1zCV.js +0 -1
- package/dist/web/client/_app/immutable/chunks/DtVU-s3j.js +0 -2
- package/dist/web/client/_app/immutable/entry/start.CchjowOg.js +0 -1
- package/dist/web/server/chunks/_server.ts-CNU4yPZZ.js.map +0 -1
- package/dist/web/server/chunks/geometry-CUMMOI9q.js +0 -46
- package/dist/web/server/chunks/geometry-CUMMOI9q.js.map +0 -1
- package/dist/web/server/chunks/ws-handlers-BQ2RtlNl.js.map +0 -1
- package/web/.svelte-kit/adapter-bun/_app/immutable/assets/_layout.Bpy37C6o.css +0 -1
- package/web/.svelte-kit/adapter-bun/chunks/geometry.js +0 -32
- package/web/.svelte-kit/output/client/_app/immutable/assets/0.DwaaTdPO.css +0 -1
- package/web/.svelte-kit/output/client/_app/immutable/chunks/1pIWnoD_.js +0 -1
- package/web/.svelte-kit/output/client/_app/immutable/chunks/DfoR1zCV.js +0 -1
- package/web/.svelte-kit/output/client/_app/immutable/chunks/DtVU-s3j.js +0 -2
- package/web/.svelte-kit/output/client/_app/immutable/entry/start.CchjowOg.js +0 -1
- package/web/.svelte-kit/output/server/_app/immutable/assets/_layout.Bpy37C6o.css +0 -1
- package/web/.svelte-kit/output/server/chunks/geometry.js +0 -32
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{k as _r,c as Le,a as d,f as m,l as Fo,o as Ko,p as ua,t as $t,s as C,d as $n,b as X,e as Un}from"../chunks/BuvGONG-.js";import{h as Bs,c as Ai,ac as Ts,t as w,a as Ii,P as Wo,bj as Go,e as Pi,ae as Vo,at as Xo,be as Qo,bb as Zo,aT as Yo,bk as Jo,bl as el,u as Tt,O as Ks,p as jt,f as K,g as Ct,j as t,m as _,n as v,aa as y,y as Vn,k as p,l as D,v as Yt,q as h,o as O,ab as Qe,bi as da,a9 as os,a8 as yr,bh as tl,a7 as Di,bm as nl,$ as sl,bn as rl}from"../chunks/RhyL4cOo.js";import{p as Z,i as A,r as Kn,c as Fn,b as En,s as il,a as al}from"../chunks/ukOf9Kzz.js";import{j as ts,d as pt,e as st,s as Q,b as W,a as un,k as Gs,c as ha,r as pa,i as ol,l as ll,m as cl,h as ul}from"../chunks/BpsTpPGB.js";import{c as Ye}from"../chunks/CjMoR7Dp.js";import{u as va,a as Rn,m as es,a5 as dl,e as lt,o as hl,C as fa,a6 as pl,w as ls,f as ga,D as vl,g as ma,a7 as ba,a8 as fl,a9 as _a,aa as gl,ab as ml,h as bl,ac as Vs,ad as _l,l as ya,ae as yl,af as kl,ag as Oi,R as ka,$ as ys,ah as As,Z as Gn,s as Es,c as xa,B as cs,z as Li,_ as Xs,a0 as Pr,ai as xl,r as Mi,aj as wl,F as Sl,v as Tl,x as jl,y as Cl,E as wa,N as El,b as kr,I as xr,S as wr,a3 as zi,J as Rl,q as Sr,P as Tr,n as jr,Y as Al,O as Il,Q as Pl,T as Dl,U as Ol,V as Ll,W as Ml,X as zl,p as $l}from"../chunks/DmEI2TOa.js";import{g as Dr}from"../chunks/DtVU-s3j.js";import{u as Cr,p as Bl,d as $i}from"../chunks/Cotx9uI_.js";import{e as Ws,T as ql,c as qs,S as Nl,a as Hl,f as Sa}from"../chunks/DRBq3mUM.js";function Rs(i,e,n=!1,s=!1,r=!1,a=!1){var l=i,o="";if(n){var u=i;Bs&&(l=Ai(Ts(u)))}w(()=>{var g=Wo;if(o===(o=e()??"")){Bs&&Ii();return}if(n&&!Bs){g.nodes=null,u.innerHTML=o,o!==""&&_r(Ts(u),u.lastChild);return}if(g.nodes!==null&&(Go(g.nodes.start,g.nodes.end),g.nodes=null),o!==""){if(Bs){Pi.data;for(var b=Ii(),k=b;b!==null&&(b.nodeType!==Vo||b.data!=="");)k=b,b=Xo(b);if(b===null)throw Qo(),Zo;_r(Pi,k),l=Ai(b);return}var S=s?Jo:r?el:void 0,T=Yo(s?"svg":r?"math":"template",S);T.innerHTML=o;var j=s||r?T:T.content;if(_r(Ts(j),j.lastChild),s||r)for(;Ts(j);)l.before(Ts(j));else l.before(j)}})}function $r(i){Tt(()=>Ks(()=>i()))}var Ul=new Set(["$$slots","$$events","$$legacy","id","children","child","width","height"]),Fl=Fo('<svg viewBox="0 0 30 10" preserveAspectRatio="none" data-arrow=""><polygon points="0,0 30,0 15,10" fill="currentColor"></polygon></svg>'),Kl=m("<span><!></span>");function Wl(i,e){jt(e,!0);let n=Z(e,"id",19,va),s=Z(e,"width",3,10),r=Z(e,"height",3,5),a=Kn(e,Ul);const l=y(()=>es(a,{id:n()}));var o=Le(),u=K(o);{var g=k=>{var S=Le(),T=K(S);Rn(T,()=>e.child,()=>({props:t(l)})),d(k,S)},b=k=>{var S=Kl();ts(S,()=>({...t(l)}));var T=_(S);{var j=E=>{var P=Le(),B=K(P);Rn(B,()=>e.children??Vn),d(E,P)},L=E=>{var P=Fl();w(()=>{pt(P,"width",s()),pt(P,"height",r())}),d(E,P)};A(T,E=>{e.children?E(j):E(L,-1)})}v(S),d(k,S)};A(u,k=>{e.child?k(g):k(b,-1)})}d(i,o),Ct()}var Gl=new Set(["$$slots","$$events","$$legacy","id","ref"]);function Vl(i,e){jt(e,!0);let n=Z(e,"id",19,va),s=Z(e,"ref",15,null),r=Kn(e,Gl);const a=dl.create({id:lt(()=>n()),ref:lt(()=>s(),o=>s(o))}),l=y(()=>es(r,a.props));Wl(i,Fn(()=>t(l))),Ct()}class Or{#n;#t;#e=null;constructor(e,n){this.#t=e,this.#n=n,this.stop=this.stop.bind(this),this.start=this.start.bind(this),hl(this.stop)}#i(){this.#e!==null&&(window.clearTimeout(this.#e),this.#e=null)}stop(){this.#i()}start(...e){this.#i(),this.#e=window.setTimeout(()=>{this.#e=null,this.#t(...e)},this.#n)}}const Ta=bl({component:"tooltip",parts:["content","trigger"]}),ja=new fa("Tooltip.Provider"),Br=new fa("Tooltip.Root");class Xl{#n=D(Yt(new Map));get triggers(){return t(this.#n)}set triggers(e){p(this.#n,e,!0)}#t=D(null);get activeTriggerId(){return t(this.#t)}set activeTriggerId(e){p(this.#t,e,!0)}#e=y(()=>{const e=this.activeTriggerId;return e===null?null:this.triggers.get(e)?.node??null});get activeTriggerNode(){return t(this.#e)}set activeTriggerNode(e){p(this.#e,e)}#i=y(()=>{const e=this.activeTriggerId;return e===null?null:this.triggers.get(e)?.payload??null});get activePayload(){return t(this.#i)}set activePayload(e){p(this.#i,e)}register=e=>{const n=new Map(this.triggers);n.set(e.id,e),this.triggers=n,this.#s()};update=e=>{const n=new Map(this.triggers);n.set(e.id,e),this.triggers=n,this.#s()};unregister=e=>{if(!this.triggers.has(e))return;const n=new Map(this.triggers);n.delete(e),this.triggers=n,this.activeTriggerId===e&&(this.activeTriggerId=null)};setActiveTrigger=e=>{if(e===null){this.activeTriggerId=null;return}if(!this.triggers.has(e)){this.activeTriggerId=null;return}this.activeTriggerId=e};get=e=>this.triggers.get(e);has=e=>this.triggers.has(e);getFirstTriggerId=()=>{const e=this.triggers.entries().next();return e.done?null:e.value[0]};#s=()=>{const e=this.activeTriggerId;e!==null&&(this.triggers.has(e)||(this.activeTriggerId=null))}}class qr{static create(e){return ja.set(new qr(e))}opts;#n=D(!0);get isOpenDelayed(){return t(this.#n)}set isOpenDelayed(e){p(this.#n,e,!0)}isPointerInTransit=ga(!1);#t;#e=D(null);constructor(e){this.opts=e,this.#t=new Or(()=>{this.isOpenDelayed=!0},this.opts.skipDelayDuration.current),$r(()=>Ko(window,"scroll",n=>{const s=t(this.#e);if(!s)return;const r=s.triggerNode;if(!r)return;const a=n.target;(a instanceof Element||a instanceof Document)&&a.contains(r)&&s.handleClose()}))}#i=()=>{if(this.opts.skipDelayDuration.current===0){this.isOpenDelayed=!0;return}else this.#t.start()};#s=()=>{this.#t.stop()};onOpen=e=>{t(this.#e)&&t(this.#e)!==e&&t(this.#e).handleClose(),this.#s(),this.isOpenDelayed=!1,p(this.#e,e,!0)};onClose=e=>{t(this.#e)===e&&(p(this.#e,null),this.#i())};isTooltipOpen=e=>t(this.#e)===e}class Nr{static create(e){return Br.set(new Nr(e,ja.get()))}opts;provider;#n=y(()=>this.opts.delayDuration.current??this.provider.opts.delayDuration.current);get delayDuration(){return t(this.#n)}set delayDuration(e){p(this.#n,e)}#t=y(()=>this.opts.disableHoverableContent.current??this.provider.opts.disableHoverableContent.current);get disableHoverableContent(){return t(this.#t)}set disableHoverableContent(e){p(this.#t,e)}#e=y(()=>this.opts.disableCloseOnTriggerClick.current??this.provider.opts.disableCloseOnTriggerClick.current);get disableCloseOnTriggerClick(){return t(this.#e)}set disableCloseOnTriggerClick(e){p(this.#e,e)}#i=y(()=>this.opts.disabled.current??this.provider.opts.disabled.current);get disabled(){return t(this.#i)}set disabled(e){p(this.#i,e)}#s=y(()=>this.opts.ignoreNonKeyboardFocus.current??this.provider.opts.ignoreNonKeyboardFocus.current);get ignoreNonKeyboardFocus(){return t(this.#s)}set ignoreNonKeyboardFocus(e){p(this.#s,e)}registry;tether;#r=D(null);get contentNode(){return t(this.#r)}set contentNode(e){p(this.#r,e,!0)}contentPresence;#a=D(!1);#o;#l=y(()=>this.opts.open.current?t(this.#a)?"delayed-open":"instant-open":"closed");get stateAttr(){return t(this.#l)}set stateAttr(e){p(this.#l,e)}constructor(e,n){this.opts=e,this.provider=n,this.tether=e.tether.current?.state??null,this.registry=this.tether?.registry??new Xl,this.#o=new Or(()=>{p(this.#a,!0),this.opts.open.current=!0},this.delayDuration??0),this.tether&&(this.tether.root=this,$r(()=>()=>{this.tether?.root===this&&(this.tether.root=null)})),this.contentPresence=new pl({open:this.opts.open,ref:lt(()=>this.contentNode),onComplete:()=>{this.opts.onOpenChangeComplete.current(this.opts.open.current)}}),ls(()=>this.delayDuration,()=>{this.delayDuration!==void 0&&(this.#o=new Or(()=>{p(this.#a,!0),this.opts.open.current=!0},this.delayDuration))}),ls(()=>this.opts.open.current,s=>{s?(this.ensureActiveTrigger(),this.provider.onOpen(this)):this.provider.onClose(this)},{lazy:!0}),ls(()=>this.opts.triggerId.current,s=>{s!==this.registry.activeTriggerId&&this.registry.setActiveTrigger(s)}),ls(()=>this.registry.activeTriggerId,s=>{this.opts.triggerId.current!==s&&(this.opts.triggerId.current=s)})}handleOpen=()=>{this.#o.stop(),p(this.#a,!1),this.ensureActiveTrigger(),this.opts.open.current=!0};handleClose=()=>{this.#o.stop(),this.opts.open.current=!1};cancelPendingOpen=()=>{this.#o.stop()};#c=()=>{this.#o.stop();const e=!this.provider.isOpenDelayed,n=this.delayDuration??0;e||n===0?(p(this.#a,!1),this.opts.open.current=!0):this.#o.start()};onTriggerEnter=e=>{this.setActiveTrigger(e),this.#c()};onTriggerLeave=()=>{this.disableHoverableContent?this.handleClose():this.#o.stop()};ensureActiveTrigger=()=>{if(this.registry.activeTriggerId!==null&&this.registry.has(this.registry.activeTriggerId))return;if(this.opts.triggerId.current!==null&&this.registry.has(this.opts.triggerId.current)){this.registry.setActiveTrigger(this.opts.triggerId.current);return}const e=this.registry.getFirstTriggerId();this.registry.setActiveTrigger(e)};setActiveTrigger=e=>{this.registry.setActiveTrigger(e)};registerTrigger=e=>{this.registry.register(e),e.disabled&&this.registry.activeTriggerId===e.id&&this.opts.open.current&&this.handleClose()};updateTrigger=e=>{this.registry.update(e),e.disabled&&this.registry.activeTriggerId===e.id&&this.opts.open.current&&this.handleClose()};unregisterTrigger=e=>{const n=this.registry.activeTriggerId===e;this.registry.unregister(e),n&&this.opts.open.current&&this.handleClose()};isActiveTrigger=e=>this.registry.activeTriggerId===e;get triggerNode(){return this.registry.activeTriggerNode}get activePayload(){return this.registry.activePayload}get activeTriggerId(){return this.registry.activeTriggerId}}class Qs{static create(e){return e.tether.current?new Qs(e,null,e.tether.current.state):new Qs(e,Br.get(),null)}opts;root;tether;attachment;#n=ga(!1);#t=D(!1);domContext;#e=null;#i=!1;#s=null;constructor(e,n,s){this.opts=e,this.root=n,this.tether=s,this.domContext=new vl(e.ref),this.attachment=ma(this.opts.ref,r=>this.#o(r)),ls(()=>this.opts.id.current,()=>{this.#o(this.opts.ref.current)}),ls(()=>this.opts.payload.current,()=>{this.#o(this.opts.ref.current)}),ls(()=>this.opts.disabled.current,()=>{this.#o(this.opts.ref.current)}),$r(()=>(this.#i=!0,this.#o(this.opts.ref.current),()=>{const r=this.#r(),a=this.#s;a&&(this.tether?this.tether.registry.unregister(a):r?.unregisterTrigger(a)),this.#s=null,this.#i=!1}))}#r=()=>this.tether?.root??this.root;#a=()=>{const e=this.#r();return this.opts.disabled.current||!!e?.disabled};#o=e=>{if(!this.#i)return;const n=this.opts.id.current,s=this.opts.payload.current,r=this.opts.disabled.current;if(this.#s&&this.#s!==n){const o=this.#r();this.tether?this.tether.registry.unregister(this.#s):o?.unregisterTrigger(this.#s)}const a={id:n,node:e,payload:s,disabled:r},l=this.#r();this.tether?(this.tether.registry.has(n)?this.tether.registry.update(a):this.tether.registry.register(a),r&&this.tether.registry.activeTriggerId===n&&l?.opts.open.current&&l.handleClose()):l?.registry.has(n)?l.updateTrigger(a):l?.registerTrigger(a),this.#s=n};#l=()=>{this.#e!==null&&(clearTimeout(this.#e),this.#e=null)};handlePointerUp=()=>{this.#n.current=!1};#c=()=>{this.#a()||(this.#n.current=!1)};#d=()=>{if(this.#a())return;const e=this.#r();e&&!e.disableCloseOnTriggerClick&&(e.opts.open.current?e.handleClose():e.cancelPendingOpen()),this.#n.current=!0,this.domContext.getDocument().addEventListener("pointerup",()=>{this.handlePointerUp()},{once:!0})};#h=e=>{const n=this.#r();if(n){if(this.#a()){n.opts.open.current&&n.handleClose();return}if(e.pointerType!=="touch"){if(n.provider.isPointerInTransit.current){this.#l(),this.#e=window.setTimeout(()=>{n.provider.isPointerInTransit.current&&(n.provider.isPointerInTransit.current=!1,n.onTriggerEnter(this.opts.id.current),p(this.#t,!0))},250);return}n.onTriggerEnter(this.opts.id.current),p(this.#t,!0)}}};#p=e=>{const n=this.#r();if(n){if(this.#a()){n.opts.open.current&&n.handleClose();return}e.pointerType!=="touch"&&(t(this.#t)||(this.#l(),n.provider.isPointerInTransit.current=!1,n.onTriggerEnter(this.opts.id.current),p(this.#t,!0)))}};#v=e=>{const n=this.#r();if(!n||this.#a())return;if(this.#l(),!n.isActiveTrigger(this.opts.id.current)){p(this.#t,!1);return}const s=e.relatedTarget;if(ba(s)){for(const r of n.registry.triggers.values())if(r.node===s){if(n.provider.opts.skipDelayDuration.current>0){p(this.#t,!1);return}n.handleClose(),p(this.#t,!1);return}}n.onTriggerLeave(),p(this.#t,!1)};#f=e=>{const n=this.#r();if(n&&!this.#n.current){if(this.#a()){n.opts.open.current&&n.handleClose();return}n.ignoreNonKeyboardFocus&&!fl(e.currentTarget)||(n.setActiveTrigger(this.opts.id.current),n.handleOpen())}};#g=()=>{const e=this.#r();!e||this.#a()||e.handleClose()};#m=()=>{const e=this.#r();!e||e.disableCloseOnTriggerClick||this.#a()||e.handleClose()};#u=y(()=>{const e=this.#r(),n=!!(e?.opts.open.current&&e.isActiveTrigger(this.opts.id.current)),s=this.#a();return{id:this.opts.id.current,"aria-describedby":n?e?.contentNode?.id:void 0,"data-state":n?e?.stateAttr:"closed","data-disabled":_a(s),"data-delay-duration":`${e?.delayDuration??0}`,[Ta.trigger]:"",tabindex:s?void 0:this.opts.tabindex.current,disabled:this.opts.disabled.current,onpointerup:this.#c,onpointerdown:this.#d,onpointerenter:this.#h,onpointermove:this.#p,onpointerleave:this.#v,onfocus:this.#f,onblur:this.#g,onclick:this.#m,...this.attachment}});get props(){return t(this.#u)}set props(e){p(this.#u,e)}}class Hr{static create(e){return new Hr(e,Br.get())}opts;root;attachment;constructor(e,n){this.opts=e,this.root=n,this.attachment=ma(this.opts.ref,s=>this.root.contentNode=s),new gl({triggerNode:()=>this.root.triggerNode,contentNode:()=>this.root.contentNode,enabled:()=>this.root.opts.open.current&&!this.root.disableHoverableContent,transitIntentTimeout:180,ignoredTargets:()=>{if(this.root.provider.opts.skipDelayDuration.current===0)return[];const s=[],r=this.root.triggerNode;for(const a of this.root.registry.triggers.values())a.node&&a.node!==r&&s.push(a.node);return s},onPointerExit:()=>{this.root.provider.isTooltipOpen(this.root)&&this.root.handleClose()}})}onInteractOutside=e=>{if(ba(e.target)&&this.root.triggerNode?.contains(e.target)&&this.root.disableCloseOnTriggerClick){e.preventDefault();return}this.opts.onInteractOutside.current(e),!e.defaultPrevented&&this.root.handleClose()};onEscapeKeydown=e=>{this.opts.onEscapeKeydown.current?.(e),!e.defaultPrevented&&this.root.handleClose()};onOpenAutoFocus=e=>{e.preventDefault()};onCloseAutoFocus=e=>{e.preventDefault()};get shouldRender(){return this.root.contentPresence.shouldRender}#n=y(()=>({open:this.root.opts.open.current}));get snippetProps(){return t(this.#n)}set snippetProps(e){p(this.#n,e)}#t=y(()=>({id:this.opts.id.current,"data-state":this.root.stateAttr,"data-disabled":_a(this.root.disabled),...ml(this.root.contentPresence.transitionStatus),style:{outline:"none"},[Ta.content]:"",...this.attachment}));get props(){return t(this.#t)}set props(e){p(this.#t,e)}popperProps={onInteractOutside:this.onInteractOutside,onEscapeKeydown:this.onEscapeKeydown,onOpenAutoFocus:this.onOpenAutoFocus,onCloseAutoFocus:this.onCloseAutoFocus}}function Ql(i,e){jt(e,!0);let n=Z(e,"open",15,!1),s=Z(e,"triggerId",15,null),r=Z(e,"onOpenChange",3,Vs),a=Z(e,"onOpenChangeComplete",3,Vs);const l=Nr.create({open:lt(()=>n(),o=>{n(o),r()(o)}),triggerId:lt(()=>s(),o=>{s(o)}),delayDuration:lt(()=>e.delayDuration),disableCloseOnTriggerClick:lt(()=>e.disableCloseOnTriggerClick),disableHoverableContent:lt(()=>e.disableHoverableContent),ignoreNonKeyboardFocus:lt(()=>e.ignoreNonKeyboardFocus),disabled:lt(()=>e.disabled),onOpenChangeComplete:lt(()=>a()),tether:lt(()=>e.tether)});_l(i,{tooltip:!0,children:(o,u)=>{var g=Le(),b=K(g);Rn(b,()=>e.children??Vn,()=>({open:l.opts.open.current,triggerId:l.activeTriggerId,payload:l.activePayload})),d(o,g)},$$slots:{default:!0}}),Ct()}var Zl=new Set(["$$slots","$$events","$$legacy","children","child","id","ref","side","sideOffset","align","avoidCollisions","arrowPadding","sticky","strategy","hideWhenDetached","customAnchor","collisionPadding","onInteractOutside","onEscapeKeydown","forceMount","style"]),Bi=m("<div><div><!></div></div>");function Yl(i,e){const n=ua();jt(e,!0);let s=Z(e,"id",19,()=>ya(n)),r=Z(e,"ref",15,null),a=Z(e,"side",3,"top"),l=Z(e,"sideOffset",3,0),o=Z(e,"align",3,"center"),u=Z(e,"avoidCollisions",3,!0),g=Z(e,"arrowPadding",3,0),b=Z(e,"sticky",3,"partial"),k=Z(e,"hideWhenDetached",3,!1),S=Z(e,"collisionPadding",3,0),T=Z(e,"onInteractOutside",3,Vs),j=Z(e,"onEscapeKeydown",3,Vs),L=Z(e,"forceMount",3,!1),E=Kn(e,Zl);const P=Hr.create({id:lt(()=>s()),ref:lt(()=>r(),ne=>r(ne)),onInteractOutside:lt(()=>T()),onEscapeKeydown:lt(()=>j())}),B=y(()=>({side:a(),sideOffset:l(),align:o(),avoidCollisions:u(),arrowPadding:g(),sticky:b(),hideWhenDetached:k(),collisionPadding:S(),strategy:e.strategy,customAnchor:e.customAnchor??P.root.triggerNode})),V=y(()=>es(E,t(B),P.props));var J=Le(),ve=K(J);{var H=ne=>{{const Y=(he,ue)=>{let G=()=>(ue?.()).props,F=()=>(ue?.()).wrapperProps;const De=y(()=>es(F(),{style:{pointerEvents:P.root.disableHoverableContent?"none":void 0}})),re=y(()=>es(G(),{style:Oi("tooltip")},{style:e.style}));var oe=Le(),Oe=K(oe);{var ze=Se=>{var Ee=Le(),R=K(Ee);{let M=y(()=>({props:t(re),wrapperProps:t(De),...P.snippetProps}));Rn(R,()=>e.child,()=>t(M))}d(Se,Ee)},$e=Se=>{var Ee=Bi();ts(Ee,()=>({...t(De)}));var R=_(Ee);ts(R,()=>({...t(re)}));var M=_(R);Rn(M,()=>e.children??Vn),v(R),v(Ee),d(Se,Ee)};A(Oe,Se=>{e.child?Se(ze):Se($e,-1)})}d(he,oe)};let ae=y(()=>P.root.disableHoverableContent?"none":"auto");yl(ne,Fn(()=>t(V),()=>P.popperProps,{get enabled(){return P.root.opts.open.current},get id(){return s()},trapFocus:!1,loop:!1,preventScroll:!1,forceMount:!0,get ref(){return P.opts.ref},tooltip:!0,get shouldRender(){return P.shouldRender},get contentPointerEvents(){return t(ae)},popper:Y,$$slots:{popper:!0}}))}},le=ne=>{{const Y=(he,ue)=>{let G=()=>(ue?.()).props,F=()=>(ue?.()).wrapperProps;const De=y(()=>es(F(),{style:{pointerEvents:P.root.disableHoverableContent?"none":void 0}})),re=y(()=>es(G(),{style:Oi("tooltip")},{style:e.style}));var oe=Le(),Oe=K(oe);{var ze=Se=>{var Ee=Le(),R=K(Ee);{let M=y(()=>({props:t(re),wrapperProps:t(De),...P.snippetProps}));Rn(R,()=>e.child,()=>t(M))}d(Se,Ee)},$e=Se=>{var Ee=Bi();ts(Ee,()=>({...t(De)}));var R=_(Ee);ts(R,()=>({...t(re)}));var M=_(R);Rn(M,()=>e.children??Vn),v(R),v(Ee),d(Se,Ee)};A(Oe,Se=>{e.child?Se(ze):Se($e,-1)})}d(he,oe)};let ae=y(()=>P.root.disableHoverableContent?"none":"auto");kl(ne,Fn(()=>t(V),()=>P.popperProps,{get open(){return P.root.opts.open.current},get id(){return s()},trapFocus:!1,loop:!1,preventScroll:!1,forceMount:!1,get ref(){return P.opts.ref},tooltip:!0,get shouldRender(){return P.shouldRender},get contentPointerEvents(){return t(ae)},popper:Y,$$slots:{popper:!0}}))}};A(ve,ne=>{L()?ne(H):L()||ne(le,1)})}d(i,J),Ct()}var Jl=new Set(["$$slots","$$events","$$legacy","children","child","id","disabled","payload","tether","type","tabindex","ref"]),ec=m("<button><!></button>");function tc(i,e){const n=ua();jt(e,!0);let s=Z(e,"id",19,()=>ya(n)),r=Z(e,"disabled",3,!1),a=Z(e,"type",3,"button"),l=Z(e,"tabindex",3,0),o=Z(e,"ref",15,null),u=Kn(e,Jl);const g=Qs.create({id:lt(()=>s()),disabled:lt(()=>r()??!1),tabindex:lt(()=>l()??0),payload:lt(()=>e.payload),tether:lt(()=>e.tether),ref:lt(()=>o(),L=>o(L))}),b=y(()=>es(u,g.props,{type:a()}));var k=Le(),S=K(k);{var T=L=>{var E=Le(),P=K(E);Rn(P,()=>e.child,()=>({props:t(b)})),d(L,E)},j=L=>{var E=ec();ts(E,()=>({...t(b)}));var P=_(E);Rn(P,()=>e.children??Vn),v(E),d(L,E)};A(S,L=>{e.child?L(T):L(j,-1)})}d(i,k),Ct()}var nc=new Set(["$$slots","$$events","$$legacy","ref"]);function sc(i,e){jt(e,!0);let n=Z(e,"ref",15,null),s=Kn(e,nc);Vl(i,Fn(()=>s,{get ref(){return n()},set ref(r){n(r)}})),Ct()}function rc(i,e){jt(e,!0);let n=Z(e,"delayDuration",3,700),s=Z(e,"disableCloseOnTriggerClick",3,!1),r=Z(e,"disableHoverableContent",3,!1),a=Z(e,"disabled",3,!1),l=Z(e,"ignoreNonKeyboardFocus",3,!1),o=Z(e,"skipDelayDuration",3,300);qr.create({delayDuration:lt(()=>n()),disableCloseOnTriggerClick:lt(()=>s()),disableHoverableContent:lt(()=>r()),disabled:lt(()=>a()),ignoreNonKeyboardFocus:lt(()=>l()),skipDelayDuration:lt(()=>o())});var u=Le(),g=K(u);Rn(g,()=>e.children??Vn),d(i,u),Ct()}const ic=!1,sv=Object.freeze(Object.defineProperty({__proto__:null,ssr:ic},Symbol.toStringTag,{value:"Module"})),qi=200,Ns=400;class ac extends ka{#n=D(Yt([]));get screen(){return t(this.#n)}set screen(e){p(this.#n,e,!0)}#t=D(Yt([]));get history(){return t(this.#t)}set history(e){p(this.#t,e,!0)}#e=D(0);get historyStart(){return t(this.#e)}set historyStart(e){p(this.#e,e,!0)}#i=D(0);get historySize(){return t(this.#i)}set historySize(e){p(this.#i,e,!0)}#s=D(!1);get alt(){return t(this.#s)}set alt(e){p(this.#s,e,!0)}#r=D(0);get cols(){return t(this.#r)}set cols(e){p(this.#r,e,!0)}#a=D(0);get rows(){return t(this.#a)}set rows(e){p(this.#a,e,!0)}#o=D(!1);get loadingMore(){return t(this.#o)}set loadingMore(e){p(this.#o,e,!0)}#l=D(0);get appended(){return t(this.#l)}set appended(e){p(this.#l,e,!0)}atBottom=!0;target=null;resizeTimer=null;lastSentSize=null;pendingHistory=null;getWsUrl(){const e=window.location.protocol==="https:"?"wss:":"ws:",n=encodeURIComponent(this.target);return`${e}//${window.location.host}/api/sessions/${n}/stream`}getLogPrefix(){return"[terminal]"}shouldReconnect(){return this.target!==null}get historyAtStart(){return this.alt||this.historyStart<=0}get historyEnd(){return this.historyStart+this.history.length}handleMessage(e){let n;try{n=JSON.parse(e.data)}catch{return}switch(n.type){case"screen":this.applyScreen(n);break;case"history":this.applyHistory(n);break;case"reset":this.applyReset(n);break}}applyScreen(e){this.screen=e.lines,this.historySize=e.historySize,this.alt=e.alt,this.cols=e.cols,this.rows=e.rows,e.alt&&this.history.length&&(this.history=[],this.historyStart=e.historySize)}applyReset(e){this.history=[],this.historyStart=e.historySize,this.historySize=e.historySize,this.alt=e.alt,this.cols=e.cols,this.rows=e.rows,this.resolvePending(),!e.alt&&e.historySize>0&&this.requestHistory(e.historySize,qi)}applyHistory(e){const{start:n,lines:s}=e,r=n+s.length;this.historySize=Math.max(this.historySize,e.historySize);const a=this.loadingMore;if(s.length!==0)if(this.history.length===0)this.history=s,this.historyStart=n;else{const l=this.historyStart,o=l+this.history.length;if(n<=o&&r>o){const u=s.slice(o-n);if(this.history.push(...u),this.appended+=u.length,this.atBottom&&this.history.length>Ns){const g=this.history.length-Ns;this.history.splice(0,g),this.historyStart+=g}}else if(r>=l&&n<l){const u=s.slice(0,l-n);this.history.unshift(...u),this.historyStart=n}else n>o&&(this.history=s,this.historyStart=n,this.appended+=s.length)}a&&(this.loadingMore=!1,this.resolvePending())}resolvePending(){const e=this.pendingHistory;this.pendingHistory=null,e?.()}requestHistory(e,n){this.send(JSON.stringify({type:"history_request",before:e,count:n}))}setTarget(e){const n=e??null;if(this.target===n){if(n===null||this.ws)return;this.doConnect();return}this.ws&&(this.target=null,this.doDisconnect()),this.resizeTimer&&(clearTimeout(this.resizeTimer),this.resizeTimer=null),this.lastSentSize=null,this.clearView(),this.target=n,n&&this.doConnect()}clearView(){this.screen=[],this.history=[],this.historyStart=0,this.historySize=0,this.alt=!1,this.loadingMore=!1,this.atBottom=!0,this.appended=0,this.resolvePending()}requestMoreHistory(e=qi){return this.loadingMore||this.historyAtStart||!this.ws||this.ws.readyState!==WebSocket.OPEN?null:(this.loadingMore=!0,this.requestHistory(this.historyStart,e),new Promise(n=>{this.pendingHistory=n}))}trimToBottom(){if(this.history.length>Ns){const e=this.history.length-Ns;this.history.splice(0,e),this.historyStart+=e}}sendResize(e,n){!this.ws||this.ws.readyState!==WebSocket.OPEN||this.lastSentSize?.cols===e&&this.lastSentSize?.rows===n||(this.resizeTimer&&clearTimeout(this.resizeTimer),this.resizeTimer=setTimeout(()=>{this.ws&&this.ws.readyState===WebSocket.OPEN&&(this.ws.send(JSON.stringify({type:"resize",cols:e,rows:n})),this.lastSentSize={cols:e,rows:n}),this.resizeTimer=null},150))}}const Xt=new ac;var Er=function(i,e){return Object.defineProperty?Object.defineProperty(i,"raw",{value:e}):i.raw=e,i},ht;(function(i){i[i.EOS=0]="EOS",i[i.Text=1]="Text",i[i.Incomplete=2]="Incomplete",i[i.ESC=3]="ESC",i[i.Unknown=4]="Unknown",i[i.SGR=5]="SGR",i[i.OSCURL=6]="OSCURL"})(ht||(ht={}));class oc{constructor(){this.VERSION="6.0.6",this.setup_palettes(),this._use_classes=!1,this.bold=!1,this.faint=!1,this.italic=!1,this.underline=!1,this.fg=this.bg=null,this._buffer="",this._url_allowlist={http:1,https:1},this._escape_html=!0,this.boldStyle="font-weight:bold",this.faintStyle="opacity:0.7",this.italicStyle="font-style:italic",this.underlineStyle="text-decoration:underline"}set use_classes(e){this._use_classes=e}get use_classes(){return this._use_classes}set url_allowlist(e){this._url_allowlist=e}get url_allowlist(){return this._url_allowlist}set escape_html(e){this._escape_html=e}get escape_html(){return this._escape_html}set boldStyle(e){this._boldStyle=e}get boldStyle(){return this._boldStyle}set faintStyle(e){this._faintStyle=e}get faintStyle(){return this._faintStyle}set italicStyle(e){this._italicStyle=e}get italicStyle(){return this._italicStyle}set underlineStyle(e){this._underlineStyle=e}get underlineStyle(){return this._underlineStyle}setup_palettes(){this.ansi_colors=[[{rgb:[0,0,0],class_name:"ansi-black"},{rgb:[187,0,0],class_name:"ansi-red"},{rgb:[0,187,0],class_name:"ansi-green"},{rgb:[187,187,0],class_name:"ansi-yellow"},{rgb:[0,0,187],class_name:"ansi-blue"},{rgb:[187,0,187],class_name:"ansi-magenta"},{rgb:[0,187,187],class_name:"ansi-cyan"},{rgb:[255,255,255],class_name:"ansi-white"}],[{rgb:[85,85,85],class_name:"ansi-bright-black"},{rgb:[255,85,85],class_name:"ansi-bright-red"},{rgb:[0,255,0],class_name:"ansi-bright-green"},{rgb:[255,255,85],class_name:"ansi-bright-yellow"},{rgb:[85,85,255],class_name:"ansi-bright-blue"},{rgb:[255,85,255],class_name:"ansi-bright-magenta"},{rgb:[85,255,255],class_name:"ansi-bright-cyan"},{rgb:[255,255,255],class_name:"ansi-bright-white"}]],this.palette_256=[],this.ansi_colors.forEach(s=>{s.forEach(r=>{this.palette_256.push(r)})});let e=[0,95,135,175,215,255];for(let s=0;s<6;++s)for(let r=0;r<6;++r)for(let a=0;a<6;++a){let l={rgb:[e[s],e[r],e[a]],class_name:"truecolor"};this.palette_256.push(l)}let n=8;for(let s=0;s<24;++s,n+=10){let r={rgb:[n,n,n],class_name:"truecolor"};this.palette_256.push(r)}}escape_txt_for_html(e){return this._escape_html?e.replace(/[&<>"']/gm,n=>{if(n==="&")return"&";if(n==="<")return"<";if(n===">")return">";if(n==='"')return""";if(n==="'")return"'"}):e}append_buffer(e){var n=this._buffer+e;this._buffer=n}get_next_packet(){var e={kind:ht.EOS,text:"",url:""},n=this._buffer.length;if(n==0)return e;var s=this._buffer.indexOf("\x1B");if(s==-1)return e.kind=ht.Text,e.text=this._buffer,this._buffer="",e;if(s>0)return e.kind=ht.Text,e.text=this._buffer.slice(0,s),this._buffer=this._buffer.slice(s),e;if(s==0){if(n<3)return e.kind=ht.Incomplete,e;var r=this._buffer.charAt(1);if(r!="["&&r!="]"&&r!="(")return e.kind=ht.ESC,e.text=this._buffer.slice(0,1),this._buffer=this._buffer.slice(1),e;if(r=="["){this._csi_regex||(this._csi_regex=Ni(Hi||(Hi=Er([`
|
|
1
|
+
import{k as _r,c as Le,a as d,f as m,l as Fo,o as Ko,p as ua,t as $t,s as C,d as $n,b as X,e as Un}from"../chunks/BuvGONG-.js";import{h as Bs,c as Ai,ac as Ts,t as w,a as Ii,P as Wo,bj as Go,e as Pi,ae as Vo,at as Xo,be as Qo,bb as Zo,aT as Yo,bk as Jo,bl as el,u as Tt,O as Ks,p as jt,f as K,g as Ct,j as t,m as _,n as v,aa as y,y as Vn,k as p,l as D,v as Yt,q as h,o as O,ab as Qe,bi as da,a9 as os,a8 as yr,bh as tl,a7 as Di,bm as nl,$ as sl,bn as rl}from"../chunks/RhyL4cOo.js";import{p as Z,i as A,r as Kn,c as Fn,b as En,s as il,a as al}from"../chunks/ukOf9Kzz.js";import{j as ts,d as pt,e as st,s as Q,b as W,a as un,k as Gs,c as ha,r as pa,i as ol,l as ll,m as cl,h as ul}from"../chunks/BpsTpPGB.js";import{c as Ye}from"../chunks/CjMoR7Dp.js";import{u as va,a as Rn,m as es,a5 as dl,e as lt,o as hl,C as fa,a6 as pl,w as ls,f as ga,D as vl,g as ma,a7 as ba,a8 as fl,a9 as _a,aa as gl,ab as ml,h as bl,ac as Vs,ad as _l,l as ya,ae as yl,af as kl,ag as Oi,R as ka,$ as ys,ah as As,Z as Gn,s as Es,c as xa,B as cs,z as Li,_ as Xs,a0 as Pr,ai as xl,r as Mi,aj as wl,F as Sl,v as Tl,x as jl,y as Cl,E as wa,N as El,b as kr,I as xr,S as wr,a3 as zi,J as Rl,q as Sr,P as Tr,n as jr,Y as Al,O as Il,Q as Pl,T as Dl,U as Ol,V as Ll,W as Ml,X as zl,p as $l}from"../chunks/BPG41LQc.js";import{g as Dr}from"../chunks/Iym5fv6V.js";import{u as Cr,p as Bl,d as $i}from"../chunks/ZzVAGtsj.js";import{e as Ws,T as ql,c as qs,S as Nl,a as Hl,f as Sa}from"../chunks/DRBq3mUM.js";function Rs(i,e,n=!1,s=!1,r=!1,a=!1){var l=i,o="";if(n){var u=i;Bs&&(l=Ai(Ts(u)))}w(()=>{var g=Wo;if(o===(o=e()??"")){Bs&&Ii();return}if(n&&!Bs){g.nodes=null,u.innerHTML=o,o!==""&&_r(Ts(u),u.lastChild);return}if(g.nodes!==null&&(Go(g.nodes.start,g.nodes.end),g.nodes=null),o!==""){if(Bs){Pi.data;for(var b=Ii(),k=b;b!==null&&(b.nodeType!==Vo||b.data!=="");)k=b,b=Xo(b);if(b===null)throw Qo(),Zo;_r(Pi,k),l=Ai(b);return}var S=s?Jo:r?el:void 0,T=Yo(s?"svg":r?"math":"template",S);T.innerHTML=o;var j=s||r?T:T.content;if(_r(Ts(j),j.lastChild),s||r)for(;Ts(j);)l.before(Ts(j));else l.before(j)}})}function $r(i){Tt(()=>Ks(()=>i()))}var Ul=new Set(["$$slots","$$events","$$legacy","id","children","child","width","height"]),Fl=Fo('<svg viewBox="0 0 30 10" preserveAspectRatio="none" data-arrow=""><polygon points="0,0 30,0 15,10" fill="currentColor"></polygon></svg>'),Kl=m("<span><!></span>");function Wl(i,e){jt(e,!0);let n=Z(e,"id",19,va),s=Z(e,"width",3,10),r=Z(e,"height",3,5),a=Kn(e,Ul);const l=y(()=>es(a,{id:n()}));var o=Le(),u=K(o);{var g=k=>{var S=Le(),T=K(S);Rn(T,()=>e.child,()=>({props:t(l)})),d(k,S)},b=k=>{var S=Kl();ts(S,()=>({...t(l)}));var T=_(S);{var j=E=>{var P=Le(),B=K(P);Rn(B,()=>e.children??Vn),d(E,P)},L=E=>{var P=Fl();w(()=>{pt(P,"width",s()),pt(P,"height",r())}),d(E,P)};A(T,E=>{e.children?E(j):E(L,-1)})}v(S),d(k,S)};A(u,k=>{e.child?k(g):k(b,-1)})}d(i,o),Ct()}var Gl=new Set(["$$slots","$$events","$$legacy","id","ref"]);function Vl(i,e){jt(e,!0);let n=Z(e,"id",19,va),s=Z(e,"ref",15,null),r=Kn(e,Gl);const a=dl.create({id:lt(()=>n()),ref:lt(()=>s(),o=>s(o))}),l=y(()=>es(r,a.props));Wl(i,Fn(()=>t(l))),Ct()}class Or{#n;#t;#e=null;constructor(e,n){this.#t=e,this.#n=n,this.stop=this.stop.bind(this),this.start=this.start.bind(this),hl(this.stop)}#i(){this.#e!==null&&(window.clearTimeout(this.#e),this.#e=null)}stop(){this.#i()}start(...e){this.#i(),this.#e=window.setTimeout(()=>{this.#e=null,this.#t(...e)},this.#n)}}const Ta=bl({component:"tooltip",parts:["content","trigger"]}),ja=new fa("Tooltip.Provider"),Br=new fa("Tooltip.Root");class Xl{#n=D(Yt(new Map));get triggers(){return t(this.#n)}set triggers(e){p(this.#n,e,!0)}#t=D(null);get activeTriggerId(){return t(this.#t)}set activeTriggerId(e){p(this.#t,e,!0)}#e=y(()=>{const e=this.activeTriggerId;return e===null?null:this.triggers.get(e)?.node??null});get activeTriggerNode(){return t(this.#e)}set activeTriggerNode(e){p(this.#e,e)}#i=y(()=>{const e=this.activeTriggerId;return e===null?null:this.triggers.get(e)?.payload??null});get activePayload(){return t(this.#i)}set activePayload(e){p(this.#i,e)}register=e=>{const n=new Map(this.triggers);n.set(e.id,e),this.triggers=n,this.#s()};update=e=>{const n=new Map(this.triggers);n.set(e.id,e),this.triggers=n,this.#s()};unregister=e=>{if(!this.triggers.has(e))return;const n=new Map(this.triggers);n.delete(e),this.triggers=n,this.activeTriggerId===e&&(this.activeTriggerId=null)};setActiveTrigger=e=>{if(e===null){this.activeTriggerId=null;return}if(!this.triggers.has(e)){this.activeTriggerId=null;return}this.activeTriggerId=e};get=e=>this.triggers.get(e);has=e=>this.triggers.has(e);getFirstTriggerId=()=>{const e=this.triggers.entries().next();return e.done?null:e.value[0]};#s=()=>{const e=this.activeTriggerId;e!==null&&(this.triggers.has(e)||(this.activeTriggerId=null))}}class qr{static create(e){return ja.set(new qr(e))}opts;#n=D(!0);get isOpenDelayed(){return t(this.#n)}set isOpenDelayed(e){p(this.#n,e,!0)}isPointerInTransit=ga(!1);#t;#e=D(null);constructor(e){this.opts=e,this.#t=new Or(()=>{this.isOpenDelayed=!0},this.opts.skipDelayDuration.current),$r(()=>Ko(window,"scroll",n=>{const s=t(this.#e);if(!s)return;const r=s.triggerNode;if(!r)return;const a=n.target;(a instanceof Element||a instanceof Document)&&a.contains(r)&&s.handleClose()}))}#i=()=>{if(this.opts.skipDelayDuration.current===0){this.isOpenDelayed=!0;return}else this.#t.start()};#s=()=>{this.#t.stop()};onOpen=e=>{t(this.#e)&&t(this.#e)!==e&&t(this.#e).handleClose(),this.#s(),this.isOpenDelayed=!1,p(this.#e,e,!0)};onClose=e=>{t(this.#e)===e&&(p(this.#e,null),this.#i())};isTooltipOpen=e=>t(this.#e)===e}class Nr{static create(e){return Br.set(new Nr(e,ja.get()))}opts;provider;#n=y(()=>this.opts.delayDuration.current??this.provider.opts.delayDuration.current);get delayDuration(){return t(this.#n)}set delayDuration(e){p(this.#n,e)}#t=y(()=>this.opts.disableHoverableContent.current??this.provider.opts.disableHoverableContent.current);get disableHoverableContent(){return t(this.#t)}set disableHoverableContent(e){p(this.#t,e)}#e=y(()=>this.opts.disableCloseOnTriggerClick.current??this.provider.opts.disableCloseOnTriggerClick.current);get disableCloseOnTriggerClick(){return t(this.#e)}set disableCloseOnTriggerClick(e){p(this.#e,e)}#i=y(()=>this.opts.disabled.current??this.provider.opts.disabled.current);get disabled(){return t(this.#i)}set disabled(e){p(this.#i,e)}#s=y(()=>this.opts.ignoreNonKeyboardFocus.current??this.provider.opts.ignoreNonKeyboardFocus.current);get ignoreNonKeyboardFocus(){return t(this.#s)}set ignoreNonKeyboardFocus(e){p(this.#s,e)}registry;tether;#r=D(null);get contentNode(){return t(this.#r)}set contentNode(e){p(this.#r,e,!0)}contentPresence;#a=D(!1);#o;#l=y(()=>this.opts.open.current?t(this.#a)?"delayed-open":"instant-open":"closed");get stateAttr(){return t(this.#l)}set stateAttr(e){p(this.#l,e)}constructor(e,n){this.opts=e,this.provider=n,this.tether=e.tether.current?.state??null,this.registry=this.tether?.registry??new Xl,this.#o=new Or(()=>{p(this.#a,!0),this.opts.open.current=!0},this.delayDuration??0),this.tether&&(this.tether.root=this,$r(()=>()=>{this.tether?.root===this&&(this.tether.root=null)})),this.contentPresence=new pl({open:this.opts.open,ref:lt(()=>this.contentNode),onComplete:()=>{this.opts.onOpenChangeComplete.current(this.opts.open.current)}}),ls(()=>this.delayDuration,()=>{this.delayDuration!==void 0&&(this.#o=new Or(()=>{p(this.#a,!0),this.opts.open.current=!0},this.delayDuration))}),ls(()=>this.opts.open.current,s=>{s?(this.ensureActiveTrigger(),this.provider.onOpen(this)):this.provider.onClose(this)},{lazy:!0}),ls(()=>this.opts.triggerId.current,s=>{s!==this.registry.activeTriggerId&&this.registry.setActiveTrigger(s)}),ls(()=>this.registry.activeTriggerId,s=>{this.opts.triggerId.current!==s&&(this.opts.triggerId.current=s)})}handleOpen=()=>{this.#o.stop(),p(this.#a,!1),this.ensureActiveTrigger(),this.opts.open.current=!0};handleClose=()=>{this.#o.stop(),this.opts.open.current=!1};cancelPendingOpen=()=>{this.#o.stop()};#c=()=>{this.#o.stop();const e=!this.provider.isOpenDelayed,n=this.delayDuration??0;e||n===0?(p(this.#a,!1),this.opts.open.current=!0):this.#o.start()};onTriggerEnter=e=>{this.setActiveTrigger(e),this.#c()};onTriggerLeave=()=>{this.disableHoverableContent?this.handleClose():this.#o.stop()};ensureActiveTrigger=()=>{if(this.registry.activeTriggerId!==null&&this.registry.has(this.registry.activeTriggerId))return;if(this.opts.triggerId.current!==null&&this.registry.has(this.opts.triggerId.current)){this.registry.setActiveTrigger(this.opts.triggerId.current);return}const e=this.registry.getFirstTriggerId();this.registry.setActiveTrigger(e)};setActiveTrigger=e=>{this.registry.setActiveTrigger(e)};registerTrigger=e=>{this.registry.register(e),e.disabled&&this.registry.activeTriggerId===e.id&&this.opts.open.current&&this.handleClose()};updateTrigger=e=>{this.registry.update(e),e.disabled&&this.registry.activeTriggerId===e.id&&this.opts.open.current&&this.handleClose()};unregisterTrigger=e=>{const n=this.registry.activeTriggerId===e;this.registry.unregister(e),n&&this.opts.open.current&&this.handleClose()};isActiveTrigger=e=>this.registry.activeTriggerId===e;get triggerNode(){return this.registry.activeTriggerNode}get activePayload(){return this.registry.activePayload}get activeTriggerId(){return this.registry.activeTriggerId}}class Qs{static create(e){return e.tether.current?new Qs(e,null,e.tether.current.state):new Qs(e,Br.get(),null)}opts;root;tether;attachment;#n=ga(!1);#t=D(!1);domContext;#e=null;#i=!1;#s=null;constructor(e,n,s){this.opts=e,this.root=n,this.tether=s,this.domContext=new vl(e.ref),this.attachment=ma(this.opts.ref,r=>this.#o(r)),ls(()=>this.opts.id.current,()=>{this.#o(this.opts.ref.current)}),ls(()=>this.opts.payload.current,()=>{this.#o(this.opts.ref.current)}),ls(()=>this.opts.disabled.current,()=>{this.#o(this.opts.ref.current)}),$r(()=>(this.#i=!0,this.#o(this.opts.ref.current),()=>{const r=this.#r(),a=this.#s;a&&(this.tether?this.tether.registry.unregister(a):r?.unregisterTrigger(a)),this.#s=null,this.#i=!1}))}#r=()=>this.tether?.root??this.root;#a=()=>{const e=this.#r();return this.opts.disabled.current||!!e?.disabled};#o=e=>{if(!this.#i)return;const n=this.opts.id.current,s=this.opts.payload.current,r=this.opts.disabled.current;if(this.#s&&this.#s!==n){const o=this.#r();this.tether?this.tether.registry.unregister(this.#s):o?.unregisterTrigger(this.#s)}const a={id:n,node:e,payload:s,disabled:r},l=this.#r();this.tether?(this.tether.registry.has(n)?this.tether.registry.update(a):this.tether.registry.register(a),r&&this.tether.registry.activeTriggerId===n&&l?.opts.open.current&&l.handleClose()):l?.registry.has(n)?l.updateTrigger(a):l?.registerTrigger(a),this.#s=n};#l=()=>{this.#e!==null&&(clearTimeout(this.#e),this.#e=null)};handlePointerUp=()=>{this.#n.current=!1};#c=()=>{this.#a()||(this.#n.current=!1)};#d=()=>{if(this.#a())return;const e=this.#r();e&&!e.disableCloseOnTriggerClick&&(e.opts.open.current?e.handleClose():e.cancelPendingOpen()),this.#n.current=!0,this.domContext.getDocument().addEventListener("pointerup",()=>{this.handlePointerUp()},{once:!0})};#h=e=>{const n=this.#r();if(n){if(this.#a()){n.opts.open.current&&n.handleClose();return}if(e.pointerType!=="touch"){if(n.provider.isPointerInTransit.current){this.#l(),this.#e=window.setTimeout(()=>{n.provider.isPointerInTransit.current&&(n.provider.isPointerInTransit.current=!1,n.onTriggerEnter(this.opts.id.current),p(this.#t,!0))},250);return}n.onTriggerEnter(this.opts.id.current),p(this.#t,!0)}}};#p=e=>{const n=this.#r();if(n){if(this.#a()){n.opts.open.current&&n.handleClose();return}e.pointerType!=="touch"&&(t(this.#t)||(this.#l(),n.provider.isPointerInTransit.current=!1,n.onTriggerEnter(this.opts.id.current),p(this.#t,!0)))}};#v=e=>{const n=this.#r();if(!n||this.#a())return;if(this.#l(),!n.isActiveTrigger(this.opts.id.current)){p(this.#t,!1);return}const s=e.relatedTarget;if(ba(s)){for(const r of n.registry.triggers.values())if(r.node===s){if(n.provider.opts.skipDelayDuration.current>0){p(this.#t,!1);return}n.handleClose(),p(this.#t,!1);return}}n.onTriggerLeave(),p(this.#t,!1)};#f=e=>{const n=this.#r();if(n&&!this.#n.current){if(this.#a()){n.opts.open.current&&n.handleClose();return}n.ignoreNonKeyboardFocus&&!fl(e.currentTarget)||(n.setActiveTrigger(this.opts.id.current),n.handleOpen())}};#g=()=>{const e=this.#r();!e||this.#a()||e.handleClose()};#m=()=>{const e=this.#r();!e||e.disableCloseOnTriggerClick||this.#a()||e.handleClose()};#u=y(()=>{const e=this.#r(),n=!!(e?.opts.open.current&&e.isActiveTrigger(this.opts.id.current)),s=this.#a();return{id:this.opts.id.current,"aria-describedby":n?e?.contentNode?.id:void 0,"data-state":n?e?.stateAttr:"closed","data-disabled":_a(s),"data-delay-duration":`${e?.delayDuration??0}`,[Ta.trigger]:"",tabindex:s?void 0:this.opts.tabindex.current,disabled:this.opts.disabled.current,onpointerup:this.#c,onpointerdown:this.#d,onpointerenter:this.#h,onpointermove:this.#p,onpointerleave:this.#v,onfocus:this.#f,onblur:this.#g,onclick:this.#m,...this.attachment}});get props(){return t(this.#u)}set props(e){p(this.#u,e)}}class Hr{static create(e){return new Hr(e,Br.get())}opts;root;attachment;constructor(e,n){this.opts=e,this.root=n,this.attachment=ma(this.opts.ref,s=>this.root.contentNode=s),new gl({triggerNode:()=>this.root.triggerNode,contentNode:()=>this.root.contentNode,enabled:()=>this.root.opts.open.current&&!this.root.disableHoverableContent,transitIntentTimeout:180,ignoredTargets:()=>{if(this.root.provider.opts.skipDelayDuration.current===0)return[];const s=[],r=this.root.triggerNode;for(const a of this.root.registry.triggers.values())a.node&&a.node!==r&&s.push(a.node);return s},onPointerExit:()=>{this.root.provider.isTooltipOpen(this.root)&&this.root.handleClose()}})}onInteractOutside=e=>{if(ba(e.target)&&this.root.triggerNode?.contains(e.target)&&this.root.disableCloseOnTriggerClick){e.preventDefault();return}this.opts.onInteractOutside.current(e),!e.defaultPrevented&&this.root.handleClose()};onEscapeKeydown=e=>{this.opts.onEscapeKeydown.current?.(e),!e.defaultPrevented&&this.root.handleClose()};onOpenAutoFocus=e=>{e.preventDefault()};onCloseAutoFocus=e=>{e.preventDefault()};get shouldRender(){return this.root.contentPresence.shouldRender}#n=y(()=>({open:this.root.opts.open.current}));get snippetProps(){return t(this.#n)}set snippetProps(e){p(this.#n,e)}#t=y(()=>({id:this.opts.id.current,"data-state":this.root.stateAttr,"data-disabled":_a(this.root.disabled),...ml(this.root.contentPresence.transitionStatus),style:{outline:"none"},[Ta.content]:"",...this.attachment}));get props(){return t(this.#t)}set props(e){p(this.#t,e)}popperProps={onInteractOutside:this.onInteractOutside,onEscapeKeydown:this.onEscapeKeydown,onOpenAutoFocus:this.onOpenAutoFocus,onCloseAutoFocus:this.onCloseAutoFocus}}function Ql(i,e){jt(e,!0);let n=Z(e,"open",15,!1),s=Z(e,"triggerId",15,null),r=Z(e,"onOpenChange",3,Vs),a=Z(e,"onOpenChangeComplete",3,Vs);const l=Nr.create({open:lt(()=>n(),o=>{n(o),r()(o)}),triggerId:lt(()=>s(),o=>{s(o)}),delayDuration:lt(()=>e.delayDuration),disableCloseOnTriggerClick:lt(()=>e.disableCloseOnTriggerClick),disableHoverableContent:lt(()=>e.disableHoverableContent),ignoreNonKeyboardFocus:lt(()=>e.ignoreNonKeyboardFocus),disabled:lt(()=>e.disabled),onOpenChangeComplete:lt(()=>a()),tether:lt(()=>e.tether)});_l(i,{tooltip:!0,children:(o,u)=>{var g=Le(),b=K(g);Rn(b,()=>e.children??Vn,()=>({open:l.opts.open.current,triggerId:l.activeTriggerId,payload:l.activePayload})),d(o,g)},$$slots:{default:!0}}),Ct()}var Zl=new Set(["$$slots","$$events","$$legacy","children","child","id","ref","side","sideOffset","align","avoidCollisions","arrowPadding","sticky","strategy","hideWhenDetached","customAnchor","collisionPadding","onInteractOutside","onEscapeKeydown","forceMount","style"]),Bi=m("<div><div><!></div></div>");function Yl(i,e){const n=ua();jt(e,!0);let s=Z(e,"id",19,()=>ya(n)),r=Z(e,"ref",15,null),a=Z(e,"side",3,"top"),l=Z(e,"sideOffset",3,0),o=Z(e,"align",3,"center"),u=Z(e,"avoidCollisions",3,!0),g=Z(e,"arrowPadding",3,0),b=Z(e,"sticky",3,"partial"),k=Z(e,"hideWhenDetached",3,!1),S=Z(e,"collisionPadding",3,0),T=Z(e,"onInteractOutside",3,Vs),j=Z(e,"onEscapeKeydown",3,Vs),L=Z(e,"forceMount",3,!1),E=Kn(e,Zl);const P=Hr.create({id:lt(()=>s()),ref:lt(()=>r(),ne=>r(ne)),onInteractOutside:lt(()=>T()),onEscapeKeydown:lt(()=>j())}),B=y(()=>({side:a(),sideOffset:l(),align:o(),avoidCollisions:u(),arrowPadding:g(),sticky:b(),hideWhenDetached:k(),collisionPadding:S(),strategy:e.strategy,customAnchor:e.customAnchor??P.root.triggerNode})),V=y(()=>es(E,t(B),P.props));var J=Le(),ve=K(J);{var H=ne=>{{const Y=(he,ue)=>{let G=()=>(ue?.()).props,F=()=>(ue?.()).wrapperProps;const De=y(()=>es(F(),{style:{pointerEvents:P.root.disableHoverableContent?"none":void 0}})),re=y(()=>es(G(),{style:Oi("tooltip")},{style:e.style}));var oe=Le(),Oe=K(oe);{var ze=Se=>{var Ee=Le(),R=K(Ee);{let M=y(()=>({props:t(re),wrapperProps:t(De),...P.snippetProps}));Rn(R,()=>e.child,()=>t(M))}d(Se,Ee)},$e=Se=>{var Ee=Bi();ts(Ee,()=>({...t(De)}));var R=_(Ee);ts(R,()=>({...t(re)}));var M=_(R);Rn(M,()=>e.children??Vn),v(R),v(Ee),d(Se,Ee)};A(Oe,Se=>{e.child?Se(ze):Se($e,-1)})}d(he,oe)};let ae=y(()=>P.root.disableHoverableContent?"none":"auto");yl(ne,Fn(()=>t(V),()=>P.popperProps,{get enabled(){return P.root.opts.open.current},get id(){return s()},trapFocus:!1,loop:!1,preventScroll:!1,forceMount:!0,get ref(){return P.opts.ref},tooltip:!0,get shouldRender(){return P.shouldRender},get contentPointerEvents(){return t(ae)},popper:Y,$$slots:{popper:!0}}))}},le=ne=>{{const Y=(he,ue)=>{let G=()=>(ue?.()).props,F=()=>(ue?.()).wrapperProps;const De=y(()=>es(F(),{style:{pointerEvents:P.root.disableHoverableContent?"none":void 0}})),re=y(()=>es(G(),{style:Oi("tooltip")},{style:e.style}));var oe=Le(),Oe=K(oe);{var ze=Se=>{var Ee=Le(),R=K(Ee);{let M=y(()=>({props:t(re),wrapperProps:t(De),...P.snippetProps}));Rn(R,()=>e.child,()=>t(M))}d(Se,Ee)},$e=Se=>{var Ee=Bi();ts(Ee,()=>({...t(De)}));var R=_(Ee);ts(R,()=>({...t(re)}));var M=_(R);Rn(M,()=>e.children??Vn),v(R),v(Ee),d(Se,Ee)};A(Oe,Se=>{e.child?Se(ze):Se($e,-1)})}d(he,oe)};let ae=y(()=>P.root.disableHoverableContent?"none":"auto");kl(ne,Fn(()=>t(V),()=>P.popperProps,{get open(){return P.root.opts.open.current},get id(){return s()},trapFocus:!1,loop:!1,preventScroll:!1,forceMount:!1,get ref(){return P.opts.ref},tooltip:!0,get shouldRender(){return P.shouldRender},get contentPointerEvents(){return t(ae)},popper:Y,$$slots:{popper:!0}}))}};A(ve,ne=>{L()?ne(H):L()||ne(le,1)})}d(i,J),Ct()}var Jl=new Set(["$$slots","$$events","$$legacy","children","child","id","disabled","payload","tether","type","tabindex","ref"]),ec=m("<button><!></button>");function tc(i,e){const n=ua();jt(e,!0);let s=Z(e,"id",19,()=>ya(n)),r=Z(e,"disabled",3,!1),a=Z(e,"type",3,"button"),l=Z(e,"tabindex",3,0),o=Z(e,"ref",15,null),u=Kn(e,Jl);const g=Qs.create({id:lt(()=>s()),disabled:lt(()=>r()??!1),tabindex:lt(()=>l()??0),payload:lt(()=>e.payload),tether:lt(()=>e.tether),ref:lt(()=>o(),L=>o(L))}),b=y(()=>es(u,g.props,{type:a()}));var k=Le(),S=K(k);{var T=L=>{var E=Le(),P=K(E);Rn(P,()=>e.child,()=>({props:t(b)})),d(L,E)},j=L=>{var E=ec();ts(E,()=>({...t(b)}));var P=_(E);Rn(P,()=>e.children??Vn),v(E),d(L,E)};A(S,L=>{e.child?L(T):L(j,-1)})}d(i,k),Ct()}var nc=new Set(["$$slots","$$events","$$legacy","ref"]);function sc(i,e){jt(e,!0);let n=Z(e,"ref",15,null),s=Kn(e,nc);Vl(i,Fn(()=>s,{get ref(){return n()},set ref(r){n(r)}})),Ct()}function rc(i,e){jt(e,!0);let n=Z(e,"delayDuration",3,700),s=Z(e,"disableCloseOnTriggerClick",3,!1),r=Z(e,"disableHoverableContent",3,!1),a=Z(e,"disabled",3,!1),l=Z(e,"ignoreNonKeyboardFocus",3,!1),o=Z(e,"skipDelayDuration",3,300);qr.create({delayDuration:lt(()=>n()),disableCloseOnTriggerClick:lt(()=>s()),disableHoverableContent:lt(()=>r()),disabled:lt(()=>a()),ignoreNonKeyboardFocus:lt(()=>l()),skipDelayDuration:lt(()=>o())});var u=Le(),g=K(u);Rn(g,()=>e.children??Vn),d(i,u),Ct()}const ic=!1,sv=Object.freeze(Object.defineProperty({__proto__:null,ssr:ic},Symbol.toStringTag,{value:"Module"})),qi=200,Ns=400;class ac extends ka{#n=D(Yt([]));get screen(){return t(this.#n)}set screen(e){p(this.#n,e,!0)}#t=D(Yt([]));get history(){return t(this.#t)}set history(e){p(this.#t,e,!0)}#e=D(0);get historyStart(){return t(this.#e)}set historyStart(e){p(this.#e,e,!0)}#i=D(0);get historySize(){return t(this.#i)}set historySize(e){p(this.#i,e,!0)}#s=D(!1);get alt(){return t(this.#s)}set alt(e){p(this.#s,e,!0)}#r=D(0);get cols(){return t(this.#r)}set cols(e){p(this.#r,e,!0)}#a=D(0);get rows(){return t(this.#a)}set rows(e){p(this.#a,e,!0)}#o=D(!1);get loadingMore(){return t(this.#o)}set loadingMore(e){p(this.#o,e,!0)}#l=D(0);get appended(){return t(this.#l)}set appended(e){p(this.#l,e,!0)}atBottom=!0;target=null;resizeTimer=null;lastSentSize=null;pendingHistory=null;getWsUrl(){const e=window.location.protocol==="https:"?"wss:":"ws:",n=encodeURIComponent(this.target);return`${e}//${window.location.host}/api/sessions/${n}/stream`}getLogPrefix(){return"[terminal]"}shouldReconnect(){return this.target!==null}get historyAtStart(){return this.alt||this.historyStart<=0}get historyEnd(){return this.historyStart+this.history.length}handleMessage(e){let n;try{n=JSON.parse(e.data)}catch{return}switch(n.type){case"screen":this.applyScreen(n);break;case"history":this.applyHistory(n);break;case"reset":this.applyReset(n);break}}applyScreen(e){this.screen=e.lines,this.historySize=e.historySize,this.alt=e.alt,this.cols=e.cols,this.rows=e.rows,e.alt&&this.history.length&&(this.history=[],this.historyStart=e.historySize)}applyReset(e){this.history=[],this.historyStart=e.historySize,this.historySize=e.historySize,this.alt=e.alt,this.cols=e.cols,this.rows=e.rows,this.resolvePending(),!e.alt&&e.historySize>0&&this.requestHistory(e.historySize,qi)}applyHistory(e){const{start:n,lines:s}=e,r=n+s.length;this.historySize=Math.max(this.historySize,e.historySize);const a=this.loadingMore;if(s.length!==0)if(this.history.length===0)this.history=s,this.historyStart=n;else{const l=this.historyStart,o=l+this.history.length;if(n<=o&&r>o){const u=s.slice(o-n);if(this.history.push(...u),this.appended+=u.length,this.atBottom&&this.history.length>Ns){const g=this.history.length-Ns;this.history.splice(0,g),this.historyStart+=g}}else if(r>=l&&n<l){const u=s.slice(0,l-n);this.history.unshift(...u),this.historyStart=n}else n>o&&(this.history=s,this.historyStart=n,this.appended+=s.length)}a&&(this.loadingMore=!1,this.resolvePending())}resolvePending(){const e=this.pendingHistory;this.pendingHistory=null,e?.()}requestHistory(e,n){this.send(JSON.stringify({type:"history_request",before:e,count:n}))}setTarget(e){const n=e??null;if(this.target===n){if(n===null||this.ws)return;this.doConnect();return}this.ws&&(this.target=null,this.doDisconnect()),this.resizeTimer&&(clearTimeout(this.resizeTimer),this.resizeTimer=null),this.lastSentSize=null,this.clearView(),this.target=n,n&&this.doConnect()}clearView(){this.screen=[],this.history=[],this.historyStart=0,this.historySize=0,this.alt=!1,this.loadingMore=!1,this.atBottom=!0,this.appended=0,this.resolvePending()}requestMoreHistory(e=qi){return this.loadingMore||this.historyAtStart||!this.ws||this.ws.readyState!==WebSocket.OPEN?null:(this.loadingMore=!0,this.requestHistory(this.historyStart,e),new Promise(n=>{this.pendingHistory=n}))}trimToBottom(){if(this.history.length>Ns){const e=this.history.length-Ns;this.history.splice(0,e),this.historyStart+=e}}sendResize(e,n){!this.ws||this.ws.readyState!==WebSocket.OPEN||this.lastSentSize?.cols===e&&this.lastSentSize?.rows===n||(this.resizeTimer&&clearTimeout(this.resizeTimer),this.resizeTimer=setTimeout(()=>{this.ws&&this.ws.readyState===WebSocket.OPEN&&(this.ws.send(JSON.stringify({type:"resize",cols:e,rows:n})),this.lastSentSize={cols:e,rows:n}),this.resizeTimer=null},150))}}const Xt=new ac;var Er=function(i,e){return Object.defineProperty?Object.defineProperty(i,"raw",{value:e}):i.raw=e,i},ht;(function(i){i[i.EOS=0]="EOS",i[i.Text=1]="Text",i[i.Incomplete=2]="Incomplete",i[i.ESC=3]="ESC",i[i.Unknown=4]="Unknown",i[i.SGR=5]="SGR",i[i.OSCURL=6]="OSCURL"})(ht||(ht={}));class oc{constructor(){this.VERSION="6.0.6",this.setup_palettes(),this._use_classes=!1,this.bold=!1,this.faint=!1,this.italic=!1,this.underline=!1,this.fg=this.bg=null,this._buffer="",this._url_allowlist={http:1,https:1},this._escape_html=!0,this.boldStyle="font-weight:bold",this.faintStyle="opacity:0.7",this.italicStyle="font-style:italic",this.underlineStyle="text-decoration:underline"}set use_classes(e){this._use_classes=e}get use_classes(){return this._use_classes}set url_allowlist(e){this._url_allowlist=e}get url_allowlist(){return this._url_allowlist}set escape_html(e){this._escape_html=e}get escape_html(){return this._escape_html}set boldStyle(e){this._boldStyle=e}get boldStyle(){return this._boldStyle}set faintStyle(e){this._faintStyle=e}get faintStyle(){return this._faintStyle}set italicStyle(e){this._italicStyle=e}get italicStyle(){return this._italicStyle}set underlineStyle(e){this._underlineStyle=e}get underlineStyle(){return this._underlineStyle}setup_palettes(){this.ansi_colors=[[{rgb:[0,0,0],class_name:"ansi-black"},{rgb:[187,0,0],class_name:"ansi-red"},{rgb:[0,187,0],class_name:"ansi-green"},{rgb:[187,187,0],class_name:"ansi-yellow"},{rgb:[0,0,187],class_name:"ansi-blue"},{rgb:[187,0,187],class_name:"ansi-magenta"},{rgb:[0,187,187],class_name:"ansi-cyan"},{rgb:[255,255,255],class_name:"ansi-white"}],[{rgb:[85,85,85],class_name:"ansi-bright-black"},{rgb:[255,85,85],class_name:"ansi-bright-red"},{rgb:[0,255,0],class_name:"ansi-bright-green"},{rgb:[255,255,85],class_name:"ansi-bright-yellow"},{rgb:[85,85,255],class_name:"ansi-bright-blue"},{rgb:[255,85,255],class_name:"ansi-bright-magenta"},{rgb:[85,255,255],class_name:"ansi-bright-cyan"},{rgb:[255,255,255],class_name:"ansi-bright-white"}]],this.palette_256=[],this.ansi_colors.forEach(s=>{s.forEach(r=>{this.palette_256.push(r)})});let e=[0,95,135,175,215,255];for(let s=0;s<6;++s)for(let r=0;r<6;++r)for(let a=0;a<6;++a){let l={rgb:[e[s],e[r],e[a]],class_name:"truecolor"};this.palette_256.push(l)}let n=8;for(let s=0;s<24;++s,n+=10){let r={rgb:[n,n,n],class_name:"truecolor"};this.palette_256.push(r)}}escape_txt_for_html(e){return this._escape_html?e.replace(/[&<>"']/gm,n=>{if(n==="&")return"&";if(n==="<")return"<";if(n===">")return">";if(n==='"')return""";if(n==="'")return"'"}):e}append_buffer(e){var n=this._buffer+e;this._buffer=n}get_next_packet(){var e={kind:ht.EOS,text:"",url:""},n=this._buffer.length;if(n==0)return e;var s=this._buffer.indexOf("\x1B");if(s==-1)return e.kind=ht.Text,e.text=this._buffer,this._buffer="",e;if(s>0)return e.kind=ht.Text,e.text=this._buffer.slice(0,s),this._buffer=this._buffer.slice(s),e;if(s==0){if(n<3)return e.kind=ht.Incomplete,e;var r=this._buffer.charAt(1);if(r!="["&&r!="]"&&r!="(")return e.kind=ht.ESC,e.text=this._buffer.slice(0,1),this._buffer=this._buffer.slice(1),e;if(r=="["){this._csi_regex||(this._csi_regex=Ni(Hi||(Hi=Er([`
|
|
2
2
|
^ # beginning of line
|
|
3
3
|
#
|
|
4
4
|
# First attempt
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"
|
|
1
|
+
{"version":"1788455068867"}
|
|
@@ -20,29 +20,29 @@ const load = () => {
|
|
|
20
20
|
//#region .svelte-kit/adapter-bun/nodes/0.js
|
|
21
21
|
const index = 0;
|
|
22
22
|
let component_cache;
|
|
23
|
-
const component = async () => component_cache ??= (await import("./_layout.svelte-
|
|
23
|
+
const component = async () => component_cache ??= (await import("./_layout.svelte-B22DMQF4.js")).default;
|
|
24
24
|
const server_id = "src/routes/+layout.server.ts";
|
|
25
25
|
const imports = [
|
|
26
|
-
"_app/immutable/nodes/0.
|
|
26
|
+
"_app/immutable/nodes/0.DX7LpCH-.js",
|
|
27
27
|
"_app/immutable/chunks/BuvGONG-.js",
|
|
28
28
|
"_app/immutable/chunks/RhyL4cOo.js",
|
|
29
29
|
"_app/immutable/chunks/ukOf9Kzz.js",
|
|
30
|
-
"_app/immutable/chunks/
|
|
31
|
-
"_app/immutable/chunks/
|
|
32
|
-
"_app/immutable/chunks/
|
|
30
|
+
"_app/immutable/chunks/BPG41LQc.js",
|
|
31
|
+
"_app/immutable/chunks/Iym5fv6V.js",
|
|
32
|
+
"_app/immutable/chunks/DvtCSRbx.js",
|
|
33
33
|
"_app/immutable/chunks/BpsTpPGB.js",
|
|
34
34
|
"_app/immutable/chunks/CjMoR7Dp.js",
|
|
35
|
-
"_app/immutable/chunks/
|
|
35
|
+
"_app/immutable/chunks/ZzVAGtsj.js",
|
|
36
36
|
"_app/immutable/chunks/DRBq3mUM.js",
|
|
37
|
-
"_app/immutable/chunks/
|
|
37
|
+
"_app/immutable/chunks/BxK27rIF.js"
|
|
38
38
|
];
|
|
39
39
|
const stylesheets = [
|
|
40
40
|
"_app/immutable/assets/sidebarActions.Ch26YL9l.css",
|
|
41
41
|
"_app/immutable/assets/AllSessionsPanel.BCLr3G4T.css",
|
|
42
|
-
"_app/immutable/assets/0.
|
|
42
|
+
"_app/immutable/assets/0.CiLJk_Xe.css"
|
|
43
43
|
];
|
|
44
44
|
const fonts = [];
|
|
45
45
|
//#endregion
|
|
46
46
|
export { component, fonts, imports, index, _layout_server_ts_exports as server, server_id, stylesheets };
|
|
47
47
|
|
|
48
|
-
//# sourceMappingURL=0-
|
|
48
|
+
//# sourceMappingURL=0-D-tZOQ7R.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"0-
|
|
1
|
+
{"version":3,"file":"0-D-tZOQ7R.js","names":[],"sources":["../../../../web/.svelte-kit/adapter-bun/entries/pages/_layout.server.ts.js","../../../../web/.svelte-kit/adapter-bun/nodes/0.js"],"sourcesContent":["import { b as private_env } from \"../../chunks/shared-server.js\";\nconst load = () => {\n return {\n voiceEnabled: Boolean(private_env.GROQ_API_KEY)\n };\n};\nexport {\n load\n};\n","import * as server from '../entries/pages/_layout.server.ts.js';\n\nexport const index = 0;\nlet component_cache;\nexport const component = async () => component_cache ??= (await import('../entries/pages/_layout.svelte.js')).default;\nexport { server };\nexport const server_id = \"src/routes/+layout.server.ts\";\nexport const imports = [\"_app/immutable/nodes/0.DX7LpCH-.js\",\"_app/immutable/chunks/BuvGONG-.js\",\"_app/immutable/chunks/RhyL4cOo.js\",\"_app/immutable/chunks/ukOf9Kzz.js\",\"_app/immutable/chunks/BPG41LQc.js\",\"_app/immutable/chunks/Iym5fv6V.js\",\"_app/immutable/chunks/DvtCSRbx.js\",\"_app/immutable/chunks/BpsTpPGB.js\",\"_app/immutable/chunks/CjMoR7Dp.js\",\"_app/immutable/chunks/ZzVAGtsj.js\",\"_app/immutable/chunks/DRBq3mUM.js\",\"_app/immutable/chunks/BxK27rIF.js\"];\nexport const stylesheets = [\"_app/immutable/assets/sidebarActions.Ch26YL9l.css\",\"_app/immutable/assets/AllSessionsPanel.BCLr3G4T.css\",\"_app/immutable/assets/0.CiLJk_Xe.css\"];\nexport const fonts = [];\n"],"mappings":";;;;;;;;;;;;;;;AACA,MAAM,aAAa;CACjB,OAAO,EACL,cAAc,QAAQ,YAAY,YAAY,EAChD;AACF;;;ACHA,MAAa,QAAQ;AACrB,IAAI;AACJ,MAAa,YAAY,YAAY,qBAAqB,MAAM,OAAO,gCAAA,CAAuC;AAE9G,MAAa,YAAY;AACzB,MAAa,UAAU;CAAC;CAAqC;CAAoC;CAAoC;CAAoC;CAAoC;CAAoC;CAAoC;CAAoC;CAAoC;CAAoC;CAAoC;AAAmC;AACxc,MAAa,cAAc;CAAC;CAAoD;CAAsD;AAAsC;AAC5K,MAAa,QAAQ,CAAC"}
|
|
@@ -3,14 +3,14 @@ const index = 1;
|
|
|
3
3
|
let component_cache;
|
|
4
4
|
const component = async () => component_cache ??= (await import("./error.svelte-BbIs6wWT.js")).default;
|
|
5
5
|
const imports = [
|
|
6
|
-
"_app/immutable/nodes/1.
|
|
6
|
+
"_app/immutable/nodes/1.LA4NLAbZ.js",
|
|
7
7
|
"_app/immutable/chunks/BuvGONG-.js",
|
|
8
8
|
"_app/immutable/chunks/RhyL4cOo.js",
|
|
9
|
-
"_app/immutable/chunks/
|
|
9
|
+
"_app/immutable/chunks/DvtCSRbx.js"
|
|
10
10
|
];
|
|
11
11
|
const stylesheets = [];
|
|
12
12
|
const fonts = [];
|
|
13
13
|
//#endregion
|
|
14
14
|
export { component, fonts, imports, index, stylesheets };
|
|
15
15
|
|
|
16
|
-
//# sourceMappingURL=1-
|
|
16
|
+
//# sourceMappingURL=1-CG5NsrbP.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"1-
|
|
1
|
+
{"version":3,"file":"1-CG5NsrbP.js","names":[],"sources":["../../../../web/.svelte-kit/adapter-bun/nodes/1.js"],"sourcesContent":["\n\nexport const index = 1;\nlet component_cache;\nexport const component = async () => component_cache ??= (await import('../entries/fallbacks/error.svelte.js')).default;\nexport const imports = [\"_app/immutable/nodes/1.LA4NLAbZ.js\",\"_app/immutable/chunks/BuvGONG-.js\",\"_app/immutable/chunks/RhyL4cOo.js\",\"_app/immutable/chunks/DvtCSRbx.js\"];\nexport const stylesheets = [];\nexport const fonts = [];\n"],"mappings":";AAEA,MAAa,QAAQ;AACrB,IAAI;AACJ,MAAa,YAAY,YAAY,qBAAqB,MAAM,OAAO,8BAAA,CAAyC;AAChH,MAAa,UAAU;CAAC;CAAqC;CAAoC;CAAoC;AAAmC;AACxK,MAAa,cAAc,CAAC;AAC5B,MAAa,QAAQ,CAAC"}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
//#region .svelte-kit/adapter-bun/nodes/2.js
|
|
2
2
|
const index = 2;
|
|
3
3
|
let component_cache;
|
|
4
|
-
const component = async () => component_cache ??= (await import("./_page.svelte-
|
|
4
|
+
const component = async () => component_cache ??= (await import("./_page.svelte-DkZsH6VV.js")).default;
|
|
5
5
|
const imports = [
|
|
6
|
-
"_app/immutable/nodes/2.
|
|
6
|
+
"_app/immutable/nodes/2.CC3GVyR0.js",
|
|
7
7
|
"_app/immutable/chunks/BuvGONG-.js",
|
|
8
8
|
"_app/immutable/chunks/RhyL4cOo.js",
|
|
9
9
|
"_app/immutable/chunks/ukOf9Kzz.js",
|
|
10
10
|
"_app/immutable/chunks/BpsTpPGB.js",
|
|
11
|
-
"_app/immutable/chunks/
|
|
11
|
+
"_app/immutable/chunks/BxK27rIF.js",
|
|
12
12
|
"_app/immutable/chunks/CjMoR7Dp.js",
|
|
13
|
-
"_app/immutable/chunks/
|
|
14
|
-
"_app/immutable/chunks/
|
|
15
|
-
"_app/immutable/chunks/
|
|
13
|
+
"_app/immutable/chunks/BPG41LQc.js",
|
|
14
|
+
"_app/immutable/chunks/Iym5fv6V.js",
|
|
15
|
+
"_app/immutable/chunks/DvtCSRbx.js"
|
|
16
16
|
];
|
|
17
17
|
const stylesheets = [
|
|
18
18
|
"_app/immutable/assets/sidebarActions.Ch26YL9l.css",
|
|
@@ -23,4 +23,4 @@ const fonts = [];
|
|
|
23
23
|
//#endregion
|
|
24
24
|
export { component, fonts, imports, index, stylesheets };
|
|
25
25
|
|
|
26
|
-
//# sourceMappingURL=2-
|
|
26
|
+
//# sourceMappingURL=2-yV51EcS-.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"2-
|
|
1
|
+
{"version":3,"file":"2-yV51EcS-.js","names":[],"sources":["../../../../web/.svelte-kit/adapter-bun/nodes/2.js"],"sourcesContent":["\n\nexport const index = 2;\nlet component_cache;\nexport const component = async () => component_cache ??= (await import('../entries/pages/_page.svelte.js')).default;\nexport const imports = [\"_app/immutable/nodes/2.CC3GVyR0.js\",\"_app/immutable/chunks/BuvGONG-.js\",\"_app/immutable/chunks/RhyL4cOo.js\",\"_app/immutable/chunks/ukOf9Kzz.js\",\"_app/immutable/chunks/BpsTpPGB.js\",\"_app/immutable/chunks/BxK27rIF.js\",\"_app/immutable/chunks/CjMoR7Dp.js\",\"_app/immutable/chunks/BPG41LQc.js\",\"_app/immutable/chunks/Iym5fv6V.js\",\"_app/immutable/chunks/DvtCSRbx.js\"];\nexport const stylesheets = [\"_app/immutable/assets/sidebarActions.Ch26YL9l.css\",\"_app/immutable/assets/AllSessionsPanel.BCLr3G4T.css\",\"_app/immutable/assets/2.BPFnFMPa.css\"];\nexport const fonts = [];\n"],"mappings":";AAEA,MAAa,QAAQ;AACrB,IAAI;AACJ,MAAa,YAAY,YAAY,qBAAqB,MAAM,OAAO,8BAAA,CAAqC;AAC5G,MAAa,UAAU;CAAC;CAAqC;CAAoC;CAAoC;CAAoC;CAAoC;CAAoC;CAAoC;CAAoC;CAAoC;AAAmC;AAChY,MAAa,cAAc;CAAC;CAAoD;CAAsD;AAAsC;AAC5K,MAAa,QAAQ,CAAC"}
|
|
@@ -6,16 +6,16 @@ const universal = {
|
|
|
6
6
|
};
|
|
7
7
|
const universal_id = "src/routes/session/[target]/+page.ts";
|
|
8
8
|
const imports = [
|
|
9
|
-
"_app/immutable/nodes/3.
|
|
9
|
+
"_app/immutable/nodes/3.s97PqS3X.js",
|
|
10
10
|
"_app/immutable/chunks/BuvGONG-.js",
|
|
11
11
|
"_app/immutable/chunks/RhyL4cOo.js",
|
|
12
12
|
"_app/immutable/chunks/ukOf9Kzz.js",
|
|
13
13
|
"_app/immutable/chunks/BpsTpPGB.js",
|
|
14
14
|
"_app/immutable/chunks/CjMoR7Dp.js",
|
|
15
|
-
"_app/immutable/chunks/
|
|
16
|
-
"_app/immutable/chunks/
|
|
17
|
-
"_app/immutable/chunks/
|
|
18
|
-
"_app/immutable/chunks/
|
|
15
|
+
"_app/immutable/chunks/BPG41LQc.js",
|
|
16
|
+
"_app/immutable/chunks/Iym5fv6V.js",
|
|
17
|
+
"_app/immutable/chunks/DvtCSRbx.js",
|
|
18
|
+
"_app/immutable/chunks/ZzVAGtsj.js",
|
|
19
19
|
"_app/immutable/chunks/DRBq3mUM.js"
|
|
20
20
|
];
|
|
21
21
|
const stylesheets = ["_app/immutable/assets/sidebarActions.Ch26YL9l.css", "_app/immutable/assets/3.XJ3XhAQU.css"];
|
|
@@ -23,4 +23,4 @@ const fonts = [];
|
|
|
23
23
|
//#endregion
|
|
24
24
|
export { fonts, imports, index, stylesheets, universal, universal_id };
|
|
25
25
|
|
|
26
|
-
//# sourceMappingURL=3-
|
|
26
|
+
//# sourceMappingURL=3-D75yomeT.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"3-
|
|
1
|
+
{"version":3,"file":"3-D75yomeT.js","names":[],"sources":["../../../../web/.svelte-kit/adapter-bun/nodes/3.js"],"sourcesContent":["\n\nexport const index = 3;\nexport const universal = {\n \"load\": null,\n \"ssr\": false\n};\nexport const universal_id = \"src/routes/session/[target]/+page.ts\";\nexport const imports = [\"_app/immutable/nodes/3.s97PqS3X.js\",\"_app/immutable/chunks/BuvGONG-.js\",\"_app/immutable/chunks/RhyL4cOo.js\",\"_app/immutable/chunks/ukOf9Kzz.js\",\"_app/immutable/chunks/BpsTpPGB.js\",\"_app/immutable/chunks/CjMoR7Dp.js\",\"_app/immutable/chunks/BPG41LQc.js\",\"_app/immutable/chunks/Iym5fv6V.js\",\"_app/immutable/chunks/DvtCSRbx.js\",\"_app/immutable/chunks/ZzVAGtsj.js\",\"_app/immutable/chunks/DRBq3mUM.js\"];\nexport const stylesheets = [\"_app/immutable/assets/sidebarActions.Ch26YL9l.css\",\"_app/immutable/assets/3.XJ3XhAQU.css\"];\nexport const fonts = [];\n"],"mappings":";AAEA,MAAa,QAAQ;AACrB,MAAa,YAAY;CACvB,QAAQ;CACR,OAAO;AACT;AACA,MAAa,eAAe;AAC5B,MAAa,UAAU;CAAC;CAAqC;CAAoC;CAAoC;CAAoC;CAAoC;CAAoC;CAAoC;CAAoC;CAAoC;CAAoC;AAAmC;AACpa,MAAa,cAAc,CAAC,qDAAoD,sCAAsC;AACtH,MAAa,QAAQ,CAAC"}
|
|
@@ -5,7 +5,7 @@ import { n as AGENT_IDS, t as AGENTS } from "./agents-21cPpmjY.js";
|
|
|
5
5
|
import { r as highlightRuns, t as fuzzyMatch } from "./fuzzy-DUPEz6jZ.js";
|
|
6
6
|
import { n as makeDayFormatter, t as hostTimeZone } from "./day-nSR6tlb7.js";
|
|
7
7
|
import "./state.svelte-DaxvD0LT.js";
|
|
8
|
-
import { a as cn, c as getProjectColor, d as sessionStore, f as tv, i as buttonVariants, l as getSessionDisplayName, n as ReliableWebSocket, o as createPersisted, r as SessionsWsMessageSchema, s as findDeepestProject, t as Button, u as groupSessions } from "./button-
|
|
8
|
+
import { a as cn, c as getProjectColor, d as sessionStore, f as tv, i as buttonVariants, l as getSessionDisplayName, n as ReliableWebSocket, o as createPersisted, r as SessionsWsMessageSchema, s as findDeepestProject, t as Button, u as groupSessions } from "./button-svhFQKMs.js";
|
|
9
9
|
//#region .svelte-kit/adapter-bun/chunks/severity.js
|
|
10
10
|
function onDestroy(fn) {
|
|
11
11
|
/** @type {SSRContext} */
|
|
@@ -9141,7 +9141,7 @@ function AllSessionsPanel($$renderer, $$props) {
|
|
|
9141
9141
|
"orch": row.orchestrator,
|
|
9142
9142
|
"inA": tag === "A",
|
|
9143
9143
|
"inB": tag === "B"
|
|
9144
|
-
})}${attr("draggable",
|
|
9144
|
+
})}${attr("draggable", "false")}${attr("title", machine.local ? "Double-click or long-press to rename" : `On ${machine.server.hostname}`)}><span class="st svelte-183q6rw">`);
|
|
9145
9145
|
SessionStateIndicator($$renderer3, {
|
|
9146
9146
|
state: s.state,
|
|
9147
9147
|
size: "sm",
|
|
@@ -9174,7 +9174,7 @@ function AllSessionsPanel($$renderer, $$props) {
|
|
|
9174
9174
|
const isActive = pane.target === currentTarget();
|
|
9175
9175
|
const detected = detectPaneAgent(pane.command || "");
|
|
9176
9176
|
const meta = detected ? AGENTS[detected] : null;
|
|
9177
|
-
$$renderer3.push(`<a${attr("href", `/session/${stringify(encodeURIComponent(pane.target))}`)}${attr_class("row tmux svelte-183q6rw", void 0, { "cur": isActive })}
|
|
9177
|
+
$$renderer3.push(`<a${attr("href", `/session/${stringify(encodeURIComponent(pane.target))}`)}${attr_class("row tmux svelte-183q6rw", void 0, { "cur": isActive })}${attr("draggable", "false")}><span class="st svelte-183q6rw"><iconify-icon${attr("icon", meta?.icon ?? "mdi:console-line")}${attr_style(meta ? `color:${meta.color}` : "")} class="svelte-183q6rw"></iconify-icon></span> <span class="name mono svelte-183q6rw">${escape_html(pane.target)}</span> <span class="meta svelte-183q6rw"><span class="when svelte-183q6rw">${escape_html(meta?.label ?? pane.command)}</span></span> <span class="ctx none svelte-183q6rw"></span></a>`);
|
|
9178
9178
|
}
|
|
9179
9179
|
function projectCard($$renderer3, machine, card) {
|
|
9180
9180
|
$$renderer3.push(`<section${attr_class("card proj svelte-183q6rw", void 0, { "wants": card.wants })}><div class="proj-h svelte-183q6rw"><span class="chip svelte-183q6rw"${attr_style(`background:${stringify(card.color)}`)}>${escape_html(card.name.slice(0, 1).toLowerCase())}</span> <span class="pname svelte-183q6rw"${attr("title", card.cwd)}>${escape_html(card.name)}</span> <span class="pcount svelte-183q6rw">${escape_html(card.rows.filter((r) => !r.orchestrator).length)}</span> <button type="button" class="pbtn svelte-183q6rw" title="New session here (right-click or hold for another agent)"><iconify-icon icon="mdi:plus" class="svelte-183q6rw"></iconify-icon></button> <button type="button" class="pbtn pclose svelte-183q6rw" title="Close project"><iconify-icon icon="mdi:close" class="svelte-183q6rw"></iconify-icon></button></div> <!--[-->`);
|
|
@@ -9946,4 +9946,4 @@ function _layout($$renderer, $$props) {
|
|
|
9946
9946
|
//#endregion
|
|
9947
9947
|
export { _layout as default };
|
|
9948
9948
|
|
|
9949
|
-
//# sourceMappingURL=_layout.svelte-
|
|
9949
|
+
//# sourceMappingURL=_layout.svelte-B22DMQF4.js.map
|