@openpalm/ui 0.11.0-rc.11 → 0.11.0-rc.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/.openpalm-ui-version +1 -1
- package/build/client/_app/immutable/assets/0.nenI9xO9.css +1 -0
- package/build/client/_app/immutable/assets/0.nenI9xO9.css.br +0 -0
- package/build/client/_app/immutable/assets/0.nenI9xO9.css.gz +0 -0
- package/build/client/_app/immutable/assets/4.j3F-W7h_.css +1 -0
- package/build/client/_app/immutable/assets/4.j3F-W7h_.css.br +0 -0
- package/build/client/_app/immutable/assets/4.j3F-W7h_.css.gz +0 -0
- package/build/client/_app/immutable/assets/7.CzC8JVIO.css +1 -0
- package/build/client/_app/immutable/assets/7.CzC8JVIO.css.br +0 -0
- package/build/client/_app/immutable/assets/7.CzC8JVIO.css.gz +0 -0
- package/build/client/_app/immutable/assets/8.cpz_TytB.css +1 -0
- package/build/client/_app/immutable/assets/8.cpz_TytB.css.br +0 -0
- package/build/client/_app/immutable/assets/8.cpz_TytB.css.gz +0 -0
- package/build/client/_app/immutable/assets/AuthGate._tqG1OIX.css +1 -0
- package/build/client/_app/immutable/assets/AuthGate._tqG1OIX.css.br +0 -0
- package/build/client/_app/immutable/assets/AuthGate._tqG1OIX.css.gz +0 -0
- package/build/client/_app/immutable/assets/ModeSwitch.DVIv_V4C.css +1 -0
- package/build/client/_app/immutable/assets/ModeSwitch.DVIv_V4C.css.br +0 -0
- package/build/client/_app/immutable/assets/ModeSwitch.DVIv_V4C.css.gz +0 -0
- package/build/client/_app/immutable/assets/Spinner.BtzHSsat.css +1 -0
- package/build/client/_app/immutable/assets/Spinner.BtzHSsat.css.br +2 -0
- package/build/client/_app/immutable/assets/Spinner.BtzHSsat.css.gz +0 -0
- package/build/client/_app/immutable/assets/VoiceProfileSelector.B8FTffwl.css +1 -0
- package/build/client/_app/immutable/assets/VoiceProfileSelector.B8FTffwl.css.br +0 -0
- package/build/client/_app/immutable/assets/VoiceProfileSelector.B8FTffwl.css.gz +0 -0
- package/build/client/_app/immutable/chunks/0swOyi-5.js +3 -0
- package/build/client/_app/immutable/chunks/0swOyi-5.js.br +0 -0
- package/build/client/_app/immutable/chunks/0swOyi-5.js.gz +0 -0
- package/build/client/_app/immutable/chunks/B1uQvvlv.js +5 -0
- package/build/client/_app/immutable/chunks/B1uQvvlv.js.br +0 -0
- package/build/client/_app/immutable/chunks/B1uQvvlv.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{DpdFx-ph.js → BBdT9Cjm.js} +1 -1
- package/build/client/_app/immutable/chunks/BBdT9Cjm.js.br +0 -0
- package/build/client/_app/immutable/chunks/BBdT9Cjm.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{BxZ6a55y.js → BPh8tqAg.js} +1 -1
- package/build/client/_app/immutable/chunks/BPh8tqAg.js.br +2 -0
- package/build/client/_app/immutable/chunks/BPh8tqAg.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BQ0vnNWj.js +1 -0
- package/build/client/_app/immutable/chunks/BQ0vnNWj.js.br +1 -0
- package/build/client/_app/immutable/chunks/BQ0vnNWj.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{CJkMgfFh.js → BQrb5YOM.js} +1 -1
- package/build/client/_app/immutable/chunks/BQrb5YOM.js.br +0 -0
- package/build/client/_app/immutable/chunks/BQrb5YOM.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Bmfn2m9N.js +1 -0
- package/build/client/_app/immutable/chunks/Bmfn2m9N.js.br +1 -0
- package/build/client/_app/immutable/chunks/Bmfn2m9N.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CrcMJfbz.js +1 -0
- package/build/client/_app/immutable/chunks/CrcMJfbz.js.br +0 -0
- package/build/client/_app/immutable/chunks/CrcMJfbz.js.gz +0 -0
- package/build/client/_app/immutable/chunks/E7W0MQkU.js +1 -0
- package/build/client/_app/immutable/chunks/E7W0MQkU.js.br +0 -0
- package/build/client/_app/immutable/chunks/E7W0MQkU.js.gz +0 -0
- package/build/client/_app/immutable/entry/app.9wfmQKXa.js +2 -0
- package/build/client/_app/immutable/entry/app.9wfmQKXa.js.br +0 -0
- package/build/client/_app/immutable/entry/app.9wfmQKXa.js.gz +0 -0
- package/build/client/_app/immutable/entry/start.BzWuQgSn.js +1 -0
- package/build/client/_app/immutable/entry/start.BzWuQgSn.js.br +0 -0
- package/build/client/_app/immutable/entry/start.BzWuQgSn.js.gz +0 -0
- package/build/client/_app/immutable/nodes/0.DxAGOZgx.js +1 -0
- package/build/client/_app/immutable/nodes/0.DxAGOZgx.js.br +0 -0
- package/build/client/_app/immutable/nodes/0.DxAGOZgx.js.gz +0 -0
- package/build/client/_app/immutable/nodes/1.B-z3blIe.js +1 -0
- package/build/client/_app/immutable/nodes/1.B-z3blIe.js.br +1 -0
- package/build/client/_app/immutable/nodes/1.B-z3blIe.js.gz +0 -0
- package/build/client/_app/immutable/nodes/2.B-8ehRO1.js +1 -0
- package/build/client/_app/immutable/nodes/2.B-8ehRO1.js.br +0 -0
- package/build/client/_app/immutable/nodes/2.B-8ehRO1.js.gz +0 -0
- package/build/client/_app/immutable/nodes/3.DHPuQEyR.js +1 -0
- package/build/client/_app/immutable/nodes/3.DHPuQEyR.js.br +0 -0
- package/build/client/_app/immutable/nodes/3.DHPuQEyR.js.gz +0 -0
- package/build/client/_app/immutable/nodes/4.DOO_QIq1.js +18 -0
- package/build/client/_app/immutable/nodes/4.DOO_QIq1.js.br +0 -0
- package/build/client/_app/immutable/nodes/4.DOO_QIq1.js.gz +0 -0
- package/build/client/_app/immutable/nodes/5.BrAtimvQ.js +4 -0
- package/build/client/_app/immutable/nodes/5.BrAtimvQ.js.br +0 -0
- package/build/client/_app/immutable/nodes/5.BrAtimvQ.js.gz +0 -0
- package/build/client/_app/immutable/nodes/6.CDpI1TrW.js +1 -0
- package/build/client/_app/immutable/nodes/6.CDpI1TrW.js.br +0 -0
- package/build/client/_app/immutable/nodes/6.CDpI1TrW.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{7.fFA0e6kz.js → 7.B5KYnWwU.js} +7 -7
- package/build/client/_app/immutable/nodes/7.B5KYnWwU.js.br +0 -0
- package/build/client/_app/immutable/nodes/7.B5KYnWwU.js.gz +0 -0
- package/build/client/_app/immutable/nodes/8.2jRmEBBC.js +2 -0
- package/build/client/_app/immutable/nodes/8.2jRmEBBC.js.br +0 -0
- package/build/client/_app/immutable/nodes/8.2jRmEBBC.js.gz +0 -0
- package/build/client/_app/version.json +1 -1
- package/build/client/_app/version.json.br +1 -1
- package/build/client/_app/version.json.gz +0 -0
- package/build/server/chunks/0-CP9GcQBP.js +9 -0
- package/build/server/chunks/{0-TTdZdv8o.js.map → 0-CP9GcQBP.js.map} +1 -1
- package/build/server/chunks/1-BDxTrwG3.js +9 -0
- package/build/server/chunks/{1-BhLqDyOn.js.map → 1-BDxTrwG3.js.map} +1 -1
- package/build/server/chunks/2-DQWoUtW1.js +9 -0
- package/build/server/chunks/{2-C2y4ydWU.js.map → 2-DQWoUtW1.js.map} +1 -1
- package/build/server/chunks/{3-BgeGdVvT.js → 3-gylRjzeN.js} +2 -2
- package/build/server/chunks/{3-BgeGdVvT.js.map → 3-gylRjzeN.js.map} +1 -1
- package/build/server/chunks/4-CBgm4iSo.js +9 -0
- package/build/server/chunks/4-CBgm4iSo.js.map +1 -0
- package/build/server/chunks/5-CD1fuYOe.js +9 -0
- package/build/server/chunks/5-CD1fuYOe.js.map +1 -0
- package/build/server/chunks/6-B6tmbcQ8.js +9 -0
- package/build/server/chunks/6-B6tmbcQ8.js.map +1 -0
- package/build/server/chunks/7-m4KLf_Gx.js +9 -0
- package/build/server/chunks/7-m4KLf_Gx.js.map +1 -0
- package/build/server/chunks/8-CmPpxrjv.js +9 -0
- package/build/server/chunks/8-CmPpxrjv.js.map +1 -0
- package/build/server/chunks/{AuthGate-C3ZisQbA.js → AuthGate-BcB49fE5.js} +44 -41
- package/build/server/chunks/AuthGate-BcB49fE5.js.map +1 -0
- package/build/server/chunks/ModeSwitch-D26evPMy.js +15 -0
- package/build/server/chunks/ModeSwitch-D26evPMy.js.map +1 -0
- package/build/server/chunks/Spinner-Bk6e83RX.js +12 -0
- package/build/server/chunks/Spinner-Bk6e83RX.js.map +1 -0
- package/build/server/chunks/VoiceProfileSelector-CbOV_v5A.js +306 -0
- package/build/server/chunks/VoiceProfileSelector-CbOV_v5A.js.map +1 -0
- package/build/server/chunks/{_layout.svelte-B93aaRP_.js → _layout.svelte-BV7A7zff.js} +2 -2
- package/build/server/chunks/{_layout.svelte-B93aaRP_.js.map → _layout.svelte-BV7A7zff.js.map} +1 -1
- package/build/server/chunks/{_layout.svelte-CcloHuB_.js → _layout.svelte-C8ggVfth.js} +8 -8
- package/build/server/chunks/_layout.svelte-C8ggVfth.js.map +1 -0
- package/build/server/chunks/_page.svelte-CEjRvc8B.js +2579 -0
- package/build/server/chunks/_page.svelte-CEjRvc8B.js.map +1 -0
- package/build/server/chunks/{_page.svelte-C6H2En_w.js → _page.svelte-Cy4kcLwu.js} +7 -6
- package/build/server/chunks/{_page.svelte-C6H2En_w.js.map → _page.svelte-Cy4kcLwu.js.map} +1 -1
- package/build/server/chunks/{_page.svelte-D0gMlmzQ.js → _page.svelte-DLAHj-kk.js} +6 -14
- package/build/server/chunks/_page.svelte-DLAHj-kk.js.map +1 -0
- package/build/server/chunks/{_page.svelte-DA9eUO0x.js → _page.svelte-DrWHHwCU.js} +8 -7
- package/build/server/chunks/{_page.svelte-DA9eUO0x.js.map → _page.svelte-DrWHHwCU.js.map} +1 -1
- package/build/server/chunks/{_page.svelte-Arw4vnr_.js → _page.svelte-WWZsjJuR.js} +25 -22
- package/build/server/chunks/_page.svelte-WWZsjJuR.js.map +1 -0
- package/build/server/chunks/{dev-DjANv7AF.js → dev-B6xUe35c.js} +23 -2
- package/build/server/chunks/{dev-DjANv7AF.js.map → dev-B6xUe35c.js.map} +1 -1
- package/build/server/chunks/{error.svelte-CEMlYvrw.js → error.svelte-CcHm-30A.js} +4 -4
- package/build/server/chunks/{error.svelte-CEMlYvrw.js.map → error.svelte-CcHm-30A.js.map} +1 -1
- package/build/server/chunks/{internal-CStLdOSk.js → internal-B08Y9iTe.js} +3 -3
- package/build/server/chunks/{internal-CStLdOSk.js.map → internal-B08Y9iTe.js.map} +1 -1
- package/build/server/chunks/{state-BCMZi_P3.js → state-CFHLgqLs.js} +3 -3
- package/build/server/chunks/{state-BCMZi_P3.js.map → state-CFHLgqLs.js.map} +1 -1
- package/build/server/chunks/{theme-state.svelte-PtPMmKGN.js → theme-state.svelte-y-mfJax7.js} +9 -2
- package/build/server/chunks/theme-state.svelte-y-mfJax7.js.map +1 -0
- package/build/server/index.js +2 -2
- package/build/server/index.js.map +1 -1
- package/build/server/manifest.js +10 -10
- package/build/server/manifest.js.map +1 -1
- package/package.json +1 -1
- package/build/client/_app/immutable/assets/0.p3iHeEvq.css +0 -1
- package/build/client/_app/immutable/assets/0.p3iHeEvq.css.br +0 -0
- package/build/client/_app/immutable/assets/0.p3iHeEvq.css.gz +0 -0
- package/build/client/_app/immutable/assets/4.DhrSl6jB.css +0 -1
- package/build/client/_app/immutable/assets/4.DhrSl6jB.css.br +0 -0
- package/build/client/_app/immutable/assets/4.DhrSl6jB.css.gz +0 -0
- package/build/client/_app/immutable/assets/7.Cucah5cY.css +0 -1
- package/build/client/_app/immutable/assets/7.Cucah5cY.css.br +0 -0
- package/build/client/_app/immutable/assets/7.Cucah5cY.css.gz +0 -0
- package/build/client/_app/immutable/assets/8.DjrHy5wu.css +0 -1
- package/build/client/_app/immutable/assets/8.DjrHy5wu.css.br +0 -0
- package/build/client/_app/immutable/assets/8.DjrHy5wu.css.gz +0 -0
- package/build/client/_app/immutable/assets/AuthGate.B8fOC_pJ.css +0 -1
- package/build/client/_app/immutable/assets/AuthGate.B8fOC_pJ.css.br +0 -0
- package/build/client/_app/immutable/assets/AuthGate.B8fOC_pJ.css.gz +0 -0
- package/build/client/_app/immutable/assets/ModeSwitch.RmRIDur-.css +0 -1
- package/build/client/_app/immutable/assets/ModeSwitch.RmRIDur-.css.br +0 -0
- package/build/client/_app/immutable/assets/ModeSwitch.RmRIDur-.css.gz +0 -0
- package/build/client/_app/immutable/assets/VoiceProfileSelector.CM_o2XIa.css +0 -1
- package/build/client/_app/immutable/assets/VoiceProfileSelector.CM_o2XIa.css.br +0 -0
- package/build/client/_app/immutable/assets/VoiceProfileSelector.CM_o2XIa.css.gz +0 -0
- package/build/client/_app/immutable/chunks/7rWcSIlt.js +0 -1
- package/build/client/_app/immutable/chunks/7rWcSIlt.js.br +0 -0
- package/build/client/_app/immutable/chunks/7rWcSIlt.js.gz +0 -0
- package/build/client/_app/immutable/chunks/B7ArSvo1.js +0 -1
- package/build/client/_app/immutable/chunks/B7ArSvo1.js.br +0 -0
- package/build/client/_app/immutable/chunks/B7ArSvo1.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BwTF6U35.js +0 -3
- package/build/client/_app/immutable/chunks/BwTF6U35.js.br +0 -0
- package/build/client/_app/immutable/chunks/BwTF6U35.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BxZ6a55y.js.br +0 -0
- package/build/client/_app/immutable/chunks/BxZ6a55y.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CJkMgfFh.js.br +0 -0
- package/build/client/_app/immutable/chunks/CJkMgfFh.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CaNTMSit.js +0 -5
- package/build/client/_app/immutable/chunks/CaNTMSit.js.br +0 -0
- package/build/client/_app/immutable/chunks/CaNTMSit.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DpdFx-ph.js.br +0 -0
- package/build/client/_app/immutable/chunks/DpdFx-ph.js.gz +0 -0
- package/build/client/_app/immutable/chunks/os2NZ37U.js +0 -1
- package/build/client/_app/immutable/chunks/os2NZ37U.js.br +0 -1
- package/build/client/_app/immutable/chunks/os2NZ37U.js.gz +0 -0
- package/build/client/_app/immutable/entry/app.CzMd4RbT.js +0 -2
- package/build/client/_app/immutable/entry/app.CzMd4RbT.js.br +0 -0
- package/build/client/_app/immutable/entry/app.CzMd4RbT.js.gz +0 -0
- package/build/client/_app/immutable/entry/start.QaKTVCwD.js +0 -1
- package/build/client/_app/immutable/entry/start.QaKTVCwD.js.br +0 -0
- package/build/client/_app/immutable/entry/start.QaKTVCwD.js.gz +0 -0
- package/build/client/_app/immutable/nodes/0.BUaVTC13.js +0 -1
- package/build/client/_app/immutable/nodes/0.BUaVTC13.js.br +0 -0
- package/build/client/_app/immutable/nodes/0.BUaVTC13.js.gz +0 -0
- package/build/client/_app/immutable/nodes/1.D9TRUzbv.js +0 -1
- package/build/client/_app/immutable/nodes/1.D9TRUzbv.js.br +0 -2
- package/build/client/_app/immutable/nodes/1.D9TRUzbv.js.gz +0 -0
- package/build/client/_app/immutable/nodes/2.ojh8oE7F.js +0 -1
- package/build/client/_app/immutable/nodes/2.ojh8oE7F.js.br +0 -0
- package/build/client/_app/immutable/nodes/2.ojh8oE7F.js.gz +0 -0
- package/build/client/_app/immutable/nodes/3.DeAC3yVJ.js +0 -1
- package/build/client/_app/immutable/nodes/3.DeAC3yVJ.js.br +0 -0
- package/build/client/_app/immutable/nodes/3.DeAC3yVJ.js.gz +0 -0
- package/build/client/_app/immutable/nodes/4.5fL8qHix.js +0 -18
- package/build/client/_app/immutable/nodes/4.5fL8qHix.js.br +0 -0
- package/build/client/_app/immutable/nodes/4.5fL8qHix.js.gz +0 -0
- package/build/client/_app/immutable/nodes/5.DAAeB39N.js +0 -4
- package/build/client/_app/immutable/nodes/5.DAAeB39N.js.br +0 -0
- package/build/client/_app/immutable/nodes/5.DAAeB39N.js.gz +0 -0
- package/build/client/_app/immutable/nodes/6.CmMKgobq.js +0 -1
- package/build/client/_app/immutable/nodes/6.CmMKgobq.js.br +0 -0
- package/build/client/_app/immutable/nodes/6.CmMKgobq.js.gz +0 -0
- package/build/client/_app/immutable/nodes/7.fFA0e6kz.js.br +0 -0
- package/build/client/_app/immutable/nodes/7.fFA0e6kz.js.gz +0 -0
- package/build/client/_app/immutable/nodes/8.Rc3xcFgu.js +0 -2
- package/build/client/_app/immutable/nodes/8.Rc3xcFgu.js.br +0 -0
- package/build/client/_app/immutable/nodes/8.Rc3xcFgu.js.gz +0 -0
- package/build/server/chunks/0-TTdZdv8o.js +0 -9
- package/build/server/chunks/1-BhLqDyOn.js +0 -9
- package/build/server/chunks/2-C2y4ydWU.js +0 -9
- package/build/server/chunks/4-D6mAJO8F.js +0 -9
- package/build/server/chunks/4-D6mAJO8F.js.map +0 -1
- package/build/server/chunks/5-D5Apamdo.js +0 -9
- package/build/server/chunks/5-D5Apamdo.js.map +0 -1
- package/build/server/chunks/6-aCBWYjjQ.js +0 -9
- package/build/server/chunks/6-aCBWYjjQ.js.map +0 -1
- package/build/server/chunks/7-NlChqFlW.js +0 -9
- package/build/server/chunks/7-NlChqFlW.js.map +0 -1
- package/build/server/chunks/8-EJHw3wqt.js +0 -9
- package/build/server/chunks/8-EJHw3wqt.js.map +0 -1
- package/build/server/chunks/AuthGate-C3ZisQbA.js.map +0 -1
- package/build/server/chunks/ModeSwitch-B9a33ugm.js +0 -15
- package/build/server/chunks/ModeSwitch-B9a33ugm.js.map +0 -1
- package/build/server/chunks/_layout.svelte-CcloHuB_.js.map +0 -1
- package/build/server/chunks/_page.svelte-4WHOZ298.js +0 -408
- package/build/server/chunks/_page.svelte-4WHOZ298.js.map +0 -1
- package/build/server/chunks/_page.svelte-Arw4vnr_.js.map +0 -1
- package/build/server/chunks/_page.svelte-D0gMlmzQ.js.map +0 -1
- package/build/server/chunks/theme-state.svelte-PtPMmKGN.js.map +0 -1
|
@@ -0,0 +1,306 @@
|
|
|
1
|
+
import { p as ensure_array_like, e as attr_class, d as attr, r as escape_html, a8 as stringify, o as derived } from './dev-B6xUe35c.js';
|
|
2
|
+
|
|
3
|
+
var STEP_LABELS = [
|
|
4
|
+
"System Check",
|
|
5
|
+
"Get Started",
|
|
6
|
+
"Providers",
|
|
7
|
+
"Models",
|
|
8
|
+
"Voice",
|
|
9
|
+
"Options",
|
|
10
|
+
"Review"
|
|
11
|
+
];
|
|
12
|
+
var TTS_OPTIONS = [
|
|
13
|
+
{
|
|
14
|
+
id: "openpalm-voice",
|
|
15
|
+
name: "OpenPalm Voice",
|
|
16
|
+
type: "local",
|
|
17
|
+
recommended: true,
|
|
18
|
+
desc: "Bundled Kokoro TTS + Whisper STT — runs locally, no cloud. First install downloads ~2.4 GB."
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
id: "openai-tts",
|
|
22
|
+
name: "OpenAI TTS",
|
|
23
|
+
type: "cloud",
|
|
24
|
+
desc: "Cloud voices. Uses your OpenAI API key"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
id: "browser-tts",
|
|
28
|
+
name: "Browser Built-in",
|
|
29
|
+
type: "builtin",
|
|
30
|
+
desc: "Native speech synthesis. No setup needed"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
id: "skip-tts",
|
|
34
|
+
name: "Skip — text only",
|
|
35
|
+
type: "skip",
|
|
36
|
+
desc: "Add TTS later from the dashboard"
|
|
37
|
+
}
|
|
38
|
+
];
|
|
39
|
+
var STT_OPTIONS = [
|
|
40
|
+
{
|
|
41
|
+
id: "openpalm-voice",
|
|
42
|
+
name: "OpenPalm Voice",
|
|
43
|
+
type: "local",
|
|
44
|
+
recommended: true,
|
|
45
|
+
desc: "Bundled Kokoro TTS + Whisper STT — runs locally, no cloud. First install downloads ~2.4 GB."
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
id: "openai-stt",
|
|
49
|
+
name: "OpenAI Whisper",
|
|
50
|
+
type: "cloud",
|
|
51
|
+
desc: "Cloud Whisper API. Uses OpenAI key"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
id: "browser-stt",
|
|
55
|
+
name: "Browser Built-in",
|
|
56
|
+
type: "builtin",
|
|
57
|
+
desc: "Web Speech API. No setup"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
id: "skip-stt",
|
|
61
|
+
name: "Skip — text only",
|
|
62
|
+
type: "skip",
|
|
63
|
+
desc: "Add STT later from the dashboard"
|
|
64
|
+
}
|
|
65
|
+
];
|
|
66
|
+
/**
|
|
67
|
+
* Per-engine configuration fields. Empty `fields` means "no extra settings".
|
|
68
|
+
* `provider` is written to stack.env as OP_TTS_PROVIDER / OP_STT_PROVIDER
|
|
69
|
+
* so the voice channel can resolve the runtime URL.
|
|
70
|
+
*
|
|
71
|
+
* Shared between the setup wizard's VoiceStep and the admin Capabilities tab.
|
|
72
|
+
*/
|
|
73
|
+
var BASE_URL_FIELD = (placeholder, hint) => ({
|
|
74
|
+
key: "baseURL",
|
|
75
|
+
label: "Endpoint URL",
|
|
76
|
+
placeholder,
|
|
77
|
+
hint
|
|
78
|
+
});
|
|
79
|
+
var TTS_ENGINES = {
|
|
80
|
+
"openpalm-voice": {
|
|
81
|
+
id: "openpalm-voice",
|
|
82
|
+
provider: "openpalm-voice",
|
|
83
|
+
fields: []
|
|
84
|
+
},
|
|
85
|
+
"openai-tts": {
|
|
86
|
+
id: "openai-tts",
|
|
87
|
+
provider: "openai",
|
|
88
|
+
fields: [
|
|
89
|
+
BASE_URL_FIELD("https://api.openai.com/v1", "Leave empty to use the default OpenAI endpoint. Override for proxies / Azure-compat."),
|
|
90
|
+
{
|
|
91
|
+
key: "model",
|
|
92
|
+
label: "Model",
|
|
93
|
+
options: [
|
|
94
|
+
"tts-1",
|
|
95
|
+
"tts-1-hd",
|
|
96
|
+
"gpt-4o-mini-tts"
|
|
97
|
+
]
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
key: "voice",
|
|
101
|
+
label: "Voice",
|
|
102
|
+
options: [
|
|
103
|
+
"alloy",
|
|
104
|
+
"echo",
|
|
105
|
+
"fable",
|
|
106
|
+
"onyx",
|
|
107
|
+
"nova",
|
|
108
|
+
"shimmer"
|
|
109
|
+
]
|
|
110
|
+
}
|
|
111
|
+
]
|
|
112
|
+
},
|
|
113
|
+
"browser-tts": {
|
|
114
|
+
id: "browser-tts",
|
|
115
|
+
fields: []
|
|
116
|
+
},
|
|
117
|
+
"skip-tts": {
|
|
118
|
+
id: "skip-tts",
|
|
119
|
+
fields: []
|
|
120
|
+
}
|
|
121
|
+
};
|
|
122
|
+
var STT_ENGINES = {
|
|
123
|
+
"openpalm-voice": {
|
|
124
|
+
id: "openpalm-voice",
|
|
125
|
+
provider: "openpalm-voice",
|
|
126
|
+
fields: []
|
|
127
|
+
},
|
|
128
|
+
"openai-stt": {
|
|
129
|
+
id: "openai-stt",
|
|
130
|
+
provider: "openai",
|
|
131
|
+
fields: [
|
|
132
|
+
BASE_URL_FIELD("https://api.openai.com/v1", "Leave empty to use the default OpenAI endpoint."),
|
|
133
|
+
{
|
|
134
|
+
key: "model",
|
|
135
|
+
label: "Model",
|
|
136
|
+
options: [
|
|
137
|
+
"whisper-1",
|
|
138
|
+
"gpt-4o-mini-transcribe",
|
|
139
|
+
"gpt-4o-transcribe"
|
|
140
|
+
]
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
key: "language",
|
|
144
|
+
label: "Language",
|
|
145
|
+
placeholder: "en",
|
|
146
|
+
hint: "A language code like `en` or `fr`, or leave blank to detect automatically."
|
|
147
|
+
}
|
|
148
|
+
]
|
|
149
|
+
},
|
|
150
|
+
"browser-stt": {
|
|
151
|
+
id: "browser-stt",
|
|
152
|
+
fields: [{
|
|
153
|
+
key: "language",
|
|
154
|
+
label: "Language",
|
|
155
|
+
placeholder: "en-US",
|
|
156
|
+
hint: "A language code like `en` or `fr`, or leave blank to detect automatically."
|
|
157
|
+
}]
|
|
158
|
+
},
|
|
159
|
+
"skip-stt": {
|
|
160
|
+
id: "skip-stt",
|
|
161
|
+
fields: []
|
|
162
|
+
}
|
|
163
|
+
};
|
|
164
|
+
//#endregion
|
|
165
|
+
//#region src/lib/components/voice/VoiceEngineSelector.svelte
|
|
166
|
+
function VoiceEngineSelector($$renderer, $$props) {
|
|
167
|
+
$$renderer.component(($$renderer) => {
|
|
168
|
+
let { kind, value, onchange, reachable, reachabilityEngineId, disabledEngines, hiddenEngines, engineOptions, engineConfigs } = $$props;
|
|
169
|
+
const allOptions = derived(() => engineOptions ?? (kind === "tts" ? TTS_OPTIONS : STT_OPTIONS));
|
|
170
|
+
const engines = derived(() => engineConfigs ?? (kind === "tts" ? TTS_ENGINES : STT_ENGINES));
|
|
171
|
+
const options = derived(() => hiddenEngines ? allOptions().filter((o) => !hiddenEngines.has(o.id)) : allOptions());
|
|
172
|
+
function updateField(key, val) {
|
|
173
|
+
const next = { ...value };
|
|
174
|
+
if (val) next[key] = val;
|
|
175
|
+
else delete next[key];
|
|
176
|
+
onchange(next);
|
|
177
|
+
}
|
|
178
|
+
$$renderer.push(`<div class="engine-list svelte-1e5u5jo"><!--[-->`);
|
|
179
|
+
const each_array = ensure_array_like(options());
|
|
180
|
+
for (let $$index_2 = 0, $$length = each_array.length; $$index_2 < $$length; $$index_2++) {
|
|
181
|
+
let o = each_array[$$index_2];
|
|
182
|
+
const selected = value.engine === o.id;
|
|
183
|
+
const config = engines()[o.id];
|
|
184
|
+
const engineState = disabledEngines?.[o.id];
|
|
185
|
+
const isDisabled = engineState?.disabled ?? false;
|
|
186
|
+
$$renderer.push(`<button type="button"${attr_class("engine-card svelte-1e5u5jo", void 0, {
|
|
187
|
+
"engine-card--selected": selected,
|
|
188
|
+
"engine-card--disabled": isDisabled
|
|
189
|
+
})}${attr("disabled", isDisabled, true)}><div class="engine-body svelte-1e5u5jo"><span class="engine-name svelte-1e5u5jo">${escape_html(o.name)}</span> <span class="engine-desc svelte-1e5u5jo">${escape_html(o.desc)}</span> `);
|
|
190
|
+
if (isDisabled && engineState?.reason) {
|
|
191
|
+
$$renderer.push("<!--[0-->");
|
|
192
|
+
$$renderer.push(`<span class="engine-subtitle svelte-1e5u5jo">${escape_html(engineState.reason)}</span>`);
|
|
193
|
+
} else $$renderer.push("<!--[-1-->");
|
|
194
|
+
$$renderer.push(`<!--]--> `);
|
|
195
|
+
if (o.id === (reachabilityEngineId ?? (kind === "tts" ? "openai-tts" : "openai-stt")) && reachable?.remoteConfigured) {
|
|
196
|
+
$$renderer.push("<!--[0-->");
|
|
197
|
+
$$renderer.push(`<span${attr_class("engine-reachability svelte-1e5u5jo", void 0, { "engine-reachability--ok": reachable.remoteReachable })}>${escape_html(reachable.remoteReachable ? "● Endpoint reachable" : "○ Endpoint not reachable")}</span>`);
|
|
198
|
+
} else $$renderer.push("<!--[-1-->");
|
|
199
|
+
$$renderer.push(`<!--]--></div> `);
|
|
200
|
+
if (o.recommended) {
|
|
201
|
+
$$renderer.push("<!--[0-->");
|
|
202
|
+
$$renderer.push(`<span class="badge badge-recommended">Recommended</span>`);
|
|
203
|
+
} else $$renderer.push("<!--[-1-->");
|
|
204
|
+
$$renderer.push(`<!--]--></button> `);
|
|
205
|
+
if (selected && config && config.fields.length > 0) {
|
|
206
|
+
$$renderer.push("<!--[0-->");
|
|
207
|
+
$$renderer.push(`<div class="engine-config svelte-1e5u5jo"><!--[-->`);
|
|
208
|
+
const each_array_1 = ensure_array_like(config.fields);
|
|
209
|
+
for (let $$index_1 = 0, $$length = each_array_1.length; $$index_1 < $$length; $$index_1++) {
|
|
210
|
+
let field = each_array_1[$$index_1];
|
|
211
|
+
$$renderer.push(`<div class="form-field"><label class="form-label"${attr("for", `voice-${stringify(kind)}-${stringify(field.key)}`)}>${escape_html(field.label)}</label> `);
|
|
212
|
+
if (field.options) {
|
|
213
|
+
$$renderer.push("<!--[0-->");
|
|
214
|
+
$$renderer.select({
|
|
215
|
+
id: `voice-${stringify(kind)}-${stringify(field.key)}`,
|
|
216
|
+
class: "form-input",
|
|
217
|
+
value: value[field.key] ?? "",
|
|
218
|
+
onchange: (e) => updateField(field.key, e.currentTarget.value)
|
|
219
|
+
}, ($$renderer) => {
|
|
220
|
+
$$renderer.option({ value: "" }, ($$renderer) => {
|
|
221
|
+
$$renderer.push(`— default —`);
|
|
222
|
+
});
|
|
223
|
+
$$renderer.push(`<!--[-->`);
|
|
224
|
+
const each_array_2 = ensure_array_like(field.options);
|
|
225
|
+
for (let $$index = 0, $$length = each_array_2.length; $$index < $$length; $$index++) {
|
|
226
|
+
let opt = each_array_2[$$index];
|
|
227
|
+
$$renderer.option({ value: opt }, ($$renderer) => {
|
|
228
|
+
$$renderer.push(`${escape_html(opt)}`);
|
|
229
|
+
});
|
|
230
|
+
}
|
|
231
|
+
$$renderer.push(`<!--]-->`);
|
|
232
|
+
});
|
|
233
|
+
} else {
|
|
234
|
+
$$renderer.push("<!--[-1-->");
|
|
235
|
+
$$renderer.push(`<input${attr("id", `voice-${stringify(kind)}-${stringify(field.key)}`)}${attr("type", field.key === "baseURL" ? "url" : "text")} class="form-input"${attr("value", value[field.key] ?? "")}${attr("placeholder", field.placeholder ?? "")} autocomplete="off"${attr("spellcheck", field.key === "baseURL" ? false : void 0)}/>`);
|
|
236
|
+
}
|
|
237
|
+
$$renderer.push(`<!--]--> `);
|
|
238
|
+
if (field.hint) {
|
|
239
|
+
$$renderer.push("<!--[0-->");
|
|
240
|
+
$$renderer.push(`<span class="field-hint svelte-1e5u5jo">${escape_html(field.hint)}</span>`);
|
|
241
|
+
} else $$renderer.push("<!--[-1-->");
|
|
242
|
+
$$renderer.push(`<!--]--></div>`);
|
|
243
|
+
}
|
|
244
|
+
$$renderer.push(`<!--]--></div>`);
|
|
245
|
+
} else $$renderer.push("<!--[-1-->");
|
|
246
|
+
$$renderer.push(`<!--]-->`);
|
|
247
|
+
}
|
|
248
|
+
$$renderer.push(`<!--]--></div>`);
|
|
249
|
+
});
|
|
250
|
+
}
|
|
251
|
+
//#endregion
|
|
252
|
+
//#region src/lib/components/voice/VoiceProfileSelector.svelte
|
|
253
|
+
function VoiceProfileSelector($$renderer, $$props) {
|
|
254
|
+
$$renderer.component(($$renderer) => {
|
|
255
|
+
let { profiles, selectedProfile, onchange, showDescription } = $$props;
|
|
256
|
+
const selectedInfo = derived(() => profiles.find((p) => p.id === selectedProfile) ?? profiles[0]);
|
|
257
|
+
showDescription ??= true;
|
|
258
|
+
if (profiles.length === 0) $$renderer.push("<!--[0-->");
|
|
259
|
+
else if (profiles.length === 1) {
|
|
260
|
+
$$renderer.push("<!--[1-->");
|
|
261
|
+
$$renderer.push(`<p class="profile-single svelte-11ub9pr">Using ${escape_html(selectedInfo()?.label ?? selectedInfo()?.id ?? "selected")}.</p>`);
|
|
262
|
+
} else {
|
|
263
|
+
$$renderer.push("<!--[-1-->");
|
|
264
|
+
if (showDescription) {
|
|
265
|
+
$$renderer.push("<!--[0-->");
|
|
266
|
+
$$renderer.push(`<p class="profile-desc svelte-11ub9pr">Select the profile that matches your hardware. GPU profiles are auto-selected when available.</p>`);
|
|
267
|
+
} else $$renderer.push("<!--[-1-->");
|
|
268
|
+
$$renderer.push(`<!--]--> <div class="form-field"><label class="form-label" for="voice-profile">Profile</label> `);
|
|
269
|
+
$$renderer.select({
|
|
270
|
+
id: "voice-profile",
|
|
271
|
+
class: "form-input",
|
|
272
|
+
value: selectedProfile,
|
|
273
|
+
onchange: (e) => onchange(e.currentTarget.value)
|
|
274
|
+
}, ($$renderer) => {
|
|
275
|
+
$$renderer.push(`<!--[-->`);
|
|
276
|
+
const each_array = ensure_array_like(profiles);
|
|
277
|
+
for (let $$index = 0, $$length = each_array.length; $$index < $$length; $$index++) {
|
|
278
|
+
let profile = each_array[$$index];
|
|
279
|
+
$$renderer.option({
|
|
280
|
+
value: profile.id,
|
|
281
|
+
disabled: profile.available === false,
|
|
282
|
+
title: profile.available === false ? profile.reason ?? "Not available on this host" : void 0
|
|
283
|
+
}, ($$renderer) => {
|
|
284
|
+
$$renderer.push(`${escape_html(profile.label ?? profile.id)}${escape_html(profile.available === false ? " — unavailable" : "")}`);
|
|
285
|
+
});
|
|
286
|
+
}
|
|
287
|
+
$$renderer.push(`<!--]-->`);
|
|
288
|
+
});
|
|
289
|
+
$$renderer.push(` `);
|
|
290
|
+
if (selectedInfo()?.requires) {
|
|
291
|
+
$$renderer.push("<!--[0-->");
|
|
292
|
+
$$renderer.push(`<span class="field-hint svelte-11ub9pr">Requires: ${escape_html(selectedInfo().requires)}</span>`);
|
|
293
|
+
} else $$renderer.push("<!--[-1-->");
|
|
294
|
+
$$renderer.push(`<!--]--> `);
|
|
295
|
+
if (selectedInfo()?.available === false) {
|
|
296
|
+
$$renderer.push("<!--[0-->");
|
|
297
|
+
$$renderer.push(`<span class="field-hint field-hint--warning svelte-11ub9pr">${escape_html(selectedInfo().reason ?? "This profile is not available on the current host.")}</span>`);
|
|
298
|
+
} else $$renderer.push("<!--[-1-->");
|
|
299
|
+
$$renderer.push(`<!--]--></div>`);
|
|
300
|
+
}
|
|
301
|
+
$$renderer.push(`<!--]-->`);
|
|
302
|
+
});
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
export { STEP_LABELS as S, VoiceEngineSelector as V, VoiceProfileSelector as a };
|
|
306
|
+
//# sourceMappingURL=VoiceProfileSelector-CbOV_v5A.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VoiceProfileSelector-CbOV_v5A.js","sources":["../../../.svelte-kit/adapter-node/chunks/VoiceProfileSelector.js"],"sourcesContent":["import { H as escape_html, V as attr, a as derived, n as attr_class, o as ensure_array_like, u as stringify } from \"./dev.js\";\n//#region src/lib/wizard/constants.ts\nvar PROVIDER_GROUPS = [\n\t{\n\t\tid: \"recommended\",\n\t\tlabel: \"Recommended\",\n\t\tdesc: \"Best options to get started quickly\"\n\t},\n\t{\n\t\tid: \"local\",\n\t\tlabel: \"Local\",\n\t\tdesc: \"Run models on your own hardware\"\n\t},\n\t{\n\t\tid: \"cloud\",\n\t\tlabel: \"Cloud\",\n\t\tdesc: \"Hosted inference providers\"\n\t},\n\t{\n\t\tid: \"advanced\",\n\t\tlabel: \"Advanced\",\n\t\tdesc: \"Additional providers\"\n\t}\n];\nvar PROVIDERS = [\n\t{\n\t\tid: \"ollama\",\n\t\tname: \"Ollama\",\n\t\tkind: \"local\",\n\t\tgroup: \"recommended\",\n\t\torder: 1,\n\t\ticon: \"🦙\",\n\t\tdesc: \"Run open models on your hardware\",\n\t\tneedsKey: false,\n\t\tplaceholder: \"\",\n\t\tbaseUrl: \"http://localhost:11434\",\n\t\tllmModel: \"llama3.2\",\n\t\tembModel: \"nomic-embed-text\",\n\t\tembDims: 768,\n\t\tcanDetect: true\n\t},\n\t{\n\t\tid: \"huggingface\",\n\t\tname: \"Hugging Face\",\n\t\tkind: \"cloud\",\n\t\tgroup: \"recommended\",\n\t\torder: 2,\n\t\ticon: \"🤗\",\n\t\tdesc: \"10,000+ open models via Inference Providers\",\n\t\tneedsKey: true,\n\t\tplaceholder: \"hf_...\",\n\t\tbaseUrl: \"https://router.huggingface.co/v1\",\n\t\tllmModel: \"Qwen/Qwen3-32B\",\n\t\tembModel: \"intfloat/multilingual-e5-large\",\n\t\tembDims: 1024,\n\t\tkeyPrefix: \"hf_\"\n\t},\n\t{\n\t\tid: \"openai\",\n\t\tname: \"OpenAI\",\n\t\tkind: \"cloud\",\n\t\tgroup: \"recommended\",\n\t\torder: 3,\n\t\ticon: \"◐\",\n\t\tdesc: \"GPT and o-series reasoning models\",\n\t\tneedsKey: true,\n\t\tplaceholder: \"sk-...\",\n\t\tbaseUrl: \"https://api.openai.com\",\n\t\tllmModel: \"gpt-4o\",\n\t\tembModel: \"text-embedding-3-small\",\n\t\tembDims: 1536\n\t},\n\t{\n\t\tid: \"google\",\n\t\tname: \"Google\",\n\t\tkind: \"cloud\",\n\t\tgroup: \"recommended\",\n\t\torder: 4,\n\t\ticon: \"◆\",\n\t\tdesc: \"Gemini models with large context\",\n\t\tneedsKey: true,\n\t\tplaceholder: \"AIza...\",\n\t\tbaseUrl: \"https://generativelanguage.googleapis.com\",\n\t\tllmModel: \"gemini-2.5-flash\",\n\t\tembModel: \"\",\n\t\tembDims: 0,\n\t\tkeyPrefix: \"AI\"\n\t},\n\t{\n\t\tid: \"model-runner\",\n\t\tname: \"Docker Model Runner\",\n\t\tkind: \"local\",\n\t\tgroup: \"local\",\n\t\torder: 1,\n\t\ticon: \"🐳\",\n\t\tdesc: \"Docker-managed model runtime\",\n\t\tneedsKey: false,\n\t\tplaceholder: \"\",\n\t\tbaseUrl: \"http://localhost:12434\",\n\t\tllmModel: \"ai/llama3.2\",\n\t\tembModel: \"ai/mxbai-embed-large-v1\",\n\t\tembDims: 1024,\n\t\tcanDetect: true\n\t},\n\t{\n\t\tid: \"lmstudio\",\n\t\tname: \"LM Studio\",\n\t\tkind: \"local\",\n\t\tgroup: \"local\",\n\t\torder: 2,\n\t\ticon: \"🔬\",\n\t\tdesc: \"Desktop app for local inference\",\n\t\tneedsKey: false,\n\t\tplaceholder: \"\",\n\t\tbaseUrl: \"http://localhost:1234\",\n\t\tllmModel: \"loaded-model\",\n\t\tembModel: \"\",\n\t\tembDims: 0,\n\t\tcanDetect: true\n\t},\n\t{\n\t\tid: \"groq\",\n\t\tname: \"Groq\",\n\t\tkind: \"cloud\",\n\t\tgroup: \"cloud\",\n\t\torder: 1,\n\t\ticon: \"⚡\",\n\t\tdesc: \"Ultra-fast inference\",\n\t\tneedsKey: true,\n\t\tplaceholder: \"gsk_...\",\n\t\tbaseUrl: \"https://api.groq.com/openai\",\n\t\tllmModel: \"llama-3.3-70b-versatile\",\n\t\tembModel: \"\",\n\t\tembDims: 0\n\t},\n\t{\n\t\tid: \"mistral\",\n\t\tname: \"Mistral\",\n\t\tkind: \"cloud\",\n\t\tgroup: \"cloud\",\n\t\torder: 2,\n\t\ticon: \"◆\",\n\t\tdesc: \"Mistral & Codestral models\",\n\t\tneedsKey: true,\n\t\tplaceholder: \"...\",\n\t\tbaseUrl: \"https://api.mistral.ai\",\n\t\tllmModel: \"mistral-large-latest\",\n\t\tembModel: \"mistral-embed\",\n\t\tembDims: 1024\n\t},\n\t{\n\t\tid: \"together\",\n\t\tname: \"Together AI\",\n\t\tkind: \"cloud\",\n\t\tgroup: \"cloud\",\n\t\torder: 3,\n\t\ticon: \"✦\",\n\t\tdesc: \"Open models at scale\",\n\t\tneedsKey: true,\n\t\tplaceholder: \"...\",\n\t\tbaseUrl: \"https://api.together.xyz\",\n\t\tllmModel: \"meta-llama/Llama-3.3-70B-Instruct-Turbo\",\n\t\tembModel: \"\",\n\t\tembDims: 0\n\t},\n\t{\n\t\tid: \"deepseek\",\n\t\tname: \"DeepSeek\",\n\t\tkind: \"cloud\",\n\t\tgroup: \"advanced\",\n\t\torder: 1,\n\t\ticon: \"◎\",\n\t\tdesc: \"DeepSeek chat & reasoning\",\n\t\tneedsKey: true,\n\t\tplaceholder: \"sk-...\",\n\t\tbaseUrl: \"https://api.deepseek.com\",\n\t\tllmModel: \"deepseek-chat\",\n\t\tembModel: \"\",\n\t\tembDims: 0\n\t},\n\t{\n\t\tid: \"xai\",\n\t\tname: \"xAI (Grok)\",\n\t\tkind: \"cloud\",\n\t\tgroup: \"advanced\",\n\t\torder: 2,\n\t\ticon: \"✦\",\n\t\tdesc: \"Grok models\",\n\t\tneedsKey: true,\n\t\tplaceholder: \"xai-...\",\n\t\tbaseUrl: \"https://api.x.ai\",\n\t\tllmModel: \"grok-2\",\n\t\tembModel: \"\",\n\t\tembDims: 0\n\t},\n\t{\n\t\tid: \"openai-compatible\",\n\t\tname: \"Custom API server\",\n\t\tkind: \"cloud\",\n\t\tgroup: \"advanced\",\n\t\torder: 3,\n\t\ticon: \"🔧\",\n\t\tdesc: \"Connect any AI server that uses the standard OpenAI API format.\",\n\t\tneedsKey: false,\n\t\tneedsUrl: true,\n\t\toptionalKey: true,\n\t\tplaceholder: \"API key (optional)\",\n\t\tbaseUrl: \"\",\n\t\tllmModel: \"\",\n\t\tembModel: \"\",\n\t\tembDims: 0\n\t}\n];\nvar KNOWN_EMB_DIMS = {\n\t\"text-embedding-3-small\": 1536,\n\t\"text-embedding-3-large\": 3072,\n\t\"text-embedding-ada-002\": 1536,\n\t\"nomic-embed-text\": 768,\n\t\"mxbai-embed-large\": 1024,\n\t\"mxbai-embed-large-v1\": 1024,\n\t\"ai/mxbai-embed-large-v1\": 1024,\n\t\"mistral-embed\": 1024,\n\t\"all-minilm\": 384,\n\t\"snowflake-arctic-embed\": 1024,\n\t\"intfloat/multilingual-e5-large\": 1024\n};\nvar STEP_LABELS = [\n\t\"System Check\",\n\t\"Get Started\",\n\t\"Providers\",\n\t\"Models\",\n\t\"Voice\",\n\t\"Options\",\n\t\"Review\"\n];\nvar TTS_OPTIONS = [\n\t{\n\t\tid: \"openpalm-voice\",\n\t\tname: \"OpenPalm Voice\",\n\t\ttype: \"local\",\n\t\trecommended: true,\n\t\tdesc: \"Bundled Kokoro TTS + Whisper STT — runs locally, no cloud. First install downloads ~2.4 GB.\"\n\t},\n\t{\n\t\tid: \"openai-tts\",\n\t\tname: \"OpenAI TTS\",\n\t\ttype: \"cloud\",\n\t\tdesc: \"Cloud voices. Uses your OpenAI API key\"\n\t},\n\t{\n\t\tid: \"browser-tts\",\n\t\tname: \"Browser Built-in\",\n\t\ttype: \"builtin\",\n\t\tdesc: \"Native speech synthesis. No setup needed\"\n\t},\n\t{\n\t\tid: \"skip-tts\",\n\t\tname: \"Skip — text only\",\n\t\ttype: \"skip\",\n\t\tdesc: \"Add TTS later from the dashboard\"\n\t}\n];\nvar STT_OPTIONS = [\n\t{\n\t\tid: \"openpalm-voice\",\n\t\tname: \"OpenPalm Voice\",\n\t\ttype: \"local\",\n\t\trecommended: true,\n\t\tdesc: \"Bundled Kokoro TTS + Whisper STT — runs locally, no cloud. First install downloads ~2.4 GB.\"\n\t},\n\t{\n\t\tid: \"openai-stt\",\n\t\tname: \"OpenAI Whisper\",\n\t\ttype: \"cloud\",\n\t\tdesc: \"Cloud Whisper API. Uses OpenAI key\"\n\t},\n\t{\n\t\tid: \"browser-stt\",\n\t\tname: \"Browser Built-in\",\n\t\ttype: \"builtin\",\n\t\tdesc: \"Web Speech API. No setup\"\n\t},\n\t{\n\t\tid: \"skip-stt\",\n\t\tname: \"Skip — text only\",\n\t\ttype: \"skip\",\n\t\tdesc: \"Add STT later from the dashboard\"\n\t}\n];\n/**\n* Per-engine configuration fields. Empty `fields` means \"no extra settings\".\n* `provider` is written to stack.env as OP_TTS_PROVIDER / OP_STT_PROVIDER\n* so the voice channel can resolve the runtime URL.\n*\n* Shared between the setup wizard's VoiceStep and the admin Capabilities tab.\n*/\nvar BASE_URL_FIELD = (placeholder, hint) => ({\n\tkey: \"baseURL\",\n\tlabel: \"Endpoint URL\",\n\tplaceholder,\n\thint\n});\nvar TTS_ENGINES = {\n\t\"openpalm-voice\": {\n\t\tid: \"openpalm-voice\",\n\t\tprovider: \"openpalm-voice\",\n\t\tfields: []\n\t},\n\t\"openai-tts\": {\n\t\tid: \"openai-tts\",\n\t\tprovider: \"openai\",\n\t\tfields: [\n\t\t\tBASE_URL_FIELD(\"https://api.openai.com/v1\", \"Leave empty to use the default OpenAI endpoint. Override for proxies / Azure-compat.\"),\n\t\t\t{\n\t\t\t\tkey: \"model\",\n\t\t\t\tlabel: \"Model\",\n\t\t\t\toptions: [\n\t\t\t\t\t\"tts-1\",\n\t\t\t\t\t\"tts-1-hd\",\n\t\t\t\t\t\"gpt-4o-mini-tts\"\n\t\t\t\t]\n\t\t\t},\n\t\t\t{\n\t\t\t\tkey: \"voice\",\n\t\t\t\tlabel: \"Voice\",\n\t\t\t\toptions: [\n\t\t\t\t\t\"alloy\",\n\t\t\t\t\t\"echo\",\n\t\t\t\t\t\"fable\",\n\t\t\t\t\t\"onyx\",\n\t\t\t\t\t\"nova\",\n\t\t\t\t\t\"shimmer\"\n\t\t\t\t]\n\t\t\t}\n\t\t]\n\t},\n\t\"browser-tts\": {\n\t\tid: \"browser-tts\",\n\t\tfields: []\n\t},\n\t\"skip-tts\": {\n\t\tid: \"skip-tts\",\n\t\tfields: []\n\t}\n};\nvar STT_ENGINES = {\n\t\"openpalm-voice\": {\n\t\tid: \"openpalm-voice\",\n\t\tprovider: \"openpalm-voice\",\n\t\tfields: []\n\t},\n\t\"openai-stt\": {\n\t\tid: \"openai-stt\",\n\t\tprovider: \"openai\",\n\t\tfields: [\n\t\t\tBASE_URL_FIELD(\"https://api.openai.com/v1\", \"Leave empty to use the default OpenAI endpoint.\"),\n\t\t\t{\n\t\t\t\tkey: \"model\",\n\t\t\t\tlabel: \"Model\",\n\t\t\t\toptions: [\n\t\t\t\t\t\"whisper-1\",\n\t\t\t\t\t\"gpt-4o-mini-transcribe\",\n\t\t\t\t\t\"gpt-4o-transcribe\"\n\t\t\t\t]\n\t\t\t},\n\t\t\t{\n\t\t\t\tkey: \"language\",\n\t\t\t\tlabel: \"Language\",\n\t\t\t\tplaceholder: \"en\",\n\t\t\t\thint: \"A language code like `en` or `fr`, or leave blank to detect automatically.\"\n\t\t\t}\n\t\t]\n\t},\n\t\"browser-stt\": {\n\t\tid: \"browser-stt\",\n\t\tfields: [{\n\t\t\tkey: \"language\",\n\t\t\tlabel: \"Language\",\n\t\t\tplaceholder: \"en-US\",\n\t\t\thint: \"A language code like `en` or `fr`, or leave blank to detect automatically.\"\n\t\t}]\n\t},\n\t\"skip-stt\": {\n\t\tid: \"skip-stt\",\n\t\tfields: []\n\t}\n};\nvar CHANNELS = [\n\t{\n\t\tid: \"api\",\n\t\tname: \"API\",\n\t\ticon: \"🔌\",\n\t\tdesc: \"OpenAI-compatible REST API endpoint\"\n\t},\n\t{\n\t\tid: \"discord\",\n\t\tname: \"Discord\",\n\t\ticon: \"🎮\",\n\t\tdesc: \"Connect to a Discord server\",\n\t\tcredentials: [{\n\t\t\tkey: \"botToken\",\n\t\t\tlabel: \"Bot Token\",\n\t\t\tplaceholder: \"Paste Discord bot token\",\n\t\t\trequired: true\n\t\t}, {\n\t\t\tkey: \"applicationId\",\n\t\t\tlabel: \"Application ID\",\n\t\t\tplaceholder: \"Discord application ID\",\n\t\t\tsecret: false\n\t\t}]\n\t},\n\t{\n\t\tid: \"slack\",\n\t\tname: \"Slack\",\n\t\ticon: \"💼\",\n\t\tdesc: \"Access via Slack bot\",\n\t\tcredentials: [{\n\t\t\tkey: \"slackBotToken\",\n\t\t\tlabel: \"Bot Token\",\n\t\t\tplaceholder: \"xoxb-...\",\n\t\t\trequired: true\n\t\t}, {\n\t\t\tkey: \"slackAppToken\",\n\t\t\tlabel: \"App Token\",\n\t\t\tplaceholder: \"xapp-...\",\n\t\t\trequired: true\n\t\t}]\n\t}\n];\nvar LOCAL_PROVIDERS = [\n\t{\n\t\tid: \"ollama\",\n\t\tname: \"Ollama\",\n\t\tenv: [],\n\t\tmodels: {},\n\t\tlocalUrl: \"http://localhost:11434\"\n\t},\n\t{\n\t\tid: \"model-runner\",\n\t\tname: \"Docker Model Runner\",\n\t\tenv: [],\n\t\tmodels: {},\n\t\tlocalUrl: \"http://localhost:12434\"\n\t},\n\t{\n\t\tid: \"lmstudio\",\n\t\tname: \"LM Studio\",\n\t\tenv: [],\n\t\tmodels: {},\n\t\tlocalUrl: \"http://localhost:1234\"\n\t},\n\t{\n\t\tid: \"openai-compatible\",\n\t\tname: \"Custom API server\",\n\t\tenv: [],\n\t\tmodels: {},\n\t\tlocalUrl: \"\"\n\t}\n];\n//#endregion\n//#region src/lib/components/voice/VoiceEngineSelector.svelte\nfunction VoiceEngineSelector($$renderer, $$props) {\n\t$$renderer.component(($$renderer) => {\n\t\tlet { kind, value, onchange, reachable, reachabilityEngineId, disabledEngines, hiddenEngines, engineOptions, engineConfigs } = $$props;\n\t\tconst allOptions = derived(() => engineOptions ?? (kind === \"tts\" ? TTS_OPTIONS : STT_OPTIONS));\n\t\tconst engines = derived(() => engineConfigs ?? (kind === \"tts\" ? TTS_ENGINES : STT_ENGINES));\n\t\tconst options = derived(() => hiddenEngines ? allOptions().filter((o) => !hiddenEngines.has(o.id)) : allOptions());\n\t\tfunction updateField(key, val) {\n\t\t\tconst next = { ...value };\n\t\t\tif (val) next[key] = val;\n\t\t\telse delete next[key];\n\t\t\tonchange(next);\n\t\t}\n\t\t$$renderer.push(`<div class=\"engine-list svelte-1e5u5jo\"><!--[-->`);\n\t\tconst each_array = ensure_array_like(options());\n\t\tfor (let $$index_2 = 0, $$length = each_array.length; $$index_2 < $$length; $$index_2++) {\n\t\t\tlet o = each_array[$$index_2];\n\t\t\tconst selected = value.engine === o.id;\n\t\t\tconst config = engines()[o.id];\n\t\t\tconst engineState = disabledEngines?.[o.id];\n\t\t\tconst isDisabled = engineState?.disabled ?? false;\n\t\t\t$$renderer.push(`<button type=\"button\"${attr_class(\"engine-card svelte-1e5u5jo\", void 0, {\n\t\t\t\t\"engine-card--selected\": selected,\n\t\t\t\t\"engine-card--disabled\": isDisabled\n\t\t\t})}${attr(\"disabled\", isDisabled, true)}><div class=\"engine-body svelte-1e5u5jo\"><span class=\"engine-name svelte-1e5u5jo\">${escape_html(o.name)}</span> <span class=\"engine-desc svelte-1e5u5jo\">${escape_html(o.desc)}</span> `);\n\t\t\tif (isDisabled && engineState?.reason) {\n\t\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\t\t$$renderer.push(`<span class=\"engine-subtitle svelte-1e5u5jo\">${escape_html(engineState.reason)}</span>`);\n\t\t\t} else $$renderer.push(\"<!--[-1-->\");\n\t\t\t$$renderer.push(`<!--]--> `);\n\t\t\tif (o.id === (reachabilityEngineId ?? (kind === \"tts\" ? \"openai-tts\" : \"openai-stt\")) && reachable?.remoteConfigured) {\n\t\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\t\t$$renderer.push(`<span${attr_class(\"engine-reachability svelte-1e5u5jo\", void 0, { \"engine-reachability--ok\": reachable.remoteReachable })}>${escape_html(reachable.remoteReachable ? \"● Endpoint reachable\" : \"○ Endpoint not reachable\")}</span>`);\n\t\t\t} else $$renderer.push(\"<!--[-1-->\");\n\t\t\t$$renderer.push(`<!--]--></div> `);\n\t\t\tif (o.recommended) {\n\t\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\t\t$$renderer.push(`<span class=\"badge badge-recommended\">Recommended</span>`);\n\t\t\t} else $$renderer.push(\"<!--[-1-->\");\n\t\t\t$$renderer.push(`<!--]--></button> `);\n\t\t\tif (selected && config && config.fields.length > 0) {\n\t\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\t\t$$renderer.push(`<div class=\"engine-config svelte-1e5u5jo\"><!--[-->`);\n\t\t\t\tconst each_array_1 = ensure_array_like(config.fields);\n\t\t\t\tfor (let $$index_1 = 0, $$length = each_array_1.length; $$index_1 < $$length; $$index_1++) {\n\t\t\t\t\tlet field = each_array_1[$$index_1];\n\t\t\t\t\t$$renderer.push(`<div class=\"form-field\"><label class=\"form-label\"${attr(\"for\", `voice-${stringify(kind)}-${stringify(field.key)}`)}>${escape_html(field.label)}</label> `);\n\t\t\t\t\tif (field.options) {\n\t\t\t\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\t\t\t\t$$renderer.select({\n\t\t\t\t\t\t\tid: `voice-${stringify(kind)}-${stringify(field.key)}`,\n\t\t\t\t\t\t\tclass: \"form-input\",\n\t\t\t\t\t\t\tvalue: value[field.key] ?? \"\",\n\t\t\t\t\t\t\tonchange: (e) => updateField(field.key, e.currentTarget.value)\n\t\t\t\t\t\t}, ($$renderer) => {\n\t\t\t\t\t\t\t$$renderer.option({ value: \"\" }, ($$renderer) => {\n\t\t\t\t\t\t\t\t$$renderer.push(`— default —`);\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t$$renderer.push(`<!--[-->`);\n\t\t\t\t\t\t\tconst each_array_2 = ensure_array_like(field.options);\n\t\t\t\t\t\t\tfor (let $$index = 0, $$length = each_array_2.length; $$index < $$length; $$index++) {\n\t\t\t\t\t\t\t\tlet opt = each_array_2[$$index];\n\t\t\t\t\t\t\t\t$$renderer.option({ value: opt }, ($$renderer) => {\n\t\t\t\t\t\t\t\t\t$$renderer.push(`${escape_html(opt)}`);\n\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t$$renderer.push(`<!--]-->`);\n\t\t\t\t\t\t});\n\t\t\t\t\t} else {\n\t\t\t\t\t\t$$renderer.push(\"<!--[-1-->\");\n\t\t\t\t\t\t$$renderer.push(`<input${attr(\"id\", `voice-${stringify(kind)}-${stringify(field.key)}`)}${attr(\"type\", field.key === \"baseURL\" ? \"url\" : \"text\")} class=\"form-input\"${attr(\"value\", value[field.key] ?? \"\")}${attr(\"placeholder\", field.placeholder ?? \"\")} autocomplete=\"off\"${attr(\"spellcheck\", field.key === \"baseURL\" ? false : void 0)}/>`);\n\t\t\t\t\t}\n\t\t\t\t\t$$renderer.push(`<!--]--> `);\n\t\t\t\t\tif (field.hint) {\n\t\t\t\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\t\t\t\t$$renderer.push(`<span class=\"field-hint svelte-1e5u5jo\">${escape_html(field.hint)}</span>`);\n\t\t\t\t\t} else $$renderer.push(\"<!--[-1-->\");\n\t\t\t\t\t$$renderer.push(`<!--]--></div>`);\n\t\t\t\t}\n\t\t\t\t$$renderer.push(`<!--]--></div>`);\n\t\t\t} else $$renderer.push(\"<!--[-1-->\");\n\t\t\t$$renderer.push(`<!--]-->`);\n\t\t}\n\t\t$$renderer.push(`<!--]--></div>`);\n\t});\n}\n//#endregion\n//#region src/lib/components/voice/VoiceProfileSelector.svelte\nfunction VoiceProfileSelector($$renderer, $$props) {\n\t$$renderer.component(($$renderer) => {\n\t\tlet { profiles, selectedProfile, onchange, showDescription } = $$props;\n\t\tconst selectedInfo = derived(() => profiles.find((p) => p.id === selectedProfile) ?? profiles[0]);\n\t\tshowDescription ??= true;\n\t\tif (profiles.length === 0) $$renderer.push(\"<!--[0-->\");\n\t\telse if (profiles.length === 1) {\n\t\t\t$$renderer.push(\"<!--[1-->\");\n\t\t\t$$renderer.push(`<p class=\"profile-single svelte-11ub9pr\">Using ${escape_html(selectedInfo()?.label ?? selectedInfo()?.id ?? \"selected\")}.</p>`);\n\t\t} else {\n\t\t\t$$renderer.push(\"<!--[-1-->\");\n\t\t\tif (showDescription) {\n\t\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\t\t$$renderer.push(`<p class=\"profile-desc svelte-11ub9pr\">Select the profile that matches your hardware. GPU profiles are auto-selected when available.</p>`);\n\t\t\t} else $$renderer.push(\"<!--[-1-->\");\n\t\t\t$$renderer.push(`<!--]--> <div class=\"form-field\"><label class=\"form-label\" for=\"voice-profile\">Profile</label> `);\n\t\t\t$$renderer.select({\n\t\t\t\tid: \"voice-profile\",\n\t\t\t\tclass: \"form-input\",\n\t\t\t\tvalue: selectedProfile,\n\t\t\t\tonchange: (e) => onchange(e.currentTarget.value)\n\t\t\t}, ($$renderer) => {\n\t\t\t\t$$renderer.push(`<!--[-->`);\n\t\t\t\tconst each_array = ensure_array_like(profiles);\n\t\t\t\tfor (let $$index = 0, $$length = each_array.length; $$index < $$length; $$index++) {\n\t\t\t\t\tlet profile = each_array[$$index];\n\t\t\t\t\t$$renderer.option({\n\t\t\t\t\t\tvalue: profile.id,\n\t\t\t\t\t\tdisabled: profile.available === false,\n\t\t\t\t\t\ttitle: profile.available === false ? profile.reason ?? \"Not available on this host\" : void 0\n\t\t\t\t\t}, ($$renderer) => {\n\t\t\t\t\t\t$$renderer.push(`${escape_html(profile.label ?? profile.id)}${escape_html(profile.available === false ? \" — unavailable\" : \"\")}`);\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t\t$$renderer.push(`<!--]-->`);\n\t\t\t});\n\t\t\t$$renderer.push(` `);\n\t\t\tif (selectedInfo()?.requires) {\n\t\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\t\t$$renderer.push(`<span class=\"field-hint svelte-11ub9pr\">Requires: ${escape_html(selectedInfo().requires)}</span>`);\n\t\t\t} else $$renderer.push(\"<!--[-1-->\");\n\t\t\t$$renderer.push(`<!--]--> `);\n\t\t\tif (selectedInfo()?.available === false) {\n\t\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\t\t$$renderer.push(`<span class=\"field-hint field-hint--warning svelte-11ub9pr\">${escape_html(selectedInfo().reason ?? \"This profile is not available on the current host.\")}</span>`);\n\t\t\t} else $$renderer.push(\"<!--[-1-->\");\n\t\t\t$$renderer.push(`<!--]--></div>`);\n\t\t}\n\t\t$$renderer.push(`<!--]-->`);\n\t});\n}\n//#endregion\nexport { LOCAL_PROVIDERS as a, STEP_LABELS as c, KNOWN_EMB_DIMS as i, STT_OPTIONS as l, VoiceEngineSelector as n, PROVIDERS as o, CHANNELS as r, PROVIDER_GROUPS as s, VoiceProfileSelector as t, TTS_OPTIONS as u };\n"],"names":[],"mappings":";;AAkOG,IAAC,WAAW,GAAG;AAClB,CAAC,cAAc;AACf,CAAC,aAAa;AACd,CAAC,WAAW;AACZ,CAAC,QAAQ;AACT,CAAC,OAAO;AACR,CAAC,SAAS;AACV,CAAC;AACD;AACA,IAAI,WAAW,GAAG;AAClB,CAAC;AACD,EAAE,EAAE,EAAE,gBAAgB;AACtB,EAAE,IAAI,EAAE,gBAAgB;AACxB,EAAE,IAAI,EAAE,OAAO;AACf,EAAE,WAAW,EAAE,IAAI;AACnB,EAAE,IAAI,EAAE;AACR,EAAE;AACF,CAAC;AACD,EAAE,EAAE,EAAE,YAAY;AAClB,EAAE,IAAI,EAAE,YAAY;AACpB,EAAE,IAAI,EAAE,OAAO;AACf,EAAE,IAAI,EAAE;AACR,EAAE;AACF,CAAC;AACD,EAAE,EAAE,EAAE,aAAa;AACnB,EAAE,IAAI,EAAE,kBAAkB;AAC1B,EAAE,IAAI,EAAE,SAAS;AACjB,EAAE,IAAI,EAAE;AACR,EAAE;AACF,CAAC;AACD,EAAE,EAAE,EAAE,UAAU;AAChB,EAAE,IAAI,EAAE,kBAAkB;AAC1B,EAAE,IAAI,EAAE,MAAM;AACd,EAAE,IAAI,EAAE;AACR;AACA,CAAC;AACD,IAAI,WAAW,GAAG;AAClB,CAAC;AACD,EAAE,EAAE,EAAE,gBAAgB;AACtB,EAAE,IAAI,EAAE,gBAAgB;AACxB,EAAE,IAAI,EAAE,OAAO;AACf,EAAE,WAAW,EAAE,IAAI;AACnB,EAAE,IAAI,EAAE;AACR,EAAE;AACF,CAAC;AACD,EAAE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C/B,GAAG,CAAC,CAAC;AACL,GAAG,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;AACvB,GAAG,IAAI,YAAY,EAAE,EAAE,QAAQ,EAAE;AACjC,IAAI,UAAU,CAAC,IAAI,CAAC,WAAW,CAAC;AAChC,IAAI,UAAU,CAAC,IAAI,CAAC,CAAC,kDAAkD,EAAE,WAAW,CAAC,YAAY,EAAE,CAAC,QAAQ,CAAC,CAAC,OAAO,CAAC,CAAC;AACvH,GAAG,CAAC,MAAM,UAAU,CAAC,IAAI,CAAC,YAAY,CAAC;AACvC,GAAG,UAAU,CAAC,IAAI,CAAC,CAAC,SAAS,CAAC,CAAC;AAC/B,GAAG,IAAI,YAAY,EAAE,EAAE,SAAS,KAAK,KAAK,EAAE;AAC5C,IAAI,UAAU,CAAC,IAAI,CAAC,WAAW,CAAC;AAChC,IAAI,UAAU,CAAC,IAAI,CAAC,CAAC,4DAA4D,EAAE,WAAW,CAAC,YAAY,EAAE,CAAC,MAAM,IAAI,oDAAoD,CAAC,CAAC,OAAO,CAAC,CAAC;AACvL,GAAG,CAAC,MAAM,UAAU,CAAC,IAAI,CAAC,YAAY,CAAC;AACvC,GAAG,UAAU,CAAC,IAAI,CAAC,CAAC,cAAc,CAAC,CAAC;AACpC,EAAE;AACF,EAAE,UAAU,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC;AAC7B,CAAC,CAAC,CAAC;AACH;;;;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a6 as slot } from './dev-B6xUe35c.js';
|
|
2
2
|
|
|
3
3
|
//#region src/routes/setup/+layout.svelte
|
|
4
4
|
function _layout($$renderer, $$props) {
|
|
@@ -8,4 +8,4 @@ function _layout($$renderer, $$props) {
|
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
export { _layout as default };
|
|
11
|
-
//# sourceMappingURL=_layout.svelte-
|
|
11
|
+
//# sourceMappingURL=_layout.svelte-BV7A7zff.js.map
|
package/build/server/chunks/{_layout.svelte-B93aaRP_.js.map → _layout.svelte-BV7A7zff.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"_layout.svelte-
|
|
1
|
+
{"version":3,"file":"_layout.svelte-BV7A7zff.js","sources":["../../../.svelte-kit/adapter-node/entries/pages/setup/_layout.svelte.js"],"sourcesContent":["import { l as slot } from \"../../../chunks/dev.js\";\n//#region src/routes/setup/+layout.svelte\nfunction _layout($$renderer, $$props) {\n\t$$renderer.push(`<!--[-->`);\n\tslot($$renderer, $$props, \"default\", {}, null);\n\t$$renderer.push(`<!--]-->`);\n}\n//#endregion\nexport { _layout as default };\n"],"names":[],"mappings":";;AACA;AACA,SAAS,OAAO,CAAC,UAAU,EAAE,OAAO,EAAE;AACtC,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC;AAC5B,CAAC,IAAI,CAAC,UAAU,EAAE,OAAO,EAAE,SAAS,EAAE,EAAQ,CAAC;AAC/C,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC;AAC5B;;;;"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { p as ensure_array_like, e as attr_class, a8 as stringify, d as attr, r as escape_html } from './dev-B6xUe35c.js';
|
|
2
2
|
import 'node:module';
|
|
3
|
-
import { n as notifications } from './theme-state.svelte-
|
|
3
|
+
import { n as notifications } from './theme-state.svelte-y-mfJax7.js';
|
|
4
4
|
|
|
5
|
-
//#region src/lib/components/UpdateBanner.svelte
|
|
5
|
+
//#region src/lib/components/common/UpdateBanner.svelte
|
|
6
6
|
function UpdateBanner($$renderer, $$props) {
|
|
7
7
|
$$renderer.component(($$renderer) => {
|
|
8
8
|
$$renderer.push("<!--[-1-->");
|
|
@@ -10,7 +10,7 @@ function UpdateBanner($$renderer, $$props) {
|
|
|
10
10
|
});
|
|
11
11
|
}
|
|
12
12
|
//#endregion
|
|
13
|
-
//#region src/lib/components/Toast.svelte
|
|
13
|
+
//#region src/lib/components/common/Toast.svelte
|
|
14
14
|
function Toast($$renderer, $$props) {
|
|
15
15
|
$$renderer.component(($$renderer) => {
|
|
16
16
|
function kindLabel(t) {
|
|
@@ -20,11 +20,11 @@ function Toast($$renderer, $$props) {
|
|
|
20
20
|
}
|
|
21
21
|
if (notifications.toasts.length > 0) {
|
|
22
22
|
$$renderer.push("<!--[0-->");
|
|
23
|
-
$$renderer.push(`<div class="toast-stack svelte-
|
|
23
|
+
$$renderer.push(`<div class="toast-stack svelte-c82lj3" aria-live="polite"><!--[-->`);
|
|
24
24
|
const each_array = ensure_array_like(notifications.toasts);
|
|
25
25
|
for (let $$index = 0, $$length = each_array.length; $$index < $$length; $$index++) {
|
|
26
26
|
let t = each_array[$$index];
|
|
27
|
-
$$renderer.push(`<div${attr_class(`toast toast-${stringify(t.kind)}`, "svelte-
|
|
27
|
+
$$renderer.push(`<div${attr_class(`toast toast-${stringify(t.kind)}`, "svelte-c82lj3")}${attr("role", t.kind === "error" ? "alert" : "status")}${attr("aria-live", t.kind === "error" ? "assertive" : "polite")}><span class="toast-icon svelte-c82lj3" aria-hidden="true">`);
|
|
28
28
|
if (t.kind === "success") {
|
|
29
29
|
$$renderer.push("<!--[0-->");
|
|
30
30
|
$$renderer.push(`<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>`);
|
|
@@ -35,7 +35,7 @@ function Toast($$renderer, $$props) {
|
|
|
35
35
|
$$renderer.push("<!--[-1-->");
|
|
36
36
|
$$renderer.push(`<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"></circle><line x1="12" y1="16" x2="12" y2="12"></line><line x1="12" y1="8" x2="12.01" y2="8"></line></svg>`);
|
|
37
37
|
}
|
|
38
|
-
$$renderer.push(`<!--]--> <span class="sr-only svelte-
|
|
38
|
+
$$renderer.push(`<!--]--> <span class="sr-only svelte-c82lj3">${escape_html(kindLabel(t))}:</span></span> <span class="toast-message svelte-c82lj3">${escape_html(t.message)}</span> <button type="button" class="toast-dismiss svelte-c82lj3" aria-label="Dismiss">×</button></div>`);
|
|
39
39
|
}
|
|
40
40
|
$$renderer.push(`<!--]--></div>`);
|
|
41
41
|
} else $$renderer.push("<!--[-1-->");
|
|
@@ -57,4 +57,4 @@ function _layout($$renderer, $$props) {
|
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
export { _layout as default };
|
|
60
|
-
//# sourceMappingURL=_layout.svelte-
|
|
60
|
+
//# sourceMappingURL=_layout.svelte-C8ggVfth.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_layout.svelte-C8ggVfth.js","sources":["../../../.svelte-kit/adapter-node/entries/pages/_layout.svelte.js"],"sourcesContent":["import { H as escape_html, V as attr, n as attr_class, o as ensure_array_like, u as stringify } from \"../../chunks/dev.js\";\nimport \"../../chunks/index-server.js\";\nimport { c as notifications } from \"../../chunks/theme-state.svelte.js\";\n//#region src/lib/components/common/UpdateBanner.svelte\nfunction UpdateBanner($$renderer, $$props) {\n\t$$renderer.component(($$renderer) => {\n\t\t$$renderer.push(\"<!--[-1-->\");\n\t\t$$renderer.push(`<!--]-->`);\n\t});\n}\n//#endregion\n//#region src/lib/components/common/Toast.svelte\nfunction Toast($$renderer, $$props) {\n\t$$renderer.component(($$renderer) => {\n\t\tfunction kindLabel(t) {\n\t\t\tif (t.kind === \"success\") return \"Success\";\n\t\t\tif (t.kind === \"error\") return \"Error\";\n\t\t\treturn \"Notice\";\n\t\t}\n\t\tif (notifications.toasts.length > 0) {\n\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\t$$renderer.push(`<div class=\"toast-stack svelte-c82lj3\" aria-live=\"polite\"><!--[-->`);\n\t\t\tconst each_array = ensure_array_like(notifications.toasts);\n\t\t\tfor (let $$index = 0, $$length = each_array.length; $$index < $$length; $$index++) {\n\t\t\t\tlet t = each_array[$$index];\n\t\t\t\t$$renderer.push(`<div${attr_class(`toast toast-${stringify(t.kind)}`, \"svelte-c82lj3\")}${attr(\"role\", t.kind === \"error\" ? \"alert\" : \"status\")}${attr(\"aria-live\", t.kind === \"error\" ? \"assertive\" : \"polite\")}><span class=\"toast-icon svelte-c82lj3\" aria-hidden=\"true\">`);\n\t\t\t\tif (t.kind === \"success\") {\n\t\t\t\t\t$$renderer.push(\"<!--[0-->\");\n\t\t\t\t\t$$renderer.push(`<svg width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><polyline points=\"20 6 9 17 4 12\"></polyline></svg>`);\n\t\t\t\t} else if (t.kind === \"error\") {\n\t\t\t\t\t$$renderer.push(\"<!--[1-->\");\n\t\t\t\t\t$$renderer.push(`<svg width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><circle cx=\"12\" cy=\"12\" r=\"10\"></circle><line x1=\"12\" y1=\"8\" x2=\"12\" y2=\"12\"></line><line x1=\"12\" y1=\"16\" x2=\"12.01\" y2=\"16\"></line></svg>`);\n\t\t\t\t} else {\n\t\t\t\t\t$$renderer.push(\"<!--[-1-->\");\n\t\t\t\t\t$$renderer.push(`<svg width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><circle cx=\"12\" cy=\"12\" r=\"10\"></circle><line x1=\"12\" y1=\"16\" x2=\"12\" y2=\"12\"></line><line x1=\"12\" y1=\"8\" x2=\"12.01\" y2=\"8\"></line></svg>`);\n\t\t\t\t}\n\t\t\t\t$$renderer.push(`<!--]--> <span class=\"sr-only svelte-c82lj3\">${escape_html(kindLabel(t))}:</span></span> <span class=\"toast-message svelte-c82lj3\">${escape_html(t.message)}</span> <button type=\"button\" class=\"toast-dismiss svelte-c82lj3\" aria-label=\"Dismiss\">×</button></div>`);\n\t\t\t}\n\t\t\t$$renderer.push(`<!--]--></div>`);\n\t\t} else $$renderer.push(\"<!--[-1-->\");\n\t\t$$renderer.push(`<!--]-->`);\n\t});\n}\n//#endregion\n//#region src/routes/+layout.svelte\nfunction _layout($$renderer, $$props) {\n\t$$renderer.component(($$renderer) => {\n\t\tlet { children } = $$props;\n\t\tUpdateBanner($$renderer, {});\n\t\t$$renderer.push(`<!----> `);\n\t\tchildren?.($$renderer);\n\t\t$$renderer.push(`<!----> `);\n\t\tToast($$renderer, {});\n\t\t$$renderer.push(`<!---->`);\n\t});\n}\n//#endregion\nexport { _layout as default };\n"],"names":[],"mappings":";;;;AAGA;AACA,SAAS,YAAY,CAAC,UAAU,EAAE,OAAO,EAAE;AAC3C,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC,UAAU,KAAK;AACtC,EAAE,UAAU,CAAC,IAAI,CAAC,YAAY,CAAC;AAC/B,EAAE,UAAU,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC;AAC7B,CAAC,CAAC,CAAC;AACH;AACA;AACA;AACA,SAAS,KAAK,CAAC,UAAU,EAAE,OAAO,EAAE;AACpC,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC,UAAU,KAAK;AACtC,EAAE,SAAS,SAAS,CAAC,CAAC,EAAE;AACxB,GAAG,IAAI,CAAC,CAAC,IAAI,KAAK,SAAS,EAAE,OAAO,SAAS;AAC7C,GAAG,IAAI,CAAC,CAAC,IAAI,KAAK,OAAO,EAAE,OAAO,OAAO;AACzC,GAAG,OAAO,QAAQ;AAClB,EAAE;AACF,EAAE,IAAI,aAAa,CAAC,MAAM,CAAC,MAAM,GAAG,CAAC,EAAE;AACvC,GAAG,UAAU,CAAC,IAAI,CAAC,WAAW,C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