pb-sxp-ui 1.20.3 → 1.20.4

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.
Files changed (37) hide show
  1. package/dist/index.cjs +210 -87
  2. package/dist/index.cjs.map +1 -1
  3. package/dist/index.js +210 -87
  4. package/dist/index.js.map +1 -1
  5. package/dist/index.min.cjs +8 -8
  6. package/dist/index.min.cjs.map +1 -1
  7. package/dist/index.min.js +8 -8
  8. package/dist/index.min.js.map +1 -1
  9. package/dist/pb-ui.js +210 -87
  10. package/dist/pb-ui.js.map +1 -1
  11. package/dist/pb-ui.min.js +8 -8
  12. package/dist/pb-ui.min.js.map +1 -1
  13. package/es/core/components/SxpPageRender/WaterFall/List.js +8 -17
  14. package/es/core/components/SxpPageRender/WaterFall/WaterfallList.js +3 -13
  15. package/es/core/components/SxpPageRender/WaterFall/index.d.ts +0 -2
  16. package/es/core/components/SxpPageRender/WaterFall/index.js +8 -1
  17. package/es/core/components/SxpPageRender/index.js +23 -21
  18. package/es/core/context/SxpDataSourceProvider.js +3 -16
  19. package/es/materials/sxp/cta/AniLink/index.js +13 -2
  20. package/es/materials/sxp/cta/AniLinkPopup/index.js +13 -2
  21. package/es/materials/sxp/popup/CommodityDetail/index.js +54 -3
  22. package/es/materials/sxp/popup/CommodityDetailDiroNew/index.js +55 -4
  23. package/es/materials/sxp/popup/CommodityList/index.js +13 -1
  24. package/es/materials/sxp/template/components/EventProvider.js +19 -7
  25. package/lib/core/components/SxpPageRender/WaterFall/List.js +8 -17
  26. package/lib/core/components/SxpPageRender/WaterFall/WaterfallList.js +3 -13
  27. package/lib/core/components/SxpPageRender/WaterFall/index.d.ts +0 -2
  28. package/lib/core/components/SxpPageRender/WaterFall/index.js +8 -1
  29. package/lib/core/components/SxpPageRender/index.js +23 -21
  30. package/lib/core/context/SxpDataSourceProvider.js +3 -16
  31. package/lib/materials/sxp/cta/AniLink/index.js +13 -2
  32. package/lib/materials/sxp/cta/AniLinkPopup/index.js +13 -2
  33. package/lib/materials/sxp/popup/CommodityDetail/index.js +54 -3
  34. package/lib/materials/sxp/popup/CommodityDetailDiroNew/index.js +55 -4
  35. package/lib/materials/sxp/popup/CommodityList/index.js +13 -1
  36. package/lib/materials/sxp/template/components/EventProvider.js +19 -7
  37. package/package.json +1 -1
package/dist/index.cjs CHANGED
@@ -1004,7 +1004,7 @@ const SxpDataSourceProvider = ({ render, dataSources, utmVal, enableReportEvent
1004
1004
  }
1005
1005
  });
1006
1006
  };
