pb-sxp-ui 1.19.0 → 1.19.1

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.
package/dist/index.js CHANGED
@@ -19463,7 +19463,7 @@ const SxpPageRender = ({ globalConfig, descStyle, containerHeight = window.inner
19463
19463
  if (activeGroups === null || activeGroups === void 0 ? void 0 : activeGroups.includes('4')) {
19464
19464
  if (fbcRef.current && !(beForeactiveGroups === null || beForeactiveGroups === void 0 ? void 0 : beForeactiveGroups.includes('4'))) ;
19465
19465
  }
19466
- else if (beForeactiveGroups === null || beForeactiveGroups === void 0 ? void 0 : beForeactiveGroups.includes('4')) {
19466
+ else {
19467
19467
  fbcRef.current = getCookie('_fbp');
19468
19468
  function extractRootDomain(hostname) {
19469
19469
  // 处理特殊情况
@@ -19480,14 +19480,16 @@ const SxpPageRender = ({ globalConfig, descStyle, containerHeight = window.inner
19480
19480
  deleteCookie('_fbp', '/', extractRootDomain(window.location.hostname));
19481
19481
  const item = data[activeIndex];
19482
19482
  const traceInfo = ((_a = item === null || item === void 0 ? void 0 : item.video) === null || _a === void 0 ? void 0 : _a.traceInfo) || ((_b = item === null || item === void 0 ? void 0 : item.product) === null || _b === void 0 ? void 0 : _b.traceInfo) || '';
19483
- bffEventReport === null || bffEventReport === void 0 ? void 0 : bffEventReport({
19484
- eventInfo: {
19485
- eventSubject: 'refuseCookie',
19486
- eventDescription: 'refuseCookie',
19487
- traceInfo
19488
- },
19489
- isActiveTargetingCookie: false
19490
- });
19483
+ if (beForeactiveGroups === null || beForeactiveGroups === void 0 ? void 0 : beForeactiveGroups.includes('4')) {
19484
+ bffEventReport === null || bffEventReport === void 0 ? void 0 : bffEventReport({
19485
+ eventInfo: {
19486
+ eventSubject: 'refuseCookie',
19487
+ eventDescription: 'refuseCookie',
19488
+ traceInfo
19489
+ },
19490
+ isActiveTargetingCookie: false
19491
+ });
19492
+ }
19491
19493
  }
19492
19494
  };
19493
19495
  }