@bikdotai/bik-component-library 0.0.857-beta.2 → 0.0.857
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/cjs/components/feature-announcements/FeatureAnnouncementProvider.js +2 -2
- package/dist/cjs/components/feature-announcements/FeatureAnnouncementProvider.js.map +1 -1
- package/dist/cjs/components/feature-announcements/MajorUpdatePopup.js +2 -2
- package/dist/cjs/components/feature-announcements/MajorUpdatePopup.js.map +1 -1
- package/dist/cjs/components/feature-announcements/MinorUpdatePopup.js +1 -1
- package/dist/cjs/components/feature-announcements/MinorUpdatePopup.js.map +1 -1
- package/dist/cjs/icons/Social/Channels/ManifestLiveChat.js +2 -0
- package/dist/cjs/icons/Social/Channels/ManifestLiveChat.js.map +1 -0
- package/dist/cjs/icons/index.js +1 -1
- package/dist/esm/components/feature-announcements/FeatureAnnouncementProvider.js +333 -416
- package/dist/esm/components/feature-announcements/FeatureAnnouncementProvider.js.map +1 -1
- package/dist/esm/components/feature-announcements/MajorUpdatePopup.js +35 -33
- package/dist/esm/components/feature-announcements/MajorUpdatePopup.js.map +1 -1
- package/dist/esm/components/feature-announcements/MinorUpdatePopup.js +48 -47
- package/dist/esm/components/feature-announcements/MinorUpdatePopup.js.map +1 -1
- package/dist/esm/components/feature-announcements/types/props.types.d.ts +2 -2
- package/dist/esm/icons/Social/Channels/ManifestLiveChat.d.ts +6 -0
- package/dist/esm/icons/Social/Channels/ManifestLiveChat.js +30 -0
- package/dist/esm/icons/Social/Channels/ManifestLiveChat.js.map +1 -0
- package/dist/esm/icons/Social/Channels/index.d.ts +1 -0
- package/dist/esm/icons/index.d.ts +25 -25
- package/dist/esm/icons/index.js +346 -344
- package/dist/esm/icons/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,44 +1,44 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { useState as
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import { VideoModal as
|
|
7
|
-
import { useFeatureAnnouncements as
|
|
8
|
-
import { SELECTORS as
|
|
9
|
-
const
|
|
10
|
-
children:
|
|
11
|
-
fetchVisibleFeatures:
|
|
12
|
-
getStoreFeatureProgress:
|
|
13
|
-
fetchFeatureById:
|
|
14
|
-
markFeatureAsViewedForStore:
|
|
15
|
-
isFeatureApplicableToCurrentPage:
|
|
16
|
-
module:
|
|
17
|
-
router:
|
|
18
|
-
storeId:
|
|
19
|
-
onAnnouncementShown:
|
|
20
|
-
onAnnouncementInteracted:
|
|
1
|
+
import { jsxs as je, Fragment as Ee, jsx as C } from "react/jsx-runtime";
|
|
2
|
+
import { useState as u, useEffect as P, useCallback as S } from "react";
|
|
3
|
+
import ce, { ACTIONS as pe } from "react-joyride";
|
|
4
|
+
import oe from "./MajorUpdatePopup.js";
|
|
5
|
+
import ne from "./MinorUpdatePopup.js";
|
|
6
|
+
import { VideoModal as Ne } from "./VideoModal.js";
|
|
7
|
+
import { useFeatureAnnouncements as Pe } from "./hooks/useFeatureAnnouncements.js";
|
|
8
|
+
import { SELECTORS as We } from "./constants/selectors.js";
|
|
9
|
+
const $e = ({
|
|
10
|
+
children: fe,
|
|
11
|
+
fetchVisibleFeatures: me,
|
|
12
|
+
getStoreFeatureProgress: ge,
|
|
13
|
+
fetchFeatureById: he,
|
|
14
|
+
markFeatureAsViewedForStore: be,
|
|
15
|
+
isFeatureApplicableToCurrentPage: ye,
|
|
16
|
+
module: xe,
|
|
17
|
+
router: W,
|
|
18
|
+
storeId: E,
|
|
19
|
+
onAnnouncementShown: re,
|
|
20
|
+
onAnnouncementInteracted: L
|
|
21
21
|
}) => {
|
|
22
22
|
const {
|
|
23
|
-
majorUpdateFeatures:
|
|
24
|
-
minorUpdateFeatures:
|
|
25
|
-
isLoading:
|
|
26
|
-
markFeatureAsViewed:
|
|
27
|
-
} =
|
|
28
|
-
fetchVisibleFeatures:
|
|
29
|
-
getStoreFeatureProgress:
|
|
30
|
-
fetchFeatureById:
|
|
31
|
-
markFeatureAsViewedForStore:
|
|
32
|
-
isFeatureApplicableToCurrentPage:
|
|
33
|
-
module:
|
|
34
|
-
router:
|
|
35
|
-
}), [
|
|
23
|
+
majorUpdateFeatures: s,
|
|
24
|
+
minorUpdateFeatures: I,
|
|
25
|
+
isLoading: T,
|
|
26
|
+
markFeatureAsViewed: p
|
|
27
|
+
} = Pe({
|
|
28
|
+
fetchVisibleFeatures: me,
|
|
29
|
+
getStoreFeatureProgress: ge,
|
|
30
|
+
fetchFeatureById: he,
|
|
31
|
+
markFeatureAsViewedForStore: be,
|
|
32
|
+
isFeatureApplicableToCurrentPage: ye,
|
|
33
|
+
module: xe,
|
|
34
|
+
router: W
|
|
35
|
+
}), [m, B] = u(null), [l, w] = u(null), [O, v] = u(!1), [ae, k] = u([]), [Se, J] = u(!1), [se, U] = u([]), [ie, M] = u(!1), [h, b] = u(!1), [d, q] = u([]), [y, F] = u(!1), [x, j] = u(!1), [we, $] = u(!1), [ke, z] = u(""), [R, K] = u(!1), [Ce, _] = u(!1), [le, A] = u(!1), [Te, Me] = u(0), [Fe, Ie] = u(0), [N, Q] = u(
|
|
36
36
|
/* @__PURE__ */ new Set()
|
|
37
37
|
);
|
|
38
|
-
|
|
39
|
-
const
|
|
40
|
-
let o = document.getElementById(
|
|
41
|
-
return o || (o = document.createElement("style"), o.id =
|
|
38
|
+
P(() => {
|
|
39
|
+
const e = "minor-spotlight-cutout-style";
|
|
40
|
+
let o = document.getElementById(e);
|
|
41
|
+
return o || (o = document.createElement("style"), o.id = e, document.head.appendChild(o)), o.textContent = `
|
|
42
42
|
.react-joyride__spotlight {
|
|
43
43
|
transition: box-shadow 0.3s ease-in-out !important;
|
|
44
44
|
will-change: box-shadow, transform;
|
|
@@ -53,132 +53,131 @@ const At = ({
|
|
|
53
53
|
left: auto !important;
|
|
54
54
|
}
|
|
55
55
|
`, () => {
|
|
56
|
-
const n = document.getElementById(
|
|
56
|
+
const n = document.getElementById(e);
|
|
57
57
|
n && n.remove();
|
|
58
58
|
};
|
|
59
|
-
}, []),
|
|
60
|
-
|
|
61
|
-
}, [
|
|
62
|
-
if (
|
|
63
|
-
|
|
64
|
-
let
|
|
59
|
+
}, []), P(() => {
|
|
60
|
+
Me((e) => e + 1), Ie((e) => e + 1), _(!1), A(!1), Q(/* @__PURE__ */ new Set());
|
|
61
|
+
}, [W?.pathname]), P(() => {
|
|
62
|
+
if (s.length > 0 && !m && !T && !ie && !R) {
|
|
63
|
+
j(!1), F(!1), v(!1), k([]), w(null), q([]);
|
|
64
|
+
let e = 0;
|
|
65
65
|
const o = 10, n = () => {
|
|
66
|
-
|
|
66
|
+
e++, document.querySelector(
|
|
67
67
|
'[data-testid="whats-new-button"]'
|
|
68
|
-
) ?
|
|
68
|
+
) ? de(s[0]) : e < o ? setTimeout(n, 1e3) : j(!0);
|
|
69
69
|
};
|
|
70
70
|
n();
|
|
71
|
-
} else
|
|
71
|
+
} else s.length === 0 && !T && j(!0);
|
|
72
72
|
}, [
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
]),
|
|
79
|
-
const
|
|
80
|
-
if (!
|
|
73
|
+
s,
|
|
74
|
+
m,
|
|
75
|
+
T,
|
|
76
|
+
ie,
|
|
77
|
+
R
|
|
78
|
+
]), P(() => {
|
|
79
|
+
const e = W?.query?.featureId;
|
|
80
|
+
if (!e || T || I.length === 0)
|
|
81
81
|
return;
|
|
82
|
-
const o =
|
|
83
|
-
(a) => a.id ===
|
|
82
|
+
const o = I.find(
|
|
83
|
+
(a) => a.id === e
|
|
84
84
|
);
|
|
85
85
|
if (!o || !o.featureTag)
|
|
86
86
|
return;
|
|
87
|
-
|
|
87
|
+
F(!0), b(!0);
|
|
88
88
|
let n = 0;
|
|
89
|
-
const
|
|
89
|
+
const t = 25, r = setInterval(() => {
|
|
90
90
|
n++;
|
|
91
91
|
const a = o.featureTag.startsWith("#") || o.featureTag.startsWith(".") || o.featureTag.startsWith("[") ? o.featureTag : `#${o.featureTag}`;
|
|
92
92
|
if (document.querySelector(a)) {
|
|
93
93
|
const c = [o];
|
|
94
|
-
|
|
95
|
-
} else n >=
|
|
94
|
+
q(c), V(o, c), clearInterval(r);
|
|
95
|
+
} else n >= t && (b(!1), clearInterval(r));
|
|
96
96
|
}, 200);
|
|
97
97
|
return () => {
|
|
98
|
-
clearInterval(
|
|
98
|
+
clearInterval(r);
|
|
99
99
|
};
|
|
100
|
-
}, [
|
|
101
|
-
if (
|
|
102
|
-
let
|
|
103
|
-
const
|
|
104
|
-
if (
|
|
100
|
+
}, [I, W?.query?.featureId, T]), P(() => {
|
|
101
|
+
if (I.length > 0 && !T && !O && !h && !l && !y && x && !R) {
|
|
102
|
+
let e = null, o = null, n = null, t = !1;
|
|
103
|
+
const r = () => {
|
|
104
|
+
if (t || h || l || y || !x)
|
|
105
105
|
return;
|
|
106
|
-
const a =
|
|
107
|
-
if (!
|
|
106
|
+
const a = I.filter((i) => {
|
|
107
|
+
if (!i.featureTag || i.featureTag.trim() === "" || N.has(i.id))
|
|
108
108
|
return !1;
|
|
109
|
-
const c =
|
|
109
|
+
const c = i.featureTag.startsWith("#") || i.featureTag.startsWith(".") || i.featureTag.startsWith("[") ? i.featureTag : `#${i.featureTag}`;
|
|
110
110
|
return document.querySelector(c) !== null;
|
|
111
111
|
});
|
|
112
|
-
a.length > 0 && (
|
|
112
|
+
a.length > 0 && (q(a), V(a[0], a), e && (e.disconnect(), e = null), o && (window.removeEventListener("scroll", o), o = null), n && (clearTimeout(n), n = null));
|
|
113
113
|
};
|
|
114
|
-
return
|
|
115
|
-
let
|
|
114
|
+
return e = new MutationObserver((a) => {
|
|
115
|
+
let i = !1;
|
|
116
116
|
for (const c of a) {
|
|
117
117
|
if (c.type === "childList" && c.addedNodes.length > 0)
|
|
118
|
-
for (let
|
|
119
|
-
const
|
|
120
|
-
if (
|
|
121
|
-
const
|
|
122
|
-
if (
|
|
123
|
-
|
|
118
|
+
for (let f = 0; f < c.addedNodes.length; f++) {
|
|
119
|
+
const g = c.addedNodes[f];
|
|
120
|
+
if (g.nodeType === Node.ELEMENT_NODE) {
|
|
121
|
+
const ue = g;
|
|
122
|
+
if (ue.id || ue.querySelector("[id]")) {
|
|
123
|
+
i = !0;
|
|
124
124
|
break;
|
|
125
125
|
}
|
|
126
126
|
}
|
|
127
127
|
}
|
|
128
|
-
if (
|
|
128
|
+
if (i) break;
|
|
129
129
|
}
|
|
130
|
-
!
|
|
131
|
-
!
|
|
130
|
+
!O && !t && !h && !l && !y && x && i && (n && clearTimeout(n), n = setTimeout(() => {
|
|
131
|
+
!t && !h && !l && !y && x && r();
|
|
132
132
|
}, 200));
|
|
133
133
|
}), o = () => {
|
|
134
|
-
!
|
|
134
|
+
!O && !t && !h && !l && !y && x && (n && clearTimeout(n), requestAnimationFrame(() => {
|
|
135
135
|
n = setTimeout(() => {
|
|
136
|
-
!
|
|
136
|
+
!t && !h && !l && !y && x && r();
|
|
137
137
|
}, 300);
|
|
138
138
|
}));
|
|
139
|
-
},
|
|
139
|
+
}, e && e.observe(document.body, {
|
|
140
140
|
childList: !0,
|
|
141
141
|
subtree: !0
|
|
142
|
-
}), o && window.addEventListener("scroll", o, { passive: !0 }),
|
|
143
|
-
!
|
|
142
|
+
}), o && window.addEventListener("scroll", o, { passive: !0 }), r(), setTimeout(() => {
|
|
143
|
+
!t && !h && !l && !y && x && r();
|
|
144
144
|
}, 100), setTimeout(() => {
|
|
145
|
-
!
|
|
145
|
+
!t && !h && !l && !y && x && r();
|
|
146
146
|
}, 1e3), setTimeout(() => {
|
|
147
|
-
!
|
|
147
|
+
!t && !h && !l && !y && x && r();
|
|
148
148
|
}, 500), () => {
|
|
149
|
-
|
|
149
|
+
t = !0, e && e.disconnect(), o && window.removeEventListener("scroll", o), n && clearTimeout(n);
|
|
150
150
|
};
|
|
151
|
-
} else (
|
|
151
|
+
} else (I.length === 0 || T) && (W?.query?.featureId && l || (v(!1), k([]), w(null), q([]), F(!1)));
|
|
152
152
|
}, [
|
|
153
|
-
|
|
154
|
-
F,
|
|
155
|
-
J,
|
|
156
|
-
C,
|
|
157
|
-
s,
|
|
153
|
+
I,
|
|
158
154
|
T,
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
155
|
+
O,
|
|
156
|
+
h,
|
|
157
|
+
l,
|
|
158
|
+
y,
|
|
159
|
+
x,
|
|
160
|
+
p,
|
|
161
|
+
R
|
|
162
162
|
]);
|
|
163
|
-
const
|
|
164
|
-
|
|
165
|
-
const o =
|
|
166
|
-
(
|
|
167
|
-
), n =
|
|
163
|
+
const de = (e) => {
|
|
164
|
+
B(e);
|
|
165
|
+
const o = s.findIndex(
|
|
166
|
+
(r) => r.id === e.id
|
|
167
|
+
), n = s.length, t = [
|
|
168
168
|
{
|
|
169
|
-
target:
|
|
170
|
-
content: /* @__PURE__ */
|
|
171
|
-
|
|
169
|
+
target: We.WHATS_NEW_BUTTON,
|
|
170
|
+
content: /* @__PURE__ */ C(
|
|
171
|
+
oe,
|
|
172
172
|
{
|
|
173
|
-
feature:
|
|
173
|
+
feature: e,
|
|
174
174
|
currentIndex: o,
|
|
175
175
|
totalFeatures: n,
|
|
176
|
-
onSkip: () =>
|
|
177
|
-
onExplore: (
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
setIsClosing: A
|
|
176
|
+
onSkip: () => Z(e),
|
|
177
|
+
onExplore: (r) => D(e, r),
|
|
178
|
+
onPrevious: () => H(e),
|
|
179
|
+
onNext: () => X(e),
|
|
180
|
+
setIsClosing: _
|
|
182
181
|
}
|
|
183
182
|
),
|
|
184
183
|
placement: "bottom-start",
|
|
@@ -188,7 +187,7 @@ const At = ({
|
|
|
188
187
|
hideSkipButton: !0,
|
|
189
188
|
hideFooter: !0,
|
|
190
189
|
offset: 0,
|
|
191
|
-
data: { feature:
|
|
190
|
+
data: { feature: e, isMajor: !0 },
|
|
192
191
|
styles: {
|
|
193
192
|
tooltip: {
|
|
194
193
|
padding: 0,
|
|
@@ -216,22 +215,22 @@ const At = ({
|
|
|
216
215
|
}
|
|
217
216
|
}
|
|
218
217
|
];
|
|
219
|
-
|
|
220
|
-
storeId:
|
|
221
|
-
announcementId:
|
|
222
|
-
announcementTitle:
|
|
223
|
-
imageUrl:
|
|
224
|
-
videoUrl:
|
|
218
|
+
U(t), J(!0), re && E && re({
|
|
219
|
+
storeId: E,
|
|
220
|
+
announcementId: e.id,
|
|
221
|
+
announcementTitle: e.title,
|
|
222
|
+
imageUrl: e.displayImage || e.image,
|
|
223
|
+
videoUrl: e.productVideo
|
|
225
224
|
});
|
|
226
|
-
},
|
|
227
|
-
async (
|
|
228
|
-
const o =
|
|
229
|
-
o && (
|
|
230
|
-
|
|
231
|
-
(n) =>
|
|
225
|
+
}, Z = S(
|
|
226
|
+
async (e) => {
|
|
227
|
+
const o = e || m;
|
|
228
|
+
o && (M(!0), await Promise.all(
|
|
229
|
+
s.map(
|
|
230
|
+
(n) => p(n.id)
|
|
232
231
|
)
|
|
233
|
-
),
|
|
234
|
-
storeId:
|
|
232
|
+
), J(!1), B(null), U([]), j(!0), L && E && L({
|
|
233
|
+
storeId: E,
|
|
235
234
|
announcementId: o.id,
|
|
236
235
|
announcementTitle: o.title,
|
|
237
236
|
imageUrl: o.displayImage || o.image,
|
|
@@ -240,81 +239,60 @@ const At = ({
|
|
|
240
239
|
buttonName: "Skip",
|
|
241
240
|
buttonUrl: void 0
|
|
242
241
|
}), setTimeout(() => {
|
|
243
|
-
|
|
242
|
+
M(!1);
|
|
244
243
|
}, 500));
|
|
245
244
|
},
|
|
246
|
-
[
|
|
247
|
-
),
|
|
248
|
-
async (
|
|
249
|
-
|
|
250
|
-
const n = o ??
|
|
251
|
-
if (n === "Play Video" &&
|
|
252
|
-
const a =
|
|
245
|
+
[m, s, p]
|
|
246
|
+
), D = S(
|
|
247
|
+
async (e, o) => {
|
|
248
|
+
M(!0), await p(e.id);
|
|
249
|
+
const n = o ?? e.primaryButton?.action;
|
|
250
|
+
if (n === "Play Video" && e.productVideo && (z(e.productVideo), $(!0), K(!0)), n === "Open link") {
|
|
251
|
+
const a = e.primaryButton?.redirectionUrl || e.redirectUrl;
|
|
253
252
|
a && !a.startsWith("http") && (window.location.href = a);
|
|
254
253
|
}
|
|
255
|
-
|
|
256
|
-
(a) => a.id ===
|
|
257
|
-
) ===
|
|
258
|
-
storeId:
|
|
259
|
-
announcementId:
|
|
260
|
-
announcementTitle:
|
|
261
|
-
imageUrl:
|
|
262
|
-
videoUrl:
|
|
254
|
+
J(!1), B(null), U([]), s.findIndex(
|
|
255
|
+
(a) => a.id === e.id
|
|
256
|
+
) === s.length - 1 && j(!0), L && E && L({
|
|
257
|
+
storeId: E,
|
|
258
|
+
announcementId: e.id,
|
|
259
|
+
announcementTitle: e.title,
|
|
260
|
+
imageUrl: e.displayImage || e.image,
|
|
261
|
+
videoUrl: e.productVideo,
|
|
263
262
|
buttonClicked: "Primary",
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
buttonName: t.primaryButton?.text || t.buttonText || "Explore",
|
|
267
|
-
buttonUrl: t.primaryButton?.redirectionUrl || t.redirectUrl || t.productVideo
|
|
268
|
-
}), setTimeout(() => {
|
|
269
|
-
w(!1);
|
|
270
|
-
}, 500);
|
|
271
|
-
},
|
|
272
|
-
[r, u]
|
|
273
|
-
), X = x(
|
|
274
|
-
async (t, o) => {
|
|
275
|
-
w(!0), await u(t.id), (o ?? t.secondaryButton?.action) === "Play Video" && t.productVideo && (R(t.productVideo), q(!0), _(!0)), V(!1), v(null), j([]), r.findIndex(
|
|
276
|
-
(a) => a.id === t.id
|
|
277
|
-
) === r.length - 1 && N(!0), y && m && y({
|
|
278
|
-
storeId: m,
|
|
279
|
-
announcementId: t.id,
|
|
280
|
-
announcementTitle: t.title,
|
|
281
|
-
imageUrl: t.displayImage || t.image,
|
|
282
|
-
videoUrl: t.productVideo,
|
|
283
|
-
buttonClicked: "Secondary",
|
|
284
|
-
buttonName: t.secondaryButton?.text || "Secondary",
|
|
285
|
-
buttonUrl: t.secondaryButton?.redirectionUrl
|
|
263
|
+
buttonName: e.buttonText || "Explore",
|
|
264
|
+
buttonUrl: e.redirectUrl || e.productVideo
|
|
286
265
|
}), setTimeout(() => {
|
|
287
|
-
|
|
266
|
+
M(!1);
|
|
288
267
|
}, 500);
|
|
289
268
|
},
|
|
290
|
-
[
|
|
291
|
-
),
|
|
292
|
-
(
|
|
293
|
-
const o =
|
|
269
|
+
[s, p]
|
|
270
|
+
), H = S(
|
|
271
|
+
(e) => {
|
|
272
|
+
const o = e || m;
|
|
294
273
|
if (!o)
|
|
295
274
|
return;
|
|
296
|
-
const n =
|
|
297
|
-
(
|
|
275
|
+
const n = s.findIndex(
|
|
276
|
+
(t) => t.id === o.id
|
|
298
277
|
);
|
|
299
278
|
if (n > 0) {
|
|
300
|
-
const
|
|
301
|
-
|
|
302
|
-
const
|
|
303
|
-
|
|
279
|
+
const t = s[n - 1];
|
|
280
|
+
B(t);
|
|
281
|
+
const r = n - 1, a = s.length;
|
|
282
|
+
U([
|
|
304
283
|
{
|
|
305
284
|
target: '[data-testid="whats-new-button"]',
|
|
306
|
-
content: /* @__PURE__ */
|
|
307
|
-
|
|
285
|
+
content: /* @__PURE__ */ C(
|
|
286
|
+
oe,
|
|
308
287
|
{
|
|
309
|
-
feature:
|
|
310
|
-
currentIndex:
|
|
288
|
+
feature: t,
|
|
289
|
+
currentIndex: r,
|
|
311
290
|
totalFeatures: a,
|
|
312
|
-
onSkip: () =>
|
|
313
|
-
onExplore: (c) =>
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
setIsClosing: A
|
|
291
|
+
onSkip: () => Z(t),
|
|
292
|
+
onExplore: (c) => D(t, c),
|
|
293
|
+
onPrevious: () => H(t),
|
|
294
|
+
onNext: () => X(t),
|
|
295
|
+
setIsClosing: _
|
|
318
296
|
}
|
|
319
297
|
),
|
|
320
298
|
placement: "bottom-start",
|
|
@@ -324,7 +302,7 @@ const At = ({
|
|
|
324
302
|
hideSkipButton: !0,
|
|
325
303
|
hideFooter: !0,
|
|
326
304
|
offset: 0,
|
|
327
|
-
data: { feature:
|
|
305
|
+
data: { feature: t, isMajor: !0 },
|
|
328
306
|
styles: {
|
|
329
307
|
tooltip: {
|
|
330
308
|
padding: 0,
|
|
@@ -354,34 +332,33 @@ const At = ({
|
|
|
354
332
|
]);
|
|
355
333
|
}
|
|
356
334
|
},
|
|
357
|
-
[
|
|
358
|
-
),
|
|
359
|
-
(
|
|
360
|
-
const o =
|
|
335
|
+
[m, s]
|
|
336
|
+
), X = S(
|
|
337
|
+
(e) => {
|
|
338
|
+
const o = e || m;
|
|
361
339
|
if (!o)
|
|
362
340
|
return;
|
|
363
|
-
const n =
|
|
364
|
-
(
|
|
341
|
+
const n = s.findIndex(
|
|
342
|
+
(t) => t.id === o.id
|
|
365
343
|
);
|
|
366
|
-
if (n <
|
|
367
|
-
const
|
|
368
|
-
|
|
369
|
-
const
|
|
370
|
-
|
|
344
|
+
if (n < s.length - 1) {
|
|
345
|
+
const t = s[n + 1];
|
|
346
|
+
B(t);
|
|
347
|
+
const r = n + 1, a = s.length;
|
|
348
|
+
U([
|
|
371
349
|
{
|
|
372
350
|
target: '[data-testid="whats-new-button"]',
|
|
373
|
-
content: /* @__PURE__ */
|
|
374
|
-
|
|
351
|
+
content: /* @__PURE__ */ C(
|
|
352
|
+
oe,
|
|
375
353
|
{
|
|
376
|
-
feature:
|
|
377
|
-
currentIndex:
|
|
354
|
+
feature: t,
|
|
355
|
+
currentIndex: r,
|
|
378
356
|
totalFeatures: a,
|
|
379
|
-
onSkip: () =>
|
|
380
|
-
onExplore: (c) =>
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
setIsClosing: A
|
|
357
|
+
onSkip: () => Z(t),
|
|
358
|
+
onExplore: (c) => D(t, c),
|
|
359
|
+
onPrevious: () => H(t),
|
|
360
|
+
onNext: () => X(t),
|
|
361
|
+
setIsClosing: _
|
|
385
362
|
}
|
|
386
363
|
),
|
|
387
364
|
placement: "bottom-start",
|
|
@@ -391,7 +368,7 @@ const At = ({
|
|
|
391
368
|
hideSkipButton: !0,
|
|
392
369
|
hideFooter: !0,
|
|
393
370
|
offset: 0,
|
|
394
|
-
data: { feature:
|
|
371
|
+
data: { feature: t, isMajor: !0 },
|
|
395
372
|
styles: {
|
|
396
373
|
tooltip: {
|
|
397
374
|
padding: 0,
|
|
@@ -420,72 +397,62 @@ const At = ({
|
|
|
420
397
|
}
|
|
421
398
|
]);
|
|
422
399
|
} else
|
|
423
|
-
|
|
424
|
-
|
|
400
|
+
M(!0), p(o.id), J(!1), B(null), U([]), j(!0), setTimeout(() => {
|
|
401
|
+
M(!1);
|
|
425
402
|
}, 500);
|
|
426
403
|
},
|
|
427
|
-
[
|
|
428
|
-
),
|
|
429
|
-
|
|
404
|
+
[m, s, p]
|
|
405
|
+
), Be = () => {
|
|
406
|
+
s.length > 0 && !m && document.querySelector(
|
|
430
407
|
'[data-testid="whats-new-button"]'
|
|
431
|
-
) &&
|
|
408
|
+
) && de(s[0]);
|
|
432
409
|
};
|
|
433
|
-
|
|
410
|
+
P(() => (window.showMajorUpdatePopup = Be, () => {
|
|
434
411
|
delete window.showMajorUpdatePopup;
|
|
435
|
-
}), [
|
|
436
|
-
const
|
|
437
|
-
(
|
|
438
|
-
const { action: o } =
|
|
439
|
-
o ===
|
|
440
|
-
|
|
441
|
-
}),
|
|
442
|
-
|
|
443
|
-
}, 500)),
|
|
412
|
+
}), [s, m]);
|
|
413
|
+
const ve = S(
|
|
414
|
+
(e) => {
|
|
415
|
+
const { action: o } = e;
|
|
416
|
+
o === pe.CLOSE && (m && (M(!0), s.forEach((n) => {
|
|
417
|
+
p(n.id);
|
|
418
|
+
}), j(!0), setTimeout(() => {
|
|
419
|
+
M(!1);
|
|
420
|
+
}, 500)), J(!1), B(null), U([]));
|
|
444
421
|
},
|
|
445
|
-
[
|
|
446
|
-
),
|
|
447
|
-
(
|
|
448
|
-
const { action: o } =
|
|
449
|
-
o ===
|
|
450
|
-
(
|
|
451
|
-
) ===
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
announcementTitle: s.title,
|
|
455
|
-
imageUrl: s.displayImage || s.image,
|
|
456
|
-
videoUrl: s.productVideo,
|
|
457
|
-
buttonClicked: "Skip",
|
|
458
|
-
buttonName: "Skip",
|
|
459
|
-
buttonUrl: void 0
|
|
460
|
-
}), setTimeout(() => {
|
|
461
|
-
h(!1);
|
|
462
|
-
}, 500)), I(!1), S(null), k([]));
|
|
422
|
+
[m, s, p]
|
|
423
|
+
), Ue = S(
|
|
424
|
+
(e) => {
|
|
425
|
+
const { action: o } = e;
|
|
426
|
+
o === pe.CLOSE && (l && (b(!0), p(l.id), d.findIndex(
|
|
427
|
+
(r) => r.id === l.id
|
|
428
|
+
) === d.length - 1 && F(!0), setTimeout(() => {
|
|
429
|
+
b(!1);
|
|
430
|
+
}, 500)), v(!1), w(null), k([]));
|
|
463
431
|
},
|
|
464
|
-
[
|
|
465
|
-
),
|
|
466
|
-
|
|
467
|
-
const n = o ||
|
|
468
|
-
if (
|
|
432
|
+
[l, d, p]
|
|
433
|
+
), V = async (e, o) => {
|
|
434
|
+
w(e);
|
|
435
|
+
const n = o || d, t = n.findIndex((f) => f.id === e.id), r = n.length, a = e.featureTag.startsWith("#") || e.featureTag.startsWith(".") || e.featureTag.startsWith("[") ? e.featureTag : `#${e.featureTag}`, i = document.querySelector(a);
|
|
436
|
+
if (i)
|
|
469
437
|
try {
|
|
470
|
-
const { scrollToElementSmooth:
|
|
471
|
-
await
|
|
438
|
+
const { scrollToElementSmooth: f } = await import("./utils/elementHelpers.js");
|
|
439
|
+
await f(i, 120);
|
|
472
440
|
} catch {
|
|
473
441
|
}
|
|
474
442
|
k([
|
|
475
443
|
{
|
|
476
444
|
target: a,
|
|
477
|
-
content: /* @__PURE__ */
|
|
478
|
-
|
|
445
|
+
content: /* @__PURE__ */ C(
|
|
446
|
+
ne,
|
|
479
447
|
{
|
|
480
|
-
feature:
|
|
481
|
-
currentIndex:
|
|
482
|
-
totalFeatures:
|
|
483
|
-
onSkip: () =>
|
|
484
|
-
onExplore: (
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
setIsClosing: Q
|
|
448
|
+
feature: e,
|
|
449
|
+
currentIndex: t,
|
|
450
|
+
totalFeatures: r,
|
|
451
|
+
onSkip: () => G(e),
|
|
452
|
+
onExplore: (f) => Y(e, f),
|
|
453
|
+
onPrevious: () => ee(e),
|
|
454
|
+
onNext: () => te(e),
|
|
455
|
+
setIsClosing: A
|
|
489
456
|
}
|
|
490
457
|
),
|
|
491
458
|
placement: "bottom",
|
|
@@ -495,7 +462,7 @@ const At = ({
|
|
|
495
462
|
hideSkipButton: !0,
|
|
496
463
|
hideFooter: !0,
|
|
497
464
|
offset: 0,
|
|
498
|
-
data: { feature:
|
|
465
|
+
data: { feature: e, isMinor: !0 },
|
|
499
466
|
styles: {
|
|
500
467
|
tooltip: {
|
|
501
468
|
padding: 0,
|
|
@@ -522,125 +489,76 @@ const At = ({
|
|
|
522
489
|
}
|
|
523
490
|
}
|
|
524
491
|
}
|
|
525
|
-
]),
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
imageUrl: t.displayImage || t.image,
|
|
530
|
-
videoUrl: t.productVideo
|
|
531
|
-
});
|
|
532
|
-
}, tt = x(
|
|
533
|
-
async (t) => {
|
|
534
|
-
const o = t || s;
|
|
492
|
+
]), v(!0);
|
|
493
|
+
}, G = S(
|
|
494
|
+
async (e) => {
|
|
495
|
+
const o = e || l;
|
|
535
496
|
if (o) {
|
|
536
|
-
|
|
537
|
-
const n =
|
|
538
|
-
(
|
|
497
|
+
b(!0), await p(o.id), Q((t) => new Set(t).add(o.id)), v(!1), w(null), k([]);
|
|
498
|
+
const n = d.find(
|
|
499
|
+
(t) => t.id !== o.id && !N.has(t.id)
|
|
539
500
|
);
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
announcementId: o.id,
|
|
543
|
-
announcementTitle: o.title,
|
|
544
|
-
imageUrl: o.displayImage || o.image,
|
|
545
|
-
videoUrl: o.productVideo,
|
|
546
|
-
buttonClicked: "Skip",
|
|
547
|
-
buttonName: "Skip",
|
|
548
|
-
buttonUrl: void 0
|
|
549
|
-
}), setTimeout(() => {
|
|
550
|
-
h(!1), n ? W(n, l) : M(!0);
|
|
501
|
+
setTimeout(() => {
|
|
502
|
+
b(!1), n ? V(n, d) : F(!0);
|
|
551
503
|
}, 500);
|
|
552
504
|
}
|
|
553
505
|
},
|
|
554
506
|
[
|
|
555
|
-
s,
|
|
556
507
|
l,
|
|
557
|
-
|
|
558
|
-
|
|
508
|
+
d,
|
|
509
|
+
p,
|
|
510
|
+
N
|
|
559
511
|
]
|
|
560
|
-
),
|
|
561
|
-
async (
|
|
562
|
-
|
|
563
|
-
const n = o ??
|
|
564
|
-
if (n === "Play Video" &&
|
|
565
|
-
const
|
|
566
|
-
|
|
512
|
+
), Y = S(
|
|
513
|
+
async (e, o) => {
|
|
514
|
+
b(!0), await p(e.id), Q((r) => new Set(r).add(e.id));
|
|
515
|
+
const n = o ?? e.primaryButton?.action;
|
|
516
|
+
if (n === "Play Video" && e.productVideo && (z(e.productVideo), $(!0), K(!0)), n === "Open link") {
|
|
517
|
+
const r = e.primaryButton?.redirectionUrl || e.redirectUrl;
|
|
518
|
+
r && !r.startsWith("http") && (window.location.href = r);
|
|
567
519
|
}
|
|
568
|
-
|
|
569
|
-
const
|
|
570
|
-
(
|
|
520
|
+
v(!1), w(null), k([]);
|
|
521
|
+
const t = d.find(
|
|
522
|
+
(r) => r.id !== e.id && !N.has(r.id)
|
|
571
523
|
);
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
announcementId: t.id,
|
|
575
|
-
announcementTitle: t.title,
|
|
576
|
-
imageUrl: t.displayImage || t.image,
|
|
577
|
-
videoUrl: t.productVideo,
|
|
578
|
-
buttonClicked: "Primary",
|
|
579
|
-
// Mirrors the rendered button and the navigation target, which both
|
|
580
|
-
// prefer primaryButton over the legacy top-level fields.
|
|
581
|
-
buttonName: t.primaryButton?.text || t.buttonText || "Explore",
|
|
582
|
-
buttonUrl: t.primaryButton?.redirectionUrl || t.redirectUrl || t.productVideo
|
|
583
|
-
}), setTimeout(() => {
|
|
584
|
-
h(!1), e && n !== "Play Video" ? W(e, l) : e || M(!0);
|
|
524
|
+
setTimeout(() => {
|
|
525
|
+
b(!1), t && n !== "Play Video" ? V(t, d) : t || F(!0);
|
|
585
526
|
}, 500);
|
|
586
527
|
},
|
|
587
|
-
[
|
|
588
|
-
),
|
|
589
|
-
async (
|
|
590
|
-
|
|
591
|
-
const n = o ?? t.secondaryButton?.action;
|
|
592
|
-
n === "Play Video" && t.productVideo && (R(t.productVideo), q(!0), _(!0)), I(!1), S(null), k([]);
|
|
593
|
-
const e = l.find(
|
|
594
|
-
(i) => i.id !== t.id && !E.has(i.id)
|
|
595
|
-
);
|
|
596
|
-
y && m && y({
|
|
597
|
-
storeId: m,
|
|
598
|
-
announcementId: t.id,
|
|
599
|
-
announcementTitle: t.title,
|
|
600
|
-
imageUrl: t.displayImage || t.image,
|
|
601
|
-
videoUrl: t.productVideo,
|
|
602
|
-
buttonClicked: "Secondary",
|
|
603
|
-
buttonName: t.secondaryButton?.text || "Secondary",
|
|
604
|
-
buttonUrl: t.secondaryButton?.redirectionUrl
|
|
605
|
-
}), setTimeout(() => {
|
|
606
|
-
h(!1), e && n !== "Play Video" ? W(e, l) : e || M(!0);
|
|
607
|
-
}, 500);
|
|
608
|
-
},
|
|
609
|
-
[l, u, E]
|
|
610
|
-
), nt = x(
|
|
611
|
-
async (t) => {
|
|
612
|
-
const o = t || s;
|
|
528
|
+
[d, p, N]
|
|
529
|
+
), ee = S(
|
|
530
|
+
async (e) => {
|
|
531
|
+
const o = e || l;
|
|
613
532
|
if (!o)
|
|
614
533
|
return;
|
|
615
|
-
const n =
|
|
616
|
-
(
|
|
534
|
+
const n = d.findIndex(
|
|
535
|
+
(t) => t.id === o.id
|
|
617
536
|
);
|
|
618
537
|
if (n > 0) {
|
|
619
|
-
const
|
|
620
|
-
|
|
621
|
-
const
|
|
538
|
+
const t = d[n - 1];
|
|
539
|
+
w(t);
|
|
540
|
+
const r = t.featureTag.startsWith("#") || t.featureTag.startsWith(".") || t.featureTag.startsWith("[") ? t.featureTag : `#${t.featureTag}`, a = document.querySelector(r);
|
|
622
541
|
if (a)
|
|
623
542
|
try {
|
|
624
|
-
const { scrollToElementSmooth:
|
|
625
|
-
await
|
|
543
|
+
const { scrollToElementSmooth: g } = await import("./utils/elementHelpers.js");
|
|
544
|
+
await g(a, 120);
|
|
626
545
|
} catch {
|
|
627
546
|
}
|
|
628
|
-
const
|
|
547
|
+
const i = n - 1, c = d.length;
|
|
629
548
|
k([
|
|
630
549
|
{
|
|
631
|
-
target:
|
|
632
|
-
content: /* @__PURE__ */
|
|
633
|
-
|
|
550
|
+
target: r,
|
|
551
|
+
content: /* @__PURE__ */ C(
|
|
552
|
+
ne,
|
|
634
553
|
{
|
|
635
|
-
feature:
|
|
636
|
-
currentIndex:
|
|
554
|
+
feature: t,
|
|
555
|
+
currentIndex: i,
|
|
637
556
|
totalFeatures: c,
|
|
638
|
-
onSkip: () =>
|
|
639
|
-
onExplore: (
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
setIsClosing: Q
|
|
557
|
+
onSkip: () => G(t),
|
|
558
|
+
onExplore: (g) => Y(t, g),
|
|
559
|
+
onPrevious: () => ee(t),
|
|
560
|
+
onNext: () => te(t),
|
|
561
|
+
setIsClosing: A
|
|
644
562
|
}
|
|
645
563
|
),
|
|
646
564
|
placement: "bottom",
|
|
@@ -650,7 +568,7 @@ const At = ({
|
|
|
650
568
|
hideSkipButton: !0,
|
|
651
569
|
hideFooter: !0,
|
|
652
570
|
offset: 0,
|
|
653
|
-
data: { feature:
|
|
571
|
+
data: { feature: t, isMinor: !0 },
|
|
654
572
|
styles: {
|
|
655
573
|
tooltip: {
|
|
656
574
|
padding: 0,
|
|
@@ -680,41 +598,40 @@ const At = ({
|
|
|
680
598
|
]);
|
|
681
599
|
}
|
|
682
600
|
},
|
|
683
|
-
[
|
|
684
|
-
),
|
|
685
|
-
async (
|
|
686
|
-
const o =
|
|
601
|
+
[l, d]
|
|
602
|
+
), te = S(
|
|
603
|
+
async (e) => {
|
|
604
|
+
const o = e || l;
|
|
687
605
|
if (!o)
|
|
688
606
|
return;
|
|
689
|
-
const n =
|
|
690
|
-
(
|
|
607
|
+
const n = d.findIndex(
|
|
608
|
+
(t) => t.id === o.id
|
|
691
609
|
);
|
|
692
|
-
if (n <
|
|
693
|
-
const
|
|
694
|
-
|
|
695
|
-
const
|
|
610
|
+
if (n < d.length - 1) {
|
|
611
|
+
const t = d[n + 1];
|
|
612
|
+
w(t);
|
|
613
|
+
const r = t.featureTag.startsWith("#") || t.featureTag.startsWith(".") || t.featureTag.startsWith("[") ? t.featureTag : `#${t.featureTag}`, a = document.querySelector(r);
|
|
696
614
|
if (a)
|
|
697
615
|
try {
|
|
698
|
-
const { scrollToElementSmooth:
|
|
699
|
-
await
|
|
616
|
+
const { scrollToElementSmooth: g } = await import("./utils/elementHelpers.js");
|
|
617
|
+
await g(a, 120);
|
|
700
618
|
} catch {
|
|
701
619
|
}
|
|
702
|
-
const
|
|
620
|
+
const i = n + 1, c = d.length;
|
|
703
621
|
k([
|
|
704
622
|
{
|
|
705
|
-
target:
|
|
706
|
-
content: /* @__PURE__ */
|
|
707
|
-
|
|
623
|
+
target: r,
|
|
624
|
+
content: /* @__PURE__ */ C(
|
|
625
|
+
ne,
|
|
708
626
|
{
|
|
709
|
-
feature:
|
|
710
|
-
currentIndex:
|
|
627
|
+
feature: t,
|
|
628
|
+
currentIndex: i,
|
|
711
629
|
totalFeatures: c,
|
|
712
|
-
onSkip: () =>
|
|
713
|
-
onExplore: (
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
setIsClosing: Q
|
|
630
|
+
onSkip: () => G(t),
|
|
631
|
+
onExplore: (g) => Y(t, g),
|
|
632
|
+
onPrevious: () => ee(t),
|
|
633
|
+
onNext: () => te(t),
|
|
634
|
+
setIsClosing: A
|
|
718
635
|
}
|
|
719
636
|
),
|
|
720
637
|
placement: "bottom",
|
|
@@ -724,7 +641,7 @@ const At = ({
|
|
|
724
641
|
hideSkipButton: !0,
|
|
725
642
|
hideFooter: !0,
|
|
726
643
|
offset: 0,
|
|
727
|
-
data: { feature:
|
|
644
|
+
data: { feature: t, isMinor: !0 },
|
|
728
645
|
styles: {
|
|
729
646
|
tooltip: {
|
|
730
647
|
padding: 0,
|
|
@@ -753,23 +670,23 @@ const At = ({
|
|
|
753
670
|
}
|
|
754
671
|
]);
|
|
755
672
|
} else
|
|
756
|
-
|
|
757
|
-
|
|
673
|
+
b(!0), F(!0), p(o.id), v(!1), w(null), k([]), setTimeout(() => {
|
|
674
|
+
b(!1);
|
|
758
675
|
}, 500);
|
|
759
676
|
},
|
|
760
|
-
[
|
|
677
|
+
[l, d, p]
|
|
761
678
|
);
|
|
762
|
-
return /* @__PURE__ */
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
679
|
+
return /* @__PURE__ */ je(Ee, { children: [
|
|
680
|
+
fe,
|
|
681
|
+
se.length > 0 && /* @__PURE__ */ C(
|
|
682
|
+
ce,
|
|
766
683
|
{
|
|
767
|
-
steps:
|
|
768
|
-
run:
|
|
684
|
+
steps: se,
|
|
685
|
+
run: Se,
|
|
769
686
|
continuous: !1,
|
|
770
687
|
showProgress: !1,
|
|
771
688
|
showSkipButton: !1,
|
|
772
|
-
callback:
|
|
689
|
+
callback: ve,
|
|
773
690
|
disableOverlayClose: !1,
|
|
774
691
|
disableCloseOnEsc: !1,
|
|
775
692
|
disableOverlay: !1,
|
|
@@ -779,7 +696,7 @@ const At = ({
|
|
|
779
696
|
primaryColor: "#007bff",
|
|
780
697
|
zIndex: 1e4,
|
|
781
698
|
width: "auto",
|
|
782
|
-
arrowColor:
|
|
699
|
+
arrowColor: Ce ? "transparent" : "#212121"
|
|
783
700
|
},
|
|
784
701
|
overlay: {
|
|
785
702
|
backgroundColor: "transparent"
|
|
@@ -822,17 +739,17 @@ const At = ({
|
|
|
822
739
|
skip: "Skip"
|
|
823
740
|
}
|
|
824
741
|
},
|
|
825
|
-
`major-joyride-${
|
|
742
|
+
`major-joyride-${Te}`
|
|
826
743
|
),
|
|
827
|
-
|
|
828
|
-
|
|
744
|
+
ae.length > 0 && /* @__PURE__ */ C(
|
|
745
|
+
ce,
|
|
829
746
|
{
|
|
830
|
-
steps:
|
|
831
|
-
run:
|
|
747
|
+
steps: ae,
|
|
748
|
+
run: O,
|
|
832
749
|
continuous: !1,
|
|
833
750
|
showProgress: !1,
|
|
834
751
|
showSkipButton: !1,
|
|
835
|
-
callback:
|
|
752
|
+
callback: Ue,
|
|
836
753
|
disableOverlayClose: !1,
|
|
837
754
|
disableCloseOnEsc: !1,
|
|
838
755
|
disableOverlay: !1,
|
|
@@ -844,7 +761,7 @@ const At = ({
|
|
|
844
761
|
primaryColor: "#007bff",
|
|
845
762
|
zIndex: 1e4,
|
|
846
763
|
width: "auto",
|
|
847
|
-
arrowColor:
|
|
764
|
+
arrowColor: le ? "transparent" : "#ffffff"
|
|
848
765
|
},
|
|
849
766
|
overlay: {
|
|
850
767
|
backgroundColor: "transparent"
|
|
@@ -852,7 +769,7 @@ const At = ({
|
|
|
852
769
|
spotlight: {
|
|
853
770
|
backgroundColor: "transparent",
|
|
854
771
|
borderRadius: "8px",
|
|
855
|
-
boxShadow:
|
|
772
|
+
boxShadow: le ? "none" : "0 0 0 9999px rgba(0, 0, 0, 0.4), 0 0 0 3px rgba(255, 255, 255, 0.8), 0 0 20px 8px rgba(255, 255, 255, 0.4)"
|
|
856
773
|
},
|
|
857
774
|
tooltip: {
|
|
858
775
|
borderRadius: "4px",
|
|
@@ -887,27 +804,27 @@ const At = ({
|
|
|
887
804
|
skip: "Skip"
|
|
888
805
|
}
|
|
889
806
|
},
|
|
890
|
-
`minor-joyride-${
|
|
807
|
+
`minor-joyride-${Fe}`
|
|
891
808
|
),
|
|
892
|
-
/* @__PURE__ */
|
|
893
|
-
|
|
809
|
+
/* @__PURE__ */ C(
|
|
810
|
+
Ne,
|
|
894
811
|
{
|
|
895
|
-
isOpen:
|
|
896
|
-
videoUrl:
|
|
812
|
+
isOpen: we,
|
|
813
|
+
videoUrl: ke,
|
|
897
814
|
onClose: () => {
|
|
898
|
-
|
|
899
|
-
const
|
|
900
|
-
(o) => !
|
|
815
|
+
$(!1), z(""), K(!1);
|
|
816
|
+
const e = d.find(
|
|
817
|
+
(o) => !N.has(o.id)
|
|
901
818
|
);
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
}, 300) :
|
|
819
|
+
e ? setTimeout(() => {
|
|
820
|
+
V(e, d);
|
|
821
|
+
}, 300) : F(!0);
|
|
905
822
|
}
|
|
906
823
|
}
|
|
907
824
|
)
|
|
908
825
|
] });
|
|
909
826
|
};
|
|
910
827
|
export {
|
|
911
|
-
|
|
828
|
+
$e as default
|
|
912
829
|
};
|
|
913
830
|
//# sourceMappingURL=FeatureAnnouncementProvider.js.map
|