@mattebox/player-ads 0.0.0 → 1.0.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/LICENSE +21 -0
- package/README.md +36 -2
- package/dist/ad-info.d.ts +25 -0
- package/dist/ad-info.d.ts.map +1 -0
- package/dist/ad-info.js +80 -0
- package/dist/ad-info.js.map +1 -0
- package/dist/ad-link.d.ts +19 -0
- package/dist/ad-link.d.ts.map +1 -0
- package/dist/ad-link.js +51 -0
- package/dist/ad-link.js.map +1 -0
- package/dist/ad-progress.d.ts +18 -0
- package/dist/ad-progress.d.ts.map +1 -0
- package/dist/ad-progress.js +51 -0
- package/dist/ad-progress.js.map +1 -0
- package/dist/ad-skip-button.d.ts +21 -0
- package/dist/ad-skip-button.d.ts.map +1 -0
- package/dist/ad-skip-button.js +66 -0
- package/dist/ad-skip-button.js.map +1 -0
- package/dist/beacons.d.ts +29 -0
- package/dist/beacons.d.ts.map +1 -0
- package/dist/beacons.js +44 -0
- package/dist/beacons.js.map +1 -0
- package/dist/cdn/mattebox-player-ads.min.js +1 -0
- package/dist/component.d.ts +54 -0
- package/dist/component.d.ts.map +1 -0
- package/dist/component.js +95 -0
- package/dist/component.js.map +1 -0
- package/dist/controller.d.ts +178 -0
- package/dist/controller.d.ts.map +1 -0
- package/dist/controller.js +799 -0
- package/dist/controller.js.map +1 -0
- package/dist/es2015/_virtual/_@oxc-project_runtime@0.155.0/helpers/esm/asyncToGenerator.js +26 -0
- package/dist/es2015/_virtual/_@oxc-project_runtime@0.155.0/helpers/esm/defineProperty.js +11 -0
- package/dist/es2015/_virtual/_@oxc-project_runtime@0.155.0/helpers/esm/objectSpread2.js +24 -0
- package/dist/es2015/_virtual/_@oxc-project_runtime@0.155.0/helpers/esm/toPrimitive.js +13 -0
- package/dist/es2015/_virtual/_@oxc-project_runtime@0.155.0/helpers/esm/toPropertyKey.js +8 -0
- package/dist/es2015/_virtual/_@oxc-project_runtime@0.155.0/helpers/esm/typeof.js +10 -0
- package/dist/es2015/ad-info.js +79 -0
- package/dist/es2015/ad-link.js +53 -0
- package/dist/es2015/ad-progress.js +51 -0
- package/dist/es2015/ad-skip-button.js +68 -0
- package/dist/es2015/beacons.js +42 -0
- package/dist/es2015/component.js +94 -0
- package/dist/es2015/controller.js +826 -0
- package/dist/es2015/host.js +18 -0
- package/dist/es2015/index.js +71 -0
- package/dist/es2015/locales/ar.js +13 -0
- package/dist/es2015/locales/ca.js +13 -0
- package/dist/es2015/locales/de.js +13 -0
- package/dist/es2015/locales/es.js +13 -0
- package/dist/es2015/locales/fr.js +13 -0
- package/dist/es2015/locales/hi.js +13 -0
- package/dist/es2015/locales/it.js +13 -0
- package/dist/es2015/locales/ja.js +13 -0
- package/dist/es2015/locales/ko.js +13 -0
- package/dist/es2015/locales/pt.js +13 -0
- package/dist/es2015/locales/zh.js +13 -0
- package/dist/es2015/shared.js +26 -0
- package/dist/es2015/vast.js +255 -0
- package/dist/es2015/vmap.js +73 -0
- package/dist/host.d.ts +14 -0
- package/dist/host.d.ts.map +1 -0
- package/dist/host.js +20 -0
- package/dist/host.js.map +1 -0
- package/dist/index.d.ts +40 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +73 -0
- package/dist/index.js.map +1 -0
- package/dist/locales/ar.d.ts +13 -0
- package/dist/locales/ar.d.ts.map +1 -0
- package/dist/locales/ar.js +15 -0
- package/dist/locales/ar.js.map +1 -0
- package/dist/locales/ca.d.ts +13 -0
- package/dist/locales/ca.d.ts.map +1 -0
- package/dist/locales/ca.js +15 -0
- package/dist/locales/ca.js.map +1 -0
- package/dist/locales/de.d.ts +13 -0
- package/dist/locales/de.d.ts.map +1 -0
- package/dist/locales/de.js +15 -0
- package/dist/locales/de.js.map +1 -0
- package/dist/locales/es.d.ts +13 -0
- package/dist/locales/es.d.ts.map +1 -0
- package/dist/locales/es.js +15 -0
- package/dist/locales/es.js.map +1 -0
- package/dist/locales/fr.d.ts +13 -0
- package/dist/locales/fr.d.ts.map +1 -0
- package/dist/locales/fr.js +15 -0
- package/dist/locales/fr.js.map +1 -0
- package/dist/locales/hi.d.ts +13 -0
- package/dist/locales/hi.d.ts.map +1 -0
- package/dist/locales/hi.js +15 -0
- package/dist/locales/hi.js.map +1 -0
- package/dist/locales/it.d.ts +13 -0
- package/dist/locales/it.d.ts.map +1 -0
- package/dist/locales/it.js +15 -0
- package/dist/locales/it.js.map +1 -0
- package/dist/locales/ja.d.ts +13 -0
- package/dist/locales/ja.d.ts.map +1 -0
- package/dist/locales/ja.js +15 -0
- package/dist/locales/ja.js.map +1 -0
- package/dist/locales/ko.d.ts +13 -0
- package/dist/locales/ko.d.ts.map +1 -0
- package/dist/locales/ko.js +15 -0
- package/dist/locales/ko.js.map +1 -0
- package/dist/locales/pt.d.ts +13 -0
- package/dist/locales/pt.d.ts.map +1 -0
- package/dist/locales/pt.js +15 -0
- package/dist/locales/pt.js.map +1 -0
- package/dist/locales/zh.d.ts +13 -0
- package/dist/locales/zh.d.ts.map +1 -0
- package/dist/locales/zh.js +15 -0
- package/dist/locales/zh.js.map +1 -0
- package/dist/messages.d.ts +30 -0
- package/dist/messages.d.ts.map +1 -0
- package/dist/shared.d.ts +7 -0
- package/dist/shared.d.ts.map +1 -0
- package/dist/shared.js +25 -0
- package/dist/shared.js.map +1 -0
- package/dist/vast.d.ts +94 -0
- package/dist/vast.d.ts.map +1 -0
- package/dist/vast.js +254 -0
- package/dist/vast.js.map +1 -0
- package/dist/vmap.d.ts +31 -0
- package/dist/vmap.d.ts.map +1 -0
- package/dist/vmap.js +71 -0
- package/dist/vmap.js.map +1 -0
- package/package.json +52 -6
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @mattebox/player-ads: ads in <mattebox-player>. `ads()` is an add-on for
|
|
3
|
+
* `MatteboxPlayerElement.define({ addons: [ads()] })`: it adds the engine's
|
|
4
|
+
* interstitials stage to every player, follows each player's breaks, reads
|
|
5
|
+
* VAST and VMAP, sends the beacons, and hides the programme's own controls
|
|
6
|
+
* while an ad plays. <mbx-ad-info>, <mbx-ad-skip-button> and <mbx-ad-link>
|
|
7
|
+
* draw the ad. Importing this module registers the three elements; that is
|
|
8
|
+
* the package's one side effect.
|
|
9
|
+
*/
|
|
10
|
+
import type { PlayerAddon, PlayerHost } from '@mattebox/player';
|
|
11
|
+
import { MbxAdInfo } from './ad-info.js';
|
|
12
|
+
import { MbxAdLink } from './ad-link.js';
|
|
13
|
+
import { MbxAdProgress } from './ad-progress.js';
|
|
14
|
+
import { MbxAdSkipButton } from './ad-skip-button.js';
|
|
15
|
+
import { type AdsApi, type AdsOptions } from './controller.js';
|
|
16
|
+
export { MbxAdInfo } from './ad-info.js';
|
|
17
|
+
export { MbxAdLink } from './ad-link.js';
|
|
18
|
+
export { MbxAdProgress } from './ad-progress.js';
|
|
19
|
+
export { MbxAdSkipButton } from './ad-skip-button.js';
|
|
20
|
+
export type { AdBreakInput, AdOpportunity, AdState, AdsApi, AdsOptions, } from './controller.js';
|
|
21
|
+
export type { AdsMessages } from './messages.js';
|
|
22
|
+
export type { VastAd, VastCompanion, VastMediaFile, VastResult, VastTracking, VastVerification, } from './vast.js';
|
|
23
|
+
export { resolveVast } from './vast.js';
|
|
24
|
+
export declare const AD_INFO = "mbx-ad-info";
|
|
25
|
+
export declare const AD_SKIP_BUTTON = "mbx-ad-skip-button";
|
|
26
|
+
export declare const AD_LINK = "mbx-ad-link";
|
|
27
|
+
export declare const AD_PROGRESS = "mbx-ad-progress";
|
|
28
|
+
/** The add-on: pass it in `addons`. */
|
|
29
|
+
export declare function ads(options?: AdsOptions): PlayerAddon;
|
|
30
|
+
/** The ads of `player`: its schedule, the ad that plays, skip and click. */
|
|
31
|
+
export declare function adsOf(player: PlayerHost): AdsApi;
|
|
32
|
+
declare global {
|
|
33
|
+
interface HTMLElementTagNameMap {
|
|
34
|
+
'mbx-ad-info': MbxAdInfo;
|
|
35
|
+
'mbx-ad-skip-button': MbxAdSkipButton;
|
|
36
|
+
'mbx-ad-link': MbxAdLink;
|
|
37
|
+
'mbx-ad-progress': MbxAdProgress;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,OAAO,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAEhE,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,KAAK,MAAM,EAAE,KAAK,UAAU,EAAiB,MAAM,iBAAiB,CAAC;AAE9E,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,YAAY,EACV,YAAY,EACZ,aAAa,EACb,OAAO,EACP,MAAM,EACN,UAAU,GACX,MAAM,iBAAiB,CAAC;AACzB,YAAY,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACjD,YAAY,EACV,MAAM,EACN,aAAa,EACb,aAAa,EACb,UAAU,EACV,YAAY,EACZ,gBAAgB,GACjB,MAAM,WAAW,CAAC;AACnB,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAExC,eAAO,MAAM,OAAO,gBAAgB,CAAC;AACrC,eAAO,MAAM,cAAc,uBAAuB,CAAC;AACnD,eAAO,MAAM,OAAO,gBAAgB,CAAC;AACrC,eAAO,MAAM,WAAW,oBAAoB,CAAC;AA0C7C,uCAAuC;AACvC,wBAAgB,GAAG,CAAC,OAAO,GAAE,UAAe,GAAG,WAAW,CAWzD;AAED,4EAA4E;AAC5E,wBAAgB,KAAK,CAAC,MAAM,EAAE,UAAU,GAAG,MAAM,CAEhD;AASD,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,aAAa,EAAE,SAAS,CAAC;QACzB,oBAAoB,EAAE,eAAe,CAAC;QACtC,aAAa,EAAE,SAAS,CAAC;QACzB,iBAAiB,EAAE,aAAa,CAAC;KAClC;CACF"}
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { resolveVast } from "./vast.js";
|
|
2
|
+
import { controllerFor } from "./controller.js";
|
|
3
|
+
import { MbxAdInfo } from "./ad-info.js";
|
|
4
|
+
import { MbxAdLink } from "./ad-link.js";
|
|
5
|
+
import { MbxAdProgress } from "./ad-progress.js";
|
|
6
|
+
import { MbxAdSkipButton } from "./ad-skip-button.js";
|
|
7
|
+
import interstitials from "mattebox/stages/interstitials";
|
|
8
|
+
// src/index.ts
|
|
9
|
+
const AD_INFO = "mbx-ad-info";
|
|
10
|
+
const AD_SKIP_BUTTON = "mbx-ad-skip-button";
|
|
11
|
+
const AD_LINK = "mbx-ad-link";
|
|
12
|
+
const AD_PROGRESS = "mbx-ad-progress";
|
|
13
|
+
/**
|
|
14
|
+
* While an ad plays the player carries `ad`: the seek bar, the times, the
|
|
15
|
+
* menus and the programme's title would describe what does not play. Play,
|
|
16
|
+
* pause, volume and fullscreen stay, and drive the ad. Plain selectors, not
|
|
17
|
+
* `:is()`, which a 2021 TV lacks.
|
|
18
|
+
*/
|
|
19
|
+
const DURING_AD = [
|
|
20
|
+
"mbx-seek-bar",
|
|
21
|
+
"mbx-current-time",
|
|
22
|
+
"mbx-duration",
|
|
23
|
+
"mbx-remaining-time",
|
|
24
|
+
"mbx-chapters-menu",
|
|
25
|
+
"mbx-marker-button",
|
|
26
|
+
"mbx-quality-menu",
|
|
27
|
+
"mbx-audio-menu",
|
|
28
|
+
"mbx-subtitles-menu",
|
|
29
|
+
"mbx-video-menu",
|
|
30
|
+
"mbx-speed-menu",
|
|
31
|
+
"mbx-live-button",
|
|
32
|
+
"mbx-scan-button",
|
|
33
|
+
"mbx-skip-button",
|
|
34
|
+
"mbx-title",
|
|
35
|
+
"mbx-up-next"
|
|
36
|
+
];
|
|
37
|
+
const AD_ELEMENTS = [
|
|
38
|
+
"mbx-ad-info",
|
|
39
|
+
"mbx-ad-skip-button",
|
|
40
|
+
"mbx-ad-link",
|
|
41
|
+
"mbx-ad-progress"
|
|
42
|
+
];
|
|
43
|
+
const HIDDEN = `${[...DURING_AD.map((name) => `mattebox-player[ad]:not([ad="stitched"]):not([scrubbing]) ${name}`), ...AD_ELEMENTS.map((name) => `mattebox-player:not([ad]) ${name}`)].join(",")}{display:none}`;
|
|
44
|
+
function addStyle() {
|
|
45
|
+
if (document.getElementById("mbx-ads-style") !== null) return;
|
|
46
|
+
const node = document.createElement("style");
|
|
47
|
+
node.id = "mbx-ads-style";
|
|
48
|
+
node.textContent = HIDDEN;
|
|
49
|
+
document.head.append(node);
|
|
50
|
+
}
|
|
51
|
+
/** The add-on: pass it in `addons`. */
|
|
52
|
+
function ads(options = {}) {
|
|
53
|
+
return {
|
|
54
|
+
name: "ads",
|
|
55
|
+
stages: () => [interstitials()],
|
|
56
|
+
engine: true,
|
|
57
|
+
attach(player) {
|
|
58
|
+
addStyle();
|
|
59
|
+
return controllerFor(player, options).attach();
|
|
60
|
+
}
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
/** The ads of `player`: its schedule, the ad that plays, skip and click. */
|
|
64
|
+
function adsOf(player) {
|
|
65
|
+
return controllerFor(player);
|
|
66
|
+
}
|
|
67
|
+
if (customElements.get("mbx-ad-info") === void 0) customElements.define(AD_INFO, MbxAdInfo);
|
|
68
|
+
if (customElements.get("mbx-ad-skip-button") === void 0) customElements.define(AD_SKIP_BUTTON, MbxAdSkipButton);
|
|
69
|
+
if (customElements.get("mbx-ad-link") === void 0) customElements.define(AD_LINK, MbxAdLink);
|
|
70
|
+
if (customElements.get("mbx-ad-progress") === void 0) customElements.define(AD_PROGRESS, MbxAdProgress);
|
|
71
|
+
export { AD_INFO, AD_LINK, AD_PROGRESS, AD_SKIP_BUTTON, MbxAdInfo, MbxAdLink, MbxAdProgress, MbxAdSkipButton, ads, adsOf, resolveVast };
|
|
72
|
+
|
|
73
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../src/index.ts"],"sourcesContent":["/**\n * @mattebox/player-ads: ads in <mattebox-player>. `ads()` is an add-on for\n * `MatteboxPlayerElement.define({ addons: [ads()] })`: it adds the engine's\n * interstitials stage to every player, follows each player's breaks, reads\n * VAST and VMAP, sends the beacons, and hides the programme's own controls\n * while an ad plays. <mbx-ad-info>, <mbx-ad-skip-button> and <mbx-ad-link>\n * draw the ad. Importing this module registers the three elements; that is\n * the package's one side effect.\n */\nimport type { PlayerAddon, PlayerHost } from '@mattebox/player';\nimport interstitials from 'mattebox/stages/interstitials';\nimport { MbxAdInfo } from './ad-info.js';\nimport { MbxAdLink } from './ad-link.js';\nimport { MbxAdProgress } from './ad-progress.js';\nimport { MbxAdSkipButton } from './ad-skip-button.js';\nimport { type AdsApi, type AdsOptions, controllerFor } from './controller.js';\n\nexport { MbxAdInfo } from './ad-info.js';\nexport { MbxAdLink } from './ad-link.js';\nexport { MbxAdProgress } from './ad-progress.js';\nexport { MbxAdSkipButton } from './ad-skip-button.js';\nexport type {\n AdBreakInput,\n AdOpportunity,\n AdState,\n AdsApi,\n AdsOptions,\n} from './controller.js';\nexport type { AdsMessages } from './messages.js';\nexport type {\n VastAd,\n VastCompanion,\n VastMediaFile,\n VastResult,\n VastTracking,\n VastVerification,\n} from './vast.js';\nexport { resolveVast } from './vast.js';\n\nexport const AD_INFO = 'mbx-ad-info';\nexport const AD_SKIP_BUTTON = 'mbx-ad-skip-button';\nexport const AD_LINK = 'mbx-ad-link';\nexport const AD_PROGRESS = 'mbx-ad-progress';\n\n/**\n * While an ad plays the player carries `ad`: the seek bar, the times, the\n * menus and the programme's title would describe what does not play. Play,\n * pause, volume and fullscreen stay, and drive the ad. Plain selectors, not\n * `:is()`, which a 2021 TV lacks.\n */\nconst DURING_AD = [\n 'mbx-seek-bar',\n 'mbx-current-time',\n 'mbx-duration',\n 'mbx-remaining-time',\n 'mbx-chapters-menu',\n 'mbx-marker-button',\n 'mbx-quality-menu',\n 'mbx-audio-menu',\n 'mbx-subtitles-menu',\n 'mbx-video-menu',\n 'mbx-speed-menu',\n 'mbx-live-button',\n 'mbx-scan-button',\n 'mbx-skip-button',\n 'mbx-title',\n 'mbx-up-next',\n];\nconst AD_ELEMENTS = ['mbx-ad-info', 'mbx-ad-skip-button', 'mbx-ad-link', 'mbx-ad-progress'];\nconst HIDDEN = `${[\n // Not during a drag: the seek bar that drags must stay under the pointer.\n // Not for a break the stream plays with the controls kept, `ad=\"stitched\"`.\n ...DURING_AD.map((name) => `mattebox-player[ad]:not([ad=\"stitched\"]):not([scrubbing]) ${name}`),\n ...AD_ELEMENTS.map((name) => `mattebox-player:not([ad]) ${name}`),\n].join(',')}{display:none}`;\n\nfunction addStyle(): void {\n if (document.getElementById('mbx-ads-style') !== null) return;\n const node = document.createElement('style');\n node.id = 'mbx-ads-style';\n node.textContent = HIDDEN;\n document.head.append(node);\n}\n\n/** The add-on: pass it in `addons`. */\nexport function ads(options: AdsOptions = {}): PlayerAddon {\n return {\n name: 'ads',\n stages: () => [interstitials()],\n // Safari's own HLS plays interstitials itself and reports nothing.\n engine: true,\n attach(player) {\n addStyle();\n return controllerFor(player, options).attach();\n },\n };\n}\n\n/** The ads of `player`: its schedule, the ad that plays, skip and click. */\nexport function adsOf(player: PlayerHost): AdsApi {\n return controllerFor(player);\n}\n\nif (customElements.get(AD_INFO) === undefined) customElements.define(AD_INFO, MbxAdInfo);\nif (customElements.get(AD_SKIP_BUTTON) === undefined)\n customElements.define(AD_SKIP_BUTTON, MbxAdSkipButton);\nif (customElements.get(AD_LINK) === undefined) customElements.define(AD_LINK, MbxAdLink);\nif (customElements.get(AD_PROGRESS) === undefined)\n customElements.define(AD_PROGRESS, MbxAdProgress);\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'mbx-ad-info': MbxAdInfo;\n 'mbx-ad-skip-button': MbxAdSkipButton;\n 'mbx-ad-link': MbxAdLink;\n 'mbx-ad-progress': MbxAdProgress;\n }\n}\n"],"mappings":";;;;;;;;AAuCA,MAAa,UAAU;AACvB,MAAa,iBAAiB;AAC9B,MAAa,UAAU;AACvB,MAAa,cAAc;;;;;;;AAQ3B,MAAM,YAAY;CAChB;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACF;AACA,MAAM,cAAc;CAAC;CAAe;CAAsB;CAAe;AAAiB;AAC1F,MAAM,SAAS,GAAG,CAGhB,GAAG,UAAU,KAAK,SAAS,6DAA6D,MAAM,GAC9F,GAAG,YAAY,KAAK,SAAS,6BAA6B,MAAM,CAClE,CAAC,CAAC,KAAK,GAAG,EAAE;AAEZ,SAAS,WAAiB;CACxB,IAAI,SAAS,eAAe,eAAe,MAAM,MAAM;CACvD,MAAM,OAAO,SAAS,cAAc,OAAO;CAC3C,KAAK,KAAK;CACV,KAAK,cAAc;CACnB,SAAS,KAAK,OAAO,IAAI;AAC3B;;AAGA,SAAgB,IAAI,UAAsB,CAAC,GAAgB;CACzD,OAAO;EACL,MAAM;EACN,cAAc,CAAC,cAAc,CAAC;EAE9B,QAAQ;EACR,OAAO,QAAQ;GACb,SAAS;GACT,OAAO,cAAc,QAAQ,OAAO,CAAC,CAAC,OAAO;EAC/C;CACF;AACF;;AAGA,SAAgB,MAAM,QAA4B;CAChD,OAAO,cAAc,MAAM;AAC7B;AAEA,IAAI,eAAe,IAAA,aAAW,MAAM,KAAA,GAAW,eAAe,OAAO,SAAS,SAAS;AACvF,IAAI,eAAe,IAAA,oBAAkB,MAAM,KAAA,GACzC,eAAe,OAAO,gBAAgB,eAAe;AACvD,IAAI,eAAe,IAAA,aAAW,MAAM,KAAA,GAAW,eAAe,OAAO,SAAS,SAAS;AACvF,IAAI,eAAe,IAAA,iBAAe,MAAM,KAAA,GACtC,eAAe,OAAO,aAAa,aAAa"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
adLabel: string;
|
|
3
|
+
adCount: string;
|
|
4
|
+
adSkip: string;
|
|
5
|
+
adSkipIn: string;
|
|
6
|
+
adLearnMore: string;
|
|
7
|
+
adBreak: string;
|
|
8
|
+
adPromo: string;
|
|
9
|
+
adPromoCount: string;
|
|
10
|
+
adSkipPromo: string;
|
|
11
|
+
};
|
|
12
|
+
export default _default;
|
|
13
|
+
//# sourceMappingURL=ar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ar.d.ts","sourceRoot":"","sources":["../../src/locales/ar.ts"],"names":[],"mappings":";;;;;;;;;;;AAMA,wBAUwB"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// src/locales/ar.ts
|
|
2
|
+
var ar_default = {
|
|
3
|
+
adLabel: "إعلان",
|
|
4
|
+
adCount: "إعلان {index} من {total}",
|
|
5
|
+
adSkip: "تخطي الإعلان",
|
|
6
|
+
adSkipIn: "تخطٍّ بعد {seconds}",
|
|
7
|
+
adLearnMore: "اعرف المزيد",
|
|
8
|
+
adBreak: "فاصل إعلاني، {seconds} ثانية",
|
|
9
|
+
adPromo: "ترويج",
|
|
10
|
+
adPromoCount: "ترويج {index} من {total}",
|
|
11
|
+
adSkipPromo: "تخطي الترويج"
|
|
12
|
+
};
|
|
13
|
+
export { ar_default as default };
|
|
14
|
+
|
|
15
|
+
//# sourceMappingURL=ar.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ar.js","names":[],"sources":["../../src/locales/ar.ts"],"sourcesContent":["/**\n * Arabic words of the ad elements, for `MatteboxPlayerElement.addLocale('ar', …)`.\n * Machine-drafted, not yet reviewed by a native speaker.\n */\nimport type { AdsMessages } from '../messages.js';\n\nexport default {\n adLabel: 'إعلان',\n adCount: 'إعلان {index} من {total}',\n adSkip: 'تخطي الإعلان',\n adSkipIn: 'تخطٍّ بعد {seconds}',\n adLearnMore: 'اعرف المزيد',\n adBreak: 'فاصل إعلاني، {seconds} ثانية',\n adPromo: 'ترويج',\n adPromoCount: 'ترويج {index} من {total}',\n adSkipPromo: 'تخطي الترويج',\n} satisfies AdsMessages;\n"],"mappings":";AAMA,IAAA,aAAe;CACb,SAAS;CACT,SAAS;CACT,QAAQ;CACR,UAAU;CACV,aAAa;CACb,SAAS;CACT,SAAS;CACT,cAAc;CACd,aAAa;AACf"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
adLabel: string;
|
|
3
|
+
adCount: string;
|
|
4
|
+
adSkip: string;
|
|
5
|
+
adSkipIn: string;
|
|
6
|
+
adLearnMore: string;
|
|
7
|
+
adBreak: string;
|
|
8
|
+
adPromo: string;
|
|
9
|
+
adPromoCount: string;
|
|
10
|
+
adSkipPromo: string;
|
|
11
|
+
};
|
|
12
|
+
export default _default;
|
|
13
|
+
//# sourceMappingURL=ca.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ca.d.ts","sourceRoot":"","sources":["../../src/locales/ca.ts"],"names":[],"mappings":";;;;;;;;;;;AAMA,wBAUwB"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// src/locales/ca.ts
|
|
2
|
+
var ca_default = {
|
|
3
|
+
adLabel: "Anunci",
|
|
4
|
+
adCount: "Anunci {index} de {total}",
|
|
5
|
+
adSkip: "Omet l'anunci",
|
|
6
|
+
adSkipIn: "Omet en {seconds}",
|
|
7
|
+
adLearnMore: "Més informació",
|
|
8
|
+
adBreak: "Pausa publicitària, {seconds} segons",
|
|
9
|
+
adPromo: "Promoció",
|
|
10
|
+
adPromoCount: "Promoció {index} de {total}",
|
|
11
|
+
adSkipPromo: "Omet la promoció"
|
|
12
|
+
};
|
|
13
|
+
export { ca_default as default };
|
|
14
|
+
|
|
15
|
+
//# sourceMappingURL=ca.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ca.js","names":[],"sources":["../../src/locales/ca.ts"],"sourcesContent":["/**\n * Catalan words of the ad elements, for `MatteboxPlayerElement.addLocale('ca', …)`.\n * Machine-drafted, not yet reviewed by a native speaker.\n */\nimport type { AdsMessages } from '../messages.js';\n\nexport default {\n adLabel: 'Anunci',\n adCount: 'Anunci {index} de {total}',\n adSkip: \"Omet l'anunci\",\n adSkipIn: 'Omet en {seconds}',\n adLearnMore: 'Més informació',\n adBreak: 'Pausa publicitària, {seconds} segons',\n adPromo: 'Promoció',\n adPromoCount: 'Promoció {index} de {total}',\n adSkipPromo: 'Omet la promoció',\n} satisfies AdsMessages;\n"],"mappings":";AAMA,IAAA,aAAe;CACb,SAAS;CACT,SAAS;CACT,QAAQ;CACR,UAAU;CACV,aAAa;CACb,SAAS;CACT,SAAS;CACT,cAAc;CACd,aAAa;AACf"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
adLabel: string;
|
|
3
|
+
adCount: string;
|
|
4
|
+
adSkip: string;
|
|
5
|
+
adSkipIn: string;
|
|
6
|
+
adLearnMore: string;
|
|
7
|
+
adBreak: string;
|
|
8
|
+
adPromo: string;
|
|
9
|
+
adPromoCount: string;
|
|
10
|
+
adSkipPromo: string;
|
|
11
|
+
};
|
|
12
|
+
export default _default;
|
|
13
|
+
//# sourceMappingURL=de.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"de.d.ts","sourceRoot":"","sources":["../../src/locales/de.ts"],"names":[],"mappings":";;;;;;;;;;;AAMA,wBAUwB"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// src/locales/de.ts
|
|
2
|
+
var de_default = {
|
|
3
|
+
adLabel: "Werbung",
|
|
4
|
+
adCount: "Werbung {index} von {total}",
|
|
5
|
+
adSkip: "Werbung überspringen",
|
|
6
|
+
adSkipIn: "Überspringen in {seconds}",
|
|
7
|
+
adLearnMore: "Mehr erfahren",
|
|
8
|
+
adBreak: "Werbepause, {seconds} Sekunden",
|
|
9
|
+
adPromo: "Promo",
|
|
10
|
+
adPromoCount: "Promo {index} von {total}",
|
|
11
|
+
adSkipPromo: "Promo überspringen"
|
|
12
|
+
};
|
|
13
|
+
export { de_default as default };
|
|
14
|
+
|
|
15
|
+
//# sourceMappingURL=de.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"de.js","names":[],"sources":["../../src/locales/de.ts"],"sourcesContent":["/**\n * German words of the ad elements, for `MatteboxPlayerElement.addLocale('de', …)`.\n * Machine-drafted, not yet reviewed by a native speaker.\n */\nimport type { AdsMessages } from '../messages.js';\n\nexport default {\n adLabel: 'Werbung',\n adCount: 'Werbung {index} von {total}',\n adSkip: 'Werbung überspringen',\n adSkipIn: 'Überspringen in {seconds}',\n adLearnMore: 'Mehr erfahren',\n adBreak: 'Werbepause, {seconds} Sekunden',\n adPromo: 'Promo',\n adPromoCount: 'Promo {index} von {total}',\n adSkipPromo: 'Promo überspringen',\n} satisfies AdsMessages;\n"],"mappings":";AAMA,IAAA,aAAe;CACb,SAAS;CACT,SAAS;CACT,QAAQ;CACR,UAAU;CACV,aAAa;CACb,SAAS;CACT,SAAS;CACT,cAAc;CACd,aAAa;AACf"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
adLabel: string;
|
|
3
|
+
adCount: string;
|
|
4
|
+
adSkip: string;
|
|
5
|
+
adSkipIn: string;
|
|
6
|
+
adLearnMore: string;
|
|
7
|
+
adBreak: string;
|
|
8
|
+
adPromo: string;
|
|
9
|
+
adPromoCount: string;
|
|
10
|
+
adSkipPromo: string;
|
|
11
|
+
};
|
|
12
|
+
export default _default;
|
|
13
|
+
//# sourceMappingURL=es.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"es.d.ts","sourceRoot":"","sources":["../../src/locales/es.ts"],"names":[],"mappings":";;;;;;;;;;;AAMA,wBAUwB"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// src/locales/es.ts
|
|
2
|
+
var es_default = {
|
|
3
|
+
adLabel: "Anuncio",
|
|
4
|
+
adCount: "Anuncio {index} de {total}",
|
|
5
|
+
adSkip: "Omitir anuncio",
|
|
6
|
+
adSkipIn: "Omitir en {seconds}",
|
|
7
|
+
adLearnMore: "Más información",
|
|
8
|
+
adBreak: "Pausa publicitaria, {seconds} segundos",
|
|
9
|
+
adPromo: "Promoción",
|
|
10
|
+
adPromoCount: "Promoción {index} de {total}",
|
|
11
|
+
adSkipPromo: "Omitir promoción"
|
|
12
|
+
};
|
|
13
|
+
export { es_default as default };
|
|
14
|
+
|
|
15
|
+
//# sourceMappingURL=es.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"es.js","names":[],"sources":["../../src/locales/es.ts"],"sourcesContent":["/**\n * Spanish words of the ad elements, for `MatteboxPlayerElement.addLocale('es', …)`.\n * Machine-drafted, not yet reviewed by a native speaker.\n */\nimport type { AdsMessages } from '../messages.js';\n\nexport default {\n adLabel: 'Anuncio',\n adCount: 'Anuncio {index} de {total}',\n adSkip: 'Omitir anuncio',\n adSkipIn: 'Omitir en {seconds}',\n adLearnMore: 'Más información',\n adBreak: 'Pausa publicitaria, {seconds} segundos',\n adPromo: 'Promoción',\n adPromoCount: 'Promoción {index} de {total}',\n adSkipPromo: 'Omitir promoción',\n} satisfies AdsMessages;\n"],"mappings":";AAMA,IAAA,aAAe;CACb,SAAS;CACT,SAAS;CACT,QAAQ;CACR,UAAU;CACV,aAAa;CACb,SAAS;CACT,SAAS;CACT,cAAc;CACd,aAAa;AACf"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
adLabel: string;
|
|
3
|
+
adCount: string;
|
|
4
|
+
adSkip: string;
|
|
5
|
+
adSkipIn: string;
|
|
6
|
+
adLearnMore: string;
|
|
7
|
+
adBreak: string;
|
|
8
|
+
adPromo: string;
|
|
9
|
+
adPromoCount: string;
|
|
10
|
+
adSkipPromo: string;
|
|
11
|
+
};
|
|
12
|
+
export default _default;
|
|
13
|
+
//# sourceMappingURL=fr.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fr.d.ts","sourceRoot":"","sources":["../../src/locales/fr.ts"],"names":[],"mappings":";;;;;;;;;;;AAMA,wBAUwB"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// src/locales/fr.ts
|
|
2
|
+
var fr_default = {
|
|
3
|
+
adLabel: "Publicité",
|
|
4
|
+
adCount: "Publicité {index} sur {total}",
|
|
5
|
+
adSkip: "Passer la publicité",
|
|
6
|
+
adSkipIn: "Passer dans {seconds}",
|
|
7
|
+
adLearnMore: "En savoir plus",
|
|
8
|
+
adBreak: "Pause publicitaire, {seconds} secondes",
|
|
9
|
+
adPromo: "Promo",
|
|
10
|
+
adPromoCount: "Promo {index} sur {total}",
|
|
11
|
+
adSkipPromo: "Passer la promo"
|
|
12
|
+
};
|
|
13
|
+
export { fr_default as default };
|
|
14
|
+
|
|
15
|
+
//# sourceMappingURL=fr.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fr.js","names":[],"sources":["../../src/locales/fr.ts"],"sourcesContent":["/**\n * French words of the ad elements, for `MatteboxPlayerElement.addLocale('fr', …)`.\n * Machine-drafted, not yet reviewed by a native speaker.\n */\nimport type { AdsMessages } from '../messages.js';\n\nexport default {\n adLabel: 'Publicité',\n adCount: 'Publicité {index} sur {total}',\n adSkip: 'Passer la publicité',\n adSkipIn: 'Passer dans {seconds}',\n adLearnMore: 'En savoir plus',\n adBreak: 'Pause publicitaire, {seconds} secondes',\n adPromo: 'Promo',\n adPromoCount: 'Promo {index} sur {total}',\n adSkipPromo: 'Passer la promo',\n} satisfies AdsMessages;\n"],"mappings":";AAMA,IAAA,aAAe;CACb,SAAS;CACT,SAAS;CACT,QAAQ;CACR,UAAU;CACV,aAAa;CACb,SAAS;CACT,SAAS;CACT,cAAc;CACd,aAAa;AACf"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
adLabel: string;
|
|
3
|
+
adCount: string;
|
|
4
|
+
adSkip: string;
|
|
5
|
+
adSkipIn: string;
|
|
6
|
+
adLearnMore: string;
|
|
7
|
+
adBreak: string;
|
|
8
|
+
adPromo: string;
|
|
9
|
+
adPromoCount: string;
|
|
10
|
+
adSkipPromo: string;
|
|
11
|
+
};
|
|
12
|
+
export default _default;
|
|
13
|
+
//# sourceMappingURL=hi.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hi.d.ts","sourceRoot":"","sources":["../../src/locales/hi.ts"],"names":[],"mappings":";;;;;;;;;;;AAMA,wBAUwB"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// src/locales/hi.ts
|
|
2
|
+
var hi_default = {
|
|
3
|
+
adLabel: "विज्ञापन",
|
|
4
|
+
adCount: "विज्ञापन {index} / {total}",
|
|
5
|
+
adSkip: "विज्ञापन छोड़ें",
|
|
6
|
+
adSkipIn: "{seconds} में छोड़ें",
|
|
7
|
+
adLearnMore: "और जानें",
|
|
8
|
+
adBreak: "विज्ञापन ब्रेक, {seconds} सेकंड",
|
|
9
|
+
adPromo: "प्रोमो",
|
|
10
|
+
adPromoCount: "प्रोमो {index} / {total}",
|
|
11
|
+
adSkipPromo: "प्रोमो छोड़ें"
|
|
12
|
+
};
|
|
13
|
+
export { hi_default as default };
|
|
14
|
+
|
|
15
|
+
//# sourceMappingURL=hi.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hi.js","names":[],"sources":["../../src/locales/hi.ts"],"sourcesContent":["/**\n * Hindi words of the ad elements, for `MatteboxPlayerElement.addLocale('hi', …)`.\n * Machine-drafted, not yet reviewed by a native speaker.\n */\nimport type { AdsMessages } from '../messages.js';\n\nexport default {\n adLabel: 'विज्ञापन',\n adCount: 'विज्ञापन {index} / {total}',\n adSkip: 'विज्ञापन छोड़ें',\n adSkipIn: '{seconds} में छोड़ें',\n adLearnMore: 'और जानें',\n adBreak: 'विज्ञापन ब्रेक, {seconds} सेकंड',\n adPromo: 'प्रोमो',\n adPromoCount: 'प्रोमो {index} / {total}',\n adSkipPromo: 'प्रोमो छोड़ें',\n} satisfies AdsMessages;\n"],"mappings":";AAMA,IAAA,aAAe;CACb,SAAS;CACT,SAAS;CACT,QAAQ;CACR,UAAU;CACV,aAAa;CACb,SAAS;CACT,SAAS;CACT,cAAc;CACd,aAAa;AACf"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
adLabel: string;
|
|
3
|
+
adCount: string;
|
|
4
|
+
adSkip: string;
|
|
5
|
+
adSkipIn: string;
|
|
6
|
+
adLearnMore: string;
|
|
7
|
+
adBreak: string;
|
|
8
|
+
adPromo: string;
|
|
9
|
+
adPromoCount: string;
|
|
10
|
+
adSkipPromo: string;
|
|
11
|
+
};
|
|
12
|
+
export default _default;
|
|
13
|
+
//# sourceMappingURL=it.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"it.d.ts","sourceRoot":"","sources":["../../src/locales/it.ts"],"names":[],"mappings":";;;;;;;;;;;AAMA,wBAUwB"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// src/locales/it.ts
|
|
2
|
+
var it_default = {
|
|
3
|
+
adLabel: "Annuncio",
|
|
4
|
+
adCount: "Annuncio {index} di {total}",
|
|
5
|
+
adSkip: "Salta annuncio",
|
|
6
|
+
adSkipIn: "Salta tra {seconds}",
|
|
7
|
+
adLearnMore: "Scopri di più",
|
|
8
|
+
adBreak: "Pausa pubblicitaria, {seconds} secondi",
|
|
9
|
+
adPromo: "Promo",
|
|
10
|
+
adPromoCount: "Promo {index} di {total}",
|
|
11
|
+
adSkipPromo: "Salta promo"
|
|
12
|
+
};
|
|
13
|
+
export { it_default as default };
|
|
14
|
+
|
|
15
|
+
//# sourceMappingURL=it.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"it.js","names":[],"sources":["../../src/locales/it.ts"],"sourcesContent":["/**\n * Italian words of the ad elements, for `MatteboxPlayerElement.addLocale('it', …)`.\n * Machine-drafted, not yet reviewed by a native speaker.\n */\nimport type { AdsMessages } from '../messages.js';\n\nexport default {\n adLabel: 'Annuncio',\n adCount: 'Annuncio {index} di {total}',\n adSkip: 'Salta annuncio',\n adSkipIn: 'Salta tra {seconds}',\n adLearnMore: 'Scopri di più',\n adBreak: 'Pausa pubblicitaria, {seconds} secondi',\n adPromo: 'Promo',\n adPromoCount: 'Promo {index} di {total}',\n adSkipPromo: 'Salta promo',\n} satisfies AdsMessages;\n"],"mappings":";AAMA,IAAA,aAAe;CACb,SAAS;CACT,SAAS;CACT,QAAQ;CACR,UAAU;CACV,aAAa;CACb,SAAS;CACT,SAAS;CACT,cAAc;CACd,aAAa;AACf"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
adLabel: string;
|
|
3
|
+
adCount: string;
|
|
4
|
+
adSkip: string;
|
|
5
|
+
adSkipIn: string;
|
|
6
|
+
adLearnMore: string;
|
|
7
|
+
adBreak: string;
|
|
8
|
+
adPromo: string;
|
|
9
|
+
adPromoCount: string;
|
|
10
|
+
adSkipPromo: string;
|
|
11
|
+
};
|
|
12
|
+
export default _default;
|
|
13
|
+
//# sourceMappingURL=ja.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ja.d.ts","sourceRoot":"","sources":["../../src/locales/ja.ts"],"names":[],"mappings":";;;;;;;;;;;AAMA,wBAUwB"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// src/locales/ja.ts
|
|
2
|
+
var ja_default = {
|
|
3
|
+
adLabel: "広告",
|
|
4
|
+
adCount: "広告 {index}/{total}",
|
|
5
|
+
adSkip: "広告をスキップ",
|
|
6
|
+
adSkipIn: "{seconds} 秒後にスキップ",
|
|
7
|
+
adLearnMore: "詳細",
|
|
8
|
+
adBreak: "広告、{seconds} 秒",
|
|
9
|
+
adPromo: "プロモーション",
|
|
10
|
+
adPromoCount: "プロモーション {index}/{total}",
|
|
11
|
+
adSkipPromo: "プロモーションをスキップ"
|
|
12
|
+
};
|
|
13
|
+
export { ja_default as default };
|
|
14
|
+
|
|
15
|
+
//# sourceMappingURL=ja.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ja.js","names":[],"sources":["../../src/locales/ja.ts"],"sourcesContent":["/**\n * Japanese words of the ad elements, for `MatteboxPlayerElement.addLocale('ja', …)`.\n * Machine-drafted, not yet reviewed by a native speaker.\n */\nimport type { AdsMessages } from '../messages.js';\n\nexport default {\n adLabel: '広告',\n adCount: '広告 {index}/{total}',\n adSkip: '広告をスキップ',\n adSkipIn: '{seconds} 秒後にスキップ',\n adLearnMore: '詳細',\n adBreak: '広告、{seconds} 秒',\n adPromo: 'プロモーション',\n adPromoCount: 'プロモーション {index}/{total}',\n adSkipPromo: 'プロモーションをスキップ',\n} satisfies AdsMessages;\n"],"mappings":";AAMA,IAAA,aAAe;CACb,SAAS;CACT,SAAS;CACT,QAAQ;CACR,UAAU;CACV,aAAa;CACb,SAAS;CACT,SAAS;CACT,cAAc;CACd,aAAa;AACf"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
adLabel: string;
|
|
3
|
+
adCount: string;
|
|
4
|
+
adSkip: string;
|
|
5
|
+
adSkipIn: string;
|
|
6
|
+
adLearnMore: string;
|
|
7
|
+
adBreak: string;
|
|
8
|
+
adPromo: string;
|
|
9
|
+
adPromoCount: string;
|
|
10
|
+
adSkipPromo: string;
|
|
11
|
+
};
|
|
12
|
+
export default _default;
|
|
13
|
+
//# sourceMappingURL=ko.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ko.d.ts","sourceRoot":"","sources":["../../src/locales/ko.ts"],"names":[],"mappings":";;;;;;;;;;;AAMA,wBAUwB"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// src/locales/ko.ts
|
|
2
|
+
var ko_default = {
|
|
3
|
+
adLabel: "광고",
|
|
4
|
+
adCount: "광고 {index}/{total}",
|
|
5
|
+
adSkip: "광고 건너뛰기",
|
|
6
|
+
adSkipIn: "{seconds}초 후 건너뛰기",
|
|
7
|
+
adLearnMore: "자세히 알아보기",
|
|
8
|
+
adBreak: "광고 시간, {seconds}초",
|
|
9
|
+
adPromo: "프로모션",
|
|
10
|
+
adPromoCount: "프로모션 {index}/{total}",
|
|
11
|
+
adSkipPromo: "프로모션 건너뛰기"
|
|
12
|
+
};
|
|
13
|
+
export { ko_default as default };
|
|
14
|
+
|
|
15
|
+
//# sourceMappingURL=ko.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ko.js","names":[],"sources":["../../src/locales/ko.ts"],"sourcesContent":["/**\n * Korean words of the ad elements, for `MatteboxPlayerElement.addLocale('ko', …)`.\n * Machine-drafted, not yet reviewed by a native speaker.\n */\nimport type { AdsMessages } from '../messages.js';\n\nexport default {\n adLabel: '광고',\n adCount: '광고 {index}/{total}',\n adSkip: '광고 건너뛰기',\n adSkipIn: '{seconds}초 후 건너뛰기',\n adLearnMore: '자세히 알아보기',\n adBreak: '광고 시간, {seconds}초',\n adPromo: '프로모션',\n adPromoCount: '프로모션 {index}/{total}',\n adSkipPromo: '프로모션 건너뛰기',\n} satisfies AdsMessages;\n"],"mappings":";AAMA,IAAA,aAAe;CACb,SAAS;CACT,SAAS;CACT,QAAQ;CACR,UAAU;CACV,aAAa;CACb,SAAS;CACT,SAAS;CACT,cAAc;CACd,aAAa;AACf"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
adLabel: string;
|
|
3
|
+
adCount: string;
|
|
4
|
+
adSkip: string;
|
|
5
|
+
adSkipIn: string;
|
|
6
|
+
adLearnMore: string;
|
|
7
|
+
adBreak: string;
|
|
8
|
+
adPromo: string;
|
|
9
|
+
adPromoCount: string;
|
|
10
|
+
adSkipPromo: string;
|
|
11
|
+
};
|
|
12
|
+
export default _default;
|
|
13
|
+
//# sourceMappingURL=pt.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pt.d.ts","sourceRoot":"","sources":["../../src/locales/pt.ts"],"names":[],"mappings":";;;;;;;;;;;AAMA,wBAUwB"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// src/locales/pt.ts
|
|
2
|
+
var pt_default = {
|
|
3
|
+
adLabel: "Anúncio",
|
|
4
|
+
adCount: "Anúncio {index} de {total}",
|
|
5
|
+
adSkip: "Pular anúncio",
|
|
6
|
+
adSkipIn: "Pular em {seconds}",
|
|
7
|
+
adLearnMore: "Saiba mais",
|
|
8
|
+
adBreak: "Intervalo comercial, {seconds} segundos",
|
|
9
|
+
adPromo: "Promoção",
|
|
10
|
+
adPromoCount: "Promoção {index} de {total}",
|
|
11
|
+
adSkipPromo: "Pular promoção"
|
|
12
|
+
};
|
|
13
|
+
export { pt_default as default };
|
|
14
|
+
|
|
15
|
+
//# sourceMappingURL=pt.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pt.js","names":[],"sources":["../../src/locales/pt.ts"],"sourcesContent":["/**\n * Portuguese words of the ad elements, for `MatteboxPlayerElement.addLocale('pt', …)`.\n * Machine-drafted, not yet reviewed by a native speaker.\n */\nimport type { AdsMessages } from '../messages.js';\n\nexport default {\n adLabel: 'Anúncio',\n adCount: 'Anúncio {index} de {total}',\n adSkip: 'Pular anúncio',\n adSkipIn: 'Pular em {seconds}',\n adLearnMore: 'Saiba mais',\n adBreak: 'Intervalo comercial, {seconds} segundos',\n adPromo: 'Promoção',\n adPromoCount: 'Promoção {index} de {total}',\n adSkipPromo: 'Pular promoção',\n} satisfies AdsMessages;\n"],"mappings":";AAMA,IAAA,aAAe;CACb,SAAS;CACT,SAAS;CACT,QAAQ;CACR,UAAU;CACV,aAAa;CACb,SAAS;CACT,SAAS;CACT,cAAc;CACd,aAAa;AACf"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
adLabel: string;
|
|
3
|
+
adCount: string;
|
|
4
|
+
adSkip: string;
|
|
5
|
+
adSkipIn: string;
|
|
6
|
+
adLearnMore: string;
|
|
7
|
+
adBreak: string;
|
|
8
|
+
adPromo: string;
|
|
9
|
+
adPromoCount: string;
|
|
10
|
+
adSkipPromo: string;
|
|
11
|
+
};
|
|
12
|
+
export default _default;
|
|
13
|
+
//# sourceMappingURL=zh.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"zh.d.ts","sourceRoot":"","sources":["../../src/locales/zh.ts"],"names":[],"mappings":";;;;;;;;;;;AAMA,wBAUwB"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// src/locales/zh.ts
|
|
2
|
+
var zh_default = {
|
|
3
|
+
adLabel: "广告",
|
|
4
|
+
adCount: "广告 {index}/{total}",
|
|
5
|
+
adSkip: "跳过广告",
|
|
6
|
+
adSkipIn: "{seconds} 秒后可跳过",
|
|
7
|
+
adLearnMore: "了解详情",
|
|
8
|
+
adBreak: "广告时间,{seconds} 秒",
|
|
9
|
+
adPromo: "推广",
|
|
10
|
+
adPromoCount: "推广 {index}/{total}",
|
|
11
|
+
adSkipPromo: "跳过推广"
|
|
12
|
+
};
|
|
13
|
+
export { zh_default as default };
|
|
14
|
+
|
|
15
|
+
//# sourceMappingURL=zh.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"zh.js","names":[],"sources":["../../src/locales/zh.ts"],"sourcesContent":["/**\n * Chinese words of the ad elements, for `MatteboxPlayerElement.addLocale('zh', …)`.\n * Machine-drafted, not yet reviewed by a native speaker.\n */\nimport type { AdsMessages } from '../messages.js';\n\nexport default {\n adLabel: '广告',\n adCount: '广告 {index}/{total}',\n adSkip: '跳过广告',\n adSkipIn: '{seconds} 秒后可跳过',\n adLearnMore: '了解详情',\n adBreak: '广告时间,{seconds} 秒',\n adPromo: '推广',\n adPromoCount: '推广 {index}/{total}',\n adSkipPromo: '跳过推广',\n} satisfies AdsMessages;\n"],"mappings":";AAMA,IAAA,aAAe;CACb,SAAS;CACT,SAAS;CACT,QAAQ;CACR,UAAU;CACV,aAAa;CACb,SAAS;CACT,SAAS;CACT,cAAc;CACd,aAAa;AACf"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The words of the ad elements, by id, merged into the player's `Messages`
|
|
3
|
+
* so one `addLocale` call carries them. Each id lists its English text,
|
|
4
|
+
* which the elements carry themselves. Type only.
|
|
5
|
+
*/
|
|
6
|
+
export interface AdsMessages {
|
|
7
|
+
/** "Ad": the label of a break with one ad. */
|
|
8
|
+
readonly adLabel: string;
|
|
9
|
+
/** "Ad {index} of {total}": the label of a pod. */
|
|
10
|
+
readonly adCount: string;
|
|
11
|
+
/** "Skip ad". */
|
|
12
|
+
readonly adSkip: string;
|
|
13
|
+
/** "Skip in {seconds}": the skip button before the ad may be skipped. */
|
|
14
|
+
readonly adSkipIn: string;
|
|
15
|
+
/** "Learn more": the link to the advertiser's page. */
|
|
16
|
+
readonly adLearnMore: string;
|
|
17
|
+
/** "Ad break, {seconds} seconds": said to a screen reader when a break starts. */
|
|
18
|
+
readonly adBreak: string;
|
|
19
|
+
/** "Promo": the label of a promotion. */
|
|
20
|
+
readonly adPromo: string;
|
|
21
|
+
/** "Promo {index} of {total}". */
|
|
22
|
+
readonly adPromoCount: string;
|
|
23
|
+
/** "Skip promo". */
|
|
24
|
+
readonly adSkipPromo: string;
|
|
25
|
+
}
|
|
26
|
+
declare module '@mattebox/player' {
|
|
27
|
+
interface Messages extends AdsMessages {
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
//# sourceMappingURL=messages.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"messages.d.ts","sourceRoot":"","sources":["../src/messages.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,WAAW,WAAW;IAC1B,8CAA8C;IAC9C,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,mDAAmD;IACnD,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,iBAAiB;IACjB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,yEAAyE;IACzE,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,uDAAuD;IACvD,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,kFAAkF;IAClF,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,yCAAyC;IACzC,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,kCAAkC;IAClC,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IAC9B,oBAAoB;IACpB,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;CAC9B;AAED,OAAO,QAAQ,kBAAkB,CAAC;IAChC,UAAU,QAAS,SAAQ,WAAW;KAAG;CAC1C"}
|
package/dist/shared.d.ts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/** A `<style>` with the ad elements' style and the element's own placement. */
|
|
2
|
+
export declare function style(placement: string): HTMLStyleElement;
|
|
3
|
+
/** `text` with each `{name}` replaced by its value. */
|
|
4
|
+
export declare function fill(text: string, values: Readonly<Record<string, string | number>>): string;
|
|
5
|
+
/** `m:ss`, the time an ad counts down in. */
|
|
6
|
+
export declare function clock(seconds: number): string;
|
|
7
|
+
//# sourceMappingURL=shared.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../src/shared.ts"],"names":[],"mappings":"AAOA,+EAA+E;AAC/E,wBAAgB,KAAK,CAAC,SAAS,EAAE,MAAM,GAAG,gBAAgB,CAIzD;AAED,uDAAuD;AACvD,wBAAgB,IAAI,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,CAAC,GAAG,MAAM,CAE5F;AAED,6CAA6C;AAC7C,wBAAgB,KAAK,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAG7C"}
|