@screenreader-speech-capture/bridge 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (221) hide show
  1. package/dist/cli.mjs +1056 -783
  2. package/dist/ui/adapter-node.js +1 -1
  3. package/dist/ui/client/ui/_app/immutable/chunks/BEImj5AP.js +1 -0
  4. package/dist/ui/client/ui/_app/immutable/chunks/BEImj5AP.js.br +0 -0
  5. package/dist/ui/client/ui/_app/immutable/chunks/BEImj5AP.js.gz +0 -0
  6. package/dist/ui/client/ui/_app/immutable/chunks/BLbj0ykL.js +1 -0
  7. package/dist/ui/client/ui/_app/immutable/chunks/BLbj0ykL.js.br +0 -0
  8. package/dist/ui/client/ui/_app/immutable/chunks/BLbj0ykL.js.gz +0 -0
  9. package/dist/ui/client/ui/_app/immutable/chunks/B__KpOuX.js +3 -0
  10. package/dist/ui/client/ui/_app/immutable/chunks/B__KpOuX.js.br +0 -0
  11. package/dist/ui/client/ui/_app/immutable/chunks/B__KpOuX.js.gz +0 -0
  12. package/dist/ui/client/ui/_app/immutable/chunks/BkoDSEOx.js +1 -0
  13. package/dist/ui/client/ui/_app/immutable/chunks/BkoDSEOx.js.br +0 -0
  14. package/dist/ui/client/ui/_app/immutable/chunks/BkoDSEOx.js.gz +0 -0
  15. package/dist/ui/client/ui/_app/immutable/chunks/BlC5mir6.js +1 -0
  16. package/dist/ui/client/ui/_app/immutable/chunks/BlC5mir6.js.br +2 -0
  17. package/dist/ui/client/ui/_app/immutable/chunks/BlC5mir6.js.gz +0 -0
  18. package/dist/ui/client/ui/_app/immutable/chunks/BquQTeuV.js +1 -0
  19. package/dist/ui/client/ui/_app/immutable/chunks/BquQTeuV.js.br +0 -0
  20. package/dist/ui/client/ui/_app/immutable/chunks/BquQTeuV.js.gz +0 -0
  21. package/dist/ui/client/ui/_app/immutable/chunks/BtnuBvK5.js +1 -0
  22. package/dist/ui/client/ui/_app/immutable/chunks/BtnuBvK5.js.br +1 -0
  23. package/dist/ui/client/ui/_app/immutable/chunks/BtnuBvK5.js.gz +0 -0
  24. package/dist/ui/client/ui/_app/immutable/chunks/{Dk73DTz3.js → BuwZGWCm.js} +21 -21
  25. package/dist/ui/client/ui/_app/immutable/chunks/BuwZGWCm.js.br +0 -0
  26. package/dist/ui/client/ui/_app/immutable/chunks/BuwZGWCm.js.gz +0 -0
  27. package/dist/ui/client/ui/_app/immutable/chunks/Bxh3K0TK.js +1 -0
  28. package/dist/ui/client/ui/_app/immutable/chunks/Bxh3K0TK.js.br +0 -0
  29. package/dist/ui/client/ui/_app/immutable/chunks/Bxh3K0TK.js.gz +0 -0
  30. package/dist/ui/client/ui/_app/immutable/chunks/C06IiL6m.js +1 -0
  31. package/dist/ui/client/ui/_app/immutable/chunks/C06IiL6m.js.br +2 -0
  32. package/dist/ui/client/ui/_app/immutable/chunks/C06IiL6m.js.gz +0 -0
  33. package/dist/ui/client/ui/_app/immutable/chunks/{hhZsYtkz.js → CAZ56n62.js} +3 -3
  34. package/dist/ui/client/ui/_app/immutable/chunks/CAZ56n62.js.br +0 -0
  35. package/dist/ui/client/ui/_app/immutable/chunks/CAZ56n62.js.gz +0 -0
  36. package/dist/ui/client/ui/_app/immutable/chunks/CTnnxqUD.js +1 -0
  37. package/dist/ui/client/ui/_app/immutable/chunks/CTnnxqUD.js.br +0 -0
  38. package/dist/ui/client/ui/_app/immutable/chunks/CTnnxqUD.js.gz +0 -0
  39. package/dist/ui/client/ui/_app/immutable/chunks/DRNNJMYk.js +5 -0
  40. package/dist/ui/client/ui/_app/immutable/chunks/DRNNJMYk.js.br +0 -0
  41. package/dist/ui/client/ui/_app/immutable/chunks/DRNNJMYk.js.gz +0 -0
  42. package/dist/ui/client/ui/_app/immutable/chunks/JsC3ASJq.js +3 -0
  43. package/dist/ui/client/ui/_app/immutable/chunks/JsC3ASJq.js.br +0 -0
  44. package/dist/ui/client/ui/_app/immutable/chunks/JsC3ASJq.js.gz +0 -0
  45. package/dist/ui/client/ui/_app/immutable/chunks/{DU8ibkb0.js → OAsMjdHF.js} +13 -13
  46. package/dist/ui/client/ui/_app/immutable/chunks/OAsMjdHF.js.br +0 -0
  47. package/dist/ui/client/ui/_app/immutable/chunks/OAsMjdHF.js.gz +0 -0
  48. package/dist/ui/client/ui/_app/immutable/chunks/R_4U_-zb.js +33 -0
  49. package/dist/ui/client/ui/_app/immutable/chunks/R_4U_-zb.js.br +0 -0
  50. package/dist/ui/client/ui/_app/immutable/chunks/R_4U_-zb.js.gz +0 -0
  51. package/dist/ui/client/ui/_app/immutable/chunks/UKukklIc.js +1 -0
  52. package/dist/ui/client/ui/_app/immutable/chunks/UKukklIc.js.br +2 -0
  53. package/dist/ui/client/ui/_app/immutable/chunks/UKukklIc.js.gz +0 -0
  54. package/dist/ui/client/ui/_app/immutable/chunks/{DoG5cwE3.js → VxDST09k.js} +1 -1
  55. package/dist/ui/client/ui/_app/immutable/chunks/VxDST09k.js.br +0 -0
  56. package/dist/ui/client/ui/_app/immutable/chunks/VxDST09k.js.gz +0 -0
  57. package/dist/ui/client/ui/_app/immutable/chunks/{CEGGem4o.js → vPs9G1oN.js} +36 -36
  58. package/dist/ui/client/ui/_app/immutable/chunks/vPs9G1oN.js.br +0 -0
  59. package/dist/ui/client/ui/_app/immutable/chunks/vPs9G1oN.js.gz +0 -0
  60. package/dist/ui/client/ui/_app/immutable/chunks/{Bq3k_s8n.js → w5i9ZoX_.js} +2 -2
  61. package/dist/ui/client/ui/_app/immutable/chunks/w5i9ZoX_.js.br +0 -0
  62. package/dist/ui/client/ui/_app/immutable/chunks/w5i9ZoX_.js.gz +0 -0
  63. package/dist/ui/client/ui/_app/immutable/entry/app.CHExvln1.js +2 -0
  64. package/dist/ui/client/ui/_app/immutable/entry/app.CHExvln1.js.br +0 -0
  65. package/dist/ui/client/ui/_app/immutable/entry/app.CHExvln1.js.gz +0 -0
  66. package/dist/ui/client/ui/_app/immutable/entry/start.4hiWLKwq.js +2 -0
  67. package/dist/ui/client/ui/_app/immutable/entry/start.4hiWLKwq.js.br +0 -0
  68. package/dist/ui/client/ui/_app/immutable/entry/start.4hiWLKwq.js.gz +0 -0
  69. package/dist/ui/client/ui/_app/immutable/nodes/0.DENUQERM.js +1 -0
  70. package/dist/ui/client/ui/_app/immutable/nodes/0.DENUQERM.js.br +0 -0
  71. package/dist/ui/client/ui/_app/immutable/nodes/0.DENUQERM.js.gz +0 -0
  72. package/dist/ui/client/ui/_app/immutable/nodes/1.BBl7b45u.js +1 -0
  73. package/dist/ui/client/ui/_app/immutable/nodes/1.BBl7b45u.js.br +0 -0
  74. package/dist/ui/client/ui/_app/immutable/nodes/1.BBl7b45u.js.gz +0 -0
  75. package/dist/ui/client/ui/_app/immutable/nodes/2.4VpydhMh.js +1 -0
  76. package/dist/ui/client/ui/_app/immutable/nodes/2.4VpydhMh.js.br +0 -0
  77. package/dist/ui/client/ui/_app/immutable/nodes/2.4VpydhMh.js.gz +0 -0
  78. package/dist/ui/client/ui/_app/immutable/nodes/3.D9AmPYb5.js +5 -0
  79. package/dist/ui/client/ui/_app/immutable/nodes/3.D9AmPYb5.js.br +0 -0
  80. package/dist/ui/client/ui/_app/immutable/nodes/3.D9AmPYb5.js.gz +0 -0
  81. package/dist/ui/client/ui/_app/immutable/nodes/4.DxNIrNp_.js +180 -0
  82. package/dist/ui/client/ui/_app/immutable/nodes/4.DxNIrNp_.js.br +0 -0
  83. package/dist/ui/client/ui/_app/immutable/nodes/4.DxNIrNp_.js.gz +0 -0
  84. package/dist/ui/client/ui/_app/immutable/nodes/5.Cm6I95kb.js +6 -0
  85. package/dist/ui/client/ui/_app/immutable/nodes/5.Cm6I95kb.js.br +0 -0
  86. package/dist/ui/client/ui/_app/immutable/nodes/5.Cm6I95kb.js.gz +0 -0
  87. package/dist/ui/client/ui/_app/immutable/nodes/6.D9jpgBJB.js +6 -0
  88. package/dist/ui/client/ui/_app/immutable/nodes/6.D9jpgBJB.js.br +0 -0
  89. package/dist/ui/client/ui/_app/immutable/nodes/6.D9jpgBJB.js.gz +0 -0
  90. package/dist/ui/client/ui/_app/version.json +1 -1
  91. package/dist/ui/client/ui/_app/version.json.br +0 -0
  92. package/dist/ui/client/ui/_app/version.json.gz +0 -0
  93. package/dist/ui/server/.vite/manifest.json +68 -36
  94. package/dist/ui/server/chunks/{composition.js → app-context.js} +5 -965
  95. package/dist/ui/server/chunks/app-context.js.map +1 -0
  96. package/dist/ui/server/chunks/config2.js +106 -0
  97. package/dist/ui/server/chunks/config2.js.map +1 -0
  98. package/dist/ui/server/chunks/dialog.js +1 -1
  99. package/dist/ui/server/chunks/instance.js +3 -3
  100. package/dist/ui/server/chunks/internal.js +1 -1
  101. package/dist/ui/server/chunks/outlined-button.js +1 -1
  102. package/dist/ui/server/chunks/outlined-text-field.js +1 -1
  103. package/dist/ui/server/chunks/redispatch-event.js +1 -1
  104. package/dist/ui/server/chunks/rolldown-runtime.js +12 -0
  105. package/dist/ui/server/chunks/rules.js +178 -0
  106. package/dist/ui/server/chunks/rules.js.map +1 -0
  107. package/dist/ui/server/chunks/sessions.remote.js +1 -11
  108. package/dist/ui/server/chunks/sessions.remote.js.map +1 -1
  109. package/dist/ui/server/chunks/setup.js +86 -0
  110. package/dist/ui/server/chunks/setup.js.map +1 -0
  111. package/dist/ui/server/chunks/{icon-button.js → speech.js} +42 -3
  112. package/dist/ui/server/chunks/speech.js.map +1 -0
  113. package/dist/ui/server/chunks/src.js +20 -155
  114. package/dist/ui/server/chunks/src.js.map +1 -1
  115. package/dist/ui/server/chunks/static-html.js +1 -1
  116. package/dist/ui/server/chunks/text-button.js +1 -1
  117. package/dist/ui/server/chunks/vocabulary.js +19 -0
  118. package/dist/ui/server/chunks/vocabulary.js.map +1 -0
  119. package/dist/ui/server/entries/endpoints/api/config/_server.ts.js +3 -2
  120. package/dist/ui/server/entries/endpoints/api/config/_server.ts.js.map +1 -1
  121. package/dist/ui/server/entries/endpoints/api/input/keys/_server.ts.js +14 -5
  122. package/dist/ui/server/entries/endpoints/api/input/keys/_server.ts.js.map +1 -1
  123. package/dist/ui/server/entries/endpoints/api/markers/_server.ts.js +3 -2
  124. package/dist/ui/server/entries/endpoints/api/markers/_server.ts.js.map +1 -1
  125. package/dist/ui/server/entries/endpoints/api/sessions/_server.ts.js +2 -1
  126. package/dist/ui/server/entries/endpoints/api/sessions/_server.ts.js.map +1 -1
  127. package/dist/ui/server/entries/endpoints/api/speech/_server.ts.js +10 -13
  128. package/dist/ui/server/entries/endpoints/api/speech/_server.ts.js.map +1 -1
  129. package/dist/ui/server/entries/endpoints/api/status/_server.ts.js +2 -1
  130. package/dist/ui/server/entries/endpoints/api/status/_server.ts.js.map +1 -1
  131. package/dist/ui/server/entries/hooks.server.js +29 -25
  132. package/dist/ui/server/entries/hooks.server.js.map +1 -1
  133. package/dist/ui/server/entries/pages/_layout.svelte.js +749 -3
  134. package/dist/ui/server/entries/pages/_layout.svelte.js.map +1 -1
  135. package/dist/ui/server/entries/pages/_page.svelte.js +34 -25
  136. package/dist/ui/server/entries/pages/_page.svelte.js.map +1 -1
  137. package/dist/ui/server/entries/pages/settings/_page.svelte.js +5 -3
  138. package/dist/ui/server/entries/pages/settings/_page.svelte.js.map +1 -1
  139. package/dist/ui/server/entries/pages/setup/_page.svelte.js +2 -1
  140. package/dist/ui/server/entries/pages/setup/_page.svelte.js.map +1 -1
  141. package/dist/ui/server/entries/pages/setup/instructions/_page.svelte.js +3 -2
  142. package/dist/ui/server/entries/pages/setup/instructions/_page.svelte.js.map +1 -1
  143. package/dist/ui/server/manifest-full.js +1 -1
  144. package/dist/ui/server/manifest.js +1 -1
  145. package/dist/ui/server/nodes/0.js +1 -1
  146. package/dist/ui/server/nodes/1.js +1 -1
  147. package/dist/ui/server/nodes/2.js +1 -1
  148. package/dist/ui/server/nodes/3.js +1 -1
  149. package/dist/ui/server/nodes/4.js +1 -1
  150. package/dist/ui/server/nodes/5.js +1 -1
  151. package/dist/ui/server/nodes/6.js +1 -1
  152. package/dist/ui/server/server.js +1 -1
  153. package/package.json +1 -1
  154. package/dist/ui/client/ui/_app/immutable/chunks/0FroJ-XN.js +0 -3
  155. package/dist/ui/client/ui/_app/immutable/chunks/0FroJ-XN.js.br +0 -0
  156. package/dist/ui/client/ui/_app/immutable/chunks/0FroJ-XN.js.gz +0 -0
  157. package/dist/ui/client/ui/_app/immutable/chunks/B_ZElYu_.js +0 -1
  158. package/dist/ui/client/ui/_app/immutable/chunks/B_ZElYu_.js.br +0 -2
  159. package/dist/ui/client/ui/_app/immutable/chunks/B_ZElYu_.js.gz +0 -0
  160. package/dist/ui/client/ui/_app/immutable/chunks/Bq3k_s8n.js.br +0 -0
  161. package/dist/ui/client/ui/_app/immutable/chunks/Bq3k_s8n.js.gz +0 -0
  162. package/dist/ui/client/ui/_app/immutable/chunks/CEGGem4o.js.br +0 -0
  163. package/dist/ui/client/ui/_app/immutable/chunks/CEGGem4o.js.gz +0 -0
  164. package/dist/ui/client/ui/_app/immutable/chunks/CVpgcnu3.js +0 -1
  165. package/dist/ui/client/ui/_app/immutable/chunks/CVpgcnu3.js.br +0 -0
  166. package/dist/ui/client/ui/_app/immutable/chunks/CVpgcnu3.js.gz +0 -0
  167. package/dist/ui/client/ui/_app/immutable/chunks/Cwz551Q0.js +0 -5
  168. package/dist/ui/client/ui/_app/immutable/chunks/Cwz551Q0.js.br +0 -0
  169. package/dist/ui/client/ui/_app/immutable/chunks/Cwz551Q0.js.gz +0 -0
  170. package/dist/ui/client/ui/_app/immutable/chunks/D-2Nx62w.js +0 -1
  171. package/dist/ui/client/ui/_app/immutable/chunks/D-2Nx62w.js.br +0 -4
  172. package/dist/ui/client/ui/_app/immutable/chunks/D-2Nx62w.js.gz +0 -0
  173. package/dist/ui/client/ui/_app/immutable/chunks/DHsTyp2W.js +0 -1
  174. package/dist/ui/client/ui/_app/immutable/chunks/DHsTyp2W.js.br +0 -2
  175. package/dist/ui/client/ui/_app/immutable/chunks/DHsTyp2W.js.gz +0 -0
  176. package/dist/ui/client/ui/_app/immutable/chunks/DJvJc_zO.js +0 -33
  177. package/dist/ui/client/ui/_app/immutable/chunks/DJvJc_zO.js.br +0 -0
  178. package/dist/ui/client/ui/_app/immutable/chunks/DJvJc_zO.js.gz +0 -0
  179. package/dist/ui/client/ui/_app/immutable/chunks/DU8ibkb0.js.br +0 -0
  180. package/dist/ui/client/ui/_app/immutable/chunks/DU8ibkb0.js.gz +0 -0
  181. package/dist/ui/client/ui/_app/immutable/chunks/Dk73DTz3.js.br +0 -0
  182. package/dist/ui/client/ui/_app/immutable/chunks/Dk73DTz3.js.gz +0 -0
  183. package/dist/ui/client/ui/_app/immutable/chunks/DoG5cwE3.js.br +0 -3
  184. package/dist/ui/client/ui/_app/immutable/chunks/DoG5cwE3.js.gz +0 -0
  185. package/dist/ui/client/ui/_app/immutable/chunks/Dvxhfd7j.js +0 -3
  186. package/dist/ui/client/ui/_app/immutable/chunks/Dvxhfd7j.js.br +0 -0
  187. package/dist/ui/client/ui/_app/immutable/chunks/Dvxhfd7j.js.gz +0 -0
  188. package/dist/ui/client/ui/_app/immutable/chunks/DzInmTUe.js +0 -1
  189. package/dist/ui/client/ui/_app/immutable/chunks/DzInmTUe.js.br +0 -1
  190. package/dist/ui/client/ui/_app/immutable/chunks/DzInmTUe.js.gz +0 -0
  191. package/dist/ui/client/ui/_app/immutable/chunks/hhZsYtkz.js.br +0 -0
  192. package/dist/ui/client/ui/_app/immutable/chunks/hhZsYtkz.js.gz +0 -0
  193. package/dist/ui/client/ui/_app/immutable/entry/app.Bic9wlww.js +0 -2
  194. package/dist/ui/client/ui/_app/immutable/entry/app.Bic9wlww.js.br +0 -0
  195. package/dist/ui/client/ui/_app/immutable/entry/app.Bic9wlww.js.gz +0 -0
  196. package/dist/ui/client/ui/_app/immutable/entry/start.DqIv9xYX.js +0 -2
  197. package/dist/ui/client/ui/_app/immutable/entry/start.DqIv9xYX.js.br +0 -0
  198. package/dist/ui/client/ui/_app/immutable/entry/start.DqIv9xYX.js.gz +0 -0
  199. package/dist/ui/client/ui/_app/immutable/nodes/0.IqK6bsxB.js +0 -1
  200. package/dist/ui/client/ui/_app/immutable/nodes/0.IqK6bsxB.js.br +0 -0
  201. package/dist/ui/client/ui/_app/immutable/nodes/0.IqK6bsxB.js.gz +0 -0
  202. package/dist/ui/client/ui/_app/immutable/nodes/1.C81neQJL.js +0 -1
  203. package/dist/ui/client/ui/_app/immutable/nodes/1.C81neQJL.js.br +0 -0
  204. package/dist/ui/client/ui/_app/immutable/nodes/1.C81neQJL.js.gz +0 -0
  205. package/dist/ui/client/ui/_app/immutable/nodes/2.CmlyeAx_.js +0 -1
  206. package/dist/ui/client/ui/_app/immutable/nodes/2.CmlyeAx_.js.br +0 -0
  207. package/dist/ui/client/ui/_app/immutable/nodes/2.CmlyeAx_.js.gz +0 -0
  208. package/dist/ui/client/ui/_app/immutable/nodes/3.DYZ3H5TS.js +0 -5
  209. package/dist/ui/client/ui/_app/immutable/nodes/3.DYZ3H5TS.js.br +0 -0
  210. package/dist/ui/client/ui/_app/immutable/nodes/3.DYZ3H5TS.js.gz +0 -0
  211. package/dist/ui/client/ui/_app/immutable/nodes/4.Lwlmq1AY.js +0 -180
  212. package/dist/ui/client/ui/_app/immutable/nodes/4.Lwlmq1AY.js.br +0 -0
  213. package/dist/ui/client/ui/_app/immutable/nodes/4.Lwlmq1AY.js.gz +0 -0
  214. package/dist/ui/client/ui/_app/immutable/nodes/5.rBMVkFpN.js +0 -6
  215. package/dist/ui/client/ui/_app/immutable/nodes/5.rBMVkFpN.js.br +0 -0
  216. package/dist/ui/client/ui/_app/immutable/nodes/5.rBMVkFpN.js.gz +0 -0
  217. package/dist/ui/client/ui/_app/immutable/nodes/6.nui9awM2.js +0 -6
  218. package/dist/ui/client/ui/_app/immutable/nodes/6.nui9awM2.js.br +0 -0
  219. package/dist/ui/client/ui/_app/immutable/nodes/6.nui9awM2.js.gz +0 -0
  220. package/dist/ui/server/chunks/composition.js.map +0 -1
  221. package/dist/ui/server/chunks/icon-button.js.map +0 -1
