@tsocial/tvweb-sdk.tcli 5.34.1 → 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.1";
33786
+ return "5.34.2";
33787
33787
  }
33788
33788
  function nI$1() {
33789
33789
  return {
@@ -41259,53 +41259,55 @@
41259
41259
  }, uz;
41260
41260
  }(), uG);
41261
41261
  }();
41262
- let dm = d_, dg = d_, dy = dx();
41262
+ function dm(e, t) {
41263
+ let r = d_();
41264
+ return (dm = function(e, t) {
41265
+ return r[e -= 132];
41266
+ })(e, t);
41267
+ }
41268
+ let dg = dm, dy = dm, db = d_();
41263
41269
  for(;;)try {
41264
- if (-parseInt(dg(195)) / 1 * (parseInt(dg(207)) / 2) + parseInt(dg(192)) / 3 + -parseInt(dg(210)) / 4 * (-parseInt(dg(201)) / 5) + parseInt(dg(200)) / 6 * (-parseInt(dg(214)) / 7) + -parseInt(dg(193)) / 8 * (parseInt(dg(206)) / 9) + -parseInt(dg(190)) / 10 * (parseInt(dg(197)) / 11) + parseInt(dg(198)) / 12 === 213775) break;
41265
- dy.push(dy.shift());
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
+ db.push(db.shift());
41266
41272
  } catch (e) {
41267
- dy.push(dy.shift());
41273
+ db.push(db.shift());
41268
41274
  }
41269
- let db = dm(199) + dm(203) + dm(205) + dm(215) + "0301070342" + dm(211), dv = "MFkwEwYHKoZIzj0CAQYI" + dm(212) + "cDQgAE9h6Z" + dm(204) + "ytJdcsPxrD" + dm(191) + dm(194) + dm(202) + dm(213) + dm(196) + dm(208) + dm(209);
41270
- function d_(e, t) {
41271
- let r = dx();
41272
- return (d_ = function(e, t) {
41273
- return r[e -= 190];
41274
- })(e, t);
41275
- }
41276
- function dx() {
41275
+ let dv = "3059301306" + dg(155) + dg(158) + dg(149) + dg(141) + dg(138);
41276
+ function d_() {
41277
41277
  let e = [
41278
- "4552RWKMhh",
41279
- "44P0rKKsZK",
41280
- "181301bSrizZ",
41281
- "MfPrcYTM70",
41282
- "7942PgSLUR",
41283
- "6721080nDVclj",
41284
- "3059301306",
41285
- "90qowNeA",
41286
- "17930ZGtTNS",
41287
- "Mjci1ul8mm",
41288
- "072a8648ce",
41289
41278
  "DepBO8t60S",
41290
- "3d02010608",
41291
- "5625sjHwWV",
41292
- "4aZMLJD",
41293
- "ssRdXLZEX8",
41294
- "KA==",
41295
- "344nEBwdw",
41279
+ "+faHkP3QC3",
41296
41280
  "000",
41297
- "KoZIzj0DAQ",
41298
- "D9EKOWS+U4",
41299
- "116305sfIwaw",
41281
+ "31908xDrygd",
41282
+ "2930470GEgndS",
41283
+ "0301070342",
41284
+ "307984TfAgvv",
41285
+ "1093680AINEzz",
41286
+ "MFkwEwYHKo",
41287
+ "141ReoysE",
41288
+ "11VpLjnk",
41289
+ "ZIzj0CAQYI",
41290
+ "357620EnNCAn",
41300
41291
  "2a8648ce3d",
41301
- "1350orKIeV",
41302
- "+faHkP3QC3",
41303
- "1230633jFFmqZ"
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"
41304
41305
  ];
41305
- return (dx = function() {
41306
+ return (d_ = function() {
41306
41307
  return e;
41307
41308
  })();
41308
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);
41309
41311
  async function dC(e) {
41310
41312
  let t = new TextEncoder().encode(e);
41311
41313
  return Array.from(new Uint8Array(await crypto.subtle.digest("SHA-256", t))).map((e)=>e.toString(16).padStart(2, "0")).join("");
@@ -41410,7 +41412,7 @@
41410
41412
  isValid: !1,
41411
41413
  error: i0$1.invalid_license
41412
41414
  };
41413
- let { mode: a, license: o, signature: s } = dS(e), c = dw(i4$1(o)), l = (r = t || dv, n = i4$1(r).replace(db, ""), i = new dp.ec("p256").keyFromPublic(n, "hex"), {
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"), {
41414
41416
  verifySignature: async (e, t)=>{
41415
41417
  try {
41416
41418
  let r = await dC(e), n = i4$1(t);
@@ -45331,7 +45333,7 @@
45331
45333
  return this.getKey().getPublicKey();
45332
45334
  }, e.prototype.getPublicKeyB64 = function() {
45333
45335
  return this.getKey().getPublicBaseKeyB64();
45334
- }, e.version = "5.34.0", e;
45336
+ }, e.version = "5.34.1", e;
45335
45337
  }();
45336
45338
  let hO = [
45337
45339
  "-",
@@ -57393,7 +57395,7 @@
57393
57395
  if (M.current) return ()=>{};
57394
57396
  if (!navigator.mediaDevices || nT.browserName && [
57395
57397
  "facebook"
57396
- ].includes(nT.browserName.toLowerCase()) || nT.getUA.includes("Zalo iOS")) O(z("not_supported")), V(nQ.not_supported);
57398
+ ].includes(nT.browserName.toLowerCase())) O(z("not_supported")), V(nQ.not_supported);
57397
57399
  else if (o) {
57398
57400
  if (S) return X(S), ()=>{};
57399
57401
  nT.isAndroid && !1 === u ? t() : nT.isIOS && u ? r() : X();
@@ -76628,8 +76630,7 @@
76628
76630
  if (refVideoPlayed.current) return ()=>{};
76629
76631
  if (!navigator.mediaDevices || libExports.browserName && [
76630
76632
  'facebook'
76631
- ].includes(libExports.browserName.toLowerCase()) || libExports.getUA.includes('Zalo iOS') // to avoid live broadcast screen on Zalo webview
76632
- ) {
76633
+ ].includes(libExports.browserName.toLowerCase())) {
76633
76634
  setErrorMsg(t('not_supported'));
76634
76635
  onError(Errors$9.not_supported);
76635
76636
  } else if (videoEl) {
@@ -116242,7 +116243,7 @@
116242
116243
  display: ${f0.getTheme('closeButton.display')};
116243
116244
  `;
116244
116245
 
116245
- const defaultAssetRoot = "https://vision-cdn.trustingsocial.com/tvweb-sdk.tcli/5.34.1/assets";
116246
+ const defaultAssetRoot = "https://vision-cdn.trustingsocial.com/tvweb-sdk.tcli/5.34.2/assets";
116246
116247
  class TVWebSDK extends gU {
116247
116248
  constructor(props){
116248
116249
  super({