@platform-x/hcltechx-mfe-wrapper 1.0.20 → 1.0.21
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.
- package/{ArticleVodListComponent-CHnqag9b.mjs → ArticleVodListComponent-BQoHiiKQ.mjs} +2 -2
- package/{ChallengeDetailComponent-BmeP6FZ1.mjs → ChallengeDetailComponent-CTXOkTDi.mjs} +3 -3
- package/{ChallengeSliderComponent-CPdxf7-q.mjs → ChallengeSliderComponent-CAcMNlqM.mjs} +3 -3
- package/{CommonContentComponent-8JPy8nJ6.mjs → CommonContentComponent-GDoe3quI.mjs} +3 -3
- package/{DailyMotion-D8UIGIEl.mjs → DailyMotion-DooEv23f.mjs} +2 -2
- package/{EngagementHomeComponent-CVGzWcc7.mjs → EngagementHomeComponent-0FR59glv.mjs} +3 -3
- package/{EventDetailComponent-tRaFnwYj.mjs → EventDetailComponent-B2ce5Inr.mjs} +3 -3
- package/{EventListComponent-CKLSWeDv.mjs → EventListComponent-B9ESwYEK.mjs} +3 -3
- package/{Facebook-BLCOUjfZ.mjs → Facebook-Ddts7n8c.mjs} +4 -4
- package/{FilePlayer-D68wVaHK.mjs → FilePlayer-N6K4OsOh.mjs} +8 -8
- package/{IndividualChallengeComponent-gUfQv-rL.mjs → IndividualChallengeComponent-o7jJX3FB.mjs} +3 -3
- package/{Kaltura-PX7BhLfz.mjs → Kaltura-DGdbSKVx.mjs} +3 -3
- package/{Mixcloud-B7Af0Mn0.mjs → Mixcloud-MVWAMQDg.mjs} +2 -2
- package/{Mux-1HZ1W-lE.mjs → Mux-BnTfpN-K.mjs} +7 -7
- package/PageComponent-CKrjcuSx.mjs +64 -0
- package/{Preview-nCs4zsNM.mjs → Preview-DzLPSp_r.mjs} +6 -6
- package/{RecentCarousel-B42bOjYP.mjs → RecentCarousel-Cl86PKoA.mjs} +2 -2
- package/{Share-B0TMKNSe.mjs → Share-D0aSQ9zk.mjs} +2 -2
- package/{SoundCloud-EUx8hlx1.mjs → SoundCloud-CyoxvKoN.mjs} +10 -10
- package/{Streamable-By-i7qcF.mjs → Streamable-mIh-PEmg.mjs} +2 -2
- package/{ToggleButton--p_geS1j.mjs → ToggleButton-DCe4d9MJ.mjs} +31 -31
- package/{Twitch-CJ3aP-xV.mjs → Twitch-BOWa3Tr1.mjs} +2 -2
- package/{Vidyard-DXacKBYx.mjs → Vidyard-qNmM07ku.mjs} +7 -7
- package/{Vimeo-B6cLX7vD.mjs → Vimeo-CCvDAdIG.mjs} +2 -2
- package/{Wistia-DtFJL0ep.mjs → Wistia-shaJ3dVi.mjs} +5 -5
- package/{YouTube-i5y4gwEO.mjs → YouTube-B-4Esa0L.mjs} +2 -2
- package/{index-Cs-Nr3u2.mjs → index-CeTmWGyC.mjs} +1562 -1521
- package/{index-CPQ9TrZQ.mjs → index-Di95Ywjp.mjs} +2 -2
- package/index.mjs +1 -1
- package/lib/utils/constants.d.ts +1 -0
- package/lib/utils/helper.d.ts +1 -0
- package/{mutateApi-D7sw1yK3.mjs → mutateApi-CRYclteK.mjs} +1 -1
- package/package.json +1 -1
- package/PageComponent-BSP0QUvr.mjs +0 -97
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import require$$2$2, { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
import React__default, { Children, isValidElement, cloneElement, createContext as createContext$1, useState, lazy as lazy$2, useRef, useEffect, Fragment as Fragment$1, Suspense, Component, useContext as useContext$2, useMemo, useCallback, useLayoutEffect } from "react";
|
|
4
|
-
import {
|
|
4
|
+
import { p as chainPropTypes, P as PropTypes, q as Global, r as styled$1, t as styleFunctionSx, v as useTheme, w as extendSxProp, h as _objectWithoutPropertiesLoose$1, _ as _extends$3, i as clsx, x as createStyled, y as createTheme, z as capitalize, A as useThemeProps, j as composeClasses, d as generateUtilityClass, B as exactProp, g as generateUtilityClasses, e as styled$2, l as alpha, u as useThemeProps$1, o as useTheme$1, C as ClassNameGenerator, D as requirePropFactory, E as duration, H as reactIsExports$1, k as keyframes, I as useTheme$2, J as defaultTheme$2, K as formatMuiErrorMessage, L as createTheme$1, M as rootShouldForwardProp, N as resolveProps, O as deepmerge$1, Q as getThemeProps, m as css$1, R as lighten, S as darken, T as getPath, U as slotShouldForwardProp, V as handleBreakpoints, W as resolveBreakpointValues, X as createUnarySpacing, Y as getValue, Z as nested, $ as getDisplayName, a0 as useTheme$3, G as Grid, a1 as getAugmentedNamespace, a2 as commonjsGlobal$2, n as getDefaultExportFromCjs, a3 as hoistStatics, a4 as CircularProgress, a5 as propTypesExports, a6 as toast, a7 as green } from "./index-CeTmWGyC.mjs";
|
|
5
5
|
import * as ReactDOM from "react-dom";
|
|
6
6
|
import ReactDOM__default, { flushSync } from "react-dom";
|
|
7
7
|
function isClassComponent$1(i) {
|
|
@@ -16963,11 +16963,11 @@ const breakpoints$1 = [
|
|
|
16963
16963
|
eventList: "eventlist",
|
|
16964
16964
|
challenge: "challenges",
|
|
16965
16965
|
wellnessevent: "wellnessevent",
|
|
16966
|
-
gcpUrl: "https://
|
|
16967
|
-
bucketName: "
|
|
16966
|
+
gcpUrl: "https://s3.ap-south-1.amazonaws.com",
|
|
16967
|
+
bucketName: "cropped-image-public",
|
|
16968
16968
|
engagementHome: "engagementhome",
|
|
16969
|
-
host: "
|
|
16970
|
-
graphqlEndpoint: "https://
|
|
16969
|
+
host: "px-qa.hclhealthcare.in",
|
|
16970
|
+
graphqlEndpoint: "https://px-api.hclhealthcare.in/platform-x-publish/v1/publish/gateway"
|
|
16971
16971
|
};
|
|
16972
16972
|
function _typeof$5(i) {
|
|
16973
16973
|
"@babel/helpers - typeof";
|
|
@@ -20441,7 +20441,7 @@ const useCustomStyle$W = makeStyles(() => {
|
|
|
20441
20441
|
}
|
|
20442
20442
|
}
|
|
20443
20443
|
};
|
|
20444
|
-
}), Share$4 = lazy$2(() => import("./Share-
|
|
20444
|
+
}), Share$4 = lazy$2(() => import("./Share-D0aSQ9zk.mjs")), RecentCarousel$1 = lazy$2(() => import("./RecentCarousel-Cl86PKoA.mjs")), Article = ({
|
|
20445
20445
|
content: i = {},
|
|
20446
20446
|
analytics: n,
|
|
20447
20447
|
authoringHelper: r,
|
|
@@ -206792,7 +206792,7 @@ var players = __toCommonJS$4(players_exports), import_utils$2 = utils$2, import_
|
|
|
206792
206792
|
canPlay: import_patterns.canPlay.youtube,
|
|
206793
206793
|
lazyPlayer: (0, import_utils$2.lazy)(() => import(
|
|
206794
206794
|
/* webpackChunkName: 'reactPlayerYouTube' */
|
|
206795
|
-
"./YouTube-
|
|
206795
|
+
"./YouTube-B-4Esa0L.mjs"
|
|
206796
206796
|
).then((i) => i.Y))
|
|
206797
206797
|
},
|
|
206798
206798
|
{
|
|
@@ -206801,7 +206801,7 @@ var players = __toCommonJS$4(players_exports), import_utils$2 = utils$2, import_
|
|
|
206801
206801
|
canPlay: import_patterns.canPlay.soundcloud,
|
|
206802
206802
|
lazyPlayer: (0, import_utils$2.lazy)(() => import(
|
|
206803
206803
|
/* webpackChunkName: 'reactPlayerSoundCloud' */
|
|
206804
|
-
"./SoundCloud-
|
|
206804
|
+
"./SoundCloud-CyoxvKoN.mjs"
|
|
206805
206805
|
).then((i) => i.S))
|
|
206806
206806
|
},
|
|
206807
206807
|
{
|
|
@@ -206810,7 +206810,7 @@ var players = __toCommonJS$4(players_exports), import_utils$2 = utils$2, import_
|
|
|
206810
206810
|
canPlay: import_patterns.canPlay.vimeo,
|
|
206811
206811
|
lazyPlayer: (0, import_utils$2.lazy)(() => import(
|
|
206812
206812
|
/* webpackChunkName: 'reactPlayerVimeo' */
|
|
206813
|
-
"./Vimeo-
|
|
206813
|
+
"./Vimeo-CCvDAdIG.mjs"
|
|
206814
206814
|
).then((i) => i.V))
|
|
206815
206815
|
},
|
|
206816
206816
|
{
|
|
@@ -206819,7 +206819,7 @@ var players = __toCommonJS$4(players_exports), import_utils$2 = utils$2, import_
|
|
|
206819
206819
|
canPlay: import_patterns.canPlay.mux,
|
|
206820
206820
|
lazyPlayer: (0, import_utils$2.lazy)(() => import(
|
|
206821
206821
|
/* webpackChunkName: 'reactPlayerMux' */
|
|
206822
|
-
"./Mux-
|
|
206822
|
+
"./Mux-BnTfpN-K.mjs"
|
|
206823
206823
|
).then((i) => i.M))
|
|
206824
206824
|
},
|
|
206825
206825
|
{
|
|
@@ -206828,7 +206828,7 @@ var players = __toCommonJS$4(players_exports), import_utils$2 = utils$2, import_
|
|
|
206828
206828
|
canPlay: import_patterns.canPlay.facebook,
|
|
206829
206829
|
lazyPlayer: (0, import_utils$2.lazy)(() => import(
|
|
206830
206830
|
/* webpackChunkName: 'reactPlayerFacebook' */
|
|
206831
|
-
"./Facebook-
|
|
206831
|
+
"./Facebook-Ddts7n8c.mjs"
|
|
206832
206832
|
).then((i) => i.F))
|
|
206833
206833
|
},
|
|
206834
206834
|
{
|
|
@@ -206837,7 +206837,7 @@ var players = __toCommonJS$4(players_exports), import_utils$2 = utils$2, import_
|
|
|
206837
206837
|
canPlay: import_patterns.canPlay.streamable,
|
|
206838
206838
|
lazyPlayer: (0, import_utils$2.lazy)(() => import(
|
|
206839
206839
|
/* webpackChunkName: 'reactPlayerStreamable' */
|
|
206840
|
-
"./Streamable-
|
|
206840
|
+
"./Streamable-mIh-PEmg.mjs"
|
|
206841
206841
|
).then((i) => i.S))
|
|
206842
206842
|
},
|
|
206843
206843
|
{
|
|
@@ -206846,7 +206846,7 @@ var players = __toCommonJS$4(players_exports), import_utils$2 = utils$2, import_
|
|
|
206846
206846
|
canPlay: import_patterns.canPlay.wistia,
|
|
206847
206847
|
lazyPlayer: (0, import_utils$2.lazy)(() => import(
|
|
206848
206848
|
/* webpackChunkName: 'reactPlayerWistia' */
|
|
206849
|
-
"./Wistia-
|
|
206849
|
+
"./Wistia-shaJ3dVi.mjs"
|
|
206850
206850
|
).then((i) => i.W))
|
|
206851
206851
|
},
|
|
206852
206852
|
{
|
|
@@ -206855,7 +206855,7 @@ var players = __toCommonJS$4(players_exports), import_utils$2 = utils$2, import_
|
|
|
206855
206855
|
canPlay: import_patterns.canPlay.twitch,
|
|
206856
206856
|
lazyPlayer: (0, import_utils$2.lazy)(() => import(
|
|
206857
206857
|
/* webpackChunkName: 'reactPlayerTwitch' */
|
|
206858
|
-
"./Twitch-
|
|
206858
|
+
"./Twitch-BOWa3Tr1.mjs"
|
|
206859
206859
|
).then((i) => i.T))
|
|
206860
206860
|
},
|
|
206861
206861
|
{
|
|
@@ -206864,7 +206864,7 @@ var players = __toCommonJS$4(players_exports), import_utils$2 = utils$2, import_
|
|
|
206864
206864
|
canPlay: import_patterns.canPlay.dailymotion,
|
|
206865
206865
|
lazyPlayer: (0, import_utils$2.lazy)(() => import(
|
|
206866
206866
|
/* webpackChunkName: 'reactPlayerDailyMotion' */
|
|
206867
|
-
"./DailyMotion-
|
|
206867
|
+
"./DailyMotion-DooEv23f.mjs"
|
|
206868
206868
|
).then((i) => i.D))
|
|
206869
206869
|
},
|
|
206870
206870
|
{
|
|
@@ -206873,7 +206873,7 @@ var players = __toCommonJS$4(players_exports), import_utils$2 = utils$2, import_
|
|
|
206873
206873
|
canPlay: import_patterns.canPlay.mixcloud,
|
|
206874
206874
|
lazyPlayer: (0, import_utils$2.lazy)(() => import(
|
|
206875
206875
|
/* webpackChunkName: 'reactPlayerMixcloud' */
|
|
206876
|
-
"./Mixcloud-
|
|
206876
|
+
"./Mixcloud-MVWAMQDg.mjs"
|
|
206877
206877
|
).then((i) => i.M))
|
|
206878
206878
|
},
|
|
206879
206879
|
{
|
|
@@ -206882,7 +206882,7 @@ var players = __toCommonJS$4(players_exports), import_utils$2 = utils$2, import_
|
|
|
206882
206882
|
canPlay: import_patterns.canPlay.vidyard,
|
|
206883
206883
|
lazyPlayer: (0, import_utils$2.lazy)(() => import(
|
|
206884
206884
|
/* webpackChunkName: 'reactPlayerVidyard' */
|
|
206885
|
-
"./Vidyard-
|
|
206885
|
+
"./Vidyard-qNmM07ku.mjs"
|
|
206886
206886
|
).then((i) => i.V))
|
|
206887
206887
|
},
|
|
206888
206888
|
{
|
|
@@ -206891,7 +206891,7 @@ var players = __toCommonJS$4(players_exports), import_utils$2 = utils$2, import_
|
|
|
206891
206891
|
canPlay: import_patterns.canPlay.kaltura,
|
|
206892
206892
|
lazyPlayer: (0, import_utils$2.lazy)(() => import(
|
|
206893
206893
|
/* webpackChunkName: 'reactPlayerKaltura' */
|
|
206894
|
-
"./Kaltura-
|
|
206894
|
+
"./Kaltura-DGdbSKVx.mjs"
|
|
206895
206895
|
).then((i) => i.K))
|
|
206896
206896
|
},
|
|
206897
206897
|
{
|
|
@@ -206901,7 +206901,7 @@ var players = __toCommonJS$4(players_exports), import_utils$2 = utils$2, import_
|
|
|
206901
206901
|
canEnablePIP: (i) => import_patterns.canPlay.file(i) && (document.pictureInPictureEnabled || (0, import_utils$2.supportsWebKitPresentationMode)()) && !import_patterns.AUDIO_EXTENSIONS.test(i),
|
|
206902
206902
|
lazyPlayer: (0, import_utils$2.lazy)(() => import(
|
|
206903
206903
|
/* webpackChunkName: 'reactPlayerFilePlayer' */
|
|
206904
|
-
"./FilePlayer-
|
|
206904
|
+
"./FilePlayer-N6K4OsOh.mjs"
|
|
206905
206905
|
).then((i) => i.F))
|
|
206906
206906
|
}
|
|
206907
206907
|
], safeIsNaN = Number.isNaN || function i(n) {
|
|
@@ -207397,7 +207397,7 @@ __export$1(ReactPlayer_exports, {
|
|
|
207397
207397
|
var ReactPlayer$1 = __toCommonJS$1(ReactPlayer_exports), import_react = __toESM$1(React__default), import_deepmerge = __toESM$1(cjs), import_memoize_one = __toESM$1(require$$2), import_react_fast_compare = __toESM$1(reactFastCompare), import_props = props, import_utils = utils$2, import_Player = __toESM$1(Player_1);
|
|
207398
207398
|
const Preview = (0, import_utils.lazy)(() => import(
|
|
207399
207399
|
/* webpackChunkName: 'reactPlayerPreview' */
|
|
207400
|
-
"./Preview-
|
|
207400
|
+
"./Preview-DzLPSp_r.mjs"
|
|
207401
207401
|
).then((i) => i.P)), IS_BROWSER = typeof window < "u" && window.document && typeof document < "u", IS_GLOBAL = typeof commonjsGlobal$2 < "u" && commonjsGlobal$2.window && commonjsGlobal$2.window.document, SUPPORTED_PROPS = Object.keys(import_props.propTypes), UniversalSuspense = IS_BROWSER || IS_GLOBAL ? import_react.Suspense : () => null, customPlayers = [], createReactPlayer = (i, n) => {
|
|
207402
207402
|
var r;
|
|
207403
207403
|
return r = class extends import_react.Component {
|
|
@@ -212838,7 +212838,7 @@ const SingleQuestion$1 = ({ data: i = [], callBack: n }) => {
|
|
|
212838
212838
|
}
|
|
212839
212839
|
)
|
|
212840
212840
|
] });
|
|
212841
|
-
}, Share$2 = lazy$2(() => import("./Share-
|
|
212841
|
+
}, Share$2 = lazy$2(() => import("./Share-D0aSQ9zk.mjs")), Poll = ({
|
|
212842
212842
|
content: i,
|
|
212843
212843
|
onSubmit: n,
|
|
212844
212844
|
results: r = [],
|
|
@@ -214513,7 +214513,7 @@ const ViewAnswers = ({
|
|
|
214513
214513
|
}
|
|
214514
214514
|
}
|
|
214515
214515
|
};
|
|
214516
|
-
}), Share$1 = lazy$2(() => import("./Share-
|
|
214516
|
+
}), Share$1 = lazy$2(() => import("./Share-D0aSQ9zk.mjs")), Quiz = ({
|
|
214517
214517
|
content: i,
|
|
214518
214518
|
analytics: n,
|
|
214519
214519
|
authoringHelper: r,
|
|
@@ -215599,7 +215599,7 @@ const useCustomStyle$F = makeStyles(() => {
|
|
|
215599
215599
|
}
|
|
215600
215600
|
}
|
|
215601
215601
|
};
|
|
215602
|
-
}), Share = lazy$2(() => import("./Share-
|
|
215602
|
+
}), Share = lazy$2(() => import("./Share-D0aSQ9zk.mjs")), RecentCarousel = lazy$2(() => import("./RecentCarousel-Cl86PKoA.mjs")), BrightcovePlayer = React__default.lazy(
|
|
215603
215603
|
() => Promise.resolve().then(() => BrightcovePlayer$2)
|
|
215604
215604
|
), latestVODs = [
|
|
215605
215605
|
{
|
|
@@ -219206,17 +219206,17 @@ const onClickCardUrlNavigate = (i, n, r) => {
|
|
|
219206
219206
|
NX_PUBLIC_CLIENT_ID: "react",
|
|
219207
219207
|
NX_PUBLIC_REALM: "platform-x",
|
|
219208
219208
|
NX_PUBLIC_GRANT_TYPE: "authorization_code",
|
|
219209
|
-
NX_PUBLIC_REDIRECT_URI: "https://
|
|
219210
|
-
NX_PUBLIC_PUBLISH_URI: "https://
|
|
219211
|
-
NX_PUBLIC_DSPACE_URI: "https://
|
|
219209
|
+
NX_PUBLIC_REDIRECT_URI: "https://hc-qa.console.hcl-x.com/en/",
|
|
219210
|
+
NX_PUBLIC_PUBLISH_URI: "https://hc-qa.hcl-x.com/",
|
|
219211
|
+
NX_PUBLIC_DSPACE_URI: "https://hc-qa.dam.hcl-x.com/",
|
|
219212
219212
|
NX_PUBLIC_DSPACE_IMAGES_UUID: "93ea0aed-631b-45a7-b3ae-564ac071dea6",
|
|
219213
219213
|
NX_PUBLIC_DSPACE_VIDEOS_UUID: "11f0b07a-b736-40da-8a60-de9c8f6b4aae",
|
|
219214
219214
|
NX_PUBLIC_GCP_URL: "https://storage.googleapis.com",
|
|
219215
|
-
NX_PUBLIC_BUCKET_NAME: "
|
|
219216
|
-
NX_PUBLIC_GRAPHQL_URI_PUBLISH: "https://
|
|
219217
|
-
NX_PUBLIC_DELIVERY_URI: "https://
|
|
219218
|
-
NX_PUBLIC_API_URI: "https://
|
|
219219
|
-
NX_PUBLIC_KEYCLOAK_URI: "https://
|
|
219215
|
+
NX_PUBLIC_BUCKET_NAME: "cropped-image-public",
|
|
219216
|
+
NX_PUBLIC_GRAPHQL_URI_PUBLISH: "https://px-api.hclhealthcare.in/platform-x-publish/v1/publish/gateway",
|
|
219217
|
+
NX_PUBLIC_DELIVERY_URI: "https://hc-qa.delivery.hcl-x.com/platform-x/",
|
|
219218
|
+
NX_PUBLIC_API_URI: "https://hc-qa.api.hcl-x.com/platform-x/",
|
|
219219
|
+
NX_PUBLIC_KEYCLOAK_URI: "https://hc-qa.idp.hcl-x.com"
|
|
219220
219220
|
};
|
|
219221
219221
|
Const.NX_PUBLIC_CLIENT_ID, Const.NX_PUBLIC_REALM, Const.NX_PUBLIC_GRANT_TYPE, Const.NX_PUBLIC_REDIRECT_URI, Const.NX_PUBLIC_PUBLISH_URI, Const.NX_PUBLIC_DSPACE_URI, localStorage.getItem("imageUuid") || Const.NX_PUBLIC_DSPACE_IMAGES_UUID, localStorage.getItem("videoUuid") || Const.NX_PUBLIC_DSPACE_VIDEOS_UUID, Const.NX_PUBLIC_GCP_URL, Const.NX_PUBLIC_BUCKET_NAME, Const.NX_PUBLIC_GRAPHQL_URI_PUBLISH, Const.NX_PUBLIC_DELIVERY_URI;
|
|
219222
219222
|
const LOGOUT_URL = `${Const.NX_PUBLIC_API_URI}auth/logout?redirect_uri=${Const.NX_PUBLIC_REDIRECT_URI}&client_id=${Const.NX_PUBLIC_CLIENT_ID}&tenant_id=${Const.NX_PUBLIC_REALM}`;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { n as w } from "./index-CeTmWGyC.mjs";
|
|
2
2
|
import D from "react";
|
|
3
|
-
import { y as C, z as N } from "./ToggleButton
|
|
3
|
+
import { y as C, z as N } from "./ToggleButton-DCe4d9MJ.mjs";
|
|
4
4
|
function I(t, e) {
|
|
5
5
|
for (var r = 0; r < e.length; r++) {
|
|
6
6
|
const s = e[r];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { n as g } from "./index-CeTmWGyC.mjs";
|
|
2
2
|
import v from "react";
|
|
3
|
-
import { y as b, z as O } from "./ToggleButton
|
|
3
|
+
import { y as b, z as O } from "./ToggleButton-DCe4d9MJ.mjs";
|
|
4
4
|
function V(t, e) {
|
|
5
5
|
for (var r = 0; r < e.length; r++) {
|
|
6
6
|
const o = e[r];
|
|
@@ -36,7 +36,7 @@ var D = Object.create, n = Object.defineProperty, j = Object.getOwnPropertyDescr
|
|
|
36
36
|
L(_, {
|
|
37
37
|
default: () => y
|
|
38
38
|
});
|
|
39
|
-
var f = E(_), c = R(v), d = b,
|
|
39
|
+
var f = E(_), c = R(v), d = b, P = O;
|
|
40
40
|
const C = "https://play.vidyard.com/embed/v4.js", N = "VidyardV4", x = "onVidyardAPI";
|
|
41
41
|
class y extends c.Component {
|
|
42
42
|
constructor() {
|
|
@@ -52,10 +52,10 @@ class y extends c.Component {
|
|
|
52
52
|
this.props.onMount && this.props.onMount(this);
|
|
53
53
|
}
|
|
54
54
|
load(e) {
|
|
55
|
-
const { playing: r, config: o, onError: a, onDuration: i } = this.props, l = e && e.match(
|
|
55
|
+
const { playing: r, config: o, onError: a, onDuration: i } = this.props, l = e && e.match(P.MATCH_URL_VIDYARD)[1];
|
|
56
56
|
this.player && this.stop(), (0, d.getSDK)(C, N, x).then((p) => {
|
|
57
|
-
this.container && (p.api.addReadyListener((u,
|
|
58
|
-
this.player || (this.player =
|
|
57
|
+
this.container && (p.api.addReadyListener((u, m) => {
|
|
58
|
+
this.player || (this.player = m, this.player.on("ready", this.props.onReady), this.player.on("play", this.props.onPlay), this.player.on("pause", this.props.onPause), this.player.on("seek", this.props.onSeek), this.player.on("playerComplete", this.props.onEnded));
|
|
59
59
|
}, l), p.api.renderPlayer({
|
|
60
60
|
uuid: l,
|
|
61
61
|
container: this.container,
|
|
@@ -103,7 +103,7 @@ class y extends c.Component {
|
|
|
103
103
|
}
|
|
104
104
|
}
|
|
105
105
|
s(y, "displayName", "Vidyard");
|
|
106
|
-
s(y, "canPlay",
|
|
106
|
+
s(y, "canPlay", P.canPlay.vidyard);
|
|
107
107
|
const T = /* @__PURE__ */ g(f), B = /* @__PURE__ */ V({
|
|
108
108
|
__proto__: null,
|
|
109
109
|
default: T
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { n as d } from "./index-CeTmWGyC.mjs";
|
|
2
2
|
import f from "react";
|
|
3
|
-
import { y as m, z as _ } from "./ToggleButton
|
|
3
|
+
import { y as m, z as _ } from "./ToggleButton-DCe4d9MJ.mjs";
|
|
4
4
|
function P(t, e) {
|
|
5
5
|
for (var r = 0; r < e.length; r++) {
|
|
6
6
|
const a = e[r];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { n as m } from "./index-CeTmWGyC.mjs";
|
|
2
2
|
import g from "react";
|
|
3
|
-
import { y as v, z as w } from "./ToggleButton
|
|
3
|
+
import { y as v, z as w } from "./ToggleButton-DCe4d9MJ.mjs";
|
|
4
4
|
function O(t, e) {
|
|
5
5
|
for (var a = 0; a < e.length; a++) {
|
|
6
6
|
const s = e[a];
|
|
@@ -51,8 +51,8 @@ class l extends y.Component {
|
|
|
51
51
|
}
|
|
52
52
|
load(e) {
|
|
53
53
|
const { playing: a, muted: s, controls: r, onReady: o, config: p, onError: b } = this.props;
|
|
54
|
-
(0, c.getSDK)(W, A).then((
|
|
55
|
-
p.customControls && p.customControls.forEach((u) =>
|
|
54
|
+
(0, c.getSDK)(W, A).then((f) => {
|
|
55
|
+
p.customControls && p.customControls.forEach((u) => f.defineControl(u)), window._wq = window._wq || [], window._wq.push({
|
|
56
56
|
id: this.playerID,
|
|
57
57
|
options: {
|
|
58
58
|
autoPlay: a,
|
|
@@ -115,7 +115,7 @@ class l extends y.Component {
|
|
|
115
115
|
n(l, "displayName", "Wistia");
|
|
116
116
|
n(l, "canPlay", P.canPlay.wistia);
|
|
117
117
|
n(l, "loopOnEnded", !0);
|
|
118
|
-
const N = /* @__PURE__ */
|
|
118
|
+
const N = /* @__PURE__ */ m(_), q = /* @__PURE__ */ O({
|
|
119
119
|
__proto__: null,
|
|
120
120
|
default: N
|
|
121
121
|
}, [_]);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { n as U } from "./index-CeTmWGyC.mjs";
|
|
2
2
|
import I from "react";
|
|
3
|
-
import { y as L, z as M } from "./ToggleButton
|
|
3
|
+
import { y as L, z as M } from "./ToggleButton-DCe4d9MJ.mjs";
|
|
4
4
|
function Y(a, e) {
|
|
5
5
|
for (var t = 0; t < e.length; t++) {
|
|
6
6
|
const o = e[t];
|