@mx-cartographer/experiences 4.0.14-alpha.JB0 → 4.0.14-alpha.JB2
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/AccountStore-B23-oV1B.mjs +244 -0
- package/dist/AccountStore-B23-oV1B.mjs.map +1 -0
- package/dist/BeatApi-BxXgbSJY.mjs +99 -0
- package/dist/BeatApi-BxXgbSJY.mjs.map +1 -0
- package/dist/BudgetUtil-BSn9Zr71.mjs +208 -0
- package/dist/BudgetUtil-BSn9Zr71.mjs.map +1 -0
- package/dist/CashflowApi-zcebgnO1.mjs +103 -0
- package/dist/CashflowApi-zcebgnO1.mjs.map +1 -0
- package/dist/CashflowStore-gPEEBiXo.mjs +53 -0
- package/dist/CashflowStore-gPEEBiXo.mjs.map +1 -0
- package/dist/Categories-XVFviD23.mjs +117 -0
- package/dist/Categories-XVFviD23.mjs.map +1 -0
- package/dist/CategoryStore-CSNSMNA6.mjs +298 -0
- package/dist/CategoryStore-CSNSMNA6.mjs.map +1 -0
- package/dist/ConnectMiniWidget-Ep65CtHH.mjs +10854 -0
- package/dist/ConnectMiniWidget-Ep65CtHH.mjs.map +1 -0
- package/dist/DebtsStore-Duf3n1vZ.mjs +127 -0
- package/dist/DebtsStore-Duf3n1vZ.mjs.map +1 -0
- package/dist/Donut-DgMeKScZ.mjs +53 -0
- package/dist/Donut-DgMeKScZ.mjs.map +1 -0
- package/dist/Fetch-DpUi1_Dx.mjs +99 -0
- package/dist/Fetch-DpUi1_Dx.mjs.map +1 -0
- package/dist/GoalStore-BYoRLx99.mjs +128 -0
- package/dist/GoalStore-BYoRLx99.mjs.map +1 -0
- package/dist/MerchantStore-RhLvDvX-.mjs +118 -0
- package/dist/MerchantStore-RhLvDvX-.mjs.map +1 -0
- package/dist/NetWorthStore-syD1VnxE.mjs +66 -0
- package/dist/NetWorthStore-syD1VnxE.mjs.map +1 -0
- package/dist/NotificationStore-CqTYHfJC.mjs +141 -0
- package/dist/NotificationStore-CqTYHfJC.mjs.map +1 -0
- package/dist/RecurringActivityStore-B_COvGWG.mjs +304 -0
- package/dist/RecurringActivityStore-B_COvGWG.mjs.map +1 -0
- package/dist/StackedLineChart-CCqGRwvs.mjs +342 -0
- package/dist/StackedLineChart-CCqGRwvs.mjs.map +1 -0
- package/dist/TransactionStore-BUrjBWkk.mjs +478 -0
- package/dist/TransactionStore-BUrjBWkk.mjs.map +1 -0
- package/dist/index.es.js +12 -17869
- package/dist/index.es.js.map +1 -1
- package/dist/index.es10.js +107 -0
- package/dist/index.es10.js.map +1 -0
- package/dist/index.es11.js +159 -0
- package/dist/index.es11.js.map +1 -0
- package/dist/index.es12.js +483 -0
- package/dist/index.es12.js.map +1 -0
- package/dist/index.es13.js +620 -0
- package/dist/index.es13.js.map +1 -0
- package/dist/index.es14.js +788 -0
- package/dist/index.es14.js.map +1 -0
- package/dist/index.es15.js +891 -0
- package/dist/index.es15.js.map +1 -0
- package/dist/index.es16.js +962 -0
- package/dist/index.es16.js.map +1 -0
- package/dist/index.es17.js +1904 -0
- package/dist/index.es17.js.map +1 -0
- package/dist/index.es2.js +11 -0
- package/dist/index.es2.js.map +1 -0
- package/dist/index.es3.js +10 -0
- package/dist/index.es3.js.map +1 -0
- package/dist/index.es4.js +9 -0
- package/dist/index.es4.js.map +1 -0
- package/dist/index.es5.js +7 -0
- package/dist/index.es5.js.map +1 -0
- package/dist/index.es6.js +7 -0
- package/dist/index.es6.js.map +1 -0
- package/dist/index.es7.js +10 -0
- package/dist/index.es7.js.map +1 -0
- package/dist/index.es8.js +10 -0
- package/dist/index.es8.js.map +1 -0
- package/dist/index.es9.js +18 -0
- package/dist/index.es9.js.map +1 -0
- package/dist/useCombineEvents-CZUDHE96.mjs +170 -0
- package/dist/useCombineEvents-CZUDHE96.mjs.map +1 -0
- package/dist/usePrevious-BLb3umpI.mjs +11 -0
- package/dist/usePrevious-BLb3umpI.mjs.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,1904 @@
|
|
|
1
|
+
import { makeAutoObservable as Q, runInAction as Ee } from "mobx";
|
|
2
|
+
import "bowser";
|
|
3
|
+
import { G as ie, b as ve, u as Se, a as Me } from "./useCombineEvents-CZUDHE96.mjs";
|
|
4
|
+
import "date-fns/intlFormat";
|
|
5
|
+
import { V as Ae, a6 as Oe } from "./ConnectMiniWidget-Ep65CtHH.mjs";
|
|
6
|
+
import C, { useState as Y, useEffect as Z } from "react";
|
|
7
|
+
import "@honeybadger-io/react";
|
|
8
|
+
import "numeral";
|
|
9
|
+
import "date-fns/addMonths";
|
|
10
|
+
import "date-fns/addQuarters";
|
|
11
|
+
import "date-fns/addWeeks";
|
|
12
|
+
import "date-fns/addYears";
|
|
13
|
+
import "date-fns/getDay";
|
|
14
|
+
import "date-fns/isBefore";
|
|
15
|
+
import "date-fns/nextDay";
|
|
16
|
+
import "date-fns/setDate";
|
|
17
|
+
import "date-fns/startOfToday";
|
|
18
|
+
import "date-fns/fromUnixTime";
|
|
19
|
+
import { jsx as e, jsxs as m } from "react/jsx-runtime";
|
|
20
|
+
import "@mui/material/Button";
|
|
21
|
+
import { CategoryIcon as Te, useTokens as q, MerchantLogo as we, Icon as X, P as xe, createMXTheme as De } from "@kyper/mui";
|
|
22
|
+
import "@mui/material/Tooltip";
|
|
23
|
+
import J from "@mui/material/Box";
|
|
24
|
+
import oe from "@mui/material/IconButton";
|
|
25
|
+
import We from "@mui/material/styles/useTheme";
|
|
26
|
+
import "@mui/material/useMediaQuery";
|
|
27
|
+
import { css as U } from "@mxenabled/cssinjs";
|
|
28
|
+
import "date-fns/addDays";
|
|
29
|
+
import "date-fns/eachDayOfInterval";
|
|
30
|
+
import "date-fns/eachWeekOfInterval";
|
|
31
|
+
import "date-fns/endOfMonth";
|
|
32
|
+
import "date-fns/format";
|
|
33
|
+
import "date-fns/isSameMonth";
|
|
34
|
+
import "date-fns/startOfMonth";
|
|
35
|
+
import "date-fns/subMonths";
|
|
36
|
+
import "@mui/material/Paper";
|
|
37
|
+
import "@mui/icons-material/KeyboardArrowLeftRounded";
|
|
38
|
+
import "@mui/icons-material/KeyboardArrowRightRounded";
|
|
39
|
+
import "date-fns/isSameDay";
|
|
40
|
+
import "date-fns/isWithinInterval";
|
|
41
|
+
import "d3";
|
|
42
|
+
import { ThemeProvider as Le } from "@mui/material/styles";
|
|
43
|
+
import "@mui/x-charts";
|
|
44
|
+
import Ne from "@mui/material/Stack";
|
|
45
|
+
import "@mui/material";
|
|
46
|
+
import "date-fns/differenceInCalendarDays";
|
|
47
|
+
import "date-fns/endOfToday";
|
|
48
|
+
import "date-fns/endOfYear";
|
|
49
|
+
import "date-fns/startOfYear";
|
|
50
|
+
import "date-fns/subDays";
|
|
51
|
+
import "date-fns/subYears";
|
|
52
|
+
import "@mui/material/ButtonGroup";
|
|
53
|
+
import "@mui/material/Tab";
|
|
54
|
+
import "@mui/material/Tabs";
|
|
55
|
+
import "@mui/material/ToggleButton";
|
|
56
|
+
import "@mui/material/ToggleButtonGroup";
|
|
57
|
+
import "@mui/material/Dialog";
|
|
58
|
+
import "@mui/material/DialogContent";
|
|
59
|
+
import "@mui/icons-material/ArrowBackOutlined";
|
|
60
|
+
import Ve from "@mui/material/Card";
|
|
61
|
+
import He from "@mui/material/CardHeader";
|
|
62
|
+
import "@mui/material/CardContent";
|
|
63
|
+
import "uuid";
|
|
64
|
+
import ke from "@mui/material/CircularProgress";
|
|
65
|
+
import "@mui/material/FormControlLabel";
|
|
66
|
+
import "@mui/material/Radio";
|
|
67
|
+
import "@mui/material/Avatar";
|
|
68
|
+
import "@mui/material/ListItem";
|
|
69
|
+
import "@mui/material/ListItemAvatar";
|
|
70
|
+
import "@mui/material/ListItemButton";
|
|
71
|
+
import "@mui/material/ListItemText";
|
|
72
|
+
import "@mui/material/ListItemIcon";
|
|
73
|
+
import "date-fns/getUnixTime";
|
|
74
|
+
import "date-fns/differenceInDays";
|
|
75
|
+
import "@mui/x-data-grid-pro";
|
|
76
|
+
import "date-fns";
|
|
77
|
+
import "date-fns/getMonth";
|
|
78
|
+
import "date-fns/isAfter";
|
|
79
|
+
import "date-fns/parseISO";
|
|
80
|
+
import "date-fns/subWeeks";
|
|
81
|
+
import "date-fns/formatISO";
|
|
82
|
+
import { B as re } from "./BeatApi-BxXgbSJY.mjs";
|
|
83
|
+
import { useInView as ue } from "react-intersection-observer";
|
|
84
|
+
import { observer as N } from "mobx-react-lite";
|
|
85
|
+
import Fe from "@mui/icons-material/ChevronLeft";
|
|
86
|
+
import he from "@mui/icons-material/ChevronRight";
|
|
87
|
+
import Be from "@mui/material/CardActions";
|
|
88
|
+
import Ze from "@mui/material/Link";
|
|
89
|
+
import le from "@mui/material/Typography";
|
|
90
|
+
import Pe from "@mui/material/CssBaseline";
|
|
91
|
+
class Ge {
|
|
92
|
+
copyApi = new ie("/", "");
|
|
93
|
+
copyObject = {};
|
|
94
|
+
namespace = "experiences";
|
|
95
|
+
translationKey = "micro_insights";
|
|
96
|
+
constructor() {
|
|
97
|
+
Q(this);
|
|
98
|
+
}
|
|
99
|
+
initialize = async (o, i) => {
|
|
100
|
+
this.copyApi = new ie(o, i), await this.loadCopy();
|
|
101
|
+
};
|
|
102
|
+
loadCopy = async () => {
|
|
103
|
+
const o = await this.copyApi.getGlobalCopy(this.namespace, this.translationKey);
|
|
104
|
+
Ee(() => {
|
|
105
|
+
this.copyObject = o[this.translationKey];
|
|
106
|
+
});
|
|
107
|
+
};
|
|
108
|
+
get cardsCopy() {
|
|
109
|
+
return this.copyObject.cards;
|
|
110
|
+
}
|
|
111
|
+
get carouselCopy() {
|
|
112
|
+
return this.copyObject.carousel;
|
|
113
|
+
}
|
|
114
|
+
get zeroStateCopy() {
|
|
115
|
+
return this.copyObject.zero_state;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
const ee = {
|
|
119
|
+
BillAmountNotStandard: "BillAmountNotStandard",
|
|
120
|
+
CanadianUpcomingDeadlineAlert: "CanadianUpcomingDeadlineAlert",
|
|
121
|
+
DuplicatePaymentV2: "DuplicatePaymentV2",
|
|
122
|
+
IntroducePulse: "IntroducePulse",
|
|
123
|
+
LargeTransaction: "LargeTransaction",
|
|
124
|
+
MonthlySpendToIncomeComparisonV2: "MonthlySpendToIncomeComparisonV2",
|
|
125
|
+
QuarterlySummary: "QuarterlySummary",
|
|
126
|
+
SpendingPlanCategorySpending: "SpendingPlanCategorySpending",
|
|
127
|
+
SubscriptionPriceIncrease: "SubscriptionPriceIncrease",
|
|
128
|
+
UncategorizedTransactionsV2: "UncategorizedTransactionsV2",
|
|
129
|
+
UpcomingBill: "UpcomingBill",
|
|
130
|
+
UnifiedDeposit: "UnifiedDeposit",
|
|
131
|
+
WeeklySpendingPlanSummary: "WeeklySpendingPlanSummary",
|
|
132
|
+
WeeklyNewMerchantsV2: "WeeklyNewMerchantsV2",
|
|
133
|
+
MonthlySpendComparison: "MonthlySpendComparison",
|
|
134
|
+
MonthlySpendToIncomeComparison: "MonthlySpendToIncomeComparison"
|
|
135
|
+
}, g = window?.app?.clientConfig?.microwidget_instance_id || "", ne = {
|
|
136
|
+
INSIGHTS_MICRO_WIDGET: "/micro-insights-carousel"
|
|
137
|
+
}, Ce = (t) => `on${t}Click`, _e = (t) => `on${t}View`, me = (t) => `on${t}ViewFirstTime`, te = (t) => t.replace(/([a-z])([A-Z])/g, "$1 $2"), be = () => Object.values(ee).reduce(
|
|
138
|
+
(t, o) => ({
|
|
139
|
+
...t,
|
|
140
|
+
[Ce(o)]: {
|
|
141
|
+
action: w.MICRO_BEAT_CLICKED,
|
|
142
|
+
category: T.BEAT_INTERACTION,
|
|
143
|
+
label: te(o),
|
|
144
|
+
value: g
|
|
145
|
+
}
|
|
146
|
+
}),
|
|
147
|
+
{}
|
|
148
|
+
), Ue = () => Object.values(ee).reduce(
|
|
149
|
+
(t, o) => ({
|
|
150
|
+
...t,
|
|
151
|
+
[_e(o)]: {
|
|
152
|
+
action: w.MICRO_BEAT_DISPLAYED,
|
|
153
|
+
category: T.BEAT_INTERACTION,
|
|
154
|
+
label: te(o),
|
|
155
|
+
value: g
|
|
156
|
+
}
|
|
157
|
+
}),
|
|
158
|
+
{}
|
|
159
|
+
), ze = () => Object.values(ee).reduce(
|
|
160
|
+
(t, o) => ({
|
|
161
|
+
...t,
|
|
162
|
+
[me(o)]: {
|
|
163
|
+
action: w.MICRO_BEAT_DISPLAYED_FIRST_TIME,
|
|
164
|
+
category: T.BEAT_INTERACTION,
|
|
165
|
+
label: te(o),
|
|
166
|
+
value: g
|
|
167
|
+
}
|
|
168
|
+
}),
|
|
169
|
+
{}
|
|
170
|
+
), O = {
|
|
171
|
+
CARD: "Card",
|
|
172
|
+
CAROUSEL_CONTROL: "Carousel Control",
|
|
173
|
+
MICRO_WIDGET: "Micro Widget",
|
|
174
|
+
VIEW_MORE: "View More"
|
|
175
|
+
}, T = {
|
|
176
|
+
MICRO_WIDGET_INTERACTION: "Micro Widget Interaction",
|
|
177
|
+
BEAT_INTERACTION: "Beat Interaction"
|
|
178
|
+
}, R = {
|
|
179
|
+
ON_CAROUSEL_BACK_CLICK: "onCarouselBackClick",
|
|
180
|
+
ON_CAROUSEL_BACK_SWIPE: "onCarouselBackSwipe",
|
|
181
|
+
ON_CAROUSEL_FORWARD_CLICK: "onCarouselForwardClick",
|
|
182
|
+
ON_CAROUSEL_FORWARD_SWIPE: "onCarouselForwardSwipe",
|
|
183
|
+
ON_NO_RELEVANT_INSIGHTS_CLICKED: "onNoRelevantInsightsClicked",
|
|
184
|
+
ON_VIEW_MORE_CLICKED: "onViewMoreClicked"
|
|
185
|
+
}, fe = {
|
|
186
|
+
ON_VIEW_MORE_VIEWED: "onViewMoreCardView"
|
|
187
|
+
}, w = {
|
|
188
|
+
CONTROL_BACKWARD: "Control Backward",
|
|
189
|
+
CONTROL_FORWARD: "Control Forward",
|
|
190
|
+
MICRO_BEAT_CLICKED: "Micro Beat Clicked",
|
|
191
|
+
MICRO_BEAT_DISPLAYED: "Micro Beat Displayed",
|
|
192
|
+
MICRO_BEAT_DISPLAYED_FIRST_TIME: "Micro Beat Displayed For First Time",
|
|
193
|
+
SWIPE_BACKWARD: "Swipe Backward",
|
|
194
|
+
SWIPE_FORWARD: "Swipe Forward"
|
|
195
|
+
}, W = {
|
|
196
|
+
MICRO_WIDGET_CAROUSEL: "Micro Widget Carousel",
|
|
197
|
+
MICRO_WIDGET_CAROUSEL_ZERO_STATE: "Micro Widget Carousel Zero State",
|
|
198
|
+
MICRO_WIDGET_CAROUSEL_NO_RELEVANT_INSIGHTS: "Micro Widget Carousel No Relevant Insights"
|
|
199
|
+
}, ae = {
|
|
200
|
+
[W.MICRO_WIDGET_CAROUSEL]: {
|
|
201
|
+
label: O.MICRO_WIDGET,
|
|
202
|
+
name: W.MICRO_WIDGET_CAROUSEL,
|
|
203
|
+
path: ne.INSIGHTS_MICRO_WIDGET,
|
|
204
|
+
value: g
|
|
205
|
+
},
|
|
206
|
+
// zero state
|
|
207
|
+
[W.MICRO_WIDGET_CAROUSEL_ZERO_STATE]: {
|
|
208
|
+
label: O.MICRO_WIDGET,
|
|
209
|
+
name: W.MICRO_WIDGET_CAROUSEL_ZERO_STATE,
|
|
210
|
+
path: ne.INSIGHTS_MICRO_WIDGET,
|
|
211
|
+
value: g
|
|
212
|
+
},
|
|
213
|
+
// no relevant cards
|
|
214
|
+
[W.MICRO_WIDGET_CAROUSEL_NO_RELEVANT_INSIGHTS]: {
|
|
215
|
+
label: O.MICRO_WIDGET,
|
|
216
|
+
name: W.MICRO_WIDGET_CAROUSEL_NO_RELEVANT_INSIGHTS,
|
|
217
|
+
path: "/micro-widget",
|
|
218
|
+
value: g
|
|
219
|
+
}
|
|
220
|
+
}, ce = {
|
|
221
|
+
// carousel control interaction events - clicks and swipes
|
|
222
|
+
[R.ON_CAROUSEL_BACK_CLICK]: {
|
|
223
|
+
action: w.CONTROL_BACKWARD,
|
|
224
|
+
category: T.MICRO_WIDGET_INTERACTION,
|
|
225
|
+
label: O.CAROUSEL_CONTROL,
|
|
226
|
+
value: g
|
|
227
|
+
},
|
|
228
|
+
[R.ON_CAROUSEL_FORWARD_CLICK]: {
|
|
229
|
+
action: w.CONTROL_FORWARD,
|
|
230
|
+
category: T.MICRO_WIDGET_INTERACTION,
|
|
231
|
+
label: O.CAROUSEL_CONTROL,
|
|
232
|
+
value: g
|
|
233
|
+
},
|
|
234
|
+
[R.ON_CAROUSEL_BACK_SWIPE]: {
|
|
235
|
+
action: w.SWIPE_BACKWARD,
|
|
236
|
+
category: T.MICRO_WIDGET_INTERACTION,
|
|
237
|
+
label: O.CAROUSEL_CONTROL,
|
|
238
|
+
value: g
|
|
239
|
+
},
|
|
240
|
+
[R.ON_CAROUSEL_FORWARD_SWIPE]: {
|
|
241
|
+
action: w.SWIPE_FORWARD,
|
|
242
|
+
category: T.MICRO_WIDGET_INTERACTION,
|
|
243
|
+
label: O.CAROUSEL_CONTROL,
|
|
244
|
+
value: g
|
|
245
|
+
},
|
|
246
|
+
// read more card events
|
|
247
|
+
[R.ON_VIEW_MORE_CLICKED]: {
|
|
248
|
+
action: w.MICRO_BEAT_CLICKED,
|
|
249
|
+
category: T.BEAT_INTERACTION,
|
|
250
|
+
label: O.VIEW_MORE,
|
|
251
|
+
value: g
|
|
252
|
+
},
|
|
253
|
+
[fe.ON_VIEW_MORE_VIEWED]: {
|
|
254
|
+
action: w.MICRO_BEAT_DISPLAYED,
|
|
255
|
+
category: T.BEAT_INTERACTION,
|
|
256
|
+
label: O.VIEW_MORE,
|
|
257
|
+
value: g
|
|
258
|
+
},
|
|
259
|
+
...be(),
|
|
260
|
+
...Ue(),
|
|
261
|
+
...ze()
|
|
262
|
+
}, de = async (t, o) => !o || !ce[t] ? null : o.sendAnalyticEvent(ce[t]).then((i) => i).catch((i) => {
|
|
263
|
+
throw i;
|
|
264
|
+
}), se = async (t, o) => !o || !ae[t] ? null : o.sendAnalyticsPageview(ae[t]).then((i) => i).catch((i) => {
|
|
265
|
+
throw i;
|
|
266
|
+
});
|
|
267
|
+
class Ke {
|
|
268
|
+
onAnalyticEvent = de;
|
|
269
|
+
onAnalyticPageView = se;
|
|
270
|
+
beatApi = new re("/", "");
|
|
271
|
+
constructor() {
|
|
272
|
+
Q(this);
|
|
273
|
+
}
|
|
274
|
+
initialize = async (o, i, r) => {
|
|
275
|
+
this.onAnalyticEvent = (n, l) => {
|
|
276
|
+
de(n, l).then((c) => c).catch((c) => {
|
|
277
|
+
throw c.status === 401 && r(), c;
|
|
278
|
+
});
|
|
279
|
+
}, this.onAnalyticPageView = (n, l) => {
|
|
280
|
+
se(n, l).then((c) => c).catch((c) => {
|
|
281
|
+
throw c.status === 401 && r(), c;
|
|
282
|
+
});
|
|
283
|
+
}, this.beatApi = new re(o, i);
|
|
284
|
+
};
|
|
285
|
+
updateBeat = async (o) => {
|
|
286
|
+
this.beatApi.updateBeat(o);
|
|
287
|
+
};
|
|
288
|
+
}
|
|
289
|
+
class $e {
|
|
290
|
+
copyStore;
|
|
291
|
+
endpoint = "/";
|
|
292
|
+
insightsMicroWidgetStore;
|
|
293
|
+
session = null;
|
|
294
|
+
token = "";
|
|
295
|
+
isInitialized = !1;
|
|
296
|
+
constructor() {
|
|
297
|
+
this.copyStore = new Ge(), this.insightsMicroWidgetStore = new Ke(), Q(this);
|
|
298
|
+
}
|
|
299
|
+
initialize = async (o, i, r) => {
|
|
300
|
+
await this.copyStore.initialize(o, i), await this.insightsMicroWidgetStore.initialize(o, i, r), this.session = await ve(o, i, "1.0.0", "Micro Insights Carousel"), Ee(() => {
|
|
301
|
+
this.isInitialized = !0;
|
|
302
|
+
});
|
|
303
|
+
};
|
|
304
|
+
}
|
|
305
|
+
const P = C.createContext(null), je = ({
|
|
306
|
+
onEvent: t,
|
|
307
|
+
onPageview: o,
|
|
308
|
+
store: i,
|
|
309
|
+
children: r
|
|
310
|
+
}) => /* @__PURE__ */ e(P.Provider, { value: { onEvent: t, onPageview: o, store: i, children: r }, children: r }), Ye = ({ beat: t }) => {
|
|
311
|
+
const [o, i] = Y(Ae.UNCATEGORIZED);
|
|
312
|
+
return Z(() => {
|
|
313
|
+
t.primary_category_guid ? i(t.primary_category_guid) : t.category_guids?.length && i(t.category_guids[0]);
|
|
314
|
+
}, []), /* @__PURE__ */ e(Te, { categoryGuid: o, size: 16, sx: { minWidth: 16 } });
|
|
315
|
+
}, Xe = ({ beat: t }) => {
|
|
316
|
+
const o = q(), i = Qe(o);
|
|
317
|
+
return /* @__PURE__ */ e(
|
|
318
|
+
we,
|
|
319
|
+
{
|
|
320
|
+
categoryGuid: t.primary_category_guid || t.category_guids && t.category_guids[0] || "",
|
|
321
|
+
className: i,
|
|
322
|
+
merchantGuid: t.primary_merchant_guid || t.merchant_guids[0],
|
|
323
|
+
size: 16
|
|
324
|
+
}
|
|
325
|
+
);
|
|
326
|
+
}, Qe = (t) => U({
|
|
327
|
+
marginTop: t.Spacing.XTiny,
|
|
328
|
+
"& .kyper-categoryicon": {
|
|
329
|
+
display: "flex"
|
|
330
|
+
}
|
|
331
|
+
}), qe = N(Xe), Je = ({
|
|
332
|
+
color: t = "currentColor",
|
|
333
|
+
height: o,
|
|
334
|
+
size: i = 16,
|
|
335
|
+
styles: r,
|
|
336
|
+
viewBox: n = "0 0 16 16",
|
|
337
|
+
width: l
|
|
338
|
+
}) => /* @__PURE__ */ e(
|
|
339
|
+
"svg",
|
|
340
|
+
{
|
|
341
|
+
"aria-hidden": !0,
|
|
342
|
+
className: "kyper-icon",
|
|
343
|
+
focusable: !1,
|
|
344
|
+
height: o || i,
|
|
345
|
+
style: r,
|
|
346
|
+
viewBox: n,
|
|
347
|
+
width: l || i,
|
|
348
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
349
|
+
children: /* @__PURE__ */ e(
|
|
350
|
+
"path",
|
|
351
|
+
{
|
|
352
|
+
d: "M16 1.5C16 0.671573 15.3284 0 14.5 0H1.5C0.671573 0 0 0.671573 0 1.5V14.5C0 15.3284 0.671573 16 1.5 16H14.5C15.3284 16 16 15.3284 16 14.5V1.5ZM12.8 5.1C13.0209 5.26568 13.0657 5.57909 12.9 5.8L9.90003 9.8C9.71746 10.0434 9.36163 10.0687 9.14648 9.85355L6.55413 7.2612L3.90003 10.8C3.73434 11.0209 3.42094 11.0657 3.20003 10.9C2.97912 10.7343 2.93434 10.4209 3.10003 10.2L6.10003 6.2C6.28259 5.95658 6.63843 5.93129 6.85358 6.14645L9.44593 8.7388L12.1 5.2C12.2657 4.97908 12.5791 4.93431 12.8 5.1Z",
|
|
353
|
+
fill: t
|
|
354
|
+
}
|
|
355
|
+
)
|
|
356
|
+
}
|
|
357
|
+
), et = (t) => t ? t.data ? t.data.map((o) => {
|
|
358
|
+
const i = {};
|
|
359
|
+
return t.names?.map((r, n) => {
|
|
360
|
+
i[r] = o[n];
|
|
361
|
+
}), i;
|
|
362
|
+
}) : [] : [], tt = (t, o) => {
|
|
363
|
+
const i = et(t), r = i.length / 2, n = i.slice(0, r), l = i.slice(r);
|
|
364
|
+
return !n.length || !l.length ? o.Color.Primary300 : n[0].amount > l[0].amount ? o.Color.Error300 : n[0].amount < l[0].amount ? o.Color.Success300 : o.Color.Primary300;
|
|
365
|
+
}, it = ({ beat: t }) => {
|
|
366
|
+
const o = q(), i = tt(t.data_series, o);
|
|
367
|
+
return /* @__PURE__ */ e(X, { name: "bar_chart", sx: { color: i } });
|
|
368
|
+
}, ge = () => /* @__PURE__ */ m("svg", { fill: "none", height: "36", viewBox: "0 0 40 36", width: "40", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
369
|
+
/* @__PURE__ */ e(
|
|
370
|
+
"path",
|
|
371
|
+
{
|
|
372
|
+
clipRule: "evenodd",
|
|
373
|
+
d: "M24.9618 32.6003H9.92084C9.60559 32.6003 9.34766 32.3424 9.34766 32.0271V18.3125C9.34766 17.9972 9.60559 17.7393 9.92084 17.7393H24.9618C25.2771 17.7393 25.535 17.9972 25.535 18.3125V32.0271C25.535 32.3424 25.2771 32.6003 24.9618 32.6003Z",
|
|
374
|
+
fill: "#CDD3DD",
|
|
375
|
+
fillRule: "evenodd"
|
|
376
|
+
}
|
|
377
|
+
),
|
|
378
|
+
/* @__PURE__ */ e(
|
|
379
|
+
"path",
|
|
380
|
+
{
|
|
381
|
+
clipRule: "evenodd",
|
|
382
|
+
d: "M25.535 18.3124V19.5952H9.34766V18.3124C9.34766 17.9974 9.6055 17.7393 9.92084 17.7393H24.9618C25.2771 17.7393 25.535 17.9974 25.535 18.3124Z",
|
|
383
|
+
fill: "#E8F6FF",
|
|
384
|
+
fillRule: "evenodd"
|
|
385
|
+
}
|
|
386
|
+
),
|
|
387
|
+
/* @__PURE__ */ e(
|
|
388
|
+
"path",
|
|
389
|
+
{
|
|
390
|
+
clipRule: "evenodd",
|
|
391
|
+
d: "M10.8689 18.7157C10.8689 18.96 10.6709 19.158 10.4266 19.158C10.1824 19.158 9.98438 18.96 9.98438 18.7157C9.98438 18.4714 10.1824 18.2734 10.4266 18.2734C10.6709 18.2734 10.8689 18.4714 10.8689 18.7157Z",
|
|
392
|
+
fill: "#C3E4FF",
|
|
393
|
+
fillRule: "evenodd"
|
|
394
|
+
}
|
|
395
|
+
),
|
|
396
|
+
/* @__PURE__ */ e(
|
|
397
|
+
"path",
|
|
398
|
+
{
|
|
399
|
+
clipRule: "evenodd",
|
|
400
|
+
d: "M12.2986 18.7157C12.2986 18.96 12.1006 19.158 11.8563 19.158C11.6121 19.158 11.4141 18.96 11.4141 18.7157C11.4141 18.4714 11.6121 18.2734 11.8563 18.2734C12.1006 18.2734 12.2986 18.4714 12.2986 18.7157Z",
|
|
401
|
+
fill: "#C3E4FF",
|
|
402
|
+
fillRule: "evenodd"
|
|
403
|
+
}
|
|
404
|
+
),
|
|
405
|
+
/* @__PURE__ */ e(
|
|
406
|
+
"path",
|
|
407
|
+
{
|
|
408
|
+
clipRule: "evenodd",
|
|
409
|
+
d: "M13.7263 18.7157C13.7263 18.96 13.5283 19.158 13.2841 19.158C13.0398 19.158 12.8418 18.96 12.8418 18.7157C12.8418 18.4714 13.0398 18.2734 13.2841 18.2734C13.5283 18.2734 13.7263 18.4714 13.7263 18.7157Z",
|
|
410
|
+
fill: "#C3E4FF",
|
|
411
|
+
fillRule: "evenodd"
|
|
412
|
+
}
|
|
413
|
+
),
|
|
414
|
+
/* @__PURE__ */ e(
|
|
415
|
+
"path",
|
|
416
|
+
{
|
|
417
|
+
clipRule: "evenodd",
|
|
418
|
+
d: "M26.7313 35.6692H11.6904C11.3751 35.6692 11.1172 35.4112 11.1172 35.096V21.3813C11.1172 21.0661 11.3751 20.8081 11.6904 20.8081H26.7313C27.0466 20.8081 27.3045 21.0661 27.3045 21.3813V35.096C27.3045 35.4112 27.0466 35.6692 26.7313 35.6692Z",
|
|
419
|
+
fill: "#E4E8EE",
|
|
420
|
+
fillRule: "evenodd"
|
|
421
|
+
}
|
|
422
|
+
),
|
|
423
|
+
/* @__PURE__ */ e(
|
|
424
|
+
"path",
|
|
425
|
+
{
|
|
426
|
+
clipRule: "evenodd",
|
|
427
|
+
d: "M27.3045 21.3813V22.6641H11.1172V21.3813C11.1172 21.0662 11.375 20.8081 11.6904 20.8081H26.7313C27.0467 20.8081 27.3045 21.0662 27.3045 21.3813Z",
|
|
428
|
+
fill: "#E8F6FF",
|
|
429
|
+
fillRule: "evenodd"
|
|
430
|
+
}
|
|
431
|
+
),
|
|
432
|
+
/* @__PURE__ */ e(
|
|
433
|
+
"path",
|
|
434
|
+
{
|
|
435
|
+
clipRule: "evenodd",
|
|
436
|
+
d: "M12.6404 21.7846C12.6404 22.0288 12.4424 22.2268 12.1981 22.2268C11.9539 22.2268 11.7559 22.0288 11.7559 21.7846C11.7559 21.5403 11.9539 21.3423 12.1981 21.3423C12.4424 21.3423 12.6404 21.5403 12.6404 21.7846Z",
|
|
437
|
+
fill: "#C3E4FF",
|
|
438
|
+
fillRule: "evenodd"
|
|
439
|
+
}
|
|
440
|
+
),
|
|
441
|
+
/* @__PURE__ */ e(
|
|
442
|
+
"path",
|
|
443
|
+
{
|
|
444
|
+
clipRule: "evenodd",
|
|
445
|
+
d: "M14.0701 21.7846C14.0701 22.0288 13.8721 22.2268 13.6278 22.2268C13.3836 22.2268 13.1855 22.0288 13.1855 21.7846C13.1855 21.5403 13.3836 21.3423 13.6278 21.3423C13.8721 21.3423 14.0701 21.5403 14.0701 21.7846Z",
|
|
446
|
+
fill: "#C3E4FF",
|
|
447
|
+
fillRule: "evenodd"
|
|
448
|
+
}
|
|
449
|
+
),
|
|
450
|
+
/* @__PURE__ */ e(
|
|
451
|
+
"path",
|
|
452
|
+
{
|
|
453
|
+
clipRule: "evenodd",
|
|
454
|
+
d: "M15.4959 21.7846C15.4959 22.0288 15.2979 22.2268 15.0536 22.2268C14.8094 22.2268 14.6113 22.0288 14.6113 21.7846C14.6113 21.5403 14.8094 21.3423 15.0536 21.3423C15.2979 21.3423 15.4959 21.5403 15.4959 21.7846Z",
|
|
455
|
+
fill: "#C3E4FF",
|
|
456
|
+
fillRule: "evenodd"
|
|
457
|
+
}
|
|
458
|
+
),
|
|
459
|
+
/* @__PURE__ */ e(
|
|
460
|
+
"path",
|
|
461
|
+
{
|
|
462
|
+
clipRule: "evenodd",
|
|
463
|
+
d: "M38.0145 25.175H22.9736C22.6584 25.175 22.4004 24.9171 22.4004 24.6018V10.8871C22.4004 10.5719 22.6584 10.314 22.9736 10.314H38.0145C38.3298 10.314 38.5878 10.5719 38.5878 10.8871V24.6018C38.5878 24.9171 38.3298 25.175 38.0145 25.175Z",
|
|
464
|
+
fill: "#EEF1F6",
|
|
465
|
+
fillRule: "evenodd"
|
|
466
|
+
}
|
|
467
|
+
),
|
|
468
|
+
/* @__PURE__ */ e("mask", { height: "3", id: "mask0_1565_98011", maskUnits: "userSpaceOnUse", width: "17", x: "22", y: "10", children: /* @__PURE__ */ e(
|
|
469
|
+
"path",
|
|
470
|
+
{
|
|
471
|
+
clipRule: "evenodd",
|
|
472
|
+
d: "M22.4004 10.3022H38.5878V12.1582H22.4004V10.3022Z",
|
|
473
|
+
fill: "white",
|
|
474
|
+
fillRule: "evenodd"
|
|
475
|
+
}
|
|
476
|
+
) }),
|
|
477
|
+
/* @__PURE__ */ e("g", { mask: "url(#mask0_1565_98011)", children: /* @__PURE__ */ e(
|
|
478
|
+
"path",
|
|
479
|
+
{
|
|
480
|
+
clipRule: "evenodd",
|
|
481
|
+
d: "M38.5878 10.8754V12.1582H22.4004V10.8754C22.4004 10.5604 22.6582 10.3022 22.9736 10.3022H38.0146C38.3299 10.3022 38.5878 10.5604 38.5878 10.8754Z",
|
|
482
|
+
fill: "#CDD3DD",
|
|
483
|
+
fillRule: "evenodd"
|
|
484
|
+
}
|
|
485
|
+
) }),
|
|
486
|
+
/* @__PURE__ */ e(
|
|
487
|
+
"path",
|
|
488
|
+
{
|
|
489
|
+
clipRule: "evenodd",
|
|
490
|
+
d: "M23.9099 11.2802C23.9099 11.5244 23.7119 11.7224 23.4677 11.7224C23.2234 11.7224 23.0254 11.5244 23.0254 11.2802C23.0254 11.0359 23.2234 10.8379 23.4677 10.8379C23.7119 10.8379 23.9099 11.0359 23.9099 11.2802Z",
|
|
491
|
+
fill: "#C3E4FF",
|
|
492
|
+
fillRule: "evenodd"
|
|
493
|
+
}
|
|
494
|
+
),
|
|
495
|
+
/* @__PURE__ */ e(
|
|
496
|
+
"path",
|
|
497
|
+
{
|
|
498
|
+
clipRule: "evenodd",
|
|
499
|
+
d: "M25.3377 11.2802C25.3377 11.5244 25.1397 11.7224 24.8954 11.7224C24.6511 11.7224 24.4531 11.5244 24.4531 11.2802C24.4531 11.0359 24.6511 10.8379 24.8954 10.8379C25.1397 10.8379 25.3377 11.0359 25.3377 11.2802Z",
|
|
500
|
+
fill: "#C3E4FF",
|
|
501
|
+
fillRule: "evenodd"
|
|
502
|
+
}
|
|
503
|
+
),
|
|
504
|
+
/* @__PURE__ */ e(
|
|
505
|
+
"path",
|
|
506
|
+
{
|
|
507
|
+
clipRule: "evenodd",
|
|
508
|
+
d: "M26.7654 11.2802C26.7654 11.5244 26.5674 11.7224 26.3231 11.7224C26.0789 11.7224 25.8809 11.5244 25.8809 11.2802C25.8809 11.0359 26.0789 10.8379 26.3231 10.8379C26.5674 10.8379 26.7654 11.0359 26.7654 11.2802Z",
|
|
509
|
+
fill: "#C3E4FF",
|
|
510
|
+
fillRule: "evenodd"
|
|
511
|
+
}
|
|
512
|
+
),
|
|
513
|
+
/* @__PURE__ */ e(
|
|
514
|
+
"path",
|
|
515
|
+
{
|
|
516
|
+
clipRule: "evenodd",
|
|
517
|
+
d: "M29.1719 27.6866H32.7022V27.0142H29.1719V27.6866Z",
|
|
518
|
+
fill: "#C3E4FF",
|
|
519
|
+
fillRule: "evenodd"
|
|
520
|
+
}
|
|
521
|
+
),
|
|
522
|
+
/* @__PURE__ */ e(
|
|
523
|
+
"path",
|
|
524
|
+
{
|
|
525
|
+
clipRule: "evenodd",
|
|
526
|
+
d: "M29.1719 28.6871H39.2264V28.3726H29.1719V28.6871Z",
|
|
527
|
+
fill: "#EEF1F6",
|
|
528
|
+
fillRule: "evenodd"
|
|
529
|
+
}
|
|
530
|
+
),
|
|
531
|
+
/* @__PURE__ */ e(
|
|
532
|
+
"path",
|
|
533
|
+
{
|
|
534
|
+
clipRule: "evenodd",
|
|
535
|
+
d: "M29.1719 30.5064H39.5626V30.1919H29.1719V30.5064Z",
|
|
536
|
+
fill: "#EEF1F6",
|
|
537
|
+
fillRule: "evenodd"
|
|
538
|
+
}
|
|
539
|
+
),
|
|
540
|
+
/* @__PURE__ */ e(
|
|
541
|
+
"path",
|
|
542
|
+
{
|
|
543
|
+
clipRule: "evenodd",
|
|
544
|
+
d: "M29.1719 31.4156H40.0029V31.1011H29.1719V31.4156Z",
|
|
545
|
+
fill: "#EEF1F6",
|
|
546
|
+
fillRule: "evenodd"
|
|
547
|
+
}
|
|
548
|
+
),
|
|
549
|
+
/* @__PURE__ */ e(
|
|
550
|
+
"path",
|
|
551
|
+
{
|
|
552
|
+
clipRule: "evenodd",
|
|
553
|
+
d: "M29.1719 32.3253H35.7521V32.0107H29.1719V32.3253Z",
|
|
554
|
+
fill: "#EEF1F6",
|
|
555
|
+
fillRule: "evenodd"
|
|
556
|
+
}
|
|
557
|
+
),
|
|
558
|
+
/* @__PURE__ */ e(
|
|
559
|
+
"path",
|
|
560
|
+
{
|
|
561
|
+
clipRule: "evenodd",
|
|
562
|
+
d: "M29.1719 29.5953H40.0029V29.2808H29.1719V29.5953Z",
|
|
563
|
+
fill: "#EEF1F6",
|
|
564
|
+
fillRule: "evenodd"
|
|
565
|
+
}
|
|
566
|
+
),
|
|
567
|
+
/* @__PURE__ */ e(
|
|
568
|
+
"path",
|
|
569
|
+
{
|
|
570
|
+
clipRule: "evenodd",
|
|
571
|
+
d: "M9.98438 11.9322H13.1338V11.2598H9.98438V11.9322Z",
|
|
572
|
+
fill: "#C3E4FF",
|
|
573
|
+
fillRule: "evenodd"
|
|
574
|
+
}
|
|
575
|
+
),
|
|
576
|
+
/* @__PURE__ */ e(
|
|
577
|
+
"path",
|
|
578
|
+
{
|
|
579
|
+
clipRule: "evenodd",
|
|
580
|
+
d: "M9.98438 12.9327H18.954V12.6182H9.98438V12.9327Z",
|
|
581
|
+
fill: "#D6EEFF",
|
|
582
|
+
fillRule: "evenodd"
|
|
583
|
+
}
|
|
584
|
+
),
|
|
585
|
+
/* @__PURE__ */ e(
|
|
586
|
+
"path",
|
|
587
|
+
{
|
|
588
|
+
clipRule: "evenodd",
|
|
589
|
+
d: "M9.98438 14.7506H19.254V14.436H9.98438V14.7506Z",
|
|
590
|
+
fill: "#D6EEFF",
|
|
591
|
+
fillRule: "evenodd"
|
|
592
|
+
}
|
|
593
|
+
),
|
|
594
|
+
/* @__PURE__ */ e(
|
|
595
|
+
"path",
|
|
596
|
+
{
|
|
597
|
+
clipRule: "evenodd",
|
|
598
|
+
d: "M9.98438 15.6602H16.8127V15.3457H9.98438V15.6602Z",
|
|
599
|
+
fill: "#D6EEFF",
|
|
600
|
+
fillRule: "evenodd"
|
|
601
|
+
}
|
|
602
|
+
),
|
|
603
|
+
/* @__PURE__ */ e(
|
|
604
|
+
"path",
|
|
605
|
+
{
|
|
606
|
+
clipRule: "evenodd",
|
|
607
|
+
d: "M9.98438 13.8409H19.6468V13.5264H9.98438V13.8409Z",
|
|
608
|
+
fill: "#D6EEFF",
|
|
609
|
+
fillRule: "evenodd"
|
|
610
|
+
}
|
|
611
|
+
),
|
|
612
|
+
/* @__PURE__ */ m("g", { filter: "url(#filter0_d_1565_98011)", children: [
|
|
613
|
+
/* @__PURE__ */ e("mask", { height: "22", id: "mask1_1565_98011", maskUnits: "userSpaceOnUse", width: "17", x: "16", y: "12", children: /* @__PURE__ */ e(
|
|
614
|
+
"path",
|
|
615
|
+
{
|
|
616
|
+
clipRule: "evenodd",
|
|
617
|
+
d: "M16.5098 12.2725H32.8412V33.707H16.5098V12.2725Z",
|
|
618
|
+
fill: "white",
|
|
619
|
+
fillRule: "evenodd"
|
|
620
|
+
}
|
|
621
|
+
) }),
|
|
622
|
+
/* @__PURE__ */ e("g", { mask: "url(#mask1_1565_98011)", children: /* @__PURE__ */ e(
|
|
623
|
+
"path",
|
|
624
|
+
{
|
|
625
|
+
clipRule: "evenodd",
|
|
626
|
+
d: "M32.3427 33.707H17.0083C16.7341 33.707 16.5098 33.4827 16.5098 33.2086V12.7709C16.5098 12.4968 16.7341 12.2725 17.0083 12.2725H32.3427C32.6169 12.2725 32.8412 12.4968 32.8412 12.7709V33.2086C32.8412 33.4827 32.6169 33.707 32.3427 33.707Z",
|
|
627
|
+
fill: "white",
|
|
628
|
+
fillRule: "evenodd"
|
|
629
|
+
}
|
|
630
|
+
) }),
|
|
631
|
+
/* @__PURE__ */ e(
|
|
632
|
+
"path",
|
|
633
|
+
{
|
|
634
|
+
clipRule: "evenodd",
|
|
635
|
+
d: "M20.875 21.5786H31.134V21.1816H20.875V21.5786Z",
|
|
636
|
+
fill: "#E4E8EE",
|
|
637
|
+
fillRule: "evenodd"
|
|
638
|
+
}
|
|
639
|
+
),
|
|
640
|
+
/* @__PURE__ */ e(
|
|
641
|
+
"path",
|
|
642
|
+
{
|
|
643
|
+
clipRule: "evenodd",
|
|
644
|
+
d: "M20.875 22.4077H28.1023V22.0107H20.875V22.4077Z",
|
|
645
|
+
fill: "#E4E8EE",
|
|
646
|
+
fillRule: "evenodd"
|
|
647
|
+
}
|
|
648
|
+
),
|
|
649
|
+
/* @__PURE__ */ e(
|
|
650
|
+
"path",
|
|
651
|
+
{
|
|
652
|
+
clipRule: "evenodd",
|
|
653
|
+
d: "M20.875 31.8461H27.8799V31.3003H20.875V31.8461Z",
|
|
654
|
+
fill: "#E4E8EE",
|
|
655
|
+
fillRule: "evenodd"
|
|
656
|
+
}
|
|
657
|
+
),
|
|
658
|
+
/* @__PURE__ */ e(
|
|
659
|
+
"path",
|
|
660
|
+
{
|
|
661
|
+
clipRule: "evenodd",
|
|
662
|
+
d: "M18.7308 22.7869C18.1849 22.7869 17.7383 22.3404 17.7383 21.7946C17.7383 21.2488 18.1849 20.8022 18.7308 20.8022C19.2767 20.8022 19.7233 21.2488 19.7233 21.7946C19.7233 22.3404 19.2767 22.7869 18.7308 22.7869Z",
|
|
663
|
+
fill: "#E4E8EE",
|
|
664
|
+
fillRule: "evenodd",
|
|
665
|
+
stroke: "#E4E8EE",
|
|
666
|
+
strokeWidth: "0.176004"
|
|
667
|
+
}
|
|
668
|
+
),
|
|
669
|
+
/* @__PURE__ */ e(
|
|
670
|
+
"path",
|
|
671
|
+
{
|
|
672
|
+
clipRule: "evenodd",
|
|
673
|
+
d: "M18.7308 29.3841C18.1849 29.3841 17.7383 28.9375 17.7383 28.3917C17.7383 27.8459 18.1849 27.3994 18.7308 27.3994C19.2767 27.3994 19.7233 27.8459 19.7233 28.3917C19.7233 28.9375 19.2767 29.3841 18.7308 29.3841Z",
|
|
674
|
+
fill: "#E4E8EE",
|
|
675
|
+
fillRule: "evenodd",
|
|
676
|
+
stroke: "#E4E8EE",
|
|
677
|
+
strokeWidth: "0.176004"
|
|
678
|
+
}
|
|
679
|
+
),
|
|
680
|
+
/* @__PURE__ */ e(
|
|
681
|
+
"path",
|
|
682
|
+
{
|
|
683
|
+
clipRule: "evenodd",
|
|
684
|
+
d: "M18.7308 26.0862C18.1849 26.0862 17.7383 25.6397 17.7383 25.0939C17.7383 24.5481 18.1849 24.1016 18.7308 24.1016C19.2767 24.1016 19.7233 24.5481 19.7233 25.0939C19.7233 25.6397 19.2767 26.0862 18.7308 26.0862Z",
|
|
685
|
+
fill: "#E4E8EE",
|
|
686
|
+
fillRule: "evenodd",
|
|
687
|
+
stroke: "#E4E8EE",
|
|
688
|
+
strokeWidth: "0.176004"
|
|
689
|
+
}
|
|
690
|
+
),
|
|
691
|
+
/* @__PURE__ */ e(
|
|
692
|
+
"path",
|
|
693
|
+
{
|
|
694
|
+
clipRule: "evenodd",
|
|
695
|
+
d: "M20.875 24.8764H31.134V24.4795H20.875V24.8764Z",
|
|
696
|
+
fill: "#E4E8EE",
|
|
697
|
+
fillRule: "evenodd"
|
|
698
|
+
}
|
|
699
|
+
),
|
|
700
|
+
/* @__PURE__ */ e(
|
|
701
|
+
"path",
|
|
702
|
+
{
|
|
703
|
+
clipRule: "evenodd",
|
|
704
|
+
d: "M20.875 25.707H28.1023V25.3101H20.875V25.707Z",
|
|
705
|
+
fill: "#E4E8EE",
|
|
706
|
+
fillRule: "evenodd"
|
|
707
|
+
}
|
|
708
|
+
),
|
|
709
|
+
/* @__PURE__ */ e(
|
|
710
|
+
"path",
|
|
711
|
+
{
|
|
712
|
+
clipRule: "evenodd",
|
|
713
|
+
d: "M20.875 28.1758H31.134V27.7788H20.875V28.1758Z",
|
|
714
|
+
fill: "#E4E8EE",
|
|
715
|
+
fillRule: "evenodd"
|
|
716
|
+
}
|
|
717
|
+
),
|
|
718
|
+
/* @__PURE__ */ e(
|
|
719
|
+
"path",
|
|
720
|
+
{
|
|
721
|
+
clipRule: "evenodd",
|
|
722
|
+
d: "M20.875 29.0049H28.1023V28.6079H20.875V29.0049Z",
|
|
723
|
+
fill: "#E4E8EE",
|
|
724
|
+
fillRule: "evenodd"
|
|
725
|
+
}
|
|
726
|
+
),
|
|
727
|
+
/* @__PURE__ */ e(
|
|
728
|
+
"path",
|
|
729
|
+
{
|
|
730
|
+
clipRule: "evenodd",
|
|
731
|
+
d: "M17.7383 18.0811L18.4668 18.657L19.758 17.1641",
|
|
732
|
+
fill: "#E4E8EE",
|
|
733
|
+
fillRule: "evenodd"
|
|
734
|
+
}
|
|
735
|
+
),
|
|
736
|
+
/* @__PURE__ */ e(
|
|
737
|
+
"path",
|
|
738
|
+
{
|
|
739
|
+
d: "M17.7383 18.0811L18.4668 18.657L19.758 17.1641",
|
|
740
|
+
stroke: "#E4E8EE",
|
|
741
|
+
strokeWidth: "0.264005"
|
|
742
|
+
}
|
|
743
|
+
),
|
|
744
|
+
/* @__PURE__ */ e(
|
|
745
|
+
"path",
|
|
746
|
+
{
|
|
747
|
+
clipRule: "evenodd",
|
|
748
|
+
d: "M17.7383 14.7823L18.4668 15.3582L19.758 13.8652",
|
|
749
|
+
fill: "#E4E8EE",
|
|
750
|
+
fillRule: "evenodd"
|
|
751
|
+
}
|
|
752
|
+
),
|
|
753
|
+
/* @__PURE__ */ e(
|
|
754
|
+
"path",
|
|
755
|
+
{
|
|
756
|
+
d: "M17.7383 14.7823L18.4668 15.3582L19.758 13.8652",
|
|
757
|
+
stroke: "#E4E8EE",
|
|
758
|
+
strokeWidth: "0.264005"
|
|
759
|
+
}
|
|
760
|
+
),
|
|
761
|
+
/* @__PURE__ */ e(
|
|
762
|
+
"path",
|
|
763
|
+
{
|
|
764
|
+
clipRule: "evenodd",
|
|
765
|
+
d: "M20.875 14.3389H31.134V13.8369H20.875V14.3389Z",
|
|
766
|
+
fill: "#E4E8EE",
|
|
767
|
+
fillRule: "evenodd"
|
|
768
|
+
}
|
|
769
|
+
),
|
|
770
|
+
/* @__PURE__ */ e(
|
|
771
|
+
"path",
|
|
772
|
+
{
|
|
773
|
+
clipRule: "evenodd",
|
|
774
|
+
d: "M20.875 15.3878H28.1023V14.8857H20.875V15.3878Z",
|
|
775
|
+
fill: "#E4E8EE",
|
|
776
|
+
fillRule: "evenodd"
|
|
777
|
+
}
|
|
778
|
+
),
|
|
779
|
+
/* @__PURE__ */ e(
|
|
780
|
+
"path",
|
|
781
|
+
{
|
|
782
|
+
clipRule: "evenodd",
|
|
783
|
+
d: "M20.4648 14.0869H31.545H20.4648Z",
|
|
784
|
+
fill: "#E4E8EE",
|
|
785
|
+
fillRule: "evenodd"
|
|
786
|
+
}
|
|
787
|
+
),
|
|
788
|
+
/* @__PURE__ */ e("path", { d: "M20.4648 14.0869H31.545", stroke: "#E4E8EE", strokeWidth: "0.0880018" }),
|
|
789
|
+
/* @__PURE__ */ e(
|
|
790
|
+
"path",
|
|
791
|
+
{
|
|
792
|
+
clipRule: "evenodd",
|
|
793
|
+
d: "M20.4648 15.1372H28.4939H20.4648Z",
|
|
794
|
+
fill: "#E4E8EE",
|
|
795
|
+
fillRule: "evenodd"
|
|
796
|
+
}
|
|
797
|
+
),
|
|
798
|
+
/* @__PURE__ */ e("path", { d: "M20.4648 15.1372H28.4939", stroke: "#E4E8EE", strokeWidth: "0.0880018" }),
|
|
799
|
+
/* @__PURE__ */ e(
|
|
800
|
+
"path",
|
|
801
|
+
{
|
|
802
|
+
clipRule: "evenodd",
|
|
803
|
+
d: "M20.875 17.6368H31.134V17.1348H20.875V17.6368Z",
|
|
804
|
+
fill: "#E4E8EE",
|
|
805
|
+
fillRule: "evenodd"
|
|
806
|
+
}
|
|
807
|
+
),
|
|
808
|
+
/* @__PURE__ */ e(
|
|
809
|
+
"path",
|
|
810
|
+
{
|
|
811
|
+
clipRule: "evenodd",
|
|
812
|
+
d: "M20.875 18.6861H28.1023V18.1841H20.875V18.6861Z",
|
|
813
|
+
fill: "#E4E8EE",
|
|
814
|
+
fillRule: "evenodd"
|
|
815
|
+
}
|
|
816
|
+
),
|
|
817
|
+
/* @__PURE__ */ e(
|
|
818
|
+
"path",
|
|
819
|
+
{
|
|
820
|
+
clipRule: "evenodd",
|
|
821
|
+
d: "M20.4648 17.3858H31.545H20.4648Z",
|
|
822
|
+
fill: "#E4E8EE",
|
|
823
|
+
fillRule: "evenodd"
|
|
824
|
+
}
|
|
825
|
+
),
|
|
826
|
+
/* @__PURE__ */ e("path", { d: "M20.4648 17.3858H31.545", stroke: "#E4E8EE", strokeWidth: "0.0880018" }),
|
|
827
|
+
/* @__PURE__ */ e(
|
|
828
|
+
"path",
|
|
829
|
+
{
|
|
830
|
+
clipRule: "evenodd",
|
|
831
|
+
d: "M20.4648 18.4356H28.4939H20.4648Z",
|
|
832
|
+
fill: "#E4E8EE",
|
|
833
|
+
fillRule: "evenodd"
|
|
834
|
+
}
|
|
835
|
+
),
|
|
836
|
+
/* @__PURE__ */ e("path", { d: "M20.4648 18.4356H28.4939", stroke: "#E4E8EE", strokeWidth: "0.0880018" }),
|
|
837
|
+
/* @__PURE__ */ e(
|
|
838
|
+
"path",
|
|
839
|
+
{
|
|
840
|
+
clipRule: "evenodd",
|
|
841
|
+
d: "M18.2832 19.8984H31.0117H18.2832Z",
|
|
842
|
+
fill: "#E4E8EE",
|
|
843
|
+
fillRule: "evenodd"
|
|
844
|
+
}
|
|
845
|
+
),
|
|
846
|
+
/* @__PURE__ */ e("path", { d: "M18.2832 19.8984H31.0117", stroke: "#E4E8EE", strokeWidth: "0.0880018" }),
|
|
847
|
+
/* @__PURE__ */ e(
|
|
848
|
+
"path",
|
|
849
|
+
{
|
|
850
|
+
clipRule: "evenodd",
|
|
851
|
+
d: "M18.7295 30.8101V32.3377V30.8101Z",
|
|
852
|
+
fill: "#E4E8EE",
|
|
853
|
+
fillRule: "evenodd"
|
|
854
|
+
}
|
|
855
|
+
),
|
|
856
|
+
/* @__PURE__ */ e("path", { d: "M18.7295 30.8101V32.3377", stroke: "#E4E8EE", strokeWidth: "0.264005" }),
|
|
857
|
+
/* @__PURE__ */ e(
|
|
858
|
+
"path",
|
|
859
|
+
{
|
|
860
|
+
clipRule: "evenodd",
|
|
861
|
+
d: "M17.9668 31.5737H19.4947H17.9668Z",
|
|
862
|
+
fill: "#E4E8EE",
|
|
863
|
+
fillRule: "evenodd"
|
|
864
|
+
}
|
|
865
|
+
),
|
|
866
|
+
/* @__PURE__ */ e("path", { d: "M17.9668 31.5737H19.4947", stroke: "#E4E8EE", strokeWidth: "0.264005" })
|
|
867
|
+
] }),
|
|
868
|
+
/* @__PURE__ */ m("g", { filter: "url(#filter1_d_1565_98011)", children: [
|
|
869
|
+
/* @__PURE__ */ e("circle", { cx: "15.0441", cy: "16.0441", fill: "#CDD3DD", r: "15.0441" }),
|
|
870
|
+
/* @__PURE__ */ e("mask", { height: "30", id: "mask2_1565_98011", maskUnits: "userSpaceOnUse", width: "30", x: "0", y: "1", children: /* @__PURE__ */ e("circle", { cx: "15.0435", cy: "16.0445", fill: "#F8F9FB", r: "14.3951" }) }),
|
|
871
|
+
/* @__PURE__ */ m("g", { mask: "url(#mask2_1565_98011)", children: [
|
|
872
|
+
/* @__PURE__ */ e("rect", { fill: "white", height: "31.1359", transform: "translate(0 0.162598)", width: "31.0101" }),
|
|
873
|
+
/* @__PURE__ */ e("rect", { fill: "#A8B1BD", height: "3.0172", rx: "0.167622", width: "3.0172", x: "3.26953", y: "4.52002" }),
|
|
874
|
+
/* @__PURE__ */ e("rect", { fill: "#A8B1BD", height: "3.0172", rx: "0.167622", width: "3.0172", x: "3.26953", y: "17.1758" }),
|
|
875
|
+
/* @__PURE__ */ e("rect", { fill: "#A8B1BD", height: "3.0172", rx: "0.167622", width: "3.0172", x: "3.26953", y: "26.0186" }),
|
|
876
|
+
/* @__PURE__ */ e("rect", { fill: "#A8B1BD", height: "3.0172", rx: "0.167622", width: "3.0172", x: "3.26953", y: "9.04541" }),
|
|
877
|
+
/* @__PURE__ */ e(
|
|
878
|
+
"rect",
|
|
879
|
+
{
|
|
880
|
+
fill: "#CDD3DD",
|
|
881
|
+
height: "1.17336",
|
|
882
|
+
rx: "0.167622",
|
|
883
|
+
width: "10.9793",
|
|
884
|
+
x: "6.87305",
|
|
885
|
+
y: "4.52002"
|
|
886
|
+
}
|
|
887
|
+
),
|
|
888
|
+
/* @__PURE__ */ e(
|
|
889
|
+
"rect",
|
|
890
|
+
{
|
|
891
|
+
fill: "#CDD3DD",
|
|
892
|
+
height: "1.17336",
|
|
893
|
+
rx: "0.167622",
|
|
894
|
+
width: "10.9793",
|
|
895
|
+
x: "6.87305",
|
|
896
|
+
y: "17.1758"
|
|
897
|
+
}
|
|
898
|
+
),
|
|
899
|
+
/* @__PURE__ */ e(
|
|
900
|
+
"rect",
|
|
901
|
+
{
|
|
902
|
+
fill: "#CDD3DD",
|
|
903
|
+
height: "1.17336",
|
|
904
|
+
rx: "0.167622",
|
|
905
|
+
width: "10.9793",
|
|
906
|
+
x: "6.87305",
|
|
907
|
+
y: "26.0186"
|
|
908
|
+
}
|
|
909
|
+
),
|
|
910
|
+
/* @__PURE__ */ e(
|
|
911
|
+
"rect",
|
|
912
|
+
{
|
|
913
|
+
fill: "#CDD3DD",
|
|
914
|
+
height: "1.17336",
|
|
915
|
+
rx: "0.167622",
|
|
916
|
+
width: "10.9793",
|
|
917
|
+
x: "6.87305",
|
|
918
|
+
y: "9.04541"
|
|
919
|
+
}
|
|
920
|
+
),
|
|
921
|
+
/* @__PURE__ */ e(
|
|
922
|
+
"rect",
|
|
923
|
+
{
|
|
924
|
+
fill: "#EEF1F6",
|
|
925
|
+
height: "0.880018",
|
|
926
|
+
rx: "0.167622",
|
|
927
|
+
width: "10.9793",
|
|
928
|
+
x: "3.26953",
|
|
929
|
+
y: "2.34131"
|
|
930
|
+
}
|
|
931
|
+
),
|
|
932
|
+
/* @__PURE__ */ e(
|
|
933
|
+
"rect",
|
|
934
|
+
{
|
|
935
|
+
fill: "#EEF1F6",
|
|
936
|
+
height: "0.880018",
|
|
937
|
+
rx: "0.167622",
|
|
938
|
+
width: "10.9793",
|
|
939
|
+
x: "3.26953",
|
|
940
|
+
y: "14.9971"
|
|
941
|
+
}
|
|
942
|
+
),
|
|
943
|
+
/* @__PURE__ */ e(
|
|
944
|
+
"rect",
|
|
945
|
+
{
|
|
946
|
+
fill: "#EEF1F6",
|
|
947
|
+
height: "0.880018",
|
|
948
|
+
rx: "0.167622",
|
|
949
|
+
width: "10.9793",
|
|
950
|
+
x: "3.26953",
|
|
951
|
+
y: "23.8389"
|
|
952
|
+
}
|
|
953
|
+
),
|
|
954
|
+
/* @__PURE__ */ e(
|
|
955
|
+
"rect",
|
|
956
|
+
{
|
|
957
|
+
fill: "#EEF1F6",
|
|
958
|
+
height: "1.17336",
|
|
959
|
+
rx: "0.167622",
|
|
960
|
+
width: "8.50684",
|
|
961
|
+
x: "6.87305",
|
|
962
|
+
y: "6.36377"
|
|
963
|
+
}
|
|
964
|
+
),
|
|
965
|
+
/* @__PURE__ */ e(
|
|
966
|
+
"rect",
|
|
967
|
+
{
|
|
968
|
+
fill: "#EEF1F6",
|
|
969
|
+
height: "1.17336",
|
|
970
|
+
rx: "0.167622",
|
|
971
|
+
width: "8.50684",
|
|
972
|
+
x: "6.87305",
|
|
973
|
+
y: "19.0195"
|
|
974
|
+
}
|
|
975
|
+
),
|
|
976
|
+
/* @__PURE__ */ e(
|
|
977
|
+
"rect",
|
|
978
|
+
{
|
|
979
|
+
fill: "#EEF1F6",
|
|
980
|
+
height: "1.17336",
|
|
981
|
+
rx: "0.167622",
|
|
982
|
+
width: "8.50684",
|
|
983
|
+
x: "6.87305",
|
|
984
|
+
y: "27.8613"
|
|
985
|
+
}
|
|
986
|
+
),
|
|
987
|
+
/* @__PURE__ */ e(
|
|
988
|
+
"rect",
|
|
989
|
+
{
|
|
990
|
+
fill: "#EEF1F6",
|
|
991
|
+
height: "1.17336",
|
|
992
|
+
rx: "0.167622",
|
|
993
|
+
width: "8.50684",
|
|
994
|
+
x: "6.87305",
|
|
995
|
+
y: "10.8892"
|
|
996
|
+
}
|
|
997
|
+
),
|
|
998
|
+
/* @__PURE__ */ e(
|
|
999
|
+
"rect",
|
|
1000
|
+
{
|
|
1001
|
+
fill: "#A8B1BD",
|
|
1002
|
+
height: "1.17336",
|
|
1003
|
+
rx: "0.167622",
|
|
1004
|
+
width: "5.15439",
|
|
1005
|
+
x: "21.666",
|
|
1006
|
+
y: "5.44238"
|
|
1007
|
+
}
|
|
1008
|
+
),
|
|
1009
|
+
/* @__PURE__ */ e(
|
|
1010
|
+
"rect",
|
|
1011
|
+
{
|
|
1012
|
+
fill: "#A8B1BD",
|
|
1013
|
+
height: "1.17336",
|
|
1014
|
+
rx: "0.167622",
|
|
1015
|
+
width: "5.15439",
|
|
1016
|
+
x: "21.666",
|
|
1017
|
+
y: "18.0972"
|
|
1018
|
+
}
|
|
1019
|
+
),
|
|
1020
|
+
/* @__PURE__ */ e(
|
|
1021
|
+
"rect",
|
|
1022
|
+
{
|
|
1023
|
+
fill: "#A8B1BD",
|
|
1024
|
+
height: "1.17336",
|
|
1025
|
+
rx: "0.167622",
|
|
1026
|
+
width: "5.15439",
|
|
1027
|
+
x: "21.666",
|
|
1028
|
+
y: "26.9399"
|
|
1029
|
+
}
|
|
1030
|
+
),
|
|
1031
|
+
/* @__PURE__ */ e(
|
|
1032
|
+
"rect",
|
|
1033
|
+
{
|
|
1034
|
+
fill: "#A8B1BD",
|
|
1035
|
+
height: "1.17336",
|
|
1036
|
+
rx: "0.167622",
|
|
1037
|
+
width: "5.15439",
|
|
1038
|
+
x: "21.666",
|
|
1039
|
+
y: "9.96826"
|
|
1040
|
+
}
|
|
1041
|
+
),
|
|
1042
|
+
/* @__PURE__ */ e("path", { d: "M2.64062 8.25H27.4487", stroke: "#E4E8EE", strokeWidth: "0.0838112" }),
|
|
1043
|
+
/* @__PURE__ */ e("path", { d: "M2.64062 20.9058H27.4487", stroke: "#E4E8EE", strokeWidth: "0.0838112" }),
|
|
1044
|
+
/* @__PURE__ */ e("path", { d: "M2.64062 29.7476H27.4487", stroke: "#E4E8EE", strokeWidth: "0.0838112" }),
|
|
1045
|
+
/* @__PURE__ */ e("path", { d: "M2.64062 12.7759H27.4487", stroke: "#E4E8EE", strokeWidth: "0.0838112" }),
|
|
1046
|
+
/* @__PURE__ */ e("path", { d: "M2.64062 3.72412H27.4487", stroke: "#E4E8EE", strokeWidth: "0.0838112" }),
|
|
1047
|
+
/* @__PURE__ */ e("path", { d: "M2.64062 16.3799H27.4487", stroke: "#E4E8EE", strokeWidth: "0.0838112" }),
|
|
1048
|
+
/* @__PURE__ */ e("path", { d: "M2.64062 25.2217H27.4487", stroke: "#E4E8EE", strokeWidth: "0.0838112" }),
|
|
1049
|
+
/* @__PURE__ */ e("path", { d: "M2.64062 8.25H27.4487", stroke: "#E4E8EE", strokeWidth: "0.0838112" }),
|
|
1050
|
+
/* @__PURE__ */ e("path", { d: "M2.64062 20.9058H27.4487", stroke: "#E4E8EE", strokeWidth: "0.0838112" }),
|
|
1051
|
+
/* @__PURE__ */ e("path", { d: "M2.64062 29.7476H27.4487", stroke: "#E4E8EE", strokeWidth: "0.0838112" })
|
|
1052
|
+
] })
|
|
1053
|
+
] }),
|
|
1054
|
+
/* @__PURE__ */ e(
|
|
1055
|
+
"path",
|
|
1056
|
+
{
|
|
1057
|
+
d: "M24.1888 27.3166L24.4326 27.0728L25.6395 27.8404L32.2915 34.4924C32.4911 34.6919 32.4911 35.0154 32.2915 35.215C32.092 35.4145 31.7685 35.4145 31.569 35.215L24.9487 28.5947L24.1888 27.3166Z",
|
|
1058
|
+
fill: "#CDD3DD"
|
|
1059
|
+
}
|
|
1060
|
+
),
|
|
1061
|
+
/* @__PURE__ */ m("defs", { children: [
|
|
1062
|
+
/* @__PURE__ */ m(
|
|
1063
|
+
"filter",
|
|
1064
|
+
{
|
|
1065
|
+
colorInterpolationFilters: "sRGB",
|
|
1066
|
+
filterUnits: "userSpaceOnUse",
|
|
1067
|
+
height: "22.1051",
|
|
1068
|
+
id: "filter0_d_1565_98011",
|
|
1069
|
+
width: "17.0025",
|
|
1070
|
+
x: "16.1745",
|
|
1071
|
+
y: "12.0629",
|
|
1072
|
+
children: [
|
|
1073
|
+
/* @__PURE__ */ e("feFlood", { floodOpacity: "0", result: "BackgroundImageFix" }),
|
|
1074
|
+
/* @__PURE__ */ e(
|
|
1075
|
+
"feColorMatrix",
|
|
1076
|
+
{
|
|
1077
|
+
in: "SourceAlpha",
|
|
1078
|
+
result: "hardAlpha",
|
|
1079
|
+
type: "matrix",
|
|
1080
|
+
values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
|
|
1081
|
+
}
|
|
1082
|
+
),
|
|
1083
|
+
/* @__PURE__ */ e("feOffset", { dy: "0.125717" }),
|
|
1084
|
+
/* @__PURE__ */ e("feGaussianBlur", { stdDeviation: "0.167622" }),
|
|
1085
|
+
/* @__PURE__ */ e(
|
|
1086
|
+
"feColorMatrix",
|
|
1087
|
+
{
|
|
1088
|
+
type: "matrix",
|
|
1089
|
+
values: "0 0 0 0 0.341176 0 0 0 0 0.4 0 0 0 0 0.458824 0 0 0 0.15 0"
|
|
1090
|
+
}
|
|
1091
|
+
),
|
|
1092
|
+
/* @__PURE__ */ e("feBlend", { in2: "BackgroundImageFix", mode: "normal", result: "effect1_dropShadow_1565_98011" }),
|
|
1093
|
+
/* @__PURE__ */ e(
|
|
1094
|
+
"feBlend",
|
|
1095
|
+
{
|
|
1096
|
+
in: "SourceGraphic",
|
|
1097
|
+
in2: "effect1_dropShadow_1565_98011",
|
|
1098
|
+
mode: "normal",
|
|
1099
|
+
result: "shape"
|
|
1100
|
+
}
|
|
1101
|
+
)
|
|
1102
|
+
]
|
|
1103
|
+
}
|
|
1104
|
+
),
|
|
1105
|
+
/* @__PURE__ */ m(
|
|
1106
|
+
"filter",
|
|
1107
|
+
{
|
|
1108
|
+
colorInterpolationFilters: "sRGB",
|
|
1109
|
+
filterUnits: "userSpaceOnUse",
|
|
1110
|
+
height: "31.7646",
|
|
1111
|
+
id: "filter1_d_1565_98011",
|
|
1112
|
+
width: "31.7641",
|
|
1113
|
+
x: "-0.838112",
|
|
1114
|
+
y: "0.580944",
|
|
1115
|
+
children: [
|
|
1116
|
+
/* @__PURE__ */ e("feFlood", { floodOpacity: "0", result: "BackgroundImageFix" }),
|
|
1117
|
+
/* @__PURE__ */ e(
|
|
1118
|
+
"feColorMatrix",
|
|
1119
|
+
{
|
|
1120
|
+
in: "SourceAlpha",
|
|
1121
|
+
result: "hardAlpha",
|
|
1122
|
+
type: "matrix",
|
|
1123
|
+
values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
|
|
1124
|
+
}
|
|
1125
|
+
),
|
|
1126
|
+
/* @__PURE__ */ e("feOffset", { dy: "0.419056" }),
|
|
1127
|
+
/* @__PURE__ */ e("feGaussianBlur", { stdDeviation: "0.419056" }),
|
|
1128
|
+
/* @__PURE__ */ e(
|
|
1129
|
+
"feColorMatrix",
|
|
1130
|
+
{
|
|
1131
|
+
type: "matrix",
|
|
1132
|
+
values: "0 0 0 0 0.341176 0 0 0 0 0.4 0 0 0 0 0.458824 0 0 0 0.16 0"
|
|
1133
|
+
}
|
|
1134
|
+
),
|
|
1135
|
+
/* @__PURE__ */ e("feBlend", { in2: "BackgroundImageFix", mode: "normal", result: "effect1_dropShadow_1565_98011" }),
|
|
1136
|
+
/* @__PURE__ */ e(
|
|
1137
|
+
"feBlend",
|
|
1138
|
+
{
|
|
1139
|
+
in: "SourceGraphic",
|
|
1140
|
+
in2: "effect1_dropShadow_1565_98011",
|
|
1141
|
+
mode: "normal",
|
|
1142
|
+
result: "shape"
|
|
1143
|
+
}
|
|
1144
|
+
)
|
|
1145
|
+
]
|
|
1146
|
+
}
|
|
1147
|
+
)
|
|
1148
|
+
] })
|
|
1149
|
+
] }), pe = ({ beat: t, clientColorScheme: o, color: i, type: r }) => {
|
|
1150
|
+
const n = We(), l = o?.primary_300 ? o.primary_300 : n.palette.primary.main;
|
|
1151
|
+
return r === 0 ? /* @__PURE__ */ e(X, { fill: !0, name: "error", sx: { color: i || l } }) : r === 1 && t ? /* @__PURE__ */ e(Ye, { beat: t }) : r === 2 && t ? /* @__PURE__ */ e(qe, { beat: t }) : r === 3 && t ? /* @__PURE__ */ e(it, { beat: t }) : /* @__PURE__ */ e(
|
|
1152
|
+
X,
|
|
1153
|
+
{
|
|
1154
|
+
fill: !0,
|
|
1155
|
+
name: "info",
|
|
1156
|
+
sx: {
|
|
1157
|
+
color: l
|
|
1158
|
+
}
|
|
1159
|
+
}
|
|
1160
|
+
);
|
|
1161
|
+
}, Re = {
|
|
1162
|
+
LARGE: 180,
|
|
1163
|
+
STANDARD: 154,
|
|
1164
|
+
XLARGE: 200,
|
|
1165
|
+
XXLARGE: 248
|
|
1166
|
+
}, ot = 50, Ie = 1, V = () => {
|
|
1167
|
+
const t = C.useContext(P);
|
|
1168
|
+
if (!t)
|
|
1169
|
+
throw new Error("useCopyStore() must be used within the InsightsMicroWidgetDataProvider");
|
|
1170
|
+
return t.store.copyStore;
|
|
1171
|
+
}, rt = () => {
|
|
1172
|
+
const t = C.useContext(P);
|
|
1173
|
+
if (!t?.store?.insightsMicroWidgetStore)
|
|
1174
|
+
throw new Error(
|
|
1175
|
+
"useInsightsMicroWidgetStore() must be used within the InsightsMicroWidgetDataProvider"
|
|
1176
|
+
);
|
|
1177
|
+
return t.store.insightsMicroWidgetStore;
|
|
1178
|
+
}, G = () => {
|
|
1179
|
+
const t = C.useContext(P);
|
|
1180
|
+
if (!t)
|
|
1181
|
+
throw new Error("useEvent() must be used within the InsightsMicroWidgetDataProvider");
|
|
1182
|
+
return { onEvent: t.onEvent };
|
|
1183
|
+
}, ye = () => {
|
|
1184
|
+
const t = C.useContext(P);
|
|
1185
|
+
if (!t)
|
|
1186
|
+
throw new Error("usePageview() must be used within the InsightsMicroWidgetDataProvider");
|
|
1187
|
+
return { onPageview: t.onPageview };
|
|
1188
|
+
}, lt = ({
|
|
1189
|
+
ariaLabel: t,
|
|
1190
|
+
backgroundColor: o,
|
|
1191
|
+
beat: i,
|
|
1192
|
+
clientColorScheme: r,
|
|
1193
|
+
showCTAColocatedWithText: n = !0,
|
|
1194
|
+
heightOverrides: l,
|
|
1195
|
+
index: c,
|
|
1196
|
+
isActiveCard: E,
|
|
1197
|
+
onCardClick: u,
|
|
1198
|
+
posthog: p,
|
|
1199
|
+
showIcon: d,
|
|
1200
|
+
variant: f,
|
|
1201
|
+
widthOverrides: a
|
|
1202
|
+
}) => {
|
|
1203
|
+
const s = window.app?.config.client_guid, { ref: _, inView: h } = ue({
|
|
1204
|
+
threshold: Ie
|
|
1205
|
+
}), { cardsCopy: v } = V(), { onEvent: I } = G(), { updateBeat: S } = rt();
|
|
1206
|
+
Z(() => {
|
|
1207
|
+
h && (i.has_been_displayed ? I(_e(i.template)) : (S({
|
|
1208
|
+
...i,
|
|
1209
|
+
has_been_displayed: !0
|
|
1210
|
+
}), I(me(i.template))));
|
|
1211
|
+
}, [h]), Z(() => {
|
|
1212
|
+
p?.capture && h && i && s && p.capture("micro_widget_viewed_insight", {
|
|
1213
|
+
beat_guid: i.guid,
|
|
1214
|
+
insight_template: i.template,
|
|
1215
|
+
position: c,
|
|
1216
|
+
$groups: { client: s }
|
|
1217
|
+
});
|
|
1218
|
+
}, [i, s, p, c, h]);
|
|
1219
|
+
const M = () => {
|
|
1220
|
+
u && u(i), I(Ce(i.template)), p?.capture && s && p.capture("micro_widget_clicked_insight", {
|
|
1221
|
+
beat_guid: i.guid,
|
|
1222
|
+
insight_template: i.template,
|
|
1223
|
+
position: c,
|
|
1224
|
+
$groups: { client: s }
|
|
1225
|
+
});
|
|
1226
|
+
};
|
|
1227
|
+
return /* @__PURE__ */ e(
|
|
1228
|
+
z,
|
|
1229
|
+
{
|
|
1230
|
+
actionText: i.micro_call_to_action || v.micro_card_cta,
|
|
1231
|
+
ariaLabel: t,
|
|
1232
|
+
backgroundColor: o,
|
|
1233
|
+
description: i?.html_micro_description && i?.html_micro_description.length > 0 ? i.html_micro_description : i.html_description,
|
|
1234
|
+
fontColors: { buttonColor: r?.primary_300 },
|
|
1235
|
+
heightOverrides: l,
|
|
1236
|
+
icon: pe && /* @__PURE__ */ e(
|
|
1237
|
+
pe,
|
|
1238
|
+
{
|
|
1239
|
+
beat: i,
|
|
1240
|
+
clientColorScheme: r,
|
|
1241
|
+
color: i?.icon_color,
|
|
1242
|
+
type: i?.icon_type
|
|
1243
|
+
}
|
|
1244
|
+
),
|
|
1245
|
+
isActiveCard: E,
|
|
1246
|
+
onCardClick: M,
|
|
1247
|
+
ref: _,
|
|
1248
|
+
showCTAColocatedWithText: n,
|
|
1249
|
+
showIcon: d,
|
|
1250
|
+
title: i.micro_title && i.micro_title.length > 0 ? i.micro_title : i.title,
|
|
1251
|
+
variant: f,
|
|
1252
|
+
widthOverrides: a
|
|
1253
|
+
}
|
|
1254
|
+
);
|
|
1255
|
+
}, nt = ({
|
|
1256
|
+
clientColorScheme: t,
|
|
1257
|
+
currentBeatIndex: o,
|
|
1258
|
+
numBeats: i,
|
|
1259
|
+
onNextClick: r,
|
|
1260
|
+
onPreviousClick: n,
|
|
1261
|
+
scrollRightBoundary: l,
|
|
1262
|
+
scrollX: c
|
|
1263
|
+
}) => {
|
|
1264
|
+
const E = at(), { carouselCopy: u } = V(), p = Math.floor(c) > l || o === 0, d = c < 0 || i - 1 === o, f = "#BBBCBC", a = t?.primary_300 ? t?.primary_300 : "#2D64EF";
|
|
1265
|
+
return /* @__PURE__ */ m(J, { className: E, children: [
|
|
1266
|
+
/* @__PURE__ */ e(
|
|
1267
|
+
oe,
|
|
1268
|
+
{
|
|
1269
|
+
"aria-label": u.previous_insight_cta_aria,
|
|
1270
|
+
disabled: p,
|
|
1271
|
+
onClick: n,
|
|
1272
|
+
children: /* @__PURE__ */ e(
|
|
1273
|
+
Fe,
|
|
1274
|
+
{
|
|
1275
|
+
style: {
|
|
1276
|
+
color: p ? f : a
|
|
1277
|
+
}
|
|
1278
|
+
}
|
|
1279
|
+
)
|
|
1280
|
+
}
|
|
1281
|
+
),
|
|
1282
|
+
Array.from({ length: i }).map((s, _) => /* @__PURE__ */ e(
|
|
1283
|
+
"div",
|
|
1284
|
+
{
|
|
1285
|
+
className: "mx-insights-micro-carousel-dots",
|
|
1286
|
+
style: {
|
|
1287
|
+
backgroundColor: _ === o ? a : f
|
|
1288
|
+
}
|
|
1289
|
+
},
|
|
1290
|
+
`carousel-button-${_}`
|
|
1291
|
+
)),
|
|
1292
|
+
/* @__PURE__ */ e(
|
|
1293
|
+
oe,
|
|
1294
|
+
{
|
|
1295
|
+
"aria-label": u.next_insight_cta_aria,
|
|
1296
|
+
disabled: d,
|
|
1297
|
+
onClick: r,
|
|
1298
|
+
children: /* @__PURE__ */ e(
|
|
1299
|
+
he,
|
|
1300
|
+
{
|
|
1301
|
+
style: {
|
|
1302
|
+
color: d ? f : a
|
|
1303
|
+
}
|
|
1304
|
+
}
|
|
1305
|
+
)
|
|
1306
|
+
}
|
|
1307
|
+
)
|
|
1308
|
+
] });
|
|
1309
|
+
}, at = () => U({
|
|
1310
|
+
alignItems: "center",
|
|
1311
|
+
display: "flex",
|
|
1312
|
+
justifyContent: "center",
|
|
1313
|
+
width: "100%",
|
|
1314
|
+
// we were using `gap` instead of margin, but it doesn't work in safari browsers older than iOS 14.1
|
|
1315
|
+
"& button:first-child": {
|
|
1316
|
+
marginRight: 8
|
|
1317
|
+
},
|
|
1318
|
+
"& .mx-insights-micro-carousel-dots": {
|
|
1319
|
+
borderRadius: "50%",
|
|
1320
|
+
height: 8,
|
|
1321
|
+
padding: 0,
|
|
1322
|
+
width: 8,
|
|
1323
|
+
// we were using `gap` instead of margin, but it doesn't work in safari browsers older than iOS 14.1
|
|
1324
|
+
marginRight: 8
|
|
1325
|
+
}
|
|
1326
|
+
}), ct = ({
|
|
1327
|
+
beats: t = [],
|
|
1328
|
+
clientColorScheme: o,
|
|
1329
|
+
showCTAColocatedWithText: i,
|
|
1330
|
+
heightOverrides: r,
|
|
1331
|
+
onCardClick: n,
|
|
1332
|
+
posthog: l,
|
|
1333
|
+
showCarouselControls: c,
|
|
1334
|
+
showIcon: E,
|
|
1335
|
+
showWithMargin: u,
|
|
1336
|
+
variant: p,
|
|
1337
|
+
widthOverrides: d
|
|
1338
|
+
}) => {
|
|
1339
|
+
const f = st(r, u, d), a = C.useRef(null), [s, _] = C.useState(0), [h, v] = C.useState(null), [I, S] = C.useState(null), { carouselCopy: M } = V(), { onEvent: y } = G(), F = () => {
|
|
1340
|
+
y(R.ON_CAROUSEL_FORWARD_CLICK), a.current && a.current.scrollTo({
|
|
1341
|
+
left: (
|
|
1342
|
+
// Adds the flex gap to the carousel ulRef's width
|
|
1343
|
+
(a.current.offsetWidth + 8) * (Math.floor(s / (a.current.offsetWidth + 8)) + 1)
|
|
1344
|
+
),
|
|
1345
|
+
top: 0,
|
|
1346
|
+
behavior: "smooth"
|
|
1347
|
+
});
|
|
1348
|
+
}, x = () => {
|
|
1349
|
+
y(R.ON_CAROUSEL_BACK_CLICK), a.current && a.current.scrollTo({
|
|
1350
|
+
left: (a.current.offsetWidth + 8) * (Math.floor(s / (a.current.offsetWidth + 8)) - 1),
|
|
1351
|
+
top: 0,
|
|
1352
|
+
behavior: "smooth"
|
|
1353
|
+
});
|
|
1354
|
+
}, H = () => {
|
|
1355
|
+
a.current && _(a.current.scrollLeft);
|
|
1356
|
+
}, K = () => {
|
|
1357
|
+
if (!I || !h) return;
|
|
1358
|
+
I - h > ot ? y(R.ON_CAROUSEL_FORWARD_SWIPE) : y(R.ON_CAROUSEL_BACK_SWIPE);
|
|
1359
|
+
}, $ = (L) => {
|
|
1360
|
+
v(L.targetTouches[0].clientX);
|
|
1361
|
+
}, j = (L) => {
|
|
1362
|
+
v(null), S(L.targetTouches[0].clientX);
|
|
1363
|
+
}, B = {
|
|
1364
|
+
clientColorScheme: o,
|
|
1365
|
+
showCTAColocatedWithText: i,
|
|
1366
|
+
heightOverrides: r,
|
|
1367
|
+
showIcon: E,
|
|
1368
|
+
variant: p,
|
|
1369
|
+
widthOverrides: d
|
|
1370
|
+
}, k = a.current && a.current.offsetWidth ? Math.round(s / a.current.offsetWidth) : 0, D = a.current ? a.current.scrollWidth - a.current.offsetWidth : 0;
|
|
1371
|
+
return /* @__PURE__ */ m("div", { className: f, children: [
|
|
1372
|
+
/* @__PURE__ */ m(
|
|
1373
|
+
"ul",
|
|
1374
|
+
{
|
|
1375
|
+
className: "mx-insights-micro-carousel-container",
|
|
1376
|
+
onScroll: H,
|
|
1377
|
+
onTouchEnd: K,
|
|
1378
|
+
onTouchMove: $,
|
|
1379
|
+
onTouchStart: j,
|
|
1380
|
+
ref: a,
|
|
1381
|
+
children: [
|
|
1382
|
+
t.map((L, b) => /* @__PURE__ */ e(
|
|
1383
|
+
lt,
|
|
1384
|
+
{
|
|
1385
|
+
ariaLabel: Oe(
|
|
1386
|
+
M.card_position_in_carousel_aria,
|
|
1387
|
+
b + 1,
|
|
1388
|
+
t.length + 1
|
|
1389
|
+
),
|
|
1390
|
+
beat: L,
|
|
1391
|
+
index: b,
|
|
1392
|
+
isActiveCard: b === k,
|
|
1393
|
+
onCardClick: n,
|
|
1394
|
+
posthog: l,
|
|
1395
|
+
...B
|
|
1396
|
+
},
|
|
1397
|
+
`${L.guid} ${b}`
|
|
1398
|
+
)),
|
|
1399
|
+
/* @__PURE__ */ e(
|
|
1400
|
+
gt,
|
|
1401
|
+
{
|
|
1402
|
+
isActiveCard: k === t.length,
|
|
1403
|
+
onCardClick: n,
|
|
1404
|
+
...B
|
|
1405
|
+
}
|
|
1406
|
+
)
|
|
1407
|
+
]
|
|
1408
|
+
}
|
|
1409
|
+
),
|
|
1410
|
+
c && /* @__PURE__ */ e(
|
|
1411
|
+
nt,
|
|
1412
|
+
{
|
|
1413
|
+
clientColorScheme: o,
|
|
1414
|
+
currentBeatIndex: k,
|
|
1415
|
+
numBeats: t.length + 1,
|
|
1416
|
+
onNextClick: F,
|
|
1417
|
+
onPreviousClick: x,
|
|
1418
|
+
scrollRightBoundary: D,
|
|
1419
|
+
scrollX: s
|
|
1420
|
+
}
|
|
1421
|
+
)
|
|
1422
|
+
] });
|
|
1423
|
+
}, dt = N(ct), st = (t, o = !0, i) => U({
|
|
1424
|
+
alignItems: "center",
|
|
1425
|
+
boxSizing: "border-box",
|
|
1426
|
+
display: "flex",
|
|
1427
|
+
flexDirection: "column",
|
|
1428
|
+
height: t,
|
|
1429
|
+
width: i || "100%",
|
|
1430
|
+
"& .mx-insights-micro-carousel-container": {
|
|
1431
|
+
alignItems: "center",
|
|
1432
|
+
display: "flex",
|
|
1433
|
+
gap: 8,
|
|
1434
|
+
height: t && "100%",
|
|
1435
|
+
maxWidth: o ? "calc(100% - 32px)" : "100%",
|
|
1436
|
+
overflowX: "auto",
|
|
1437
|
+
overflowY: "hidden",
|
|
1438
|
+
scrollbarWidth: "none",
|
|
1439
|
+
"-ms-overflow-style": "none",
|
|
1440
|
+
"-webkit-overflow-scrolling": "touch",
|
|
1441
|
+
margin: 0,
|
|
1442
|
+
padding: 0,
|
|
1443
|
+
listStyleType: "none",
|
|
1444
|
+
"&::-webkit-scrollbar": {
|
|
1445
|
+
display: "none"
|
|
1446
|
+
}
|
|
1447
|
+
}
|
|
1448
|
+
}), z = C.forwardRef(
|
|
1449
|
+
function({
|
|
1450
|
+
actionText: o,
|
|
1451
|
+
ariaLabel: i,
|
|
1452
|
+
backgroundColor: r,
|
|
1453
|
+
showCTAColocatedWithText: n,
|
|
1454
|
+
description: l,
|
|
1455
|
+
heightOverrides: c,
|
|
1456
|
+
icon: E,
|
|
1457
|
+
isActiveCard: u,
|
|
1458
|
+
onCardClick: p = () => {
|
|
1459
|
+
},
|
|
1460
|
+
showIcon: d,
|
|
1461
|
+
style: f = {},
|
|
1462
|
+
fontColors: a = {},
|
|
1463
|
+
title: s,
|
|
1464
|
+
variant: _,
|
|
1465
|
+
widthOverrides: h
|
|
1466
|
+
}, v) {
|
|
1467
|
+
const [I, S] = C.useState(1);
|
|
1468
|
+
C.useEffect(() => {
|
|
1469
|
+
h && h <= 325 && S(3), h && h > 325 && S(2);
|
|
1470
|
+
}, [h]);
|
|
1471
|
+
const { cardStyle: M, linkTextStyle: y } = f, F = _ ? M : { border: "none", boxShadow: "none", ...M }, x = pt(
|
|
1472
|
+
F,
|
|
1473
|
+
n,
|
|
1474
|
+
a,
|
|
1475
|
+
I,
|
|
1476
|
+
y,
|
|
1477
|
+
c
|
|
1478
|
+
);
|
|
1479
|
+
return /* @__PURE__ */ m(
|
|
1480
|
+
"li",
|
|
1481
|
+
{
|
|
1482
|
+
"aria-hidden": !u,
|
|
1483
|
+
className: x,
|
|
1484
|
+
onClick: () => p(),
|
|
1485
|
+
ref: v,
|
|
1486
|
+
role: "button",
|
|
1487
|
+
tabIndex: u ? 0 : -1,
|
|
1488
|
+
children: [
|
|
1489
|
+
i && /* @__PURE__ */ e("span", { "aria-label": i, style: { visibility: "hidden" } }),
|
|
1490
|
+
/* @__PURE__ */ m(Ve, { className: "mx-micro-card", sx: { backgroundColor: r }, variant: _, children: [
|
|
1491
|
+
/* @__PURE__ */ e(
|
|
1492
|
+
He,
|
|
1493
|
+
{
|
|
1494
|
+
avatar: d && E,
|
|
1495
|
+
subheader: /* @__PURE__ */ e("div", { className: "mx-micro-content-container", children: /* @__PURE__ */ e(
|
|
1496
|
+
xe,
|
|
1497
|
+
{
|
|
1498
|
+
className: "mx-micro-card-description",
|
|
1499
|
+
color: a.textColor ? "undefined" : "text.primary",
|
|
1500
|
+
children: l && /* @__PURE__ */ e("span", { dangerouslySetInnerHTML: { __html: l } })
|
|
1501
|
+
}
|
|
1502
|
+
) }),
|
|
1503
|
+
title: s
|
|
1504
|
+
}
|
|
1505
|
+
),
|
|
1506
|
+
!!o && /* @__PURE__ */ e(Be, { sx: { paddingLeft: 0 }, children: /* @__PURE__ */ e("div", { className: "mx-insights-micro-card-link-text", children: o }) })
|
|
1507
|
+
] })
|
|
1508
|
+
]
|
|
1509
|
+
}
|
|
1510
|
+
);
|
|
1511
|
+
}
|
|
1512
|
+
), pt = (t, o, i, r, n, l) => U({
|
|
1513
|
+
height: "100%",
|
|
1514
|
+
listStyleType: "none",
|
|
1515
|
+
userSelect: "none",
|
|
1516
|
+
minWidth: "100%",
|
|
1517
|
+
"& .mx-micro-card": {
|
|
1518
|
+
borderRadius: 8,
|
|
1519
|
+
cursor: "pointer",
|
|
1520
|
+
display: "flex",
|
|
1521
|
+
flexDirection: "column",
|
|
1522
|
+
height: l ? "100%" : 124,
|
|
1523
|
+
justifyContent: !o && "space-between",
|
|
1524
|
+
width: "100%",
|
|
1525
|
+
padding: 16,
|
|
1526
|
+
...t
|
|
1527
|
+
},
|
|
1528
|
+
"& .mx-micro-content-container": {
|
|
1529
|
+
height: "100%"
|
|
1530
|
+
},
|
|
1531
|
+
"& .mx-micro-card-description": {
|
|
1532
|
+
letterSpacing: 0.48,
|
|
1533
|
+
color: i.textColor ? i.textColor : "",
|
|
1534
|
+
display: "-webkit-box",
|
|
1535
|
+
fontSize: 13,
|
|
1536
|
+
lineHeight: "20px",
|
|
1537
|
+
overflow: "hidden",
|
|
1538
|
+
WebkitLineClamp: r,
|
|
1539
|
+
WebkitBoxOrient: "vertical",
|
|
1540
|
+
wordWrap: "break-word"
|
|
1541
|
+
},
|
|
1542
|
+
"& .mx-insights-micro-card-link-text": {
|
|
1543
|
+
color: i.buttonColor ? i.buttonColor : "#2D64EF",
|
|
1544
|
+
fontSize: 14,
|
|
1545
|
+
fontWeight: "bold",
|
|
1546
|
+
marginLeft: 24,
|
|
1547
|
+
...n
|
|
1548
|
+
},
|
|
1549
|
+
"& .MuiCardHeader-avatar": {
|
|
1550
|
+
color: i.iconColor,
|
|
1551
|
+
marginBottom: "auto",
|
|
1552
|
+
marginRight: "8px !important",
|
|
1553
|
+
paddingTop: 2
|
|
1554
|
+
},
|
|
1555
|
+
"& .MuiCardHeader-root": {
|
|
1556
|
+
padding: 0
|
|
1557
|
+
},
|
|
1558
|
+
"& .MuiCardHeader-title": {
|
|
1559
|
+
fontSize: 15,
|
|
1560
|
+
fontWeight: "bold",
|
|
1561
|
+
color: i.headerColor,
|
|
1562
|
+
paddingBottom: 8,
|
|
1563
|
+
WebkitLineClamp: 2
|
|
1564
|
+
},
|
|
1565
|
+
"& .MuiCardContent-root": {
|
|
1566
|
+
// Needed to override padding for standard and first and last child conditions
|
|
1567
|
+
padding: "0 !important"
|
|
1568
|
+
}
|
|
1569
|
+
}), Et = ({
|
|
1570
|
+
clientColorScheme: t,
|
|
1571
|
+
onCardClick: o,
|
|
1572
|
+
posthog: i,
|
|
1573
|
+
widthOverrides: r
|
|
1574
|
+
}) => {
|
|
1575
|
+
const { carouselCopy: n } = V(), { onEvent: l } = G(), c = window.app?.config.client_guid, E = () => {
|
|
1576
|
+
l && (l(R.ON_VIEW_MORE_CLICKED), i?.capture && c && (o(), i.capture("micro_widget_clicked_insight", {
|
|
1577
|
+
insight_template: "view_all",
|
|
1578
|
+
$groups: { client: c }
|
|
1579
|
+
})));
|
|
1580
|
+
};
|
|
1581
|
+
return /* @__PURE__ */ m(
|
|
1582
|
+
Ne,
|
|
1583
|
+
{
|
|
1584
|
+
alignItems: "center",
|
|
1585
|
+
direction: "row",
|
|
1586
|
+
justifyContent: "space-between",
|
|
1587
|
+
spacing: 2,
|
|
1588
|
+
sx: {
|
|
1589
|
+
padding: r ? 0 : 16,
|
|
1590
|
+
width: r || void 0
|
|
1591
|
+
},
|
|
1592
|
+
children: [
|
|
1593
|
+
/* @__PURE__ */ e(
|
|
1594
|
+
le,
|
|
1595
|
+
{
|
|
1596
|
+
sx: {
|
|
1597
|
+
fontSize: 18,
|
|
1598
|
+
fontWeight: 700,
|
|
1599
|
+
lineHeight: "24px"
|
|
1600
|
+
},
|
|
1601
|
+
variant: "h3",
|
|
1602
|
+
children: n.carousel_title
|
|
1603
|
+
}
|
|
1604
|
+
),
|
|
1605
|
+
/* @__PURE__ */ m(
|
|
1606
|
+
Ze,
|
|
1607
|
+
{
|
|
1608
|
+
onClick: E,
|
|
1609
|
+
sx: {
|
|
1610
|
+
display: "flex",
|
|
1611
|
+
alignItems: "center",
|
|
1612
|
+
"&.MuiLink-underlineNone": {
|
|
1613
|
+
textDecoration: "none",
|
|
1614
|
+
":hover": {
|
|
1615
|
+
borderBottom: "none"
|
|
1616
|
+
}
|
|
1617
|
+
}
|
|
1618
|
+
},
|
|
1619
|
+
underline: "none",
|
|
1620
|
+
children: [
|
|
1621
|
+
/* @__PURE__ */ e(
|
|
1622
|
+
le,
|
|
1623
|
+
{
|
|
1624
|
+
sx: {
|
|
1625
|
+
color: t?.primary_300,
|
|
1626
|
+
fontSize: 15,
|
|
1627
|
+
fontWeight: 600,
|
|
1628
|
+
lineHeight: "20px"
|
|
1629
|
+
},
|
|
1630
|
+
variant: "body1",
|
|
1631
|
+
children: n.view_all_insights_in_full_feed_cta_aria
|
|
1632
|
+
}
|
|
1633
|
+
),
|
|
1634
|
+
/* @__PURE__ */ e(he, { sx: { color: t?.primary_300, ml: "8px" } })
|
|
1635
|
+
]
|
|
1636
|
+
}
|
|
1637
|
+
)
|
|
1638
|
+
]
|
|
1639
|
+
}
|
|
1640
|
+
);
|
|
1641
|
+
}, ut = N(Et), ht = () => /* @__PURE__ */ e(
|
|
1642
|
+
J,
|
|
1643
|
+
{
|
|
1644
|
+
sx: {
|
|
1645
|
+
alignItems: "center",
|
|
1646
|
+
display: "flex",
|
|
1647
|
+
height: "100%",
|
|
1648
|
+
justifyContent: "center",
|
|
1649
|
+
width: "100%"
|
|
1650
|
+
},
|
|
1651
|
+
children: /* @__PURE__ */ e(ke, {})
|
|
1652
|
+
}
|
|
1653
|
+
), A = new $e(), Ct = ({
|
|
1654
|
+
areBeatsLoading: t,
|
|
1655
|
+
beats: o = [],
|
|
1656
|
+
// This also determines the length of the carousel controls (beat.length + 1)
|
|
1657
|
+
clientColorScheme: i,
|
|
1658
|
+
// Allows certain icons, view all and read more button to reflect the clients color scheme. Currently only supports primary_300
|
|
1659
|
+
showCTAColocatedWithText: r = !0,
|
|
1660
|
+
endpoint: n = "/",
|
|
1661
|
+
heightOverrides: l,
|
|
1662
|
+
logOutUser: c,
|
|
1663
|
+
onCardClick: E = () => {
|
|
1664
|
+
},
|
|
1665
|
+
onEvent: u = () => {
|
|
1666
|
+
},
|
|
1667
|
+
onPageview: p = () => {
|
|
1668
|
+
},
|
|
1669
|
+
posthog: d,
|
|
1670
|
+
showBorder: f = !0,
|
|
1671
|
+
showCarouselControls: a,
|
|
1672
|
+
showHeader: s,
|
|
1673
|
+
showIcon: _,
|
|
1674
|
+
showWithMargin: h = !0,
|
|
1675
|
+
token: v = "",
|
|
1676
|
+
useDarkMode: I,
|
|
1677
|
+
userHasFullInsightFeedBeats: S,
|
|
1678
|
+
variant: M,
|
|
1679
|
+
widthOverrides: y
|
|
1680
|
+
}) => {
|
|
1681
|
+
const [F, x] = Y("STANDARD"), [H, K] = Y(!1), $ = Se([u], A), j = Me([p], A);
|
|
1682
|
+
C.useEffect(() => {
|
|
1683
|
+
A.isInitialized || A.initialize(n, v, c);
|
|
1684
|
+
}, [n, v, c, A.isInitialized]), C.useEffect(() => {
|
|
1685
|
+
const D = window.innerHeight;
|
|
1686
|
+
D < 180 ? x("STANDARD") : D >= 180 && D < 200 ? x("LARGE") : D >= 200 && D < 248 ? x("XLARGE") : D >= 248 && x("XXLARGE");
|
|
1687
|
+
}, [window.innerHeight]), C.useEffect(() => {
|
|
1688
|
+
K(!t && A.isInitialized);
|
|
1689
|
+
}, [t, A.isInitialized]);
|
|
1690
|
+
const B = {
|
|
1691
|
+
showCTAColocatedWithText: r,
|
|
1692
|
+
heightOverrides: l,
|
|
1693
|
+
onCardClick: E,
|
|
1694
|
+
showIcon: _,
|
|
1695
|
+
showWithMargin: h,
|
|
1696
|
+
useDarkMode: I,
|
|
1697
|
+
widthOverrides: y
|
|
1698
|
+
}, k = {
|
|
1699
|
+
carouselSize: F,
|
|
1700
|
+
posthog: d,
|
|
1701
|
+
variant: M,
|
|
1702
|
+
...B
|
|
1703
|
+
};
|
|
1704
|
+
return (
|
|
1705
|
+
// The Theme provider must wrap the component so that the styles don't break when imported into other applications.
|
|
1706
|
+
/* @__PURE__ */ m(Le, { theme: De(I ? "dark" : "light"), children: [
|
|
1707
|
+
/* @__PURE__ */ e(Pe, {}),
|
|
1708
|
+
/* @__PURE__ */ e(je, { onEvent: $, onPageview: j, store: A, children: /* @__PURE__ */ m(
|
|
1709
|
+
J,
|
|
1710
|
+
{
|
|
1711
|
+
sx: {
|
|
1712
|
+
boxSizing: "border-box",
|
|
1713
|
+
height: l ? void 0 : "100%",
|
|
1714
|
+
margin: "0 auto",
|
|
1715
|
+
width: y ? void 0 : "100%"
|
|
1716
|
+
},
|
|
1717
|
+
children: [
|
|
1718
|
+
(t || !A.isInitialized) && /* @__PURE__ */ e(ht, {}),
|
|
1719
|
+
H && s && /* @__PURE__ */ e(
|
|
1720
|
+
ut,
|
|
1721
|
+
{
|
|
1722
|
+
clientColorScheme: i,
|
|
1723
|
+
onCardClick: E,
|
|
1724
|
+
posthog: d,
|
|
1725
|
+
widthOverrides: y
|
|
1726
|
+
}
|
|
1727
|
+
),
|
|
1728
|
+
H && !!o.length && /* @__PURE__ */ e(
|
|
1729
|
+
dt,
|
|
1730
|
+
{
|
|
1731
|
+
beats: o,
|
|
1732
|
+
clientColorScheme: i,
|
|
1733
|
+
showCarouselControls: a,
|
|
1734
|
+
variant: f ? M : void 0,
|
|
1735
|
+
...B
|
|
1736
|
+
}
|
|
1737
|
+
),
|
|
1738
|
+
H && !o.length && S && /* @__PURE__ */ e(mt, { clientColorScheme: i, ...k }),
|
|
1739
|
+
H && !o.length && !S && /* @__PURE__ */ e(It, { ...k })
|
|
1740
|
+
]
|
|
1741
|
+
}
|
|
1742
|
+
) })
|
|
1743
|
+
] })
|
|
1744
|
+
);
|
|
1745
|
+
}, ro = N(Ct), _t = ({
|
|
1746
|
+
ariaLabel: t,
|
|
1747
|
+
carouselSize: o,
|
|
1748
|
+
clientColorScheme: i,
|
|
1749
|
+
heightOverrides: r,
|
|
1750
|
+
onCardClick: n,
|
|
1751
|
+
posthog: l,
|
|
1752
|
+
showIcon: c,
|
|
1753
|
+
showWithMargin: E,
|
|
1754
|
+
variant: u,
|
|
1755
|
+
widthOverrides: p
|
|
1756
|
+
}) => {
|
|
1757
|
+
const { cardsCopy: d } = V(), { onEvent: f } = G(), { onPageview: a } = ye(), s = window.app?.config.client_guid;
|
|
1758
|
+
C.useEffect(() => {
|
|
1759
|
+
a(W.MICRO_WIDGET_CAROUSEL_NO_RELEVANT_INSIGHTS);
|
|
1760
|
+
}, []);
|
|
1761
|
+
const _ = () => {
|
|
1762
|
+
n && n(), f(R.ON_NO_RELEVANT_INSIGHTS_CLICKED), l?.capture && s && l.capture("micro_widget_clicked_insight", {
|
|
1763
|
+
insight_template: "no_relevant_insights",
|
|
1764
|
+
$groups: { client: s }
|
|
1765
|
+
});
|
|
1766
|
+
};
|
|
1767
|
+
return /* @__PURE__ */ e(
|
|
1768
|
+
z,
|
|
1769
|
+
{
|
|
1770
|
+
actionText: d.micro_card_cta,
|
|
1771
|
+
ariaLabel: t,
|
|
1772
|
+
description: d.no_relevant_insights_card_description,
|
|
1773
|
+
fontColors: { buttonColor: i?.primary_300 },
|
|
1774
|
+
heightOverrides: r,
|
|
1775
|
+
icon: /* @__PURE__ */ e(ge, {}),
|
|
1776
|
+
onCardClick: _,
|
|
1777
|
+
showIcon: c,
|
|
1778
|
+
style: {
|
|
1779
|
+
cardStyle: {
|
|
1780
|
+
card: {
|
|
1781
|
+
height: `calc(${Re[o]}px - 44px)`,
|
|
1782
|
+
margin: "0 auto",
|
|
1783
|
+
width: E ? "calc(100% - 32px)" : "100%"
|
|
1784
|
+
},
|
|
1785
|
+
description: {
|
|
1786
|
+
WebkitLineClamp: 4
|
|
1787
|
+
}
|
|
1788
|
+
},
|
|
1789
|
+
linkTextStyle: {
|
|
1790
|
+
marginLeft: 48
|
|
1791
|
+
}
|
|
1792
|
+
},
|
|
1793
|
+
title: d.no_relevant_insights_card_title,
|
|
1794
|
+
variant: u,
|
|
1795
|
+
widthOverrides: p
|
|
1796
|
+
}
|
|
1797
|
+
);
|
|
1798
|
+
}, mt = N(_t), ft = ({
|
|
1799
|
+
isActiveCard: t,
|
|
1800
|
+
ariaLabel: o,
|
|
1801
|
+
clientColorScheme: i,
|
|
1802
|
+
heightOverrides: r,
|
|
1803
|
+
onCardClick: n,
|
|
1804
|
+
posthog: l,
|
|
1805
|
+
showIcon: c,
|
|
1806
|
+
variant: E,
|
|
1807
|
+
widthOverrides: u
|
|
1808
|
+
}) => {
|
|
1809
|
+
const p = q(), d = window.app?.config.client_guid, { ref: f, inView: a } = ue({
|
|
1810
|
+
threshold: Ie
|
|
1811
|
+
}), { cardsCopy: s } = V(), { onEvent: _ } = G();
|
|
1812
|
+
Z(() => {
|
|
1813
|
+
a && _(fe.ON_VIEW_MORE_VIEWED);
|
|
1814
|
+
}, [a]), Z(() => {
|
|
1815
|
+
l?.capture && a && d && l.capture("micro_widget_viewed_insight", {
|
|
1816
|
+
insight_template: "read_more_card",
|
|
1817
|
+
$groups: { client: d }
|
|
1818
|
+
});
|
|
1819
|
+
}, [d, l, a]);
|
|
1820
|
+
const h = () => {
|
|
1821
|
+
n && n(), _(R.ON_VIEW_MORE_CLICKED), l?.capture && d && l.capture("micro_widget_clicked_insight", {
|
|
1822
|
+
insight_template: "read_more_card",
|
|
1823
|
+
$groups: { client: d }
|
|
1824
|
+
});
|
|
1825
|
+
};
|
|
1826
|
+
return /* @__PURE__ */ e(
|
|
1827
|
+
z,
|
|
1828
|
+
{
|
|
1829
|
+
actionText: s.micro_card_cta,
|
|
1830
|
+
ariaLabel: o,
|
|
1831
|
+
description: s.view_more_card_description,
|
|
1832
|
+
fontColors: { buttonColor: i?.primary_300 },
|
|
1833
|
+
heightOverrides: r,
|
|
1834
|
+
icon: /* @__PURE__ */ e(
|
|
1835
|
+
Je,
|
|
1836
|
+
{
|
|
1837
|
+
color: i?.primary_300 ? i?.primary_300 : p.Color.Primary300
|
|
1838
|
+
}
|
|
1839
|
+
),
|
|
1840
|
+
isActiveCard: t,
|
|
1841
|
+
onCardClick: h,
|
|
1842
|
+
ref: f,
|
|
1843
|
+
showIcon: c,
|
|
1844
|
+
title: s.view_more_card_title,
|
|
1845
|
+
variant: E,
|
|
1846
|
+
widthOverrides: u
|
|
1847
|
+
}
|
|
1848
|
+
);
|
|
1849
|
+
}, gt = N(ft), Rt = ({
|
|
1850
|
+
ariaLabel: t,
|
|
1851
|
+
carouselSize: o,
|
|
1852
|
+
heightOverrides: i,
|
|
1853
|
+
onCardClick: r,
|
|
1854
|
+
showIcon: n,
|
|
1855
|
+
showWithMargin: l,
|
|
1856
|
+
variant: c,
|
|
1857
|
+
widthOverrides: E
|
|
1858
|
+
}) => {
|
|
1859
|
+
const { onPageview: u } = ye(), { zeroStateCopy: p } = V();
|
|
1860
|
+
return C.useEffect(() => {
|
|
1861
|
+
u(W.MICRO_WIDGET_CAROUSEL_ZERO_STATE);
|
|
1862
|
+
}, []), /* @__PURE__ */ e(
|
|
1863
|
+
z,
|
|
1864
|
+
{
|
|
1865
|
+
ariaLabel: t,
|
|
1866
|
+
description: p.carousel_zero_state_description,
|
|
1867
|
+
heightOverrides: i,
|
|
1868
|
+
icon: /* @__PURE__ */ e(ge, {}),
|
|
1869
|
+
onCardClick: r,
|
|
1870
|
+
showIcon: n,
|
|
1871
|
+
style: {
|
|
1872
|
+
cardStyle: {
|
|
1873
|
+
card: {
|
|
1874
|
+
height: `calc(${Re[o]}px - 44px)`,
|
|
1875
|
+
margin: "0 auto",
|
|
1876
|
+
width: l ? "calc(100% - 32px)" : "100%"
|
|
1877
|
+
},
|
|
1878
|
+
description: {
|
|
1879
|
+
WebkitLineClamp: 4
|
|
1880
|
+
}
|
|
1881
|
+
}
|
|
1882
|
+
},
|
|
1883
|
+
title: p.carousel_zero_state_title,
|
|
1884
|
+
variant: c,
|
|
1885
|
+
widthOverrides: E
|
|
1886
|
+
}
|
|
1887
|
+
);
|
|
1888
|
+
}, It = N(Rt);
|
|
1889
|
+
export {
|
|
1890
|
+
$e as AppStore,
|
|
1891
|
+
lt as BeatCard,
|
|
1892
|
+
ut as CarouselHeader,
|
|
1893
|
+
Je as ChartFilledIcon,
|
|
1894
|
+
ro as InsightsMicroWidget,
|
|
1895
|
+
je as InsightsMicroWidgetDataProvider,
|
|
1896
|
+
dt as MicroBeatCarousel,
|
|
1897
|
+
z as MicroInsightCard,
|
|
1898
|
+
it as MonthlySpendComparisonIcon,
|
|
1899
|
+
mt as NoRelevantInsightsCard,
|
|
1900
|
+
gt as ViewMoreMicroCard,
|
|
1901
|
+
It as ZeroStateCard,
|
|
1902
|
+
ge as ZeroStateIcon
|
|
1903
|
+
};
|
|
1904
|
+
//# sourceMappingURL=index.es17.js.map
|