1007
- }, [bffCollectEvent]);
1007
+ }, []);
1008
1008
  React.useEffect(() => {
1009
1009
  const originalOpen = XMLHttpRequest.prototype.open;
1010
1010
  const originalSend = XMLHttpRequest.prototype.send;
@@ -1244,7 +1244,7 @@ const SxpDataSourceProvider = ({ render, dataSources, utmVal, enableReportEvent
1244
1244
  const productCustomData = {
1245
1245
  content_ids: [product === null || product === void 0 ? void 0 : product.itemId],
1246
1246
  content_type: 'product',
1247
- content_name: product === null || product === void 0 ? void 0 : product.title,
1247
+ content_name: '',
1248
1248
  contents: [{
1249
1249
  item_id: product === null || product === void 0 ? void 0 : product.itemId,
1250
1250
  item_price: product === null || product === void 0 ? void 0 : product.price
@@ -1434,20 +1434,7 @@ const SxpDataSourceProvider = ({ render, dataSources, utmVal, enableReportEvent
1434
1434
  bffEventReport === null || bffEventReport === void 0 ? void 0 : bffEventReport({
1435
1435
  eventInfo: Object.assign(Object.assign({}, eventInfo), { ctaId: (_r = cta === null || cta === void 0 ? void 0 : cta.itemId) !== null && _r !== void 0 ? _r : '', ctaName: (_s = cta === null || cta === void 0 ? void 0 : cta.title) !== null && _s !== void 0 ? _s : '', contentTags: contentTags ? JSON.stringify(contentTags) : '', position: position + '', contentId: (_u = (_t = rec === null || rec === void 0 ? void 0 : rec.video) === null || _t === void 0 ? void 0 : _t.itemId) !== null && _u !== void 0 ? _u : '', productId: isProd ? product === null || product === void 0 ? void 0 : product.itemId : '', traceInfo: (_10 = (_7 = (_2 = (_y = (_v = cta === null || cta === void 0 ? void 0 : cta.traceInfo) !== null && _v !== void 0 ? _v : (_x = (_w = rec === null || rec === void 0 ? void 0 : rec.video) === null || _w === void 0 ? void 0 : _w.bindCta) === null || _x === void 0 ? void 0 : _x.traceInfo) !== null && _y !== void 0 ? _y : (_1 = (_0 = (_z = rec === null || rec === void 0 ? void 0 : rec.video) === null || _z === void 0 ? void 0 : _z.bindProduct) === null || _0 === void 0 ? void 0 : _0.bindCta) === null || _1 === void 0 ? void 0 : _1.traceInfo) !== null && _2 !== void 0 ? _2 : (_6 = (_5 = (_4 = (_3 = rec === null || rec === void 0 ? void 0 : rec.video) === null || _3 === void 0 ? void 0 : _3.bindProducts) === null || _4 === void 0 ? void 0 : _4[0]) === null || _5 === void 0 ? void 0 : _5.bindCta) === null || _6 === void 0 ? void 0 : _6.traceInfo) !== null && _7 !== void 0 ? _7 : (_9 = (_8 = rec === null || rec === void 0 ? void 0 : rec.product) === null || _8 === void 0 ? void 0 : _8.bindCta) === null || _9 === void 0 ? void 0 : _9.traceInfo) !== null && _10 !== void 0 ? _10 : '', fromKName, fromKPage: (_11 = location === null || location === void 0 ? void 0 : location.href) !== null && _11 !== void 0 ? _11 : '', contentFormat })
1436
1436
  });
1437
- if ((eventInfo === null || eventInfo === void 0 ? void 0 : eventInfo.eventSubject) === 'clickCta') {
1438
- bffFbReport === null || bffFbReport === void 0 ? void 0 : bffFbReport({
1439
- eventName: 'ClickCTA',
1440
- product: product ? [product] : undefined,
1441
- contentType: contentType !== null && contentType !== void 0 ? contentType : 'post',
1442
- rec,
1443
- position,
1444
- cta_text: cta === null || cta === void 0 ? void 0 : cta.enTitle,
1445
- cta_action_type: ctaActionType,
1446
- target_content_id: product === null || product === void 0 ? void 0 : product.itemId,
1447
- target_url: targetUrl
1448
- });
1449
- }
1450
- }, [bffEventReport, isFromHashtag, bffFbReport]);
1437
+ }, [bffEventReport, isFromHashtag]);
1451
1438
  const h5EnterLink = React.useCallback(() => {
1452
1439
  var _a, _b;
1453
1440
  const time = new Date();
@@ -10882,29 +10869,79 @@ const CommodityDetail$1 = (_a) => {
10882
10869
  ctaEvent === null || ctaEvent === void 0 ? void 0 : ctaEvent({
10883
10870
  eventSubject: 'clickCta',
10884
10871
  eventDescription: 'User clicked the CTA'
10885
- }, data, product, position, 'open_external_link', product.link, 'product');
10872
+ }, data, product, position);
10873
+ bffFbReport === null || bffFbReport === void 0 ? void 0 : bffFbReport({
10874
+ eventName: 'ClickCTA',
10875
+ product: product ? [product] : undefined,
10876
+ contentType: 'product',
10877
+ data,
10878
+ position,
10879
+ cta_text: cta === null || cta === void 0 ? void 0 : cta.enTitle,
10880
+ cta_action_type: 'open_external_link',
10881
+ target_content_id: product === null || product === void 0 ? void 0 : product.itemId,
10882
+ target_url: product.link
10883
+ });
10886
10884
  }
10887
10885
  window.location.href = window.getJointUtmLink(product.link);
10888
10886
  }
10889
10887
  };
10890
10888
  React.useEffect(() => {
10889
+ var _a;
10891
10890
  if (!isActive)
10892
10891
  return;
10892
+ const recData = Object.assign(Object.assign({}, data), { video: (data === null || data === void 0 ? void 0 : data.video) ? Object.assign(Object.assign({}, data === null || data === void 0 ? void 0 : data.video), { title: '', imgUrls: !isPost ? product === null || product === void 0 ? void 0 : product.homePage : (_a = data === null || data === void 0 ? void 0 : data.video) === null || _a === void 0 ? void 0 : _a.imgUrls }) : null });
10893
10893
  bffFbReport === null || bffFbReport === void 0 ? void 0 : bffFbReport({
10894
10894
  eventName: 'ProductView',
10895
10895
  product: product ? [product] : undefined,
10896
10896
  contentType: 'product',
10897
- rec: data,
10897
+ rec: recData,
10898
10898
  position
10899
10899
  });
10900
10900
  bffFbReport === null || bffFbReport === void 0 ? void 0 : bffFbReport({
10901
10901
  eventName: 'PageView',
10902
10902
  product: product ? [product] : undefined,
10903
10903
  contentType: 'product',
10904
- rec: data,
10904
+ rec: recData,
10905
10905
  position
10906
10906
  });
10907
10907
  }, [isActive, bffFbReport]);
10908
+ React.useEffect(() => {
10909
+ if (!isActive || isPost)
10910
+ return;
10911
+ const onShow = () => {
10912
+ curTimeRef.current = new Date();
10913
+ };
10914
+ const recData = Object.assign(Object.assign({}, data), { video: (data === null || data === void 0 ? void 0 : data.video) ? Object.assign(Object.assign({}, data === null || data === void 0 ? void 0 : data.video), { title: '' }) : null });
10915
+ const onHide = () => {
10916
+ var _a;
10917
+ bffFbReport === null || bffFbReport === void 0 ? void 0 : bffFbReport({
10918
+ eventName: 'ExitFeed',
10919
+ product: product ? [product] : undefined,
10920
+ contentType: 'product',
10921
+ rec: recData,
10922
+ position,
10923
+ view_time: new Date() - curTimeRef.current,
10924
+ content_id: (_a = product === null || product === void 0 ? void 0 : product.itemId) !== null && _a !== void 0 ? _a : ''
10925
+ });
10926
+ };
10927
+ SXP_EVENT_BUS.on(SXP_EVENT_TYPE.PAGE_DID_SHOW, () => onShow());
10928
+ SXP_EVENT_BUS.on(SXP_EVENT_TYPE.PAGE_DID_HIDE, () => onHide());
10929
+ return () => {
10930
+ var _a;
10931
+ bffFbReport === null || bffFbReport === void 0 ? void 0 : bffFbReport({
10932
+ eventName: 'Engagement',
10933
+ product: product ? [product] : undefined,
10934
+ rec: recData,
10935
+ position,
10936
+ content_id: (_a = product === null || product === void 0 ? void 0 : product.itemId) !== null && _a !== void 0 ? _a : '',
10937
+ engagement_type: 'close_popup',
10938
+ contentType: 'product',
10939
+ view_time: new Date() - curTimeRef.current
10940
+ });
10941
+ SXP_EVENT_BUS.off(SXP_EVENT_TYPE.PAGE_DID_SHOW, () => onShow());
10942
+ SXP_EVENT_BUS.off(SXP_EVENT_TYPE.PAGE_DID_HIDE, () => onHide());
10943
+ };
10944
+ }, [isActive, isPost, bffFbReport, data, product, position, curTimeRef]);
10908
10945
  React.useEffect(() => {
10909
10946
  const initTime = () => {
10910
10947
  curTimeRef.current = new Date();
@@ -11795,29 +11832,79 @@ const CommodityDetailDiroNew$1 = (_a) => {
11795
11832
  ctaEvent === null || ctaEvent === void 0 ? void 0 : ctaEvent({
11796
11833
  eventSubject: 'clickCta',
11797
11834
  eventDescription: 'User clicked the CTA'
11798
- }, data, product, position, 'open_external_link', product.link, 'product');
11835
+ }, data, product, position);
11836
+ bffFbReport === null || bffFbReport === void 0 ? void 0 : bffFbReport({
11837
+ eventName: 'ClickCTA',
11838
+ product: product ? [product] : undefined,
11839
+ contentType: 'product',
11840
+ data,
11841
+ position,
11842
+ cta_text: cta === null || cta === void 0 ? void 0 : cta.enTitle,
11843
+ cta_action_type: 'open_external_link',
11844
+ target_content_id: product === null || product === void 0 ? void 0 : product.itemId,
11845
+ target_url: product.link
11846
+ });
11799
11847
  }
11800
11848
  window.location.href = window.getJointUtmLink(product.link);
11801
11849
  }
11802
11850
  };
11803
11851
  React.useEffect(() => {
11852
+ var _a;
11804
11853
  if (!isActive)
11805
11854
  return;
11855
+ const recData = Object.assign(Object.assign({}, data), { video: (data === null || data === void 0 ? void 0 : data.video) ? Object.assign(Object.assign({}, data === null || data === void 0 ? void 0 : data.video), { title: '', imgUrls: !isPost ? product === null || product === void 0 ? void 0 : product.homePage : (_a = data === null || data === void 0 ? void 0 : data.video) === null || _a === void 0 ? void 0 : _a.imgUrls }) : null });
11806
11856
  bffFbReport === null || bffFbReport === void 0 ? void 0 : bffFbReport({
11807
11857
  eventName: 'ProductView',
11808
11858
  product: product ? [product] : undefined,
11809
11859
  contentType: 'product',
11810
- rec: data,
11860
+ rec: recData,
11811
11861
  position
11812
11862
  });
11813
11863
  bffFbReport === null || bffFbReport === void 0 ? void 0 : bffFbReport({
11814
11864
  eventName: 'PageView',
11815
11865
  product: product ? [product] : undefined,
11816
11866
  contentType: 'product',
11817
- rec: data,
11867
+ rec: recData,
11818
11868
  position
11819
11869
  });
11820
- }, [isActive, bffFbReport]);
11870
+ }, [isActive, bffFbReport, isPost]);
11871
+ React.useEffect(() => {
11872
+ if (!isActive || isPost)
11873
+ return;
11874
+ const onShow = () => {
11875
+ curTimeRef.current = new Date();
11876
+ };
11877
+ const recData = Object.assign(Object.assign({}, data), { video: (data === null || data === void 0 ? void 0 : data.video) ? Object.assign(Object.assign({}, data === null || data === void 0 ? void 0 : data.video), { title: '' }) : null });
11878
+ const onHide = () => {
11879
+ var _a;
11880
+ bffFbReport === null || bffFbReport === void 0 ? void 0 : bffFbReport({
11881
+ eventName: 'ExitFeed',
11882
+ product: product ? [product] : undefined,
11883
+ contentType: 'product',
11884
+ rec: recData,
11885
+ position,
11886
+ view_time: new Date() - curTimeRef.current,
11887
+ content_id: (_a = product === null || product === void 0 ? void 0 : product.itemId) !== null && _a !== void 0 ? _a : ''
11888
+ });
11889
+ };
11890
+ SXP_EVENT_BUS.on(SXP_EVENT_TYPE.PAGE_DID_SHOW, () => onShow());
11891
+ SXP_EVENT_BUS.on(SXP_EVENT_TYPE.PAGE_DID_HIDE, () => onHide());
11892
+ return () => {
11893
+ var _a;
11894
+ bffFbReport === null || bffFbReport === void 0 ? void 0 : bffFbReport({
11895
+ eventName: 'Engagement',
11896
+ product: product ? [product] : undefined,
11897
+ rec: recData,
11898
+ position,
11899
+ content_id: (_a = product === null || product === void 0 ? void 0 : product.itemId) !== null && _a !== void 0 ? _a : '',
11900
+ engagement_type: 'close_popup',
11901
+ contentType: 'product',
11902
+ view_time: new Date() - curTimeRef.current
11903
+ });
11904
+ SXP_EVENT_BUS.off(SXP_EVENT_TYPE.PAGE_DID_SHOW, () => onShow());
11905
+ SXP_EVENT_BUS.off(SXP_EVENT_TYPE.PAGE_DID_HIDE, () => onHide());
11906
+ };
11907
+ }, [isActive, isPost, bffFbReport, data, product, position, curTimeRef]);
11821
11908
  React.useEffect(() => {
11822
11909
  const initTime = () => {
11823
11910
  if (!isActive)
@@ -12482,10 +12569,22 @@ const CommodityList$1 = (_a) => {
12482
12569
  });
12483
12570
  }, [(_d = commodityStyles === null || commodityStyles === void 0 ? void 0 : commodityStyles.price) === null || _d === void 0 ? void 0 : _d.enableFormattedPrice, globalConfig]);
