@screenreader-speech-capture/bridge 0.0.0-stage → 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +46 -2
- package/dist/cli.mjs +6291 -0
- package/dist/ui/adapter-node.js +11 -0
- package/dist/ui/client/ui/_app/immutable/assets/0.ONZWQgDA.css +1 -0
- package/dist/ui/client/ui/_app/immutable/assets/0.ONZWQgDA.css.br +0 -0
- package/dist/ui/client/ui/_app/immutable/assets/0.ONZWQgDA.css.gz +0 -0
- package/dist/ui/client/ui/_app/immutable/assets/2.DSVNnDlO.css +1 -0
- package/dist/ui/client/ui/_app/immutable/assets/2.DSVNnDlO.css.br +3 -0
- package/dist/ui/client/ui/_app/immutable/assets/2.DSVNnDlO.css.gz +0 -0
- package/dist/ui/client/ui/_app/immutable/assets/3.WduKm4aT.css +1 -0
- package/dist/ui/client/ui/_app/immutable/assets/3.WduKm4aT.css.br +0 -0
- package/dist/ui/client/ui/_app/immutable/assets/3.WduKm4aT.css.gz +0 -0
- package/dist/ui/client/ui/_app/immutable/assets/4.DyY1vjRV.css +1 -0
- package/dist/ui/client/ui/_app/immutable/assets/4.DyY1vjRV.css.br +0 -0
- package/dist/ui/client/ui/_app/immutable/assets/4.DyY1vjRV.css.gz +0 -0
- package/dist/ui/client/ui/_app/immutable/assets/5.YyxFzHED.css +1 -0
- package/dist/ui/client/ui/_app/immutable/assets/5.YyxFzHED.css.br +0 -0
- package/dist/ui/client/ui/_app/immutable/assets/5.YyxFzHED.css.gz +0 -0
- package/dist/ui/client/ui/_app/immutable/assets/6.C0Nhvs_m.css +1 -0
- package/dist/ui/client/ui/_app/immutable/assets/6.C0Nhvs_m.css.br +0 -0
- package/dist/ui/client/ui/_app/immutable/assets/6.C0Nhvs_m.css.gz +0 -0
- package/dist/ui/client/ui/_app/immutable/assets/ExternalLink.CYXazpKA.css +1 -0
- package/dist/ui/client/ui/_app/immutable/assets/ExternalLink.CYXazpKA.css.br +0 -0
- package/dist/ui/client/ui/_app/immutable/assets/ExternalLink.CYXazpKA.css.gz +0 -0
- package/dist/ui/client/ui/_app/immutable/assets/Pane.Dgdg5KMw.css +1 -0
- package/dist/ui/client/ui/_app/immutable/assets/Pane.Dgdg5KMw.css.br +0 -0
- package/dist/ui/client/ui/_app/immutable/assets/Pane.Dgdg5KMw.css.gz +0 -0
- package/dist/ui/client/ui/_app/immutable/assets/material-symbols-outlined-latin-400-normal.BhEvR8fk.woff2 +0 -0
- package/dist/ui/client/ui/_app/immutable/assets/roboto-flex-cyrillic-ext-opsz-normal.nDQikIyu.woff2 +0 -0
- package/dist/ui/client/ui/_app/immutable/assets/roboto-flex-cyrillic-opsz-normal.SjuC5rw5.woff2 +0 -0
- package/dist/ui/client/ui/_app/immutable/assets/roboto-flex-greek-opsz-normal.C14fFRny.woff2 +0 -0
- package/dist/ui/client/ui/_app/immutable/assets/roboto-flex-latin-ext-opsz-normal.xNclTVCo.woff2 +0 -0
- package/dist/ui/client/ui/_app/immutable/assets/roboto-flex-latin-opsz-normal.hy8fyBBC.woff2 +0 -0
- package/dist/ui/client/ui/_app/immutable/assets/roboto-flex-vietnamese-opsz-normal.C-H_yGOU.woff2 +0 -0
- package/dist/ui/client/ui/_app/immutable/assets/roboto-mono-cyrillic-400-normal.B3hIXASd.woff +0 -0
- package/dist/ui/client/ui/_app/immutable/assets/roboto-mono-cyrillic-400-normal.C-_K-ZCn.woff2 +0 -0
- package/dist/ui/client/ui/_app/immutable/assets/roboto-mono-cyrillic-500-normal.DGZ7-lUP.woff2 +0 -0
- package/dist/ui/client/ui/_app/immutable/assets/roboto-mono-cyrillic-500-normal.NpUJFYX7.woff +0 -0
- package/dist/ui/client/ui/_app/immutable/assets/roboto-mono-cyrillic-ext-400-normal.BHxv52bw.woff2 +0 -0
- package/dist/ui/client/ui/_app/immutable/assets/roboto-mono-cyrillic-ext-400-normal.W26xs1TL.woff +0 -0
- package/dist/ui/client/ui/_app/immutable/assets/roboto-mono-cyrillic-ext-500-normal.6xdwlG7p.woff +0 -0
- package/dist/ui/client/ui/_app/immutable/assets/roboto-mono-cyrillic-ext-500-normal.DC57U9n8.woff2 +0 -0
- package/dist/ui/client/ui/_app/immutable/assets/roboto-mono-greek-400-normal.CH_u3Aru.woff2 +0 -0
- package/dist/ui/client/ui/_app/immutable/assets/roboto-mono-greek-400-normal.P8xe1gs1.woff +0 -0
- package/dist/ui/client/ui/_app/immutable/assets/roboto-mono-greek-500-normal.C2M8jX6G.woff +0 -0
- package/dist/ui/client/ui/_app/immutable/assets/roboto-mono-greek-500-normal.DpRFkptA.woff2 +0 -0
- package/dist/ui/client/ui/_app/immutable/assets/roboto-mono-latin-400-normal.DBZPkcnn.woff +0 -0
- package/dist/ui/client/ui/_app/immutable/assets/roboto-mono-latin-400-normal.GekRknry.woff2 +0 -0
- package/dist/ui/client/ui/_app/immutable/assets/roboto-mono-latin-500-normal.D6j6AMzd.woff +0 -0
- package/dist/ui/client/ui/_app/immutable/assets/roboto-mono-latin-500-normal.pxIOXZmA.woff2 +0 -0
- package/dist/ui/client/ui/_app/immutable/assets/roboto-mono-latin-ext-400-normal.BwLXVYNz.woff +0 -0
- package/dist/ui/client/ui/_app/immutable/assets/roboto-mono-latin-ext-400-normal.DLAV9S_w.woff2 +0 -0
- package/dist/ui/client/ui/_app/immutable/assets/roboto-mono-latin-ext-500-normal.B1IjfbhL.woff +0 -0
- package/dist/ui/client/ui/_app/immutable/assets/roboto-mono-latin-ext-500-normal.Db3ge6Oe.woff2 +0 -0
- package/dist/ui/client/ui/_app/immutable/assets/roboto-mono-vietnamese-400-normal.CzWHQABp.woff +0 -0
- package/dist/ui/client/ui/_app/immutable/assets/roboto-mono-vietnamese-400-normal.yYTFiTTs.woff2 +0 -0
- package/dist/ui/client/ui/_app/immutable/assets/roboto-mono-vietnamese-500-normal.Cq-quQMu.woff2 +0 -0
- package/dist/ui/client/ui/_app/immutable/assets/roboto-mono-vietnamese-500-normal.IxzxMIj7.woff +0 -0
- package/dist/ui/client/ui/_app/immutable/chunks/0FroJ-XN.js +3 -0
- package/dist/ui/client/ui/_app/immutable/chunks/0FroJ-XN.js.br +0 -0
- package/dist/ui/client/ui/_app/immutable/chunks/0FroJ-XN.js.gz +0 -0
- package/dist/ui/client/ui/_app/immutable/chunks/4wvZDMeR.js +33 -0
- package/dist/ui/client/ui/_app/immutable/chunks/4wvZDMeR.js.br +0 -0
- package/dist/ui/client/ui/_app/immutable/chunks/4wvZDMeR.js.gz +0 -0
- package/dist/ui/client/ui/_app/immutable/chunks/B1Ryegye.js +3 -0
- package/dist/ui/client/ui/_app/immutable/chunks/B1Ryegye.js.br +0 -0
- package/dist/ui/client/ui/_app/immutable/chunks/B1Ryegye.js.gz +0 -0
- package/dist/ui/client/ui/_app/immutable/chunks/B1vArRqi.js +3 -0
- package/dist/ui/client/ui/_app/immutable/chunks/B1vArRqi.js.br +0 -0
- package/dist/ui/client/ui/_app/immutable/chunks/B1vArRqi.js.gz +0 -0
- package/dist/ui/client/ui/_app/immutable/chunks/BS7n1gMj.js +40 -0
- package/dist/ui/client/ui/_app/immutable/chunks/BS7n1gMj.js.br +0 -0
- package/dist/ui/client/ui/_app/immutable/chunks/BS7n1gMj.js.gz +0 -0
- package/dist/ui/client/ui/_app/immutable/chunks/B_ZElYu_.js +1 -0
- package/dist/ui/client/ui/_app/immutable/chunks/B_ZElYu_.js.br +2 -0
- package/dist/ui/client/ui/_app/immutable/chunks/B_ZElYu_.js.gz +0 -0
- package/dist/ui/client/ui/_app/immutable/chunks/Beqi9dRN.js +72 -0
- package/dist/ui/client/ui/_app/immutable/chunks/Beqi9dRN.js.br +0 -0
- package/dist/ui/client/ui/_app/immutable/chunks/Beqi9dRN.js.gz +0 -0
- package/dist/ui/client/ui/_app/immutable/chunks/BnU72Mow.js +2 -0
- package/dist/ui/client/ui/_app/immutable/chunks/BnU72Mow.js.br +0 -0
- package/dist/ui/client/ui/_app/immutable/chunks/BnU72Mow.js.gz +0 -0
- package/dist/ui/client/ui/_app/immutable/chunks/Bvlvl8SZ.js +1 -0
- package/dist/ui/client/ui/_app/immutable/chunks/Bvlvl8SZ.js.br +0 -0
- package/dist/ui/client/ui/_app/immutable/chunks/Bvlvl8SZ.js.gz +0 -0
- package/dist/ui/client/ui/_app/immutable/chunks/CK3uUd4t.js +48 -0
- package/dist/ui/client/ui/_app/immutable/chunks/CK3uUd4t.js.br +0 -0
- package/dist/ui/client/ui/_app/immutable/chunks/CK3uUd4t.js.gz +0 -0
- package/dist/ui/client/ui/_app/immutable/chunks/CMWEX9XL.js +138 -0
- package/dist/ui/client/ui/_app/immutable/chunks/CMWEX9XL.js.br +0 -0
- package/dist/ui/client/ui/_app/immutable/chunks/CMWEX9XL.js.gz +0 -0
- package/dist/ui/client/ui/_app/immutable/chunks/CVpgcnu3.js +1 -0
- package/dist/ui/client/ui/_app/immutable/chunks/CVpgcnu3.js.br +0 -0
- package/dist/ui/client/ui/_app/immutable/chunks/CVpgcnu3.js.gz +0 -0
- package/dist/ui/client/ui/_app/immutable/chunks/D-2Nx62w.js +1 -0
- package/dist/ui/client/ui/_app/immutable/chunks/D-2Nx62w.js.br +4 -0
- package/dist/ui/client/ui/_app/immutable/chunks/D-2Nx62w.js.gz +0 -0
- package/dist/ui/client/ui/_app/immutable/chunks/D0famktY.js +1 -0
- package/dist/ui/client/ui/_app/immutable/chunks/D0famktY.js.br +2 -0
- package/dist/ui/client/ui/_app/immutable/chunks/D0famktY.js.gz +0 -0
- package/dist/ui/client/ui/_app/immutable/chunks/DHsTyp2W.js +1 -0
- package/dist/ui/client/ui/_app/immutable/chunks/DHsTyp2W.js.br +2 -0
- package/dist/ui/client/ui/_app/immutable/chunks/DHsTyp2W.js.gz +0 -0
- package/dist/ui/client/ui/_app/immutable/chunks/DOY87jO2.js +1 -0
- package/dist/ui/client/ui/_app/immutable/chunks/DOY87jO2.js.br +0 -0
- package/dist/ui/client/ui/_app/immutable/chunks/DOY87jO2.js.gz +0 -0
- package/dist/ui/client/ui/_app/immutable/chunks/DUTjbZNf.js +1 -0
- package/dist/ui/client/ui/_app/immutable/chunks/DUTjbZNf.js.br +0 -0
- package/dist/ui/client/ui/_app/immutable/chunks/DUTjbZNf.js.gz +0 -0
- package/dist/ui/client/ui/_app/immutable/chunks/Dvxhfd7j.js +3 -0
- package/dist/ui/client/ui/_app/immutable/chunks/Dvxhfd7j.js.br +0 -0
- package/dist/ui/client/ui/_app/immutable/chunks/Dvxhfd7j.js.gz +0 -0
- package/dist/ui/client/ui/_app/immutable/chunks/DzInmTUe.js +1 -0
- package/dist/ui/client/ui/_app/immutable/chunks/DzInmTUe.js.br +1 -0
- package/dist/ui/client/ui/_app/immutable/chunks/DzInmTUe.js.gz +0 -0
- package/dist/ui/client/ui/_app/immutable/chunks/tKonUL5Y.js +4 -0
- package/dist/ui/client/ui/_app/immutable/chunks/tKonUL5Y.js.br +0 -0
- package/dist/ui/client/ui/_app/immutable/chunks/tKonUL5Y.js.gz +0 -0
- package/dist/ui/client/ui/_app/immutable/entry/app.C8tsut3X.js +2 -0
- package/dist/ui/client/ui/_app/immutable/entry/app.C8tsut3X.js.br +0 -0
- package/dist/ui/client/ui/_app/immutable/entry/app.C8tsut3X.js.gz +0 -0
- package/dist/ui/client/ui/_app/immutable/entry/payload.DSmR2FwN.js +1 -0
- package/dist/ui/client/ui/_app/immutable/entry/payload.DSmR2FwN.js.br +0 -0
- package/dist/ui/client/ui/_app/immutable/entry/payload.DSmR2FwN.js.gz +0 -0
- package/dist/ui/client/ui/_app/immutable/entry/start.DqIv9xYX.js +2 -0
- package/dist/ui/client/ui/_app/immutable/entry/start.DqIv9xYX.js.br +0 -0
- package/dist/ui/client/ui/_app/immutable/entry/start.DqIv9xYX.js.gz +0 -0
- package/dist/ui/client/ui/_app/immutable/nodes/0.3bVKqGbx.js +1 -0
- package/dist/ui/client/ui/_app/immutable/nodes/0.3bVKqGbx.js.br +0 -0
- package/dist/ui/client/ui/_app/immutable/nodes/0.3bVKqGbx.js.gz +0 -0
- package/dist/ui/client/ui/_app/immutable/nodes/1.C81neQJL.js +1 -0
- package/dist/ui/client/ui/_app/immutable/nodes/1.C81neQJL.js.br +0 -0
- package/dist/ui/client/ui/_app/immutable/nodes/1.C81neQJL.js.gz +0 -0
- package/dist/ui/client/ui/_app/immutable/nodes/2.CmlyeAx_.js +1 -0
- package/dist/ui/client/ui/_app/immutable/nodes/2.CmlyeAx_.js.br +0 -0
- package/dist/ui/client/ui/_app/immutable/nodes/2.CmlyeAx_.js.gz +0 -0
- package/dist/ui/client/ui/_app/immutable/nodes/3.WT26F_BF.js +5 -0
- package/dist/ui/client/ui/_app/immutable/nodes/3.WT26F_BF.js.br +0 -0
- package/dist/ui/client/ui/_app/immutable/nodes/3.WT26F_BF.js.gz +0 -0
- package/dist/ui/client/ui/_app/immutable/nodes/4.tiDJxi6M.js +160 -0
- package/dist/ui/client/ui/_app/immutable/nodes/4.tiDJxi6M.js.br +0 -0
- package/dist/ui/client/ui/_app/immutable/nodes/4.tiDJxi6M.js.gz +0 -0
- package/dist/ui/client/ui/_app/immutable/nodes/5.MzfJoePg.js +6 -0
- package/dist/ui/client/ui/_app/immutable/nodes/5.MzfJoePg.js.br +0 -0
- package/dist/ui/client/ui/_app/immutable/nodes/5.MzfJoePg.js.gz +0 -0
- package/dist/ui/client/ui/_app/immutable/nodes/6.bNZhqiRK.js +6 -0
- package/dist/ui/client/ui/_app/immutable/nodes/6.bNZhqiRK.js.br +0 -0
- package/dist/ui/client/ui/_app/immutable/nodes/6.bNZhqiRK.js.gz +0 -0
- package/dist/ui/client/ui/_app/version.json +1 -0
- package/dist/ui/client/ui/_app/version.json.br +0 -0
- package/dist/ui/client/ui/_app/version.json.gz +0 -0
- package/dist/ui/client/ui/robots.txt +3 -0
- package/dist/ui/client/ui/robots.txt.br +0 -0
- package/dist/ui/client/ui/robots.txt.gz +0 -0
- package/dist/ui/handler.js +1 -0
- package/dist/ui/index.js +1 -0
- package/dist/ui/server/.vite/manifest.json +761 -0
- package/dist/ui/server/_app/immutable/assets/ExternalLink.CYXazpKA.css +1 -0
- package/dist/ui/server/_app/immutable/assets/Pane.Dgdg5KMw.css +1 -0
- package/dist/ui/server/_app/immutable/assets/_layout.DSVNnDlO.css +1 -0
- package/dist/ui/server/_app/immutable/assets/_layout.ONZWQgDA.css +1 -0
- package/dist/ui/server/_app/immutable/assets/_page.C0Nhvs_m.css +1 -0
- package/dist/ui/server/_app/immutable/assets/_page.DyY1vjRV.css +1 -0
- package/dist/ui/server/_app/immutable/assets/_page.WduKm4aT.css +1 -0
- package/dist/ui/server/_app/immutable/assets/_page.YyxFzHED.css +1 -0
- package/dist/ui/server/_app/immutable/assets/material-symbols-outlined-latin-400-normal.BhEvR8fk.woff2 +0 -0
- package/dist/ui/server/_app/immutable/assets/roboto-flex-cyrillic-ext-opsz-normal.nDQikIyu.woff2 +0 -0
- package/dist/ui/server/_app/immutable/assets/roboto-flex-cyrillic-opsz-normal.SjuC5rw5.woff2 +0 -0
- package/dist/ui/server/_app/immutable/assets/roboto-flex-greek-opsz-normal.C14fFRny.woff2 +0 -0
- package/dist/ui/server/_app/immutable/assets/roboto-flex-latin-ext-opsz-normal.xNclTVCo.woff2 +0 -0
- package/dist/ui/server/_app/immutable/assets/roboto-flex-latin-opsz-normal.hy8fyBBC.woff2 +0 -0
- package/dist/ui/server/_app/immutable/assets/roboto-flex-vietnamese-opsz-normal.C-H_yGOU.woff2 +0 -0
- package/dist/ui/server/_app/immutable/assets/roboto-mono-cyrillic-400-normal.B3hIXASd.woff +0 -0
- package/dist/ui/server/_app/immutable/assets/roboto-mono-cyrillic-400-normal.C-_K-ZCn.woff2 +0 -0
- package/dist/ui/server/_app/immutable/assets/roboto-mono-cyrillic-500-normal.DGZ7-lUP.woff2 +0 -0
- package/dist/ui/server/_app/immutable/assets/roboto-mono-cyrillic-500-normal.NpUJFYX7.woff +0 -0
- package/dist/ui/server/_app/immutable/assets/roboto-mono-cyrillic-ext-400-normal.BHxv52bw.woff2 +0 -0
- package/dist/ui/server/_app/immutable/assets/roboto-mono-cyrillic-ext-400-normal.W26xs1TL.woff +0 -0
- package/dist/ui/server/_app/immutable/assets/roboto-mono-cyrillic-ext-500-normal.6xdwlG7p.woff +0 -0
- package/dist/ui/server/_app/immutable/assets/roboto-mono-cyrillic-ext-500-normal.DC57U9n8.woff2 +0 -0
- package/dist/ui/server/_app/immutable/assets/roboto-mono-greek-400-normal.CH_u3Aru.woff2 +0 -0
- package/dist/ui/server/_app/immutable/assets/roboto-mono-greek-400-normal.P8xe1gs1.woff +0 -0
- package/dist/ui/server/_app/immutable/assets/roboto-mono-greek-500-normal.C2M8jX6G.woff +0 -0
- package/dist/ui/server/_app/immutable/assets/roboto-mono-greek-500-normal.DpRFkptA.woff2 +0 -0
- package/dist/ui/server/_app/immutable/assets/roboto-mono-latin-400-normal.DBZPkcnn.woff +0 -0
- package/dist/ui/server/_app/immutable/assets/roboto-mono-latin-400-normal.GekRknry.woff2 +0 -0
- package/dist/ui/server/_app/immutable/assets/roboto-mono-latin-500-normal.D6j6AMzd.woff +0 -0
- package/dist/ui/server/_app/immutable/assets/roboto-mono-latin-500-normal.pxIOXZmA.woff2 +0 -0
- package/dist/ui/server/_app/immutable/assets/roboto-mono-latin-ext-400-normal.BwLXVYNz.woff +0 -0
- package/dist/ui/server/_app/immutable/assets/roboto-mono-latin-ext-400-normal.DLAV9S_w.woff2 +0 -0
- package/dist/ui/server/_app/immutable/assets/roboto-mono-latin-ext-500-normal.B1IjfbhL.woff +0 -0
- package/dist/ui/server/_app/immutable/assets/roboto-mono-latin-ext-500-normal.Db3ge6Oe.woff2 +0 -0
- package/dist/ui/server/_app/immutable/assets/roboto-mono-vietnamese-400-normal.CzWHQABp.woff +0 -0
- package/dist/ui/server/_app/immutable/assets/roboto-mono-vietnamese-400-normal.yYTFiTTs.woff2 +0 -0
- package/dist/ui/server/_app/immutable/assets/roboto-mono-vietnamese-500-normal.Cq-quQMu.woff2 +0 -0
- package/dist/ui/server/_app/immutable/assets/roboto-mono-vietnamese-500-normal.IxzxMIj7.woff +0 -0
- package/dist/ui/server/adapter-env.js +1 -0
- package/dist/ui/server/adapter-index.js +73 -0
- package/dist/ui/server/adapter-index.js.map +1 -0
- package/dist/ui/server/adapter-node-env.js +63 -0
- package/dist/ui/server/adapter-node-env.js.map +1 -0
- package/dist/ui/server/adapter-node-handler.js +638 -0
- package/dist/ui/server/adapter-node-handler.js.map +1 -0
- package/dist/ui/server/chunks/ExternalLink.js +12 -0
- package/dist/ui/server/chunks/ExternalLink.js.map +1 -0
- package/dist/ui/server/chunks/Pane.js +13 -0
- package/dist/ui/server/chunks/Pane.js.map +1 -0
- package/dist/ui/server/chunks/composition.js +3468 -0
- package/dist/ui/server/chunks/composition.js.map +1 -0
- package/dist/ui/server/chunks/config-state.js +21 -0
- package/dist/ui/server/chunks/config-state.js.map +1 -0
- package/dist/ui/server/chunks/config.js +145 -0
- package/dist/ui/server/chunks/config.js.map +1 -0
- package/dist/ui/server/chunks/dialog.js +592 -0
- package/dist/ui/server/chunks/dialog.js.map +1 -0
- package/dist/ui/server/chunks/exports.js +352 -0
- package/dist/ui/server/chunks/exports.js.map +1 -0
- package/dist/ui/server/chunks/filled-button.js +116 -0
- package/dist/ui/server/chunks/filled-button.js.map +1 -0
- package/dist/ui/server/chunks/functions.js +29 -0
- package/dist/ui/server/chunks/functions.js.map +1 -0
- package/dist/ui/server/chunks/icon-button.js +234 -0
- package/dist/ui/server/chunks/icon-button.js.map +1 -0
- package/dist/ui/server/chunks/icon.js +49 -0
- package/dist/ui/server/chunks/icon.js.map +1 -0
- package/dist/ui/server/chunks/index-server.js +6 -0
- package/dist/ui/server/chunks/index-server.js.map +1 -0
- package/dist/ui/server/chunks/instance.js +3577 -0
- package/dist/ui/server/chunks/instance.js.map +1 -0
- package/dist/ui/server/chunks/internal.js +3577 -0
- package/dist/ui/server/chunks/internal.js.map +1 -0
- package/dist/ui/server/chunks/navigation.js +11 -0
- package/dist/ui/server/chunks/navigation.js.map +1 -0
- package/dist/ui/server/chunks/navigation2.js +15 -0
- package/dist/ui/server/chunks/navigation2.js.map +1 -0
- package/dist/ui/server/chunks/outlined-text-field.js +1477 -0
- package/dist/ui/server/chunks/outlined-text-field.js.map +1 -0
- package/dist/ui/server/chunks/paths.js +2 -0
- package/dist/ui/server/chunks/redispatch-event.js +91 -0
- package/dist/ui/server/chunks/redispatch-event.js.map +1 -0
- package/dist/ui/server/chunks/remote-1j2tn2d.js +4 -0
- package/dist/ui/server/chunks/remote.js +1580 -0
- package/dist/ui/server/chunks/remote.js.map +1 -0
- package/dist/ui/server/chunks/scope.js +13 -0
- package/dist/ui/server/chunks/scope.js.map +1 -0
- package/dist/ui/server/chunks/server-errors.js +471 -0
- package/dist/ui/server/chunks/server-errors.js.map +1 -0
- package/dist/ui/server/chunks/server.js +8 -0
- package/dist/ui/server/chunks/server.js.map +1 -0
- package/dist/ui/server/chunks/server2.js +1960 -0
- package/dist/ui/server/chunks/server2.js.map +1 -0
- package/dist/ui/server/chunks/sessions.js +65 -0
- package/dist/ui/server/chunks/sessions.js.map +1 -0
- package/dist/ui/server/chunks/sessions.remote.js +56 -0
- package/dist/ui/server/chunks/sessions.remote.js.map +1 -0
- package/dist/ui/server/chunks/shared-errors.js +198 -0
- package/dist/ui/server/chunks/shared-errors.js.map +1 -0
- package/dist/ui/server/chunks/shared.js +85 -0
- package/dist/ui/server/chunks/shared.js.map +1 -0
- package/dist/ui/server/chunks/src.js +1217 -0
- package/dist/ui/server/chunks/src.js.map +1 -0
- package/dist/ui/server/chunks/state.js +38 -0
- package/dist/ui/server/chunks/state.js.map +1 -0
- package/dist/ui/server/chunks/static-html.js +38 -0
- package/dist/ui/server/chunks/static-html.js.map +1 -0
- package/dist/ui/server/chunks/text-button.js +307 -0
- package/dist/ui/server/chunks/text-button.js.map +1 -0
- package/dist/ui/server/entries/endpoints/api/config/_server.ts.js +19 -0
- package/dist/ui/server/entries/endpoints/api/config/_server.ts.js.map +1 -0
- package/dist/ui/server/entries/endpoints/api/input/keys/_server.ts.js +14 -0
- package/dist/ui/server/entries/endpoints/api/input/keys/_server.ts.js.map +1 -0
- package/dist/ui/server/entries/endpoints/api/markers/_server.ts.js +13 -0
- package/dist/ui/server/entries/endpoints/api/markers/_server.ts.js.map +1 -0
- package/dist/ui/server/entries/endpoints/api/sessions/_id_id_/_server.ts.js +12 -0
- package/dist/ui/server/entries/endpoints/api/sessions/_id_id_/_server.ts.js.map +1 -0
- package/dist/ui/server/entries/endpoints/api/sessions/_server.ts.js +13 -0
- package/dist/ui/server/entries/endpoints/api/sessions/_server.ts.js.map +1 -0
- package/dist/ui/server/entries/endpoints/api/sessions/end/_server.ts.js +9 -0
- package/dist/ui/server/entries/endpoints/api/sessions/end/_server.ts.js.map +1 -0
- package/dist/ui/server/entries/endpoints/api/speech/_server.ts.js +25 -0
- package/dist/ui/server/entries/endpoints/api/speech/_server.ts.js.map +1 -0
- package/dist/ui/server/entries/endpoints/api/speech/stream/_server.ts.js +19 -0
- package/dist/ui/server/entries/endpoints/api/speech/stream/_server.ts.js.map +1 -0
- package/dist/ui/server/entries/endpoints/api/status/_server.ts.js +9 -0
- package/dist/ui/server/entries/endpoints/api/status/_server.ts.js.map +1 -0
- package/dist/ui/server/entries/hooks.server.js +161 -0
- package/dist/ui/server/entries/hooks.server.js.map +1 -0
- package/dist/ui/server/entries/pages/_error.svelte.js +16 -0
- package/dist/ui/server/entries/pages/_error.svelte.js.map +1 -0
- package/dist/ui/server/entries/pages/_layout.server.ts.js +17 -0
- package/dist/ui/server/entries/pages/_layout.server.ts.js.map +1 -0
- package/dist/ui/server/entries/pages/_layout.svelte.js +175 -0
- package/dist/ui/server/entries/pages/_layout.svelte.js.map +1 -0
- package/dist/ui/server/entries/pages/_page.server.ts.js +18 -0
- package/dist/ui/server/entries/pages/_page.server.ts.js.map +1 -0
- package/dist/ui/server/entries/pages/_page.svelte.js +444 -0
- package/dist/ui/server/entries/pages/_page.svelte.js.map +1 -0
- package/dist/ui/server/entries/pages/settings/_page.server.ts.js +12 -0
- package/dist/ui/server/entries/pages/settings/_page.server.ts.js.map +1 -0
- package/dist/ui/server/entries/pages/settings/_page.svelte.js +3531 -0
- package/dist/ui/server/entries/pages/settings/_page.svelte.js.map +1 -0
- package/dist/ui/server/entries/pages/setup/_layout.svelte.js +51 -0
- package/dist/ui/server/entries/pages/setup/_layout.svelte.js.map +1 -0
- package/dist/ui/server/entries/pages/setup/_page.svelte.js +230 -0
- package/dist/ui/server/entries/pages/setup/_page.svelte.js.map +1 -0
- package/dist/ui/server/entries/pages/setup/instructions/_page.server.ts.js +12 -0
- package/dist/ui/server/entries/pages/setup/instructions/_page.server.ts.js.map +1 -0
- package/dist/ui/server/entries/pages/setup/instructions/_page.svelte.js +271 -0
- package/dist/ui/server/entries/pages/setup/instructions/_page.svelte.js.map +1 -0
- package/dist/ui/server/entries/params.js +60 -0
- package/dist/ui/server/entries/params.js.map +1 -0
- package/dist/ui/server/env.js +1 -0
- package/dist/ui/server/handler.js +1 -0
- package/dist/ui/server/index.js +67 -0
- package/dist/ui/server/index.js.map +1 -0
- package/dist/ui/server/manifest-full.js +126 -0
- package/dist/ui/server/manifest.js +126 -0
- package/dist/ui/server/nodes/0.js +10 -0
- package/dist/ui/server/nodes/1.js +8 -0
- package/dist/ui/server/nodes/2.js +8 -0
- package/dist/ui/server/nodes/3.js +10 -0
- package/dist/ui/server/nodes/4.js +10 -0
- package/dist/ui/server/nodes/5.js +8 -0
- package/dist/ui/server/nodes/6.js +10 -0
- package/dist/ui/server/remote-entry.js +1 -0
- package/dist/ui/server/server.js +128 -0
- package/package.json +39 -3
|
@@ -0,0 +1,198 @@
|
|
|
1
|
+
// ../../node_modules/.pnpm/@sveltejs+kit@3.4.1_@sveltejs+vite-plugin-svelte@7.3.2_svelte@5.59.2_@typescript-eslint_728102f730ebab1d17bec5b56ce561d1/node_modules/@sveltejs/kit/src/messages/internal/shared.js
|
|
2
|
+
/**
|
|
3
|
+
* Whether shared errors include their full text on the server even though `DEV` is false. This is
|
|
4
|
+
* enabled while the app is being built (analysed or prerendered)
|
|
5
|
+
*/
|
|
6
|
+
var verbose = false;
|
|
7
|
+
function enable_verbose_errors() {
|
|
8
|
+
verbose = true;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Throws the full diagnostic. Generated helpers throw their URL-only production error inline, so
|
|
12
|
+
* bundlers can remove both this call and the message text from production browser builds
|
|
13
|
+
* @param {string} code
|
|
14
|
+
* @param {string} message
|
|
15
|
+
* @param {Function} caller The generated helper, which is omitted from the stack along with this function
|
|
16
|
+
* @returns {never}
|
|
17
|
+
*/
|
|
18
|
+
function throw_error(code, message, caller) {
|
|
19
|
+
const error = /* @__PURE__ */ new Error(`${code}\n${message}\nhttps://svelte.dev/e/kit/${code}`);
|
|
20
|
+
error.name = "SvelteKit error";
|
|
21
|
+
Error.captureStackTrace?.(error, caller);
|
|
22
|
+
throw error;
|
|
23
|
+
}
|
|
24
|
+
// ../../node_modules/.pnpm/@sveltejs+kit@3.4.1_@sveltejs+vite-plugin-svelte@7.3.2_svelte@5.59.2_@typescript-eslint_728102f730ebab1d17bec5b56ce561d1/node_modules/@sveltejs/kit/src/messages/shared-errors.js
|
|
25
|
+
/**
|
|
26
|
+
* Invalid array key `%key%`
|
|
27
|
+
* @param {{ "key": string }} _values
|
|
28
|
+
* @returns {never}
|
|
29
|
+
*/
|
|
30
|
+
function form_field_array_conflict(_values) {
|
|
31
|
+
if (verbose) throw_error("form_field_array_conflict", `Invalid array key \`${_values.key}\``, form_field_array_conflict);
|
|
32
|
+
throw new Error("https://svelte.dev/e/kit/form_field_array_conflict");
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Form cannot contain duplicated keys — `%name%` has %count% values
|
|
36
|
+
* @param {{ "name": string; "count": string }} _values
|
|
37
|
+
* @returns {never}
|
|
38
|
+
*/
|
|
39
|
+
function form_field_duplicate(_values) {
|
|
40
|
+
if (verbose) throw_error("form_field_duplicate", `Form cannot contain duplicated keys — \`${_values.name}\` has ${_values.count} values`, form_field_duplicate);
|
|
41
|
+
throw new Error("https://svelte.dev/e/kit/form_field_duplicate");
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Invalid key `%key%`: This key is not allowed to prevent prototype pollution.
|
|
45
|
+
* @param {{ "key": string }} _values
|
|
46
|
+
* @returns {never}
|
|
47
|
+
*/
|
|
48
|
+
function form_field_forbidden_key(_values) {
|
|
49
|
+
if (verbose) throw_error("form_field_forbidden_key", `Invalid key \`${_values.key}\`: This key is not allowed to prevent prototype pollution.`, form_field_forbidden_key);
|
|
50
|
+
throw new Error("https://svelte.dev/e/kit/form_field_forbidden_key");
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Invalid field name `%name%`: field names are written in JS object notation, so keys that would need quoting are not supported. See https://svelte.dev/docs/kit/remote-functions#form-Fields
|
|
54
|
+
* @param {{ "name": string }} _values
|
|
55
|
+
* @returns {never}
|
|
56
|
+
*/
|
|
57
|
+
function form_field_invalid_name(_values) {
|
|
58
|
+
if (verbose) throw_error("form_field_invalid_name", `Invalid field name \`${_values.name}\`: field names are written in JS object notation, so keys that would need quoting are not supported. See https://svelte.dev/docs/kit/remote-functions#form-Fields`, form_field_invalid_name);
|
|
59
|
+
throw new Error("https://svelte.dev/e/kit/form_field_invalid_name");
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Form field `%name%` has too many missing array indexes
|
|
63
|
+
* @param {{ "name": string }} _values
|
|
64
|
+
* @returns {never}
|
|
65
|
+
*/
|
|
66
|
+
function form_field_too_many_gaps(_values) {
|
|
67
|
+
if (verbose) throw_error("form_field_too_many_gaps", `Form field \`${_values.name}\` has too many missing array indexes`, form_field_too_many_gaps);
|
|
68
|
+
throw new Error("https://svelte.dev/e/kit/form_field_too_many_gaps");
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* Form contained a field that wasn't created with `form.fields.as(...)`: `%name%`
|
|
72
|
+
* @param {{ "name": string }} _values
|
|
73
|
+
* @returns {never}
|
|
74
|
+
*/
|
|
75
|
+
function form_field_unbound(_values) {
|
|
76
|
+
if (verbose) throw_error("form_field_unbound", `Form contained a field that wasn't created with \`form.fields.as(...)\`: \`${_values.name}\``, form_field_unbound);
|
|
77
|
+
throw new Error("https://svelte.dev/e/kit/form_field_unbound");
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* HTTP error status codes must be between 400 and 599 — %status% is invalid
|
|
81
|
+
* @param {{ "status": string }} _values
|
|
82
|
+
* @returns {never}
|
|
83
|
+
*/
|
|
84
|
+
function invalid_error_status(_values) {
|
|
85
|
+
if (verbose) throw_error("invalid_error_status", `HTTP error status codes must be between 400 and 599 — ${_values.status} is invalid`, invalid_error_status);
|
|
86
|
+
throw new Error("https://svelte.dev/e/kit/invalid_error_status");
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* Invalid export `%key%` (valid exports are %exports%, or anything with a `'_'` prefix)
|
|
90
|
+
* @param {{ "key": string; "exports": string; "file"?: string }} _values
|
|
91
|
+
* @returns {never}
|
|
92
|
+
*/
|
|
93
|
+
function invalid_export(_values) {
|
|
94
|
+
if (verbose) throw_error("invalid_export", _values?.file !== void 0 ? `Invalid export \`${_values.key}\` in \`${_values.file}\` (valid exports are ${_values.exports}, or anything with a \`'_'\` prefix)` : `Invalid export \`${_values.key}\` (valid exports are ${_values.exports}, or anything with a \`'_'\` prefix)`, invalid_export);
|
|
95
|
+
throw new Error("https://svelte.dev/e/kit/invalid_export");
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* Invalid export `%key%` (`%key%` is a valid export in %locations%)
|
|
99
|
+
* @param {{ "key": string; "locations": string; "file"?: string }} _values
|
|
100
|
+
* @returns {never}
|
|
101
|
+
*/
|
|
102
|
+
function invalid_export_location(_values) {
|
|
103
|
+
if (verbose) throw_error("invalid_export_location", _values?.file !== void 0 ? `Invalid export \`${_values.key}\` in \`${_values.file}\` (\`${_values.key}\` is a valid export in ${_values.locations})` : `Invalid export \`${_values.key}\` (\`${_values.key}\` is a valid export in ${_values.locations})`, invalid_export_location);
|
|
104
|
+
throw new Error("https://svelte.dev/e/kit/invalid_export_location");
|
|
105
|
+
}
|
|
106
|
+
/**
|
|
107
|
+
* Invalid param definition
|
|
108
|
+
* @param {void} _values
|
|
109
|
+
* @returns {never}
|
|
110
|
+
*/
|
|
111
|
+
function param_definition_invalid(_values) {
|
|
112
|
+
if (verbose) throw_error("param_definition_invalid", `Invalid param definition`, param_definition_invalid);
|
|
113
|
+
throw new Error("https://svelte.dev/e/kit/param_definition_invalid");
|
|
114
|
+
}
|
|
115
|
+
/**
|
|
116
|
+
* Async param matchers are not supported
|
|
117
|
+
* @param {void} _values
|
|
118
|
+
* @returns {never}
|
|
119
|
+
*/
|
|
120
|
+
function param_matcher_async(_values) {
|
|
121
|
+
if (verbose) throw_error("param_matcher_async", `Async param matchers are not supported`, param_matcher_async);
|
|
122
|
+
throw new Error("https://svelte.dev/e/kit/param_matcher_async");
|
|
123
|
+
}
|
|
124
|
+
/**
|
|
125
|
+
* Param matcher must return a string, number, boolean, or bigint
|
|
126
|
+
* @param {void} _values
|
|
127
|
+
* @returns {never}
|
|
128
|
+
*/
|
|
129
|
+
function param_matcher_result_invalid(_values) {
|
|
130
|
+
if (verbose) throw_error("param_matcher_result_invalid", `Param matcher must return a string, number, boolean, or bigint`, param_matcher_result_invalid);
|
|
131
|
+
throw new Error("https://svelte.dev/e/kit/param_matcher_result_invalid");
|
|
132
|
+
}
|
|
133
|
+
/**
|
|
134
|
+
* %type% are not valid remote function arguments
|
|
135
|
+
* @param {{ "type": string }} _values
|
|
136
|
+
* @returns {never}
|
|
137
|
+
*/
|
|
138
|
+
function remote_argument_unsupported(_values) {
|
|
139
|
+
if (verbose) throw_error("remote_argument_unsupported", `${_values.type} are not valid remote function arguments`, remote_argument_unsupported);
|
|
140
|
+
throw new Error("https://svelte.dev/e/kit/remote_argument_unsupported");
|
|
141
|
+
}
|
|
142
|
+
/**
|
|
143
|
+
* Missing params for dynamic route ID `%id%`
|
|
144
|
+
* @param {{ "id": string }} _values
|
|
145
|
+
* @returns {never}
|
|
146
|
+
*/
|
|
147
|
+
function resolve_params_missing(_values) {
|
|
148
|
+
if (verbose) throw_error("resolve_params_missing", `Missing params for dynamic route ID \`${_values.id}\``, resolve_params_missing);
|
|
149
|
+
throw new Error("https://svelte.dev/e/kit/resolve_params_missing");
|
|
150
|
+
}
|
|
151
|
+
/**
|
|
152
|
+
* Cannot use `resolve(...)` with an absolute or protocol-relative URL (got "%id%")
|
|
153
|
+
* @param {{ "id": string }} _values
|
|
154
|
+
* @returns {never}
|
|
155
|
+
*/
|
|
156
|
+
function resolve_url_input(_values) {
|
|
157
|
+
if (verbose) throw_error("resolve_url_input", `Cannot use \`resolve(...)\` with an absolute or protocol-relative URL (got "${_values.id}")`, resolve_url_input);
|
|
158
|
+
throw new Error("https://svelte.dev/e/kit/resolve_url_input");
|
|
159
|
+
}
|
|
160
|
+
/**
|
|
161
|
+
* Missing parameter `%name%` in route `%id%`
|
|
162
|
+
* @param {{ "name": string; "id": string }} _values
|
|
163
|
+
* @returns {never}
|
|
164
|
+
*/
|
|
165
|
+
function route_param_missing(_values) {
|
|
166
|
+
if (verbose) throw_error("route_param_missing", `Missing parameter \`${_values.name}\` in route \`${_values.id}\``, route_param_missing);
|
|
167
|
+
throw new Error("https://svelte.dev/e/kit/route_param_missing");
|
|
168
|
+
}
|
|
169
|
+
/**
|
|
170
|
+
* Parameter `%name%` in route `%id%` cannot start or end with a slash — this would cause an invalid route like `foo/bar`
|
|
171
|
+
* @param {{ "name": string; "id": string }} _values
|
|
172
|
+
* @returns {never}
|
|
173
|
+
*/
|
|
174
|
+
function route_param_slash(_values) {
|
|
175
|
+
if (verbose) throw_error("route_param_slash", `Parameter \`${_values.name}\` in route \`${_values.id}\` cannot start or end with a slash — this would cause an invalid route like \`foo/bar\``, route_param_slash);
|
|
176
|
+
throw new Error("https://svelte.dev/e/kit/route_param_slash");
|
|
177
|
+
}
|
|
178
|
+
/**
|
|
179
|
+
* Parameter `%name%` in route `%id%` must be a string, number, boolean, or bigint
|
|
180
|
+
* @param {{ "name": string; "id": string }} _values
|
|
181
|
+
* @returns {never}
|
|
182
|
+
*/
|
|
183
|
+
function route_param_value_invalid(_values) {
|
|
184
|
+
if (verbose) throw_error("route_param_value_invalid", `Parameter \`${_values.name}\` in route \`${_values.id}\` must be a string, number, boolean, or bigint`, route_param_value_invalid);
|
|
185
|
+
throw new Error("https://svelte.dev/e/kit/route_param_value_invalid");
|
|
186
|
+
}
|
|
187
|
+
/**
|
|
188
|
+
* Cannot access `event.url.hash`. Consider using `page.url.hash` inside a component instead
|
|
189
|
+
* @param {void} _values
|
|
190
|
+
* @returns {never}
|
|
191
|
+
*/
|
|
192
|
+
function url_hash_unavailable(_values) {
|
|
193
|
+
if (verbose) throw_error("url_hash_unavailable", `Cannot access \`event.url.hash\`. Consider using \`page.url.hash\` inside a component instead`, url_hash_unavailable);
|
|
194
|
+
throw new Error("https://svelte.dev/e/kit/url_hash_unavailable");
|
|
195
|
+
}
|
|
196
|
+
export { route_param_slash as _, form_field_too_many_gaps as a, enable_verbose_errors as b, invalid_export as c, param_matcher_async as d, param_matcher_result_invalid as f, route_param_missing as g, resolve_url_input as h, form_field_invalid_name as i, invalid_export_location as l, resolve_params_missing as m, form_field_duplicate as n, form_field_unbound as o, remote_argument_unsupported as p, form_field_forbidden_key as r, invalid_error_status as s, form_field_array_conflict as t, param_definition_invalid as u, route_param_value_invalid as v, url_hash_unavailable as y };
|
|
197
|
+
|
|
198
|
+
//# sourceMappingURL=shared-errors.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shared-errors.js","names":[],"sources":["../../../../../node_modules/.pnpm/@sveltejs+kit@3.4.1_@sveltejs+vite-plugin-svelte@7.3.2_svelte@5.59.2_@typescript-eslint_728102f730ebab1d17bec5b56ce561d1/node_modules/@sveltejs/kit/src/messages/internal/shared.js","../../../../../node_modules/.pnpm/@sveltejs+kit@3.4.1_@sveltejs+vite-plugin-svelte@7.3.2_svelte@5.59.2_@typescript-eslint_728102f730ebab1d17bec5b56ce561d1/node_modules/@sveltejs/kit/src/messages/shared-errors.js"],"sourcesContent":["/**\n * Whether shared errors include their full text on the server even though `DEV` is false. This is\n * enabled while the app is being built (analysed or prerendered)\n */\nexport let verbose = false;\n\nexport function enable_verbose_errors() {\n\tverbose = true;\n}\n\n/**\n * @typedef {{ element?: Element }} ClientWarningOptions\n * - `element`: logged after the warning, so that it can be inspected in the browser's devtools\n */\n\n/** `console.warn` styles for the code and text of shared runtime warnings, as in Svelte */\nexport const bold = 'font-weight: bold';\nexport const normal = 'font-weight: normal';\n\n/**\n * Throws the full diagnostic. Generated helpers throw their URL-only production error inline, so\n * bundlers can remove both this call and the message text from production browser builds\n * @param {string} code\n * @param {string} message\n * @param {Function} caller The generated helper, which is omitted from the stack along with this function\n * @returns {never}\n */\nexport function throw_error(code, message, caller) {\n\tconst error = new Error(`${code}\\n${message}\\nhttps://svelte.dev/e/kit/${code}`);\n\terror.name = 'SvelteKit error';\n\n\t// not available in every browser, in which case the stack also includes these two frames\n\tError.captureStackTrace?.(error, caller);\n\n\tthrow error;\n}\n\n/**\n * Returns the error thrown by `fn`, for the few places that pass an error on (for example to\n * `handleError`) rather than throwing it. Unlike `capture_error` in `./server.js`, this can be\n * bundled for browsers, so the thrown error only contains the URL in production\n * @param {() => never} fn A function that calls a generated `client-errors` or `shared-errors` helper\n * @returns {Error}\n */\nexport function capture_error(fn) {\n\ttry {\n\t\tfn();\n\t} catch (error) {\n\t\treturn /** @type {Error} */ (error);\n\t}\n}\n","/* This file is generated by scripts/process-messages/index.js. Do not edit! */\n\nimport { BROWSER, DEV } from 'esm-env';\nimport { throw_error, verbose } from './internal/shared.js';\n\n/**\n * `$app/stores` has been removed in favour of `$app/state`\n * @param {void} _values\n * @returns {never}\n */\nexport function app_stores_removed(_values) {\n\tif (DEV || (!BROWSER && verbose)) {\n\t\tthrow_error('app_stores_removed', `\\`$app/stores\\` has been removed in favour of \\`$app/state\\``, app_stores_removed);\n\t}\n\n\tthrow new Error('https://svelte.dev/e/kit/app_stores_removed');\n}\n\n/**\n * Invalid array key `%key%`\n * @param {{ \"key\": string }} _values\n * @returns {never}\n */\nexport function form_field_array_conflict(_values) {\n\tif (DEV || (!BROWSER && verbose)) {\n\t\tthrow_error('form_field_array_conflict', `Invalid array key \\`${_values.key}\\``, form_field_array_conflict);\n\t}\n\n\tthrow new Error('https://svelte.dev/e/kit/form_field_array_conflict');\n}\n\n/**\n * Form cannot contain duplicated keys — `%name%` has %count% values\n * @param {{ \"name\": string; \"count\": string }} _values\n * @returns {never}\n */\nexport function form_field_duplicate(_values) {\n\tif (DEV || (!BROWSER && verbose)) {\n\t\tthrow_error('form_field_duplicate', `Form cannot contain duplicated keys — \\`${_values.name}\\` has ${_values.count} values`, form_field_duplicate);\n\t}\n\n\tthrow new Error('https://svelte.dev/e/kit/form_field_duplicate');\n}\n\n/**\n * Invalid key `%key%`: This key is not allowed to prevent prototype pollution.\n * @param {{ \"key\": string }} _values\n * @returns {never}\n */\nexport function form_field_forbidden_key(_values) {\n\tif (DEV || (!BROWSER && verbose)) {\n\t\tthrow_error('form_field_forbidden_key', `Invalid key \\`${_values.key}\\`: This key is not allowed to prevent prototype pollution.`, form_field_forbidden_key);\n\t}\n\n\tthrow new Error('https://svelte.dev/e/kit/form_field_forbidden_key');\n}\n\n/**\n * Invalid field name `%name%`: field names are written in JS object notation, so keys that would need quoting are not supported. See https://svelte.dev/docs/kit/remote-functions#form-Fields\n * @param {{ \"name\": string }} _values\n * @returns {never}\n */\nexport function form_field_invalid_name(_values) {\n\tif (DEV || (!BROWSER && verbose)) {\n\t\tthrow_error('form_field_invalid_name', `Invalid field name \\`${_values.name}\\`: field names are written in JS object notation, so keys that would need quoting are not supported. See https://svelte.dev/docs/kit/remote-functions#form-Fields`, form_field_invalid_name);\n\t}\n\n\tthrow new Error('https://svelte.dev/e/kit/form_field_invalid_name');\n}\n\n/**\n * Form field `%name%` has too many missing array indexes\n * @param {{ \"name\": string }} _values\n * @returns {never}\n */\nexport function form_field_too_many_gaps(_values) {\n\tif (DEV || (!BROWSER && verbose)) {\n\t\tthrow_error('form_field_too_many_gaps', `Form field \\`${_values.name}\\` has too many missing array indexes`, form_field_too_many_gaps);\n\t}\n\n\tthrow new Error('https://svelte.dev/e/kit/form_field_too_many_gaps');\n}\n\n/**\n * Form contained a field that wasn't created with `form.fields.as(...)`: `%name%`\n * @param {{ \"name\": string }} _values\n * @returns {never}\n */\nexport function form_field_unbound(_values) {\n\tif (DEV || (!BROWSER && verbose)) {\n\t\tthrow_error('form_field_unbound', `Form contained a field that wasn't created with \\`form.fields.as(...)\\`: \\`${_values.name}\\``, form_field_unbound);\n\t}\n\n\tthrow new Error('https://svelte.dev/e/kit/form_field_unbound');\n}\n\n/**\n * %type% inputs must have a value\n * @param {{ \"type\": string }} _values\n * @returns {never}\n */\nexport function form_input_missing_value(_values) {\n\tif (DEV || (!BROWSER && verbose)) {\n\t\tthrow_error('form_input_missing_value', `${_values.type} inputs must have a value`, form_input_missing_value);\n\t}\n\n\tthrow new Error('https://svelte.dev/e/kit/form_input_missing_value');\n}\n\n/**\n * HTTP error status codes must be between 400 and 599 — %status% is invalid\n * @param {{ \"status\": string }} _values\n * @returns {never}\n */\nexport function invalid_error_status(_values) {\n\tif (DEV || (!BROWSER && verbose)) {\n\t\tthrow_error('invalid_error_status', `HTTP error status codes must be between 400 and 599 — ${_values.status} is invalid`, invalid_error_status);\n\t}\n\n\tthrow new Error('https://svelte.dev/e/kit/invalid_error_status');\n}\n\n/**\n * Invalid export `%key%` (valid exports are %exports%, or anything with a `'_'` prefix)\n * @param {{ \"key\": string; \"exports\": string; \"file\"?: string }} _values\n * @returns {never}\n */\nexport function invalid_export(_values) {\n\tif (DEV || (!BROWSER && verbose)) {\n\t\tthrow_error('invalid_export', (_values?.file !== undefined ? `Invalid export \\`${_values.key}\\` in \\`${_values.file}\\` (valid exports are ${_values.exports}, or anything with a \\`'_'\\` prefix)` : `Invalid export \\`${_values.key}\\` (valid exports are ${_values.exports}, or anything with a \\`'_'\\` prefix)`), invalid_export);\n\t}\n\n\tthrow new Error('https://svelte.dev/e/kit/invalid_export');\n}\n\n/**\n * Invalid export `%key%` (`%key%` is a valid export in %locations%)\n * @param {{ \"key\": string; \"locations\": string; \"file\"?: string }} _values\n * @returns {never}\n */\nexport function invalid_export_location(_values) {\n\tif (DEV || (!BROWSER && verbose)) {\n\t\tthrow_error('invalid_export_location', (_values?.file !== undefined ? `Invalid export \\`${_values.key}\\` in \\`${_values.file}\\` (\\`${_values.key}\\` is a valid export in ${_values.locations})` : `Invalid export \\`${_values.key}\\` (\\`${_values.key}\\` is a valid export in ${_values.locations})`), invalid_export_location);\n\t}\n\n\tthrow new Error('https://svelte.dev/e/kit/invalid_export_location');\n}\n\n/**\n * Redirect status codes must be between 300 and 308 — %status% is invalid\n * @param {{ \"status\": string }} _values\n * @returns {never}\n */\nexport function invalid_redirect_status(_values) {\n\tif (DEV || (!BROWSER && verbose)) {\n\t\tthrow_error('invalid_redirect_status', `Redirect status codes must be between 300 and 308 — ${_values.status} is invalid`, invalid_redirect_status);\n\t}\n\n\tthrow new Error('https://svelte.dev/e/kit/invalid_redirect_status');\n}\n\n/**\n * a `load` function %location% returned %type%, but must return a plain object at the top level (i.e. `return {...}`)\n * @param {{ \"location\": string; \"type\": string }} _values\n * @returns {never}\n */\nexport function load_invalid_response(_values) {\n\tif (DEV || (!BROWSER && verbose)) {\n\t\tthrow_error('load_invalid_response', `a \\`load\\` function ${_values.location} returned ${_values.type}, but must return a plain object at the top level (i.e. \\`return {...}\\`)`, load_invalid_response);\n\t}\n\n\tthrow new Error('https://svelte.dev/e/kit/load_invalid_response');\n}\n\n/**\n * Cannot use `match(...)` inside a service worker, as it depends on the SvelteKit client instance\n * @param {void} _values\n * @returns {never}\n */\nexport function match_in_service_worker(_values) {\n\tif (DEV || (!BROWSER && verbose)) {\n\t\tthrow_error('match_in_service_worker', `Cannot use \\`match(...)\\` inside a service worker, as it depends on the SvelteKit client instance`, match_in_service_worker);\n\t}\n\n\tthrow new Error('https://svelte.dev/e/kit/match_in_service_worker');\n}\n\n/**\n * Invalid param definition\n * @param {void} _values\n * @returns {never}\n */\nexport function param_definition_invalid(_values) {\n\tif (DEV || (!BROWSER && verbose)) {\n\t\tthrow_error('param_definition_invalid', `Invalid param definition`, param_definition_invalid);\n\t}\n\n\tthrow new Error('https://svelte.dev/e/kit/param_definition_invalid');\n}\n\n/**\n * Async param matchers are not supported\n * @param {void} _values\n * @returns {never}\n */\nexport function param_matcher_async(_values) {\n\tif (DEV || (!BROWSER && verbose)) {\n\t\tthrow_error('param_matcher_async', `Async param matchers are not supported`, param_matcher_async);\n\t}\n\n\tthrow new Error('https://svelte.dev/e/kit/param_matcher_async');\n}\n\n/**\n * Param matcher must return a string, number, boolean, or bigint\n * @param {void} _values\n * @returns {never}\n */\nexport function param_matcher_result_invalid(_values) {\n\tif (DEV || (!BROWSER && verbose)) {\n\t\tthrow_error('param_matcher_result_invalid', `Param matcher must return a string, number, boolean, or bigint`, param_matcher_result_invalid);\n\t}\n\n\tthrow new Error('https://svelte.dev/e/kit/param_matcher_result_invalid');\n}\n\n/**\n * Cannot redirect to `%location%` with `{ external: true }`. The `javascript:` and `data:` protocols must be explicitly listed in the `external` allowlist\n * @param {{ \"location\": string }} _values\n * @returns {never}\n */\nexport function redirect_external_javascript(_values) {\n\tif (DEV || (!BROWSER && verbose)) {\n\t\tthrow_error('redirect_external_javascript', `Cannot redirect to \\`${_values.location}\\` with \\`{ external: true }\\`. The \\`javascript:\\` and \\`data:\\` protocols must be explicitly listed in the \\`external\\` allowlist`, redirect_external_javascript);\n\t}\n\n\tthrow new Error('https://svelte.dev/e/kit/redirect_external_javascript');\n}\n\n/**\n * Cannot redirect to external URL `%location%`. To redirect to an external URL, pass `{ external: true }` or an allowlist of permitted origins as the third argument to `redirect`\n * @param {{ \"location\": string }} _values\n * @returns {never}\n */\nexport function redirect_external_not_allowed(_values) {\n\tif (DEV || (!BROWSER && verbose)) {\n\t\tthrow_error('redirect_external_not_allowed', `Cannot redirect to external URL \\`${_values.location}\\`. To redirect to an external URL, pass \\`{ external: true }\\` or an allowlist of permitted origins as the third argument to \\`redirect\\``, redirect_external_not_allowed);\n\t}\n\n\tthrow new Error('https://svelte.dev/e/kit/redirect_external_not_allowed');\n}\n\n/**\n * Cannot redirect to `%location%`: URL origin is not included in the `external` allowlist\n * @param {{ \"location\": string }} _values\n * @returns {never}\n */\nexport function redirect_external_not_in_allowlist(_values) {\n\tif (DEV || (!BROWSER && verbose)) {\n\t\tthrow_error('redirect_external_not_in_allowlist', `Cannot redirect to \\`${_values.location}\\`: URL origin is not included in the \\`external\\` allowlist`, redirect_external_not_in_allowlist);\n\t}\n\n\tthrow new Error('https://svelte.dev/e/kit/redirect_external_not_in_allowlist');\n}\n\n/**\n * `redirect` `options.external` must be `true` or an array of allowed origins\n * @param {void} _values\n * @returns {never}\n */\nexport function redirect_external_option_invalid(_values) {\n\tif (DEV || (!BROWSER && verbose)) {\n\t\tthrow_error('redirect_external_option_invalid', `\\`redirect\\` \\`options.external\\` must be \\`true\\` or an array of allowed origins`, redirect_external_option_invalid);\n\t}\n\n\tthrow new Error('https://svelte.dev/e/kit/redirect_external_option_invalid');\n}\n\n/**\n * %type% are not valid remote function arguments\n * @param {{ \"type\": string }} _values\n * @returns {never}\n */\nexport function remote_argument_unsupported(_values) {\n\tif (DEV || (!BROWSER && verbose)) {\n\t\tthrow_error('remote_argument_unsupported', `${_values.type} are not valid remote function arguments`, remote_argument_unsupported);\n\t}\n\n\tthrow new Error('https://svelte.dev/e/kit/remote_argument_unsupported');\n}\n\n/**\n * Missing params for dynamic route ID `%id%`\n * @param {{ \"id\": string }} _values\n * @returns {never}\n */\nexport function resolve_params_missing(_values) {\n\tif (DEV || (!BROWSER && verbose)) {\n\t\tthrow_error('resolve_params_missing', `Missing params for dynamic route ID \\`${_values.id}\\``, resolve_params_missing);\n\t}\n\n\tthrow new Error('https://svelte.dev/e/kit/resolve_params_missing');\n}\n\n/**\n * Cannot use `resolve(...)` with an absolute or protocol-relative URL (got \"%id%\")\n * @param {{ \"id\": string }} _values\n * @returns {never}\n */\nexport function resolve_url_input(_values) {\n\tif (DEV || (!BROWSER && verbose)) {\n\t\tthrow_error('resolve_url_input', `Cannot use \\`resolve(...)\\` with an absolute or protocol-relative URL (got \"${_values.id}\")`, resolve_url_input);\n\t}\n\n\tthrow new Error('https://svelte.dev/e/kit/resolve_url_input');\n}\n\n/**\n * Missing parameter `%name%` in route `%id%`\n * @param {{ \"name\": string; \"id\": string }} _values\n * @returns {never}\n */\nexport function route_param_missing(_values) {\n\tif (DEV || (!BROWSER && verbose)) {\n\t\tthrow_error('route_param_missing', `Missing parameter \\`${_values.name}\\` in route \\`${_values.id}\\``, route_param_missing);\n\t}\n\n\tthrow new Error('https://svelte.dev/e/kit/route_param_missing');\n}\n\n/**\n * Parameter `%name%` in route `%id%` cannot start or end with a slash — this would cause an invalid route like `foo/bar`\n * @param {{ \"name\": string; \"id\": string }} _values\n * @returns {never}\n */\nexport function route_param_slash(_values) {\n\tif (DEV || (!BROWSER && verbose)) {\n\t\tthrow_error('route_param_slash', `Parameter \\`${_values.name}\\` in route \\`${_values.id}\\` cannot start or end with a slash — this would cause an invalid route like \\`foo/bar\\``, route_param_slash);\n\t}\n\n\tthrow new Error('https://svelte.dev/e/kit/route_param_slash');\n}\n\n/**\n * Parameter `%name%` in route `%id%` must be a string, number, boolean, or bigint\n * @param {{ \"name\": string; \"id\": string }} _values\n * @returns {never}\n */\nexport function route_param_value_invalid(_values) {\n\tif (DEV || (!BROWSER && verbose)) {\n\t\tthrow_error('route_param_value_invalid', `Parameter \\`${_values.name}\\` in route \\`${_values.id}\\` must be a string, number, boolean, or bigint`, route_param_value_invalid);\n\t}\n\n\tthrow new Error('https://svelte.dev/e/kit/route_param_value_invalid');\n}\n\n/**\n * Page options are ignored when `router.type === 'hash'` (`%source%` has %options%)\n * @param {{ \"source\": string; \"options\": string }} _values\n * @returns {never}\n */\nexport function router_hash_page_options(_values) {\n\tif (DEV || (!BROWSER && verbose)) {\n\t\tthrow_error('router_hash_page_options', `Page options are ignored when \\`router.type === 'hash'\\` (\\`${_values.source}\\` has ${_values.options})`, router_hash_page_options);\n\t}\n\n\tthrow new Error('https://svelte.dev/e/kit/router_hash_page_options');\n}\n\n/**\n * The `$app/service-worker` module can only be imported into a service worker\n * @param {void} _values\n * @returns {never}\n */\nexport function service_worker_module_outside_worker(_values) {\n\tif (DEV || (!BROWSER && verbose)) {\n\t\tthrow_error('service_worker_module_outside_worker', `The \\`$app/service-worker\\` module can only be imported into a service worker`, service_worker_module_outside_worker);\n\t}\n\n\tthrow new Error('https://svelte.dev/e/kit/service_worker_module_outside_worker');\n}\n\n/**\n * Cannot access `event.url.hash`. Consider using `page.url.hash` inside a component instead\n * @param {void} _values\n * @returns {never}\n */\nexport function url_hash_unavailable(_values) {\n\tif (DEV || (!BROWSER && verbose)) {\n\t\tthrow_error('url_hash_unavailable', `Cannot access \\`event.url.hash\\`. Consider using \\`page.url.hash\\` inside a component instead`, url_hash_unavailable);\n\t}\n\n\tthrow new Error('https://svelte.dev/e/kit/url_hash_unavailable');\n}\n"],"ignoreList":[0,1],"mappings":"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"}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
// ../../node_modules/.pnpm/@sveltejs+kit@3.4.1_@sveltejs+vite-plugin-svelte@7.3.2_svelte@5.59.2_@typescript-eslint_728102f730ebab1d17bec5b56ce561d1/node_modules/@sveltejs/kit/src/exports/internal/shared.js
|
|
2
|
+
/** @import { StandardSchemaV1 } from '@standard-schema/spec' */
|
|
3
|
+
var HttpError = class {
|
|
4
|
+
/**
|
|
5
|
+
* @param {App.Error} error
|
|
6
|
+
*/
|
|
7
|
+
constructor(error) {
|
|
8
|
+
this.status = error.status;
|
|
9
|
+
this.body = error;
|
|
10
|
+
}
|
|
11
|
+
toString() {
|
|
12
|
+
return JSON.stringify(this.body);
|
|
13
|
+
}
|
|
14
|
+
};
|
|
15
|
+
/**
|
|
16
|
+
* An `HttpError` whose body is already in its final, user-facing form — either produced by the
|
|
17
|
+
* `handleError` hook on the server and reconstructed here from the response, or authored directly
|
|
18
|
+
* by the client runtime. Unlike a plain `HttpError` (which represents a fresh `error(...)` call
|
|
19
|
+
* that the hook has yet to see), `handleError` must not run on it.
|
|
20
|
+
* @extends HttpError
|
|
21
|
+
*/
|
|
22
|
+
var HandledHttpError = class extends HttpError {};
|
|
23
|
+
var Redirect = class {
|
|
24
|
+
/**
|
|
25
|
+
* @param {300 | 301 | 302 | 303 | 304 | 305 | 306 | 307 | 308} status
|
|
26
|
+
* @param {string} location
|
|
27
|
+
*/
|
|
28
|
+
constructor(status, location) {
|
|
29
|
+
try {
|
|
30
|
+
new Headers({ location });
|
|
31
|
+
} catch {
|
|
32
|
+
throw new Error(`Invalid redirect location ${JSON.stringify(location)}: this string contains characters that cannot be used in HTTP headers`);
|
|
33
|
+
}
|
|
34
|
+
this.status = status;
|
|
35
|
+
this.location = location;
|
|
36
|
+
}
|
|
37
|
+
};
|
|
38
|
+
/**
|
|
39
|
+
* An error that was thrown from within the SvelteKit runtime that is not fatal and doesn't result in a 500, such as a 404.
|
|
40
|
+
* `SvelteKitError` goes through `handleError`.
|
|
41
|
+
* @extends Error
|
|
42
|
+
*/
|
|
43
|
+
var SvelteKitError = class extends Error {
|
|
44
|
+
/**
|
|
45
|
+
* @param {number} status
|
|
46
|
+
* @param {string} text
|
|
47
|
+
* @param {string} message
|
|
48
|
+
*/
|
|
49
|
+
constructor(status, text, message) {
|
|
50
|
+
super(message);
|
|
51
|
+
this.status = status;
|
|
52
|
+
this.text = text;
|
|
53
|
+
}
|
|
54
|
+
};
|
|
55
|
+
/**
|
|
56
|
+
* @template [T=undefined]
|
|
57
|
+
*/
|
|
58
|
+
var ActionFailure = class {
|
|
59
|
+
/**
|
|
60
|
+
* @param {number} status
|
|
61
|
+
* @param {T} data
|
|
62
|
+
*/
|
|
63
|
+
constructor(status, data) {
|
|
64
|
+
this.status = status;
|
|
65
|
+
this.data = data;
|
|
66
|
+
}
|
|
67
|
+
};
|
|
68
|
+
/**
|
|
69
|
+
* Error thrown when form validation fails imperatively
|
|
70
|
+
*/
|
|
71
|
+
var ValidationError = class extends Error {
|
|
72
|
+
/**
|
|
73
|
+
* @param {StandardSchemaV1.Issue[]} issues
|
|
74
|
+
* @param {{ name?: string; file?: string }} [remote]
|
|
75
|
+
*/
|
|
76
|
+
constructor(issues, remote) {
|
|
77
|
+
super("Validation failed");
|
|
78
|
+
this.name = "ValidationError";
|
|
79
|
+
this.issues = issues;
|
|
80
|
+
this.remote = remote;
|
|
81
|
+
}
|
|
82
|
+
};
|
|
83
|
+
export { SvelteKitError as a, Redirect as i, HandledHttpError as n, ValidationError as o, HttpError as r, ActionFailure as t };
|
|
84
|
+
|
|
85
|
+
//# sourceMappingURL=shared.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shared.js","names":[],"sources":["../../../../../node_modules/.pnpm/@sveltejs+kit@3.4.1_@sveltejs+vite-plugin-svelte@7.3.2_svelte@5.59.2_@typescript-eslint_728102f730ebab1d17bec5b56ce561d1/node_modules/@sveltejs/kit/src/exports/internal/shared.js"],"sourcesContent":["/** @import { StandardSchemaV1 } from '@standard-schema/spec' */\n\nexport class HttpError {\n\t/**\n\t * @param {App.Error} error\n\t */\n\tconstructor(error) {\n\t\tthis.status = error.status;\n\t\tthis.body = error;\n\t}\n\n\ttoString() {\n\t\treturn JSON.stringify(this.body);\n\t}\n}\n\n/**\n * An `HttpError` whose body is already in its final, user-facing form — either produced by the\n * `handleError` hook on the server and reconstructed here from the response, or authored directly\n * by the client runtime. Unlike a plain `HttpError` (which represents a fresh `error(...)` call\n * that the hook has yet to see), `handleError` must not run on it.\n * @extends HttpError\n */\nexport class HandledHttpError extends HttpError {}\n\nexport class Redirect {\n\t/**\n\t * @param {300 | 301 | 302 | 303 | 304 | 305 | 306 | 307 | 308} status\n\t * @param {string} location\n\t */\n\tconstructor(status, location) {\n\t\ttry {\n\t\t\tnew Headers({ location });\n\t\t} catch {\n\t\t\tthrow new Error(\n\t\t\t\t`Invalid redirect location ${JSON.stringify(location)}: ` +\n\t\t\t\t\t'this string contains characters that cannot be used in HTTP headers'\n\t\t\t);\n\t\t}\n\n\t\tthis.status = status;\n\t\tthis.location = location;\n\t}\n}\n\n/**\n * An error that was thrown from within the SvelteKit runtime that is not fatal and doesn't result in a 500, such as a 404.\n * `SvelteKitError` goes through `handleError`.\n * @extends Error\n */\nexport class SvelteKitError extends Error {\n\t/**\n\t * @param {number} status\n\t * @param {string} text\n\t * @param {string} message\n\t */\n\tconstructor(status, text, message) {\n\t\tsuper(message);\n\t\tthis.status = status;\n\t\tthis.text = text;\n\t}\n}\n\n/**\n * @template [T=undefined]\n */\nexport class ActionFailure {\n\t/**\n\t * @param {number} status\n\t * @param {T} data\n\t */\n\tconstructor(status, data) {\n\t\tthis.status = status;\n\t\tthis.data = data;\n\t}\n}\n\n/**\n * Error thrown when form validation fails imperatively\n */\nexport class ValidationError extends Error {\n\t/**\n\t * @param {StandardSchemaV1.Issue[]} issues\n\t * @param {{ name?: string; file?: string }} [remote]\n\t */\n\tconstructor(issues, remote) {\n\t\tsuper('Validation failed');\n\t\tthis.name = 'ValidationError';\n\t\tthis.issues = issues;\n\t\tthis.remote = remote;\n\t}\n}\n"],"ignoreList":[0],"mappings":";;AAEA,IAAa,YAAb,MAAuB;;;;CAItB,YAAY,OAAO;EAClB,KAAK,SAAS,MAAM;EACpB,KAAK,OAAO;CACb;CAEA,WAAW;EACV,OAAO,KAAK,UAAU,KAAK,IAAI;CAChC;AACD;;;;;;;;AASA,IAAa,mBAAb,cAAsC,UAAU,CAAC;AAEjD,IAAa,WAAb,MAAsB;;;;;CAKrB,YAAY,QAAQ,UAAU;EAC7B,IAAI;GACH,IAAI,QAAQ,EAAE,SAAS,CAAC;EACzB,QAAQ;GACP,MAAM,IAAI,MACT,6BAA6B,KAAK,UAAU,QAAQ,EAAE,sEAEvD;EACD;EAEA,KAAK,SAAS;EACd,KAAK,WAAW;CACjB;AACD;;;;;;AAOA,IAAa,iBAAb,cAAoC,MAAM;;;;;;CAMzC,YAAY,QAAQ,MAAM,SAAS;EAClC,MAAM,OAAO;EACb,KAAK,SAAS;EACd,KAAK,OAAO;CACb;AACD;;;;AAKA,IAAa,gBAAb,MAA2B;;;;;CAK1B,YAAY,QAAQ,MAAM;EACzB,KAAK,SAAS;EACd,KAAK,OAAO;CACb;AACD;;;;AAKA,IAAa,kBAAb,cAAqC,MAAM;;;;;CAK1C,YAAY,QAAQ,QAAQ;EAC3B,MAAM,mBAAmB;EACzB,KAAK,OAAO;EACZ,KAAK,SAAS;EACd,KAAK,SAAS;CACf;AACD"}
|