@wistia/wistia-player-react 0.0.28 → 0.0.29

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.
@@ -558,7 +558,7 @@ function _assertClassBrand(e, t, n) {
558
558
  }
559
559
  function _get_pageUrl(_this) {
560
560
  var _this$getAttribute3;
561
- return (_this$getAttribute3 = _this.getAttribute("page-url")) !== null && _this$getAttribute3 !== void 0 ? _this$getAttribute3 : (0, _utilities_inferPageUrl_ts__WEBPACK_IMPORTED_MODULE_27__.H)();
561
+ return (_this$getAttribute3 = _this.getAttribute("page-url")) !== null && _this$getAttribute3 !== void 0 ? _this$getAttribute3 : (0, _utilities_inferPageUrl_ts__WEBPACK_IMPORTED_MODULE_28__.H)();
562
562
  }
563
563
  function _set_usingFullscreenContainer(_this2, val) {
564
564
  _classPrivateFieldSet(_usingFullscreenContainer, _this2, val);
@@ -605,7 +605,7 @@ function _initPlayerEmbed(_ref19) {
605
605
  _classPrivateFieldGet(_playerData, this).updateEmbedOptionOverrides({
606
606
  videoFoam: true
607
607
  });
608
- if (mediaData && !(0, _utilities_mediaDataError_ts__WEBPACK_IMPORTED_MODULE_28__.V)(mediaData)) {
608
+ if (mediaData && !(0, _utilities_mediaDataError_ts__WEBPACK_IMPORTED_MODULE_29__.V)(mediaData)) {
609
609
  _classPrivateFieldSet(_playerType, this, (0, _utilities_judy_js__WEBPACK_IMPORTED_MODULE_12__.$F)(_classPrivateFieldGet(_judyContext, this), _classPrivateFieldGet(_playerData, this).mediaData, _classPrivateFieldGet(_playerData, this).embedOptions));
610
610
  _assertClassBrand(_WistiaPlayer_brand, this, _renderPreloadThumbnail).call(this);
611
611
  _assertClassBrand(_WistiaPlayer_brand, this, _maybeInjectJsonLd).call(this);
@@ -620,7 +620,7 @@ function _initPublicApi(_x20, _x21) {
620
620
  }
621
621
  function _initPublicApi2() {
622
622
  _initPublicApi2 = _asyncToGenerator(/* @__PURE__ */ _regeneratorRuntime().mark(function _callee22(mediaId, options) {
623
- var _this$api59, _this16 = this, _this$api60;
623
+ var _this$api58, _this16 = this, _this$api59;
624
624
  return _regeneratorRuntime().wrap(function _callee22$(_context22) {
625
625
  while (1) switch (_context22.prev = _context22.next) {
626
626
  case 0:
@@ -635,7 +635,7 @@ function _initPublicApi2() {
635
635
  throw new Error("Wistia.PublicApi is not defined");
636
636
  case 5:
637
637
  _classPrivateFieldSet(_api, this, new _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_1__.s.PublicApi(mediaId, options));
638
- (_this$api59 = this.api) === null || _this$api59 === void 0 ? void 0 : _this$api59.embedded(function() {
638
+ (_this$api58 = this.api) === null || _this$api58 === void 0 ? void 0 : _this$api58.embedded(function() {
639
639
  var _classPrivateFieldGet12, _classPrivateFieldGet13;
640
640
  void _assertClassBrand(_WistiaPlayer_brand, _this16, _maybeInitializeMux).call(_this16);
641
641
  _classPrivateFieldSet(_preloadAspectRatio, _this16, void 0);
@@ -647,13 +647,13 @@ function _initPublicApi2() {
647
647
  void _this16.play();
648
648
  }
649
649
  });
650
- (_this$api60 = this.api) === null || _this$api60 === void 0 ? void 0 : _this$api60.ready(function() {
651
- _this16.dispatchEvent(new CustomEvent(_utilities_eventConstants_ts__WEBPACK_IMPORTED_MODULE_26__.c5, {
650
+ (_this$api59 = this.api) === null || _this$api59 === void 0 ? void 0 : _this$api59.ready(function() {
651
+ _this16.dispatchEvent(new CustomEvent(_utilities_eventConstants_ts__WEBPACK_IMPORTED_MODULE_27__.c5, {
652
652
  detail: {
653
653
  mediaId
654
654
  }
655
655
  }));
656
- _this16.dispatchEvent(new CustomEvent(_utilities_eventConstants_ts__WEBPACK_IMPORTED_MODULE_26__.iP, {
656
+ _this16.dispatchEvent(new CustomEvent(_utilities_eventConstants_ts__WEBPACK_IMPORTED_MODULE_27__.iP, {
657
657
  detail: {
658
658
  mediaId,
659
659
  api: _this16.api
@@ -699,8 +699,8 @@ function _maybeInitializeMux2() {
699
699
  }
700
700
  return _context23.abrupt("return");
701
701
  case 2:
702
- shouldRandomEnableMux = (0, _utilities_coinFlip_ts__WEBPACK_IMPORTED_MODULE_29__.k)(_utilities_shouldEnableMux_ts__WEBPACK_IMPORTED_MODULE_30__._);
703
- shouldEnableMuxForPlayer = (0, _utilities_shouldEnableMux_ts__WEBPACK_IMPORTED_MODULE_30__.J)(this.api, shouldRandomEnableMux) && (0, _utilities_trackingConsentApi_js__WEBPACK_IMPORTED_MODULE_15__.D5)();
702
+ shouldRandomEnableMux = (0, _utilities_coinFlip_ts__WEBPACK_IMPORTED_MODULE_30__.k)(_utilities_shouldEnableMux_ts__WEBPACK_IMPORTED_MODULE_31__._);
703
+ shouldEnableMuxForPlayer = (0, _utilities_shouldEnableMux_ts__WEBPACK_IMPORTED_MODULE_31__.J)(this.api, shouldRandomEnableMux) && (0, _utilities_trackingConsentApi_js__WEBPACK_IMPORTED_MODULE_15__.D5)();
704
704
  embedType = this.useWebComponent ? "translated-web-component" : "web-component";
705
705
  if (!shouldEnableMuxForPlayer) {
706
706
  _context23.next = 11;
@@ -749,7 +749,7 @@ function _renderEmbedTemplate() {
749
749
  if (parseFloat(_classPrivateFieldGet(_paddingTop, this)) !== 0 && _classPrivateFieldGet(_paddingTop, this) !== "") {
750
750
  swatchHeight = "".concat(parseFloat(_classPrivateFieldGet(_paddingTop, this)), "px");
751
751
  }
752
- var playerBorderRadius = (0, _utilities_roundedPlayerDefaults_ts__WEBPACK_IMPORTED_MODULE_31__.JA)({
752
+ var playerBorderRadius = (0, _utilities_roundedPlayerDefaults_ts__WEBPACK_IMPORTED_MODULE_32__.JA)({
753
753
  playerBorderRadius: this.playerBorderRadius,
754
754
  roundedPlayer: this.roundedPlayer
755
755
  });
@@ -831,9 +831,9 @@ function _runMethodsFromAttributes() {
831
831
  lazy: shouldDelayUntilPlay
832
832
  }));
833
833
  _assertClassBrand(_WistiaPlayer_brand, _this12, _setSyncedEmbedOption).call(_this12, "currentTime", newTime);
834
- _this12.removeEventListener(_utilities_eventConstants_ts__WEBPACK_IMPORTED_MODULE_26__.c5, _setInitialCurrentTime);
834
+ _this12.removeEventListener(_utilities_eventConstants_ts__WEBPACK_IMPORTED_MODULE_27__.c5, _setInitialCurrentTime);
835
835
  };
836
- this.addEventListener(_utilities_eventConstants_ts__WEBPACK_IMPORTED_MODULE_26__.c5, _setInitialCurrentTime);
836
+ this.addEventListener(_utilities_eventConstants_ts__WEBPACK_IMPORTED_MODULE_27__.c5, _setInitialCurrentTime);
837
837
  }
838
838
  if (_assertClassBrand(_WistiaPlayer_brand, this, _getValueFromAttribute).call(this, "email") !== null) {
839
839
  _assertClassBrand(_WistiaPlayer_brand, this, _updateEmail).call(this, _assertClassBrand(_WistiaPlayer_brand, this, _getValueFromAttribute).call(this, "email"));
@@ -844,9 +844,9 @@ function _runMethodsFromAttributes() {
844
844
  var newQuality = _assertClassBrand(_WistiaPlayer_brand, _this12, _getValueFromAttribute).call(_this12, "video-quality");
845
845
  (_this12$api3 = _this12.api) === null || _this12$api3 === void 0 ? void 0 : (_this12$api3$_impl = _this12$api3._impl) === null || _this12$api3$_impl === void 0 ? void 0 : _this12$api3$_impl.setVideoQuality(newQuality);
846
846
  _assertClassBrand(_WistiaPlayer_brand, _this12, _setSyncedEmbedOption).call(_this12, "videoQuality", newQuality);
847
- _this12.removeEventListener(_utilities_eventConstants_ts__WEBPACK_IMPORTED_MODULE_26__.c5, _setVideoQualityFromAttribute);
847
+ _this12.removeEventListener(_utilities_eventConstants_ts__WEBPACK_IMPORTED_MODULE_27__.c5, _setVideoQualityFromAttribute);
848
848
  };
849
- this.addEventListener(_utilities_eventConstants_ts__WEBPACK_IMPORTED_MODULE_26__.c5, _setVideoQualityFromAttribute);
849
+ this.addEventListener(_utilities_eventConstants_ts__WEBPACK_IMPORTED_MODULE_27__.c5, _setVideoQualityFromAttribute);
850
850
  }
851
851
  }
852
852
  function _saveInitialAttributesFromDomOptions() {
@@ -873,9 +873,9 @@ function _setupEventListeners() {
873
873
  var _ref24 = event.detail, mediaData = _ref24.mediaData;
874
874
  _assertClassBrand(_WistiaPlayer_brand, _this14, _updateMediaData).call(_this14, mediaData);
875
875
  };
876
- this.addEventListener(_utilities_eventConstants_ts__WEBPACK_IMPORTED_MODULE_26__.Wg, loadedMediaDataCallback);
876
+ this.addEventListener(_utilities_eventConstants_ts__WEBPACK_IMPORTED_MODULE_27__.Wg, loadedMediaDataCallback);
877
877
  _classPrivateFieldGet(_removeEventListeners, this).push(function() {
878
- _this14.removeEventListener(_utilities_eventConstants_ts__WEBPACK_IMPORTED_MODULE_26__.Wg, loadedMediaDataCallback);
878
+ _this14.removeEventListener(_utilities_eventConstants_ts__WEBPACK_IMPORTED_MODULE_27__.Wg, loadedMediaDataCallback);
879
879
  });
880
880
  this.addEventListener("click", function() {
881
881
  _classPrivateFieldSet(_playPending, _this14, true);
@@ -901,11 +901,11 @@ function _updateEmail(email) {
901
901
  }));
902
902
  }
903
903
  function _updateMediaData(mediaData) {
904
- _classPrivateFieldGet(_playerData, this).setServerMediaDataSource(mediaData);
904
+ _classPrivateFieldGet(_playerData, this).setMediaDataSource(mediaData);
905
905
  _classPrivateFieldSet(_playerType, this, (0, _utilities_judy_js__WEBPACK_IMPORTED_MODULE_12__.$F)(_classPrivateFieldGet(_judyContext, this), _classPrivateFieldGet(_playerData, this).mediaData, _classPrivateFieldGet(_playerData, this).embedOptions));
906
906
  _assertClassBrand(_WistiaPlayer_brand, this, _renderPreloadThumbnail).call(this);
907
907
  }
908
- var __webpack_modules__, __webpack_module_cache__, __webpack_exports__2, preact__WEBPACK_IMPORTED_MODULE_0__, _wistia_type_guards__WEBPACK_IMPORTED_MODULE_25__, _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_1__, _components_PreloadThumbnail_tsx__WEBPACK_IMPORTED_MODULE_2__, _hooks_usePlayerData_tsx__WEBPACK_IMPORTED_MODULE_3__, _utilities_constants_ts__WEBPACK_IMPORTED_MODULE_24__, _utilities_PlayerDataHandler_ts__WEBPACK_IMPORTED_MODULE_4__, _appHostname_js__WEBPACK_IMPORTED_MODULE_23__, _utilities_assets_js__WEBPACK_IMPORTED_MODULE_5__, _utilities_coinFlip_ts__WEBPACK_IMPORTED_MODULE_29__, _utilities_detect_js__WEBPACK_IMPORTED_MODULE_6__, _utilities_dynamicImport_ts__WEBPACK_IMPORTED_MODULE_7__, _utilities_embedOptionStore_ts__WEBPACK_IMPORTED_MODULE_8__, _utilities_elem_js__WEBPACK_IMPORTED_MODULE_9__, _utilities_eventConstants_ts__WEBPACK_IMPORTED_MODULE_26__, _utilities_extractEmailFromParams_ts__WEBPACK_IMPORTED_MODULE_10__, _utilities_hosts_js__WEBPACK_IMPORTED_MODULE_11__, _utilities_inferPageUrl_ts__WEBPACK_IMPORTED_MODULE_27__, _utilities_judy_js__WEBPACK_IMPORTED_MODULE_12__, _utilities_roundedPlayerDefaults_ts__WEBPACK_IMPORTED_MODULE_31__, _utilities_runScript_js__WEBPACK_IMPORTED_MODULE_13__, _utilities_shouldEnableMux_ts__WEBPACK_IMPORTED_MODULE_30__, _utilities_simpleMetrics_js__WEBPACK_IMPORTED_MODULE_14__, _utilities_trackingConsentApi_js__WEBPACK_IMPORTED_MODULE_15__, _utilities_url_js__WEBPACK_IMPORTED_MODULE_16__, _utilities_wistiaLocalStorage_js__WEBPACK_IMPORTED_MODULE_17__, _utilities_wistiaOptions_ts__WEBPACK_IMPORTED_MODULE_18__, _utilities_wistiaQueue_ts__WEBPACK_IMPORTED_MODULE_19__, _utilities_wlog_js__WEBPACK_IMPORTED_MODULE_20__, _utilities_injectJsonLd_js__WEBPACK_IMPORTED_MODULE_21__, _utilities_getInitialMediaData_ts__WEBPACK_IMPORTED_MODULE_22__, _utilities_mediaDataError_ts__WEBPACK_IMPORTED_MODULE_28__, _WistiaPlayer, requiredAttributes, optionalPublicAttributes, optionalPrivateAttributes, defaultEmbedOptions, getSwatchUrl, _api, _fullscreenState, _jsonLdId, _judyContext, _logger, _oldEngine, _playerData, _playerType, _removeEventListeners, _usingFullscreenContainer, _hasElementConnectedToDOM, _paddingTop, _playPending, _preactRoot, _preloadAspectRatio, _preloadThumbnailRoot, _publicApiScript, _resizeObserver, _WistiaPlayer_brand, WistiaPlayer, getSwatchMetaData2, wistiaSwatchElement, __webpack_exports__WistiaPlayer, __webpack_exports__wistiaSwatchElement;
908
+ var __webpack_modules__, __webpack_module_cache__, __webpack_exports__2, preact__WEBPACK_IMPORTED_MODULE_0__, _wistia_type_guards__WEBPACK_IMPORTED_MODULE_26__, _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_1__, _components_PreloadThumbnail_tsx__WEBPACK_IMPORTED_MODULE_2__, _hooks_usePlayerData_tsx__WEBPACK_IMPORTED_MODULE_3__, _utilities_constants_ts__WEBPACK_IMPORTED_MODULE_25__, _utilities_PlayerDataHandler_ts__WEBPACK_IMPORTED_MODULE_4__, _appHostname_js__WEBPACK_IMPORTED_MODULE_24__, _utilities_assets_js__WEBPACK_IMPORTED_MODULE_5__, _utilities_coinFlip_ts__WEBPACK_IMPORTED_MODULE_30__, _utilities_detect_js__WEBPACK_IMPORTED_MODULE_6__, _utilities_dynamicImport_ts__WEBPACK_IMPORTED_MODULE_7__, _utilities_embedOptionStore_ts__WEBPACK_IMPORTED_MODULE_8__, _utilities_elem_js__WEBPACK_IMPORTED_MODULE_9__, _utilities_eventConstants_ts__WEBPACK_IMPORTED_MODULE_27__, _utilities_extractEmailFromParams_ts__WEBPACK_IMPORTED_MODULE_10__, _utilities_hosts_js__WEBPACK_IMPORTED_MODULE_11__, _utilities_inferPageUrl_ts__WEBPACK_IMPORTED_MODULE_28__, _utilities_judy_js__WEBPACK_IMPORTED_MODULE_12__, _utilities_roundedPlayerDefaults_ts__WEBPACK_IMPORTED_MODULE_32__, _utilities_runScript_js__WEBPACK_IMPORTED_MODULE_13__, _utilities_shouldEnableMux_ts__WEBPACK_IMPORTED_MODULE_31__, _utilities_simpleMetrics_js__WEBPACK_IMPORTED_MODULE_14__, _utilities_trackingConsentApi_js__WEBPACK_IMPORTED_MODULE_15__, _utilities_url_js__WEBPACK_IMPORTED_MODULE_16__, _utilities_wistiaLocalStorage_js__WEBPACK_IMPORTED_MODULE_17__, _utilities_wistiaOptions_ts__WEBPACK_IMPORTED_MODULE_18__, _utilities_wistiaQueue_ts__WEBPACK_IMPORTED_MODULE_19__, _utilities_wlog_js__WEBPACK_IMPORTED_MODULE_20__, _utilities_injectJsonLd_js__WEBPACK_IMPORTED_MODULE_21__, _utilities_getInitialMediaData_ts__WEBPACK_IMPORTED_MODULE_22__, _utilities_mediaDataError_ts__WEBPACK_IMPORTED_MODULE_29__, _utilities_remote_data_cache_ts__WEBPACK_IMPORTED_MODULE_23__, _WistiaPlayer, requiredAttributes, optionalPublicAttributes, optionalPrivateAttributes, defaultEmbedOptions, getSwatchUrl, _api, _fullscreenState, _jsonLdId, _judyContext, _logger, _oldEngine, _playerData, _playerType, _removeEventListeners, _usingFullscreenContainer, _hasElementConnectedToDOM, _paddingTop, _playPending, _preactRoot, _preloadAspectRatio, _preloadThumbnailRoot, _publicApiScript, _resizeObserver, _WistiaPlayer_brand, WistiaPlayer, getSwatchMetaData2, wistiaSwatchElement, __webpack_exports__WistiaPlayer, __webpack_exports__wistiaSwatchElement;
909
909
  var init_wistia_player = __esm({
910
910
  "../wistia-player/dist/wistia-player.js"() {
911
911
  __webpack_modules__ = {
@@ -1923,7 +1923,7 @@ var init_wistia_player = __esm({
1923
1923
  }
1924
1924
  }, [isPlayPending]);
1925
1925
  var _usePlayerData = (0, _hooks_usePlayerData_tsx__WEBPACK_IMPORTED_MODULE_2__.$)(), embedOptions = _usePlayerData.embedOptions, mediaData = _usePlayerData.mediaData;
1926
- var bigPlayButton = embedOptions.bigPlayButton, bpbTime = embedOptions.bpbTime, bigPlayButtonBorderRadius = embedOptions.bigPlayButtonBorderRadius, controlBarBorderRadius = embedOptions.controlBarBorderRadius, controlsVisibleOnLoad = embedOptions.controlsVisibleOnLoad, floatingControlBar = embedOptions.floatingControlBar, newRoundedIcons = embedOptions.newRoundedIcons, noMixBlendMode = embedOptions.noMixBlendMode, playerBorderRadius = embedOptions.playerBorderRadius, playerColor = embedOptions.playerColor, playerLanguage = embedOptions.playerLanguage, roundedPlayer = embedOptions.roundedPlayer, thumbnailAltText = embedOptions.thumbnailAltText, transparentLetterbox = embedOptions.transparentLetterbox;
1926
+ var bigPlayButton = embedOptions.bigPlayButton, bpbTime = embedOptions.bpbTime, bigPlayButtonBorderRadius = embedOptions.bigPlayButtonBorderRadius, controlBarBorderRadius = embedOptions.controlBarBorderRadius, controlsVisibleOnLoad = embedOptions.controlsVisibleOnLoad, floatingControlBar = embedOptions.floatingControlBar, newRoundedIcons = embedOptions.newRoundedIcons, noMixBlendMode = embedOptions.noMixBlendMode, playButton = embedOptions.playButton, playerBorderRadius = embedOptions.playerBorderRadius, playerColor = embedOptions.playerColor, playerLanguage = embedOptions.playerLanguage, roundedPlayer = embedOptions.roundedPlayer, thumbnailAltText = embedOptions.thumbnailAltText, transparentLetterbox = embedOptions.transparentLetterbox;
1927
1927
  var aspectRatio = mediaData.aspectRatio, assets = mediaData.assets, duration = mediaData.duration, mediaType = mediaData.mediaType, name = mediaData.name;
1928
1928
  var height = playerWidth / (aspectRatio !== null && aspectRatio !== void 0 ? aspectRatio : _utilities_constants_ts__WEBPACK_IMPORTED_MODULE_9__.R);
1929
1929
  var playerLanguageCode = typeof playerLanguage === "string" ? playerLanguage : playerLanguage === null || playerLanguage === void 0 ? void 0 : playerLanguage.code;
@@ -1951,7 +1951,7 @@ var init_wistia_player = __esm({
1951
1951
  var backgroundColor = transparentLetterbox === true || calculatedPlayerBorderRadius > 0 ? "transparent" : void 0;
1952
1952
  var thumbnailAssets = (0, _utilities_assets_js__WEBPACK_IMPORTED_MODULE_6__.Q0)(assets, {});
1953
1953
  var calculatedPlayerLanguage = (_ref2 = (0, _shared_translations_js__WEBPACK_IMPORTED_MODULE_5__.Z0)(playerLanguage)) !== null && _ref2 !== void 0 ? _ref2 : (0, _shared_translations_js__WEBPACK_IMPORTED_MODULE_5__.Z0)("en-US");
1954
- var shouldShowBigPlayButton = bigPlayButton !== false;
1954
+ var shouldShowBigPlayButton = bigPlayButton !== false && playButton !== false;
1955
1955
  var shouldShowBpbTime = bpbTime === true || bpbTime === "true";
1956
1956
  var buttonStyle = {
1957
1957
  backgroundColor: "transparent",
@@ -2053,7 +2053,9 @@ var init_wistia_player = __esm({
2053
2053
  });
2054
2054
  var lodash_merge__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__3(8089);
2055
2055
  var lodash_merge__WEBPACK_IMPORTED_MODULE_0___default = /* @__PURE__ */ __webpack_require__3.n(lodash_merge__WEBPACK_IMPORTED_MODULE_0__);
2056
- var _utilities_obj_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__3(731);
2056
+ var lodash_clonedeep__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__3(8290);
2057
+ var lodash_clonedeep__WEBPACK_IMPORTED_MODULE_1___default = /* @__PURE__ */ __webpack_require__3.n(lodash_clonedeep__WEBPACK_IMPORTED_MODULE_1__);
2058
+ var _utilities_obj_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__3(731);
2057
2059
  function _classCallCheck2(a, n) {
2058
2060
  if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function");
2059
2061
  }
@@ -2114,14 +2116,10 @@ var init_wistia_player = __esm({
2114
2116
  _classPrivateFieldInitSpec2(this, _mediaData, {});
2115
2117
  _classPrivateFieldInitSpec2(this, _sourceEmbedOptions, {
2116
2118
  domOptions: {},
2117
- inlineMediaDataOptions: {},
2118
- serverMediaDataOptions: {},
2119
+ mediaDataOptions: {},
2119
2120
  wistiaWindowOptions: {}
2120
2121
  });
2121
- _classPrivateFieldInitSpec2(this, _sourceMediaData, {
2122
- serverData: {},
2123
- inlineData: {}
2124
- });
2122
+ _classPrivateFieldInitSpec2(this, _sourceMediaData, {});
2125
2123
  }
2126
2124
  return _createClass2(PlayerDataHandler2, [{
2127
2125
  key: "embedOptions",
@@ -2158,29 +2156,16 @@ var init_wistia_player = __esm({
2158
2156
  _assertClassBrand2(_PlayerDataHandler_brand, this, _updatePlayerEmbedOptions).call(this);
2159
2157
  }
2160
2158
  /**
2161
- * Sets the source data for the media data set inline on the window
2159
+ * Sets the source data for the media data
2162
2160
  * @param {MediaData} data
2163
2161
  * @returns {void}
2164
2162
  */
2165
2163
  }, {
2166
- key: "setInlineMediaDataSource",
2167
- value: function setInlineMediaDataSource(data) {
2164
+ key: "setMediaDataSource",
2165
+ value: function setMediaDataSource(data) {
2168
2166
  var _data$embedOptions;
2169
- _classPrivateFieldGet2(_sourceMediaData, this).inlineData = data;
2170
- _classPrivateFieldGet2(_sourceEmbedOptions, this).inlineMediaDataOptions = (_data$embedOptions = data.embedOptions) !== null && _data$embedOptions !== void 0 ? _data$embedOptions : {};
2171
- _assertClassBrand2(_PlayerDataHandler_brand, this, _updatePlayerMediaData).call(this);
2172
- }
2173
- /**
2174
- * Sets the source data for the media data fetched from the server
2175
- * @param {MediaData} data
2176
- * @returns {void}
2177
- */
2178
- }, {
2179
- key: "setServerMediaDataSource",
2180
- value: function setServerMediaDataSource(data) {
2181
- var _data$embedOptions2;
2182
- _classPrivateFieldGet2(_sourceMediaData, this).serverData = data;
2183
- _classPrivateFieldGet2(_sourceEmbedOptions, this).serverMediaDataOptions = (_data$embedOptions2 = data.embedOptions) !== null && _data$embedOptions2 !== void 0 ? _data$embedOptions2 : {};
2167
+ _classPrivateFieldSet2(_sourceMediaData, this, data);
2168
+ _classPrivateFieldGet2(_sourceEmbedOptions, this).mediaDataOptions = (_data$embedOptions = data.embedOptions) !== null && _data$embedOptions !== void 0 ? _data$embedOptions : {};
2184
2169
  _assertClassBrand2(_PlayerDataHandler_brand, this, _updatePlayerMediaData).call(this);
2185
2170
  }
2186
2171
  /**
@@ -2210,17 +2195,12 @@ var init_wistia_player = __esm({
2210
2195
  }]);
2211
2196
  }();
2212
2197
  function _updatePlayerEmbedOptions() {
2213
- var _classPrivateFieldGet22 = _classPrivateFieldGet2(_sourceMediaData, this), inlineData = _classPrivateFieldGet22.inlineData;
2214
- var _classPrivateFieldGet3 = _classPrivateFieldGet2(_sourceEmbedOptions, this), serverMediaDataOptions = _classPrivateFieldGet3.serverMediaDataOptions, wistiaWindowOptions = _classPrivateFieldGet3.wistiaWindowOptions, inlineMediaDataOptions = _classPrivateFieldGet3.inlineMediaDataOptions, domOptions = _classPrivateFieldGet3.domOptions;
2215
- var hasInlineMediaData = inlineData && Object.keys(inlineData).length > 0;
2216
- _classPrivateFieldSet2(_embedOptions, this, (0, _utilities_obj_js__WEBPACK_IMPORTED_MODULE_1__.wg)(lodash_merge__WEBPACK_IMPORTED_MODULE_0___default()(hasInlineMediaData === true ? inlineMediaDataOptions !== null && inlineMediaDataOptions !== void 0 ? inlineMediaDataOptions : {} : serverMediaDataOptions !== null && serverMediaDataOptions !== void 0 ? serverMediaDataOptions : {}, wistiaWindowOptions !== null && wistiaWindowOptions !== void 0 ? wistiaWindowOptions : {}, domOptions !== null && domOptions !== void 0 ? domOptions : {}, _classPrivateFieldGet2(_embedOptionOverrides, this))));
2198
+ var _classPrivateFieldGet22 = _classPrivateFieldGet2(_sourceEmbedOptions, this), mediaDataOptions = _classPrivateFieldGet22.mediaDataOptions, wistiaWindowOptions = _classPrivateFieldGet22.wistiaWindowOptions, domOptions = _classPrivateFieldGet22.domOptions;
2199
+ _classPrivateFieldSet2(_embedOptions, this, (0, _utilities_obj_js__WEBPACK_IMPORTED_MODULE_2__.wg)(lodash_clonedeep__WEBPACK_IMPORTED_MODULE_1___default()(lodash_merge__WEBPACK_IMPORTED_MODULE_0___default()(mediaDataOptions !== null && mediaDataOptions !== void 0 ? mediaDataOptions : {}, wistiaWindowOptions !== null && wistiaWindowOptions !== void 0 ? wistiaWindowOptions : {}, domOptions !== null && domOptions !== void 0 ? domOptions : {}, _classPrivateFieldGet2(_embedOptionOverrides, this)))));
2217
2200
  _classPrivateFieldGet2(_mediaData, this).embedOptions = _classPrivateFieldGet2(_embedOptions, this);
2218
2201
  }
2219
2202
  function _updatePlayerMediaData() {
2220
- var _classPrivateFieldGet4 = _classPrivateFieldGet2(_sourceMediaData, this), inlineData = _classPrivateFieldGet4.inlineData, serverData = _classPrivateFieldGet4.serverData;
2221
- var hasInlineMediaData = inlineData && Object.keys(inlineData).length > 0;
2222
- var data = hasInlineMediaData ? inlineData : serverData !== null && serverData !== void 0 ? serverData : {};
2223
- _classPrivateFieldSet2(_mediaData, this, (0, _utilities_obj_js__WEBPACK_IMPORTED_MODULE_1__.wg)(data));
2203
+ _classPrivateFieldSet2(_mediaData, this, (0, _utilities_obj_js__WEBPACK_IMPORTED_MODULE_2__.wg)(lodash_clonedeep__WEBPACK_IMPORTED_MODULE_1___default()(_classPrivateFieldGet2(_sourceMediaData, this))));
2224
2204
  _assertClassBrand2(_PlayerDataHandler_brand, this, _updatePlayerEmbedOptions).call(this);
2225
2205
  }
2226
2206
  }
@@ -3564,37 +3544,44 @@ var init_wistia_player = __esm({
3564
3544
  }
3565
3545
  var fetchMediaData = /* @__PURE__ */ function() {
3566
3546
  var _ref = _asyncToGenerator2(/* @__PURE__ */ _regeneratorRuntime2().mark(function _callee(hashedId) {
3567
- var options, cacheKey, host, url, promise, _args = arguments;
3547
+ var options, cacheKey, mediaDataFromCache, host, url, promise, _args = arguments;
3568
3548
  return _regeneratorRuntime2().wrap(function _callee$(_context) {
3569
3549
  while (1) switch (_context.prev = _context.next) {
3570
3550
  case 0:
3571
3551
  options = _args.length > 1 && _args[1] !== void 0 ? _args[1] : {};
3572
3552
  cacheKey = hashedId;
3553
+ mediaDataFromCache = (0, _remote_data_cache_ts__WEBPACK_IMPORTED_MODULE_3__.F2)(cacheKey);
3554
+ if (!(mediaDataFromCache && options.skipCache !== true)) {
3555
+ _context.next = 5;
3556
+ break;
3557
+ }
3558
+ return _context.abrupt("return", Promise.resolve(mediaDataFromCache));
3559
+ case 5:
3573
3560
  if (!(0, _wistia_type_guards__WEBPACK_IMPORTED_MODULE_4__.n9)(_wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_0__.s._mediaDataPromises[cacheKey])) {
3574
- _context.next = 4;
3561
+ _context.next = 7;
3575
3562
  break;
3576
3563
  }
3577
3564
  return _context.abrupt("return", _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_0__.s._mediaDataPromises[cacheKey]);
3578
- case 4:
3565
+ case 7:
3579
3566
  host = (0, _hosts_js__WEBPACK_IMPORTED_MODULE_1__.Dd)(options);
3580
3567
  url = "https://".concat(host, "/embed/medias/").concat(hashedId, ".json");
3581
3568
  promise = fetch(url).then(function(resp) {
3582
3569
  return resp.json();
3583
3570
  }).then(function(response) {
3571
+ var _mediaData$hashedId;
3584
3572
  if ((0, _mediaDataError_ts__WEBPACK_IMPORTED_MODULE_5__.V)(response)) {
3585
3573
  return response;
3586
3574
  }
3587
- var mediaData = response.media;
3588
- if (mediaData && (0, _wistia_type_guards__WEBPACK_IMPORTED_MODULE_4__.n9)(mediaData.hashedId)) {
3589
- (0, _media_data_transforms_js__WEBPACK_IMPORTED_MODULE_2__.M)(mediaData, options);
3590
- (0, _remote_data_cache_ts__WEBPACK_IMPORTED_MODULE_3__.ry)(mediaData.hashedId, mediaData);
3591
- return mediaData;
3592
- }
3593
- return {};
3575
+ var _ref2 = response, mediaData = _ref2.media;
3576
+ (0, _media_data_transforms_js__WEBPACK_IMPORTED_MODULE_2__.M)(mediaData, options);
3577
+ (0, _remote_data_cache_ts__WEBPACK_IMPORTED_MODULE_3__.ry)((_mediaData$hashedId = mediaData.hashedId) !== null && _mediaData$hashedId !== void 0 ? _mediaData$hashedId : "", mediaData);
3578
+ return mediaData;
3579
+ }).finally(function() {
3580
+ Reflect.deleteProperty(_wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_0__.s._mediaDataPromises, cacheKey);
3594
3581
  });
3595
3582
  _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_0__.s._mediaDataPromises[cacheKey] = promise;
3596
3583
  return _context.abrupt("return", promise);
3597
- case 9:
3584
+ case 12:
3598
3585
  case "end":
3599
3586
  return _context.stop();
3600
3587
  }
@@ -4002,24 +3989,56 @@ var init_wistia_player = __esm({
4002
3989
  /***/
4003
3990
  (__unused_webpack_module, __webpack_exports__3, __webpack_require__3) => {
4004
3991
  __webpack_require__3.d(__webpack_exports__3, {
3992
+ /* harmony export */
3993
+ F2: () => (
3994
+ /* binding */
3995
+ getMediaDataFromCache2
3996
+ ),
4005
3997
  /* harmony export */
4006
3998
  ry: () => (
4007
3999
  /* binding */
4008
4000
  cacheMediaData2
4001
+ ),
4002
+ /* harmony export */
4003
+ s3: () => (
4004
+ /* binding */
4005
+ uncacheMediaData2
4009
4006
  )
4010
4007
  /* harmony export */
4011
4008
  });
4009
+ var _wistia_type_guards__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__3(4586);
4012
4010
  var _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__3(5509);
4011
+ var _wlog_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__3(6637);
4012
+ var _objectHasOwn = function(object, property) {
4013
+ if (typeof object === "undefined" || object === null) {
4014
+ throw new TypeError("Cannot convert undefined or null to object");
4015
+ }
4016
+ return Object.prototype.hasOwnProperty.call(Object(object), property);
4017
+ };
4013
4018
  var getMediaDataFromCache2 = function getMediaDataFromCache3(hashedId) {
4014
- var mediaData = Wistia._remoteData.get("media_".concat(hashedId));
4015
- if (isNil(mediaData)) return null;
4019
+ var mediaData = _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_0__.s._remoteData.get("media_".concat(hashedId));
4020
+ if ((0, _wistia_type_guards__WEBPACK_IMPORTED_MODULE_2__.gD)(mediaData)) return null;
4021
+ if (_objectHasOwn(mediaData, "error")) {
4022
+ _wlog_js__WEBPACK_IMPORTED_MODULE_1__.ct.error("Received cached error response instead of MediaData when retrieving cached mediaData for ".concat(hashedId));
4023
+ }
4016
4024
  return mediaData;
4017
4025
  };
4018
4026
  var cacheMediaData2 = function cacheMediaData3(hashedId, data) {
4019
4027
  _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_0__.s._remoteData.set("media_".concat(hashedId), data);
4020
4028
  };
4021
4029
  var uncacheMediaData2 = function uncacheMediaData3(hashedId) {
4022
- Wistia._remoteData.delete("media_".concat(hashedId));
4030
+ _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_0__.s._remoteData.delete("media_".concat(hashedId));
4031
+ };
4032
+ var getCarouselDataFromCache = function getCarouselDataFromCache2(hashedId) {
4033
+ var carouselData = Wistia._remoteData.get("carousel_".concat(hashedId));
4034
+ if (isNil(carouselData)) return null;
4035
+ return carouselData;
4036
+ };
4037
+ var cacheCarouselData = function cacheCarouselData2(hashedId, data) {
4038
+ Wistia._remoteData.set("carousel_".concat(hashedId), data);
4039
+ };
4040
+ var uncacheCarouselData = function uncacheCarouselData2(hashedId) {
4041
+ Wistia._remoteData.delete("carousel_".concat(hashedId));
4023
4042
  };
4024
4043
  }
4025
4044
  ),
@@ -4282,42 +4301,60 @@ var init_wistia_player = __esm({
4282
4301
  return Object.prototype.hasOwnProperty.call(Object(object), property);
4283
4302
  };
4284
4303
  if (_utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z.Wistia == null) {
4285
- _utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z.Wistia = {
4286
- _destructors: {},
4287
- _initializers: {},
4288
- _mediaDataPromises: {},
4289
- _remoteData: /* @__PURE__ */ new Map(),
4290
- api: function api() {
4291
- console.error("Accessed Wistia.api() before it was initialized");
4292
- return null;
4293
- },
4294
- // this will be overwritten in _async.coffee
4295
- defineControl: function defineControl() {
4296
- console.error("Accessed Wistia.defineControl() before it was initialized");
4297
- return null;
4298
- },
4299
- mixin: function mixin(klass, obj) {
4300
- Object.keys(obj).forEach(function(key) {
4301
- if (_objectHasOwn(obj, key)) {
4302
- klass[key] = obj[key];
4303
- }
4304
- });
4305
- },
4306
- // will be overwritten in _public_api.coffee
4307
- PublicApi: null,
4308
- // will be overwritten in _remote_data.js
4309
- uncacheMedia: function uncacheMedia() {
4310
- console.error("Accessed Wistia.uncacheMedia() before it was initialized");
4311
- return null;
4312
- },
4313
- // will be overwritten in _visitor_key.js
4314
- VisitorKey: null,
4315
- // will be overwritten in _visitor_key.js
4316
- visitorKey: null,
4317
- // will be overwritten in WistiaPlayer.tsx
4318
- wistia: void 0
4304
+ _utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z.Wistia = {};
4305
+ }
4306
+ if (_utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z.Wistia._destructors == null) {
4307
+ _utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z.Wistia._destructors = {};
4308
+ }
4309
+ if (_utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z.Wistia._initializers == null) {
4310
+ _utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z.Wistia._initializers = {};
4311
+ }
4312
+ if (_utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z.Wistia._remoteData == null) {
4313
+ _utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z.Wistia._remoteData = /* @__PURE__ */ new Map();
4314
+ }
4315
+ if (_utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z.Wistia.api == null) {
4316
+ _utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z.Wistia.api = function() {
4317
+ console.error("Accessed Wistia.api() before it was initialized");
4318
+ return null;
4319
+ };
4320
+ }
4321
+ if (_utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z.Wistia.defineControl == null) {
4322
+ _utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z.Wistia.defineControl = function() {
4323
+ console.error("Accessed Wistia.defineControl() before it was initialized");
4324
+ return null;
4325
+ };
4326
+ }
4327
+ if (_utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z.Wistia.mixin == null) {
4328
+ _utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z.Wistia.mixin = function(klass) {
4329
+ var obj = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
4330
+ Object.keys(obj).forEach(function(key) {
4331
+ if (_objectHasOwn(obj, key)) {
4332
+ klass[key] = obj[key];
4333
+ }
4334
+ });
4319
4335
  };
4320
4336
  }
4337
+ if (_utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z.Wistia.PublicApi == null) {
4338
+ _utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z.Wistia.PublicApi = null;
4339
+ }
4340
+ if (_utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z.Wistia.uncacheMedia == null) {
4341
+ _utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z.Wistia.uncacheMedia = function() {
4342
+ console.error("Accessed Wistia.uncacheMedia() before it was initialized");
4343
+ return null;
4344
+ };
4345
+ }
4346
+ if (_utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z.Wistia.VisitorKey == null) {
4347
+ _utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z.Wistia.VisitorKey = null;
4348
+ }
4349
+ if (_utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z.Wistia.visitorKey == null) {
4350
+ _utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z.Wistia.visitorKey = null;
4351
+ }
4352
+ if (_utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z.Wistia.wistia == null) {
4353
+ _utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z.Wistia.wistia = void 0;
4354
+ }
4355
+ if (_utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z.Wistia._mediaDataPromises == null) {
4356
+ _utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z.Wistia._mediaDataPromises = {};
4357
+ }
4321
4358
  var Wistia2 = _utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z.Wistia;
4322
4359
  }
4323
4360
  ),
@@ -4357,61 +4394,639 @@ var init_wistia_player = __esm({
4357
4394
  if (!matches2) {
4358
4395
  throw new RangeError("invalid duration: ".concat(durationString));
4359
4396
  }
4360
- var slicedMatches = matches2.slice(1);
4361
- if (slicedMatches.filter(function(v) {
4362
- return v != null;
4363
- }).length === 0) {
4364
- throw new RangeError("invalid duration: ".concat(durationString));
4397
+ var slicedMatches = matches2.slice(1);
4398
+ if (slicedMatches.filter(function(v) {
4399
+ return v != null;
4400
+ }).length === 0) {
4401
+ throw new RangeError("invalid duration: ".concat(durationString));
4402
+ }
4403
+ if (slicedMatches.filter(function(v) {
4404
+ return /\./.test(v || "");
4405
+ }).length > 1) {
4406
+ throw new RangeError("only the smallest unit can be fractional");
4407
+ }
4408
+ return slicedMatches.reduce(function(prev, next, idx) {
4409
+ prev[objMap[idx]] = parseFloat(next || "0") || 0;
4410
+ return prev;
4411
+ }, {});
4412
+ };
4413
+ exports.qg = parse2;
4414
+ var end = function(durationInput, startDate) {
4415
+ if (startDate === void 0) {
4416
+ startDate = /* @__PURE__ */ new Date();
4417
+ }
4418
+ var duration = Object.assign({}, defaultDuration, durationInput);
4419
+ var timestamp = startDate.getTime();
4420
+ var then = new Date(timestamp);
4421
+ then.setFullYear(then.getFullYear() + duration.years);
4422
+ then.setMonth(then.getMonth() + duration.months);
4423
+ then.setDate(then.getDate() + duration.days);
4424
+ var hoursInMs = duration.hours * 3600 * 1e3;
4425
+ var minutesInMs = duration.minutes * 60 * 1e3;
4426
+ then.setMilliseconds(then.getMilliseconds() + duration.seconds * 1e3 + hoursInMs + minutesInMs);
4427
+ then.setDate(then.getDate() + duration.weeks * 7);
4428
+ return then;
4429
+ };
4430
+ exports._N = end;
4431
+ var toSeconds2 = function(durationInput, startDate) {
4432
+ if (startDate === void 0) {
4433
+ startDate = /* @__PURE__ */ new Date();
4434
+ }
4435
+ var duration = Object.assign({}, defaultDuration, durationInput);
4436
+ var timestamp = startDate.getTime();
4437
+ var now = new Date(timestamp);
4438
+ var then = (0, exports._N)(duration, now);
4439
+ var tzStart = startDate.getTimezoneOffset();
4440
+ var tzEnd = then.getTimezoneOffset();
4441
+ var tzOffsetSeconds = (tzStart - tzEnd) * 60;
4442
+ var seconds = (then.getTime() - now.getTime()) / 1e3;
4443
+ return seconds + tzOffsetSeconds;
4444
+ };
4445
+ exports.fP = toSeconds2;
4446
+ __webpack_unused_export__ = {
4447
+ end: exports._N,
4448
+ toSeconds: exports.fP,
4449
+ pattern: exports.T1,
4450
+ parse: exports.qg
4451
+ };
4452
+ }
4453
+ ),
4454
+ /***/
4455
+ 8290: (
4456
+ /***/
4457
+ (module2, exports, __webpack_require__3) => {
4458
+ module2 = __webpack_require__3.nmd(module2);
4459
+ var LARGE_ARRAY_SIZE = 200;
4460
+ var HASH_UNDEFINED = "__lodash_hash_undefined__";
4461
+ var MAX_SAFE_INTEGER = 9007199254740991;
4462
+ var argsTag = "[object Arguments]", arrayTag = "[object Array]", boolTag = "[object Boolean]", dateTag = "[object Date]", errorTag = "[object Error]", funcTag = "[object Function]", genTag = "[object GeneratorFunction]", mapTag = "[object Map]", numberTag = "[object Number]", objectTag = "[object Object]", promiseTag = "[object Promise]", regexpTag = "[object RegExp]", setTag = "[object Set]", stringTag = "[object String]", symbolTag = "[object Symbol]", weakMapTag = "[object WeakMap]";
4463
+ var arrayBufferTag = "[object ArrayBuffer]", dataViewTag = "[object DataView]", float32Tag = "[object Float32Array]", float64Tag = "[object Float64Array]", int8Tag = "[object Int8Array]", int16Tag = "[object Int16Array]", int32Tag = "[object Int32Array]", uint8Tag = "[object Uint8Array]", uint8ClampedTag = "[object Uint8ClampedArray]", uint16Tag = "[object Uint16Array]", uint32Tag = "[object Uint32Array]";
4464
+ var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
4465
+ var reFlags = /\w*$/;
4466
+ var reIsHostCtor = /^\[object .+?Constructor\]$/;
4467
+ var reIsUint = /^(?:0|[1-9]\d*)$/;
4468
+ var cloneableTags = {};
4469
+ cloneableTags[argsTag] = cloneableTags[arrayTag] = cloneableTags[arrayBufferTag] = cloneableTags[dataViewTag] = cloneableTags[boolTag] = cloneableTags[dateTag] = cloneableTags[float32Tag] = cloneableTags[float64Tag] = cloneableTags[int8Tag] = cloneableTags[int16Tag] = cloneableTags[int32Tag] = cloneableTags[mapTag] = cloneableTags[numberTag] = cloneableTags[objectTag] = cloneableTags[regexpTag] = cloneableTags[setTag] = cloneableTags[stringTag] = cloneableTags[symbolTag] = cloneableTags[uint8Tag] = cloneableTags[uint8ClampedTag] = cloneableTags[uint16Tag] = cloneableTags[uint32Tag] = true;
4470
+ cloneableTags[errorTag] = cloneableTags[funcTag] = cloneableTags[weakMapTag] = false;
4471
+ var freeGlobal = typeof __webpack_require__3.g == "object" && __webpack_require__3.g && __webpack_require__3.g.Object === Object && __webpack_require__3.g;
4472
+ var freeSelf = typeof self == "object" && self && self.Object === Object && self;
4473
+ var root2 = freeGlobal || freeSelf || Function("return this")();
4474
+ var freeExports = exports && !exports.nodeType && exports;
4475
+ var freeModule = freeExports && true && module2 && !module2.nodeType && module2;
4476
+ var moduleExports = freeModule && freeModule.exports === freeExports;
4477
+ function addMapEntry(map, pair) {
4478
+ map.set(pair[0], pair[1]);
4479
+ return map;
4480
+ }
4481
+ function addSetEntry(set, value) {
4482
+ set.add(value);
4483
+ return set;
4484
+ }
4485
+ function arrayEach(array, iteratee) {
4486
+ var index = -1, length = array ? array.length : 0;
4487
+ while (++index < length) {
4488
+ if (iteratee(array[index], index, array) === false) {
4489
+ break;
4490
+ }
4491
+ }
4492
+ return array;
4493
+ }
4494
+ function arrayPush(array, values) {
4495
+ var index = -1, length = values.length, offset = array.length;
4496
+ while (++index < length) {
4497
+ array[offset + index] = values[index];
4498
+ }
4499
+ return array;
4500
+ }
4501
+ function arrayReduce(array, iteratee, accumulator, initAccum) {
4502
+ var index = -1, length = array ? array.length : 0;
4503
+ if (initAccum && length) {
4504
+ accumulator = array[++index];
4505
+ }
4506
+ while (++index < length) {
4507
+ accumulator = iteratee(accumulator, array[index], index, array);
4508
+ }
4509
+ return accumulator;
4510
+ }
4511
+ function baseTimes(n, iteratee) {
4512
+ var index = -1, result = Array(n);
4513
+ while (++index < n) {
4514
+ result[index] = iteratee(index);
4515
+ }
4516
+ return result;
4517
+ }
4518
+ function getValue(object, key) {
4519
+ return object == null ? void 0 : object[key];
4520
+ }
4521
+ function isHostObject(value) {
4522
+ var result = false;
4523
+ if (value != null && typeof value.toString != "function") {
4524
+ try {
4525
+ result = !!(value + "");
4526
+ } catch (e) {
4527
+ }
4528
+ }
4529
+ return result;
4530
+ }
4531
+ function mapToArray(map) {
4532
+ var index = -1, result = Array(map.size);
4533
+ map.forEach(function(value, key) {
4534
+ result[++index] = [key, value];
4535
+ });
4536
+ return result;
4537
+ }
4538
+ function overArg(func, transform) {
4539
+ return function(arg) {
4540
+ return func(transform(arg));
4541
+ };
4542
+ }
4543
+ function setToArray(set) {
4544
+ var index = -1, result = Array(set.size);
4545
+ set.forEach(function(value) {
4546
+ result[++index] = value;
4547
+ });
4548
+ return result;
4549
+ }
4550
+ var arrayProto = Array.prototype, funcProto = Function.prototype, objectProto = Object.prototype;
4551
+ var coreJsData = root2["__core-js_shared__"];
4552
+ var maskSrcKey = function() {
4553
+ var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || "");
4554
+ return uid ? "Symbol(src)_1." + uid : "";
4555
+ }();
4556
+ var funcToString = funcProto.toString;
4557
+ var hasOwnProperty = objectProto.hasOwnProperty;
4558
+ var objectToString = objectProto.toString;
4559
+ var reIsNative = RegExp(
4560
+ "^" + funcToString.call(hasOwnProperty).replace(reRegExpChar, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
4561
+ );
4562
+ var Buffer2 = moduleExports ? root2.Buffer : void 0, Symbol2 = root2.Symbol, Uint8Array2 = root2.Uint8Array, getPrototype = overArg(Object.getPrototypeOf, Object), objectCreate = Object.create, propertyIsEnumerable = objectProto.propertyIsEnumerable, splice = arrayProto.splice;
4563
+ var nativeGetSymbols = Object.getOwnPropertySymbols, nativeIsBuffer = Buffer2 ? Buffer2.isBuffer : void 0, nativeKeys = overArg(Object.keys, Object);
4564
+ var DataView = getNative(root2, "DataView"), Map2 = getNative(root2, "Map"), Promise2 = getNative(root2, "Promise"), Set = getNative(root2, "Set"), WeakMap2 = getNative(root2, "WeakMap"), nativeCreate = getNative(Object, "create");
4565
+ var dataViewCtorString = toSource(DataView), mapCtorString = toSource(Map2), promiseCtorString = toSource(Promise2), setCtorString = toSource(Set), weakMapCtorString = toSource(WeakMap2);
4566
+ var symbolProto = Symbol2 ? Symbol2.prototype : void 0, symbolValueOf = symbolProto ? symbolProto.valueOf : void 0;
4567
+ function Hash(entries) {
4568
+ var index = -1, length = entries ? entries.length : 0;
4569
+ this.clear();
4570
+ while (++index < length) {
4571
+ var entry = entries[index];
4572
+ this.set(entry[0], entry[1]);
4573
+ }
4574
+ }
4575
+ function hashClear() {
4576
+ this.__data__ = nativeCreate ? nativeCreate(null) : {};
4577
+ }
4578
+ function hashDelete(key) {
4579
+ return this.has(key) && delete this.__data__[key];
4580
+ }
4581
+ function hashGet(key) {
4582
+ var data = this.__data__;
4583
+ if (nativeCreate) {
4584
+ var result = data[key];
4585
+ return result === HASH_UNDEFINED ? void 0 : result;
4586
+ }
4587
+ return hasOwnProperty.call(data, key) ? data[key] : void 0;
4588
+ }
4589
+ function hashHas(key) {
4590
+ var data = this.__data__;
4591
+ return nativeCreate ? data[key] !== void 0 : hasOwnProperty.call(data, key);
4592
+ }
4593
+ function hashSet(key, value) {
4594
+ var data = this.__data__;
4595
+ data[key] = nativeCreate && value === void 0 ? HASH_UNDEFINED : value;
4596
+ return this;
4597
+ }
4598
+ Hash.prototype.clear = hashClear;
4599
+ Hash.prototype["delete"] = hashDelete;
4600
+ Hash.prototype.get = hashGet;
4601
+ Hash.prototype.has = hashHas;
4602
+ Hash.prototype.set = hashSet;
4603
+ function ListCache(entries) {
4604
+ var index = -1, length = entries ? entries.length : 0;
4605
+ this.clear();
4606
+ while (++index < length) {
4607
+ var entry = entries[index];
4608
+ this.set(entry[0], entry[1]);
4609
+ }
4610
+ }
4611
+ function listCacheClear() {
4612
+ this.__data__ = [];
4613
+ }
4614
+ function listCacheDelete(key) {
4615
+ var data = this.__data__, index = assocIndexOf(data, key);
4616
+ if (index < 0) {
4617
+ return false;
4618
+ }
4619
+ var lastIndex = data.length - 1;
4620
+ if (index == lastIndex) {
4621
+ data.pop();
4622
+ } else {
4623
+ splice.call(data, index, 1);
4624
+ }
4625
+ return true;
4626
+ }
4627
+ function listCacheGet(key) {
4628
+ var data = this.__data__, index = assocIndexOf(data, key);
4629
+ return index < 0 ? void 0 : data[index][1];
4630
+ }
4631
+ function listCacheHas(key) {
4632
+ return assocIndexOf(this.__data__, key) > -1;
4633
+ }
4634
+ function listCacheSet(key, value) {
4635
+ var data = this.__data__, index = assocIndexOf(data, key);
4636
+ if (index < 0) {
4637
+ data.push([key, value]);
4638
+ } else {
4639
+ data[index][1] = value;
4640
+ }
4641
+ return this;
4642
+ }
4643
+ ListCache.prototype.clear = listCacheClear;
4644
+ ListCache.prototype["delete"] = listCacheDelete;
4645
+ ListCache.prototype.get = listCacheGet;
4646
+ ListCache.prototype.has = listCacheHas;
4647
+ ListCache.prototype.set = listCacheSet;
4648
+ function MapCache(entries) {
4649
+ var index = -1, length = entries ? entries.length : 0;
4650
+ this.clear();
4651
+ while (++index < length) {
4652
+ var entry = entries[index];
4653
+ this.set(entry[0], entry[1]);
4654
+ }
4655
+ }
4656
+ function mapCacheClear() {
4657
+ this.__data__ = {
4658
+ "hash": new Hash(),
4659
+ "map": new (Map2 || ListCache)(),
4660
+ "string": new Hash()
4661
+ };
4662
+ }
4663
+ function mapCacheDelete(key) {
4664
+ return getMapData(this, key)["delete"](key);
4665
+ }
4666
+ function mapCacheGet(key) {
4667
+ return getMapData(this, key).get(key);
4668
+ }
4669
+ function mapCacheHas(key) {
4670
+ return getMapData(this, key).has(key);
4671
+ }
4672
+ function mapCacheSet(key, value) {
4673
+ getMapData(this, key).set(key, value);
4674
+ return this;
4675
+ }
4676
+ MapCache.prototype.clear = mapCacheClear;
4677
+ MapCache.prototype["delete"] = mapCacheDelete;
4678
+ MapCache.prototype.get = mapCacheGet;
4679
+ MapCache.prototype.has = mapCacheHas;
4680
+ MapCache.prototype.set = mapCacheSet;
4681
+ function Stack(entries) {
4682
+ this.__data__ = new ListCache(entries);
4683
+ }
4684
+ function stackClear() {
4685
+ this.__data__ = new ListCache();
4686
+ }
4687
+ function stackDelete(key) {
4688
+ return this.__data__["delete"](key);
4689
+ }
4690
+ function stackGet(key) {
4691
+ return this.__data__.get(key);
4692
+ }
4693
+ function stackHas(key) {
4694
+ return this.__data__.has(key);
4695
+ }
4696
+ function stackSet(key, value) {
4697
+ var cache = this.__data__;
4698
+ if (cache instanceof ListCache) {
4699
+ var pairs = cache.__data__;
4700
+ if (!Map2 || pairs.length < LARGE_ARRAY_SIZE - 1) {
4701
+ pairs.push([key, value]);
4702
+ return this;
4703
+ }
4704
+ cache = this.__data__ = new MapCache(pairs);
4705
+ }
4706
+ cache.set(key, value);
4707
+ return this;
4708
+ }
4709
+ Stack.prototype.clear = stackClear;
4710
+ Stack.prototype["delete"] = stackDelete;
4711
+ Stack.prototype.get = stackGet;
4712
+ Stack.prototype.has = stackHas;
4713
+ Stack.prototype.set = stackSet;
4714
+ function arrayLikeKeys(value, inherited) {
4715
+ var result = isArray2(value) || isArguments(value) ? baseTimes(value.length, String) : [];
4716
+ var length = result.length, skipIndexes = !!length;
4717
+ for (var key in value) {
4718
+ if ((inherited || hasOwnProperty.call(value, key)) && !(skipIndexes && (key == "length" || isIndex(key, length)))) {
4719
+ result.push(key);
4720
+ }
4721
+ }
4722
+ return result;
4723
+ }
4724
+ function assignValue(object, key, value) {
4725
+ var objValue = object[key];
4726
+ if (!(hasOwnProperty.call(object, key) && eq(objValue, value)) || value === void 0 && !(key in object)) {
4727
+ object[key] = value;
4728
+ }
4729
+ }
4730
+ function assocIndexOf(array, key) {
4731
+ var length = array.length;
4732
+ while (length--) {
4733
+ if (eq(array[length][0], key)) {
4734
+ return length;
4735
+ }
4736
+ }
4737
+ return -1;
4738
+ }
4739
+ function baseAssign(object, source) {
4740
+ return object && copyObject(source, keys(source), object);
4741
+ }
4742
+ function baseClone(value, isDeep, isFull, customizer, key, object, stack) {
4743
+ var result;
4744
+ if (customizer) {
4745
+ result = object ? customizer(value, key, object, stack) : customizer(value);
4746
+ }
4747
+ if (result !== void 0) {
4748
+ return result;
4749
+ }
4750
+ if (!isObject2(value)) {
4751
+ return value;
4752
+ }
4753
+ var isArr = isArray2(value);
4754
+ if (isArr) {
4755
+ result = initCloneArray(value);
4756
+ if (!isDeep) {
4757
+ return copyArray(value, result);
4758
+ }
4759
+ } else {
4760
+ var tag = getTag(value), isFunc = tag == funcTag || tag == genTag;
4761
+ if (isBuffer(value)) {
4762
+ return cloneBuffer(value, isDeep);
4763
+ }
4764
+ if (tag == objectTag || tag == argsTag || isFunc && !object) {
4765
+ if (isHostObject(value)) {
4766
+ return object ? value : {};
4767
+ }
4768
+ result = initCloneObject(isFunc ? {} : value);
4769
+ if (!isDeep) {
4770
+ return copySymbols(value, baseAssign(result, value));
4771
+ }
4772
+ } else {
4773
+ if (!cloneableTags[tag]) {
4774
+ return object ? value : {};
4775
+ }
4776
+ result = initCloneByTag(value, tag, baseClone, isDeep);
4777
+ }
4778
+ }
4779
+ stack || (stack = new Stack());
4780
+ var stacked = stack.get(value);
4781
+ if (stacked) {
4782
+ return stacked;
4783
+ }
4784
+ stack.set(value, result);
4785
+ if (!isArr) {
4786
+ var props = isFull ? getAllKeys(value) : keys(value);
4787
+ }
4788
+ arrayEach(props || value, function(subValue, key2) {
4789
+ if (props) {
4790
+ key2 = subValue;
4791
+ subValue = value[key2];
4792
+ }
4793
+ assignValue(result, key2, baseClone(subValue, isDeep, isFull, customizer, key2, value, stack));
4794
+ });
4795
+ return result;
4796
+ }
4797
+ function baseCreate(proto) {
4798
+ return isObject2(proto) ? objectCreate(proto) : {};
4799
+ }
4800
+ function baseGetAllKeys(object, keysFunc, symbolsFunc) {
4801
+ var result = keysFunc(object);
4802
+ return isArray2(object) ? result : arrayPush(result, symbolsFunc(object));
4803
+ }
4804
+ function baseGetTag(value) {
4805
+ return objectToString.call(value);
4806
+ }
4807
+ function baseIsNative(value) {
4808
+ if (!isObject2(value) || isMasked(value)) {
4809
+ return false;
4810
+ }
4811
+ var pattern = isFunction(value) || isHostObject(value) ? reIsNative : reIsHostCtor;
4812
+ return pattern.test(toSource(value));
4813
+ }
4814
+ function baseKeys(object) {
4815
+ if (!isPrototype(object)) {
4816
+ return nativeKeys(object);
4817
+ }
4818
+ var result = [];
4819
+ for (var key in Object(object)) {
4820
+ if (hasOwnProperty.call(object, key) && key != "constructor") {
4821
+ result.push(key);
4822
+ }
4823
+ }
4824
+ return result;
4825
+ }
4826
+ function cloneBuffer(buffer, isDeep) {
4827
+ if (isDeep) {
4828
+ return buffer.slice();
4829
+ }
4830
+ var result = new buffer.constructor(buffer.length);
4831
+ buffer.copy(result);
4832
+ return result;
4833
+ }
4834
+ function cloneArrayBuffer(arrayBuffer) {
4835
+ var result = new arrayBuffer.constructor(arrayBuffer.byteLength);
4836
+ new Uint8Array2(result).set(new Uint8Array2(arrayBuffer));
4837
+ return result;
4838
+ }
4839
+ function cloneDataView(dataView, isDeep) {
4840
+ var buffer = isDeep ? cloneArrayBuffer(dataView.buffer) : dataView.buffer;
4841
+ return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength);
4842
+ }
4843
+ function cloneMap(map, isDeep, cloneFunc) {
4844
+ var array = isDeep ? cloneFunc(mapToArray(map), true) : mapToArray(map);
4845
+ return arrayReduce(array, addMapEntry, new map.constructor());
4846
+ }
4847
+ function cloneRegExp(regexp) {
4848
+ var result = new regexp.constructor(regexp.source, reFlags.exec(regexp));
4849
+ result.lastIndex = regexp.lastIndex;
4850
+ return result;
4851
+ }
4852
+ function cloneSet(set, isDeep, cloneFunc) {
4853
+ var array = isDeep ? cloneFunc(setToArray(set), true) : setToArray(set);
4854
+ return arrayReduce(array, addSetEntry, new set.constructor());
4855
+ }
4856
+ function cloneSymbol(symbol) {
4857
+ return symbolValueOf ? Object(symbolValueOf.call(symbol)) : {};
4858
+ }
4859
+ function cloneTypedArray(typedArray, isDeep) {
4860
+ var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer;
4861
+ return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);
4862
+ }
4863
+ function copyArray(source, array) {
4864
+ var index = -1, length = source.length;
4865
+ array || (array = Array(length));
4866
+ while (++index < length) {
4867
+ array[index] = source[index];
4868
+ }
4869
+ return array;
4870
+ }
4871
+ function copyObject(source, props, object, customizer) {
4872
+ object || (object = {});
4873
+ var index = -1, length = props.length;
4874
+ while (++index < length) {
4875
+ var key = props[index];
4876
+ var newValue = customizer ? customizer(object[key], source[key], key, object, source) : void 0;
4877
+ assignValue(object, key, newValue === void 0 ? source[key] : newValue);
4365
4878
  }
4366
- if (slicedMatches.filter(function(v) {
4367
- return /\./.test(v || "");
4368
- }).length > 1) {
4369
- throw new RangeError("only the smallest unit can be fractional");
4879
+ return object;
4880
+ }
4881
+ function copySymbols(source, object) {
4882
+ return copyObject(source, getSymbols(source), object);
4883
+ }
4884
+ function getAllKeys(object) {
4885
+ return baseGetAllKeys(object, keys, getSymbols);
4886
+ }
4887
+ function getMapData(map, key) {
4888
+ var data = map.__data__;
4889
+ return isKeyable(key) ? data[typeof key == "string" ? "string" : "hash"] : data.map;
4890
+ }
4891
+ function getNative(object, key) {
4892
+ var value = getValue(object, key);
4893
+ return baseIsNative(value) ? value : void 0;
4894
+ }
4895
+ var getSymbols = nativeGetSymbols ? overArg(nativeGetSymbols, Object) : stubArray;
4896
+ var getTag = baseGetTag;
4897
+ if (DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag || Map2 && getTag(new Map2()) != mapTag || Promise2 && getTag(Promise2.resolve()) != promiseTag || Set && getTag(new Set()) != setTag || WeakMap2 && getTag(new WeakMap2()) != weakMapTag) {
4898
+ getTag = function(value) {
4899
+ var result = objectToString.call(value), Ctor = result == objectTag ? value.constructor : void 0, ctorString = Ctor ? toSource(Ctor) : void 0;
4900
+ if (ctorString) {
4901
+ switch (ctorString) {
4902
+ case dataViewCtorString:
4903
+ return dataViewTag;
4904
+ case mapCtorString:
4905
+ return mapTag;
4906
+ case promiseCtorString:
4907
+ return promiseTag;
4908
+ case setCtorString:
4909
+ return setTag;
4910
+ case weakMapCtorString:
4911
+ return weakMapTag;
4912
+ }
4913
+ }
4914
+ return result;
4915
+ };
4916
+ }
4917
+ function initCloneArray(array) {
4918
+ var length = array.length, result = array.constructor(length);
4919
+ if (length && typeof array[0] == "string" && hasOwnProperty.call(array, "index")) {
4920
+ result.index = array.index;
4921
+ result.input = array.input;
4370
4922
  }
4371
- return slicedMatches.reduce(function(prev, next, idx) {
4372
- prev[objMap[idx]] = parseFloat(next || "0") || 0;
4373
- return prev;
4374
- }, {});
4375
- };
4376
- exports.qg = parse2;
4377
- var end = function(durationInput, startDate) {
4378
- if (startDate === void 0) {
4379
- startDate = /* @__PURE__ */ new Date();
4923
+ return result;
4924
+ }
4925
+ function initCloneObject(object) {
4926
+ return typeof object.constructor == "function" && !isPrototype(object) ? baseCreate(getPrototype(object)) : {};
4927
+ }
4928
+ function initCloneByTag(object, tag, cloneFunc, isDeep) {
4929
+ var Ctor = object.constructor;
4930
+ switch (tag) {
4931
+ case arrayBufferTag:
4932
+ return cloneArrayBuffer(object);
4933
+ case boolTag:
4934
+ case dateTag:
4935
+ return new Ctor(+object);
4936
+ case dataViewTag:
4937
+ return cloneDataView(object, isDeep);
4938
+ case float32Tag:
4939
+ case float64Tag:
4940
+ case int8Tag:
4941
+ case int16Tag:
4942
+ case int32Tag:
4943
+ case uint8Tag:
4944
+ case uint8ClampedTag:
4945
+ case uint16Tag:
4946
+ case uint32Tag:
4947
+ return cloneTypedArray(object, isDeep);
4948
+ case mapTag:
4949
+ return cloneMap(object, isDeep, cloneFunc);
4950
+ case numberTag:
4951
+ case stringTag:
4952
+ return new Ctor(object);
4953
+ case regexpTag:
4954
+ return cloneRegExp(object);
4955
+ case setTag:
4956
+ return cloneSet(object, isDeep, cloneFunc);
4957
+ case symbolTag:
4958
+ return cloneSymbol(object);
4380
4959
  }
4381
- var duration = Object.assign({}, defaultDuration, durationInput);
4382
- var timestamp = startDate.getTime();
4383
- var then = new Date(timestamp);
4384
- then.setFullYear(then.getFullYear() + duration.years);
4385
- then.setMonth(then.getMonth() + duration.months);
4386
- then.setDate(then.getDate() + duration.days);
4387
- var hoursInMs = duration.hours * 3600 * 1e3;
4388
- var minutesInMs = duration.minutes * 60 * 1e3;
4389
- then.setMilliseconds(then.getMilliseconds() + duration.seconds * 1e3 + hoursInMs + minutesInMs);
4390
- then.setDate(then.getDate() + duration.weeks * 7);
4391
- return then;
4392
- };
4393
- exports._N = end;
4394
- var toSeconds2 = function(durationInput, startDate) {
4395
- if (startDate === void 0) {
4396
- startDate = /* @__PURE__ */ new Date();
4960
+ }
4961
+ function isIndex(value, length) {
4962
+ length = length == null ? MAX_SAFE_INTEGER : length;
4963
+ return !!length && (typeof value == "number" || reIsUint.test(value)) && (value > -1 && value % 1 == 0 && value < length);
4964
+ }
4965
+ function isKeyable(value) {
4966
+ var type = typeof value;
4967
+ return type == "string" || type == "number" || type == "symbol" || type == "boolean" ? value !== "__proto__" : value === null;
4968
+ }
4969
+ function isMasked(func) {
4970
+ return !!maskSrcKey && maskSrcKey in func;
4971
+ }
4972
+ function isPrototype(value) {
4973
+ var Ctor = value && value.constructor, proto = typeof Ctor == "function" && Ctor.prototype || objectProto;
4974
+ return value === proto;
4975
+ }
4976
+ function toSource(func) {
4977
+ if (func != null) {
4978
+ try {
4979
+ return funcToString.call(func);
4980
+ } catch (e) {
4981
+ }
4982
+ try {
4983
+ return func + "";
4984
+ } catch (e) {
4985
+ }
4397
4986
  }
4398
- var duration = Object.assign({}, defaultDuration, durationInput);
4399
- var timestamp = startDate.getTime();
4400
- var now = new Date(timestamp);
4401
- var then = (0, exports._N)(duration, now);
4402
- var tzStart = startDate.getTimezoneOffset();
4403
- var tzEnd = then.getTimezoneOffset();
4404
- var tzOffsetSeconds = (tzStart - tzEnd) * 60;
4405
- var seconds = (then.getTime() - now.getTime()) / 1e3;
4406
- return seconds + tzOffsetSeconds;
4407
- };
4408
- exports.fP = toSeconds2;
4409
- __webpack_unused_export__ = {
4410
- end: exports._N,
4411
- toSeconds: exports.fP,
4412
- pattern: exports.T1,
4413
- parse: exports.qg
4414
- };
4987
+ return "";
4988
+ }
4989
+ function cloneDeep(value) {
4990
+ return baseClone(value, true, true);
4991
+ }
4992
+ function eq(value, other) {
4993
+ return value === other || value !== value && other !== other;
4994
+ }
4995
+ function isArguments(value) {
4996
+ return isArrayLikeObject(value) && hasOwnProperty.call(value, "callee") && (!propertyIsEnumerable.call(value, "callee") || objectToString.call(value) == argsTag);
4997
+ }
4998
+ var isArray2 = Array.isArray;
4999
+ function isArrayLike(value) {
5000
+ return value != null && isLength(value.length) && !isFunction(value);
5001
+ }
5002
+ function isArrayLikeObject(value) {
5003
+ return isObjectLike(value) && isArrayLike(value);
5004
+ }
5005
+ var isBuffer = nativeIsBuffer || stubFalse;
5006
+ function isFunction(value) {
5007
+ var tag = isObject2(value) ? objectToString.call(value) : "";
5008
+ return tag == funcTag || tag == genTag;
5009
+ }
5010
+ function isLength(value) {
5011
+ return typeof value == "number" && value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
5012
+ }
5013
+ function isObject2(value) {
5014
+ var type = typeof value;
5015
+ return !!value && (type == "object" || type == "function");
5016
+ }
5017
+ function isObjectLike(value) {
5018
+ return !!value && typeof value == "object";
5019
+ }
5020
+ function keys(object) {
5021
+ return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);
5022
+ }
5023
+ function stubArray() {
5024
+ return [];
5025
+ }
5026
+ function stubFalse() {
5027
+ return false;
5028
+ }
5029
+ module2.exports = cloneDeep;
4415
5030
  }
4416
5031
  ),
4417
5032
  /***/
@@ -5104,7 +5719,7 @@ var init_wistia_player = __esm({
5104
5719
  /* harmony export */
5105
5720
  FK: () => (
5106
5721
  /* binding */
5107
- k
5722
+ b
5108
5723
  ),
5109
5724
  /* harmony export */
5110
5725
  XX: () => (
@@ -5129,18 +5744,17 @@ var init_wistia_player = __esm({
5129
5744
  /* harmony export */
5130
5745
  uA: () => (
5131
5746
  /* binding */
5132
- b
5747
+ k
5133
5748
  )
5134
5749
  /* harmony export */
5135
5750
  });
5136
- var n, l, u, t, i2, o, r, f, e, c, s, a, h = {}, p = [], v = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, y = Array.isArray;
5751
+ var n, l, u, t, i2, o, r, f, e, c, s, a, h = {}, v = [], p = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, y = Array.isArray;
5137
5752
  function d(n2, l2) {
5138
5753
  for (var u2 in l2) n2[u2] = l2[u2];
5139
5754
  return n2;
5140
5755
  }
5141
5756
  function w(n2) {
5142
- var l2 = n2.parentNode;
5143
- l2 && l2.removeChild(n2);
5757
+ n2 && n2.parentNode && n2.parentNode.removeChild(n2);
5144
5758
  }
5145
5759
  function _(l2, u2, t2) {
5146
5760
  var i3, o2, r2, f2 = {};
@@ -5155,10 +5769,10 @@ var init_wistia_player = __esm({
5155
5769
  function m() {
5156
5770
  return { current: null };
5157
5771
  }
5158
- function k(n2) {
5772
+ function b(n2) {
5159
5773
  return n2.children;
5160
5774
  }
5161
- function b(n2, l2) {
5775
+ function k(n2, l2) {
5162
5776
  this.props = n2, this.context = l2;
5163
5777
  }
5164
5778
  function x(n2, l2) {
@@ -5185,13 +5799,13 @@ var init_wistia_player = __esm({
5185
5799
  P.__r = 0;
5186
5800
  }
5187
5801
  function S(n2, l2, u2, t2, i3, o2, r2, f2, e2, c2, s2) {
5188
- var a2, v2, y2, d2, w2, _2 = t2 && t2.__k || p, g2 = l2.length;
5189
- for (u2.__d = e2, $(u2, l2, _2), e2 = u2.__d, a2 = 0; a2 < g2; a2++) null != (y2 = u2.__k[a2]) && "boolean" != typeof y2 && "function" != typeof y2 && (v2 = -1 === y2.__i ? h : _2[y2.__i] || h, y2.__i = a2, O(n2, y2, v2, i3, o2, r2, f2, e2, c2, s2), d2 = y2.__e, y2.ref && v2.ref != y2.ref && (v2.ref && N(v2.ref, null, y2), s2.push(y2.ref, y2.__c || d2, y2)), null == w2 && null != d2 && (w2 = d2), 65536 & y2.__u || v2.__k === y2.__k ? e2 = I(y2, e2, n2) : "function" == typeof y2.type && void 0 !== y2.__d ? e2 = y2.__d : d2 && (e2 = d2.nextSibling), y2.__d = void 0, y2.__u &= -196609);
5802
+ var a2, p2, y2, d2, w2, _2 = t2 && t2.__k || v, g2 = l2.length;
5803
+ for (u2.__d = e2, $(u2, l2, _2), e2 = u2.__d, a2 = 0; a2 < g2; a2++) null != (y2 = u2.__k[a2]) && (p2 = -1 === y2.__i ? h : _2[y2.__i] || h, y2.__i = a2, O(n2, y2, p2, i3, o2, r2, f2, e2, c2, s2), d2 = y2.__e, y2.ref && p2.ref != y2.ref && (p2.ref && N(p2.ref, null, y2), s2.push(y2.ref, y2.__c || d2, y2)), null == w2 && null != d2 && (w2 = d2), 65536 & y2.__u || p2.__k === y2.__k ? e2 = I(y2, e2, n2) : "function" == typeof y2.type && void 0 !== y2.__d ? e2 = y2.__d : d2 && (e2 = d2.nextSibling), y2.__d = void 0, y2.__u &= -196609);
5190
5804
  u2.__d = e2, u2.__e = w2;
5191
5805
  }
5192
5806
  function $(n2, l2, u2) {
5193
5807
  var t2, i3, o2, r2, f2, e2 = l2.length, c2 = u2.length, s2 = c2, a2 = 0;
5194
- for (n2.__k = [], t2 = 0; t2 < e2; t2++) r2 = t2 + a2, null != (i3 = n2.__k[t2] = null == (i3 = l2[t2]) || "boolean" == typeof i3 || "function" == typeof i3 ? null : "string" == typeof i3 || "number" == typeof i3 || "bigint" == typeof i3 || i3.constructor == String ? g(null, i3, null, null, null) : y(i3) ? g(k, { children: i3 }, null, null, null) : void 0 === i3.constructor && i3.__b > 0 ? g(i3.type, i3.props, i3.key, i3.ref ? i3.ref : null, i3.__v) : i3) ? (i3.__ = n2, i3.__b = n2.__b + 1, f2 = L(i3, u2, r2, s2), i3.__i = f2, o2 = null, -1 !== f2 && (s2--, (o2 = u2[f2]) && (o2.__u |= 131072)), null == o2 || null === o2.__v ? (-1 == f2 && a2--, "function" != typeof i3.type && (i3.__u |= 65536)) : f2 !== r2 && (f2 == r2 - 1 ? a2 = f2 - r2 : f2 == r2 + 1 ? a2++ : f2 > r2 ? s2 > e2 - r2 ? a2 += f2 - r2 : a2-- : f2 < r2 && a2++, f2 !== t2 + a2 && (i3.__u |= 65536))) : (o2 = u2[r2]) && null == o2.key && o2.__e && 0 == (131072 & o2.__u) && (o2.__e == n2.__d && (n2.__d = x(o2)), V(o2, o2, false), u2[r2] = null, s2--);
5808
+ for (n2.__k = [], t2 = 0; t2 < e2; t2++) null != (i3 = l2[t2]) && "boolean" != typeof i3 && "function" != typeof i3 ? (r2 = t2 + a2, (i3 = n2.__k[t2] = "string" == typeof i3 || "number" == typeof i3 || "bigint" == typeof i3 || i3.constructor == String ? g(null, i3, null, null, null) : y(i3) ? g(b, { children: i3 }, null, null, null) : void 0 === i3.constructor && i3.__b > 0 ? g(i3.type, i3.props, i3.key, i3.ref ? i3.ref : null, i3.__v) : i3).__ = n2, i3.__b = n2.__b + 1, o2 = null, -1 !== (f2 = i3.__i = L(i3, u2, r2, s2)) && (s2--, (o2 = u2[f2]) && (o2.__u |= 131072)), null == o2 || null === o2.__v ? (-1 == f2 && a2--, "function" != typeof i3.type && (i3.__u |= 65536)) : f2 !== r2 && (f2 == r2 - 1 ? a2-- : f2 == r2 + 1 ? a2++ : (f2 > r2 ? a2-- : a2++, i3.__u |= 65536))) : i3 = n2.__k[t2] = null;
5195
5809
  if (s2) for (t2 = 0; t2 < c2; t2++) null != (o2 = u2[t2]) && 0 == (131072 & o2.__u) && (o2.__e == n2.__d && (n2.__d = x(o2)), V(o2, o2));
5196
5810
  }
5197
5811
  function I(n2, l2, u2) {
@@ -5227,7 +5841,7 @@ var init_wistia_player = __esm({
5227
5841
  return -1;
5228
5842
  }
5229
5843
  function T(n2, l2, u2) {
5230
- "-" === l2[0] ? n2.setProperty(l2, null == u2 ? "" : u2) : n2[l2] = null == u2 ? "" : "number" != typeof u2 || v.test(l2) ? u2 : u2 + "px";
5844
+ "-" === l2[0] ? n2.setProperty(l2, null == u2 ? "" : u2) : n2[l2] = null == u2 ? "" : "number" != typeof u2 || p.test(l2) ? u2 : u2 + "px";
5231
5845
  }
5232
5846
  function A(n2, l2, u2, t2, i3) {
5233
5847
  var o2;
@@ -5258,21 +5872,21 @@ var init_wistia_player = __esm({
5258
5872
  };
5259
5873
  }
5260
5874
  function O(n2, u2, t2, i3, o2, r2, f2, e2, c2, s2) {
5261
- var a2, h2, p2, v2, w2, _2, g2, m2, x2, C2, M2, P2, $2, I2, H2, L2, T2 = u2.type;
5875
+ var a2, h2, v2, p2, w2, _2, g2, m2, x2, C2, M2, P2, $2, I2, H2, L2, T2 = u2.type;
5262
5876
  if (void 0 !== u2.constructor) return null;
5263
5877
  128 & t2.__u && (c2 = !!(32 & t2.__u), r2 = [e2 = u2.__e = t2.__e]), (a2 = l.__b) && a2(u2);
5264
5878
  n: if ("function" == typeof T2) try {
5265
- if (m2 = u2.props, x2 = "prototype" in T2 && T2.prototype.render, C2 = (a2 = T2.contextType) && i3[a2.__c], M2 = a2 ? C2 ? C2.props.value : a2.__ : i3, t2.__c ? g2 = (h2 = u2.__c = t2.__c).__ = h2.__E : (x2 ? u2.__c = h2 = new T2(m2, M2) : (u2.__c = h2 = new b(m2, M2), h2.constructor = T2, h2.render = q), C2 && C2.sub(h2), h2.props = m2, h2.state || (h2.state = {}), h2.context = M2, h2.__n = i3, p2 = h2.__d = true, h2.__h = [], h2._sb = []), x2 && null == h2.__s && (h2.__s = h2.state), x2 && null != T2.getDerivedStateFromProps && (h2.__s == h2.state && (h2.__s = d({}, h2.__s)), d(h2.__s, T2.getDerivedStateFromProps(m2, h2.__s))), v2 = h2.props, w2 = h2.state, h2.__v = u2, p2) x2 && null == T2.getDerivedStateFromProps && null != h2.componentWillMount && h2.componentWillMount(), x2 && null != h2.componentDidMount && h2.__h.push(h2.componentDidMount);
5879
+ if (m2 = u2.props, x2 = "prototype" in T2 && T2.prototype.render, C2 = (a2 = T2.contextType) && i3[a2.__c], M2 = a2 ? C2 ? C2.props.value : a2.__ : i3, t2.__c ? g2 = (h2 = u2.__c = t2.__c).__ = h2.__E : (x2 ? u2.__c = h2 = new T2(m2, M2) : (u2.__c = h2 = new k(m2, M2), h2.constructor = T2, h2.render = q), C2 && C2.sub(h2), h2.props = m2, h2.state || (h2.state = {}), h2.context = M2, h2.__n = i3, v2 = h2.__d = true, h2.__h = [], h2._sb = []), x2 && null == h2.__s && (h2.__s = h2.state), x2 && null != T2.getDerivedStateFromProps && (h2.__s == h2.state && (h2.__s = d({}, h2.__s)), d(h2.__s, T2.getDerivedStateFromProps(m2, h2.__s))), p2 = h2.props, w2 = h2.state, h2.__v = u2, v2) x2 && null == T2.getDerivedStateFromProps && null != h2.componentWillMount && h2.componentWillMount(), x2 && null != h2.componentDidMount && h2.__h.push(h2.componentDidMount);
5266
5880
  else {
5267
- if (x2 && null == T2.getDerivedStateFromProps && m2 !== v2 && null != h2.componentWillReceiveProps && h2.componentWillReceiveProps(m2, M2), !h2.__e && (null != h2.shouldComponentUpdate && false === h2.shouldComponentUpdate(m2, h2.__s, M2) || u2.__v === t2.__v)) {
5268
- for (u2.__v !== t2.__v && (h2.props = m2, h2.state = h2.__s, h2.__d = false), u2.__e = t2.__e, u2.__k = t2.__k, u2.__k.forEach(function(n3) {
5881
+ if (x2 && null == T2.getDerivedStateFromProps && m2 !== p2 && null != h2.componentWillReceiveProps && h2.componentWillReceiveProps(m2, M2), !h2.__e && (null != h2.shouldComponentUpdate && false === h2.shouldComponentUpdate(m2, h2.__s, M2) || u2.__v === t2.__v)) {
5882
+ for (u2.__v !== t2.__v && (h2.props = m2, h2.state = h2.__s, h2.__d = false), u2.__e = t2.__e, u2.__k = t2.__k, u2.__k.some(function(n3) {
5269
5883
  n3 && (n3.__ = u2);
5270
5884
  }), P2 = 0; P2 < h2._sb.length; P2++) h2.__h.push(h2._sb[P2]);
5271
5885
  h2._sb = [], h2.__h.length && f2.push(h2);
5272
5886
  break n;
5273
5887
  }
5274
5888
  null != h2.componentWillUpdate && h2.componentWillUpdate(m2, h2.__s, M2), x2 && null != h2.componentDidUpdate && h2.__h.push(function() {
5275
- h2.componentDidUpdate(v2, w2, _2);
5889
+ h2.componentDidUpdate(p2, w2, _2);
5276
5890
  });
5277
5891
  }
5278
5892
  if (h2.context = M2, h2.props = m2, h2.__P = n2, h2.__e = false, $2 = l.__r, I2 = 0, x2) {
@@ -5281,7 +5895,7 @@ var init_wistia_player = __esm({
5281
5895
  } else do {
5282
5896
  h2.__d = false, $2 && $2(u2), a2 = h2.render(h2.props, h2.state, h2.context), h2.state = h2.__s;
5283
5897
  } while (h2.__d && ++I2 < 25);
5284
- h2.state = h2.__s, null != h2.getChildContext && (i3 = d(d({}, i3), h2.getChildContext())), x2 && !p2 && null != h2.getSnapshotBeforeUpdate && (_2 = h2.getSnapshotBeforeUpdate(v2, w2)), S(n2, y(L2 = null != a2 && a2.type === k && null == a2.key ? a2.props.children : a2) ? L2 : [L2], u2, t2, i3, o2, r2, f2, e2, c2, s2), h2.base = u2.__e, u2.__u &= -161, h2.__h.length && f2.push(h2), g2 && (h2.__E = h2.__ = null);
5898
+ h2.state = h2.__s, null != h2.getChildContext && (i3 = d(d({}, i3), h2.getChildContext())), x2 && !v2 && null != h2.getSnapshotBeforeUpdate && (_2 = h2.getSnapshotBeforeUpdate(p2, w2)), S(n2, y(L2 = null != a2 && a2.type === b && null == a2.key ? a2.props.children : a2) ? L2 : [L2], u2, t2, i3, o2, r2, f2, e2, c2, s2), h2.base = u2.__e, u2.__u &= -161, h2.__h.length && f2.push(h2), g2 && (h2.__E = h2.__ = null);
5285
5899
  } catch (n3) {
5286
5900
  if (u2.__v = null, c2 || null != r2) {
5287
5901
  for (u2.__u |= c2 ? 160 : 32; e2 && 8 === e2.nodeType && e2.nextSibling; ) e2 = e2.nextSibling;
@@ -5305,33 +5919,33 @@ var init_wistia_player = __esm({
5305
5919
  }
5306
5920
  });
5307
5921
  }
5308
- function z(l2, u2, t2, i3, o2, r2, f2, e2, c2) {
5309
- var s2, a2, p2, v2, d2, _2, g2, m2 = t2.props, k2 = u2.props, b2 = u2.type;
5310
- if ("svg" === b2 ? o2 = "http://www.w3.org/2000/svg" : "math" === b2 ? o2 = "http://www.w3.org/1998/Math/MathML" : o2 || (o2 = "http://www.w3.org/1999/xhtml"), null != r2) {
5311
- for (s2 = 0; s2 < r2.length; s2++) if ((d2 = r2[s2]) && "setAttribute" in d2 == !!b2 && (b2 ? d2.localName === b2 : 3 === d2.nodeType)) {
5312
- l2 = d2, r2[s2] = null;
5922
+ function z(u2, t2, i3, o2, r2, f2, e2, c2, s2) {
5923
+ var a2, v2, p2, d2, _2, g2, m2, b2 = i3.props, k2 = t2.props, C2 = t2.type;
5924
+ if ("svg" === C2 ? r2 = "http://www.w3.org/2000/svg" : "math" === C2 ? r2 = "http://www.w3.org/1998/Math/MathML" : r2 || (r2 = "http://www.w3.org/1999/xhtml"), null != f2) {
5925
+ for (a2 = 0; a2 < f2.length; a2++) if ((_2 = f2[a2]) && "setAttribute" in _2 == !!C2 && (C2 ? _2.localName === C2 : 3 === _2.nodeType)) {
5926
+ u2 = _2, f2[a2] = null;
5313
5927
  break;
5314
5928
  }
5315
5929
  }
5316
- if (null == l2) {
5317
- if (null === b2) return document.createTextNode(k2);
5318
- l2 = document.createElementNS(o2, b2, k2.is && k2), r2 = null, e2 = false;
5930
+ if (null == u2) {
5931
+ if (null === C2) return document.createTextNode(k2);
5932
+ u2 = document.createElementNS(r2, C2, k2.is && k2), c2 && (l.__m && l.__m(t2, f2), c2 = false), f2 = null;
5319
5933
  }
5320
- if (null === b2) m2 === k2 || e2 && l2.data === k2 || (l2.data = k2);
5934
+ if (null === C2) b2 === k2 || c2 && u2.data === k2 || (u2.data = k2);
5321
5935
  else {
5322
- if (r2 = r2 && n.call(l2.childNodes), m2 = t2.props || h, !e2 && null != r2) for (m2 = {}, s2 = 0; s2 < l2.attributes.length; s2++) m2[(d2 = l2.attributes[s2]).name] = d2.value;
5323
- for (s2 in m2) if (d2 = m2[s2], "children" == s2) ;
5324
- else if ("dangerouslySetInnerHTML" == s2) p2 = d2;
5325
- else if ("key" !== s2 && !(s2 in k2)) {
5326
- if ("value" == s2 && "defaultValue" in k2 || "checked" == s2 && "defaultChecked" in k2) continue;
5327
- A(l2, s2, null, d2, o2);
5328
- }
5329
- for (s2 in k2) d2 = k2[s2], "children" == s2 ? v2 = d2 : "dangerouslySetInnerHTML" == s2 ? a2 = d2 : "value" == s2 ? _2 = d2 : "checked" == s2 ? g2 = d2 : "key" === s2 || e2 && "function" != typeof d2 || m2[s2] === d2 || A(l2, s2, d2, m2[s2], o2);
5330
- if (a2) e2 || p2 && (a2.__html === p2.__html || a2.__html === l2.innerHTML) || (l2.innerHTML = a2.__html), u2.__k = [];
5331
- else if (p2 && (l2.innerHTML = ""), S(l2, y(v2) ? v2 : [v2], u2, t2, i3, "foreignObject" === b2 ? "http://www.w3.org/1999/xhtml" : o2, r2, f2, r2 ? r2[0] : t2.__k && x(t2, 0), e2, c2), null != r2) for (s2 = r2.length; s2--; ) null != r2[s2] && w(r2[s2]);
5332
- e2 || (s2 = "value", void 0 !== _2 && (_2 !== l2[s2] || "progress" === b2 && !_2 || "option" === b2 && _2 !== m2[s2]) && A(l2, s2, _2, m2[s2], o2), s2 = "checked", void 0 !== g2 && g2 !== l2[s2] && A(l2, s2, g2, m2[s2], o2));
5936
+ if (f2 = f2 && n.call(u2.childNodes), b2 = i3.props || h, !c2 && null != f2) for (b2 = {}, a2 = 0; a2 < u2.attributes.length; a2++) b2[(_2 = u2.attributes[a2]).name] = _2.value;
5937
+ for (a2 in b2) if (_2 = b2[a2], "children" == a2) ;
5938
+ else if ("dangerouslySetInnerHTML" == a2) p2 = _2;
5939
+ else if (!(a2 in k2)) {
5940
+ if ("value" == a2 && "defaultValue" in k2 || "checked" == a2 && "defaultChecked" in k2) continue;
5941
+ A(u2, a2, null, _2, r2);
5942
+ }
5943
+ for (a2 in k2) _2 = k2[a2], "children" == a2 ? d2 = _2 : "dangerouslySetInnerHTML" == a2 ? v2 = _2 : "value" == a2 ? g2 = _2 : "checked" == a2 ? m2 = _2 : c2 && "function" != typeof _2 || b2[a2] === _2 || A(u2, a2, _2, b2[a2], r2);
5944
+ if (v2) c2 || p2 && (v2.__html === p2.__html || v2.__html === u2.innerHTML) || (u2.innerHTML = v2.__html), t2.__k = [];
5945
+ else if (p2 && (u2.innerHTML = ""), S(u2, y(d2) ? d2 : [d2], t2, i3, o2, "foreignObject" === C2 ? "http://www.w3.org/1999/xhtml" : r2, f2, e2, f2 ? f2[0] : i3.__k && x(i3, 0), c2, s2), null != f2) for (a2 = f2.length; a2--; ) w(f2[a2]);
5946
+ c2 || (a2 = "value", "progress" === C2 && null == g2 ? u2.removeAttribute("value") : void 0 !== g2 && (g2 !== u2[a2] || "progress" === C2 && !g2 || "option" === C2 && g2 !== b2[a2]) && A(u2, a2, g2, b2[a2], r2), a2 = "checked", void 0 !== m2 && m2 !== u2[a2] && A(u2, a2, m2, b2[a2], r2));
5333
5947
  }
5334
- return l2;
5948
+ return u2;
5335
5949
  }
5336
5950
  function N(n2, u2, t2) {
5337
5951
  try {
@@ -5354,14 +5968,14 @@ var init_wistia_player = __esm({
5354
5968
  i3.base = i3.__P = null;
5355
5969
  }
5356
5970
  if (i3 = n2.__k) for (o2 = 0; o2 < i3.length; o2++) i3[o2] && V(i3[o2], u2, t2 || "function" != typeof n2.type);
5357
- t2 || null == n2.__e || w(n2.__e), n2.__c = n2.__ = n2.__e = n2.__d = void 0;
5971
+ t2 || w(n2.__e), n2.__c = n2.__ = n2.__e = n2.__d = void 0;
5358
5972
  }
5359
5973
  function q(n2, l2, u2) {
5360
5974
  return this.constructor(n2, u2);
5361
5975
  }
5362
5976
  function B(u2, t2, i3) {
5363
5977
  var o2, r2, f2, e2;
5364
- l.__ && l.__(u2, t2), r2 = (o2 = "function" == typeof i3) ? null : i3 && i3.__k || t2.__k, f2 = [], e2 = [], O(t2, u2 = (!o2 && i3 || t2).__k = _(k, null, [u2]), r2 || h, h, t2.namespaceURI, !o2 && i3 ? [i3] : r2 ? null : t2.firstChild ? n.call(t2.childNodes) : null, f2, !o2 && i3 ? i3 : r2 ? r2.__e : t2.firstChild, o2, e2), j(f2, u2, e2);
5978
+ l.__ && l.__(u2, t2), r2 = (o2 = "function" == typeof i3) ? null : i3 && i3.__k || t2.__k, f2 = [], e2 = [], O(t2, u2 = (!o2 && i3 || t2).__k = _(b, null, [u2]), r2 || h, h, t2.namespaceURI, !o2 && i3 ? [i3] : r2 ? null : t2.firstChild ? n.call(t2.childNodes) : null, f2, !o2 && i3 ? i3 : r2 ? r2.__e : t2.firstChild, o2, e2), j(f2, u2, e2);
5365
5979
  }
5366
5980
  function D(n2, l2) {
5367
5981
  B(n2, l2, D);
@@ -5394,7 +6008,7 @@ var init_wistia_player = __esm({
5394
6008
  } };
5395
6009
  return u2.Provider.__ = u2.Consumer.contextType = u2;
5396
6010
  }
5397
- n = p.slice, l = { __e: function(n2, l2, u2, t2) {
6011
+ n = v.slice, l = { __e: function(n2, l2, u2, t2) {
5398
6012
  for (var i3, o2, r2; l2 = l2.__; ) if ((i3 = l2.__c) && !i3.__) try {
5399
6013
  if ((o2 = i3.constructor) && null != o2.getDerivedStateFromError && (i3.setState(o2.getDerivedStateFromError(n2)), r2 = i3.__d), null != i3.componentDidCatch && (i3.componentDidCatch(n2, t2 || {}), r2 = i3.__d), r2) return i3.__E = i3;
5400
6014
  } catch (l3) {
@@ -5403,12 +6017,12 @@ var init_wistia_player = __esm({
5403
6017
  throw n2;
5404
6018
  } }, u = 0, t = function(n2) {
5405
6019
  return null != n2 && null == n2.constructor;
5406
- }, b.prototype.setState = function(n2, l2) {
6020
+ }, k.prototype.setState = function(n2, l2) {
5407
6021
  var u2;
5408
6022
  u2 = null != this.__s && this.__s !== this.state ? this.__s : this.__s = d({}, this.state), "function" == typeof n2 && (n2 = n2(d({}, u2), this.props)), n2 && d(u2, n2), null != n2 && this.__v && (l2 && this._sb.push(l2), M(this));
5409
- }, b.prototype.forceUpdate = function(n2) {
6023
+ }, k.prototype.forceUpdate = function(n2) {
5410
6024
  this.__v && (this.__e = true, n2 && this.__h.push(n2), M(this));
5411
- }, b.prototype.render = k, i2 = [], r = "function" == typeof Promise ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, f = function(n2, l2) {
6025
+ }, k.prototype.render = b, i2 = [], r = "function" == typeof Promise ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, f = function(n2, l2) {
5412
6026
  return n2.__v.__b - l2.__v.__b;
5413
6027
  }, P.__r = 0, e = 0, c = F(false), s = F(true), a = 0;
5414
6028
  }
@@ -5651,13 +6265,13 @@ var init_wistia_player = __esm({
5651
6265
  )
5652
6266
  /* harmony export */
5653
6267
  });
5654
- var wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__3(1200);
5655
- var utilities_obj_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__3(731);
5656
- var utilities_dynamicImport_ts__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__3(7157);
5657
- var languages = wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__.s.languages = wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__.s.languages || {};
5658
- var translations = wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__.s.translations = wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__.s.translations || {};
5659
- if (!wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__.s._translationPromises) {
5660
- wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__.s._translationPromises = {};
6268
+ var utilities_obj_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__3(731);
6269
+ var utilities_dynamicImport_ts__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__3(7157);
6270
+ var _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__3(5509);
6271
+ var languages = _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_2__.s.languages = _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_2__.s.languages || {};
6272
+ var translations = _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_2__.s.translations = _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_2__.s.translations || {};
6273
+ if (!_wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_2__.s._translationPromises) {
6274
+ _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_2__.s._translationPromises = {};
5661
6275
  }
5662
6276
  var supportedLanguages = (
5663
6277
  /* unused pure expression or super */
@@ -5681,9 +6295,9 @@ var init_wistia_player = __esm({
5681
6295
  }
5682
6296
  var translation = translations[code];
5683
6297
  if (translation) {
5684
- (0, utilities_obj_js__WEBPACK_IMPORTED_MODULE_1__.h1)(translation, keyValPairs);
6298
+ (0, utilities_obj_js__WEBPACK_IMPORTED_MODULE_0__.h1)(translation, keyValPairs);
5685
6299
  } else {
5686
- translations[code] = (0, utilities_obj_js__WEBPACK_IMPORTED_MODULE_1__.o8)(keyValPairs);
6300
+ translations[code] = (0, utilities_obj_js__WEBPACK_IMPORTED_MODULE_0__.o8)(keyValPairs);
5687
6301
  }
5688
6302
  };
5689
6303
  var withFallbackText = function withFallbackText2(text) {
@@ -5693,7 +6307,7 @@ var init_wistia_player = __esm({
5693
6307
  return text;
5694
6308
  };
5695
6309
  var dummyTextArea;
5696
- var cachedDecodings = wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__.s.cachedDecodings = wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__.s.cachedDecodings || {};
6310
+ var cachedDecodings = _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_2__.s.cachedDecodings = _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_2__.s.cachedDecodings || {};
5697
6311
  var decodeEntities = function decodeEntities2(text) {
5698
6312
  if (!dummyTextArea) {
5699
6313
  dummyTextArea = document.createElement("textarea");
@@ -6139,7 +6753,11 @@ var init_wistia_player = __esm({
6139
6753
  }
6140
6754
  result.params.image_crop_resized = "".concat(stillWidth, "x").concat(stillHeight);
6141
6755
  if (options.playButton == null || options.playButton) {
6142
- result.params.image_play_button = 1;
6756
+ if (options.newRoundedIcons) {
6757
+ result.params.image_play_button_rounded = 1;
6758
+ } else {
6759
+ result.params.image_play_button = 1;
6760
+ }
6143
6761
  result.params.image_play_button_color = "".concat("".concat(options.playerColor).replace(/^#+/, ""), "e0");
6144
6762
  }
6145
6763
  if (options.ext) {
@@ -6410,7 +7028,7 @@ var init_wistia_player = __esm({
6410
7028
  )
6411
7029
  /* harmony export */
6412
7030
  });
6413
- var wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__3(1200);
7031
+ var _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__3(5509);
6414
7032
  var _objectHasOwn = function(object, property) {
6415
7033
  if (typeof object === "undefined" || object === null) {
6416
7034
  throw new TypeError("Cannot convert undefined or null to object");
@@ -6514,8 +7132,8 @@ var init_wistia_player = __esm({
6514
7132
  } catch (e) {
6515
7133
  if (this._throwTriggerErrors) {
6516
7134
  throw e;
6517
- } else if (wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__.s.error) {
6518
- wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__.s.error(e);
7135
+ } else if (_wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_0__.s.error) {
7136
+ _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_0__.s.error(e);
6519
7137
  }
6520
7138
  }
6521
7139
  }
@@ -7020,7 +7638,7 @@ var init_wistia_player = __esm({
7020
7638
  /* harmony export */
7021
7639
  Uh: () => (
7022
7640
  /* reexport safe */
7023
- utilities_unescape_html_js__WEBPACK_IMPORTED_MODULE_1__.U
7641
+ utilities_unescape_html_js__WEBPACK_IMPORTED_MODULE_0__.U
7024
7642
  ),
7025
7643
  /* harmony export */
7026
7644
  u: () => (
@@ -7029,8 +7647,8 @@ var init_wistia_player = __esm({
7029
7647
  )
7030
7648
  /* harmony export */
7031
7649
  });
7032
- var wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__3(1200);
7033
- var utilities_unescape_html_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__3(2428);
7650
+ var utilities_unescape_html_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__3(2428);
7651
+ var _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_1__2 = __webpack_require__3(5509);
7034
7652
  var unbreakifyText = function unbreakifyText2() {
7035
7653
  var text = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "";
7036
7654
  return text.replace(" ", "&nbsp;");
@@ -7132,8 +7750,8 @@ var init_wistia_player = __esm({
7132
7750
  )
7133
7751
  /* harmony export */
7134
7752
  });
7135
- var wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__3(1200);
7136
- var utilities_root_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__3(8176);
7753
+ var utilities_root_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__3(8176);
7754
+ var _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_1__2 = __webpack_require__3(5509);
7137
7755
  var _performance_ts__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__3(267);
7138
7756
  var na = navigator.userAgent;
7139
7757
  var rwebkit = /(webkit)[ /]([^\s]+)/i;
@@ -7214,7 +7832,7 @@ var init_wistia_player = __esm({
7214
7832
  return rblackberry.test(na);
7215
7833
  };
7216
7834
  var retina = function retina2() {
7217
- return utilities_root_js__WEBPACK_IMPORTED_MODULE_1__.z.devicePixelRatio != null && utilities_root_js__WEBPACK_IMPORTED_MODULE_1__.z.devicePixelRatio > 1;
7835
+ return utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z.devicePixelRatio != null && utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z.devicePixelRatio > 1;
7218
7836
  };
7219
7837
  var ipad = function ipad2() {
7220
7838
  return /Macintosh/i.test(navigator.userAgent) && navigator.maxTouchPoints && navigator.maxTouchPoints > 1;
@@ -7307,20 +7925,20 @@ var init_wistia_player = __esm({
7307
7925
  };
7308
7926
  var mediaSource = function mediaSource2() {
7309
7927
  var h264 = 'video/mp4; codecs="avc1.42E01E';
7310
- return utilities_root_js__WEBPACK_IMPORTED_MODULE_1__.z.MediaSource && utilities_root_js__WEBPACK_IMPORTED_MODULE_1__.z.MediaSource.isTypeSupported("".concat(h264, ', mp4a.40.2"'));
7928
+ return utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z.MediaSource && utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z.MediaSource.isTypeSupported("".concat(h264, ', mp4a.40.2"'));
7311
7929
  };
7312
7930
  var nativeHls = function nativeHls2() {
7313
7931
  return (iphone() || ipad() || safari()) && html5Video().nativeHls;
7314
7932
  };
7315
7933
  var localStorage2 = function localStorage3() {
7316
7934
  try {
7317
- return "localStorage" in utilities_root_js__WEBPACK_IMPORTED_MODULE_1__.z && utilities_root_js__WEBPACK_IMPORTED_MODULE_1__.z.localStorage != null;
7935
+ return "localStorage" in utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z && utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z.localStorage != null;
7318
7936
  } catch (e) {
7319
7937
  return false;
7320
7938
  }
7321
7939
  };
7322
7940
  var json = function json2() {
7323
- return !!(utilities_root_js__WEBPACK_IMPORTED_MODULE_1__.z.JSON && typeof JSON.parse === "function");
7941
+ return !!(utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z.JSON && typeof JSON.parse === "function");
7324
7942
  };
7325
7943
  var backgroundSize = function backgroundSize2() {
7326
7944
  var testEl = document.createElement("div");
@@ -7334,7 +7952,7 @@ var init_wistia_player = __esm({
7334
7952
  for (var i2 = 0; i2 < browserPrefixes.length; i2++) {
7335
7953
  var prefix = browserPrefixes[i2];
7336
7954
  var prop = "".concat(prefix, "MutationObserver");
7337
- if (utilities_root_js__WEBPACK_IMPORTED_MODULE_1__.z[prop]) {
7955
+ if (utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z[prop]) {
7338
7956
  return prop;
7339
7957
  }
7340
7958
  }
@@ -7379,11 +7997,11 @@ var init_wistia_player = __esm({
7379
7997
  return isChromeDesktopSupported || isChromeAndroidSupported || isFirefoxDesktopSupported || isFirefoxAndroidSupported || isEdgeSupported || isOperaSupported;
7380
7998
  };
7381
7999
  var cachedDetect2 = function cachedDetect3() {
7382
- if (wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__.s._detectCache) {
7383
- return wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__.s._detectCache;
8000
+ if (_wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_1__2.s._detectCache) {
8001
+ return _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_1__2.s._detectCache;
7384
8002
  }
7385
- wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__.s._detectCache = uncachedDetect();
7386
- return wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__.s._detectCache;
8003
+ _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_1__2.s._detectCache = uncachedDetect();
8004
+ return _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_1__2.s._detectCache;
7387
8005
  };
7388
8006
  var uncachedDetect = function uncachedDetect2() {
7389
8007
  var result = {
@@ -7476,7 +8094,7 @@ var init_wistia_player = __esm({
7476
8094
  var utilities_wlog_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__3(6637);
7477
8095
  var utilities_script_tags_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__3(6461);
7478
8096
  var utilities_seqid_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__3(1224);
7479
- var wistia_namespace_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__3(1200);
8097
+ var _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__3(5509);
7480
8098
  var _objectHasOwn = function(object, property) {
7481
8099
  if (typeof object === "undefined" || object === null) {
7482
8100
  throw new TypeError("Cannot convert undefined or null to object");
@@ -8086,9 +8704,9 @@ var init_wistia_player = __esm({
8086
8704
  }
8087
8705
  return result;
8088
8706
  };
8089
- wistia_namespace_js__WEBPACK_IMPORTED_MODULE_5__.s._elemBind = wistia_namespace_js__WEBPACK_IMPORTED_MODULE_5__.s._elemBind || {};
8707
+ _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_5__.s._elemBind = _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_5__.s._elemBind || {};
8090
8708
  var key = elemBindKey(elem, event, fn);
8091
- wistia_namespace_js__WEBPACK_IMPORTED_MODULE_5__.s._elemBind[key] = eventShim;
8709
+ _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_5__.s._elemBind[key] = eventShim;
8092
8710
  eventShim.elem = elem;
8093
8711
  eventShim.event = event;
8094
8712
  elem.addEventListener(event, eventShim, useCapture);
@@ -8102,13 +8720,13 @@ var init_wistia_player = __esm({
8102
8720
  return;
8103
8721
  }
8104
8722
  var key = elemBindKey(elem, event, fn);
8105
- var eventShim = wistia_namespace_js__WEBPACK_IMPORTED_MODULE_5__.s._elemBind[key];
8723
+ var eventShim = _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_5__.s._elemBind[key];
8106
8724
  if (eventShim) {
8107
8725
  elem.removeEventListener(event, eventShim, useCapture);
8108
8726
  eventShim.elem = null;
8109
8727
  eventShim.event = null;
8110
8728
  }
8111
- return delete wistia_namespace_js__WEBPACK_IMPORTED_MODULE_5__.s._elemBind[key];
8729
+ return delete _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_5__.s._elemBind[key];
8112
8730
  };
8113
8731
  var elemUnbindAll = function elemUnbindAll2(elem) {
8114
8732
  for (var key in Wistia._elemBind) {
@@ -8572,15 +9190,15 @@ var init_wistia_player = __esm({
8572
9190
  )
8573
9191
  /* harmony export */
8574
9192
  });
8575
- var wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__3(1200);
8576
- var utilities_wbindable_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__3(9376);
8577
- (0, utilities_wbindable_js__WEBPACK_IMPORTED_MODULE_1__.R)(wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__.s);
8578
- var globalBind = wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__.s.bind.bind(wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__.s);
8579
- var globalOn = wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__.s.on.bind(wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__.s);
8580
- var globalOff = wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__.s.off.bind(wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__.s);
8581
- var globalRebind = wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__.s.rebind.bind(wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__.s);
8582
- var globalTrigger = wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__.s.trigger.bind(wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__.s);
8583
- var globalUnbind = wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__.s.unbind.bind(wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__.s);
9193
+ var utilities_wbindable_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__3(9376);
9194
+ var _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_1__2 = __webpack_require__3(5509);
9195
+ (0, utilities_wbindable_js__WEBPACK_IMPORTED_MODULE_0__.R)(_wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_1__2.s);
9196
+ var globalBind = _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_1__2.s.bind.bind(_wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_1__2.s);
9197
+ var globalOn = _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_1__2.s.on.bind(_wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_1__2.s);
9198
+ var globalOff = _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_1__2.s.off.bind(_wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_1__2.s);
9199
+ var globalRebind = _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_1__2.s.rebind.bind(_wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_1__2.s);
9200
+ var globalTrigger = _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_1__2.s.trigger.bind(_wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_1__2.s);
9201
+ var globalUnbind = _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_1__2.s.unbind.bind(_wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_1__2.s);
8584
9202
  }
8585
9203
  ),
8586
9204
  /***/
@@ -8679,7 +9297,7 @@ var init_wistia_player = __esm({
8679
9297
  var PROD_SSL_EMBED_HOST = "embed-ssl.wistia.com";
8680
9298
  var PROD_FASTLY_SSL_HOST = "embed-fastly.wistia.com";
8681
9299
  var SSL_EMBED_HOST = "embed-ssl.wistia.com";
8682
- var TAGGED_VERSION = "0.0.28";
9300
+ var TAGGED_VERSION = "0.0.29";
8683
9301
  var DEFAULT_PROTOCOL = function() {
8684
9302
  if (typeof window !== "undefined" && utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z === window && utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z.location) {
8685
9303
  return utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z.location.protocol;
@@ -9030,14 +9648,14 @@ var init_wistia_player = __esm({
9030
9648
  )
9031
9649
  /* harmony export */
9032
9650
  });
9033
- var wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__3(1200);
9034
- var utilities_obj_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__3(731);
9035
- var utilities_detect_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__3(7231);
9036
- var utilities_metrics_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__3(655);
9037
- var utilities_legacyLocalstorage_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__3(3695);
9038
- var utilities_root_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__3(8176);
9039
- var utilities_wlog_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__3(6637);
9040
- var _assets_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__3(7209);
9651
+ var utilities_obj_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__3(731);
9652
+ var utilities_detect_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__3(7231);
9653
+ var utilities_metrics_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__3(655);
9654
+ var utilities_legacyLocalstorage_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__3(3695);
9655
+ var utilities_root_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__3(8176);
9656
+ var utilities_wlog_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__3(6637);
9657
+ var _assets_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__3(7209);
9658
+ var _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__3(5509);
9041
9659
  function ownKeys2(e, r) {
9042
9660
  var t = Object.keys(e);
9043
9661
  if (Object.getOwnPropertySymbols) {
@@ -9076,7 +9694,7 @@ var init_wistia_player = __esm({
9076
9694
  }
9077
9695
  return ("string" === r ? String : Number)(t);
9078
9696
  }
9079
- var wlog2 = utilities_wlog_js__WEBPACK_IMPORTED_MODULE_6__.ct.getPrefixedFunctions("judy");
9697
+ var wlog2 = utilities_wlog_js__WEBPACK_IMPORTED_MODULE_5__.ct.getPrefixedFunctions("judy");
9080
9698
  var AUTO = "auto";
9081
9699
  var EXTERNAL = "external";
9082
9700
  var HLS_VIDEO = "hlsVideo";
@@ -9138,6 +9756,12 @@ var init_wistia_player = __esm({
9138
9756
  initBeforeHasData: false,
9139
9757
  async: false,
9140
9758
  loadWeight: -1
9759
+ },
9760
+ playlist: {
9761
+ on: true,
9762
+ initBeforeHasData: false,
9763
+ async: false,
9764
+ loadWeight: -1
9141
9765
  }
9142
9766
  };
9143
9767
  var bestPlayer = function bestPlayer2(context, mediaData, embedOptions) {
@@ -9373,12 +9997,12 @@ var init_wistia_player = __esm({
9373
9997
  return cachedDefaultContext;
9374
9998
  }
9375
9999
  cachedDefaultContext = {
9376
- detect: (0, utilities_obj_js__WEBPACK_IMPORTED_MODULE_1__.o8)((0, utilities_detect_js__WEBPACK_IMPORTED_MODULE_2__.o1)()),
10000
+ detect: (0, utilities_obj_js__WEBPACK_IMPORTED_MODULE_0__.o8)((0, utilities_detect_js__WEBPACK_IMPORTED_MODULE_1__.o1)()),
9377
10001
  inIframe: top !== self,
9378
10002
  location: window.location,
9379
10003
  logger: wlog2,
9380
10004
  pageUrl: location.href,
9381
- silenceGlobalWarnings: utilities_root_js__WEBPACK_IMPORTED_MODULE_5__.z.wistiaSilenceGlobalWarnings,
10005
+ silenceGlobalWarnings: utilities_root_js__WEBPACK_IMPORTED_MODULE_4__.z.wistiaSilenceGlobalWarnings,
9382
10006
  userAgent: navigator.userAgent
9383
10007
  };
9384
10008
  return cachedDefaultContext;
@@ -9404,28 +10028,28 @@ var init_wistia_player = __esm({
9404
10028
  return canUseInstantHls(context, mediaData) || hasReadyVideoAssets(assets) || hasReadyAudioAssets(assets);
9405
10029
  }
9406
10030
  if (player === HTML5) {
9407
- return (0, _assets_js__WEBPACK_IMPORTED_MODULE_7__.Fi)(assets).length > 0;
10031
+ return (0, _assets_js__WEBPACK_IMPORTED_MODULE_6__.Fi)(assets).length > 0;
9408
10032
  }
9409
10033
  if (player === EXTERNAL) {
9410
- return (0, _assets_js__WEBPACK_IMPORTED_MODULE_7__.Fi)(assets).length > 0;
10034
+ return (0, _assets_js__WEBPACK_IMPORTED_MODULE_6__.Fi)(assets).length > 0;
9411
10035
  }
9412
10036
  throw new Error("Unhandled player type '".concat(player, "'"));
9413
10037
  };
9414
10038
  var hasReadyVideoAssets = function hasReadyVideoAssets2(assets) {
9415
- return (0, _assets_js__WEBPACK_IMPORTED_MODULE_7__.Fi)(assets).length > 0 || (0, _assets_js__WEBPACK_IMPORTED_MODULE_7__.x4)(assets).length > 0;
10039
+ return (0, _assets_js__WEBPACK_IMPORTED_MODULE_6__.Fi)(assets).length > 0 || (0, _assets_js__WEBPACK_IMPORTED_MODULE_6__.x4)(assets).length > 0;
9416
10040
  };
9417
10041
  var hasReadyAudioAssets = function hasReadyAudioAssets2(assets) {
9418
- return (0, _assets_js__WEBPACK_IMPORTED_MODULE_7__.o2)(assets).length > 0;
10042
+ return (0, _assets_js__WEBPACK_IMPORTED_MODULE_6__.o2)(assets).length > 0;
9419
10043
  };
9420
10044
  var hasEnoughReadyMp4Assets = function hasEnoughReadyMp4Assets2(assets) {
9421
- var mp4Assets = (0, _assets_js__WEBPACK_IMPORTED_MODULE_7__.pb)(assets, {
10045
+ var mp4Assets = (0, _assets_js__WEBPACK_IMPORTED_MODULE_6__.pb)(assets, {
9422
10046
  container: "mp4",
9423
10047
  metadata: function metadata(m) {
9424
10048
  return m && m.max_bitrate;
9425
10049
  },
9426
10050
  public: true,
9427
10051
  sortBy: "width desc",
9428
- status: _assets_js__WEBPACK_IMPORTED_MODULE_7__.yE,
10052
+ status: _assets_js__WEBPACK_IMPORTED_MODULE_6__.yE,
9429
10053
  type: /\b(?!captioned_video)\S+/
9430
10054
  // no burned in captions
9431
10055
  });
@@ -9439,7 +10063,7 @@ var init_wistia_player = __esm({
9439
10063
  }
9440
10064
  var hasAssets = hasEnoughReadyMp4Assets(mediaData.assets);
9441
10065
  if (!hasAssets) {
9442
- (0, utilities_metrics_js__WEBPACK_IMPORTED_MODULE_3__.U9)("player/originV2/media-has-no-metadata", 1, {
10066
+ (0, utilities_metrics_js__WEBPACK_IMPORTED_MODULE_2__.U9)("player/originV2/media-has-no-metadata", 1, {
9443
10067
  hashedId: mediaData.hashedId
9444
10068
  });
9445
10069
  }
@@ -9451,7 +10075,7 @@ var init_wistia_player = __esm({
9451
10075
  if (paramVal != null) {
9452
10076
  return paramVal;
9453
10077
  }
9454
- var localStorageVal = (0, utilities_legacyLocalstorage_js__WEBPACK_IMPORTED_MODULE_4__.Qy)("forceHls");
10078
+ var localStorageVal = (0, utilities_legacyLocalstorage_js__WEBPACK_IMPORTED_MODULE_3__.Qy)("forceHls");
9455
10079
  if (localStorageVal != null) {
9456
10080
  return localStorageVal;
9457
10081
  }
@@ -9461,7 +10085,7 @@ var init_wistia_player = __esm({
9461
10085
  var match = pageUrl && pageUrl.match && pageUrl.match(/[&?]whls=([^&]+)/);
9462
10086
  var val = match && match[1];
9463
10087
  if (val != null) {
9464
- return (0, utilities_obj_js__WEBPACK_IMPORTED_MODULE_1__.wg)(val);
10088
+ return (0, utilities_obj_js__WEBPACK_IMPORTED_MODULE_0__.wg)(val);
9465
10089
  }
9466
10090
  return null;
9467
10091
  };
@@ -9492,7 +10116,7 @@ var init_wistia_player = __esm({
9492
10116
  if (!mediaData.protected && canUseInstantHls(context, mediaData, embedOptions)) {
9493
10117
  return false;
9494
10118
  }
9495
- var assetsArentReady = mediaData.type === "Audio" ? (0, _assets_js__WEBPACK_IMPORTED_MODULE_7__.o2)(assets).length == 0 : (0, _assets_js__WEBPACK_IMPORTED_MODULE_7__.Fi)(assets).length == 0;
10119
+ var assetsArentReady = mediaData.type === "Audio" ? (0, _assets_js__WEBPACK_IMPORTED_MODULE_6__.o2)(assets).length == 0 : (0, _assets_js__WEBPACK_IMPORTED_MODULE_6__.Fi)(assets).length == 0;
9496
10120
  if (mediaData.mediaType === "LiveStream") {
9497
10121
  return false;
9498
10122
  }
@@ -9513,10 +10137,10 @@ var init_wistia_player = __esm({
9513
10137
  };
9514
10138
  return true;
9515
10139
  }
9516
- return assets.length === 0 || assets.length === 1 && assets[0].type === "original" || assetsArentReady || (0, _assets_js__WEBPACK_IMPORTED_MODULE_7__.aF)(assets).length > 0 && (0, _assets_js__WEBPACK_IMPORTED_MODULE_7__.n9)(assets).length === 0 || isTwoStrokeVideo(mediaData) && _isNotPlayable(context, mediaData.secondaryMediaData);
10140
+ return assets.length === 0 || assets.length === 1 && assets[0].type === "original" || assetsArentReady || (0, _assets_js__WEBPACK_IMPORTED_MODULE_6__.aF)(assets).length > 0 && (0, _assets_js__WEBPACK_IMPORTED_MODULE_6__.n9)(assets).length === 0 || isTwoStrokeVideo(mediaData) && _isNotPlayable(context, mediaData.secondaryMediaData);
9517
10141
  };
9518
10142
  var isPasswordProtected = function isPasswordProtected2(context, embedOptions) {
9519
- var pluginOpts = (0, utilities_obj_js__WEBPACK_IMPORTED_MODULE_1__.b$)(embedOptions, "plugin.passwordProtectedVideo");
10143
+ var pluginOpts = (0, utilities_obj_js__WEBPACK_IMPORTED_MODULE_0__.b$)(embedOptions, "plugin.passwordProtectedVideo");
9520
10144
  return pluginOpts != null && pluginOpts.on !== false;
9521
10145
  };
9522
10146
  var isSphericalVideo = function isSphericalVideo2() {
@@ -9533,13 +10157,13 @@ var init_wistia_player = __esm({
9533
10157
  if (!isValidPlayer(context, player)) {
9534
10158
  return false;
9535
10159
  }
9536
- return (0, utilities_obj_js__WEBPACK_IMPORTED_MODULE_1__.qh)(supportedPlayers(context), player) >= 0;
10160
+ return (0, utilities_obj_js__WEBPACK_IMPORTED_MODULE_0__.qh)(supportedPlayers(context), player) >= 0;
9537
10161
  };
9538
10162
  var isTwoStrokeVideo = function isTwoStrokeVideo2(mediaData) {
9539
10163
  return !!mediaData.secondaryMediaData;
9540
10164
  };
9541
10165
  var isValidPlayer = function isValidPlayer2(context, player) {
9542
- return (0, utilities_obj_js__WEBPACK_IMPORTED_MODULE_1__.qh)(PLAYERS, player) >= 0;
10166
+ return (0, utilities_obj_js__WEBPACK_IMPORTED_MODULE_0__.qh)(PLAYERS, player) >= 0;
9543
10167
  };
9544
10168
  var logWarnings = function logWarnings2(context) {
9545
10169
  var detect = context.detect, userAgent = context.userAgent, logger = context.logger, silenceGlobalWarnings = context.silenceGlobalWarnings;
@@ -9650,11 +10274,11 @@ var init_wistia_player = __esm({
9650
10274
  )
9651
10275
  /* harmony export */
9652
10276
  });
9653
- var wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__3(1200);
9654
- var utilities_wistiaLocalStorage_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__3(4997);
9655
- var utilities_obj_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__3(731);
9656
- if (!wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__.s._localStorage) {
9657
- wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__.s._localStorage = (0, utilities_wistiaLocalStorage_js__WEBPACK_IMPORTED_MODULE_1__.y1)();
10277
+ var utilities_wistiaLocalStorage_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__3(4997);
10278
+ var utilities_obj_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__3(731);
10279
+ var _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__3(5509);
10280
+ if (!_wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_2__.s._localStorage) {
10281
+ _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_2__.s._localStorage = (0, utilities_wistiaLocalStorage_js__WEBPACK_IMPORTED_MODULE_0__.y1)();
9658
10282
  }
9659
10283
  var uncache = function uncache2() {
9660
10284
  Wistia._localStorage = {};
@@ -9662,16 +10286,16 @@ var init_wistia_player = __esm({
9662
10286
  var setOrGet = function setOrGet2(key, val) {
9663
10287
  var unset = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : false;
9664
10288
  if (val != null) {
9665
- var fn = unset ? utilities_obj_js__WEBPACK_IMPORTED_MODULE_2__.G0 : utilities_obj_js__WEBPACK_IMPORTED_MODULE_2__.vd;
9666
- wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__.s._localStorage = (0, utilities_wistiaLocalStorage_js__WEBPACK_IMPORTED_MODULE_1__.$B)(function(ls) {
10289
+ var fn = unset ? utilities_obj_js__WEBPACK_IMPORTED_MODULE_1__.G0 : utilities_obj_js__WEBPACK_IMPORTED_MODULE_1__.vd;
10290
+ _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_2__.s._localStorage = (0, utilities_wistiaLocalStorage_js__WEBPACK_IMPORTED_MODULE_0__.$B)(function(ls) {
9667
10291
  return fn(ls, key, val);
9668
10292
  });
9669
10293
  return val;
9670
10294
  }
9671
10295
  if (key != null) {
9672
- return (0, utilities_obj_js__WEBPACK_IMPORTED_MODULE_2__.b$)(wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__.s._localStorage, key);
10296
+ return (0, utilities_obj_js__WEBPACK_IMPORTED_MODULE_1__.b$)(_wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_2__.s._localStorage, key);
9673
10297
  }
9674
- return wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__.s._localStorage;
10298
+ return _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_2__.s._localStorage;
9675
10299
  };
9676
10300
  var removeLocalStorage2 = function removeLocalStorage3(key) {
9677
10301
  return setOrGet(key, "nada", true);
@@ -9782,14 +10406,13 @@ var init_wistia_player = __esm({
9782
10406
  /* harmony export */
9783
10407
  });
9784
10408
  var utilities_root_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__3(8176);
9785
- var wistia_namespace_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__3(1200);
9786
- var utilities_obj_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__3(731);
9787
- var utilities_wlog_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__3(6637);
9788
- var utilities_script_utils_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__3(159);
9789
- var utilities_remote_data_cache_ts__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__3(3411);
9790
- var utilities_hosts_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__3(5857);
9791
- var utilities_media_data_transforms_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__3(3917);
9792
- var utilities_simpleMetrics_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__3(1161);
10409
+ var utilities_obj_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__3(731);
10410
+ var utilities_wlog_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__3(6637);
10411
+ var utilities_script_utils_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__3(159);
10412
+ var utilities_remote_data_cache_ts__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__3(3411);
10413
+ var utilities_hosts_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__3(5857);
10414
+ var utilities_media_data_transforms_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__3(3917);
10415
+ var utilities_simpleMetrics_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__3(1161);
9793
10416
  function ownKeys2(e, r) {
9794
10417
  var t = Object.keys(e);
9795
10418
  if (Object.getOwnPropertySymbols) {
@@ -9884,12 +10507,12 @@ var init_wistia_player = __esm({
9884
10507
  };
9885
10508
  var mediaDataUrl = function mediaDataUrl2(hashedId) {
9886
10509
  var options = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
9887
- var host = (0, utilities_hosts_js__WEBPACK_IMPORTED_MODULE_6__.Dd)(options);
9888
- return "".concat((0, utilities_hosts_js__WEBPACK_IMPORTED_MODULE_6__.v9)(), "//").concat(host, "/embed/medias/").concat(hashedId, ".json");
10510
+ var host = (0, utilities_hosts_js__WEBPACK_IMPORTED_MODULE_5__.Dd)(options);
10511
+ return "".concat((0, utilities_hosts_js__WEBPACK_IMPORTED_MODULE_5__.v9)(), "//").concat(host, "/embed/medias/").concat(hashedId, ".json");
9889
10512
  };
9890
10513
  var mediaDataScriptRegExp = function mediaDataScriptRegExp2(hashedId) {
9891
10514
  var protocolMatch = location.protocol === "https:" ? "https" : "https?";
9892
- return new RegExp("^(".concat(protocolMatch, ":)?//((").concat((0, utilities_hosts_js__WEBPACK_IMPORTED_MODULE_6__.CX)().replace(".", "\\."), ")|(").concat((0, utilities_hosts_js__WEBPACK_IMPORTED_MODULE_6__.kh)().replace(".", "\\."), "))/embed/medias/").concat(hashedId, "\\.jsonp\\??"));
10515
+ return new RegExp("^(".concat(protocolMatch, ":)?//((").concat((0, utilities_hosts_js__WEBPACK_IMPORTED_MODULE_5__.CX)().replace(".", "\\."), ")|(").concat((0, utilities_hosts_js__WEBPACK_IMPORTED_MODULE_5__.kh)().replace(".", "\\."), "))/embed/medias/").concat(hashedId, "\\.jsonp\\??"));
9893
10516
  };
9894
10517
  var cacheMedia = function cacheMedia2(hashedId, data) {
9895
10518
  return cacheMediaData(hashedId, data);
@@ -9932,23 +10555,23 @@ var init_wistia_player = __esm({
9932
10555
  )
9933
10556
  /* harmony export */
9934
10557
  });
9935
- var wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__3(1200);
9936
- var utilities_timeout_utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__3(3737);
9937
- var utilities_wlog_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__3(6637);
9938
- var utilities_obj_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__3(731);
9939
- var utilities_elem_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__3(7715);
9940
- var utilities_url_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__3(2671);
9941
- var utilities_hosts_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__3(5857);
9942
- var utilities_trackingConsentApi_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__3(4755);
10558
+ var utilities_timeout_utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__3(3737);
10559
+ var utilities_wlog_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__3(6637);
10560
+ var utilities_obj_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__3(731);
10561
+ var utilities_elem_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__3(7715);
10562
+ var utilities_url_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__3(2671);
10563
+ var utilities_hosts_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__3(5857);
10564
+ var utilities_trackingConsentApi_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__3(4755);
10565
+ var _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__3(5509);
9943
10566
  var _this = void 0;
9944
10567
  var W = (
9945
10568
  /* unused pure expression or super */
9946
10569
  null
9947
10570
  );
9948
- if (wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__.s._metricsCache == null) {
9949
- wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__.s._metricsCache = {};
10571
+ if (_wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_7__.s._metricsCache == null) {
10572
+ _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_7__.s._metricsCache = {};
9950
10573
  }
9951
- var METRICS_CACHE = wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__.s._metricsCache;
10574
+ var METRICS_CACHE = _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_7__.s._metricsCache;
9952
10575
  var send = function send2(type, key, val) {
9953
10576
  var extraData = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
9954
10577
  try {
@@ -9958,31 +10581,31 @@ var init_wistia_player = __esm({
9958
10581
  if (METRICS_CACHE.requestId == null) {
9959
10582
  METRICS_CACHE.requestId = 0;
9960
10583
  }
9961
- var messageObj = (0, utilities_obj_js__WEBPACK_IMPORTED_MODULE_3__.h1)({
10584
+ var messageObj = (0, utilities_obj_js__WEBPACK_IMPORTED_MODULE_2__.h1)({
9962
10585
  type,
9963
10586
  key,
9964
10587
  value: val != null ? val : null,
9965
10588
  request_id: METRICS_CACHE.requestId
9966
10589
  }, extraData);
9967
10590
  var serialized = JSON.stringify(messageObj);
9968
- utilities_wlog_js__WEBPACK_IMPORTED_MODULE_2__.ct.debug("send metrics", serialized);
10591
+ utilities_wlog_js__WEBPACK_IMPORTED_MODULE_1__.ct.debug("send metrics", serialized);
9969
10592
  METRICS_CACHE.toMput.push(serialized);
9970
- (0, utilities_timeout_utils_js__WEBPACK_IMPORTED_MODULE_1__.L)("metrics.debounce", function() {
9971
- (0, utilities_elem_js__WEBPACK_IMPORTED_MODULE_4__.Rx)(function() {
10593
+ (0, utilities_timeout_utils_js__WEBPACK_IMPORTED_MODULE_0__.L)("metrics.debounce", function() {
10594
+ (0, utilities_elem_js__WEBPACK_IMPORTED_MODULE_3__.Rx)(function() {
9972
10595
  msend.apply(_this, METRICS_CACHE.toMput);
9973
10596
  METRICS_CACHE.toMput = [];
9974
10597
  METRICS_CACHE.requestId += 1;
9975
10598
  });
9976
10599
  }, 500);
9977
10600
  } catch (e) {
9978
- utilities_wlog_js__WEBPACK_IMPORTED_MODULE_2__.ct.error(e);
10601
+ utilities_wlog_js__WEBPACK_IMPORTED_MODULE_1__.ct.error(e);
9979
10602
  }
9980
10603
  };
9981
10604
  var msend = function msend2() {
9982
- if (!(0, utilities_trackingConsentApi_js__WEBPACK_IMPORTED_MODULE_7__.D5)()) {
10605
+ if (!(0, utilities_trackingConsentApi_js__WEBPACK_IMPORTED_MODULE_6__.D5)()) {
9983
10606
  return;
9984
10607
  }
9985
- var url = "".concat((0, utilities_url_js__WEBPACK_IMPORTED_MODULE_5__.ff)(), "//").concat((0, utilities_hosts_js__WEBPACK_IMPORTED_MODULE_6__.Qz)(), "/mput?topic=metrics");
10608
+ var url = "".concat((0, utilities_url_js__WEBPACK_IMPORTED_MODULE_4__.ff)(), "//").concat((0, utilities_hosts_js__WEBPACK_IMPORTED_MODULE_5__.Qz)(), "/mput?topic=metrics");
9986
10609
  for (var _len = arguments.length, messages = new Array(_len), _key = 0; _key < _len; _key++) {
9987
10610
  messages[_key] = arguments[_key];
9988
10611
  }
@@ -10028,7 +10651,7 @@ var init_wistia_player = __esm({
10028
10651
  )
10029
10652
  /* harmony export */
10030
10653
  });
10031
- var wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__3(1200);
10654
+ var _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__3(5509);
10032
10655
  var throwAsync = function throwAsync2(e) {
10033
10656
  setTimeout(function() {
10034
10657
  throw e;
@@ -10037,25 +10660,25 @@ var init_wistia_player = __esm({
10037
10660
  var OBJ_PROP = "_namespacedLocalStorage";
10038
10661
  var localStorageWorks = function localStorageWorks2() {
10039
10662
  var ns = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "wistia-test-localstorage";
10040
- if (wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__.s._localStorageWorks != null) {
10041
- return wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__.s._localStorageWorks;
10663
+ if (_wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_0__.s._localStorageWorks != null) {
10664
+ return _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_0__.s._localStorageWorks;
10042
10665
  }
10043
10666
  try {
10044
10667
  var currentVal = localStorage.getItem(ns);
10045
10668
  localStorage.removeItem(ns);
10046
10669
  localStorage.setItem(ns, currentVal);
10047
10670
  localStorage.removeItem(ns);
10048
- wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__.s._localStorageWorks = true;
10671
+ _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_0__.s._localStorageWorks = true;
10049
10672
  } catch (e) {
10050
- wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__.s._localStorageWorks = false;
10673
+ _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_0__.s._localStorageWorks = false;
10051
10674
  }
10052
- return wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__.s._localStorageWorks;
10675
+ return _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_0__.s._localStorageWorks;
10053
10676
  };
10054
10677
  var getMemory = function getMemory2() {
10055
- if (wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__.s[OBJ_PROP] == null) {
10056
- wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__.s[OBJ_PROP] = {};
10678
+ if (_wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_0__.s[OBJ_PROP] == null) {
10679
+ _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_0__.s[OBJ_PROP] = {};
10057
10680
  }
10058
- return wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__.s[OBJ_PROP];
10681
+ return _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_0__.s[OBJ_PROP];
10059
10682
  };
10060
10683
  var getLocalStorage = function getLocalStorage2(ns) {
10061
10684
  if (!localStorageWorks()) {
@@ -11047,13 +11670,13 @@ var init_wistia_player = __esm({
11047
11670
  )
11048
11671
  /* harmony export */
11049
11672
  });
11050
- var wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__3(1200);
11673
+ var _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__3(5509);
11051
11674
  var seqId = function seqId2() {
11052
11675
  var prefix = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "wistia_";
11053
11676
  var suffix = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "";
11054
- var currentVal = wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__.s._sequenceVal || 1;
11677
+ var currentVal = _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_0__.s._sequenceVal || 1;
11055
11678
  var result = "".concat(prefix).concat(currentVal).concat(suffix);
11056
- wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__.s._sequenceVal = currentVal + 1;
11679
+ _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_0__.s._sequenceVal = currentVal + 1;
11057
11680
  return result;
11058
11681
  };
11059
11682
  }
@@ -11070,29 +11693,29 @@ var init_wistia_player = __esm({
11070
11693
  )
11071
11694
  /* harmony export */
11072
11695
  });
11073
- var wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__3(1200);
11074
11696
  var utilities_assign_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__3(9025);
11075
11697
  var utilities_pageLoaded_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__3(9562);
11076
- var utilities_trackingConsentApi_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__3(4755);
11077
- var _hosts_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__3(5857);
11698
+ var utilities_trackingConsentApi_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__3(4755);
11699
+ var _hosts_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__3(5857);
11700
+ var _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__3(5509);
11078
11701
  var _this = void 0;
11079
- if (wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__.s._simpleMetricsCache == null) {
11080
- wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__.s._simpleMetricsCache = {};
11702
+ if (_wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_2__.s._simpleMetricsCache == null) {
11703
+ _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_2__.s._simpleMetricsCache = {};
11081
11704
  }
11082
- if (wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__.s._simpleMetricsDebounceInterval == null) {
11083
- wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__.s._simpleMetricsDebounceInterval = 500;
11705
+ if (_wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_2__.s._simpleMetricsDebounceInterval == null) {
11706
+ _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_2__.s._simpleMetricsDebounceInterval = 500;
11084
11707
  }
11085
- var METRICS_CACHE = wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__.s._simpleMetricsCache;
11708
+ var METRICS_CACHE = _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_2__.s._simpleMetricsCache;
11086
11709
  var countMetric2 = function countMetric3(key) {
11087
11710
  var val = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 1;
11088
11711
  var extraData = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
11089
11712
  return sendMetric("count", key, val, extraData);
11090
11713
  };
11091
11714
  var sendMetrics = function sendMetrics2() {
11092
- if (!(0, utilities_trackingConsentApi_js__WEBPACK_IMPORTED_MODULE_1__.D5)()) {
11715
+ if (!(0, utilities_trackingConsentApi_js__WEBPACK_IMPORTED_MODULE_0__.D5)()) {
11093
11716
  return;
11094
11717
  }
11095
- var url = "https://".concat((0, _hosts_js__WEBPACK_IMPORTED_MODULE_2__.Qz)(), "/mput?topic=metrics");
11718
+ var url = "https://".concat((0, _hosts_js__WEBPACK_IMPORTED_MODULE_1__.Qz)(), "/mput?topic=metrics");
11096
11719
  for (var _len = arguments.length, messages = new Array(_len), _key = 0; _key < _len; _key++) {
11097
11720
  messages[_key] = arguments[_key];
11098
11721
  }
@@ -11128,7 +11751,7 @@ var init_wistia_player = __esm({
11128
11751
  };
11129
11752
  var sendMetric = function sendMetric2(type, key, val) {
11130
11753
  var extraData = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
11131
- if (!(0, utilities_trackingConsentApi_js__WEBPACK_IMPORTED_MODULE_1__.D5)()) {
11754
+ if (!(0, utilities_trackingConsentApi_js__WEBPACK_IMPORTED_MODULE_0__.D5)()) {
11132
11755
  return;
11133
11756
  }
11134
11757
  try {
@@ -11142,13 +11765,13 @@ var init_wistia_player = __esm({
11142
11765
  }, extraData);
11143
11766
  var serialized = JSON.stringify(messageObj, getCircularReplacer());
11144
11767
  METRICS_CACHE.toMput.push(serialized);
11145
- clearTimeout(wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__.s._msendTimeout);
11146
- wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__.s._msendTimeout = setTimeout(function() {
11768
+ clearTimeout(_wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_2__.s._msendTimeout);
11769
+ _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_2__.s._msendTimeout = setTimeout(function() {
11147
11770
  (0, utilities_pageLoaded_js__WEBPACK_IMPORTED_MODULE_4__.R)(function() {
11148
11771
  sendMetrics.apply(_this, METRICS_CACHE.toMput);
11149
11772
  METRICS_CACHE.toMput = [];
11150
11773
  });
11151
- }, wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__.s._simpleMetricsDebounceInterval);
11774
+ }, _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_2__.s._simpleMetricsDebounceInterval);
11152
11775
  } catch (e) {
11153
11776
  console.error(e.message);
11154
11777
  console.error(e.stack);
@@ -11171,26 +11794,26 @@ var init_wistia_player = __esm({
11171
11794
  )
11172
11795
  /* harmony export */
11173
11796
  });
11174
- var wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__3(1200);
11175
- var utilities_obj_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__3(731);
11797
+ var utilities_obj_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__3(731);
11798
+ var _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_1__2 = __webpack_require__3(5509);
11176
11799
  var W = (
11177
11800
  /* unused pure expression or super */
11178
11801
  null
11179
11802
  );
11180
- if (wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__.s._timeouts == null) {
11181
- wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__.s._timeouts = {};
11803
+ if (_wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_1__2.s._timeouts == null) {
11804
+ _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_1__2.s._timeouts = {};
11182
11805
  }
11183
11806
  var doTimeout2 = function doTimeout3(key, fn) {
11184
11807
  var time = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 1;
11185
- if ((0, utilities_obj_js__WEBPACK_IMPORTED_MODULE_1__.cy)(key)) {
11808
+ if ((0, utilities_obj_js__WEBPACK_IMPORTED_MODULE_0__.cy)(key)) {
11186
11809
  key = key.join(".");
11187
11810
  }
11188
11811
  var namespace = timeoutNamespace(key);
11189
11812
  clearTimeouts(key, namespace);
11190
11813
  if (fn) {
11191
- var timeouts = wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__.s._timeouts[namespace];
11814
+ var timeouts = _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_1__2.s._timeouts[namespace];
11192
11815
  if (timeouts == null) {
11193
- timeouts = wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__.s._timeouts[namespace] = {};
11816
+ timeouts = _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_1__2.s._timeouts[namespace] = {};
11194
11817
  }
11195
11818
  var timeoutId = setTimeout(function() {
11196
11819
  delete timeouts[key];
@@ -11199,17 +11822,17 @@ var init_wistia_player = __esm({
11199
11822
  timeouts[key] = timeoutId;
11200
11823
  return timeoutId;
11201
11824
  }
11202
- return wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__.s._timeouts[namespace][key];
11825
+ return _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_1__2.s._timeouts[namespace][key];
11203
11826
  };
11204
11827
  var clearTimeouts = function clearTimeouts2(key) {
11205
11828
  var namespace = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null;
11206
- if ((0, utilities_obj_js__WEBPACK_IMPORTED_MODULE_1__.cy)(key)) {
11829
+ if ((0, utilities_obj_js__WEBPACK_IMPORTED_MODULE_0__.cy)(key)) {
11207
11830
  key = key.join(".");
11208
11831
  }
11209
11832
  namespace = namespace || timeoutNamespace(key);
11210
11833
  var timeouts;
11211
11834
  if (namespace === "__global__") {
11212
- timeouts = wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__.s._timeouts[key];
11835
+ timeouts = _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_1__2.s._timeouts[key];
11213
11836
  if (timeouts) {
11214
11837
  for (var k in timeouts) {
11215
11838
  var v = timeouts[k];
@@ -11218,7 +11841,7 @@ var init_wistia_player = __esm({
11218
11841
  }
11219
11842
  }
11220
11843
  }
11221
- timeouts = wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__.s._timeouts[namespace];
11844
+ timeouts = _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_1__2.s._timeouts[namespace];
11222
11845
  if (timeouts) {
11223
11846
  for (var _k in timeouts) {
11224
11847
  var _v = timeouts[_k];
@@ -11228,19 +11851,19 @@ var init_wistia_player = __esm({
11228
11851
  }
11229
11852
  }
11230
11853
  }
11231
- if (!wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__.s.blockSweepTimeouts) {
11232
- wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__.s.blockSweepTimeouts = true;
11854
+ if (!_wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_1__2.s.blockSweepTimeouts) {
11855
+ _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_1__2.s.blockSweepTimeouts = true;
11233
11856
  setTimeout(sweepTimeouts, 0);
11234
11857
  setTimeout(function() {
11235
- wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__.s.blockSweepTimeouts = false;
11858
+ _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_1__2.s.blockSweepTimeouts = false;
11236
11859
  }, 5e3);
11237
11860
  }
11238
11861
  };
11239
11862
  var sweepTimeouts = function sweepTimeouts2() {
11240
- for (var namespace in wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__.s._timeouts) {
11241
- var timeouts = wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__.s._timeouts[namespace];
11242
- if ((0, utilities_obj_js__WEBPACK_IMPORTED_MODULE_1__.Im)(timeouts)) {
11243
- delete wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__.s._timeouts[namespace];
11863
+ for (var namespace in _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_1__2.s._timeouts) {
11864
+ var timeouts = _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_1__2.s._timeouts[namespace];
11865
+ if ((0, utilities_obj_js__WEBPACK_IMPORTED_MODULE_0__.Im)(timeouts)) {
11866
+ delete _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_1__2.s._timeouts[namespace];
11244
11867
  }
11245
11868
  }
11246
11869
  };
@@ -11265,10 +11888,10 @@ var init_wistia_player = __esm({
11265
11888
  )
11266
11889
  /* harmony export */
11267
11890
  });
11268
- var wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__3(1200);
11269
- var utilities_globalBindAndTrigger_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__3(4271);
11270
- var utilities_wistiaLocalStorage_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__3(4997);
11271
- var utilities_getApiHandles_ts__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__3(5510);
11891
+ var utilities_globalBindAndTrigger_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__3(4271);
11892
+ var utilities_wistiaLocalStorage_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__3(4997);
11893
+ var utilities_getApiHandles_ts__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__3(5510);
11894
+ var _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__3(5509);
11272
11895
  function _toConsumableArray(r) {
11273
11896
  return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray2(r) || _nonIterableSpread();
11274
11897
  }
@@ -11294,27 +11917,27 @@ var init_wistia_player = __esm({
11294
11917
  return n;
11295
11918
  }
11296
11919
  var migrateLegacyVisitorTracking = function migrateLegacyVisitorTracking2() {
11297
- var legacyIsEnabled = (0, utilities_wistiaLocalStorage_js__WEBPACK_IMPORTED_MODULE_2__.y1)().visitorTrackingEnabled;
11920
+ var legacyIsEnabled = (0, utilities_wistiaLocalStorage_js__WEBPACK_IMPORTED_MODULE_1__.y1)().visitorTrackingEnabled;
11298
11921
  if (legacyIsEnabled != null) {
11299
- (0, utilities_wistiaLocalStorage_js__WEBPACK_IMPORTED_MODULE_2__.$B)(function(ls) {
11922
+ (0, utilities_wistiaLocalStorage_js__WEBPACK_IMPORTED_MODULE_1__.$B)(function(ls) {
11300
11923
  return delete ls.visitorTrackingEnabled;
11301
11924
  });
11302
- wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__.s._visitorTracking = {};
11303
- wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__.s._visitorTracking[wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__.s._visitorTrackingDomain] = {
11925
+ _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_3__.s._visitorTracking = {};
11926
+ _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_3__.s._visitorTracking[_wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_3__.s._visitorTrackingDomain] = {
11304
11927
  isEnabled: legacyIsEnabled,
11305
11928
  updatedAt: Date.now()
11306
11929
  };
11307
- (0, utilities_wistiaLocalStorage_js__WEBPACK_IMPORTED_MODULE_2__.$B)(function(ls) {
11308
- return ls.visitorTracking = wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__.s._visitorTracking;
11930
+ (0, utilities_wistiaLocalStorage_js__WEBPACK_IMPORTED_MODULE_1__.$B)(function(ls) {
11931
+ return ls.visitorTracking = _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_3__.s._visitorTracking;
11309
11932
  });
11310
11933
  }
11311
11934
  };
11312
- if (!wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__.s._visitorTrackingDomain) {
11313
- wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__.s._visitorTrackingDomain = location.hostname || "";
11935
+ if (!_wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_3__.s._visitorTrackingDomain) {
11936
+ _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_3__.s._visitorTrackingDomain = location.hostname || "";
11314
11937
  }
11315
- if (!wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__.s._visitorTracking) {
11938
+ if (!_wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_3__.s._visitorTracking) {
11316
11939
  migrateLegacyVisitorTracking();
11317
- wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__.s._visitorTracking = (0, utilities_wistiaLocalStorage_js__WEBPACK_IMPORTED_MODULE_2__.y1)().visitorTracking || {};
11940
+ _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_3__.s._visitorTracking = (0, utilities_wistiaLocalStorage_js__WEBPACK_IMPORTED_MODULE_1__.y1)().visitorTracking || {};
11318
11941
  }
11319
11942
  var consent = function consent2(val) {
11320
11943
  if (val == null) {
@@ -11322,21 +11945,21 @@ var init_wistia_player = __esm({
11322
11945
  }
11323
11946
  return setVisitorTrackingEnabled(val);
11324
11947
  };
11325
- wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__.s.consent = consent;
11948
+ _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_3__.s.consent = consent;
11326
11949
  var setVisitorTrackingEnabled = function setVisitorTrackingEnabled2(val) {
11327
- var domain = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__.s._visitorTrackingDomain;
11950
+ var domain = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_3__.s._visitorTrackingDomain;
11328
11951
  if (val === "default") {
11329
- delete wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__.s._visitorTracking[domain];
11952
+ delete _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_3__.s._visitorTracking[domain];
11330
11953
  } else {
11331
- wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__.s._visitorTracking[domain] = {
11954
+ _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_3__.s._visitorTracking[domain] = {
11332
11955
  isEnabled: "".concat(val) === "true",
11333
11956
  updatedAt: Date.now()
11334
11957
  };
11335
11958
  }
11336
- (0, utilities_wistiaLocalStorage_js__WEBPACK_IMPORTED_MODULE_2__.$B)(function(obj) {
11337
- return obj.visitorTracking = wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__.s._visitorTracking;
11959
+ (0, utilities_wistiaLocalStorage_js__WEBPACK_IMPORTED_MODULE_1__.$B)(function(obj) {
11960
+ return obj.visitorTracking = _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_3__.s._visitorTracking;
11338
11961
  });
11339
- (0, utilities_globalBindAndTrigger_js__WEBPACK_IMPORTED_MODULE_1__.mj)("visitortrackingchange", val);
11962
+ (0, utilities_globalBindAndTrigger_js__WEBPACK_IMPORTED_MODULE_0__.mj)("visitortrackingchange", val);
11340
11963
  var allWistiaPlayers = _toConsumableArray(document.getElementsByTagName("wistia-player"));
11341
11964
  allWistiaPlayers.forEach(function(player) {
11342
11965
  player.dispatchEvent(new CustomEvent("visitor-tracking-change", {
@@ -11347,10 +11970,10 @@ var init_wistia_player = __esm({
11347
11970
  });
11348
11971
  };
11349
11972
  var isCurrentDomainOrAnyParentDomainsEnabled = function isCurrentDomainOrAnyParentDomainsEnabled2() {
11350
- if (wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__.s._visitorTrackingDomain) {
11351
- var domainParts = wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__.s._visitorTrackingDomain.split(".");
11973
+ if (_wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_3__.s._visitorTrackingDomain) {
11974
+ var domainParts = _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_3__.s._visitorTrackingDomain.split(".");
11352
11975
  while (domainParts.length > 0) {
11353
- var entry = wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__.s._visitorTracking[domainParts.join(".")];
11976
+ var entry = _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_3__.s._visitorTracking[domainParts.join(".")];
11354
11977
  var enabledVal = entry && entry.isEnabled;
11355
11978
  if (enabledVal != null) {
11356
11979
  return enabledVal;
@@ -11360,19 +11983,19 @@ var init_wistia_player = __esm({
11360
11983
  }
11361
11984
  };
11362
11985
  var isVisitorTrackingEnabled = function isVisitorTrackingEnabled2() {
11363
- if (typeof wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__.s._visitorTracking === "boolean") {
11364
- return wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__.s._visitorTracking;
11986
+ if (typeof _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_3__.s._visitorTracking === "boolean") {
11987
+ return _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_3__.s._visitorTracking;
11365
11988
  }
11366
- if (wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__.s._visitorTracking) {
11989
+ if (_wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_3__.s._visitorTracking) {
11367
11990
  var isEnabledVal = isCurrentDomainOrAnyParentDomainsEnabled();
11368
11991
  if (isEnabledVal != null) {
11369
11992
  return Boolean(isEnabledVal);
11370
11993
  }
11371
11994
  }
11372
- var apis = (0, utilities_getApiHandles_ts__WEBPACK_IMPORTED_MODULE_3__.bp)();
11373
- if (wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__.s.channel && wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__.s.channel.all) {
11995
+ var apis = (0, utilities_getApiHandles_ts__WEBPACK_IMPORTED_MODULE_2__.bp)();
11996
+ if (_wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_3__.s.channel && _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_3__.s.channel.all) {
11374
11997
  try {
11375
- apis.push.apply(apis, _toConsumableArray(wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__.s.channel.all()));
11998
+ apis.push.apply(apis, _toConsumableArray(_wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_3__.s.channel.all()));
11376
11999
  } catch (e) {
11377
12000
  }
11378
12001
  }
@@ -11707,20 +12330,20 @@ var init_wistia_player = __esm({
11707
12330
  )
11708
12331
  /* harmony export */
11709
12332
  });
11710
- var wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__3(1200);
11711
- var utilities_bindify_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__3(9061);
11712
- if (!wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__.s.bindable) {
11713
- wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__.s.bindable = {
12333
+ var utilities_bindify_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__3(9061);
12334
+ var _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_1__2 = __webpack_require__3(5509);
12335
+ if (!_wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_1__2.s.bindable) {
12336
+ _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_1__2.s.bindable = {
11714
12337
  bind: function bind(event, callback) {
11715
12338
  if (this.specialBind && this.specialBind.apply(this, arguments) === true) {
11716
12339
  return this;
11717
12340
  }
11718
12341
  if (callback) {
11719
- utilities_bindify_js__WEBPACK_IMPORTED_MODULE_1__.oI.call(this, event, callback);
12342
+ utilities_bindify_js__WEBPACK_IMPORTED_MODULE_0__.oI.call(this, event, callback);
11720
12343
  return this;
11721
12344
  }
11722
- if (wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__.s.warn) {
11723
- wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__.s.warn(this.constructor.name, "bind", "falsey value passed in as callback:", callback);
12345
+ if (_wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_1__2.s.warn) {
12346
+ _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_1__2.s.warn(this.constructor.name, "bind", "falsey value passed in as callback:", callback);
11724
12347
  }
11725
12348
  },
11726
12349
  // unbind the matching callback and event for this video
@@ -11729,7 +12352,7 @@ var init_wistia_player = __esm({
11729
12352
  return this;
11730
12353
  }
11731
12354
  if (callback) {
11732
- utilities_bindify_js__WEBPACK_IMPORTED_MODULE_1__.Nw.call(this, event, callback);
12355
+ utilities_bindify_js__WEBPACK_IMPORTED_MODULE_0__.Nw.call(this, event, callback);
11733
12356
  } else if (this._bindings) {
11734
12357
  this._bindings[event] = [];
11735
12358
  }
@@ -11744,14 +12367,14 @@ var init_wistia_player = __esm({
11744
12367
  if (typeof specialBindResult === "function") {
11745
12368
  return specialBindResult;
11746
12369
  }
11747
- return utilities_bindify_js__WEBPACK_IMPORTED_MODULE_1__.oI.call(this, event, fn);
12370
+ return utilities_bindify_js__WEBPACK_IMPORTED_MODULE_0__.oI.call(this, event, fn);
11748
12371
  },
11749
12372
  off: function off(event, fn) {
11750
12373
  var specialUnbindResult = this.specialUnbind && this.specialUnbind.apply(this, arguments);
11751
12374
  if (typeof specialUnbindResult === "function") {
11752
12375
  return specialUnbindResult;
11753
12376
  }
11754
- return utilities_bindify_js__WEBPACK_IMPORTED_MODULE_1__.Nw.call(this, event, fn);
12377
+ return utilities_bindify_js__WEBPACK_IMPORTED_MODULE_0__.Nw.call(this, event, fn);
11755
12378
  },
11756
12379
  rebind: function rebind(event, callback) {
11757
12380
  this.unbind(event, callback);
@@ -11764,23 +12387,23 @@ var init_wistia_player = __esm({
11764
12387
  for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
11765
12388
  args[_key - 1] = arguments[_key];
11766
12389
  }
11767
- (_bindify$trigger = utilities_bindify_js__WEBPACK_IMPORTED_MODULE_1__.hZ).call.apply(_bindify$trigger, [this, event].concat(args));
12390
+ (_bindify$trigger = utilities_bindify_js__WEBPACK_IMPORTED_MODULE_0__.hZ).call.apply(_bindify$trigger, [this, event].concat(args));
11768
12391
  return this;
11769
12392
  },
11770
12393
  bindNamed: function bindNamed() {
11771
- return utilities_bindify_js__WEBPACK_IMPORTED_MODULE_1__.RX.apply(this, arguments);
12394
+ return utilities_bindify_js__WEBPACK_IMPORTED_MODULE_0__.RX.apply(this, arguments);
11772
12395
  },
11773
12396
  unbindNamed: function unbindNamed() {
11774
- return utilities_bindify_js__WEBPACK_IMPORTED_MODULE_1__._Z.apply(this, arguments);
12397
+ return utilities_bindify_js__WEBPACK_IMPORTED_MODULE_0__._Z.apply(this, arguments);
11775
12398
  },
11776
12399
  unbindAllInNamespace: function unbindAllInNamespace() {
11777
- return utilities_bindify_js__WEBPACK_IMPORTED_MODULE_1__.E0.apply(this, arguments);
12400
+ return utilities_bindify_js__WEBPACK_IMPORTED_MODULE_0__.E0.apply(this, arguments);
11778
12401
  }
11779
12402
  };
11780
12403
  }
11781
12404
  var makeWbindable = function makeWbindable2(obj) {
11782
- for (var k in wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__.s.bindable) {
11783
- var v = wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__.s.bindable[k];
12405
+ for (var k in _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_1__2.s.bindable) {
12406
+ var v = _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_1__2.s.bindable[k];
11784
12407
  if (!obj[k]) {
11785
12408
  obj[k] = v;
11786
12409
  }
@@ -11800,16 +12423,16 @@ var init_wistia_player = __esm({
11800
12423
  )
11801
12424
  /* harmony export */
11802
12425
  });
11803
- var wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__3(1200);
11804
- var utilities_obj_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__3(731);
12426
+ var utilities_obj_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__3(731);
12427
+ var _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_1__2 = __webpack_require__3(5509);
11805
12428
  var wData2 = function wData3(key, val) {
11806
- if (!(0, utilities_obj_js__WEBPACK_IMPORTED_MODULE_1__.cy)(key)) {
12429
+ if (!(0, utilities_obj_js__WEBPACK_IMPORTED_MODULE_0__.cy)(key)) {
11807
12430
  key = key.split(".");
11808
12431
  }
11809
12432
  if (val != null) {
11810
- (0, utilities_obj_js__WEBPACK_IMPORTED_MODULE_1__.vd)(wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__.s, ["_data"].concat(key), val);
12433
+ (0, utilities_obj_js__WEBPACK_IMPORTED_MODULE_0__.vd)(_wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_1__2.s, ["_data"].concat(key), val);
11811
12434
  }
11812
- return (0, utilities_obj_js__WEBPACK_IMPORTED_MODULE_1__.b$)(wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__.s, ["_data"].concat(key));
12435
+ return (0, utilities_obj_js__WEBPACK_IMPORTED_MODULE_0__.b$)(_wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_1__2.s, ["_data"].concat(key));
11813
12436
  };
11814
12437
  var wRemoveData = function wRemoveData2(key) {
11815
12438
  if (!isArray(key)) {
@@ -11836,11 +12459,11 @@ var init_wistia_player = __esm({
11836
12459
  )
11837
12460
  /* harmony export */
11838
12461
  });
11839
- var wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__3(1200);
11840
- var utilities_namespacedLocalStorage_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__3(2917);
12462
+ var utilities_namespacedLocalStorage_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__3(2917);
12463
+ var _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_1__2 = __webpack_require__3(5509);
11841
12464
  var WISTIA_NAMESPACE = "wistia";
11842
12465
  var getWistiaLocalStorage = function getWistiaLocalStorage2() {
11843
- return (0, utilities_namespacedLocalStorage_js__WEBPACK_IMPORTED_MODULE_1__.Lg)(WISTIA_NAMESPACE);
12466
+ return (0, utilities_namespacedLocalStorage_js__WEBPACK_IMPORTED_MODULE_0__.Lg)(WISTIA_NAMESPACE);
11844
12467
  };
11845
12468
  var removeWistiaLocalStorage2 = function removeWistiaLocalStorage3() {
11846
12469
  Wistia._localStorage = removeLocalStorage(WISTIA_NAMESPACE);
@@ -11851,8 +12474,8 @@ var init_wistia_player = __esm({
11851
12474
  return Wistia._localStorage;
11852
12475
  };
11853
12476
  var updateWistiaLocalStorage = function updateWistiaLocalStorage2(fn) {
11854
- wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__.s._localStorage = (0, utilities_namespacedLocalStorage_js__WEBPACK_IMPORTED_MODULE_1__.yo)(WISTIA_NAMESPACE, fn);
11855
- return wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__.s._localStorage;
12477
+ _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_1__2.s._localStorage = (0, utilities_namespacedLocalStorage_js__WEBPACK_IMPORTED_MODULE_0__.yo)(WISTIA_NAMESPACE, fn);
12478
+ return _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_1__2.s._localStorage;
11856
12479
  };
11857
12480
  }
11858
12481
  ),
@@ -11868,8 +12491,8 @@ var init_wistia_player = __esm({
11868
12491
  )
11869
12492
  /* harmony export */
11870
12493
  });
11871
- var wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__3(1200);
11872
- var utilities_globalBindAndTrigger_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__3(4271);
12494
+ var utilities_globalBindAndTrigger_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__3(4271);
12495
+ var _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_1__2 = __webpack_require__3(5509);
11873
12496
  function _toConsumableArray(r) {
11874
12497
  return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray2(r) || _nonIterableSpread();
11875
12498
  }
@@ -12046,7 +12669,7 @@ var init_wistia_player = __esm({
12046
12669
  var notDebug = level < DEBUG;
12047
12670
  var matched = (withinLevel || notDebug) && this.matchedGrep(messages);
12048
12671
  if (level === ERROR) {
12049
- (0, utilities_globalBindAndTrigger_js__WEBPACK_IMPORTED_MODULE_1__.mj)("problem", {
12672
+ (0, utilities_globalBindAndTrigger_js__WEBPACK_IMPORTED_MODULE_0__.mj)("problem", {
12050
12673
  type: "error-logged",
12051
12674
  data: {
12052
12675
  messages
@@ -12184,56 +12807,10 @@ var init_wistia_player = __esm({
12184
12807
  }
12185
12808
  };
12186
12809
  };
12187
- if (wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__.s && wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__.s.wlogCtx == null) {
12188
- wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__.s.wlogCtx = {};
12189
- }
12190
- var wlog2 = new Logger(wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__.s.wlogCtx);
12191
- }
12192
- ),
12193
- /***/
12194
- 1200: (
12195
- /***/
12196
- (__unused_webpack___webpack_module__2, __webpack_exports__3, __webpack_require__3) => {
12197
- __webpack_require__3.d(__webpack_exports__3, {
12198
- /* harmony export */
12199
- s: () => (
12200
- /* binding */
12201
- Wistia2
12202
- )
12203
- /* harmony export */
12204
- });
12205
- var utilities_root_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__3(8176);
12206
- var _objectHasOwn = function(object, property) {
12207
- if (typeof object === "undefined" || object === null) {
12208
- throw new TypeError("Cannot convert undefined or null to object");
12209
- }
12210
- return Object.prototype.hasOwnProperty.call(Object(object), property);
12211
- };
12212
- if (utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z.Wistia == null) {
12213
- utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z.Wistia = {};
12214
- }
12215
- var Wistia2 = utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z.Wistia;
12216
- if (Wistia2._initializers == null) {
12217
- Wistia2._initializers = {};
12218
- }
12219
- if (Wistia2._destructors == null) {
12220
- Wistia2._destructors = {};
12221
- }
12222
- if (Wistia2.mixin == null) {
12223
- Wistia2.mixin = function(klass, obj) {
12224
- for (var k in obj) {
12225
- if (_objectHasOwn(obj, k)) {
12226
- klass[k] = obj[k];
12227
- }
12228
- }
12229
- };
12230
- }
12231
- if (Wistia2._remoteData == null) {
12232
- Wistia2._remoteData = /* @__PURE__ */ new Map();
12233
- }
12234
- if (Wistia2._mediaDataPromises == null) {
12235
- Wistia2._mediaDataPromises = {};
12810
+ if (_wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_1__2.s && _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_1__2.s.wlogCtx == null) {
12811
+ _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_1__2.s.wlogCtx = {};
12236
12812
  }
12813
+ var wlog2 = new Logger(_wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_1__2.s.wlogCtx);
12237
12814
  }
12238
12815
  )
12239
12816
  /******/
@@ -12296,27 +12873,27 @@ var init_wistia_player = __esm({
12296
12873
  /* harmony export */
12297
12874
  });
12298
12875
  preact__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__2(5181);
12299
- _wistia_type_guards__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__2(4586);
12876
+ _wistia_type_guards__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__2(4586);
12300
12877
  _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__2(5509);
12301
12878
  _components_PreloadThumbnail_tsx__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__2(9804);
12302
12879
  _hooks_usePlayerData_tsx__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__2(2721);
12303
- _utilities_constants_ts__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__2(1512);
12880
+ _utilities_constants_ts__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__2(1512);
12304
12881
  _utilities_PlayerDataHandler_ts__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__2(6462);
12305
- _appHostname_js__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__2(787);
12882
+ _appHostname_js__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__2(787);
12306
12883
  _utilities_assets_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__2(7209);
12307
- _utilities_coinFlip_ts__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__2(7323);
12884
+ _utilities_coinFlip_ts__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__2(7323);
12308
12885
  _utilities_detect_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__2(7231);
12309
12886
  _utilities_dynamicImport_ts__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__2(7157);
12310
12887
  _utilities_embedOptionStore_ts__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__2(3280);
12311
12888
  _utilities_elem_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__2(7715);
12312
- _utilities_eventConstants_ts__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__2(2760);
12889
+ _utilities_eventConstants_ts__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__2(2760);
12313
12890
  _utilities_extractEmailFromParams_ts__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__2(3832);
12314
12891
  _utilities_hosts_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__2(5857);
12315
- _utilities_inferPageUrl_ts__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__2(5393);
12892
+ _utilities_inferPageUrl_ts__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__2(5393);
12316
12893
  _utilities_judy_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__2(438);
12317
- _utilities_roundedPlayerDefaults_ts__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__2(3123);
12894
+ _utilities_roundedPlayerDefaults_ts__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__2(3123);
12318
12895
  _utilities_runScript_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__2(1248);
12319
- _utilities_shouldEnableMux_ts__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__2(7211);
12896
+ _utilities_shouldEnableMux_ts__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__2(7211);
12320
12897
  _utilities_simpleMetrics_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__2(1161);
12321
12898
  _utilities_trackingConsentApi_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__2(4755);
12322
12899
  _utilities_url_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__2(2671);
@@ -12326,9 +12903,10 @@ var init_wistia_player = __esm({
12326
12903
  _utilities_wlog_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__2(6637);
12327
12904
  _utilities_injectJsonLd_js__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__2(2147);
12328
12905
  _utilities_getInitialMediaData_ts__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__2(5833);
12329
- _utilities_mediaDataError_ts__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__2(959);
12906
+ _utilities_mediaDataError_ts__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__2(959);
12907
+ _utilities_remote_data_cache_ts__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__2(3411);
12330
12908
  requiredAttributes = ["media-id"];
12331
- optionalPublicAttributes = ["aspect", "audio-description-control", "autoplay", "big-play-button", "controls-visible-on-load", "copy-link-and-thumbnail", "current-time", "do-not-track", "email", "end-video-behavior", "fullscreen-control", "muted", "playback-rate-control", "play-bar-control", "player-color", "playlist-links", "playlist-loop", "play-pause-control", "play-pause-notifier", "popover-animate-thumbnail", "popover-animation", "popover-border-color", "popover-border-radius", "popover-border-width", "popover-box-shadow", "popover-caption", "popover-caption-container", "popover-content", "popover-disable-autoplay", "popover-overlay-color", "popover-overlay-opacity", "popover-prevent-scroll", "popover-show-on-load", "poster", "preload", "quality-control", "quality-max", "quality-min", "resumable", "rounded-player", "seo", "settings-control", "silent-autoplay", "transparent-letterbox", "video-quality", "volume", "volume-control", "wistia-popover"];
12909
+ optionalPublicAttributes = ["aspect", "audio-description-control", "autoplay", "big-play-button", "controls-visible-on-load", "copy-link-and-thumbnail", "current-time", "do-not-track", "email", "end-video-behavior", "fullscreen-control", "muted", "playback-rate-control", "play-bar-control", "player-color", "playlist-channel-id", "playlist-links", "playlist-loop", "play-pause-control", "play-pause-notifier", "popover-animate-thumbnail", "popover-animation", "popover-border-color", "popover-border-radius", "popover-border-width", "popover-box-shadow", "popover-caption", "popover-caption-container", "popover-content", "popover-disable-autoplay", "popover-overlay-color", "popover-overlay-opacity", "popover-prevent-scroll", "popover-show-on-load", "poster", "preload", "quality-control", "quality-max", "quality-min", "resumable", "rounded-player", "seo", "settings-control", "silent-autoplay", "transparent-letterbox", "video-quality", "volume", "volume-control", "wistia-popover"];
12332
12910
  optionalPrivateAttributes = ["big-play-button-border-radius", "control-bar-border-radius", "embed-host", "hls", "page-url", "player-border-radius", "player-force", "stats-url", "swatch", "unique-id", "use-web-component"];
12333
12911
  defaultEmbedOptions = {
12334
12912
  audioDescriptionControl: false,
@@ -12432,7 +13010,7 @@ var init_wistia_player = __esm({
12432
13010
  _classPrivateFieldInitSpec(_this3, _preactRoot, null);
12433
13011
  _classPrivateFieldInitSpec(_this3, _preloadAspectRatio, void 0);
12434
13012
  _classPrivateFieldInitSpec(_this3, _preloadThumbnailRoot, null);
12435
- _classPrivateFieldInitSpec(_this3, _publicApiScript, (0, _utilities_runScript_js__WEBPACK_IMPORTED_MODULE_13__.j)("".concat((0, _utilities_url_js__WEBPACK_IMPORTED_MODULE_16__.ff)(), "//").concat((0, _appHostname_js__WEBPACK_IMPORTED_MODULE_23__.N)("fast"), "/assets/external/publicApi.js")));
13013
+ _classPrivateFieldInitSpec(_this3, _publicApiScript, (0, _utilities_runScript_js__WEBPACK_IMPORTED_MODULE_13__.j)("".concat((0, _utilities_url_js__WEBPACK_IMPORTED_MODULE_16__.ff)(), "//").concat((0, _appHostname_js__WEBPACK_IMPORTED_MODULE_24__.N)("fast"), "/assets/external/publicApi.js")));
12436
13014
  _classPrivateFieldInitSpec(_this3, _resizeObserver, null);
12437
13015
  _this3.attachShadow({
12438
13016
  mode: "open"
@@ -12490,7 +13068,7 @@ var init_wistia_player = __esm({
12490
13068
  key: "aspect",
12491
13069
  get: function get() {
12492
13070
  var _ref, _ref2, _this$api$_impl$aspec, _this$api, _this$api$_impl;
12493
- var fallbackAspect = !Number.isNaN(this.offsetWidth / this.offsetHeight) && Number.isFinite(this.offsetWidth / this.offsetHeight) ? this.offsetWidth / this.offsetHeight : _utilities_constants_ts__WEBPACK_IMPORTED_MODULE_24__.R;
13071
+ var fallbackAspect = !Number.isNaN(this.offsetWidth / this.offsetHeight) && Number.isFinite(this.offsetWidth / this.offsetHeight) ? this.offsetWidth / this.offsetHeight : _utilities_constants_ts__WEBPACK_IMPORTED_MODULE_25__.R;
12494
13072
  return (_ref = (_ref2 = (_this$api$_impl$aspec = (_this$api = this.api) === null || _this$api === void 0 ? void 0 : (_this$api$_impl = _this$api._impl) === null || _this$api$_impl === void 0 ? void 0 : _this$api$_impl.aspect()) !== null && _this$api$_impl$aspec !== void 0 ? _this$api$_impl$aspec : this.embedOptions.aspect) !== null && _ref2 !== void 0 ? _ref2 : _assertClassBrand(_WistiaPlayer_brand, this, _getValueFromAttribute).call(this, "aspect")) !== null && _ref !== void 0 ? _ref : fallbackAspect;
12495
13073
  },
12496
13074
  set: function set(newAspect) {
@@ -12599,7 +13177,7 @@ var init_wistia_player = __esm({
12599
13177
  }
12600
13178
  /**
12601
13179
  * Getter. Returns all defined controls.
12602
- * @returns {Record<string, object>} returns object of defined controls. Please note this may return an
13180
+ * @returns {PlayerControls} returns object of defined controls. Please note this may return an
12603
13181
  * empty object if not controls have yet been defined.
12604
13182
  */
12605
13183
  }, {
@@ -12966,6 +13544,16 @@ var init_wistia_player = __esm({
12966
13544
  _classPrivateFieldGet(_logger, this).info("set playerForce", newPlayer);
12967
13545
  this.setAttribute("player-force", newPlayer);
12968
13546
  }
13547
+ }, {
13548
+ key: "playlistChannelId",
13549
+ get: function get() {
13550
+ return _assertClassBrand(_WistiaPlayer_brand, this, _getSyncedEmbedOption).call(this, "playlistChannelId");
13551
+ },
13552
+ set: function set(channelId) {
13553
+ var _this$api27, _this$api27$_impl;
13554
+ (_this$api27 = this.api) === null || _this$api27 === void 0 ? void 0 : (_this$api27$_impl = _this$api27._impl) === null || _this$api27$_impl === void 0 ? void 0 : _this$api27$_impl.renderUI();
13555
+ _assertClassBrand(_WistiaPlayer_brand, this, _setSyncedEmbedOption).call(this, "playlistChannelId", channelId);
13556
+ }
12969
13557
  /**
12970
13558
  * Returns the strategy for associating specially crafted links on a page with a video, turning them into a playlist.
12971
13559
  * auto: For each video on the page, look for links after the video, until we come to another Wistia video.
@@ -13004,8 +13592,8 @@ var init_wistia_player = __esm({
13004
13592
  return _assertClassBrand(_WistiaPlayer_brand, this, _getSyncedEmbedOption).call(this, "playPauseControl");
13005
13593
  },
13006
13594
  set: function set(shouldDisplay) {
13007
- var _this$api27, _this$api27$_impl;
13008
- (_this$api27 = this.api) === null || _this$api27 === void 0 ? void 0 : (_this$api27$_impl = _this$api27._impl) === null || _this$api27$_impl === void 0 ? void 0 : _this$api27$_impl.playPauseControlEnabled(shouldDisplay);
13595
+ var _this$api28, _this$api28$_impl;
13596
+ (_this$api28 = this.api) === null || _this$api28 === void 0 ? void 0 : (_this$api28$_impl = _this$api28._impl) === null || _this$api28$_impl === void 0 ? void 0 : _this$api28$_impl.playPauseControlEnabled(shouldDisplay);
13009
13597
  _assertClassBrand(_WistiaPlayer_brand, this, _setSyncedEmbedOption).call(this, "playPauseControl", shouldDisplay);
13010
13598
  }
13011
13599
  /**
@@ -13020,20 +13608,20 @@ var init_wistia_player = __esm({
13020
13608
  return _assertClassBrand(_WistiaPlayer_brand, this, _getSyncedEmbedOption).call(this, "playPauseNotifier");
13021
13609
  },
13022
13610
  set: function set(shouldDisplay) {
13023
- var _this$api28, _this$api28$_impl;
13024
- (_this$api28 = this.api) === null || _this$api28 === void 0 ? void 0 : (_this$api28$_impl = _this$api28._impl) === null || _this$api28$_impl === void 0 ? void 0 : _this$api28$_impl.playPauseNotifierEnabled(shouldDisplay);
13611
+ var _this$api29, _this$api29$_impl;
13612
+ (_this$api29 = this.api) === null || _this$api29 === void 0 ? void 0 : (_this$api29$_impl = _this$api29._impl) === null || _this$api29$_impl === void 0 ? void 0 : _this$api29$_impl.playPauseNotifierEnabled(shouldDisplay);
13025
13613
  _assertClassBrand(_WistiaPlayer_brand, this, _setSyncedEmbedOption).call(this, "playPauseNotifier", shouldDisplay);
13026
13614
  }
13027
13615
  /**
13028
13616
  * Getter. Returns all defined plugins.
13029
- * @returns {Record<string, object>} returns object of defined plugins. Please note this may return an
13617
+ * @returns {Plugin} returns object of defined plugins. Please note this may return an
13030
13618
  * empty object if not plugins have yet been defined.
13031
13619
  */
13032
13620
  }, {
13033
13621
  key: "plugins",
13034
13622
  get: function get() {
13035
- var _this$api29;
13036
- if ((_this$api29 = this.api) !== null && _this$api29 !== void 0 && _this$api29._impl) {
13623
+ var _this$api30;
13624
+ if ((_this$api30 = this.api) !== null && _this$api30 !== void 0 && _this$api30._impl) {
13037
13625
  return Object.seal(_objectSpread({}, this.api._impl.plugin));
13038
13626
  }
13039
13627
  return {};
@@ -13240,8 +13828,8 @@ var init_wistia_player = __esm({
13240
13828
  }, {
13241
13829
  key: "preload",
13242
13830
  get: function get() {
13243
- var _ref11, _this$api$_impl$prelo, _this$api30, _this$api30$_impl;
13244
- return (_ref11 = (_this$api$_impl$prelo = (_this$api30 = this.api) === null || _this$api30 === void 0 ? void 0 : (_this$api30$_impl = _this$api30._impl) === null || _this$api30$_impl === void 0 ? void 0 : _this$api30$_impl.preloadValue()) !== null && _this$api$_impl$prelo !== void 0 ? _this$api$_impl$prelo : this.embedOptions.preload) !== null && _ref11 !== void 0 ? _ref11 : void 0;
13831
+ var _ref11, _this$api$_impl$prelo, _this$api31, _this$api31$_impl;
13832
+ return (_ref11 = (_this$api$_impl$prelo = (_this$api31 = this.api) === null || _this$api31 === void 0 ? void 0 : (_this$api31$_impl = _this$api31._impl) === null || _this$api31$_impl === void 0 ? void 0 : _this$api31$_impl.preloadValue()) !== null && _this$api$_impl$prelo !== void 0 ? _this$api$_impl$prelo : this.embedOptions.preload) !== null && _ref11 !== void 0 ? _ref11 : void 0;
13245
13833
  },
13246
13834
  set: function set(preloadValue) {
13247
13835
  var prevVal = this.preload;
@@ -13261,8 +13849,8 @@ var init_wistia_player = __esm({
13261
13849
  return _assertClassBrand(_WistiaPlayer_brand, this, _getSyncedEmbedOption).call(this, "qualityControl");
13262
13850
  },
13263
13851
  set: function set(shouldDisplay) {
13264
- var _this$api31, _this$api31$_impl;
13265
- (_this$api31 = this.api) === null || _this$api31 === void 0 ? void 0 : (_this$api31$_impl = _this$api31._impl) === null || _this$api31$_impl === void 0 ? void 0 : _this$api31$_impl.qualityControlEnabled(shouldDisplay);
13852
+ var _this$api32, _this$api32$_impl;
13853
+ (_this$api32 = this.api) === null || _this$api32 === void 0 ? void 0 : (_this$api32$_impl = _this$api32._impl) === null || _this$api32$_impl === void 0 ? void 0 : _this$api32$_impl.qualityControlEnabled(shouldDisplay);
13266
13854
  _assertClassBrand(_WistiaPlayer_brand, this, _setSyncedEmbedOption).call(this, "qualityControl", shouldDisplay);
13267
13855
  }
13268
13856
  /**
@@ -13275,8 +13863,8 @@ var init_wistia_player = __esm({
13275
13863
  return _assertClassBrand(_WistiaPlayer_brand, this, _getSyncedEmbedOption).call(this, "qualityMax");
13276
13864
  },
13277
13865
  set: function set(quality) {
13278
- var _this$api32, _this$api32$_impl;
13279
- (_this$api32 = this.api) === null || _this$api32 === void 0 ? void 0 : (_this$api32$_impl = _this$api32._impl) === null || _this$api32$_impl === void 0 ? void 0 : _this$api32$_impl.qualityMax(quality);
13866
+ var _this$api33, _this$api33$_impl;
13867
+ (_this$api33 = this.api) === null || _this$api33 === void 0 ? void 0 : (_this$api33$_impl = _this$api33._impl) === null || _this$api33$_impl === void 0 ? void 0 : _this$api33$_impl.qualityMax(quality);
13280
13868
  _assertClassBrand(_WistiaPlayer_brand, this, _setSyncedEmbedOption).call(this, "qualityMax", quality);
13281
13869
  }
13282
13870
  /**
@@ -13289,8 +13877,8 @@ var init_wistia_player = __esm({
13289
13877
  return _assertClassBrand(_WistiaPlayer_brand, this, _getSyncedEmbedOption).call(this, "qualityMin");
13290
13878
  },
13291
13879
  set: function set(quality) {
13292
- var _this$api33, _this$api33$_impl;
13293
- (_this$api33 = this.api) === null || _this$api33 === void 0 ? void 0 : (_this$api33$_impl = _this$api33._impl) === null || _this$api33$_impl === void 0 ? void 0 : _this$api33$_impl.qualityMin(quality);
13880
+ var _this$api34, _this$api34$_impl;
13881
+ (_this$api34 = this.api) === null || _this$api34 === void 0 ? void 0 : (_this$api34$_impl = _this$api34._impl) === null || _this$api34$_impl === void 0 ? void 0 : _this$api34$_impl.qualityMin(quality);
13294
13882
  _assertClassBrand(_WistiaPlayer_brand, this, _setSyncedEmbedOption).call(this, "qualityMin", quality);
13295
13883
  }
13296
13884
  /**
@@ -13300,8 +13888,8 @@ var init_wistia_player = __esm({
13300
13888
  }, {
13301
13889
  key: "readyState",
13302
13890
  get: function get() {
13303
- var _this$api$_impl$getRe, _this$api34, _this$api34$_impl;
13304
- return (_this$api$_impl$getRe = (_this$api34 = this.api) === null || _this$api34 === void 0 ? void 0 : (_this$api34$_impl = _this$api34._impl) === null || _this$api34$_impl === void 0 ? void 0 : _this$api34$_impl.getReadyState()) !== null && _this$api$_impl$getRe !== void 0 ? _this$api$_impl$getRe : 0;
13891
+ var _this$api$_impl$getRe, _this$api35, _this$api35$_impl;
13892
+ return (_this$api$_impl$getRe = (_this$api35 = this.api) === null || _this$api35 === void 0 ? void 0 : (_this$api35$_impl = _this$api35._impl) === null || _this$api35$_impl === void 0 ? void 0 : _this$api35$_impl.getReadyState()) !== null && _this$api$_impl$getRe !== void 0 ? _this$api$_impl$getRe : 0;
13305
13893
  }
13306
13894
  /**
13307
13895
  * Returns the current resumable status of the video.
@@ -13313,8 +13901,8 @@ var init_wistia_player = __esm({
13313
13901
  return _assertClassBrand(_WistiaPlayer_brand, this, _getSyncedEmbedOption).call(this, "resumable");
13314
13902
  },
13315
13903
  set: function set(resumableState) {
13316
- var _this$api35, _this$api35$_impl;
13317
- (_this$api35 = this.api) === null || _this$api35 === void 0 ? void 0 : (_this$api35$_impl = _this$api35._impl) === null || _this$api35$_impl === void 0 ? void 0 : _this$api35$_impl.setResumable(resumableState);
13904
+ var _this$api36, _this$api36$_impl;
13905
+ (_this$api36 = this.api) === null || _this$api36 === void 0 ? void 0 : (_this$api36$_impl = _this$api36._impl) === null || _this$api36$_impl === void 0 ? void 0 : _this$api36$_impl.setResumable(resumableState);
13318
13906
  _assertClassBrand(_WistiaPlayer_brand, this, _setSyncedEmbedOption).call(this, "resumable", resumableState);
13319
13907
  }
13320
13908
  /**
@@ -13327,8 +13915,8 @@ var init_wistia_player = __esm({
13327
13915
  return _assertClassBrand(_WistiaPlayer_brand, this, _getSyncedEmbedOption).call(this, "roundedPlayer");
13328
13916
  },
13329
13917
  set: function set(radius) {
13330
- var _this$api36, _this$api36$_impl;
13331
- (_this$api36 = this.api) === null || _this$api36 === void 0 ? void 0 : (_this$api36$_impl = _this$api36._impl) === null || _this$api36$_impl === void 0 ? void 0 : _this$api36$_impl.setRoundedPlayer(Number(radius));
13918
+ var _this$api37, _this$api37$_impl;
13919
+ (_this$api37 = this.api) === null || _this$api37 === void 0 ? void 0 : (_this$api37$_impl = _this$api37._impl) === null || _this$api37$_impl === void 0 ? void 0 : _this$api37$_impl.setRoundedPlayer(Number(radius));
13332
13920
  _assertClassBrand(_WistiaPlayer_brand, this, _setSyncedEmbedOption).call(this, "roundedPlayer", radius);
13333
13921
  }
13334
13922
  /**
@@ -13339,8 +13927,8 @@ var init_wistia_player = __esm({
13339
13927
  }, {
13340
13928
  key: "secondsWatched",
13341
13929
  get: function get() {
13342
- var _this$api$_impl$secon, _this$api37, _this$api37$_impl;
13343
- return (_this$api$_impl$secon = (_this$api37 = this.api) === null || _this$api37 === void 0 ? void 0 : (_this$api37$_impl = _this$api37._impl) === null || _this$api37$_impl === void 0 ? void 0 : _this$api37$_impl.secondsWatched()) !== null && _this$api$_impl$secon !== void 0 ? _this$api$_impl$secon : 0;
13930
+ var _this$api$_impl$secon, _this$api38, _this$api38$_impl;
13931
+ return (_this$api$_impl$secon = (_this$api38 = this.api) === null || _this$api38 === void 0 ? void 0 : (_this$api38$_impl = _this$api38._impl) === null || _this$api38$_impl === void 0 ? void 0 : _this$api38$_impl.secondsWatched()) !== null && _this$api$_impl$secon !== void 0 ? _this$api$_impl$secon : 0;
13344
13932
  }
13345
13933
  /**
13346
13934
  * Returns an array where each index represents the number of times the viewer has watched each second of the video.
@@ -13349,8 +13937,8 @@ var init_wistia_player = __esm({
13349
13937
  }, {
13350
13938
  key: "secondsWatchedVector",
13351
13939
  get: function get() {
13352
- var _this$api$_impl$secon2, _this$api38, _this$api38$_impl;
13353
- return (_this$api$_impl$secon2 = (_this$api38 = this.api) === null || _this$api38 === void 0 ? void 0 : (_this$api38$_impl = _this$api38._impl) === null || _this$api38$_impl === void 0 ? void 0 : _this$api38$_impl.secondsWatchedVector()) !== null && _this$api$_impl$secon2 !== void 0 ? _this$api$_impl$secon2 : [];
13940
+ var _this$api$_impl$secon2, _this$api39, _this$api39$_impl;
13941
+ return (_this$api$_impl$secon2 = (_this$api39 = this.api) === null || _this$api39 === void 0 ? void 0 : (_this$api39$_impl = _this$api39._impl) === null || _this$api39$_impl === void 0 ? void 0 : _this$api39$_impl.secondsWatchedVector()) !== null && _this$api$_impl$secon2 !== void 0 ? _this$api$_impl$secon2 : [];
13354
13942
  }
13355
13943
  /**
13356
13944
  * Returns whether JSON+LD seo data will be injected.
@@ -13374,8 +13962,8 @@ var init_wistia_player = __esm({
13374
13962
  return _assertClassBrand(_WistiaPlayer_brand, this, _getSyncedEmbedOption).call(this, "settingsControl");
13375
13963
  },
13376
13964
  set: function set(shouldDisplay) {
13377
- var _this$api39, _this$api39$_impl;
13378
- (_this$api39 = this.api) === null || _this$api39 === void 0 ? void 0 : (_this$api39$_impl = _this$api39._impl) === null || _this$api39$_impl === void 0 ? void 0 : _this$api39$_impl.settingsControlEnabled(shouldDisplay);
13965
+ var _this$api40, _this$api40$_impl;
13966
+ (_this$api40 = this.api) === null || _this$api40 === void 0 ? void 0 : (_this$api40$_impl = _this$api40._impl) === null || _this$api40$_impl === void 0 ? void 0 : _this$api40$_impl.settingsControlEnabled(shouldDisplay);
13379
13967
  _assertClassBrand(_WistiaPlayer_brand, this, _setSyncedEmbedOption).call(this, "settingsControl", shouldDisplay);
13380
13968
  }
13381
13969
  /**
@@ -13401,8 +13989,8 @@ var init_wistia_player = __esm({
13401
13989
  }, {
13402
13990
  key: "state",
13403
13991
  get: function get() {
13404
- var _this$api$state, _this$api40;
13405
- return (_this$api$state = (_this$api40 = this.api) === null || _this$api40 === void 0 ? void 0 : _this$api40.state()) !== null && _this$api$state !== void 0 ? _this$api$state : defaultEmbedOptions.state;
13992
+ var _this$api$state, _this$api41;
13993
+ return (_this$api$state = (_this$api41 = this.api) === null || _this$api41 === void 0 ? void 0 : _this$api41.state()) !== null && _this$api$state !== void 0 ? _this$api$state : defaultEmbedOptions.state;
13406
13994
  }
13407
13995
  /**
13408
13996
  * Returns the stats url for the player.
@@ -13488,12 +14076,12 @@ var init_wistia_player = __esm({
13488
14076
  }, {
13489
14077
  key: "videoQuality",
13490
14078
  get: function get() {
13491
- var _ref12, _this$api$_impl$getVi, _this$api41, _this$api41$_impl;
13492
- return (_ref12 = (_this$api$_impl$getVi = (_this$api41 = this.api) === null || _this$api41 === void 0 ? void 0 : (_this$api41$_impl = _this$api41._impl) === null || _this$api41$_impl === void 0 ? void 0 : _this$api41$_impl.getVideoQuality()) !== null && _this$api$_impl$getVi !== void 0 ? _this$api$_impl$getVi : this.embedOptions.videoQuality) !== null && _ref12 !== void 0 ? _ref12 : "auto";
14079
+ var _ref12, _this$api$_impl$getVi, _this$api42, _this$api42$_impl;
14080
+ return (_ref12 = (_this$api$_impl$getVi = (_this$api42 = this.api) === null || _this$api42 === void 0 ? void 0 : (_this$api42$_impl = _this$api42._impl) === null || _this$api42$_impl === void 0 ? void 0 : _this$api42$_impl.getVideoQuality()) !== null && _this$api$_impl$getVi !== void 0 ? _this$api$_impl$getVi : this.embedOptions.videoQuality) !== null && _ref12 !== void 0 ? _ref12 : "auto";
13493
14081
  },
13494
14082
  set: function set(quality) {
13495
- var _this$api42, _this$api42$_impl;
13496
- (_this$api42 = this.api) === null || _this$api42 === void 0 ? void 0 : (_this$api42$_impl = _this$api42._impl) === null || _this$api42$_impl === void 0 ? void 0 : _this$api42$_impl.setVideoQuality(quality);
14083
+ var _this$api43, _this$api43$_impl;
14084
+ (_this$api43 = this.api) === null || _this$api43 === void 0 ? void 0 : (_this$api43$_impl = _this$api43._impl) === null || _this$api43$_impl === void 0 ? void 0 : _this$api43$_impl.setVideoQuality(quality);
13497
14085
  _assertClassBrand(_WistiaPlayer_brand, this, _setSyncedEmbedOption).call(this, "videoQuality", quality);
13498
14086
  }
13499
14087
  /**
@@ -13506,8 +14094,8 @@ var init_wistia_player = __esm({
13506
14094
  return _assertClassBrand(_WistiaPlayer_brand, this, _getSyncedEmbedOption).call(this, "volume");
13507
14095
  },
13508
14096
  set: function set(level) {
13509
- var _this$api43, _this$api43$_impl;
13510
- (_this$api43 = this.api) === null || _this$api43 === void 0 ? void 0 : (_this$api43$_impl = _this$api43._impl) === null || _this$api43$_impl === void 0 ? void 0 : _this$api43$_impl.volume(level);
14097
+ var _this$api44, _this$api44$_impl;
14098
+ (_this$api44 = this.api) === null || _this$api44 === void 0 ? void 0 : (_this$api44$_impl = _this$api44._impl) === null || _this$api44$_impl === void 0 ? void 0 : _this$api44$_impl.volume(level);
13511
14099
  _assertClassBrand(_WistiaPlayer_brand, this, _setSyncedEmbedOption).call(this, "volume", level);
13512
14100
  }
13513
14101
  /**
@@ -13522,8 +14110,8 @@ var init_wistia_player = __esm({
13522
14110
  return _assertClassBrand(_WistiaPlayer_brand, this, _getSyncedEmbedOption).call(this, "volumeControl");
13523
14111
  },
13524
14112
  set: function set(shouldDisplay) {
13525
- var _this$api44, _this$api44$_impl;
13526
- (_this$api44 = this.api) === null || _this$api44 === void 0 ? void 0 : (_this$api44$_impl = _this$api44._impl) === null || _this$api44$_impl === void 0 ? void 0 : _this$api44$_impl.volumeControlEnabled(shouldDisplay);
14113
+ var _this$api45, _this$api45$_impl;
14114
+ (_this$api45 = this.api) === null || _this$api45 === void 0 ? void 0 : (_this$api45$_impl = _this$api45._impl) === null || _this$api45$_impl === void 0 ? void 0 : _this$api45$_impl.volumeControlEnabled(shouldDisplay);
13527
14115
  _assertClassBrand(_WistiaPlayer_brand, this, _setSyncedEmbedOption).call(this, "volumeControl", shouldDisplay);
13528
14116
  }
13529
14117
  /**
@@ -13584,26 +14172,20 @@ var init_wistia_player = __esm({
13584
14172
  key: "cancelFullscreen",
13585
14173
  value: function() {
13586
14174
  var _cancelFullscreen = _asyncToGenerator(/* @__PURE__ */ _regeneratorRuntime().mark(function _callee2() {
13587
- var _this$api47, _this$api47$_impl, _this4 = this;
13588
- var parent2, _this$api45, _this$api45$_impl, _this$api46, _this$api46$_impl;
14175
+ var _this$api46, _this$api46$_impl, _this4 = this;
14176
+ var parent2;
13589
14177
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
13590
14178
  while (1) switch (_context2.prev = _context2.next) {
13591
14179
  case 0:
13592
14180
  _classPrivateSetter(_WistiaPlayer_brand, _set_usingFullscreenContainer, this, false);
13593
14181
  parent2 = this.parentNode;
13594
- if ((0, _wistia_type_guards__WEBPACK_IMPORTED_MODULE_25__.n9)(this._fullscreenState.widthBeforeFullscreen)) {
14182
+ if ((0, _wistia_type_guards__WEBPACK_IMPORTED_MODULE_26__.n9)(this._fullscreenState.widthBeforeFullscreen)) {
13595
14183
  this.style.width = this._fullscreenState.widthBeforeFullscreen;
13596
- (_this$api45 = this.api) === null || _this$api45 === void 0 ? void 0 : (_this$api45$_impl = _this$api45._impl) === null || _this$api45$_impl === void 0 ? void 0 : _this$api45$_impl.width(parseFloat(this._fullscreenState.widthBeforeFullscreen), {
13597
- fullscreen: true
13598
- });
13599
14184
  }
13600
- if ((0, _wistia_type_guards__WEBPACK_IMPORTED_MODULE_25__.n9)(this._fullscreenState.heightBeforeFullscreen)) {
14185
+ if ((0, _wistia_type_guards__WEBPACK_IMPORTED_MODULE_26__.n9)(this._fullscreenState.heightBeforeFullscreen)) {
13601
14186
  this.style.height = this._fullscreenState.heightBeforeFullscreen;
13602
- (_this$api46 = this.api) === null || _this$api46 === void 0 ? void 0 : (_this$api46$_impl = _this$api46._impl) === null || _this$api46$_impl === void 0 ? void 0 : _this$api46$_impl.height(parseFloat(this._fullscreenState.heightBeforeFullscreen), {
13603
- fullscreen: true
13604
- });
13605
14187
  }
13606
- return _context2.abrupt("return", (_this$api47 = this.api) === null || _this$api47 === void 0 ? void 0 : (_this$api47$_impl = _this$api47._impl) === null || _this$api47$_impl === void 0 ? void 0 : _this$api47$_impl.cancelFullscreen().then(function() {
14188
+ return _context2.abrupt("return", (_this$api46 = this.api) === null || _this$api46 === void 0 ? void 0 : (_this$api46$_impl = _this$api46._impl) === null || _this$api46$_impl === void 0 ? void 0 : _this$api46$_impl.cancelFullscreen().then(function() {
13607
14189
  if (parent2.wistiaFullscreenContainer && !parent2.classList.contains("wistia_embed")) {
13608
14190
  parent2.replaceWith(_this4);
13609
14191
  }
@@ -13625,11 +14207,11 @@ var init_wistia_player = __esm({
13625
14207
  key: "createOverlay",
13626
14208
  value: function() {
13627
14209
  var _createOverlay = _asyncToGenerator(/* @__PURE__ */ _regeneratorRuntime().mark(function _callee3(name, options) {
13628
- var _this$api48, _this$api48$_impl;
14210
+ var _this$api47, _this$api47$_impl;
13629
14211
  return _regeneratorRuntime().wrap(function _callee3$(_context3) {
13630
14212
  while (1) switch (_context3.prev = _context3.next) {
13631
14213
  case 0:
13632
- if (!((_this$api48 = this.api) !== null && _this$api48 !== void 0 && (_this$api48$_impl = _this$api48._impl) !== null && _this$api48$_impl !== void 0 && _this$api48$_impl.defineOverlay)) {
14214
+ if (!((_this$api47 = this.api) !== null && _this$api47 !== void 0 && (_this$api47$_impl = _this$api47._impl) !== null && _this$api47$_impl !== void 0 && _this$api47$_impl.defineOverlay)) {
13633
14215
  _context3.next = 2;
13634
14216
  break;
13635
14217
  }
@@ -13681,7 +14263,7 @@ var init_wistia_player = __esm({
13681
14263
  case 3:
13682
14264
  return _context5.abrupt("return", new Promise(function(resolve, reject) {
13683
14265
  var _handler = function handler() {
13684
- _this5.removeEventListener(_utilities_eventConstants_ts__WEBPACK_IMPORTED_MODULE_26__.c5, _handler);
14266
+ _this5.removeEventListener(_utilities_eventConstants_ts__WEBPACK_IMPORTED_MODULE_27__.c5, _handler);
13685
14267
  addPlugin().then(function(plugin) {
13686
14268
  return resolve(plugin);
13687
14269
  }).catch(function(err) {
@@ -13692,7 +14274,7 @@ var init_wistia_player = __esm({
13692
14274
  }
13693
14275
  });
13694
14276
  };
13695
- _this5.addEventListener(_utilities_eventConstants_ts__WEBPACK_IMPORTED_MODULE_26__.c5, _handler);
14277
+ _this5.addEventListener(_utilities_eventConstants_ts__WEBPACK_IMPORTED_MODULE_27__.c5, _handler);
13696
14278
  }));
13697
14279
  case 4:
13698
14280
  case "end":
@@ -13709,11 +14291,11 @@ var init_wistia_player = __esm({
13709
14291
  key: "deleteOverlay",
13710
14292
  value: function() {
13711
14293
  var _deleteOverlay = _asyncToGenerator(/* @__PURE__ */ _regeneratorRuntime().mark(function _callee6(name) {
13712
- var _this$api49, _this$api49$_impl;
14294
+ var _this$api48, _this$api48$_impl;
13713
14295
  return _regeneratorRuntime().wrap(function _callee6$(_context6) {
13714
14296
  while (1) switch (_context6.prev = _context6.next) {
13715
14297
  case 0:
13716
- if (!((_this$api49 = this.api) !== null && _this$api49 !== void 0 && (_this$api49$_impl = _this$api49._impl) !== null && _this$api49$_impl !== void 0 && _this$api49$_impl.undefineOverlay)) {
14298
+ if (!((_this$api48 = this.api) !== null && _this$api48 !== void 0 && (_this$api48$_impl = _this$api48._impl) !== null && _this$api48$_impl !== void 0 && _this$api48$_impl.undefineOverlay)) {
13717
14299
  _context6.next = 2;
13718
14300
  break;
13719
14301
  }
@@ -13735,11 +14317,11 @@ var init_wistia_player = __esm({
13735
14317
  key: "disableControl",
13736
14318
  value: function() {
13737
14319
  var _disableControl = _asyncToGenerator(/* @__PURE__ */ _regeneratorRuntime().mark(function _callee7(name) {
13738
- var _this$api50, _this$api50$_impl;
14320
+ var _this$api49, _this$api49$_impl;
13739
14321
  return _regeneratorRuntime().wrap(function _callee7$(_context7) {
13740
14322
  while (1) switch (_context7.prev = _context7.next) {
13741
14323
  case 0:
13742
- if (!((_this$api50 = this.api) !== null && _this$api50 !== void 0 && (_this$api50$_impl = _this$api50._impl) !== null && _this$api50$_impl !== void 0 && _this$api50$_impl.setControlEnabled)) {
14324
+ if (!((_this$api49 = this.api) !== null && _this$api49 !== void 0 && (_this$api49$_impl = _this$api49._impl) !== null && _this$api49$_impl !== void 0 && _this$api49$_impl.setControlEnabled)) {
13743
14325
  _context7.next = 2;
13744
14326
  break;
13745
14327
  }
@@ -13761,11 +14343,11 @@ var init_wistia_player = __esm({
13761
14343
  key: "enableControl",
13762
14344
  value: function() {
13763
14345
  var _enableControl = _asyncToGenerator(/* @__PURE__ */ _regeneratorRuntime().mark(function _callee8(name) {
13764
- var _this$api51, _this$api51$_impl;
14346
+ var _this$api50, _this$api50$_impl;
13765
14347
  return _regeneratorRuntime().wrap(function _callee8$(_context8) {
13766
14348
  while (1) switch (_context8.prev = _context8.next) {
13767
14349
  case 0:
13768
- if (!((_this$api51 = this.api) !== null && _this$api51 !== void 0 && (_this$api51$_impl = _this$api51._impl) !== null && _this$api51$_impl !== void 0 && _this$api51$_impl.setControlEnabled)) {
14350
+ if (!((_this$api50 = this.api) !== null && _this$api50 !== void 0 && (_this$api50$_impl = _this$api50._impl) !== null && _this$api50$_impl !== void 0 && _this$api50$_impl.setControlEnabled)) {
13769
14351
  _context8.next = 2;
13770
14352
  break;
13771
14353
  }
@@ -13812,11 +14394,11 @@ var init_wistia_player = __esm({
13812
14394
  key: "hideOverlay",
13813
14395
  value: function() {
13814
14396
  var _hideOverlay = _asyncToGenerator(/* @__PURE__ */ _regeneratorRuntime().mark(function _callee10(name) {
13815
- var _this$api52, _this$api52$_impl;
14397
+ var _this$api51, _this$api51$_impl;
13816
14398
  return _regeneratorRuntime().wrap(function _callee10$(_context10) {
13817
14399
  while (1) switch (_context10.prev = _context10.next) {
13818
14400
  case 0:
13819
- if (!((_this$api52 = this.api) !== null && _this$api52 !== void 0 && (_this$api52$_impl = _this$api52._impl) !== null && _this$api52$_impl !== void 0 && _this$api52$_impl.cancelOverlay)) {
14401
+ if (!((_this$api51 = this.api) !== null && _this$api51 !== void 0 && (_this$api51$_impl = _this$api51._impl) !== null && _this$api51$_impl !== void 0 && _this$api51$_impl.cancelOverlay)) {
13820
14402
  _context10.next = 2;
13821
14403
  break;
13822
14404
  }
@@ -13865,11 +14447,11 @@ var init_wistia_player = __esm({
13865
14447
  key: "pause",
13866
14448
  value: function() {
13867
14449
  var _pause = _asyncToGenerator(/* @__PURE__ */ _regeneratorRuntime().mark(function _callee12() {
13868
- var _this$api53, _this$api53$_impl;
14450
+ var _this$api52, _this$api52$_impl;
13869
14451
  return _regeneratorRuntime().wrap(function _callee12$(_context12) {
13870
14452
  while (1) switch (_context12.prev = _context12.next) {
13871
14453
  case 0:
13872
- return _context12.abrupt("return", (_this$api53 = this.api) === null || _this$api53 === void 0 ? void 0 : (_this$api53$_impl = _this$api53._impl) === null || _this$api53$_impl === void 0 ? void 0 : _this$api53$_impl.pause());
14454
+ return _context12.abrupt("return", (_this$api52 = this.api) === null || _this$api52 === void 0 ? void 0 : (_this$api52$_impl = _this$api52._impl) === null || _this$api52$_impl === void 0 ? void 0 : _this$api52$_impl.pause());
13873
14455
  case 1:
13874
14456
  case "end":
13875
14457
  return _context12.stop();
@@ -13885,11 +14467,11 @@ var init_wistia_player = __esm({
13885
14467
  key: "play",
13886
14468
  value: function() {
13887
14469
  var _play = _asyncToGenerator(/* @__PURE__ */ _regeneratorRuntime().mark(function _callee13() {
13888
- var _this$api54, _this$api54$_impl;
14470
+ var _this$api53, _this$api53$_impl;
13889
14471
  return _regeneratorRuntime().wrap(function _callee13$(_context13) {
13890
14472
  while (1) switch (_context13.prev = _context13.next) {
13891
14473
  case 0:
13892
- return _context13.abrupt("return", (_this$api54 = this.api) === null || _this$api54 === void 0 ? void 0 : (_this$api54$_impl = _this$api54._impl) === null || _this$api54$_impl === void 0 ? void 0 : _this$api54$_impl.play());
14474
+ return _context13.abrupt("return", (_this$api53 = this.api) === null || _this$api53 === void 0 ? void 0 : (_this$api53$_impl = _this$api53._impl) === null || _this$api53$_impl === void 0 ? void 0 : _this$api53$_impl.play());
13893
14475
  case 1:
13894
14476
  case "end":
13895
14477
  return _context13.stop();
@@ -13905,11 +14487,11 @@ var init_wistia_player = __esm({
13905
14487
  key: "releaseControls",
13906
14488
  value: function() {
13907
14489
  var _releaseControls = _asyncToGenerator(/* @__PURE__ */ _regeneratorRuntime().mark(function _callee14(name) {
13908
- var _this$api55, _this$api55$_impl;
14490
+ var _this$api54, _this$api54$_impl;
13909
14491
  return _regeneratorRuntime().wrap(function _callee14$(_context14) {
13910
14492
  while (1) switch (_context14.prev = _context14.next) {
13911
14493
  case 0:
13912
- return _context14.abrupt("return", (_this$api55 = this.api) === null || _this$api55 === void 0 ? void 0 : (_this$api55$_impl = _this$api55._impl) === null || _this$api55$_impl === void 0 ? void 0 : _this$api55$_impl.releaseControls(name));
14494
+ return _context14.abrupt("return", (_this$api54 = this.api) === null || _this$api54 === void 0 ? void 0 : (_this$api54$_impl = _this$api54._impl) === null || _this$api54$_impl === void 0 ? void 0 : _this$api54$_impl.releaseControls(name));
13913
14495
  case 1:
13914
14496
  case "end":
13915
14497
  return _context14.stop();
@@ -13937,13 +14519,13 @@ var init_wistia_player = __esm({
13937
14519
  reject(new Error("api not ready to replace"));
13938
14520
  }
13939
14521
  var _handler2 = function handler() {
13940
- _this7.removeEventListener(_utilities_eventConstants_ts__WEBPACK_IMPORTED_MODULE_26__.$1, _handler2);
14522
+ _this7.removeEventListener(_utilities_eventConstants_ts__WEBPACK_IMPORTED_MODULE_27__.$1, _handler2);
13941
14523
  _this7.mediaId = mediaId;
13942
14524
  _this7.uniqueId = _assertClassBrand(_WistiaPlayer_brand, _this7, _generateUniqueId).call(_this7, mediaId);
13943
14525
  _assertClassBrand(_WistiaPlayer_brand, _this7, _maybeInjectJsonLd).call(_this7);
13944
14526
  resolve();
13945
14527
  };
13946
- _this7.addEventListener(_utilities_eventConstants_ts__WEBPACK_IMPORTED_MODULE_26__.$1, _handler2);
14528
+ _this7.addEventListener(_utilities_eventConstants_ts__WEBPACK_IMPORTED_MODULE_27__.$1, _handler2);
13947
14529
  (0, _utilities_injectJsonLd_js__WEBPACK_IMPORTED_MODULE_21__.Z)(_classPrivateFieldGet(_jsonLdId, _this7));
13948
14530
  (_this7$api = _this7.api) === null || _this7$api === void 0 ? void 0 : _this7$api.replaceWith(mediaId, options);
13949
14531
  }));
@@ -13962,11 +14544,11 @@ var init_wistia_player = __esm({
13962
14544
  key: "requestControls",
13963
14545
  value: function() {
13964
14546
  var _requestControls = _asyncToGenerator(/* @__PURE__ */ _regeneratorRuntime().mark(function _callee16(name) {
13965
- var _this$api56, _this$api56$_impl;
14547
+ var _this$api55, _this$api55$_impl;
13966
14548
  return _regeneratorRuntime().wrap(function _callee16$(_context16) {
13967
14549
  while (1) switch (_context16.prev = _context16.next) {
13968
14550
  case 0:
13969
- return _context16.abrupt("return", (_this$api56 = this.api) === null || _this$api56 === void 0 ? void 0 : (_this$api56$_impl = _this$api56._impl) === null || _this$api56$_impl === void 0 ? void 0 : _this$api56$_impl.requestControls(name));
14551
+ return _context16.abrupt("return", (_this$api55 = this.api) === null || _this$api55 === void 0 ? void 0 : (_this$api55$_impl = _this$api55._impl) === null || _this$api55$_impl === void 0 ? void 0 : _this$api55$_impl.requestControls(name));
13970
14552
  case 1:
13971
14553
  case "end":
13972
14554
  return _context16.stop();
@@ -13982,7 +14564,7 @@ var init_wistia_player = __esm({
13982
14564
  key: "requestFullscreen",
13983
14565
  value: function() {
13984
14566
  var _requestFullscreen = _asyncToGenerator(/* @__PURE__ */ _regeneratorRuntime().mark(function _callee17() {
13985
- var _this$api57, _this$api57$_impl, _this8 = this;
14567
+ var _this$api56, _this$api56$_impl, _this8 = this;
13986
14568
  var parent2, wrapper;
13987
14569
  return _regeneratorRuntime().wrap(function _callee17$(_context17) {
13988
14570
  while (1) switch (_context17.prev = _context17.next) {
@@ -14000,7 +14582,7 @@ var init_wistia_player = __esm({
14000
14582
  }
14001
14583
  this._fullscreenState.heightBeforeFullscreen = this.style.height;
14002
14584
  this._fullscreenState.widthBeforeFullscreen = this.style.width;
14003
- return _context17.abrupt("return", (_this$api57 = this.api) === null || _this$api57 === void 0 ? void 0 : (_this$api57$_impl = _this$api57._impl) === null || _this$api57$_impl === void 0 ? void 0 : _this$api57$_impl.requestFullscreen().then(function() {
14585
+ return _context17.abrupt("return", (_this$api56 = this.api) === null || _this$api56 === void 0 ? void 0 : (_this$api56$_impl = _this$api56._impl) === null || _this$api56$_impl === void 0 ? void 0 : _this$api56$_impl.requestFullscreen().then(function() {
14004
14586
  var _this8$api;
14005
14587
  _this8.style.width = "100%";
14006
14588
  _this8.style.height = "100%";
@@ -14024,11 +14606,11 @@ var init_wistia_player = __esm({
14024
14606
  key: "showOverlay",
14025
14607
  value: function() {
14026
14608
  var _showOverlay = _asyncToGenerator(/* @__PURE__ */ _regeneratorRuntime().mark(function _callee18(name) {
14027
- var _this$api58, _this$api58$_impl;
14609
+ var _this$api57, _this$api57$_impl;
14028
14610
  return _regeneratorRuntime().wrap(function _callee18$(_context18) {
14029
14611
  while (1) switch (_context18.prev = _context18.next) {
14030
14612
  case 0:
14031
- if (!((_this$api58 = this.api) !== null && _this$api58 !== void 0 && (_this$api58$_impl = _this$api58._impl) !== null && _this$api58$_impl !== void 0 && _this$api58$_impl.requestOverlay)) {
14613
+ if (!((_this$api57 = this.api) !== null && _this$api57 !== void 0 && (_this$api57$_impl = _this$api57._impl) !== null && _this$api57$_impl !== void 0 && _this$api57$_impl.requestOverlay)) {
14032
14614
  _context18.next = 2;
14033
14615
  break;
14034
14616
  }
@@ -14101,7 +14683,7 @@ var init_wistia_player = __esm({
14101
14683
  }, {
14102
14684
  key: "connectedCallback",
14103
14685
  value: function connectedCallback() {
14104
- var _Wistia$_inlineMediaD, _window$wistiaOptions, _this10 = this, _this$embedHost;
14686
+ var _window$wistiaOptions, _this10 = this, _this$embedHost;
14105
14687
  if (_classPrivateFieldGet(_hasElementConnectedToDOM, this)) {
14106
14688
  return;
14107
14689
  }
@@ -14110,9 +14692,6 @@ var init_wistia_player = __esm({
14110
14692
  (0, _utilities_simpleMetrics_js__WEBPACK_IMPORTED_MODULE_14__.WO)("player/failure/init-failed");
14111
14693
  throw new Error("media-id attribute is required");
14112
14694
  }
14113
- if ((_Wistia$_inlineMediaD = _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_1__.s._inlineMediaData) !== null && _Wistia$_inlineMediaD !== void 0 && _Wistia$_inlineMediaD[this.mediaId]) {
14114
- _classPrivateFieldGet(_playerData, this).setInlineMediaDataSource(_wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_1__.s._inlineMediaData[this.mediaId]);
14115
- }
14116
14695
  window.wistiaOptions = (_window$wistiaOptions = window.wistiaOptions) !== null && _window$wistiaOptions !== void 0 ? _window$wistiaOptions : {};
14117
14696
  var opts = (0, _utilities_wistiaOptions_ts__WEBPACK_IMPORTED_MODULE_18__.C)(this.mediaId);
14118
14697
  _classPrivateFieldGet(_playerData, this).setWistiaWindowEmbedOptionSource(opts);
@@ -14135,7 +14714,7 @@ var init_wistia_player = __esm({
14135
14714
  (0, _utilities_getInitialMediaData_ts__WEBPACK_IMPORTED_MODULE_22__.n)(mediaId, {
14136
14715
  embedHost: (_this$embedHost = this.embedHost) !== null && _this$embedHost !== void 0 ? _this$embedHost : ""
14137
14716
  }).then(function(mediaData) {
14138
- _classPrivateFieldGet(_playerData, _this10).setServerMediaDataSource(mediaData);
14717
+ _classPrivateFieldGet(_playerData, _this10).setMediaDataSource(mediaData);
14139
14718
  _assertClassBrand(_WistiaPlayer_brand, _this10, _initPlayerEmbed).call(_this10, {
14140
14719
  container: _this10.uniqueId,
14141
14720
  mediaData: _classPrivateFieldGet(_playerData, _this10).mediaData
@@ -14146,7 +14725,7 @@ var init_wistia_player = __esm({
14146
14725
  });
14147
14726
  if (this.shadowRoot) {
14148
14727
  var _ref14;
14149
- _classPrivateFieldSet(_preloadAspectRatio, this, (_ref14 = _assertClassBrand(_WistiaPlayer_brand, this, _getValueFromAttribute).call(this, "aspect")) !== null && _ref14 !== void 0 ? _ref14 : _utilities_constants_ts__WEBPACK_IMPORTED_MODULE_24__.R);
14728
+ _classPrivateFieldSet(_preloadAspectRatio, this, (_ref14 = _assertClassBrand(_WistiaPlayer_brand, this, _getValueFromAttribute).call(this, "aspect")) !== null && _ref14 !== void 0 ? _ref14 : _utilities_constants_ts__WEBPACK_IMPORTED_MODULE_25__.R);
14150
14729
  _classPrivateFieldSet(_preactRoot, this, document.createElement("div"));
14151
14730
  _assertClassBrand(_WistiaPlayer_brand, this, _renderEmbedTemplate).call(this);
14152
14731
  this.shadowRoot.insertBefore(_classPrivateFieldGet(_preactRoot, this), this.shadowRoot.firstChild);
@@ -14161,6 +14740,7 @@ var init_wistia_player = __esm({
14161
14740
  return removeListener();
14162
14741
  });
14163
14742
  (0, _utilities_injectJsonLd_js__WEBPACK_IMPORTED_MODULE_21__.Z)(_classPrivateFieldGet(_jsonLdId, this));
14743
+ (0, _utilities_remote_data_cache_ts__WEBPACK_IMPORTED_MODULE_23__.s3)(this.mediaId);
14164
14744
  (_classPrivateFieldGet8 = _classPrivateFieldGet(_resizeObserver, this)) === null || _classPrivateFieldGet8 === void 0 ? void 0 : _classPrivateFieldGet8.disconnect();
14165
14745
  _classPrivateFieldSet(_resizeObserver, this, null);
14166
14746
  }