@tsocial/tvweb-sdk.nbcci 0.0.0-beta.20260102-120556 → 0.0.0-beta.20260105-101555

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.20260102-120556";
33786
+ return "0.0.0-beta.20260105-101555";
33787
33787
  }
33788
33788
  function nI$1() {
33789
33789
  return {
@@ -41259,49 +41259,53 @@
41259
41259
  }, uz;
41260
41260
  }(), uG);
41261
41261
  }();
41262
- let dm = db, dg = db, dy = d_();
41263
- for(;;)try {
41264
- if (-parseInt(dg(324)) / 1 + parseInt(dg(341)) / 2 * (parseInt(dg(340)) / 3) + -parseInt(dg(329)) / 4 + parseInt(dg(326)) / 5 * (parseInt(dg(342)) / 6) + parseInt(dg(328)) / 7 + parseInt(dg(338)) / 8 + parseInt(dg(322)) / 9 === 596752) break;
41265
- dy.push(dy.shift());
41266
- } catch (e) {
41267
- dy.push(dy.shift());
41268
- }
41269
- function db(e, t) {
41270
- let r = d_();
41271
- return (db = function(e, t) {
41272
- return r[e -= 322];
41273
- })(e, t);
41274
- }
41275
- let dv = dm(327) + "072a8648ce" + dm(336) + dm(323) + dm(332) + dm(337);
41276
- function d_() {
41262
+ let dm = dy;
41263
+ function dg() {
41277
41264
  let e = [
41278
- "DepBO8t60S",
41279
- "MFkwEwYHKo",
41280
- "3d02010608",
41265
+ "90568olSrOR",
41266
+ "ZIzj0CAQYI",
41267
+ "761906DexGVO",
41268
+ "4570BXfZPE",
41269
+ "868035vYhKXx",
41270
+ "072a8648ce",
41271
+ "44P0rKKsZK",
41272
+ "9252FENNmn",
41273
+ "MfPrcYTM70",
41274
+ "cDQgAE9h6Z",
41275
+ "7631vAByJh",
41276
+ "ssRdXLZEX8",
41277
+ "12YvKobc",
41278
+ "837GiDEYt",
41279
+ "27276DvVzEc",
41280
+ "D9EKOWS+U4",
41281
41281
  "000",
41282
- "58448vUqjdj",
41282
+ "17699kTHHKF",
41283
+ "MFkwEwYHKo",
41284
+ "3pmIuAf",
41283
41285
  "ytJdcsPxrD",
41284
- "210066aWnkZL",
41285
- "2ZBqeJn",
41286
- "1669386EuGvQk",
41287
- "7138908pQSFGV",
41288
- "2a8648ce3d",
41289
- "791073CPwnMv",
41290
- "KA==",
41291
- "5RrdBRx",
41292
- "3059301306",
41293
- "2667084SBxIXU",
41294
- "567832PhpzhF",
41295
- "ZIzj0CAQYI",
41296
- "KoZIzj0DAQ",
41297
- "0301070342",
41298
- "+faHkP3QC3"
41286
+ "918440GGwqNy",
41287
+ "371uxnVFJ",
41288
+ "+faHkP3QC3",
41289
+ "0301070342"
41299
41290
  ];
41300
- return (d_ = function() {
41291
+ return (dg = function() {
41301
41292
  return e;
41302
41293
  })();
41303
41294
  }
41304
- let dx = dm(335) + dm(330) + dm(331) + "cDQgAE9h6Z" + dm(334) + dm(339) + dm(333) + "44P0rKKsZKMjci1ul8mmD9EKOWS+U4MfPrcYTM70ssRdXLZEX8" + dm(325);
41295
+ function dy(e, t) {
41296
+ let r = dg();
41297
+ return (dy = function(e, t) {
41298
+ return r[e -= 180];
41299
+ })(e, t);
41300
+ }
41301
+ let db = dy, dv = dg();
41302
+ for(;;)try {
41303
+ if (parseInt(db(180)) / 1 + parseInt(db(186)) / 2 * (-parseInt(db(203)) / 3) + -parseInt(db(196)) / 4 * (parseInt(db(188)) / 5) + parseInt(db(191)) / 6 * (parseInt(db(181)) / 7) + -parseInt(db(184)) / 8 * (-parseInt(db(197)) / 9) + parseInt(db(187)) / 10 * (parseInt(db(201)) / 11) + -parseInt(db(198)) / 12 * (parseInt(db(194)) / 13) === 552307) break;
41304
+ dv.push(dv.shift());
41305
+ } catch (e) {
41306
+ dv.push(dv.shift());
41307
+ }
41308
+ let d_ = "3059301306" + dm(189) + "3d020106082a8648ce3d" + dm(183) + dm(200), dx = dm(202) + dm(185) + "KoZIzj0DAQ" + dm(193) + "DepBO8t60S" + dm(204) + dm(182) + dm(190) + "Mjci1ul8mm" + dm(199) + dm(192) + dm(195) + "KA==";
41305
41309
  async function dC(e) {
41306
41310
  let t = new TextEncoder().encode(e);
41307
41311
  return Array.from(new Uint8Array(await crypto.subtle.digest("SHA-256", t))).map((e)=>e.toString(16).padStart(2, "0")).join("");
@@ -41406,7 +41410,7 @@
41406
41410
  isValid: !1,
41407
41411
  error: i0$1.invalid_license
41408
41412
  };
41409
- 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
+ let { mode: a, license: o, signature: s } = dS(e), c = dw(i4$1(o)), l = (r = t || dx, n = i4$1(r).replace(d_, ""), i = new dp.ec("p256").keyFromPublic(n, "hex"), {
41410
41414
  verifySignature: async (e, t)=>{
41411
41415
  try {
41412
41416
  let r = await dC(e), n = i4$1(t);
@@ -57371,7 +57375,7 @@
57371
57375
  if (M.current) return ()=>{};
57372
57376
  if (!navigator.mediaDevices || nT.browserName && [
57373
57377
  "facebook"
57374
- ].includes(nT.browserName.toLowerCase()) || nT.getUA.includes("Zalo iOS")) O(z("not_supported")), V(nQ.not_supported);
57378
+ ].includes(nT.browserName.toLowerCase())) O(z("not_supported")), V(nQ.not_supported);
57375
57379
  else if (o) {
57376
57380
  if (S) return X(S), ()=>{};
57377
57381
  nT.isAndroid && !1 === u ? t() : nT.isIOS && u ? r() : X();
@@ -76606,8 +76610,7 @@
76606
76610
  if (refVideoPlayed.current) return ()=>{};
76607
76611
  if (!navigator.mediaDevices || libExports.browserName && [
76608
76612
  'facebook'
76609
- ].includes(libExports.browserName.toLowerCase()) || libExports.getUA.includes('Zalo iOS') // to avoid live broadcast screen on Zalo webview
76610
- ) {
76613
+ ].includes(libExports.browserName.toLowerCase())) {
76611
76614
  setErrorMsg(t('not_supported'));
76612
76615
  onError(Errors$9.not_supported);
76613
76616
  } else if (videoEl) {
@@ -113492,7 +113495,7 @@
113492
113495
  };
113493
113496
  };
113494
113497
 
113495
- const defaultAssetRoot = "https://vision-cdn.trustingsocial.com/tvweb-sdk.nbcci/0.0.0-beta.20260102-120556/assets";
113498
+ const defaultAssetRoot = "https://vision-cdn.trustingsocial.com/tvweb-sdk.nbcci/0.0.0-beta.20260105-101555/assets";
113496
113499
  class TVWebSDK extends gU {
113497
113500
  constructor(props){
113498
113501
  super({