@hopeplayer/core 1.6.0 → 1.7.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 (117) hide show
  1. package/dist/HopePlayerElement.d.ts +23 -0
  2. package/dist/HopePlayerElement.d.ts.map +1 -1
  3. package/dist/chunks/{adTriggers-BIAWe8o4.js → adTriggers-DVqgm92F.js} +94 -93
  4. package/dist/chunks/{adTriggers-BIAWe8o4.js.map → adTriggers-DVqgm92F.js.map} +1 -1
  5. package/dist/chunks/{ads-DlpHPpR9.js → ads-eSKyiH1o.js} +2 -2
  6. package/dist/chunks/{ads-DlpHPpR9.js.map → ads-eSKyiH1o.js.map} +1 -1
  7. package/dist/chunks/audioDescription-cpprKeB-.js +146 -0
  8. package/dist/chunks/audioDescription-cpprKeB-.js.map +1 -0
  9. package/dist/chunks/{cast-vHyi7oV_.js → cast-DEowHmqA.js} +29 -28
  10. package/dist/chunks/{cast-vHyi7oV_.js.map → cast-DEowHmqA.js.map} +1 -1
  11. package/dist/chunks/{docPip-wybMVP1H.js → docPip-Bh6BWPk-.js} +30 -20
  12. package/dist/chunks/docPip-Bh6BWPk-.js.map +1 -0
  13. package/dist/chunks/heatmap-Bz_EMQFk.js +117 -0
  14. package/dist/chunks/heatmap-Bz_EMQFk.js.map +1 -0
  15. package/dist/chunks/{history-CwqLXiZi.js → history-ZSdDDsRF.js} +35 -34
  16. package/dist/chunks/{history-CwqLXiZi.js.map → history-ZSdDDsRF.js.map} +1 -1
  17. package/dist/chunks/interactive-ClJC5Vyo.js +213 -0
  18. package/dist/chunks/interactive-ClJC5Vyo.js.map +1 -0
  19. package/dist/chunks/{markers-L69W3kj6.js → markers-D32rI-x-.js} +2 -2
  20. package/dist/chunks/{markers-L69W3kj6.js.map → markers-D32rI-x-.js.map} +1 -1
  21. package/dist/chunks/multiview-CL1WfJKt.js +295 -0
  22. package/dist/chunks/multiview-CL1WfJKt.js.map +1 -0
  23. package/dist/chunks/{pauseAd-BQQe21X4.js → pauseAd-DF7KGwUs.js} +32 -31
  24. package/dist/chunks/{pauseAd-BQQe21X4.js.map → pauseAd-DF7KGwUs.js.map} +1 -1
  25. package/dist/chunks/{player-D2_HRzot.js → player-B7mYS--8.js} +754 -682
  26. package/dist/chunks/player-B7mYS--8.js.map +1 -0
  27. package/dist/chunks/{playlist-CHfStNbQ.js → playlist-BkhIOfCy.js} +2 -2
  28. package/dist/chunks/{playlist-CHfStNbQ.js.map → playlist-BkhIOfCy.js.map} +1 -1
  29. package/dist/chunks/{pluginHost-cN2uGFeG.js → pluginHost-CXqkjNV1.js} +2 -2
  30. package/dist/chunks/{pluginHost-cN2uGFeG.js.map → pluginHost-CXqkjNV1.js.map} +1 -1
  31. package/dist/chunks/{redirectScreen-TIqLdvBY.js → redirectScreen-DgmjFVJH.js} +51 -39
  32. package/dist/chunks/redirectScreen-DgmjFVJH.js.map +1 -0
  33. package/dist/chunks/rewardedUnlock-BL97P5ht.js +265 -0
  34. package/dist/chunks/{rewardedUnlock-DUqYwXTr.js.map → rewardedUnlock-BL97P5ht.js.map} +1 -1
  35. package/dist/chunks/{segments-Ds-c1b5e.js → segments-CuQQEIAX.js} +2 -2
  36. package/dist/chunks/{segments-Ds-c1b5e.js.map → segments-CuQQEIAX.js.map} +1 -1
  37. package/dist/chunks/share-BdqQ8sGE.js +216 -0
  38. package/dist/chunks/share-BdqQ8sGE.js.map +1 -0
  39. package/dist/chunks/{skipSegments-ByNoF1qZ.js → skipSegments-BbepQ4Y6.js} +2 -2
  40. package/dist/chunks/{skipSegments-ByNoF1qZ.js.map → skipSegments-BbepQ4Y6.js.map} +1 -1
  41. package/dist/chunks/sponsorship-DoAZBbHE.js +241 -0
  42. package/dist/chunks/{sponsorship-BT21uwN5.js.map → sponsorship-DoAZBbHE.js.map} +1 -1
  43. package/dist/chunks/{spriteThumbnails-Cr9UmkM9.js → spriteThumbnails-BYg-DHx4.js} +2 -2
  44. package/dist/chunks/{spriteThumbnails-Cr9UmkM9.js.map → spriteThumbnails-BYg-DHx4.js.map} +1 -1
  45. package/dist/chunks/{story-CodA2dfn.js → story-DcBG6jUg.js} +2 -2
  46. package/dist/chunks/{story-CodA2dfn.js.map → story-DcBG6jUg.js.map} +1 -1
  47. package/dist/chunks/{transcript-LG7E9UYE.js → transcript-CHPQ6S6E.js} +33 -13
  48. package/dist/chunks/transcript-CHPQ6S6E.js.map +1 -0
  49. package/dist/controls/SeekBar.d.ts.map +1 -1
  50. package/dist/hls/SourceManager.d.ts +2 -0
  51. package/dist/hls/SourceManager.d.ts.map +1 -1
  52. package/dist/hope-player.js +3 -3
  53. package/dist/i18n/index.d.ts +9 -0
  54. package/dist/i18n/index.d.ts.map +1 -1
  55. package/dist/i18n/locales/en.d.ts +2 -2
  56. package/dist/i18n/locales/en.d.ts.map +1 -1
  57. package/dist/i18n/locales/tr.d.ts +2 -2
  58. package/dist/i18n/locales/tr.d.ts.map +1 -1
  59. package/dist/i18n/types.d.ts +27 -0
  60. package/dist/i18n/types.d.ts.map +1 -1
  61. package/dist/index.d.ts +1 -1
  62. package/dist/index.d.ts.map +1 -1
  63. package/dist/plugins/ad-triggers/index.d.ts.map +1 -1
  64. package/dist/plugins/audio-description/AudioDescription.d.ts +52 -0
  65. package/dist/plugins/audio-description/AudioDescription.d.ts.map +1 -0
  66. package/dist/plugins/audio-description/index.d.ts +6 -0
  67. package/dist/plugins/audio-description/index.d.ts.map +1 -0
  68. package/dist/plugins/audio-description/strings.d.ts +8 -0
  69. package/dist/plugins/audio-description/strings.d.ts.map +1 -0
  70. package/dist/plugins/cast/index.d.ts.map +1 -1
  71. package/dist/plugins/doc-pip/index.d.ts.map +1 -1
  72. package/dist/plugins/doc-pip/strings.d.ts +8 -0
  73. package/dist/plugins/doc-pip/strings.d.ts.map +1 -0
  74. package/dist/plugins/heatmap/Heatmap.d.ts +8 -0
  75. package/dist/plugins/heatmap/Heatmap.d.ts.map +1 -1
  76. package/dist/plugins/heatmap/index.d.ts.map +1 -1
  77. package/dist/plugins/heatmap/strings.d.ts +8 -0
  78. package/dist/plugins/heatmap/strings.d.ts.map +1 -0
  79. package/dist/plugins/history/index.d.ts.map +1 -1
  80. package/dist/plugins/interactive/index.d.ts.map +1 -1
  81. package/dist/plugins/interactive/strings.d.ts +8 -0
  82. package/dist/plugins/interactive/strings.d.ts.map +1 -0
  83. package/dist/plugins/multiview/Multiview.d.ts +92 -0
  84. package/dist/plugins/multiview/Multiview.d.ts.map +1 -0
  85. package/dist/plugins/multiview/index.d.ts +6 -0
  86. package/dist/plugins/multiview/index.d.ts.map +1 -0
  87. package/dist/plugins/multiview/strings.d.ts +8 -0
  88. package/dist/plugins/multiview/strings.d.ts.map +1 -0
  89. package/dist/plugins/pause-ad/index.d.ts.map +1 -1
  90. package/dist/plugins/redirect-screen/index.d.ts.map +1 -1
  91. package/dist/plugins/redirect-screen/strings.d.ts +8 -0
  92. package/dist/plugins/redirect-screen/strings.d.ts.map +1 -0
  93. package/dist/plugins/rewarded/index.d.ts.map +1 -1
  94. package/dist/plugins/share/Share.d.ts +45 -0
  95. package/dist/plugins/share/Share.d.ts.map +1 -0
  96. package/dist/plugins/share/index.d.ts +6 -0
  97. package/dist/plugins/share/index.d.ts.map +1 -0
  98. package/dist/plugins/share/strings.d.ts +8 -0
  99. package/dist/plugins/share/strings.d.ts.map +1 -0
  100. package/dist/plugins/skip-segments/index.d.ts.map +1 -1
  101. package/dist/plugins/sponsorship/index.d.ts.map +1 -1
  102. package/dist/plugins/transcript/index.d.ts.map +1 -1
  103. package/dist/plugins/transcript/strings.d.ts +8 -0
  104. package/dist/plugins/transcript/strings.d.ts.map +1 -0
  105. package/dist/types/index.d.ts +93 -0
  106. package/dist/types/index.d.ts.map +1 -1
  107. package/package.json +1 -1
  108. package/dist/chunks/docPip-wybMVP1H.js.map +0 -1
  109. package/dist/chunks/heatmap-Bb7neaYU.js +0 -92
  110. package/dist/chunks/heatmap-Bb7neaYU.js.map +0 -1
  111. package/dist/chunks/interactive-CgltIneu.js +0 -189
  112. package/dist/chunks/interactive-CgltIneu.js.map +0 -1
  113. package/dist/chunks/player-D2_HRzot.js.map +0 -1
  114. package/dist/chunks/redirectScreen-TIqLdvBY.js.map +0 -1
  115. package/dist/chunks/rewardedUnlock-DUqYwXTr.js +0 -264
  116. package/dist/chunks/sponsorship-BT21uwN5.js +0 -240
  117. package/dist/chunks/transcript-LG7E9UYE.js.map +0 -1
