@vouchfor/embeds 1.2.0 → 1.2.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (28) hide show
  1. package/dist/es/{browser-173d6373.js → browser-4d54600e.js} +2 -2
  2. package/dist/es/{browser-173d6373.js.map → browser-4d54600e.js.map} +1 -1
  3. package/dist/es/embeds.js +1 -1
  4. package/dist/es/{index-df8e918a.js → index-14868944.js} +92 -89
  5. package/dist/es/{index-df8e918a.js.map → index-14868944.js.map} +1 -1
  6. package/dist/es/src/components/DialogEmbed/index.d.ts +1 -0
  7. package/dist/iife/dialog-embed/{browser-1ef3ad7b.js → browser-d8ab928d.js} +2 -2
  8. package/dist/iife/dialog-embed/{browser-1ef3ad7b.js.map → browser-d8ab928d.js.map} +1 -1
  9. package/dist/iife/dialog-embed/embed.iife.js +53 -51
  10. package/dist/iife/dialog-embed/embed.iife.js.map +1 -1
  11. package/dist/iife/dialog-embed/embed.js +1 -1
  12. package/dist/iife/dialog-embed/{index-c8b48d2a.js → index-568f189c.js} +249 -247
  13. package/dist/iife/dialog-embed/{index-c8b48d2a.js.map → index-568f189c.js.map} +1 -1
  14. package/dist/iife/dialog-embed/src/components/DialogEmbed/index.d.ts +1 -0
  15. package/dist/iife/embeds.iife.js +28 -26
  16. package/dist/iife/embeds.iife.js.map +1 -1
  17. package/dist/iife/player-embed/{browser-165af7be.js → browser-951710ee.js} +2 -2
  18. package/dist/iife/player-embed/{browser-165af7be.js.map → browser-951710ee.js.map} +1 -1
  19. package/dist/iife/player-embed/embed.iife.js +1 -1
  20. package/dist/iife/player-embed/embed.js +1 -1
  21. package/dist/iife/player-embed/{index-7e54dc9a.js → index-86dfade0.js} +4 -4
  22. package/dist/iife/player-embed/{index-7e54dc9a.js.map → index-86dfade0.js.map} +1 -1
  23. package/dist/iife/player-embed/src/components/DialogEmbed/index.d.ts +1 -0
  24. package/package.json +1 -1
  25. package/src/components/DialogEmbed/Dialog.stories.ts +12 -0
  26. package/src/components/DialogEmbed/DialogOverlay.ts +2 -1
  27. package/src/components/DialogEmbed/DialogPortal.ts +22 -10
  28. package/src/components/DialogEmbed/index.ts +5 -1