@@ -0,0 +1,5 @@
1
+ import{Z as e}from"./B__KpOuX.js";function t(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 n=e=>(t,n)=>{n===void 0?customElements.define(e,t):n.addInitializer(()=>{customElements.define(e,t)})},r=globalThis,i=r.ShadowRoot&&(r.ShadyCSS===void 0||r.ShadyCSS.nativeShadow)&&`adoptedStyleSheets`in Document.prototype&&`replace`in CSSStyleSheet.prototype,a=Symbol(),o=new WeakMap,s=class{constructor(e,t,n){if(this._$cssResult$=!0,n!==a)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(i&&e===void 0){let n=t!==void 0&&t.length===1;n&&(e=o.get(t)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&o.set(t,e))}return e}toString(){return this.cssText}},c=e=>new s(typeof e==`string`?e:e+``,void 0,a),l=(e,...t)=>new s(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,a),u=(e,t)=>{if(i)e.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet);else for(let n of t){let t=document.createElement(`style`),i=r.litNonce;i!==void 0&&t.setAttribute(`nonce`,i),t.textContent=n.cssText,e.appendChild(t)}},d=i?e=>e:e=>e instanceof CSSStyleSheet?(e=>{let t=``;for(let n of e.cssRules)t+=n.cssText;return c(t)})(e):e,{is:ee,defineProperty:te,getOwnPropertyDescriptor:ne,getOwnPropertyNames:re,getOwnPropertySymbols:ie,getPrototypeOf:ae}=Object,f=globalThis,oe=f.trustedTypes,se=oe?oe.emptyScript:``,ce=f.reactiveElementPolyfillSupport,p=(e,t)=>e,m={toAttribute(e,t){switch(t){case Boolean:e=e?se: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}},h=(e,t)=>!ee(e,t),le={attribute:!0,type:String,converter:m,reflect:!1,useDefault:!1,hasChanged:h};Symbol.metadata??=Symbol(`metadata`),f.litPropertyMetadata??=new WeakMap;var g=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=le){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&&te(this.prototype,e,r)}}static getPropertyDescriptor(e,t,n){let{get:r,set:i}=ne(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)??le}static _$Ei(){if(this.hasOwnProperty(p(`elementProperties`)))return;let e=ae(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=[...re(e),...ie(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(d(e))}else e!==void 0&&t.push(d(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 u(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?m: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?m: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??h)(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){}};g.elementStyles=[],g.shadowRootOptions={mode:`open`},g[p(`elementProperties`)]=new Map,g[p(`finalized`)]=new Map,ce?.({ReactiveElement:g}),(f.reactiveElementVersions??=[]).push(`2.1.2`);var ue={attribute:!0,type:String,converter:m,reflect:!1,hasChanged:h},de=(e=ue,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 _(e){return(t,n)=>typeof n==`object`?de(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 fe(e){return _({...e,state:!0,attribute:!1})}var v=(e,t,n)=>(n.configurable=!0,n.enumerable=!0,Reflect.decorate&&typeof t!=`object`&&Object.defineProperty(e,t,n),n);function pe(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 v(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 v(n,r,{get(){return a(this)}})}}var y=globalThis,me=e=>e,b=y.trustedTypes,he=b?b.createPolicy(`lit-html`,{createHTML:e=>e}):void 0,x=`$lit$`,S=`lit$${Math.random().toFixed(9).slice(2)}$`,C=`?`+S,ge=`<${C}>`,w=document,T=()=>w.createComment(``),E=e=>e===null||typeof e!=`object`&&typeof e!=`function`,D=Array.isArray,_e=e=>D(e)||typeof e?.[Symbol.iterator]==`function`,O=`[
2
+ \f\r]`,k=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,ve=/-->/g,ye=/>/g,A=RegExp(`>|${O}(?:([^\\s"'>=/]+)(${O}*=${O}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,`g`),be=/'/g,xe=/"/g,Se=/^(?:script|style|textarea|title)$/i,j=e=>(t,...n)=>({_$litType$:e,strings:t,values:n}),M=j(1),Ce=j(2),we=j(3),N=Symbol.for(`lit-noChange`),P=Symbol.for(`lit-nothing`),Te=new WeakMap,F=w.createTreeWalker(w,129);function Ee(e,t){if(!D(e)||!e.hasOwnProperty(`raw`))throw Error(`invalid template strings array`);return he===void 0?t:he.createHTML(t)}var De=(e,t)=>{let n=e.length-1,r=[],i,a=t===2?`<svg>`:t===3?`<math>`:``,o=k;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===k?c[1]===`!--`?o=ve:c[1]===void 0?c[2]===void 0?c[3]!==void 0&&(o=A):(Se.test(c[2])&&(i=RegExp(`</`+c[2],`g`)),o=A):o=ye:o===A?c[0]===`>`?(o=i??k,l=-1):c[1]===void 0?l=-2:(l=o.lastIndex-c[2].length,s=c[1],o=c[3]===void 0?A:c[3]===`"`?xe:be):o===xe||o===be?o=A:o===ve||o===ye?o=k:(o=A,i=void 0);let d=o===A&&e[t+1].startsWith(`/>`)?` `:``;a+=o===k?n+ge:l>=0?(r.push(s),n.slice(0,l)+x+n.slice(l)+S+d):n+S+(l===-2?t:d)}return[Ee(e,a+(e[n]||`<?>`)+(t===2?`</svg>`:t===3?`</math>`:``)),r]},I=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]=De(t,n);if(this.el=e.createElement(l,r),F.currentNode=this.el.content,n===2||n===3){let e=this.el.content.firstChild;e.replaceWith(...e.childNodes)}for(;(i=F.nextNode())!==null&&c.length<s;){if(i.nodeType===1){if(i.hasAttributes())for(let e of i.getAttributeNames())if(e.endsWith(x)){let t=u[o++],n=i.getAttribute(e).split(S),r=/([.?@])?(.*)/.exec(t);c.push({type:1,index:a,name:r[2],strings:n,ctor:r[1]===`.`?ke:r[1]===`?`?Ae:r[1]===`@`?je:z}),i.removeAttribute(e)}else e.startsWith(S)&&(c.push({type:6,index:a}),i.removeAttribute(e));if(Se.test(i.tagName)){let e=i.textContent.split(S),t=e.length-1;if(t>0){i.textContent=b?b.emptyScript:``;for(let n=0;n<t;n++)i.append(e[n],T()),F.nextNode(),c.push({type:2,index:++a});i.append(e[t],T())}}}else if(i.nodeType===8){if(i.data===C)c.push({type:2,index:a});else{let e=-1;for(;(e=i.data.indexOf(S,e+1))!==-1;)c.push({type:7,index:a}),e+=S.length-1}}a++}}static createElement(e,t){let n=w.createElement(`template`);return n.innerHTML=e,n}};function L(e,t,n=e,r){if(t===N)return t;let i=r===void 0?n._$Cl:n._$Co?.[r],a=E(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=L(e,i._$AS(e,t.values),i,r)),t}var Oe=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??w).importNode(t,!0);F.currentNode=r;let i=F.nextNode(),a=0,o=0,s=n[0];for(;s!==void 0;){if(a===s.index){let t;s.type===2?t=new R(i,i.nextSibling,this,e):s.type===1?t=new s.ctor(i,s.name,s.strings,this,e):s.type===6&&(t=new Me(i,this,e)),this._$AV.push(t),s=n[++o]}a!==s?.index&&(i=F.nextNode(),a++)}return F.currentNode=w,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++}},R=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,t,n,r){this.type=2,this._$AH=P,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=L(this,e,t),E(e)?e===P||e==null||e===``?(this._$AH!==P&&this._$AR(),this._$AH=P):e!==this._$AH&&e!==N&&this._(e):e._$litType$===void 0?e.nodeType===void 0?_e(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!==P&&E(this._$AH)?this._$AA.nextSibling.data=e:this.T(w.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=I.createElement(Ee(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===r)this._$AH.p(t);else{let e=new Oe(r,this),n=e.u(this.options);e.p(t),this.T(n),this._$AH=e}}_$AC(e){let t=Te.get(e.strings);return t===void 0&&Te.set(e.strings,t=new I(e)),t}k(t){D(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(T()),this.O(T()),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=me(e).nextSibling;me(e).remove(),e=t}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},z=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,t,n,r,i){this.type=1,this._$AH=P,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=P}_$AI(e,t=this,n,r){let i=this.strings,a=!1;if(i===void 0)e=L(this,e,t,0),a=!E(e)||e!==this._$AH&&e!==N,a&&(this._$AH=e);else{let r=e,o,s;for(e=i[0],o=0;o<i.length-1;o++)s=L(this,r[n+o],t,o),s===N&&(s=this._$AH[o]),a||=!E(s)||s!==this._$AH[o],s===P?e=P:e!==P&&(e+=(s??``)+i[o+1]),this._$AH[o]=s}a&&!r&&this.j(e)}j(e){e===P?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??``)}},ke=class extends z{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===P?void 0:e}},Ae=class extends z{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==P)}},je=class extends z{constructor(e,t,n,r,i){super(e,t,n,r,i),this.type=5}_$AI(e,t=this){if((e=L(this,e,t,0)??P)===N)return;let n=this._$AH,r=e===P&&n!==P||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,i=e!==P&&(n===P||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)}},Me=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){L(this,e)}},Ne={M:x,P:S,A:C,C:1,L:De,R:Oe,D:_e,V:L,I:R,H:z,N:Ae,U:je,B:ke,F:Me};(0,y.litHtmlPolyfillSupport)?.(I,R),(y.litHtmlVersions??=[]).push(`3.3.3`);var Pe=(e,t,n)=>{let r=n?.renderBefore??t,i=r._$litPart$;if(i===void 0){let e=n?.renderBefore??null;r._$litPart$=i=new R(t.insertBefore(T(),e),e,void 0,n??{})}return i._$AI(e),i},B=globalThis,V=class extends g{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=Pe(t,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return N}};V._$litElement$=!0,V.finalized=!0,B.litElementHydrateSupport?.({LitElement:V}),(0,B.litElementPolyfillSupport)?.({LitElement:V}),(B.litElementVersions??=[]).push(`4.2.2`);var Fe=class extends V{render(){return M`<slot></slot>`}connectedCallback(){super.connectedCallback(),this.getAttribute(`aria-hidden`)===`false`?this.removeAttribute(`aria-hidden`):this.setAttribute(`aria-hidden`,`true`)}},Ie=l`: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
+ `;Ie.styleSheet;var H=class extends Fe{};H.styles=[Ie],H=t([n(`md-icon`)],H);var Le=Symbol(`attachableController`),Re=new MutationObserver(e=>{for(let t of e)t.target[Le]?.hostConnected()}),ze=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[Le]=this,Re?.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}},Be=[`focusin`,`focusout`,`pointerdown`],U=class extends V{constructor(){super(...arguments),this.visible=!1,this.inward=!1,this.attachableController=new ze(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[Ve]){switch(e.type){default:return;case`focusin`:this.visible=this.control?.matches(`:focus-visible`)??!1;break;case`focusout`:case`pointerdown`:this.visible=!1}e[Ve]=!0}}onControlChange(e,t){for(let n of Be)e?.removeEventListener(n,this),t?.addEventListener(n,this)}update(e){e.has(`visible`)&&this.dispatchEvent(new Event(`visibility-changed`)),super.update(e)}};t([_({type:Boolean,reflect:!0})],U.prototype,`visible`,void 0),t([_({type:Boolean,reflect:!0})],U.prototype,`inward`,void 0);var Ve=Symbol(`handledByFocusRing`),He=l`: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
+ `;He.styleSheet;var W=class extends U{};W.styles=[He],W=t([n(`md-focus-ring`)],W);var Ue={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},We=e=>(...t)=>({_$litDirective$:e,values:t}),Ge=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)}},Ke=We(class extends Ge{constructor(e){if(super(e),e.type!==Ue.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 N}}),qe={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)`};function Je(){let e=null;return{start(){return e?.abort(),e=new AbortController,e.signal},finish(){e=null}}}var Ye=450,Xe=225,Ze=.2,Qe=10,$e=75,et=.35,tt=`::after`,nt=`forwards`,G;(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`})(G||={});var rt=[`click`,`contextmenu`,`pointercancel`,`pointerdown`,`pointerenter`,`pointerleave`,`pointerup`],it=150,at=window.matchMedia(`(forced-colors: active)`),K=class extends V{constructor(){super(...arguments),this.disabled=!1,this.hovered=!1,this.pressed=!1,this.rippleSize=``,this.rippleScale=``,this.initialSize=0,this.state=G.INACTIVE,this.attachableController=new ze(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 M`<div class="surface ${Ke({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!==G.INACTIVE&&this.endPressAnimation())}handlePointerup(e){this.shouldReactToEvent(e)&&(this.state===G.HOLDING?this.state=G.WAITING_FOR_CLICK:this.state===G.TOUCH_DELAY&&(this.state=G.WAITING_FOR_CLICK,this.startPressAnimation(this.rippleStartEvent)))}async handlePointerdown(e){this.shouldReactToEvent(e)&&(this.rippleStartEvent=e,this.isTouch(e)?(this.state=G.TOUCH_DELAY,await new Promise(e=>{setTimeout(e,it)}),this.state===G.TOUCH_DELAY&&(this.state=G.HOLDING,this.startPressAnimation(e))):(this.state=G.WAITING_FOR_CLICK,this.startPressAnimation(e)))}handleClick(){this.disabled||(this.state===G.WAITING_FOR_CLICK?this.endPressAnimation():this.state===G.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(et*n,$e),i=this.currentCSSZoom??1,a=Math.floor(n*Ze/i),o=Math.sqrt(t**2+e**2)+Qe;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:tt,duration:Ye,easing:qe.STANDARD,fill:nt})}async endPressAnimation(){this.rippleStartEvent=void 0,this.state=G.INACTIVE;let e=this.growAnimation,t=1/0;typeof e?.currentTime==`number`?t=e.currentTime:e?.currentTime&&(t=e.currentTime.to(`ms`).value),t>=Xe?this.pressed=!1:(await new Promise(e=>{setTimeout(e,Xe-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(!at?.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 rt)e?.removeEventListener(n,this),t?.addEventListener(n,this)}};t([_({type:Boolean,reflect:!0})],K.prototype,`disabled`,void 0),t([fe()],K.prototype,`hovered`,void 0),t([fe()],K.prototype,`pressed`,void 0),t([pe(`.surface`)],K.prototype,`mdRoot`,void 0);var ot=l`: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
+ `;ot.styleSheet;var q=class extends K{};q.styles=[ot],q=t([n(`md-ripple`)],q);var st=`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(`.`),ct=st.map(lt);function J(e){return ct.includes(e)}function lt(e){return e.replace(`aria`,`aria-`).replace(/Elements?/g,``).toLowerCase()}var Y=Symbol(`privateIgnoreAttributeChangesFor`);function ut(e){var t;class n extends e{constructor(){super(...arguments),this[t]=new Set}attributeChangedCallback(e,t,n){if(!J(e)){super.attributeChangedCallback(e,t,n);return}if(this[Y].has(e))return;this[Y].add(e),this.removeAttribute(e),this[Y].delete(e);let r=Z(e);n===null?delete this.dataset[r]:this.dataset[r]=n,this.requestUpdate(Z(e),t)}getAttribute(e){return J(e)?super.getAttribute(X(e)):super.getAttribute(e)}removeAttribute(e){super.removeAttribute(e),J(e)&&(super.removeAttribute(X(e)),this.requestUpdate())}}return t=Y,dt(n),n}function dt(e){for(let t of st){let n=lt(t),r=X(n),i=Z(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 X(e){return`data-${e}`}function Z(e){return e.replace(/-\w/,e=>e[1].toUpperCase())}var ft=Symbol(`dispatchHooks`);function pt(e,t){let n=e[ft];if(!n)throw Error(`'${e.type}' event needs setupDispatchHooks().`);n.addEventListener(`after`,t,{once:!0})}var mt=new WeakMap;function ht(e,...t){let n=mt.get(e);n||(n=new Set,mt.set(e,n));for(let r of t)n.has(r)||(e.addEventListener(r,e=>{let t=new EventTarget;e[ft]=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 Q=Symbol(`internals`),gt=Symbol(`privateInternals`);function _t(e){class t extends e{get[Q](){return this[gt]||(this[gt]=this.attachInternals()),this[gt]}}return t}var $=Symbol(`getFormValue`),vt=Symbol(`getFormState`);function yt(e){class n extends e{get form(){return this[Q].form}get labels(){return this[Q].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[Q].setFormValue(this[$](),this[vt]())}[$](){return this.getAttribute(`value`)}[vt](){return this[$]()}formDisabledCallback(e){this.disabled=e}}return n.formAssociated=!0,t([_({noAccessor:!0})],n.prototype,`name`,null),t([_({type:Boolean,noAccessor:!0})],n.prototype,`disabled`,null),n}function bt(e){class n extends e{get name(){return this.getAttribute(`name`)??``}set name(e){this.setAttribute(`name`,e)}constructor(...e){super(...e),this.type=`submit`,this.value=``,ht(this,`click`),this.addEventListener(`click`,async e=>{let t=this.type===`reset`,n=this.type===`submit`,r=this[Q],{form:i}=r;i&&(n||t)&&pt(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 t([_()],n.prototype,`type`,void 0),t([_({reflect:!0})],n.prototype,`value`,void 0),n}var xt=Symbol(`app-stores`);function St(){let t=e(xt);if(t===void 0)throw Error(`appStores() needs provideAppStores() in a parent`);return t}export{n as A,Ne as C,fe as D,v as E,_ as O,M as S,pe as T,V as _,yt as a,N as b,pt as c,qe as d,Je as f,Ue as g,Ge as h,$ as i,t as j,l as k,ht as l,We as m,St as n,Q as o,Ke as p,bt as r,_t as s,xt as t,ut as u,P as v,Ce as w,we as x,Pe as y};
@@ -0,0 +1,3 @@
1
+ import{payload as e}from"../entry/payload.DSmR2FwN.js";import{s as t}from"./D0famktY.js";import{$ as n,B as r,C as i,E as a,G as o,I as s,J as c,N as l,O as u,P as d,Q as f,R as p,S as m,T as h,X as g,Y as _,_ as v,b as y,n as b,p as x,rt as ee,t as te,tt as ne,v as re,w as S,x as ie,z as ae}from"./B__KpOuX.js";import{a as oe,i as se,l as C,n as ce,o as le,r as ue,u as de}from"./BkoDSEOx.js";import{a as fe,i as pe,n as me,r as w,t as he}from"./BEImj5AP.js";function ge(e){try{e()}catch(e){return e}}var _e=2**32-1,ve=_e-1,T=class extends Error{constructor(e,t,n,r){super(e),this.name=`DevalueError`,this.path=t.join(``),this.value=n,this.root=r}},ye=Object.getOwnPropertyNames(Object.prototype).sort().join(`\0`);function be(e){let t=Object.getPrototypeOf(e);return t===Object.prototype||t===null||Object.getPrototypeOf(t)===null||Object.getOwnPropertyNames(t).sort().join(`\0`)===ye}function xe(e){return Object.prototype.toString.call(e).slice(8,-1)}function Se(e){return typeof Buffer<`u`&&Buffer.isBuffer(e)}function Ce(e){switch(e){case`"`:return`\\"`;case`<`:return`\\u003C`;case`\\`:return`\\\\`;case`
2
+ `:return`\\n`;case`\r`:return`\\r`;case` `:return`\\t`;case`\b`:return`\\b`;case`\f`:return`\\f`;case`\u2028`:return`\\u2028`;case`\u2029`:return`\\u2029`;default:return e<` `?`\\u${e.charCodeAt(0).toString(16).padStart(4,`0`)}`:``}}function E(e){let t=``,n=0,r=e.length;for(let i=0;i<r;i+=1){let r=Ce(e[i]);r&&(t+=e.slice(n,i)+r,n=i+1)}return`"${n===0?e:t+e.slice(n)}"`}function we(e){return Object.getOwnPropertySymbols(e).filter(t=>Object.getOwnPropertyDescriptor(e,t).enumerable)}var Te=/^[a-zA-Z_$][a-zA-Z_$0-9]*$/;function Ee(e){return Te.test(e)?`.`+e:`[`+JSON.stringify(e)+`]`}function De(e){return!(!Number.isInteger(e)||e<0||e>ve)}function Oe(e){return!(!Number.isInteger(e)||e<0||e>_e)}function ke(e){if(e.length===0||e.length>1&&e.charCodeAt(0)===48)return!1;for(let t=0;t<e.length;t++){let n=e.charCodeAt(t);if(n<48||n>57)return!1}return De(+e)}function Ae(e){for(var t=e.length-1;t>=0&&!ke(e[t]);t--);return t+1}function je(e){let t=Object.keys(e);return t.length=Ae(t),t}function Me(e){return new Uint8Array(e).toBase64()}function Ne(e){return Uint8Array.fromBase64(e).buffer}function Pe(e){return Buffer.from(e).toString(`base64`)}function Fe(e){return Uint8Array.from(Buffer.from(e,`base64`)).buffer}function Ie(e){let t=new Uint8Array(e),n=``,r=32768;for(let e=0;e<t.length;e+=r){let i=t.subarray(e,e+r);n+=String.fromCharCode.apply(null,i)}return btoa(n)}function Le(e){let t=atob(e),n=t.length,r=new Uint8Array(n);for(let e=0;e<n;e++)r[e]=t.charCodeAt(e);return r.buffer}var Re=typeof Uint8Array.fromBase64==`function`,ze=typeof process==`object`&&process.versions?.node!==void 0,Be=Re?Me:ze?Pe:Ie,Ve=Re?Ne:ze?Fe:Le;function He(e,t){if(!t)return e;let n={};for(let r of Object.keys(e))n[r]=t[r]??e[r];return n}var Ue=Object.freeze({kind:`not-plain`}),We=Object.freeze({kind:`symbol-keys`}),Ge=Object.freeze({identify:e=>e,typeOf:e=>e===null?`null`:typeof e,toPrimitive:e=>e,tagOf:e=>xe(e),isThenable:e=>typeof e.then==`function`,toPromise:e=>Promise.resolve(e),unbox:e=>e.valueOf(),toISOString:e=>isNaN(e.getDate())?``:e.toISOString(),toStringValue:e=>e.toString(),regExpInfo:e=>({source:e.source,flags:e.flags}),valuesOf:e=>e,entriesOf:e=>e,viewInfo:e=>(Se(e)&&(e=new Uint8Array(e)),{buffer:e.buffer,byteOffset:e.byteOffset,byteLength:e.byteLength,length:e.length,bufferByteLength:e.buffer.byteLength}),toArrayBuffer:e=>e,lengthOf:e=>e.length,hasOwn:(e,t)=>Object.hasOwn(e,t),indicesOf:e=>je(e),shapeOf:e=>be(e)?we(e).length>0?We:{kind:Object.getPrototypeOf(e)===null?`null-proto`:`plain`,keys:Object.keys(e)}:Ue,get:(e,t)=>e[t]}),Ke=Object.getOwnPropertyDescriptor(ArrayBuffer.prototype,`byteLength`).get,qe=typeof SharedArrayBuffer>`u`?void 0:Object.getOwnPropertyDescriptor(SharedArrayBuffer.prototype,`byteLength`).get,Je=Object.freeze({fromPrimitive:e=>e,fromISOString:e=>new Date(e),fromStringValue:(e,t)=>e===`URL`?new URL(t):e===`URLSearchParams`?new URLSearchParams(t):Temporal[e.slice(9)].from(t),fromArrayBuffer:e=>e,fromRegExpInfo:(e,t)=>new RegExp(e,t),fromViewInfo:(e,t,n,r)=>{try{Ke.call(t)}catch(e){if(!qe)throw e;qe.call(t)}let i=globalThis[e];return n===void 0?new i(t):new i(t,n,r)},box:e=>Object(e),createArray:e=>Array(e),createSparseArray:e=>{let t=[];return t[ve]=void 0,delete t[ve],t.length=e,t},createObject:()=>({}),createNullPrototypeObject:()=>Object.create(null),createSet:()=>new Set,createMap:()=>new Map,set:(e,t,n)=>{e[t]=n},addValue:(e,t)=>{e.add(t)},addEntry:(e,t,n)=>{e.set(t,n)}});function Ye(e,t,n){return Xe(JSON.parse(e),t,n)}function Xe(e,t,n){let r=He(Je,n?.operations);if(typeof e==`number`)return s(e,!0);if(!Array.isArray(e)||e.length===0)throw Error(`Invalid input`);let i=e,a=Array(i.length),o=null;function s(e,n=!1){if(e===-1)return r.fromPrimitive(void 0);if(e===-3)return r.fromPrimitive(NaN);if(e===-4)return r.fromPrimitive(1/0);if(e===-5)return r.fromPrimitive(-1/0);if(e===-6)return r.fromPrimitive(-0);if(n||typeof e!=`number`)throw Error(`Invalid input`);if(e in a)return a[e];if(e>=i.length)throw Error(`Invalid input`);let c=i[e];if(!c||typeof c!=`object`)a[e]=r.fromPrimitive(c);else if(Array.isArray(c)){if(typeof c[0]==`string`){let n=c[0],l=t&&Object.hasOwn(t,n)?t[n]:void 0;if(l){let t=c[1];if(typeof t!=`number`&&(t=i.push(c[1])-1),Object.hasOwn(a,t))return a[e]=l(a[t]);if(o??=new Set,o.has(t))throw Error(`Invalid circular reference`);return o.add(t),a[e]=l(s(t)),o.delete(t),a[e]}switch(n){case`Date`:a[e]=r.fromISOString(c[1]);break;case`Set`:let t=r.createSet();a[e]=t;for(let e=1;e<c.length;e+=1)r.addValue(t,s(c[e]));break;case`Map`:let o=r.createMap();a[e]=o;for(let e=1;e<c.length;e+=2)r.addEntry(o,s(c[e]),s(c[e+1]));break;case`RegExp`:a[e]=r.fromRegExpInfo(c[1],c[2]);break;case`Object`:{let t=c[1];if(typeof i[t]==`object`&&i[t][0]!==`BigInt`)throw Error(`Invalid input`);a[e]=r.box(s(t));break}case`BigInt`:a[e]=r.fromPrimitive(BigInt(c[1]));break;case`null`:let l=r.createNullPrototypeObject();a[e]=l;for(let e=1;e<c.length;e+=2){let t=c[e];if(typeof t!=`string`)throw Error(`Cannot parse an object with a non-string key`);if(t===`__proto__`)throw Error("Cannot parse an object with a `__proto__` property");r.set(l,t,s(c[e+1]))}break;case`Int8Array`:case`Uint8Array`:case`Uint8ClampedArray`:case`Int16Array`:case`Uint16Array`:case`Float16Array`:case`Int32Array`:case`Uint32Array`:case`Float32Array`:case`Float64Array`:case`BigInt64Array`:case`BigUint64Array`:case`DataView`:{if(i[c[1]][0]!==`ArrayBuffer`)throw Error(`Invalid data`);let t=s(c[1]);a[e]=r.fromViewInfo(n,t,c[2],c[3]);break}case`ArrayBuffer`:{let t=c[1];if(typeof t!=`string`)throw Error(`Invalid ArrayBuffer encoding`);a[e]=r.fromArrayBuffer(Ve(t));break}case`URL`:case`URLSearchParams`:case`Temporal.Duration`:case`Temporal.Instant`:case`Temporal.PlainDate`:case`Temporal.PlainTime`:case`Temporal.PlainDateTime`:case`Temporal.PlainMonthDay`:case`Temporal.PlainYearMonth`:case`Temporal.ZonedDateTime`:a[e]=r.fromStringValue(n,c[1]);break;default:throw Error(`Unknown type ${n}`)}}else if(c[0]===-7){let t=c[1];if(!Oe(t))throw Error(`Invalid input`);let n=r.createSparseArray(t);a[e]=n;for(let e=2;e<c.length;e+=2){let i=c[e];if(!De(i)||i>=t)throw Error(`Invalid input`);r.set(n,i,s(c[e+1]))}}else{let t=r.createArray(c.length);a[e]=t;for(let e=0;e<c.length;e+=1){let n=c[e];n!==-2&&r.set(t,e,s(n))}}}else{let t=r.createObject();a[e]=t;for(let e of Object.keys(c)){if(e===`__proto__`)throw Error("Cannot parse an object with a `__proto__` property");r.set(t,e,s(c[e]))}}return a[e]}return s(0)}function Ze(e,t,n){let r=Qe(!1,e,t,n);return typeof r==`string`?r:`[${r.join(`,`)}]`}function Qe(e,t,n,r){let i=He(Ge,r?.operations),a=[],o=new Map,s=[];if(n)for(let e of Object.getOwnPropertyNames(n))s.push({key:e,fn:n[e]});let c=[],l=0;function u(n,r){let d=i.typeOf(n);if(d===`undefined`)return-1;let f;if(d===`number`){if(f=i.toPrimitive(n),Number.isNaN(f))return-3;if(f===1/0)return-4;if(f===-1/0)return-5;if(f===0&&1/f<0)return-6}let p=i.identify(n);if(o.has(p))return o.get(p);r??=l++,o.set(p,r);for(let{key:e,fn:t}of s){let i=t(n);if(i)return a[r]=`["${e}",${u(i)}]`,r}if(d===`function`)throw new T(`Cannot stringify a function`,c,n,t);if(d===`symbol`)throw new T(`Cannot stringify a Symbol primitive`,c,n,t);let m=``;if(d!==`object`)m=$e(d===`number`?f:i.toPrimitive(n));else if(i.isThenable(n)){if(!e)throw new T(`Cannot stringify a Promise or thenable — use stringifyAsync instead`,c,n,t);m=i.toPromise(n).then(e=>{let t=u(e,r);t<0&&(a[r]=t)}),m.catch(()=>{})}else{let e=i.tagOf(n);switch(e){case`Number`:case`String`:case`Boolean`:case`BigInt`:m=`["Object",${u(i.unbox(n))}]`;break;case`Date`:m=`["Date","${i.toISOString(n)}"]`;break;case`URL`:m=`["URL",${E(i.toStringValue(n))}]`;break;case`URLSearchParams`:m=`["URLSearchParams",${E(i.toStringValue(n))}]`;break;case`RegExp`:let{source:r,flags:a}=i.regExpInfo(n);m=a?`["RegExp",${E(r)},"${a}"]`:`["RegExp",${E(r)}]`;break;case`Array`:{let e=!1,t=i.lengthOf(n);m=`[`;for(let r=0;r<t;r+=1)if(r>0&&(m+=`,`),i.hasOwn(n,r))c.push(`[${r}]`),m+=u(i.get(n,r)),c.pop();else if(e)m+=-2;else{let r=i.indicesOf(n),a=r.length,o=String(t).length;if((t-a)*3>4+o+a*(o+1)){m=`[-7,`+t;for(let e=0;e<r.length;e++){let t=r[e];c.push(`[${t}]`),m+=`,`+t+`,`+u(i.get(n,t)),c.pop()}break}e=!0,m+=-2}m+=`]`;break}case`Set`:m=`["Set"`;for(let e of i.valuesOf(n))m+=`,${u(e)}`;m+=`]`;break;case`Map`:m=`["Map"`;for(let[e,t]of i.entriesOf(n)){let n=i.typeOf(e),r=n!==`object`&&n!==`function`&&n!==`symbol`;c.push(`.get(${r?$e(i.toPrimitive(e)):`...`})`),m+=`,${u(e)},${u(t)}`,c.pop()}m+=`]`;break;case`Int8Array`:case`Uint8Array`:case`Uint8ClampedArray`:case`Int16Array`:case`Uint16Array`:case`Float16Array`:case`Int32Array`:case`Uint32Array`:case`Float32Array`:case`Float64Array`:case`BigInt64Array`:case`BigUint64Array`:{let t=i.viewInfo(n);m=`["`+e+`",`+u(t.buffer),t.byteLength!==t.bufferByteLength&&(m+=`,${t.byteOffset},${t.length}`),m+=`]`;break}case`DataView`:{let t=i.viewInfo(n);m=`["`+e+`",`+u(t.buffer),t.byteLength!==t.bufferByteLength&&(m+=`,${t.byteOffset},${t.byteLength}`),m+=`]`;break}case`ArrayBuffer`:m=`["ArrayBuffer","${Be(i.toArrayBuffer(n))}"]`;break;case`Temporal.Duration`:case`Temporal.Instant`:case`Temporal.PlainDate`:case`Temporal.PlainTime`:case`Temporal.PlainDateTime`:case`Temporal.PlainMonthDay`:case`Temporal.PlainYearMonth`:case`Temporal.ZonedDateTime`:m=`["${e}",${E(i.toStringValue(n))}]`;break;default:{let e=i.shapeOf(n);if(e.kind===`not-plain`)throw new T(`Cannot stringify arbitrary non-POJOs`,c,n,t);if(e.kind===`symbol-keys`)throw new T(`Cannot stringify POJOs with symbolic keys`,c,n,t);if(e.kind===`null-proto`){m=`["null"`;for(let r of e.keys){if(r===`__proto__`)throw new T(`Cannot stringify objects with __proto__ keys`,c,n,t);c.push(Ee(r)),m+=`,${E(r)},${u(i.get(n,r))}`,c.pop()}m+=`]`}else{m=`{`;let r=!1;for(let a of e.keys){if(a===`__proto__`)throw new T(`Cannot stringify objects with __proto__ keys`,c,n,t);r&&(m+=`,`),r=!0,c.push(Ee(a)),m+=`${E(a)}:${u(i.get(n,a))}`,c.pop()}m+=`}`}}}}return a[r]=m,r}let d=u(t);return d<0?`${d}`:a}function $e(e){let t=typeof e;return t===`string`?E(e):e===void 0?`-1`:e===0&&1/e<0?`-6`:t===`bigint`?`["BigInt","${e}"]`:String(e)}var et=new TextEncoder;new TextDecoder;function tt(e){let t=``;for(let n=0;n<e.length;n++)t+=String.fromCharCode(e[n]);return btoa(t)}var nt=()=>{throw Error(``)},D=()=>{throw Error(``)},rt={},it={};function at(e){let t=Object.entries(e);t.length,rt=Object.fromEntries(t.map(([e,t])=>[e,t.encode])),it=Object.fromEntries(t.map(([e,t])=>[e,t.decode])),nt=e=>Ze(e,rt),D=e=>Ye(e,it)}var ot=`x-sveltekit-invalidated`,st=`x-sveltekit-trailing-slash`,ct=Object.getOwnPropertyNames(Object.prototype).sort().join(`\0`);function lt(e){if(typeof e!=`object`||!e)return!1;let t=Object.getPrototypeOf(e);return t===Object.prototype||t===null||Object.getPrototypeOf(t)===null||Object.getOwnPropertyNames(t).sort().join(`\0`)===ct}function ut(e,t){let n=Object.getPrototypeOf(e)===null?Object.create(null):{};t.set(e,n),Object.defineProperty(n,ht,{value:!0});for(let r of Object.keys(e).sort()){let i=e[r];Object.defineProperty(n,r,{value:t.get(i)??i,enumerable:!0,configurable:!0,writable:!0})}return n}var dt=`__skrao`,ft=`__skram`,pt=`__skras`,mt=`__skrag`,ht=Symbol(dt);function gt(e){let n={[mt]:e=>{e instanceof RegExp&&t({type:`Regular expressions`})}};if(e){let e=new Map;n[ft]=e=>{if(!(e instanceof Map))return;let t=[];for(let[n,r]of e)t.push([i(n),i(r)]);return t.sort(([e,t],[n,r])=>e<n?-1:e>n?1:t<r?-1:+(t>r))},n[pt]=e=>{if(!(e instanceof Set))return;let t=[];for(let n of e)t.push(i(n));return t.sort(),t},n[dt]=t=>{if(lt(t)&&!Object.hasOwn(t,ht))return e.has(t)?e.get(t):ut(t,e)}}let r={...rt,...n},i=e=>Ze(e,r);return r}function _t(e){return e===void 0?``:vt(Ze(e,gt(!0)))}function vt(e){return tt(et.encode(e)).replaceAll(`=`,``).replaceAll(`+`,`-`).replaceAll(`/`,`_`)}function yt(e,t){return e+`/`+t}function bt(e){let t=e.lastIndexOf(`/`);if(t===-1)throw Error(`Invalid remote key: ${e}`);return{id:e.slice(0,t),payload:e.slice(t+1)}}function xt(e){throw Error(`https://svelte.dev/e/kit/navigation_external_url`)}function St(e){throw Error(`https://svelte.dev/e/kit/navigation_route_missing`)}function Ct(e){throw Error(`https://svelte.dev/e/kit/redirect_loop`)}function wt(e){throw Error(`https://svelte.dev/e/kit/reserved_query_parameter`)}var O=class{constructor(e){this.status=e.status,this.body=e}toString(){return JSON.stringify(this.body)}},Tt=class extends O{},Et=class{constructor(e,t){try{new Headers({location:t})}catch{throw Error(`Invalid redirect location ${JSON.stringify(t)}: this string contains characters that cannot be used in HTTP headers`)}this.status=e,this.location=t}},Dt=class extends Error{constructor(e,t,n){super(n),this.status=e,this.text=t}};window.fetch;function Ot({nodes:e,server_loads:t,dictionary:n,matchers:r}){let i=new Set(t);return Object.entries(n).map(([t,[n,i,s]])=>{let{pattern:c,params:l}=le(t),u={id:t,exec:e=>{let t=c.exec(e);if(t)return oe(t,l,r)},errors:[1,...s||[]].map(t=>e[t]),layouts:[0,...i||[]].map(o),leaf:a(n)};return u.errors.length=u.layouts.length=Math.max(u.errors.length,u.layouts.length),u});function a(t){let n=t<0;return n&&(t=~t),[n,e[t]]}function o(t){return t===void 0?t:[i.has(t),e[t]]}}function kt(e,t=JSON.parse){try{return t(sessionStorage[e])}catch{}}function At(e,t,n=JSON.stringify){let r=n(t);try{sessionStorage[e]=r}catch{}}var jt=`sveltekit:snapshot`,Mt=`sveltekit:navigation-snapshot`,Nt=`sveltekit:history-info`,k=`sveltekit:metadata`,A={tap:1,hover:2,viewport:3,eager:4,false:-1},Pt=location.origin;function Ft(e){if(e instanceof URL)return e;let t=document.baseURI;if(!t){let e=document.getElementsByTagName(`base`);t=e.length?e[0].href:document.URL}return new URL(e,t)}function It(){return{x:pageXOffset,y:pageYOffset}}function j(e,t){return e.getAttribute(`data-sveltekit-${t}`)}var Lt={...A,"":A.hover};function Rt(e){let t=e.assignedSlot??e.parentNode;return t?.nodeType===11&&(t=t.host),t}function zt(e,t){for(;e&&e!==t;){if((e instanceof HTMLAnchorElement||e instanceof SVGAElement)&&e.hasAttribute(`href`))return e;e=Rt(e)}}function Bt(e,t,n){let r;try{if(r=new URL(e instanceof SVGAElement?e.href.baseVal:e.href,document.baseURI),n&&r.hash.match(/^#[^/]/)){let e=location.hash.split(`#`)[1]||`/`;r.hash=`#${e}${r.hash}`}}catch{}let i=e instanceof SVGAElement?e.target.baseVal:e.target,a=!r||!!i||Vt(r,t,n)||(e.getAttribute(`rel`)||``).split(/\s+/).includes(`external`),o=r?.origin===Pt&&e.hasAttribute(`download`);return{url:r,external:a,target:i,download:o}}function M(e){let t=null,n=null,r=null,i=null,a=null,o=e;for(;o&&o!==document.documentElement;)t===null&&(t=j(o,`preload-code`)),n===null&&(n=j(o,`preload-data`)),r===null&&(r=j(o,`reload`)),i===null&&(i=j(o,`replacestate`)),a===null&&(a=j(o,`reset`)),o=Rt(o);function s(e){switch(e){case``:case`true`:return!0;case`false`:return!1;default:return}}return{preload_code:Lt[t??`false`],preload_data:Lt[n??`false`],reload:s(r),replace_state:s(i),reset:s(a)??!0}}function Vt(e,t,n){return e.origin!==Pt||!e.pathname.startsWith(t)?!0:n?e.pathname!==location.pathname:!1}function Ht(e,t){let n=t?e.hash.split(`#`,3)[2]??``:e.hash.slice(1);return n?document.getElementById(decodeURIComponent(n)):null}function Ut(e){}function Wt(e){let t=document.activeElement;e&&(t instanceof HTMLElement||t instanceof SVGElement)&&t!==document.body&&t.blur()}function Gt(e){let t=e.getAttribute(`tabindex`);e.setAttribute(`tabindex`,`-1`),e.focus({preventScroll:!0,focusVisible:!1}),t===null?e.removeAttribute(`tabindex`):e.setAttribute(`tabindex`,t)}function Kt(e){let t=window.parent===window||document.hasFocus(),n=document.querySelector(`[autofocus]`);if(n)t&&n.focus();else{t&&Gt(Ht(e,!1)??document.body);let n=getSelection();if(n&&n.type!==`None`){let e=[];for(let t=0;t<n.rangeCount;t+=1)e.push(n.getRangeAt(t));setTimeout(()=>{if(n.rangeCount===e.length){for(let t=0;t<n.rangeCount;t+=1){let r=e[t],i=n.getRangeAt(t);if(r.commonAncestorContainer!==i.commonAncestorContainer||r.startContainer!==i.startContainer||r.endContainer!==i.endContainer||r.startOffset!==i.startOffset||r.endOffset!==i.endOffset)return}n.removeAllRanges()}})}}}var qt=!0;function Jt(e,t,n){if(t&&qt){if(n)scrollTo(n.x,n.y);else{let t=Ht(e,!1);t?t.scrollIntoView():scrollTo(0,0)}}qt=!0}var Yt=kt(`sveltekit:navigation-snapshot`)??{},Xt=new Set;function Zt(){return new Set(Xt)}function Qt(e){Xt.size===0?delete Yt[e]:Yt[e]=Object.fromEntries(Array.from(Xt,({id:e,capture:t})=>[e,nt(t())]))}function $t(e,t){let n=Yt[e];for(let e of Xt)n&&Object.hasOwn(n,e.id)?e.restore(D(n[e.id])):t?.has(e)&&e.reset?.()}function en(e){delete Yt[e]}function tn(e){Qt(e),At(Mt,Yt)}var nn=new Set([`load`,`prerender`,`csr`,`ssr`,`trailingSlash`,`config`]);[...nn],[...new Set([...nn])];function N(){}function rn(e){let t=!1,n;return()=>t?n:(t=!0,n=e())}var an=`/__data.json`,on=`.html__data.json`;function sn(e){return e.endsWith(`.html`)?e.replace(/\.html$/,on):e.replace(/\/$/,``)+an}async function*cn(e,t,n){let r=!1,i=[],a=``,o=new TextDecoder(void 0,n),s=t.length-1;for(;!r;){let n=await e.read();r=n.done;let c=a;n.value&&(c+=o.decode(n.value,{stream:!0})),r&&(c+=o.decode());let l=0,u=c.indexOf(t);for(;u!==-1;)i.length>0?(i.push(c.slice(l,u)),yield i.join(``),i=[]):yield c.slice(l,u),l=u+t.length,u=c.indexOf(t,l);let d=Math.max(l,c.length-s);d>l&&i.push(c.slice(l,d)),a=c.slice(d)}(i.length>0||a)&&(yield i.join(``)+a)}async function*ln(e){for await(let t of cn(e,`
3
+ `,{fatal:!0})){let e=t.trim();e&&(yield JSON.parse(e))}}var un=a(`<div id="svelte-announcer" aria-live="assertive" aria-atomic="true" style="position: absolute; left: 0; top: 0; clip: rect(0 0 0 0); clip-path: inset(50%); overflow: hidden; white-space: nowrap; width: 1px; height: 1px"><!></div>`),dn=a(`<!> <!>`,1);function fn(e,t){n(t,!0);let r=(e,n=ne,o=ne)=>{let s=(e,t=ne)=>{var n=h(),r=d(n);x(r,()=>p(l),(e,n)=>{n(e,{get error(){return t()}})}),S(e,n)},c=g(()=>n().component),l=g(()=>n().error),u=g(()=>n().data);var f=h(),m=d(f);i(m,{get failed(){return p(l)?s:void 0},get onerror(){return p(l)?t.onerror:void 0}},e=>{var i=h(),s=d(i),l=e=>{var i=h(),s=d(i);x(s,()=>p(c),(e,i)=>{b(i(e,{get data(){return p(u)},get form(){return t.form},get params(){return t.page.params},children:(e,t)=>{r(e,()=>n().child,()=>o()+1)},$$slots:{default:!0}}),e=>a()[o()]=e,()=>a()?.[o()])}),S(e,i)},f=e=>{var n=h(),r=d(n);x(r,()=>p(c),(e,n)=>{b(n(e,{get data(){return p(u)},get form(){return t.form},get params(){return t.page.params},get error(){return t.error}}),e=>a()[o()]=e,()=>a()?.[o()])}),S(e,n)};v(s,e=>{n().child?e(l):e(f,-1)}),S(e,i)}),S(e,f)},a=te(t,`components`,7),y=_(!1),re=_(!1),ie=_(``);_r(()=>{p(y)?(c(re,!0),c(ie,document.title||`untitled page`,!0)):c(y,!0)});var ae=dn(),oe=d(ae);r(oe,()=>t.tree,()=>0);var se=s(oe,2),C=e=>{var t=un(),n=l(t),r=e=>{var t=u();o(()=>m(t,p(ie))),S(e,t)};v(n,e=>{p(re)&&e(r)}),ee(t),S(e,t)};v(se,e=>{p(y)&&e(C)}),S(e,ae),f()}var pn=class{#e;get form(){return p(this.#e)}set form(e){c(this.#e,e)}#t;get error(){return p(this.#t)}set error(e){c(this.#t,e)}page;components=[];tree;onerror;constructor({page:e,tree:t,form:n,error:r,onerror:i=N}){this.page=e,this.tree=t,this.onerror=i,this.#e=_(n),this.#t=_(r)}},mn=class{component;error;#e=_({});get data(){return p(this.#e)}set data(e){c(this.#e,e)}#t=_();get child(){return p(this.#t)}set child(e){c(this.#t,e)}constructor(e,t){this.component=e,this.error=t}};function hn(e,t,n){let r=[void 0],i=-1;for(let a=1;a<e.length;a+=1){if(!e[a])continue;let o=a-1;for(;o>i+1&&t[o]==null;)--o;i=o;let s=t[o];r.push(s==null?void 0:n(s)?.catch(()=>void 0))}return Promise.all(r)}function*gn(e,t,n){for(;e--;){let r=n[e];if(r!=null){let n=e;for(;!t[n];)--n;yield{error:r,idx:n+1}}}}var _n=new Set([`icon`,`shortcut icon`,`apple-touch-icon`]),vn=new Set,P=kt(`sveltekit:history-info`)??{},F=kt(`sveltekit:snapshot`)??{},I;function L(e){P[e].scroll=It()}function yn(e,t){P[e]={...P[e],resetIndex:t.resetIndex}}function bn(e,t){en(e);let n=e+1;for(;P[n];)delete P[n],en(n),n+=1;for(n=t+1;F[n];)delete F[n],n+=1}function R(e,t=!1){return t?location.replace(e.href):location.href=e.href,new Promise(N)}async function xn(){try{if(`serviceWorker`in navigator){let e=await navigator.serviceWorker.getRegistration(C||`/`);e&&await e.update()}}catch{}}var Sn,Cn,wn,z,Tn,B,En={},Dn={},On=[],V=null;function kn(){V?.fork?.then(e=>e?.discard()),V=null,Q={element:void 0,href:void 0}}var An=new Set,jn=new Set,H=new Set,U={branch:[],error:null,url:null,nav:null},Mn=!1,Nn=!1,W=!1,G=null,Pn=!1,Fn=!1,K,q,J;function In(e=history.state){return e?.[k]}var Y,X,Ln=new Set,Rn=new Map,zn=new Map;de(async e=>{typeof e==`string`&&(e=new URL(e,location.href));let t=await Z(e,!1);return t?{id:t.route.id,params:t.params}:null}),Promise.resolve();function Bn(e,t,n){return Hn(e,t,n)}function*Vn(e){for(let[t,n]of e)for(let[e,r]of n)yield[yt(t,e),r]}async function Hn(t,n,r){if(e.data){let{q:t={},p:n={},l:r={},f:i={}}=e.data;for(let e in t)En[e]=t[e];for(let e in r)En[e]=r[e];for(let e in i)En[e]=i[e];for(let e in n)Dn[e]=n[e]}document.URL!==location.href&&(location.href=location.href),B=t,at(B.hooks.transport??{}),await t.hooks.init?.(),Sn=Ot(t),z=document.documentElement,Tn=n,Cn=t.nodes[0],wn=t.nodes[1];let[i]=await Promise.all([Cn(),wn()]),a=new mn(i.component,void 0);I=new pn({page:me,tree:a,form:void 0,error:void 0,onerror:(e,t)=>vn.add(t)});let o=In();K=o?.historyIndex??0,q=o?.navigationIndex??0,J=o?.resetIndex??0,K||(K=q=J=Date.now(),history.replaceState({...history.state,[k]:{historyIndex:K,navigationIndex:q,state:nt({}),persistState:!1,resetIndex:K}},``)),yn(K,In());let s=P[K]?.scroll;function c(){s&&(history.scrollRestoration=`manual`,scrollTo(s.x,s.y))}r?(c(),await Cr(Tn,r)):(await dr({type:`enter`,url:Ft(B.hash?Or(new URL(location.href)):location.href),replace_state:!0,state:o?.persistState?D(o.state):{},persist_state:o?.persistState??!1}),c()),Sr()}function Un(){On.length=0,Fn=!1}function Wn(e){I.components.some(e=>e?.snapshot)&&(F[e]=I.components.map(e=>e?.snapshot?.capture()))}function Gn(e){F[e]?.forEach((e,t)=>{I.components[t]?.snapshot?.restore(e)})}function Kn(){L(K),At(Nt,P),Wn(q),At(jt,F),tn(K)}async function qn(e,t={},n=0,i={},a){let o,s;t.refreshAll&&kn(),await dr({type:t.type??`goto`,url:Ft(e),reset:t.reset,replace_state:t.replace,state:t.state,persist_state:t.persistState,event:t.event,action_result:t.action_result,redirect_count:n,nav_token:i,intent:a,accept:()=>{if(t.refreshAll){Fn=!0,o=new Set;for(let[e,t]of Vn(Rn))t.resource?.reset(),o.add(e);s=new Set;for(let[e]of Vn(zn))s.add(e)}t.invalidate&&t.invalidate.forEach(br)}}),t.refreshAll&&r().then(r).then(()=>{for(let[e,{resource:t}]of Vn(Rn))o?.has(e)&&t.start();for(let[e,{resource:t}]of Vn(zn))s?.has(e)&&t.reconnect()})}async function Jn(e){if(e.id!==V?.id){kn();let t={};Ln.add(t),V={id:e.id,token:t,promise:rr({...e,preload:t}).finally(()=>{Ln.delete(t)}),fork:null},V.promise.catch(kn)}return V.promise}async function Yn(e){await Promise.all([...e.layouts,e.leaf].filter(Boolean).map(([,e])=>e()))}async function Xn(e){let t=(await Z(e,!1))?.route;t&&await Yn(t)}async function Zn(e,t,n){let r={params:e.state.params,route:{id:e.state.route?.id??null},url:new URL(location.href)};if(U={...e.state,nav:r},kr(e),(n?y:ie)(fn,{target:t,props:I,transformError:async e=>{let t=await $(e,U.nav);return pe({error:t,status:t.status}),t}}),await Promise.resolve(),n){let e={from:null,to:{...r,scroll:P[K]?.scroll??It()},willUnload:!1,type:`enter`,shallow:!1,complete:Promise.resolve()};H.forEach(t=>t(e))}Gn(q),Mn&&$t(K),Nn=!0}async function Qn({url:e,params:t,branch:n,errors:r,status:i,error:a,route:o,form:s}){let c=`never`;if(C&&(e.pathname===C||e.pathname===C+`/`))c=`always`;else for(let e of n)e?.slash!==void 0&&(c=e.slash);e.pathname=ue(e.pathname,c),e.search=e.search;let l={type:`loaded`,state:{url:e,params:t,branch:n,error:a,route:o},props:{page:{...me},tree:{}}};a&&(l.props.error=a),s!==void 0&&(l.props.form=s);let u={},d=!me,f=r&&await hn(n,r,e=>e().then(e=>e.component)),p=l.props.tree,m=1,h=I.tree;for(let e=0;e<n.length;e+=1){let t=n[e],r=U.branch[e];if(t&&(d||!h||t?.data!==r?.data?(p.data={...u,...t.data},d=!0):p.data=h.data,u=p.data,e<n.length-1)){let t=e+1;for(;t<n.length&&!n[t];)t+=1;let r=n[t];r&&(p=p.child=new mn(r.node.component,f?.[m++]),h=h?.child)}}return(!U.url||e.href!==U.url.href||U.error!==a||s!==void 0&&s!==me.form||d)&&(l.props.page={error:a,params:t,route:{id:o?.id??null},state:{},shallow:null,status:i??a?.status??200,url:new URL(e),form:s??null,data:u}),l}async function $n({loader:e,parent:t,url:n,params:r,route:i,server_data_node:a}){let o={dependencies:new Set,params:new Set,parent:!1,route:!1,url:!1,search_params:new Set},s=await e();return{node:s,loader:e,server:a,universal:s.universal?.load?{type:`data`,data:null,uses:o}:null,data:a?.data??null,slash:s.universal?.trailingSlash??a?.slash}}function er(e,t,n,r,i,a){if(Fn)return!0;if(!i)return!1;if(i.parent&&e||i.route&&t||i.url&&n)return!0;for(let e of i.search_params)if(r.has(e))return!0;for(let e of i.params)if(a[e]!==U.params[e])return!0;for(let e of i.dependencies)if(On.some(t=>t(new URL(e))))return!0;return!1}function tr(e,t){return e?.type===`data`?e:e?.type===`skip`?t??null:null}function nr(e,t){if(!e)return new Set(t.searchParams.keys());let n=new Set([...e.searchParams.keys(),...t.searchParams.keys()]);for(let r of n){let i=e.searchParams.getAll(r).sort(),a=t.searchParams.getAll(r).sort();i.length===a.length&&i.every((e,t)=>e===a[t])&&n.delete(r)}return n}async function rr({id:e,invalidating:t,url:n,params:r,route:i,preload:a,action_result:o}){if(!o&&V?.id===e)return Ln.delete(V.token),V.promise;let{errors:s,layouts:c,leaf:l}=i,u=[...c,l],d=u.length-1,f=o?.type===`error`;s.forEach(e=>e?.().catch(N)),u.forEach(e=>e?.[1]().catch(N));let p=null,m=U.url?e!==lr(U.url):!1,h=!U.route||i.id!==U.route.id,g=nr(U.url,n),_=!1;{let t=u.map((e,t)=>{if(f&&t===d)return!1;let n=U.branch[t],i=!!e?.[0]&&(n?.loader!==e[1]||er(_,h,m,g,n.server?.uses,r));return i&&(_=!0),i});if(t.some(Boolean)){try{p=await wr(n,t)}catch(t){let o=await $(t,{url:n,params:r,route:{id:e}});if(a&&Ln.has(a))throw o;return or({error:o,url:n,route:i})}if(p.type===`redirect`)return p}}let v=p?.nodes,y=!1,b=u.map(async(e,t)=>{if(!e||f&&t===d)return;let a=U.branch[t],o=v?.[t];if((!o||o.type===`skip`)&&e[1]===a?.loader&&!er(y,h,m,g,a.universal?.uses,r))return a;if(y=!0,o?.type===`error`)throw new Tt(o.error);return $n({loader:e[1],url:n,params:r,route:i,parent:async()=>{let e={};for(let n=0;n<t;n+=1)Object.assign(e,(await b[n])?.data);return e},server_data_node:tr(o===void 0&&e[0]?{type:`skip`}:o??null,e[0]?a?.server:void 0)})});for(let e of b)e.catch(N);let x=[];for(let e=0;e<u.length;e+=1)if(u[e])try{x.push(await b[e])}catch(t){if(t instanceof Et)return{type:`redirect`,status:t.status,location:t.location};if(a&&Ln.has(a))throw await $(t,{params:r,url:n,route:{id:i.id}});let o;if(v?.includes(t))o=t.error;else if(t instanceof O)o=await $(t,{params:r,url:n,route:{id:i.id}});else{if(await fe.check())return await xn(),await R(n);o=await $(t,{params:r,url:n,route:{id:i.id}})}return ar({i:e,branch:x,errors:s,error:o,url:n,params:r,route:i})}else x.push(void 0);return o?.type===`error`?ar({i:u.length,branch:x,errors:s,error:o.error,status:o.status,url:n,params:r,route:i}):Qn({url:n,params:r,branch:x,errors:s,error:null,route:i,status:o?.status,form:o?.type===`success`||o?.type===`failure`?o.data??null:t?void 0:null})}async function ir(e,t,n){for(let{error:r,idx:i}of gn(e,t,n))try{return t.slice(0,i).concat({node:await r(),loader:r,data:{},server:null,universal:null})}catch{continue}}async function ar({i:e,branch:t,errors:n,error:r,status:i,url:a,params:o,route:s}){let c=await ir(e,t,n);return c?Qn({url:a,params:o,branch:c,errors:n,error:r,status:i,route:s}):mr(a,{id:s.id},r)}async function or({error:e,url:t,route:n}){let r={},i=null;if(B.server_loads[0]===0)try{let e=await wr(t,[!0]);if(e.type!==`data`||e.nodes[0]&&e.nodes[0].type!==`data`)throw 0;i=e.nodes[0]??null}catch(e){if(!(e instanceof O&&e.status===404)&&(t.origin!==Pt||t.pathname!==location.pathname||Mn))return await R(t)}try{return Qn({url:t,params:r,branch:[await $n({loader:Cn,url:t,params:r,route:n,parent:()=>Promise.resolve({}),server_data_node:tr(i)}),{node:await wn(),loader:wn,universal:null,server:null,data:null}],error:e,errors:[],route:null})}catch(e){if(e instanceof Et){await qn(new URL(e.location,location.href));return}let i=await B.get_error_template(),a=await $(e,{url:t,params:r,route:n}),o=String(a?.message??``).replace(/&/g,`&amp;`).replace(/</g,`&lt;`).replace(/>/g,`&gt;`),s=i({status:a.status,message:o}),c=new DOMParser().parseFromString(s,`text/html`);throw document.documentElement.replaceChild(document.adoptNode(c.head),document.head),document.documentElement.replaceChild(document.adoptNode(c.body),document.body),e}}async function sr(e){return e}async function Z(e,t){if(e&&!Vt(e,C,B.hash)){let n=await sr(e);if(!n)return;let r=cr(n);for(let n of Sn){let i=n.exec(r);if(i)return{id:lr(e),invalidating:t,route:n,params:i,url:e}}}}function cr(e){return ce(B.hash?e.hash.replace(/^#/,``).replace(/[?#].+/,``):e.pathname.slice(C.length))||`/`}function lr(e){return(B.hash?e.hash.replace(/^#/,``):e.pathname)+e.search}function ur({url:e,type:t,intent:n,delta:r,event:i,scroll:a,shallow:o=!1,target:s}){let c=!1,l=Dr(U,n,e,t,a??null,o,s);l.navigation.type===`popstate`&&r!==void 0&&(l.navigation.delta=r),i!==void 0&&(l.navigation.event=i);let u={...l.navigation,cancel:()=>{c=!0,l.reject(Error(`navigation cancelled`))}};return W||An.forEach(e=>e(u)),c?null:l}async function dr({type:e,url:t,popped:n,reset:r=!0,replace_state:i,state:a={},persist_state:o=!1,redirect_count:s=0,nav_token:c={},accept:l=N,block:u=N,event:d,intent:f,action_result:p}){let m=Y,h=X;Y=X=c,f??=await Z(t,!1);let g=e===`enter`?Dr(U,f,t,e):ur({url:t,type:e,delta:n?.delta,intent:f,scroll:n?.scroll,shallow:!!n?.shallow,target:n?.shallow??void 0,event:d});if(!g){u(),Y===c&&(Y=m),X===c&&(X=h);return}let _=K,v=q,y=Zt();l(),W=!0,Nn&&g.navigation.type!==`enter`&&w(g.navigation);let b=f&&await rr({...f,action_result:p});if(!b){let e=Vt(t,C,B.hash),n=e&&!1;if(e&&!n)return await R(t,i);b=await mr(t,{id:null},await $(new Dt(404,`Not Found`,`Not found: ${t.pathname}${n?` (did you forget the hash?)`:``}`),{url:t,params:{},route:{id:null}}),i)}if(t=f?.url||t,Y!==c){g.reject(Error(`navigation aborted`));return}if(!b)return;if(b.type===`redirect`){if(s<20){V?.id===f?.id&&kn(),await dr({type:e,url:new URL(b.location,t),popped:n,reset:r,replace_state:i,state:a,persist_state:o,redirect_count:s+1,nav_token:c}),g.fulfil(void 0);return}if(b=await or({error:await $(ge(()=>Ct({url:t.href})),{url:t,params:{},route:{id:null}}),url:t,route:{id:null}}),!b)return}else if(b.props.page.status>=400&&await fe.check())return await xn(),await R(t,i);if(Un(),Nn&&!n&&(L(_),Wn(v),i?en(_):Qt(_)),b.props.page.url.pathname!==t.pathname&&(t.pathname=b.props.page.url.pathname),n)a=n.state;else{let n=nt(a);a=D(n);let s=+!i;e!==`enter`&&r&&(J+=1);let c={[k]:{historyIndex:K+=s,navigationIndex:q+=s,state:n,persistState:o,resetIndex:J}};(i?history.replaceState:history.pushState).call(history,c,``,t),yn(K,c[k]),i||bn(K,q)}let x=f&&V?.id===f.id?V.fork:null;V?.fork&&!x?kn():(V=null,Q={element:void 0,href:void 0}),b.props.page.state=a,b.props.page.shallow=n?.shallow??null;let ee;if(Nn){await fr(g.navigation);let e=n?.shallow?{params:b.state.params,route:{id:b.state.route?.id??null},url:b.state.url}:g.navigation.to;U={...b.state,nav:{params:e.params,route:e.route,url:e.url}},b.props.page&&(b.props.page.url=t),Wt(r);let i=x&&await x;if(i){ee=i.commit();for(let e of vn)e();vn.clear()}else kr(b),ee=ae().then(()=>{for(let e of vn)e();vn.clear()});Pn=!0}else await Zn(b,Tn,!1);await pr(g,c,t,n?.scroll,r,ee)&&(e===`popstate`&&Gn(q),$t(K,y),w(null))}async function fr(e){let t=(await Promise.all(Array.from(jn,t=>t(e)))).filter(e=>typeof e==`function`);if(t.length>0){function e(){t.forEach(e=>H.delete(e))}t.push(e),t.forEach(e=>H.add(e))}}async function pr(e,t,n,r,i,a){return await a,Y===t?(Jt(n,i,r),i&&document.activeElement===document.body&&Kt(n),W=!1,e.fulfil(void 0),e.navigation.to&&(e.navigation.to.scroll=It()),H.forEach(t=>t(e.navigation)),!0):(e.reject(Error(`navigation aborted`)),!1)}async function mr(e,t,n,r){return e.origin===Pt&&e.pathname===location.pathname&&!Mn?await or({error:n,url:e,route:t}):await R(e,r)}var Q={element:void 0,href:void 0};function hr(){let e,t,n;function r(){clearTimeout(e),t?.removeEventListener(`mousemove`,i),t?.removeEventListener(`mouseleave`,r),t=void 0}function i(){clearTimeout(e),e=setTimeout(()=>{t&&s(t,A.hover)},20)}z.addEventListener(`mouseover`,e=>{if(!(e.target instanceof Element))return;let n=zt(e.target,z);if(!n||n===t)return;r(),t=n;let a=M(n);a.preload_code<A.hover&&a.preload_data<A.hover||(n.addEventListener(`mousemove`,i),n.addEventListener(`mouseleave`,r,{once:!0}),i())});function a(e){if(e.defaultPrevented)return;let t=zt(e.composedPath()[0],z);t&&s(t,A.tap)}z.addEventListener(`mousedown`,a),z.addEventListener(`touchstart`,a,{passive:!0});let o=new IntersectionObserver(e=>{for(let t of e)t.isIntersecting&&(Xn(new URL(t.target.href)),o.unobserve(t.target))},{threshold:0});async function s(e,t){let r=e===Q.element&&e?.href===Q.href&&t>=n;if(!e||r)return;let{url:i,external:a,download:o}=Bt(e,C,B.hash);if(a||o)return;let s=M(e),c=i&&lr(U.url)===lr(i);if(!(s.reload||c)){if(t<=s.preload_data){Q={element:e,href:e.href},n=A.tap;let t=await Z(i,!1);if(!t)return;Jn(t).catch(N)}else t<=s.preload_code&&(Q={element:e,href:e.href},n=t,Xn(i))}}function c(){o.disconnect();for(let e of z.querySelectorAll(`a`)){let{url:t,external:n,download:r}=Bt(e,C,B.hash);if(n||r)continue;let i=M(e);i.reload||(i.preload_code===A.viewport&&o.observe(e),i.preload_code===A.eager&&Xn(t))}}H.add(c),c()}async function $(e,t){if(e instanceof Tt)return e.body;let n;n=e instanceof O?{kind:`app`,error:e.body}:e instanceof Dt?{kind:`framework`,error:{status:e.status,message:e.text}}:{kind:`unknown`,error:e};let r=n.kind===`unknown`?{status:500,message:`Internal Error`}:n.error,i={...n,event:t},a=await B.hooks.handleError(i);return{...r,...a}}function gr(e,t){re(()=>(e.add(t),()=>{e.delete(t)}))}function _r(e){gr(H,e)}async function vr(e,t){let n=new URL(Ft(e));n.origin!==Pt&&xt({caller:t,url:String(e)});let r=await Z(n,!1);return r||St({caller:t,url:String(e)}),r}async function yr(e,t={}){let n=t.replace??t.replaceState??!1,r=await vr(e,`goto`);return t.shallow?xr(r,t.state??{},{replace:n,persist_state:t.persistState??!1,reset:t.reset??!1},`goto`):qn(r.url,{...t,replace:n,refreshAll:t.refreshAll??t.invalidateAll},0,{},r)}function br(e){if(typeof e==`function`)On.push(e);else{let{href:t}=new URL(e,location.href);On.push(e=>e.href===t)}}async function xr(e,t,{replace:n,persist_state:r,reset:i},a){let o=e.url,s=Zt(),c=a===`goto`?ur({url:o,type:`goto`,intent:e,shallow:!0}):void 0;if(!c&&a===`goto`)return;let l={};c&&(Y=X=l,W=!0,w(c.navigation)),n?en(K):(L(K),Qt(K)),i&&(J+=1);let u=nt(t);t=D(u);let d={[k]:{historyIndex:K+=+!n,navigationIndex:q,pageUrl:me.url.href,state:u,persistState:r,resetIndex:J}};(n?history.replaceState:history.pushState).call(history,d,``,o),yn(K,d[k]),n||(Pn=!0,bn(K,q)),c&&await fr(c.navigation),Wt(i),pe({state:t,shallow:{params:e?.params??null,route:e?{id:e.route.id}:null,url:o}}),(!c||await pr(c,l,o,null,i,ae()))&&($t(K,s),c&&w(null))}function Sr(){history.scrollRestoration=`manual`,addEventListener(`beforeunload`,e=>{let t=!1;if(Kn(),!W){let e=Dr(U,void 0,null,`leave`),n={...e.navigation,cancel:()=>{t=!0,e.reject(Error(`navigation cancelled`))}};An.forEach(e=>e(n))}t&&(e.preventDefault(),e.returnValue=``)}),addEventListener(`visibilitychange`,()=>{document.visibilityState===`hidden`?Kn():fe.check()}),addEventListener(`focus`,()=>{fe.check()}),navigator.connection?.saveData||hr(),z.addEventListener(`click`,async t=>{if(t.button||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.defaultPrevented)return;let n=zt(t.composedPath()[0],z);if(!n)return;let{url:r,external:i,target:a,download:o}=Bt(n,C,B.hash);if(!r)return;if(a===`_parent`||a===`_top`){if(window.parent!==window)return}else if(a&&a!==`_self`)return;let s=M(n);if(!(n instanceof SVGAElement)&&r.protocol!==location.protocol&&r.protocol!==`https:`&&r.protocol!==`http:`||o)return;let[c,l]=(B.hash?r.hash.replace(/^#/,``):r.href).split(`#`),u=c===se(location);if(i||s.reload&&(!u||!l)){ur({url:r,type:`link`,event:t})?W=!0:t.preventDefault();return}if(l!==void 0&&u){let[,i]=U.url.href.split(`#`);if(i===l){if(t.preventDefault(),l===``||l===`top`&&n.ownerDocument.getElementById(`top`)===null)scrollTo({top:0});else{let e=n.ownerDocument.getElementById(decodeURIComponent(l));e&&(e.scrollIntoView(),e.focus())}return}if(G={...In(),resetIndex:J+ +!!s.reset},L(K),e(r),!s.replace_state)return;G=null}t.preventDefault(),await new Promise(e=>{requestAnimationFrame(()=>{setTimeout(e,0)}),setTimeout(e,100)});let d=r.href!==location.href;await qn(r,{type:`link`,reset:s.reset,replace:s.replace_state??!d,refreshAll:!d,event:t})}),z.addEventListener(`submit`,e=>{if(e.defaultPrevented)return;let t=HTMLFormElement.prototype.cloneNode.call(e.target),n=e.submitter;if((n?.formTarget||t.target)===`_blank`||(n?.formMethod||t.method)!==`get`)return;let r=new URL(n?.hasAttribute(`formaction`)&&n?.formAction||t.action);if(Vt(r,C,!1))return;let i=e.target,a=M(i);if(a.reload)return;e.preventDefault(),e.stopPropagation();let o=new FormData(i,n);r.search=new URLSearchParams(o).toString(),dr({type:`form`,url:r,reset:a.reset,replace_state:a.replace_state??r.href===location.href,event:e})}),addEventListener(`popstate`,async t=>{let n=In(t.state);if(n?.historyIndex){let r=n.historyIndex,i=P[K];if(r===K)return;Y=X={};let a=r-K,o=n.resetIndex,s=o!==(i?.resetIndex??J),c=P[r]?.scroll,l=D(n.state),u=new URL(n.pageUrl??location.href),d=n.navigationIndex,f=U.url&&(location.href+U.url.href).includes(`#`)?se(location)===se(U.url):!1,p=d===q&&(Pn&&(n.pageUrl===void 0||n.pageUrl===location.href)||f),m=n.pageUrl?new URL(location.href):null,h=K,g=q,_=J;L(h),p||Wn(g),Qt(h),K=r,q=d,J=o;let v=Y,y=m?await Z(m,!1):void 0;if(Y!==v)return;let b=m?{params:y?.params??null,route:y?{id:y.route.id}:null,url:m}:null;if(p){Wt(s),pe({state:l,shallow:b}),e(u),s&&c&&scrollTo(c.x,c.y),$t(K,Zt()),W=!1,w(null);return}await dr({type:`popstate`,url:u,reset:s,popped:{state:l,scroll:c,delta:a,shallow:b},block:()=>{K=h,q=g,J=_,history.go(-a)},nav_token:v,event:t})}else G||(e(new URL(location.href)),B.hash&&location.reload())}),addEventListener(`hashchange`,()=>{if(G){let e=G;G=null,J=e.resetIndex,history.replaceState({...history.state,[k]:{...e,historyIndex:++K,navigationIndex:q}},``,location.href),yn(K,e)}});for(let e of document.querySelectorAll(`link`))_n.has(e.rel)&&(e.href=e.href);addEventListener(`pageshow`,e=>{if(e.persisted){w(null);let e=P[K]?.scroll;e&&scrollTo(e.x,e.y)}});function e(e){U.url=e,pe({url:e})}}async function Cr(e,{status:t,error:n,node_ids:r,params:i,route:a,server_route:o,data:s,form:c}){Mn=!0;let l=new URL(location.href),u;({params:i={},route:a={id:null}}=await Z(l,!1)||{}),u=Sn.find(({id:e})=>e===a.id);let d,f=!0;try{let e=r.map(async(t,n)=>{let r=s[n];return r?.uses&&(r.uses=Er(r.uses)),$n({loader:B.nodes[t],url:l,params:i,route:a,parent:async()=>{let t={};for(let r=0;r<n;r+=1)Object.assign(t,(await e[r]).data);return t},server_data_node:tr(r)})}),o=await Promise.all(e);if(u){let e=u.layouts;for(let t=0;t<e.length;t++)e[t]||o.splice(t,0,void 0)}d=await Qn({url:l,params:i,branch:o,status:t,error:n,errors:u?.errors,form:c,route:u??null})}catch(t){if(t instanceof Et)return await R(new URL(t.location,location.href));d=await or({error:await $(t,{url:l,params:i,route:a}),url:l,route:a}),e.textContent=``,f=!1}if(d){if(d.props.page){let e=In();d.props.page.state=e?.persistState?D(e.state):{}}await Zn(d,e,f)}}async function wr(e,t){for(let t of e.searchParams.keys())t.startsWith(`x-sveltekit-`)&&wt({key:t});let n=new URL(e);n.pathname=sn(e.pathname),e.pathname.endsWith(`/`)&&n.searchParams.append(st,`1`),n.searchParams.append(ot,t.map(e=>e?`1`:`0`).join(``));let r=await(0,window.fetch)(n.href,{});if(he(r.headers.get(`x-sveltekit-version`)),!r.ok){let e={status:r.status,message:`Internal Error`};throw r.headers.get(`content-type`)?.includes(`application/json`)?e={status:r.status,...await r.json()}:r.status===404&&(e.message=`Not Found`),new Tt(e)}return new Promise((e,t)=>{Tr(e,r).catch(t)})}async function Tr(e,t){let n=t.body.getReader(),r=new Map;function i(e){return Xe(e,{...B.decoders,Promise:e=>new Promise((t,n)=>{r.set(e,{fulfil:t,reject:n})})})}for await(let t of ln(n)){if(t.type===`redirect`)return e(t);if(t.type===`data`)t.nodes?.forEach(e=>{e?.type===`data`&&(e.uses=Er(e.uses),e.data=i(e.data))}),e(t);else if(t.type===`chunk`){let{id:e,data:n,error:a}=t,o=r.get(e);r.delete(e),a?o.reject(i(a)):o.fulfil(i(n))}}}function Er(e){return{dependencies:new Set(e?.dependencies??[]),params:new Set(e?.params??[]),parent:!!e?.parent,route:!!e?.route,url:!!e?.url,search_params:new Set(e?.search_params??[])}}function Dr(e,t,n,r,i=null,a=!1,o){let s,c,l=new Promise((e,t)=>{s=e,c=t});return l.catch(N),{navigation:{from:r===`enter`?null:{params:e.params,route:{id:e.route?.id??null},url:e.url,scroll:It()},to:n&&{params:o?o.params:t?.params??null,route:{id:o?o.route?.id??null:t?.route?.id??null},url:o?.url??n,scroll:i},willUnload:!a&&!t,type:r,shallow:a,complete:l},fulfil:s,reject:c}}function Or(e){let t=new URL(e);return t.hash=decodeURIComponent(e.hash),t}function kr(e){pe(e.props.page),I.tree.data=e.props.tree.data,I.tree.child=e.props.tree.child,`form`in e.props&&(I.form=e.props.form),`error`in e.props&&(I.error=e.props.error)}export{Ye as _,zn as a,Bn as c,Ut as d,Tt as f,_t as g,bt as h,$ as i,N as l,yt as m,B as n,Rn as o,O as p,yr as r,En as s,qn as t,rn as u};
@@ -1,29 +1,29 @@
1
- import{A as e,I as t,J as n,K as r,L as i,M as a,V as o,W as s,X as c,Y as l,k as u,q as d}from"./Cwz551Q0.js";import{t as f}from"./Bq3k_s8n.js";var p=class extends t{constructor(){super(...arguments),this.inset=!1,this.insetStart=!1,this.insetEnd=!1}};c([d({type:Boolean,reflect:!0})],p.prototype,`inset`,void 0),c([d({type:Boolean,reflect:!0,attribute:`inset-start`})],p.prototype,`insetStart`,void 0),c([d({type:Boolean,reflect:!0,attribute:`inset-end`})],p.prototype,`insetEnd`,void 0);var m=n`:host{box-sizing:border-box;color:var(--md-divider-color, var(--md-sys-color-outline-variant, #cac4d0));display:flex;height:var(--md-divider-thickness, 1px);width:100%}:host([inset]),:host([inset-start]){padding-inline-start:16px}:host([inset]),:host([inset-end]){padding-inline-end:16px}:host::before{background:currentColor;content:"";height:100%;width:100%}@media(forced-colors: active){:host::before{background:CanvasText}}
2
- `;m.styleSheet;var h=class extends p{};h.styles=[m],h=c([l(`md-divider`)],h);var g={dialog:[[[{transform:`translateY(-50px)`},{transform:`translateY(0)`}],{duration:500,easing:e.EMPHASIZED}]],scrim:[[[{opacity:0},{opacity:.32}],{duration:500,easing:`linear`}]],container:[[[{opacity:0},{opacity:1}],{duration:50,easing:`linear`,pseudoElement:`::before`}],[[{height:`35%`},{height:`100%`}],{duration:500,easing:e.EMPHASIZED,pseudoElement:`::before`}]],headline:[[[{opacity:0},{opacity:0,offset:.2},{opacity:1}],{duration:250,easing:`linear`,fill:`forwards`}]],content:[[[{opacity:0},{opacity:0,offset:.2},{opacity:1}],{duration:250,easing:`linear`,fill:`forwards`}]],actions:[[[{opacity:0},{opacity:0,offset:.5},{opacity:1}],{duration:300,easing:`linear`,fill:`forwards`}]]},_={dialog:[[[{transform:`translateY(0)`},{transform:`translateY(-50px)`}],{duration:150,easing:e.EMPHASIZED_ACCELERATE}]],scrim:[[[{opacity:.32},{opacity:0}],{duration:150,easing:`linear`}]],container:[[[{height:`100%`},{height:`35%`}],{duration:150,easing:e.EMPHASIZED_ACCELERATE,pseudoElement:`::before`}],[[{opacity:`1`},{opacity:`0`}],{delay:100,duration:50,easing:`linear`,pseudoElement:`::before`}]],headline:[[[{opacity:1},{opacity:0}],{duration:100,easing:`linear`,fill:`forwards`}]],content:[[[{opacity:1},{opacity:0}],{duration:100,easing:`linear`,fill:`forwards`}]],actions:[[[{opacity:1},{opacity:0}],{duration:100,easing:`linear`,fill:`forwards`}]]},v=u(t),y=class extends v{get open(){return this.isOpen}set open(e){e!==this.isOpen&&(this.isOpen=e,e?(this.setAttribute(`open`,``),this.show()):(this.removeAttribute(`open`),this.close()))}constructor(){super(),this.quick=!1,this.returnValue=``,this.noFocusTrap=!1,this.getOpenAnimation=()=>g,this.getCloseAnimation=()=>_,this.isOpen=!1,this.isOpening=!1,this.isConnectedPromise=this.getIsConnectedPromise(),this.isAtScrollTop=!1,this.isAtScrollBottom=!1,this.nextClickIsFromContent=!1,this.hasHeadline=!1,this.hasActions=!1,this.hasIcon=!1,this.escapePressedWithoutCancel=!1,this.treewalker=document.createTreeWalker(this,NodeFilter.SHOW_ELEMENT),this.addEventListener(`submit`,this.handleSubmit)}async show(){this.isOpening=!0,await this.isConnectedPromise,await this.updateComplete;let e=this.dialog;e.open||!this.isOpening?this.isOpening=!1:this.dispatchEvent(new Event(`open`,{cancelable:!0}))?(e.showModal(),this.open=!0,this.scroller&&(this.scroller.scrollTop=0),this.querySelector(`[autofocus]`)?.focus(),await this.animateDialog(this.getOpenAnimation()),this.dispatchEvent(new Event(`opened`)),this.isOpening=!1):(this.open=!1,this.isOpening=!1)}async close(e=this.returnValue){if(this.isOpening=!1,!this.isConnected){this.open=!1;return}await this.updateComplete;let t=this.dialog;if(!t.open||this.isOpening){this.open=!1;return}let n=this.returnValue;this.returnValue=e,this.dispatchEvent(new Event(`close`,{cancelable:!0}))?(await this.animateDialog(this.getCloseAnimation()),t.close(e),this.open=!1,this.dispatchEvent(new Event(`closed`))):this.returnValue=n}connectedCallback(){super.connectedCallback(),this.isConnectedPromiseResolve()}disconnectedCallback(){super.disconnectedCallback(),this.isConnectedPromise=this.getIsConnectedPromise()}render(){let e=this.open&&!(this.isAtScrollTop&&this.isAtScrollBottom),t={"has-headline":this.hasHeadline,"has-actions":this.hasActions,"has-icon":this.hasIcon,scrollable:e,"show-top-divider":e&&!this.isAtScrollTop,"show-bottom-divider":e&&!this.isAtScrollBottom},n=this.open&&!this.noFocusTrap,r=o`
1
+ import{A as e,D as t,O as n,S as r,T as i,_ as a,d as o,j as s,k as c,p as l,u,v as d}from"./DRNNJMYk.js";import{t as f}from"./w5i9ZoX_.js";var p=class extends a{constructor(){super(...arguments),this.inset=!1,this.insetStart=!1,this.insetEnd=!1}};s([n({type:Boolean,reflect:!0})],p.prototype,`inset`,void 0),s([n({type:Boolean,reflect:!0,attribute:`inset-start`})],p.prototype,`insetStart`,void 0),s([n({type:Boolean,reflect:!0,attribute:`inset-end`})],p.prototype,`insetEnd`,void 0);var m=c`:host{box-sizing:border-box;color:var(--md-divider-color, var(--md-sys-color-outline-variant, #cac4d0));display:flex;height:var(--md-divider-thickness, 1px);width:100%}:host([inset]),:host([inset-start]){padding-inline-start:16px}:host([inset]),:host([inset-end]){padding-inline-end:16px}:host::before{background:currentColor;content:"";height:100%;width:100%}@media(forced-colors: active){:host::before{background:CanvasText}}
2
+ `;m.styleSheet;var h=class extends p{};h.styles=[m],h=s([e(`md-divider`)],h);var g={dialog:[[[{transform:`translateY(-50px)`},{transform:`translateY(0)`}],{duration:500,easing:o.EMPHASIZED}]],scrim:[[[{opacity:0},{opacity:.32}],{duration:500,easing:`linear`}]],container:[[[{opacity:0},{opacity:1}],{duration:50,easing:`linear`,pseudoElement:`::before`}],[[{height:`35%`},{height:`100%`}],{duration:500,easing:o.EMPHASIZED,pseudoElement:`::before`}]],headline:[[[{opacity:0},{opacity:0,offset:.2},{opacity:1}],{duration:250,easing:`linear`,fill:`forwards`}]],content:[[[{opacity:0},{opacity:0,offset:.2},{opacity:1}],{duration:250,easing:`linear`,fill:`forwards`}]],actions:[[[{opacity:0},{opacity:0,offset:.5},{opacity:1}],{duration:300,easing:`linear`,fill:`forwards`}]]},_={dialog:[[[{transform:`translateY(0)`},{transform:`translateY(-50px)`}],{duration:150,easing:o.EMPHASIZED_ACCELERATE}]],scrim:[[[{opacity:.32},{opacity:0}],{duration:150,easing:`linear`}]],container:[[[{height:`100%`},{height:`35%`}],{duration:150,easing:o.EMPHASIZED_ACCELERATE,pseudoElement:`::before`}],[[{opacity:`1`},{opacity:`0`}],{delay:100,duration:50,easing:`linear`,pseudoElement:`::before`}]],headline:[[[{opacity:1},{opacity:0}],{duration:100,easing:`linear`,fill:`forwards`}]],content:[[[{opacity:1},{opacity:0}],{duration:100,easing:`linear`,fill:`forwards`}]],actions:[[[{opacity:1},{opacity:0}],{duration:100,easing:`linear`,fill:`forwards`}]]},v=u(a),y=class extends v{get open(){return this.isOpen}set open(e){e!==this.isOpen&&(this.isOpen=e,e?(this.setAttribute(`open`,``),this.show()):(this.removeAttribute(`open`),this.close()))}constructor(){super(),this.quick=!1,this.returnValue=``,this.noFocusTrap=!1,this.getOpenAnimation=()=>g,this.getCloseAnimation=()=>_,this.isOpen=!1,this.isOpening=!1,this.isConnectedPromise=this.getIsConnectedPromise(),this.isAtScrollTop=!1,this.isAtScrollBottom=!1,this.nextClickIsFromContent=!1,this.hasHeadline=!1,this.hasActions=!1,this.hasIcon=!1,this.escapePressedWithoutCancel=!1,this.treewalker=document.createTreeWalker(this,NodeFilter.SHOW_ELEMENT),this.addEventListener(`submit`,this.handleSubmit)}async show(){this.isOpening=!0,await this.isConnectedPromise,await this.updateComplete;let e=this.dialog;e.open||!this.isOpening?this.isOpening=!1:this.dispatchEvent(new Event(`open`,{cancelable:!0}))?(e.showModal(),this.open=!0,this.scroller&&(this.scroller.scrollTop=0),this.querySelector(`[autofocus]`)?.focus(),await this.animateDialog(this.getOpenAnimation()),this.dispatchEvent(new Event(`opened`)),this.isOpening=!1):(this.open=!1,this.isOpening=!1)}async close(e=this.returnValue){if(this.isOpening=!1,!this.isConnected){this.open=!1;return}await this.updateComplete;let t=this.dialog;if(!t.open||this.isOpening){this.open=!1;return}let n=this.returnValue;this.returnValue=e,this.dispatchEvent(new Event(`close`,{cancelable:!0}))?(await this.animateDialog(this.getCloseAnimation()),t.close(e),this.open=!1,this.dispatchEvent(new Event(`closed`))):this.returnValue=n}connectedCallback(){super.connectedCallback(),this.isConnectedPromiseResolve()}disconnectedCallback(){super.disconnectedCallback(),this.isConnectedPromise=this.getIsConnectedPromise()}render(){let e=this.open&&!(this.isAtScrollTop&&this.isAtScrollBottom),t={"has-headline":this.hasHeadline,"has-actions":this.hasActions,"has-icon":this.hasIcon,scrollable:e,"show-top-divider":e&&!this.isAtScrollTop,"show-bottom-divider":e&&!this.isAtScrollBottom},n=this.open&&!this.noFocusTrap,i=r`
3
3
  <div
4
4
  class="focus-trap"
5
5
  tabindex="0"
6
6
  aria-hidden="true"
7
7
  @focus=${this.handleFocusTrapFocus}></div>
8
- `,{ariaLabel:s}=this;return o`
8
+ `,{ariaLabel:a}=this;return r`
9
9
  <div class="scrim"></div>
10
10
  <dialog
11
- class=${a(t)}
12
- aria-label=${s||i}
13
- aria-labelledby=${this.hasHeadline?`headline`:i}
14
- role=${this.type===`alert`?`alertdialog`:i}
11
+ class=${l(t)}
12
+ aria-label=${a||d}
13
+ aria-labelledby=${this.hasHeadline?`headline`:d}
14
+ role=${this.type===`alert`?`alertdialog`:d}
15
15
  @cancel=${this.handleCancel}
16
16
  @click=${this.handleDialogClick}
17
17
  @close=${this.handleClose}
18
18
  @keydown=${this.handleKeydown}
19
- .returnValue=${this.returnValue||i}>
20
- ${n?r:i}
19
+ .returnValue=${this.returnValue||d}>
20
+ ${n?i:d}
21
21
  <div class="container" @click=${this.handleContentClick}>
22
22
  <div class="headline">
23
23
  <div class="icon" aria-hidden="true">
24
24
  <slot name="icon" @slotchange=${this.handleIconChange}></slot>
25
25
  </div>
26
- <h2 id="headline" aria-hidden=${!this.hasHeadline||i}>
26
+ <h2 id="headline" aria-hidden=${!this.hasHeadline||d}>
27
27
  <slot
28
28
  name="headline"
29
29
  @slotchange=${this.handleHeadlineChange}></slot>
@@ -42,7 +42,7 @@ import{A as e,I as t,J as n,K as r,L as i,M as a,V as o,W as s,X as c,Y as l,k a
42
42
  <slot name="actions" @slotchange=${this.handleActionsChange}></slot>
43
43
  </div>
44
44
  </div>
45
- ${n?r:i}
45
+ ${n?i:d}
46
46
  </dialog>
47
- `}firstUpdated(){this.intersectionObserver=new IntersectionObserver(e=>{for(let t of e)this.handleAnchorIntersection(t)},{root:this.scroller}),this.intersectionObserver.observe(this.topAnchor),this.intersectionObserver.observe(this.bottomAnchor)}handleDialogClick(){this.nextClickIsFromContent?this.nextClickIsFromContent=!1:this.dispatchEvent(new Event(`cancel`,{cancelable:!0}))&&this.close()}handleContentClick(){this.nextClickIsFromContent=!0}handleSubmit(e){let t=e.target,{submitter:n}=e;t.getAttribute(`method`)===`dialog`&&n&&this.close(n.getAttribute(`value`)??this.returnValue)}handleCancel(e){if(e.target!==this.dialog)return;this.escapePressedWithoutCancel=!1;let t=!f(this,e);e.preventDefault(),t||this.close()}handleClose(){this.escapePressedWithoutCancel&&(this.escapePressedWithoutCancel=!1,this.dialog?.dispatchEvent(new Event(`cancel`,{cancelable:!0})))}handleKeydown(e){e.key===`Escape`&&(this.escapePressedWithoutCancel=!0,setTimeout(()=>{this.escapePressedWithoutCancel=!1}))}async animateDialog(e){if(this.cancelAnimations?.abort(),this.cancelAnimations=new AbortController,this.quick)return;let{dialog:t,scrim:n,container:r,headline:i,content:a,actions:o}=this;if(!t||!n||!r||!i||!a||!o)return;let{container:s,dialog:c,scrim:l,headline:u,content:d,actions:f}=e,p=[[t,c??[]],[n,l??[]],[r,s??[]],[i,u??[]],[a,d??[]],[o,f??[]]],m=[];for(let[e,t]of p)for(let n of t){let t=e.animate(...n);this.cancelAnimations.signal.addEventListener(`abort`,()=>{t.cancel()}),m.push(t)}await Promise.all(m.map(e=>e.finished.catch(()=>{})))}handleHeadlineChange(e){let t=e.target;this.hasHeadline=t.assignedElements().length>0}handleActionsChange(e){let t=e.target;this.hasActions=t.assignedElements().length>0}handleIconChange(e){let t=e.target;this.hasIcon=t.assignedElements().length>0}handleAnchorIntersection(e){let{target:t,isIntersecting:n}=e;t===this.topAnchor&&(this.isAtScrollTop=n),t===this.bottomAnchor&&(this.isAtScrollBottom=n)}getIsConnectedPromise(){return new Promise(e=>{this.isConnectedPromiseResolve=e})}handleFocusTrapFocus(e){let[t,n]=this.getFirstAndLastFocusableChildren();if(!t||!n){this.dialog?.focus();return}let r=e.target===this.firstFocusTrap,i=!r,a=e.relatedTarget===t,o=e.relatedTarget===n,s=!a&&!o;i&&o||r&&s?t.focus():(r&&a||i&&s)&&n.focus()}getFirstAndLastFocusableChildren(){if(!this.treewalker)return[null,null];let e=null,t=null;for(this.treewalker.currentNode=this.treewalker.root;this.treewalker.nextNode();){let n=this.treewalker.currentNode;b(n)&&(e||=n,t=n)}return[e,t]}};c([d({type:Boolean})],y.prototype,`open`,null),c([d({type:Boolean})],y.prototype,`quick`,void 0),c([d({attribute:!1})],y.prototype,`returnValue`,void 0),c([d()],y.prototype,`type`,void 0),c([d({type:Boolean,attribute:`no-focus-trap`})],y.prototype,`noFocusTrap`,void 0),c([s(`dialog`)],y.prototype,`dialog`,void 0),c([s(`.scrim`)],y.prototype,`scrim`,void 0),c([s(`.container`)],y.prototype,`container`,void 0),c([s(`.headline`)],y.prototype,`headline`,void 0),c([s(`.content`)],y.prototype,`content`,void 0),c([s(`.actions`)],y.prototype,`actions`,void 0),c([r()],y.prototype,`isAtScrollTop`,void 0),c([r()],y.prototype,`isAtScrollBottom`,void 0),c([s(`.scroller`)],y.prototype,`scroller`,void 0),c([s(`.top.anchor`)],y.prototype,`topAnchor`,void 0),c([s(`.bottom.anchor`)],y.prototype,`bottomAnchor`,void 0),c([s(`.focus-trap`)],y.prototype,`firstFocusTrap`,void 0),c([r()],y.prototype,`hasHeadline`,void 0),c([r()],y.prototype,`hasActions`,void 0),c([r()],y.prototype,`hasIcon`,void 0);function b(e){let t=`:not(:disabled,[disabled])`;return e.matches(`:is(button,input,select,textarea,object,:is(a,area)[href],[tabindex],[contenteditable=true])`+t+`:not([tabindex^="-"])`)?!0:!e.localName.includes(`-`)||!e.matches(t)?!1:e.shadowRoot?.delegatesFocus??!1}var x=n`:host{border-start-start-radius:var(--md-dialog-container-shape-start-start, var(--md-dialog-container-shape, var(--md-sys-shape-corner-extra-large, 28px)));border-start-end-radius:var(--md-dialog-container-shape-start-end, var(--md-dialog-container-shape, var(--md-sys-shape-corner-extra-large, 28px)));border-end-end-radius:var(--md-dialog-container-shape-end-end, var(--md-dialog-container-shape, var(--md-sys-shape-corner-extra-large, 28px)));border-end-start-radius:var(--md-dialog-container-shape-end-start, var(--md-dialog-container-shape, var(--md-sys-shape-corner-extra-large, 28px)));display:contents;margin:auto;max-height:min(560px,100% - 48px);max-width:min(560px,100% - 48px);min-height:140px;min-width:280px;position:fixed;height:fit-content;width:fit-content}dialog{background:rgba(0,0,0,0);border:none;border-radius:inherit;flex-direction:column;height:inherit;margin:inherit;max-height:inherit;max-width:inherit;min-height:inherit;min-width:inherit;outline:none;overflow:visible;padding:0;width:inherit}dialog[open]{display:flex}::backdrop{background:none}.scrim{background:var(--md-sys-color-scrim, #000);display:none;inset:0;opacity:32%;pointer-events:none;position:fixed;z-index:1}:host([open]) .scrim{display:flex}h2{all:unset;align-self:stretch}.headline{align-items:center;color:var(--md-dialog-headline-color, var(--md-sys-color-on-surface, #1d1b20));display:flex;flex-direction:column;font-family:var(--md-dialog-headline-font, var(--md-sys-typescale-headline-small-font, var(--md-ref-typeface-brand, Roboto)));font-size:var(--md-dialog-headline-size, var(--md-sys-typescale-headline-small-size, 1.5rem));line-height:var(--md-dialog-headline-line-height, var(--md-sys-typescale-headline-small-line-height, 2rem));font-weight:var(--md-dialog-headline-weight, var(--md-sys-typescale-headline-small-weight, var(--md-ref-typeface-weight-regular, 400)));position:relative}slot[name=headline]::slotted(*){align-items:center;align-self:stretch;box-sizing:border-box;display:flex;gap:8px;padding:24px 24px 0}.icon{display:flex}slot[name=icon]::slotted(*){color:var(--md-dialog-icon-color, var(--md-sys-color-secondary, #625b71));fill:currentColor;font-size:var(--md-dialog-icon-size, 24px);margin-top:24px;height:var(--md-dialog-icon-size, 24px);width:var(--md-dialog-icon-size, 24px)}.has-icon slot[name=headline]::slotted(*){justify-content:center;padding-top:16px}.scrollable slot[name=headline]::slotted(*){padding-bottom:16px}.scrollable.has-headline slot[name=content]::slotted(*){padding-top:8px}.container{border-radius:inherit;display:flex;flex-direction:column;flex-grow:1;overflow:hidden;position:relative;transform-origin:top}.container::before{background:var(--md-dialog-container-color, var(--md-sys-color-surface-container-high, #ece6f0));border-radius:inherit;content:"";inset:0;position:absolute}.scroller{display:flex;flex:1;flex-direction:column;overflow:hidden;z-index:1}.scrollable .scroller{overflow-y:scroll}.content{color:var(--md-dialog-supporting-text-color, var(--md-sys-color-on-surface-variant, #49454f));font-family:var(--md-dialog-supporting-text-font, var(--md-sys-typescale-body-medium-font, var(--md-ref-typeface-plain, Roboto)));font-size:var(--md-dialog-supporting-text-size, var(--md-sys-typescale-body-medium-size, 0.875rem));line-height:var(--md-dialog-supporting-text-line-height, var(--md-sys-typescale-body-medium-line-height, 1.25rem));flex:1;font-weight:var(--md-dialog-supporting-text-weight, var(--md-sys-typescale-body-medium-weight, var(--md-ref-typeface-weight-regular, 400)));height:min-content;position:relative}slot[name=content]::slotted(*){box-sizing:border-box;padding:24px}.anchor{position:absolute}.top.anchor{top:0}.bottom.anchor{bottom:0}.actions{position:relative}slot[name=actions]::slotted(*){box-sizing:border-box;display:flex;gap:8px;justify-content:flex-end;padding:16px 24px 24px}.has-actions slot[name=content]::slotted(*){padding-bottom:8px}md-divider{display:none;position:absolute}.has-headline.show-top-divider .headline md-divider,.has-actions.show-bottom-divider .actions md-divider{display:flex}.headline md-divider{bottom:0}.actions md-divider{top:0}@media(forced-colors: active){dialog{outline:2px solid WindowText}}
48
- `;x.styleSheet;var S=class extends y{};S.styles=[x],S=c([l(`md-dialog`)],S);
47
+ `}firstUpdated(){this.intersectionObserver=new IntersectionObserver(e=>{for(let t of e)this.handleAnchorIntersection(t)},{root:this.scroller}),this.intersectionObserver.observe(this.topAnchor),this.intersectionObserver.observe(this.bottomAnchor)}handleDialogClick(){this.nextClickIsFromContent?this.nextClickIsFromContent=!1:this.dispatchEvent(new Event(`cancel`,{cancelable:!0}))&&this.close()}handleContentClick(){this.nextClickIsFromContent=!0}handleSubmit(e){let t=e.target,{submitter:n}=e;t.getAttribute(`method`)===`dialog`&&n&&this.close(n.getAttribute(`value`)??this.returnValue)}handleCancel(e){if(e.target!==this.dialog)return;this.escapePressedWithoutCancel=!1;let t=!f(this,e);e.preventDefault(),t||this.close()}handleClose(){this.escapePressedWithoutCancel&&(this.escapePressedWithoutCancel=!1,this.dialog?.dispatchEvent(new Event(`cancel`,{cancelable:!0})))}handleKeydown(e){e.key===`Escape`&&(this.escapePressedWithoutCancel=!0,setTimeout(()=>{this.escapePressedWithoutCancel=!1}))}async animateDialog(e){if(this.cancelAnimations?.abort(),this.cancelAnimations=new AbortController,this.quick)return;let{dialog:t,scrim:n,container:r,headline:i,content:a,actions:o}=this;if(!t||!n||!r||!i||!a||!o)return;let{container:s,dialog:c,scrim:l,headline:u,content:d,actions:f}=e,p=[[t,c??[]],[n,l??[]],[r,s??[]],[i,u??[]],[a,d??[]],[o,f??[]]],m=[];for(let[e,t]of p)for(let n of t){let t=e.animate(...n);this.cancelAnimations.signal.addEventListener(`abort`,()=>{t.cancel()}),m.push(t)}await Promise.all(m.map(e=>e.finished.catch(()=>{})))}handleHeadlineChange(e){let t=e.target;this.hasHeadline=t.assignedElements().length>0}handleActionsChange(e){let t=e.target;this.hasActions=t.assignedElements().length>0}handleIconChange(e){let t=e.target;this.hasIcon=t.assignedElements().length>0}handleAnchorIntersection(e){let{target:t,isIntersecting:n}=e;t===this.topAnchor&&(this.isAtScrollTop=n),t===this.bottomAnchor&&(this.isAtScrollBottom=n)}getIsConnectedPromise(){return new Promise(e=>{this.isConnectedPromiseResolve=e})}handleFocusTrapFocus(e){let[t,n]=this.getFirstAndLastFocusableChildren();if(!t||!n){this.dialog?.focus();return}let r=e.target===this.firstFocusTrap,i=!r,a=e.relatedTarget===t,o=e.relatedTarget===n,s=!a&&!o;i&&o||r&&s?t.focus():(r&&a||i&&s)&&n.focus()}getFirstAndLastFocusableChildren(){if(!this.treewalker)return[null,null];let e=null,t=null;for(this.treewalker.currentNode=this.treewalker.root;this.treewalker.nextNode();){let n=this.treewalker.currentNode;b(n)&&(e||=n,t=n)}return[e,t]}};s([n({type:Boolean})],y.prototype,`open`,null),s([n({type:Boolean})],y.prototype,`quick`,void 0),s([n({attribute:!1})],y.prototype,`returnValue`,void 0),s([n()],y.prototype,`type`,void 0),s([n({type:Boolean,attribute:`no-focus-trap`})],y.prototype,`noFocusTrap`,void 0),s([i(`dialog`)],y.prototype,`dialog`,void 0),s([i(`.scrim`)],y.prototype,`scrim`,void 0),s([i(`.container`)],y.prototype,`container`,void 0),s([i(`.headline`)],y.prototype,`headline`,void 0),s([i(`.content`)],y.prototype,`content`,void 0),s([i(`.actions`)],y.prototype,`actions`,void 0),s([t()],y.prototype,`isAtScrollTop`,void 0),s([t()],y.prototype,`isAtScrollBottom`,void 0),s([i(`.scroller`)],y.prototype,`scroller`,void 0),s([i(`.top.anchor`)],y.prototype,`topAnchor`,void 0),s([i(`.bottom.anchor`)],y.prototype,`bottomAnchor`,void 0),s([i(`.focus-trap`)],y.prototype,`firstFocusTrap`,void 0),s([t()],y.prototype,`hasHeadline`,void 0),s([t()],y.prototype,`hasActions`,void 0),s([t()],y.prototype,`hasIcon`,void 0);function b(e){let t=`:not(:disabled,[disabled])`;return e.matches(`:is(button,input,select,textarea,object,:is(a,area)[href],[tabindex],[contenteditable=true])`+t+`:not([tabindex^="-"])`)?!0:!e.localName.includes(`-`)||!e.matches(t)?!1:e.shadowRoot?.delegatesFocus??!1}var x=c`:host{border-start-start-radius:var(--md-dialog-container-shape-start-start, var(--md-dialog-container-shape, var(--md-sys-shape-corner-extra-large, 28px)));border-start-end-radius:var(--md-dialog-container-shape-start-end, var(--md-dialog-container-shape, var(--md-sys-shape-corner-extra-large, 28px)));border-end-end-radius:var(--md-dialog-container-shape-end-end, var(--md-dialog-container-shape, var(--md-sys-shape-corner-extra-large, 28px)));border-end-start-radius:var(--md-dialog-container-shape-end-start, var(--md-dialog-container-shape, var(--md-sys-shape-corner-extra-large, 28px)));display:contents;margin:auto;max-height:min(560px,100% - 48px);max-width:min(560px,100% - 48px);min-height:140px;min-width:280px;position:fixed;height:fit-content;width:fit-content}dialog{background:rgba(0,0,0,0);border:none;border-radius:inherit;flex-direction:column;height:inherit;margin:inherit;max-height:inherit;max-width:inherit;min-height:inherit;min-width:inherit;outline:none;overflow:visible;padding:0;width:inherit}dialog[open]{display:flex}::backdrop{background:none}.scrim{background:var(--md-sys-color-scrim, #000);display:none;inset:0;opacity:32%;pointer-events:none;position:fixed;z-index:1}:host([open]) .scrim{display:flex}h2{all:unset;align-self:stretch}.headline{align-items:center;color:var(--md-dialog-headline-color, var(--md-sys-color-on-surface, #1d1b20));display:flex;flex-direction:column;font-family:var(--md-dialog-headline-font, var(--md-sys-typescale-headline-small-font, var(--md-ref-typeface-brand, Roboto)));font-size:var(--md-dialog-headline-size, var(--md-sys-typescale-headline-small-size, 1.5rem));line-height:var(--md-dialog-headline-line-height, var(--md-sys-typescale-headline-small-line-height, 2rem));font-weight:var(--md-dialog-headline-weight, var(--md-sys-typescale-headline-small-weight, var(--md-ref-typeface-weight-regular, 400)));position:relative}slot[name=headline]::slotted(*){align-items:center;align-self:stretch;box-sizing:border-box;display:flex;gap:8px;padding:24px 24px 0}.icon{display:flex}slot[name=icon]::slotted(*){color:var(--md-dialog-icon-color, var(--md-sys-color-secondary, #625b71));fill:currentColor;font-size:var(--md-dialog-icon-size, 24px);margin-top:24px;height:var(--md-dialog-icon-size, 24px);width:var(--md-dialog-icon-size, 24px)}.has-icon slot[name=headline]::slotted(*){justify-content:center;padding-top:16px}.scrollable slot[name=headline]::slotted(*){padding-bottom:16px}.scrollable.has-headline slot[name=content]::slotted(*){padding-top:8px}.container{border-radius:inherit;display:flex;flex-direction:column;flex-grow:1;overflow:hidden;position:relative;transform-origin:top}.container::before{background:var(--md-dialog-container-color, var(--md-sys-color-surface-container-high, #ece6f0));border-radius:inherit;content:"";inset:0;position:absolute}.scroller{display:flex;flex:1;flex-direction:column;overflow:hidden;z-index:1}.scrollable .scroller{overflow-y:scroll}.content{color:var(--md-dialog-supporting-text-color, var(--md-sys-color-on-surface-variant, #49454f));font-family:var(--md-dialog-supporting-text-font, var(--md-sys-typescale-body-medium-font, var(--md-ref-typeface-plain, Roboto)));font-size:var(--md-dialog-supporting-text-size, var(--md-sys-typescale-body-medium-size, 0.875rem));line-height:var(--md-dialog-supporting-text-line-height, var(--md-sys-typescale-body-medium-line-height, 1.25rem));flex:1;font-weight:var(--md-dialog-supporting-text-weight, var(--md-sys-typescale-body-medium-weight, var(--md-ref-typeface-weight-regular, 400)));height:min-content;position:relative}slot[name=content]::slotted(*){box-sizing:border-box;padding:24px}.anchor{position:absolute}.top.anchor{top:0}.bottom.anchor{bottom:0}.actions{position:relative}slot[name=actions]::slotted(*){box-sizing:border-box;display:flex;gap:8px;justify-content:flex-end;padding:16px 24px 24px}.has-actions slot[name=content]::slotted(*){padding-bottom:8px}md-divider{display:none;position:absolute}.has-headline.show-top-divider .headline md-divider,.has-actions.show-bottom-divider .actions md-divider{display:flex}.headline md-divider{bottom:0}.actions md-divider{top:0}@media(forced-colors: active){dialog{outline:2px solid WindowText}}
48
+ `;x.styleSheet;var S=class extends y{};S.styles=[x],S=s([e(`md-dialog`)],S);
@@ -0,0 +1,33 @@
1
+ import{A as e,D as t,O as n,S as r,_ as i,a,c as o,j as s,k as c,l,p as u,r as ee,s as te,u as ne,v as d}from"./DRNNJMYk.js";import{a as re,i as f,n as ie}from"./VxDST09k.js";import{a as ae,i as oe,n as p,r as se,t as m}from"./BLbj0ykL.js";function h(e,t=!0){return t&&getComputedStyle(e).getPropertyValue(`direction`).trim()===`rtl`}var ce=ne(ee(a(te(i)))),g=class extends ce{constructor(){super(),this.softDisabled=!1,this.flipIconInRtl=!1,this.href=``,this.download=``,this.target=``,this.ariaLabelSelected=``,this.toggle=!1,this.selected=!1,this.flipIcon=h(this,this.flipIconInRtl),l(this,`click`),this.addEventListener(`click`,e=>{if(this.softDisabled||this.disabled&&this.href){e.stopImmediatePropagation(),e.preventDefault();return}let t=this.selected;o(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?f`div`:f`button`,{ariaLabel:t,ariaHasPopup:n,ariaExpanded:r}=this,i=t&&this.ariaLabelSelected,a=this.toggle?this.selected:d,o=d;return this.href||(o=i&&this.selected?this.ariaLabelSelected:t),re`<${e}
2
+ class="icon-button ${u(this.getRenderClasses())}"
3
+ id="button"
4
+ aria-label="${o||d}"
5
+ aria-haspopup="${!this.href&&n||d}"
6
+ aria-expanded="${!this.href&&r||d}"
7
+ aria-pressed="${a}"
8
+ aria-disabled=${!this.href&&this.softDisabled||d}
9
+ ?disabled="${!this.href&&this.disabled}">
10
+ ${this.renderFocusRing()}
11
+ ${this.renderRipple()}
12
+ ${this.selected?d:this.renderIcon()}
13
+ ${this.selected?this.renderSelectedIcon():d}
14
+ ${this.href?this.renderLink():this.renderTouchTarget()}
15
+ </${e}>`}renderLink(){let{ariaLabel:e}=this;return r`
16
+ <a
17
+ class="link"
18
+ id="link"
19
+ href="${this.href}"
20
+ download="${this.download||d}"
21
+ target="${this.target||d}"
22
+ aria-label="${e||d}">
23
+ ${this.renderTouchTarget()}
24
+ </a>
25
+ `}getRenderClasses(){return{"flip-icon":this.flipIcon,selected:this.toggle&&this.selected}}renderIcon(){return r`<span class="icon"><slot></slot></span>`}renderSelectedIcon(){return r`<span class="icon icon--selected"
26
+ ><slot name="selected"><slot></slot></slot
27
+ ></span>`}renderTouchTarget(){return r`<span class="touch"></span>`}renderFocusRing(){return r`<md-focus-ring
28
+ part="focus-ring"
29
+ for=${this.href?`link`:`button`}></md-focus-ring>`}renderRipple(){let e=!this.href&&(this.disabled||this.softDisabled);return r`<md-ripple
30
+ for=${this.href?`link`:d}
31
+ ?disabled="${e}"></md-ripple>`}connectedCallback(){this.flipIcon=h(this,this.flipIconInRtl),super.connectedCallback()}};g.shadowRootOptions={mode:`open`,delegatesFocus:!0},s([n({type:Boolean,attribute:`soft-disabled`,reflect:!0})],g.prototype,`softDisabled`,void 0),s([n({type:Boolean,attribute:`flip-icon-in-rtl`})],g.prototype,`flipIconInRtl`,void 0),s([n()],g.prototype,`href`,void 0),s([n()],g.prototype,`download`,void 0),s([n()],g.prototype,`target`,void 0),s([n({attribute:`aria-label-selected`})],g.prototype,`ariaLabelSelected`,void 0),s([n({type:Boolean})],g.prototype,`toggle`,void 0),s([n({type:Boolean,reflect:!0})],g.prototype,`selected`,void 0),s([t()],g.prototype,`flipIcon`,void 0);var _=c`: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}}
32
+ `;_.styleSheet;var v=c`: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)}
33
+ `;v.styleSheet;var y=class extends g{getRenderClasses(){return{...super.getRenderClasses(),standard:!0}}};y.styles=[_,v],y=s([e(`md-icon-button`)],y);function le(e,{singleTabStop:t=!1,wrap:n=!1,leftRight:r=!1}={}){let i=new Map([[`ArrowDown`,1],[`ArrowUp`,-1]]);return r&&i.set(`ArrowRight`,1).set(`ArrowLeft`,-1),r=>{let a=()=>[...r.querySelectorAll(e)],o=()=>{let e=a(),t=e.find(e=>e===document.activeElement)??e.find(e=>e.getAttribute(`aria-selected`)===`true`)??e[0];for(let n of e)n.tabIndex=n===t?0:-1},s=e=>{a().includes(e.relatedTarget)||o()},c=e=>{if(e.altKey||e.ctrlKey||e.metaKey||e.shiftKey)return;let t=i.get(e.key);if(t===void 0)return;let r=a(),o=r.indexOf(e.target);o!==-1&&(e.preventDefault(),r[n?(o+t+r.length)%r.length:o+t]?.focus())},l;return t&&(o(),l=new MutationObserver(o),l.observe(r,{childList:!0,subtree:!0,attributeFilter:[`aria-selected`]}),r.addEventListener(`focusin`,o),r.addEventListener(`focusout`,s)),r.addEventListener(`keydown`,c),()=>{l?.disconnect(),r.removeEventListener(`focusin`,o),r.removeEventListener(`focusout`,s),r.removeEventListener(`keydown`,c)}}}var ue={lang:void 0,message:void 0,abortEarly:void 0,abortPipeEarly:void 0};function b(e){return e?{lang:e?.lang??void 0,message:e?.message,abortEarly:e?.abortEarly??void 0,abortPipeEarly:e?.abortPipeEarly??void 0}:ue}function x(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 S(e,t,n,r,i){let a=i&&`input`in i?i.input:n.value,o=i?.expected??e.expects??null,s=i?.received??x(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 de(e,t){let n=[...new Set(e)];return n.length>1?`(${n.join(` ${t} `)})`:n[0]??`never`}function C(e){return e[`~standard`]={version:1,vendor:`valibot`,validate:t=>e[`~run`]({value:t},b())},e}function fe(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 pe=/^\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 w(e,t){return{kind:`validation`,type:`check`,reference:w,async:!1,expects:null,requirement:e,message:t,"~run"(e,t){return e.typed&&!this.requirement(e.value)&&S(this,`input`,e,t),e}}}function T(e){return{kind:`metadata`,type:`description`,reference:T,description:e}}function E(e){return{kind:`metadata`,type:`examples`,reference:E,examples:e}}function D(e){return{kind:`validation`,type:`integer`,reference:D,async:!1,expects:null,requirement:Number.isInteger,message:e,"~run"(e,t){return e.typed&&!this.requirement(e.value)&&S(this,`integer`,e,t),e}}}function O(e){return{kind:`validation`,type:`iso_timestamp`,reference:O,async:!1,expects:null,requirement:pe,message:e,"~run"(e,t){return e.typed&&!this.requirement.test(e.value)&&S(this,`timestamp`,e,t),e}}}function k(e,t){return{kind:`validation`,type:`max_value`,reference:k,async:!1,expects:`<=${e instanceof Date?e.toJSON():x(e)}`,requirement:e,message:t,"~run"(e,t){return e.typed&&!(e.value<=this.requirement)&&S(this,`value`,e,t,{received:e.value instanceof Date?e.value.toJSON():x(e.value)}),e}}}function A(e,t){return{kind:`validation`,type:`min_value`,reference:A,async:!1,expects:`>=${e instanceof Date?e.toJSON():x(e)}`,requirement:e,message:t,"~run"(e,t){return e.typed&&!(e.value>=this.requirement)&&S(this,`value`,e,t,{received:e.value instanceof Date?e.value.toJSON():x(e.value)}),e}}}function j(e,t){return{kind:`validation`,type:`regex`,reference:j,async:!1,expects:`${e}`,requirement:e,message:t,"~run"(e,t){return e.typed&&!this.requirement.test(e.value)&&S(this,`format`,e,t),e}}}function M(e,t,n){return typeof e.fallback==`function`?e.fallback(t,n):e.fallback}function N(e,t,n){return typeof e.default==`function`?e.default(t,n):e.default}function P(e,t){return C({kind:`schema`,type:`array`,reference:P,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 S(this,`type`,e,t);return e}})}function F(e){return C({kind:`schema`,type:`boolean`,reference:F,expects:`boolean`,async:!1,message:e,"~run"(e,t){return typeof e.value==`boolean`?e.typed=!0:S(this,`type`,e,t),e}})}function I(e,t){return C({kind:`schema`,type:`nullable`,reference:I,expects:`(${e.expects} | null)`,async:!1,wrapped:e,default:t,"~run"(e,t){return e.value===null&&(this.default!==void 0&&(e.value=N(this,e,t)),e.value===null)?(e.typed=!0,e):this.wrapped[`~run`](e,t)}})}function L(e){return C({kind:`schema`,type:`number`,reference:L,expects:`number`,async:!1,message:e,"~run"(e,t){return typeof e.value==`number`&&!isNaN(e.value)?e.typed=!0:S(this,`type`,e,t),e}})}function R(e,t){return C({kind:`schema`,type:`object`,reference:R,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]:N(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]=M(i);else if(i.type!==`exact_optional`&&i.type!==`optional`&&i.type!==`nullish`&&(S(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 S(this,`type`,e,t);return e}})}function z(e,t){return C({kind:`schema`,type:`optional`,reference:z,expects:`(${e.expects} | undefined)`,async:!1,wrapped:e,default:t,"~run"(e,t){return e.value===void 0&&(this.default!==void 0&&(e.value=N(this,e,t)),e.value===void 0)?(e.typed=!0,e):this.wrapped[`~run`](e,t)}})}function B(e,t){return C({kind:`schema`,type:`picklist`,reference:B,expects:de(e.map(x),`|`),async:!1,options:e,message:t,"~run"(e,t){return this.options.includes(e.value)?e.typed=!0:S(this,`type`,e,t),e}})}function V(e,t){return C({kind:`schema`,type:`strict_object`,reference:V,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]:N(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]=M(i);else if(i.type!==`exact_optional`&&i.type!==`optional`&&i.type!==`nullish`&&(S(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)){S(this,`key`,e,t,{input:r,expected:`never`,path:[{type:`object`,origin:`key`,input:n,key:r,value:n[r]}]});break}}}else S(this,`type`,e,t);return e}})}function H(e){return C({kind:`schema`,type:`string`,reference:H,expects:`string`,async:!1,message:e,"~run"(e,t){return typeof e.value==`string`?e.typed=!0:S(this,`type`,e,t),e}})}function U(...e){return C({...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 me(e,t,n){let r=e[`~run`]({value:t},b(n));return{typed:r.typed,success:!r.issues,output:r.value,issues:r.issues}}function he(e){try{return!new TextDecoder(e).encoding.startsWith(`utf-16`)}catch{return!1}}var W=({min:e,max:t})=>U(L(),D(),A(e),k(t)),G=W(p.port),ge=W({min:1,max:p.port.max}),K=U(H(),j(/\S/),T(`Not empty or blank.`)),_e=U(P(U(H(),j(oe))),T('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.')),ve=R({enabled:F(),port:ge,version:U(I(U(H(),j(se))),T("`null` = bundled version. Otherwise an exact version like `1.65.1`."))}),q={tcp:{host:K,port:G,encoding:U(H(),w(he),T("TextDecoder label of the socket voice's code page. Not `utf-16*`: lines are split on bytes.")),maxLineBytes:W(p.maxLineBytes)},http:{host:K,port:G,allowedHosts:_e},buffer:{maxEntries:W(p.maxEntries)},log:{level:B(ie),file:U(I(K),T("Bridge log file, `null` = default path.")),consoleSpeech:U(F(),T(`Also write the speech text to the console.`))}};q.tcp,q.http,q.buffer,q.log;var J=e=>V(Object.fromEntries(Object.entries(e).map(([e,t])=>[e,z(t)])));J(ve.entries),J({enabled:F(),port:ge}),J(q.tcp),J(q.http),J(q.buffer),J(q.log);var Y=e=>U(L(),D(),A(e)),ye=U(H(),O()),be=U(R({seq:U(Y(1),T(`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:B([`speech`,`marker`]),text:H(),receivedAt:U(ye,T(`When the bridge received the line (UTC).`)),source:U(B([`tcp`,`api`]),T("`tcp` for speech, `api` for markers.")),voice:U(I(H()),T("Header (`voice=<id>`) of the sending voice, `null` if not set or for markers.")),connectionId:U(I(Y(1)),T("TCP connection that delivered it, `null` for markers.")),sessionId:U(z(I(Y(1))),T("The session that was current, `null` outside any session. Added in API 1.3."))}),T(`One recorded speech line or a marker.`),E([{seq:42,kind:`speech`,text:`Submit, button`,receivedAt:`2026-11-07T14:03:12.345Z`,source:`tcp`,voice:`ssc5000`,connectionId:3,sessionId:7}]));m.wait.seen,`${m.wait.seen}`,`${m.markerLength}`;var{coordinate:X,delayMs:Z,maxKeys:xe}=m.input,Q=m.capture;Q.quietForMs.min,Q.quietForMs.max,`${Q.quietForMs.default}`,Q.firstWithinMs.max,`${Q.firstWithinMs.default}`,Q.timeoutMs.max,`${Q.timeoutMs.default}`,Q.settleMs.max,Q.entries,`${Q.entries}`,-X,-X,`${xe}`,Z.max,`${Z.default}`,m.input.focusTitleLength;var $=e=>U(L(),D(),A(e)),Se=U(H(),O()),Ce=e=>U(H(),w(e=>ae(e,m.sessionLabelLength)),T(`${e} Trimmed, must not be empty, at most ${m.sessionLabelLength} characters.`)),we={id:U($(1),T(`Increasing, also across restarts (since API 1.29): the first session of a bridge run gets the run's start time in milliseconds, so an id is never given out twice.`)),name:H(),run:U(I(H()),T(`Optional label that groups sessions.`)),client:U(I(H()),T("Who started it: the `X-SR-Speech-Client` header, `null` if it wasn't sent. Added in API 1.10.")),startedAt:Se,endedAt:U(I(Se),T("`null` while the session is current.")),startSeq:U($(0),T("The last `seq` given out before the session started: `since=startSeq` reads the session from its start. Added in API 1.9.")),firstSeq:U(I($(1)),T("First entry still in the buffer, `null` if none.")),lastSeq:U(I($(1)),T("Last entry still in the buffer, `null` if none.")),entries:U($(0),T(`Entries of this session still in the buffer.`))};Ce(`For example the test title.`),Ce(`Optional label that groups sessions, for example one per test run.`),{...we};function Te(e,t){let n=me(e,t);if(n.success)return{ok:!0,value:n.output};let[r]=n.issues;return{ok:!1,field:fe(r)??`(body)`,message:r.message}}var Ee=5e3;function De(e,t){return t===null?e===`none`:e===t}function Oe(e,t){return Ae(e,t)}function ke(e,t){return e!==`none`&&e!==t}function Ae(e,t){return e===`none`||e===t}function je(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 Me(e,t){if(e===`none`)return`Records outside sessions`;let n=t.find(t=>t.id===e);return n===void 0?`#${e}`:`${n.name} #${n.id}`}export{je as a,Te as c,ke as i,be as l,De as n,Ae as o,Oe as r,Me as s,Ee as t,le as u};
@@ -0,0 +1 @@
1
+ import"./BkoDSEOx.js";
@@ -0,0 +1,2 @@
1
+ �
2
+ �import"./BkoDSEOx.js";
@@ -1 +1 @@
1
- import{V as e}from"./Cwz551Q0.js";var t=Symbol.for(``),n=e=>{if(e?.r===t)return e?._$litStatic$},r=(e,...n)=>({_$litStatic$:n.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:t}),i=new Map,a=(e=>(t,...r)=>{let a=r.length,o,s,c=[],l=[],u,d=0,f=!1;for(;d<a;){for(u=t[d];d<a&&(s=r[d],(o=n(s))!==void 0);)u+=o+t[++d],f=!0;d!==a&&l.push(s),c.push(u),d++}if(d===a&&c.push(t[a]),f){let e=c.join(`$$lit$$`);(t=i.get(e))===void 0&&(c.raw=c,i.set(e,t=c)),r=l}return e(t,...r)})(e);export{a as n,r as t};
1
+ import{S as e}from"./DRNNJMYk.js";var t=Symbol.for(``),n=e=>{if(e?.r===t)return e?._$litStatic$},r=(e,...n)=>({_$litStatic$:n.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:t}),i=new Map,a=(e=>(t,...r)=>{let a=r.length,o,s,c=[],l=[],u,d=0,f=!1;for(;d<a;){for(u=t[d];d<a&&(s=r[d],(o=n(s))!==void 0);)u+=o+t[++d],f=!0;d!==a&&l.push(s),c.push(u),d++}if(d===a&&c.push(t[a]),f){let e=c.join(`$$lit$$`);(t=i.get(e))===void 0&&(c.raw=c,i.set(e,t=c)),r=l}return e(t,...r)})(e),o=[`error`,`warn`,`info`,`debug`],s=[`left`,`right`,`middle`],c=[`mcp`,`playwright`];export{a,r as i,o as n,s as r,c as t};