@ammarkhalidfarooq/dashboard-package 0.6.54 → 0.6.56

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.cjs.js CHANGED
@@ -154,6 +154,26 @@ function _objectSpread2(e) {
154
154
  }
155
155
  return e;
156
156
  }
157
+ function _objectWithoutProperties(e, t) {
158
+ if (null == e) return {};
159
+ var o,
160
+ r,
161
+ i = _objectWithoutPropertiesLoose(e, t);
162
+ if (Object.getOwnPropertySymbols) {
163
+ var n = Object.getOwnPropertySymbols(e);
164
+ for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
165
+ }
166
+ return i;
167
+ }
168
+ function _objectWithoutPropertiesLoose(r, e) {
169
+ if (null == r) return {};
170
+ var t = {};
171
+ for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
172
+ if (-1 !== e.indexOf(n)) continue;
173
+ t[n] = r[n];
174
+ }
175
+ return t;
176
+ }
157
177
  function _regenerator() {
158
178
  /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */
159
179
  var e,
@@ -16101,6 +16121,135 @@ var html2canvas_esm = /*#__PURE__*/Object.freeze({
16101
16121
  default: html2canvas
16102
16122
  });
16103
16123
 
16124
+ var _excluded$7 = ["size"];
16125
+ var AverageDonationIcon = function AverageDonationIcon(_ref) {
16126
+ var _ref$size = _ref.size,
16127
+ size = _ref$size === void 0 ? 30 : _ref$size,
16128
+ props = _objectWithoutProperties(_ref, _excluded$7);
16129
+ return /*#__PURE__*/jsxRuntime.jsxs("svg", _objectSpread2(_objectSpread2({
16130
+ xmlns: "http://www.w3.org/2000/svg",
16131
+ viewBox: "0 0 24 24",
16132
+ width: size,
16133
+ height: size,
16134
+ "aria-hidden": "true"
16135
+ }, props), {}, {
16136
+ children: [/*#__PURE__*/jsxRuntime.jsx("circle", {
16137
+ cx: "12",
16138
+ cy: "12",
16139
+ r: "12",
16140
+ fill: "#f1f3ff"
16141
+ }), /*#__PURE__*/jsxRuntime.jsxs("g", {
16142
+ fill: "#4e47e5",
16143
+ children: [/*#__PURE__*/jsxRuntime.jsx("path", {
16144
+ d: "M9.02,17.2c-.2.05-.27.39.02.47.3.09.57-.12.83-.11,1.39.05,2.62.58,3.91.72,1.65.17,3.28-1.43,4.8-1.99.47-.18,1.22-.48,1.7-.24.28.14.34.49.06.67-1.39.71-2.69,1.95-4.04,2.65-3.6,1.87-8.35-1.58-12.09-.22l-.73-2.8c2.25-.42,4.07-1.82,6.46-1.41.93.16,1.89.98,2.8,1.34.54.22,2.25.55,2.45.85.16.24-.13.54-.33.66-.75.43-2.86-.48-3.76-.6-.57.1-1.57-.13-2.07,0Z"
16145
+ }), /*#__PURE__*/jsxRuntime.jsx("path", {
16146
+ d: "M15.66,17.32s0-.27-.12-.43c-.38-.53-1.75-.64-2.41-.89-1.31-.49-2.39-1.59-3.92-1.62,0-1.55,1.08-3.16,2.24-4.13,1.32-1.12.97-.51,2.32-.48.52.01,1.31-.34,1.64-.19.81.36,2.4,2.38,2.74,3.23.29.71.68,2.28.28,2.96-.08.14-2.67,1.66-2.78,1.55ZM12.82,11.75c-1.27.28-.05,2.18.77,2.47.91.32,2.49-1.7,1.52-2.38-.56-.4-.94.12-1.23.13s-.49-.34-1.07-.21Z"
16147
+ }), /*#__PURE__*/jsxRuntime.jsx("path", {
16148
+ d: "M15.9,7.09c-.43,1.53-1.01,2.66-2.83,2.16-.66-.18-1.02-1.72-1.43-2.28,1.47-.46,2.77.55,4.26.12Z"
16149
+ }), /*#__PURE__*/jsxRuntime.jsx("path", {
16150
+ d: "M18.46,6.97c.39.37-1.47,1.17-1.58.67-.09-.4,1.41-.83,1.58-.67Z"
16151
+ }), /*#__PURE__*/jsxRuntime.jsx("path", {
16152
+ d: "M16.75,4.78c.18.18-.73,1.62-1.1,1.34-.32-.25.73-1.7,1.1-1.34Z"
16153
+ }), /*#__PURE__*/jsxRuntime.jsx("path", {
16154
+ d: "M14.03,4.06c.25.05.3,1.75-.16,1.72-.4-.02-.35-1.82.16-1.72Z"
16155
+ }), /*#__PURE__*/jsxRuntime.jsx("path", {
16156
+ d: "M9.4,6.99c.3-.1,1.46.3,1.38.65-.1.46-1.39-.15-1.58-.37-.03-.13.09-.25.2-.29Z"
16157
+ }), /*#__PURE__*/jsxRuntime.jsx("path", {
16158
+ d: "M12,6.12c-.34.26-1.44-1.2-.91-1.34.36-.09,1.19,1.13.91,1.34Z"
16159
+ })]
16160
+ })]
16161
+ }));
16162
+ };
16163
+ var avgDonationAvatarSx = {
16164
+ width: 30,
16165
+ height: 30,
16166
+ bgcolor: "transparent"
16167
+ };
16168
+
16169
+ var _excluded$6 = ["size"];
16170
+ var ConversionRateIcon = function ConversionRateIcon(_ref) {
16171
+ var _ref$size = _ref.size,
16172
+ size = _ref$size === void 0 ? 30 : _ref$size,
16173
+ props = _objectWithoutProperties(_ref, _excluded$6);
16174
+ return /*#__PURE__*/jsxRuntime.jsxs("svg", _objectSpread2(_objectSpread2({
16175
+ xmlns: "http://www.w3.org/2000/svg",
16176
+ viewBox: "0 0 24 24",
16177
+ width: size,
16178
+ height: size,
16179
+ "aria-hidden": "true"
16180
+ }, props), {}, {
16181
+ children: [/*#__PURE__*/jsxRuntime.jsx("circle", {
16182
+ cx: "12",
16183
+ cy: "12",
16184
+ r: "12",
16185
+ fill: "#f1f3ff"
16186
+ }), /*#__PURE__*/jsxRuntime.jsxs("g", {
16187
+ fill: "#4e47e5",
16188
+ children: [/*#__PURE__*/jsxRuntime.jsx("path", {
16189
+ d: "M18.15,6.72c.09.75-.16,1.23-.93,1.34l-3.9,4.34-.04,1.32-2.58.89v-2.18l-3.93-4.37c-.77-.11-1.02-.6-.93-1.34h12.31Z"
16190
+ }), /*#__PURE__*/jsxRuntime.jsx("path", {
16191
+ d: "M11.38,15.58c4.25-.51,5.64,4.94,2.16,6.64-2.76,1.35-5.78-1.26-4.91-4.21.35-1.18,1.5-2.28,2.75-2.43ZM12.33,16.52c-.17-.17-.51-.16-.67.02-.11.12-.08.3-.15.39-.04.05-.27.15-.36.24-.54.51-.66,1.17-.22,1.8.35.5.68.41,1.17.54.57.15.34,1.02-.26.83-.37-.12-.18-1.07-.88-.82-.54.19-.24.97.03,1.29.15.18.36.24.47.35.16.18.11.5.48.54.5.05.41-.32.6-.54.09-.1.3-.17.44-.32.64-.7.38-1.83-.51-2.14-.3-.11-.79-.03-.87-.39-.11-.53.46-.74.73-.44.15.16.08,1.02.77.71.55-.25.06-1.1-.25-1.39-.1-.09-.31-.18-.36-.24-.07-.09-.07-.31-.16-.41Z"
16192
+ }), /*#__PURE__*/jsxRuntime.jsx("path", {
16193
+ d: "M13.9,1.44c2.07-.33,2.87,2.63.92,3.39-2.39.92-3.4-2.99-.92-3.39Z"
16194
+ }), /*#__PURE__*/jsxRuntime.jsx("path", {
16195
+ d: "M18.15,14.61c.29-.16.44-.74.74-.81.37-.09.66.12.58.51-.03.12-1.26,1.8-1.41,1.93s-.34.18-.53.1c-.12-.05-1.49-1.89-1.51-2.02-.09-.52.29-.67.7-.44l.56.73v-3.12s.17-.26.22-.29c.22-.13.67,0,.67.22v3.19Z"
16196
+ }), /*#__PURE__*/jsxRuntime.jsx("path", {
16197
+ d: "M6.73,14.61l.56-.73c.41-.23.79-.07.7.44-.02.13-1.4,1.97-1.51,2.02-.12.06-.26.05-.38,0-.27-.09-1.32-1.71-1.56-2.04-.05-.4.18-.6.58-.51.3.07.45.65.74.81v-3.19c0-.23.45-.36.67-.22.04.03.22.26.22.29v3.12Z"
16198
+ }), /*#__PURE__*/jsxRuntime.jsx("path", {
16199
+ d: "M11.46,5.84h-3.35c.41-1.76,2.96-1.77,3.35,0Z"
16200
+ })]
16201
+ })]
16202
+ }));
16203
+ };
16204
+ var conversionRateAvatarSx = {
16205
+ width: 30,
16206
+ height: 30,
16207
+ bgcolor: "transparent"
16208
+ };
16209
+
16210
+ var _excluded$5 = ["size"];
16211
+ var NetRaisedIcon = function NetRaisedIcon(_ref) {
16212
+ var _ref$size = _ref.size,
16213
+ size = _ref$size === void 0 ? 30 : _ref$size,
16214
+ props = _objectWithoutProperties(_ref, _excluded$5);
16215
+ return /*#__PURE__*/jsxRuntime.jsxs("svg", _objectSpread2(_objectSpread2({
16216
+ xmlns: "http://www.w3.org/2000/svg",
16217
+ viewBox: "0 0 24 24",
16218
+ width: size,
16219
+ height: size,
16220
+ "aria-hidden": "true"
16221
+ }, props), {}, {
16222
+ children: [/*#__PURE__*/jsxRuntime.jsx("circle", {
16223
+ cx: "12",
16224
+ cy: "12",
16225
+ r: "12",
16226
+ fill: "#f1f3ff"
16227
+ }), /*#__PURE__*/jsxRuntime.jsxs("g", {
16228
+ fill: "#4e47e5",
16229
+ children: [/*#__PURE__*/jsxRuntime.jsx("path", {
16230
+ d: "M19.06,8.58s-.05.06-.05.09c-.08.3-.12.64-.19.94-.51,2.31-1.24,4.58-2.76,6.43-2.99,3.66-7.63,3.71-11.68,1.85-.4-.19-1.44-.67-1.73-.95-.51-.5-.15-1.34.53-1.34.3,0,1.3.63,1.65.8,1.88.89,4.06,1.43,6.14,1.02,4.28-.84,5.87-5.18,6.51-9.01l-1.92,2.29c-.63.55-1.57-.08-1.23-.88,1.23-1.46,2.4-3.02,3.67-4.45.26-.29.41-.51.85-.47.34.03.53.27.66.57l2.05,5.4c.28.93-.99,1.44-1.43.56l-1.06-2.85Z"
16231
+ }), /*#__PURE__*/jsxRuntime.jsx("path", {
16232
+ d: "M13.64,11.93c.01.07-.03.14-.03.21,0,.22.03.46.03.68.01,1.06,0,2.13,0,3.19-.38.34-.83.57-1.28.8v-4.87h1.29Z"
16233
+ }), /*#__PURE__*/jsxRuntime.jsx("path", {
16234
+ d: "M11.74,12.74v4.29c-.33.09-.66.2-.99.25-.08.01-.27.07-.29-.01v-4.52s1.28,0,1.28,0Z"
16235
+ }), /*#__PURE__*/jsxRuntime.jsx("path", {
16236
+ d: "M9.87,13.55v3.8c-.42.07-.86,0-1.29-.03v-3.77h1.29Z"
16237
+ }), /*#__PURE__*/jsxRuntime.jsx("path", {
16238
+ d: "M15.51,11.13v2.69c-.39.58-.76,1.19-1.29,1.66v-4.35h1.29Z"
16239
+ }), /*#__PURE__*/jsxRuntime.jsx("polygon", {
16240
+ points: "7.97 14.35 7.97 17.25 6.71 16.91 6.71 14.35"
16241
+ }), /*#__PURE__*/jsxRuntime.jsx("polygon", {
16242
+ points: "6.1 15.16 6.1 16.74 4.81 16.19 4.81 15.16"
16243
+ })]
16244
+ })]
16245
+ }));
16246
+ };
16247
+ var netRaisedAvatarSx = {
16248
+ width: 30,
16249
+ height: 30,
16250
+ bgcolor: "transparent"
16251
+ };
16252
+
16104
16253
  var CARD_BORDER = "1.5px solid #F1F1F5";
16105
16254
  var PANEL_BORDER = "1px solid #f0f0f0";
16106
16255
  var PANEL_SHADOW = "0 4px 24px rgba(0,0,0,0.06)";
@@ -16826,7 +16975,8 @@ var OverallSection = function OverallSection(_ref) {
16826
16975
  value: "$".concat(formatNumber(((_apiData$overviewStat5 = apiData === null || apiData === void 0 || (_apiData$overviewStat6 = apiData.overviewStats) === null || _apiData$overviewStat6 === void 0 || (_apiData$overviewStat6 = _apiData$overviewStat6.overview) === null || _apiData$overviewStat6 === void 0 ? void 0 : _apiData$overviewStat6.netRevenue) !== null && _apiData$overviewStat5 !== void 0 ? _apiData$overviewStat5 : 0).toFixed(2))),
16827
16976
  subValue: "".concat(Number((_apiData$overviewStat7 = apiData === null || apiData === void 0 || (_apiData$overviewStat8 = apiData.overviewStats) === null || _apiData$overviewStat8 === void 0 || (_apiData$overviewStat8 = _apiData$overviewStat8.overview.growthPercentage) === null || _apiData$overviewStat8 === void 0 ? void 0 : _apiData$overviewStat8.netRevenue) !== null && _apiData$overviewStat7 !== void 0 ? _apiData$overviewStat7 : 0).toFixed(2), "% vs pp\n "),
16828
16977
  label: "Net Raised",
16829
- icon: /*#__PURE__*/jsxRuntime.jsx(iconsMaterial.FavoriteOutlined, {}),
16978
+ icon: /*#__PURE__*/jsxRuntime.jsx(NetRaisedIcon, {}),
16979
+ avatarSx: netRaisedAvatarSx,
16830
16980
  money: true,
16831
16981
  error: false,
16832
16982
  warning: false
@@ -16844,7 +16994,8 @@ var OverallSection = function OverallSection(_ref) {
16844
16994
  value: "$".concat(formatNumber(((_apiData$overviewStat10 = apiData === null || apiData === void 0 || (_apiData$overviewStat11 = apiData.overviewStats) === null || _apiData$overviewStat11 === void 0 || (_apiData$overviewStat11 = _apiData$overviewStat11.overview) === null || _apiData$overviewStat11 === void 0 ? void 0 : _apiData$overviewStat11.overallAVGDonations) !== null && _apiData$overviewStat10 !== void 0 ? _apiData$overviewStat10 : 0).toFixed(2))),
16845
16995
  subValue: "".concat(Number((_apiData$overviewStat12 = apiData === null || apiData === void 0 || (_apiData$overviewStat13 = apiData.overviewStats) === null || _apiData$overviewStat13 === void 0 || (_apiData$overviewStat13 = _apiData$overviewStat13.overview.growthPercentage) === null || _apiData$overviewStat13 === void 0 ? void 0 : _apiData$overviewStat13.overallAVGDonations) !== null && _apiData$overviewStat12 !== void 0 ? _apiData$overviewStat12 : 0).toFixed(2), "% vs pp\n "),
16846
16996
  label: "Average Donation Amount",
16847
- icon: /*#__PURE__*/jsxRuntime.jsx(iconsMaterial.PaidOutlined, {}),
16997
+ icon: /*#__PURE__*/jsxRuntime.jsx(AverageDonationIcon, {}),
16998
+ avatarSx: avgDonationAvatarSx,
16848
16999
  money: true,
16849
17000
  error: false,
16850
17001
  warning: false
@@ -16862,7 +17013,8 @@ var OverallSection = function OverallSection(_ref) {
16862
17013
  value: "".concat(formatNumber(((_apiData$overviewStat14 = apiData === null || apiData === void 0 || (_apiData$overviewStat15 = apiData.overviewStats) === null || _apiData$overviewStat15 === void 0 || (_apiData$overviewStat15 = _apiData$overviewStat15.overview) === null || _apiData$overviewStat15 === void 0 ? void 0 : _apiData$overviewStat15.conversionRate) !== null && _apiData$overviewStat14 !== void 0 ? _apiData$overviewStat14 : 0).toFixed(2)), "%"),
16863
17014
  subValue: "".concat(((_apiData$overviewStat16 = apiData === null || apiData === void 0 || (_apiData$overviewStat17 = apiData.overviewStats) === null || _apiData$overviewStat17 === void 0 || (_apiData$overviewStat17 = _apiData$overviewStat17.overview) === null || _apiData$overviewStat17 === void 0 || (_apiData$overviewStat17 = _apiData$overviewStat17.growthPercentage) === null || _apiData$overviewStat17 === void 0 ? void 0 : _apiData$overviewStat17.conversionRate) !== null && _apiData$overviewStat16 !== void 0 ? _apiData$overviewStat16 : 0).toFixed(2), "%") || "0%",
16864
17015
  label: "Conversion Rate",
16865
- icon: /*#__PURE__*/jsxRuntime.jsx(iconsMaterial.Adjust, {}),
17016
+ icon: /*#__PURE__*/jsxRuntime.jsx(ConversionRateIcon, {}),
17017
+ avatarSx: conversionRateAvatarSx,
16866
17018
  money: false,
16867
17019
  error: false,
16868
17020
  warning: false
@@ -16904,6 +17056,7 @@ var OverallSection = function OverallSection(_ref) {
16904
17056
  value: metricInfo[title].money ? metricInfo[title].value : metricInfo[title].value,
16905
17057
  caption: metricInfo[title].subValue,
16906
17058
  icon: metricInfo[title].icon,
17059
+ avatarSx: metricInfo[title].avatarSx,
16907
17060
  error: metricInfo[title].error,
16908
17061
  active: activeMetric === title,
16909
17062
  onClick: function onClick() {
@@ -17297,7 +17450,8 @@ var PaidSection = function PaidSection(_ref) {
17297
17450
  subValue: "12% vs last month",
17298
17451
  chartLabel: "Conversion Rate",
17299
17452
  data: [2.8, 3.0, 2.9, 3.4, 3.2, 3.1, 3.1],
17300
- icon: /*#__PURE__*/jsxRuntime.jsx(iconsMaterial.Adjust, {}),
17453
+ icon: /*#__PURE__*/jsxRuntime.jsx(ConversionRateIcon, {}),
17454
+ avatarSx: conversionRateAvatarSx,
17301
17455
  money: false,
17302
17456
  error: false,
17303
17457
  warning: false
@@ -17307,7 +17461,8 @@ var PaidSection = function PaidSection(_ref) {
17307
17461
  subValue: "12% vs last month",
17308
17462
  chartLabel: "Average Donation",
17309
17463
  data: [120, 135, 125, 140, 130, 128, 130.58],
17310
- icon: /*#__PURE__*/jsxRuntime.jsx(iconsMaterial.PaidOutlined, {}),
17464
+ icon: /*#__PURE__*/jsxRuntime.jsx(AverageDonationIcon, {}),
17465
+ avatarSx: avgDonationAvatarSx,
17311
17466
  money: true,
17312
17467
  error: false,
17313
17468
  warning: false
@@ -17321,6 +17476,7 @@ var PaidSection = function PaidSection(_ref) {
17321
17476
  value: metricInfo[title].money ? metricInfo[title].value : metricInfo[title].value,
17322
17477
  caption: metricInfo[title].subValue,
17323
17478
  icon: metricInfo[title].icon,
17479
+ avatarSx: metricInfo[title].avatarSx,
17324
17480
  error: metricInfo[title].error,
17325
17481
  active: activeMetric === title,
17326
17482
  onClick: function onClick() {
@@ -17640,7 +17796,8 @@ var OrganicSection = function OrganicSection(_ref) {
17640
17796
  subValue: "8.4% vs pp",
17641
17797
  data: [2.5, 2.7, 2.6, 3.1, 3.0, 2.9, 3.1],
17642
17798
  categories: fallbackCategories,
17643
- icon: /*#__PURE__*/jsxRuntime.jsx(iconsMaterial.Adjust, {}),
17799
+ icon: /*#__PURE__*/jsxRuntime.jsx(ConversionRateIcon, {}),
17800
+ avatarSx: conversionRateAvatarSx,
17644
17801
  money: false,
17645
17802
  warning: false,
17646
17803
  error: false
@@ -17660,7 +17817,8 @@ var OrganicSection = function OrganicSection(_ref) {
17660
17817
  subValue: "18% vs pp",
17661
17818
  data: [110, 125, 120, 135, 130, 128, 130.58],
17662
17819
  categories: fallbackCategories,
17663
- icon: /*#__PURE__*/jsxRuntime.jsx(iconsMaterial.PaidOutlined, {}),
17820
+ icon: /*#__PURE__*/jsxRuntime.jsx(AverageDonationIcon, {}),
17821
+ avatarSx: avgDonationAvatarSx,
17664
17822
  money: true,
17665
17823
  warning: false,
17666
17824
  error: false
@@ -17713,7 +17871,8 @@ var OrganicSection = function OrganicSection(_ref) {
17713
17871
  subValue: growthCaption("conversionRate"),
17714
17872
  data: conversionSeries.data,
17715
17873
  categories: conversionSeries.categories,
17716
- icon: /*#__PURE__*/jsxRuntime.jsx(iconsMaterial.Adjust, {}),
17874
+ icon: /*#__PURE__*/jsxRuntime.jsx(ConversionRateIcon, {}),
17875
+ avatarSx: conversionRateAvatarSx,
17717
17876
  money: false,
17718
17877
  warning: false,
17719
17878
  error: false
@@ -17733,7 +17892,8 @@ var OrganicSection = function OrganicSection(_ref) {
17733
17892
  subValue: growthCaption("overallAVGDonations"),
17734
17893
  data: avgDonationSeries.data,
17735
17894
  categories: avgDonationSeries.categories,
17736
- icon: /*#__PURE__*/jsxRuntime.jsx(iconsMaterial.PaidOutlined, {}),
17895
+ icon: /*#__PURE__*/jsxRuntime.jsx(AverageDonationIcon, {}),
17896
+ avatarSx: avgDonationAvatarSx,
17737
17897
  money: true,
17738
17898
  warning: false,
17739
17899
  error: false
@@ -17822,6 +17982,7 @@ var OrganicSection = function OrganicSection(_ref) {
17822
17982
  value: metricInfo[title].money ? metricInfo[title].value : metricInfo[title].value,
17823
17983
  caption: metricInfo[title].subValue,
17824
17984
  icon: metricInfo[title].icon,
17985
+ avatarSx: metricInfo[title].avatarSx,
17825
17986
  error: metricInfo[title].error,
17826
17987
  active: activeMetric === title,
17827
17988
  onClick: function onClick() {
@@ -18253,6 +18414,185 @@ var EmailTrendCard = function EmailTrendCard(_ref) {
18253
18414
  });
18254
18415
  };
18255
18416
 
18417
+ var _excluded$4 = ["size"];
18418
+ var ClicksIcon = function ClicksIcon(_ref) {
18419
+ var _ref$size = _ref.size,
18420
+ size = _ref$size === void 0 ? 30 : _ref$size,
18421
+ props = _objectWithoutProperties(_ref, _excluded$4);
18422
+ return /*#__PURE__*/jsxRuntime.jsxs("svg", _objectSpread2(_objectSpread2({
18423
+ xmlns: "http://www.w3.org/2000/svg",
18424
+ viewBox: "0 0 24 24",
18425
+ width: size,
18426
+ height: size,
18427
+ "aria-hidden": "true"
18428
+ }, props), {}, {
18429
+ children: [/*#__PURE__*/jsxRuntime.jsx("circle", {
18430
+ cx: "12",
18431
+ cy: "12",
18432
+ r: "12",
18433
+ fill: "#f1f3ff"
18434
+ }), /*#__PURE__*/jsxRuntime.jsx("path", {
18435
+ fill: "#4e47e5",
18436
+ d: "M8.67,3.89c1.47.96,5.13,4.83,6.65,6.32,2.68,2.62,2.05,3.43-1.42,4.38.14,1.83,3.51,5.26.32,5.86-2.26.42-2.08-3.82-3.14-4.46-.37-.22-3.44,2.15-4.06-.03l.2-11.77c.17-.93.83-.7,1.45-.29Z"
18437
+ })]
18438
+ }));
18439
+ };
18440
+ var clicksAvatarSx = {
18441
+ width: 30,
18442
+ height: 30,
18443
+ bgcolor: "transparent"
18444
+ };
18445
+
18446
+ var _excluded$3 = ["size"];
18447
+ var CtrIcon = function CtrIcon(_ref) {
18448
+ var _ref$size = _ref.size,
18449
+ size = _ref$size === void 0 ? 30 : _ref$size,
18450
+ props = _objectWithoutProperties(_ref, _excluded$3);
18451
+ return /*#__PURE__*/jsxRuntime.jsxs("svg", _objectSpread2(_objectSpread2({
18452
+ xmlns: "http://www.w3.org/2000/svg",
18453
+ viewBox: "0 0 24 24",
18454
+ width: size,
18455
+ height: size,
18456
+ "aria-hidden": "true"
18457
+ }, props), {}, {
18458
+ children: [/*#__PURE__*/jsxRuntime.jsx("circle", {
18459
+ cx: "12",
18460
+ cy: "12",
18461
+ r: "12",
18462
+ fill: "#f1f3ff"
18463
+ }), /*#__PURE__*/jsxRuntime.jsxs("g", {
18464
+ fill: "#4e47e5",
18465
+ children: [/*#__PURE__*/jsxRuntime.jsx("path", {
18466
+ d: "M11.91,6.57c.47,1.76-1.75,2.91-2.89,1.49-.78-.97-.19-2.54,1.05-2.69.83-.1,1.62.39,1.84,1.2Z"
18467
+ }), /*#__PURE__*/jsxRuntime.jsx("path", {
18468
+ d: "M12.26,15.63c-2.34.25-1.72,3.91.62,3.27,1.89-.51,1.36-3.48-.62-3.27Z"
18469
+ }), /*#__PURE__*/jsxRuntime.jsx("path", {
18470
+ d: "M20.62,14.28c-.13-.16-.13-.36-.01-.53.23-.33.77-.67,1-.99.02-.02.04-.03.03-.07l-4.07-1.39-1.19-.4.43,1.25,1.39,4.01,1.05-1.04c.16-.1.36-.1.51.03l1.53,1.53c.2-.39.38-.79.52-1.2l-1.19-1.19Z"
18471
+ }), /*#__PURE__*/jsxRuntime.jsx("path", {
18472
+ d: "M21.4,13.6c-.16.14-.33.29-.42.41l.98.99c.81-2.7.44-5.67-1.01-8.2C16.12-1.62,3.46.71,1.78,10.16c-1.6,9.03,8.56,15.57,16.07,10.41.21-.15.41-.31.62-.46,1.09-.75,2.23-2.45,2.23-2.45.13-.19.25-.38.36-.58l-1.57-1.57-1.49,1.46-2.36-6.81,6.36,2.17.06.23c.03.1.05.29-.11.47-.15.2-.35.38-.56.56ZM10,4.49c3.33-.31,3.59,4.59.45,4.79-3.15.21-3.44-4.51-.45-4.79ZM12.92,19.45c-3.39.65-3.97-4.52-.66-4.76,3.02-.22,3.5,4.22.66,4.76ZM17.19,6.58l-9.73,9.73c-.44.37-.99-.16-.64-.61l9.76-9.76c.05-.05.13-.08.19-.09.45-.07.68.4.42.73Z"
18473
+ }), /*#__PURE__*/jsxRuntime.jsx("path", {
18474
+ d: "M21.81,15.47c-.15.41-.32.81-.52,1.2l-1.53-1.53c-.15-.12-.35-.13-.51-.03l-1.05,1.04-1.39-4.01-.43-1.25,1.19.4,4.07,1.39s-.01.05-.03.07c-.23.33-.77.67-1,.99-.12.17-.12.37.01.53l1.19,1.19Z"
18475
+ })]
18476
+ })]
18477
+ }));
18478
+ };
18479
+ var ctrAvatarSx = {
18480
+ width: 30,
18481
+ height: 30,
18482
+ bgcolor: "transparent"
18483
+ };
18484
+
18485
+ var _excluded$2 = ["size"];
18486
+ var RevenuePerClickIcon = function RevenuePerClickIcon(_ref) {
18487
+ var _ref$size = _ref.size,
18488
+ size = _ref$size === void 0 ? 30 : _ref$size,
18489
+ props = _objectWithoutProperties(_ref, _excluded$2);
18490
+ return /*#__PURE__*/jsxRuntime.jsxs("svg", _objectSpread2(_objectSpread2({
18491
+ xmlns: "http://www.w3.org/2000/svg",
18492
+ viewBox: "0 0 24 24",
18493
+ width: size,
18494
+ height: size,
18495
+ "aria-hidden": "true"
18496
+ }, props), {}, {
18497
+ children: [/*#__PURE__*/jsxRuntime.jsx("circle", {
18498
+ cx: "12",
18499
+ cy: "12",
18500
+ r: "12",
18501
+ fill: "#f1f3ff"
18502
+ }), /*#__PURE__*/jsxRuntime.jsxs("g", {
18503
+ fill: "#4e47e5",
18504
+ children: [/*#__PURE__*/jsxRuntime.jsx("path", {
18505
+ d: "M21.48,13.53l-.86-.82s.02-.02.04-.03c.26-.24.42-.39.5-.51.13-.12.15-.25.15-.34,0-.21-.16-.33-.22-.38l-.07-.05-1.82-.48c0-.42.03-.33-.21-1.09-1.71-5.45-8.56-7.09-12.51-2.93-1.82,1.92-2.47,4.91-1.61,7.41,2,5.78,9.55,6.82,13.1,1.91l1.53,1.55c.06.06.02.12,0,.18-.12.24-.81.92-1.04,1.13C10.09,26.66-2.15,16.26,3.64,6.91,8.65-1.2,21.22,2.08,21.56,11.51c0,.18.04,1.93-.09,2.02Z"
18506
+ }), /*#__PURE__*/jsxRuntime.jsx("path", {
18507
+ d: "M17.85,10.56c-.29-1.26-.98-2.44-2.07-3.35-3.42-2.86-8.76-1.08-9.82,3.23-1.25,5.07,3.93,9.24,8.61,7,.45-.19,1.3-.9,1.64-1.2l-1.8-6.59,3.43.91ZM12.45,15.04v1.58h-1.24v-1.55c-.65-.27-1.4-.37-1.98-.82l.61-1.27c.55.42,2.18,1.06,2.77.61.26-.2.16-.56-.07-.74-.33-.26-1.37-.46-1.83-.64-.85-.35-1.3-.82-1.22-1.8.08-1.01.84-1.53,1.72-1.85v-1.41h1.24v1.44c.6.13,1.16.37,1.72.62l-.62,1.23c-.5-.32-2.02-.91-2.43-.34-.61.84,1.64,1.15,2.13,1.37,1.9.87,1.21,3.45-.79,3.57Z"
18508
+ }), /*#__PURE__*/jsxRuntime.jsx("path", {
18509
+ d: "M21.86,15.21l-1.89,1.89-2.14-2.12c-.13-.02-1.03,1.02-1.23,1.16l-.06-.23-1.55-5.67,2.94.78,1.29.34,1.61.43c.11.09.05.07,0,.14-.06.09-.28.3-.51.51-.29.27-.59.56-.58.64l2.12,2.14Z"
18510
+ })]
18511
+ })]
18512
+ }));
18513
+ };
18514
+ var revenuePerClickAvatarSx = {
18515
+ width: 30,
18516
+ height: 30,
18517
+ bgcolor: "transparent"
18518
+ };
18519
+
18520
+ var _excluded$1 = ["size"];
18521
+ var RevenuePerEmailIcon = function RevenuePerEmailIcon(_ref) {
18522
+ var _ref$size = _ref.size,
18523
+ size = _ref$size === void 0 ? 30 : _ref$size,
18524
+ props = _objectWithoutProperties(_ref, _excluded$1);
18525
+ return /*#__PURE__*/jsxRuntime.jsxs("svg", _objectSpread2(_objectSpread2({
18526
+ xmlns: "http://www.w3.org/2000/svg",
18527
+ viewBox: "0 0 24 24",
18528
+ width: size,
18529
+ height: size,
18530
+ "aria-hidden": "true"
18531
+ }, props), {}, {
18532
+ children: [/*#__PURE__*/jsxRuntime.jsx("circle", {
18533
+ cx: "12",
18534
+ cy: "12",
18535
+ r: "12",
18536
+ fill: "#f1f3ff"
18537
+ }), /*#__PURE__*/jsxRuntime.jsxs("g", {
18538
+ fill: "#4e47e5",
18539
+ children: [/*#__PURE__*/jsxRuntime.jsx("path", {
18540
+ d: "M19.63,6.12l-.02.11c-.17.15-.33.3-.5.45h-1.93v.94c-.74.14-1.38.52-1.79,1.08-.4.53-.56,1.18-.46,1.86-.93.87-1.86,1.74-2.81,2.6-.16.14-.46.45-.62.55-.19.12-.39.09-.55-.05L3.47,6.23l-.05-.11h16.21Z"
18541
+ }), /*#__PURE__*/jsxRuntime.jsx("path", {
18542
+ d: "M19.64,17.88H3.43s-.07-.05-.04-.07c1.66-1.79,3.3-3.61,5-5.38l.1.03c.48.47.94.97,1.42,1.43.27.25.59.62.95.72.42.12.86.02,1.2-.25.74-.57,1.41-1.43,2.14-1.99.04-.03.08-.07.13-.08.05,0,.47.43.55.51.02.02.03.04.05.05-.07.03-.13.07-.18.13-.11.14-.14.32-.11.66.02.18.05.36.06.43.25,1.14,1.14,1.96,2.46,2.28v.97h1.94v-.14c.07.08.14.16.22.24.05.06.35.37.36.39.02.04-.03.07-.04.07Z"
18543
+ }), /*#__PURE__*/jsxRuntime.jsx("path", {
18544
+ d: "M20.34,6.76v1.4c-.29-.21-.63-.37-1-.48l1-.92Z"
18545
+ }), /*#__PURE__*/jsxRuntime.jsx("path", {
18546
+ d: "M19.51,16.3c.3-.08.58-.21.83-.37v1.23l-.83-.86Z"
18547
+ }), /*#__PURE__*/jsxRuntime.jsx("path", {
18548
+ d: "M2.74,6.83l5.03,4.93c-1.62,1.81-3.3,3.59-4.95,5.38-.02.04-.07-.03-.07-.04V6.83Z"
18549
+ }), /*#__PURE__*/jsxRuntime.jsx("path", {
18550
+ d: "M21.14,12.94c-.16-.48-.45-.78-.8-1.01-.48-.3-1.07-.45-1.62-.67v-2.14c.71.1,1.13.64,1.15,1.34h1.22c0-.74-.28-1.36-.75-1.79-.36-.33-.82-.56-1.35-.66-.09-.02-.18-.03-.27-.04v-.9h-1.15v.9c-1.27.1-2.31,1-2.28,2.25,0,.15.02.3.05.45.04.19.11.36.21.51.41.66,1.27.97,2.02,1.14v2.5c-.78-.15-1.35-.79-1.34-1.6h-1.12c-.14,0-.03.65,0,.77.27,1.21,1.31,1.85,2.47,2.05v.9h1.15v-.9c.16,0,.32-.02.48-.06.42-.09.82-.27,1.15-.52.74-.57,1.14-1.49.8-2.51ZM17.56,11.04c-.61-.08-.96-.4-1.05-.75-.13-.49.23-1.06,1.05-1.17v1.92ZM18.72,14.88v-2.3c1.76.3,1.79,2.09,0,2.3Z"
18551
+ })]
18552
+ })]
18553
+ }));
18554
+ };
18555
+ var revenuePerEmailAvatarSx = {
18556
+ width: 30,
18557
+ height: 30,
18558
+ bgcolor: "transparent"
18559
+ };
18560
+
18561
+ var _excluded = ["size"];
18562
+ var UniqueClicksIcon = function UniqueClicksIcon(_ref) {
18563
+ var _ref$size = _ref.size,
18564
+ size = _ref$size === void 0 ? 30 : _ref$size,
18565
+ props = _objectWithoutProperties(_ref, _excluded);
18566
+ return /*#__PURE__*/jsxRuntime.jsxs("svg", _objectSpread2(_objectSpread2({
18567
+ xmlns: "http://www.w3.org/2000/svg",
18568
+ viewBox: "0 0 24 24",
18569
+ width: size,
18570
+ height: size,
18571
+ "aria-hidden": "true"
18572
+ }, props), {}, {
18573
+ children: [/*#__PURE__*/jsxRuntime.jsx("circle", {
18574
+ cx: "12",
18575
+ cy: "12",
18576
+ r: "12",
18577
+ fill: "#f1f3ff"
18578
+ }), /*#__PURE__*/jsxRuntime.jsxs("g", {
18579
+ fill: "#4e47e5",
18580
+ children: [/*#__PURE__*/jsxRuntime.jsx("path", {
18581
+ d: "M16.11,16.86c.11.39.24.81.41,1.19-.1.02-.22.03-.35.04-3.82.27-7.97-.21-11.82,0-1.71.02-1.24-1.41-.85-2.5.54-1.56,1.73-3.12,3.14-3.98.17-.1.96-.53,1.1-.55.28-.05.52.19.78.28,1.07.36,1.9.45,3.01.15.11-.03.3-.11.49-.19l-.07,3.92.02.08c.22.76.76,1.19,1.53,1.19.67,0,1.4-.33,1.93-.57.09-.04.2-.09.29-.13.03.05.06.12.1.21.1.24.19.54.29.86Z"
18582
+ }), /*#__PURE__*/jsxRuntime.jsx("path", {
18583
+ d: "M12.95,4.19c-.19.04-.36.13-.49.27-.16.17-.27.4-.33.71v.05s-.09,4.98-.09,4.98c-.39.19-.84.33-1.35.38-5.23.5-5.62-7.26-.6-7.49,1.26-.06,2.22.4,2.86,1.11Z"
18584
+ }), /*#__PURE__*/jsxRuntime.jsx("path", {
18585
+ d: "M18.28,14.01c.12,1.54,2.94,4.41.27,4.91-.77.14-1.2-.36-1.5-1.04-.44-1-.6-2.39-1.13-2.71-.31-.19-2.88,1.8-3.41-.03l.07-4.07.02-1.23.08-4.56c.1-.52.37-.61.7-.51.16.05.34.15.52.26,1.23.81,4.3,4.05,5.58,5.3,2.25,2.2,1.72,2.87-1.19,3.67Z"
18586
+ })]
18587
+ })]
18588
+ }));
18589
+ };
18590
+ var uniqueClicksAvatarSx = {
18591
+ width: 30,
18592
+ height: 30,
18593
+ bgcolor: "transparent"
18594
+ };
18595
+
18256
18596
  var formatGrowth = function formatGrowth(value, dateName) {
18257
18597
  return "".concat(Number(value !== null && value !== void 0 ? value : 0).toFixed(2), "% vs pp");
18258
18598
  };
@@ -18345,7 +18685,8 @@ var EmailSection = function EmailSection(_ref) {
18345
18685
  "Conversion rate": {
18346
18686
  value: "3.2%",
18347
18687
  subValue: "12% vs pp",
18348
- icon: /*#__PURE__*/jsxRuntime.jsx(iconsMaterial.Adjust, {}),
18688
+ icon: /*#__PURE__*/jsxRuntime.jsx(ConversionRateIcon, {}),
18689
+ avatarSx: conversionRateAvatarSx,
18349
18690
  money: false,
18350
18691
  error: false,
18351
18692
  warning: false
@@ -18353,7 +18694,8 @@ var EmailSection = function EmailSection(_ref) {
18353
18694
  CTR: {
18354
18695
  value: "8.1%",
18355
18696
  subValue: "12% vs pp",
18356
- icon: /*#__PURE__*/jsxRuntime.jsx(iconsMaterial.NotInterested, {}),
18697
+ icon: /*#__PURE__*/jsxRuntime.jsx(CtrIcon, {}),
18698
+ avatarSx: ctrAvatarSx,
18357
18699
  money: false,
18358
18700
  error: false,
18359
18701
  warning: false
@@ -18361,7 +18703,8 @@ var EmailSection = function EmailSection(_ref) {
18361
18703
  "Revenue per email": {
18362
18704
  value: "$".concat(formatNumber(2.45)),
18363
18705
  subValue: "12% vs pp",
18364
- icon: /*#__PURE__*/jsxRuntime.jsx(iconsMaterial.IndeterminateCheckBoxOutlined, {}),
18706
+ icon: /*#__PURE__*/jsxRuntime.jsx(RevenuePerEmailIcon, {}),
18707
+ avatarSx: revenuePerEmailAvatarSx,
18365
18708
  money: true,
18366
18709
  error: false,
18367
18710
  warning: false
@@ -18377,7 +18720,8 @@ var EmailSection = function EmailSection(_ref) {
18377
18720
  Clicks: {
18378
18721
  value: "1,612",
18379
18722
  subValue: "12% vs pp",
18380
- icon: /*#__PURE__*/jsxRuntime.jsx(iconsMaterial.NearMe, {}),
18723
+ icon: /*#__PURE__*/jsxRuntime.jsx(ClicksIcon, {}),
18724
+ avatarSx: clicksAvatarSx,
18381
18725
  money: false,
18382
18726
  error: false,
18383
18727
  warning: false
@@ -18385,7 +18729,8 @@ var EmailSection = function EmailSection(_ref) {
18385
18729
  "Unique Clicks": {
18386
18730
  value: formatNumber(1148),
18387
18731
  subValue: "12% vs pp",
18388
- icon: /*#__PURE__*/jsxRuntime.jsx(iconsMaterial.NearMe, {}),
18732
+ icon: /*#__PURE__*/jsxRuntime.jsx(UniqueClicksIcon, {}),
18733
+ avatarSx: uniqueClicksAvatarSx,
18389
18734
  money: false,
18390
18735
  error: false,
18391
18736
  warning: false
@@ -18401,7 +18746,8 @@ var EmailSection = function EmailSection(_ref) {
18401
18746
  "Revenue per Click": {
18402
18747
  value: "$".concat(formatNumber(30.35)),
18403
18748
  subValue: "12% vs pp",
18404
- icon: /*#__PURE__*/jsxRuntime.jsx(iconsMaterial.HighlightOff, {}),
18749
+ icon: /*#__PURE__*/jsxRuntime.jsx(RevenuePerClickIcon, {}),
18750
+ avatarSx: revenuePerClickAvatarSx,
18405
18751
  money: true,
18406
18752
  error: false,
18407
18753
  warning: false
@@ -18428,7 +18774,8 @@ var EmailSection = function EmailSection(_ref) {
18428
18774
  "Conversion rate": {
18429
18775
  value: "".concat(Number((_overview$conversionR = overview.conversionRate) !== null && _overview$conversionR !== void 0 ? _overview$conversionR : 0).toFixed(2), "%"),
18430
18776
  subValue: growthCaption("conversionRate"),
18431
- icon: /*#__PURE__*/jsxRuntime.jsx(iconsMaterial.Adjust, {}),
18777
+ icon: /*#__PURE__*/jsxRuntime.jsx(ConversionRateIcon, {}),
18778
+ avatarSx: conversionRateAvatarSx,
18432
18779
  money: false,
18433
18780
  error: false,
18434
18781
  warning: false
@@ -18436,7 +18783,8 @@ var EmailSection = function EmailSection(_ref) {
18436
18783
  CTR: {
18437
18784
  value: "".concat(Number((_overview$ctr = overview.ctr) !== null && _overview$ctr !== void 0 ? _overview$ctr : 0).toFixed(2), "%"),
18438
18785
  subValue: growthCaption("ctr"),
18439
- icon: /*#__PURE__*/jsxRuntime.jsx(iconsMaterial.NotInterested, {}),
18786
+ icon: /*#__PURE__*/jsxRuntime.jsx(CtrIcon, {}),
18787
+ avatarSx: ctrAvatarSx,
18440
18788
  money: false,
18441
18789
  error: false,
18442
18790
  warning: false
@@ -18444,7 +18792,8 @@ var EmailSection = function EmailSection(_ref) {
18444
18792
  "Revenue per email": {
18445
18793
  value: "$".concat(formatNumber((_overview$revenuePerE = overview.revenuePerEmail) !== null && _overview$revenuePerE !== void 0 ? _overview$revenuePerE : 0)),
18446
18794
  subValue: growthCaption("revenuePerEmail"),
18447
- icon: /*#__PURE__*/jsxRuntime.jsx(iconsMaterial.IndeterminateCheckBoxOutlined, {}),
18795
+ icon: /*#__PURE__*/jsxRuntime.jsx(RevenuePerEmailIcon, {}),
18796
+ avatarSx: revenuePerEmailAvatarSx,
18448
18797
  money: true,
18449
18798
  error: false,
18450
18799
  warning: false
@@ -18460,7 +18809,8 @@ var EmailSection = function EmailSection(_ref) {
18460
18809
  Clicks: {
18461
18810
  value: formatNumber((_deliverability$total = deliverability.totalClicks) !== null && _deliverability$total !== void 0 ? _deliverability$total : 0),
18462
18811
  subValue: growthCaption("totalClicks", deliverabilityGrowth),
18463
- icon: /*#__PURE__*/jsxRuntime.jsx(iconsMaterial.NearMe, {}),
18812
+ icon: /*#__PURE__*/jsxRuntime.jsx(ClicksIcon, {}),
18813
+ avatarSx: clicksAvatarSx,
18464
18814
  money: false,
18465
18815
  error: false,
18466
18816
  warning: false
@@ -18468,7 +18818,8 @@ var EmailSection = function EmailSection(_ref) {
18468
18818
  "Unique Clicks": {
18469
18819
  value: formatNumber((_deliverability$uniqu = deliverability.uniqueClicks) !== null && _deliverability$uniqu !== void 0 ? _deliverability$uniqu : 0),
18470
18820
  subValue: growthCaption("uniqueClicks", deliverabilityGrowth),
18471
- icon: /*#__PURE__*/jsxRuntime.jsx(iconsMaterial.NearMe, {}),
18821
+ icon: /*#__PURE__*/jsxRuntime.jsx(UniqueClicksIcon, {}),
18822
+ avatarSx: uniqueClicksAvatarSx,
18472
18823
  money: false,
18473
18824
  error: false,
18474
18825
  warning: false
@@ -18484,7 +18835,8 @@ var EmailSection = function EmailSection(_ref) {
18484
18835
  "Revenue per Click": {
18485
18836
  value: "$".concat(formatNumber((_deliverability$reven = deliverability.revenuePerClick) !== null && _deliverability$reven !== void 0 ? _deliverability$reven : 0)),
18486
18837
  subValue: growthCaption("revenuePerClick", deliverabilityGrowth),
18487
- icon: /*#__PURE__*/jsxRuntime.jsx(iconsMaterial.HighlightOff, {}),
18838
+ icon: /*#__PURE__*/jsxRuntime.jsx(RevenuePerClickIcon, {}),
18839
+ avatarSx: revenuePerClickAvatarSx,
18488
18840
  money: true,
18489
18841
  error: false,
18490
18842
  warning: false
@@ -18536,6 +18888,7 @@ var EmailSection = function EmailSection(_ref) {
18536
18888
  value: metricInfo[title].value,
18537
18889
  caption: metricInfo[title].subValue,
18538
18890
  icon: metricInfo[title].icon,
18891
+ avatarSx: metricInfo[title].avatarSx,
18539
18892
  error: metricInfo[title].error,
18540
18893
  active: activeMetric === title,
18541
18894
  onClick: function onClick() {