screenreader-speech-capture 0.5.0 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (136) hide show
  1. package/dist/cli.mjs +21 -5
  2. package/dist/ui/adapter-node.js +1 -1
  3. package/dist/ui/client/ui/_app/immutable/assets/0.CnPCLsGJ.css +1 -0
  4. package/dist/ui/client/ui/_app/immutable/assets/0.CnPCLsGJ.css.br +0 -0
  5. package/dist/ui/client/ui/_app/immutable/assets/0.CnPCLsGJ.css.gz +0 -0
  6. package/dist/ui/client/ui/_app/immutable/assets/2.IKhva0W0.css +1 -0
  7. package/dist/ui/client/ui/_app/immutable/assets/2.IKhva0W0.css.br +0 -0
  8. package/dist/ui/client/ui/_app/immutable/assets/2.IKhva0W0.css.gz +0 -0
  9. package/dist/ui/client/ui/_app/immutable/assets/3.BKNNVeb3.css +1 -0
  10. package/dist/ui/client/ui/_app/immutable/assets/3.BKNNVeb3.css.br +0 -0
  11. package/dist/ui/client/ui/_app/immutable/assets/3.BKNNVeb3.css.gz +0 -0
  12. package/dist/ui/client/ui/_app/immutable/chunks/C67ohLw_.js +1 -0
  13. package/dist/ui/client/ui/_app/immutable/chunks/C67ohLw_.js.br +3 -0
  14. package/dist/ui/client/ui/_app/immutable/chunks/C67ohLw_.js.gz +0 -0
  15. package/dist/ui/client/ui/_app/immutable/chunks/CEzmqEHD.js +37 -0
  16. package/dist/ui/client/ui/_app/immutable/chunks/CEzmqEHD.js.br +0 -0
  17. package/dist/ui/client/ui/_app/immutable/chunks/CEzmqEHD.js.gz +0 -0
  18. package/dist/ui/client/ui/_app/immutable/chunks/CKeiBgOI.js +1 -0
  19. package/dist/ui/client/ui/_app/immutable/chunks/CKeiBgOI.js.br +1 -0
  20. package/dist/ui/client/ui/_app/immutable/chunks/CKeiBgOI.js.gz +0 -0
  21. package/dist/ui/client/ui/_app/immutable/chunks/CVUOwNb5.js +3 -0
  22. package/dist/ui/client/ui/_app/immutable/chunks/CVUOwNb5.js.br +0 -0
  23. package/dist/ui/client/ui/_app/immutable/chunks/CVUOwNb5.js.gz +0 -0
  24. package/dist/ui/client/ui/_app/immutable/chunks/Dksil5Gu.js +1 -0
  25. package/dist/ui/client/ui/_app/immutable/chunks/Dksil5Gu.js.br +0 -0
  26. package/dist/ui/client/ui/_app/immutable/chunks/Dksil5Gu.js.gz +0 -0
  27. package/dist/ui/client/ui/_app/immutable/chunks/DnL0kOQY.js +1 -0
  28. package/dist/ui/client/ui/_app/immutable/chunks/DnL0kOQY.js.br +2 -0
  29. package/dist/ui/client/ui/_app/immutable/chunks/DnL0kOQY.js.gz +0 -0
  30. package/dist/ui/client/ui/_app/immutable/chunks/h7UQ89-l.js +3 -0
  31. package/dist/ui/client/ui/_app/immutable/chunks/h7UQ89-l.js.br +0 -0
  32. package/dist/ui/client/ui/_app/immutable/chunks/h7UQ89-l.js.gz +0 -0
  33. package/dist/ui/client/ui/_app/immutable/chunks/vjU7Kh7P.js +1 -0
  34. package/dist/ui/client/ui/_app/immutable/chunks/vjU7Kh7P.js.br +0 -0
  35. package/dist/ui/client/ui/_app/immutable/chunks/vjU7Kh7P.js.gz +0 -0
  36. package/dist/ui/client/ui/_app/immutable/entry/app.DkG_UKpo.js +2 -0
  37. package/dist/ui/client/ui/_app/immutable/entry/app.DkG_UKpo.js.br +0 -0
  38. package/dist/ui/client/ui/_app/immutable/entry/app.DkG_UKpo.js.gz +0 -0
  39. package/dist/ui/client/ui/_app/immutable/entry/start.uodUAHNT.js +2 -0
  40. package/dist/ui/client/ui/_app/immutable/entry/start.uodUAHNT.js.br +0 -0
  41. package/dist/ui/client/ui/_app/immutable/entry/start.uodUAHNT.js.gz +0 -0
  42. package/dist/ui/client/ui/_app/immutable/nodes/0.CJdYHfX8.js +1 -0
  43. package/dist/ui/client/ui/_app/immutable/nodes/0.CJdYHfX8.js.br +0 -0
  44. package/dist/ui/client/ui/_app/immutable/nodes/0.CJdYHfX8.js.gz +0 -0
  45. package/dist/ui/client/ui/_app/immutable/nodes/1.jZ-iBVjE.js +1 -0
  46. package/dist/ui/client/ui/_app/immutable/nodes/1.jZ-iBVjE.js.br +2 -0
  47. package/dist/ui/client/ui/_app/immutable/nodes/1.jZ-iBVjE.js.gz +0 -0
  48. package/dist/ui/client/ui/_app/immutable/nodes/{2.COkKMNHv.js → 2.CKUmeq5l.js} +70 -69
  49. package/dist/ui/client/ui/_app/immutable/nodes/2.CKUmeq5l.js.br +0 -0
  50. package/dist/ui/client/ui/_app/immutable/nodes/2.CKUmeq5l.js.gz +0 -0
  51. package/dist/ui/client/ui/_app/immutable/nodes/3.D74ClOwr.js +1 -0
  52. package/dist/ui/client/ui/_app/immutable/nodes/3.D74ClOwr.js.br +0 -0
  53. package/dist/ui/client/ui/_app/immutable/nodes/3.D74ClOwr.js.gz +0 -0
  54. package/dist/ui/client/ui/_app/immutable/nodes/4.DY8qq4Io.js +1 -0
  55. package/dist/ui/client/ui/_app/immutable/nodes/4.DY8qq4Io.js.br +0 -0
  56. package/dist/ui/client/ui/_app/immutable/nodes/4.DY8qq4Io.js.gz +0 -0
  57. package/dist/ui/client/ui/_app/version.json +1 -1
  58. package/dist/ui/client/ui/_app/version.json.br +0 -0
  59. package/dist/ui/client/ui/_app/version.json.gz +0 -0
  60. package/dist/ui/server/.vite/manifest.json +14 -4
  61. package/dist/ui/server/_app/immutable/assets/_layout.CnPCLsGJ.css +1 -0
  62. package/dist/ui/server/_app/immutable/assets/_page.BKNNVeb3.css +1 -0
  63. package/dist/ui/server/_app/immutable/assets/_page.IKhva0W0.css +1 -0
  64. package/dist/ui/server/chunks/bridge-api.js +3 -0
  65. package/dist/ui/server/chunks/bridge-api.js.map +1 -1
  66. package/dist/ui/server/chunks/composition.js +63 -2647
  67. package/dist/ui/server/chunks/composition.js.map +1 -1
  68. package/dist/ui/server/chunks/icon-button.js +2636 -0
  69. package/dist/ui/server/chunks/icon-button.js.map +1 -0
  70. package/dist/ui/server/chunks/instance.js +4 -4
  71. package/dist/ui/server/chunks/instance.js.map +1 -1
  72. package/dist/ui/server/chunks/internal.js +1 -1
  73. package/dist/ui/server/chunks/src.js.map +1 -1
  74. package/dist/ui/server/entries/endpoints/api/speech/_server.ts.js +8 -1
  75. package/dist/ui/server/entries/endpoints/api/speech/_server.ts.js.map +1 -1
  76. package/dist/ui/server/entries/pages/_layout.svelte.js +36 -63
  77. package/dist/ui/server/entries/pages/_layout.svelte.js.map +1 -1
  78. package/dist/ui/server/entries/pages/_page.svelte.js +40 -3
  79. package/dist/ui/server/entries/pages/_page.svelte.js.map +1 -1
  80. package/dist/ui/server/entries/pages/settings/_page.svelte.js +29 -3
  81. package/dist/ui/server/entries/pages/settings/_page.svelte.js.map +1 -1
  82. package/dist/ui/server/manifest-full.js +1 -1
  83. package/dist/ui/server/manifest.js +1 -1
  84. package/dist/ui/server/nodes/0.js +2 -2
  85. package/dist/ui/server/nodes/1.js +1 -1
  86. package/dist/ui/server/nodes/2.js +2 -2
  87. package/dist/ui/server/nodes/3.js +2 -2
  88. package/dist/ui/server/nodes/4.js +1 -1
  89. package/dist/ui/server/server.js +1 -1
  90. package/package.json +1 -1
  91. package/dist/ui/client/ui/_app/immutable/assets/0.B2ZWH0rX.css +0 -1
  92. package/dist/ui/client/ui/_app/immutable/assets/0.B2ZWH0rX.css.br +0 -0
  93. package/dist/ui/client/ui/_app/immutable/assets/0.B2ZWH0rX.css.gz +0 -0
  94. package/dist/ui/client/ui/_app/immutable/assets/2.BbalQTLT.css +0 -1
  95. package/dist/ui/client/ui/_app/immutable/assets/2.BbalQTLT.css.br +0 -0
  96. package/dist/ui/client/ui/_app/immutable/assets/2.BbalQTLT.css.gz +0 -0
  97. package/dist/ui/client/ui/_app/immutable/chunks/BaD2EyfF.js +0 -1
  98. package/dist/ui/client/ui/_app/immutable/chunks/BaD2EyfF.js.br +0 -1
  99. package/dist/ui/client/ui/_app/immutable/chunks/BaD2EyfF.js.gz +0 -0
  100. package/dist/ui/client/ui/_app/immutable/chunks/CcBdu3S8.js +0 -3
  101. package/dist/ui/client/ui/_app/immutable/chunks/CcBdu3S8.js.br +0 -0
  102. package/dist/ui/client/ui/_app/immutable/chunks/CcBdu3S8.js.gz +0 -0
  103. package/dist/ui/client/ui/_app/immutable/chunks/DbiAGPgw.js +0 -1
  104. package/dist/ui/client/ui/_app/immutable/chunks/DbiAGPgw.js.br +0 -2
  105. package/dist/ui/client/ui/_app/immutable/chunks/DbiAGPgw.js.gz +0 -0
  106. package/dist/ui/client/ui/_app/immutable/chunks/Dg9MaatX.js +0 -1
  107. package/dist/ui/client/ui/_app/immutable/chunks/Dg9MaatX.js.br +0 -0
  108. package/dist/ui/client/ui/_app/immutable/chunks/Dg9MaatX.js.gz +0 -0
  109. package/dist/ui/client/ui/_app/immutable/chunks/DvmLiMpQ.js +0 -3
  110. package/dist/ui/client/ui/_app/immutable/chunks/DvmLiMpQ.js.br +0 -0
  111. package/dist/ui/client/ui/_app/immutable/chunks/DvmLiMpQ.js.gz +0 -0
  112. package/dist/ui/client/ui/_app/immutable/chunks/VoEQsW8I.js +0 -37
  113. package/dist/ui/client/ui/_app/immutable/chunks/VoEQsW8I.js.br +0 -0
  114. package/dist/ui/client/ui/_app/immutable/chunks/VoEQsW8I.js.gz +0 -0
  115. package/dist/ui/client/ui/_app/immutable/entry/app.vg2Ojqcj.js +0 -2
  116. package/dist/ui/client/ui/_app/immutable/entry/app.vg2Ojqcj.js.br +0 -0
  117. package/dist/ui/client/ui/_app/immutable/entry/app.vg2Ojqcj.js.gz +0 -0
  118. package/dist/ui/client/ui/_app/immutable/entry/start.BHpKgjPx.js +0 -2
  119. package/dist/ui/client/ui/_app/immutable/entry/start.BHpKgjPx.js.br +0 -0
  120. package/dist/ui/client/ui/_app/immutable/entry/start.BHpKgjPx.js.gz +0 -0
  121. package/dist/ui/client/ui/_app/immutable/nodes/0.BTOtEgN4.js +0 -1
  122. package/dist/ui/client/ui/_app/immutable/nodes/0.BTOtEgN4.js.br +0 -0
  123. package/dist/ui/client/ui/_app/immutable/nodes/0.BTOtEgN4.js.gz +0 -0
  124. package/dist/ui/client/ui/_app/immutable/nodes/1.Bd-KoKuj.js +0 -1
  125. package/dist/ui/client/ui/_app/immutable/nodes/1.Bd-KoKuj.js.br +0 -0
  126. package/dist/ui/client/ui/_app/immutable/nodes/1.Bd-KoKuj.js.gz +0 -0
  127. package/dist/ui/client/ui/_app/immutable/nodes/2.COkKMNHv.js.br +0 -0
  128. package/dist/ui/client/ui/_app/immutable/nodes/2.COkKMNHv.js.gz +0 -0
  129. package/dist/ui/client/ui/_app/immutable/nodes/3.CsdEJLWJ.js +0 -1
  130. package/dist/ui/client/ui/_app/immutable/nodes/3.CsdEJLWJ.js.br +0 -0
  131. package/dist/ui/client/ui/_app/immutable/nodes/3.CsdEJLWJ.js.gz +0 -0
  132. package/dist/ui/client/ui/_app/immutable/nodes/4.CXVi2Rvi.js +0 -1
  133. package/dist/ui/client/ui/_app/immutable/nodes/4.CXVi2Rvi.js.br +0 -0
  134. package/dist/ui/client/ui/_app/immutable/nodes/4.CXVi2Rvi.js.gz +0 -0
  135. package/dist/ui/server/_app/immutable/assets/_layout.B2ZWH0rX.css +0 -1
  136. package/dist/ui/server/_app/immutable/assets/_page.BbalQTLT.css +0 -1
