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.js CHANGED
@@ -982,7 +982,7 @@ const SxpDataSourceProvider = ({ render, dataSources, utmVal, enableReportEvent
982
982
  }
983
983
  });
984
984
  };
985
- }, [bffCollectEvent]);
985
+ }, []);
986
986
  useEffect(() => {
987
987
  const originalOpen = XMLHttpRequest.prototype.open;
988
988
  const originalSend = XMLHttpRequest.prototype.send;
@@ -1222,7 +1222,7 @@ const SxpDataSourceProvider = ({ render, dataSources, utmVal, enableReportEvent
1222
1222
  const productCustomData = {
1223
1223
  content_ids: [product === null || product === void 0 ? void 0 : product.itemId],
1224
1224
  content_type: 'product',
1225
- content_name: product === null || product === void 0 ? void 0 : product.title,
1225
+ content_name: '',
1226
1226
  contents: [{
1227
1227
  item_id: product === null || product === void 0 ? void 0 : product.itemId,
1228
1228
  item_price: product === null || product === void 0 ? void 0 : product.price
@@ -1412,20 +1412,7 @@ const SxpDataSourceProvider = ({ render, dataSources, utmVal, enableReportEvent
1412
1412
  bffEventReport === null || bffEventReport === void 0 ? void 0 : bffEventReport({
1413
1413
  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 })
1414
1414
  });
1415
- if ((eventInfo === null || eventInfo === void 0 ? void 0 : eventInfo.eventSubject) === 'clickCta') {
1416
- bffFbReport === null || bffFbReport === void 0 ? void 0 : bffFbReport({
1417
- eventName: 'ClickCTA',
1418
- product: product ? [product] : undefined,
1419
- contentType: contentType !== null && contentType !== void 0 ? contentType : 'post',
1420
- rec,
1421
- position,
1422
- cta_text: cta === null || cta === void 0 ? void 0 : cta.enTitle,
1423
- cta_action_type: ctaActionType,
1424
- target_content_id: product === null || product === void 0 ? void 0 : product.itemId,
1425
- target_url: targetUrl
1426
- });
1427
- }
1428
- }, [bffEventReport, isFromHashtag, bffFbReport]);
1415
+ }, [bffEventReport, isFromHashtag]);
1429
1416
  const h5EnterLink = useCallback(() => {
1430
1417
  var _a, _b;
1431
1418
  const time = new Date();
@@ -10860,29 +10847,79 @@ const CommodityDetail$1 = (_a) => {
10860
10847
  ctaEvent === null || ctaEvent === void 0 ? void 0 : ctaEvent({
10861
10848
  eventSubject: 'clickCta',
10862
10849
  eventDescription: 'User clicked the CTA'
10863
- }, data, product, position, 'open_external_link', product.link, 'product');
10850
+ }, data, product, position);
10851
+ bffFbReport === null || bffFbReport === void 0 ? void 0 : bffFbReport({
10852
+ eventName: 'ClickCTA',
10853
+ product: product ? [product] : undefined,
10854
+ contentType: 'product',
10855
+ data,
10856
+ position,
10857
+ cta_text: cta === null || cta === void 0 ? void 0 : cta.enTitle,
10858
+ cta_action_type: 'open_external_link',
10859
+ target_content_id: product === null || product === void 0 ? void 0 : product.itemId,
10860
+ target_url: product.link
10861
+ });
10864
10862
  }
10865
10863
  window.location.href = window.getJointUtmLink(product.link);
10866
10864
  }
10867
10865
  };
10868
10866
  useEffect(() => {
10867
+ var _a;
10869
10868
  if (!isActive)
10870
10869
  return;
10870
+ 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 });
10871
10871
  bffFbReport === null || bffFbReport === void 0 ? void 0 : bffFbReport({
10872
10872
  eventName: 'ProductView',
10873
10873
  product: product ? [product] : undefined,
10874
10874
  contentType: 'product',
10875
- rec: data,
10875
+ rec: recData,
10876
10876
  position
10877
10877
  });
10878
10878
  bffFbReport === null || bffFbReport === void 0 ? void 0 : bffFbReport({
10879
10879
  eventName: 'PageView',
10880
10880
  product: product ? [product] : undefined,
10881
10881
  contentType: 'product',
10882
- rec: data,
10882
+ rec: recData,
10883
10883
  position
10884
10884
  });
10885
10885
  }, [isActive, bffFbReport]);
