@beyondwords/player 0.3.19 → 0.3.20

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/es.js CHANGED
@@ -45,7 +45,7 @@ var gn = (t, e, i) => new Promise((n, o) => {
45
45
  }, a = (r) => r.done ? n(r.value) : Promise.resolve(r.value).then(s, l);
46
46
  a((i = i.apply(t, e)).next());
47
47
  });
48
- /*! version:"0.3.19" */
48
+ /*! version:"0.3.20" */
49
49
  function ee() {
50
50
  }
51
51
  const nd = (t) => t;
@@ -593,7 +593,7 @@ class Pe {
593
593
  }
594
594
  const wd = "4";
595
595
  typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(wd);
596
- const Pd = "@beyondwords/player", mo = "0.3.19", Ri = (t, e) => {
596
+ const Pd = "@beyondwords/player", mo = "0.3.20", Ri = (t, e) => {
597
597
  t = [t].flat().join(`
598
598
  `);
599
599
  let i = `${Pd}:
@@ -713,8 +713,8 @@ const Sl = ["user", "media", "browser", "media-session-api", "google-ima-sdk"],
713
713
  r: 2,
714
714
  l: 1
715
715
  }, Dl = {
716
- nonPersonalizedDaisybit: "CQeotEAQeotEAAAAAAENDgCAAEIAAAAAAAAAg1NX_H__bW9r8X7_aft0eY1P9_j77sQxBhfJE-4F3LvW_JwXx2E5NF36tqoKmRoEu3ZBIUNlHJHUTVmwaogVryHsakWcoTNKJ6BkkFMRM2dYCF5vm4tjeQKY5_p_d3fx2D-t_dv839zzz8VHn3e5fue0-PCdU5-9Dfn9fRfb-9IP9_78v8v8_l_rk2_eT13_pcvr_D--f_87_XW-9_cAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAA.Ig1NX_H__bX9v-X7_6ft0eY1f9_j77sQxBhfJs-4F3LvW_JwX32E7NF36tq4KmRoEu3ZBIUNtHJnUTVmxaogVrzHsakWcoTNKJ-BkkHMRe2dYCF5vm4tjeQKZ5_p_d3f52T_9_dv-39zz39Vnv3e9fuf1-Pjde5_9H_v_fRfb-_If9_7-_8v8_t_rk2_eT1__9evv__--________9_8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAE",
717
- personalizedDaisybit: "CQeotEAQeotEAAAAAAENDgCAAHIAAAAAAAAAg1NX_H__bW9r8X7_aft0eY1P9_j77sQxBhfJE-4F3LvW_JwXx2E5NF36tqoKmRoEu3ZBIUNlHJHUTVmwaogVryHsakWcoTNKJ6BkkFMRM2dYCF5vm4tjeQKY5_p_d3fx2D-t_dv839zzz8VHn3e5fue0-PCdU5-9Dfn9fRfb-9IP9_78v8v8_l_rk2_eT13_pcvr_D--f_87_XW-9_cAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAA.Ig1NX_H__bX9v-X7_6ft0eY1f9_j77sQxBhfJs-4F3LvW_JwX32E7NF36tq4KmRoEu3ZBIUNtHJnUTVmxaogVrzHsakWcoTNKJ-BkkHMRe2dYCF5vm4tjeQKZ5_p_d3f52T_9_dv-39zz39Vnv3e9fuf1-Pjde5_9H_v_fRfb-_If9_7-_8v8_t_rk2_eT1__9evv__--________9_8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAE"
716
+ nonPersonalizedDaisybit: "CQfgvAAQfgvAAAAAAAENDgCAAEIAAAAAAAAAg1NX_H__bW9r8X7_aft0eY1P9_j77sQxBhfJE-4F3LvW_JwXx2E5NF36tqoKmRoEu3ZBIUNlHJHUTVmwaogVryHsakWcoTNKJ6BkkFMRM2dYCF5vm4tjeQKY5_p_d3fx2D-t_dv839zzz8VHn3e5fue0-PCdU5-9Dfn9fRfb-9IP9_78v8v8_l_rk2_eT13_pcvr_D--f_87_XW-9_cAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAA.Ig1NX_H__bX9v-X7_6ft0eY1f9_j77sQxBhfJs-4F3LvW_JwX32E7NF36tq4KmRoEu3ZBIUNtHJnUTVmxaogVrzHsakWcoTNKJ-BkkHMRe2dYCF5vm4tjeQKZ5_p_d3f52T_9_dv-39zz39Vnv3e9fuf1-Pjde5_9H_v_fRfb-_If9_7-_8v8_t_rk2_eT1__9evv__--________9_8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAE",
717
+ personalizedDaisybit: "CQfgvAAQfgvAAAAAAAENDgCAAHIAAAAAAAAAg1NX_H__bW9r8X7_aft0eY1P9_j77sQxBhfJE-4F3LvW_JwXx2E5NF36tqoKmRoEu3ZBIUNlHJHUTVmwaogVryHsakWcoTNKJ6BkkFMRM2dYCF5vm4tjeQKY5_p_d3fx2D-t_dv839zzz8VHn3e5fue0-PCdU5-9Dfn9fRfb-9IP9_78v8v8_l_rk2_eT13_pcvr_D--f_87_XW-9_cAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAA.Ig1NX_H__bX9v-X7_6ft0eY1f9_j77sQxBhfJs-4F3LvW_JwX32E7NF36tq4KmRoEu3ZBIUNtHJnUTVmxaogVrzHsakWcoTNKJ-BkkHMRe2dYCF5vm4tjeQKZ5_p_d3f52T_9_dv-39zz39Vnv3e9fuf1-Pjde5_9H_v_fRfb-_If9_7-_8v8_t_rk2_eT1__9evv__--________9_8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAE"
718
718
  }, Fd = (t, e, i, n, o, s, l, a, r, u, c, g) => {
719
719
  const f = window.location.hostname === "localhost";
720
720
  return Ud(t) ? Hd(f, i, g) : br(t) ? qd(f, t, e, i, n, o, s, l, a, r, u, c) : {};
@@ -784,11 +784,11 @@ function Jd(t) {
784
784
  function Xd(t, e, i) {
785
785
  let n, o, { vastUrl: s } = e, { preloading: l } = e, { placement: a } = e, { advertConsent: r } = e, { maxImageSize: u } = e, { projectId: c } = e, { playlistId: g } = e, { contentId: f } = e, { contentLanguage: A } = e, { platform: _ } = e, { vendorIdentifier: k } = e, { bundleIdentifier: C } = e, { video: p } = e, { playbackState: v } = e, { duration: w } = e, { currentTime: B } = e, { onEvent: N = () => {
786
786
  } } = e, W, S, U, q, j, Q, ne, X;
787
- const ae = () => {
787
+ const re = () => {
788
788
  google.ima.settings.setDisableCustomPlaybackForIOS10Plus(!0), S = new google.ima.AdDisplayContainer(W, p), U = new google.ima.AdsLoader(S), U.addEventListener(google.ima.AdsManagerLoadedEvent.Type.ADS_MANAGER_LOADED, pe, !1), U.addEventListener(google.ima.AdErrorEvent.Type.AD_ERROR, b, !1), q = new google.ima.AdsRequest(), q.adTagUrl = o, q.linearAdSlotWidth = p.clientWidth, q.linearAdSlotHeight = p.clientHeight, U.requestAds(q);
789
789
  }, pe = (K) => {
790
790
  const We = new google.ima.AdsRenderingSettings();
791
- We.enablePreloading = !0, i(21, j = K.getAdsManager(p, We)), j.addEventListener(google.ima.AdEvent.Type.STARTED, ge), j.addEventListener(google.ima.AdEvent.Type.AD_PROGRESS, ye), j.addEventListener(google.ima.AdEvent.Type.CLICK, re), j.addEventListener(google.ima.AdEvent.Type.PAUSED, z), j.addEventListener(google.ima.AdEvent.Type.CONTENT_RESUME_REQUESTED, x), j.addEventListener(google.ima.AdErrorEvent.Type.AD_ERROR, b);
791
+ We.enablePreloading = !0, i(21, j = K.getAdsManager(p, We)), j.addEventListener(google.ima.AdEvent.Type.STARTED, ge), j.addEventListener(google.ima.AdEvent.Type.AD_PROGRESS, ye), j.addEventListener(google.ima.AdEvent.Type.CLICK, ae), j.addEventListener(google.ima.AdEvent.Type.PAUSED, z), j.addEventListener(google.ima.AdEvent.Type.CONTENT_RESUME_REQUESTED, x), j.addEventListener(google.ima.AdErrorEvent.Type.AD_ERROR, b);
792
792
  }, ce = () => {
793
793
  if (!Q) {
794
794
  Q = !0, p.pause(), p.load(), S.initialize();
@@ -829,7 +829,7 @@ function Xd(t, e, i) {
829
829
  }, be = ({ duration: K, adBreakDuration: We }) => {
830
830
  const Ie = Math.min(K || 1 / 0, We || 1 / 0);
831
831
  return Ie === 1 / 0 ? 0 : Ie;
832
- }, re = () => {
832
+ }, ae = () => {
833
833
  N(Ae({
834
834
  type: "PressedAdvertVideo",
835
835
  description: "The video background was pressed to open the advert in a new tab.",
@@ -907,7 +907,7 @@ function Xd(t, e, i) {
907
907
  }, [
908
908
  W,
909
909
  X,
910
- ae,
910
+ re,
911
911
  P,
912
912
  v,
913
913
  w,
@@ -5152,8 +5152,8 @@ function wm() {
5152
5152
  var v = C + p, w = k[v];
5153
5153
  k[v] = (w << 8 | w >>> 24) & 16711935 | (w << 24 | w >>> 8) & 4278255360;
5154
5154
  }
5155
- var B = this._hash.words, N = k[C + 0], W = k[C + 1], S = k[C + 2], U = k[C + 3], q = k[C + 4], j = k[C + 5], Q = k[C + 6], ne = k[C + 7], X = k[C + 8], ae = k[C + 9], pe = k[C + 10], ce = k[C + 11], ge = k[C + 12], ye = k[C + 13], be = k[C + 14], re = k[C + 15], z = B[0], x = B[1], b = B[2], P = B[3];
5156
- z = g(z, x, b, P, N, 7, u[0]), P = g(P, z, x, b, W, 12, u[1]), b = g(b, P, z, x, S, 17, u[2]), x = g(x, b, P, z, U, 22, u[3]), z = g(z, x, b, P, q, 7, u[4]), P = g(P, z, x, b, j, 12, u[5]), b = g(b, P, z, x, Q, 17, u[6]), x = g(x, b, P, z, ne, 22, u[7]), z = g(z, x, b, P, X, 7, u[8]), P = g(P, z, x, b, ae, 12, u[9]), b = g(b, P, z, x, pe, 17, u[10]), x = g(x, b, P, z, ce, 22, u[11]), z = g(z, x, b, P, ge, 7, u[12]), P = g(P, z, x, b, ye, 12, u[13]), b = g(b, P, z, x, be, 17, u[14]), x = g(x, b, P, z, re, 22, u[15]), z = f(z, x, b, P, W, 5, u[16]), P = f(P, z, x, b, Q, 9, u[17]), b = f(b, P, z, x, ce, 14, u[18]), x = f(x, b, P, z, N, 20, u[19]), z = f(z, x, b, P, j, 5, u[20]), P = f(P, z, x, b, pe, 9, u[21]), b = f(b, P, z, x, re, 14, u[22]), x = f(x, b, P, z, q, 20, u[23]), z = f(z, x, b, P, ae, 5, u[24]), P = f(P, z, x, b, be, 9, u[25]), b = f(b, P, z, x, U, 14, u[26]), x = f(x, b, P, z, X, 20, u[27]), z = f(z, x, b, P, ye, 5, u[28]), P = f(P, z, x, b, S, 9, u[29]), b = f(b, P, z, x, ne, 14, u[30]), x = f(x, b, P, z, ge, 20, u[31]), z = A(z, x, b, P, j, 4, u[32]), P = A(P, z, x, b, X, 11, u[33]), b = A(b, P, z, x, ce, 16, u[34]), x = A(x, b, P, z, be, 23, u[35]), z = A(z, x, b, P, W, 4, u[36]), P = A(P, z, x, b, q, 11, u[37]), b = A(b, P, z, x, ne, 16, u[38]), x = A(x, b, P, z, pe, 23, u[39]), z = A(z, x, b, P, ye, 4, u[40]), P = A(P, z, x, b, N, 11, u[41]), b = A(b, P, z, x, U, 16, u[42]), x = A(x, b, P, z, Q, 23, u[43]), z = A(z, x, b, P, ae, 4, u[44]), P = A(P, z, x, b, ge, 11, u[45]), b = A(b, P, z, x, re, 16, u[46]), x = A(x, b, P, z, S, 23, u[47]), z = _(z, x, b, P, N, 6, u[48]), P = _(P, z, x, b, ne, 10, u[49]), b = _(b, P, z, x, be, 15, u[50]), x = _(x, b, P, z, j, 21, u[51]), z = _(z, x, b, P, ge, 6, u[52]), P = _(P, z, x, b, U, 10, u[53]), b = _(b, P, z, x, pe, 15, u[54]), x = _(x, b, P, z, W, 21, u[55]), z = _(z, x, b, P, X, 6, u[56]), P = _(P, z, x, b, re, 10, u[57]), b = _(b, P, z, x, Q, 15, u[58]), x = _(x, b, P, z, ye, 21, u[59]), z = _(z, x, b, P, q, 6, u[60]), P = _(P, z, x, b, ce, 10, u[61]), b = _(b, P, z, x, S, 15, u[62]), x = _(x, b, P, z, ae, 21, u[63]), B[0] = B[0] + z | 0, B[1] = B[1] + x | 0, B[2] = B[2] + b | 0, B[3] = B[3] + P | 0;
5155
+ var B = this._hash.words, N = k[C + 0], W = k[C + 1], S = k[C + 2], U = k[C + 3], q = k[C + 4], j = k[C + 5], Q = k[C + 6], ne = k[C + 7], X = k[C + 8], re = k[C + 9], pe = k[C + 10], ce = k[C + 11], ge = k[C + 12], ye = k[C + 13], be = k[C + 14], ae = k[C + 15], z = B[0], x = B[1], b = B[2], P = B[3];
5156
+ z = g(z, x, b, P, N, 7, u[0]), P = g(P, z, x, b, W, 12, u[1]), b = g(b, P, z, x, S, 17, u[2]), x = g(x, b, P, z, U, 22, u[3]), z = g(z, x, b, P, q, 7, u[4]), P = g(P, z, x, b, j, 12, u[5]), b = g(b, P, z, x, Q, 17, u[6]), x = g(x, b, P, z, ne, 22, u[7]), z = g(z, x, b, P, X, 7, u[8]), P = g(P, z, x, b, re, 12, u[9]), b = g(b, P, z, x, pe, 17, u[10]), x = g(x, b, P, z, ce, 22, u[11]), z = g(z, x, b, P, ge, 7, u[12]), P = g(P, z, x, b, ye, 12, u[13]), b = g(b, P, z, x, be, 17, u[14]), x = g(x, b, P, z, ae, 22, u[15]), z = f(z, x, b, P, W, 5, u[16]), P = f(P, z, x, b, Q, 9, u[17]), b = f(b, P, z, x, ce, 14, u[18]), x = f(x, b, P, z, N, 20, u[19]), z = f(z, x, b, P, j, 5, u[20]), P = f(P, z, x, b, pe, 9, u[21]), b = f(b, P, z, x, ae, 14, u[22]), x = f(x, b, P, z, q, 20, u[23]), z = f(z, x, b, P, re, 5, u[24]), P = f(P, z, x, b, be, 9, u[25]), b = f(b, P, z, x, U, 14, u[26]), x = f(x, b, P, z, X, 20, u[27]), z = f(z, x, b, P, ye, 5, u[28]), P = f(P, z, x, b, S, 9, u[29]), b = f(b, P, z, x, ne, 14, u[30]), x = f(x, b, P, z, ge, 20, u[31]), z = A(z, x, b, P, j, 4, u[32]), P = A(P, z, x, b, X, 11, u[33]), b = A(b, P, z, x, ce, 16, u[34]), x = A(x, b, P, z, be, 23, u[35]), z = A(z, x, b, P, W, 4, u[36]), P = A(P, z, x, b, q, 11, u[37]), b = A(b, P, z, x, ne, 16, u[38]), x = A(x, b, P, z, pe, 23, u[39]), z = A(z, x, b, P, ye, 4, u[40]), P = A(P, z, x, b, N, 11, u[41]), b = A(b, P, z, x, U, 16, u[42]), x = A(x, b, P, z, Q, 23, u[43]), z = A(z, x, b, P, re, 4, u[44]), P = A(P, z, x, b, ge, 11, u[45]), b = A(b, P, z, x, ae, 16, u[46]), x = A(x, b, P, z, S, 23, u[47]), z = _(z, x, b, P, N, 6, u[48]), P = _(P, z, x, b, ne, 10, u[49]), b = _(b, P, z, x, be, 15, u[50]), x = _(x, b, P, z, j, 21, u[51]), z = _(z, x, b, P, ge, 6, u[52]), P = _(P, z, x, b, U, 10, u[53]), b = _(b, P, z, x, pe, 15, u[54]), x = _(x, b, P, z, W, 21, u[55]), z = _(z, x, b, P, X, 6, u[56]), P = _(P, z, x, b, ae, 10, u[57]), b = _(b, P, z, x, Q, 15, u[58]), x = _(x, b, P, z, ye, 21, u[59]), z = _(z, x, b, P, q, 6, u[60]), P = _(P, z, x, b, ce, 10, u[61]), b = _(b, P, z, x, S, 15, u[62]), x = _(x, b, P, z, re, 21, u[63]), B[0] = B[0] + z | 0, B[1] = B[1] + x | 0, B[2] = B[2] + b | 0, B[3] = B[3] + P | 0;
5157
5157
  },
5158
5158
  _doFinalize: function() {
5159
5159
  var k = this._data, C = k.words, p = this._nDataBytes * 8, v = k.sigBytes * 8;
@@ -5211,7 +5211,7 @@ const Tm = /* @__PURE__ */ ym(Pm), Cm = (t, e) => {
5211
5211
  Fs(Om, s, e, n, o), Fs(Bm, s, e, n, o), s = s.parentNode;
5212
5212
  for (s = t; s && !nl(s) && !(o.size === 0 || ol(s)); )
5213
5213
  Fs(Vm, s, e, n, o), s = s.parentNode;
5214
- return Wm(n), Mm(n), n;
5214
+ return Wm(n), Em(n), n;
5215
5215
  }, Im = (t) => {
5216
5216
  const e = /* @__PURE__ */ new Set();
5217
5217
  for (const [i, n] of t)
@@ -5285,30 +5285,30 @@ const Tm = /* @__PURE__ */ ym(Pm), Cm = (t, e) => {
5285
5285
  });
5286
5286
  for (const [i, n] of e.entries())
5287
5287
  n.precedence = i;
5288
- }, Yl = { playing: 2, paused: 1, stopped: 0 }, Mm = (t) => {
5288
+ }, Yl = { playing: 2, paused: 1, stopped: 0 }, Mm = /* @__PURE__ */ new Set(["ol", "ul"]), Em = (t) => {
5289
5289
  for (const { player: e, segment: i, segmentElement: n } of t) {
5290
5290
  if (!n)
5291
5291
  continue;
5292
5292
  i.matchedElement = n;
5293
- const s = [...n.parentNode.children].filter((a) => a !== n).filter((a) => !ol(a)), l = new Map(s.map((a) => [Ws(a), a]));
5294
- for (const a of e.content)
5295
- for (const r of a.segments)
5296
- r.matchedElement || (r.matchedElement = l.get(r.md5));
5293
+ const o = [...n.parentNode.children].filter((r) => r !== n), s = o.flatMap((r) => Mm.has(r.nodeName.toLowerCase()) ? [...r.children] : []), l = [...o, ...s].filter((r) => !ol(r)), a = new Map(l.map((r) => [Ws(r), r]));
5294
+ for (const r of e.content)
5295
+ for (const u of r.segments)
5296
+ u.matchedElement || (u.matchedElement = a.get(u.md5));
5297
5297
  }
5298
- }, Em = (t) => {
5298
+ }, zm = (t) => {
5299
5299
  if (!t)
5300
5300
  return;
5301
5301
  if (t.matchedElement)
5302
5302
  return t.matchedElement;
5303
- const e = zm(t.marker);
5303
+ const e = Lm(t.marker);
5304
5304
  if (e.length === 1)
5305
5305
  return e[0];
5306
- const i = Lm(t.xpath, t.md5);
5306
+ const i = jm(t.xpath, t.md5);
5307
5307
  if (e.length === 0)
5308
5308
  return i[0];
5309
5309
  const n = e.filter((o) => i.includes(o));
5310
5310
  return n.length !== 0 ? n[0] : e[0];
5311
- }, zm = (t) => t ? [...document.querySelectorAll(`[data-beyondwords-marker="${t}"]`)] : [], Lm = (t, e) => {
5311
+ }, Lm = (t) => t ? [...document.querySelectorAll(`[data-beyondwords-marker="${t}"]`)] : [], jm = (t, e) => {
5312
5312
  if (!t || !e)
5313
5313
  return [];
5314
5314
  const i = document.evaluate(t, document), n = [];
@@ -5319,7 +5319,7 @@ const Tm = /* @__PURE__ */ ym(Pm), Cm = (t, e) => {
5319
5319
  else
5320
5320
  return n;
5321
5321
  }
5322
- }, Gt = (t, e, i) => Oe(t, e, e === "style" ? Rm(i) : i), jm = /;(?!([^()]*\([^()]*\))*[^()]*\))/, Rm = (t) => t.split(jm).filter((e) => e).map((e) => e + " !important").join(";");
5322
+ }, Gt = (t, e, i) => Oe(t, e, e === "style" ? Dm(i) : i), Rm = /;(?!([^()]*\([^()]*\))*[^()]*\))/, Dm = (t) => t.split(Rm).filter((e) => e).map((e) => e + " !important").join(";");
5323
5323
  function Zl(t, e, i) {
5324
5324
  const n = t.slice();
5325
5325
  return n[92] = e[i].url, n[93] = e[i].contentType, n[94] = e[i].format, n[96] = i, n;
@@ -5828,7 +5828,7 @@ function ea(t) {
5828
5828
  }
5829
5829
  };
5830
5830
  }
5831
- function Dm(t) {
5831
+ function Nm(t) {
5832
5832
  let e, i, n = (
5833
5833
  /*content*/
5834
5834
  t[5].length > 0 && Kl(t)
@@ -5859,8 +5859,8 @@ function Dm(t) {
5859
5859
  };
5860
5860
  }
5861
5861
  const ta = ({ url: t }) => t;
5862
- function Nm(t, e, i) {
5863
- let n, o, s, l, a, r, u, c, g, f, A, _, k, C, p, v, w, B, N, W, S, { videoSizes: U } = e, { content: q } = e, { contentIndex: j } = e, { summary: Q } = e, { introOrOutro: ne } = e, { activeAdvert: X } = e, { preloadAdvert: ae } = e, { advertConsent: pe } = e, { maxImageSize: ce } = e, { projectId: ge } = e, { playlistId: ye } = e, { contentId: be } = e, { contentLanguage: re } = e, { platform: z } = e, { vendorIdentifier: x } = e, { bundleIdentifier: b } = e, { playbackState: P } = e, { duration: Ce } = e, { currentTime: me } = e, { playbackRate: De } = e, { prevPercentage: te } = e, { showUserInterface: K } = e, { videoBehindWidget: We } = e, { videoBehindStatic: Ie } = e, { videoMightBeShown: Ke } = e, { aspectRatio: je } = e, { isFullScreen: Ge } = e, { widgetPosition: Re } = e, { widgetWidth: gt } = e, { widgetMargin: $e } = e, { widgetTarget: wt } = e, { onEvent: Ne = () => {
5862
+ function xm(t, e, i) {
5863
+ let n, o, s, l, a, r, u, c, g, f, A, _, k, C, p, v, w, B, N, W, S, { videoSizes: U } = e, { content: q } = e, { contentIndex: j } = e, { summary: Q } = e, { introOrOutro: ne } = e, { activeAdvert: X } = e, { preloadAdvert: re } = e, { advertConsent: pe } = e, { maxImageSize: ce } = e, { projectId: ge } = e, { playlistId: ye } = e, { contentId: be } = e, { contentLanguage: ae } = e, { platform: z } = e, { vendorIdentifier: x } = e, { bundleIdentifier: b } = e, { playbackState: P } = e, { duration: Ce } = e, { currentTime: me } = e, { playbackRate: De } = e, { prevPercentage: te } = e, { showUserInterface: K } = e, { videoBehindWidget: We } = e, { videoBehindStatic: Ie } = e, { videoMightBeShown: Ke } = e, { aspectRatio: je } = e, { isFullScreen: Ge } = e, { widgetPosition: Re } = e, { widgetWidth: gt } = e, { widgetMargin: $e } = e, { widgetTarget: wt } = e, { onEvent: Ne = () => {
5864
5864
  } } = e, { metadataLoaded: et } = e, { video: ve = void 0 } = e, at, Be, tt, ot = 0, bt = 0, rt = me, Le, Et;
5865
5865
  const ft = (I) => i(20, ot = I), jt = () => Ke, Ee = () => u.some((I) => I.format === "video"), st = () => {
5866
5866
  var I;
@@ -5925,7 +5925,7 @@ function Nm(t, e, i) {
5925
5925
  initiatedBy: "media"
5926
5926
  }));
5927
5927
  }, zt = () => {
5928
- const I = s[S], T = Em(I);
5928
+ const I = s[S], T = zm(I);
5929
5929
  Ne(Ae({
5930
5930
  type: "CurrentSegmentUpdated",
5931
5931
  description: "The media's current segment was updated.",
@@ -6019,7 +6019,7 @@ function Nm(t, e, i) {
6019
6019
  me = I, i(1, me), i(20, ot);
6020
6020
  }
6021
6021
  return t.$$set = (I) => {
6022
- "videoSizes" in I && i(47, U = I.videoSizes), "content" in I && i(5, q = I.content), "contentIndex" in I && i(48, j = I.contentIndex), "summary" in I && i(49, Q = I.summary), "introOrOutro" in I && i(50, ne = I.introOrOutro), "activeAdvert" in I && i(51, X = I.activeAdvert), "preloadAdvert" in I && i(52, ae = I.preloadAdvert), "advertConsent" in I && i(6, pe = I.advertConsent), "maxImageSize" in I && i(7, ce = I.maxImageSize), "projectId" in I && i(8, ge = I.projectId), "playlistId" in I && i(9, ye = I.playlistId), "contentId" in I && i(10, be = I.contentId), "contentLanguage" in I && i(11, re = I.contentLanguage), "platform" in I && i(12, z = I.platform), "vendorIdentifier" in I && i(13, x = I.vendorIdentifier), "bundleIdentifier" in I && i(14, b = I.bundleIdentifier), "playbackState" in I && i(0, P = I.playbackState), "duration" in I && i(3, Ce = I.duration), "currentTime" in I && i(1, me = I.currentTime), "playbackRate" in I && i(4, De = I.playbackRate), "prevPercentage" in I && i(46, te = I.prevPercentage), "showUserInterface" in I && i(15, K = I.showUserInterface), "videoBehindWidget" in I && i(53, We = I.videoBehindWidget), "videoBehindStatic" in I && i(16, Ie = I.videoBehindStatic), "videoMightBeShown" in I && i(54, Ke = I.videoMightBeShown), "aspectRatio" in I && i(17, je = I.aspectRatio), "isFullScreen" in I && i(55, Ge = I.isFullScreen), "widgetPosition" in I && i(56, Re = I.widgetPosition), "widgetWidth" in I && i(57, gt = I.widgetWidth), "widgetMargin" in I && i(58, $e = I.widgetMargin), "widgetTarget" in I && i(59, wt = I.widgetTarget), "onEvent" in I && i(18, Ne = I.onEvent), "metadataLoaded" in I && i(45, et = I.metadataLoaded), "video" in I && i(2, ve = I.video);
6022
+ "videoSizes" in I && i(47, U = I.videoSizes), "content" in I && i(5, q = I.content), "contentIndex" in I && i(48, j = I.contentIndex), "summary" in I && i(49, Q = I.summary), "introOrOutro" in I && i(50, ne = I.introOrOutro), "activeAdvert" in I && i(51, X = I.activeAdvert), "preloadAdvert" in I && i(52, re = I.preloadAdvert), "advertConsent" in I && i(6, pe = I.advertConsent), "maxImageSize" in I && i(7, ce = I.maxImageSize), "projectId" in I && i(8, ge = I.projectId), "playlistId" in I && i(9, ye = I.playlistId), "contentId" in I && i(10, be = I.contentId), "contentLanguage" in I && i(11, ae = I.contentLanguage), "platform" in I && i(12, z = I.platform), "vendorIdentifier" in I && i(13, x = I.vendorIdentifier), "bundleIdentifier" in I && i(14, b = I.bundleIdentifier), "playbackState" in I && i(0, P = I.playbackState), "duration" in I && i(3, Ce = I.duration), "currentTime" in I && i(1, me = I.currentTime), "playbackRate" in I && i(4, De = I.playbackRate), "prevPercentage" in I && i(46, te = I.prevPercentage), "showUserInterface" in I && i(15, K = I.showUserInterface), "videoBehindWidget" in I && i(53, We = I.videoBehindWidget), "videoBehindStatic" in I && i(16, Ie = I.videoBehindStatic), "videoMightBeShown" in I && i(54, Ke = I.videoMightBeShown), "aspectRatio" in I && i(17, je = I.aspectRatio), "isFullScreen" in I && i(55, Ge = I.isFullScreen), "widgetPosition" in I && i(56, Re = I.widgetPosition), "widgetWidth" in I && i(57, gt = I.widgetWidth), "widgetMargin" in I && i(58, $e = I.widgetMargin), "widgetTarget" in I && i(59, wt = I.widgetTarget), "onEvent" in I && i(18, Ne = I.onEvent), "metadataLoaded" in I && i(45, et = I.metadataLoaded), "video" in I && i(2, ve = I.video);
6023
6023
  }, t.$$.update = () => {
6024
6024
  t.$$.dirty[0] & /*content, videoBehindStatic*/
6025
6025
  65568 | t.$$.dirty[1] & /*videoBehindWidget*/
@@ -6055,7 +6055,7 @@ function Nm(t, e, i) {
6055
6055
  1048576 && i(22, c = X == null ? void 0 : X.vastUrl), t.$$.dirty[1] & /*activeAdvert*/
6056
6056
  1048576 && i(32, g = X == null ? void 0 : X.placement), t.$$.dirty[1] & /*activeAdvert*/
6057
6057
  1048576 && i(31, f = X == null ? void 0 : X.clickThroughUrl), t.$$.dirty[1] & /*preloadAdvert*/
6058
- 2097152 && i(30, A = ae == null ? void 0 : ae.vastUrl), t.$$.dirty[0] & /*vastUrl*/
6058
+ 2097152 && i(30, A = re == null ? void 0 : re.vastUrl), t.$$.dirty[0] & /*vastUrl*/
6059
6059
  4194304 | t.$$.dirty[1] & /*metadataLoaded*/
6060
6060
  16384 && i(69, _ = !c && (et || _m())), t.$$.dirty[0] & /*playbackState*/
6061
6061
  1 | t.$$.dirty[2] & /*controlPlayback*/
@@ -6091,7 +6091,7 @@ function Nm(t, e, i) {
6091
6091
  ge,
6092
6092
  ye,
6093
6093
  be,
6094
- re,
6094
+ ae,
6095
6095
  z,
6096
6096
  x,
6097
6097
  b,
@@ -6132,7 +6132,7 @@ function Nm(t, e, i) {
6132
6132
  Q,
6133
6133
  ne,
6134
6134
  X,
6135
- ae,
6135
+ re,
6136
6136
  We,
6137
6137
  Ke,
6138
6138
  Ge,
@@ -6162,13 +6162,13 @@ function Nm(t, e, i) {
6162
6162
  Je
6163
6163
  ];
6164
6164
  }
6165
- class xm extends Pe {
6165
+ class Fm extends Pe {
6166
6166
  constructor(e) {
6167
6167
  super(), we(
6168
6168
  this,
6169
6169
  e,
6170
+ xm,
6170
6171
  Nm,
6171
- Dm,
6172
6172
  ke,
6173
6173
  {
6174
6174
  videoSizes: 47,
@@ -6415,11 +6415,11 @@ class xm extends Pe {
6415
6415
  this.$$set({ video: e }), d();
6416
6416
  }
6417
6417
  }
6418
- function Fm(t) {
6418
+ function Um(t) {
6419
6419
  const e = t - 1;
6420
6420
  return e * e * e + 1;
6421
6421
  }
6422
- function Um(t, { delay: e = 0, duration: i = 400, easing: n = Fm, x: o = 0, y: s = 0, opacity: l = 0 } = {}) {
6422
+ function Hm(t, { delay: e = 0, duration: i = 400, easing: n = Um, x: o = 0, y: s = 0, opacity: l = 0 } = {}) {
6423
6423
  const a = getComputedStyle(t), r = +a.opacity, u = a.transform === "none" ? "" : a.transform, c = r * (1 - l), [g, f] = zl(o), [A, _] = zl(s);
6424
6424
  return {
6425
6425
  delay: e,
@@ -6478,25 +6478,25 @@ var Or = function() {
6478
6478
  );
6479
6479
  }(), ll = typeof window != "undefined" && typeof document != "undefined" && window.document === document, ls = function() {
6480
6480
  return typeof global != "undefined" && global.Math === Math ? global : typeof self != "undefined" && self.Math === Math ? self : typeof window != "undefined" && window.Math === Math ? window : Function("return this")();
6481
- }(), Hm = function() {
6481
+ }(), qm = function() {
6482
6482
  return typeof requestAnimationFrame == "function" ? requestAnimationFrame.bind(ls) : function(t) {
6483
6483
  return setTimeout(function() {
6484
6484
  return t(Date.now());
6485
6485
  }, 1e3 / 60);
6486
6486
  };
6487
- }(), qm = 2;
6488
- function Ym(t, e) {
6487
+ }(), Ym = 2;
6488
+ function Zm(t, e) {
6489
6489
  var i = !1, n = !1, o = 0;
6490
6490
  function s() {
6491
6491
  i && (i = !1, t()), n && a();
6492
6492
  }
6493
6493
  function l() {
6494
- Hm(s);
6494
+ qm(s);
6495
6495
  }
6496
6496
  function a() {
6497
6497
  var r = Date.now();
6498
6498
  if (i) {
6499
- if (r - o < qm)
6499
+ if (r - o < Ym)
6500
6500
  return;
6501
6501
  n = !0;
6502
6502
  } else
@@ -6505,11 +6505,11 @@ function Ym(t, e) {
6505
6505
  }
6506
6506
  return a;
6507
6507
  }
6508
- var Zm = 20, Km = ["top", "right", "bottom", "left", "width", "height", "size", "weight"], Gm = typeof MutationObserver != "undefined", Jm = (
6508
+ var Km = 20, Gm = ["top", "right", "bottom", "left", "width", "height", "size", "weight"], Jm = typeof MutationObserver != "undefined", Xm = (
6509
6509
  /** @class */
6510
6510
  function() {
6511
6511
  function t() {
6512
- this.connected_ = !1, this.mutationEventsAdded_ = !1, this.mutationsObserver_ = null, this.observers_ = [], this.onTransitionEnd_ = this.onTransitionEnd_.bind(this), this.refresh = Ym(this.refresh.bind(this), Zm);
6512
+ this.connected_ = !1, this.mutationEventsAdded_ = !1, this.mutationsObserver_ = null, this.observers_ = [], this.onTransitionEnd_ = this.onTransitionEnd_.bind(this), this.refresh = Zm(this.refresh.bind(this), Km);
6513
6513
  }
6514
6514
  return t.prototype.addObserver = function(e) {
6515
6515
  ~this.observers_.indexOf(e) || this.observers_.push(e), this.connected_ || this.connect_();
@@ -6527,7 +6527,7 @@ var Zm = 20, Km = ["top", "right", "bottom", "left", "width", "height", "size",
6527
6527
  return i.broadcastActive();
6528
6528
  }), e.length > 0;
6529
6529
  }, t.prototype.connect_ = function() {
6530
- !ll || this.connected_ || (document.addEventListener("transitionend", this.onTransitionEnd_), window.addEventListener("resize", this.refresh), Gm ? (this.mutationsObserver_ = new MutationObserver(this.refresh), this.mutationsObserver_.observe(document, {
6530
+ !ll || this.connected_ || (document.addEventListener("transitionend", this.onTransitionEnd_), window.addEventListener("resize", this.refresh), Jm ? (this.mutationsObserver_ = new MutationObserver(this.refresh), this.mutationsObserver_.observe(document, {
6531
6531
  attributes: !0,
6532
6532
  childList: !0,
6533
6533
  characterData: !0,
@@ -6536,7 +6536,7 @@ var Zm = 20, Km = ["top", "right", "bottom", "left", "width", "height", "size",
6536
6536
  }, t.prototype.disconnect_ = function() {
6537
6537
  !ll || !this.connected_ || (document.removeEventListener("transitionend", this.onTransitionEnd_), window.removeEventListener("resize", this.refresh), this.mutationsObserver_ && this.mutationsObserver_.disconnect(), this.mutationEventsAdded_ && document.removeEventListener("DOMSubtreeModified", this.refresh), this.mutationsObserver_ = null, this.mutationEventsAdded_ = !1, this.connected_ = !1);
6538
6538
  }, t.prototype.onTransitionEnd_ = function(e) {
6539
- var i = e.propertyName, n = i === void 0 ? "" : i, o = Km.some(function(s) {
6539
+ var i = e.propertyName, n = i === void 0 ? "" : i, o = Gm.some(function(s) {
6540
6540
  return !!~n.indexOf(s);
6541
6541
  });
6542
6542
  o && this.refresh();
@@ -6570,42 +6570,42 @@ function ia(t) {
6570
6570
  return n + as(s);
6571
6571
  }, 0);
6572
6572
  }
6573
- function Xm(t) {
6573
+ function Qm(t) {
6574
6574
  for (var e = ["top", "right", "bottom", "left"], i = {}, n = 0, o = e; n < o.length; n++) {
6575
6575
  var s = o[n], l = t["padding-" + s];
6576
6576
  i[s] = as(l);
6577
6577
  }
6578
6578
  return i;
6579
6579
  }
6580
- function Qm(t) {
6580
+ function $m(t) {
6581
6581
  var e = t.getBBox();
6582
6582
  return Ms(0, 0, e.width, e.height);
6583
6583
  }
6584
- function $m(t) {
6584
+ function eh(t) {
6585
6585
  var e = t.clientWidth, i = t.clientHeight;
6586
6586
  if (!e && !i)
6587
6587
  return Vr;
6588
- var n = Qn(t).getComputedStyle(t), o = Xm(n), s = o.left + o.right, l = o.top + o.bottom, a = as(n.width), r = as(n.height);
6589
- if (n.boxSizing === "border-box" && (Math.round(a + s) !== e && (a -= ia(n, "left", "right") + s), Math.round(r + l) !== i && (r -= ia(n, "top", "bottom") + l)), !th(t)) {
6588
+ var n = Qn(t).getComputedStyle(t), o = Qm(n), s = o.left + o.right, l = o.top + o.bottom, a = as(n.width), r = as(n.height);
6589
+ if (n.boxSizing === "border-box" && (Math.round(a + s) !== e && (a -= ia(n, "left", "right") + s), Math.round(r + l) !== i && (r -= ia(n, "top", "bottom") + l)), !ih(t)) {
6590
6590
  var u = Math.round(a + s) - e, c = Math.round(r + l) - i;
6591
6591
  Math.abs(u) !== 1 && (a -= u), Math.abs(c) !== 1 && (r -= c);
6592
6592
  }
6593
6593
  return Ms(o.left, o.top, a, r);
6594
6594
  }
6595
- var eh = /* @__PURE__ */ function() {
6595
+ var th = /* @__PURE__ */ function() {
6596
6596
  return typeof SVGGraphicsElement != "undefined" ? function(t) {
6597
6597
  return t instanceof Qn(t).SVGGraphicsElement;
6598
6598
  } : function(t) {
6599
6599
  return t instanceof Qn(t).SVGElement && typeof t.getBBox == "function";
6600
6600
  };
6601
6601
  }();
6602
- function th(t) {
6603
- return t === Qn(t).document.documentElement;
6604
- }
6605
6602
  function ih(t) {
6606
- return ll ? eh(t) ? Qm(t) : $m(t) : Vr;
6603
+ return t === Qn(t).document.documentElement;
6607
6604
  }
6608
6605
  function nh(t) {
6606
+ return ll ? th(t) ? $m(t) : eh(t) : Vr;
6607
+ }
6608
+ function oh(t) {
6609
6609
  var e = t.x, i = t.y, n = t.width, o = t.height, s = typeof DOMRectReadOnly != "undefined" ? DOMRectReadOnly : Object, l = Object.create(s.prototype);
6610
6610
  return Br(l, {
6611
6611
  x: e,
@@ -6621,30 +6621,30 @@ function nh(t) {
6621
6621
  function Ms(t, e, i, n) {
6622
6622
  return { x: t, y: e, width: i, height: n };
6623
6623
  }
6624
- var oh = (
6624
+ var sh = (
6625
6625
  /** @class */
6626
6626
  function() {
6627
6627
  function t(e) {
6628
6628
  this.broadcastWidth = 0, this.broadcastHeight = 0, this.contentRect_ = Ms(0, 0, 0, 0), this.target = e;
6629
6629
  }
6630
6630
  return t.prototype.isActive = function() {
6631
- var e = ih(this.target);
6631
+ var e = nh(this.target);
6632
6632
  return this.contentRect_ = e, e.width !== this.broadcastWidth || e.height !== this.broadcastHeight;
6633
6633
  }, t.prototype.broadcastRect = function() {
6634
6634
  var e = this.contentRect_;
6635
6635
  return this.broadcastWidth = e.width, this.broadcastHeight = e.height, e;
6636
6636
  }, t;
6637
6637
  }()
6638
- ), sh = (
6638
+ ), lh = (
6639
6639
  /** @class */
6640
6640
  /* @__PURE__ */ function() {
6641
6641
  function t(e, i) {
6642
- var n = nh(i);
6642
+ var n = oh(i);
6643
6643
  Br(this, { target: e, contentRect: n });
6644
6644
  }
6645
6645
  return t;
6646
6646
  }()
6647
- ), lh = (
6647
+ ), ah = (
6648
6648
  /** @class */
6649
6649
  function() {
6650
6650
  function t(e, i, n) {
@@ -6659,7 +6659,7 @@ var oh = (
6659
6659
  if (!(e instanceof Qn(e).Element))
6660
6660
  throw new TypeError('parameter 1 is not of type "Element".');
6661
6661
  var i = this.observations_;
6662
- i.has(e) || (i.set(e, new oh(e)), this.controller_.addObserver(this), this.controller_.refresh());
6662
+ i.has(e) || (i.set(e, new sh(e)), this.controller_.addObserver(this), this.controller_.refresh());
6663
6663
  }
6664
6664
  }, t.prototype.unobserve = function(e) {
6665
6665
  if (!arguments.length)
@@ -6680,7 +6680,7 @@ var oh = (
6680
6680
  }, t.prototype.broadcastActive = function() {
6681
6681
  if (this.hasActive()) {
6682
6682
  var e = this.callbackCtx_, i = this.activeObservations_.map(function(n) {
6683
- return new sh(n.target, n.broadcastRect());
6683
+ return new lh(n.target, n.broadcastRect());
6684
6684
  });
6685
6685
  this.callback_.call(e, i, e), this.clearActive();
6686
6686
  }
@@ -6698,7 +6698,7 @@ var oh = (
6698
6698
  throw new TypeError("Cannot call a class as a function.");
6699
6699
  if (!arguments.length)
6700
6700
  throw new TypeError("1 argument required, but only 0 present.");
6701
- var i = Jm.getInstance(), n = new lh(e, i, this);
6701
+ var i = Xm.getInstance(), n = new ah(e, i, this);
6702
6702
  Wr.set(this, n);
6703
6703
  }
6704
6704
  return t;
@@ -6714,11 +6714,11 @@ var oh = (
6714
6714
  return (e = Wr.get(this))[t].apply(e, arguments);
6715
6715
  };
6716
6716
  });
6717
- var ah = function() {
6717
+ var rh = function() {
6718
6718
  return typeof ls.ResizeObserver != "undefined" ? ls.ResizeObserver : Mr;
6719
6719
  }();
6720
- const $i = (t, e, i) => Oe(t, e, e === "style" ? uh(i) : i), rh = /;(?!([^()]*\([^()]*\))*[^()]*\))/, uh = (t) => t.split(rh).filter((e) => e).map((e) => e + " !important").join(";");
6721
- function dh(t) {
6720
+ const $i = (t, e, i) => Oe(t, e, e === "style" ? dh(i) : i), uh = /;(?!([^()]*\([^()]*\))*[^()]*\))/, dh = (t) => t.split(uh).filter((e) => e).map((e) => e + " !important").join(";");
6721
+ function ch(t) {
6722
6722
  let e, i, n, o;
6723
6723
  return {
6724
6724
  c() {
@@ -6754,15 +6754,15 @@ function dh(t) {
6754
6754
  }
6755
6755
  };
6756
6756
  }
6757
- function ch(t, e, i) {
6757
+ function gh(t, e, i) {
6758
6758
  let { scale: n = 1 } = e, { color: o = "#323232" } = e;
6759
6759
  return t.$$set = (s) => {
6760
6760
  "scale" in s && i(0, n = s.scale), "color" in s && i(1, o = s.color);
6761
6761
  }, [n, o];
6762
6762
  }
6763
- class gh extends Pe {
6763
+ class fh extends Pe {
6764
6764
  constructor(e) {
6765
- super(), we(this, e, ch, dh, ke, { scale: 0, color: 1 });
6765
+ super(), we(this, e, gh, ch, ke, { scale: 0, color: 1 });
6766
6766
  }
6767
6767
  get scale() {
6768
6768
  return this.$$.ctx[0];
@@ -6777,8 +6777,8 @@ class gh extends Pe {
6777
6777
  this.$$set({ color: e }), d();
6778
6778
  }
6779
6779
  }
6780
- const en = (t, e, i) => Oe(t, e, e === "style" ? mh(i) : i), fh = /;(?!([^()]*\([^()]*\))*[^()]*\))/, mh = (t) => t.split(fh).filter((e) => e).map((e) => e + " !important").join(";");
6781
- function hh(t) {
6780
+ const en = (t, e, i) => Oe(t, e, e === "style" ? hh(i) : i), mh = /;(?!([^()]*\([^()]*\))*[^()]*\))/, hh = (t) => t.split(mh).filter((e) => e).map((e) => e + " !important").join(";");
6781
+ function _h(t) {
6782
6782
  let e, i, n, o;
6783
6783
  return {
6784
6784
  c() {
@@ -6814,15 +6814,15 @@ function hh(t) {
6814
6814
  }
6815
6815
  };
6816
6816
  }
6817
- function _h(t, e, i) {
6817
+ function Ah(t, e, i) {
6818
6818
  let { scale: n = 1 } = e, { color: o = "#323232" } = e;
6819
6819
  return t.$$set = (s) => {
6820
6820
  "scale" in s && i(0, n = s.scale), "color" in s && i(1, o = s.color);
6821
6821
  }, [n, o];
6822
6822
  }
6823
- class Ah extends Pe {
6823
+ class yh extends Pe {
6824
6824
  constructor(e) {
6825
- super(), we(this, e, _h, hh, ke, { scale: 0, color: 1 });
6825
+ super(), we(this, e, Ah, _h, ke, { scale: 0, color: 1 });
6826
6826
  }
6827
6827
  get scale() {
6828
6828
  return this.$$.ctx[0];
@@ -6837,10 +6837,10 @@ class Ah extends Pe {
6837
6837
  this.$$set({ color: e }), d();
6838
6838
  }
6839
6839
  }
6840
- const na = (t, e, i) => ei(t, e, i, 1), Dn = (t, e, i) => Oe(t, e, e === "style" ? vh(i) : i), yh = /;(?!([^()]*\([^()]*\))*[^()]*\))/, vh = (t) => t.split(yh).filter((e) => e).map((e) => e + " !important").join(";");
6841
- function bh(t) {
6840
+ const na = (t, e, i) => ei(t, e, i, 1), Dn = (t, e, i) => Oe(t, e, e === "style" ? bh(i) : i), vh = /;(?!([^()]*\([^()]*\))*[^()]*\))/, bh = (t) => t.split(vh).filter((e) => e).map((e) => e + " !important").join(";");
6841
+ function kh(t) {
6842
6842
  let e, i;
6843
- return e = new gh({
6843
+ return e = new fh({
6844
6844
  props: {
6845
6845
  scale: (
6846
6846
  /*scale*/
@@ -6877,9 +6877,9 @@ function bh(t) {
6877
6877
  }
6878
6878
  };
6879
6879
  }
6880
- function kh(t) {
6880
+ function ph(t) {
6881
6881
  let e, i;
6882
- return e = new Ah({
6882
+ return e = new yh({
6883
6883
  props: {
6884
6884
  scale: (
6885
6885
  /*scale*/
@@ -6916,9 +6916,9 @@ function kh(t) {
6916
6916
  }
6917
6917
  };
6918
6918
  }
6919
- function ph(t) {
6919
+ function Sh(t) {
6920
6920
  let e, i, n, o, s, l;
6921
- const a = [kh, bh], r = [];
6921
+ const a = [ph, kh], r = [];
6922
6922
  function u(c, g) {
6923
6923
  return (
6924
6924
  /*isPlaying*/
@@ -6982,7 +6982,7 @@ function ph(t) {
6982
6982
  }
6983
6983
  };
6984
6984
  }
6985
- function Sh(t, e, i) {
6985
+ function wh(t, e, i) {
6986
6986
  let n, { isPlaying: o = !1 } = e, { tabindex: s = 0 } = e, { scale: l = 1 } = e, { color: a = "#323232" } = e, { onEvent: r = () => {
6987
6987
  } } = e;
6988
6988
  const u = (c) => {
@@ -7003,7 +7003,7 @@ function Sh(t, e, i) {
7003
7003
  }
7004
7004
  class Er extends Pe {
7005
7005
  constructor(e) {
7006
- super(), we(this, e, Sh, ph, ke, {
7006
+ super(), we(this, e, wh, Sh, ke, {
7007
7007
  isPlaying: 0,
7008
7008
  tabindex: 1,
7009
7009
  scale: 2,
@@ -7042,8 +7042,8 @@ class Er extends Pe {
7042
7042
  this.$$set({ onEvent: e }), d();
7043
7043
  }
7044
7044
  }
7045
- const wn = (t, e, i) => ei(t, e, i, 1), Pi = (t, e, i) => Oe(t, e, e === "style" ? Ph(i) : i), wh = /;(?!([^()]*\([^()]*\))*[^()]*\))/, Ph = (t) => t.split(wh).filter((e) => e).map((e) => e + " !important").join(";");
7046
- function Th(t) {
7045
+ const wn = (t, e, i) => ei(t, e, i, 1), Pi = (t, e, i) => Oe(t, e, e === "style" ? Th(i) : i), Ph = /;(?!([^()]*\([^()]*\))*[^()]*\))/, Th = (t) => t.split(Ph).filter((e) => e).map((e) => e + " !important").join(";");
7046
+ function Ch(t) {
7047
7047
  let e, i, n, o, s, l, a;
7048
7048
  return {
7049
7049
  c() {
@@ -7164,7 +7164,7 @@ function Th(t) {
7164
7164
  }
7165
7165
  };
7166
7166
  }
7167
- function Ch(t, e, i) {
7167
+ function Ih(t, e, i) {
7168
7168
  let n, o, s, l, { rates: a = [] } = e, { rate: r = 1 } = e, { scale: u = 1 } = e, { color: c = "#323232" } = e, { onEvent: g = () => {
7169
7169
  } } = e;
7170
7170
  const f = () => {
@@ -7203,9 +7203,9 @@ function Ch(t, e, i) {
7203
7203
  g
7204
7204
  ];
7205
7205
  }
7206
- class Ih extends Pe {
7206
+ class Oh extends Pe {
7207
7207
  constructor(e) {
7208
- super(), we(this, e, Ch, Th, ke, {
7208
+ super(), we(this, e, Ih, Ch, ke, {
7209
7209
  rates: 8,
7210
7210
  rate: 0,
7211
7211
  scale: 9,
@@ -7244,8 +7244,8 @@ class Ih extends Pe {
7244
7244
  this.$$set({ onEvent: e }), d();
7245
7245
  }
7246
7246
  }
7247
- const ai = (t, e, i) => Oe(t, e, e === "style" ? Bh(i) : i), Oh = /;(?!([^()]*\([^()]*\))*[^()]*\))/, Bh = (t) => t.split(Oh).filter((e) => e).map((e) => e + " !important").join(";");
7248
- function Vh(t) {
7247
+ const ai = (t, e, i) => Oe(t, e, e === "style" ? Vh(i) : i), Bh = /;(?!([^()]*\([^()]*\))*[^()]*\))/, Vh = (t) => t.split(Bh).filter((e) => e).map((e) => e + " !important").join(";");
7248
+ function Wh(t) {
7249
7249
  let e, i, n, o, s, l;
7250
7250
  return {
7251
7251
  c() {
@@ -7300,15 +7300,15 @@ function Vh(t) {
7300
7300
  }
7301
7301
  };
7302
7302
  }
7303
- function Wh(t, e, i) {
7303
+ function Mh(t, e, i) {
7304
7304
  let { scale: n = 1 } = e, { color: o = "#323232" } = e, { seconds: s = 10 } = e;
7305
7305
  return t.$$set = (l) => {
7306
7306
  "scale" in l && i(0, n = l.scale), "color" in l && i(1, o = l.color), "seconds" in l && i(2, s = l.seconds);
7307
7307
  }, [n, o, s];
7308
7308
  }
7309
- class Mh extends Pe {
7309
+ class Eh extends Pe {
7310
7310
  constructor(e) {
7311
- super(), we(this, e, Wh, Vh, ke, { scale: 0, color: 1, seconds: 2 });
7311
+ super(), we(this, e, Mh, Wh, ke, { scale: 0, color: 1, seconds: 2 });
7312
7312
  }
7313
7313
  get scale() {
7314
7314
  return this.$$.ctx[0];
@@ -7329,8 +7329,8 @@ class Mh extends Pe {
7329
7329
  this.$$set({ seconds: e }), d();
7330
7330
  }
7331
7331
  }
7332
- const tn = (t, e, i) => Oe(t, e, e === "style" ? zh(i) : i), Eh = /;(?!([^()]*\([^()]*\))*[^()]*\))/, zh = (t) => t.split(Eh).filter((e) => e).map((e) => e + " !important").join(";");
7333
- function Lh(t) {
7332
+ const tn = (t, e, i) => Oe(t, e, e === "style" ? Lh(i) : i), zh = /;(?!([^()]*\([^()]*\))*[^()]*\))/, Lh = (t) => t.split(zh).filter((e) => e).map((e) => e + " !important").join(";");
7333
+ function jh(t) {
7334
7334
  let e, i, n, o;
7335
7335
  return {
7336
7336
  c() {
@@ -7366,15 +7366,15 @@ function Lh(t) {
7366
7366
  }
7367
7367
  };
7368
7368
  }
7369
- function jh(t, e, i) {
7369
+ function Rh(t, e, i) {
7370
7370
  let { scale: n = 1 } = e, { color: o = "#323232" } = e;
7371
7371
  return t.$$set = (s) => {
7372
7372
  "scale" in s && i(0, n = s.scale), "color" in s && i(1, o = s.color);
7373
7373
  }, [n, o];
7374
7374
  }
7375
- class Rh extends Pe {
7375
+ class Dh extends Pe {
7376
7376
  constructor(e) {
7377
- super(), we(this, e, jh, Lh, ke, { scale: 0, color: 1 });
7377
+ super(), we(this, e, Rh, jh, ke, { scale: 0, color: 1 });
7378
7378
  }
7379
7379
  get scale() {
7380
7380
  return this.$$.ctx[0];
@@ -7389,8 +7389,8 @@ class Rh extends Pe {
7389
7389
  this.$$set({ color: e }), d();
7390
7390
  }
7391
7391
  }
7392
- const zi = (t, e, i) => Oe(t, e, e === "style" ? Nh(i) : i), Dh = /;(?!([^()]*\([^()]*\))*[^()]*\))/, Nh = (t) => t.split(Dh).filter((e) => e).map((e) => e + " !important").join(";");
7393
- function xh(t) {
7392
+ const zi = (t, e, i) => Oe(t, e, e === "style" ? xh(i) : i), Nh = /;(?!([^()]*\([^()]*\))*[^()]*\))/, xh = (t) => t.split(Nh).filter((e) => e).map((e) => e + " !important").join(";");
7393
+ function Fh(t) {
7394
7394
  let e, i, n, o, s;
7395
7395
  return {
7396
7396
  c() {
@@ -7437,15 +7437,15 @@ function xh(t) {
7437
7437
  }
7438
7438
  };
7439
7439
  }
7440
- function Fh(t, e, i) {
7440
+ function Uh(t, e, i) {
7441
7441
  let { scale: n = 1 } = e, { color: o = "#323232" } = e;
7442
7442
  return t.$$set = (s) => {
7443
7443
  "scale" in s && i(0, n = s.scale), "color" in s && i(1, o = s.color);
7444
7444
  }, [n, o];
7445
7445
  }
7446
- class Uh extends Pe {
7446
+ class Hh extends Pe {
7447
7447
  constructor(e) {
7448
- super(), we(this, e, Fh, xh, ke, { scale: 0, color: 1 });
7448
+ super(), we(this, e, Uh, Fh, ke, { scale: 0, color: 1 });
7449
7449
  }
7450
7450
  get scale() {
7451
7451
  return this.$$.ctx[0];
@@ -7460,10 +7460,10 @@ class Uh extends Pe {
7460
7460
  this.$$set({ color: e }), d();
7461
7461
  }
7462
7462
  }
7463
- const Do = (t, e, i) => Oe(t, e, e === "style" ? qh(i) : i), Hh = /;(?!([^()]*\([^()]*\))*[^()]*\))/, qh = (t) => t.split(Hh).filter((e) => e).map((e) => e + " !important").join(";");
7464
- function Yh(t) {
7463
+ const Do = (t, e, i) => Oe(t, e, e === "style" ? Yh(i) : i), qh = /;(?!([^()]*\([^()]*\))*[^()]*\))/, Yh = (t) => t.split(qh).filter((e) => e).map((e) => e + " !important").join(";");
7464
+ function Zh(t) {
7465
7465
  let e, i;
7466
- return e = new Uh({
7466
+ return e = new Hh({
7467
7467
  props: {
7468
7468
  scale: (
7469
7469
  /*scale*/
@@ -7500,9 +7500,9 @@ function Yh(t) {
7500
7500
  }
7501
7501
  };
7502
7502
  }
7503
- function Zh(t) {
7503
+ function Kh(t) {
7504
7504
  let e, i;
7505
- return e = new Rh({
7505
+ return e = new Dh({
7506
7506
  props: {
7507
7507
  scale: (
7508
7508
  /*scale*/
@@ -7539,9 +7539,9 @@ function Zh(t) {
7539
7539
  }
7540
7540
  };
7541
7541
  }
7542
- function Kh(t) {
7542
+ function Gh(t) {
7543
7543
  let e, i;
7544
- return e = new Mh({
7544
+ return e = new Eh({
7545
7545
  props: {
7546
7546
  seconds: (
7547
7547
  /*backwardsSeconds*/
@@ -7584,9 +7584,9 @@ function Kh(t) {
7584
7584
  }
7585
7585
  };
7586
7586
  }
7587
- function Gh(t) {
7587
+ function Jh(t) {
7588
7588
  let e, i, n, o, s, l;
7589
- const a = [Kh, Zh, Yh], r = [];
7589
+ const a = [Gh, Kh, Zh], r = [];
7590
7590
  function u(c, g) {
7591
7591
  return (
7592
7592
  /*isSeconds*/
@@ -7642,7 +7642,7 @@ function Gh(t) {
7642
7642
  }
7643
7643
  };
7644
7644
  }
7645
- function Jh(t, e, i) {
7645
+ function Xh(t, e, i) {
7646
7646
  let n, o, s, l, { style: a = "segments" } = e, { scale: r = 1 } = e, { color: u = "#323232" } = e, { onEvent: c = () => {
7647
7647
  } } = e, g;
7648
7648
  const f = () => {
@@ -7675,9 +7675,9 @@ function Jh(t, e, i) {
7675
7675
  c
7676
7676
  ];
7677
7677
  }
7678
- class Xh extends Pe {
7678
+ class Qh extends Pe {
7679
7679
  constructor(e) {
7680
- super(), we(this, e, Jh, Gh, ke, { style: 8, scale: 0, color: 1, onEvent: 9 });
7680
+ super(), we(this, e, Xh, Jh, ke, { style: 8, scale: 0, color: 1, onEvent: 9 });
7681
7681
  }
7682
7682
  get style() {
7683
7683
  return this.$$.ctx[8];
@@ -7704,8 +7704,8 @@ class Xh extends Pe {
7704
7704
  this.$$set({ onEvent: e }), d();
7705
7705
  }
7706
7706
  }
7707
- const ri = (t, e, i) => Oe(t, e, e === "style" ? $h(i) : i), Qh = /;(?!([^()]*\([^()]*\))*[^()]*\))/, $h = (t) => t.split(Qh).filter((e) => e).map((e) => e + " !important").join(";");
7708
- function e2(t) {
7707
+ const ri = (t, e, i) => Oe(t, e, e === "style" ? e2(i) : i), $h = /;(?!([^()]*\([^()]*\))*[^()]*\))/, e2 = (t) => t.split($h).filter((e) => e).map((e) => e + " !important").join(";");
7708
+ function t2(t) {
7709
7709
  let e, i, n, o, s, l;
7710
7710
  return {
7711
7711
  c() {
@@ -7760,15 +7760,15 @@ function e2(t) {
7760
7760
  }
7761
7761
  };
7762
7762
  }
7763
- function t2(t, e, i) {
7763
+ function i2(t, e, i) {
7764
7764
  let { scale: n = 1 } = e, { color: o = "#323232" } = e, { seconds: s = 10 } = e;
7765
7765
  return t.$$set = (l) => {
7766
7766
  "scale" in l && i(0, n = l.scale), "color" in l && i(1, o = l.color), "seconds" in l && i(2, s = l.seconds);
7767
7767
  }, [n, o, s];
7768
7768
  }
7769
- class i2 extends Pe {
7769
+ class n2 extends Pe {
7770
7770
  constructor(e) {
7771
- super(), we(this, e, t2, e2, ke, { scale: 0, color: 1, seconds: 2 });
7771
+ super(), we(this, e, i2, t2, ke, { scale: 0, color: 1, seconds: 2 });
7772
7772
  }
7773
7773
  get scale() {
7774
7774
  return this.$$.ctx[0];
@@ -7789,8 +7789,8 @@ class i2 extends Pe {
7789
7789
  this.$$set({ seconds: e }), d();
7790
7790
  }
7791
7791
  }
7792
- const nn = (t, e, i) => Oe(t, e, e === "style" ? o2(i) : i), n2 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, o2 = (t) => t.split(n2).filter((e) => e).map((e) => e + " !important").join(";");
7793
- function s2(t) {
7792
+ const nn = (t, e, i) => Oe(t, e, e === "style" ? s2(i) : i), o2 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, s2 = (t) => t.split(o2).filter((e) => e).map((e) => e + " !important").join(";");
7793
+ function l2(t) {
7794
7794
  let e, i, n, o;
7795
7795
  return {
7796
7796
  c() {
@@ -7826,15 +7826,15 @@ function s2(t) {
7826
7826
  }
7827
7827
  };
7828
7828
  }
7829
- function l2(t, e, i) {
7829
+ function a2(t, e, i) {
7830
7830
  let { scale: n = 1 } = e, { color: o = "#323232" } = e;
7831
7831
  return t.$$set = (s) => {
7832
7832
  "scale" in s && i(0, n = s.scale), "color" in s && i(1, o = s.color);
7833
7833
  }, [n, o];
7834
7834
  }
7835
- class a2 extends Pe {
7835
+ class r2 extends Pe {
7836
7836
  constructor(e) {
7837
- super(), we(this, e, l2, s2, ke, { scale: 0, color: 1 });
7837
+ super(), we(this, e, a2, l2, ke, { scale: 0, color: 1 });
7838
7838
  }
7839
7839
  get scale() {
7840
7840
  return this.$$.ctx[0];
@@ -7849,8 +7849,8 @@ class a2 extends Pe {
7849
7849
  this.$$set({ color: e }), d();
7850
7850
  }
7851
7851
  }
7852
- const Li = (t, e, i) => Oe(t, e, e === "style" ? u2(i) : i), r2 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, u2 = (t) => t.split(r2).filter((e) => e).map((e) => e + " !important").join(";");
7853
- function d2(t) {
7852
+ const Li = (t, e, i) => Oe(t, e, e === "style" ? d2(i) : i), u2 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, d2 = (t) => t.split(u2).filter((e) => e).map((e) => e + " !important").join(";");
7853
+ function c2(t) {
7854
7854
  let e, i, n, o, s;
7855
7855
  return {
7856
7856
  c() {
@@ -7897,15 +7897,15 @@ function d2(t) {
7897
7897
  }
7898
7898
  };
7899
7899
  }
7900
- function c2(t, e, i) {
7900
+ function g2(t, e, i) {
7901
7901
  let { scale: n = 1 } = e, { color: o = "#323232" } = e;
7902
7902
  return t.$$set = (s) => {
7903
7903
  "scale" in s && i(0, n = s.scale), "color" in s && i(1, o = s.color);
7904
7904
  }, [n, o];
7905
7905
  }
7906
- class g2 extends Pe {
7906
+ class f2 extends Pe {
7907
7907
  constructor(e) {
7908
- super(), we(this, e, c2, d2, ke, { scale: 0, color: 1 });
7908
+ super(), we(this, e, g2, c2, ke, { scale: 0, color: 1 });
7909
7909
  }
7910
7910
  get scale() {
7911
7911
  return this.$$.ctx[0];
@@ -7920,10 +7920,10 @@ class g2 extends Pe {
7920
7920
  this.$$set({ color: e }), d();
7921
7921
  }
7922
7922
  }
7923
- const No = (t, e, i) => Oe(t, e, e === "style" ? m2(i) : i), f2 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, m2 = (t) => t.split(f2).filter((e) => e).map((e) => e + " !important").join(";");
7924
- function h2(t) {
7923
+ const No = (t, e, i) => Oe(t, e, e === "style" ? h2(i) : i), m2 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, h2 = (t) => t.split(m2).filter((e) => e).map((e) => e + " !important").join(";");
7924
+ function _2(t) {
7925
7925
  let e, i;
7926
- return e = new g2({
7926
+ return e = new f2({
7927
7927
  props: {
7928
7928
  scale: (
7929
7929
  /*scale*/
@@ -7960,9 +7960,9 @@ function h2(t) {
7960
7960
  }
7961
7961
  };
7962
7962
  }
7963
- function _2(t) {
7963
+ function A2(t) {
7964
7964
  let e, i;
7965
- return e = new a2({
7965
+ return e = new r2({
7966
7966
  props: {
7967
7967
  scale: (
7968
7968
  /*scale*/
@@ -7999,9 +7999,9 @@ function _2(t) {
7999
7999
  }
8000
8000
  };
8001
8001
  }
8002
- function A2(t) {
8002
+ function y2(t) {
8003
8003
  let e, i;
8004
- return e = new i2({
8004
+ return e = new n2({
8005
8005
  props: {
8006
8006
  seconds: (
8007
8007
  /*forwardsSeconds*/
@@ -8044,9 +8044,9 @@ function A2(t) {
8044
8044
  }
8045
8045
  };
8046
8046
  }
8047
- function y2(t) {
8047
+ function v2(t) {
8048
8048
  let e, i, n, o, s, l;
8049
- const a = [A2, _2, h2], r = [];
8049
+ const a = [y2, A2, _2], r = [];
8050
8050
  function u(c, g) {
8051
8051
  return (
8052
8052
  /*isSeconds*/
@@ -8102,7 +8102,7 @@ function y2(t) {
8102
8102
  }
8103
8103
  };
8104
8104
  }
8105
- function v2(t, e, i) {
8105
+ function b2(t, e, i) {
8106
8106
  let n, o, s, l, a, { style: r = "segments" } = e, { scale: u = 1 } = e, { color: c = "#323232" } = e, { onEvent: g = () => {
8107
8107
  } } = e, f;
8108
8108
  const A = () => {
@@ -8137,9 +8137,9 @@ function v2(t, e, i) {
8137
8137
  n
8138
8138
  ];
8139
8139
  }
8140
- class b2 extends Pe {
8140
+ class k2 extends Pe {
8141
8141
  constructor(e) {
8142
- super(), we(this, e, v2, y2, ke, { style: 8, scale: 0, color: 1, onEvent: 9 });
8142
+ super(), we(this, e, b2, v2, ke, { style: 8, scale: 0, color: 1, onEvent: 9 });
8143
8143
  }
8144
8144
  get style() {
8145
8145
  return this.$$.ctx[8];
@@ -8166,8 +8166,8 @@ class b2 extends Pe {
8166
8166
  this.$$set({ onEvent: e }), d();
8167
8167
  }
8168
8168
  }
8169
- const Ti = (t, e, i) => Oe(t, e, e === "style" ? p2(i) : i), k2 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, p2 = (t) => t.split(k2).filter((e) => e).map((e) => e + " !important").join(";");
8170
- function S2(t) {
8169
+ const Ti = (t, e, i) => Oe(t, e, e === "style" ? S2(i) : i), p2 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, S2 = (t) => t.split(p2).filter((e) => e).map((e) => e + " !important").join(";");
8170
+ function w2(t) {
8171
8171
  let e, i, n, o, s, l;
8172
8172
  return {
8173
8173
  c() {
@@ -8214,15 +8214,15 @@ function S2(t) {
8214
8214
  }
8215
8215
  };
8216
8216
  }
8217
- function w2(t, e, i) {
8217
+ function P2(t, e, i) {
8218
8218
  let { scale: n = 1 } = e, { color: o = "#323232" } = e;
8219
8219
  return t.$$set = (s) => {
8220
8220
  "scale" in s && i(0, n = s.scale), "color" in s && i(1, o = s.color);
8221
8221
  }, [n, o];
8222
8222
  }
8223
- class P2 extends Pe {
8223
+ class T2 extends Pe {
8224
8224
  constructor(e) {
8225
- super(), we(this, e, w2, S2, ke, { scale: 0, color: 1 });
8225
+ super(), we(this, e, P2, w2, ke, { scale: 0, color: 1 });
8226
8226
  }
8227
8227
  get scale() {
8228
8228
  return this.$$.ctx[0];
@@ -8237,8 +8237,8 @@ class P2 extends Pe {
8237
8237
  this.$$set({ color: e }), d();
8238
8238
  }
8239
8239
  }
8240
- const Ci = (t, e, i) => Oe(t, e, e === "style" ? C2(i) : i), T2 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, C2 = (t) => t.split(T2).filter((e) => e).map((e) => e + " !important").join(";");
8241
- function I2(t) {
8240
+ const Ci = (t, e, i) => Oe(t, e, e === "style" ? I2(i) : i), C2 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, I2 = (t) => t.split(C2).filter((e) => e).map((e) => e + " !important").join(";");
8241
+ function O2(t) {
8242
8242
  let e, i, n, o, s, l;
8243
8243
  return {
8244
8244
  c() {
@@ -8285,15 +8285,15 @@ function I2(t) {
8285
8285
  }
8286
8286
  };
8287
8287
  }
8288
- function O2(t, e, i) {
8288
+ function B2(t, e, i) {
8289
8289
  let { scale: n = 1 } = e, { color: o = "#323232" } = e;
8290
8290
  return t.$$set = (s) => {
8291
8291
  "scale" in s && i(0, n = s.scale), "color" in s && i(1, o = s.color);
8292
8292
  }, [n, o];
8293
8293
  }
8294
- class B2 extends Pe {
8294
+ class V2 extends Pe {
8295
8295
  constructor(e) {
8296
- super(), we(this, e, O2, I2, ke, { scale: 0, color: 1 });
8296
+ super(), we(this, e, B2, O2, ke, { scale: 0, color: 1 });
8297
8297
  }
8298
8298
  get scale() {
8299
8299
  return this.$$.ctx[0];
@@ -8308,10 +8308,10 @@ class B2 extends Pe {
8308
8308
  this.$$set({ color: e }), d();
8309
8309
  }
8310
8310
  }
8311
- const oa = (t, e, i) => ei(t, e, i, 1), xo = (t, e, i) => Oe(t, e, e === "style" ? W2(i) : i), V2 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, W2 = (t) => t.split(V2).filter((e) => e).map((e) => e + " !important").join(";");
8312
- function M2(t) {
8311
+ const oa = (t, e, i) => ei(t, e, i, 1), xo = (t, e, i) => Oe(t, e, e === "style" ? M2(i) : i), W2 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, M2 = (t) => t.split(W2).filter((e) => e).map((e) => e + " !important").join(";");
8312
+ function E2(t) {
8313
8313
  let e, i;
8314
- return e = new P2({
8314
+ return e = new T2({
8315
8315
  props: {
8316
8316
  scale: (
8317
8317
  /*scale*/
@@ -8348,9 +8348,9 @@ function M2(t) {
8348
8348
  }
8349
8349
  };
8350
8350
  }
8351
- function E2(t) {
8351
+ function z2(t) {
8352
8352
  let e, i;
8353
- return e = new B2({
8353
+ return e = new V2({
8354
8354
  props: {
8355
8355
  scale: (
8356
8356
  /*scale*/
@@ -8387,9 +8387,9 @@ function E2(t) {
8387
8387
  }
8388
8388
  };
8389
8389
  }
8390
- function z2(t) {
8390
+ function L2(t) {
8391
8391
  let e, i, n, o, s, l, a;
8392
- const r = [E2, M2], u = [];
8392
+ const r = [z2, E2], u = [];
8393
8393
  function c(g, f) {
8394
8394
  return (
8395
8395
  /*playlistShowing*/
@@ -8434,7 +8434,7 @@ function z2(t) {
8434
8434
  }
8435
8435
  };
8436
8436
  }
8437
- function L2(t, e, i) {
8437
+ function j2(t, e, i) {
8438
8438
  let { playlistShowing: n } = e, { playerStyle: o } = e, { scale: s = 1 } = e, { color: l = "#323232" } = e, { onEvent: a = () => {
8439
8439
  } } = e;
8440
8440
  const r = () => {
@@ -8448,9 +8448,9 @@ function L2(t, e, i) {
8448
8448
  "playlistShowing" in u && i(0, n = u.playlistShowing), "playerStyle" in u && i(1, o = u.playerStyle), "scale" in u && i(2, s = u.scale), "color" in u && i(3, l = u.color), "onEvent" in u && i(5, a = u.onEvent);
8449
8449
  }, [n, o, s, l, r, a];
8450
8450
  }
8451
- class j2 extends Pe {
8451
+ class R2 extends Pe {
8452
8452
  constructor(e) {
8453
- super(), we(this, e, L2, z2, ke, {
8453
+ super(), we(this, e, j2, L2, ke, {
8454
8454
  playlistShowing: 0,
8455
8455
  playerStyle: 1,
8456
8456
  scale: 2,
@@ -8489,8 +8489,8 @@ class j2 extends Pe {
8489
8489
  this.$$set({ onEvent: e }), d();
8490
8490
  }
8491
8491
  }
8492
- const sa = (t, e, i) => ei(t, e, i, 1), la = (t, e, i) => Oe(t, e, e === "style" ? D2(i) : i), R2 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, D2 = (t) => t.split(R2).filter((e) => e).map((e) => e + " !important").join(";");
8493
- function N2(t) {
8492
+ const sa = (t, e, i) => ei(t, e, i, 1), la = (t, e, i) => Oe(t, e, e === "style" ? N2(i) : i), D2 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, N2 = (t) => t.split(D2).filter((e) => e).map((e) => e + " !important").join(";");
8493
+ function x2(t) {
8494
8494
  let e, i, n;
8495
8495
  const o = (
8496
8496
  /*#slots*/
@@ -8590,7 +8590,7 @@ function N2(t) {
8590
8590
  }
8591
8591
  };
8592
8592
  }
8593
- function x2(t, e, i) {
8593
+ function F2(t, e, i) {
8594
8594
  let { $$slots: n = {}, $$scope: o } = e, { playerStyle: s } = e, { isMobile: l } = e, { isAdvert: a } = e, { fixedPosition: r } = e, { scale: u } = e, { controlsOrder: c } = e;
8595
8595
  return t.$$set = (g) => {
8596
8596
  "playerStyle" in g && i(0, s = g.playerStyle), "isMobile" in g && i(1, l = g.isMobile), "isAdvert" in g && i(2, a = g.isAdvert), "fixedPosition" in g && i(3, r = g.fixedPosition), "scale" in g && i(4, u = g.scale), "controlsOrder" in g && i(5, c = g.controlsOrder), "$$scope" in g && i(6, o = g.$$scope);
@@ -8605,9 +8605,9 @@ function x2(t, e, i) {
8605
8605
  n
8606
8606
  ];
8607
8607
  }
8608
- class F2 extends Pe {
8608
+ class U2 extends Pe {
8609
8609
  constructor(e) {
8610
- super(), we(this, e, x2, N2, ke, {
8610
+ super(), we(this, e, F2, x2, ke, {
8611
8611
  playerStyle: 0,
8612
8612
  isMobile: 1,
8613
8613
  isAdvert: 2,
@@ -8653,8 +8653,8 @@ class F2 extends Pe {
8653
8653
  this.$$set({ controlsOrder: e }), d();
8654
8654
  }
8655
8655
  }
8656
- const on = (t, e, i) => Oe(t, e, e === "style" ? H2(i) : i), U2 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, H2 = (t) => t.split(U2).filter((e) => e).map((e) => e + " !important").join(";");
8657
- function q2(t) {
8656
+ const on = (t, e, i) => Oe(t, e, e === "style" ? q2(i) : i), H2 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, q2 = (t) => t.split(H2).filter((e) => e).map((e) => e + " !important").join(";");
8657
+ function Y2(t) {
8658
8658
  let e, i, n, o;
8659
8659
  return {
8660
8660
  c() {
@@ -8690,15 +8690,15 @@ function q2(t) {
8690
8690
  }
8691
8691
  };
8692
8692
  }
8693
- function Y2(t, e, i) {
8693
+ function Z2(t, e, i) {
8694
8694
  let { scale: n = 1 } = e, { color: o = "#323232" } = e;
8695
8695
  return t.$$set = (s) => {
8696
8696
  "scale" in s && i(0, n = s.scale), "color" in s && i(1, o = s.color);
8697
8697
  }, [n, o];
8698
8698
  }
8699
- class Z2 extends Pe {
8699
+ class K2 extends Pe {
8700
8700
  constructor(e) {
8701
- super(), we(this, e, Y2, q2, ke, { scale: 0, color: 1 });
8701
+ super(), we(this, e, Z2, Y2, ke, { scale: 0, color: 1 });
8702
8702
  }
8703
8703
  get scale() {
8704
8704
  return this.$$.ctx[0];
@@ -8713,10 +8713,10 @@ class Z2 extends Pe {
8713
8713
  this.$$set({ color: e }), d();
8714
8714
  }
8715
8715
  }
8716
- const Fo = (t, e, i) => ei(t, e, i, 1), Us = (t, e, i) => Oe(t, e, e === "style" ? G2(i) : i), K2 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, G2 = (t) => t.split(K2).filter((e) => e).map((e) => e + " !important").join(";");
8716
+ const Fo = (t, e, i) => ei(t, e, i, 1), Us = (t, e, i) => Oe(t, e, e === "style" ? J2(i) : i), G2 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, J2 = (t) => t.split(G2).filter((e) => e).map((e) => e + " !important").join(";");
8717
8717
  function aa(t) {
8718
8718
  let e, i, n, o, s;
8719
- return i = new Z2({
8719
+ return i = new K2({
8720
8720
  props: {
8721
8721
  scale: (
8722
8722
  /*scale*/
@@ -8775,7 +8775,7 @@ function aa(t) {
8775
8775
  }
8776
8776
  };
8777
8777
  }
8778
- function J2(t) {
8778
+ function X2(t) {
8779
8779
  let e, i, n = (
8780
8780
  /*audioIndex*/
8781
8781
  (t[3] !== -1 || /*videoIndex*/
@@ -8807,7 +8807,7 @@ function J2(t) {
8807
8807
  }
8808
8808
  };
8809
8809
  }
8810
- function X2(t, e, i) {
8810
+ function Q2(t, e, i) {
8811
8811
  let { downloadFormats: n } = e, { contentIndex: o } = e, { audio: s } = e, { video: l } = e, { summary: a } = e, { scale: r = 1 } = e, { color: u = "#323232" } = e, { padding: c = 0 } = e, { isVisible: g } = e, { onEvent: f = () => {
8812
8812
  } } = e;
8813
8813
  const A = (p, v, w) => {
@@ -8858,7 +8858,7 @@ function X2(t, e, i) {
8858
8858
  }
8859
8859
  class zr extends Pe {
8860
8860
  constructor(e) {
8861
- super(), we(this, e, X2, J2, ke, {
8861
+ super(), we(this, e, Q2, X2, ke, {
8862
8862
  downloadFormats: 7,
8863
8863
  contentIndex: 8,
8864
8864
  audio: 9,
@@ -8932,8 +8932,8 @@ class zr extends Pe {
8932
8932
  this.$$set({ onEvent: e }), d();
8933
8933
  }
8934
8934
  }
8935
- const sn = (t, e, i) => Oe(t, e, e === "style" ? $2(i) : i), Q2 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, $2 = (t) => t.split(Q2).filter((e) => e).map((e) => e + " !important").join(";");
8936
- function e0(t) {
8935
+ const sn = (t, e, i) => Oe(t, e, e === "style" ? e0(i) : i), $2 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, e0 = (t) => t.split($2).filter((e) => e).map((e) => e + " !important").join(";");
8936
+ function t0(t) {
8937
8937
  let e, i, n, o;
8938
8938
  return {
8939
8939
  c() {
@@ -8969,15 +8969,15 @@ function e0(t) {
8969
8969
  }
8970
8970
  };
8971
8971
  }
8972
- function t0(t, e, i) {
8972
+ function i0(t, e, i) {
8973
8973
  let { scale: n = 1 } = e, { color: o = "#323232" } = e;
8974
8974
  return t.$$set = (s) => {
8975
8975
  "scale" in s && i(0, n = s.scale), "color" in s && i(1, o = s.color);
8976
8976
  }, [n, o];
8977
8977
  }
8978
- class i0 extends Pe {
8978
+ class n0 extends Pe {
8979
8979
  constructor(e) {
8980
- super(), we(this, e, t0, e0, ke, { scale: 0, color: 1 });
8980
+ super(), we(this, e, i0, t0, ke, { scale: 0, color: 1 });
8981
8981
  }
8982
8982
  get scale() {
8983
8983
  return this.$$.ctx[0];
@@ -8992,10 +8992,10 @@ class i0 extends Pe {
8992
8992
  this.$$set({ color: e }), d();
8993
8993
  }
8994
8994
  }
8995
- const ra = (t, e, i) => ei(t, e, i, 1), Hs = (t, e, i) => Oe(t, e, e === "style" ? o0(i) : i), n0 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, o0 = (t) => t.split(n0).filter((e) => e).map((e) => e + " !important").join(";");
8996
- function s0(t) {
8995
+ const ra = (t, e, i) => ei(t, e, i, 1), Hs = (t, e, i) => Oe(t, e, e === "style" ? s0(i) : i), o0 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, s0 = (t) => t.split(o0).filter((e) => e).map((e) => e + " !important").join(";");
8996
+ function l0(t) {
8997
8997
  let e, i, n, o, s;
8998
- return i = new i0({
8998
+ return i = new n0({
8999
8999
  props: {
9000
9000
  scale: (
9001
9001
  /*scale*/
@@ -9043,7 +9043,7 @@ function s0(t) {
9043
9043
  }
9044
9044
  };
9045
9045
  }
9046
- function l0(t, e, i) {
9046
+ function a0(t, e, i) {
9047
9047
  let { scale: n = 1 } = e, { color: o = "#323232" } = e, { onEvent: s = () => {
9048
9048
  } } = e;
9049
9049
  const l = () => {
@@ -9057,9 +9057,9 @@ function l0(t, e, i) {
9057
9057
  "scale" in a && i(0, n = a.scale), "color" in a && i(1, o = a.color), "onEvent" in a && i(3, s = a.onEvent);
9058
9058
  }, [n, o, l, s];
9059
9059
  }
9060
- class a0 extends Pe {
9060
+ class r0 extends Pe {
9061
9061
  constructor(e) {
9062
- super(), we(this, e, l0, s0, ke, { scale: 0, color: 1, onEvent: 3 });
9062
+ super(), we(this, e, a0, l0, ke, { scale: 0, color: 1, onEvent: 3 });
9063
9063
  }
9064
9064
  get scale() {
9065
9065
  return this.$$.ctx[0];
@@ -9080,8 +9080,8 @@ class a0 extends Pe {
9080
9080
  this.$$set({ onEvent: e }), d();
9081
9081
  }
9082
9082
  }
9083
- const ln = (t, e, i) => Oe(t, e, e === "style" ? u0(i) : i), r0 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, u0 = (t) => t.split(r0).filter((e) => e).map((e) => e + " !important").join(";");
9084
- function d0(t) {
9083
+ const ln = (t, e, i) => Oe(t, e, e === "style" ? d0(i) : i), u0 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, d0 = (t) => t.split(u0).filter((e) => e).map((e) => e + " !important").join(";");
9084
+ function c0(t) {
9085
9085
  let e, i, n, o;
9086
9086
  return {
9087
9087
  c() {
@@ -9117,15 +9117,15 @@ function d0(t) {
9117
9117
  }
9118
9118
  };
9119
9119
  }
9120
- function c0(t, e, i) {
9120
+ function g0(t, e, i) {
9121
9121
  let { scale: n = 1 } = e, { color: o = "#323232" } = e;
9122
9122
  return t.$$set = (s) => {
9123
9123
  "scale" in s && i(0, n = s.scale), "color" in s && i(1, o = s.color);
9124
9124
  }, [n, o];
9125
9125
  }
9126
- class g0 extends Pe {
9126
+ class f0 extends Pe {
9127
9127
  constructor(e) {
9128
- super(), we(this, e, c0, d0, ke, { scale: 0, color: 1 });
9128
+ super(), we(this, e, g0, c0, ke, { scale: 0, color: 1 });
9129
9129
  }
9130
9130
  get scale() {
9131
9131
  return this.$$.ctx[0];
@@ -9140,10 +9140,10 @@ class g0 extends Pe {
9140
9140
  this.$$set({ color: e }), d();
9141
9141
  }
9142
9142
  }
9143
- const Uo = (t, e, i) => ei(t, e, i, 1), qs = (t, e, i) => Oe(t, e, e === "style" ? m0(i) : i), f0 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, m0 = (t) => t.split(f0).filter((e) => e).map((e) => e + " !important").join(";");
9144
- function h0(t) {
9143
+ const Uo = (t, e, i) => ei(t, e, i, 1), qs = (t, e, i) => Oe(t, e, e === "style" ? h0(i) : i), m0 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, h0 = (t) => t.split(m0).filter((e) => e).map((e) => e + " !important").join(";");
9144
+ function _0(t) {
9145
9145
  let e, i, n, o, s;
9146
- return i = new g0({
9146
+ return i = new f0({
9147
9147
  props: {
9148
9148
  scale: (
9149
9149
  /*scale*/
@@ -9202,7 +9202,7 @@ function h0(t) {
9202
9202
  }
9203
9203
  };
9204
9204
  }
9205
- function _0(t, e, i) {
9205
+ function A0(t, e, i) {
9206
9206
  let { scale: n = 1 } = e, { color: o = "#323232" } = e, { margin: s = "auto" } = e, { onEvent: l = () => {
9207
9207
  } } = e;
9208
9208
  const a = () => {
@@ -9216,9 +9216,9 @@ function _0(t, e, i) {
9216
9216
  "scale" in r && i(0, n = r.scale), "color" in r && i(1, o = r.color), "margin" in r && i(2, s = r.margin), "onEvent" in r && i(4, l = r.onEvent);
9217
9217
  }, [n, o, s, a, l];
9218
9218
  }
9219
- class A0 extends Pe {
9219
+ class y0 extends Pe {
9220
9220
  constructor(e) {
9221
- super(), we(this, e, _0, h0, ke, {
9221
+ super(), we(this, e, A0, _0, ke, {
9222
9222
  scale: 0,
9223
9223
  color: 1,
9224
9224
  margin: 2,
@@ -9250,8 +9250,8 @@ class A0 extends Pe {
9250
9250
  this.$$set({ onEvent: e }), d();
9251
9251
  }
9252
9252
  }
9253
- const fn = (t, e, i) => Oe(t, e, e === "style" ? v0(i) : i), y0 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, v0 = (t) => t.split(y0).filter((e) => e).map((e) => e + " !important").join(";");
9254
- function b0(t) {
9253
+ const fn = (t, e, i) => Oe(t, e, e === "style" ? b0(i) : i), v0 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, b0 = (t) => t.split(v0).filter((e) => e).map((e) => e + " !important").join(";");
9254
+ function k0(t) {
9255
9255
  let e, i, n, o;
9256
9256
  return {
9257
9257
  c() {
@@ -9287,15 +9287,15 @@ function b0(t) {
9287
9287
  }
9288
9288
  };
9289
9289
  }
9290
- function k0(t, e, i) {
9290
+ function p0(t, e, i) {
9291
9291
  let { scale: n = 1 } = e, { color: o = "#323232" } = e;
9292
9292
  return t.$$set = (s) => {
9293
9293
  "scale" in s && i(0, n = s.scale), "color" in s && i(1, o = s.color);
9294
9294
  }, [n, o];
9295
9295
  }
9296
- class p0 extends Pe {
9296
+ class S0 extends Pe {
9297
9297
  constructor(e) {
9298
- super(), we(this, e, k0, b0, ke, { scale: 0, color: 1 });
9298
+ super(), we(this, e, p0, k0, ke, { scale: 0, color: 1 });
9299
9299
  }
9300
9300
  get scale() {
9301
9301
  return this.$$.ctx[0];
@@ -9310,8 +9310,8 @@ class p0 extends Pe {
9310
9310
  this.$$set({ color: e }), d();
9311
9311
  }
9312
9312
  }
9313
- const Lr = (t) => !t || t != null && t.startsWith("http") ? t : `https://${t}`, Bn = (t, e, i) => Oe(t, e, e === "style" ? w0(i) : i), S0 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, w0 = (t) => t.split(S0).filter((e) => e).map((e) => e + " !important").join(";");
9314
- function P0(t) {
9313
+ const Lr = (t) => !t || t != null && t.startsWith("http") ? t : `https://${t}`, Bn = (t, e, i) => Oe(t, e, e === "style" ? P0(i) : i), w0 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, P0 = (t) => t.split(w0).filter((e) => e).map((e) => e + " !important").join(";");
9314
+ function T0(t) {
9315
9315
  let e, i, n, o, s;
9316
9316
  return {
9317
9317
  c() {
@@ -9390,7 +9390,7 @@ function P0(t) {
9390
9390
  }
9391
9391
  };
9392
9392
  }
9393
- function T0(t, e, i) {
9393
+ function C0(t, e, i) {
9394
9394
  let n, o, s, { href: l } = e, { scale: a = 1 } = e, { color: r = "#323232" } = e, { playerStyle: u } = e, { controlsOrder: c } = e, { largeImage: g } = e, { isMobile: f } = e, { endVisible: A } = e, { onEvent: _ = () => {
9395
9395
  } } = e;
9396
9396
  const k = () => {
@@ -9423,9 +9423,9 @@ function T0(t, e, i) {
9423
9423
  _
9424
9424
  ];
9425
9425
  }
9426
- class C0 extends Pe {
9426
+ class I0 extends Pe {
9427
9427
  constructor(e) {
9428
- super(), we(this, e, T0, P0, ke, {
9428
+ super(), we(this, e, C0, T0, ke, {
9429
9429
  href: 9,
9430
9430
  scale: 10,
9431
9431
  color: 11,
@@ -9492,8 +9492,8 @@ class C0 extends Pe {
9492
9492
  this.$$set({ onEvent: e }), d();
9493
9493
  }
9494
9494
  }
9495
- const Ut = (t, e, i) => Oe(t, e, e === "style" ? O0(i) : i), I0 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, O0 = (t) => t.split(I0).filter((e) => e).map((e) => e + " !important").join(";");
9496
- function B0(t) {
9495
+ const Ut = (t, e, i) => Oe(t, e, e === "style" ? B0(i) : i), O0 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, B0 = (t) => t.split(O0).filter((e) => e).map((e) => e + " !important").join(";");
9496
+ function V0(t) {
9497
9497
  let e, i, n, o;
9498
9498
  return {
9499
9499
  c() {
@@ -9527,7 +9527,7 @@ function B0(t) {
9527
9527
  }
9528
9528
  };
9529
9529
  }
9530
- function V0(t) {
9530
+ function W0(t) {
9531
9531
  let e, i, n, o;
9532
9532
  return {
9533
9533
  c() {
@@ -9561,12 +9561,12 @@ function V0(t) {
9561
9561
  }
9562
9562
  };
9563
9563
  }
9564
- function W0(t) {
9564
+ function M0(t) {
9565
9565
  let e;
9566
9566
  function i(s, l) {
9567
9567
  return (
9568
9568
  /*circular*/
9569
- s[2] ? V0 : B0
9569
+ s[2] ? W0 : V0
9570
9570
  );
9571
9571
  }
9572
9572
  let n = i(t), o = n(t);
@@ -9587,7 +9587,7 @@ function W0(t) {
9587
9587
  }
9588
9588
  };
9589
9589
  }
9590
- function M0(t, e, i) {
9590
+ function E0(t, e, i) {
9591
9591
  let { scale: n = 1 } = e, { color: o = "#323232" } = e, { circular: s = !0 } = e;
9592
9592
  return t.$$set = (l) => {
9593
9593
  "scale" in l && i(0, n = l.scale), "color" in l && i(1, o = l.color), "circular" in l && i(2, s = l.circular);
@@ -9595,7 +9595,7 @@ function M0(t, e, i) {
9595
9595
  }
9596
9596
  class jr extends Pe {
9597
9597
  constructor(e) {
9598
- super(), we(this, e, M0, W0, ke, { scale: 0, color: 1, circular: 2 });
9598
+ super(), we(this, e, E0, M0, ke, { scale: 0, color: 1, circular: 2 });
9599
9599
  }
9600
9600
  get scale() {
9601
9601
  return this.$$.ctx[0];
@@ -9616,8 +9616,8 @@ class jr extends Pe {
9616
9616
  this.$$set({ circular: e }), d();
9617
9617
  }
9618
9618
  }
9619
- const ua = (t, e, i) => ei(t, e, i, 1), Nn = (t, e, i) => Oe(t, e, e === "style" ? z0(i) : i), E0 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, z0 = (t) => t.split(E0).filter((e) => e).map((e) => e + " !important").join(";");
9620
- function L0(t) {
9619
+ const ua = (t, e, i) => ei(t, e, i, 1), Nn = (t, e, i) => Oe(t, e, e === "style" ? L0(i) : i), z0 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, L0 = (t) => t.split(z0).filter((e) => e).map((e) => e + " !important").join(";");
9620
+ function j0(t) {
9621
9621
  let e;
9622
9622
  return {
9623
9623
  c() {
@@ -9634,7 +9634,7 @@ function L0(t) {
9634
9634
  }
9635
9635
  };
9636
9636
  }
9637
- function j0(t) {
9637
+ function R0(t) {
9638
9638
  let e, i, n, o, s, l;
9639
9639
  return i = new jr({
9640
9640
  props: {
@@ -9700,9 +9700,9 @@ function j0(t) {
9700
9700
  }
9701
9701
  };
9702
9702
  }
9703
- function R0(t) {
9703
+ function D0(t) {
9704
9704
  let e, i, n, o;
9705
- const s = [j0, L0], l = [];
9705
+ const s = [R0, j0], l = [];
9706
9706
  function a(r, u) {
9707
9707
  return (
9708
9708
  /*hrefWithProtocol*/
@@ -9733,7 +9733,7 @@ function R0(t) {
9733
9733
  }
9734
9734
  };
9735
9735
  }
9736
- function D0(t, e, i) {
9736
+ function N0(t, e, i) {
9737
9737
  let n, { href: o } = e, { scale: s = 1 } = e, { color: l = "#323232" } = e, { playerStyle: a } = e, { controlsOrder: r } = e, { onEvent: u = () => {
9738
9738
  } } = e;
9739
9739
  const c = () => {
@@ -9759,9 +9759,9 @@ function D0(t, e, i) {
9759
9759
  u
9760
9760
  ];
9761
9761
  }
9762
- class N0 extends Pe {
9762
+ class x0 extends Pe {
9763
9763
  constructor(e) {
9764
- super(), we(this, e, D0, R0, ke, {
9764
+ super(), we(this, e, N0, D0, ke, {
9765
9765
  href: 6,
9766
9766
  scale: 0,
9767
9767
  color: 1,
@@ -9807,8 +9807,8 @@ class N0 extends Pe {
9807
9807
  this.$$set({ onEvent: e }), d();
9808
9808
  }
9809
9809
  }
9810
- const Rt = (t, e, i) => Oe(t, e, e === "style" ? F0(i) : i), x0 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, F0 = (t) => t.split(x0).filter((e) => e).map((e) => e + " !important").join(";");
9811
- function U0(t) {
9810
+ const Rt = (t, e, i) => Oe(t, e, e === "style" ? U0(i) : i), F0 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, U0 = (t) => t.split(F0).filter((e) => e).map((e) => e + " !important").join(";");
9811
+ function H0(t) {
9812
9812
  let e, i, n, o, s, l, a, r, u;
9813
9813
  return {
9814
9814
  c() {
@@ -9862,15 +9862,15 @@ function U0(t) {
9862
9862
  }
9863
9863
  };
9864
9864
  }
9865
- function H0(t, e, i) {
9865
+ function q0(t, e, i) {
9866
9866
  let { scale: n = 1 } = e, { color1: o = "#933afb" } = e, { color2: s = "#fb3a41" } = e, l = `gradient-${Math.random()}`;
9867
9867
  return t.$$set = (a) => {
9868
9868
  "scale" in a && i(0, n = a.scale), "color1" in a && i(1, o = a.color1), "color2" in a && i(2, s = a.color2);
9869
9869
  }, [n, o, s, l];
9870
9870
  }
9871
- class q0 extends Pe {
9871
+ class Y0 extends Pe {
9872
9872
  constructor(e) {
9873
- super(), we(this, e, H0, U0, ke, { scale: 0, color1: 1, color2: 2 });
9873
+ super(), we(this, e, q0, H0, ke, { scale: 0, color1: 1, color2: 2 });
9874
9874
  }
9875
9875
  get scale() {
9876
9876
  return this.$$.ctx[0];
@@ -9891,10 +9891,10 @@ class q0 extends Pe {
9891
9891
  this.$$set({ color2: e }), d();
9892
9892
  }
9893
9893
  }
9894
- const da = (t, e, i) => ei(t, e, i, 1), lo = (t, e, i) => Oe(t, e, e === "style" ? Z0(i) : i), Y0 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, Z0 = (t) => t.split(Y0).filter((e) => e).map((e) => e + " !important").join(";");
9895
- function K0(t) {
9894
+ const da = (t, e, i) => ei(t, e, i, 1), lo = (t, e, i) => Oe(t, e, e === "style" ? K0(i) : i), Z0 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, K0 = (t) => t.split(Z0).filter((e) => e).map((e) => e + " !important").join(";");
9895
+ function G0(t) {
9896
9896
  let e, i, n, o, s, l;
9897
- return i = new q0({ props: { scale: (
9897
+ return i = new Y0({ props: { scale: (
9898
9898
  /*scale*/
9899
9899
  t[1]
9900
9900
  ) } }), {
@@ -9946,7 +9946,7 @@ function K0(t) {
9946
9946
  }
9947
9947
  };
9948
9948
  }
9949
- function G0(t, e, i) {
9949
+ function J0(t, e, i) {
9950
9950
  let { analyticsId: n = void 0 } = e, { scale: o = 1 } = e, { visible: s = !0 } = e, { onEvent: l = () => {
9951
9951
  } } = e;
9952
9952
  const a = () => {
@@ -9962,7 +9962,7 @@ function G0(t, e, i) {
9962
9962
  }
9963
9963
  let Rr = class extends Pe {
9964
9964
  constructor(e) {
9965
- super(), we(this, e, G0, K0, ke, {
9965
+ super(), we(this, e, J0, G0, ke, {
9966
9966
  analyticsId: 0,
9967
9967
  scale: 1,
9968
9968
  visible: 2,
@@ -9994,8 +9994,8 @@ let Rr = class extends Pe {
9994
9994
  this.$$set({ onEvent: e }), d();
9995
9995
  }
9996
9996
  };
9997
- const ao = (t, e, i) => Oe(t, e, e === "style" ? X0(i) : i), J0 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, X0 = (t) => t.split(J0).filter((e) => e).map((e) => e + " !important").join(";");
9998
- function Q0(t) {
9997
+ const ao = (t, e, i) => Oe(t, e, e === "style" ? Q0(i) : i), X0 = /;(?!([^()]*\([^()]*\))*[^()]*\))/, Q0 = (t) => t.split(X0).filter((e) => e).map((e) => e + " !important").join(";");
9998
+ function $0(t) {
9999
9999
  let e, i, n, o, s;
10000
10000
  return i = new jr({
10001
10001
  props: {
@@ -10054,7 +10054,7 @@ function Q0(t) {
10054
10054
  }
10055
10055
  };
10056
10056
  }
10057
- function $0(t, e, i) {
10057
+ function e_(t, e, i) {
10058
10058
  let { href: n } = e, { scale: o = 1 } = e, { color: s = "#323232" } = e, { onEvent: l = () => {
10059
10059
  } } = e;
10060
10060
  const a = () => {
@@ -10068,9 +10068,9 @@ function $0(t, e, i) {
10068
10068
  "href" in r && i(0, n = r.href), "scale" in r && i(1, o = r.scale), "color" in r && i(2, s = r.color), "onEvent" in r && i(4, l = r.onEvent);
10069
10069
  }, [n, o, s, a, l];
10070
10070
  }
10071
- class e_ extends Pe {
10071
+ class t_ extends Pe {
10072
10072
  constructor(e) {
10073
- super(), we(this, e, $0, Q0, ke, { href: 0, scale: 1, color: 2, onEvent: 4 });
10073
+ super(), we(this, e, e_, $0, ke, { href: 0, scale: 1, color: 2, onEvent: 4 });
10074
10074
  }
10075
10075
  get href() {
10076
10076
  return this.$$.ctx[0];
@@ -10097,8 +10097,8 @@ class e_ extends Pe {
10097
10097
  this.$$set({ onEvent: e }), d();
10098
10098
  }
10099
10099
  }
10100
- const Hi = (t, e, i) => ei(t, e, i, 1), Bi = (t, e, i) => Oe(t, e, e === "style" ? i_(i) : i), t_ = /;(?!([^()]*\([^()]*\))*[^()]*\))/, i_ = (t) => t.split(t_).filter((e) => e).map((e) => e + " !important").join(";");
10101
- function n_(t) {
10100
+ const Hi = (t, e, i) => ei(t, e, i, 1), Bi = (t, e, i) => Oe(t, e, e === "style" ? n_(i) : i), i_ = /;(?!([^()]*\([^()]*\))*[^()]*\))/, n_ = (t) => t.split(i_).filter((e) => e).map((e) => e + " !important").join(";");
10101
+ function o_(t) {
10102
10102
  let e, i;
10103
10103
  return {
10104
10104
  c() {
@@ -10151,7 +10151,7 @@ function n_(t) {
10151
10151
  }
10152
10152
  };
10153
10153
  }
10154
- function o_(t) {
10154
+ function s_(t) {
10155
10155
  let e, i, n, o, s;
10156
10156
  return {
10157
10157
  c() {
@@ -10245,12 +10245,12 @@ function o_(t) {
10245
10245
  }
10246
10246
  };
10247
10247
  }
10248
- function s_(t) {
10248
+ function l_(t) {
10249
10249
  let e;
10250
10250
  function i(s, l) {
10251
10251
  return (
10252
10252
  /*href*/
10253
- s[1] ? o_ : n_
10253
+ s[1] ? s_ : o_
10254
10254
  );
10255
10255
  }
10256
10256
  let n = i(t), o = n(t);
@@ -10271,7 +10271,7 @@ function s_(t) {
10271
10271
  }
10272
10272
  };
10273
10273
  }
10274
- function l_(t, e, i) {
10274
+ function a_(t, e, i) {
10275
10275
  let { src: n } = e, { href: o } = e, { alt: s = "Player Image" } = e, { size: l = 80 } = e, { onEvent: a = () => {
10276
10276
  } } = e;
10277
10277
  const r = () => {
@@ -10285,9 +10285,9 @@ function l_(t, e, i) {
10285
10285
  "src" in u && i(0, n = u.src), "href" in u && i(1, o = u.href), "alt" in u && i(2, s = u.alt), "size" in u && i(3, l = u.size), "onEvent" in u && i(5, a = u.onEvent);
10286
10286
  }, [n, o, s, l, r, a];
10287
10287
  }
10288
- class a_ extends Pe {
10288
+ class r_ extends Pe {
10289
10289
  constructor(e) {
10290
- super(), we(this, e, l_, s_, ke, {
10290
+ super(), we(this, e, a_, l_, ke, {
10291
10291
  src: 0,
10292
10292
  href: 1,
10293
10293
  alt: 2,
@@ -10326,8 +10326,8 @@ class a_ extends Pe {
10326
10326
  this.$$set({ onEvent: e }), d();
10327
10327
  }
10328
10328
  }
10329
- const Ho = (t, e, i) => Oe(t, e, e === "style" ? u_(i) : i), r_ = /;(?!([^()]*\([^()]*\))*[^()]*\))/, u_ = (t) => t.split(r_).filter((e) => e).map((e) => e + " !important").join(";");
10330
- function d_(t) {
10329
+ const Ho = (t, e, i) => Oe(t, e, e === "style" ? d_(i) : i), u_ = /;(?!([^()]*\([^()]*\))*[^()]*\))/, d_ = (t) => t.split(u_).filter((e) => e).map((e) => e + " !important").join(";");
10330
+ function c_(t) {
10331
10331
  var o;
10332
10332
  let e, i = (
10333
10333
  /*title*/
@@ -10367,7 +10367,7 @@ function d_(t) {
10367
10367
  }
10368
10368
  };
10369
10369
  }
10370
- function c_(t, e, i) {
10370
+ function g_(t, e, i) {
10371
10371
  let n, o, { title: s } = e, { playerStyle: l } = e, { scale: a = 1 } = e, { visible: r = !0 } = e, { collapsible: u = !1 } = e, { collapsed: c = !1 } = e, { color: g = "#111" } = e, f;
10372
10372
  function A(_) {
10373
10373
  se[_ ? "unshift" : "push"](() => {
@@ -10396,7 +10396,7 @@ function c_(t, e, i) {
10396
10396
  }
10397
10397
  class Dr extends Pe {
10398
10398
  constructor(e) {
10399
- super(), we(this, e, c_, d_, ke, {
10399
+ super(), we(this, e, g_, c_, ke, {
10400
10400
  title: 0,
10401
10401
  playerStyle: 1,
10402
10402
  scale: 4,
@@ -10449,8 +10449,8 @@ class Dr extends Pe {
10449
10449
  this.$$set({ color: e }), d();
10450
10450
  }
10451
10451
  }
10452
- const Ys = (t, e, i) => Oe(t, e, e === "style" ? f_(i) : i), g_ = /;(?!([^()]*\([^()]*\))*[^()]*\))/, f_ = (t) => t.split(g_).filter((e) => e).map((e) => e + " !important").join(";");
10453
- function m_(t) {
10452
+ const Ys = (t, e, i) => Oe(t, e, e === "style" ? m_(i) : i), f_ = /;(?!([^()]*\([^()]*\))*[^()]*\))/, m_ = (t) => t.split(f_).filter((e) => e).map((e) => e + " !important").join(";");
10453
+ function h_(t) {
10454
10454
  var n;
10455
10455
  let e, i = (
10456
10456
  /*title*/
@@ -10531,7 +10531,7 @@ function m_(t) {
10531
10531
  }
10532
10532
  };
10533
10533
  }
10534
- function h_(t, e, i) {
10534
+ function __(t, e, i) {
10535
10535
  let n, o, s, l, { title: a } = e, { maxLines: r = 1 } = e, { maxWidth: u = void 0 } = e, { center: c = !1 } = e, { bold: g = !1 } = e, { flex: f = "0 1 auto" } = e, { scale: A = 1 } = e, { color: _ = "#111" } = e;
10536
10536
  return t.$$set = (k) => {
10537
10537
  "title" in k && i(0, a = k.title), "maxLines" in k && i(1, r = k.maxLines), "maxWidth" in k && i(5, u = k.maxWidth), "center" in k && i(2, c = k.center), "bold" in k && i(3, g = k.bold), "flex" in k && i(6, f = k.flex), "scale" in k && i(7, A = k.scale), "color" in k && i(8, _ = k.color);
@@ -10558,7 +10558,7 @@ function h_(t, e, i) {
10558
10558
  }
10559
10559
  class Tl extends Pe {
10560
10560
  constructor(e) {
10561
- super(), we(this, e, h_, m_, ke, {
10561
+ super(), we(this, e, __, h_, ke, {
10562
10562
  title: 0,
10563
10563
  maxLines: 1,
10564
10564
  maxWidth: 5,
@@ -10626,8 +10626,8 @@ const rs = (t, e, i = () => {
10626
10626
  description: `The ${o.toLowerCase()} key was pressed while the progress ${e.toLowerCase()} was focussed.`,
10627
10627
  initiatedBy: "user"
10628
10628
  })), (o === "Left" || o === "Right") && i());
10629
- }, xn = (t, e, i) => ei(t, e, i, 1), Ii = (t, e, i) => Oe(t, e, e === "style" ? A_(i) : i), __ = /;(?!([^()]*\([^()]*\))*[^()]*\))/, A_ = (t) => t.split(__).filter((e) => e).map((e) => e + " !important").join(";");
10630
- function y_(t) {
10629
+ }, xn = (t, e, i) => ei(t, e, i, 1), Ii = (t, e, i) => Oe(t, e, e === "style" ? y_(i) : i), A_ = /;(?!([^()]*\([^()]*\))*[^()]*\))/, y_ = (t) => t.split(A_).filter((e) => e).map((e) => e + " !important").join(";");
10630
+ function v_(t) {
10631
10631
  let e, i, n, o, s, l, a;
10632
10632
  return {
10633
10633
  c() {
@@ -10776,7 +10776,7 @@ function y_(t) {
10776
10776
  }
10777
10777
  };
10778
10778
  }
10779
- function v_(t, e, i) {
10779
+ function b_(t, e, i) {
10780
10780
  let n, o, s, l, { progress: a = 0 } = e, { duration: r = 0 } = e, { fullWidth: u = !1 } = e, { readonly: c = !1 } = e, { color: g = "#323232" } = e, { onEvent: f = () => {
10781
10781
  } } = e, A, _, k = !0, C = !0;
10782
10782
  const p = () => {
@@ -10811,14 +10811,14 @@ function v_(t, e, i) {
10811
10811
  })));
10812
10812
  }, W = (j) => {
10813
10813
  var pe, ce;
10814
- const Q = j.clientX || ((ce = (pe = j.touches) == null ? void 0 : pe[0]) == null ? void 0 : ce.clientX) || 0, { x: ne, width: X } = A.getBoundingClientRect(), ae = (Q - ne) / X;
10815
- return Math.max(0, Math.min(1, ae));
10814
+ const Q = j.clientX || ((ce = (pe = j.touches) == null ? void 0 : pe[0]) == null ? void 0 : ce.clientX) || 0, { x: ne, width: X } = A.getBoundingClientRect(), re = (Q - ne) / X;
10815
+ return Math.max(0, Math.min(1, re));
10816
10816
  }, S = (j) => {
10817
10817
  const Q = Math.floor(j);
10818
10818
  if (Q === 0)
10819
10819
  return ct("secondsPlural").replace("{n}", 0);
10820
10820
  const ne = Math.floor(Q / 60), X = Q % 60;
10821
- return [U(ne, "minutes"), U(X, "seconds")].filter((ae) => ae).join(" ");
10821
+ return [U(ne, "minutes"), U(X, "seconds")].filter((re) => re).join(" ");
10822
10822
  }, U = (j, Q) => {
10823
10823
  if (j === 0)
10824
10824
  return;
@@ -10866,9 +10866,9 @@ function v_(t, e, i) {
10866
10866
  q
10867
10867
  ];
10868
10868
  }
10869
- class b_ extends Pe {
10869
+ class k_ extends Pe {
10870
10870
  constructor(e) {
10871
- super(), we(this, e, v_, y_, ke, {
10871
+ super(), we(this, e, b_, v_, ke, {
10872
10872
  progress: 0,
10873
10873
  duration: 1,
10874
10874
  fullWidth: 2,
@@ -10914,8 +10914,8 @@ class b_ extends Pe {
10914
10914
  this.$$set({ onEvent: e }), d();
10915
10915
  }
10916
10916
  }
10917
- const qo = (t, e, i) => ei(t, e, i, 1), xt = (t, e, i) => Oe(t, e, e === "style" ? p_(i) : i), k_ = /;(?!([^()]*\([^()]*\))*[^()]*\))/, p_ = (t) => t.split(k_).filter((e) => e).map((e) => e + " !important").join(";");
10918
- function S_(t) {
10917
+ const qo = (t, e, i) => ei(t, e, i, 1), xt = (t, e, i) => Oe(t, e, e === "style" ? S_(i) : i), p_ = /;(?!([^()]*\([^()]*\))*[^()]*\))/, S_ = (t) => t.split(p_).filter((e) => e).map((e) => e + " !important").join(";");
10918
+ function w_(t) {
10919
10919
  let e;
10920
10920
  const i = (
10921
10921
  /*#slots*/
@@ -10966,7 +10966,7 @@ function S_(t) {
10966
10966
  }
10967
10967
  };
10968
10968
  }
10969
- function w_(t) {
10969
+ function P_(t) {
10970
10970
  let e, i, n, o, s, l, a, r;
10971
10971
  const u = (
10972
10972
  /*#slots*/
@@ -11120,9 +11120,9 @@ function w_(t) {
11120
11120
  }
11121
11121
  };
11122
11122
  }
11123
- function P_(t) {
11123
+ function T_(t) {
11124
11124
  let e, i, n, o;
11125
- const s = [w_, S_], l = [];
11125
+ const s = [P_, w_], l = [];
11126
11126
  function a(r, u) {
11127
11127
  return (
11128
11128
  /*enabled*/
@@ -11153,7 +11153,7 @@ function P_(t) {
11153
11153
  }
11154
11154
  };
11155
11155
  }
11156
- function T_(t, e, i) {
11156
+ function C_(t, e, i) {
11157
11157
  let n, o, s, l, a, r, { $$slots: u = {}, $$scope: c } = e, { progress: g = 0 } = e, { enabled: f = !1 } = e, { bold: A } = e, { scale: _ = 1 } = e, { color: k = "#323232" } = e, { onEvent: C = () => {
11158
11158
  } } = e;
11159
11159
  return t.$$set = (p) => {
@@ -11183,9 +11183,9 @@ function T_(t, e, i) {
11183
11183
  u
11184
11184
  ];
11185
11185
  }
11186
- class C_ extends Pe {
11186
+ class I_ extends Pe {
11187
11187
  constructor(e) {
11188
- super(), we(this, e, T_, P_, ke, {
11188
+ super(), we(this, e, C_, T_, ke, {
11189
11189
  progress: 9,
11190
11190
  enabled: 0,
11191
11191
  bold: 10,
@@ -11236,8 +11236,8 @@ const Hn = (t) => {
11236
11236
  const e = Math.floor(t / 3600).toString();
11237
11237
  let i = Math.floor(t % 3600 / 60).toString(), n = Math.floor(t % 60).toString();
11238
11238
  return n.length < 2 && (n = `0${n}`), t < 3600 ? `${i}:${n}` : (i.length < 2 && (i = `0${i}`), `${e}:${i}:${n}`);
11239
- }, Yo = (t, e, i) => ei(t, e, i, 1), I_ = (t, e, i) => Oe(t, e, e === "style" ? B_(i) : i), O_ = /;(?!([^()]*\([^()]*\))*[^()]*\))/, B_ = (t) => t.split(O_).filter((e) => e).map((e) => e + " !important").join(";");
11240
- function V_(t) {
11239
+ }, Yo = (t, e, i) => ei(t, e, i, 1), O_ = (t, e, i) => Oe(t, e, e === "style" ? V_(i) : i), B_ = /;(?!([^()]*\([^()]*\))*[^()]*\))/, V_ = (t) => t.split(B_).filter((e) => e).map((e) => e + " !important").join(";");
11240
+ function W_(t) {
11241
11241
  let e, i, n, o = Hn(
11242
11242
  /*remaining*/
11243
11243
  t[1]
@@ -11247,7 +11247,7 @@ function V_(t) {
11247
11247
  e = y("span"), i = ie(
11248
11248
  /*text*/
11249
11249
  t[0]
11250
- ), n = ie(" • "), s = ie(o), I_(e, "class", "countdown-time svelte-1xxecuj"), Yo(e, "font-size", 10 * /*scale*/
11250
+ ), n = ie(" • "), s = ie(o), O_(e, "class", "countdown-time svelte-1xxecuj"), Yo(e, "font-size", 10 * /*scale*/
11251
11251
  t[2] + "px"), Yo(
11252
11252
  e,
11253
11253
  "color",
@@ -11285,15 +11285,15 @@ function V_(t) {
11285
11285
  }
11286
11286
  };
11287
11287
  }
11288
- function W_(t, e, i) {
11288
+ function M_(t, e, i) {
11289
11289
  let { text: n } = e, { remaining: o } = e, { scale: s = 1 } = e, { color: l = "#323232" } = e;
11290
11290
  return t.$$set = (a) => {
11291
11291
  "text" in a && i(0, n = a.text), "remaining" in a && i(1, o = a.remaining), "scale" in a && i(2, s = a.scale), "color" in a && i(3, l = a.color);
11292
11292
  }, [n, o, s, l];
11293
11293
  }
11294
- class M_ extends Pe {
11294
+ class E_ extends Pe {
11295
11295
  constructor(e) {
11296
- super(), we(this, e, W_, V_, ke, {
11296
+ super(), we(this, e, M_, W_, ke, {
11297
11297
  text: 0,
11298
11298
  remaining: 1,
11299
11299
  scale: 2,
@@ -11325,8 +11325,8 @@ class M_ extends Pe {
11325
11325
  this.$$set({ color: e }), d();
11326
11326
  }
11327
11327
  }
11328
- const Zo = (t, e, i) => ei(t, e, i, 1), E_ = (t, e, i) => Oe(t, e, e === "style" ? L_(i) : i), z_ = /;(?!([^()]*\([^()]*\))*[^()]*\))/, L_ = (t) => t.split(z_).filter((e) => e).map((e) => e + " !important").join(";");
11329
- function j_(t) {
11328
+ const Zo = (t, e, i) => ei(t, e, i, 1), z_ = (t, e, i) => Oe(t, e, e === "style" ? j_(i) : i), L_ = /;(?!([^()]*\([^()]*\))*[^()]*\))/, j_ = (t) => t.split(L_).filter((e) => e).map((e) => e + " !important").join(";");
11329
+ function R_(t) {
11330
11330
  let e = ct("minutesSingularOrPlural").replace(
11331
11331
  "{n}",
11332
11332
  /*minutes*/
@@ -11352,7 +11352,7 @@ function j_(t) {
11352
11352
  }
11353
11353
  };
11354
11354
  }
11355
- function R_(t) {
11355
+ function D_(t) {
11356
11356
  let e = (
11357
11357
  /*durationFormat*/
11358
11358
  t[0](
@@ -11386,18 +11386,18 @@ function R_(t) {
11386
11386
  }
11387
11387
  };
11388
11388
  }
11389
- function D_(t) {
11389
+ function N_(t) {
11390
11390
  let e;
11391
11391
  function i(s, l) {
11392
11392
  return (
11393
11393
  /*durationFormat*/
11394
- s[0] ? R_ : j_
11394
+ s[0] ? D_ : R_
11395
11395
  );
11396
11396
  }
11397
11397
  let n = i(t), o = n(t);
11398
11398
  return {
11399
11399
  c() {
11400
- e = y("div"), o.c(), E_(e, "class", "duration-in-mins svelte-121qsze"), Zo(e, "font-size", 10 * /*scale*/
11400
+ e = y("div"), o.c(), z_(e, "class", "duration-in-mins svelte-121qsze"), Zo(e, "font-size", 10 * /*scale*/
11401
11401
  t[2] + "px"), Zo(
11402
11402
  e,
11403
11403
  "color",
@@ -11437,7 +11437,7 @@ function D_(t) {
11437
11437
  }
11438
11438
  };
11439
11439
  }
11440
- function N_(t, e, i) {
11440
+ function x_(t, e, i) {
11441
11441
  let n, o, { duration: s = 0 } = e, { durationFormat: l = void 0 } = e, { bold: a = !1 } = e, { scale: r = 1 } = e, { color: u = "#323232" } = e;
11442
11442
  return t.$$set = (c) => {
11443
11443
  "duration" in c && i(6, s = c.duration), "durationFormat" in c && i(0, l = c.durationFormat), "bold" in c && i(1, a = c.bold), "scale" in c && i(2, r = c.scale), "color" in c && i(3, u = c.color);
@@ -11449,7 +11449,7 @@ function N_(t, e, i) {
11449
11449
  }
11450
11450
  class Nr extends Pe {
11451
11451
  constructor(e) {
11452
- super(), we(this, e, N_, D_, ke, {
11452
+ super(), we(this, e, x_, N_, ke, {
11453
11453
  duration: 6,
11454
11454
  durationFormat: 0,
11455
11455
  bold: 1,
@@ -11488,8 +11488,8 @@ class Nr extends Pe {
11488
11488
  this.$$set({ color: e }), d();
11489
11489
  }
11490
11490
  }
11491
- const Ko = (t, e, i) => ei(t, e, i, 1), x_ = (t, e, i) => Oe(t, e, e === "style" ? U_(i) : i), F_ = /;(?!([^()]*\([^()]*\))*[^()]*\))/, U_ = (t) => t.split(F_).filter((e) => e).map((e) => e + " !important").join(";");
11492
- function H_(t) {
11491
+ const Ko = (t, e, i) => ei(t, e, i, 1), F_ = (t, e, i) => Oe(t, e, e === "style" ? H_(i) : i), U_ = /;(?!([^()]*\([^()]*\))*[^()]*\))/, H_ = (t) => t.split(U_).filter((e) => e).map((e) => e + " !important").join(";");
11492
+ function q_(t) {
11493
11493
  let e, i = Hn(
11494
11494
  /*currentTime*/
11495
11495
  t[0]
@@ -11499,7 +11499,7 @@ function H_(t) {
11499
11499
  ) + "", l;
11500
11500
  return {
11501
11501
  c() {
11502
- e = y("span"), n = ie(i), o = ie(" / "), l = ie(s), x_(e, "class", "playback-time svelte-iwjkvn"), Ko(e, "font-size", 10 * /*scale*/
11502
+ e = y("span"), n = ie(i), o = ie(" / "), l = ie(s), F_(e, "class", "playback-time svelte-iwjkvn"), Ko(e, "font-size", 10 * /*scale*/
11503
11503
  t[2] + "px"), Ko(
11504
11504
  e,
11505
11505
  "color",
@@ -11536,15 +11536,15 @@ function H_(t) {
11536
11536
  }
11537
11537
  };
11538
11538
  }
11539
- function q_(t, e, i) {
11539
+ function Y_(t, e, i) {
11540
11540
  let { currentTime: n = 0 } = e, { duration: o = 0 } = e, { scale: s = 1 } = e, { color: l = "#323232" } = e;
11541
11541
  return t.$$set = (a) => {
11542
11542
  "currentTime" in a && i(0, n = a.currentTime), "duration" in a && i(1, o = a.duration), "scale" in a && i(2, s = a.scale), "color" in a && i(3, l = a.color);
11543
11543
  }, [n, o, s, l];
11544
11544
  }
11545
- class Y_ extends Pe {
11545
+ class Z_ extends Pe {
11546
11546
  constructor(e) {
11547
- super(), we(this, e, q_, H_, ke, {
11547
+ super(), we(this, e, Y_, q_, ke, {
11548
11548
  currentTime: 0,
11549
11549
  duration: 1,
11550
11550
  scale: 2,
@@ -11576,10 +11576,10 @@ class Y_ extends Pe {
11576
11576
  this.$$set({ color: e }), d();
11577
11577
  }
11578
11578
  }
11579
- const ro = (t, e, i) => Oe(t, e, e === "style" ? K_(i) : i), Z_ = /;(?!([^()]*\([^()]*\))*[^()]*\))/, K_ = (t) => t.split(Z_).filter((e) => e).map((e) => e + " !important").join(";");
11580
- function G_(t) {
11579
+ const ro = (t, e, i) => Oe(t, e, e === "style" ? G_(i) : i), K_ = /;(?!([^()]*\([^()]*\))*[^()]*\))/, G_ = (t) => t.split(K_).filter((e) => e).map((e) => e + " !important").join(";");
11580
+ function J_(t) {
11581
11581
  let e, i;
11582
- return e = new Y_({
11582
+ return e = new Z_({
11583
11583
  props: {
11584
11584
  duration: (
11585
11585
  /*duration*/
@@ -11628,7 +11628,7 @@ function G_(t) {
11628
11628
  }
11629
11629
  };
11630
11630
  }
11631
- function J_(t) {
11631
+ function X_(t) {
11632
11632
  let e, i;
11633
11633
  return e = new Nr({
11634
11634
  props: {
@@ -11679,9 +11679,9 @@ function J_(t) {
11679
11679
  }
11680
11680
  };
11681
11681
  }
11682
- function X_(t) {
11682
+ function Q_(t) {
11683
11683
  let e, i;
11684
- return e = new M_({
11684
+ return e = new E_({
11685
11685
  props: {
11686
11686
  text: "Ad",
11687
11687
  remaining: (
@@ -11725,7 +11725,7 @@ function X_(t) {
11725
11725
  }
11726
11726
  };
11727
11727
  }
11728
- function Q_(t) {
11728
+ function $_(t) {
11729
11729
  return {
11730
11730
  c: ee,
11731
11731
  m: ee,
@@ -11735,9 +11735,9 @@ function Q_(t) {
11735
11735
  d: ee
11736
11736
  };
11737
11737
  }
11738
- function $_(t) {
11738
+ function eA(t) {
11739
11739
  let e, i, n, o, s, l;
11740
- const a = [Q_, X_, J_, G_], r = [];
11740
+ const a = [$_, Q_, X_, J_], r = [];
11741
11741
  function u(c, g) {
11742
11742
  return (
11743
11743
  /*isAdvert*/
@@ -11841,7 +11841,7 @@ function $_(t) {
11841
11841
  }
11842
11842
  };
11843
11843
  }
11844
- function eA(t, e, i) {
11844
+ function tA(t, e, i) {
11845
11845
  let n, o, s, l, a, { duration: r = 0 } = e, { durationFormat: u = void 0 } = e, { currentTime: c = 0 } = e, { playerStyle: g } = e, { positionClasses: f } = e, { isMobile: A } = e, { isAdvert: _ } = e, { isStopped: k } = e, { collapsed: C } = e, { largeImage: p } = e, { showBeyondWords: v } = e, { color: w = "323232" } = e;
11846
11846
  return t.$$set = (B) => {
11847
11847
  "duration" in B && i(0, r = B.duration), "durationFormat" in B && i(1, u = B.durationFormat), "currentTime" in B && i(2, c = B.currentTime), "playerStyle" in B && i(3, g = B.playerStyle), "positionClasses" in B && i(4, f = B.positionClasses), "isMobile" in B && i(5, A = B.isMobile), "isAdvert" in B && i(6, _ = B.isAdvert), "isStopped" in B && i(7, k = B.isStopped), "collapsed" in B && i(15, C = B.collapsed), "largeImage" in B && i(8, p = B.largeImage), "showBeyondWords" in B && i(9, v = B.showBeyondWords), "color" in B && i(10, w = B.color);
@@ -11872,9 +11872,9 @@ function eA(t, e, i) {
11872
11872
  o
11873
11873
  ];
11874
11874
  }
11875
- class tA extends Pe {
11875
+ class iA extends Pe {
11876
11876
  constructor(e) {
11877
- super(), we(this, e, eA, $_, ke, {
11877
+ super(), we(this, e, tA, eA, ke, {
11878
11878
  duration: 0,
11879
11879
  durationFormat: 1,
11880
11880
  currentTime: 2,
@@ -11962,8 +11962,8 @@ class tA extends Pe {
11962
11962
  this.$$set({ color: e }), d();
11963
11963
  }
11964
11964
  }
11965
- const ui = (t, e, i) => Oe(t, e, e === "style" ? nA(i) : i), iA = /;(?!([^()]*\([^()]*\))*[^()]*\))/, nA = (t) => t.split(iA).filter((e) => e).map((e) => e + " !important").join(";");
11966
- function oA(t) {
11965
+ const ui = (t, e, i) => Oe(t, e, e === "style" ? oA(i) : i), nA = /;(?!([^()]*\([^()]*\))*[^()]*\))/, oA = (t) => t.split(nA).filter((e) => e).map((e) => e + " !important").join(";");
11966
+ function sA(t) {
11967
11967
  let e, i, n, o, s, l;
11968
11968
  return {
11969
11969
  c() {
@@ -12013,7 +12013,7 @@ function oA(t) {
12013
12013
  }
12014
12014
  };
12015
12015
  }
12016
- function sA(t, e, i) {
12016
+ function lA(t, e, i) {
12017
12017
  let { scale: n = 1 } = e, { zoom: o = 1 } = e, { color: s = "#323232" } = e, { fill: l = "transparent" } = e;
12018
12018
  return t.$$set = (a) => {
12019
12019
  "scale" in a && i(0, n = a.scale), "zoom" in a && i(1, o = a.zoom), "color" in a && i(2, s = a.color), "fill" in a && i(3, l = a.fill);
@@ -12021,7 +12021,7 @@ function sA(t, e, i) {
12021
12021
  }
12022
12022
  class xr extends Pe {
12023
12023
  constructor(e) {
12024
- super(), we(this, e, sA, oA, ke, { scale: 0, zoom: 1, color: 2, fill: 3 });
12024
+ super(), we(this, e, lA, sA, ke, { scale: 0, zoom: 1, color: 2, fill: 3 });
12025
12025
  }
12026
12026
  get scale() {
12027
12027
  return this.$$.ctx[0];
@@ -12048,7 +12048,7 @@ class xr extends Pe {
12048
12048
  this.$$set({ fill: e }), d();
12049
12049
  }
12050
12050
  }
12051
- const Tn = (t, e, i) => ei(t, e, i, 1), Vi = (t, e, i) => Oe(t, e, e === "style" ? aA(i) : i), lA = /;(?!([^()]*\([^()]*\))*[^()]*\))/, aA = (t) => t.split(lA).filter((e) => e).map((e) => e + " !important").join(";");
12051
+ const Tn = (t, e, i) => ei(t, e, i, 1), Vi = (t, e, i) => Oe(t, e, e === "style" ? rA(i) : i), aA = /;(?!([^()]*\([^()]*\))*[^()]*\))/, rA = (t) => t.split(aA).filter((e) => e).map((e) => e + " !important").join(";");
12052
12052
  function ca(t, e, i) {
12053
12053
  const n = t.slice();
12054
12054
  n[20] = e[i], n[25] = i;
@@ -12086,7 +12086,7 @@ function ca(t, e, i) {
12086
12086
  );
12087
12087
  return n[23] = l, n;
12088
12088
  }
12089
- function rA(t) {
12089
+ function uA(t) {
12090
12090
  let e, i = (
12091
12091
  /*i*/
12092
12092
  t[25] + 1 + ""
@@ -12119,7 +12119,7 @@ function rA(t) {
12119
12119
  }
12120
12120
  };
12121
12121
  }
12122
- function uA(t) {
12122
+ function dA(t) {
12123
12123
  let e, i, n;
12124
12124
  return i = new xr({
12125
12125
  props: {
@@ -12160,7 +12160,7 @@ function uA(t) {
12160
12160
  }
12161
12161
  function ga(t) {
12162
12162
  let e, i, n, o, s, l, a, r, u, c, g, f, A, _, k, C, p, v, w;
12163
- const B = [uA, rA], N = [];
12163
+ const B = [dA, uA], N = [];
12164
12164
  function W(q, j) {
12165
12165
  return (
12166
12166
  /*i*/
@@ -12340,24 +12340,24 @@ function ga(t) {
12340
12340
  t[25] === /*index*/
12341
12341
  t[6]
12342
12342
  );
12343
- const ae = {};
12343
+ const re = {};
12344
12344
  j & /*onEvent*/
12345
- 512 && (ae.onEvent = /*onEvent*/
12345
+ 512 && (re.onEvent = /*onEvent*/
12346
12346
  t[9]), j & /*iconColor*/
12347
- 16 && (ae.color = /*iconColor*/
12347
+ 16 && (re.color = /*iconColor*/
12348
12348
  t[4]), j & /*downloadFormats*/
12349
- 1 && (ae.downloadFormats = /*downloadFormats*/
12349
+ 1 && (re.downloadFormats = /*downloadFormats*/
12350
12350
  t[0]), j & /*summary, content*/
12351
- 160 && (ae.audio = /*downloadAudio*/
12351
+ 160 && (re.audio = /*downloadAudio*/
12352
12352
  t[22]), j & /*summary, content*/
12353
- 160 && (ae.video = /*downloadVideo*/
12353
+ 160 && (re.video = /*downloadVideo*/
12354
12354
  t[23]), j & /*summary*/
12355
- 128 && (ae.summary = /*summary*/
12355
+ 128 && (re.summary = /*summary*/
12356
12356
  t[7]), j & /*isMobile*/
12357
- 256 && (ae.padding = /*isMobile*/
12357
+ 256 && (re.padding = /*isMobile*/
12358
12358
  t[8] ? 8 : 0), !k && j & /*downloadIsVisible*/
12359
- 1024 && (k = !0, ae.isVisible = /*downloadIsVisible*/
12360
- t[10], he(() => k = !1)), _.$set(ae);
12359
+ 1024 && (k = !0, re.isVisible = /*downloadIsVisible*/
12360
+ t[10], he(() => k = !1)), _.$set(re);
12361
12361
  },
12362
12362
  i(q) {
12363
12363
  p || (O(o), O(a.$$.fragment, q), O(c.$$.fragment, q), O(_.$$.fragment, q), p = !0);
@@ -12371,7 +12371,7 @@ function ga(t) {
12371
12371
  }
12372
12372
  );
12373
12373
  }
12374
- function dA(t) {
12374
+ function cA(t) {
12375
12375
  let e, i, n, o = ci(
12376
12376
  /*content*/
12377
12377
  t[5]
@@ -12485,7 +12485,7 @@ function dA(t) {
12485
12485
  }
12486
12486
  };
12487
12487
  }
12488
- function cA(t, e, i) {
12488
+ function gA(t, e, i) {
12489
12489
  let n, o, s, l, { style: a = "auto" } = e, { downloadFormats: r = [] } = e, { larger: u = !1 } = e, { textColor: c = "#111" } = e, { backgroundColor: g = "#f5f5f5" } = e, { iconColor: f = "#000" } = e, { content: A = [] } = e, { index: _ = 0 } = e, { summary: k = !1 } = e, { isMobile: C } = e, { onEvent: p } = e, v;
12490
12490
  const w = (S) => () => {
12491
12491
  p(Ae({
@@ -12543,9 +12543,9 @@ function cA(t, e, i) {
12543
12543
  W
12544
12544
  ];
12545
12545
  }
12546
- class gA extends Pe {
12546
+ class fA extends Pe {
12547
12547
  constructor(e) {
12548
- super(), we(this, e, cA, dA, ke, {
12548
+ super(), we(this, e, gA, cA, ke, {
12549
12549
  style: 17,
12550
12550
  downloadFormats: 0,
12551
12551
  larger: 1,
@@ -12626,8 +12626,8 @@ class gA extends Pe {
12626
12626
  this.$$set({ onEvent: e }), d();
12627
12627
  }
12628
12628
  }
12629
- const fa = (t, e, i) => Oe(t, e, e === "style" ? mA(i) : i), fA = /;(?!([^()]*\([^()]*\))*[^()]*\))/, mA = (t) => t.split(fA).filter((e) => e).map((e) => e + " !important").join(";");
12630
- function hA(t) {
12629
+ const fa = (t, e, i) => Oe(t, e, e === "style" ? hA(i) : i), mA = /;(?!([^()]*\([^()]*\))*[^()]*\))/, hA = (t) => t.split(mA).filter((e) => e).map((e) => e + " !important").join(";");
12630
+ function _A(t) {
12631
12631
  let e, i, n, o;
12632
12632
  const s = (
12633
12633
  /*#slots*/
@@ -12700,7 +12700,7 @@ function hA(t) {
12700
12700
  }
12701
12701
  };
12702
12702
  }
12703
- function _A(t, e, i) {
12703
+ function AA(t, e, i) {
12704
12704
  let { $$slots: n = {}, $$scope: o } = e, { exitDelay: s = 0 } = e, { idleDelay: l = 1 / 0 } = e, { isHovering: a = !1 } = e, r = !0, u = !0, c, g;
12705
12705
  const f = () => {
12706
12706
  c && clearTimeout(c), g && clearTimeout(g), i(6, r = !1), i(7, u = !1);
@@ -12729,9 +12729,9 @@ function _A(t, e, i) {
12729
12729
  n
12730
12730
  ];
12731
12731
  }
12732
- class AA extends Pe {
12732
+ class yA extends Pe {
12733
12733
  constructor(e) {
12734
- super(), we(this, e, _A, hA, ke, {
12734
+ super(), we(this, e, AA, _A, ke, {
12735
12735
  exitDelay: 5,
12736
12736
  idleDelay: 0,
12737
12737
  isHovering: 4
@@ -12756,8 +12756,8 @@ class AA extends Pe {
12756
12756
  this.$$set({ isHovering: e }), d();
12757
12757
  }
12758
12758
  }
12759
- const yA = (t, e, i) => Oe(t, e, e === "style" ? bA(i) : i), vA = /;(?!([^()]*\([^()]*\))*[^()]*\))/, bA = (t) => t.split(vA).filter((e) => e).map((e) => e + " !important").join(";");
12760
- function kA(t) {
12759
+ const vA = (t, e, i) => Oe(t, e, e === "style" ? kA(i) : i), bA = /;(?!([^()]*\([^()]*\))*[^()]*\))/, kA = (t) => t.split(bA).filter((e) => e).map((e) => e + " !important").join(";");
12760
+ function pA(t) {
12761
12761
  let e, i;
12762
12762
  const n = (
12763
12763
  /*#slots*/
@@ -12771,7 +12771,7 @@ function kA(t) {
12771
12771
  );
12772
12772
  return {
12773
12773
  c() {
12774
- e = y("div"), o && o.c(), yA(e, "class", "visibility svelte-1exdg3");
12774
+ e = y("div"), o && o.c(), vA(e, "class", "visibility svelte-1exdg3");
12775
12775
  },
12776
12776
  m(s, l) {
12777
12777
  L(s, e, l), o && o.m(e, null), t[8](e), i = !0;
@@ -12808,7 +12808,7 @@ function kA(t) {
12808
12808
  }
12809
12809
  };
12810
12810
  }
12811
- function pA(t, e, i) {
12811
+ function SA(t, e, i) {
12812
12812
  let { $$slots: n = {}, $$scope: o } = e, s, { enabled: l = !1 } = e, { relativeY: a = void 0 } = e, { absoluteY: r = void 0 } = e, { isVisible: u = void 0 } = e, { onEvent: c = () => {
12813
12813
  } } = e;
12814
12814
  const g = ([A]) => {
@@ -12851,9 +12851,9 @@ function pA(t, e, i) {
12851
12851
  f
12852
12852
  ];
12853
12853
  }
12854
- class SA extends Pe {
12854
+ class wA extends Pe {
12855
12855
  constructor(e) {
12856
- super(), we(this, e, pA, kA, ke, {
12856
+ super(), we(this, e, SA, pA, ke, {
12857
12857
  enabled: 4,
12858
12858
  relativeY: 1,
12859
12859
  absoluteY: 2,
@@ -12892,11 +12892,11 @@ class SA extends Pe {
12892
12892
  this.$$set({ onEvent: e }), d();
12893
12893
  }
12894
12894
  }
12895
- const wA = ({ playerStyle: t, width: e }) => t === "standard" && e < 380 || t === "large" && e < 380 || t === "video" && e < 480 || t === "screen" && e < 640, PA = ({ playerStyle: t, position: e, isMobile: i, isAdvert: n }) => t === "screen" || t === "large" && i ? "symmetrical" : "left-to-right", ma = () => document.fullscreenEnabled || document.webkitFullscreenEnabled, TA = (t) => {
12895
+ const PA = ({ playerStyle: t, width: e }) => t === "standard" && e < 380 || t === "large" && e < 380 || t === "video" && e < 480 || t === "screen" && e < 640, TA = ({ playerStyle: t, isMobile: e }) => t === "screen" || t === "large" && e ? "symmetrical" : "left-to-right", ma = () => document.fullscreenEnabled || document.webkitFullscreenEnabled, CA = (t) => {
12896
12896
  t.requestFullscreen ? t.requestFullscreen() : t.webkitRequestFullscreen && t.webkitRequestFullscreen();
12897
- }, CA = () => {
12897
+ }, IA = () => {
12898
12898
  document.exitFullscreen ? document.exitFullscreen() : document.webkitExitFullscreen && document.webkitExitFullscreen();
12899
- }, ha = () => document.fullscreenElement || document.webkitCurrentFullScreenElement, an = (t, e, i) => ei(t, e, i, 1), ji = (t, e, i) => Oe(t, e, e === "style" ? OA(i) : i), IA = /;(?!([^()]*\([^()]*\))*[^()]*\))/, OA = (t) => t.split(IA).filter((e) => e).map((e) => e + " !important").join(";");
12899
+ }, ha = () => document.fullscreenElement || document.webkitCurrentFullScreenElement, an = (t, e, i) => ei(t, e, i, 1), ji = (t, e, i) => Oe(t, e, e === "style" ? BA(i) : i), OA = /;(?!([^()]*\([^()]*\))*[^()]*\))/, BA = (t) => t.split(OA).filter((e) => e).map((e) => e + " !important").join(";");
12900
12900
  function _a(t) {
12901
12901
  let e, i, n, o = !/*videoPosterImage*/
12902
12902
  t[23] && Aa(t);
@@ -12932,7 +12932,7 @@ function _a(t) {
12932
12932
  }
12933
12933
  function Aa(t) {
12934
12934
  let e, i, n, o = ct("videoInWidget") + "", s, l;
12935
- return e = new p0({
12935
+ return e = new S0({
12936
12936
  props: { color: (
12937
12937
  /*activeIconColor*/
12938
12938
  t[66]
@@ -12974,7 +12974,7 @@ function Aa(t) {
12974
12974
  }
12975
12975
  function ya(t) {
12976
12976
  let e, i;
12977
- return e = new a_({
12977
+ return e = new r_({
12978
12978
  props: {
12979
12979
  onEvent: (
12980
12980
  /*onEvent*/
@@ -13180,7 +13180,7 @@ function ba(t) {
13180
13180
  }
13181
13181
  };
13182
13182
  }
13183
- function BA(t) {
13183
+ function VA(t) {
13184
13184
  let e, i;
13185
13185
  return e = new Er({
13186
13186
  props: {
@@ -13231,9 +13231,9 @@ function BA(t) {
13231
13231
  }
13232
13232
  };
13233
13233
  }
13234
- function VA(t) {
13234
+ function WA(t) {
13235
13235
  let e, i;
13236
- return e = new C_({
13236
+ return e = new I_({
13237
13237
  props: {
13238
13238
  onEvent: (
13239
13239
  /*onEvent*/
@@ -13260,7 +13260,7 @@ function VA(t) {
13260
13260
  /*activeIconColor*/
13261
13261
  t[66]
13262
13262
  ),
13263
- $$slots: { default: [BA] },
13263
+ $$slots: { default: [VA] },
13264
13264
  $$scope: { ctx: t }
13265
13265
  }
13266
13266
  }), {
@@ -13370,7 +13370,7 @@ function ka(t) {
13370
13370
  }
13371
13371
  function pa(t) {
13372
13372
  let e, i, n, o, s, l;
13373
- return e = new Ih({
13373
+ return e = new Oh({
13374
13374
  props: {
13375
13375
  onEvent: (
13376
13376
  /*onEvent*/
@@ -13393,7 +13393,7 @@ function pa(t) {
13393
13393
  t[68]
13394
13394
  )
13395
13395
  }
13396
- }), n = new Xh({
13396
+ }), n = new Qh({
13397
13397
  props: {
13398
13398
  onEvent: (
13399
13399
  /*onEvent*/
@@ -13412,7 +13412,7 @@ function pa(t) {
13412
13412
  t[66]
13413
13413
  )
13414
13414
  }
13415
- }), s = new b2({
13415
+ }), s = new k2({
13416
13416
  props: {
13417
13417
  onEvent: (
13418
13418
  /*onEvent*/
@@ -13528,7 +13528,7 @@ function Sa(t) {
13528
13528
  }
13529
13529
  function wa(t) {
13530
13530
  let e, i;
13531
- return e = new b_({
13531
+ return e = new k_({
13532
13532
  props: {
13533
13533
  onEvent: (
13534
13534
  /*onEvent*/
@@ -13591,7 +13591,7 @@ function wa(t) {
13591
13591
  }
13592
13592
  function Pa(t) {
13593
13593
  let e, i, n, o;
13594
- return e = new C0({
13594
+ return e = new I0({
13595
13595
  props: {
13596
13596
  onEvent: (
13597
13597
  /*onEvent*/
@@ -13635,7 +13635,7 @@ function Pa(t) {
13635
13635
  t[11]
13636
13636
  )
13637
13637
  }
13638
- }), n = new N0({
13638
+ }), n = new x0({
13639
13639
  props: {
13640
13640
  onEvent: (
13641
13641
  /*onEvent*/
@@ -13724,7 +13724,7 @@ function Pa(t) {
13724
13724
  }
13725
13725
  function Ta(t) {
13726
13726
  let e, i;
13727
- return e = new F2({
13727
+ return e = new U2({
13728
13728
  props: {
13729
13729
  playerStyle: (
13730
13730
  /*playerStyle*/
@@ -13750,7 +13750,7 @@ function Ta(t) {
13750
13750
  /*fixedPosition*/
13751
13751
  t[9]
13752
13752
  ),
13753
- $$slots: { default: [zA] },
13753
+ $$slots: { default: [LA] },
13754
13754
  $$scope: { ctx: t }
13755
13755
  }
13756
13756
  }), {
@@ -13791,7 +13791,7 @@ function Ta(t) {
13791
13791
  }
13792
13792
  };
13793
13793
  }
13794
- function WA(t) {
13794
+ function MA(t) {
13795
13795
  let e, i;
13796
13796
  return e = new zr({
13797
13797
  props: {
@@ -13879,9 +13879,9 @@ function WA(t) {
13879
13879
  }
13880
13880
  };
13881
13881
  }
13882
- function MA(t) {
13882
+ function EA(t) {
13883
13883
  let e, i;
13884
- return e = new j2({
13884
+ return e = new R2({
13885
13885
  props: {
13886
13886
  onEvent: (
13887
13887
  /*onEvent*/
@@ -13939,9 +13939,9 @@ function MA(t) {
13939
13939
  }
13940
13940
  };
13941
13941
  }
13942
- function EA(t) {
13942
+ function zA(t) {
13943
13943
  let e, i;
13944
- return e = new e_({
13944
+ return e = new t_({
13945
13945
  props: {
13946
13946
  onEvent: (
13947
13947
  /*onEvent*/
@@ -13992,7 +13992,7 @@ function EA(t) {
13992
13992
  }
13993
13993
  function Ca(t) {
13994
13994
  let e, i;
13995
- return e = new a0({
13995
+ return e = new r0({
13996
13996
  props: {
13997
13997
  onEvent: (
13998
13998
  /*onEvent*/
@@ -14092,12 +14092,12 @@ function Ia(t) {
14092
14092
  }
14093
14093
  };
14094
14094
  }
14095
- function zA(t) {
14095
+ function LA(t) {
14096
14096
  let e, i, n, o = (
14097
14097
  /*isVideo*/
14098
14098
  t[27] && ma()
14099
14099
  ), s, l, a;
14100
- const r = [EA, MA, WA], u = [];
14100
+ const r = [zA, EA, MA], u = [];
14101
14101
  function c(A, _) {
14102
14102
  return (
14103
14103
  /*isScreen*/
@@ -14155,7 +14155,7 @@ function zA(t) {
14155
14155
  }
14156
14156
  function Oa(t) {
14157
14157
  let e, i, n, o;
14158
- const s = [jA, LA], l = [];
14158
+ const s = [RA, jA], l = [];
14159
14159
  function a(r, u) {
14160
14160
  return (
14161
14161
  /*showClose*/
@@ -14217,7 +14217,7 @@ function Oa(t) {
14217
14217
  }
14218
14218
  };
14219
14219
  }
14220
- function LA(t) {
14220
+ function jA(t) {
14221
14221
  let e, i;
14222
14222
  return e = new Rr({
14223
14223
  props: {
@@ -14274,9 +14274,9 @@ function LA(t) {
14274
14274
  }
14275
14275
  };
14276
14276
  }
14277
- function jA(t) {
14277
+ function RA(t) {
14278
14278
  let e, i;
14279
- return e = new A0({
14279
+ return e = new y0({
14280
14280
  props: {
14281
14281
  onEvent: (
14282
14282
  /*onEvent*/
@@ -14325,7 +14325,7 @@ function jA(t) {
14325
14325
  }
14326
14326
  };
14327
14327
  }
14328
- function RA(t) {
14328
+ function DA(t) {
14329
14329
  let e, i, n, o, s, l, a, r, u, c, g, f, A, _, k, C, p, v, w, B, N, W, S, U = (
14330
14330
  /*isVideo*/
14331
14331
  t[27] && /*videoPosterImage*/
@@ -14351,7 +14351,7 @@ function RA(t) {
14351
14351
  function X(b) {
14352
14352
  t[96](b);
14353
14353
  }
14354
- function ae(b) {
14354
+ function re(b) {
14355
14355
  t[97](b);
14356
14356
  }
14357
14357
  let pe = {
@@ -14361,7 +14361,7 @@ function RA(t) {
14361
14361
  ),
14362
14362
  enabled: !/*fixedPosition*/
14363
14363
  t[9],
14364
- $$slots: { default: [VA] },
14364
+ $$slots: { default: [WA] },
14365
14365
  $$scope: { ctx: t }
14366
14366
  };
14367
14367
  /*isVisible*/
@@ -14370,7 +14370,7 @@ function RA(t) {
14370
14370
  t[1] !== void 0 && (pe.relativeY = /*relativeY*/
14371
14371
  t[1]), /*absoluteY*/
14372
14372
  t[2] !== void 0 && (pe.absoluteY = /*absoluteY*/
14373
- t[2]), a = new SA({ props: pe }), se.push(() => _e(a, "isVisible", ne)), se.push(() => _e(a, "relativeY", X)), se.push(() => _e(a, "absoluteY", ae));
14373
+ t[2]), a = new wA({ props: pe }), se.push(() => _e(a, "isVisible", ne)), se.push(() => _e(a, "relativeY", X)), se.push(() => _e(a, "absoluteY", re));
14374
14374
  let ce = (
14375
14375
  /*isStandard*/
14376
14376
  ((t[40] || /*isVideo*/
@@ -14390,7 +14390,7 @@ function RA(t) {
14390
14390
  t[35] && /*width*/
14391
14391
  t[25] > 720 && Sa(t)
14392
14392
  );
14393
- k = new tA({
14393
+ k = new iA({
14394
14394
  props: {
14395
14395
  currentTime: (
14396
14396
  /*currentTime*/
@@ -14455,7 +14455,7 @@ function RA(t) {
14455
14455
  t[38] || /*isVideo*/
14456
14456
  t[27] && !/*isStopped*/
14457
14457
  t[36]) && wa(t)
14458
- ), re = (
14458
+ ), ae = (
14459
14459
  /*isAdvert*/
14460
14460
  t[35] && !/*forcedCollapsed*/
14461
14461
  t[33] && Pa(t)
@@ -14470,13 +14470,13 @@ function RA(t) {
14470
14470
  );
14471
14471
  return {
14472
14472
  c() {
14473
- U && U.c(), e = J(), i = y("div"), q && q.c(), n = J(), j && j.c(), o = J(), Q && Q.c(), s = J(), l = y("div"), fe(a.$$.fragment), g = J(), ce && ce.c(), f = J(), ge && ge.c(), A = J(), ye && ye.c(), _ = J(), fe(k.$$.fragment), C = J(), be && be.c(), p = J(), re && re.c(), v = J(), z && z.c(), w = J(), x && x.c(), ji(l, "class", "controls svelte-587imk"), ji(i, "class", "main svelte-587imk"), ji(i, "role", "none"), ji(i, "style", B = /*isVideo*/
14473
+ U && U.c(), e = J(), i = y("div"), q && q.c(), n = J(), j && j.c(), o = J(), Q && Q.c(), s = J(), l = y("div"), fe(a.$$.fragment), g = J(), ce && ce.c(), f = J(), ge && ge.c(), A = J(), ye && ye.c(), _ = J(), fe(k.$$.fragment), C = J(), be && be.c(), p = J(), ae && ae.c(), v = J(), z && z.c(), w = J(), x && x.c(), ji(l, "class", "controls svelte-587imk"), ji(i, "class", "main svelte-587imk"), ji(i, "role", "none"), ji(i, "style", B = /*isVideo*/
14474
14474
  t[27] ? "" : `background: ${/*activeBgColor*/
14475
14475
  t[67]}`), $(i, "no-image", !/*largeImage*/
14476
14476
  t[56]);
14477
14477
  },
14478
14478
  m(b, P) {
14479
- U && U.m(b, P), L(b, e, P), L(b, i, P), q && q.m(i, null), h(i, n), j && j.m(i, null), h(i, o), Q && Q.m(i, null), h(i, s), h(i, l), ue(a, l, null), h(l, g), ce && ce.m(l, null), h(l, f), ge && ge.m(l, null), h(l, A), ye && ye.m(l, null), h(l, _), ue(k, l, null), h(l, C), be && be.m(l, null), h(l, p), re && re.m(l, null), h(l, v), z && z.m(l, null), h(i, w), x && x.m(i, null), N = !0, W || (S = [
14479
+ U && U.m(b, P), L(b, e, P), L(b, i, P), q && q.m(i, null), h(i, n), j && j.m(i, null), h(i, o), Q && Q.m(i, null), h(i, s), h(i, l), ue(a, l, null), h(l, g), ce && ce.m(l, null), h(l, f), ge && ge.m(l, null), h(l, A), ye && ye.m(l, null), h(l, _), ue(k, l, null), h(l, C), be && be.m(l, null), h(l, p), ae && ae.m(l, null), h(l, v), z && z.m(l, null), h(i, w), x && x.m(i, null), N = !0, W || (S = [
14480
14480
  Z(
14481
14481
  i,
14482
14482
  "mousedown",
@@ -14594,9 +14594,9 @@ function RA(t) {
14594
14594
  be = null;
14595
14595
  }), Ye()), /*isAdvert*/
14596
14596
  b[35] && !/*forcedCollapsed*/
14597
- b[33] ? re ? (re.p(b, P), P[1] & /*isAdvert, forcedCollapsed*/
14598
- 20 && O(re, 1)) : (re = Pa(b), re.c(), O(re, 1), re.m(l, v)) : re && (qe(), R(re, 1, 1, () => {
14599
- re = null;
14597
+ b[33] ? ae ? (ae.p(b, P), P[1] & /*isAdvert, forcedCollapsed*/
14598
+ 20 && O(ae, 1)) : (ae = Pa(b), ae.c(), O(ae, 1), ae.m(l, v)) : ae && (qe(), R(ae, 1, 1, () => {
14599
+ ae = null;
14600
14600
  }), Ye()), /*isStopped*/
14601
14601
  b[36] ? z && (qe(), R(z, 1, 1, () => {
14602
14602
  z = null;
@@ -14619,19 +14619,19 @@ function RA(t) {
14619
14619
  b[56]);
14620
14620
  },
14621
14621
  i(b) {
14622
- N || (O(U), O(q), O(j), O(Q), O(a.$$.fragment, b), O(ce), O(ge), O(ye), O(k.$$.fragment, b), O(be), O(re), O(z), O(x), N = !0);
14622
+ N || (O(U), O(q), O(j), O(Q), O(a.$$.fragment, b), O(ce), O(ge), O(ye), O(k.$$.fragment, b), O(be), O(ae), O(z), O(x), N = !0);
14623
14623
  },
14624
14624
  o(b) {
14625
- R(U), R(q), R(j), R(Q), R(a.$$.fragment, b), R(ce), R(ge), R(ye), R(k.$$.fragment, b), R(be), R(re), R(z), R(x), N = !1;
14625
+ R(U), R(q), R(j), R(Q), R(a.$$.fragment, b), R(ce), R(ge), R(ye), R(k.$$.fragment, b), R(be), R(ae), R(z), R(x), N = !1;
14626
14626
  },
14627
14627
  d(b) {
14628
- b && (M(e), M(i)), U && U.d(b), q && q.d(), j && j.d(), Q && Q.d(), de(a), ce && ce.d(), ge && ge.d(), ye && ye.d(), de(k), be && be.d(), re && re.d(), z && z.d(), x && x.d(), W = !1, _t(S);
14628
+ b && (M(e), M(i)), U && U.d(b), q && q.d(), j && j.d(), Q && Q.d(), de(a), ce && ce.d(), ge && ge.d(), ye && ye.d(), de(k), be && be.d(), ae && ae.d(), z && z.d(), x && x.d(), W = !1, _t(S);
14629
14629
  }
14630
14630
  };
14631
14631
  }
14632
14632
  function Ba(t) {
14633
14633
  let e, i;
14634
- return e = new gA({
14634
+ return e = new fA({
14635
14635
  props: {
14636
14636
  onEvent: (
14637
14637
  /*onEvent*/
@@ -14724,7 +14724,7 @@ function Ba(t) {
14724
14724
  }
14725
14725
  };
14726
14726
  }
14727
- function DA(t) {
14727
+ function NA(t) {
14728
14728
  let e, i, n, o, s, l, a, r, u;
14729
14729
  function c(A) {
14730
14730
  t[98](A);
@@ -14738,12 +14738,12 @@ function DA(t) {
14738
14738
  /*isVideo*/
14739
14739
  t[27] ? 1500 : 1 / 0
14740
14740
  ),
14741
- $$slots: { default: [RA] },
14741
+ $$slots: { default: [DA] },
14742
14742
  $$scope: { ctx: t }
14743
14743
  };
14744
14744
  /*isHovering*/
14745
14745
  t[26] !== void 0 && (g.isHovering = /*isHovering*/
14746
- t[26]), i = new AA({ props: g }), se.push(() => _e(i, "isHovering", c));
14746
+ t[26]), i = new yA({ props: g }), se.push(() => _e(i, "isHovering", c));
14747
14747
  let f = (
14748
14748
  /*showPlaylist*/
14749
14749
  t[51] && Ba(t)
@@ -14921,8 +14921,8 @@ function DA(t) {
14921
14921
  }
14922
14922
  };
14923
14923
  }
14924
- function NA(t, e, i) {
14925
- let n, o, s, l, a, r, u, c, g, f, A, _, k, C, p, v, w, B, N, W, S, U, q, j, Q, ne, X, ae, pe, ce, ge, ye, be, re, z, x, b, P, Ce, me, De, te, K, We, Ie, Ke, je, Ge;
14924
+ function xA(t, e, i) {
14925
+ let n, o, s, l, a, r, u, c, g, f, A, _, k, C, p, v, w, B, N, W, S, U, q, j, Q, ne, X, re, pe, ce, ge, ye, be, ae, z, x, b, P, Ce, me, De, te, K, We, Ie, Ke, je, Ge;
14926
14926
  import("./././././././././style.js");
14927
14927
  let { playerStyle: Re = "standard" } = e, { callToAction: gt = void 0 } = e, { skipButtonStyle: $e = "auto" } = e, { playlistStyle: wt = "auto-5-4" } = e, { playlistToggle: Ne = "auto" } = e, { downloadFormats: et = [] } = e, { durationFormat: ve = void 0 } = e, { playerTitle: at = void 0 } = e, { fixedPosition: Be = void 0 } = e, { fixedWidth: tt = "auto" } = e, { fixedMargin: ot = "0" } = e, { showClose: bt = !1 } = e, { content: rt = [] } = e, { contentIndex: Le = 0 } = e, { summary: Et = !1 } = e, { duration: ft = 0 } = e, { currentTime: jt = 0 } = e, { playbackState: Ee = "stopped" } = e, { playbackRate: st = 1 } = e, { playbackRates: At = [] } = e, { activeAdvert: ze = void 0 } = e, { persistentAdvert: yt = void 0 } = e, { companionAdvert: Ze = void 0 } = e, { analyticsId: kt = void 0 } = e, { textColor: It = "#111" } = e, { backgroundColor: lt = "#f5f5f5" } = e, { iconColor: it = "black" } = e, { videoTextColor: Ot = "white" } = e, { videoBackgroundColor: nt = "black" } = e, { videoIconColor: mt = "white" } = e, { logoIconEnabled: zt = !0 } = e, { logoImagePosition: pt = void 0 } = e, { maxImageSize: Jt = 0 } = e, { onEvent: xe = () => {
14928
14928
  } } = e, { aspectRatio: Pt = 16 / 9 } = e, { videoPosterImage: dt = "" } = e, { videoIsBehind: St = !1 } = e, { isFullScreen: Xe = !1 } = e, { isVisible: vt = void 0 } = e, { relativeY: Qe = void 0 } = e, { absoluteY: Tt = void 0 } = e, Ue, Ht, Je, I;
@@ -14936,7 +14936,7 @@ function NA(t, e, i) {
14936
14936
  }));
14937
14937
  };
14938
14938
  Bo(() => {
14939
- const Y = new ah(([ti]) => {
14939
+ const Y = new rh(([ti]) => {
14940
14940
  i(25, Ht = ti.contentRect.width);
14941
14941
  });
14942
14942
  return Y.observe(Ue), () => Y.unobserve(Ue);
@@ -14972,7 +14972,7 @@ function NA(t, e, i) {
14972
14972
  32 | t.$$.dirty[2] & /*activeAdvert*/
14973
14973
  65536 && i(35, c = ze && !u), t.$$.dirty[0] & /*content*/
14974
14974
  4096 && i(90, g = rt.length > 1), t.$$.dirty[0] & /*playerStyle, width*/
14975
- 33554440 && i(38, f = wA({ playerStyle: Re, width: Ht })), t.$$.dirty[0] & /*isVideo, aspectRatio*/
14975
+ 33554440 && i(38, f = PA({ playerStyle: Re, width: Ht })), t.$$.dirty[0] & /*isVideo, aspectRatio*/
14976
14976
  138412032 | t.$$.dirty[2] & /*isFullScreen*/
14977
14977
  134217728 && i(31, A = a && Pt < 1 && !Xe), t.$$.dirty[0] & /*content, contentIndex*/
14978
14978
  12288 && i(30, _ = rt[Le] || {}), t.$$.dirty[0] & /*currentTime, duration*/
@@ -15006,26 +15006,20 @@ function NA(t, e, i) {
15006
15006
  2 | t.$$.dirty[2] & /*fixedWidth*/
15007
15007
  16384 && i(59, X = tt === "auto" ? n ? "fit-content" : "" : tt), t.$$.dirty[0] & /*fixedPosition*/
15008
15008
  512 | t.$$.dirty[1] & /*isStandard*/
15009
- 512 && i(93, ae = Be === "auto" ? o ? "center" : "right" : Be), t.$$.dirty[0] & /*fixedPosition*/
15009
+ 512 && i(94, re = Be === "auto" ? o ? "center" : "right" : Be), t.$$.dirty[0] & /*fixedPosition*/
15010
15010
  512 | t.$$.dirty[3] & /*position*/
15011
- 1 && i(29, pe = Be ? `fixed fixed-${ae}` : ""), t.$$.dirty[0] & /*fixedPosition*/
15011
+ 2 && i(29, pe = Be ? `fixed fixed-${re}` : ""), t.$$.dirty[0] & /*fixedPosition*/
15012
15012
  512 | t.$$.dirty[1] & /*isSmall, isStandard*/
15013
- 514 && i(58, ce = (Y) => Be && !window.disableAnimation && Um(Y, { y: n || o ? 40 : 100 })), t.$$.dirty[0] & /*fixedMargin*/
15014
- 1024 && i(94, ge = wr(ot)), t.$$.dirty[3] & /*margin*/
15015
- 2 && i(57, ye = `calc(${ge.left} + ${ge.right})`), t.$$.dirty[0] & /*playerStyle*/
15016
- 8 | t.$$.dirty[1] & /*isMobile, isAdvert*/
15017
- 144 | t.$$.dirty[3] & /*position*/
15018
- 1 && i(28, be = PA({
15019
- playerStyle: Re,
15020
- position: ae,
15021
- isMobile: f,
15022
- isAdvert: c
15023
- })), t.$$.dirty[2] & /*companionAdvert, activeAdvert*/
15024
- 327680 && i(92, re = (Ze == null ? void 0 : Ze.imageUrl) || (ze == null ? void 0 : ze.imageUrl)), t.$$.dirty[2] & /*companionAdvert, activeAdvert*/
15013
+ 514 && i(58, ce = (Y) => Be && !window.disableAnimation && Hm(Y, { y: n || o ? 40 : 100 })), t.$$.dirty[0] & /*fixedMargin*/
15014
+ 1024 && i(93, ge = wr(ot)), t.$$.dirty[3] & /*margin*/
15015
+ 1 && i(57, ye = `calc(${ge.left} + ${ge.right})`), t.$$.dirty[0] & /*playerStyle*/
15016
+ 8 | t.$$.dirty[1] & /*isMobile*/
15017
+ 128 && i(28, be = TA({ playerStyle: Re, isMobile: f })), t.$$.dirty[2] & /*companionAdvert, activeAdvert*/
15018
+ 327680 && i(92, ae = (Ze == null ? void 0 : Ze.imageUrl) || (ze == null ? void 0 : ze.imageUrl)), t.$$.dirty[2] & /*companionAdvert, activeAdvert*/
15025
15019
  327680 && i(39, z = (Ze == null ? void 0 : Ze.clickThroughUrl) || (ze == null ? void 0 : ze.clickThroughUrl)), t.$$.dirty[0] & /*contentItem*/
15026
15020
  1073741824 | t.$$.dirty[1] & /*isAdvert, isStopped*/
15027
15021
  48 | t.$$.dirty[2] & /*advertImageUrl, persistentAdvert*/
15028
- 1073872896 && i(56, x = c && re || !u && (yt == null ? void 0 : yt.imageUrl) || _.imageUrl), t.$$.dirty[1] & /*isAdvert, advertClickThroughUrl, isStopped*/
15022
+ 1073872896 && i(56, x = c && ae || !u && (yt == null ? void 0 : yt.imageUrl) || _.imageUrl), t.$$.dirty[1] & /*isAdvert, advertClickThroughUrl, isStopped*/
15029
15023
  304 | t.$$.dirty[2] & /*persistentAdvert*/
15030
15024
  131072 && i(55, b = c && z || !u && (yt == null ? void 0 : yt.clickThroughUrl)), t.$$.dirty[1] & /*isMobile*/
15031
15025
  128 | t.$$.dirty[2] & /*maxImageSize*/
@@ -15143,9 +15137,9 @@ function NA(t, e, i) {
15143
15137
  Xe,
15144
15138
  g,
15145
15139
  K,
15146
- re,
15147
15140
  ae,
15148
15141
  ge,
15142
+ re,
15149
15143
  oe,
15150
15144
  Ji,
15151
15145
  Dt,
@@ -15158,8 +15152,8 @@ class Cl extends Pe {
15158
15152
  super(), we(
15159
15153
  this,
15160
15154
  e,
15155
+ xA,
15161
15156
  NA,
15162
- DA,
15163
15157
  ke,
15164
15158
  {
15165
15159
  playerStyle: 3,
@@ -15455,8 +15449,8 @@ class Cl extends Pe {
15455
15449
  this.$$set({ absoluteY: e }), d();
15456
15450
  }
15457
15451
  }
15458
- const Zs = (t, e, i) => Oe(t, e, e === "style" ? FA(i) : i), xA = /;(?!([^()]*\([^()]*\))*[^()]*\))/, FA = (t) => t.split(xA).filter((e) => e).map((e) => e + " !important").join(";");
15459
- function UA(t) {
15452
+ const Zs = (t, e, i) => Oe(t, e, e === "style" ? UA(i) : i), FA = /;(?!([^()]*\([^()]*\))*[^()]*\))/, UA = (t) => t.split(FA).filter((e) => e).map((e) => e + " !important").join(";");
15453
+ function HA(t) {
15460
15454
  let e, i, n;
15461
15455
  const o = (
15462
15456
  /*#slots*/
@@ -15510,7 +15504,7 @@ function UA(t) {
15510
15504
  }
15511
15505
  };
15512
15506
  }
15513
- function HA(t, e, i) {
15507
+ function qA(t, e, i) {
15514
15508
  let n, { $$slots: o = {}, $$scope: s } = e, { root: l = void 0 } = e, { prepend: a = !1 } = e, r, u;
15515
15509
  Bo(() => i(3, u = r.parentNode));
15516
15510
  const c = (A, _) => A.insertBefore(_, A.firstChild), g = (A, _) => A.appendChild(_);
@@ -15531,7 +15525,7 @@ function HA(t, e, i) {
15531
15525
  }
15532
15526
  class Es extends Pe {
15533
15527
  constructor(e) {
15534
- super(), we(this, e, HA, UA, ke, { root: 0, prepend: 2 });
15528
+ super(), we(this, e, qA, HA, ke, { root: 0, prepend: 2 });
15535
15529
  }
15536
15530
  get root() {
15537
15531
  return this.$$.ctx[0];
@@ -15546,7 +15540,7 @@ class Es extends Pe {
15546
15540
  this.$$set({ prepend: e }), d();
15547
15541
  }
15548
15542
  }
15549
- const E = (t, e, i) => Oe(t, e, e === "style" ? YA(i) : i), qA = /;(?!([^()]*\([^()]*\))*[^()]*\))/, YA = (t) => t.split(qA).filter((e) => e).map((e) => e + " !important").join(";");
15543
+ const E = (t, e, i) => Oe(t, e, e === "style" ? ZA(i) : i), YA = /;(?!([^()]*\([^()]*\))*[^()]*\))/, ZA = (t) => t.split(YA).filter((e) => e).map((e) => e + " !important").join(";");
15550
15544
  function Va(t, e, i) {
15551
15545
  const n = t.slice();
15552
15546
  return n[94] = e[i], n[96] = i, n;
@@ -15559,7 +15553,7 @@ function Ma(t, e, i) {
15559
15553
  const n = t.slice();
15560
15554
  return n[94] = e[i], n[96] = i, n;
15561
15555
  }
15562
- function ZA(t, e, i) {
15556
+ function KA(t, e, i) {
15563
15557
  const n = t.slice();
15564
15558
  return n[99] = e[i], n;
15565
15559
  }
@@ -15594,9 +15588,9 @@ function za(t) {
15594
15588
  };
15595
15589
  }
15596
15590
  function La(t) {
15597
- let e, i, n, o, s, l, a, r, u, c, g, f, A, _, k, C, p, v, w, B, N, W, S, U, q, j, Q, ne, X, ae, pe, ce, ge, ye, be, re, z, x, b, P, Ce, me, De, te, K, We, Ie, Ke, je, Ge, Re, gt, $e, wt, Ne, et, ve, at, Be, tt, ot, bt, rt, Le, Et, ft, jt, Ee, st, At, ze, yt, Ze, kt, It, lt, it, Ot, nt, mt, zt, pt, Jt, xe, Pt, dt, St, Xe, vt, Qe, Tt, Ue, Ht, Je, I, T, V, oe, Ji, Dt, bi, Ct, Y, ti, un, Bt, Ai, ii, ki, Xt, pi, Si, ni, qt, Di, yi, dn, Lt, Ni, Yt, Mi, gi, xi, oi, Ei, Xi, Ft = ci([1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]), Zt = [];
15591
+ let e, i, n, o, s, l, a, r, u, c, g, f, A, _, k, C, p, v, w, B, N, W, S, U, q, j, Q, ne, X, re, pe, ce, ge, ye, be, ae, z, x, b, P, Ce, me, De, te, K, We, Ie, Ke, je, Ge, Re, gt, $e, wt, Ne, et, ve, at, Be, tt, ot, bt, rt, Le, Et, ft, jt, Ee, st, At, ze, yt, Ze, kt, It, lt, it, Ot, nt, mt, zt, pt, Jt, xe, Pt, dt, St, Xe, vt, Qe, Tt, Ue, Ht, Je, I, T, V, oe, Ji, Dt, bi, Ct, Y, ti, un, Bt, Ai, ii, ki, Xt, pi, Si, ni, qt, Di, yi, dn, Lt, Ni, Yt, Mi, gi, xi, oi, Ei, Xi, Ft = ci([1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]), Zt = [];
15598
15592
  for (let D = 0; D < 12; D += 1)
15599
- Zt[D] = KA(ZA(t, Ft, D));
15593
+ Zt[D] = GA(KA(t, Ft, D));
15600
15594
  let si = ci(
15601
15595
  /*content*/
15602
15596
  t[44]
@@ -15623,8 +15617,8 @@ function La(t) {
15623
15617
  `), v = y("input"), w = J(), B = y("div"), N = ie(`sourceId:
15624
15618
  `), W = y("input"), S = J(), U = y("div"), q = ie(`sourceUrl:
15625
15619
  `), j = y("input"), Q = J(), ne = y("div"), X = ie(`showUserInterface:
15626
- `), ae = y("select"), pe = y("option"), pe.textContent = `${!1}`, ce = y("option"), ce.textContent = `${!0}`, ge = J(), ye = y("div"), be = ie(`segmentWidgetSections:
15627
- `), re = y("select"), z = y("option"), z.textContent = "all", x = y("option"), x.textContent = "body", b = y("option"), b.textContent = "none", P = y("option"), P.textContent = "all-none", Ce = y("option"), Ce.textContent = "none-all", me = J(), De = y("div"), te = ie(`segmentWidgetPosition:
15620
+ `), re = y("select"), pe = y("option"), pe.textContent = `${!1}`, ce = y("option"), ce.textContent = `${!0}`, ge = J(), ye = y("div"), be = ie(`segmentWidgetSections:
15621
+ `), ae = y("select"), z = y("option"), z.textContent = "all", x = y("option"), x.textContent = "body", b = y("option"), b.textContent = "none", P = y("option"), P.textContent = "all-none", Ce = y("option"), Ce.textContent = "none-all", me = J(), De = y("div"), te = ie(`segmentWidgetPosition:
15628
15622
  `), K = y("select");
15629
15623
  for (let D = 0; D < 12; D += 1)
15630
15624
  Zt[D].c();
@@ -15653,14 +15647,14 @@ function La(t) {
15653
15647
  `), Bt = y("select"), Ai = y("option"), Ai.textContent = "personalized", ii = y("option"), ii.textContent = "non-personalized", ki = y("option"), ki.textContent = "under-the-age-of-consent", Xt = J(), pi = y("div"), Si = ie(`analyticsConsent:
15654
15648
  `), ni = y("select"), qt = y("option"), qt.textContent = "allowed", Di = y("option"), Di.textContent = "without-local-storage", yi = y("option"), yi.textContent = "none", dn = J(), Lt = y("div"), Ni = ie(`analyticsCustomUrl:
15655
15649
  `), Yt = y("input"), Mi = J(), gi = y("div"), xi = ie(`analyticsTag:
15656
- `), oi = y("input"), E(n, "class", "svelte-1a8td5m"), E(c, "tabindex", -1), E(c, "type", "text"), E(c, "class", "svelte-1a8td5m"), E(r, "class", "control svelte-1a8td5m"), E(_, "tabindex", -1), E(_, "type", "text"), E(_, "class", "svelte-1a8td5m"), E(f, "class", "control svelte-1a8td5m"), E(v, "tabindex", -1), E(v, "type", "text"), E(v, "class", "svelte-1a8td5m"), E(C, "class", "control svelte-1a8td5m"), E(W, "tabindex", -1), E(W, "type", "text"), E(W, "class", "svelte-1a8td5m"), E(B, "class", "control svelte-1a8td5m"), E(j, "tabindex", -1), E(j, "type", "text"), E(j, "class", "svelte-1a8td5m"), E(U, "class", "control svelte-1a8td5m"), pe.__value = !1, H(pe, pe.__value), ce.__value = !0, H(ce, ce.__value), E(ae, "tabindex", -1), E(ae, "class", "svelte-1a8td5m"), /*showUserInterface*/
15650
+ `), oi = y("input"), E(n, "class", "svelte-1a8td5m"), E(c, "tabindex", -1), E(c, "type", "text"), E(c, "class", "svelte-1a8td5m"), E(r, "class", "control svelte-1a8td5m"), E(_, "tabindex", -1), E(_, "type", "text"), E(_, "class", "svelte-1a8td5m"), E(f, "class", "control svelte-1a8td5m"), E(v, "tabindex", -1), E(v, "type", "text"), E(v, "class", "svelte-1a8td5m"), E(C, "class", "control svelte-1a8td5m"), E(W, "tabindex", -1), E(W, "type", "text"), E(W, "class", "svelte-1a8td5m"), E(B, "class", "control svelte-1a8td5m"), E(j, "tabindex", -1), E(j, "type", "text"), E(j, "class", "svelte-1a8td5m"), E(U, "class", "control svelte-1a8td5m"), pe.__value = !1, H(pe, pe.__value), ce.__value = !0, H(ce, ce.__value), E(re, "tabindex", -1), E(re, "class", "svelte-1a8td5m"), /*showUserInterface*/
15657
15651
  t[6] === void 0 && ut(() => (
15658
15652
  /*select0_change_handler_1*/
15659
- t[72].call(ae)
15660
- )), E(ne, "class", "control svelte-1a8td5m"), z.__value = "all", H(z, z.__value), x.__value = "body", H(x, x.__value), b.__value = "none", H(b, b.__value), P.__value = "all-none", H(P, P.__value), Ce.__value = "none-all", H(Ce, Ce.__value), E(re, "tabindex", -1), E(re, "class", "svelte-1a8td5m"), /*segmentWidgetSections*/
15653
+ t[72].call(re)
15654
+ )), E(ne, "class", "control svelte-1a8td5m"), z.__value = "all", H(z, z.__value), x.__value = "body", H(x, x.__value), b.__value = "none", H(b, b.__value), P.__value = "all-none", H(P, P.__value), Ce.__value = "none-all", H(Ce, Ce.__value), E(ae, "tabindex", -1), E(ae, "class", "svelte-1a8td5m"), /*segmentWidgetSections*/
15661
15655
  t[37] === void 0 && ut(() => (
15662
15656
  /*select1_change_handler_1*/
15663
- t[73].call(re)
15657
+ t[73].call(ae)
15664
15658
  )), E(ye, "class", "control svelte-1a8td5m"), E(K, "tabindex", -1), E(K, "class", "svelte-1a8td5m"), /*segmentWidgetPosition*/
15665
15659
  t[38] === void 0 && ut(() => (
15666
15660
  /*select2_change_handler_1*/
@@ -15720,13 +15714,13 @@ function La(t) {
15720
15714
  j,
15721
15715
  /*sourceUrl*/
15722
15716
  t[4]
15723
- ), L(D, Q, G), L(D, ne, G), h(ne, X), h(ne, ae), h(ae, pe), h(ae, ce), Ve(
15724
- ae,
15717
+ ), L(D, Q, G), L(D, ne, G), h(ne, X), h(ne, re), h(re, pe), h(re, ce), Ve(
15718
+ re,
15725
15719
  /*showUserInterface*/
15726
15720
  t[6],
15727
15721
  !0
15728
- ), L(D, ge, G), L(D, ye, G), h(ye, be), h(ye, re), h(re, z), h(re, x), h(re, b), h(re, P), h(re, Ce), Ve(
15729
- re,
15722
+ ), L(D, ge, G), L(D, ye, G), h(ye, be), h(ye, ae), h(ae, z), h(ae, x), h(ae, b), h(ae, P), h(ae, Ce), Ve(
15723
+ ae,
15730
15724
  /*segmentWidgetSections*/
15731
15725
  t[37],
15732
15726
  !0
@@ -15851,13 +15845,13 @@ function La(t) {
15851
15845
  t[71]
15852
15846
  ),
15853
15847
  Z(
15854
- ae,
15848
+ re,
15855
15849
  "change",
15856
15850
  /*select0_change_handler_1*/
15857
15851
  t[72]
15858
15852
  ),
15859
15853
  Z(
15860
- re,
15854
+ ae,
15861
15855
  "change",
15862
15856
  /*select1_change_handler_1*/
15863
15857
  t[73]
@@ -15999,12 +15993,12 @@ function La(t) {
15999
15993
  D[4]
16000
15994
  ), G[0] & /*showUserInterface*/
16001
15995
  64 && Ve(
16002
- ae,
15996
+ re,
16003
15997
  /*showUserInterface*/
16004
15998
  D[6]
16005
15999
  ), G[1] & /*segmentWidgetSections*/
16006
16000
  64 && Ve(
16007
- re,
16001
+ ae,
16008
16002
  /*segmentWidgetSections*/
16009
16003
  D[37]
16010
16004
  ), G[1] & /*segmentWidgetPosition*/
@@ -16152,7 +16146,7 @@ function La(t) {
16152
16146
  }
16153
16147
  };
16154
16148
  }
16155
- function KA(t) {
16149
+ function GA(t) {
16156
16150
  let e;
16157
16151
  return {
16158
16152
  c() {
@@ -16247,7 +16241,7 @@ function Da(t) {
16247
16241
  }
16248
16242
  };
16249
16243
  }
16250
- function GA(t) {
16244
+ function JA(t) {
16251
16245
  let e, i, n;
16252
16246
  return {
16253
16247
  c() {
@@ -16267,7 +16261,7 @@ function GA(t) {
16267
16261
  }
16268
16262
  };
16269
16263
  }
16270
- function JA(t) {
16264
+ function XA(t) {
16271
16265
  let e, i, n;
16272
16266
  return {
16273
16267
  c() {
@@ -16287,8 +16281,8 @@ function JA(t) {
16287
16281
  }
16288
16282
  };
16289
16283
  }
16290
- function XA(t) {
16291
- let e, i, n, o, s, l, a, r, u, c, g, f, A, _, k, C, p, v, w, B, N, W, S, U, q, j, Q, ne, X, ae, pe, ce, ge, ye, be, re, z, x, b, P, Ce, me, De, te, K, We, Ie, Ke, je, Ge, Re, gt, $e, wt, Ne, et, ve, at, Be, tt, ot, bt, rt, Le, Et, ft, jt, Ee, st, At, ze, yt, Ze, kt, It, lt, it, Ot, nt, mt, zt, pt, Jt, xe, Pt, dt, St, Xe, vt, Qe, Tt, Ue, Ht, Je, I, T, V, oe, Ji, Dt, bi, Ct, Y, ti, un, Bt, Ai, ii, ki, Xt, pi, Si, ni, qt, Di, yi, dn, Lt, Ni, Yt, Mi, gi, xi, oi, Ei, Xi, Ft, Zt, si, Vt, vi, Wt, Yi, Nt, D, G, le, wi, cn, oo, Wo, Sn = ci(
16284
+ function QA(t) {
16285
+ let e, i, n, o, s, l, a, r, u, c, g, f, A, _, k, C, p, v, w, B, N, W, S, U, q, j, Q, ne, X, re, pe, ce, ge, ye, be, ae, z, x, b, P, Ce, me, De, te, K, We, Ie, Ke, je, Ge, Re, gt, $e, wt, Ne, et, ve, at, Be, tt, ot, bt, rt, Le, Et, ft, jt, Ee, st, At, ze, yt, Ze, kt, It, lt, it, Ot, nt, mt, zt, pt, Jt, xe, Pt, dt, St, Xe, vt, Qe, Tt, Ue, Ht, Je, I, T, V, oe, Ji, Dt, bi, Ct, Y, ti, un, Bt, Ai, ii, ki, Xt, pi, Si, ni, qt, Di, yi, dn, Lt, Ni, Yt, Mi, gi, xi, oi, Ei, Xi, Ft, Zt, si, Vt, vi, Wt, Yi, Nt, D, G, le, wi, cn, oo, Wo, Sn = ci(
16292
16286
  /*adverts*/
16293
16287
  t[46]
16294
16288
  ), li = [];
@@ -16301,7 +16295,7 @@ function XA(t) {
16301
16295
  function Mo(Te, ht) {
16302
16296
  return (
16303
16297
  /*showAdvancedSettings*/
16304
- Te[47] ? JA : GA
16298
+ Te[47] ? XA : JA
16305
16299
  );
16306
16300
  }
16307
16301
  let jn = Mo(t), Fi = jn(t);
@@ -16311,8 +16305,8 @@ function XA(t) {
16311
16305
  `), r = y("select"), u = y("option"), u.textContent = "small", c = y("option"), c.textContent = "standard", g = y("option"), g.textContent = "large", f = y("option"), f.textContent = "video", A = J(), _ = y("div"), k = ie(`playbackState:
16312
16306
  `), C = y("select"), p = y("option"), p.textContent = "stopped", v = y("option"), v.textContent = "playing", w = y("option"), w.textContent = "paused", B = J(), N = y("div"), W = ie(`summary:
16313
16307
  `), S = y("select"), U = y("option"), U.textContent = `${!1}`, q = y("option"), q.textContent = `${!0}`, j = J(), Q = y("div"), ne = ie(`playerTitle:
16314
- `), X = y("input"), ae = J(), pe = y("div"), ce = ie(`callToAction:
16315
- `), ge = y("input"), ye = J(), be = y("div"), re = ie(`skipButtonStyle:
16308
+ `), X = y("input"), re = J(), pe = y("div"), ce = ie(`callToAction:
16309
+ `), ge = y("input"), ye = J(), be = y("div"), ae = ie(`skipButtonStyle:
16316
16310
  `), z = y("select"), x = y("option"), x.textContent = "auto", b = y("option"), b.textContent = "segments", P = y("option"), P.textContent = "seconds", Ce = y("option"), Ce.textContent = "seconds-15", me = y("option"), me.textContent = "seconds-15-30", De = y("option"), De.textContent = "tracks", te = J(), K = y("div"), We = ie(`playlistStyle:
16317
16311
  `), Ie = y("select"), Ke = y("option"), Ke.textContent = "auto", je = y("option"), je.textContent = "show", Ge = y("option"), Ge.textContent = "show-3", Re = y("option"), Re.textContent = "show-999", gt = y("option"), gt.textContent = "hide", $e = J(), wt = y("div"), Ne = ie(`playlistToggle:
16318
16312
  `), et = y("select"), ve = y("option"), ve.textContent = "auto", at = y("option"), at.textContent = "show", Be = y("option"), Be.textContent = "hide", tt = J(), ot = y("div"), bt = ie(`advertIndex:
@@ -16403,11 +16397,11 @@ function XA(t) {
16403
16397
  X,
16404
16398
  /*playerTitle*/
16405
16399
  t[8]
16406
- ), h(e, ae), h(e, pe), h(pe, ce), h(pe, ge), H(
16400
+ ), h(e, re), h(e, pe), h(pe, ce), h(pe, ge), H(
16407
16401
  ge,
16408
16402
  /*callToAction*/
16409
16403
  t[9]
16410
- ), h(e, ye), h(e, be), h(be, re), h(be, z), h(z, x), h(z, b), h(z, P), h(z, Ce), h(z, me), h(z, De), Ve(
16404
+ ), h(e, ye), h(e, be), h(be, ae), h(be, z), h(z, x), h(z, b), h(z, P), h(z, Ce), h(z, me), h(z, De), Ve(
16411
16405
  z,
16412
16406
  /*skipButtonStyle*/
16413
16407
  t[10],
@@ -16726,9 +16720,9 @@ function XA(t) {
16726
16720
  }
16727
16721
  };
16728
16722
  }
16729
- function QA(t, e, i) {
16723
+ function $A(t, e, i) {
16730
16724
  import("./././././././././style.js");
16731
- let { controlPanel: n } = e, { projectId: o } = e, { contentId: s } = e, { playlistId: l } = e, { sourceId: a } = e, { sourceUrl: r } = e, { summary: u } = e, { showUserInterface: c } = e, { playerStyle: g } = e, { playerTitle: f } = e, { callToAction: A } = e, { skipButtonStyle: _ } = e, { playlistStyle: k } = e, { playlistToggle: C } = e, { mediaSession: p } = e, { content: v } = e, { contentIndex: w } = e, { introsOutros: B } = e, { introsOutrosIndex: N } = e, { adverts: W } = e, { advertIndex: S } = e, { persistentAdImage: U } = e, { persistentIndex: q } = e, { duration: j } = e, { currentTime: Q } = e, { playbackState: ne } = e, { playbackRate: X } = e, { widgetStyle: ae } = e, { widgetPosition: pe } = e, { widgetWidth: ce } = e, { widgetMargin: ge } = e, { widgetTarget: ye } = e, { textColor: be } = e, { backgroundColor: re } = e, { iconColor: z } = e, { highlightColor: x } = e, { videoTextColor: b } = e, { videoIconColor: P } = e, { logoIconEnabled: Ce } = e, { highlightSections: me } = e, { clickableSections: De } = e, { segmentWidgetSections: te } = e, { segmentWidgetPosition: K } = e, { advertConsent: We } = e, { analyticsConsent: Ie } = e, { analyticsCustomUrl: Ke } = e, { analyticsTag: je } = e, Ge = !1;
16725
+ let { controlPanel: n } = e, { projectId: o } = e, { contentId: s } = e, { playlistId: l } = e, { sourceId: a } = e, { sourceUrl: r } = e, { summary: u } = e, { showUserInterface: c } = e, { playerStyle: g } = e, { playerTitle: f } = e, { callToAction: A } = e, { skipButtonStyle: _ } = e, { playlistStyle: k } = e, { playlistToggle: C } = e, { mediaSession: p } = e, { content: v } = e, { contentIndex: w } = e, { introsOutros: B } = e, { introsOutrosIndex: N } = e, { adverts: W } = e, { advertIndex: S } = e, { persistentAdImage: U } = e, { persistentIndex: q } = e, { duration: j } = e, { currentTime: Q } = e, { playbackState: ne } = e, { playbackRate: X } = e, { widgetStyle: re } = e, { widgetPosition: pe } = e, { widgetWidth: ce } = e, { widgetMargin: ge } = e, { widgetTarget: ye } = e, { textColor: be } = e, { backgroundColor: ae } = e, { iconColor: z } = e, { highlightColor: x } = e, { videoTextColor: b } = e, { videoIconColor: P } = e, { logoIconEnabled: Ce } = e, { highlightSections: me } = e, { clickableSections: De } = e, { segmentWidgetSections: te } = e, { segmentWidgetPosition: K } = e, { advertConsent: We } = e, { analyticsConsent: Ie } = e, { analyticsCustomUrl: Ke } = e, { analyticsTag: je } = e, Ge = !1;
16732
16726
  function Re() {
16733
16727
  g = Mt(this), i(7, g);
16734
16728
  }
@@ -16757,7 +16751,7 @@ function QA(t, e, i) {
16757
16751
  S = Mt(this), i(16, S);
16758
16752
  }
16759
16753
  function tt() {
16760
- ae = Mt(this), i(23, ae);
16754
+ re = Mt(this), i(23, re);
16761
16755
  }
16762
16756
  function ot() {
16763
16757
  pe = Mt(this), i(24, pe);
@@ -16772,7 +16766,7 @@ function QA(t, e, i) {
16772
16766
  be = this.value, i(28, be);
16773
16767
  }
16774
16768
  function Et() {
16775
- re = this.value, i(29, re);
16769
+ ae = this.value, i(29, ae);
16776
16770
  }
16777
16771
  function ft() {
16778
16772
  z = this.value, i(30, z);
@@ -16860,7 +16854,7 @@ function QA(t, e, i) {
16860
16854
  }
16861
16855
  const Je = () => i(47, Ge = !1), I = () => i(47, Ge = !0), T = () => n.remove();
16862
16856
  return t.$$set = (V) => {
16863
- "controlPanel" in V && i(43, n = V.controlPanel), "projectId" in V && i(0, o = V.projectId), "contentId" in V && i(1, s = V.contentId), "playlistId" in V && i(2, l = V.playlistId), "sourceId" in V && i(3, a = V.sourceId), "sourceUrl" in V && i(4, r = V.sourceUrl), "summary" in V && i(5, u = V.summary), "showUserInterface" in V && i(6, c = V.showUserInterface), "playerStyle" in V && i(7, g = V.playerStyle), "playerTitle" in V && i(8, f = V.playerTitle), "callToAction" in V && i(9, A = V.callToAction), "skipButtonStyle" in V && i(10, _ = V.skipButtonStyle), "playlistStyle" in V && i(11, k = V.playlistStyle), "playlistToggle" in V && i(12, C = V.playlistToggle), "mediaSession" in V && i(13, p = V.mediaSession), "content" in V && i(44, v = V.content), "contentIndex" in V && i(14, w = V.contentIndex), "introsOutros" in V && i(45, B = V.introsOutros), "introsOutrosIndex" in V && i(15, N = V.introsOutrosIndex), "adverts" in V && i(46, W = V.adverts), "advertIndex" in V && i(16, S = V.advertIndex), "persistentAdImage" in V && i(17, U = V.persistentAdImage), "persistentIndex" in V && i(18, q = V.persistentIndex), "duration" in V && i(19, j = V.duration), "currentTime" in V && i(20, Q = V.currentTime), "playbackState" in V && i(21, ne = V.playbackState), "playbackRate" in V && i(22, X = V.playbackRate), "widgetStyle" in V && i(23, ae = V.widgetStyle), "widgetPosition" in V && i(24, pe = V.widgetPosition), "widgetWidth" in V && i(25, ce = V.widgetWidth), "widgetMargin" in V && i(26, ge = V.widgetMargin), "widgetTarget" in V && i(27, ye = V.widgetTarget), "textColor" in V && i(28, be = V.textColor), "backgroundColor" in V && i(29, re = V.backgroundColor), "iconColor" in V && i(30, z = V.iconColor), "highlightColor" in V && i(31, x = V.highlightColor), "videoTextColor" in V && i(32, b = V.videoTextColor), "videoIconColor" in V && i(33, P = V.videoIconColor), "logoIconEnabled" in V && i(34, Ce = V.logoIconEnabled), "highlightSections" in V && i(35, me = V.highlightSections), "clickableSections" in V && i(36, De = V.clickableSections), "segmentWidgetSections" in V && i(37, te = V.segmentWidgetSections), "segmentWidgetPosition" in V && i(38, K = V.segmentWidgetPosition), "advertConsent" in V && i(39, We = V.advertConsent), "analyticsConsent" in V && i(40, Ie = V.analyticsConsent), "analyticsCustomUrl" in V && i(41, Ke = V.analyticsCustomUrl), "analyticsTag" in V && i(42, je = V.analyticsTag);
16857
+ "controlPanel" in V && i(43, n = V.controlPanel), "projectId" in V && i(0, o = V.projectId), "contentId" in V && i(1, s = V.contentId), "playlistId" in V && i(2, l = V.playlistId), "sourceId" in V && i(3, a = V.sourceId), "sourceUrl" in V && i(4, r = V.sourceUrl), "summary" in V && i(5, u = V.summary), "showUserInterface" in V && i(6, c = V.showUserInterface), "playerStyle" in V && i(7, g = V.playerStyle), "playerTitle" in V && i(8, f = V.playerTitle), "callToAction" in V && i(9, A = V.callToAction), "skipButtonStyle" in V && i(10, _ = V.skipButtonStyle), "playlistStyle" in V && i(11, k = V.playlistStyle), "playlistToggle" in V && i(12, C = V.playlistToggle), "mediaSession" in V && i(13, p = V.mediaSession), "content" in V && i(44, v = V.content), "contentIndex" in V && i(14, w = V.contentIndex), "introsOutros" in V && i(45, B = V.introsOutros), "introsOutrosIndex" in V && i(15, N = V.introsOutrosIndex), "adverts" in V && i(46, W = V.adverts), "advertIndex" in V && i(16, S = V.advertIndex), "persistentAdImage" in V && i(17, U = V.persistentAdImage), "persistentIndex" in V && i(18, q = V.persistentIndex), "duration" in V && i(19, j = V.duration), "currentTime" in V && i(20, Q = V.currentTime), "playbackState" in V && i(21, ne = V.playbackState), "playbackRate" in V && i(22, X = V.playbackRate), "widgetStyle" in V && i(23, re = V.widgetStyle), "widgetPosition" in V && i(24, pe = V.widgetPosition), "widgetWidth" in V && i(25, ce = V.widgetWidth), "widgetMargin" in V && i(26, ge = V.widgetMargin), "widgetTarget" in V && i(27, ye = V.widgetTarget), "textColor" in V && i(28, be = V.textColor), "backgroundColor" in V && i(29, ae = V.backgroundColor), "iconColor" in V && i(30, z = V.iconColor), "highlightColor" in V && i(31, x = V.highlightColor), "videoTextColor" in V && i(32, b = V.videoTextColor), "videoIconColor" in V && i(33, P = V.videoIconColor), "logoIconEnabled" in V && i(34, Ce = V.logoIconEnabled), "highlightSections" in V && i(35, me = V.highlightSections), "clickableSections" in V && i(36, De = V.clickableSections), "segmentWidgetSections" in V && i(37, te = V.segmentWidgetSections), "segmentWidgetPosition" in V && i(38, K = V.segmentWidgetPosition), "advertConsent" in V && i(39, We = V.advertConsent), "analyticsConsent" in V && i(40, Ie = V.analyticsConsent), "analyticsCustomUrl" in V && i(41, Ke = V.analyticsCustomUrl), "analyticsTag" in V && i(42, je = V.analyticsTag);
16864
16858
  }, [
16865
16859
  o,
16866
16860
  s,
@@ -16885,13 +16879,13 @@ function QA(t, e, i) {
16885
16879
  Q,
16886
16880
  ne,
16887
16881
  X,
16888
- ae,
16882
+ re,
16889
16883
  pe,
16890
16884
  ce,
16891
16885
  ge,
16892
16886
  ye,
16893
16887
  be,
16894
- re,
16888
+ ae,
16895
16889
  z,
16896
16890
  x,
16897
16891
  b,
@@ -16958,13 +16952,13 @@ function QA(t, e, i) {
16958
16952
  T
16959
16953
  ];
16960
16954
  }
16961
- class $A extends Pe {
16955
+ class ey extends Pe {
16962
16956
  constructor(e) {
16963
16957
  super(), we(
16964
16958
  this,
16965
16959
  e,
16960
+ $A,
16966
16961
  QA,
16967
- XA,
16968
16962
  ke,
16969
16963
  {
16970
16964
  controlPanel: 43,
@@ -17302,27 +17296,27 @@ class $A extends Pe {
17302
17296
  this.$$set({ analyticsTag: e }), d();
17303
17297
  }
17304
17298
  }
17305
- const ey = (t, e, i) => {
17306
- ny(t);
17299
+ const ty = (t, e, i) => {
17300
+ oy(t);
17307
17301
  const n = new Image();
17308
17302
  return n.setAttribute("crossorigin", "anonymous"), new Promise((o, s) => {
17309
- n.addEventListener("load", ty(n, e, i, o, s)), n.addEventListener("error", s), n.src = t;
17303
+ n.addEventListener("load", iy(n, e, i, o, s)), n.addEventListener("error", s), n.src = t;
17310
17304
  });
17311
- }, ty = (t, e, i, n, o) => () => {
17305
+ }, iy = (t, e, i, n, o) => () => {
17312
17306
  const s = document.createElement("canvas"), l = s.getContext("2d");
17313
- s.width = e, s.height = i, l.drawImage(t, 0, 0, e, i), s.toBlob(iy(t, e, i, n, o));
17314
- }, qn = {}, iy = (t, e, i, n, o) => (s) => {
17307
+ s.width = e, s.height = i, l.drawImage(t, 0, 0, e, i), s.toBlob(ny(t, e, i, n, o));
17308
+ }, qn = {}, ny = (t, e, i, n, o) => (s) => {
17315
17309
  var a;
17316
17310
  s || o();
17317
17311
  const l = URL.createObjectURL(s);
17318
17312
  qn[a = t.src] || (qn[a] = []), qn[t.src].push(l), n({ src: l, sizes: `${e}x${i}`, type: "image/png" });
17319
- }, ny = (t) => {
17313
+ }, oy = (t) => {
17320
17314
  Object.keys(qn).filter((n) => n !== t).map((n) => qn[n]).flat().forEach((n) => URL.revokeObjectURL(n));
17321
- }, oy = (t, e, i) => gn(void 0, null, function* () {
17315
+ }, sy = (t, e, i) => gn(void 0, null, function* () {
17322
17316
  t = yield t;
17323
17317
  const n = t.innerHTML;
17324
17318
  return { src: `data:image/svg+xml,${encodeURIComponent(n)}`, sizes: `${e}x${i}`, type: "image/svg+xml" };
17325
- }), sy = (t, e, i) => ei(t, e, i, 1), ly = (t, e, i) => Oe(t, e, e === "style" ? ry(i) : i), ay = /;(?!([^()]*\([^()]*\))*[^()]*\))/, ry = (t) => t.split(ay).filter((e) => e).map((e) => e + " !important").join(";");
17319
+ }), ly = (t, e, i) => ei(t, e, i, 1), ay = (t, e, i) => Oe(t, e, e === "style" ? uy(i) : i), ry = /;(?!([^()]*\([^()]*\))*[^()]*\))/, uy = (t) => t.split(ry).filter((e) => e).map((e) => e + " !important").join(";");
17326
17320
  function Na(t, e, i) {
17327
17321
  const n = t.slice();
17328
17322
  return n[41] = e[i], n[42] = e, n[43] = i, n;
@@ -17358,7 +17352,7 @@ function xa(t) {
17358
17352
  );
17359
17353
  return {
17360
17354
  c() {
17361
- e = y("div"), fe(i.$$.fragment), n = J(), sy(e, "display", "none");
17355
+ e = y("div"), fe(i.$$.fragment), n = J(), ly(e, "display", "none");
17362
17356
  },
17363
17357
  m(r, u) {
17364
17358
  L(r, e, u), ue(i, e, null), h(e, n), l(), s = !0;
@@ -17385,7 +17379,7 @@ function xa(t) {
17385
17379
  }
17386
17380
  };
17387
17381
  }
17388
- function uy(t) {
17382
+ function dy(t) {
17389
17383
  let e, i, n = ci(
17390
17384
  /*imageSizes*/
17391
17385
  t[3]
@@ -17400,7 +17394,7 @@ function uy(t) {
17400
17394
  e = y("div");
17401
17395
  for (let l = 0; l < o.length; l += 1)
17402
17396
  o[l].c();
17403
- ly(e, "class", "media-session");
17397
+ ay(e, "class", "media-session");
17404
17398
  },
17405
17399
  m(l, a) {
17406
17400
  L(l, e, a);
@@ -17443,7 +17437,7 @@ function uy(t) {
17443
17437
  }
17444
17438
  };
17445
17439
  }
17446
- function dy(t, e, i) {
17440
+ function cy(t, e, i) {
17447
17441
  let n, o, s, l, a, r, u, c, g, f, A, _, k, C, p, v, w, B, N, W, S, U;
17448
17442
  const q = [96, 128, 192, 256, 384, 512], j = [
17449
17443
  "hangup",
@@ -17461,7 +17455,7 @@ function dy(t, e, i) {
17461
17455
  "togglecamera",
17462
17456
  "togglemicrophone"
17463
17457
  ];
17464
- let { content: Q = [] } = e, { contentIndex: ne = 0 } = e, { activeAdvert: X = void 0 } = e, { persistentAdvert: ae = void 0 } = e, { companionAdvert: pe = void 0 } = e, { duration: ce = 0 } = e, { playbackState: ge = "stopped" } = e, { skipButtonStyle: ye = "auto" } = e, { backgroundColor: be = "#f5f5f5" } = e, { iconColor: re = "black" } = e, { onEvent: z = () => {
17458
+ let { content: Q = [] } = e, { contentIndex: ne = 0 } = e, { activeAdvert: X = void 0 } = e, { persistentAdvert: re = void 0 } = e, { companionAdvert: pe = void 0 } = e, { duration: ce = 0 } = e, { playbackState: ge = "stopped" } = e, { skipButtonStyle: ye = "auto" } = e, { backgroundColor: be = "#f5f5f5" } = e, { iconColor: ae = "black" } = e, { onEvent: z = () => {
17465
17459
  } } = e, x = [], b = /* @__PURE__ */ new Set(), P = q.map(() => {
17466
17460
  }), Ce = q.map(() => {
17467
17461
  });
@@ -17472,7 +17466,7 @@ function dy(t, e, i) {
17472
17466
  });
17473
17467
  }
17474
17468
  return t.$$set = (te) => {
17475
- "content" in te && i(4, Q = te.content), "contentIndex" in te && i(5, ne = te.contentIndex), "activeAdvert" in te && i(6, X = te.activeAdvert), "persistentAdvert" in te && i(7, ae = te.persistentAdvert), "companionAdvert" in te && i(8, pe = te.companionAdvert), "duration" in te && i(9, ce = te.duration), "playbackState" in te && i(10, ge = te.playbackState), "skipButtonStyle" in te && i(11, ye = te.skipButtonStyle), "backgroundColor" in te && i(12, be = te.backgroundColor), "iconColor" in te && i(13, re = te.iconColor), "onEvent" in te && i(14, z = te.onEvent);
17469
+ "content" in te && i(4, Q = te.content), "contentIndex" in te && i(5, ne = te.contentIndex), "activeAdvert" in te && i(6, X = te.activeAdvert), "persistentAdvert" in te && i(7, re = te.persistentAdvert), "companionAdvert" in te && i(8, pe = te.companionAdvert), "duration" in te && i(9, ce = te.duration), "playbackState" in te && i(10, ge = te.playbackState), "skipButtonStyle" in te && i(11, ye = te.skipButtonStyle), "backgroundColor" in te && i(12, be = te.backgroundColor), "iconColor" in te && i(13, ae = te.iconColor), "onEvent" in te && i(14, z = te.onEvent);
17476
17470
  }, t.$$.update = () => {
17477
17471
  t.$$.dirty[0] & /*playbackState*/
17478
17472
  1024 && i(34, n = ge === "stopped"), t.$$.dirty[0] & /*activeAdvert*/
@@ -17492,16 +17486,16 @@ function dy(t, e, i) {
17492
17486
  4160 | t.$$.dirty[1] & /*isAdvert*/
17493
17487
  32 && i(2, A = o && (X == null ? void 0 : X.backgroundColor) || be), t.$$.dirty[0] & /*activeAdvert, iconColor*/
17494
17488
  8256 | t.$$.dirty[1] & /*isAdvert*/
17495
- 32 && i(1, _ = o && (X == null ? void 0 : X.iconColor) || re), t.$$.dirty[0] & /*background, foreground, fallbackSvgs*/
17489
+ 32 && i(1, _ = o && (X == null ? void 0 : X.iconColor) || ae), t.$$.dirty[0] & /*background, foreground, fallbackSvgs*/
17496
17490
  7 && i(17, Ce = q.map((te, K) => yr().then(() => P[K]))), t.$$.dirty[0] & /*companionAdvert, activeAdvert*/
17497
17491
  320 && i(35, k = (pe == null ? void 0 : pe.imageUrl) || (X == null ? void 0 : X.imageUrl)), t.$$.dirty[0] & /*persistentAdvert, contentItem*/
17498
17492
  268435584 | t.$$.dirty[1] & /*isAdvert, advertImageUrl, isStopped*/
17499
- 56 && i(33, C = o && k || !n && (ae == null ? void 0 : ae.imageUrl) || (l == null ? void 0 : l.imageUrl)), t.$$.dirty[0] & /*failedUrls*/
17493
+ 56 && i(33, C = o && k || !n && (re == null ? void 0 : re.imageUrl) || (l == null ? void 0 : l.imageUrl)), t.$$.dirty[0] & /*failedUrls*/
17500
17494
  65536 | t.$$.dirty[1] & /*imageUrl_*/
17501
17495
  4 && i(29, p = b.has(C) ? null : C), t.$$.dirty[0] & /*imageUrl*/
17502
- 536870912 && i(32, v = p ? q.map((te) => ey(p, te, te)) : []), t.$$.dirty[0] & /*imageUrl*/
17496
+ 536870912 && i(32, v = p ? q.map((te) => ty(p, te, te)) : []), t.$$.dirty[0] & /*imageUrl*/
17503
17497
  536870912 && i(31, w = p ? [{ src: p, sizes: "any" }] : []), t.$$.dirty[0] & /*imageUrl, renderedSvgs*/
17504
- 537001984 && i(30, B = p ? [] : q.map((te, K) => oy(Ce[K], te, te))), t.$$.dirty[0] & /*svgArtworks*/
17498
+ 537001984 && i(30, B = p ? [] : q.map((te, K) => sy(Ce[K], te, te))), t.$$.dirty[0] & /*svgArtworks*/
17505
17499
  1073741824 | t.$$.dirty[1] & /*pngArtworks, urlArtworks*/
17506
17500
  3 && i(27, N = Promise.all([...v, ...w, ...B])), t.$$.dirty[0] & /*contentItem*/
17507
17501
  268435456 && i(26, W = (l == null ? void 0 : l.title) || ""), t.$$.dirty[0] & /*artworks*/
@@ -17580,13 +17574,13 @@ function dy(t, e, i) {
17580
17574
  Q,
17581
17575
  ne,
17582
17576
  X,
17583
- ae,
17577
+ re,
17584
17578
  pe,
17585
17579
  ce,
17586
17580
  ge,
17587
17581
  ye,
17588
17582
  be,
17589
- re,
17583
+ ae,
17590
17584
  z,
17591
17585
  x,
17592
17586
  b,
@@ -17614,13 +17608,13 @@ function dy(t, e, i) {
17614
17608
  De
17615
17609
  ];
17616
17610
  }
17617
- class cy extends Pe {
17611
+ class gy extends Pe {
17618
17612
  constructor(e) {
17619
17613
  super(), we(
17620
17614
  this,
17621
17615
  e,
17616
+ cy,
17622
17617
  dy,
17623
- uy,
17624
17618
  ke,
17625
17619
  {
17626
17620
  content: 4,
@@ -17706,7 +17700,7 @@ class cy extends Pe {
17706
17700
  this.$$set({ onEvent: e }), d();
17707
17701
  }
17708
17702
  }
17709
- const Fa = (t, e, i) => Oe(t, e, e === "style" ? fy(i) : i), gy = /;(?!([^()]*\([^()]*\))*[^()]*\))/, fy = (t) => t.split(gy).filter((e) => e).map((e) => e + " !important").join(";");
17703
+ const Fa = (t, e, i) => Oe(t, e, e === "style" ? my(i) : i), fy = /;(?!([^()]*\([^()]*\))*[^()]*\))/, my = (t) => t.split(fy).filter((e) => e).map((e) => e + " !important").join(";");
17710
17704
  function Ua(t) {
17711
17705
  let e, i, n, o;
17712
17706
  return {
@@ -17729,7 +17723,7 @@ function Ua(t) {
17729
17723
  }
17730
17724
  };
17731
17725
  }
17732
- function my(t) {
17726
+ function hy(t) {
17733
17727
  let e, i = !/*alreadyLoaded*/
17734
17728
  t[1] && Ua(t);
17735
17729
  return {
@@ -17750,15 +17744,15 @@ function my(t) {
17750
17744
  }
17751
17745
  };
17752
17746
  }
17753
- function hy(t, e, i) {
17747
+ function _y(t, e, i) {
17754
17748
  let n, { analyticsTag: o } = e;
17755
17749
  return t.$$set = (s) => {
17756
17750
  "analyticsTag" in s && i(0, o = s.analyticsTag);
17757
17751
  }, i(1, n = window.gtag), [o, n];
17758
17752
  }
17759
- class _y extends Pe {
17753
+ class Ay extends Pe {
17760
17754
  constructor(e) {
17761
- super(), we(this, e, hy, my, ke, { analyticsTag: 0 });
17755
+ super(), we(this, e, _y, hy, ke, { analyticsTag: 0 });
17762
17756
  }
17763
17757
  get analyticsTag() {
17764
17758
  return this.$$.ctx[0];
@@ -17767,7 +17761,7 @@ class _y extends Pe {
17767
17761
  this.$$set({ analyticsTag: e }), d();
17768
17762
  }
17769
17763
  }
17770
- const Ha = (t, e, i) => Oe(t, e, e === "style" ? yy(i) : i), Ay = /;(?!([^()]*\([^()]*\))*[^()]*\))/, yy = (t) => t.split(Ay).filter((e) => e).map((e) => e + " !important").join(";");
17764
+ const Ha = (t, e, i) => Oe(t, e, e === "style" ? vy(i) : i), yy = /;(?!([^()]*\([^()]*\))*[^()]*\))/, vy = (t) => t.split(yy).filter((e) => e).map((e) => e + " !important").join(";");
17771
17765
  function qa(t) {
17772
17766
  let e, i;
17773
17767
  return {
@@ -17788,7 +17782,7 @@ function qa(t) {
17788
17782
  }
17789
17783
  };
17790
17784
  }
17791
- function vy(t) {
17785
+ function by(t) {
17792
17786
  let e, i = !/*alreadyLoaded*/
17793
17787
  t[1] && qa(t);
17794
17788
  return {
@@ -17809,16 +17803,16 @@ function vy(t) {
17809
17803
  }
17810
17804
  };
17811
17805
  }
17812
- function by(t, e, i) {
17806
+ function ky(t, e, i) {
17813
17807
  let n, o;
17814
17808
  return i(1, n = window.daxListenerId), i(0, o = Math.floor(Math.random() * 1e10)), [o, n];
17815
17809
  }
17816
- class ky extends Pe {
17810
+ class py extends Pe {
17817
17811
  constructor(e) {
17818
- super(), we(this, e, by, vy, ke, {});
17812
+ super(), we(this, e, ky, by, ke, {});
17819
17813
  }
17820
17814
  }
17821
- class py extends Pe {
17815
+ class Sy extends Pe {
17822
17816
  constructor(e) {
17823
17817
  super(), we(this, e, null, null, ke, {});
17824
17818
  }
@@ -18005,14 +17999,14 @@ ko = new WeakMap(), ys = new WeakSet(), Gr = function(e, i, n, o) {
18005
17999
  return i;
18006
18000
  }, Me(An, ys), Me(An, vs), Me(An, ko, new Il(F(An, ys, Gr), F(An, vs, Jr)));
18007
18001
  let cl = An;
18008
- const Sy = () => Ae({
18002
+ const wy = () => Ae({
18009
18003
  type: "IdentifiersChanged",
18010
18004
  description: "The Player's content identifiers changed.",
18011
18005
  initiatedBy: "browser"
18012
- }), wy = (t) => t ? Py(t) ? { newTarget: Cy(t), showUserInterface: !0 } : typeof t == "string" ? { newTarget: fl(t), showUserInterface: !0 } : { newTarget: t, showUserInterface: !0 } : { newTarget: Ty(), showUserInterface: !1 }, Py = (t) => typeof t == "object" && t.nodeName.toLowerCase() === "script", Ty = () => {
18006
+ }), Py = (t) => t ? Ty(t) ? { newTarget: Iy(t), showUserInterface: !0 } : typeof t == "string" ? { newTarget: fl(t), showUserInterface: !0 } : { newTarget: t, showUserInterface: !0 } : { newTarget: Cy(), showUserInterface: !1 }, Ty = (t) => typeof t == "object" && t.nodeName.toLowerCase() === "script", Cy = () => {
18013
18007
  const t = document.createElement("div");
18014
18008
  return document.body.appendChild(t), t;
18015
- }, Cy = (t) => {
18009
+ }, Iy = (t) => {
18016
18010
  const e = document.createElement("div");
18017
18011
  return t.parentNode.insertBefore(e, t.nextSibling), e;
18018
18012
  }, fl = (t, e = "player") => {
@@ -18020,12 +18014,12 @@ const Sy = () => Ae({
18020
18014
  return t;
18021
18015
  const i = document.querySelectorAll(t);
18022
18016
  return i.length === 0 && Ri(`Failed to initialize ${e} because the target could not be found.`, { target: t, elements: i }), i.length > 1 && Ri(`Failed to initialize ${e} because the target is ambiguous. (${i.length} elements match)`, { target: t, elements: i }), i[0];
18023
- }, Iy = ["small", "standard", "large", "screen", "video"], ml = (t) => Iy.indexOf(t) !== -1;
18017
+ }, Oy = ["small", "standard", "large", "screen", "video"], ml = (t) => Oy.indexOf(t) !== -1;
18024
18018
  function Ga(t, e, i) {
18025
18019
  const n = t.slice();
18026
18020
  return n[184] = e[i], n;
18027
18021
  }
18028
- function Oy(t) {
18022
+ function By(t) {
18029
18023
  var C;
18030
18024
  let e, i, n, o, s, l, a, r;
18031
18025
  function u(p) {
@@ -18169,7 +18163,7 @@ function Oy(t) {
18169
18163
  t[50] !== void 0 && (k.prevPercentage = /*prevPercentage*/
18170
18164
  t[50]), /*metadataLoaded*/
18171
18165
  t[23] !== void 0 && (k.metadataLoaded = /*metadataLoaded*/
18172
- t[23]), e = new xm({ props: k }), t[126](e), se.push(() => _e(e, "playbackState", u)), se.push(() => _e(e, "duration", c)), se.push(() => _e(e, "currentTime", g)), se.push(() => _e(e, "playbackRate", f)), se.push(() => _e(e, "prevPercentage", A)), se.push(() => _e(e, "metadataLoaded", _)), {
18166
+ t[23]), e = new Fm({ props: k }), t[126](e), se.push(() => _e(e, "playbackState", u)), se.push(() => _e(e, "duration", c)), se.push(() => _e(e, "currentTime", g)), se.push(() => _e(e, "playbackRate", f)), se.push(() => _e(e, "prevPercentage", A)), se.push(() => _e(e, "metadataLoaded", _)), {
18173
18167
  c() {
18174
18168
  fe(e.$$.fragment);
18175
18169
  },
@@ -18492,7 +18486,7 @@ function Xa(t) {
18492
18486
  /*widgetTarget*/
18493
18487
  t[13]
18494
18488
  ),
18495
- $$slots: { default: [By] },
18489
+ $$slots: { default: [Vy] },
18496
18490
  $$scope: { ctx: t }
18497
18491
  }
18498
18492
  }), {
@@ -18523,7 +18517,7 @@ function Xa(t) {
18523
18517
  }
18524
18518
  };
18525
18519
  }
18526
- function By(t) {
18520
+ function Vy(t) {
18527
18521
  let e, i, n = {
18528
18522
  onEvent: (
18529
18523
  /*onEvent*/
@@ -18759,7 +18753,7 @@ function By(t) {
18759
18753
  }
18760
18754
  };
18761
18755
  }
18762
- function Vy(t) {
18756
+ function Wy(t) {
18763
18757
  let e, i;
18764
18758
  return e = new Cl({
18765
18759
  props: {
@@ -18919,7 +18913,7 @@ function Qa(t, e) {
18919
18913
  /*root*/
18920
18914
  e[184]
18921
18915
  ),
18922
- $$slots: { default: [Vy] },
18916
+ $$slots: { default: [Wy] },
18923
18917
  $$scope: { ctx: e }
18924
18918
  }
18925
18919
  }), {
@@ -18961,7 +18955,7 @@ function $a(t) {
18961
18955
  /*controlPanel*/
18962
18956
  t[22]
18963
18957
  ),
18964
- $$slots: { default: [Wy] },
18958
+ $$slots: { default: [My] },
18965
18959
  $$scope: { ctx: t }
18966
18960
  }
18967
18961
  }), {
@@ -18991,8 +18985,8 @@ function $a(t) {
18991
18985
  }
18992
18986
  };
18993
18987
  }
18994
- function Wy(t) {
18995
- let e, i, n, o, s, l, a, r, u, c, g, f, A, _, k, C, p, v, w, B, N, W, S, U, q, j, Q, ne, X, ae, pe, ce, ge, ye, be, re, z, x, b, P, Ce, me, De, te, K, We, Ie, Ke;
18988
+ function My(t) {
18989
+ let e, i, n, o, s, l, a, r, u, c, g, f, A, _, k, C, p, v, w, B, N, W, S, U, q, j, Q, ne, X, re, pe, ce, ge, ye, be, ae, z, x, b, P, Ce, me, De, te, K, We, Ie, Ke;
18996
18990
  function je(T) {
18997
18991
  t[136](T);
18998
18992
  }
@@ -19238,7 +19232,7 @@ function Wy(t) {
19238
19232
  t[45] !== void 0 && (I.analyticsCustomUrl = /*analyticsCustomUrl*/
19239
19233
  t[45]), /*analyticsTag*/
19240
19234
  t[46] !== void 0 && (I.analyticsTag = /*analyticsTag*/
19241
- t[46]), e = new $A({ props: I }), se.push(() => _e(e, "controlPanel", je)), se.push(() => _e(e, "projectId", Ge)), se.push(() => _e(e, "contentId", Re)), se.push(() => _e(e, "playlistId", gt)), se.push(() => _e(e, "sourceId", $e)), se.push(() => _e(e, "sourceUrl", wt)), se.push(() => _e(e, "summary", Ne)), se.push(() => _e(e, "showUserInterface", et)), se.push(() => _e(e, "playerStyle", ve)), se.push(() => _e(e, "playerTitle", at)), se.push(() => _e(e, "callToAction", Be)), se.push(() => _e(e, "skipButtonStyle", tt)), se.push(() => _e(e, "playlistStyle", ot)), se.push(() => _e(e, "playlistToggle", bt)), se.push(() => _e(e, "mediaSession", rt)), se.push(() => _e(e, "contentIndex", Le)), se.push(() => _e(e, "introsOutrosIndex", Et)), se.push(() => _e(e, "advertIndex", ft)), se.push(() => _e(e, "persistentAdImage", jt)), se.push(() => _e(e, "persistentIndex", Ee)), se.push(() => _e(e, "duration", st)), se.push(() => _e(e, "currentTime", At)), se.push(() => _e(e, "playbackState", ze)), se.push(() => _e(e, "playbackRate", yt)), se.push(() => _e(e, "widgetStyle", Ze)), se.push(() => _e(e, "widgetPosition", kt)), se.push(() => _e(e, "widgetWidth", It)), se.push(() => _e(e, "widgetMargin", lt)), se.push(() => _e(e, "widgetTarget", it)), se.push(() => _e(e, "textColor", Ot)), se.push(() => _e(e, "backgroundColor", nt)), se.push(() => _e(e, "iconColor", mt)), se.push(() => _e(e, "highlightColor", zt)), se.push(() => _e(e, "videoTextColor", pt)), se.push(() => _e(e, "videoIconColor", Jt)), se.push(() => _e(e, "logoIconEnabled", xe)), se.push(() => _e(e, "highlightSections", Pt)), se.push(() => _e(e, "clickableSections", dt)), se.push(() => _e(e, "segmentWidgetSections", St)), se.push(() => _e(e, "segmentWidgetPosition", Xe)), se.push(() => _e(e, "currentSegment", vt)), se.push(() => _e(e, "hoveredSegment", Qe)), se.push(() => _e(e, "advertConsent", Tt)), se.push(() => _e(e, "analyticsConsent", Ue)), se.push(() => _e(e, "analyticsCustomUrl", Ht)), se.push(() => _e(e, "analyticsTag", Je)), {
19235
+ t[46]), e = new ey({ props: I }), se.push(() => _e(e, "controlPanel", je)), se.push(() => _e(e, "projectId", Ge)), se.push(() => _e(e, "contentId", Re)), se.push(() => _e(e, "playlistId", gt)), se.push(() => _e(e, "sourceId", $e)), se.push(() => _e(e, "sourceUrl", wt)), se.push(() => _e(e, "summary", Ne)), se.push(() => _e(e, "showUserInterface", et)), se.push(() => _e(e, "playerStyle", ve)), se.push(() => _e(e, "playerTitle", at)), se.push(() => _e(e, "callToAction", Be)), se.push(() => _e(e, "skipButtonStyle", tt)), se.push(() => _e(e, "playlistStyle", ot)), se.push(() => _e(e, "playlistToggle", bt)), se.push(() => _e(e, "mediaSession", rt)), se.push(() => _e(e, "contentIndex", Le)), se.push(() => _e(e, "introsOutrosIndex", Et)), se.push(() => _e(e, "advertIndex", ft)), se.push(() => _e(e, "persistentAdImage", jt)), se.push(() => _e(e, "persistentIndex", Ee)), se.push(() => _e(e, "duration", st)), se.push(() => _e(e, "currentTime", At)), se.push(() => _e(e, "playbackState", ze)), se.push(() => _e(e, "playbackRate", yt)), se.push(() => _e(e, "widgetStyle", Ze)), se.push(() => _e(e, "widgetPosition", kt)), se.push(() => _e(e, "widgetWidth", It)), se.push(() => _e(e, "widgetMargin", lt)), se.push(() => _e(e, "widgetTarget", it)), se.push(() => _e(e, "textColor", Ot)), se.push(() => _e(e, "backgroundColor", nt)), se.push(() => _e(e, "iconColor", mt)), se.push(() => _e(e, "highlightColor", zt)), se.push(() => _e(e, "videoTextColor", pt)), se.push(() => _e(e, "videoIconColor", Jt)), se.push(() => _e(e, "logoIconEnabled", xe)), se.push(() => _e(e, "highlightSections", Pt)), se.push(() => _e(e, "clickableSections", dt)), se.push(() => _e(e, "segmentWidgetSections", St)), se.push(() => _e(e, "segmentWidgetPosition", Xe)), se.push(() => _e(e, "currentSegment", vt)), se.push(() => _e(e, "hoveredSegment", Qe)), se.push(() => _e(e, "advertConsent", Tt)), se.push(() => _e(e, "analyticsConsent", Ue)), se.push(() => _e(e, "analyticsCustomUrl", Ht)), se.push(() => _e(e, "analyticsTag", Je)), {
19242
19236
  c() {
19243
19237
  fe(e.$$.fragment);
19244
19238
  },
@@ -19309,9 +19303,9 @@ function Wy(t) {
19309
19303
  32 && (ne = !0, oe.widgetWidth = /*widgetWidth*/
19310
19304
  T[36], he(() => ne = !1)), !X && V[1] & /*widgetMargin*/
19311
19305
  64 && (X = !0, oe.widgetMargin = /*widgetMargin*/
19312
- T[37], he(() => X = !1)), !ae && V[0] & /*widgetTarget*/
19313
- 8192 && (ae = !0, oe.widgetTarget = /*widgetTarget*/
19314
- T[13], he(() => ae = !1)), !pe && V[1] & /*textColor*/
19306
+ T[37], he(() => X = !1)), !re && V[0] & /*widgetTarget*/
19307
+ 8192 && (re = !0, oe.widgetTarget = /*widgetTarget*/
19308
+ T[13], he(() => re = !1)), !pe && V[1] & /*textColor*/
19315
19309
  128 && (pe = !0, oe.textColor = /*textColor*/
19316
19310
  T[38], he(() => pe = !1)), !ce && V[1] & /*backgroundColor*/
19317
19311
  256 && (ce = !0, oe.backgroundColor = /*backgroundColor*/
@@ -19321,9 +19315,9 @@ function Wy(t) {
19321
19315
  16384 && (ye = !0, oe.highlightColor = /*highlightColor*/
19322
19316
  T[14], he(() => ye = !1)), !be && V[1] & /*videoTextColor*/
19323
19317
  1024 && (be = !0, oe.videoTextColor = /*videoTextColor*/
19324
- T[41], he(() => be = !1)), !re && V[1] & /*videoIconColor*/
19325
- 2048 && (re = !0, oe.videoIconColor = /*videoIconColor*/
19326
- T[42], he(() => re = !1)), !z && V[1] & /*logoIconEnabled*/
19318
+ T[41], he(() => be = !1)), !ae && V[1] & /*videoIconColor*/
19319
+ 2048 && (ae = !0, oe.videoIconColor = /*videoIconColor*/
19320
+ T[42], he(() => ae = !1)), !z && V[1] & /*logoIconEnabled*/
19327
19321
  4096 && (z = !0, oe.logoIconEnabled = /*logoIconEnabled*/
19328
19322
  T[43], he(() => z = !1)), !x && V[0] & /*highlightSections*/
19329
19323
  32768 && (x = !0, oe.highlightSections = /*highlightSections*/
@@ -19361,7 +19355,7 @@ function Wy(t) {
19361
19355
  }
19362
19356
  function er(t) {
19363
19357
  let e, i;
19364
- return e = new cy({
19358
+ return e = new gy({
19365
19359
  props: {
19366
19360
  onEvent: (
19367
19361
  /*onEvent*/
@@ -19452,7 +19446,7 @@ function er(t) {
19452
19446
  }
19453
19447
  function tr(t) {
19454
19448
  let e, i;
19455
- return e = new _y({
19449
+ return e = new Ay({
19456
19450
  props: { analyticsTag: (
19457
19451
  /*analyticsTag*/
19458
19452
  t[46]
@@ -19483,7 +19477,7 @@ function tr(t) {
19483
19477
  }
19484
19478
  function ir(t) {
19485
19479
  let e, i;
19486
- return e = new ky({}), {
19480
+ return e = new py({}), {
19487
19481
  c() {
19488
19482
  fe(e.$$.fragment);
19489
19483
  },
@@ -19501,7 +19495,7 @@ function ir(t) {
19501
19495
  }
19502
19496
  };
19503
19497
  }
19504
- function My(t) {
19498
+ function Ey(t) {
19505
19499
  let e, i, n, o, s = [], l = /* @__PURE__ */ new Map(), a, r, u, c, g, f, A;
19506
19500
  e = new Es({
19507
19501
  props: {
@@ -19510,7 +19504,7 @@ function My(t) {
19510
19504
  /*videoRoot*/
19511
19505
  t[81]
19512
19506
  ),
19513
- $$slots: { default: [Oy] },
19507
+ $$slots: { default: [By] },
19514
19508
  $$scope: { ctx: t }
19515
19509
  }
19516
19510
  });
@@ -19545,7 +19539,7 @@ function My(t) {
19545
19539
  /*setDaxListenerId*/
19546
19540
  t[87] && ir()
19547
19541
  );
19548
- return f = new py({}), {
19542
+ return f = new Sy({}), {
19549
19543
  c() {
19550
19544
  fe(e.$$.fragment), i = J(), _ && _.c(), n = J(), k && k.c(), o = J();
19551
19545
  for (let W = 0; W < s.length; W += 1)
@@ -19620,8 +19614,8 @@ function My(t) {
19620
19614
  }
19621
19615
  };
19622
19616
  }
19623
- function Ey(t, e, i) {
19624
- let n, o, s, l, a, r, u, c, g, f, A, _, k, C, p, v, w, B, N, W, S, U, q, j, Q, ne, X, ae, pe, ce, ge, ye, { playerApiUrl: be = "https://api.beyondwords.io/v1/projects/{id}/player" } = e, { projectId: re = void 0 } = e, { contentId: z = void 0 } = e, { playlistId: x = void 0 } = e, { sourceId: b = void 0 } = e, { sourceUrl: P = void 0 } = e, { playlist: Ce = [] } = e, { summary: me = !1 } = e, { clientSideEnabled: De = !1 } = e, { showUserInterface: te = !0 } = e, { showBottomWidget: K = !1 } = e, { showCloseWidget: We = !0 } = e, { playerStyle: Ie = "standard" } = e, { videoSizes: Ke = [] } = e, { playerTitle: je = void 0 } = e, { callToAction: Ge = void 0 } = e, { skipButtonStyle: Re = "auto" } = e, { playlistStyle: gt = "auto-5-4" } = e, { playlistToggle: $e = "auto" } = e, { downloadFormats: wt = [] } = e, { durationFormat: Ne = void 0 } = e, { mediaSession: et = "auto" } = e, { content: ve = [] } = e, { contentIndex: at = 0 } = e, { introsOutros: Be = [] } = e, { introsOutrosIndex: tt = -1 } = e, { adverts: ot = [] } = e, { advertIndex: bt = -1 } = e, { preloadAdvertIndex: rt = -1 } = e, { minDurationForMidroll: Le = 2 * 60 } = e, { minTimeUntilEndForMidroll: Et = 10 } = e, { persistentAdImage: ft = !1 } = e, { persistentIndex: jt = -1 } = e, { duration: Ee = 0 } = e, { currentTime: st = 0 } = e, { playbackState: At = "stopped" } = e, { playbackRate: ze = 1 } = e, { playbackRates: yt = [0.5, 0.6, 0.7, 0.8, 0.9, 1, 1.1, 1.2, 1.3, 1.4, 1.5, 2, 2.5, 3] } = e, { widgetStyle: Ze = "standard" } = e, { widgetPosition: kt = "auto" } = e, { widgetWidth: It = "auto" } = e, { widgetMargin: lt = "16px" } = e, { widgetTarget: it = void 0 } = e, { textColor: Ot = "#111" } = e, { backgroundColor: nt = "#f5f5f5" } = e, { iconColor: mt = "rgba(0, 0, 0, 0.8)" } = e, { highlightColor: zt = "#eee" } = e, { videoTextColor: pt = "white" } = e, { videoBackgroundColor: Jt = "black" } = e, { videoIconColor: xe = "white" } = e, { logoIconEnabled: Pt = !0 } = e, { highlightSections: dt = "all" } = e, { clickableSections: St = "all" } = e, { segmentWidgetSections: Xe = "body" } = e, { segmentWidgetPosition: vt = "7-oclock" } = e, { currentSegment: Qe = void 0 } = e, { hoveredSegment: Tt = void 0 } = e, { loadedMedia: Ue = void 0 } = e, { previewToken: Ht = void 0 } = e, { advertConsent: Je = "personalized" } = e, { analyticsConsent: I = "allowed" } = e, { analyticsCustomUrl: T = void 0 } = e, { analyticsDeviceType: V = "auto" } = e, { analyticsTag: oe = void 0 } = e, { captureErrors: Ji = !0 } = e, { onError: Dt = () => {
19617
+ function zy(t, e, i) {
19618
+ let n, o, s, l, a, r, u, c, g, f, A, _, k, C, p, v, w, B, N, W, S, U, q, j, Q, ne, X, re, pe, ce, ge, ye, { playerApiUrl: be = "https://api.beyondwords.io/v1/projects/{id}/player" } = e, { projectId: ae = void 0 } = e, { contentId: z = void 0 } = e, { playlistId: x = void 0 } = e, { sourceId: b = void 0 } = e, { sourceUrl: P = void 0 } = e, { playlist: Ce = [] } = e, { summary: me = !1 } = e, { clientSideEnabled: De = !1 } = e, { showUserInterface: te = !0 } = e, { showBottomWidget: K = !1 } = e, { showCloseWidget: We = !0 } = e, { playerStyle: Ie = "standard" } = e, { videoSizes: Ke = [] } = e, { playerTitle: je = void 0 } = e, { callToAction: Ge = void 0 } = e, { skipButtonStyle: Re = "auto" } = e, { playlistStyle: gt = "auto-5-4" } = e, { playlistToggle: $e = "auto" } = e, { downloadFormats: wt = [] } = e, { durationFormat: Ne = void 0 } = e, { mediaSession: et = "auto" } = e, { content: ve = [] } = e, { contentIndex: at = 0 } = e, { introsOutros: Be = [] } = e, { introsOutrosIndex: tt = -1 } = e, { adverts: ot = [] } = e, { advertIndex: bt = -1 } = e, { preloadAdvertIndex: rt = -1 } = e, { minDurationForMidroll: Le = 2 * 60 } = e, { minTimeUntilEndForMidroll: Et = 10 } = e, { persistentAdImage: ft = !1 } = e, { persistentIndex: jt = -1 } = e, { duration: Ee = 0 } = e, { currentTime: st = 0 } = e, { playbackState: At = "stopped" } = e, { playbackRate: ze = 1 } = e, { playbackRates: yt = [0.5, 0.6, 0.7, 0.8, 0.9, 1, 1.1, 1.2, 1.3, 1.4, 1.5, 2, 2.5, 3] } = e, { widgetStyle: Ze = "standard" } = e, { widgetPosition: kt = "auto" } = e, { widgetWidth: It = "auto" } = e, { widgetMargin: lt = "16px" } = e, { widgetTarget: it = void 0 } = e, { textColor: Ot = "#111" } = e, { backgroundColor: nt = "#f5f5f5" } = e, { iconColor: mt = "rgba(0, 0, 0, 0.8)" } = e, { highlightColor: zt = "#eee" } = e, { videoTextColor: pt = "white" } = e, { videoBackgroundColor: Jt = "black" } = e, { videoIconColor: xe = "white" } = e, { logoIconEnabled: Pt = !0 } = e, { highlightSections: dt = "all" } = e, { clickableSections: St = "all" } = e, { segmentWidgetSections: Xe = "body" } = e, { segmentWidgetPosition: vt = "7-oclock" } = e, { currentSegment: Qe = void 0 } = e, { hoveredSegment: Tt = void 0 } = e, { loadedMedia: Ue = void 0 } = e, { previewToken: Ht = void 0 } = e, { advertConsent: Je = "personalized" } = e, { analyticsConsent: I = "allowed" } = e, { analyticsCustomUrl: T = void 0 } = e, { analyticsDeviceType: V = "auto" } = e, { analyticsTag: oe = void 0 } = e, { captureErrors: Ji = !0 } = e, { onError: Dt = () => {
19625
19619
  } } = e, { transitions: bi = [] } = e, { controlPanel: Ct = void 0 } = e;
19626
19620
  const Y = (...m) => Si.addEventListener(...m), ti = (...m) => Si.removeEventListener(...m);
19627
19621
  let { initialProps: un = {} } = e, { showMediaSession: Bt = !1 } = e, { metadataLoaded: Ai = !1 } = e, { isFullScreen: ii = !1 } = e, { mediaElement: ki = void 0 } = e, { userInterface: Xt = void 0 } = e, { widgetInterface: pi = void 0 } = e, { controller: Si = void 0 } = e, { logoImagePosition: ni = void 0 } = e, { analyticsUrl: qt = void 0 } = e, { analyticsId: Di = void 0 } = e, { platform: yi = "web" } = e, { vendorIdentifier: dn = void 0 } = e, { bundleIdentifier: Lt = void 0 } = e, { contentLanguage: Ni = "en" } = e, { listenSessionId: Yt = void 0 } = e, { sessionCreatedAt: Mi = void 0 } = e, { companionAdvert: gi = void 0 } = e, { isNewListen: xi = !1 } = e, { prevPercentage: oi = 0 } = e, { segmentWidgets: Ei = [] } = e, { segmentContainers: Xi = new dl((m) => i(51, Ei = m)) } = e, { segmentClickables: Ft = new rl() } = e, { segmentHighlights: Zt = new cl() } = e;
@@ -19671,7 +19665,7 @@ function Ey(t, e, i) {
19671
19665
  Ct = m, i(22, Ct);
19672
19666
  }
19673
19667
  function Sn(m) {
19674
- re = m, i(0, re);
19668
+ ae = m, i(0, ae);
19675
19669
  }
19676
19670
  function li(m) {
19677
19671
  z = m, i(1, z);
@@ -19806,7 +19800,7 @@ function Ey(t, e, i) {
19806
19800
  oe = m, i(46, oe);
19807
19801
  }
19808
19802
  return t.$$set = (m) => {
19809
- "playerApiUrl" in m && i(90, be = m.playerApiUrl), "projectId" in m && i(0, re = m.projectId), "contentId" in m && i(1, z = m.contentId), "playlistId" in m && i(2, x = m.playlistId), "sourceId" in m && i(3, b = m.sourceId), "sourceUrl" in m && i(4, P = m.sourceUrl), "playlist" in m && i(91, Ce = m.playlist), "summary" in m && i(24, me = m.summary), "clientSideEnabled" in m && i(92, De = m.clientSideEnabled), "showUserInterface" in m && i(5, te = m.showUserInterface), "showBottomWidget" in m && i(93, K = m.showBottomWidget), "showCloseWidget" in m && i(94, We = m.showCloseWidget), "playerStyle" in m && i(6, Ie = m.playerStyle), "videoSizes" in m && i(52, Ke = m.videoSizes), "playerTitle" in m && i(25, je = m.playerTitle), "callToAction" in m && i(26, Ge = m.callToAction), "skipButtonStyle" in m && i(27, Re = m.skipButtonStyle), "playlistStyle" in m && i(28, gt = m.playlistStyle), "playlistToggle" in m && i(29, $e = m.playlistToggle), "downloadFormats" in m && i(53, wt = m.downloadFormats), "durationFormat" in m && i(54, Ne = m.durationFormat), "mediaSession" in m && i(30, et = m.mediaSession), "content" in m && i(55, ve = m.content), "contentIndex" in m && i(7, at = m.contentIndex), "introsOutros" in m && i(56, Be = m.introsOutros), "introsOutrosIndex" in m && i(8, tt = m.introsOutrosIndex), "adverts" in m && i(57, ot = m.adverts), "advertIndex" in m && i(9, bt = m.advertIndex), "preloadAdvertIndex" in m && i(95, rt = m.preloadAdvertIndex), "minDurationForMidroll" in m && i(96, Le = m.minDurationForMidroll), "minTimeUntilEndForMidroll" in m && i(97, Et = m.minTimeUntilEndForMidroll), "persistentAdImage" in m && i(31, ft = m.persistentAdImage), "persistentIndex" in m && i(10, jt = m.persistentIndex), "duration" in m && i(32, Ee = m.duration), "currentTime" in m && i(33, st = m.currentTime), "playbackState" in m && i(11, At = m.playbackState), "playbackRate" in m && i(34, ze = m.playbackRate), "playbackRates" in m && i(58, yt = m.playbackRates), "widgetStyle" in m && i(12, Ze = m.widgetStyle), "widgetPosition" in m && i(35, kt = m.widgetPosition), "widgetWidth" in m && i(36, It = m.widgetWidth), "widgetMargin" in m && i(37, lt = m.widgetMargin), "widgetTarget" in m && i(13, it = m.widgetTarget), "textColor" in m && i(38, Ot = m.textColor), "backgroundColor" in m && i(39, nt = m.backgroundColor), "iconColor" in m && i(40, mt = m.iconColor), "highlightColor" in m && i(14, zt = m.highlightColor), "videoTextColor" in m && i(41, pt = m.videoTextColor), "videoBackgroundColor" in m && i(59, Jt = m.videoBackgroundColor), "videoIconColor" in m && i(42, xe = m.videoIconColor), "logoIconEnabled" in m && i(43, Pt = m.logoIconEnabled), "highlightSections" in m && i(15, dt = m.highlightSections), "clickableSections" in m && i(16, St = m.clickableSections), "segmentWidgetSections" in m && i(17, Xe = m.segmentWidgetSections), "segmentWidgetPosition" in m && i(18, vt = m.segmentWidgetPosition), "currentSegment" in m && i(19, Qe = m.currentSegment), "hoveredSegment" in m && i(20, Tt = m.hoveredSegment), "loadedMedia" in m && i(98, Ue = m.loadedMedia), "previewToken" in m && i(99, Ht = m.previewToken), "advertConsent" in m && i(21, Je = m.advertConsent), "analyticsConsent" in m && i(44, I = m.analyticsConsent), "analyticsCustomUrl" in m && i(45, T = m.analyticsCustomUrl), "analyticsDeviceType" in m && i(100, V = m.analyticsDeviceType), "analyticsTag" in m && i(46, oe = m.analyticsTag), "captureErrors" in m && i(101, Ji = m.captureErrors), "onError" in m && i(102, Dt = m.onError), "transitions" in m && i(103, bi = m.transitions), "controlPanel" in m && i(22, Ct = m.controlPanel), "initialProps" in m && i(106, un = m.initialProps), "showMediaSession" in m && i(60, Bt = m.showMediaSession), "metadataLoaded" in m && i(23, Ai = m.metadataLoaded), "isFullScreen" in m && i(61, ii = m.isFullScreen), "mediaElement" in m && i(47, ki = m.mediaElement), "userInterface" in m && i(48, Xt = m.userInterface), "widgetInterface" in m && i(49, pi = m.widgetInterface), "controller" in m && i(107, Si = m.controller), "logoImagePosition" in m && i(62, ni = m.logoImagePosition), "analyticsUrl" in m && i(108, qt = m.analyticsUrl), "analyticsId" in m && i(63, Di = m.analyticsId), "platform" in m && i(64, yi = m.platform), "vendorIdentifier" in m && i(65, dn = m.vendorIdentifier), "bundleIdentifier" in m && i(66, Lt = m.bundleIdentifier), "contentLanguage" in m && i(67, Ni = m.contentLanguage), "listenSessionId" in m && i(109, Yt = m.listenSessionId), "sessionCreatedAt" in m && i(110, Mi = m.sessionCreatedAt), "companionAdvert" in m && i(68, gi = m.companionAdvert), "isNewListen" in m && i(111, xi = m.isNewListen), "prevPercentage" in m && i(50, oi = m.prevPercentage), "segmentWidgets" in m && i(51, Ei = m.segmentWidgets), "segmentContainers" in m && i(112, Xi = m.segmentContainers), "segmentClickables" in m && i(113, Ft = m.segmentClickables), "segmentHighlights" in m && i(114, Zt = m.segmentHighlights);
19803
+ "playerApiUrl" in m && i(90, be = m.playerApiUrl), "projectId" in m && i(0, ae = m.projectId), "contentId" in m && i(1, z = m.contentId), "playlistId" in m && i(2, x = m.playlistId), "sourceId" in m && i(3, b = m.sourceId), "sourceUrl" in m && i(4, P = m.sourceUrl), "playlist" in m && i(91, Ce = m.playlist), "summary" in m && i(24, me = m.summary), "clientSideEnabled" in m && i(92, De = m.clientSideEnabled), "showUserInterface" in m && i(5, te = m.showUserInterface), "showBottomWidget" in m && i(93, K = m.showBottomWidget), "showCloseWidget" in m && i(94, We = m.showCloseWidget), "playerStyle" in m && i(6, Ie = m.playerStyle), "videoSizes" in m && i(52, Ke = m.videoSizes), "playerTitle" in m && i(25, je = m.playerTitle), "callToAction" in m && i(26, Ge = m.callToAction), "skipButtonStyle" in m && i(27, Re = m.skipButtonStyle), "playlistStyle" in m && i(28, gt = m.playlistStyle), "playlistToggle" in m && i(29, $e = m.playlistToggle), "downloadFormats" in m && i(53, wt = m.downloadFormats), "durationFormat" in m && i(54, Ne = m.durationFormat), "mediaSession" in m && i(30, et = m.mediaSession), "content" in m && i(55, ve = m.content), "contentIndex" in m && i(7, at = m.contentIndex), "introsOutros" in m && i(56, Be = m.introsOutros), "introsOutrosIndex" in m && i(8, tt = m.introsOutrosIndex), "adverts" in m && i(57, ot = m.adverts), "advertIndex" in m && i(9, bt = m.advertIndex), "preloadAdvertIndex" in m && i(95, rt = m.preloadAdvertIndex), "minDurationForMidroll" in m && i(96, Le = m.minDurationForMidroll), "minTimeUntilEndForMidroll" in m && i(97, Et = m.minTimeUntilEndForMidroll), "persistentAdImage" in m && i(31, ft = m.persistentAdImage), "persistentIndex" in m && i(10, jt = m.persistentIndex), "duration" in m && i(32, Ee = m.duration), "currentTime" in m && i(33, st = m.currentTime), "playbackState" in m && i(11, At = m.playbackState), "playbackRate" in m && i(34, ze = m.playbackRate), "playbackRates" in m && i(58, yt = m.playbackRates), "widgetStyle" in m && i(12, Ze = m.widgetStyle), "widgetPosition" in m && i(35, kt = m.widgetPosition), "widgetWidth" in m && i(36, It = m.widgetWidth), "widgetMargin" in m && i(37, lt = m.widgetMargin), "widgetTarget" in m && i(13, it = m.widgetTarget), "textColor" in m && i(38, Ot = m.textColor), "backgroundColor" in m && i(39, nt = m.backgroundColor), "iconColor" in m && i(40, mt = m.iconColor), "highlightColor" in m && i(14, zt = m.highlightColor), "videoTextColor" in m && i(41, pt = m.videoTextColor), "videoBackgroundColor" in m && i(59, Jt = m.videoBackgroundColor), "videoIconColor" in m && i(42, xe = m.videoIconColor), "logoIconEnabled" in m && i(43, Pt = m.logoIconEnabled), "highlightSections" in m && i(15, dt = m.highlightSections), "clickableSections" in m && i(16, St = m.clickableSections), "segmentWidgetSections" in m && i(17, Xe = m.segmentWidgetSections), "segmentWidgetPosition" in m && i(18, vt = m.segmentWidgetPosition), "currentSegment" in m && i(19, Qe = m.currentSegment), "hoveredSegment" in m && i(20, Tt = m.hoveredSegment), "loadedMedia" in m && i(98, Ue = m.loadedMedia), "previewToken" in m && i(99, Ht = m.previewToken), "advertConsent" in m && i(21, Je = m.advertConsent), "analyticsConsent" in m && i(44, I = m.analyticsConsent), "analyticsCustomUrl" in m && i(45, T = m.analyticsCustomUrl), "analyticsDeviceType" in m && i(100, V = m.analyticsDeviceType), "analyticsTag" in m && i(46, oe = m.analyticsTag), "captureErrors" in m && i(101, Ji = m.captureErrors), "onError" in m && i(102, Dt = m.onError), "transitions" in m && i(103, bi = m.transitions), "controlPanel" in m && i(22, Ct = m.controlPanel), "initialProps" in m && i(106, un = m.initialProps), "showMediaSession" in m && i(60, Bt = m.showMediaSession), "metadataLoaded" in m && i(23, Ai = m.metadataLoaded), "isFullScreen" in m && i(61, ii = m.isFullScreen), "mediaElement" in m && i(47, ki = m.mediaElement), "userInterface" in m && i(48, Xt = m.userInterface), "widgetInterface" in m && i(49, pi = m.widgetInterface), "controller" in m && i(107, Si = m.controller), "logoImagePosition" in m && i(62, ni = m.logoImagePosition), "analyticsUrl" in m && i(108, qt = m.analyticsUrl), "analyticsId" in m && i(63, Di = m.analyticsId), "platform" in m && i(64, yi = m.platform), "vendorIdentifier" in m && i(65, dn = m.vendorIdentifier), "bundleIdentifier" in m && i(66, Lt = m.bundleIdentifier), "contentLanguage" in m && i(67, Ni = m.contentLanguage), "listenSessionId" in m && i(109, Yt = m.listenSessionId), "sessionCreatedAt" in m && i(110, Mi = m.sessionCreatedAt), "companionAdvert" in m && i(68, gi = m.companionAdvert), "isNewListen" in m && i(111, xi = m.isNewListen), "prevPercentage" in m && i(50, oi = m.prevPercentage), "segmentWidgets" in m && i(51, Ei = m.segmentWidgets), "segmentContainers" in m && i(112, Xi = m.segmentContainers), "segmentClickables" in m && i(113, Ft = m.segmentClickables), "segmentHighlights" in m && i(114, Zt = m.segmentHighlights);
19810
19804
  }, t.$$.update = () => {
19811
19805
  t.$$.dirty[0] & /*contentIndex*/
19812
19806
  128 | t.$$.dirty[1] & /*content*/
@@ -19860,16 +19854,16 @@ function Ey(t, e, i) {
19860
19854
  100663296 && i(79, ne = Q ? r && (s == null ? void 0 : s.imageUrl) || (n == null ? void 0 : n.imageUrl) : ""), t.$$.dirty[0] & /*projectId, contentId, playlistId, sourceId, sourceUrl*/
19861
19855
  31 | t.$$.dirty[2] & /*playlist*/
19862
19856
  536870912 | t.$$.dirty[3] & /*previewToken*/
19863
- 64 && si(Sy()), t.$$.dirty[0] & /*hoveredSegment*/
19857
+ 64 && si(wy()), t.$$.dirty[0] & /*hoveredSegment*/
19864
19858
  1048576 | t.$$.dirty[3] & /*lastHovered*/
19865
19859
  8388608 && i(116, X = Tt || X), t.$$.dirty[0] & /*currentSegment, segmentWidgetSections*/
19866
- 655360 && i(115, ae = Ao("current", Qe, Xe)), t.$$.dirty[0] & /*currentSegment*/
19860
+ 655360 && i(115, re = Ao("current", Qe, Xe)), t.$$.dirty[0] & /*currentSegment*/
19867
19861
  524288 | t.$$.dirty[3] & /*currentAllowedInWidget*/
19868
- 4194304 && ae && Vt(), t.$$.dirty[0] & /*segmentWidgetSections*/
19862
+ 4194304 && re && Vt(), t.$$.dirty[0] & /*segmentWidgetSections*/
19869
19863
  131072 | t.$$.dirty[3] & /*lastHovered*/
19870
19864
  8388608 && i(117, pe = Ao("hovered", X, Xe)), t.$$.dirty[0] & /*currentSegment*/
19871
19865
  524288 | t.$$.dirty[3] & /*hoveredAllowedInWidget, lastHovered, currentAllowedInWidget*/
19872
- 29360128 && i(70, ce = pe && X || ae && Qe), t.$$.dirty[0] & /*currentSegment*/
19866
+ 29360128 && i(70, ce = pe && X || re && Qe), t.$$.dirty[0] & /*currentSegment*/
19873
19867
  524288 | t.$$.dirty[2] & /*widgetSegment*/
19874
19868
  256 && i(73, ge = (ce == null ? void 0 : ce.marker) === (Qe == null ? void 0 : Qe.marker)), t.$$.dirty[2] & /*widgetIsCurrent, activeAdvert, introOrOutro*/
19875
19869
  3584 && i(78, ye = ge || s || o), t.$$.dirty[0] & /*segmentWidgetSections, segmentWidgetPosition, playerStyle*/
@@ -19883,7 +19877,7 @@ function Ey(t, e, i) {
19883
19877
  1163264 | t.$$.dirty[3] & /*segmentHighlights*/
19884
19878
  2097152 && Zt.update("hovered", Tt, [dt, St], zt);
19885
19879
  }, [
19886
- re,
19880
+ ae,
19887
19881
  z,
19888
19882
  x,
19889
19883
  b,
@@ -19998,7 +19992,7 @@ function Ey(t, e, i) {
19998
19992
  Xi,
19999
19993
  Ft,
20000
19994
  Zt,
20001
- ae,
19995
+ re,
20002
19996
  X,
20003
19997
  pe,
20004
19998
  r,
@@ -20067,13 +20061,13 @@ function Ey(t, e, i) {
20067
20061
  $u
20068
20062
  ];
20069
20063
  }
20070
- let zy = class extends Pe {
20064
+ let Ly = class extends Pe {
20071
20065
  constructor(e) {
20072
20066
  super(), we(
20073
20067
  this,
20074
20068
  e,
20069
+ zy,
20075
20070
  Ey,
20076
- My,
20077
20071
  ke,
20078
20072
  {
20079
20073
  playerApiUrl: 90,
@@ -20738,7 +20732,7 @@ let zy = class extends Pe {
20738
20732
  return this.$$.ctx[69];
20739
20733
  }
20740
20734
  };
20741
- const Ly = (t) => {
20735
+ const jy = (t) => {
20742
20736
  if (!t())
20743
20737
  return new Promise((e) => {
20744
20738
  setInterval(() => t() && e(), 10);
@@ -20751,13 +20745,13 @@ const Ly = (t) => {
20751
20745
  responseStatus: o == null ? void 0 : o.status,
20752
20746
  responseJson: s
20753
20747
  })), s;
20754
- }), jy = (t, e) => Xr(t, {
20748
+ }), Ry = (t, e) => Xr(t, {
20755
20749
  method: "POST",
20756
20750
  headers: { "Content-Type": "application/json" },
20757
20751
  body: JSON.stringify(e, (i, n) => n === void 0 ? null : n)
20758
20752
  });
20759
20753
  var Cn, Un, bs, Qr, So, hl;
20760
- class Ry {
20754
+ class Dy {
20761
20755
  constructor(e, i, n, o, s) {
20762
20756
  Me(this, Cn);
20763
20757
  Me(this, bs);
@@ -20790,26 +20784,26 @@ Cn = new WeakSet(), Un = function(e, i = this.params) {
20790
20784
  }, So = new WeakSet(), hl = function() {
20791
20785
  return this.summary ? new URLSearchParams(Qi(Qt({}, this.params), { summary: !0 })) : this.params;
20792
20786
  };
20793
- const _l = (t) => typeof t != "object" || t === null ? t : Array.isArray(t) ? t.map(_l) : Object.fromEntries(Object.entries(t).map(([e, i]) => [e.replace(/([A-Z])/g, (n) => `_${n.toLowerCase()}`), _l(i)])), $r = (t) => t === "dark" || t === "auto" && Dy() ? "dark" : "light", Dy = () => window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches, Ny = (t) => gn(void 0, null, function* () {
20794
- const e = new Ry(t.playerApiUrl, t.projectId, t.summary, t.clientSideEnabled, t.previewToken);
20787
+ const _l = (t) => typeof t != "object" || t === null ? t : Array.isArray(t) ? t.map(_l) : Object.fromEntries(Object.entries(t).map(([e, i]) => [e.replace(/([A-Z])/g, (n) => `_${n.toLowerCase()}`), _l(i)])), $r = (t) => t === "dark" || t === "auto" && Ny() ? "dark" : "light", Ny = () => window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches, xy = (t) => gn(void 0, null, function* () {
20788
+ const e = new Dy(t.playerApiUrl, t.projectId, t.summary, t.clientSideEnabled, t.previewToken);
20795
20789
  if (!t.playerApiUrl || !t.projectId)
20796
20790
  return;
20797
- const i = xy(t);
20791
+ const i = Fy(t);
20798
20792
  if (i.length === 0) {
20799
20793
  t.sourceUrl = window.location.href;
20800
20794
  return;
20801
20795
  }
20802
- const n = yield Fy(e, i).catch(() => {
20796
+ const n = yield Uy(e, i).catch(() => {
20803
20797
  });
20804
20798
  if (!(n != null && n.content)) {
20805
- Uy(t);
20799
+ Hy(t);
20806
20800
  return;
20807
20801
  }
20808
- qy(t, n), Hy(t);
20809
- }), xy = (t) => {
20802
+ Yy(t, n), qy(t);
20803
+ }), Fy = (t) => {
20810
20804
  const e = [];
20811
20805
  return t.contentId && e.push({ content_id: t.contentId }), t.playlistId && e.push({ playlist_id: t.playlistId }), t.sourceId && e.push({ source_id: t.sourceId }), t.sourceUrl && e.push({ source_url: t.sourceUrl }), t.playlist && e.push(..._l(t.playlist)), [...new Set(e.map(JSON.stringify))].map(JSON.parse);
20812
- }, Fy = (t, e) => {
20806
+ }, Uy = (t, e) => {
20813
20807
  const i = e[0];
20814
20808
  if (e.length > 1)
20815
20809
  return t.byIdentifiers(e);
@@ -20821,24 +20815,24 @@ const _l = (t) => typeof t != "object" || t === null ? t : Array.isArray(t) ? t.
20821
20815
  return t.bySourceId(i.source_id);
20822
20816
  if (i.source_url)
20823
20817
  return t.bySourceUrl(i.source_url);
20824
- }, Uy = (t) => {
20818
+ }, Hy = (t) => {
20825
20819
  eu(t), tu(t), iu(t), t.onEvent(Ae({
20826
20820
  type: "NoContentAvailable",
20827
20821
  description: "No published and processed content is available for the identifiers.",
20828
20822
  initiatedBy: "browser"
20829
20823
  }));
20830
- }, Hy = (t) => {
20824
+ }, qy = (t) => {
20831
20825
  t.onEvent(Ae({
20832
20826
  type: "ContentAvailable",
20833
20827
  description: "Content was loaded into the player and is ready to be played.",
20834
20828
  initiatedBy: "browser"
20835
20829
  }));
20836
- }, qy = (t, e) => {
20830
+ }, Yy = (t, e) => {
20837
20831
  var l, a, r, u, c, g;
20838
20832
  const i = $r(e.settings.theme), n = e.settings[`${i}_theme`], o = e.settings.video_theme;
20839
20833
  eu(t), tu(t, e), iu(t, e);
20840
20834
  const s = t.content[t.contentIndex];
20841
- Fe(t, "playerStyle", e.settings.player_style), Fe(t, "playerTitle", ((l = e.playlist) == null ? void 0 : l.title) || e.settings.player_title), Fe(t, "callToAction", e.settings.call_to_action === "Listen to this article" ? null : e.settings.call_to_action), Fe(t, "skipButtonStyle", e.settings.skip_button_style), Fe(t, "downloadFormats", e.settings.download_button_enabled ? ["mp3"] : []), Fe(t, "introsOutros", e.settings.intros_outros), Fe(t, "persistentAdImage", e.settings.persistent_ad_image), Fe(t, "duration", t.summary ? (u = (r = (a = s == null ? void 0 : s.summarization) == null ? void 0 : a.audio) == null ? void 0 : r[0]) == null ? void 0 : u.duration : (g = (c = s == null ? void 0 : s.audio) == null ? void 0 : c[0]) == null ? void 0 : g.duration), Fe(t, "widgetStyle", e.settings.widget_style), Fe(t, "widgetPosition", e.settings.widget_position), Fe(t, "textColor", n.text_color), Fe(t, "backgroundColor", n.background_color), Fe(t, "iconColor", n.icon_color), Fe(t, "highlightColor", n.highlight_color), Fe(t, "videoTextColor", o.text_color), Fe(t, "videoBackgroundColor", o.background_color), Fe(t, "videoIconColor", o.icon_color), Fe(t, "logoIconEnabled", e.settings.logo_icon_enabled), Fe(t, "logoImagePosition", e.video_settings.logo_image_position), Fe(t, "highlightSections", e.settings.segment_highlights_enabled ? "all" : "none"), Fe(t, "clickableSections", e.settings.segment_playback_enabled ? "all" : "none"), Fe(t, "segmentWidgetSections", "none"), Fe(t, "analyticsConsent", Yy(e.settings)), Fe(t, "analyticsCustomUrl", e.settings.analytics_custom_url), Fe(t, "analyticsTag", e.settings.analytics_tag), Fe(t, "analyticsUrl", e.settings.analytics_url), Fe(t, "analyticsId", e.settings.analytics_id), Fe(t, "contentLanguage", e.language);
20835
+ Fe(t, "playerStyle", e.settings.player_style), Fe(t, "playerTitle", ((l = e.playlist) == null ? void 0 : l.title) || e.settings.player_title), Fe(t, "callToAction", e.settings.call_to_action === "Listen to this article" ? null : e.settings.call_to_action), Fe(t, "skipButtonStyle", e.settings.skip_button_style), Fe(t, "downloadFormats", e.settings.download_button_enabled ? ["mp3"] : []), Fe(t, "introsOutros", e.settings.intros_outros), Fe(t, "persistentAdImage", e.settings.persistent_ad_image), Fe(t, "duration", t.summary ? (u = (r = (a = s == null ? void 0 : s.summarization) == null ? void 0 : a.audio) == null ? void 0 : r[0]) == null ? void 0 : u.duration : (g = (c = s == null ? void 0 : s.audio) == null ? void 0 : c[0]) == null ? void 0 : g.duration), Fe(t, "widgetStyle", e.settings.widget_style), Fe(t, "widgetPosition", e.settings.widget_position), Fe(t, "textColor", n.text_color), Fe(t, "backgroundColor", n.background_color), Fe(t, "iconColor", n.icon_color), Fe(t, "highlightColor", n.highlight_color), Fe(t, "videoTextColor", o.text_color), Fe(t, "videoBackgroundColor", o.background_color), Fe(t, "videoIconColor", o.icon_color), Fe(t, "logoIconEnabled", e.settings.logo_icon_enabled), Fe(t, "logoImagePosition", e.video_settings.logo_image_position), Fe(t, "highlightSections", e.settings.segment_highlights_enabled ? "all" : "none"), Fe(t, "clickableSections", e.settings.segment_playback_enabled ? "all" : "none"), Fe(t, "segmentWidgetSections", "none"), Fe(t, "analyticsConsent", Zy(e.settings)), Fe(t, "analyticsCustomUrl", e.settings.analytics_custom_url), Fe(t, "analyticsTag", e.settings.analytics_tag), Fe(t, "analyticsUrl", e.settings.analytics_url), Fe(t, "analyticsId", e.settings.analytics_id), Fe(t, "contentLanguage", e.language);
20842
20836
  }, eu = (t) => {
20843
20837
  Fe(t, "contentIndex", 0), Fe(t, "introsOutrosIndex", -1), Fe(t, "advertIndex", -1), Fe(t, "persistentIndex", -1), Fe(t, "duration", 0), Fe(t, "currentTime", 0), Fe(t, "playbackState", "stopped"), Fe(t, "currentSegment", void 0), Fe(t, "hoveredSegment", void 0);
20844
20838
  }, tu = (t, e) => {
@@ -20927,7 +20921,7 @@ const _l = (t) => typeof t != "object" || t === null ? t : Array.isArray(t) ? t.
20927
20921
  }, Fe = (t, e, i) => {
20928
20922
  var o;
20929
20923
  typeof ((o = t.initialProps) == null ? void 0 : o[e]) != "undefined" || (t[e] = i);
20930
- }, Yy = ({ analytics_enabled: t, analytics_uuid_enabled: e }) => t ? e ? "allowed" : "without-local-storage" : "none", Yn = (t, e, i) => {
20924
+ }, Zy = ({ analytics_enabled: t, analytics_uuid_enabled: e }) => t ? e ? "allowed" : "without-local-storage" : "none", Yn = (t, e, i) => {
20931
20925
  if (!e)
20932
20926
  return t;
20933
20927
  try {
@@ -20936,64 +20930,64 @@ const _l = (t) => typeof t != "object" || t === null ? t : Array.isArray(t) ? t.
20936
20930
  } catch (n) {
20937
20931
  return console.warn(`BeyondWords.Player: ${n}`), t;
20938
20932
  }
20939
- }, Zy = (t, e) => {
20933
+ }, Ky = (t, e) => {
20940
20934
  const i = /* @__PURE__ */ new Set([...Object.keys(t), ...Object.keys(e)]), n = {};
20941
20935
  for (const o of i) {
20942
20936
  const s = t[o], l = e[o];
20943
20937
  s !== l && (n[o] = { previousValue: s, currentValue: l });
20944
20938
  }
20945
20939
  return n;
20946
- }, Ky = (t, e) => gn(void 0, null, function* () {
20940
+ }, Gy = (t, e) => gn(void 0, null, function* () {
20947
20941
  const n = yield (yield fetch(t)).blob(), o = URL.createObjectURL(n), s = document.createElement("a");
20948
20942
  document.body.append(s), s.href = o, s.setAttribute("download", e), s.setAttribute("target", "_blank"), s.click(), s.remove();
20949
- }), us = { vastUrls: /* @__PURE__ */ new Map(), mediaSources: /* @__PURE__ */ new Set() }, Gy = 6e4, Jy = (t) => {
20943
+ }), us = { vastUrls: /* @__PURE__ */ new Map(), mediaSources: /* @__PURE__ */ new Set() }, Jy = 6e4, Xy = (t) => {
20950
20944
  t.vastUrl && us.vastUrls.set(t.vastUrl, Date.now());
20951
20945
  for (const e of [...t.audio || [], ...t.video || []])
20952
20946
  us.mediaSources.add(e.url);
20953
20947
  }, nu = (t) => {
20954
20948
  if (t.vastUrl) {
20955
20949
  const e = us.vastUrls.get(t.vastUrl) || -1 / 0;
20956
- if (Date.now() - e < Gy)
20950
+ if (Date.now() - e < Jy)
20957
20951
  return !0;
20958
20952
  }
20959
20953
  for (const e of [...t.audio || [], ...t.video || []])
20960
20954
  if (us.mediaSources.has(e.url))
20961
20955
  return !0;
20962
20956
  return !1;
20963
- }, ou = /* @__PURE__ */ new Set(), Xy = (t) => {
20957
+ }, ou = /* @__PURE__ */ new Set(), Qy = (t) => {
20964
20958
  [...t.audio || [], ...t.video || []].forEach((i) => ou.add(i.url));
20965
- }, Qy = (t) => [...t.audio || [], ...t.video || []].some((i) => ou.has(i.url)), nr = ({ introsOutrosIndex: t, adverts: e, advertIndex: i, preloadAdvertIndex: n, content: o = [], contentIndex: s, currentTime: l, atTheStart: a, atTheEnd: r, errored: u, minTimeUntilEndForMidroll: c, minDurationForMidroll: g, summary: f } = {}) => {
20959
+ }, $y = (t) => [...t.audio || [], ...t.video || []].some((i) => ou.has(i.url)), nr = ({ introsOutrosIndex: t, adverts: e, advertIndex: i, preloadAdvertIndex: n, content: o = [], contentIndex: s, currentTime: l, atTheStart: a, atTheEnd: r, errored: u, minTimeUntilEndForMidroll: c, minDurationForMidroll: g, summary: f } = {}) => {
20966
20960
  var v;
20967
20961
  const A = e && e[i];
20968
20962
  e:
20969
20963
  if (A) {
20970
20964
  if (u) {
20971
- Jy(A);
20965
+ Xy(A);
20972
20966
  break e;
20973
20967
  }
20974
20968
  if (r)
20975
- return Xy(A), -1;
20969
+ return Qy(A), -1;
20976
20970
  if (!r)
20977
20971
  return i;
20978
20972
  }
20979
20973
  if (!((v = o[s]) != null && v.adsEnabled) || t !== -1)
20980
20974
  return -1;
20981
- const _ = e3({ content: o, contentIndex: s, currentTime: l, atTheStart: a, atTheEnd: r, minTimeUntilEndForMidroll: c, minDurationForMidroll: g, summary: f });
20975
+ const _ = t3({ content: o, contentIndex: s, currentTime: l, atTheStart: a, atTheEnd: r, minTimeUntilEndForMidroll: c, minDurationForMidroll: g, summary: f });
20982
20976
  let k = -1, C = -1 / 0, p = -1 / 0;
20983
20977
  for (const [w, B] of e.entries()) {
20984
- if (Qy(B) || nu(B) || !_.has(B.placement))
20978
+ if ($y(B) || nu(B) || !_.has(B.placement))
20985
20979
  continue;
20986
- const N = $y[B.type] || 0;
20980
+ const N = e3[B.type] || 0;
20987
20981
  if (N < C)
20988
20982
  continue;
20989
20983
  const W = n === w ? 1 / 0 : Math.random();
20990
20984
  N === C && W < p || (k = w, C = N, p = W);
20991
20985
  }
20992
20986
  return k;
20993
- }, $y = { vast: 1, custom: 0 }, e3 = ({ content: t, contentIndex: e, currentTime: i, atTheStart: n, atTheEnd: o, minTimeUntilEndForMidroll: s, minDurationForMidroll: l, summary: a }) => {
20994
- const r = e === 0, u = e === t.length - 1, c = t.length > 1, g = c && n && !r, f = t[e].segments, A = f[f.length - 1], _ = c ? null : i3(f, l, a), k = f[_], C = k && i > k.startTime, p = A ? A.startTime + A.duration : 0, v = i > p - s, w = /* @__PURE__ */ new Set();
20987
+ }, e3 = { vast: 1, custom: 0 }, t3 = ({ content: t, contentIndex: e, currentTime: i, atTheStart: n, atTheEnd: o, minTimeUntilEndForMidroll: s, minDurationForMidroll: l, summary: a }) => {
20988
+ const r = e === 0, u = e === t.length - 1, c = t.length > 1, g = c && n && !r, f = t[e].segments, A = f[f.length - 1], _ = c ? null : n3(f, l, a), k = f[_], C = k && i > k.startTime, p = A ? A.startTime + A.duration : 0, v = i > p - s, w = /* @__PURE__ */ new Set();
20995
20989
  return n && w.add("pre-roll"), C && !v && w.add("mid-roll"), g && w.add("mid-roll"), o && u && w.add("post-roll"), g && w.add("post-roll"), w;
20996
- }, t3 = 0.5, i3 = (t, e, i) => {
20990
+ }, i3 = 0.5, n3 = (t, e, i) => {
20997
20991
  const n = t[t.length - 1];
20998
20992
  if (!n)
20999
20993
  return;
@@ -21003,87 +20997,87 @@ const _l = (t) => typeof t != "object" || t === null ? t : Array.isArray(t) ? t.
21003
20997
  const s = o / 2, l = Pl(t, o / 2, i);
21004
20998
  if (l === -1)
21005
20999
  return;
21006
- const u = t[l].startTime >= s - t3 ? l : l + 1;
21000
+ const u = t[l].startTime >= s - i3 ? l : l + 1;
21007
21001
  if (u !== t.length)
21008
21002
  return u;
21009
- }, n3 = (t, e, i, n) => {
21003
+ }, o3 = (t, e, i, n) => {
21010
21004
  let o = -1, s = -1 / 0, l = -1 / 0;
21011
21005
  for (const [a, r] of (n || []).entries()) {
21012
21006
  if (!t || nu(r) || r.type === "vast")
21013
21007
  continue;
21014
- const u = s3(a, e, i);
21008
+ const u = l3(a, e, i);
21015
21009
  if (u < s)
21016
21010
  continue;
21017
- const c = o3[r.placement] || 0;
21011
+ const c = s3[r.placement] || 0;
21018
21012
  u === s && c < l || (o = a, s = u, l = c);
21019
21013
  }
21020
21014
  return o;
21021
- }, o3 = { "pre-roll": 2, "mid-roll": 1 }, s3 = (t, e, i) => t === i ? 2 : t === e ? 1 : 0, su = { mediaSources: /* @__PURE__ */ new Set() }, l3 = (t) => {
21015
+ }, s3 = { "pre-roll": 2, "mid-roll": 1 }, l3 = (t, e, i) => t === i ? 2 : t === e ? 1 : 0, su = { mediaSources: /* @__PURE__ */ new Set() }, a3 = (t) => {
21022
21016
  for (const e of [...t.audio || [], t.video || []])
21023
21017
  su.mediaSources.add(e.url);
21024
- }, a3 = (t) => {
21018
+ }, r3 = (t) => {
21025
21019
  for (const e of [...t.audio || [], t.video || []])
21026
21020
  if (su.mediaSources.has(e.url))
21027
21021
  return !0;
21028
21022
  return !1;
21029
- }, lu = /* @__PURE__ */ new Set(), r3 = (t) => {
21023
+ }, lu = /* @__PURE__ */ new Set(), u3 = (t) => {
21030
21024
  [...t.audio || [], ...t.video || []].forEach((i) => lu.add(i.url));
21031
- }, u3 = (t) => [...t.audio || [], ...t.video || []].some((i) => lu.has(i.url)), d3 = ({ introsOutros: t = [], introsOutrosIndex: e, advertIndex: i, content: n, contentIndex: o, currentTime: s, atTheStart: l, atTheEnd: a, errored: r }) => {
21025
+ }, d3 = (t) => [...t.audio || [], ...t.video || []].some((i) => lu.has(i.url)), c3 = ({ introsOutros: t = [], introsOutrosIndex: e, advertIndex: i, content: n, contentIndex: o, currentTime: s, atTheStart: l, atTheEnd: a, errored: r }) => {
21032
21026
  const u = t[e];
21033
21027
  e:
21034
21028
  if (u) {
21035
21029
  if (r) {
21036
- l3(u);
21030
+ a3(u);
21037
21031
  break e;
21038
21032
  }
21039
21033
  if (a)
21040
- return r3(u), -1;
21034
+ return u3(u), -1;
21041
21035
  if (!a)
21042
21036
  return e;
21043
21037
  }
21044
21038
  if (i !== -1)
21045
21039
  return -1;
21046
- const c = c3({ content: n, contentIndex: o, currentTime: s, atTheStart: l, atTheEnd: a });
21040
+ const c = g3({ content: n, contentIndex: o, currentTime: s, atTheStart: l, atTheEnd: a });
21047
21041
  let g = -1, f = -1 / 0, A = -1 / 0;
21048
21042
  for (const [_, k] of t.entries()) {
21049
- if (a3(k) || !c.has(k.placement))
21043
+ if (r3(k) || !c.has(k.placement))
21050
21044
  continue;
21051
- const C = u3(k) ? 1 : 0;
21045
+ const C = d3(k) ? 1 : 0;
21052
21046
  if (C < f)
21053
21047
  continue;
21054
21048
  const p = Math.random();
21055
21049
  C === f && p < A || (g = _, f = C, A = p);
21056
21050
  }
21057
21051
  return g;
21058
- }, c3 = ({ content: t, contentIndex: e, currentTime: i, atTheStart: n, atTheEnd: o }) => {
21052
+ }, g3 = ({ content: t, contentIndex: e, currentTime: i, atTheStart: n, atTheEnd: o }) => {
21059
21053
  const s = /* @__PURE__ */ new Set(), l = n && e === 0 && i === 0, a = o && e === t.length - 1;
21060
21054
  return l && s.add("pre-roll"), a && s.add("post-roll"), s;
21061
- }, g3 = (t) => {
21055
+ }, f3 = (t) => {
21062
21056
  if (!navigator.mediaSession)
21063
21057
  return;
21064
21058
  const e = t.instances().some((s) => s.mediaSession === "override");
21065
- if (h3() && !e)
21059
+ if (_3() && !e)
21066
21060
  return;
21067
21061
  let i, n = -1 / 0, o = -1 / 0;
21068
21062
  for (const s of t.instances()) {
21069
21063
  if (s.mediaSession === "none")
21070
21064
  continue;
21071
- const l = f3[s.playbackState] || 0;
21065
+ const l = m3[s.playbackState] || 0;
21072
21066
  if (l < n)
21073
21067
  continue;
21074
- const a = m3[s.showMediaSession] || 0;
21068
+ const a = h3[s.showMediaSession] || 0;
21075
21069
  l === n && a < o || (i = s, n = l, o = a);
21076
21070
  }
21077
21071
  for (const s of t.instances())
21078
21072
  s.showMediaSession = s === i;
21079
21073
  return i;
21080
- }, f3 = { playing: 1, paused: 0, stopped: 0 }, m3 = { true: 1, false: 0 }, h3 = () => {
21074
+ }, m3 = { playing: 1, paused: 0, stopped: 0 }, h3 = { true: 1, false: 0 }, _3 = () => {
21081
21075
  const t = navigator.mediaSession.metadata;
21082
21076
  if (!t || navigator.mediaSession.setByPlayer)
21083
21077
  return !1;
21084
21078
  const { title: e, artist: i, album: n, artwork: o } = t;
21085
21079
  return e || i || n || (o == null ? void 0 : o.length);
21086
- }, _3 = (t) => {
21080
+ }, A3 = (t) => {
21087
21081
  let e = !1, i, n = -1 / 0, o = -1 / 0;
21088
21082
  for (const s of t.instances()) {
21089
21083
  if (!s.userInterface || !ml(s.widgetStyle))
@@ -21094,7 +21088,7 @@ const _l = (t) => typeof t != "object" || t === null ? t : Array.isArray(t) ? t.
21094
21088
  }
21095
21089
  if (!(s.userInterface.relativeY < 0))
21096
21090
  continue;
21097
- const u = A3[s.playbackState] || 0;
21091
+ const u = y3[s.playbackState] || 0;
21098
21092
  if (u < n)
21099
21093
  continue;
21100
21094
  const c = s.userInterface.absoluteY;
@@ -21103,9 +21097,9 @@ const _l = (t) => typeof t != "object" || t === null ? t : Array.isArray(t) ? t.
21103
21097
  e && n === 0 && (i = null);
21104
21098
  for (const s of t.instances())
21105
21099
  s.showBottomWidget = s === i;
21106
- }, A3 = { playing: 2, paused: 1, stopped: 0 };
21100
+ }, y3 = { playing: 2, paused: 1, stopped: 0 };
21107
21101
  var ks, au, ps, ru, Ss, uu, wo, Al, ws, du, Ps, cu, Ki, mn, yn, Vn, hi, Oi, Po, yl, Ts, gu, zn, co, vn, Wn, Cs, fu, To, vl, rn, Pn, Co, bl, bn, Mn, $t, mi, Ln, go, kn, En, Is, mu, Os, hu, Jn, $o, Io, kl, Oo, pl, Xn, es, Bs, _u;
21108
- class y3 {
21102
+ class v3 {
21109
21103
  constructor(e, i) {
21110
21104
  // private
21111
21105
  Me(this, ks);
@@ -21148,11 +21142,11 @@ class y3 {
21148
21142
  }
21149
21143
  processEvent(e) {
21150
21144
  return gn(this, null, function* () {
21151
- yield Ly(() => this.player), Ld(e);
21145
+ yield jy(() => this.player), Ld(e);
21152
21146
  const i = this[`handle${e.type}`], n = this.player.properties();
21153
21147
  F(this, ks, au).call(this, e) ? e.status = "ignored-due-to-advert" : F(this, ps, ru).call(this, e) ? e.status = "ignored-due-to-scrubbing" : F(this, Ss, uu).call(this, e) ? e.status = "ignored-due-to-precedence" : i ? (yield i.call(this, e), F(this, Is, mu).call(this), F(this, Os, hu).call(this), e.status = "handled") : Ri("No handler function for event.", e);
21154
21148
  const o = this.player.properties();
21155
- e.changedProps = Zy(n, o), e.processedAt = (/* @__PURE__ */ new Date()).toISOString(), jd(e), F(this, wo, Al).call(this, e.type, e), F(this, wo, Al).call(this, "<any>", e);
21149
+ e.changedProps = Ky(n, o), e.processedAt = (/* @__PURE__ */ new Date()).toISOString(), jd(e), F(this, wo, Al).call(this, e.type, e), F(this, wo, Al).call(this, "<any>", e);
21156
21150
  });
21157
21151
  }
21158
21152
  // Please document all events and keep in-sync with /doc/player-events.md
@@ -21222,7 +21216,7 @@ class y3 {
21222
21216
  handlePlaybackRateUpdated() {
21223
21217
  }
21224
21218
  handleVisibilityChanged() {
21225
- _3(this.PlayerClass);
21219
+ A3(this.PlayerClass);
21226
21220
  }
21227
21221
  handlePressedVideoBackground() {
21228
21222
  F(this, vn, Wn).call(this);
@@ -21261,7 +21255,7 @@ class y3 {
21261
21255
  clearTimeout(this.pauseTimeout), this.player.playbackState = this.preScrubState, delete this.preScrubState;
21262
21256
  }
21263
21257
  handleIdentifiersChanged() {
21264
- Ny(this.player).then(() => {
21258
+ xy(this.player).then(() => {
21265
21259
  F(this, Ln, go).call(this, { atTheStart: !0 }), F(this, kn, En).call(this, { atTheStart: !0 });
21266
21260
  });
21267
21261
  }
@@ -21275,7 +21269,7 @@ class y3 {
21275
21269
  this.player.playbackState = "paused";
21276
21270
  }
21277
21271
  handlePlaybackPlaying() {
21278
- this.PlayerClass.instances().filter((n) => n !== this.player).filter((n) => n.playbackState === "playing").forEach((n) => n.playbackState = "paused"), g3(this.PlayerClass);
21272
+ this.PlayerClass.instances().filter((n) => n !== this.player).filter((n) => n.playbackState === "playing").forEach((n) => n.playbackState = "paused"), f3(this.PlayerClass);
21279
21273
  }
21280
21274
  handlePlaybackPaused() {
21281
21275
  const e = this.player.playbackState === "playing", i = this.player.currentTime >= this.player.duration - 0.5;
@@ -21307,7 +21301,7 @@ class y3 {
21307
21301
  this.player.companionAdvert = { clickThroughUrl: e, imageUrl: i };
21308
21302
  }
21309
21303
  handlePressedMaximize() {
21310
- ha() ? CA() : TA(this.player.target);
21304
+ ha() ? IA() : CA(this.player.target);
21311
21305
  }
21312
21306
  handleFullScreenModeUpdated() {
21313
21307
  const e = ha() === this.player.target, i = e ? "add" : "remove";
@@ -21328,7 +21322,7 @@ class y3 {
21328
21322
  return;
21329
21323
  }
21330
21324
  const u = r.split(".").pop(), c = o ? " - Summary" : "", g = `${s.title}${c}.${u}`;
21331
- return Ky(r, g);
21325
+ return Gy(r, g);
21332
21326
  }
21333
21327
  handlePressedCloseWidget() {
21334
21328
  for (const e of this.PlayerClass.instances())
@@ -21409,7 +21403,7 @@ ks = new WeakSet(), au = function({ type: e }) {
21409
21403
  }
21410
21404
  }, Ln = new WeakSet(), go = function({ atTheStart: e, atTheEnd: i, errored: n } = {}) {
21411
21405
  const { content: o, introsOutros: s, currentTime: l } = this.player, a = typeof this.nextIntroOutro != "undefined" ? this.nextIntroOutro : this.player.introsOutrosIndex, r = typeof this.nextAdvert != "undefined" ? this.nextAdvert : this.player.advertIndex, u = typeof this.prevContent != "undefined" ? this.prevContent : this.player.contentIndex;
21412
- F(this, Jn, $o).call(this, d3({ introsOutros: s, introsOutrosIndex: a, advertIndex: r, content: o, contentIndex: u, currentTime: l, atTheStart: e, atTheEnd: i, errored: n }));
21406
+ F(this, Jn, $o).call(this, c3({ introsOutros: s, introsOutrosIndex: a, advertIndex: r, content: o, contentIndex: u, currentTime: l, atTheStart: e, atTheEnd: i, errored: n }));
21413
21407
  }, kn = new WeakSet(), En = function({ atTheStart: e, atTheEnd: i, wasIntro: n, errored: o, preloadingErrored: s } = {}) {
21414
21408
  var C;
21415
21409
  const { adverts: l, content: a, currentTime: r, minDurationForMidroll: u, minTimeUntilEndForMidroll: c } = this.player;
@@ -21422,7 +21416,7 @@ ks = new WeakSet(), au = function({ type: e }) {
21422
21416
  v != null && v.vastUrl && ["mid-roll", "post-roll"].includes(v == null ? void 0 : v.placement) ? this.player.preloadAdvertIndex = p : this.player.preloadAdvertIndex = -1;
21423
21417
  }
21424
21418
  const _ = this.player.persistentAdImage, k = this.player.persistentIndex;
21425
- this.player.persistentIndex = n3(_, k, f, l);
21419
+ this.player.persistentIndex = o3(_, k, f, l);
21426
21420
  }, Is = new WeakSet(), mu = function() {
21427
21421
  this.player.playbackState === "playing" && typeof this.nextIntroOutro != "undefined" && (F(this, Jn, $o).call(this, this.nextIntroOutro), delete this.nextIntroOutro);
21428
21422
  }, Os = new WeakSet(), hu = function() {
@@ -21452,20 +21446,20 @@ ks = new WeakSet(), au = function({ type: e }) {
21452
21446
  return ((n = this.player.currentSegment) == null ? void 0 : n.contentIndex) !== e || ((o = this.player.currentSegment) == null ? void 0 : o.segmentIndex) !== i;
21453
21447
  };
21454
21448
  var Vo = "<unknown>";
21455
- function v3(t) {
21449
+ function b3(t) {
21456
21450
  var e = t.split(`
21457
21451
  `);
21458
21452
  return e.reduce(function(i, n) {
21459
- var o = p3(n) || w3(n) || C3(n) || V3(n) || O3(n);
21453
+ var o = S3(n) || P3(n) || I3(n) || W3(n) || B3(n);
21460
21454
  return o && i.push(o), i;
21461
21455
  }, []);
21462
21456
  }
21463
- var b3 = /^\s*at (.*?) ?\(((?:file|https?|blob|chrome-extension|native|eval|webpack|<anonymous>|\/|[a-z]:\\|\\\\).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i, k3 = /\((\S*)(?::(\d+))(?::(\d+))\)/;
21464
- function p3(t) {
21465
- var e = b3.exec(t);
21457
+ var k3 = /^\s*at (.*?) ?\(((?:file|https?|blob|chrome-extension|native|eval|webpack|<anonymous>|\/|[a-z]:\\|\\\\).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i, p3 = /\((\S*)(?::(\d+))(?::(\d+))\)/;
21458
+ function S3(t) {
21459
+ var e = k3.exec(t);
21466
21460
  if (!e)
21467
21461
  return null;
21468
- var i = e[2] && e[2].indexOf("native") === 0, n = e[2] && e[2].indexOf("eval") === 0, o = k3.exec(e[2]);
21462
+ var i = e[2] && e[2].indexOf("native") === 0, n = e[2] && e[2].indexOf("eval") === 0, o = p3.exec(e[2]);
21469
21463
  return n && o != null && (e[2] = o[1], e[3] = o[2], e[4] = o[3]), {
21470
21464
  file: i ? null : e[2],
21471
21465
  methodName: e[1] || Vo,
@@ -21474,9 +21468,9 @@ function p3(t) {
21474
21468
  column: e[4] ? +e[4] : null
21475
21469
  };
21476
21470
  }
21477
- var S3 = /^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i;
21478
- function w3(t) {
21479
- var e = S3.exec(t);
21471
+ var w3 = /^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i;
21472
+ function P3(t) {
21473
+ var e = w3.exec(t);
21480
21474
  return e ? {
21481
21475
  file: e[2],
21482
21476
  methodName: e[1] || Vo,
@@ -21485,12 +21479,12 @@ function w3(t) {
21485
21479
  column: e[4] ? +e[4] : null
21486
21480
  } : null;
21487
21481
  }
21488
- var P3 = /^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|\[native).*?|[^@]*bundle)(?::(\d+))?(?::(\d+))?\s*$/i, T3 = /(\S+) line (\d+)(?: > eval line \d+)* > eval/i;
21489
- function C3(t) {
21490
- var e = P3.exec(t);
21482
+ var T3 = /^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|\[native).*?|[^@]*bundle)(?::(\d+))?(?::(\d+))?\s*$/i, C3 = /(\S+) line (\d+)(?: > eval line \d+)* > eval/i;
21483
+ function I3(t) {
21484
+ var e = T3.exec(t);
21491
21485
  if (!e)
21492
21486
  return null;
21493
- var i = e[3] && e[3].indexOf(" > eval") > -1, n = T3.exec(e[3]);
21487
+ var i = e[3] && e[3].indexOf(" > eval") > -1, n = C3.exec(e[3]);
21494
21488
  return i && n != null && (e[3] = n[1], e[4] = n[2], e[5] = null), {
21495
21489
  file: e[3],
21496
21490
  methodName: e[1] || Vo,
@@ -21499,9 +21493,9 @@ function C3(t) {
21499
21493
  column: e[5] ? +e[5] : null
21500
21494
  };
21501
21495
  }
21502
- var I3 = /^\s*(?:([^@]*)(?:\((.*?)\))?@)?(\S.*?):(\d+)(?::(\d+))?\s*$/i;
21503
- function O3(t) {
21504
- var e = I3.exec(t);
21496
+ var O3 = /^\s*(?:([^@]*)(?:\((.*?)\))?@)?(\S.*?):(\d+)(?::(\d+))?\s*$/i;
21497
+ function B3(t) {
21498
+ var e = O3.exec(t);
21505
21499
  return e ? {
21506
21500
  file: e[3],
21507
21501
  methodName: e[1] || Vo,
@@ -21510,9 +21504,9 @@ function O3(t) {
21510
21504
  column: e[5] ? +e[5] : null
21511
21505
  } : null;
21512
21506
  }
21513
- var B3 = /^\s*at (?:((?:\[object object\])?[^\\/]+(?: \[as \S+\])?) )?\(?(.*?):(\d+)(?::(\d+))?\)?\s*$/i;
21514
- function V3(t) {
21515
- var e = B3.exec(t);
21507
+ var V3 = /^\s*at (?:((?:\[object object\])?[^\\/]+(?: \[as \S+\])?) )?\(?(.*?):(\d+)(?::(\d+))?\)?\s*$/i;
21508
+ function W3(t) {
21509
+ var e = V3.exec(t);
21516
21510
  return e ? {
21517
21511
  file: e[2],
21518
21512
  methodName: e[1] || Vo,
@@ -21522,7 +21516,7 @@ function V3(t) {
21522
21516
  } : null;
21523
21517
  }
21524
21518
  let or = !1, Ks, Gs;
21525
- const W3 = ({ onError: t }) => {
21519
+ const M3 = ({ onError: t }) => {
21526
21520
  if (!t || or)
21527
21521
  return;
21528
21522
  or = !0;
@@ -21544,8 +21538,8 @@ const W3 = ({ onError: t }) => {
21544
21538
  };
21545
21539
  }, sr = (t) => {
21546
21540
  var e;
21547
- return (e = v3((t == null ? void 0 : t.stack) || "")[0]) == null ? void 0 : e.file;
21548
- }, M3 = ({ windowObject: t } = { windowObject: window }) => {
21541
+ return (e = b3((t == null ? void 0 : t.stack) || "")[0]) == null ? void 0 : e.file;
21542
+ }, E3 = ({ windowObject: t } = { windowObject: window }) => {
21549
21543
  typeof t == "undefined" && Ri([
21550
21544
  "Trying to initialize BeyondWords.Player in a server context but this is unsupported.",
21551
21545
  "Please only initialize the player in a context where the global window object is available.",
@@ -21553,17 +21547,17 @@ const W3 = ({ onError: t }) => {
21553
21547
  ]);
21554
21548
  };
21555
21549
  let lr = !1;
21556
- const E3 = () => {
21557
- lr || (addEventListener("mousedown", z3), addEventListener("click", j3), addEventListener("mousemove", R3), lr = !0);
21550
+ const z3 = () => {
21551
+ lr || (addEventListener("mousedown", L3), addEventListener("click", R3), addEventListener("mousemove", D3), lr = !0);
21558
21552
  };
21559
21553
  let Au, yu;
21560
- const z3 = (t) => {
21554
+ const L3 = (t) => {
21561
21555
  Au = t.pageX, yu = t.pageY;
21562
- }, L3 = (t) => {
21556
+ }, j3 = (t) => {
21563
21557
  const e = t.pageX - Au, i = t.pageY - yu;
21564
21558
  return Math.sqrt(e * e + i * i) > 5;
21565
- }, j3 = (t) => {
21566
- if (!t.defaultPrevented && !L3(t) && t.button === 0)
21559
+ }, R3 = (t) => {
21560
+ if (!t.defaultPrevented && !j3(t) && t.button === 0)
21567
21561
  for (const { player: e, segment: i, contentIndex: n, segmentIndex: o, segmentElement: s, precedence: l } of Ir(t.target))
21568
21562
  i && e.onEvent(Ae({
21569
21563
  type: "PressedSegment",
@@ -21576,9 +21570,9 @@ const z3 = (t) => {
21576
21570
  segmentElement: s,
21577
21571
  precedence: l
21578
21572
  }));
21579
- }, R3 = (t) => {
21573
+ }, D3 = (t) => {
21580
21574
  for (const { p: e, player: i, segment: n, contentIndex: o, segmentIndex: s, segmentElement: l, precedence: a } of Ir(t.target))
21581
- D3() || N3(e, o, s) && i.onEvent(Ae({
21575
+ N3() || x3(e, o, s) && i.onEvent(Ae({
21582
21576
  type: "HoveredSegmentUpdated",
21583
21577
  description: "The user hovered over a different segment in the article.",
21584
21578
  initiatedBy: "user",
@@ -21589,7 +21583,7 @@ const z3 = (t) => {
21589
21583
  segmentElement: l,
21590
21584
  precedence: a
21591
21585
  }));
21592
- }, D3 = () => typeof getSelection != "undefined" && getSelection().toString() !== "", Jo = {}, N3 = (t, e, i) => {
21586
+ }, N3 = () => typeof getSelection != "undefined" && getSelection().toString() !== "", Jo = {}, x3 = (t, e, i) => {
21593
21587
  Jo[t] || (Jo[t] = {});
21594
21588
  const n = Jo[t];
21595
21589
  return n.contentIndex === e && n.segmentIndex === i ? !1 : (n.contentIndex = e, n.segmentIndex = i, !0);
@@ -21599,28 +21593,28 @@ class Js {
21599
21593
  this.analyticsSink = e;
21600
21594
  }
21601
21595
  sendToCustomAnalytics(e) {
21602
- return jy(this.analyticsSink, e);
21596
+ return Ry(this.analyticsSink, e);
21603
21597
  }
21604
21598
  sendToGoogleAnalytics(e, i) {
21605
21599
  window.gtag("event", e, Qi(Qt({}, i), { send_to: this.analyticsSink }));
21606
21600
  }
21607
21601
  }
21608
- const x3 = (t, e) => {
21609
- const i = F3(t, e.type);
21602
+ const F3 = (t, e) => {
21603
+ const i = U3(t, e.type);
21610
21604
  if (!i)
21611
21605
  return;
21612
- const n = U3(t, i);
21613
- Rd(n), t.analyticsUrl && t.analyticsConsent !== "none" && new Js(t.analyticsUrl).sendToCustomAnalytics(n), t.analyticsCustomUrl && t.analyticsConsent !== "none" && new Js(t.analyticsCustomUrl).sendToCustomAnalytics(n), t.analyticsTag && new Js(t.analyticsTag).sendToGoogleAnalytics(q3(n), n);
21614
- }, F3 = (t, e) => {
21606
+ const n = H3(t, i);
21607
+ Rd(n), t.analyticsUrl && t.analyticsConsent !== "none" && new Js(t.analyticsUrl).sendToCustomAnalytics(n), t.analyticsCustomUrl && t.analyticsConsent !== "none" && new Js(t.analyticsCustomUrl).sendToCustomAnalytics(n), t.analyticsTag && new Js(t.analyticsTag).sendToGoogleAnalytics(Y3(n), n);
21608
+ }, U3 = (t, e) => {
21615
21609
  if (e === "ContentAvailable" && !t.listenSessionId)
21616
21610
  return "load";
21617
- if (e === "PlaybackPlaying" && Y3(t) && (t.isNewListen = !0), e === "CurrentTimeUpdated" && t.isNewListen)
21611
+ if (e === "PlaybackPlaying" && Z3(t) && (t.isNewListen = !0), e === "CurrentTimeUpdated" && t.isNewListen)
21618
21612
  return t.isNewListen = !1, "play";
21619
- if (e === "CurrentTimeUpdated" && Z3(t))
21613
+ if (e === "CurrentTimeUpdated" && K3(t))
21620
21614
  return "play_progress";
21621
21615
  if (e.startsWith("PressedAdvert"))
21622
21616
  return "ad_link_click";
21623
- }, U3 = (t, e) => {
21617
+ }, H3 = (t, e) => {
21624
21618
  var a, r;
21625
21619
  t.listenSessionId || (t.listenSessionId = ns()), t.sessionCreatedAt || (t.sessionCreatedAt = Date.now());
21626
21620
  const i = ["without-local-storage", "none"].includes(t.analyticsConsent);
@@ -21628,7 +21622,7 @@ const x3 = (t, e) => {
21628
21622
  const n = t.adverts[t.advertIndex], o = t.content[t.contentIndex], s = t.duration === 1 / 0 ? 0 : t.duration || 0, l = s === 0 ? 0 : t.currentTime / s * 100;
21629
21623
  return {
21630
21624
  event_type: e,
21631
- device_type: K3(t),
21625
+ device_type: G3(t),
21632
21626
  media_type: n ? "ad" : "content",
21633
21627
  media_variant: t.summary ? "summary" : "article",
21634
21628
  project_id: t.projectId,
@@ -21637,7 +21631,7 @@ const x3 = (t, e) => {
21637
21631
  analytics_id: t.analyticsId,
21638
21632
  ad_id: n == null ? void 0 : n.id,
21639
21633
  media_id: (a = t.loadedMedia) == null ? void 0 : a.id,
21640
- media_format: ((r = t.loadedMedia) == null ? void 0 : r.format) || H3({ player: t, contentItem: o }),
21634
+ media_format: ((r = t.loadedMedia) == null ? void 0 : r.format) || q3({ player: t, contentItem: o }),
21641
21635
  local_storage_id: i ? null : JSON.parse(localStorage.beyondwords),
21642
21636
  listen_session_id: t.listenSessionId,
21643
21637
  session_created_at: t.sessionCreatedAt,
@@ -21651,11 +21645,11 @@ const x3 = (t, e) => {
21651
21645
  player_version: "1",
21652
21646
  player_npm_version: mo
21653
21647
  };
21654
- }, H3 = ({ player: t, contentItem: e }) => {
21648
+ }, q3 = ({ player: t, contentItem: e }) => {
21655
21649
  var o;
21656
21650
  const i = t.playerStyle === "video" || t.widgetStyle === "video", n = ((o = e == null ? void 0 : e.video) == null ? void 0 : o.length) > 0;
21657
21651
  return i && n ? "video" : "audio";
21658
- }, q3 = ({ event_type: t, listen_length_percent: e }) => {
21652
+ }, Y3 = ({ event_type: t, listen_length_percent: e }) => {
21659
21653
  const i = Math.floor(e / 10) * 10;
21660
21654
  if (t === "load")
21661
21655
  return "Load";
@@ -21667,7 +21661,7 @@ const x3 = (t, e) => {
21667
21661
  return `${i}% listened`;
21668
21662
  if (t === "ad_link_click")
21669
21663
  return "Advert Click";
21670
- }, Y3 = (t) => {
21664
+ }, Z3 = (t) => {
21671
21665
  var n, o;
21672
21666
  let e = !1;
21673
21667
  if (t.advertIndex !== -1) {
@@ -21678,19 +21672,19 @@ const x3 = (t, e) => {
21678
21672
  e = s !== t.prevContentId, t.prevContentId = s;
21679
21673
  }
21680
21674
  return e;
21681
- }, Z3 = (t) => {
21675
+ }, K3 = (t) => {
21682
21676
  if (t.introsOutrosIndex !== -1)
21683
21677
  return;
21684
21678
  const e = t.prevPercentage + 10, i = t.currentTime / t.duration * 100;
21685
21679
  if (i >= e)
21686
21680
  return t.prevPercentage = Math.floor(i / 10) * 10, !0;
21687
- }, K3 = (t) => t.analyticsDeviceType !== "auto" ? t.analyticsDeviceType : ar(499) ? "phone" : ar(999) ? "tablet" : "desktop", ar = (t) => window.matchMedia && window.matchMedia(`only screen and (max-device-width: ${t}px)`).matches, Xo = (t, e, i, n = () => {
21681
+ }, G3 = (t) => t.analyticsDeviceType !== "auto" ? t.analyticsDeviceType : ar(499) ? "phone" : ar(999) ? "tablet" : "desktop", ar = (t) => window.matchMedia && window.matchMedia(`only screen and (max-device-width: ${t}px)`).matches, Xo = (t, e, i, n = () => {
21688
21682
  }) => {
21689
21683
  typeof i[t] != "undefined" && (i[e] = n(i[t]), delete i[t]);
21690
- }, G3 = /* @__PURE__ */ new Set(), J3 = (t, e = G3) => {
21684
+ }, J3 = /* @__PURE__ */ new Set(), X3 = (t, e = J3) => {
21691
21685
  const n = Object.keys(t.$$.props).filter((o) => !e.has(o)).map((o) => [o, t[o]]);
21692
21686
  return Object.fromEntries(n);
21693
- }, X3 = /* @__PURE__ */ new Set([
21687
+ }, Q3 = /* @__PURE__ */ new Set([
21694
21688
  "addEventListener",
21695
21689
  "removeEventListener",
21696
21690
  "mediaElement",
@@ -21699,14 +21693,14 @@ const x3 = (t, e) => {
21699
21693
  "controller"
21700
21694
  ]);
21701
21695
  var In;
21702
- const Ui = class Ui extends zy {
21696
+ const Ui = class Ui extends Ly {
21703
21697
  constructor(n) {
21704
21698
  var o = n, { target: e } = o, i = Ls(o, ["target"]);
21705
- M3(), W3(i), E3();
21706
- const { newTarget: s, showUserInterface: l } = wy(e);
21699
+ E3(), M3(i), z3();
21700
+ const { newTarget: s, showUserInterface: l } = Py(e);
21707
21701
  s.classList.add("beyondwords-player", "bwp"), Ui._styleLoaded || (s.style.display = "none");
21708
- const a = new y3(null, Ui);
21709
- a.addEventListener("<any>", (u) => x3(this, u)), Xo("xdv3rts", "adverts", i), Xo("xdv3rtIndex", "advertIndex", i), Xo("loadContentAs", "summary", i, (u) => (u == null ? void 0 : u[0]) === "summary"), Xo("video", "playerStyle", i, (u) => u ? "video" : i.playerStyle);
21702
+ const a = new v3(null, Ui);
21703
+ a.addEventListener("<any>", (u) => F3(this, u)), Xo("xdv3rts", "adverts", i), Xo("xdv3rtIndex", "advertIndex", i), Xo("loadContentAs", "summary", i, (u) => (u == null ? void 0 : u[0]) === "summary"), Xo("video", "playerStyle", i, (u) => u ? "video" : i.playerStyle);
21710
21704
  const r = Qt({ showUserInterface: l }, i);
21711
21705
  super({ target: s, props: Qi(Qt({ controller: a }, r), { initialProps: r }) }), a.player = this, Zi(Ui, In).push(this);
21712
21706
  }
@@ -21735,15 +21729,15 @@ const Ui = class Ui extends zy {
21735
21729
  return this.$$.root;
21736
21730
  }
21737
21731
  properties() {
21738
- return J3(this, X3);
21732
+ return X3(this, Q3);
21739
21733
  }
21740
21734
  };
21741
21735
  In = new WeakMap(), Me(Ui, In, []);
21742
21736
  let ds = Ui;
21743
21737
  var rr;
21744
21738
  typeof window != "undefined" && (window.BeyondWords || (window.BeyondWords = {}), (rr = window.BeyondWords).Player || (rr.Player = ds));
21745
- const tv = { Player: ds };
21739
+ const iv = { Player: ds };
21746
21740
  export {
21747
- tv as default
21741
+ iv as default
21748
21742
  };
21749
21743
  //# sourceMappingURL=es.js.map