nixamp 0.47.0 → 0.48.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (57) hide show
  1. package/dist/broadcast.js +3 -1
  2. package/dist/guide-vods.d.ts +89 -0
  3. package/dist/guide-vods.js +262 -0
  4. package/dist/library-cli.js +24 -0
  5. package/dist/library-routes.d.ts +2 -0
  6. package/dist/library-routes.js +7 -2
  7. package/dist/library-usage.d.ts +1 -1
  8. package/dist/library-usage.js +6 -1
  9. package/dist/playlist-input.js +4 -1
  10. package/dist/server.d.ts +6 -0
  11. package/dist/server.js +127 -38
  12. package/dist/station-guide.d.ts +2 -2
  13. package/dist/station-guide.js +6 -4
  14. package/package.json +1 -1
  15. package/src/broadcast.ts +3 -1
  16. package/src/guide-vods.ts +302 -0
  17. package/src/library-cli.ts +19 -0
  18. package/src/library-routes.ts +9 -2
  19. package/src/library-usage.ts +6 -1
  20. package/src/playlist-input.ts +4 -1
  21. package/src/server.ts +140 -43
  22. package/src/station-guide.ts +8 -6
  23. package/web/dist/assets/{ar-BOy98BLI.js → ar-ropwGSSV.js} +1 -1
  24. package/web/dist/assets/chunk-Q2XQMA4B-CDsJ8fBU.js +1 -0
  25. package/web/dist/assets/{cs-BbbskosY.js → cs-Bi7uRYjd.js} +1 -1
  26. package/web/dist/assets/{da-DHrF2OuF.js → da-B8OELPch.js} +1 -1
  27. package/web/dist/assets/{de-Dx2W0spi.js → de-DJOTeXET.js} +1 -1
  28. package/web/dist/assets/{es-qnp4IRsp.js → es-BIupzuzS.js} +1 -1
  29. package/web/dist/assets/{fi-CfPSgEs-.js → fi-A6MoWkzZ.js} +1 -1
  30. package/web/dist/assets/{fr-LKBu7Tgy.js → fr-DerIDIwl.js} +1 -1
  31. package/web/dist/assets/{hi-BzyRQPpa.js → hi-CyUtRBH4.js} +1 -1
  32. package/web/dist/assets/{hls-OR5FY6YP-jwHO4SPh.js → hls-OR5FY6YP-bdUZBB11.js} +1 -1
  33. package/web/dist/assets/{hu-AmxPDNs7.js → hu-DD1vrIhY.js} +1 -1
  34. package/web/dist/assets/{id-CxY-xwNQ.js → id-C6OAMzii.js} +1 -1
  35. package/web/dist/assets/{it-eoKuPzEe.js → it-Xy86vmU7.js} +1 -1
  36. package/web/dist/assets/main-CuG8-ADK.js +22 -0
  37. package/web/dist/assets/{mpegts-7CN75AI2-BtVIb2A1.js → mpegts-7CN75AI2-iUctLWip.js} +1 -1
  38. package/web/dist/assets/{mpegts-arZIPCfq.js → mpegts-DeEBZUXP.js} +1 -1
  39. package/web/dist/assets/{nl-Ceg4F0rC.js → nl-4Q-K2Jf1.js} +1 -1
  40. package/web/dist/assets/{radio-Bmt6N6Tf.js → radio-DI0H8flN.js} +1 -1
  41. package/web/dist/assets/{ru-BRNZUbKs.js → ru-CpxwOhC4.js} +1 -1
  42. package/web/dist/assets/{station-BwDP2cuf.css → station-BKmoJ0Sk.css} +1 -1
  43. package/web/dist/assets/{station-BhCxDaWb.js → station-X8pffqCW.js} +1 -1
  44. package/web/dist/assets/{sv-k-A6hu8-.js → sv-aRvu7MWa.js} +1 -1
  45. package/web/dist/assets/{uk-C9owZ3Lc.js → uk-BCwwfngg.js} +1 -1
  46. package/web/dist/assets/{vi-CtcFEtmC.js → vi-tvWPiAH_.js} +1 -1
  47. package/web/dist/assets/vod-CdfPMa1u.js +1 -0
  48. package/web/dist/assets/{watch-BxAnF-yA.js → watch-hdfnhm3C.js} +1 -1
  49. package/web/dist/assets/{zh-DQrNE8sv.js → zh-Bp2aLEyX.js} +1 -1
  50. package/web/dist/index.html +3 -3
  51. package/web/dist/radio.html +2 -2
  52. package/web/dist/station.html +3 -3
  53. package/web/dist/sw.js +29 -28
  54. package/web/dist/vod.html +39 -0
  55. package/web/dist/watch.html +3 -3
  56. package/web/dist/assets/chunk-Q2XQMA4B-xxJBbNwd.js +0 -1
  57. package/web/dist/assets/main-DYATKV1O.js +0 -22
@@ -30,6 +30,8 @@ export interface LibraryContext {
30
30
  /** Tell the player about tags that changed. */
31
31
  retag: (tracks: Track[]) => void;
32
32
  sendFile: (request: IncomingMessage, response: ServerResponse, file: string, cache: string) => void;
33
+ /** The file as a browser plays it (server.ts playFile): the bytes when it can, MP4 or MP3 when not. */
34
+ play?: (request: IncomingMessage, response: ServerResponse, file: string) => Promise<void>;
33
35
  json: (response: ServerResponse, status: number, body: unknown) => void;
34
36
  readBody: (request: IncomingMessage) => Promise<string>;
35
37
  }
@@ -246,15 +248,20 @@ export async function handleLibrary(
246
248
  return true;
247
249
  }
248
250
 
