quirk-ui 0.1.113 → 0.1.114
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/NavLink-Cog4-Ds3.cjs +1 -0
- package/dist/NavLink-DhezdhFU.js +161 -0
- package/dist/NavLink.css +1 -1
- package/dist/core/components/NavBar/NavLink.cjs +1 -1
- package/dist/core/components/NavBar/NavLink.mjs +1 -1
- package/dist/core/components/NavBar/index.cjs +3 -3
- package/dist/core/components/NavBar/index.mjs +69 -68
- package/dist/core/tokens/theme.cjs +1 -1
- package/dist/core/tokens/theme.mjs +2 -2
- package/package.json +1 -1
- package/dist/NavLink-CaWX-AXn.js +0 -159
- package/dist/NavLink-jxzO9Z90.cjs +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";require('./NavLink.css');const t=require("react/jsx-runtime"),j=require("react"),g=require("./external-link-DDShu-48.cjs"),h=require("./chevron-down-DfK1XBl3.cjs"),p="_navbar_j6v4u_1",k="_sticky_j6v4u_15",f="_left_j6v4u_31",I="_container_j6v4u_32",y="_logo_j6v4u_36",C="_nav_j6v4u_1",M="_center_j6v4u_51",w="_hidden_j6v4u_59",x="_visible_j6v4u_66",T="_right_j6v4u_81",S="_title_j6v4u_88",D="_linkWrapper_j6v4u_98",N="_parent_j6v4u_98",W="_linkItem_j6v4u_105",$="_link_j6v4u_98",L="_search_j6v4u_111",E="_locale_j6v4u_112",F="_themeToggle_j6v4u_113",q="_sublinkToggle_j6v4u_114",R="_standard_j6v4u_165",B="_triangle_j6v4u_173",z="_twoColumn_j6v4u_202",A="_mobileButtons_j6v4u_211",G="_menuToggle_j6v4u_289",H="_utilityMobile_j6v4u_307",J="_utility_j6v4u_307",K="_navInner_j6v4u_335",Q="_grid_j6v4u_346",U="_searchModal_j6v4u_369",V="_localeModal_j6v4u_370",X="_separator_j6v4u_390",Y="_newTabIcon_j6v4u_432",Z="_sublinksDescription_j6v4u_445",O="_linkContent_j6v4u_448",P="_open_j6v4u_461",nn="_back_j6v4u_485",en="_sublinks_j6v4u_445",tn="_show_j6v4u_534",on="_primaryColumn_j6v4u_583",sn="_secondaryColumn_j6v4u_592",_n="_spotlightColumn_j6v4u_596",ln="_sublinksInner_j6v4u_600",un="_sublinksColumn_j6v4u_619",rn="_chevron_j6v4u_629",cn="_menubar_j6v4u_641",an="_toolbar_j6v4u_645",vn="_advanced_j6v4u_846",jn="_subtitle_j6v4u_855",dn="_withSpotlight_j6v4u_897",mn="_withoutSpotlight_j6v4u_901",bn="_transparent_j6v4u_939",gn="_utilityDefault_j6v4u_1056",hn="_utilityScrolled_j6v4u_1063",pn="_groupDivider_j6v4u_1088",kn="_searchWrapper_j6v4u_1096",fn="_mobileMenu_j6v4u_1103",In="_mobileMenuSlide_j6v4u_1104",yn="_mobileMenuItem_j6v4u_1114",Cn="_fadeInFromLeft_j6v4u_1118",Mn="_fadeInFromRight_j6v4u_1122",wn="_spotlight_j6v4u_596",xn="_imageWrapper_j6v4u_1132",Tn="_content_j6v4u_1154",Sn="_description_j6v4u_1169",Dn="_actions_j6v4u_1173",e={navbar:p,sticky:k,left:f,container:I,logo:y,nav:C,center:M,hidden:w,visible:x,right:T,title:S,linkWrapper:D,parent:N,linkItem:W,link:$,search:L,locale:E,themeToggle:F,sublinkToggle:q,standard:R,triangle:B,twoColumn:z,mobileButtons:A,menuToggle:G,utilityMobile:H,utility:J,navInner:K,grid:Q,searchModal:U,localeModal:V,separator:X,newTabIcon:Y,sublinksDescription:Z,linkContent:O,open:P,back:nn,sublinks:en,show:tn,primaryColumn:on,secondaryColumn:sn,spotlightColumn:_n,sublinksInner:ln,sublinksColumn:un,chevron:rn,menubar:cn,toolbar:an,default:"_default_j6v4u_773",advanced:vn,subtitle:jn,withSpotlight:dn,withoutSpotlight:mn,transparent:bn,utilityDefault:gn,utilityScrolled:hn,groupDivider:pn,searchWrapper:kn,mobileMenu:fn,mobileMenuSlide:In,mobileMenuItem:yn,fadeInFromLeft:Cn,fadeInFromRight:Mn,spotlight:wn,imageWrapper:xn,content:Tn,description:Sn,actions:Dn};function Nn({link:n,path:o,parentPath:u,openPath:d,togglePath:r,updateTriangleIndicator:m,setOpenPath:_,renderLinks:b,buttonRefs:i}){var a;const l=d===o,s=!!((a=n.sublinks)!=null&&a.length),c=j.useRef(null);return j.useEffect(()=>(i.current.set(o,c.current),()=>{i.current.delete(o)}),[o,i]),t.jsxs("div",{role:"menuitem",className:`${e.linkWrapper} ${u?"":e.parent}`,children:[t.jsx("div",{className:e.linkItem,children:n.href?t.jsxs("a",{href:n.href,className:e.link,target:n.isExternal?"_blank":"_self",rel:n.isExternal?"noopener noreferrer":void 0,onClick:()=>{var v;_(null),(v=n.onClick)==null||v.call(n)},onMouseEnter:()=>{u||_(null)},children:[n.label,n.isExternal&&t.jsx(g.ExternalLink,{className:e.newTabIcon,size:16,"aria-hidden":"true"})]}):t.jsxs("button",{ref:c,"aria-haspopup":s?!0:void 0,"aria-expanded":s?l:void 0,className:`${e.sublinkToggle} ${l?e.open:""}`,onClick:()=>r(o),onMouseEnter:()=>{m(o),_(o)},children:[n.label,s&&t.jsx(h.ChevronDown,{size:18,className:e.chevron,"aria-hidden":"true"})]})}),s&&t.jsx("div",{className:`${e.sublinks} ${l?e.show:""}`,onMouseLeave:()=>r(o),role:"menu","aria-label":`${n.label} submenu`,children:t.jsx("div",{children:t.jsx("div",{className:e.sublinksInner,children:t.jsx("div",{className:e.sublinksColumn,children:b(n.sublinks,o)})})})})]})}exports.NavLink=Nn;exports.styles=e;
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
import { jsxs as u, jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { useRef as p, useEffect as g } from "react";
|
|
3
|
+
import { E as h } from "./external-link-BOPobeQJ.js";
|
|
4
|
+
import { C as k } from "./chevron-down-DSUzBz9F.js";
|
|
5
|
+
import './NavLink.css';const f = "_navbar_j6v4u_1", C = "_sticky_j6v4u_15", I = "_left_j6v4u_31", y = "_container_j6v4u_32", M = "_logo_j6v4u_36", w = "_nav_j6v4u_1", T = "_center_j6v4u_51", S = "_hidden_j6v4u_59", N = "_visible_j6v4u_66", D = "_right_j6v4u_81", W = "_title_j6v4u_88", x = "_linkWrapper_j6v4u_98", E = "_parent_j6v4u_98", $ = "_linkItem_j6v4u_105", F = "_link_j6v4u_98", L = "_search_j6v4u_111", B = "_locale_j6v4u_112", R = "_themeToggle_j6v4u_113", z = "_sublinkToggle_j6v4u_114", q = "_standard_j6v4u_165", A = "_triangle_j6v4u_173", G = "_twoColumn_j6v4u_202", H = "_mobileButtons_j6v4u_211", J = "_menuToggle_j6v4u_289", K = "_utilityMobile_j6v4u_307", Q = "_utility_j6v4u_307", U = "_navInner_j6v4u_335", V = "_grid_j6v4u_346", X = "_searchModal_j6v4u_369", Y = "_localeModal_j6v4u_370", Z = "_separator_j6v4u_390", O = "_newTabIcon_j6v4u_432", P = "_sublinksDescription_j6v4u_445", nn = "_linkContent_j6v4u_448", en = "_open_j6v4u_461", tn = "_back_j6v4u_485", on = "_sublinks_j6v4u_445", sn = "_show_j6v4u_534", _n = "_primaryColumn_j6v4u_583", ln = "_secondaryColumn_j6v4u_592", un = "_spotlightColumn_j6v4u_596", rn = "_sublinksInner_j6v4u_600", cn = "_sublinksColumn_j6v4u_619", an = "_chevron_j6v4u_629", vn = "_menubar_j6v4u_641", mn = "_toolbar_j6v4u_645", dn = "_advanced_j6v4u_846", jn = "_subtitle_j6v4u_855", bn = "_withSpotlight_j6v4u_897", pn = "_withoutSpotlight_j6v4u_901", gn = "_transparent_j6v4u_939", hn = "_utilityDefault_j6v4u_1056", kn = "_utilityScrolled_j6v4u_1063", fn = "_groupDivider_j6v4u_1088", Cn = "_searchWrapper_j6v4u_1096", In = "_mobileMenu_j6v4u_1103", yn = "_mobileMenuSlide_j6v4u_1104", Mn = "_mobileMenuItem_j6v4u_1114", wn = "_fadeInFromLeft_j6v4u_1118", Tn = "_fadeInFromRight_j6v4u_1122", Sn = "_spotlight_j6v4u_596", Nn = "_imageWrapper_j6v4u_1132", Dn = "_content_j6v4u_1154", Wn = "_description_j6v4u_1169", xn = "_actions_j6v4u_1173", e = {
|
|
6
|
+
navbar: f,
|
|
7
|
+
sticky: C,
|
|
8
|
+
left: I,
|
|
9
|
+
container: y,
|
|
10
|
+
logo: M,
|
|
11
|
+
nav: w,
|
|
12
|
+
center: T,
|
|
13
|
+
hidden: S,
|
|
14
|
+
visible: N,
|
|
15
|
+
right: D,
|
|
16
|
+
title: W,
|
|
17
|
+
linkWrapper: x,
|
|
18
|
+
parent: E,
|
|
19
|
+
linkItem: $,
|
|
20
|
+
link: F,
|
|
21
|
+
search: L,
|
|
22
|
+
locale: B,
|
|
23
|
+
themeToggle: R,
|
|
24
|
+
sublinkToggle: z,
|
|
25
|
+
standard: q,
|
|
26
|
+
triangle: A,
|
|
27
|
+
twoColumn: G,
|
|
28
|
+
mobileButtons: H,
|
|
29
|
+
menuToggle: J,
|
|
30
|
+
utilityMobile: K,
|
|
31
|
+
utility: Q,
|
|
32
|
+
navInner: U,
|
|
33
|
+
grid: V,
|
|
34
|
+
searchModal: X,
|
|
35
|
+
localeModal: Y,
|
|
36
|
+
separator: Z,
|
|
37
|
+
newTabIcon: O,
|
|
38
|
+
sublinksDescription: P,
|
|
39
|
+
linkContent: nn,
|
|
40
|
+
open: en,
|
|
41
|
+
back: tn,
|
|
42
|
+
sublinks: on,
|
|
43
|
+
show: sn,
|
|
44
|
+
primaryColumn: _n,
|
|
45
|
+
secondaryColumn: ln,
|
|
46
|
+
spotlightColumn: un,
|
|
47
|
+
sublinksInner: rn,
|
|
48
|
+
sublinksColumn: cn,
|
|
49
|
+
chevron: an,
|
|
50
|
+
menubar: vn,
|
|
51
|
+
toolbar: mn,
|
|
52
|
+
default: "_default_j6v4u_773",
|
|
53
|
+
advanced: dn,
|
|
54
|
+
subtitle: jn,
|
|
55
|
+
withSpotlight: bn,
|
|
56
|
+
withoutSpotlight: pn,
|
|
57
|
+
transparent: gn,
|
|
58
|
+
utilityDefault: hn,
|
|
59
|
+
utilityScrolled: kn,
|
|
60
|
+
groupDivider: fn,
|
|
61
|
+
searchWrapper: Cn,
|
|
62
|
+
mobileMenu: In,
|
|
63
|
+
mobileMenuSlide: yn,
|
|
64
|
+
mobileMenuItem: Mn,
|
|
65
|
+
fadeInFromLeft: wn,
|
|
66
|
+
fadeInFromRight: Tn,
|
|
67
|
+
spotlight: Sn,
|
|
68
|
+
imageWrapper: Nn,
|
|
69
|
+
content: Dn,
|
|
70
|
+
description: Wn,
|
|
71
|
+
actions: xn
|
|
72
|
+
};
|
|
73
|
+
function Bn({
|
|
74
|
+
link: n,
|
|
75
|
+
path: t,
|
|
76
|
+
parentPath: r,
|
|
77
|
+
openPath: d,
|
|
78
|
+
togglePath: c,
|
|
79
|
+
updateTriangleIndicator: j,
|
|
80
|
+
setOpenPath: _,
|
|
81
|
+
renderLinks: b,
|
|
82
|
+
buttonRefs: l
|
|
83
|
+
}) {
|
|
84
|
+
var v;
|
|
85
|
+
const i = d === t, s = !!((v = n.sublinks) != null && v.length), a = p(null);
|
|
86
|
+
return g(() => (l.current.set(t, a.current), () => {
|
|
87
|
+
l.current.delete(t);
|
|
88
|
+
}), [t, l]), /* @__PURE__ */ u(
|
|
89
|
+
"div",
|
|
90
|
+
{
|
|
91
|
+
role: "menuitem",
|
|
92
|
+
className: `${e.linkWrapper} ${r ? "" : e.parent}`,
|
|
93
|
+
children: [
|
|
94
|
+
/* @__PURE__ */ o("div", { className: e.linkItem, children: n.href ? /* @__PURE__ */ u(
|
|
95
|
+
"a",
|
|
96
|
+
{
|
|
97
|
+
href: n.href,
|
|
98
|
+
className: e.link,
|
|
99
|
+
target: n.isExternal ? "_blank" : "_self",
|
|
100
|
+
rel: n.isExternal ? "noopener noreferrer" : void 0,
|
|
101
|
+
onClick: () => {
|
|
102
|
+
var m;
|
|
103
|
+
_(null), (m = n.onClick) == null || m.call(n);
|
|
104
|
+
},
|
|
105
|
+
onMouseEnter: () => {
|
|
106
|
+
r || _(null);
|
|
107
|
+
},
|
|
108
|
+
children: [
|
|
109
|
+
n.label,
|
|
110
|
+
n.isExternal && /* @__PURE__ */ o(
|
|
111
|
+
h,
|
|
112
|
+
{
|
|
113
|
+
className: e.newTabIcon,
|
|
114
|
+
size: 16,
|
|
115
|
+
"aria-hidden": "true"
|
|
116
|
+
}
|
|
117
|
+
)
|
|
118
|
+
]
|
|
119
|
+
}
|
|
120
|
+
) : /* @__PURE__ */ u(
|
|
121
|
+
"button",
|
|
122
|
+
{
|
|
123
|
+
ref: a,
|
|
124
|
+
"aria-haspopup": s ? !0 : void 0,
|
|
125
|
+
"aria-expanded": s ? i : void 0,
|
|
126
|
+
className: `${e.sublinkToggle} ${i ? e.open : ""}`,
|
|
127
|
+
onClick: () => c(t),
|
|
128
|
+
onMouseEnter: () => {
|
|
129
|
+
j(t), _(t);
|
|
130
|
+
},
|
|
131
|
+
children: [
|
|
132
|
+
n.label,
|
|
133
|
+
s && /* @__PURE__ */ o(
|
|
134
|
+
k,
|
|
135
|
+
{
|
|
136
|
+
size: 18,
|
|
137
|
+
className: e.chevron,
|
|
138
|
+
"aria-hidden": "true"
|
|
139
|
+
}
|
|
140
|
+
)
|
|
141
|
+
]
|
|
142
|
+
}
|
|
143
|
+
) }),
|
|
144
|
+
s && /* @__PURE__ */ o(
|
|
145
|
+
"div",
|
|
146
|
+
{
|
|
147
|
+
className: `${e.sublinks} ${i ? e.show : ""}`,
|
|
148
|
+
onMouseLeave: () => c(t),
|
|
149
|
+
role: "menu",
|
|
150
|
+
"aria-label": `${n.label} submenu`,
|
|
151
|
+
children: /* @__PURE__ */ o("div", { children: /* @__PURE__ */ o("div", { className: e.sublinksInner, children: /* @__PURE__ */ o("div", { className: e.sublinksColumn, children: b(n.sublinks, t) }) }) })
|
|
152
|
+
}
|
|
153
|
+
)
|
|
154
|
+
]
|
|
155
|
+
}
|
|
156
|
+
);
|
|
157
|
+
}
|
|
158
|
+
export {
|
|
159
|
+
Bn as N,
|
|
160
|
+
e as s
|
|
161
|
+
};
|
package/dist/NavLink.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
._navbar_1dwl0_1{position:relative;z-index:1000}._sticky_1dwl0_15{position:fixed;top:0;left:0;right:0;z-index:1000;width:100%}._left_1dwl0_31 ._container_1dwl0_32{justify-content:flex-start}._left_1dwl0_31 ._logo_1dwl0_36{flex:unset}._left_1dwl0_31 ._nav_1dwl0_1{flex:1}@media (max-width: 767px){._left_1dwl0_31 ._logo_1dwl0_36{flex:1}}._center_1dwl0_51 ._nav_1dwl0_1{transition:transform .3s ease-in-out,opacity .3s ease-in-out;will-change:transform,opacity}._center_1dwl0_51 ._nav_1dwl0_1._hidden_1dwl0_59{transform:translateY(-100%);opacity:0;pointer-events:none}@media (min-width: 768px){._center_1dwl0_51 ._nav_1dwl0_1._visible_1dwl0_66{transform:translateY(0);opacity:1;pointer-events:auto}}@media (max-width: 767px){._center_1dwl0_51 ._logo_1dwl0_36{flex:1}}._right_1dwl0_81 ._container_1dwl0_32{justify-content:flex-end}@media (max-width: 767px){._right_1dwl0_81 ._logo_1dwl0_36,._right_1dwl0_81 ._title_1dwl0_88{flex:1}}._right_1dwl0_81 ._nav_1dwl0_1{flex:1}._linkWrapper_1dwl0_98._parent_1dwl0_98{overflow:visible;position:relative}@media (min-width: 768px){._linkWrapper_1dwl0_98._parent_1dwl0_98:first-of-type>._linkItem_1dwl0_105{border-top-left-radius:var(--radius-full);border-bottom-left-radius:var(--radius-full);overflow:hidden}._linkWrapper_1dwl0_98._parent_1dwl0_98:first-of-type>._linkItem_1dwl0_105 ._link_1dwl0_98,._linkWrapper_1dwl0_98._parent_1dwl0_98:first-of-type>._linkItem_1dwl0_105 ._search_1dwl0_111,._linkWrapper_1dwl0_98._parent_1dwl0_98:first-of-type>._linkItem_1dwl0_105 ._locale_1dwl0_112,._linkWrapper_1dwl0_98._parent_1dwl0_98:first-of-type>._linkItem_1dwl0_105._themeToggle_1dwl0_113 button,._linkWrapper_1dwl0_98._parent_1dwl0_98:first-of-type>._linkItem_1dwl0_105 ._sublinkToggle_1dwl0_114{padding-left:var(--spacing-md)}}@media (min-width: 768px){._linkWrapper_1dwl0_98._parent_1dwl0_98:last-of-type>._linkItem_1dwl0_105{border-top-right-radius:var(--radius-full);border-bottom-right-radius:var(--radius-full);overflow:hidden}._linkWrapper_1dwl0_98._parent_1dwl0_98:last-of-type>._linkItem_1dwl0_105 ._link_1dwl0_98,._linkWrapper_1dwl0_98._parent_1dwl0_98:last-of-type>._linkItem_1dwl0_105 ._search_1dwl0_111,._linkWrapper_1dwl0_98._parent_1dwl0_98:last-of-type>._linkItem_1dwl0_105 ._locale_1dwl0_112,._linkWrapper_1dwl0_98._parent_1dwl0_98:last-of-type>._linkItem_1dwl0_105._themeToggle_1dwl0_113 button,._linkWrapper_1dwl0_98._parent_1dwl0_98:last-of-type>._linkItem_1dwl0_105 ._sublinkToggle_1dwl0_114{padding-right:var(--spacing-md)}}._linkWrapper_1dwl0_98._parent_1dwl0_98>._linkItem_1dwl0_105 ._sublinkToggle_1dwl0_114,._linkWrapper_1dwl0_98._parent_1dwl0_98>._linkItem_1dwl0_105 ._link_1dwl0_98{height:40px}@media (min-width: 768px){._linkWrapper_1dwl0_98._parent_1dwl0_98>._linkItem_1dwl0_105 ._link_1dwl0_98,._linkWrapper_1dwl0_98._parent_1dwl0_98>._linkItem_1dwl0_105 ._search_1dwl0_111,._linkWrapper_1dwl0_98._parent_1dwl0_98>._linkItem_1dwl0_105 ._locale_1dwl0_112,._linkWrapper_1dwl0_98._parent_1dwl0_98>._linkItem_1dwl0_105._themeToggle_1dwl0_113 button,._linkWrapper_1dwl0_98._parent_1dwl0_98>._linkItem_1dwl0_105 ._sublinkToggle_1dwl0_114{opacity:1;visibility:visible;transition:background-color .3s ease-in-out;color:var(--color-secondary-100)}._linkWrapper_1dwl0_98._parent_1dwl0_98>._linkItem_1dwl0_105 ._link_1dwl0_98:hover,._linkWrapper_1dwl0_98._parent_1dwl0_98>._linkItem_1dwl0_105 ._search_1dwl0_111:hover,._linkWrapper_1dwl0_98._parent_1dwl0_98>._linkItem_1dwl0_105 ._locale_1dwl0_112:hover,._linkWrapper_1dwl0_98._parent_1dwl0_98>._linkItem_1dwl0_105._themeToggle_1dwl0_113 button:hover,._linkWrapper_1dwl0_98._parent_1dwl0_98>._linkItem_1dwl0_105 ._sublinkToggle_1dwl0_114:hover{color:var(--color-secondary-100);background-color:rgba(var(--color-primary-rgb),.25)}}._standard_1dwl0_165{left:0;background-color:var(--color-background)}._standard_1dwl0_165 ._linkWrapper_1dwl0_98{position:relative}._standard_1dwl0_165 ._triangle_1dwl0_173{display:none}._container_1dwl0_32{display:grid;align-items:center;grid-template-areas:"first second third";grid-template-columns:minmax(auto,1fr) auto minmax(auto,1fr);grid-gap:var(--spacing-md);width:100%;max-width:var(--layout-width);height:100%;min-height:50px;margin:0 auto;padding:var(--spacing-md) var(--spacing-lg);position:relative}@media (max-width: 767px){._container_1dwl0_32{grid-template-columns:1fr max-content max-content max-content;grid-template-areas:"first third fourth fifth";grid-gap:var(--spacing-sm)}}._container_1dwl0_32._twoColumn_1dwl0_202{grid-template-columns:minmax(auto,1fr) auto;grid-template-areas:"first second"}@media (max-width: 767px){._container_1dwl0_32._twoColumn_1dwl0_202{display:flex}}._mobileButtons_1dwl0_211{display:none}@media (max-width: 767px){._mobileButtons_1dwl0_211{display:flex;align-items:center;gap:var(--spacing-lg);grid-area:fifth}._mobileButtons_1dwl0_211 ._linkWrapper_1dwl0_98{padding:0}}._mobileButtons_1dwl0_211 ._search_1dwl0_111{padding:0;width:unset}._title_1dwl0_88{grid-area:first;color:var(--color-text-primary);font-size:var(--font-size-lg);font-weight:var(--font-weight-semibold);z-index:1005}._logo_1dwl0_36{grid-area:first;font-size:var(--font-size-lg);font-weight:var(--font-weight-bold);color:var(--color-primary-100);display:flex;align-items:center;justify-content:flex-start;position:relative;z-index:1005}._logo_1dwl0_36 a{display:flex;align-items:center;justify-content:flex-start}._logo_1dwl0_36 img{height:auto;width:auto}@media (max-width: 767px){._logo_1dwl0_36 img{max-width:120px}}._search_1dwl0_111,._locale_1dwl0_112,._themeToggle_1dwl0_113 button{background:none;border:none;cursor:pointer;display:none;color:var(--color-secondary-100);z-index:1100;position:relative;width:40px}._search_1dwl0_111 svg,._locale_1dwl0_112 svg,._themeToggle_1dwl0_113 button svg{position:relative;z-index:5}._menuToggle_1dwl0_289{grid-area:fifth;background:none;border:none;cursor:pointer;display:none;color:var(--color-secondary-100);z-index:1100;position:relative}._menuToggle_1dwl0_289 svg{position:relative;z-index:5}._utilityMobile_1dwl0_307{display:none;grid-area:third;justify-content:flex-end}._utility_1dwl0_307{grid-area:third;display:flex;justify-content:flex-end}._utility_1dwl0_307 a{font-size:var(--font-size-sm)}._nav_1dwl0_1{grid-area:second;display:grid;grid-template-columns:minmax(auto,1fr) auto;transition:transform .3s ease}@media (max-width: 767px){._nav_1dwl0_1{height:100vh}}._navInner_1dwl0_335{position:relative}@media (max-width: 767px){._navInner_1dwl0_335{padding:0 var(--spacing-md);margin:var(--spacing-xl) auto 0;max-width:400px;width:100%}}._grid_1dwl0_346{display:grid;align-items:center;grid-auto-flow:column}@media (max-width: 767px){._grid_1dwl0_346{display:flex;flex-direction:column}._grid_1dwl0_346 ._linkWrapper_1dwl0_98{padding:var(--spacing-sm) 0}}._linkItem_1dwl0_105{display:flex;align-items:center;box-sizing:border-box}.modalContentContainer:has(._searchModal_1dwl0_369),.modalContentContainer:has(._localeModal_1dwl0_370){align-self:flex-start;top:2rem}._searchModal_1dwl0_369,._localeModal_1dwl0_370{padding:0!important;max-height:80dvh;overflow:hidden}._searchModal_1dwl0_369 .modalClose,._localeModal_1dwl0_370 .modalClose{display:none}._searchModal_1dwl0_369 .modalContent,._localeModal_1dwl0_370 .modalContent{margin-top:0}._separator_1dwl0_390{display:flex;align-items:center;justify-content:center;height:1px;width:100%;max-width:300px;background:var(--color-border)}@media (min-width: 768px){._separator_1dwl0_390{display:flex;align-items:center;justify-content:center;width:unset;height:45%;border-left:1px solid var(--color-border)}}._navTitle_1dwl0_409,._sublinkToggle_1dwl0_114,._search_1dwl0_111,._locale_1dwl0_112,._themeToggle_1dwl0_113 button,._link_1dwl0_98{text-decoration:none;color:var(--color-secondary-100);background-color:transparent;border:none;padding:var(--spacing-sm);transition:color .3s ease-in-out;font-family:inherit;font-weight:var(--font-weight-semibold);font-size:var(--font-size-sm);box-sizing:border-box;cursor:pointer;display:flex;align-items:center;gap:var(--spacing-xs)}._navTitle_1dwl0_409 ._newTabIcon_1dwl0_432,._sublinkToggle_1dwl0_114 ._newTabIcon_1dwl0_432,._search_1dwl0_111 ._newTabIcon_1dwl0_432,._locale_1dwl0_112 ._newTabIcon_1dwl0_432,._themeToggle_1dwl0_113 button ._newTabIcon_1dwl0_432,._link_1dwl0_98 ._newTabIcon_1dwl0_432{color:var(--color-secondary-75);transition:color .3s ease-in-out}._search_1dwl0_111,._locale_1dwl0_112,._themeToggle_1dwl0_113 button{justify-content:center}@media (min-width: 768px){._navTitle_1dwl0_409,._sublinksDescription_1dwl0_445,._link_1dwl0_98,._sublinkToggle_1dwl0_114,._link_1dwl0_98 ._linkContent_1dwl0_448,._sublinkToggle_1dwl0_114 ._linkContent_1dwl0_448{opacity:0;visibility:hidden;transition:color .3s ease-in-out,opacity .3s ease-in-out,visibility .3s ease-in-out}}._link_1dwl0_98:hover,._link_1dwl0_98._open_1dwl0_461,._search_1dwl0_111:hover,._sublinkToggle_1dwl0_114:hover,._sublinkToggle_1dwl0_114._open_1dwl0_461,._link_1dwl0_98:hover ._newTabIcon_1dwl0_432,._link_1dwl0_98._open_1dwl0_461 ._newTabIcon_1dwl0_432,._search_1dwl0_111:hover ._newTabIcon_1dwl0_432,._sublinkToggle_1dwl0_114:hover ._newTabIcon_1dwl0_432,._sublinkToggle_1dwl0_114._open_1dwl0_461 ._newTabIcon_1dwl0_432{color:var(--color-primary-100)}@media (max-width: 767px){._link_1dwl0_98:hover,._link_1dwl0_98._open_1dwl0_461,._search_1dwl0_111:hover,._sublinkToggle_1dwl0_114:hover,._sublinkToggle_1dwl0_114._open_1dwl0_461{color:var(--color-secondary-100)}._link_1dwl0_98:hover ._newTabIcon_1dwl0_432,._link_1dwl0_98._open_1dwl0_461 ._newTabIcon_1dwl0_432,._search_1dwl0_111:hover ._newTabIcon_1dwl0_432,._sublinkToggle_1dwl0_114:hover ._newTabIcon_1dwl0_432,._sublinkToggle_1dwl0_114._open_1dwl0_461 ._newTabIcon_1dwl0_432{color:var(--color-secondary-100)}}._navItem_1dwl0_480:hover{color:var(--color-primary-100)}._sublinkToggle_1dwl0_114,._back_1dwl0_485{background:none;border:none;display:flex;align-items:center;cursor:pointer;color:var(--color-secondary-100)}._sublinkToggle_1dwl0_114:hover,._sublinkToggle_1dwl0_114._open_1dwl0_461,._back_1dwl0_485:hover,._back_1dwl0_485._open_1dwl0_461{color:var(--color-primary-100)}._sublinks_1dwl0_445{display:flex;justify-content:center;opacity:0;visibility:hidden;z-index:1000;transition:transform .3s ease-in-out,max-height .3s ease}._sublinks_1dwl0_445._show_1dwl0_534{max-height:500px;opacity:1;pointer-events:auto;visibility:visible;transform:translateY(0)}._sublinks_1dwl0_445._show_1dwl0_534 ._navTitle_1dwl0_409,._sublinks_1dwl0_445._show_1dwl0_534 ._sublinksDescription_1dwl0_445,._sublinks_1dwl0_445._show_1dwl0_534 ._link_1dwl0_98,._sublinks_1dwl0_445._show_1dwl0_534 ._sublinkToggle_1dwl0_114,._sublinks_1dwl0_445._show_1dwl0_534 ._link_1dwl0_98 ._linkContent_1dwl0_448,._sublinks_1dwl0_445._show_1dwl0_534 ._sublinkToggle_1dwl0_114 ._linkContent_1dwl0_448{opacity:1;visibility:visible}._triangle_1dwl0_173{visibility:hidden;opacity:0;position:absolute;top:calc(100% + .5rem);transform:translate(-50%);z-index:10;pointer-events:none;transition:top .3s ease-in-out,left .3s ease-in-out,visbility .3s ease-in-out,opacity .3s ease-in-out}._triangle_1dwl0_173._show_1dwl0_534{top:calc(100% + .3rem);opacity:1;visibility:visible}._triangle_1dwl0_173 polygon{stroke:var(--color-border);stroke-width:1px}._primaryColumn_1dwl0_583{border-right:1px solid var(--color-border)}._primaryColumn_1dwl0_583 ._sublinkToggle_1dwl0_114:hover,._primaryColumn_1dwl0_583 ._sublinkToggle_1dwl0_114._open_1dwl0_461{color:var(--color-primary-100)}._secondaryColumn_1dwl0_592{background-color:var(--color-secondary-10)}._spotlightColumn_1dwl0_596{background-color:var(--color-secondary-75)}._sublinksInner_1dwl0_600{background-color:var(--color-background);border-radius:var(--radius-md);border:1px solid var(--color-border);overflow:hidden}@media (max-width: 767px){._sublinksInner_1dwl0_600{display:flex;flex-direction:column;width:unset;max-width:unset;min-height:unset;background-color:unset;box-shadow:unset;border-radius:unset;border:unset}}._sublinksColumn_1dwl0_619{display:flex;flex-direction:column;padding:var(--spacing-md)}@media (max-width: 767px){._sublinksColumn_1dwl0_619{padding:0}}._chevron_1dwl0_629{transition:transform .3s ease;display:flex;align-items:center;justify-content:center;margin-top:2px}._sublinkToggle_1dwl0_114._open_1dwl0_461 ._chevron_1dwl0_629{transform:rotate(180deg)}._menubar_1dwl0_641{display:contents}._toolbar_1dwl0_645{display:flex;gap:var(--spacing-md);padding:var(--spacing-md) 0;width:100%}._toolbar_1dwl0_645 ._linkWrapper_1dwl0_98._parent_1dwl0_98{border:none;flex:1}@media (min-width: 768px){._toolbar_1dwl0_645{gap:0;padding:0}}@media (max-width: 767px){._logo_1dwl0_36{flex:1}._menuToggle_1dwl0_289,._search_1dwl0_111{display:flex;align-items:center;justify-content:center}._utility_1dwl0_307 a:not(._utility_1dwl0_307 a:first-of-type){display:none}._utilityMobile_1dwl0_307{display:block;transform:translateY(100px);position:fixed;bottom:1rem;left:0;right:0;margin:0 auto;width:calc(100% - 2rem);z-index:1001;transition:transform .3s ease-in-out}._utilityMobile_1dwl0_307._open_1dwl0_461{transform:translateY(0)}._nav_1dwl0_1{position:fixed;top:calc(var(--nav-height) - 1px);left:0;width:100%;height:100%;background-color:var(--color-background);display:flex;flex-direction:column;align-items:flex-start;gap:var(--spacing-md);padding:var(--spacing-md);z-index:1000;overflow-y:auto;transform:translate(100%);opacity:0;pointer-events:none;transition:transform .3s ease-in-out}._nav_1dwl0_1._open_1dwl0_461{transform:translate(0);opacity:1;pointer-events:auto}._linkWrapper_1dwl0_98{flex-direction:column;width:100%;max-width:300px;margin:0 auto;padding:var(--spacing-sm) 0}._linkWrapper_1dwl0_98._parent_1dwl0_98{border-bottom:1px solid var(--color-border)}._linkWrapper_1dwl0_98._parent_1dwl0_98:last-of-type{border:none}._linkItem_1dwl0_105{width:100%}._chevron_1dwl0_629{display:none}._sublinks_1dwl0_445{position:relative;top:0;box-shadow:none;max-height:fit-content;opacity:1;visibility:visible;align-items:flex-start;justify-content:flex-start;padding:var(--spacing-sm);gap:0;pointer-events:auto}._sublinkToggle_1dwl0_114{cursor:pointer;pointer-events:none;color:var(--color-secondary-75)}}._default_1dwl0_773 ._container_1dwl0_32{padding:var(--spacing-md)}@media (max-width: 767px){._default_1dwl0_773 ._container_1dwl0_32{padding:var(--spacing-sm) var(--spacing-md)}}._default_1dwl0_773 ._sublinks_1dwl0_445{position:absolute;right:0;width:auto}@media (max-width: 767px){._default_1dwl0_773 ._sublinks_1dwl0_445{position:relative;justify-content:center;align-items:center}}._default_1dwl0_773 ._linkItem_1dwl0_105{justify-content:flex-end}@media (max-width: 767px){._default_1dwl0_773 ._linkItem_1dwl0_105{justify-content:center;align-items:center}}._default_1dwl0_773 ._sublinksInner_1dwl0_600{display:flex;flex-direction:column;min-width:125px;justify-content:flex-end;align-items:flex-end}@media (max-width: 767px){._default_1dwl0_773 ._sublinksInner_1dwl0_600{justify-content:center;align-items:center}}._default_1dwl0_773 ._linkWrapper_1dwl0_98._parent_1dwl0_98>._linkItem_1dwl0_105 ._sublinkToggle_1dwl0_114,._default_1dwl0_773 ._linkWrapper_1dwl0_98._parent_1dwl0_98>._linkItem_1dwl0_105 ._link_1dwl0_98{height:40px}@media (min-width: 768px){._default_1dwl0_773 ._linkWrapper_1dwl0_98._parent_1dwl0_98>._linkItem_1dwl0_105 ._link_1dwl0_98,._default_1dwl0_773 ._linkWrapper_1dwl0_98._parent_1dwl0_98>._linkItem_1dwl0_105 ._search_1dwl0_111,._default_1dwl0_773 ._linkWrapper_1dwl0_98._parent_1dwl0_98>._linkItem_1dwl0_105 ._locale_1dwl0_112,._default_1dwl0_773 ._linkWrapper_1dwl0_98._parent_1dwl0_98>._linkItem_1dwl0_105._themeToggle_1dwl0_113 button,._default_1dwl0_773 ._linkWrapper_1dwl0_98._parent_1dwl0_98>._linkItem_1dwl0_105 ._sublinkToggle_1dwl0_114{opacity:1;visibility:visible;transition:color .3s ease-in-out,.3s ease-in-out;color:var(--color-secondary-100)}._default_1dwl0_773 ._linkWrapper_1dwl0_98._parent_1dwl0_98>._linkItem_1dwl0_105 ._link_1dwl0_98:hover,._default_1dwl0_773 ._linkWrapper_1dwl0_98._parent_1dwl0_98>._linkItem_1dwl0_105 ._search_1dwl0_111:hover,._default_1dwl0_773 ._linkWrapper_1dwl0_98._parent_1dwl0_98>._linkItem_1dwl0_105 ._locale_1dwl0_112:hover,._default_1dwl0_773 ._linkWrapper_1dwl0_98._parent_1dwl0_98>._linkItem_1dwl0_105._themeToggle_1dwl0_113 button:hover,._default_1dwl0_773 ._linkWrapper_1dwl0_98._parent_1dwl0_98>._linkItem_1dwl0_105 ._sublinkToggle_1dwl0_114:hover{color:var(--color-primary-100);background-color:transparent}}._advanced_1dwl0_846 ._linkContent_1dwl0_448{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:var(--spacing-sm)}._advanced_1dwl0_846 ._subtitle_1dwl0_855{font-size:var(--font-size-sm);font-weight:var(--font-weight-normal);text-align:left}._advanced_1dwl0_846 ._sublinksDescription_1dwl0_445,._advanced_1dwl0_846 ._sublinksDescription_1dwl0_445 div p{color:var(--color-text-primary);line-height:var(--line-height-normal);font-size:var(--font-size-sm);margin-bottom:var(--spacing-sm)}._advanced_1dwl0_846 ._sublinks_1dwl0_445{position:fixed;padding-top:var(--spacing-md);right:0;left:0;width:100%}@media (max-width: 767px){._advanced_1dwl0_846 ._sublinks_1dwl0_445{position:relative;justify-content:center;align-items:center}}._advanced_1dwl0_846 ._linkItem_1dwl0_105{justify-content:flex-start}._advanced_1dwl0_846 ._sublinksInner_1dwl0_600{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));max-width:calc(100vw - 4rem);width:78rem;min-height:24rem}._advanced_1dwl0_846 ._sublinksInner_1dwl0_600._withSpotlight_1dwl0_897{grid-template-columns:repeat(4,minmax(0,1fr))}._advanced_1dwl0_846 ._sublinksInner_1dwl0_600._withoutSpotlight_1dwl0_901{grid-template-columns:repeat(3,minmax(0,1fr))}@media (max-width: 767px){._advanced_1dwl0_846 ._sublinksInner_1dwl0_600{grid-template-columns:1fr;width:auto;min-height:unset}}._advanced_1dwl0_846 ._sublinkToggle_1dwl0_114{pointer-events:all;color:var(--color-secondary-100);width:fit-content;transition:color .3s ease-in-out}._advanced_1dwl0_846 ._sublinkToggle_1dwl0_114:hover,._advanced_1dwl0_846 ._sublinkToggle_1dwl0_114._open_1dwl0_461{color:var(--color-primary-100)}._advanced_1dwl0_846 ._back_1dwl0_485{margin-bottom:var(--spacing-lg);transition:color .3s ease-in-out}._advanced_1dwl0_846 ._back_1dwl0_485:hover{color:var(--color-primary-100)}._transparent_1dwl0_939{background-color:transparent}._transparent_1dwl0_939 ._linkWrapper_1dwl0_98._parent_1dwl0_98>._linkItem_1dwl0_105 ._sublinkToggle_1dwl0_114,._transparent_1dwl0_939 ._linkWrapper_1dwl0_98._parent_1dwl0_98>._linkItem_1dwl0_105 ._link_1dwl0_98{height:40px}@media (min-width: 768px){._transparent_1dwl0_939 ._linkWrapper_1dwl0_98._parent_1dwl0_98>._linkItem_1dwl0_105 ._link_1dwl0_98,._transparent_1dwl0_939 ._linkWrapper_1dwl0_98._parent_1dwl0_98>._linkItem_1dwl0_105 ._search_1dwl0_111,._transparent_1dwl0_939 ._linkWrapper_1dwl0_98._parent_1dwl0_98>._linkItem_1dwl0_105 ._locale_1dwl0_112,._transparent_1dwl0_939 ._linkWrapper_1dwl0_98._parent_1dwl0_98>._linkItem_1dwl0_105._themeToggle_1dwl0_113 button,._transparent_1dwl0_939 ._linkWrapper_1dwl0_98._parent_1dwl0_98>._linkItem_1dwl0_105 ._sublinkToggle_1dwl0_114{opacity:1;visibility:visible;transition:color .3s ease-in-out,.3s ease-in-out;color:var(--color-navigation-transparent-links)}._transparent_1dwl0_939 ._linkWrapper_1dwl0_98._parent_1dwl0_98>._linkItem_1dwl0_105 ._link_1dwl0_98:hover,._transparent_1dwl0_939 ._linkWrapper_1dwl0_98._parent_1dwl0_98>._linkItem_1dwl0_105 ._search_1dwl0_111:hover,._transparent_1dwl0_939 ._linkWrapper_1dwl0_98._parent_1dwl0_98>._linkItem_1dwl0_105 ._locale_1dwl0_112:hover,._transparent_1dwl0_939 ._linkWrapper_1dwl0_98._parent_1dwl0_98>._linkItem_1dwl0_105._themeToggle_1dwl0_113 button:hover,._transparent_1dwl0_939 ._linkWrapper_1dwl0_98._parent_1dwl0_98>._linkItem_1dwl0_105 ._sublinkToggle_1dwl0_114:hover{color:var(--color-navigation-transparent-linksHover);background-color:transparent}}@media (max-width: 767px){._transparent_1dwl0_939:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;background:rgba(var(--color-backgroundRgb),.5);backdrop-filter:saturate(1.1) blur(1rem);-webkit-backdrop-filter:saturate(1.1) blur(1rem)}}._transparent_1dwl0_939 ._nav_1dwl0_1{height:auto;border-radius:var(--radius-full);padding:0;z-index:1001;background:rgba(var(--color-backgroundRgb),.3);backdrop-filter:saturate(1.1) blur(1rem);-webkit-backdrop-filter:saturate(1.1) blur(1rem)}@media (max-width: 767px){._transparent_1dwl0_939 ._nav_1dwl0_1{padding:var(--nav-height) 0 0;background:rgba(var(--color-backgroundRgb),.95);border-radius:0;top:0!important;left:0!important;height:100vh}._transparent_1dwl0_939 ._nav_1dwl0_1:before{border-radius:0}}@media (max-width: 767px){._transparent_1dwl0_939 ._utility_1dwl0_307 a,._transparent_1dwl0_939 ._utility_1dwl0_307 button{-webkit-backdrop-filter:unset;backdrop-filter:unset}._transparent_1dwl0_939 ._utility_1dwl0_307 a>span,._transparent_1dwl0_939 ._utility_1dwl0_307 button>span{background-color:transparent;padding:0}._transparent_1dwl0_939 ._utility_1dwl0_307 a:hover>span,._transparent_1dwl0_939 ._utility_1dwl0_307 button:hover>span{background-color:transparent;padding:0;color:var(--color-primary-100)}}@media (max-width: 767px){._transparent_1dwl0_939 ._menuToggle_1dwl0_289,._transparent_1dwl0_939 ._search_1dwl0_111{width:unset}}._utilityScrolled_1dwl0_1056{background-color:red;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);border-radius:var(--radius-full);padding-inline:var(--spacing-md);transition:background-color .2s ease,color .2s ease}._utilityScrolled_1dwl0_1056:hover{background-color:red}._groupDivider_1dwl0_1071{border:0;height:0;border-top:none;border-bottom:1px solid var(--color-border);padding:var(--spacing-sm) 0}@media (max-width: 767px){._searchWrapper_1dwl0_1079{grid-area:fourth;width:auto}}._mobileMenu_1dwl0_1086,._mobileMenuSlide_1dwl0_1087{display:flex;flex-direction:column;gap:var(--spacing-md)}._mobileMenuItem_1dwl0_1097{opacity:0}._fadeInFromLeft_1dwl0_1101{animation:_fadeInFromLeft_1dwl0_1101 .3s ease-in-out forwards}._fadeInFromRight_1dwl0_1105{animation:_fadeInFromRight_1dwl0_1105 .3s ease-in-out forwards}._spotlight_1dwl0_596{display:flex;flex-direction:column;gap:var(--spacing-md)}._spotlight_1dwl0_596 ._imageWrapper_1dwl0_1115{width:100%;height:150px;position:relative;overflow:hidden;border-radius:var(--radius-md);line-height:0}._spotlight_1dwl0_596 ._imageWrapper_1dwl0_1115 img{width:100%;height:100%;object-fit:cover;transition:transform .3s ease-in-out}._spotlight_1dwl0_596 ._image_1dwl0_1115{width:100%;height:auto;object-fit:cover}._spotlight_1dwl0_596 ._content_1dwl0_1137{display:flex;flex-direction:column;gap:var(--spacing-sm);color:#fff}._spotlight_1dwl0_596 ._title_1dwl0_88{display:flex;align-items:center;justify-content:space-between;gap:var(--spacing-lg);color:#fff}._spotlight_1dwl0_596 ._description_1dwl0_1152{color:#fff}._spotlight_1dwl0_596 ._actions_1dwl0_1156{display:flex;flex-direction:column;align-items:flex-start}@keyframes _fadeInFromLeft_1dwl0_1101{0%{transform:translate(-10px);opacity:0}to{transform:translate(0);opacity:1}}@keyframes _fadeInFromRight_1dwl0_1105{0%{transform:translate(10px);opacity:0}to{transform:translate(0);opacity:1}}
|
|
1
|
+
._navbar_j6v4u_1{position:relative;z-index:1000}._sticky_j6v4u_15{position:fixed;top:0;left:0;right:0;z-index:1000;width:100%}._left_j6v4u_31 ._container_j6v4u_32{justify-content:flex-start}._left_j6v4u_31 ._logo_j6v4u_36{flex:unset}._left_j6v4u_31 ._nav_j6v4u_1{flex:1}@media (max-width: 767px){._left_j6v4u_31 ._logo_j6v4u_36{flex:1}}._center_j6v4u_51 ._nav_j6v4u_1{transition:transform .3s ease-in-out,opacity .3s ease-in-out;will-change:transform,opacity}._center_j6v4u_51 ._nav_j6v4u_1._hidden_j6v4u_59{transform:translateY(-100%);opacity:0;pointer-events:none}@media (min-width: 768px){._center_j6v4u_51 ._nav_j6v4u_1._visible_j6v4u_66{transform:translateY(0);opacity:1;pointer-events:auto}}@media (max-width: 767px){._center_j6v4u_51 ._logo_j6v4u_36{flex:1}}._right_j6v4u_81 ._container_j6v4u_32{justify-content:flex-end}@media (max-width: 767px){._right_j6v4u_81 ._logo_j6v4u_36,._right_j6v4u_81 ._title_j6v4u_88{flex:1}}._right_j6v4u_81 ._nav_j6v4u_1{flex:1}._linkWrapper_j6v4u_98._parent_j6v4u_98{overflow:visible;position:relative}@media (min-width: 768px){._linkWrapper_j6v4u_98._parent_j6v4u_98:first-of-type>._linkItem_j6v4u_105{border-top-left-radius:var(--radius-full);border-bottom-left-radius:var(--radius-full);overflow:hidden}._linkWrapper_j6v4u_98._parent_j6v4u_98:first-of-type>._linkItem_j6v4u_105 ._link_j6v4u_98,._linkWrapper_j6v4u_98._parent_j6v4u_98:first-of-type>._linkItem_j6v4u_105 ._search_j6v4u_111,._linkWrapper_j6v4u_98._parent_j6v4u_98:first-of-type>._linkItem_j6v4u_105 ._locale_j6v4u_112,._linkWrapper_j6v4u_98._parent_j6v4u_98:first-of-type>._linkItem_j6v4u_105._themeToggle_j6v4u_113 button,._linkWrapper_j6v4u_98._parent_j6v4u_98:first-of-type>._linkItem_j6v4u_105 ._sublinkToggle_j6v4u_114{padding-left:var(--spacing-md)}}@media (min-width: 768px){._linkWrapper_j6v4u_98._parent_j6v4u_98:last-of-type>._linkItem_j6v4u_105{border-top-right-radius:var(--radius-full);border-bottom-right-radius:var(--radius-full);overflow:hidden}._linkWrapper_j6v4u_98._parent_j6v4u_98:last-of-type>._linkItem_j6v4u_105 ._link_j6v4u_98,._linkWrapper_j6v4u_98._parent_j6v4u_98:last-of-type>._linkItem_j6v4u_105 ._search_j6v4u_111,._linkWrapper_j6v4u_98._parent_j6v4u_98:last-of-type>._linkItem_j6v4u_105 ._locale_j6v4u_112,._linkWrapper_j6v4u_98._parent_j6v4u_98:last-of-type>._linkItem_j6v4u_105._themeToggle_j6v4u_113 button,._linkWrapper_j6v4u_98._parent_j6v4u_98:last-of-type>._linkItem_j6v4u_105 ._sublinkToggle_j6v4u_114{padding-right:var(--spacing-md)}}._linkWrapper_j6v4u_98._parent_j6v4u_98>._linkItem_j6v4u_105 ._sublinkToggle_j6v4u_114,._linkWrapper_j6v4u_98._parent_j6v4u_98>._linkItem_j6v4u_105 ._link_j6v4u_98{height:40px}@media (min-width: 768px){._linkWrapper_j6v4u_98._parent_j6v4u_98>._linkItem_j6v4u_105 ._link_j6v4u_98,._linkWrapper_j6v4u_98._parent_j6v4u_98>._linkItem_j6v4u_105 ._search_j6v4u_111,._linkWrapper_j6v4u_98._parent_j6v4u_98>._linkItem_j6v4u_105 ._locale_j6v4u_112,._linkWrapper_j6v4u_98._parent_j6v4u_98>._linkItem_j6v4u_105._themeToggle_j6v4u_113 button,._linkWrapper_j6v4u_98._parent_j6v4u_98>._linkItem_j6v4u_105 ._sublinkToggle_j6v4u_114{opacity:1;visibility:visible;transition:background-color .3s ease-in-out;color:var(--color-secondary-100)}._linkWrapper_j6v4u_98._parent_j6v4u_98>._linkItem_j6v4u_105 ._link_j6v4u_98:hover,._linkWrapper_j6v4u_98._parent_j6v4u_98>._linkItem_j6v4u_105 ._search_j6v4u_111:hover,._linkWrapper_j6v4u_98._parent_j6v4u_98>._linkItem_j6v4u_105 ._locale_j6v4u_112:hover,._linkWrapper_j6v4u_98._parent_j6v4u_98>._linkItem_j6v4u_105._themeToggle_j6v4u_113 button:hover,._linkWrapper_j6v4u_98._parent_j6v4u_98>._linkItem_j6v4u_105 ._sublinkToggle_j6v4u_114:hover{color:var(--color-secondary-100);background-color:rgba(var(--color-primary-rgb),.25)}}._standard_j6v4u_165{left:0;background-color:var(--color-background)}._standard_j6v4u_165 ._linkWrapper_j6v4u_98{position:relative}._standard_j6v4u_165 ._triangle_j6v4u_173{display:none}._container_j6v4u_32{display:grid;align-items:center;grid-template-areas:"first second third";grid-template-columns:minmax(auto,1fr) auto minmax(auto,1fr);grid-gap:var(--spacing-md);width:100%;max-width:var(--layout-width);height:100%;min-height:50px;margin:0 auto;padding:var(--spacing-md) var(--spacing-lg);position:relative}@media (max-width: 767px){._container_j6v4u_32{grid-template-columns:1fr max-content max-content max-content;grid-template-areas:"first third fourth fifth";grid-gap:var(--spacing-sm)}}._container_j6v4u_32._twoColumn_j6v4u_202{grid-template-columns:minmax(auto,1fr) auto;grid-template-areas:"first second"}@media (max-width: 767px){._container_j6v4u_32._twoColumn_j6v4u_202{display:flex}}._mobileButtons_j6v4u_211{display:none}@media (max-width: 767px){._mobileButtons_j6v4u_211{display:flex;align-items:center;gap:var(--spacing-lg);grid-area:fifth}._mobileButtons_j6v4u_211 ._linkWrapper_j6v4u_98{padding:0}}._mobileButtons_j6v4u_211 ._search_j6v4u_111{padding:0;width:unset}._title_j6v4u_88{grid-area:first;color:var(--color-text-primary);font-size:var(--font-size-lg);font-weight:var(--font-weight-semibold);z-index:1005}._logo_j6v4u_36{grid-area:first;font-size:var(--font-size-lg);font-weight:var(--font-weight-bold);color:var(--color-primary-100);display:flex;align-items:center;justify-content:flex-start;position:relative;z-index:1005}._logo_j6v4u_36 a{display:flex;align-items:center;justify-content:flex-start}._logo_j6v4u_36 img{height:auto;width:auto}@media (max-width: 767px){._logo_j6v4u_36 img{max-width:120px}}._search_j6v4u_111,._locale_j6v4u_112,._themeToggle_j6v4u_113 button{background:none;border:none;cursor:pointer;display:none;color:var(--color-secondary-100);z-index:1100;position:relative;width:40px}._search_j6v4u_111 svg,._locale_j6v4u_112 svg,._themeToggle_j6v4u_113 button svg{position:relative;z-index:5}._menuToggle_j6v4u_289{grid-area:fifth;background:none;border:none;cursor:pointer;display:none;color:var(--color-secondary-100);z-index:1100;position:relative}._menuToggle_j6v4u_289 svg{position:relative;z-index:5}._utilityMobile_j6v4u_307{display:none;grid-area:third;justify-content:flex-end}._utility_j6v4u_307{grid-area:third;display:flex;justify-content:flex-end}._utility_j6v4u_307 a{font-size:var(--font-size-sm)}._nav_j6v4u_1{grid-area:second;display:grid;grid-template-columns:minmax(auto,1fr) auto;transition:transform .3s ease}@media (max-width: 767px){._nav_j6v4u_1{height:100vh}}._navInner_j6v4u_335{position:relative}@media (max-width: 767px){._navInner_j6v4u_335{padding:0 var(--spacing-md);margin:var(--spacing-xl) auto 0;max-width:400px;width:100%}}._grid_j6v4u_346{display:grid;align-items:center;grid-auto-flow:column}@media (max-width: 767px){._grid_j6v4u_346{display:flex;flex-direction:column}._grid_j6v4u_346 ._linkWrapper_j6v4u_98{padding:var(--spacing-sm) 0}}._linkItem_j6v4u_105{display:flex;align-items:center;box-sizing:border-box}.modalContentContainer:has(._searchModal_j6v4u_369),.modalContentContainer:has(._localeModal_j6v4u_370){align-self:flex-start;top:2rem}._searchModal_j6v4u_369,._localeModal_j6v4u_370{padding:0!important;max-height:80dvh;overflow:hidden}._searchModal_j6v4u_369 .modalClose,._localeModal_j6v4u_370 .modalClose{display:none}._searchModal_j6v4u_369 .modalContent,._localeModal_j6v4u_370 .modalContent{margin-top:0}._separator_j6v4u_390{display:flex;align-items:center;justify-content:center;height:1px;width:100%;max-width:300px;background:var(--color-border)}@media (min-width: 768px){._separator_j6v4u_390{display:flex;align-items:center;justify-content:center;width:unset;height:45%;border-left:1px solid var(--color-border)}}._navTitle_j6v4u_409,._sublinkToggle_j6v4u_114,._search_j6v4u_111,._locale_j6v4u_112,._themeToggle_j6v4u_113 button,._link_j6v4u_98{text-decoration:none;color:var(--color-secondary-100);background-color:transparent;border:none;padding:var(--spacing-sm);transition:color .3s ease-in-out;font-family:inherit;font-weight:var(--font-weight-semibold);font-size:var(--font-size-sm);box-sizing:border-box;cursor:pointer;display:flex;align-items:center;gap:var(--spacing-xs)}._navTitle_j6v4u_409 ._newTabIcon_j6v4u_432,._sublinkToggle_j6v4u_114 ._newTabIcon_j6v4u_432,._search_j6v4u_111 ._newTabIcon_j6v4u_432,._locale_j6v4u_112 ._newTabIcon_j6v4u_432,._themeToggle_j6v4u_113 button ._newTabIcon_j6v4u_432,._link_j6v4u_98 ._newTabIcon_j6v4u_432{color:var(--color-secondary-75);transition:color .3s ease-in-out}._search_j6v4u_111,._locale_j6v4u_112,._themeToggle_j6v4u_113 button{justify-content:center}@media (min-width: 768px){._navTitle_j6v4u_409,._sublinksDescription_j6v4u_445,._link_j6v4u_98,._sublinkToggle_j6v4u_114,._link_j6v4u_98 ._linkContent_j6v4u_448,._sublinkToggle_j6v4u_114 ._linkContent_j6v4u_448{opacity:0;visibility:hidden;transition:color .3s ease-in-out,opacity .3s ease-in-out,visibility .3s ease-in-out}}._link_j6v4u_98:hover,._link_j6v4u_98._open_j6v4u_461,._search_j6v4u_111:hover,._sublinkToggle_j6v4u_114:hover,._sublinkToggle_j6v4u_114._open_j6v4u_461,._link_j6v4u_98:hover ._newTabIcon_j6v4u_432,._link_j6v4u_98._open_j6v4u_461 ._newTabIcon_j6v4u_432,._search_j6v4u_111:hover ._newTabIcon_j6v4u_432,._sublinkToggle_j6v4u_114:hover ._newTabIcon_j6v4u_432,._sublinkToggle_j6v4u_114._open_j6v4u_461 ._newTabIcon_j6v4u_432{color:var(--color-primary-100)}@media (max-width: 767px){._link_j6v4u_98:hover,._link_j6v4u_98._open_j6v4u_461,._search_j6v4u_111:hover,._sublinkToggle_j6v4u_114:hover,._sublinkToggle_j6v4u_114._open_j6v4u_461{color:var(--color-secondary-100)}._link_j6v4u_98:hover ._newTabIcon_j6v4u_432,._link_j6v4u_98._open_j6v4u_461 ._newTabIcon_j6v4u_432,._search_j6v4u_111:hover ._newTabIcon_j6v4u_432,._sublinkToggle_j6v4u_114:hover ._newTabIcon_j6v4u_432,._sublinkToggle_j6v4u_114._open_j6v4u_461 ._newTabIcon_j6v4u_432{color:var(--color-secondary-100)}}._navItem_j6v4u_480:hover{color:var(--color-primary-100)}._sublinkToggle_j6v4u_114,._back_j6v4u_485{background:none;border:none;display:flex;align-items:center;cursor:pointer;color:var(--color-secondary-100)}._sublinkToggle_j6v4u_114:hover,._sublinkToggle_j6v4u_114._open_j6v4u_461,._back_j6v4u_485:hover,._back_j6v4u_485._open_j6v4u_461{color:var(--color-primary-100)}._sublinks_j6v4u_445{display:flex;justify-content:center;opacity:0;visibility:hidden;z-index:1000;transition:transform .3s ease-in-out,max-height .3s ease}._sublinks_j6v4u_445._show_j6v4u_534{max-height:500px;opacity:1;pointer-events:auto;visibility:visible;transform:translateY(0)}._sublinks_j6v4u_445._show_j6v4u_534 ._navTitle_j6v4u_409,._sublinks_j6v4u_445._show_j6v4u_534 ._sublinksDescription_j6v4u_445,._sublinks_j6v4u_445._show_j6v4u_534 ._link_j6v4u_98,._sublinks_j6v4u_445._show_j6v4u_534 ._sublinkToggle_j6v4u_114,._sublinks_j6v4u_445._show_j6v4u_534 ._link_j6v4u_98 ._linkContent_j6v4u_448,._sublinks_j6v4u_445._show_j6v4u_534 ._sublinkToggle_j6v4u_114 ._linkContent_j6v4u_448{opacity:1;visibility:visible}._triangle_j6v4u_173{visibility:hidden;opacity:0;position:absolute;top:calc(100% + .5rem);transform:translate(-50%);z-index:10;pointer-events:none;transition:top .3s ease-in-out,left .3s ease-in-out,visbility .3s ease-in-out,opacity .3s ease-in-out}._triangle_j6v4u_173._show_j6v4u_534{top:calc(100% + .3rem);opacity:1;visibility:visible}._triangle_j6v4u_173 polygon{stroke:var(--color-border);stroke-width:1px}._primaryColumn_j6v4u_583{border-right:1px solid var(--color-border)}._primaryColumn_j6v4u_583 ._sublinkToggle_j6v4u_114:hover,._primaryColumn_j6v4u_583 ._sublinkToggle_j6v4u_114._open_j6v4u_461{color:var(--color-primary-100)}._secondaryColumn_j6v4u_592{background-color:var(--color-secondary-10)}._spotlightColumn_j6v4u_596{background-color:var(--color-secondary-75)}._sublinksInner_j6v4u_600{background-color:var(--color-background);border-radius:var(--radius-md);border:1px solid var(--color-border);overflow:hidden}@media (max-width: 767px){._sublinksInner_j6v4u_600{display:flex;flex-direction:column;width:unset;max-width:unset;min-height:unset;background-color:unset;box-shadow:unset;border-radius:unset;border:unset}}._sublinksColumn_j6v4u_619{display:flex;flex-direction:column;padding:var(--spacing-md)}@media (max-width: 767px){._sublinksColumn_j6v4u_619{padding:0}}._chevron_j6v4u_629{transition:transform .3s ease;display:flex;align-items:center;justify-content:center;margin-top:2px}._sublinkToggle_j6v4u_114._open_j6v4u_461 ._chevron_j6v4u_629{transform:rotate(180deg)}._menubar_j6v4u_641{display:contents}._toolbar_j6v4u_645{display:flex;gap:var(--spacing-md);padding:var(--spacing-md) 0;width:100%}._toolbar_j6v4u_645 ._linkWrapper_j6v4u_98._parent_j6v4u_98{border:none;flex:1}@media (min-width: 768px){._toolbar_j6v4u_645{gap:0;padding:0}}@media (max-width: 767px){._logo_j6v4u_36{flex:1}._menuToggle_j6v4u_289,._search_j6v4u_111{display:flex;align-items:center;justify-content:center}._utility_j6v4u_307 a:not(._utility_j6v4u_307 a:first-of-type){display:none}._utilityMobile_j6v4u_307{display:block;transform:translateY(100px);position:fixed;bottom:1rem;left:0;right:0;margin:0 auto;width:calc(100% - 2rem);z-index:1001;transition:transform .3s ease-in-out}._utilityMobile_j6v4u_307._open_j6v4u_461{transform:translateY(0)}._nav_j6v4u_1{position:fixed;top:calc(var(--nav-height) - 1px);left:0;width:100%;height:100%;background-color:var(--color-background);display:flex;flex-direction:column;align-items:flex-start;gap:var(--spacing-md);padding:var(--spacing-md);z-index:1000;overflow-y:auto;transform:translate(100%);opacity:0;pointer-events:none;transition:transform .3s ease-in-out}._nav_j6v4u_1._open_j6v4u_461{transform:translate(0);opacity:1;pointer-events:auto}._linkWrapper_j6v4u_98{flex-direction:column;width:100%;max-width:300px;margin:0 auto;padding:var(--spacing-sm) 0}._linkWrapper_j6v4u_98._parent_j6v4u_98{border-bottom:1px solid var(--color-border)}._linkWrapper_j6v4u_98._parent_j6v4u_98:last-of-type{border:none}._linkItem_j6v4u_105{width:100%}._chevron_j6v4u_629{display:none}._sublinks_j6v4u_445{position:relative;top:0;box-shadow:none;max-height:fit-content;opacity:1;visibility:visible;align-items:flex-start;justify-content:flex-start;padding:var(--spacing-sm);gap:0;pointer-events:auto}._sublinkToggle_j6v4u_114{cursor:pointer;pointer-events:none;color:var(--color-secondary-75)}}._default_j6v4u_773 ._container_j6v4u_32{padding:var(--spacing-md)}@media (max-width: 767px){._default_j6v4u_773 ._container_j6v4u_32{padding:var(--spacing-sm) var(--spacing-md)}}._default_j6v4u_773 ._sublinks_j6v4u_445{position:absolute;right:0;width:auto}@media (max-width: 767px){._default_j6v4u_773 ._sublinks_j6v4u_445{position:relative;justify-content:center;align-items:center}}._default_j6v4u_773 ._linkItem_j6v4u_105{justify-content:flex-end}@media (max-width: 767px){._default_j6v4u_773 ._linkItem_j6v4u_105{justify-content:center;align-items:center}}._default_j6v4u_773 ._sublinksInner_j6v4u_600{display:flex;flex-direction:column;min-width:125px;justify-content:flex-end;align-items:flex-end}@media (max-width: 767px){._default_j6v4u_773 ._sublinksInner_j6v4u_600{justify-content:center;align-items:center}}._default_j6v4u_773 ._linkWrapper_j6v4u_98._parent_j6v4u_98>._linkItem_j6v4u_105 ._sublinkToggle_j6v4u_114,._default_j6v4u_773 ._linkWrapper_j6v4u_98._parent_j6v4u_98>._linkItem_j6v4u_105 ._link_j6v4u_98{height:40px}@media (min-width: 768px){._default_j6v4u_773 ._linkWrapper_j6v4u_98._parent_j6v4u_98>._linkItem_j6v4u_105 ._link_j6v4u_98,._default_j6v4u_773 ._linkWrapper_j6v4u_98._parent_j6v4u_98>._linkItem_j6v4u_105 ._search_j6v4u_111,._default_j6v4u_773 ._linkWrapper_j6v4u_98._parent_j6v4u_98>._linkItem_j6v4u_105 ._locale_j6v4u_112,._default_j6v4u_773 ._linkWrapper_j6v4u_98._parent_j6v4u_98>._linkItem_j6v4u_105._themeToggle_j6v4u_113 button,._default_j6v4u_773 ._linkWrapper_j6v4u_98._parent_j6v4u_98>._linkItem_j6v4u_105 ._sublinkToggle_j6v4u_114{opacity:1;visibility:visible;transition:color .3s ease-in-out,.3s ease-in-out;color:var(--color-secondary-100)}._default_j6v4u_773 ._linkWrapper_j6v4u_98._parent_j6v4u_98>._linkItem_j6v4u_105 ._link_j6v4u_98:hover,._default_j6v4u_773 ._linkWrapper_j6v4u_98._parent_j6v4u_98>._linkItem_j6v4u_105 ._search_j6v4u_111:hover,._default_j6v4u_773 ._linkWrapper_j6v4u_98._parent_j6v4u_98>._linkItem_j6v4u_105 ._locale_j6v4u_112:hover,._default_j6v4u_773 ._linkWrapper_j6v4u_98._parent_j6v4u_98>._linkItem_j6v4u_105._themeToggle_j6v4u_113 button:hover,._default_j6v4u_773 ._linkWrapper_j6v4u_98._parent_j6v4u_98>._linkItem_j6v4u_105 ._sublinkToggle_j6v4u_114:hover{color:var(--color-primary-100);background-color:transparent}}._advanced_j6v4u_846 ._linkContent_j6v4u_448{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:var(--spacing-sm)}._advanced_j6v4u_846 ._subtitle_j6v4u_855{font-size:var(--font-size-sm);font-weight:var(--font-weight-normal);text-align:left}._advanced_j6v4u_846 ._sublinksDescription_j6v4u_445,._advanced_j6v4u_846 ._sublinksDescription_j6v4u_445 div p{color:var(--color-text-primary);line-height:var(--line-height-normal);font-size:var(--font-size-sm);margin-bottom:var(--spacing-sm)}._advanced_j6v4u_846 ._sublinks_j6v4u_445{position:fixed;padding-top:var(--spacing-md);right:0;left:0;width:100%}@media (max-width: 767px){._advanced_j6v4u_846 ._sublinks_j6v4u_445{position:relative;justify-content:center;align-items:center}}._advanced_j6v4u_846 ._linkItem_j6v4u_105{justify-content:flex-start}._advanced_j6v4u_846 ._sublinksInner_j6v4u_600{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));max-width:calc(100vw - 4rem);width:78rem;min-height:24rem}._advanced_j6v4u_846 ._sublinksInner_j6v4u_600._withSpotlight_j6v4u_897{grid-template-columns:repeat(4,minmax(0,1fr))}._advanced_j6v4u_846 ._sublinksInner_j6v4u_600._withoutSpotlight_j6v4u_901{grid-template-columns:repeat(3,minmax(0,1fr))}@media (max-width: 767px){._advanced_j6v4u_846 ._sublinksInner_j6v4u_600{grid-template-columns:1fr;width:auto;min-height:unset}}._advanced_j6v4u_846 ._sublinkToggle_j6v4u_114{pointer-events:all;color:var(--color-secondary-100);width:fit-content;transition:color .3s ease-in-out}._advanced_j6v4u_846 ._sublinkToggle_j6v4u_114:hover,._advanced_j6v4u_846 ._sublinkToggle_j6v4u_114._open_j6v4u_461{color:var(--color-primary-100)}._advanced_j6v4u_846 ._back_j6v4u_485{margin-bottom:var(--spacing-lg);transition:color .3s ease-in-out}._advanced_j6v4u_846 ._back_j6v4u_485:hover{color:var(--color-primary-100)}._transparent_j6v4u_939{background-color:transparent}._transparent_j6v4u_939 ._linkWrapper_j6v4u_98._parent_j6v4u_98>._linkItem_j6v4u_105 ._sublinkToggle_j6v4u_114,._transparent_j6v4u_939 ._linkWrapper_j6v4u_98._parent_j6v4u_98>._linkItem_j6v4u_105 ._link_j6v4u_98{height:40px}@media (min-width: 768px){._transparent_j6v4u_939 ._linkWrapper_j6v4u_98._parent_j6v4u_98>._linkItem_j6v4u_105 ._link_j6v4u_98,._transparent_j6v4u_939 ._linkWrapper_j6v4u_98._parent_j6v4u_98>._linkItem_j6v4u_105 ._search_j6v4u_111,._transparent_j6v4u_939 ._linkWrapper_j6v4u_98._parent_j6v4u_98>._linkItem_j6v4u_105 ._locale_j6v4u_112,._transparent_j6v4u_939 ._linkWrapper_j6v4u_98._parent_j6v4u_98>._linkItem_j6v4u_105._themeToggle_j6v4u_113 button,._transparent_j6v4u_939 ._linkWrapper_j6v4u_98._parent_j6v4u_98>._linkItem_j6v4u_105 ._sublinkToggle_j6v4u_114{opacity:1;visibility:visible;transition:color .3s ease-in-out,.3s ease-in-out;color:var(--color-navigation-transparent-links)}._transparent_j6v4u_939 ._linkWrapper_j6v4u_98._parent_j6v4u_98>._linkItem_j6v4u_105 ._link_j6v4u_98:hover,._transparent_j6v4u_939 ._linkWrapper_j6v4u_98._parent_j6v4u_98>._linkItem_j6v4u_105 ._search_j6v4u_111:hover,._transparent_j6v4u_939 ._linkWrapper_j6v4u_98._parent_j6v4u_98>._linkItem_j6v4u_105 ._locale_j6v4u_112:hover,._transparent_j6v4u_939 ._linkWrapper_j6v4u_98._parent_j6v4u_98>._linkItem_j6v4u_105._themeToggle_j6v4u_113 button:hover,._transparent_j6v4u_939 ._linkWrapper_j6v4u_98._parent_j6v4u_98>._linkItem_j6v4u_105 ._sublinkToggle_j6v4u_114:hover{color:var(--color-navigation-transparent-linksHover);background-color:transparent}}@media (max-width: 767px){._transparent_j6v4u_939:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;background:rgba(var(--color-backgroundRgb),.5);backdrop-filter:saturate(1.1) blur(1rem);-webkit-backdrop-filter:saturate(1.1) blur(1rem)}}._transparent_j6v4u_939 ._nav_j6v4u_1{height:auto;border-radius:var(--radius-full);padding:0;z-index:1001;background:rgba(var(--color-backgroundRgb),.3);backdrop-filter:saturate(1.1) blur(1rem);-webkit-backdrop-filter:saturate(1.1) blur(1rem)}@media (max-width: 767px){._transparent_j6v4u_939 ._nav_j6v4u_1{padding:var(--nav-height) 0 0;background:rgba(var(--color-backgroundRgb),.95);border-radius:0;top:0!important;left:0!important;height:100vh}._transparent_j6v4u_939 ._nav_j6v4u_1:before{border-radius:0}}@media (max-width: 767px){._transparent_j6v4u_939 ._utility_j6v4u_307 a,._transparent_j6v4u_939 ._utility_j6v4u_307 button{-webkit-backdrop-filter:unset;backdrop-filter:unset}._transparent_j6v4u_939 ._utility_j6v4u_307 a>span,._transparent_j6v4u_939 ._utility_j6v4u_307 button>span{background-color:transparent;padding:0}._transparent_j6v4u_939 ._utility_j6v4u_307 a:hover>span,._transparent_j6v4u_939 ._utility_j6v4u_307 button:hover>span{background-color:transparent;padding:0;color:var(--color-primary-100)}}@media (max-width: 767px){._transparent_j6v4u_939 ._menuToggle_j6v4u_289,._transparent_j6v4u_939 ._search_j6v4u_111{width:unset}}._utilityDefault_j6v4u_1056{height:32px}._utilityDefault_j6v4u_1056>span{padding:var(--spacing-xs) var(--spacing-sm)!important}._utilityScrolled_j6v4u_1063{height:32px;-webkit-backdrop-filter:saturate(1.1) blur(1rem);backdrop-filter:saturate(1.1) blur(1rem);background-color:transparent;transition:background-color .2s ease}._utilityScrolled_j6v4u_1063>span{padding:var(--spacing-xs) var(--spacing-sm)!important;background-color:var(--color-button-blurred-base-bg);color:var(--color-button-blurred-base-text);width:100%;transition:background-color .2s ease}._utilityScrolled_j6v4u_1063:hover{background-color:transparent}._utilityScrolled_j6v4u_1063:hover>span{background-color:var(--color-button-primary-base-hover-bg);color:var(--color-button-blurred-base-text)}._groupDivider_j6v4u_1088{border:0;height:0;border-top:none;border-bottom:1px solid var(--color-border);padding:var(--spacing-sm) 0}@media (max-width: 767px){._searchWrapper_j6v4u_1096{grid-area:fourth;width:auto}}._mobileMenu_j6v4u_1103,._mobileMenuSlide_j6v4u_1104{display:flex;flex-direction:column;gap:var(--spacing-md)}._mobileMenuItem_j6v4u_1114{opacity:0}._fadeInFromLeft_j6v4u_1118{animation:_fadeInFromLeft_j6v4u_1118 .3s ease-in-out forwards}._fadeInFromRight_j6v4u_1122{animation:_fadeInFromRight_j6v4u_1122 .3s ease-in-out forwards}._spotlight_j6v4u_596{display:flex;flex-direction:column;gap:var(--spacing-md)}._spotlight_j6v4u_596 ._imageWrapper_j6v4u_1132{width:100%;height:150px;position:relative;overflow:hidden;border-radius:var(--radius-md);line-height:0}._spotlight_j6v4u_596 ._imageWrapper_j6v4u_1132 img{width:100%;height:100%;object-fit:cover;transition:transform .3s ease-in-out}._spotlight_j6v4u_596 ._image_j6v4u_1132{width:100%;height:auto;object-fit:cover}._spotlight_j6v4u_596 ._content_j6v4u_1154{display:flex;flex-direction:column;gap:var(--spacing-sm);color:#fff}._spotlight_j6v4u_596 ._title_j6v4u_88{display:flex;align-items:center;justify-content:space-between;gap:var(--spacing-lg);color:#fff}._spotlight_j6v4u_596 ._description_j6v4u_1169{color:#fff}._spotlight_j6v4u_596 ._actions_j6v4u_1173{display:flex;flex-direction:column;align-items:flex-start}@keyframes _fadeInFromLeft_j6v4u_1118{0%{transform:translate(-10px);opacity:0}to{transform:translate(0);opacity:1}}@keyframes _fadeInFromRight_j6v4u_1122{0%{transform:translate(10px);opacity:0}to{transform:translate(0);opacity:1}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("react/jsx-runtime");require("react");const e=require("../../../NavLink-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("react/jsx-runtime");require("react");const e=require("../../../NavLink-Cog4-Ds3.cjs");require("../../../external-link-DDShu-48.cjs");require("../../../chevron-down-DfK1XBl3.cjs");exports.NavLink=e.NavLink;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react/jsx-runtime"),t=require("react"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react/jsx-runtime"),t=require("react"),ae=require("../Modal/index.cjs"),A=require("../../../index-D0ylyll7.cjs"),ie=require("../ButtonGroup/index.cjs"),e=require("../../../NavLink-Cog4-Ds3.cjs"),V=require("../../utils/NoScroll/noScroll.cjs"),Ee=require("../../../chevron-right-motlyADs.cjs"),H=require("../../../external-link-DDShu-48.cjs"),_e=require("../../../x-Dft9NVe_.cjs"),re=require("../../../createLucideIcon-DpotSgUx.cjs"),Le=require("../../../chevron-down-DfK1XBl3.cjs");/**
|
|
2
2
|
* @license lucide-react v0.488.0 - ISC
|
|
3
3
|
*
|
|
4
4
|
* This source code is licensed under the ISC license.
|
|
5
5
|
* See the LICENSE file in the root directory of this source tree.
|
|
6
|
-
*/const Me=[["path",{d:"M21.54 15H17a2 2 0 0 0-2 2v4.54",key:"1djwo0"}],["path",{d:"M7 3.34V5a3 3 0 0 0 3 3a2 2 0 0 1 2 2c0 1.1.9 2 2 2a2 2 0 0 0 2-2c0-1.1.9-2 2-2h3.17",key:"1tzkfa"}],["path",{d:"M11 21.95V18a2 2 0 0 0-2-2a2 2 0 0 1-2-2v-1a2 2 0 0 0-2-2H2.05",key:"14pb5j"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],Ie=
|
|
6
|
+
*/const Me=[["path",{d:"M21.54 15H17a2 2 0 0 0-2 2v4.54",key:"1djwo0"}],["path",{d:"M7 3.34V5a3 3 0 0 0 3 3a2 2 0 0 1 2 2c0 1.1.9 2 2 2a2 2 0 0 0 2-2c0-1.1.9-2 2-2h3.17",key:"1tzkfa"}],["path",{d:"M11 21.95V18a2 2 0 0 0-2-2a2 2 0 0 1-2-2v-1a2 2 0 0 0-2-2H2.05",key:"14pb5j"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],Ie=re.createLucideIcon("earth",Me);/**
|
|
7
7
|
* @license lucide-react v0.488.0 - ISC
|
|
8
8
|
*
|
|
9
9
|
* This source code is licensed under the ISC license.
|
|
10
10
|
* See the LICENSE file in the root directory of this source tree.
|
|
11
|
-
*/const Re=[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]],Be=ie.createLucideIcon("search",Re),ze={standard:e.styles.standard,transparent:e.styles.transparent},qe={left:e.styles.left,center:e.styles.center,right:e.styles.right},Ae=({spotlight:r,renderText:x})=>{var h,_,p,g,N,L;const o=r.callToAction;if(!o)return null;const k=((h=o.linkOptions)==null?void 0:h.linkType)==="external";let y="#";return k&&((_=o.linkOptions)!=null&&_.externalUrl)?y=o.linkOptions.externalUrl:((p=o.linkOptions)==null?void 0:p.linkType)==="internal"&&((N=(g=o.linkOptions)==null?void 0:g.internalUrl)!=null&&N.slug.current)&&(y=`/${o.linkOptions.internalUrl.slug.current}`),s.jsxs("div",{className:e.styles.spotlight,children:[r.image&&s.jsx("div",{className:e.styles.imageWrapper,children:s.jsx("img",{src:((L=r.image.imageUrls)==null?void 0:L.medium)??"",alt:r.image.asset.altText||r.image.asset.description||"Content image",width:600,height:400})}),s.jsxs("div",{className:e.styles.content,children:[r.title&&s.jsx("div",{className:e.styles.title,children:x==null?void 0:x(r.title,e.styles.title)}),r.description&&s.jsx("div",{className:e.styles.description,children:x==null?void 0:x(r.description,e.styles.description)})]}),o.linkOptions&&s.jsx("div",{className:e.styles.actions,children:s.jsx(A.Button,{as:"a",variant:o.variant??"primary",href:y,target:k?"_blank":"_self",rel:k?"noopener noreferrer":void 0,"aria-label":o.ariaLabel||o.label,children:o.label})})]})};function Oe({renderText:r,title:x,logo:o,items:k,groups:y,utilityItems:h,isSticky:_=!1,showSearch:p=!0,showLocaleSelect:g=!0,showThemeToggle:N=!0,themeToggleComponent:L,alignment:O="right",variant:re="standard",navigationType:M="default",searchComponent:ce,localeSelectComponent:oe,className:de,style:ue,...ye}){const[m,X]=t.useState(!1),[Y,v]=t.useState(null),[he,me]=t.useState(0),[fe,be]=t.useState(!1),[W,xe]=t.useState(!1),[pe,ve]=t.useState(null),[d,w]=t.useState([]),[I,D]=t.useState(0),[je,J]=t.useState(null),[S,ke]=t.useState(!1),[R,B]=t.useState("forward"),F=t.useRef(null),j=t.useRef(null),Q=t.useRef(null),U=t.useRef(new Map),T=()=>s.jsx("div",{className:`${e.styles.linkWrapper} ${e.styles.parent}`,role:"presentation",children:s.jsx("div",{className:`${e.styles.linkItem} ${e.styles.themeToggle}`,role:"presentation",children:L})}),G=()=>s.jsx("div",{className:`${e.styles.linkWrapper} ${e.styles.parent} ${e.styles.searchWrapper}`,children:s.jsx("div",{className:e.styles.linkItem,children:s.jsx(te.Modal,{size:"lg",className:e.styles.searchModal,trigger:s.jsx("button",{title:"Search","aria-label":"Search",className:e.styles.search,children:s.jsx(Be,{size:16,"aria-hidden":"true"})}),content:ce})})}),Z=()=>s.jsx("div",{className:`${e.styles.linkWrapper} ${e.styles.parent}`,children:s.jsx("div",{className:e.styles.linkItem,children:s.jsx(te.Modal,{className:e.styles.localeModal,trigger:s.jsx("button",{title:"Locale Select","aria-label":"Locale Select",className:e.styles.locale,children:s.jsx(Ie,{size:16,"aria-hidden":"true"})}),content:oe})})}),z=t.useCallback(()=>{j.current&&me(j.current.getBoundingClientRect().width)},[]),ee=()=>{X(n=>{const l=!n;return l||(w([]),B("forward"),v(null)),l})},se=t.useCallback(n=>{const l=U.current.get(n);if(l&&j.current){const c=l.getBoundingClientRect(),i=j.current.getBoundingClientRect();ve(c.left-i.left+c.width/2)}},[]),ge=t.useCallback(n=>{v(l=>l===n?null:n)},[]),P=t.useCallback(n=>{F.current&&!F.current.contains(n.target)&&v(null)},[]),K=t.useCallback(()=>{z(),typeof window<"u"&&window.innerWidth>768&&(X(!1),v(null))},[z]),Ne=()=>w([]),$e=n=>{B("forward"),w([{title:n.title,primary:n.primaryItems??[],secondary:n.secondaryItems??[],description:""}])},ne=n=>{B("forward"),w(l=>[...l,{title:n.label,primary:n.sublinks??[],secondary:[],description:n.description}])},we=()=>{B("backward"),w(n=>n.slice(0,-1))};t.useEffect(()=>{if(typeof window>"u")return;const n=()=>ke(window.innerWidth<768);return n(),window.addEventListener("resize",n),()=>window.removeEventListener("resize",n)},[]),t.useEffect(()=>{if(typeof window>"u")return;const n=()=>xe(window.scrollY>10);return n(),window.addEventListener("scroll",n,{passive:!0}),()=>window.removeEventListener("scroll",n)},[]),t.useEffect(()=>{const n=typeof window<"u",l=typeof document<"u";return n&&window.addEventListener("resize",K),l&&document.addEventListener("click",P),z(),be(!0),()=>{n&&window.removeEventListener("resize",K),l&&document.removeEventListener("click",P)}},[K,P,z]),t.useEffect(()=>{if(!(typeof document>"u"))return m?setTimeout(()=>V.lockScroll(),0):V.unlockScroll(),()=>V.unlockScroll()},[m]),t.useEffect(()=>{var c;if(!m)return;if(typeof window<"u"&&typeof window.matchMedia=="function"&&window.matchMedia("(pointer: fine)").matches){const i=(c=j.current)==null?void 0:c.querySelector('a[href], button:not([disabled]), input, select, textarea, [tabindex]:not([tabindex="-1"])');i==null||i.focus()}const l=i=>{var E;if(i.key==="Escape"){ee(),(E=Q.current)==null||E.focus();return}if(i.key!=="Tab"||!j.current)return;const b=Array.from(j.current.querySelectorAll('a[href], button:not([disabled]), input, select, textarea, [tabindex]:not([tabindex="-1"])')).filter(a=>!a.closest("[aria-hidden=true]"));if(b.length===0)return;const f=b[0],C=b[b.length-1];i.shiftKey?document.activeElement===f&&(i.preventDefault(),C.focus()):document.activeElement===C&&(i.preventDefault(),f.focus())};return document.addEventListener("keydown",l),()=>document.removeEventListener("keydown",l)},[m]);const q=(n,l="")=>n.map((c,i)=>{const b=`${l}/${c._key??c.label}-${i}`;return s.jsx(e.NavLink,{link:c,path:b,parentPath:l,openPath:Y,togglePath:ge,updateTriangleIndicator:se,setOpenPath:v,renderLinks:q,buttonRefs:U},b)}),Se=n=>n.map((l,c)=>{var C,E;const i=`group-${c}`,b=je===c,f=(C=l.primaryItems)==null?void 0:C[I??0];return s.jsxs("div",{className:`${e.styles.linkWrapper} ${e.styles.parent}`,onMouseEnter:()=>{J(c),v(i),se(i)},children:[s.jsx("div",{className:e.styles.linkItem,children:s.jsxs("button",{ref:a=>{U.current.set(i,a)},"aria-haspopup":!0,"aria-expanded":b,"aria-controls":`submenu-${c}`,className:`${e.styles.sublinkToggle} ${b?e.styles.open:""}`,children:[l.title,s.jsx(Le.ChevronDown,{size:18,className:e.styles.chevron,"aria-hidden":"true"})]})}),s.jsx("div",{id:`submenu-${c}`,className:`${e.styles.sublinks} ${b?e.styles.show:""}`,role:"menu","aria-label":`${l.title} submenu`,onMouseLeave:()=>{J(null),D(0),v(null)},children:s.jsx("div",{children:s.jsxs("div",{className:`${e.styles.sublinksInner} ${l.spotlight?e.styles.withSpotlight:e.styles.withoutSpotlight}`,children:[s.jsxs("div",{className:`${e.styles.sublinksColumn} ${e.styles.primaryColumn}`,children:[s.jsx("div",{className:e.styles.linkItem}),(E=l.primaryItems)==null?void 0:E.map((a,$)=>a.href?s.jsx("div",{role:"menuitem",children:s.jsxs("a",{href:a.href,className:`${e.styles.link} ${I===$?e.styles.open:""}`,target:a.isExternal?"_blank":"_self",rel:a.isExternal?"noopener noreferrer":void 0,onClick:()=>{var le;v(null),(le=a.onClick)==null||le.call(a)},onMouseEnter:()=>D($),children:[s.jsxs("span",{className:e.styles.linkContent,children:[a.label,a.subtitle&&s.jsx("span",{className:e.styles.subtitle,children:a.subtitle})]}),a.isExternal&&s.jsx(H.ExternalLink,{className:e.styles.newTabIcon,size:16,"aria-hidden":"true"})]})},a._key??$):s.jsx("div",{role:"menuitem",children:s.jsx("button",{className:`${e.styles.sublinkToggle} ${I===$?e.styles.open:""}`,onMouseEnter:()=>D($),children:s.jsxs("span",{className:e.styles.linkContent,children:[a.label,a.subtitle&&s.jsx("span",{className:e.styles.subtitle,children:a.subtitle})]})})},a._key??$))]}),(f==null?void 0:f.sublinks)&&f.sublinks.length>0&&s.jsxs("div",{className:`${e.styles.sublinksColumn} ${e.styles.fadeInFromLeft}`,children:[f.description&&s.jsx("div",{className:e.styles.sublinksDescription,children:r==null?void 0:r(f.description)}),q(f.sublinks,`${i}-${I}`)]},`${f.label}-${f.sublinks.length}`),l.secondaryItems&&l.secondaryItems.length>0&&s.jsx("div",{className:`${e.styles.sublinksColumn} ${e.styles.secondaryColumn}`,children:q(l.secondaryItems,`${i}-secondary`)}),l.spotlight&&s.jsx("div",{className:`${e.styles.sublinksColumn} ${e.styles.spotlightColumn}`,children:s.jsx(Ae,{spotlight:l.spotlight,renderText:r})})]})})})]},l._key??`group-${c}`)}),Ce=[e.styles.navbar,qe[O],ze[re],_?e.styles.sticky:"",W?e.styles.scrolled:"",y!=null&&y.length?e.styles.advanced:e.styles.default,de??""].filter(Boolean).join(" "),u=h&&h.length>0?h[Math.min(1,h.length-1)]:null;return s.jsx("header",{ref:F,className:Ce,style:ue,"aria-label":"Site header",...ye,children:s.jsxs("div",{className:`${e.styles.container} ${(!h||h.length===0)&&O!=="center"?e.styles.twoColumn:""}`,children:[o?s.jsx("div",{className:e.styles.logo,children:o}):x?s.jsx("div",{className:e.styles.title,children:x}):null,s.jsx("nav",{ref:j,style:{left:O==="center"?`calc(50% - ${he/2}px)`:"0"},"aria-modal":m?"true":void 0,className:`${e.styles.nav} ${m?e.styles.open:""} ${fe?e.styles.visible:e.styles.hidden}`,id:"main-menu","aria-label":"Primary navigation",children:s.jsxs("div",{className:e.styles.navInner,children:[s.jsx("svg",{style:{left:`${pe}px`},className:`${e.styles.triangle} ${Y?e.styles.show:""}`,width:16,height:12,viewBox:"0 0 100 75",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:s.jsx("polygon",{points:"50,5 95,70 5,70",strokeLinejoin:"round",fill:"white",stroke:"white"})}),M==="default"&&k&&s.jsxs("div",{className:e.styles.grid,children:[k.length>0&&s.jsx("div",{role:"menubar",className:e.styles.menubar,children:q(k)}),(p||g||N)&&s.jsxs(s.Fragment,{children:[s.jsx("span",{className:e.styles.separator,"aria-hidden":"true"}),s.jsxs("div",{role:"toolbar","aria-label":"Site controls",className:e.styles.toolbar,children:[N&&s.jsx(T,{}),p&&!S&&s.jsx(G,{}),g&&s.jsx(Z,{})]})]})]}),!S&&M==="advanced"&&y&&s.jsxs("div",{className:e.styles.grid,children:[y.length>0&&s.jsx("div",{role:"menubar",className:e.styles.menubar,children:Se(y)}),(p||g||N)&&s.jsxs(s.Fragment,{children:[s.jsx("span",{className:e.styles.separator,"aria-hidden":"true"}),s.jsxs("div",{role:"toolbar","aria-label":"Site controls",className:e.styles.toolbar,children:[N&&s.jsx(T,{}),p&&s.jsx(G,{}),g&&s.jsx(Z,{})]})]})]}),S&&M==="advanced"&&m&&d.length===0&&y&&s.jsx("div",{className:e.styles.mobileMenu,children:y.map((n,l)=>s.jsx("div",{className:`${e.styles.mobileMenuItem} ${R==="forward"?e.styles.fadeInFromLeft:e.styles.fadeInFromRight}`,children:s.jsx("button",{className:e.styles.sublinkToggle,onClick:()=>$e(n),children:n.title})},n._key??l))}),S&&M==="advanced"&&m&&d.length>0&&s.jsxs("div",{className:e.styles.mobileMenuSlide,children:[s.jsx("button",{className:e.styles.back,"aria-label":"Go back",onClick:d.length===1?Ne:we,children:s.jsx(Ee.ChevronLeft,{size:18,"aria-hidden":"true"})}),d[d.length-1].description&&s.jsx("div",{className:`${e.styles.sublinksDescription} ${R==="forward"?e.styles.fadeInFromLeft:e.styles.fadeInFromRight}`,children:r==null?void 0:r(d[d.length-1].description)}),d[d.length-1].primary.map((n,l)=>s.jsx("div",{role:"menuitem",className:`${e.styles.mobileMenuItem} ${R==="forward"?e.styles.fadeInFromLeft:e.styles.fadeInFromRight}`,children:n.sublinks?s.jsx("button",{className:e.styles.sublinkToggle,onClick:()=>ne(n),children:s.jsxs("span",{className:e.styles.linkContent,children:[n.label,n.subtitle&&s.jsx("span",{className:e.styles.subtitle,children:n.subtitle})]})}):s.jsxs("a",{href:n.href,className:e.styles.link,target:n.isExternal?"_blank":"_self",rel:n.isExternal?"noopener noreferrer":void 0,children:[s.jsxs("span",{className:e.styles.linkContent,children:[n.label,n.subtitle&&s.jsx("span",{className:e.styles.subtitle,children:n.subtitle})]}),n.isExternal&&s.jsx(H.ExternalLink,{className:e.styles.newTabIcon,size:16,"aria-hidden":"true"})]})},n._key??`primary-${l}`)),d[d.length-1].secondary.length>0&&s.jsx("hr",{className:e.styles.groupDivider}),d[d.length-1].secondary.map((n,l)=>s.jsx("div",{role:"menuitem",className:`${e.styles.mobileMenuItem} ${R==="forward"?e.styles.fadeInFromLeft:e.styles.fadeInFromRight}`,children:n.sublinks?s.jsx("button",{className:e.styles.sublinkToggle,onClick:()=>ne(n),children:n.label}):s.jsxs("a",{href:n.href,className:e.styles.link,target:n.isExternal?"_blank":"_self",rel:n.isExternal?"noopener noreferrer":void 0,children:[n.label,n.isExternal&&s.jsx(H.ExternalLink,{className:e.styles.newTabIcon,size:16,"aria-hidden":"true"})]})},n._key??`secondary-${l}`))]},`stack-${d.length}`)]})}),h&&h.length>0&&s.jsx("nav",{className:e.styles.utility,"data-scrolled":W,"aria-label":"Utility navigation",children:s.jsx(ae.ButtonGroup,{children:h.map((n,l)=>s.jsx(A.Button,{as:"a",size:"sm",href:n.href??"/",variant:n.variant==="link"&&W?"blurred":n.variant??"primary",displayType:n.displayType??"text",imageSrc:n.imageSrc,imageAlt:n.imageAlt,"aria-label":n.ariaLabel,icon:n.icon,iconAlignment:n.iconAlignment,children:n.imageSrc?s.jsx("img",{src:n.imageSrc,alt:n.imageAlt??n.ariaLabel}):n.label},n._key??l))})}),u&&s.jsx("nav",{"aria-label":"Utility navigation",className:`${e.styles.utilityMobile} ${m?e.styles.open:""}`,children:s.jsx(ae.ButtonGroup,{alignment:"center",children:s.jsx(A.Button,{as:"a",size:"sm",href:u.href??"/",variant:u.variant??"primary",displayType:u.displayType??"text",imageSrc:u.imageSrc,imageAlt:u.imageAlt,"aria-label":u.ariaLabel,icon:u.icon,iconAlignment:u.iconAlignment,children:u.imageSrc?s.jsx("img",{src:u.imageSrc,alt:u.imageAlt??u.ariaLabel}):u.label})})}),s.jsxs("div",{className:e.styles.mobileButtons,children:[S&&p&&s.jsx(G,{}),s.jsx("button",{ref:Q,className:e.styles.menuToggle,onClick:ee,"aria-label":m?"Close menu":"Open menu","aria-expanded":m,"aria-controls":"main-menu",children:m?s.jsx(_e.X,{size:24,"aria-hidden":"true"}):s.jsx(A.Menu,{size:24,"aria-hidden":"true"})})]})]})})}exports.Navbar=Oe;
|
|
11
|
+
*/const Re=[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]],Be=re.createLucideIcon("search",Re),ze={standard:e.styles.standard,transparent:e.styles.transparent},qe={left:e.styles.left,center:e.styles.center,right:e.styles.right},Ae=({spotlight:r,renderText:x})=>{var h,_,p,g,N,L;const o=r.callToAction;if(!o)return null;const k=((h=o.linkOptions)==null?void 0:h.linkType)==="external";let y="#";return k&&((_=o.linkOptions)!=null&&_.externalUrl)?y=o.linkOptions.externalUrl:((p=o.linkOptions)==null?void 0:p.linkType)==="internal"&&((N=(g=o.linkOptions)==null?void 0:g.internalUrl)!=null&&N.slug.current)&&(y=`/${o.linkOptions.internalUrl.slug.current}`),s.jsxs("div",{className:e.styles.spotlight,children:[r.image&&s.jsx("div",{className:e.styles.imageWrapper,children:s.jsx("img",{src:((L=r.image.imageUrls)==null?void 0:L.medium)??"",alt:r.image.asset.altText||r.image.asset.description||"Content image",width:600,height:400})}),s.jsxs("div",{className:e.styles.content,children:[r.title&&s.jsx("div",{className:e.styles.title,children:x==null?void 0:x(r.title,e.styles.title)}),r.description&&s.jsx("div",{className:e.styles.description,children:x==null?void 0:x(r.description,e.styles.description)})]}),o.linkOptions&&s.jsx("div",{className:e.styles.actions,children:s.jsx(A.Button,{as:"a",variant:o.variant??"primary",href:y,target:k?"_blank":"_self",rel:k?"noopener noreferrer":void 0,"aria-label":o.ariaLabel||o.label,children:o.label})})]})};function Oe({renderText:r,title:x,logo:o,items:k,groups:y,utilityItems:h,isSticky:_=!1,showSearch:p=!0,showLocaleSelect:g=!0,showThemeToggle:N=!0,themeToggleComponent:L,alignment:O="right",variant:X="standard",navigationType:M="default",searchComponent:ce,localeSelectComponent:oe,className:de,style:ue,...ye}){const[m,Y]=t.useState(!1),[J,v]=t.useState(null),[he,me]=t.useState(0),[fe,be]=t.useState(!1),[D,xe]=t.useState(!1),[pe,ve]=t.useState(null),[d,w]=t.useState([]),[I,W]=t.useState(0),[je,Q]=t.useState(null),[S,ke]=t.useState(!1),[R,B]=t.useState("forward"),F=t.useRef(null),j=t.useRef(null),T=t.useRef(null),U=t.useRef(new Map),Z=()=>s.jsx("div",{className:`${e.styles.linkWrapper} ${e.styles.parent}`,role:"presentation",children:s.jsx("div",{className:`${e.styles.linkItem} ${e.styles.themeToggle}`,role:"presentation",children:L})}),G=()=>s.jsx("div",{className:`${e.styles.linkWrapper} ${e.styles.parent} ${e.styles.searchWrapper}`,children:s.jsx("div",{className:e.styles.linkItem,children:s.jsx(ae.Modal,{size:"lg",className:e.styles.searchModal,trigger:s.jsx("button",{title:"Search","aria-label":"Search",className:e.styles.search,children:s.jsx(Be,{size:16,"aria-hidden":"true"})}),content:ce})})}),ee=()=>s.jsx("div",{className:`${e.styles.linkWrapper} ${e.styles.parent}`,children:s.jsx("div",{className:e.styles.linkItem,children:s.jsx(ae.Modal,{className:e.styles.localeModal,trigger:s.jsx("button",{title:"Locale Select","aria-label":"Locale Select",className:e.styles.locale,children:s.jsx(Ie,{size:16,"aria-hidden":"true"})}),content:oe})})}),z=t.useCallback(()=>{j.current&&me(j.current.getBoundingClientRect().width)},[]),se=()=>{Y(n=>{const l=!n;return l||(w([]),B("forward"),v(null)),l})},ne=t.useCallback(n=>{const l=U.current.get(n);if(l&&j.current){const c=l.getBoundingClientRect(),i=j.current.getBoundingClientRect();ve(c.left-i.left+c.width/2)}},[]),ge=t.useCallback(n=>{v(l=>l===n?null:n)},[]),P=t.useCallback(n=>{F.current&&!F.current.contains(n.target)&&v(null)},[]),K=t.useCallback(()=>{z(),typeof window<"u"&&window.innerWidth>768&&(Y(!1),v(null))},[z]),Ne=()=>w([]),$e=n=>{B("forward"),w([{title:n.title,primary:n.primaryItems??[],secondary:n.secondaryItems??[],description:""}])},le=n=>{B("forward"),w(l=>[...l,{title:n.label,primary:n.sublinks??[],secondary:[],description:n.description}])},we=()=>{B("backward"),w(n=>n.slice(0,-1))};t.useEffect(()=>{if(typeof window>"u")return;const n=()=>ke(window.innerWidth<768);return n(),window.addEventListener("resize",n),()=>window.removeEventListener("resize",n)},[]),t.useEffect(()=>{if(typeof window>"u")return;const n=()=>xe(window.scrollY>10);return n(),window.addEventListener("scroll",n,{passive:!0}),()=>window.removeEventListener("scroll",n)},[]),t.useEffect(()=>{const n=typeof window<"u",l=typeof document<"u";return n&&window.addEventListener("resize",K),l&&document.addEventListener("click",P),z(),be(!0),()=>{n&&window.removeEventListener("resize",K),l&&document.removeEventListener("click",P)}},[K,P,z]),t.useEffect(()=>{if(!(typeof document>"u"))return m?setTimeout(()=>V.lockScroll(),0):V.unlockScroll(),()=>V.unlockScroll()},[m]),t.useEffect(()=>{var c;if(!m)return;if(typeof window<"u"&&typeof window.matchMedia=="function"&&window.matchMedia("(pointer: fine)").matches){const i=(c=j.current)==null?void 0:c.querySelector('a[href], button:not([disabled]), input, select, textarea, [tabindex]:not([tabindex="-1"])');i==null||i.focus()}const l=i=>{var E;if(i.key==="Escape"){se(),(E=T.current)==null||E.focus();return}if(i.key!=="Tab"||!j.current)return;const b=Array.from(j.current.querySelectorAll('a[href], button:not([disabled]), input, select, textarea, [tabindex]:not([tabindex="-1"])')).filter(a=>!a.closest("[aria-hidden=true]"));if(b.length===0)return;const f=b[0],C=b[b.length-1];i.shiftKey?document.activeElement===f&&(i.preventDefault(),C.focus()):document.activeElement===C&&(i.preventDefault(),f.focus())};return document.addEventListener("keydown",l),()=>document.removeEventListener("keydown",l)},[m]);const q=(n,l="")=>n.map((c,i)=>{const b=`${l}/${c._key??c.label}-${i}`;return s.jsx(e.NavLink,{link:c,path:b,parentPath:l,openPath:J,togglePath:ge,updateTriangleIndicator:ne,setOpenPath:v,renderLinks:q,buttonRefs:U},b)}),Se=n=>n.map((l,c)=>{var C,E;const i=`group-${c}`,b=je===c,f=(C=l.primaryItems)==null?void 0:C[I??0];return s.jsxs("div",{className:`${e.styles.linkWrapper} ${e.styles.parent}`,onMouseEnter:()=>{Q(c),v(i),ne(i)},children:[s.jsx("div",{className:e.styles.linkItem,children:s.jsxs("button",{ref:a=>{U.current.set(i,a)},"aria-haspopup":!0,"aria-expanded":b,"aria-controls":`submenu-${c}`,className:`${e.styles.sublinkToggle} ${b?e.styles.open:""}`,children:[l.title,s.jsx(Le.ChevronDown,{size:18,className:e.styles.chevron,"aria-hidden":"true"})]})}),s.jsx("div",{id:`submenu-${c}`,className:`${e.styles.sublinks} ${b?e.styles.show:""}`,role:"menu","aria-label":`${l.title} submenu`,onMouseLeave:()=>{Q(null),W(0),v(null)},children:s.jsx("div",{children:s.jsxs("div",{className:`${e.styles.sublinksInner} ${l.spotlight?e.styles.withSpotlight:e.styles.withoutSpotlight}`,children:[s.jsxs("div",{className:`${e.styles.sublinksColumn} ${e.styles.primaryColumn}`,children:[s.jsx("div",{className:e.styles.linkItem}),(E=l.primaryItems)==null?void 0:E.map((a,$)=>a.href?s.jsx("div",{role:"menuitem",children:s.jsxs("a",{href:a.href,className:`${e.styles.link} ${I===$?e.styles.open:""}`,target:a.isExternal?"_blank":"_self",rel:a.isExternal?"noopener noreferrer":void 0,onClick:()=>{var te;v(null),(te=a.onClick)==null||te.call(a)},onMouseEnter:()=>W($),children:[s.jsxs("span",{className:e.styles.linkContent,children:[a.label,a.subtitle&&s.jsx("span",{className:e.styles.subtitle,children:a.subtitle})]}),a.isExternal&&s.jsx(H.ExternalLink,{className:e.styles.newTabIcon,size:16,"aria-hidden":"true"})]})},a._key??$):s.jsx("div",{role:"menuitem",children:s.jsx("button",{className:`${e.styles.sublinkToggle} ${I===$?e.styles.open:""}`,onMouseEnter:()=>W($),children:s.jsxs("span",{className:e.styles.linkContent,children:[a.label,a.subtitle&&s.jsx("span",{className:e.styles.subtitle,children:a.subtitle})]})})},a._key??$))]}),(f==null?void 0:f.sublinks)&&f.sublinks.length>0&&s.jsxs("div",{className:`${e.styles.sublinksColumn} ${e.styles.fadeInFromLeft}`,children:[f.description&&s.jsx("div",{className:e.styles.sublinksDescription,children:r==null?void 0:r(f.description)}),q(f.sublinks,`${i}-${I}`)]},`${f.label}-${f.sublinks.length}`),l.secondaryItems&&l.secondaryItems.length>0&&s.jsx("div",{className:`${e.styles.sublinksColumn} ${e.styles.secondaryColumn}`,children:q(l.secondaryItems,`${i}-secondary`)}),l.spotlight&&s.jsx("div",{className:`${e.styles.sublinksColumn} ${e.styles.spotlightColumn}`,children:s.jsx(Ae,{spotlight:l.spotlight,renderText:r})})]})})})]},l._key??`group-${c}`)}),Ce=[e.styles.navbar,qe[O],ze[X],_?e.styles.sticky:"",D?e.styles.scrolled:"",y!=null&&y.length?e.styles.advanced:e.styles.default,de??""].filter(Boolean).join(" "),u=h&&h.length>0?h[Math.min(1,h.length-1)]:null;return s.jsx("header",{ref:F,className:Ce,style:ue,"aria-label":"Site header",...ye,children:s.jsxs("div",{className:`${e.styles.container} ${(!h||h.length===0)&&O!=="center"?e.styles.twoColumn:""}`,children:[o?s.jsx("div",{className:e.styles.logo,children:o}):x?s.jsx("div",{className:e.styles.title,children:x}):null,s.jsx("nav",{ref:j,style:{left:O==="center"?`calc(50% - ${he/2}px)`:"0"},"aria-modal":m?"true":void 0,className:`${e.styles.nav} ${m?e.styles.open:""} ${fe?e.styles.visible:e.styles.hidden}`,id:"main-menu","aria-label":"Primary navigation",children:s.jsxs("div",{className:e.styles.navInner,children:[s.jsx("svg",{style:{left:`${pe}px`},className:`${e.styles.triangle} ${J?e.styles.show:""}`,width:16,height:12,viewBox:"0 0 100 75",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:s.jsx("polygon",{points:"50,5 95,70 5,70",strokeLinejoin:"round",fill:"white",stroke:"white"})}),M==="default"&&k&&s.jsxs("div",{className:e.styles.grid,children:[k.length>0&&s.jsx("div",{role:"menubar",className:e.styles.menubar,children:q(k)}),(p||g||N)&&s.jsxs(s.Fragment,{children:[s.jsx("span",{className:e.styles.separator,"aria-hidden":"true"}),s.jsxs("div",{role:"toolbar","aria-label":"Site controls",className:e.styles.toolbar,children:[N&&s.jsx(Z,{}),p&&!S&&s.jsx(G,{}),g&&s.jsx(ee,{})]})]})]}),!S&&M==="advanced"&&y&&s.jsxs("div",{className:e.styles.grid,children:[y.length>0&&s.jsx("div",{role:"menubar",className:e.styles.menubar,children:Se(y)}),(p||g||N)&&s.jsxs(s.Fragment,{children:[s.jsx("span",{className:e.styles.separator,"aria-hidden":"true"}),s.jsxs("div",{role:"toolbar","aria-label":"Site controls",className:e.styles.toolbar,children:[N&&s.jsx(Z,{}),p&&s.jsx(G,{}),g&&s.jsx(ee,{})]})]})]}),S&&M==="advanced"&&m&&d.length===0&&y&&s.jsx("div",{className:e.styles.mobileMenu,children:y.map((n,l)=>s.jsx("div",{className:`${e.styles.mobileMenuItem} ${R==="forward"?e.styles.fadeInFromLeft:e.styles.fadeInFromRight}`,children:s.jsx("button",{className:e.styles.sublinkToggle,onClick:()=>$e(n),children:n.title})},n._key??l))}),S&&M==="advanced"&&m&&d.length>0&&s.jsxs("div",{className:e.styles.mobileMenuSlide,children:[s.jsx("button",{className:e.styles.back,"aria-label":"Go back",onClick:d.length===1?Ne:we,children:s.jsx(Ee.ChevronLeft,{size:18,"aria-hidden":"true"})}),d[d.length-1].description&&s.jsx("div",{className:`${e.styles.sublinksDescription} ${R==="forward"?e.styles.fadeInFromLeft:e.styles.fadeInFromRight}`,children:r==null?void 0:r(d[d.length-1].description)}),d[d.length-1].primary.map((n,l)=>s.jsx("div",{role:"menuitem",className:`${e.styles.mobileMenuItem} ${R==="forward"?e.styles.fadeInFromLeft:e.styles.fadeInFromRight}`,children:n.sublinks?s.jsx("button",{className:e.styles.sublinkToggle,onClick:()=>le(n),children:s.jsxs("span",{className:e.styles.linkContent,children:[n.label,n.subtitle&&s.jsx("span",{className:e.styles.subtitle,children:n.subtitle})]})}):s.jsxs("a",{href:n.href,className:e.styles.link,target:n.isExternal?"_blank":"_self",rel:n.isExternal?"noopener noreferrer":void 0,children:[s.jsxs("span",{className:e.styles.linkContent,children:[n.label,n.subtitle&&s.jsx("span",{className:e.styles.subtitle,children:n.subtitle})]}),n.isExternal&&s.jsx(H.ExternalLink,{className:e.styles.newTabIcon,size:16,"aria-hidden":"true"})]})},n._key??`primary-${l}`)),d[d.length-1].secondary.length>0&&s.jsx("hr",{className:e.styles.groupDivider}),d[d.length-1].secondary.map((n,l)=>s.jsx("div",{role:"menuitem",className:`${e.styles.mobileMenuItem} ${R==="forward"?e.styles.fadeInFromLeft:e.styles.fadeInFromRight}`,children:n.sublinks?s.jsx("button",{className:e.styles.sublinkToggle,onClick:()=>le(n),children:n.label}):s.jsxs("a",{href:n.href,className:e.styles.link,target:n.isExternal?"_blank":"_self",rel:n.isExternal?"noopener noreferrer":void 0,children:[n.label,n.isExternal&&s.jsx(H.ExternalLink,{className:e.styles.newTabIcon,size:16,"aria-hidden":"true"})]})},n._key??`secondary-${l}`))]},`stack-${d.length}`)]})}),h&&h.length>0&&s.jsx("nav",{className:e.styles.utility,"data-scrolled":D,"aria-label":"Utility navigation",children:s.jsx(ie.ButtonGroup,{spacing:"sm",children:h.map((n,l)=>s.jsx(A.Button,{as:"a",size:"sm",href:n.href??"/",variant:n.variant??"primary",displayType:n.displayType??"text",imageSrc:n.imageSrc,imageAlt:n.imageAlt,"aria-label":n.ariaLabel,icon:n.icon,iconAlignment:n.iconAlignment,className:X=="transparent"&&n.variant==="link"&&D?e.styles.utilityScrolled:e.styles.utilityDefault,children:n.imageSrc?s.jsx("img",{src:n.imageSrc,alt:n.imageAlt??n.ariaLabel}):n.label},n._key??l))})}),u&&s.jsx("nav",{"aria-label":"Utility navigation",className:`${e.styles.utilityMobile} ${m?e.styles.open:""}`,children:s.jsx(ie.ButtonGroup,{alignment:"center",children:s.jsx(A.Button,{as:"a",size:"sm",href:u.href??"/",variant:u.variant??"primary",displayType:u.displayType??"text",imageSrc:u.imageSrc,imageAlt:u.imageAlt,"aria-label":u.ariaLabel,icon:u.icon,iconAlignment:u.iconAlignment,children:u.imageSrc?s.jsx("img",{src:u.imageSrc,alt:u.imageAlt??u.ariaLabel}):u.label})})}),s.jsxs("div",{className:e.styles.mobileButtons,children:[S&&p&&s.jsx(G,{}),s.jsx("button",{ref:T,className:e.styles.menuToggle,onClick:se,"aria-label":m?"Close menu":"Open menu","aria-expanded":m,"aria-controls":"main-menu",children:m?s.jsx(_e.X,{size:24,"aria-hidden":"true"}):s.jsx(A.Menu,{size:24,"aria-hidden":"true"})})]})]})})}exports.Navbar=Oe;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { jsx as a, jsxs as i, Fragment as
|
|
1
|
+
import { jsx as a, jsxs as i, Fragment as ce } from "react/jsx-runtime";
|
|
2
2
|
import { useState as v, useRef as F, useCallback as _, useEffect as z } from "react";
|
|
3
|
-
import { Modal as
|
|
3
|
+
import { Modal as oe } from "../Modal/index.mjs";
|
|
4
4
|
import { B as J, M as Ae } from "../../../index-CnlJ2RgH.js";
|
|
5
|
-
import { ButtonGroup as
|
|
6
|
-
import { s as e, N as Re } from "../../../NavLink-
|
|
7
|
-
import { lockScroll as Be, unlockScroll as
|
|
5
|
+
import { ButtonGroup as de } from "../ButtonGroup/index.mjs";
|
|
6
|
+
import { s as e, N as Re } from "../../../NavLink-DhezdhFU.js";
|
|
7
|
+
import { lockScroll as Be, unlockScroll as ue } from "../../utils/NoScroll/noScroll.mjs";
|
|
8
8
|
import { C as Oe } from "../../../chevron-right-Cim1KPuL.js";
|
|
9
9
|
import { E as Y } from "../../../external-link-BOPobeQJ.js";
|
|
10
10
|
import { X as We } from "../../../x-CnsEH4Ox.js";
|
|
11
|
-
import { c as
|
|
11
|
+
import { c as me } from "../../../createLucideIcon-C8GTh_Qx.js";
|
|
12
12
|
import { C as De } from "../../../chevron-down-DSUzBz9F.js";
|
|
13
13
|
/**
|
|
14
14
|
* @license lucide-react v0.488.0 - ISC
|
|
@@ -27,7 +27,7 @@ const Ue = [
|
|
|
27
27
|
],
|
|
28
28
|
["path", { d: "M11 21.95V18a2 2 0 0 0-2-2a2 2 0 0 1-2-2v-1a2 2 0 0 0-2-2H2.05", key: "14pb5j" }],
|
|
29
29
|
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }]
|
|
30
|
-
], Fe =
|
|
30
|
+
], Fe = me("earth", Ue);
|
|
31
31
|
/**
|
|
32
32
|
* @license lucide-react v0.488.0 - ISC
|
|
33
33
|
*
|
|
@@ -37,7 +37,7 @@ const Ue = [
|
|
|
37
37
|
const je = [
|
|
38
38
|
["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }],
|
|
39
39
|
["path", { d: "m21 21-4.3-4.3", key: "1qie3q" }]
|
|
40
|
-
], Ge =
|
|
40
|
+
], Ge = me("search", je), Pe = {
|
|
41
41
|
standard: e.standard,
|
|
42
42
|
transparent: e.transparent
|
|
43
43
|
}, qe = {
|
|
@@ -81,7 +81,7 @@ const je = [
|
|
|
81
81
|
) })
|
|
82
82
|
] });
|
|
83
83
|
};
|
|
84
|
-
function
|
|
84
|
+
function tn({
|
|
85
85
|
renderText: s,
|
|
86
86
|
title: k,
|
|
87
87
|
logo: o,
|
|
@@ -94,7 +94,7 @@ function rn({
|
|
|
94
94
|
showThemeToggle: C = !0,
|
|
95
95
|
themeToggleComponent: A,
|
|
96
96
|
alignment: j = "right",
|
|
97
|
-
variant:
|
|
97
|
+
variant: Q = "standard",
|
|
98
98
|
navigationType: R = "default",
|
|
99
99
|
searchComponent: he,
|
|
100
100
|
localeSelectComponent: fe,
|
|
@@ -102,9 +102,9 @@ function rn({
|
|
|
102
102
|
style: pe,
|
|
103
103
|
...ve
|
|
104
104
|
}) {
|
|
105
|
-
const [f,
|
|
105
|
+
const [f, Z] = v(!1), [T, N] = v(null), [ke, ge] = v(0), [Ne, ye] = v(!1), [G, $e] = v(!1), [we, Ce] = v(null), [d, M] = v([]), [B, P] = v(
|
|
106
106
|
0
|
|
107
|
-
), [Ee,
|
|
107
|
+
), [Ee, ee] = v(null), [I, Me] = v(!1), [O, W] = v("forward"), q = F(null), y = F(null), ne = F(null), K = F(/* @__PURE__ */ new Map()), ae = () => /* @__PURE__ */ a(
|
|
108
108
|
"div",
|
|
109
109
|
{
|
|
110
110
|
className: `${e.linkWrapper} ${e.parent}`,
|
|
@@ -123,7 +123,7 @@ function rn({
|
|
|
123
123
|
{
|
|
124
124
|
className: `${e.linkWrapper} ${e.parent} ${e.searchWrapper}`,
|
|
125
125
|
children: /* @__PURE__ */ a("div", { className: e.linkItem, children: /* @__PURE__ */ a(
|
|
126
|
-
|
|
126
|
+
oe,
|
|
127
127
|
{
|
|
128
128
|
size: "lg",
|
|
129
129
|
className: e.searchModal,
|
|
@@ -140,8 +140,8 @@ function rn({
|
|
|
140
140
|
}
|
|
141
141
|
) })
|
|
142
142
|
}
|
|
143
|
-
),
|
|
144
|
-
|
|
143
|
+
), le = () => /* @__PURE__ */ a("div", { className: `${e.linkWrapper} ${e.parent}`, children: /* @__PURE__ */ a("div", { className: e.linkItem, children: /* @__PURE__ */ a(
|
|
144
|
+
oe,
|
|
145
145
|
{
|
|
146
146
|
className: e.localeModal,
|
|
147
147
|
trigger: /* @__PURE__ */ a(
|
|
@@ -157,23 +157,23 @@ function rn({
|
|
|
157
157
|
}
|
|
158
158
|
) }) }), D = _(() => {
|
|
159
159
|
y.current && ge(y.current.getBoundingClientRect().width);
|
|
160
|
-
}, []),
|
|
161
|
-
|
|
160
|
+
}, []), ie = () => {
|
|
161
|
+
Z((n) => {
|
|
162
162
|
const l = !n;
|
|
163
163
|
return l || (M([]), W("forward"), N(null)), l;
|
|
164
164
|
});
|
|
165
|
-
},
|
|
165
|
+
}, te = _((n) => {
|
|
166
166
|
const l = K.current.get(n);
|
|
167
167
|
if (l && y.current) {
|
|
168
|
-
const c = l.getBoundingClientRect(),
|
|
169
|
-
Ce(c.left -
|
|
168
|
+
const c = l.getBoundingClientRect(), r = y.current.getBoundingClientRect();
|
|
169
|
+
Ce(c.left - r.left + c.width / 2);
|
|
170
170
|
}
|
|
171
171
|
}, []), Ie = _((n) => {
|
|
172
172
|
N((l) => l === n ? null : n);
|
|
173
173
|
}, []), H = _((n) => {
|
|
174
174
|
q.current && !q.current.contains(n.target) && N(null);
|
|
175
175
|
}, []), X = _(() => {
|
|
176
|
-
D(), typeof window < "u" && window.innerWidth > 768 && (
|
|
176
|
+
D(), typeof window < "u" && window.innerWidth > 768 && (Z(!1), N(null));
|
|
177
177
|
}, [D]), Le = () => M([]), Se = (n) => {
|
|
178
178
|
W("forward"), M([
|
|
179
179
|
{
|
|
@@ -211,45 +211,45 @@ function rn({
|
|
|
211
211
|
};
|
|
212
212
|
}, [X, H, D]), z(() => {
|
|
213
213
|
if (!(typeof document > "u"))
|
|
214
|
-
return f ? setTimeout(() => Be(), 0) :
|
|
214
|
+
return f ? setTimeout(() => Be(), 0) : ue(), () => ue();
|
|
215
215
|
}, [f]), z(() => {
|
|
216
216
|
var c;
|
|
217
217
|
if (!f) return;
|
|
218
218
|
if (typeof window < "u" && typeof window.matchMedia == "function" && window.matchMedia("(pointer: fine)").matches) {
|
|
219
|
-
const
|
|
219
|
+
const r = (c = y.current) == null ? void 0 : c.querySelector(
|
|
220
220
|
'a[href], button:not([disabled]), input, select, textarea, [tabindex]:not([tabindex="-1"])'
|
|
221
221
|
);
|
|
222
|
-
|
|
222
|
+
r == null || r.focus();
|
|
223
223
|
}
|
|
224
|
-
const l = (
|
|
224
|
+
const l = (r) => {
|
|
225
225
|
var S;
|
|
226
|
-
if (
|
|
227
|
-
|
|
226
|
+
if (r.key === "Escape") {
|
|
227
|
+
ie(), (S = ne.current) == null || S.focus();
|
|
228
228
|
return;
|
|
229
229
|
}
|
|
230
|
-
if (
|
|
230
|
+
if (r.key !== "Tab" || !y.current) return;
|
|
231
231
|
const p = Array.from(
|
|
232
232
|
y.current.querySelectorAll(
|
|
233
233
|
'a[href], button:not([disabled]), input, select, textarea, [tabindex]:not([tabindex="-1"])'
|
|
234
234
|
)
|
|
235
|
-
).filter((
|
|
235
|
+
).filter((t) => !t.closest("[aria-hidden=true]"));
|
|
236
236
|
if (p.length === 0) return;
|
|
237
237
|
const b = p[0], L = p[p.length - 1];
|
|
238
|
-
|
|
238
|
+
r.shiftKey ? document.activeElement === b && (r.preventDefault(), L.focus()) : document.activeElement === L && (r.preventDefault(), b.focus());
|
|
239
239
|
};
|
|
240
240
|
return document.addEventListener("keydown", l), () => document.removeEventListener("keydown", l);
|
|
241
241
|
}, [f]);
|
|
242
|
-
const U = (n, l = "") => n.map((c,
|
|
243
|
-
const p = `${l}/${c._key ?? c.label}-${
|
|
242
|
+
const U = (n, l = "") => n.map((c, r) => {
|
|
243
|
+
const p = `${l}/${c._key ?? c.label}-${r}`;
|
|
244
244
|
return /* @__PURE__ */ a(
|
|
245
245
|
Re,
|
|
246
246
|
{
|
|
247
247
|
link: c,
|
|
248
248
|
path: p,
|
|
249
249
|
parentPath: l,
|
|
250
|
-
openPath:
|
|
250
|
+
openPath: T,
|
|
251
251
|
togglePath: Ie,
|
|
252
|
-
updateTriangleIndicator:
|
|
252
|
+
updateTriangleIndicator: te,
|
|
253
253
|
setOpenPath: N,
|
|
254
254
|
renderLinks: U,
|
|
255
255
|
buttonRefs: K
|
|
@@ -258,20 +258,20 @@ function rn({
|
|
|
258
258
|
);
|
|
259
259
|
}), ze = (n) => n.map((l, c) => {
|
|
260
260
|
var L, S;
|
|
261
|
-
const
|
|
261
|
+
const r = `group-${c}`, p = Ee === c, b = (L = l.primaryItems) == null ? void 0 : L[B ?? 0];
|
|
262
262
|
return /* @__PURE__ */ i(
|
|
263
263
|
"div",
|
|
264
264
|
{
|
|
265
265
|
className: `${e.linkWrapper} ${e.parent}`,
|
|
266
266
|
onMouseEnter: () => {
|
|
267
|
-
|
|
267
|
+
ee(c), N(r), te(r);
|
|
268
268
|
},
|
|
269
269
|
children: [
|
|
270
270
|
/* @__PURE__ */ a("div", { className: e.linkItem, children: /* @__PURE__ */ i(
|
|
271
271
|
"button",
|
|
272
272
|
{
|
|
273
|
-
ref: (
|
|
274
|
-
K.current.set(
|
|
273
|
+
ref: (t) => {
|
|
274
|
+
K.current.set(r, t);
|
|
275
275
|
},
|
|
276
276
|
"aria-haspopup": !0,
|
|
277
277
|
"aria-expanded": p,
|
|
@@ -298,7 +298,7 @@ function rn({
|
|
|
298
298
|
role: "menu",
|
|
299
299
|
"aria-label": `${l.title} submenu`,
|
|
300
300
|
onMouseLeave: () => {
|
|
301
|
-
|
|
301
|
+
ee(null), P(0), N(null);
|
|
302
302
|
},
|
|
303
303
|
children: /* @__PURE__ */ a("div", { children: /* @__PURE__ */ i(
|
|
304
304
|
"div",
|
|
@@ -312,24 +312,24 @@ function rn({
|
|
|
312
312
|
children: [
|
|
313
313
|
/* @__PURE__ */ a("div", { className: e.linkItem }),
|
|
314
314
|
(S = l.primaryItems) == null ? void 0 : S.map(
|
|
315
|
-
(
|
|
315
|
+
(t, E) => t.href ? /* @__PURE__ */ a("div", { role: "menuitem", children: /* @__PURE__ */ i(
|
|
316
316
|
"a",
|
|
317
317
|
{
|
|
318
|
-
href:
|
|
318
|
+
href: t.href,
|
|
319
319
|
className: `${e.link} ${B === E ? e.open : ""}`,
|
|
320
|
-
target:
|
|
321
|
-
rel:
|
|
320
|
+
target: t.isExternal ? "_blank" : "_self",
|
|
321
|
+
rel: t.isExternal ? "noopener noreferrer" : void 0,
|
|
322
322
|
onClick: () => {
|
|
323
|
-
var
|
|
324
|
-
N(null), (
|
|
323
|
+
var se;
|
|
324
|
+
N(null), (se = t.onClick) == null || se.call(t);
|
|
325
325
|
},
|
|
326
326
|
onMouseEnter: () => P(E),
|
|
327
327
|
children: [
|
|
328
328
|
/* @__PURE__ */ i("span", { className: e.linkContent, children: [
|
|
329
|
-
|
|
330
|
-
|
|
329
|
+
t.label,
|
|
330
|
+
t.subtitle && /* @__PURE__ */ a("span", { className: e.subtitle, children: t.subtitle })
|
|
331
331
|
] }),
|
|
332
|
-
|
|
332
|
+
t.isExternal && /* @__PURE__ */ a(
|
|
333
333
|
Y,
|
|
334
334
|
{
|
|
335
335
|
className: e.newTabIcon,
|
|
@@ -339,17 +339,17 @@ function rn({
|
|
|
339
339
|
)
|
|
340
340
|
]
|
|
341
341
|
}
|
|
342
|
-
) },
|
|
342
|
+
) }, t._key ?? E) : /* @__PURE__ */ a("div", { role: "menuitem", children: /* @__PURE__ */ a(
|
|
343
343
|
"button",
|
|
344
344
|
{
|
|
345
345
|
className: `${e.sublinkToggle} ${B === E ? e.open : ""}`,
|
|
346
346
|
onMouseEnter: () => P(E),
|
|
347
347
|
children: /* @__PURE__ */ i("span", { className: e.linkContent, children: [
|
|
348
|
-
|
|
349
|
-
|
|
348
|
+
t.label,
|
|
349
|
+
t.subtitle && /* @__PURE__ */ a("span", { className: e.subtitle, children: t.subtitle })
|
|
350
350
|
] })
|
|
351
351
|
}
|
|
352
|
-
) },
|
|
352
|
+
) }, t._key ?? E)
|
|
353
353
|
)
|
|
354
354
|
]
|
|
355
355
|
}
|
|
@@ -362,7 +362,7 @@ function rn({
|
|
|
362
362
|
b.description && /* @__PURE__ */ a("div", { className: e.sublinksDescription, children: s == null ? void 0 : s(b.description) }),
|
|
363
363
|
U(
|
|
364
364
|
b.sublinks,
|
|
365
|
-
`${
|
|
365
|
+
`${r}-${B}`
|
|
366
366
|
)
|
|
367
367
|
]
|
|
368
368
|
},
|
|
@@ -372,7 +372,7 @@ function rn({
|
|
|
372
372
|
"div",
|
|
373
373
|
{
|
|
374
374
|
className: `${e.sublinksColumn} ${e.secondaryColumn}`,
|
|
375
|
-
children: U(l.secondaryItems, `${
|
|
375
|
+
children: U(l.secondaryItems, `${r}-secondary`)
|
|
376
376
|
}
|
|
377
377
|
),
|
|
378
378
|
l.spotlight && /* @__PURE__ */ a(
|
|
@@ -400,7 +400,7 @@ function rn({
|
|
|
400
400
|
}), xe = [
|
|
401
401
|
e.navbar,
|
|
402
402
|
qe[j],
|
|
403
|
-
Pe[
|
|
403
|
+
Pe[Q],
|
|
404
404
|
x ? e.sticky : "",
|
|
405
405
|
G ? e.scrolled : "",
|
|
406
406
|
m != null && m.length ? e.advanced : e.default,
|
|
@@ -436,7 +436,7 @@ function rn({
|
|
|
436
436
|
"svg",
|
|
437
437
|
{
|
|
438
438
|
style: { left: `${we}px` },
|
|
439
|
-
className: `${e.triangle} ${
|
|
439
|
+
className: `${e.triangle} ${T ? e.show : ""}`,
|
|
440
440
|
width: 16,
|
|
441
441
|
height: 12,
|
|
442
442
|
viewBox: "0 0 100 75",
|
|
@@ -455,7 +455,7 @@ function rn({
|
|
|
455
455
|
),
|
|
456
456
|
R === "default" && $ && /* @__PURE__ */ i("div", { className: e.grid, children: [
|
|
457
457
|
$.length > 0 && /* @__PURE__ */ a("div", { role: "menubar", className: e.menubar, children: U($) }),
|
|
458
|
-
(g || w || C) && /* @__PURE__ */ i(
|
|
458
|
+
(g || w || C) && /* @__PURE__ */ i(ce, { children: [
|
|
459
459
|
/* @__PURE__ */ a("span", { className: e.separator, "aria-hidden": "true" }),
|
|
460
460
|
/* @__PURE__ */ i(
|
|
461
461
|
"div",
|
|
@@ -464,9 +464,9 @@ function rn({
|
|
|
464
464
|
"aria-label": "Site controls",
|
|
465
465
|
className: e.toolbar,
|
|
466
466
|
children: [
|
|
467
|
-
C && /* @__PURE__ */ a(
|
|
467
|
+
C && /* @__PURE__ */ a(ae, {}),
|
|
468
468
|
g && !I && /* @__PURE__ */ a(V, {}),
|
|
469
|
-
w && /* @__PURE__ */ a(
|
|
469
|
+
w && /* @__PURE__ */ a(le, {})
|
|
470
470
|
]
|
|
471
471
|
}
|
|
472
472
|
)
|
|
@@ -474,7 +474,7 @@ function rn({
|
|
|
474
474
|
] }),
|
|
475
475
|
!I && R === "advanced" && m && /* @__PURE__ */ i("div", { className: e.grid, children: [
|
|
476
476
|
m.length > 0 && /* @__PURE__ */ a("div", { role: "menubar", className: e.menubar, children: ze(m) }),
|
|
477
|
-
(g || w || C) && /* @__PURE__ */ i(
|
|
477
|
+
(g || w || C) && /* @__PURE__ */ i(ce, { children: [
|
|
478
478
|
/* @__PURE__ */ a("span", { className: e.separator, "aria-hidden": "true" }),
|
|
479
479
|
/* @__PURE__ */ i(
|
|
480
480
|
"div",
|
|
@@ -483,9 +483,9 @@ function rn({
|
|
|
483
483
|
"aria-label": "Site controls",
|
|
484
484
|
className: e.toolbar,
|
|
485
485
|
children: [
|
|
486
|
-
C && /* @__PURE__ */ a(
|
|
486
|
+
C && /* @__PURE__ */ a(ae, {}),
|
|
487
487
|
g && /* @__PURE__ */ a(V, {}),
|
|
488
|
-
w && /* @__PURE__ */ a(
|
|
488
|
+
w && /* @__PURE__ */ a(le, {})
|
|
489
489
|
]
|
|
490
490
|
}
|
|
491
491
|
)
|
|
@@ -621,19 +621,20 @@ function rn({
|
|
|
621
621
|
className: e.utility,
|
|
622
622
|
"data-scrolled": G,
|
|
623
623
|
"aria-label": "Utility navigation",
|
|
624
|
-
children: /* @__PURE__ */ a(
|
|
624
|
+
children: /* @__PURE__ */ a(de, { spacing: "sm", children: h.map((n, l) => /* @__PURE__ */ a(
|
|
625
625
|
J,
|
|
626
626
|
{
|
|
627
627
|
as: "a",
|
|
628
628
|
size: "sm",
|
|
629
629
|
href: n.href ?? "/",
|
|
630
|
-
variant: n.variant
|
|
630
|
+
variant: n.variant ?? "primary",
|
|
631
631
|
displayType: n.displayType ?? "text",
|
|
632
632
|
imageSrc: n.imageSrc,
|
|
633
633
|
imageAlt: n.imageAlt,
|
|
634
634
|
"aria-label": n.ariaLabel,
|
|
635
635
|
icon: n.icon,
|
|
636
636
|
iconAlignment: n.iconAlignment,
|
|
637
|
+
className: Q == "transparent" && n.variant === "link" && G ? e.utilityScrolled : e.utilityDefault,
|
|
637
638
|
children: n.imageSrc ? /* @__PURE__ */ a(
|
|
638
639
|
"img",
|
|
639
640
|
{
|
|
@@ -651,7 +652,7 @@ function rn({
|
|
|
651
652
|
{
|
|
652
653
|
"aria-label": "Utility navigation",
|
|
653
654
|
className: `${e.utilityMobile} ${f ? e.open : ""}`,
|
|
654
|
-
children: /* @__PURE__ */ a(
|
|
655
|
+
children: /* @__PURE__ */ a(de, { alignment: "center", children: /* @__PURE__ */ a(
|
|
655
656
|
J,
|
|
656
657
|
{
|
|
657
658
|
as: "a",
|
|
@@ -680,9 +681,9 @@ function rn({
|
|
|
680
681
|
/* @__PURE__ */ a(
|
|
681
682
|
"button",
|
|
682
683
|
{
|
|
683
|
-
ref:
|
|
684
|
+
ref: ne,
|
|
684
685
|
className: e.menuToggle,
|
|
685
|
-
onClick:
|
|
686
|
+
onClick: ie,
|
|
686
687
|
"aria-label": f ? "Close menu" : "Open menu",
|
|
687
688
|
"aria-expanded": f,
|
|
688
689
|
"aria-controls": "main-menu",
|
|
@@ -697,5 +698,5 @@ function rn({
|
|
|
697
698
|
);
|
|
698
699
|
}
|
|
699
700
|
export {
|
|
700
|
-
|
|
701
|
+
tn as Navbar
|
|
701
702
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const f={mode:"light",primary:{10:"#e6f0ff",25:"#b3d1ff",50:"#4da3ff",75:"#0066cc",100:"#004a99",foreground:"#ffffff",rgb:"0, 74, 153"},secondary:{10:"#f2f4f7",25:"#d0d5db",50:"#6b7280",75:"#374151",100:"#111827",foreground:"#ffffff",rgb:"17, 24, 39"},text:{primary:"#111111"},button:{primary:{base:{bg:"primary.100",text:"#ffffff",hover:{bg:"primary.75",text:"#ffffff"}},inverted:{bg:"#ffffff",text:"primary.100",hover:{bg:"primary.75",text:"#ffffff"}},disabled:{bg:"primary.25",text:"secondary.25",hover:{bg:"primary.75",text:"secondary.100"}}},secondary:{base:{bg:"primary.100",text:"primary.100",hover:{bg:"primary.75",text:"#ffffff"}},inverted:{bg:"#ffffff",text:"#ffffff",hover:{bg:"primary.75",text:"#ffffff"}},disabled:{bg:"primary.25",text:"secondary.25",hover:{bg:"primary.75",text:"secondary.100"}}},blurred:{base:{bg:"
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const f={mode:"light",primary:{10:"#e6f0ff",25:"#b3d1ff",50:"#4da3ff",75:"#0066cc",100:"#004a99",foreground:"#ffffff",rgb:"0, 74, 153"},secondary:{10:"#f2f4f7",25:"#d0d5db",50:"#6b7280",75:"#374151",100:"#111827",foreground:"#ffffff",rgb:"17, 24, 39"},text:{primary:"#111111"},button:{primary:{base:{bg:"primary.100",text:"#ffffff",hover:{bg:"primary.75",text:"#ffffff"}},inverted:{bg:"#ffffff",text:"primary.100",hover:{bg:"primary.75",text:"#ffffff"}},disabled:{bg:"primary.25",text:"secondary.25",hover:{bg:"primary.75",text:"secondary.100"}}},secondary:{base:{bg:"primary.100",text:"primary.100",hover:{bg:"primary.75",text:"#ffffff"}},inverted:{bg:"#ffffff",text:"#ffffff",hover:{bg:"primary.75",text:"#ffffff"}},disabled:{bg:"primary.25",text:"secondary.25",hover:{bg:"primary.75",text:"secondary.100"}}},blurred:{base:{bg:"rgba(0, 74, 153, 0.75)",text:"#ffffff",hover:{bg:"primary.75",text:"#ffffff"}},inverted:{bg:"rgba(255, 255, 255, 0.75)",text:"primary.100",hover:{bg:"primary.100",text:"#ffffff"}},disabled:{bg:"primary.25",text:"secondary.25",hover:{bg:"primary.75",text:"secondary.100"}}}},navigation:{transparent:{links:"#111827",linksHover:"#004a99"}},carousel:{button:{background:"#d1d5db",text:"secondary.100"}},background:"#ffffff",backgroundRgb:"255, 255, 255",foreground:"#ffffff",foregroundRgb:"255, 255, 255",border:"#d1d5db",heading:"#111111",link:{base:"#004a99",hover:"#004a99",inverted:"#ffffff"},error:"#b91c1c",success:"#1e7e34",warning:"#d97706",status:{online:"#1e7e34",offline:"#6b7280",busy:"#b91c1c"},states:{muted:{bg:"#d1d5db",text:"#292A2B",hover:"#BCBFC5"},info:{bg:"#004a99",text:"#ffffff",hover:"#4da3ff"},success:{bg:"#1e7e34",text:"#ffffff",hover:"#4ade80"},error:{bg:"#b91c1c",text:"#ffffff",hover:"#f87171"},warning:{bg:"#b97706",text:"#ffffff",hover:"#facc15"}},tab:{background:"#1f2937",text:"#ffffff"}},r={...f,mode:"light"},e={mode:"dark",primary:{10:"#1a2b47",25:"#274572",50:"#336199",75:"#3d7ad1",100:"#4da3ff",foreground:"#ffffff",rgb:"77, 163, 255"},secondary:{10:"#1f2937",25:"#374151",50:"#6b7280",75:"#9ca3af",100:"#d1d5db",foreground:"#111111",rgb:"209, 213, 219"},text:{primary:"#f9fafb"},button:{primary:{base:{bg:"primary.100",text:"#ffffff",hover:{bg:"primary.75",text:"#ffffff"}},inverted:{bg:"#ffffff",text:"secondary.10",hover:{bg:"primary.75",text:"#ffffff"}},disabled:{bg:"primary.25",text:"secondary.25",hover:{bg:"primary.75",text:"secondary.100"}}},secondary:{base:{bg:"primary.100",text:"primary.100",hover:{bg:"primary.75",text:"#ffffff"}},inverted:{bg:"#ffffff",text:"#ffffff",hover:{bg:"primary.75",text:"#ffffff"}},disabled:{bg:"primary.25",text:"secondary.25",hover:{bg:"primary.75",text:"secondary.100"}}},blurred:{base:{bg:"primary.100",text:"#ffffff",hover:{bg:"primary.75",text:"#ffffff"}},inverted:{bg:"#ffffff",text:"secondary.10",hover:{bg:"primary.100",text:"#ffffff"}},disabled:{bg:"primary.25",text:"secondary.25",hover:{bg:"primary.75",text:"secondary.100"}}}},navigation:{transparent:{links:"#f9fafb",linksHover:"#4da3ff"}},carousel:{button:{background:"#d1d5db",text:"secondary.10"}},background:"#111827",backgroundRgb:"17, 24, 39",foreground:"#1f2937",foregroundRgb:"12, 26, 22",border:"#374151",heading:"#f9fafb",link:{base:"#4da3ff",hover:"#4da3ff",inverted:"secondary.100"},error:"#f87171",success:"#4ade80",warning:"#facc15",status:{online:"#1e7e34",offline:"#6b7280",busy:"#b91c1c"},states:{info:{bg:"#4da3ff",text:"#111111",hover:"#004a99"},success:{bg:"#4ade80",text:"#111111",hover:"#1e7e34"},error:{bg:"#f87171",text:"#111111",hover:"#b91c1c"},warning:{bg:"#facc15",text:"#111111",hover:"#b97706"}},tab:{background:"#f2f4f7",text:"#111111"}};exports.darkTheme=e;exports.defaultTheme=f;exports.lightTheme=r;
|
|
@@ -76,7 +76,7 @@ const f = {
|
|
|
76
76
|
},
|
|
77
77
|
blurred: {
|
|
78
78
|
base: {
|
|
79
|
-
bg: "
|
|
79
|
+
bg: "rgba(0, 74, 153, 0.75)",
|
|
80
80
|
text: "#ffffff",
|
|
81
81
|
hover: {
|
|
82
82
|
bg: "primary.75",
|
|
@@ -84,7 +84,7 @@ const f = {
|
|
|
84
84
|
}
|
|
85
85
|
},
|
|
86
86
|
inverted: {
|
|
87
|
-
bg: "
|
|
87
|
+
bg: "rgba(255, 255, 255, 0.75)",
|
|
88
88
|
text: "primary.100",
|
|
89
89
|
hover: {
|
|
90
90
|
bg: "primary.100",
|
package/package.json
CHANGED
package/dist/NavLink-CaWX-AXn.js
DELETED
|
@@ -1,159 +0,0 @@
|
|
|
1
|
-
import { jsxs as r, jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import { useRef as g, useEffect as h } from "react";
|
|
3
|
-
import { E as k } from "./external-link-BOPobeQJ.js";
|
|
4
|
-
import { C as v } from "./chevron-down-DSUzBz9F.js";
|
|
5
|
-
import './NavLink.css';const f = "_navbar_1dwl0_1", C = "_sticky_1dwl0_15", I = "_left_1dwl0_31", M = "_container_1dwl0_32", y = "_logo_1dwl0_36", T = "_nav_1dwl0_1", N = "_center_1dwl0_51", S = "_hidden_1dwl0_59", W = "_visible_1dwl0_66", x = "_right_1dwl0_81", E = "_title_1dwl0_88", D = "_linkWrapper_1dwl0_98", $ = "_parent_1dwl0_98", F = "_linkItem_1dwl0_105", L = "_link_1dwl0_98", B = "_search_1dwl0_111", R = "_locale_1dwl0_112", j = "_themeToggle_1dwl0_113", z = "_sublinkToggle_1dwl0_114", q = "_standard_1dwl0_165", A = "_triangle_1dwl0_173", G = "_twoColumn_1dwl0_202", H = "_mobileButtons_1dwl0_211", J = "_menuToggle_1dwl0_289", K = "_utilityMobile_1dwl0_307", Q = "_utility_1dwl0_307", U = "_navInner_1dwl0_335", V = "_grid_1dwl0_346", X = "_searchModal_1dwl0_369", Y = "_localeModal_1dwl0_370", Z = "_separator_1dwl0_390", O = "_newTabIcon_1dwl0_432", P = "_sublinksDescription_1dwl0_445", nn = "_linkContent_1dwl0_448", en = "_open_1dwl0_461", ln = "_back_1dwl0_485", on = "_sublinks_1dwl0_445", tn = "_show_1dwl0_534", sn = "_primaryColumn_1dwl0_583", _n = "_secondaryColumn_1dwl0_592", rn = "_spotlightColumn_1dwl0_596", an = "_sublinksInner_1dwl0_600", cn = "_sublinksColumn_1dwl0_619", dn = "_chevron_1dwl0_629", un = "_menubar_1dwl0_641", wn = "_toolbar_1dwl0_645", mn = "_advanced_1dwl0_846", bn = "_subtitle_1dwl0_855", pn = "_withSpotlight_1dwl0_897", gn = "_withoutSpotlight_1dwl0_901", hn = "_transparent_1dwl0_939", kn = "_groupDivider_1dwl0_1071", vn = "_searchWrapper_1dwl0_1079", fn = "_mobileMenu_1dwl0_1086", Cn = "_mobileMenuSlide_1dwl0_1087", In = "_mobileMenuItem_1dwl0_1097", Mn = "_fadeInFromLeft_1dwl0_1101", yn = "_fadeInFromRight_1dwl0_1105", Tn = "_spotlight_1dwl0_596", Nn = "_imageWrapper_1dwl0_1115", Sn = "_content_1dwl0_1137", Wn = "_description_1dwl0_1152", xn = "_actions_1dwl0_1156", e = {
|
|
6
|
-
navbar: f,
|
|
7
|
-
sticky: C,
|
|
8
|
-
left: I,
|
|
9
|
-
container: M,
|
|
10
|
-
logo: y,
|
|
11
|
-
nav: T,
|
|
12
|
-
center: N,
|
|
13
|
-
hidden: S,
|
|
14
|
-
visible: W,
|
|
15
|
-
right: x,
|
|
16
|
-
title: E,
|
|
17
|
-
linkWrapper: D,
|
|
18
|
-
parent: $,
|
|
19
|
-
linkItem: F,
|
|
20
|
-
link: L,
|
|
21
|
-
search: B,
|
|
22
|
-
locale: R,
|
|
23
|
-
themeToggle: j,
|
|
24
|
-
sublinkToggle: z,
|
|
25
|
-
standard: q,
|
|
26
|
-
triangle: A,
|
|
27
|
-
twoColumn: G,
|
|
28
|
-
mobileButtons: H,
|
|
29
|
-
menuToggle: J,
|
|
30
|
-
utilityMobile: K,
|
|
31
|
-
utility: Q,
|
|
32
|
-
navInner: U,
|
|
33
|
-
grid: V,
|
|
34
|
-
searchModal: X,
|
|
35
|
-
localeModal: Y,
|
|
36
|
-
separator: Z,
|
|
37
|
-
newTabIcon: O,
|
|
38
|
-
sublinksDescription: P,
|
|
39
|
-
linkContent: nn,
|
|
40
|
-
open: en,
|
|
41
|
-
back: ln,
|
|
42
|
-
sublinks: on,
|
|
43
|
-
show: tn,
|
|
44
|
-
primaryColumn: sn,
|
|
45
|
-
secondaryColumn: _n,
|
|
46
|
-
spotlightColumn: rn,
|
|
47
|
-
sublinksInner: an,
|
|
48
|
-
sublinksColumn: cn,
|
|
49
|
-
chevron: dn,
|
|
50
|
-
menubar: un,
|
|
51
|
-
toolbar: wn,
|
|
52
|
-
default: "_default_1dwl0_773",
|
|
53
|
-
advanced: mn,
|
|
54
|
-
subtitle: bn,
|
|
55
|
-
withSpotlight: pn,
|
|
56
|
-
withoutSpotlight: gn,
|
|
57
|
-
transparent: hn,
|
|
58
|
-
groupDivider: kn,
|
|
59
|
-
searchWrapper: vn,
|
|
60
|
-
mobileMenu: fn,
|
|
61
|
-
mobileMenuSlide: Cn,
|
|
62
|
-
mobileMenuItem: In,
|
|
63
|
-
fadeInFromLeft: Mn,
|
|
64
|
-
fadeInFromRight: yn,
|
|
65
|
-
spotlight: Tn,
|
|
66
|
-
imageWrapper: Nn,
|
|
67
|
-
content: Sn,
|
|
68
|
-
description: Wn,
|
|
69
|
-
actions: xn
|
|
70
|
-
};
|
|
71
|
-
function Ln({
|
|
72
|
-
link: n,
|
|
73
|
-
path: l,
|
|
74
|
-
parentPath: a,
|
|
75
|
-
openPath: m,
|
|
76
|
-
togglePath: c,
|
|
77
|
-
updateTriangleIndicator: b,
|
|
78
|
-
setOpenPath: s,
|
|
79
|
-
renderLinks: p,
|
|
80
|
-
buttonRefs: _
|
|
81
|
-
}) {
|
|
82
|
-
var u;
|
|
83
|
-
const i = m === l, t = !!((u = n.sublinks) != null && u.length), d = g(null);
|
|
84
|
-
return h(() => (_.current.set(l, d.current), () => {
|
|
85
|
-
_.current.delete(l);
|
|
86
|
-
}), [l, _]), /* @__PURE__ */ r(
|
|
87
|
-
"div",
|
|
88
|
-
{
|
|
89
|
-
role: "menuitem",
|
|
90
|
-
className: `${e.linkWrapper} ${a ? "" : e.parent}`,
|
|
91
|
-
children: [
|
|
92
|
-
/* @__PURE__ */ o("div", { className: e.linkItem, children: n.href ? /* @__PURE__ */ r(
|
|
93
|
-
"a",
|
|
94
|
-
{
|
|
95
|
-
href: n.href,
|
|
96
|
-
className: e.link,
|
|
97
|
-
target: n.isExternal ? "_blank" : "_self",
|
|
98
|
-
rel: n.isExternal ? "noopener noreferrer" : void 0,
|
|
99
|
-
onClick: () => {
|
|
100
|
-
var w;
|
|
101
|
-
s(null), (w = n.onClick) == null || w.call(n);
|
|
102
|
-
},
|
|
103
|
-
onMouseEnter: () => {
|
|
104
|
-
a || s(null);
|
|
105
|
-
},
|
|
106
|
-
children: [
|
|
107
|
-
n.label,
|
|
108
|
-
n.isExternal && /* @__PURE__ */ o(
|
|
109
|
-
k,
|
|
110
|
-
{
|
|
111
|
-
className: e.newTabIcon,
|
|
112
|
-
size: 16,
|
|
113
|
-
"aria-hidden": "true"
|
|
114
|
-
}
|
|
115
|
-
)
|
|
116
|
-
]
|
|
117
|
-
}
|
|
118
|
-
) : /* @__PURE__ */ r(
|
|
119
|
-
"button",
|
|
120
|
-
{
|
|
121
|
-
ref: d,
|
|
122
|
-
"aria-haspopup": t ? !0 : void 0,
|
|
123
|
-
"aria-expanded": t ? i : void 0,
|
|
124
|
-
className: `${e.sublinkToggle} ${i ? e.open : ""}`,
|
|
125
|
-
onClick: () => c(l),
|
|
126
|
-
onMouseEnter: () => {
|
|
127
|
-
b(l), s(l);
|
|
128
|
-
},
|
|
129
|
-
children: [
|
|
130
|
-
n.label,
|
|
131
|
-
t && /* @__PURE__ */ o(
|
|
132
|
-
v,
|
|
133
|
-
{
|
|
134
|
-
size: 18,
|
|
135
|
-
className: e.chevron,
|
|
136
|
-
"aria-hidden": "true"
|
|
137
|
-
}
|
|
138
|
-
)
|
|
139
|
-
]
|
|
140
|
-
}
|
|
141
|
-
) }),
|
|
142
|
-
t && /* @__PURE__ */ o(
|
|
143
|
-
"div",
|
|
144
|
-
{
|
|
145
|
-
className: `${e.sublinks} ${i ? e.show : ""}`,
|
|
146
|
-
onMouseLeave: () => c(l),
|
|
147
|
-
role: "menu",
|
|
148
|
-
"aria-label": `${n.label} submenu`,
|
|
149
|
-
children: /* @__PURE__ */ o("div", { children: /* @__PURE__ */ o("div", { className: e.sublinksInner, children: /* @__PURE__ */ o("div", { className: e.sublinksColumn, children: p(n.sublinks, l) }) }) })
|
|
150
|
-
}
|
|
151
|
-
)
|
|
152
|
-
]
|
|
153
|
-
}
|
|
154
|
-
);
|
|
155
|
-
}
|
|
156
|
-
export {
|
|
157
|
-
Ln as N,
|
|
158
|
-
e as s
|
|
159
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";require('./NavLink.css');const l=require("react/jsx-runtime"),w=require("react"),h=require("./external-link-DDShu-48.cjs"),p=require("./chevron-down-DfK1XBl3.cjs"),k="_navbar_1dwl0_1",v="_sticky_1dwl0_15",f="_left_1dwl0_31",I="_container_1dwl0_32",C="_logo_1dwl0_36",M="_nav_1dwl0_1",y="_center_1dwl0_51",x="_hidden_1dwl0_59",T="_visible_1dwl0_66",N="_right_1dwl0_81",j="_title_1dwl0_88",S="_linkWrapper_1dwl0_98",W="_parent_1dwl0_98",$="_linkItem_1dwl0_105",D="_link_1dwl0_98",L="_search_1dwl0_111",E="_locale_1dwl0_112",F="_themeToggle_1dwl0_113",q="_sublinkToggle_1dwl0_114",R="_standard_1dwl0_165",B="_triangle_1dwl0_173",z="_twoColumn_1dwl0_202",A="_mobileButtons_1dwl0_211",G="_menuToggle_1dwl0_289",H="_utilityMobile_1dwl0_307",J="_utility_1dwl0_307",K="_navInner_1dwl0_335",Q="_grid_1dwl0_346",U="_searchModal_1dwl0_369",V="_localeModal_1dwl0_370",X="_separator_1dwl0_390",Y="_newTabIcon_1dwl0_432",Z="_sublinksDescription_1dwl0_445",O="_linkContent_1dwl0_448",P="_open_1dwl0_461",nn="_back_1dwl0_485",en="_sublinks_1dwl0_445",ln="_show_1dwl0_534",on="_primaryColumn_1dwl0_583",tn="_secondaryColumn_1dwl0_592",sn="_spotlightColumn_1dwl0_596",_n="_sublinksInner_1dwl0_600",rn="_sublinksColumn_1dwl0_619",cn="_chevron_1dwl0_629",an="_menubar_1dwl0_641",dn="_toolbar_1dwl0_645",un="_advanced_1dwl0_846",wn="_subtitle_1dwl0_855",mn="_withSpotlight_1dwl0_897",bn="_withoutSpotlight_1dwl0_901",gn="_transparent_1dwl0_939",hn="_groupDivider_1dwl0_1071",pn="_searchWrapper_1dwl0_1079",kn="_mobileMenu_1dwl0_1086",vn="_mobileMenuSlide_1dwl0_1087",fn="_mobileMenuItem_1dwl0_1097",In="_fadeInFromLeft_1dwl0_1101",Cn="_fadeInFromRight_1dwl0_1105",Mn="_spotlight_1dwl0_596",yn="_imageWrapper_1dwl0_1115",xn="_content_1dwl0_1137",Tn="_description_1dwl0_1152",Nn="_actions_1dwl0_1156",e={navbar:k,sticky:v,left:f,container:I,logo:C,nav:M,center:y,hidden:x,visible:T,right:N,title:j,linkWrapper:S,parent:W,linkItem:$,link:D,search:L,locale:E,themeToggle:F,sublinkToggle:q,standard:R,triangle:B,twoColumn:z,mobileButtons:A,menuToggle:G,utilityMobile:H,utility:J,navInner:K,grid:Q,searchModal:U,localeModal:V,separator:X,newTabIcon:Y,sublinksDescription:Z,linkContent:O,open:P,back:nn,sublinks:en,show:ln,primaryColumn:on,secondaryColumn:tn,spotlightColumn:sn,sublinksInner:_n,sublinksColumn:rn,chevron:cn,menubar:an,toolbar:dn,default:"_default_1dwl0_773",advanced:un,subtitle:wn,withSpotlight:mn,withoutSpotlight:bn,transparent:gn,groupDivider:hn,searchWrapper:pn,mobileMenu:kn,mobileMenuSlide:vn,mobileMenuItem:fn,fadeInFromLeft:In,fadeInFromRight:Cn,spotlight:Mn,imageWrapper:yn,content:xn,description:Tn,actions:Nn};function jn({link:n,path:o,parentPath:r,openPath:m,togglePath:c,updateTriangleIndicator:b,setOpenPath:s,renderLinks:g,buttonRefs:_}){var d;const i=m===o,t=!!((d=n.sublinks)!=null&&d.length),a=w.useRef(null);return w.useEffect(()=>(_.current.set(o,a.current),()=>{_.current.delete(o)}),[o,_]),l.jsxs("div",{role:"menuitem",className:`${e.linkWrapper} ${r?"":e.parent}`,children:[l.jsx("div",{className:e.linkItem,children:n.href?l.jsxs("a",{href:n.href,className:e.link,target:n.isExternal?"_blank":"_self",rel:n.isExternal?"noopener noreferrer":void 0,onClick:()=>{var u;s(null),(u=n.onClick)==null||u.call(n)},onMouseEnter:()=>{r||s(null)},children:[n.label,n.isExternal&&l.jsx(h.ExternalLink,{className:e.newTabIcon,size:16,"aria-hidden":"true"})]}):l.jsxs("button",{ref:a,"aria-haspopup":t?!0:void 0,"aria-expanded":t?i:void 0,className:`${e.sublinkToggle} ${i?e.open:""}`,onClick:()=>c(o),onMouseEnter:()=>{b(o),s(o)},children:[n.label,t&&l.jsx(p.ChevronDown,{size:18,className:e.chevron,"aria-hidden":"true"})]})}),t&&l.jsx("div",{className:`${e.sublinks} ${i?e.show:""}`,onMouseLeave:()=>c(o),role:"menu","aria-label":`${n.label} submenu`,children:l.jsx("div",{children:l.jsx("div",{className:e.sublinksInner,children:l.jsx("div",{className:e.sublinksColumn,children:g(n.sublinks,o)})})})})]})}exports.NavLink=jn;exports.styles=e;
|