@@ -42,7 +42,7 @@ const Pv = (i) => new Dv(typeof i == "string" ? i : i + "", void 0, If), Ov = (i
42
42
  * Copyright 2017 Google LLC
43
43
  * SPDX-License-Identifier: BSD-3-Clause
44
44
  */
45
- const { is: $v, defineProperty: Mv, getOwnPropertyDescriptor: Nv, getOwnPropertyNames: Fv, getOwnPropertySymbols: Uv, getPrototypeOf: Bv } = Object, Ms = globalThis, _u = Ms.trustedTypes, Gv = _u ? _u.emptyScript : "", ql = Ms.reactiveElementPolyfillSupport, ma = (i, t) => i, Ho = { toAttribute(i, t) {
45
+ const { is: $v, defineProperty: Mv, getOwnPropertyDescriptor: Nv, getOwnPropertyNames: Fv, getOwnPropertySymbols: Uv, getPrototypeOf: Bv } = Object, Ns = globalThis, _u = Ns.trustedTypes, Gv = _u ? _u.emptyScript : "", ql = Ns.reactiveElementPolyfillSupport, ma = (i, t) => i, Ho = { toAttribute(i, t) {
46
46
  switch (t) {
47
47
  case Boolean:
48
48
  i = i ? Gv : null;
@@ -71,7 +71,7 @@ const { is: $v, defineProperty: Mv, getOwnPropertyDescriptor: Nv, getOwnProperty
71
71
  }
72
72
  return e;
73
73
  } }, gh = (i, t) => !$v(i, t), Lu = { attribute: !0, type: String, converter: Ho, reflect: !1, hasChanged: gh };
74
- Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), Ms.litPropertyMetadata ?? (Ms.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
74
+ Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), Ns.litPropertyMetadata ?? (Ns.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
75
75
  let ra = class extends HTMLElement {
76
76
  static addInitializer(t) {
77
77
  this._$Ei(), (this.l ?? (this.l = [])).push(t);
@@ -283,15 +283,15 @@ let ra = class extends HTMLElement {
283
283
  firstUpdated(t) {
284
284
  }
285
285
  };
286
- ra.elementStyles = [], ra.shadowRootOptions = { mode: "open" }, ra[ma("elementProperties")] = /* @__PURE__ */ new Map(), ra[ma("finalized")] = /* @__PURE__ */ new Map(), ql == null || ql({ ReactiveElement: ra }), (Ms.reactiveElementVersions ?? (Ms.reactiveElementVersions = [])).push("2.0.2");
286
+ ra.elementStyles = [], ra.shadowRootOptions = { mode: "open" }, ra[ma("elementProperties")] = /* @__PURE__ */ new Map(), ra[ma("finalized")] = /* @__PURE__ */ new Map(), ql == null || ql({ ReactiveElement: ra }), (Ns.reactiveElementVersions ?? (Ns.reactiveElementVersions = [])).push("2.0.2");
287
287
  /**
288
288
  * @license
289
289
  * Copyright 2017 Google LLC
290
290
  * SPDX-License-Identifier: BSD-3-Clause
291
291
  */
292
292
  const va = globalThis, Vo = va.trustedTypes, Cu = Vo ? Vo.createPolicy("lit-html", { createHTML: (i) => i }) : void 0, mh = "$lit$", hs = `lit$${(Math.random() + "").slice(9)}$`, vh = "?" + hs, Hv = `<${vh}>`, dn = document, Wo = () => dn.createComment(""), Ca = (i) => i === null || typeof i != "object" && typeof i != "function", xf = Array.isArray, Df = (i) => xf(i) || typeof (i == null ? void 0 : i[Symbol.iterator]) == "function", Ql = `[
293
- \f\r]`, ia = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Iu = /-->/g, xu = />/g, Zs = RegExp(`>|${Ql}(?:([^\\s"'>=/]+)(${Ql}*=${Ql}*(?:[^
294
- \f\r"'\`<>=]|("|')|))|$)`, "g"), Du = /'/g, Pu = /"/g, Pf = /^(?:script|style|textarea|title)$/i, Bs = Symbol.for("lit-noChange"), nr = Symbol.for("lit-nothing"), Ou = /* @__PURE__ */ new WeakMap(), nn = dn.createTreeWalker(dn, 129);
293
+ \f\r]`, ia = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Iu = /-->/g, xu = />/g, qs = RegExp(`>|${Ql}(?:([^\\s"'>=/]+)(${Ql}*=${Ql}*(?:[^
294
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), Du = /'/g, Pu = /"/g, Pf = /^(?:script|style|textarea|title)$/i, Gs = Symbol.for("lit-noChange"), nr = Symbol.for("lit-nothing"), Ou = /* @__PURE__ */ new WeakMap(), an = dn.createTreeWalker(dn, 129);
295
295
  function Of(i, t) {
296
296
  if (!Array.isArray(i) || !i.hasOwnProperty("raw"))
297
297
  throw Error("invalid template strings array");
@@ -304,8 +304,8 @@ const $f = (i, t) => {
304
304
  const f = i[d];
305
305
  let p, g, y = -1, E = 0;
306
306
  for (; E < f.length && (c.lastIndex = E, g = c.exec(f), g !== null); )
307
- E = c.lastIndex, c === ia ? g[1] === "!--" ? c = Iu : g[1] !== void 0 ? c = xu : g[2] !== void 0 ? (Pf.test(g[2]) && (n = RegExp("</" + g[2], "g")), c = Zs) : g[3] !== void 0 && (c = Zs) : c === Zs ? g[0] === ">" ? (c = n ?? ia, y = -1) : g[1] === void 0 ? y = -2 : (y = c.lastIndex - g[2].length, p = g[1], c = g[3] === void 0 ? Zs : g[3] === '"' ? Pu : Du) : c === Pu || c === Du ? c = Zs : c === Iu || c === xu ? c = ia : (c = Zs, n = void 0);
308
- const A = c === Zs && i[d + 1].startsWith("/>") ? " " : "";
307
+ E = c.lastIndex, c === ia ? g[1] === "!--" ? c = Iu : g[1] !== void 0 ? c = xu : g[2] !== void 0 ? (Pf.test(g[2]) && (n = RegExp("</" + g[2], "g")), c = qs) : g[3] !== void 0 && (c = qs) : c === qs ? g[0] === ">" ? (c = n ?? ia, y = -1) : g[1] === void 0 ? y = -2 : (y = c.lastIndex - g[2].length, p = g[1], c = g[3] === void 0 ? qs : g[3] === '"' ? Pu : Du) : c === Pu || c === Du ? c = qs : c === Iu || c === xu ? c = ia : (c = qs, n = void 0);
308
+ const A = c === qs && i[d + 1].startsWith("/>") ? " " : "";
309
309
  o += c === ia ? f + Hv : y >= 0 ? (r.push(p), f.slice(0, y) + mh + f.slice(y) + hs + A) : f + hs + (y === -2 ? d : A);
310
310
  }
311
311
  return [Of(i, o + (i[e] || "<?>") + (t === 2 ? "</svg>" : "")), r];
@@ -316,11 +316,11 @@ let Nc = class Mf {
316
316
  this.parts = [];
317
317
  let o = 0, c = 0;
318
318
  const d = t.length - 1, f = this.parts, [p, g] = $f(t, e);
319
- if (this.el = Mf.createElement(p, r), nn.currentNode = this.el.content, e === 2) {
319
+ if (this.el = Mf.createElement(p, r), an.currentNode = this.el.content, e === 2) {
320
320
  const y = this.el.content.firstChild;
321
321
  y.replaceWith(...y.childNodes);
322
322
  }
323
- for (; (n = nn.nextNode()) !== null && f.length < d; ) {
323
+ for (; (n = an.nextNode()) !== null && f.length < d; ) {
324
324
  if (n.nodeType === 1) {
325
325
  if (n.hasAttributes())
326
326
  for (const y of n.getAttributeNames())
@@ -334,7 +334,7 @@ let Nc = class Mf {
334
334
  if (E > 0) {
335
335
  n.textContent = Vo ? Vo.emptyScript : "";
336
336
  for (let A = 0; A < E; A++)
337
- n.append(y[A], Wo()), nn.nextNode(), f.push({ type: 2, index: ++o });
337
+ n.append(y[A], Wo()), an.nextNode(), f.push({ type: 2, index: ++o });
338
338
  n.append(y[E], Wo());
339
339
  }
340
340
  }
@@ -356,7 +356,7 @@ let Nc = class Mf {
356
356
  };
357
357
  function un(i, t, e = i, r) {
358
358
  var c, d;
359
- if (t === Bs)
359
+ if (t === Gs)
360
360
  return t;
361
361
  let n = r !== void 0 ? (c = e._$Co) == null ? void 0 : c[r] : e._$Cl;
362
362
  const o = Ca(t) ? void 0 : t._$litDirective$;
@@ -374,16 +374,16 @@ let Nf = class {
374
374
  }
375
375
  u(t) {
376
376
  const { el: { content: e }, parts: r } = this._$AD, n = ((t == null ? void 0 : t.creationScope) ?? dn).importNode(e, !0);
377
- nn.currentNode = n;
378
- let o = nn.nextNode(), c = 0, d = 0, f = r[0];
377
+ an.currentNode = n;
378
+ let o = an.nextNode(), c = 0, d = 0, f = r[0];
379
379
  for (; f !== void 0; ) {
380
380
  if (c === f.index) {
381
381
  let p;
382
382
  f.type === 2 ? p = new yh(o, o.nextSibling, this, t) : f.type === 1 ? p = new f.ctor(o, f.name, f.strings, this, t) : f.type === 6 && (p = new Hf(o, this, t)), this._$AV.push(p), f = r[++d];
383
383
  }
384
- c !== (f == null ? void 0 : f.index) && (o = nn.nextNode(), c++);
384
+ c !== (f == null ? void 0 : f.index) && (o = an.nextNode(), c++);
385
385
  }
386
- return nn.currentNode = dn, n;
386
+ return an.currentNode = dn, n;
387
387
  }
388
388
  p(t) {
389
389
  let e = 0;
@@ -410,7 +410,7 @@ let Nf = class {
410
410
  return this._$AB;
411
411
  }
412
412
  _$AI(t, e = this) {
413
- t = un(this, t, e), Ca(t) ? t === nr || t == null || t === "" ? (this._$AH !== nr && this._$AR(), this._$AH = nr) : t !== this._$AH && t !== Bs && this._(t) : t._$litType$ !== void 0 ? this.g(t) : t.nodeType !== void 0 ? this.$(t) : Df(t) ? this.T(t) : this._(t);
413
+ t = un(this, t, e), Ca(t) ? t === nr || t == null || t === "" ? (this._$AH !== nr && this._$AR(), this._$AH = nr) : t !== this._$AH && t !== Gs && this._(t) : t._$litType$ !== void 0 ? this.g(t) : t.nodeType !== void 0 ? this.$(t) : Df(t) ? this.T(t) : this._(t);
414
414
  }
415
415
  k(t) {
416
416
  return this._$AA.parentNode.insertBefore(t, this._$AB);
@@ -468,12 +468,12 @@ let Nf = class {
468
468
  const o = this.strings;
469
469
  let c = !1;
470
470
  if (o === void 0)
471
- t = un(this, t, e, 0), c = !Ca(t) || t !== this._$AH && t !== Bs, c && (this._$AH = t);
471
+ t = un(this, t, e, 0), c = !Ca(t) || t !== this._$AH && t !== Gs, c && (this._$AH = t);
472
472
  else {
473
473
  const d = t;
474
474
  let f, p;
475
475
  for (t = o[0], f = 0; f < o.length - 1; f++)
476
- p = un(this, d[r + f], e, f), p === Bs && (p = this._$AH[f]), c || (c = !Ca(p) || p !== this._$AH[f]), p === nr ? t = nr : t !== nr && (t += (p ?? "") + o[f + 1]), this._$AH[f] = p;
476
+ p = un(this, d[r + f], e, f), p === Gs && (p = this._$AH[f]), c || (c = !Ca(p) || p !== this._$AH[f]), p === nr ? t = nr : t !== nr && (t += (p ?? "") + o[f + 1]), this._$AH[f] = p;
477
477
  }
478
478
  c && !n && this.O(t);
479
479
  }
@@ -499,7 +499,7 @@ let Nf = class {
499
499
  super(t, e, r, n, o), this.type = 5;
500
500
  }
501
501
  _$AI(t, e = this) {
502
- if ((t = un(this, t, e, 0) ?? nr) === Bs)
502
+ if ((t = un(this, t, e, 0) ?? nr) === Gs)
503
503
  return;
504
504
  const r = this._$AH, n = t === nr && r !== nr || t.capture !== r.capture || t.once !== r.once || t.passive !== r.passive, o = t !== nr && (r === nr || n);
505
505
  n && this.element.removeEventListener(this.name, this, r), o && this.element.addEventListener(this.name, this, t), this._$AH = t;
@@ -574,7 +574,7 @@ const Va = (i) => new Vf(typeof i == "string" ? i : i + "", void 0, Eh), dr = (i
574
574
  * Copyright 2017 Google LLC
575
575
  * SPDX-License-Identifier: BSD-3-Clause
576
576
  */
577
- const { is: jv, defineProperty: Kv, getOwnPropertyDescriptor: zv, getOwnPropertyNames: Yv, getOwnPropertySymbols: Xv, getPrototypeOf: Zv } = Object, Ns = globalThis, Nu = Ns.trustedTypes, qv = Nu ? Nu.emptyScript : "", tc = Ns.reactiveElementPolyfillSupport, ya = (i, t) => i, Fc = { toAttribute(i, t) {
577
+ const { is: jv, defineProperty: Kv, getOwnPropertyDescriptor: zv, getOwnPropertyNames: Yv, getOwnPropertySymbols: Xv, getPrototypeOf: Zv } = Object, Fs = globalThis, Nu = Fs.trustedTypes, qv = Nu ? Nu.emptyScript : "", tc = Fs.reactiveElementPolyfillSupport, ya = (i, t) => i, Fc = { toAttribute(i, t) {
578
578
  switch (t) {
579
579
  case Boolean:
580
580
  i = i ? qv : null;
@@ -603,7 +603,7 @@ const { is: jv, defineProperty: Kv, getOwnPropertyDescriptor: zv, getOwnProperty
603
603
  }
604
604
  return e;
605
605
  } }, Wf = (i, t) => !jv(i, t), Fu = { attribute: !0, type: String, converter: Fc, reflect: !1, hasChanged: Wf };
606
- Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), Ns.litPropertyMetadata ?? (Ns.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
606
+ Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), Fs.litPropertyMetadata ?? (Fs.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
607
607
  let Dn = class extends HTMLElement {
608
608
  static addInitializer(t) {
609
609
  this._$Ei(), (this.l ?? (this.l = [])).push(t);
@@ -815,15 +815,15 @@ let Dn = class extends HTMLElement {
815
815
  firstUpdated(t) {
816
816
  }
817
817
  };
818
- Dn.elementStyles = [], Dn.shadowRootOptions = { mode: "open" }, Dn[ya("elementProperties")] = /* @__PURE__ */ new Map(), Dn[ya("finalized")] = /* @__PURE__ */ new Map(), tc == null || tc({ ReactiveElement: Dn }), (Ns.reactiveElementVersions ?? (Ns.reactiveElementVersions = [])).push("2.0.2");
818
+ Dn.elementStyles = [], Dn.shadowRootOptions = { mode: "open" }, Dn[ya("elementProperties")] = /* @__PURE__ */ new Map(), Dn[ya("finalized")] = /* @__PURE__ */ new Map(), tc == null || tc({ ReactiveElement: Dn }), (Fs.reactiveElementVersions ?? (Fs.reactiveElementVersions = [])).push("2.0.2");
819
819
  /**
820
820
  * @license
821
821
  * Copyright 2017 Google LLC
822
822
  * SPDX-License-Identifier: BSD-3-Clause
823
823
  */
824
824
  const ba = globalThis, jo = ba.trustedTypes, Uu = jo ? jo.createPolicy("lit-html", { createHTML: (i) => i }) : void 0, jf = "$lit$", Os = `lit$${(Math.random() + "").slice(9)}$`, Kf = "?" + Os, Qv = `<${Kf}>`, fn = document, Ia = () => fn.createComment(""), xa = (i) => i === null || typeof i != "object" && typeof i != "function", zf = Array.isArray, Jv = (i) => zf(i) || typeof (i == null ? void 0 : i[Symbol.iterator]) == "function", ec = `[
825
- \f\r]`, sa = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Bu = /-->/g, Gu = />/g, qs = RegExp(`>|${ec}(?:([^\\s"'>=/]+)(${ec}*=${ec}*(?:[^
826
- \f\r"'\`<>=]|("|')|))|$)`, "g"), Hu = /'/g, Vu = /"/g, Yf = /^(?:script|style|textarea|title)$/i, ty = (i) => (t, ...e) => ({ _$litType$: i, strings: t, values: e }), qt = ty(1), Gs = Symbol.for("lit-noChange"), Er = Symbol.for("lit-nothing"), Wu = /* @__PURE__ */ new WeakMap(), an = fn.createTreeWalker(fn, 129);
825
+ \f\r]`, sa = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Bu = /-->/g, Gu = />/g, Qs = RegExp(`>|${ec}(?:([^\\s"'>=/]+)(${ec}*=${ec}*(?:[^
826
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), Hu = /'/g, Vu = /"/g, Yf = /^(?:script|style|textarea|title)$/i, ty = (i) => (t, ...e) => ({ _$litType$: i, strings: t, values: e }), qt = ty(1), Hs = Symbol.for("lit-noChange"), Er = Symbol.for("lit-nothing"), Wu = /* @__PURE__ */ new WeakMap(), on = fn.createTreeWalker(fn, 129);
827
827
  function Xf(i, t) {
828
828
  if (!Array.isArray(i) || !i.hasOwnProperty("raw"))
829
829
  throw Error("invalid template strings array");
@@ -836,8 +836,8 @@ const ey = (i, t) => {
836
836
  const f = i[d];
837
837
  let p, g, y = -1, E = 0;
838
838
  for (; E < f.length && (c.lastIndex = E, g = c.exec(f), g !== null); )
839
- E = c.lastIndex, c === sa ? g[1] === "!--" ? c = Bu : g[1] !== void 0 ? c = Gu : g[2] !== void 0 ? (Yf.test(g[2]) && (n = RegExp("</" + g[2], "g")), c = qs) : g[3] !== void 0 && (c = qs) : c === qs ? g[0] === ">" ? (c = n ?? sa, y = -1) : g[1] === void 0 ? y = -2 : (y = c.lastIndex - g[2].length, p = g[1], c = g[3] === void 0 ? qs : g[3] === '"' ? Vu : Hu) : c === Vu || c === Hu ? c = qs : c === Bu || c === Gu ? c = sa : (c = qs, n = void 0);
840
- const A = c === qs && i[d + 1].startsWith("/>") ? " " : "";
839
+ E = c.lastIndex, c === sa ? g[1] === "!--" ? c = Bu : g[1] !== void 0 ? c = Gu : g[2] !== void 0 ? (Yf.test(g[2]) && (n = RegExp("</" + g[2], "g")), c = Qs) : g[3] !== void 0 && (c = Qs) : c === Qs ? g[0] === ">" ? (c = n ?? sa, y = -1) : g[1] === void 0 ? y = -2 : (y = c.lastIndex - g[2].length, p = g[1], c = g[3] === void 0 ? Qs : g[3] === '"' ? Vu : Hu) : c === Vu || c === Hu ? c = Qs : c === Bu || c === Gu ? c = sa : (c = Qs, n = void 0);
840
+ const A = c === Qs && i[d + 1].startsWith("/>") ? " " : "";
841
841
  o += c === sa ? f + Qv : y >= 0 ? (r.push(p), f.slice(0, y) + jf + f.slice(y) + Os + A) : f + Os + (y === -2 ? d : A);
842
842
  }
843
843
  return [Xf(i, o + (i[e] || "<?>") + (t === 2 ? "</svg>" : "")), r];
@@ -848,11 +848,11 @@ class Da {
848
848
  this.parts = [];
849
849
  let o = 0, c = 0;
850
850
  const d = t.length - 1, f = this.parts, [p, g] = ey(t, e);
851
- if (this.el = Da.createElement(p, r), an.currentNode = this.el.content, e === 2) {
851
+ if (this.el = Da.createElement(p, r), on.currentNode = this.el.content, e === 2) {
852
852
  const y = this.el.content.firstChild;
853
853
  y.replaceWith(...y.childNodes);
854
854
  }
855
- for (; (n = an.nextNode()) !== null && f.length < d; ) {
855
+ for (; (n = on.nextNode()) !== null && f.length < d; ) {
856
856
  if (n.nodeType === 1) {
857
857
  if (n.hasAttributes())
858
858
  for (const y of n.getAttributeNames())
@@ -866,7 +866,7 @@ class Da {
866
866
  if (E > 0) {
867
867
  n.textContent = jo ? jo.emptyScript : "";
868
868
  for (let A = 0; A < E; A++)
869
- n.append(y[A], Ia()), an.nextNode(), f.push({ type: 2, index: ++o });
869
+ n.append(y[A], Ia()), on.nextNode(), f.push({ type: 2, index: ++o });
870
870
  n.append(y[E], Ia());
871
871
  }
872
872
  }
@@ -888,7 +888,7 @@ class Da {
888
888
  }
889
889
  function Nn(i, t, e = i, r) {
890
890
  var c, d;
891
- if (t === Gs)
891
+ if (t === Hs)
892
892
  return t;
893
893
  let n = r !== void 0 ? (c = e._$Co) == null ? void 0 : c[r] : e._$Cl;
894
894
  const o = xa(t) ? void 0 : t._$litDirective$;
@@ -906,16 +906,16 @@ let ry = class {
906
906
  }
907
907
  u(t) {
908
908
  const { el: { content: e }, parts: r } = this._$AD, n = ((t == null ? void 0 : t.creationScope) ?? fn).importNode(e, !0);
909
- an.currentNode = n;
910
- let o = an.nextNode(), c = 0, d = 0, f = r[0];
909
+ on.currentNode = n;
910
+ let o = on.nextNode(), c = 0, d = 0, f = r[0];
911
911
  for (; f !== void 0; ) {
912
912
  if (c === f.index) {
913
913
  let p;
914
914
  f.type === 2 ? p = new Ah(o, o.nextSibling, this, t) : f.type === 1 ? p = new f.ctor(o, f.name, f.strings, this, t) : f.type === 6 && (p = new ay(o, this, t)), this._$AV.push(p), f = r[++d];
915
915
  }
916
- c !== (f == null ? void 0 : f.index) && (o = an.nextNode(), c++);
916
+ c !== (f == null ? void 0 : f.index) && (o = on.nextNode(), c++);
917
917
  }
918
- return an.currentNode = fn, n;
918
+ return on.currentNode = fn, n;
919
919
  }
920
920
  p(t) {
921
921
  let e = 0;
@@ -942,7 +942,7 @@ let ry = class {
942
942
  return this._$AB;
943
943
  }
944
944
  _$AI(t, e = this) {
945
- t = Nn(this, t, e), xa(t) ? t === Er || t == null || t === "" ? (this._$AH !== Er && this._$AR(), this._$AH = Er) : t !== this._$AH && t !== Gs && this._(t) : t._$litType$ !== void 0 ? this.g(t) : t.nodeType !== void 0 ? this.$(t) : Jv(t) ? this.T(t) : this._(t);
945
+ t = Nn(this, t, e), xa(t) ? t === Er || t == null || t === "" ? (this._$AH !== Er && this._$AR(), this._$AH = Er) : t !== this._$AH && t !== Hs && this._(t) : t._$litType$ !== void 0 ? this.g(t) : t.nodeType !== void 0 ? this.$(t) : Jv(t) ? this.T(t) : this._(t);
946
946
  }
947
947
  k(t) {
948
948
  return this._$AA.parentNode.insertBefore(t, this._$AB);
@@ -1001,12 +1001,12 @@ class ul {
1001
1001
  const o = this.strings;
1002
1002
  let c = !1;
1003
1003
  if (o === void 0)
1004
- t = Nn(this, t, e, 0), c = !xa(t) || t !== this._$AH && t !== Gs, c && (this._$AH = t);
1004
+ t = Nn(this, t, e, 0), c = !xa(t) || t !== this._$AH && t !== Hs, c && (this._$AH = t);
1005
1005
  else {
1006
1006
  const d = t;
1007
1007
  let f, p;
1008
1008
  for (t = o[0], f = 0; f < o.length - 1; f++)
1009
- p = Nn(this, d[r + f], e, f), p === Gs && (p = this._$AH[f]), c || (c = !xa(p) || p !== this._$AH[f]), p === Er ? t = Er : t !== Er && (t += (p ?? "") + o[f + 1]), this._$AH[f] = p;
1009
+ p = Nn(this, d[r + f], e, f), p === Hs && (p = this._$AH[f]), c || (c = !xa(p) || p !== this._$AH[f]), p === Er ? t = Er : t !== Er && (t += (p ?? "") + o[f + 1]), this._$AH[f] = p;
1010
1010
  }
1011
1011
  c && !n && this.O(t);
1012
1012
  }
@@ -1035,7 +1035,7 @@ class ny extends ul {
1035
1035
  super(t, e, r, n, o), this.type = 5;
1036
1036
  }
1037
1037
  _$AI(t, e = this) {
1038
- if ((t = Nn(this, t, e, 0) ?? Er) === Gs)
1038
+ if ((t = Nn(this, t, e, 0) ?? Er) === Hs)
1039
1039
  return;
1040
1040
  const r = this._$AH, n = t === Er && r !== Er || t.capture !== r.capture || t.once !== r.once || t.passive !== r.passive, o = t !== Er && (r === Er || n);
1041
1041
  n && this.element.removeEventListener(this.name, this, r), o && this.element.addEventListener(this.name, this, t), this._$AH = t;
@@ -1094,7 +1094,7 @@ let us = class extends Dn {
1094
1094
  super.disconnectedCallback(), (t = this._$Do) == null || t.setConnected(!1);
1095
1095
  }
1096
1096
  render() {
1097
- return Gs;
1097
+ return Hs;
1098
1098
  }
1099
1099
  };
1100
1100
  var Cf;
@@ -1158,17 +1158,46 @@ function Tr(i) {
1158
1158
  * SPDX-License-Identifier: BSD-3-Clause
1159
1159
  */
1160
1160
  const hr = (i) => i ?? nr;
1161
+ let uo;
1162
+ const hy = new Uint8Array(16);
1163
+ function dy() {
1164
+ if (!uo && (uo = typeof crypto < "u" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto), !uo))
1165
+ throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
1166
+ return uo(hy);
1167
+ }
1168
+ const wr = [];
1169
+ for (let i = 0; i < 256; ++i)
1170
+ wr.push((i + 256).toString(16).slice(1));
1171
+ function uy(i, t = 0) {
1172
+ return wr[i[t + 0]] + wr[i[t + 1]] + wr[i[t + 2]] + wr[i[t + 3]] + "-" + wr[i[t + 4]] + wr[i[t + 5]] + "-" + wr[i[t + 6]] + wr[i[t + 7]] + "-" + wr[i[t + 8]] + wr[i[t + 9]] + "-" + wr[i[t + 10]] + wr[i[t + 11]] + wr[i[t + 12]] + wr[i[t + 13]] + wr[i[t + 14]] + wr[i[t + 15]];
1173
+ }
1174
+ const fy = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), ju = {
1175
+ randomUUID: fy
1176
+ };
1177
+ function $s(i, t, e) {
1178
+ if (ju.randomUUID && !t && !i)
1179
+ return ju.randomUUID();
1180
+ i = i || {};
1181
+ const r = i.random || (i.rng || dy)();
1182
+ if (r[6] = r[6] & 15 | 64, r[8] = r[8] & 63 | 128, t) {
1183
+ e = e || 0;
1184
+ for (let n = 0; n < 16; ++n)
1185
+ t[e + n] = r[n];
1186
+ return t;
1187
+ }
1188
+ return uy(r);
1189
+ }
1161
1190
  /**
1162
1191
  * @license
1163
1192
  * Copyright 2020 Google LLC
1164
1193
  * SPDX-License-Identifier: BSD-3-Clause
1165
1194
  */
1166
- const { D: hy } = Vv, dy = (i) => i.strings === void 0, ju = () => document.createComment(""), na = (i, t, e) => {
1195
+ const { D: py } = Vv, gy = (i) => i.strings === void 0, Ku = () => document.createComment(""), na = (i, t, e) => {
1167
1196
  var o;
1168
1197
  const r = i._$AA.parentNode, n = t === void 0 ? i._$AB : t._$AA;
1169
1198
  if (e === void 0) {
1170
- const c = r.insertBefore(ju(), n), d = r.insertBefore(ju(), n);
1171
- e = new hy(c, d, i, i.options);
1199
+ const c = r.insertBefore(Ku(), n), d = r.insertBefore(Ku(), n);
1200
+ e = new py(c, d, i, i.options);
1172
1201
  } else {
1173
1202
  const c = e._$AB.nextSibling, d = e._$AM, f = d !== i;
1174
1203
  if (f) {
@@ -1184,7 +1213,7 @@ const { D: hy } = Vv, dy = (i) => i.strings === void 0, ju = () => document.crea
1184
1213
  }
1185
1214
  }
1186
1215
  return e;
1187
- }, Qs = (i, t, e = i) => (i._$AI(t, e), i), uy = {}, fy = (i, t = uy) => i._$AH = t, py = (i) => i._$AH, sc = (i) => {
1216
+ }, Js = (i, t, e = i) => (i._$AI(t, e), i), my = {}, vy = (i, t = my) => i._$AH = t, yy = (i) => i._$AH, sc = (i) => {
1188
1217
  var r;
1189
1218
  (r = i._$AP) == null || r.call(i, !1, !0);
1190
1219
  let t = i._$AA;
@@ -1243,13 +1272,13 @@ const Ea = (i, t) => {
1243
1272
  t._$AN = e = /* @__PURE__ */ new Set();
1244
1273
  else if (e.has(i))
1245
1274
  break;
1246
- e.add(i), vy(t);
1275
+ e.add(i), Ay(t);
1247
1276
  }
1248
1277
  };
1249
- function gy(i) {
1278
+ function by(i) {
1250
1279
  this._$AN !== void 0 ? (Ko(this), this._$AM = i, qf(this)) : this._$AM = i;
1251
1280
  }
1252
- function my(i, t = !1, e = 0) {
1281
+ function Ey(i, t = !1, e = 0) {
1253
1282
  const r = this._$AH, n = this._$AN;
1254
1283
  if (n !== void 0 && n.size !== 0)
1255
1284
  if (t)
@@ -1261,8 +1290,8 @@ function my(i, t = !1, e = 0) {
1261
1290
  else
1262
1291
  Ea(this, i);
1263
1292
  }
1264
- const vy = (i) => {
1265
- i.type == Vn.CHILD && (i._$AP ?? (i._$AP = my), i._$AQ ?? (i._$AQ = gy));
1293
+ const Ay = (i) => {
1294
+ i.type == Vn.CHILD && (i._$AP ?? (i._$AP = Ey), i._$AQ ?? (i._$AQ = by));
1266
1295
  };
1267
1296
  let Qf = class extends Wa {
1268
1297
  constructor() {
@@ -1276,7 +1305,7 @@ let Qf = class extends Wa {
1276
1305
  t !== this.isConnected && (this.isConnected = t, t ? (r = this.reconnected) == null || r.call(this) : (n = this.disconnected) == null || n.call(this)), e && (Ea(this, t), Ko(this));
1277
1306
  }
1278
1307
  setValue(t) {
1279
- if (dy(this._$Ct))
1308
+ if (gy(this._$Ct))
1280
1309
  this._$Ct._$AI(t, this);
1281
1310
  else {
1282
1311
  const e = [...this._$Ct._$AH];
@@ -1293,8 +1322,8 @@ let Qf = class extends Wa {
1293
1322
  * Copyright 2020 Google LLC
1294
1323
  * SPDX-License-Identifier: BSD-3-Clause
1295
1324
  */
1296
- const Rr = () => new yy();
1297
- let yy = class {
1325
+ const Rr = () => new Ty();
1326
+ let Ty = class {
1298
1327
  };
1299
1328
  const nc = /* @__PURE__ */ new WeakMap(), _r = Wn(class extends Qf {
1300
1329
  render(i) {
@@ -1324,7 +1353,7 @@ const nc = /* @__PURE__ */ new WeakMap(), _r = Wn(class extends Qf {
1324
1353
  this.ot(this.lt);
1325
1354
  }
1326
1355
  });
1327
- function by(i, t, e) {
1356
+ function ky(i, t, e) {
1328
1357
  function r(n) {
1329
1358
  e.dispatchEvent(new CustomEvent(n.type, n));
1330
1359
  }
@@ -1332,7 +1361,7 @@ function by(i, t, e) {
1332
1361
  t.removeEventListener(i, r);
1333
1362
  };
1334
1363
  }
1335
- class Ey {
1364
+ class wy {
1336
1365
  constructor(t, e) {
1337
1366
  this._events = [], this._cleanup = [], this._forwardElementRef = Rr(), this.host = t, this._events = e, t.addController(this);
1338
1367
  }
@@ -1342,7 +1371,7 @@ class Ey {
1342
1371
  hostConnected() {
1343
1372
  requestAnimationFrame(() => {
1344
1373
  this._events.forEach((t) => {
1345
- this._forwardElementRef.value && this._cleanup.push(by(t, this._forwardElementRef.value, this.host));
1374
+ this._forwardElementRef.value && this._cleanup.push(ky(t, this._forwardElementRef.value, this.host));
1346
1375
  });
1347
1376
  });
1348
1377
  }
@@ -1357,8 +1386,8 @@ class Ey {
1357
1386
  * Copyright 2019 Google LLC
1358
1387
  * SPDX-License-Identifier: BSD-3-Clause
1359
1388
  */
1360
- const Io = globalThis, Th = Io.ShadowRoot && (Io.ShadyCSS === void 0 || Io.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Jf = Symbol(), Ku = /* @__PURE__ */ new WeakMap();
1361
- let Ay = class {
1389
+ const Io = globalThis, Th = Io.ShadowRoot && (Io.ShadyCSS === void 0 || Io.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Jf = Symbol(), zu = /* @__PURE__ */ new WeakMap();
1390
+ let Sy = class {
1362
1391
  constructor(t, e, r) {
1363
1392
  if (this._$cssResult$ = !0, r !== Jf)
1364
1393
  throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
@@ -1369,7 +1398,7 @@ let Ay = class {
1369
1398
  const e = this.t;
1370
1399
  if (Th && t === void 0) {
1371
1400
  const r = e !== void 0 && e.length === 1;
1372
- r && (t = Ku.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), r && Ku.set(e, t));
1401
+ r && (t = zu.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), r && zu.set(e, t));
1373
1402
  }
1374
1403
  return t;
1375
1404
  }
@@ -1377,7 +1406,7 @@ let Ay = class {
1377
1406
  return this.cssText;
1378
1407
  }
1379
1408
  };
1380
- const Ty = (i) => new Ay(typeof i == "string" ? i : i + "", void 0, Jf), ky = (i, t) => {
1409
+ const Ry = (i) => new Sy(typeof i == "string" ? i : i + "", void 0, Jf), _y = (i, t) => {
1381
1410
  if (Th)
1382
1411
  i.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
1383
1412
  else
@@ -1385,21 +1414,21 @@ const Ty = (i) => new Ay(typeof i == "string" ? i : i + "", void 0, Jf), ky = (i
1385
1414
  const r = document.createElement("style"), n = Io.litNonce;
1386
1415
  n !== void 0 && r.setAttribute("nonce", n), r.textContent = e.cssText, i.appendChild(r);
1387
1416
  }
1388
- }, zu = Th ? (i) => i : (i) => i instanceof CSSStyleSheet ? ((t) => {
1417
+ }, Yu = Th ? (i) => i : (i) => i instanceof CSSStyleSheet ? ((t) => {
1389
1418
  let e = "";
1390
1419
  for (const r of t.cssRules)
1391
1420
  e += r.cssText;
1392
- return Ty(e);
1421
+ return Ry(e);
1393
1422
  })(i) : i;
1394
1423
  /**
1395
1424
  * @license
1396
1425
  * Copyright 2017 Google LLC
1397
1426
  * SPDX-License-Identifier: BSD-3-Clause
1398
1427
  */
1399
- const { is: wy, defineProperty: Sy, getOwnPropertyDescriptor: Ry, getOwnPropertyNames: _y, getOwnPropertySymbols: Ly, getPrototypeOf: Cy } = Object, Fs = globalThis, Yu = Fs.trustedTypes, Iy = Yu ? Yu.emptyScript : "", ac = Fs.reactiveElementPolyfillSupport, Aa = (i, t) => i, Uc = { toAttribute(i, t) {
1428
+ const { is: Ly, defineProperty: Cy, getOwnPropertyDescriptor: Iy, getOwnPropertyNames: xy, getOwnPropertySymbols: Dy, getPrototypeOf: Py } = Object, Us = globalThis, Xu = Us.trustedTypes, Oy = Xu ? Xu.emptyScript : "", ac = Us.reactiveElementPolyfillSupport, Aa = (i, t) => i, Uc = { toAttribute(i, t) {
1400
1429
  switch (t) {
1401
1430
  case Boolean:
1402
- i = i ? Iy : null;
1431
+ i = i ? Oy : null;
1403
1432
  break;
1404
1433
  case Object:
1405
1434
  case Array:
@@ -1424,8 +1453,8 @@ const { is: wy, defineProperty: Sy, getOwnPropertyDescriptor: Ry, getOwnProperty
1424
1453
  }
1425
1454
  }
1426
1455
  return e;
1427
- } }, kh = (i, t) => !wy(i, t), Xu = { attribute: !0, type: String, converter: Uc, reflect: !1, hasChanged: kh };
1428
- Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), Fs.litPropertyMetadata ?? (Fs.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
1456
+ } }, kh = (i, t) => !Ly(i, t), Zu = { attribute: !0, type: String, converter: Uc, reflect: !1, hasChanged: kh };
1457
+ Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), Us.litPropertyMetadata ?? (Us.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
1429
1458
  class aa extends HTMLElement {
1430
1459
  static addInitializer(t) {
1431
1460
  this._$Ei(), (this.l ?? (this.l = [])).push(t);
@@ -1433,14 +1462,14 @@ class aa extends HTMLElement {
1433
1462
  static get observedAttributes() {
1434
1463
  return this.finalize(), this._$Eh && [...this._$Eh.keys()];
1435
1464
  }
1436
- static createProperty(t, e = Xu) {
1465
+ static createProperty(t, e = Zu) {
1437
1466
  if (e.state && (e.attribute = !1), this._$Ei(), this.elementProperties.set(t, e), !e.noAccessor) {
1438
1467
  const r = Symbol(), n = this.getPropertyDescriptor(t, r, e);
1439
- n !== void 0 && Sy(this.prototype, t, n);
1468
+ n !== void 0 && Cy(this.prototype, t, n);
1440
1469
  }
1441
1470
  }
1442
1471
  static getPropertyDescriptor(t, e, r) {
1443
- const { get: n, set: o } = Ry(this.prototype, t) ?? { get() {
1472
+ const { get: n, set: o } = Iy(this.prototype, t) ?? { get() {
1444
1473
  return this[e];
1445
1474
  }, set(c) {
1446
1475
  this[e] = c;
@@ -1453,19 +1482,19 @@ class aa extends HTMLElement {
1453
1482
  }, configurable: !0, enumerable: !0 };
1454
1483
  }
1455
1484
  static getPropertyOptions(t) {
1456
- return this.elementProperties.get(t) ?? Xu;
1485
+ return this.elementProperties.get(t) ?? Zu;
1457
1486
  }
1458
1487
  static _$Ei() {
1459
1488
  if (this.hasOwnProperty(Aa("elementProperties")))
1460
1489
  return;
1461
- const t = Cy(this);
1490
+ const t = Py(this);
1462
1491
  t.finalize(), t.l !== void 0 && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
1463
1492
  }
1464
1493
  static finalize() {
1465
1494
  if (this.hasOwnProperty(Aa("finalized")))
1466
1495
  return;
1467
1496
  if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(Aa("properties"))) {
1468
- const e = this.properties, r = [..._y(e), ...Ly(e)];
1497
+ const e = this.properties, r = [...xy(e), ...Dy(e)];
1469
1498
  for (const n of r)
1470
1499
  this.createProperty(n, e[n]);
1471
1500
  }
@@ -1488,9 +1517,9 @@ class aa extends HTMLElement {
1488
1517
  if (Array.isArray(t)) {
1489
1518
  const r = new Set(t.flat(1 / 0).reverse());
1490
1519
  for (const n of r)
1491
- e.unshift(zu(n));
1520
+ e.unshift(Yu(n));
1492
1521
  } else
1493
- t !== void 0 && e.push(zu(t));
1522
+ t !== void 0 && e.push(Yu(t));
1494
1523
  return e;
1495
1524
  }
1496
1525
  static _$Eu(t, e) {
@@ -1520,7 +1549,7 @@ class aa extends HTMLElement {
1520
1549
  }
1521
1550
  createRenderRoot() {
1522
1551
  const t = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
1523
- return ky(t, this.constructor.elementStyles), t;
1552
+ return _y(t, this.constructor.elementStyles), t;
1524
1553
  }
1525
1554
  connectedCallback() {
1526
1555
  var t;
@@ -1637,13 +1666,13 @@ class aa extends HTMLElement {
1637
1666
  firstUpdated(t) {
1638
1667
  }
1639
1668
  }
1640
- aa.elementStyles = [], aa.shadowRootOptions = { mode: "open" }, aa[Aa("elementProperties")] = /* @__PURE__ */ new Map(), aa[Aa("finalized")] = /* @__PURE__ */ new Map(), ac == null || ac({ ReactiveElement: aa }), (Fs.reactiveElementVersions ?? (Fs.reactiveElementVersions = [])).push("2.0.0");
1669
+ aa.elementStyles = [], aa.shadowRootOptions = { mode: "open" }, aa[Aa("elementProperties")] = /* @__PURE__ */ new Map(), aa[Aa("finalized")] = /* @__PURE__ */ new Map(), ac == null || ac({ ReactiveElement: aa }), (Us.reactiveElementVersions ?? (Us.reactiveElementVersions = [])).push("2.0.0");
1641
1670
  /**
1642
1671
  * @license
1643
1672
  * Copyright 2017 Google LLC
1644
1673
  * SPDX-License-Identifier: BSD-3-Clause
1645
1674
  */
1646
- const xy = Symbol();
1675
+ const $y = Symbol();
1647
1676
  class zo {
1648
1677
  get taskComplete() {
1649
1678
  return this.t || (this.status === 1 ? this.t = new Promise((t, e) => {
@@ -1654,7 +1683,7 @@ class zo {
1654
1683
  var o;
1655
1684
  this.u = 0, this.status = 0, (this.p = t).addController(this);
1656
1685
  const n = typeof e == "object" ? e : { task: e, args: r };
1657
- this._ = n.task, this.v = n.args, this.j = n.argsEqual ?? Dy, this.m = n.onComplete, this.g = n.onError, this.autoRun = n.autoRun ?? !0, "initialValue" in n && (this.l = n.initialValue, this.status = 2, this.k = (o = this.A) == null ? void 0 : o.call(this));
1686
+ this._ = n.task, this.v = n.args, this.j = n.argsEqual ?? My, this.m = n.onComplete, this.g = n.onError, this.autoRun = n.autoRun ?? !0, "initialValue" in n && (this.l = n.initialValue, this.status = 2, this.k = (o = this.A) == null ? void 0 : o.call(this));
1658
1687
  }
1659
1688
  hostUpdate() {
1660
1689
  this.autoRun === !0 && this.O();
@@ -1687,7 +1716,7 @@ class zo {
1687
1716
  o = !0, r = y;
1688
1717
  }
1689
1718
  if (this.u === n) {
1690
- if (e === xy)
1719
+ if (e === $y)
1691
1720
  this.status = 0;
1692
1721
  else {
1693
1722
  if (o === !1) {
@@ -1734,37 +1763,7 @@ class zo {
1734
1763
  }
1735
1764
  }
1736
1765
  }
1737
- const Dy = (i, t) => i === t || i.length === t.length && i.every((e, r) => !kh(e, t[r]));
1738
- let uo;
1739
- const Py = new Uint8Array(16);
1740
- function Oy() {
1741
- if (!uo && (uo = typeof crypto < "u" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto), !uo))
1742
- throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
1743
- return uo(Py);
1744
- }
1745
- const wr = [];
1746
- for (let i = 0; i < 256; ++i)
1747
- wr.push((i + 256).toString(16).slice(1));
1748
- function $y(i, t = 0) {
1749
- return wr[i[t + 0]] + wr[i[t + 1]] + wr[i[t + 2]] + wr[i[t + 3]] + "-" + wr[i[t + 4]] + wr[i[t + 5]] + "-" + wr[i[t + 6]] + wr[i[t + 7]] + "-" + wr[i[t + 8]] + wr[i[t + 9]] + "-" + wr[i[t + 10]] + wr[i[t + 11]] + wr[i[t + 12]] + wr[i[t + 13]] + wr[i[t + 14]] + wr[i[t + 15]];
1750
- }
1751
- const My = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), Zu = {
1752
- randomUUID: My
1753
- };
1754
- function on(i, t, e) {
1755
- if (Zu.randomUUID && !t && !i)
1756
- return Zu.randomUUID();
1757
- i = i || {};
1758
- const r = i.random || (i.rng || Oy)();
1759
- if (r[6] = r[6] & 15 | 64, r[8] = r[8] & 63 | 128, t) {
1760
- e = e || 0;
1761
- for (let n = 0; n < 16; ++n)
1762
- t[e + n] = r[n];
1763
- return t;
1764
- }
1765
- return $y(r);
1766
- }
1767
- const qu = "https://d2rxhdlm2q91uk.cloudfront.net", Ny = "https://d1ix11aj5kfygl.cloudfront.net", Fy = "https://d157jlwnudd93d.cloudfront.net", Qu = "https://bshyfw4h5a.execute-api.ap-southeast-2.amazonaws.com/dev", Uy = "https://gyzw7rpbq3.execute-api.ap-southeast-2.amazonaws.com/staging", By = "https://vfcjuim1l3.execute-api.ap-southeast-2.amazonaws.com/prod", Gy = "http://localhost:6060/v2", Hy = "https://embed-dev.vouchfor.com/v2", Vy = "https://embed-staging.vouchfor.com/v2", Wy = "https://embed.vouchfor.com/v2";
1766
+ const My = (i, t) => i === t || i.length === t.length && i.every((e, r) => !kh(e, t[r])), qu = "https://d2rxhdlm2q91uk.cloudfront.net", Ny = "https://d1ix11aj5kfygl.cloudfront.net", Fy = "https://d157jlwnudd93d.cloudfront.net", Qu = "https://bshyfw4h5a.execute-api.ap-southeast-2.amazonaws.com/dev", Uy = "https://gyzw7rpbq3.execute-api.ap-southeast-2.amazonaws.com/staging", By = "https://vfcjuim1l3.execute-api.ap-southeast-2.amazonaws.com/prod", Gy = "http://localhost:6060/v2", Hy = "https://embed-dev.vouchfor.com/v2", Vy = "https://embed-staging.vouchfor.com/v2", Wy = "https://embed.vouchfor.com/v2";
1768
1767
  function Yo(i) {
1769
1768
  if (!["local", "dev", "staging", "prod"].includes(i))
1770
1769
  throw new Error(`Unknown environment: ${i}`);
@@ -1797,7 +1796,7 @@ class jy {
1797
1796
  constructor(t) {
1798
1797
  this._fetching = !1, this.getVouch = async (e, r, n) => {
1799
1798
  var g;
1800
- const { embedApiUrl: o } = Yo(e), c = on(), d = await fetch(`${o}/vouches/${n}`, {
1799
+ const { embedApiUrl: o } = Yo(e), c = $s(), d = await fetch(`${o}/vouches/${n}`, {
1801
1800
  method: "GET",
1802
1801
  headers: [
1803
1802
  ["X-Api-Key", r],
@@ -1813,7 +1812,7 @@ class jy {
1813
1812
  }), f;
1814
1813
  }, this.getTemplate = async (e, r, n) => {
1815
1814
  var g;
1816
- const { embedApiUrl: o } = Yo(e), c = on(), d = await fetch(`${o}/templates/${n}`, {
1815
+ const { embedApiUrl: o } = Yo(e), c = $s(), d = await fetch(`${o}/templates/${n}`, {
1817
1816
  method: "GET",
1818
1817
  headers: [
1819
1818
  ["X-Api-Key", r],
@@ -1890,7 +1889,7 @@ function Jy(i, t, { ignoreNonConfigurable: e = !1 } = {}) {
1890
1889
  return Yy(i, t), Qy(i, t, r), i;
1891
1890
  }
1892
1891
  const tb = /* @__PURE__ */ new WeakMap();
1893
- function Us(i, { cacheKey: t = ([r]) => r, cache: e = /* @__PURE__ */ new Map() } = {}) {
1892
+ function Bs(i, { cacheKey: t = ([r]) => r, cache: e = /* @__PURE__ */ new Map() } = {}) {
1894
1893
  const r = /* @__PURE__ */ new Map(), n = function(...o) {
1895
1894
  const c = t(o);
1896
1895
  if (r.has(c))
@@ -2893,14 +2892,14 @@ let Po = /* @__PURE__ */ function(i) {
2893
2892
  return i[i.Column = 0] = "Column", i[i.Row = 1] = "Row", i[i.All = 2] = "All", i;
2894
2893
  }({});
2895
2894
  ce.Gutter = Po;
2896
- let tn = /* @__PURE__ */ function(i) {
2895
+ let en = /* @__PURE__ */ function(i) {
2897
2896
  return i[i.FlexStart = 0] = "FlexStart", i[i.Center = 1] = "Center", i[i.FlexEnd = 2] = "FlexEnd", i[i.SpaceBetween = 3] = "SpaceBetween", i[i.SpaceAround = 4] = "SpaceAround", i[i.SpaceEvenly = 5] = "SpaceEvenly", i;
2898
2897
  }({});
2899
- ce.Justify = tn;
2900
- let en = /* @__PURE__ */ function(i) {
2898
+ ce.Justify = en;
2899
+ let rn = /* @__PURE__ */ function(i) {
2901
2900
  return i[i.Error = 0] = "Error", i[i.Warn = 1] = "Warn", i[i.Info = 2] = "Info", i[i.Debug = 3] = "Debug", i[i.Verbose = 4] = "Verbose", i[i.Fatal = 5] = "Fatal", i;
2902
2901
  }({});
2903
- ce.LogLevel = en;
2902
+ ce.LogLevel = rn;
2904
2903
  let Oo = /* @__PURE__ */ function(i) {
2905
2904
  return i[i.Undefined = 0] = "Undefined", i[i.Exactly = 1] = "Exactly", i[i.AtMost = 2] = "AtMost", i;
2906
2905
  }({});
@@ -2968,18 +2967,18 @@ const mb = {
2968
2967
  GUTTER_COLUMN: Po.Column,
2969
2968
  GUTTER_ROW: Po.Row,
2970
2969
  GUTTER_ALL: Po.All,
2971
- JUSTIFY_FLEX_START: tn.FlexStart,
2972
- JUSTIFY_CENTER: tn.Center,
2973
- JUSTIFY_FLEX_END: tn.FlexEnd,
2974
- JUSTIFY_SPACE_BETWEEN: tn.SpaceBetween,
2975
- JUSTIFY_SPACE_AROUND: tn.SpaceAround,
2976
- JUSTIFY_SPACE_EVENLY: tn.SpaceEvenly,
2977
- LOG_LEVEL_ERROR: en.Error,
2978
- LOG_LEVEL_WARN: en.Warn,
2979
- LOG_LEVEL_INFO: en.Info,
2980
- LOG_LEVEL_DEBUG: en.Debug,
2981
- LOG_LEVEL_VERBOSE: en.Verbose,
2982
- LOG_LEVEL_FATAL: en.Fatal,
2970
+ JUSTIFY_FLEX_START: en.FlexStart,
2971
+ JUSTIFY_CENTER: en.Center,
2972
+ JUSTIFY_FLEX_END: en.FlexEnd,
2973
+ JUSTIFY_SPACE_BETWEEN: en.SpaceBetween,
2974
+ JUSTIFY_SPACE_AROUND: en.SpaceAround,
2975
+ JUSTIFY_SPACE_EVENLY: en.SpaceEvenly,
2976
+ LOG_LEVEL_ERROR: rn.Error,
2977
+ LOG_LEVEL_WARN: rn.Warn,
2978
+ LOG_LEVEL_INFO: rn.Info,
2979
+ LOG_LEVEL_DEBUG: rn.Debug,
2980
+ LOG_LEVEL_VERBOSE: rn.Verbose,
2981
+ LOG_LEVEL_FATAL: rn.Fatal,
2983
2982
  MEASURE_MODE_UNDEFINED: Oo.Undefined,
2984
2983
  MEASURE_MODE_EXACTLY: Oo.Exactly,
2985
2984
  MEASURE_MODE_AT_MOST: Oo.AtMost,
@@ -3625,7 +3624,7 @@ var rp = { exports: {} };
3625
3624
  break o;
3626
3625
  l[$ + 356 >> 2] = 1, I[$ + 24 >> 2] = m(Ze - le) * h;
3627
3626
  }
3628
- if (Tn(Vt, 2, Et, Et, $ + 356 | 0, $ + 24 | 0), Tn(Vt, 0, Ze, Et, $ + 352 | 0, $ + 360 | 0), Ks(Vt, I[$ + 24 >> 2], I[$ + 360 >> 2], Hr, l[$ + 356 >> 2], l[$ + 352 >> 2], Et, Ze, 0, 5, K, tt, dt, Q), a = I[(Vt + (l[(mt << 2) + 4320 >> 2] << 2) | 0) + 516 >> 2], u = a != a, h = m(m($e(Vt, mt, Et) + me(Vt, mt)) + m(Me(Vt, mt, Et) + we(Vt, mt))), !(u | h != h)) {
3627
+ if (Tn(Vt, 2, Et, Et, $ + 356 | 0, $ + 24 | 0), Tn(Vt, 0, Ze, Et, $ + 352 | 0, $ + 360 | 0), zs(Vt, I[$ + 24 >> 2], I[$ + 360 >> 2], Hr, l[$ + 356 >> 2], l[$ + 352 >> 2], Et, Ze, 0, 5, K, tt, dt, Q), a = I[(Vt + (l[(mt << 2) + 4320 >> 2] << 2) | 0) + 516 >> 2], u = a != a, h = m(m($e(Vt, mt, Et) + me(Vt, mt)) + m(Me(Vt, mt, Et) + we(Vt, mt))), !(u | h != h)) {
3629
3628
  h = ue(a, h);
3630
3629
  break a;
3631
3630
  }
@@ -3994,7 +3993,7 @@ var rp = { exports: {} };
3994
3993
  if (Gi | (!(a < m(0)) | ((b | 0) != 2 | h != h)))
3995
3994
  break s;
3996
3995
  }
3997
- if (b = l[u + 24 >> 2] >>> 13 & 7, b || (b = l[s + 24 >> 2] >>> 10 & 7), (b | 0) != 4 || (Ys($ + 24 | 0, u, et), l[$ + 28 >> 2] == 3) || (zs($ + 360 | 0, u, et), l[$ + 364 >> 2] == 3))
3996
+ if (b = l[u + 24 >> 2] >>> 13 & 7, b || (b = l[s + 24 >> 2] >>> 10 & 7), (b | 0) != 4 || (Xs($ + 24 | 0, u, et), l[$ + 28 >> 2] == 3) || (Ys($ + 360 | 0, u, et), l[$ + 364 >> 2] == 3))
3998
3997
  break s;
3999
3998
  l[$ + 348 >> 2] = 1, I[$ + 356 >> 2] = Ne;
4000
3999
  break e;
@@ -4068,14 +4067,14 @@ var rp = { exports: {} };
4068
4067
  if (Zt = 0, is)
4069
4068
  break e;
4070
4069
  }
4071
- if (Zt = 0, b = l[u + 24 >> 2] >>> 13 & 7, b || (b = l[s + 24 >> 2] >>> 10 & 7), (b | 0) != 4 || (Ys($ + 24 | 0, u, et), l[$ + 28 >> 2] == 3))
4070
+ if (Zt = 0, b = l[u + 24 >> 2] >>> 13 & 7, b || (b = l[s + 24 >> 2] >>> 10 & 7), (b | 0) != 4 || (Xs($ + 24 | 0, u, et), l[$ + 28 >> 2] == 3))
4072
4071
  break e;
4073
- zs($ + 360 | 0, u, et), Zt = l[$ + 364 >> 2] != 3;
4072
+ Ys($ + 360 | 0, u, et), Zt = l[$ + 364 >> 2] != 3;
4074
4073
  break e;
4075
4074
  }
4076
4075
  Zt = 0;
4077
4076
  }
4078
- a = I[$ + 352 >> 2], h = I[$ + 356 >> 2], b = Ct >>> 0 > 1, xe = b ? a : h, a = b ? h : a, Ls = l[$ + 344 >> 2], Zl = l[$ + 348 >> 2], wu = b ? Ls : Zl, Ls = b ? Zl : Ls, b = (Zt ^ 1) & D, Ks(u, xe, a, At[s + 300 | 0] & 3, wu, Ls, Et, Ze, b, b ? 4 : 7, K, tt, dt, Q), ot = m(ot + m(W - Ft)), b = At[s + 300 | 0];
4077
+ a = I[$ + 352 >> 2], h = I[$ + 356 >> 2], b = Ct >>> 0 > 1, xe = b ? a : h, a = b ? h : a, Ls = l[$ + 344 >> 2], Zl = l[$ + 348 >> 2], wu = b ? Ls : Zl, Ls = b ? Zl : Ls, b = (Zt ^ 1) & D, zs(u, xe, a, At[s + 300 | 0] & 3, wu, Ls, Et, Ze, b, b ? 4 : 7, K, tt, dt, Q), ot = m(ot + m(W - Ft)), b = At[s + 300 | 0];
4079
4078
  e: {
4080
4079
  s: {
4081
4080
  if (b & 4) {
@@ -4160,7 +4159,7 @@ var rp = { exports: {} };
4160
4159
  for (ir = l[s + 556 >> 2], u = l[s + 560 >> 2] - ir >> 2, Pr = u >>> 0 < nt >>> 0 ? nt : u, Mt = 0, u = nt; ; ) {
4161
4160
  if ((u | 0) == (Pr | 0))
4162
4161
  break i;
4163
- if (b = l[ir + (u << 2) >> 2], (l[b + 24 >> 2] & 196608) != 131072 && (Gi = $ + 24 | 0, Ys(Gi, b, Ct), ea = l[$ + 28 >> 2], zs(Gi, b, Ct), Mt = (((ea | 0) == 3) + Mt | 0) + (l[$ + 28 >> 2] == 3) | 0), u = u + 1 | 0, (Y | 0) == (u | 0))
4162
+ if (b = l[ir + (u << 2) >> 2], (l[b + 24 >> 2] & 196608) != 131072 && (Gi = $ + 24 | 0, Xs(Gi, b, Ct), ea = l[$ + 28 >> 2], Ys(Gi, b, Ct), Mt = (((ea | 0) == 3) + Mt | 0) + (l[$ + 28 >> 2] == 3) | 0), u = u + 1 | 0, (Y | 0) == (u | 0))
4164
4163
  break;
4165
4164
  }
4166
4165
  if (xe = m(0), h = Ft, Mt)
@@ -4209,7 +4208,7 @@ var rp = { exports: {} };
4209
4208
  ot = Ts(b, Ct, ve), yr = me(s, Ct), ho = pe(b, Ct, Et), I[mt + (l[Li >> 2] << 2) >> 2] = ho + m(ot + yr);
4210
4209
  break r;
4211
4210
  }
4212
- if (Ys($ + 360 | 0, b, Ct), a = m(a + (l[$ + 364 >> 2] == 3 ? ta : m(-0))), D && (Mt = mt, mt = l[Li >> 2] << 2, I[Mt + mt >> 2] = a + I[mt + ($ + 24 | 0) >> 2]), zs($ + 360 | 0, b, Ct), a = m(a + (l[$ + 364 >> 2] == 3 ? ta : m(-0))), !Au) {
4211
+ if (Xs($ + 360 | 0, b, Ct), a = m(a + (l[$ + 364 >> 2] == 3 ? ta : m(-0))), D && (Mt = mt, mt = l[Li >> 2] << 2, I[Mt + mt >> 2] = a + I[mt + ($ + 24 | 0) >> 2]), Ys($ + 360 | 0, b, Ct), a = m(a + (l[$ + 364 >> 2] == 3 ? ta : m(-0))), !Au) {
4213
4212
  a = m(a + m(m(h + m(pe(b, Ct, Et) + ke(b, Ct, Et))) + I[$ + 104 >> 2])), q = Ne;
4214
4213
  break r;
4215
4214
  }
@@ -4291,7 +4290,7 @@ var rp = { exports: {} };
4291
4290
  b = l[s + 24 >> 2] & 8 ? 5 : 1;
4292
4291
  break s;
4293
4292
  }
4294
- if ((b | 0) != 4 || (Ys($ + 24 | 0, mt, et), b = 4, l[$ + 28 >> 2] == 3) || (zs($ + 360 | 0, mt, et), l[$ + 364 >> 2] == 3))
4293
+ if ((b | 0) != 4 || (Xs($ + 24 | 0, mt, et), b = 4, l[$ + 28 >> 2] == 3) || (Ys($ + 360 | 0, mt, et), l[$ + 364 >> 2] == 3))
4295
4294
  break s;
4296
4295
  b = mt + (l[Be >> 2] << 3) | 0, q = I[b + 572 >> 2];
4297
4296
  n: {
@@ -4311,19 +4310,19 @@ var rp = { exports: {} };
4311
4310
  if (h = We, is & !(q < m(0)) | ((u | 0) != 2 | Ft != Ft))
4312
4311
  break e;
4313
4312
  }
4314
- q = I[(mt + (l[Rs >> 2] << 2) | 0) + 516 >> 2], h = W, Ft = I[mt + 224 >> 2], Ft == Ft && (h = m(m(pe(mt, et, Et) + ke(mt, et, Et)) + m(Xr ? q * Ft : q / Ft))), I[$ + 360 >> 2] = h, qe = $, Qe = m(q + m(pe(mt, Ct, Et) + ke(mt, Ct, Et))), I[qe + 24 >> 2] = Qe, l[$ + 356 >> 2] = 1, l[$ + 352 >> 2] = 1, Tn(mt, Ct, ve, Et, $ + 356 | 0, $ + 24 | 0), Tn(mt, et, Ne, Et, $ + 352 | 0, $ + 360 | 0), q = I[$ + 360 >> 2], Ft = I[$ + 24 >> 2], u = Ct >>> 0 > 1, h = u ? q : Ft, q = u ? Ft : q, u = (Bi | 0) != 0 & (l[s + 24 >> 2] & 896) != 512, Ks(mt, q, h, Hr, !(u & Xr | q != q), (!u | Xr) & h == h, Et, Ze, 1, 2, K, tt, dt, Q), h = We;
4313
+ q = I[(mt + (l[Rs >> 2] << 2) | 0) + 516 >> 2], h = W, Ft = I[mt + 224 >> 2], Ft == Ft && (h = m(m(pe(mt, et, Et) + ke(mt, et, Et)) + m(Xr ? q * Ft : q / Ft))), I[$ + 360 >> 2] = h, qe = $, Qe = m(q + m(pe(mt, Ct, Et) + ke(mt, Ct, Et))), I[qe + 24 >> 2] = Qe, l[$ + 356 >> 2] = 1, l[$ + 352 >> 2] = 1, Tn(mt, Ct, ve, Et, $ + 356 | 0, $ + 24 | 0), Tn(mt, et, Ne, Et, $ + 352 | 0, $ + 360 | 0), q = I[$ + 360 >> 2], Ft = I[$ + 24 >> 2], u = Ct >>> 0 > 1, h = u ? q : Ft, q = u ? Ft : q, u = (Bi | 0) != 0 & (l[s + 24 >> 2] & 896) != 512, zs(mt, q, h, Hr, !(u & Xr | q != q), (!u | Xr) & h == h, Et, Ze, 1, 2, K, tt, dt, Q), h = We;
4315
4314
  break e;
4316
4315
  }
4317
- h = I[(mt + (l[Be >> 2] << 2) | 0) + 516 >> 2], q = pe(mt, et, Et), Ft = ke(mt, et, Et), Ys($ + 24 | 0, mt, et), q = m(ot - m(h + m(q + Ft)));
4316
+ h = I[(mt + (l[Be >> 2] << 2) | 0) + 516 >> 2], q = pe(mt, et, Et), Ft = ke(mt, et, Et), Xs($ + 24 | 0, mt, et), q = m(ot - m(h + m(q + Ft)));
4318
4317
  s: {
4319
- if (l[$ + 28 >> 2] != 3 || (zs($ + 360 | 0, mt, et), l[$ + 364 >> 2] != 3))
4318
+ if (l[$ + 28 >> 2] != 3 || (Ys($ + 360 | 0, mt, et), l[$ + 364 >> 2] != 3))
4320
4319
  break s;
4321
4320
  h = m(q * m(0.5)), h = m(We + (Qe = m(0), _n = ue(h, m(0)), qe = h != h, qe ? Qe : _n));
4322
4321
  break e;
4323
4322
  }
4324
- if (zs($ + 24 | 0, mt, et), h = We, l[$ + 28 >> 2] == 3)
4323
+ if (Ys($ + 24 | 0, mt, et), h = We, l[$ + 28 >> 2] == 3)
4325
4324
  break e;
4326
- if (Ys($ + 24 | 0, mt, et), l[$ + 28 >> 2] == 3) {
4325
+ if (Xs($ + 24 | 0, mt, et), l[$ + 28 >> 2] == 3) {
4327
4326
  h = m(We + (Qe = m(0), _n = ue(q, m(0)), qe = q != q, qe ? Qe : _n));
4328
4327
  break e;
4329
4328
  }
@@ -4525,7 +4524,7 @@ var rp = { exports: {} };
4525
4524
  if (Y)
4526
4525
  break e;
4527
4526
  }
4528
- Ks(nt, W, q, Hr, 1, 1, Et, Ze, 1, 3, K, tt, dt, Q);
4527
+ zs(nt, W, q, Hr, 1, 1, Et, Ze, 1, 3, K, tt, dt, Q);
4529
4528
  break e;
4530
4529
  }
4531
4530
  qe = nt, Qe = m(m(Ft - so(nt)) + Ts(nt, 0, Ne)), I[qe + 232 >> 2] = Qe;
@@ -4788,9 +4787,9 @@ var rp = { exports: {} };
4788
4787
  }
4789
4788
  u = 1;
4790
4789
  }
4791
- Zt = W > m(0), zr = u & Mt & Y >>> 0 < 2, h = zr && Zt ? W : h, u = u ^ 1, Ks(v, h, a, Hr, zr && Zt ? 2 : u, a == a, h, a, 0, 6, K, tt, dt, Q), h = m(I[v + 516 >> 2] + lu(v, 2, W)), a = m(I[v + 520 >> 2] + lu(v, 0, W));
4790
+ Zt = W > m(0), zr = u & Mt & Y >>> 0 < 2, h = zr && Zt ? W : h, u = u ^ 1, zs(v, h, a, Hr, zr && Zt ? 2 : u, a == a, h, a, 0, 6, K, tt, dt, Q), h = m(I[v + 516 >> 2] + lu(v, 2, W)), a = m(I[v + 520 >> 2] + lu(v, 0, W));
4792
4791
  }
4793
- Ks(v, h, a, Hr, 1, 1, h, a, 1, 1, K, tt, dt, Q);
4792
+ zs(v, h, a, Hr, 1, 1, h, a, 1, 1, K, tt, dt, Q);
4794
4793
  s: {
4795
4794
  n: {
4796
4795
  a: {
@@ -5784,7 +5783,7 @@ var rp = { exports: {} };
5784
5783
  }
5785
5784
  s = 2, b = v;
5786
5785
  }
5787
- Ks(k, dt, b, u, tt, s, S, K, 1, 0, l[k + 568 >> 2], Q + 8 | 0, 0, l[1755]) && (Nd(k, At[k + 300 | 0] & 3, S, K, S), Od(k, +I[l[k + 568 >> 2] + 20 >> 2], 0, 0)), St = Q - -64 | 0;
5786
+ zs(k, dt, b, u, tt, s, S, K, 1, 0, l[k + 568 >> 2], Q + 8 | 0, 0, l[1755]) && (Nd(k, At[k + 300 | 0] & 3, S, K, S), Od(k, +I[l[k + 568 >> 2] + 20 >> 2], 0, 0)), St = Q - -64 | 0;
5788
5787
  }
5789
5788
  function Wg(s, a) {
5790
5789
  s = s | 0, a = a | 0;
@@ -5989,7 +5988,7 @@ var rp = { exports: {} };
5989
5988
  }
5990
5989
  St = k + 32 | 0, Ot(0, a | 0), Ot(1, Q & -2147483648 | s), Y = $, q = +Ae(), He[Y >> 3] = q;
5991
5990
  }
5992
- function Ks(s, a, h, u, v, b, k, S, D, K, tt, dt, Q, et) {
5991
+ function zs(s, a, h, u, v, b, k, S, D, K, tt, dt, Q, et) {
5993
5992
  var $ = m(0), W = 0, Y = 0, q = 0, nt = 0, ot = m(0), mt = 0, Et = 0, Ct = m(0);
5994
5993
  t: {
5995
5994
  if (!(l[s + 312 >> 2] != (et | 0) && At[s + 4 | 0] & 4) && (nt = 0, l[s + 316 >> 2] == (u | 0)))
@@ -8665,7 +8664,7 @@ var rp = { exports: {} };
8665
8664
  }
8666
8665
  St = b + 256 | 0;
8667
8666
  }
8668
- function zs(s, a, h) {
8667
+ function Ys(s, a, h) {
8669
8668
  var u = 0, v = m(0);
8670
8669
  t: {
8671
8670
  if ((h & -2) == 2 && (u = a - -64 | 0, v = I[u >> 2], u = l[u >> 2], (u | 0) == 2139156720 | (u | 0) == 2140081935 | (u | 0) == 2141891242 | v == v))
@@ -8674,7 +8673,7 @@ var rp = { exports: {} };
8674
8673
  }
8675
8674
  Fd(s, u);
8676
8675
  }
8677
- function Ys(s, a, h) {
8676
+ function Xs(s, a, h) {
8678
8677
  var u = 0, v = m(0);
8679
8678
  t: {
8680
8679
  if ((h & -2) == 2 && (u = l[a + 60 >> 2], v = I[a + 60 >> 2], (u | 0) == 2139156720 | (u | 0) == 2140081935 | (u | 0) == 2141891242 | v == v))
@@ -8820,7 +8819,7 @@ var rp = { exports: {} };
8820
8819
  var u = 0;
8821
8820
  u = l[s >> 2], s = l[s + 4 >> 2], a = (s >> 1) + a | 0, s & 1 && (u = l[u + l[a >> 2] >> 2]), $t[u | 0](a, h);
8822
8821
  }
8823
- function Xs(s, a) {
8822
+ function Zs(s, a) {
8824
8823
  s = s | 0, a = a | 0;
8825
8824
  var h = 0;
8826
8825
  return h = l[s >> 2], s = l[s + 4 >> 2], a = (s >> 1) + a | 0, s & 1 && (h = l[h + l[a >> 2] >> 2]), $t[h | 0](a) | 0;
@@ -9259,7 +9258,7 @@ var rp = { exports: {} };
9259
9258
  Es(), fe();
9260
9259
  }
9261
9260
  V = At, Lt();
9262
- var $t = H([null, zm, Hg, jg, Ri, U1, _1, L1, Ri, Ri, Ri, Ri, Ri, Ri, Om, g1, kd, Tv, lo, gm, kv, Ri, Ri, lo, pu, hu, qd, e1, Jg, Zm, wv, lo, tu, Sv, Ri, Ri, lo, pu, hu, qd, r1, qm, Rv, nu, uu, $m, fu, nu, Bm, Xd, qg, jm, u1, ks, tv, ks, p1, a1, Zd, ev, Xs, uv, Xs, fv, Ev, Vl, n1, Vl, l1, Vl, Hl, Gl, O1, k1, _v, xd, uu, Av, J1, yv, fu, xd, Yg, tu, Wg, ks, Tm, ks, A1, Vm, T1, pv, gv, mv, Lm, Am, _m, m1, v1, w1, bm, Em, wm, Km, q1, Q1, vv, Sm, Rm, $1, M1, iv, N1, F1, sv, B1, G1, H1, V1, W1, Z1, j1, K1, km, mm, b1, E1, vm, rv, Xs, rm, Im, z1, C1, I1, Y1, x1, X1, im, fm, Dm, d1, Ym, Qm, nm, am, om, lm, cm, sm, c1, ym, Wm, D1, P1, em, pm, Hm, Kg, Xd, zg, ks, f1, Xs, h1, Xs, Um, Zd, S1, Xs, Cm, ks, Jm, ks, s1, Xm, ks, t1, xm, R1, Xs, Vg, Gm, nv, av, ov, lv, cv, hv, Mm, Nm, hm, dm, um, Hl, Gl, Hl, Gl, Dd, ru, Cv, Qg, gu, mu, eu, Lv, bv, gu, dv, Xg, Fm, Iv, y1, tm, mu]);
9261
+ var $t = H([null, zm, Hg, jg, Ri, U1, _1, L1, Ri, Ri, Ri, Ri, Ri, Ri, Om, g1, kd, Tv, lo, gm, kv, Ri, Ri, lo, pu, hu, qd, e1, Jg, Zm, wv, lo, tu, Sv, Ri, Ri, lo, pu, hu, qd, r1, qm, Rv, nu, uu, $m, fu, nu, Bm, Xd, qg, jm, u1, ks, tv, ks, p1, a1, Zd, ev, Zs, uv, Zs, fv, Ev, Vl, n1, Vl, l1, Vl, Hl, Gl, O1, k1, _v, xd, uu, Av, J1, yv, fu, xd, Yg, tu, Wg, ks, Tm, ks, A1, Vm, T1, pv, gv, mv, Lm, Am, _m, m1, v1, w1, bm, Em, wm, Km, q1, Q1, vv, Sm, Rm, $1, M1, iv, N1, F1, sv, B1, G1, H1, V1, W1, Z1, j1, K1, km, mm, b1, E1, vm, rv, Zs, rm, Im, z1, C1, I1, Y1, x1, X1, im, fm, Dm, d1, Ym, Qm, nm, am, om, lm, cm, sm, c1, ym, Wm, D1, P1, em, pm, Hm, Kg, Xd, zg, ks, f1, Zs, h1, Zs, Um, Zd, S1, Zs, Cm, ks, Jm, ks, s1, Xm, ks, t1, xm, R1, Zs, Vg, Gm, nv, av, ov, lv, cv, hv, Mm, Nm, hm, dm, um, Hl, Gl, Hl, Gl, Dd, ru, Cv, Qg, gu, mu, eu, Lv, bv, gu, dv, Xg, Fm, Iv, y1, tm, mu]);
9263
9262
  function vu() {
9264
9263
  return Fr.byteLength / 65536 | 0;
9265
9264
  }
@@ -10475,7 +10474,7 @@ const Ch = (i, t) => (e) => !!(ja(e) && wb.test(e) && e.startsWith(i) || t && Ob
10475
10474
  test: Ch("hsl", "hue"),
10476
10475
  parse: up("hue", "saturation", "lightness"),
10477
10476
  transform: ({ hue: i, saturation: t, lightness: e, alpha: r = 1 }) => "hsla(" + Math.round(i) + ", " + ka.transform(Ta(t)) + ", " + ka.transform(Ta(e)) + ", " + Ta(dp.transform(r)) + ")"
10478
- }, Rb = hp(0, 255), oc = Object.assign(Object.assign({}, pl), { transform: (i) => Math.round(Rb(i)) }), $s = {
10477
+ }, Rb = hp(0, 255), oc = Object.assign(Object.assign({}, pl), { transform: (i) => Math.round(Rb(i)) }), Ms = {
10479
10478
  test: Ch("rgb", "red"),
10480
10479
  parse: up("red", "green", "blue"),
10481
10480
  transform: ({ red: i, green: t, blue: e, alpha: r = 1 }) => "rgba(" + oc.transform(i) + ", " + oc.transform(t) + ", " + oc.transform(e) + ", " + Ta(dp.transform(r)) + ")"
@@ -10492,11 +10491,11 @@ function _b(i) {
10492
10491
  const zc = {
10493
10492
  test: Ch("#"),
10494
10493
  parse: _b,
10495
- transform: $s.transform
10494
+ transform: Ms.transform
10496
10495
  }, gl = {
10497
- test: (i) => $s.test(i) || zc.test(i) || ln.test(i),
10498
- parse: (i) => $s.test(i) ? $s.parse(i) : ln.test(i) ? ln.parse(i) : zc.parse(i),
10499
- transform: (i) => ja(i) ? i : i.hasOwnProperty("red") ? $s.transform(i) : ln.transform(i)
10496
+ test: (i) => Ms.test(i) || zc.test(i) || ln.test(i),
10497
+ parse: (i) => Ms.test(i) ? Ms.parse(i) : ln.test(i) ? ln.parse(i) : zc.parse(i),
10498
+ transform: (i) => ja(i) ? i : i.hasOwnProperty("red") ? Ms.transform(i) : ln.transform(i)
10500
10499
  }, fp = "${c}", pp = "${n}";
10501
10500
  function Lb(i) {
10502
10501
  var t, e, r, n;
@@ -10551,9 +10550,9 @@ function n0({ hue: i, saturation: t, lightness: e, alpha: r }) {
10551
10550
  const xb = (i, t, e) => {
10552
10551
  const r = i * i, n = t * t;
10553
10552
  return Math.sqrt(Math.max(0, e * (n - r) + r));
10554
- }, Db = [zc, $s, ln], a0 = (i) => Db.find((t) => t.test(i)), bp = (i, t) => {
10553
+ }, Db = [zc, Ms, ln], a0 = (i) => Db.find((t) => t.test(i)), bp = (i, t) => {
10555
10554
  let e = a0(i), r = a0(t), n = e.parse(i), o = r.parse(t);
10556
- e === ln && (n = n0(n), e = $s), r === ln && (o = n0(o), r = $s);
10555
+ e === ln && (n = n0(n), e = Ms), r === ln && (o = n0(o), r = Ms);
10557
10556
  const c = Object.assign({}, n);
10558
10557
  return (d) => {
10559
10558
  for (const f in c)
@@ -11276,12 +11275,12 @@ const h4 = {
11276
11275
  };
11277
11276
  async function u4() {
11278
11277
  if (typeof window > "u") {
11279
- const i = await import("./browser-1ef3ad7b.js").then((t) => t.b);
11278
+ const i = await import("./browser-d8ab928d.js").then((t) => t.b);
11280
11279
  return new i.Image();
11281
11280
  }
11282
11281
  return new Image();
11283
11282
  }
11284
- const l0 = Us(async function(i) {
11283
+ const l0 = Bs(async function(i) {
11285
11284
  return i ? new Promise((t, e) => {
11286
11285
  u4().then((r) => {
11287
11286
  r.onload = () => {
@@ -11337,7 +11336,7 @@ async function Xc({ element: i, meta: t }, e, r) {
11337
11336
  }
11338
11337
  async function po() {
11339
11338
  if (typeof window > "u") {
11340
- const i = await import("./browser-1ef3ad7b.js").then((e) => e.b), t = new i.Canvas();
11339
+ const i = await import("./browser-d8ab928d.js").then((e) => e.b), t = new i.Canvas();
11341
11340
  return t.gpu = !1, t;
11342
11341
  }
11343
11342
  return document.createElement("canvas");
@@ -11394,7 +11393,7 @@ function go(i) {
11394
11393
  Xo.filters.define("parse", (i) => typeof i > "u" ? null : typeof i == "string" ? `"${v4(i)}"` : m4(i) || Array.isArray(i) ? JSON.stringify(i) : i);
11395
11394
  Xo.helpers.define(
11396
11395
  "resolve-source",
11397
- Us(
11396
+ Bs(
11398
11397
  async (i) => {
11399
11398
  const { sources: t } = i.params[0] ?? {}, e = t == null ? void 0 : t.filter(Boolean), r = e == null ? void 0 : e.find((c) => c.includes("blob:")), n = e == null ? void 0 : e.find((c) => !c.includes("http")), o = r ?? n ?? await p4({ sources: t });
11400
11399
  return o ? `"${o}"` : "null";
@@ -11539,7 +11538,7 @@ async function On({ data: i, template: t, burnCaptions: e = !1, debug: r = !1 },
11539
11538
  duration: M
11540
11539
  };
11541
11540
  }
11542
- const Zc = "2", y4 = "@vouchfor/embeds", b4 = "1.2.0", E4 = "MIT", A4 = "Aaron Williams", T4 = "dist/es/embeds.js", k4 = "dist/es/embeds.js", w4 = "module", S4 = "dist/es/src/index.d.ts", R4 = {
11541
+ const Zc = "2", y4 = "@vouchfor/embeds", b4 = "1.2.2", E4 = "MIT", A4 = "Aaron Williams", T4 = "dist/es/embeds.js", k4 = "dist/es/embeds.js", w4 = "module", S4 = "dist/es/src/index.d.ts", R4 = {
11543
11542
  ".": "./dist/es/embeds.js"
11544
11543
  }, _4 = [
11545
11544
  "dist",
@@ -11626,7 +11625,7 @@ const Zc = "2", y4 = "@vouchfor/embeds", b4 = "1.2.0", E4 = "MIT", A4 = "Aaron W
11626
11625
  devDependencies: D4
11627
11626
  };
11628
11627
  function O4(i) {
11629
- const { publicApiUrl: t } = Yo(i), e = on();
11628
+ const { publicApiUrl: t } = Yo(i), e = $s();
11630
11629
  return navigator.sendBeacon(`${t}/api/visitor`, JSON.stringify({ visitorId: e })), e;
11631
11630
  }
11632
11631
  function $4(i) {
@@ -11635,11 +11634,11 @@ function $4(i) {
11635
11634
  return {
11636
11635
  client: null,
11637
11636
  tab: null,
11638
- request: on()
11637
+ request: $s()
11639
11638
  };
11640
11639
  let t = (c = (o = window.localStorage) == null ? void 0 : o.getItem) == null ? void 0 : c.call(o, "vouch-uid-visitor"), e = (f = (d = window.localStorage) == null ? void 0 : d.getItem) == null ? void 0 : f.call(d, "vouch-uid-client"), r = (g = (p = window.sessionStorage) == null ? void 0 : p.getItem) == null ? void 0 : g.call(p, "vouch-uid-tab");
11641
- const n = on();
11642
- return t || (t = O4(i), (E = (y = window.localStorage) == null ? void 0 : y.setItem) == null || E.call(y, "vouch-uid-visitor", t)), e || (e = on(), (T = (A = window.localStorage) == null ? void 0 : A.setItem) == null || T.call(A, "vouch-uid-client", e)), r || (r = on(), (C = (w = window.sessionStorage) == null ? void 0 : w.setItem) == null || C.call(w, "vouch-uid-tab", r)), {
11640
+ const n = $s();
11641
+ return t || (t = O4(i), (E = (y = window.localStorage) == null ? void 0 : y.setItem) == null || E.call(y, "vouch-uid-visitor", t)), e || (e = $s(), (T = (A = window.localStorage) == null ? void 0 : A.setItem) == null || T.call(A, "vouch-uid-client", e)), r || (r = $s(), (C = (w = window.sessionStorage) == null ? void 0 : w.setItem) == null || C.call(w, "vouch-uid-tab", r)), {
11643
11642
  client: e,
11644
11643
  tab: r,
11645
11644
  request: n,
@@ -11881,7 +11880,7 @@ const je = Wn(class extends Wa {
11881
11880
  const c = !!t[o];
11882
11881
  c === this.it.has(o) || (n = this.st) != null && n.has(o) || (c ? (e.add(o), this.it.add(o)) : (e.remove(o), this.it.delete(o)));
11883
11882
  }
11884
- return Bs;
11883
+ return Gs;
11885
11884
  }
11886
11885
  });
11887
11886
  /**
@@ -11915,7 +11914,7 @@ const Dp = "important", B4 = " !" + Dp, Ka = Wn(class extends Wa {
11915
11914
  r.includes("-") || o ? e.setProperty(r, o ? n.slice(0, -11) : n, o ? Dp : "") : e[r] = n;
11916
11915
  }
11917
11916
  }
11918
- return Bs;
11917
+ return Gs;
11919
11918
  }
11920
11919
  });
11921
11920
  var G4 = Pa;
@@ -12014,7 +12013,7 @@ const h0 = (i, t, e) => {
12014
12013
  return this.ht(i, t, e).values;
12015
12014
  }
12016
12015
  update(i, [t, e, r]) {
12017
- const n = py(i), { values: o, keys: c } = this.ht(t, e, r);
12016
+ const n = yy(i), { values: o, keys: c } = this.ht(t, e, r);
12018
12017
  if (!Array.isArray(n))
12019
12018
  return this.dt = c, o;
12020
12019
  const d = this.dt ?? (this.dt = []), f = [];
@@ -12025,21 +12024,21 @@ const h0 = (i, t, e) => {
12025
12024
  else if (n[E] === null)
12026
12025
  E--;
12027
12026
  else if (d[y] === c[A])
12028
- f[A] = Qs(n[y], o[A]), y++, A++;
12027
+ f[A] = Js(n[y], o[A]), y++, A++;
12029
12028
  else if (d[E] === c[T])
12030
- f[T] = Qs(n[E], o[T]), E--, T--;
12029
+ f[T] = Js(n[E], o[T]), E--, T--;
12031
12030
  else if (d[y] === c[T])
12032
- f[T] = Qs(n[y], o[T]), na(i, f[T + 1], n[y]), y++, T--;
12031
+ f[T] = Js(n[y], o[T]), na(i, f[T + 1], n[y]), y++, T--;
12033
12032
  else if (d[E] === c[A])
12034
- f[A] = Qs(n[E], o[A]), na(i, n[y], n[E]), E--, A++;
12033
+ f[A] = Js(n[E], o[A]), na(i, n[y], n[E]), E--, A++;
12035
12034
  else if (p === void 0 && (p = h0(c, A, T), g = h0(d, y, E)), p.has(d[y]))
12036
12035
  if (p.has(d[E])) {
12037
12036
  const w = g.get(c[A]), C = w !== void 0 ? n[w] : null;
12038
12037
  if (C === null) {
12039
12038
  const P = na(i, n[y]);
12040
- Qs(P, o[A]), f[A] = P;
12039
+ Js(P, o[A]), f[A] = P;
12041
12040
  } else
12042
- f[A] = Qs(C, o[A]), na(i, n[y], C), n[w] = null;
12041
+ f[A] = Js(C, o[A]), na(i, n[y], C), n[w] = null;
12043
12042
  A++;
12044
12043
  } else
12045
12044
  sc(n[E]), E--;
@@ -12047,13 +12046,13 @@ const h0 = (i, t, e) => {
12047
12046
  sc(n[y]), y++;
12048
12047
  for (; A <= T; ) {
12049
12048
  const w = na(i, f[T + 1]);
12050
- Qs(w, o[A]), f[A++] = w;
12049
+ Js(w, o[A]), f[A++] = w;
12051
12050
  }
12052
12051
  for (; y <= E; ) {
12053
12052
  const w = n[y++];
12054
12053
  w !== null && sc(w);
12055
12054
  }
12056
- return this.dt = c, fy(i, f), Bs;
12055
+ return this.dt = c, vy(i, f), Gs;
12057
12056
  }
12058
12057
  });
12059
12058
  var Jr = "top", Ai = "bottom", Ti = "right", ti = "left", Ph = "auto", za = [Jr, Ai, Ti, ti], Fn = "start", Oa = "end", V4 = "clippingParents", Np = "viewport", ca = "popper", W4 = "reference", d0 = /* @__PURE__ */ za.reduce(function(i, t) {
@@ -12187,7 +12186,7 @@ function fs(i) {
12187
12186
  function iE(i) {
12188
12187
  return ["table", "td", "th"].indexOf(Zi(i)) >= 0;
12189
12188
  }
12190
- function js(i) {
12189
+ function Ks(i) {
12191
12190
  return ((pn(i) ? i.ownerDocument : (
12192
12191
  // $FlowFixMe[prop-missing]
12193
12192
  i.document
@@ -12202,7 +12201,7 @@ function vl(i) {
12202
12201
  i.parentNode || // DOM Element detected
12203
12202
  (Oh(i) ? i.host : null) || // ShadowRoot detected
12204
12203
  // $FlowFixMe[incompatible-call]: HTMLElement is a Node
12205
- js(i)
12204
+ Ks(i)
12206
12205
  );
12207
12206
  }
12208
12207
  function u0(i) {
@@ -12309,7 +12308,7 @@ function f0(i) {
12309
12308
  var P = c.hasOwnProperty("x"), M = c.hasOwnProperty("y"), B = ti, x = Jr, O = window;
12310
12309
  if (p) {
12311
12310
  var z = Ya(e), G = "clientHeight", at = "clientWidth";
12312
- if (z === ci(e) && (z = js(e), fs(z).position !== "static" && d === "absolute" && (G = "scrollHeight", at = "scrollWidth")), z = z, n === Jr || (n === ti || n === Ti) && o === Oa) {
12311
+ if (z === ci(e) && (z = Ks(e), fs(z).position !== "static" && d === "absolute" && (G = "scrollHeight", at = "scrollWidth")), z = z, n === Jr || (n === ti || n === Ti) && o === Oa) {
12313
12312
  x = Ai;
12314
12313
  var st = y && z === O && O.visualViewport ? O.visualViewport.height : (
12315
12314
  // $FlowFixMe[prop-missing]
@@ -12421,10 +12420,10 @@ function Nh(i) {
12421
12420
  };
12422
12421
  }
12423
12422
  function Fh(i) {
12424
- return Bn(js(i)).left + Nh(i).scrollLeft;
12423
+ return Bn(Ks(i)).left + Nh(i).scrollLeft;
12425
12424
  }
12426
12425
  function yE(i, t) {
12427
- var e = ci(i), r = js(i), n = e.visualViewport, o = r.clientWidth, c = r.clientHeight, d = 0, f = 0;
12426
+ var e = ci(i), r = Ks(i), n = e.visualViewport, o = r.clientWidth, c = r.clientHeight, d = 0, f = 0;
12428
12427
  if (n) {
12429
12428
  o = n.width, c = n.height;
12430
12429
  var p = Bp();
@@ -12438,7 +12437,7 @@ function yE(i, t) {
12438
12437
  };
12439
12438
  }
12440
12439
  function bE(i) {
12441
- var t, e = js(i), r = Nh(i), n = (t = i.ownerDocument) == null ? void 0 : t.body, o = cn(e.scrollWidth, e.clientWidth, n ? n.scrollWidth : 0, n ? n.clientWidth : 0), c = cn(e.scrollHeight, e.clientHeight, n ? n.scrollHeight : 0, n ? n.clientHeight : 0), d = -r.scrollLeft + Fh(i), f = -r.scrollTop;
12440
+ var t, e = Ks(i), r = Nh(i), n = (t = i.ownerDocument) == null ? void 0 : t.body, o = cn(e.scrollWidth, e.clientWidth, n ? n.scrollWidth : 0, n ? n.clientWidth : 0), c = cn(e.scrollHeight, e.clientHeight, n ? n.scrollHeight : 0, n ? n.clientHeight : 0), d = -r.scrollLeft + Fh(i), f = -r.scrollTop;
12442
12441
  return fs(n || e).direction === "rtl" && (d += cn(e.clientWidth, n ? n.clientWidth : 0) - o), {
12443
12442
  width: o,
12444
12443
  height: c,
@@ -12475,7 +12474,7 @@ function EE(i, t) {
12475
12474
  return e.top = e.top + i.clientTop, e.left = e.left + i.clientLeft, e.bottom = e.top + i.clientHeight, e.right = e.left + i.clientWidth, e.width = i.clientWidth, e.height = i.clientHeight, e.x = e.left, e.y = e.top, e;
12476
12475
  }
12477
12476
  function g0(i, t, e) {
12478
- return t === Np ? Qc(yE(i, e)) : pn(t) ? EE(t, e) : Qc(bE(js(i)));
12477
+ return t === Np ? Qc(yE(i, e)) : pn(t) ? EE(t, e) : Qc(bE(Ks(i)));
12479
12478
  }
12480
12479
  function AE(i) {
12481
12480
  var t = Sa(vl(i)), e = ["absolute", "fixed"].indexOf(fs(i).position) >= 0, r = e && Ei(i) ? Ya(i) : i;
@@ -12539,7 +12538,7 @@ function Kp(i) {
12539
12538
  }
12540
12539
  function $a(i, t) {
12541
12540
  t === void 0 && (t = {});
12542
- var e = t, r = e.placement, n = r === void 0 ? i.placement : r, o = e.strategy, c = o === void 0 ? i.strategy : o, d = e.boundary, f = d === void 0 ? V4 : d, p = e.rootBoundary, g = p === void 0 ? Np : p, y = e.elementContext, E = y === void 0 ? ca : y, A = e.altBoundary, T = A === void 0 ? !1 : A, w = e.padding, C = w === void 0 ? 0 : w, P = Vp(typeof C != "number" ? C : Wp(C, za)), M = E === ca ? W4 : ca, B = i.rects.popper, x = i.elements[T ? M : E], O = TE(pn(x) ? x : x.contextElement || js(i.elements.popper), f, g, c), z = Bn(i.elements.reference), G = Kp({
12541
+ var e = t, r = e.placement, n = r === void 0 ? i.placement : r, o = e.strategy, c = o === void 0 ? i.strategy : o, d = e.boundary, f = d === void 0 ? V4 : d, p = e.rootBoundary, g = p === void 0 ? Np : p, y = e.elementContext, E = y === void 0 ? ca : y, A = e.altBoundary, T = A === void 0 ? !1 : A, w = e.padding, C = w === void 0 ? 0 : w, P = Vp(typeof C != "number" ? C : Wp(C, za)), M = E === ca ? W4 : ca, B = i.rects.popper, x = i.elements[T ? M : E], O = TE(pn(x) ? x : x.contextElement || Ks(i.elements.popper), f, g, c), z = Bn(i.elements.reference), G = Kp({
12543
12542
  reference: z,
12544
12543
  element: B,
12545
12544
  strategy: "absolute",
@@ -12782,7 +12781,7 @@ function UE(i) {
12782
12781
  }
12783
12782
  function BE(i, t, e) {
12784
12783
  e === void 0 && (e = !1);
12785
- var r = Ei(t), n = Ei(t) && UE(t), o = js(t), c = Bn(i, n, e), d = {
12784
+ var r = Ei(t), n = Ei(t) && UE(t), o = Ks(t), c = Bn(i, n, e), d = {
12786
12785
  scrollLeft: 0,
12787
12786
  scrollTop: 0
12788
12787
  }, f = {
@@ -12959,7 +12958,7 @@ function jE(i) {
12959
12958
  }
12960
12959
  var KE = [gE, PE, fE, Up, xE, RE, ME, cE, LE], zE = /* @__PURE__ */ jE({
12961
12960
  defaultModifiers: KE
12962
- }), YE = "tippy-box", zp = "tippy-content", XE = "tippy-backdrop", Yp = "tippy-arrow", Xp = "tippy-svg-arrow", rn = {
12961
+ }), YE = "tippy-box", zp = "tippy-content", XE = "tippy-backdrop", Yp = "tippy-arrow", Xp = "tippy-svg-arrow", sn = {
12963
12962
  passive: !0,
12964
12963
  capture: !0
12965
12964
  }, Zp = function() {
@@ -13091,7 +13090,7 @@ function aA() {
13091
13090
  }
13092
13091
  }
13093
13092
  function oA() {
13094
- document.addEventListener("touchstart", nA, rn), window.addEventListener("blur", aA);
13093
+ document.addEventListener("touchstart", nA, sn), window.addEventListener("blur", aA);
13095
13094
  }
13096
13095
  var lA = typeof window < "u" && typeof document < "u", cA = lA ? (
13097
13096
  // @ts-ignore
@@ -13381,11 +13380,11 @@ function vA(i, t) {
13381
13380
  }
13382
13381
  function Yt() {
13383
13382
  var ct = Pt();
13384
- ct.addEventListener("mousedown", vt, !0), ct.addEventListener("touchend", vt, rn), ct.addEventListener("touchstart", Bt, rn), ct.addEventListener("touchmove", It, rn);
13383
+ ct.addEventListener("mousedown", vt, !0), ct.addEventListener("touchend", vt, sn), ct.addEventListener("touchstart", Bt, sn), ct.addEventListener("touchmove", It, sn);
13385
13384
  }
13386
13385
  function ge() {
13387
13386
  var ct = Pt();
13388
- ct.removeEventListener("mousedown", vt, !0), ct.removeEventListener("touchend", vt, rn), ct.removeEventListener("touchstart", Bt, rn), ct.removeEventListener("touchmove", It, rn);
13387
+ ct.removeEventListener("mousedown", vt, !0), ct.removeEventListener("touchend", vt, sn), ct.removeEventListener("touchstart", Bt, sn), ct.removeEventListener("touchmove", It, sn);
13389
13388
  }
13390
13389
  function ye(ct, Ht) {
13391
13390
  ze(ct, function() {
@@ -13922,19 +13921,19 @@ let R = /* @__PURE__ */ function(i) {
13922
13921
  }({}), ut = /* @__PURE__ */ function(i) {
13923
13922
  return i.KEY_SYSTEM_NO_KEYS = "keySystemNoKeys", i.KEY_SYSTEM_NO_ACCESS = "keySystemNoAccess", i.KEY_SYSTEM_NO_SESSION = "keySystemNoSession", i.KEY_SYSTEM_NO_CONFIGURED_LICENSE = "keySystemNoConfiguredLicense", i.KEY_SYSTEM_LICENSE_REQUEST_FAILED = "keySystemLicenseRequestFailed", i.KEY_SYSTEM_SERVER_CERTIFICATE_REQUEST_FAILED = "keySystemServerCertificateRequestFailed", i.KEY_SYSTEM_SERVER_CERTIFICATE_UPDATE_FAILED = "keySystemServerCertificateUpdateFailed", i.KEY_SYSTEM_SESSION_UPDATE_FAILED = "keySystemSessionUpdateFailed", i.KEY_SYSTEM_STATUS_OUTPUT_RESTRICTED = "keySystemStatusOutputRestricted", i.KEY_SYSTEM_STATUS_INTERNAL_ERROR = "keySystemStatusInternalError", i.MANIFEST_LOAD_ERROR = "manifestLoadError", i.MANIFEST_LOAD_TIMEOUT = "manifestLoadTimeOut", i.MANIFEST_PARSING_ERROR = "manifestParsingError", i.MANIFEST_INCOMPATIBLE_CODECS_ERROR = "manifestIncompatibleCodecsError", i.LEVEL_EMPTY_ERROR = "levelEmptyError", i.LEVEL_LOAD_ERROR = "levelLoadError", i.LEVEL_LOAD_TIMEOUT = "levelLoadTimeOut", i.LEVEL_PARSING_ERROR = "levelParsingError", i.LEVEL_SWITCH_ERROR = "levelSwitchError", i.AUDIO_TRACK_LOAD_ERROR = "audioTrackLoadError", i.AUDIO_TRACK_LOAD_TIMEOUT = "audioTrackLoadTimeOut", i.SUBTITLE_LOAD_ERROR = "subtitleTrackLoadError", i.SUBTITLE_TRACK_LOAD_TIMEOUT = "subtitleTrackLoadTimeOut", i.FRAG_LOAD_ERROR = "fragLoadError", i.FRAG_LOAD_TIMEOUT = "fragLoadTimeOut", i.FRAG_DECRYPT_ERROR = "fragDecryptError", i.FRAG_PARSING_ERROR = "fragParsingError", i.FRAG_GAP = "fragGap", i.REMUX_ALLOC_ERROR = "remuxAllocError", i.KEY_LOAD_ERROR = "keyLoadError", i.KEY_LOAD_TIMEOUT = "keyLoadTimeOut", i.BUFFER_ADD_CODEC_ERROR = "bufferAddCodecError", i.BUFFER_INCOMPATIBLE_CODECS_ERROR = "bufferIncompatibleCodecsError", i.BUFFER_APPEND_ERROR = "bufferAppendError", i.BUFFER_APPENDING_ERROR = "bufferAppendingError", i.BUFFER_STALLED_ERROR = "bufferStalledError", i.BUFFER_FULL_ERROR = "bufferFullError", i.BUFFER_SEEK_OVER_HOLE = "bufferSeekOverHole", i.BUFFER_NUDGE_ON_STALL = "bufferNudgeOnStall", i.INTERNAL_EXCEPTION = "internalException", i.INTERNAL_ABORTED = "aborted", i.UNKNOWN = "unknown", i;
13924
13923
  }({});
13925
- const sn = function() {
13924
+ const nn = function() {
13926
13925
  }, eh = {
13927
- trace: sn,
13928
- debug: sn,
13929
- log: sn,
13930
- warn: sn,
13931
- info: sn,
13932
- error: sn
13926
+ trace: nn,
13927
+ debug: nn,
13928
+ log: nn,
13929
+ warn: nn,
13930
+ info: nn,
13931
+ error: nn
13933
13932
  };
13934
13933
  let _a = eh;
13935
13934
  function wA(i) {
13936
13935
  const t = self.console[i];
13937
- return t ? t.bind(self.console, `[${i}] >`) : sn;
13936
+ return t ? t.bind(self.console, `[${i}] >`) : nn;
13938
13937
  }
13939
13938
  function SA(i, ...t) {
13940
13939
  t.forEach(function(e) {
@@ -25415,7 +25414,7 @@ class s3 {
25415
25414
  }
25416
25415
  }
25417
25416
  }
25418
- const Js = function(i) {
25417
+ const tn = function(i) {
25419
25418
  const t = [];
25420
25419
  for (let e = 0; e < i.length; e++)
25421
25420
  t.push(i[e].toString(16));
@@ -25792,11 +25791,11 @@ class gf {
25792
25791
  this.logger.time = t;
25793
25792
  for (let d = 0; d < e.length; d += 2)
25794
25793
  if (n = e[d] & 127, o = e[d + 1] & 127, !(n === 0 && o === 0)) {
25795
- if (this.logger.log(3, "[" + Js([e[d], e[d + 1]]) + "] -> (" + Js([n, o]) + ")"), r = this.parseCmd(n, o), r || (r = this.parseMidrow(n, o)), r || (r = this.parsePAC(n, o)), r || (r = this.parseBackgroundAttributes(n, o)), !r && (c = this.parseChars(n, o), c)) {
25794
+ if (this.logger.log(3, "[" + tn([e[d], e[d + 1]]) + "] -> (" + tn([n, o]) + ")"), r = this.parseCmd(n, o), r || (r = this.parseMidrow(n, o)), r || (r = this.parsePAC(n, o)), r || (r = this.parseBackgroundAttributes(n, o)), !r && (c = this.parseChars(n, o), c)) {
25796
25795
  const f = this.currentChannel;
25797
25796
  f && f > 0 ? this.channels[f].insertChars(c) : this.logger.log(2, "No channel found yet. TEXT-MODE?");
25798
25797
  }
25799
- !r && !c && this.logger.log(2, "Couldn't parse cleaned data " + Js([n, o]) + " orig: " + Js([e[d], e[d + 1]]));
25798
+ !r && !c && this.logger.log(2, "Couldn't parse cleaned data " + tn([n, o]) + " orig: " + tn([e[d], e[d + 1]]));
25800
25799
  }
25801
25800
  }
25802
25801
  /**
@@ -25810,7 +25809,7 @@ class gf {
25810
25809
  if (!(n || o))
25811
25810
  return !1;
25812
25811
  if (mf(t, e, r))
25813
- return xn(null, null, r), this.logger.log(3, "Repeated command (" + Js([t, e]) + ") is dropped"), !0;
25812
+ return xn(null, null, r), this.logger.log(3, "Repeated command (" + tn([t, e]) + ") is dropped"), !0;
25814
25813
  const c = t === 20 || t === 21 || t === 23 ? 1 : 2, d = this.channels[c];
25815
25814
  return t === 20 || t === 21 || t === 28 || t === 29 ? e === 32 ? d.ccRCL() : e === 33 ? d.ccBS() : e === 34 ? d.ccAOF() : e === 35 ? d.ccAON() : e === 36 ? d.ccDER() : e === 37 ? d.ccRU(2) : e === 38 ? d.ccRU(3) : e === 39 ? d.ccRU(4) : e === 40 ? d.ccFON() : e === 41 ? d.ccRDC() : e === 42 ? d.ccTR() : e === 43 ? d.ccRTD() : e === 44 ? d.ccEDM() : e === 45 ? d.ccCR() : e === 46 ? d.ccENM() : e === 47 && d.ccEOC() : d.ccTO(e - 32), xn(t, e, r), this.currentChannel = c, !0;
25816
25815
  }
@@ -25823,7 +25822,7 @@ class gf {
25823
25822
  if (t === 17 ? r = 1 : r = 2, r !== this.currentChannel)
25824
25823
  return this.logger.log(0, "Mismatch channel in midrow parsing"), !1;
25825
25824
  const n = this.channels[r];
25826
- return n ? (n.ccMIDROW(e), this.logger.log(3, "MIDROW (" + Js([t, e]) + ")"), !0) : !1;
25825
+ return n ? (n.ccMIDROW(e), this.logger.log(3, "MIDROW (" + tn([t, e]) + ")"), !0) : !1;
25827
25826
  }
25828
25827
  return !1;
25829
25828
  }
@@ -25870,7 +25869,7 @@ class gf {
25870
25869
  } else
25871
25870
  t >= 32 && t <= 127 && (n = e === 0 ? [t] : [t, e]);
25872
25871
  if (n) {
25873
- const c = Js(n);
25872
+ const c = tn(n);
25874
25873
  this.logger.log(3, "Char codes = " + c.join(",")), xn(t, e, this.cmdHistory);
25875
25874
  }
25876
25875
  return n;
@@ -29279,7 +29278,7 @@ async function J2(i) {
29279
29278
  };
29280
29279
  }) : i.duration;
29281
29280
  }
29282
- const j3 = Us(
29281
+ const j3 = Bs(
29283
29282
  async function(i) {
29284
29283
  return new FontFace(i.name, `url(${i.woff2 ?? i.url})`, {
29285
29284
  style: i.style,
@@ -29292,7 +29291,7 @@ const j3 = Us(
29292
29291
  );
29293
29292
  let K3 = class {
29294
29293
  constructor(i) {
29295
- this._hasPlayed = !1, this._memoKey = null, this._lastDeps = null, this._duration = 0, this._scenes = null, this._videos = {}, this._videoMeta = {}, this._videoState = {}, this._resolveVideo = Us(
29294
+ this._hasPlayed = !1, this._memoKey = null, this._lastDeps = null, this._duration = 0, this._scenes = null, this._videos = {}, this._videoMeta = {}, this._videoState = {}, this._resolveVideo = Bs(
29296
29295
  async (t) => {
29297
29296
  const { id: e, key: r } = t, n = await dh(t);
29298
29297
  n.node.volume = this.host.volume, n.node.playbackRate = this.host.playbackRate;
@@ -29322,7 +29321,7 @@ let K3 = class {
29322
29321
  {
29323
29322
  cacheKey: ([{ id: t, key: e, src: r, playlist: n }]) => JSON.stringify({ id: t, key: e, src: r == null ? void 0 : r.split("?")[0], playlist: n == null ? void 0 : n.split("?")[0] })
29324
29323
  }
29325
- ), this._resolveVideoMeta = Us(
29324
+ ), this._resolveVideoMeta = Bs(
29326
29325
  async (t, e) => {
29327
29326
  const { id: r, captions: n, duration: o, startOffset: c, endOffset: d } = t, f = o ?? await J2(e), p = (c ?? 0) * f, g = (1 - (d ?? 0)) * f;
29328
29327
  return {
@@ -29727,7 +29726,7 @@ class Q3 extends Qf {
29727
29726
  this.element && ((t = this.observer) == null || t.observe(this.element));
29728
29727
  }
29729
29728
  update(t, [e]) {
29730
- return this.isConnected && !this.observer && (this.observer = new ResizeObserver(e), this.element = t.element, this.observer.observe(this.element)), Gs;
29729
+ return this.isConnected && !this.observer && (this.observer = new ResizeObserver(e), this.element = t.element, this.observer.observe(this.element)), Hs;
29731
29730
  }
29732
29731
  }
29733
29732
  const sd = Wn(Q3);
@@ -30037,7 +30036,7 @@ class lw {
30037
30036
  constructor(t) {
30038
30037
  this._memoKey = null, this._lastDeps = null, this._scenes = null, this._video = null, this._handleSeeked = () => {
30039
30038
  this.host._draw();
30040
- }, this._resolveVideo = Us(
30039
+ }, this._resolveVideo = Bs(
30041
30040
  async (e) => {
30042
30041
  const r = await dh(e);
30043
30042
  return r.node.play = async () => {
@@ -30046,7 +30045,7 @@ class lw {
30046
30045
  {
30047
30046
  cacheKey: ([{ id: e, src: r, playlist: n }]) => JSON.stringify({ id: e, src: r == null ? void 0 : r.split("?")[0], playlist: n == null ? void 0 : n.split("?")[0] })
30048
30047
  }
30049
- ), this._resolveAnswer = Us(
30048
+ ), this._resolveAnswer = Bs(
30050
30049
  async (e) => {
30051
30050
  const { id: r, key: n, poster: o } = e, { node: c } = await dh(e), d = new Image();
30052
30051
  return {
@@ -30067,7 +30066,7 @@ class lw {
30067
30066
  poster: o == null ? void 0 : o.split("?")[0]
30068
30067
  })
30069
30068
  }
30070
- ), this._resolveVideoMeta = Us(
30069
+ ), this._resolveVideoMeta = Bs(
30071
30070
  async (e, r) => {
30072
30071
  const { id: n, duration: o, startOffset: c, endOffset: d } = e, f = o ?? await J2(r), p = (c ?? 0) * f, g = (1 - (d ?? 0)) * f;
30073
30072
  return {
@@ -30165,7 +30164,7 @@ var cw = Object.defineProperty, hw = Object.getOwnPropertyDescriptor, jn = (i, t
30165
30164
  (c = i[o]) && (n = (r ? c(t, e, n) : c(n)) || n);
30166
30165
  return r && n && cw(t, e, n), n;
30167
30166
  };
30168
- let Hs = class extends De {
30167
+ let Vs = class extends De {
30169
30168
  constructor() {
30170
30169
  super(...arguments), this.active = !1, this.size = "small", this.rounded = "medium", this.weight = "light";
30171
30170
  }
@@ -30187,7 +30186,7 @@ let Hs = class extends De {
30187
30186
  </button>`;
30188
30187
  }
30189
30188
  };
30190
- Hs.styles = [
30189
+ Vs.styles = [
30191
30190
  De.styles ?? [],
30192
30191
  dr`
30193
30192
  :host {
@@ -30269,22 +30268,22 @@ Hs.styles = [
30269
30268
  ];
30270
30269
  jn([
30271
30270
  Tt({ type: Boolean })
30272
- ], Hs.prototype, "active", 2);
30271
+ ], Vs.prototype, "active", 2);
30273
30272
  jn([
30274
30273
  Tt({ type: String })
30275
- ], Hs.prototype, "size", 2);
30274
+ ], Vs.prototype, "size", 2);
30276
30275
  jn([
30277
30276
  Tt({ type: String })
30278
- ], Hs.prototype, "rounded", 2);
30277
+ ], Vs.prototype, "rounded", 2);
30279
30278
  jn([
30280
30279
  Tt({ type: String })
30281
- ], Hs.prototype, "weight", 2);
30280
+ ], Vs.prototype, "weight", 2);
30282
30281
  jn([
30283
30282
  Tt({ type: String })
30284
- ], Hs.prototype, "icon", 2);
30285
- Hs = jn([
30283
+ ], Vs.prototype, "icon", 2);
30284
+ Vs = jn([
30286
30285
  Vr("vmp-button")
30287
- ], Hs);
30286
+ ], Vs);
30288
30287
  const _f = {
30289
30288
  "arrow-left": () => qt`<svg width="20" height="20" viewBox="0 0 20 20" fill="none" part="svg">
30290
30289
  <path
@@ -30500,7 +30499,7 @@ var fw = Object.defineProperty, pw = Object.getOwnPropertyDescriptor, Kn = (i, t
30500
30499
  (c = i[o]) && (n = (r ? c(t, e, n) : c(n)) || n);
30501
30500
  return r && n && fw(t, e, n), n;
30502
30501
  };
30503
- let Vs = class extends De {
30502
+ let Ws = class extends De {
30504
30503
  constructor() {
30505
30504
  super(...arguments), this.active = !1, this.size = "small", this.rounded = "medium", this.weight = "light";
30506
30505
  }
@@ -30524,7 +30523,7 @@ let Vs = class extends De {
30524
30523
  `;
30525
30524
  }
30526
30525
  };
30527
- Vs.styles = [
30526
+ Ws.styles = [
30528
30527
  De.styles ?? [],
30529
30528
  dr`
30530
30529
  .tiny::part(svg) {
@@ -30545,22 +30544,22 @@ Vs.styles = [
30545
30544
  ];
30546
30545
  Kn([
30547
30546
  Tt({ type: Boolean })
30548
- ], Vs.prototype, "active", 2);
30547
+ ], Ws.prototype, "active", 2);
30549
30548
  Kn([
30550
30549
  Tt({ type: String })
30551
- ], Vs.prototype, "size", 2);
30550
+ ], Ws.prototype, "size", 2);
30552
30551
  Kn([
30553
30552
  Tt({ type: String })
30554
- ], Vs.prototype, "rounded", 2);
30553
+ ], Ws.prototype, "rounded", 2);
30555
30554
  Kn([
30556
30555
  Tt({ type: String })
30557
- ], Vs.prototype, "weight", 2);
30556
+ ], Ws.prototype, "weight", 2);
30558
30557
  Kn([
30559
30558
  Tt({ type: String })
30560
- ], Vs.prototype, "icon", 2);
30561
- Vs = Kn([
30559
+ ], Ws.prototype, "icon", 2);
30560
+ Ws = Kn([
30562
30561
  Vr("vmp-icon-button")
30563
- ], Vs);
30562
+ ], Ws);
30564
30563
  var gw = Object.defineProperty, mw = Object.getOwnPropertyDescriptor, si = (i, t, e, r) => {
30565
30564
  for (var n = r > 1 ? void 0 : r ? mw(t, e) : t, o = i.length - 1, c; o >= 0; o--)
30566
30565
  (c = i[o]) && (n = (r ? c(t, e, n) : c(n)) || n);
@@ -30704,7 +30703,7 @@ si([
30704
30703
  ps = si([
30705
30704
  Vr("vmp-video-preview-content")
30706
30705
  ], ps);
30707
- let Ws = class extends De {
30706
+ let js = class extends De {
30708
30707
  constructor() {
30709
30708
  super(...arguments), this.disabled = !1, this.aspectRatio = 1, this.compilation = wh;
30710
30709
  }
@@ -30723,32 +30722,32 @@ let Ws = class extends De {
30723
30722
  };
30724
30723
  si([
30725
30724
  Tt({ type: String })
30726
- ], Ws.prototype, "src", 2);
30725
+ ], js.prototype, "src", 2);
30727
30726
  si([
30728
30727
  Tt({ type: Object })
30729
- ], Ws.prototype, "data", 2);
30728
+ ], js.prototype, "data", 2);
30730
30729
  si([
30731
30730
  Tt({ type: Object })
30732
- ], Ws.prototype, "template", 2);
30731
+ ], js.prototype, "template", 2);
30733
30732
  si([
30734
30733
  Tt({ type: Boolean })
30735
- ], Ws.prototype, "disabled", 2);
30734
+ ], js.prototype, "disabled", 2);
30736
30735
  si([
30737
30736
  Tt({ type: Number })
30738
- ], Ws.prototype, "aspectRatio", 2);
30737
+ ], js.prototype, "aspectRatio", 2);
30739
30738
  si([
30740
30739
  Tt({ attribute: !1 })
30741
- ], Ws.prototype, "compilation", 2);
30742
- Ws = si([
30740
+ ], js.prototype, "compilation", 2);
30741
+ js = si([
30743
30742
  Vr("vmp-video-preview")
30744
- ], Ws);
30743
+ ], js);
30745
30744
  class vw extends Wa {
30746
30745
  constructor(t) {
30747
30746
  if (super(t), t.type !== Vn.ELEMENT)
30748
30747
  throw new Error("Resize directive must be used in an Element expression");
30749
30748
  }
30750
30749
  update(t, [e]) {
30751
- return e == null || e(t.element), Gs;
30750
+ return e == null || e(t.element), Hs;
30752
30751
  }
30753
30752
  }
30754
30753
  const Lf = Wn(vw);
@@ -32695,7 +32694,7 @@ var Hw = Object.defineProperty, Vw = Object.getOwnPropertyDescriptor, Wr = (i, t
32695
32694
  };
32696
32695
  let Lr = class extends U4(us) {
32697
32696
  constructor() {
32698
- super(...arguments), this.env = "prod", this.apiKey = "", this.disableTracking = !1, this.trackingSource = "embedded_player", this.preload = "auto", this.autoplay = !1, this.aspectRatio = 0, this.eventController = new Ey(this, [
32697
+ super(...arguments), this.env = "prod", this.apiKey = "", this.disableTracking = !1, this.trackingSource = "embedded_player", this.preload = "auto", this.autoplay = !1, this.aspectRatio = 0, this.eventController = new wy(this, [
32699
32698
  "durationchange",
32700
32699
  "ended",
32701
32700
  "error",
@@ -33014,10 +33013,11 @@ Ga.styles = [
33014
33013
  }
33015
33014
 
33016
33015
  .container {
33017
- position: absolute;
33016
+ position: fixed;
33018
33017
  display: flex;
33019
33018
  inset: 0;
33020
33019
  opacity: 1;
33020
+ z-index: 2147483647;
33021
33021
  align-items: center;
33022
33022
  justify-content: center;
33023
33023
  transition: opacity 100ms ease-in;
@@ -33084,9 +33084,9 @@ var Zw = Object.defineProperty, qw = Object.getOwnPropertyDescriptor, hi = (i, t
33084
33084
  };
33085
33085
  let ri = class extends us {
33086
33086
  constructor() {
33087
- super(...arguments), this.env = "prod", this.apiKey = "", this.disableTracking = !1, this.trackingSource = "embedded_player", this.preload = "none", this.disableAutoplay = !1, this.aspectRatio = 0, this._mediaPlayerRef = Rr(), this.open = !1, this._handleToggle = () => {
33088
- var i, t, e;
33089
- this.open = !this.open, this.open ? !this.disableAutoplay && ((i = this._mediaPlayerRef) != null && i.value) && (this._mediaPlayerRef.value.muted = !1, this._mediaPlayerRef.value.play()) : (e = (t = this._mediaPlayerRef) == null ? void 0 : t.value) == null || e.pause();
33087
+ super(...arguments), this.env = "prod", this.apiKey = "", this.disableTracking = !1, this.trackingSource = "embedded_player", this.preload = "none", this.disableAutoplay = !1, this.aspectRatio = 0, this._mediaPlayerRef = Rr(), this.open = !1, this._handleToggle = ({ detail: i }) => {
33088
+ var t, e, r;
33089
+ this.id === i && (this.open = !this.open, this.open ? !this.disableAutoplay && ((t = this._mediaPlayerRef) != null && t.value) && (this._mediaPlayerRef.value.muted = !1, this._mediaPlayerRef.value.play()) : (r = (e = this._mediaPlayerRef) == null ? void 0 : e.value) == null || r.pause());
33090
33090
  }, this._handleClose = () => {
33091
33091
  var i, t;
33092
33092
  this.open = !1, (t = (i = this._mediaPlayerRef) == null ? void 0 : i.value) == null || t.pause();
@@ -33101,7 +33101,8 @@ let ri = class extends us {
33101
33101
  super.disconnectedCallback(), document.removeEventListener("dialogembed:click", this._handleToggle), document.removeEventListener("keyup", this._handleDocumentKeyUp), document.removeEventListener("close:click", this._handleClose), document.removeEventListener("overlay:click", this._handleClose);
33102
33102
  }
33103
33103
  createRenderRoot() {
33104
- return document.body;
33104
+ const i = document.createElement("div");
33105
+ return document.body.appendChild(i), i;
33105
33106
  }
33106
33107
  render() {
33107
33108
  return qt`
@@ -33174,8 +33175,8 @@ var Qw = Object.defineProperty, Jw = Object.getOwnPropertyDescriptor, ki = (i, t
33174
33175
  };
33175
33176
  let ii = class extends us {
33176
33177
  constructor() {
33177
- super(...arguments), this.env = "prod", this.apiKey = "", this.disableTracking = !1, this.trackingSource = "embedded_player", this.preload = "none", this.disableAutoplay = !1, this.aspectRatio = 0, this._handleRootClick = () => {
33178
- this.dispatchEvent(new CustomEvent("dialogembed:click", { bubbles: !0, composed: !0 }));
33178
+ super(...arguments), this.env = "prod", this.apiKey = "", this.disableTracking = !1, this.trackingSource = "embedded_player", this.preload = "none", this.disableAutoplay = !1, this.aspectRatio = 0, this._id = $s(), this._handleRootClick = () => {
33179
+ this.dispatchEvent(new CustomEvent("dialogembed:click", { detail: this._id, bubbles: !0, composed: !0 }));
33179
33180
  };
33180
33181
  }
33181
33182
  connectedCallback() {
@@ -33190,6 +33191,7 @@ let ii = class extends us {
33190
33191
  <vmp-button size="large">Play</vmp-button>
33191
33192
  </slot>
33192
33193
  <vouch-embed-dialog-portal
33194
+ id=${this._id}
33193
33195
  ?autoplay=${!1}
33194
33196
  vouchId=${hr(this.vouchId)}
33195
33197
  templateId=${hr(this.templateId)}
@@ -33259,4 +33261,4 @@ export {
33259
33261
  Bc as c,
33260
33262
  tp as g
33261
33263
  };
33262
- //# sourceMappingURL=index-c8b48d2a.js.map
33264
+ //# sourceMappingURL=index-568f189c.js.map