@retoo/scena 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -14,7 +14,7 @@ function m() {
14
14
  reject: t
15
15
  };
16
16
  }
17
- var g = 1024, _ = 2048, y = 4096, b = 8192, E = 32768, C = 1 << 25, w = 65536, S = 1 << 19, k = 65536, O = 1 << 21, I = 1 << 23, T = Symbol("$state"), x = Symbol("legacy props"), A = Symbol(""), N = Symbol("attributes"), D = Symbol("class"), L = Symbol("style"), P = Symbol("text"), M = Symbol("form reset"), R = new class extends Error {
17
+ var g = 1024, _ = 2048, y = 4096, b = 8192, E = 32768, C = 1 << 25, w = 65536, S = 1 << 19, k = 65536, O = 1 << 21, I = 1 << 23, T = Symbol("$state"), x = Symbol("legacy props"), A = Symbol(""), N = Symbol("attributes"), L = Symbol("class"), D = Symbol("style"), P = Symbol("text"), M = Symbol("form reset"), R = new class extends Error {
18
18
  name = "StaleReactionError";
19
19
  message = "The reaction that called `getAbortSignal()` was re-run or destroyed";
20
20
  }(), V = !!globalThis.document?.contentType && globalThis.document.contentType.includes("xml");
@@ -373,7 +373,7 @@ var me = null, ge = null, _e = null, ye = null, be = null, Ee = null, Ce = !1, w
373
373
  for (var s of t) Ne(s, r, i, o);
374
374
  o = /* @__PURE__ */ new Map();
375
375
  var a = [...u.current.keys()].filter((e) => !this.current.has(e) || this.current.get(e)[0] !== e.v);
376
- if (a.length > 0) for (const e of this.#c) 155648 & e.f || !De(e, a, o) || (4194320 & e.f ? (fe(e, _), u.schedule(e)) : u.#f.add(e));
376
+ if (a.length > 0) for (const e of this.#c) 155648 & e.f || !Le(e, a, o) || (4194320 & e.f ? (fe(e, _), u.schedule(e)) : u.#f.add(e));
377
377
  if (u.#u.length > 0) {
378
378
  for (var l of (u.apply(), u.#u)) u.#y(l, [], []);
379
379
  u.#u = [];
@@ -479,19 +479,19 @@ function Ae(e) {
479
479
  function Ne(e, t, n, r) {
480
480
  if (!n.has(e) && (n.add(e), null !== e.reactions)) for (const i of e.reactions) {
481
481
  const e = i.f;
482
- 2 & e ? Ne(i, t, n, r) : 4194320 & e && !(2048 & e) && De(i, t, r) && (fe(i, _), Le(i));
482
+ 2 & e ? Ne(i, t, n, r) : 4194320 & e && !(2048 & e) && Le(i, t, r) && (fe(i, _), De(i));
483
483
  }
484
484
  }
485
- function De(e, t, n) {
485
+ function Le(e, t, n) {
486
486
  const r = n.get(e);
487
487
  if (void 0 !== r) return r;
488
488
  if (null !== e.deps) for (const r of e.deps) {
489
489
  if (i.call(t, r)) return !0;
490
- if (2 & r.f && De(r, t, n)) return n.set(r, !0), !0;
490
+ if (2 & r.f && Le(r, t, n)) return n.set(r, !0), !0;
491
491
  }
492
492
  return n.set(e, !1), !1;
493
493
  }
494
- function Le(e) {
494
+ function De(e) {
495
495
  _e.schedule(e);
496
496
  }
497
497
  function Pe(e, t) {
@@ -515,8 +515,8 @@ var Re = class {
515
515
  #x;
516
516
  #A = null;
517
517
  #N = null;
518
- #D = null;
519
518
  #L = null;
519
+ #D = null;
520
520
  #P = 0;
521
521
  #M = 0;
522
522
  #R = !1;
@@ -526,7 +526,7 @@ var Re = class {
526
526
  #$ = function(e) {
527
527
  let t, n = 0, r = Je(0);
528
528
  return () => {
529
- It() && (yn(r), Dt(() => (0 === n && (t = Cn(() => e(() => it(r)))), n += 1, () => {
529
+ It() && (yn(r), Lt(() => (0 === n && (t = Cn(() => e(() => it(r)))), n += 1, () => {
530
530
  se(() => {
531
531
  n -= 1, 0 === n && (t?.(), t = void 0, it(r));
532
532
  });
@@ -560,15 +560,15 @@ var Re = class {
560
560
  }
561
561
  #z(e) {
562
562
  const t = this.#I.failed;
563
- t && (this.#D = Rt(() => {
563
+ t && (this.#L = Rt(() => {
564
564
  t(this.#k, () => e, () => () => {});
565
565
  }));
566
566
  }
567
567
  #H() {
568
568
  const e = this.#I.pending;
569
569
  e && (this.is_pending = !0, this.#N = Rt(() => e(this.#k)), se(() => {
570
- var e = this.#L = document.createDocumentFragment(), t = vt();
571
- e.append(t), this.#A = this.#F(() => Rt(() => this.#T(t))), 0 === this.#M && (this.#k.before(e), this.#L = null, jt(this.#N, () => {
570
+ var e = this.#D = document.createDocumentFragment(), t = vt();
571
+ e.append(t), this.#A = this.#F(() => Rt(() => this.#T(t))), 0 === this.#M && (this.#k.before(e), this.#D = null, jt(this.#N, () => {
572
572
  this.#N = null;
573
573
  }), this.#G(_e));
574
574
  }));
@@ -578,7 +578,7 @@ var Re = class {
578
578
  if (this.is_pending = this.has_pending_snippet(), this.#M = 0, this.#P = 0, this.#A = Rt(() => {
579
579
  this.#T(this.#k);
580
580
  }), this.#M > 0) {
581
- var e = this.#L = document.createDocumentFragment();
581
+ var e = this.#D = document.createDocumentFragment();
582
582
  Xt(this.#A, e);
583
583
  const t = this.#I.pending;
584
584
  this.#N = Rt(() => t(this.#k));
@@ -613,7 +613,7 @@ var Re = class {
613
613
  #U(e, t) {
614
614
  this.has_pending_snippet() ? (this.#M += e, 0 === this.#M && (this.#G(t), this.#N && jt(this.#N, () => {
615
615
  this.#N = null;
616
- }), this.#L && (this.#k.before(this.#L), this.#L = null))) : this.parent && this.parent.#U(e, t);
616
+ }), this.#D && (this.#k.before(this.#D), this.#D = null))) : this.parent && this.parent.#U(e, t);
617
617
  }
618
618
  update_pending_count(e, t) {
619
619
  this.#U(e, t), this.#P += e, this.#V && !this.#R && (this.#R = !0, se(() => {
@@ -625,20 +625,20 @@ var Re = class {
625
625
  }
626
626
  error(e) {
627
627
  if (!this.#I.onerror && !this.#I.failed) throw e;
628
- _e?.is_fork ? (this.#A && _e.skip_effect(this.#A), this.#N && _e.skip_effect(this.#N), this.#D && _e.skip_effect(this.#D), _e.on_fork_commit(() => {
628
+ _e?.is_fork ? (this.#A && _e.skip_effect(this.#A), this.#N && _e.skip_effect(this.#N), this.#L && _e.skip_effect(this.#L), _e.on_fork_commit(() => {
629
629
  this.#X(e);
630
630
  })) : this.#X(e);
631
631
  }
632
632
  #X(e) {
633
- this.#A && (zt(this.#A), this.#A = null), this.#N && (zt(this.#N), this.#N = null), this.#D && (zt(this.#D), this.#D = null), B && (F(this.#O), X(), F(q()));
633
+ this.#A && (zt(this.#A), this.#A = null), this.#N && (zt(this.#N), this.#N = null), this.#L && (zt(this.#L), this.#L = null), B && (F(this.#O), X(), F(q()));
634
634
  var t = this.#I.onerror;
635
635
  let n = this.#I.failed;
636
636
  var r = !1, i = !1;
637
637
  const o = () => {
638
638
  r ? console.warn("https://svelte.dev/e/svelte_boundary_reset_noop") : (r = !0, i && function() {
639
639
  throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror");
640
- }(), null !== this.#D && jt(this.#D, () => {
641
- this.#D = null;
640
+ }(), null !== this.#L && jt(this.#L, () => {
641
+ this.#L = null;
642
642
  }), this.#F(() => {
643
643
  this.#j();
644
644
  }));
@@ -648,7 +648,7 @@ var Re = class {
648
648
  } catch (e) {
649
649
  ue(e, this.#x && this.#x.parent);
650
650
  }
651
- n && (this.#D = this.#F(() => {
651
+ n && (this.#L = this.#F(() => {
652
652
  try {
653
653
  return Rt(() => {
654
654
  var t = en;
@@ -867,7 +867,7 @@ function ot(e, t, n) {
867
867
  be?.delete(c), 65536 & l || (!(512 & l) || null !== en && 2097152 & en.f || (a.f |= k), ot(c, y, n));
868
868
  } else if (u) {
869
869
  var f = a;
870
- 16 & l && null !== xe && xe.add(f), null !== n ? n.push(f) : Le(f);
870
+ 16 & l && null !== xe && xe.add(f), null !== n ? n.push(f) : De(f);
871
871
  }
872
872
  }
873
873
  }
@@ -997,7 +997,7 @@ function ht() {
997
997
  if (void 0 === ut) {
998
998
  ut = window, ct = /Firefox/.test(navigator.userAgent);
999
999
  var e = Element.prototype, t = Node.prototype, n = Text.prototype;
1000
- ft = l(t, "firstChild").get, dt = l(t, "nextSibling").get, h(e) && (e[D] = void 0, e[N] = null, e[L] = void 0, e.__e = void 0), h(n) && (n[P] = void 0);
1000
+ ft = l(t, "firstChild").get, dt = l(t, "nextSibling").get, h(e) && (e[L] = void 0, e[N] = null, e[D] = void 0, e.__e = void 0), h(n) && (n[P] = void 0);
1001
1001
  }
1002
1002
  }
1003
1003
  function vt(e = "") {
@@ -1141,10 +1141,10 @@ function At(e) {
1141
1141
  function Nt(e) {
1142
1142
  return Ot(4, e);
1143
1143
  }
1144
- function Dt(e, t = 0) {
1144
+ function Lt(e, t = 0) {
1145
1145
  return Ot(8 | t, e);
1146
1146
  }
1147
- function Lt(e, t = [], n = [], r = []) {
1147
+ function Dt(e, t = [], n = [], r = []) {
1148
1148
  Ve(r, t, n, (t) => {
1149
1149
  Ot(8, () => e(...t.map(yn)));
1150
1150
  });
@@ -1283,7 +1283,7 @@ function vn(e, t, n = !0) {
1283
1283
  var r = e.reactions;
1284
1284
  if (null !== r && (null === nn || !i.call(nn, e))) for (var o = 0; o < r.length; o++) {
1285
1285
  var s = r[o];
1286
- 2 & s.f ? vn(s, t, !1) : t === s && (n ? fe(s, _) : 1024 & s.f && fe(s, y), Le(s));
1286
+ 2 & s.f ? vn(s, t, !1) : t === s && (n ? fe(s, _) : 1024 & s.f && fe(s, y), De(s));
1287
1287
  }
1288
1288
  }
1289
1289
  function pn(e) {
@@ -1465,13 +1465,13 @@ function An(e) {
1465
1465
  }
1466
1466
  }
1467
1467
  var Nn = globalThis?.window?.trustedTypes && globalThis.window.trustedTypes.createPolicy("svelte-trusted-html", { createHTML: (e) => e });
1468
- function Dn(e) {
1468
+ function Ln(e) {
1469
1469
  var t = bt("template");
1470
1470
  return t.innerHTML = function(e) {
1471
1471
  return Nn?.createHTML(e) ?? e;
1472
1472
  }(e.replaceAll("<!>", "<!---->")), t.content;
1473
1473
  }
1474
- function Ln(e, t) {
1474
+ function Dn(e, t) {
1475
1475
  var n = en;
1476
1476
  null === n.nodes && (n.nodes = {
1477
1477
  start: e,
@@ -1483,24 +1483,24 @@ function Ln(e, t) {
1483
1483
  function Pn(e, t) {
1484
1484
  var n, r = !!(1 & t), i = !!(2 & t), o = !e.startsWith("<!>");
1485
1485
  return () => {
1486
- if (B) return Ln(H, null), H;
1487
- void 0 === n && (n = Dn(o ? e : "<!>" + e), r || (n = pt(n)));
1486
+ if (B) return Dn(H, null), H;
1487
+ void 0 === n && (n = Ln(o ? e : "<!>" + e), r || (n = pt(n)));
1488
1488
  var t = i || ct ? document.importNode(n, !0) : n.cloneNode(!0);
1489
- r ? Ln(pt(t), t.lastChild) : Ln(t, t);
1489
+ r ? Dn(pt(t), t.lastChild) : Dn(t, t);
1490
1490
  return t;
1491
1491
  };
1492
1492
  }
1493
1493
  function Mn(e, t, n = "svg") {
1494
1494
  var r, i = !e.startsWith("<!>"), o = !!(1 & t), s = `<${n}>${i ? e : "<!>" + e}</${n}>`;
1495
1495
  return () => {
1496
- if (B) return Ln(H, null), H;
1496
+ if (B) return Dn(H, null), H;
1497
1497
  if (!r) {
1498
- var e = pt(Dn(s));
1498
+ var e = pt(Ln(s));
1499
1499
  if (o) for (r = document.createDocumentFragment(); pt(e);) r.appendChild(pt(e));
1500
1500
  else r = pt(e);
1501
1501
  }
1502
1502
  var t = r.cloneNode(!0);
1503
- o ? Ln(pt(t), t.lastChild) : Ln(t, t);
1503
+ o ? Dn(pt(t), t.lastChild) : Dn(t, t);
1504
1504
  return t;
1505
1505
  };
1506
1506
  }
@@ -1510,15 +1510,15 @@ function Rn(e, t) {
1510
1510
  function Vn(e = "") {
1511
1511
  if (!B) {
1512
1512
  var t = vt(e + "");
1513
- return Ln(t, t), t;
1513
+ return Dn(t, t), t;
1514
1514
  }
1515
1515
  var n = H;
1516
- return 3 !== n.nodeType ? (n.before(n = vt()), F(n)) : Et(n), Ln(n, n), n;
1516
+ return 3 !== n.nodeType ? (n.before(n = vt()), F(n)) : Et(n), Dn(n, n), n;
1517
1517
  }
1518
1518
  function $n() {
1519
- if (B) return Ln(H, null), H;
1519
+ if (B) return Dn(H, null), H;
1520
1520
  var e = document.createDocumentFragment(), t = document.createComment(""), n = vt();
1521
- return e.append(t, n), Ln(t, n), e;
1521
+ return e.append(t, n), Dn(t, n), e;
1522
1522
  }
1523
1523
  function zn(e, t) {
1524
1524
  if (B) {
@@ -1599,7 +1599,7 @@ function Yn(t, { target: n, anchor: r, props: i = {}, events: s, context: a, int
1599
1599
  (function(e, t, n, r) {
1600
1600
  new Re(e, t, n, r);
1601
1601
  })(l, { pending: () => {} }, (n) => {
1602
- if (ee({}), a && (Z.c = a), s && (i.$$events = s), B && Ln(n, null), c = t(n, i) || {}, B && (en.nodes.end = H, null === H || 8 !== H.nodeType || "]" !== H.data)) throw z(), e;
1602
+ if (ee({}), a && (Z.c = a), s && (i.$$events = s), B && Dn(n, null), c = t(n, i) || {}, B && (en.nodes.end = H, null === H || 8 !== H.nodeType || "]" !== H.data)) throw z(), e;
1603
1603
  te();
1604
1604
  }, u);
1605
1605
  var f = /* @__PURE__ */ new Set(), d = (e) => {
@@ -1734,22 +1734,22 @@ function ir(t, n, r = !1, i = !1, o = !1, s = !1) {
1734
1734
  var u = t;
1735
1735
  B && (a = F(pt(u)));
1736
1736
  }
1737
- Lt(() => {
1737
+ Dt(() => {
1738
1738
  var t = en;
1739
1739
  if (l !== (l = n() ?? "")) {
1740
- if (r && !B) return t.nodes = null, u.innerHTML = l, void ("" !== l && Ln(pt(u), u.lastChild));
1740
+ if (r && !B) return t.nodes = null, u.innerHTML = l, void ("" !== l && Dn(pt(u), u.lastChild));
1741
1741
  if (null !== t.nodes && (Ht(t.nodes.start, t.nodes.end), t.nodes = null), "" !== l) {
1742
1742
  if (B) {
1743
1743
  H.data;
1744
1744
  for (var s = G(), c = s; null !== s && (8 !== s.nodeType || "" !== s.data);) c = s, s = mt(s);
1745
1745
  if (null === s) throw z(), e;
1746
- Ln(H, c), a = F(s);
1746
+ Dn(H, c), a = F(s);
1747
1747
  return;
1748
1748
  }
1749
1749
  var f = bt(i ? "svg" : o ? "math" : "template", i ? "http://www.w3.org/2000/svg" : o ? "http://www.w3.org/1998/Math/MathML" : void 0);
1750
1750
  f.innerHTML = l;
1751
1751
  var d = i || o ? f : f.content;
1752
- if (Ln(pt(d), d.lastChild), i || o) for (; pt(d);) a.before(pt(d));
1752
+ if (Dn(pt(d), d.lastChild), i || o) for (; pt(d);) a.before(pt(d));
1753
1753
  else a.before(d);
1754
1754
  }
1755
1755
  } else B && G();
@@ -1791,7 +1791,7 @@ function cr(e) {
1791
1791
  return "-" !== e[0] || "-" !== e[1] ? e.toLowerCase() : e;
1792
1792
  }
1793
1793
  function fr(e, t, n, r, i, o) {
1794
- var s = e[D];
1794
+ var s = e[L];
1795
1795
  if (B || s !== n || void 0 === s) {
1796
1796
  var a = function(e, t, n) {
1797
1797
  var r = null == e ? "" : "" + e;
@@ -1804,7 +1804,7 @@ function fr(e, t, n, r, i, o) {
1804
1804
  }
1805
1805
  return "" === r ? null : r;
1806
1806
  }(n, r, o);
1807
- B && a === e.getAttribute("class") || (null == a ? e.removeAttribute("class") : t ? e.className = a : e.setAttribute("class", a)), e[D] = n;
1807
+ B && a === e.getAttribute("class") || (null == a ? e.removeAttribute("class") : t ? e.className = a : e.setAttribute("class", a)), e[L] = n;
1808
1808
  } else if (o && i !== o) for (var l in o) {
1809
1809
  var u = !!o[l];
1810
1810
  null != i && u === !!i[l] || e.classList.toggle(l, u);
@@ -1818,7 +1818,7 @@ function dr(e, t = {}, n, r) {
1818
1818
  }
1819
1819
  }
1820
1820
  function hr(e, t, n, r) {
1821
- var i = e[L];
1821
+ var i = e[D];
1822
1822
  if (B || i !== t) {
1823
1823
  var o = function(e, t) {
1824
1824
  if (t) {
@@ -1847,7 +1847,7 @@ function hr(e, t, n, r) {
1847
1847
  }
1848
1848
  return null == e ? null : String(e);
1849
1849
  }(t, r);
1850
- B && o === e.getAttribute("style") || (null == o ? e.removeAttribute("style") : e.style.cssText = o), e[L] = t;
1850
+ B && o === e.getAttribute("style") || (null == o ? e.removeAttribute("style") : e.style.cssText = o), e[D] = t;
1851
1851
  } else r && (Array.isArray(r) ? (dr(e, n?.[0], r[0]), dr(e, n?.[1], r[1], "important")) : dr(e, n, r));
1852
1852
  return r;
1853
1853
  }
@@ -2007,11 +2007,11 @@ function Ar(e) {
2007
2007
  function Nr(e, t) {
2008
2008
  return e === t || e?.[T] === t;
2009
2009
  }
2010
- function Dr(e = {}, t, n, r) {
2010
+ function Lr(e = {}, t, n, r) {
2011
2011
  var i = Z.r, o = en;
2012
2012
  return Nt(() => {
2013
2013
  var s, a;
2014
- return Dt(() => {
2014
+ return Lt(() => {
2015
2015
  s = a, a = r?.() || [], Cn(() => {
2016
2016
  Nr(n(...a), e) || (t(e, ...a), s && Nr(n(...s), e) && t(null, ...s));
2017
2017
  });
@@ -2025,7 +2025,7 @@ function Dr(e = {}, t, n, r) {
2025
2025
  };
2026
2026
  }), e;
2027
2027
  }
2028
- var Lr = {
2028
+ var Dr = {
2029
2029
  get(e, t) {
2030
2030
  if (!e.exclude.includes(t)) return e.props[t];
2031
2031
  },
@@ -2262,7 +2262,7 @@ function pi(e, t) {
2262
2262
  "customStyles",
2263
2263
  "children"
2264
2264
  ]
2265
- }, Lr);
2265
+ }, Dr);
2266
2266
  const a = Fe(() => [
2267
2267
  "rs-button",
2268
2268
  `rs-button--${r()}`,
@@ -2296,7 +2296,7 @@ function pi(e, t) {
2296
2296
  };
2297
2297
  return rr(d, (e) => {
2298
2298
  t.children && e(h);
2299
- }), U(f), Dr(f, (e) => tt(l, e), () => yn(l)), zn(e, f), te(c);
2299
+ }), U(f), Lr(f, (e) => tt(l, e), () => yn(l)), zn(e, f), te(c);
2300
2300
  }
2301
2301
  var mi = Rn("<svg fill=\"none\" focusable=\"false\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\"><!></svg>");
2302
2302
  function gi(e, t) {
@@ -2310,7 +2310,7 @@ function gi(e, t) {
2310
2310
  var a = { getElements: function() {
2311
2311
  return { root: yn(i) };
2312
2312
  } }, l = mi();
2313
- return er(gt(l), () => t.children ?? p), U(l), Dr(l, (e) => tt(i, e), () => yn(i)), Lt(() => {
2313
+ return er(gt(l), () => t.children ?? p), U(l), Lr(l, (e) => tt(i, e), () => yn(i)), Dt(() => {
2314
2314
  Or(l, "id", t.id), fr(l, 0, ar(yn(o))), hr(l, yn(s)), Or(l, "viewBox", n());
2315
2315
  }), zn(e, l), te(a);
2316
2316
  }
@@ -2341,7 +2341,7 @@ function yi(e, t) {
2341
2341
  }, g = (e) => {
2342
2342
  {
2343
2343
  let r = Fe(() => ({ root: t.customClasses?.button })), o = Fe(() => ({ root: t.customStyles?.button }));
2344
- Dr(pi(e, {
2344
+ Lr(pi(e, {
2345
2345
  get aria() {
2346
2346
  return i();
2347
2347
  },
@@ -2362,7 +2362,7 @@ function yi(e, t) {
2362
2362
  children: (e, r) => {
2363
2363
  {
2364
2364
  let r = Fe(() => ({ root: t.customClasses?.cross })), i = Fe(() => ({ root: t.customStyles?.cross }));
2365
- Dr(gi(e, {
2365
+ Lr(gi(e, {
2366
2366
  get size() {
2367
2367
  return n();
2368
2368
  },
@@ -2388,7 +2388,7 @@ function yi(e, t) {
2388
2388
  };
2389
2389
  return rr(p, (e) => {
2390
2390
  t.customHtml?.button ? e(m) : e(g, -1);
2391
- }), U(v), Dr(v, (e) => tt(a, e), () => yn(a)), Lt(() => {
2391
+ }), U(v), Lr(v, (e) => tt(a, e), () => yn(a)), Dt(() => {
2392
2392
  Or(v, "id", t.id), fr(v, 1, ar(yn(c))), hr(v, yn(f));
2393
2393
  }), zn(e, v), te(h);
2394
2394
  }
@@ -2422,7 +2422,7 @@ function Ci(e, t) {
2422
2422
  }, g = (e) => {
2423
2423
  {
2424
2424
  let i = Fe(() => ({ root: t.customClasses?.button })), o = Fe(() => ({ root: t.customStyles?.button }));
2425
- Dr(pi(e, {
2425
+ Lr(pi(e, {
2426
2426
  get size() {
2427
2427
  return r();
2428
2428
  },
@@ -2442,7 +2442,7 @@ function Ci(e, t) {
2442
2442
  children: (e, t) => {
2443
2443
  X();
2444
2444
  var r = Vn();
2445
- Lt(() => function(e, t) {
2445
+ Dt(() => function(e, t) {
2446
2446
  var n = null == t ? "" : "object" == typeof t ? `${t}` : t;
2447
2447
  n !== (e[P] ??= e.nodeValue) && (e[P] = n, e.nodeValue = `${n}`);
2448
2448
  }(r, n())), zn(e, r);
@@ -2453,7 +2453,7 @@ function Ci(e, t) {
2453
2453
  };
2454
2454
  return rr(p, (e) => {
2455
2455
  t.customHtml?.button ? e(m) : e(g, -1);
2456
- }), U(v), Dr(v, (e) => tt(l, e), () => yn(l)), Lt(() => {
2456
+ }), U(v), Lr(v, (e) => tt(l, e), () => yn(l)), Dt(() => {
2457
2457
  Or(v, "id", t.id), fr(v, 1, ar(yn(c))), hr(v, yn(f));
2458
2458
  }), zn(e, v), te(h);
2459
2459
  }
@@ -2683,7 +2683,7 @@ var xi = Pn("<div><video><source/></video> <!></div>", 2);
2683
2683
  var Ai = Pn("<div role=\"button\" tabindex=\"0\"><!></div>");
2684
2684
  xn(["click", "keydown"]);
2685
2685
  var Ni = Pn("<div><span role=\"status\" aria-live=\"polite\" aria-atomic=\"true\" class=\"rs-sr-only\"><!></span> <!></div>");
2686
- function Di(e, t) {
2686
+ function Li(e, t) {
2687
2687
  ee(t, !0);
2688
2688
  let n = Rr(t, "size", 19, () => Gr.MD), r = Rr(t, "aria", 19, () => ({
2689
2689
  play: { ariaLabel: "Play" },
@@ -2714,7 +2714,7 @@ function Di(e, t) {
2714
2714
  var n = $n();
2715
2715
  ir(_t(n), () => t.customHtml.pause), zn(e, n);
2716
2716
  }, c = (e) => {
2717
- Dr(pi(e, {
2717
+ Lr(pi(e, {
2718
2718
  get size() {
2719
2719
  return n();
2720
2720
  },
@@ -2734,7 +2734,7 @@ function Di(e, t) {
2734
2734
  children: (e, r) => {
2735
2735
  {
2736
2736
  let r = Fe(() => ({ root: t.customClasses?.pause })), i = Fe(() => ({ root: t.customStyles?.pause }));
2737
- Dr(gi(e, {
2737
+ Lr(gi(e, {
2738
2738
  get size() {
2739
2739
  return n();
2740
2740
  },
@@ -2766,7 +2766,7 @@ function Di(e, t) {
2766
2766
  var n = $n();
2767
2767
  ir(_t(n), () => t.customHtml.play), zn(e, n);
2768
2768
  }, l = (e) => {
2769
- Dr(pi(e, {
2769
+ Lr(pi(e, {
2770
2770
  get size() {
2771
2771
  return n();
2772
2772
  },
@@ -2786,7 +2786,7 @@ function Di(e, t) {
2786
2786
  children: (e, r) => {
2787
2787
  {
2788
2788
  let r = Fe(() => ({ root: t.customClasses?.play })), i = Fe(() => ({ root: t.customStyles?.play }));
2789
- Dr(gi(e, {
2789
+ Lr(gi(e, {
2790
2790
  get size() {
2791
2791
  return n();
2792
2792
  },
@@ -2815,7 +2815,7 @@ function Di(e, t) {
2815
2815
  };
2816
2816
  rr(y, (e) => {
2817
2817
  yn(v) ? e(b) : yn(p) && e(E, 1);
2818
- }), U(o), Dr(o, (e) => tt(s, e), () => yn(s)), Lt(() => {
2818
+ }), U(o), Lr(o, (e) => tt(s, e), () => yn(s)), Dt(() => {
2819
2819
  Or(o, "id", t.id), fr(o, 1, ar(yn(f))), hr(o, yn(d));
2820
2820
  }), zn(e, o);
2821
2821
  };
@@ -2823,7 +2823,7 @@ function Di(e, t) {
2823
2823
  yn(o) && e(y);
2824
2824
  }), zn(e, g), te(m);
2825
2825
  }
2826
- var Li = Rn("<svg viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M12,1A11,11,0,1,0,23,12,11,11,0,0,0,12,1Zm0,19a8,8,0,1,1,8-8A8,8,0,0,1,12,20Z\" opacity=\".25\"></path><path d=\"M12,4a8,8,0,0,1,7.89,6.7A1.53,1.53,0,0,0,21.38,12h0a1.5,1.5,0,0,0,1.48-1.75,11,11,0,0,0-21.72,0A1.5,1.5,0,0,0,2.62,12h0a1.53,1.53,0,0,0,1.49-1.3A8,8,0,0,1,12,4Z\" class=\"rsl-line\"></path></svg>");
2826
+ var Di = Rn("<svg viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M12,1A11,11,0,1,0,23,12,11,11,0,0,0,12,1Zm0,19a8,8,0,1,1,8-8A8,8,0,0,1,12,20Z\" opacity=\".25\"></path><path d=\"M12,4a8,8,0,0,1,7.89,6.7A1.53,1.53,0,0,0,21.38,12h0a1.5,1.5,0,0,0,1.48-1.75,11,11,0,0,0-21.72,0A1.5,1.5,0,0,0,2.62,12h0a1.53,1.53,0,0,0,1.49-1.3A8,8,0,0,1,12,4Z\" class=\"rsl-line\"></path></svg>");
2827
2827
  var Pi = Pn("<div><!></div>");
2828
2828
  function Mi(e, t) {
2829
2829
  ee(t, !0);
@@ -2843,7 +2843,7 @@ function Mi(e, t) {
2843
2843
  }, a = (e) => {
2844
2844
  {
2845
2845
  let r = Fe(() => ({ root: t.customClasses?.loader })), i = Fe(() => ({ root: t.customStyles?.loader }));
2846
- Dr(function(e, t) {
2846
+ Lr(function(e, t) {
2847
2847
  ee(t, !0);
2848
2848
  let n = Rr(t, "size", 19, () => Gr.MD), r = Qe(null);
2849
2849
  const i = Fe(() => [
@@ -2853,8 +2853,8 @@ function Mi(e, t) {
2853
2853
  ]), o = Fe(() => Zr(t.customStyles?.root));
2854
2854
  var s = { getElements: function() {
2855
2855
  return { root: yn(r) };
2856
- } }, a = Li();
2857
- return Dr(a, (e) => tt(r, e), () => yn(r)), Lt(() => {
2856
+ } }, a = Di();
2857
+ return Lr(a, (e) => tt(r, e), () => yn(r)), Dt(() => {
2858
2858
  Or(a, "id", t.id), fr(a, 0, ar(yn(i))), hr(a, yn(o));
2859
2859
  }), zn(e, a), te(s);
2860
2860
  }(e, {
@@ -2876,7 +2876,7 @@ function Mi(e, t) {
2876
2876
  };
2877
2877
  return rr(c, (e) => {
2878
2878
  r.state === ki.LOADING && e(f);
2879
- }), U(u), Dr(u, (e) => tt(i, e), () => yn(i)), Lt(() => {
2879
+ }), U(u), Lr(u, (e) => tt(i, e), () => yn(i)), Dt(() => {
2880
2880
  Or(u, "id", t.id), fr(u, 1, ar(yn(s))), hr(u, yn(a));
2881
2881
  }), zn(e, u), te(l);
2882
2882
  }
@@ -3117,7 +3117,7 @@ function Ui(e, t) {
3117
3117
  } }, m = $n(), g = _t(m), _ = (e) => {
3118
3118
  {
3119
3119
  let r = Fe(() => t.customThickness?.line);
3120
- Dr(function(e, t) {
3120
+ Lr(function(e, t) {
3121
3121
  ee(t, !0);
3122
3122
  let n, r, i = Rr(t, "size", 19, () => Gr.MD), o = Rr(t, "buffer", 3, 0), s = Rr(t, "progress", 3, 0), a = Rr(t, "aria", 19, () => ({ ariaLabel: "Progress" })), l = Qe(null), u = Qe(null);
3123
3123
  const c = Fe(() => [
@@ -3155,7 +3155,7 @@ function Ui(e, t) {
3155
3155
  var C = gt(E), w = (e) => {
3156
3156
  var t = Fi();
3157
3157
  let n;
3158
- Dr(t, (e) => tt(u, e), () => yn(u)), Lt(() => {
3158
+ Lr(t, (e) => tt(u, e), () => yn(u)), Dt(() => {
3159
3159
  fr(t, 1, ar(yn(v))), n = hr(t, yn(p), n, { width: 100 * o() + "%" });
3160
3160
  }), zn(e, t);
3161
3161
  };
@@ -3164,7 +3164,7 @@ function Ui(e, t) {
3164
3164
  });
3165
3165
  var S = yt(C, 2);
3166
3166
  let k;
3167
- return Dr(S, (e) => r = e, () => r), U(E), Dr(E, (e) => n = e, () => n), U(b), Dr(b, (e) => tt(l, e), () => yn(l)), Lt((e) => {
3167
+ return Lr(S, (e) => r = e, () => r), U(E), Lr(E, (e) => n = e, () => n), U(b), Lr(b, (e) => tt(l, e), () => yn(l)), Dt((e) => {
3168
3168
  Or(b, "id", t.id), fr(b, 1, ar(yn(c))), hr(b, yn(f)), Or(b, "aria-label", a().ariaLabel), Or(b, "aria-labelledby", a().ariaLabelledby), Or(b, "aria-describedby", a().ariaDescribedby), Or(b, "aria-valuenow", 100 * s()), Or(b, "aria-valuetext", `${e ?? ""}%`), fr(S, 1, ar(yn(m))), k = hr(S, yn(g), k, {
3169
3169
  width: 100 * s() + "%",
3170
3170
  transition: _.transition
@@ -3206,7 +3206,7 @@ function Ui(e, t) {
3206
3206
  }, y = (e) => {
3207
3207
  {
3208
3208
  let r = Fe(() => t.customThickness?.circle);
3209
- Dr(function(e, t) {
3209
+ Lr(function(e, t) {
3210
3210
  ee(t, !0);
3211
3211
  let n = Rr(t, "size", 19, () => Gr.MD), r = Rr(t, "buffer", 3, 0), i = Rr(t, "progress", 3, 0), o = Rr(t, "aria", 19, () => ({ ariaLabel: "Progress" })), s = Qe(null), a = Qe(null), l = Qe(null), u = Qe(null);
3212
3212
  const c = Fe(() => [
@@ -3243,10 +3243,10 @@ function Ui(e, t) {
3243
3243
  Or(E, "tabindex", 0), Or(E, "aria-valuemin", 0), Or(E, "aria-valuemax", 100);
3244
3244
  var C = gt(E), w = (e) => {
3245
3245
  var n = Bi(), r = _t(n);
3246
- Dr(r, (e) => tt(a, e), () => yn(a));
3246
+ Lr(r, (e) => tt(a, e), () => yn(a));
3247
3247
  var i = yt(r), o = (e) => {
3248
3248
  var t = Hi();
3249
- Dr(t, (e) => tt(l, e), () => yn(l)), Lt((e) => {
3249
+ Lr(t, (e) => tt(l, e), () => yn(l)), Dt((e) => {
3250
3250
  fr(t, 0, ar(yn(v))), hr(t, e), Or(t, "cx", _.radialSize / 2), Or(t, "cy", _.radialSize / 2), Or(t, "r", _.radialRadius), Or(t, "stroke-width", _.thickness), Or(t, "stroke-dasharray", _.radialCircumference), Or(t, "stroke-dashoffset", _.radialBufferOffset), Or(t, "transform", `rotate(-90 ${_.radialSize / 2} ${_.radialSize / 2})`);
3251
3251
  }, [() => y(yn(p))]), zn(e, t);
3252
3252
  };
@@ -3254,7 +3254,7 @@ function Ui(e, t) {
3254
3254
  t.hasBuffer && e(o);
3255
3255
  });
3256
3256
  var s = yt(i);
3257
- Dr(s, (e) => tt(u, e), () => yn(u)), Ir(yt(s), () => ({
3257
+ Lr(s, (e) => tt(u, e), () => yn(u)), Ir(yt(s), () => ({
3258
3258
  class: "rs-progress__hit-area",
3259
3259
  cx: _.radialSize / 2,
3260
3260
  cy: _.radialSize / 2,
@@ -3263,13 +3263,13 @@ function Ui(e, t) {
3263
3263
  stroke: "transparent",
3264
3264
  "stroke-width": _.hitAreaThickness,
3265
3265
  ..._.events
3266
- })), Lt((e, t) => {
3266
+ })), Dt((e, t) => {
3267
3267
  fr(r, 0, ar(yn(d))), hr(r, e), Or(r, "cx", _.radialSize / 2), Or(r, "cy", _.radialSize / 2), Or(r, "r", _.radialRadius), Or(r, "stroke-width", _.thickness), fr(s, 0, ar(yn(m))), hr(s, t), Or(s, "cx", _.radialSize / 2), Or(s, "cy", _.radialSize / 2), Or(s, "r", _.radialRadius), Or(s, "stroke-width", _.thickness), Or(s, "stroke-dasharray", _.radialCircumference), Or(s, "stroke-dashoffset", _.radialProgressOffset), Or(s, "transform", `rotate(-90 ${_.radialSize / 2} ${_.radialSize / 2})`);
3268
3268
  }, [() => y(yn(h)), () => y(yn(g))]), zn(e, n);
3269
3269
  };
3270
3270
  return rr(C, (e) => {
3271
3271
  _.radialSize && e(w);
3272
- }), U(E), Dr(E, (e) => tt(s, e), () => yn(s)), Lt((e) => {
3272
+ }), U(E), Lr(E, (e) => tt(s, e), () => yn(s)), Dt((e) => {
3273
3273
  Or(E, "id", t.id), fr(E, 0, ar(yn(c))), hr(E, yn(f)), Or(E, "viewBox", `0 0 ${_.radialSize ?? ""} ${_.radialSize ?? ""}`), Or(E, "aria-label", o().ariaLabel), Or(E, "aria-labelledby", o().ariaLabelledby), Or(E, "aria-describedby", o().ariaDescribedby), Or(E, "aria-valuenow", 100 * i()), Or(E, "aria-valuetext", `${e ?? ""}%`);
3274
3274
  }, [() => Math.round(100 * i())]), zn(e, E), te(b);
3275
3275
  }(e, {
@@ -3348,7 +3348,7 @@ function Ki(e, t) {
3348
3348
  var n = $n();
3349
3349
  ir(_t(n), () => t.customHtml.unmute), zn(e, n);
3350
3350
  }, c = (e) => {
3351
- Dr(pi(e, {
3351
+ Lr(pi(e, {
3352
3352
  get size() {
3353
3353
  return n();
3354
3354
  },
@@ -3368,7 +3368,7 @@ function Ki(e, t) {
3368
3368
  children: (e, r) => {
3369
3369
  {
3370
3370
  let r = Fe(() => ({ root: t.customClasses?.unmute })), i = Fe(() => ({ root: t.customStyles?.unmute }));
3371
- Dr(gi(e, {
3371
+ Lr(gi(e, {
3372
3372
  get size() {
3373
3373
  return n();
3374
3374
  },
@@ -3398,7 +3398,7 @@ function Ki(e, t) {
3398
3398
  var n = $n();
3399
3399
  ir(_t(n), () => t.customHtml.mute), zn(e, n);
3400
3400
  }, b = (e) => {
3401
- Dr(pi(e, {
3401
+ Lr(pi(e, {
3402
3402
  get size() {
3403
3403
  return n();
3404
3404
  },
@@ -3418,7 +3418,7 @@ function Ki(e, t) {
3418
3418
  children: (e, r) => {
3419
3419
  {
3420
3420
  let r = Fe(() => ({ root: t.customClasses?.mute })), i = Fe(() => ({ root: t.customStyles?.mute }));
3421
- Dr(gi(e, {
3421
+ Lr(gi(e, {
3422
3422
  get size() {
3423
3423
  return n();
3424
3424
  },
@@ -3443,7 +3443,7 @@ function Ki(e, t) {
3443
3443
  };
3444
3444
  rr(g, (e) => {
3445
3445
  o.isMuted ? e(_) : t.customHtml?.mute ? e(y, 1) : e(b, -1);
3446
- }), U(r), Dr(r, (e) => tt(a, e), () => yn(a)), Lt(() => {
3446
+ }), U(r), Lr(r, (e) => tt(a, e), () => yn(a)), Dt(() => {
3447
3447
  Or(r, "id", t.id), fr(r, 1, ar(yn(d))), hr(r, yn(h));
3448
3448
  }), zn(e, r);
3449
3449
  };
@@ -3505,7 +3505,7 @@ function Ji(e, t) {
3505
3505
  t.eventEmitter.emit(zr.ON_SCENA_DESTROY), t.eventEmitter.clear();
3506
3506
  });
3507
3507
  var T = { api: I }, x = Zi();
3508
- return Dr(function(e, t) {
3508
+ return Lr(function(e, t) {
3509
3509
  ee(t, !0);
3510
3510
  let n = Rr(t, "position", 19, () => Xr.FIXED), r = Rr(t, "placement", 19, () => Ur.BOTTOM_END), i = Qe(null);
3511
3511
  const o = [Xr.ABSOLUTE, Xr.FIXED], s = Fe(() => o.includes(n())), a = Fe(() => [
@@ -3522,13 +3522,13 @@ function Ji(e, t) {
3522
3522
  };
3523
3523
  return rr(f, (e) => {
3524
3524
  t.children && e(d);
3525
- }), U(c), Dr(c, (e) => tt(i, e), () => yn(i)), Lt(() => {
3525
+ }), U(c), Lr(c, (e) => tt(i, e), () => yn(i)), Dt(() => {
3526
3526
  Or(c, "id", t.id), fr(c, 1, ar(yn(a))), hr(c, yn(l));
3527
3527
  }), zn(e, c), te(u);
3528
3528
  }(gt(x), Mr(() => yn(g), {
3529
3529
  children: (e, t) => {
3530
3530
  var n = Yi(), f = _t(n);
3531
- Dr(function(e, t) {
3531
+ Lr(function(e, t) {
3532
3532
  ee(t, !0);
3533
3533
  let n = Rr(t, "size", 19, () => Gr.MD), r = Rr(t, "shape", 19, () => qr.CIRCLE);
3534
3534
  const { eventEmitter: i } = Br();
@@ -3547,7 +3547,7 @@ function Ji(e, t) {
3547
3547
  };
3548
3548
  return rr(c, (e) => {
3549
3549
  t.children && e(f);
3550
- }), U(u), Dr(u, (e) => tt(o, e), () => yn(o)), Lt(() => {
3550
+ }), U(u), Lr(u, (e) => tt(o, e), () => yn(o)), Dt(() => {
3551
3551
  Or(u, "id", t.id), fr(u, 1, ar(yn(s))), hr(u, yn(a)), Or(u, "aria-label", t.aria?.ariaLabel), Or(u, "aria-labelledby", t.aria?.ariaLabelledby), Or(u, "aria-describedby", t.aria?.ariaDescribedby), Or(u, "aria-disabled", t.aria?.ariaDisabled), Or(u, "aria-expanded", t.aria?.ariaExpanded), Or(u, "aria-controls", t.aria?.ariaControls), Or(u, "aria-haspopup", t.aria?.ariaHaspopup), Or(u, "aria-pressed", t.aria?.ariaPressed);
3552
3552
  }), Tn("click", u, function(e) {
3553
3553
  i.emit(zr.ON_VIDEO_CONTAINER_CLICK, e);
@@ -3563,7 +3563,7 @@ function Ji(e, t) {
3563
3563
  }
3564
3564
  }, () => yn(b), {
3565
3565
  children: (e, t) => {
3566
- Dr(function(e, t) {
3566
+ Lr(function(e, t) {
3567
3567
  ee(t, !0);
3568
3568
  let n = Rr(t, "preload", 19, () => wi.METADATA), r = Rr(t, "crossorigin", 19, () => Si.ANONYMOUS), i = Rr(t, "autoplay", 3, !0), o = Rr(t, "playsinline", 3, !0), s = Rr(t, "loop", 3, !0), a = Rr(t, "muted", 3, !0), l = Rr(t, "controls", 3, !1), u = Rr(t, "volume", 3, 1), c = Rr(t, "startTime", 3, 0);
3569
3569
  const { eventEmitter: f } = Br();
@@ -3586,14 +3586,14 @@ function Ji(e, t) {
3586
3586
  };
3587
3587
  }
3588
3588
  }, b = xi(), E = gt(b), C = gt(E);
3589
- U(E), Dr(E, (e) => tt(h, e), () => yn(h));
3589
+ U(E), Lr(E, (e) => tt(h, e), () => yn(h));
3590
3590
  var w = yt(E, 2), S = (e) => {
3591
3591
  var n = $n();
3592
3592
  er(_t(n), () => t.children), zn(e, n);
3593
3593
  };
3594
3594
  return rr(w, (e) => {
3595
3595
  t.children && e(S);
3596
- }), U(b), Dr(b, (e) => tt(d, e), () => yn(d)), Lt(() => {
3596
+ }), U(b), Lr(b, (e) => tt(d, e), () => yn(d)), Dt(() => {
3597
3597
  Or(b, "id", t.id), fr(b, 1, ar(yn(p))), hr(b, yn(m)), fr(E, 1, ar(yn(g))), hr(E, yn(_)), Or(E, "poster", t.poster), Or(E, "preload", n()), E.autoplay = i(), E.loop = s(), E.muted = a(), E.controls = l(), E.playsInline = o(), Or(E, "crossorigin", r()), Or(C, "src", t.src), Or(C, "type", t.type), Or(C, "media", t.media);
3598
3598
  }), In("loadedmetadata", E, function(...e) {
3599
3599
  v.handleLoadedMetadata?.apply(this, e);
@@ -3627,7 +3627,7 @@ function Ji(e, t) {
3627
3627
  }(e, Mr(() => yn(_), {
3628
3628
  children: (e, t) => {
3629
3629
  var n = Wi(), r = _t(n), i = (e) => {
3630
- Dr(Mi(e, Mr({ get size() {
3630
+ Lr(Mi(e, Mr({ get size() {
3631
3631
  return yn(p);
3632
3632
  } }, () => yn(y))), (e) => tt(o, e, !0), () => yn(o));
3633
3633
  };
@@ -3635,7 +3635,7 @@ function Ji(e, t) {
3635
3635
  !1 !== yn(y) && e(i);
3636
3636
  });
3637
3637
  var u = yt(r, 2), c = (e) => {
3638
- Dr(Ui(e, Mr({
3638
+ Lr(Ui(e, Mr({
3639
3639
  get size() {
3640
3640
  return yn(p);
3641
3641
  },
@@ -3648,7 +3648,7 @@ function Ji(e, t) {
3648
3648
  !1 !== yn(C) && e(c);
3649
3649
  });
3650
3650
  var f = yt(u, 2), d = (e) => {
3651
- Dr(Di(e, Mr({ get size() {
3651
+ Lr(Li(e, Mr({ get size() {
3652
3652
  return yn(p);
3653
3653
  } }, () => yn(E))), (e) => tt(a, e, !0), () => yn(a));
3654
3654
  };
@@ -3656,7 +3656,7 @@ function Ji(e, t) {
3656
3656
  !1 !== yn(E) && e(d);
3657
3657
  });
3658
3658
  var h = yt(f, 2), v = (e) => {
3659
- Dr(Ki(e, Mr({
3659
+ Lr(Ki(e, Mr({
3660
3660
  get size() {
3661
3661
  return yn(p);
3662
3662
  },
@@ -3675,7 +3675,7 @@ function Ji(e, t) {
3675
3675
  $$slots: { default: !0 }
3676
3676
  })), (e) => r = e, () => r);
3677
3677
  var d = yt(f, 2), h = (e) => {
3678
- Dr(yi(e, Mr({
3678
+ Lr(yi(e, Mr({
3679
3679
  get size() {
3680
3680
  return yn(p);
3681
3681
  },
@@ -3688,7 +3688,7 @@ function Ji(e, t) {
3688
3688
  !1 !== yn(S) && e(h);
3689
3689
  });
3690
3690
  var v = yt(d, 2), g = (e) => {
3691
- Dr(Ci(e, Mr({ get size() {
3691
+ Lr(Ci(e, Mr({ get size() {
3692
3692
  return yn(p);
3693
3693
  } }, () => yn(k))), (e) => tt(c, e, !0), () => yn(c));
3694
3694
  };
@@ -3697,7 +3697,7 @@ function Ji(e, t) {
3697
3697
  }), zn(e, n);
3698
3698
  },
3699
3699
  $$slots: { default: !0 }
3700
- })), (e) => n = e, () => n), U(x), Lt(() => fr(x, 1, ar(yn(O)))), zn(e, x), te(T);
3700
+ })), (e) => n = e, () => n), U(x), Dt(() => fr(x, 1, ar(yn(O)))), zn(e, x), te(T);
3701
3701
  }
3702
3702
  function Qi() {
3703
3703
  const e = /* @__PURE__ */ new WeakMap();
@@ -3706,7 +3706,7 @@ function Qi() {
3706
3706
  }
3707
3707
  return {
3708
3708
  NAME: "@retoo/scena",
3709
- VERSION: "0.0.2",
3709
+ VERSION: "0.1.0",
3710
3710
  mount: function(n, r = document.body) {
3711
3711
  const i = new Promise((o) => {
3712
3712
  const s = eo(n), a = ro(s), l = Hr(), u = io(s, a, l);
@@ -3982,8 +3982,8 @@ function so(e, t) {
3982
3982
  }
3983
3983
  };
3984
3984
  }
3985
- var ao = "undefined" != typeof HTMLElement ? HTMLElement : class {}, lo = class extends ao {
3986
- static tagName = "scena-video-widget";
3985
+ var ao = "scena-video-widget", lo = "undefined" != typeof HTMLElement ? HTMLElement : class {}, uo = class extends lo {
3986
+ static tagName = ao;
3987
3987
  _instance = null;
3988
3988
  _scena = null;
3989
3989
  _connected = !1;
@@ -4031,10 +4031,10 @@ var ao = "undefined" != typeof HTMLElement ? HTMLElement : class {}, lo = class
4031
4031
  }));
4032
4032
  }
4033
4033
  };
4034
- function uo() {
4035
- return customElements.get(lo.tagName);
4036
- }
4037
4034
  function co() {
4038
- uo() || customElements.define(lo.tagName, lo);
4035
+ return customElements.get(uo.tagName);
4036
+ }
4037
+ function fo() {
4038
+ co() || customElements.define(uo.tagName, uo);
4039
4039
  }
4040
- Qr && (window.scenaWidget = Qi, window.defineScenaElement = co), exports.ComponentAriaHaspopup = Wr, exports.ComponentAriaPressed = Kr, exports.ComponentPlacement = Ur, exports.ComponentPosition = Xr, exports.ComponentShape = qr, exports.ComponentSize = Gr, exports.OverrideLayer = Yr, exports.Scena = Ji, exports.ScenaButtonAriaHaspopup = ci, exports.ScenaButtonAriaPressed = ui, exports.ScenaButtonShape = fi, exports.ScenaButtonType = hi, exports.ScenaButtonVariant = di, exports.ScenaCtaButtonPlacement = bi, exports.ScenaElement = lo, exports.ScenaEvent = zr, exports.ScenaVideoCrossOrigin = Si, exports.ScenaVideoPreload = wi, exports.ScenaVideoProgressVariant = Xi, exports.ScenaVideoState = ki, exports.defineScenaElement = co, exports.getScenaContext = Br, exports.getScenaElement = uo, exports.getScenaVideoContext = Oi, exports.scenaProgressCircleThicknessMap = Vi, exports.scenaProgressLineThicknessMap = Ri, exports.setScenaContext = jr, exports.setScenaVideoContext = Ii, exports.useEventEmitter = Hr, exports.useProgressCircle = zi, exports.useProgressLine = $i, exports.useScena = Qi, exports.useScenaConfig = eo, exports.useScenaOverrides = ro, exports.useScenaPreview = io, exports.useScenaResponsive = so, exports.useScenaVisibility = oo, exports.useVideoController = Ti;
4040
+ Qr && (window.scenaWidget = Qi, window.defineScenaElement = fo), exports.ComponentAriaHaspopup = Wr, exports.ComponentAriaPressed = Kr, exports.ComponentPlacement = Ur, exports.ComponentPosition = Xr, exports.ComponentShape = qr, exports.ComponentSize = Gr, exports.OverrideLayer = Yr, exports.SAFE_HTML_ELEMENT = lo, exports.ScenaButtonAriaHaspopup = ci, exports.ScenaButtonAriaPressed = ui, exports.ScenaButtonShape = fi, exports.ScenaButtonType = hi, exports.ScenaButtonVariant = di, exports.ScenaCtaButtonPlacement = bi, exports.ScenaElement = uo, exports.ScenaEvent = zr, exports.ScenaVideoCrossOrigin = Si, exports.ScenaVideoPreload = wi, exports.ScenaVideoProgressVariant = Xi, exports.ScenaVideoState = ki, exports.TAG_NAME = ao, exports.defineScenaElement = fo, exports.getScenaContext = Br, exports.getScenaElement = co, exports.getScenaVideoContext = Oi, exports.scenaProgressCircleThicknessMap = Vi, exports.scenaProgressLineThicknessMap = Ri, exports.setScenaContext = jr, exports.setScenaVideoContext = Ii, exports.useEventEmitter = Hr, exports.useProgressCircle = zi, exports.useProgressLine = $i, exports.useScena = Qi, exports.useScenaConfig = eo, exports.useScenaOverrides = ro, exports.useScenaPreview = io, exports.useScenaResponsive = so, exports.useScenaVisibility = oo, exports.useVideoController = Ti;