{"version":3,"file":"FastFactsContainer-DTqYVXlI-chunk.js","sources":["../../../node_modules/@dfa/ui-platform/dist/chunks/index.C4LxVn9M.js","../../../node_modules/@dfa/ui-platform/dist/ui/components/DCarousel/DCarouselHelpers.js","../../../node_modules/@dfa/ui-platform/dist/ui/components/DCarousel/DCarousel.js","../../../src/components/fast-facts/DataPoint.tsx","../../../src/components/fast-facts/FastFacts.tsx","../../../src/components/fast-facts/FastFactsContainer.jsx"],"sourcesContent":["import { useState as ee, useRef as k, useEffect as C, useCallback as ne, useLayoutEffect as te } from \"react\";\nvar R = typeof globalThis < \"u\" ? globalThis : typeof window < \"u\" ? window : typeof global < \"u\" ? global : typeof self < \"u\" ? self : {}, _, N;\nfunction re() {\n if (N) return _;\n N = 1;\n var n = \"Expected a function\", r = NaN, o = \"[object Symbol]\", f = /^\\s+|\\s+$/g, a = /^[-+]0x[0-9a-f]+$/i, u = /^0b[01]+$/i, l = /^0o[0-7]+$/i, c = parseInt, y = typeof R == \"object\" && R && R.Object === Object && R, z = typeof self == \"object\" && self && self.Object === Object && self, E = y || z || Function(\"return this\")(), T = Object.prototype, S = T.toString, p = Math.max, P = Math.min, h = function() {\n return E.Date.now();\n };\n function X(e, i, d) {\n var v, w, I, m, s, g, x = 0, F = !1, O = !1, A = !0;\n if (typeof e != \"function\")\n throw new TypeError(n);\n i = $(i) || 0, B(d) && (F = !!d.leading, O = \"maxWait\" in d, I = O ? p($(d.maxWait) || 0, i) : I, A = \"trailing\" in d ? !!d.trailing : A);\n function M(t) {\n var b = v, j = w;\n return v = w = void 0, x = t, m = e.apply(j, b), m;\n }\n function Q(t) {\n return x = t, s = setTimeout(L, i), F ? M(t) : m;\n }\n function V(t) {\n var b = t - g, j = t - x, G = i - b;\n return O ? P(G, I - j) : G;\n }\n function H(t) {\n var b = t - g, j = t - x;\n return g === void 0 || b >= i || b < 0 || O && j >= I;\n }\n function L() {\n var t = h();\n if (H(t))\n return q(t);\n s = setTimeout(L, V(t));\n }\n function q(t) {\n return s = void 0, A && v ? M(t) : (v = w = void 0, m);\n }\n function Y() {\n s !== void 0 && clearTimeout(s), x = 0, v = g = w = s = void 0;\n }\n function Z() {\n return s === void 0 ? m : q(h());\n }\n function W() {\n var t = h(), b = H(t);\n if (v = arguments, w = this, g = t, b) {\n if (s === void 0)\n return Q(g);\n if (O)\n return s = setTimeout(L, i), M(g);\n }\n return s === void 0 && (s = setTimeout(L, i)), m;\n }\n return W.cancel = Y, W.flush = Z, W;\n }\n function B(e) {\n var i = typeof e;\n return !!e && (i == \"object\" || i == \"function\");\n }\n function J(e) {\n return !!e && typeof e == \"object\";\n }\n function K(e) {\n return typeof e == \"symbol\" || J(e) && S.call(e) == o;\n }\n function $(e) {\n if (typeof e == \"number\")\n return e;\n if (K(e))\n return r;\n if (B(e)) {\n var i = typeof e.valueOf == \"function\" ? e.valueOf() : e;\n e = B(i) ? i + \"\" : i;\n }\n if (typeof e != \"string\")\n return e === 0 ? e : +e;\n e = e.replace(f, \"\");\n var d = u.test(e);\n return d || l.test(e) ? c(e.slice(2), d ? 2 : 8) : a.test(e) ? r : +e;\n }\n return _ = X, _;\n}\nre();\nvar ie = typeof window < \"u\" ? te : C;\nfunction oe(n, r, o, f) {\n const a = k(r);\n ie(() => {\n a.current = r;\n }, [r]), C(() => {\n const u = window;\n if (!(u && u.addEventListener))\n return;\n const l = (c) => {\n a.current(c);\n };\n return u.addEventListener(n, l, f), () => {\n u.removeEventListener(n, l, f);\n };\n }, [n, o, f]);\n}\nfunction ue() {\n const n = k(!1);\n return C(() => (n.current = !0, () => {\n n.current = !1;\n }), []), ne(() => n.current, []);\n}\nfunction se(n, r, o = \"mousedown\", f = {}) {\n oe(\n o,\n (a) => {\n const u = a.target;\n if (!u || !u.isConnected)\n return;\n (Array.isArray(n) ? n.filter((c) => !!c.current).every((c) => c.current && !c.current.contains(u)) : n.current && !n.current.contains(u)) && r(a);\n },\n void 0,\n f\n );\n}\nvar D = {\n width: void 0,\n height: void 0\n};\nfunction fe(n) {\n const { ref: r, box: o = \"content-box\" } = n, [{ width: f, height: a }, u] = ee(D), l = ue(), c = k({ ...D }), y = k(void 0);\n return y.current = n.onResize, C(() => {\n if (!r.current || typeof window > \"u\" || !(\"ResizeObserver\" in window))\n return;\n const z = new ResizeObserver(([E]) => {\n const T = o === \"border-box\" ? \"borderBoxSize\" : o === \"device-pixel-content-box\" ? \"devicePixelContentBoxSize\" : \"contentBoxSize\", S = U(E, T, \"inlineSize\"), p = U(E, T, \"blockSize\");\n if (c.current.width !== S || c.current.height !== p) {\n const h = { width: S, height: p };\n c.current.width = S, c.current.height = p, y.current ? y.current(h) : l() && u(h);\n }\n });\n return z.observe(r.current, { box: o }), () => {\n z.disconnect();\n };\n }, [o, r, l]), { width: f, height: a };\n}\nfunction U(n, r, o) {\n return n[r] ? Array.isArray(n[r]) ? n[r][0][o] : (\n // @ts-ignore Support Firefox's non-standard behavior\n n[r][o]\n ) : r === \"contentBoxSize\" ? n.contentRect[o === \"inlineSize\" ? \"width\" : \"height\"] : void 0;\n}\nexport {\n se as a,\n fe as u\n};\n//# sourceMappingURL=index.C4LxVn9M.js.map\n","import { createElement as y } from \"react\";\nimport '../../../styles/DCarouselHelpers.css';const w = \"_dCarousel_za6d7_1\", _ = \"_dCarouselContainer_za6d7_13\", v = \"_dCarouselContainerOverflowHidden_za6d7_17\", O = \"_dCarouselCard_za6d7_21\", N = {\n dCarousel: w,\n dCarouselContainer: _,\n dCarouselContainerOverflowHidden: v,\n dCarouselCard: O\n}, B = (s, r, t, n) => {\n let a = [], o = 0, f = [], u = [], e = 0, c = r.length, d = 0, L = {}, m = {};\n if (!s)\n return a = r.map((l, C) => {\n const i = Number(l.props.customSpan) || 1, h = i > t ? t : i;\n for (let p = 0; p < h; p++)\n L[C] = d, o++, m[C] ? m[C].push(o) : m[C] = [o];\n return o >= t && r[C + 1] && (d += 1), y(\n \"div\",\n {\n key: `d-carousel-card-${C}`,\n className: N.dCarouselCard,\n \"data-custom-span\": h || 1,\n ref: (p) => n.current[C] = p\n },\n l\n );\n }), {\n beginningIndex: e,\n sections: a,\n endingIndex: c,\n sectionIndexes: JSON.stringify(L),\n totalSections: d,\n cellIndexes: JSON.stringify(m),\n totalCells: o\n };\n for (let l = r.length - 1; l >= 0; l--) {\n const C = r[l];\n if (o += Number(C.props.customSpan) || 1, f.push(C), o >= t) {\n f = f.reverse(), e = f.length;\n break;\n }\n }\n o = 0;\n for (let l = 0; l < r.length; l++) {\n const C = r[l], i = Number(C.props.customSpan) || 1;\n for (let h = 0; h < i; h++)\n L[l] = d, o++, m[l] ? m[l].push(o) : m[l] = [o];\n o >= t && r[l + 1] && (d += 1);\n }\n o = 0;\n for (let l = 0; l < r.length; l++) {\n const C = r[l];\n if (o += Number(C.props.customSpan) || 1, u.push(C), o >= t)\n break;\n }\n return a = [...f, ...r, ...u], c = e + r.length, a = a.map((l, C) => {\n const i = C < e || C > c - 1, h = Number(l.props.customSpan) || 1, p = h > t ? t : h;\n return y(\n \"div\",\n {\n className: i ? N.dCarouselCardClone : N.dCarouselCard,\n key: `d-carousel-card-${C}`,\n \"data-custom-span\": p || 1,\n \"aria-hidden\": i,\n \"aria-roledescription\": i ? \"Carousel slide clone\" : \"Carousel slide\",\n ref: ($) => n.current[C] = $\n },\n l\n );\n }), {\n beginningIndex: e,\n sections: a,\n endingIndex: c,\n sectionIndexes: JSON.stringify(L),\n totalSections: d,\n cellIndexes: JSON.stringify(m),\n totalCells: o\n };\n}, E = (s, r, t, n, a, o, f) => {\n const u = o ? f ? t - s < a ? t === a ? n - r : a : t === n - r ? t - ((n - a) % s || s) : t - s : t - s < a ? n + (t - a) - s : t - s : t - s <= 0 ? 0 : t - s;\n return u >= 0 ? u : t;\n}, b = (s, r, t, n) => {\n const a = JSON.parse(r), o = Object.values(a);\n let f = t;\n if (s) {\n let u = 0;\n for (let e = o.length - 1; e >= 0; e--) {\n if (u += o[e].length, u > n) {\n f = e + 1;\n break;\n }\n e === 0 && (f = 0);\n }\n }\n return f;\n}, j = (s, r, t, n, a, o, f, u) => {\n const e = b(f, u, n, r) + (o && f ? a : 0), c = o ? f ? t + s >= e ? t === e ? a : e : t + s : t + s >= e ? a - (e - t) + s : t + s : f ? t + s >= e ? e : t + s : t + s >= e ? t : t + s;\n return c >= 0 ? c : t;\n}, F = (s, r, t, n, a) => {\n if (s)\n for (let o = 0; o < s.length; o++) {\n const f = s[o];\n if (r < f.breakpoint) {\n n((u) => {\n const e = Object.assign({}, t, f.settings);\n return a(u.cardsPerSection !== e.cardsPerSection), e;\n });\n return;\n }\n }\n n((o) => {\n const f = { ...t };\n return a(o.cardsPerSection !== f.cardsPerSection), f;\n });\n}, J = (s) => {\n s((r) => {\n for (let t = r.length - 1; t >= 0; t--) {\n const n = r[t];\n clearTimeout(n), r.pop();\n }\n return r;\n });\n}, M = (s, r, t, n, a, o, f, u, e) => {\n const c = r.current, d = t.current, L = n.current, m = c[a];\n if (L && d && c.length > 0) {\n const l = d.getBoundingClientRect().left - L.getBoundingClientRect().left - d.offsetLeft;\n if (d.style.translate = `${l / 16}rem 0`, d.getAnimations().forEach((i) => i.cancel()), (s === \"next\" ? Math.abs(l) < m.offsetLeft : m.offsetLeft < Math.abs(l)) || !o)\n d.animate(\n [\n { translate: `${l / 16}rem 0` },\n { translate: `-${m.offsetLeft / 16}rem 0` }\n ],\n f\n );\n else if (s === \"next\") {\n const i = c[u - 1].offsetLeft - Math.abs(l), h = m.offsetLeft - c[e - 1].offsetLeft, p = i + h, $ = i / p;\n d.animate(\n {\n translate: [\n `${l / 16}rem 0`,\n `${-c[u - 1].offsetLeft / 16}rem 0`,\n `${-c[e - 1].offsetLeft / 16}rem 0`,\n `${-m.offsetLeft / 16}rem 0`\n ],\n offset: [0, $, $, 1]\n },\n f\n );\n } else {\n const i = Math.abs(l) - c[e - 1].offsetLeft, h = c[u].offsetLeft - m.offsetLeft, p = i + h, $ = i / p;\n d.animate(\n {\n translate: [\n `${l / 16}rem 0`,\n `${-c[e - 1].offsetLeft / 16}rem 0`,\n `${-c[u - 1].offsetLeft / 16}rem 0`,\n `${-m.offsetLeft / 16}rem 0`\n ],\n offset: [0, $, $, 1]\n },\n f\n );\n }\n }\n}, A = (s, r, t, n, a, o, f, u) => {\n let e = 0;\n return !s || r ? (n + t < o ? e = u[n - a] : e = f, n < a + t && (e = 1), n === a && (e = 0)) : e = u[n - a], e;\n}, z = (s, r, t, n, a, o, f, u) => {\n if (s) {\n if (s === \"backwards\") {\n const e = r[t].offsetLeft + n;\n a.animate(\n { translate: `-${(r[o].offsetLeft - e) / 16}rem 0` },\n { fill: \"forwards\", duration: 0 }\n );\n } else if (s === \"forwards\") {\n const e = r[o].offsetLeft + n;\n a.animate(\n { translate: `-${(r[t].offsetLeft - e) / 16}rem 0` },\n { fill: \"forwards\", duration: 0 }\n );\n }\n } else\n a.animate(\n { translate: `${(n - (f - u)) / 16}rem 0` },\n { fill: \"forwards\", duration: 0 }\n );\n}, H = (s, r, t, n, a) => {\n const o = s.current, f = r.current;\n f && o && (o.style.setProperty(\"--d-carousel-cards-per-sections\", String(t)), n && f.style.setProperty(\"--d-carousel-gap\", n), t && f.style.setProperty(\"--d-carousel-cards-per-section\", String(t)), a && f.querySelectorAll(\"[data-custom-span]\").forEach((e) => {\n const c = e.getAttribute(\"data-custom-span\");\n c && (e.style.gridColumn = `span ${c}`);\n }));\n};\nexport {\n M as animateCarousel,\n J as clearCurrentTimeout,\n B as createCardSections,\n z as dragMoveCarousel,\n A as findCurrentSection,\n b as findFinalCard,\n j as findNextCard,\n E as findPrevCard,\n H as initCardWidths,\n N as s,\n F as updateResponsiveSettings\n};\n//# sourceMappingURL=DCarouselHelpers.js.map\n","import { jsx as we } from \"react/jsx-runtime\";\nimport { forwardRef as ke, useMemo as S, useState as b, useRef as V, Children as Ce, useCallback as ge, useEffect as x, useImperativeHandle as Ne } from \"react\";\nimport { u as Pe } from \"../../../chunks/index.C4LxVn9M.js\";\nimport { s as _, createCardSections as Re, findNextCard as K, animateCarousel as be, findPrevCard as Q, findCurrentSection as Se, findFinalCard as De, initCardWidths as $e, clearCurrentTimeout as D, updateResponsiveSettings as Te, dragMoveCarousel as Be } from \"./DCarouselHelpers.js\";\nconst He = ke(\n ({\n carouselClassname: M,\n settings: z,\n responsiveSettings: E,\n setCarouselInternal: O,\n hideOverflow: Z = !0,\n children: X,\n dataQA: xe\n }, ve) => {\n E = S(\n () => E?.filter((e) => e.breakpoint && e.breakpoint > 0).sort((e, t) => e.breakpoint - t.breakpoint),\n [E]\n );\n const [o, W] = b(0), [ee, Ie] = b(window.innerWidth), [$, ye] = b({\n ...z,\n ...E?.find((e) => window.innerWidth < e.breakpoint)?.settings || {}\n }), [te, H] = b(!1), [j, I] = b([]), [p, F] = b(!1), y = V(null), C = V(null), v = V([]), {\n cardsPerSection: c = 1,\n gapBetweenCards: ne = \"1rem\",\n cardsToScroll: u = 1,\n animationDuration: P = 500,\n autoplaySettings: k,\n prettyWrapping: l = !0,\n draggable: re = !1,\n animationEasing: oe = \"ease-in\"\n } = $, i = $.wraps && Ce.toArray(X).length > c || !1, { autoplayDirection: ie, intervalDuration: se } = k || {}, Le = S(\n () => `${_.dCarousel} ${M ? ` ${M}` : \"\"}`,\n [M]\n ), Ae = S(\n () => `${_.dCarouselContainer}${Z ? ` ${_.dCarouselContainerOverflowHidden}` : \"\"}`,\n [Z]\n ), {\n totalSections: L,\n sectionIndexes: ae,\n beginningIndex: n,\n sections: J,\n endingIndex: d,\n cellIndexes: g,\n totalCells: ce\n } = S(() => Re(\n i,\n Ce.toArray(X),\n c,\n v\n ), [c, X, i]), N = S(\n () => ({\n easing: oe,\n fill: \"forwards\",\n duration: P\n }),\n [P, oe]\n ), T = ge(() => {\n W((e) => {\n const t = K(\n u,\n c,\n e,\n d,\n n,\n i,\n l,\n g\n );\n return e === t || be(\n \"next\",\n v,\n C,\n y,\n t,\n i,\n N,\n d,\n n\n ), t;\n });\n }, [\n l,\n i,\n N,\n u,\n c,\n n,\n d,\n g\n ]), B = ge(() => {\n W((e) => {\n const t = Q(\n u,\n c,\n e,\n d,\n n,\n i,\n l\n );\n return e === t || be(\n \"previous\",\n v,\n C,\n y,\n t,\n i,\n N,\n d,\n n\n ), t;\n });\n }, [\n N,\n n,\n u,\n c,\n d,\n l,\n i\n ]);\n x(() => {\n if (o - n >= 0 && O) {\n const e = JSON.parse(ae), t = JSON.parse(g), f = Se(\n i,\n l,\n c,\n o,\n n,\n d,\n L,\n e\n ), s = o - n;\n let r = Object.keys(e).length;\n const m = De(l, g, d, c) - (i && !l ? n : 0);\n let h = l ? Math.ceil(m / u) : Math.floor(m / u);\n m % u === 0 && !l && i && h--;\n const w = l && o === ce - c ? h : Math.ceil((o - n) / u);\n O({\n cardIndex: s,\n sectionIndexes: e,\n currentSection: f,\n totalSections: L,\n totalCards: r,\n clickNumber: w,\n clicksToEnd: h,\n atCarouselBeginning: !i && o === 0,\n atCarouselEnd: L === 0 || !i && f === L,\n cellIndexes: t\n });\n }\n }, [\n n,\n o,\n L,\n O,\n d,\n ae,\n l,\n i,\n c,\n u,\n ce,\n g\n ]), x(() => {\n $e(y, C, c, ne, J);\n }, [ne, c, J]), x(() => {\n if (o >= n)\n return H(!0), () => {\n H(!1);\n };\n W(n);\n const e = C.current, t = v.current;\n return e && t.length > 0 && e.animate([{ translate: `-${t[n].offsetLeft / 16}rem 0` }], {\n duration: 0,\n fill: \"forwards\"\n }), () => {\n H(!1);\n };\n }, [n, o]);\n const [U, Ee] = b(), [ue, le] = b(!1);\n x(() => {\n const e = () => {\n const t = window.innerWidth;\n Ie(t), F(!1), ee !== t && (Te(\n E,\n t,\n z,\n ye,\n le\n ), D(I), Ee(o - n));\n };\n return p || e(), window.addEventListener(\"resize\", e), () => {\n window.removeEventListener(\"resize\", e);\n };\n }, [E, o, z, ee, n, p]), x(() => {\n ue && U !== void 0 && (W((e) => {\n const t = U + n, f = t % u, s = t - f;\n let r = K(\n u,\n c,\n s,\n d,\n n,\n i,\n l,\n g\n );\n s + u <= d && (r = Q(\n u,\n c,\n r,\n d,\n n,\n i,\n l\n ));\n const m = C.current, h = v.current;\n return m && h.length > 0 && (m.getAnimations().forEach((a) => a.cancel()), m.animate(\n { translate: `-${h[r]?.offsetLeft / 16 || 0}rem 0` },\n { fill: \"forwards\", duration: 0 }\n )), r;\n }), le(!1));\n }, [\n c,\n U,\n u,\n n,\n ue,\n l,\n i,\n d,\n g\n ]), x(() => {\n if (!(!te || !o || !$)) {\n if (!k || k && !Object.keys(k).length || p) {\n D(I);\n return;\n }\n if (j.length === 0 && k && !p) {\n const e = se || 3e3;\n let f = (ie || \"forwards\") !== \"backwards\" ? T : B;\n const s = () => {\n f();\n const r = setTimeout(s, e + P);\n I((m) => (m.forEach((a) => clearTimeout(a)), [r]));\n };\n if (j.length === 0) {\n const r = setTimeout(s, e + P);\n I([r]);\n }\n }\n }\n }, [\n $,\n ie,\n k,\n j,\n T,\n B,\n P,\n se,\n p,\n te,\n o\n ]);\n const { width: Y } = Pe({\n ref: y,\n box: \"content-box\"\n }), [de, We] = b();\n return x(() => {\n if (Y !== de && !p) {\n const e = C.current, t = v.current;\n e && t.length > 0 && (e.getAnimations().forEach((f) => f.cancel()), e.animate(\n { translate: `-${t[o]?.offsetLeft / 16 || 0}rem 0` },\n { fill: \"forwards\", duration: 0 }\n ));\n }\n We(Y);\n }, [o, p, Y, de]), x(() => {\n const e = C.current;\n let t = v.current;\n if (e) {\n let f = 0;\n const s = Number(\n y.current?.style.getPropertyValue(\"--d-carousel-cards-per-sections\")\n ) || 1;\n t.forEach((r, m) => {\n r && (r.classList.remove(\"visible\"), r.setAttribute(\"aria-current\", \"false\"), r.setAttribute(\"aria-hidden\", \"true\"), r.setAttribute(\"inert\", \"\"), m >= o && f < s && (f = Number(r.getAttribute(\"data-custom-span\")) + f, r.classList.add(\"visible\"), r.setAttribute(\"aria-current\", \"true\"), r.setAttribute(\"aria-hidden\", \"false\"), r.removeAttribute(\"inert\")));\n });\n }\n }, [o]), x(() => {\n if (!re || L < 1 || o < n) return;\n const e = C.current, t = y.current, f = v.current;\n if (f.length > 0 && t && e) {\n let s;\n const r = (a) => {\n a.stopPropagation(), F(!0), p || (s = \"touches\" in a ? a.touches[0].clientX : a.x);\n }, m = (a) => {\n if (a.stopPropagation(), p) {\n let w = \"touches\" in a ? a.touches[0].clientX : a.x;\n const fe = \"touches\" in a ? a.touches[0].clientY : a.y;\n if (s === w) return;\n if (!s) {\n s = w;\n return;\n }\n const me = t.getBoundingClientRect();\n if (me.bottom < fe || me.top > fe)\n return h(a);\n D(I);\n const q = e.getBoundingClientRect().left - t.getBoundingClientRect().left - e.offsetLeft;\n e.getAnimations().forEach((A) => A.cancel());\n const he = t.clientWidth / 4, pe = f[o];\n let G;\n -(pe.offsetLeft + he) > q - (s - w) && w < s ? W((A) => {\n const R = K(\n u,\n c,\n A,\n d,\n n,\n i,\n l,\n g\n );\n return R < A && (G = \"forwards\"), R;\n }) : (\n // if pointer interaction is sliding the carousel backwards\n -(pe.offsetLeft - he) <= q - (s - w) && w > s && W((A) => {\n const R = Q(\n u,\n c,\n A,\n d,\n n,\n i,\n l\n );\n return R > A && (G = \"backwards\"), R;\n })\n ), Be(\n G,\n f,\n n,\n q,\n e,\n d,\n s,\n w\n ), s = w;\n }\n }, h = (a) => {\n a.stopPropagation(), p && e.animate(\n { translate: `-${f[o]?.offsetLeft / 16 || 0}rem 0` },\n N\n ), F(!1);\n };\n return t.onmousedown = r, t.ontouchstart = r, t.ontouchend = h, t.ontouchcancel = h, t.ontouchmove = m, window.addEventListener(\"mousemove\", m), window.addEventListener(\"mouseup\", h), () => {\n window.removeEventListener(\"mousemove\", m), window.removeEventListener(\"mouseup\", h);\n };\n }\n }, [\n N,\n n,\n u,\n c,\n d,\n o,\n p,\n l,\n i,\n re,\n L,\n g\n ]), Ne(\n ve,\n () => ({\n previous() {\n D(I), B();\n },\n next() {\n D(I), T();\n }\n }),\n [T, B]\n ), /* @__PURE__ */ we(\n \"div\",\n {\n className: Ae,\n ref: y,\n \"data-qa\": xe,\n role: \"region\",\n \"aria-label\": \"D-Carousel\",\n children: /* @__PURE__ */ we(\"div\", { className: Le, ref: C, children: J })\n }\n );\n }\n);\nexport {\n He as default\n};\n//# sourceMappingURL=DCarousel.js.map\n","import { DataPointProps } from \"./fast-facts-types\";\n\nexport const DataPoint = ({\n\tdataPoint,\n\ttheme = \"default\",\n\tdataPointTitleClass,\n\tdataPointDescriptionClass\n}: DataPointProps) => {\n\tconst { title, icon, description, descriptionLine2, descriptionLine3, subDescription } =\n\t\tdataPoint;\n\treturn (\n\t\t
{description}
\n\t\t\t\t)}\n\t\t\t\t{descriptionLine2 && (\n\t\t\t\t\t\n\t\t\t\t\t\t{descriptionLine2}\n\t\t\t\t\t
\n\t\t\t\t)}\n\t\t\t\t{descriptionLine3 && (\n\t\t\t\t\t\n\t\t\t\t\t\t{descriptionLine3}\n\t\t\t\t\t
\n\t\t\t\t)}\n\t\t\t\t{subDescription && (\n\t\t\t\t\t{subDescription}
\n\t\t\t\t)}\n\t\t\t{subTitle}
\n\t\t\t\t\t\t\t