@tsocial/tvweb-sdk.omg 0.0.0-beta.20251113-151633 → 0.0.0-beta.20251118-163053
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.
|
@@ -33764,7 +33764,7 @@
|
|
|
33764
33764
|
}, nS$1;
|
|
33765
33765
|
}();
|
|
33766
33766
|
function nB$1() {
|
|
33767
|
-
return "0.0.0-beta.
|
|
33767
|
+
return "0.0.0-beta.20251118-163053";
|
|
33768
33768
|
}
|
|
33769
33769
|
function nI$1() {
|
|
33770
33770
|
var e;
|
|
@@ -41262,50 +41262,55 @@
|
|
|
41262
41262
|
}, u1;
|
|
41263
41263
|
}(), u3);
|
|
41264
41264
|
}();
|
|
41265
|
-
|
|
41266
|
-
function dB(e, t) {
|
|
41267
|
-
let r = dP();
|
|
41268
|
-
return (dB = function(e, t) {
|
|
41269
|
-
return r[e -= 497];
|
|
41270
|
-
})(e, t);
|
|
41271
|
-
}
|
|
41272
|
-
let dI = dB, dT = dP();
|
|
41273
|
-
for(;;)try {
|
|
41274
|
-
if (-parseInt(dI(502)) / 1 + -parseInt(dI(518)) / 2 + -parseInt(dI(500)) / 3 * (parseInt(dI(501)) / 4) + -parseInt(dI(507)) / 5 + parseInt(dI(510)) / 6 + -parseInt(dI(516)) / 7 * (parseInt(dI(517)) / 8) + parseInt(dI(499)) / 9 === 135219) break;
|
|
41275
|
-
dT.push(dT.shift());
|
|
41276
|
-
} catch (e) {
|
|
41277
|
-
dT.push(dT.shift());
|
|
41278
|
-
}
|
|
41279
|
-
function dP() {
|
|
41265
|
+
function dA() {
|
|
41280
41266
|
let e = [
|
|
41281
|
-
"
|
|
41267
|
+
"10MOQnWx",
|
|
41268
|
+
"11NTqtkK",
|
|
41269
|
+
"751130awjldd",
|
|
41270
|
+
"cDQgAE9h6Z",
|
|
41271
|
+
"3471368qRJdrD",
|
|
41272
|
+
"3d02010608",
|
|
41282
41273
|
"Mjci1ul8mm",
|
|
41274
|
+
"25SlibyD",
|
|
41275
|
+
"44P0rKKsZK",
|
|
41276
|
+
"KoZIzj0DAQ",
|
|
41277
|
+
"0301070342",
|
|
41278
|
+
"27870rgBGcR",
|
|
41279
|
+
"KA==",
|
|
41280
|
+
"072a8648ce",
|
|
41281
|
+
"1776CtLVve",
|
|
41282
|
+
"11635NhAerc",
|
|
41283
|
+
"ytJdcsPxrD",
|
|
41283
41284
|
"2a8648ce3d",
|
|
41284
|
-
"
|
|
41285
|
+
"7jJUrQw",
|
|
41285
41286
|
"000",
|
|
41286
|
-
"
|
|
41287
|
-
"
|
|
41288
|
-
"ytJdcsPxrD",
|
|
41289
|
-
"KoZIzj0DAQ",
|
|
41290
|
-
"98fUQMpS",
|
|
41291
|
-
"41224GXEtyi",
|
|
41292
|
-
"365550aRKiDf",
|
|
41287
|
+
"654128WmbqqD",
|
|
41288
|
+
"2729646myAKdo",
|
|
41293
41289
|
"MfPrcYTM70",
|
|
41294
|
-
"
|
|
41295
|
-
"4890231zrRapF",
|
|
41296
|
-
"618ECkfdt",
|
|
41297
|
-
"3644cIjGTx",
|
|
41298
|
-
"50401EqOgWY",
|
|
41299
|
-
"ssRdXLZEX8",
|
|
41300
|
-
"44P0rKKsZK",
|
|
41290
|
+
"+faHkP3QC3",
|
|
41301
41291
|
"MFkwEwYHKo",
|
|
41302
|
-
"
|
|
41292
|
+
"53684nVLJXT",
|
|
41293
|
+
"3iagKVo"
|
|
41303
41294
|
];
|
|
41304
|
-
return (
|
|
41295
|
+
return (dA = function() {
|
|
41305
41296
|
return e;
|
|
41306
41297
|
})();
|
|
41307
41298
|
}
|
|
41308
|
-
let
|
|
41299
|
+
let dB = dR, dI = dR, dT = dA();
|
|
41300
|
+
for(;;)try {
|
|
41301
|
+
if (parseInt(dI(499)) / 1 * (-parseInt(dI(501)) / 2) + parseInt(dI(500)) / 3 * (-parseInt(dI(494)) / 4) + parseInt(dI(481)) / 5 * (parseInt(dI(485)) / 6) + parseInt(dI(492)) / 7 * (parseInt(dI(478)) / 8) + parseInt(dI(495)) / 9 + parseInt(dI(503)) / 10 * (parseInt(dI(502)) / 11) + -parseInt(dI(488)) / 12 * (parseInt(dI(489)) / 13) === 271141) break;
|
|
41302
|
+
dT.push(dT.shift());
|
|
41303
|
+
} catch (e) {
|
|
41304
|
+
dT.push(dT.shift());
|
|
41305
|
+
}
|
|
41306
|
+
let dP = "3059301306" + dB(487) + dB(479) + dB(491) + dB(484) + dB(493);
|
|
41307
|
+
function dR(e, t) {
|
|
41308
|
+
let r = dA();
|
|
41309
|
+
return (dR = function(e, t) {
|
|
41310
|
+
return r[e -= 477];
|
|
41311
|
+
})(e, t);
|
|
41312
|
+
}
|
|
41313
|
+
let dM = dB(498) + "ZIzj0CAQYI" + dB(483) + dB(477) + "DepBO8t60S" + dB(490) + dB(497) + dB(482) + dB(480) + "D9EKOWS+U4" + dB(496) + "ssRdXLZEX8" + dB(486);
|
|
41309
41314
|
async function dN(e) {
|
|
41310
41315
|
let t = new TextEncoder().encode(e);
|
|
41311
41316
|
return Array.from(new Uint8Array(await crypto.subtle.digest("SHA-256", t))).map((e)=>e.toString(16).padStart(2, "0")).join("");
|
|
@@ -41410,7 +41415,7 @@
|
|
|
41410
41415
|
isValid: !1,
|
|
41411
41416
|
error: i0$1.invalid_license
|
|
41412
41417
|
};
|
|
41413
|
-
let { mode: a, license: o, signature: s } = dD(e), c = dL(i4$1(o)), l = (r = t || dM, n = i4$1(r).replace(
|
|
41418
|
+
let { mode: a, license: o, signature: s } = dD(e), c = dL(i4$1(o)), l = (r = t || dM, n = i4$1(r).replace(dP, ""), i = new dE.ec("p256").keyFromPublic(n, "hex"), {
|
|
41414
41419
|
verifySignature: async (e, t)=>{
|
|
41415
41420
|
try {
|
|
41416
41421
|
let r = await dN(e), n = i4$1(t);
|
|
@@ -42163,12 +42168,14 @@
|
|
|
42163
42168
|
];
|
|
42164
42169
|
}
|
|
42165
42170
|
return function(c, l) {
|
|
42166
|
-
let { topLeft: u, bottomRight: d, landmarks: f } = c
|
|
42167
|
-
|
|
42168
|
-
|
|
42169
|
-
[
|
|
42170
|
-
|
|
42171
|
-
|
|
42171
|
+
let { topLeft: u, bottomRight: d, landmarks: f } = c, h = [
|
|
42172
|
+
u[0],
|
|
42173
|
+
u[1],
|
|
42174
|
+
d[0],
|
|
42175
|
+
d[1]
|
|
42176
|
+
], p = f.map((e)=>e[0]), m = f.map((e)=>e[1]);
|
|
42177
|
+
a = Date.now();
|
|
42178
|
+
let g = h[2] - h[0];
|
|
42172
42179
|
if (e = [
|
|
42173
42180
|
...p
|
|
42174
42181
|
], t = [
|
|
@@ -82764,19 +82771,21 @@
|
|
|
82764
82771
|
const goToNextStepInActiveMode = async ()=>{
|
|
82765
82772
|
const { steps } = faceVerificationFlowData.current;
|
|
82766
82773
|
const curStep = steps[faceVerificationFlowData.current.curStepIndex];
|
|
82767
|
-
|
|
82768
|
-
|
|
82769
|
-
|
|
82770
|
-
|
|
82771
|
-
|
|
82772
|
-
|
|
82773
|
-
|
|
82774
|
-
|
|
82775
|
-
|
|
82776
|
-
|
|
82777
|
-
|
|
82778
|
-
|
|
82779
|
-
|
|
82774
|
+
if (curStep) {
|
|
82775
|
+
const mappingCaptureEvent = {
|
|
82776
|
+
[ra$1.FaceDirection.UP]: TrackLivenessEvents$1?.capture_up_face,
|
|
82777
|
+
[ra$1.FaceDirection.LEFT]: TrackLivenessEvents$1?.capture_left_face,
|
|
82778
|
+
[ra$1.FaceDirection.RIGHT]: TrackLivenessEvents$1?.capture_right_face,
|
|
82779
|
+
[ra$1.FaceDirection.FRONTAL]: TrackLivenessEvents$1?.capture_frontal_face
|
|
82780
|
+
};
|
|
82781
|
+
sendEvent({
|
|
82782
|
+
tag: 'selfie',
|
|
82783
|
+
event: mappingCaptureEvent[curStep.name],
|
|
82784
|
+
log: {
|
|
82785
|
+
time_capture_in_seconds: ((performance.now() - refEventStopWatch.current) / 1000).toFixed(1)
|
|
82786
|
+
}
|
|
82787
|
+
});
|
|
82788
|
+
}
|
|
82780
82789
|
faceVerificationFlowData.current.curStepIndex++;
|
|
82781
82790
|
refEventStopWatch.current = performance.now();
|
|
82782
82791
|
if (faceTrackingSetting.enable && faceTrackingSetting.limitFor === 'each_gesture') {
|
|
@@ -116690,7 +116699,7 @@
|
|
|
116690
116699
|
CONFIRM_POPUP_INVALID_QR: 'Không quét được mã QR'
|
|
116691
116700
|
};
|
|
116692
116701
|
|
|
116693
|
-
const defaultAssetRoot = "https://vision-cdn.trustingsocial.com/tvweb-sdk.omg/0.0.0-beta.
|
|
116702
|
+
const defaultAssetRoot = "https://vision-cdn.trustingsocial.com/tvweb-sdk.omg/0.0.0-beta.20251118-163053/assets";
|
|
116694
116703
|
class TVWebSDK extends gQ {
|
|
116695
116704
|
constructor(props){
|
|
116696
116705
|
super({
|