quirk-ui 0.0.340 → 0.0.342

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.
Files changed (68) hide show
  1. package/dist/assets/index10.css +1 -1
  2. package/dist/assets/index10.css.d.ts +32 -17
  3. package/dist/assets/index11.css +1 -1
  4. package/dist/assets/index11.css.d.ts +13 -11
  5. package/dist/assets/index12.css +1 -1
  6. package/dist/assets/index12.css.d.ts +5 -20
  7. package/dist/assets/index13.css +1 -1
  8. package/dist/assets/index13.css.d.ts +6 -32
  9. package/dist/assets/index14.css +1 -1
  10. package/dist/assets/index14.css.d.ts +8 -13
  11. package/dist/assets/index3.css +1 -1
  12. package/dist/assets/index3.css.d.ts +29 -6
  13. package/dist/assets/index4.css +1 -1
  14. package/dist/assets/index4.css.d.ts +11 -8
  15. package/dist/assets/index5.css +1 -1
  16. package/dist/assets/index5.css.d.ts +8 -5
  17. package/dist/assets/index58.css +1 -1
  18. package/dist/assets/index58.css.d.ts +11 -16
  19. package/dist/assets/index59.css +1 -1
  20. package/dist/assets/index59.css.d.ts +16 -8
  21. package/dist/assets/index6.css +1 -1
  22. package/dist/assets/index6.css.d.ts +13 -29
  23. package/dist/assets/index60.css +1 -1
  24. package/dist/assets/index60.css.d.ts +8 -16
  25. package/dist/assets/index61.css +1 -0
  26. package/dist/assets/index61.css.d.ts +20 -0
  27. package/dist/assets/index7.css +1 -1
  28. package/dist/assets/index7.css.d.ts +17 -11
  29. package/dist/assets/index8.css +1 -1
  30. package/dist/assets/index8.css.d.ts +11 -8
  31. package/dist/assets/index9.css +1 -1
  32. package/dist/assets/index9.css.d.ts +20 -13
  33. package/dist/core/components/Calendar/Calendar.test.js +1 -1
  34. package/dist/core/components/Calendar/index.js +1 -1
  35. package/dist/core/components/CallToAction/CallToAction.test.js +1 -1
  36. package/dist/core/components/CallToAction/index.js +1 -1
  37. package/dist/core/components/Carousel/index.js +1 -1
  38. package/dist/core/components/DatePicker/DatePicker.test.js +1 -1
  39. package/dist/core/components/DatePicker/index.js +1 -1
  40. package/dist/core/components/Footer/index.js +25 -25
  41. package/dist/core/components/NavBar/index.js +1 -1
  42. package/dist/core/components/Tabs/index.js +1 -1
  43. package/dist/core.js +1 -1
  44. package/dist/{index-CXSSPddd.js → index-CVcBtST4.js} +1 -1
  45. package/dist/{index-Dq5hMTxb.js → index-dNH0sNLZ.js} +1 -1
  46. package/dist/main.d.ts +34 -0
  47. package/dist/main.js +17 -15
  48. package/dist/next/blocks/CardGridBlock/CardGridBlock.types.js +1 -0
  49. package/dist/next/blocks/CardGridBlock/index.js +204 -0
  50. package/dist/next/blocks/CarouselBlock/index.js +1 -1
  51. package/dist/next/blocks/ContentBlock/index.js +1 -1
  52. package/dist/next/cards/BioCard/index.js +1 -1
  53. package/dist/next/cards/BlogArticleCard/index.js +1 -1
  54. package/dist/next/cards/GridCard/index.js +43 -43
  55. package/dist/next/cards/ProductCard/index.js +1 -1
  56. package/dist/next/cards/ReviewCard/index.js +1 -1
  57. package/dist/next/cards/SegmentCard/index.js +1 -1
  58. package/dist/next/cards/ServiceCard/index.js +1 -1
  59. package/dist/next/cards/SpotlightCard/index.js +1 -1
  60. package/dist/next/cards/TestimonialCard/index.js +1 -1
  61. package/dist/next/ui/CallToActions/index.js +1 -1
  62. package/dist/next/ui/PortableTextRenderer/index.js +1 -1
  63. package/dist/next/ui/index.js +6 -0
  64. package/dist/next.d.ts +34 -0
  65. package/dist/next.js +2 -0
  66. package/dist/styles.css +5 -4
  67. package/dist/styles.css.d.ts +36 -27
  68. package/package.json +1 -1
package/dist/main.js CHANGED
@@ -1,19 +1,19 @@
1
1
  import './assets/index.css';/* empty css */
2
2
  import { ButtonGroup as t } from "./core/components/ButtonGroup/index.js";
3
3
  import { FloatingActionButton as x } from "./core/components/FloatingActionButton/index.js";
4
- import { C as f } from "./index-Dq5hMTxb.js";
4
+ import { C as f } from "./index-dNH0sNLZ.js";
5
5
  import { IconButton as i } from "./core/components/IconButton/index.js";
6
6
  import { Heading as l } from "./core/components/Heading/index.js";
7
7
  import { Text as d } from "./core/components/Text/index.js";
