@mx-cartographer/experiences 5.2.20 → 5.2.21-alphaJB0

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.es.js CHANGED
@@ -22301,11 +22301,11 @@ const si = h.createContext(null), v3 = ({
22301
22301
  });
22302
22302
  }, [i, I, u]);
22303
22303
  const x = () => {
22304
- c && c(i), P(UI(i.template)), f?.capture("clicked_insight", {
22304
+ P(UI(i.template)), f?.capture("clicked_insight", {
22305
22305
  beat_guid: i.guid,
22306
22306
  template: i.template,
22307
22307
  position: I
22308
- });
22308
+ }), c && c(i);
22309
22309
  };
22310
22310
  return /* @__PURE__ */ e(
22311
22311
  ki,
@@ -22550,7 +22550,7 @@ const si = h.createContext(null), v3 = ({
22550
22550
  widthOverrides: n
22551
22551
  }) => {
22552
22552
  const { carouselCopy: r } = Rt(), { onEvent: o } = ci(), I = () => {
22553
- o && (o(ye.ON_VIEW_MORE_CLICKED), t(), i?.capture("clicked_view_more"));
22553
+ o && (o(ye.ON_VIEW_MORE_CLICKED), i?.capture("clicked_view_more"), t());
22554
22554
  };
22555
22555
  return /* @__PURE__ */ s(
22556
22556
  H,
@@ -22650,9 +22650,9 @@ const si = h.createContext(null), v3 = ({
22650
22650
  l(at.MICRO_WIDGET_CAROUSEL_NO_RELEVANT_INSIGHTS);
22651
22651
  }, []);
22652
22652
  const v = () => {
22653
- r && r(), E(ye.ON_NO_RELEVANT_INSIGHTS_CLICKED), o?.capture("clicked_insight", {
22653
+ o?.capture("clicked_insight", {
22654
22654
  template: "no_relevant_insights"
22655
- });
22655
+ }), r && r(), E(ye.ON_NO_RELEVANT_INSIGHTS_CLICKED);
22656
22656
  };
22657
22657
  return /* @__PURE__ */ e(
22658
22658
  ki,
@@ -22842,9 +22842,9 @@ const si = h.createContext(null), v3 = ({
22842
22842
  }));
22843
22843
  }, [E]);
22844
22844
  const u = () => {
22845
- r && r(), v(ye.ON_VIEW_MORE_CLICKED), o?.capture("clicked_insight", {
22845
+ o?.capture("clicked_insight", {
22846
22846
  template: "view_more_card"
22847
- });
22847
+ }), v(ye.ON_VIEW_MORE_CLICKED), r && r();
22848
22848
  };
22849
22849
  return /* @__PURE__ */ e(
22850
22850
  ki,