10886
+ useEffect(() => {
10887
+ if (!isActive || isPost)
10888
+ return;
10889
+ const onShow = () => {
10890
+ curTimeRef.current = new Date();
10891
+ };
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: '' }) : null });
10893
+ const onHide = () => {
10894
+ var _a;
10895
+ bffFbReport === null || bffFbReport === void 0 ? void 0 : bffFbReport({
10896
+ eventName: 'ExitFeed',
10897
+ product: product ? [product] : undefined,
10898
+ contentType: 'product',
10899
+ rec: recData,
10900
+ position,
10901
+ view_time: new Date() - curTimeRef.current,
10902
+ content_id: (_a = product === null || product === void 0 ? void 0 : product.itemId) !== null && _a !== void 0 ? _a : ''
10903
+ });
10904
+ };
10905
+ SXP_EVENT_BUS.on(SXP_EVENT_TYPE.PAGE_DID_SHOW, () => onShow());
10906
+ SXP_EVENT_BUS.on(SXP_EVENT_TYPE.PAGE_DID_HIDE, () => onHide());
10907
+ return () => {
10908
+ var _a;
10909
+ bffFbReport === null || bffFbReport === void 0 ? void 0 : bffFbReport({
10910
+ eventName: 'Engagement',
10911
+ product: product ? [product] : undefined,
10912
+ rec: recData,
10913
+ position,
10914
+ content_id: (_a = product === null || product === void 0 ? void 0 : product.itemId) !== null && _a !== void 0 ? _a : '',
10915
+ engagement_type: 'close_popup',
10916
+ contentType: 'product',
10917
+ view_time: new Date() - curTimeRef.current
10918
+ });
10919
+ SXP_EVENT_BUS.off(SXP_EVENT_TYPE.PAGE_DID_SHOW, () => onShow());
10920
+ SXP_EVENT_BUS.off(SXP_EVENT_TYPE.PAGE_DID_HIDE, () => onHide());
10921
+ };
10922
+ }, [isActive, isPost, bffFbReport, data, product, position, curTimeRef]);
10886
10923
  useEffect(() => {
10887
10924
  const initTime = () => {
10888
10925
  curTimeRef.current = new Date();
@@ -11773,29 +11810,79 @@ const CommodityDetailDiroNew$1 = (_a) => {
11773
11810
  ctaEvent === null || ctaEvent === void 0 ? void 0 : ctaEvent({
11774
11811
  eventSubject: 'clickCta',
11775
11812
  eventDescription: 'User clicked the CTA'
11776
- }, data, product, position, 'open_external_link', product.link, 'product');
11813
+ }, data, product, position);
11814
+ bffFbReport === null || bffFbReport === void 0 ? void 0 : bffFbReport({
11815
+ eventName: 'ClickCTA',
11816
+ product: product ? [product] : undefined,
11817
+ contentType: 'product',
11818
+ data,
11819
+ position,
11820
+ cta_text: cta === null || cta === void 0 ? void 0 : cta.enTitle,
11821
+ cta_action_type: 'open_external_link',
11822
+ target_content_id: product === null || product === void 0 ? void 0 : product.itemId,
11823
+ target_url: product.link
11824
+ });
11777
11825
  }
11778
11826
  window.location.href = window.getJointUtmLink(product.link);
11779
11827
  }
11780
11828
  };
11781
11829
  useEffect(() => {
11830
+ var _a;
11782
11831
  if (!isActive)
11783
11832
  return;
11833
+ 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 });
11784
11834
  bffFbReport === null || bffFbReport === void 0 ? void 0 : bffFbReport({
11785
11835
  eventName: 'ProductView',
11786
11836
  product: product ? [product] : undefined,
11787
11837
  contentType: 'product',
11788
- rec: data,
11838
+ rec: recData,
11789
11839
  position
11790
11840
  });