8
- import { Grid as u } from "./core/components/Grid/index.js";
9
- import { Container as C } from "./core/components/Container/index.js";
8
+ import { Grid as C } from "./core/components/Grid/index.js";
9
+ import { Container as u } from "./core/components/Container/index.js";
10
10
  import { Stack as S } from "./core/components/Stack/index.js";
11
11
  import { Box as b } from "./core/components/Box/index.js";
12
12
  import { Spacer as v } from "./core/components/Spacer/index.js";
13
13
  import { Divider as F } from "./core/components/Divider/index.js";
14
14
  import { Table as P } from "./core/components/Table/index.js";
15
15
  import { List as D } from "./core/components/List/index.js";
16
- import { Card as w } from "./core/components/Card/index.js";
16
+ import { Card as N } from "./core/components/Card/index.js";
17
17
  import { Avatar as I } from "./core/components/Avatar/index.js";
18
18
  import { Badge as M } from "./core/components/Badge/index.js";
19
19
  import { Tooltip as U } from "./core/components/Tooltip/index.js";
@@ -31,16 +31,16 @@ import { Drawer as xo } from "./core/components/Drawer/index.js";
31
31
  import { Tabs as fo } from "./core/components/Tabs/index.js";
32
32
  import { Breadcrumbs as io } from "./core/components/Breadcrumbs/index.js";
33
33
  import { Footer as lo } from "./core/components/Footer/index.js";
34
- import { Form as so } from "./core/components/Form/index.js";
35
- import { Label as Bo } from "./core/components/Label/index.js";
34
+ import { Form as Bo } from "./core/components/Form/index.js";
35
+ import { Label as so } from "./core/components/Label/index.js";
36
36
  import { Input as ko } from "./core/components/Input/index.js";
37
37
  import { Fieldset as To } from "./core/components/Fieldset/index.js";
38
38
  import { Radio as go } from "./core/components/Radio/index.js";
39
39
  import { Checkbox as Ao } from "./core/components/Checkbox/index.js";
40
40
  import { Textarea as Ho } from "./core/components/Textarea/index.js";
41
41
  import { Select as ho } from "./core/components/Select/index.js";
42
- import { Switch as No } from "./core/components/Switch/index.js";
43
- import { MultiSelect as Go } from "./core/components/MultiSelect/index.js";
42
+ import { Switch as Go } from "./core/components/Switch/index.js";
43
+ import { MultiSelect as wo } from "./core/components/MultiSelect/index.js";
44
44
  import { DatePicker as Lo } from "./core/components/DatePicker/index.js";
45
45
  import { Range as Ro } from "./core/components/Range/index.js";
46
46
  import { FileUpload as jo } from "./core/components/FileUpload/index.js";
@@ -49,6 +49,7 @@ import { HeroBlock as Eo } from "./next/blocks/HeroBlock/index.js";
49
49
  import { HeroProvider as Ko, useHeroContext as Oo } from "./next/blocks/HeroBlock/HeroContext.js";
50
50
  import { ContentBlock as Vo } from "./next/blocks/ContentBlock/index.js";
51
51
  import { CarouselBlock as Xo } from "./next/blocks/CarouselBlock/index.js";
