@axos-web-dev/shared-components 2.0.0-dev.login → 2.0.0-dev.rateWatch
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/ATMLocator/ATMLocator.js +5 -4
- package/dist/Auth/ErrorAlert.js +5 -4
- package/dist/Button/Button.js +5 -4
- package/dist/Calculators/ApyCalculator/index.js +78 -5
- package/dist/Calculators/Calculator.js +5 -4
- package/dist/Calculators/MarginTradingCalculator/index.js +5 -4
- package/dist/Carousel/index.js +5 -4
- package/dist/Chatbot/Bubble.css.js +0 -1
- package/dist/Chatbot/ChatWindow.d.ts +1 -0
- package/dist/Chatbot/ChatWindow.js +5 -10
- package/dist/Chatbot/Chatbot.css.js +1 -0
- package/dist/Chatbot/Chatbot.js +75 -42
- package/dist/Chatbot/ChatbotMessage.d.ts +1 -0
- package/dist/Chatbot/ChatbotMessage.js +2 -1
- package/dist/Chatbot/store/messages.d.ts +6 -1
- package/dist/Chatbot/store/messages.js +62 -3
- package/dist/Chevron/index.js +5 -4
- package/dist/Comparison/Comparison.js +5 -4
- package/dist/ExecutiveBio/ExecutiveBio.js +5 -4
- package/dist/FaqAccordion/index.js +5 -4
- package/dist/FdicCallout/index.js +1 -1
- package/dist/FooterSiteMap/AxosBank/FooterSiteMap.js +5 -4
- package/dist/Forms/ApplicationStart.js +2 -1
- package/dist/Forms/ApplyNow.js +5 -4
- package/dist/Forms/BoatMooringLocation.js +2 -1
- package/dist/Forms/ClearingForm.js +2 -1
- package/dist/Forms/CommercialDeposits.js +2 -1
- package/dist/Forms/CommercialDepositsACS.js +2 -1
- package/dist/Forms/CommercialDepositsNoLendingOption.js +2 -1
- package/dist/Forms/CommercialLending.js +2 -1
- package/dist/Forms/CommercialPremiumFinance.js +2 -1
- package/dist/Forms/CommercialTrustAndEstate.js +2 -1
- package/dist/Forms/ConstructionLendingDynamic.js +2 -1
- package/dist/Forms/ContactCompany.js +2 -1
- package/dist/Forms/ContactCompanyTitle.js +2 -1
- package/dist/Forms/ContactUs.js +2 -1
- package/dist/Forms/ContactUsAAS.js +2 -1
- package/dist/Forms/ContactUsBusiness.js +5 -4
- package/dist/Forms/ContactUsBusinessNameEmail.js +5 -4
- package/dist/Forms/ContactUsLVF.js +2 -1
- package/dist/Forms/ContactUsNMLSId.js +5 -4
- package/dist/Forms/ContactUsSchwabAAS.js +2 -1
- package/dist/Forms/CpraRequest.js +5 -4
- package/dist/Forms/CraPublicFile.js +5 -4
- package/dist/Forms/DealerServices.js +2 -1
- package/dist/Forms/EmailOnly.js +5 -4
- package/dist/Forms/EmailUs.js +2 -1
- package/dist/Forms/HoneyPot/honeyPotValidation.d.ts +27 -0
- package/dist/Forms/HoneyPot/honeyPotValidation.js +17 -0
- package/dist/Forms/HoneyPot/index.d.ts +1 -16
- package/dist/Forms/HoneyPot/index.js +2 -8
- package/dist/Forms/MortgageRate/MortgageRateForm.js +5 -4
- package/dist/Forms/MortgageRate/MortgageRateWatch.js +90 -18
- package/dist/Forms/MortgageWarehouseLending.js +5 -4
- package/dist/Forms/QuickPricer/QuickPricerForm.js +2 -1
- package/dist/Forms/ScheduleCall.js +2 -1
- package/dist/Forms/ScheduleCallPremier.js +2 -1
- package/dist/Forms/SuccesForm.js +5 -4
- package/dist/Forms/VendorQuestionnaire.js +2 -1
- package/dist/Forms/WcplSurvey.js +2 -1
- package/dist/Forms/index.js +3 -1
- package/dist/Hyperlink/index.js +5 -4
- package/dist/ImageLink/ImageLink.js +5 -4
- package/dist/ImageLink/ImageLinkSet.js +5 -4
- package/dist/ImageLink/index.js +5 -4
- package/dist/ImageToast/index.js +5 -4
- package/dist/Insight/Featured/CategorySelector.js +5 -4
- package/dist/Insight/Featured/Featured.js +5 -4
- package/dist/Insight/Featured/Header.js +5 -4
- package/dist/LandingPageHeader/LandingPageHeader.css.d.ts +4 -0
- package/dist/LandingPageHeader/LandingPageHeader.css.js +8 -0
- package/dist/LandingPageHeader/LandingPageHeader.js +4 -304
- package/dist/LandingPageHeader/WithLogin.d.ts +4 -0
- package/dist/LandingPageHeader/WithLogin.js +463 -0
- package/dist/LandingPageHeader/index.js +5 -1
- package/dist/Modal/Modal.js +5 -4
- package/dist/NavigationMenu/AxosALTS/index.js +5 -4
- package/dist/NavigationMenu/AxosAdvisor/NavBar.module.js +52 -52
- package/dist/NavigationMenu/AxosBank/MobileMenu/MobileMenu.js +5 -4
- package/dist/NavigationMenu/AxosBank/MobileMenu/MobileMenu.module.js +1 -1
- package/dist/NavigationMenu/AxosBank/MobileMenu/MobileNavData.js +1 -1
- package/dist/NavigationMenu/AxosBank/SubNavBar.js +7 -6
- package/dist/NavigationMenu/AxosBank/index.js +6 -5
- package/dist/NavigationMenu/LaVictoire/index.js +5 -4
- package/dist/NavigationMenu/NavItem/index.js +5 -4
- package/dist/NavigationMenu/ServerNavigation/DropwdownButton.js +5 -4
- package/dist/NavigationMenu/ServerNavigation/Menu.js +5 -4
- package/dist/NavigationMenu/ServerNavigation/MobileMenu/MobileMenu.js +5 -4
- package/dist/NavigationMenu/ServerNavigation/MobileMenu/MobileMenu.module.js +27 -27
- package/dist/NavigationMenu/ServerNavigation/NavBar.module.js +40 -40
- package/dist/NavigationMenu/ServerNavigation/SubNavBar.js +5 -4
- package/dist/NavigationMenu/ServerNavigation/SubNavItem.js +5 -4
- package/dist/NavigationMenu/ServerNavigation/index.js +5 -4
- package/dist/SetContainer/SetContainer.js +5 -4
- package/dist/SocialMediaBar/iconsRepository.js +5 -4
- package/dist/VideoTile/VideoTile.js +5 -4
- package/dist/VideoWrapper/index.js +5 -4
- package/dist/assets/LandingPageHeader/LandingPageHeader.css +65 -2
- package/dist/assets/NavigationMenu/AxosAdvisor/NavBar.css +609 -609
- package/dist/assets/NavigationMenu/AxosBank/MobileMenu/MobileMenu.css +353 -0
- package/dist/assets/NavigationMenu/ServerNavigation/MobileMenu/MobileMenu.css +353 -353
- package/dist/assets/NavigationMenu/ServerNavigation/NavBar.css +483 -483
- package/dist/main.js +8 -2
- package/dist/utilities.d.ts +3 -0
- package/dist/utilities.js +12 -0
- package/dist/utils/allowedAxosDomains.js +2 -3
- package/dist/utils/insightsData.d.ts +23 -0
- package/dist/utils/insightsData.js +41 -0
- package/package.json +153 -148
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
"use client";
|
|
2
1
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
3
2
|
import "../icons/ArrowIcon/ArrowIcon.css.js";
|
|
4
3
|
import "../icons/CheckIcon/CheckIcon.css.js";
|
|
5
|
-
import '../assets/
|
|
4
|
+
import '../assets/icons/FollowIcon/FollowIcon.css';import '../assets/icons/DownloadIcon/DownloadIcon.css';import '../assets/themes/victorie.css';import '../assets/themes/ufb.css';import '../assets/themes/premier.css';import '../assets/themes/axos.css';/* empty css */
|
|
6
5
|
/* empty css */
|
|
7
6
|
/* empty css */
|
|
8
7
|
/* empty css */
|
|
@@ -17,132 +16,8 @@ import SvgComponent$5 from "../icons/Logos/AXOS.js";
|
|
|
17
16
|
import SvgComponent$6 from "../icons/Logos/GBLVF.js";
|
|
18
17
|
import SvgComponent$7 from "../icons/Logos/SPB.js";
|
|
19
18
|
import { getVariant } from "../utils/getVariant.js";
|
|
20
|
-
import { svg_fill, spb_container, lp_container, spb_hover, lp_hover,
|
|
21
|
-
import {
|
|
22
|
-
import { AnimatePresence, motion } from "framer-motion";
|
|
23
|
-
import Link from "next/link.js";
|
|
24
|
-
import { getLoginGroups } from "../NavigationMenu/AxosBank/MobileMenu/MobileNavData.js";
|
|
25
|
-
import styles from "../NavigationMenu/AxosBank/MobileMenu/MobileMenu.module.js";
|
|
26
|
-
import "../Chevron/Chevron.css.js";
|
|
27
|
-
import "../Accordion/Accordion.js";
|
|
28
|
-
import "../Accordion/Accordion.css.js";
|
|
29
|
-
import "clsx";
|
|
30
|
-
import "../AlertBanner/AlertBanner.css.js";
|
|
31
|
-
import "../Article/Article.css.js";
|
|
32
|
-
import { Button } from "../Button/Button.js";
|
|
33
|
-
import "../Button/Button.css.js";
|
|
34
|
-
import "react-use";
|
|
35
|
-
import "../ArticlesSet/ArticlesSet.css.js";
|
|
36
|
-
import "../IconBillboard/IconBillboard.css.js";
|
|
37
|
-
import "../Calculators/calculator.css.js";
|
|
38
|
-
import "../Calculators/AnnualFeeCalculator/AnnualFeeCalculator.css.js";
|
|
39
|
-
import { useGlobalContext } from "../Modal/contextApi/store.js";
|
|
40
|
-
import "next/image.js";
|
|
41
|
-
import "../Calculators/ApyCalculator/ApyCalculator.css.js";
|
|
42
|
-
import "../Calculators/ApyCalculatorUserTest/ApyCalculatorUserTest.css.js";
|
|
43
|
-
import "../HeroBanner/LargeBanner.css.js";
|
|
44
|
-
import "../HeroBanner/HeroBanner.css.js";
|
|
45
|
-
import "../HeroBanner/SelectionBanner.css.js";
|
|
46
|
-
/* empty css */
|
|
47
|
-
/* empty css */
|
|
48
|
-
/* empty css */
|
|
49
|
-
import "../SetContainer/SetContainer.css.js";
|
|
50
|
-
import "../Table/Table.css.js";
|
|
51
|
-
import "../Calculators/AxosOneCalculator/BalanceAPYCalculator.css.js";
|
|
52
|
-
import "../Calculators/BalanceAPYCalculator/BalanceAPYCalculator.css.js";
|
|
53
|
-
import "@hookform/resolvers/zod";
|
|
54
|
-
import "../Input/Checkbox.js";
|
|
55
|
-
import "../Input/CurrencyInput.js";
|
|
56
|
-
import "../Input/Dropdown.js";
|
|
57
|
-
import "../Input/Dropdown.css.js";
|
|
58
|
-
import "../Input/Input.js";
|
|
59
|
-
import "../Input/Input.css.js";
|
|
60
|
-
import "../Input/InputAmount.js";
|
|
61
|
-
import "../Input/InputPhone.js";
|
|
62
|
-
import "../Input/InputTextArea.js";
|
|
63
|
-
import "../Input/DownPaymentInput.js";
|
|
64
|
-
import "../Input/RadioButton.js";
|
|
65
|
-
import "../Input/PercentageInput.js";
|
|
66
|
-
import "react-hook-form";
|
|
67
|
-
import "../Calculators/BuyDownCalculator/BuyDownCalculator.css.js";
|
|
68
|
-
import "../Forms/Forms.css.js";
|
|
69
|
-
import "../Forms/HoneyPot/index.js";
|
|
70
|
-
import "../Forms/SalesforceFieldsForm.js";
|
|
71
|
-
import "../Input/RadioButton.css.js";
|
|
72
|
-
import "../Input/Checkbox.css.js";
|
|
73
|
-
import "../LoadingIndicator/LoadingIndicator.css.js";
|
|
74
|
-
import "../Interstitial/Interstitial-variants.css.js";
|
|
75
|
-
import "../Inputs/Input.css.js";
|
|
76
|
-
/* empty css */
|
|
77
|
-
import "../Hyperlink/Hyperlink.css.js";
|
|
78
|
-
/* empty css */
|
|
79
|
-
import "iframe-resizer";
|
|
80
|
-
/* empty css */
|
|
81
|
-
import "../Calculators/MonthlyPaymentCalculator/MonthlyPaymentCalculator.css.js";
|
|
82
|
-
import "../Calculators/MonthlyPaymentLVFCalculator/MonthlyPaymentCalculator.css.js";
|
|
83
|
-
import "../Calculators/SummitApyCalculator/BalanceAPYCalculator.css.js";
|
|
84
|
-
/* empty css */
|
|
85
|
-
import "react-dom";
|
|
86
|
-
/* empty css */
|
|
87
|
-
import "../Auth/SignInPassword.js";
|
|
88
|
-
/* empty css */
|
|
89
|
-
/* empty css */
|
|
90
|
-
/* empty css */
|
|
91
|
-
/* empty css */
|
|
92
|
-
import "../Carousel/index.js";
|
|
93
|
-
/* empty css */
|
|
94
|
-
import "../Chatbot/Chatbot.css.ts.vanilla.css.js";
|
|
95
|
-
/* empty css */
|
|
96
|
-
import "../Chatbot/store/chat.js";
|
|
97
|
-
import "../Chatbot/Chatbot.js";
|
|
98
|
-
/* empty css */
|
|
99
|
-
import "../Chatbot/store/messages.js";
|
|
100
|
-
/* empty css */
|
|
101
|
-
import "../Comparison/Comparison.css.js";
|
|
102
|
-
import "../Tab/Tab.css.js";
|
|
103
|
-
import "../icons/Star/Star.css.js";
|
|
104
|
-
import "../ContentBanner/ContentBanner.css.js";
|
|
105
|
-
/* empty css */
|
|
106
|
-
import "../ExecutiveBio/ExecutiveBio.css.js";
|
|
107
|
-
import "../FaqAccordion/index.js";
|
|
108
|
-
import "../FooterDisclosure/FooterDisclosure.css.js";
|
|
109
|
-
/* empty css */
|
|
110
|
-
/* empty css */
|
|
111
|
-
/* empty css */
|
|
112
|
-
import "../ImageBillboard/ImageBillboard.css.js";
|
|
113
|
-
import "next/script.js";
|
|
114
|
-
/* empty css */
|
|
115
|
-
/* empty css */
|
|
116
|
-
/* empty css */
|
|
117
|
-
/* empty css */
|
|
118
|
-
/* empty css */
|
|
119
|
-
/* empty css */
|
|
120
|
-
import "next/navigation.js";
|
|
121
|
-
/* empty css */
|
|
122
|
-
/* empty css */
|
|
123
|
-
/* empty css */
|
|
124
|
-
/* empty css */
|
|
125
|
-
import "../NavigationMenu/ServerNavigation/Menu.js";
|
|
126
|
-
import "../NavigationMenu/ServerNavigation/SubNavbar.css.js";
|
|
127
|
-
/* empty css */
|
|
128
|
-
/* empty css */
|
|
129
|
-
/* empty css */
|
|
130
|
-
/* empty css */
|
|
131
|
-
/* empty css */
|
|
132
|
-
import "../PageNavItem/PageNavItem.css.js";
|
|
133
|
-
import "react-slick";
|
|
134
|
-
/* empty css */
|
|
135
|
-
/* empty css */
|
|
136
|
-
/* empty css */
|
|
137
|
-
/* empty css */
|
|
138
|
-
import "../StepItem/StepItem.css.js";
|
|
139
|
-
import "../StepItemSet/StepItemSet.css.js";
|
|
140
|
-
/* empty css */
|
|
141
|
-
/* empty css */
|
|
142
|
-
/* empty css */
|
|
143
|
-
/* empty css */
|
|
144
|
-
/* empty css */
|
|
145
|
-
/* empty css */
|
|
19
|
+
import { svg_fill, spb_container, lp_container, spb_hover, lp_hover, lp_theme } from "./LandingPageHeader.css.js";
|
|
20
|
+
import { WithLogin } from "./WithLogin.js";
|
|
146
21
|
const LandingPageHeader = ({
|
|
147
22
|
id,
|
|
148
23
|
variant: fullVariant = "primary",
|
|
@@ -181,64 +56,6 @@ const LandingPageHeader = ({
|
|
|
181
56
|
["SPB", /* @__PURE__ */ jsx(SvgComponent$7, { height: "100%", width: "100%" })]
|
|
182
57
|
]);
|
|
183
58
|
const isSPBPage = project === "SPB";
|
|
184
|
-
const [open, setOpen] = useState(false);
|
|
185
|
-
const { resolveUrl } = useGlobalContext();
|
|
186
|
-
const [queryString, setQueryString] = useState("");
|
|
187
|
-
const [loginDrawerOpen, setLoginDrawerOpen] = useState(false);
|
|
188
|
-
const drawerRef = useRef(null);
|
|
189
|
-
const loginDrawerRef = useRef(null);
|
|
190
|
-
const loginGroups = useMemo(() => getLoginGroups(resolveUrl), [resolveUrl]);
|
|
191
|
-
const handleLoginDrawerOpen = () => setLoginDrawerOpen(true);
|
|
192
|
-
const handleLoginDrawerClose = () => setLoginDrawerOpen(false);
|
|
193
|
-
const handleLoginDrawerOutsideClick = (e) => {
|
|
194
|
-
if (loginDrawerRef.current && !loginDrawerRef.current.contains(e.target)) {
|
|
195
|
-
setLoginDrawerOpen(false);
|
|
196
|
-
}
|
|
197
|
-
};
|
|
198
|
-
const handleOutsideClick = (e) => {
|
|
199
|
-
if (drawerRef.current && !drawerRef.current.contains(e.target)) {
|
|
200
|
-
setOpen(false);
|
|
201
|
-
}
|
|
202
|
-
};
|
|
203
|
-
useEffect(() => {
|
|
204
|
-
if (typeof window !== "undefined") {
|
|
205
|
-
const search = window.location.search;
|
|
206
|
-
if (search.startsWith("?")) {
|
|
207
|
-
setQueryString(search.slice(1));
|
|
208
|
-
}
|
|
209
|
-
}
|
|
210
|
-
}, []);
|
|
211
|
-
useEffect(() => {
|
|
212
|
-
if (open) {
|
|
213
|
-
document.addEventListener("mousedown", handleOutsideClick);
|
|
214
|
-
} else {
|
|
215
|
-
document.removeEventListener("mousedown", handleOutsideClick);
|
|
216
|
-
}
|
|
217
|
-
return () => document.removeEventListener("mousedown", handleOutsideClick);
|
|
218
|
-
}, [open]);
|
|
219
|
-
useEffect(() => {
|
|
220
|
-
const onEsc = (e) => {
|
|
221
|
-
if (e.key === "Escape") setOpen(false);
|
|
222
|
-
};
|
|
223
|
-
if (open) {
|
|
224
|
-
document.addEventListener("keydown", onEsc);
|
|
225
|
-
}
|
|
226
|
-
return () => document.removeEventListener("keydown", onEsc);
|
|
227
|
-
}, [open]);
|
|
228
|
-
useEffect(() => {
|
|
229
|
-
if (!loginDrawerOpen) return;
|
|
230
|
-
document.addEventListener("mousedown", handleLoginDrawerOutsideClick);
|
|
231
|
-
return () => document.removeEventListener("mousedown", handleLoginDrawerOutsideClick);
|
|
232
|
-
}, [loginDrawerOpen]);
|
|
233
|
-
useEffect(() => {
|
|
234
|
-
const onEsc = (e) => {
|
|
235
|
-
if (e.key === "Escape") setLoginDrawerOpen(false);
|
|
236
|
-
};
|
|
237
|
-
if (loginDrawerOpen) {
|
|
238
|
-
document.addEventListener("keydown", onEsc);
|
|
239
|
-
}
|
|
240
|
-
return () => document.removeEventListener("keydown", onEsc);
|
|
241
|
-
}, [loginDrawerOpen]);
|
|
242
59
|
return /* @__PURE__ */ jsx(
|
|
243
60
|
"header",
|
|
244
61
|
{
|
|
@@ -270,124 +87,7 @@ const LandingPageHeader = ({
|
|
|
270
87
|
) : website.get(project)
|
|
271
88
|
}
|
|
272
89
|
),
|
|
273
|
-
login && /* @__PURE__ */
|
|
274
|
-
/* @__PURE__ */ jsx(
|
|
275
|
-
Button,
|
|
276
|
-
{
|
|
277
|
-
as: "button",
|
|
278
|
-
className: lp_login_button,
|
|
279
|
-
action: handleLoginDrawerOpen,
|
|
280
|
-
"aria-label": "Open login options",
|
|
281
|
-
size: "small",
|
|
282
|
-
color: variant === "primary" || variant === "secondary" ? "primary" : "secondary",
|
|
283
|
-
children: "Log in"
|
|
284
|
-
}
|
|
285
|
-
),
|
|
286
|
-
/* @__PURE__ */ jsx(AnimatePresence, { children: loginDrawerOpen && /* @__PURE__ */ jsx(
|
|
287
|
-
motion.div,
|
|
288
|
-
{
|
|
289
|
-
className: styles.overlay,
|
|
290
|
-
initial: { opacity: 0 },
|
|
291
|
-
animate: { opacity: 1 },
|
|
292
|
-
exit: { opacity: 0 },
|
|
293
|
-
children: /* @__PURE__ */ jsxs(
|
|
294
|
-
motion.div,
|
|
295
|
-
{
|
|
296
|
-
className: `${styles.drawer} flex_col`,
|
|
297
|
-
ref: loginDrawerRef,
|
|
298
|
-
initial: { x: "100%" },
|
|
299
|
-
animate: { x: 0 },
|
|
300
|
-
exit: { x: "30%" },
|
|
301
|
-
transition: { type: "tween", duration: 0.3 },
|
|
302
|
-
role: "dialog",
|
|
303
|
-
"aria-modal": "true",
|
|
304
|
-
"aria-label": "Login options",
|
|
305
|
-
children: [
|
|
306
|
-
/* @__PURE__ */ jsxs("div", { className: styles.header, children: [
|
|
307
|
-
/* @__PURE__ */ jsx(
|
|
308
|
-
"a",
|
|
309
|
-
{
|
|
310
|
-
href: window.location.href.split("/")[3] === "invest" ? "/invest" : "/",
|
|
311
|
-
"aria-label": "return to home page",
|
|
312
|
-
children: /* @__PURE__ */ jsx(
|
|
313
|
-
"img",
|
|
314
|
-
{
|
|
315
|
-
src: "https://www.axos.com/images/1sBwCIn5mqOg5DK2uXDJPc/axb_mobile_logo.png",
|
|
316
|
-
alt: "",
|
|
317
|
-
width: 86,
|
|
318
|
-
height: 19
|
|
319
|
-
}
|
|
320
|
-
)
|
|
321
|
-
}
|
|
322
|
-
),
|
|
323
|
-
/* @__PURE__ */ jsx("span", { className: styles.loginDrawerTitle, children: "Log in" }),
|
|
324
|
-
/* @__PURE__ */ jsx(
|
|
325
|
-
"button",
|
|
326
|
-
{
|
|
327
|
-
type: "button",
|
|
328
|
-
className: `${styles.close} flex_col`,
|
|
329
|
-
"aria-label": "Close login options",
|
|
330
|
-
onClick: handleLoginDrawerClose,
|
|
331
|
-
children: /* @__PURE__ */ jsx(
|
|
332
|
-
"svg",
|
|
333
|
-
{
|
|
334
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
335
|
-
width: "24",
|
|
336
|
-
height: "24",
|
|
337
|
-
viewBox: "0 0 24 24",
|
|
338
|
-
fill: "none",
|
|
339
|
-
"aria-hidden": "true",
|
|
340
|
-
children: /* @__PURE__ */ jsx(
|
|
341
|
-
"path",
|
|
342
|
-
{
|
|
343
|
-
d: "M20.2812 2.65625L21.3419 3.71691L13.0602 11.9982L21.3419 20.2812L20.2812 21.3419L11.9982 13.0602L3.71691 21.3419L2.65625 20.2812L10.9377 11.9982L2.65625 3.71691L3.71691 2.65625L11.9982 10.9377L20.2812 2.65625Z",
|
|
344
|
-
fill: "#14263D"
|
|
345
|
-
}
|
|
346
|
-
)
|
|
347
|
-
}
|
|
348
|
-
)
|
|
349
|
-
}
|
|
350
|
-
)
|
|
351
|
-
] }),
|
|
352
|
-
/* @__PURE__ */ jsx("div", { className: styles.loginDrawerContent, children: /* @__PURE__ */ jsx("div", { className: styles.loginAccordion, children: /* @__PURE__ */ jsx(
|
|
353
|
-
"ul",
|
|
354
|
-
{
|
|
355
|
-
className: styles.loginAccordionList,
|
|
356
|
-
"aria-label": "Login options",
|
|
357
|
-
children: loginGroups.map((group) => /* @__PURE__ */ jsxs(
|
|
358
|
-
"li",
|
|
359
|
-
{
|
|
360
|
-
className: styles.loginAccordionGroup,
|
|
361
|
-
"aria-label": `${group.heading} login options`,
|
|
362
|
-
children: [
|
|
363
|
-
/* @__PURE__ */ jsx("span", { className: styles.loginAccordionHeading, children: group.heading }),
|
|
364
|
-
/* @__PURE__ */ jsx("ul", { className: styles.loginAccordionGroupList, children: group.items.map((item) => /* @__PURE__ */ jsx(
|
|
365
|
-
"li",
|
|
366
|
-
{
|
|
367
|
-
"aria-label": `access ${item.title}`,
|
|
368
|
-
children: /* @__PURE__ */ jsx(
|
|
369
|
-
Link,
|
|
370
|
-
{
|
|
371
|
-
href: item.url + (queryString && !item.url.includes("?") ? `?${queryString}` : ""),
|
|
372
|
-
className: styles.menuItem,
|
|
373
|
-
children: /* @__PURE__ */ jsx("span", { children: item.title })
|
|
374
|
-
}
|
|
375
|
-
)
|
|
376
|
-
},
|
|
377
|
-
item.title
|
|
378
|
-
)) })
|
|
379
|
-
]
|
|
380
|
-
},
|
|
381
|
-
group.heading
|
|
382
|
-
))
|
|
383
|
-
}
|
|
384
|
-
) }) })
|
|
385
|
-
]
|
|
386
|
-
}
|
|
387
|
-
)
|
|
388
|
-
}
|
|
389
|
-
) })
|
|
390
|
-
] })
|
|
90
|
+
login && /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx(WithLogin, { variant }) })
|
|
391
91
|
]
|
|
392
92
|
}
|
|
393
93
|
)
|