11791
11841
  bffFbReport === null || bffFbReport === void 0 ? void 0 : bffFbReport({
11792
11842
  eventName: 'PageView',
11793
11843
  product: product ? [product] : undefined,
11794
11844
  contentType: 'product',
11795
- rec: data,
11845
+ rec: recData,
11796
11846
  position
11797
11847
  });
11798
- }, [isActive, bffFbReport]);
11848
+ }, [isActive, bffFbReport, isPost]);
11849
+ useEffect(() => {
11850
+ if (!isActive || isPost)
11851
+ return;
11852
+ const onShow = () => {
11853
+ curTimeRef.current = new Date();
11854
+ };
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: '' }) : null });
11856
+ const onHide = () => {
11857
+ var _a;
11858
+ bffFbReport === null || bffFbReport === void 0 ? void 0 : bffFbReport({
11859
+ eventName: 'ExitFeed',
11860
+ product: product ? [product] : undefined,
11861
+ contentType: 'product',
11862
+ rec: recData,
11863
+ position,
11864
+ view_time: new Date() - curTimeRef.current,
11865
+ content_id: (_a = product === null || product === void 0 ? void 0 : product.itemId) !== null && _a !== void 0 ? _a : ''
11866
+ });
11867
+ };
11868
+ SXP_EVENT_BUS.on(SXP_EVENT_TYPE.PAGE_DID_SHOW, () => onShow());
11869
+ SXP_EVENT_BUS.on(SXP_EVENT_TYPE.PAGE_DID_HIDE, () => onHide());
11870
+ return () => {
11871
+ var _a;
11872
+ bffFbReport === null || bffFbReport === void 0 ? void 0 : bffFbReport({
11873
+ eventName: 'Engagement',
11874
+ product: product ? [product] : undefined,
11875
+ rec: recData,
11876
+ position,
11877
+ content_id: (_a = product === null || product === void 0 ? void 0 : product.itemId) !== null && _a !== void 0 ? _a : '',
11878
+ engagement_type: 'close_popup',
11879
+ contentType: 'product',
11880
+ view_time: new Date() - curTimeRef.current
11881
+ });
11882
+ SXP_EVENT_BUS.off(SXP_EVENT_TYPE.PAGE_DID_SHOW, () => onShow());
11883
+ SXP_EVENT_BUS.off(SXP_EVENT_TYPE.PAGE_DID_HIDE, () => onHide());
11884
+ };
11885
+ }, [isActive, isPost, bffFbReport, data, product, position, curTimeRef]);
11799
11886
  useEffect(() => {
11800
11887
  const initTime = () => {
11801
11888
  if (!isActive)
@@ -12460,10 +12547,22 @@ const CommodityList$1 = (_a) => {
12460
12547
  });
12461
12548
  }, [(_d = commodityStyles === null || commodityStyles === void 0 ? void 0 : commodityStyles.price) === null || _d === void 0 ? void 0 : _d.enableFormattedPrice, globalConfig]);
12462
12549
  const handleClick = throttle((item, multiCheckIndex, e) => {
12550
+ var _a;
12463
12551
  ctaEvent === null || ctaEvent === void 0 ? void 0 : ctaEvent({
12464
12552
  eventSubject: 'clickCta',
12465
12553
  eventDescription: 'User clicked the CTA'
12466
- }, recData, item, index, isExternalLink && !!(item === null || item === void 0 ? void 0 : item.link) ? 'open_external_link' : 'open_internal_popup', item.link, 'product');
12554
+ }, recData, item, index);
12555
+ bffFbReport === null || bffFbReport === void 0 ? void 0 : bffFbReport({
12556
+ eventName: 'ClickCTA',
12557
+ product: item ? [item] : undefined,
12558
+ contentType: 'product',
12559
+ recData,
12560
+ index,
12561
+ cta_text: (_a = item === null || item === void 0 ? void 0 : item.bindCta) === null || _a === void 0 ? void 0 : _a.enTitle,
12562
+ cta_action_type: isExternalLink && !!(item === null || item === void 0 ? void 0 : item.link) ? 'open_external_link' : 'open_internal_popup',
12563
+ target_content_id: item === null || item === void 0 ? void 0 : item.itemId,
12564
+ target_url: item.link
12565
+ });
12467
12566
  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 }));