52
+ import { CardGridBlock as Zo } from "./next/blocks/CardGridBlock/index.js";
52
53
  export {
53
54
  z as Accordion,
54
55
  J as Alert,
@@ -58,11 +59,12 @@ export {
58
59
  io as Breadcrumbs,
59
60
  t as ButtonGroup,
60
61
  f as CallToAction,
61
- w as Card,
62
+ N as Card,
63
+ Zo as CardGridBlock,
62
64
  ro as Carousel,
63
65
  Xo as CarouselBlock,
64
66
  Ao as Checkbox,
65
- C as Container,
67
+ u as Container,
66
68
  Vo as ContentBlock,
67
69
  Lo as DatePicker,
68
70
  F as Divider,
@@ -71,17 +73,17 @@ export {
71
73
  jo as FileUpload,
72
74
  x as FloatingActionButton,
73
75
  lo as Footer,
74
- so as Form,
75
- u as Grid,
76
+ Bo as Form,
77
+ C as Grid,
76
78
  l as Heading,
77
79
  Eo as HeroBlock,
78
80
  Ko as HeroProvider,
79
81
  i as IconButton,
80
82
  ko as Input,
81
- Bo as Label,
83
+ so as Label,
82
84
  D as List,
83
85
  q as Modal,
84
- Go as MultiSelect,
86
+ wo as MultiSelect,
85
87
  to as Navbar,
86
88
  O as Notification,
87
89
  V as NotificationContainer,
@@ -93,7 +95,7 @@ export {
93
95
  v as Spacer,
94
96
  Z as Spinner,
95
97
  S as Stack,
96
- No as Switch,
98
+ Go as Switch,
97
99
  P as Table,
98
100
  fo as Tabs,
99
101
  d as Text,
@@ -0,0 +1,204 @@
1
+ import { jsx as o, jsxs as v } from "react/jsx-runtime";
2
+ import { useState as w, useEffect as z, useMemo as C } from "react";
3
+ import { RichText as $ } from "../../ui/PortableTextRenderer/index.js";
4
+ import { CallToActions as M } from "../../ui/CallToActions/index.js";
5
+ import { ProductCard as S } from "../../cards/ProductCard/index.js";
6
+ import { GridCard as H } from "../../cards/GridCard/index.js";
7
+ import { ServiceCard as V } from "../../cards/ServiceCard/index.js";
8
+ import { TestimonialCard as A } from "../../cards/TestimonialCard/index.js";
9
+ import { ReviewCard as D } from "../../cards/ReviewCard/index.js";
10
+ import { useMediaQuery as B } from "../../hooks/useMediaQuery.js";
11
+ import { useStyleClasses as E } from "../../hooks/useStyleClasses.js";
12
+ import '../../../assets/index58.css';const L = "_grid_a6iq3_1", P = {
13
+ grid: L
14
+ };
15
+ function R({
16
+ columns: t = 1,
17
+ gap: e = "1rem",
18
+ areas: u,
19
+ autoFitMinMax: n,
20
+ className: N,
21
+ children: i,
22
+ style: p,
23
+ ...f
24
+ }) {
25
+ const m = {
26
+ ...p,
27
+ display: "grid",
28
+ gap: e
29
+ };
30
+ if (u && (m.gridTemplateAreas = u.map((a) => `"${a.join(" ")}"`).join(" ")), n)
31
+ m.gridTemplateColumns = `repeat(auto-fit, minmax(${n}, 1fr))`;
32
+ else if (typeof t == "object") {
33
+ const { xs: a, sm: _, md: x, lg: y, xl: b } = t;
34
+ [
35
+ {
36
+ breakpoint: "xs",
37
+ value: a
38
+ },
39
+ {
40
+ breakpoint: "sm",
41
+ value: _
42
+ },
43
+ {
44
+ breakpoint: "md",
45
+ value: x
46
+ },
47
+ {
48
+ breakpoint: "lg",
49
+ value: y
50
+ },
51
+ {
52
+ breakpoint: "xl",
53
+ value: b
54
+ }
55
+ ].forEach(({ breakpoint: k, value: s }) => {
56
+ const c = isNaN(Number(s)) ? s : Number(s);
57
+ c && (m[`--${k}-columns`] = typeof c == "number" ? `repeat(${c}, 1fr)` : c);
58
+ });
59
+ } else {
60
+ const a = isNaN(Number(t)) ? t : Number(t);
61
+ m.gridTemplateColumns = typeof a == "number" ? `repeat(${a}, 1fr)` : a;
62
+ }
63
+ return /* @__PURE__ */ o(
64
+ "div",
65
+ {
66
+ className: `${N ?? ""} ${P.grid}`,
67
+ style: m,
68
+ ...f,
69
+ children: i
70
+ }
71
+ );
72
+ }
73
+ const q = "_cardGrid_11um4_1", F = "_container_11um4_7", I = "_heading_11um4_18", O = "_headingHorizontal_11um4_34", Q = "_title_11um4_38", U = "_headingVertical_11um4_47", J = "_description_11um4_58", K = "_disclaimer_11um4_63", W = "_grid_11um4_79", l = {
74
+ cardGrid: q,
75
+ container: F,
76
+ heading: I,
77
+ headingHorizontal: O,
78
+ title: Q,
79
+ headingVertical: U,
80
+ description: J,
81
+ disclaimer: K,
82
+ grid: W
83
+ };
84
+ function ct({
85
+ heading: t,
86
+ grid: e,
87
+ textReplaceOnHover: u = !0,
88
+ callToAction: n,
89
+ styleOptions: N
90
+ }) {
91
+ var k;
92
+ const [i, p] = w(null), f = B("(max-width: 768px)"), m = E(N), a = {
93
+ horizontal: l.headingHorizontal,
94
+ vertical: l.headingVertical
95
+ }[(t == null ? void 0 : t.headingLayout) ?? "vertical"];
96
+ function _(s) {
97
+ for (const c of s)
98
+ if (!(!c.children || !c.markDefs)) {
99
+ for (const r of c.children)
100
+ if (r != null && r.marks)
101
+ for (const j of r.marks) {
102
+ const T = c.markDefs.find((G) => G._key === j);
103
+ if (T && T._type === "coloredText")
104
+ return r.text;
105
+ }
106
+ }
107
+ return null;
108
+ }
109
+ z(() => {
110
+ t && t.title && p(_(t.title));
111
+ }, [t]);
112
+ const x = C(() => {
113
+ if (e != null && e.areas && !f)
114
+ return e == null ? void 0 : e.areas.map((s) => s.trim().split(/\s+/));
115
+ }, [e == null ? void 0 : e.areas, f]), y = C(
116
+ () => /* @__PURE__ */ o(
117
+ $,
118
+ {
119
+ className: l.title,
120
+ textOverride: i ?? "",
121
+ animateText: (t == null ? void 0 : t.animateText) ?? !1,
122
+ blocks: t == null ? void 0 : t.title
123
+ }
124
+ ),
125
+ [t == null ? void 0 : t.title, i, t == null ? void 0 : t.animateText]
126
+ ), b = !(t != null && t.title) && !(t != null && t.description);
127
+ return /* @__PURE__ */ o(
128
+ "section",
129
+ {
130
+ className: `${l.cardGrid} ${(e == null ? void 0 : e.className) ?? ""} ${m}`,
131
+ children: /* @__PURE__ */ v(
132
+ "article",
133
+ {
134
+ className: `${l.container} ${m.includes("split") ? "split" : "default"}`,
135
+ children: [
136
+ !b && /* @__PURE__ */ v("div", { className: `${l.heading} ${a ?? ""}`, children: [
137
+ (t == null ? void 0 : t.title) && y,
138
+ (t == null ? void 0 : t.description) && /* @__PURE__ */ o(
139
+ $,
140
+ {
141
+ className: l.description,
142
+ blocks: t == null ? void 0 : t.description
143
+ }
144
+ )
145
+ ] }),
146
+ /* @__PURE__ */ v(
147
+ "div",
148
+ {
149
+ className: `${l.grid} ${e != null && e.className && l[e == null ? void 0 : e.className] ? l[e == null ? void 0 : e.className] : (e == null ? void 0 : e.className) ?? ""}`,
150
+ children: [
151
+ /* @__PURE__ */ o(R, { columns: e == null ? void 0 : e.columns, gap: e == null ? void 0 : e.gap, areas: x, children: (k = e == null ? void 0 : e.items) == null ? void 0 : k.map((s) => {
152
+ const c = s.title ? _(s.title) : "", r = {
153
+ gridArea: s.gridArea,
154
+ onHover: () => {
155
+ u && p(c);
156
+ },
157
+ ...s
158
+ };
159
+ switch (s.variant) {
160
+ case "service":
161
+ return /* @__PURE__ */ o(V, { ...r }, s._key);
162
+ case "grid":
163
+ return /* @__PURE__ */ o(H, { ...r }, s._key);
164
+ case "image":
165
+ return /* @__PURE__ */ o(H, { ...r }, s._key);
166
+ case "product":
167
+ return /* @__PURE__ */ o(S, { ...r }, s._key);
168
+ case "testimonial":
169
+ return /* @__PURE__ */ o(A, { ...r }, s._key);
170
+ case "review":
171
+ return /* @__PURE__ */ o(D, { ...r }, s._key);
172
+ default:
173
+ return /* @__PURE__ */ v("div", { children: [
174
+ "Unknown item type: ",
175
+ s._type
176
+ ] }, s._key);
177
+ }
178
+ }) }),
179
+ n && /* @__PURE__ */ o(
180
+ M,
181
+ {
182
+ items: n.items,
183
+ alignment: n.alignment
184
+ }
185
+ ),
186
+ /* @__PURE__ */ o("div", { children: (t == null ? void 0 : t.disclaimer) && /* @__PURE__ */ o(
187
+ $,
188
+ {
189
+ className: l.disclaimer,
190
+ blocks: t == null ? void 0 : t.disclaimer
191
+ }
192
+ ) })
193
+ ]
194
+ }
195
+ )
196
+ ]
197
+ }
198
+ )
199
+ }
200
+ );
201
+ }
202
+ export {
203
+ ct as CardGridBlock
204
+ };
@@ -1,6 +1,6 @@
1
1
  import { jsx as r, jsxs as c } from "react/jsx-runtime";
2
2
  import { useState as V, useRef as g, useEffect as B, useMemo as F } from "react";
3
- import '../../../assets/colors.css';import '../../../assets/index.css';import '../../../assets/index7.css';/* empty css */
3
+ import '../../../assets/colors.css';import '../../../assets/index.css';import '../../../assets/index4.css';/* empty css */
4
4
  import { F as m } from "../../../index-CeBA0PT0.js";
5
5
  import "react-dom";
6
6
  import { Carousel as j } from "../../../core/components/Carousel/index.js";
@@ -3,7 +3,7 @@ import { RichText as c } from "../../ui/PortableTextRenderer/index.js";
3
3
  import { CallToActions as V } from "../../ui/CallToActions/index.js";
4
4
  import W from "next/image";
5
5
  import { useStyleClasses as N } from "../../hooks/useStyleClasses.js";
6
- import '../../../assets/index6.css';const y = "_content_ivubr_1", H = "_container_ivubr_7", g = "_metrics_ivubr_34", w = "_metric_ivubr_34", B = "_metricValue_ivubr_50", $ = "_disclaimer_ivubr_71", z = "_layoutHImageRight_ivubr_76", k = "_heading_ivubr_80", C = "_image_ivubr_85", L = "_noImage_ivubr_95", R = "_layoutHImageLeft_ivubr_99", D = "_layoutVImageTop_ivubr_118", U = "_layoutVImageBottom_ivubr_131", j = "_title_ivubr_151", S = "_text_ivubr_156", F = "_cta_ivubr_170", T = "_headingHorizontal_ivubr_178", Y = "_titleWrapper_ivubr_187", q = "_headingVertical_ivubr_208", E = "_videoWrapper_ivubr_229", G = "_maxWidth_ivubr_257", J = "_fullBleed_ivubr_267", e = {
6
+ import '../../../assets/index3.css';const y = "_content_ivubr_1", H = "_container_ivubr_7", g = "_metrics_ivubr_34", w = "_metric_ivubr_34", B = "_metricValue_ivubr_50", $ = "_disclaimer_ivubr_71", z = "_layoutHImageRight_ivubr_76", k = "_heading_ivubr_80", C = "_image_ivubr_85", L = "_noImage_ivubr_95", R = "_layoutHImageLeft_ivubr_99", D = "_layoutVImageTop_ivubr_118", U = "_layoutVImageBottom_ivubr_131", j = "_title_ivubr_151", S = "_text_ivubr_156", F = "_cta_ivubr_170", T = "_headingHorizontal_ivubr_178", Y = "_titleWrapper_ivubr_187", q = "_headingVertical_ivubr_208", E = "_videoWrapper_ivubr_229", G = "_maxWidth_ivubr_257", J = "_fullBleed_ivubr_267", e = {
7
7
  content: y,
8
8
  container: H,
9
9
  metrics: g,
@@ -2,7 +2,7 @@ import { jsx as r, Fragment as m, jsxs as i } from "react/jsx-runtime";
2
2
  import { useState as C, useEffect as $ } from "react";
3
3
  import { RichText as l } from "../../ui/PortableTextRenderer/index.js";
4
4
  import B from "next/image";
5
- import '../../../assets/colors.css';import '../../../assets/index.css';import '../../../assets/index14.css';/* empty css */
5
+ import '../../../assets/colors.css';import '../../../assets/index.css';import '../../../assets/index11.css';/* empty css */
6
6
  import { Modal as u } from "../../../core/components/Modal/index.js";
7
7
  import "../../../core/components/Tabs/index.js";
8
8
  /* empty css */
@@ -3,7 +3,7 @@ import fr from "next/image";
3
3
  import { g as lr } from "../../../_commonjsHelpers-DaMA6jEr.js";
4
4
  import Oe from "react";
5
5
  import { c as dr } from "../../../createLucideIcon-C8GTh_Qx.js";
6
- import '../../../assets/index60.css';/**
6
+ import '../../../assets/index61.css';/**
7
7
  * @license lucide-react v0.488.0 - ISC
8
8
  *
9
9
  * This source code is licensed under the ISC license.
@@ -1,8 +1,8 @@
1
- import { jsx as s, Fragment as p, jsxs as i } from "react/jsx-runtime";
1
+ import { jsx as s, Fragment as p, jsxs as l } from "react/jsx-runtime";
2
2
  import { useState as P, useEffect as g } from "react";
3
- import { RichText as u } from "../../ui/PortableTextRenderer/index.js";
3
+ import { RichText as x } from "../../ui/PortableTextRenderer/index.js";
4
4
  import S from "next/image";
5
- import '../../../assets/colors.css';import '../../../assets/index.css';import '../../../assets/index13.css';/* empty css */
5
+ import '../../../assets/colors.css';import '../../../assets/index.css';import '../../../assets/index10.css';/* empty css */
6
6
  import { Modal as v } from "../../../core/components/Modal/index.js";
7
7
  import "../../../core/components/Tabs/index.js";
8
8
  /* empty css */
@@ -12,7 +12,7 @@ import { useStyleClasses as G } from "../../hooks/useStyleClasses.js";
12
12
  import "@fortawesome/fontawesome-free/css/all.min.css";
13
13
  import { P as Q } from "../../../play-DYgKiSaf.js";
14
14
  import { A as q } from "../../../arrow-right-QEwnX3Sk.js";
15
- const H = "_cardLink_kdct4_1", J = "_card_kdct4_1", K = "_container_kdct4_20", W = "_icon_kdct4_30", X = "_modalTrigger_kdct4_52", Y = "_callToAction_kdct4_57", Z = "_label_kdct4_58", V = "_cardIcon_kdct4_63", T = "_title_kdct4_70", A = "_description_kdct4_93", ee = "_image_kdct4_108", te = "_metric_kdct4_193", re = "_content_kdct4_194", se = "_outerCircle_kdct4_210", ne = "_innerCircle_kdct4_215", ce = "_metricLabel_kdct4_221", oe = "_textOnly_kdct4_229", ie = "_fullBleed_kdct4_261", de = "_imageTop_kdct4_301", le = "_imageBottom_kdct4_322", ae = "_imageLeft_kdct4_349", _e = "_imageRight_kdct4_359", me = "_containImage_kdct4_408", fe = "_fullBleedImage_kdct4_412", ke = "_eyebrow_kdct4_486", t = {
15
+ const H = "_cardLink_etuxn_1", J = "_card_etuxn_1", K = "_container_etuxn_20", W = "_icon_etuxn_30", X = "_modalTrigger_etuxn_52", Y = "_callToAction_etuxn_57", Z = "_label_etuxn_58", V = "_cardIcon_etuxn_63", T = "_title_etuxn_70", A = "_description_etuxn_93", ee = "_image_etuxn_108", te = "_metric_etuxn_189", re = "_content_etuxn_190", se = "_outerCircle_etuxn_206", ne = "_innerCircle_etuxn_211", oe = "_metricLabel_etuxn_217", ie = "_textOnly_etuxn_225", le = "_fullBleed_etuxn_257", ae = "_imageTop_etuxn_297", ce = "_imageBottom_etuxn_318", de = "_imageLeft_etuxn_345", _e = "_imageRight_etuxn_355", ue = "_containImage_etuxn_404", me = "_fullBleedImage_etuxn_408", fe = "_eyebrow_etuxn_483", t = {
16
16
  cardLink: H,
17
17
  card: J,
18
18
  container: K,
@@ -28,24 +28,24 @@ const H = "_cardLink_kdct4_1", J = "_card_kdct4_1", K = "_container_kdct4_20", W
28
28
  content: re,
29
29
  outerCircle: se,
30
30
  innerCircle: ne,
31
- metricLabel: ce,
32
- textOnly: oe,
33
- fullBleed: ie,
34
- imageTop: de,
35
- imageBottom: le,
36
- imageLeft: ae,
31
+ metricLabel: oe,
32
+ textOnly: ie,
33
+ fullBleed: le,
34
+ imageTop: ae,
35
+ imageBottom: ce,
36
+ imageLeft: de,
37
37
  imageRight: _e,
38
- containImage: me,
39
- fullBleedImage: fe,
40
- eyebrow: ke
38
+ containImage: ue,
39
+ fullBleedImage: me,
40
+ eyebrow: fe
41
41
  };
42
42
  function Re({
43
- style: x,
43
+ style: k,
44
44
  variant: L = "noImage",
45
- metricValue: l,
46
- eyebrow: a,
45
+ metricValue: c,
46
+ eyebrow: d,
47
47
  title: _,
48
- description: m,
48
+ description: u,
49
49
  image: e,
50
50
  icon: h,
51
51
  callToAction: r,
@@ -58,22 +58,22 @@ function Re({
58
58
  g(() => {
59
59
  async function n() {
60
60
  if ((r == null ? void 0 : r.type) === "link" || (r == null ? void 0 : r.type) === "download") {
61
- const o = await D(r);
62
- C(o);
61
+ const i = await D(r);
62
+ C(i);
63
63
  }
64
64
  }
65
65
  n();
66
66
  }, [r]);
67
- const d = E("(max-width: 768px)"), R = (e == null ? void 0 : e.asset) && (e == null ? void 0 : e.layout) === "cover", c = {};
67
+ const a = E("(max-width: 768px)"), R = (e == null ? void 0 : e.asset) && (e == null ? void 0 : e.layout) === "cover", o = {};
68
68
  if ((e == null ? void 0 : e.layout) === "cover")
69
- c.objectFit = "cover", e != null && e.position && (c.objectPosition = d ? "top" : e == null ? void 0 : e.position);
69
+ o.objectFit = "cover", e != null && e.position && (o.objectPosition = a ? "top" : e == null ? void 0 : e.position);
70
70
  else if ((e == null ? void 0 : e.layout) === "contain") {
71
- if (c.objectFit = "contain", (e == null ? void 0 : e.width) === "half" ? c.width = d ? "100%" : "50%" : (e == null ? void 0 : e.width) === "inset" ? c.width = d ? "100%" : "75%" : c.width = "100%", e != null && e.aspectRatio) {
72
- const [n, o] = e == null ? void 0 : e.aspectRatio.split(":").map(Number);
73
- c.aspectRatio = `${n}/${o}`;
71
+ if (o.objectFit = "contain", (e == null ? void 0 : e.width) === "half" ? o.width = a ? "100%" : "50%" : (e == null ? void 0 : e.width) === "inset" ? o.width = a ? "100%" : "75%" : o.width = "100%", e != null && e.aspectRatio) {
72
+ const [n, i] = e == null ? void 0 : e.aspectRatio.split(":").map(Number);
73
+ o.aspectRatio = `${n}/${i}`;
74
74
  }
75
75
  } else
76
- c.objectFit = "none";
76
+ o.objectFit = "none";
77
77
  const $ = {
78
78
  "full-bleed": t.fullBleed,
79
79
  text: t.textOnly,
@@ -82,7 +82,7 @@ function Re({
82
82
  "image-right": t.imageRight,
83
83
  "image-top": t.imageTop,
84
84
  "image-bottom": t.imageBottom
85
- }[x || "text"], U = /* @__PURE__ */ s(p, { children: e && e.imageUrl ? /* @__PURE__ */ s("div", { className: t.image, children: /* @__PURE__ */ s(
85
+ }[k || "text"], U = /* @__PURE__ */ s(p, { children: e && e.imageUrl ? /* @__PURE__ */ s("div", { className: t.image, children: /* @__PURE__ */ s(
86
86
  S,
87
87
  {
88
88
  src: e.imageUrl,
@@ -90,12 +90,12 @@ function Re({
90
90
  width: 600,
91
91
  height: 658,
92
92
  priority: !0,
93
- style: c
93
+ style: o
94
94
  }
95
95
  ) }) : null }), M = ({ value: n }) => {
96
96
  if (n && n.includes("%")) {
97
- const k = 2 * Math.PI * 57.5, O = k - parseFloat(n) / 100 * k;
98
- return /* @__PURE__ */ i("svg", { width: 125, height: 125, viewBox: "0 0 125 125", children: [
97
+ const f = 2 * Math.PI * 57.5, O = f - parseFloat(n) / 100 * f;
98
+ return /* @__PURE__ */ l("svg", { width: 125, height: 125, viewBox: "0 0 125 125", children: [
99
99
  /* @__PURE__ */ s(
100
100
  "circle",
101
101
  {
@@ -114,7 +114,7 @@ function Re({
114
114
  cy: 125 / 2,
115
115
  r: 57.5,
116
116
  fill: "none",
117
- strokeDasharray: k,
117
+ strokeDasharray: f,
118
118
  strokeDashoffset: O,
119
119
  strokeLinecap: "round",
120
120
  transform: `rotate(-90 ${125 / 2} ${125 / 2})`
@@ -134,33 +134,33 @@ function Re({
134
134
  ] });
135
135
  }
136
136
  return /* @__PURE__ */ s("div", { className: t.metric });
137
- }, j = !l && !a && !_ && !m, N = /* @__PURE__ */ i(p, { children: [
138
- /* @__PURE__ */ i(
137
+ }, j = !c && !d && !_ && !u, N = /* @__PURE__ */ l(p, { children: [
138
+ /* @__PURE__ */ l(
139
139
  "div",
140
140
  {
141
141
  className: `${t.container} ${R ? t.fullBleedImage : t.containImage} `,
142
142
  children: [
143
- L !== "image" && !j && /* @__PURE__ */ i("div", { className: t.content, children: [
143
+ L !== "image" && !j && /* @__PURE__ */ l("div", { className: t.content, children: [
144
144
  h && /* @__PURE__ */ s("div", { className: t.icon, children: /* @__PURE__ */ s("i", { className: h }) }),
145
- l && /* @__PURE__ */ s(M, { value: l }),
146
- a && /* @__PURE__ */ s(u, { className: t.eyebrow, blocks: a }),
147
- _ && /* @__PURE__ */ s(u, { className: t.title, blocks: _ }),
148
- m && /* @__PURE__ */ s(u, { className: t.description, blocks: m })
145
+ c && /* @__PURE__ */ s(M, { value: c }),
146
+ d && /* @__PURE__ */ s(x, { className: t.eyebrow, blocks: d }),
147
+ _ && /* @__PURE__ */ s(x, { className: t.title, blocks: _ }),
148
+ u && /* @__PURE__ */ s(x, { className: t.description, blocks: u })
149
149
  ] }),
150
150
  U
151
151
  ]
152
152
  }
153
153
  ),
154
- (r == null ? void 0 : r.videoUrl) && /* @__PURE__ */ i("div", { className: t.callToAction, children: [
154
+ (r == null ? void 0 : r.videoUrl) && /* @__PURE__ */ l("div", { className: t.callToAction, children: [
155
155
  /* @__PURE__ */ s("div", { className: t.label, children: r.label }),
156
156
  /* @__PURE__ */ s("div", { className: t.cardIcon, children: /* @__PURE__ */ s(Q, { size: 45 }) })
157
157
  ] }),
158
- (r == null ? void 0 : r.type) === "link" && /* @__PURE__ */ i("div", { className: t.callToAction, children: [
158
+ (r == null ? void 0 : r.type) === "link" && /* @__PURE__ */ l("div", { className: t.callToAction, children: [
159
159
  /* @__PURE__ */ s("div", { className: t.label, children: r.label }),
160
160
  /* @__PURE__ */ s("div", { className: t.cardIcon, children: /* @__PURE__ */ s(q, { size: 45 }) })
161
161
  ] })
162
162
  ] }), F = ({ children: n }) => {
163
- var o, f;
163
+ var i, m;
164
164
  switch (r == null ? void 0 : r.type) {
165
165
  case "link":
166
166
  return /* @__PURE__ */ s(
@@ -169,8 +169,8 @@ function Re({
169
169
  className: t.cardLink,
170
170
  "aria-label": r.ariaLabel || r.label,
171
171
  href: y,
172
- target: ((o = r.linkOptions) == null ? void 0 : o.linkType) === "external" ? "_blank" : "_self",
173
- rel: ((f = r.linkOptions) == null ? void 0 : f.linkType) === "external" ? "noopener noreferrer" : "",
172
+ target: ((i = r.linkOptions) == null ? void 0 : i.linkType) === "external" ? "_blank" : "_self",
173
+ rel: ((m = r.linkOptions) == null ? void 0 : m.linkType) === "external" ? "noopener noreferrer" : "",
174
174
  children: n
175
175
  }
176
176
  );
@@ -213,7 +213,7 @@ function Re({
213
213
  className: `${z} ${t.card} ${$ ?? ""} `,
214
214
  onMouseEnter: w,
215
215
  onMouseLeave: I,
216
- style: b && !d ? { gridArea: b } : {},
216
+ style: b && !a ? { gridArea: b } : {},
217
217
  children: (r == null ? void 0 : r.type) !== "none" ? /* @__PURE__ */ s(F, { children: N }) : /* @__PURE__ */ s(p, { children: N })
218
218
  }
219
219
  );
@@ -4,7 +4,7 @@ import { RichText as w } from "../../ui/PortableTextRenderer/index.js";
4
4
  import c from "next/image";
5
5
  import { resolveLinkURL as L } from "../../utils/resolveLinkUrl.js";
6
6
  import { A as x } from "../../../arrow-right-QEwnX3Sk.js";
7
- import '../../../assets/index5.css';const y = "_cardLink_1wgn9_1", U = "_card_1wgn9_1", b = "_title_1wgn9_17", g = "_image_1wgn9_52", N = "_icon_1wgn9_75", t = {
7
+ import '../../../assets/index12.css';const y = "_cardLink_1wgn9_1", U = "_card_1wgn9_1", b = "_title_1wgn9_17", g = "_image_1wgn9_52", N = "_icon_1wgn9_75", t = {
8
8
  cardLink: y,
9
9
  card: U,
10
10
  title: b,
@@ -1,7 +1,7 @@
1
1
  import { jsx as r, Fragment as f, jsxs as d } from "react/jsx-runtime";
2
2
  import { useState as N, useEffect as x } from "react";
3
3
  import { RichText as c } from "../../ui/PortableTextRenderer/index.js";
4
- import '../../../assets/colors.css';import '../../../assets/index.css';import '../../../assets/index4.css';/* empty css */
4
+ import '../../../assets/colors.css';import '../../../assets/index.css';import '../../../assets/index14.css';/* empty css */
5
5
  import { F as t } from "../../../index-CeBA0PT0.js";
6
6
  import { Modal as h } from "../../../core/components/Modal/index.js";
7
7
  import "../../../core/components/Tabs/index.js";
@@ -2,7 +2,7 @@ import { jsxs as l, jsx as n, Fragment as C } from "react/jsx-runtime";
2
2
  import { useState as B, useEffect as b, useRef as M } from "react";
3
3
  import { RichText as k } from "../../ui/PortableTextRenderer/index.js";
4
4
  import R from "next/image";
5
- import '../../../assets/colors.css';import '../../../assets/index.css';import '../../../assets/index11.css';/* empty css */
5
+ import '../../../assets/colors.css';import '../../../assets/index.css';import '../../../assets/index8.css';/* empty css */
6
6
  import { Modal as w } from "../../../core/components/Modal/index.js";
7
7
  import "../../../core/components/Tabs/index.js";
8
8
  /* empty css */
@@ -1,7 +1,7 @@
1
1
  import { jsx as t, jsxs as l } from "react/jsx-runtime";
2
2
  import { RichText as s } from "../../ui/PortableTextRenderer/index.js";
3
3
  import { useMediaQuery as _ } from "../../hooks/useMediaQuery.js";
4
- import '../../../assets/index3.css';const d = "_card_1677v_1", m = "_container_1677v_16", v = "_title_1677v_22", u = "_content_1677v_27", e = {
4
+ import '../../../assets/index13.css';const d = "_card_1677v_1", m = "_container_1677v_16", v = "_title_1677v_22", u = "_content_1677v_27", e = {
5
5
  card: d,
6
6
  container: m,
7
7
  title: v,
@@ -1,7 +1,7 @@
1
1
  import { jsxs as y, jsx as n } from "react/jsx-runtime";
2
2
  import v from "next/image";
3
3
  import '../../../assets/colors.css';import '../../../assets/index.css';import '../../../assets/index2.css';/* empty css */
4
- import { C as O } from "../../../index-Dq5hMTxb.js";
4
+ import { C as O } from "../../../index-dNH0sNLZ.js";
5
5
  import "react";
6
6
  import "react-dom";
7
7
  import "../../../core/components/Tabs/index.js";
@@ -2,7 +2,7 @@ import { jsx as e, jsxs as o, Fragment as _ } from "react/jsx-runtime";
2
2
  import { useState as L, useEffect as I } from "react";
3
3
  import { RichText as a } from "../../ui/PortableTextRenderer/index.js";
4
4
  import u from "next/image";
5
- import '../../../assets/colors.css';import '../../../assets/index.css';import '../../../assets/index12.css';/* empty css */
5
+ import '../../../assets/colors.css';import '../../../assets/index.css';import '../../../assets/index9.css';/* empty css */
6
6
  import { Avatar as h } from "../../../core/components/Avatar/index.js";
7
7
  import { Modal as p } from "../../../core/components/Modal/index.js";
8
8
  import "../../../core/components/Tabs/index.js";
@@ -2,7 +2,7 @@ import { jsx as o } from "react/jsx-runtime";
2
2
  import { useState as c, useEffect as b } from "react";
3
3
  import '../../../assets/colors.css';import '../../../assets/index.css';/* empty css */
4
4
  import { ButtonGroup as h } from "../../../core/components/ButtonGroup/index.js";
5
- import { C as l } from "../../../index-Dq5hMTxb.js";
5
+ import { C as l } from "../../../index-dNH0sNLZ.js";
6
6
  import { Modal as p } from "../../../core/components/Modal/index.js";
7
7
  import "../../../core/components/Tabs/index.js";
8
8
  /* empty css */
@@ -2,7 +2,7 @@ import { jsx as e, jsxs as _, Fragment as y } from "react/jsx-runtime";
2
2
  import N, { useRef as L, useEffect as C, useMemo as I } from "react";
3
3
  import { PortableText as $ } from "@portabletext/react";
4
4
  import { AnimatedSpan as z } from "../AnimatedSpan/index.js";
5
- import '../../../assets/colors.css';import '../../../assets/index.css';import '../../../assets/index8.css';/* empty css */
5
+ import '../../../assets/colors.css';import '../../../assets/index.css';import '../../../assets/index5.css';/* empty css */
6
6
  import { Heading as l } from "../../../core/components/Heading/index.js";
7
7
  import { Text as k } from "../../../core/components/Text/index.js";
8
8
  import "react-dom";
@@ -0,0 +1,6 @@
1
+ import { RichText as t } from "./PortableTextRenderer/index.js";
2
+ import { CallToActions as x } from "./CallToActions/index.js";
3
+ export {
4
+ x as CallToActions,
5
+ t as RichText
6
+ };