12484
12571
  const handleClick = lodash.throttle((item, multiCheckIndex, e) => {
12572
+ var _a;
12485
12573
  ctaEvent === null || ctaEvent === void 0 ? void 0 : ctaEvent({
12486
12574
  eventSubject: 'clickCta',
12487
12575
  eventDescription: 'User clicked the CTA'
12488
- }, recData, item, index, isExternalLink && !!(item === null || item === void 0 ? void 0 : item.link) ? 'open_external_link' : 'open_internal_popup', item.link, 'product');
12576
+ }, recData, item, index);
12577
+ bffFbReport === null || bffFbReport === void 0 ? void 0 : bffFbReport({
12578
+ eventName: 'ClickCTA',
12579
+ product: item ? [item] : undefined,
12580
+ contentType: 'product',
12581
+ recData,
12582
+ index,
12583
+ cta_text: (_a = item === null || item === void 0 ? void 0 : item.bindCta) === null || _a === void 0 ? void 0 : _a.enTitle,
12584
+ cta_action_type: isExternalLink && !!(item === null || item === void 0 ? void 0 : item.link) ? 'open_external_link' : 'open_internal_popup',
12585
+ target_content_id: item === null || item === void 0 ? void 0 : item.itemId,
12586
+ target_url: item.link
12587
+ });
12489
12588
  setPopupDetailData === null || setPopupDetailData === void 0 ? void 0 : setPopupDetailData(Object.assign(Object.assign({}, recData), { video: Object.assign(Object.assign({}, recData === null || recData === void 0 ? void 0 : recData.video), { bindProduct: item }), index, multiCheckIndex }));
