@wistia/wistia-player-react 0.0.105 → 0.0.106

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.
@@ -8728,7 +8728,7 @@ var init_wistia_player = __esm({
8728
8728
  var PROD_SSL_EMBED_HOST = "embed-ssl.wistia.com";
8729
8729
  var PROD_FASTLY_SSL_HOST = "embed-fastly.wistia.com";
8730
8730
  var SSL_EMBED_HOST = "embed-ssl.wistia.com";
8731
- var TAGGED_VERSION2 = "0.0.105";
8731
+ var TAGGED_VERSION2 = "0.0.106";
8732
8732
  var CURRENT_SHA2 = (
8733
8733
  /* unused pure expression or super */
8734
8734
  null
@@ -15741,27 +15741,33 @@ var init_wistia_player = __esm({
15741
15741
  return _regeneratorRuntime().wrap(function _callee12$(_context12) {
15742
15742
  while (1) switch (_context12.prev = _context12.next) {
15743
15743
  case 0:
15744
+ if (!(_classPrivateFieldGet(_cachedRemapTime, this) != null)) {
15745
+ _context12.next = 2;
15746
+ break;
15747
+ }
15748
+ return _context12.abrupt("return", _classPrivateFieldGet(_cachedRemapTime, this));
15749
+ case 2:
15744
15750
  if (!(this.languages.length <= 1)) {
15745
- _context12.next = 3;
15751
+ _context12.next = 5;
15746
15752
  break;
15747
15753
  }
15748
15754
  _classPrivateFieldSet(_cachedRemapTime, this, function(_fromLanguage, _toLanguage, fromTime) {
15749
15755
  return fromTime;
15750
15756
  });
15751
15757
  return _context12.abrupt("return", _classPrivateFieldGet(_cachedRemapTime, this));
15752
- case 3:
15758
+ case 5:
15753
15759
  if (!((_classPrivateFieldGet79 = _classPrivateFieldGet(_cachedRemapTime, this)) !== null && _classPrivateFieldGet79 !== void 0)) {
15754
- _context12.next = 7;
15760
+ _context12.next = 9;
15755
15761
  break;
15756
15762
  }
15757
15763
  _classPrivateFieldGet79;
15758
- _context12.next = 14;
15764
+ _context12.next = 16;
15759
15765
  break;
15760
- case 7:
15766
+ case 9:
15761
15767
  _context12.t0 = _classPrivateFieldSet;
15762
15768
  _context12.t1 = _cachedRemapTime;
15763
15769
  _context12.t2 = this;
15764
- _context12.next = 12;
15770
+ _context12.next = 14;
15765
15771
  return (0, _utilities_dynamicImport_ts__WEBPACK_IMPORTED_MODULE_8__.$)("assets/external/timeMapping.js").then(function(_ref14) {
15766
15772
  var remapTime = _ref14.remapTime;
15767
15773
  return function(fromLanguage, toLanguage, fromTime) {
@@ -15775,12 +15781,12 @@ var init_wistia_player = __esm({
15775
15781
  return remapTime(sourceLocalization, fromLocalization, toLocalization, fromTimeInMilliseconds) / 1e3;
15776
15782
  };
15777
15783
  });
15778
- case 12:
15784
+ case 14:
15779
15785
  _context12.t3 = _context12.sent;
15780
15786
  (0, _context12.t0)(_context12.t1, _context12.t2, _context12.t3);
15781
- case 14:
15787
+ case 16:
15782
15788
  return _context12.abrupt("return", _classPrivateFieldGet(_cachedRemapTime, this));
15783
- case 15:
15789
+ case 17:
15784
15790
  case "end":
15785
15791
  return _context12.stop();
15786
15792
  }
@@ -7,7 +7,7 @@ import {
7
7
  import { forwardRef, Suspense, lazy, Fragment } from "react";
8
8
  import { jsx, jsxs } from "react/jsx-runtime";
9
9
  var WistiaPlayerWrapper = lazy(
10
- async () => import("./WistiaPlayerWrapper-4VWMUTQQ.mjs").then((module) => ({
10
+ async () => import("./WistiaPlayerWrapper-XXKUDKWV.mjs").then((module) => ({
11
11
  default: module.WistiaPlayerWrapper
12
12
  }))
13
13
  );
@@ -22,7 +22,7 @@ var WistiaPlayerWrapper = forwardRef(
22
22
  setSwatchAspectRatio(ratio);
23
23
  });
24
24
  }
25
- void import("./wistia-player-6AEHJFJG.mjs");
25
+ void import("./wistia-player-2BXGLTAD.mjs");
26
26
  void customElements.whenDefined("wistia-player").then(() => {
27
27
  setIsWistiaPlayerDefined(true);
28
28
  });
@@ -7751,7 +7751,7 @@ var __webpack_modules__ = {
7751
7751
  var PROD_SSL_EMBED_HOST = "embed-ssl.wistia.com";
7752
7752
  var PROD_FASTLY_SSL_HOST = "embed-fastly.wistia.com";
7753
7753
  var SSL_EMBED_HOST = "embed-ssl.wistia.com";
7754
- var TAGGED_VERSION2 = "0.0.105";
7754
+ var TAGGED_VERSION2 = "0.0.106";
7755
7755
  var CURRENT_SHA2 = (
7756
7756
  /* unused pure expression or super */
7757
7757
  null
@@ -15242,27 +15242,33 @@ var WistiaPlayer = /* @__PURE__ */ function(_HTMLElement) {
15242
15242
  return _regeneratorRuntime().wrap(function _callee12$(_context12) {
15243
15243
  while (1) switch (_context12.prev = _context12.next) {
15244
15244
  case 0:
15245
+ if (!(_classPrivateFieldGet(_cachedRemapTime, this) != null)) {
15246
+ _context12.next = 2;
15247
+ break;
15248
+ }
15249
+ return _context12.abrupt("return", _classPrivateFieldGet(_cachedRemapTime, this));
15250
+ case 2:
15245
15251
  if (!(this.languages.length <= 1)) {
15246
- _context12.next = 3;
15252
+ _context12.next = 5;
15247
15253
  break;
15248
15254
  }
15249
15255
  _classPrivateFieldSet(_cachedRemapTime, this, function(_fromLanguage, _toLanguage, fromTime) {
15250
15256
  return fromTime;
15251
15257
  });
15252
15258
  return _context12.abrupt("return", _classPrivateFieldGet(_cachedRemapTime, this));
15253
- case 3:
15259
+ case 5:
15254
15260
  if (!((_classPrivateFieldGet79 = _classPrivateFieldGet(_cachedRemapTime, this)) !== null && _classPrivateFieldGet79 !== void 0)) {
15255
- _context12.next = 7;
15261
+ _context12.next = 9;
15256
15262
  break;
15257
15263
  }
15258
15264
  _classPrivateFieldGet79;
15259
- _context12.next = 14;
15265
+ _context12.next = 16;
15260
15266
  break;
15261
- case 7:
15267
+ case 9:
15262
15268
  _context12.t0 = _classPrivateFieldSet;
15263
15269
  _context12.t1 = _cachedRemapTime;
15264
15270
  _context12.t2 = this;
15265
- _context12.next = 12;
15271
+ _context12.next = 14;
15266
15272
  return (0, _utilities_dynamicImport_ts__WEBPACK_IMPORTED_MODULE_8__.$)("assets/external/timeMapping.js").then(function(_ref14) {
15267
15273
  var remapTime = _ref14.remapTime;
15268
15274
  return function(fromLanguage, toLanguage, fromTime) {
@@ -15276,12 +15282,12 @@ var WistiaPlayer = /* @__PURE__ */ function(_HTMLElement) {
15276
15282
  return remapTime(sourceLocalization, fromLocalization, toLocalization, fromTimeInMilliseconds) / 1e3;
15277
15283
  };
15278
15284
  });
15279
- case 12:
15285
+ case 14:
15280
15286
  _context12.t3 = _context12.sent;
15281
15287
  (0, _context12.t0)(_context12.t1, _context12.t2, _context12.t3);
15282
- case 14:
15288
+ case 16:
15283
15289
  return _context12.abrupt("return", _classPrivateFieldGet(_cachedRemapTime, this));
15284
- case 15:
15290
+ case 17:
15285
15291
  case "end":
15286
15292
  return _context12.stop();
15287
15293
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wistia/wistia-player-react",
3
- "version": "0.0.105",
3
+ "version": "0.0.106",
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": [
@@ -45,7 +45,7 @@
45
45
  "start:dev:yalc": "run build:react:dev --watch --yalc"
46
46
  },
47
47
  "dependencies": {
48
- "@wistia/wistia-player": "0.0.105"
48
+ "@wistia/wistia-player": "0.0.106"
49
49
  },
50
50
  "devDependencies": {
51
51
  "@babel/core": "^7.26.9",