itube-modern-player 0.7.2 → 0.8.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.
package/dist/index.cjs CHANGED
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./core.cjs"),t=require("./labels-BOrrLImF.cjs"),r=require("./dom-Bq7EQenh.cjs"),a=require("./locales.cjs");e.registerLocales(a.locales);exports.Emitter=e.Emitter;exports.Player=e.Player;exports.ThumbnailTrack=e.ThumbnailTrack;exports.buildHeatmapValues=e.buildHeatmapValues;exports.chapterAt=e.chapterAt;exports.defaultIcons=e.defaultIcons;exports.getLocale=e.getLocale;exports.heatmapPath=e.heatmapPath;exports.isHlsSource=e.isHlsSource;exports.loadChaptersVtt=e.loadChaptersVtt;exports.normalizeChapters=e.normalizeChapters;exports.registerLocale=e.registerLocale;exports.registerLocales=e.registerLocales;exports.registeredLanguages=e.registeredLanguages;exports.resolveVast=e.resolveVast;exports.defaultLabels=t.defaultLabels;exports.formatTime=r.formatTime;exports.locales=a.locales;exports.supportedLanguages=a.supportedLanguages;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./core.cjs"),t=require("./labels-BOrrLImF.cjs"),a=require("./locales.cjs");e.registerLocales(a.locales);exports.Emitter=e.Emitter;exports.Player=e.Player;exports.ThumbnailTrack=e.ThumbnailTrack;exports.buildHeatmapValues=e.buildHeatmapValues;exports.chapterAt=e.chapterAt;exports.defaultIcons=e.defaultIcons;exports.formatTime=e.formatTime;exports.getLocale=e.getLocale;exports.heatmapPath=e.heatmapPath;exports.isHlsSource=e.isHlsSource;exports.loadChaptersVtt=e.loadChaptersVtt;exports.normalizeChapters=e.normalizeChapters;exports.registerLocale=e.registerLocale;exports.registerLocales=e.registerLocales;exports.registeredLanguages=e.registeredLanguages;exports.resolveVast=e.resolveVast;exports.defaultLabels=t.defaultLabels;exports.locales=a.locales;exports.supportedLanguages=a.supportedLanguages;
2
2
  //# sourceMappingURL=index.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","sources":["../src/index.ts"],"sourcesContent":["/**\n * Main entry: the full player with all 11 built-in locales registered.\n * Size-conscious builds can use `itube-modern-player/core` instead and\n * register only the locales they need.\n */\nexport * from './coreEntry'\n\nimport { registerLocales } from './core/localeRegistry'\nimport { locales } from './core/locales'\n\nregisterLocales(locales)\n\nexport { locales, supportedLanguages } from './core/locales'\n"],"names":["registerLocales","locales"],"mappings":"4MAUAA,EAAAA,gBAAgBC,SAAO"}
1
+ {"version":3,"file":"index.cjs","sources":["../src/index.ts"],"sourcesContent":["/**\n * Main entry: the full player with all 11 built-in locales registered.\n * Size-conscious builds can use `itube-modern-player/core` instead and\n * register only the locales they need.\n */\nexport * from './coreEntry'\n\nimport { registerLocales } from './core/localeRegistry'\nimport { locales } from './core/locales'\n\nregisterLocales(locales)\n\nexport { locales, supportedLanguages } from './core/locales'\n"],"names":["registerLocales","locales"],"mappings":"4KAUAA,EAAAA,gBAAgBC,SAAO"}
package/dist/index.js CHANGED
@@ -1,29 +1,28 @@
1
- import { registerLocales as e, Player as t } from "./core.js";
2
- import { Emitter as m, ThumbnailTrack as p, buildHeatmapValues as i, chapterAt as f, defaultIcons as u, getLocale as c, heatmapPath as g, isHlsSource as d, loadChaptersVtt as h, normalizeChapters as L, registerLocale as n, registeredLanguages as x, resolveVast as b } from "./core.js";
3
- import { d as V } from "./labels-CCjOCBKU.js";
4
- import { f as H } from "./dom-DrpWbY0y.js";
5
- import { locales as r } from "./locales.js";
6
- import { supportedLanguages as k } from "./locales.js";
7
- e(r);
1
+ import { registerLocales as e } from "./core.js";
2
+ import { Emitter as l, Player as m, ThumbnailTrack as p, buildHeatmapValues as i, chapterAt as u, defaultIcons as c, formatTime as f, getLocale as g, heatmapPath as d, isHlsSource as h, loadChaptersVtt as L, normalizeChapters as n, registerLocale as x, registeredLanguages as b, resolveVast as T } from "./core.js";
3
+ import { d as C } from "./labels-CCjOCBKU.js";
4
+ import { locales as a } from "./locales.js";
5
+ import { supportedLanguages as P } from "./locales.js";
6
+ e(a);
8
7
  export {
9
- m as Emitter,
10
- t as Player,
8
+ l as Emitter,
9
+ m as Player,
11
10
  p as ThumbnailTrack,
12
11
  i as buildHeatmapValues,
13
- f as chapterAt,
14
- u as defaultIcons,
15
- V as defaultLabels,
16
- H as formatTime,
17
- c as getLocale,
18
- g as heatmapPath,
19
- d as isHlsSource,
20
- h as loadChaptersVtt,
21
- r as locales,
22
- L as normalizeChapters,
23
- n as registerLocale,
12
+ u as chapterAt,
13
+ c as defaultIcons,
14
+ C as defaultLabels,
15
+ f as formatTime,
16
+ g as getLocale,
17
+ d as heatmapPath,
18
+ h as isHlsSource,
19
+ L as loadChaptersVtt,
20
+ a as locales,
21
+ n as normalizeChapters,
22
+ x as registerLocale,
24
23
  e as registerLocales,
25
- x as registeredLanguages,
26
- b as resolveVast,
27
- k as supportedLanguages
24
+ b as registeredLanguages,
25
+ T as resolveVast,
26
+ P as supportedLanguages
28
27
  };
29
28
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../src/index.ts"],"sourcesContent":["/**\n * Main entry: the full player with all 11 built-in locales registered.\n * Size-conscious builds can use `itube-modern-player/core` instead and\n * register only the locales they need.\n */\nexport * from './coreEntry'\n\nimport { registerLocales } from './core/localeRegistry'\nimport { locales } from './core/locales'\n\nregisterLocales(locales)\n\nexport { locales, supportedLanguages } from './core/locales'\n"],"names":["registerLocales","locales"],"mappings":";;;;;;AAUAA,EAAgBC,CAAO;"}
1
+ {"version":3,"file":"index.js","sources":["../src/index.ts"],"sourcesContent":["/**\n * Main entry: the full player with all 11 built-in locales registered.\n * Size-conscious builds can use `itube-modern-player/core` instead and\n * register only the locales they need.\n */\nexport * from './coreEntry'\n\nimport { registerLocales } from './core/localeRegistry'\nimport { locales } from './core/locales'\n\nregisterLocales(locales)\n\nexport { locales, supportedLanguages } from './core/locales'\n"],"names":["registerLocales","locales"],"mappings":";;;;;AAUAA,EAAgBC,CAAO;"}