12468
12567
  if (isExternalLink) {
12469
12568
  if (!(item === null || item === void 0 ? void 0 : item.link))
@@ -12993,26 +13092,38 @@ const EventProvider = (_a) => {
12993
13092
  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"]);
12994
13093
  const ref = useRef(null);
12995
13094
  const { popup } = useEditor();
12996
- const { setPopupDetailData, ctaEvent } = useSxpDataSource();
13095
+ const { setPopupDetailData, ctaEvent, bffFbReport } = useSxpDataSource();
12997
13096
  const { jumpToWeb } = useEventReport();
12998
13097
  const [element, setElement] = useState(null);
12999
13098
  const handleClick = throttle((e) => {
13000
- var _a, _b, _c, _d, _e, _f;
13099
+ var _a, _b, _c, _d, _e, _f, _g, _h;
13001
13100
  e.preventDefault();
13002
13101
  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);
13003
- 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);
13102
+ 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) || '';
13004
13103
  ctaEvent === null || ctaEvent === void 0 ? void 0 : ctaEvent({
13005
13104
  eventSubject: 'clickCta',
13006
13105
  eventDescription: 'User clicked the CTA'
13007
- }, rec, item, index, isExternalLink && (jumpLink || !!link) ? 'open_external_link' : 'open_internal_popup', link);
13106
+ }, rec, item, index);
13107
+ const product = multItem || ((_e = rec === null || rec === void 0 ? void 0 : rec.video) === null || _e === void 0 ? void 0 : _e.bindProduct);
13108
+ bffFbReport === null || bffFbReport === void 0 ? void 0 : bffFbReport({
13109
+ eventName: 'ClickCTA',
13110
+ product: product ? [product] : undefined,
13111
+ contentType: 'post',
13112
+ rec,
13113
+ index,
13114
+ cta_text: (_f = item === null || item === void 0 ? void 0 : item.bindCta) === null || _f === void 0 ? void 0 : _f.enTitle,
13115
+ cta_action_type: isExternalLink && (!!link) ? 'open_external_link' : 'open_internal_popup',
13116
+ target_content_id: product === null || product === void 0 ? void 0 : product.itemId,
13117
+ target_url: link
13118
+ });
13008
13119
  setPopupDetailData === null || setPopupDetailData === void 0 ? void 0 : setPopupDetailData(multItem && multiCheckIndex !== undefined && multiCheckIndex >= 0
13009
13120
  ? 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 }));
13010
13121
  setElement(ref === null || ref === void 0 ? void 0 : ref.current);
13011
13122
  if (isExternalLink) {
13012
- if (!jumpLink && !link)
13123
+ if (!link)
13013
13124
  return;
13014
- 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);
13015
- const product = ((_f = rec === null || rec === void 0 ? void 0 : rec.video) === null || _f === void 0 ? void 0 : _f.bindProduct) || multItem;
13125
+ 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);
13126
+ const product = ((_h = rec === null || rec === void 0 ? void 0 : rec.video) === null || _h === void 0 ? void 0 : _h.bindProduct) || multItem;
13016
13127
  jumpToWeb(e, rec, product, cta, index);
13017
13128
  window.location.href = window.getJointUtmLink(link);
13018
13129
  }
