@frak-labs/components 1.2.3 → 1.2.4-beta.7b604d59
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/README.md +42 -2
- package/cdn/Ambassador.1d5K1OxY.js +320 -0
- package/cdn/Banner.BnzLkajr.js +183 -0
- package/cdn/ButtonShare.B4MdZ4eH.js +1 -0
- package/cdn/ButtonWallet.D9B0abq9.js +40 -0
- package/cdn/GiftIcon.Be-UU58r.js +1 -0
- package/cdn/OpenInAppButton.BaRZ25xH.js +1 -0
- package/cdn/PostPurchase.Cl54N_nH.js +89 -0
- package/cdn/components.js +1 -1
- package/cdn/jsxRuntime.module.CgbYebLx.js +58 -0
- package/cdn/loader.js +1 -1
- package/cdn/qr.Bdg4-2EI.js +5 -0
- package/cdn/replay-V6FXES7X.CgBxdfNp.js +1 -0
- package/cdn/{rewards.0JylBHNY.js → rewards.B_p05JY_.js} +1 -1
- package/cdn/useGlobalComponents.da05dAlQ.js +1 -0
- package/cdn/useLightDomStyles.CkTNHin8.js +1 -0
- package/cdn/usePlacement.b__OilKu.js +1 -0
- package/cdn/useReward.Duy0EWvi.js +1 -0
- package/dist/{GiftIcon-BmGGodb2.js → GiftIcon-DNqgjTjb.js} +1 -4
- package/dist/ambassador.d.ts +165 -0
- package/dist/ambassador.js +1667 -0
- package/dist/banner.js +7 -5
- package/dist/buttonShare.js +5 -4
- package/dist/buttonWallet.js +3 -2
- package/dist/i18n/defaults.d.ts +70 -9
- package/dist/i18n/defaults.js +123 -9
- package/dist/openInApp.js +3 -2
- package/dist/postPurchase.js +6 -4
- package/dist/sharedBaseCss.css-ChRUA1zY.js +5 -0
- package/dist/{usePlacement-iFDQqtJn.js → sharedCss-C9ZC0Pyc.js} +9 -20
- package/dist/{useGlobalComponents-Cj7uGBwD.js → useGlobalComponents-BL-5N4ks.js} +1 -1
- package/dist/{useLightDomStyles-D7bYu-ew.js → useLightDomStyles-DWfNMBBn.js} +1 -1
- package/dist/usePlacement-DHASvxJw.js +21 -0
- package/dist/{useReward-k7RF3DhH.js → useReward-DEhiMfgl.js} +8 -2
- package/package.json +14 -5
- package/cdn/Banner.DUI-0KQP.js +0 -183
- package/cdn/ButtonShare.bYtZAlc0.js +0 -1
- package/cdn/ButtonWallet.ENPAuGPm.js +0 -40
- package/cdn/GiftIcon.pcCM0-Fr.js +0 -1
- package/cdn/OpenInAppButton.BoGl6QtG.js +0 -1
- package/cdn/PostPurchase.DIzXxlPV.js +0 -89
- package/cdn/defaults.tvSp2rcs.js +0 -58
- package/cdn/replay-V6FXES7X.efKsNT6s.js +0 -1
- package/cdn/useGlobalComponents.DKsas1_6.js +0 -1
- package/cdn/useLightDomStyles.DrKjTWoi.js +0 -1
- package/cdn/useReward.DwuOhcD2.js +0 -1
|
@@ -0,0 +1,1667 @@
|
|
|
1
|
+
import { a as useClientReady, o as registerWebComponent, r as useLang, s as openSharingPage } from "./sharedCss-C9ZC0Pyc.js";
|
|
2
|
+
import { i as w } from "./rewards-DoVY1pWr.js";
|
|
3
|
+
import { t as useGlobalComponents } from "./useGlobalComponents-BL-5N4ks.js";
|
|
4
|
+
import { t as useLightDomStyles } from "./useLightDomStyles-DWfNMBBn.js";
|
|
5
|
+
import { t as useReward } from "./useReward-DEhiMfgl.js";
|
|
6
|
+
import { componentDefaults } from "./i18n/defaults.js";
|
|
7
|
+
import { t as cssSource$2 } from "./sharedBaseCss.css-ChRUA1zY.js";
|
|
8
|
+
import { getInstallUrl } from "@frak-labs/core-sdk/actions";
|
|
9
|
+
import { useCallback, useEffect, useMemo, useRef, useState } from "preact/hooks";
|
|
10
|
+
import { Fragment, jsx, jsxs } from "preact/jsx-runtime";
|
|
11
|
+
//#region src/hooks/useHostTheme.ts
|
|
12
|
+
const QUIET_BORDER_DISTANCE = 120;
|
|
13
|
+
const FLAT_FILL_DISTANCE = 30;
|
|
14
|
+
const READABLE_CONTRAST = 3;
|
|
15
|
+
const WIDGET_WORDS = /cookie|consent|newsletter|popup|modal|sr-only|visually-hidden|skip-to/i;
|
|
16
|
+
const CHROME = "header,nav,[role=banner]";
|
|
17
|
+
const LOGO_HINT = /logo|brand|site-title|wordmark/i;
|
|
18
|
+
const CLIPPING_OVERFLOW = /* @__PURE__ */ new Set([
|
|
19
|
+
"hidden",
|
|
20
|
+
"clip",
|
|
21
|
+
"auto",
|
|
22
|
+
"scroll"
|
|
23
|
+
]);
|
|
24
|
+
function alphaOf(value) {
|
|
25
|
+
const slash = /\/\s*([\d.]+)(%?)\s*\)/.exec(value);
|
|
26
|
+
if (slash) return Number(slash[1]) / (slash[2] ? 100 : 1);
|
|
27
|
+
const parts = value.match(/[\d.]+/g);
|
|
28
|
+
if (!parts) return 0;
|
|
29
|
+
if (/^rgba/.test(value) && parts.length >= 4) return Number(parts[3]);
|
|
30
|
+
return 1;
|
|
31
|
+
}
|
|
32
|
+
function isTransparent(value) {
|
|
33
|
+
if (!value || value === "transparent") return true;
|
|
34
|
+
return /^(rgba?|color)\(/.test(value) && alphaOf(value) === 0;
|
|
35
|
+
}
|
|
36
|
+
function rgbOf(value) {
|
|
37
|
+
const parts = (value.match(/[\d.]+/g) ?? []).map(Number);
|
|
38
|
+
if (!/^(rgba?\(|color\(srgb )/.test(value) || parts.length < 3) return [
|
|
39
|
+
NaN,
|
|
40
|
+
NaN,
|
|
41
|
+
NaN
|
|
42
|
+
];
|
|
43
|
+
const scale = /^color\(/.test(value) ? 255 : 1;
|
|
44
|
+
return [
|
|
45
|
+
parts[0] * scale,
|
|
46
|
+
parts[1] * scale,
|
|
47
|
+
parts[2] * scale
|
|
48
|
+
];
|
|
49
|
+
}
|
|
50
|
+
function colourDistance(a, b) {
|
|
51
|
+
const [r1, g1, b1] = rgbOf(a);
|
|
52
|
+
const [r2, g2, b2] = rgbOf(b);
|
|
53
|
+
return Math.hypot(r1 - r2, g1 - g2, b1 - b2);
|
|
54
|
+
}
|
|
55
|
+
function luminance(value) {
|
|
56
|
+
const channel = (v) => {
|
|
57
|
+
const s = v / 255;
|
|
58
|
+
return s <= .03928 ? s / 12.92 : ((s + .055) / 1.055) ** 2.4;
|
|
59
|
+
};
|
|
60
|
+
const [r, g, b] = rgbOf(value);
|
|
61
|
+
return .2126 * channel(r) + .7152 * channel(g) + .0722 * channel(b);
|
|
62
|
+
}
|
|
63
|
+
function contrastRatio(a, b) {
|
|
64
|
+
const [hi, lo] = [luminance(a), luminance(b)].sort((x, y) => y - x);
|
|
65
|
+
return (hi + .05) / (lo + .05);
|
|
66
|
+
}
|
|
67
|
+
function composite(fg, bg) {
|
|
68
|
+
const alpha = alphaOf(fg);
|
|
69
|
+
if (alpha >= 1) return fg;
|
|
70
|
+
const [r1, g1, b1] = rgbOf(fg);
|
|
71
|
+
const [r2, g2, b2] = rgbOf(bg);
|
|
72
|
+
const mix = (x, y) => x * alpha + y * (1 - alpha);
|
|
73
|
+
return `rgb(${mix(r1, r2)}, ${mix(g1, g2)}, ${mix(b1, b2)})`;
|
|
74
|
+
}
|
|
75
|
+
function pageBackground() {
|
|
76
|
+
let node = document.body;
|
|
77
|
+
while (node) {
|
|
78
|
+
const bg = getComputedStyle(node).backgroundColor;
|
|
79
|
+
if (!isTransparent(bg)) return bg;
|
|
80
|
+
node = node.parentElement;
|
|
81
|
+
}
|
|
82
|
+
return "rgb(255, 255, 255)";
|
|
83
|
+
}
|
|
84
|
+
function names(el) {
|
|
85
|
+
return `${el.getAttribute("class") ?? ""} ${el.id}`;
|
|
86
|
+
}
|
|
87
|
+
function inCartForm(el) {
|
|
88
|
+
return el.closest("form[action*=\"/cart\"], form[action*=\"/panier\"]") !== null;
|
|
89
|
+
}
|
|
90
|
+
function inSignupForm(el) {
|
|
91
|
+
const form = el.closest("form");
|
|
92
|
+
if (!form || inCartForm(el)) return false;
|
|
93
|
+
return form.querySelector("input[type=\"email\"], input[name*=\"email\" i]") !== null;
|
|
94
|
+
}
|
|
95
|
+
function isOverlayBox(el) {
|
|
96
|
+
const role = el.getAttribute("role");
|
|
97
|
+
if (el.tagName === "DIALOG" || role === "dialog" || role === "alertdialog") return true;
|
|
98
|
+
if (el.getAttribute("aria-modal") === "true") return true;
|
|
99
|
+
return getComputedStyle(el).position === "fixed";
|
|
100
|
+
}
|
|
101
|
+
function insideWidget(el) {
|
|
102
|
+
if (inSignupForm(el)) return true;
|
|
103
|
+
const cart = inCartForm(el);
|
|
104
|
+
let node = el;
|
|
105
|
+
while (node && node !== document.body) {
|
|
106
|
+
if (WIDGET_WORDS.test(names(node))) return true;
|
|
107
|
+
if (!cart && isOverlayBox(node)) return true;
|
|
108
|
+
node = node.parentElement;
|
|
109
|
+
}
|
|
110
|
+
return false;
|
|
111
|
+
}
|
|
112
|
+
function backdropOf(el) {
|
|
113
|
+
let node = el.parentElement;
|
|
114
|
+
while (node) {
|
|
115
|
+
const bg = getComputedStyle(node).backgroundColor;
|
|
116
|
+
if (!isTransparent(bg)) return bg;
|
|
117
|
+
node = node.parentElement;
|
|
118
|
+
}
|
|
119
|
+
return pageBackground();
|
|
120
|
+
}
|
|
121
|
+
function isClippedAway(el, rect) {
|
|
122
|
+
let node = el.parentElement;
|
|
123
|
+
while (node) {
|
|
124
|
+
const style = getComputedStyle(node);
|
|
125
|
+
if (CLIPPING_OVERFLOW.has(style.overflow) || CLIPPING_OVERFLOW.has(style.overflowX) || CLIPPING_OVERFLOW.has(style.overflowY)) {
|
|
126
|
+
const clip = node.getBoundingClientRect();
|
|
127
|
+
if (rect.bottom <= clip.top || rect.top >= clip.bottom || rect.right <= clip.left || rect.left >= clip.right) return true;
|
|
128
|
+
}
|
|
129
|
+
node = node.parentElement;
|
|
130
|
+
}
|
|
131
|
+
return false;
|
|
132
|
+
}
|
|
133
|
+
function isOnScreen(el) {
|
|
134
|
+
const rect = el.getBoundingClientRect();
|
|
135
|
+
if (rect.right <= 0 || rect.left >= window.innerWidth) return false;
|
|
136
|
+
return !isClippedAway(el, rect);
|
|
137
|
+
}
|
|
138
|
+
function isBrandButton(el) {
|
|
139
|
+
if (insideWidget(el)) return false;
|
|
140
|
+
if (el.offsetWidth < 80 || el.offsetHeight < 20) return false;
|
|
141
|
+
if (!isOnScreen(el)) return false;
|
|
142
|
+
const style = getComputedStyle(el);
|
|
143
|
+
if (style.visibility === "hidden") return false;
|
|
144
|
+
if (isTransparent(style.backgroundColor)) return false;
|
|
145
|
+
const backdrop = backdropOf(el);
|
|
146
|
+
return colourDistance(composite(style.backgroundColor, backdrop), backdrop) > FLAT_FILL_DISTANCE;
|
|
147
|
+
}
|
|
148
|
+
function findPrimaryButton(page) {
|
|
149
|
+
const cartSubmit = document.querySelector("form[action*=\"/cart/add\"] [type=\"submit\"], form[action*=\"/cart\"] button[type=\"submit\"]");
|
|
150
|
+
if (cartSubmit && !page.contains(cartSubmit) && isBrandButton(cartSubmit)) return cartSubmit;
|
|
151
|
+
return Array.from(document.querySelectorAll("button, .btn, [type=\"submit\"], a.button, a.wp-block-button__link, a.et_pb_button")).filter((el) => !page.contains(el) && isBrandButton(el)).sort((a, b) => b.offsetWidth * b.offsetHeight - a.offsetWidth * a.offsetHeight)[0];
|
|
152
|
+
}
|
|
153
|
+
function isQuietContainer(el, page, pageBg) {
|
|
154
|
+
if (page.contains(el)) return false;
|
|
155
|
+
const rect = el.getBoundingClientRect();
|
|
156
|
+
if (rect.width < 120 || rect.height < 60) return false;
|
|
157
|
+
if (rect.width * rect.height > 5e5) return false;
|
|
158
|
+
const style = getComputedStyle(el);
|
|
159
|
+
if (style.position === "fixed" || style.position === "sticky") return false;
|
|
160
|
+
const bordered = Number.parseFloat(style.borderTopWidth) > 0 && !isTransparent(style.borderTopColor);
|
|
161
|
+
const filled = !isTransparent(style.backgroundColor) && style.backgroundColor !== pageBg;
|
|
162
|
+
if (!bordered && !filled) return false;
|
|
163
|
+
return !bordered || colourDistance(style.borderTopColor, pageBg) <= QUIET_BORDER_DISTANCE;
|
|
164
|
+
}
|
|
165
|
+
function sampleCardRadius(page) {
|
|
166
|
+
const pageBg = pageBackground();
|
|
167
|
+
const tally = /* @__PURE__ */ new Map();
|
|
168
|
+
for (const el of document.querySelectorAll("div,section,article,li,label")) {
|
|
169
|
+
if (!isQuietContainer(el, page, pageBg)) continue;
|
|
170
|
+
const radius = getComputedStyle(el).borderTopLeftRadius;
|
|
171
|
+
tally.set(radius, (tally.get(radius) ?? 0) + 1);
|
|
172
|
+
}
|
|
173
|
+
return Array.from(tally).sort((a, b) => b[1] - a[1])[0]?.[0];
|
|
174
|
+
}
|
|
175
|
+
function isContentHeading(el) {
|
|
176
|
+
if (el.closest(CHROME)) return false;
|
|
177
|
+
return !LOGO_HINT.test(`${el.className} ${el.id}`);
|
|
178
|
+
}
|
|
179
|
+
function hostElement(page, selector) {
|
|
180
|
+
const theirs = Array.from(document.querySelectorAll(selector)).filter((el) => !page.contains(el));
|
|
181
|
+
return theirs.filter((el) => el.offsetHeight > 0).find(isContentHeading) ?? theirs.find(isContentHeading);
|
|
182
|
+
}
|
|
183
|
+
const MAX_SIZE = {
|
|
184
|
+
h1: "3.2em",
|
|
185
|
+
h2: "2em"
|
|
186
|
+
};
|
|
187
|
+
function typographyOf(el, role, backdrop, withColour) {
|
|
188
|
+
if (!el) return [];
|
|
189
|
+
const s = getComputedStyle(el);
|
|
190
|
+
const max = MAX_SIZE[role];
|
|
191
|
+
const knobs = [
|
|
192
|
+
[`${role}-size`, max ? `min(${s.fontSize}, ${max})` : s.fontSize],
|
|
193
|
+
[`${role}-weight`, s.fontWeight],
|
|
194
|
+
[`${role}-spacing`, s.letterSpacing]
|
|
195
|
+
];
|
|
196
|
+
const readable = contrastRatio(composite(s.color, backdrop), backdrop) >= READABLE_CONTRAST;
|
|
197
|
+
if (withColour && readable) knobs.push([`${role}-color`, s.color]);
|
|
198
|
+
return knobs;
|
|
199
|
+
}
|
|
200
|
+
function sampleTheme(page) {
|
|
201
|
+
const pageBg = pageBackground();
|
|
202
|
+
const button = findPrimaryButton(page);
|
|
203
|
+
return {
|
|
204
|
+
backdrop: backdropOf(page),
|
|
205
|
+
buttonBg: button ? getComputedStyle(button).backgroundColor : pageBg,
|
|
206
|
+
h1: hostElement(page, "h1"),
|
|
207
|
+
h2: hostElement(page, "h2"),
|
|
208
|
+
button,
|
|
209
|
+
radius: sampleCardRadius(page)
|
|
210
|
+
};
|
|
211
|
+
}
|
|
212
|
+
function knobsFrom(source) {
|
|
213
|
+
const knobs = [
|
|
214
|
+
...typographyOf(source.h1, "h1", source.backdrop, true),
|
|
215
|
+
...typographyOf(source.h2, "h2", source.backdrop, true),
|
|
216
|
+
...typographyOf(source.button, "cta", source.buttonBg, false)
|
|
217
|
+
];
|
|
218
|
+
if (source.radius) knobs.push(["radius", source.radius]);
|
|
219
|
+
if (source.button) {
|
|
220
|
+
const from = getComputedStyle(source.button);
|
|
221
|
+
knobs.push(["accent", from.backgroundColor], ["accent-ink", from.color], ["cta-radius", from.borderRadius.split(" ")[0]], ["cta-transform", from.textTransform]);
|
|
222
|
+
if (!(contrastRatio(composite(from.backgroundColor, source.backdrop), source.backdrop) >= READABLE_CONTRAST)) knobs.push(["accent-text", "currentColor"]);
|
|
223
|
+
}
|
|
224
|
+
return knobs;
|
|
225
|
+
}
|
|
226
|
+
function knobsSignature(knobs) {
|
|
227
|
+
return knobs.map(([name, value]) => `${name}=${value}`).sort().join("|");
|
|
228
|
+
}
|
|
229
|
+
function writeKnobs(anchor, knobs) {
|
|
230
|
+
const current = getComputedStyle(anchor);
|
|
231
|
+
const merchantSet = new Set(knobs.map(([name]) => name).filter((name) => current.getPropertyValue(`--frak-amb-${name}`).trim()));
|
|
232
|
+
for (const [name, value] of knobs) {
|
|
233
|
+
if (!value || isTransparent(value)) continue;
|
|
234
|
+
if (merchantSet.has(name)) continue;
|
|
235
|
+
if (name === "accent-text" && merchantSet.has("accent")) continue;
|
|
236
|
+
anchor.style.setProperty(`--frak-amb-${name}`, value);
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
function nextFrame() {
|
|
240
|
+
return new Promise((resolve) => {
|
|
241
|
+
requestAnimationFrame(() => resolve());
|
|
242
|
+
});
|
|
243
|
+
}
|
|
244
|
+
async function settled() {
|
|
245
|
+
if (document.fonts?.ready) await document.fonts.ready;
|
|
246
|
+
await nextFrame();
|
|
247
|
+
}
|
|
248
|
+
function useHostTheme(target) {
|
|
249
|
+
useEffect(() => {
|
|
250
|
+
let cancelled = false;
|
|
251
|
+
const run = async () => {
|
|
252
|
+
try {
|
|
253
|
+
await settled();
|
|
254
|
+
if (cancelled) return;
|
|
255
|
+
const anchor = target.current;
|
|
256
|
+
if (!anchor) return;
|
|
257
|
+
const first = knobsFrom(sampleTheme(anchor));
|
|
258
|
+
await nextFrame();
|
|
259
|
+
if (cancelled) return;
|
|
260
|
+
const second = knobsFrom(sampleTheme(anchor));
|
|
261
|
+
if (knobsSignature(first) !== knobsSignature(second)) return;
|
|
262
|
+
writeKnobs(anchor, first);
|
|
263
|
+
} catch {}
|
|
264
|
+
};
|
|
265
|
+
run();
|
|
266
|
+
return () => {
|
|
267
|
+
cancelled = true;
|
|
268
|
+
};
|
|
269
|
+
}, [target]);
|
|
270
|
+
}
|
|
271
|
+
//#endregion
|
|
272
|
+
//#region \0ve-inline:src/components/Ambassador/Ambassador.css.ts.vanilla.js
|
|
273
|
+
const cssSource$1 = `.Ambassador_panel__awpcg00 {
|
|
274
|
+
background-color: var(--frak-amb-surface, rgba(17,17,17,.04));
|
|
275
|
+
border: 1px solid var(--frak-amb-border, rgba(17,17,17,.15));
|
|
276
|
+
border-radius: var(--frak-amb-radius, 12px);
|
|
277
|
+
}
|
|
278
|
+
.Ambassador_root__awpcg01 {
|
|
279
|
+
display: flex;
|
|
280
|
+
flex-direction: column;
|
|
281
|
+
gap: clamp(3em, 7vw, 5.5em);
|
|
282
|
+
width: 100%;
|
|
283
|
+
max-width: 100%;
|
|
284
|
+
box-sizing: border-box;
|
|
285
|
+
}
|
|
286
|
+
.Ambassador_ctaButton__awpcg02 {
|
|
287
|
+
display: inline-flex;
|
|
288
|
+
align-items: center;
|
|
289
|
+
justify-content: center;
|
|
290
|
+
padding: 0.95em 2em;
|
|
291
|
+
border-radius: var(--frak-amb-cta-radius, 999px);
|
|
292
|
+
background-color: var(--frak-amb-cta-bg, var(--frak-amb-accent, #111));
|
|
293
|
+
color: var(--frak-amb-accent-ink, #fff);
|
|
294
|
+
font-size: var(--frak-amb-cta-size, 0.9em);
|
|
295
|
+
font-weight: var(--frak-amb-cta-weight, 700);
|
|
296
|
+
letter-spacing: var(--frak-amb-cta-spacing, 0.06em);
|
|
297
|
+
text-transform: var(--frak-amb-cta-transform, uppercase);
|
|
298
|
+
text-decoration: none;
|
|
299
|
+
cursor: pointer;
|
|
300
|
+
}
|
|
301
|
+
.Ambassador_ctaButton__awpcg02:hover {
|
|
302
|
+
opacity: 0.85;
|
|
303
|
+
}
|
|
304
|
+
.Ambassador_ctaButton__awpcg02:disabled {
|
|
305
|
+
opacity: 0.5;
|
|
306
|
+
cursor: default;
|
|
307
|
+
}
|
|
308
|
+
.Ambassador_ctaButton__awpcg02:focus-visible {
|
|
309
|
+
outline-color: #000;
|
|
310
|
+
box-shadow: 0 0 0 2px #fff;
|
|
311
|
+
}
|
|
312
|
+
.Ambassador_region__awpcg03 {
|
|
313
|
+
display: grid;
|
|
314
|
+
gap: 0.85em;
|
|
315
|
+
align-content: start;
|
|
316
|
+
min-width: 0;
|
|
317
|
+
margin: 0;
|
|
318
|
+
}
|
|
319
|
+
.Ambassador_centeredRegion__awpcg04 {
|
|
320
|
+
justify-items: center;
|
|
321
|
+
text-align: center;
|
|
322
|
+
}
|
|
323
|
+
.Ambassador_regionTitle__awpcg05 {
|
|
324
|
+
margin: 0;
|
|
325
|
+
font-size: var(--frak-amb-h2-size, clamp(1.4em, 2.6vw, 2em));
|
|
326
|
+
line-height: 1.2;
|
|
327
|
+
font-weight: var(--frak-amb-h2-weight, inherit);
|
|
328
|
+
letter-spacing: var(--frak-amb-h2-spacing, normal);
|
|
329
|
+
color: var(--frak-amb-h2-color, inherit);
|
|
330
|
+
}
|
|
331
|
+
.Ambassador_lede__awpcg06 {
|
|
332
|
+
margin: 0;
|
|
333
|
+
max-width: 52ch;
|
|
334
|
+
opacity: 0.75;
|
|
335
|
+
}
|
|
336
|
+
.Ambassador_mutedSmall__awpcg07 {
|
|
337
|
+
margin: 0;
|
|
338
|
+
font-size: 0.85em;
|
|
339
|
+
opacity: 0.7;
|
|
340
|
+
}
|
|
341
|
+
.Ambassador_muted__awpcg08 {
|
|
342
|
+
margin: 0;
|
|
343
|
+
opacity: 0.7;
|
|
344
|
+
}
|
|
345
|
+
.Ambassador_card__awpcg09 {
|
|
346
|
+
display: grid;
|
|
347
|
+
gap: 0.5em;
|
|
348
|
+
align-content: start;
|
|
349
|
+
padding: 1.4em;
|
|
350
|
+
}
|
|
351
|
+
.Ambassador_amountUnit__awpcg0a {
|
|
352
|
+
font-size: 0.32em;
|
|
353
|
+
font-weight: 700;
|
|
354
|
+
letter-spacing: normal;
|
|
355
|
+
}
|
|
356
|
+
.Ambassador_amountWords__awpcg0b {
|
|
357
|
+
display: inline-block;
|
|
358
|
+
font-size: 0.45em;
|
|
359
|
+
line-height: 1.1;
|
|
360
|
+
letter-spacing: -0.02em;
|
|
361
|
+
}
|
|
362
|
+
.Ambassador_bigFigure__awpcg0c {
|
|
363
|
+
font-weight: 800;
|
|
364
|
+
line-height: 0.85;
|
|
365
|
+
letter-spacing: -0.04em;
|
|
366
|
+
color: var(--frak-amb-accent-text, var(--frak-amb-accent, #111));
|
|
367
|
+
}
|
|
368
|
+
.Ambassador_hero__awpcg0d {
|
|
369
|
+
gap: 2.5em;
|
|
370
|
+
grid-template-columns: repeat(auto-fit, minmax(min(18em, 100%), 1fr));
|
|
371
|
+
align-items: center;
|
|
372
|
+
}
|
|
373
|
+
.Ambassador_heroBody__awpcg0e {
|
|
374
|
+
display: grid;
|
|
375
|
+
gap: 1em;
|
|
376
|
+
align-content: start;
|
|
377
|
+
justify-items: start;
|
|
378
|
+
min-width: 0;
|
|
379
|
+
}
|
|
380
|
+
.Ambassador_heroTitle__awpcg0f {
|
|
381
|
+
margin: 0;
|
|
382
|
+
font-size: var(--frak-amb-h1-size, clamp(2em, 4.6vw, 3.2em));
|
|
383
|
+
line-height: 1.1;
|
|
384
|
+
font-weight: var(--frak-amb-h1-weight, inherit);
|
|
385
|
+
letter-spacing: var(--frak-amb-h1-spacing, normal);
|
|
386
|
+
color: var(--frak-amb-h1-color, inherit);
|
|
387
|
+
}
|
|
388
|
+
.Ambassador_heroArt__awpcg0g {
|
|
389
|
+
position: relative;
|
|
390
|
+
display: grid;
|
|
391
|
+
place-items: center;
|
|
392
|
+
padding: 1em;
|
|
393
|
+
background: var(--frak-amb-image, none) center/cover;
|
|
394
|
+
}
|
|
395
|
+
.Ambassador_heroArtFramed__awpcg0h {
|
|
396
|
+
aspect-ratio: 4 / 5;
|
|
397
|
+
align-content: end;
|
|
398
|
+
}
|
|
399
|
+
.Ambassador_heroImage__awpcg0i {
|
|
400
|
+
position: absolute;
|
|
401
|
+
inset: 0;
|
|
402
|
+
object-fit: cover;
|
|
403
|
+
width: 100% !important;
|
|
404
|
+
height: 100% !important;
|
|
405
|
+
max-width: none !important;
|
|
406
|
+
margin: 0 !important;
|
|
407
|
+
border: 0 !important;
|
|
408
|
+
border-radius: var(--frak-amb-radius, 12px) !important;
|
|
409
|
+
}
|
|
410
|
+
.Ambassador_heroTag__awpcg0j {
|
|
411
|
+
position: relative;
|
|
412
|
+
display: flex;
|
|
413
|
+
flex-wrap: wrap;
|
|
414
|
+
align-items: center;
|
|
415
|
+
gap: 0.75em;
|
|
416
|
+
box-sizing: border-box;
|
|
417
|
+
width: 100%;
|
|
418
|
+
padding: 0.9em 1em;
|
|
419
|
+
border-radius: var(--frak-amb-radius, 12px);
|
|
420
|
+
background-color: var(--frak-amb-tag-bg, #fff);
|
|
421
|
+
text-align: start;
|
|
422
|
+
}
|
|
423
|
+
.Ambassador_heroTagMain__awpcg0k {
|
|
424
|
+
display: grid;
|
|
425
|
+
}
|
|
426
|
+
.Ambassador_heroAmount__awpcg0l {
|
|
427
|
+
font-size: 1.4em;
|
|
428
|
+
line-height: 1.1;
|
|
429
|
+
color: var(--frak-amb-accent-text, var(--frak-amb-accent, #111));
|
|
430
|
+
}
|
|
431
|
+
.Ambassador_heroRewardCaption__awpcg0m {
|
|
432
|
+
font-size: 0.8em;
|
|
433
|
+
opacity: 0.7;
|
|
434
|
+
}
|
|
435
|
+
.Ambassador_heroPill__awpcg0n {
|
|
436
|
+
margin-inline-start: auto;
|
|
437
|
+
padding: 0.45em 0.8em;
|
|
438
|
+
border-radius: var(--frak-amb-cta-radius, 999px);
|
|
439
|
+
background-color: var(--frak-amb-accent, #111);
|
|
440
|
+
color: var(--frak-amb-accent-ink, #fff);
|
|
441
|
+
font-size: 0.72em;
|
|
442
|
+
font-weight: 700;
|
|
443
|
+
letter-spacing: 0.04em;
|
|
444
|
+
}
|
|
445
|
+
.Ambassador_rewardHeading__awpcg0o {
|
|
446
|
+
font-size: 1em;
|
|
447
|
+
}
|
|
448
|
+
.Ambassador_rewardHeadingText__awpcg0p {
|
|
449
|
+
font-size: var(--frak-amb-h2-size, clamp(1.4em, 2.6vw, 2em));
|
|
450
|
+
}
|
|
451
|
+
.Ambassador_rewardAmount__awpcg0q {
|
|
452
|
+
display: block;
|
|
453
|
+
margin-block-end: 0.12em;
|
|
454
|
+
font-size: clamp(3.5em, 14vw, 7em);
|
|
455
|
+
}
|
|
456
|
+
.Ambassador_stepsGrid__awpcg0r {
|
|
457
|
+
display: grid;
|
|
458
|
+
gap: 1.25em;
|
|
459
|
+
grid-template-columns: repeat(auto-fit, minmax(min(15em, 100%), 1fr));
|
|
460
|
+
}
|
|
461
|
+
.Ambassador_stepNumber__awpcg0s {
|
|
462
|
+
display: grid;
|
|
463
|
+
place-items: center;
|
|
464
|
+
inline-size: 1.9em;
|
|
465
|
+
block-size: 1.9em;
|
|
466
|
+
margin: 0;
|
|
467
|
+
border-radius: var(--frak-amb-cta-radius, 999px);
|
|
468
|
+
background-color: var(--frak-amb-accent, #111);
|
|
469
|
+
color: var(--frak-amb-accent-ink, #fff);
|
|
470
|
+
font-size: 0.9em;
|
|
471
|
+
font-weight: 700;
|
|
472
|
+
}
|
|
473
|
+
.Ambassador_stepIcon__awpcg0t {
|
|
474
|
+
width: 40px;
|
|
475
|
+
height: 40px;
|
|
476
|
+
object-fit: contain;
|
|
477
|
+
}
|
|
478
|
+
.Ambassador_stepTitle__awpcg0u {
|
|
479
|
+
margin: 0;
|
|
480
|
+
font-size: 1.05em;
|
|
481
|
+
line-height: 1.3;
|
|
482
|
+
}
|
|
483
|
+
.Ambassador_winWinCards__awpcg0v {
|
|
484
|
+
display: grid;
|
|
485
|
+
gap: 1.25em;
|
|
486
|
+
grid-template-columns: repeat(auto-fit, minmax(min(15em, 100%), 1fr));
|
|
487
|
+
width: 100%;
|
|
488
|
+
max-width: 40em;
|
|
489
|
+
}
|
|
490
|
+
.Ambassador_winWinCard__awpcg0w {
|
|
491
|
+
justify-items: center;
|
|
492
|
+
text-align: center;
|
|
493
|
+
}
|
|
494
|
+
.Ambassador_winWinCardAmount__awpcg0x {
|
|
495
|
+
margin: 0;
|
|
496
|
+
font-size: clamp(2em, 6vw, 3em);
|
|
497
|
+
}
|
|
498
|
+
.Ambassador_referralCta__awpcg0y {
|
|
499
|
+
justify-self: start;
|
|
500
|
+
}
|
|
501
|
+
.Ambassador_store__awpcg0z {
|
|
502
|
+
display: grid;
|
|
503
|
+
gap: 1.75em;
|
|
504
|
+
grid-template-columns: repeat(auto-fit, minmax(min(14em, 100%), 1fr));
|
|
505
|
+
align-items: center;
|
|
506
|
+
padding: 1.75em;
|
|
507
|
+
}
|
|
508
|
+
.Ambassador_storeBody__awpcg010 {
|
|
509
|
+
display: grid;
|
|
510
|
+
gap: 0.75em;
|
|
511
|
+
align-content: start;
|
|
512
|
+
min-width: 0;
|
|
513
|
+
}
|
|
514
|
+
.Ambassador_storeQr__awpcg011 {
|
|
515
|
+
display: grid;
|
|
516
|
+
justify-items: center;
|
|
517
|
+
gap: 0.5em;
|
|
518
|
+
margin: 0;
|
|
519
|
+
text-align: center;
|
|
520
|
+
}
|
|
521
|
+
.Ambassador_storeBadges__awpcg012 {
|
|
522
|
+
display: flex;
|
|
523
|
+
flex-wrap: wrap;
|
|
524
|
+
align-items: center;
|
|
525
|
+
gap: 0.75em;
|
|
526
|
+
}
|
|
527
|
+
.Ambassador_storeBadge__awpcg013 {
|
|
528
|
+
display: inline-flex;
|
|
529
|
+
align-items: center;
|
|
530
|
+
text-decoration: none;
|
|
531
|
+
background-color: #000 !important;
|
|
532
|
+
color: #fff !important;
|
|
533
|
+
border-radius: 8px;
|
|
534
|
+
overflow: hidden;
|
|
535
|
+
line-height: 0;
|
|
536
|
+
}
|
|
537
|
+
.Ambassador_storeBadge__awpcg013:focus-visible {
|
|
538
|
+
outline-color: #000;
|
|
539
|
+
box-shadow: 0 0 0 2px #fff;
|
|
540
|
+
}
|
|
541
|
+
.Ambassador_storeBadgeArt__awpcg014 {
|
|
542
|
+
display: block;
|
|
543
|
+
width: auto !important;
|
|
544
|
+
height: 40px !important;
|
|
545
|
+
max-width: none !important;
|
|
546
|
+
margin: 0 !important;
|
|
547
|
+
border: 0 !important;
|
|
548
|
+
border-radius: 0 !important;
|
|
549
|
+
}
|
|
550
|
+
.Ambassador_faqItem__awpcg015 {
|
|
551
|
+
padding: 0.9em 0;
|
|
552
|
+
border-bottom: 1px solid var(--frak-amb-border, rgba(17,17,17,.15));
|
|
553
|
+
}
|
|
554
|
+
.Ambassador_faqQuestion__awpcg016 {
|
|
555
|
+
cursor: pointer;
|
|
556
|
+
font-weight: 700;
|
|
557
|
+
list-style: none;
|
|
558
|
+
}
|
|
559
|
+
.Ambassador_faqQuestion__awpcg016::-webkit-details-marker {
|
|
560
|
+
display: none;
|
|
561
|
+
}
|
|
562
|
+
.Ambassador_faqQuestion__awpcg016::after {
|
|
563
|
+
content: "+";
|
|
564
|
+
float: right;
|
|
565
|
+
margin-inline-start: 1em;
|
|
566
|
+
color: var(--frak-amb-accent-text, var(--frak-amb-accent, #111));
|
|
567
|
+
font-weight: 700;
|
|
568
|
+
}
|
|
569
|
+
.Ambassador_faqItem__awpcg015[open] .Ambassador_faqQuestion__awpcg016::after {
|
|
570
|
+
content: "–";
|
|
571
|
+
}
|
|
572
|
+
.Ambassador_faqAnswer__awpcg017 {
|
|
573
|
+
margin: 0.6em 0 0;
|
|
574
|
+
opacity: 0.75;
|
|
575
|
+
}
|
|
576
|
+
.Ambassador_faqAttribution__awpcg018 {
|
|
577
|
+
text-align: center;
|
|
578
|
+
}
|
|
579
|
+
.Ambassador_frakLink__awpcg019 {
|
|
580
|
+
color: inherit;
|
|
581
|
+
text-decoration: underline;
|
|
582
|
+
text-underline-offset: 0.15em;
|
|
583
|
+
}
|
|
584
|
+
@supports (color: color-mix(in srgb, red 4%, transparent)) {
|
|
585
|
+
.Ambassador_panel__awpcg00 {
|
|
586
|
+
background-color: var(--frak-amb-surface, color-mix(in srgb, var(--frak-amb-accent, #111) 4%, transparent));
|
|
587
|
+
border: 1px solid var(--frak-amb-border, color-mix(in srgb, var(--frak-amb-accent, #111) 15%, transparent));
|
|
588
|
+
}
|
|
589
|
+
.Ambassador_faqItem__awpcg015 {
|
|
590
|
+
border-bottom: 1px solid var(--frak-amb-border, color-mix(in srgb, var(--frak-amb-accent, #111) 15%, transparent));
|
|
591
|
+
}
|
|
592
|
+
}`;
|
|
593
|
+
//#endregion
|
|
594
|
+
//#region src/components/Ambassador/Ambassador.css.ts
|
|
595
|
+
var amountUnit = "Ambassador_amountUnit__awpcg0a";
|
|
596
|
+
var amountWords = "Ambassador_amountWords__awpcg0b";
|
|
597
|
+
var faq = "Ambassador_region__awpcg03";
|
|
598
|
+
var faqAnswer = "Ambassador_faqAnswer__awpcg017";
|
|
599
|
+
var faqAttribution = "Ambassador_faqAttribution__awpcg018 Ambassador_mutedSmall__awpcg07";
|
|
600
|
+
var faqItem = "Ambassador_faqItem__awpcg015";
|
|
601
|
+
var faqQuestion = "Ambassador_faqQuestion__awpcg016";
|
|
602
|
+
var faqTitle = "Ambassador_regionTitle__awpcg05";
|
|
603
|
+
var frakLink = "Ambassador_frakLink__awpcg019";
|
|
604
|
+
var hero = "Ambassador_hero__awpcg0d Ambassador_region__awpcg03";
|
|
605
|
+
var heroAmount = "Ambassador_heroAmount__awpcg0l";
|
|
606
|
+
var heroArt = "Ambassador_heroArt__awpcg0g Ambassador_panel__awpcg00";
|
|
607
|
+
var heroArtFramed = "Ambassador_heroArtFramed__awpcg0h";
|
|
608
|
+
var heroBody = "Ambassador_heroBody__awpcg0e";
|
|
609
|
+
var heroCta = "Ambassador_ctaButton__awpcg02 sharedBaseCss_buttonReset__7cswil0";
|
|
610
|
+
var heroEyebrow = "Ambassador_mutedSmall__awpcg07";
|
|
611
|
+
var heroFaces = "Ambassador_mutedSmall__awpcg07";
|
|
612
|
+
var heroImage = "Ambassador_heroImage__awpcg0i";
|
|
613
|
+
var heroLede = "Ambassador_lede__awpcg06";
|
|
614
|
+
var heroPill = "Ambassador_heroPill__awpcg0n";
|
|
615
|
+
var heroRewardCaption = "Ambassador_heroRewardCaption__awpcg0m";
|
|
616
|
+
var heroTag = "Ambassador_heroTag__awpcg0j";
|
|
617
|
+
var heroTagMain = "Ambassador_heroTagMain__awpcg0k";
|
|
618
|
+
var heroTitle = "Ambassador_heroTitle__awpcg0f";
|
|
619
|
+
var referral = "Ambassador_region__awpcg03";
|
|
620
|
+
var referralCta = "Ambassador_referralCta__awpcg0y Ambassador_ctaButton__awpcg02 sharedBaseCss_buttonReset__7cswil0";
|
|
621
|
+
var referralLede = "Ambassador_lede__awpcg06";
|
|
622
|
+
var referralTitle = "Ambassador_regionTitle__awpcg05";
|
|
623
|
+
var reward = "Ambassador_centeredRegion__awpcg04 Ambassador_region__awpcg03";
|
|
624
|
+
var rewardAmount = "Ambassador_rewardAmount__awpcg0q Ambassador_bigFigure__awpcg0c";
|
|
625
|
+
var rewardCaption = "Ambassador_mutedSmall__awpcg07";
|
|
626
|
+
var rewardCta = "Ambassador_ctaButton__awpcg02 sharedBaseCss_buttonReset__7cswil0";
|
|
627
|
+
var rewardEyebrow = "Ambassador_mutedSmall__awpcg07";
|
|
628
|
+
var rewardFooter = "Ambassador_mutedSmall__awpcg07";
|
|
629
|
+
var rewardHeading = "Ambassador_rewardHeading__awpcg0o Ambassador_regionTitle__awpcg05";
|
|
630
|
+
var rewardHeadingText = "Ambassador_rewardHeadingText__awpcg0p";
|
|
631
|
+
var rewardLede = "Ambassador_lede__awpcg06";
|
|
632
|
+
var root = "Ambassador_root__awpcg01";
|
|
633
|
+
var step = "Ambassador_card__awpcg09 Ambassador_panel__awpcg00";
|
|
634
|
+
var stepDescription = "Ambassador_muted__awpcg08";
|
|
635
|
+
var stepIcon = "Ambassador_stepIcon__awpcg0t";
|
|
636
|
+
var stepNumber = "Ambassador_stepNumber__awpcg0s";
|
|
637
|
+
var stepTitle = "Ambassador_stepTitle__awpcg0u";
|
|
638
|
+
var steps = "Ambassador_region__awpcg03";
|
|
639
|
+
var stepsGrid = "Ambassador_stepsGrid__awpcg0r";
|
|
640
|
+
var stepsLede = "Ambassador_lede__awpcg06";
|
|
641
|
+
var stepsTitle = "Ambassador_regionTitle__awpcg05";
|
|
642
|
+
var store = "Ambassador_store__awpcg0z Ambassador_panel__awpcg00";
|
|
643
|
+
var storeBadge = "Ambassador_storeBadge__awpcg013 sharedBaseCss_buttonReset__7cswil0";
|
|
644
|
+
var storeBadgeArt = "Ambassador_storeBadgeArt__awpcg014";
|
|
645
|
+
var storeBadges = "Ambassador_storeBadges__awpcg012";
|
|
646
|
+
var storeBody = "Ambassador_storeBody__awpcg010";
|
|
647
|
+
var storeLede = "Ambassador_lede__awpcg06";
|
|
648
|
+
var storeQr = "Ambassador_storeQr__awpcg011";
|
|
649
|
+
var storeQrCaption = "Ambassador_mutedSmall__awpcg07";
|
|
650
|
+
var storeTitle = "Ambassador_regionTitle__awpcg05";
|
|
651
|
+
var winWin = "Ambassador_centeredRegion__awpcg04 Ambassador_region__awpcg03";
|
|
652
|
+
var winWinCard = "Ambassador_winWinCard__awpcg0w Ambassador_card__awpcg09 Ambassador_panel__awpcg00";
|
|
653
|
+
var winWinCardAmount = "Ambassador_winWinCardAmount__awpcg0x Ambassador_bigFigure__awpcg0c";
|
|
654
|
+
var winWinCardDescription = "Ambassador_muted__awpcg08";
|
|
655
|
+
var winWinCardLabel = "Ambassador_mutedSmall__awpcg07";
|
|
656
|
+
var winWinCards = "Ambassador_winWinCards__awpcg0v";
|
|
657
|
+
var winWinLede = "Ambassador_lede__awpcg06";
|
|
658
|
+
var winWinTitle = "Ambassador_regionTitle__awpcg05";
|
|
659
|
+
const cssSource = cssSource$1;
|
|
660
|
+
//#endregion
|
|
661
|
+
//#region src/components/Ambassador/InstallQr.tsx
|
|
662
|
+
const WIDE_QUERY = "(min-width: 768px)";
|
|
663
|
+
const QUIET_ZONE = 4;
|
|
664
|
+
const QR_SIZE = 200;
|
|
665
|
+
function InstallQr({ url, label, caption, class: className, captionClass }) {
|
|
666
|
+
const [query] = useState(readWideQuery);
|
|
667
|
+
const [wide, setWide] = useState(() => query?.matches ?? false);
|
|
668
|
+
const [grid, setGrid] = useState(null);
|
|
669
|
+
useEffect(() => {
|
|
670
|
+
if (!query) return;
|
|
671
|
+
const onChange = (event) => setWide(event.matches);
|
|
672
|
+
query.addEventListener("change", onChange);
|
|
673
|
+
return () => query.removeEventListener("change", onChange);
|
|
674
|
+
}, [query]);
|
|
675
|
+
useEffect(() => {
|
|
676
|
+
if (!wide || !url) return;
|
|
677
|
+
let cancelled = false;
|
|
678
|
+
import("qr").then(({ encodeQR }) => {
|
|
679
|
+
if (cancelled) return;
|
|
680
|
+
setGrid(encodeQR(url, "raw", { border: QUIET_ZONE }));
|
|
681
|
+
}).catch(() => {});
|
|
682
|
+
return () => {
|
|
683
|
+
cancelled = true;
|
|
684
|
+
};
|
|
685
|
+
}, [wide, url]);
|
|
686
|
+
if (!wide || !url || !grid) return null;
|
|
687
|
+
const edge = grid.length;
|
|
688
|
+
return /* @__PURE__ */ jsxs("figure", {
|
|
689
|
+
class: className,
|
|
690
|
+
children: [/* @__PURE__ */ jsxs("svg", {
|
|
691
|
+
width: QR_SIZE,
|
|
692
|
+
height: QR_SIZE,
|
|
693
|
+
viewBox: `0 0 ${edge} ${edge}`,
|
|
694
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
695
|
+
role: "img",
|
|
696
|
+
"aria-label": label,
|
|
697
|
+
focusable: "false",
|
|
698
|
+
children: [/* @__PURE__ */ jsx("rect", {
|
|
699
|
+
width: edge,
|
|
700
|
+
height: edge,
|
|
701
|
+
fill: "#fff"
|
|
702
|
+
}), /* @__PURE__ */ jsx("path", {
|
|
703
|
+
d: modulesPath(grid),
|
|
704
|
+
fill: "#000"
|
|
705
|
+
})]
|
|
706
|
+
}), /* @__PURE__ */ jsx("figcaption", {
|
|
707
|
+
class: captionClass,
|
|
708
|
+
children: caption
|
|
709
|
+
})]
|
|
710
|
+
});
|
|
711
|
+
}
|
|
712
|
+
function readWideQuery() {
|
|
713
|
+
if (typeof window === "undefined" || typeof window.matchMedia !== "function") return null;
|
|
714
|
+
return window.matchMedia(WIDE_QUERY);
|
|
715
|
+
}
|
|
716
|
+
function modulesPath(grid) {
|
|
717
|
+
let path = "";
|
|
718
|
+
for (let row = 0; row < grid.length; row++) {
|
|
719
|
+
const cells = grid[row];
|
|
720
|
+
for (let col = 0; col < cells.length; col++) if (cells[col]) path += `M${col},${row}h1v1h-1z`;
|
|
721
|
+
}
|
|
722
|
+
return path;
|
|
723
|
+
}
|
|
724
|
+
//#endregion
|
|
725
|
+
//#region src/components/Ambassador/storeBadges.tsx
|
|
726
|
+
function AppStoreBadgeArtFr(props) {
|
|
727
|
+
return /* @__PURE__ */ jsx("svg", {
|
|
728
|
+
"aria-hidden": "true",
|
|
729
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
730
|
+
viewBox: "0 0 126.50751 40",
|
|
731
|
+
...props,
|
|
732
|
+
children: /* @__PURE__ */ jsxs("g", { children: [
|
|
733
|
+
/* @__PURE__ */ jsxs("g", { children: [/* @__PURE__ */ jsx("path", {
|
|
734
|
+
d: "M116.97821,0H9.53468c-.3667,0-.729,0-1.09473.002-.30615.002-.60986.00781-.91895.0127A13.21476,13.21476,0,0,0,5.5171.19141a6.66509,6.66509,0,0,0-1.90088.627A6.43779,6.43779,0,0,0,1.99757,1.99707,6.25844,6.25844,0,0,0,.81935,3.61816a6.60119,6.60119,0,0,0-.625,1.90332,12.993,12.993,0,0,0-.1792,2.002C.00587,7.83008.00489,8.1377,0,8.44434V31.5586c.00489.3105.00587.6113.01515.9219a12.99232,12.99232,0,0,0,.1792,2.0019,6.58756,6.58756,0,0,0,.625,1.9043A6.20778,6.20778,0,0,0,1.99757,38.001a6.27445,6.27445,0,0,0,1.61865,1.1787,6.70082,6.70082,0,0,0,1.90088.6308,13.45514,13.45514,0,0,0,2.0039.1768c.30909.0068.6128.0107.91895.0107C8.80567,40,9.168,40,9.53468,40H116.97821c.3594,0,.7246,0,1.084-.002.3047,0,.6172-.0039.9219-.0107a13.279,13.279,0,0,0,2-.1768,6.80432,6.80432,0,0,0,1.9082-.6308,6.27742,6.27742,0,0,0,1.6172-1.1787,6.39482,6.39482,0,0,0,1.1816-1.6143,6.60413,6.60413,0,0,0,.6191-1.9043,13.50641,13.50641,0,0,0,.1856-2.0019c.0039-.3106.0039-.6114.0039-.9219.0078-.3633.0078-.7246.0078-1.0938V9.53613c0-.36621,0-.72949-.0078-1.09179,0-.30664,0-.61426-.0039-.9209a13.50709,13.50709,0,0,0-.1856-2.002,6.6177,6.6177,0,0,0-.6191-1.90332,6.46619,6.46619,0,0,0-2.7988-2.7998,6.76753,6.76753,0,0,0-1.9082-.627,13.04394,13.04394,0,0,0-2-.17676c-.3047-.00488-.6172-.01074-.9219-.01269-.3594-.002-.7246-.002-1.084-.002Z",
|
|
735
|
+
fill: "#a6a6a6"
|
|
736
|
+
}), /* @__PURE__ */ jsx("path", { d: "M8.44482,39.125c-.30467,0-.602-.0039-.90428-.0107a12.68714,12.68714,0,0,1-1.86914-.1631,5.88381,5.88381,0,0,1-1.65674-.5479,5.40573,5.40573,0,0,1-1.397-1.0166,5.32082,5.32082,0,0,1-1.02051-1.3965,5.72186,5.72186,0,0,1-.543-1.6572,12.41351,12.41351,0,0,1-.1665-1.875c-.00634-.2109-.01464-.9131-.01464-.9131V8.44434S.88185,7.75293.8877,7.5498a12.37138,12.37138,0,0,1,.16552-1.87207,5.75577,5.75577,0,0,1,.54347-1.6621A5.37365,5.37365,0,0,1,2.61182,2.61768,5.56562,5.56562,0,0,1,4.01417,1.59521a5.82309,5.82309,0,0,1,1.65332-.54394A12.58579,12.58579,0,0,1,7.543.88721L8.44532.875h109.612l.9131.0127a12.38493,12.38493,0,0,1,1.8584.16259,5.93833,5.93833,0,0,1,1.6709.54785,5.59375,5.59375,0,0,1,2.415,2.41993,5.76267,5.76267,0,0,1,.5352,1.64892,12.995,12.995,0,0,1,.1738,1.88721c.0029.2832.0029.5874.0029.89014.0079.375.0079.73193.0079,1.09179V30.4648c0,.3633,0,.7178-.0079,1.0752,0,.3252,0,.6231-.0039.9297a12.73126,12.73126,0,0,1-.1709,1.8535,5.739,5.739,0,0,1-.54,1.67,5.48029,5.48029,0,0,1-1.0156,1.3857,5.4129,5.4129,0,0,1-1.3994,1.0225,5.86168,5.86168,0,0,1-1.668.5498,12.54218,12.54218,0,0,1-1.8692.1631c-.2929.0068-.5996.0107-.8974.0107l-1.084.002Z" })] }),
|
|
737
|
+
/* @__PURE__ */ jsxs("g", { children: [/* @__PURE__ */ jsx("g", { children: /* @__PURE__ */ jsx("g", { children: /* @__PURE__ */ jsxs("g", { children: [/* @__PURE__ */ jsx("path", {
|
|
738
|
+
d: "M24.7718,20.30068a4.94881,4.94881,0,0,1,2.35656-4.15206,5.06566,5.06566,0,0,0-3.99116-2.15768c-1.67924-.17626-3.30719,1.00483-4.1629,1.00483-.87227,0-2.18977-.98733-3.6085-.95814a5.31529,5.31529,0,0,0-4.47292,2.72787c-1.934,3.34842-.49141,8.26947,1.3612,10.97608.9269,1.32535,2.01018,2.8058,3.42763,2.7533,1.38706-.05753,1.9051-.88448,3.5794-.88448,1.65876,0,2.14479.88448,3.591.8511,1.48838-.02416,2.42613-1.33124,3.32051-2.66914A10.962,10.962,0,0,0,27.691,24.69985,4.78205,4.78205,0,0,1,24.7718,20.30068Z",
|
|
739
|
+
fill: "#fff"
|
|
740
|
+
}), /* @__PURE__ */ jsx("path", {
|
|
741
|
+
d: "M22.04017,12.21089a4.87248,4.87248,0,0,0,1.11452-3.49062,4.95746,4.95746,0,0,0-3.20758,1.65961,4.63634,4.63634,0,0,0-1.14371,3.36139A4.09905,4.09905,0,0,0,22.04017,12.21089Z",
|
|
742
|
+
fill: "#fff"
|
|
743
|
+
})] }) }) }), /* @__PURE__ */ jsx("g", { children: /* @__PURE__ */ jsxs("g", { children: [
|
|
744
|
+
/* @__PURE__ */ jsx("path", {
|
|
745
|
+
d: "M35.65528,14.70166V9.57813h-1.877V8.73486h4.67676v.84326H36.582v5.12354Z",
|
|
746
|
+
fill: "#fff"
|
|
747
|
+
}),
|
|
748
|
+
/* @__PURE__ */ jsx("path", {
|
|
749
|
+
d: "M42.76466,13.48584a1.828,1.828,0,0,1-1.95117,1.30273,2.04531,2.04531,0,0,1-2.08008-2.32422,2.07685,2.07685,0,0,1,2.07617-2.35254c1.25293,0,2.00879.856,2.00879,2.27v.31006H39.63868v.0498a1.1902,1.1902,0,0,0,1.19922,1.29,1.07934,1.07934,0,0,0,1.07129-.5459Zm-3.126-1.45117H41.9131a1.08647,1.08647,0,0,0-1.1084-1.1665A1.15162,1.15162,0,0,0,39.63868,12.03467ZM40.2754,9.4458l1.03809-1.42236h1.042L41.19337,9.4458Z",
|
|
750
|
+
fill: "#fff"
|
|
751
|
+
}),
|
|
752
|
+
/* @__PURE__ */ jsx("path", {
|
|
753
|
+
d: "M44.05274,8.44092h.88867v6.26074h-.88867Z",
|
|
754
|
+
fill: "#fff"
|
|
755
|
+
}),
|
|
756
|
+
/* @__PURE__ */ jsx("path", {
|
|
757
|
+
d: "M50.208,13.48584a1.828,1.828,0,0,1-1.95117,1.30273,2.04531,2.04531,0,0,1-2.08008-2.32422,2.07685,2.07685,0,0,1,2.07617-2.35254c1.25293,0,2.00879.856,2.00879,2.27v.31006H47.082v.0498a1.1902,1.1902,0,0,0,1.19922,1.29,1.07934,1.07934,0,0,0,1.07129-.5459Zm-3.126-1.45117h2.27441a1.08647,1.08647,0,0,0-1.1084-1.1665A1.15162,1.15162,0,0,0,47.082,12.03467Zm.63672-2.58887,1.03809-1.42236h1.042L48.63673,9.4458Z",
|
|
758
|
+
fill: "#fff"
|
|
759
|
+
}),
|
|
760
|
+
/* @__PURE__ */ jsx("path", {
|
|
761
|
+
d: "M54.40333,11.67041a1.00546,1.00546,0,0,0-1.06348-.76465c-.74414,0-1.19922.57031-1.19922,1.52979,0,.97607.459,1.55908,1.19922,1.55908a.97873.97873,0,0,0,1.06348-.74023h.86426a1.762,1.762,0,0,1-1.92285,1.53418,2.06791,2.06791,0,0,1-2.11328-2.353,2.05305,2.05305,0,0,1,2.1084-2.32373,1.77731,1.77731,0,0,1,1.92773,1.55859Z",
|
|
762
|
+
fill: "#fff"
|
|
763
|
+
}),
|
|
764
|
+
/* @__PURE__ */ jsx("path", {
|
|
765
|
+
d: "M56.44728,8.44092h.88086v2.48145h.07031a1.3856,1.3856,0,0,1,1.373-.80664,1.48339,1.48339,0,0,1,1.55078,1.67871v2.90723h-.88965v-2.688c0-.71924-.335-1.0835-.96289-1.0835a1.05194,1.05194,0,0,0-1.13379,1.1416v2.62988h-.88867Z",
|
|
766
|
+
fill: "#fff"
|
|
767
|
+
}),
|
|
768
|
+
/* @__PURE__ */ jsx("path", {
|
|
769
|
+
d: "M61.43946,13.42822c0-.81055.60352-1.27783,1.6748-1.34424l1.21973-.07031V11.625c0-.47559-.31445-.74414-.92188-.74414-.49609,0-.83984.18213-.93848.50049h-.86035c.09082-.77344.81836-1.26953,1.83984-1.26953,1.12891,0,1.76514.562,1.76514,1.51318v3.07666h-.855v-.63281H64.293a1.515,1.515,0,0,1-1.35254.707A1.36026,1.36026,0,0,1,61.43946,13.42822Zm2.89453-.38477V12.667l-1.09961.07031c-.62012.0415-.90137.25244-.90137.64941,0,.40527.35156.64111.835.64111A1.0615,1.0615,0,0,0,64.334,13.04346Z",
|
|
770
|
+
fill: "#fff"
|
|
771
|
+
}),
|
|
772
|
+
/* @__PURE__ */ jsx("path", {
|
|
773
|
+
d: "M66.60987,10.19873h.85547v.69043h.06641a1.22092,1.22092,0,0,1,1.21582-.76514,1.86836,1.86836,0,0,1,.39648.03711v.877a2.43442,2.43442,0,0,0-.49609-.05371A1.05507,1.05507,0,0,0,67.49855,12.043v2.65869h-.88867Z",
|
|
774
|
+
fill: "#fff"
|
|
775
|
+
}),
|
|
776
|
+
/* @__PURE__ */ jsx("path", {
|
|
777
|
+
d: "M69.96144,15.15234h.90918c.0752.32666.45117.5376,1.05078.5376.74023,0,1.17871-.35156,1.17871-.94678v-.86426H73.0337a1.51433,1.51433,0,0,1-1.38965.75635c-1.14941,0-1.86035-.88867-1.86035-2.23682,0-1.373.71875-2.27441,1.86914-2.27441a1.56045,1.56045,0,0,1,1.41406.79395h.07031v-.71924h.85156v4.54c0,1.02979-.80664,1.68311-2.08008,1.68311C70.7837,16.42188,70.05616,15.91748,69.96144,15.15234Zm3.15527-2.7583c0-.897-.46387-1.47168-1.2207-1.47168-.76465,0-1.19434.57471-1.19434,1.47168,0,.89746.42969,1.47217,1.19434,1.47217C72.65773,13.86621,73.11671,13.2959,73.11671,12.394Z",
|
|
778
|
+
fill: "#fff"
|
|
779
|
+
}),
|
|
780
|
+
/* @__PURE__ */ jsx("path", {
|
|
781
|
+
d: "M79.21241,13.48584a1.828,1.828,0,0,1-1.95117,1.30273,2.04531,2.04531,0,0,1-2.08008-2.32422,2.07685,2.07685,0,0,1,2.07617-2.35254c1.25293,0,2.00879.856,2.00879,2.27v.31006H76.08644v.0498a1.1902,1.1902,0,0,0,1.19922,1.29,1.07934,1.07934,0,0,0,1.07129-.5459Zm-3.126-1.45117h2.27441a1.08647,1.08647,0,0,0-1.1084-1.1665A1.15162,1.15162,0,0,0,76.08644,12.03467Z",
|
|
782
|
+
fill: "#fff"
|
|
783
|
+
}),
|
|
784
|
+
/* @__PURE__ */ jsx("path", {
|
|
785
|
+
d: "M80.45948,10.19873H81.315v.69043h.06641a1.22092,1.22092,0,0,1,1.21582-.76514,1.86836,1.86836,0,0,1,.39648.03711v.877a2.43442,2.43442,0,0,0-.49609-.05371A1.05507,1.05507,0,0,0,81.34815,12.043v2.65869h-.88867Z",
|
|
786
|
+
fill: "#fff"
|
|
787
|
+
}),
|
|
788
|
+
/* @__PURE__ */ jsx("path", {
|
|
789
|
+
d: "M86.19581,12.44824c0-1.42285.73145-2.32422,1.86914-2.32422a1.484,1.484,0,0,1,1.38086.79h.06641V8.44092h.88867v6.26074h-.85156v-.71143H89.479a1.56284,1.56284,0,0,1-1.41406.78564C86.91944,14.77588,86.19581,13.87451,86.19581,12.44824Zm.918,0c0,.95508.4502,1.52979,1.20313,1.52979.749,0,1.21191-.583,1.21191-1.52588,0-.93848-.46777-1.52979-1.21191-1.52979C87.56886,10.92236,87.11378,11.501,87.11378,12.44824Z",
|
|
790
|
+
fill: "#fff"
|
|
791
|
+
}),
|
|
792
|
+
/* @__PURE__ */ jsx("path", {
|
|
793
|
+
d: "M91.60206,13.42822c0-.81055.60352-1.27783,1.6748-1.34424l1.21973-.07031V11.625c0-.47559-.31445-.74414-.92187-.74414-.49609,0-.83984.18213-.93848.50049h-.86035c.09082-.77344.81836-1.26953,1.83984-1.26953,1.12891,0,1.76563.562,1.76563,1.51318v3.07666h-.85547v-.63281h-.07031a1.515,1.515,0,0,1-1.35254.707A1.36026,1.36026,0,0,1,91.60206,13.42822Zm2.89453-.38477V12.667L93.397,12.7373c-.62012.0415-.90137.25244-.90137.64941,0,.40527.35156.64111.835.64111A1.0615,1.0615,0,0,0,94.49659,13.04346Z",
|
|
794
|
+
fill: "#fff"
|
|
795
|
+
}),
|
|
796
|
+
/* @__PURE__ */ jsx("path", {
|
|
797
|
+
d: "M96.773,10.19873h.85547v.71533h.06641a1.348,1.348,0,0,1,1.34375-.80225,1.46456,1.46456,0,0,1,1.55859,1.6748v2.915h-.88867V12.00977c0-.72363-.31445-1.0835-.97168-1.0835a1.03294,1.03294,0,0,0-1.0752,1.14111v2.63428H96.773Z",
|
|
798
|
+
fill: "#fff"
|
|
799
|
+
}),
|
|
800
|
+
/* @__PURE__ */ jsx("path", {
|
|
801
|
+
d: "M103.61769,10.11182c1.0127,0,1.6748.47119,1.76172,1.26514h-.85254c-.082-.33057-.40527-.5415-.90918-.5415-.49609,0-.873.23535-.873.58691,0,.269.22754.43848.71582.55029l.748.17334c.85645.19873,1.25781.56689,1.25781,1.22852,0,.84766-.79,1.41406-1.86523,1.41406-1.07129,0-1.76953-.48389-1.84863-1.28174h.88965a.91365.91365,0,0,0,.97949.562c.55371,0,.94727-.248.94727-.60791,0-.26855-.21094-.44238-.66211-.5498l-.78516-.18213c-.85645-.20264-1.25293-.58691-1.25293-1.25684C101.86866,10.67383,102.60011,10.11182,103.61769,10.11182Z",
|
|
802
|
+
fill: "#fff"
|
|
803
|
+
})
|
|
804
|
+
] }) })] }),
|
|
805
|
+
/* @__PURE__ */ jsxs("g", { children: [
|
|
806
|
+
/* @__PURE__ */ jsx("path", {
|
|
807
|
+
d: "M35.19825,18.06689h1.85938V30.48535H35.19825Z",
|
|
808
|
+
fill: "#fff"
|
|
809
|
+
}),
|
|
810
|
+
/* @__PURE__ */ jsx("path", {
|
|
811
|
+
d: "M39.29786,22.61084l1.01563-4.54395h1.80664l-1.23047,4.54395Z",
|
|
812
|
+
fill: "#fff"
|
|
813
|
+
}),
|
|
814
|
+
/* @__PURE__ */ jsx("path", {
|
|
815
|
+
d: "M49.14649,27.12891H44.4131l-1.13672,3.35645H41.27149l4.4834-12.41846h2.083l4.4834,12.41846H50.28224Zm-4.24316-1.54883h3.752l-1.84961-5.44775h-.05176Z",
|
|
816
|
+
fill: "#fff"
|
|
817
|
+
}),
|
|
818
|
+
/* @__PURE__ */ jsx("path", {
|
|
819
|
+
d: "M62.00294,25.959c0,2.81348-1.50586,4.62109-3.77832,4.62109a3.0693,3.0693,0,0,1-2.84863-1.584h-.043v4.48438h-1.8584V21.43115h1.79883V22.937h.03418a3.21162,3.21162,0,0,1,2.88281-1.60059C60.48829,21.33643,62.00294,23.15283,62.00294,25.959Zm-1.91016,0c0-1.8335-.94727-3.03857-2.39258-3.03857-1.41992,0-2.375,1.23047-2.375,3.03857,0,1.82422.95508,3.0459,2.375,3.0459C59.14552,29.00488,60.09278,27.80859,60.09278,25.959Z",
|
|
820
|
+
fill: "#fff"
|
|
821
|
+
}),
|
|
822
|
+
/* @__PURE__ */ jsx("path", {
|
|
823
|
+
d: "M71.9673,25.959c0,2.81348-1.50586,4.62109-3.77832,4.62109a3.0693,3.0693,0,0,1-2.84863-1.584h-.043v4.48438H63.43946V21.43115H65.2378V22.937H65.272a3.21162,3.21162,0,0,1,2.88281-1.60059C70.45265,21.33643,71.9673,23.15283,71.9673,25.959Zm-1.91016,0c0-1.8335-.94727-3.03857-2.39258-3.03857-1.41992,0-2.375,1.23047-2.375,3.03857,0,1.82422.95508,3.0459,2.375,3.0459C69.10987,29.00488,70.05714,27.80859,70.05714,25.959Z",
|
|
824
|
+
fill: "#fff"
|
|
825
|
+
}),
|
|
826
|
+
/* @__PURE__ */ jsx("path", {
|
|
827
|
+
d: "M78.55323,27.02539c.1377,1.23145,1.334,2.04,2.96875,2.04,1.56641,0,2.69336-.80859,2.69336-1.91895,0-.96387-.67969-1.541-2.28906-1.93652l-1.60937-.38818C78.03663,24.271,76.978,23.20459,76.978,21.47412c0-2.14258,1.86719-3.61426,4.51855-3.61426,2.624,0,4.42285,1.47168,4.4834,3.61426H84.104c-.1123-1.23926-1.13672-1.9873-2.63379-1.9873s-2.52148.75684-2.52148,1.8584c0,.87793.6543,1.39453,2.25488,1.79l1.36816.33594c2.54785.60254,3.60645,1.62646,3.60645,3.44287,0,2.32324-1.85059,3.77832-4.79395,3.77832-2.75391,0-4.61328-1.4209-4.7334-3.667Z",
|
|
828
|
+
fill: "#fff"
|
|
829
|
+
}),
|
|
830
|
+
/* @__PURE__ */ jsx("path", {
|
|
831
|
+
d: "M90.19,19.28857v2.14258h1.72168v1.47168H90.19v4.9917c0,.77539.34473,1.13672,1.10156,1.13672a5.80752,5.80752,0,0,0,.61133-.043v1.46289a5.10351,5.10351,0,0,1-1.03223.08594c-1.833,0-2.54785-.68848-2.54785-2.44434V22.90283H87.00636V21.43115h1.31641V19.28857Z",
|
|
832
|
+
fill: "#fff"
|
|
833
|
+
}),
|
|
834
|
+
/* @__PURE__ */ jsx("path", {
|
|
835
|
+
d: "M92.90773,25.959c0-2.84912,1.67773-4.63916,4.29395-4.63916,2.625,0,4.29492,1.79,4.29492,4.63916,0,2.85645-1.66113,4.63867-4.29492,4.63867C94.56886,30.59766,92.90773,28.81543,92.90773,25.959Zm6.69531,0c0-1.95459-.89551-3.10791-2.40137-3.10791s-2.40039,1.16211-2.40039,3.10791c0,1.96191.89453,3.10645,2.40039,3.10645S99.603,27.9209,99.603,25.959Z",
|
|
836
|
+
fill: "#fff"
|
|
837
|
+
}),
|
|
838
|
+
/* @__PURE__ */ jsx("path", {
|
|
839
|
+
d: "M103.02882,21.43115h1.77246v1.541h.043a2.1594,2.1594,0,0,1,2.17773-1.63574,2.86616,2.86616,0,0,1,.63672.06934V23.144a2.59794,2.59794,0,0,0-.835-.1123,1.8728,1.8728,0,0,0-1.93652,2.0835v5.37012h-1.8584Z",
|
|
840
|
+
fill: "#fff"
|
|
841
|
+
}),
|
|
842
|
+
/* @__PURE__ */ jsx("path", {
|
|
843
|
+
d: "M116.22608,27.82617c-.25,1.64355-1.85059,2.77148-3.89844,2.77148-2.63379,0-4.26855-1.76465-4.26855-4.5957,0-2.84033,1.64355-4.68213,4.19043-4.68213,2.50488,0,4.08008,1.7207,4.08008,4.46631v.63672h-6.39453v.1123a2.358,2.358,0,0,0,2.43555,2.56445,2.04834,2.04834,0,0,0,2.09082-1.27344ZM109.94386,25.124h4.52637a2.17744,2.17744,0,0,0-2.2207-2.29834A2.29214,2.29214,0,0,0,109.94386,25.124Z",
|
|
844
|
+
fill: "#fff"
|
|
845
|
+
})
|
|
846
|
+
] })
|
|
847
|
+
] })
|
|
848
|
+
});
|
|
849
|
+
}
|
|
850
|
+
function AppStoreBadgeArtEn(props) {
|
|
851
|
+
return /* @__PURE__ */ jsx("svg", {
|
|
852
|
+
"aria-hidden": "true",
|
|
853
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
854
|
+
viewBox: "0 0 119.66407 40",
|
|
855
|
+
...props,
|
|
856
|
+
children: /* @__PURE__ */ jsxs("g", { children: [/* @__PURE__ */ jsxs("g", { children: [/* @__PURE__ */ jsxs("g", { children: [/* @__PURE__ */ jsx("path", {
|
|
857
|
+
d: "M110.13477,0H9.53468c-.3667,0-.729,0-1.09473.002-.30615.002-.60986.00781-.91895.0127A13.21476,13.21476,0,0,0,5.5171.19141a6.66509,6.66509,0,0,0-1.90088.627A6.43779,6.43779,0,0,0,1.99757,1.99707,6.25844,6.25844,0,0,0,.81935,3.61816a6.60119,6.60119,0,0,0-.625,1.90332,12.993,12.993,0,0,0-.1792,2.002C.00587,7.83008.00489,8.1377,0,8.44434V31.5586c.00489.3105.00587.6113.01515.9219a12.99232,12.99232,0,0,0,.1792,2.0019,6.58756,6.58756,0,0,0,.625,1.9043A6.20778,6.20778,0,0,0,1.99757,38.001a6.27445,6.27445,0,0,0,1.61865,1.1787,6.70082,6.70082,0,0,0,1.90088.6308,13.45514,13.45514,0,0,0,2.0039.1768c.30909.0068.6128.0107.91895.0107C8.80567,40,9.168,40,9.53468,40H110.13477c.3594,0,.7246,0,1.084-.002.3047,0,.6172-.0039.9219-.0107a13.279,13.279,0,0,0,2-.1768,6.80432,6.80432,0,0,0,1.9082-.6308,6.27742,6.27742,0,0,0,1.6172-1.1787,6.39482,6.39482,0,0,0,1.1816-1.6143,6.60413,6.60413,0,0,0,.6191-1.9043,13.50643,13.50643,0,0,0,.1856-2.0019c.0039-.3106.0039-.6114.0039-.9219.0078-.3633.0078-.7246.0078-1.0938V9.53613c0-.36621,0-.72949-.0078-1.09179,0-.30664,0-.61426-.0039-.9209a13.5071,13.5071,0,0,0-.1856-2.002,6.6177,6.6177,0,0,0-.6191-1.90332,6.46619,6.46619,0,0,0-2.7988-2.7998,6.76754,6.76754,0,0,0-1.9082-.627,13.04394,13.04394,0,0,0-2-.17676c-.3047-.00488-.6172-.01074-.9219-.01269-.3594-.002-.7246-.002-1.084-.002Z",
|
|
858
|
+
fill: "#a6a6a6"
|
|
859
|
+
}), /* @__PURE__ */ jsx("path", { d: "M8.44483,39.125c-.30468,0-.602-.0039-.90429-.0107a12.68714,12.68714,0,0,1-1.86914-.1631,5.88381,5.88381,0,0,1-1.65674-.5479,5.40573,5.40573,0,0,1-1.397-1.0166,5.32082,5.32082,0,0,1-1.02051-1.3965,5.72186,5.72186,0,0,1-.543-1.6572,12.41351,12.41351,0,0,1-.1665-1.875c-.00634-.2109-.01464-.9131-.01464-.9131V8.44434S.88185,7.75293.8877,7.5498a12.37039,12.37039,0,0,1,.16553-1.87207,5.7555,5.7555,0,0,1,.54346-1.6621A5.37349,5.37349,0,0,1,2.61183,2.61768,5.56543,5.56543,0,0,1,4.01417,1.59521a5.82309,5.82309,0,0,1,1.65332-.54394A12.58589,12.58589,0,0,1,7.543.88721L8.44532.875H111.21387l.9131.0127a12.38493,12.38493,0,0,1,1.8584.16259,5.93833,5.93833,0,0,1,1.6709.54785,5.59374,5.59374,0,0,1,2.415,2.41993,5.76267,5.76267,0,0,1,.5352,1.64892,12.995,12.995,0,0,1,.1738,1.88721c.0029.2832.0029.5874.0029.89014.0079.375.0079.73193.0079,1.09179V30.4648c0,.3633,0,.7178-.0079,1.0752,0,.3252,0,.6231-.0039.9297a12.73126,12.73126,0,0,1-.1709,1.8535,5.739,5.739,0,0,1-.54,1.67,5.48029,5.48029,0,0,1-1.0156,1.3857,5.4129,5.4129,0,0,1-1.3994,1.0225,5.86168,5.86168,0,0,1-1.668.5498,12.54218,12.54218,0,0,1-1.8692.1631c-.2929.0068-.5996.0107-.8974.0107l-1.084.002Z" })] }), /* @__PURE__ */ jsxs("g", { children: [/* @__PURE__ */ jsx("g", { children: /* @__PURE__ */ jsxs("g", { children: [/* @__PURE__ */ jsx("path", {
|
|
860
|
+
d: "M24.76888,20.30068a4.94881,4.94881,0,0,1,2.35656-4.15206,5.06566,5.06566,0,0,0-3.99116-2.15768c-1.67924-.17626-3.30719,1.00483-4.1629,1.00483-.87227,0-2.18977-.98733-3.6085-.95814a5.31529,5.31529,0,0,0-4.47292,2.72787c-1.934,3.34842-.49141,8.26947,1.3612,10.97608.9269,1.32535,2.01018,2.8058,3.42763,2.7533,1.38706-.05753,1.9051-.88448,3.5794-.88448,1.65876,0,2.14479.88448,3.591.8511,1.48838-.02416,2.42613-1.33124,3.32051-2.66914a10.962,10.962,0,0,0,1.51842-3.09251A4.78205,4.78205,0,0,1,24.76888,20.30068Z",
|
|
861
|
+
fill: "#fff"
|
|
862
|
+
}), /* @__PURE__ */ jsx("path", {
|
|
863
|
+
d: "M22.03725,12.21089a4.87248,4.87248,0,0,0,1.11452-3.49062,4.95746,4.95746,0,0,0-3.20758,1.65961,4.63634,4.63634,0,0,0-1.14371,3.36139A4.09905,4.09905,0,0,0,22.03725,12.21089Z",
|
|
864
|
+
fill: "#fff"
|
|
865
|
+
})] }) }), /* @__PURE__ */ jsxs("g", { children: [
|
|
866
|
+
/* @__PURE__ */ jsx("path", {
|
|
867
|
+
d: "M42.30227,27.13965h-4.7334l-1.13672,3.35645H34.42727l4.4834-12.418h2.083l4.4834,12.418H43.438ZM38.0591,25.59082h3.752l-1.84961-5.44727h-.05176Z",
|
|
868
|
+
fill: "#fff"
|
|
869
|
+
}),
|
|
870
|
+
/* @__PURE__ */ jsx("path", {
|
|
871
|
+
d: "M55.15969,25.96973c0,2.81348-1.50586,4.62109-3.77832,4.62109a3.0693,3.0693,0,0,1-2.84863-1.584h-.043v4.48438h-1.8584V21.44238H48.4302v1.50586h.03418a3.21162,3.21162,0,0,1,2.88281-1.60059C53.645,21.34766,55.15969,23.16406,55.15969,25.96973Zm-1.91016,0c0-1.833-.94727-3.03809-2.39258-3.03809-1.41992,0-2.375,1.23047-2.375,3.03809,0,1.82422.95508,3.0459,2.375,3.0459C52.30227,29.01563,53.24953,27.81934,53.24953,25.96973Z",
|
|
872
|
+
fill: "#fff"
|
|
873
|
+
}),
|
|
874
|
+
/* @__PURE__ */ jsx("path", {
|
|
875
|
+
d: "M65.12453,25.96973c0,2.81348-1.50586,4.62109-3.77832,4.62109a3.0693,3.0693,0,0,1-2.84863-1.584h-.043v4.48438h-1.8584V21.44238H58.395v1.50586h.03418A3.21162,3.21162,0,0,1,61.312,21.34766C63.60988,21.34766,65.12453,23.16406,65.12453,25.96973Zm-1.91016,0c0-1.833-.94727-3.03809-2.39258-3.03809-1.41992,0-2.375,1.23047-2.375,3.03809,0,1.82422.95508,3.0459,2.375,3.0459C62.26711,29.01563,63.21438,27.81934,63.21438,25.96973Z",
|
|
876
|
+
fill: "#fff"
|
|
877
|
+
}),
|
|
878
|
+
/* @__PURE__ */ jsx("path", {
|
|
879
|
+
d: "M71.71047,27.03613c.1377,1.23145,1.334,2.04,2.96875,2.04,1.56641,0,2.69336-.80859,2.69336-1.91895,0-.96387-.67969-1.541-2.28906-1.93652l-1.60937-.3877c-2.28027-.55078-3.33887-1.61719-3.33887-3.34766,0-2.14258,1.86719-3.61426,4.51855-3.61426,2.624,0,4.42285,1.47168,4.4834,3.61426h-1.876c-.1123-1.23926-1.13672-1.9873-2.63379-1.9873s-2.52148.75684-2.52148,1.8584c0,.87793.6543,1.39453,2.25488,1.79l1.36816.33594c2.54785.60254,3.60645,1.626,3.60645,3.44238,0,2.32324-1.85059,3.77832-4.79395,3.77832-2.75391,0-4.61328-1.4209-4.7334-3.667Z",
|
|
880
|
+
fill: "#fff"
|
|
881
|
+
}),
|
|
882
|
+
/* @__PURE__ */ jsx("path", {
|
|
883
|
+
d: "M83.34621,19.2998v2.14258h1.72168v1.47168H83.34621v4.99121c0,.77539.34473,1.13672,1.10156,1.13672a5.80752,5.80752,0,0,0,.61133-.043v1.46289a5.10351,5.10351,0,0,1-1.03223.08594c-1.833,0-2.54785-.68848-2.54785-2.44434V22.91406H80.16262V21.44238H81.479V19.2998Z",
|
|
884
|
+
fill: "#fff"
|
|
885
|
+
}),
|
|
886
|
+
/* @__PURE__ */ jsx("path", {
|
|
887
|
+
d: "M86.065,25.96973c0-2.84863,1.67773-4.63867,4.29395-4.63867,2.625,0,4.29492,1.79,4.29492,4.63867,0,2.85645-1.66113,4.63867-4.29492,4.63867C87.72609,30.6084,86.065,28.82617,86.065,25.96973Zm6.69531,0c0-1.9541-.89551-3.10742-2.40137-3.10742s-2.40039,1.16211-2.40039,3.10742c0,1.96191.89453,3.10645,2.40039,3.10645S92.76027,27.93164,92.76027,25.96973Z",
|
|
888
|
+
fill: "#fff"
|
|
889
|
+
}),
|
|
890
|
+
/* @__PURE__ */ jsx("path", {
|
|
891
|
+
d: "M96.18606,21.44238h1.77246v1.541h.043a2.1594,2.1594,0,0,1,2.17773-1.63574,2.86616,2.86616,0,0,1,.63672.06934v1.73828a2.59794,2.59794,0,0,0-.835-.1123,1.87264,1.87264,0,0,0-1.93652,2.083v5.37012h-1.8584Z",
|
|
892
|
+
fill: "#fff"
|
|
893
|
+
}),
|
|
894
|
+
/* @__PURE__ */ jsx("path", {
|
|
895
|
+
d: "M109.3843,27.83691c-.25,1.64355-1.85059,2.77148-3.89844,2.77148-2.63379,0-4.26855-1.76465-4.26855-4.5957,0-2.83984,1.64355-4.68164,4.19043-4.68164,2.50488,0,4.08008,1.7207,4.08008,4.46582v.63672h-6.39453v.1123a2.358,2.358,0,0,0,2.43555,2.56445,2.04834,2.04834,0,0,0,2.09082-1.27344Zm-6.28223-2.70215h4.52637a2.1773,2.1773,0,0,0-2.2207-2.29785A2.292,2.292,0,0,0,103.10207,25.13477Z",
|
|
896
|
+
fill: "#fff"
|
|
897
|
+
})
|
|
898
|
+
] })] })] }), /* @__PURE__ */ jsx("g", { children: /* @__PURE__ */ jsxs("g", { children: [
|
|
899
|
+
/* @__PURE__ */ jsx("path", {
|
|
900
|
+
d: "M37.82619,8.731a2.63964,2.63964,0,0,1,2.80762,2.96484c0,1.90625-1.03027,3.002-2.80762,3.002H35.67092V8.731Zm-1.22852,5.123h1.125a1.87588,1.87588,0,0,0,1.96777-2.146,1.881,1.881,0,0,0-1.96777-2.13379h-1.125Z",
|
|
901
|
+
fill: "#fff"
|
|
902
|
+
}),
|
|
903
|
+
/* @__PURE__ */ jsx("path", {
|
|
904
|
+
d: "M41.68068,12.44434a2.13323,2.13323,0,1,1,4.24707,0,2.13358,2.13358,0,1,1-4.24707,0Zm3.333,0c0-.97607-.43848-1.54687-1.208-1.54687-.77246,0-1.207.5708-1.207,1.54688,0,.98389.43457,1.55029,1.207,1.55029C44.57522,13.99463,45.01369,13.42432,45.01369,12.44434Z",
|
|
905
|
+
fill: "#fff"
|
|
906
|
+
}),
|
|
907
|
+
/* @__PURE__ */ jsx("path", {
|
|
908
|
+
d: "M51.57326,14.69775h-.92187l-.93066-3.31641h-.07031l-.92676,3.31641h-.91309l-1.24121-4.50293h.90137l.80664,3.436h.06641l.92578-3.436h.85254l.92578,3.436h.07031l.80273-3.436h.88867Z",
|
|
909
|
+
fill: "#fff"
|
|
910
|
+
}),
|
|
911
|
+
/* @__PURE__ */ jsx("path", {
|
|
912
|
+
d: "M53.85354,10.19482H54.709v.71533h.06641a1.348,1.348,0,0,1,1.34375-.80225,1.46456,1.46456,0,0,1,1.55859,1.6748v2.915h-.88867V12.00586c0-.72363-.31445-1.0835-.97168-1.0835a1.03294,1.03294,0,0,0-1.0752,1.14111v2.63428h-.88867Z",
|
|
913
|
+
fill: "#fff"
|
|
914
|
+
}),
|
|
915
|
+
/* @__PURE__ */ jsx("path", {
|
|
916
|
+
d: "M59.09377,8.437h.88867v6.26074h-.88867Z",
|
|
917
|
+
fill: "#fff"
|
|
918
|
+
}),
|
|
919
|
+
/* @__PURE__ */ jsx("path", {
|
|
920
|
+
d: "M61.21779,12.44434a2.13346,2.13346,0,1,1,4.24756,0,2.1338,2.1338,0,1,1-4.24756,0Zm3.333,0c0-.97607-.43848-1.54687-1.208-1.54687-.77246,0-1.207.5708-1.207,1.54688,0,.98389.43457,1.55029,1.207,1.55029C64.11232,13.99463,64.5508,13.42432,64.5508,12.44434Z",
|
|
921
|
+
fill: "#fff"
|
|
922
|
+
}),
|
|
923
|
+
/* @__PURE__ */ jsx("path", {
|
|
924
|
+
d: "M66.4009,13.42432c0-.81055.60352-1.27783,1.6748-1.34424l1.21973-.07031v-.38867c0-.47559-.31445-.74414-.92187-.74414-.49609,0-.83984.18213-.93848.50049h-.86035c.09082-.77344.81836-1.26953,1.83984-1.26953,1.12891,0,1.76563.562,1.76563,1.51318v3.07666h-.85547v-.63281h-.07031a1.515,1.515,0,0,1-1.35254.707A1.36026,1.36026,0,0,1,66.4009,13.42432Zm2.89453-.38477v-.37646l-1.09961.07031c-.62012.0415-.90137.25244-.90137.64941,0,.40527.35156.64111.835.64111A1.0615,1.0615,0,0,0,69.29543,13.03955Z",
|
|
925
|
+
fill: "#fff"
|
|
926
|
+
}),
|
|
927
|
+
/* @__PURE__ */ jsx("path", {
|
|
928
|
+
d: "M71.34816,12.44434c0-1.42285.73145-2.32422,1.86914-2.32422a1.484,1.484,0,0,1,1.38086.79h.06641V8.437h.88867v6.26074h-.85156v-.71143h-.07031a1.56284,1.56284,0,0,1-1.41406.78564C72.0718,14.772,71.34816,13.87061,71.34816,12.44434Zm.918,0c0,.95508.4502,1.52979,1.20313,1.52979.749,0,1.21191-.583,1.21191-1.52588,0-.93848-.46777-1.52979-1.21191-1.52979C72.72121,10.91846,72.26613,11.49707,72.26613,12.44434Z",
|
|
929
|
+
fill: "#fff"
|
|
930
|
+
}),
|
|
931
|
+
/* @__PURE__ */ jsx("path", {
|
|
932
|
+
d: "M79.23,12.44434a2.13323,2.13323,0,1,1,4.24707,0,2.13358,2.13358,0,1,1-4.24707,0Zm3.333,0c0-.97607-.43848-1.54687-1.208-1.54687-.77246,0-1.207.5708-1.207,1.54688,0,.98389.43457,1.55029,1.207,1.55029C82.12453,13.99463,82.563,13.42432,82.563,12.44434Z",
|
|
933
|
+
fill: "#fff"
|
|
934
|
+
}),
|
|
935
|
+
/* @__PURE__ */ jsx("path", {
|
|
936
|
+
d: "M84.66945,10.19482h.85547v.71533h.06641a1.348,1.348,0,0,1,1.34375-.80225,1.46456,1.46456,0,0,1,1.55859,1.6748v2.915H87.605V12.00586c0-.72363-.31445-1.0835-.97168-1.0835a1.03294,1.03294,0,0,0-1.0752,1.14111v2.63428h-.88867Z",
|
|
937
|
+
fill: "#fff"
|
|
938
|
+
}),
|
|
939
|
+
/* @__PURE__ */ jsx("path", {
|
|
940
|
+
d: "M93.51516,9.07373v1.1416h.97559v.74854h-.97559V13.2793c0,.47168.19434.67822.63672.67822a2.96657,2.96657,0,0,0,.33887-.02051v.74023a2.9155,2.9155,0,0,1-.4834.04541c-.98828,0-1.38184-.34766-1.38184-1.21582v-2.543h-.71484v-.74854h.71484V9.07373Z",
|
|
941
|
+
fill: "#fff"
|
|
942
|
+
}),
|
|
943
|
+
/* @__PURE__ */ jsx("path", {
|
|
944
|
+
d: "M95.70461,8.437h.88086v2.48145h.07031a1.3856,1.3856,0,0,1,1.373-.80664,1.48339,1.48339,0,0,1,1.55078,1.67871v2.90723H98.69v-2.688c0-.71924-.335-1.0835-.96289-1.0835a1.05194,1.05194,0,0,0-1.13379,1.1416v2.62988h-.88867Z",
|
|
945
|
+
fill: "#fff"
|
|
946
|
+
}),
|
|
947
|
+
/* @__PURE__ */ jsx("path", {
|
|
948
|
+
d: "M104.76125,13.48193a1.828,1.828,0,0,1-1.95117,1.30273A2.04531,2.04531,0,0,1,100.73,12.46045a2.07685,2.07685,0,0,1,2.07617-2.35254c1.25293,0,2.00879.856,2.00879,2.27V12.688h-3.17969v.0498a1.1902,1.1902,0,0,0,1.19922,1.29,1.07934,1.07934,0,0,0,1.07129-.5459Zm-3.126-1.45117h2.27441a1.08647,1.08647,0,0,0-1.1084-1.1665A1.15162,1.15162,0,0,0,101.63527,12.03076Z",
|
|
949
|
+
fill: "#fff"
|
|
950
|
+
})
|
|
951
|
+
] }) })] })
|
|
952
|
+
});
|
|
953
|
+
}
|
|
954
|
+
/**
|
|
955
|
+
* Apple's own App Store lockup in the page language; the anchor's aria-label carries the link name.
|
|
956
|
+
*/
|
|
957
|
+
function AppStoreBadgeArt({ lang, ...props }) {
|
|
958
|
+
return lang === "fr" ? /* @__PURE__ */ jsx(AppStoreBadgeArtFr, { ...props }) : /* @__PURE__ */ jsx(AppStoreBadgeArtEn, { ...props });
|
|
959
|
+
}
|
|
960
|
+
const PLAY_BADGE_SRC_FR = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAoYAAADACAMAAACuylITAAABnlBMVEX///9WVlVcWlpfXl1mZWRiYWF6eXhTUlJqaWmbm5tWVVSCgIBeXV1ZV1eJh4d0c3KSkZFmZWSamZqmpqV5d3daWVlHR0ctLS0/Pz4NDg4EBwdubW0ZGhqOjY5kY2JRUE+EgoIjJSU2NjZFRENgXV2ioKCPjI0tLCwQERF/fHz///+2s7PLyck5NzdvbGxSUE/l5OQfHx8SHBUlQi4rVDcxaEAzfEYwqVMZJx4zh0kdMCMzckMznVAJDws1kU0pSzM1oFMcISdLj50jKDFUfb8zPk84RVkiOSktXjtQh641pllGh0grJhu9tjf7vBKHai4QDgrlrR5bSynOnSg3Lx+pgi4eGxNpVCxPQie7jyxDOCN4Xy0eHh02NTQrKilnZWWopaXQzs7o5+d2dHRCQD8PEBBOTEuWk5SXdi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2ia+4AaUF4QHDFzrhFD01iMwpoDENeAuPHMyrkmBs2AmpVrMPIG0ZuZKEGzsm+xgUPTWIx6KJTlg9wwKBsBf72CtTMJNI3mzv4bKzfO31xbgxYHNAh+19ZuXjswIGPbiJkEGjTyPr4CAjG0bzkhBYOm0VzYB5UDoiKzhHFCQIO0fQdwA0rp3LZFkpIUNFF7s7y0AAINtX25mUHk/6M5ZSkbyULVAAAAAElFTkSuQmCC";
|
|
962
|
+
/**
|
|
963
|
+
* Google Play badge PNG in the page language; the anchor's aria-label carries the link name.
|
|
964
|
+
*/
|
|
965
|
+
function PlayStoreBadgeArt({ lang, ...props }) {
|
|
966
|
+
return lang === "fr" ? /* @__PURE__ */ jsx("img", {
|
|
967
|
+
src: PLAY_BADGE_SRC_FR,
|
|
968
|
+
alt: "",
|
|
969
|
+
width: "646",
|
|
970
|
+
height: "192",
|
|
971
|
+
...props
|
|
972
|
+
}) : /* @__PURE__ */ jsx("img", {
|
|
973
|
+
src: PLAY_BADGE_SRC_EN,
|
|
974
|
+
alt: "",
|
|
975
|
+
width: "564",
|
|
976
|
+
height: "168",
|
|
977
|
+
...props
|
|
978
|
+
});
|
|
979
|
+
}
|
|
980
|
+
//#endregion
|
|
981
|
+
//#region src/components/Ambassador/Ambassador.tsx
|
|
982
|
+
const FRAK_URL = "https://frak.id";
|
|
983
|
+
/**
|
|
984
|
+
* SDK config name first, then `og:site_name`, then the bare hostname with a
|
|
985
|
+
* leading `www.` stripped. The replacement runs as a function so `$&` in a
|
|
986
|
+
* merchant's name stays literal instead of reading as a back-reference.
|
|
987
|
+
*/
|
|
988
|
+
function resolveBrandName() {
|
|
989
|
+
return window.FrakSetup?.config?.metadata?.name || document.querySelector("meta[property=\"og:site_name\"]")?.getAttribute("content") || window.location.hostname.replace(/^www\./, "");
|
|
990
|
+
}
|
|
991
|
+
const FIGURE = /^(\D*?)(\d[\d\s.,\u00A0\u202F]*?)(\D*)$/;
|
|
992
|
+
/** Draws the currency of a formatted amount smaller; wording without a figure passes through. */
|
|
993
|
+
function Figure({ amount }) {
|
|
994
|
+
const parts = FIGURE.exec(amount);
|
|
995
|
+
if (!parts) return /* @__PURE__ */ jsx("span", {
|
|
996
|
+
class: `${amountWords} frak-ambassador__amount-words`,
|
|
997
|
+
children: amount
|
|
998
|
+
});
|
|
999
|
+
const [, before, figure, after] = parts;
|
|
1000
|
+
const unit = (text) => text ? /* @__PURE__ */ jsx("small", {
|
|
1001
|
+
class: `${amountUnit} frak-ambassador__amount-unit`,
|
|
1002
|
+
children: text
|
|
1003
|
+
}) : null;
|
|
1004
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
1005
|
+
unit(before),
|
|
1006
|
+
figure,
|
|
1007
|
+
unit(after)
|
|
1008
|
+
] });
|
|
1009
|
+
}
|
|
1010
|
+
function headingText(text) {
|
|
1011
|
+
return text ? /* @__PURE__ */ jsx("span", {
|
|
1012
|
+
class: `${rewardHeadingText} frak-ambassador__reward-heading-text`,
|
|
1013
|
+
children: text
|
|
1014
|
+
}) : null;
|
|
1015
|
+
}
|
|
1016
|
+
function resolveFallbackLabel(prop, defaults, brand) {
|
|
1017
|
+
return prop ? prop.replaceAll("{BRAND}", () => brand) : defaults.rewardFallbackLabel;
|
|
1018
|
+
}
|
|
1019
|
+
/** A `{REWARD}` override with no figure to fill it would read "earn ."; the default copy wins. */
|
|
1020
|
+
function usableOverride(prop, amount) {
|
|
1021
|
+
if (prop === void 0) return void 0;
|
|
1022
|
+
return amount || !prop.includes("{REWARD}") ? prop : void 0;
|
|
1023
|
+
}
|
|
1024
|
+
/**
|
|
1025
|
+
* Splits the reward heading around its amount slot so the `h2` always renders
|
|
1026
|
+
* as one self-contained sentence: amount token in a span when a reward
|
|
1027
|
+
* resolves, the fallback subject in that same span when none does.
|
|
1028
|
+
*/
|
|
1029
|
+
function resolveRewardHeading(defaults, prop, fallbackLabel, reward, brand) {
|
|
1030
|
+
const brandize = (text) => text.replaceAll("{BRAND}", () => brand);
|
|
1031
|
+
const [rewardBefore = "", rewardAfter = ""] = defaults.rewardHeadingReward.split("{REWARD}");
|
|
1032
|
+
const fallbackStart = defaults.rewardHeadingNoReward.indexOf(defaults.rewardFallbackLabel);
|
|
1033
|
+
const override = usableOverride(prop, reward);
|
|
1034
|
+
if (override) return {
|
|
1035
|
+
kind: "override",
|
|
1036
|
+
text: brandize(w(override, reward))
|
|
1037
|
+
};
|
|
1038
|
+
if (reward) return {
|
|
1039
|
+
kind: "parts",
|
|
1040
|
+
before: brandize(rewardBefore),
|
|
1041
|
+
amount: reward,
|
|
1042
|
+
after: brandize(rewardAfter)
|
|
1043
|
+
};
|
|
1044
|
+
return {
|
|
1045
|
+
kind: "parts",
|
|
1046
|
+
before: brandize(fallbackStart >= 0 ? defaults.rewardHeadingNoReward.slice(0, fallbackStart) : defaults.rewardHeadingNoReward),
|
|
1047
|
+
amount: fallbackStart >= 0 ? fallbackLabel : "",
|
|
1048
|
+
after: brandize(fallbackStart >= 0 ? defaults.rewardHeadingNoReward.slice(fallbackStart + defaults.rewardFallbackLabel.length) : "")
|
|
1049
|
+
};
|
|
1050
|
+
}
|
|
1051
|
+
/** A dashboard answer replaces the split one only while no split attribute is set. */
|
|
1052
|
+
function resolveFaq5Answer(dashboardAnswer, splitAttributes, reward, brandize) {
|
|
1053
|
+
if (splitAttributes.some((value) => value !== void 0)) return void 0;
|
|
1054
|
+
const answer = usableOverride(dashboardAnswer, reward);
|
|
1055
|
+
return answer === void 0 ? void 0 : brandize(w(answer, reward));
|
|
1056
|
+
}
|
|
1057
|
+
/** Closed gate means no pill; a `{REWARD}` override without a figure falls back to the words. */
|
|
1058
|
+
function resolveHeroPill(defaults, prop, hasRefereeReward, refereeReward, brand) {
|
|
1059
|
+
if (!hasRefereeReward) return null;
|
|
1060
|
+
const brandize = (text) => text.replaceAll("{BRAND}", () => brand);
|
|
1061
|
+
const override = usableOverride(prop, refereeReward);
|
|
1062
|
+
if (override) return brandize(w(override, refereeReward));
|
|
1063
|
+
return refereeReward ? w(defaults.heroRewardRefereePill, refereeReward) : defaults.heroRewardRefereePillNoReward;
|
|
1064
|
+
}
|
|
1065
|
+
const DASHBOARD_FIELDS = [
|
|
1066
|
+
"heroTitle",
|
|
1067
|
+
"heroLede",
|
|
1068
|
+
"heroRewardCaption",
|
|
1069
|
+
"heroCtaLabel",
|
|
1070
|
+
"heroImageUrl",
|
|
1071
|
+
"rewardHeading",
|
|
1072
|
+
"rewardLede",
|
|
1073
|
+
"rewardCtaLabel",
|
|
1074
|
+
"referralCtaLabel",
|
|
1075
|
+
"faq1Question",
|
|
1076
|
+
"faq1Answer",
|
|
1077
|
+
"faq2Question",
|
|
1078
|
+
"faq2Answer",
|
|
1079
|
+
"faq3Question",
|
|
1080
|
+
"faq3Answer",
|
|
1081
|
+
"faq4Question",
|
|
1082
|
+
"faq4Answer",
|
|
1083
|
+
"faq5Question"
|
|
1084
|
+
];
|
|
1085
|
+
/**
|
|
1086
|
+
* Full-page ambassador: hero, reward, explainer, win-win, referral, store, FAQ;
|
|
1087
|
+
* `isHidden` alone suppresses it. Theme it with the twenty-two `--frak-amb-*`
|
|
1088
|
+
* properties, which outrank the sampled host theme; classes are best-effort.
|
|
1089
|
+
*
|
|
1090
|
+
* @group components
|
|
1091
|
+
* @example `<frak-ambassador></frak-ambassador>`
|
|
1092
|
+
*/
|
|
1093
|
+
function Ambassador(props) {
|
|
1094
|
+
const dashboard = useGlobalComponents()?.ambassador;
|
|
1095
|
+
const merged = {
|
|
1096
|
+
...props,
|
|
1097
|
+
faq5Answer: dashboard?.faq5Answer
|
|
1098
|
+
};
|
|
1099
|
+
for (const field of DASHBOARD_FIELDS) merged[field] = props[field] ?? dashboard?.[field];
|
|
1100
|
+
return /* @__PURE__ */ jsx(AmbassadorPage, { ...merged });
|
|
1101
|
+
}
|
|
1102
|
+
function AmbassadorPage({ merchantId: propMerchantId, classname = "", heroTitle: propHeroTitle, heroEyebrow: propHeroEyebrow, heroLede: propHeroLede, heroCtaLabel: propHeroCtaLabel, heroFacesCaption: propHeroFacesCaption, heroImageUrl, heroImageAlt: propHeroImageAlt, heroRewardCaption: propHeroRewardCaption, heroRewardRefereePill: propHeroRewardRefereePill, rewardEyebrow: propRewardEyebrow, rewardHeading: propRewardHeading, rewardEstimateCaption: propRewardEstimateCaption, rewardLede: propRewardLede, rewardCtaLabel: propRewardCtaLabel, rewardFooterCaption: propRewardFooterCaption, rewardNoBankDetails: propRewardNoBankDetails, rewardFallbackLabel: propRewardFallbackLabel, explainerTitle: propExplainerTitle, explainerLede: propExplainerLede, step1Title: propStep1Title, step1Description: propStep1Description, step1ImageUrl, step1ImageAlt: propStep1ImageAlt, step2Title: propStep2Title, step2Description: propStep2Description, step2ImageUrl, step2ImageAlt: propStep2ImageAlt, step3Title: propStep3Title, step3Description: propStep3Description, step3ImageUrl, step3ImageAlt: propStep3ImageAlt, winWinHeading: propWinWinHeading, winWinLede: propWinWinLede, winWinCard1Title: propWinWinCard1Title, winWinCard1Description: propWinWinCard1Description, winWinCard2Title: propWinWinCard2Title, winWinCard2Description: propWinWinCard2Description, referralHeading: propReferralHeading, referralLede: propReferralLede, referralCtaLabel: propReferralCtaLabel, storeHeading: propStoreHeading, storeLede: propStoreLede, storeAppBadgeAriaLabel: propStoreAppBadgeAriaLabel, storePlayBadgeAriaLabel: propStorePlayBadgeAriaLabel, storeQrLabel: propStoreQrLabel, storeQrCaption: propStoreQrCaption, faqHeading: propFaqHeading, faq1Question: propFaq1Question, faq1Answer: propFaq1Answer, faq2Question: propFaq2Question, faq2Answer: propFaq2Answer, faq3Question: propFaq3Question, faq3Answer: propFaq3Answer, faq4Question: propFaq4Question, faq4Answer: propFaq4Answer, faq5Question: propFaq5Question, faq5AnswerBeforeLink: propFaq5AnswerBeforeLink, faq5AnswerLinkText: propFaq5AnswerLinkText, faq5AnswerAfterLink: propFaq5AnswerAfterLink, attributionBeforeLink: propAttributionBeforeLink, attributionLinkText: propAttributionLinkText, faq5Answer: dashboardFaq5Answer }) {
|
|
1103
|
+
const { isHidden, isClientReady } = useClientReady();
|
|
1104
|
+
const lang = useLang();
|
|
1105
|
+
const rootRef = useRef(null);
|
|
1106
|
+
useHostTheme(rootRef);
|
|
1107
|
+
useLightDomStyles("frak-ambassador", void 0, void 0, cssSource, cssSource$2);
|
|
1108
|
+
const { reward: reward$1 } = useReward(isClientReady, void 0, "referrer");
|
|
1109
|
+
const { reward: refereeReward, hasReward: hasRefereeReward } = useReward(isClientReady, void 0, "referee");
|
|
1110
|
+
const [installUrl, setInstallUrl] = useState(void 0);
|
|
1111
|
+
const [failedHeroUrl, setFailedHeroUrl] = useState();
|
|
1112
|
+
useEffect(() => {
|
|
1113
|
+
let cancelled = false;
|
|
1114
|
+
getInstallUrl({ merchantId: propMerchantId }).then((url) => {
|
|
1115
|
+
if (!cancelled) setInstallUrl(url);
|
|
1116
|
+
}).catch((error) => console.error("Frak install link failed", error));
|
|
1117
|
+
return () => {
|
|
1118
|
+
cancelled = true;
|
|
1119
|
+
};
|
|
1120
|
+
}, [propMerchantId, isClientReady]);
|
|
1121
|
+
const handleShare = useCallback(() => {
|
|
1122
|
+
if (!isClientReady) return;
|
|
1123
|
+
openSharingPage();
|
|
1124
|
+
}, [isClientReady]);
|
|
1125
|
+
const brand = resolveBrandName();
|
|
1126
|
+
const inert = installUrl === void 0;
|
|
1127
|
+
const texts = useMemo(() => {
|
|
1128
|
+
const defaults = componentDefaults[lang].ambassador;
|
|
1129
|
+
const brandize = (text) => text.replaceAll("{BRAND}", () => brand);
|
|
1130
|
+
const resolve = (prop, fallback) => brandize(w(usableOverride(prop, reward$1) ?? fallback, reward$1));
|
|
1131
|
+
const fallbackLabel = resolveFallbackLabel(propRewardFallbackLabel, defaults, brand);
|
|
1132
|
+
const heroAmountText = reward$1 ?? fallbackLabel;
|
|
1133
|
+
const rewardHeadingResolved = resolveRewardHeading(defaults, propRewardHeading, fallbackLabel, reward$1, brand);
|
|
1134
|
+
const heroPillText = resolveHeroPill(defaults, propHeroRewardRefereePill, hasRefereeReward, refereeReward, brand);
|
|
1135
|
+
const resolveFriend = (prop, fallback) => brandize(w(usableOverride(prop, refereeReward) ?? fallback, refereeReward));
|
|
1136
|
+
const gated = (prop, perk, plain) => hasRefereeReward ? resolveFriend(prop, perk) : resolve(void 0, plain);
|
|
1137
|
+
const steps = [
|
|
1138
|
+
{
|
|
1139
|
+
title: resolve(propStep1Title, defaults.explainerStep1Title),
|
|
1140
|
+
description: resolve(propStep1Description, defaults.explainerStep1Description),
|
|
1141
|
+
imageUrl: step1ImageUrl,
|
|
1142
|
+
imageAlt: propStep1ImageAlt
|
|
1143
|
+
},
|
|
1144
|
+
{
|
|
1145
|
+
title: resolve(propStep2Title, defaults.explainerStep2Title),
|
|
1146
|
+
description: resolve(propStep2Description, defaults.explainerStep2Description),
|
|
1147
|
+
imageUrl: step2ImageUrl,
|
|
1148
|
+
imageAlt: propStep2ImageAlt
|
|
1149
|
+
},
|
|
1150
|
+
{
|
|
1151
|
+
title: resolve(propStep3Title, defaults.explainerStep3Title),
|
|
1152
|
+
description: resolve(propStep3Description, defaults.explainerStep3Description),
|
|
1153
|
+
imageUrl: step3ImageUrl,
|
|
1154
|
+
imageAlt: propStep3ImageAlt
|
|
1155
|
+
}
|
|
1156
|
+
];
|
|
1157
|
+
const winWinCards = [{
|
|
1158
|
+
title: resolve(propWinWinCard1Title, defaults.winWinCard1Title),
|
|
1159
|
+
amount: heroAmountText,
|
|
1160
|
+
description: resolve(propWinWinCard1Description, defaults.winWinCard1Description)
|
|
1161
|
+
}, {
|
|
1162
|
+
title: resolve(propWinWinCard2Title, defaults.winWinCard2Title),
|
|
1163
|
+
amount: refereeReward ?? fallbackLabel,
|
|
1164
|
+
description: resolveFriend(propWinWinCard2Description, defaults.winWinCard2Description)
|
|
1165
|
+
}];
|
|
1166
|
+
const faqs = [
|
|
1167
|
+
{
|
|
1168
|
+
question: resolve(propFaq1Question, defaults.faq1Question),
|
|
1169
|
+
answer: resolve(propFaq1Answer, defaults.faq1Answer)
|
|
1170
|
+
},
|
|
1171
|
+
{
|
|
1172
|
+
question: resolve(propFaq2Question, defaults.faq2Question),
|
|
1173
|
+
answer: resolve(propFaq2Answer, defaults.faq2Answer)
|
|
1174
|
+
},
|
|
1175
|
+
{
|
|
1176
|
+
question: resolve(propFaq3Question, defaults.faq3Question),
|
|
1177
|
+
answer: gated(propFaq3Answer, defaults.faq3Answer, defaults.faq3AnswerNoReward)
|
|
1178
|
+
},
|
|
1179
|
+
{
|
|
1180
|
+
question: resolve(propFaq4Question, defaults.faq4Question),
|
|
1181
|
+
answer: resolve(propFaq4Answer, defaults.faq4Answer)
|
|
1182
|
+
}
|
|
1183
|
+
];
|
|
1184
|
+
return {
|
|
1185
|
+
heroEyebrow: resolve(propHeroEyebrow, defaults.heroEyebrow),
|
|
1186
|
+
heroTitle: resolve(propHeroTitle, defaults.heroHeadline),
|
|
1187
|
+
heroLede: resolve(propHeroLede, reward$1 ? defaults.heroLedeReward : defaults.heroLede),
|
|
1188
|
+
heroCtaLabel: resolve(propHeroCtaLabel, defaults.heroCtaLabel),
|
|
1189
|
+
heroFacesCaption: resolve(propHeroFacesCaption, defaults.heroFacesCaption),
|
|
1190
|
+
heroImageAlt: resolve(propHeroImageAlt, defaults.heroImageAlt),
|
|
1191
|
+
heroRewardCaption: resolve(propHeroRewardCaption, defaults.heroRewardCaption),
|
|
1192
|
+
heroAmount: heroAmountText,
|
|
1193
|
+
heroPill: heroPillText,
|
|
1194
|
+
rewardEyebrow: resolve(propRewardEyebrow, defaults.rewardEyebrow),
|
|
1195
|
+
rewardHeading: rewardHeadingResolved,
|
|
1196
|
+
rewardEstimateCaption: resolve(propRewardEstimateCaption, defaults.rewardEstimateCaption),
|
|
1197
|
+
rewardLede: resolve(propRewardLede, defaults.rewardLede),
|
|
1198
|
+
rewardCtaLabel: resolve(propRewardCtaLabel, defaults.rewardCtaLabel),
|
|
1199
|
+
rewardFooterCaption: [resolve(propRewardFooterCaption, defaults.rewardFooterCaption), resolve(propRewardNoBankDetails, defaults.rewardNoBankDetails)].filter(Boolean).join(" · "),
|
|
1200
|
+
explainerTitle: resolve(propExplainerTitle, defaults.explainerTitle),
|
|
1201
|
+
explainerLede: resolve(propExplainerLede, defaults.explainerLede),
|
|
1202
|
+
steps,
|
|
1203
|
+
showWinWin: hasRefereeReward,
|
|
1204
|
+
winWinHeading: resolve(propWinWinHeading, defaults.winWinHeading),
|
|
1205
|
+
winWinLede: resolve(propWinWinLede, defaults.winWinLede),
|
|
1206
|
+
winWinCards,
|
|
1207
|
+
referralHeading: resolve(propReferralHeading, defaults.referralHeading),
|
|
1208
|
+
referralLede: resolve(propReferralLede, defaults.referralLede),
|
|
1209
|
+
referralCtaLabel: resolve(propReferralCtaLabel, defaults.referralCtaLabel),
|
|
1210
|
+
storeHeading: resolve(propStoreHeading, defaults.storeHeading),
|
|
1211
|
+
storeLede: resolve(propStoreLede, defaults.storeLede),
|
|
1212
|
+
storeAppBadgeAriaLabel: resolve(propStoreAppBadgeAriaLabel, defaults.storeAppBadgeAriaLabel),
|
|
1213
|
+
storePlayBadgeAriaLabel: resolve(propStorePlayBadgeAriaLabel, defaults.storePlayBadgeAriaLabel),
|
|
1214
|
+
storeQrLabel: resolve(propStoreQrLabel, defaults.storeQrLabel),
|
|
1215
|
+
storeQrCaption: resolve(propStoreQrCaption, defaults.storeQrCaption),
|
|
1216
|
+
faqHeading: resolve(propFaqHeading, defaults.faqHeading),
|
|
1217
|
+
faqs,
|
|
1218
|
+
faq5Question: resolve(propFaq5Question, defaults.faq5Question),
|
|
1219
|
+
faq5Answer: resolveFaq5Answer(dashboardFaq5Answer, [
|
|
1220
|
+
propFaq5AnswerBeforeLink,
|
|
1221
|
+
propFaq5AnswerLinkText,
|
|
1222
|
+
propFaq5AnswerAfterLink
|
|
1223
|
+
], reward$1, brandize),
|
|
1224
|
+
faq5AnswerBeforeLink: resolve(propFaq5AnswerBeforeLink, defaults.faq5AnswerBeforeLink),
|
|
1225
|
+
faq5AnswerLinkText: resolve(propFaq5AnswerLinkText, defaults.faq5AnswerLinkText),
|
|
1226
|
+
faq5AnswerAfterLink: resolve(propFaq5AnswerAfterLink, defaults.faq5AnswerAfterLink),
|
|
1227
|
+
attributionBeforeLink: resolve(propAttributionBeforeLink, defaults.attributionBeforeLink),
|
|
1228
|
+
attributionLinkText: resolve(propAttributionLinkText, defaults.attributionLinkText)
|
|
1229
|
+
};
|
|
1230
|
+
}, [
|
|
1231
|
+
lang,
|
|
1232
|
+
reward$1,
|
|
1233
|
+
refereeReward,
|
|
1234
|
+
hasRefereeReward,
|
|
1235
|
+
brand,
|
|
1236
|
+
propHeroTitle,
|
|
1237
|
+
propHeroEyebrow,
|
|
1238
|
+
propHeroLede,
|
|
1239
|
+
propHeroCtaLabel,
|
|
1240
|
+
propHeroFacesCaption,
|
|
1241
|
+
propHeroImageAlt,
|
|
1242
|
+
propHeroRewardCaption,
|
|
1243
|
+
propHeroRewardRefereePill,
|
|
1244
|
+
propRewardEyebrow,
|
|
1245
|
+
propRewardHeading,
|
|
1246
|
+
propRewardEstimateCaption,
|
|
1247
|
+
propRewardLede,
|
|
1248
|
+
propRewardCtaLabel,
|
|
1249
|
+
propRewardFooterCaption,
|
|
1250
|
+
propRewardNoBankDetails,
|
|
1251
|
+
propRewardFallbackLabel,
|
|
1252
|
+
propExplainerTitle,
|
|
1253
|
+
propExplainerLede,
|
|
1254
|
+
propStep1Title,
|
|
1255
|
+
propStep1Description,
|
|
1256
|
+
step1ImageUrl,
|
|
1257
|
+
propStep1ImageAlt,
|
|
1258
|
+
propStep2Title,
|
|
1259
|
+
propStep2Description,
|
|
1260
|
+
step2ImageUrl,
|
|
1261
|
+
propStep2ImageAlt,
|
|
1262
|
+
propStep3Title,
|
|
1263
|
+
propStep3Description,
|
|
1264
|
+
step3ImageUrl,
|
|
1265
|
+
propStep3ImageAlt,
|
|
1266
|
+
propWinWinHeading,
|
|
1267
|
+
propWinWinLede,
|
|
1268
|
+
propWinWinCard1Title,
|
|
1269
|
+
propWinWinCard1Description,
|
|
1270
|
+
propWinWinCard2Title,
|
|
1271
|
+
propWinWinCard2Description,
|
|
1272
|
+
propReferralHeading,
|
|
1273
|
+
propReferralLede,
|
|
1274
|
+
propReferralCtaLabel,
|
|
1275
|
+
propStoreHeading,
|
|
1276
|
+
propStoreLede,
|
|
1277
|
+
propStoreAppBadgeAriaLabel,
|
|
1278
|
+
propStorePlayBadgeAriaLabel,
|
|
1279
|
+
propStoreQrLabel,
|
|
1280
|
+
propStoreQrCaption,
|
|
1281
|
+
propFaqHeading,
|
|
1282
|
+
propFaq1Question,
|
|
1283
|
+
propFaq1Answer,
|
|
1284
|
+
propFaq2Question,
|
|
1285
|
+
propFaq2Answer,
|
|
1286
|
+
propFaq3Question,
|
|
1287
|
+
propFaq3Answer,
|
|
1288
|
+
propFaq4Question,
|
|
1289
|
+
propFaq4Answer,
|
|
1290
|
+
propFaq5Question,
|
|
1291
|
+
propFaq5AnswerBeforeLink,
|
|
1292
|
+
propFaq5AnswerLinkText,
|
|
1293
|
+
propFaq5AnswerAfterLink,
|
|
1294
|
+
propAttributionBeforeLink,
|
|
1295
|
+
propAttributionLinkText,
|
|
1296
|
+
dashboardFaq5Answer
|
|
1297
|
+
]);
|
|
1298
|
+
if (isHidden) return null;
|
|
1299
|
+
const showHeroImage = Boolean(heroImageUrl) && heroImageUrl !== failedHeroUrl;
|
|
1300
|
+
const rootClass = [
|
|
1301
|
+
root,
|
|
1302
|
+
"frak-ambassador",
|
|
1303
|
+
classname
|
|
1304
|
+
].filter(Boolean).join(" ");
|
|
1305
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
1306
|
+
ref: rootRef,
|
|
1307
|
+
class: rootClass,
|
|
1308
|
+
lang,
|
|
1309
|
+
children: [
|
|
1310
|
+
/* @__PURE__ */ jsxs("section", {
|
|
1311
|
+
class: `${hero} frak-ambassador__hero`,
|
|
1312
|
+
children: [/* @__PURE__ */ jsxs("div", {
|
|
1313
|
+
class: `${heroBody} frak-ambassador__hero-body`,
|
|
1314
|
+
children: [
|
|
1315
|
+
/* @__PURE__ */ jsx("p", {
|
|
1316
|
+
class: `${heroEyebrow} frak-ambassador__hero-eyebrow`,
|
|
1317
|
+
children: texts.heroEyebrow
|
|
1318
|
+
}),
|
|
1319
|
+
/* @__PURE__ */ jsx("h1", {
|
|
1320
|
+
class: `${heroTitle} frak-ambassador__hero-title`,
|
|
1321
|
+
children: texts.heroTitle
|
|
1322
|
+
}),
|
|
1323
|
+
/* @__PURE__ */ jsx("p", {
|
|
1324
|
+
class: `${heroLede} frak-ambassador__hero-lede`,
|
|
1325
|
+
children: texts.heroLede
|
|
1326
|
+
}),
|
|
1327
|
+
/* @__PURE__ */ jsx("button", {
|
|
1328
|
+
type: "button",
|
|
1329
|
+
class: `${heroCta} frak-ambassador__hero-cta`,
|
|
1330
|
+
disabled: !isClientReady,
|
|
1331
|
+
onClick: handleShare,
|
|
1332
|
+
children: texts.heroCtaLabel
|
|
1333
|
+
}),
|
|
1334
|
+
/* @__PURE__ */ jsx("p", {
|
|
1335
|
+
class: `${heroFaces} frak-ambassador__hero-faces`,
|
|
1336
|
+
children: texts.heroFacesCaption
|
|
1337
|
+
})
|
|
1338
|
+
]
|
|
1339
|
+
}), /* @__PURE__ */ jsxs("div", {
|
|
1340
|
+
class: showHeroImage ? `${heroArt} ${heroArtFramed} frak-ambassador__hero-art frak-ambassador__hero-art--framed` : `${heroArt} frak-ambassador__hero-art`,
|
|
1341
|
+
children: [showHeroImage ? /* @__PURE__ */ jsx("img", {
|
|
1342
|
+
src: heroImageUrl,
|
|
1343
|
+
alt: texts.heroImageAlt,
|
|
1344
|
+
class: `${heroImage} frak-ambassador__hero-image`,
|
|
1345
|
+
onError: () => setFailedHeroUrl(heroImageUrl)
|
|
1346
|
+
}) : null, /* @__PURE__ */ jsxs("div", {
|
|
1347
|
+
class: `${heroTag} frak-ambassador__hero-tag`,
|
|
1348
|
+
children: [/* @__PURE__ */ jsxs("div", {
|
|
1349
|
+
class: `${heroTagMain} frak-ambassador__hero-tag-main`,
|
|
1350
|
+
children: [
|
|
1351
|
+
/* @__PURE__ */ jsx("b", {
|
|
1352
|
+
class: `${heroAmount} frak-ambassador__hero-amount`,
|
|
1353
|
+
children: texts.heroAmount
|
|
1354
|
+
}),
|
|
1355
|
+
" ",
|
|
1356
|
+
/* @__PURE__ */ jsx("small", {
|
|
1357
|
+
class: `${heroRewardCaption} frak-ambassador__hero-reward-caption`,
|
|
1358
|
+
children: texts.heroRewardCaption
|
|
1359
|
+
})
|
|
1360
|
+
]
|
|
1361
|
+
}), texts.heroPill ? /* @__PURE__ */ jsx("span", {
|
|
1362
|
+
class: `${heroPill} frak-ambassador__hero-pill`,
|
|
1363
|
+
children: texts.heroPill
|
|
1364
|
+
}) : null]
|
|
1365
|
+
})]
|
|
1366
|
+
})]
|
|
1367
|
+
}),
|
|
1368
|
+
/* @__PURE__ */ jsxs("section", {
|
|
1369
|
+
class: `${reward} frak-ambassador__reward`,
|
|
1370
|
+
children: [
|
|
1371
|
+
/* @__PURE__ */ jsx("p", {
|
|
1372
|
+
class: `${rewardEyebrow} frak-ambassador__reward-eyebrow`,
|
|
1373
|
+
children: texts.rewardEyebrow
|
|
1374
|
+
}),
|
|
1375
|
+
/* @__PURE__ */ jsx("h2", {
|
|
1376
|
+
class: `${rewardHeading} frak-ambassador__reward-heading`,
|
|
1377
|
+
children: texts.rewardHeading.kind === "override" ? headingText(texts.rewardHeading.text) : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
1378
|
+
headingText(texts.rewardHeading.before),
|
|
1379
|
+
/* @__PURE__ */ jsx("span", {
|
|
1380
|
+
class: `${rewardAmount} frak-ambassador__reward-amount`,
|
|
1381
|
+
children: /* @__PURE__ */ jsx(Figure, { amount: texts.rewardHeading.amount })
|
|
1382
|
+
}),
|
|
1383
|
+
headingText(texts.rewardHeading.after)
|
|
1384
|
+
] })
|
|
1385
|
+
}),
|
|
1386
|
+
/* @__PURE__ */ jsx("p", {
|
|
1387
|
+
class: `${rewardCaption} frak-ambassador__reward-caption`,
|
|
1388
|
+
children: texts.rewardEstimateCaption
|
|
1389
|
+
}),
|
|
1390
|
+
/* @__PURE__ */ jsx("p", {
|
|
1391
|
+
class: `${rewardLede} frak-ambassador__reward-lede`,
|
|
1392
|
+
children: texts.rewardLede
|
|
1393
|
+
}),
|
|
1394
|
+
/* @__PURE__ */ jsx("button", {
|
|
1395
|
+
type: "button",
|
|
1396
|
+
class: `${rewardCta} frak-ambassador__reward-cta`,
|
|
1397
|
+
disabled: !isClientReady,
|
|
1398
|
+
onClick: handleShare,
|
|
1399
|
+
children: texts.rewardCtaLabel
|
|
1400
|
+
}),
|
|
1401
|
+
/* @__PURE__ */ jsx("p", {
|
|
1402
|
+
class: `${rewardFooter} frak-ambassador__reward-footer`,
|
|
1403
|
+
children: texts.rewardFooterCaption
|
|
1404
|
+
})
|
|
1405
|
+
]
|
|
1406
|
+
}),
|
|
1407
|
+
/* @__PURE__ */ jsxs("section", {
|
|
1408
|
+
class: `${steps} frak-ambassador__steps`,
|
|
1409
|
+
children: [
|
|
1410
|
+
/* @__PURE__ */ jsx("h2", {
|
|
1411
|
+
class: `${stepsTitle} frak-ambassador__steps-title`,
|
|
1412
|
+
children: texts.explainerTitle
|
|
1413
|
+
}),
|
|
1414
|
+
/* @__PURE__ */ jsx("p", {
|
|
1415
|
+
class: `${stepsLede} frak-ambassador__steps-lede`,
|
|
1416
|
+
children: texts.explainerLede
|
|
1417
|
+
}),
|
|
1418
|
+
/* @__PURE__ */ jsx("div", {
|
|
1419
|
+
class: `${stepsGrid} frak-ambassador__steps-grid`,
|
|
1420
|
+
children: texts.steps.map(({ title, description, imageUrl, imageAlt }, index) => /* @__PURE__ */ jsxs("div", {
|
|
1421
|
+
class: `${step} frak-ambassador__step`,
|
|
1422
|
+
children: [
|
|
1423
|
+
imageUrl ? /* @__PURE__ */ jsx("img", {
|
|
1424
|
+
src: imageUrl,
|
|
1425
|
+
alt: imageAlt ?? title,
|
|
1426
|
+
class: `${stepIcon} frak-ambassador__step-icon`
|
|
1427
|
+
}) : /* @__PURE__ */ jsx("p", {
|
|
1428
|
+
class: `${stepNumber} frak-ambassador__step-number`,
|
|
1429
|
+
"aria-hidden": "true",
|
|
1430
|
+
children: index + 1
|
|
1431
|
+
}),
|
|
1432
|
+
/* @__PURE__ */ jsx("h3", {
|
|
1433
|
+
class: `${stepTitle} frak-ambassador__step-title`,
|
|
1434
|
+
children: title
|
|
1435
|
+
}),
|
|
1436
|
+
/* @__PURE__ */ jsx("p", {
|
|
1437
|
+
class: `${stepDescription} frak-ambassador__step-description`,
|
|
1438
|
+
children: description
|
|
1439
|
+
})
|
|
1440
|
+
]
|
|
1441
|
+
}, title))
|
|
1442
|
+
})
|
|
1443
|
+
]
|
|
1444
|
+
}),
|
|
1445
|
+
texts.showWinWin ? /* @__PURE__ */ jsxs("section", {
|
|
1446
|
+
class: `${winWin} frak-ambassador__win-win`,
|
|
1447
|
+
children: [
|
|
1448
|
+
/* @__PURE__ */ jsx("h2", {
|
|
1449
|
+
class: `${winWinTitle} frak-ambassador__win-win-title`,
|
|
1450
|
+
children: texts.winWinHeading
|
|
1451
|
+
}),
|
|
1452
|
+
/* @__PURE__ */ jsx("p", {
|
|
1453
|
+
class: `${winWinLede} frak-ambassador__win-win-lede`,
|
|
1454
|
+
children: texts.winWinLede
|
|
1455
|
+
}),
|
|
1456
|
+
/* @__PURE__ */ jsx("div", {
|
|
1457
|
+
class: `${winWinCards} frak-ambassador__win-win-cards`,
|
|
1458
|
+
children: texts.winWinCards.map(({ title, amount, description }) => /* @__PURE__ */ jsxs("div", {
|
|
1459
|
+
class: `${winWinCard} frak-ambassador__win-win-card`,
|
|
1460
|
+
children: [
|
|
1461
|
+
/* @__PURE__ */ jsx("p", {
|
|
1462
|
+
class: `${winWinCardLabel} frak-ambassador__win-win-card-label`,
|
|
1463
|
+
children: title
|
|
1464
|
+
}),
|
|
1465
|
+
/* @__PURE__ */ jsx("p", {
|
|
1466
|
+
class: `${winWinCardAmount} frak-ambassador__win-win-card-amount`,
|
|
1467
|
+
children: /* @__PURE__ */ jsx(Figure, { amount })
|
|
1468
|
+
}),
|
|
1469
|
+
/* @__PURE__ */ jsx("p", {
|
|
1470
|
+
class: `${winWinCardDescription} frak-ambassador__win-win-card-description`,
|
|
1471
|
+
children: description
|
|
1472
|
+
})
|
|
1473
|
+
]
|
|
1474
|
+
}, title))
|
|
1475
|
+
})
|
|
1476
|
+
]
|
|
1477
|
+
}) : null,
|
|
1478
|
+
/* @__PURE__ */ jsxs("section", {
|
|
1479
|
+
class: `${referral} frak-ambassador__referral`,
|
|
1480
|
+
children: [
|
|
1481
|
+
/* @__PURE__ */ jsx("h2", {
|
|
1482
|
+
class: `${referralTitle} frak-ambassador__referral-title`,
|
|
1483
|
+
children: texts.referralHeading
|
|
1484
|
+
}),
|
|
1485
|
+
/* @__PURE__ */ jsx("p", {
|
|
1486
|
+
class: `${referralLede} frak-ambassador__referral-lede`,
|
|
1487
|
+
children: texts.referralLede
|
|
1488
|
+
}),
|
|
1489
|
+
/* @__PURE__ */ jsx("button", {
|
|
1490
|
+
type: "button",
|
|
1491
|
+
class: `${referralCta} frak-ambassador__referral-cta`,
|
|
1492
|
+
disabled: !isClientReady,
|
|
1493
|
+
onClick: handleShare,
|
|
1494
|
+
children: texts.referralCtaLabel
|
|
1495
|
+
})
|
|
1496
|
+
]
|
|
1497
|
+
}),
|
|
1498
|
+
/* @__PURE__ */ jsxs("section", {
|
|
1499
|
+
class: `${store} frak-ambassador__store`,
|
|
1500
|
+
children: [/* @__PURE__ */ jsxs("div", {
|
|
1501
|
+
class: `${storeBody} frak-ambassador__store-body`,
|
|
1502
|
+
children: [
|
|
1503
|
+
/* @__PURE__ */ jsx("h2", {
|
|
1504
|
+
class: `${storeTitle} frak-ambassador__store-title`,
|
|
1505
|
+
children: texts.storeHeading
|
|
1506
|
+
}),
|
|
1507
|
+
/* @__PURE__ */ jsx("p", {
|
|
1508
|
+
class: `${storeLede} frak-ambassador__store-lede`,
|
|
1509
|
+
children: texts.storeLede
|
|
1510
|
+
}),
|
|
1511
|
+
/* @__PURE__ */ jsxs("div", {
|
|
1512
|
+
class: `${storeBadges} frak-ambassador__store-badges`,
|
|
1513
|
+
children: [/* @__PURE__ */ jsx("a", {
|
|
1514
|
+
class: `${storeBadge} frak-ambassador__store-badge frak-ambassador__store-badge--app`,
|
|
1515
|
+
"aria-label": texts.storeAppBadgeAriaLabel,
|
|
1516
|
+
href: installUrl,
|
|
1517
|
+
role: inert ? "link" : void 0,
|
|
1518
|
+
tabIndex: inert ? 0 : void 0,
|
|
1519
|
+
"aria-disabled": inert ? "true" : void 0,
|
|
1520
|
+
children: /* @__PURE__ */ jsx(AppStoreBadgeArt, {
|
|
1521
|
+
lang,
|
|
1522
|
+
class: `${storeBadgeArt} frak-ambassador__store-badge-art`
|
|
1523
|
+
})
|
|
1524
|
+
}), /* @__PURE__ */ jsx("a", {
|
|
1525
|
+
class: `${storeBadge} frak-ambassador__store-badge frak-ambassador__store-badge--play`,
|
|
1526
|
+
"aria-label": texts.storePlayBadgeAriaLabel,
|
|
1527
|
+
href: installUrl,
|
|
1528
|
+
role: inert ? "link" : void 0,
|
|
1529
|
+
tabIndex: inert ? 0 : void 0,
|
|
1530
|
+
"aria-disabled": inert ? "true" : void 0,
|
|
1531
|
+
children: /* @__PURE__ */ jsx(PlayStoreBadgeArt, {
|
|
1532
|
+
lang,
|
|
1533
|
+
class: `${storeBadgeArt} frak-ambassador__store-badge-art`
|
|
1534
|
+
})
|
|
1535
|
+
})]
|
|
1536
|
+
})
|
|
1537
|
+
]
|
|
1538
|
+
}), /* @__PURE__ */ jsx(InstallQr, {
|
|
1539
|
+
url: installUrl,
|
|
1540
|
+
label: texts.storeQrLabel,
|
|
1541
|
+
caption: texts.storeQrCaption,
|
|
1542
|
+
class: `${storeQr} frak-ambassador__store-qr`,
|
|
1543
|
+
captionClass: `${storeQrCaption} frak-ambassador__store-qr-caption`
|
|
1544
|
+
})]
|
|
1545
|
+
}),
|
|
1546
|
+
/* @__PURE__ */ jsxs("section", {
|
|
1547
|
+
class: `${faq} frak-ambassador__faq`,
|
|
1548
|
+
children: [
|
|
1549
|
+
/* @__PURE__ */ jsx("h2", {
|
|
1550
|
+
class: `${faqTitle} frak-ambassador__faq-title`,
|
|
1551
|
+
children: texts.faqHeading
|
|
1552
|
+
}),
|
|
1553
|
+
texts.faqs.map((entry, index) => /* @__PURE__ */ jsxs("details", {
|
|
1554
|
+
class: `${faqItem} frak-ambassador__faq-item`,
|
|
1555
|
+
open: index === 0,
|
|
1556
|
+
children: [/* @__PURE__ */ jsx("summary", {
|
|
1557
|
+
class: `${faqQuestion} frak-ambassador__faq-question`,
|
|
1558
|
+
children: entry.question
|
|
1559
|
+
}), /* @__PURE__ */ jsx("p", {
|
|
1560
|
+
class: `${faqAnswer} frak-ambassador__faq-answer`,
|
|
1561
|
+
children: entry.answer
|
|
1562
|
+
})]
|
|
1563
|
+
}, entry.question)),
|
|
1564
|
+
/* @__PURE__ */ jsxs("details", {
|
|
1565
|
+
class: `${faqItem} frak-ambassador__faq-item`,
|
|
1566
|
+
children: [/* @__PURE__ */ jsx("summary", {
|
|
1567
|
+
class: `${faqQuestion} frak-ambassador__faq-question`,
|
|
1568
|
+
children: texts.faq5Question
|
|
1569
|
+
}), /* @__PURE__ */ jsx("p", {
|
|
1570
|
+
class: `${faqAnswer} frak-ambassador__faq-answer`,
|
|
1571
|
+
children: texts.faq5Answer ?? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
1572
|
+
texts.faq5AnswerBeforeLink,
|
|
1573
|
+
/* @__PURE__ */ jsx("a", {
|
|
1574
|
+
class: `Ambassador_frakLink__awpcg019 frak-ambassador__faq-answer-link frak-link`,
|
|
1575
|
+
href: FRAK_URL,
|
|
1576
|
+
target: "_blank",
|
|
1577
|
+
rel: "noopener",
|
|
1578
|
+
children: texts.faq5AnswerLinkText
|
|
1579
|
+
}),
|
|
1580
|
+
texts.faq5AnswerAfterLink
|
|
1581
|
+
] })
|
|
1582
|
+
})]
|
|
1583
|
+
}),
|
|
1584
|
+
/* @__PURE__ */ jsxs("p", {
|
|
1585
|
+
class: `${faqAttribution} frak-ambassador__faq-attribution`,
|
|
1586
|
+
children: [texts.attributionBeforeLink, /* @__PURE__ */ jsx("a", {
|
|
1587
|
+
class: `${frakLink} frak-link`,
|
|
1588
|
+
href: FRAK_URL,
|
|
1589
|
+
target: "_blank",
|
|
1590
|
+
rel: "noopener",
|
|
1591
|
+
children: /* @__PURE__ */ jsx("strong", { children: texts.attributionLinkText })
|
|
1592
|
+
})]
|
|
1593
|
+
})
|
|
1594
|
+
]
|
|
1595
|
+
})
|
|
1596
|
+
]
|
|
1597
|
+
});
|
|
1598
|
+
}
|
|
1599
|
+
//#endregion
|
|
1600
|
+
//#region src/components/Ambassador/index.ts
|
|
1601
|
+
registerWebComponent(Ambassador, "frak-ambassador", [...[
|
|
1602
|
+
"merchantId",
|
|
1603
|
+
"classname",
|
|
1604
|
+
"heroTitle",
|
|
1605
|
+
"heroEyebrow",
|
|
1606
|
+
"heroLede",
|
|
1607
|
+
"heroCtaLabel",
|
|
1608
|
+
"heroFacesCaption",
|
|
1609
|
+
"heroImageUrl",
|
|
1610
|
+
"heroImageAlt",
|
|
1611
|
+
"heroRewardCaption",
|
|
1612
|
+
"heroRewardRefereePill",
|
|
1613
|
+
"rewardEyebrow",
|
|
1614
|
+
"rewardHeading",
|
|
1615
|
+
"rewardEstimateCaption",
|
|
1616
|
+
"rewardLede",
|
|
1617
|
+
"rewardCtaLabel",
|
|
1618
|
+
"rewardFooterCaption",
|
|
1619
|
+
"rewardNoBankDetails",
|
|
1620
|
+
"rewardFallbackLabel",
|
|
1621
|
+
"explainerTitle",
|
|
1622
|
+
"explainerLede",
|
|
1623
|
+
"step1Title",
|
|
1624
|
+
"step1Description",
|
|
1625
|
+
"step1ImageUrl",
|
|
1626
|
+
"step1ImageAlt",
|
|
1627
|
+
"step2Title",
|
|
1628
|
+
"step2Description",
|
|
1629
|
+
"step2ImageUrl",
|
|
1630
|
+
"step2ImageAlt",
|
|
1631
|
+
"step3Title",
|
|
1632
|
+
"step3Description",
|
|
1633
|
+
"step3ImageUrl",
|
|
1634
|
+
"step3ImageAlt",
|
|
1635
|
+
"winWinHeading",
|
|
1636
|
+
"winWinLede",
|
|
1637
|
+
"winWinCard1Title",
|
|
1638
|
+
"winWinCard1Description",
|
|
1639
|
+
"winWinCard2Title",
|
|
1640
|
+
"winWinCard2Description",
|
|
1641
|
+
"referralHeading",
|
|
1642
|
+
"referralLede",
|
|
1643
|
+
"referralCtaLabel",
|
|
1644
|
+
"storeHeading",
|
|
1645
|
+
"storeLede",
|
|
1646
|
+
"storeAppBadgeAriaLabel",
|
|
1647
|
+
"storePlayBadgeAriaLabel",
|
|
1648
|
+
"storeQrLabel",
|
|
1649
|
+
"storeQrCaption",
|
|
1650
|
+
"faqHeading",
|
|
1651
|
+
"faq1Question",
|
|
1652
|
+
"faq1Answer",
|
|
1653
|
+
"faq2Question",
|
|
1654
|
+
"faq2Answer",
|
|
1655
|
+
"faq3Question",
|
|
1656
|
+
"faq3Answer",
|
|
1657
|
+
"faq4Question",
|
|
1658
|
+
"faq4Answer",
|
|
1659
|
+
"faq5Question",
|
|
1660
|
+
"faq5AnswerBeforeLink",
|
|
1661
|
+
"faq5AnswerLinkText",
|
|
1662
|
+
"faq5AnswerAfterLink",
|
|
1663
|
+
"attributionBeforeLink",
|
|
1664
|
+
"attributionLinkText"
|
|
1665
|
+
]], { shadow: false });
|
|
1666
|
+
//#endregion
|
|
1667
|
+
export { Ambassador };
|