@tsocial/tvweb-sdk.platform 5.34.0 → 5.34.2
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.
|
@@ -33783,7 +33783,7 @@
|
|
|
33783
33783
|
}, nS$1;
|
|
33784
33784
|
}();
|
|
33785
33785
|
function nB$1() {
|
|
33786
|
-
return "5.34.
|
|
33786
|
+
return "5.34.2";
|
|
33787
33787
|
}
|
|
33788
33788
|
function nI$1() {
|
|
33789
33789
|
return {
|
|
@@ -41260,51 +41260,54 @@
|
|
|
41260
41260
|
}(), uG);
|
|
41261
41261
|
}();
|
|
41262
41262
|
function dm(e, t) {
|
|
41263
|
-
let r =
|
|
41263
|
+
let r = d_();
|
|
41264
41264
|
return (dm = function(e, t) {
|
|
41265
|
-
return r[e -=
|
|
41265
|
+
return r[e -= 132];
|
|
41266
41266
|
})(e, t);
|
|
41267
41267
|
}
|
|
41268
|
-
let dg = dm, dy = dm, db =
|
|
41268
|
+
let dg = dm, dy = dm, db = d_();
|
|
41269
41269
|
for(;;)try {
|
|
41270
|
-
if (parseInt(dy(
|
|
41270
|
+
if (parseInt(dy(148)) / 1 + -parseInt(dy(139)) / 2 * (parseInt(dy(145)) / 3) + parseInt(dy(142)) / 4 * (parseInt(dy(152)) / 5) + -parseInt(dy(151)) / 6 * (-parseInt(dy(135)) / 7) + parseInt(dy(153)) / 8 + parseInt(dy(143)) / 9 + parseInt(dy(140)) / 10 * (-parseInt(dy(146)) / 11) === 427361) break;
|
|
41271
41271
|
db.push(db.shift());
|
|
41272
41272
|
} catch (e) {
|
|
41273
41273
|
db.push(db.shift());
|
|
41274
41274
|
}
|
|
41275
|
-
let dv =
|
|
41276
|
-
function
|
|
41275
|
+
let dv = "3059301306" + dg(155) + dg(158) + dg(149) + dg(141) + dg(138);
|
|
41276
|
+
function d_() {
|
|
41277
41277
|
let e = [
|
|
41278
|
-
"D9EKOWS+U4",
|
|
41279
|
-
"KoZIzj0DAQ",
|
|
41280
|
-
"35LjMmQl",
|
|
41281
|
-
"77156uGIESC",
|
|
41282
|
-
"190508oefdBp",
|
|
41283
|
-
"11280618PQfwNT",
|
|
41284
|
-
"cDQgAE9h6Z",
|
|
41285
|
-
"3059301306",
|
|
41286
|
-
"3d02010608",
|
|
41287
|
-
"44P0rKKsZK",
|
|
41288
|
-
"2a8648ce3d",
|
|
41289
|
-
"ytJdcsPxrD",
|
|
41290
|
-
"10JzyKyv",
|
|
41291
|
-
"072a8648ce",
|
|
41292
|
-
"712832CUVhDz",
|
|
41293
|
-
"2152528SbwDRB",
|
|
41294
|
-
"ZIzj0CAQYI",
|
|
41295
41278
|
"DepBO8t60S",
|
|
41296
|
-
"
|
|
41297
|
-
"MfPrcYTM70",
|
|
41279
|
+
"+faHkP3QC3",
|
|
41298
41280
|
"000",
|
|
41299
|
-
"
|
|
41281
|
+
"31908xDrygd",
|
|
41282
|
+
"2930470GEgndS",
|
|
41283
|
+
"0301070342",
|
|
41284
|
+
"307984TfAgvv",
|
|
41285
|
+
"1093680AINEzz",
|
|
41300
41286
|
"MFkwEwYHKo",
|
|
41301
|
-
"
|
|
41302
|
-
"
|
|
41287
|
+
"141ReoysE",
|
|
41288
|
+
"11VpLjnk",
|
|
41289
|
+
"ZIzj0CAQYI",
|
|
41290
|
+
"357620EnNCAn",
|
|
41291
|
+
"2a8648ce3d",
|
|
41292
|
+
"ytJdcsPxrD",
|
|
41293
|
+
"7698TiAaFt",
|
|
41294
|
+
"20wWFtwC",
|
|
41295
|
+
"4767024oXzIYB",
|
|
41296
|
+
"ssRdXLZEX8",
|
|
41297
|
+
"072a8648ce",
|
|
41298
|
+
"Mjci1ul8mm",
|
|
41299
|
+
"D9EKOWS+U4",
|
|
41300
|
+
"3d02010608",
|
|
41301
|
+
"KA==",
|
|
41302
|
+
"44P0rKKsZK",
|
|
41303
|
+
"cDQgAE9h6Z",
|
|
41304
|
+
"476iEpigw"
|
|
41303
41305
|
];
|
|
41304
|
-
return (
|
|
41306
|
+
return (d_ = function() {
|
|
41305
41307
|
return e;
|
|
41306
41308
|
})();
|
|
41307
41309
|
}
|
|
41310
|
+
let dx = dg(144) + dg(147) + "KoZIzj0DAQ" + dg(134) + dg(136) + dg(150) + dg(137) + dg(133) + dg(156) + dg(157) + "MfPrcYTM70" + dg(154) + dg(132);
|
|
41308
41311
|
async function dC(e) {
|
|
41309
41312
|
let t = new TextEncoder().encode(e);
|
|
41310
41313
|
return Array.from(new Uint8Array(await crypto.subtle.digest("SHA-256", t))).map((e)=>e.toString(16).padStart(2, "0")).join("");
|
|
@@ -41409,7 +41412,7 @@
|
|
|
41409
41412
|
isValid: !1,
|
|
41410
41413
|
error: i0$1.invalid_license
|
|
41411
41414
|
};
|
|
41412
|
-
let { mode: a, license: o, signature: s } = dS(e), c = dw(i4$1(o)), l = (r = t ||
|
|
41415
|
+
let { mode: a, license: o, signature: s } = dS(e), c = dw(i4$1(o)), l = (r = t || dx, n = i4$1(r).replace(dv, ""), i = new dp.ec("p256").keyFromPublic(n, "hex"), {
|
|
41413
41416
|
verifySignature: async (e, t)=>{
|
|
41414
41417
|
try {
|
|
41415
41418
|
let r = await dC(e), n = i4$1(t);
|
|
@@ -45323,7 +45326,7 @@
|
|
|
45323
45326
|
return this.getKey().getPublicKey();
|
|
45324
45327
|
}, e.prototype.getPublicKeyB64 = function() {
|
|
45325
45328
|
return this.getKey().getPublicBaseKeyB64();
|
|
45326
|
-
}, e.version = "5.
|
|
45329
|
+
}, e.version = "5.34.1", e;
|
|
45327
45330
|
}();
|
|
45328
45331
|
let hO = [
|
|
45329
45332
|
"-",
|
|
@@ -57385,7 +57388,7 @@
|
|
|
57385
57388
|
if (M.current) return ()=>{};
|
|
57386
57389
|
if (!navigator.mediaDevices || nT.browserName && [
|
|
57387
57390
|
"facebook"
|
|
57388
|
-
].includes(nT.browserName.toLowerCase())
|
|
57391
|
+
].includes(nT.browserName.toLowerCase())) O(z("not_supported")), V(nQ.not_supported);
|
|
57389
57392
|
else if (o) {
|
|
57390
57393
|
if (S) return X(S), ()=>{};
|
|
57391
57394
|
nT.isAndroid && !1 === u ? t() : nT.isIOS && u ? r() : X();
|
|
@@ -71761,7 +71764,8 @@
|
|
|
71761
71764
|
opacity: ${({ showChildren: t })=>+!!t};
|
|
71762
71765
|
`;
|
|
71763
71766
|
({
|
|
71764
|
-
onOrientationChange: PropTypes.func
|
|
71767
|
+
onOrientationChange: PropTypes.func,
|
|
71768
|
+
shouldUnmount: PropTypes.bool
|
|
71765
71769
|
});
|
|
71766
71770
|
({
|
|
71767
71771
|
allowedCardTypes: PropTypes.arrayOf(PropTypes.string),
|
|
@@ -76619,8 +76623,7 @@
|
|
|
76619
76623
|
if (refVideoPlayed.current) return ()=>{};
|
|
76620
76624
|
if (!navigator.mediaDevices || libExports.browserName && [
|
|
76621
76625
|
'facebook'
|
|
76622
|
-
].includes(libExports.browserName.toLowerCase())
|
|
76623
|
-
) {
|
|
76626
|
+
].includes(libExports.browserName.toLowerCase())) {
|
|
76624
76627
|
setErrorMsg(t('not_supported'));
|
|
76625
76628
|
onError(Errors$9.not_supported);
|
|
76626
76629
|
} else if (videoEl) {
|
|
@@ -88756,7 +88759,7 @@
|
|
|
88756
88759
|
opacity: ${({ showChildren })=>showChildren ? 1 : 0};
|
|
88757
88760
|
`;
|
|
88758
88761
|
// eslint-disable-next-line react/require-default-props
|
|
88759
|
-
function OrientationDetection({ onOrientationChange, children }) {
|
|
88762
|
+
function OrientationDetection({ onOrientationChange, shouldUnmount, children }) {
|
|
88760
88763
|
const t = gB();
|
|
88761
88764
|
const { curOrientation } = useDetectOrientation(onOrientationChange);
|
|
88762
88765
|
const shouldShowChildren = curOrientation === MODE.PORTRAIT || curOrientation === MODE.DESKTOP;
|
|
@@ -88768,7 +88771,7 @@
|
|
|
88768
88771
|
children: t('wrong_orientation')
|
|
88769
88772
|
})
|
|
88770
88773
|
}),
|
|
88771
|
-
/*#__PURE__*/ jsxRuntimeExports.jsx(ChildrenWrapper, {
|
|
88774
|
+
(shouldUnmount ? shouldShowChildren : true) && /*#__PURE__*/ jsxRuntimeExports.jsx(ChildrenWrapper, {
|
|
88772
88775
|
showChildren: shouldShowChildren,
|
|
88773
88776
|
children: children
|
|
88774
88777
|
})
|
|
@@ -88776,10 +88779,12 @@
|
|
|
88776
88779
|
});
|
|
88777
88780
|
}
|
|
88778
88781
|
OrientationDetection.defaultProps = {
|
|
88779
|
-
onOrientationChange: ()=>{}
|
|
88782
|
+
onOrientationChange: ()=>{},
|
|
88783
|
+
shouldUnmount: false
|
|
88780
88784
|
};
|
|
88781
88785
|
OrientationDetection.propTypes = {
|
|
88782
|
-
onOrientationChange: PropTypes.func
|
|
88786
|
+
onOrientationChange: PropTypes.func,
|
|
88787
|
+
shouldUnmount: PropTypes.bool
|
|
88783
88788
|
};
|
|
88784
88789
|
|
|
88785
88790
|
const useEkycSession = ()=>{
|
|
@@ -113503,7 +113508,7 @@
|
|
|
113503
113508
|
};
|
|
113504
113509
|
};
|
|
113505
113510
|
|
|
113506
|
-
const defaultAssetRoot = "https://vision-cdn.trustingsocial.com/tvweb-sdk.platform/5.34.
|
|
113511
|
+
const defaultAssetRoot = "https://vision-cdn.trustingsocial.com/tvweb-sdk.platform/5.34.2/assets";
|
|
113507
113512
|
class TVWebSDK extends gU {
|
|
113508
113513
|
constructor(props){
|
|
113509
113514
|
super({
|