@@ -15499,7 +15610,7 @@ var previewData = {
15499
15610
 
15500
15611
  const WaterfallFlowItem$1 = (props) => {
15501
15612
  var _a;
15502
- const { rec, style = {}, sizeChange = () => { }, unitWidth, index, showBorder, list, reportTagsView, textStyles, space } = props;
15613
+ const { listItem, style = {}, sizeChange = () => { }, unitWidth, index, showBorder, list, reportTagsView, textStyles, space } = props;
15503
15614
  const { swiperRef, setRtcList, setOpenHashtag, sxpParameter, globalConfig } = useSxpDataSource();
15504
15615
  const [showVideo, setShowVideo] = useState(false);
15505
15616
  useState(false);
@@ -15512,6 +15623,7 @@ const WaterfallFlowItem$1 = (props) => {
15512
15623
  useRef(null);
15513
15624
  useRef(null);
15514
15625
  const [firstFrameSrc, setFirstFrameSrc] = useState('');
15626
+ const rec = listItem;
15515
15627
  const src = useMemo(() => {
15516
15628
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
15517
15629
  if ((_a = rec === null || rec === void 0 ? void 0 : rec.video) === null || _a === void 0 ? void 0 : _a.cover) {
@@ -15734,17 +15846,6 @@ function WaterfallList$1(_a) {
15734
15846
  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 : [];
15735
15847
  setList(list);
15736
15848
  setIsLoadingData(false);
15737
- const products = [];
15738
- list === null || list === void 0 ? void 0 : list.forEach((item) => {
15739
- var _a, _b;
15740
- 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 : []));
15741
- });
15742
- bffFbReport === null || bffFbReport === void 0 ? void 0 : bffFbReport({
15743
- eventName: 'PageView',
15744
- product: products,
15745
- rec: waterFallData === null || waterFallData === void 0 ? void 0 : waterFallData.rec,
15746
- position: cacheActiveIndex
15747
- });
15748
15849
  }));
15749
15850
  if (isOpenHashTag) {
15750
15851
  const res = previewData;
@@ -15832,7 +15933,7 @@ function WaterfallList$1(_a) {
15832
15933
  React.createElement("div", { className: 'waterFallList-content' }, list === null || list === void 0 ? void 0 :
15833
15934
  list.map((item, ind) => {
15834
15935
  var _a;
15835
- 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)));
15936
+ 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)));
15836
15937
  }),
