@incodetech/web 2.0.0-alpha.1 → 2.0.0-alpha.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/base.css +1071 -0
- package/dist/browser-ponyfill-B6W6hHVY.js +344 -0
- package/dist/email/email.es.js +145 -0
- package/dist/email/styles.css +123 -0
- package/dist/flow/flow.es.js +555 -0
- package/dist/flow/styles.css +1119 -0
- package/dist/incodeModule-Dv8Qllrv.js +254 -0
- package/dist/index.es.js +6 -0
- package/dist/instance-B-q0ZREN.js +2140 -0
- package/dist/otpInput-BtoZe0Wz.js +151 -0
- package/dist/page-Dh_Zw2ik.js +234 -0
- package/dist/phone/phone.es.js +3441 -0
- package/dist/phone/styles.css +305 -0
- package/dist/selfie/selfie.es.js +893 -0
- package/dist/selfie/styles.css +590 -0
- package/dist/selfieTutorial-C-u5GufD.js +29 -0
- package/dist/setup-wNL83jmW.js +20 -0
- package/dist/themes/dark.css +652 -0
- package/dist/themes/light.css +543 -0
- package/dist/title-BfO5Dlzk.js +25 -0
- package/dist/types/base.d.ts +1 -0
- package/dist/types/dark.d.ts +1 -0
- package/dist/types/email.d.ts +57 -0
- package/dist/types/flow.d.ts +69 -0
- package/dist/types/index.d.ts +38 -0
- package/dist/types/light.d.ts +1 -0
- package/dist/types/phone.d.ts +58 -0
- package/dist/types/selfie.d.ts +31 -0
- package/dist/types/styles.d.ts +1 -0
- package/dist/types/themes/dark.d.ts +1 -0
- package/dist/types/themes/light.d.ts +1 -0
- package/dist/uiConfig-CQ1W9cUD.js +23 -0
- package/dist/vendor-preact-CK0WeTOR.js +584 -0
- package/package.json +32 -26
- package/dev/README.md +0 -163
- package/dev/getToken.ts +0 -36
- package/dev/headless.html +0 -875
- package/dev/index.html +0 -366
- package/dev/main-headless.tsx +0 -1332
- package/dev/main-orchestrated-flow.tsx +0 -1158
- package/dev/main-preact.tsx +0 -323
- package/dev/main-simplified.tsx +0 -123
- package/dev/main-web-component.tsx +0 -256
- package/dev/main.tsx +0 -332
- package/dev/manual.html +0 -27
- package/dev/orchestrated-flow.html +0 -64
- package/dev/simplified.html +0 -64
- package/dev/tiktok-logo.svg +0 -7
- package/src/defineCustomElement.tsx +0 -30
- package/src/email/email.test.tsx +0 -368
- package/src/email/email.tsx +0 -255
- package/src/email/emailInput.test.tsx +0 -264
- package/src/email/emailInput.tsx +0 -85
- package/src/email/styles.css +0 -59
- package/src/flow/flow.test.tsx +0 -796
- package/src/flow/flow.tsx +0 -292
- package/src/flow/flowCompleted.css +0 -30
- package/src/flow/flowCompleted.test.tsx +0 -331
- package/src/flow/flowCompleted.tsx +0 -121
- package/src/flow/flowInit.test.ts +0 -264
- package/src/flow/flowInit.ts +0 -94
- package/src/flow/flowStart.css +0 -58
- package/src/flow/flowStart.test.tsx +0 -49
- package/src/flow/flowStart.tsx +0 -41
- package/src/flow/incode-logo.svg +0 -8
- package/src/flow/index.ts +0 -7
- package/src/flow/preloadFlow.test.ts +0 -421
- package/src/flow/preloadFlow.ts +0 -171
- package/src/flow/styles.css +0 -9
- package/src/flow/unsupportedModule.css +0 -21
- package/src/flow/unsupportedModule.tsx +0 -39
- package/src/flow/useFlowInitialization.test.tsx +0 -292
- package/src/flow/useFlowInitialization.ts +0 -128
- package/src/flow/useModuleLoader.test.tsx +0 -212
- package/src/flow/useModuleLoader.ts +0 -92
- package/src/hooks/index.ts +0 -1
- package/src/hooks/useManager.test.ts +0 -91
- package/src/hooks/useManager.ts +0 -40
- package/src/i18n/index.ts +0 -3
- package/src/i18n/instance.ts +0 -16
- package/src/i18n/setup.ts +0 -184
- package/src/i18n/useTranslation.ts +0 -42
- package/src/index.ts +0 -27
- package/src/permissions/assets/android-dots-icon.svg +0 -7
- package/src/permissions/assets/android-settings-icon.svg +0 -16
- package/src/permissions/assets/android-toggle-icon.svg +0 -20
- package/src/permissions/assets/bank-card-icon.svg +0 -14
- package/src/permissions/assets/camera-icon.svg +0 -12
- package/src/permissions/assets/camera-ios.svg +0 -53
- package/src/permissions/assets/check-icon.svg +0 -8
- package/src/permissions/assets/chrome-icon.svg +0 -43
- package/src/permissions/assets/password-icon.svg +0 -11
- package/src/permissions/assets/permissions-img.svg +0 -51
- package/src/permissions/assets/safari-icon.svg +0 -37
- package/src/permissions/assets/settings-icon.svg +0 -33
- package/src/permissions/assets/toggle-icon.svg +0 -19
- package/src/permissions/assets/warning-icon.svg +0 -6
- package/src/permissions/boldWithArrow.css +0 -9
- package/src/permissions/boldWithArrow.tsx +0 -41
- package/src/permissions/denied.css +0 -37
- package/src/permissions/denied.tsx +0 -29
- package/src/permissions/deniedAndroid.tsx +0 -56
- package/src/permissions/deniedDesktop.css +0 -9
- package/src/permissions/deniedDesktop.tsx +0 -64
- package/src/permissions/deniedIOS.tsx +0 -73
- package/src/permissions/deniedInstructions.tsx +0 -19
- package/src/permissions/iconWrapper.css +0 -9
- package/src/permissions/iconWrapper.tsx +0 -15
- package/src/permissions/learnMore.css +0 -37
- package/src/permissions/learnMore.tsx +0 -85
- package/src/permissions/numberedStep.css +0 -13
- package/src/permissions/numberedStep.tsx +0 -14
- package/src/permissions/permissions.css +0 -13
- package/src/permissions/permissions.tsx +0 -68
- package/src/phone/phone.tsx +0 -246
- package/src/phone/phoneInput.test.tsx +0 -275
- package/src/phone/phoneInput.tsx +0 -249
- package/src/phone/styles.css +0 -158
- package/src/selfie/cameraButton.css +0 -13
- package/src/selfie/cameraButton.tsx +0 -35
- package/src/selfie/capture.css +0 -57
- package/src/selfie/capture.tsx +0 -232
- package/src/selfie/errorModal.tsx +0 -218
- package/src/selfie/errorModalContent.css +0 -33
- package/src/selfie/errorModalContent.tsx +0 -44
- package/src/selfie/faceOutline.css +0 -5
- package/src/selfie/faceOutline.tsx +0 -22
- package/src/selfie/loadingBorder.css +0 -12
- package/src/selfie/loadingBorder.tsx +0 -77
- package/src/selfie/manualCaptureButton.css +0 -13
- package/src/selfie/manualCaptureButton.tsx +0 -35
- package/src/selfie/noMoreAttemptsModal.tsx +0 -44
- package/src/selfie/notification.css +0 -9
- package/src/selfie/notification.tsx +0 -36
- package/src/selfie/retryErrorModal.tsx +0 -56
- package/src/selfie/selfie.test.tsx +0 -458
- package/src/selfie/selfie.tsx +0 -83
- package/src/selfie/selfieTutorial.json +0 -2626
- package/src/selfie/styles.css +0 -1
- package/src/selfie/tutorial.test.tsx +0 -200
- package/src/selfie/tutorial.tsx +0 -43
- package/src/setup.ts +0 -33
- package/src/shared/baseTutorial/baseTutorial.css +0 -21
- package/src/shared/baseTutorial/baseTutorial.test.tsx +0 -184
- package/src/shared/baseTutorial/baseTutorial.tsx +0 -55
- package/src/shared/baseTutorial/replaceBaseTutorial.test.ts +0 -267
- package/src/shared/baseTutorial/replaceBaseTutorial.ts +0 -68
- package/src/shared/button/button.css +0 -55
- package/src/shared/button/button.test.tsx +0 -101
- package/src/shared/button/button.tsx +0 -47
- package/src/shared/componentRoot/incodeComponent.tsx +0 -12
- package/src/shared/countries/countries.test.ts +0 -75
- package/src/shared/countries/countries.ts +0 -139
- package/src/shared/countries/index.ts +0 -6
- package/src/shared/icons/chevronDown.tsx +0 -22
- package/src/shared/icons/index.ts +0 -2
- package/src/shared/icons/successIcon.css +0 -5
- package/src/shared/icons/successIcon.test.tsx +0 -40
- package/src/shared/icons/successIcon.tsx +0 -26
- package/src/shared/loader/loadingIcon.css +0 -28
- package/src/shared/loader/loadingIcon.tsx +0 -67
- package/src/shared/lottie/lottie.tsx +0 -108
- package/src/shared/otpInput/otpInput.css +0 -85
- package/src/shared/otpInput/otpInput.test.tsx +0 -356
- package/src/shared/otpInput/otpInput.tsx +0 -241
- package/src/shared/page/incode-logo.svg +0 -3
- package/src/shared/page/page.css +0 -47
- package/src/shared/page/page.test.tsx +0 -97
- package/src/shared/page/page.tsx +0 -91
- package/src/shared/page/pageUiConfig.test.ts +0 -112
- package/src/shared/page/pageUiConfig.ts +0 -64
- package/src/shared/page/verifiedByIncode.css +0 -5
- package/src/shared/page/verifiedByIncode.tsx +0 -75
- package/src/shared/spacer/spacer.css +0 -149
- package/src/shared/spacer/spacer.test.tsx +0 -143
- package/src/shared/spacer/spacer.tsx +0 -88
- package/src/shared/spinner/index.ts +0 -2
- package/src/shared/spinner/spinner.css +0 -28
- package/src/shared/spinner/spinner.test.tsx +0 -82
- package/src/shared/spinner/spinner.tsx +0 -65
- package/src/shared/title/title.css +0 -7
- package/src/shared/title/title.tsx +0 -12
- package/src/shared/uiConfig/uiConfig.ts +0 -36
- package/src/shared/webComponent/incodeModule.ts +0 -29
- package/src/shared/webComponent/registerIncodeElement.ts +0 -15
- package/src/styles/__mocks__/fetchTheme.ts +0 -19
- package/src/styles/applyTheme.ts +0 -37
- package/src/styles/cn.test.tsx +0 -57
- package/src/styles/cn.tsx +0 -21
- package/src/styles/core.css +0 -12
- package/src/styles/fetchTheme.test.ts +0 -390
- package/src/styles/fetchTheme.ts +0 -88
- package/src/styles/generatePalette.ts +0 -111
- package/src/styles/reset.css +0 -65
- package/src/styles/resolveCssVariableToHex.ts +0 -28
- package/src/styles/tailwind.css +0 -291
- package/src/styles/themeTypes.ts +0 -18
- package/src/styles/tokens/colors.css +0 -190
- package/src/styles/tokens/components.css +0 -174
- package/src/styles/tokens/index.css +0 -4
- package/src/styles/tokens/primitives.css +0 -129
- package/src/styles/tokens/semantic.css +0 -51
- package/src/svg.d.ts +0 -4
- package/src/types/assets.d.ts +0 -1
- package/src/types/custom-elements.d.ts +0 -104
- package/tsconfig.json +0 -22
- package/vite.config.ts +0 -260
- package/vitest.config.ts +0 -40
- package/vitest.setup.ts +0 -16
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
import { u as n, S as h, B as T } from "./incodeModule-Dv8Qllrv.js";
|
|
2
|
+
import { d as $, A as K, y as I, k as R } from "./vendor-preact-CK0WeTOR.js";
|
|
3
|
+
const c = 6, S = ({
|
|
4
|
+
resendTimer: g,
|
|
5
|
+
canResend: m,
|
|
6
|
+
error: i,
|
|
7
|
+
onSubmit: y,
|
|
8
|
+
onResend: D,
|
|
9
|
+
onBack: k,
|
|
10
|
+
backLinkText: w = "change phone number",
|
|
11
|
+
disabled: f = !1,
|
|
12
|
+
isLoading: l = !1
|
|
13
|
+
}) => {
|
|
14
|
+
const [p, d] = $(Array(c).fill("")), a = K([]);
|
|
15
|
+
I(() => {
|
|
16
|
+
a.current[0]?.focus();
|
|
17
|
+
}, []), I(() => {
|
|
18
|
+
i && (d(Array(c).fill("")), setTimeout(() => {
|
|
19
|
+
a.current[0]?.focus();
|
|
20
|
+
}, 0));
|
|
21
|
+
}, [i]);
|
|
22
|
+
const A = (t, e) => {
|
|
23
|
+
let o = e.target.value.replace(/[^a-zA-Z0-9]/g, "").toUpperCase();
|
|
24
|
+
o.length > 1 && (o = o.charAt(0));
|
|
25
|
+
const r = [...p];
|
|
26
|
+
r[t] = o, d(r), o && t < c - 1 && a.current[t + 1]?.focus();
|
|
27
|
+
}, O = (t, e) => {
|
|
28
|
+
const s = e.target;
|
|
29
|
+
if (![
|
|
30
|
+
"Backspace",
|
|
31
|
+
"Delete",
|
|
32
|
+
"Tab",
|
|
33
|
+
"Escape",
|
|
34
|
+
"Enter",
|
|
35
|
+
"ArrowLeft",
|
|
36
|
+
"ArrowRight",
|
|
37
|
+
"ArrowUp",
|
|
38
|
+
"ArrowDown"
|
|
39
|
+
].includes(e.key) && !/^[a-zA-Z0-9]$/.test(e.key) && !e.ctrlKey && !e.metaKey) {
|
|
40
|
+
e.preventDefault();
|
|
41
|
+
return;
|
|
42
|
+
}
|
|
43
|
+
if (e.key === "Backspace") {
|
|
44
|
+
if (!s.value && t > 0) {
|
|
45
|
+
a.current[t - 1]?.focus();
|
|
46
|
+
const r = [...p];
|
|
47
|
+
r[t - 1] = "", d(r);
|
|
48
|
+
}
|
|
49
|
+
} else e.key === "ArrowLeft" && t > 0 ? a.current[t - 1]?.focus() : e.key === "ArrowRight" && t < c - 1 && a.current[t + 1]?.focus();
|
|
50
|
+
}, b = (t, e) => {
|
|
51
|
+
e.preventDefault();
|
|
52
|
+
const o = (e.clipboardData?.getData("text") || "").replace(/[^a-zA-Z0-9]/g, "").toUpperCase().slice(0, c);
|
|
53
|
+
if (o) {
|
|
54
|
+
const r = [...p];
|
|
55
|
+
for (let u = 0; u < o.length && t + u < c; u++)
|
|
56
|
+
r[t + u] = o[u];
|
|
57
|
+
d(r);
|
|
58
|
+
const B = Math.min(t + o.length, c - 1);
|
|
59
|
+
a.current[B]?.focus();
|
|
60
|
+
}
|
|
61
|
+
}, v = (t) => {
|
|
62
|
+
t.target.select();
|
|
63
|
+
}, C = (t) => {
|
|
64
|
+
const e = Math.floor(t / 60), s = t % 60;
|
|
65
|
+
return `${e}:${s.toString().padStart(2, "0")}`;
|
|
66
|
+
};
|
|
67
|
+
return /* @__PURE__ */ n("div", { class: "IncodeOtpInput", children: [
|
|
68
|
+
/* @__PURE__ */ n("div", { class: "IncodeOtpInputContainer", children: [
|
|
69
|
+
/* @__PURE__ */ n(
|
|
70
|
+
"div",
|
|
71
|
+
{
|
|
72
|
+
class: `IncodeOtpInputBoxes ${i ? "IncodeOtpInputBoxesError" : ""}`,
|
|
73
|
+
children: p.map((t, e) => /* @__PURE__ */ n(
|
|
74
|
+
"input",
|
|
75
|
+
{
|
|
76
|
+
type: "text",
|
|
77
|
+
inputMode: "text",
|
|
78
|
+
maxLength: 1,
|
|
79
|
+
value: t,
|
|
80
|
+
onInput: (s) => A(e, s),
|
|
81
|
+
onKeyDown: (s) => O(e, s),
|
|
82
|
+
onPaste: (s) => b(e, s),
|
|
83
|
+
onFocus: v,
|
|
84
|
+
ref: (s) => {
|
|
85
|
+
a.current[e] = s;
|
|
86
|
+
},
|
|
87
|
+
class: "IncodeOtpInputBox",
|
|
88
|
+
autocomplete: "one-time-code",
|
|
89
|
+
"data-testid": `otp-input-${e}`,
|
|
90
|
+
"aria-label": `Character ${e + 1} of ${c}`,
|
|
91
|
+
disabled: f || l
|
|
92
|
+
},
|
|
93
|
+
e
|
|
94
|
+
))
|
|
95
|
+
}
|
|
96
|
+
),
|
|
97
|
+
i && /* @__PURE__ */ n(R, { children: [
|
|
98
|
+
/* @__PURE__ */ n(h, { size: 8 }),
|
|
99
|
+
/* @__PURE__ */ n("p", { class: "IncodeOtpInputError", "data-testid": "otp-error", children: i })
|
|
100
|
+
] })
|
|
101
|
+
] }),
|
|
102
|
+
/* @__PURE__ */ n(h, {}),
|
|
103
|
+
/* @__PURE__ */ n(
|
|
104
|
+
T,
|
|
105
|
+
{
|
|
106
|
+
onClick: () => {
|
|
107
|
+
const t = p.join("");
|
|
108
|
+
t.length === c && y(t);
|
|
109
|
+
},
|
|
110
|
+
disabled: p.join("").length < c,
|
|
111
|
+
isLoading: l,
|
|
112
|
+
"data-testid": "otp-submit",
|
|
113
|
+
children: "Continue"
|
|
114
|
+
}
|
|
115
|
+
),
|
|
116
|
+
/* @__PURE__ */ n(h, { size: 16 }),
|
|
117
|
+
/* @__PURE__ */ n("div", { class: "IncodeOtpInputActions", children: m && !l ? /* @__PURE__ */ n("p", { class: "IncodeOtpInputResendText", "data-testid": "otp-resend-section", children: [
|
|
118
|
+
"Didn't get it?",
|
|
119
|
+
" ",
|
|
120
|
+
/* @__PURE__ */ n(
|
|
121
|
+
"button",
|
|
122
|
+
{
|
|
123
|
+
type: "button",
|
|
124
|
+
class: "IncodeOtpInputLink",
|
|
125
|
+
onClick: D,
|
|
126
|
+
disabled: f || l,
|
|
127
|
+
"data-testid": "otp-resend",
|
|
128
|
+
children: "Resend code"
|
|
129
|
+
}
|
|
130
|
+
),
|
|
131
|
+
" or ",
|
|
132
|
+
/* @__PURE__ */ n(
|
|
133
|
+
"button",
|
|
134
|
+
{
|
|
135
|
+
type: "button",
|
|
136
|
+
class: "IncodeOtpInputLink",
|
|
137
|
+
onClick: k,
|
|
138
|
+
disabled: f || l,
|
|
139
|
+
"data-testid": "otp-back",
|
|
140
|
+
children: w
|
|
141
|
+
}
|
|
142
|
+
)
|
|
143
|
+
] }) : l ? null : /* @__PURE__ */ n("p", { class: "IncodeOtpInputTimer", "data-testid": "otp-timer", children: [
|
|
144
|
+
"Resend code in ",
|
|
145
|
+
C(g)
|
|
146
|
+
] }) })
|
|
147
|
+
] });
|
|
148
|
+
};
|
|
149
|
+
export {
|
|
150
|
+
S as O
|
|
151
|
+
};
|
|
@@ -0,0 +1,234 @@
|
|
|
1
|
+
import { u as e, S as s } from "./incodeModule-Dv8Qllrv.js";
|
|
2
|
+
import { u as H } from "./uiConfig-CQ1W9cUD.js";
|
|
3
|
+
import { k as g } from "./vendor-preact-CK0WeTOR.js";
|
|
4
|
+
function P({ children: C }) {
|
|
5
|
+
return /* @__PURE__ */ e("div", { class: "IncodeComponent", children: C });
|
|
6
|
+
}
|
|
7
|
+
const f = "data:image/svg+xml,%3csvg%20width='76'%20height='20'%20viewBox='0%200%2076%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M40.1687%206.01811C42.2312%206.01811%2043.7927%206.59655%2044.8446%207.76024C45.8919%208.91831%2046.4126%2010.5865%2046.4126%2012.7583C46.4126%2014.93%2045.8748%2016.6105%2044.794%2017.7944C43.7102%2018.9815%2042.1729%2019.5735%2040.1937%2019.5735C38.1479%2019.5735%2036.5973%2018.99%2035.5546%2017.8187L35.4273%2017.6701C34.4729%2016.5101%2033.9984%2014.871%2033.9984%2012.7583C33.9984%208.28671%2036.0703%206.01811%2040.1687%206.01811ZM69.1127%206.01781C71.1144%206.01781%2072.5953%206.66904%2073.5373%207.97333C74.4288%209.2077%2074.8837%2010.9053%2074.9066%2013.0629L74.9058%2013.5242H66.1149C66.2174%2014.6334%2066.5602%2015.4734%2067.141%2016.0538C67.7488%2016.662%2068.6195%2016.9679%2069.7639%2016.9679C70.5188%2016.9679%2071.2373%2016.8742%2071.921%2016.6862C72.6048%2016.4995%2073.2105%2016.2581%2073.735%2015.9646L73.9814%2015.8267V18.666L73.8821%2018.7093C72.5607%2019.286%2071.0464%2019.5732%2069.3379%2019.5732C67.4088%2019.5732%2065.8853%2018.986%2064.7769%2017.8093C63.6699%2016.6348%2063.1183%2014.9722%2063.1183%2012.833C63.1183%2010.6451%2063.6389%208.96055%2064.6862%207.78517C65.7359%206.60632%2067.2157%206.01781%2069.1127%206.01781ZM60.3976%201.06738V16.3832C60.3976%2017.0998%2060.0996%2017.7092%2059.5124%2018.198C58.9425%2018.6724%2058.2282%2019.0207%2057.3718%2019.2435C56.5257%2019.4635%2055.6531%2019.5731%2054.7534%2019.5731C52.9298%2019.5731%2051.4237%2019.056%2050.2406%2018.0202C49.0485%2016.9752%2048.4588%2015.1678%2048.4588%2012.6072C48.4588%2010.5545%2048.9627%208.9421%2049.9753%207.77411C50.9938%206.60175%2052.4982%206.01774%2054.4782%206.01774C54.9416%206.01774%2055.4735%206.07665%2056.0742%206.19449C56.582%206.296%2057.0453%206.43849%2057.4648%206.62252V1.06738H60.3976ZM27.911%206.04223C29.2828%206.04223%2030.5881%206.29619%2031.8264%206.80393L31.9291%206.84604V9.55797L31.6992%209.46109C30.4503%208.93473%2029.3127%208.67257%2028.2863%208.67257C27.0102%208.67257%2026.0684%208.98809%2025.4521%209.61162C24.8366%2010.2352%2024.5242%2011.2397%2024.5242%2012.6331C24.5242%2014.0959%2024.8298%2015.1535%2025.4314%2015.8092C26.029%2016.4619%2027.002%2016.7923%2028.3613%2016.7923C29.4706%2016.7923%2030.589%2016.5234%2031.7164%2015.9842L31.9534%2015.8708V18.5903L31.8552%2018.634C30.6349%2019.1773%2029.3283%2019.4483%2027.936%2019.4483C26.2154%2019.4483%2024.7637%2018.9753%2023.5868%2018.0285L23.4123%2017.8829L23.2796%2017.7636C22.1516%2016.7067%2021.5914%2015.0592%2021.5914%2012.8332C21.5914%2010.4557%2022.186%208.72379%2023.3849%207.64725C24.5757%206.57726%2026.0871%206.04223%2027.911%206.04223ZM4.11045%206.39262L4.13613%2019.1987H1.15293V6.39262H4.11045ZM13.5766%206.0423C15.365%206.0423%2016.6948%206.41948%2017.5636%207.18368C18.4372%207.95269%2018.8706%209.13902%2018.8706%2010.7331V19.1984H15.9127V11.0838C15.9127%209.42945%2014.9988%208.62337%2013.1013%208.62337C12.3086%208.62337%2011.5458%208.73548%2010.8133%208.95959L10.5401%209.04888V19.1984H7.58147V7.40579L7.67177%207.35974C8.43481%206.97061%209.36013%206.65415%2010.4506%206.40815L10.8116%206.33134C11.7692%206.13867%2012.6905%206.0423%2013.5766%206.0423ZM40.1687%208.5477C39.0014%208.5477%2038.1814%208.89722%2037.6896%209.59114C37.1869%2010.3012%2036.932%2011.3564%2036.932%2012.7583C36.932%2014.1602%2037.1948%2015.223%2037.7142%2015.9499C38.2224%2016.6613%2039.0345%2017.0182%2040.1687%2017.0182C42.3685%2017.0182%2043.4555%2015.6249%2043.4555%2012.7583C43.4555%2011.325%2043.1888%2010.2632%2042.6636%209.57056C42.1472%208.89036%2041.3203%208.5477%2040.1687%208.5477ZM54.8535%208.59807C52.5835%208.59807%2051.4659%209.9271%2051.4659%2012.6579C51.4659%2014.0276%2051.7253%2015.0917%2052.2391%2015.8527C52.7378%2016.5945%2053.6185%2016.9678%2054.9035%2016.9678C55.6556%2016.9678%2056.2834%2016.8792%2056.7876%2016.7028C57.2156%2016.553%2057.4279%2016.378%2057.4604%2016.186L57.4648%2016.1332V9.25404L57.2778%209.15611C56.9611%208.99923%2056.6189%208.87406%2056.2512%208.78123C55.7705%208.65917%2055.3045%208.59807%2054.8535%208.59807ZM69.0377%208.49888C68.192%208.49888%2067.5412%208.71795%2067.0743%209.15366C66.6631%209.5374%2066.3731%2010.1684%2066.2101%2011.0498L66.1771%2011.2425H71.8784L71.8489%2011.0453C71.7111%2010.208%2071.4421%209.58986%2071.0461%209.18626C70.5969%208.72981%2069.9303%208.49888%2069.0377%208.49888ZM4.21085%201.94156V4.64764H1.07715V1.94156H4.21085Z'%20fill='%23006AFF'/%3e%3c/svg%3e";
|
|
8
|
+
function d(C) {
|
|
9
|
+
for (const t of C)
|
|
10
|
+
if (t !== void 0) return t;
|
|
11
|
+
}
|
|
12
|
+
function L(C) {
|
|
13
|
+
if (!C) return;
|
|
14
|
+
if (/^\d+$/.test(C)) return Number(C);
|
|
15
|
+
const t = C.match(/^(\d+)px$/);
|
|
16
|
+
if (t) return Number(t[1]);
|
|
17
|
+
}
|
|
18
|
+
function p(C) {
|
|
19
|
+
const t = d([
|
|
20
|
+
C.logo?.height,
|
|
21
|
+
C.uiConfig.logoHeight
|
|
22
|
+
]);
|
|
23
|
+
return {
|
|
24
|
+
hideHeader: d([C.hideHeader, C.uiConfig.hideHeader]) ?? !1,
|
|
25
|
+
hideFooterBranding: d([
|
|
26
|
+
C.hideFooterBranding,
|
|
27
|
+
C.uiConfig.hideFooterBranding
|
|
28
|
+
]) ?? !1,
|
|
29
|
+
logoSrc: d([C.logo?.src, C.uiConfig.logoSrc]) ?? C.defaultLogoSrc,
|
|
30
|
+
logoHeightPx: L(t) ?? 80
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
function V(C) {
|
|
34
|
+
const t = H();
|
|
35
|
+
return p({ ...C, uiConfig: t });
|
|
36
|
+
}
|
|
37
|
+
const M = (C) => {
|
|
38
|
+
let t = C.replace("#", "");
|
|
39
|
+
t.length === 3 && (t = t.split("").map((o) => o + o).join(""));
|
|
40
|
+
const n = /^([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);
|
|
41
|
+
return n?.[1] && n?.[2] && n?.[3] ? {
|
|
42
|
+
r: Number.parseInt(n[1], 16) / 255,
|
|
43
|
+
g: Number.parseInt(n[2], 16) / 255,
|
|
44
|
+
b: Number.parseInt(n[3], 16) / 255
|
|
45
|
+
} : null;
|
|
46
|
+
}, m = (C, t, n) => {
|
|
47
|
+
const o = (r) => {
|
|
48
|
+
const i = Math.round(r * 255).toString(16);
|
|
49
|
+
return i.length === 1 ? `0${i}` : i;
|
|
50
|
+
};
|
|
51
|
+
return `#${o(C)}${o(t)}${o(n)}`;
|
|
52
|
+
};
|
|
53
|
+
function Z(C, t) {
|
|
54
|
+
const n = typeof document < "u" ? document.documentElement : null;
|
|
55
|
+
if (!n) return null;
|
|
56
|
+
const o = getComputedStyle(n).getPropertyValue(C).trim();
|
|
57
|
+
if (!o) return null;
|
|
58
|
+
if (o.startsWith("#"))
|
|
59
|
+
return o;
|
|
60
|
+
if (o.startsWith("rgb")) {
|
|
61
|
+
const r = o.match(/\d+/g);
|
|
62
|
+
if (r && r.length >= 3) {
|
|
63
|
+
const i = Number.parseInt(r[0], 10) / 255, c = Number.parseInt(r[1], 10) / 255, a = Number.parseInt(r[2], 10) / 255;
|
|
64
|
+
return m(i, c, a);
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
return null;
|
|
68
|
+
}
|
|
69
|
+
function w(C, t) {
|
|
70
|
+
const n = M(t);
|
|
71
|
+
if (!n) return C;
|
|
72
|
+
const o = [n.r, n.g, n.b, 1];
|
|
73
|
+
return JSON.parse(
|
|
74
|
+
JSON.stringify(C).replace(/"replaceColorWithYours"/g, o.join(", ")).replace(/"replaceR"/g, n.r.toString()).replace(/"replaceG"/g, n.g.toString()).replace(/"replaceB"/g, n.b.toString())
|
|
75
|
+
);
|
|
76
|
+
}
|
|
77
|
+
const v = () => {
|
|
78
|
+
const C = Z("--text-body-secondary") ?? "#60667c";
|
|
79
|
+
return /* @__PURE__ */ e(
|
|
80
|
+
"svg",
|
|
81
|
+
{
|
|
82
|
+
width: "121",
|
|
83
|
+
height: "15",
|
|
84
|
+
viewBox: "0 0 121 15",
|
|
85
|
+
fill: "none",
|
|
86
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
87
|
+
children: [
|
|
88
|
+
/* @__PURE__ */ e("title", { children: "Verified by Incode" }),
|
|
89
|
+
/* @__PURE__ */ e(
|
|
90
|
+
"path",
|
|
91
|
+
{
|
|
92
|
+
d: "M14.0437 7.25848C14.0437 6.28039 13.5263 5.40448 12.7428 4.92273C12.9498 4.03223 12.6985 3.05413 11.9889 2.3534C11.2793 1.65268 10.3037 1.4191 9.38711 1.60888C8.89928 0.835165 8.01231 0.324219 7.02186 0.324219C6.03141 0.324219 5.14443 0.835165 4.6566 1.60888C3.75485 1.4045 2.76439 1.65268 2.05482 2.3534C1.34524 3.05413 1.10871 4.01763 1.30089 4.92273C0.5174 5.41908 0 6.28039 0 7.25848C0 8.23658 0.5174 9.11249 1.30089 9.59424C1.09393 10.4847 1.34524 11.4628 2.05482 12.1636C2.76439 12.8643 3.74006 13.1125 4.6566 12.9081C5.15922 13.6818 6.03141 14.1928 7.02186 14.1928C8.01231 14.1928 8.8845 13.6818 9.38711 12.9081C10.2889 13.1125 11.2793 12.8643 11.9889 12.1636C12.6985 11.4628 12.9498 10.4993 12.7428 9.59424C13.5263 9.11249 14.0437 8.23658 14.0437 7.25848ZM5.55835 9.55044L4.12442 8.13439C3.85833 7.87162 3.85833 7.46286 4.12442 7.20009C4.39051 6.93732 4.80443 6.93732 5.07052 7.20009L6.04619 8.14899L8.98798 5.2439C9.25407 4.98113 9.66799 4.98113 9.93408 5.2439C10.2002 5.50667 10.2002 5.91543 9.93408 6.1782L6.50446 9.55044C6.23837 9.81321 5.82445 9.81321 5.55835 9.55044Z",
|
|
93
|
+
fill: "#006AFF"
|
|
94
|
+
}
|
|
95
|
+
),
|
|
96
|
+
/* @__PURE__ */ e("g", { clipPath: "url(#clip0_3596_4926)", children: /* @__PURE__ */ e(
|
|
97
|
+
"path",
|
|
98
|
+
{
|
|
99
|
+
fillRule: "evenodd",
|
|
100
|
+
clipRule: "evenodd",
|
|
101
|
+
d: "M99.5615 4.77612C100.75 4.77612 101.65 5.10527 102.256 5.76745C102.859 6.42644 103.159 7.37568 103.159 8.61153C103.159 9.84729 102.85 10.8036 102.227 11.4773C101.602 12.1527 100.716 12.4896 99.5759 12.4896C98.3971 12.4896 97.5036 12.1576 96.9027 11.491L96.8294 11.4065C96.2795 10.7465 96.0061 9.81371 96.0061 8.61153C96.0061 6.06704 97.2 4.77612 99.5615 4.77612ZM116.24 4.77595C117.393 4.77595 118.246 5.14653 118.789 5.88871C119.303 6.59111 119.565 7.55709 119.578 8.78488L119.578 9.04737H114.512C114.571 9.67854 114.769 10.1565 115.104 10.4868C115.454 10.8329 115.956 11.0069 116.615 11.0069C117.05 11.0069 117.464 10.9536 117.858 10.8466C118.252 10.7404 118.601 10.603 118.903 10.436L119.045 10.3576V11.9732L118.988 11.9979C118.227 12.326 117.354 12.4894 116.369 12.4894C115.258 12.4894 114.38 12.1553 113.741 11.4857C113.103 10.8174 112.786 9.87133 112.786 8.65404C112.786 7.40904 113.086 6.45047 113.689 5.78164C114.294 5.11083 115.147 4.77595 116.24 4.77595ZM111.218 1.95898V10.6742C111.218 11.082 111.046 11.4288 110.708 11.7069C110.379 11.9768 109.968 12.175 109.474 12.3018C108.987 12.427 108.484 12.4894 107.966 12.4894C106.915 12.4894 106.047 12.1952 105.365 11.6057C104.678 11.0111 104.338 9.9826 104.338 8.52554C104.338 7.35747 104.629 6.43997 105.212 5.77535C105.799 5.10823 106.666 4.77591 107.807 4.77591C108.074 4.77591 108.38 4.80944 108.727 4.87649C109.019 4.93425 109.286 5.01533 109.528 5.12005V1.95898H111.218ZM92.4984 4.78985C93.2888 4.78985 94.041 4.93436 94.7545 5.22328L94.8137 5.24725V6.79043L94.6812 6.7353C93.9615 6.43578 93.3061 6.2866 92.7146 6.2866C91.9793 6.2866 91.4366 6.46615 91.0815 6.82095C90.7268 7.17578 90.5468 7.74741 90.5468 8.54031C90.5468 9.37268 90.7229 9.97449 91.0696 10.3476C91.4139 10.719 91.9746 10.907 92.7578 10.907C93.397 10.907 94.0415 10.754 94.6911 10.4472L94.8277 10.3826V11.9301L94.7711 11.955C94.0679 12.2641 93.315 12.4184 92.5128 12.4184C91.5213 12.4184 90.6848 12.1492 90.0066 11.6105L89.9061 11.5276L89.8297 11.4597C89.1796 10.8583 88.8568 9.9208 88.8568 8.65412C88.8568 7.30126 89.1995 6.31575 89.8903 5.70316C90.5765 5.0943 91.4474 4.78985 92.4984 4.78985ZM78.7839 4.98923L78.7987 12.2763H77.0797V4.98923H78.7839ZM84.2386 4.78989C85.269 4.78989 86.0353 5.00451 86.536 5.43937C87.0393 5.87696 87.2891 6.55203 87.2891 7.45911V12.2762H85.5847V7.6587C85.5847 6.7173 85.058 6.25861 83.9647 6.25861C83.5079 6.25861 83.0683 6.3224 82.6463 6.44993L82.4888 6.50074V12.2762H80.784V5.56576L80.836 5.53956C81.2757 5.31813 81.8089 5.13805 82.4373 4.99807L82.6453 4.95436C83.1971 4.84473 83.728 4.78989 84.2386 4.78989ZM99.5615 6.21555C98.8889 6.21555 98.4164 6.41444 98.133 6.8093C97.8433 7.21334 97.6965 7.8138 97.6965 8.61153C97.6965 9.40924 97.8479 10.014 98.1472 10.4277C98.44 10.8325 98.908 11.0355 99.5615 11.0355C100.829 11.0355 101.455 10.2427 101.455 8.61153C101.455 7.79594 101.302 7.19175 100.999 6.79759C100.702 6.41053 100.225 6.21555 99.5615 6.21555ZM108.023 6.24421C106.715 6.24421 106.071 7.00047 106.071 8.55441C106.071 9.33381 106.221 9.93931 106.517 10.3723C106.804 10.7945 107.312 11.0069 108.052 11.0069C108.485 11.0069 108.847 10.9565 109.138 10.8561C109.384 10.7709 109.507 10.6712 109.525 10.562L109.528 10.532V6.61748L109.42 6.56175C109.238 6.47248 109.04 6.40126 108.829 6.34843C108.552 6.27898 108.283 6.24421 108.023 6.24421ZM116.196 6.18776C115.709 6.18776 115.334 6.31243 115.065 6.56036C114.828 6.77872 114.661 7.13776 114.567 7.6393L114.548 7.74896H117.833L117.816 7.63679C117.737 7.16033 117.582 6.80857 117.354 6.57891C117.095 6.31917 116.711 6.18776 116.196 6.18776ZM78.8418 2.45642V3.99628H77.0361V2.45642H78.8418Z",
|
|
102
|
+
fill: "#006AFF"
|
|
103
|
+
}
|
|
104
|
+
) }),
|
|
105
|
+
/* @__PURE__ */ e(
|
|
106
|
+
"path",
|
|
107
|
+
{
|
|
108
|
+
d: "M67.0422 14.1613L68.3952 11.1253H68.0762L65.8872 6.19727H67.0752L68.8132 10.2233L70.5622 6.19727H71.7172L68.1972 14.1613H67.0422Z",
|
|
109
|
+
fill: C
|
|
110
|
+
}
|
|
111
|
+
),
|
|
112
|
+
/* @__PURE__ */ e(
|
|
113
|
+
"path",
|
|
114
|
+
{
|
|
115
|
+
d: "M63.0542 11.8733C62.7536 11.8733 62.4786 11.8293 62.2292 11.7413C61.9872 11.6606 61.7746 11.547 61.5912 11.4003C61.4079 11.2536 61.2539 11.085 61.1292 10.8943L61.0192 11.7413H60.0292V3.82129H61.1292V7.06629C61.3052 6.78762 61.5509 6.55296 61.8662 6.36229C62.1889 6.16429 62.5849 6.06529 63.0542 6.06529C63.5822 6.06529 64.0479 6.19362 64.4512 6.45029C64.8546 6.69962 65.1662 7.04429 65.3862 7.48429C65.6136 7.91696 65.7272 8.41562 65.7272 8.98029C65.7272 9.53029 65.6136 10.0253 65.3862 10.4653C65.1662 10.9053 64.8546 11.25 64.4512 11.4993C64.0479 11.7486 63.5822 11.8733 63.0542 11.8733ZM62.8782 10.9163C63.2156 10.9163 63.5126 10.8356 63.7692 10.6743C64.0332 10.513 64.2386 10.2856 64.3852 9.99229C64.5392 9.69896 64.6162 9.35796 64.6162 8.96929C64.6162 8.58062 64.5392 8.24329 64.3852 7.95729C64.2386 7.66396 64.0332 7.43662 63.7692 7.27529C63.5126 7.10662 63.2156 7.02229 62.8782 7.02229C62.5336 7.02229 62.2292 7.10662 61.9652 7.27529C61.7086 7.43662 61.5069 7.66396 61.3602 7.95729C61.2136 8.24329 61.1402 8.58062 61.1402 8.96929C61.1402 9.35796 61.2136 9.69896 61.3602 9.99229C61.5069 10.2856 61.7086 10.513 61.9652 10.6743C61.2292 10.8356 62.5336 10.9163 62.8782 10.9163Z",
|
|
116
|
+
fill: C
|
|
117
|
+
}
|
|
118
|
+
),
|
|
119
|
+
/* @__PURE__ */ e(
|
|
120
|
+
"path",
|
|
121
|
+
{
|
|
122
|
+
d: "M52.9768 11.8733C52.4488 11.8733 51.9831 11.7486 51.5798 11.4993C51.1764 11.2426 50.8611 10.898 50.6338 10.4653C50.4138 10.0253 50.3038 9.52662 50.3038 8.96929C50.3038 8.40462 50.4138 7.90596 50.6338 7.47329C50.8611 7.04062 51.1764 6.69962 51.5798 6.45029C51.9904 6.19362 52.4598 6.06529 52.9878 6.06529C53.4204 6.06529 53.8018 6.15329 54.1318 6.32929C54.4618 6.49796 54.7184 6.73996 54.9018 7.05529V3.82129H56.0018V11.7413H55.0118L54.9018 10.8833C54.7918 11.052 54.6488 11.2133 54.4728 11.3673C54.2968 11.514 54.0841 11.635 53.8348 11.7303C53.5854 11.8256 53.2994 11.8733 52.9768 11.8733ZM53.1528 10.9163C53.4974 10.9163 53.8018 10.8356 54.0658 10.6743C54.3298 10.513 54.5314 10.2856 54.6708 9.99229C54.8174 9.69896 54.8908 9.35796 54.8908 8.96929C54.8908 8.58062 54.8174 8.24329 54.6708 7.95729C54.5314 7.66396 54.3298 7.43662 54.0658 7.27529C53.8018 7.10662 53.4974 7.02229 53.1528 7.02229C52.8228 7.02229 52.5258 7.10662 52.2618 7.27529C51.9978 7.43662 51.7924 7.66396 51.6458 7.95729C51.4991 8.24329 51.4258 8.58062 51.4258 8.96929C51.4258 9.35796 51.4991 9.69896 51.6458 9.99229C51.7924 10.2856 51.9978 10.513 52.2618 10.6743C52.5258 10.8356 52.8228 10.9163 53.1528 10.9163Z",
|
|
123
|
+
fill: C
|
|
124
|
+
}
|
|
125
|
+
),
|
|
126
|
+
/* @__PURE__ */ e(
|
|
127
|
+
"path",
|
|
128
|
+
{
|
|
129
|
+
d: "M46.7962 11.8734C46.2682 11.8734 45.7989 11.7524 45.3882 11.5104C44.9776 11.2684 44.6549 10.9311 44.4202 10.4984C44.1929 10.0658 44.0792 9.56343 44.0792 8.99143C44.0792 8.40476 44.1929 7.8951 44.4202 7.46243C44.6549 7.02243 44.9776 6.68143 45.3882 6.43943C45.7989 6.1901 46.2756 6.06543 46.8182 6.06543C47.3609 6.06543 47.8266 6.18643 48.2152 6.42843C48.6039 6.67043 48.9046 6.9931 49.1172 7.39643C49.3299 7.79243 49.4362 8.23243 49.4362 8.71643C49.4362 8.78976 49.4326 8.87043 49.4252 8.95843C49.4252 9.0391 49.4216 9.13076 49.4142 9.23343H44.8822V8.45243H48.3362C48.3142 7.99043 48.1602 7.6311 47.8742 7.37443C47.5882 7.11043 47.2326 6.97843 46.8072 6.97843C46.5066 6.97843 46.2316 7.0481 45.9822 7.18743C45.7329 7.31943 45.5312 7.51743 45.3772 7.78143C45.2306 8.0381 45.1572 8.36443 45.1572 8.76043V9.06843C45.1572 9.4791 45.2306 9.82743 45.3772 10.1134C45.5312 10.3921 45.7329 10.6048 45.9822 10.7514C46.2316 10.8908 46.5029 10.9604 46.7962 10.9604C47.1482 10.9604 47.4379 10.8834 47.6652 10.7294C47.8926 10.5754 48.0612 10.3664 48.1712 10.1024H49.2712C49.1759 10.4398 49.0146 10.7441 48.7872 11.0154C48.5599 11.2794 48.2776 11.4884 47.9402 11.6424C47.6102 11.7964 47.2289 11.8734 46.7962 11.8734Z",
|
|
130
|
+
fill: C
|
|
131
|
+
}
|
|
132
|
+
),
|
|
133
|
+
/* @__PURE__ */ e(
|
|
134
|
+
"path",
|
|
135
|
+
{
|
|
136
|
+
d: "M38.3714 11.7413V7.13229H37.5574V6.19729H38.3714V5.44929C38.3714 5.06796 38.4337 4.75629 38.5584 4.51429C38.6904 4.27229 38.881 4.09629 39.1304 3.98629C39.3797 3.87629 39.6804 3.82129 40.0324 3.82129H40.6044V4.75629H40.2084C39.9444 4.75629 39.7537 4.81129 39.6364 4.92129C39.5264 5.02396 39.4714 5.20729 39.4714 5.47129V6.19729H42.8484V11.7413H41.7484V7.13229H39.4714V11.7413H38.3714ZM42.3094 5.24029C42.104 5.24029 41.9317 5.17429 41.7924 5.04229C41.653 4.91029 41.5834 4.74162 41.5834 4.53629C41.5834 4.33829 41.653 4.17696 41.7924 4.05229C41.9317 3.92029 42.104 3.85429 42.3094 3.85429C42.522 3.85429 42.6944 3.92029 42.8264 4.05229C42.9657 4.17696 43.0354 4.33829 43.0354 4.53629C43.0354 4.74162 42.9657 4.91029 42.8264 5.04229C42.6944 5.17429 42.522 5.24029 42.3094 5.24029Z",
|
|
137
|
+
fill: C
|
|
138
|
+
}
|
|
139
|
+
),
|
|
140
|
+
/* @__PURE__ */ e(
|
|
141
|
+
"path",
|
|
142
|
+
{
|
|
143
|
+
d: "M35.547 11.7416V6.1976H36.647V11.7416H35.547ZM36.108 5.1526C35.8953 5.1526 35.7193 5.0866 35.58 4.9546C35.448 4.8226 35.382 4.65393 35.382 4.4486C35.382 4.2506 35.448 4.08927 35.58 3.9646C35.7193 3.8326 35.8953 3.7666 36.108 3.7666C36.3133 3.7666 36.4856 3.8326 36.625 3.9646C36.7643 4.08927 36.834 4.2506 36.834 4.4486C36.834 4.65393 36.7643 4.8226 36.625 4.9546C36.4856 5.0866 36.3133 5.1526 36.108 5.1526Z",
|
|
144
|
+
fill: C
|
|
145
|
+
}
|
|
146
|
+
),
|
|
147
|
+
/* @__PURE__ */ e(
|
|
148
|
+
"path",
|
|
149
|
+
{
|
|
150
|
+
d: "M31.4153 11.7414V6.19743H32.4053L32.5043 7.24243C32.6289 6.9931 32.7903 6.7841 32.9883 6.61543C33.1863 6.43943 33.4173 6.30376 33.6813 6.20843C33.9526 6.1131 34.2606 6.06543 34.6053 6.06543V7.23143H34.2093C33.9819 7.23143 33.7656 7.26076 33.5603 7.31943C33.3549 7.37076 33.1716 7.46243 33.0103 7.59443C32.8563 7.72643 32.7353 7.9061 32.6473 8.13343C32.5593 8.36076 32.5153 8.6431 32.5153 8.98043V11.7414H31.4153Z",
|
|
151
|
+
fill: C
|
|
152
|
+
}
|
|
153
|
+
),
|
|
154
|
+
/* @__PURE__ */ e(
|
|
155
|
+
"path",
|
|
156
|
+
{
|
|
157
|
+
d: "M27.6988 11.8734C27.1708 11.8734 26.7015 11.7524 26.2908 11.5104C25.8801 11.2684 25.5575 10.9311 25.3228 10.4984C25.0955 10.0658 24.9818 9.56343 24.9818 8.99143C24.9818 8.40476 25.0955 7.8951 25.3228 7.46243C25.5575 7.02243 25.8801 6.68143 26.2908 6.43943C26.7015 6.1901 27.1781 6.06543 27.7208 6.06543C28.2635 6.06543 28.7291 6.18643 29.1178 6.42843C29.5065 6.67043 29.8071 6.9931 30.0198 7.39643C30.2325 7.79243 30.3388 8.23243 30.3388 8.71643C30.3388 8.78976 30.3351 8.87043 30.3278 8.95843C30.3278 9.0391 30.3241 9.13076 30.3168 9.23343H25.7848V8.45243H29.2388C29.2168 7.99043 29.0628 7.6311 28.7768 7.37443C28.4908 7.11043 28.1351 6.97843 27.7098 6.97843C27.4091 6.97843 27.1341 7.0481 26.8848 7.18743C26.6355 7.31943 26.4338 7.51743 26.2798 7.78143C26.1331 8.0381 26.0598 8.36443 26.0598 8.76043V9.06843C26.0598 9.4791 26.1331 9.82743 26.2798 10.1134C26.4338 10.3921 26.6355 10.6048 26.8848 10.7514C27.1341 10.8908 27.4055 10.9604 27.6988 10.9604C28.0508 10.9604 28.3405 10.8834 28.5678 10.7294C28.7951 10.5754 28.9638 10.3664 29.0738 10.1024H30.1738C30.0785 10.4398 29.9171 10.7441 29.6898 11.0154C29.4625 11.2794 29.1801 11.4884 28.8428 11.6424C28.5128 11.7964 28.1315 11.8734 27.6988 11.8734Z",
|
|
158
|
+
fill: C
|
|
159
|
+
}
|
|
160
|
+
),
|
|
161
|
+
/* @__PURE__ */ e(
|
|
162
|
+
"path",
|
|
163
|
+
{
|
|
164
|
+
d: "M21.2482 11.7413L19.1692 6.19727H20.3242L21.8972 10.6853L23.4812 6.19727H24.6142L22.5462 11.7413H21.2482Z",
|
|
165
|
+
fill: C
|
|
166
|
+
}
|
|
167
|
+
),
|
|
168
|
+
/* @__PURE__ */ e("defs", { children: /* @__PURE__ */ e("clipPath", { id: "clip0_3596_4926", children: /* @__PURE__ */ e(
|
|
169
|
+
"rect",
|
|
170
|
+
{
|
|
171
|
+
width: "43.9938",
|
|
172
|
+
height: "11.7457",
|
|
173
|
+
fill: "white",
|
|
174
|
+
transform: "translate(76.1276 1.35156)"
|
|
175
|
+
}
|
|
176
|
+
) }) })
|
|
177
|
+
]
|
|
178
|
+
}
|
|
179
|
+
);
|
|
180
|
+
}, S = ({
|
|
181
|
+
title: C,
|
|
182
|
+
subtitle: t,
|
|
183
|
+
className: n,
|
|
184
|
+
logo: o,
|
|
185
|
+
children: r,
|
|
186
|
+
hideHeader: i,
|
|
187
|
+
hideFooterBranding: c,
|
|
188
|
+
"data-testid": a,
|
|
189
|
+
"data-permission-status": u
|
|
190
|
+
}) => {
|
|
191
|
+
const l = V({
|
|
192
|
+
hideHeader: i,
|
|
193
|
+
hideFooterBranding: c,
|
|
194
|
+
logo: o,
|
|
195
|
+
defaultLogoSrc: f
|
|
196
|
+
}), h = C || t;
|
|
197
|
+
return /* @__PURE__ */ e(
|
|
198
|
+
"div",
|
|
199
|
+
{
|
|
200
|
+
class: `IncodePageContainer ${n ?? ""}`,
|
|
201
|
+
"data-testid": a,
|
|
202
|
+
"data-permission-status": u,
|
|
203
|
+
children: /* @__PURE__ */ e("div", { class: "IncodePageInner", children: [
|
|
204
|
+
!l.hideHeader && /* @__PURE__ */ e("header", { class: "IncodePageHeader", children: /* @__PURE__ */ e(
|
|
205
|
+
"img",
|
|
206
|
+
{
|
|
207
|
+
src: l.logoSrc,
|
|
208
|
+
height: l.logoHeightPx,
|
|
209
|
+
alt: "Logo",
|
|
210
|
+
class: "IncodePageLogo"
|
|
211
|
+
}
|
|
212
|
+
) }),
|
|
213
|
+
h ? /* @__PURE__ */ e(g, { children: [
|
|
214
|
+
/* @__PURE__ */ e(s, { size: l.hideHeader ? 40 : 24 }),
|
|
215
|
+
/* @__PURE__ */ e("div", { class: "IncodePageTitleContainer", children: [
|
|
216
|
+
C ? /* @__PURE__ */ e("h2", { class: "IncodePageTitle", children: C }) : null,
|
|
217
|
+
t ? /* @__PURE__ */ e(g, { children: [
|
|
218
|
+
/* @__PURE__ */ e(s, { size: 12 }),
|
|
219
|
+
/* @__PURE__ */ e("p", { class: "IncodePageSubtitle", children: t })
|
|
220
|
+
] }) : null
|
|
221
|
+
] })
|
|
222
|
+
] }) : null,
|
|
223
|
+
/* @__PURE__ */ e("div", { class: "IncodePageContent", children: r }),
|
|
224
|
+
l.hideFooterBranding ? null : /* @__PURE__ */ e("div", { class: "IncodePageFooter", children: /* @__PURE__ */ e("div", { class: "IncodePageFooterInner", children: /* @__PURE__ */ e(v, {}) }) })
|
|
225
|
+
] })
|
|
226
|
+
}
|
|
227
|
+
);
|
|
228
|
+
};
|
|
229
|
+
export {
|
|
230
|
+
P as I,
|
|
231
|
+
S as P,
|
|
232
|
+
Z as g,
|
|
233
|
+
w as r
|
|
234
|
+
};
|