@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
|
@@ -0,0 +1 @@
|
|
|
1
|
+
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)}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));border-radius:var(--md-sys-shape-corner-small);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;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}}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;border-radius:var(--md-sys-shape-corner-large);--md-ripple-hover-color:currentColor;--md-ripple-pressed-color:currentColor;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;--app-note-size:13px;--app-note-line-height:18px;--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)}.note{color:var(--md-sys-color-on-surface-variant);font-size:var(--app-note-size);line-height:var(--app-note-line-height);margin:0}.prose>p:where(:not(.note)),.prose>ol,.prose>ul{color:var(--md-sys-color-on-surface);font-size:var(--md-sys-typescale-body-medium-size);line-height:var(--md-sys-typescale-body-medium-line-height);overflow-wrap:anywhere;margin:0 0 8px}.prose>h3{color:var(--md-sys-color-on-surface);font-size:var(--md-sys-typescale-title-medium-size);font-weight:500;line-height:var(--md-sys-typescale-title-medium-line-height);margin:16px 0 4px}.prose>ol,.prose>ul{padding-left:20px}.prose>ol>li+li,.prose>ul>li+li{margin-top:4px}.prose>ul.more{margin:16px 0 0}.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}
|
|
@@ -0,0 +1 @@
|
|
|
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);font-size:var(--md-sys-typescale-body-medium-size);font-weight:500;line-height:var(--md-sys-typescale-body-medium-line-height);border-bottom:3px solid #0000;align-items:center;padding:0 16px;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)}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.banner.svelte-qexebn{border-radius:var(--md-sys-shape-corner-medium);background:var(--app-warning-container);color:var(--app-on-warning-container);font-size:var(--md-sys-typescale-body-medium-size);line-height:var(--md-sys-typescale-body-medium-line-height);align-items:flex-start;gap:12px;padding:12px 16px;display:flex}p.svelte-qexebn{flex:1;min-width:0;margin:0}md-icon.svelte-qexebn{flex:none}.fields.svelte-ttl1x5{flex-direction:column;gap:16px;min-width:min(352px,70vw);display:flex}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);font-size:var(--md-sys-typescale-label-small-size);letter-spacing:.5px;text-align:left;text-transform:uppercase;padding:6px 12px;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;font-size:var(--md-sys-typescale-body-large-size);letter-spacing:normal;text-transform:none}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-on-surface-variant);font-size:var(--md-sys-typescale-label-small-size)}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);font-size:var(--md-sys-typescale-body-small-size);font-weight:500;line-height:var(--md-sys-typescale-body-small-line-height);vertical-align:middle;border-radius:6px;align-items:center;gap:4px;padding:0 8px 0 4px;display:inline-flex;position:relative}.pill.svelte-5c13xh md-icon:where(.svelte-5c13xh){--md-icon-size:16px;font-size:var(--md-sys-typescale-body-large-size)}.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));border-radius:var(--md-sys-shape-corner-large);background:var(--md-sys-color-surface-container-lowest);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);font-size:var(--md-sys-typescale-title-large-size);font-weight:500;line-height:var(--md-sys-typescale-title-large-line-height);flex:1;margin:0}.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){font-size:var(--md-sys-typescale-body-medium-size);margin:4px 0 0}.empty.svelte-1jnrixz .title:where(.svelte-1jnrixz){color:var(--md-sys-color-on-surface);font-size:var(--md-sys-typescale-title-medium-size);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}.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}}.fields.svelte-2k1elc{flex-direction:column;gap:16px;min-width:min(352px,70vw);display:flex}section.svelte-1fz71rn{box-sizing:border-box;border:var(--app-border-width) solid var(--md-sys-color-outline);border-radius:var(--md-sys-shape-corner-extra-large);background:var(--md-sys-color-surface-container-low);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,.unreachable.svelte-1fz71rn{color:var(--md-sys-color-on-surface-variant);margin:0;padding:8px 16px}.unreachable.svelte-1fz71rn{color:var(--md-sys-color-error)}.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}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.command.svelte-1c2bq9d{border-radius:var(--md-sys-shape-corner-medium);background:var(--md-sys-color-surface-container-low);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{margin:0 0 8px}p.svelte-1c2bq9d:empty{margin:0 0 4px}.warning.svelte-2oo2iv{border-radius:var(--md-sys-shape-corner-medium);background:var(--app-warning-container);color:var(--app-on-warning-container);padding:12px 16px}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)}
|
|
@@ -0,0 +1 @@
|
|
|
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);font-size:var(--md-sys-typescale-body-medium-size);grid-template-columns:24px minmax(0,180px) minmax(0,1fr);align-items:start;gap:4px 12px;padding:8px 0;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{margin:0 0 12px}.unreachable.svelte-10lx79f{color:var(--md-sys-color-error);font-size:var(--md-sys-typescale-body-medium-size);line-height:var(--md-sys-typescale-body-medium-line-height);margin:0 0 12px}p[role=status].svelte-10lx79f{margin:8px 0 0}p[role=status].svelte-10lx79f:empty{margin:0}.note.svelte-xev9kd{margin:0 0 12px}.actions.svelte-xev9kd{flex-wrap:wrap;gap:8px;margin-bottom:12px;display:flex}.result.svelte-xev9kd{color:var(--md-sys-color-on-surface);font-size:var(--md-sys-typescale-body-medium-size);line-height:var(--md-sys-typescale-body-medium-line-height);overflow-wrap:anywhere;margin:0 0 8px}.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{border-radius:var(--md-sys-shape-corner-medium);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;margin:0 0 12px;padding:8px 12px 8px 36px}.hints.svelte-xev9kd{color:var(--md-sys-color-on-surface);font-size:var(--md-sys-typescale-body-medium-size);line-height:var(--md-sys-typescale-body-medium-line-height);margin:0;padding-left: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)}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
section.svelte-1ko3bij{box-sizing:border-box;border-radius:var(--md-sys-shape-corner-medium);background:var(--app-warning-container);max-width:720px;color:var(--app-on-warning-container);font-size:var(--md-sys-typescale-body-medium-size);line-height:var(--md-sys-typescale-body-medium-line-height);overflow-wrap:anywhere;padding:16px}h2.svelte-1ko3bij{font-size:var(--md-sys-typescale-title-medium-size);font-weight:500;line-height:var(--md-sys-typescale-title-medium-line-height);margin:0 0 8px}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{margin:8px 0 0}.result.svelte-1ko3bij:empty{margin:0}code.svelte-1ko3bij{font-family:var(--app-font-mono);font-size:.95em}label.svelte-6obkkj{min-height:26px;color:var(--md-sys-color-on-surface);font-size:var(--md-sys-typescale-body-large-size);line-height:var(--md-sys-typescale-body-large-line-height);cursor:pointer;align-items:center;gap:12px;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{padding:0 16px}.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{color:var(--md-sys-color-on-surface-variant);font-size:var(--app-note-size);line-height:var(--app-note-line-height)}dd.svelte-rc157l{margin:0}.value.svelte-rc157l{color:var(--md-sys-color-on-surface);font-size:var(--md-sys-typescale-body-large-size);line-height:var(--md-sys-typescale-body-large-line-height);margin:2px 0}code.svelte-rc157l{font-family:var(--app-font-mono);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:empty{position:absolute}.failure.svelte-1yckkzn{color:var(--md-sys-color-error);font-size:var(--md-sys-typescale-body-medium-size);line-height:var(--md-sys-typescale-body-medium-line-height);margin:0}fieldset.svelte-15x0123{border:0;min-width:0;margin:0;padding:0}legend.svelte-15x0123{color:var(--md-sys-color-on-surface);font-size:var(--md-sys-typescale-body-medium-size);font-weight:500;line-height:var(--md-sys-typescale-body-medium-line-height);padding:0}.hint.svelte-15x0123{margin:2px 0 12px}.options.svelte-15x0123{flex-direction:column;gap:8px;display:flex}.option.svelte-15x0123{border:1px solid var(--md-sys-color-outline);border-radius:var(--md-sys-shape-corner-medium);box-sizing:border-box;background:var(--md-sys-color-surface);min-height:64px;color:var(--md-sys-color-on-surface);cursor:pointer;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:var(--md-sys-typescale-title-medium-size);font-weight:500;line-height:var(--md-sys-typescale-title-medium-line-height)}.description.svelte-15x0123{font-size:var(--app-note-size);line-height:var(--app-note-line-height)}.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);font-size:var(--md-sys-typescale-body-small-size);align-items:center;gap:4px;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);border-radius:var(--md-sys-shape-corner-small);box-sizing:border-box;background:var(--md-sys-color-surface);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}}.note.svelte-1i19ct2{margin:0 0 12px}.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,3 +1,5 @@
|
|
|
1
|
+
import { d as attr, h as escape_html, o as props_id } from "./server2.js";
|
|
2
|
+
import "./text-button.js";
|
|
1
3
|
import { A as t, D as r, O as n, T as e$1, _ as i, d as EASING, j as __decorate, k as i$1, p as e, u as mixinDelegatesAria, v as A, x as T } from "./app-context.js";
|
|
2
4
|
import { t as redispatchEvent } from "./redispatch-event.js";
|
|
3
5
|
// ../../node_modules/.pnpm/@material+web@2.5.0/node_modules/@material/web/divider/internal/divider.js
|
|
@@ -587,6 +589,18 @@ styles.styleSheet;
|
|
|
587
589
|
var MdDialog = class MdDialog extends Dialog {};
|
|
588
590
|
MdDialog.styles = [styles];
|
|
589
591
|
MdDialog = __decorate([t("md-dialog")], MdDialog);
|
|
590
|
-
|
|
592
|
+
// src/lib/components/ActionDialog/ActionDialog.svelte
|
|
593
|
+
function ActionDialog($$renderer, $$props) {
|
|
594
|
+
$$renderer.component(($$renderer) => {
|
|
595
|
+
const formId = props_id($$renderer);
|
|
596
|
+
let { open, headline, confirmLabel, failureMessage, onConfirm, validate, onClose, children } = $$props;
|
|
597
|
+
$$renderer.push(`<md-dialog${attr("open", open, true)} class="svelte-dyg4yx"><div slot="headline">${escape_html(headline)}</div> <form slot="content"${attr("id", formId)} novalidate="" class="svelte-dyg4yx">`);
|
|
598
|
+
children($$renderer);
|
|
599
|
+
$$renderer.push(`<!----> `);
|
|
600
|
+
$$renderer.push("<!--[-1-->");
|
|
601
|
+
$$renderer.push(`<!--]--></form> <div slot="actions"><md-text-button type="button">Cancel</md-text-button> <md-text-button type="submit"${attr("form", formId)}${attr("soft-disabled", void 0)}>${escape_html(confirmLabel)}</md-text-button></div></md-dialog>`);
|
|
602
|
+
});
|
|
603
|
+
}
|
|
604
|
+
export { ActionDialog as t };
|
|
591
605
|
|
|
592
|
-
//# sourceMappingURL=
|
|
606
|
+
//# sourceMappingURL=ActionDialog.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ActionDialog.js","names":["LitElement","property","styles","css","styles","customElement","LitElement","html","classMap","nothing","property","query","state","css","customElement","$.props_id","$.attr","$.escape"],"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","../../../src/lib/components/ActionDialog/ActionDialog.svelte"],"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","<!--\n The shell of every dialog: a question or a short form, with \"Cancel\" and one confirm button.\n-->\n<script lang=\"ts\">\n import '@material/web/button/text-button.js';\n import '@material/web/dialog/dialog.js';\n import type { Snippet } from 'svelte';\n\n type Props = {\n open: boolean;\n headline: string;\n confirmLabel: string;\n /** Shown when `onConfirm` rejects with something that is no `Error`. */\n failureMessage: string;\n /** Rejects with a message to show; the dialog closes when it resolves. */\n onConfirm: () => Promise<void>;\n /** `false` keeps the dialog from confirming; the caller shows why. */\n validate?: () => boolean;\n onClose: () => void;\n /** The text or the fields. */\n children: Snippet;\n };\n\n let {\n open,\n headline,\n confirmLabel,\n failureMessage,\n onConfirm,\n validate,\n onClose,\n children,\n }: Props = $props();\n\n const formId = $props.id();\n\n let failure = $state('');\n let busy = $state(false);\n\n $effect(() => {\n if (open) failure = '';\n });\n\n async function submit(event: SubmitEvent): Promise<void> {\n event.preventDefault();\n if (busy || validate?.() === false) return;\n failure = '';\n busy = true;\n try {\n await onConfirm();\n onClose();\n } catch (cause) {\n failure = cause instanceof Error ? cause.message : failureMessage;\n } finally {\n busy = false;\n }\n }\n</script>\n\n<md-dialog {open} onclosed={onClose}>\n <div slot=\"headline\">{headline}</div>\n <form slot=\"content\" id={formId} novalidate onsubmit={submit}>\n {@render children()}\n {#if failure !== ''}<p role=\"alert\" class=\"failure\">{failure}</p>{/if}\n </form>\n <div slot=\"actions\">\n <!-- svelte-ignore a11y_click_events_have_key_events, a11y_no_static_element_interactions -->\n <md-text-button type=\"button\" onclick={onClose}>Cancel</md-text-button>\n <!-- Soft-disabled: a disabled button would drop the focus it has after a click. -->\n <md-text-button type=\"submit\" form={formId} soft-disabled={busy ? true : undefined}>\n {confirmLabel}\n </md-text-button>\n </div>\n</md-dialog>\n\n<style>\n md-dialog {\n /* The dialog is as wide as its longest line by default; a cap makes the text wrap. */\n max-width: min(400px, calc(100% - 48px));\n --md-dialog-container-color: var(--md-sys-color-surface-container-high);\n --md-dialog-headline-color: var(--md-sys-color-on-surface);\n --md-dialog-supporting-text-color: var(--md-sys-color-on-surface-variant);\n }\n\n form {\n display: flex;\n flex-direction: column;\n gap: 16px;\n }\n\n form :global(p) {\n margin: 0;\n }\n\n .failure {\n color: var(--md-sys-color-error);\n }\n</style>\n"],"ignoreList":[0,1,2,3,4,5,6],"mappings":";;;;;;;;;;;;;AAWA,IAAa,UAAb,cAA6BA,EAAW;CACpC,cAAc;EACV,MAAM,GAAG,SAAS;;;;EAIlB,KAAK,QAAQ;;;;EAIb,KAAK,aAAa;;;;EAIlB,KAAK,WAAW;CACpB;AACJ;AACA,WAAW,CACPC,EAAS;CAAE,MAAM;CAAS,SAAS;AAAK,CAAC,CAC7C,GAAG,QAAQ,WAAW,SAAS,KAAK,CAAC;AACrC,WAAW,CACPA,EAAS;CAAE,MAAM;CAAS,SAAS;CAAM,WAAW;AAAc,CAAC,CACvE,GAAG,QAAQ,WAAW,cAAc,KAAK,CAAC;AAC1C,WAAW,CACPA,EAAS;CAAE,MAAM;CAAS,SAAS;CAAM,WAAW;AAAY,CAAC,CACrE,GAAG,QAAQ,WAAW,YAAY,KAAK,CAAC;;;;;;;AC7BxC,IAAaC,WAASC,GAAI;;AAEXD,SAAO;;;;;;;;;;;;;;;;;ACUtB,IAAI,YAAY,MAAM,kBAAkB,QAAQ,CAChD;AACA,UAAU,SAAS,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B,MAAM,yBAAyB;CAC/B,MAAM,cAAc;CAEpB,IAAI,QAAQ,QAAQ,yBAAyB,cAAc,yBAAmB,GAC1E,OAAO;CAGX,IAAI,CADoB,QAAQ,UAAU,SAAS,GAChC,GACf,OAAO;CAKX,IAAI,CAAC,QAAQ,QAAQ,WAAW,GAC5B,OAAO;CAEX,OAAO,QAAQ,YAAY,kBAAkB;AACjD;;;;;;;ACniBA,IAAa,SAASC,GAAI;;AAEX,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC2BtB,IAAI,WAAW,MAAM,iBAAiB,OAAO,CAC7C;AACA,SAAS,SAAS,CAAC,MAAM;AACzB,WAAW,WAAW,CAClBC,EAAc,WAAW,CAC7B,GAAG,QAAQ;;;CCtCX,WAAA,WAAA,eAAA;E,MA+BQ,SAAMC,SAAA,UAAA;EAXZ,IAAI,EACF,MACA,UACA,cACA,gBACA,WACA,UACA,SACA,aACM;EA2BE,WAAA,KAAA,aAAAC,KAAA,QAAA,MAAI,IAAA,EAAA,8CAAAC,YACQ,QAAQ,EAAA,6BAAAD,KAAA,MACL,MAAM,EAAA,sCAAA;EACpB,SAAQ,UAAA;;;EAOmB,WAAA,KAAA,0HAAAA,KAAA,QAAA,MAAM,IAAAA,KAAA,iBAA+B,KAAA,CAAS,EAAA,GAAAC,YAC/E,YAAY,EAAA,oCAAA;CAbX,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Pane.js","names":["$.escape"],"sources":["../../../src/lib/components/Pane/Pane.svelte"],"sourcesContent":["<script lang=\"ts\">\n import type { Snippet } from 'svelte';\n\n type Props = {\n /** The page's heading, only for screen readers: the sections name themselves. */\n heading: string;\n /** `<section class=\"part\">`s, each with an `<h2>`. */\n children: Snippet;\n };\n\n let { heading, children }: Props = $props();\n</script>\n\n<!-- One pane like the speech log; the page's content is sections in it. -->\n<div class=\"page\">\n <div class=\"pane\">\n <h1 class=\"visually-hidden\">{heading}</h1>\n {@render children()}\n </div>\n</div>\n\n<style>\n /* The same gutter above and below as the Monitor page, so the pane lines up with the rail. */\n .page {\n box-sizing: border-box;\n height: 100%;\n padding: var(--app-gutter) 0;\n }\n\n .pane {\n /* Contains what is absolutely positioned in it, such as hidden labels: outside, it escapes\n the pane's scroll area and stretches the page. */\n position: relative;\n box-sizing: border-box;\n height: 100%;\n min-height: 0;\n overflow: auto;\n padding: 16px 24px 24px;\n border: 1px solid var(--md-sys-color-outline-variant);\n border-width: max(1px, var(--app-border-width));\n border-radius:
|
|
1
|
+
{"version":3,"file":"Pane.js","names":["$.escape"],"sources":["../../../src/lib/components/Pane/Pane.svelte"],"sourcesContent":["<script lang=\"ts\">\n import type { Snippet } from 'svelte';\n\n type Props = {\n /** The page's heading, only for screen readers: the sections name themselves. */\n heading: string;\n /** `<section class=\"part\">`s, each with an `<h2>`. */\n children: Snippet;\n };\n\n let { heading, children }: Props = $props();\n</script>\n\n<!-- One pane like the speech log; the page's content is sections in it. -->\n<div class=\"page\">\n <div class=\"pane\">\n <h1 class=\"visually-hidden\">{heading}</h1>\n {@render children()}\n </div>\n</div>\n\n<style>\n /* The same gutter above and below as the Monitor page, so the pane lines up with the rail. */\n .page {\n box-sizing: border-box;\n height: 100%;\n padding: var(--app-gutter) 0;\n }\n\n .pane {\n /* Contains what is absolutely positioned in it, such as hidden labels: outside, it escapes\n the pane's scroll area and stretches the page. */\n position: relative;\n box-sizing: border-box;\n height: 100%;\n min-height: 0;\n overflow: auto;\n padding: 16px 24px 24px;\n border: 1px solid var(--md-sys-color-outline-variant);\n border-width: max(1px, var(--app-border-width));\n border-radius: var(--md-sys-shape-corner-large);\n background: var(--md-sys-color-surface-container-lowest);\n }\n\n .pane > :global(section.part) {\n max-width: 720px;\n margin-top: 24px;\n }\n\n .pane > :global(section.part + section.part) {\n margin-top: 32px;\n padding-top: 24px;\n border-top: 1px solid var(--md-sys-color-outline-variant);\n }\n\n .pane > :global(section.part > h2) {\n margin: 0 0 8px;\n color: var(--md-sys-color-on-surface);\n font-size: var(--md-sys-typescale-title-large-size);\n font-weight: 500;\n line-height: var(--md-sys-typescale-title-large-line-height);\n }\n\n @media (max-width: 600px) {\n .pane {\n padding: 12px 12px 16px;\n }\n }\n</style>\n"],"mappings":";;AAAA,SAAA,KAAA,YAAA,SAAA;;;CAUE,IAAI,EAAE,SAAS,aAAiB;CAMD,WAAA,KAAA,iGAAAA,YAAA,OAAO,EAAA,OAAA;CAC3B,SAAQ,UAAA;;AANb"}
|
|
@@ -212,7 +212,7 @@ function server_data_serializer(event, state) {
|
|
|
212
212
|
let promise_id = 1;
|
|
213
213
|
let max_nodes = -1;
|
|
214
214
|
const iterator = create_async_iterator();
|
|
215
|
-
const global = "
|
|
215
|
+
const global = "__sveltekit_15ifx2q";
|
|
216
216
|
/** @param {number} index */
|
|
217
217
|
function get_replacer(index) {
|
|
218
218
|
/** @param {any} thing */
|
|
@@ -1485,7 +1485,7 @@ async function render_response({ branch, fetched, page_config, status, error = n
|
|
|
1485
1485
|
"crossorigin"
|
|
1486
1486
|
]);
|
|
1487
1487
|
}
|
|
1488
|
-
const global = "
|
|
1488
|
+
const global = "__sveltekit_15ifx2q";
|
|
1489
1489
|
const { data, chunks } = data_serializer.get_data(csp);
|
|
1490
1490
|
if (page_config.ssr && page_config.csr) body += `\n\t\t\t${fetched.map((item) => serialize_data(item, resolve_opts.filterSerializedResponseHeaders, is_prerendering(state))).join("\n ")}`;
|
|
1491
1491
|
if (page_config.csr && client) {
|
|
@@ -1509,7 +1509,7 @@ async function render_response({ branch, fetched, page_config, status, error = n
|
|
|
1509
1509
|
}
|
|
1510
1510
|
}
|
|
1511
1511
|
const blocks = [];
|
|
1512
|
-
const properties = [`base: ${base_expression}`, `version: ${s("
|
|
1512
|
+
const properties = [`base: ${base_expression}`, `version: ${s("1796464077594")}`];
|
|
1513
1513
|
if (assets) properties.push(`assets: ${s(assets)}`);
|
|
1514
1514
|
if (client.uses_env_dynamic_public) properties.push(`env: ${load_env_eagerly ? "null" : uneval(rendered_env)}`);
|
|
1515
1515
|
if (chunks) {
|
|
@@ -2679,7 +2679,7 @@ function is_prerendering(state) {
|
|
|
2679
2679
|
* @param {Response} response
|
|
2680
2680
|
*/
|
|
2681
2681
|
function with_version_header(response) {
|
|
2682
|
-
response.headers.set("x-sveltekit-version", "
|
|
2682
|
+
response.headers.set("x-sveltekit-version", "1796464077594");
|
|
2683
2683
|
return response;
|
|
2684
2684
|
}
|
|
2685
2685
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sessions.js","names":[],"sources":["../../../src/lib/core/sessions.ts"],"sourcesContent":["import type {\n SessionDto,\n SessionListDto,\n StartSessionResponseDto,\n} from '@screenreader-speech-capture/shared';\n\n/** Where the sessions come from and go to (the HTTP adapter asks the BFF, which asks the bridge). */\nexport interface SessionsApi {\n list(): Promise<SessionListDto>;\n start(name: string, run: string | null): Promise<StartSessionResponseDto>;\n /** Ends the
|
|
1
|
+
{"version":3,"file":"sessions.js","names":[],"sources":["../../../src/lib/core/sessions.ts"],"sourcesContent":["import type {\n SessionDto,\n SessionListDto,\n StartSessionResponseDto,\n} from '@screenreader-speech-capture/shared';\n\n/** Where the sessions come from and go to (the HTTP adapter asks the BFF, which asks the bridge). */\nexport interface SessionsApi {\n list(): Promise<SessionListDto>;\n start(name: string, run: string | null): Promise<StartSessionResponseDto>;\n /** Ends the session `id`; does nothing if it is not the current one. */\n end(id: number): Promise<void>;\n /** Deletes an ended session and its speech. Rejects with the bridge's message. */\n delete(id: number): Promise<void>;\n}\n\n/** `4 s`, `3 min 12 s`, `1 h 05 min`. Never negative (the bridge's clock may run ahead). */\nexport function formatDuration(milliseconds: number): string {\n const total = Math.max(0, Math.floor(milliseconds / 1000));\n const hours = Math.floor(total / 3600);\n const minutes = Math.floor((total % 3600) / 60);\n const seconds = total % 60;\n if (hours > 0) return `${hours} h ${String(minutes).padStart(2, '0')} min`;\n if (minutes > 0) return `${minutes} min ${seconds} s`;\n return `${seconds} s`;\n}\n\nexport type SessionMeta = {\n /** `#7` */\n id: string;\n run: string | null;\n duration: string;\n /** `4 entries`, `1 entry` */\n entries: string;\n /**\n * The facts as a sentence, for the screen reader. A live session's leaves out the duration and\n * the entries: it is part of the row's name, which a screen reader reads again whenever it\n * changes under the focus.\n */\n spoken: string;\n};\n\n/** What a row shows under the name. `now` (epoch ms) is the end of a session that is still live. */\nexport function describeSession(session: SessionDto, now: number): SessionMeta {\n const end = session.endedAt === null ? now : Date.parse(session.endedAt);\n const duration = formatDuration(end - Date.parse(session.startedAt));\n const live = session.endedAt === null;\n const entries = `${session.entries} ${session.entries === 1 ? 'entry' : 'entries'}`;\n const parts = [\n live ? 'live' : null,\n session.run === null ? null : `run ${session.run}`,\n // Both change while the session is live: reading them would add speech, and speech adds entries.\n live ? null : duration,\n live ? null : entries,\n // Last: the number is long (it starts at the bridge's start time) and says the least.\n `Session ${session.id}`,\n ];\n return {\n id: `#${session.id}`,\n run: session.run,\n duration,\n entries,\n spoken: parts.filter((part) => part !== null).join(', '),\n };\n}\n\n/** What the log shows: a session by id, or `'none'` for the speech outside any session. */\nexport type SessionScope = number | 'none';\n\n/** The URL value that selects the speech outside any session (the bridge's `session=none`). */\nexport const OUTSIDE_SESSIONS = 'none';\n\n/** A session id as the bridge hands them out: a positive whole number, in decimal, no leading zero. */\nconst SESSION_ID = /^[1-9]\\d*$/;\n\n/** A session id (`'7'`) or `none`, as a URL spells it; `null` for anything else. */\nexport function parseScope(value: string): SessionScope | null {\n if (value === OUTSIDE_SESSIONS) return OUTSIDE_SESSIONS;\n if (!SESSION_ID.test(value)) return null;\n const id = Number(value);\n return Number.isSafeInteger(id) ? id : null;\n}\n\n/**\n * The scope a pane shows: `none` if the URL asks for it, the session named in the URL if it still\n * exists, otherwise the current one (following), otherwise the speech outside any session.\n */\nexport function selectedScope(\n requested: string | null,\n sessions: SessionDto[],\n currentId: number | null,\n): SessionScope {\n const scope = requested === null ? null : parseScope(requested);\n if (scope === OUTSIDE_SESSIONS) return OUTSIDE_SESSIONS;\n if (scope !== null && sessions.some((session) => session.id === scope)) return scope;\n return currentId ?? OUTSIDE_SESSIONS;\n}\n\n/**\n * The session to show once `deletedId` is gone: the next older one, else the next newer one\n * (`sessions` is newest first), else `null`, which the page resolves to the current session or the\n * speech outside any session (`selectedScope`).\n */\nexport function scopeAfterDelete(deletedId: number, sessions: SessionDto[]): number | null {\n const at = sessions.findIndex((session) => session.id === deletedId);\n if (at === -1) return null;\n return (sessions[at + 1] ?? sessions[at - 1])?.id ?? null;\n}\n"],"mappings":";;AAiBA,SAAgB,eAAe,cAA8B;CAC3D,MAAM,QAAQ,KAAK,IAAI,GAAG,KAAK,MAAM,eAAe,GAAI,CAAC;CACzD,MAAM,QAAQ,KAAK,MAAM,QAAQ,IAAI;CACrC,MAAM,UAAU,KAAK,MAAO,QAAQ,OAAQ,EAAE;CAC9C,MAAM,UAAU,QAAQ;CACxB,IAAI,QAAQ,GAAG,OAAO,GAAG,MAAM,KAAK,OAAO,OAAO,CAAC,CAAC,SAAS,GAAG,GAAG,EAAE;CACrE,IAAI,UAAU,GAAG,OAAO,GAAG,QAAQ,OAAO,QAAQ;CAClD,OAAO,GAAG,QAAQ;AACpB;;AAkBA,SAAgB,gBAAgB,SAAqB,KAA0B;CAE7E,MAAM,WAAW,gBADL,QAAQ,YAAY,OAAO,MAAM,KAAK,MAAM,QAAQ,OAAO,KACjC,KAAK,MAAM,QAAQ,SAAS,CAAC;CACnE,MAAM,OAAO,QAAQ,YAAY;CACjC,MAAM,UAAU,GAAG,QAAQ,QAAQ,GAAG,QAAQ,YAAY,IAAI,UAAU;CACxE,MAAM,QAAQ;EACZ,OAAO,SAAS;EAChB,QAAQ,QAAQ,OAAO,OAAO,OAAO,QAAQ;EAE7C,OAAO,OAAO;EACd,OAAO,OAAO;EAEd,WAAW,QAAQ;CACrB;CACA,OAAO;EACL,IAAI,IAAI,QAAQ;EAChB,KAAK,QAAQ;EACb;EACA;EACA,QAAQ,MAAM,QAAQ,SAAS,SAAS,IAAI,CAAC,CAAC,KAAK,IAAI;CACzD;AACF;;AAMA,IAAa,mBAAmB;;AAGhC,IAAM,aAAa;;AAGnB,SAAgB,WAAW,OAAoC;CAC7D,IAAI,UAAA,QAA4B,OAAO;CACvC,IAAI,CAAC,WAAW,KAAK,KAAK,GAAG,OAAO;CACpC,MAAM,KAAK,OAAO,KAAK;CACvB,OAAO,OAAO,cAAc,EAAE,IAAI,KAAK;AACzC;;;;;AAMA,SAAgB,cACd,WACA,UACA,WACc;CACd,MAAM,QAAQ,cAAc,OAAO,OAAO,WAAW,SAAS;CAC9D,IAAI,UAAA,QAA4B,OAAO;CACvC,IAAI,UAAU,QAAQ,SAAS,MAAM,YAAY,QAAQ,OAAO,KAAK,GAAG,OAAO;CAC/E,OAAO,aAAA;AACT;;;;;;AAOA,SAAgB,iBAAiB,WAAmB,UAAuC;CACzF,MAAM,KAAK,SAAS,WAAW,YAAY,QAAQ,OAAO,SAAS;CACnE,IAAI,OAAO,IAAI,OAAO;CACtB,QAAQ,SAAS,KAAK,MAAM,SAAS,KAAK,GAAA,EAAK,MAAM;AACvD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"setup.js","names":[],"sources":["../../../src/lib/core/setup.ts"],"sourcesContent":["import type {\n CaptureOptionsDto,\n InputAvailabilityDto,\n InputCaptureDto,\n ServiceStatusDto,\n SpeechEntryDto,\n StatusDto,\n} from '@screenreader-speech-capture/shared';\nimport type { FeedState } from './speech.js';\n\n/** The keys of the check: \"read the window title\" in NVDA and JAWS. */\nexport const CHECK_CHORD = 'Insert+T';\n/** How long the check waits for speech someone makes by hand. */\nexport const LISTEN_TIMEOUT_MS = 30_000;\n/** After the first speech, the check collects what follows until nothing came for this long. */\nexport const QUIET_MS = 1000;\n/** Most entries the check shows. */\nexport const MAX_HEARD = 5;\n/**\n * How the bridge records the speech {@link CHECK_CHORD} causes: nothing within 5 s is silence, and\n * speech that doesn't pause ends the capture after 10 s.\n */\nexport const CHECK_CAPTURE = {\n firstWithinMs: 5000,\n quietForMs: QUIET_MS,\n timeoutMs: 10_000,\n} as const satisfies CaptureOptionsDto;\n\n/** `manual`: someone makes the screen reader speak. `keys`: the check sends {@link CHECK_CHORD}. */\nexport type CheckVia = 'manual' | 'keys';\n\nexport type SpeechProbeHandlers = {\n /** Speech entries and markers, in `seq` order. */\n onEntry(entry: SpeechEntryDto): void;\n /** `failed`: the stream is gone for good. */\n onState(state: Extract<FeedState, 'live' | 'reconnecting' | 'failed'>): void;\n};\n\n/** All speech after a point, whichever session it belongs to. */\nexport interface SpeechProbe {\n /** Follows the entries with `seq > since`; the returned function stops it. */\n listen(since: number, handlers: SpeechProbeHandlers): () => void;\n}\n\n/** Native key presses on the bridge's machine, through the BFF. */\nexport interface KeysApi {\n /**\n * Presses one chord such as `Insert+T` and answers with the speech it caused, once that paused.\n * Rejects with the bridge's message, or when `signal` aborts.\n */\n pressAndCapture(\n keys: string,\n capture: CaptureOptionsDto,\n signal: AbortSignal,\n ): Promise<InputCaptureDto>;\n}\n\n/** The id of the screen reader heading in the Setup instructions, where the check links to. */\nexport const SCREEN_READER_ID = 'screen-reader-heading';\n\nconst DOCS_URL = 'https://github.com/TimoSto/screenreader-speech-capture/blob';\n\n/**\n * A page of `docs/` on GitHub, as of the bridge's release. Only stable releases are tagged, so a\n * preview, a development build and an unknown version read `main`.\n */\nexport function docsUrl(version: string | null, path: string): string {\n const released = version !== null && /^\\d+\\.\\d+\\.\\d+$/.test(version);\n const ref = released ? `@screenreader-speech-capture/bridge@${version}` : 'main';\n return `${DOCS_URL}/${ref}/docs/${path}`;\n}\n\n/** Where the libraries behind a feature live, by the `backend` name the bridge reports. */\nconst LIBRARY_REPOS = new Map([\n ['robotjs', 'https://github.com/jitsi/robotjs'],\n ['koffi', 'https://github.com/Koromix/koffi'],\n]);\n\nexport type CheckRowId = 'listener' | 'voice' | 'input' | 'focus' | 'playwright' | 'mcp';\n/** `neutral`: nothing wrong, but nothing to confirm either (yet). */\nexport type CheckTone = 'ok' | 'warning' | 'neutral';\n\n/** A page of the docs (its URL), or the screen reader steps of the Setup instructions. */\nexport type RowHelp = { label: string } & ({ href: string } | { screenReader: true });\n\nexport type CheckRow = {\n id: CheckRowId;\n label: string;\n tone: CheckTone;\n /** The state in words, so it is never colour or icon alone. */\n state: string;\n /** The library that provides the feature; `href` is `null` for one without a known repository. */\n library: { name: string; href: string | null } | null;\n /** Where to read on, for a row that isn't ok. */\n help: RowHelp | null;\n};\n\n
|
|
1
|
+
{"version":3,"file":"setup.js","names":[],"sources":["../../../src/lib/core/setup.ts"],"sourcesContent":["import type {\n CaptureOptionsDto,\n InputAvailabilityDto,\n InputCaptureDto,\n ServiceStatusDto,\n SpeechEntryDto,\n StatusDto,\n} from '@screenreader-speech-capture/shared';\nimport type { FeedState } from './speech.js';\n\n/** The keys of the check: \"read the window title\" in NVDA and JAWS. */\nexport const CHECK_CHORD = 'Insert+T';\n/** How long the check waits for speech someone makes by hand. */\nexport const LISTEN_TIMEOUT_MS = 30_000;\n/** After the first speech, the check collects what follows until nothing came for this long. */\nexport const QUIET_MS = 1000;\n/** Most entries the check shows. */\nexport const MAX_HEARD = 5;\n/**\n * How the bridge records the speech {@link CHECK_CHORD} causes: nothing within 5 s is silence, and\n * speech that doesn't pause ends the capture after 10 s.\n */\nexport const CHECK_CAPTURE = {\n firstWithinMs: 5000,\n quietForMs: QUIET_MS,\n timeoutMs: 10_000,\n} as const satisfies CaptureOptionsDto;\n\n/** `manual`: someone makes the screen reader speak. `keys`: the check sends {@link CHECK_CHORD}. */\nexport type CheckVia = 'manual' | 'keys';\n\nexport type SpeechProbeHandlers = {\n /** Speech entries and markers, in `seq` order. */\n onEntry(entry: SpeechEntryDto): void;\n /** `failed`: the stream is gone for good. */\n onState(state: Extract<FeedState, 'live' | 'reconnecting' | 'failed'>): void;\n};\n\n/** All speech after a point, whichever session it belongs to. */\nexport interface SpeechProbe {\n /** Follows the entries with `seq > since`; the returned function stops it. */\n listen(since: number, handlers: SpeechProbeHandlers): () => void;\n}\n\n/** Native key presses on the bridge's machine, through the BFF. */\nexport interface KeysApi {\n /**\n * Presses one chord such as `Insert+T` and answers with the speech it caused, once that paused.\n * Rejects with the bridge's message, or when `signal` aborts.\n */\n pressAndCapture(\n keys: string,\n capture: CaptureOptionsDto,\n signal: AbortSignal,\n ): Promise<InputCaptureDto>;\n}\n\n/** The id of the screen reader heading in the Setup instructions, where the check links to. */\nexport const SCREEN_READER_ID = 'screen-reader-heading';\n\nconst DOCS_URL = 'https://github.com/TimoSto/screenreader-speech-capture/blob';\n\n/**\n * A page of `docs/` on GitHub, as of the bridge's release. Only stable releases are tagged, so a\n * preview, a development build and an unknown version read `main`.\n */\nexport function docsUrl(version: string | null, path: string): string {\n const released = version !== null && /^\\d+\\.\\d+\\.\\d+$/.test(version);\n const ref = released ? `@screenreader-speech-capture/bridge@${version}` : 'main';\n return `${DOCS_URL}/${ref}/docs/${path}`;\n}\n\n/** Where the libraries behind a feature live, by the `backend` name the bridge reports. */\nconst LIBRARY_REPOS = new Map([\n ['robotjs', 'https://github.com/jitsi/robotjs'],\n ['koffi', 'https://github.com/Koromix/koffi'],\n]);\n\nexport type CheckRowId = 'listener' | 'voice' | 'input' | 'focus' | 'playwright' | 'mcp';\n/** `neutral`: nothing wrong, but nothing to confirm either (yet). */\nexport type CheckTone = 'ok' | 'warning' | 'neutral';\n\n/** A page of the docs (its URL), or the screen reader steps of the Setup instructions. */\nexport type RowHelp = { label: string } & ({ href: string } | { screenReader: true });\n\nexport type CheckRow = {\n id: CheckRowId;\n label: string;\n tone: CheckTone;\n /** The state in words, so it is never colour or icon alone. */\n state: string;\n /** The library that provides the feature; `href` is `null` for one without a known repository. */\n library: { name: string; href: string | null } | null;\n /** Where to read on, for a row that isn't ok. */\n help: RowHelp | null;\n};\n\n/**\n * A row's help as written below: a docs page is still only a path, without the release it is read\n * at.\n */\ntype Help = { label: string; path: string } | { label: string; screenReader: true };\n\n/** What the bridge itself knows about the setup, one row each. */\nexport function deriveCheckRows(status: StatusDto): CheckRow[] {\n const link = (label: string, path: string) => ({\n label,\n href: docsUrl(status.bridge.version, path),\n });\n const row = (\n id: CheckRowId,\n label: string,\n tone: CheckTone,\n state: string,\n help: Help,\n library: CheckRow['library'] = null,\n ): CheckRow => ({\n id,\n label,\n tone,\n state,\n library,\n help: tone === 'ok' ? null : 'path' in help ? link(help.label, help.path) : help,\n });\n\n const { listening, port, encoding, connections } = status.tcp;\n const voices = [...new Set(connections.flatMap(({ voice }) => (voice === null ? [] : [voice])))];\n const count = connections.length === 1 ? '1 connection' : `${connections.length} connections`;\n\n const input = (\n id: CheckRowId,\n label: string,\n { available, backend, reason }: InputAvailabilityDto,\n help: Help,\n ) =>\n row(\n id,\n label,\n available ? 'ok' : 'warning',\n available ? 'Available' : `Not available: ${reason ?? 'no reason given'}`,\n help,\n backend === null ? null : { name: backend, href: LIBRARY_REPOS.get(backend) ?? null },\n );\n\n const service = (id: CheckRowId, label: string, { state, version }: ServiceStatusDto) => {\n const [tone, words]: [CheckTone, string] = {\n running: ['ok', `Running, version ${version}`],\n starting: ['neutral', `Starting, version ${version}`],\n stopped: ['neutral', 'Off'],\n crashed: ['warning', `Crashed, version ${version}. It restarts by itself.`],\n failed: ['warning', `Failed, version ${version}`],\n }[state] as [CheckTone, string];\n return row(id, label, tone, words, {\n label: 'Child services',\n path: 'usage/operations.md#child-service-crashes',\n });\n };\n\n return [\n row(\n 'listener',\n 'Speech listener',\n listening ? 'ok' : 'warning',\n listening ? `Listening on port ${port} (${encoding})` : `Not listening on port ${port}`,\n { label: 'Troubleshooting', path: 'usage/troubleshooting.md#speech' },\n ),\n row(\n 'voice',\n 'Voice connected',\n connections.length > 0 ? 'ok' : 'neutral',\n connections.length > 0\n ? `${count}${voices.length > 0 ? ` (voice ${voices.join(', ')})` : ''}`\n : 'None yet: the voice connects with its first words',\n { label: 'Select the voice', screenReader: true },\n ),\n input('input', 'Native input', status.input.native, {\n label: 'Troubleshooting',\n path: 'usage/troubleshooting.md#browser-and-input',\n }),\n input('focus', 'Window focus', status.input.focus, {\n label: 'Bringing the browser to the front',\n path: 'usage/native-input.md#bringing-the-browser-to-the-front',\n }),\n service('playwright', 'Playwright server', status.playwright),\n service('mcp', 'Playwright MCP', status.mcp),\n ];\n}\n"],"mappings":";;AAWA,IAAa,cAAc;;AAE3B,IAAa,oBAAoB;;AAEjC,IAAa,WAAW;;;;;AAOxB,IAAa,gBAAgB;CAC3B,eAAe;CACf,YAAY;CACZ,WAAW;AACb;;AAgCA,IAAa,mBAAmB;AAEhC,IAAM,WAAW;;;;;AAMjB,SAAgB,QAAQ,SAAwB,MAAsB;CAGpE,OAAO,GAAG,SAAS,GAFF,YAAY,QAAQ,kBAAkB,KAAK,OAAO,IAC5C,uCAAuC,YAAY,OAChD,QAAQ;AACpC;;AAGA,IAAM,gCAAgB,IAAI,IAAI,CAC5B,CAAC,WAAW,kCAAkC,GAC9C,CAAC,SAAS,kCAAkC,CAC9C,CAAC;;AA4BD,SAAgB,gBAAgB,QAA+B;CAC7D,MAAM,QAAQ,OAAe,UAAkB;EAC7C;EACA,MAAM,QAAQ,OAAO,OAAO,SAAS,IAAI;CAC3C;CACA,MAAM,OACJ,IACA,OACA,MACA,OACA,MACA,UAA+B,UACjB;EACd;EACA;EACA;EACA;EACA;EACA,MAAM,SAAS,OAAO,OAAO,UAAU,OAAO,KAAK,KAAK,OAAO,KAAK,IAAI,IAAI;CAC9E;CAEA,MAAM,EAAE,WAAW,MAAM,UAAU,gBAAgB,OAAO;CAC1D,MAAM,SAAS,CAAC,GAAG,IAAI,IAAI,YAAY,SAAS,EAAE,YAAa,UAAU,OAAO,CAAC,IAAI,CAAC,KAAK,CAAE,CAAC,CAAC;CAC/F,MAAM,QAAQ,YAAY,WAAW,IAAI,iBAAiB,GAAG,YAAY,OAAO;CAEhF,MAAM,SACJ,IACA,OACA,EAAE,WAAW,SAAS,UACtB,SAEA,IACE,IACA,OACA,YAAY,OAAO,WACnB,YAAY,cAAc,kBAAkB,UAAU,qBACtD,MACA,YAAY,OAAO,OAAO;EAAE,MAAM;EAAS,MAAM,cAAc,IAAI,OAAO,KAAK;CAAK,CACtF;CAEF,MAAM,WAAW,IAAgB,OAAe,EAAE,OAAO,cAAgC;EACvF,MAAM,CAAC,MAAM,SAA8B;GACzC,SAAS,CAAC,MAAM,oBAAoB,SAAS;GAC7C,UAAU,CAAC,WAAW,qBAAqB,SAAS;GACpD,SAAS,CAAC,WAAW,KAAK;GAC1B,SAAS,CAAC,WAAW,oBAAoB,QAAQ,yBAAyB;GAC1E,QAAQ,CAAC,WAAW,mBAAmB,SAAS;EAClD,EAAE;EACF,OAAO,IAAI,IAAI,OAAO,MAAM,OAAO;GACjC,OAAO;GACP,MAAM;EACR,CAAC;CACH;CAEA,OAAO;EACL,IACE,YACA,mBACA,YAAY,OAAO,WACnB,YAAY,qBAAqB,KAAK,IAAI,SAAS,KAAK,yBAAyB,QACjF;GAAE,OAAO;GAAmB,MAAM;EAAkC,CACtE;EACA,IACE,SACA,mBACA,YAAY,SAAS,IAAI,OAAO,WAChC,YAAY,SAAS,IACjB,GAAG,QAAQ,OAAO,SAAS,IAAI,WAAW,OAAO,KAAK,IAAI,EAAE,KAAK,OACjE,qDACJ;GAAE,OAAO;GAAoB,cAAc;EAAK,CAClD;EACA,MAAM,SAAS,gBAAgB,OAAO,MAAM,QAAQ;GAClD,OAAO;GACP,MAAM;EACR,CAAC;EACD,MAAM,SAAS,gBAAgB,OAAO,MAAM,OAAO;GACjD,OAAO;GACP,MAAM;EACR,CAAC;EACD,QAAQ,cAAc,qBAAqB,OAAO,UAAU;EAC5D,QAAQ,OAAO,kBAAkB,OAAO,GAAG;CAC7C;AACF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"speech.js","names":["LitElement","literal","nothing","staticHtml","classMap","html","property","state","styles","css","css","sharedStyles","customElement"],"sources":["../../../../../node_modules/.pnpm/@material+web@2.5.0/node_modules/@material/web/internal/controller/is-rtl.js","../../../../../node_modules/.pnpm/@material+web@2.5.0/node_modules/@material/web/iconbutton/internal/icon-button.js","../../../../../node_modules/.pnpm/@material+web@2.5.0/node_modules/@material/web/iconbutton/internal/shared-styles.cssresult.js","../../../../../node_modules/.pnpm/@material+web@2.5.0/node_modules/@material/web/iconbutton/internal/standard-styles.cssresult.js","../../../../../node_modules/.pnpm/@material+web@2.5.0/node_modules/@material/web/iconbutton/icon-button.js","../../../src/lib/core/speech.ts"],"sourcesContent":["/**\n * @license\n * Copyright 2022 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\n/**\n * Returns `true` if the given element is in a right-to-left direction.\n *\n * @param el Element to determine direction from\n * @param shouldCheck Optional. If `false`, return `false` without checking\n * direction. Determining the direction of `el` is somewhat expensive, so\n * this parameter can be used as a conditional guard. Defaults to `true`.\n */\nexport function isRtl(el, shouldCheck = true) {\n return (shouldCheck &&\n getComputedStyle(el).getPropertyValue('direction').trim() === 'rtl');\n}\n//# sourceMappingURL=is-rtl.js.map","/**\n * @license\n * Copyright 2018 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\nimport { __decorate } from \"tslib\";\nimport '../../focus/md-focus-ring.js';\nimport '../../ripple/ripple.js';\nimport { html, isServer, LitElement, nothing } from 'lit';\nimport { property, state } from 'lit/decorators.js';\nimport { classMap } from 'lit/directives/class-map.js';\nimport { literal, html as staticHtml } from 'lit/static-html.js';\nimport { mixinDelegatesAria } from '../../internal/aria/delegate.js';\nimport { isRtl } from '../../internal/controller/is-rtl.js';\nimport { afterDispatch, setupDispatchHooks, } from '../../internal/events/dispatch-hooks.js';\nimport { mixinElementInternals } from '../../labs/behaviors/element-internals.js';\nimport { mixinFormAssociated } from '../../labs/behaviors/form-associated.js';\nimport { mixinFormSubmitter } from '../../labs/behaviors/form-submitter.js';\n// Separate variable needed for closure.\nconst iconButtonBaseClass = mixinDelegatesAria(mixinFormSubmitter(mixinFormAssociated(mixinElementInternals(LitElement))));\n/**\n * A button for rendering icons.\n *\n * @fires input {InputEvent} Dispatched when a toggle button toggles --bubbles\n * --composed\n * @fires change {Event} Dispatched when a toggle button toggles --bubbles\n */\nexport class IconButton extends iconButtonBaseClass {\n constructor() {\n super();\n /**\n * \"Soft-disables\" the icon button (disabled but still focusable).\n *\n * Use this when an icon button needs increased visibility when disabled. See\n * https://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls\n * for more guidance on when this is needed.\n */\n this.softDisabled = false;\n /**\n * Flips the icon if it is in an RTL context at startup.\n */\n this.flipIconInRtl = false;\n /**\n * Sets the underlying `HTMLAnchorElement`'s `href` resource attribute.\n */\n this.href = '';\n /**\n * The filename to use when downloading the linked resource.\n * If not specified, the browser will determine a filename.\n * This is only applicable when the icon button is used as a link (`href` is set).\n */\n this.download = '';\n /**\n * Sets the underlying `HTMLAnchorElement`'s `target` attribute.\n */\n this.target = '';\n /**\n * The `aria-label` of the button when the button is toggleable and selected.\n */\n this.ariaLabelSelected = '';\n /**\n * When true, the button will toggle between selected and unselected\n * states\n */\n this.toggle = false;\n /**\n * Sets the selected state. When false, displays the default icon. When true,\n * displays the selected icon, or the default icon If no `slot=\"selected\"`\n * icon is provided.\n */\n this.selected = false;\n this.flipIcon = isRtl(this, this.flipIconInRtl);\n if (isServer)\n return;\n setupDispatchHooks(this, 'click');\n this.addEventListener('click', (event) => {\n // If the button is soft-disabled or a disabled link, we need to\n // explicitly prevent the click from propagating to other event listeners\n // as well as prevent the default action. This is because the underlying\n // `<button>` or `<a>` element is not actually `:disabled`.\n if (this.softDisabled || (this.disabled && this.href)) {\n event.stopImmediatePropagation();\n event.preventDefault();\n return;\n }\n // Save current selected state to toggle, since an external event listener\n // may also change the selected state on click.\n const wasSelected = this.selected;\n afterDispatch(event, () => {\n if (!this.toggle || this.disabled || event.defaultPrevented) {\n return;\n }\n this.selected = !wasSelected;\n this.dispatchEvent(new InputEvent('input', { bubbles: true, composed: true }));\n // Bubbles but does not compose to mimic native browser <input> & <select>\n // Additionally, native change event is not an InputEvent.\n this.dispatchEvent(new Event('change', { bubbles: true }));\n });\n });\n }\n willUpdate() {\n // Link buttons cannot be disabled or soft-disabled.\n if (this.href) {\n this.disabled = false;\n this.softDisabled = false;\n }\n }\n render() {\n const tag = this.href ? literal `div` : literal `button`;\n // Needed for closure conformance\n const { ariaLabel, ariaHasPopup, ariaExpanded } = this;\n const hasToggledAriaLabel = ariaLabel && this.ariaLabelSelected;\n const ariaPressedValue = !this.toggle ? nothing : this.selected;\n let ariaLabelValue = nothing;\n if (!this.href) {\n ariaLabelValue =\n hasToggledAriaLabel && this.selected\n ? this.ariaLabelSelected\n : ariaLabel;\n }\n return staticHtml `<${tag}\n class=\"icon-button ${classMap(this.getRenderClasses())}\"\n id=\"button\"\n aria-label=\"${ariaLabelValue || nothing}\"\n aria-haspopup=\"${(!this.href && ariaHasPopup) || nothing}\"\n aria-expanded=\"${(!this.href && ariaExpanded) || nothing}\"\n aria-pressed=\"${ariaPressedValue}\"\n aria-disabled=${(!this.href && this.softDisabled) || nothing}\n ?disabled=\"${!this.href && this.disabled}\">\n ${this.renderFocusRing()}\n ${this.renderRipple()}\n ${!this.selected ? this.renderIcon() : nothing}\n ${this.selected ? this.renderSelectedIcon() : nothing}\n ${this.href ? this.renderLink() : this.renderTouchTarget()}\n </${tag}>`;\n }\n renderLink() {\n // Needed for closure conformance\n const { ariaLabel } = this;\n return html `\n <a\n class=\"link\"\n id=\"link\"\n href=\"${this.href}\"\n download=\"${this.download || nothing}\"\n target=\"${this.target || nothing}\"\n aria-label=\"${ariaLabel || nothing}\">\n ${this.renderTouchTarget()}\n </a>\n `;\n }\n getRenderClasses() {\n return {\n 'flip-icon': this.flipIcon,\n 'selected': this.toggle && this.selected,\n };\n }\n renderIcon() {\n return html `<span class=\"icon\"><slot></slot></span>`;\n }\n renderSelectedIcon() {\n // Use default slot as fallback to not require specifying multiple icons\n return html `<span class=\"icon icon--selected\"\n ><slot name=\"selected\"><slot></slot></slot\n ></span>`;\n }\n renderTouchTarget() {\n return html `<span class=\"touch\"></span>`;\n }\n renderFocusRing() {\n // TODO(b/310046938): use the same id for both elements\n return html `<md-focus-ring\n part=\"focus-ring\"\n for=${this.href ? 'link' : 'button'}></md-focus-ring>`;\n }\n renderRipple() {\n const isRippleDisabled = !this.href && (this.disabled || this.softDisabled);\n // TODO(b/310046938): use the same id for both elements\n return html `<md-ripple\n for=${this.href ? 'link' : nothing}\n ?disabled=\"${isRippleDisabled}\"></md-ripple>`;\n }\n connectedCallback() {\n this.flipIcon = isRtl(this, this.flipIconInRtl);\n super.connectedCallback();\n }\n}\n/** @nocollapse */\nIconButton.shadowRootOptions = {\n mode: 'open',\n delegatesFocus: true,\n};\n__decorate([\n property({ type: Boolean, attribute: 'soft-disabled', reflect: true })\n], IconButton.prototype, \"softDisabled\", void 0);\n__decorate([\n property({ type: Boolean, attribute: 'flip-icon-in-rtl' })\n], IconButton.prototype, \"flipIconInRtl\", void 0);\n__decorate([\n property()\n], IconButton.prototype, \"href\", void 0);\n__decorate([\n property()\n], IconButton.prototype, \"download\", void 0);\n__decorate([\n property()\n], IconButton.prototype, \"target\", void 0);\n__decorate([\n property({ attribute: 'aria-label-selected' })\n], IconButton.prototype, \"ariaLabelSelected\", void 0);\n__decorate([\n property({ type: Boolean })\n], IconButton.prototype, \"toggle\", void 0);\n__decorate([\n property({ type: Boolean, reflect: true })\n], IconButton.prototype, \"selected\", void 0);\n__decorate([\n state()\n], IconButton.prototype, \"flipIcon\", void 0);\n//# sourceMappingURL=icon-button.js.map","/**\n * @license\n * Copyright 2026 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\n// Generated stylesheet for ./iconbutton/internal/shared-styles.css.\nimport { css } from 'lit';\nexport const styles = css `:host{display:inline-flex;outline:none;-webkit-tap-highlight-color:rgba(0,0,0,0);height:var(--_container-height);width:var(--_container-width);justify-content:center}:host([touch-target=wrapper]){margin:max(0px,(48px - var(--_container-height))/2) max(0px,(48px - var(--_container-width))/2)}md-focus-ring{--md-focus-ring-shape-start-start: var(--_container-shape-start-start);--md-focus-ring-shape-start-end: var(--_container-shape-start-end);--md-focus-ring-shape-end-end: var(--_container-shape-end-end);--md-focus-ring-shape-end-start: var(--_container-shape-end-start)}:host(:is([disabled],[soft-disabled])){pointer-events:none}.icon-button{place-items:center;background:none;border:none;box-sizing:border-box;cursor:pointer;display:flex;place-content:center;outline:none;padding:0;position:relative;text-decoration:none;user-select:none;z-index:0;flex:1;border-start-start-radius:var(--_container-shape-start-start);border-start-end-radius:var(--_container-shape-start-end);border-end-start-radius:var(--_container-shape-end-start);border-end-end-radius:var(--_container-shape-end-end)}.icon ::slotted(*){font-size:var(--_icon-size);height:var(--_icon-size);width:var(--_icon-size);font-weight:inherit}md-ripple{z-index:-1;border-start-start-radius:var(--_container-shape-start-start);border-start-end-radius:var(--_container-shape-start-end);border-end-start-radius:var(--_container-shape-end-start);border-end-end-radius:var(--_container-shape-end-end)}.flip-icon .icon{transform:scaleX(-1)}.icon{display:inline-flex}.link{display:grid;height:100%;outline:none;place-items:center;position:absolute;width:100%}.touch{position:absolute;height:max(48px,100%);width:max(48px,100%)}:host([touch-target=none]) .touch{display:none}@media(forced-colors: active){:host(:is([disabled],[soft-disabled])){--_disabled-icon-color: GrayText;--_disabled-icon-opacity: 1}}\n`;\nexport default styles.styleSheet;\n//# sourceMappingURL=shared-styles.cssresult.js.map","/**\n * @license\n * Copyright 2026 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\n// Generated stylesheet for ./iconbutton/internal/standard-styles.css.\nimport { css } from 'lit';\nexport const styles = css `:host{--_disabled-icon-color: var(--md-icon-button-disabled-icon-color, var(--md-sys-color-on-surface, #1d1b20));--_disabled-icon-opacity: var(--md-icon-button-disabled-icon-opacity, 0.38);--_icon-size: var(--md-icon-button-icon-size, 24px);--_selected-focus-icon-color: var(--md-icon-button-selected-focus-icon-color, var(--md-sys-color-primary, #6750a4));--_selected-hover-icon-color: var(--md-icon-button-selected-hover-icon-color, var(--md-sys-color-primary, #6750a4));--_selected-hover-state-layer-color: var(--md-icon-button-selected-hover-state-layer-color, var(--md-sys-color-primary, #6750a4));--_selected-hover-state-layer-opacity: var(--md-icon-button-selected-hover-state-layer-opacity, 0.08);--_selected-icon-color: var(--md-icon-button-selected-icon-color, var(--md-sys-color-primary, #6750a4));--_selected-pressed-icon-color: var(--md-icon-button-selected-pressed-icon-color, var(--md-sys-color-primary, #6750a4));--_selected-pressed-state-layer-color: var(--md-icon-button-selected-pressed-state-layer-color, var(--md-sys-color-primary, #6750a4));--_selected-pressed-state-layer-opacity: var(--md-icon-button-selected-pressed-state-layer-opacity, 0.12);--_state-layer-height: var(--md-icon-button-state-layer-height, 40px);--_state-layer-shape: var(--md-icon-button-state-layer-shape, var(--md-sys-shape-corner-full, 9999px));--_state-layer-width: var(--md-icon-button-state-layer-width, 40px);--_focus-icon-color: var(--md-icon-button-focus-icon-color, var(--md-sys-color-on-surface-variant, #49454f));--_hover-icon-color: var(--md-icon-button-hover-icon-color, var(--md-sys-color-on-surface-variant, #49454f));--_hover-state-layer-color: var(--md-icon-button-hover-state-layer-color, var(--md-sys-color-on-surface-variant, #49454f));--_hover-state-layer-opacity: var(--md-icon-button-hover-state-layer-opacity, 0.08);--_icon-color: var(--md-icon-button-icon-color, var(--md-sys-color-on-surface-variant, #49454f));--_pressed-icon-color: var(--md-icon-button-pressed-icon-color, var(--md-sys-color-on-surface-variant, #49454f));--_pressed-state-layer-color: var(--md-icon-button-pressed-state-layer-color, var(--md-sys-color-on-surface-variant, #49454f));--_pressed-state-layer-opacity: var(--md-icon-button-pressed-state-layer-opacity, 0.12);--_container-shape-start-start: 0;--_container-shape-start-end: 0;--_container-shape-end-end: 0;--_container-shape-end-start: 0;--_container-height: 0;--_container-width: 0;height:var(--_state-layer-height);width:var(--_state-layer-width)}:host([touch-target=wrapper]){margin:max(0px,(48px - var(--_state-layer-height))/2) max(0px,(48px - var(--_state-layer-width))/2)}md-focus-ring{--md-focus-ring-shape-start-start: var(--_state-layer-shape);--md-focus-ring-shape-start-end: var(--_state-layer-shape);--md-focus-ring-shape-end-end: var(--_state-layer-shape);--md-focus-ring-shape-end-start: var(--_state-layer-shape)}.standard{background-color:rgba(0,0,0,0);color:var(--_icon-color);--md-ripple-hover-color: var(--_hover-state-layer-color);--md-ripple-hover-opacity: var(--_hover-state-layer-opacity);--md-ripple-pressed-color: var(--_pressed-state-layer-color);--md-ripple-pressed-opacity: var(--_pressed-state-layer-opacity)}.standard:hover{color:var(--_hover-icon-color)}.standard:focus{color:var(--_focus-icon-color)}.standard:active{color:var(--_pressed-icon-color)}.standard:is(:disabled,[aria-disabled=true]){color:var(--_disabled-icon-color)}md-ripple{border-radius:var(--_state-layer-shape)}.standard:is(:disabled,[aria-disabled=true]){opacity:var(--_disabled-icon-opacity)}.selected:not(:disabled,[aria-disabled=true]){color:var(--_selected-icon-color)}.selected:not(:disabled,[aria-disabled=true]):hover{color:var(--_selected-hover-icon-color)}.selected:not(:disabled,[aria-disabled=true]):focus{color:var(--_selected-focus-icon-color)}.selected:not(:disabled,[aria-disabled=true]):active{color:var(--_selected-pressed-icon-color)}.selected{--md-ripple-hover-color: var(--_selected-hover-state-layer-color);--md-ripple-hover-opacity: var(--_selected-hover-state-layer-opacity);--md-ripple-pressed-color: var(--_selected-pressed-state-layer-color);--md-ripple-pressed-opacity: var(--_selected-pressed-state-layer-opacity)}\n`;\nexport default styles.styleSheet;\n//# sourceMappingURL=standard-styles.cssresult.js.map","/**\n * @license\n * Copyright 2021 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\nimport { __decorate } from \"tslib\";\nimport { customElement } from 'lit/decorators.js';\nimport { IconButton } from './internal/icon-button.js';\nimport { styles as sharedStyles } from './internal/shared-styles.cssresult.js';\nimport { styles } from './internal/standard-styles.cssresult.js';\n/**\n * @summary Icon buttons help people take supplementary actions with a single\n * tap.\n *\n * @description\n * __Emphasis:__ Low emphasis – For optional or supplementary actions with the\n * least amount of prominence.\n *\n * __Rationale:__ The most compact and unobtrusive type of button, icon buttons\n * are used for optional supplementary actions such as \"Bookmark\" or \"Star.\"\n *\n * __Example usages:__\n * - Add to Favorites\n * - Print\n *\n * @final\n * @suppress {visibility}\n */\nlet MdIconButton = class MdIconButton extends IconButton {\n getRenderClasses() {\n return {\n ...super.getRenderClasses(),\n 'standard': true,\n };\n }\n};\nMdIconButton.styles = [sharedStyles, styles];\nMdIconButton = __decorate([\n customElement('md-icon-button')\n], MdIconButton);\nexport { MdIconButton };\n//# sourceMappingURL=icon-button.js.map","import type { SessionDto, SpeechEntryDto } from '@screenreader-speech-capture/shared';\nimport type { SessionScope } from './sessions.js';\n\n/** The table keeps this many rows; the oldest go first (the bridge's own buffer is capped too). */\nexport const MAX_ROWS = 5000;\n\n/**\n * `connecting`/`live`/`reconnecting`: a stream. `ended`: an ended session was read in full and\n * nothing more will arrive. `failed`: it could not be read.\n */\nexport type FeedState = 'connecting' | 'live' | 'reconnecting' | 'ended' | 'failed';\n\nexport type SpeechFeedHandlers = {\n onEntry(entry: SpeechEntryDto): void;\n /** Entries read in one go (the pages of an ended session), oldest first. */\n onEntries(entries: readonly SpeechEntryDto[]): void;\n /** The bridge wiped its buffer. */\n onClear(): void;\n onState(state: FeedState): void;\n};\n\n/** The speech of one scope (the adapter streams a live one and reads an ended one once). */\nexport interface SpeechFeed {\n /**\n * Starts the feed; the returned function stops it. A `live` scope (the current session, or the\n * speech outside any session) replays what is in the buffer and then follows; an ended session\n * only has what is in the buffer.\n */\n open(scope: SessionScope, live: boolean, handlers: SpeechFeedHandlers): () => void;\n}\n\n/** What the log changes through the BFF. */\nexport interface SpeechApi {\n /** Inserts a marker; the entry reaches the table through the feed. */\n addMarker(label: string): Promise<void>;\n /**\n * Clears the speech of `scope` (the current session or the speech outside sessions); the session\n * keeps running and the table empties through the feed. Rejects with the bridge's message.\n */\n clear(scope: SessionScope): Promise<void>;\n}\n\n/**\n * Whether a marker added now shows up in `scope`. The bridge files a marker under the current\n * session, or outside any session when none is current: it has no way to name another scope.\n */\nexport function canAddMarker(scope: SessionScope, currentId: number | null): boolean {\n return currentId === null ? scope === 'none' : scope === currentId;\n}\n\n/**\n * Whether the log can clear `scope`: the current session or the speech outside sessions, the scopes\n * that can still receive speech. An ended session can only be deleted.\n */\nexport function canClearSpeech(scope: SessionScope, currentId: number | null): boolean {\n return isLiveScope(scope, currentId);\n}\n\n/** Whether the log can delete `scope`: an ended session, never the current one or the outside log. */\nexport function canDeleteSession(scope: SessionScope, currentId: number | null): boolean {\n return scope !== 'none' && scope !== currentId;\n}\n\n/** Whether new speech can still arrive in `scope`. */\nexport function isLiveScope(scope: SessionScope, currentId: number | null): boolean {\n return scope === 'none' || scope === currentId;\n}\n\n/** `14:03:07.042` in the browser's time zone. */\nexport function formatReceivedTime(iso: string): string {\n const date = new Date(iso);\n if (Number.isNaN(date.getTime())) return iso;\n const two = (value: number) => String(value).padStart(2, '0');\n const millis = String(date.getMilliseconds()).padStart(3, '0');\n return `${two(date.getHours())}:${two(date.getMinutes())}:${two(date.getSeconds())}.${millis}`;\n}\n\n/** `Checkout flow #3`, or what the log shows when no session is selected. */\nexport function logHeading(scope: SessionScope, sessions: readonly SessionDto[]): string {\n if (scope === 'none') return 'Records outside sessions';\n const session = sessions.find((candidate) => candidate.id === scope);\n return session === undefined ? `#${scope}` : `${session.name} #${session.id}`;\n}\n"],"ignoreList":[0,1,2,3,4],"mappings":";;;;;;;;;;;;;;;;AAaA,SAAgB,MAAM,IAAI,cAAc,MAAM;CAC1C,OAAQ,eACJ,iBAAiB,EAAE,CAAC,CAAC,iBAAiB,WAAW,CAAC,CAAC,KAAK,MAAM;AACtE;;;;;;;ACGA,IAAM,sBAAsB,mBAAmB,mBAAmB,oBAAoB,sBAAsBA,CAAU,CAAC,CAAC,CAAC;;;;;;;;AAQzH,IAAa,aAAb,cAAgC,oBAAoB;CAChD,cAAc;EACV,MAAM;;;;;;;;EAQN,KAAK,eAAe;;;;EAIpB,KAAK,gBAAgB;;;;EAIrB,KAAK,OAA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CAC7B,MAAM,UAAU,SAAS,MAAM,cAAc,UAAU,OAAO,KAAK;CACnE,OAAO,YAAY,KAAA,IAAY,IAAI,UAAU,GAAG,QAAQ,KAAK,IAAI,QAAQ;AAC3E"}
|
|
1
|
+
{"version":3,"file":"speech.js","names":["LitElement","literal","nothing","staticHtml","classMap","html","property","state","styles","css","css","sharedStyles","customElement"],"sources":["../../../../../node_modules/.pnpm/@material+web@2.5.0/node_modules/@material/web/internal/controller/is-rtl.js","../../../../../node_modules/.pnpm/@material+web@2.5.0/node_modules/@material/web/iconbutton/internal/icon-button.js","../../../../../node_modules/.pnpm/@material+web@2.5.0/node_modules/@material/web/iconbutton/internal/shared-styles.cssresult.js","../../../../../node_modules/.pnpm/@material+web@2.5.0/node_modules/@material/web/iconbutton/internal/standard-styles.cssresult.js","../../../../../node_modules/.pnpm/@material+web@2.5.0/node_modules/@material/web/iconbutton/icon-button.js","../../../src/lib/core/speech.ts"],"sourcesContent":["/**\n * @license\n * Copyright 2022 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\n/**\n * Returns `true` if the given element is in a right-to-left direction.\n *\n * @param el Element to determine direction from\n * @param shouldCheck Optional. If `false`, return `false` without checking\n * direction. Determining the direction of `el` is somewhat expensive, so\n * this parameter can be used as a conditional guard. Defaults to `true`.\n */\nexport function isRtl(el, shouldCheck = true) {\n return (shouldCheck &&\n getComputedStyle(el).getPropertyValue('direction').trim() === 'rtl');\n}\n//# sourceMappingURL=is-rtl.js.map","/**\n * @license\n * Copyright 2018 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\nimport { __decorate } from \"tslib\";\nimport '../../focus/md-focus-ring.js';\nimport '../../ripple/ripple.js';\nimport { html, isServer, LitElement, nothing } from 'lit';\nimport { property, state } from 'lit/decorators.js';\nimport { classMap } from 'lit/directives/class-map.js';\nimport { literal, html as staticHtml } from 'lit/static-html.js';\nimport { mixinDelegatesAria } from '../../internal/aria/delegate.js';\nimport { isRtl } from '../../internal/controller/is-rtl.js';\nimport { afterDispatch, setupDispatchHooks, } from '../../internal/events/dispatch-hooks.js';\nimport { mixinElementInternals } from '../../labs/behaviors/element-internals.js';\nimport { mixinFormAssociated } from '../../labs/behaviors/form-associated.js';\nimport { mixinFormSubmitter } from '../../labs/behaviors/form-submitter.js';\n// Separate variable needed for closure.\nconst iconButtonBaseClass = mixinDelegatesAria(mixinFormSubmitter(mixinFormAssociated(mixinElementInternals(LitElement))));\n/**\n * A button for rendering icons.\n *\n * @fires input {InputEvent} Dispatched when a toggle button toggles --bubbles\n * --composed\n * @fires change {Event} Dispatched when a toggle button toggles --bubbles\n */\nexport class IconButton extends iconButtonBaseClass {\n constructor() {\n super();\n /**\n * \"Soft-disables\" the icon button (disabled but still focusable).\n *\n * Use this when an icon button needs increased visibility when disabled. See\n * https://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls\n * for more guidance on when this is needed.\n */\n this.softDisabled = false;\n /**\n * Flips the icon if it is in an RTL context at startup.\n */\n this.flipIconInRtl = false;\n /**\n * Sets the underlying `HTMLAnchorElement`'s `href` resource attribute.\n */\n this.href = '';\n /**\n * The filename to use when downloading the linked resource.\n * If not specified, the browser will determine a filename.\n * This is only applicable when the icon button is used as a link (`href` is set).\n */\n this.download = '';\n /**\n * Sets the underlying `HTMLAnchorElement`'s `target` attribute.\n */\n this.target = '';\n /**\n * The `aria-label` of the button when the button is toggleable and selected.\n */\n this.ariaLabelSelected = '';\n /**\n * When true, the button will toggle between selected and unselected\n * states\n */\n this.toggle = false;\n /**\n * Sets the selected state. When false, displays the default icon. When true,\n * displays the selected icon, or the default icon If no `slot=\"selected\"`\n * icon is provided.\n */\n this.selected = false;\n this.flipIcon = isRtl(this, this.flipIconInRtl);\n if (isServer)\n return;\n setupDispatchHooks(this, 'click');\n this.addEventListener('click', (event) => {\n // If the button is soft-disabled or a disabled link, we need to\n // explicitly prevent the click from propagating to other event listeners\n // as well as prevent the default action. This is because the underlying\n // `<button>` or `<a>` element is not actually `:disabled`.\n if (this.softDisabled || (this.disabled && this.href)) {\n event.stopImmediatePropagation();\n event.preventDefault();\n return;\n }\n // Save current selected state to toggle, since an external event listener\n // may also change the selected state on click.\n const wasSelected = this.selected;\n afterDispatch(event, () => {\n if (!this.toggle || this.disabled || event.defaultPrevented) {\n return;\n }\n this.selected = !wasSelected;\n this.dispatchEvent(new InputEvent('input', { bubbles: true, composed: true }));\n // Bubbles but does not compose to mimic native browser <input> & <select>\n // Additionally, native change event is not an InputEvent.\n this.dispatchEvent(new Event('change', { bubbles: true }));\n });\n });\n }\n willUpdate() {\n // Link buttons cannot be disabled or soft-disabled.\n if (this.href) {\n this.disabled = false;\n this.softDisabled = false;\n }\n }\n render() {\n const tag = this.href ? literal `div` : literal `button`;\n // Needed for closure conformance\n const { ariaLabel, ariaHasPopup, ariaExpanded } = this;\n const hasToggledAriaLabel = ariaLabel && this.ariaLabelSelected;\n const ariaPressedValue = !this.toggle ? nothing : this.selected;\n let ariaLabelValue = nothing;\n if (!this.href) {\n ariaLabelValue =\n hasToggledAriaLabel && this.selected\n ? this.ariaLabelSelected\n : ariaLabel;\n }\n return staticHtml `<${tag}\n class=\"icon-button ${classMap(this.getRenderClasses())}\"\n id=\"button\"\n aria-label=\"${ariaLabelValue || nothing}\"\n aria-haspopup=\"${(!this.href && ariaHasPopup) || nothing}\"\n aria-expanded=\"${(!this.href && ariaExpanded) || nothing}\"\n aria-pressed=\"${ariaPressedValue}\"\n aria-disabled=${(!this.href && this.softDisabled) || nothing}\n ?disabled=\"${!this.href && this.disabled}\">\n ${this.renderFocusRing()}\n ${this.renderRipple()}\n ${!this.selected ? this.renderIcon() : nothing}\n ${this.selected ? this.renderSelectedIcon() : nothing}\n ${this.href ? this.renderLink() : this.renderTouchTarget()}\n </${tag}>`;\n }\n renderLink() {\n // Needed for closure conformance\n const { ariaLabel } = this;\n return html `\n <a\n class=\"link\"\n id=\"link\"\n href=\"${this.href}\"\n download=\"${this.download || nothing}\"\n target=\"${this.target || nothing}\"\n aria-label=\"${ariaLabel || nothing}\">\n ${this.renderTouchTarget()}\n </a>\n `;\n }\n getRenderClasses() {\n return {\n 'flip-icon': this.flipIcon,\n 'selected': this.toggle && this.selected,\n };\n }\n renderIcon() {\n return html `<span class=\"icon\"><slot></slot></span>`;\n }\n renderSelectedIcon() {\n // Use default slot as fallback to not require specifying multiple icons\n return html `<span class=\"icon icon--selected\"\n ><slot name=\"selected\"><slot></slot></slot\n ></span>`;\n }\n renderTouchTarget() {\n return html `<span class=\"touch\"></span>`;\n }\n renderFocusRing() {\n // TODO(b/310046938): use the same id for both elements\n return html `<md-focus-ring\n part=\"focus-ring\"\n for=${this.href ? 'link' : 'button'}></md-focus-ring>`;\n }\n renderRipple() {\n const isRippleDisabled = !this.href && (this.disabled || this.softDisabled);\n // TODO(b/310046938): use the same id for both elements\n return html `<md-ripple\n for=${this.href ? 'link' : nothing}\n ?disabled=\"${isRippleDisabled}\"></md-ripple>`;\n }\n connectedCallback() {\n this.flipIcon = isRtl(this, this.flipIconInRtl);\n super.connectedCallback();\n }\n}\n/** @nocollapse */\nIconButton.shadowRootOptions = {\n mode: 'open',\n delegatesFocus: true,\n};\n__decorate([\n property({ type: Boolean, attribute: 'soft-disabled', reflect: true })\n], IconButton.prototype, \"softDisabled\", void 0);\n__decorate([\n property({ type: Boolean, attribute: 'flip-icon-in-rtl' })\n], IconButton.prototype, \"flipIconInRtl\", void 0);\n__decorate([\n property()\n], IconButton.prototype, \"href\", void 0);\n__decorate([\n property()\n], IconButton.prototype, \"download\", void 0);\n__decorate([\n property()\n], IconButton.prototype, \"target\", void 0);\n__decorate([\n property({ attribute: 'aria-label-selected' })\n], IconButton.prototype, \"ariaLabelSelected\", void 0);\n__decorate([\n property({ type: Boolean })\n], IconButton.prototype, \"toggle\", void 0);\n__decorate([\n property({ type: Boolean, reflect: true })\n], IconButton.prototype, \"selected\", void 0);\n__decorate([\n state()\n], IconButton.prototype, \"flipIcon\", void 0);\n//# sourceMappingURL=icon-button.js.map","/**\n * @license\n * Copyright 2026 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\n// Generated stylesheet for ./iconbutton/internal/shared-styles.css.\nimport { css } from 'lit';\nexport const styles = css `:host{display:inline-flex;outline:none;-webkit-tap-highlight-color:rgba(0,0,0,0);height:var(--_container-height);width:var(--_container-width);justify-content:center}:host([touch-target=wrapper]){margin:max(0px,(48px - var(--_container-height))/2) max(0px,(48px - var(--_container-width))/2)}md-focus-ring{--md-focus-ring-shape-start-start: var(--_container-shape-start-start);--md-focus-ring-shape-start-end: var(--_container-shape-start-end);--md-focus-ring-shape-end-end: var(--_container-shape-end-end);--md-focus-ring-shape-end-start: var(--_container-shape-end-start)}:host(:is([disabled],[soft-disabled])){pointer-events:none}.icon-button{place-items:center;background:none;border:none;box-sizing:border-box;cursor:pointer;display:flex;place-content:center;outline:none;padding:0;position:relative;text-decoration:none;user-select:none;z-index:0;flex:1;border-start-start-radius:var(--_container-shape-start-start);border-start-end-radius:var(--_container-shape-start-end);border-end-start-radius:var(--_container-shape-end-start);border-end-end-radius:var(--_container-shape-end-end)}.icon ::slotted(*){font-size:var(--_icon-size);height:var(--_icon-size);width:var(--_icon-size);font-weight:inherit}md-ripple{z-index:-1;border-start-start-radius:var(--_container-shape-start-start);border-start-end-radius:var(--_container-shape-start-end);border-end-start-radius:var(--_container-shape-end-start);border-end-end-radius:var(--_container-shape-end-end)}.flip-icon .icon{transform:scaleX(-1)}.icon{display:inline-flex}.link{display:grid;height:100%;outline:none;place-items:center;position:absolute;width:100%}.touch{position:absolute;height:max(48px,100%);width:max(48px,100%)}:host([touch-target=none]) .touch{display:none}@media(forced-colors: active){:host(:is([disabled],[soft-disabled])){--_disabled-icon-color: GrayText;--_disabled-icon-opacity: 1}}\n`;\nexport default styles.styleSheet;\n//# sourceMappingURL=shared-styles.cssresult.js.map","/**\n * @license\n * Copyright 2026 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\n// Generated stylesheet for ./iconbutton/internal/standard-styles.css.\nimport { css } from 'lit';\nexport const styles = css `:host{--_disabled-icon-color: var(--md-icon-button-disabled-icon-color, var(--md-sys-color-on-surface, #1d1b20));--_disabled-icon-opacity: var(--md-icon-button-disabled-icon-opacity, 0.38);--_icon-size: var(--md-icon-button-icon-size, 24px);--_selected-focus-icon-color: var(--md-icon-button-selected-focus-icon-color, var(--md-sys-color-primary, #6750a4));--_selected-hover-icon-color: var(--md-icon-button-selected-hover-icon-color, var(--md-sys-color-primary, #6750a4));--_selected-hover-state-layer-color: var(--md-icon-button-selected-hover-state-layer-color, var(--md-sys-color-primary, #6750a4));--_selected-hover-state-layer-opacity: var(--md-icon-button-selected-hover-state-layer-opacity, 0.08);--_selected-icon-color: var(--md-icon-button-selected-icon-color, var(--md-sys-color-primary, #6750a4));--_selected-pressed-icon-color: var(--md-icon-button-selected-pressed-icon-color, var(--md-sys-color-primary, #6750a4));--_selected-pressed-state-layer-color: var(--md-icon-button-selected-pressed-state-layer-color, var(--md-sys-color-primary, #6750a4));--_selected-pressed-state-layer-opacity: var(--md-icon-button-selected-pressed-state-layer-opacity, 0.12);--_state-layer-height: var(--md-icon-button-state-layer-height, 40px);--_state-layer-shape: var(--md-icon-button-state-layer-shape, var(--md-sys-shape-corner-full, 9999px));--_state-layer-width: var(--md-icon-button-state-layer-width, 40px);--_focus-icon-color: var(--md-icon-button-focus-icon-color, var(--md-sys-color-on-surface-variant, #49454f));--_hover-icon-color: var(--md-icon-button-hover-icon-color, var(--md-sys-color-on-surface-variant, #49454f));--_hover-state-layer-color: var(--md-icon-button-hover-state-layer-color, var(--md-sys-color-on-surface-variant, #49454f));--_hover-state-layer-opacity: var(--md-icon-button-hover-state-layer-opacity, 0.08);--_icon-color: var(--md-icon-button-icon-color, var(--md-sys-color-on-surface-variant, #49454f));--_pressed-icon-color: var(--md-icon-button-pressed-icon-color, var(--md-sys-color-on-surface-variant, #49454f));--_pressed-state-layer-color: var(--md-icon-button-pressed-state-layer-color, var(--md-sys-color-on-surface-variant, #49454f));--_pressed-state-layer-opacity: var(--md-icon-button-pressed-state-layer-opacity, 0.12);--_container-shape-start-start: 0;--_container-shape-start-end: 0;--_container-shape-end-end: 0;--_container-shape-end-start: 0;--_container-height: 0;--_container-width: 0;height:var(--_state-layer-height);width:var(--_state-layer-width)}:host([touch-target=wrapper]){margin:max(0px,(48px - var(--_state-layer-height))/2) max(0px,(48px - var(--_state-layer-width))/2)}md-focus-ring{--md-focus-ring-shape-start-start: var(--_state-layer-shape);--md-focus-ring-shape-start-end: var(--_state-layer-shape);--md-focus-ring-shape-end-end: var(--_state-layer-shape);--md-focus-ring-shape-end-start: var(--_state-layer-shape)}.standard{background-color:rgba(0,0,0,0);color:var(--_icon-color);--md-ripple-hover-color: var(--_hover-state-layer-color);--md-ripple-hover-opacity: var(--_hover-state-layer-opacity);--md-ripple-pressed-color: var(--_pressed-state-layer-color);--md-ripple-pressed-opacity: var(--_pressed-state-layer-opacity)}.standard:hover{color:var(--_hover-icon-color)}.standard:focus{color:var(--_focus-icon-color)}.standard:active{color:var(--_pressed-icon-color)}.standard:is(:disabled,[aria-disabled=true]){color:var(--_disabled-icon-color)}md-ripple{border-radius:var(--_state-layer-shape)}.standard:is(:disabled,[aria-disabled=true]){opacity:var(--_disabled-icon-opacity)}.selected:not(:disabled,[aria-disabled=true]){color:var(--_selected-icon-color)}.selected:not(:disabled,[aria-disabled=true]):hover{color:var(--_selected-hover-icon-color)}.selected:not(:disabled,[aria-disabled=true]):focus{color:var(--_selected-focus-icon-color)}.selected:not(:disabled,[aria-disabled=true]):active{color:var(--_selected-pressed-icon-color)}.selected{--md-ripple-hover-color: var(--_selected-hover-state-layer-color);--md-ripple-hover-opacity: var(--_selected-hover-state-layer-opacity);--md-ripple-pressed-color: var(--_selected-pressed-state-layer-color);--md-ripple-pressed-opacity: var(--_selected-pressed-state-layer-opacity)}\n`;\nexport default styles.styleSheet;\n//# sourceMappingURL=standard-styles.cssresult.js.map","/**\n * @license\n * Copyright 2021 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\nimport { __decorate } from \"tslib\";\nimport { customElement } from 'lit/decorators.js';\nimport { IconButton } from './internal/icon-button.js';\nimport { styles as sharedStyles } from './internal/shared-styles.cssresult.js';\nimport { styles } from './internal/standard-styles.cssresult.js';\n/**\n * @summary Icon buttons help people take supplementary actions with a single\n * tap.\n *\n * @description\n * __Emphasis:__ Low emphasis – For optional or supplementary actions with the\n * least amount of prominence.\n *\n * __Rationale:__ The most compact and unobtrusive type of button, icon buttons\n * are used for optional supplementary actions such as \"Bookmark\" or \"Star.\"\n *\n * __Example usages:__\n * - Add to Favorites\n * - Print\n *\n * @final\n * @suppress {visibility}\n */\nlet MdIconButton = class MdIconButton extends IconButton {\n getRenderClasses() {\n return {\n ...super.getRenderClasses(),\n 'standard': true,\n };\n }\n};\nMdIconButton.styles = [sharedStyles, styles];\nMdIconButton = __decorate([\n customElement('md-icon-button')\n], MdIconButton);\nexport { MdIconButton };\n//# sourceMappingURL=icon-button.js.map","import type { SessionDto, SpeechEntryDto } from '@screenreader-speech-capture/shared';\nimport type { SessionScope } from './sessions.js';\n\n/** The table keeps this many rows; the oldest go first (the bridge's own buffer is capped too). */\nexport const MAX_ROWS = 5000;\n\n/**\n * `connecting`/`live`/`reconnecting`: a stream. `ended`: an ended session was read in full and\n * nothing more will arrive. `failed`: it could not be read.\n */\nexport type FeedState = 'connecting' | 'live' | 'reconnecting' | 'ended' | 'failed';\n\nexport type SpeechFeedHandlers = {\n onEntry(entry: SpeechEntryDto): void;\n /** Entries read in one go (the pages of an ended session), oldest first. */\n onEntries(entries: readonly SpeechEntryDto[]): void;\n /** The bridge wiped its buffer. */\n onClear(): void;\n onState(state: FeedState): void;\n};\n\n/** The speech of one scope (the adapter streams a live one and reads an ended one once). */\nexport interface SpeechFeed {\n /**\n * Starts the feed; the returned function stops it. A `live` scope (the current session, or the\n * speech outside any session) replays what is in the buffer and then follows; an ended session\n * only has what is in the buffer.\n */\n open(scope: SessionScope, live: boolean, handlers: SpeechFeedHandlers): () => void;\n}\n\n/** The changes the log makes through the BFF. */\nexport interface SpeechApi {\n /** Inserts a marker; the entry reaches the table through the feed. */\n addMarker(label: string): Promise<void>;\n /**\n * Clears the speech of `scope` (the current session or the speech outside sessions); the session\n * keeps running and the table empties through the feed. Rejects with the bridge's message.\n */\n clear(scope: SessionScope): Promise<void>;\n}\n\n/**\n * Whether a marker added now shows up in `scope`. The bridge files a marker under the current\n * session, or outside any session when none is current: it has no way to name another scope.\n */\nexport function canAddMarker(scope: SessionScope, currentId: number | null): boolean {\n return currentId === null ? scope === 'none' : scope === currentId;\n}\n\n/**\n * Whether the log can clear `scope`: the current session or the speech outside sessions, the scopes\n * that can still receive speech. An ended session can only be deleted.\n */\nexport function canClearSpeech(scope: SessionScope, currentId: number | null): boolean {\n return isLiveScope(scope, currentId);\n}\n\n/** Whether the log can delete `scope`: an ended session, never the current one or the outside log. */\nexport function canDeleteSession(scope: SessionScope, currentId: number | null): boolean {\n return scope !== 'none' && scope !== currentId;\n}\n\n/** Whether new speech can still arrive in `scope`. */\nexport function isLiveScope(scope: SessionScope, currentId: number | null): boolean {\n return scope === 'none' || scope === currentId;\n}\n\n/** `14:03:07.042` in the browser's time zone. */\nexport function formatReceivedTime(iso: string): string {\n const date = new Date(iso);\n if (Number.isNaN(date.getTime())) return iso;\n const two = (value: number) => String(value).padStart(2, '0');\n const millis = String(date.getMilliseconds()).padStart(3, '0');\n return `${two(date.getHours())}:${two(date.getMinutes())}:${two(date.getSeconds())}.${millis}`;\n}\n\n/** `Checkout flow #3`, or what the log shows when no session is selected. */\nexport function logHeading(scope: SessionScope, sessions: readonly SessionDto[]): string {\n if (scope === 'none') return 'Records outside sessions';\n const session = sessions.find((candidate) => candidate.id === scope);\n return session === undefined ? `#${scope}` : `${session.name} #${session.id}`;\n}\n"],"ignoreList":[0,1,2,3,4],"mappings":";;;;;;;;;;;;;;;;AAaA,SAAgB,MAAM,IAAI,cAAc,MAAM;CAC1C,OAAQ,eACJ,iBAA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