249
- const itemMatch = /^\/api\/v1\/library\/items\/([0-9a-f]{16})(?:\/(stream))?$/.exec(path);
251
+ const itemMatch = /^\/api\/v1\/library\/items\/([0-9a-f]{16})(?:\/(stream|play))?$/.exec(path);
250
252
  if (itemMatch) {
251
253
  const item = index.item(itemMatch[1]!);
252
254
  if (!item) return fail(404, "not_found", "no such item");
253
- if (itemMatch[2] === "stream") {
255
+ if (itemMatch[2] === "stream" || itemMatch[2] === "play") {
254
256
  if (method !== "GET" && method !== "HEAD") return fail(405, "method_not_allowed", "GET");
255
257
  if (item.state !== "ready") return fail(409, "not_ready", `that item is ${item.state}`);
256
258
  const source = index.source(item.sourceId);
257
259
  if (!source?.enabled) return fail(409, "source_disabled", "that item's source is turned off");
260
+ // On demand: what a VOD link plays, from the start and seekable when the browser takes the file as it is.
261
+ if (itemMatch[2] === "play" && ctx.play) {
262
+ await ctx.play(request, response, item.path);
263
+ return true;
264
+ }
258
265
  // Private: a browser may keep it, a shared cache may not.
259
266
  ctx.sendFile(request, response, item.path, "private, max-age=3600");
260
267
  return true;
@@ -1,5 +1,5 @@
1
1
  /** `nixamp library` subcommands and usage, apart so help does not load the client. */
2
- export const LIBRARY_COMMANDS = new Set(["status", "sources", "add", "scan", "search", "show", "fix", "remove", "playlists", "playlist"]);
2
+ export const LIBRARY_COMMANDS = new Set(["status", "sources", "add", "scan", "search", "show", "fix", "remove", "playlists", "playlist", "publish", "vods", "unpublish"]);
3
3
 
4
4
  export const LIBRARY_USAGE = `nixamp library — what this server has, indexed
5
5
 
@@ -16,6 +16,11 @@ export const LIBRARY_USAGE = `nixamp library — what this server has, indexed
16
16
  nixamp library playlist new NAME [ITEM...]
17
17
  nixamp library playlist show|delete PLAYLIST
18
18
  nixamp library playlist add PLAYLIST ITEM...
19
+ nixamp library publish ITEM --basis B [--title T] [--note N]
20
+ on demand on live.streaming: a link that plays it from the start
21
+ (B: owned, permission, licensed, creative-commons, public-domain)
22
+ nixamp library vods what is published on demand, with each link
23
+ nixamp library unpublish VOD take one off
19
24
 
20
25
  --json machine-readable output
21
26
  --url, --key another server, as with \`nixamp admin\``;
@@ -188,7 +188,10 @@ export class PlaylistInputStream {
188
188
  ...extra, "-t", String(duration),
189
189
  ...(o.video ? [
190
190
  "-map", hasVideo ? "0:v:0" : "1:v:0", "-map", codecs.audio ? "0:a:0" : "1:a:0",
191
- "-vf", `fps=30,scale=${width}:${height}:force_original_aspect_ratio=decrease,pad=${width}:${height}:(ow-iw)/2:(oh-ih)/2,setsar=1,setpts=PTS-STARTPTS`,
191
+ // Square the pixels first: an anamorphic file (1280x720 at SAR
192
+ // 1707:1280 is a 2.37:1 film) fitted by its stored size and then
193
+ // setsar=1 came out squeezed to 16:9.
194
+ "-vf", `fps=30,scale='trunc(iw*sar/2)*2':ih,setsar=1,scale=${width}:${height}:force_original_aspect_ratio=decrease,pad=${width}:${height}:(ow-iw)/2:(oh-ih)/2,setsar=1,setpts=PTS-STARTPTS`,
192
195
  "-c:v", "libx264", "-threads", "2", "-preset", "veryfast", "-tune", "zerolatency",
193
196
  "-crf", "23", "-pix_fmt", "yuv420p", "-g", "60", "-keyint_min", "60", "-sc_threshold", "0",
194
197
  ] : ["-map", "0:a:0", "-vn"]),
package/src/server.ts CHANGED
@@ -87,6 +87,7 @@ import { LyricsPublisher } from "./lyrics-publish.ts";
87
87
  import { aiKey } from "./ai-keys.ts";
88
88
  import { STATION_APP_CSP, STATION_PAGE, STATION_PAGE_CSP, STATION_PAGE_HTML, WATCH_APP_CSP } from "./station-page.ts";
89
89
  import { handleRooms, RoomProbe, roomEntries, RoomStore, watchBase } from "./guide-rooms.ts";
90
+ import { handleVods, VodProbe, vodEntries, VodStore, vodView } from "./guide-vods.ts";
90
91
  import { withPitFooter } from "./pit-footer.ts";
91
92
  import { guideAds, guideCsp, guideHosts, guidePeers, peerBase, PeerGuides, renderGuide, type GuideEntry } from "./station-guide.ts";
92
93
  import { StationRunner } from "./station-runner.ts";
@@ -1763,6 +1764,8 @@ export interface HandlerOptions {
1763
1764
  peers?: PeerGuides;
1764
1765
  /** Live rooms members published to this guide, and how to ask a room's server what is on it. */
1765
1766
  rooms?: { store: RoomStore; probe: RoomProbe };
1767
+ /** Files members published to this guide to play on demand, and how to ask a file's server about it. */
1768
+ vods?: { store: VodStore; probe: VodProbe };
1766
1769
  };
1767
1770
  web: string | null;
1768
1771
  /** Branded clients on this same backend, keyed by an explicitly configured host. */
@@ -2729,6 +2732,8 @@ export function createHandler(engine: Engine, options: HandlerOptions) {
2729
2732
  !(path === "/watch" && Boolean(options.stations?.rooms)) &&
2730
2733
  // Live rooms on the guide: listed for anybody, published by a member (guide-rooms.ts).
2731
2734
  !((path === "/api/v1/guide/rooms" || path.startsWith("/api/v1/guide/rooms/")) && Boolean(options.stations?.rooms)) &&
2735
+ // On demand: a file's page and the guide's list of them (guide-vods.ts); the file's own key travels in its play address.
2736
+ !((path === "/vod" || /^\/vod\/[A-Za-z0-9_-]{1,32}$/.test(path) || path === "/api/v1/guide/vods" || path.startsWith("/api/v1/guide/vods/")) && Boolean(options.stations?.vods)) &&
2732
2737
  !STATION_PAGE.test(path) &&
2733
2738
  !isPublicAsset &&
2734
2739
  !isGuidePage &&
@@ -2934,6 +2939,62 @@ export function createHandler(engine: Engine, options: HandlerOptions) {
2934
2939
  return;
2935
2940
  }
2936
2941
 
2942
+ // A file on demand: /vod (all of them) and /vod/<id> (one), the page a VOD link opens.
2943
+ const vodPath = /^\/vod(?:\/([A-Za-z0-9_-]{1,32}))?$/.exec(path);
2944
+ if (options.stations?.vods && vodPath && (request.method === "GET" || request.method === "HEAD")) {
2945
+ const built = web !== null && isFile(join(web, "vod.html")) ? readFileSync(join(web, "vod.html"), "utf8") : null;
2946
+ if (!built) {
2947
+ json(response, 404, { error: "this server was started without its web pages" });
2948
+ return;
2949
+ }
2950
+ const vods = options.stations.vods;
2951
+ const one = vodPath[1] ? vods.store.get(vodPath[1]) : undefined;
2952
+ const base = watchBase(options.stations.publicBase?.() || `https://${request.headers.host ?? "localhost"}`);
2953
+ const view = one ? vodView(one, base, null) : null;
2954
+ // A link preview reads the page, not its script: the file's name goes in the head.
2955
+ const escape = (text: string): string => text.replace(/[&<>"']/g, (c) => ({ "&": "&amp;", "<": "&lt;", ">": "&gt;", '"': "&quot;", "'": "&#39;" })[c]!);
2956
+ const head = view
2957
+ ? `<title>${escape(String(view.name))} · on demand</title>\n <meta property="og:title" content="${escape(String(view.name))}" />\n <meta property="og:type" content="${view.kind === "video" ? "video.other" : "music.song"}" />\n <meta property="og:url" content="${escape(String(view.page))}" />\n <meta property="og:description" content="On demand: play it from the start, seek anywhere." />`
2958
+ : "<title>On demand · nixamp</title>";
2959
+ response.writeHead(vodPath[1] && !one ? 404 : 200, {
2960
+ "content-type": "text/html; charset=utf-8",
2961
+ "cache-control": "no-cache",
2962
+ "content-security-policy": WATCH_APP_CSP,
2963
+ "referrer-policy": "no-referrer",
2964
+ "x-content-type-options": "nosniff",
2965
+ });
2966
+ response.end(request.method === "HEAD" ? undefined : built.replace(/<title>[^<]*<\/title>/, head));
2967
+ return;
2968
+ }
2969
+
2970
+ if (options.stations?.vods && (path === "/api/v1/guide/vods" || path.startsWith("/api/v1/guide/vods/"))) {
2971
+ const control = await controlOf();
2972
+ const session = tokenFrom(request.headers) || url.searchParams.get("session") || "";
2973
+ const vods = options.stations.vods;
2974
+ const publicBase = (options.stations.publicBase?.() ?? "").replace(/\/+$/, "");
2975
+ await handleVods(request, response, path, {
2976
+ store: vods.store,
2977
+ probe: vods.probe,
2978
+ base: watchBase(publicBase || `https://${request.headers.host ?? "localhost"}`),
2979
+ canControl: control.allowed,
2980
+ member: async () => (session && options.owner ? (await options.owner.accountFor(session)) || "" : ""),
2981
+ ownPlay: (item) => (publicBase && listenKey && options.library?.index.item(item) ? `${publicBase}/api/v1/library/items/${item}/play?k=${listenKey}` : ""),
2982
+ ownState: (id) => {
2983
+ const item = options.library?.index.item(id);
2984
+ if (!item || item.state !== "ready") return null;
2985
+ const title = item.override.title || item.title || item.rel.split("/").pop()?.replace(/\.[^.]+$/, "") || id;
2986
+ return { name: title.slice(0, 160), kind: item.video ? "video" : "audio", duration: item.duration, artist: (item.override.artist || item.artist).slice(0, 160) };
2987
+ },
2988
+ json,
2989
+ readBody,
2990
+ throttle: () => {
2991
+ const verdict = guard.check(`vods:${callerOf(request.headers, request.socket.remoteAddress, behindProxy)}`, STATION_CONTROL_LIMIT);
2992
+ return verdict.ok ? null : { retryAfter: verdict.retryAfter };
2993
+ },
2994
+ });
2995
+ return;
2996
+ }
2997
+
2937
2998
  if (options.stations?.rooms && (path === "/api/v1/guide/rooms" || path.startsWith("/api/v1/guide/rooms/"))) {
2938
2999
  const control = await controlOf();
2939
3000
  const session = tokenFrom(request.headers) || url.searchParams.get("session") || "";
@@ -2987,6 +3048,7 @@ export function createHandler(engine: Engine, options: HandlerOptions) {
2987
3048
  probe: options.library.probe,
2988
3049
  retag: options.library.retag,
2989
3050
  sendFile,
3051
+ play: (req, res, file) => playFile(req, res, file, url, options),
2990
3052
  json,
2991
3053
  readBody,
2992
3054
  });
@@ -3072,8 +3134,16 @@ export function createHandler(engine: Engine, options: HandlerOptions) {
3072
3134
  ...(options.stations.lyricsPublisher ? { lyricsPublisher: options.stations.lyricsPublisher } : {}),
3073
3135
  passes: listenPasses,
3074
3136
  ...(options.stations.peers ? { peers: () => options.stations!.peers!.entries() } : {}),
3075
- ...(options.stations.rooms ? {
3076
- rooms: () => roomEntries(options.stations!.rooms!.store, options.stations!.rooms!.probe, watchBase(options.stations!.publicBase?.() || `${scheme}://${request.headers.host ?? "localhost"}`)),
3137
+ ...(options.stations.rooms || options.stations.vods ? {
3138
+ rooms: async () => {
3139
+ const base = watchBase(options.stations!.publicBase?.() || `${scheme}://${request.headers.host ?? "localhost"}`);
3140
+ const { rooms, vods } = options.stations!;
3141
+ const [live, onDemand] = await Promise.all([
3142
+ rooms ? roomEntries(rooms.store, rooms.probe, base) : [],
3143
+ vods ? vodEntries(vods.store, vods.probe, base) : [],
3144
+ ]);
3145
+ return [...live, ...onDemand];
3146
+ },
3077
3147
  } : {}),
3078
3148
  throttle: () => {
3079
3149
  const verdict = guard.check(`stations:${control.account || callerOf(request.headers, request.socket.remoteAddress, behindProxy)}`, STATION_CONTROL_LIMIT);
@@ -6362,6 +6432,19 @@ export function createHandler(engine: Engine, options: HandlerOptions) {
6362
6432
  return;
6363
6433
  }
6364
6434
 
6435
+ // Which library item a playlist track is, for publishing it on demand (guide-vods.ts).
6436
+ const mediaItem = /^\/api\/media\/(\d+)\/item$/.exec(path);
6437
+ if (mediaItem) {
6438
+ const file = engine.trackPath(Number(mediaItem[1]));
6439
+ const item = file === undefined ? undefined : options.library?.index.itemAt(file);
6440
+ if (!item) {
6441
+ json(response, 404, { error: "that track is not in this server's library", code: "not_in_library" });
6442
+ return;
6443
+ }
6444
+ json(response, 200, { id: item.id, video: item.video, title: item.override.title || item.title, duration: item.duration });
6445
+ return;
6446
+ }
6447
+
6365
6448
  if (path.startsWith("/api/media/")) {
6366
6449
  if (!options.media) {
6367
6450
  json(response, 403, { error: "media streaming is off" });
@@ -6374,47 +6457,7 @@ export function createHandler(engine: Engine, options: HandlerOptions) {
6374
6457
  return;
6375
6458
  }
6376
6459
  watch(request, response, "media", engine.snapshot().tracks?.[index]?.title ?? file);
6377
- // A browser asks for every track here, and a matroska or an avi handed
6378
- // to it raw is bytes it cannot play. Seeking is what this route is for
6379
- // and transcoding gives it up, but an unseekable film beats a silent
6380
- // one -- and the seekable formats are untouched.
6381
- // A ceiling the caller asked for, because only the caller knows what its
6382
- // link can carry. Capped at both ends: nothing below 200k is watchable,
6383
- // and above 20 megabits the original was always the better answer.
6384
- const asked = Number(url.searchParams.get("kbps") ?? "");
6385
- const capKbps = Number.isFinite(asked) && asked > 0 ? Math.min(20_000, Math.max(200, asked)) : 0;
6386
- // Whether this browser decodes H.265, which only it can know: Safari and
6387
- // televisions do, Chrome on a desktop does not and says nothing when
6388
- // handed it. Copying a 4K HEVC film is free; re-encoding one does not
6389
- // keep up with playing it, so the answer is worth carrying in the URL.
6390
- const allowHevc = url.searchParams.get("hevc") === "1";
6391
-
6392
- if (playsInBrowser(file) && capKbps === 0) {
6393
- sendFile(request, response, file);
6394
- return;
6395
- }
6396
- // A film, or something whose name refuses to say. A live channel at
6397
- // .../301 used to fall through to the audio branch and arrive as MP3
6398
- // with `-vn` -- a match you could only listen to.
6399
- if (hasPicture(file) || nameSaysNothing(file)) {
6400
- // What ffprobe finds inside decides how little work it takes to keep
6401
- // the picture, and whether there is a picture to keep at all.
6402
- const codecs = await codecsOf({ ffmpeg: [], ffprobe: options.ffprobe ?? ["ffprobe"], play: null }, file);
6403
- if (codecs.video !== "") {
6404
- // Told back to the playlist, so an entry that was added before this
6405
- // could be asked stops claiming to be a song. Without it a track
6406
- // added by an older nixamp goes to an audio element for ever, and
6407
- // the only cure is noticing and adding it again.
6408
- engine.sawPicture(index);
6409
- pipeFfmpeg(
6410
- request, response, file, options.ffmpeg ?? ["ffmpeg"],
6411
- videoArgs(codecs, capKbps, { allowHevc }), "video/mp4",
6412
- transportInputArgs(file, codecs.container),
6413
- );
6414
- return;
6415
- }
6416
- }
6417
- transcode(request, response, file, options.ffmpeg ?? ["ffmpeg"]);
6460
+ await playFile(request, response, file, url, options, () => engine.sawPicture(index));
6418
6461
  return;
6419
6462
  }
6420
6463
 
@@ -6759,6 +6802,58 @@ async function liveAudio(
6759
6802
  * for everything else.
6760
6803
  */
6761
6804
  /** Audio, from whatever this is: the shape every non-browser source took. */
6805
+ /**
6806
+ * A file as a browser plays it: the bytes themselves, seekable, when the
6807
+ * browser can; otherwise an MP4 or MP3 made on the way. `onPicture` hears
6808
+ * that ffprobe found a picture in it.
6809
+ */
6810
+ async function playFile(
6811
+ request: IncomingMessage, response: ServerResponse, file: string, url: URL,
6812
+ options: Pick<HandlerOptions, "ffmpeg" | "ffprobe">, onPicture: () => void = () => undefined,
6813
+ ): Promise<void> {
6814
+ // A browser asks for every track here, and a matroska or an avi handed
6815
+ // to it raw is bytes it cannot play. Seeking is what this route is for
6816
+ // and transcoding gives it up, but an unseekable film beats a silent
6817
+ // one -- and the seekable formats are untouched.
6818
+ // A ceiling the caller asked for, because only the caller knows what its
6819
+ // link can carry. Capped at both ends: nothing below 200k is watchable,
6820
+ // and above 20 megabits the original was always the better answer.
6821
+ const asked = Number(url.searchParams.get("kbps") ?? "");
6822
+ const capKbps = Number.isFinite(asked) && asked > 0 ? Math.min(20_000, Math.max(200, asked)) : 0;
6823
+ // Whether this browser decodes H.265, which only it can know: Safari and
6824
+ // televisions do, Chrome on a desktop does not and says nothing when
6825
+ // handed it. Copying a 4K HEVC film is free; re-encoding one does not
6826
+ // keep up with playing it, so the answer is worth carrying in the URL.
6827
+ const allowHevc = url.searchParams.get("hevc") === "1";
6828
+
6829
+ if (playsInBrowser(file) && capKbps === 0) {
6830
+ sendFile(request, response, file);
6831
+ return;
6832
+ }
6833
+ // A film, or something whose name refuses to say. A live channel at
6834
+ // .../301 used to fall through to the audio branch and arrive as MP3
6835
+ // with `-vn` -- a match you could only listen to.
6836
+ if (hasPicture(file) || nameSaysNothing(file)) {
6837
+ // What ffprobe finds inside decides how little work it takes to keep
6838
+ // the picture, and whether there is a picture to keep at all.
6839
+ const codecs = await codecsOf({ ffmpeg: [], ffprobe: options.ffprobe ?? ["ffprobe"], play: null }, file);
6840
+ if (codecs.video !== "") {
6841
+ // Told back to the playlist, so an entry that was added before this
6842
+ // could be asked stops claiming to be a song. Without it a track
6843
+ // added by an older nixamp goes to an audio element for ever, and
6844
+ // the only cure is noticing and adding it again.
6845
+ onPicture();
6846
+ pipeFfmpeg(
6847
+ request, response, file, options.ffmpeg ?? ["ffmpeg"],
6848
+ videoArgs(codecs, capKbps, { allowHevc }), "video/mp4",
6849
+ transportInputArgs(file, codecs.container),
6850
+ );
6851
+ return;
6852
+ }
6853
+ }
6854
+ transcode(request, response, file, options.ffmpeg ?? ["ffmpeg"]);
6855
+ }
6856
+
6762
6857
  function transcode(
6763
6858
  request: IncomingMessage,
6764
6859
  response: ServerResponse,
@@ -7160,6 +7255,8 @@ export async function serve(argv: string[], version = "0.1.0"): Promise<void> {
7160
7255
  }),
7161
7256
  // Live rooms published to this guide; the probe never reaches this machine's own network.
7162
7257
  rooms: { store: new RoomStore(RoomStore.fileFor(stateDir(), options.port)), probe: new RoomProbe(fetch, (link) => refusedDestination(link)) },
7258
+ // Files published to play on demand; the same guard on whose network the probe reaches.
7259
+ vods: { store: new VodStore(VodStore.fileFor(stateDir(), options.port)), probe: new VodProbe(fetch, (link) => refusedDestination(link)) },
7163
7260
  };
7164
7261
  // Music handed over from BitTorrented, copied into a folder of our own.
7165
7262
  const importer = new Importer(join(stateDir(), `handoffs-${options.port}.json`), {
@@ -67,7 +67,7 @@ const SCRIPT = `
67
67
  } catch { button.textContent = "Could not report; try again"; button.disabled = false; }
68
68
  };
69
69
  const draw = (stations) => {
70
- for (const group of ["rooms", "ai", "shared", "radio", "tv"]) {
70
+ for (const group of ["rooms", "vod", "ai", "shared", "radio", "tv"]) {
71
71
  const grid = document.querySelector("#" + group);
72
72
  grid.replaceChildren();
73
73
  const list = stations.filter((s) => (s.group || (s.kind === "video" ? "tv" : "radio")) === group);
@@ -76,7 +76,7 @@ const SCRIPT = `
76
76
  const card = el("div", "card");
77
77
  const a = el("a", "station");
78
78
  a.href = s.page;
79
- a.append(el("div", "live", s.state === "live" ? "● LIVE" : "off the air"), el("div", "name", s.name),
79
+ a.append(el("div", "live", s.state === "live" ? "● LIVE" : s.state === "vod" ? "▶ ON DEMAND" : "off the air"), el("div", "name", s.name),
80
80
  el("div", "now", nowLine(s.nowPlaying)));
81
81
  card.append(a);
82
82
  if (group === "shared") {
@@ -154,8 +154,8 @@ export interface GuideEntry {
154
154
  id?: string;
155
155
  name: string;
156
156
  kind: "audio" | "video";
157
- /** rooms (live rooms, src/guide-rooms.ts), ai, shared, radio or tv; from kind when absent. */
158
- group?: "rooms" | "ai" | "shared" | "radio" | "tv";
157
+ /** rooms (live rooms, src/guide-rooms.ts), vod (on demand, src/guide-vods.ts), ai, shared, radio or tv; from kind when absent. */
158
+ group?: "rooms" | "vod" | "ai" | "shared" | "radio" | "tv";
159
159
  state: string;
160
160
  page: string;
161
161
  nowPlaying: { title: string; artist: string } | null;
@@ -163,7 +163,7 @@ export interface GuideEntry {
163
163
  peer?: boolean;
164
164
  }
165
165
 
166
- const GROUPS = ["rooms", "ai", "shared", "radio", "tv"] as const;
166
+ const GROUPS = ["rooms", "vod", "ai", "shared", "radio", "tv"] as const;
167
167
 
168
168
  /**
169
169
  * The guide with its stations already in it, so it reads the same through a
@@ -174,7 +174,7 @@ export function renderGuide(entries: GuideEntry[], apiBase = "", ads: GuideAds =
174
174
  const groupOf = (one: GuideEntry): string => one.group ?? (one.kind === "video" ? "tv" : "radio");
175
175
  const cards = (group: string): string => entries
176
176
  .filter((one) => groupOf(one) === group && /^https?:\/\//.test(one.page))
177
- .map((one) => `<div class="card"><a class="station" href="${escape(one.page)}"><div class="live">${one.state === "live" ? "● LIVE" : "off the air"}</div><div class="name">${escape(one.name)}</div><div class="now">${escape(nowLine(one.nowPlaying))}</div></a></div>`)
177
+ .map((one) => `<div class="card"><a class="station" href="${escape(one.page)}"><div class="live">${one.state === "live" ? "● LIVE" : one.state === "vod" ? "▶ ON DEMAND" : "off the air"}</div><div class="name">${escape(one.name)}</div><div class="now">${escape(nowLine(one.nowPlaying))}</div></a></div>`)
178
178
  .join("");
179
179
  let page = GUIDE_HTML;
180
180
  for (const group of GROUPS) {
@@ -210,6 +210,8 @@ export const GUIDE_HTML = `<!doctype html>
210
210
  <p class="lead">Radio and TV, on the air now. Pick one and press play.</p>
211
211
  <h2 id="rooms-title" hidden>Live rooms</h2>
212
212
  <div id="rooms" class="grid" aria-live="polite"></div>
213
+ <h2 id="vod-title" hidden>On demand</h2>
214
+ <div id="vod" class="grid" aria-live="polite"></div>
213
215
  <h2 id="ai-title" hidden>AI Radio</h2>
214
216
  <div id="ai" class="grid" aria-live="polite"></div>
215
217
  <h2 id="shared-title" hidden>Shared by listeners</h2>
@@ -1 +1 @@
1
- import{t as e}from"./main-DYATKV1O.js";var t={...e,"No parties live right now.":`لا توجد جلسات مباشرة الآن.`,"Could not refresh parties.":`تعذر تحديث الجلسات.`,"Pick a server in the directory, or paste its link here.":`اختر خادمًا من الدليل أو الصق رابطه هنا.`,"Interface language":`لغة الواجهة`,Language:`اللغة`,"Translation language":`لغة الترجمة`,"Original (auto-detect)":`الأصل (اكتشاف تلقائي)`,Play:`تشغيل`,Pause:`إيقاف مؤقت`,Stop:`إيقاف`,Next:`التالي`,Previous:`السابق`,Select:`اختيار`,"Next/Prev":`التالي/السابق`,Quit:`خروج`,"Now Playing":`قيد التشغيل`,"Spectrum Analyser":`محلل الطيف`,Playlist:`قائمة التشغيل`,Files:`الملفات`,"Open files":`فتح ملفات`,"Open folder":`فتح مجلد`,"Add to library":`إضافة إلى المكتبة`,"Replace playlist":`استبدال قائمة التشغيل`,Filter:`تصفية`,Search:`بحث`,"Nothing loaded.":`لم يُحمّل أي محتوى.`,"Empty.":`فارغ.`,"Loading…":`جارٍ التحميل…`,"Connecting…":`جارٍ الاتصال…`,Connected:`متصل`,"Not connected":`غير متصل`,"No source":`لا يوجد مصدر`,Playing:`يعمل`,Stopped:`متوقف`,Volume:`مستوى الصوت`,Seek:`موضع التشغيل`,"Full screen":`ملء الشاشة`,Download:`تنزيل`,Share:`مشاركة`,Copy:`نسخ`,"Copy link":`نسخ الرابط`,Copied:`تم النسخ`,Save:`حفظ`,Cancel:`إلغاء`,Close:`إغلاق`,Remove:`إزالة`,Delete:`حذف`,Edit:`تعديل`,Add:`إضافة`,Send:`إرسال`,Retry:`إعادة المحاولة`,Back:`رجوع`,"Next page":`الصفحة التالية`,"Previous page":`الصفحة السابقة`,"Show more":`عرض المزيد`,Panels:`اللوحات`,"Reset layout":`إعادة ضبط التخطيط`,Show:`إظهار`,Hide:`إخفاء`,Collapse:`طي`,Expand:`توسيع`,"Move up":`نقل لأعلى`,"Move down":`نقل لأسفل`,Install:`تثبيت`,"TV mode":`وضع التلفاز`,On:`مفعّل`,Off:`معطّل`,Account:`الحساب`,"Sign in":`تسجيل الدخول`,"Sign out":`تسجيل الخروج`,"Create account":`إنشاء حساب`,Email:`البريد الإلكتروني`,Password:`كلمة المرور`,"Forgot password?":`نسيت كلمة المرور؟`,"Welcome back":`مرحبًا بعودتك`,Profile:`الملف الشخصي`,Handle:`اسم المستخدم`,"Your servers":`خوادمك`,Server:`الخادم`,Connect:`اتصال`,Disconnect:`قطع الاتصال`,Directory:`الدليل`,Favourites:`المفضلة`,Follow:`متابعة`,Unfollow:`إلغاء المتابعة`,Notifications:`الإشعارات`,"Phone number":`رقم الهاتف`,"Save number":`حفظ الرقم`,Transcript:`النص المفرغ`,Captions:`الترجمة النصية`,"Translate audio":`ترجمة الصوت`,"Audio language":`لغة الصوت`,"Audio options":`خيارات الصوت`,"Keep background sound":`الاحتفاظ بأصوات الخلفية`,"Background level":`مستوى صوت الخلفية`,"Speaker voices":`أصوات المتحدثين`,"Any voice":`أي صوت`,"Male voice":`صوت رجالي`,"Female voice":`صوت نسائي`,"Original audio.":`الصوت الأصلي.`,"Buy translated audio":`شراء الصوت المترجم`,"Audio credit":`رصيد الصوت`,"Buy pass":`شراء تصريح`,Pass:`تصريح`,"Pay with":`الدفع باستخدام`,"Check payment":`التحقق من الدفع`,"Open checkout":`الانتقال للدفع`,"Free sessions":`جلسات مجانية`,"Usage rates and expiry":`الأسعار ومدة الصلاحية`,Catalogs:`الكتالوجات`,"Add catalog":`إضافة كتالوج`,"Catalog name":`اسم الكتالوج`,Link:`الرابط`,"Play link":`تشغيل الرابط`,"Go live":`بدء بث مباشر`,Publish:`نشر`,Listen:`استماع`,"Live now":`مباشر الآن`,Upcoming:`قريبًا`,Parties:`حفلات المشاهدة`,"Join party":`الانضمام للحفلة`,"Invite code":`رمز الدعوة`,Invite:`دعوة`,Chat:`الدردشة`,"Chat message":`رسالة دردشة`,People:`الأشخاص`,Speaker:`متحدث`,Speakers:`المتحدثون`,Listener:`مستمع`,Moderator:`مشرف`,"Raise hand":`رفع اليد`,"Hand raises":`الأيدي المرفوعة`,Questions:`الأسئلة`,Resources:`الموارد`,Replay:`إعادة العرض`,Schedule:`الجدول`,Event:`الفعالية`,Host:`المضيف`,About:`حول`,Stage:`المنصة`,Title:`العنوان`,Description:`الوصف`,Topic:`الموضوع`,Public:`عام`,"Anyone with the link":`أي شخص لديه الرابط`,"Invited people":`الأشخاص المدعوون`,"Who can join":`من يمكنه الانضمام`,"Date and time":`التاريخ والوقت`,"Expected length":`المدة المتوقعة`,Repeat:`تكرار`,"Does not repeat":`لا يتكرر`,"Every day":`كل يوم`,"Every week":`كل أسبوع`,Homepage:`الموقع الإلكتروني`,"Host name":`اسم المضيف`,"Profile photo URL":`رابط صورة الملف الشخصي`,"Broadcast link":`رابط البث`,"Edit event":`تعديل الفعالية`,"Save changes":`حفظ التغييرات`,"Create live":`إنشاء بث مباشر`,"Schedule class":`جدولة درس`,"Start class":`بدء الدرس`,"End event":`إنهاء الفعالية`,"End session":`إنهاء الجلسة`,"Session ended":`انتهت الجلسة`,"Event ended":`انتهت الفعالية`,Cancelled:`ملغاة`,"Replay available":`إعادة العرض متاحة`,Join:`انضمام`,"Create invite":`إنشاء دعوة`,"Invite as":`الدعوة بصفة`,"Watch now":`شاهد الآن`,"Start a room":`إنشاء غرفة`,"Recent replays":`إعادات العرض الأخيرة`,"Your account":`حسابك`,"Write with AI":`الكتابة بالذكاء الاصطناعي`,"Suggested title":`العنوان المقترح`,"Suggested description":`الوصف المقترح`,"Suggested topic":`الموضوع المقترح`,"Use these details":`استخدام هذه التفاصيل`,"Learn something live.":`تعلّم شيئًا مباشرة.`,"Screen share":`مشاركة الشاشة`,"Upload and broadcast":`رفع وبث`,Help:`مساعدة`,"Reload Player":`إعادة تحميل المشغل`,"Copy Bundled CLI Path":`نسخ مسار أداة سطر الأوامر المضمنة`,"Developer tools":`أدوات المطور`,Undo:`تراجع`,Redo:`إعادة`,Cut:`قص`,Paste:`لصق`,"Select all":`تحديد الكل`,Status:`الحالة`,"Activity log":`سجل النشاط`,Admin:`الإدارة`,"Playback controls":`عناصر التحكم بالتشغيل`,"Tracks and folders":`المقاطع والمجلدات`,"Original-language captions.":`ترجمة نصية باللغة الأصلية.`,"Skip to playback controls":`الانتقال إلى عناصر التحكم بالتشغيل`,"Skip to playlist":`الانتقال إلى قائمة التشغيل`,"Skip to transcript and translated audio":`الانتقال إلى النص المفرغ والصوت المترجم`};export{t as default};
1
+ import{t as e}from"./main-CuG8-ADK.js";var t={...e,"No parties live right now.":`لا توجد جلسات مباشرة الآن.`,"Could not refresh parties.":`تعذر تحديث الجلسات.`,"Pick a server in the directory, or paste its link here.":`اختر خادمًا من الدليل أو الصق رابطه هنا.`,"Interface language":`لغة الواجهة`,Language:`اللغة`,"Translation language":`لغة الترجمة`,"Original (auto-detect)":`الأصل (اكتشاف تلقائي)`,Play:`تشغيل`,Pause:`إيقاف مؤقت`,Stop:`إيقاف`,Next:`التالي`,Previous:`السابق`,Select:`اختيار`,"Next/Prev":`التالي/السابق`,Quit:`خروج`,"Now Playing":`قيد التشغيل`,"Spectrum Analyser":`محلل الطيف`,Playlist:`قائمة التشغيل`,Files:`الملفات`,"Open files":`فتح ملفات`,"Open folder":`فتح مجلد`,"Add to library":`إضافة إلى المكتبة`,"Replace playlist":`استبدال قائمة التشغيل`,Filter:`تصفية`,Search:`بحث`,"Nothing loaded.":`لم يُحمّل أي محتوى.`,"Empty.":`فارغ.`,"Loading…":`جارٍ التحميل…`,"Connecting…":`جارٍ الاتصال…`,Connected:`متصل`,"Not connected":`غير متصل`,"No source":`لا يوجد مصدر`,Playing:`يعمل`,Stopped:`متوقف`,Volume:`مستوى الصوت`,Seek:`موضع التشغيل`,"Full screen":`ملء الشاشة`,Download:`تنزيل`,Share:`مشاركة`,Copy:`نسخ`,"Copy link":`نسخ الرابط`,Copied:`تم النسخ`,Save:`حفظ`,Cancel:`إلغاء`,Close:`إغلاق`,Remove:`إزالة`,Delete:`حذف`,Edit:`تعديل`,Add:`إضافة`,Send:`إرسال`,Retry:`إعادة المحاولة`,Back:`رجوع`,"Next page":`الصفحة التالية`,"Previous page":`الصفحة السابقة`,"Show more":`عرض المزيد`,Panels:`اللوحات`,"Reset layout":`إعادة ضبط التخطيط`,Show:`إظهار`,Hide:`إخفاء`,Collapse:`طي`,Expand:`توسيع`,"Move up":`نقل لأعلى`,"Move down":`نقل لأسفل`,Install:`تثبيت`,"TV mode":`وضع التلفاز`,On:`مفعّل`,Off:`معطّل`,Account:`الحساب`,"Sign in":`تسجيل الدخول`,"Sign out":`تسجيل الخروج`,"Create account":`إنشاء حساب`,Email:`البريد الإلكتروني`,Password:`كلمة المرور`,"Forgot password?":`نسيت كلمة المرور؟`,"Welcome back":`مرحبًا بعودتك`,Profile:`الملف الشخصي`,Handle:`اسم المستخدم`,"Your servers":`خوادمك`,Server:`الخادم`,Connect:`اتصال`,Disconnect:`قطع الاتصال`,Directory:`الدليل`,Favourites:`المفضلة`,Follow:`متابعة`,Unfollow:`إلغاء المتابعة`,Notifications:`الإشعارات`,"Phone number":`رقم الهاتف`,"Save number":`حفظ الرقم`,Transcript:`النص المفرغ`,Captions:`الترجمة النصية`,"Translate audio":`ترجمة الصوت`,"Audio language":`لغة الصوت`,"Audio options":`خيارات الصوت`,"Keep background sound":`الاحتفاظ بأصوات الخلفية`,"Background level":`مستوى صوت الخلفية`,"Speaker voices":`أصوات المتحدثين`,"Any voice":`أي صوت`,"Male voice":`صوت رجالي`,"Female voice":`صوت نسائي`,"Original audio.":`الصوت الأصلي.`,"Buy translated audio":`شراء الصوت المترجم`,"Audio credit":`رصيد الصوت`,"Buy pass":`شراء تصريح`,Pass:`تصريح`,"Pay with":`الدفع باستخدام`,"Check payment":`التحقق من الدفع`,"Open checkout":`الانتقال للدفع`,"Free sessions":`جلسات مجانية`,"Usage rates and expiry":`الأسعار ومدة الصلاحية`,Catalogs:`الكتالوجات`,"Add catalog":`إضافة كتالوج`,"Catalog name":`اسم الكتالوج`,Link:`الرابط`,"Play link":`تشغيل الرابط`,"Go live":`بدء بث مباشر`,Publish:`نشر`,Listen:`استماع`,"Live now":`مباشر الآن`,Upcoming:`قريبًا`,Parties:`حفلات المشاهدة`,"Join party":`الانضمام للحفلة`,"Invite code":`رمز الدعوة`,Invite:`دعوة`,Chat:`الدردشة`,"Chat message":`رسالة دردشة`,People:`الأشخاص`,Speaker:`متحدث`,Speakers:`المتحدثون`,Listener:`مستمع`,Moderator:`مشرف`,"Raise hand":`رفع اليد`,"Hand raises":`الأيدي المرفوعة`,Questions:`الأسئلة`,Resources:`الموارد`,Replay:`إعادة العرض`,Schedule:`الجدول`,Event:`الفعالية`,Host:`المضيف`,About:`حول`,Stage:`المنصة`,Title:`العنوان`,Description:`الوصف`,Topic:`الموضوع`,Public:`عام`,"Anyone with the link":`أي شخص لديه الرابط`,"Invited people":`الأشخاص المدعوون`,"Who can join":`من يمكنه الانضمام`,"Date and time":`التاريخ والوقت`,"Expected length":`المدة المتوقعة`,Repeat:`تكرار`,"Does not repeat":`لا يتكرر`,"Every day":`كل يوم`,"Every week":`كل أسبوع`,Homepage:`الموقع الإلكتروني`,"Host name":`اسم المضيف`,"Profile photo URL":`رابط صورة الملف الشخصي`,"Broadcast link":`رابط البث`,"Edit event":`تعديل الفعالية`,"Save changes":`حفظ التغييرات`,"Create live":`إنشاء بث مباشر`,"Schedule class":`جدولة درس`,"Start class":`بدء الدرس`,"End event":`إنهاء الفعالية`,"End session":`إنهاء الجلسة`,"Session ended":`انتهت الجلسة`,"Event ended":`انتهت الفعالية`,Cancelled:`ملغاة`,"Replay available":`إعادة العرض متاحة`,Join:`انضمام`,"Create invite":`إنشاء دعوة`,"Invite as":`الدعوة بصفة`,"Watch now":`شاهد الآن`,"Start a room":`إنشاء غرفة`,"Recent replays":`إعادات العرض الأخيرة`,"Your account":`حسابك`,"Write with AI":`الكتابة بالذكاء الاصطناعي`,"Suggested title":`العنوان المقترح`,"Suggested description":`الوصف المقترح`,"Suggested topic":`الموضوع المقترح`,"Use these details":`استخدام هذه التفاصيل`,"Learn something live.":`تعلّم شيئًا مباشرة.`,"Screen share":`مشاركة الشاشة`,"Upload and broadcast":`رفع وبث`,Help:`مساعدة`,"Reload Player":`إعادة تحميل المشغل`,"Copy Bundled CLI Path":`نسخ مسار أداة سطر الأوامر المضمنة`,"Developer tools":`أدوات المطور`,Undo:`تراجع`,Redo:`إعادة`,Cut:`قص`,Paste:`لصق`,"Select all":`تحديد الكل`,Status:`الحالة`,"Activity log":`سجل النشاط`,Admin:`الإدارة`,"Playback controls":`عناصر التحكم بالتشغيل`,"Tracks and folders":`المقاطع والمجلدات`,"Original-language captions.":`ترجمة نصية باللغة الأصلية.`,"Skip to playback controls":`الانتقال إلى عناصر التحكم بالتشغيل`,"Skip to playlist":`الانتقال إلى قائمة التشغيل`,"Skip to transcript and translated audio":`الانتقال إلى النص المفرغ والصوت المترجم`};export{t as default};
@@ -0,0 +1 @@
1
+ (function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),t.credentials=e.crossOrigin===`use-credentials`?`include`:e.crossOrigin===`anonymous`?`omit`:`same-origin`,t}function n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();var e=`modulepreload`,t=function(e){return`/`+e},n={},r=function(r,i,a){let o=Promise.resolve();if(i&&i.length>0){let r=document.getElementsByTagName(`link`),s=document.querySelector(`meta[property=csp-nonce]`),c=s?.nonce||s?.getAttribute(`nonce`);function l(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:`fulfilled`,value:e}),e=>({status:`rejected`,reason:e}))))}function u(e){return import.meta.resolve?import.meta.resolve(e):new URL(e,import.meta.url).href}o=l(i.map(i=>{if(i=t(i,a),i=u(i),i in n)return;n[i]=!0;let o=i.endsWith(`.css`);for(let e=r.length-1;e>=0;e--){let t=r[e];if(t.href===i&&(!o||t.rel===`stylesheet`))return}let s=document.createElement(`link`);if(s.rel=o?`stylesheet`:e,o||(s.as=`script`),s.crossOrigin=``,s.href=i,c&&s.setAttribute(`nonce`,c),document.head.appendChild(s),o)return new Promise((e,t)=>{s.addEventListener(`load`,e),s.addEventListener(`error`,()=>t(Error(`Unable to preload CSS for ${i}`)))})}))}function s(e){let t=new Event(`vite:preloadError`,{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return o.then(e=>{for(let t of e||[])t.status===`rejected`&&s(t.reason);return r().catch(s)})};function i(e,t){if(!e||e.length===0||!Number.isFinite(t)||t<=0)return[];let n=new Set,r=e.filter(e=>!!e&&typeof e.title==`string`).map(e=>({start:Math.floor(e.start),title:e.title.trim()})).filter(e=>Number.isFinite(e.start)&&e.start>=0).filter(e=>e.start<t).filter(e=>e.title!==``).sort((e,t)=>e.start-t.start).filter(e=>!n.has(e.start)&&(n.add(e.start),!0));return r.map((e,n)=>({...e,end:r[n+1]?.start??t,position:e.start/t}))}function a(e,t){if(!Number.isFinite(t))return null;let n=null;for(let r of e)if(r.start<=t)n=r;else break;return n}var o=`profullstack.player.prefs`,s=`profullstack.player.positions`,c=60,l={volume:1,muted:!1,rate:1};function u(e){if(e!==void 0)return e;try{return typeof window>`u`?null:window.localStorage}catch{return null}}function d(e,t){if(!e)return null;try{let n=e.getItem(t);return n===null?null:JSON.parse(n)}catch{return null}}function f(e,t,n){if(e)try{e.setItem(t,JSON.stringify(n))}catch{}}function p(e,t,n,r){return typeof e==`number`&&Number.isFinite(e)?Math.min(n,Math.max(t,e)):r}function m(e){let t=d(u(e),o);return t?{volume:p(t.volume,0,1,l.volume),muted:typeof t.muted==`boolean`?t.muted:l.muted,rate:p(t.rate,.25,4,l.rate)}:{...l}}function h(e,t){f(u(t),o,e)}function g(e){let t=d(e,s);if(!t||typeof t!=`object`)return{};let n={};for(let[e,r]of Object.entries(t)){if(!r||typeof r!=`object`)continue;let t=r;typeof t.t==`number`&&Number.isFinite(t.t)&&(n[e]={t:t.t,d:typeof t.d==`number`&&Number.isFinite(t.d)?t.d:0,at:typeof t.at==`number`&&Number.isFinite(t.at)?t.at:0})}return n}function ee(e,t){return g(u(t))[e]??null}function _(e,t,n,r=Date.now){let i=u(n);if(!i)return;let a=g(i);a[e]={t:t.t,d:t.d,at:r()};let o=Object.entries(a).sort(([,e],[,t])=>t.at-e.at).slice(0,c);f(i,s,Object.fromEntries(o))}function v(e,t){let n=u(t);if(!n)return;let r=g(n);if(!(e in r))return;let i=Object.entries(r).filter(([t])=>t!==e);f(n,s,Object.fromEntries(i))}var y=15,b=20;function x(e,t){return!e||!Number.isFinite(t)||t<=0||Number.isFinite(e.d)&&e.d>0&&Math.abs(e.d-t)>1?!1:e.t>=y&&e.t<=t-b}function S(e){if(!Number.isFinite(e)||e<0)return`--:--`;let t=Math.floor(e),n=Math.floor(t/3600),r=Math.floor(t%3600/60),i=t%60,a=e=>String(e).padStart(2,`0`);return n>0?`${String(n)}:${a(r)}:${a(i)}`:`${String(r)}:${a(i)}`}function C(e){if(typeof e!=`string`)return null;let t=e.trim().toLowerCase();if(t===``)return null;if(t.includes(`:`)){let e=t.split(`:`);if(e.length>3)return null;let n=0;for(let t of e){if(!/^\d+$/.test(t))return null;n=n*60+Number(t)}return n}if(/^\d+s?$/.test(t))return Number(t.replace(`s`,``));let n=/^(?:(\d+)h)?(?:(\d+)m)?(?:(\d+)s)?$/.exec(t);if(!n||n[1]===void 0&&n[2]===void 0&&n[3]===void 0)return null;let r=Number(n[1]??0),i=Number(n[2]??0),a=Number(n[3]??0);return r*3600+i*60+a}function w(e){return!Number.isFinite(e)||e<=0?`0`:String(Math.floor(e))}var T=[[/\bAFT[A-Z0-9]+\b/i,`firetv`],[/\bKF[A-Z]+\b/,`silk`],[/\bSilk\b/i,`silk`],[/\bAndroid TV\b/i,`androidtv`],[/\bGoogleTV\b/i,`googletv`],[/\bTizen\b/i,`tizen`],[/\bWeb0S\b/i,`webos`],[/\bRoku\b/i,`roku`],[/AppleTV/i,`appletv`],[/\bCrKey\b/i,`chromecast`],[/\bSMART-TV\b/i,`smarttv`],[/\bSmartTV\b/i,`smarttv`]];function E(e){if(!e)return null;for(let[t,n]of T)if(t.test(e))return n;return null}function D(e){return E(e)!==null}function te(e){return e?{hideAfterMs:6e3,seekStep:10,alwaysShowFocus:!0}:{hideAfterMs:2800,seekStep:5,alwaysShowFocus:!1}}var O=[[/\.m3u8$/i,`hls`],[/\.(ts|mts|m2ts|mpegts)$/i,`mpegts`],[/\.(mp3|m4a|aac|oga|ogg|opus|wav|flac)$/i,`audio`],[/\.(mp4|m4v|webm|mov|ogv)$/i,`mp4`]],ne=[[/mpegurl/i,`hls`],[/mp2t|mpeg-?ts/i,`mpegts`],[/^audio\//i,`audio`],[/^video\//i,`mp4`]];function k(e){if(e.kind)return e.kind;if(e.mimeType){for(let[t,n]of ne)if(t.test(e.mimeType))return n}let t=A(e.src);for(let[e,n]of O)if(e.test(t))return n;return`unknown`}function A(e){try{return new URL(e,`https://placeholder.invalid`).pathname}catch{return e.split(/[?#]/)[0]??e}}function re(e=globalThis,t=null){let n=e.MediaSource!==void 0,r=!1;try{let e=t??(typeof document>`u`?null:document.createElement(`video`));r=e?e.canPlayType(`application/vnd.apple.mpegurl`)!==``||e.canPlayType(`application/x-mpegURL`)!==``:!1}catch{r=!1}return{mediaSource:n,nativeHls:r}}function ie(e,t){let n=k(e);switch(n){case`hls`:return t.mediaSource?{engine:`hls`,kind:n}:t.nativeHls?{engine:`native`,kind:n}:{engine:`native`,kind:n,unplayable:`This browser cannot play HLS streams.`};case`mpegts`:return t.mediaSource?{engine:`mpegts`,kind:n}:{engine:`mpegts`,kind:n,unplayable:`This browser cannot play transport streams.`};default:return{engine:`native`,kind:n}}}function ae(e){return e===`audio`}async function oe(e,t){let n=t.capabilities??re(),i=ie({src:t.src,...t.kind?{kind:t.kind}:{},...t.mimeType?{mimeType:t.mimeType}:{}},n),a=()=>void 0,o={media:e,src:t.src,isTv:t.isTv??!1,live:t.live??i.kind===`mpegts`,onError:t.onError??a,onNotice:t.onNotice??a,...t.headers?{headers:t.headers}:{},...t.onReady?{onReady:t.onReady}:{}};if(i.unplayable)return t.onError?.(i.unplayable),{destroy:a,engine:i.engine,kind:i.kind,levels:()=>[],unplayable:i.unplayable};let s,c=t.engines?.[i.engine];if(c)s=await c(o);else if(i.engine===`hls`){let{createHlsEngine:e}=await r(async()=>{let{createHlsEngine:e}=await import(`./hls-OR5FY6YP-bdUZBB11.js`);return{createHlsEngine:e}},[]);s=await e(o)}else if(i.engine===`mpegts`){let{createMpegtsEngine:e}=await r(async()=>{let{createMpegtsEngine:e}=await import(`./mpegts-7CN75AI2-iUctLWip.js`);return{createMpegtsEngine:e}},[]);s=await e(o,{withCredentials:t.withCredentials??!1,unplayableAdvice:t.unplayableAdvice??``})}else{let{createNativeEngine:e}=await r(async()=>{let{createNativeEngine:e}=await import(`./native-C7JTKWJH-BUyIoj0P.js`);return{createNativeEngine:e}},[]);s=await e(o)}return{destroy:()=>{s.destroy()},engine:i.engine,kind:i.kind,levels:s.levels,...s.setLevel?{setLevel:s.setLevel}:{},...s.currentLevel?{currentLevel:s.currentLevel}:{}}}var j=300,se=120,ce=.4;function M(e,t,n,r){return n<=0||e===t?(r(t),Promise.resolve()):new Promise(i=>{let a=Date.now(),o=n*1e3,s=()=>{let n=Math.min(1,(Date.now()-a)/o);r(e+(t-e)*n),n<1?setTimeout(s,16):i()};s()})}var N=e=>Math.min(1,Math.max(0,e));function P(e){return e.volume>0?e.volume:1}function F(e){return e&&e.tagName===`VIDEO`?e:null}function I(e){return e?typeof document<`u`&&document.pictureInPictureElement===e||e.webkitPresentationMode===`picture-in-picture`:!1}async function L(e){let t=e,n=e.requestPictureInPicture;if(typeof n==`function`){await n.call(e);return}if(typeof t.webkitSetPresentationMode==`function`){t.webkitSetPresentationMode(`picture-in-picture`);return}throw Error(`picture-in-picture is not available here`)}var le=/\.(mp3|m4a|aac|ogg|oga|opus|wav|flac)(\?|#|$)/i;function ue(e){let t=typeof e==`string`?{url:e}:e;return{url:t.url,kind:t.kind??(le.test(t.url)?`audio`:`video`)}}function de(e,t,n,r=()=>Date.now()){let i=Math.max(5,n.everySeconds??j)*1e3,a=Math.max(5,n.maxSeconds??se)*1e3,o=Math.max(0,n.fadeSeconds??ce),s=n.revealStage!==!1;function c(){if(!s||typeof window>`u`)return;let t=e.getBoundingClientRect();if(Math.min(t.bottom,window.innerHeight)-Math.max(t.top,0)>=t.height*.6)return;let n=!window.matchMedia?.(`(prefers-reduced-motion: reduce)`).matches;e.scrollIntoView({block:`center`,behavior:n?`smooth`:`auto`})}async function l(e){if(e)try{await L(e)}catch(e){n.onError?.(e)}}let u=0,d=null,f=0,p=!1,m=!1,h=!n.preroll,g=document.createElement(`div`);g.className=`pux-ad`,g.hidden=!0,Object.assign(g.style,{position:`absolute`,inset:`0`,zIndex:`3`,display:`grid`,placeItems:`center`,background:`#000`});let ee=getComputedStyle(e).position;(!ee||ee===`static`)&&(e.style.position=`relative`);let _=document.createElement(`video`);_.className=`pux-ad__video`,_.playsInline=!0,_.preload=`auto`,Object.assign(_.style,{width:`100%`,height:`100%`,objectFit:`contain`,background:`#000`});let v=document.createElement(`audio`);v.className=`pux-ad__audio`,v.preload=`auto`;let y=_;for(let e of[_,v])e.muted=t.muted,e.volume=P(t);let b=document.createElement(`span`);b.className=`pux-ad__badge`,b.textContent=`Ad`,Object.assign(b.style,{position:`absolute`,top:`0.75rem`,left:`0.75rem`,padding:`0.15rem 0.5rem`,borderRadius:`0.25rem`,background:`rgb(0 0 0 / 0.65)`,color:`#fff`,font:`600 0.75rem/1.4 system-ui, sans-serif`,letterSpacing:`0.04em`,textTransform:`uppercase`});let x=document.createElement(`button`);x.type=`button`,x.className=`pux-ad__skip`,x.hidden=!0,Object.assign(x.style,{position:`absolute`,right:`1rem`,bottom:`1rem`,padding:`0.5rem 0.9rem`,border:`1px solid rgb(255 255 255 / 0.4)`,borderRadius:`0.3rem`,background:`rgb(0 0 0 / 0.6)`,color:`#fff`,font:`500 0.85rem/1 system-ui, sans-serif`,cursor:`pointer`}),g.append(_,v,b,x),e.append(g);function S(){if(m||p)return;let e=r();if(t.paused){d=null;return}d!==null&&(u+=e-d),d=e,u>=i&&C()}async function C(){if(p||m)return;p=!0,u=0,d=null;let r=null;try{r=await n.next()}catch(e){n.onError?.(e)}if(!r||m){p=!1;return}let i=ue(r),s=i.url;y=i.kind===`audio`?v:_;let h=f++,ee=!t.paused,b=i.kind!==`audio`&&I(t),S=P(t);await M(S,0,o,e=>{t.volume=N(e)}),t.pause(),y.src=s,y.currentTime=0,y.muted=t.muted,y.volume=0,g.style.opacity=`0`,c(),g.hidden=!1,g.classList.toggle(`pux-ad--audio`,i.kind===`audio`);let C=i.kind===`audio`;g.style.background=C?`rgb(0 0 0 / 0.35)`:`#000`,_.style.display=C?`none`:``,e.classList.add(`pux-player--ad`),n.onBreakStart?.({url:s,index:h});let w=!1,T=e=>{p&&(w=e,M(1,0,o,e=>{g.style.opacity=String(e),y.volume=N(S*e)}).then(async()=>{b&&I(y)&&await l(F(t)),E(),n.onBreakEnd?.({url:s,index:h,skipped:w}),!m&&(t.volume=0,ee&&t.play().catch(()=>{}),M(0,S,o,e=>{t.volume=N(e)}))}))};function E(){clearTimeout(ne),clearInterval(A),y.removeEventListener(`ended`,D),y.removeEventListener(`error`,te),x.removeEventListener(`click`,O),y.pause(),y.removeAttribute(`src`),y.load(),g.hidden=!0,g.classList.remove(`pux-ad--audio`),x.hidden=!0,e.classList.remove(`pux-player--ad`),p=!1}let D=()=>T(!1),te=()=>{n.onError?.(Error(`advert failed to play: ${s}`)),T(!1)},O=()=>T(!0);y.addEventListener(`ended`,D),y.addEventListener(`error`,te),x.addEventListener(`click`,O);let ne=setTimeout(()=>T(!1),a),k=n.skipAfter,A=0;if(typeof k==`number`&&k>=0){let e=k;x.hidden=!1;let t=()=>{let t=Math.ceil(e-y.currentTime);t>0?(x.disabled=!0,x.textContent=`Skip in ${t}`):(x.disabled=!1,x.textContent=`Skip ad`)};t(),A=setInterval(t,250)}try{await y.play(),b&&await l(y),await M(0,1,o,e=>{g.style.opacity=String(e),y.volume=N(S*e)})}catch(e){n.onError?.(e),t.volume=N(S),T(!1)}}let w=()=>S(),T=()=>{d=r(),h||(h=!0,C())},E=()=>{S(),d=null},D=()=>{for(let e of[_,v])e.muted=t.muted,e.volume=P(t)};return t.addEventListener(`timeupdate`,w),t.addEventListener(`play`,T),t.addEventListener(`pause`,E),t.addEventListener(`volumechange`,D),{play(){return C()},destroy(){m=!0,I(y)&&l(F(t)),t.removeEventListener(`timeupdate`,w),t.removeEventListener(`play`,T),t.removeEventListener(`pause`,E),t.removeEventListener(`volumechange`,D),_.pause(),v.pause(),g.remove()},get playing(){return p}}}var fe=[1,1.25,1.5,1.75,2,.75],pe=5e3,R=10,z={play:`<svg viewBox="0 0 24 24" aria-hidden="true"><path d="M8 5v14l11-7z"/></svg>`,pause:`<svg viewBox="0 0 24 24" aria-hidden="true"><path d="M6 5h4v14H6zM14 5h4v14h-4z"/></svg>`,replay:`<svg viewBox="0 0 24 24" aria-hidden="true"><path d="M12 5V1L7 6l5 5V7a6 6 0 1 1-6 6H4a8 8 0 1 0 8-8z"/></svg>`,back10:`<svg viewBox="0 0 24 24" aria-hidden="true"><path d="M12 5V1L7 6l5 5V7a6 6 0 1 1-6 6H4a8 8 0 1 0 8-8z"/><text x="12" y="17" font-size="8" text-anchor="middle" fill="currentColor">10</text></svg>`,fwd10:`<svg viewBox="0 0 24 24" aria-hidden="true"><path d="M12 5V1l5 5-5 5V7a6 6 0 1 0 6 6h2a8 8 0 1 1-8-8z"/><text x="12" y="17" font-size="8" text-anchor="middle" fill="currentColor">10</text></svg>`,volume:`<svg viewBox="0 0 24 24" aria-hidden="true"><path d="M3 9v6h4l5 5V4L7 9H3zm13.5 3a4.5 4.5 0 0 0-2.5-4v8a4.5 4.5 0 0 0 2.5-4z"/></svg>`,muted:`<svg viewBox="0 0 24 24" aria-hidden="true"><path d="M3 9v6h4l5 5V4L7 9H3z"/><path d="M15 9l6 6m0-6l-6 6" stroke="currentColor" stroke-width="2" fill="none"/></svg>`,pip:`<svg viewBox="0 0 24 24" aria-hidden="true"><path d="M3 5h18v14H3z" fill="none" stroke="currentColor" stroke-width="2"/><path d="M12 12h7v5h-7z"/></svg>`,link:`<svg viewBox="0 0 24 24" aria-hidden="true"><path d="M8 16a4 4 0 0 1 0-5.7l2-2a4 4 0 0 1 5.7 5.7l-1 1-1.4-1.4 1-1a2 2 0 0 0-2.9-2.9l-2 2A2 2 0 0 0 9.4 14.6L8 16z"/><path d="M16 8a4 4 0 0 1 0 5.7l-2 2A4 4 0 0 1 8.3 10l1-1 1.4 1.4-1 1a2 2 0 0 0 2.9 2.9l2-2A2 2 0 0 0 14.6 9.4L16 8z"/></svg>`,enterFullscreen:`<svg viewBox="0 0 24 24" aria-hidden="true"><path d="M4 9V4h5v2H6v3H4zm11-5h5v5h-2V6h-3V4zM4 15h2v3h3v2H4v-5zm14 0h2v5h-5v-2h3v-3z"/></svg>`,exitFullscreen:`<svg viewBox="0 0 24 24" aria-hidden="true"><path d="M9 4v3H6v2H4V4h5zm6 0h5v5h-2V7h-3V4zM4 15h2v3h3v2H4v-5zm14 3v-3h2v5h-5v-2h3z"/></svg>`};function B(e,t,n={}){let r=document.createElement(e);r.className=t;for(let[e,t]of Object.entries(n))r.setAttribute(e,t);return r}function V(e,t,n,r){let i=B(`button`,e,{type:`button`,"aria-label":t,title:t,"data-control":r});return i.innerHTML=n,i}function me(e){let t=e.error,n=t?.message??``;if(/URL safety check/i.test(n))return`This was blocked before it could load. That is a configuration problem on our side, not on yours — please report it.`;switch(t?.code){case 1:return`Playback was stopped before it started.`;case 2:return`The connection dropped while loading. Check your network and try again.`;case 3:return`This could not be decoded by your browser.`;case 4:return`This is missing, or in a format your browser cannot play.`;default:return`This could not be played.`}}function he(e,t){let{src:n,mediaId:r,startAt:o=null,shareUrl:s=null,storage:c,now:u=Date.now,userAgent:d=typeof navigator>`u`?``:navigator.userAgent}=t,f=D(d),p=te(f),g=t.capabilities??re(),y=ie({src:n,...t.kind?{kind:t.kind}:{},...t.mimeType?{mimeType:t.mimeType}:{}},g),b=t.audio??(typeof HTMLAudioElement<`u`&&t.media instanceof HTMLAudioElement||ae(y.kind)),C=t.live??y.kind===`mpegts`,w=t.media??document.createElement(b?`audio`:`video`);t.media||e.append(w),!b&&t.poster&&w instanceof HTMLVideoElement&&(w.poster=t.poster),w instanceof HTMLVideoElement&&(w.playsInline=!0),w.controls=!1,e.classList.add(`pux-player`),f&&e.classList.add(`pux-player--tv`),b&&e.classList.add(`pux-player--audio`),e.hasAttribute(`tabindex`)||e.setAttribute(`tabindex`,`0`);let T=V(`pux-player__overlay`,`Play`,z.play,`overlay`),E=B(`div`,`pux-player__spinner`,{"aria-hidden":`true`}),O=B(`div`,`pux-player__notice`,{role:`status`,"aria-live":`polite`});O.hidden=!0;let ne=B(`span`,`pux-player__notice-text`),k=B(`button`,`pux-player__notice-action`,{type:`button`});k.hidden=!0,O.append(ne,k);let A=B(`div`,`pux-player__bar`),j=B(`div`,`pux-player__scrub`,{role:`slider`,tabindex:`0`,"aria-label":`Seek`,"aria-valuemin":`0`,"aria-valuenow":`0`}),se=B(`div`,`pux-player__track`),ce=B(`div`,`pux-player__buffered`),M=B(`div`,`pux-player__played`),N=B(`div`,`pux-player__marks`,{"aria-hidden":`true`}),P=B(`div`,`pux-player__handle`,{"aria-hidden":`true`}),F=B(`div`,`pux-player__tooltip`,{"aria-hidden":`true`});se.append(ce,M,N,P),j.append(se,F);let I=B(`div`,`pux-player__row`),L=V(`pux-player__btn`,`Play`,z.play,`play`),le=V(`pux-player__btn`,`Back ${String(R)} seconds`,z.back10,`back`),ue=V(`pux-player__btn`,`Forward ${String(R)} seconds`,z.fwd10,`forward`),he=B(`div`,`pux-player__volume`),H=V(`pux-player__btn`,`Mute`,z.volume,`mute`),U=B(`input`,`pux-player__volume-input`,{type:`range`,min:`0`,max:`1`,step:`0.05`,"aria-label":`Volume`,"data-control":`volume`});he.append(H,U);let ge=B(`div`,`pux-player__live`,{"data-control":`live`});ge.textContent=`LIVE`;let _e=B(`div`,`pux-player__time`),ve=B(`div`,`pux-player__chapter`),ye=B(`div`,`pux-player__spacer`),W=B(`button`,`pux-player__btn pux-player__btn--text`,{type:`button`,"aria-label":`Playback speed`,title:`Playback speed`,"data-control":`rate`}),G=B(`button`,`pux-player__btn pux-player__btn--text`,{type:`button`,"aria-label":`Quality`,title:`Quality`,"data-control":`quality`});G.hidden=!0;let be=V(`pux-player__btn`,`Copy link at this time`,z.link,`share`),K=V(`pux-player__btn`,`Picture in picture`,z.pip,`pip`),q=V(`pux-player__btn`,`Fullscreen`,z.enterFullscreen,`fullscreen`);I.append(L,le,ue,he,ge,_e,ve,ye,W,G,be,K,q),A.append(j,I),e.append(T,E,O,A),f&&(U.hidden=!0,K.hidden=!0),b&&(q.hidden=!0,K.hidden=!0,T.hidden=!0),s||(be.hidden=!0),(typeof document>`u`||!document.pictureInPictureEnabled)&&(K.hidden=!0);let xe=[],Se=t.chapters??[],Ce=[],we=null,Te=null,Ee=0,De=!1,Oe=!1,J=null,ke=[];function Y(e,t,n,r){e.addEventListener(t,n,r),Ce.push(()=>e.removeEventListener(t,n,r))}function X(e,t){ne.textContent=e,O.hidden=!1,Te&&clearTimeout(Te),t?(k.hidden=!1,k.textContent=t.label,k.onclick=()=>{t.run(),Ae()}):(k.hidden=!0,k.onclick=null),Te=setTimeout(Ae,t?9e3:4e3)}function Ae(){O.hidden=!0,k.onclick=null}function je(){e.classList.toggle(`pux-player--live`,C),j.hidden=C,le.hidden=C,ue.hidden=C,W.hidden=C,be.hidden=C||!s,ge.hidden=!C,_e.hidden=C,ve.hidden=C}function Me(){N.replaceChildren();for(let e of xe){let t=B(`button`,`pux-player__mark`,{type:`button`,"aria-label":`${e.title}, ${S(e.start)}`,title:e.title});t.style.left=`${String(e.position*100)}%`,t.addEventListener(`click`,t=>{t.stopPropagation(),w.currentTime=e.start}),N.append(t)}}function Ne(){xe=C?[]:i(Se,w.duration),Me(),Z()}function Z(){if(C)return;let e=w.duration,t=w.currentTime,n=Number.isFinite(e)&&e>0,r=n?Math.min(1,Math.max(0,t/e)):0;if(M.style.width=`${String(r*100)}%`,P.style.left=`${String(r*100)}%`,w.buffered.length>0&&n){let n=0;for(let e=0;e<w.buffered.length;e+=1)if(w.buffered.start(e)<=t&&w.buffered.end(e)>=t){n=w.buffered.end(e);break}ce.style.width=`${String(Math.min(1,n/e)*100)}%`}_e.textContent=`${S(t)} / ${S(e)}`,j.setAttribute(`aria-valuenow`,String(Math.floor(t))),n&&j.setAttribute(`aria-valuemax`,String(Math.floor(e))),j.setAttribute(`aria-valuetext`,n?`${S(t)} of ${S(e)}`:S(t));let i=a(xe,t);ve.textContent=i?i.title:``}function Pe(){let t=!w.paused&&!w.ended,n=w.ended,r=n?z.replay:t?z.pause:z.play,i=n?`Play again`:t?`Pause`:`Play`;L.innerHTML=r,L.setAttribute(`aria-label`,i),L.title=i,T.innerHTML=r,T.setAttribute(`aria-label`,i),e.classList.toggle(`pux-player--playing`,t),e.classList.toggle(`pux-player--ended`,n),t||Q(!1)}function Fe(){let e=w.muted||w.volume===0;H.innerHTML=e?z.muted:z.volume,H.setAttribute(`aria-label`,e?`Unmute`:`Mute`),H.setAttribute(`aria-pressed`,e?`true`:`false`),U.value=String(e?0:w.volume)}function Ie(){W.textContent=`${String(w.playbackRate)}\xD7`,W.setAttribute(`aria-label`,`Playback speed, ${String(w.playbackRate)} times`)}function Le(){if(G.hidden=ke.length<2||!J?.setLevel,G.hidden)return;let e=J?.currentLevel?.()??-1,t=ke.find(t=>t.index===e);G.textContent=e===-1?`Auto`:t?.label??`Auto`}function Q(t=!0){e.classList.add(`pux-player--controls`),we&&clearTimeout(we),t&&(we=setTimeout(()=>{w.paused||e.classList.remove(`pux-player--controls`)},p.hideAfterMs))}function Re(){Ye?.playing||(w.paused||w.ended?w.play().catch(()=>void 0):w.pause())}function $(e){if(C)return;let t=Number.isFinite(w.duration)?w.duration:1/0;w.currentTime=Math.min(t,Math.max(0,w.currentTime+e)),Z(),Q()}function ze(e){C||!Number.isFinite(w.duration)||w.duration<=0||(w.currentTime=Math.min(1,Math.max(0,e))*w.duration,Z())}function Be(e){let t=se.getBoundingClientRect();return t.width===0?0:(e-t.left)/t.width}function Ve(e){let t=fe[(fe.indexOf(w.playbackRate)+e+fe.length)%fe.length]??1;w.playbackRate=t}function He(){if(!J?.setLevel)return;let e=[-1,...ke.map(e=>e.index)],t=J.currentLevel?.()??-1,n=e[(e.indexOf(t)+1)%e.length]??-1;J.setLevel(n),Le(),Q()}async function Ue(){try{if(document.fullscreenElement){await document.exitFullscreen();return}await e.requestFullscreen()}catch{w.webkitEnterFullscreen?.()}}async function We(){try{document.pictureInPictureElement?await document.exitPictureInPicture():w instanceof HTMLVideoElement&&await w.requestPictureInPicture()}catch{X(`Picture in picture is not available here.`)}}async function Ge(){if(!s)return;let e=Math.floor(w.currentTime),t=s(e);try{await navigator.clipboard.writeText(t),X(`Link copied, starting at ${S(e)}.`)}catch{X(t)}}Y(w,`loadedmetadata`,()=>{if(Ne(),Z(),C)return;let e=typeof o==`number`&&o>0?o:null;if(e!==null&&Number.isFinite(w.duration)&&e<w.duration){w.currentTime=e;return}if(!r)return;let t=ee(r,c);x(t,w.duration)&&t&&(w.currentTime=t.t,X(`Resumed at ${S(t.t)}.`,{label:`Start over`,run:()=>{w.currentTime=0,v(r,c)}}))});function Ke(){!C&&r&&Number.isFinite(w.duration)&&w.duration>0&&!w.ended&&_(r,{t:w.currentTime,d:w.duration},c,u)}Y(w,`timeupdate`,()=>{De||Z(),!(u()-Ee<pe)&&(Ee=u(),Ke())}),Y(w,`progress`,Z),Y(w,`seeked`,Z),Y(w,`seeking`,Z),Y(w,`durationchange`,Ne),Y(w,`play`,Pe),Y(w,`pause`,()=>{Pe(),Ke()}),Y(w,`ended`,()=>{Pe(),r&&v(r,c)}),Y(w,`volumechange`,()=>{Fe(),h({volume:w.volume,muted:w.muted,rate:w.playbackRate},c)}),Y(w,`ratechange`,()=>{Ie(),h({volume:w.volume,muted:w.muted,rate:w.playbackRate},c)}),Y(w,`waiting`,()=>e.classList.add(`pux-player--buffering`)),Y(w,`playing`,()=>e.classList.remove(`pux-player--buffering`)),Y(w,`canplay`,()=>e.classList.remove(`pux-player--buffering`)),Y(w,`error`,()=>{e.classList.remove(`pux-player--buffering`),e.classList.add(`pux-player--failed`),X(me(w))}),Y(T,`click`,Re),Y(L,`click`,Re),Y(le,`click`,()=>{$(-R)}),Y(ue,`click`,()=>{$(R)}),Y(H,`click`,()=>{w.muted=!w.muted}),Y(U,`input`,()=>{w.volume=Number(U.value),w.muted=Number(U.value)===0}),Y(W,`click`,()=>{Ve(1)}),Y(G,`click`,He),Y(be,`click`,()=>void Ge()),Y(K,`click`,()=>void We()),Y(q,`click`,()=>void Ue()),Y(document,`fullscreenchange`,()=>{let t=document.fullscreenElement===e;e.classList.toggle(`pux-player--fullscreen`,t),q.innerHTML=t?z.exitFullscreen:z.enterFullscreen,q.setAttribute(`aria-label`,t?`Exit fullscreen`:`Fullscreen`)}),Y(j,`pointerdown`,e=>{let t=e;De=!0,j.setPointerCapture(t.pointerId),ze(Be(t.clientX))}),Y(j,`pointermove`,e=>{let t=Be(e.clientX);Number.isFinite(w.duration)&&w.duration>0&&(F.textContent=S(Math.max(0,Math.min(1,t))*w.duration),F.style.left=`${String(Math.max(0,Math.min(1,t))*100)}%`),De&&ze(t)});let qe=e=>{if(!De)return;De=!1;let t=e;j.hasPointerCapture(t.pointerId)&&j.releasePointerCapture(t.pointerId)};Y(j,`pointerup`,qe),Y(j,`pointercancel`,qe),Y(e,`pointermove`,()=>{Q()}),Y(e,`pointerleave`,()=>{w.paused||e.classList.remove(`pux-player--controls`)}),Y(e,`focusin`,()=>{Q()}),Y(e,`keydown`,e=>{let t=e.key,n=e.target,r=n?I.contains(n):!1;if(!(r&&[`ArrowLeft`,`ArrowRight`,`ArrowUp`,`ArrowDown`].includes(t)))switch(t){case` `:case`k`:case`Enter`:if(t===`Enter`&&n?.closest(`button`))return;e.preventDefault(),Re();break;case`ArrowLeft`:e.preventDefault(),$(-p.seekStep);break;case`ArrowRight`:e.preventDefault(),$(p.seekStep);break;case`j`:$(-R);break;case`l`:$(R);break;case`ArrowUp`:e.preventDefault(),w.volume=Math.min(1,w.volume+.1),w.muted=!1,Q();break;case`ArrowDown`:e.preventDefault(),w.volume=Math.max(0,w.volume-.1),Q();break;case`m`:w.muted=!w.muted,Q();break;case`f`:q.hidden||Ue();break;case`p`:K.hidden||We();break;case`Home`:e.preventDefault(),C||(w.currentTime=0);break;case`End`:e.preventDefault(),!C&&Number.isFinite(w.duration)&&(w.currentTime=w.duration);break;case`<`:case`,`:C||(Ve(-1),Q());break;case`>`:case`.`:C||(Ve(1),Q());break;default:/^[0-9]$/.test(t)&&!r&&!C&&(e.preventDefault(),ze(Number(t)/10))}}),Y(window,`pagehide`,Ke);let Je=m(c);w.volume=Je.volume,w.muted=t.autoplay?!0:Je.muted,w.playbackRate=Je.rate===0?l.rate:Je.rate,je(),Pe(),Fe(),Ie(),Z(),Ne(),Q(!1),y.unplayable&&(e.classList.add(`pux-player--failed`),X(y.unplayable));let Ye=t.ads?de(e,w,t.ads,u):null,Xe=Ze();async function Ze(){if(!y.unplayable)try{let r=await oe(w,{src:n,...t.kind?{kind:t.kind}:{},...t.mimeType?{mimeType:t.mimeType}:{},live:C,isTv:f,capabilities:g,withCredentials:t.withCredentials??!1,...t.headers?{headers:t.headers}:{},unplayableAdvice:t.unplayableAdvice??``,...t.engines?{engines:t.engines}:{},onError:t=>{e.classList.add(`pux-player--failed`),X(t)},onNotice:e=>{e===null?Ae():X(e)},onReady:e=>{Oe||(e.live!==C&&(C=e.live,je(),Ne()),ke=e.levels,Le())}});if(J=r,Oe){r.destroy(),J=null;return}Le(),t.autoplay&&w.play().catch(()=>void 0)}catch{e.classList.add(`pux-player--failed`),X(`The player could not be loaded. Please reload the page.`)}}return{media:w,destroy(){if(!Oe){Oe=!0,Ke(),Ye?.destroy(),we&&clearTimeout(we),Te&&clearTimeout(Te);for(let e of Ce)e();Xe.then(()=>{J?.destroy(),J=null}),T.remove(),E.remove(),O.remove(),A.remove(),t.media||w.remove(),e.classList.remove(`pux-player`,`pux-player--tv`,`pux-player--audio`,`pux-player--live`,`pux-player--controls`,`pux-player--playing`,`pux-player--ended`,`pux-player--buffering`,`pux-player--failed`,`pux-player--fullscreen`)}},setChapters(e){Se=e,Ne()}}}export{S as a,r as c,k as i,oe as n,w as o,he as r,C as s,de as t};
@@ -1 +1 @@
1
- import{t as e}from"./main-DYATKV1O.js";var t={...e,"No parties live right now.":`Právě neprobíhají žádné párty.`,"Could not refresh parties.":`Párty se nepodařilo aktualizovat.`,"Pick a server in the directory, or paste its link here.":`Vyberte server v seznamu nebo sem vložte jeho odkaz.`,"Interface language":`Jazyk rozhraní`,Language:`Jazyk`,"Translation language":`Jazyk překladu`,"Original (auto-detect)":`Původní (automatické rozpoznání)`,Play:`Přehrát`,Pause:`Pozastavit`,Stop:`Zastavit`,Next:`Další`,Previous:`Předchozí`,Select:`Vybrat`,"Next/Prev":`Další/Předchozí`,Quit:`Ukončit`,"Now Playing":`Právě hraje`,"Spectrum Analyser":`Spektrální analyzátor`,Playlist:`Seznam skladeb`,Files:`Soubory`,"Open files":`Otevřít soubory`,"Open folder":`Otevřít složku`,"Add to library":`Přidat do knihovny`,"Replace playlist":`Nahradit seznam`,Filter:`Filtrovat`,Search:`Hledat`,"Nothing loaded.":`Nic není načteno.`,"Empty.":`Prázdné.`,"Loading…":`Načítání…`,"Connecting…":`Připojování…`,Connected:`Připojeno`,"Not connected":`Nepřipojeno`,"No source":`Žádný zdroj`,Playing:`Přehrávání`,Stopped:`Zastaveno`,Volume:`Hlasitost`,Seek:`Pozice přehrávání`,"Full screen":`Celá obrazovka`,Download:`Stáhnout`,Share:`Sdílet`,Copy:`Kopírovat`,"Copy link":`Kopírovat odkaz`,Copied:`Zkopírováno`,Save:`Uložit`,Cancel:`Zrušit`,Close:`Zavřít`,Remove:`Odebrat`,Delete:`Smazat`,Edit:`Upravit`,Add:`Přidat`,Send:`Odeslat`,Retry:`Zkusit znovu`,Back:`Zpět`,"Next page":`Další stránka`,"Previous page":`Předchozí stránka`,"Show more":`Zobrazit více`,Panels:`Panely`,"Reset layout":`Obnovit rozložení`,Show:`Zobrazit`,Hide:`Skrýt`,Collapse:`Sbalit`,Expand:`Rozbalit`,"Move up":`Nahoru`,"Move down":`Dolů`,Install:`Nainstalovat`,"TV mode":`Režim TV`,On:`Zapnuto`,Off:`Vypnuto`,Account:`Účet`,"Sign in":`Přihlásit se`,"Sign out":`Odhlásit se`,"Create account":`Vytvořit účet`,Email:`E-mail`,Password:`Heslo`,"Forgot password?":`Zapomenuté heslo?`,"Welcome back":`Vítejte zpět`,Profile:`Profil`,Handle:`Uživatelské jméno`,"Your servers":`Vaše servery`,Server:`Server`,Connect:`Připojit`,Disconnect:`Odpojit`,Directory:`Adresář`,Favourites:`Oblíbené`,Follow:`Sledovat`,Unfollow:`Přestat sledovat`,Notifications:`Oznámení`,"Phone number":`Telefonní číslo`,"Save number":`Uložit číslo`,Transcript:`Přepis`,Captions:`Titulky`,"Translate audio":`Překládat zvuk`,"Audio language":`Jazyk zvuku`,"Audio options":`Možnosti zvuku`,"Keep background sound":`Zachovat zvuk na pozadí`,"Background level":`Hlasitost pozadí`,"Speaker voices":`Hlasy mluvčích`,"Any voice":`Libovolný hlas`,"Male voice":`Mužský hlas`,"Female voice":`Ženský hlas`,"Original audio.":`Původní zvuk.`,"Buy translated audio":`Koupit překlad zvuku`,"Audio credit":`Zvukový kredit`,"Buy pass":`Koupit přístup`,Pass:`Přístup`,"Pay with":`Zaplatit pomocí`,"Check payment":`Ověřit platbu`,"Open checkout":`Přejít k platbě`,"Free sessions":`Bezplatné relace`,"Usage rates and expiry":`Ceny a platnost`,Catalogs:`Katalogy`,"Add catalog":`Přidat katalog`,"Catalog name":`Název katalogu`,Link:`Odkaz`,"Play link":`Přehrát odkaz`,"Go live":`Vysílat živě`,Publish:`Zveřejnit`,Listen:`Poslouchat`,"Live now":`Právě živě`,Upcoming:`Připravované`,Parties:`Společná sledování`,"Join party":`Připojit se ke sledování`,"Invite code":`Kód pozvánky`,Invite:`Pozvat`,Chat:`Chat`,"Chat message":`Zpráva chatu`,People:`Lidé`,Speaker:`Mluvčí`,Speakers:`Mluvčí`,Listener:`Posluchač`,Moderator:`Moderátor`,"Raise hand":`Zvednout ruku`,"Hand raises":`Zvednuté ruce`,Questions:`Otázky`,Resources:`Materiály`,Replay:`Záznam`,Schedule:`Rozvrh`,Event:`Událost`,Host:`Pořadatel`,About:`O události`,Stage:`Pódium`,Title:`Název`,Description:`Popis`,Topic:`Téma`,Public:`Veřejné`,"Anyone with the link":`Kdokoli s odkazem`,"Invited people":`Pozvané osoby`,"Who can join":`Kdo se může připojit`,"Date and time":`Datum a čas`,"Expected length":`Očekávaná délka`,Repeat:`Opakovat`,"Does not repeat":`Neopakuje se`,"Every day":`Každý den`,"Every week":`Každý týden`,Homepage:`Webové stránky`,"Host name":`Jméno pořadatele`,"Profile photo URL":`URL profilové fotky`,"Broadcast link":`Odkaz na vysílání`,"Edit event":`Upravit událost`,"Save changes":`Uložit změny`,"Create live":`Vytvořit vysílání`,"Schedule class":`Naplánovat lekci`,"Start class":`Zahájit lekci`,"End event":`Ukončit událost`,"End session":`Ukončit relaci`,"Session ended":`Relace ukončena`,"Event ended":`Událost ukončena`,Cancelled:`Zrušeno`,"Replay available":`Záznam je k dispozici`,Join:`Připojit se`,"Create invite":`Vytvořit pozvánku`,"Invite as":`Pozvat jako`,"Watch now":`Sledovat nyní`,"Start a room":`Vytvořit místnost`,"Recent replays":`Nedávné záznamy`,"Your account":`Váš účet`,"Write with AI":`Psát pomocí AI`,"Suggested title":`Navrhovaný název`,"Suggested description":`Navrhovaný popis`,"Suggested topic":`Navrhované téma`,"Use these details":`Použít tyto údaje`,"Learn something live.":`Učte se naživo.`,"Screen share":`Sdílet obrazovku`,"Upload and broadcast":`Nahrát a vysílat`,Help:`Nápověda`,"Reload Player":`Znovu načíst přehrávač`,"Copy Bundled CLI Path":`Kopírovat cestu k přibalenému CLI`,"Developer tools":`Vývojářské nástroje`,Undo:`Zpět`,Redo:`Znovu`,Cut:`Vyjmout`,Paste:`Vložit`,"Select all":`Vybrat vše`,Status:`Stav`,"Activity log":`Protokol aktivit`,Admin:`Správa`,"Playback controls":`Ovládání přehrávání`,"Tracks and folders":`Skladby a složky`,"Original-language captions.":`Titulky v původním jazyce.`,"Skip to playback controls":`Přejít k ovládání přehrávání`,"Skip to playlist":`Přejít k seznamu skladeb`,"Skip to transcript and translated audio":`Přejít k přepisu a přeloženému zvuku`};export{t as default};
1
+ import{t as e}from"./main-CuG8-ADK.js";var t={...e,"No parties live right now.":`Právě neprobíhají žádné párty.`,"Could not refresh parties.":`Párty se nepodařilo aktualizovat.`,"Pick a server in the directory, or paste its link here.":`Vyberte server v seznamu nebo sem vložte jeho odkaz.`,"Interface language":`Jazyk rozhraní`,Language:`Jazyk`,"Translation language":`Jazyk překladu`,"Original (auto-detect)":`Původní (automatické rozpoznání)`,Play:`Přehrát`,Pause:`Pozastavit`,Stop:`Zastavit`,Next:`Další`,Previous:`Předchozí`,Select:`Vybrat`,"Next/Prev":`Další/Předchozí`,Quit:`Ukončit`,"Now Playing":`Právě hraje`,"Spectrum Analyser":`Spektrální analyzátor`,Playlist:`Seznam skladeb`,Files:`Soubory`,"Open files":`Otevřít soubory`,"Open folder":`Otevřít složku`,"Add to library":`Přidat do knihovny`,"Replace playlist":`Nahradit seznam`,Filter:`Filtrovat`,Search:`Hledat`,"Nothing loaded.":`Nic není načteno.`,"Empty.":`Prázdné.`,"Loading…":`Načítání…`,"Connecting…":`Připojování…`,Connected:`Připojeno`,"Not connected":`Nepřipojeno`,"No source":`Žádný zdroj`,Playing:`Přehrávání`,Stopped:`Zastaveno`,Volume:`Hlasitost`,Seek:`Pozice přehrávání`,"Full screen":`Celá obrazovka`,Download:`Stáhnout`,Share:`Sdílet`,Copy:`Kopírovat`,"Copy link":`Kopírovat odkaz`,Copied:`Zkopírováno`,Save:`Uložit`,Cancel:`Zrušit`,Close:`Zavřít`,Remove:`Odebrat`,Delete:`Smazat`,Edit:`Upravit`,Add:`Přidat`,Send:`Odeslat`,Retry:`Zkusit znovu`,Back:`Zpět`,"Next page":`Další stránka`,"Previous page":`Předchozí stránka`,"Show more":`Zobrazit více`,Panels:`Panely`,"Reset layout":`Obnovit rozložení`,Show:`Zobrazit`,Hide:`Skrýt`,Collapse:`Sbalit`,Expand:`Rozbalit`,"Move up":`Nahoru`,"Move down":`Dolů`,Install:`Nainstalovat`,"TV mode":`Režim TV`,On:`Zapnuto`,Off:`Vypnuto`,Account:`Účet`,"Sign in":`Přihlásit se`,"Sign out":`Odhlásit se`,"Create account":`Vytvořit účet`,Email:`E-mail`,Password:`Heslo`,"Forgot password?":`Zapomenuté heslo?`,"Welcome back":`Vítejte zpět`,Profile:`Profil`,Handle:`Uživatelské jméno`,"Your servers":`Vaše servery`,Server:`Server`,Connect:`Připojit`,Disconnect:`Odpojit`,Directory:`Adresář`,Favourites:`Oblíbené`,Follow:`Sledovat`,Unfollow:`Přestat sledovat`,Notifications:`Oznámení`,"Phone number":`Telefonní číslo`,"Save number":`Uložit číslo`,Transcript:`Přepis`,Captions:`Titulky`,"Translate audio":`Překládat zvuk`,"Audio language":`Jazyk zvuku`,"Audio options":`Možnosti zvuku`,"Keep background sound":`Zachovat zvuk na pozadí`,"Background level":`Hlasitost pozadí`,"Speaker voices":`Hlasy mluvčích`,"Any voice":`Libovolný hlas`,"Male voice":`Mužský hlas`,"Female voice":`Ženský hlas`,"Original audio.":`Původní zvuk.`,"Buy translated audio":`Koupit překlad zvuku`,"Audio credit":`Zvukový kredit`,"Buy pass":`Koupit přístup`,Pass:`Přístup`,"Pay with":`Zaplatit pomocí`,"Check payment":`Ověřit platbu`,"Open checkout":`Přejít k platbě`,"Free sessions":`Bezplatné relace`,"Usage rates and expiry":`Ceny a platnost`,Catalogs:`Katalogy`,"Add catalog":`Přidat katalog`,"Catalog name":`Název katalogu`,Link:`Odkaz`,"Play link":`Přehrát odkaz`,"Go live":`Vysílat živě`,Publish:`Zveřejnit`,Listen:`Poslouchat`,"Live now":`Právě živě`,Upcoming:`Připravované`,Parties:`Společná sledování`,"Join party":`Připojit se ke sledování`,"Invite code":`Kód pozvánky`,Invite:`Pozvat`,Chat:`Chat`,"Chat message":`Zpráva chatu`,People:`Lidé`,Speaker:`Mluvčí`,Speakers:`Mluvčí`,Listener:`Posluchač`,Moderator:`Moderátor`,"Raise hand":`Zvednout ruku`,"Hand raises":`Zvednuté ruce`,Questions:`Otázky`,Resources:`Materiály`,Replay:`Záznam`,Schedule:`Rozvrh`,Event:`Událost`,Host:`Pořadatel`,About:`O události`,Stage:`Pódium`,Title:`Název`,Description:`Popis`,Topic:`Téma`,Public:`Veřejné`,"Anyone with the link":`Kdokoli s odkazem`,"Invited people":`Pozvané osoby`,"Who can join":`Kdo se může připojit`,"Date and time":`Datum a čas`,"Expected length":`Očekávaná délka`,Repeat:`Opakovat`,"Does not repeat":`Neopakuje se`,"Every day":`Každý den`,"Every week":`Každý týden`,Homepage:`Webové stránky`,"Host name":`Jméno pořadatele`,"Profile photo URL":`URL profilové fotky`,"Broadcast link":`Odkaz na vysílání`,"Edit event":`Upravit událost`,"Save changes":`Uložit změny`,"Create live":`Vytvořit vysílání`,"Schedule class":`Naplánovat lekci`,"Start class":`Zahájit lekci`,"End event":`Ukončit událost`,"End session":`Ukončit relaci`,"Session ended":`Relace ukončena`,"Event ended":`Událost ukončena`,Cancelled:`Zrušeno`,"Replay available":`Záznam je k dispozici`,Join:`Připojit se`,"Create invite":`Vytvořit pozvánku`,"Invite as":`Pozvat jako`,"Watch now":`Sledovat nyní`,"Start a room":`Vytvořit místnost`,"Recent replays":`Nedávné záznamy`,"Your account":`Váš účet`,"Write with AI":`Psát pomocí AI`,"Suggested title":`Navrhovaný název`,"Suggested description":`Navrhovaný popis`,"Suggested topic":`Navrhované téma`,"Use these details":`Použít tyto údaje`,"Learn something live.":`Učte se naživo.`,"Screen share":`Sdílet obrazovku`,"Upload and broadcast":`Nahrát a vysílat`,Help:`Nápověda`,"Reload Player":`Znovu načíst přehrávač`,"Copy Bundled CLI Path":`Kopírovat cestu k přibalenému CLI`,"Developer tools":`Vývojářské nástroje`,Undo:`Zpět`,Redo:`Znovu`,Cut:`Vyjmout`,Paste:`Vložit`,"Select all":`Vybrat vše`,Status:`Stav`,"Activity log":`Protokol aktivit`,Admin:`Správa`,"Playback controls":`Ovládání přehrávání`,"Tracks and folders":`Skladby a složky`,"Original-language captions.":`Titulky v původním jazyce.`,"Skip to playback controls":`Přejít k ovládání přehrávání`,"Skip to playlist":`Přejít k seznamu skladeb`,"Skip to transcript and translated audio":`Přejít k přepisu a přeloženému zvuku`};export{t as default};
@@ -1 +1 @@
1
- import{t as e}from"./main-DYATKV1O.js";var t={...e,"No parties live right now.":`Ingen fester er live lige nu.`,"Could not refresh parties.":`Kunne ikke opdatere festerne.`,"Pick a server in the directory, or paste its link here.":`Vælg en server i oversigten, eller indsæt dens link her.`,"Interface language":`Grænsefladesprog`,Language:`Sprog`,"Translation language":`Oversættelsessprog`,"Original (auto-detect)":`Original (automatisk registrering)`,Play:`Afspil`,Pause:`Pause`,Stop:`Stop`,Next:`Næste`,Previous:`Forrige`,Select:`Vælg`,"Next/Prev":`Næste/Forrige`,Quit:`Afslut`,"Now Playing":`Afspilles nu`,"Spectrum Analyser":`Spektrumanalysator`,Playlist:`Afspilningsliste`,Files:`Filer`,"Open files":`Åbn filer`,"Open folder":`Åbn mappe`,"Add to library":`Føj til bibliotek`,"Replace playlist":`Erstat afspilningsliste`,Filter:`Filtrer`,Search:`Søg`,"Nothing loaded.":`Intet indlæst.`,"Empty.":`Tomt.`,"Loading…":`Indlæser…`,"Connecting…":`Forbinder…`,Connected:`Forbundet`,"Not connected":`Ikke forbundet`,"No source":`Ingen kilde`,Playing:`Afspiller`,Stopped:`Stoppet`,Volume:`Lydstyrke`,Seek:`Afspilningsposition`,"Full screen":`Fuld skærm`,Download:`Download`,Share:`Del`,Copy:`Kopiér`,"Copy link":`Kopiér link`,Copied:`Kopieret`,Save:`Gem`,Cancel:`Annuller`,Close:`Luk`,Remove:`Fjern`,Delete:`Slet`,Edit:`Rediger`,Add:`Tilføj`,Send:`Send`,Retry:`Prøv igen`,Back:`Tilbage`,"Next page":`Næste side`,"Previous page":`Forrige side`,"Show more":`Vis flere`,Panels:`Paneler`,"Reset layout":`Nulstil layout`,Show:`Vis`,Hide:`Skjul`,Collapse:`Fold sammen`,Expand:`Fold ud`,"Move up":`Flyt op`,"Move down":`Flyt ned`,Install:`Installer`,"TV mode":`TV-tilstand`,On:`Til`,Off:`Fra`,Account:`Konto`,"Sign in":`Log ind`,"Sign out":`Log ud`,"Create account":`Opret konto`,Email:`E-mail`,Password:`Adgangskode`,"Forgot password?":`Glemt adgangskode?`,"Welcome back":`Velkommen tilbage`,Profile:`Profil`,Handle:`Brugernavn`,"Your servers":`Dine servere`,Server:`Server`,Connect:`Forbind`,Disconnect:`Afbryd`,Directory:`Oversigt`,Favourites:`Favoritter`,Follow:`Følg`,Unfollow:`Følg ikke længere`,Notifications:`Notifikationer`,"Phone number":`Telefonnummer`,"Save number":`Gem nummer`,Transcript:`Transskription`,Captions:`Undertekster`,"Translate audio":`Oversæt lyd`,"Audio language":`Lydsprog`,"Audio options":`Lydindstillinger`,"Keep background sound":`Bevar baggrundslyd`,"Background level":`Baggrundslydstyrke`,"Speaker voices":`Talernes stemmer`,"Any voice":`Vilkårlig stemme`,"Male voice":`Mandlig stemme`,"Female voice":`Kvindelig stemme`,"Original audio.":`Original lyd.`,"Buy translated audio":`Køb oversat lyd`,"Audio credit":`Lydsaldo`,"Buy pass":`Køb adgang`,Pass:`Adgang`,"Pay with":`Betal med`,"Check payment":`Kontrollér betaling`,"Open checkout":`Gå til betaling`,"Free sessions":`Gratis sessioner`,"Usage rates and expiry":`Priser og udløb`,Catalogs:`Kataloger`,"Add catalog":`Tilføj katalog`,"Catalog name":`Katalognavn`,Link:`Link`,"Play link":`Afspil link`,"Go live":`Gå live`,Publish:`Udgiv`,Listen:`Lyt`,"Live now":`Live nu`,Upcoming:`Kommende`,Parties:`Seerfester`,"Join party":`Deltag i festen`,"Invite code":`Invitationskode`,Invite:`Inviter`,Chat:`Chat`,"Chat message":`Chatbesked`,People:`Personer`,Speaker:`Taler`,Speakers:`Talere`,Listener:`Lytter`,Moderator:`Moderator`,"Raise hand":`Ræk hånden op`,"Hand raises":`Oprakte hænder`,Questions:`Spørgsmål`,Resources:`Materialer`,Replay:`Genudsendelse`,Schedule:`Program`,Event:`Begivenhed`,Host:`Vært`,About:`Om`,Stage:`Scene`,Title:`Titel`,Description:`Beskrivelse`,Topic:`Emne`,Public:`Offentlig`,"Anyone with the link":`Alle med linket`,"Invited people":`Inviterede personer`,"Who can join":`Hvem kan deltage`,"Date and time":`Dato og klokkeslæt`,"Expected length":`Forventet varighed`,Repeat:`Gentag`,"Does not repeat":`Gentages ikke`,"Every day":`Hver dag`,"Every week":`Hver uge`,Homepage:`Hjemmeside`,"Host name":`Værtens navn`,"Profile photo URL":`URL til profilbillede`,"Broadcast link":`Udsendelseslink`,"Edit event":`Rediger begivenhed`,"Save changes":`Gem ændringer`,"Create live":`Opret livesending`,"Schedule class":`Planlæg undervisning`,"Start class":`Start undervisning`,"End event":`Afslut begivenhed`,"End session":`Afslut session`,"Session ended":`Session afsluttet`,"Event ended":`Begivenhed afsluttet`,Cancelled:`Annulleret`,"Replay available":`Genudsendelse tilgængelig`,Join:`Deltag`,"Create invite":`Opret invitation`,"Invite as":`Inviter som`,"Watch now":`Se nu`,"Start a room":`Opret et rum`,"Recent replays":`Seneste genudsendelser`,"Your account":`Din konto`,"Write with AI":`Skriv med AI`,"Suggested title":`Foreslået titel`,"Suggested description":`Foreslået beskrivelse`,"Suggested topic":`Foreslået emne`,"Use these details":`Brug disse oplysninger`,"Learn something live.":`Lær noget live.`,"Screen share":`Del skærm`,"Upload and broadcast":`Upload og udsend`,Help:`Hjælp`,"Reload Player":`Genindlæs afspiller`,"Copy Bundled CLI Path":`Kopiér stien til medfølgende CLI`,"Developer tools":`Udviklerværktøjer`,Undo:`Fortryd`,Redo:`Gentag`,Cut:`Klip`,Paste:`Indsæt`,"Select all":`Vælg alle`,Status:`Status`,"Activity log":`Aktivitetslog`,Admin:`Administration`,"Playback controls":`Afspilningskontroller`,"Tracks and folders":`Numre og mapper`,"Original-language captions.":`Undertekster på originalsproget.`,"Skip to playback controls":`Spring til afspilningskontroller`,"Skip to playlist":`Spring til afspilningslisten`,"Skip to transcript and translated audio":`Spring til transskription og oversat lyd`};export{t as default};
1
+ import{t as e}from"./main-CuG8-ADK.js";var t={...e,"No parties live right now.":`Ingen fester er live lige nu.`,"Could not refresh parties.":`Kunne ikke opdatere festerne.`,"Pick a server in the directory, or paste its link here.":`Vælg en server i oversigten, eller indsæt dens link her.`,"Interface language":`Grænsefladesprog`,Language:`Sprog`,"Translation language":`Oversættelsessprog`,"Original (auto-detect)":`Original (automatisk registrering)`,Play:`Afspil`,Pause:`Pause`,Stop:`Stop`,Next:`Næste`,Previous:`Forrige`,Select:`Vælg`,"Next/Prev":`Næste/Forrige`,Quit:`Afslut`,"Now Playing":`Afspilles nu`,"Spectrum Analyser":`Spektrumanalysator`,Playlist:`Afspilningsliste`,Files:`Filer`,"Open files":`Åbn filer`,"Open folder":`Åbn mappe`,"Add to library":`Føj til bibliotek`,"Replace playlist":`Erstat afspilningsliste`,Filter:`Filtrer`,Search:`Søg`,"Nothing loaded.":`Intet indlæst.`,"Empty.":`Tomt.`,"Loading…":`Indlæser…`,"Connecting…":`Forbinder…`,Connected:`Forbundet`,"Not connected":`Ikke forbundet`,"No source":`Ingen kilde`,Playing:`Afspiller`,Stopped:`Stoppet`,Volume:`Lydstyrke`,Seek:`Afspilningsposition`,"Full screen":`Fuld skærm`,Download:`Download`,Share:`Del`,Copy:`Kopiér`,"Copy link":`Kopiér link`,Copied:`Kopieret`,Save:`Gem`,Cancel:`Annuller`,Close:`Luk`,Remove:`Fjern`,Delete:`Slet`,Edit:`Rediger`,Add:`Tilføj`,Send:`Send`,Retry:`Prøv igen`,Back:`Tilbage`,"Next page":`Næste side`,"Previous page":`Forrige side`,"Show more":`Vis flere`,Panels:`Paneler`,"Reset layout":`Nulstil layout`,Show:`Vis`,Hide:`Skjul`,Collapse:`Fold sammen`,Expand:`Fold ud`,"Move up":`Flyt op`,"Move down":`Flyt ned`,Install:`Installer`,"TV mode":`TV-tilstand`,On:`Til`,Off:`Fra`,Account:`Konto`,"Sign in":`Log ind`,"Sign out":`Log ud`,"Create account":`Opret konto`,Email:`E-mail`,Password:`Adgangskode`,"Forgot password?":`Glemt adgangskode?`,"Welcome back":`Velkommen tilbage`,Profile:`Profil`,Handle:`Brugernavn`,"Your servers":`Dine servere`,Server:`Server`,Connect:`Forbind`,Disconnect:`Afbryd`,Directory:`Oversigt`,Favourites:`Favoritter`,Follow:`Følg`,Unfollow:`Følg ikke længere`,Notifications:`Notifikationer`,"Phone number":`Telefonnummer`,"Save number":`Gem nummer`,Transcript:`Transskription`,Captions:`Undertekster`,"Translate audio":`Oversæt lyd`,"Audio language":`Lydsprog`,"Audio options":`Lydindstillinger`,"Keep background sound":`Bevar baggrundslyd`,"Background level":`Baggrundslydstyrke`,"Speaker voices":`Talernes stemmer`,"Any voice":`Vilkårlig stemme`,"Male voice":`Mandlig stemme`,"Female voice":`Kvindelig stemme`,"Original audio.":`Original lyd.`,"Buy translated audio":`Køb oversat lyd`,"Audio credit":`Lydsaldo`,"Buy pass":`Køb adgang`,Pass:`Adgang`,"Pay with":`Betal med`,"Check payment":`Kontrollér betaling`,"Open checkout":`Gå til betaling`,"Free sessions":`Gratis sessioner`,"Usage rates and expiry":`Priser og udløb`,Catalogs:`Kataloger`,"Add catalog":`Tilføj katalog`,"Catalog name":`Katalognavn`,Link:`Link`,"Play link":`Afspil link`,"Go live":`Gå live`,Publish:`Udgiv`,Listen:`Lyt`,"Live now":`Live nu`,Upcoming:`Kommende`,Parties:`Seerfester`,"Join party":`Deltag i festen`,"Invite code":`Invitationskode`,Invite:`Inviter`,Chat:`Chat`,"Chat message":`Chatbesked`,People:`Personer`,Speaker:`Taler`,Speakers:`Talere`,Listener:`Lytter`,Moderator:`Moderator`,"Raise hand":`Ræk hånden op`,"Hand raises":`Oprakte hænder`,Questions:`Spørgsmål`,Resources:`Materialer`,Replay:`Genudsendelse`,Schedule:`Program`,Event:`Begivenhed`,Host:`Vært`,About:`Om`,Stage:`Scene`,Title:`Titel`,Description:`Beskrivelse`,Topic:`Emne`,Public:`Offentlig`,"Anyone with the link":`Alle med linket`,"Invited people":`Inviterede personer`,"Who can join":`Hvem kan deltage`,"Date and time":`Dato og klokkeslæt`,"Expected length":`Forventet varighed`,Repeat:`Gentag`,"Does not repeat":`Gentages ikke`,"Every day":`Hver dag`,"Every week":`Hver uge`,Homepage:`Hjemmeside`,"Host name":`Værtens navn`,"Profile photo URL":`URL til profilbillede`,"Broadcast link":`Udsendelseslink`,"Edit event":`Rediger begivenhed`,"Save changes":`Gem ændringer`,"Create live":`Opret livesending`,"Schedule class":`Planlæg undervisning`,"Start class":`Start undervisning`,"End event":`Afslut begivenhed`,"End session":`Afslut session`,"Session ended":`Session afsluttet`,"Event ended":`Begivenhed afsluttet`,Cancelled:`Annulleret`,"Replay available":`Genudsendelse tilgængelig`,Join:`Deltag`,"Create invite":`Opret invitation`,"Invite as":`Inviter som`,"Watch now":`Se nu`,"Start a room":`Opret et rum`,"Recent replays":`Seneste genudsendelser`,"Your account":`Din konto`,"Write with AI":`Skriv med AI`,"Suggested title":`Foreslået titel`,"Suggested description":`Foreslået beskrivelse`,"Suggested topic":`Foreslået emne`,"Use these details":`Brug disse oplysninger`,"Learn something live.":`Lær noget live.`,"Screen share":`Del skærm`,"Upload and broadcast":`Upload og udsend`,Help:`Hjælp`,"Reload Player":`Genindlæs afspiller`,"Copy Bundled CLI Path":`Kopiér stien til medfølgende CLI`,"Developer tools":`Udviklerværktøjer`,Undo:`Fortryd`,Redo:`Gentag`,Cut:`Klip`,Paste:`Indsæt`,"Select all":`Vælg alle`,Status:`Status`,"Activity log":`Aktivitetslog`,Admin:`Administration`,"Playback controls":`Afspilningskontroller`,"Tracks and folders":`Numre og mapper`,"Original-language captions.":`Undertekster på originalsproget.`,"Skip to playback controls":`Spring til afspilningskontroller`,"Skip to playlist":`Spring til afspilningslisten`,"Skip to transcript and translated audio":`Spring til transskription og oversat lyd`};export{t as default};
@@ -1 +1 @@
1
- import{t as e}from"./main-DYATKV1O.js";var t={...e,"No parties live right now.":`Gerade sind keine Partys live.`,"Could not refresh parties.":`Partys konnten nicht aktualisiert werden.`,"Pick a server in the directory, or paste its link here.":`Wähle einen Server im Verzeichnis oder füge seinen Link hier ein.`,"Interface language":`Sprache der Oberfläche`,Language:`Sprache`,"Translation language":`Übersetzungssprache`,"Original (auto-detect)":`Original (automatisch erkennen)`,Play:`Abspielen`,Pause:`Pause`,Stop:`Stopp`,Next:`Weiter`,Previous:`Zurück`,Select:`Auswählen`,"Next/Prev":`Weiter/Zurück`,Quit:`Beenden`,"Now Playing":`Aktuelle Wiedergabe`,"Spectrum Analyser":`Spektrumanalysator`,Playlist:`Wiedergabeliste`,Files:`Dateien`,"Open files":`Dateien öffnen`,"Open folder":`Ordner öffnen`,"Add to library":`Zur Mediathek hinzufügen`,"Replace playlist":`Wiedergabeliste ersetzen`,Filter:`Filtern`,Search:`Suchen`,"Nothing loaded.":`Nichts geladen.`,"Empty.":`Leer.`,"Loading…":`Wird geladen…`,"Connecting…":`Verbindung wird hergestellt…`,Connected:`Verbunden`,"Not connected":`Nicht verbunden`,"No source":`Keine Quelle`,Playing:`Wiedergabe`,Stopped:`Gestoppt`,Volume:`Lautstärke`,Seek:`Wiedergabeposition`,"Full screen":`Vollbild`,Download:`Herunterladen`,Share:`Teilen`,Copy:`Kopieren`,"Copy link":`Link kopieren`,Copied:`Kopiert`,Save:`Speichern`,Cancel:`Abbrechen`,Close:`Schließen`,Remove:`Entfernen`,Delete:`Löschen`,Edit:`Bearbeiten`,Add:`Hinzufügen`,Send:`Senden`,Retry:`Erneut versuchen`,Back:`Zurück`,"Next page":`Nächste Seite`,"Previous page":`Vorherige Seite`,"Show more":`Mehr anzeigen`,Panels:`Bereiche`,"Reset layout":`Anordnung zurücksetzen`,Show:`Anzeigen`,Hide:`Ausblenden`,Collapse:`Einklappen`,Expand:`Ausklappen`,"Move up":`Nach oben`,"Move down":`Nach unten`,Install:`Installieren`,"TV mode":`TV-Modus`,On:`Ein`,Off:`Aus`,Account:`Konto`,"Sign in":`Anmelden`,"Sign out":`Abmelden`,"Create account":`Konto erstellen`,Email:`E-Mail`,Password:`Passwort`,"Forgot password?":`Passwort vergessen?`,"Welcome back":`Willkommen zurück`,Profile:`Profil`,Handle:`Benutzername`,"Your servers":`Deine Server`,Server:`Server`,Connect:`Verbinden`,Disconnect:`Trennen`,Directory:`Verzeichnis`,Favourites:`Favoriten`,Follow:`Folgen`,Unfollow:`Nicht mehr folgen`,Notifications:`Benachrichtigungen`,"Phone number":`Telefonnummer`,"Save number":`Nummer speichern`,Transcript:`Transkript`,Captions:`Untertitel`,"Translate audio":`Audio übersetzen`,"Audio language":`Audiosprache`,"Audio options":`Audiooptionen`,"Keep background sound":`Hintergrundgeräusche beibehalten`,"Background level":`Hintergrundlautstärke`,"Speaker voices":`Sprecherstimmen`,"Any voice":`Beliebige Stimme`,"Male voice":`Männliche Stimme`,"Female voice":`Weibliche Stimme`,"Original audio.":`Originalton.`,"Buy translated audio":`Übersetztes Audio kaufen`,"Audio credit":`Audioguthaben`,"Buy pass":`Pass kaufen`,Pass:`Pass`,"Pay with":`Bezahlen mit`,"Check payment":`Zahlung prüfen`,"Open checkout":`Zur Kasse`,"Free sessions":`Kostenlose Sitzungen`,"Usage rates and expiry":`Nutzungspreise und Ablauf`,Catalogs:`Kataloge`,"Add catalog":`Katalog hinzufügen`,"Catalog name":`Katalogname`,Link:`Link`,"Play link":`Link abspielen`,"Go live":`Live gehen`,Publish:`Veröffentlichen`,Listen:`Anhören`,"Live now":`Jetzt live`,Upcoming:`Demnächst`,Parties:`Watchpartys`,"Join party":`Party beitreten`,"Invite code":`Einladungscode`,Invite:`Einladen`,Chat:`Chat`,"Chat message":`Chatnachricht`,People:`Personen`,Speaker:`Sprecher`,Speakers:`Sprecher`,Listener:`Zuhörer`,Moderator:`Moderator`,"Raise hand":`Hand heben`,"Hand raises":`Wortmeldungen`,Questions:`Fragen`,Resources:`Materialien`,Replay:`Aufzeichnung`,Schedule:`Zeitplan`,Event:`Veranstaltung`,Host:`Gastgeber`,About:`Über`,Stage:`Bühne`,Title:`Titel`,Description:`Beschreibung`,Topic:`Thema`,Public:`Öffentlich`,"Anyone with the link":`Alle mit dem Link`,"Invited people":`Eingeladene Personen`,"Who can join":`Wer teilnehmen kann`,"Date and time":`Datum und Uhrzeit`,"Expected length":`Geplante Dauer`,Repeat:`Wiederholen`,"Does not repeat":`Keine Wiederholung`,"Every day":`Jeden Tag`,"Every week":`Jede Woche`,Homepage:`Webseite`,"Host name":`Name des Gastgebers`,"Profile photo URL":`URL des Profilbilds`,"Broadcast link":`Übertragungslink`,"Edit event":`Veranstaltung bearbeiten`,"Save changes":`Änderungen speichern`,"Create live":`Live-Übertragung erstellen`,"Schedule class":`Kurs planen`,"Start class":`Kurs starten`,"End event":`Veranstaltung beenden`,"End session":`Sitzung beenden`,"Session ended":`Sitzung beendet`,"Event ended":`Veranstaltung beendet`,Cancelled:`Abgesagt`,"Replay available":`Aufzeichnung verfügbar`,Join:`Beitreten`,"Create invite":`Einladung erstellen`,"Invite as":`Einladen als`,"Watch now":`Jetzt ansehen`,"Start a room":`Raum eröffnen`,"Recent replays":`Neueste Aufzeichnungen`,"Your account":`Dein Konto`,"Write with AI":`Mit KI schreiben`,"Suggested title":`Titelvorschlag`,"Suggested description":`Beschreibungsvorschlag`,"Suggested topic":`Themenvorschlag`,"Use these details":`Diese Angaben verwenden`,"Learn something live.":`Lerne etwas live.`,"Screen share":`Bildschirm teilen`,"Upload and broadcast":`Hochladen und übertragen`,Help:`Hilfe`,"Reload Player":`Player neu laden`,"Copy Bundled CLI Path":`Pfad zur gebündelten CLI kopieren`,"Developer tools":`Entwicklerwerkzeuge`,Undo:`Rückgängig`,Redo:`Wiederholen`,Cut:`Ausschneiden`,Paste:`Einfügen`,"Select all":`Alles auswählen`,Status:`Status`,"Activity log":`Aktivitätsprotokoll`,Admin:`Verwaltung`,"Playback controls":`Wiedergabesteuerung`,"Tracks and folders":`Titel und Ordner`,"Original-language captions.":`Untertitel in der Originalsprache.`,"Skip to playback controls":`Zur Wiedergabesteuerung springen`,"Skip to playlist":`Zur Wiedergabeliste springen`,"Skip to transcript and translated audio":`Zum Transkript und übersetzten Audio springen`};export{t as default};
1
+ import{t as e}from"./main-CuG8-ADK.js";var t={...e,"No parties live right now.":`Gerade sind keine Partys live.`,"Could not refresh parties.":`Partys konnten nicht aktualisiert werden.`,"Pick a server in the directory, or paste its link here.":`Wähle einen Server im Verzeichnis oder füge seinen Link hier ein.`,"Interface language":`Sprache der Oberfläche`,Language:`Sprache`,"Translation language":`Übersetzungssprache`,"Original (auto-detect)":`Original (automatisch erkennen)`,Play:`Abspielen`,Pause:`Pause`,Stop:`Stopp`,Next:`Weiter`,Previous:`Zurück`,Select:`Auswählen`,"Next/Prev":`Weiter/Zurück`,Quit:`Beenden`,"Now Playing":`Aktuelle Wiedergabe`,"Spectrum Analyser":`Spektrumanalysator`,Playlist:`Wiedergabeliste`,Files:`Dateien`,"Open files":`Dateien öffnen`,"Open folder":`Ordner öffnen`,"Add to library":`Zur Mediathek hinzufügen`,"Replace playlist":`Wiedergabeliste ersetzen`,Filter:`Filtern`,Search:`Suchen`,"Nothing loaded.":`Nichts geladen.`,"Empty.":`Leer.`,"Loading…":`Wird geladen…`,"Connecting…":`Verbindung wird hergestellt…`,Connected:`Verbunden`,"Not connected":`Nicht verbunden`,"No source":`Keine Quelle`,Playing:`Wiedergabe`,Stopped:`Gestoppt`,Volume:`Lautstärke`,Seek:`Wiedergabeposition`,"Full screen":`Vollbild`,Download:`Herunterladen`,Share:`Teilen`,Copy:`Kopieren`,"Copy link":`Link kopieren`,Copied:`Kopiert`,Save:`Speichern`,Cancel:`Abbrechen`,Close:`Schließen`,Remove:`Entfernen`,Delete:`Löschen`,Edit:`Bearbeiten`,Add:`Hinzufügen`,Send:`Senden`,Retry:`Erneut versuchen`,Back:`Zurück`,"Next page":`Nächste Seite`,"Previous page":`Vorherige Seite`,"Show more":`Mehr anzeigen`,Panels:`Bereiche`,"Reset layout":`Anordnung zurücksetzen`,Show:`Anzeigen`,Hide:`Ausblenden`,Collapse:`Einklappen`,Expand:`Ausklappen`,"Move up":`Nach oben`,"Move down":`Nach unten`,Install:`Installieren`,"TV mode":`TV-Modus`,On:`Ein`,Off:`Aus`,Account:`Konto`,"Sign in":`Anmelden`,"Sign out":`Abmelden`,"Create account":`Konto erstellen`,Email:`E-Mail`,Password:`Passwort`,"Forgot password?":`Passwort vergessen?`,"Welcome back":`Willkommen zurück`,Profile:`Profil`,Handle:`Benutzername`,"Your servers":`Deine Server`,Server:`Server`,Connect:`Verbinden`,Disconnect:`Trennen`,Directory:`Verzeichnis`,Favourites:`Favoriten`,Follow:`Folgen`,Unfollow:`Nicht mehr folgen`,Notifications:`Benachrichtigungen`,"Phone number":`Telefonnummer`,"Save number":`Nummer speichern`,Transcript:`Transkript`,Captions:`Untertitel`,"Translate audio":`Audio übersetzen`,"Audio language":`Audiosprache`,"Audio options":`Audiooptionen`,"Keep background sound":`Hintergrundgeräusche beibehalten`,"Background level":`Hintergrundlautstärke`,"Speaker voices":`Sprecherstimmen`,"Any voice":`Beliebige Stimme`,"Male voice":`Männliche Stimme`,"Female voice":`Weibliche Stimme`,"Original audio.":`Originalton.`,"Buy translated audio":`Übersetztes Audio kaufen`,"Audio credit":`Audioguthaben`,"Buy pass":`Pass kaufen`,Pass:`Pass`,"Pay with":`Bezahlen mit`,"Check payment":`Zahlung prüfen`,"Open checkout":`Zur Kasse`,"Free sessions":`Kostenlose Sitzungen`,"Usage rates and expiry":`Nutzungspreise und Ablauf`,Catalogs:`Kataloge`,"Add catalog":`Katalog hinzufügen`,"Catalog name":`Katalogname`,Link:`Link`,"Play link":`Link abspielen`,"Go live":`Live gehen`,Publish:`Veröffentlichen`,Listen:`Anhören`,"Live now":`Jetzt live`,Upcoming:`Demnächst`,Parties:`Watchpartys`,"Join party":`Party beitreten`,"Invite code":`Einladungscode`,Invite:`Einladen`,Chat:`Chat`,"Chat message":`Chatnachricht`,People:`Personen`,Speaker:`Sprecher`,Speakers:`Sprecher`,Listener:`Zuhörer`,Moderator:`Moderator`,"Raise hand":`Hand heben`,"Hand raises":`Wortmeldungen`,Questions:`Fragen`,Resources:`Materialien`,Replay:`Aufzeichnung`,Schedule:`Zeitplan`,Event:`Veranstaltung`,Host:`Gastgeber`,About:`Über`,Stage:`Bühne`,Title:`Titel`,Description:`Beschreibung`,Topic:`Thema`,Public:`Öffentlich`,"Anyone with the link":`Alle mit dem Link`,"Invited people":`Eingeladene Personen`,"Who can join":`Wer teilnehmen kann`,"Date and time":`Datum und Uhrzeit`,"Expected length":`Geplante Dauer`,Repeat:`Wiederholen`,"Does not repeat":`Keine Wiederholung`,"Every day":`Jeden Tag`,"Every week":`Jede Woche`,Homepage:`Webseite`,"Host name":`Name des Gastgebers`,"Profile photo URL":`URL des Profilbilds`,"Broadcast link":`Übertragungslink`,"Edit event":`Veranstaltung bearbeiten`,"Save changes":`Änderungen speichern`,"Create live":`Live-Übertragung erstellen`,"Schedule class":`Kurs planen`,"Start class":`Kurs starten`,"End event":`Veranstaltung beenden`,"End session":`Sitzung beenden`,"Session ended":`Sitzung beendet`,"Event ended":`Veranstaltung beendet`,Cancelled:`Abgesagt`,"Replay available":`Aufzeichnung verfügbar`,Join:`Beitreten`,"Create invite":`Einladung erstellen`,"Invite as":`Einladen als`,"Watch now":`Jetzt ansehen`,"Start a room":`Raum eröffnen`,"Recent replays":`Neueste Aufzeichnungen`,"Your account":`Dein Konto`,"Write with AI":`Mit KI schreiben`,"Suggested title":`Titelvorschlag`,"Suggested description":`Beschreibungsvorschlag`,"Suggested topic":`Themenvorschlag`,"Use these details":`Diese Angaben verwenden`,"Learn something live.":`Lerne etwas live.`,"Screen share":`Bildschirm teilen`,"Upload and broadcast":`Hochladen und übertragen`,Help:`Hilfe`,"Reload Player":`Player neu laden`,"Copy Bundled CLI Path":`Pfad zur gebündelten CLI kopieren`,"Developer tools":`Entwicklerwerkzeuge`,Undo:`Rückgängig`,Redo:`Wiederholen`,Cut:`Ausschneiden`,Paste:`Einfügen`,"Select all":`Alles auswählen`,Status:`Status`,"Activity log":`Aktivitätsprotokoll`,Admin:`Verwaltung`,"Playback controls":`Wiedergabesteuerung`,"Tracks and folders":`Titel und Ordner`,"Original-language captions.":`Untertitel in der Originalsprache.`,"Skip to playback controls":`Zur Wiedergabesteuerung springen`,"Skip to playlist":`Zur Wiedergabeliste springen`,"Skip to transcript and translated audio":`Zum Transkript und übersetzten Audio springen`};export{t as default};