@wistia/wistia-player-react 0.1.16 → 0.1.18

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.
@@ -2356,17 +2356,38 @@ var init_wistia_player = __esm({
2356
2356
  ((__unused_webpack___webpack_module__2, __webpack_exports__3, __webpack_require__3) => {
2357
2357
  __webpack_require__3.d(__webpack_exports__3, {
2358
2358
  /* harmony export */
2359
- N: () => (
2359
+ Ni: () => (
2360
2360
  /* binding */
2361
2361
  appHostname2
2362
+ ),
2363
+ /* harmony export */
2364
+ UM: () => (
2365
+ /* binding */
2366
+ getCloudDevHostname
2362
2367
  )
2363
2368
  /* harmony export */
2364
2369
  });
2370
+ var REGEX_CLOUD_DEV_BOX = /([a-z0-9-]+)-cde-([a-z0-9-]+)\.([a-z0-9-]+)\.wistia\.io/i;
2365
2371
  var appHostname2 = function appHostname3() {
2366
2372
  var subdomain = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "app";
2367
2373
  var hostname = "wistia.com";
2374
+ var cloudDevHostname = getCloudDevHostname(subdomain);
2375
+ if (cloudDevHostname) {
2376
+ return cloudDevHostname;
2377
+ }
2368
2378
  return "".concat(subdomain, ".").concat(hostname);
2369
2379
  };
2380
+ var getCloudDevHostname = function getCloudDevHostname2() {
2381
+ var subdomain = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "app";
2382
+ if (typeof window !== "undefined" && window.location) {
2383
+ var currentHost = window.location.hostname;
2384
+ var matches2 = REGEX_CLOUD_DEV_BOX.exec(currentHost);
2385
+ if (matches2) {
2386
+ return "".concat(subdomain, "-cde-").concat(matches2[2], ".").concat(matches2[3], ".wistia.io");
2387
+ }
2388
+ }
2389
+ return null;
2390
+ };
2370
2391
  })
2371
2392
  ),
2372
2393
  /***/
@@ -5345,7 +5366,7 @@ var init_wistia_player = __esm({
5345
5366
  function w(n) {
5346
5367
  var t2, r2 = function() {
5347
5368
  clearTimeout(u2), k && cancelAnimationFrame(t2), setTimeout(n);
5348
- }, u2 = setTimeout(r2, 100);
5369
+ }, u2 = setTimeout(r2, 35);
5349
5370
  k && (t2 = requestAnimationFrame(r2));
5350
5371
  }
5351
5372
  function z(n) {
@@ -6614,7 +6635,7 @@ var init_wistia_player = __esm({
6614
6635
  /* harmony export */
6615
6636
  XX: () => (
6616
6637
  /* binding */
6617
- E
6638
+ G
6618
6639
  ),
6619
6640
  /* harmony export */
6620
6641
  fF: () => (
@@ -6629,7 +6650,7 @@ var init_wistia_player = __esm({
6629
6650
  /* harmony export */
6630
6651
  q6: () => (
6631
6652
  /* binding */
6632
- K
6653
+ Q
6633
6654
  ),
6634
6655
  /* harmony export */
6635
6656
  uA: () => (
@@ -6638,7 +6659,7 @@ var init_wistia_player = __esm({
6638
6659
  )
6639
6660
  /* harmony export */
6640
6661
  });
6641
- var n, l, u, t, i2, r, o, e, f, c, s, a, h, p = {}, y = [], v = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, w = Array.isArray;
6662
+ var n, l, u, t, i2, r, o, e, f, c, s, a, h, p = {}, v = [], y = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, w = Array.isArray;
6642
6663
  function d(n2, l2) {
6643
6664
  for (var u2 in l2) n2[u2] = l2[u2];
6644
6665
  return n2;
@@ -6649,7 +6670,7 @@ var init_wistia_player = __esm({
6649
6670
  function _(l2, u2, t2) {
6650
6671
  var i3, r2, o2, e2 = {};
6651
6672
  for (o2 in u2) "key" == o2 ? i3 = u2[o2] : "ref" == o2 ? r2 = u2[o2] : e2[o2] = u2[o2];
6652
- if (arguments.length > 2 && (e2.children = arguments.length > 3 ? n.call(arguments, 2) : t2), "function" == typeof l2 && null != l2.defaultProps) for (o2 in l2.defaultProps) null == e2[o2] && (e2[o2] = l2.defaultProps[o2]);
6673
+ if (arguments.length > 2 && (e2.children = arguments.length > 3 ? n.call(arguments, 2) : t2), "function" == typeof l2 && null != l2.defaultProps) for (o2 in l2.defaultProps) void 0 === e2[o2] && (e2[o2] = l2.defaultProps[o2]);
6653
6674
  return m(l2, e2, i3, r2, null);
6654
6675
  }
6655
6676
  function m(n2, t2, i3, r2, o2) {
@@ -6684,27 +6705,27 @@ var init_wistia_player = __esm({
6684
6705
  (!n2.__d && (n2.__d = true) && i2.push(n2) && !$.__r++ || r != l.debounceRendering) && ((r = l.debounceRendering) || o)($);
6685
6706
  }
6686
6707
  function $() {
6687
- for (var n2, u2, t2, r2, o2, f2, c2, s2 = 1; i2.length; ) i2.length > s2 && i2.sort(e), n2 = i2.shift(), s2 = i2.length, n2.__d && (t2 = void 0, o2 = (r2 = (u2 = n2).__v).__e, f2 = [], c2 = [], u2.__P && ((t2 = d({}, r2)).__v = r2.__v + 1, l.vnode && l.vnode(t2), O(u2.__P, t2, r2, u2.__n, u2.__P.namespaceURI, 32 & r2.__u ? [o2] : null, f2, null == o2 ? S(r2) : o2, !!(32 & r2.__u), c2), t2.__v = r2.__v, t2.__.__k[t2.__i] = t2, z(f2, t2, c2), t2.__e != o2 && C(t2)));
6708
+ for (var n2, u2, t2, r2, o2, f2, c2, s2 = 1; i2.length; ) i2.length > s2 && i2.sort(e), n2 = i2.shift(), s2 = i2.length, n2.__d && (t2 = void 0, o2 = (r2 = (u2 = n2).__v).__e, f2 = [], c2 = [], u2.__P && ((t2 = d({}, r2)).__v = r2.__v + 1, l.vnode && l.vnode(t2), O(u2.__P, t2, r2, u2.__n, u2.__P.namespaceURI, 32 & r2.__u ? [o2] : null, f2, null == o2 ? S(r2) : o2, !!(32 & r2.__u), c2), t2.__v = r2.__v, t2.__.__k[t2.__i] = t2, N(f2, t2, c2), t2.__e != o2 && C(t2)));
6688
6709
  $.__r = 0;
6689
6710
  }
6690
6711
  function I(n2, l2, u2, t2, i3, r2, o2, e2, f2, c2, s2) {
6691
- var a2, h2, v2, w2, d2, g2, _2 = t2 && t2.__k || y, m2 = l2.length;
6692
- for (f2 = P(u2, l2, _2, f2, m2), a2 = 0; a2 < m2; a2++) null != (v2 = u2.__k[a2]) && (h2 = -1 == v2.__i ? p : _2[v2.__i] || p, v2.__i = a2, g2 = O(n2, v2, h2, i3, r2, o2, e2, f2, c2, s2), w2 = v2.__e, v2.ref && h2.ref != v2.ref && (h2.ref && q(h2.ref, null, v2), s2.push(v2.ref, v2.__c || w2, v2)), null == d2 && null != w2 && (d2 = w2), 4 & v2.__u || h2.__k === v2.__k ? f2 = A(v2, f2, n2) : "function" == typeof v2.type && void 0 !== g2 ? f2 = g2 : w2 && (f2 = w2.nextSibling), v2.__u &= -7);
6712
+ var a2, h2, y2, w2, d2, g2, _2, m2 = t2 && t2.__k || v, b2 = l2.length;
6713
+ for (f2 = P(u2, l2, m2, f2, b2), a2 = 0; a2 < b2; a2++) null != (y2 = u2.__k[a2]) && (h2 = -1 == y2.__i ? p : m2[y2.__i] || p, y2.__i = a2, g2 = O(n2, y2, h2, i3, r2, o2, e2, f2, c2, s2), w2 = y2.__e, y2.ref && h2.ref != y2.ref && (h2.ref && B(h2.ref, null, y2), s2.push(y2.ref, y2.__c || w2, y2)), null == d2 && null != w2 && (d2 = w2), (_2 = !!(4 & y2.__u)) || h2.__k === y2.__k ? f2 = A(y2, f2, n2, _2) : "function" == typeof y2.type && void 0 !== g2 ? f2 = g2 : w2 && (f2 = w2.nextSibling), y2.__u &= -7);
6693
6714
  return u2.__e = d2, f2;
6694
6715
  }
6695
6716
  function P(n2, l2, u2, t2, i3) {
6696
6717
  var r2, o2, e2, f2, c2, s2 = u2.length, a2 = s2, h2 = 0;
6697
6718
  for (n2.__k = new Array(i3), r2 = 0; r2 < i3; r2++) null != (o2 = l2[r2]) && "boolean" != typeof o2 && "function" != typeof o2 ? (f2 = r2 + h2, (o2 = n2.__k[r2] = "string" == typeof o2 || "number" == typeof o2 || "bigint" == typeof o2 || o2.constructor == String ? m(null, o2, null, null, null) : w(o2) ? m(k, { children: o2 }, null, null, null) : null == o2.constructor && o2.__b > 0 ? m(o2.type, o2.props, o2.key, o2.ref ? o2.ref : null, o2.__v) : o2).__ = n2, o2.__b = n2.__b + 1, e2 = null, -1 != (c2 = o2.__i = L(o2, u2, f2, a2)) && (a2--, (e2 = u2[c2]) && (e2.__u |= 2)), null == e2 || null == e2.__v ? (-1 == c2 && (i3 > s2 ? h2-- : i3 < s2 && h2++), "function" != typeof o2.type && (o2.__u |= 4)) : c2 != f2 && (c2 == f2 - 1 ? h2-- : c2 == f2 + 1 ? h2++ : (c2 > f2 ? h2-- : h2++, o2.__u |= 4))) : n2.__k[r2] = null;
6698
- if (a2) for (r2 = 0; r2 < s2; r2++) null != (e2 = u2[r2]) && 0 == (2 & e2.__u) && (e2.__e == t2 && (t2 = S(e2)), B(e2, e2));
6719
+ if (a2) for (r2 = 0; r2 < s2; r2++) null != (e2 = u2[r2]) && 0 == (2 & e2.__u) && (e2.__e == t2 && (t2 = S(e2)), D(e2, e2));
6699
6720
  return t2;
6700
6721
  }
6701
- function A(n2, l2, u2) {
6702
- var t2, i3;
6722
+ function A(n2, l2, u2, t2) {
6723
+ var i3, r2;
6703
6724
  if ("function" == typeof n2.type) {
6704
- for (t2 = n2.__k, i3 = 0; t2 && i3 < t2.length; i3++) t2[i3] && (t2[i3].__ = n2, l2 = A(t2[i3], l2, u2));
6725
+ for (i3 = n2.__k, r2 = 0; i3 && r2 < i3.length; r2++) i3[r2] && (i3[r2].__ = n2, l2 = A(i3[r2], l2, u2, t2));
6705
6726
  return l2;
6706
6727
  }
6707
- n2.__e != l2 && (l2 && n2.type && !u2.contains(l2) && (l2 = S(n2)), u2.insertBefore(n2.__e, l2 || null), l2 = n2.__e);
6728
+ n2.__e != l2 && (t2 && (l2 && n2.type && !l2.parentNode && (l2 = S(n2)), u2.insertBefore(n2.__e, l2 || null)), l2 = n2.__e);
6708
6729
  do {
6709
6730
  l2 = l2 && l2.nextSibling;
6710
6731
  } while (null != l2 && 8 == l2.nodeType);
@@ -6716,31 +6737,24 @@ var init_wistia_player = __esm({
6716
6737
  }) : l2.push(n2)), l2;
6717
6738
  }
6718
6739
  function L(n2, l2, u2, t2) {
6719
- var i3, r2, o2 = n2.key, e2 = n2.type, f2 = l2[u2];
6720
- if (null === f2 && null == n2.key || f2 && o2 == f2.key && e2 == f2.type && 0 == (2 & f2.__u)) return u2;
6721
- if (t2 > (null != f2 && 0 == (2 & f2.__u) ? 1 : 0)) for (i3 = u2 - 1, r2 = u2 + 1; i3 >= 0 || r2 < l2.length; ) {
6722
- if (i3 >= 0) {
6723
- if ((f2 = l2[i3]) && 0 == (2 & f2.__u) && o2 == f2.key && e2 == f2.type) return i3;
6724
- i3--;
6725
- }
6726
- if (r2 < l2.length) {
6727
- if ((f2 = l2[r2]) && 0 == (2 & f2.__u) && o2 == f2.key && e2 == f2.type) return r2;
6728
- r2++;
6729
- }
6740
+ var i3, r2, o2, e2 = n2.key, f2 = n2.type, c2 = l2[u2], s2 = null != c2 && 0 == (2 & c2.__u);
6741
+ if (null === c2 && null == n2.key || s2 && e2 == c2.key && f2 == c2.type) return u2;
6742
+ if (t2 > (s2 ? 1 : 0)) {
6743
+ for (i3 = u2 - 1, r2 = u2 + 1; i3 >= 0 || r2 < l2.length; ) if (null != (c2 = l2[o2 = i3 >= 0 ? i3-- : r2++]) && 0 == (2 & c2.__u) && e2 == c2.key && f2 == c2.type) return o2;
6730
6744
  }
6731
6745
  return -1;
6732
6746
  }
6733
6747
  function T(n2, l2, u2) {
6734
- "-" == l2[0] ? n2.setProperty(l2, null == u2 ? "" : u2) : n2[l2] = null == u2 ? "" : "number" != typeof u2 || v.test(l2) ? u2 : u2 + "px";
6748
+ "-" == l2[0] ? n2.setProperty(l2, null == u2 ? "" : u2) : n2[l2] = null == u2 ? "" : "number" != typeof u2 || y.test(l2) ? u2 : u2 + "px";
6735
6749
  }
6736
6750
  function j(n2, l2, u2, t2, i3) {
6737
- var r2;
6751
+ var r2, o2;
6738
6752
  n: if ("style" == l2) if ("string" == typeof u2) n2.style.cssText = u2;
6739
6753
  else {
6740
6754
  if ("string" == typeof t2 && (n2.style.cssText = t2 = ""), t2) for (l2 in t2) u2 && l2 in u2 || T(n2.style, l2, "");
6741
6755
  if (u2) for (l2 in u2) t2 && u2[l2] == t2[l2] || T(n2.style, l2, u2[l2]);
6742
6756
  }
6743
- else if ("o" == l2[0] && "n" == l2[1]) r2 = l2 != (l2 = l2.replace(f, "$1")), l2 = l2.toLowerCase() in n2 || "onFocusOut" == l2 || "onFocusIn" == l2 ? l2.toLowerCase().slice(2) : l2.slice(2), n2.l || (n2.l = {}), n2.l[l2 + r2] = u2, u2 ? t2 ? u2.u = t2.u : (u2.u = c, n2.addEventListener(l2, r2 ? a : s, r2)) : n2.removeEventListener(l2, r2 ? a : s, r2);
6757
+ else if ("o" == l2[0] && "n" == l2[1]) r2 = l2 != (l2 = l2.replace(f, "$1")), o2 = l2.toLowerCase(), l2 = o2 in n2 || "onFocusOut" == l2 || "onFocusIn" == l2 ? o2.slice(2) : l2.slice(2), n2.l || (n2.l = {}), n2.l[l2 + r2] = u2, u2 ? t2 ? u2.u = t2.u : (u2.u = c, n2.addEventListener(l2, r2 ? a : s, r2)) : n2.removeEventListener(l2, r2 ? a : s, r2);
6744
6758
  else {
6745
6759
  if ("http://www.w3.org/2000/svg" == i3) l2 = l2.replace(/xlink(H|:h)/, "h").replace(/sName$/, "s");
6746
6760
  else if ("width" != l2 && "height" != l2 && "href" != l2 && "list" != l2 && "form" != l2 && "tabIndex" != l2 && "download" != l2 && "rowSpan" != l2 && "colSpan" != l2 && "role" != l2 && "popover" != l2 && l2 in n2) try {
@@ -6762,13 +6776,13 @@ var init_wistia_player = __esm({
6762
6776
  };
6763
6777
  }
6764
6778
  function O(n2, u2, t2, i3, r2, o2, e2, f2, c2, s2) {
6765
- var a2, h2, p2, y2, v2, _2, m2, b2, S2, C2, M2, $2, P2, A2, H2, L2, T2, j2 = u2.type;
6779
+ var a2, h2, p2, v2, y2, _2, m2, b2, S2, C2, M2, $2, P2, A2, H2, L2, T2, j2 = u2.type;
6766
6780
  if (null != u2.constructor) return null;
6767
6781
  128 & t2.__u && (c2 = !!(32 & t2.__u), o2 = [f2 = u2.__e = t2.__e]), (a2 = l.__b) && a2(u2);
6768
6782
  n: if ("function" == typeof j2) try {
6769
- if (b2 = u2.props, S2 = "prototype" in j2 && j2.prototype.render, C2 = (a2 = j2.contextType) && i3[a2.__c], M2 = a2 ? C2 ? C2.props.value : a2.__ : i3, t2.__c ? m2 = (h2 = u2.__c = t2.__c).__ = h2.__E : (S2 ? u2.__c = h2 = new j2(b2, M2) : (u2.__c = h2 = new x(b2, M2), h2.constructor = j2, h2.render = D), C2 && C2.sub(h2), h2.props = b2, h2.state || (h2.state = {}), h2.context = M2, h2.__n = i3, p2 = h2.__d = true, h2.__h = [], h2._sb = []), S2 && null == h2.__s && (h2.__s = h2.state), S2 && null != j2.getDerivedStateFromProps && (h2.__s == h2.state && (h2.__s = d({}, h2.__s)), d(h2.__s, j2.getDerivedStateFromProps(b2, h2.__s))), y2 = h2.props, v2 = h2.state, h2.__v = u2, p2) S2 && null == j2.getDerivedStateFromProps && null != h2.componentWillMount && h2.componentWillMount(), S2 && null != h2.componentDidMount && h2.__h.push(h2.componentDidMount);
6783
+ if (b2 = u2.props, S2 = "prototype" in j2 && j2.prototype.render, C2 = (a2 = j2.contextType) && i3[a2.__c], M2 = a2 ? C2 ? C2.props.value : a2.__ : i3, t2.__c ? m2 = (h2 = u2.__c = t2.__c).__ = h2.__E : (S2 ? u2.__c = h2 = new j2(b2, M2) : (u2.__c = h2 = new x(b2, M2), h2.constructor = j2, h2.render = E), C2 && C2.sub(h2), h2.props = b2, h2.state || (h2.state = {}), h2.context = M2, h2.__n = i3, p2 = h2.__d = true, h2.__h = [], h2._sb = []), S2 && null == h2.__s && (h2.__s = h2.state), S2 && null != j2.getDerivedStateFromProps && (h2.__s == h2.state && (h2.__s = d({}, h2.__s)), d(h2.__s, j2.getDerivedStateFromProps(b2, h2.__s))), v2 = h2.props, y2 = h2.state, h2.__v = u2, p2) S2 && null == j2.getDerivedStateFromProps && null != h2.componentWillMount && h2.componentWillMount(), S2 && null != h2.componentDidMount && h2.__h.push(h2.componentDidMount);
6770
6784
  else {
6771
- if (S2 && null == j2.getDerivedStateFromProps && b2 !== y2 && null != h2.componentWillReceiveProps && h2.componentWillReceiveProps(b2, M2), !h2.__e && null != h2.shouldComponentUpdate && false === h2.shouldComponentUpdate(b2, h2.__s, M2) || u2.__v == t2.__v) {
6785
+ if (S2 && null == j2.getDerivedStateFromProps && b2 !== v2 && null != h2.componentWillReceiveProps && h2.componentWillReceiveProps(b2, M2), !h2.__e && null != h2.shouldComponentUpdate && false === h2.shouldComponentUpdate(b2, h2.__s, M2) || u2.__v == t2.__v) {
6772
6786
  for (u2.__v != t2.__v && (h2.props = b2, h2.state = h2.__s, h2.__d = false), u2.__e = t2.__e, u2.__k = t2.__k, u2.__k.some(function(n3) {
6773
6787
  n3 && (n3.__ = u2);
6774
6788
  }), $2 = 0; $2 < h2._sb.length; $2++) h2.__h.push(h2._sb[$2]);
@@ -6776,7 +6790,7 @@ var init_wistia_player = __esm({
6776
6790
  break n;
6777
6791
  }
6778
6792
  null != h2.componentWillUpdate && h2.componentWillUpdate(b2, h2.__s, M2), S2 && null != h2.componentDidUpdate && h2.__h.push(function() {
6779
- h2.componentDidUpdate(y2, v2, _2);
6793
+ h2.componentDidUpdate(v2, y2, _2);
6780
6794
  });
6781
6795
  }
6782
6796
  if (h2.context = M2, h2.props = b2, h2.__P = n2, h2.__e = false, P2 = l.__r, A2 = 0, S2) {
@@ -6785,20 +6799,26 @@ var init_wistia_player = __esm({
6785
6799
  } else do {
6786
6800
  h2.__d = false, P2 && P2(u2), a2 = h2.render(h2.props, h2.state, h2.context), h2.state = h2.__s;
6787
6801
  } while (h2.__d && ++A2 < 25);
6788
- h2.state = h2.__s, null != h2.getChildContext && (i3 = d(d({}, i3), h2.getChildContext())), S2 && !p2 && null != h2.getSnapshotBeforeUpdate && (_2 = h2.getSnapshotBeforeUpdate(y2, v2)), L2 = a2, null != a2 && a2.type === k && null == a2.key && (L2 = N(a2.props.children)), f2 = I(n2, w(L2) ? L2 : [L2], u2, t2, i3, r2, o2, e2, f2, c2, s2), h2.base = u2.__e, u2.__u &= -161, h2.__h.length && e2.push(h2), m2 && (h2.__E = h2.__ = null);
6802
+ h2.state = h2.__s, null != h2.getChildContext && (i3 = d(d({}, i3), h2.getChildContext())), S2 && !p2 && null != h2.getSnapshotBeforeUpdate && (_2 = h2.getSnapshotBeforeUpdate(v2, y2)), L2 = a2, null != a2 && a2.type === k && null == a2.key && (L2 = V(a2.props.children)), f2 = I(n2, w(L2) ? L2 : [L2], u2, t2, i3, r2, o2, e2, f2, c2, s2), h2.base = u2.__e, u2.__u &= -161, h2.__h.length && e2.push(h2), m2 && (h2.__E = h2.__ = null);
6789
6803
  } catch (n3) {
6790
6804
  if (u2.__v = null, c2 || null != o2) if (n3.then) {
6791
6805
  for (u2.__u |= c2 ? 160 : 128; f2 && 8 == f2.nodeType && f2.nextSibling; ) f2 = f2.nextSibling;
6792
6806
  o2[o2.indexOf(f2)] = null, u2.__e = f2;
6793
- } else for (T2 = o2.length; T2--; ) g(o2[T2]);
6794
- else u2.__e = t2.__e, u2.__k = t2.__k;
6807
+ } else {
6808
+ for (T2 = o2.length; T2--; ) g(o2[T2]);
6809
+ z(u2);
6810
+ }
6811
+ else u2.__e = t2.__e, u2.__k = t2.__k, n3.then || z(u2);
6795
6812
  l.__e(n3, u2, t2);
6796
6813
  }
6797
- else null == o2 && u2.__v == t2.__v ? (u2.__k = t2.__k, u2.__e = t2.__e) : f2 = u2.__e = V(t2.__e, u2, t2, i3, r2, o2, e2, c2, s2);
6814
+ else null == o2 && u2.__v == t2.__v ? (u2.__k = t2.__k, u2.__e = t2.__e) : f2 = u2.__e = q(t2.__e, u2, t2, i3, r2, o2, e2, c2, s2);
6798
6815
  return (a2 = l.diffed) && a2(u2), 128 & u2.__u ? void 0 : f2;
6799
6816
  }
6800
- function z(n2, u2, t2) {
6801
- for (var i3 = 0; i3 < t2.length; i3++) q(t2[i3], t2[++i3], t2[++i3]);
6817
+ function z(n2) {
6818
+ n2 && n2.__c && (n2.__c.__e = true), n2 && n2.__k && n2.__k.forEach(z);
6819
+ }
6820
+ function N(n2, u2, t2) {
6821
+ for (var i3 = 0; i3 < t2.length; i3++) B(t2[i3], t2[++i3], t2[++i3]);
6802
6822
  l.__c && l.__c(u2, n2), n2.some(function(u3) {
6803
6823
  try {
6804
6824
  n2 = u3.__h, u3.__h = [], n2.some(function(n3) {
@@ -6809,11 +6829,11 @@ var init_wistia_player = __esm({
6809
6829
  }
6810
6830
  });
6811
6831
  }
6812
- function N(n2) {
6813
- return "object" != typeof n2 || null == n2 || n2.__b && n2.__b > 0 ? n2 : w(n2) ? n2.map(N) : d({}, n2);
6832
+ function V(n2) {
6833
+ return "object" != typeof n2 || null == n2 || n2.__b && n2.__b > 0 ? n2 : w(n2) ? n2.map(V) : d({}, n2);
6814
6834
  }
6815
- function V(u2, t2, i3, r2, o2, e2, f2, c2, s2) {
6816
- var a2, h2, y2, v2, d2, _2, m2, b2 = i3.props, k2 = t2.props, x2 = t2.type;
6835
+ function q(u2, t2, i3, r2, o2, e2, f2, c2, s2) {
6836
+ var a2, h2, v2, y2, d2, _2, m2, b2 = i3.props, k2 = t2.props, x2 = t2.type;
6817
6837
  if ("svg" == x2 ? o2 = "http://www.w3.org/2000/svg" : "math" == x2 ? o2 = "http://www.w3.org/1998/Math/MathML" : o2 || (o2 = "http://www.w3.org/1999/xhtml"), null != e2) {
6818
6838
  for (a2 = 0; a2 < e2.length; a2++) if ((d2 = e2[a2]) && "setAttribute" in d2 == !!x2 && (x2 ? d2.localName == x2 : 3 == d2.nodeType)) {
6819
6839
  u2 = d2, e2[a2] = null;
@@ -6828,19 +6848,19 @@ var init_wistia_player = __esm({
6828
6848
  else {
6829
6849
  if (e2 = e2 && n.call(u2.childNodes), b2 = i3.props || p, !c2 && null != e2) for (b2 = {}, a2 = 0; a2 < u2.attributes.length; a2++) b2[(d2 = u2.attributes[a2]).name] = d2.value;
6830
6850
  for (a2 in b2) if (d2 = b2[a2], "children" == a2) ;
6831
- else if ("dangerouslySetInnerHTML" == a2) y2 = d2;
6851
+ else if ("dangerouslySetInnerHTML" == a2) v2 = d2;
6832
6852
  else if (!(a2 in k2)) {
6833
6853
  if ("value" == a2 && "defaultValue" in k2 || "checked" == a2 && "defaultChecked" in k2) continue;
6834
6854
  j(u2, a2, null, d2, o2);
6835
6855
  }
6836
- for (a2 in k2) d2 = k2[a2], "children" == a2 ? v2 = d2 : "dangerouslySetInnerHTML" == a2 ? h2 = d2 : "value" == a2 ? _2 = d2 : "checked" == a2 ? m2 = d2 : c2 && "function" != typeof d2 || b2[a2] === d2 || j(u2, a2, d2, b2[a2], o2);
6837
- if (h2) c2 || y2 && (h2.__html == y2.__html || h2.__html == u2.innerHTML) || (u2.innerHTML = h2.__html), t2.__k = [];
6838
- else if (y2 && (u2.innerHTML = ""), I("template" == t2.type ? u2.content : u2, w(v2) ? v2 : [v2], t2, i3, r2, "foreignObject" == x2 ? "http://www.w3.org/1999/xhtml" : o2, e2, f2, e2 ? e2[0] : i3.__k && S(i3, 0), c2, s2), null != e2) for (a2 = e2.length; a2--; ) g(e2[a2]);
6856
+ for (a2 in k2) d2 = k2[a2], "children" == a2 ? y2 = d2 : "dangerouslySetInnerHTML" == a2 ? h2 = d2 : "value" == a2 ? _2 = d2 : "checked" == a2 ? m2 = d2 : c2 && "function" != typeof d2 || b2[a2] === d2 || j(u2, a2, d2, b2[a2], o2);
6857
+ if (h2) c2 || v2 && (h2.__html == v2.__html || h2.__html == u2.innerHTML) || (u2.innerHTML = h2.__html), t2.__k = [];
6858
+ else if (v2 && (u2.innerHTML = ""), I("template" == t2.type ? u2.content : u2, w(y2) ? y2 : [y2], t2, i3, r2, "foreignObject" == x2 ? "http://www.w3.org/1999/xhtml" : o2, e2, f2, e2 ? e2[0] : i3.__k && S(i3, 0), c2, s2), null != e2) for (a2 = e2.length; a2--; ) g(e2[a2]);
6839
6859
  c2 || (a2 = "value", "progress" == x2 && null == _2 ? u2.removeAttribute("value") : null != _2 && (_2 !== u2[a2] || "progress" == x2 && !_2 || "option" == x2 && _2 != b2[a2]) && j(u2, a2, _2, b2[a2], o2), a2 = "checked", null != m2 && m2 != u2[a2] && j(u2, a2, m2, b2[a2], o2));
6840
6860
  }
6841
6861
  return u2;
6842
6862
  }
6843
- function q(n2, u2, t2) {
6863
+ function B(n2, u2, t2) {
6844
6864
  try {
6845
6865
  if ("function" == typeof n2) {
6846
6866
  var i3 = "function" == typeof n2.__u;
@@ -6850,9 +6870,9 @@ var init_wistia_player = __esm({
6850
6870
  l.__e(n3, t2);
6851
6871
  }
6852
6872
  }
6853
- function B(n2, u2, t2) {
6873
+ function D(n2, u2, t2) {
6854
6874
  var i3, r2;
6855
- if (l.unmount && l.unmount(n2), (i3 = n2.ref) && (i3.current && i3.current != n2.__e || q(i3, null, u2)), null != (i3 = n2.__c)) {
6875
+ if (l.unmount && l.unmount(n2), (i3 = n2.ref) && (i3.current && i3.current != n2.__e || B(i3, null, u2)), null != (i3 = n2.__c)) {
6856
6876
  if (i3.componentWillUnmount) try {
6857
6877
  i3.componentWillUnmount();
6858
6878
  } catch (n3) {
@@ -6860,25 +6880,25 @@ var init_wistia_player = __esm({
6860
6880
  }
6861
6881
  i3.base = i3.__P = null;
6862
6882
  }
6863
- if (i3 = n2.__k) for (r2 = 0; r2 < i3.length; r2++) i3[r2] && B(i3[r2], u2, t2 || "function" != typeof n2.type);
6883
+ if (i3 = n2.__k) for (r2 = 0; r2 < i3.length; r2++) i3[r2] && D(i3[r2], u2, t2 || "function" != typeof n2.type);
6864
6884
  t2 || g(n2.__e), n2.__c = n2.__ = n2.__e = void 0;
6865
6885
  }
6866
- function D(n2, l2, u2) {
6886
+ function E(n2, l2, u2) {
6867
6887
  return this.constructor(n2, u2);
6868
6888
  }
6869
- function E(u2, t2, i3) {
6889
+ function G(u2, t2, i3) {
6870
6890
  var r2, o2, e2, f2;
6871
- t2 == document && (t2 = document.documentElement), l.__ && l.__(u2, t2), o2 = (r2 = "function" == typeof i3) ? null : i3 && i3.__k || t2.__k, e2 = [], f2 = [], O(t2, u2 = (!r2 && i3 || t2).__k = _(k, null, [u2]), o2 || p, p, t2.namespaceURI, !r2 && i3 ? [i3] : o2 ? null : t2.firstChild ? n.call(t2.childNodes) : null, e2, !r2 && i3 ? i3 : o2 ? o2.__e : t2.firstChild, r2, f2), z(e2, u2, f2);
6891
+ t2 == document && (t2 = document.documentElement), l.__ && l.__(u2, t2), o2 = (r2 = "function" == typeof i3) ? null : i3 && i3.__k || t2.__k, e2 = [], f2 = [], O(t2, u2 = (!r2 && i3 || t2).__k = _(k, null, [u2]), o2 || p, p, t2.namespaceURI, !r2 && i3 ? [i3] : o2 ? null : t2.firstChild ? n.call(t2.childNodes) : null, e2, !r2 && i3 ? i3 : o2 ? o2.__e : t2.firstChild, r2, f2), N(e2, u2, f2);
6872
6892
  }
6873
- function G(n2, l2) {
6874
- E(n2, l2, G);
6893
+ function J(n2, l2) {
6894
+ G(n2, l2, J);
6875
6895
  }
6876
- function J(l2, u2, t2) {
6896
+ function K(l2, u2, t2) {
6877
6897
  var i3, r2, o2, e2, f2 = d({}, l2.props);
6878
- for (o2 in l2.type && l2.type.defaultProps && (e2 = l2.type.defaultProps), u2) "key" == o2 ? i3 = u2[o2] : "ref" == o2 ? r2 = u2[o2] : f2[o2] = null == u2[o2] && null != e2 ? e2[o2] : u2[o2];
6898
+ for (o2 in l2.type && l2.type.defaultProps && (e2 = l2.type.defaultProps), u2) "key" == o2 ? i3 = u2[o2] : "ref" == o2 ? r2 = u2[o2] : f2[o2] = void 0 === u2[o2] && null != e2 ? e2[o2] : u2[o2];
6879
6899
  return arguments.length > 2 && (f2.children = arguments.length > 3 ? n.call(arguments, 2) : t2), m(l2.type, f2, i3 || l2.key, r2 || l2.ref, null);
6880
6900
  }
6881
- function K(n2) {
6901
+ function Q(n2) {
6882
6902
  function l2(n3) {
6883
6903
  var u2, t2;
6884
6904
  return this.getChildContext || (u2 = /* @__PURE__ */ new Set(), (t2 = {})[l2.__c] = this, this.getChildContext = function() {
@@ -6901,7 +6921,7 @@ var init_wistia_player = __esm({
6901
6921
  return n3.children(l3);
6902
6922
  }).contextType = l2, l2;
6903
6923
  }
6904
- n = y.slice, l = { __e: function(n2, l2, u2, t2) {
6924
+ n = v.slice, l = { __e: function(n2, l2, u2, t2) {
6905
6925
  for (var i3, r2, o2; l2 = l2.__; ) if ((i3 = l2.__c) && !i3.__) try {
6906
6926
  if ((r2 = i3.constructor) && null != r2.getDerivedStateFromError && (i3.setState(r2.getDerivedStateFromError(n2)), o2 = i3.__d), null != i3.componentDidCatch && (i3.componentDidCatch(n2, t2 || {}), o2 = i3.__d), o2) return i3.__E = i3;
6907
6927
  } catch (l3) {
@@ -8342,9 +8362,9 @@ var init_wistia_player = __esm({
8342
8362
  var utilities_root_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__3(8176);
8343
8363
  var utilities_url_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__3(2671);
8344
8364
  var _appHostname_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__3(787);
8345
- var APP_WISTIA_COM = (0, _appHostname_js__WEBPACK_IMPORTED_MODULE_2__.N)("app");
8346
- var CDN_FAST_PROTECTED_WISTIA_COM = (0, _appHostname_js__WEBPACK_IMPORTED_MODULE_2__.N)("fast-protected");
8347
- var CDN_FAST_WISTIA_COM = (0, _appHostname_js__WEBPACK_IMPORTED_MODULE_2__.N)("fast");
8365
+ var APP_WISTIA_COM = (0, _appHostname_js__WEBPACK_IMPORTED_MODULE_2__.Ni)("app");
8366
+ var CDN_FAST_PROTECTED_WISTIA_COM = (0, _appHostname_js__WEBPACK_IMPORTED_MODULE_2__.Ni)("fast-protected");
8367
+ var CDN_FAST_WISTIA_COM = (0, _appHostname_js__WEBPACK_IMPORTED_MODULE_2__.Ni)("fast");
8348
8368
  var CDN_FAST_WISTIA_CANARY = "fast-canary.wistia.net";
8349
8369
  var EMBED_HOST = "embed.wistia.com";
8350
8370
  var PROD_FAST_HOSTNAME_NET = "fast.wistia.net";
@@ -8353,7 +8373,7 @@ var init_wistia_player = __esm({
8353
8373
  var PROD_SSL_EMBED_HOST = "embed-ssl.wistia.com";
8354
8374
  var PROD_FASTLY_SSL_HOST = "embed-fastly.wistia.com";
8355
8375
  var SSL_EMBED_HOST = "embed-ssl.wistia.com";
8356
- var TAGGED_VERSION2 = "0.1.16";
8376
+ var TAGGED_VERSION2 = "0.1.18";
8357
8377
  var CURRENT_SHA2 = (
8358
8378
  /* unused pure expression or super */
8359
8379
  null
@@ -8374,11 +8394,22 @@ var init_wistia_player = __esm({
8374
8394
  var appHost = function appHost2() {
8375
8395
  return APP_WISTIA_COM;
8376
8396
  };
8397
+ var getCloudDevFastHostname = function getCloudDevFastHostname2() {
8398
+ var fastCloudDevHostname = (0, _appHostname_js__WEBPACK_IMPORTED_MODULE_2__.UM)("fast");
8399
+ if (fastCloudDevHostname) {
8400
+ return fastCloudDevHostname;
8401
+ }
8402
+ return null;
8403
+ };
8377
8404
  var cdnFastWistiaComHost = function cdnFastWistiaComHost2() {
8378
8405
  var embedHost = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : void 0;
8379
8406
  if (embedHost) {
8380
8407
  return embedHost;
8381
8408
  }
8409
+ var cloudDevHostname = getCloudDevFastHostname();
8410
+ if (cloudDevHostname) {
8411
+ return cloudDevHostname;
8412
+ }
8382
8413
  return CDN_FAST_WISTIA_COM;
8383
8414
  };
8384
8415
  var cdnFastProtectedWistiaComHost = function cdnFastProtectedWistiaComHost2(assetHost) {
@@ -8388,6 +8419,10 @@ var init_wistia_player = __esm({
8388
8419
  return CDN_FAST_PROTECTED_WISTIA_COM;
8389
8420
  };
8390
8421
  var cdnFastWistiaNetHost = function cdnFastWistiaNetHost2() {
8422
+ var cloudDevHostname = getCloudDevFastHostname();
8423
+ if (cloudDevHostname) {
8424
+ return cloudDevHostname;
8425
+ }
8391
8426
  var hostName = "wistia.net";
8392
8427
  return "fast.".concat(hostName);
8393
8428
  };
@@ -9807,7 +9842,7 @@ var init_wistia_player = __esm({
9807
9842
  };
9808
9843
  });
9809
9844
  };
9810
- var FAST_HOSTNAME = (0, _appHostname_js__WEBPACK_IMPORTED_MODULE_5__.N)("fast");
9845
+ var FAST_HOSTNAME = (0, _appHostname_js__WEBPACK_IMPORTED_MODULE_5__.Ni)("fast");
9811
9846
  var stillUrl = function stillUrl2(assets) {
9812
9847
  var options = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
9813
9848
  var stillAsset = still(assets);
@@ -9891,10 +9926,10 @@ var init_wistia_player = __esm({
9891
9926
  var BAKERY_HOSTS = [
9892
9927
  utilities_hosts_js__WEBPACK_IMPORTED_MODULE_3__.pK,
9893
9928
  utilities_hosts_js__WEBPACK_IMPORTED_MODULE_3__.cu,
9894
- (0, _appHostname_js__WEBPACK_IMPORTED_MODULE_5__.N)("embed"),
9895
- (0, _appHostname_js__WEBPACK_IMPORTED_MODULE_5__.N)("prime"),
9896
- (0, _appHostname_js__WEBPACK_IMPORTED_MODULE_5__.N)("mixergy-cdn"),
9897
- (0, _appHostname_js__WEBPACK_IMPORTED_MODULE_5__.N)("embed-fastly"),
9929
+ (0, _appHostname_js__WEBPACK_IMPORTED_MODULE_5__.Ni)("embed"),
9930
+ (0, _appHostname_js__WEBPACK_IMPORTED_MODULE_5__.Ni)("prime"),
9931
+ (0, _appHostname_js__WEBPACK_IMPORTED_MODULE_5__.Ni)("mixergy-cdn"),
9932
+ (0, _appHostname_js__WEBPACK_IMPORTED_MODULE_5__.Ni)("embed-fastly"),
9898
9933
  // XXX: akamai test
9899
9934
  utilities_hosts_js__WEBPACK_IMPORTED_MODULE_3__.hk,
9900
9935
  utilities_hosts_js__WEBPACK_IMPORTED_MODULE_3__.iD,
@@ -13716,7 +13751,7 @@ var init_wistia_player = __esm({
13716
13751
  _classPrivateFieldInitSpec(_this2, _playPending, false);
13717
13752
  _classPrivateFieldInitSpec(_this2, _preactRoot, null);
13718
13753
  _classPrivateFieldInitSpec(_this2, _preloadThumbnailRoot, null);
13719
- _classPrivateFieldInitSpec(_this2, _publicApiScript, (0, _utilities_runScript_js__WEBPACK_IMPORTED_MODULE_21__.j)("".concat((0, _utilities_url_js__WEBPACK_IMPORTED_MODULE_26__.ff)(), "//").concat((0, _appHostname_js__WEBPACK_IMPORTED_MODULE_8__.N)("fast"), "/assets/external/publicApi.js")));
13754
+ _classPrivateFieldInitSpec(_this2, _publicApiScript, (0, _utilities_runScript_js__WEBPACK_IMPORTED_MODULE_21__.j)("".concat((0, _utilities_url_js__WEBPACK_IMPORTED_MODULE_26__.ff)(), "//").concat((0, _appHostname_js__WEBPACK_IMPORTED_MODULE_8__.Ni)("fast"), "/assets/external/publicApi.js")));
13720
13755
  _classPrivateFieldInitSpec(_this2, _resizeObserver, null);
13721
13756
  _classPrivateFieldInitSpec(_this2, _handleAfterReplace, function() {
13722
13757
  _assertClassBrand(_WistiaPlayer_brand, _this2, _maybeInjectJsonLd).call(_this2);
@@ -8,7 +8,7 @@ import {
8
8
  import { forwardRef, Suspense, lazy, Fragment } from "react";
9
9
  import { jsx, jsxs } from "react/jsx-runtime";
10
10
  var WistiaPlayerWrapper = lazy(
11
- async () => import("./WistiaPlayerWrapper-CCITGXS2.mjs").then((module) => ({
11
+ async () => import("./WistiaPlayerWrapper-3MQN32CX.mjs").then((module) => ({
12
12
  default: module.WistiaPlayerWrapper
13
13
  }))
14
14
  );
@@ -37,7 +37,7 @@ var WistiaPlayerWrapper = forwardRef(
37
37
  setSwatchAspectRatio(ratio);
38
38
  });
39
39
  }
40
- void import("./wistia-player-PFMOAIC4.mjs");
40
+ void import("./wistia-player-4LWDVQO3.mjs");
41
41
  void customElements.whenDefined("wistia-player").then(() => {
42
42
  setIsWistiaPlayerDefined(true);
43
43
  });
@@ -1503,17 +1503,38 @@ var __webpack_modules__ = {
1503
1503
  ((__unused_webpack___webpack_module__2, __webpack_exports__3, __webpack_require__3) => {
1504
1504
  __webpack_require__3.d(__webpack_exports__3, {
1505
1505
  /* harmony export */
1506
- N: () => (
1506
+ Ni: () => (
1507
1507
  /* binding */
1508
1508
  appHostname2
1509
+ ),
1510
+ /* harmony export */
1511
+ UM: () => (
1512
+ /* binding */
1513
+ getCloudDevHostname
1509
1514
  )
1510
1515
  /* harmony export */
1511
1516
  });
1517
+ var REGEX_CLOUD_DEV_BOX = /([a-z0-9-]+)-cde-([a-z0-9-]+)\.([a-z0-9-]+)\.wistia\.io/i;
1512
1518
  var appHostname2 = function appHostname3() {
1513
1519
  var subdomain = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "app";
1514
1520
  var hostname = "wistia.com";
1521
+ var cloudDevHostname = getCloudDevHostname(subdomain);
1522
+ if (cloudDevHostname) {
1523
+ return cloudDevHostname;
1524
+ }
1515
1525
  return "".concat(subdomain, ".").concat(hostname);
1516
1526
  };
1527
+ var getCloudDevHostname = function getCloudDevHostname2() {
1528
+ var subdomain = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "app";
1529
+ if (typeof window !== "undefined" && window.location) {
1530
+ var currentHost = window.location.hostname;
1531
+ var matches2 = REGEX_CLOUD_DEV_BOX.exec(currentHost);
1532
+ if (matches2) {
1533
+ return "".concat(subdomain, "-cde-").concat(matches2[2], ".").concat(matches2[3], ".wistia.io");
1534
+ }
1535
+ }
1536
+ return null;
1537
+ };
1517
1538
  })
1518
1539
  ),
1519
1540
  /***/
@@ -4492,7 +4513,7 @@ var __webpack_modules__ = {
4492
4513
  function w(n) {
4493
4514
  var t2, r2 = function() {
4494
4515
  clearTimeout(u2), k && cancelAnimationFrame(t2), setTimeout(n);
4495
- }, u2 = setTimeout(r2, 100);
4516
+ }, u2 = setTimeout(r2, 35);
4496
4517
  k && (t2 = requestAnimationFrame(r2));
4497
4518
  }
4498
4519
  function z(n) {
@@ -5761,7 +5782,7 @@ var __webpack_modules__ = {
5761
5782
  /* harmony export */
5762
5783
  XX: () => (
5763
5784
  /* binding */
5764
- E
5785
+ G
5765
5786
  ),
5766
5787
  /* harmony export */
5767
5788
  fF: () => (
@@ -5776,7 +5797,7 @@ var __webpack_modules__ = {
5776
5797
  /* harmony export */
5777
5798
  q6: () => (
5778
5799
  /* binding */
5779
- K
5800
+ Q
5780
5801
  ),
5781
5802
  /* harmony export */
5782
5803
  uA: () => (
@@ -5785,7 +5806,7 @@ var __webpack_modules__ = {
5785
5806
  )
5786
5807
  /* harmony export */
5787
5808
  });
5788
- var n, l, u, t, i2, r, o, e, f, c, s, a, h, p = {}, y = [], v = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, w = Array.isArray;
5809
+ var n, l, u, t, i2, r, o, e, f, c, s, a, h, p = {}, v = [], y = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, w = Array.isArray;
5789
5810
  function d(n2, l2) {
5790
5811
  for (var u2 in l2) n2[u2] = l2[u2];
5791
5812
  return n2;
@@ -5796,7 +5817,7 @@ var __webpack_modules__ = {
5796
5817
  function _(l2, u2, t2) {
5797
5818
  var i3, r2, o2, e2 = {};
5798
5819
  for (o2 in u2) "key" == o2 ? i3 = u2[o2] : "ref" == o2 ? r2 = u2[o2] : e2[o2] = u2[o2];
5799
- if (arguments.length > 2 && (e2.children = arguments.length > 3 ? n.call(arguments, 2) : t2), "function" == typeof l2 && null != l2.defaultProps) for (o2 in l2.defaultProps) null == e2[o2] && (e2[o2] = l2.defaultProps[o2]);
5820
+ if (arguments.length > 2 && (e2.children = arguments.length > 3 ? n.call(arguments, 2) : t2), "function" == typeof l2 && null != l2.defaultProps) for (o2 in l2.defaultProps) void 0 === e2[o2] && (e2[o2] = l2.defaultProps[o2]);
5800
5821
  return m(l2, e2, i3, r2, null);
5801
5822
  }
5802
5823
  function m(n2, t2, i3, r2, o2) {
@@ -5831,27 +5852,27 @@ var __webpack_modules__ = {
5831
5852
  (!n2.__d && (n2.__d = true) && i2.push(n2) && !$.__r++ || r != l.debounceRendering) && ((r = l.debounceRendering) || o)($);
5832
5853
  }
5833
5854
  function $() {
5834
- for (var n2, u2, t2, r2, o2, f2, c2, s2 = 1; i2.length; ) i2.length > s2 && i2.sort(e), n2 = i2.shift(), s2 = i2.length, n2.__d && (t2 = void 0, o2 = (r2 = (u2 = n2).__v).__e, f2 = [], c2 = [], u2.__P && ((t2 = d({}, r2)).__v = r2.__v + 1, l.vnode && l.vnode(t2), O(u2.__P, t2, r2, u2.__n, u2.__P.namespaceURI, 32 & r2.__u ? [o2] : null, f2, null == o2 ? S(r2) : o2, !!(32 & r2.__u), c2), t2.__v = r2.__v, t2.__.__k[t2.__i] = t2, z(f2, t2, c2), t2.__e != o2 && C(t2)));
5855
+ for (var n2, u2, t2, r2, o2, f2, c2, s2 = 1; i2.length; ) i2.length > s2 && i2.sort(e), n2 = i2.shift(), s2 = i2.length, n2.__d && (t2 = void 0, o2 = (r2 = (u2 = n2).__v).__e, f2 = [], c2 = [], u2.__P && ((t2 = d({}, r2)).__v = r2.__v + 1, l.vnode && l.vnode(t2), O(u2.__P, t2, r2, u2.__n, u2.__P.namespaceURI, 32 & r2.__u ? [o2] : null, f2, null == o2 ? S(r2) : o2, !!(32 & r2.__u), c2), t2.__v = r2.__v, t2.__.__k[t2.__i] = t2, N(f2, t2, c2), t2.__e != o2 && C(t2)));
5835
5856
  $.__r = 0;
5836
5857
  }
5837
5858
  function I(n2, l2, u2, t2, i3, r2, o2, e2, f2, c2, s2) {
5838
- var a2, h2, v2, w2, d2, g2, _2 = t2 && t2.__k || y, m2 = l2.length;
5839
- for (f2 = P(u2, l2, _2, f2, m2), a2 = 0; a2 < m2; a2++) null != (v2 = u2.__k[a2]) && (h2 = -1 == v2.__i ? p : _2[v2.__i] || p, v2.__i = a2, g2 = O(n2, v2, h2, i3, r2, o2, e2, f2, c2, s2), w2 = v2.__e, v2.ref && h2.ref != v2.ref && (h2.ref && q(h2.ref, null, v2), s2.push(v2.ref, v2.__c || w2, v2)), null == d2 && null != w2 && (d2 = w2), 4 & v2.__u || h2.__k === v2.__k ? f2 = A(v2, f2, n2) : "function" == typeof v2.type && void 0 !== g2 ? f2 = g2 : w2 && (f2 = w2.nextSibling), v2.__u &= -7);
5859
+ var a2, h2, y2, w2, d2, g2, _2, m2 = t2 && t2.__k || v, b2 = l2.length;
5860
+ for (f2 = P(u2, l2, m2, f2, b2), a2 = 0; a2 < b2; a2++) null != (y2 = u2.__k[a2]) && (h2 = -1 == y2.__i ? p : m2[y2.__i] || p, y2.__i = a2, g2 = O(n2, y2, h2, i3, r2, o2, e2, f2, c2, s2), w2 = y2.__e, y2.ref && h2.ref != y2.ref && (h2.ref && B(h2.ref, null, y2), s2.push(y2.ref, y2.__c || w2, y2)), null == d2 && null != w2 && (d2 = w2), (_2 = !!(4 & y2.__u)) || h2.__k === y2.__k ? f2 = A(y2, f2, n2, _2) : "function" == typeof y2.type && void 0 !== g2 ? f2 = g2 : w2 && (f2 = w2.nextSibling), y2.__u &= -7);
5840
5861
  return u2.__e = d2, f2;
5841
5862
  }
5842
5863
  function P(n2, l2, u2, t2, i3) {
5843
5864
  var r2, o2, e2, f2, c2, s2 = u2.length, a2 = s2, h2 = 0;
5844
5865
  for (n2.__k = new Array(i3), r2 = 0; r2 < i3; r2++) null != (o2 = l2[r2]) && "boolean" != typeof o2 && "function" != typeof o2 ? (f2 = r2 + h2, (o2 = n2.__k[r2] = "string" == typeof o2 || "number" == typeof o2 || "bigint" == typeof o2 || o2.constructor == String ? m(null, o2, null, null, null) : w(o2) ? m(k, { children: o2 }, null, null, null) : null == o2.constructor && o2.__b > 0 ? m(o2.type, o2.props, o2.key, o2.ref ? o2.ref : null, o2.__v) : o2).__ = n2, o2.__b = n2.__b + 1, e2 = null, -1 != (c2 = o2.__i = L(o2, u2, f2, a2)) && (a2--, (e2 = u2[c2]) && (e2.__u |= 2)), null == e2 || null == e2.__v ? (-1 == c2 && (i3 > s2 ? h2-- : i3 < s2 && h2++), "function" != typeof o2.type && (o2.__u |= 4)) : c2 != f2 && (c2 == f2 - 1 ? h2-- : c2 == f2 + 1 ? h2++ : (c2 > f2 ? h2-- : h2++, o2.__u |= 4))) : n2.__k[r2] = null;
5845
- if (a2) for (r2 = 0; r2 < s2; r2++) null != (e2 = u2[r2]) && 0 == (2 & e2.__u) && (e2.__e == t2 && (t2 = S(e2)), B(e2, e2));
5866
+ if (a2) for (r2 = 0; r2 < s2; r2++) null != (e2 = u2[r2]) && 0 == (2 & e2.__u) && (e2.__e == t2 && (t2 = S(e2)), D(e2, e2));
5846
5867
  return t2;
5847
5868
  }
5848
- function A(n2, l2, u2) {
5849
- var t2, i3;
5869
+ function A(n2, l2, u2, t2) {
5870
+ var i3, r2;
5850
5871
  if ("function" == typeof n2.type) {
5851
- for (t2 = n2.__k, i3 = 0; t2 && i3 < t2.length; i3++) t2[i3] && (t2[i3].__ = n2, l2 = A(t2[i3], l2, u2));
5872
+ for (i3 = n2.__k, r2 = 0; i3 && r2 < i3.length; r2++) i3[r2] && (i3[r2].__ = n2, l2 = A(i3[r2], l2, u2, t2));
5852
5873
  return l2;
5853
5874
  }
5854
- n2.__e != l2 && (l2 && n2.type && !u2.contains(l2) && (l2 = S(n2)), u2.insertBefore(n2.__e, l2 || null), l2 = n2.__e);
5875
+ n2.__e != l2 && (t2 && (l2 && n2.type && !l2.parentNode && (l2 = S(n2)), u2.insertBefore(n2.__e, l2 || null)), l2 = n2.__e);
5855
5876
  do {
5856
5877
  l2 = l2 && l2.nextSibling;
5857
5878
  } while (null != l2 && 8 == l2.nodeType);
@@ -5863,31 +5884,24 @@ var __webpack_modules__ = {
5863
5884
  }) : l2.push(n2)), l2;
5864
5885
  }
5865
5886
  function L(n2, l2, u2, t2) {
5866
- var i3, r2, o2 = n2.key, e2 = n2.type, f2 = l2[u2];
5867
- if (null === f2 && null == n2.key || f2 && o2 == f2.key && e2 == f2.type && 0 == (2 & f2.__u)) return u2;
5868
- if (t2 > (null != f2 && 0 == (2 & f2.__u) ? 1 : 0)) for (i3 = u2 - 1, r2 = u2 + 1; i3 >= 0 || r2 < l2.length; ) {
5869
- if (i3 >= 0) {
5870
- if ((f2 = l2[i3]) && 0 == (2 & f2.__u) && o2 == f2.key && e2 == f2.type) return i3;
5871
- i3--;
5872
- }
5873
- if (r2 < l2.length) {
5874
- if ((f2 = l2[r2]) && 0 == (2 & f2.__u) && o2 == f2.key && e2 == f2.type) return r2;
5875
- r2++;
5876
- }
5887
+ var i3, r2, o2, e2 = n2.key, f2 = n2.type, c2 = l2[u2], s2 = null != c2 && 0 == (2 & c2.__u);
5888
+ if (null === c2 && null == n2.key || s2 && e2 == c2.key && f2 == c2.type) return u2;
5889
+ if (t2 > (s2 ? 1 : 0)) {
5890
+ for (i3 = u2 - 1, r2 = u2 + 1; i3 >= 0 || r2 < l2.length; ) if (null != (c2 = l2[o2 = i3 >= 0 ? i3-- : r2++]) && 0 == (2 & c2.__u) && e2 == c2.key && f2 == c2.type) return o2;
5877
5891
  }
5878
5892
  return -1;
5879
5893
  }
5880
5894
  function T(n2, l2, u2) {
5881
- "-" == l2[0] ? n2.setProperty(l2, null == u2 ? "" : u2) : n2[l2] = null == u2 ? "" : "number" != typeof u2 || v.test(l2) ? u2 : u2 + "px";
5895
+ "-" == l2[0] ? n2.setProperty(l2, null == u2 ? "" : u2) : n2[l2] = null == u2 ? "" : "number" != typeof u2 || y.test(l2) ? u2 : u2 + "px";
5882
5896
  }
5883
5897
  function j(n2, l2, u2, t2, i3) {
5884
- var r2;
5898
+ var r2, o2;
5885
5899
  n: if ("style" == l2) if ("string" == typeof u2) n2.style.cssText = u2;
5886
5900
  else {
5887
5901
  if ("string" == typeof t2 && (n2.style.cssText = t2 = ""), t2) for (l2 in t2) u2 && l2 in u2 || T(n2.style, l2, "");
5888
5902
  if (u2) for (l2 in u2) t2 && u2[l2] == t2[l2] || T(n2.style, l2, u2[l2]);
5889
5903
  }
5890
- else if ("o" == l2[0] && "n" == l2[1]) r2 = l2 != (l2 = l2.replace(f, "$1")), l2 = l2.toLowerCase() in n2 || "onFocusOut" == l2 || "onFocusIn" == l2 ? l2.toLowerCase().slice(2) : l2.slice(2), n2.l || (n2.l = {}), n2.l[l2 + r2] = u2, u2 ? t2 ? u2.u = t2.u : (u2.u = c, n2.addEventListener(l2, r2 ? a : s, r2)) : n2.removeEventListener(l2, r2 ? a : s, r2);
5904
+ else if ("o" == l2[0] && "n" == l2[1]) r2 = l2 != (l2 = l2.replace(f, "$1")), o2 = l2.toLowerCase(), l2 = o2 in n2 || "onFocusOut" == l2 || "onFocusIn" == l2 ? o2.slice(2) : l2.slice(2), n2.l || (n2.l = {}), n2.l[l2 + r2] = u2, u2 ? t2 ? u2.u = t2.u : (u2.u = c, n2.addEventListener(l2, r2 ? a : s, r2)) : n2.removeEventListener(l2, r2 ? a : s, r2);
5891
5905
  else {
5892
5906
  if ("http://www.w3.org/2000/svg" == i3) l2 = l2.replace(/xlink(H|:h)/, "h").replace(/sName$/, "s");
5893
5907
  else if ("width" != l2 && "height" != l2 && "href" != l2 && "list" != l2 && "form" != l2 && "tabIndex" != l2 && "download" != l2 && "rowSpan" != l2 && "colSpan" != l2 && "role" != l2 && "popover" != l2 && l2 in n2) try {
@@ -5909,13 +5923,13 @@ var __webpack_modules__ = {
5909
5923
  };
5910
5924
  }
5911
5925
  function O(n2, u2, t2, i3, r2, o2, e2, f2, c2, s2) {
5912
- var a2, h2, p2, y2, v2, _2, m2, b2, S2, C2, M2, $2, P2, A2, H2, L2, T2, j2 = u2.type;
5926
+ var a2, h2, p2, v2, y2, _2, m2, b2, S2, C2, M2, $2, P2, A2, H2, L2, T2, j2 = u2.type;
5913
5927
  if (null != u2.constructor) return null;
5914
5928
  128 & t2.__u && (c2 = !!(32 & t2.__u), o2 = [f2 = u2.__e = t2.__e]), (a2 = l.__b) && a2(u2);
5915
5929
  n: if ("function" == typeof j2) try {
5916
- if (b2 = u2.props, S2 = "prototype" in j2 && j2.prototype.render, C2 = (a2 = j2.contextType) && i3[a2.__c], M2 = a2 ? C2 ? C2.props.value : a2.__ : i3, t2.__c ? m2 = (h2 = u2.__c = t2.__c).__ = h2.__E : (S2 ? u2.__c = h2 = new j2(b2, M2) : (u2.__c = h2 = new x(b2, M2), h2.constructor = j2, h2.render = D), C2 && C2.sub(h2), h2.props = b2, h2.state || (h2.state = {}), h2.context = M2, h2.__n = i3, p2 = h2.__d = true, h2.__h = [], h2._sb = []), S2 && null == h2.__s && (h2.__s = h2.state), S2 && null != j2.getDerivedStateFromProps && (h2.__s == h2.state && (h2.__s = d({}, h2.__s)), d(h2.__s, j2.getDerivedStateFromProps(b2, h2.__s))), y2 = h2.props, v2 = h2.state, h2.__v = u2, p2) S2 && null == j2.getDerivedStateFromProps && null != h2.componentWillMount && h2.componentWillMount(), S2 && null != h2.componentDidMount && h2.__h.push(h2.componentDidMount);
5930
+ if (b2 = u2.props, S2 = "prototype" in j2 && j2.prototype.render, C2 = (a2 = j2.contextType) && i3[a2.__c], M2 = a2 ? C2 ? C2.props.value : a2.__ : i3, t2.__c ? m2 = (h2 = u2.__c = t2.__c).__ = h2.__E : (S2 ? u2.__c = h2 = new j2(b2, M2) : (u2.__c = h2 = new x(b2, M2), h2.constructor = j2, h2.render = E), C2 && C2.sub(h2), h2.props = b2, h2.state || (h2.state = {}), h2.context = M2, h2.__n = i3, p2 = h2.__d = true, h2.__h = [], h2._sb = []), S2 && null == h2.__s && (h2.__s = h2.state), S2 && null != j2.getDerivedStateFromProps && (h2.__s == h2.state && (h2.__s = d({}, h2.__s)), d(h2.__s, j2.getDerivedStateFromProps(b2, h2.__s))), v2 = h2.props, y2 = h2.state, h2.__v = u2, p2) S2 && null == j2.getDerivedStateFromProps && null != h2.componentWillMount && h2.componentWillMount(), S2 && null != h2.componentDidMount && h2.__h.push(h2.componentDidMount);
5917
5931
  else {
5918
- if (S2 && null == j2.getDerivedStateFromProps && b2 !== y2 && null != h2.componentWillReceiveProps && h2.componentWillReceiveProps(b2, M2), !h2.__e && null != h2.shouldComponentUpdate && false === h2.shouldComponentUpdate(b2, h2.__s, M2) || u2.__v == t2.__v) {
5932
+ if (S2 && null == j2.getDerivedStateFromProps && b2 !== v2 && null != h2.componentWillReceiveProps && h2.componentWillReceiveProps(b2, M2), !h2.__e && null != h2.shouldComponentUpdate && false === h2.shouldComponentUpdate(b2, h2.__s, M2) || u2.__v == t2.__v) {
5919
5933
  for (u2.__v != t2.__v && (h2.props = b2, h2.state = h2.__s, h2.__d = false), u2.__e = t2.__e, u2.__k = t2.__k, u2.__k.some(function(n3) {
5920
5934
  n3 && (n3.__ = u2);
5921
5935
  }), $2 = 0; $2 < h2._sb.length; $2++) h2.__h.push(h2._sb[$2]);
@@ -5923,7 +5937,7 @@ var __webpack_modules__ = {
5923
5937
  break n;
5924
5938
  }
5925
5939
  null != h2.componentWillUpdate && h2.componentWillUpdate(b2, h2.__s, M2), S2 && null != h2.componentDidUpdate && h2.__h.push(function() {
5926
- h2.componentDidUpdate(y2, v2, _2);
5940
+ h2.componentDidUpdate(v2, y2, _2);
5927
5941
  });
5928
5942
  }
5929
5943
  if (h2.context = M2, h2.props = b2, h2.__P = n2, h2.__e = false, P2 = l.__r, A2 = 0, S2) {
@@ -5932,20 +5946,26 @@ var __webpack_modules__ = {
5932
5946
  } else do {
5933
5947
  h2.__d = false, P2 && P2(u2), a2 = h2.render(h2.props, h2.state, h2.context), h2.state = h2.__s;
5934
5948
  } while (h2.__d && ++A2 < 25);
5935
- h2.state = h2.__s, null != h2.getChildContext && (i3 = d(d({}, i3), h2.getChildContext())), S2 && !p2 && null != h2.getSnapshotBeforeUpdate && (_2 = h2.getSnapshotBeforeUpdate(y2, v2)), L2 = a2, null != a2 && a2.type === k && null == a2.key && (L2 = N(a2.props.children)), f2 = I(n2, w(L2) ? L2 : [L2], u2, t2, i3, r2, o2, e2, f2, c2, s2), h2.base = u2.__e, u2.__u &= -161, h2.__h.length && e2.push(h2), m2 && (h2.__E = h2.__ = null);
5949
+ h2.state = h2.__s, null != h2.getChildContext && (i3 = d(d({}, i3), h2.getChildContext())), S2 && !p2 && null != h2.getSnapshotBeforeUpdate && (_2 = h2.getSnapshotBeforeUpdate(v2, y2)), L2 = a2, null != a2 && a2.type === k && null == a2.key && (L2 = V(a2.props.children)), f2 = I(n2, w(L2) ? L2 : [L2], u2, t2, i3, r2, o2, e2, f2, c2, s2), h2.base = u2.__e, u2.__u &= -161, h2.__h.length && e2.push(h2), m2 && (h2.__E = h2.__ = null);
5936
5950
  } catch (n3) {
5937
5951
  if (u2.__v = null, c2 || null != o2) if (n3.then) {
5938
5952
  for (u2.__u |= c2 ? 160 : 128; f2 && 8 == f2.nodeType && f2.nextSibling; ) f2 = f2.nextSibling;
5939
5953
  o2[o2.indexOf(f2)] = null, u2.__e = f2;
5940
- } else for (T2 = o2.length; T2--; ) g(o2[T2]);
5941
- else u2.__e = t2.__e, u2.__k = t2.__k;
5954
+ } else {
5955
+ for (T2 = o2.length; T2--; ) g(o2[T2]);
5956
+ z(u2);
5957
+ }
5958
+ else u2.__e = t2.__e, u2.__k = t2.__k, n3.then || z(u2);
5942
5959
  l.__e(n3, u2, t2);
5943
5960
  }
5944
- else null == o2 && u2.__v == t2.__v ? (u2.__k = t2.__k, u2.__e = t2.__e) : f2 = u2.__e = V(t2.__e, u2, t2, i3, r2, o2, e2, c2, s2);
5961
+ else null == o2 && u2.__v == t2.__v ? (u2.__k = t2.__k, u2.__e = t2.__e) : f2 = u2.__e = q(t2.__e, u2, t2, i3, r2, o2, e2, c2, s2);
5945
5962
  return (a2 = l.diffed) && a2(u2), 128 & u2.__u ? void 0 : f2;
5946
5963
  }
5947
- function z(n2, u2, t2) {
5948
- for (var i3 = 0; i3 < t2.length; i3++) q(t2[i3], t2[++i3], t2[++i3]);
5964
+ function z(n2) {
5965
+ n2 && n2.__c && (n2.__c.__e = true), n2 && n2.__k && n2.__k.forEach(z);
5966
+ }
5967
+ function N(n2, u2, t2) {
5968
+ for (var i3 = 0; i3 < t2.length; i3++) B(t2[i3], t2[++i3], t2[++i3]);
5949
5969
  l.__c && l.__c(u2, n2), n2.some(function(u3) {
5950
5970
  try {
5951
5971
  n2 = u3.__h, u3.__h = [], n2.some(function(n3) {
@@ -5956,11 +5976,11 @@ var __webpack_modules__ = {
5956
5976
  }
5957
5977
  });
5958
5978
  }
5959
- function N(n2) {
5960
- return "object" != typeof n2 || null == n2 || n2.__b && n2.__b > 0 ? n2 : w(n2) ? n2.map(N) : d({}, n2);
5979
+ function V(n2) {
5980
+ return "object" != typeof n2 || null == n2 || n2.__b && n2.__b > 0 ? n2 : w(n2) ? n2.map(V) : d({}, n2);
5961
5981
  }
5962
- function V(u2, t2, i3, r2, o2, e2, f2, c2, s2) {
5963
- var a2, h2, y2, v2, d2, _2, m2, b2 = i3.props, k2 = t2.props, x2 = t2.type;
5982
+ function q(u2, t2, i3, r2, o2, e2, f2, c2, s2) {
5983
+ var a2, h2, v2, y2, d2, _2, m2, b2 = i3.props, k2 = t2.props, x2 = t2.type;
5964
5984
  if ("svg" == x2 ? o2 = "http://www.w3.org/2000/svg" : "math" == x2 ? o2 = "http://www.w3.org/1998/Math/MathML" : o2 || (o2 = "http://www.w3.org/1999/xhtml"), null != e2) {
5965
5985
  for (a2 = 0; a2 < e2.length; a2++) if ((d2 = e2[a2]) && "setAttribute" in d2 == !!x2 && (x2 ? d2.localName == x2 : 3 == d2.nodeType)) {
5966
5986
  u2 = d2, e2[a2] = null;
@@ -5975,19 +5995,19 @@ var __webpack_modules__ = {
5975
5995
  else {
5976
5996
  if (e2 = e2 && n.call(u2.childNodes), b2 = i3.props || p, !c2 && null != e2) for (b2 = {}, a2 = 0; a2 < u2.attributes.length; a2++) b2[(d2 = u2.attributes[a2]).name] = d2.value;
5977
5997
  for (a2 in b2) if (d2 = b2[a2], "children" == a2) ;
5978
- else if ("dangerouslySetInnerHTML" == a2) y2 = d2;
5998
+ else if ("dangerouslySetInnerHTML" == a2) v2 = d2;
5979
5999
  else if (!(a2 in k2)) {
5980
6000
  if ("value" == a2 && "defaultValue" in k2 || "checked" == a2 && "defaultChecked" in k2) continue;
5981
6001
  j(u2, a2, null, d2, o2);
5982
6002
  }
5983
- for (a2 in k2) d2 = k2[a2], "children" == a2 ? v2 = d2 : "dangerouslySetInnerHTML" == a2 ? h2 = d2 : "value" == a2 ? _2 = d2 : "checked" == a2 ? m2 = d2 : c2 && "function" != typeof d2 || b2[a2] === d2 || j(u2, a2, d2, b2[a2], o2);
5984
- if (h2) c2 || y2 && (h2.__html == y2.__html || h2.__html == u2.innerHTML) || (u2.innerHTML = h2.__html), t2.__k = [];
5985
- else if (y2 && (u2.innerHTML = ""), I("template" == t2.type ? u2.content : u2, w(v2) ? v2 : [v2], t2, i3, r2, "foreignObject" == x2 ? "http://www.w3.org/1999/xhtml" : o2, e2, f2, e2 ? e2[0] : i3.__k && S(i3, 0), c2, s2), null != e2) for (a2 = e2.length; a2--; ) g(e2[a2]);
6003
+ for (a2 in k2) d2 = k2[a2], "children" == a2 ? y2 = d2 : "dangerouslySetInnerHTML" == a2 ? h2 = d2 : "value" == a2 ? _2 = d2 : "checked" == a2 ? m2 = d2 : c2 && "function" != typeof d2 || b2[a2] === d2 || j(u2, a2, d2, b2[a2], o2);
6004
+ if (h2) c2 || v2 && (h2.__html == v2.__html || h2.__html == u2.innerHTML) || (u2.innerHTML = h2.__html), t2.__k = [];
6005
+ else if (v2 && (u2.innerHTML = ""), I("template" == t2.type ? u2.content : u2, w(y2) ? y2 : [y2], t2, i3, r2, "foreignObject" == x2 ? "http://www.w3.org/1999/xhtml" : o2, e2, f2, e2 ? e2[0] : i3.__k && S(i3, 0), c2, s2), null != e2) for (a2 = e2.length; a2--; ) g(e2[a2]);
5986
6006
  c2 || (a2 = "value", "progress" == x2 && null == _2 ? u2.removeAttribute("value") : null != _2 && (_2 !== u2[a2] || "progress" == x2 && !_2 || "option" == x2 && _2 != b2[a2]) && j(u2, a2, _2, b2[a2], o2), a2 = "checked", null != m2 && m2 != u2[a2] && j(u2, a2, m2, b2[a2], o2));
5987
6007
  }
5988
6008
  return u2;
5989
6009
  }
5990
- function q(n2, u2, t2) {
6010
+ function B(n2, u2, t2) {
5991
6011
  try {
5992
6012
  if ("function" == typeof n2) {
5993
6013
  var i3 = "function" == typeof n2.__u;
@@ -5997,9 +6017,9 @@ var __webpack_modules__ = {
5997
6017
  l.__e(n3, t2);
5998
6018
  }
5999
6019
  }
6000
- function B(n2, u2, t2) {
6020
+ function D(n2, u2, t2) {
6001
6021
  var i3, r2;
6002
- if (l.unmount && l.unmount(n2), (i3 = n2.ref) && (i3.current && i3.current != n2.__e || q(i3, null, u2)), null != (i3 = n2.__c)) {
6022
+ if (l.unmount && l.unmount(n2), (i3 = n2.ref) && (i3.current && i3.current != n2.__e || B(i3, null, u2)), null != (i3 = n2.__c)) {
6003
6023
  if (i3.componentWillUnmount) try {
6004
6024
  i3.componentWillUnmount();
6005
6025
  } catch (n3) {
@@ -6007,25 +6027,25 @@ var __webpack_modules__ = {
6007
6027
  }
6008
6028
  i3.base = i3.__P = null;
6009
6029
  }
6010
- if (i3 = n2.__k) for (r2 = 0; r2 < i3.length; r2++) i3[r2] && B(i3[r2], u2, t2 || "function" != typeof n2.type);
6030
+ if (i3 = n2.__k) for (r2 = 0; r2 < i3.length; r2++) i3[r2] && D(i3[r2], u2, t2 || "function" != typeof n2.type);
6011
6031
  t2 || g(n2.__e), n2.__c = n2.__ = n2.__e = void 0;
6012
6032
  }
6013
- function D(n2, l2, u2) {
6033
+ function E(n2, l2, u2) {
6014
6034
  return this.constructor(n2, u2);
6015
6035
  }
6016
- function E(u2, t2, i3) {
6036
+ function G(u2, t2, i3) {
6017
6037
  var r2, o2, e2, f2;
6018
- t2 == document && (t2 = document.documentElement), l.__ && l.__(u2, t2), o2 = (r2 = "function" == typeof i3) ? null : i3 && i3.__k || t2.__k, e2 = [], f2 = [], O(t2, u2 = (!r2 && i3 || t2).__k = _(k, null, [u2]), o2 || p, p, t2.namespaceURI, !r2 && i3 ? [i3] : o2 ? null : t2.firstChild ? n.call(t2.childNodes) : null, e2, !r2 && i3 ? i3 : o2 ? o2.__e : t2.firstChild, r2, f2), z(e2, u2, f2);
6038
+ t2 == document && (t2 = document.documentElement), l.__ && l.__(u2, t2), o2 = (r2 = "function" == typeof i3) ? null : i3 && i3.__k || t2.__k, e2 = [], f2 = [], O(t2, u2 = (!r2 && i3 || t2).__k = _(k, null, [u2]), o2 || p, p, t2.namespaceURI, !r2 && i3 ? [i3] : o2 ? null : t2.firstChild ? n.call(t2.childNodes) : null, e2, !r2 && i3 ? i3 : o2 ? o2.__e : t2.firstChild, r2, f2), N(e2, u2, f2);
6019
6039
  }
6020
- function G(n2, l2) {
6021
- E(n2, l2, G);
6040
+ function J(n2, l2) {
6041
+ G(n2, l2, J);
6022
6042
  }
6023
- function J(l2, u2, t2) {
6043
+ function K(l2, u2, t2) {
6024
6044
  var i3, r2, o2, e2, f2 = d({}, l2.props);
6025
- for (o2 in l2.type && l2.type.defaultProps && (e2 = l2.type.defaultProps), u2) "key" == o2 ? i3 = u2[o2] : "ref" == o2 ? r2 = u2[o2] : f2[o2] = null == u2[o2] && null != e2 ? e2[o2] : u2[o2];
6045
+ for (o2 in l2.type && l2.type.defaultProps && (e2 = l2.type.defaultProps), u2) "key" == o2 ? i3 = u2[o2] : "ref" == o2 ? r2 = u2[o2] : f2[o2] = void 0 === u2[o2] && null != e2 ? e2[o2] : u2[o2];
6026
6046
  return arguments.length > 2 && (f2.children = arguments.length > 3 ? n.call(arguments, 2) : t2), m(l2.type, f2, i3 || l2.key, r2 || l2.ref, null);
6027
6047
  }
6028
- function K(n2) {
6048
+ function Q(n2) {
6029
6049
  function l2(n3) {
6030
6050
  var u2, t2;
6031
6051
  return this.getChildContext || (u2 = /* @__PURE__ */ new Set(), (t2 = {})[l2.__c] = this, this.getChildContext = function() {
@@ -6048,7 +6068,7 @@ var __webpack_modules__ = {
6048
6068
  return n3.children(l3);
6049
6069
  }).contextType = l2, l2;
6050
6070
  }
6051
- n = y.slice, l = { __e: function(n2, l2, u2, t2) {
6071
+ n = v.slice, l = { __e: function(n2, l2, u2, t2) {
6052
6072
  for (var i3, r2, o2; l2 = l2.__; ) if ((i3 = l2.__c) && !i3.__) try {
6053
6073
  if ((r2 = i3.constructor) && null != r2.getDerivedStateFromError && (i3.setState(r2.getDerivedStateFromError(n2)), o2 = i3.__d), null != i3.componentDidCatch && (i3.componentDidCatch(n2, t2 || {}), o2 = i3.__d), o2) return i3.__E = i3;
6054
6074
  } catch (l3) {
@@ -7489,9 +7509,9 @@ var __webpack_modules__ = {
7489
7509
  var utilities_root_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__3(8176);
7490
7510
  var utilities_url_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__3(2671);
7491
7511
  var _appHostname_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__3(787);
7492
- var APP_WISTIA_COM = (0, _appHostname_js__WEBPACK_IMPORTED_MODULE_2__.N)("app");
7493
- var CDN_FAST_PROTECTED_WISTIA_COM = (0, _appHostname_js__WEBPACK_IMPORTED_MODULE_2__.N)("fast-protected");
7494
- var CDN_FAST_WISTIA_COM = (0, _appHostname_js__WEBPACK_IMPORTED_MODULE_2__.N)("fast");
7512
+ var APP_WISTIA_COM = (0, _appHostname_js__WEBPACK_IMPORTED_MODULE_2__.Ni)("app");
7513
+ var CDN_FAST_PROTECTED_WISTIA_COM = (0, _appHostname_js__WEBPACK_IMPORTED_MODULE_2__.Ni)("fast-protected");
7514
+ var CDN_FAST_WISTIA_COM = (0, _appHostname_js__WEBPACK_IMPORTED_MODULE_2__.Ni)("fast");
7495
7515
  var CDN_FAST_WISTIA_CANARY = "fast-canary.wistia.net";
7496
7516
  var EMBED_HOST = "embed.wistia.com";
7497
7517
  var PROD_FAST_HOSTNAME_NET = "fast.wistia.net";
@@ -7500,7 +7520,7 @@ var __webpack_modules__ = {
7500
7520
  var PROD_SSL_EMBED_HOST = "embed-ssl.wistia.com";
7501
7521
  var PROD_FASTLY_SSL_HOST = "embed-fastly.wistia.com";
7502
7522
  var SSL_EMBED_HOST = "embed-ssl.wistia.com";
7503
- var TAGGED_VERSION2 = "0.1.16";
7523
+ var TAGGED_VERSION2 = "0.1.18";
7504
7524
  var CURRENT_SHA2 = (
7505
7525
  /* unused pure expression or super */
7506
7526
  null
@@ -7521,11 +7541,22 @@ var __webpack_modules__ = {
7521
7541
  var appHost = function appHost2() {
7522
7542
  return APP_WISTIA_COM;
7523
7543
  };
7544
+ var getCloudDevFastHostname = function getCloudDevFastHostname2() {
7545
+ var fastCloudDevHostname = (0, _appHostname_js__WEBPACK_IMPORTED_MODULE_2__.UM)("fast");
7546
+ if (fastCloudDevHostname) {
7547
+ return fastCloudDevHostname;
7548
+ }
7549
+ return null;
7550
+ };
7524
7551
  var cdnFastWistiaComHost = function cdnFastWistiaComHost2() {
7525
7552
  var embedHost = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : void 0;
7526
7553
  if (embedHost) {
7527
7554
  return embedHost;
7528
7555
  }
7556
+ var cloudDevHostname = getCloudDevFastHostname();
7557
+ if (cloudDevHostname) {
7558
+ return cloudDevHostname;
7559
+ }
7529
7560
  return CDN_FAST_WISTIA_COM;
7530
7561
  };
7531
7562
  var cdnFastProtectedWistiaComHost = function cdnFastProtectedWistiaComHost2(assetHost) {
@@ -7535,6 +7566,10 @@ var __webpack_modules__ = {
7535
7566
  return CDN_FAST_PROTECTED_WISTIA_COM;
7536
7567
  };
7537
7568
  var cdnFastWistiaNetHost = function cdnFastWistiaNetHost2() {
7569
+ var cloudDevHostname = getCloudDevFastHostname();
7570
+ if (cloudDevHostname) {
7571
+ return cloudDevHostname;
7572
+ }
7538
7573
  var hostName = "wistia.net";
7539
7574
  return "fast.".concat(hostName);
7540
7575
  };
@@ -8954,7 +8989,7 @@ var __webpack_modules__ = {
8954
8989
  };
8955
8990
  });
8956
8991
  };
8957
- var FAST_HOSTNAME = (0, _appHostname_js__WEBPACK_IMPORTED_MODULE_5__.N)("fast");
8992
+ var FAST_HOSTNAME = (0, _appHostname_js__WEBPACK_IMPORTED_MODULE_5__.Ni)("fast");
8958
8993
  var stillUrl = function stillUrl2(assets) {
8959
8994
  var options = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
8960
8995
  var stillAsset = still(assets);
@@ -9038,10 +9073,10 @@ var __webpack_modules__ = {
9038
9073
  var BAKERY_HOSTS = [
9039
9074
  utilities_hosts_js__WEBPACK_IMPORTED_MODULE_3__.pK,
9040
9075
  utilities_hosts_js__WEBPACK_IMPORTED_MODULE_3__.cu,
9041
- (0, _appHostname_js__WEBPACK_IMPORTED_MODULE_5__.N)("embed"),
9042
- (0, _appHostname_js__WEBPACK_IMPORTED_MODULE_5__.N)("prime"),
9043
- (0, _appHostname_js__WEBPACK_IMPORTED_MODULE_5__.N)("mixergy-cdn"),
9044
- (0, _appHostname_js__WEBPACK_IMPORTED_MODULE_5__.N)("embed-fastly"),
9076
+ (0, _appHostname_js__WEBPACK_IMPORTED_MODULE_5__.Ni)("embed"),
9077
+ (0, _appHostname_js__WEBPACK_IMPORTED_MODULE_5__.Ni)("prime"),
9078
+ (0, _appHostname_js__WEBPACK_IMPORTED_MODULE_5__.Ni)("mixergy-cdn"),
9079
+ (0, _appHostname_js__WEBPACK_IMPORTED_MODULE_5__.Ni)("embed-fastly"),
9045
9080
  // XXX: akamai test
9046
9081
  utilities_hosts_js__WEBPACK_IMPORTED_MODULE_3__.hk,
9047
9082
  utilities_hosts_js__WEBPACK_IMPORTED_MODULE_3__.iD,
@@ -13183,7 +13218,7 @@ var WistiaPlayer = /* @__PURE__ */ (function(_HTMLElement) {
13183
13218
  _classPrivateFieldInitSpec(_this2, _playPending, false);
13184
13219
  _classPrivateFieldInitSpec(_this2, _preactRoot, null);
13185
13220
  _classPrivateFieldInitSpec(_this2, _preloadThumbnailRoot, null);
13186
- _classPrivateFieldInitSpec(_this2, _publicApiScript, (0, _utilities_runScript_js__WEBPACK_IMPORTED_MODULE_21__.j)("".concat((0, _utilities_url_js__WEBPACK_IMPORTED_MODULE_26__.ff)(), "//").concat((0, _appHostname_js__WEBPACK_IMPORTED_MODULE_8__.N)("fast"), "/assets/external/publicApi.js")));
13221
+ _classPrivateFieldInitSpec(_this2, _publicApiScript, (0, _utilities_runScript_js__WEBPACK_IMPORTED_MODULE_21__.j)("".concat((0, _utilities_url_js__WEBPACK_IMPORTED_MODULE_26__.ff)(), "//").concat((0, _appHostname_js__WEBPACK_IMPORTED_MODULE_8__.Ni)("fast"), "/assets/external/publicApi.js")));
13187
13222
  _classPrivateFieldInitSpec(_this2, _resizeObserver, null);
13188
13223
  _classPrivateFieldInitSpec(_this2, _handleAfterReplace, function() {
13189
13224
  _assertClassBrand(_WistiaPlayer_brand, _this2, _maybeInjectJsonLd).call(_this2);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wistia/wistia-player-react",
3
- "version": "0.1.16",
3
+ "version": "0.1.18",
4
4
  "packageManager": "yarn@4.5.3",
5
5
  "description": "An embeddable wistia-player web component and React wrapper to add responsive, lightweight, and SEO-friendly videos to your site.",
6
6
  "keywords": [
@@ -46,7 +46,7 @@
46
46
  },
47
47
  "dependencies": {
48
48
  "@wistia/type-guards": "^0.9.1",
49
- "@wistia/wistia-player": "0.1.16"
49
+ "@wistia/wistia-player": "0.1.18"
50
50
  },
51
51
  "peerDependencies": {
52
52
  "react": ">=18.0.0 <20.0.0",
@@ -65,7 +65,7 @@
65
65
  "npm-run-all": "^4.1.5",
66
66
  "react": "^19.1.1",
67
67
  "read-package-json": "^7.0.1",
68
- "typescript": "5.8.3",
68
+ "typescript": "5.9.2",
69
69
  "zx": "^8.8.0"
70
70
  }
71
71
  }