15837
15938
  React.createElement("div", { hidden: !((_l = data === null || data === void 0 ? void 0 : data.tag) === null || _l === void 0 ? void 0 : _l.link), style: {
15838
15939
  position: 'absolute',
@@ -15854,7 +15955,8 @@ var img$6 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeA
15854
15955
 
15855
15956
  const WaterfallFlowItem = (props) => {
15856
15957
  var _a;
15857
- const { rec, index, list, reportTagsView, textStyles, space, openFixedSize, fixedSizeRatio } = props;
15958
+ const { listItem, index, list, reportTagsView, textStyles, space, openFixedSize, fixedSizeRatio } = props;
15959
+ const rec = listItem;
15858
15960
  const { swiperRef, setRtcList, setOpenHashtag, sxpParameter, globalConfig } = useSxpDataSource();
15859
15961
  const [showVideo, setShowVideo] = useState(false);
15860
15962
  const imgDom = useRef(null);
@@ -15989,8 +16091,8 @@ function WaterfallList(_a) {
15989
16091
  useEffect(() => {
15990
16092
  var _a, _b;
15991
16093
  setIsLoadingData(true);
15992
- waterFallData &&
15993
- (getRecommendVideos === null || getRecommendVideos === void 0 ? void 0 : getRecommendVideos({
16094
+ if (waterFallData) {
16095
+ getRecommendVideos === null || getRecommendVideos === void 0 ? void 0 : getRecommendVideos({
15994
16096
  hashTag: waterFallData === null || waterFallData === void 0 ? void 0 : waterFallData.hashTag,
15995
16097
  defaultSize: hashTagSize,
15996
16098
  maxSize: hashTagSize
@@ -16000,19 +16102,9 @@ function WaterfallList(_a) {
16000
16102
  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 : [];
16001
16103
  setList(list);
16002
16104
  setIsLoadingData(false);
16003
- const products = [];
16004
- list === null || list === void 0 ? void 0 : list.forEach((item) => {
16005
- var _a, _b;
16006
- 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 : []));
16007
- });
16008
- bffFbReport === null || bffFbReport === void 0 ? void 0 : bffFbReport({
16009
- eventName: 'PageView',
16010
- product: products,
16011
- rec: waterFallData === null || waterFallData === void 0 ? void 0 : waterFallData.rec,
16012
- position: cacheActiveIndex
16013
- });
16014
- }));
16015
- if (isOpenHashTag) {
16105
+ });
16106
+ }
16107
+ else if (isOpenHashTag) {
16016
16108
  const res = previewData;
16017
16109
  setData(res);
16018
16110
  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 : []);
@@ -16060,7 +16152,7 @@ function WaterfallList(_a) {
16060
16152
  __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)
16061
16153
  } }),
16062
16154
  React.createElement("div", { className: 'list-content' }, list === null || list === void 0 ? void 0 : list.map((item, ind) => {
16063
- return (React.createElement(WaterfallFlowItem, Object.assign({ key: ind, index: ind, rec: item, list: list, reportTagsView: reportTagsView }, props)));
16155
+ return (React.createElement(WaterfallFlowItem, Object.assign({ key: ind, index: ind, listItem: item, list: list, reportTagsView: reportTagsView }, props)));
16064
16156
  })),
16065
16157
  React.createElement("div", { hidden: !isLoadMore, style: { textAlign: 'center' } }, "loading..."),
16066
16158
  React.createElement("div", { hidden: !((_l = data === null || data === void 0 ? void 0 : data.tag) === null || _l === void 0 ? void 0 : _l.link), style: {
@@ -16149,10 +16241,17 @@ const WaterFall = (props) => {
16149
16241
  });
16150
16242
  }, [recData, bffEventReport, viewTime, isFromHashtag, cacheActiveIndex]);
16151
16243
  useEffect(() => {
16244
+ var _a, _b;
16152
16245
  if (openHashtag) {
16153
16246
  setViewTime(new Date());
16247
+ bffFbReport === null || bffFbReport === void 0 ? void 0 : bffFbReport({
16248
+ eventName: 'PageView',
16249
+ 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,
16250
+ rec: waterFallData === null || waterFallData === void 0 ? void 0 : waterFallData.rec,
16251
+ position: cacheActiveIndex
16252
+ });
16154
16253
  }
16155
- }, [openHashtag]);
16254
+ }, [openHashtag, bffFbReport, waterFallData, cacheActiveIndex]);
16156
16255
  useEffect(() => {
16157
16256
  const initTime = () => {
16158
16257
  setViewTime(new Date());
@@ -16463,7 +16562,7 @@ var styles$1 = {"animated-button":"index-module_animated-button__lqTbg","gradien
16463
16562
  const AniLink$1 = (_a) => {
16464
16563
  var _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
16465
16564
  var { style, recData, ctaTempStyles, index, event, onClick, isExternalLink = false, isActive } = _a, props = __rest(_a, ["style", "recData", "ctaTempStyles", "index", "event", "onClick", "isExternalLink", "isActive"]);
16466
- const { ctaEvent, setPopupDetailData } = useSxpDataSource();
16565
+ const { ctaEvent, setPopupDetailData, bffFbReport } = useSxpDataSource();
16467
16566
  const { jumpToWeb } = useEventReport();
16468
16567
  const [visible, setVisible] = useState(false);
16469
16568
  const ref = useRef(null);
@@ -16477,7 +16576,18 @@ const AniLink$1 = (_a) => {
16477
16576
  ctaEvent === null || ctaEvent === void 0 ? void 0 : ctaEvent({
16478
16577
  eventSubject: 'clickCta',
16479
16578
  eventDescription: 'User clicked the CTA'
16480
- }, recData, item, index, (isExternalLink && !!link) ? 'open_external_link' : 'open_internal_popup', link);
16579
+ }, recData, item, index);
16580
+ bffFbReport === null || bffFbReport === void 0 ? void 0 : bffFbReport({
16581
+ eventName: 'ClickCTA',
16582
+ product: product ? [product] : undefined,
16583
+ contentType: 'post',
16584
+ recData,
16585
+ index,
16586
+ cta_text: cta === null || cta === void 0 ? void 0 : cta.enTitle,
16587
+ cta_action_type: (isExternalLink && !!link) ? 'open_external_link' : 'open_internal_popup',
16588
+ target_content_id: product === null || product === void 0 ? void 0 : product.itemId,
16589
+ target_url: link
16590
+ });
16481
16591
  setPopupDetailData === null || setPopupDetailData === void 0 ? void 0 : setPopupDetailData(Object.assign(Object.assign({}, recData), { index }));
16482
16592
  if (isExternalLink) {
16483
16593
  if (!link)
@@ -16966,7 +17076,7 @@ const AniLinkPopup$1 = (_a) => {
16966
17076
  var _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z;
16967
17077
  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"]);
16968
17078
  style === null || style === void 0 ? true : delete style.transform;
16969
- const { sxpParameter, globalConfig, ctaEvent, setPopupDetailData } = useSxpDataSource();
17079
+ const { sxpParameter, globalConfig, ctaEvent, setPopupDetailData, bffFbReport } = useSxpDataSource();
16970
17080
  const { jumpToWeb } = useEventReport();
16971
17081
  const [visible, setVisible] = useState(true);
16972
17082
  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);
@@ -16978,7 +17088,18 @@ const AniLinkPopup$1 = (_a) => {
16978
17088
  ctaEvent === null || ctaEvent === void 0 ? void 0 : ctaEvent({
16979
17089
  eventSubject: 'clickCta',
16980
17090
  eventDescription: 'User clicked the CTA'
16981
- }, recData, item, index, (isExternalLink && !!link) ? 'open_external_link' : 'open_internal_popup', link);
17091
+ }, recData, item, index);
17092
+ bffFbReport === null || bffFbReport === void 0 ? void 0 : bffFbReport({
17093
+ eventName: 'ClickCTA',
17094
+ product: product ? [product] : undefined,
17095
+ contentType: 'post',
17096
+ recData,
17097
+ index,
17098
+ cta_text: cta === null || cta === void 0 ? void 0 : cta.enTitle,
17099
+ cta_action_type: (isExternalLink && !!link) ? 'open_external_link' : 'open_internal_popup',
17100
+ target_content_id: product === null || product === void 0 ? void 0 : product.itemId,
17101
+ target_url: link
17102
+ });
16982
17103
  setPopupDetailData === null || setPopupDetailData === void 0 ? void 0 : setPopupDetailData(Object.assign(Object.assign({}, recData), { index }));
16983
17104
  if (isExternalLink) {
16984
17105
  if (!link)
@@ -19286,14 +19407,16 @@ const SxpPageRender = ({ globalConfig, descStyle, containerHeight, containerWidt
19286
19407
  }
19287
19408
  });
19288
19409
  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);
19289
- bffFbReport === null || bffFbReport === void 0 ? void 0 : bffFbReport({
19290
- eventName: 'ExitFeed',
19291
- 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] : [],
19292
- rec: item,
19293
- position: activeIndex,
19294
- 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 : '',
19295
- view_time: new Date() - viewTime.current
19296
- });
19410
+ if (!popupDetailData) {
19411
+ bffFbReport === null || bffFbReport === void 0 ? void 0 : bffFbReport({
19412
+ eventName: 'ExitFeed',
19413
+ 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] : [],
19414
+ rec: item,
19415
+ position: activeIndex,
19416
+ 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 : '',
19417
+ view_time: new Date() - viewTime.current
19418
+ });
19419
+ }
19297
19420
  }, [data, bffEventReport, activeIndex, popupDetailData, tempMap, isFromHashtag, curTime, bffFbReport]);
19298
19421
  useEffect(() => {
19299
19422
  const item = data === null || data === void 0 ? void 0 : data[activeIndex];
@@ -19597,7 +19720,7 @@ const SxpPageRender = ({ globalConfig, descStyle, containerHeight, containerWidt
19597
19720
  }
19598
19721
  };
19599
19722
  const handleScrollEvent = (swiper) => {
19600
- 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;
19723
+ 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;
19601
19724
  const item = data[swiper.previousIndex];
19602
19725
  const activeItem = data[swiper.activeIndex];
19603
19726
  if (!item)
@@ -19619,22 +19742,22 @@ const SxpPageRender = ({ globalConfig, descStyle, containerHeight, containerWidt
19619
19742
  previousContentType = 'product';
19620
19743
  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 : '';
19621
19744
  previousProduct = (item === null || item === void 0 ? void 0 : item.product) ? [item === null || item === void 0 ? void 0 : item.product] : [];
19622
- 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 : '';
19745
+ previousContentsName = '';
19623
19746
  }
19624
- 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)) {
19625
- 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 : '';
19747
+ 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)) {
19748
+ 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 : '';
19626
19749
  }
19627
19750
  if (swiper.previousIndex - swiper.activeIndex < 0) {
19628
19751
  bffEventReport === null || bffEventReport === void 0 ? void 0 : bffEventReport({
19629
19752
  eventInfo: {
19630
19753
  eventSubject: 'scrollDown',
19631
19754
  eventDescription: 'User scroll down',
19632
- 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 : '',
19633
- 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 : '',
19755
+ 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 : '',
19756
+ 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 : '',
19634
19757
  requestId: null,
19635
- 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 : '',
19758
+ 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 : '',
19636
19759
  contentFormat,
19637
- position: ((_3 = swiper.previousIndex) !== null && _3 !== void 0 ? _3 : 0) + ''
19760
+ position: ((_1 = swiper.previousIndex) !== null && _1 !== void 0 ? _1 : 0) + ''
19638
19761
  }
19639
19762
  });
19640
19763
  // 如果上一个商品是图片集,需上报 浏览图片集结结束 事件
@@ -19647,12 +19770,12 @@ const SxpPageRender = ({ globalConfig, descStyle, containerHeight, containerWidt
19647
19770
  eventInfo: {
19648
19771
  eventSubject: 'scrollUp',
19649
19772
  eventDescription: 'User scroll up',
19650
- 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 : '',
19651
- productId: (_7 = (_6 = item.product) === null || _6 === void 0 ? void 0 : _6.itemId) !== null && _7 !== void 0 ? _7 : '',
19773
+ 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 : '',
19774
+ productId: (_5 = (_4 = item.product) === null || _4 === void 0 ? void 0 : _4.itemId) !== null && _5 !== void 0 ? _5 : '',
19652
19775
  requestId: null,
19653
- 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 : '',
19776
+ 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 : '',
19654
19777
  contentFormat,
19655
- position: ((_12 = swiper.previousIndex) !== null && _12 !== void 0 ? _12 : 0) + ''
19778
+ position: ((_10 = swiper.previousIndex) !== null && _10 !== void 0 ? _10 : 0) + ''
19656
19779
  }
19657
19780
  });
19658
19781
  // 如果上一个商品是图片集,需上报 浏览图片集结结束 事件
@@ -19902,7 +20025,7 @@ const SxpPageRender = ({ globalConfig, descStyle, containerHeight, containerWidt
19902
20025
  renderView,
19903
20026
  renderLikeButton(visList[activeIndex], activeIndex, !!(globalConfig === null || globalConfig === void 0 ? void 0 : globalConfig.likeIconFixed)),
19904
20027
  renderToggleButton(!!(globalConfig === null || globalConfig === void 0 ? void 0 : globalConfig.muteIconFixed))),
19905
- 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] })),
20028
+ 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)),
19906
20029
  React.createElement(ConsentPopup, { resolver: resolver, globalConfig: globalConfig }),
19907
20030
  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' } }))))),
19908
20031
  (globalConfig === null || globalConfig === void 0 ? void 0 : globalConfig.enableCookieSetting) && (React.createElement("div", { style: {