quirk-ui 0.1.161 → 0.1.162
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/FormField-3bxRYA4w.cjs +1 -0
- package/dist/{FormField-DMKvp-Na.js → FormField-UFRNSSdw.js} +73 -73
- package/dist/FormField.css +1 -1
- package/dist/HeroSubComponents-DU_zRp5K.cjs +6 -0
- package/dist/{HeroSubComponents-BGkwbcKC.js → HeroSubComponents-tXOYToa8.js} +57 -57
- package/dist/HeroSubComponents.css +1 -1
- package/dist/core/components/Textarea/index.cjs +1 -1
- package/dist/core/components/Textarea/index.mjs +73 -73
- package/dist/index40.css +1 -1
- package/dist/index5.css +1 -1
- package/dist/index6.css +1 -1
- package/dist/next/blocks/CarouselBlock/index.cjs +1 -1
- package/dist/next/blocks/CarouselBlock/index.mjs +64 -59
- package/dist/next/blocks/ContentBlock/index.cjs +1 -1
- package/dist/next/blocks/ContentBlock/index.mjs +79 -75
- package/dist/next/blocks/FormBlock/FormField.cjs +1 -1
- package/dist/next/blocks/FormBlock/FormField.mjs +1 -1
- package/dist/next/blocks/FormBlock/index.cjs +1 -1
- package/dist/next/blocks/FormBlock/index.mjs +1 -1
- package/dist/next/blocks/HeroBlock/HeroSubComponents.cjs +1 -1
- package/dist/next/blocks/HeroBlock/HeroSubComponents.mjs +1 -1
- package/dist/next/blocks/HeroBlock/HeroSubComponents.test.cjs +1 -1
- package/dist/next/blocks/HeroBlock/HeroSubComponents.test.mjs +1 -1
- package/dist/next/blocks/HeroBlock/index.cjs +1 -1
- package/dist/next/blocks/HeroBlock/index.mjs +84 -80
- package/package.json +1 -1
- package/dist/FormField-BPAhK8ty.cjs +0 -1
- package/dist/HeroSubComponents-DzbDRtdk.cjs +0 -6
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";require('./FormField.css');const l=require("react/jsx-runtime"),v=require("./core/components/Input/index.cjs"),q=require("./core/components/Textarea/index.cjs"),_=require("./core/components/Select/index.cjs"),b=require("./core/components/Checkbox/index.cjs"),T=require("./core/components/Radio/index.cjs"),h=require("./core/components/Fieldset/index.cjs"),k=require("./core/components/DatePicker/index.cjs"),W=require("./core/components/Range/index.cjs"),F="_formBlock_1jbl0_1",C="_container_1jbl0_7",w="_formInner_1jbl0_20",L="_maxWidthSm_1jbl0_26",y="_maxWidthMd_1jbl0_29",S="_maxWidthLg_1jbl0_32",B="_maxWidthFull_1jbl0_35",$="_heading_1jbl0_41",H="_eyebrow_1jbl0_47",G="_title_1jbl0_51",I="_disclaimer_1jbl0_55",M="_progress_1jbl0_61",D="_progressHeader_1jbl0_67",O="_stepLabel_1jbl0_73",P="_stepCount_1jbl0_79",R="_stepDescription_1jbl0_84",V="_fields_1jbl0_92",f="_fieldFull_1jbl0_99",N="_fieldHalf_1jbl0_103",z="_fieldThird_1jbl0_111",A="_actions_1jbl0_121",E="_submitButton_1jbl0_128",J="_success_1jbl0_134",K="_errorBanner_1jbl0_149",u={formBlock:F,container:C,formInner:w,maxWidthSm:L,maxWidthMd:y,maxWidthLg:S,maxWidthFull:B,heading:$,eyebrow:H,title:G,disclaimer:I,progress:M,progressHeader:D,stepLabel:O,stepCount:P,stepDescription:R,fields:V,fieldFull:f,fieldHalf:N,fieldThird:z,actions:A,submitButton:E,success:J,errorBanner:K};function i(e){return(e??[]).map(n=>({label:n.label,value:n.value.current,disabled:n.disabled}))}function p(e){return(e??[]).map(n=>({label:n.label,options:n.options.map(s=>({label:s.label,value:s.value.current,disabled:s.disabled}))}))}function Q({field:e,value:n,error:s,onChange:o}){const r=e.name.current,m={full:u.fieldFull,half:u.fieldHalf,third:u.fieldThird}[e.width??"full"],c={id:r,name:r,label:e.label,required:e.required,disabled:e.disabled,helperText:e.helperText,error:s},d=()=>{switch(e.fieldType){case"text":case"email":case"phone":case"number":case"url":return l.jsx(v.Input,{...c,type:e.fieldType==="phone"?"tel":e.fieldType,placeholder:e.placeholder,value:n??"",minLength:e.minLength,maxLength:e.maxLength,fullWidth:!0,onChange:t=>o(r,t.target.value)});case"textarea":return l.jsx(q.Textarea,{...c,placeholder:e.placeholder,value:n??"",rows:e.rows??4,maxLength:e.maxLength,showCharCount:e.showCharCount,fullWidth:!0,onChange:t=>o(r,t.target.value)});case"select":{const t=e.useOptionGroups?p(e.optionGroups):i(e.options);return l.jsx(_.Select,{...c,placeholder:e.placeholder,options:t,value:n??"",fullWidth:!0,onChange:a=>o(r,a.target.value)})}case"multiselect":{const t=e.useOptionGroups?p(e.optionGroups):i(e.options);return l.jsx(_.Select,{...c,multiple:!0,options:t,value:n??[],showSelectedCount:!0,onChange:a=>o(r,a)})}case"checkbox":return l.jsx(b.Checkbox,{id:c.id,name:c.name,label:e.label,required:e.required,disabled:e.disabled,helperText:s??e.helperText,error:!!s,checked:n??!1,onChange:t=>o(r,t.target.checked)});case"checkboxGroup":{const t=n??[];return l.jsx(h.Fieldset,{legend:e.label,error:!!s,helperText:s,children:i(e.options).map(a=>l.jsx(b.Checkbox,{id:`${r}-${a.value}`,name:`${r}[]`,label:a.label,checked:t.includes(a.value),disabled:a.disabled||e.disabled,onChange:x=>{const j=x.target.checked?[...t,a.value]:t.filter(g=>g!==a.value);o(r,j)}},a.value))})}case"radio":return l.jsx(h.Fieldset,{legend:e.label,error:!!s,helperText:s,children:i(e.options).map(t=>l.jsx(T.Radio,{id:`${r}-${t.value}`,name:r,value:t.value,label:t.label,checked:n===t.value,disabled:t.disabled||e.disabled,required:e.required,onChange:()=>o(r,t.value)},t.value))});case"date":return l.jsx(k.DatePicker,{id:c.id,name:c.name,label:e.label,required:e.required,disabled:e.disabled,helperText:s??e.helperText,error:!!s,value:n??null,onChange:t=>o(r,t)});case"range":return l.jsx(W.Range,{...c,value:n??e.rangeMin??0,min:e.rangeMin??0,max:e.rangeMax??100,step:e.rangeStep??1,valuePrefix:e.rangeValuePrefix,valueSuffix:e.rangeValueSuffix,showValue:!0,onChange:t=>o(r,t)});case"hidden":return l.jsx("input",{type:"hidden",name:r,value:n??e.hiddenValue??""});default:return null}};return e.fieldType==="hidden"?d():l.jsx("div",{className:`${m}`,children:d()})}exports.FormField=Q;exports.styles=u;
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import { Input as v } from "./core/components/Input/index.mjs";
|
|
3
3
|
import { Textarea as T } from "./core/components/Textarea/index.mjs";
|
|
4
|
-
import { Select as
|
|
5
|
-
import { Checkbox as
|
|
4
|
+
import { Select as m } from "./core/components/Select/index.mjs";
|
|
5
|
+
import { Checkbox as _ } from "./core/components/Checkbox/index.mjs";
|
|
6
6
|
import { Radio as W } from "./core/components/Radio/index.mjs";
|
|
7
|
-
import { Fieldset as
|
|
7
|
+
import { Fieldset as b } from "./core/components/Fieldset/index.mjs";
|
|
8
8
|
import { DatePicker as f } from "./core/components/DatePicker/index.mjs";
|
|
9
9
|
import { Range as k } from "./core/components/Range/index.mjs";
|
|
10
|
-
import './FormField.css';const w = "
|
|
10
|
+
import './FormField.css';const w = "_formBlock_1jbl0_1", L = "_container_1jbl0_7", C = "_formInner_1jbl0_20", F = "_maxWidthSm_1jbl0_26", y = "_maxWidthMd_1jbl0_29", B = "_maxWidthLg_1jbl0_32", q = "_maxWidthFull_1jbl0_35", S = "_heading_1jbl0_41", H = "_eyebrow_1jbl0_47", G = "_title_1jbl0_51", M = "_disclaimer_1jbl0_55", $ = "_progress_1jbl0_61", I = "_progressHeader_1jbl0_67", D = "_stepLabel_1jbl0_73", O = "_stepCount_1jbl0_79", V = "_stepDescription_1jbl0_84", P = "_fields_1jbl0_92", R = "_fieldFull_1jbl0_99", N = "_fieldHalf_1jbl0_103", z = "_fieldThird_1jbl0_111", A = "_actions_1jbl0_121", E = "_submitButton_1jbl0_128", J = "_success_1jbl0_134", K = "_errorBanner_1jbl0_149", u = {
|
|
11
11
|
formBlock: w,
|
|
12
12
|
container: L,
|
|
13
13
|
formInner: C,
|
|
14
14
|
maxWidthSm: F,
|
|
15
15
|
maxWidthMd: y,
|
|
16
16
|
maxWidthLg: B,
|
|
17
|
-
maxWidthFull:
|
|
18
|
-
heading:
|
|
19
|
-
eyebrow:
|
|
20
|
-
title:
|
|
21
|
-
disclaimer:
|
|
22
|
-
progress:
|
|
23
|
-
progressHeader:
|
|
24
|
-
stepLabel:
|
|
25
|
-
stepCount:
|
|
26
|
-
stepDescription:
|
|
27
|
-
fields:
|
|
28
|
-
fieldFull:
|
|
17
|
+
maxWidthFull: q,
|
|
18
|
+
heading: S,
|
|
19
|
+
eyebrow: H,
|
|
20
|
+
title: G,
|
|
21
|
+
disclaimer: M,
|
|
22
|
+
progress: $,
|
|
23
|
+
progressHeader: I,
|
|
24
|
+
stepLabel: D,
|
|
25
|
+
stepCount: O,
|
|
26
|
+
stepDescription: V,
|
|
27
|
+
fields: P,
|
|
28
|
+
fieldFull: R,
|
|
29
29
|
fieldHalf: N,
|
|
30
30
|
fieldThird: z,
|
|
31
31
|
actions: A,
|
|
@@ -40,30 +40,30 @@ function c(e) {
|
|
|
40
40
|
disabled: r.disabled
|
|
41
41
|
}));
|
|
42
42
|
}
|
|
43
|
-
function
|
|
43
|
+
function h(e) {
|
|
44
44
|
return (e ?? []).map((r) => ({
|
|
45
45
|
label: r.label,
|
|
46
|
-
options: r.options.map((
|
|
47
|
-
label:
|
|
48
|
-
value:
|
|
49
|
-
disabled:
|
|
46
|
+
options: r.options.map((l) => ({
|
|
47
|
+
label: l.label,
|
|
48
|
+
value: l.value.current,
|
|
49
|
+
disabled: l.disabled
|
|
50
50
|
}))
|
|
51
51
|
}));
|
|
52
52
|
}
|
|
53
|
-
function
|
|
54
|
-
const a = e.name.current,
|
|
53
|
+
function le({ field: e, value: r, error: l, onChange: o }) {
|
|
54
|
+
const a = e.name.current, p = {
|
|
55
55
|
full: u.fieldFull,
|
|
56
56
|
half: u.fieldHalf,
|
|
57
57
|
third: u.fieldThird
|
|
58
|
-
}[e.width ?? "full"],
|
|
58
|
+
}[e.width ?? "full"], i = {
|
|
59
59
|
id: a,
|
|
60
60
|
name: a,
|
|
61
61
|
label: e.label,
|
|
62
62
|
required: e.required,
|
|
63
63
|
disabled: e.disabled,
|
|
64
64
|
helperText: e.helperText,
|
|
65
|
-
error:
|
|
66
|
-
},
|
|
65
|
+
error: l
|
|
66
|
+
}, d = () => {
|
|
67
67
|
switch (e.fieldType) {
|
|
68
68
|
// ── Text-based inputs ──────────────────────────────────────────────
|
|
69
69
|
case "text":
|
|
@@ -71,102 +71,102 @@ function ne({ field: e, value: r, error: n, onChange: i }) {
|
|
|
71
71
|
case "phone":
|
|
72
72
|
case "number":
|
|
73
73
|
case "url":
|
|
74
|
-
return /* @__PURE__ */
|
|
74
|
+
return /* @__PURE__ */ n(
|
|
75
75
|
v,
|
|
76
76
|
{
|
|
77
|
-
...
|
|
77
|
+
...i,
|
|
78
78
|
type: e.fieldType === "phone" ? "tel" : e.fieldType,
|
|
79
79
|
placeholder: e.placeholder,
|
|
80
80
|
value: r ?? "",
|
|
81
81
|
minLength: e.minLength,
|
|
82
82
|
maxLength: e.maxLength,
|
|
83
83
|
fullWidth: !0,
|
|
84
|
-
onChange: (t) =>
|
|
84
|
+
onChange: (t) => o(a, t.target.value)
|
|
85
85
|
}
|
|
86
86
|
);
|
|
87
87
|
// ── Textarea ───────────────────────────────────────────────────────
|
|
88
88
|
case "textarea":
|
|
89
|
-
return /* @__PURE__ */
|
|
89
|
+
return /* @__PURE__ */ n(
|
|
90
90
|
T,
|
|
91
91
|
{
|
|
92
|
-
...
|
|
92
|
+
...i,
|
|
93
93
|
placeholder: e.placeholder,
|
|
94
94
|
value: r ?? "",
|
|
95
95
|
rows: e.rows ?? 4,
|
|
96
96
|
maxLength: e.maxLength,
|
|
97
97
|
showCharCount: e.showCharCount,
|
|
98
98
|
fullWidth: !0,
|
|
99
|
-
onChange: (t) =>
|
|
99
|
+
onChange: (t) => o(a, t.target.value)
|
|
100
100
|
}
|
|
101
101
|
);
|
|
102
102
|
// ── Select ─────────────────────────────────────────────────────────
|
|
103
103
|
case "select": {
|
|
104
|
-
const t = e.useOptionGroups ?
|
|
105
|
-
return /* @__PURE__ */
|
|
106
|
-
|
|
104
|
+
const t = e.useOptionGroups ? h(e.optionGroups) : c(e.options);
|
|
105
|
+
return /* @__PURE__ */ n(
|
|
106
|
+
m,
|
|
107
107
|
{
|
|
108
|
-
...
|
|
108
|
+
...i,
|
|
109
109
|
placeholder: e.placeholder,
|
|
110
110
|
options: t,
|
|
111
111
|
value: r ?? "",
|
|
112
112
|
fullWidth: !0,
|
|
113
|
-
onChange: (
|
|
113
|
+
onChange: (s) => o(a, s.target.value)
|
|
114
114
|
}
|
|
115
115
|
);
|
|
116
116
|
}
|
|
117
117
|
// ── Multi-select ───────────────────────────────────────────────────
|
|
118
118
|
case "multiselect": {
|
|
119
|
-
const t = e.useOptionGroups ?
|
|
120
|
-
return /* @__PURE__ */
|
|
121
|
-
|
|
119
|
+
const t = e.useOptionGroups ? h(e.optionGroups) : c(e.options);
|
|
120
|
+
return /* @__PURE__ */ n(
|
|
121
|
+
m,
|
|
122
122
|
{
|
|
123
|
-
...
|
|
123
|
+
...i,
|
|
124
124
|
multiple: !0,
|
|
125
125
|
options: t,
|
|
126
126
|
value: r ?? [],
|
|
127
127
|
showSelectedCount: !0,
|
|
128
|
-
onChange: (
|
|
128
|
+
onChange: (s) => o(a, s)
|
|
129
129
|
}
|
|
130
130
|
);
|
|
131
131
|
}
|
|
132
132
|
// ── Single checkbox ────────────────────────────────────────────────
|
|
133
133
|
case "checkbox":
|
|
134
|
-
return /* @__PURE__ */
|
|
135
|
-
|
|
134
|
+
return /* @__PURE__ */ n(
|
|
135
|
+
_,
|
|
136
136
|
{
|
|
137
|
-
id:
|
|
138
|
-
name:
|
|
137
|
+
id: i.id,
|
|
138
|
+
name: i.name,
|
|
139
139
|
label: e.label,
|
|
140
140
|
required: e.required,
|
|
141
141
|
disabled: e.disabled,
|
|
142
|
-
helperText:
|
|
143
|
-
error: !!
|
|
142
|
+
helperText: l ?? e.helperText,
|
|
143
|
+
error: !!l,
|
|
144
144
|
checked: r ?? !1,
|
|
145
|
-
onChange: (t) =>
|
|
145
|
+
onChange: (t) => o(a, t.target.checked)
|
|
146
146
|
}
|
|
147
147
|
);
|
|
148
148
|
// ── Checkbox group ─────────────────────────────────────────────────
|
|
149
149
|
case "checkboxGroup": {
|
|
150
150
|
const t = r ?? [];
|
|
151
|
-
return /* @__PURE__ */
|
|
152
|
-
|
|
151
|
+
return /* @__PURE__ */ n(b, { legend: e.label, error: !!l, helperText: l, children: c(e.options).map((s) => /* @__PURE__ */ n(
|
|
152
|
+
_,
|
|
153
153
|
{
|
|
154
|
-
id: `${a}-${
|
|
154
|
+
id: `${a}-${s.value}`,
|
|
155
155
|
name: `${a}[]`,
|
|
156
|
-
label:
|
|
157
|
-
checked: t.includes(
|
|
158
|
-
disabled:
|
|
156
|
+
label: s.label,
|
|
157
|
+
checked: t.includes(s.value),
|
|
158
|
+
disabled: s.disabled || e.disabled,
|
|
159
159
|
onChange: (x) => {
|
|
160
|
-
const g = x.target.checked ? [...t,
|
|
161
|
-
|
|
160
|
+
const g = x.target.checked ? [...t, s.value] : t.filter((j) => j !== s.value);
|
|
161
|
+
o(a, g);
|
|
162
162
|
}
|
|
163
163
|
},
|
|
164
|
-
|
|
164
|
+
s.value
|
|
165
165
|
)) });
|
|
166
166
|
}
|
|
167
167
|
// ── Radio group ────────────────────────────────────────────────────
|
|
168
168
|
case "radio":
|
|
169
|
-
return /* @__PURE__ */
|
|
169
|
+
return /* @__PURE__ */ n(b, { legend: e.label, error: !!l, helperText: l, children: c(e.options).map((t) => /* @__PURE__ */ n(
|
|
170
170
|
W,
|
|
171
171
|
{
|
|
172
172
|
id: `${a}-${t.value}`,
|
|
@@ -176,32 +176,32 @@ function ne({ field: e, value: r, error: n, onChange: i }) {
|
|
|
176
176
|
checked: r === t.value,
|
|
177
177
|
disabled: t.disabled || e.disabled,
|
|
178
178
|
required: e.required,
|
|
179
|
-
onChange: () =>
|
|
179
|
+
onChange: () => o(a, t.value)
|
|
180
180
|
},
|
|
181
181
|
t.value
|
|
182
182
|
)) });
|
|
183
183
|
// ── Date picker ────────────────────────────────────────────────────
|
|
184
184
|
case "date":
|
|
185
|
-
return /* @__PURE__ */
|
|
185
|
+
return /* @__PURE__ */ n(
|
|
186
186
|
f,
|
|
187
187
|
{
|
|
188
|
-
id:
|
|
189
|
-
name:
|
|
188
|
+
id: i.id,
|
|
189
|
+
name: i.name,
|
|
190
190
|
label: e.label,
|
|
191
191
|
required: e.required,
|
|
192
192
|
disabled: e.disabled,
|
|
193
|
-
helperText:
|
|
194
|
-
error: !!
|
|
193
|
+
helperText: l ?? e.helperText,
|
|
194
|
+
error: !!l,
|
|
195
195
|
value: r ?? null,
|
|
196
|
-
onChange: (t) =>
|
|
196
|
+
onChange: (t) => o(a, t)
|
|
197
197
|
}
|
|
198
198
|
);
|
|
199
199
|
// ── Range ──────────────────────────────────────────────────────────
|
|
200
200
|
case "range":
|
|
201
|
-
return /* @__PURE__ */
|
|
201
|
+
return /* @__PURE__ */ n(
|
|
202
202
|
k,
|
|
203
203
|
{
|
|
204
|
-
...
|
|
204
|
+
...i,
|
|
205
205
|
value: r ?? e.rangeMin ?? 0,
|
|
206
206
|
min: e.rangeMin ?? 0,
|
|
207
207
|
max: e.rangeMax ?? 100,
|
|
@@ -209,12 +209,12 @@ function ne({ field: e, value: r, error: n, onChange: i }) {
|
|
|
209
209
|
valuePrefix: e.rangeValuePrefix,
|
|
210
210
|
valueSuffix: e.rangeValueSuffix,
|
|
211
211
|
showValue: !0,
|
|
212
|
-
onChange: (t) =>
|
|
212
|
+
onChange: (t) => o(a, t)
|
|
213
213
|
}
|
|
214
214
|
);
|
|
215
215
|
// ── Hidden ─────────────────────────────────────────────────────────
|
|
216
216
|
case "hidden":
|
|
217
|
-
return /* @__PURE__ */
|
|
217
|
+
return /* @__PURE__ */ n(
|
|
218
218
|
"input",
|
|
219
219
|
{
|
|
220
220
|
type: "hidden",
|
|
@@ -226,9 +226,9 @@ function ne({ field: e, value: r, error: n, onChange: i }) {
|
|
|
226
226
|
return null;
|
|
227
227
|
}
|
|
228
228
|
};
|
|
229
|
-
return e.fieldType === "hidden" ?
|
|
229
|
+
return e.fieldType === "hidden" ? d() : /* @__PURE__ */ n("div", { className: `${p}`, children: d() });
|
|
230
230
|
}
|
|
231
231
|
export {
|
|
232
|
-
|
|
232
|
+
le as F,
|
|
233
233
|
u as s
|
|
234
234
|
};
|
package/dist/FormField.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._formBlock_1jbl0_1{width:100%;padding-top:var(--spacing-xl);padding-bottom:var(--spacing-xl)}._container_1jbl0_7{width:100%;max-width:var(--layout-width, 1250px);margin:0 auto;padding-left:var(--spacing-md);padding-right:var(--spacing-md);display:flex;flex-direction:column;gap:var(--spacing-lg)}._formInner_1jbl0_20{width:100%;margin-left:auto;margin-right:auto}._maxWidthSm_1jbl0_26{max-width:480px}._maxWidthMd_1jbl0_29{max-width:640px}._maxWidthLg_1jbl0_32{max-width:800px}._maxWidthFull_1jbl0_35{max-width:100%}._heading_1jbl0_41{display:flex;flex-direction:column;gap:var(--spacing-sm)}._eyebrow_1jbl0_47{font-weight:var(--font-weight-bold)}._title_1jbl0_51{text-wrap:balance}._disclaimer_1jbl0_55{font-size:var(--font-size-sm)}._progress_1jbl0_61{display:flex;flex-direction:column;gap:var(--spacing-sm)}._progressHeader_1jbl0_67{display:flex;justify-content:space-between;align-items:center}._stepLabel_1jbl0_73{font-weight:var(--font-weight-semibold);font-size:var(--font-size-md);color:var(--color-text-primary)}._stepCount_1jbl0_79{font-size:var(--font-size-sm);color:var(--color-secondary-50)}._stepDescription_1jbl0_84{color:var(--color-secondary-75);font-size:var(--font-size-md);margin:0}._fields_1jbl0_92{display:flex;flex-wrap:wrap;gap:var(--spacing-md)}._fieldFull_1jbl0_99{width:100%}._fieldHalf_1jbl0_103{width:calc(50% - var(--spacing-md) / 2)}@media (max-width: 767px){._fieldHalf_1jbl0_103{width:100%}}._fieldThird_1jbl0_111{width:calc(33.333% - var(--spacing-md) * 2 / 3)}@media (max-width: 767px){._fieldThird_1jbl0_111{width:100%}}._actions_1jbl0_121{display:flex;align-items:center;gap:var(--spacing-md);padding-top:var(--spacing-sm)}._submitButton_1jbl0_128{margin-left:auto}._success_1jbl0_134{display:flex;flex-direction:column;align-items:flex-start;gap:var(--spacing-lg);padding:var(--spacing-md) 0 0}._success_1jbl0_134 p{color:var(--color-states-success-bg);font-weight:var(--font-weight-semibold)}._errorBanner_1jbl0_149{padding:var(--spacing-md);background-color:var(--color-states-error-bg);color:var(--color-states-error-text);border-radius:var(--radius-md);font-size:var(--font-size-sm)}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";require('./HeroSubComponents.css');const t=require("react/jsx-runtime"),l=require("react"),f=require("./next/utils/mediaUtils.cjs"),y=require("./createLucideIcon-DpotSgUx.cjs"),x=require("./play-CQBnZgNa.cjs");/**
|
|
2
|
+
* @license lucide-react v0.488.0 - ISC
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the ISC license.
|
|
5
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/const b=[["rect",{x:"14",y:"4",width:"4",height:"16",rx:"1",key:"zuxfzm"}],["rect",{x:"6",y:"4",width:"4",height:"16",rx:"1",key:"1okwgv"}]],g=y.createLucideIcon("pause",b),z="_hero_1fz0v_1",j="_container_1fz0v_7",w="_heading_1fz0v_15",C="_text_1fz0v_22",N="_eyebrow_1fz0v_37",k="_disclaimer_1fz0v_41",B="_articleDetails_1fz0v_52",V="_articleType_1fz0v_65",I="_articleCategories_1fz0v_79",E="_category_1fz0v_85",q="_number_1fz0v_101",T="_blog_1fz0v_128",H="_overlay_1fz0v_154",R="_tile_1fz0v_224",D="_fullBleed_1fz0v_333",F="_media_1fz0v_360",P="_splitAlt_1fz0v_447",A="_split_1fz0v_447",L="_videoControl_1fz0v_521",S="_videoBackground_1fz0v_569",U="_iframe_1fz0v_570",n={hero:z,container:j,heading:w,text:C,eyebrow:N,disclaimer:k,articleDetails:B,articleType:V,articleCategories:I,category:E,number:q,default:"_default_1fz0v_124",blog:T,overlay:H,tile:R,fullBleed:D,media:F,splitAlt:P,split:A,videoControl:L,videoBackground:S,iframe:U},p=l.memo(function({isPlaying:e,onToggle:i}){return t.jsx("button",{type:"button",title:e?"Pause the video":"Play the video","aria-label":e?"Pause video":"Play video",className:n.videoControl,onClick:i,children:e?t.jsx(g,{size:18,"aria-hidden":!0}):t.jsx(x.Play,{size:18,"aria-hidden":!0})})}),v=l.memo(function({url:e,provider:i,wrapperClassName:c,iframeClassName:s}){const r=f.buildEmbedSrc(e,i);return t.jsx("div",{className:c,children:t.jsx("iframe",{src:r,className:s,allow:"autoplay; fullscreen",allowFullScreen:!0,title:"Embedded video","aria-label":"Background video"})})}),h=l.memo(l.forwardRef(function({src:e,autoPlay:i,posterUrl:c,wrapperClassName:s,videoClassName:r,isPlaying:a,onToggle:u},m){const d=l.useRef(null);return l.useImperativeHandle(m,()=>({play(){var o;(o=d.current)==null||o.play().catch(()=>{})},pause(){var o;(o=d.current)==null||o.pause()}})),l.useEffect(()=>{const o=d.current;o&&(a?o.play().catch(()=>{}):o.pause())},[a]),t.jsxs("div",{className:s,children:[t.jsx(p,{isPlaying:a,onToggle:u}),t.jsx("video",{ref:d,src:e,autoPlay:i,loop:!0,muted:!0,playsInline:!0,poster:c,preload:"metadata",className:r,"aria-label":"Background video"})]})})),$=l.memo(function({url:e,autoPlay:i,posterUrl:c,isPlaying:s,onToggle:r,variant:a}){const u=e.includes("vimeo.com"),m=e.includes("youtube.com")||e.includes("youtu.be"),d=u||m,o=u?"vimeo":"youtube";return a==="inline"?d?t.jsx(v,{url:e,provider:o,wrapperClassName:n.media}):t.jsx(h,{src:e,autoPlay:i,posterUrl:c,wrapperClassName:n.media,isPlaying:s,onToggle:r}):d?t.jsx(v,{url:e,provider:o,wrapperClassName:n.videoBackground,iframeClassName:n.iframe}):t.jsx(h,{src:e,autoPlay:i,posterUrl:c,videoClassName:n.videoBackground,isPlaying:s,onToggle:r})}),Y=l.memo(function({image:e,mode:i,variant:c,imageAdapter:s}){const r=f.resolveImageUrl(e,i,"medium");if(!r)return null;const a=f.resolveAltText(e,i),u=t.jsx("img",{fetchPriority:"high",src:r,alt:a,draggable:!1,style:c==="fill"?{objectFit:"cover",width:"100%",height:"100%"}:{width:"100%",height:"100%"}});return s?t.jsx("div",{className:n.media,children:c==="fill"?s.render({src:r,alt:a,fill:!0,priority:!0,fetchPriority:"high",style:{objectFit:"cover"},draggable:!1,sizes:"(max-width: 767px) 600px, 1200px"}):s.render({src:r,alt:a,width:650,height:750,priority:!0,fetchPriority:"high"})}):t.jsx("div",{className:n.media,children:u})});exports.HeroImage=Y;exports.NativeVideo=h;exports.VideoBlock=$;exports.VideoControl=p;exports.VideoEmbed=v;exports.styles=n;
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { jsx as t, jsxs as h } from "react/jsx-runtime";
|
|
2
|
-
import { memo as u, forwardRef as p, useRef as
|
|
3
|
-
import { buildEmbedSrc as
|
|
4
|
-
import { c as
|
|
5
|
-
import { P as
|
|
2
|
+
import { memo as u, forwardRef as p, useRef as y, useImperativeHandle as b, useEffect as g } from "react";
|
|
3
|
+
import { buildEmbedSrc as z, resolveImageUrl as x, resolveAltText as w } from "./next/utils/mediaUtils.mjs";
|
|
4
|
+
import { c as N } from "./createLucideIcon-C8GTh_Qx.js";
|
|
5
|
+
import { P as C } from "./play-DYgKiSaf.js";
|
|
6
6
|
import './HeroSubComponents.css';/**
|
|
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
11
|
*/
|
|
12
|
-
const
|
|
12
|
+
const k = [
|
|
13
13
|
["rect", { x: "14", y: "4", width: "4", height: "16", rx: "1", key: "zuxfzm" }],
|
|
14
14
|
["rect", { x: "6", y: "4", width: "4", height: "16", rx: "1", key: "1okwgv" }]
|
|
15
|
-
],
|
|
16
|
-
hero:
|
|
17
|
-
container:
|
|
18
|
-
heading:
|
|
15
|
+
], B = N("pause", k), V = "_hero_1fz0v_1", I = "_container_1fz0v_7", E = "_heading_1fz0v_15", T = "_text_1fz0v_22", j = "_eyebrow_1fz0v_37", H = "_disclaimer_1fz0v_41", P = "_articleDetails_1fz0v_52", D = "_articleType_1fz0v_65", F = "_articleCategories_1fz0v_79", R = "_category_1fz0v_85", A = "_number_1fz0v_101", S = "_blog_1fz0v_128", L = "_overlay_1fz0v_154", U = "_tile_1fz0v_224", Y = "_fullBleed_1fz0v_333", q = "_media_1fz0v_360", G = "_splitAlt_1fz0v_447", J = "_split_1fz0v_447", K = "_videoControl_1fz0v_521", M = "_videoBackground_1fz0v_569", O = "_iframe_1fz0v_570", l = {
|
|
16
|
+
hero: V,
|
|
17
|
+
container: I,
|
|
18
|
+
heading: E,
|
|
19
19
|
text: T,
|
|
20
20
|
eyebrow: j,
|
|
21
21
|
disclaimer: H,
|
|
@@ -24,7 +24,7 @@ const B = [
|
|
|
24
24
|
articleCategories: F,
|
|
25
25
|
category: R,
|
|
26
26
|
number: A,
|
|
27
|
-
default: "
|
|
27
|
+
default: "_default_1fz0v_124",
|
|
28
28
|
blog: S,
|
|
29
29
|
overlay: L,
|
|
30
30
|
tile: U,
|
|
@@ -37,7 +37,7 @@ const B = [
|
|
|
37
37
|
iframe: O
|
|
38
38
|
}, Q = u(function({
|
|
39
39
|
isPlaying: e,
|
|
40
|
-
onToggle:
|
|
40
|
+
onToggle: i
|
|
41
41
|
}) {
|
|
42
42
|
return /* @__PURE__ */ t(
|
|
43
43
|
"button",
|
|
@@ -46,21 +46,21 @@ const B = [
|
|
|
46
46
|
title: e ? "Pause the video" : "Play the video",
|
|
47
47
|
"aria-label": e ? "Pause video" : "Play video",
|
|
48
48
|
className: l.videoControl,
|
|
49
|
-
onClick:
|
|
50
|
-
children: e ? /* @__PURE__ */ t(
|
|
49
|
+
onClick: i,
|
|
50
|
+
children: e ? /* @__PURE__ */ t(B, { size: 18, "aria-hidden": !0 }) : /* @__PURE__ */ t(C, { size: 18, "aria-hidden": !0 })
|
|
51
51
|
}
|
|
52
52
|
);
|
|
53
|
-
}),
|
|
53
|
+
}), m = u(function({
|
|
54
54
|
url: e,
|
|
55
|
-
provider:
|
|
55
|
+
provider: i,
|
|
56
56
|
wrapperClassName: s,
|
|
57
57
|
iframeClassName: a
|
|
58
58
|
}) {
|
|
59
|
-
const
|
|
59
|
+
const r = z(e, i);
|
|
60
60
|
return /* @__PURE__ */ t("div", { className: s, children: /* @__PURE__ */ t(
|
|
61
61
|
"iframe",
|
|
62
62
|
{
|
|
63
|
-
src:
|
|
63
|
+
src: r,
|
|
64
64
|
className: a,
|
|
65
65
|
allow: "autoplay; fullscreen",
|
|
66
66
|
allowFullScreen: !0,
|
|
@@ -68,31 +68,31 @@ const B = [
|
|
|
68
68
|
"aria-label": "Background video"
|
|
69
69
|
}
|
|
70
70
|
) });
|
|
71
|
-
}),
|
|
71
|
+
}), v = u(
|
|
72
72
|
p(function({
|
|
73
73
|
src: e,
|
|
74
|
-
autoPlay:
|
|
74
|
+
autoPlay: i,
|
|
75
75
|
posterUrl: s,
|
|
76
76
|
wrapperClassName: a,
|
|
77
|
-
videoClassName:
|
|
77
|
+
videoClassName: r,
|
|
78
78
|
isPlaying: c,
|
|
79
79
|
onToggle: d
|
|
80
|
-
},
|
|
81
|
-
const n =
|
|
82
|
-
return
|
|
80
|
+
}, f) {
|
|
81
|
+
const n = y(null);
|
|
82
|
+
return b(f, () => ({
|
|
83
83
|
play() {
|
|
84
|
-
var
|
|
85
|
-
(
|
|
84
|
+
var o;
|
|
85
|
+
(o = n.current) == null || o.play().catch(() => {
|
|
86
86
|
});
|
|
87
87
|
},
|
|
88
88
|
pause() {
|
|
89
|
-
var
|
|
90
|
-
(
|
|
89
|
+
var o;
|
|
90
|
+
(o = n.current) == null || o.pause();
|
|
91
91
|
}
|
|
92
|
-
})),
|
|
93
|
-
const
|
|
94
|
-
|
|
95
|
-
}) :
|
|
92
|
+
})), g(() => {
|
|
93
|
+
const o = n.current;
|
|
94
|
+
o && (c ? o.play().catch(() => {
|
|
95
|
+
}) : o.pause());
|
|
96
96
|
}, [c]), /* @__PURE__ */ h("div", { className: a, children: [
|
|
97
97
|
/* @__PURE__ */ t(Q, { isPlaying: c, onToggle: d }),
|
|
98
98
|
/* @__PURE__ */ t(
|
|
@@ -100,13 +100,13 @@ const B = [
|
|
|
100
100
|
{
|
|
101
101
|
ref: n,
|
|
102
102
|
src: e,
|
|
103
|
-
autoPlay:
|
|
103
|
+
autoPlay: i,
|
|
104
104
|
loop: !0,
|
|
105
105
|
muted: !0,
|
|
106
106
|
playsInline: !0,
|
|
107
107
|
poster: s,
|
|
108
108
|
preload: "metadata",
|
|
109
|
-
className:
|
|
109
|
+
className: r,
|
|
110
110
|
"aria-label": "Background video"
|
|
111
111
|
}
|
|
112
112
|
)
|
|
@@ -114,69 +114,69 @@ const B = [
|
|
|
114
114
|
})
|
|
115
115
|
), te = u(function({
|
|
116
116
|
url: e,
|
|
117
|
-
autoPlay:
|
|
117
|
+
autoPlay: i,
|
|
118
118
|
posterUrl: s,
|
|
119
119
|
isPlaying: a,
|
|
120
|
-
onToggle:
|
|
120
|
+
onToggle: r,
|
|
121
121
|
variant: c
|
|
122
122
|
}) {
|
|
123
|
-
const d = e.includes("vimeo.com"),
|
|
123
|
+
const d = e.includes("vimeo.com"), f = e.includes("youtube.com") || e.includes("youtu.be"), n = d || f, o = d ? "vimeo" : "youtube";
|
|
124
124
|
return c === "inline" ? n ? /* @__PURE__ */ t(
|
|
125
|
-
|
|
125
|
+
m,
|
|
126
126
|
{
|
|
127
127
|
url: e,
|
|
128
|
-
provider:
|
|
128
|
+
provider: o,
|
|
129
129
|
wrapperClassName: l.media
|
|
130
130
|
}
|
|
131
131
|
) : /* @__PURE__ */ t(
|
|
132
|
-
|
|
132
|
+
v,
|
|
133
133
|
{
|
|
134
134
|
src: e,
|
|
135
|
-
autoPlay:
|
|
135
|
+
autoPlay: i,
|
|
136
136
|
posterUrl: s,
|
|
137
137
|
wrapperClassName: l.media,
|
|
138
138
|
isPlaying: a,
|
|
139
|
-
onToggle:
|
|
139
|
+
onToggle: r
|
|
140
140
|
}
|
|
141
141
|
) : n ? /* @__PURE__ */ t(
|
|
142
|
-
|
|
142
|
+
m,
|
|
143
143
|
{
|
|
144
144
|
url: e,
|
|
145
|
-
provider:
|
|
145
|
+
provider: o,
|
|
146
146
|
wrapperClassName: l.videoBackground,
|
|
147
147
|
iframeClassName: l.iframe
|
|
148
148
|
}
|
|
149
149
|
) : /* @__PURE__ */ t(
|
|
150
|
-
|
|
150
|
+
v,
|
|
151
151
|
{
|
|
152
152
|
src: e,
|
|
153
|
-
autoPlay:
|
|
153
|
+
autoPlay: i,
|
|
154
154
|
posterUrl: s,
|
|
155
155
|
videoClassName: l.videoBackground,
|
|
156
156
|
isPlaying: a,
|
|
157
|
-
onToggle:
|
|
157
|
+
onToggle: r
|
|
158
158
|
}
|
|
159
159
|
);
|
|
160
|
-
}),
|
|
160
|
+
}), oe = u(function({
|
|
161
161
|
image: e,
|
|
162
|
-
mode:
|
|
162
|
+
mode: i,
|
|
163
163
|
variant: s,
|
|
164
164
|
imageAdapter: a
|
|
165
165
|
}) {
|
|
166
|
-
const
|
|
167
|
-
if (!
|
|
168
|
-
const c =
|
|
166
|
+
const r = x(e, i, "medium");
|
|
167
|
+
if (!r) return null;
|
|
168
|
+
const c = w(e, i), d = /* @__PURE__ */ t(
|
|
169
169
|
"img",
|
|
170
170
|
{
|
|
171
171
|
fetchPriority: "high",
|
|
172
|
-
src:
|
|
172
|
+
src: r,
|
|
173
173
|
alt: c,
|
|
174
174
|
draggable: !1,
|
|
175
175
|
style: s === "fill" ? { objectFit: "cover", width: "100%", height: "100%" } : { width: "100%", height: "100%" }
|
|
176
176
|
}
|
|
177
177
|
);
|
|
178
178
|
return a ? /* @__PURE__ */ t("div", { className: l.media, children: s === "fill" ? a.render({
|
|
179
|
-
src:
|
|
179
|
+
src: r,
|
|
180
180
|
alt: c,
|
|
181
181
|
fill: !0,
|
|
182
182
|
priority: !0,
|
|
@@ -185,7 +185,7 @@ const B = [
|
|
|
185
185
|
draggable: !1,
|
|
186
186
|
sizes: "(max-width: 767px) 600px, 1200px"
|
|
187
187
|
}) : a.render({
|
|
188
|
-
src:
|
|
188
|
+
src: r,
|
|
189
189
|
alt: c,
|
|
190
190
|
width: 650,
|
|
191
191
|
height: 750,
|
|
@@ -194,10 +194,10 @@ const B = [
|
|
|
194
194
|
}) }) : /* @__PURE__ */ t("div", { className: l.media, children: d });
|
|
195
195
|
});
|
|
196
196
|
export {
|
|
197
|
-
|
|
198
|
-
|
|
197
|
+
oe as H,
|
|
198
|
+
v as N,
|
|
199
199
|
te as V,
|
|
200
200
|
Q as a,
|
|
201
|
-
|
|
201
|
+
m as b,
|
|
202
202
|
l as s
|
|
203
203
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._hero_1fz0v_1{width:100%;padding-top:var(--spacing-xl);padding-bottom:var(--spacing-xl)}._container_1fz0v_7{width:100%;max-width:var(--layout-width, 1300px);margin:0 auto;padding-left:var(--spacing-md);padding-right:var(--spacing-md)}._heading_1fz0v_15{display:flex;flex-direction:column;width:100%;flex:1;gap:var(--spacing-md)}._heading_1fz0v_15:not(:has(._text_1fz0v_22 .portableTextContainer)){gap:var(--spacing-lg)}._heading_1fz0v_15 h1,._heading_1fz0v_15 h2,._heading_1fz0v_15 h3,._heading_1fz0v_15 h4,._heading_1fz0v_15 h5,._heading_1fz0v_15 h6{width:100%;margin-block:0}._eyebrow_1fz0v_37{font-weight:var(--font-weight-bold)}._disclaimer_1fz0v_41{font-size:var(--font-size-sm)}._text_1fz0v_22{flex:1;display:flex;flex-direction:column;gap:var(--spacing-md)}._articleDetails_1fz0v_52{color:var(--color-secondary-75);display:flex;align-items:center;margin-bottom:var(--spacing-md);gap:var(--spacing-md)}@media (max-width: 767px){._articleDetails_1fz0v_52{flex-wrap:wrap;gap:var(--spacing-md)}}._articleType_1fz0v_65{display:flex;align-items:center;justify-content:center;background-color:var(--color-secondary-75);padding:0 var(--spacing-md);color:#fff;width:auto;height:36px;border-radius:var(--radius-full);text-transform:capitalize;text-decoration:none}._articleCategories_1fz0v_79{display:flex;flex-wrap:wrap;gap:var(--spacing-sm)}._category_1fz0v_85{border:1px solid var(--color-secondary-75);display:flex;align-items:center;justify-content:center;background-color:transparent;padding:0 var(--spacing-md);color:var(--color-secondary-75);width:auto;height:36px;border-radius:var(--radius-full);text-transform:capitalize;text-decoration:none}._number_1fz0v_101{display:inline-flex;align-items:center;justify-content:center;background-color:var(--color-secondary-75);color:#fff;width:25px;height:25px;border-radius:var(--radius-full);text-transform:capitalize;margin-right:var(--spacing-xs)}._pipe_1fz0v_114{margin:0 var(--spacing-sm)}@media (max-width: 767px){._pipe_1fz0v_114._hide_1fz0v_117{display:none}}._default_1fz0v_124{position:relative}._blog_1fz0v_128{position:relative;padding:0 var(--spacing-md)}._blog_1fz0v_128 ._container_1fz0v_7{max-width:var(--layout-width, 1300px);position:relative;display:flex;align-items:flex-end;width:100%;min-height:450px;height:100%;overflow:hidden;flex-grow:1;padding:var(--nav-height) 0 0;border-radius:var(--radius-md)}._blog_1fz0v_128 ._container_1fz0v_7 img{z-index:1;transition:width .3s ease-in-out,height .3s ease-in-out}@media (max-width: 767px){._blog_1fz0v_128 ._overlay_1fz0v_154{width:100%;padding:4rem var(--spacing-md) var(--spacing-xl)}}._blog_1fz0v_128 ._text_1fz0v_22{z-index:3;position:relative;max-width:650px;background-color:var(--color-background);padding:var(--spacing-xl);border-radius:var(--radius-md)}@media (min-width: 768px){._blog_1fz0v_128 ._text_1fz0v_22{border-radius:var(--radius-md) var(--radius-md) 0 0}._blog_1fz0v_128 ._text_1fz0v_22:before{content:"";position:absolute;top:-25px;left:0;height:25px;width:20px;border-bottom-left-radius:var(--radius-md);box-shadow:-20px 20px 0 20px var(--color-background)}._blog_1fz0v_128 ._text_1fz0v_22:after{content:"";position:absolute;bottom:0;right:-20px;height:25px;width:20px;border-bottom-left-radius:var(--radius-md);box-shadow:0 10px 0 0 var(--color-background)}}._tile_1fz0v_224{position:relative;padding:0 var(--spacing-md)}._tile_1fz0v_224 ._container_1fz0v_7{max-width:var(--layout-width, 1300px);position:relative;display:flex;align-items:flex-end;width:100%;min-height:550px;height:100%;overflow:hidden;flex-grow:1;padding:var(--nav-height) 0 0;border-radius:var(--radius-md)}._tile_1fz0v_224 ._container_1fz0v_7 img{z-index:1;transition:width .3s ease-in-out,height .3s ease-in-out}@media (max-width: 767px){._tile_1fz0v_224 ._overlay_1fz0v_154{width:100%;padding:var(--spacing-md)}}@media (max-width: 767px){._tile_1fz0v_224:has(video) ._overlay_1fz0v_154{padding-bottom:3rem}}._tile_1fz0v_224 ._text_1fz0v_22{z-index:3;position:relative;max-width:650px;background-color:var(--color-background);padding:var(--spacing-xl);border-radius:var(--radius-md)}@media (min-width: 768px){._tile_1fz0v_224 ._text_1fz0v_22{border-radius:var(--radius-md) var(--radius-md) 0 0}._tile_1fz0v_224 ._text_1fz0v_22:before{content:"";position:absolute;top:-25px;left:0;height:25px;width:20px;border-bottom-left-radius:var(--radius-md);box-shadow:-20px 20px 0 20px var(--color-background)}._tile_1fz0v_224 ._text_1fz0v_22:after{content:"";position:absolute;bottom:0;right:-20px;height:25px;width:20px;border-bottom-left-radius:var(--radius-md);box-shadow:0 10px 0 0 var(--color-background)}}._fullBleed_1fz0v_333{position:relative;padding-top:0;padding-bottom:0}._fullBleed_1fz0v_333 ._container_1fz0v_7{max-width:var(--layout-width, 1300px);position:relative;display:flex;align-items:flex-end;width:100%;min-height:550px;height:100%;overflow:hidden;flex-grow:1;border-radius:0}._fullBleed_1fz0v_333 ._container_1fz0v_7 img{z-index:1;transition:width .3s ease-in-out,height .3s ease-in-out}._fullBleed_1fz0v_333 ._media_1fz0v_360{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;z-index:1;border-radius:0}._fullBleed_1fz0v_333 ._media_1fz0v_360 img,._fullBleed_1fz0v_333 ._media_1fz0v_360 video,._fullBleed_1fz0v_333 ._media_1fz0v_360 iframe{width:100%;height:100%;object-fit:cover;display:block}._fullBleed_1fz0v_333 ._overlay_1fz0v_154{position:relative;z-index:1;min-height:80vh;display:flex;align-items:flex-end;background:linear-gradient(to top,#000000a6,#0000004d,#0000)}@media (max-width: 767px){._fullBleed_1fz0v_333 ._overlay_1fz0v_154{min-height:60vh}}._fullBleed_1fz0v_333 ._text_1fz0v_22{max-width:700px;color:#fff;background-color:transparent;padding:0;border-radius:0;z-index:3;position:relative;max-width:650px;background-color:var(--color-background);padding:var(--spacing-xl);margin-bottom:var(--spacing-md);border-radius:var(--radius-md)}._fullBleed_1fz0v_333 ._text_1fz0v_22:before,._fullBleed_1fz0v_333 ._text_1fz0v_22:after{display:none}@media (max-width: 767px){._fullBleed_1fz0v_333:has(video) ._text_1fz0v_22{margin-bottom:3rem}}._default_1fz0v_124 ._media_1fz0v_360{position:relative;width:100%;height:480px;margin-bottom:var(--spacing-md);border-radius:var(--radius-md);overflow:hidden}@media (max-width: 767px){._default_1fz0v_124 ._media_1fz0v_360{height:280px}}._default_1fz0v_124 ._media_1fz0v_360 img{width:100%;height:100%;object-fit:cover;object-position:center;display:block}._splitAlt_1fz0v_447 ._media_1fz0v_360,._split_1fz0v_447 ._media_1fz0v_360{height:100%;padding-bottom:0;margin-bottom:0}._splitAlt_1fz0v_447 ._media_1fz0v_360 video,._splitAlt_1fz0v_447 ._media_1fz0v_360 iframe,._split_1fz0v_447 ._media_1fz0v_360 video,._split_1fz0v_447 ._media_1fz0v_360 iframe{position:relative;border-radius:var(--radius-md)}._splitAlt_1fz0v_447 ._media_1fz0v_360 img,._split_1fz0v_447 ._media_1fz0v_360 img{border-radius:var(--radius-md);width:100%;height:auto;max-height:500px;object-fit:contain}._splitAlt_1fz0v_447 ._container_1fz0v_7{display:flex;align-items:center;gap:3rem}@media (max-width: 767px){._splitAlt_1fz0v_447 ._container_1fz0v_7{flex-direction:column-reverse;gap:var(--spacing-xl)}._splitAlt_1fz0v_447 ._container_1fz0v_7 ._media_1fz0v_360{width:100%;max-width:500px}}._splitAlt_1fz0v_447 ._container_1fz0v_7 ._media_1fz0v_360{flex:.65}._splitAlt_1fz0v_447 ._container_1fz0v_7 ._heading_1fz0v_15{flex:.35}._split_1fz0v_447 ._container_1fz0v_7{display:flex;align-items:center;gap:3rem}._split_1fz0v_447 ._container_1fz0v_7 ._media_1fz0v_360{flex:1}._split_1fz0v_447 ._container_1fz0v_7 ._media_1fz0v_360 img{width:100%;height:auto;max-height:500px;object-fit:contain}@media (max-width: 767px){._split_1fz0v_447 ._container_1fz0v_7{flex-direction:column-reverse;gap:var(--spacing-xl)}._split_1fz0v_447 ._container_1fz0v_7 ._media_1fz0v_360{width:100%;max-width:500px}}._videoControl_1fz0v_521{position:absolute;bottom:var(--spacing-sm);right:var(--spacing-sm);z-index:5;background:#00000080;border:none;border-radius:50%;padding:var(--spacing-sm);cursor:pointer;color:#fff;display:flex;align-items:center;justify-content:center;transition:color .3s ease-in-out}._videoControl_1fz0v_521 svg{width:16px;height:16px}._videoControl_1fz0v_521:hover{color:var(--color-primary-25)}._media_1fz0v_360{position:relative;width:100%;height:0;overflow:hidden;border-radius:var(--radius-md);flex:1;margin-bottom:var(--spacing-md);line-height:0}._media_1fz0v_360 iframe,._media_1fz0v_360 video{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover}._videoBackground_1fz0v_569,._iframe_1fz0v_570{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;z-index:0;pointer-events:none}._iframe_1fz0v_570{border:none}.splitAlt ._text_1fz0v_22{flex:.65}
|