@vouchfor/embeds 0.0.0-experiment.146014a → 0.0.0-experiment.14fd0e7

Sign up to get free protection for your applications and to get access to all the features.
package/dist/es/embeds.js CHANGED
@@ -1,4 +1,4 @@
1
- import { property as y, state as jt, customElement as he } from "lit/decorators.js";
1
+ import { property as v, state as jt, customElement as he } from "lit/decorators.js";
2
2
  import { ifDefined as ft } from "lit/directives/if-defined.js";
3
3
  import { createRef as Bt, ref as Wt } from "lit/directives/ref.js";
4
4
  import { Task as le } from "@lit/task";
@@ -10,7 +10,7 @@ import "@vouchfor/media-player";
10
10
  * SPDX-License-Identifier: BSD-3-Clause
11
11
  */
12
12
  const G = globalThis, _t = G.ShadowRoot && (G.ShadyCSS === void 0 || G.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, qt = Symbol(), gt = /* @__PURE__ */ new WeakMap();
13
- let ce = class {
13
+ let de = class {
14
14
  constructor(t, e, i) {
15
15
  if (this._$cssResult$ = !0, i !== qt)
16
16
  throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
@@ -29,7 +29,7 @@ let ce = class {
29
29
  return this.cssText;
30
30
  }
31
31
  };
32
- const de = (r) => new ce(typeof r == "string" ? r : r + "", void 0, qt), pe = (r, t) => {
32
+ const ce = (r) => new de(typeof r == "string" ? r : r + "", void 0, qt), pe = (r, t) => {
33
33
  if (_t)
34
34
  r.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
35
35
  else
@@ -37,21 +37,21 @@ const de = (r) => new ce(typeof r == "string" ? r : r + "", void 0, qt), pe = (r
37
37
  const i = document.createElement("style"), s = G.litNonce;
38
38
  s !== void 0 && i.setAttribute("nonce", s), i.textContent = e.cssText, r.appendChild(i);
39
39
  }
40
- }, yt = _t ? (r) => r : (r) => r instanceof CSSStyleSheet ? ((t) => {
40
+ }, vt = _t ? (r) => r : (r) => r instanceof CSSStyleSheet ? ((t) => {
41
41
  let e = "";
42
42
  for (const i of t.cssRules)
43
43
  e += i.cssText;
44
- return de(e);
44
+ return ce(e);
45
45
  })(r) : r;
46
46
  /**
47
47
  * @license
48
48
  * Copyright 2017 Google LLC
49
49
  * SPDX-License-Identifier: BSD-3-Clause
50
50
  */
51
- const { is: ue, defineProperty: _e, getOwnPropertyDescriptor: me, getOwnPropertyNames: $e, getOwnPropertySymbols: fe, getPrototypeOf: ge } = Object, b = globalThis, vt = b.trustedTypes, ye = vt ? vt.emptyScript : "", rt = b.reactiveElementPolyfillSupport, I = (r, t) => r, dt = { toAttribute(r, t) {
51
+ const { is: ue, defineProperty: _e, getOwnPropertyDescriptor: me, getOwnPropertyNames: $e, getOwnPropertySymbols: fe, getPrototypeOf: ge } = Object, b = globalThis, yt = b.trustedTypes, ve = yt ? yt.emptyScript : "", rt = b.reactiveElementPolyfillSupport, I = (r, t) => r, ct = { toAttribute(r, t) {
52
52
  switch (t) {
53
53
  case Boolean:
54
- r = r ? ye : null;
54
+ r = r ? ve : null;
55
55
  break;
56
56
  case Object:
57
57
  case Array:
@@ -76,7 +76,7 @@ const { is: ue, defineProperty: _e, getOwnPropertyDescriptor: me, getOwnProperty
76
76
  }
77
77
  }
78
78
  return e;
79
- } }, Xt = (r, t) => !ue(r, t), At = { attribute: !0, type: String, converter: dt, reflect: !1, hasChanged: Xt };
79
+ } }, Xt = (r, t) => !ue(r, t), At = { attribute: !0, type: String, converter: ct, reflect: !1, hasChanged: Xt };
80
80
  Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), b.litPropertyMetadata ?? (b.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
81
81
  let N = class extends HTMLElement {
82
82
  static addInitializer(t) {
@@ -140,9 +140,9 @@ let N = class extends HTMLElement {
140
140
  if (Array.isArray(t)) {
141
141
  const i = new Set(t.flat(1 / 0).reverse());
142
142
  for (const s of i)
143
- e.unshift(yt(s));
143
+ e.unshift(vt(s));
144
144
  } else
145
- t !== void 0 && e.push(yt(t));
145
+ t !== void 0 && e.push(vt(t));
146
146
  return e;
147
147
  }
148
148
  static _$Eu(t, e) {
@@ -197,7 +197,7 @@ let N = class extends HTMLElement {
197
197
  var n;
198
198
  const i = this.constructor.elementProperties.get(t), s = this.constructor._$Eu(t, i);
199
199
  if (s !== void 0 && i.reflect === !0) {
200
- const o = (((n = i.converter) == null ? void 0 : n.toAttribute) !== void 0 ? i.converter : dt).toAttribute(e, i.type);
200
+ const o = (((n = i.converter) == null ? void 0 : n.toAttribute) !== void 0 ? i.converter : ct).toAttribute(e, i.type);
201
201
  this._$Em = t, o == null ? this.removeAttribute(s) : this.setAttribute(s, o), this._$Em = null;
202
202
  }
203
203
  }
@@ -205,7 +205,7 @@ let N = class extends HTMLElement {
205
205
  var n;
206
206
  const i = this.constructor, s = i._$Eh.get(t);
207
207
  if (s !== void 0 && this._$Em !== s) {
208
- const o = i.getPropertyOptions(s), h = typeof o.converter == "function" ? { fromAttribute: o.converter } : ((n = o.converter) == null ? void 0 : n.fromAttribute) !== void 0 ? o.converter : dt;
208
+ const o = i.getPropertyOptions(s), h = typeof o.converter == "function" ? { fromAttribute: o.converter } : ((n = o.converter) == null ? void 0 : n.fromAttribute) !== void 0 ? o.converter : ct;
209
209
  this._$Em = s, this[s] = h.fromAttribute(e, o.type), this._$Em = null;
210
210
  }
211
211
  }
@@ -295,8 +295,8 @@ N.elementStyles = [], N.shadowRootOptions = { mode: "open" }, N[I("elementProper
295
295
  * Copyright 2017 Google LLC
296
296
  * SPDX-License-Identifier: BSD-3-Clause
297
297
  */
298
- const V = globalThis, Y = V.trustedTypes, bt = Y ? Y.createPolicy("lit-html", { createHTML: (r) => r }) : void 0, Jt = "$lit$", v = `lit$${(Math.random() + "").slice(9)}$`, Kt = "?" + v, ve = `<${Kt}>`, T = document, Q = () => T.createComment(""), B = (r) => r === null || typeof r != "object" && typeof r != "function", Ft = Array.isArray, Ae = (r) => Ft(r) || typeof (r == null ? void 0 : r[Symbol.iterator]) == "function", nt = `[
299
- \f\r]`, M = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Et = /-->/g, St = />/g, S = RegExp(`>|${nt}(?:([^\\s"'>=/]+)(${nt}*=${nt}*(?:[^
298
+ const V = globalThis, Y = V.trustedTypes, bt = Y ? Y.createPolicy("lit-html", { createHTML: (r) => r }) : void 0, Jt = "$lit$", y = `lit$${(Math.random() + "").slice(9)}$`, Kt = "?" + y, ye = `<${Kt}>`, T = document, Q = () => T.createComment(""), B = (r) => r === null || typeof r != "object" && typeof r != "function", Ft = Array.isArray, Ae = (r) => Ft(r) || typeof (r == null ? void 0 : r[Symbol.iterator]) == "function", nt = `[
299
+ \f\r]`, L = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Et = /-->/g, St = />/g, S = RegExp(`>|${nt}(?:([^\\s"'>=/]+)(${nt}*=${nt}*(?:[^
300
300
  \f\r"'\`<>=]|("|')|))|$)`, "g"), wt = /'/g, Pt = /"/g, Gt = /^(?:script|style|textarea|title)$/i, W = Symbol.for("lit-noChange"), _ = Symbol.for("lit-nothing"), Ct = /* @__PURE__ */ new WeakMap(), C = T.createTreeWalker(T, 129);
301
301
  function Zt(r, t) {
302
302
  if (!Array.isArray(r) || !r.hasOwnProperty("raw"))
@@ -305,14 +305,14 @@ function Zt(r, t) {
305
305
  }
306
306
  const be = (r, t) => {
307
307
  const e = r.length - 1, i = [];
308
- let s, n = t === 2 ? "<svg>" : "", o = M;
308
+ let s, n = t === 2 ? "<svg>" : "", o = L;
309
309
  for (let h = 0; h < e; h++) {
310
310
  const a = r[h];
311
- let c, d, l = -1, p = 0;
312
- for (; p < a.length && (o.lastIndex = p, d = o.exec(a), d !== null); )
313
- p = o.lastIndex, o === M ? d[1] === "!--" ? o = Et : d[1] !== void 0 ? o = St : d[2] !== void 0 ? (Gt.test(d[2]) && (s = RegExp("</" + d[2], "g")), o = S) : d[3] !== void 0 && (o = S) : o === S ? d[0] === ">" ? (o = s ?? M, l = -1) : d[1] === void 0 ? l = -2 : (l = o.lastIndex - d[2].length, c = d[1], o = d[3] === void 0 ? S : d[3] === '"' ? Pt : wt) : o === Pt || o === wt ? o = S : o === Et || o === St ? o = M : (o = S, s = void 0);
311
+ let d, c, l = -1, p = 0;
312
+ for (; p < a.length && (o.lastIndex = p, c = o.exec(a), c !== null); )
313
+ p = o.lastIndex, o === L ? c[1] === "!--" ? o = Et : c[1] !== void 0 ? o = St : c[2] !== void 0 ? (Gt.test(c[2]) && (s = RegExp("</" + c[2], "g")), o = S) : c[3] !== void 0 && (o = S) : o === S ? c[0] === ">" ? (o = s ?? L, l = -1) : c[1] === void 0 ? l = -2 : (l = o.lastIndex - c[2].length, d = c[1], o = c[3] === void 0 ? S : c[3] === '"' ? Pt : wt) : o === Pt || o === wt ? o = S : o === Et || o === St ? o = L : (o = S, s = void 0);
314
314
  const u = o === S && r[h + 1].startsWith("/>") ? " " : "";
315
- n += o === M ? a + ve : l >= 0 ? (i.push(c), a.slice(0, l) + Jt + a.slice(l) + v + u) : a + v + (l === -2 ? h : u);
315
+ n += o === L ? a + ye : l >= 0 ? (i.push(d), a.slice(0, l) + Jt + a.slice(l) + y + u) : a + y + (l === -2 ? h : u);
316
316
  }
317
317
  return [Zt(r, n + (r[e] || "<?>") + (t === 2 ? "</svg>" : "")), i];
318
318
  };
@@ -321,8 +321,8 @@ let pt = class Yt {
321
321
  let s;
322
322
  this.parts = [];
323
323
  let n = 0, o = 0;
324
- const h = t.length - 1, a = this.parts, [c, d] = be(t, e);
325
- if (this.el = Yt.createElement(c, i), C.currentNode = this.el.content, e === 2) {
324
+ const h = t.length - 1, a = this.parts, [d, c] = be(t, e);
325
+ if (this.el = Yt.createElement(d, i), C.currentNode = this.el.content, e === 2) {
326
326
  const l = this.el.content.firstChild;
327
327
  l.replaceWith(...l.childNodes);
328
328
  }
@@ -331,12 +331,12 @@ let pt = class Yt {
331
331
  if (s.hasAttributes())
332
332
  for (const l of s.getAttributeNames())
333
333
  if (l.endsWith(Jt)) {
334
- const p = d[o++], u = s.getAttribute(l).split(v), g = /([.?@])?(.*)/.exec(p);
334
+ const p = c[o++], u = s.getAttribute(l).split(y), g = /([.?@])?(.*)/.exec(p);
335
335
  a.push({ type: 1, index: n, name: g[2], strings: u, ctor: g[1] === "." ? Se : g[1] === "?" ? we : g[1] === "@" ? Pe : it }), s.removeAttribute(l);
336
336
  } else
337
- l.startsWith(v) && (a.push({ type: 6, index: n }), s.removeAttribute(l));
337
+ l.startsWith(y) && (a.push({ type: 6, index: n }), s.removeAttribute(l));
338
338
  if (Gt.test(s.tagName)) {
339
- const l = s.textContent.split(v), p = l.length - 1;
339
+ const l = s.textContent.split(y), p = l.length - 1;
340
340
  if (p > 0) {
341
341
  s.textContent = Y ? Y.emptyScript : "";
342
342
  for (let u = 0; u < p; u++)
@@ -349,8 +349,8 @@ let pt = class Yt {
349
349
  a.push({ type: 2, index: n });
350
350
  else {
351
351
  let l = -1;
352
- for (; (l = s.data.indexOf(v, l + 1)) !== -1; )
353
- a.push({ type: 7, index: n }), l += v.length - 1;
352
+ for (; (l = s.data.indexOf(y, l + 1)) !== -1; )
353
+ a.push({ type: 7, index: n }), l += y.length - 1;
354
354
  }
355
355
  n++;
356
356
  }
@@ -360,13 +360,13 @@ let pt = class Yt {
360
360
  return i.innerHTML = t, i;
361
361
  }
362
362
  };
363
- function k(r, t, e = r, i) {
363
+ function H(r, t, e = r, i) {
364
364
  var o, h;
365
365
  if (t === W)
366
366
  return t;
367
367
  let s = i !== void 0 ? (o = e._$Co) == null ? void 0 : o[i] : e._$Cl;
368
368
  const n = B(t) ? void 0 : t._$litDirective$;
369
- return (s == null ? void 0 : s.constructor) !== n && ((h = s == null ? void 0 : s._$AO) == null || h.call(s, !1), n === void 0 ? s = void 0 : (s = new n(r), s._$AT(r, e, i)), i !== void 0 ? (e._$Co ?? (e._$Co = []))[i] = s : e._$Cl = s), s !== void 0 && (t = k(r, s._$AS(r, t.values), s, i)), t;
369
+ return (s == null ? void 0 : s.constructor) !== n && ((h = s == null ? void 0 : s._$AO) == null || h.call(s, !1), n === void 0 ? s = void 0 : (s = new n(r), s._$AT(r, e, i)), i !== void 0 ? (e._$Co ?? (e._$Co = []))[i] = s : e._$Cl = s), s !== void 0 && (t = H(r, s._$AS(r, t.values), s, i)), t;
370
370
  }
371
371
  let Ee = class {
372
372
  constructor(t, e) {
@@ -384,8 +384,8 @@ let Ee = class {
384
384
  let n = C.nextNode(), o = 0, h = 0, a = i[0];
385
385
  for (; a !== void 0; ) {
386
386
  if (o === a.index) {
387
- let c;
388
- a.type === 2 ? c = new Qt(n, n.nextSibling, this, t) : a.type === 1 ? c = new a.ctor(n, a.name, a.strings, this, t) : a.type === 6 && (c = new Ce(n, this, t)), this._$AV.push(c), a = i[++h];
387
+ let d;
388
+ a.type === 2 ? d = new Qt(n, n.nextSibling, this, t) : a.type === 1 ? d = new a.ctor(n, a.name, a.strings, this, t) : a.type === 6 && (d = new Ce(n, this, t)), this._$AV.push(d), a = i[++h];
389
389
  }
390
390
  o !== (a == null ? void 0 : a.index) && (n = C.nextNode(), o++);
391
391
  }
@@ -416,7 +416,7 @@ let Ee = class {
416
416
  return this._$AB;
417
417
  }
418
418
  _$AI(t, e = this) {
419
- t = k(this, t, e), B(t) ? t === _ || t == null || t === "" ? (this._$AH !== _ && this._$AR(), this._$AH = _) : t !== this._$AH && t !== W && this._(t) : t._$litType$ !== void 0 ? this.g(t) : t.nodeType !== void 0 ? this.$(t) : Ae(t) ? this.T(t) : this._(t);
419
+ t = H(this, t, e), B(t) ? t === _ || t == null || t === "" ? (this._$AH !== _ && this._$AR(), this._$AH = _) : t !== this._$AH && t !== W && this._(t) : t._$litType$ !== void 0 ? this.g(t) : t.nodeType !== void 0 ? this.$(t) : Ae(t) ? this.T(t) : this._(t);
420
420
  }
421
421
  k(t) {
422
422
  return this._$AA.parentNode.insertBefore(t, this._$AB);
@@ -474,12 +474,12 @@ let Ee = class {
474
474
  const n = this.strings;
475
475
  let o = !1;
476
476
  if (n === void 0)
477
- t = k(this, t, e, 0), o = !B(t) || t !== this._$AH && t !== W, o && (this._$AH = t);
477
+ t = H(this, t, e, 0), o = !B(t) || t !== this._$AH && t !== W, o && (this._$AH = t);
478
478
  else {
479
479
  const h = t;
480
- let a, c;
480
+ let a, d;
481
481
  for (t = n[0], a = 0; a < n.length - 1; a++)
482
- c = k(this, h[i + a], e, a), c === W && (c = this._$AH[a]), o || (o = !B(c) || c !== this._$AH[a]), c === _ ? t = _ : t !== _ && (t += (c ?? "") + n[a + 1]), this._$AH[a] = c;
482
+ d = H(this, h[i + a], e, a), d === W && (d = this._$AH[a]), o || (o = !B(d) || d !== this._$AH[a]), d === _ ? t = _ : t !== _ && (t += (d ?? "") + n[a + 1]), this._$AH[a] = d;
483
483
  }
484
484
  o && !s && this.O(t);
485
485
  }
@@ -505,7 +505,7 @@ let Ee = class {
505
505
  super(t, e, i, s, n), this.type = 5;
506
506
  }
507
507
  _$AI(t, e = this) {
508
- if ((t = k(this, t, e, 0) ?? _) === W)
508
+ if ((t = H(this, t, e, 0) ?? _) === W)
509
509
  return;
510
510
  const i = this._$AH, s = t === _ && i !== _ || t.capture !== i.capture || t.once !== i.once || t.passive !== i.passive, n = t !== _ && (i === _ || s);
511
511
  s && this.element.removeEventListener(this.name, this, i), n && this.element.addEventListener(this.name, this, t), this._$AH = t;
@@ -522,7 +522,7 @@ let Ee = class {
522
522
  return this._$AM._$AU;
523
523
  }
524
524
  _$AI(t) {
525
- k(this, t);
525
+ H(this, t);
526
526
  }
527
527
  };
528
528
  const ot = V.litHtmlPolyfillSupport;
@@ -571,10 +571,10 @@ const Te = (r) => new Ue(typeof r == "string" ? r : r + "", void 0, ee), xe = (r
571
571
  * Copyright 2017 Google LLC
572
572
  * SPDX-License-Identifier: BSD-3-Clause
573
573
  */
574
- const { is: Re, defineProperty: ke, getOwnPropertyDescriptor: He, getOwnPropertyNames: Oe, getOwnPropertySymbols: Ne, getPrototypeOf: Me } = Object, E = globalThis, xt = E.trustedTypes, Le = xt ? xt.emptyScript : "", at = E.reactiveElementPolyfillSupport, D = (r, t) => r, ut = { toAttribute(r, t) {
574
+ const { is: Re, defineProperty: He, getOwnPropertyDescriptor: ke, getOwnPropertyNames: Oe, getOwnPropertySymbols: Ne, getPrototypeOf: Le } = Object, E = globalThis, xt = E.trustedTypes, Me = xt ? xt.emptyScript : "", at = E.reactiveElementPolyfillSupport, D = (r, t) => r, ut = { toAttribute(r, t) {
575
575
  switch (t) {
576
576
  case Boolean:
577
- r = r ? Le : null;
577
+ r = r ? Me : null;
578
578
  break;
579
579
  case Object:
580
580
  case Array:
@@ -611,11 +611,11 @@ class R extends HTMLElement {
611
611
  static createProperty(t, e = Rt) {
612
612
  if (e.state && (e.attribute = !1), this._$Ei(), this.elementProperties.set(t, e), !e.noAccessor) {
613
613
  const i = Symbol(), s = this.getPropertyDescriptor(t, i, e);
614
- s !== void 0 && ke(this.prototype, t, s);
614
+ s !== void 0 && He(this.prototype, t, s);
615
615
  }
616
616
  }
617
617
  static getPropertyDescriptor(t, e, i) {
618
- const { get: s, set: n } = He(this.prototype, t) ?? { get() {
618
+ const { get: s, set: n } = ke(this.prototype, t) ?? { get() {
619
619
  return this[e];
620
620
  }, set(o) {
621
621
  this[e] = o;
@@ -633,7 +633,7 @@ class R extends HTMLElement {
633
633
  static _$Ei() {
634
634
  if (this.hasOwnProperty(D("elementProperties")))
635
635
  return;
636
- const t = Me(this);
636
+ const t = Le(this);
637
637
  t.finalize(), t.l !== void 0 && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
638
638
  }
639
639
  static finalize() {
@@ -818,24 +818,24 @@ R.elementStyles = [], R.shadowRootOptions = { mode: "open" }, R[D("elementProper
818
818
  * Copyright 2017 Google LLC
819
819
  * SPDX-License-Identifier: BSD-3-Clause
820
820
  */
821
- const z = globalThis, tt = z.trustedTypes, kt = tt ? tt.createPolicy("lit-html", { createHTML: (r) => r }) : void 0, se = "$lit$", A = `lit$${(Math.random() + "").slice(9)}$`, re = "?" + A, Ie = `<${re}>`, x = document, q = () => x.createComment(""), X = (r) => r === null || typeof r != "object" && typeof r != "function", ne = Array.isArray, Ve = (r) => ne(r) || typeof (r == null ? void 0 : r[Symbol.iterator]) == "function", ht = `[
822
- \f\r]`, L = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Ht = /-->/g, Ot = />/g, w = RegExp(`>|${ht}(?:([^\\s"'>=/]+)(${ht}*=${ht}*(?:[^
823
- \f\r"'\`<>=]|("|')|))|$)`, "g"), Nt = /'/g, Mt = /"/g, oe = /^(?:script|style|textarea|title)$/i, De = (r) => (t, ...e) => ({ _$litType$: r, strings: t, values: e }), ze = De(1), H = Symbol.for("lit-noChange"), m = Symbol.for("lit-nothing"), Lt = /* @__PURE__ */ new WeakMap(), U = x.createTreeWalker(x, 129);
821
+ const z = globalThis, tt = z.trustedTypes, Ht = tt ? tt.createPolicy("lit-html", { createHTML: (r) => r }) : void 0, se = "$lit$", A = `lit$${(Math.random() + "").slice(9)}$`, re = "?" + A, Ie = `<${re}>`, x = document, q = () => x.createComment(""), X = (r) => r === null || typeof r != "object" && typeof r != "function", ne = Array.isArray, Ve = (r) => ne(r) || typeof (r == null ? void 0 : r[Symbol.iterator]) == "function", ht = `[
822
+ \f\r]`, M = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, kt = /-->/g, Ot = />/g, w = RegExp(`>|${ht}(?:([^\\s"'>=/]+)(${ht}*=${ht}*(?:[^
823
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), Nt = /'/g, Lt = /"/g, oe = /^(?:script|style|textarea|title)$/i, De = (r) => (t, ...e) => ({ _$litType$: r, strings: t, values: e }), ze = De(1), k = Symbol.for("lit-noChange"), m = Symbol.for("lit-nothing"), Mt = /* @__PURE__ */ new WeakMap(), U = x.createTreeWalker(x, 129);
824
824
  function ae(r, t) {
825
825
  if (!Array.isArray(r) || !r.hasOwnProperty("raw"))
826
826
  throw Error("invalid template strings array");
827
- return kt !== void 0 ? kt.createHTML(t) : t;
827
+ return Ht !== void 0 ? Ht.createHTML(t) : t;
828
828
  }
829
829
  const je = (r, t) => {
830
830
  const e = r.length - 1, i = [];
831
- let s, n = t === 2 ? "<svg>" : "", o = L;
831
+ let s, n = t === 2 ? "<svg>" : "", o = M;
832
832
  for (let h = 0; h < e; h++) {
833
833
  const a = r[h];
834
- let c, d, l = -1, p = 0;
835
- for (; p < a.length && (o.lastIndex = p, d = o.exec(a), d !== null); )
836
- p = o.lastIndex, o === L ? d[1] === "!--" ? o = Ht : d[1] !== void 0 ? o = Ot : d[2] !== void 0 ? (oe.test(d[2]) && (s = RegExp("</" + d[2], "g")), o = w) : d[3] !== void 0 && (o = w) : o === w ? d[0] === ">" ? (o = s ?? L, l = -1) : d[1] === void 0 ? l = -2 : (l = o.lastIndex - d[2].length, c = d[1], o = d[3] === void 0 ? w : d[3] === '"' ? Mt : Nt) : o === Mt || o === Nt ? o = w : o === Ht || o === Ot ? o = L : (o = w, s = void 0);
834
+ let d, c, l = -1, p = 0;
835
+ for (; p < a.length && (o.lastIndex = p, c = o.exec(a), c !== null); )
836
+ p = o.lastIndex, o === M ? c[1] === "!--" ? o = kt : c[1] !== void 0 ? o = Ot : c[2] !== void 0 ? (oe.test(c[2]) && (s = RegExp("</" + c[2], "g")), o = w) : c[3] !== void 0 && (o = w) : o === w ? c[0] === ">" ? (o = s ?? M, l = -1) : c[1] === void 0 ? l = -2 : (l = o.lastIndex - c[2].length, d = c[1], o = c[3] === void 0 ? w : c[3] === '"' ? Lt : Nt) : o === Lt || o === Nt ? o = w : o === kt || o === Ot ? o = M : (o = w, s = void 0);
837
837
  const u = o === w && r[h + 1].startsWith("/>") ? " " : "";
838
- n += o === L ? a + Ie : l >= 0 ? (i.push(c), a.slice(0, l) + se + a.slice(l) + A + u) : a + A + (l === -2 ? h : u);
838
+ n += o === M ? a + Ie : l >= 0 ? (i.push(d), a.slice(0, l) + se + a.slice(l) + A + u) : a + A + (l === -2 ? h : u);
839
839
  }
840
840
  return [ae(r, n + (r[e] || "<?>") + (t === 2 ? "</svg>" : "")), i];
841
841
  };
@@ -844,8 +844,8 @@ class J {
844
844
  let s;
845
845
  this.parts = [];
846
846
  let n = 0, o = 0;
847
- const h = t.length - 1, a = this.parts, [c, d] = je(t, e);
848
- if (this.el = J.createElement(c, i), U.currentNode = this.el.content, e === 2) {
847
+ const h = t.length - 1, a = this.parts, [d, c] = je(t, e);
848
+ if (this.el = J.createElement(d, i), U.currentNode = this.el.content, e === 2) {
849
849
  const l = this.el.content.firstChild;
850
850
  l.replaceWith(...l.childNodes);
851
851
  }
@@ -854,7 +854,7 @@ class J {
854
854
  if (s.hasAttributes())
855
855
  for (const l of s.getAttributeNames())
856
856
  if (l.endsWith(se)) {
857
- const p = d[o++], u = s.getAttribute(l).split(A), g = /([.?@])?(.*)/.exec(p);
857
+ const p = c[o++], u = s.getAttribute(l).split(A), g = /([.?@])?(.*)/.exec(p);
858
858
  a.push({ type: 1, index: n, name: g[2], strings: u, ctor: g[1] === "." ? We : g[1] === "?" ? qe : g[1] === "@" ? Xe : st }), s.removeAttribute(l);
859
859
  } else
860
860
  l.startsWith(A) && (a.push({ type: 6, index: n }), s.removeAttribute(l));
@@ -885,7 +885,7 @@ class J {
885
885
  }
886
886
  function O(r, t, e = r, i) {
887
887
  var o, h;
888
- if (t === H)
888
+ if (t === k)
889
889
  return t;
890
890
  let s = i !== void 0 ? (o = e._$Co) == null ? void 0 : o[i] : e._$Cl;
891
891
  const n = X(t) ? void 0 : t._$litDirective$;
@@ -907,8 +907,8 @@ class Be {
907
907
  let n = U.nextNode(), o = 0, h = 0, a = i[0];
908
908
  for (; a !== void 0; ) {
909
909
  if (o === a.index) {
910
- let c;
911
- a.type === 2 ? c = new K(n, n.nextSibling, this, t) : a.type === 1 ? c = new a.ctor(n, a.name, a.strings, this, t) : a.type === 6 && (c = new Je(n, this, t)), this._$AV.push(c), a = i[++h];
910
+ let d;
911
+ a.type === 2 ? d = new K(n, n.nextSibling, this, t) : a.type === 1 ? d = new a.ctor(n, a.name, a.strings, this, t) : a.type === 6 && (d = new Je(n, this, t)), this._$AV.push(d), a = i[++h];
912
912
  }
913
913
  o !== (a == null ? void 0 : a.index) && (n = U.nextNode(), o++);
914
914
  }
@@ -940,7 +940,7 @@ class K {
940
940
  return this._$AB;
941
941
  }
942
942
  _$AI(t, e = this) {
943
- t = O(this, t, e), X(t) ? t === m || t == null || t === "" ? (this._$AH !== m && this._$AR(), this._$AH = m) : t !== this._$AH && t !== H && this._(t) : t._$litType$ !== void 0 ? this.g(t) : t.nodeType !== void 0 ? this.$(t) : Ve(t) ? this.T(t) : this._(t);
943
+ t = O(this, t, e), X(t) ? t === m || t == null || t === "" ? (this._$AH !== m && this._$AR(), this._$AH = m) : t !== this._$AH && t !== k && this._(t) : t._$litType$ !== void 0 ? this.g(t) : t.nodeType !== void 0 ? this.$(t) : Ve(t) ? this.T(t) : this._(t);
944
944
  }
945
945
  k(t) {
946
946
  return this._$AA.parentNode.insertBefore(t, this._$AB);
@@ -962,8 +962,8 @@ class K {
962
962
  }
963
963
  }
964
964
  _$AC(t) {
965
- let e = Lt.get(t.strings);
966
- return e === void 0 && Lt.set(t.strings, e = new J(t)), e;
965
+ let e = Mt.get(t.strings);
966
+ return e === void 0 && Mt.set(t.strings, e = new J(t)), e;
967
967
  }
968
968
  T(t) {
969
969
  ne(this._$AH) || (this._$AH = [], this._$AR());
@@ -999,12 +999,12 @@ class st {
999
999
  const n = this.strings;
1000
1000
  let o = !1;
1001
1001
  if (n === void 0)
1002
- t = O(this, t, e, 0), o = !X(t) || t !== this._$AH && t !== H, o && (this._$AH = t);
1002
+ t = O(this, t, e, 0), o = !X(t) || t !== this._$AH && t !== k, o && (this._$AH = t);
1003
1003
  else {
1004
1004
  const h = t;
1005
- let a, c;
1005
+ let a, d;
1006
1006
  for (t = n[0], a = 0; a < n.length - 1; a++)
1007
- c = O(this, h[i + a], e, a), c === H && (c = this._$AH[a]), o || (o = !X(c) || c !== this._$AH[a]), c === m ? t = m : t !== m && (t += (c ?? "") + n[a + 1]), this._$AH[a] = c;
1007
+ d = O(this, h[i + a], e, a), d === k && (d = this._$AH[a]), o || (o = !X(d) || d !== this._$AH[a]), d === m ? t = m : t !== m && (t += (d ?? "") + n[a + 1]), this._$AH[a] = d;
1008
1008
  }
1009
1009
  o && !s && this.O(t);
1010
1010
  }
@@ -1033,7 +1033,7 @@ class Xe extends st {
1033
1033
  super(t, e, i, s, n), this.type = 5;
1034
1034
  }
1035
1035
  _$AI(t, e = this) {
1036
- if ((t = O(this, t, e, 0) ?? m) === H)
1036
+ if ((t = O(this, t, e, 0) ?? m) === k)
1037
1037
  return;
1038
1038
  const i = this._$AH, s = t === m && i !== m || t.capture !== i.capture || t.once !== i.once || t.passive !== i.passive, n = t !== m && (i === m || s);
1039
1039
  s && this.element.removeEventListener(this.name, this, i), n && this.element.addEventListener(this.name, this, t), this._$AH = t;
@@ -1092,13 +1092,13 @@ class j extends R {
1092
1092
  super.disconnectedCallback(), (t = this._$Do) == null || t.setConnected(!1);
1093
1093
  }
1094
1094
  render() {
1095
- return H;
1095
+ return k;
1096
1096
  }
1097
1097
  }
1098
1098
  var zt;
1099
1099
  j._$litElement$ = !0, j.finalized = !0, (zt = globalThis.litElementHydrateSupport) == null || zt.call(globalThis, { LitElement: j });
1100
- const ct = globalThis.litElementPolyfillSupport;
1101
- ct == null || ct({ LitElement: j });
1100
+ const dt = globalThis.litElementPolyfillSupport;
1101
+ dt == null || dt({ LitElement: j });
1102
1102
  (globalThis.litElementVersions ?? (globalThis.litElementVersions = [])).push("4.0.2");
1103
1103
  function Fe(r, t, e) {
1104
1104
  function i(s) {
@@ -1160,7 +1160,7 @@ function et(r) {
1160
1160
  class ni {
1161
1161
  constructor(t) {
1162
1162
  this._fetching = !1, this.getVouch = async (e, i, s) => {
1163
- var d;
1163
+ var c;
1164
1164
  const { embedApiUrl: n } = et(e), o = P(), h = await fetch(`${n}/vouches/${s}`, {
1165
1165
  method: "GET",
1166
1166
  headers: [
@@ -1168,7 +1168,7 @@ class ni {
1168
1168
  ["X-Cache-Check", o]
1169
1169
  ]
1170
1170
  }), a = await h.json();
1171
- return this.host.dispatchEvent(new CustomEvent("vouch:loaded", { detail: a == null ? void 0 : a.id })), ((d = h == null ? void 0 : h.headers) == null ? void 0 : d.get("X-Cache-Check")) !== o && fetch(`${n}/vouches/${s}`, {
1171
+ return this.host.dispatchEvent(new CustomEvent("vouch:loaded", { detail: a == null ? void 0 : a.id })), ((c = h == null ? void 0 : h.headers) == null ? void 0 : c.get("X-Cache-Check")) !== o && fetch(`${n}/vouches/${s}`, {
1172
1172
  method: "GET",
1173
1173
  headers: [
1174
1174
  ["X-Api-Key", i],
@@ -1176,7 +1176,7 @@ class ni {
1176
1176
  ]
1177
1177
  }), a;
1178
1178
  }, this.getTemplate = async (e, i, s) => {
1179
- var d;
1179
+ var c;
1180
1180
  const { embedApiUrl: n } = et(e), o = P(), h = await fetch(`${n}/templates/${s}`, {
1181
1181
  method: "GET",
1182
1182
  headers: [
@@ -1184,7 +1184,7 @@ class ni {
1184
1184
  ["X-Cache-Check", o]
1185
1185
  ]
1186
1186
  }), a = await h.json();
1187
- return ((d = h == null ? void 0 : h.headers) == null ? void 0 : d.get("X-Cache-Check")) !== o && fetch(`${n}/templates/${s}`, {
1187
+ return ((c = h == null ? void 0 : h.headers) == null ? void 0 : c.get("X-Cache-Check")) !== o && fetch(`${n}/templates/${s}`, {
1188
1188
  method: "GET",
1189
1189
  headers: [
1190
1190
  ["X-Api-Key", i],
@@ -1194,7 +1194,7 @@ class ni {
1194
1194
  }, this.host = t, new le(
1195
1195
  this.host,
1196
1196
  async ([e, i, s, n, o]) => {
1197
- var h, a, c, d;
1197
+ var h, a, d, c;
1198
1198
  try {
1199
1199
  if (t.vouch = void 0, t.template = void 0, s) {
1200
1200
  let l;
@@ -1205,7 +1205,7 @@ class ni {
1205
1205
  this.getVouch(e, i, n),
1206
1206
  o ? this.getTemplate(e, i, o) : null
1207
1207
  ]);
1208
- t.vouch = l, t.template = p ?? ((d = (c = l == null ? void 0 : l.settings) == null ? void 0 : c.template) == null ? void 0 : d.instance);
1208
+ t.vouch = l, t.template = p ?? ((c = (d = l == null ? void 0 : l.settings) == null ? void 0 : d.template) == null ? void 0 : c.instance);
1209
1209
  }
1210
1210
  } finally {
1211
1211
  this.fetching = !1;
@@ -1221,7 +1221,7 @@ class ni {
1221
1221
  return this._fetching;
1222
1222
  }
1223
1223
  }
1224
- const oi = "@vouchfor/embeds", ai = "0.0.0-experiment.146014a", hi = "MIT", li = "Aaron Williams", ci = "dist/es/embeds.js", di = "dist/es/embeds.js", pi = "module", ui = "dist/es/index.d.ts", _i = {
1224
+ const oi = "@vouchfor/embeds", ai = "0.0.0-experiment.14fd0e7", hi = "MIT", li = "Aaron Williams", di = "dist/es/embeds.js", ci = "dist/es/embeds.js", pi = "module", ui = "dist/es/index.d.ts", _i = {
1225
1225
  ".": "./dist/es/embeds.js"
1226
1226
  }, mi = [
1227
1227
  "dist",
@@ -1245,11 +1245,11 @@ const oi = "@vouchfor/embeds", ai = "0.0.0-experiment.146014a", hi = "MIT", li =
1245
1245
  test: "true"
1246
1246
  }, gi = {
1247
1247
  "@lit/task": "^1.0.0",
1248
- "@vouchfor/media-player": "0.0.0-experiment.146014a",
1248
+ "@vouchfor/media-player": "0.0.0-experiment.14fd0e7",
1249
1249
  uuid: "^9.0.1"
1250
- }, yi = {
1251
- lit: "^3.1.0"
1252
1250
  }, vi = {
1251
+ lit: "^3.1.0"
1252
+ }, yi = {
1253
1253
  "@esm-bundle/chai": "^4.3.4-fix.0",
1254
1254
  "@open-wc/testing": "^3.2.0",
1255
1255
  "@storybook/addon-essentials": "^7.4.5",
@@ -1283,8 +1283,8 @@ const oi = "@vouchfor/embeds", ai = "0.0.0-experiment.146014a", hi = "MIT", li =
1283
1283
  version: ai,
1284
1284
  license: hi,
1285
1285
  author: li,
1286
- main: ci,
1287
- module: di,
1286
+ main: di,
1287
+ module: ci,
1288
1288
  type: pi,
1289
1289
  types: ui,
1290
1290
  exports: _i,
@@ -1296,8 +1296,8 @@ const oi = "@vouchfor/embeds", ai = "0.0.0-experiment.146014a", hi = "MIT", li =
1296
1296
  "**/*.{md,json,yml}": "prettier --write"
1297
1297
  },
1298
1298
  dependencies: gi,
1299
- peerDependencies: yi,
1300
- devDependencies: vi
1299
+ peerDependencies: vi,
1300
+ devDependencies: yi
1301
1301
  }, Dt = 1;
1302
1302
  class bi {
1303
1303
  constructor(t) {
@@ -1310,8 +1310,8 @@ class bi {
1310
1310
  const [e, i] = ((o = (n = Intl.DateTimeFormat().resolvedOptions().timeZone) == null ? void 0 : n.split) == null ? void 0 : o.call(n, "/")) ?? [], s = {};
1311
1311
  return [...new URLSearchParams(location.search).entries()].forEach(([h, a]) => {
1312
1312
  if (/utm/.test(h)) {
1313
- const c = h.toLowerCase().replace(/[-_][a-z0-9]/g, (d) => d.slice(-1).toUpperCase());
1314
- s[c] = a;
1313
+ const d = h.toLowerCase().replace(/[-_][a-z0-9]/g, (c) => c.slice(-1).toUpperCase());
1314
+ s[d] = a;
1315
1315
  }
1316
1316
  }), {
1317
1317
  source: this.host.trackingSource,
@@ -1328,7 +1328,7 @@ class bi {
1328
1328
  const s = this._findVouchId(i);
1329
1329
  if (!s || this.host.disableTracking)
1330
1330
  return;
1331
- const { publicApiUrl: n } = et(this.host.env), { client: o, tab: h, request: a, visitor: c } = this._getUids();
1331
+ const { publicApiUrl: n } = et(this.host.env), { client: o, tab: h, request: a, visitor: d } = this._getUids();
1332
1332
  navigator.sendBeacon(
1333
1333
  `${n}/api/v2/events`,
1334
1334
  JSON.stringify({
@@ -1341,7 +1341,7 @@ class bi {
1341
1341
  "x-uid-client": o,
1342
1342
  "x-uid-tab": h,
1343
1343
  "x-uid-request": a,
1344
- "x-uid-visitor": c,
1344
+ "x-uid-visitor": d,
1345
1345
  "x-reporting-metadata": this._getReportingMetadata(),
1346
1346
  "x-embeds-version": Ai.version
1347
1347
  }
@@ -1377,22 +1377,26 @@ class bi {
1377
1377
  streamStart: this._streamStartTime[i],
1378
1378
  streamEnd: this._streamLatestTime[i]
1379
1379
  }), delete this._streamStartTime[i], delete this._streamLatestTime[i];
1380
+ }, this._pageUnloading = () => {
1381
+ this._streamEnded(), this.host.pause();
1380
1382
  }, this._handleVisibilityChange = () => {
1381
- document.visibilityState === "hidden" && (this._streamEnded(), this.host.pause());
1383
+ document.visibilityState === "hidden" && this._pageUnloading();
1384
+ }, this._handlePageHide = () => {
1385
+ this._pageUnloading();
1382
1386
  }, this.host = t, t.addController(this);
1383
1387
  }
1384
1388
  _findVouchId(t) {
1385
1389
  return t && "vouchId" in t ? t.vouchId : this.host.vouch ? this.host.vouch.id : null;
1386
1390
  }
1387
1391
  _getUids() {
1388
- var n, o, h, a, c, d, l, p, u, g, F, $t;
1392
+ var n, o, h, a, d, c, l, p, u, g, F, $t;
1389
1393
  if (typeof window > "u")
1390
1394
  return {
1391
1395
  client: null,
1392
1396
  tab: null,
1393
1397
  request: P()
1394
1398
  };
1395
- const t = this._visitorId || ((o = (n = window.localStorage) == null ? void 0 : n.getItem) == null ? void 0 : o.call(n, "vouch-uid-visitor")) || this._createVisitor(P()), e = this._clientId || ((a = (h = window.localStorage) == null ? void 0 : h.getItem) == null ? void 0 : a.call(h, "vouch-uid-client")) || P(), i = this._tabId || ((d = (c = window.sessionStorage) == null ? void 0 : c.getItem) == null ? void 0 : d.call(c, "vouch-uid-tab")) || P(), s = P();
1399
+ const t = this._visitorId || ((o = (n = window.localStorage) == null ? void 0 : n.getItem) == null ? void 0 : o.call(n, "vouch-uid-visitor")) || this._createVisitor(P()), e = this._clientId || ((a = (h = window.localStorage) == null ? void 0 : h.getItem) == null ? void 0 : a.call(h, "vouch-uid-client")) || P(), i = this._tabId || ((c = (d = window.sessionStorage) == null ? void 0 : d.getItem) == null ? void 0 : c.call(d, "vouch-uid-tab")) || P(), s = P();
1396
1400
  return t !== this._visitorId && (this._visitorId = t, (p = (l = window.localStorage) == null ? void 0 : l.setItem) == null || p.call(l, "vouch-uid-visitor", t)), e !== this._clientId && (this._clientId = e, (g = (u = window.localStorage) == null ? void 0 : u.setItem) == null || g.call(u, "vouch-uid-client", e)), i !== this._tabId && (this._tabId = i, ($t = (F = window.sessionStorage) == null ? void 0 : F.setItem) == null || $t.call(F, "vouch-uid-tab", i)), {
1397
1401
  client: e,
1398
1402
  tab: i,
@@ -1403,12 +1407,12 @@ class bi {
1403
1407
  hostConnected() {
1404
1408
  requestAnimationFrame(() => {
1405
1409
  var t, e, i, s;
1406
- document.addEventListener("visibilitychange", this._handleVisibilityChange), this.host.addEventListener("vouch:loaded", this._handleVouchLoaded), (t = this.host.mediaPlayer) == null || t.addEventListener("play", this._handlePlay), (e = this.host.mediaPlayer) == null || e.addEventListener("video:play", this._handleVideoPlay), (i = this.host.mediaPlayer) == null || i.addEventListener("video:pause", this._handleVideoPause), (s = this.host.mediaPlayer) == null || s.addEventListener("video:timeupdate", this._handleVideoTimeUpdate);
1410
+ "onvisibilitychange" in document ? document.addEventListener("visibilitychange", this._handleVisibilityChange) : window.addEventListener("pagehide", this._handlePageHide), this.host.addEventListener("vouch:loaded", this._handleVouchLoaded), (t = this.host.mediaPlayer) == null || t.addEventListener("play", this._handlePlay), (e = this.host.mediaPlayer) == null || e.addEventListener("video:play", this._handleVideoPlay), (i = this.host.mediaPlayer) == null || i.addEventListener("video:pause", this._handleVideoPause), (s = this.host.mediaPlayer) == null || s.addEventListener("video:timeupdate", this._handleVideoTimeUpdate);
1407
1411
  });
1408
1412
  }
1409
1413
  hostDisconnected() {
1410
1414
  var t, e, i, s;
1411
- this._streamEnded(), document.removeEventListener("visibilitychange", this._handleVisibilityChange), this.host.removeEventListener("vouch:loaded", this._handleVouchLoaded), (t = this.host.mediaPlayer) == null || t.removeEventListener("play", this._handlePlay), (e = this.host.mediaPlayer) == null || e.removeEventListener("video:play", this._handleVideoPlay), (i = this.host.mediaPlayer) == null || i.removeEventListener("video:pause", this._handleVideoPause), (s = this.host.mediaPlayer) == null || s.removeEventListener("video:timeupdate", this._handleVideoTimeUpdate);
1415
+ this._streamEnded(), "onvisibilitychange" in document ? document.removeEventListener("visibilitychange", this._handleVisibilityChange) : window.removeEventListener("pagehide", this._handlePageHide), this.host.removeEventListener("vouch:loaded", this._handleVouchLoaded), (t = this.host.mediaPlayer) == null || t.removeEventListener("play", this._handlePlay), (e = this.host.mediaPlayer) == null || e.removeEventListener("video:play", this._handleVideoPlay), (i = this.host.mediaPlayer) == null || i.removeEventListener("video:pause", this._handleVideoPause), (s = this.host.mediaPlayer) == null || s.removeEventListener("video:timeupdate", this._handleVideoTimeUpdate);
1412
1416
  }
1413
1417
  }
1414
1418
  var Ei = Object.defineProperty, Si = Object.getOwnPropertyDescriptor, f = (r, t, e, i) => {
@@ -1509,6 +1513,10 @@ let $ = class extends j {
1509
1513
  var r;
1510
1514
  return ((r = this._mediaPlayerRef.value) == null ? void 0 : r.scenes) ?? [];
1511
1515
  }
1516
+ get sceneConfig() {
1517
+ var r;
1518
+ return ((r = this._mediaPlayerRef.value) == null ? void 0 : r.sceneConfig) ?? null;
1519
+ }
1512
1520
  get videoState() {
1513
1521
  var r;
1514
1522
  return (r = this._mediaPlayerRef.value) == null ? void 0 : r.videoState;
@@ -1545,37 +1553,37 @@ let $ = class extends j {
1545
1553
  }
1546
1554
  };
1547
1555
  f([
1548
- y({ type: Object, attribute: "data" })
1556
+ v({ type: Object, attribute: "data" })
1549
1557
  ], $.prototype, "data", 2);
1550
1558
  f([
1551
- y({ type: String })
1559
+ v({ type: String })
1552
1560
  ], $.prototype, "vouchId", 2);
1553
1561
  f([
1554
- y({ type: String })
1562
+ v({ type: String })
1555
1563
  ], $.prototype, "templateId", 2);
1556
1564
  f([
1557
- y({ type: String })
1565
+ v({ type: String })
1558
1566
  ], $.prototype, "env", 2);
1559
1567
  f([
1560
- y({ type: String })
1568
+ v({ type: String })
1561
1569
  ], $.prototype, "apiKey", 2);
1562
1570
  f([
1563
- y({ type: Boolean })
1571
+ v({ type: Boolean })
1564
1572
  ], $.prototype, "disableTracking", 2);
1565
1573
  f([
1566
- y({ type: String })
1574
+ v({ type: String })
1567
1575
  ], $.prototype, "trackingSource", 2);
1568
1576
  f([
1569
- y({ type: Array })
1577
+ v({ type: Array })
1570
1578
  ], $.prototype, "controls", 2);
1571
1579
  f([
1572
- y({ type: String })
1580
+ v({ type: String })
1573
1581
  ], $.prototype, "preload", 2);
1574
1582
  f([
1575
- y({ type: Boolean })
1583
+ v({ type: Boolean })
1576
1584
  ], $.prototype, "autoplay", 2);
1577
1585
  f([
1578
- y({ type: Number })
1586
+ v({ type: Number })
1579
1587
  ], $.prototype, "aspectRatio", 2);
1580
1588
  f([
1581
1589
  jt()