@@ -96,6 +96,12 @@ export declare class HopePlayerElement extends HTMLElement {
96
96
  private docPipOptions;
97
97
  private interactive;
98
98
  private interactiveKey;
99
+ private multiview;
100
+ private multiviewKey;
101
+ private share;
102
+ private shareKey;
103
+ private audioDescription;
104
+ private audioDescriptionKey;
99
105
  /** Eklentileri çalıştıran taraf — yalnızca bir eklenti kullanılınca indirilir (plugin-api/PluginHost). */
100
106
  private pluginHost;
101
107
  /** Seçenekler uygulanırken eklenti senkronu bitince çözülür (reklam tag dönüşümü bekler). */
@@ -104,6 +110,9 @@ export declare class HopePlayerElement extends HTMLElement {
104
110
  /** `player.use()` ile çalışırken eklenenler. */
105
111
  private readonly runtimePlugins;
106
112
  private offGlobalPlugins;
113
+ private localeLabels;
114
+ /** Eklenti metinleri yüklenince sözlük tamamlanır (eklentiler ana pakete metin taşımaz). */
115
+ private offLocaleStrings;
107
116
  private accessibility;
108
117
  private accessibilityKey;
109
118
  private playbackHistory;
@@ -234,6 +243,20 @@ export declare class HopePlayerElement extends HTMLElement {
234
243
  private initPlayback;
235
244
  /** Transkript paneli — ayar değişince yeniden kurulur. */
236
245
  private applyTranscript;
246
+ /** Paylaşım — ayar değişince yeniden kurulur. */
247
+ private applyShare;
248
+ /** Paylaşım panelini aç (`options.share` gerekir). */
249
+ openShare(): void;
250
+ /** Sesli betimleme — ayar değişince yeniden kurulur. */
251
+ private applyAudioDescription;
252
+ /** Sesli betimlemeyi aç / kapat (`options.audioDescription` gerekir). */
253
+ setAudioDescription(enabled: boolean): void;
254
+ /** Çoklu kamera — kamera listesi / ayar değişince yeniden kurulur. */
255
+ private applyMultiview;
256
+ /** Çoklu kamerada kamerayı değiştir (`options.multiview` gerekir). */
257
+ switchCamera(id: string): void;
258
+ /** Çoklu kamera görünümü: 'focus' (tek + küçükler) ya da 'grid' (bölünmüş). */
259
+ setMultiviewLayout(layout: 'focus' | 'grid'): void;
237
260
  /** Etkileşimli içerik — öğeler değişince yeniden kurulur (`onAnswer` fonksiyonu anahtara girmez). */
238
261
  private applyInteractive;
239
262
  /** Isı haritası — veri değişince yeniden çizilir. */
@@ -1 +1 @@
1
- {"version":3,"file":"HopePlayerElement.d.ts","sourceRoot":"","sources":["../src/HopePlayerElement.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAgC,iBAAiB,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAC/F,OAAO,KAAK,GAAG,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAuC,KAAK,kBAAkB,EAA+C,MAAM,qBAAqB,CAAC;AAyBhJ,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAuB5C,OAAO,KAAK,EAAE,UAAU,EAAe,oBAAoB,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAiCtG,+DAA+D;AAC/D,eAAO,MAAM,mBAAmB,QAAmB,CAAC;AAiCpD,gHAAgH;AAChH,qBAAa,iBAAkB,SAAQ,WAAW;IAC9C,MAAM,KAAK,kBAAkB,IAAI,MAAM,EAAE,CAExC;IAED,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAa;IAClC,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAiB;IAC3C,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAmB;IAC3C,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAiB;IAC3C,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAiB;IAC1C,OAAO,CAAC,QAAQ,CAAC,gBAAgB,CAAoB;IACrD,OAAO,CAAC,QAAQ,CAAC,eAAe,CAAkB;IAClD,4CAA4C;IAC5C,OA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E,MAAM,EAAE,IAAI,GAAE,QAAQ,GAAG,SAAoB,GAAG,IAAI;IAgBrE,gGAAgG;IAChG,aAAa,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI;IA0BhC,yIAAyI;IACzI,cAAc,IAAI,IAAI;IAMtB,aAAa,IAAI,IAAI;IAMrB,OAAO,CAAC,QAAQ,CAAC,aAAa,CAY5B;IAEF,OAAO,CAAC,QAAQ,CAAC,cAAc,CAK7B;IAEF,uIAAuI;IACvI,OAAO,CAAC,kBAAkB;IAW1B,OAAO,CAAC,UAAU;IAMlB,wGAAwG;YAC1F,cAAc;IAoC5B,yFAAyF;IACzF,OAAO,CAAC,cAAc;IAsDtB,8GAA8G;IAC9G,OAAO,CAAC,mBAAmB;IAU3B,wFAAwF;IACxF,OAAO,CAAC,iBAAiB;IAMzB,+GAA+G;IAC/G,OAAO,CAAC,eAAe;IAWvB,OAAO,CAAC,QAAQ,CAAC,gBAAgB,CAW/B;CACL"}
@@ -1,11 +1,12 @@
1
- var x = Object.defineProperty;
2
- var L = (l, e, t) => e in l ? x(l, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : l[e] = t;
3
- var c = (l, e, t) => L(l, typeof e != "symbol" ? e + "" : e, t);
4
- import { f as b } from "./trackingPixel-D2wxdCEz.js";
5
- import { l as T } from "./gpt-CGXHTG_H.js";
6
- const C = 5e3, F = 8e3, P = 30, U = ["none", "full", "center", "top", "bottom", "top-left", "top-right", "bottom-left", "bottom-right"], N = ["time", "interval", "percent", "fullscreen", "fullscreenExit", "start", "pause", "resume", "ended"], R = 1.5;
7
- let M = 0;
8
- function D(l) {
1
+ var P = Object.defineProperty;
2
+ var L = (l, e, t) => e in l ? P(l, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : l[e] = t;
3
+ var d = (l, e, t) => L(l, typeof e != "symbol" ? e + "" : e, t);
4
+ import { a as T } from "./plugin-style-CPJELe-i.js";
5
+ import { f as E } from "./trackingPixel-D2wxdCEz.js";
6
+ import { l as C } from "./gpt-CGXHTG_H.js";
7
+ const F = ".hp-adtrigger{position:absolute;top:0;right:0;bottom:0;left:0;z-index:26;display:none;box-sizing:border-box;padding:12px;justify-content:center;align-items:center;pointer-events:none}.hp-adtrigger[data-open]{display:flex;animation:hp-adtrigger-in .3s ease-out}.hp-adtrigger[data-backdrop]{background:#0000009e;pointer-events:auto}.hp-adtrigger[data-layout=full]{padding:0}.hp-adtrigger[data-layout=none]{padding:0;align-items:flex-start;justify-content:flex-start}.hp-adtrigger[data-layout=none] .hp-adtrigger-frame{position:static}.hp-adtrigger[data-layout=top]{align-items:flex-start}.hp-adtrigger[data-layout=bottom]{align-items:flex-end;padding-bottom:72px}.hp-adtrigger[data-layout=top-left]{align-items:flex-start;justify-content:flex-start}.hp-adtrigger[data-layout=top-right]{align-items:flex-start;justify-content:flex-end}.hp-adtrigger[data-layout=bottom-left]{align-items:flex-end;justify-content:flex-start;padding-bottom:72px}.hp-adtrigger[data-layout=bottom-right]{align-items:flex-end;justify-content:flex-end;padding-bottom:72px}.hp-adtrigger-frame{position:relative;max-width:100%;max-height:100%;pointer-events:auto}.hp-adtrigger[data-layout=full] .hp-adtrigger-frame{width:100%;height:100%}.hp-adtrigger-frame[data-sized]{width:min(var(--hp-adtrigger-w),100%);height:min(var(--hp-adtrigger-h),100%)}.hp-adtrigger[data-layout=full] ::slotted(*),.hp-adtrigger-frame[data-sized] ::slotted(*){display:block;width:100%;height:100%}.hp-adtrigger-label{position:absolute;top:8px;left:8px;z-index:1;padding:3px 7px;border-radius:4px;background:#000000a8;color:#fff;font:600 10px/1 system-ui,-apple-system,sans-serif;letter-spacing:.08em;text-transform:uppercase;pointer-events:none}.hp-adtrigger-close{position:absolute;top:6px;right:6px;z-index:2;display:grid;place-items:center;width:30px;height:30px;padding:0;border:0;border-radius:999px;background:#000000b8;color:#fff;cursor:pointer}.hp-adtrigger-close[hidden]{display:none}.hp-adtrigger-close:focus-visible{outline:2px solid var(--hp-color-accent, #fff);outline-offset:2px}@keyframes hp-adtrigger-in{0%{opacity:0}}", U = 5e3, N = 8e3, A = 30, R = ["none", "full", "center", "top", "bottom", "top-left", "top-right", "bottom-left", "bottom-right"], M = ["time", "interval", "percent", "fullscreen", "fullscreenExit", "start", "pause", "resume", "ended"], D = 1.5;
8
+ let z = 0;
9
+ function O(l) {
9
10
  if (typeof l != "string" || !l.trim()) return null;
10
11
  try {
11
12
  const e = new URL(l, document.baseURI);
@@ -14,7 +15,7 @@ function D(l) {
14
15
  return null;
15
16
  }
16
17
  }
17
- const m = (l, e, t) => typeof l == "number" && Number.isFinite(l) ? Math.min(t, Math.max(e, l)) : void 0, A = (l) => typeof l == "string" ? l.slice(0, 200) : typeof l == "number" && Number.isFinite(l) || typeof l == "boolean" ? String(l) : null;
18
+ const m = (l, e, t) => typeof l == "number" && Number.isFinite(l) ? Math.min(t, Math.max(e, l)) : void 0, S = (l) => typeof l == "string" ? l.slice(0, 200) : typeof l == "number" && Number.isFinite(l) || typeof l == "boolean" ? String(l) : null;
18
19
  function v(l) {
19
20
  let e;
20
21
  if (typeof l == "string") {
@@ -28,18 +29,18 @@ function v(l) {
28
29
  for (const [s, i] of e.slice(0, 50))
29
30
  if (/^[\w.-]{1,40}$/.test(s))
30
31
  if (Array.isArray(i)) {
31
- const r = i.map(A).filter((o) => o !== null && o !== "").slice(0, 30);
32
+ const r = i.map(S).filter((o) => o !== null && o !== "").slice(0, 30);
32
33
  r.length && (t[s] = r);
33
34
  } else {
34
- const r = A(i);
35
+ const r = S(i);
35
36
  r !== null && r !== "" && (t[s] = r);
36
37
  }
37
38
  return Object.keys(t).length ? t : void 0;
38
39
  }
39
- function O(l) {
40
+ function j(l) {
40
41
  if (!l || typeof l != "object") return null;
41
42
  const e = l, t = e.type;
42
- if (!N.includes(t)) return null;
43
+ if (!M.includes(t)) return null;
43
44
  const s = (i, r, o) => (Array.isArray(i) ? i : [i]).map((a) => m(a, r, o)).filter((a) => a !== void 0).slice(0, 50);
44
45
  if (t === "time") {
45
46
  const i = s(e.at, 0, 86400);
@@ -55,21 +56,21 @@ function O(l) {
55
56
  }
56
57
  return { type: t, delay: m(e.delay, 0, 600) };
57
58
  }
58
- function k(l) {
59
- var a, d, u;
59
+ function x(l) {
60
+ var a, c, u;
60
61
  if (!l || typeof l != "object") return null;
61
62
  const e = l;
62
63
  if (e.active !== !0 || !Array.isArray(e.rules)) return null;
63
64
  const t = Date.now(), s = e.validFrom ? Date.parse(e.validFrom) : NaN, i = e.validUntil ? Date.parse(e.validUntil) : NaN;
64
65
  if (Number.isFinite(s) && t < s || Number.isFinite(i) && t > i) return null;
65
- const r = (f) => Array.isArray(f) ? f.map(D).filter((n) => !!n).slice(0, 10) : [], o = [];
66
+ const r = (f) => Array.isArray(f) ? f.map(O).filter((n) => !!n).slice(0, 10) : [], o = [];
66
67
  for (const f of e.rules.slice(0, 20)) {
67
68
  if (!f || typeof f != "object") continue;
68
69
  const n = f;
69
70
  if (typeof n.adUnitPath != "string" || !/^\/\d+(?:[,/][\w.\-/]*)?$/.test(n.adUnitPath)) continue;
70
- const g = (Array.isArray(n.triggers) ? n.triggers : []).map(O).filter((y) => !!y).slice(0, 20);
71
+ const g = (Array.isArray(n.triggers) ? n.triggers : []).map(j).filter((y) => !!y).slice(0, 20);
71
72
  if (!g.length) continue;
72
- const h = Array.isArray(n.size) && n.size.length === 2 ? [m(n.size[0], 1, 4e3), m(n.size[1], 1, 4e3)] : null, p = U.includes(n.layout) ? n.layout : "none";
73
+ const h = Array.isArray(n.size) && n.size.length === 2 ? [m(n.size[0], 1, 4e3), m(n.size[1], 1, 4e3)] : null, p = R.includes(n.layout) ? n.layout : "none";
73
74
  o.push({
74
75
  id: typeof n.id == "string" ? n.id.slice(0, 80) : void 0,
75
76
  adUnitPath: n.adUnitPath,
@@ -89,58 +90,58 @@ function k(l) {
89
90
  maxShows: m(n.maxShows, 1, 1e3),
90
91
  minGapSeconds: m(n.minGapSeconds, 0, 86400),
91
92
  minPlayerWidth: m(n.minPlayerWidth, 0, 4e3),
92
- tracking: { impression: r((a = n.tracking) == null ? void 0 : a.impression), close: r((d = n.tracking) == null ? void 0 : d.close), empty: r((u = n.tracking) == null ? void 0 : u.empty) }
93
+ tracking: { impression: r((a = n.tracking) == null ? void 0 : a.impression), close: r((c = n.tracking) == null ? void 0 : c.close), empty: r((u = n.tracking) == null ? void 0 : u.empty) }
93
94
  });
94
95
  }
95
96
  return o.length ? {
96
97
  active: !0,
97
98
  id: typeof e.id == "string" ? e.id.slice(0, 120) : void 0,
98
- minGapSeconds: m(e.minGapSeconds, 0, 86400) ?? P,
99
+ minGapSeconds: m(e.minGapSeconds, 0, 86400) ?? A,
99
100
  rules: o
100
101
  } : null;
101
102
  }
102
103
  class $ {
103
104
  constructor(e, t) {
104
- c(this, "options");
105
- c(this, "config", null);
106
- c(this, "loaded", !1);
107
- c(this, "googletag", null);
108
- c(this, "showing", null);
109
- c(this, "instance", ++M);
110
- c(this, "seq", 0);
111
- c(this, "requestSeq", 0);
112
- c(this, "destroyed", !1);
113
- c(this, "refreshTimer", null);
114
- c(this, "tickTimer");
105
+ d(this, "options");
106
+ d(this, "config", null);
107
+ d(this, "loaded", !1);
108
+ d(this, "googletag", null);
109
+ d(this, "showing", null);
110
+ d(this, "instance", ++z);
111
+ d(this, "seq", 0);
112
+ d(this, "requestSeq", 0);
113
+ d(this, "destroyed", !1);
114
+ d(this, "refreshTimer", null);
115
+ d(this, "tickTimer");
115
116
  /** Olaydan `delay` sn sonra çalışacak tetiklemeler — koşul bozulunca iptal edilir. */
116
- c(this, "delayed", []);
117
+ d(this, "delayed", []);
117
118
  // ── içerik başına durum (kaynak değişince sıfırlanır) ──
118
- c(this, "contentKey", "");
119
- c(this, "fired", /* @__PURE__ */ new Set());
120
- c(this, "shows", /* @__PURE__ */ new Map());
121
- c(this, "lastShownAt", /* @__PURE__ */ new Map());
122
- c(this, "lastAnyAt", 0);
123
- c(this, "watchedMs", 0);
124
- c(this, "lastTick", performance.now());
125
- c(this, "lastPos", 0);
119
+ d(this, "contentKey", "");
120
+ d(this, "fired", /* @__PURE__ */ new Set());
121
+ d(this, "shows", /* @__PURE__ */ new Map());
122
+ d(this, "lastShownAt", /* @__PURE__ */ new Map());
123
+ d(this, "lastAnyAt", 0);
124
+ d(this, "watchedMs", 0);
125
+ d(this, "lastTick", performance.now());
126
+ d(this, "lastPos", 0);
126
127
  /** lastPos'un ölçüldüğü an — doğal ilerlemenin üst sınırı geçen gerçek süreden hesaplanır. */
127
- c(this, "lastPosAt", performance.now());
128
+ d(this, "lastPosAt", performance.now());
128
129
  /** `seeking` ile `seeked` arası: aradaki işaretler tetiklenmez. */
129
- c(this, "seekPending", !1);
130
- c(this, "started", !1);
131
- c(this, "userPaused", !1);
130
+ d(this, "seekPending", !1);
131
+ d(this, "started", !1);
132
+ d(this, "userPaused", !1);
132
133
  /** Player'ın kendi duraklatması (pauseContent) — pause/resume kuralı sayılmaz. */
133
- c(this, "selfPause", !1);
134
- c(this, "wasFullscreen", !1);
134
+ d(this, "selfPause", !1);
135
+ d(this, "wasFullscreen", !1);
135
136
  // ── olaylar → tetikleyiciler ──
136
- c(this, "onLoadStart", () => {
137
+ d(this, "onLoadStart", () => {
137
138
  const e = this.ctx.contentKey();
138
139
  e !== this.contentKey && (this.contentKey = e, this.fired.clear(), this.shows.clear(), this.lastShownAt.clear(), this.watchedMs = 0, this.lastPos = 0, this.lastPosAt = performance.now(), this.seekPending = !1, this.started = !1, this.userPaused = !1, this.cancelDelayed(), this.close("content"));
139
140
  });
140
- c(this, "onPlaying", () => {
141
+ d(this, "onPlaying", () => {
141
142
  this.ctx.isBlocked() || (this.started ? this.userPaused && this.trigger("resume") : (this.started = !0, this.trigger("start")), this.userPaused = !1, this.cancelDelayed("pause"));
142
143
  });
143
- c(this, "onPause", () => {
144
+ d(this, "onPause", () => {
144
145
  const e = this.ctx.videoEl;
145
146
  if (this.selfPause) {
146
147
  this.selfPause = !1;
@@ -148,16 +149,16 @@ class $ {
148
149
  }
149
150
  e.ended || e.seeking || this.ctx.isBlocked() || (this.userPaused = !0, this.cancelDelayed("start", "resume"), this.trigger("pause"));
150
151
  });
151
- c(this, "onEnded", () => {
152
+ d(this, "onEnded", () => {
152
153
  this.ctx.isBlocked() || this.trigger("ended");
153
154
  });
154
- c(this, "onSeeking", () => {
155
+ d(this, "onSeeking", () => {
155
156
  this.seekPending = !0;
156
157
  });
157
- c(this, "onSeeked", () => {
158
+ d(this, "onSeeked", () => {
158
159
  this.seekPending = !1, this.lastPos = this.ctx.videoEl.currentTime, this.lastPosAt = performance.now();
159
160
  });
160
- c(this, "onFullscreenChange", () => {
161
+ d(this, "onFullscreenChange", () => {
161
162
  var s;
162
163
  const e = this.ctx.isFullscreen();
163
164
  if (e === this.wasFullscreen) return;
@@ -165,30 +166,30 @@ class $ {
165
166
  const t = (s = this.showing) == null ? void 0 : s.rule.mode;
166
167
  (t === "fullscreen" && !e || t === "normal" && e) && this.close("mode"), this.trigger(e ? "fullscreen" : "fullscreenExit");
167
168
  });
168
- c(this, "onVideoAdStart", (e) => {
169
+ d(this, "onVideoAdStart", (e) => {
169
170
  var t;
170
171
  ((t = e.detail) == null ? void 0 : t.linear) !== !1 && (this.cancelDelayed(), this.close("ad"));
171
172
  });
172
- c(this, "onTimeUpdate", () => {
173
+ d(this, "onTimeUpdate", () => {
173
174
  const e = this.ctx.videoEl, t = e.currentTime, s = this.lastPos, i = performance.now(), r = (i - this.lastPosAt) / 1e3;
174
175
  this.lastPos = t, this.lastPosAt = i;
175
176
  const o = this.config;
176
177
  if (!o || e.paused || e.seeking || this.seekPending || this.isLive() || this.ctx.isBlocked()) return;
177
- const a = Math.max(R, r * (e.playbackRate || 1) + 0.5);
178
+ const a = Math.max(D, r * (e.playbackRate || 1) + 0.5);
178
179
  if (t <= s || t - s > a) return;
179
- const d = e.duration;
180
+ const c = e.duration;
180
181
  o.rules.forEach(
181
182
  (u, f) => u.triggers.forEach((n, g) => {
182
183
  if (!(n.type !== "time" && n.type !== "percent"))
183
184
  for (const h of n.at) {
184
- const p = n.type === "percent" ? Number.isFinite(d) && d > 0 ? d * h / 100 : NaN : h, y = `${f}:${g}:${h}`;
185
+ const p = n.type === "percent" ? Number.isFinite(c) && c > 0 ? c * h / 100 : NaN : h, y = `${f}:${g}:${h}`;
185
186
  s < p && p <= t && !this.fired.has(y) && (this.fired.add(y), this.showRule(f, n.type));
186
187
  }
187
188
  })
188
189
  );
189
190
  });
190
191
  /** Gerçek izleme süresi: interval kuralları (ve canlıda time kuralları) bununla sayılır. */
191
- c(this, "tick", () => {
192
+ d(this, "tick", () => {
192
193
  var a;
193
194
  const e = performance.now(), t = Math.min(2e3, Math.max(0, e - this.lastTick));
194
195
  this.lastTick = e;
@@ -198,7 +199,7 @@ class $ {
198
199
  this.watchedMs += t;
199
200
  const o = this.watchedMs / 1e3;
200
201
  i.rules.forEach(
201
- (d, u) => d.triggers.forEach((f, n) => {
202
+ (c, u) => c.triggers.forEach((f, n) => {
202
203
  if (f.type === "interval") {
203
204
  const g = f.startAfter ?? f.every, h = Math.floor((o - g) / f.every);
204
205
  o >= g && g + h * f.every > r && this.showRule(u, "interval");
@@ -235,23 +236,23 @@ class $ {
235
236
  async load() {
236
237
  const e = ++this.requestSeq;
237
238
  if (!this.options.endpoint) {
238
- this.apply(k(this.options.config));
239
+ this.apply(x(this.options.config));
239
240
  return;
240
241
  }
241
- const t = typeof AbortController < "u" ? new AbortController() : null, s = setTimeout(() => t == null ? void 0 : t.abort(), this.options.timeoutMs ?? C);
242
+ const t = typeof AbortController < "u" ? new AbortController() : null, s = setTimeout(() => t == null ? void 0 : t.abort(), this.options.timeoutMs ?? U);
242
243
  let i = "";
243
244
  try {
244
245
  const r = new URL(this.options.endpoint, document.baseURI);
245
- for (const [d, u] of Object.entries(this.options.params ?? {})) r.searchParams.set(d, u);
246
+ for (const [c, u] of Object.entries(this.options.params ?? {})) r.searchParams.set(c, u);
246
247
  i = r.href;
247
248
  const o = await fetch(i, { ...this.options.fetchInit, signal: t == null ? void 0 : t.signal });
248
249
  if (!o.ok) throw new Error(`HTTP ${o.status}`);
249
250
  const a = await o.json();
250
251
  if (this.destroyed || e !== this.requestSeq) return;
251
- this.apply(k(a));
252
+ this.apply(x(a));
252
253
  } catch (r) {
253
254
  if (this.destroyed || e !== this.requestSeq) return;
254
- this.ctx.log({ message: `Ad triggers API failed: ${String(r)}`, details: { url: i } }), !this.config && this.options.config && this.apply(k(this.options.config));
255
+ this.ctx.log({ message: `Ad triggers API failed: ${String(r)}`, details: { url: i } }), !this.config && this.options.config && this.apply(x(this.options.config));
255
256
  } finally {
256
257
  clearTimeout(s);
257
258
  }
@@ -267,7 +268,7 @@ class $ {
267
268
  trigger(e) {
268
269
  const t = this.config;
269
270
  t && t.rules.forEach((s, i) => {
270
- const r = s.triggers.find((d) => d.type === e);
271
+ const r = s.triggers.find((c) => c.type === e);
271
272
  if (!r) return;
272
273
  const o = (r.delay ?? 0) * 1e3;
273
274
  if (o <= 0) {
@@ -275,7 +276,7 @@ class $ {
275
276
  return;
276
277
  }
277
278
  const a = setTimeout(() => {
278
- this.delayed = this.delayed.filter((d) => d.timer !== a), this.showRule(i, e);
279
+ this.delayed = this.delayed.filter((c) => c.timer !== a), this.showRule(i, e);
279
280
  }, o);
280
281
  this.delayed.push({ type: e, timer: a });
281
282
  });
@@ -286,8 +287,8 @@ class $ {
286
287
  // ── gösterim ──
287
288
  /** Koşullar uygunsa kuralın reklamını ister. Uygun değilse sessizce atlanır (sebep kayda düşer). */
288
289
  showRule(e, t) {
289
- var d, u;
290
- const s = (d = this.config) == null ? void 0 : d.rules[e];
290
+ var c, u;
291
+ const s = (c = this.config) == null ? void 0 : c.rules[e];
291
292
  if (!s || this.destroyed) return;
292
293
  const i = this.ctx.videoEl, r = this.ctx.isFullscreen(), o = (f) => this.ctx.log({ message: `Ad trigger skipped (${f})`, details: { rule: s.id, trigger: t } });
293
294
  if (this.showing && !(this.showing.filled && this.showing.rule.layout === "none")) return o("another ad is showing");
@@ -301,21 +302,21 @@ class $ {
301
302
  const a = Date.now();
302
303
  if (s.maxShows && (this.shows.get(e) ?? 0) >= s.maxShows) return o("maxShows");
303
304
  if (s.minGapSeconds && a - (this.lastShownAt.get(e) ?? 0) < s.minGapSeconds * 1e3) return o("rule minGapSeconds");
304
- if (a - this.lastAnyAt < (((u = this.config) == null ? void 0 : u.minGapSeconds) ?? P) * 1e3) return o("minGapSeconds");
305
+ if (a - this.lastAnyAt < (((u = this.config) == null ? void 0 : u.minGapSeconds) ?? A) * 1e3) return o("minGapSeconds");
305
306
  this.showing && this.close("replaced"), this.lastAnyAt = a, this.lastShownAt.set(e, a), this.request(e, s, t, r);
306
307
  }
307
308
  async request(e, t, s, i) {
308
- const r = ++this.seq, o = `hp-adtrigger-${this.instance}`, a = this.buildBox(t, o), d = document.createElement("div");
309
- d.id = `hp-adtrigger-${this.instance}-${r}`, d.slot = o;
310
- const u = { rule: t, trigger: s, box: a, adHost: d, slot: null, filled: !1, pausedContent: !1, timers: [] };
311
- this.showing = u, this.ctx.overlayEl.appendChild(a), this.ctx.hostEl.appendChild(d);
309
+ const r = ++this.seq, o = `hp-adtrigger-${this.instance}`, a = this.buildBox(t, o), c = document.createElement("div");
310
+ c.id = `hp-adtrigger-${this.instance}-${r}`, c.slot = o;
311
+ const u = { rule: t, trigger: s, box: a, adHost: c, slot: null, filled: !1, pausedContent: !1, timers: [] };
312
+ this.showing = u, this.ctx.overlayEl.appendChild(a), this.ctx.hostEl.appendChild(c);
312
313
  const f = { rule: t.id, trigger: s, adUnitPath: t.adUnitPath }, n = (h) => {
313
314
  var p;
314
- this.showing === u && (this.ctx.log({ message: `Ad trigger: no ad (${h})`, details: { ...f } }), b((p = t.tracking) == null ? void 0 : p.empty), this.ctx.hostEl.dispatchEvent(new CustomEvent("hp:adtriggerempty", { detail: f })), this.teardown(u));
315
+ this.showing === u && (this.ctx.log({ message: `Ad trigger: no ad (${h})`, details: { ...f } }), E((p = t.tracking) == null ? void 0 : p.empty), this.ctx.hostEl.dispatchEvent(new CustomEvent("hp:adtriggerempty", { detail: f })), this.teardown(u));
315
316
  };
316
- u.timers.push(setTimeout(() => !u.filled && n("timeout"), this.options.renderTimeoutMs ?? F));
317
+ u.timers.push(setTimeout(() => !u.filled && n("timeout"), this.options.renderTimeoutMs ?? N));
317
318
  try {
318
- this.googletag ?? (this.googletag = await T());
319
+ this.googletag ?? (this.googletag = await C());
319
320
  } catch (h) {
320
321
  n(String(h));
321
322
  return;
@@ -324,7 +325,7 @@ class $ {
324
325
  const g = this.googletag;
325
326
  g.cmd.push(() => {
326
327
  if (this.showing !== u) return;
327
- const h = g.defineOutOfPageSlot(t.adUnitPath, d.id);
328
+ const h = g.defineOutOfPageSlot(t.adUnitPath, c.id);
328
329
  if (!h) {
329
330
  n("slot could not be defined");
330
331
  return;
@@ -339,13 +340,13 @@ class $ {
339
340
  hp_mode: i ? "fullscreen" : "normal"
340
341
  };
341
342
  t.id && (p.hp_rule = t.id);
342
- for (const [w, E] of Object.entries(p)) h.setTargeting(w, E);
343
+ for (const [b, w] of Object.entries(p)) h.setTargeting(b, w);
343
344
  u.custParams = p;
344
- const y = (w) => {
345
- var E, S;
346
- w.slot === h && ((S = (E = g.pubads()).removeEventListener) == null || S.call(E, "slotRenderEnded", y), w.isEmpty ? n("empty") : this.reveal(e, u, i));
345
+ const y = (b) => {
346
+ var w, k;
347
+ b.slot === h && ((k = (w = g.pubads()).removeEventListener) == null || k.call(w, "slotRenderEnded", y), b.isEmpty ? n("empty") : this.reveal(e, u, i));
347
348
  };
348
- g.pubads().addEventListener("slotRenderEnded", y), g.enableServices(), g.display(d.id), g.pubads().isInitialLoadDisabled() && g.pubads().refresh([h]);
349
+ g.pubads().addEventListener("slotRenderEnded", y), g.enableServices(), g.display(c.id), g.pubads().isInitialLoadDisabled() && g.pubads().refresh([h]);
349
350
  });
350
351
  }
351
352
  buildBox(e, t) {
@@ -364,7 +365,7 @@ class $ {
364
365
  a.type = "button", a.className = "hp-adtrigger-close", a.setAttribute("part", "ad-trigger-close"), a.setAttribute("aria-label", this.ctx.i18n.pauseAdClose), a.hidden = !0, a.innerHTML = '<svg viewBox="0 0 24 24" width="16" height="16" fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" aria-hidden="true"><path d="M6 6l12 12M18 6L6 18"/></svg>', a.addEventListener("click", () => this.close("user")), r.appendChild(a);
365
366
  }
366
367
  s.appendChild(r);
367
- for (const a of ["pointerdown", "click", "dblclick"]) s.addEventListener(a, (d) => d.stopPropagation());
368
+ for (const a of ["pointerdown", "click", "dblclick"]) s.addEventListener(a, (c) => c.stopPropagation());
368
369
  return s;
369
370
  }
370
371
  reveal(e, t, s) {
@@ -372,14 +373,14 @@ class $ {
372
373
  if (this.showing !== t) return;
373
374
  const { rule: i } = t;
374
375
  if (t.filled = !0, this.shows.set(e, (this.shows.get(e) ?? 0) + 1), this.lastAnyAt = Date.now(), i.layout === "full" || i.size && i.layout !== "none") {
375
- const d = t.adHost.querySelector("iframe");
376
- d && Object.assign(d.style, { width: "100%", height: "100%", border: "0" }), Object.assign(t.adHost.style, { width: "100%", height: "100%" });
376
+ const c = t.adHost.querySelector("iframe");
377
+ c && Object.assign(c.style, { width: "100%", height: "100%", border: "0" }), Object.assign(t.adHost.style, { width: "100%", height: "100%" });
377
378
  }
378
379
  t.box.setAttribute("data-open", "");
379
380
  const r = t.box.querySelector(".hp-adtrigger-close");
380
381
  r && !i.closeDelay ? r.hidden = !1 : r && t.timers.push(setTimeout(() => r.hidden = !1, i.closeDelay * 1e3)), i.duration && t.timers.push(setTimeout(() => this.close("timeout"), i.duration * 1e3));
381
382
  const o = this.ctx.videoEl;
382
- i.pauseContent && !o.paused && (t.pausedContent = !0, this.selfPause = !0, o.pause()), b((a = i.tracking) == null ? void 0 : a.impression), this.ctx.hostEl.dispatchEvent(
383
+ i.pauseContent && !o.paused && (t.pausedContent = !0, this.selfPause = !0, o.pause()), E((a = i.tracking) == null ? void 0 : a.impression), this.ctx.hostEl.dispatchEvent(
383
384
  new CustomEvent("hp:adtriggershow", { detail: { rule: i.id, trigger: t.trigger, adUnitPath: i.adUnitPath, fullscreen: s, custParams: t.custParams ?? {} } })
384
385
  );
385
386
  }
@@ -389,7 +390,7 @@ class $ {
389
390
  const t = this.showing;
390
391
  if (!t) return;
391
392
  const s = t.filled;
392
- this.teardown(t), s && (b((i = t.rule.tracking) == null ? void 0 : i.close), this.ctx.hostEl.dispatchEvent(new CustomEvent("hp:adtriggerclose", { detail: { rule: t.rule.id, reason: e } })), t.pausedContent && e !== "content" && e !== "ad" && this.ctx.videoEl.play().catch(() => {
393
+ this.teardown(t), s && (E((i = t.rule.tracking) == null ? void 0 : i.close), this.ctx.hostEl.dispatchEvent(new CustomEvent("hp:adtriggerclose", { detail: { rule: t.rule.id, reason: e } })), t.pausedContent && e !== "content" && e !== "ad" && this.ctx.videoEl.play().catch(() => {
393
394
  }));
394
395
  }
395
396
  teardown(e) {
@@ -408,12 +409,12 @@ class $ {
408
409
  e.removeEventListener("timeupdate", this.onTimeUpdate), e.removeEventListener("seeking", this.onSeeking), e.removeEventListener("seeked", this.onSeeked), e.removeEventListener("playing", this.onPlaying), e.removeEventListener("pause", this.onPause), e.removeEventListener("ended", this.onEnded), e.removeEventListener("loadstart", this.onLoadStart), e.removeEventListener("webkitbeginfullscreen", this.onFullscreenChange), e.removeEventListener("webkitendfullscreen", this.onFullscreenChange), document.removeEventListener("fullscreenchange", this.onFullscreenChange), document.removeEventListener("webkitfullscreenchange", this.onFullscreenChange), this.ctx.hostEl.removeEventListener("hp:adstart", this.onVideoAdStart);
409
410
  }
410
411
  }
411
- function G(l, e) {
412
- return new $(l, e);
412
+ function I(l, e) {
413
+ return T(l.videoEl, "ad-triggers", F), new $(l, e);
413
414
  }
414
415
  export {
415
416
  $ as AdTriggers,
416
- G as installAdTriggers,
417
- k as normalizeAdTriggers
417
+ I as installAdTriggers,
418
+ x as normalizeAdTriggers
418
419
  };
419
- //# sourceMappingURL=adTriggers-BIAWe8o4.js.map
420
+ //# sourceMappingURL=adTriggers-DVqgm92F.js.map