@screenreader-speech-capture/bridge 0.3.0 → 0.4.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/dist/cli.mjs +4965 -4771
- package/dist/ui/adapter-node.js +1 -1
- package/dist/ui/client/ui/_app/immutable/assets/0.C_wdfB9t.css +1 -0
- package/dist/ui/client/ui/_app/immutable/assets/0.C_wdfB9t.css.br +0 -0
- package/dist/ui/client/ui/_app/immutable/assets/0.C_wdfB9t.css.gz +0 -0
- package/dist/ui/client/ui/_app/immutable/assets/2.GfBw0twm.css +1 -0
- package/dist/ui/client/ui/_app/immutable/assets/2.GfBw0twm.css.br +0 -0
- package/dist/ui/client/ui/_app/immutable/assets/2.GfBw0twm.css.gz +0 -0
- package/dist/ui/client/ui/_app/immutable/assets/3.C6Oee9hv.css +1 -0
- package/dist/ui/client/ui/_app/immutable/assets/3.C6Oee9hv.css.br +0 -0
- package/dist/ui/client/ui/_app/immutable/assets/3.C6Oee9hv.css.gz +0 -0
- package/dist/ui/client/ui/_app/immutable/assets/4.DwCEZqGT.css +1 -0
- package/dist/ui/client/ui/_app/immutable/assets/4.DwCEZqGT.css.br +0 -0
- package/dist/ui/client/ui/_app/immutable/assets/4.DwCEZqGT.css.gz +0 -0
- package/dist/ui/client/ui/_app/immutable/assets/5.DVcIZgbI.css +1 -0
- package/dist/ui/client/ui/_app/immutable/assets/5.DVcIZgbI.css.br +0 -0
- package/dist/ui/client/ui/_app/immutable/assets/5.DVcIZgbI.css.gz +0 -0
- package/dist/ui/client/ui/_app/immutable/assets/6.CgsZgeqQ.css +1 -0
- package/dist/ui/client/ui/_app/immutable/assets/6.CgsZgeqQ.css.br +0 -0
- package/dist/ui/client/ui/_app/immutable/assets/6.CgsZgeqQ.css.gz +0 -0
- package/dist/ui/client/ui/_app/immutable/assets/ActionDialog.DaaxszBK.css +1 -0
- package/dist/ui/client/ui/_app/immutable/assets/ActionDialog.DaaxszBK.css.br +0 -0
- package/dist/ui/client/ui/_app/immutable/assets/ActionDialog.DaaxszBK.css.gz +0 -0
- package/dist/ui/client/ui/_app/immutable/assets/Pane.DsGQzOhZ.css +1 -0
- package/dist/ui/client/ui/_app/immutable/assets/Pane.DsGQzOhZ.css.br +4 -0
- package/dist/ui/client/ui/_app/immutable/assets/Pane.DsGQzOhZ.css.gz +0 -0
- package/dist/ui/client/ui/_app/immutable/chunks/{Cb63XE4v.js → DbGQpjFg.js} +1 -1
- package/dist/ui/client/ui/_app/immutable/chunks/DbGQpjFg.js.br +0 -0
- package/dist/ui/client/ui/_app/immutable/chunks/DbGQpjFg.js.gz +0 -0
- package/dist/ui/client/ui/_app/immutable/chunks/{OAsMjdHF.js → cBM7TtzK.js} +13 -13
- package/dist/ui/client/ui/_app/immutable/chunks/cBM7TtzK.js.br +0 -0
- package/dist/ui/client/ui/_app/immutable/chunks/cBM7TtzK.js.gz +0 -0
- package/dist/ui/client/ui/_app/immutable/entry/app.sg1O-aaT.js +2 -0
- package/dist/ui/client/ui/_app/immutable/entry/app.sg1O-aaT.js.br +0 -0
- package/dist/ui/client/ui/_app/immutable/entry/app.sg1O-aaT.js.gz +0 -0
- package/dist/ui/client/ui/_app/immutable/nodes/0.ChTQinKu.js +1 -0
- package/dist/ui/client/ui/_app/immutable/nodes/0.ChTQinKu.js.br +0 -0
- package/dist/ui/client/ui/_app/immutable/nodes/0.ChTQinKu.js.gz +0 -0
- package/dist/ui/client/ui/_app/immutable/nodes/{2.4VpydhMh.js → 2.Bmw_bms2.js} +1 -1
- package/dist/ui/client/ui/_app/immutable/nodes/2.Bmw_bms2.js.br +0 -0
- package/dist/ui/client/ui/_app/immutable/nodes/2.Bmw_bms2.js.gz +0 -0
- package/dist/ui/client/ui/_app/immutable/nodes/3.D1KLwmTV.js +5 -0
- package/dist/ui/client/ui/_app/immutable/nodes/3.D1KLwmTV.js.br +0 -0
- package/dist/ui/client/ui/_app/immutable/nodes/3.D1KLwmTV.js.gz +0 -0
- package/dist/ui/client/ui/_app/immutable/nodes/{4.B9Ke6ZBV.js → 4.DxLsBVbm.js} +4 -4
- package/dist/ui/client/ui/_app/immutable/nodes/4.DxLsBVbm.js.br +0 -0
- package/dist/ui/client/ui/_app/immutable/nodes/4.DxLsBVbm.js.gz +0 -0
- package/dist/ui/client/ui/_app/immutable/nodes/5.mJKxiKw-.js +6 -0
- package/dist/ui/client/ui/_app/immutable/nodes/5.mJKxiKw-.js.br +0 -0
- package/dist/ui/client/ui/_app/immutable/nodes/5.mJKxiKw-.js.gz +0 -0
- package/dist/ui/client/ui/_app/immutable/nodes/6.BH9jsHQr.js +7 -0
- package/dist/ui/client/ui/_app/immutable/nodes/6.BH9jsHQr.js.br +0 -0
- package/dist/ui/client/ui/_app/immutable/nodes/6.BH9jsHQr.js.gz +0 -0
- package/dist/ui/client/ui/_app/version.json +1 -1
- package/dist/ui/client/ui/_app/version.json.br +0 -0
- package/dist/ui/client/ui/_app/version.json.gz +0 -0
- package/dist/ui/server/.vite/manifest.json +37 -28
- package/dist/ui/server/_app/immutable/assets/ActionDialog.DaaxszBK.css +1 -0
- package/dist/ui/server/_app/immutable/assets/Pane.DsGQzOhZ.css +1 -0
- package/dist/ui/server/_app/immutable/assets/_layout.C_wdfB9t.css +1 -0
- package/dist/ui/server/_app/immutable/assets/_layout.GfBw0twm.css +1 -0
- package/dist/ui/server/_app/immutable/assets/_page.C6Oee9hv.css +1 -0
- package/dist/ui/server/_app/immutable/assets/_page.CgsZgeqQ.css +1 -0
- package/dist/ui/server/_app/immutable/assets/_page.DVcIZgbI.css +1 -0
- package/dist/ui/server/_app/immutable/assets/_page.DwCEZqGT.css +1 -0
- package/dist/ui/server/chunks/{dialog.js → ActionDialog.js} +16 -2
- package/dist/ui/server/chunks/ActionDialog.js.map +1 -0
- package/dist/ui/server/chunks/Pane.js.map +1 -1
- package/dist/ui/server/chunks/instance.js +3 -3
- package/dist/ui/server/chunks/internal.js +1 -1
- package/dist/ui/server/chunks/sessions.js.map +1 -1
- package/dist/ui/server/chunks/setup.js.map +1 -1
- package/dist/ui/server/chunks/speech.js.map +1 -1
- package/dist/ui/server/chunks/src.js +43 -34
- package/dist/ui/server/chunks/src.js.map +1 -1
- package/dist/ui/server/chunks/validate.js.map +1 -1
- package/dist/ui/server/entries/endpoints/api/sessions/_id_id_/end/_server.ts.js +9 -0
- package/dist/ui/server/entries/endpoints/api/sessions/_id_id_/end/_server.ts.js.map +1 -0
- package/dist/ui/server/entries/hooks.server.js +3 -6
- package/dist/ui/server/entries/hooks.server.js.map +1 -1
- package/dist/ui/server/entries/pages/_layout.svelte.js +94 -78
- package/dist/ui/server/entries/pages/_layout.svelte.js.map +1 -1
- package/dist/ui/server/entries/pages/_page.server.ts.js.map +1 -1
- package/dist/ui/server/entries/pages/_page.svelte.js +121 -78
- package/dist/ui/server/entries/pages/_page.svelte.js.map +1 -1
- package/dist/ui/server/entries/pages/settings/_page.server.ts.js.map +1 -1
- package/dist/ui/server/entries/pages/settings/_page.svelte.js +15 -16
- package/dist/ui/server/entries/pages/settings/_page.svelte.js.map +1 -1
- package/dist/ui/server/entries/pages/setup/_layout.svelte.js.map +1 -1
- package/dist/ui/server/entries/pages/setup/_page.svelte.js +24 -13
- package/dist/ui/server/entries/pages/setup/_page.svelte.js.map +1 -1
- package/dist/ui/server/entries/pages/setup/instructions/_page.svelte.js +83 -59
- package/dist/ui/server/entries/pages/setup/instructions/_page.svelte.js.map +1 -1
- package/dist/ui/server/manifest-full.js +8 -8
- package/dist/ui/server/manifest.js +8 -8
- package/dist/ui/server/nodes/0.js +2 -2
- package/dist/ui/server/nodes/2.js +2 -2
- package/dist/ui/server/nodes/3.js +2 -2
- package/dist/ui/server/nodes/4.js +2 -2
- package/dist/ui/server/nodes/5.js +2 -2
- package/dist/ui/server/nodes/6.js +2 -2
- package/dist/ui/server/server.js +8 -8
- package/package.json +1 -1
- package/dist/ui/client/ui/_app/immutable/assets/0.ONZWQgDA.css +0 -1
- package/dist/ui/client/ui/_app/immutable/assets/0.ONZWQgDA.css.br +0 -0
- package/dist/ui/client/ui/_app/immutable/assets/0.ONZWQgDA.css.gz +0 -0
- package/dist/ui/client/ui/_app/immutable/assets/2.DSVNnDlO.css +0 -1
- package/dist/ui/client/ui/_app/immutable/assets/2.DSVNnDlO.css.br +0 -3
- package/dist/ui/client/ui/_app/immutable/assets/2.DSVNnDlO.css.gz +0 -0
- package/dist/ui/client/ui/_app/immutable/assets/3.WduKm4aT.css +0 -1
- package/dist/ui/client/ui/_app/immutable/assets/3.WduKm4aT.css.br +0 -0
- package/dist/ui/client/ui/_app/immutable/assets/3.WduKm4aT.css.gz +0 -0
- package/dist/ui/client/ui/_app/immutable/assets/4.DEk4yqpA.css +0 -1
- package/dist/ui/client/ui/_app/immutable/assets/4.DEk4yqpA.css.br +0 -0
- package/dist/ui/client/ui/_app/immutable/assets/4.DEk4yqpA.css.gz +0 -0
- package/dist/ui/client/ui/_app/immutable/assets/5.YyxFzHED.css +0 -1
- package/dist/ui/client/ui/_app/immutable/assets/5.YyxFzHED.css.br +0 -0
- package/dist/ui/client/ui/_app/immutable/assets/5.YyxFzHED.css.gz +0 -0
- package/dist/ui/client/ui/_app/immutable/assets/6.C0Nhvs_m.css +0 -1
- package/dist/ui/client/ui/_app/immutable/assets/6.C0Nhvs_m.css.br +0 -0
- package/dist/ui/client/ui/_app/immutable/assets/6.C0Nhvs_m.css.gz +0 -0
- package/dist/ui/client/ui/_app/immutable/assets/Pane.Dgdg5KMw.css +0 -1
- package/dist/ui/client/ui/_app/immutable/assets/Pane.Dgdg5KMw.css.br +0 -0
- package/dist/ui/client/ui/_app/immutable/assets/Pane.Dgdg5KMw.css.gz +0 -0
- package/dist/ui/client/ui/_app/immutable/chunks/Cb63XE4v.js.br +0 -0
- package/dist/ui/client/ui/_app/immutable/chunks/Cb63XE4v.js.gz +0 -0
- package/dist/ui/client/ui/_app/immutable/chunks/OAsMjdHF.js.br +0 -0
- package/dist/ui/client/ui/_app/immutable/chunks/OAsMjdHF.js.gz +0 -0
- package/dist/ui/client/ui/_app/immutable/entry/app.B2MXuPeH.js +0 -2
- package/dist/ui/client/ui/_app/immutable/entry/app.B2MXuPeH.js.br +0 -0
- package/dist/ui/client/ui/_app/immutable/entry/app.B2MXuPeH.js.gz +0 -0
- package/dist/ui/client/ui/_app/immutable/nodes/0.CEfoZ0Mb.js +0 -1
- package/dist/ui/client/ui/_app/immutable/nodes/0.CEfoZ0Mb.js.br +0 -0
- package/dist/ui/client/ui/_app/immutable/nodes/0.CEfoZ0Mb.js.gz +0 -0
- package/dist/ui/client/ui/_app/immutable/nodes/2.4VpydhMh.js.br +0 -0
- package/dist/ui/client/ui/_app/immutable/nodes/2.4VpydhMh.js.gz +0 -0
- package/dist/ui/client/ui/_app/immutable/nodes/3.BzIz3rja.js +0 -5
- package/dist/ui/client/ui/_app/immutable/nodes/3.BzIz3rja.js.br +0 -0
- package/dist/ui/client/ui/_app/immutable/nodes/3.BzIz3rja.js.gz +0 -0
- package/dist/ui/client/ui/_app/immutable/nodes/4.B9Ke6ZBV.js.br +0 -0
- package/dist/ui/client/ui/_app/immutable/nodes/4.B9Ke6ZBV.js.gz +0 -0
- package/dist/ui/client/ui/_app/immutable/nodes/5.Cm6I95kb.js +0 -6
- package/dist/ui/client/ui/_app/immutable/nodes/5.Cm6I95kb.js.br +0 -0
- package/dist/ui/client/ui/_app/immutable/nodes/5.Cm6I95kb.js.gz +0 -0
- package/dist/ui/client/ui/_app/immutable/nodes/6.B_1Pts2e.js +0 -6
- package/dist/ui/client/ui/_app/immutable/nodes/6.B_1Pts2e.js.br +0 -0
- package/dist/ui/client/ui/_app/immutable/nodes/6.B_1Pts2e.js.gz +0 -0
- package/dist/ui/server/_app/immutable/assets/Pane.Dgdg5KMw.css +0 -1
- package/dist/ui/server/_app/immutable/assets/_layout.DSVNnDlO.css +0 -1
- package/dist/ui/server/_app/immutable/assets/_layout.ONZWQgDA.css +0 -1
- package/dist/ui/server/_app/immutable/assets/_page.C0Nhvs_m.css +0 -1
- package/dist/ui/server/_app/immutable/assets/_page.DEk4yqpA.css +0 -1
- package/dist/ui/server/_app/immutable/assets/_page.WduKm4aT.css +0 -1
- package/dist/ui/server/_app/immutable/assets/_page.YyxFzHED.css +0 -1
- package/dist/ui/server/chunks/dialog.js.map +0 -1
- package/dist/ui/server/entries/endpoints/api/sessions/end/_server.ts.js +0 -9
- package/dist/ui/server/entries/endpoints/api/sessions/end/_server.ts.js.map +0 -1
- /package/dist/ui/client/ui/_app/immutable/chunks/{BlC5mir6.js → D-UxlRn_.js} +0 -0
- /package/dist/ui/client/ui/_app/immutable/chunks/{BlC5mir6.js.br → D-UxlRn_.js.br} +0 -0
- /package/dist/ui/client/ui/_app/immutable/chunks/{BlC5mir6.js.gz → D-UxlRn_.js.gz} +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{$ as e,A as t,B as n,D as r,E as i,F as a,G as o,I as s,J as c,K as l,L as u,N as d,P as f,Q as p,R as m,S as h,V as g,W as _,X as v,Y as y,_ as b,a as x,d as S,et as ee,f as C,g as w,k as T,m as E,nt as D,q as O,rt as k,s as A,u as j,v as M,w as N,y as te}from"../chunks/B__KpOuX.js";import"../chunks/UKukklIc.js";import"../chunks/C06IiL6m.js";import{n as ne,t as re}from"../chunks/DRNNJMYk.js";import{c as ie,d as ae,l as oe,t as se,u as ce}from"../chunks/Cb63XE4v.js";import{t as le}from"../chunks/Bvlvl8SZ.js";import{c as ue,o as de,t as fe}from"../chunks/C75l7c5l.js";import{l as pe,s as me,t as P}from"../chunks/BkoDSEOx.js";import{_ as he,a as ge,f as F,g as _e,h as I,i as ve,l as L,m as ye,n as be,o as R,p as xe,s as z,t as Se,u as Ce}from"../chunks/JsC3ASJq.js";import{n as B,o as we,t as Te}from"../chunks/BEImj5AP.js";import{i as Ee,n as De,r as Oe,t as ke}from"../chunks/Bxh3K0TK.js";var Ae=`data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='44'%20height='44'%20viewBox='0%200%2044%2044'%3e%3ctitle%3eSpeech%20Capture%3c/title%3e%3crect%20width='44'%20height='44'%20rx='14'%20fill='%23415f91'/%3e%3cpath%20d='M4%2010v4M8%206v12M12%203v18M16%208v8M20%2011v2'%20transform='translate(10%2010)'%20fill='none'%20stroke='%23fff'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e`,je=new URL(`../assets/material-symbols-outlined-latin-400-normal.BhEvR8fk.woff2`,import.meta.url).href,Me=i(`<li><span class="face svelte-19wvxlf" aria-hidden="true"><span></span> <span class="chip-label svelte-19wvxlf"> </span></span> <span class="visually-hidden"> </span></li>`),Ne=i(`<ul aria-label="Bridge status" class="svelte-19wvxlf"></ul>`),Pe=i(`<!> <span class="visually-hidden" role="status"> </span>`,1);function Fe(t,n){e(n,!0);var r=Pe(),i=f(r),c=e=>{var t=Ne();E(t,21,()=>n.chips,e=>e.id,(e,t)=>{var n=Me();let r;var i=d(n),c=d(i),l=s(c,2),u=a(l,!0);k(i);var f=s(i,2),p=a(f,!0);k(n),o(()=>{r=j(n,1,w(m(t).tone),`svelte-19wvxlf`,r,{down:m(t).down}),x(i,`title`,m(t).text),j(c,1,`dot ${m(t).dot??``}`,`svelte-19wvxlf`),h(u,m(t).text),h(p,m(t).description)}),N(e,n)}),k(t),N(e,t)};b(i,e=>{n.chips.length>0&&e(c)});var l=s(i,2),u=a(l,!0);o(()=>h(u,n.announcement)),N(t,r),p()}var Ie=i(`<md-icon-button><md-icon>refresh</md-icon></md-icon-button>`,2);function Le(e,n){var r=Ie();A(r,`title`,`Refresh status`),A(r,`aria-label`,`Refresh status`),j(r,1,`svelte-5q7qd7`);var i=d(r);A(i,`aria-hidden`,`true`);let a;k(r),o(()=>a=j(i,1,`svelte-5q7qd7`,null,a,{spin:n.loading})),t(`click`,r,function(...e){n.onRetry?.apply(this,e)}),N(e,r)}T([`click`]);function Re(e,t){return t?e===null?[]:[V(`playwright`,`Playwright`,e.playwright),V(`mcp`,`MCP`,e.mcp)].filter(e=>e!==null):[{id:`bridge`,text:`Bridge unreachable`,tone:`error`,dot:`filled`,description:`Bridge unreachable`}]}function V(e,t,n){let r=`${t} ${n.version}`;switch(n.state){case`running`:return{id:e,text:r,tone:`ok`,dot:`filled`,description:`${r}, running`};case`crashed`:case`failed`:return{id:e,text:`${r} · ${n.state}`,tone:`warning`,dot:`filled`,description:`${r}, ${n.state}`};case`starting`:return{id:e,text:r,tone:`neutral`,dot:`hollow`,description:`${r}, starting`,down:!0};case`stopped`:return null}}function ze(e,t){return t?e.filter(e=>e.tone===`error`||e.tone===`warning`).map(e=>`${e.description}.`).join(` `):`Bridge unreachable.`}var Be=i(`<!> <!>`,1);function Ve(t,n){e(n,!0);let r=ne().status,i=v(()=>B.data.status),a=v(()=>r.status??m(i)),o=v(()=>Re(m(a),r.reachable));M(()=>{r.seed(m(i)),r.init()});var c=Be(),l=f(c);{let e=v(()=>ze(m(o),r.reachable));Fe(l,{get chips(){return m(o)},get announcement(){return m(e)}})}var u=s(l,2),d=e=>{Le(e,{get loading(){return r.loading},onRetry:()=>void r.retry()})};b(u,e=>{r.reachable||e(d)}),N(t,c),p()}var He=i(`<header class="svelte-4j9s4f"><div class="logo-slot svelte-4j9s4f"><div class="logo svelte-4j9s4f"><svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M4 10v4M8 6v12M12 3v18M16 8v8M20 11v2"></path></svg></div></div> <div class="title svelte-4j9s4f"><span class="name svelte-4j9s4f">Speech Capture</span> <span class="meta svelte-4j9s4f"> </span></div> <!></header>`);function Ue(e,t){var n=He(),r=s(d(n),2),i=s(d(r),2),c=a(i,!0);k(r),Ve(s(r,2),{}),k(n),o(()=>h(c,t.host)),N(e,n)}var We=i(`<li><a data-sveltekit-reset="false" class="svelte-sxtjmn"><span><md-ripple></md-ripple> <md-icon> </md-icon></span> <span class="label svelte-sxtjmn"> </span></a></li>`,2),Ge=i(`<nav aria-label="Pages" class="svelte-sxtjmn"><ul class="svelte-sxtjmn"></ul></nav> <span class="visually-hidden" role="status"> </span>`,1);function Ke(n,i){let u=r();e(i,!0);let g=y(``),_;l(()=>(i.currentPath,()=>{clearTimeout(_),c(g,``)}));function b(e,t){if(e.ctrlKey||e.metaKey||e.shiftKey||e.altKey)return;let n=e.currentTarget;n.href===n.ownerDocument.URL&&(e.preventDefault(),clearTimeout(_),c(g,``),_=setTimeout(()=>c(g,`${t}, current page`),100))}function ee(e){e.key===` `&&(e.altKey||e.ctrlKey||e.metaKey||e.shiftKey||(e.preventDefault(),e.repeat||e.currentTarget.click()))}var C=Ge(),w=f(C),T=d(w);E(T,23,()=>i.items,e=>e.href,(e,n,r)=>{let c=v(()=>le(m(n),i.currentPath)),l=v(()=>`${u}-link-${m(r)}`),f=v(()=>`${m(l)}-label`);var p=We(),g=d(p),_=d(g);let y;var S=d(_);o(()=>A(S,`for`,m(l))),A(S,`aria-hidden`,`true`);var C=s(S,2);A(C,`aria-hidden`,`true`);var w=a(C,!0);k(_);var T=s(_,2),E=a(T,!0);k(g),k(p),o(()=>{x(g,`id`,m(l)),x(g,`href`,m(n).href),x(g,`aria-labelledby`,m(f)),x(g,`aria-current`,m(c)?`page`:void 0),y=j(_,1,`indicator svelte-sxtjmn`,null,y,{current:m(c)}),h(w,m(n).icon),x(T,`id`,m(f)),h(E,m(n).label)}),t(`click`,g,e=>b(e,m(n).label)),t(`keydown`,g,ee),N(e,p)}),k(T),S(T,()=>ae(`a`)),k(w);var D=s(w,2),O=a(D,!0);o(()=>h(O,m(g))),N(n,C),p()}T([`click`,`keydown`]);var qe=class{async copy(e){let t=navigator.clipboard;if(t!==void 0)try{return await t.writeText(e),!0}catch{}return Je(e)}};function Je(e){let t=document.activeElement,n=document.createElement(`textarea`);n.value=e,n.readOnly=!0,n.setAttribute(`aria-hidden`,`true`),Object.assign(n.style,{position:`fixed`,top:`0`,left:`0`,opacity:`0`}),document.body.append(n);try{return n.select(),document.execCommand(`copy`)}catch{return!1}finally{n.remove(),t instanceof HTMLElement&&t.focus({preventScroll:!0})}}var H=`sr-theme`,Ye=class{read(){try{return ue(localStorage.getItem(H))}catch{return null}}write(e){document.documentElement.dataset.theme=e;try{localStorage.setItem(H,e)}catch{}}},Xe=`24px "Material Symbols Outlined"`;async function Ze(){try{await document.fonts.load(Xe)}catch{}document.documentElement.setAttribute(`data-icons-ready`,``)}var Qe=(e,t)=>Error(e?.message??`The request answered ${t}`);async function U(e,{method:t=`GET`,body:n,signal:r,rejection:i=Qe}={}){let a=await fetch(e,{method:t,headers:{accept:`application/json`,...n===void 0?{}:{"content-type":`application/json`}},body:n===void 0?void 0:JSON.stringify(n),signal:r});if(!a.ok)throw i(await $e(a),a.status);return a}async function W(e,t){return await(await U(e,t)).json()}async function $e(e){let t=await e.json().catch(()=>void 0);if(typeof t!=`object`||!t||!(`message`in t))return null;let{message:n}=t;return typeof n==`string`?{message:n,field:`field`in t&&typeof t.field==`string`?t.field:void 0}:null}var G=(e,t)=>e===null?Error(`The request answered ${t}`):new fe(e.message,e.field),et=class{url;constructor(e){this.url=e}fetch(){return W(this.url,{rejection:G})}update(e){return W(this.url,{method:`PUT`,body:e,rejection:G})}},tt=class{url;constructor(e){this.url=e}pressAndCapture(e,t,n){return W(this.url,{method:`POST`,body:{keys:e,capture:t},signal:n})}},nt=class{markersUrl;speechUrl;constructor(e,t){this.markersUrl=e,this.speechUrl=t}async addMarker(e){await U(this.markersUrl,{method:`POST`,body:{label:e}})}async clear(e){await U(`${this.speechUrl}?session=${e}`,{method:`DELETE`})}},rt=Symbol(`sveltekit.query_function_id`),K=Symbol(`sveltekit.query_override_key`),it=Symbol(`sveltekit.query_resource_key`);function q(e,t,n,r){try{O(()=>{let i=e.get(n)?.get(r);if(i)return t.manual_ref(i,n,r)})}catch{}}function J(e,t,n,r,i){return((...a)=>{let o=e.get(n)?.get(r),s=o?t.manual_ref(o,n,r):void 0,c=i(...a);return s&&c.then(s,s),c})}async function at(e,t,n){let r=await fetch(e,t),i=r.status;if(Te(r.headers.get(`x-sveltekit-version`)),!r.ok){let e=await r.json().catch(()=>void 0);throw e?.type===`error`?new F({status:i,...e.error}):new xe({status:i,message:r.statusText})}let a=await r.json();if(a.type===`error`)throw new F(a.error);let o=a.data?he(a.data,be.decoders):{};function s(e,t,n){t?.resource?n.e?t.resource.fail(new F(n.e)):t.resource.set(n.v):n.e||(z[e]=n)}if(o.q)for(let e in o.q){n?.delete(e);let t=I(e);s(e,R.get(t.id)?.get(t.payload),o.q[e])}if(o.l)for(let e in o.l){n?.delete(e);let t=I(e),r=ge.get(t.id)?.get(t.payload);s(e,r,o.l[e]),o.l[e].e||r?.resource.reconnect()}for(let e of o.i??[])n?.delete(e);return o}var Y=`sveltekit:${we}`;(async()=>{if(typeof caches<`u`)try{await caches.open(Y);let e=await caches.keys();for(let t of e)t.startsWith(`sveltekit:`)&&t!==Y&&await caches.delete(t)}catch(e){console.warn(`Failed to initialize SvelteKit cache:`,e)}})();var X=new Map;new FinalizationRegistry(e=>{let t=X.get(e);t&&t.deref()===void 0&&X.delete(e)});function ot(){let e,t;return{promise:new Promise((n,r)=>{e=n,t=r}),resolve:e,reject:t}}var Z=class{#e;#t;#n=y(!0);#r=[];#i=y(!1);#a=y();#o=y(null);#s=y(u([]));#c=v(()=>{if(m(this.#i))return m(this.#s).reduce((e,t)=>t(e),m(this.#a))});#l=y(void 0);#u=v(()=>{let e=this.#d();return m(this.#s).length,(t,r)=>{let i=e.then(n).then(()=>{if(!m(this.#i))throw new F(m(this.#l)??{status:500,message:`Query resolved without a value`});return m(this.#c)});return t||r?i.then(t,r):i}});constructor(e,t){if(this.#e=e,this.#t=t,Object.hasOwn(z,e)){let t=z[e];delete z[e],t.e?this.fail(new F(t.e)):this.set(t.v)}}#d(){return g(()=>m(this.#o)??c(this.#o,this.#p())),m(this.#o)}start(){n().then(()=>this.#d()).catch(L)}#f(){this.#r.forEach(e=>e(void 0)),this.#r.length=0}#p(){c(this.#n,!0);let{promise:e,resolve:t,reject:n}=ot();return e.catch(L),this.#r.push(t),Promise.resolve(this.#t()).then(e=>{let n=this.#r.indexOf(t);n!==-1&&g(()=>{this.#r.splice(0,n+1).forEach(e=>e(void 0)),c(this.#i,!0),c(this.#n,!1),c(this.#a,e),c(this.#l,void 0)})}).catch(async e=>{if(!this.#r.includes(t))return;let r=await ve(e,{params:{},route:{id:null},url:new URL(location.href)}),i=this.#r.indexOf(t);i!==-1&&(g(()=>{this.#r.splice(0,i).forEach(e=>e(void 0)),this.#r.shift(),c(this.#l,r),c(this.#n,!1)}),n(new F(r)))}),e}get then(){return this.start(),m(this.#u)}get catch(){return this.start(),m(this.#u),e=>m(this.#u)(void 0,e)}get finally(){return this.start(),m(this.#u),e=>m(this.#u)(t=>(e(),t),t=>{throw e(),t})}get current(){return this.start(),m(this.#c)}get error(){return this.start(),m(this.#l)}get loading(){return this.start(),m(this.#n)}get ready(){return this.start(),m(this.#i)}refresh(){return delete z[this.#e],c(this.#o,this.#p())}set(e){delete z[this.#e];let t=this.#r.length>0;this.#f(),c(this.#i,!0),c(this.#n,!1),c(this.#l,void 0),c(this.#a,e),t||c(this.#o,Promise.resolve())}fail(e){delete z[this.#e],this.#f(),c(this.#n,!1),c(this.#l,e.body);let t=Promise.reject(e);t.catch(L),c(this.#o,t)}withOverride(e){m(this.#s).push(e);let t=(()=>{let t=m(this.#s).indexOf(e);t!==-1&&m(this.#s).splice(t,1)});return Object.defineProperty(t,K,{value:this.#e}),t}reset(){c(this.#o,null),delete z[this.#e]}get[Symbol.toStringTag](){return`Query`}},Q=class{#e;#t;#n=new FinalizationRegistry(({entry:e,id:t,payload:n})=>{this.deref(e,t,n)});constructor(e,t){this.#e=e,this.#t=t}ensure_entry=(e,t,n)=>{let r=this.#e.get(e);r||(r=new Map,this.#e.set(e,r));let i=r.get(t);if(!i){let e={proxy_count:0,resource:null,cleanup:null};e.cleanup=_(()=>{e.resource=n()}),i=e,r.set(t,i)}return i};ref=(e,t,n,r)=>{t.proxy_count++,this.#n.register(e,{entry:t,id:n,payload:r})};manual_ref=(e,t,n)=>(e.proxy_count++,Ce(()=>this.deref(e,t,n)));deref=(e,t,r)=>{e.proxy_count--,n().then(()=>{let e=this.#e.get(t)?.get(r);!e||e.proxy_count>0||this.#r(t,r)})};#r=(e,t)=>{let n=this.#e.get(e),r=n?.get(t);r&&(this.#t?.(r.resource),r.cleanup(),n?.delete(t),n&&n.size===0&&this.#e.delete(e))}},$=new Q(R),st=class{#e;#t;#n;#r;constructor(e,t,n){this.#e=e,this.#n=_e(t),this.#t=ye(e,this.#n),Object.defineProperty(this,it,{value:this.#t}),this.#r=n;let r=this.#t,i=this.#n,a=$.ensure_entry(this.#e,this.#n,()=>new Z(r,()=>n(i)));$.ref(this,a,this.#e,this.#n)}#i(){let e=R.get(this.#e)?.get(this.#n);if(!e)throw Error(`No cached query found. This should be impossible. Please file a bug report.`);return e.resource}get current(){return this.#i().current}get error(){return this.#i().error}get loading(){return this.#i().loading}get ready(){return this.#i().ready}refresh(){return this.#i().refresh()}set(e){this.#i().set(e)}withOverride(e){let t=this.#r,n=this.#t,r=this.#n,i=$.ensure_entry(this.#e,this.#n,()=>new Z(n,()=>t(r))),a=$.manual_ref(i,this.#e,this.#n),o=i.resource.withOverride(e),s=(()=>{o(),a()});return Object.defineProperty(s,K,{value:o[K]}),s}get then(){q(R,$,this.#e,this.#n);let e=this.#i();return J(R,$,this.#e,this.#n,e.then.bind(e))}get catch(){q(R,$,this.#e,this.#n);let e=this.#i();return J(R,$,this.#e,this.#n,e.catch.bind(e))}get finally(){q(R,$,this.#e,this.#n);let e=this.#i();return J(R,$,this.#e,this.#n,e.finally.bind(e))}get[Symbol.toStringTag](){return`QueryProxy`}};function ct(e){let t=t=>new st(e,t,async t=>{let n=await at(`${pe}/${me}/remote/${e}${t?`?payload=${t}`:``}`);n.redirect&&await Se(n.redirect)});return Object.defineProperty(t,rt,{value:e}),t}new Q(ge,e=>e.destroy());var lt=ct(`1j2tn2d/getSessions`),ut=class{url;constructor(e){this.url=e}async list(){let e=lt();return await e.refresh(),e.current}start(e,t){return W(this.url,{method:`POST`,body:{name:e,run:t}})}async end(){await U(`${this.url}/end`,{method:`POST`})}async delete(e){await U(`${this.url}/${e}`,{method:`DELETE`})}};function dt(e,t){let n=ce(e,t);if(n.success)return{ok:!0,value:n.output};let[r]=n.issues;return{ok:!1,field:oe(r)??`(body)`,message:r.message}}var ft=1e3,pt=class{streamUrl;speechUrl;constructor(e,t){this.streamUrl=e,this.speechUrl=t}open(e,t,n){return n.onState(`connecting`),t?this.follow(e,n):this.read(e,n)}listen(e,t){let n=this.stream(`since=${e}`,e=>t.onEntry(e));return this.report(n,e=>t.onState(e)),()=>n.close()}follow(e,t){let n=this.stream(`session=${encodeURIComponent(String(e))}&since=0`,e=>t.onEntry(e));return this.report(n,e=>t.onState(e)),n.addEventListener(`clear`,()=>t.onClear()),()=>n.close()}report(e,t){e.onopen=()=>t(`live`),e.onerror=()=>t(e.readyState===EventSource.CLOSED?`failed`:`reconnecting`)}stream(e,t){let n=new EventSource(`${this.streamUrl}?${e}`);return n.addEventListener(`entry`,e=>{let n;try{n=JSON.parse(e.data)}catch{return}let r=dt(ie,n);r.ok&&t(r.value)}),n}read(e,t){let n=new AbortController;return(async()=>{let r=0;for(;;){let i=new URLSearchParams({session:String(e),since:String(r),limit:String(ft)}),{entries:a,hasMore:o}=await W(`${this.speechUrl}?${i}`,{signal:n.signal});t.onEntries(a);let s=a.at(-1);if(!o||s===void 0)return;r=s.seq}})().then(()=>t.onState(`ended`),()=>{n.signal.aborted||t.onState(`failed`)}),()=>n.abort()}},mt=class{url;constructor(e){this.url=e}fetch(){return W(this.url)}};function ht(e){return e===`1`||e!==`0`&&null}function gt(e){return e?`1`:`0`}var _t=`sr-sessions-collapsed`,vt=class{read(){try{return ht(localStorage.getItem(_t))}catch{return null}}write(e){try{localStorage.setItem(_t,gt(e))}catch{}}};function yt(e){let t=y(null),n=y(!0),r=y(!1),i=null;function a(){return i||(c(r,!0),i=e.fetch().then(e=>{c(t,e,!0),c(n,!0)}).catch(()=>{c(n,!1)}).finally(()=>{i=null,c(r,!1)}),i)}return{get loaded(){return m(t)!==null},get reachable(){return m(n)},get reading(){return m(r)},get active(){return m(t)?.active??null},get saved(){return m(t)?.saved??null},get overrides(){return m(t)?.overrides??{}},seed(e){e!==null&&(c(t,e,!0),c(n,!0))},refresh(){return a()},async save(t){await e.update(t),await i,await a()}}}function bt(e){let t=y(!0);return{get collapsed(){return m(t)},init(){c(t,e.read()??!1,!0)},toggle(){c(t,!m(t)),e.write(m(t))}}}var xt=3e3;function St(e){let t=y(u([])),n=y(null),r=y(0),i=y(!0),a=y(!1),o=y(u(Date.now())),s=null;function l(e,i=Date.now()){c(t,e.sessions,!0),c(n,e.currentId,!0),c(r,e.outsideEntries,!0),c(o,i,!0),c(a,!0)}function d(){return s||(s=e.list().then(e=>{l(e),c(i,!0)}).catch(()=>{c(i,!1)}).finally(()=>{s=null}),s)}async function f(){await s,await d()}return{get sessions(){return m(t)},get currentId(){return m(n)},get outsideEntries(){return m(r)},get loaded(){return m(a)},get reachable(){return m(i)},get now(){return m(o)},seed(e,t){e!==null&&!m(a)&&l(e,t)},init(){d();let e=setInterval(()=>{m(n)!==null&&c(o,Date.now(),!0)},1e3),t=setInterval(()=>void d(),xt);return()=>{clearInterval(e),clearInterval(t)}},refresh(){return f()},async start(t,n){let r=await e.start(t,n);return await f(),r},async end(){await e.end(),await f()},async delete(t){await e.delete(t),await f()}}}function Ct(e,t){let n=y([]),r=y(`connecting`),i=null;function a(){i?.(),i=null}function o(e){let t=m(n).at(-1)?.seq??0,r=[];for(let n of e)n.seq<=t||(r.push(n),t=n.seq);if(r.length===0)return;let i=[...m(n),...r];c(n,i.length>5e3?i.slice(i.length-se):i)}return{get entries(){return m(n)},get connection(){return m(r)},open(t,s){return a(),c(n,[]),c(r,`connecting`),i=e.open(t,s,{onEntry:e=>o([e]),onEntries:o,onClear(){c(n,[])},onState(e){c(r,e,!0)}}),a},clear(e){return t.clear(e)},addMarker(e){return t.addMarker(e)}}}function wt(e){let t=y(null),n=y(!0),r=y(!1),i=null;function a(){return i||(c(r,!0),i=e.fetch().then(e=>{c(t,e,!0),c(n,!0)}).catch(()=>{c(n,!1)}).finally(()=>{c(r,!1),i=null}),i)}return{get status(){return m(t)},get reachable(){return m(n)},get loading(){return m(r)},seed(e){e!==null&&m(t)===null&&c(t,e,!0)},init(){a()},retry(){return a()}}}function Tt(e){let t=y(u(de));return{get current(){return m(t)},init(){c(t,e.read()??`light`,!0)},set(n){c(t,n,!0),e.write(n)}}}function Et(e,t,n){let r=y(`idle`),i=y(`manual`),a=y([]),o=y(!1),s=y(``),l=0,u=null,d;function f(){l++,clearTimeout(d),u?.(),u=null,c(o,!1)}function p(e){f(),c(r,`failed`),c(s,e,!0)}function h(){d=setTimeout(()=>{m(o)?p(`The connection to the bridge was lost.`):(f(),c(r,`silent`))},Oe)}async function g(n){c(r,`starting`);let i;try{i=(await e.fetch()).buffer.lastSeq??0}catch{n===l&&p(`The bridge is not reachable.`);return}n===l&&(c(r,`listening`),u=t.listen(i,{onEntry(e){n===l&&e.kind!==`marker`&&(c(a,[...m(a),e]),c(r,`heard`),clearTimeout(d),m(a).length>=5?f():d=setTimeout(f,Ee))},onState(e){n===l&&(e===`failed`?m(r)===`heard`?f():p(`The speech stream is not available.`):c(o,e===`reconnecting`))}}),h())}async function _(e){c(r,`listening`);let t=new AbortController;u=()=>t.abort();try{let i=await n.pressAndCapture(De,ke,t.signal);if(e!==l)return;f(),c(a,i.entries.slice(0,5)),c(r,m(a).length>0?`heard`:`silent`,!0)}catch(t){e===l&&p(t instanceof Error?t.message:`The keys could not be sent.`)}}return{get phase(){return m(r)},get via(){return m(i)},get entries(){return m(a)},get reconnecting(){return m(o)},get failure(){return m(s)},async start(e){f(),c(i,e,!0),c(a,[]),c(s,``),await(e===`manual`?g(l):_(l))},stop(){f(),c(r,`idle`),c(a,[]),c(s,``)}}}function Dt(){let e=new mt(P(`/api/status`)),t=new pt(P(`/api/speech/stream`),P(`/api/speech`)),n=new nt(P(`/api/markers`),P(`/api/speech`)),r=new qe;return{theme:Tt(new Ye),status:wt(e),config:yt(new et(P(`/api/config`))),sessions:St(new ut(P(`/api/sessions`))),speech:Ct(t,n),voiceCheck:Et(e,t,new tt(P(`/api/input/keys`))),sessionsPane:bt(new vt),clipboard:r}}function Ot(){return ee(re,Dt())}var kt=i(`<link rel="icon"/> <link rel="preload" as="font" type="font/woff2" crossorigin="anonymous"/> <meta name="color-scheme" content="light dark"/>`,1),At=i(`<div class="app svelte-12qhfyh"><!> <div class="body svelte-12qhfyh"><!> <main class="svelte-12qhfyh"><!></main></div></div>`);function jt(t,n){e(n,!0);let{theme:r}=Ot(),i=[{href:P(`/`),label:`Monitor`,icon:`monitor`,exact:!0},{href:P(`/settings`),label:`Settings`,icon:`settings`},{href:P(`/setup`),label:`Setup`,icon:`build`}];M(()=>{r.init(),Ze()});var a=At();C(`12qhfyh`,e=>{var t=kt(),n=f(t),r=s(n,2);D(2),o(()=>{x(n,`href`,Ae),x(r,`href`,je)}),N(e,t)});var c=d(a);Ue(c,{get host(){return B.url.host}});var l=s(c,2),u=d(l);Ke(u,{get items(){return i},get currentPath(){return B.url.pathname}});var m=s(u,2),h=d(m);te(h,()=>n.children),k(m),k(l),k(a),N(t,a),p()}export{jt as component};
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import{$ as e,A as t,D as n,E as r,F as i,G as a,I as o,J as s,K as c,M as l,N as u,O as d,P as f,Q as p,R as m,S as h,U as g,V as _,X as v,Y as y,_ as b,a as x,d as S,f as C,g as w,j as T,k as E,l as D,m as O,n as k,nt as A,r as j,rt as M,s as N,t as P,u as F,v as I,w as L,y as R}from"../chunks/B__KpOuX.js";import{r as z}from"../chunks/JsC3ASJq.js";import{t as B}from"../chunks/BkoDSEOx.js";import"../chunks/UKukklIc.js";import{n as V}from"../chunks/BEImj5AP.js";import"../chunks/C06IiL6m.js";import{A as H,S as U,j as W,k as G,n as K}from"../chunks/DRNNJMYk.js";import{n as q}from"../chunks/w5i9ZoX_.js";import{n as J,t as Y}from"../chunks/BuwZGWCm.js";import{t as X}from"../chunks/DWjfB3ah.js";import{a as Z,d as ee,i as te,n as ne,o as re,r as ie,s as ae}from"../chunks/Cb63XE4v.js";import"../chunks/OAsMjdHF.js";import"../chunks/vPs9G1oN.js";var oe=r(`<div class="banner svelte-qexebn" role="note"><md-icon>warning</md-icon> <p class="svelte-qexebn"><strong>The speech log is hidden from the screen reader.</strong> This page is opened on the bridge's own machine (loopback or its own network address): the screen
|
|
2
|
-
reader would read new rows aloud and they would be recorded again. Open the UI from another machine
|
|
3
|
-
to read the log with a screen reader.</p></div>`,2);function se(e){var t=oe(),n=u(t);N(n,`aria-hidden`,`true`),F(n,1,`svelte-qexebn`),A(2),M(t),L(e,t)}var ce=class extends J{renderElevationOrOutline(){return U`<md-elevation part="elevation"></md-elevation>`}},le=G`:host{--_container-color: var(--md-filled-tonal-button-container-color, var(--md-sys-color-secondary-container, #e8def8));--_container-elevation: var(--md-filled-tonal-button-container-elevation, 0);--_container-height: var(--md-filled-tonal-button-container-height, 40px);--_container-shadow-color: var(--md-filled-tonal-button-container-shadow-color, var(--md-sys-color-shadow, #000));--_disabled-container-color: var(--md-filled-tonal-button-disabled-container-color, var(--md-sys-color-on-surface, #1d1b20));--_disabled-container-elevation: var(--md-filled-tonal-button-disabled-container-elevation, 0);--_disabled-container-opacity: var(--md-filled-tonal-button-disabled-container-opacity, 0.12);--_disabled-label-text-color: var(--md-filled-tonal-button-disabled-label-text-color, var(--md-sys-color-on-surface, #1d1b20));--_disabled-label-text-opacity: var(--md-filled-tonal-button-disabled-label-text-opacity, 0.38);--_focus-container-elevation: var(--md-filled-tonal-button-focus-container-elevation, 0);--_focus-label-text-color: var(--md-filled-tonal-button-focus-label-text-color, var(--md-sys-color-on-secondary-container, #1d192b));--_hover-container-elevation: var(--md-filled-tonal-button-hover-container-elevation, 1);--_hover-label-text-color: var(--md-filled-tonal-button-hover-label-text-color, var(--md-sys-color-on-secondary-container, #1d192b));--_hover-state-layer-color: var(--md-filled-tonal-button-hover-state-layer-color, var(--md-sys-color-on-secondary-container, #1d192b));--_hover-state-layer-opacity: var(--md-filled-tonal-button-hover-state-layer-opacity, 0.08);--_label-text-color: var(--md-filled-tonal-button-label-text-color, var(--md-sys-color-on-secondary-container, #1d192b));--_label-text-font: var(--md-filled-tonal-button-label-text-font, var(--md-sys-typescale-label-large-font, var(--md-ref-typeface-plain, Roboto)));--_label-text-line-height: var(--md-filled-tonal-button-label-text-line-height, var(--md-sys-typescale-label-large-line-height, 1.25rem));--_label-text-size: var(--md-filled-tonal-button-label-text-size, var(--md-sys-typescale-label-large-size, 0.875rem));--_label-text-weight: var(--md-filled-tonal-button-label-text-weight, var(--md-sys-typescale-label-large-weight, var(--md-ref-typeface-weight-medium, 500)));--_pressed-container-elevation: var(--md-filled-tonal-button-pressed-container-elevation, 0);--_pressed-label-text-color: var(--md-filled-tonal-button-pressed-label-text-color, var(--md-sys-color-on-secondary-container, #1d192b));--_pressed-state-layer-color: var(--md-filled-tonal-button-pressed-state-layer-color, var(--md-sys-color-on-secondary-container, #1d192b));--_pressed-state-layer-opacity: var(--md-filled-tonal-button-pressed-state-layer-opacity, 0.12);--_disabled-icon-color: var(--md-filled-tonal-button-disabled-icon-color, var(--md-sys-color-on-surface, #1d1b20));--_disabled-icon-opacity: var(--md-filled-tonal-button-disabled-icon-opacity, 0.38);--_focus-icon-color: var(--md-filled-tonal-button-focus-icon-color, var(--md-sys-color-on-secondary-container, #1d192b));--_hover-icon-color: var(--md-filled-tonal-button-hover-icon-color, var(--md-sys-color-on-secondary-container, #1d192b));--_icon-color: var(--md-filled-tonal-button-icon-color, var(--md-sys-color-on-secondary-container, #1d192b));--_icon-size: var(--md-filled-tonal-button-icon-size, 18px);--_pressed-icon-color: var(--md-filled-tonal-button-pressed-icon-color, var(--md-sys-color-on-secondary-container, #1d192b));--_container-shape-start-start: var(--md-filled-tonal-button-container-shape-start-start, var(--md-filled-tonal-button-container-shape, var(--md-sys-shape-corner-full, 9999px)));--_container-shape-start-end: var(--md-filled-tonal-button-container-shape-start-end, var(--md-filled-tonal-button-container-shape, var(--md-sys-shape-corner-full, 9999px)));--_container-shape-end-end: var(--md-filled-tonal-button-container-shape-end-end, var(--md-filled-tonal-button-container-shape, var(--md-sys-shape-corner-full, 9999px)));--_container-shape-end-start: var(--md-filled-tonal-button-container-shape-end-start, var(--md-filled-tonal-button-container-shape, var(--md-sys-shape-corner-full, 9999px)));--_leading-space: var(--md-filled-tonal-button-leading-space, 24px);--_trailing-space: var(--md-filled-tonal-button-trailing-space, 24px);--_with-leading-icon-leading-space: var(--md-filled-tonal-button-with-leading-icon-leading-space, 16px);--_with-leading-icon-trailing-space: var(--md-filled-tonal-button-with-leading-icon-trailing-space, 24px);--_with-trailing-icon-leading-space: var(--md-filled-tonal-button-with-trailing-icon-leading-space, 24px);--_with-trailing-icon-trailing-space: var(--md-filled-tonal-button-with-trailing-icon-trailing-space, 16px)}
|
|
4
|
-
`;le.styleSheet;var Q=class extends ce{};Q.styles=[Y,q,le],Q=W([H(`md-filled-tonal-button`)],Q);var ue=r(`<p role="alert" class="failure svelte-qieqgw"> </p>`),de=r(`<md-dialog><div slot="headline">Clear speech?</div> <div slot="content"><p class="svelte-qieqgw">The speech of <strong> </strong> is removed from the bridge. The session keeps running.
|
|
5
|
-
This cannot be undone.</p> <!></div> <div slot="actions"><md-text-button>Cancel</md-text-button> <md-text-button>Clear</md-text-button></div></md-dialog>`,2);function fe(n,r){e(r,!0);let l=y(``),d=y(!1);c(()=>{r.open&&s(l,``)});async function f(){if(!m(d)){s(l,``),s(d,!0);try{await r.onClear(),r.onClose()}catch(e){s(l,e instanceof Error?e.message:`The speech could not be cleared.`,!0)}finally{s(d,!1)}}}var g=de();a(()=>N(g,`open`,r.open)),F(g,1,`svelte-qieqgw`);var _=o(u(g),2),v=u(_),x=o(u(v)),S=i(x,!0);A(),M(v);var C=o(v,2),w=e=>{var t=ue(),n=i(t,!0);a(()=>h(n,m(l))),L(e,t)};b(C,e=>{m(l)!==``&&e(w)}),M(_);var E=o(_,2),D=u(E);N(D,`type`,`button`);var O=o(D,2);N(O,`type`,`button`),a(()=>N(O,`disabled`,m(d))),M(E),M(g),a(()=>h(S,r.heading)),T(`closed`,g,function(...e){r.onClose?.apply(this,e)}),t(`click`,D,function(...e){r.onClose?.apply(this,e)}),t(`click`,O,f),L(n,g),p()}E([`click`]);var pe=r(`<p role="alert" class="failure svelte-1sof82u"> </p>`),me=r(`<md-dialog><div slot="headline">Delete session?</div> <div slot="content"><p class="svelte-1sof82u"><strong> </strong> and its speech are removed from the bridge. This cannot be undone.</p> <!></div> <div slot="actions"><md-text-button>Cancel</md-text-button> <md-text-button>Delete</md-text-button></div></md-dialog>`,2);function he(n,r){e(r,!0);let l=y(``),d=y(!1);c(()=>{r.open&&s(l,``)});async function f(){if(!m(d)){s(l,``),s(d,!0);try{await r.onDelete(),r.onClose()}catch(e){s(l,e instanceof Error?e.message:`The session could not be deleted.`,!0)}finally{s(d,!1)}}}var g=me();a(()=>N(g,`open`,r.open)),F(g,1,`svelte-1sof82u`);var _=o(u(g),2),v=u(_),x=u(v),S=i(x,!0);A(),M(v);var C=o(v,2),w=e=>{var t=pe(),n=i(t,!0);a(()=>h(n,m(l))),L(e,t)};b(C,e=>{m(l)!==``&&e(w)}),M(_);var E=o(_,2),D=u(E);N(D,`type`,`button`);var O=o(D,2);N(O,`type`,`button`),a(()=>N(O,`disabled`,m(d))),M(E),M(g),a(()=>h(S,r.heading)),T(`closed`,g,function(...e){r.onClose?.apply(this,e)}),t(`click`,D,function(...e){r.onClose?.apply(this,e)}),t(`click`,O,f),L(n,g),p()}E([`click`]);var ge=r(`<p role="alert" class="failure svelte-ttl1x5"> </p>`),_e=r(`<md-dialog><div slot="headline">Add a marker</div> <form slot="content" id="add-marker-form" novalidate="" class="svelte-ttl1x5"><md-outlined-text-field></md-outlined-text-field> <!></form> <div slot="actions"><md-text-button>Cancel</md-text-button> <md-text-button>Add</md-text-button></div></md-dialog>`,2);function ve(n,r){e(r,!0);let l=y(``),d=y(``),f=y(``),g=y(!1);c(()=>{r.open&&(s(l,``),s(d,``),s(f,``))});async function _(e){if(e.preventDefault(),m(g))return;let t=m(l).trim();if(t===``)s(d,`Enter a label.`);else{s(d,``),s(f,``),s(g,!0);try{await r.onAdd(t),r.onClose()}catch(e){s(f,e instanceof Error?e.message:`The marker could not be added.`,!0)}finally{s(g,!1)}}}var v=_e();a(()=>N(v,`open`,r.open)),F(v,1,`svelte-ttl1x5`);var x=o(u(v),2),S=u(x);N(S,`label`,`Label`),N(S,`required`,!0),a(()=>N(S,`maxlength`,X.markerLength)),N(S,`supporting-text`,`Shows in the log as a row of its own, for example “step 3”.`),a(()=>N(S,`value`,m(l))),a(()=>N(S,`error`,m(d)!==``)),a(()=>N(S,`error-text`,m(d)));var C=o(S,2),w=e=>{var t=ge(),n=i(t,!0);a(()=>h(n,m(f))),L(e,t)};b(C,e=>{m(f)!==``&&e(w)}),M(x);var E=o(x,2),D=u(E);N(D,`type`,`button`);var O=o(D,2);N(O,`type`,`submit`),N(O,`form`,`add-marker-form`),a(()=>N(O,`disabled`,m(g))),M(E),M(v),T(`closed`,v,function(...e){r.onClose?.apply(this,e)}),T(`submit`,x,_),t(`input`,S,e=>s(l,e.target.value,!0)),t(`click`,D,function(...e){r.onClose?.apply(this,e)}),L(n,v),p()}E([`input`,`click`]);var ye=r(`<span class="pill svelte-5c13xh"><md-icon>bookmark</md-icon> <span class="visually-hidden">Marker:</span> <span class="label mono svelte-5c13xh"> </span></span>`,2),be=r(`<tr><td class="time mono svelte-5c13xh"> </td><td class="text svelte-5c13xh"><!></td><td class="seq mono svelte-5c13xh"> </td></tr>`),xe=r(`<p hidden=""></p> <table aria-label="Speech" class="svelte-5c13xh"><thead class="svelte-5c13xh"><tr><th scope="col" class="svelte-5c13xh">Received</th><th scope="col" class="svelte-5c13xh">Spoken text</th><th scope="col" class="seq svelte-5c13xh" aria-label="Seq"><span class="seq-head svelte-5c13xh">Seq <span class="help svelte-5c13xh" aria-hidden="true"><md-icon>help</md-icon></span></span></th></tr></thead><tbody class="svelte-5c13xh"></tbody></table>`,3);function Se(t,r){let s=n();e(r,!0);let c=e=>Date.now()-Date.parse(e.receivedAt)<2e3;var l=xe(),g=f(l);g.textContent=`Seq is the entry's number in the API (since, --since). It is large because it starts at the bridge's start time; only its order matters. Numbers can be skipped.`;var _=o(g,2),v=u(_),y=u(v),S=o(u(y),2),C=u(S),w=o(u(C));x(w,`title`,`Seq is the entry's number in the API (since, --since). It is large because it starts at the bridge's start time; only its order matters. Numbers can be skipped.`);var T=u(w);N(T,`aria-hidden`,`true`),F(T,1,`svelte-5c13xh`),M(w),M(C),M(S),M(y),M(v);var E=o(v);O(E,21,()=>r.entries,e=>e.seq,(e,t)=>{var n=be();let r;var s=u(n),l=i(s,!0),f=o(s),p=u(f),g=e=>{var n=ye(),r=u(n);N(r,`aria-hidden`,`true`),F(r,1,`svelte-5c13xh`);var s=o(r,4),c=i(s,!0);M(n),a(()=>{x(n,`title`,m(t).text),h(c,m(t).text)}),L(e,n)},_=e=>{var n=d();a(()=>h(n,m(t).text)),L(e,n)};b(p,e=>{m(t).kind===`marker`?e(g):e(_,-1)}),M(f);var v=o(f),y=i(v);M(n),a((e,i)=>{r=F(n,1,`svelte-5c13xh`,null,r,{fresh:e,marker:m(t).kind===`marker`}),h(l,i),h(y,`#${m(t).seq??``}`)},[()=>c(m(t)),()=>Z(m(t).receivedAt)]),L(e,n)}),M(E),M(_),a(()=>{x(g,`id`,s),x(_,`aria-describedby`,s)}),L(t,l),p()}var Ce=r(`<md-icon-button><md-icon>bookmark_add</md-icon></md-icon-button>`,2),we=r(`<md-icon-button><md-icon>delete_sweep</md-icon></md-icon-button>`,2),Te=r(`<md-icon-button><md-icon>delete</md-icon></md-icon-button>`,2),Ee=r(`<div role="toolbar" aria-label="Log actions"><!> <!> <!></div>`),De=r(`<p class="title svelte-1jnrixz">No entries left</p> <p class="svelte-1jnrixz">This session's entries are no longer in the buffer.</p>`,1),Oe=r(`<p class="title svelte-1jnrixz">No speech yet</p> <p class="svelte-1jnrixz">Make the screen reader speak.</p>`,1),ke=r(`<div class="empty svelte-1jnrixz"><md-icon>mic</md-icon> <!></div>`,2),Ae=r(`<p role="status" class="mono svelte-1jnrixz">Connection lost, reconnecting…</p>`),je=r(`<p role="alert" class="mono failed svelte-1jnrixz">The speech could not be loaded.</p>`),Me=r(`<span></span>`),Ne=r(`<md-filled-tonal-button><md-icon>arrow_downward</md-icon> Jump to latest</md-filled-tonal-button>`,2),Pe=r(`<footer class="svelte-1jnrixz"><!> <!></footer>`),Fe=r(`<section class="log svelte-1jnrixz"><header class="svelte-1jnrixz"><h2 class="trunc svelte-1jnrixz"> </h2> <!></header> <div class="scroll svelte-1jnrixz"><!> <!></div> <!></section> <!> <!> <!>`,1);function Ie(n,r){e(r,!0);let l=P(r,`local`,3,!1),d=y(!1),g=y(!1),_=y(!1),v=y(void 0),S=y(!0);function C(){m(v)&&s(S,m(v).scrollHeight-m(v).scrollTop-m(v).clientHeight<=48)}function w(){s(S,!0),m(v)?.scrollTo({top:m(v).scrollHeight})}function E(e){l()&&e.currentTarget.blur()}c(()=>{r.entries.length===0&&s(S,!0),m(S)&&m(v)&&(m(v).scrollTop=m(v).scrollHeight)});var D=Fe(),O=f(D),j=u(O),I=u(j),R=i(I,!0),z=o(I,2),B=e=>{var n=Ee(),i=u(n),c=e=>{var n=Ce();N(n,`title`,`Add marker`),N(n,`aria-label`,`Add marker`);var r=u(n);N(r,`aria-hidden`,`true`),M(n),t(`click`,n,()=>s(d,!0)),L(e,n)};b(i,e=>{r.canMark&&e(c)});var l=o(i,2),f=e=>{var n=we();N(n,`title`,`Clear speech`),N(n,`aria-label`,`Clear speech`),a(()=>N(n,`disabled`,r.entries.length===0));var i=u(n);N(i,`aria-hidden`,`true`),M(n),t(`click`,n,()=>s(_,!0)),L(e,n)};b(l,e=>{r.canClear&&e(f)});var p=o(l,2),m=e=>{var n=Te();N(n,`title`,`Delete session`),N(n,`aria-label`,`Delete session`);var r=u(n);N(r,`aria-hidden`,`true`),M(n),t(`click`,n,()=>s(g,!0)),L(e,n)};b(p,e=>{r.canDelete&&e(m)}),M(n),L(e,n)};b(z,e=>{(r.canMark||r.canClear||r.canDelete)&&e(B)}),M(j);var V=o(j,2),H=u(V);Se(H,{get entries(){return r.entries}});var U=o(H,2),W=e=>{var t=ke(),n=u(t);N(n,`aria-hidden`,`true`),F(n,1,`svelte-1jnrixz`);var i=o(n,2),a=e=>{var t=De();A(2),L(e,t)},s=e=>{var t=Oe();A(2),L(e,t)};b(i,e=>{r.connection===`ended`?e(a):e(s,-1)}),M(t),L(e,t)};b(U,e=>{r.entries.length===0&&e(W)}),M(V),k(V,e=>s(v,e),()=>m(v));var G=o(V,2),K=e=>{var n=Pe(),i=u(n),a=e=>{var t=Ae();L(e,t)},s=e=>{var t=je();L(e,t)},c=e=>{var t=Me();L(e,t)};b(i,e=>{r.connection===`reconnecting`?e(a):r.connection===`failed`?e(s,1):e(c,-1)});var l=o(i,2),d=e=>{var n=Ne(),r=u(n);N(r,`slot`,`icon`),N(r,`aria-hidden`,`true`),A(),M(n),t(`click`,n,w),L(e,n)};b(l,e=>{m(S)||e(d)}),M(n),L(e,n)};b(G,e=>{r.connection!==`reconnecting`&&r.connection!==`failed`&&m(S)||e(K)}),M(O);var q=o(O,2),J=e=>{ve(e,{get open(){return m(d)},get onAdd(){return r.onAddMarker},onClose:()=>s(d,!1)})};b(q,e=>{r.canMark&&e(J)});var Y=o(q,2),X=e=>{fe(e,{get open(){return m(_)},get heading(){return r.heading},get onClear(){return r.onClear},onClose:()=>s(_,!1)})};b(Y,e=>{r.canClear&&e(X)});var Z=o(Y,2),ee=e=>{he(e,{get open(){return m(g)},get heading(){return r.heading},get onDelete(){return r.onDelete},onClose:()=>s(g,!1)})};b(Z,e=>{r.canDelete&&e(ee)}),a(()=>{h(R,r.heading),x(V,`role`,l()?void 0:`region`),x(V,`aria-label`,l()?void 0:`Speech log`),x(V,`aria-live`,l()?void 0:`off`),x(V,`aria-hidden`,l()?`true`:void 0),x(V,`tabindex`,l()?-1:0)}),T(`scroll`,V,C),T(`focus`,V,E),L(n,D),p()}E([`click`]);var Le=r(`<md-icon>visibility</md-icon>`,2),Re=r(`<span class="subtitle svelte-3qlloz"><!></span>`),ze=r(`<button type="button" role="option"><md-ripple></md-ripple> <span class="marker svelte-3qlloz"><!></span> <span class="text svelte-3qlloz" aria-hidden="true"><span class="title svelte-3qlloz"> </span> <!></span> <span class="visually-hidden"> </span></button>`,2);function Be(e,r){let s=n(),c=P(r,`selected`,3,!1),l=`${s}-name`;var d=ze();let f,p;var m=u(d);N(m,`aria-hidden`,`true`);var g=o(m,2),_=u(g),v=e=>{var t=Le();N(t,`aria-hidden`,`true`),L(e,t)};b(_,e=>{c()&&e(v)}),M(g);var y=o(g,2),S=u(y),C=i(S,!0),w=o(S,2),T=e=>{var t=Re(),n=u(t);R(n,()=>r.subtitle),M(t),L(e,t)};b(w,e=>{r.subtitle&&e(T)}),M(y);var E=o(y,2),O=i(E);M(d),a(()=>{f=F(d,1,`option svelte-3qlloz`,null,f,{selected:c()}),x(d,`aria-selected`,c()),x(d,`aria-labelledby`,l),p=D(d,``,p,{"--list-item-shape":r.shape}),h(C,r.title),x(E,`id`,l),h(O,`${r.title??``}, ${r.description??``}`)}),t(`click`,d,function(...e){r.onSelect?.apply(this,e)}),L(e,d)}E([`click`]);function Ve(e){let t=Math.max(0,Math.floor(e/1e3)),n=Math.floor(t/3600),r=Math.floor(t%3600/60),i=t%60;return n>0?`${n} h ${String(r).padStart(2,`0`)} min`:r>0?`${r} min ${i} s`:`${i} s`}function He(e,t){let n=Ve((e.endedAt===null?t:Date.parse(e.endedAt))-Date.parse(e.startedAt)),r=e.endedAt===null,i=`${e.entries} ${e.entries===1?`entry`:`entries`}`,a=[r?`live`:null,e.run===null?null:`run ${e.run}`,r?null:n,r?null:i,`Session ${e.id}`];return{id:`#${e.id}`,run:e.run,duration:n,entries:i,spoken:a.filter(e=>e!==null).join(`, `)}}var $=`none`,Ue=/^[1-9]\d*$/;function We(e){if(e===`none`)return $;if(!Ue.test(e))return null;let t=Number(e);return Number.isSafeInteger(t)?t:null}function Ge(e,t,n){let r=e===null?null:We(e);return r===`none`?$:r!==null&&t.some(e=>e.id===r)?r:n??`none`}function Ke(e,t){let n=t.findIndex(t=>t.id===e);return n===-1?null:(t[n+1]??t[n-1])?.id??null}var qe=r(`<p class="svelte-17z3k9b">This session has no entries, so ending it deletes it. Its number is not reused.</p>`),Je=r(`<p class="svelte-17z3k9b">Speech captured after this belongs to no session.</p>`),Ye=r(`<p role="alert" class="failure svelte-17z3k9b"> </p>`),Xe=r(`<md-dialog><div slot="headline"> </div> <div slot="content"><!> <!></div> <div slot="actions"><md-text-button>Cancel</md-text-button> <md-text-button>End session</md-text-button></div></md-dialog>`,2);function Ze(n,r){e(r,!0);let l=v(()=>r.entries===0),d=y(``),f=y(!1);c(()=>{r.open&&s(d,``)});async function g(){if(!m(f)){s(d,``),s(f,!0);try{await r.onEnd(),r.onClose()}catch(e){s(d,e instanceof Error?e.message:`The session could not be ended.`,!0)}finally{s(f,!1)}}}var _=Xe();a(()=>N(_,`open`,r.open)),F(_,1,`svelte-17z3k9b`);var x=u(_),S=i(x),C=o(x,2),w=u(C),E=e=>{var t=qe();L(e,t)},D=e=>{var t=Je();L(e,t)};b(w,e=>{m(l)?e(E):e(D,-1)});var O=o(w,2),k=e=>{var t=Ye(),n=i(t,!0);a(()=>h(n,m(d))),L(e,t)};b(O,e=>{m(d)!==``&&e(k)}),M(C);var A=o(C,2),j=u(A);N(j,`type`,`button`);var P=o(j,2);N(P,`type`,`button`),a(()=>N(P,`disabled`,m(f))),M(A),M(_),a(()=>h(S,`${m(l)?`Drop`:`End`} session ${r.sessionId===null?``:`#${r.sessionId}`}?`)),T(`closed`,_,function(...e){r.onClose?.apply(this,e)}),t(`click`,j,function(...e){r.onClose?.apply(this,e)}),t(`click`,P,g),L(n,_),p()}E([`click`]);var Qe=r(`<span class="dot svelte-wvg2ho"></span>`),$e=r(`<span class="run svelte-wvg2ho"> </span>`),et=r(`<span class="meta svelte-wvg2ho"><!> <!> <span class="svelte-wvg2ho"> </span> <span class="svelte-wvg2ho"> </span> <span class="id svelte-wvg2ho"> </span></span>`);function tt(t,n){e(n,!0);let r=e=>{var t=et(),r=u(t),c=e=>{var t=Qe();L(e,t)};b(r,e=>{n.live&&e(c)});var l=o(r,2),d=e=>{var t=$e(),n=i(t,!0);a(()=>h(n,m(s).run)),L(e,t)};b(l,e=>{m(s).run!==null&&e(d)});var f=o(l,2),p=i(f,!0),g=o(f,2),_=i(g,!0),v=o(g,2),y=i(v,!0);M(t),a(()=>{h(p,m(s).duration),h(_,m(s).entries),h(y,m(s).id)}),L(e,t)},s=v(()=>He(n.session,n.now));Be(t,{get title(){return n.session.name},shape:`var(--md-sys-shape-corner-extra-large, 28px)`,get subtitle(){return r},get selected(){return n.selected},get description(){return m(s).spoken},get onSelect(){return n.onSelect}}),p()}var nt=r(`<p role="alert" class="failure svelte-2k1elc"> </p>`),rt=r(`<md-dialog><div slot="headline">Start a session</div> <form slot="content" id="start-session-form" novalidate="" class="svelte-2k1elc"><md-outlined-text-field></md-outlined-text-field> <md-outlined-text-field></md-outlined-text-field> <!></form> <div slot="actions"><md-text-button>Cancel</md-text-button> <md-text-button>Start</md-text-button></div></md-dialog>`,2);function it(n,r){e(r,!0);let l=y(``),d=y(``),f=y(``),g=y(``),_=y(!1);c(()=>{r.open&&(s(l,``),s(d,``),s(f,``),s(g,``))});async function v(e){if(e.preventDefault(),m(_))return;let t=m(l).trim();if(t===``)s(f,`Enter a name.`);else{s(f,``),s(g,``),s(_,!0);try{await r.onStart(t,m(d).trim()===``?null:m(d).trim()),r.onClose()}catch(e){s(g,e instanceof Error?e.message:`The session could not be started.`,!0)}finally{s(_,!1)}}}var x=rt();a(()=>N(x,`open`,r.open)),F(x,1,`svelte-2k1elc`);var S=o(u(x),2),C=u(S);N(C,`label`,`Name`),N(C,`required`,!0),a(()=>N(C,`maxlength`,X.sessionLabelLength)),a(()=>N(C,`value`,m(l))),a(()=>N(C,`error`,m(f)!==``)),a(()=>N(C,`error-text`,m(f)));var w=o(C,2);N(w,`label`,`Run (optional)`),N(w,`supporting-text`,`Groups sessions, for example one run id per test run.`),a(()=>N(w,`maxlength`,X.sessionLabelLength)),a(()=>N(w,`value`,m(d)));var E=o(w,2),D=e=>{var t=nt(),n=i(t,!0);a(()=>h(n,m(g))),L(e,t)};b(E,e=>{m(g)!==``&&e(D)}),M(S);var O=o(S,2),k=u(O);N(k,`type`,`button`);var A=o(k,2);N(A,`type`,`submit`),N(A,`form`,`start-session-form`),a(()=>N(A,`disabled`,m(_))),M(O),M(x),T(`closed`,x,function(...e){r.onClose?.apply(this,e)}),T(`submit`,S,v),t(`input`,C,e=>s(l,e.target.value,!0)),t(`input`,w,e=>s(d,e.target.value,!0)),t(`click`,k,function(...e){r.onClose?.apply(this,e)}),L(n,x),p()}E([`input`,`click`]);var at=r(`<span> </span>`),ot=r(`<md-icon-button><md-icon> </md-icon></md-icon-button>`,2),st=r(`<p class="empty svelte-1fz71rn">No sessions in the buffer. Start one with the play button.</p>`),ct=r(`<!> <div class="listbox svelte-1fz71rn" role="listbox" aria-label="Session to show"><!> <div class="outside svelte-1fz71rn"><!></div></div>`,1),lt=r(`<section aria-labelledby="sessions-heading"><header class="svelte-1fz71rn"><!> <h2 id="sessions-heading">Sessions</h2> <md-icon-button><md-icon> </md-icon></md-icon-button></header> <!></section> <!> <!>`,3);function ut(n,r){e(r,!0);let c=e=>{var t=at(),n=i(t,!0);a(()=>h(n,m(T))),L(e,t)},l=P(r,`collapsed`,3,!1),d=y(!1),g=y(!1),_=y(0),x=v(()=>r.currentId===null?`Start a session`:`End session ${r.currentId}`),C=v(()=>l()?`Expand sessions`:`Collapse sessions`),T=v(()=>r.outsideEntries===1?`1 entry`:`${r.outsideEntries} entries`),E=v(()=>[`Speech captured while no session was running`,...r.currentId===null?[]:[m(T)]].join(`, `));var k=lt(),A=f(k);let I;var R=u(A),z=u(R),B=e=>{var n=ot();F(n,1,`collapse`),a(()=>N(n,`title`,m(C))),a(()=>N(n,`aria-label`,m(C))),a(()=>N(n,`aria-expanded`,!l()));var o=u(n);N(o,`aria-hidden`,`true`);var s=i(o,!0);M(n),a(()=>h(s,l()?`left_panel_open`:`left_panel_close`)),t(`click`,n,function(...e){r.onToggleCollapse?.apply(this,e)}),L(e,n)};b(z,e=>{r.onToggleCollapse&&e(B)});var V=o(z,2);let H;var U=o(V,2);a(()=>N(U,`title`,m(x))),a(()=>N(U,`aria-label`,m(x)));var W=u(U);N(W,`aria-hidden`,`true`);var G=i(W,!0);M(U),M(R);var K=o(R,2),q=e=>{},J=e=>{var t=ct(),n=f(t),i=e=>{var t=st();L(e,t)};b(n,e=>{r.sessions.length===0&&e(i)});var l=o(n,2);let d;var p=u(l);O(p,17,()=>r.sessions,e=>e.id,(e,t)=>{{let n=v(()=>m(t).id===r.currentId),i=v(()=>m(t).id===r.selectedId);tt(e,{get session(){return m(t)},get now(){return r.now},get live(){return m(n)},get selected(){return m(i)},onSelect:()=>r.onSelect(m(t).id)})}});var h=o(p,2),g=u(h);{let e=v(()=>r.selectedId===$);Be(g,{title:`Records outside sessions`,shape:`var(--md-sys-shape-corner-extra-large, 28px)`,get subtitle(){return c},get selected(){return m(e)},get description(){return m(E)},onSelect:()=>r.onSelect($)})}M(h),M(l),S(l,()=>ee(`[role="option"]`,{singleTabStop:!0,wrap:!0,leftRight:!0})),a(()=>d=D(l,``,d,{"scroll-padding-bottom":`${m(_)??``}px`})),j(h,`offsetHeight`,e=>s(_,e)),L(e,t)};b(K,e=>{l()?e(q):e(J,-1)}),M(A);var Y=o(A,2);it(Y,{get open(){return m(d)},get onStart(){return r.onStart},onClose:()=>s(d,!1)});var X=o(Y,2);{let e=v(()=>r.sessions.find(e=>e.id===r.currentId)?.entries??null);Ze(X,{get open(){return m(g)},get sessionId(){return r.currentId},get entries(){return m(e)},get onEnd(){return r.onEnd},onClose:()=>s(g,!1)})}a(()=>{I=F(A,1,`svelte-1fz71rn`,null,I,{collapsed:l()}),H=F(V,1,`svelte-1fz71rn`,null,H,{"visually-hidden":l()}),F(U,1,w(r.currentId===null?`start`:`stop`),`svelte-1fz71rn`),h(G,r.currentId===null?`play_arrow`:`stop`)}),t(`click`,U,()=>r.currentId===null?s(d,!0):s(g,!0)),L(n,k),p()}E([`click`]);function dt(e,t,n){return{async start(t,r){await n((await e.start(t,r)).id)},async end(){let t=e.currentId;await e.end(),t!==null&&!e.sessions.some(e=>e.id===t)&&await n(null)},async clear(n){await t.clear(n),await e.refresh()},async remove(t){if(typeof t!=`number`)return;let r=Ke(t,e.sessions);await e.delete(t),await n(r)}}}var ft=r(`<div class="monitor svelte-1uha8ag"><h1 class="visually-hidden">Monitor</h1> <div><!></div> <div class="log svelte-1uha8ag"><!> <div class="log-body svelte-1uha8ag"><!></div></div></div>`);function pt(t,n){e(n,!0);let{sessions:r,speech:i,sessionsPane:s}=K();_(()=>r.seed(n.data.sessions,n.data.now));let d=v(()=>({sessions:r.sessions,currentId:r.currentId,outsideEntries:r.outsideEntries})),f=v(()=>r.now),h=v(()=>Ge(V.url.searchParams.get(`session`),m(d).sessions,m(d).currentId)),y=v(()=>ae(m(h),m(d).sessions)),x=v(()=>ne(m(h),m(d).currentId)),S=v(()=>ie(m(h),m(d).currentId)),w=v(()=>te(m(h),m(d).currentId));I(()=>(s.init(),r.init())),c(()=>i.open(m(h),_(()=>re(m(h),m(d).currentId))));function T(e){return z(e===null?B(`/`):`${B(`/`)}?session=${e}`,{reset:!1})}let E=dt(r,i,T);var D=ft();C(`1uha8ag`,e=>{g(()=>{l.title=`Monitor · Speech Capture`})});var O=o(u(D),2);let k;ut(u(O),{get collapsed(){return s.collapsed},onToggleCollapse:()=>s.toggle(),get sessions(){return m(d).sessions},get currentId(){return m(d).currentId},get outsideEntries(){return m(d).outsideEntries},get selectedId(){return m(h)},get now(){return m(f)},onSelect:e=>void T(e),onStart:(e,t)=>E.start(e,t),onEnd:()=>E.end()}),M(O);var A=o(O,2),j=u(A),N=e=>{se(e,{})};b(j,e=>{n.data.local&&e(N)});var P=o(j,2);Ie(u(P),{get heading(){return m(y)},get local(){return n.data.local},get entries(){return i.entries},get connection(){return i.connection},get canMark(){return m(x)},onAddMarker:e=>i.addMarker(e),get canClear(){return m(S)},onClear:()=>E.clear(m(h)),get canDelete(){return m(w)},onDelete:()=>E.remove(m(h))}),M(P),M(A),M(D),a(()=>k=F(O,1,`sessions svelte-1uha8ag`,null,k,{collapsed:s.collapsed})),L(t,D),p()}export{pt as component};
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import{$ as e,A as t,B as n,E as r,F as i,G as a,I as o,J as s,K as c,M as l,N as u,O as d,P as f,Q as p,R as m,S as h,U as g,V as _,X as v,Y as y,_ as b,a as x,f as S,g as C,j as w,k as T,m as E,nt as D,rt as O,s as k,u as A,v as j,w as M,y as N}from"../chunks/B__KpOuX.js";import{t as P}from"../chunks/BkoDSEOx.js";import"../chunks/CAZ56n62.js";import{n as F}from"../chunks/DRNNJMYk.js";import{t as I}from"../chunks/BquQTeuV.js";import"../chunks/UKukklIc.js";import{n as L,o as R,s as z}from"../chunks/Bxh3K0TK.js";import"../chunks/BuwZGWCm.js";import"../chunks/OAsMjdHF.js";var B=r(`<a class="svelte-13xhv7j"><!></a>`);function V(t,n){e(n,!0);var r=B(),i=u(r);N(i,()=>n.children),O(r),a(e=>x(r,`href`,`${e??``}#screen-reader-heading`),[()=>P(`/setup/instructions`)]),M(t,r),p()}var H=r(`<p role="alert" class="unreachable svelte-10lx79f"> </p>`),U=r(`<p class="note svelte-10lx79f">Reading the status…</p>`),W=r(`<span class="visually-hidden">Warning:</span>`),G=r(` <span class="visually-hidden">on GitHub</span>`,1),K=r(`<span>(<!>)</span>`),q=r(` <span class="visually-hidden"> </span>`,1),J=r(`<span class="help svelte-10lx79f"><!></span>`),Y=r(`<li><md-icon> </md-icon> <span class="label svelte-10lx79f"> </span> <span class="state svelte-10lx79f"><!> <!> <!></span></li>`,2),X=r(`<ul aria-label="Setup status" class="svelte-10lx79f"></ul>`),Z=r(`<!> <!> <md-outlined-button> </md-outlined-button> <p role="status" class="note svelte-10lx79f"> </p>`,3);function Q(r,c){e(c,!0);let l={ok:`check_circle`,warning:`warning`,neutral:`radio_button_unchecked`},g=y(``);async function _(){if(s(g,``),await c.onCheck(),await n(),!c.reachable)return;let e=c.rows?.filter(e=>e.tone===`warning`).length??0;s(g,e===0?`Checked: no warnings.`:`Checked: ${e} ${e===1?`warning`:`warnings`}.`,!0)}var x=Z(),S=f(x),w=e=>{var t=H(),n=i(t);a(()=>h(n,`The bridge is not reachable.${c.rows===null?``:` This is the last state that was read.`}`)),M(e,t)},T=e=>{var t=U();M(e,t)};b(S,e=>{c.reachable?c.rows===null&&e(T,1):e(w)});var j=o(S,2),N=e=>{var t=X();E(t,21,()=>c.rows,e=>e.id,(e,t)=>{var n=Y(),r=u(n);k(r,`aria-hidden`,`true`),A(r,1,`svelte-10lx79f`);var s=i(r,!0),c=o(r,2),p=i(c,!0),g=o(c,2),_=u(g),y=e=>{var t=W();M(e,t)};b(_,e=>{m(t).tone===`warning`&&e(y)});var x=o(_),S=o(x),w=e=>{let n=v(()=>m(t).library);var r=K(),i=o(u(r)),s=e=>{var t=d();a(()=>h(t,m(n).name)),M(e,t)},c=e=>{I(e,{get href(){return m(n).href},children:(e,t)=>{D();var r=G(),i=f(r,!0);D(),a(()=>h(i,m(n).name)),M(e,r)},$$slots:{default:!0}})};b(i,e=>{m(n).href===null?e(s):e(c,-1)}),D(),O(r),M(e,r)};b(S,e=>{m(t).library!==null&&e(w)});var T=o(S,2),E=e=>{var n=J(),r=u(n),s=e=>{I(e,{get href(){return m(t).help.href},children:(e,n)=>{D();var r=q(),s=f(r,!0),c=o(s),l=i(c);a(()=>{h(s,m(t).help.label),h(l,`(help for ${m(t).label??``})`)}),M(e,r)},$$slots:{default:!0}})},c=e=>{V(e,{children:(e,n)=>{D();var r=q(),s=f(r,!0),c=o(s),l=i(c);a(()=>{h(s,m(t).help.label),h(l,`(help for ${m(t).label??``})`)}),M(e,r)},$$slots:{default:!0}})};b(r,e=>{`href`in m(t).help?e(s):e(c,-1)}),O(n),M(e,n)};b(T,e=>{m(t).help!==null&&e(E)}),O(g),O(n),a(()=>{A(n,1,C(m(t).tone),`svelte-10lx79f`),h(s,l[m(t).tone]),h(p,m(t).label),h(x,` ${m(t).state??``} `)}),M(e,n)}),O(t),M(e,t)};b(j,e=>{c.rows!==null&&e(N)});var P=o(j,2);k(P,`type`,`button`);var F=i(P,!0),L=o(P,2),R=i(L,!0);a(()=>{h(F,c.reachable?`Check again`:`Try again`),h(R,m(g))}),t(`click`,P,()=>void _()),M(r,x),p()}T([`click`]);var $=r(`<md-dialog><div slot="headline"> </div> <div slot="content"><p class="svelte-6mj6i9">A session is running. The keys go to the window in front on the bridge's machine, and the
|
|
2
|
-
speech they cause is recorded in that session.</p></div> <div slot="actions"><md-text-button>Cancel</md-text-button> <md-text-button>Send</md-text-button></div></md-dialog>`,2);function ee(n,r){e(r,!0);var s=$();a(()=>k(s,`open`,r.open)),A(s,1,`svelte-6mj6i9`);var c=u(s),l=i(c),d=o(c,4),f=u(d);k(f,`type`,`button`);var m=o(f,2);k(m,`type`,`button`),O(d),O(s),a(()=>h(l,`Send Insert+T during a session?`)),w(`closed`,s,function(...e){r.onClose?.apply(this,e)}),t(`click`,f,function(...e){r.onClose?.apply(this,e)}),t(`click`,m,()=>{r.onClose(),r.onSend()}),M(n,s),p()}T([`click`]);var te=r(`<p class="scope">This page is opened on the bridge's own machine: the screen reader reads this page too, and that
|
|
3
|
-
speech can pass the check.</p>`),ne=r(`<p class="scope"> </p>`),re=r(`<p class="result svelte-xev9kd"> </p>`),ie=r(`<li> </li>`),ae=r(`<ol aria-label="Speech that arrived" class="svelte-xev9kd"></ol> <p class="scope svelte-xev9kd">Wrong characters? Set the <a class="svelte-xev9kd">text encoding</a>.</p>`,1),oe=r(`<ul class="hints svelte-xev9kd"><li class="svelte-xev9kd"><!> in the screen reader.</li> <li class="svelte-xev9kd"> <!>).</li> <li class="svelte-xev9kd">JAWS: turn off <!>.</li></ul>`),se=r(`<p class="scope"> <!>).</p>`),ce=r(`<p class="scope"> </p> <!> <div class="actions svelte-xev9kd"><md-filled-button>Listen</md-filled-button> <md-outlined-button> </md-outlined-button> <md-text-button>Stop</md-text-button></div> <!> <!> <p role="status"> </p> <!> <!>`,3);function le(n,r){e(r,!0);let c=y(!1),l=y(!1),g=v(()=>r.phase===`starting`||r.phase===`listening`),_=v(()=>m(g)||r.input?.available!==!0),S=v(()=>m(g)?r.reconnecting?`Connection lost, reconnecting…`:r.via===`keys`?`Sending ${L} and waiting for speech…`:`Listening. Make the screen reader speak, for example with a key press.`:``),C=v(()=>r.phase===`heard`?`Speech arrived.`:r.phase===`silent`?`Nothing arrived.`:r.phase===`failed`?`The check failed: ${r.failure}`:``),w=v(()=>m(C)===``?r.local?``:m(S):m(C));async function T(){if(!(m(_)||m(l))){s(l,!0);try{await r.isSessionRunning()?s(c,!0):r.onSendKeys()}finally{s(l,!1)}}}var j=ce(),N=f(j),F=i(N),R=o(N,2),B=e=>{var t=te();M(e,t)};b(R,e=>{r.local&&e(B)});var H=o(R,2),U=u(H);k(U,`type`,`button`),a(()=>k(U,`soft-disabled`,m(g)?!0:void 0));var W=o(U,2);k(W,`type`,`button`),a(()=>k(W,`soft-disabled`,m(_)?!0:void 0));var G=i(W),K=o(W,2);k(K,`type`,`button`),a(()=>k(K,`soft-disabled`,!m(g)||void 0)),O(H);var q=o(H,2),J=e=>{var t=ne(),n=i(t);a(()=>h(n,`Insert+T can't be sent: ${r.input.reason??`native input is not available`??``}`)),M(e,t)};b(q,e=>{r.input!==null&&!r.input.available&&e(J)});var Y=o(q,2),X=e=>{var t=re(),n=i(t,!0);a(()=>h(n,m(S))),M(e,t)};b(Y,e=>{r.local&&m(S)!==``&&e(X)});var Z=o(Y,2),Q=i(Z,!0),$=o(Z,2),le=e=>{var t=ae(),n=f(t);E(n,21,()=>r.entries,e=>e.seq,(e,t)=>{var n=ie(),r=i(n,!0);a(()=>h(r,m(t).text)),M(e,n)}),O(n);var s=o(n,2),c=o(u(s));D(),O(s),a(e=>{x(n,`aria-hidden`,r.local?`true`:void 0),x(c,`href`,e)},[()=>P(`/settings`)]),M(e,t)},ue=e=>{var t=oe(),n=u(t);V(u(n),{children:(e,t)=>{D();var n=d(`Select the socket voice`);M(e,n)},$$slots:{default:!0}}),D(),O(n);var i=o(n,2),s=u(i),c=o(s);{let e=v(()=>z(r.version,`usage/troubleshooting.md#speech`));I(c,{get href(){return m(e)},children:(e,t)=>{D();var n=d(`troubleshooting`);M(e,n)},$$slots:{default:!0}})}D(),O(i);var l=o(i,2),f=o(u(l));{let e=v(()=>z(r.version,`usage/vm-setup.md#jaws-language-detection`));I(f,{get href(){return m(e)},children:(e,t)=>{D();var n=d(`Detect Language Changes`);M(e,n)},$$slots:{default:!0}})}D(),O(l),O(t),a(()=>h(s,`The voice must send to ${r.port===null?`the bridge's port`:`port ${r.port}`}
|
|
4
|
-
(`)),M(e,t)},de=e=>{var t=se(),n=u(t),i=o(n);{let e=v(()=>z(r.version,`usage/troubleshooting.md#browser-and-input`));I(i,{get href(){return m(e)},children:(e,t)=>{D();var n=d(`troubleshooting`);M(e,n)},$$slots:{default:!0}})}D(),O(t),a(()=>h(n,`Insert+T was sent. Use Listen and make the screen reader speak by hand: if that works, the keys
|
|
5
|
-
don't reach the screen reader (`)),M(e,t)};b($,e=>{r.phase===`heard`?e(le):r.phase===`silent`&&r.via===`manual`?e(ue,1):r.phase===`silent`&&e(de,2)}),ee(o($,2),{get open(){return m(c)},get onSend(){return r.onSendKeys},onClose:()=>s(c,!1)}),a(()=>{h(F,`Checks that what the screen reader says reaches the bridge. Listen and make it speak, or let the
|
|
6
|
-
bridge send Insert+T (read the window title in NVDA and JAWS) to the window in front.`),h(G,`Send Insert+T`),A(Z,1,`result ${r.phase??``}`,`svelte-xev9kd`),h(Q,m(w))}),t(`click`,U,()=>{m(g)||r.onListen()}),t(`click`,W,()=>void T()),t(`click`,K,()=>{m(g)&&r.onStop()}),M(n,j),p()}T([`click`]);var ue=r(`<section class="part" aria-labelledby="status-heading"><h2 id="status-heading">Status</h2> <!></section> <section class="part" aria-labelledby="test-heading"><h2 id="test-heading">Speech test</h2> <!></section>`,1);function de(t,n){e(n,!0);let{status:r,voiceCheck:i}=F(),a=v(()=>r.status??n.data.status),s=v(()=>m(a)===null?null:R(m(a)));j(()=>(r.retry(),()=>i.stop())),c(()=>{i.phase===`heard`&&_(()=>void r.retry())});async function d(){return await r.retry(),(r.status??n.data.status)?.session.current!=null}var h=ue();S(`g40i6i`,e=>{g(()=>{l.title=`Setup · Speech Capture`})});var y=f(h);Q(o(u(y),2),{get rows(){return m(s)},get reachable(){return r.reachable},onCheck:()=>r.retry()}),O(y);var b=o(y,2),x=o(u(b),2);{let e=v(()=>m(a)?.input.native??null),t=v(()=>m(a)?.tcp.port??null),r=v(()=>m(a)?.bridge.version??null);le(x,{get phase(){return i.phase},get via(){return i.via},get entries(){return i.entries},get reconnecting(){return i.reconnecting},get failure(){return i.failure},get local(){return n.data.local},get input(){return m(e)},get port(){return m(t)},get version(){return m(r)},onListen:()=>void i.start(`manual`),onSendKeys:()=>void i.start(`keys`),onStop:()=>i.stop(),isSessionRunning:d})}O(b),M(t,h),p()}export{de as component};
|
|
Binary file
|
|
Binary file
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import{$ as e,A as t,E as n,F as r,G as i,I as a,J as o,M as s,N as c,O as l,P as u,Q as d,R as f,S as p,U as m,X as h,Y as g,_,a as v,f as y,k as b,nt as x,rt as S,s as C,v as w,w as T}from"../chunks/B__KpOuX.js";import{t as E}from"../chunks/BkoDSEOx.js";import"../chunks/C06IiL6m.js";import{n as D}from"../chunks/BEImj5AP.js";import"../chunks/UKukklIc.js";import"../chunks/BuwZGWCm.js";import{n as O}from"../chunks/DRNNJMYk.js";import{t as k}from"../chunks/BquQTeuV.js";import{i as A}from"../chunks/DWjfB3ah.js";import{a as j,s as M}from"../chunks/Bxh3K0TK.js";var N=`/playwright-mcp`,P=n(`<div class="command svelte-1c2bq9d"><pre class="svelte-1c2bq9d"><code class="svelte-1c2bq9d"> </code></pre> <md-text-button><md-icon>content_copy</md-icon> Copy</md-text-button></div> <p role="status" class="svelte-1c2bq9d"> </p>`,3);function F(n,s){e(s,!0);let l=g(null),m=h(()=>f(l)===null||f(l).text!==s.text?``:f(l).ok?`Copied.`:`Copying failed: select the text and copy it.`);async function _(){let e=s.text;o(l,null),o(l,{text:e,ok:await s.onCopy(e)},!0)}var v=P(),y=u(v),b=c(y),w=c(b),E=r(w,!0);S(b);var D=a(b,2);C(D,`type`,`button`),i(()=>C(D,`aria-label`,`Copy ${s.label??``}`));var O=c(D);C(O,`slot`,`icon`),C(O,`aria-hidden`,`true`),x(),S(D),S(y);var k=a(y,2),A=r(k,!0);i(()=>{p(E,s.text),p(A,f(m))}),t(`click`,D,()=>void _()),T(n,v),d()}b([`click`]);var I=`127.0.0.1`,L=`npm install -g text-to-socket-engine
|
|
2
|
-
text-to-socket-engine-register`;function R({host:e,port:t}){let n=[`0.0.0.0`,`::`,`localhost`].includes(e)?I:e,r=`Text To Socket ${n}:${t}`;if(n===I&&t===4449)return{name:r,addVoice:null};let i=`ssc${t}`;return{name:r,addVoice:`text-to-socket-engine-add-voice ${i} "${r}" ${n} ${t} voice=${i}`}}var z=e=>[`localhost`,`::1`,`[::1]`].includes(e)||/^127(\.\d+){3}$/.test(e);function B(e,t){let{hostname:n,origin:r}=e;return(/^\[[0-9a-fA-F:.]+\]$/.test(n)||n!==`*`&&A.test(n))&&!z(n)&&n!==`0.0.0.0`?{url:r,placeholder:!1}:{url:`http://<vm-ip>:${t}`,placeholder:!0}}function V(e){return z(e)}function H(e){return`New-NetFirewallRule -DisplayName "screenreader-speech-capture" \`
|
|
3
|
-
-Direction Inbound -Protocol TCP -LocalPort ${e} -Action Allow -Profile Any \`\n -RemoteAddress <test-machine-ip>`}function U(e){return[`npx @screenreader-speech-capture/client config set url ${e}`,`npx @screenreader-speech-capture/client status`].join(`
|
|
4
|
-
`)}function W(e){return`npm i -D --save-exact @screenreader-speech-capture/client @playwright/test@${e} @types/node`}function G(e){let t={type:`http`,url:`${e}${N}`};return JSON.stringify({mcpServers:{"screenreader-vm":t}},null,2)}var K=n(`<p class="warning svelte-2oo2iv">The bridge only listens on its own machine, so other machines can't connect. Start it without <code class="svelte-2oo2iv">--http-host</code>, or with an address they reach.</p>`),q=n(`<p class="svelte-2oo2iv">Windows can block the port without asking. On the bridge's machine, in an <strong>administrator</strong> PowerShell (<!>):</p> <!> <p class="svelte-2oo2iv">Replace <code class="svelte-2oo2iv"><test-machine-ip></code> with the test machine's address, or its subnet.</p>`,1),J=n(`<p class="svelte-2oo2iv">This machine already reaches the bridge, so the firewall lets it through.</p>`),Y=n(`<p class="svelte-2oo2iv">Replace <code class="svelte-2oo2iv"><vm-ip></code> with the VM's address: one from the <code class="svelte-2oo2iv">HTTP API</code> row of the bridge's start output, or from <code class="svelte-2oo2iv">ipconfig</code> on the VM.</p>`),X=n(`<p class="svelte-2oo2iv">The Playwright server is off. <a class="svelte-2oo2iv">Turn it on in Settings.</a></p>`),Z=n(`<p class="svelte-2oo2iv">In the test project, with the bridge's Playwright version:</p> <!>`,1),Q=n(`<p class="svelte-2oo2iv">Playwright MCP is off. <a class="svelte-2oo2iv">Turn it on in Settings.</a></p>`),$=n(`<p class="svelte-2oo2iv">Point the agent's MCP client at the bridge:</p> <!>`,1),ee=n(`<section class="part" aria-labelledby="machine-heading"><h2 id="machine-heading">Test machine</h2> <!> <!> <p class="svelte-2oo2iv">On the test machine (Node 20 or newer), store the bridge's address and check it:</p> <!> <!> <h3 class="svelte-2oo2iv">Playwright tests</h3> <!> <p class="svelte-2oo2iv"><!></p> <h3 class="svelte-2oo2iv">AI agents</h3> <!> <p class="svelte-2oo2iv"><!></p></section>`);function te(t,n){e(n,!0);let r=e=>M(n.version,e);var o=ee(),s=a(c(o),2),p=e=>{var t=K();T(e,t)};_(s,e=>{n.loopbackOnly&&e(p)});var m=a(s,2),g=e=>{var t=q(),i=u(t),o=a(c(i),3);{let e=h(()=>r(`usage/vm-setup.md#firewall`));k(o,{get href(){return f(e)},children:(e,t)=>{x();var n=l(`firewall`);T(e,n)},$$slots:{default:!0}})}x(),S(i);var s=a(i,2);{let e=h(()=>H(n.httpPort));F(s,{label:`the firewall command`,get text(){return f(e)},get onCopy(){return n.onCopy}})}x(2),T(e,t)},y=e=>{var t=J();T(e,t)};_(m,e=>{n.local?e(g):e(y,-1)});var b=a(m,4);{let e=h(()=>U(n.address.url));F(b,{label:`the client commands`,get text(){return f(e)},get onCopy(){return n.onCopy}})}var C=a(b,2),w=e=>{var t=Y();T(e,t)};_(C,e=>{n.address.placeholder&&e(w)});var D=a(C,4),O=e=>{var t=X(),n=a(c(t));S(t),i(e=>v(n,`href`,e),[()=>E(`/settings`)]),T(e,t)},A=e=>{var t=Z(),r=a(u(t),2);{let e=h(()=>W(n.playwright.version));F(r,{label:`the test packages command`,get text(){return f(e)},get onCopy(){return n.onCopy}})}T(e,t)};_(D,e=>{n.playwright?.state===`stopped`?e(O):n.playwright!==null&&e(A,1)});var j=a(D,2),N=c(j);{let e=h(()=>r(`usage/client.md`));k(N,{get href(){return f(e)},children:(e,t)=>{x();var n=l(`Set up the tests with the test client`);T(e,n)},$$slots:{default:!0}})}S(j);var P=a(j,4),I=e=>{var t=Q(),n=a(c(t));S(t),i(e=>v(n,`href`,e),[()=>E(`/settings`)]),T(e,t)},L=e=>{var t=$(),r=a(u(t),2);{let e=h(()=>G(n.address.url));F(r,{label:`the MCP configuration`,get text(){return f(e)},get onCopy(){return n.onCopy}})}T(e,t)};_(P,e=>{n.mcp?.state===`stopped`?e(I):e(L,-1)});var R=a(P,2),z=c(R);{let e=h(()=>r(`usage/agents.md`));k(z,{get href(){return f(e)},children:(e,t)=>{x();var n=l(`How agents use the bridge`);T(e,n)},$$slots:{default:!0}})}S(R),S(o),T(t,o),d()}var ne=n(`<p class="svelte-1tbxerf">The default voice doesn't send to where this bridge listens. Add a voice that does, in the
|
|
5
|
-
same prompt:</p> <!>`,1),re=n(`<section class="part" aria-labelledby="voice-heading"><h2 id="voice-heading">Socket voice</h2> <p class="svelte-1tbxerf">On the bridge's machine, in an <strong>administrator</strong> prompt:</p> <!> <!> <ul class="more svelte-1tbxerf"><li class="svelte-1tbxerf"><!></li> <li class="svelte-1tbxerf"><!></li></ul></section> <section class="part"><h2 tabindex="-1">Screen reader</h2> <p class="svelte-1tbxerf">Select the voice <strong> </strong>.</p> <h3 class="svelte-1tbxerf">NVDA</h3> <ol class="svelte-1tbxerf"><li class="svelte-1tbxerf">Open the NVDA menu (NVDA+N) → Preferences → Settings… → Speech.</li> <li class="svelte-1tbxerf">Under Synthesizer, choose Change… → Microsoft Speech API version 5 → OK.</li> <li class="svelte-1tbxerf"> </li></ol> <h3 class="svelte-1tbxerf">JAWS</h3> <ol class="svelte-1tbxerf"><li class="svelte-1tbxerf">Open JAWS → Options → Voices → Voice Adjustment….</li> <li class="svelte-1tbxerf">Create or select a voice profile and set its Synthesizer to SAPI 5 (the label can differ
|
|
6
|
-
between JAWS versions).</li> <li class="svelte-1tbxerf"> </li> <li class="svelte-1tbxerf">In Settings Center (Insert+F2), turn off <em>Detect Language Changes</em> (German: <em lang="de">Sprachwechsel erkennen</em>), or web pages are read by another voice.</li></ol> <ul class="more svelte-1tbxerf"><li class="svelte-1tbxerf"><!></li> <li class="svelte-1tbxerf"><!></li> <li class="svelte-1tbxerf"><!></li></ul></section>`,1);function ie(t,n){e(n,!0);let o=h(()=>R(n.tcp??{host:`127.0.0.1`,port:4449})),s=e=>M(n.version,e);var m=re(),g=u(m),y=a(c(g),4);F(y,{label:`the install commands`,get text(){return L},get onCopy(){return n.onCopy}});var b=a(y,2),C=e=>{var t=ne();F(a(u(t),2),{label:`the add-voice command`,get text(){return f(o).addVoice},get onCopy(){return n.onCopy}}),T(e,t)};_(b,e=>{f(o).addVoice!==null&&e(C)});var w=a(b,2),E=c(w),D=c(E);{let e=h(()=>s(`usage/troubleshooting.md#speech`));k(D,{get href(){return f(e)},children:(e,t)=>{x();var n=l(`The voice is not listed`);T(e,n)},$$slots:{default:!0}})}S(E);var O=a(E,2),A=c(O);{let e=h(()=>s(`usage/vm-setup.md#more-voices--other-ports`));k(A,{get href(){return f(e)},children:(e,t)=>{x();var n=l(`More voices, and removing them`);T(e,n)},$$slots:{default:!0}})}S(O),S(w),S(g);var N=a(g,2),P=c(N),I=a(P,2),z=a(c(I)),B=r(z,!0);x(),S(I);var V=a(I,4),H=a(c(V),4),U=r(H);S(V);var W=a(V,4),G=a(c(W),4),K=r(G);x(2),S(W);var q=a(W,2),J=c(q),Y=c(J);{let e=h(()=>s(`usage/vm-setup.md#a-german-voice`));k(Y,{get href(){return f(e)},children:(e,t)=>{x();var n=l(`JAWS in German or another language doesn't list the voice`);T(e,n)},$$slots:{default:!0}})}S(J);var X=a(J,2),Z=c(X);{let e=h(()=>s(`usage/vm-setup.md#prepare-the-vm`));k(Z,{get href(){return f(e)},children:(e,t)=>{x();var n=l(`Prepare the VM for CI`);T(e,n)},$$slots:{default:!0}})}S(X);var Q=a(X,2),$=c(Q);{let e=h(()=>s(`usage/vm-setup.md#screen-reader-licensing`));k($,{get href(){return f(e)},children:(e,t)=>{x();var n=l(`Screen reader licensing`);T(e,n)},$$slots:{default:!0}})}S(Q),S(q),S(N),i(()=>{v(N,`aria-labelledby`,j),v(P,`id`,j),p(B,f(o).name),p(U,`Under Voice, select ${f(o).name??``}.`),p(K,`Select ${f(o).name??``} as the Voice, apply it to all contexts and save the profile.`)}),T(t,m),d()}var ae=n(`<!> <!>`,1);function oe(t,n){e(n,!0);let{status:r,clipboard:i}=O(),o=h(()=>r.status??n.data.status),c=h(()=>n.data.http?.port??5151),l=e=>i.copy(e);w(()=>void r.retry());var p=ae();y(`149ah0g`,e=>{m(()=>{s.title=`Setup instructions · Speech Capture`})});var g=u(p);{let e=h(()=>f(o)?.tcp??null),t=h(()=>f(o)?.bridge.version??null);ie(g,{get tcp(){return f(e)},get version(){return f(t)},onCopy:l})}var _=a(g,2);{let e=h(()=>B(D.url,f(c))),t=h(()=>n.data.http!==null&&V(n.data.http.host)),r=h(()=>f(o)?.playwright??null),i=h(()=>f(o)?.mcp??null),a=h(()=>f(o)?.bridge.version??null);te(_,{get address(){return f(e)},get local(){return n.data.local},get loopbackOnly(){return f(t)},get httpPort(){return f(c)},get playwright(){return f(r)},get mcp(){return f(i)},get version(){return f(a)},onCopy:l})}T(t,p),d()}export{oe as component};
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.page.svelte-19j3lit{box-sizing:border-box;height:100%;padding:var(--app-gutter) 0}.pane.svelte-19j3lit{box-sizing:border-box;border:1px solid var(--md-sys-color-outline-variant);border-width:max(1px, var(--app-border-width));background:var(--md-sys-color-surface-container-lowest);border-radius:16px;height:100%;min-height:0;padding:16px 24px 24px;position:relative;overflow:auto}.pane.svelte-19j3lit>section.part{max-width:720px;margin-top:24px}.pane.svelte-19j3lit>section.part+section.part{border-top:1px solid var(--md-sys-color-outline-variant);margin-top:32px;padding-top:24px}.pane.svelte-19j3lit>section.part>h2{color:var(--md-sys-color-on-surface);margin:0 0 8px;font-size:22px;font-weight:500;line-height:28px}.pane.svelte-19j3lit .scope{color:var(--md-sys-color-on-surface-variant);margin:0 0 12px;font-size:13px;line-height:18px}@media (width<=600px){.pane.svelte-19j3lit{padding:12px 12px 16px}}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
nav.svelte-1rp78hl{border-bottom:1px solid var(--md-sys-color-outline-variant);border-width:0 0 max(1px, var(--app-border-width))}ul.svelte-1rp78hl{flex-wrap:wrap;margin:0;padding:0;list-style:none;display:flex}a.svelte-1rp78hl{min-height:48px;color:var(--md-sys-color-on-surface-variant);border-bottom:3px solid #0000;align-items:center;padding:0 16px;font-size:14px;font-weight:500;line-height:20px;text-decoration:none;display:flex}a.svelte-1rp78hl:hover{background:color-mix(in srgb, var(--md-sys-color-on-surface) 8%, transparent)}a[aria-current=page].svelte-1rp78hl{border-bottom-color:var(--md-sys-color-primary);color:var(--md-sys-color-on-surface)}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
ul.svelte-19wvxlf{flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none;display:flex}li.svelte-19wvxlf{border:1px solid var(--md-sys-color-outline-variant);border-width:max(1px, var(--app-border-width));background:var(--md-sys-color-surface-container-lowest,transparent);height:32px;color:var(--md-sys-color-on-surface);font-family:var(--app-font-mono);font-size:var(--app-mono-size);white-space:nowrap;border-radius:8px;display:inline-flex;position:relative}li.ok.svelte-19wvxlf{--dot:var(--app-success)}li.warning.svelte-19wvxlf{--dot:var(--app-warning);background:var(--app-warning-container);color:var(--app-on-warning-container);border-color:var(--app-warning)}li.error.svelte-19wvxlf{--dot:var(--md-sys-color-error);background:var(--md-sys-color-error-container);color:var(--md-sys-color-on-error-container);border-color:var(--md-sys-color-error)}li.neutral.svelte-19wvxlf{--dot:var(--md-sys-color-outline);color:var(--md-sys-color-on-surface-variant)}li.down.svelte-19wvxlf{--dot:var(--md-sys-color-error)}.face.svelte-19wvxlf{align-items:center;gap:8px;padding:0 12px;display:flex}.dot.svelte-19wvxlf{box-sizing:border-box;background:var(--dot);border:2px solid var(--dot);border-radius:50%;width:8px;height:8px}.dot.hollow.svelte-19wvxlf{background:0 0}@media (width<800px){.chip-label.svelte-19wvxlf{display:none}}md-icon-button.svelte-5q7qd7{--md-icon-button-icon-color:var(--md-sys-color-on-surface-variant);--md-icon-button-hover-icon-color:var(--md-sys-color-on-surface);--md-icon-button-focus-icon-color:var(--md-sys-color-on-surface)}.spin.svelte-5q7qd7{animation:.8s linear infinite svelte-5q7qd7-spin}@keyframes svelte-5q7qd7-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.spin.svelte-5q7qd7{animation:none}}header.svelte-4j9s4f{background:var(--md-sys-color-surface-container);min-height:68px;color:var(--md-sys-color-on-surface);align-items:center;gap:12px 16px;padding:10px 16px 10px 0;display:flex}.logo-slot.svelte-4j9s4f{width:var(--app-rail-width);flex:none;justify-content:center;align-items:center;display:flex}.logo.svelte-4j9s4f{background:var(--md-sys-color-primary);width:44px;height:44px;color:var(--md-sys-color-on-primary);border-radius:14px;justify-content:center;align-items:center;display:flex}.title.svelte-4j9s4f{flex-direction:column;min-width:0;margin-right:auto;display:flex}header.svelte-4j9s4f{flex-wrap:wrap}.name.svelte-4j9s4f{font-family:var(--md-sys-typescale-title-large-font);font-size:var(--md-sys-typescale-title-large-size);line-height:var(--md-sys-typescale-title-large-line-height);font-weight:var(--md-ref-typeface-weight-medium)}.meta.svelte-4j9s4f{font-family:var(--app-font-mono);font-size:var(--app-mono-size);line-height:var(--app-mono-line-height);color:var(--md-sys-color-on-surface-variant)}nav.svelte-sxtjmn{width:var(--app-rail-width);padding:calc(var(--app-gutter) - 4px) 0;background:var(--md-sys-color-surface);flex:none;overflow-y:auto}ul.svelte-sxtjmn{flex-direction:column;gap:4px;margin:0;padding:0;list-style:none;display:flex}a.svelte-sxtjmn{min-height:48px;color:var(--md-sys-color-on-surface-variant);flex-direction:column;align-items:center;gap:4px;padding:4px 0;text-decoration:none;display:flex}a.svelte-sxtjmn:focus-visible{outline-offset:calc(-1 * var(--md-sys-state-focus-indicator-thickness))}.indicator.svelte-sxtjmn{border:var(--app-border-width) solid transparent;box-sizing:border-box;--md-ripple-hover-color:currentColor;--md-ripple-pressed-color:currentColor;border-radius:16px;justify-content:center;align-items:center;width:56px;height:32px;display:flex;position:relative}.indicator.current.svelte-sxtjmn{border-color:var(--md-sys-color-outline);background:var(--md-sys-color-secondary-container);color:var(--md-sys-color-on-secondary-container)}a[aria-current=page].svelte-sxtjmn{color:var(--md-sys-color-on-surface)}.label.svelte-sxtjmn{text-align:center;-webkit-hyphens:auto;hyphens:auto;overflow-wrap:anywhere;max-width:100%;font-family:var(--md-sys-typescale-label-medium-font);font-size:var(--md-sys-typescale-label-medium-size);line-height:var(--md-sys-typescale-label-medium-line-height);font-weight:var(--md-ref-typeface-weight-medium)}@font-face{font-family:Roboto Flex Variable;font-style:normal;font-display:swap;font-weight:100 1000;src:url(./roboto-flex-cyrillic-ext-opsz-normal.nDQikIyu.woff2)format("woff2-variations");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Roboto Flex Variable;font-style:normal;font-display:swap;font-weight:100 1000;src:url(./roboto-flex-cyrillic-opsz-normal.SjuC5rw5.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Roboto Flex Variable;font-style:normal;font-display:swap;font-weight:100 1000;src:url(./roboto-flex-greek-opsz-normal.C14fFRny.woff2)format("woff2-variations");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Roboto Flex Variable;font-style:normal;font-display:swap;font-weight:100 1000;src:url(./roboto-flex-vietnamese-opsz-normal.C-H_yGOU.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Roboto Flex Variable;font-style:normal;font-display:swap;font-weight:100 1000;src:url(./roboto-flex-latin-ext-opsz-normal.xNclTVCo.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Roboto Flex Variable;font-style:normal;font-display:swap;font-weight:100 1000;src:url(./roboto-flex-latin-opsz-normal.hy8fyBBC.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Roboto Mono;font-style:normal;font-display:swap;font-weight:400;src:url(./roboto-mono-cyrillic-ext-400-normal.BHxv52bw.woff2)format("woff2"),url(./roboto-mono-cyrillic-ext-400-normal.W26xs1TL.woff)format("woff");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Roboto Mono;font-style:normal;font-display:swap;font-weight:400;src:url(./roboto-mono-cyrillic-400-normal.C-_K-ZCn.woff2)format("woff2"),url(./roboto-mono-cyrillic-400-normal.B3hIXASd.woff)format("woff");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Roboto Mono;font-style:normal;font-display:swap;font-weight:400;src:url(./roboto-mono-greek-400-normal.CH_u3Aru.woff2)format("woff2"),url(./roboto-mono-greek-400-normal.P8xe1gs1.woff)format("woff");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Roboto Mono;font-style:normal;font-display:swap;font-weight:400;src:url(./roboto-mono-vietnamese-400-normal.yYTFiTTs.woff2)format("woff2"),url(./roboto-mono-vietnamese-400-normal.CzWHQABp.woff)format("woff");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Roboto Mono;font-style:normal;font-display:swap;font-weight:400;src:url(./roboto-mono-latin-ext-400-normal.DLAV9S_w.woff2)format("woff2"),url(./roboto-mono-latin-ext-400-normal.BwLXVYNz.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Roboto Mono;font-style:normal;font-display:swap;font-weight:400;src:url(./roboto-mono-latin-400-normal.GekRknry.woff2)format("woff2"),url(./roboto-mono-latin-400-normal.DBZPkcnn.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Roboto Mono;font-style:normal;font-display:swap;font-weight:500;src:url(./roboto-mono-cyrillic-ext-500-normal.DC57U9n8.woff2)format("woff2"),url(./roboto-mono-cyrillic-ext-500-normal.6xdwlG7p.woff)format("woff");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Roboto Mono;font-style:normal;font-display:swap;font-weight:500;src:url(./roboto-mono-cyrillic-500-normal.DGZ7-lUP.woff2)format("woff2"),url(./roboto-mono-cyrillic-500-normal.NpUJFYX7.woff)format("woff");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Roboto Mono;font-style:normal;font-display:swap;font-weight:500;src:url(./roboto-mono-greek-500-normal.DpRFkptA.woff2)format("woff2"),url(./roboto-mono-greek-500-normal.C2M8jX6G.woff)format("woff");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Roboto Mono;font-style:normal;font-display:swap;font-weight:500;src:url(./roboto-mono-vietnamese-500-normal.Cq-quQMu.woff2)format("woff2"),url(./roboto-mono-vietnamese-500-normal.IxzxMIj7.woff)format("woff");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Roboto Mono;font-style:normal;font-display:swap;font-weight:500;src:url(./roboto-mono-latin-ext-500-normal.Db3ge6Oe.woff2)format("woff2"),url(./roboto-mono-latin-ext-500-normal.B1IjfbhL.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Roboto Mono;font-style:normal;font-display:swap;font-weight:500;src:url(./roboto-mono-latin-500-normal.pxIOXZmA.woff2)format("woff2"),url(./roboto-mono-latin-500-normal.D6j6AMzd.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Material Symbols Outlined;font-style:normal;font-display:block;font-weight:400;src:url(./material-symbols-outlined-latin-400-normal.BhEvR8fk.woff2)format("woff2")}:root,[data-theme=light]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--md-sys-color-primary:#415f91;--md-sys-color-on-primary:#fff;--md-sys-color-primary-container:#d6e3ff;--md-sys-color-on-primary-container:#001b3e;--md-sys-color-secondary:#565f71;--md-sys-color-on-secondary:#fff;--md-sys-color-secondary-container:#dae2f9;--md-sys-color-on-secondary-container:#131c2b;--md-sys-color-tertiary:#705575;--md-sys-color-on-tertiary:#fff;--md-sys-color-tertiary-container:#fad8fd;--md-sys-color-on-tertiary-container:#28132e;--md-sys-color-error:#ba1a1a;--md-sys-color-on-error:#fff;--md-sys-color-error-container:#ffdad6;--md-sys-color-on-error-container:#410002;--app-success:#2f6a1e;--app-on-success:#fff;--app-success-container:#b6f29a;--app-on-success-container:#062100;--app-warning:#7a5900;--app-on-warning:#fff;--app-warning-container:#ffdea4;--app-on-warning-container:#261900;--md-sys-color-surface:#f9f9ff;--md-sys-color-on-surface:#191c20;--md-sys-color-on-surface-variant:#44474e;--md-sys-color-outline:#74777f;--md-sys-color-outline-variant:#c4c6d0;--md-sys-color-surface-container-lowest:#fff;--md-sys-color-surface-container-low:#f3f3fa;--md-sys-color-surface-container:#ededf4;--md-sys-color-surface-container-high:#e7e8ee;--md-sys-color-surface-container-highest:#e2e2e9;--md-sys-color-inverse-surface:#2e3036;--md-sys-color-inverse-on-surface:#f0f0f7;--md-sys-color-inverse-primary:#aac7ff;--app-new-row:#415f911a;--md-sys-color-scrim:#00000052}:root[data-theme=dark],[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--md-sys-color-primary:#aac7ff;--md-sys-color-on-primary:#0a305f;--md-sys-color-primary-container:#284777;--md-sys-color-on-primary-container:#d6e3ff;--md-sys-color-secondary:#bec6dc;--md-sys-color-on-secondary:#283141;--md-sys-color-secondary-container:#3e4759;--md-sys-color-on-secondary-container:#dae2f9;--md-sys-color-tertiary:#ddbce0;--md-sys-color-on-tertiary:#3f2844;--md-sys-color-tertiary-container:#573e5c;--md-sys-color-on-tertiary-container:#fad8fd;--md-sys-color-error:#ffb4ab;--md-sys-color-on-error:#690005;--md-sys-color-error-container:#93000a;--md-sys-color-on-error-container:#ffdad6;--app-success:#9bd680;--app-on-success:#0b3900;--app-success-container:#185108;--app-on-success-container:#b6f29a;--app-warning:#f5bf48;--app-on-warning:#412d00;--app-warning-container:#5c4200;--app-on-warning-container:#ffdea4;--md-sys-color-surface:#111318;--md-sys-color-on-surface:#e2e2e9;--md-sys-color-on-surface-variant:#c4c6d0;--md-sys-color-outline:#8e9099;--md-sys-color-outline-variant:#44474e;--md-sys-color-surface-container-lowest:#0c0e13;--md-sys-color-surface-container-low:#191c20;--md-sys-color-surface-container:#1d2024;--md-sys-color-surface-container-high:#282a2f;--md-sys-color-surface-container-highest:#33353a;--md-sys-color-inverse-surface:#e2e2e9;--md-sys-color-inverse-on-surface:#2e3036;--md-sys-color-inverse-primary:#415f91;--app-new-row:#aac7ff1f;--md-sys-color-scrim:#00000080}:root[data-theme=high-contrast],[data-theme=high-contrast]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--md-sys-color-primary:#0a2f6e;--md-sys-color-on-primary:#fff;--md-sys-color-primary-container:#d9e5ff;--md-sys-color-on-primary-container:#000;--md-sys-color-secondary:#2b3345;--md-sys-color-on-secondary:#fff;--md-sys-color-secondary-container:#e1e7f6;--md-sys-color-on-secondary-container:#000;--md-sys-color-tertiary:#4d2255;--md-sys-color-on-tertiary:#fff;--md-sys-color-tertiary-container:#f5ddf9;--md-sys-color-on-tertiary-container:#000;--md-sys-color-error:#8c0009;--md-sys-color-on-error:#fff;--md-sys-color-error-container:#ffe0dc;--md-sys-color-on-error-container:#000;--app-success:#0b4a00;--app-on-success:#fff;--app-success-container:#d0f5bc;--app-on-success-container:#000;--app-warning:#5c3f00;--app-on-warning:#fff;--app-warning-container:#ffe7b0;--app-on-warning-container:#000;--md-sys-color-surface:#fff;--md-sys-color-on-surface:#000;--md-sys-color-on-surface-variant:#1a1a1a;--md-sys-color-outline:#000;--md-sys-color-outline-variant:#595959;--md-sys-color-surface-container-lowest:#fff;--md-sys-color-surface-container-low:#f6f6f6;--md-sys-color-surface-container:#eee;--md-sys-color-surface-container-high:#e6e6e6;--md-sys-color-surface-container-highest:#dedede;--md-sys-color-inverse-surface:#000;--md-sys-color-inverse-on-surface:#fff;--md-sys-color-inverse-primary:#a9c6ff;--app-new-row:#0a2f6e29;--md-sys-color-scrim:#0009;--app-border-width:2px;--md-sys-state-focus-indicator-thickness:4px;--md-sys-state-hover-state-layer-opacity:.16;--md-sys-state-pressed-state-layer-opacity:.24;--app-disabled-content-opacity:.6}:root[data-theme=dark-high-contrast],[data-theme=dark-high-contrast]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--md-sys-color-primary:#9ec4ff;--md-sys-color-on-primary:#000;--md-sys-color-primary-container:#003a8c;--md-sys-color-on-primary-container:#fff;--md-sys-color-secondary:#d0d9f0;--md-sys-color-on-secondary:#000;--md-sys-color-secondary-container:#2c3752;--md-sys-color-on-secondary-container:#fff;--md-sys-color-tertiary:#f3c8f8;--md-sys-color-on-tertiary:#000;--md-sys-color-tertiary-container:#5b2a63;--md-sys-color-on-tertiary-container:#fff;--md-sys-color-error:#ffb9b0;--md-sys-color-on-error:#000;--md-sys-color-error-container:#8c0009;--md-sys-color-on-error-container:#fff;--app-success:#96f272;--app-on-success:#000;--app-success-container:#0f5200;--app-on-success-container:#fff;--app-warning:#ffd54f;--app-on-warning:#000;--app-warning-container:#6b4a00;--app-on-warning-container:#fff;--md-sys-color-surface:#000;--md-sys-color-on-surface:#fff;--md-sys-color-on-surface-variant:#f0f0f0;--md-sys-color-outline:#fff;--md-sys-color-outline-variant:#a6a6a6;--md-sys-color-surface-container-lowest:#000;--md-sys-color-surface-container-low:#0d0d0d;--md-sys-color-surface-container:#141414;--md-sys-color-surface-container-high:#1c1c1c;--md-sys-color-surface-container-highest:#262626;--md-sys-color-inverse-surface:#fff;--md-sys-color-inverse-on-surface:#000;--md-sys-color-inverse-primary:#0a2f6e;--app-new-row:#9ec4ff38;--md-sys-color-scrim:#000c;--app-border-width:2px;--md-sys-state-focus-indicator-thickness:4px;--md-sys-state-hover-state-layer-opacity:.16;--md-sys-state-pressed-state-layer-opacity:.24;--app-disabled-content-opacity:.6}:root{--md-ref-typeface-plain:"Roboto Flex Variable", "Roboto Flex", Roboto, system-ui, sans-serif;--md-ref-typeface-brand:"Roboto Flex Variable", "Roboto Flex", Roboto, system-ui, sans-serif;--md-ref-typeface-weight-regular:400;--md-ref-typeface-weight-medium:500;--md-ref-typeface-weight-bold:700;--md-sys-typescale-display-large-font:var(--md-ref-typeface-plain);--md-sys-typescale-display-large-size:57px;--md-sys-typescale-display-large-line-height:64px;--md-sys-typescale-display-large-weight:400;--md-sys-typescale-display-large-tracking:-.25px;--md-sys-typescale-display-medium-font:var(--md-ref-typeface-plain);--md-sys-typescale-display-medium-size:45px;--md-sys-typescale-display-medium-line-height:52px;--md-sys-typescale-display-medium-weight:400;--md-sys-typescale-display-medium-tracking:0;--md-sys-typescale-display-small-font:var(--md-ref-typeface-plain);--md-sys-typescale-display-small-size:36px;--md-sys-typescale-display-small-line-height:44px;--md-sys-typescale-display-small-weight:400;--md-sys-typescale-display-small-tracking:0;--md-sys-typescale-headline-large-font:var(--md-ref-typeface-plain);--md-sys-typescale-headline-large-size:32px;--md-sys-typescale-headline-large-line-height:40px;--md-sys-typescale-headline-large-weight:400;--md-sys-typescale-headline-large-tracking:0;--md-sys-typescale-headline-medium-font:var(--md-ref-typeface-plain);--md-sys-typescale-headline-medium-size:28px;--md-sys-typescale-headline-medium-line-height:36px;--md-sys-typescale-headline-medium-weight:400;--md-sys-typescale-headline-medium-tracking:0;--md-sys-typescale-headline-small-font:var(--md-ref-typeface-plain);--md-sys-typescale-headline-small-size:24px;--md-sys-typescale-headline-small-line-height:32px;--md-sys-typescale-headline-small-weight:400;--md-sys-typescale-headline-small-tracking:0;--md-sys-typescale-title-large-font:var(--md-ref-typeface-plain);--md-sys-typescale-title-large-size:22px;--md-sys-typescale-title-large-line-height:28px;--md-sys-typescale-title-large-weight:400;--md-sys-typescale-title-large-tracking:0;--md-sys-typescale-title-medium-font:var(--md-ref-typeface-plain);--md-sys-typescale-title-medium-size:16px;--md-sys-typescale-title-medium-line-height:24px;--md-sys-typescale-title-medium-weight:500;--md-sys-typescale-title-medium-tracking:.15px;--md-sys-typescale-title-small-font:var(--md-ref-typeface-plain);--md-sys-typescale-title-small-size:14px;--md-sys-typescale-title-small-line-height:20px;--md-sys-typescale-title-small-weight:500;--md-sys-typescale-title-small-tracking:.1px;--md-sys-typescale-body-large-font:var(--md-ref-typeface-plain);--md-sys-typescale-body-large-size:16px;--md-sys-typescale-body-large-line-height:24px;--md-sys-typescale-body-large-weight:400;--md-sys-typescale-body-large-tracking:.5px;--md-sys-typescale-body-medium-font:var(--md-ref-typeface-plain);--md-sys-typescale-body-medium-size:14px;--md-sys-typescale-body-medium-line-height:20px;--md-sys-typescale-body-medium-weight:400;--md-sys-typescale-body-medium-tracking:.25px;--md-sys-typescale-body-small-font:var(--md-ref-typeface-plain);--md-sys-typescale-body-small-size:12px;--md-sys-typescale-body-small-line-height:16px;--md-sys-typescale-body-small-weight:400;--md-sys-typescale-body-small-tracking:.4px;--md-sys-typescale-label-large-font:var(--md-ref-typeface-plain);--md-sys-typescale-label-large-size:14px;--md-sys-typescale-label-large-line-height:20px;--md-sys-typescale-label-large-weight:500;--md-sys-typescale-label-large-tracking:.1px;--md-sys-typescale-label-medium-font:var(--md-ref-typeface-plain);--md-sys-typescale-label-medium-size:.75rem;--md-sys-typescale-label-medium-line-height:1rem;--md-sys-typescale-label-medium-weight:500;--md-sys-typescale-label-medium-tracking:.5px;--md-sys-typescale-label-small-font:var(--md-ref-typeface-plain);--md-sys-typescale-label-small-size:11px;--md-sys-typescale-label-small-line-height:16px;--md-sys-typescale-label-small-weight:500;--md-sys-typescale-label-small-tracking:.5px;--app-font-mono:"Roboto Mono", ui-monospace, Consolas, monospace;--app-log-text-size:15px;--app-log-text-line-height:22px;--app-mono-size:12px;--app-mono-line-height:16px;--md-sys-shape-corner-none:0;--md-sys-shape-corner-extra-small:4px;--md-sys-shape-corner-small:8px;--md-sys-shape-corner-medium:12px;--md-sys-shape-corner-large:16px;--md-sys-shape-corner-extra-large:28px;--md-sys-shape-corner-full:9999px;--md-sys-state-hover-state-layer-opacity:.08;--md-sys-state-focus-state-layer-opacity:.12;--md-sys-state-pressed-state-layer-opacity:.12;--md-sys-state-dragged-state-layer-opacity:.16;--md-sys-state-focus-indicator-thickness:3px;--app-border-width:0px;--md-sys-state-focus-indicator-outer-offset:2px;--app-disabled-content-opacity:.38;--app-disabled-container-opacity:.12;--md-sys-motion-duration-short1:50ms;--md-sys-motion-duration-short2:.1s;--md-sys-motion-duration-short3:.15s;--md-sys-motion-duration-short4:.2s;--md-sys-motion-duration-medium1:.25s;--md-sys-motion-duration-medium2:.3s;--md-sys-motion-duration-medium3:.35s;--md-sys-motion-duration-medium4:.4s;--md-sys-motion-easing-standard:cubic-bezier(.2, 0, 0, 1);--md-sys-motion-easing-standard-accelerate:cubic-bezier(.3, 0, 1, 1);--md-sys-motion-easing-standard-decelerate:cubic-bezier(0, 0, 0, 1);--md-sys-motion-easing-emphasized:cubic-bezier(.2, 0, 0, 1);--md-sys-motion-easing-emphasized-accelerate:cubic-bezier(.3, 0, .8, .15);--md-sys-motion-easing-emphasized-decelerate:cubic-bezier(.05, .7, .1, 1);--md-sys-elevation-level0:0 0 0 0 transparent;--md-sys-elevation-level2:0 1px 2px #0000004d, 0 2px 6px 2px #00000026;--md-sys-elevation-level3:0 1px 3px #0000004d, 0 4px 8px 3px #00000026;--app-rail-width:80px;--app-sessions-width:300px;--app-sessions-collapsed-width:72px;--app-actions-width:360px;--app-status-sheet-width:400px;--app-gutter:12px;--app-new-row-ms:1600;--app-long-gap-ms:3000}*,:before,:after{box-sizing:border-box}body{background:var(--md-sys-color-surface);color:var(--md-sys-color-on-surface);font-family:var(--md-sys-typescale-body-large-font);font-size:var(--md-sys-typescale-body-large-size);line-height:var(--md-sys-typescale-body-large-line-height);font-weight:var(--md-sys-typescale-body-large-weight);letter-spacing:var(--md-sys-typescale-body-large-tracking);-webkit-font-smoothing:antialiased;margin:0}button,input,select,textarea{font-family:inherit}:focus-visible{outline:var(--md-sys-state-focus-indicator-thickness) solid var(--md-sys-color-secondary);outline-offset:var(--md-sys-state-focus-indicator-outer-offset)}.mono{font-family:var(--app-font-mono)}.visually-hidden{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}md-icon-button:not(:defined){justify-content:center;align-items:center;block-size:40px;inline-size:40px;display:inline-flex}html:not([data-icons-ready]) md-icon{color:#0000;-webkit-user-select:none;user-select:none;border-radius:50%;block-size:24px;inline-size:24px;display:inline-flex;overflow:hidden}md-icon:not(:defined){color:#0000;-webkit-user-select:none;user-select:none;border-radius:50%;block-size:24px;inline-size:24px;display:inline-flex;overflow:hidden}:is(md-outlined-text-field:not(:defined),md-outlined-select:not(:defined)){min-height:76px;display:block}md-outlined-text-field:not(:defined):before{content:"";border-radius:4px;block-size:56px;display:block}md-outlined-select:not(:defined):before{content:"";border-radius:4px;block-size:56px;display:block}md-outlined-text-field:not(:defined):after{content:"";border-radius:4px;block-size:10px;inline-size:60%;margin:7px 16px 3px;display:block}md-outlined-select:not(:defined):after{content:"";border-radius:4px;block-size:10px;inline-size:60%;margin:7px 16px 3px;display:block}md-outlined-select:not(:defined)>*{display:none}:is(md-filled-button:not(:defined),md-outlined-button:not(:defined),md-text-button:not(:defined)){color:#0000;min-block-size:40px;min-inline-size:64px;font-family:var(--md-sys-typescale-label-large-font);font-size:var(--md-sys-typescale-label-large-size);line-height:var(--md-sys-typescale-label-large-line-height);font-weight:var(--md-sys-typescale-label-large-weight);letter-spacing:normal;white-space:nowrap;-webkit-user-select:none;user-select:none;border-radius:20px;justify-content:center;align-items:center;padding-inline:23px;display:inline-flex}md-text-button:not(:defined){padding-inline:11px}md-dialog:not(:defined){display:none}html:not([data-icons-ready]) md-icon{background:linear-gradient(90deg, transparent, color-mix(in srgb, var(--md-sys-color-surface) 60%, transparent), transparent) 0 0 / 200% 100% no-repeat var(--md-sys-color-surface-container-highest);border:1px solid #0000;animation:1.2s ease-in-out infinite skeleton-shimmer}md-icon:not(:defined){background:linear-gradient(90deg, transparent, color-mix(in srgb, var(--md-sys-color-surface) 60%, transparent), transparent) 0 0 / 200% 100% no-repeat var(--md-sys-color-surface-container-highest);border:1px solid #0000;animation:1.2s ease-in-out infinite skeleton-shimmer}md-outlined-text-field:not(:defined):before{background:linear-gradient(90deg, transparent, color-mix(in srgb, var(--md-sys-color-surface) 60%, transparent), transparent) 0 0 / 200% 100% no-repeat var(--md-sys-color-surface-container-highest);border:1px solid #0000;animation:1.2s ease-in-out infinite skeleton-shimmer}md-outlined-select:not(:defined):before{background:linear-gradient(90deg, transparent, color-mix(in srgb, var(--md-sys-color-surface) 60%, transparent), transparent) 0 0 / 200% 100% no-repeat var(--md-sys-color-surface-container-highest);border:1px solid #0000;animation:1.2s ease-in-out infinite skeleton-shimmer}md-outlined-text-field:not(:defined):after{background:linear-gradient(90deg, transparent, color-mix(in srgb, var(--md-sys-color-surface) 60%, transparent), transparent) 0 0 / 200% 100% no-repeat var(--md-sys-color-surface-container-highest);border:1px solid #0000;animation:1.2s ease-in-out infinite skeleton-shimmer}md-outlined-select:not(:defined):after{background:linear-gradient(90deg, transparent, color-mix(in srgb, var(--md-sys-color-surface) 60%, transparent), transparent) 0 0 / 200% 100% no-repeat var(--md-sys-color-surface-container-highest);border:1px solid #0000;animation:1.2s ease-in-out infinite skeleton-shimmer}md-filled-button:not(:defined){background:linear-gradient(90deg, transparent, color-mix(in srgb, var(--md-sys-color-surface) 60%, transparent), transparent) 0 0 / 200% 100% no-repeat var(--md-sys-color-surface-container-highest);border:1px solid #0000;animation:1.2s ease-in-out infinite skeleton-shimmer}md-outlined-button:not(:defined){background:linear-gradient(90deg, transparent, color-mix(in srgb, var(--md-sys-color-surface) 60%, transparent), transparent) 0 0 / 200% 100% no-repeat var(--md-sys-color-surface-container-highest);border:1px solid #0000;animation:1.2s ease-in-out infinite skeleton-shimmer}md-text-button:not(:defined){background:linear-gradient(90deg, transparent, color-mix(in srgb, var(--md-sys-color-surface) 60%, transparent), transparent) 0 0 / 200% 100% no-repeat var(--md-sys-color-surface-container-highest);border:1px solid #0000;animation:1.2s ease-in-out infinite skeleton-shimmer}@keyframes skeleton-shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}@media (prefers-reduced-motion:reduce){html:not([data-icons-ready]) md-icon{animation:none}md-icon:not(:defined){animation:none}md-outlined-text-field:not(:defined):before{animation:none}md-outlined-select:not(:defined):before{animation:none}md-outlined-text-field:not(:defined):after{animation:none}md-outlined-select:not(:defined):after{animation:none}md-filled-button:not(:defined){animation:none}md-outlined-button:not(:defined){animation:none}md-text-button:not(:defined){animation:none}}.app.svelte-12qhfyh{flex-direction:column;height:100dvh;display:flex}.body.svelte-12qhfyh{flex:1;align-items:stretch;min-height:0;display:flex}main.svelte-12qhfyh{flex:1;min-width:0;min-height:0;padding:0 16px;overflow:auto}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.command.svelte-1c2bq9d{background:var(--md-sys-color-surface-container-low);border-radius:12px;flex-wrap:wrap;justify-content:flex-end;align-items:flex-start;gap:4px 8px;margin:0 0 4px;padding:8px 8px 8px 12px;display:flex}pre.svelte-1c2bq9d{min-width:0;color:var(--md-sys-color-on-surface);font-family:var(--app-font-mono);font-size:var(--app-mono-size);line-height:var(--app-mono-line-height);white-space:pre-wrap;overflow-wrap:anywhere;flex:320px;align-self:center;margin:0}code.svelte-1c2bq9d{font-family:inherit}p.svelte-1c2bq9d{color:var(--md-sys-color-on-surface-variant);margin:0 0 8px;font-size:13px;line-height:18px}p.svelte-1c2bq9d:empty{margin:0 0 4px}p.svelte-2oo2iv{color:var(--md-sys-color-on-surface);overflow-wrap:anywhere;margin:0 0 8px;font-size:14px;line-height:20px}.warning.svelte-2oo2iv{background:var(--app-warning-container);color:var(--app-on-warning-container);border-radius:12px;padding:12px 16px}h3.svelte-2oo2iv{color:var(--md-sys-color-on-surface);margin:16px 0 4px;font-size:16px;font-weight:500;line-height:24px}code.svelte-2oo2iv{font-family:var(--app-font-mono);font-size:.95em}p.svelte-2oo2iv a:where(.svelte-2oo2iv){color:var(--md-sys-color-primary)}p.svelte-1tbxerf,ol.svelte-1tbxerf,.more.svelte-1tbxerf{color:var(--md-sys-color-on-surface);overflow-wrap:anywhere;margin:0 0 8px;font-size:14px;line-height:20px}h3.svelte-1tbxerf{color:var(--md-sys-color-on-surface);margin:16px 0 4px;font-size:16px;font-weight:500;line-height:24px}ol.svelte-1tbxerf,.more.svelte-1tbxerf{padding-left:20px}li.svelte-1tbxerf+li:where(.svelte-1tbxerf){margin-top:4px}.more.svelte-1tbxerf{margin:16px 0 0}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
section.svelte-1ko3bij{box-sizing:border-box;background:var(--app-warning-container);max-width:720px;color:var(--app-on-warning-container);overflow-wrap:anywhere;border-radius:12px;padding:16px;font-size:14px;line-height:20px}h2.svelte-1ko3bij{margin:0 0 8px;font-size:16px;font-weight:500;line-height:24px}ul.svelte-1ko3bij{margin:0;padding-left:20px}li.svelte-1ko3bij+li:where(.svelte-1ko3bij){margin-top:4px}p.svelte-1ko3bij{margin:8px 0}md-outlined-button.svelte-1ko3bij{--md-outlined-button-label-text-color:var(--app-on-warning-container);--md-outlined-button-hover-label-text-color:var(--app-on-warning-container);--md-outlined-button-focus-label-text-color:var(--app-on-warning-container);--md-outlined-button-pressed-label-text-color:var(--app-on-warning-container);--md-outlined-button-outline-color:var(--app-on-warning-container)}.result.svelte-1ko3bij{color:var(--md-sys-color-on-surface-variant);margin:8px 0 0;font-size:13px;line-height:18px}.result.svelte-1ko3bij:empty{margin:0}code.svelte-1ko3bij{font-family:var(--app-mono-font,monospace);font-size:.95em}label.svelte-6obkkj{min-height:26px;color:var(--md-sys-color-on-surface);cursor:pointer;align-items:center;gap:12px;font-size:16px;line-height:24px;display:flex}.box.svelte-6obkkj{flex:none;width:18px;height:18px;position:relative}input.svelte-6obkkj{appearance:none;border:2px solid var(--md-sys-color-on-surface-variant);cursor:pointer;width:18px;height:18px;transition:background-color var(--md-sys-motion-duration-short1) linear;border-radius:2px;margin:0;display:block}label.svelte-6obkkj:hover input:where(.svelte-6obkkj),label.svelte-6obkkj:active input:where(.svelte-6obkkj),input.svelte-6obkkj:focus-visible{border-color:var(--md-sys-color-on-surface)}.box.svelte-6obkkj input:where(.svelte-6obkkj):checked{border-color:var(--md-sys-color-primary);background:var(--md-sys-color-primary)}svg.svelte-6obkkj{width:18px;height:18px;fill:var(--md-sys-color-on-primary);opacity:0;pointer-events:none;transition:transform var(--md-sys-motion-duration-short3) var(--md-sys-motion-easing-emphasized-accelerate), opacity var(--md-sys-motion-duration-short1) linear;position:absolute;inset:0;transform:scale(.6)}input.svelte-6obkkj:checked~svg:where(.svelte-6obkkj){opacity:1;transition:transform var(--md-sys-motion-duration-medium3) var(--md-sys-motion-easing-emphasized-decelerate), opacity var(--md-sys-motion-duration-short1) linear;transform:scale(1)}md-ripple.svelte-6obkkj{border-radius:var(--md-sys-shape-corner-full);--md-ripple-hover-color:var(--md-sys-color-on-surface);--md-ripple-pressed-color:var(--md-sys-color-primary);--md-ripple-hover-opacity:var(--md-sys-state-hover-state-layer-opacity);--md-ripple-pressed-opacity:var(--md-sys-state-pressed-state-layer-opacity);width:40px;height:40px;inset:-11px}input.svelte-6obkkj:checked~md-ripple:where(.svelte-6obkkj){--md-ripple-hover-color:var(--md-sys-color-primary);--md-ripple-pressed-color:var(--md-sys-color-on-surface)}@media (forced-colors:active){input.svelte-6obkkj,label.svelte-6obkkj:hover input:where(.svelte-6obkkj),label.svelte-6obkkj:active input:where(.svelte-6obkkj),input.svelte-6obkkj:focus-visible{border-color:canvastext}.box.svelte-6obkkj input:where(.svelte-6obkkj):checked{background:canvastext;border-color:canvastext}svg.svelte-6obkkj{fill:canvas}}@media (prefers-reduced-motion:reduce){input.svelte-6obkkj,svg.svelte-6obkkj,input.svelte-6obkkj:checked~svg:where(.svelte-6obkkj){transition:none}}.help.svelte-6obkkj,.error.svelte-6obkkj{color:var(--md-sys-color-on-surface-variant);margin:0;padding:0 16px;font-size:13px;line-height:18px}.error.svelte-6obkkj{color:var(--md-sys-color-error)}md-outlined-text-field.svelte-rc157l,md-outlined-select.svelte-rc157l{width:100%;min-width:0}.pending.svelte-rc157l{border-left:4px solid var(--app-warning);padding-left:12px}dl.svelte-rc157l{margin:0}dt.svelte-rc157l,.note.svelte-rc157l{color:var(--md-sys-color-on-surface-variant);font-size:13px;line-height:18px}dd.svelte-rc157l{margin:0}.value.svelte-rc157l{color:var(--md-sys-color-on-surface);margin:2px 0;font-size:16px;line-height:24px}code.svelte-rc157l{font-family:var(--app-mono-font,monospace);font-size:.95em}form.svelte-1yckkzn{flex-direction:column;gap:12px;max-width:720px;padding-top:8px;display:flex}.fields.svelte-1yckkzn{grid-template-columns:repeat(auto-fill,minmax(min(100%,340px),1fr));align-items:start;gap:12px 24px;display:grid}.cell.svelte-1yckkzn{flex-direction:column;gap:12px;min-width:0;max-width:480px;display:flex}.actions.svelte-1yckkzn{flex-wrap:wrap;gap:8px;display:flex}.note.svelte-1yckkzn{color:var(--md-sys-color-on-surface-variant);margin:0;font-size:13px;line-height:18px}.note.svelte-1yckkzn:empty{position:absolute}.failure.svelte-1yckkzn{color:var(--md-sys-color-error);margin:0;font-size:14px;line-height:20px}fieldset.svelte-15x0123{border:0;min-width:0;margin:0;padding:0}legend.svelte-15x0123{color:var(--md-sys-color-on-surface);padding:0;font-size:14px;font-weight:500;line-height:20px}.hint.svelte-15x0123{color:var(--md-sys-color-on-surface-variant);margin:2px 0 12px;font-size:13px;line-height:18px}.options.svelte-15x0123{flex-direction:column;gap:8px;display:flex}.option.svelte-15x0123{border:1px solid var(--md-sys-color-outline);box-sizing:border-box;background:var(--md-sys-color-surface);min-height:64px;color:var(--md-sys-color-on-surface);cursor:pointer;border-radius:12px;align-items:center;gap:12px;padding:8px 16px 8px 12px;display:flex;position:relative}.option.svelte-15x0123:hover{background:var(--md-sys-color-surface-container-high)}input.svelte-15x0123{opacity:0;cursor:pointer;margin:0;position:absolute;inset:0}.mark.svelte-15x0123{border:2px solid var(--md-sys-color-outline);box-sizing:border-box;border-radius:50%;flex:none;place-items:center;width:20px;height:20px;display:grid}.option.svelte-15x0123:has(input:where(.svelte-15x0123):checked){border:3px solid var(--md-sys-color-primary);background:var(--md-sys-color-primary-container);color:var(--md-sys-color-on-primary-container);padding:6px 14px 6px 10px}.option.svelte-15x0123:has(input:where(.svelte-15x0123):checked) .mark:where(.svelte-15x0123){border-color:var(--md-sys-color-primary)}.option.svelte-15x0123:has(input:where(.svelte-15x0123):checked) .mark:where(.svelte-15x0123):after{background:var(--md-sys-color-primary);content:"";border-radius:50%;width:10px;height:10px}.option.svelte-15x0123:has(input:where(.svelte-15x0123):focus-visible){outline:var(--md-sys-state-focus-indicator-thickness) solid var(--md-sys-color-primary);outline-offset:2px}.text.svelte-15x0123{flex-direction:column;flex:1;min-width:0;display:flex}.label.svelte-15x0123{font-size:16px;font-weight:500;line-height:24px}.description.svelte-15x0123{font-size:13px;line-height:18px}.option.svelte-15x0123:not(:has(input:checked)) .description:where(.svelte-15x0123){color:var(--md-sys-color-on-surface-variant)}.selected.svelte-15x0123{color:var(--md-sys-color-on-primary-container);align-items:center;gap:4px;font-size:12px;font-weight:600;display:none}.option.svelte-15x0123:has(input:where(.svelte-15x0123):checked) .selected:where(.svelte-15x0123){display:inline-flex}.swatch.svelte-15x0123{border:2px solid var(--md-sys-color-outline);box-sizing:border-box;background:var(--md-sys-color-surface);border-radius:8px;flex:none;width:72px;height:44px;display:block;position:relative;overflow:hidden}.bar.svelte-15x0123{background:var(--md-sys-color-primary);height:10px;position:absolute;inset:0 0 auto}.aa.svelte-15x0123{color:var(--md-sys-color-on-surface);font:600 15px/16px system-ui,sans-serif;position:absolute;bottom:5px;left:8px}.chip.svelte-15x0123{background:var(--md-sys-color-primary);border-radius:6px;width:20px;height:12px;position:absolute;bottom:7px;right:7px}@media (width<=400px){.swatch.svelte-15x0123{display:none}}.reading.svelte-1i19ct2{text-align:center;max-width:720px;margin-bottom:12px;padding-top:24px;padding-bottom:12px}md-linear-progress.svelte-1i19ct2{display:block}.unreachable.svelte-1i19ct2{text-align:center;flex-direction:column;align-items:center;max-width:720px;padding:16px 0;display:flex}.unreachable.svelte-1i19ct2 md-icon:where(.svelte-1i19ct2){--md-icon-size:48px;color:var(--md-sys-color-on-surface-variant);margin-bottom:8px}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.banner.svelte-qexebn{background:var(--app-warning-container);color:var(--app-on-warning-container);border-radius:12px;align-items:flex-start;gap:12px;padding:12px 16px;font-size:14px;line-height:20px;display:flex}p.svelte-qexebn{flex:1;min-width:0;margin:0}md-icon.svelte-qexebn{flex:none}md-dialog.svelte-qieqgw{--md-dialog-container-color:var(--md-sys-color-surface-container-high);--md-dialog-headline-color:var(--md-sys-color-on-surface);--md-dialog-supporting-text-color:var(--md-sys-color-on-surface-variant);max-width:min(400px,100% - 48px)}p.svelte-qieqgw{margin:0}.failure.svelte-qieqgw{color:var(--md-sys-color-error);margin-top:12px}md-dialog.svelte-1sof82u{--md-dialog-container-color:var(--md-sys-color-surface-container-high);--md-dialog-headline-color:var(--md-sys-color-on-surface);--md-dialog-supporting-text-color:var(--md-sys-color-on-surface-variant);max-width:min(400px,100% - 48px)}p.svelte-1sof82u{margin:0}.failure.svelte-1sof82u{color:var(--md-sys-color-error);margin-top:12px}md-dialog.svelte-ttl1x5{--md-dialog-container-color:var(--md-sys-color-surface-container-high);--md-dialog-headline-color:var(--md-sys-color-on-surface);--md-dialog-supporting-text-color:var(--md-sys-color-on-surface-variant)}form.svelte-ttl1x5{flex-direction:column;gap:16px;min-width:min(360px,70vw);display:flex}.failure.svelte-ttl1x5{color:var(--md-sys-color-error);margin:0}table.svelte-5c13xh{border-collapse:separate;border-spacing:0;width:100%}thead.svelte-5c13xh th:where(.svelte-5c13xh){z-index:1;border-top:1px solid var(--md-sys-color-outline-variant);border-bottom:1px solid var(--md-sys-color-outline-variant);background:var(--md-sys-color-surface-container-low);color:var(--md-sys-color-on-surface-variant);letter-spacing:.5px;text-align:left;text-transform:uppercase;padding:6px 12px;font-size:11px;font-weight:500;position:sticky;top:0}thead.svelte-5c13xh th:where(.svelte-5c13xh):first-child{padding-left:24px}th.seq.svelte-5c13xh,td.seq.svelte-5c13xh{text-align:left;padding-right:24px}.seq-head.svelte-5c13xh{justify-content:space-between;align-items:center;gap:4px;display:flex}.help.svelte-5c13xh{margin-block:-2px;display:flex}.help.svelte-5c13xh md-icon:where(.svelte-5c13xh){--md-icon-size:16px;letter-spacing:normal;text-transform:none;font-size:16px}tbody.svelte-5c13xh tr:where(.svelte-5c13xh):hover{background:var(--md-sys-color-surface-container)}td.svelte-5c13xh{vertical-align:baseline;padding:7px 12px}td.time.svelte-5c13xh,td.seq.svelte-5c13xh{white-space:nowrap;width:1%}td.time.svelte-5c13xh{color:var(--md-sys-color-on-surface-variant);font-size:var(--app-mono-size);line-height:var(--app-mono-line-height);padding-left:24px}td.text.svelte-5c13xh{color:var(--md-sys-color-on-surface);font-size:var(--app-log-text-size);line-height:var(--app-log-text-line-height);overflow-wrap:anywhere}td.seq.svelte-5c13xh{color:var(--md-sys-color-outline);font-size:11px}tr.fresh.svelte-5c13xh{animation:svelte-5c13xh-fade-new calc(var(--app-new-row-ms) * 1ms) ease-out}tr.fresh.svelte-5c13xh td:where(.svelte-5c13xh):first-child{animation:svelte-5c13xh-fade-new-edge calc(var(--app-new-row-ms) * 1ms) ease-out}@keyframes svelte-5c13xh-fade-new{0%{background:var(--app-new-row)}}@keyframes svelte-5c13xh-fade-new-edge{0%{box-shadow:inset calc(var(--app-border-width) * 2) 0 0 var(--md-sys-color-primary)}}@container (width<=520px){th.seq.svelte-5c13xh,td.seq.svelte-5c13xh{display:none}}@media (prefers-reduced-motion:reduce){tr.fresh.svelte-5c13xh{animation:none}}.pill.svelte-5c13xh{background:var(--md-sys-color-tertiary-container);max-width:70%;height:24px;color:var(--md-sys-color-on-tertiary-container);vertical-align:middle;border-radius:6px;align-items:center;gap:4px;padding:0 8px 0 4px;font-size:12px;font-weight:500;line-height:16px;display:inline-flex;position:relative}.pill.svelte-5c13xh md-icon:where(.svelte-5c13xh){--md-icon-size:16px;font-size:16px}.label.svelte-5c13xh{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.log.svelte-1jnrixz{box-sizing:border-box;border:1px solid var(--md-sys-color-outline-variant);border-width:max(1px, var(--app-border-width));background:var(--md-sys-color-surface-container-lowest);border-radius:16px;flex-direction:column;height:100%;min-height:0;display:flex;overflow:hidden}header.svelte-1jnrixz{box-sizing:border-box;flex:none;align-items:center;gap:8px;min-height:64px;padding:16px 12px 8px 24px;display:flex}h2.svelte-1jnrixz{min-width:0;color:var(--md-sys-color-on-surface);flex:1;margin:0;font-size:22px;font-weight:500;line-height:28px}.trunc.svelte-1jnrixz{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.scroll.svelte-1jnrixz{flex:1;min-height:0;overflow-y:auto;container-type:inline-size}.empty.svelte-1jnrixz{color:var(--md-sys-color-on-surface-variant);text-align:center;flex-direction:column;align-items:center;padding:96px 24px;animation:0s .25s backwards svelte-1jnrixz-reveal;display:flex}@keyframes svelte-1jnrixz-reveal{0%{visibility:hidden}}.empty.svelte-1jnrixz md-icon:where(.svelte-1jnrixz){--md-icon-size:40px;font-size:40px}.empty.svelte-1jnrixz p:where(.svelte-1jnrixz){margin:4px 0 0;font-size:14px}.empty.svelte-1jnrixz .title:where(.svelte-1jnrixz){color:var(--md-sys-color-on-surface);font-size:16px;font-weight:500}footer.svelte-1jnrixz{border-top:1px solid var(--md-sys-color-outline-variant);background:var(--md-sys-color-surface-container-low);flex:none;justify-content:space-between;align-items:center;gap:12px;padding:8px 12px 8px 24px;display:flex}footer.svelte-1jnrixz p.failed:where(.svelte-1jnrixz){color:var(--md-sys-color-error)}footer.svelte-1jnrixz p:where(.svelte-1jnrixz){color:var(--md-sys-color-on-surface-variant);font-size:var(--app-mono-size);margin:0}.option.svelte-3qlloz{border-radius:var(--list-item-shape,var(--md-sys-shape-corner-small,8px));width:100%;min-height:60px;color:var(--md-sys-color-on-surface);font:inherit;text-align:left;cursor:pointer;--md-ripple-hover-color:currentColor;--md-ripple-pressed-color:currentColor;background:0 0;border:0;flex:none;align-items:center;gap:8px;padding:8px 16px 8px 12px;display:flex;position:relative}.option.selected.svelte-3qlloz{outline:var(--app-border-width) solid var(--md-sys-color-outline);outline-offset:calc(var(--app-border-width) * -1);background:var(--md-sys-color-secondary-container);color:var(--md-sys-color-on-secondary-container)}.option.svelte-3qlloz:focus-visible,.option.selected.svelte-3qlloz:focus-visible{outline:var(--md-sys-state-focus-indicator-thickness) solid var(--md-sys-color-secondary);outline-offset:calc(-1 * var(--md-sys-state-focus-indicator-thickness))}.marker.svelte-3qlloz{flex:none;width:24px;display:flex}.text.svelte-3qlloz{flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.title.svelte-3qlloz{font-size:var(--md-sys-typescale-label-large-size,14px);text-overflow:ellipsis;white-space:nowrap;font-weight:500;overflow:hidden}.subtitle.svelte-3qlloz{color:var(--md-sys-color-on-surface-variant);font-family:var(--app-font-mono);font-size:var(--app-mono-size);white-space:nowrap;overflow:hidden}.selected.svelte-3qlloz .subtitle:where(.svelte-3qlloz){color:inherit}md-dialog.svelte-17z3k9b{--md-dialog-container-color:var(--md-sys-color-surface-container-high);--md-dialog-headline-color:var(--md-sys-color-on-surface);--md-dialog-supporting-text-color:var(--md-sys-color-on-surface-variant);max-width:min(400px,100% - 48px)}p.svelte-17z3k9b{margin:0}.failure.svelte-17z3k9b{color:var(--md-sys-color-error);margin-top:12px}.meta.svelte-wvg2ho{align-items:center;min-width:0;display:flex}.meta.svelte-wvg2ho>span:where(.svelte-wvg2ho){white-space:nowrap;flex:none}.meta.svelte-wvg2ho>:where(.svelte-wvg2ho):not(:last-child):after{content:" · "}.meta.svelte-wvg2ho>.dot:where(.svelte-wvg2ho):after,.meta.svelte-wvg2ho>:where(.svelte-wvg2ho):nth-last-child(2):after{content:none}.meta.svelte-wvg2ho>.id:where(.svelte-wvg2ho):before{content:" · "}.meta.svelte-wvg2ho>.run:where(.svelte-wvg2ho),.meta.svelte-wvg2ho>.id:where(.svelte-wvg2ho){text-overflow:ellipsis;flex:0 auto;min-width:0;overflow:hidden}.meta.svelte-wvg2ho>.id:where(.svelte-wvg2ho){flex-shrink:100}.dot.svelte-wvg2ho{background:var(--app-success);border-radius:50%;flex:none;width:8px;height:8px;margin-right:6px;animation:1.6s ease-in-out infinite svelte-wvg2ho-pulse}@keyframes svelte-wvg2ho-pulse{50%{opacity:.35}}@media (prefers-reduced-motion:reduce){.dot.svelte-wvg2ho{animation:none}}md-dialog.svelte-2k1elc{--md-dialog-container-color:var(--md-sys-color-surface-container-high);--md-dialog-headline-color:var(--md-sys-color-on-surface);--md-dialog-supporting-text-color:var(--md-sys-color-on-surface-variant)}form.svelte-2k1elc{flex-direction:column;gap:16px;min-width:min(360px,70vw);display:flex}.failure.svelte-2k1elc{color:var(--md-sys-color-error);margin:0}section.svelte-1fz71rn{box-sizing:border-box;border:var(--app-border-width) solid var(--md-sys-color-outline);background:var(--md-sys-color-surface-container-low);border-radius:28px;flex-direction:column;height:100%;min-height:0;padding:16px 12px;display:flex}header.svelte-1fz71rn{flex:none;align-items:center;padding:0 4px 8px 0;display:flex}section.collapsed.svelte-1fz71rn{align-items:flex-start}.collapsed.svelte-1fz71rn header:where(.svelte-1fz71rn){flex-direction:column;padding:0}h2.svelte-1fz71rn{font-size:var(--md-sys-typescale-title-medium-size,16px);flex:1;margin:0 0 0 8px;font-weight:500}.start.svelte-1fz71rn{--md-icon-button-icon-color:var(--md-sys-color-primary);--md-icon-button-hover-icon-color:var(--md-sys-color-primary);--md-icon-button-focus-icon-color:var(--md-sys-color-primary)}.stop.svelte-1fz71rn{--md-icon-button-icon-color:var(--md-sys-color-error);--md-icon-button-hover-icon-color:var(--md-sys-color-error);--md-icon-button-focus-icon-color:var(--md-sys-color-error)}.listbox.svelte-1fz71rn{flex-direction:column;flex:1;gap:4px;min-height:0;display:flex;overflow-y:auto}.outside.svelte-1fz71rn{z-index:1;border-top:1px solid var(--md-sys-color-outline-variant);background:var(--md-sys-color-surface-container-low);flex:none;margin-top:auto;padding-top:8px;position:sticky;bottom:0}.empty.svelte-1fz71rn{color:var(--md-sys-color-on-surface-variant);margin:0;padding:8px 16px}.monitor.svelte-1uha8ag{height:100%;padding:var(--app-gutter) 0;align-items:stretch;gap:16px;display:flex}.sessions.svelte-1uha8ag{width:var(--app-sessions-width);flex:none;min-height:0;transition:width .2s}.sessions.collapsed.svelte-1uha8ag{width:var(--app-sessions-collapsed-width)}@media (prefers-reduced-motion:reduce){.sessions.svelte-1uha8ag{transition:none}}.log.svelte-1uha8ag{flex-direction:column;flex:1;gap:12px;min-width:0;min-height:0;display:flex}.log-body.svelte-1uha8ag{flex:1;min-height:0}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
a.svelte-13xhv7j{color:var(--md-sys-color-primary)}ul.svelte-10lx79f{margin:0 0 12px;padding:0;list-style:none}li.svelte-10lx79f{color:var(--md-sys-color-on-surface);grid-template-columns:24px minmax(0,180px) minmax(0,1fr);align-items:start;gap:4px 12px;padding:8px 0;font-size:14px;line-height:24px;display:grid}li.svelte-10lx79f+li:where(.svelte-10lx79f){border-top:1px solid var(--md-sys-color-outline-variant)}.ok.svelte-10lx79f md-icon:where(.svelte-10lx79f){color:var(--app-success)}.warning.svelte-10lx79f md-icon:where(.svelte-10lx79f){color:var(--app-warning)}.neutral.svelte-10lx79f md-icon:where(.svelte-10lx79f){color:var(--md-sys-color-on-surface-variant)}.label.svelte-10lx79f{font-weight:500}.state.svelte-10lx79f{overflow-wrap:anywhere}.help.svelte-10lx79f{margin-left:8px}@media (width<=600px){li.svelte-10lx79f{grid-template-columns:24px minmax(0,1fr)}.state.svelte-10lx79f{grid-column:2}}.note.svelte-10lx79f,.unreachable.svelte-10lx79f{color:var(--md-sys-color-on-surface-variant);margin:0 0 12px;font-size:13px;line-height:18px}.unreachable.svelte-10lx79f{color:var(--md-sys-color-error);font-size:14px;line-height:20px}p[role=status].svelte-10lx79f{margin:8px 0 0}p[role=status].svelte-10lx79f:empty{margin:0}md-dialog.svelte-6mj6i9{--md-dialog-container-color:var(--md-sys-color-surface-container-high);--md-dialog-headline-color:var(--md-sys-color-on-surface);--md-dialog-supporting-text-color:var(--md-sys-color-on-surface-variant);max-width:min(400px,100% - 48px)}p.svelte-6mj6i9{margin:0}.actions.svelte-xev9kd{flex-wrap:wrap;gap:8px;margin-bottom:12px;display:flex}.result.svelte-xev9kd{color:var(--md-sys-color-on-surface);overflow-wrap:anywhere;margin:0 0 8px;font-size:14px;line-height:20px}.result.svelte-xev9kd:empty{margin:0}.result.heard.svelte-xev9kd{color:var(--app-success);font-weight:500}.result.failed.svelte-xev9kd{color:var(--md-sys-color-error)}ol.svelte-xev9kd{background:var(--md-sys-color-surface-container-low);color:var(--md-sys-color-on-surface);font-size:var(--app-log-text-size);line-height:var(--app-log-text-line-height);overflow-wrap:anywhere;border-radius:12px;margin:0 0 12px;padding:8px 12px 8px 36px}.hints.svelte-xev9kd{color:var(--md-sys-color-on-surface);margin:0;padding-left:20px;font-size:14px;line-height:20px}.hints.svelte-xev9kd li:where(.svelte-xev9kd)+li:where(.svelte-xev9kd){margin-top:4px}p.svelte-xev9kd a:where(.svelte-xev9kd){color:var(--md-sys-color-primary)}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dialog.js","names":["LitElement","property","styles","css","styles","customElement","LitElement","html","classMap","nothing","property","query","state","css","customElement"],"sources":["../../../../../node_modules/.pnpm/@material+web@2.5.0/node_modules/@material/web/divider/internal/divider.js","../../../../../node_modules/.pnpm/@material+web@2.5.0/node_modules/@material/web/divider/internal/divider-styles.cssresult.js","../../../../../node_modules/.pnpm/@material+web@2.5.0/node_modules/@material/web/divider/divider.js","../../../../../node_modules/.pnpm/@material+web@2.5.0/node_modules/@material/web/dialog/internal/animations.js","../../../../../node_modules/.pnpm/@material+web@2.5.0/node_modules/@material/web/dialog/internal/dialog.js","../../../../../node_modules/.pnpm/@material+web@2.5.0/node_modules/@material/web/dialog/internal/dialog-styles.cssresult.js","../../../../../node_modules/.pnpm/@material+web@2.5.0/node_modules/@material/web/dialog/dialog.js"],"sourcesContent":["/**\n * @license\n * Copyright 2023 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\nimport { __decorate } from \"tslib\";\nimport { LitElement } from 'lit';\nimport { property } from 'lit/decorators.js';\n/**\n * A divider component.\n */\nexport class Divider extends LitElement {\n constructor() {\n super(...arguments);\n /**\n * Indents the divider with equal padding on both sides.\n */\n this.inset = false;\n /**\n * Indents the divider with padding on the leading side.\n */\n this.insetStart = false;\n /**\n * Indents the divider with padding on the trailing side.\n */\n this.insetEnd = false;\n }\n}\n__decorate([\n property({ type: Boolean, reflect: true })\n], Divider.prototype, \"inset\", void 0);\n__decorate([\n property({ type: Boolean, reflect: true, attribute: 'inset-start' })\n], Divider.prototype, \"insetStart\", void 0);\n__decorate([\n property({ type: Boolean, reflect: true, attribute: 'inset-end' })\n], Divider.prototype, \"insetEnd\", void 0);\n//# sourceMappingURL=divider.js.map","/**\n * @license\n * Copyright 2026 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\n// Generated stylesheet for ./divider/internal/divider-styles.css.\nimport { css } from 'lit';\nexport const styles = css `:host{box-sizing:border-box;color:var(--md-divider-color, var(--md-sys-color-outline-variant, #cac4d0));display:flex;height:var(--md-divider-thickness, 1px);width:100%}:host([inset]),:host([inset-start]){padding-inline-start:16px}:host([inset]),:host([inset-end]){padding-inline-end:16px}:host::before{background:currentColor;content:\"\";height:100%;width:100%}@media(forced-colors: active){:host::before{background:CanvasText}}\n`;\nexport default styles.styleSheet;\n//# sourceMappingURL=divider-styles.cssresult.js.map","/**\n * @license\n * Copyright 2023 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\nimport { __decorate } from \"tslib\";\nimport { customElement } from 'lit/decorators.js';\nimport { Divider } from './internal/divider.js';\nimport { styles } from './internal/divider-styles.cssresult.js';\n/**\n * @summary A divider is a thin line that groups content in lists and\n * containers.\n *\n * @description Dividers can reinforce tapability, such as when used to separate\n * list items or define tappable regions in an accordion.\n *\n * @final\n * @suppress {visibility}\n */\nlet MdDivider = class MdDivider extends Divider {\n};\nMdDivider.styles = [styles];\nMdDivider = __decorate([\n customElement('md-divider')\n], MdDivider);\nexport { MdDivider };\n//# sourceMappingURL=divider.js.map","/**\n * @license\n * Copyright 2023 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\nimport { EASING } from '../../internal/motion/animation.js';\n/**\n * The default dialog open animation.\n */\nexport const DIALOG_DEFAULT_OPEN_ANIMATION = {\n dialog: [\n [\n // Dialog slide down\n [{ 'transform': 'translateY(-50px)' }, { 'transform': 'translateY(0)' }],\n { duration: 500, easing: EASING.EMPHASIZED },\n ],\n ],\n scrim: [\n [\n // Scrim fade in\n [{ 'opacity': 0 }, { 'opacity': 0.32 }],\n { duration: 500, easing: 'linear' },\n ],\n ],\n container: [\n [\n // Container fade in\n [{ 'opacity': 0 }, { 'opacity': 1 }],\n { duration: 50, easing: 'linear', pseudoElement: '::before' },\n ],\n [\n // Container grow\n // Note: current spec says to grow from 0dp->100% and shrink from\n // 100%->35%. We change this to 35%->100% to simplify the animation that\n // is supposed to clip content as it grows. From 0dp it's possible to see\n // text/actions appear before the container has fully grown.\n [{ 'height': '35%' }, { 'height': '100%' }],\n { duration: 500, easing: EASING.EMPHASIZED, pseudoElement: '::before' },\n ],\n ],\n headline: [\n [\n // Headline fade in\n [{ 'opacity': 0 }, { 'opacity': 0, offset: 0.2 }, { 'opacity': 1 }],\n { duration: 250, easing: 'linear', fill: 'forwards' },\n ],\n ],\n content: [\n [\n // Content fade in\n [{ 'opacity': 0 }, { 'opacity': 0, offset: 0.2 }, { 'opacity': 1 }],\n { duration: 250, easing: 'linear', fill: 'forwards' },\n ],\n ],\n actions: [\n [\n // Actions fade in\n [{ 'opacity': 0 }, { 'opacity': 0, offset: 0.5 }, { 'opacity': 1 }],\n { duration: 300, easing: 'linear', fill: 'forwards' },\n ],\n ],\n};\n/**\n * The default dialog close animation.\n */\nexport const DIALOG_DEFAULT_CLOSE_ANIMATION = {\n dialog: [\n [\n // Dialog slide up\n [{ 'transform': 'translateY(0)' }, { 'transform': 'translateY(-50px)' }],\n { duration: 150, easing: EASING.EMPHASIZED_ACCELERATE },\n ],\n ],\n scrim: [\n [\n // Scrim fade out\n [{ 'opacity': 0.32 }, { 'opacity': 0 }],\n { duration: 150, easing: 'linear' },\n ],\n ],\n container: [\n [\n // Container shrink\n [{ 'height': '100%' }, { 'height': '35%' }],\n {\n duration: 150,\n easing: EASING.EMPHASIZED_ACCELERATE,\n pseudoElement: '::before',\n },\n ],\n [\n // Container fade out\n [{ 'opacity': '1' }, { 'opacity': '0' }],\n { delay: 100, duration: 50, easing: 'linear', pseudoElement: '::before' },\n ],\n ],\n headline: [\n [\n // Headline fade out\n [{ 'opacity': 1 }, { 'opacity': 0 }],\n { duration: 100, easing: 'linear', fill: 'forwards' },\n ],\n ],\n content: [\n [\n // Content fade out\n [{ 'opacity': 1 }, { 'opacity': 0 }],\n { duration: 100, easing: 'linear', fill: 'forwards' },\n ],\n ],\n actions: [\n [\n // Actions fade out\n [{ 'opacity': 1 }, { 'opacity': 0 }],\n { duration: 100, easing: 'linear', fill: 'forwards' },\n ],\n ],\n};\n//# sourceMappingURL=animations.js.map","/**\n * @license\n * Copyright 2023 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\nimport { __decorate } from \"tslib\";\nimport '../../divider/divider.js';\nimport { html, isServer, LitElement, nothing } from 'lit';\nimport { property, query, state } from 'lit/decorators.js';\nimport { classMap } from 'lit/directives/class-map.js';\nimport { mixinDelegatesAria } from '../../internal/aria/delegate.js';\nimport { redispatchEvent } from '../../internal/events/redispatch-event.js';\nimport { DIALOG_DEFAULT_CLOSE_ANIMATION, DIALOG_DEFAULT_OPEN_ANIMATION, } from './animations.js';\n// Separate variable needed for closure.\nconst dialogBaseClass = mixinDelegatesAria(LitElement);\n/**\n * A dialog component.\n *\n * @fires open {Event} Dispatched when the dialog is opening before any animations.\n * @fires opened {Event} Dispatched when the dialog has opened after any animations.\n * @fires close {Event} Dispatched when the dialog is closing before any animations.\n * @fires closed {Event} Dispatched when the dialog has closed after any animations.\n * @fires cancel {Event} Dispatched when the dialog has been canceled by clicking\n * on the scrim or pressing Escape.\n */\nexport class Dialog extends dialogBaseClass {\n // We do not use `delegatesFocus: true` due to a Chromium bug with\n // selecting text.\n // See https://bugs.chromium.org/p/chromium/issues/detail?id=950357\n /**\n * Opens the dialog when set to `true` and closes it when set to `false`.\n */\n get open() {\n return this.isOpen;\n }\n set open(open) {\n if (open === this.isOpen) {\n return;\n }\n this.isOpen = open;\n if (open) {\n this.setAttribute('open', '');\n this.show();\n }\n else {\n this.removeAttribute('open');\n this.close();\n }\n }\n constructor() {\n super();\n /**\n * Skips the opening and closing animations.\n */\n this.quick = false;\n /**\n * Gets or sets the dialog's return value, usually to indicate which button\n * a user pressed to close it.\n *\n * https://developer.mozilla.org/en-US/docs/Web/API/HTMLDialogElement/returnValue\n */\n this.returnValue = '';\n /**\n * Disables focus trapping, which by default keeps keyboard Tab navigation\n * within the dialog.\n *\n * When disabled, after focusing the last element of a dialog, pressing Tab\n * again will release focus from the window back to the browser (such as the\n * URL bar).\n *\n * Focus trapping is recommended for accessibility, and should not typically\n * be disabled. Only turn this off if the use case of a dialog is more\n * accessible without focus trapping.\n */\n this.noFocusTrap = false;\n /**\n * Gets the opening animation for a dialog. Set to a new function to customize\n * the animation.\n */\n this.getOpenAnimation = () => DIALOG_DEFAULT_OPEN_ANIMATION;\n /**\n * Gets the closing animation for a dialog. Set to a new function to customize\n * the animation.\n */\n this.getCloseAnimation = () => DIALOG_DEFAULT_CLOSE_ANIMATION;\n this.isOpen = false;\n this.isOpening = false;\n this.isConnectedPromise = this.getIsConnectedPromise();\n this.isAtScrollTop = false;\n this.isAtScrollBottom = false;\n this.nextClickIsFromContent = false;\n // Dialogs should not be SSR'd while open, so we can just use runtime checks.\n this.hasHeadline = false;\n this.hasActions = false;\n this.hasIcon = false;\n // See https://bugs.chromium.org/p/chromium/issues/detail?id=1512224\n // Chrome v120 has a bug where escape keys do not trigger cancels. If we get\n // a dialog \"close\" event that is triggered without a \"cancel\" after an escape\n // keydown, then we need to manually trigger our closing logic.\n //\n // This bug occurs when pressing escape to close a dialog without first\n // interacting with the dialog's content.\n //\n // Cleanup tracking:\n // https://github.com/material-components/material-web/issues/5330\n // This can be removed when full CloseWatcher support added and the above bug\n // in Chromium is fixed to fire 'cancel' with one escape press and close with\n // multiple.\n this.escapePressedWithoutCancel = false;\n // This TreeWalker is used to walk through a dialog's children to find\n // focusable elements. TreeWalker is faster than `querySelectorAll('*')`.\n // We check for isServer because there isn't a \"document\" during an SSR\n // run.\n this.treewalker = isServer\n ? null\n : document.createTreeWalker(this, NodeFilter.SHOW_ELEMENT);\n if (!isServer) {\n this.addEventListener('submit', this.handleSubmit);\n }\n }\n /**\n * Opens the dialog and fires a cancelable `open` event. After a dialog's\n * animation, an `opened` event is fired.\n *\n * Add an `autofocus` attribute to a child of the dialog that should\n * receive focus after opening.\n *\n * @return A Promise that resolves after the animation is finished and the\n * `opened` event was fired.\n */\n async show() {\n this.isOpening = true;\n // Dialogs can be opened before being attached to the DOM, so we need to\n // wait until we're connected before calling `showModal()`.\n await this.isConnectedPromise;\n await this.updateComplete;\n const dialog = this.dialog;\n // Check if already opened or if `dialog.close()` was called while awaiting.\n if (dialog.open || !this.isOpening) {\n this.isOpening = false;\n return;\n }\n const preventOpen = !this.dispatchEvent(new Event('open', { cancelable: true }));\n if (preventOpen) {\n this.open = false;\n this.isOpening = false;\n return;\n }\n // All Material dialogs are modal.\n dialog.showModal();\n this.open = true;\n // Reset scroll position if re-opening a dialog with the same content.\n if (this.scroller) {\n this.scroller.scrollTop = 0;\n }\n // Native modal dialogs ignore autofocus and instead force focus to the\n // first focusable child. Override this behavior if there is a child with\n // an autofocus attribute.\n this.querySelector('[autofocus]')?.focus();\n await this.animateDialog(this.getOpenAnimation());\n this.dispatchEvent(new Event('opened'));\n this.isOpening = false;\n }\n /**\n * Closes the dialog and fires a cancelable `close` event. After a dialog's\n * animation, a `closed` event is fired.\n *\n * @param returnValue A return value usually indicating which button was used\n * to close a dialog. If a dialog is canceled by clicking the scrim or\n * pressing Escape, it will not change the return value after closing.\n * @return A Promise that resolves after the animation is finished and the\n * `closed` event was fired.\n */\n async close(returnValue = this.returnValue) {\n this.isOpening = false;\n if (!this.isConnected) {\n // Disconnected dialogs do not fire close events or animate.\n this.open = false;\n return;\n }\n await this.updateComplete;\n const dialog = this.dialog;\n // Check if already closed or if `dialog.show()` was called while awaiting.\n if (!dialog.open || this.isOpening) {\n this.open = false;\n return;\n }\n const prevReturnValue = this.returnValue;\n this.returnValue = returnValue;\n const preventClose = !this.dispatchEvent(new Event('close', { cancelable: true }));\n if (preventClose) {\n this.returnValue = prevReturnValue;\n return;\n }\n await this.animateDialog(this.getCloseAnimation());\n dialog.close(returnValue);\n this.open = false;\n this.dispatchEvent(new Event('closed'));\n }\n connectedCallback() {\n super.connectedCallback();\n this.isConnectedPromiseResolve();\n }\n disconnectedCallback() {\n super.disconnectedCallback();\n this.isConnectedPromise = this.getIsConnectedPromise();\n }\n render() {\n const scrollable = this.open && !(this.isAtScrollTop && this.isAtScrollBottom);\n const classes = {\n 'has-headline': this.hasHeadline,\n 'has-actions': this.hasActions,\n 'has-icon': this.hasIcon,\n 'scrollable': scrollable,\n 'show-top-divider': scrollable && !this.isAtScrollTop,\n 'show-bottom-divider': scrollable && !this.isAtScrollBottom,\n };\n // The focus trap sentinels are only added after the dialog opens, since\n // dialog.showModal() will try to autofocus them, even with tabindex=\"-1\".\n const showFocusTrap = this.open && !this.noFocusTrap;\n const focusTrap = html `\n <div\n class=\"focus-trap\"\n tabindex=\"0\"\n aria-hidden=\"true\"\n @focus=${this.handleFocusTrapFocus}></div>\n `;\n const { ariaLabel } = this;\n return html `\n <div class=\"scrim\"></div>\n <dialog\n class=${classMap(classes)}\n aria-label=${ariaLabel || nothing}\n aria-labelledby=${this.hasHeadline ? 'headline' : nothing}\n role=${this.type === 'alert' ? 'alertdialog' : nothing}\n @cancel=${this.handleCancel}\n @click=${this.handleDialogClick}\n @close=${this.handleClose}\n @keydown=${this.handleKeydown}\n .returnValue=${this.returnValue || nothing}>\n ${showFocusTrap ? focusTrap : nothing}\n <div class=\"container\" @click=${this.handleContentClick}>\n <div class=\"headline\">\n <div class=\"icon\" aria-hidden=\"true\">\n <slot name=\"icon\" @slotchange=${this.handleIconChange}></slot>\n </div>\n <h2 id=\"headline\" aria-hidden=${!this.hasHeadline || nothing}>\n <slot\n name=\"headline\"\n @slotchange=${this.handleHeadlineChange}></slot>\n </h2>\n <md-divider></md-divider>\n </div>\n <div class=\"scroller\">\n <div class=\"content\">\n <div class=\"top anchor\"></div>\n <slot name=\"content\"></slot>\n <div class=\"bottom anchor\"></div>\n </div>\n </div>\n <div class=\"actions\">\n <md-divider></md-divider>\n <slot name=\"actions\" @slotchange=${this.handleActionsChange}></slot>\n </div>\n </div>\n ${showFocusTrap ? focusTrap : nothing}\n </dialog>\n `;\n }\n firstUpdated() {\n this.intersectionObserver = new IntersectionObserver((entries) => {\n for (const entry of entries) {\n this.handleAnchorIntersection(entry);\n }\n }, { root: this.scroller });\n this.intersectionObserver.observe(this.topAnchor);\n this.intersectionObserver.observe(this.bottomAnchor);\n }\n handleDialogClick() {\n if (this.nextClickIsFromContent) {\n // Avoid doing a layout calculation below if we know the click came from\n // content.\n this.nextClickIsFromContent = false;\n return;\n }\n // Click originated on the backdrop. Native `<dialog>`s will not cancel,\n // but Material dialogs do.\n const preventDefault = !this.dispatchEvent(new Event('cancel', { cancelable: true }));\n if (preventDefault) {\n return;\n }\n this.close();\n }\n handleContentClick() {\n this.nextClickIsFromContent = true;\n }\n handleSubmit(event) {\n const form = event.target;\n const { submitter } = event;\n if (form.getAttribute('method') !== 'dialog' || !submitter) {\n return;\n }\n // Close reason is the submitter's value attribute, or the dialog's\n // `returnValue` if there is no attribute.\n this.close(submitter.getAttribute('value') ?? this.returnValue);\n }\n handleCancel(event) {\n if (event.target !== this.dialog) {\n // Ignore any cancel events dispatched by content.\n return;\n }\n this.escapePressedWithoutCancel = false;\n const preventDefault = !redispatchEvent(this, event);\n // We always prevent default on the original dialog event since we'll\n // animate closing it before it actually closes.\n event.preventDefault();\n if (preventDefault) {\n return;\n }\n this.close();\n }\n handleClose() {\n if (!this.escapePressedWithoutCancel) {\n return;\n }\n this.escapePressedWithoutCancel = false;\n this.dialog?.dispatchEvent(new Event('cancel', { cancelable: true }));\n }\n handleKeydown(event) {\n if (event.key !== 'Escape') {\n return;\n }\n // An escape key was pressed. If a \"close\" event fires next without a\n // \"cancel\" event first, then we know we're in the Chrome v120 bug.\n this.escapePressedWithoutCancel = true;\n // Wait a full task for the cancel/close event listeners to fire, then\n // reset the flag.\n setTimeout(() => {\n this.escapePressedWithoutCancel = false;\n });\n }\n async animateDialog(animation) {\n // Always cancel the previous animations. Animations can include `fill`\n // modes that need to be cleared when `quick` is toggled. If not, content\n // that faded out will remain hidden when a `quick` dialog re-opens after\n // previously opening and closing without `quick`.\n this.cancelAnimations?.abort();\n this.cancelAnimations = new AbortController();\n if (this.quick) {\n return;\n }\n const { dialog, scrim, container, headline, content, actions } = this;\n if (!dialog || !scrim || !container || !headline || !content || !actions) {\n return;\n }\n const { container: containerAnimate, dialog: dialogAnimate, scrim: scrimAnimate, headline: headlineAnimate, content: contentAnimate, actions: actionsAnimate, } = animation;\n const elementAndAnimation = [\n [dialog, dialogAnimate ?? []],\n [scrim, scrimAnimate ?? []],\n [container, containerAnimate ?? []],\n [headline, headlineAnimate ?? []],\n [content, contentAnimate ?? []],\n [actions, actionsAnimate ?? []],\n ];\n const animations = [];\n for (const [element, animation] of elementAndAnimation) {\n for (const animateArgs of animation) {\n const animation = element.animate(...animateArgs);\n this.cancelAnimations.signal.addEventListener('abort', () => {\n animation.cancel();\n });\n animations.push(animation);\n }\n }\n await Promise.all(animations.map((animation) => animation.finished.catch(() => {\n // Ignore intentional AbortErrors when calling `animation.cancel()`.\n })));\n }\n handleHeadlineChange(event) {\n const slot = event.target;\n this.hasHeadline = slot.assignedElements().length > 0;\n }\n handleActionsChange(event) {\n const slot = event.target;\n this.hasActions = slot.assignedElements().length > 0;\n }\n handleIconChange(event) {\n const slot = event.target;\n this.hasIcon = slot.assignedElements().length > 0;\n }\n handleAnchorIntersection(entry) {\n const { target, isIntersecting } = entry;\n if (target === this.topAnchor) {\n this.isAtScrollTop = isIntersecting;\n }\n if (target === this.bottomAnchor) {\n this.isAtScrollBottom = isIntersecting;\n }\n }\n getIsConnectedPromise() {\n return new Promise((resolve) => {\n this.isConnectedPromiseResolve = resolve;\n });\n }\n handleFocusTrapFocus(event) {\n const [firstFocusableChild, lastFocusableChild] = this.getFirstAndLastFocusableChildren();\n if (!firstFocusableChild || !lastFocusableChild) {\n // When a dialog does not have focusable children, the dialog itself\n // receives focus.\n this.dialog?.focus();\n return;\n }\n // To determine which child to focus, we need to know which focus trap\n // received focus...\n const isFirstFocusTrap = event.target === this.firstFocusTrap;\n const isLastFocusTrap = !isFirstFocusTrap;\n // ...and where the focus came from (what was previously focused).\n const focusCameFromFirstChild = event.relatedTarget === firstFocusableChild;\n const focusCameFromLastChild = event.relatedTarget === lastFocusableChild;\n // Although this is a focus trap, focus can come from outside the trap.\n // This can happen when elements are programmatically `focus()`'d. It also\n // happens when focus leaves and returns to the window, such as clicking on\n // the browser's URL bar and pressing Tab, or switching focus between\n // iframes.\n const focusCameFromOutsideDialog = !focusCameFromFirstChild && !focusCameFromLastChild;\n // Focus the dialog's first child when we reach the end of the dialog and\n // focus is moving forward. Or, when focus is moving forwards into the\n // dialog from outside of the window.\n const shouldFocusFirstChild = (isLastFocusTrap && focusCameFromLastChild) ||\n (isFirstFocusTrap && focusCameFromOutsideDialog);\n if (shouldFocusFirstChild) {\n firstFocusableChild.focus();\n return;\n }\n // Focus the dialog's last child when we reach the beginning of the dialog\n // and focus is moving backward. Or, when focus is moving backwards into the\n // dialog from outside of the window.\n const shouldFocusLastChild = (isFirstFocusTrap && focusCameFromFirstChild) ||\n (isLastFocusTrap && focusCameFromOutsideDialog);\n if (shouldFocusLastChild) {\n lastFocusableChild.focus();\n return;\n }\n // The booleans above are verbose for readability, but code executation\n // won't actually reach here.\n }\n getFirstAndLastFocusableChildren() {\n if (!this.treewalker) {\n return [null, null];\n }\n let firstFocusableChild = null;\n let lastFocusableChild = null;\n // Reset the current node back to the root host element.\n this.treewalker.currentNode = this.treewalker.root;\n while (this.treewalker.nextNode()) {\n // Cast as Element since the TreeWalker filter only accepts Elements.\n const nextChild = this.treewalker.currentNode;\n if (!isFocusable(nextChild)) {\n continue;\n }\n if (!firstFocusableChild) {\n firstFocusableChild = nextChild;\n }\n lastFocusableChild = nextChild;\n }\n // We set lastFocusableChild immediately after finding a\n // firstFocusableChild, which means the pair is either both null or both\n // non-null. Cast since TypeScript does not recognize this.\n return [firstFocusableChild, lastFocusableChild];\n }\n}\n__decorate([\n property({ type: Boolean })\n], Dialog.prototype, \"open\", null);\n__decorate([\n property({ type: Boolean })\n], Dialog.prototype, \"quick\", void 0);\n__decorate([\n property({ attribute: false })\n], Dialog.prototype, \"returnValue\", void 0);\n__decorate([\n property()\n], Dialog.prototype, \"type\", void 0);\n__decorate([\n property({ type: Boolean, attribute: 'no-focus-trap' })\n], Dialog.prototype, \"noFocusTrap\", void 0);\n__decorate([\n query('dialog')\n], Dialog.prototype, \"dialog\", void 0);\n__decorate([\n query('.scrim')\n], Dialog.prototype, \"scrim\", void 0);\n__decorate([\n query('.container')\n], Dialog.prototype, \"container\", void 0);\n__decorate([\n query('.headline')\n], Dialog.prototype, \"headline\", void 0);\n__decorate([\n query('.content')\n], Dialog.prototype, \"content\", void 0);\n__decorate([\n query('.actions')\n], Dialog.prototype, \"actions\", void 0);\n__decorate([\n state()\n], Dialog.prototype, \"isAtScrollTop\", void 0);\n__decorate([\n state()\n], Dialog.prototype, \"isAtScrollBottom\", void 0);\n__decorate([\n query('.scroller')\n], Dialog.prototype, \"scroller\", void 0);\n__decorate([\n query('.top.anchor')\n], Dialog.prototype, \"topAnchor\", void 0);\n__decorate([\n query('.bottom.anchor')\n], Dialog.prototype, \"bottomAnchor\", void 0);\n__decorate([\n query('.focus-trap')\n], Dialog.prototype, \"firstFocusTrap\", void 0);\n__decorate([\n state()\n], Dialog.prototype, \"hasHeadline\", void 0);\n__decorate([\n state()\n], Dialog.prototype, \"hasActions\", void 0);\n__decorate([\n state()\n], Dialog.prototype, \"hasIcon\", void 0);\nfunction isFocusable(element) {\n // Check if the element is a known built-in focusable element:\n // - <a> and <area> with `href` attributes.\n // - Form controls that are not disabled.\n // - `contenteditable` elements.\n // - Anything with a non-negative `tabindex`.\n const knownFocusableElements = ':is(button,input,select,textarea,object,:is(a,area)[href],[tabindex],[contenteditable=true])';\n const notDisabled = ':not(:disabled,[disabled])';\n const notNegativeTabIndex = ':not([tabindex^=\"-\"])';\n if (element.matches(knownFocusableElements + notDisabled + notNegativeTabIndex)) {\n return true;\n }\n const isCustomElement = element.localName.includes('-');\n if (!isCustomElement) {\n return false;\n }\n // If a custom element does not have a tabindex, it may still be focusable\n // if it delegates focus with a shadow root. We also need to check again if\n // the custom element is a disabled form control.\n if (!element.matches(notDisabled)) {\n return false;\n }\n return element.shadowRoot?.delegatesFocus ?? false;\n}\n//# sourceMappingURL=dialog.js.map","/**\n * @license\n * Copyright 2026 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\n// Generated stylesheet for ./dialog/internal/dialog-styles.css.\nimport { css } from 'lit';\nexport const styles = css `:host{border-start-start-radius:var(--md-dialog-container-shape-start-start, var(--md-dialog-container-shape, var(--md-sys-shape-corner-extra-large, 28px)));border-start-end-radius:var(--md-dialog-container-shape-start-end, var(--md-dialog-container-shape, var(--md-sys-shape-corner-extra-large, 28px)));border-end-end-radius:var(--md-dialog-container-shape-end-end, var(--md-dialog-container-shape, var(--md-sys-shape-corner-extra-large, 28px)));border-end-start-radius:var(--md-dialog-container-shape-end-start, var(--md-dialog-container-shape, var(--md-sys-shape-corner-extra-large, 28px)));display:contents;margin:auto;max-height:min(560px,100% - 48px);max-width:min(560px,100% - 48px);min-height:140px;min-width:280px;position:fixed;height:fit-content;width:fit-content}dialog{background:rgba(0,0,0,0);border:none;border-radius:inherit;flex-direction:column;height:inherit;margin:inherit;max-height:inherit;max-width:inherit;min-height:inherit;min-width:inherit;outline:none;overflow:visible;padding:0;width:inherit}dialog[open]{display:flex}::backdrop{background:none}.scrim{background:var(--md-sys-color-scrim, #000);display:none;inset:0;opacity:32%;pointer-events:none;position:fixed;z-index:1}:host([open]) .scrim{display:flex}h2{all:unset;align-self:stretch}.headline{align-items:center;color:var(--md-dialog-headline-color, var(--md-sys-color-on-surface, #1d1b20));display:flex;flex-direction:column;font-family:var(--md-dialog-headline-font, var(--md-sys-typescale-headline-small-font, var(--md-ref-typeface-brand, Roboto)));font-size:var(--md-dialog-headline-size, var(--md-sys-typescale-headline-small-size, 1.5rem));line-height:var(--md-dialog-headline-line-height, var(--md-sys-typescale-headline-small-line-height, 2rem));font-weight:var(--md-dialog-headline-weight, var(--md-sys-typescale-headline-small-weight, var(--md-ref-typeface-weight-regular, 400)));position:relative}slot[name=headline]::slotted(*){align-items:center;align-self:stretch;box-sizing:border-box;display:flex;gap:8px;padding:24px 24px 0}.icon{display:flex}slot[name=icon]::slotted(*){color:var(--md-dialog-icon-color, var(--md-sys-color-secondary, #625b71));fill:currentColor;font-size:var(--md-dialog-icon-size, 24px);margin-top:24px;height:var(--md-dialog-icon-size, 24px);width:var(--md-dialog-icon-size, 24px)}.has-icon slot[name=headline]::slotted(*){justify-content:center;padding-top:16px}.scrollable slot[name=headline]::slotted(*){padding-bottom:16px}.scrollable.has-headline slot[name=content]::slotted(*){padding-top:8px}.container{border-radius:inherit;display:flex;flex-direction:column;flex-grow:1;overflow:hidden;position:relative;transform-origin:top}.container::before{background:var(--md-dialog-container-color, var(--md-sys-color-surface-container-high, #ece6f0));border-radius:inherit;content:\"\";inset:0;position:absolute}.scroller{display:flex;flex:1;flex-direction:column;overflow:hidden;z-index:1}.scrollable .scroller{overflow-y:scroll}.content{color:var(--md-dialog-supporting-text-color, var(--md-sys-color-on-surface-variant, #49454f));font-family:var(--md-dialog-supporting-text-font, var(--md-sys-typescale-body-medium-font, var(--md-ref-typeface-plain, Roboto)));font-size:var(--md-dialog-supporting-text-size, var(--md-sys-typescale-body-medium-size, 0.875rem));line-height:var(--md-dialog-supporting-text-line-height, var(--md-sys-typescale-body-medium-line-height, 1.25rem));flex:1;font-weight:var(--md-dialog-supporting-text-weight, var(--md-sys-typescale-body-medium-weight, var(--md-ref-typeface-weight-regular, 400)));height:min-content;position:relative}slot[name=content]::slotted(*){box-sizing:border-box;padding:24px}.anchor{position:absolute}.top.anchor{top:0}.bottom.anchor{bottom:0}.actions{position:relative}slot[name=actions]::slotted(*){box-sizing:border-box;display:flex;gap:8px;justify-content:flex-end;padding:16px 24px 24px}.has-actions slot[name=content]::slotted(*){padding-bottom:8px}md-divider{display:none;position:absolute}.has-headline.show-top-divider .headline md-divider,.has-actions.show-bottom-divider .actions md-divider{display:flex}.headline md-divider{bottom:0}.actions md-divider{top:0}@media(forced-colors: active){dialog{outline:2px solid WindowText}}\n`;\nexport default styles.styleSheet;\n//# sourceMappingURL=dialog-styles.cssresult.js.map","/**\n * @license\n * Copyright 2023 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\nimport { __decorate } from \"tslib\";\nimport { customElement } from 'lit/decorators.js';\nimport { Dialog } from './internal/dialog.js';\nimport { styles } from './internal/dialog-styles.cssresult.js';\n/**\n * @summary Dialogs can require an action, communicate information, or help\n * users accomplish a task. There are two types of dialogs: basic and\n * full-screen.\n *\n * @description\n * A dialog is a modal window that appears in front of app content to provide\n * critical information or ask for a decision. Dialogs disable all app\n * functionality when they appear, and remain on screen until confirmed,\n * dismissed, or a required action has been taken.\n *\n * Dialogs are purposefully interruptive, so they should be used sparingly.\n * A less disruptive alternative is to use a menu, which provides options\n * without interrupting a user’s experience.\n *\n * On mobile devices only, complex dialogs should be displayed fullscreen.\n *\n * __Example usages:__\n * - Common use cases for basic dialogs include alerts, quick selection, and\n * confirmation.\n * - More complex dialogs may contain actions that require a series of tasks\n * to complete. One example is creating a calendar entry with the event title,\n * date, location, and time.\n *\n * @final\n * @suppress {visibility}\n */\nlet MdDialog = class MdDialog extends Dialog {\n};\nMdDialog.styles = [styles];\nMdDialog = __decorate([\n customElement('md-dialog')\n], MdDialog);\nexport { MdDialog };\n//# sourceMappingURL=dialog.js.map"],"ignoreList":[0,1,2,3,4,5,6],"mappings":"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"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
// src/routes/api/sessions/end/+server.ts
|
|
2
|
-
/** Ends the current session (nothing happens if none is current). */
|
|
3
|
-
var POST = async ({ locals }) => {
|
|
4
|
-
await locals.bridge.endSession();
|
|
5
|
-
return new Response(null, { status: 204 });
|
|
6
|
-
};
|
|
7
|
-
export { POST };
|
|
8
|
-
|
|
9
|
-
//# sourceMappingURL=_server.ts.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_server.ts.js","names":[],"sources":["../../../../../../../src/routes/api/sessions/end/+server.ts"],"sourcesContent":["import type { RequestHandler } from './$types';\n\n/** Ends the current session (nothing happens if none is current). */\nexport const POST: RequestHandler = async ({ locals }) => {\n await locals.bridge.endSession();\n return new Response(null, { status: 204 });\n};\n"],"mappings":";;AAGA,IAAa,OAAuB,OAAO,EAAE,aAAa;CACxD,MAAM,OAAO,OAAO,WAAW;CAC/B,OAAO,IAAI,SAAS,MAAM,EAAE,QAAQ,IAAI,CAAC;AAC3C"}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|