@@ -1,37 +0,0 @@
1
- import{F as e,I as t,L as n,T as r}from"./CcBdu3S8.js";import{o as i}from"./Dg9MaatX.js";function a(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a}var o=e=>(t,n)=>{n===void 0?customElements.define(e,t):n.addInitializer(()=>{customElements.define(e,t)})},s=globalThis,c=s.ShadowRoot&&(s.ShadyCSS===void 0||s.ShadyCSS.nativeShadow)&&`adoptedStyleSheets`in Document.prototype&&`replace`in CSSStyleSheet.prototype,l=Symbol(),u=new WeakMap,d=class{constructor(e,t,n){if(this._$cssResult$=!0,n!==l)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=t}get styleSheet(){let e=this.o,t=this.t;if(c&&e===void 0){let n=t!==void 0&&t.length===1;n&&(e=u.get(t)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&u.set(t,e))}return e}toString(){return this.cssText}},ee=e=>new d(typeof e==`string`?e:e+``,void 0,l),f=(e,...t)=>new d(e.length===1?e[0]:t.reduce((t,n,r)=>t+(e=>{if(!0===e._$cssResult$)return e.cssText;if(typeof e==`number`)return e;throw Error(`Value passed to 'css' function must be a 'css' function result: `+e+`. Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.`)})(n)+e[r+1],e[0]),e,l),te=(e,t)=>{if(c)e.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet);else for(let n of t){let t=document.createElement(`style`),r=s.litNonce;r!==void 0&&t.setAttribute(`nonce`,r),t.textContent=n.cssText,e.appendChild(t)}},ne=c?e=>e:e=>e instanceof CSSStyleSheet?(e=>{let t=``;for(let n of e.cssRules)t+=n.cssText;return ee(t)})(e):e,{is:re,defineProperty:ie,getOwnPropertyDescriptor:ae,getOwnPropertyNames:oe,getOwnPropertySymbols:se,getPrototypeOf:ce}=Object,le=globalThis,ue=le.trustedTypes,de=ue?ue.emptyScript:``,fe=le.reactiveElementPolyfillSupport,p=(e,t)=>e,pe={toAttribute(e,t){switch(t){case Boolean:e=e?de:null;break;case Object:case Array:e=e==null?e:JSON.stringify(e)}return e},fromAttribute(e,t){let n=e;switch(t){case Boolean:n=e!==null;break;case Number:n=e===null?null:Number(e);break;case Object:case Array:try{n=JSON.parse(e)}catch{n=null}}return n}},me=(e,t)=>!re(e,t),he={attribute:!0,type:String,converter:pe,reflect:!1,useDefault:!1,hasChanged:me};Symbol.metadata??=Symbol(`metadata`),le.litPropertyMetadata??=new WeakMap;var m=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,t=he){if(t.state&&(t.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(e)&&((t=Object.create(t)).wrapped=!0),this.elementProperties.set(e,t),!t.noAccessor){let n=Symbol(),r=this.getPropertyDescriptor(e,n,t);r!==void 0&&ie(this.prototype,e,r)}}static getPropertyDescriptor(e,t,n){let{get:r,set:i}=ae(this.prototype,e)??{get(){return this[t]},set(e){this[t]=e}};return{get:r,set(t){let a=r?.call(this);i?.call(this,t),this.requestUpdate(e,a,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??he}static _$Ei(){if(this.hasOwnProperty(p(`elementProperties`)))return;let e=ce(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(p(`finalized`)))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(p(`properties`))){let e=this.properties,t=[...oe(e),...se(e)];for(let n of t)this.createProperty(n,e[n])}let e=this[Symbol.metadata];if(e!==null){let t=litPropertyMetadata.get(e);if(t!==void 0)for(let[e,n]of t)this.elementProperties.set(e,n)}this._$Eh=new Map;for(let[e,t]of this.elementProperties){let n=this._$Eu(e,t);n!==void 0&&this._$Eh.set(n,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let t=[];if(Array.isArray(e)){let n=new Set(e.flat(1/0).reverse());for(let e of n)t.unshift(ne(e))}else e!==void 0&&t.push(ne(e));return t}static _$Eu(e,t){let n=t.attribute;return!1===n?void 0:typeof n==`string`?n:typeof e==`string`?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$EO??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$EO?.delete(e)}_$E_(){let e=new Map,t=this.constructor.elementProperties;for(let n of t.keys())this.hasOwnProperty(n)&&(e.set(n,this[n]),delete this[n]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return te(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$EO?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,t,n){this._$AK(e,n)}_$ET(e,t){let n=this.constructor.elementProperties.get(e),r=this.constructor._$Eu(e,n);if(r!==void 0&&!0===n.reflect){let i=(n.converter?.toAttribute===void 0?pe:n.converter).toAttribute(t,n.type);this._$Em=e,i==null?this.removeAttribute(r):this.setAttribute(r,i),this._$Em=null}}_$AK(e,t){let n=this.constructor,r=n._$Eh.get(e);if(r!==void 0&&this._$Em!==r){let e=n.getPropertyOptions(r),i=typeof e.converter==`function`?{fromAttribute:e.converter}:e.converter?.fromAttribute===void 0?pe:e.converter;this._$Em=r;let a=i.fromAttribute(t,e.type);this[r]=a??this._$Ej?.get(r)??a,this._$Em=null}}requestUpdate(e,t,n,r=!1,i){if(e!==void 0){let a=this.constructor;if(!1===r&&(i=this[e]),n??=a.getPropertyOptions(e),!((n.hasChanged??me)(i,t)||n.useDefault&&n.reflect&&i===this._$Ej?.get(e)&&!this.hasAttribute(a._$Eu(e,n))))return;this.C(e,t,n)}!1===this.isUpdatePending&&(this._$ES=this._$EP())}C(e,t,{useDefault:n,reflect:r,wrapped:i},a){n&&!(this._$Ej??=new Map).has(e)&&(this._$Ej.set(e,a??t??this[e]),!0!==i||a!==void 0)||(this._$AL.has(e)||(this.hasUpdated||n||(t=void 0),this._$AL.set(e,t)),!0===r&&this._$Em!==e&&(this._$Eq??=new Set).add(e))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(e){Promise.reject(e)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[e,t]of this._$Ep)this[e]=t;this._$Ep=void 0}let e=this.constructor.elementProperties;if(e.size>0)for(let[t,n]of e){let{wrapped:e}=n,r=this[t];!0!==e||this._$AL.has(t)||r===void 0||this.C(t,void 0,n,r)}}let e=!1,t=this._$AL;try{e=this.shouldUpdate(t),e?(this.willUpdate(t),this._$EO?.forEach(e=>e.hostUpdate?.()),this.update(t)):this._$EM()}catch(t){throw e=!1,this._$EM(),t}e&&this._$AE(t)}willUpdate(e){}_$AE(e){this._$EO?.forEach(e=>e.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(e){return!0}update(e){this._$Eq&&=this._$Eq.forEach(e=>this._$ET(e,this[e])),this._$EM()}updated(e){}firstUpdated(e){}};m.elementStyles=[],m.shadowRootOptions={mode:`open`},m[p(`elementProperties`)]=new Map,m[p(`finalized`)]=new Map,fe?.({ReactiveElement:m}),(le.reactiveElementVersions??=[]).push(`2.1.2`);var ge={attribute:!0,type:String,converter:pe,reflect:!1,hasChanged:me},_e=(e=ge,t,n)=>{let{kind:r,metadata:i}=n,a=globalThis.litPropertyMetadata.get(i);if(a===void 0&&globalThis.litPropertyMetadata.set(i,a=new Map),r===`setter`&&((e=Object.create(e)).wrapped=!0),a.set(n.name,e),r===`accessor`){let{name:r}=n;return{set(n){let i=t.get.call(this);t.set.call(this,n),this.requestUpdate(r,i,e,!0,n)},init(t){return t!==void 0&&this.C(r,void 0,e,t),t}}}if(r===`setter`){let{name:r}=n;return function(n){let i=this[r];t.call(this,n),this.requestUpdate(r,i,e,!0,n)}}throw Error(`Unsupported decorator location: `+r)};function h(e){return(t,n)=>typeof n==`object`?_e(e,t,n):((e,t,n)=>{let r=t.hasOwnProperty(n);return t.constructor.createProperty(n,e),r?Object.getOwnPropertyDescriptor(t,n):void 0})(e,t,n)}function ve(e){return h({...e,state:!0,attribute:!1})}var ye=(e,t,n)=>(n.configurable=!0,n.enumerable=!0,Reflect.decorate&&typeof t!=`object`&&Object.defineProperty(e,t,n),n);function be(e,t){return(n,r,i)=>{let a=t=>t.renderRoot?.querySelector(e)??null;if(t){let{get:e,set:t}=typeof r==`object`?n:i??(()=>{let e=Symbol();return{get(){return this[e]},set(t){this[e]=t}}})();return ye(n,r,{get(){let n=e.call(this);return n===void 0&&(n=a(this),(n!==null||this.hasUpdated)&&t.call(this,n)),n}})}return ye(n,r,{get(){return a(this)}})}}var xe=globalThis,Se=e=>e,Ce=xe.trustedTypes,we=Ce?Ce.createPolicy(`lit-html`,{createHTML:e=>e}):void 0,Te=`$lit$`,g=`lit$${Math.random().toFixed(9).slice(2)}$`,Ee=`?`+g,De=`<${Ee}>`,_=document,v=()=>_.createComment(``),y=e=>e===null||typeof e!=`object`&&typeof e!=`function`,Oe=Array.isArray,ke=e=>Oe(e)||typeof e?.[Symbol.iterator]==`function`,Ae=`[
2
- \f\r]`,b=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,je=/-->/g,Me=/>/g,x=RegExp(`>|${Ae}(?:([^\\s"'>=/]+)(${Ae}*=${Ae}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,`g`),Ne=/'/g,Pe=/"/g,Fe=/^(?:script|style|textarea|title)$/i,S=(e=>(t,...n)=>({_$litType$:e,strings:t,values:n}))(1),C=Symbol.for(`lit-noChange`),w=Symbol.for(`lit-nothing`),Ie=new WeakMap,T=_.createTreeWalker(_,129);function Le(e,t){if(!Oe(e)||!e.hasOwnProperty(`raw`))throw Error(`invalid template strings array`);return we===void 0?t:we.createHTML(t)}var Re=(e,t)=>{let n=e.length-1,r=[],i,a=t===2?`<svg>`:t===3?`<math>`:``,o=b;for(let t=0;t<n;t++){let n=e[t],s,c,l=-1,u=0;for(;u<n.length&&(o.lastIndex=u,c=o.exec(n),c!==null);)u=o.lastIndex,o===b?c[1]===`!--`?o=je:c[1]===void 0?c[2]===void 0?c[3]!==void 0&&(o=x):(Fe.test(c[2])&&(i=RegExp(`</`+c[2],`g`)),o=x):o=Me:o===x?c[0]===`>`?(o=i??b,l=-1):c[1]===void 0?l=-2:(l=o.lastIndex-c[2].length,s=c[1],o=c[3]===void 0?x:c[3]===`"`?Pe:Ne):o===Pe||o===Ne?o=x:o===je||o===Me?o=b:(o=x,i=void 0);let d=o===x&&e[t+1].startsWith(`/>`)?` `:``;a+=o===b?n+De:l>=0?(r.push(s),n.slice(0,l)+Te+n.slice(l)+g+d):n+g+(l===-2?t:d)}return[Le(e,a+(e[n]||`<?>`)+(t===2?`</svg>`:t===3?`</math>`:``)),r]},ze=class e{constructor({strings:t,_$litType$:n},r){let i;this.parts=[];let a=0,o=0,s=t.length-1,c=this.parts,[l,u]=Re(t,n);if(this.el=e.createElement(l,r),T.currentNode=this.el.content,n===2||n===3){let e=this.el.content.firstChild;e.replaceWith(...e.childNodes)}for(;(i=T.nextNode())!==null&&c.length<s;){if(i.nodeType===1){if(i.hasAttributes())for(let e of i.getAttributeNames())if(e.endsWith(Te)){let t=u[o++],n=i.getAttribute(e).split(g),r=/([.?@])?(.*)/.exec(t);c.push({type:1,index:a,name:r[2],strings:n,ctor:r[1]===`.`?He:r[1]===`?`?Ue:r[1]===`@`?We:D}),i.removeAttribute(e)}else e.startsWith(g)&&(c.push({type:6,index:a}),i.removeAttribute(e));if(Fe.test(i.tagName)){let e=i.textContent.split(g),t=e.length-1;if(t>0){i.textContent=Ce?Ce.emptyScript:``;for(let n=0;n<t;n++)i.append(e[n],v()),T.nextNode(),c.push({type:2,index:++a});i.append(e[t],v())}}}else if(i.nodeType===8){if(i.data===Ee)c.push({type:2,index:a});else{let e=-1;for(;(e=i.data.indexOf(g,e+1))!==-1;)c.push({type:7,index:a}),e+=g.length-1}}a++}}static createElement(e,t){let n=_.createElement(`template`);return n.innerHTML=e,n}};function E(e,t,n=e,r){if(t===C)return t;let i=r===void 0?n._$Cl:n._$Co?.[r],a=y(t)?void 0:t._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(e),i._$AT(e,n,r)),r===void 0?n._$Cl=i:(n._$Co??=[])[r]=i),i!==void 0&&(t=E(e,i._$AS(e,t.values),i,r)),t}var Be=class{constructor(e,t){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:t},parts:n}=this._$AD,r=(e?.creationScope??_).importNode(t,!0);T.currentNode=r;let i=T.nextNode(),a=0,o=0,s=n[0];for(;s!==void 0;){if(a===s.index){let t;s.type===2?t=new Ve(i,i.nextSibling,this,e):s.type===1?t=new s.ctor(i,s.name,s.strings,this,e):s.type===6&&(t=new Ge(i,this,e)),this._$AV.push(t),s=n[++o]}a!==s?.index&&(i=T.nextNode(),a++)}return T.currentNode=_,r}p(e){let t=0;for(let n of this._$AV)n!==void 0&&(n.strings===void 0?n._$AI(e[t]):(n._$AI(e,n,t),t+=n.strings.length-2)),t++}},Ve=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,t,n,r){this.type=2,this._$AH=w,this._$AN=void 0,this._$AA=e,this._$AB=t,this._$AM=n,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,t=this._$AM;return t!==void 0&&e?.nodeType===11&&(e=t.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,t=this){e=E(this,e,t),y(e)?e===w||e==null||e===``?(this._$AH!==w&&this._$AR(),this._$AH=w):e!==this._$AH&&e!==C&&this._(e):e._$litType$===void 0?e.nodeType===void 0?ke(e)?this.k(e):this._(e):this.T(e):this.$(e)}O(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}T(e){this._$AH!==e&&(this._$AR(),this._$AH=this.O(e))}_(e){this._$AH!==w&&y(this._$AH)?this._$AA.nextSibling.data=e:this.T(_.createTextNode(e)),this._$AH=e}$(e){let{values:t,_$litType$:n}=e,r=typeof n==`number`?this._$AC(e):(n.el===void 0&&(n.el=ze.createElement(Le(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===r)this._$AH.p(t);else{let e=new Be(r,this),n=e.u(this.options);e.p(t),this.T(n),this._$AH=e}}_$AC(e){let t=Ie.get(e.strings);return t===void 0&&Ie.set(e.strings,t=new ze(e)),t}k(t){Oe(this._$AH)||(this._$AH=[],this._$AR());let n=this._$AH,r,i=0;for(let a of t)i===n.length?n.push(r=new e(this.O(v()),this.O(v()),this,this.options)):r=n[i],r._$AI(a),i++;i<n.length&&(this._$AR(r&&r._$AB.nextSibling,i),n.length=i)}_$AR(e=this._$AA.nextSibling,t){for(this._$AP?.(!1,!0,t);e!==this._$AB;){let t=Se(e).nextSibling;Se(e).remove(),e=t}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},D=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,t,n,r,i){this.type=1,this._$AH=w,this._$AN=void 0,this.element=e,this.name=t,this._$AM=r,this.options=i,n.length>2||n[0]!==``||n[1]!==``?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=w}_$AI(e,t=this,n,r){let i=this.strings,a=!1;if(i===void 0)e=E(this,e,t,0),a=!y(e)||e!==this._$AH&&e!==C,a&&(this._$AH=e);else{let r=e,o,s;for(e=i[0],o=0;o<i.length-1;o++)s=E(this,r[n+o],t,o),s===C&&(s=this._$AH[o]),a||=!y(s)||s!==this._$AH[o],s===w?e=w:e!==w&&(e+=(s??``)+i[o+1]),this._$AH[o]=s}a&&!r&&this.j(e)}j(e){e===w?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??``)}},He=class extends D{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===w?void 0:e}},Ue=class extends D{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==w)}},We=class extends D{constructor(e,t,n,r,i){super(e,t,n,r,i),this.type=5}_$AI(e,t=this){if((e=E(this,e,t,0)??w)===C)return;let n=this._$AH,r=e===w&&n!==w||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,i=e!==w&&(n===w||r);r&&this.element.removeEventListener(this.name,this,n),i&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH==`function`?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},Ge=class{constructor(e,t,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=t,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){E(this,e)}},Ke={M:Te,P:g,A:Ee,C:1,L:Re,R:Be,D:ke,V:E,I:Ve,H:D,N:Ue,U:We,B:He,F:Ge},qe=xe.litHtmlPolyfillSupport;qe?.(ze,Ve),(xe.litHtmlVersions??=[]).push(`3.3.3`);var Je=(e,t,n)=>{let r=n?.renderBefore??t,i=r._$litPart$;if(i===void 0){let e=n?.renderBefore??null;r._$litPart$=i=new Ve(t.insertBefore(v(),e),e,void 0,n??{})}return i._$AI(e),i},Ye=globalThis,O=class extends m{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let e=super.createRenderRoot();return this.renderOptions.renderBefore??=e.firstChild,e}update(e){let t=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=Je(t,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return C}};O._$litElement$=!0,O.finalized=!0,Ye.litElementHydrateSupport?.({LitElement:O});var Xe=Ye.litElementPolyfillSupport;Xe?.({LitElement:O}),(Ye.litElementVersions??=[]).push(`4.2.2`);var Ze=class extends O{render(){return S`<slot></slot>`}connectedCallback(){super.connectedCallback(),this.getAttribute(`aria-hidden`)===`false`?this.removeAttribute(`aria-hidden`):this.setAttribute(`aria-hidden`,`true`)}},Qe=f`:host{font-size:var(--md-icon-size, 24px);width:var(--md-icon-size, 24px);height:var(--md-icon-size, 24px);color:inherit;font-variation-settings:inherit;font-weight:400;font-family:var(--md-icon-font, Material Symbols Outlined);display:inline-flex;font-style:normal;place-items:center;place-content:center;line-height:1;overflow:hidden;letter-spacing:normal;text-transform:none;user-select:none;white-space:nowrap;word-wrap:normal;flex-shrink:0;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}::slotted(svg){fill:currentColor}::slotted(*){height:100%;width:100%}
3
- `;Qe.styleSheet;var $e=class extends Ze{};$e.styles=[Qe],$e=a([o(`md-icon`)],$e);var et=Symbol(`attachableController`),tt=new MutationObserver(e=>{for(let t of e)t.target[et]?.hostConnected()}),nt=class{get htmlFor(){return this.host.getAttribute(`for`)}set htmlFor(e){e===null?this.host.removeAttribute(`for`):this.host.setAttribute(`for`,e)}get control(){return this.host.hasAttribute(`for`)?!this.htmlFor||!this.host.isConnected?null:this.host.getRootNode().querySelector(`#${this.htmlFor}`):this.currentControl||this.host.parentElement}set control(e){e?this.attach(e):this.detach()}constructor(e,t){this.host=e,this.onControlChange=t,this.currentControl=null,e.addController(this),e[et]=this,tt?.observe(e,{attributeFilter:[`for`]})}attach(e){e!==this.currentControl&&(this.setCurrentControl(e),this.host.removeAttribute(`for`))}detach(){this.setCurrentControl(null),this.host.setAttribute(`for`,``)}hostConnected(){this.setCurrentControl(this.control)}hostDisconnected(){this.setCurrentControl(null)}setCurrentControl(e){this.onControlChange(this.currentControl,e),this.currentControl=e}},rt=[`focusin`,`focusout`,`pointerdown`],it=class extends O{constructor(){super(...arguments),this.visible=!1,this.inward=!1,this.attachableController=new nt(this,this.onControlChange.bind(this))}get htmlFor(){return this.attachableController.htmlFor}set htmlFor(e){this.attachableController.htmlFor=e}get control(){return this.attachableController.control}set control(e){this.attachableController.control=e}attach(e){this.attachableController.attach(e)}detach(){this.attachableController.detach()}connectedCallback(){super.connectedCallback(),this.setAttribute(`aria-hidden`,`true`)}handleEvent(e){if(!e[at]){switch(e.type){default:return;case`focusin`:this.visible=this.control?.matches(`:focus-visible`)??!1;break;case`focusout`:case`pointerdown`:this.visible=!1}e[at]=!0}}onControlChange(e,t){for(let n of rt)e?.removeEventListener(n,this),t?.addEventListener(n,this)}update(e){e.has(`visible`)&&this.dispatchEvent(new Event(`visibility-changed`)),super.update(e)}};a([h({type:Boolean,reflect:!0})],it.prototype,`visible`,void 0),a([h({type:Boolean,reflect:!0})],it.prototype,`inward`,void 0);var at=Symbol(`handledByFocusRing`),ot=f`:host{animation-delay:0s,calc(var(--md-focus-ring-duration, 600ms)*.25);animation-duration:calc(var(--md-focus-ring-duration, 600ms)*.25),calc(var(--md-focus-ring-duration, 600ms)*.75);animation-timing-function:cubic-bezier(0.2, 0, 0, 1);box-sizing:border-box;color:var(--md-focus-ring-color, var(--md-sys-color-secondary, #625b71));display:none;pointer-events:none;position:absolute}:host([visible]){display:flex}:host(:not([inward])){animation-name:outward-grow,outward-shrink;border-end-end-radius:calc(var(--md-focus-ring-shape-end-end, var(--md-focus-ring-shape, var(--md-sys-shape-corner-full, 9999px))) + var(--md-focus-ring-outward-offset, 2px));border-end-start-radius:calc(var(--md-focus-ring-shape-end-start, var(--md-focus-ring-shape, var(--md-sys-shape-corner-full, 9999px))) + var(--md-focus-ring-outward-offset, 2px));border-start-end-radius:calc(var(--md-focus-ring-shape-start-end, var(--md-focus-ring-shape, var(--md-sys-shape-corner-full, 9999px))) + var(--md-focus-ring-outward-offset, 2px));border-start-start-radius:calc(var(--md-focus-ring-shape-start-start, var(--md-focus-ring-shape, var(--md-sys-shape-corner-full, 9999px))) + var(--md-focus-ring-outward-offset, 2px));inset:calc(-1*var(--md-focus-ring-outward-offset, 2px));outline:var(--md-focus-ring-width, 3px) solid currentColor}:host([inward]){animation-name:inward-grow,inward-shrink;border-end-end-radius:calc(var(--md-focus-ring-shape-end-end, var(--md-focus-ring-shape, var(--md-sys-shape-corner-full, 9999px))) - var(--md-focus-ring-inward-offset, 0px));border-end-start-radius:calc(var(--md-focus-ring-shape-end-start, var(--md-focus-ring-shape, var(--md-sys-shape-corner-full, 9999px))) - var(--md-focus-ring-inward-offset, 0px));border-start-end-radius:calc(var(--md-focus-ring-shape-start-end, var(--md-focus-ring-shape, var(--md-sys-shape-corner-full, 9999px))) - var(--md-focus-ring-inward-offset, 0px));border-start-start-radius:calc(var(--md-focus-ring-shape-start-start, var(--md-focus-ring-shape, var(--md-sys-shape-corner-full, 9999px))) - var(--md-focus-ring-inward-offset, 0px));border:var(--md-focus-ring-width, 3px) solid currentColor;inset:var(--md-focus-ring-inward-offset, 0px)}@keyframes outward-grow{from{outline-width:0}to{outline-width:var(--md-focus-ring-active-width, 8px)}}@keyframes outward-shrink{from{outline-width:var(--md-focus-ring-active-width, 8px)}}@keyframes inward-grow{from{border-width:0}to{border-width:var(--md-focus-ring-active-width, 8px)}}@keyframes inward-shrink{from{border-width:var(--md-focus-ring-active-width, 8px)}}@media(prefers-reduced-motion){:host{animation:none}}
4
- `;ot.styleSheet;var st=class extends it{};st.styles=[ot],st=a([o(`md-focus-ring`)],st);var ct={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},lt=e=>(...t)=>({_$litDirective$:e,values:t}),ut=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,t,n){this._$Ct=e,this._$AM=t,this._$Ci=n}_$AS(e,t){return this.update(e,t)}update(e,t){return this.render(...t)}},dt=lt(class extends ut{constructor(e){if(super(e),e.type!==ct.ATTRIBUTE||e.name!==`class`||e.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(e){return` `+Object.keys(e).filter(t=>e[t]).join(` `)+` `}update(e,[t]){if(this.st===void 0){this.st=new Set,e.strings!==void 0&&(this.nt=new Set(e.strings.join(` `).split(/\s/).filter(e=>e!==``)));for(let e in t)t[e]&&!this.nt?.has(e)&&this.st.add(e);return this.render(t)}let n=e.element.classList;for(let e of this.st)e in t||(n.remove(e),this.st.delete(e));for(let e in t){let r=!!t[e];r===this.st.has(e)||this.nt?.has(e)||(r?(n.add(e),this.st.add(e)):(n.remove(e),this.st.delete(e)))}return C}}),ft={STANDARD:`cubic-bezier(0.2, 0, 0, 1)`,STANDARD_ACCELERATE:`cubic-bezier(.3,0,1,1)`,STANDARD_DECELERATE:`cubic-bezier(0,0,0,1)`,EMPHASIZED:`cubic-bezier(.3,0,0,1)`,EMPHASIZED_ACCELERATE:`cubic-bezier(.3,0,.8,.15)`,EMPHASIZED_DECELERATE:`cubic-bezier(.05,.7,.1,1)`},pt=450,mt=225,ht=.2,gt=10,_t=75,vt=.35,yt=`::after`,bt=`forwards`,k;(function(e){e[e.INACTIVE=0]=`INACTIVE`,e[e.TOUCH_DELAY=1]=`TOUCH_DELAY`,e[e.HOLDING=2]=`HOLDING`,e[e.WAITING_FOR_CLICK=3]=`WAITING_FOR_CLICK`})(k||={});var xt=[`click`,`contextmenu`,`pointercancel`,`pointerdown`,`pointerenter`,`pointerleave`,`pointerup`],St=150,Ct=window.matchMedia(`(forced-colors: active)`),A=class extends O{constructor(){super(...arguments),this.disabled=!1,this.hovered=!1,this.pressed=!1,this.rippleSize=``,this.rippleScale=``,this.initialSize=0,this.state=k.INACTIVE,this.attachableController=new nt(this,this.onControlChange.bind(this))}get htmlFor(){return this.attachableController.htmlFor}set htmlFor(e){this.attachableController.htmlFor=e}get control(){return this.attachableController.control}set control(e){this.attachableController.control=e}attach(e){this.attachableController.attach(e)}detach(){this.attachableController.detach()}connectedCallback(){super.connectedCallback(),this.setAttribute(`aria-hidden`,`true`)}render(){return S`<div class="surface ${dt({hovered:this.hovered,pressed:this.pressed})}"></div>`}update(e){e.has(`disabled`)&&this.disabled&&(this.hovered=!1,this.pressed=!1),super.update(e)}handlePointerenter(e){this.shouldReactToEvent(e)&&(this.hovered=!0)}handlePointerleave(e){this.shouldReactToEvent(e)&&(this.hovered=!1,this.state!==k.INACTIVE&&this.endPressAnimation())}handlePointerup(e){this.shouldReactToEvent(e)&&(this.state===k.HOLDING?this.state=k.WAITING_FOR_CLICK:this.state===k.TOUCH_DELAY&&(this.state=k.WAITING_FOR_CLICK,this.startPressAnimation(this.rippleStartEvent)))}async handlePointerdown(e){this.shouldReactToEvent(e)&&(this.rippleStartEvent=e,this.isTouch(e)?(this.state=k.TOUCH_DELAY,await new Promise(e=>{setTimeout(e,St)}),this.state===k.TOUCH_DELAY&&(this.state=k.HOLDING,this.startPressAnimation(e))):(this.state=k.WAITING_FOR_CLICK,this.startPressAnimation(e)))}handleClick(){this.disabled||(this.state===k.WAITING_FOR_CLICK?this.endPressAnimation():this.state===k.INACTIVE&&(this.startPressAnimation(),this.endPressAnimation()))}handlePointercancel(e){this.shouldReactToEvent(e)&&this.endPressAnimation()}handleContextmenu(){this.disabled||this.endPressAnimation()}determineRippleSize(){let{height:e,width:t}=this.getBoundingClientRect(),n=Math.max(e,t),r=Math.max(vt*n,_t),i=this.currentCSSZoom??1,a=Math.floor(n*ht/i),o=Math.sqrt(t**2+e**2)+gt;this.initialSize=a;let s=(o+r)/a;this.rippleScale=`${s/i}`,this.rippleSize=`${a}px`}getNormalizedPointerEventCoords(e){let{scrollX:t,scrollY:n}=window,{left:r,top:i}=this.getBoundingClientRect(),a=t+r,o=n+i,{pageX:s,pageY:c}=e,l=this.currentCSSZoom??1;return{x:(s-a)/l,y:(c-o)/l}}getTranslationCoordinates(e){let{height:t,width:n}=this.getBoundingClientRect(),r=this.currentCSSZoom??1,i={x:(n/r-this.initialSize)/2,y:(t/r-this.initialSize)/2},a;return a=e instanceof PointerEvent?this.getNormalizedPointerEventCoords(e):{x:n/r/2,y:t/r/2},a={x:a.x-this.initialSize/2,y:a.y-this.initialSize/2},{startPoint:a,endPoint:i}}startPressAnimation(e){if(!this.mdRoot)return;this.pressed=!0,this.growAnimation?.cancel(),this.determineRippleSize();let{startPoint:t,endPoint:n}=this.getTranslationCoordinates(e),r=`${t.x}px, ${t.y}px`,i=`${n.x}px, ${n.y}px`;this.growAnimation=this.mdRoot.animate({top:[0,0],left:[0,0],height:[this.rippleSize,this.rippleSize],width:[this.rippleSize,this.rippleSize],transform:[`translate(${r}) scale(1)`,`translate(${i}) scale(${this.rippleScale})`]},{pseudoElement:yt,duration:pt,easing:ft.STANDARD,fill:bt})}async endPressAnimation(){this.rippleStartEvent=void 0,this.state=k.INACTIVE;let e=this.growAnimation,t=1/0;typeof e?.currentTime==`number`?t=e.currentTime:e?.currentTime&&(t=e.currentTime.to(`ms`).value),t>=mt?this.pressed=!1:(await new Promise(e=>{setTimeout(e,mt-t)}),this.growAnimation===e&&(this.pressed=!1))}shouldReactToEvent(e){if(this.disabled||!e.isPrimary||this.rippleStartEvent&&this.rippleStartEvent.pointerId!==e.pointerId)return!1;if(e.type===`pointerenter`||e.type===`pointerleave`)return!this.isTouch(e);let t=e.buttons===1;return this.isTouch(e)||t}isTouch({pointerType:e}){return e===`touch`}async handleEvent(e){if(!Ct?.matches)switch(e.type){case`click`:this.handleClick();break;case`contextmenu`:this.handleContextmenu();break;case`pointercancel`:this.handlePointercancel(e);break;case`pointerdown`:await this.handlePointerdown(e);break;case`pointerenter`:this.handlePointerenter(e);break;case`pointerleave`:this.handlePointerleave(e);break;case`pointerup`:this.handlePointerup(e)}}onControlChange(e,t){for(let n of xt)e?.removeEventListener(n,this),t?.addEventListener(n,this)}};a([h({type:Boolean,reflect:!0})],A.prototype,`disabled`,void 0),a([ve()],A.prototype,`hovered`,void 0),a([ve()],A.prototype,`pressed`,void 0),a([be(`.surface`)],A.prototype,`mdRoot`,void 0);var wt=f`:host{display:flex;margin:auto;pointer-events:none}:host([disabled]){display:none}@media(forced-colors: active){:host{display:none}}:host,.surface{border-radius:inherit;position:absolute;inset:0;overflow:hidden}.surface{-webkit-tap-highlight-color:rgba(0,0,0,0)}.surface::before,.surface::after{content:"";opacity:0;position:absolute}.surface::before{background-color:var(--md-ripple-hover-color, var(--md-sys-color-on-surface, #1d1b20));inset:0;transition:opacity 15ms linear,background-color 15ms linear}.surface::after{background:radial-gradient(closest-side, var(--md-ripple-pressed-color, var(--md-sys-color-on-surface, #1d1b20)) max(100% - 70px, 65%), transparent 100%);transform-origin:center center;transition:opacity 375ms linear}.hovered::before{background-color:var(--md-ripple-hover-color, var(--md-sys-color-on-surface, #1d1b20));opacity:var(--md-ripple-hover-opacity, 0.08)}.pressed::after{opacity:var(--md-ripple-pressed-opacity, 0.12);transition-duration:105ms}
5
- `;wt.styleSheet;var Tt=class extends A{};Tt.styles=[wt],Tt=a([o(`md-ripple`)],Tt);var Et=Symbol.for(``),Dt=e=>{if(e?.r===Et)return e?._$litStatic$},Ot=(e,...t)=>({_$litStatic$:t.reduce((t,n,r)=>t+(e=>{if(e._$litStatic$!==void 0)return e._$litStatic$;throw Error(`Value passed to 'literal' function must be a 'literal' result: ${e}. Use 'unsafeStatic' to pass non-literal values, but\n take care to ensure page security.`)})(n)+e[r+1],e[0]),r:Et}),kt=new Map,At=(e=>(t,...n)=>{let r=n.length,i,a,o=[],s=[],c,l=0,u=!1;for(;l<r;){for(c=t[l];l<r&&(a=n[l],(i=Dt(a))!==void 0);)c+=i+t[++l],u=!0;l!==r&&s.push(a),o.push(c),l++}if(l===r&&o.push(t[r]),u){let e=o.join(`$$lit$$`);(t=kt.get(e))===void 0&&(o.raw=o,kt.set(e,t=o)),n=s}return e(t,...n)})(S),jt=`role.ariaAtomic.ariaAutoComplete.ariaBusy.ariaChecked.ariaColCount.ariaColIndex.ariaColSpan.ariaCurrent.ariaDisabled.ariaExpanded.ariaHasPopup.ariaHidden.ariaInvalid.ariaKeyShortcuts.ariaLabel.ariaLevel.ariaLive.ariaModal.ariaMultiLine.ariaMultiSelectable.ariaOrientation.ariaPlaceholder.ariaPosInSet.ariaPressed.ariaReadOnly.ariaRequired.ariaRoleDescription.ariaRowCount.ariaRowIndex.ariaRowSpan.ariaSelected.ariaSetSize.ariaSort.ariaValueMax.ariaValueMin.ariaValueNow.ariaValueText`.split(`.`),Mt=jt.map(Pt);function Nt(e){return Mt.includes(e)}function Pt(e){return e.replace(`aria`,`aria-`).replace(/Elements?/g,``).toLowerCase()}var Ft=Symbol(`privateIgnoreAttributeChangesFor`);function It(e){var t;class n extends e{constructor(){super(...arguments),this[t]=new Set}attributeChangedCallback(e,t,n){if(!Nt(e)){super.attributeChangedCallback(e,t,n);return}if(this[Ft].has(e))return;this[Ft].add(e),this.removeAttribute(e),this[Ft].delete(e);let r=zt(e);n===null?delete this.dataset[r]:this.dataset[r]=n,this.requestUpdate(zt(e),t)}getAttribute(e){return Nt(e)?super.getAttribute(Rt(e)):super.getAttribute(e)}removeAttribute(e){super.removeAttribute(e),Nt(e)&&(super.removeAttribute(Rt(e)),this.requestUpdate())}}return t=Ft,Lt(n),n}function Lt(e){for(let t of jt){let n=Pt(t),r=Rt(n),i=zt(n);e.createProperty(t,{attribute:n,noAccessor:!0}),e.createProperty(Symbol(r),{attribute:r,noAccessor:!0}),Object.defineProperty(e.prototype,t,{configurable:!0,enumerable:!0,get(){return this.dataset[i]??null},set(e){let n=this.dataset[i]??null;e!==n&&(e===null?delete this.dataset[i]:this.dataset[i]=e,this.requestUpdate(t,n))}})}}function Rt(e){return`data-${e}`}function zt(e){return e.replace(/-\w/,e=>e[1].toUpperCase())}function Bt(e,t=!0){return t&&getComputedStyle(e).getPropertyValue(`direction`).trim()===`rtl`}var Vt=Symbol(`dispatchHooks`);function Ht(e,t){let n=e[Vt];if(!n)throw Error(`'${e.type}' event needs setupDispatchHooks().`);n.addEventListener(`after`,t,{once:!0})}var Ut=new WeakMap;function Wt(e,...t){let n=Ut.get(e);n||(n=new Set,Ut.set(e,n));for(let r of t)n.has(r)||(e.addEventListener(r,e=>{let t=new EventTarget;e[Vt]=t;let n=new AbortController,i=()=>{n.abort(),t.dispatchEvent(new Event(`after`))},a=e=>function(){e.call(this),i()};e.stopPropagation=a(e.stopPropagation),e.stopImmediatePropagation=a(e.stopImmediatePropagation);let o=e.composedPath(),s;s=e.composed&&e.bubbles?o[o.length-1]:e.bubbles?o[0].getRootNode():o[0],s.addEventListener(r,()=>{i()},{once:!0,signal:n.signal})},{capture:!0}),n.add(r))}var j=Symbol(`internals`),Gt=Symbol(`privateInternals`);function Kt(e){class t extends e{get[j](){return this[Gt]||(this[Gt]=this.attachInternals()),this[Gt]}}return t}var M=Symbol(`getFormValue`),qt=Symbol(`getFormState`);function Jt(e){class t extends e{get form(){return this[j].form}get labels(){return this[j].labels}get name(){return this.getAttribute(`name`)??``}set name(e){this.setAttribute(`name`,e)}get disabled(){return this.hasAttribute(`disabled`)}set disabled(e){this.toggleAttribute(`disabled`,!!e)}attributeChangedCallback(e,t,n){if(e===`name`||e===`disabled`){let n=e===`disabled`?t!==null:t;this.requestUpdate(e,n)}else super.attributeChangedCallback(e,t,n)}requestUpdate(e,t,n){super.requestUpdate(e,t,n),this[j].setFormValue(this[M](),this[qt]())}[M](){return this.getAttribute(`value`)}[qt](){return this[M]()}formDisabledCallback(e){this.disabled=e}}return t.formAssociated=!0,a([h({noAccessor:!0})],t.prototype,`name`,null),a([h({type:Boolean,noAccessor:!0})],t.prototype,`disabled`,null),t}function Yt(e){class t extends e{get name(){return this.getAttribute(`name`)??``}set name(e){this.setAttribute(`name`,e)}constructor(...e){super(...e),this.type=`submit`,this.value=``,Wt(this,`click`),this.addEventListener(`click`,async e=>{let t=this.type===`reset`,n=this.type===`submit`,r=this[j],{form:i}=r;i&&(n||t)&&Ht(e,()=>{e.defaultPrevented||(t?i.reset():(i.addEventListener(`submit`,e=>{Object.defineProperty(e,"submitter",{configurable:!0,enumerable:!0,get:()=>this})},{capture:!0,once:!0}),r.setFormValue(this.value),i.requestSubmit()))})})}}return a([h()],t.prototype,`type`,void 0),a([h({reflect:!0})],t.prototype,`value`,void 0),t}var Xt=It(Yt(Jt(Kt(O)))),N=class extends Xt{constructor(){super(),this.softDisabled=!1,this.flipIconInRtl=!1,this.href=``,this.download=``,this.target=``,this.ariaLabelSelected=``,this.toggle=!1,this.selected=!1,this.flipIcon=Bt(this,this.flipIconInRtl),Wt(this,`click`),this.addEventListener(`click`,e=>{if(this.softDisabled||this.disabled&&this.href){e.stopImmediatePropagation(),e.preventDefault();return}let t=this.selected;Ht(e,()=>{!this.toggle||this.disabled||e.defaultPrevented||(this.selected=!t,this.dispatchEvent(new InputEvent(`input`,{bubbles:!0,composed:!0})),this.dispatchEvent(new Event(`change`,{bubbles:!0})))})})}willUpdate(){this.href&&(this.disabled=!1,this.softDisabled=!1)}render(){let e=this.href?Ot`div`:Ot`button`,{ariaLabel:t,ariaHasPopup:n,ariaExpanded:r}=this,i=t&&this.ariaLabelSelected,a=this.toggle?this.selected:w,o=w;return this.href||(o=i&&this.selected?this.ariaLabelSelected:t),At`<${e}
6
- class="icon-button ${dt(this.getRenderClasses())}"
7
- id="button"
8
- aria-label="${o||w}"
9
- aria-haspopup="${!this.href&&n||w}"
10
- aria-expanded="${!this.href&&r||w}"
11
- aria-pressed="${a}"
12
- aria-disabled=${!this.href&&this.softDisabled||w}
13
- ?disabled="${!this.href&&this.disabled}">
14
- ${this.renderFocusRing()}
15
- ${this.renderRipple()}
16
- ${this.selected?w:this.renderIcon()}
17
- ${this.selected?this.renderSelectedIcon():w}
18
- ${this.href?this.renderLink():this.renderTouchTarget()}
19
- </${e}>`}renderLink(){let{ariaLabel:e}=this;return S`
20
- <a
21
- class="link"
22
- id="link"
23
- href="${this.href}"
24
- download="${this.download||w}"
25
- target="${this.target||w}"
26
- aria-label="${e||w}">
27
- ${this.renderTouchTarget()}
28
- </a>
29
- `}getRenderClasses(){return{"flip-icon":this.flipIcon,selected:this.toggle&&this.selected}}renderIcon(){return S`<span class="icon"><slot></slot></span>`}renderSelectedIcon(){return S`<span class="icon icon--selected"
30
- ><slot name="selected"><slot></slot></slot
31
- ></span>`}renderTouchTarget(){return S`<span class="touch"></span>`}renderFocusRing(){return S`<md-focus-ring
32
- part="focus-ring"
33
- for=${this.href?`link`:`button`}></md-focus-ring>`}renderRipple(){let e=!this.href&&(this.disabled||this.softDisabled);return S`<md-ripple
34
- for=${this.href?`link`:w}
35
- ?disabled="${e}"></md-ripple>`}connectedCallback(){this.flipIcon=Bt(this,this.flipIconInRtl),super.connectedCallback()}};N.shadowRootOptions={mode:`open`,delegatesFocus:!0},a([h({type:Boolean,attribute:`soft-disabled`,reflect:!0})],N.prototype,`softDisabled`,void 0),a([h({type:Boolean,attribute:`flip-icon-in-rtl`})],N.prototype,`flipIconInRtl`,void 0),a([h()],N.prototype,`href`,void 0),a([h()],N.prototype,`download`,void 0),a([h()],N.prototype,`target`,void 0),a([h({attribute:`aria-label-selected`})],N.prototype,`ariaLabelSelected`,void 0),a([h({type:Boolean})],N.prototype,`toggle`,void 0),a([h({type:Boolean,reflect:!0})],N.prototype,`selected`,void 0),a([ve()],N.prototype,`flipIcon`,void 0);var Zt=f`: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}}
36
- `;Zt.styleSheet;var Qt=f`: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)}
37
- `;Qt.styleSheet;var $t=class extends N{getRenderClasses(){return{...super.getRenderClasses(),standard:!0}}};$t.styles=[Zt,Qt],$t=a([o(`md-icon-button`)],$t);var en=`light`;function tn(e){return e===`light`||e===`dark`?e:null}function nn(e){return e===`light`?`dark`:`light`}var rn=`sr-theme`,an=class{read(){try{return tn(localStorage.getItem(rn))}catch{return null}}write(e){document.documentElement.dataset.theme=e;try{localStorage.setItem(rn,e)}catch{}}},on=class{url;constructor(e){this.url=e}async addMarker(e){let t=await fetch(this.url,{method:`POST`,headers:{accept:`application/json`,"content-type":`application/json`},body:JSON.stringify({label:e})});if(!t.ok)throw Error(await sn(t))}};async function sn(e){let t=await e.json().catch(()=>void 0);if(typeof t==`object`&&t&&`message`in t){let{message:e}=t;if(typeof e==`string`)return e}return`The request answered ${e.status}`}var cn={lang:void 0,message:void 0,abortEarly:void 0,abortPipeEarly:void 0};function ln(e){return e?{lang:e?.lang??void 0,message:e?.message,abortEarly:e?.abortEarly??void 0,abortPipeEarly:e?.abortPipeEarly??void 0}:cn}function P(e){let t=typeof e;return t===`string`?`"${e}"`:t===`number`||t===`bigint`||t===`boolean`?`${e}`:t===`object`||t===`function`?(e&&Object.getPrototypeOf(e)?.constructor?.name)??`null`:t}function F(e,t,n,r,i){let a=i&&`input`in i?i.input:n.value,o=i?.expected??e.expects??null,s=i?.received??P(a),c={kind:e.kind,type:e.type,input:a,expected:o,received:s,message:`Invalid ${t}: ${o?`Expected ${o} but r`:`R`}eceived ${s}`,requirement:e.requirement,path:i?.path,issues:i?.issues,lang:r.lang,abortEarly:r.abortEarly,abortPipeEarly:r.abortPipeEarly},l=e.kind===`schema`,u=i?.message??e.message??(e.reference,c.lang,void 0)??(l?(c.lang,void 0):null)??r.message??(c.lang,void 0);u!==void 0&&(c.message=typeof u==`function`?u(c):u),l&&(n.typed=!1),n.issues?n.issues.push(c):n.issues=[c]}function un(e,t){let n=[...new Set(e)];return n.length>1?`(${n.join(` ${t} `)})`:n[0]??`never`}function I(e){return e[`~standard`]={version:1,vendor:`valibot`,validate:t=>e[`~run`]({value:t},ln())},e}function dn(e){if(e.path){let t=``;for(let n of e.path)if(typeof n.key==`string`||typeof n.key==`number`)t+=t?`.${n.key}`:n.key;else return null;return t}return null}var fn=/^\d{4}-(?:0[1-9]|1[0-2])-(?:[12]\d|0[1-9]|3[01])[T ](?:0\d|1\d|2[0-3])(?::[0-5]\d){2}(?:\.\d{1,9})?(?:Z| ?[+-](?:0\d|1\d|2[0-3])(?::?[0-5]\d)?)$/u;function pn(e,t){return{kind:`validation`,type:`check`,reference:pn,async:!1,expects:null,requirement:e,message:t,"~run"(e,t){return e.typed&&!this.requirement(e.value)&&F(this,`input`,e,t),e}}}function L(e){return{kind:`metadata`,type:`description`,reference:L,description:e}}function R(e){return{kind:`metadata`,type:`examples`,reference:R,examples:e}}function z(e){return{kind:`validation`,type:`integer`,reference:z,async:!1,expects:null,requirement:Number.isInteger,message:e,"~run"(e,t){return e.typed&&!this.requirement(e.value)&&F(this,`integer`,e,t),e}}}function mn(e){return{kind:`validation`,type:`iso_timestamp`,reference:mn,async:!1,expects:null,requirement:fn,message:e,"~run"(e,t){return e.typed&&!this.requirement.test(e.value)&&F(this,`timestamp`,e,t),e}}}function hn(e,t){return{kind:`validation`,type:`max_value`,reference:hn,async:!1,expects:`<=${e instanceof Date?e.toJSON():P(e)}`,requirement:e,message:t,"~run"(e,t){return e.typed&&!(e.value<=this.requirement)&&F(this,`value`,e,t,{received:e.value instanceof Date?e.value.toJSON():P(e.value)}),e}}}function B(e,t){return{kind:`validation`,type:`min_value`,reference:B,async:!1,expects:`>=${e instanceof Date?e.toJSON():P(e)}`,requirement:e,message:t,"~run"(e,t){return e.typed&&!(e.value>=this.requirement)&&F(this,`value`,e,t,{received:e.value instanceof Date?e.value.toJSON():P(e.value)}),e}}}function gn(e,t){return{kind:`validation`,type:`regex`,reference:gn,async:!1,expects:`${e}`,requirement:e,message:t,"~run"(e,t){return e.typed&&!this.requirement.test(e.value)&&F(this,`format`,e,t),e}}}function _n(e,t,n){return typeof e.fallback==`function`?e.fallback(t,n):e.fallback}function vn(e,t,n){return typeof e.default==`function`?e.default(t,n):e.default}function V(e,t){return I({kind:`schema`,type:`array`,reference:V,expects:`Array`,async:!1,item:e,message:t,"~run"(e,t){let n=e.value;if(Array.isArray(n)){e.typed=!0,e.value=[];for(let r=0;r<n.length;r++){let i=n[r],a=this.item[`~run`]({value:i},t);if(a.issues){let o={type:`array`,origin:`value`,input:n,key:r,value:i};for(let t of a.issues)t.path?t.path.unshift(o):t.path=[o],e.issues?.push(t);if(e.issues||=a.issues,t.abortEarly){e.typed=!1;break}}a.typed||(e.typed=!1),e.value.push(a.value)}}else F(this,`type`,e,t);return e}})}function H(e){return I({kind:`schema`,type:`boolean`,reference:H,expects:`boolean`,async:!1,message:e,"~run"(e,t){return typeof e.value==`boolean`?e.typed=!0:F(this,`type`,e,t),e}})}function U(e,t){return I({kind:`schema`,type:`nullable`,reference:U,expects:`(${e.expects} | null)`,async:!1,wrapped:e,default:t,"~run"(e,t){return e.value===null&&(this.default!==void 0&&(e.value=vn(this,e,t)),e.value===null)?(e.typed=!0,e):this.wrapped[`~run`](e,t)}})}function W(e){return I({kind:`schema`,type:`number`,reference:W,expects:`number`,async:!1,message:e,"~run"(e,t){return typeof e.value==`number`&&!isNaN(e.value)?e.typed=!0:F(this,`type`,e,t),e}})}function G(e,t){return I({kind:`schema`,type:`object`,reference:G,expects:`Object`,async:!1,entries:e,message:t,"~run"(e,t){let n=e.value;if(n&&typeof n==`object`){e.typed=!0,e.value={};for(let r in this.entries){let i=this.entries[r];if(r in n||(i.type===`exact_optional`||i.type===`optional`||i.type===`nullish`)&&i.default!==void 0){let a=r in n?n[r]:vn(i),o=i[`~run`]({value:a},t);if(o.issues){let i={type:`object`,origin:`value`,input:n,key:r,value:a};for(let t of o.issues)t.path?t.path.unshift(i):t.path=[i],e.issues?.push(t);if(e.issues||=o.issues,t.abortEarly){e.typed=!1;break}}o.typed||(e.typed=!1),e.value[r]=o.value}else if(i.fallback!==void 0)e.value[r]=_n(i);else if(i.type!==`exact_optional`&&i.type!==`optional`&&i.type!==`nullish`&&(F(this,`key`,e,t,{input:void 0,expected:`"${r}"`,path:[{type:`object`,origin:`key`,input:n,key:r,value:n[r]}]}),t.abortEarly))break}}else F(this,`type`,e,t);return e}})}function yn(e,t){return I({kind:`schema`,type:`optional`,reference:yn,expects:`(${e.expects} | undefined)`,async:!1,wrapped:e,default:t,"~run"(e,t){return e.value===void 0&&(this.default!==void 0&&(e.value=vn(this,e,t)),e.value===void 0)?(e.typed=!0,e):this.wrapped[`~run`](e,t)}})}function K(e,t){return I({kind:`schema`,type:`picklist`,reference:K,expects:un(e.map(P),`|`),async:!1,options:e,message:t,"~run"(e,t){return this.options.includes(e.value)?e.typed=!0:F(this,`type`,e,t),e}})}function bn(e,t){return I({kind:`schema`,type:`strict_object`,reference:bn,expects:`Object`,async:!1,entries:e,message:t,"~run"(e,t){let n=e.value;if(n&&typeof n==`object`){e.typed=!0,e.value={};for(let r in this.entries){let i=this.entries[r];if(r in n||(i.type===`exact_optional`||i.type===`optional`||i.type===`nullish`)&&i.default!==void 0){let a=r in n?n[r]:vn(i),o=i[`~run`]({value:a},t);if(o.issues){let i={type:`object`,origin:`value`,input:n,key:r,value:a};for(let t of o.issues)t.path?t.path.unshift(i):t.path=[i],e.issues?.push(t);if(e.issues||=o.issues,t.abortEarly){e.typed=!1;break}}o.typed||(e.typed=!1),e.value[r]=o.value}else if(i.fallback!==void 0)e.value[r]=_n(i);else if(i.type!==`exact_optional`&&i.type!==`optional`&&i.type!==`nullish`&&(F(this,`key`,e,t,{input:void 0,expected:`"${r}"`,path:[{type:`object`,origin:`key`,input:n,key:r,value:n[r]}]}),t.abortEarly))break}if(!e.issues||!t.abortEarly){for(let r in n)if(!Object.prototype.hasOwnProperty.call(this.entries,r)){F(this,`key`,e,t,{input:r,expected:`never`,path:[{type:`object`,origin:`key`,input:n,key:r,value:n[r]}]});break}}}else F(this,`type`,e,t);return e}})}function q(e){return I({kind:`schema`,type:`string`,reference:q,expects:`string`,async:!1,message:e,"~run"(e,t){return typeof e.value==`string`?e.typed=!0:F(this,`type`,e,t),e}})}function J(...e){return I({...e[0],pipe:e,"~run"(t,n){for(let r of e)if(r.kind!==`metadata`){if(t.issues&&(r.kind===`schema`||r.kind===`transformation`)){t.typed=!1;break}t.issues&&(n.abortEarly||n.abortPipeEarly)||(t=r[`~run`](t,n))}return t}})}function xn(e,t,n){let r=e[`~run`]({value:t},ln(n));return{typed:r.typed,success:!r.issues,output:r.value,issues:r.issues}}var Y={list:{default:1e3,max:1e4},wait:{timeoutMs:{default:5e3,max:3e5},seen:1e3,regexLength:500},markerLength:1e3,sessionLabelLength:1e3,input:{coordinate:1e5,delayMs:{default:50,max:1e4},maxKeys:100}},Sn={port:{min:0,max:65535},maxLineBytes:{min:1024,max:16777216},maxEntries:{min:1,max:1e6}},Cn=/^\d+\.\d+\.\d+(-[0-9A-Za-z.-]+)?$/,wn=/^(\*|[A-Za-z0-9]([A-Za-z0-9.-]*[A-Za-z0-9])?)$/,Tn=(e,t)=>{let n=e.trim();return n!==``&&n.length<=t};function En(e){try{return!new TextDecoder(e).encoding.startsWith(`utf-16`)}catch{return!1}}var Dn=[`error`,`warn`,`info`,`debug`],On=({min:e,max:t})=>J(W(),z(),B(e),hn(t)),kn=On(Sn.port),An=On({min:1,max:Sn.port.max}),jn=J(q(),gn(/\S/),L(`Not empty or blank.`)),Mn=J(V(J(q(),gn(wn))),L('Host names the API answers to besides IP addresses, `localhost` and the machine\'s name. Without port or scheme. `["*"]` accepts any name. Added in API 1.5.')),Nn=G({enabled:H(),port:An,version:J(U(J(q(),gn(Cn))),L("`null` = bundled version. Otherwise an exact version like `1.65.0`."))}),X={tcp:{host:jn,port:kn,encoding:J(q(),pn(En),L("TextDecoder label of the socket voice's code page. Not `utf-16*`: lines are split on bytes.")),maxLineBytes:On(Sn.maxLineBytes)},http:{host:jn,port:kn,allowedHosts:Mn},buffer:{maxEntries:On(Sn.maxEntries)},log:{level:K(Dn),file:J(U(jn),L("Bridge log file, `null` = default path.")),consoleSpeech:J(H(),L(`Also write the speech text to the console.`))}};X.tcp,X.http,X.buffer,X.log;var Z=e=>bn(Object.fromEntries(Object.entries(e).map(([e,t])=>[e,yn(t)])));Z(Nn.entries),Z({enabled:H(),port:An}),Z(X.tcp),Z(X.http),Z(X.buffer),Z(X.log);var{coordinate:Pn,delayMs:Fn,maxKeys:In}=Y.input;-Pn,-Pn,`${In}`,Fn.max,`${Fn.default}`;var Q=e=>J(W(),z(),B(e)),Ln=J(q(),mn()),Rn=e=>J(q(),pn(e=>Tn(e,Y.sessionLabelLength)),L(`${e} Trimmed, must not be empty, at most ${Y.sessionLabelLength} characters.`)),zn={id:J(Q(1),L(`Increasing, restarts at 1 with the bridge.`)),name:q(),run:J(U(q()),L(`Optional label that groups sessions.`)),client:J(U(q()),L("Who started it: the `X-SR-Speech-Client` header, `null` if it wasn't sent. Added in API 1.10.")),startedAt:Ln,endedAt:J(U(Ln),L("`null` while the session is current.")),startSeq:J(Q(0),L("The last `seq` given out before the session started: `since=startSeq` reads the session from its start. Added in API 1.9.")),firstSeq:J(U(Q(1)),L("First entry still in the buffer, `null` if none.")),lastSeq:J(U(Q(1)),L("Last entry still in the buffer, `null` if none.")),entries:J(Q(0),L(`Entries of this session still in the buffer.`))},Bn=J(G(zn),L(`A session (docs/usage/speech-capture.md#sessions). Added in API 1.3.`),R([{id:7,name:`form › submit button is announced`,run:`nightly-42`,client:`ci-runner pid 4242`,startedAt:`2026-11-12T09:31:04.120Z`,endedAt:null,startSeq:339,firstSeq:340,lastSeq:342,entries:3}]));Rn(`For example the test title.`),Rn(`Optional label that groups sessions, for example one per test run.`);var Vn=J(G({...zn,replaced:J(U(Bn),L("The session this start ended if another client had started it, `null` otherwise. Added in API 1.10."))}),L("`POST /sessions`: the new session, plus `replaced`.")),Hn=J(G({sessions:V(Bn),currentId:U(Q(1)),outsideEntries:J(Q(0),L("Entries in the buffer that were recorded outside any session (`session=none`). Added in API 1.15."))}),L("`GET /sessions`: the current session and the ended ones with entries in the buffer, newest first, and how many entries lie outside any session.")),Un=e=>J(W(),z(),B(e)),Wn=J(q(),mn()),Gn=J(G({seq:J(Un(1),L(`Increasing sequence number. Survives clear and keeps rising across restarts: the first entry of a bridge run gets the run's start time in milliseconds.`)),kind:K([`speech`,`marker`]),text:q(),receivedAt:J(Wn,L(`When the bridge received the line (UTC).`)),source:J(K([`tcp`,`api`]),L("`tcp` for speech, `api` for markers.")),voice:J(U(q()),L("Header (`voice=<id>`) of the sending voice, `null` if not set or for markers.")),connectionId:J(U(Un(1)),L("TCP connection that delivered it, `null` for markers.")),sessionId:J(yn(U(Un(1))),L("The session that was current, `null` outside any session. Added in API 1.3."))}),L(`One recorded speech line or a marker.`),R([{seq:42,kind:`speech`,text:`Submit, button`,receivedAt:`2026-11-07T14:03:12.345Z`,source:`tcp`,voice:`ssc5000`,connectionId:3,sessionId:7}])),Kn=J(G({entries:V(Gn),truncated:J(H(),L("`true` when entries after `since` were dropped because the buffer was full.")),hasMore:J(H(),L("`true` when more entries follow: ask again with the last entry's `seq` as `since`."))}),L("`GET /speech`: a page of entries after `since`, oldest first."));Y.wait.seen,`${Y.wait.seen}`,`${Y.markerLength}`;var $=e=>J(W(),z(),B(e)),qn=J(q(),mn()),Jn=[`starting`,`ready`,`stopping`],Yn=J(G({state:J(K([`stopped`,`starting`,`running`,`crashed`,`failed`]),L("`starting` includes the install. `crashed`: it exited and restarts after a delay. `failed`: 5 crashes in a row; restart the bridge (or change the service's settings).")),version:J(q(),L(`The version that runs (configured or bundled).`),R([`1.65.0`])),port:$(0),restarts:J($(0),L(`Restarts after crashes since the service was last started (bridge start or config change).`)),exitCode:J(U(J(W(),z())),L("Exit code of the last unexpected exit. `null` if none, or killed by a signal."))}),L(`A child service (docs/usage/operations.md#child-service-crashes).`)),Xn=G({id:$(1),voice:U(q()),connectedAt:qn}),Zn=J(G({bridge:G({version:J(q(),L(`Package version of the bridge.`),R([`0.3.0`])),apiVersion:J(q(),L("`<major>.<minor>` of this API."),R([`1.13`])),state:K(Jn),startedAt:J(qn,L(`When this bridge run started. Added in API 1.4.`))}),tcp:G({listening:H(),host:q(),port:$(0),encoding:J(q(),L(`Code page used to decode the socket voice.`)),connections:J(V(Xn),L(`Open connections, oldest first.`))}),buffer:G({size:$(0),maxEntries:$(1),firstSeq:U($(1)),lastSeq:U($(1))}),playwright:Yn,mcp:Yn,session:J(G({current:U(Bn),count:J($(0),L("Number of sessions `GET /sessions` lists."))}),L(`Added in API 1.3.`))}),L("`GET /status`. `playwright` since API 1.1, `mcp` since 1.2, `session` since 1.3."));function Qn(e,t){let n=xn(e,t);if(n.success)return{ok:!0,value:n.output};let[r]=n.issues;return{ok:!1,field:dn(r)??`(body)`,message:r.message}}var $n=class{url;constructor(e){this.url=e}list(){return this.send(`GET`,this.url,void 0,Hn)}start(e,t){return this.send(`POST`,this.url,{name:e,run:t},Vn)}async end(){await this.send(`POST`,`${this.url}/end`,void 0,void 0)}async delete(e){await this.send(`DELETE`,`${this.url}/${e}`,void 0,void 0)}async send(e,t,n,r){let i=await fetch(t,{method:e,headers:{accept:`application/json`,...n===void 0?{}:{"content-type":`application/json`}},body:n===void 0?void 0:JSON.stringify(n)});if(!i.ok)throw Error(await er(i));if(r===void 0)return;let a=Qn(r,await i.json());if(!a.ok)throw Error(`Unexpected answer at ${a.field}: ${a.message}`);return a.value}};async function er(e){let t=await e.json().catch(()=>void 0);if(typeof t==`object`&&t&&`message`in t){let{message:e}=t;if(typeof e==`string`)return e}return`The request answered ${e.status}`}var tr=1e3,nr=class{streamUrl;speechUrl;constructor(e,t){this.streamUrl=e,this.speechUrl=t}open(e,t,n){return n.onState(`connecting`),t?this.follow(e,n):this.read(e,n)}follow(e,t){let n=new EventSource(`${this.streamUrl}?session=${encodeURIComponent(String(e))}&since=0`);return n.onopen=()=>t.onState(`live`),n.onerror=()=>t.onState(`reconnecting`),n.addEventListener(`entry`,e=>{let n;try{n=JSON.parse(e.data)}catch{return}let r=Qn(Gn,n);r.ok&&t.onEntry(r.value)}),n.addEventListener(`clear`,()=>t.onClear()),()=>n.close()}read(e,t){let n=new AbortController;return(async()=>{let r=0;for(;;){let i=new URLSearchParams({session:String(e),since:String(r),limit:String(tr)}),a=await fetch(`${this.speechUrl}?${i}`,{headers:{accept:`application/json`},signal:n.signal});if(!a.ok)throw Error(`The request answered ${a.status}`);let o=Qn(Kn,await a.json());if(!o.ok)throw Error(`Unexpected answer at ${o.field}`);let{entries:s,hasMore:c}=o.value;t.onEntries(s);let l=s.at(-1);if(!c||l===void 0)return;r=l.seq}})().then(()=>t.onState(`ended`),()=>{n.signal.aborted||t.onState(`failed`)}),()=>n.abort()}},rr=class{url;constructor(e){this.url=e}async fetch(){let e=await fetch(this.url,{headers:{accept:`application/json`}});if(!e.ok)throw Error(`The status request answered ${e.status}`);let t=Qn(Zn,await e.json());if(!t.ok)throw Error(`Unexpected status at ${t.field}: ${t.message}`);return t.value}};function ir(e){return e===`1`||e!==`0`&&null}function ar(e){return e?`1`:`0`}var or=`sr-sessions-collapsed`,sr=class{read(){try{return ir(localStorage.getItem(or))}catch{return null}}write(e){try{localStorage.setItem(or,ar(e))}catch{}}};function cr(e){let i=n(!0);return{get collapsed(){return r(i)},init(){t(i,e.read()??!1,!0)},toggle(){t(i,!r(i)),e.write(r(i))}}}var lr=3e3;function ur(i){let a=n(e([])),o=n(null),s=n(0),c=n(!0),l=n(!1),u=n(e(Date.now())),d=null;function ee(e){t(a,e.sessions,!0),t(o,e.currentId,!0),t(s,e.outsideEntries,!0),t(u,Date.now(),!0),t(l,!0)}function f(){return d||(d=i.list().then(e=>{ee(e),t(c,!0)}).catch(()=>{t(c,!1)}).finally(()=>{d=null}),d)}async function te(){await d,await f()}return{get sessions(){return r(a)},get currentId(){return r(o)},get outsideEntries(){return r(s)},get loaded(){return r(l)},get reachable(){return r(c)},get now(){return r(u)},init(e){e&&r(a).length===0&&ee(e),f();let n=setInterval(()=>{r(o)!==null&&t(u,Date.now(),!0)},1e3),i=setInterval(()=>void f(),lr);return()=>{clearInterval(n),clearInterval(i)}},async start(e,t){let n=await i.start(e,t);return await te(),n},async end(){await i.end(),await te()},async delete(e){await i.delete(e),await te()}}}var dr=5e3;function fr(e,t){return t===null?e===`none`:e===t}function pr(e,t){return e!==`none`&&e!==t}function mr(e,t){return e===`none`||e===t}function hr(e){let t=new Date(e);if(Number.isNaN(t.getTime()))return e;let n=e=>String(e).padStart(2,`0`),r=String(t.getMilliseconds()).padStart(3,`0`);return`${n(t.getHours())}:${n(t.getMinutes())}:${n(t.getSeconds())}.${r}`}function gr(e,t){if(e===`none`)return`Outside sessions`;let n=t.find(t=>t.id===e);return n===void 0?`#${e}`:`#${n.id} ${n.name}`}function _r(e,i){let a=n([]),o=n(`connecting`),s=null;function c(){s?.(),s=null}function l(e){let n=r(a).at(-1)?.seq??0,i=[];for(let t of e)t.seq<=n||(i.push(t),n=t.seq);if(i.length===0)return;let o=[...r(a),...i];t(a,o.length>5e3?o.slice(o.length-dr):o)}return{get entries(){return r(a)},get connection(){return r(o)},open(n,r){return c(),t(a,[]),t(o,`connecting`),s=e.open(n,r,{onEntry:e=>l([e]),onEntries:l,onClear(){t(a,[])},onState(e){t(o,e,!0)}}),c},addMarker(e){return i.addMarker(e)}}}function vr(e){let i=n(null),a=n(!0),o=n(!1),s=null;function c(){return s||(t(o,!0),s=e.fetch().then(e=>{t(i,e,!0),t(a,!0)}).catch(()=>{t(a,!1)}).finally(()=>{t(o,!1),s=null}),s)}return{get status(){return r(i)},get reachable(){return r(a)},get loading(){return r(o)},init(e){e&&r(i)===null&&t(i,e,!0),c()},retry(){return c()}}}function yr(i){let a=n(e(en));return{get current(){return r(a)},init(){t(a,i.read()??`light`,!0)},toggle(){t(a,nn(r(a)),!0),i.write(r(a))}}}var br=yr(new an),xr=vr(new rr(i(`/api/status`))),Sr=ur(new $n(i(`/api/sessions`))),Cr=_r(new nr(i(`/api/speech/stream`),i(`/api/speech`)),new on(i(`/api/markers`))),wr=cr(new sr);export{Ke as A,ut as C,Je as D,w as E,f as F,o as I,a as L,ye as M,ve as N,C as O,h as P,lt as S,O as T,It as _,br as a,ft as b,hr as c,Y as d,Yt as f,Kt as g,j as h,xr as i,be as j,S as k,mr as l,Jt as m,Sr as n,fr as o,M as p,Cr as r,pr as s,wr as t,gr as u,Ot as v,ct as w,dt as x,At as y};
@@ -1,2 +0,0 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../nodes/0.BTOtEgN4.js","../chunks/CcBdu3S8.js","../chunks/Dg9MaatX.js","./payload.DSmR2FwN.js","../chunks/VoEQsW8I.js","../chunks/DbiAGPgw.js","../assets/0.B2ZWH0rX.css","../nodes/1.Bd-KoKuj.js","../nodes/2.COkKMNHv.js","../chunks/DvmLiMpQ.js","../assets/2.BbalQTLT.css","../nodes/3.CsdEJLWJ.js","../nodes/4.CXVi2Rvi.js"])))=>i.map(i=>d[i]);
2
- import{t as e}from"../chunks/DclECHGd.js";var t={},n=[()=>e(()=>import(`../nodes/0.BTOtEgN4.js`),__vite__mapDeps([0,1,2,3,4,5,6]),import.meta.url),()=>e(()=>import(`../nodes/1.Bd-KoKuj.js`),__vite__mapDeps([7,1,2,3,5]),import.meta.url),()=>e(()=>import(`../nodes/2.COkKMNHv.js`),__vite__mapDeps([8,1,2,3,9,4,5,10]),import.meta.url),()=>e(()=>import(`../nodes/3.CsdEJLWJ.js`),__vite__mapDeps([11,1]),import.meta.url),()=>e(()=>import(`../nodes/4.CXVi2Rvi.js`),__vite__mapDeps([12,1]),import.meta.url)],r=[0],i={"/":[-3],"/settings":[3],"/setup":[4]},a={handleError:(({kind:e,error:t})=>{e===`unknown`&&console.error(t)}),reroute:(()=>{}),transport:{}},o=Object.fromEntries(Object.entries(a.transport).map(([e,t])=>[e,t.decode])),s=Object.fromEntries(Object.entries(a.transport).map(([e,t])=>[e,t.encode])),c=!1,l=(e,t)=>o[e](t),u=()=>e(()=>import(`../chunks/Bjy-W4x2.js`).then(e=>e.default),[],import.meta.url);export{l as decode,o as decoders,i as dictionary,s as encoders,u as get_error_template,c as hash,a as hooks,t as matchers,n as nodes,r as server_loads};
@@ -1,2 +0,0 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../chunks/BaD2EyfF.js","../chunks/DvmLiMpQ.js","./payload.DSmR2FwN.js","../chunks/CcBdu3S8.js","../chunks/Dg9MaatX.js"])))=>i.map(i=>d[i]);
2
- import{set_payload as e}from"./payload.DSmR2FwN.js";import{t}from"../chunks/DclECHGd.js";var n;function r(r){e(r),n??=t(()=>import(`../chunks/BaD2EyfF.js`),__vite__mapDeps([0,1,2,3,4]),import.meta.url)}async function i(...e){return(await n).start(...e)}async function a(...e){return(await n).load_css(...e)}export{r as init,a as load_css,i as start};
@@ -1 +0,0 @@
1
- import{B as e,C as t,H as n,M as r,N as i,P as a,R as o,S as s,T as c,V as l,b as u,c as d,f,g as p,i as m,j as h,k as g,o as _,p as v,r as y,s as b,u as x,v as S,z as C}from"../chunks/CcBdu3S8.js";import{n as w,o as T}from"../chunks/Dg9MaatX.js";import{a as E,i as D}from"../chunks/VoEQsW8I.js";import"../chunks/DbiAGPgw.js";var O=`data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='44'%20height='44'%20viewBox='0%200%2044%2044'%3e%3ctitle%3eSpeech%20Capture%3c/title%3e%3crect%20width='44'%20height='44'%20rx='14'%20fill='%23415f91'/%3e%3cpath%20d='M4%2010v4M8%206v12M12%203v18M16%208v8M20%2011v2'%20transform='translate(10%2010)'%20fill='none'%20stroke='%23fff'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e`,k=new URL(`../assets/material-symbols-outlined-latin-400-normal.BhEvR8fk.woff2`,import.meta.url).href,A=u(`<li><span aria-hidden="true"></span> <span aria-hidden="true" class="chip-label svelte-19wvxlf"> </span></li>`),j=u(`<ul aria-label="Bridge status" class="svelte-19wvxlf"></ul> <span class="sr-only svelte-19wvxlf" role="status"> </span>`,1);function M(e,t){var o=j(),s=r(o);x(s,21,()=>t.chips,e=>e.id,(e,t)=>{var r=A();let o;var s=h(r),l=a(s,2),u=i(l,!0);n(r),g(()=>{o=_(r,1,b(c(t).tone),`svelte-19wvxlf`,o,{down:c(t).down}),y(r,`aria-label`,c(t).description),y(r,`title`,c(t).text),_(s,1,`dot ${c(t).dot??``}`,`svelte-19wvxlf`),p(u,c(t).text)}),S(e,r)}),n(s);var l=a(s,2),u=i(l,!0);g(()=>p(u,t.announcement)),S(e,o)}var N=u(`<md-icon-button><md-icon>refresh</md-icon></md-icon-button>`,2);function P(e,r){var i=N();m(i,`title`,`Refresh status`),_(i,1,`svelte-5q7qd7`);var a=h(i);let o;n(i),g(()=>o=_(a,1,`svelte-5q7qd7`,null,o,{spin:r.loading})),t(`click`,i,function(...e){r.onRetry?.apply(this,e)}),S(e,i)}s([`click`]);var F=`24px "Material Symbols Outlined"`;async function I(){try{await document.fonts.load(F)}catch{}document.documentElement.setAttribute(`data-icons-ready`,``)}function L(e,t){if(e===null)return[R(`playwright`,`Playwright`),R(`mcp`,`MCP`),R(`session`,`Session`)];let n=[z(`playwright`,`Playwright`,e.playwright),z(`mcp`,`MCP`,e.mcp),B(e)];return t?n:n.map(e=>({...e,tone:`neutral`,down:!0}))}function R(e,t){return{id:e,text:t,tone:`neutral`,dot:`hollow`,description:`${t}, state unknown`,down:!0}}function z(e,t,n){let r=`${t} ${n.version}`;switch(n.state){case`running`:return{id:e,text:r,tone:`ok`,dot:`filled`,description:`${r}, running`};case`crashed`:case`failed`:return{id:e,text:`${r} · ${n.state}`,tone:`warning`,dot:`filled`,description:`${r}, ${n.state}`};case`starting`:return{id:e,text:r,tone:`neutral`,dot:`hollow`,description:`${r}, starting`,down:!0};case`stopped`:return{id:e,text:r,tone:`neutral`,dot:`hollow`,description:`${r}, stopped`,down:!0}}}function B({session:e}){if(e.current===null)return{id:`session`,text:`No session`,tone:`neutral`,dot:`hollow`,description:`No session is running`};let t=`Session #${e.current.id}`;return{id:`session`,text:t,tone:`ok`,dot:`filled`,description:`${t}, live`}}function V(e,t){return t?e.filter(e=>e.tone===`error`||e.tone===`warning`).map(e=>`${e.description}.`).join(` `):`Bridge unreachable.`}var H=u(`<!> <!>`,1);function U(t,n){e(n,!0);let i=o(()=>w.data.status),s=o(()=>D.status??c(i)),l=o(()=>L(c(s),D.reachable));f(()=>D.init(c(i)));var u=H(),d=r(u);{let e=o(()=>V(c(l),D.reachable));M(d,{get chips(){return c(l)},get announcement(){return c(e)}})}P(a(d,2),{get loading(){return D.loading},onRetry:()=>void D.retry()}),S(t,u),C()}var W=u(`<header class="svelte-4j9s4f"><div class="logo-slot svelte-4j9s4f"><div class="logo svelte-4j9s4f"><svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M4 10v4M8 6v12M12 3v18M16 8v8M20 11v2"></path></svg></div></div> <div class="title svelte-4j9s4f"><span class="name svelte-4j9s4f">Speech Capture</span> <span class="meta svelte-4j9s4f"> </span></div> <!></header>`);function G(e,t){var r=W(),o=a(h(r),2),s=a(h(o),2),c=i(s,!0);n(o),U(a(o,2),{}),n(r),g(()=>p(c,t.host)),S(e,r)}var K=e=>e.length>1?e.replace(/\/+$/,``):e;function q(e,t){let n=K(e.href),r=K(t);return e.exact?r===n:r===n||r.startsWith(`${n}/`)}var J=u(`<li><a class="svelte-sxtjmn"><span><md-icon> </md-icon></span> <span class="label svelte-sxtjmn"> </span></a></li>`,2),Y=u(`<nav aria-label="Pages" class="svelte-sxtjmn"><ul class="svelte-sxtjmn"></ul></nav>`);function X(t,r){e(r,!0);var s=Y(),l=h(s);x(l,21,()=>r.items,e=>e.href,(e,t)=>{let s=o(()=>q(c(t),r.currentPath));var l=J(),u=h(l),d=h(u);let f;var m=h(d),v=i(m,!0);n(d);var b=a(d,2),x=i(b,!0);n(u),n(l),g(()=>{y(u,`href`,c(t).href),y(u,`aria-current`,c(s)?`page`:void 0),f=_(d,1,`indicator svelte-sxtjmn`,null,f,{current:c(s)}),p(v,c(t).icon),p(x,c(t).label)}),S(e,l)}),n(l),n(s),S(t,s),C()}var Z=u(`<link rel="icon"/> <link rel="preload" as="font" type="font/woff2" crossorigin="anonymous"/> <meta name="color-scheme" content="light dark"/>`,1),Q=u(`<div class="app svelte-12qhfyh"><!> <div class="body svelte-12qhfyh"><!> <main class="svelte-12qhfyh"><!></main></div></div>`);function $(t,i){e(i,!0);let o=[{href:T(`/`),label:`Monitor`,icon:`monitor`,exact:!0},{href:T(`/settings`),label:`Settings`,icon:`settings`},{href:T(`/setup`),label:`Setup`,icon:`build`}];f(()=>{E.init(),I()});var s=Q();d(`12qhfyh`,e=>{var t=Z(),n=r(t),i=a(n,2);l(2),g(()=>{y(n,`href`,O),y(i,`href`,k)}),S(e,t)});var c=h(s);G(c,{get host(){return w.url.host}});var u=a(c,2),p=h(u);X(p,{get items(){return o},get currentPath(){return w.url.pathname}});var m=a(p,2),_=h(m);v(_,()=>i.children),n(m),n(u),n(s),S(t,s),C()}export{$ as component};
@@ -1 +0,0 @@
1
- import{B as e,M as t,N as n,P as r,b as i,g as a,k as o,v as s,z as c}from"../chunks/CcBdu3S8.js";import{n as l}from"../chunks/Dg9MaatX.js";import"../chunks/DbiAGPgw.js";var u=i(`<h1> </h1> <p> </p>`,1);function d(i,d){e(d,!0);var f=u(),p=t(f),m=n(p,!0),h=r(p,2),g=n(h,!0);o(()=>{a(m,l.status),a(g,l.error?.message)}),s(i,f),c()}export{d as component};
@@ -1 +0,0 @@
1
- import{V as e,b as t,v as n}from"../chunks/CcBdu3S8.js";var r=t(`<h1>Settings</h1> <p>The bridge settings will be edited here.</p>`,1);function i(t){var i=r();e(2),n(t,i)}export{i as component};
@@ -1 +0,0 @@
1
- import{V as e,b as t,v as n}from"../chunks/CcBdu3S8.js";var r=t(`<h1>Setup</h1> <p>The steps to connect a screen reader will be listed here.</p>`,1);function i(t){var i=r();e(2),n(t,i)}export{i as component};
@@ -1 +0,0 @@
1
- ul.svelte-19wvxlf{flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none;display:flex}li.svelte-19wvxlf{border:1px solid var(--md-sys-color-outline-variant);background:var(--md-sys-color-surface-container-lowest,transparent);height:32px;color:var(--md-sys-color-on-surface);font-family:var(--app-font-mono);font-size:var(--app-mono-size);white-space:nowrap;border-radius:8px;align-items:center;gap:8px;padding:0 12px;display:inline-flex}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)}.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}}.sr-only.svelte-19wvxlf{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}md-icon-button.svelte-5q7qd7{--md-icon-button-icon-color:var(--md-sys-color-on-surface-variant);--md-icon-button-hover-icon-color:var(--md-sys-color-on-surface);--md-icon-button-focus-icon-color:var(--md-sys-color-on-surface)}.spin.svelte-5q7qd7{animation:.8s linear infinite svelte-5q7qd7-spin}@keyframes svelte-5q7qd7-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.spin.svelte-5q7qd7{animation:none}}header.svelte-4j9s4f{background:var(--md-sys-color-surface-container);min-height:68px;color:var(--md-sys-color-on-surface);align-items:center;gap:12px 16px;padding:10px 16px 10px 0;display:flex}.logo-slot.svelte-4j9s4f{width:var(--app-rail-width);flex:none;justify-content:center;align-items:center;display:flex}.logo.svelte-4j9s4f{background:var(--md-sys-color-primary);width:44px;height:44px;color:var(--md-sys-color-on-primary);border-radius:14px;justify-content:center;align-items:center;display:flex}.title.svelte-4j9s4f{flex-direction:column;min-width:0;margin-right:auto;display:flex}header.svelte-4j9s4f{flex-wrap:wrap}.name.svelte-4j9s4f{font-family:var(--md-sys-typescale-title-large-font);font-size:var(--md-sys-typescale-title-large-size);line-height:var(--md-sys-typescale-title-large-line-height);font-weight:var(--md-ref-typeface-weight-medium)}.meta.svelte-4j9s4f{font-family:var(--app-font-mono);font-size:var(--app-mono-size);line-height:var(--app-mono-line-height);color:var(--md-sys-color-on-surface-variant)}nav.svelte-sxtjmn{width:var(--app-rail-width);padding:var(--app-gutter) 0;background:var(--md-sys-color-surface);flex:none}ul.svelte-sxtjmn{flex-direction:column;gap:12px;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;text-decoration:none;display:flex}.indicator.svelte-sxtjmn{border-radius:16px;justify-content:center;align-items:center;width:56px;height:32px;display:flex}.indicator.current.svelte-sxtjmn{background:var(--md-sys-color-secondary-container);color:var(--md-sys-color-on-secondary-container)}a.svelte-sxtjmn:hover .indicator:where(.svelte-sxtjmn):not(.current){background:color-mix(in srgb, var(--md-sys-color-on-surface) 8%, transparent)}a[aria-current=page].svelte-sxtjmn{color:var(--md-sys-color-on-surface)}.label.svelte-sxtjmn{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{--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}@media (prefers-color-scheme:dark){:root:not([data-theme=light]){--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=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{--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:12px;--md-sys-typescale-label-medium-line-height:16px;--md-sys-typescale-label-medium-weight:500;--md-sys-typescale-label-medium-tracking:.5px;--md-sys-typescale-label-small-font:var(--md-ref-typeface-plain);--md-sys-typescale-label-small-size:11px;--md-sys-typescale-label-small-line-height:16px;--md-sys-typescale-label-small-weight:500;--md-sys-typescale-label-small-tracking:.5px;--app-font-mono:"Roboto Mono", ui-monospace, Consolas, monospace;--app-log-text-size:15px;--app-log-text-line-height:22px;--app-mono-size:12px;--app-mono-line-height:16px;--md-sys-shape-corner-none:0;--md-sys-shape-corner-extra-small:4px;--md-sys-shape-corner-small:8px;--md-sys-shape-corner-medium:12px;--md-sys-shape-corner-large:16px;--md-sys-shape-corner-extra-large:28px;--md-sys-shape-corner-full:9999px;--md-sys-state-hover-state-layer-opacity:.08;--md-sys-state-focus-state-layer-opacity:.12;--md-sys-state-pressed-state-layer-opacity:.12;--md-sys-state-dragged-state-layer-opacity:.16;--md-sys-state-focus-indicator-thickness:3px;--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)}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;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-radius:50%;block-size:24px;inline-size:24px;animation:1.2s ease-in-out infinite icon-shimmer;display:inline-flex;overflow:hidden}md-icon:not(:defined){color:#0000;-webkit-user-select:none;user-select:none;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-radius:50%;block-size:24px;inline-size:24px;animation:1.2s ease-in-out infinite icon-shimmer;display:inline-flex;overflow:hidden}@keyframes icon-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}}.app.svelte-12qhfyh{flex-direction:column;height:100dvh;display:flex}.body.svelte-12qhfyh{flex:1;align-items:stretch;min-height:0;display:flex}main.svelte-12qhfyh{flex:1;min-width:0;min-height:0;padding:0 16px;overflow:auto}
@@ -1 +0,0 @@
1
- md-dialog.svelte-1sof82u{--md-dialog-container-color:var(--md-sys-color-surface-container-high);--md-dialog-headline-color:var(--md-sys-color-on-surface);--md-dialog-supporting-text-color:var(--md-sys-color-on-surface-variant);max-width:min(400px,100% - 48px)}p.svelte-1sof82u{margin:0}.failure.svelte-1sof82u{color:var(--md-sys-color-error);margin-top:12px}md-dialog.svelte-ttl1x5{--md-dialog-container-color:var(--md-sys-color-surface-container-high);--md-dialog-headline-color:var(--md-sys-color-on-surface);--md-dialog-supporting-text-color:var(--md-sys-color-on-surface-variant)}form.svelte-ttl1x5{flex-direction:column;gap:16px;min-width:min(360px,70vw);display:flex}.failure.svelte-ttl1x5{color:var(--md-sys-color-error);margin:0}table.svelte-5c13xh{border-collapse:separate;border-spacing:0;width:100%}thead.svelte-5c13xh th:where(.svelte-5c13xh){z-index:1;border-top:1px solid var(--md-sys-color-outline-variant);border-bottom:1px solid var(--md-sys-color-outline-variant);background:var(--md-sys-color-surface-container-low);color:var(--md-sys-color-on-surface-variant);letter-spacing:.5px;text-align:left;text-transform:uppercase;padding:6px 12px;font-size:11px;font-weight:500;position:sticky;top:0}thead.svelte-5c13xh th:where(.svelte-5c13xh):first-child{padding-left:24px}th.seq.svelte-5c13xh,td.seq.svelte-5c13xh{text-align:left;padding-right:24px}tbody.svelte-5c13xh tr:where(.svelte-5c13xh):hover{background:var(--md-sys-color-surface-container)}td.svelte-5c13xh{vertical-align:baseline;padding:7px 12px}td.time.svelte-5c13xh,td.seq.svelte-5c13xh{white-space:nowrap;width:1%}td.time.svelte-5c13xh{color:var(--md-sys-color-on-surface-variant);font-size:var(--app-mono-size);line-height:var(--app-mono-line-height);padding-left:24px}td.text.svelte-5c13xh{color:var(--md-sys-color-on-surface);font-size:var(--app-log-text-size);line-height:var(--app-log-text-line-height);overflow-wrap:anywhere}td.seq.svelte-5c13xh{color:var(--md-sys-color-outline);font-size:11px}tr.fresh.svelte-5c13xh{animation:svelte-5c13xh-fade-new calc(var(--app-new-row-ms) * 1ms) ease-out}@keyframes svelte-5c13xh-fade-new{0%{background:var(--app-new-row)}}@container (width<=520px){th.seq.svelte-5c13xh,td.seq.svelte-5c13xh{display:none}}@media (prefers-reduced-motion:reduce){tr.fresh.svelte-5c13xh{animation:none}}.pill.svelte-5c13xh{background:var(--md-sys-color-tertiary-container);max-width:70%;height:24px;color:var(--md-sys-color-on-tertiary-container);vertical-align:middle;border-radius:6px;align-items:center;gap:4px;padding:0 8px 0 4px;font-size:12px;font-weight:500;line-height:16px;display:inline-flex}.pill.svelte-5c13xh md-icon:where(.svelte-5c13xh){--md-icon-size:16px;font-size:16px}.label.svelte-5c13xh{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.visually-hidden.svelte-5c13xh{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.log.svelte-1jnrixz{box-sizing:border-box;border:1px solid var(--md-sys-color-outline-variant);background:var(--md-sys-color-surface-container-lowest);border-radius:16px;flex-direction:column;height:100%;min-height:0;display:flex;overflow:hidden}header.svelte-1jnrixz{box-sizing:border-box;flex:none;align-items:center;gap:8px;min-height:64px;padding:16px 12px 8px 24px;display:flex}h1.svelte-1jnrixz{min-width:0;color:var(--md-sys-color-on-surface);flex:1;margin:0;font-size:22px;font-weight:500;line-height:28px}.trunc.svelte-1jnrixz{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.scroll.svelte-1jnrixz{flex:1;min-height:0;overflow-y:auto;container-type:inline-size}.empty.svelte-1jnrixz{color:var(--md-sys-color-on-surface-variant);text-align:center;flex-direction:column;align-items:center;padding:96px 24px;animation:0s .25s backwards svelte-1jnrixz-reveal;display:flex}@keyframes svelte-1jnrixz-reveal{0%{visibility:hidden}}.empty.svelte-1jnrixz md-icon:where(.svelte-1jnrixz){--md-icon-size:40px;font-size:40px}.empty.svelte-1jnrixz p:where(.svelte-1jnrixz){margin:4px 0 0;font-size:14px}.empty.svelte-1jnrixz .title:where(.svelte-1jnrixz){color:var(--md-sys-color-on-surface);font-size:16px;font-weight:500}footer.svelte-1jnrixz{border-top:1px solid var(--md-sys-color-outline-variant);background:var(--md-sys-color-surface-container-low);flex:none;justify-content:space-between;align-items:center;gap:12px;padding:8px 12px 8px 24px;display:flex}footer.svelte-1jnrixz p.failed:where(.svelte-1jnrixz){color:var(--md-sys-color-error)}footer.svelte-1jnrixz p:where(.svelte-1jnrixz){color:var(--md-sys-color-on-surface-variant);font-size:var(--app-mono-size);margin:0}li.svelte-3qlloz{border-radius:var(--list-item-shape,var(--md-sys-shape-corner-small,8px));min-height:60px;color:var(--md-sys-color-on-surface);--md-ripple-hover-color:currentColor;--md-ripple-pressed-color:currentColor;align-items:center;display:flex;position:relative}li.selected.svelte-3qlloz{background:var(--md-sys-color-secondary-container);color:var(--md-sys-color-on-secondary-container)}.select.svelte-3qlloz{border-radius:inherit;min-width:0;min-height:60px;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;flex-direction:column;flex:1;justify-content:center;align-items:flex-start;gap:4px;padding:8px 16px;display:flex}.title.svelte-3qlloz{max-width:100%;font-size:var(--md-sys-typescale-label-large-size,14px);text-overflow:ellipsis;white-space:nowrap;font-weight:500;overflow:hidden}.subtitle.svelte-3qlloz{max-width:100%;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}li.selected.svelte-3qlloz .subtitle:where(.svelte-3qlloz){color:inherit}.trailing.svelte-3qlloz{flex:none;margin-right:8px;display:flex}.sr-only.svelte-3qlloz{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}md-dialog.svelte-17z3k9b{--md-dialog-container-color:var(--md-sys-color-surface-container-high);--md-dialog-headline-color:var(--md-sys-color-on-surface);--md-dialog-supporting-text-color:var(--md-sys-color-on-surface-variant);max-width:min(400px,100% - 48px)}p.svelte-17z3k9b{margin:0}.failure.svelte-17z3k9b{color:var(--md-sys-color-error);margin-top:12px}.meta.svelte-wvg2ho{align-items:center;min-width:0;display:flex}.meta.svelte-wvg2ho>span:where(.svelte-wvg2ho){white-space:nowrap;flex:none}.meta.svelte-wvg2ho>:where(.svelte-wvg2ho):not(:last-child):after{content:" · "}.meta.svelte-wvg2ho>.dot:where(.svelte-wvg2ho):after{content:none}.meta.svelte-wvg2ho>.run:where(.svelte-wvg2ho),.meta.svelte-wvg2ho>span:where(.svelte-wvg2ho):last-child{text-overflow:ellipsis;flex:0 auto;min-width:0;overflow:hidden}.dot.svelte-wvg2ho{background:var(--app-success);border-radius:50%;flex:none;width:8px;height:8px;margin-right:6px;animation:1.6s ease-in-out infinite svelte-wvg2ho-pulse}@keyframes svelte-wvg2ho-pulse{50%{opacity:.35}}@media (prefers-reduced-motion:reduce){.dot.svelte-wvg2ho{animation:none}}md-dialog.svelte-2k1elc{--md-dialog-container-color:var(--md-sys-color-surface-container-high);--md-dialog-headline-color:var(--md-sys-color-on-surface);--md-dialog-supporting-text-color:var(--md-sys-color-on-surface-variant)}form.svelte-2k1elc{flex-direction:column;gap:16px;min-width:min(360px,70vw);display:flex}.failure.svelte-2k1elc{color:var(--md-sys-color-error);margin:0}section.svelte-1fz71rn{box-sizing:border-box;background:var(--md-sys-color-surface-container-low);border-radius:28px;flex-direction:column;height:100%;min-height:0;padding:16px 12px;display:flex}header.svelte-1fz71rn{flex:none;align-items:center;padding:0 4px 8px 0;display:flex}section.collapsed.svelte-1fz71rn{align-items:flex-start}.collapsed.svelte-1fz71rn header:where(.svelte-1fz71rn){flex-direction:column;padding:0}.visually-hidden.svelte-1fz71rn{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}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)}ul.svelte-1fz71rn{flex-direction:column;flex:1;gap:4px;min-height:0;margin:0;padding:0;list-style:none;display:flex;overflow-y:auto}ul.outside.svelte-1fz71rn{border-top:1px solid var(--md-sys-color-outline-variant);flex:none;margin-top:auto;padding-top:8px;overflow:visible}.empty.svelte-1fz71rn{color:var(--md-sys-color-on-surface-variant);margin:0;padding:8px 16px}.monitor.svelte-1uha8ag{height:100%;padding:var(--app-gutter) 0;align-items:stretch;gap:16px;display:flex}aside.svelte-1uha8ag{width:var(--app-sessions-width);flex:none;min-height:0;transition:width .2s}aside.collapsed.svelte-1uha8ag{width:var(--app-sessions-collapsed-width)}@media (prefers-reduced-motion:reduce){aside.svelte-1uha8ag{transition:none}}.log.svelte-1uha8ag{flex:1;min-width:0;min-height:0}