@tsocial/tvweb-sdk.omg 0.0.0-beta.20251217-142321 → 0.0.0-beta.20260102-114208
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 "0.0.0-beta.
|
|
33786
|
+
return "0.0.0-beta.20260102-114208";
|
|
33787
33787
|
}
|
|
33788
33788
|
function nI$1() {
|
|
33789
33789
|
return {
|
|
@@ -41259,50 +41259,56 @@
|
|
|
41259
41259
|
}, uz;
|
|
41260
41260
|
}(), uG);
|
|
41261
41261
|
}();
|
|
41262
|
-
|
|
41263
|
-
let r = dv();
|
|
41264
|
-
return (dm = function(e, t) {
|
|
41265
|
-
return r[e -= 360];
|
|
41266
|
-
})(e, t);
|
|
41267
|
-
}
|
|
41268
|
-
let dg = dm, dy = dm, db = dv();
|
|
41262
|
+
let dm = dv, dg = dv, dy = dx();
|
|
41269
41263
|
for(;;)try {
|
|
41270
|
-
if (parseInt(
|
|
41271
|
-
|
|
41264
|
+
if (-parseInt(dg(370)) / 1 * (-parseInt(dg(366)) / 2) + parseInt(dg(358)) / 3 * (parseInt(dg(374)) / 4) + parseInt(dg(365)) / 5 + parseInt(dg(357)) / 6 + -parseInt(dg(362)) / 7 * (-parseInt(dg(361)) / 8) + parseInt(dg(376)) / 9 * (parseInt(dg(378)) / 10) + -parseInt(dg(368)) / 11 * (parseInt(dg(367)) / 12) === 599998) break;
|
|
41265
|
+
dy.push(dy.shift());
|
|
41272
41266
|
} catch (e) {
|
|
41273
|
-
|
|
41267
|
+
dy.push(dy.shift());
|
|
41274
41268
|
}
|
|
41275
|
-
|
|
41269
|
+
let db = dm(372) + dm(383) + dm(360) + dm(381) + dm(382) + dm(375);
|
|
41270
|
+
function dv(e, t) {
|
|
41271
|
+
let r = dx();
|
|
41272
|
+
return (dv = function(e, t) {
|
|
41273
|
+
return r[e -= 356];
|
|
41274
|
+
})(e, t);
|
|
41275
|
+
}
|
|
41276
|
+
let d_ = dm(359) + dm(363) + "KoZIzj0DAQ" + dm(369) + "DepBO8t60S" + dm(379) + dm(364) + dm(380) + dm(377) + "D9EKOWS+U4" + dm(371) + dm(356) + dm(373);
|
|
41277
|
+
function dx() {
|
|
41276
41278
|
let e = [
|
|
41277
|
-
"
|
|
41278
|
-
"
|
|
41279
|
+
"cDQgAE9h6Z",
|
|
41280
|
+
"127449PpANSf",
|
|
41279
41281
|
"MfPrcYTM70",
|
|
41280
|
-
"
|
|
41281
|
-
"
|
|
41282
|
-
"
|
|
41282
|
+
"3059301306",
|
|
41283
|
+
"KA==",
|
|
41284
|
+
"504CUvXlG",
|
|
41285
|
+
"000",
|
|
41286
|
+
"4211091ZcZUHq",
|
|
41283
41287
|
"Mjci1ul8mm",
|
|
41284
|
-
"
|
|
41285
|
-
"
|
|
41288
|
+
"10bvLTER",
|
|
41289
|
+
"ytJdcsPxrD",
|
|
41286
41290
|
"44P0rKKsZK",
|
|
41287
|
-
"388265omPOkm",
|
|
41288
|
-
"D9EKOWS+U4",
|
|
41289
|
-
"KA==",
|
|
41290
41291
|
"2a8648ce3d",
|
|
41291
|
-
"
|
|
41292
|
-
"
|
|
41292
|
+
"0301070342",
|
|
41293
|
+
"072a8648ce",
|
|
41294
|
+
"ssRdXLZEX8",
|
|
41295
|
+
"418878IKMmpg",
|
|
41296
|
+
"22509QYOLbd",
|
|
41293
41297
|
"MFkwEwYHKo",
|
|
41294
|
-
"130pWIRuI",
|
|
41295
|
-
"KoZIzj0DAQ",
|
|
41296
|
-
"190504tfNTkt",
|
|
41297
|
-
"ZIzj0CAQYI",
|
|
41298
41298
|
"3d02010608",
|
|
41299
|
-
"
|
|
41299
|
+
"1956472WoXxGf",
|
|
41300
|
+
"21nyvxwG",
|
|
41301
|
+
"ZIzj0CAQYI",
|
|
41302
|
+
"+faHkP3QC3",
|
|
41303
|
+
"441635tgQdcV",
|
|
41304
|
+
"4ycPapD",
|
|
41305
|
+
"500424ofdLzM",
|
|
41306
|
+
"517Pccfps"
|
|
41300
41307
|
];
|
|
41301
|
-
return (
|
|
41308
|
+
return (dx = function() {
|
|
41302
41309
|
return e;
|
|
41303
41310
|
})();
|
|
41304
41311
|
}
|
|
41305
|
-
let d_ = "3059301306072a8648ce" + dg(371) + dg(363) + "0301070342000", dx = dg(366) + dg(370) + dg(368) + "cDQgAE9h6Z" + dg(372) + "ytJdcsPxrD+faHkP3QC3" + dg(382) + dg(379) + dg(361) + dg(375) + dg(381) + dg(362);
|
|
41306
41312
|
async function dC(e) {
|
|
41307
41313
|
let t = new TextEncoder().encode(e);
|
|
41308
41314
|
return Array.from(new Uint8Array(await crypto.subtle.digest("SHA-256", t))).map((e)=>e.toString(16).padStart(2, "0")).join("");
|
|
@@ -41407,7 +41413,7 @@
|
|
|
41407
41413
|
isValid: !1,
|
|
41408
41414
|
error: i0$1.invalid_license
|
|
41409
41415
|
};
|
|
41410
|
-
let { mode: a, license: o, signature: s } = dS(e), c = dw(i4$1(o)), l = (r = t ||
|
|
41416
|
+
let { mode: a, license: o, signature: s } = dS(e), c = dw(i4$1(o)), l = (r = t || d_, n = i4$1(r).replace(db, ""), i = new dp.ec("p256").keyFromPublic(n, "hex"), {
|
|
41411
41417
|
verifySignature: async (e, t)=>{
|
|
41412
41418
|
try {
|
|
41413
41419
|
let r = await dC(e), n = i4$1(t);
|
|
@@ -45321,7 +45327,7 @@
|
|
|
45321
45327
|
return this.getKey().getPublicKey();
|
|
45322
45328
|
}, e.prototype.getPublicKeyB64 = function() {
|
|
45323
45329
|
return this.getKey().getPublicBaseKeyB64();
|
|
45324
|
-
}, e.version = "5.
|
|
45330
|
+
}, e.version = "5.34.0", e;
|
|
45325
45331
|
}();
|
|
45326
45332
|
let hO = [
|
|
45327
45333
|
"-",
|
|
@@ -71759,7 +71765,8 @@
|
|
|
71759
71765
|
opacity: ${({ showChildren: t })=>+!!t};
|
|
71760
71766
|
`;
|
|
71761
71767
|
({
|
|
71762
|
-
onOrientationChange: PropTypes.func
|
|
71768
|
+
onOrientationChange: PropTypes.func,
|
|
71769
|
+
shouldUnmount: PropTypes.bool
|
|
71763
71770
|
});
|
|
71764
71771
|
({
|
|
71765
71772
|
allowedCardTypes: PropTypes.arrayOf(PropTypes.string),
|
|
@@ -88816,7 +88823,7 @@
|
|
|
88816
88823
|
opacity: ${({ showChildren })=>showChildren ? 1 : 0};
|
|
88817
88824
|
`;
|
|
88818
88825
|
// eslint-disable-next-line react/require-default-props
|
|
88819
|
-
function OrientationDetection({ onOrientationChange, children }) {
|
|
88826
|
+
function OrientationDetection({ onOrientationChange, shouldUnmount, children }) {
|
|
88820
88827
|
const t = gB();
|
|
88821
88828
|
const { curOrientation } = useDetectOrientation(onOrientationChange);
|
|
88822
88829
|
const shouldShowChildren = curOrientation === MODE.PORTRAIT || curOrientation === MODE.DESKTOP;
|
|
@@ -88828,7 +88835,7 @@
|
|
|
88828
88835
|
children: t('wrong_orientation')
|
|
88829
88836
|
})
|
|
88830
88837
|
}),
|
|
88831
|
-
/*#__PURE__*/ jsxRuntimeExports.jsx(ChildrenWrapper, {
|
|
88838
|
+
(shouldUnmount ? shouldShowChildren : true) && /*#__PURE__*/ jsxRuntimeExports.jsx(ChildrenWrapper, {
|
|
88832
88839
|
showChildren: shouldShowChildren,
|
|
88833
88840
|
children: children
|
|
88834
88841
|
})
|
|
@@ -88836,10 +88843,12 @@
|
|
|
88836
88843
|
});
|
|
88837
88844
|
}
|
|
88838
88845
|
OrientationDetection.defaultProps = {
|
|
88839
|
-
onOrientationChange: ()=>{}
|
|
88846
|
+
onOrientationChange: ()=>{},
|
|
88847
|
+
shouldUnmount: false
|
|
88840
88848
|
};
|
|
88841
88849
|
OrientationDetection.propTypes = {
|
|
88842
|
-
onOrientationChange: PropTypes.func
|
|
88850
|
+
onOrientationChange: PropTypes.func,
|
|
88851
|
+
shouldUnmount: PropTypes.bool
|
|
88843
88852
|
};
|
|
88844
88853
|
|
|
88845
88854
|
const useEkycSession = ()=>{
|
|
@@ -117437,7 +117446,7 @@
|
|
|
117437
117446
|
CONFIRM_POPUP_INVALID_QR: 'Không quét được mã QR'
|
|
117438
117447
|
};
|
|
117439
117448
|
|
|
117440
|
-
const defaultAssetRoot = "https://vision-cdn.trustingsocial.com/tvweb-sdk.omg/0.0.0-beta.
|
|
117449
|
+
const defaultAssetRoot = "https://vision-cdn.trustingsocial.com/tvweb-sdk.omg/0.0.0-beta.20260102-114208/assets";
|
|
117441
117450
|
class TVWebSDK extends gU {
|
|
117442
117451
|
constructor(props){
|
|
117443
117452
|
super({
|