12490
12589
  if (isExternalLink) {
12491
12590
  if (!(item === null || item === void 0 ? void 0 : item.link))
@@ -13015,26 +13114,38 @@ const EventProvider = (_a) => {
13015
13114
  var { rec, children, className, onClick, style, isExternalLink = false, index, jumpLink, multItem, multiCheckIndex } = _a; __rest(_a, ["rec", "children", "className", "onClick", "style", "isExternalLink", "index", "jumpLink", "multItem", "multiCheckIndex"]);
13016
13115
  const ref = React.useRef(null);
13017
13116
  const { popup } = useEditor();
13018
- const { setPopupDetailData, ctaEvent } = useSxpDataSource();
13117
+ const { setPopupDetailData, ctaEvent, bffFbReport } = useSxpDataSource();
13019
13118
  const { jumpToWeb } = useEventReport();
13020
13119
  const [element, setElement] = React.useState(null);
13021
13120
  const handleClick = lodash.throttle((e) => {
13022
- var _a, _b, _c, _d, _e, _f;
13121
+ var _a, _b, _c, _d, _e, _f, _g, _h;
13023
13122
  e.preventDefault();
13024
13123
  const item = multItem || ((_b = (_a = rec === null || rec === void 0 ? void 0 : rec.video) === null || _a === void 0 ? void 0 : _a.bindProduct) !== null && _b !== void 0 ? _b : rec === null || rec === void 0 ? void 0 : rec.video);
13025
- const link = ((_d = (_c = rec === null || rec === void 0 ? void 0 : rec.video) === null || _c === void 0 ? void 0 : _c.bindProduct) === null || _d === void 0 ? void 0 : _d.link) || (multItem === null || multItem === void 0 ? void 0 : multItem.link);
13124
+ const link = jumpLink || ((_d = (_c = rec === null || rec === void 0 ? void 0 : rec.video) === null || _c === void 0 ? void 0 : _c.bindProduct) === null || _d === void 0 ? void 0 : _d.link) || (multItem === null || multItem === void 0 ? void 0 : multItem.link) || '';
13026
13125
  ctaEvent === null || ctaEvent === void 0 ? void 0 : ctaEvent({
13027
13126
  eventSubject: 'clickCta',
13028
13127
  eventDescription: 'User clicked the CTA'
13029
- }, rec, item, index, isExternalLink && (jumpLink || !!link) ? 'open_external_link' : 'open_internal_popup', link);
13128
+ }, rec, item, index);
13129
+ const product = multItem || ((_e = rec === null || rec === void 0 ? void 0 : rec.video) === null || _e === void 0 ? void 0 : _e.bindProduct);
13130
+ bffFbReport === null || bffFbReport === void 0 ? void 0 : bffFbReport({
13131
+ eventName: 'ClickCTA',
13132
+ product: product ? [product] : undefined,
13133
+ contentType: 'post',
13134
+ rec,
13135
+ index,
13136
+ cta_text: (_f = item === null || item === void 0 ? void 0 : item.bindCta) === null || _f === void 0 ? void 0 : _f.enTitle,
13137
+ cta_action_type: isExternalLink && (!!link) ? 'open_external_link' : 'open_internal_popup',
13138
+ target_content_id: product === null || product === void 0 ? void 0 : product.itemId,
13139
+ target_url: link
13140
+ });
13030
13141
  setPopupDetailData === null || setPopupDetailData === void 0 ? void 0 : setPopupDetailData(multItem && multiCheckIndex !== undefined && multiCheckIndex >= 0
13031
13142
  ? Object.assign(Object.assign({}, rec), { video: Object.assign(Object.assign({}, rec === null || rec === void 0 ? void 0 : rec.video), { bindProduct: multItem }), index, multiCheckIndex }) : Object.assign(Object.assign({}, rec), { index }));
13032
13143
  setElement(ref === null || ref === void 0 ? void 0 : ref.current);
13033
13144
  if (isExternalLink) {
13034
- if (!jumpLink && !link)
13145
+ if (!link)
13035
13146
  return;
13036
- const cta = ((_e = rec === null || rec === void 0 ? void 0 : rec.video) === null || _e === void 0 ? void 0 : _e.bindCta) || (multItem === null || multItem === void 0 ? void 0 : multItem.bindCta);
13037
- const product = ((_f = rec === null || rec === void 0 ? void 0 : rec.video) === null || _f === void 0 ? void 0 : _f.bindProduct) || multItem;
13147
+ const cta = ((_g = rec === null || rec === void 0 ? void 0 : rec.video) === null || _g === void 0 ? void 0 : _g.bindCta) || (multItem === null || multItem === void 0 ? void 0 : multItem.bindCta);
13148
+ const product = ((_h = rec === null || rec === void 0 ? void 0 : rec.video) === null || _h === void 0 ? void 0 : _h.bindProduct) || multItem;
13038
13149
  jumpToWeb(e, rec, product, cta, index);
13039
13150
  window.location.href = window.getJointUtmLink(link);
13040
13151
  }
@@ -15521,7 +15632,7 @@ var previewData = {
15521
15632
 
15522
15633
  const WaterfallFlowItem$1 = (props) => {
15523
15634
  var _a;
15524
- const { rec, style = {}, sizeChange = () => { }, unitWidth, index, showBorder, list, reportTagsView, textStyles, space } = props;
15635
+ const { listItem, style = {}, sizeChange = () => { }, unitWidth, index, showBorder, list, reportTagsView, textStyles, space } = props;
15525
15636
  const { swiperRef, setRtcList, setOpenHashtag, sxpParameter, globalConfig } = useSxpDataSource();
15526
15637
  const [showVideo, setShowVideo] = React.useState(false);
15527
15638
  React.useState(false);
@@ -15534,6 +15645,7 @@ const WaterfallFlowItem$1 = (props) => {
15534
15645
  React.useRef(null);
15535
15646
  React.useRef(null);
15536
15647
  const [firstFrameSrc, setFirstFrameSrc] = React.useState('');
15648
+ const rec = listItem;
15537
15649
  const src = React.useMemo(() => {
15538
15650
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
15539
15651
  if ((_a = rec === null || rec === void 0 ? void 0 : rec.video) === null || _a === void 0 ? void 0 : _a.cover) {
@@ -15756,17 +15868,6 @@ function WaterfallList$1(_a) {
15756
15868
  const list = (_b = (_a = res === null || res === void 0 ? void 0 : res.recList) === null || _a === void 0 ? void 0 : _a.filter((item) => (item === null || item === void 0 ? void 0 : item.video) !== null || (item === null || item === void 0 ? void 0 : item.product) !== null)) !== null && _b !== void 0 ? _b : [];
15757
15869
  setList(list);
15758
15870
  setIsLoadingData(false);
15759
- const products = [];
15760
- list === null || list === void 0 ? void 0 : list.forEach((item) => {
15761
- var _a, _b;
15762
- products.push(...((_b = (_a = item === null || item === void 0 ? void 0 : item.video) === null || _a === void 0 ? void 0 : _a.bindProducts) !== null && _b !== void 0 ? _b : []));
15763
- });
15764
- bffFbReport === null || bffFbReport === void 0 ? void 0 : bffFbReport({
15765
- eventName: 'PageView',
15766
- product: products,
15767
- rec: waterFallData === null || waterFallData === void 0 ? void 0 : waterFallData.rec,
15768
- position: cacheActiveIndex
15769
- });
15770
15871
  }));
15771
15872
  if (isOpenHashTag) {
15772
15873
  const res = previewData;
@@ -15854,7 +15955,7 @@ function WaterfallList$1(_a) {
15854
15955
  React.createElement("div", { className: 'waterFallList-content' }, list === null || list === void 0 ? void 0 :
15855
15956
  list.map((item, ind) => {
15856
15957
  var _a;
15857
- return (React.createElement(WaterfallFlowItem$1, Object.assign({ key: ind, index: ind, rec: item, list: list, showBorder: scrollTop + ((_a = scrollParent === null || scrollParent === void 0 ? void 0 : scrollParent.current) === null || _a === void 0 ? void 0 : _a.clientHeight), style: styleList[ind], sizeChange: onSizeChange, unitWidth: unitWidth, reportTagsView: reportTagsView }, props)));
15958
+ return (React.createElement(WaterfallFlowItem$1, Object.assign({ key: ind, index: ind, listItem: item, list: list, showBorder: scrollTop + ((_a = scrollParent === null || scrollParent === void 0 ? void 0 : scrollParent.current) === null || _a === void 0 ? void 0 : _a.clientHeight), style: styleList[ind], sizeChange: onSizeChange, unitWidth: unitWidth, reportTagsView: reportTagsView }, props)));
15858
15959
  }),
15859
15960
  React.createElement("div", { hidden: !((_l = data === null || data === void 0 ? void 0 : data.tag) === null || _l === void 0 ? void 0 : _l.link), style: {
15860
15961
  position: 'absolute',
@@ -15876,7 +15977,8 @@ var img$6 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeA
15876
15977
 
15877
15978
  const WaterfallFlowItem = (props) => {
15878
15979
  var _a;
15879
- const { rec, index, list, reportTagsView, textStyles, space, openFixedSize, fixedSizeRatio } = props;
15980
+ const { listItem, index, list, reportTagsView, textStyles, space, openFixedSize, fixedSizeRatio } = props;
15981
+ const rec = listItem;
15880
15982
  const { swiperRef, setRtcList, setOpenHashtag, sxpParameter, globalConfig } = useSxpDataSource();
15881
15983
  const [showVideo, setShowVideo] = React.useState(false);
15882
15984
  const imgDom = React.useRef(null);
@@ -16011,8 +16113,8 @@ function WaterfallList(_a) {
16011
16113
  React.useEffect(() => {
16012
16114
  var _a, _b;
16013
16115
  setIsLoadingData(true);
16014
- waterFallData &&
16015
- (getRecommendVideos === null || getRecommendVideos === void 0 ? void 0 : getRecommendVideos({
16116
+ if (waterFallData) {
16117
+ getRecommendVideos === null || getRecommendVideos === void 0 ? void 0 : getRecommendVideos({
16016
16118
  hashTag: waterFallData === null || waterFallData === void 0 ? void 0 : waterFallData.hashTag,
16017
16119
  defaultSize: hashTagSize,
16018
16120
  maxSize: hashTagSize
@@ -16022,19 +16124,9 @@ function WaterfallList(_a) {
16022
16124
  const list = (_b = (_a = res === null || res === void 0 ? void 0 : res.recList) === null || _a === void 0 ? void 0 : _a.filter((item) => (item === null || item === void 0 ? void 0 : item.video) !== null || (item === null || item === void 0 ? void 0 : item.product) !== null)) !== null && _b !== void 0 ? _b : [];
16023
16125
  setList(list);
16024
16126
  setIsLoadingData(false);
16025
- const products = [];
16026
- list === null || list === void 0 ? void 0 : list.forEach((item) => {
16027
- var _a, _b;
16028
- products.push(...((_b = (_a = item === null || item === void 0 ? void 0 : item.video) === null || _a === void 0 ? void 0 : _a.bindProducts) !== null && _b !== void 0 ? _b : []));
16029
- });
16030
- bffFbReport === null || bffFbReport === void 0 ? void 0 : bffFbReport({
16031
- eventName: 'PageView',
16032
- product: products,
16033
- rec: waterFallData === null || waterFallData === void 0 ? void 0 : waterFallData.rec,
16034
- position: cacheActiveIndex
16035
- });
16036
- }));
16037
- if (isOpenHashTag) {
16127
+ });
16128
+ }
16129
+ else if (isOpenHashTag) {
16038
16130
  const res = previewData;
16039
16131
  setData(res);
16040
16132
  setList((_b = (_a = res === null || res === void 0 ? void 0 : res.recList) === null || _a === void 0 ? void 0 : _a.filter((item) => (item === null || item === void 0 ? void 0 : item.video) !== null || (item === null || item === void 0 ? void 0 : item.product) !== null)) !== null && _b !== void 0 ? _b : []);
@@ -16082,7 +16174,7 @@ function WaterfallList(_a) {
16082
16174
  __html: setFontForText(((_j = data === null || data === void 0 ? void 0 : data.tag) === null || _j === void 0 ? void 0 : _j.linkTitle) || 'Shop the collection', (_k = props === null || props === void 0 ? void 0 : props.textStyles) === null || _k === void 0 ? void 0 : _k.hashTagLink)
16083
16175
  } }),
16084
16176
  React.createElement("div", { className: 'list-content' }, list === null || list === void 0 ? void 0 : list.map((item, ind) => {
16085
- return (React.createElement(WaterfallFlowItem, Object.assign({ key: ind, index: ind, rec: item, list: list, reportTagsView: reportTagsView }, props)));
16177
+ return (React.createElement(WaterfallFlowItem, Object.assign({ key: ind, index: ind, listItem: item, list: list, reportTagsView: reportTagsView }, props)));
16086
16178
  })),
16087
16179
  React.createElement("div", { hidden: !isLoadMore, style: { textAlign: 'center' } }, "loading..."),
16088
16180
  React.createElement("div", { hidden: !((_l = data === null || data === void 0 ? void 0 : data.tag) === null || _l === void 0 ? void 0 : _l.link), style: {
@@ -16171,10 +16263,17 @@ const WaterFall = (props) => {
16171
16263
  });
16172
16264
  }, [recData, bffEventReport, viewTime, isFromHashtag, cacheActiveIndex]);
16173
16265
  React.useEffect(() => {
16266
+ var _a, _b;
16174
16267
  if (openHashtag) {
16175
16268
  setViewTime(new Date());
16269
+ bffFbReport === null || bffFbReport === void 0 ? void 0 : bffFbReport({
16270
+ eventName: 'PageView',
16271
+ product: (_b = (_a = waterFallData === null || waterFallData === void 0 ? void 0 : waterFallData.rec) === null || _a === void 0 ? void 0 : _a.video) === null || _b === void 0 ? void 0 : _b.bindProducts,
16272
+ rec: waterFallData === null || waterFallData === void 0 ? void 0 : waterFallData.rec,
16273
+ position: cacheActiveIndex
16274
+ });
16176
16275
  }
16177
- }, [openHashtag]);
16276
+ }, [openHashtag, bffFbReport, waterFallData, cacheActiveIndex]);
16178
16277
  React.useEffect(() => {
16179
16278
  const initTime = () => {
16180
16279
  setViewTime(new Date());
@@ -16485,7 +16584,7 @@ var styles$1 = {"animated-button":"index-module_animated-button__lqTbg","gradien
16485
16584
  const AniLink$1 = (_a) => {
16486
16585
  var _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
16487
16586
  var { style, recData, ctaTempStyles, index, event, onClick, isExternalLink = false, isActive } = _a, props = __rest(_a, ["style", "recData", "ctaTempStyles", "index", "event", "onClick", "isExternalLink", "isActive"]);
16488
- const { ctaEvent, setPopupDetailData } = useSxpDataSource();
16587
+ const { ctaEvent, setPopupDetailData, bffFbReport } = useSxpDataSource();
16489
16588
  const { jumpToWeb } = useEventReport();
16490
16589
  const [visible, setVisible] = React.useState(false);
16491
16590
  const ref = React.useRef(null);
@@ -16499,7 +16598,18 @@ const AniLink$1 = (_a) => {
16499
16598
  ctaEvent === null || ctaEvent === void 0 ? void 0 : ctaEvent({
16500
16599
  eventSubject: 'clickCta',
16501
16600
  eventDescription: 'User clicked the CTA'
16502
- }, recData, item, index, (isExternalLink && !!link) ? 'open_external_link' : 'open_internal_popup', link);
16601
+ }, recData, item, index);
16602
+ bffFbReport === null || bffFbReport === void 0 ? void 0 : bffFbReport({
16603
+ eventName: 'ClickCTA',
16604
+ product: product ? [product] : undefined,
16605
+ contentType: 'post',
16606
+ recData,
16607
+ index,
16608
+ cta_text: cta === null || cta === void 0 ? void 0 : cta.enTitle,
16609
+ cta_action_type: (isExternalLink && !!link) ? 'open_external_link' : 'open_internal_popup',
16610
+ target_content_id: product === null || product === void 0 ? void 0 : product.itemId,
16611
+ target_url: link
16612
+ });
16503
16613
  setPopupDetailData === null || setPopupDetailData === void 0 ? void 0 : setPopupDetailData(Object.assign(Object.assign({}, recData), { index }));
16504
16614
  if (isExternalLink) {
16505
16615
  if (!link)
@@ -16988,7 +17098,7 @@ const AniLinkPopup$1 = (_a) => {
16988
17098
  var _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z;
16989
17099
  var { style, recData, ctaTempStyles, index, event, bottom_image, translateY, isTel, onClick, isExternalLink = false, isActive } = _a, props = __rest(_a, ["style", "recData", "ctaTempStyles", "index", "event", "bottom_image", "translateY", "isTel", "onClick", "isExternalLink", "isActive"]);
16990
17100
  style === null || style === void 0 ? true : delete style.transform;
16991
- const { sxpParameter, globalConfig, ctaEvent, setPopupDetailData } = useSxpDataSource();
17101
+ const { sxpParameter, globalConfig, ctaEvent, setPopupDetailData, bffFbReport } = useSxpDataSource();
16992
17102
  const { jumpToWeb } = useEventReport();
16993
17103
  const [visible, setVisible] = React.useState(true);
16994
17104
  const cta = ((_d = (_c = (_b = recData === null || recData === void 0 ? void 0 : recData.video) === null || _b === void 0 ? void 0 : _b.bindProducts) === null || _c === void 0 ? void 0 : _c[0]) === null || _d === void 0 ? void 0 : _d.bindCta) || ((_f = (_e = recData === null || recData === void 0 ? void 0 : recData.video) === null || _e === void 0 ? void 0 : _e.bindProduct) === null || _f === void 0 ? void 0 : _f.bindCta) || ((_g = recData === null || recData === void 0 ? void 0 : recData.video) === null || _g === void 0 ? void 0 : _g.bindCta);
@@ -17000,7 +17110,18 @@ const AniLinkPopup$1 = (_a) => {
17000
17110
  ctaEvent === null || ctaEvent === void 0 ? void 0 : ctaEvent({
17001
17111
  eventSubject: 'clickCta',
17002
17112
  eventDescription: 'User clicked the CTA'
17003
- }, recData, item, index, (isExternalLink && !!link) ? 'open_external_link' : 'open_internal_popup', link);
17113
+ }, recData, item, index);
17114
+ bffFbReport === null || bffFbReport === void 0 ? void 0 : bffFbReport({
17115
+ eventName: 'ClickCTA',
17116
+ product: product ? [product] : undefined,
17117
+ contentType: 'post',
17118
+ recData,
17119
+ index,
17120
+ cta_text: cta === null || cta === void 0 ? void 0 : cta.enTitle,
17121
+ cta_action_type: (isExternalLink && !!link) ? 'open_external_link' : 'open_internal_popup',
17122
+ target_content_id: product === null || product === void 0 ? void 0 : product.itemId,
17123
+ target_url: link
17124
+ });
17004
17125
  setPopupDetailData === null || setPopupDetailData === void 0 ? void 0 : setPopupDetailData(Object.assign(Object.assign({}, recData), { index }));
17005
17126
  if (isExternalLink) {
17006
17127
  if (!link)
@@ -19308,14 +19429,16 @@ const SxpPageRender = ({ globalConfig, descStyle, containerHeight, containerWidt
19308
19429
  }
19309
19430
  });
19310
19431
  const isPostType = ((_w = item === null || item === void 0 ? void 0 : item.video) === null || _w === void 0 ? void 0 : _w.url) || ((_y = (_x = item === null || item === void 0 ? void 0 : item.video) === null || _x === void 0 ? void 0 : _x.imgUrls) === null || _y === void 0 ? void 0 : _y.length);
19311
- bffFbReport === null || bffFbReport === void 0 ? void 0 : bffFbReport({
19312
- eventName: 'ExitFeed',
19313
- product: isPostType ? (_z = item === null || item === void 0 ? void 0 : item.video) === null || _z === void 0 ? void 0 : _z.bindProducts : (item === null || item === void 0 ? void 0 : item.product) ? [item === null || item === void 0 ? void 0 : item.product] : [],
19314
- rec: item,
19315
- position: activeIndex,
19316
- content_id: isPostType ? (_1 = (_0 = item === null || item === void 0 ? void 0 : item.video) === null || _0 === void 0 ? void 0 : _0.itemId) !== null && _1 !== void 0 ? _1 : '' : (_3 = (_2 = item === null || item === void 0 ? void 0 : item.product) === null || _2 === void 0 ? void 0 : _2.itemId) !== null && _3 !== void 0 ? _3 : '',
19317
- view_time: new Date() - viewTime.current
19318
- });
19432
+ if (!popupDetailData) {
19433
+ bffFbReport === null || bffFbReport === void 0 ? void 0 : bffFbReport({
19434
+ eventName: 'ExitFeed',
19435
+ product: isPostType ? (_z = item === null || item === void 0 ? void 0 : item.video) === null || _z === void 0 ? void 0 : _z.bindProducts : (item === null || item === void 0 ? void 0 : item.product) ? [item === null || item === void 0 ? void 0 : item.product] : [],
19436
+ rec: item,
19437
+ position: activeIndex,
19438
+ content_id: isPostType ? (_1 = (_0 = item === null || item === void 0 ? void 0 : item.video) === null || _0 === void 0 ? void 0 : _0.itemId) !== null && _1 !== void 0 ? _1 : '' : (_3 = (_2 = item === null || item === void 0 ? void 0 : item.product) === null || _2 === void 0 ? void 0 : _2.itemId) !== null && _3 !== void 0 ? _3 : '',
19439
+ view_time: new Date() - viewTime.current
19440
+ });
19441
+ }
19319
19442
  }, [data, bffEventReport, activeIndex, popupDetailData, tempMap, isFromHashtag, curTime, bffFbReport]);
19320
19443
  React.useEffect(() => {
19321
19444
  const item = data === null || data === void 0 ? void 0 : data[activeIndex];
@@ -19619,7 +19742,7 @@ const SxpPageRender = ({ globalConfig, descStyle, containerHeight, containerWidt
19619
19742
  }
19620
19743
  };
19621
19744
  const handleScrollEvent = (swiper) => {
19622
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12;
19745
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10;
19623
19746
  const item = data[swiper.previousIndex];
19624
19747
  const activeItem = data[swiper.activeIndex];
19625
19748
  if (!item)
@@ -19641,22 +19764,22 @@ const SxpPageRender = ({ globalConfig, descStyle, containerHeight, containerWidt
19641
19764
  previousContentType = 'product';
19642
19765
  previousContentId = (_m = (_l = item === null || item === void 0 ? void 0 : item.product) === null || _l === void 0 ? void 0 : _l.itemId) !== null && _m !== void 0 ? _m : '';
19643
19766
  previousProduct = (item === null || item === void 0 ? void 0 : item.product) ? [item === null || item === void 0 ? void 0 : item.product] : [];
19644
- previousContentsName = (_p = (_o = item === null || item === void 0 ? void 0 : item.product) === null || _o === void 0 ? void 0 : _o.title) !== null && _p !== void 0 ? _p : '';
19767
+ previousContentsName = '';
19645
19768
  }
19646
- if (!((_q = activeItem === null || activeItem === void 0 ? void 0 : activeItem.video) === null || _q === void 0 ? void 0 : _q.url) && !((_s = (_r = activeItem === null || activeItem === void 0 ? void 0 : activeItem.video) === null || _r === void 0 ? void 0 : _r.imgUrls) === null || _s === void 0 ? void 0 : _s.length)) {
19647
- contentId = (_u = (_t = activeItem === null || activeItem === void 0 ? void 0 : activeItem.product) === null || _t === void 0 ? void 0 : _t.itemId) !== null && _u !== void 0 ? _u : '';
19769
+ if (!((_o = activeItem === null || activeItem === void 0 ? void 0 : activeItem.video) === null || _o === void 0 ? void 0 : _o.url) && !((_q = (_p = activeItem === null || activeItem === void 0 ? void 0 : activeItem.video) === null || _p === void 0 ? void 0 : _p.imgUrls) === null || _q === void 0 ? void 0 : _q.length)) {
19770
+ contentId = (_s = (_r = activeItem === null || activeItem === void 0 ? void 0 : activeItem.product) === null || _r === void 0 ? void 0 : _r.itemId) !== null && _s !== void 0 ? _s : '';
19648
19771
  }
19649
19772
  if (swiper.previousIndex - swiper.activeIndex < 0) {
19650
19773
  bffEventReport === null || bffEventReport === void 0 ? void 0 : bffEventReport({
19651
19774
  eventInfo: {
19652
19775
  eventSubject: 'scrollDown',
19653
19776
  eventDescription: 'User scroll down',
19654
- contentId: (_w = (_v = item === null || item === void 0 ? void 0 : item.video) === null || _v === void 0 ? void 0 : _v.itemId) !== null && _w !== void 0 ? _w : '',
19655
- productId: (_y = (_x = item === null || item === void 0 ? void 0 : item.product) === null || _x === void 0 ? void 0 : _x.itemId) !== null && _y !== void 0 ? _y : '',
19777
+ contentId: (_u = (_t = item === null || item === void 0 ? void 0 : item.video) === null || _t === void 0 ? void 0 : _t.itemId) !== null && _u !== void 0 ? _u : '',
19778
+ productId: (_w = (_v = item === null || item === void 0 ? void 0 : item.product) === null || _v === void 0 ? void 0 : _v.itemId) !== null && _w !== void 0 ? _w : '',
19656
19779
  requestId: null,
19657
- traceInfo: (_2 = (_0 = (_z = item === null || item === void 0 ? void 0 : item.video) === null || _z === void 0 ? void 0 : _z.traceInfo) !== null && _0 !== void 0 ? _0 : (_1 = item === null || item === void 0 ? void 0 : item.product) === null || _1 === void 0 ? void 0 : _1.traceInfo) !== null && _2 !== void 0 ? _2 : '',
19780
+ traceInfo: (_0 = (_y = (_x = item === null || item === void 0 ? void 0 : item.video) === null || _x === void 0 ? void 0 : _x.traceInfo) !== null && _y !== void 0 ? _y : (_z = item === null || item === void 0 ? void 0 : item.product) === null || _z === void 0 ? void 0 : _z.traceInfo) !== null && _0 !== void 0 ? _0 : '',
19658
19781
  contentFormat,
19659
- position: ((_3 = swiper.previousIndex) !== null && _3 !== void 0 ? _3 : 0) + ''
19782
+ position: ((_1 = swiper.previousIndex) !== null && _1 !== void 0 ? _1 : 0) + ''
19660
19783
  }
19661
19784
  });
19662
19785
  // 如果上一个商品是图片集,需上报 浏览图片集结结束 事件
@@ -19669,12 +19792,12 @@ const SxpPageRender = ({ globalConfig, descStyle, containerHeight, containerWidt
19669
19792
  eventInfo: {
19670
19793
  eventSubject: 'scrollUp',
19671
19794
  eventDescription: 'User scroll up',
19672
- contentId: (_5 = (_4 = item === null || item === void 0 ? void 0 : item.video) === null || _4 === void 0 ? void 0 : _4.itemId) !== null && _5 !== void 0 ? _5 : '',
19673
- productId: (_7 = (_6 = item.product) === null || _6 === void 0 ? void 0 : _6.itemId) !== null && _7 !== void 0 ? _7 : '',
19795
+ contentId: (_3 = (_2 = item === null || item === void 0 ? void 0 : item.video) === null || _2 === void 0 ? void 0 : _2.itemId) !== null && _3 !== void 0 ? _3 : '',
19796
+ productId: (_5 = (_4 = item.product) === null || _4 === void 0 ? void 0 : _4.itemId) !== null && _5 !== void 0 ? _5 : '',
19674
19797
  requestId: null,
19675
- traceInfo: (_11 = (_9 = (_8 = item === null || item === void 0 ? void 0 : item.video) === null || _8 === void 0 ? void 0 : _8.traceInfo) !== null && _9 !== void 0 ? _9 : (_10 = item === null || item === void 0 ? void 0 : item.product) === null || _10 === void 0 ? void 0 : _10.traceInfo) !== null && _11 !== void 0 ? _11 : '',
19798
+ traceInfo: (_9 = (_7 = (_6 = item === null || item === void 0 ? void 0 : item.video) === null || _6 === void 0 ? void 0 : _6.traceInfo) !== null && _7 !== void 0 ? _7 : (_8 = item === null || item === void 0 ? void 0 : item.product) === null || _8 === void 0 ? void 0 : _8.traceInfo) !== null && _9 !== void 0 ? _9 : '',
19676
19799
  contentFormat,
19677
- position: ((_12 = swiper.previousIndex) !== null && _12 !== void 0 ? _12 : 0) + ''
19800
+ position: ((_10 = swiper.previousIndex) !== null && _10 !== void 0 ? _10 : 0) + ''
19678
19801
  }
19679
19802
  });
19680
19803
  // 如果上一个商品是图片集,需上报 浏览图片集结结束 事件
@@ -19924,7 +20047,7 @@ const SxpPageRender = ({ globalConfig, descStyle, containerHeight, containerWidt
19924
20047
  renderView,
19925
20048
  renderLikeButton(visList[activeIndex], activeIndex, !!(globalConfig === null || globalConfig === void 0 ? void 0 : globalConfig.likeIconFixed)),
19926
20049
  renderToggleButton(!!(globalConfig === null || globalConfig === void 0 ? void 0 : globalConfig.muteIconFixed))),
19927
- React.createElement(WaterFall$1, Object.assign({}, (_u = (_t = (_s = globalConfig === null || globalConfig === void 0 ? void 0 : globalConfig.hashTag) === null || _s === void 0 ? void 0 : _s[0]) === null || _t === void 0 ? void 0 : _t.item) === null || _u === void 0 ? void 0 : _u.props, { rec: visList[activeIndex] })),
20050
+ React.createElement(WaterFall$1, Object.assign({}, (_u = (_t = (_s = globalConfig === null || globalConfig === void 0 ? void 0 : globalConfig.hashTag) === null || _s === void 0 ? void 0 : _s[0]) === null || _t === void 0 ? void 0 : _t.item) === null || _u === void 0 ? void 0 : _u.props)),
19928
20051
  React.createElement(ConsentPopup, { resolver: resolver, globalConfig: globalConfig }),
19929
20052
  openMultiPosts && (React.createElement(MultiPosts$2, Object.assign({}, (_x = (_w = (_v = globalConfig === null || globalConfig === void 0 ? void 0 : globalConfig.multiPosts) === null || _v === void 0 ? void 0 : _v[0]) === null || _w === void 0 ? void 0 : _w.item) === null || _x === void 0 ? void 0 : _x.props, (_0 = (_z = (_y = globalConfig === null || globalConfig === void 0 ? void 0 : globalConfig.multiPosts) === null || _y === void 0 ? void 0 : _y[0]) === null || _z === void 0 ? void 0 : _z.item) === null || _0 === void 0 ? void 0 : _0.event, { style: { position: 'fixed', top: 0, left: 0, right: 0, bottom: bottomHeight + 'px' } }))))),
19930
20053
  (globalConfig === null || globalConfig === void 0 ? void 0 : globalConfig.enableCookieSetting) && (React.createElement("div", { style: {