@cooperco/cooper-component-library 0.1.95 → 0.1.97
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/cms/0083-create-placeholder-module.cjs +44 -0
- package/dist/cms/0084-limit-page-modules.cjs +40 -0
- package/dist/cms/contentful/migrations/scripts/0083-create-placeholder-module.cjs +44 -0
- package/dist/cms/contentful/migrations/scripts/0084-limit-page-modules.cjs +40 -0
- package/dist/cms/contentful/queries/helloBanner.query.d.ts +3 -0
- package/dist/cms/contentful/queries/helloBanner.query.js +30 -0
- package/dist/cms/contentful/queries/helloBanner.query.ts +33 -0
- package/dist/cms/contentful/queries/index.d.ts +2 -0
- package/dist/cms/contentful/queries/index.js +2 -0
- package/dist/cms/contentful/queries/index.ts +2 -0
- package/dist/cms/contentful/queries/placeholderModule.query.d.ts +3 -0
- package/dist/cms/contentful/queries/placeholderModule.query.js +19 -0
- package/dist/cms/contentful/queries/placeholderModule.query.ts +22 -0
- package/dist/cms/helloBanner.query.ts +33 -0
- package/dist/cms/index.ts +2 -0
- package/dist/cms/migrations/scripts/0083-create-placeholder-module.cjs +44 -0
- package/dist/cms/migrations/scripts/0084-limit-page-modules.cjs +40 -0
- package/dist/cms/placeholderModule.query.ts +22 -0
- package/dist/cms/queries/helloBanner.query.ts +33 -0
- package/dist/cms/queries/index.ts +2 -0
- package/dist/cms/queries/placeholderModule.query.ts +22 -0
- package/dist/cms/scripts/0083-create-placeholder-module.cjs +44 -0
- package/dist/cms/scripts/0084-limit-page-modules.cjs +40 -0
- package/dist/lib/component-lib.js +587 -573
- package/dist/lib/component-lib.umd.cjs +11 -11
- package/dist/types/cms/contentful/queries/helloBanner.query.d.ts +3 -0
- package/dist/types/cms/contentful/queries/index.d.ts +2 -0
- package/dist/types/cms/contentful/queries/placeholderModule.query.d.ts +3 -0
- package/dist/types/src/components/PlaceholderModule/PlaceholderModule.d.ts +12 -0
- package/dist/types/src/components/types.d.ts +3 -0
- package/dist/types/src/types.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var Ei = Object.defineProperty;
|
|
2
2
|
var Di = (n, e, t) => e in n ? Ei(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t;
|
|
3
3
|
var V = (n, e, t) => (Di(n, typeof e != "symbol" ? e + "" : e, t), t);
|
|
4
|
-
import { ref as e2, readonly as sn, getCurrentInstance as s1, onMounted as dt, nextTick as rn, watch as G2, mergeProps as B, openBlock as m, createElementBlock as v, renderSlot as v2, createTextVNode as F0, toDisplayString as Y, createElementVNode as $, resolveComponent as jt, resolveDirective as an, withDirectives as T2, normalizeClass as M, createBlock as D, createCommentVNode as _, defineComponent as t2, computed as k, resolveDynamicComponent as m2, unref as y, withCtx as u2, Fragment as q, renderList as n2, withModifiers as ae, vShow as z2, normalizeProps as x0, getCurrentScope as Ri, onScopeDispose as ji, toRef as Hi, customRef as zi, normalizeStyle as k2, createSlots as R0, createVNode as
|
|
4
|
+
import { ref as e2, readonly as sn, getCurrentInstance as s1, onMounted as dt, nextTick as rn, watch as G2, mergeProps as B, openBlock as m, createElementBlock as v, renderSlot as v2, createTextVNode as F0, toDisplayString as Y, createElementVNode as $, resolveComponent as jt, resolveDirective as an, withDirectives as T2, normalizeClass as M, createBlock as D, createCommentVNode as _, defineComponent as t2, computed as k, resolveDynamicComponent as m2, unref as y, withCtx as u2, Fragment as q, renderList as n2, withModifiers as ae, vShow as z2, normalizeProps as x0, getCurrentScope as Ri, onScopeDispose as ji, toRef as Hi, customRef as zi, normalizeStyle as k2, createSlots as R0, createVNode as E2, guardReactiveProps as Ni, useAttrs as Vi, version as Wi, shallowRef as ln, onUnmounted as Ui, toRaw as Ht, h as zt, isProxy as cn } from "vue";
|
|
5
5
|
const r1 = "-", Yi = (n) => {
|
|
6
6
|
const e = qi(n), {
|
|
7
7
|
conflictingClassGroups: t,
|
|
@@ -111,26 +111,26 @@ const r1 = "-", Yi = (n) => {
|
|
|
111
111
|
} = n, i = e.length === 1, o = e[0], s = e.length, r = (a) => {
|
|
112
112
|
const l = [];
|
|
113
113
|
let c = 0, d = 0, u;
|
|
114
|
-
for (let
|
|
115
|
-
let b = a[
|
|
114
|
+
for (let p = 0; p < a.length; p++) {
|
|
115
|
+
let b = a[p];
|
|
116
116
|
if (c === 0) {
|
|
117
|
-
if (b === o && (i || a.slice(
|
|
118
|
-
l.push(a.slice(d,
|
|
117
|
+
if (b === o && (i || a.slice(p, p + s) === e)) {
|
|
118
|
+
l.push(a.slice(d, p)), d = p + s;
|
|
119
119
|
continue;
|
|
120
120
|
}
|
|
121
121
|
if (b === "/") {
|
|
122
|
-
u =
|
|
122
|
+
u = p;
|
|
123
123
|
continue;
|
|
124
124
|
}
|
|
125
125
|
}
|
|
126
126
|
b === "[" ? c++ : b === "]" && c--;
|
|
127
127
|
}
|
|
128
|
-
const f = l.length === 0 ? a : a.substring(d), h = f.startsWith(un), g = h ? f.substring(1) : f,
|
|
128
|
+
const f = l.length === 0 ? a : a.substring(d), h = f.startsWith(un), g = h ? f.substring(1) : f, C = u && u > d ? u - d : void 0;
|
|
129
129
|
return {
|
|
130
130
|
modifiers: l,
|
|
131
131
|
hasImportantModifier: h,
|
|
132
132
|
baseClassName: g,
|
|
133
|
-
maybePostfixModifierPosition:
|
|
133
|
+
maybePostfixModifierPosition: C
|
|
134
134
|
};
|
|
135
135
|
};
|
|
136
136
|
return t ? (a) => t({
|
|
@@ -163,23 +163,23 @@ const r1 = "-", Yi = (n) => {
|
|
|
163
163
|
baseClassName: f,
|
|
164
164
|
maybePostfixModifierPosition: h
|
|
165
165
|
} = t(c);
|
|
166
|
-
let g = !!h,
|
|
167
|
-
if (!
|
|
166
|
+
let g = !!h, C = i(g ? f.substring(0, h) : f);
|
|
167
|
+
if (!C) {
|
|
168
168
|
if (!g) {
|
|
169
169
|
a = c + (a.length > 0 ? " " + a : a);
|
|
170
170
|
continue;
|
|
171
171
|
}
|
|
172
|
-
if (
|
|
172
|
+
if (C = i(f), !C) {
|
|
173
173
|
a = c + (a.length > 0 ? " " + a : a);
|
|
174
174
|
continue;
|
|
175
175
|
}
|
|
176
176
|
g = !1;
|
|
177
177
|
}
|
|
178
|
-
const
|
|
178
|
+
const p = e4(d).join(":"), b = u ? p + un : p, w = b + C;
|
|
179
179
|
if (s.includes(w))
|
|
180
180
|
continue;
|
|
181
181
|
s.push(w);
|
|
182
|
-
const Z = o(
|
|
182
|
+
const Z = o(C, g);
|
|
183
183
|
for (let S = 0; S < Z.length; ++S) {
|
|
184
184
|
const A = Z[S];
|
|
185
185
|
s.push(b + A);
|
|
@@ -231,7 +231,7 @@ const l2 = (n) => {
|
|
|
231
231
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
232
232
|
c4.test(n) && !d4.test(n)
|
|
233
233
|
), pn = () => !1, M4 = (n) => u4.test(n), x4 = (n) => h4.test(n), w4 = () => {
|
|
234
|
-
const n = l2("colors"), e = l2("spacing"), t = l2("blur"), i = l2("brightness"), o = l2("borderColor"), s = l2("borderRadius"), r = l2("borderSpacing"), a = l2("borderWidth"), l = l2("contrast"), c = l2("grayscale"), d = l2("hueRotate"), u = l2("invert"), f = l2("gap"), h = l2("gradientColorStops"), g = l2("gradientColorStopPositions"),
|
|
234
|
+
const n = l2("colors"), e = l2("spacing"), t = l2("blur"), i = l2("brightness"), o = l2("borderColor"), s = l2("borderRadius"), r = l2("borderSpacing"), a = l2("borderWidth"), l = l2("contrast"), c = l2("grayscale"), d = l2("hueRotate"), u = l2("invert"), f = l2("gap"), h = l2("gradientColorStops"), g = l2("gradientColorStopPositions"), C = l2("inset"), p = l2("margin"), b = l2("opacity"), w = l2("padding"), Z = l2("saturate"), S = l2("scale"), A = l2("sepia"), P = l2("skew"), I = l2("space"), L = l2("translate"), E = () => ["auto", "contain", "none"], j = () => ["auto", "hidden", "clip", "visible", "scroll"], R = () => ["auto", K, e], T = () => [K, e], x = () => ["", U2, e0], O = () => ["auto", I0, K], F = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], H = () => ["solid", "dashed", "dotted", "double", "none"], z = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], G = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], X = () => ["", "0", K], M2 = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], w2 = () => [I0, K];
|
|
235
235
|
return {
|
|
236
236
|
cacheSize: 500,
|
|
237
237
|
separator: ":",
|
|
@@ -354,7 +354,7 @@ const l2 = (n) => {
|
|
|
354
354
|
* @see https://tailwindcss.com/docs/object-position
|
|
355
355
|
*/
|
|
356
356
|
"object-position": [{
|
|
357
|
-
object: [...
|
|
357
|
+
object: [...F(), K]
|
|
358
358
|
}],
|
|
359
359
|
/**
|
|
360
360
|
* Overflow
|
|
@@ -408,63 +408,63 @@ const l2 = (n) => {
|
|
|
408
408
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
409
409
|
*/
|
|
410
410
|
inset: [{
|
|
411
|
-
inset: [
|
|
411
|
+
inset: [C]
|
|
412
412
|
}],
|
|
413
413
|
/**
|
|
414
414
|
* Right / Left
|
|
415
415
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
416
416
|
*/
|
|
417
417
|
"inset-x": [{
|
|
418
|
-
"inset-x": [
|
|
418
|
+
"inset-x": [C]
|
|
419
419
|
}],
|
|
420
420
|
/**
|
|
421
421
|
* Top / Bottom
|
|
422
422
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
423
423
|
*/
|
|
424
424
|
"inset-y": [{
|
|
425
|
-
"inset-y": [
|
|
425
|
+
"inset-y": [C]
|
|
426
426
|
}],
|
|
427
427
|
/**
|
|
428
428
|
* Start
|
|
429
429
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
430
430
|
*/
|
|
431
431
|
start: [{
|
|
432
|
-
start: [
|
|
432
|
+
start: [C]
|
|
433
433
|
}],
|
|
434
434
|
/**
|
|
435
435
|
* End
|
|
436
436
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
437
437
|
*/
|
|
438
438
|
end: [{
|
|
439
|
-
end: [
|
|
439
|
+
end: [C]
|
|
440
440
|
}],
|
|
441
441
|
/**
|
|
442
442
|
* Top
|
|
443
443
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
444
444
|
*/
|
|
445
445
|
top: [{
|
|
446
|
-
top: [
|
|
446
|
+
top: [C]
|
|
447
447
|
}],
|
|
448
448
|
/**
|
|
449
449
|
* Right
|
|
450
450
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
451
451
|
*/
|
|
452
452
|
right: [{
|
|
453
|
-
right: [
|
|
453
|
+
right: [C]
|
|
454
454
|
}],
|
|
455
455
|
/**
|
|
456
456
|
* Bottom
|
|
457
457
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
458
458
|
*/
|
|
459
459
|
bottom: [{
|
|
460
|
-
bottom: [
|
|
460
|
+
bottom: [C]
|
|
461
461
|
}],
|
|
462
462
|
/**
|
|
463
463
|
* Left
|
|
464
464
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
465
465
|
*/
|
|
466
466
|
left: [{
|
|
467
|
-
left: [
|
|
467
|
+
left: [C]
|
|
468
468
|
}],
|
|
469
469
|
/**
|
|
470
470
|
* Visibility
|
|
@@ -549,14 +549,14 @@ const l2 = (n) => {
|
|
|
549
549
|
* @see https://tailwindcss.com/docs/grid-column
|
|
550
550
|
*/
|
|
551
551
|
"col-start": [{
|
|
552
|
-
"col-start":
|
|
552
|
+
"col-start": O()
|
|
553
553
|
}],
|
|
554
554
|
/**
|
|
555
555
|
* Grid Column End
|
|
556
556
|
* @see https://tailwindcss.com/docs/grid-column
|
|
557
557
|
*/
|
|
558
558
|
"col-end": [{
|
|
559
|
-
"col-end":
|
|
559
|
+
"col-end": O()
|
|
560
560
|
}],
|
|
561
561
|
/**
|
|
562
562
|
* Grid Template Rows
|
|
@@ -579,14 +579,14 @@ const l2 = (n) => {
|
|
|
579
579
|
* @see https://tailwindcss.com/docs/grid-row
|
|
580
580
|
*/
|
|
581
581
|
"row-start": [{
|
|
582
|
-
"row-start":
|
|
582
|
+
"row-start": O()
|
|
583
583
|
}],
|
|
584
584
|
/**
|
|
585
585
|
* Grid Row End
|
|
586
586
|
* @see https://tailwindcss.com/docs/grid-row
|
|
587
587
|
*/
|
|
588
588
|
"row-end": [{
|
|
589
|
-
"row-end":
|
|
589
|
+
"row-end": O()
|
|
590
590
|
}],
|
|
591
591
|
/**
|
|
592
592
|
* Grid Auto Flow
|
|
@@ -762,63 +762,63 @@ const l2 = (n) => {
|
|
|
762
762
|
* @see https://tailwindcss.com/docs/margin
|
|
763
763
|
*/
|
|
764
764
|
m: [{
|
|
765
|
-
m: [
|
|
765
|
+
m: [p]
|
|
766
766
|
}],
|
|
767
767
|
/**
|
|
768
768
|
* Margin X
|
|
769
769
|
* @see https://tailwindcss.com/docs/margin
|
|
770
770
|
*/
|
|
771
771
|
mx: [{
|
|
772
|
-
mx: [
|
|
772
|
+
mx: [p]
|
|
773
773
|
}],
|
|
774
774
|
/**
|
|
775
775
|
* Margin Y
|
|
776
776
|
* @see https://tailwindcss.com/docs/margin
|
|
777
777
|
*/
|
|
778
778
|
my: [{
|
|
779
|
-
my: [
|
|
779
|
+
my: [p]
|
|
780
780
|
}],
|
|
781
781
|
/**
|
|
782
782
|
* Margin Start
|
|
783
783
|
* @see https://tailwindcss.com/docs/margin
|
|
784
784
|
*/
|
|
785
785
|
ms: [{
|
|
786
|
-
ms: [
|
|
786
|
+
ms: [p]
|
|
787
787
|
}],
|
|
788
788
|
/**
|
|
789
789
|
* Margin End
|
|
790
790
|
* @see https://tailwindcss.com/docs/margin
|
|
791
791
|
*/
|
|
792
792
|
me: [{
|
|
793
|
-
me: [
|
|
793
|
+
me: [p]
|
|
794
794
|
}],
|
|
795
795
|
/**
|
|
796
796
|
* Margin Top
|
|
797
797
|
* @see https://tailwindcss.com/docs/margin
|
|
798
798
|
*/
|
|
799
799
|
mt: [{
|
|
800
|
-
mt: [
|
|
800
|
+
mt: [p]
|
|
801
801
|
}],
|
|
802
802
|
/**
|
|
803
803
|
* Margin Right
|
|
804
804
|
* @see https://tailwindcss.com/docs/margin
|
|
805
805
|
*/
|
|
806
806
|
mr: [{
|
|
807
|
-
mr: [
|
|
807
|
+
mr: [p]
|
|
808
808
|
}],
|
|
809
809
|
/**
|
|
810
810
|
* Margin Bottom
|
|
811
811
|
* @see https://tailwindcss.com/docs/margin
|
|
812
812
|
*/
|
|
813
813
|
mb: [{
|
|
814
|
-
mb: [
|
|
814
|
+
mb: [p]
|
|
815
815
|
}],
|
|
816
816
|
/**
|
|
817
817
|
* Margin Left
|
|
818
818
|
* @see https://tailwindcss.com/docs/margin
|
|
819
819
|
*/
|
|
820
820
|
ml: [{
|
|
821
|
-
ml: [
|
|
821
|
+
ml: [p]
|
|
822
822
|
}],
|
|
823
823
|
/**
|
|
824
824
|
* Space Between X
|
|
@@ -1163,7 +1163,7 @@ const l2 = (n) => {
|
|
|
1163
1163
|
* @see https://tailwindcss.com/docs/background-position
|
|
1164
1164
|
*/
|
|
1165
1165
|
"bg-position": [{
|
|
1166
|
-
bg: [...
|
|
1166
|
+
bg: [...F(), g4]
|
|
1167
1167
|
}],
|
|
1168
1168
|
/**
|
|
1169
1169
|
* Background Repeat
|
|
@@ -1883,14 +1883,14 @@ const l2 = (n) => {
|
|
|
1883
1883
|
* @see https://tailwindcss.com/docs/translate
|
|
1884
1884
|
*/
|
|
1885
1885
|
"translate-x": [{
|
|
1886
|
-
"translate-x": [
|
|
1886
|
+
"translate-x": [L]
|
|
1887
1887
|
}],
|
|
1888
1888
|
/**
|
|
1889
1889
|
* Translate Y
|
|
1890
1890
|
* @see https://tailwindcss.com/docs/translate
|
|
1891
1891
|
*/
|
|
1892
1892
|
"translate-y": [{
|
|
1893
|
-
"translate-y": [
|
|
1893
|
+
"translate-y": [L]
|
|
1894
1894
|
}],
|
|
1895
1895
|
/**
|
|
1896
1896
|
* Skew X
|
|
@@ -3139,12 +3139,12 @@ var o2 = {
|
|
|
3139
3139
|
if (h === "string" || h === "number")
|
|
3140
3140
|
u.push(f);
|
|
3141
3141
|
else if (h === "object") {
|
|
3142
|
-
var g = Array.isArray(f) ? s(r, f) : Object.entries(f).map(function(
|
|
3143
|
-
var
|
|
3142
|
+
var g = Array.isArray(f) ? s(r, f) : Object.entries(f).map(function(C) {
|
|
3143
|
+
var p = _t(C, 2), b = p[0], w = p[1];
|
|
3144
3144
|
return r === "style" && (w || w === 0) ? "".concat(b.replace(/([a-z])([A-Z])/g, "$1-$2").toLowerCase(), ":").concat(w) : w ? b : void 0;
|
|
3145
3145
|
});
|
|
3146
|
-
u = g.length ? u.concat(g.filter(function(
|
|
3147
|
-
return !!
|
|
3146
|
+
u = g.length ? u.concat(g.filter(function(C) {
|
|
3147
|
+
return !!C;
|
|
3148
3148
|
})) : u;
|
|
3149
3149
|
}
|
|
3150
3150
|
}
|
|
@@ -3192,8 +3192,8 @@ var o2 = {
|
|
|
3192
3192
|
var o = e.offsetParent ? {
|
|
3193
3193
|
width: e.offsetWidth,
|
|
3194
3194
|
height: e.offsetHeight
|
|
3195
|
-
} : this.getHiddenElementDimensions(e), s = o.height, r = o.width, a = t.offsetHeight, l = t.offsetWidth, c = t.getBoundingClientRect(), d = this.getWindowScrollTop(), u = this.getWindowScrollLeft(), f = this.getViewport(), h, g,
|
|
3196
|
-
c.top + a + s > f.height ? (h = c.top + d - s,
|
|
3195
|
+
} : this.getHiddenElementDimensions(e), s = o.height, r = o.width, a = t.offsetHeight, l = t.offsetWidth, c = t.getBoundingClientRect(), d = this.getWindowScrollTop(), u = this.getWindowScrollLeft(), f = this.getViewport(), h, g, C = "top";
|
|
3196
|
+
c.top + a + s > f.height ? (h = c.top + d - s, C = "bottom", h < 0 && (h = d)) : h = a + c.top + d, c.left + r > f.width ? g = Math.max(0, c.left + u + l - r) : g = c.left + u, e.style.top = h + "px", e.style.left = g + "px", e.style.transformOrigin = C, i && (e.style.marginTop = C === "bottom" ? "calc(var(--p-anchor-gutter) * -1)" : "calc(var(--p-anchor-gutter))");
|
|
3197
3197
|
}
|
|
3198
3198
|
},
|
|
3199
3199
|
relativePosition: function(e, t) {
|
|
@@ -3223,9 +3223,9 @@ var o2 = {
|
|
|
3223
3223
|
getScrollableParents: function(e) {
|
|
3224
3224
|
var t = [];
|
|
3225
3225
|
if (e) {
|
|
3226
|
-
var i = this.getParents(e), o = /(auto|scroll)/, s = function(
|
|
3226
|
+
var i = this.getParents(e), o = /(auto|scroll)/, s = function(p) {
|
|
3227
3227
|
try {
|
|
3228
|
-
var b = window.getComputedStyle(
|
|
3228
|
+
var b = window.getComputedStyle(p, null);
|
|
3229
3229
|
return o.test(b.getPropertyValue("overflow")) || o.test(b.getPropertyValue("overflowX")) || o.test(b.getPropertyValue("overflowY"));
|
|
3230
3230
|
} catch {
|
|
3231
3231
|
return !1;
|
|
@@ -3241,16 +3241,16 @@ var o2 = {
|
|
|
3241
3241
|
var h = f.value, g = this.findSingle(l, h);
|
|
3242
3242
|
g && s(g) && t.push(g);
|
|
3243
3243
|
}
|
|
3244
|
-
} catch (
|
|
3245
|
-
u.e(
|
|
3244
|
+
} catch (C) {
|
|
3245
|
+
u.e(C);
|
|
3246
3246
|
} finally {
|
|
3247
3247
|
u.f();
|
|
3248
3248
|
}
|
|
3249
3249
|
}
|
|
3250
3250
|
l.nodeType !== 9 && s(l) && t.push(l);
|
|
3251
3251
|
}
|
|
3252
|
-
} catch (
|
|
3253
|
-
r.e(
|
|
3252
|
+
} catch (C) {
|
|
3253
|
+
r.e(C);
|
|
3254
3254
|
} finally {
|
|
3255
3255
|
r.f();
|
|
3256
3256
|
}
|
|
@@ -3910,30 +3910,30 @@ function K4(n) {
|
|
|
3910
3910
|
}
|
|
3911
3911
|
var q4 = 0;
|
|
3912
3912
|
function En(n) {
|
|
3913
|
-
var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, t = e2(!1), i = e2(n), o = e2(null), s = o2.isClient() ? window.document : void 0, r = e.document, a = r === void 0 ? s : r, l = e.immediate, c = l === void 0 ? !0 : l, d = e.manual, u = d === void 0 ? !1 : d, f = e.name, h = f === void 0 ? "style_".concat(++q4) : f, g = e.id,
|
|
3913
|
+
var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, t = e2(!1), i = e2(n), o = e2(null), s = o2.isClient() ? window.document : void 0, r = e.document, a = r === void 0 ? s : r, l = e.immediate, c = l === void 0 ? !0 : l, d = e.manual, u = d === void 0 ? !1 : d, f = e.name, h = f === void 0 ? "style_".concat(++q4) : f, g = e.id, C = g === void 0 ? void 0 : g, p = e.media, b = p === void 0 ? void 0 : p, w = e.nonce, Z = w === void 0 ? void 0 : w, S = e.props, A = S === void 0 ? {} : S, P = function() {
|
|
3914
3914
|
}, I = function(j) {
|
|
3915
3915
|
var R = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
3916
3916
|
if (a) {
|
|
3917
|
-
var T = L1(L1({}, A), R), x = T.name || h,
|
|
3918
|
-
o.value = a.querySelector('style[data-primevue-style-id="'.concat(x, '"]')) || a.getElementById(
|
|
3917
|
+
var T = L1(L1({}, A), R), x = T.name || h, O = T.id || C, F = T.nonce || Z;
|
|
3918
|
+
o.value = a.querySelector('style[data-primevue-style-id="'.concat(x, '"]')) || a.getElementById(O) || a.createElement("style"), o.value.isConnected || (i.value = j || n, o2.setAttributes(o.value, {
|
|
3919
3919
|
type: "text/css",
|
|
3920
|
-
id:
|
|
3920
|
+
id: O,
|
|
3921
3921
|
media: b,
|
|
3922
|
-
nonce:
|
|
3922
|
+
nonce: F
|
|
3923
3923
|
}), a.head.appendChild(o.value), o2.setAttribute(o.value, "data-primevue-style-id", h), o2.setAttributes(o.value, T)), !t.value && (P = G2(i, function(H) {
|
|
3924
3924
|
o.value.textContent = H;
|
|
3925
3925
|
}, {
|
|
3926
3926
|
immediate: !0
|
|
3927
3927
|
}), t.value = !0);
|
|
3928
3928
|
}
|
|
3929
|
-
},
|
|
3929
|
+
}, L = function() {
|
|
3930
3930
|
!a || !t.value || (P(), o2.isExist(o.value) && a.head.removeChild(o.value), t.value = !1);
|
|
3931
3931
|
};
|
|
3932
3932
|
return c && !u && K4(I), {
|
|
3933
|
-
id:
|
|
3933
|
+
id: C,
|
|
3934
3934
|
name: h,
|
|
3935
3935
|
css: i,
|
|
3936
|
-
unload:
|
|
3936
|
+
unload: L,
|
|
3937
3937
|
load: I,
|
|
3938
3938
|
isLoaded: sn(t)
|
|
3939
3939
|
};
|
|
@@ -4309,8 +4309,8 @@ var we = {
|
|
|
4309
4309
|
beforeCreate: function() {
|
|
4310
4310
|
var e, t, i, o, s, r, a, l, c, d, u, f = (e = this.pt) === null || e === void 0 ? void 0 : e._usept, h = f ? (t = this.pt) === null || t === void 0 || (t = t.originalValue) === null || t === void 0 ? void 0 : t[this.$.type.name] : void 0, g = f ? (i = this.pt) === null || i === void 0 || (i = i.value) === null || i === void 0 ? void 0 : i[this.$.type.name] : this.pt;
|
|
4311
4311
|
(o = g || h) === null || o === void 0 || (o = o.hooks) === null || o === void 0 || (s = o.onBeforeCreate) === null || s === void 0 || s.call(o);
|
|
4312
|
-
var
|
|
4313
|
-
(d = b ||
|
|
4312
|
+
var C = (r = this.$config) === null || r === void 0 || (r = r.pt) === null || r === void 0 ? void 0 : r._usept, p = C ? (a = this.$primevue) === null || a === void 0 || (a = a.config) === null || a === void 0 || (a = a.pt) === null || a === void 0 ? void 0 : a.originalValue : void 0, b = C ? (l = this.$primevue) === null || l === void 0 || (l = l.config) === null || l === void 0 || (l = l.pt) === null || l === void 0 ? void 0 : l.value : (c = this.$primevue) === null || c === void 0 || (c = c.config) === null || c === void 0 ? void 0 : c.pt;
|
|
4313
|
+
(d = b || p) === null || d === void 0 || (d = d[this.$.type.name]) === null || d === void 0 || (d = d.hooks) === null || d === void 0 || (u = d.onBeforeCreate) === null || u === void 0 || u.call(d);
|
|
4314
4314
|
},
|
|
4315
4315
|
created: function() {
|
|
4316
4316
|
this._hook("onCreated");
|
|
@@ -4405,8 +4405,8 @@ var we = {
|
|
|
4405
4405
|
} : s(e, !0);
|
|
4406
4406
|
},
|
|
4407
4407
|
_usePT: function(e, t, i, o) {
|
|
4408
|
-
var s = function(
|
|
4409
|
-
return t(
|
|
4408
|
+
var s = function(C) {
|
|
4409
|
+
return t(C, i, o);
|
|
4410
4410
|
};
|
|
4411
4411
|
if (e != null && e.hasOwnProperty("_usept")) {
|
|
4412
4412
|
var r, a = e._usept || ((r = this.$config) === null || r === void 0 ? void 0 : r.ptOptions) || {}, l = a.mergeSections, c = l === void 0 ? !0 : l, d = a.mergeProps, u = d === void 0 ? !1 : d, f = s(e.originalValue), h = s(e.value);
|
|
@@ -4802,10 +4802,10 @@ var Q = {
|
|
|
4802
4802
|
return U.isString(w) || U.isArray(w) ? {
|
|
4803
4803
|
class: w
|
|
4804
4804
|
} : w;
|
|
4805
|
-
}, c = ((e = i.binding) === null || e === void 0 || (e = e.value) === null || e === void 0 ? void 0 : e.ptOptions) || ((t = i.$config) === null || t === void 0 ? void 0 : t.ptOptions) || {}, d = c.mergeSections, u = d === void 0 ? !0 : d, f = c.mergeProps, h = f === void 0 ? !1 : f, g = a ? Q._useDefaultPT(i, i.defaultPT(), l, s, r) : void 0,
|
|
4805
|
+
}, c = ((e = i.binding) === null || e === void 0 || (e = e.value) === null || e === void 0 ? void 0 : e.ptOptions) || ((t = i.$config) === null || t === void 0 ? void 0 : t.ptOptions) || {}, d = c.mergeSections, u = d === void 0 ? !0 : d, f = c.mergeProps, h = f === void 0 ? !1 : f, g = a ? Q._useDefaultPT(i, i.defaultPT(), l, s, r) : void 0, C = Q._usePT(i, Q._getPT(o, i.$name), l, s, h2(h2({}, r), {}, {
|
|
4806
4806
|
global: g || {}
|
|
4807
|
-
})),
|
|
4808
|
-
return u || !u &&
|
|
4807
|
+
})), p = Q._getPTDatasets(i, s);
|
|
4808
|
+
return u || !u && C ? h ? Q._mergeProps(i, h, g, C, p) : h2(h2(h2({}, g), C), p) : h2(h2({}, C), p);
|
|
4809
4809
|
},
|
|
4810
4810
|
_getPTDatasets: function() {
|
|
4811
4811
|
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "", i = "data-pc-";
|
|
@@ -4823,8 +4823,8 @@ var Q = {
|
|
|
4823
4823
|
} : o(e);
|
|
4824
4824
|
},
|
|
4825
4825
|
_usePT: function() {
|
|
4826
|
-
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 ? arguments[1] : void 0, i = arguments.length > 2 ? arguments[2] : void 0, o = arguments.length > 3 ? arguments[3] : void 0, s = arguments.length > 4 ? arguments[4] : void 0, r = function(
|
|
4827
|
-
return i(
|
|
4826
|
+
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 ? arguments[1] : void 0, i = arguments.length > 2 ? arguments[2] : void 0, o = arguments.length > 3 ? arguments[3] : void 0, s = arguments.length > 4 ? arguments[4] : void 0, r = function(p) {
|
|
4827
|
+
return i(p, o, s);
|
|
4828
4828
|
};
|
|
4829
4829
|
if (t != null && t.hasOwnProperty("_usept")) {
|
|
4830
4830
|
var a, l = t._usept || ((a = e.$config) === null || a === void 0 ? void 0 : a.ptOptions) || {}, c = l.mergeSections, d = c === void 0 ? !0 : c, u = l.mergeProps, f = u === void 0 ? !1 : u, h = r(t.originalValue), g = r(t.value);
|
|
@@ -4872,31 +4872,31 @@ var Q = {
|
|
|
4872
4872
|
$config: f,
|
|
4873
4873
|
/* computed instance variables */
|
|
4874
4874
|
defaultPT: function() {
|
|
4875
|
-
return Q._getPT(f == null ? void 0 : f.pt, void 0, function(
|
|
4875
|
+
return Q._getPT(f == null ? void 0 : f.pt, void 0, function(p) {
|
|
4876
4876
|
var b;
|
|
4877
|
-
return
|
|
4877
|
+
return p == null || (b = p.directives) === null || b === void 0 ? void 0 : b[e];
|
|
4878
4878
|
});
|
|
4879
4879
|
},
|
|
4880
4880
|
isUnstyled: function() {
|
|
4881
|
-
var
|
|
4882
|
-
return ((
|
|
4881
|
+
var p, b;
|
|
4882
|
+
return ((p = r.$instance) === null || p === void 0 || (p = p.$binding) === null || p === void 0 || (p = p.value) === null || p === void 0 ? void 0 : p.unstyled) !== void 0 ? (b = r.$instance) === null || b === void 0 || (b = b.$binding) === null || b === void 0 || (b = b.value) === null || b === void 0 ? void 0 : b.unstyled : f == null ? void 0 : f.unstyled;
|
|
4883
4883
|
},
|
|
4884
4884
|
/* instance's methods */
|
|
4885
4885
|
ptm: function() {
|
|
4886
|
-
var
|
|
4887
|
-
return Q._getPTValue(r.$instance, (
|
|
4886
|
+
var p, b = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", w = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
4887
|
+
return Q._getPTValue(r.$instance, (p = r.$instance) === null || p === void 0 || (p = p.$binding) === null || p === void 0 || (p = p.value) === null || p === void 0 ? void 0 : p.pt, b, h2({}, w));
|
|
4888
4888
|
},
|
|
4889
4889
|
ptmo: function() {
|
|
4890
|
-
var
|
|
4891
|
-
return Q._getPTValue(r.$instance,
|
|
4890
|
+
var p = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, b = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "", w = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
4891
|
+
return Q._getPTValue(r.$instance, p, b, w, !1);
|
|
4892
4892
|
},
|
|
4893
4893
|
cx: function() {
|
|
4894
|
-
var
|
|
4895
|
-
return (
|
|
4894
|
+
var p, b, w = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", Z = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
4895
|
+
return (p = r.$instance) !== null && p !== void 0 && p.isUnstyled() ? void 0 : Q._getOptionValue((b = r.$instance) === null || b === void 0 || (b = b.$style) === null || b === void 0 ? void 0 : b.classes, w, h2({}, Z));
|
|
4896
4896
|
},
|
|
4897
4897
|
sx: function() {
|
|
4898
|
-
var
|
|
4899
|
-
return w ? Q._getOptionValue((
|
|
4898
|
+
var p, b = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", w = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, Z = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
4899
|
+
return w ? Q._getOptionValue((p = r.$instance) === null || p === void 0 || (p = p.$style) === null || p === void 0 ? void 0 : p.inlineStyles, b, h2({}, Z)) : void 0;
|
|
4900
4900
|
}
|
|
4901
4901
|
}, g), r.$instance = r._$instances[e], (d = (u = r.$instance)[s]) === null || d === void 0 || d.call(u, r, a, l, c), r["$".concat(e)] = r.$instance, Q._hook(e, s, r, a, l, c);
|
|
4902
4902
|
};
|
|
@@ -5281,7 +5281,7 @@ const Xo = ["innerHTML"], ge = /* @__PURE__ */ t2({
|
|
|
5281
5281
|
class: M(`accordion-module ${((h = o.value) == null ? void 0 : h.root) ?? ""} bg-${y(s)} ${u.isChild ? "" : "p-16"} ${e.class ?? ""}`)
|
|
5282
5282
|
}, {
|
|
5283
5283
|
default: u2(() => {
|
|
5284
|
-
var g,
|
|
5284
|
+
var g, C;
|
|
5285
5285
|
return [
|
|
5286
5286
|
u.headline ? (m(), v("h3", {
|
|
5287
5287
|
key: 0,
|
|
@@ -5290,15 +5290,15 @@ const Xo = ["innerHTML"], ge = /* @__PURE__ */ t2({
|
|
|
5290
5290
|
}, null, 10, Xo)) : _("", !0),
|
|
5291
5291
|
u.modules ? (m(), v("div", {
|
|
5292
5292
|
key: 1,
|
|
5293
|
-
class: M(`accordion-module-container flex ${((
|
|
5293
|
+
class: M(`accordion-module-container flex ${((C = o.value) == null ? void 0 : C.container) ?? ""} ${e.isSubAccordion ? "[&>:last-child]:border-b-0" : ""}`)
|
|
5294
5294
|
}, [
|
|
5295
|
-
(m(!0), v(q, null, n2(u.modules, (
|
|
5296
|
-
key: `${
|
|
5295
|
+
(m(!0), v(q, null, n2(u.modules, (p, b) => (m(), v(q, {
|
|
5296
|
+
key: `${p.headline}-${b}`
|
|
5297
5297
|
}, [
|
|
5298
5298
|
u.type === "Tile" || b <= c.value ? (m(), D(m2(`Accordion${u.type}Item`), B({
|
|
5299
5299
|
key: 0,
|
|
5300
5300
|
ref_for: !0
|
|
5301
|
-
},
|
|
5301
|
+
}, p, {
|
|
5302
5302
|
"item-number": b,
|
|
5303
5303
|
"is-first": b === 0,
|
|
5304
5304
|
"is-last": b === c.value,
|
|
@@ -5368,7 +5368,7 @@ const Xo = ["innerHTML"], ge = /* @__PURE__ */ t2({
|
|
|
5368
5368
|
a("toggleAccordion", c);
|
|
5369
5369
|
};
|
|
5370
5370
|
return (c, d) => {
|
|
5371
|
-
var u, f, h, g,
|
|
5371
|
+
var u, f, h, g, C, p, b, w;
|
|
5372
5372
|
return c.isListType ? (m(), v("div", {
|
|
5373
5373
|
key: 0,
|
|
5374
5374
|
class: M({
|
|
@@ -5431,11 +5431,11 @@ const Xo = ["innerHTML"], ge = /* @__PURE__ */ t2({
|
|
|
5431
5431
|
}, [
|
|
5432
5432
|
$("h3", {
|
|
5433
5433
|
id: `accordion-collapse-headline-${c.itemNumber}`,
|
|
5434
|
-
class: M(`flex accordion-item-headline ${((
|
|
5434
|
+
class: M(`flex accordion-item-headline ${((C = i.value) == null ? void 0 : C.headline) ?? ""}`)
|
|
5435
5435
|
}, [
|
|
5436
5436
|
$("button", {
|
|
5437
5437
|
type: "button",
|
|
5438
|
-
class: M(`flex items-center w-full ${((
|
|
5438
|
+
class: M(`flex items-center w-full ${((p = i.value) == null ? void 0 : p.button) ?? ""} ${t.isListType ? "justify-between" : "justify-center"}`),
|
|
5439
5439
|
"data-accordion-target": "#accordion-collapse-body-1",
|
|
5440
5440
|
"aria-expanded": c.openAccordionIndex === c.itemNumber,
|
|
5441
5441
|
"aria-controls": `accordion-collapse-body-${c.itemNumber}`,
|
|
@@ -5525,19 +5525,19 @@ function us(n, e, t = {}) {
|
|
|
5525
5525
|
let d = u0;
|
|
5526
5526
|
const u = e2(a), f = l.value ? G2(
|
|
5527
5527
|
() => [c.value, $t(i), u.value],
|
|
5528
|
-
([g,
|
|
5528
|
+
([g, C]) => {
|
|
5529
5529
|
if (d(), !u.value || !g.length)
|
|
5530
5530
|
return;
|
|
5531
|
-
const
|
|
5531
|
+
const p = new IntersectionObserver(
|
|
5532
5532
|
e,
|
|
5533
5533
|
{
|
|
5534
|
-
root: $t(
|
|
5534
|
+
root: $t(C),
|
|
5535
5535
|
rootMargin: o,
|
|
5536
5536
|
threshold: s
|
|
5537
5537
|
}
|
|
5538
5538
|
);
|
|
5539
|
-
g.forEach((b) => b &&
|
|
5540
|
-
|
|
5539
|
+
g.forEach((b) => b && p.observe(b)), d = () => {
|
|
5540
|
+
p.disconnect(), d = u0;
|
|
5541
5541
|
};
|
|
5542
5542
|
},
|
|
5543
5543
|
{ immediate: a, flush: "post" }
|
|
@@ -5758,7 +5758,7 @@ const hs = /* @__PURE__ */ t2({
|
|
|
5758
5758
|
"data-accordion-target": "#accordion-collapse-body-1",
|
|
5759
5759
|
"aria-expanded": "true",
|
|
5760
5760
|
"aria-controls": `accordion-collapse-body-${a.itemNumber}`,
|
|
5761
|
-
onClick: l[0] || (l[0] = ae((
|
|
5761
|
+
onClick: l[0] || (l[0] = ae((C) => o.value = !o.value, ["prevent"]))
|
|
5762
5762
|
}, [
|
|
5763
5763
|
$("span", null, Y(a.headline), 1),
|
|
5764
5764
|
$("div", {
|
|
@@ -5840,7 +5840,7 @@ const hs = /* @__PURE__ */ t2({
|
|
|
5840
5840
|
l("toggleAccordion", d);
|
|
5841
5841
|
};
|
|
5842
5842
|
return (d, u) => {
|
|
5843
|
-
var f, h, g,
|
|
5843
|
+
var f, h, g, C, p, b, w, Z, S, A;
|
|
5844
5844
|
return m(), v("div", {
|
|
5845
5845
|
class: M({
|
|
5846
5846
|
[`accordion-item-${d.itemNumber}`]: !0,
|
|
@@ -5858,11 +5858,11 @@ const hs = /* @__PURE__ */ t2({
|
|
|
5858
5858
|
class: M(`flex accordion-item-headline text-2xl p-8 !mb-0 md:p-16 ${((h = i.value) == null ? void 0 : h.headline) ?? ""} bg-${(g = y(o).interactive) == null ? void 0 : g.bg}`)
|
|
5859
5859
|
}, [
|
|
5860
5860
|
d.image ? (m(), D(A2, B({ key: 0 }, d.image, {
|
|
5861
|
-
class: `${((
|
|
5861
|
+
class: `${((C = i.value) == null ? void 0 : C.image) ?? ""}`
|
|
5862
5862
|
}), null, 16, ["class"])) : _("", !0),
|
|
5863
5863
|
$("button", {
|
|
5864
5864
|
type: "button",
|
|
5865
|
-
class: M(`flex items-center w-full ${((
|
|
5865
|
+
class: M(`flex items-center w-full ${((p = i.value) == null ? void 0 : p.button) ?? ""} text-${(b = y(o).interactive) == null ? void 0 : b.copy}`),
|
|
5866
5866
|
"data-accordion-target": "#accordion-collapse-body-1",
|
|
5867
5867
|
"aria-expanded": "true",
|
|
5868
5868
|
"aria-controls": `accordion-collapse-body-${d.itemNumber}`,
|
|
@@ -6703,7 +6703,8 @@ const i7 = {
|
|
|
6703
6703
|
LogoCollectionModule: "LogoCollectionModule",
|
|
6704
6704
|
ProductModule: "ProductModule",
|
|
6705
6705
|
CardsModule: "CardsModule",
|
|
6706
|
-
ChartModule: "ChartModule"
|
|
6706
|
+
ChartModule: "ChartModule",
|
|
6707
|
+
PlaceholderModule: "PlaceholderModule"
|
|
6707
6708
|
}, s7 = {
|
|
6708
6709
|
Icon: "IconTile",
|
|
6709
6710
|
Image: "ImageTile",
|
|
@@ -6774,26 +6775,26 @@ const f6 = ["innerHTML"], p6 = {
|
|
|
6774
6775
|
class: {}
|
|
6775
6776
|
},
|
|
6776
6777
|
setup(n) {
|
|
6777
|
-
var I,
|
|
6778
|
+
var I, L, E, j, R, T;
|
|
6778
6779
|
const e = n, { backgroundColor: t, palette: i } = C2(e), o = k(
|
|
6779
6780
|
() => W(Mn[e.variant], e.pt ?? {})
|
|
6780
6781
|
), s = k(() => y0[e.variant] === y0.Hero), r = k(() => y0[e.variant] === y0.Centered), a = k(() => y0[e.variant] === y0.Feature), l = k(() => {
|
|
6781
|
-
var x,
|
|
6782
|
+
var x, O;
|
|
6782
6783
|
return e.testimonialTile && s.value ? N(
|
|
6783
6784
|
((x = o.value) == null ? void 0 : x.inner) ?? "",
|
|
6784
6785
|
"md:block lg:flex lg:items-center p-8 lg:p-0"
|
|
6785
|
-
) : ((
|
|
6786
|
+
) : ((O = o.value) == null ? void 0 : O.inner) ?? "";
|
|
6786
6787
|
}), c = k(() => {
|
|
6787
6788
|
if (!s.value)
|
|
6788
6789
|
return "";
|
|
6789
6790
|
const x = [];
|
|
6790
|
-
return
|
|
6791
|
-
}), d = k(() => s.value &&
|
|
6792
|
-
var x,
|
|
6791
|
+
return C === "ContentModule" && p === "Image" && x.push("lg:flex lg:items-center lg:z-10"), C !== "Image" && (x.push("py-16 px-16 lg:py-0 lg:px-16"), e.testimonialTile && x.push("pt-8 pb-0 lg:pt-0 lg:pb-0")), e.mobileImagePosition === "Bottom" && x.push("pt-16 pb-0 lg:py-0"), N(...x);
|
|
6792
|
+
}), d = k(() => s.value && p !== "Image" ? "py-16 lg:pr-16 lg:pl-0 px-12" : s.value && p === "Image" ? e.testimonialTile ? "hidden lg:block lg:absolute lg:h-[100%] lg:-right-[100px] lg:z-0 clip-hero" : "max-h-[500px] lg:max-h-none overflow-hidden lg:overflow-visible lg:absolute lg:h-[100%] lg:-right-[100px] lg:z-0 clip-hero" : a.value && p === "Image" ? "md:absolute md:right-0 md:top-0 md:h-full md:w-1/2" : ""), u = k(() => {
|
|
6793
|
+
var x, O, F, H;
|
|
6793
6794
|
return N(
|
|
6794
|
-
`container-module ${e.testimonialTile ? "lg:flex" : "md:flex"} ${e.backgroundImage ? "" : `bg-${t}`} relative ${s.value ? "overflow-hidden" : ""} ${(x = o.value) == null ? void 0 : x.root} ${s.value ? e.backgroundImage ? `lg:h-[60vw] lg:max-h-[33.75rem] ${(
|
|
6795
|
+
`container-module ${e.testimonialTile ? "lg:flex" : "md:flex"} ${e.backgroundImage ? "" : `bg-${t}`} relative ${s.value ? "overflow-hidden" : ""} ${(x = o.value) == null ? void 0 : x.root} ${s.value ? e.backgroundImage ? `lg:h-[60vw] lg:max-h-[33.75rem] ${(O = o.value) == null ? void 0 : O.container}` : `${(F = o.value) == null ? void 0 : F.container}` : ""} `,
|
|
6795
6796
|
a.value ? `${(H = o.value) == null ? void 0 : H.container}` : "",
|
|
6796
|
-
s.value &&
|
|
6797
|
+
s.value && C === "ContentModule" && p === "Image" ? "lg:h-[33.75rem] " : "",
|
|
6797
6798
|
e.class ?? "",
|
|
6798
6799
|
e.mobileImagePosition === "Top" && s.value && !e.testimonialTile ? "clip-mobile-hero lg:no-clip" : ""
|
|
6799
6800
|
);
|
|
@@ -6801,33 +6802,33 @@ const f6 = ["innerHTML"], p6 = {
|
|
|
6801
6802
|
`md:absolute md:top-0 md:right-0 object-cover w-full h-full z-0', ${s.value ? "object-bottom" : ""}`,
|
|
6802
6803
|
e.backgroundImageClass ?? ""
|
|
6803
6804
|
)), h = k(() => {
|
|
6804
|
-
var
|
|
6805
|
+
var O, F;
|
|
6805
6806
|
let x = JSON.parse(JSON.stringify(e.backgroundImage));
|
|
6806
|
-
return x != null && x.media.width && (x.media.width = void 0), x != null && x.media.height && (x.media.height = void 0), (
|
|
6807
|
-
}), g = ((I = e.fullWidthContent) == null ? void 0 : I.__typename) === "TileContent" ? "TileContentTextTile" : (
|
|
6808
|
-
const
|
|
6809
|
-
return
|
|
6810
|
-
}, w = g === "TileCollectionModule" ||
|
|
6811
|
-
var x,
|
|
6812
|
-
return ((x = e.end) == null ? void 0 : x.__typename) === "Image" || ((
|
|
6807
|
+
return x != null && x.media.width && (x.media.width = void 0), x != null && x.media.height && (x.media.height = void 0), (O = x == null ? void 0 : x.mobileMedia) != null && O.width && (x.mobileMedia.width = void 0), (F = x == null ? void 0 : x.mobileMedia) != null && F.height && (x.mobileMedia.height = void 0), x;
|
|
6808
|
+
}), g = ((I = e.fullWidthContent) == null ? void 0 : I.__typename) === "TileContent" ? "TileContentTextTile" : (L = e.fullWidthContent) == null ? void 0 : L.__typename, C = ((E = e.start) == null ? void 0 : E.__typename) === "TileContent" ? "TileContentTextTile" : (j = e.start) == null ? void 0 : j.__typename, p = ((R = e.end) == null ? void 0 : R.__typename) === "TileContent" ? "TileContentTextTile" : (T = e.end) == null ? void 0 : T.__typename, b = (x) => {
|
|
6809
|
+
const O = x;
|
|
6810
|
+
return O == null ? void 0 : O.backgroundColor;
|
|
6811
|
+
}, w = g === "TileCollectionModule" || C === "TileCollectionModule" || p === "TileCollectionModule", Z = k(() => {
|
|
6812
|
+
var x, O;
|
|
6813
|
+
return ((x = e.end) == null ? void 0 : x.__typename) === "Image" || ((O = e.end) == null ? void 0 : O.__typename) === "Video";
|
|
6813
6814
|
}), S = k(() => {
|
|
6814
6815
|
var z, G, X, M2;
|
|
6815
|
-
const x = ((z = e.start) == null ? void 0 : z.__typename) === "Accordion",
|
|
6816
|
-
return x &&
|
|
6816
|
+
const x = ((z = e.start) == null ? void 0 : z.__typename) === "Accordion", O = ((G = e.end) == null ? void 0 : G.__typename) === "Accordion", F = ((X = e.start) == null ? void 0 : X.__typename) === "TileCollectionModule", H = ((M2 = e.end) == null ? void 0 : M2.__typename) === "TileCollectionModule";
|
|
6817
|
+
return x && O ? "basis-2/3 md:pr-8" : x ? "basis-2/3 md:pr-16" : O ? "basis-1/3" : H ? "lg:basis-2/5" : F ? "lg:basis-3/5" : "basis-1/2";
|
|
6817
6818
|
}), A = k(() => {
|
|
6818
6819
|
var z, G, X, M2;
|
|
6819
|
-
const x = ((z = e.start) == null ? void 0 : z.__typename) === "Accordion",
|
|
6820
|
-
return x &&
|
|
6821
|
-
}), P = k(() => a.value &&
|
|
6822
|
-
return (x,
|
|
6823
|
-
const
|
|
6820
|
+
const x = ((z = e.start) == null ? void 0 : z.__typename) === "Accordion", O = ((G = e.end) == null ? void 0 : G.__typename) === "Accordion", F = ((X = e.start) == null ? void 0 : X.__typename) === "TileCollectionModule", H = ((M2 = e.end) == null ? void 0 : M2.__typename) === "TileCollectionModule";
|
|
6821
|
+
return x && O ? "basis-2/3 md:pl-8" : O ? "basis-2/3 md:pl-16" : x ? "basis-1/3" : F ? "lg:basis-2/5" : H ? "lg:basis-3/5" : "basis-1/2";
|
|
6822
|
+
}), P = k(() => a.value && p === "Image" ? "h-full w-full object-cover object-right" : s.value && p === "Image" ? "max-h-[500px] lg:max-h-none lg:h-full w-full object-cover" : "");
|
|
6823
|
+
return (x, O) => {
|
|
6824
|
+
const F = A2;
|
|
6824
6825
|
return m(), D(m2(x.isChild ? "div" : "section"), {
|
|
6825
6826
|
class: M(u.value)
|
|
6826
6827
|
}, {
|
|
6827
6828
|
default: u2(() => {
|
|
6828
6829
|
var H, z, G, X, M2, w2, W2, Q2, R2, J2;
|
|
6829
6830
|
return [
|
|
6830
|
-
x.backgroundImage && h.value ? (m(), D(
|
|
6831
|
+
x.backgroundImage && h.value ? (m(), D(F, {
|
|
6831
6832
|
key: 0,
|
|
6832
6833
|
media: h.value.media,
|
|
6833
6834
|
"mobile-media": h.value.mobileMedia,
|
|
@@ -6869,32 +6870,32 @@ const f6 = ["innerHTML"], p6 = {
|
|
|
6869
6870
|
], 2)) : (m(), v(q, { key: 1 }, [
|
|
6870
6871
|
x.start ? (m(), v("div", {
|
|
6871
6872
|
key: 0,
|
|
6872
|
-
class: M(`container-module-start ${a.value ? "md:basis-1/2" : S.value} ${((w2 = o.value) == null ? void 0 : w2.start) ?? ""} ${c.value} ${a.value && y(
|
|
6873
|
+
class: M(`container-module-start ${a.value ? "md:basis-1/2" : S.value} ${((w2 = o.value) == null ? void 0 : w2.start) ?? ""} ${c.value} ${a.value && y(C) === "Image" ? "" : a.value ? "p-8 md:p-12 lg:p-16 flex items-center" : ""}`)
|
|
6873
6874
|
}, [
|
|
6874
|
-
y(
|
|
6875
|
+
y(C) ? (m(), D(m2(y(C)), B({ key: 0 }, x.start, {
|
|
6875
6876
|
"is-child": !0,
|
|
6876
6877
|
"use-child-headline": !!x.headline,
|
|
6877
|
-
"is-hero": !!(y(
|
|
6878
|
-
"is-feature": !!(y(
|
|
6878
|
+
"is-hero": !!(y(C) === "ContentModule" && s.value && !a.value),
|
|
6879
|
+
"is-feature": !!(y(C) === "ContentModule" && a.value),
|
|
6879
6880
|
"background-color": b(x.start),
|
|
6880
6881
|
"parent-background-color": y(t),
|
|
6881
6882
|
"parent-has-background-image": !!x.backgroundImage,
|
|
6882
|
-
class: a.value && y(
|
|
6883
|
+
class: a.value && y(C) === "Image" ? "h-full w-full object-cover" : ""
|
|
6883
6884
|
}), null, 16, ["use-child-headline", "is-hero", "is-feature", "background-color", "parent-background-color", "parent-has-background-image", "class"])) : _("", !0)
|
|
6884
6885
|
], 2)) : _("", !0),
|
|
6885
6886
|
$("div", {
|
|
6886
|
-
class: M(`container-module-end ${a.value ? "md:basis-1/2" : A.value} ${((W2 = o.value) == null ? void 0 : W2.end) ?? ""} ${d.value} ${a.value && y(
|
|
6887
|
+
class: M(`container-module-end ${a.value ? "md:basis-1/2" : A.value} ${((W2 = o.value) == null ? void 0 : W2.end) ?? ""} ${d.value} ${a.value && y(p) === "Image" ? "" : a.value ? "p-8 md:p-12 lg:p-16 flex items-center" : ""}`)
|
|
6887
6888
|
}, [
|
|
6888
|
-
y(
|
|
6889
|
+
y(p) ? (m(), D(m2(y(p)), B({ key: 0 }, x.end, {
|
|
6889
6890
|
"is-child": !0,
|
|
6890
6891
|
"use-child-headline": !!x.headline,
|
|
6891
|
-
"is-hero": !!(y(
|
|
6892
|
-
"is-feature": !!(y(
|
|
6892
|
+
"is-hero": !!(y(p) === "ContentModule" && s.value && !a.value),
|
|
6893
|
+
"is-feature": !!(y(p) === "ContentModule" && a.value),
|
|
6893
6894
|
"background-color": b(x.end),
|
|
6894
6895
|
"parent-background-color": y(t),
|
|
6895
6896
|
"parent-has-background-image": !!x.backgroundImage,
|
|
6896
6897
|
class: P.value,
|
|
6897
|
-
"mobile-breakpoint": s.value && y(
|
|
6898
|
+
"mobile-breakpoint": s.value && y(p) === "Image" ? "lg" : "md"
|
|
6898
6899
|
}), null, 16, ["use-child-headline", "is-hero", "is-feature", "background-color", "parent-background-color", "parent-has-background-image", "class", "mobile-breakpoint"])) : _("", !0)
|
|
6899
6900
|
], 2)
|
|
6900
6901
|
], 64))
|
|
@@ -6925,7 +6926,7 @@ const f6 = ["innerHTML"], p6 = {
|
|
|
6925
6926
|
};
|
|
6926
6927
|
}
|
|
6927
6928
|
});
|
|
6928
|
-
var
|
|
6929
|
+
var P2 = /* @__PURE__ */ ((n) => (n.Left = "left", n.Center = "center", n.Right = "right", n.Inline = "inline", n))(P2 || {});
|
|
6929
6930
|
const u1 = (n, e) => {
|
|
6930
6931
|
var t;
|
|
6931
6932
|
if (n === "Default")
|
|
@@ -6961,53 +6962,53 @@ const u1 = (n, e) => {
|
|
|
6961
6962
|
const t = n, i = e, o = k(
|
|
6962
6963
|
() => W(wn[t.buttonType], t.pt ?? {})
|
|
6963
6964
|
), s = k(() => t.buttonType === "link" || t.buttonType === "logo"), { palette: r } = C2(t), a = k(() => {
|
|
6964
|
-
var
|
|
6965
|
-
return ((
|
|
6965
|
+
var C;
|
|
6966
|
+
return ((C = r == null ? void 0 : r.cta) == null ? void 0 : C[t.buttonType]) || {
|
|
6966
6967
|
copy: "soil",
|
|
6967
6968
|
bg: "lily"
|
|
6968
6969
|
};
|
|
6969
6970
|
}), l = k(() => {
|
|
6970
|
-
var
|
|
6971
|
-
const
|
|
6971
|
+
var p;
|
|
6972
|
+
const C = [
|
|
6972
6973
|
"cta whitespace-nowrap",
|
|
6973
|
-
N(((
|
|
6974
|
+
N(((p = o.value) == null ? void 0 : p.root) ?? "", t.class ?? "", "flex items-center gap-2")
|
|
6974
6975
|
];
|
|
6975
|
-
if ((t.buttonType === "link" || t.buttonType === "logo") &&
|
|
6976
|
+
if ((t.buttonType === "link" || t.buttonType === "logo") && C.push("hover:underline"), C.push(`text-${t.textColor ?? a.value.copy}`), t.size)
|
|
6976
6977
|
switch (t.size) {
|
|
6977
6978
|
case "sm":
|
|
6978
|
-
|
|
6979
|
+
C.push("*:text-sm"), t.buttonType === "fill" && C.push("py-0.5 px-4");
|
|
6979
6980
|
break;
|
|
6980
6981
|
case "lg":
|
|
6981
|
-
|
|
6982
|
+
C.push("*:text-lg font-bold"), t.buttonType === "fill" && C.push("py-1.5 px-8");
|
|
6982
6983
|
break;
|
|
6983
6984
|
case "xl":
|
|
6984
|
-
|
|
6985
|
+
C.push("*:text-xl font-bold"), t.buttonType === "fill" && C.push("py-2 px-12");
|
|
6985
6986
|
break;
|
|
6986
6987
|
case "xxl":
|
|
6987
|
-
|
|
6988
|
+
C.push("*:text-3xl font-bold"), t.buttonType === "fill" && C.push("py-2 px-16");
|
|
6988
6989
|
break;
|
|
6989
6990
|
}
|
|
6990
|
-
return t.buttonType === "fill" && (
|
|
6991
|
+
return t.buttonType === "fill" && (C.push("rounded-[2rem]"), (t.color || a.value.bg) && C.push(`bg-${t.color || a.value.bg}`), t.size || C.push("py-1 px-4")), t.buttonType !== "outline" && a.value.border && C.push(`border-${t.color ?? a.value.border}`), C.join(" ");
|
|
6991
6992
|
}), c = k(() => {
|
|
6992
|
-
var
|
|
6993
|
-
return (
|
|
6993
|
+
var C, p, b, w, Z, S;
|
|
6994
|
+
return (p = (C = t.link) == null ? void 0 : C.page) != null && p.slug ? `${(w = (b = t.link) == null ? void 0 : b.page) == null ? void 0 : w.slug}` : (Z = t.link) != null && Z.externalUrl ? (S = t.link) == null ? void 0 : S.externalUrl : "";
|
|
6994
6995
|
}), d = k(() => {
|
|
6995
|
-
var
|
|
6996
|
-
return !!((
|
|
6996
|
+
var C;
|
|
6997
|
+
return !!((C = t.link) != null && C.externalUrl);
|
|
6997
6998
|
}), u = k(() => {
|
|
6998
|
-
var
|
|
6999
|
-
return t.ariaLabel ?? ((
|
|
6999
|
+
var C;
|
|
7000
|
+
return t.ariaLabel ?? ((C = t.link) == null ? void 0 : C.ariaLabel) ?? t.title;
|
|
7000
7001
|
}), f = k(() => {
|
|
7001
|
-
var
|
|
7002
|
-
return (
|
|
7002
|
+
var C, p;
|
|
7003
|
+
return (C = t.ctaAction) != null && C.ariaDescription ? t.ctaAction.ariaDescription : t.ariaDescription ?? ((p = t.link) == null ? void 0 : p.ariaDescription) ?? "";
|
|
7003
7004
|
}), h = k(() => {
|
|
7004
|
-
var
|
|
7005
|
-
return d.value ? (
|
|
7005
|
+
var C;
|
|
7006
|
+
return d.value ? (C = t.link) == null ? void 0 : C.thirdPartyId : void 0;
|
|
7006
7007
|
}), g = () => {
|
|
7007
|
-
var
|
|
7008
|
-
(
|
|
7008
|
+
var C;
|
|
7009
|
+
(C = t.ctaAction) != null && C.triggerMappingValue && i("trigger", t.ctaAction.triggerMappingValue), t.onClick && t.onClick();
|
|
7009
7010
|
};
|
|
7010
|
-
return (
|
|
7011
|
+
return (C, p) => {
|
|
7011
7012
|
var w;
|
|
7012
7013
|
const b = A2;
|
|
7013
7014
|
return m(), D(m2("a"), {
|
|
@@ -7021,7 +7022,7 @@ const u1 = (n, e) => {
|
|
|
7021
7022
|
onClick: g
|
|
7022
7023
|
}, {
|
|
7023
7024
|
default: u2(() => [
|
|
7024
|
-
|
|
7025
|
+
E2(y(ht), {
|
|
7025
7026
|
class: M(l.value),
|
|
7026
7027
|
link: s.value,
|
|
7027
7028
|
onClick: g
|
|
@@ -7030,20 +7031,20 @@ const u1 = (n, e) => {
|
|
|
7030
7031
|
var Z, S, A;
|
|
7031
7032
|
return [
|
|
7032
7033
|
$("div", b6, [
|
|
7033
|
-
|
|
7034
|
+
C.logo ? (m(), v("div", {
|
|
7034
7035
|
key: 0,
|
|
7035
|
-
class: M(`flex items-center ${
|
|
7036
|
+
class: M(`flex items-center ${C.buttonType === "logo" ? (Z = o.value) == null ? void 0 : Z.logo : ""} ${C.buttonType === "logo" ? `bg-${t.textColor ?? a.value.copy}` : ""}`)
|
|
7036
7037
|
}, [
|
|
7037
|
-
typeof
|
|
7038
|
+
typeof C.logo == "object" ? (m(), D(b, x0(B({ key: 0 }, C.logo)), null, 16)) : typeof C.logo == "string" ? (m(), v("div", {
|
|
7038
7039
|
key: 1,
|
|
7039
|
-
class: M(y(N)(
|
|
7040
|
+
class: M(y(N)(C.logo, (S = o.value) == null ? void 0 : S.logo))
|
|
7040
7041
|
}, null, 2)) : _("", !0)
|
|
7041
7042
|
], 2)) : _("", !0),
|
|
7042
7043
|
$("p", {
|
|
7043
7044
|
class: M(
|
|
7044
7045
|
y(N)("pointer-events-none whitespace-nowrap", ((A = o.value) == null ? void 0 : A.headline) ?? "")
|
|
7045
7046
|
)
|
|
7046
|
-
}, Y(
|
|
7047
|
+
}, Y(C.title), 3)
|
|
7047
7048
|
])
|
|
7048
7049
|
];
|
|
7049
7050
|
}),
|
|
@@ -7068,7 +7069,7 @@ const u1 = (n, e) => {
|
|
|
7068
7069
|
pt: {},
|
|
7069
7070
|
logo: {},
|
|
7070
7071
|
isHero: { type: Boolean, default: !1 },
|
|
7071
|
-
alignment: { default:
|
|
7072
|
+
alignment: { default: P2.Left },
|
|
7072
7073
|
bodyCopyAlignment: {},
|
|
7073
7074
|
isChild: { type: Boolean },
|
|
7074
7075
|
useChildHeadline: { type: Boolean },
|
|
@@ -7078,33 +7079,42 @@ const u1 = (n, e) => {
|
|
|
7078
7079
|
class: {}
|
|
7079
7080
|
},
|
|
7080
7081
|
setup(n) {
|
|
7081
|
-
const e = n, t = e.alignment ? e.alignment.toLowerCase() : "left", i = k(() => W(xn, e.pt ?? {})), o = k(() => t ===
|
|
7082
|
+
const e = n, t = e.alignment ? e.alignment.toLowerCase() : "left", i = k(() => W(xn, e.pt ?? {})), o = k(() => t === P2.Inline ? "text-center md:text-left" : `text-${t}`), s = k(() => {
|
|
7082
7083
|
let p = "";
|
|
7083
7084
|
switch (t) {
|
|
7084
|
-
case
|
|
7085
|
+
case P2.Right:
|
|
7085
7086
|
p = "justify-end";
|
|
7086
7087
|
break;
|
|
7087
|
-
case
|
|
7088
|
+
case P2.Center:
|
|
7088
7089
|
p = "justify-center";
|
|
7089
7090
|
break;
|
|
7090
7091
|
default:
|
|
7091
7092
|
p = "justify-start";
|
|
7092
7093
|
}
|
|
7093
7094
|
return p;
|
|
7094
|
-
}), r = k(() =>
|
|
7095
|
+
}), r = k(() => {
|
|
7096
|
+
switch (t) {
|
|
7097
|
+
case P2.Center:
|
|
7098
|
+
return "mx-auto";
|
|
7099
|
+
case P2.Right:
|
|
7100
|
+
return "ml-auto";
|
|
7101
|
+
default:
|
|
7102
|
+
return "";
|
|
7103
|
+
}
|
|
7104
|
+
}), a = k(() => e.bodyCopyAlignment ? `text-${e.bodyCopyAlignment.toLowerCase()}` : o.value), l = k(
|
|
7095
7105
|
() => {
|
|
7096
|
-
var p,
|
|
7097
|
-
return `${((p = i.value) == null ? void 0 : p.logo) ?? ""} ${((
|
|
7106
|
+
var p, b;
|
|
7107
|
+
return `${((p = i.value) == null ? void 0 : p.logo) ?? ""} ${((b = e == null ? void 0 : e.logo) == null ? void 0 : b.class) ?? ""} max-w-[50%]`;
|
|
7098
7108
|
}
|
|
7099
|
-
), { backgroundColor:
|
|
7109
|
+
), { backgroundColor: c, palette: d } = C2({
|
|
7100
7110
|
...e,
|
|
7101
7111
|
backgroundColor: e.backgroundColor || e.parentBackgroundColor
|
|
7102
|
-
}),
|
|
7103
|
-
var
|
|
7112
|
+
}), u = k(() => {
|
|
7113
|
+
var b;
|
|
7104
7114
|
const p = [
|
|
7105
|
-
`content-module-headline ${
|
|
7106
|
-
`text-${
|
|
7107
|
-
N(((
|
|
7115
|
+
`content-module-headline ${g ? "" : "max-w-[30ch]"} ${t === P2.Center ? "mx-auto" : t === P2.Right ? "ml-auto" : ""}`,
|
|
7116
|
+
`text-${d.headline}`,
|
|
7117
|
+
N(((b = i == null ? void 0 : i.value) == null ? void 0 : b.headline) ?? "", o.value)
|
|
7108
7118
|
];
|
|
7109
7119
|
return e.isHero && e.isChild ? p.push(
|
|
7110
7120
|
"text-[27px] leading-[27px] md:text-[36px] md:leading-[36px] xl:text-[48px] xl:leading-[48px]"
|
|
@@ -7115,74 +7125,74 @@ const u1 = (n, e) => {
|
|
|
7115
7125
|
) : p.push(
|
|
7116
7126
|
"text-[27px] leading-[27px] md:text-[48px] md:leading-[48px]"
|
|
7117
7127
|
), p.join(" ");
|
|
7118
|
-
}),
|
|
7119
|
-
var
|
|
7128
|
+
}), f = k(() => {
|
|
7129
|
+
var b;
|
|
7120
7130
|
return [
|
|
7121
|
-
`content-module-subheadline text-[17px] md:text-[22px] ${t ===
|
|
7122
|
-
`text-${
|
|
7123
|
-
N(((
|
|
7131
|
+
`content-module-subheadline text-[17px] md:text-[22px] ${t === P2.Center ? "mx-auto" : t === P2.Right ? "ml-auto" : ""}`,
|
|
7132
|
+
`text-${d.subheadline}`,
|
|
7133
|
+
N(((b = i == null ? void 0 : i.value) == null ? void 0 : b.subheadline) ?? "", o.value)
|
|
7124
7134
|
].join(" ");
|
|
7125
|
-
}),
|
|
7135
|
+
}), h = k(() => e.headline ? e.headline.replace(/<[^>]*>/g, "").trim().length > 0 : !1), g = t === P2.Inline, C = k(() => {
|
|
7126
7136
|
const p = e.bodyCopy || e.ctas || e.image;
|
|
7127
|
-
return
|
|
7137
|
+
return g ? "space-y-[10px]" : `space-y-[10px] ${p ? "mb-6" : ""}`;
|
|
7128
7138
|
});
|
|
7129
|
-
return (p,
|
|
7130
|
-
var
|
|
7139
|
+
return (p, b) => {
|
|
7140
|
+
var w, Z, S, A, P, I;
|
|
7131
7141
|
return m(), v("div", {
|
|
7132
|
-
class: M(`content-module ${p.isChild ? "" : "p-8 md:p-16"} ${((
|
|
7142
|
+
class: M(`content-module ${p.isChild ? "" : "p-8 md:p-16"} ${((w = i.value) == null ? void 0 : w.root) ?? ""} ${e.class ?? ""} ${!e.parentHasBackgroundImage && (e.backgroundColor || !p.isChild) ? `bg-${y(c)}` : ""}`)
|
|
7133
7143
|
}, [
|
|
7134
7144
|
$("div", {
|
|
7135
|
-
class: M(`content-module-container mx-auto ${((
|
|
7145
|
+
class: M(`content-module-container mx-auto ${((Z = i.value) == null ? void 0 : Z.container) ?? ""} ${y(t) === y(P2).Inline ? "flex flex-col md:flex-row justify-between items-center md:gap-4" : ""}`)
|
|
7136
7146
|
}, [
|
|
7137
|
-
p.logo ? (m(), D(A2, B({ key: 0 }, p.logo, { class:
|
|
7138
|
-
|
|
7147
|
+
p.logo ? (m(), D(A2, B({ key: 0 }, p.logo, { class: l.value }), null, 16, ["class"])) : _("", !0),
|
|
7148
|
+
h.value || p.subHeadline ? (m(), v("div", {
|
|
7139
7149
|
key: 1,
|
|
7140
|
-
class: M(
|
|
7150
|
+
class: M(C.value)
|
|
7141
7151
|
}, [
|
|
7142
7152
|
p.subHeadline && !p.isHero ? (m(), v("h6", {
|
|
7143
7153
|
key: 0,
|
|
7144
|
-
class: M(
|
|
7154
|
+
class: M(f.value)
|
|
7145
7155
|
}, Y(p.subHeadline), 3)) : _("", !0),
|
|
7146
|
-
|
|
7156
|
+
h.value ? (m(), v("div", y6, [
|
|
7147
7157
|
p.isHero ? (m(), v("h1", {
|
|
7148
7158
|
key: 0,
|
|
7149
|
-
class: M(
|
|
7159
|
+
class: M(u.value),
|
|
7150
7160
|
innerHTML: p.headline
|
|
7151
7161
|
}, null, 10, v6)) : p.useChildHeadline ? (m(), v("h3", {
|
|
7152
7162
|
key: 1,
|
|
7153
|
-
class: M(
|
|
7163
|
+
class: M(u.value),
|
|
7154
7164
|
innerHTML: p.headline
|
|
7155
7165
|
}, null, 10, M6)) : (m(), v("h2", {
|
|
7156
7166
|
key: 2,
|
|
7157
|
-
class: M(
|
|
7167
|
+
class: M(u.value),
|
|
7158
7168
|
innerHTML: p.headline
|
|
7159
7169
|
}, null, 10, x6))
|
|
7160
7170
|
])) : _("", !0),
|
|
7161
7171
|
p.subHeadline && p.isHero ? (m(), v("h6", {
|
|
7162
7172
|
key: 2,
|
|
7163
|
-
class: M(
|
|
7173
|
+
class: M(f.value)
|
|
7164
7174
|
}, Y(p.subHeadline), 3)) : _("", !0)
|
|
7165
7175
|
], 2)) : _("", !0),
|
|
7166
7176
|
p.bodyCopy ? (m(), v("div", {
|
|
7167
7177
|
key: 2,
|
|
7168
|
-
class: M(`content-module-body-copy text-[17px] text-${y(
|
|
7178
|
+
class: M(`content-module-body-copy text-[17px] text-${y(d).copy} ${p.isHero ? "lg:max-w-[80%]" : ""} ${y(N)(((S = i.value) == null ? void 0 : S.bodyCopy) ?? "", a.value)}`),
|
|
7169
7179
|
style: k2({
|
|
7170
|
-
"--copy-accent-color": `var(--${y(
|
|
7171
|
-
"--bullet-color": `var(--${y(
|
|
7180
|
+
"--copy-accent-color": `var(--${y(d).copyAccent})`,
|
|
7181
|
+
"--bullet-color": `var(--${y(d).bullet})`
|
|
7172
7182
|
}),
|
|
7173
7183
|
innerHTML: p.bodyCopy
|
|
7174
7184
|
}, null, 14, w6)) : _("", !0),
|
|
7175
7185
|
p.image ? (m(), D(A2, B({ key: 3 }, p.image, {
|
|
7176
|
-
class: `content-module-image ${y(N)(((
|
|
7186
|
+
class: `content-module-image ${y(N)(((A = i.value) == null ? void 0 : A.image) ?? "", r.value)} ${((P = p.image) == null ? void 0 : P.class) ?? ""}`
|
|
7177
7187
|
}), null, 16, ["class"])) : _("", !0),
|
|
7178
7188
|
p.ctas ? (m(), v("div", {
|
|
7179
7189
|
key: 4,
|
|
7180
|
-
class: M(`content-module-ctas flex flex-wrap items-center gap-4 ${p.isHero ? "justify-center lg:justify-start" : s.value} ${y(N)(((
|
|
7190
|
+
class: M(`content-module-ctas flex flex-wrap items-center gap-4 ${p.isHero ? "justify-center lg:justify-start" : s.value} ${y(N)(((I = i.value) == null ? void 0 : I.ctas) ?? "", o.value, g ? "md:mt-0" : "")}`)
|
|
7181
7191
|
}, [
|
|
7182
|
-
(m(!0), v(q, null, n2(p.ctas, (
|
|
7183
|
-
key: `cta-${
|
|
7192
|
+
(m(!0), v(q, null, n2(p.ctas, (L, E) => (m(), D(D2, B({ ref_for: !0 }, L, {
|
|
7193
|
+
key: `cta-${L.title}-${E}`,
|
|
7184
7194
|
class: `content-module-cta ${p.isHero ? "w-auto justify-center" : ""}`,
|
|
7185
|
-
"background-color": y(
|
|
7195
|
+
"background-color": y(c)
|
|
7186
7196
|
}), null, 16, ["class", "background-color"]))), 128))
|
|
7187
7197
|
], 2)) : _("", !0)
|
|
7188
7198
|
], 2)
|
|
@@ -7256,8 +7266,8 @@ const Z6 = {
|
|
|
7256
7266
|
return (f = e.link) != null && f.externalUrl ? (h = e.link) == null ? void 0 : h.thirdPartyId : void 0;
|
|
7257
7267
|
}
|
|
7258
7268
|
), r = k(() => {
|
|
7259
|
-
var f, h, g,
|
|
7260
|
-
return (h = (f = e.link) == null ? void 0 : f.page) != null && h.slug ? `${(
|
|
7269
|
+
var f, h, g, C, p, b;
|
|
7270
|
+
return (h = (f = e.link) == null ? void 0 : f.page) != null && h.slug ? `${(C = (g = e.link) == null ? void 0 : g.page) == null ? void 0 : C.slug}` : (p = e.link) != null && p.externalUrl ? (b = e.link) == null ? void 0 : b.externalUrl : "";
|
|
7261
7271
|
}), a = k(() => {
|
|
7262
7272
|
var f, h, g;
|
|
7263
7273
|
return (h = (f = e.link) == null ? void 0 : f.page) != null && h.slug || (g = e.link) != null && g.externalUrl ? "a" : "button";
|
|
@@ -7272,25 +7282,25 @@ const Z6 = {
|
|
|
7272
7282
|
class: M(d.value)
|
|
7273
7283
|
}, {
|
|
7274
7284
|
default: u2(() => {
|
|
7275
|
-
var
|
|
7285
|
+
var C;
|
|
7276
7286
|
return [
|
|
7277
7287
|
l.value === y(o0).header || f.isChild && (r.value || f.subNavigation) ? (m(), D(m2(a.value), {
|
|
7278
7288
|
key: 0,
|
|
7279
7289
|
id: s.value,
|
|
7280
7290
|
href: r.value ?? "",
|
|
7281
|
-
target: e.link ? y(u1)((
|
|
7291
|
+
target: e.link ? y(u1)((C = e.link) == null ? void 0 : C.target, e.link) : "_self",
|
|
7282
7292
|
class: M(`flex leading-tight items-center hover:underline cursor-pointer text-${y(o).copy} ${l.value === y(o0).header ? "whitespace-nowrap" : ""}`),
|
|
7283
7293
|
"aria-expanded": a.value === "button" ? !0 : void 0,
|
|
7284
7294
|
"aria-haspopup": a.value === "button" ? !0 : void 0,
|
|
7285
7295
|
onClick: u
|
|
7286
7296
|
}, {
|
|
7287
7297
|
default: u2(() => {
|
|
7288
|
-
var
|
|
7298
|
+
var p;
|
|
7289
7299
|
return [
|
|
7290
7300
|
F0(Y(f.title) + " ", 1),
|
|
7291
7301
|
!f.isChild && f.subNavigation && !(r.value || f.isChild) ? (m(), v("div", {
|
|
7292
7302
|
key: 0,
|
|
7293
|
-
class: M((
|
|
7303
|
+
class: M((p = t.value) == null ? void 0 : p.icon)
|
|
7294
7304
|
}, [
|
|
7295
7305
|
T2($("i", Z6, null, 512), [
|
|
7296
7306
|
[z2, !c.value]
|
|
@@ -7318,13 +7328,13 @@ const Z6 = {
|
|
|
7318
7328
|
"aria-labelledby": "menu-button",
|
|
7319
7329
|
tabindex: "-1"
|
|
7320
7330
|
}, [
|
|
7321
|
-
(m(!0), v(q, null, n2(f.subNavigation, (
|
|
7322
|
-
key:
|
|
7331
|
+
(m(!0), v(q, null, n2(f.subNavigation, (p, b) => (m(), D(g, B({
|
|
7332
|
+
key: p.title,
|
|
7323
7333
|
class: ["ms-3 sm:ms-0", `sub-navigation-element-item-${b}`],
|
|
7324
7334
|
role: "menuitem",
|
|
7325
7335
|
tabindex: "-1",
|
|
7326
7336
|
ref_for: !0
|
|
7327
|
-
}, { ...
|
|
7337
|
+
}, { ...p, elementType: f.elementType, isChild: !0, backgroundColor: y(i) }), null, 16, ["class"]))), 128))
|
|
7328
7338
|
], 2)) : _("", !0),
|
|
7329
7339
|
f.htmlRef ? (m(), v("div", {
|
|
7330
7340
|
key: 3,
|
|
@@ -7358,7 +7368,7 @@ const Z6 = {
|
|
|
7358
7368
|
href: (a = o == null ? void 0 : o.link) == null ? void 0 : a.externalUrl,
|
|
7359
7369
|
target: y(u1)((l = o == null ? void 0 : o.link) == null ? void 0 : l.target, o == null ? void 0 : o.link)
|
|
7360
7370
|
}, [
|
|
7361
|
-
|
|
7371
|
+
E2(i, {
|
|
7362
7372
|
media: (c = o == null ? void 0 : o.icon) == null ? void 0 : c.media
|
|
7363
7373
|
}, null, 8, ["media"])
|
|
7364
7374
|
], 10, P6);
|
|
@@ -7499,7 +7509,7 @@ const Z6 = {
|
|
|
7499
7509
|
key: 0,
|
|
7500
7510
|
"social-media-ref": s.socialMediaRef
|
|
7501
7511
|
}, null, 8, ["social-media-ref"])) : _("", !0),
|
|
7502
|
-
|
|
7512
|
+
E2(Xt, {
|
|
7503
7513
|
"is-center-align": o.value,
|
|
7504
7514
|
"copy-right": s.copyRight,
|
|
7505
7515
|
navigation: s.copyRightLinks,
|
|
@@ -7625,25 +7635,25 @@ const Z6 = {
|
|
|
7625
7635
|
return (f, h) => (m(), v("header", W6, [
|
|
7626
7636
|
$("div", U6, [
|
|
7627
7637
|
c.value.length > 0 || d.value.length > 0 ? (m(), v("nav", Y6, [
|
|
7628
|
-
(m(!0), v(q, null, n2(c.value, (g,
|
|
7629
|
-
key: `${g.title}-${
|
|
7638
|
+
(m(!0), v(q, null, n2(c.value, (g, C) => (m(), D(s0, B({
|
|
7639
|
+
key: `${g.title}-${C}`,
|
|
7630
7640
|
role: "menuitem",
|
|
7631
7641
|
tabindex: "-1",
|
|
7632
7642
|
ref_for: !0
|
|
7633
7643
|
}, {
|
|
7634
7644
|
...g,
|
|
7635
|
-
class: `primary-nav-item-${
|
|
7645
|
+
class: `primary-nav-item-${C} ${g.class || ""} ${g.dividerLine ? "md:border-r pr-4 h-full" : ""}`,
|
|
7636
7646
|
isChild: !1,
|
|
7637
7647
|
elementType: "header"
|
|
7638
7648
|
}, {
|
|
7639
|
-
onClick: (
|
|
7649
|
+
onClick: (p) => r("navigation-click", g)
|
|
7640
7650
|
}), null, 16, ["onClick"]))), 128)),
|
|
7641
7651
|
(m(!0), v(q, null, n2(d.value, (g) => (m(), D(D2, B({
|
|
7642
7652
|
key: g.title,
|
|
7643
7653
|
class: ["my-4 sm:my-0", g.buttonType === "fill" ? "justify-center w-full" : ""],
|
|
7644
7654
|
ref_for: !0
|
|
7645
7655
|
}, g, {
|
|
7646
|
-
onClick: (
|
|
7656
|
+
onClick: (C) => r("cta-click", g)
|
|
7647
7657
|
}), null, 16, ["class", "onClick"]))), 128))
|
|
7648
7658
|
])) : _("", !0)
|
|
7649
7659
|
]),
|
|
@@ -7653,22 +7663,22 @@ const Z6 = {
|
|
|
7653
7663
|
$("div", K6, [
|
|
7654
7664
|
$("div", q6, [
|
|
7655
7665
|
f.logo ? (m(), v("a", X6, [
|
|
7656
|
-
|
|
7666
|
+
E2(A2, B(f.logo, { class: "h-full w-auto object-contain" }), null, 16)
|
|
7657
7667
|
])) : _("", !0),
|
|
7658
7668
|
$("div", G6, [
|
|
7659
7669
|
c.value.length > 0 ? (m(), v("nav", Q6, [
|
|
7660
|
-
(m(!0), v(q, null, n2(c.value, (g,
|
|
7661
|
-
key: `${g.title}-${
|
|
7670
|
+
(m(!0), v(q, null, n2(c.value, (g, C) => (m(), D(s0, B({
|
|
7671
|
+
key: `${g.title}-${C}`,
|
|
7662
7672
|
role: "menuitem",
|
|
7663
7673
|
tabindex: "-1",
|
|
7664
7674
|
ref_for: !0
|
|
7665
7675
|
}, {
|
|
7666
7676
|
...g,
|
|
7667
|
-
class: `h-full primary-nav-item-${
|
|
7677
|
+
class: `h-full primary-nav-item-${C} ${g.class || ""} ${g.dividerLine ? "md:border-r pr-4" : ""}`,
|
|
7668
7678
|
isChild: !1,
|
|
7669
7679
|
elementType: "header"
|
|
7670
7680
|
}, {
|
|
7671
|
-
onClick: (
|
|
7681
|
+
onClick: (p) => r("navigation-click", g)
|
|
7672
7682
|
}), null, 16, ["onClick"]))), 128))
|
|
7673
7683
|
])) : _("", !0),
|
|
7674
7684
|
$("button", {
|
|
@@ -7692,45 +7702,45 @@ const Z6 = {
|
|
|
7692
7702
|
key: 0,
|
|
7693
7703
|
class: M(["primary-navigation text-sm xl:text-base items-center px-2 pt-2 pb-4 md:flex gap-2 lg:gap-4 md:justify-evenly md:p-0", i.value ? "block" : "hidden"])
|
|
7694
7704
|
}, [
|
|
7695
|
-
(m(!0), v(q, null, n2(u.value, (g,
|
|
7696
|
-
key: `mobile-${g.title}-${
|
|
7705
|
+
(m(!0), v(q, null, n2(u.value, (g, C) => (m(), D(s0, B({
|
|
7706
|
+
key: `mobile-${g.title}-${C}`,
|
|
7697
7707
|
role: "menuitem",
|
|
7698
7708
|
tabindex: "-1",
|
|
7699
7709
|
ref_for: !0
|
|
7700
7710
|
}, {
|
|
7701
7711
|
...g,
|
|
7702
|
-
class: `md:hidden h-full primary-nav-item-${
|
|
7712
|
+
class: `md:hidden h-full primary-nav-item-${C} ${g.class || ""} ${g.dividerLine ? "md:border-r pr-4" : ""}`,
|
|
7703
7713
|
isChild: !1,
|
|
7704
7714
|
elementType: "header"
|
|
7705
7715
|
}, {
|
|
7706
|
-
onClick: (
|
|
7716
|
+
onClick: (p) => r("navigation-click", g)
|
|
7707
7717
|
}), null, 16, ["onClick"]))), 128)),
|
|
7708
|
-
(m(!0), v(q, null, n2(a.value, (g,
|
|
7709
|
-
key: `desktop-${g.title}-${
|
|
7718
|
+
(m(!0), v(q, null, n2(a.value, (g, C) => (m(), D(s0, B({
|
|
7719
|
+
key: `desktop-${g.title}-${C}`,
|
|
7710
7720
|
role: "menuitem",
|
|
7711
7721
|
tabindex: "-1",
|
|
7712
7722
|
ref_for: !0
|
|
7713
7723
|
}, {
|
|
7714
7724
|
...g,
|
|
7715
|
-
class: `hidden md:block h-full primary-nav-item-${
|
|
7725
|
+
class: `hidden md:block h-full primary-nav-item-${C} ${g.class || ""} ${g.dividerLine ? "sm:border-r pr-4" : ""}`,
|
|
7716
7726
|
isChild: !1,
|
|
7717
7727
|
elementType: "header"
|
|
7718
7728
|
}, {
|
|
7719
|
-
onClick: (
|
|
7729
|
+
onClick: (p) => r("navigation-click", g)
|
|
7720
7730
|
}), null, 16, ["onClick"]))), 128)),
|
|
7721
7731
|
(m(!0), v(q, null, n2(l.value, (g) => (m(), D(D2, B({
|
|
7722
7732
|
key: `filtered-${g.title}`,
|
|
7723
7733
|
class: g.buttonType === "fill" ? "justify-center w-full" : "",
|
|
7724
7734
|
ref_for: !0
|
|
7725
7735
|
}, g, {
|
|
7726
|
-
onClick: (
|
|
7736
|
+
onClick: (C) => r("cta-click", g)
|
|
7727
7737
|
}), null, 16, ["class", "onClick"]))), 128)),
|
|
7728
7738
|
(m(!0), v(q, null, n2(d.value, (g) => (m(), D(D2, B({
|
|
7729
7739
|
key: g.title,
|
|
7730
7740
|
class: ["flex md:hidden my-2 md:my-0", g.buttonType === "fill" ? "justify-center w-full" : ""],
|
|
7731
7741
|
ref_for: !0
|
|
7732
7742
|
}, g, {
|
|
7733
|
-
onClick: (
|
|
7743
|
+
onClick: (C) => r("cta-click", g)
|
|
7734
7744
|
}), null, 16, ["class", "onClick"]))), 128))
|
|
7735
7745
|
], 2)) : _("", !0)
|
|
7736
7746
|
])
|
|
@@ -7914,17 +7924,17 @@ const Z6 = {
|
|
|
7914
7924
|
() => c.has(i) ? a5 : l5
|
|
7915
7925
|
);
|
|
7916
7926
|
return (u, f) => {
|
|
7917
|
-
var g,
|
|
7927
|
+
var g, C, p, b, w, Z, S;
|
|
7918
7928
|
const h = D2;
|
|
7919
7929
|
return m(), v("section", {
|
|
7920
7930
|
class: M(`tile-collection ${u.variant} ${y(N)("overflow-hidden py-16", u.includeDecoration && !s.value ? "!pb-0" : "", ((g = t.value) == null ? void 0 : g.root) ?? "", e.class ?? "")} bg-${y(i)}`)
|
|
7921
7931
|
}, [
|
|
7922
7932
|
$("div", {
|
|
7923
|
-
class: M(`container mx-auto ${((
|
|
7933
|
+
class: M(`container mx-auto ${((C = t.value) == null ? void 0 : C.container) ?? ""}`)
|
|
7924
7934
|
}, [
|
|
7925
7935
|
u.headline || u.bodyCopy ? (m(), v("div", {
|
|
7926
7936
|
key: 0,
|
|
7927
|
-
class: M(`tile-collection-heading-container ${((
|
|
7937
|
+
class: M(`tile-collection-heading-container ${((p = t.value) == null ? void 0 : p.headingContainer) ?? ""}`)
|
|
7928
7938
|
}, [
|
|
7929
7939
|
u.headline ? (m(), v("h2", {
|
|
7930
7940
|
key: 0,
|
|
@@ -8170,23 +8180,23 @@ const b5 = ["src", "height", "width"], y5 = ["src"], gt = /* @__PURE__ */ t2({
|
|
|
8170
8180
|
}
|
|
8171
8181
|
), d = k(() => l.value === "center" ? "items-center" : l.value === "right" ? "items-end" : "items-start"), u = e2(null), f = d1(u, { threshold: 0.1 });
|
|
8172
8182
|
return (h, g) => {
|
|
8173
|
-
var b, w, Z, S, A, P, I,
|
|
8174
|
-
const
|
|
8183
|
+
var b, w, Z, S, A, P, I, L, E, j, R;
|
|
8184
|
+
const C = Ae, p = D2;
|
|
8175
8185
|
return m(), v("div", {
|
|
8176
8186
|
ref_key: "content",
|
|
8177
8187
|
ref: u,
|
|
8178
8188
|
style: k2({ transitionDelay: `${(h.index ?? 0) * 0.2}s` }),
|
|
8179
8189
|
class: M(`tile-content animate-slide-on-top ${y(f) ? "visible" : ""} ${y(N)((b = t.value) == null ? void 0 : b.root, r ? "" : "w-full md:w-full lg:w-full")} ${e.class} bg-${y(a)}`)
|
|
8180
8190
|
}, [
|
|
8181
|
-
h.tileLabel || h.tileLabelType ? (m(), D(
|
|
8191
|
+
h.tileLabel || h.tileLabelType ? (m(), D(C, B({ key: 0 }, h.tileLabel, {
|
|
8182
8192
|
type: h.tileLabelType ?? ((w = h.tileLabel) == null ? void 0 : w.type),
|
|
8183
8193
|
class: h.tileLabelType === "Numeric" || ((Z = h.tileLabel) == null ? void 0 : Z.type) === "Numeric" ? (S = t.value) == null ? void 0 : S.numericLabel : (A = t.value) == null ? void 0 : A.label,
|
|
8184
8194
|
"background-color": y(s).label[h.tileLabelType ?? ((P = h.tileLabel) == null ? void 0 : P.type) ?? "Text"].bg,
|
|
8185
8195
|
"text-color": y(s).label[h.tileLabelType ?? ((I = h.tileLabel) == null ? void 0 : I.type) ?? "Text"].copy,
|
|
8186
8196
|
index: h.index,
|
|
8187
|
-
alignment: ((
|
|
8197
|
+
alignment: ((L = h.tileLabel) == null ? void 0 : L.alignment) ?? "right"
|
|
8188
8198
|
}), null, 16, ["type", "class", "background-color", "text-color", "index", "alignment"])) : _("", !0),
|
|
8189
|
-
|
|
8199
|
+
E2(y(k0), {
|
|
8190
8200
|
class: M(`${((E = t.value) == null ? void 0 : E.container) ?? ""} tile-content-container shadow-none`),
|
|
8191
8201
|
"pt:footer:class": `tile-content-footer ${((j = t.value) == null ? void 0 : j.footer) ?? ""}`,
|
|
8192
8202
|
"pt:body:class": ((R = t.value) == null ? void 0 : R.body) ?? ""
|
|
@@ -8194,7 +8204,7 @@ const b5 = ["src", "height", "width"], y5 = ["src"], gt = /* @__PURE__ */ t2({
|
|
|
8194
8204
|
h.bodyCopy || h.listItems ? {
|
|
8195
8205
|
name: "content",
|
|
8196
8206
|
fn: u2(() => {
|
|
8197
|
-
var T, x,
|
|
8207
|
+
var T, x, O, F, H, z, G;
|
|
8198
8208
|
return [
|
|
8199
8209
|
$("div", {
|
|
8200
8210
|
class: M(`flex flex-col tile-content-inner ${((T = t.value) == null ? void 0 : T.bodyCopy) ?? ""} ${d.value}`)
|
|
@@ -8205,7 +8215,7 @@ const b5 = ["src", "height", "width"], y5 = ["src"], gt = /* @__PURE__ */ t2({
|
|
|
8205
8215
|
}, [
|
|
8206
8216
|
g[0] || (g[0] = $("div", { class: "tile-content-media-background" }, null, -1)),
|
|
8207
8217
|
h.image ? (m(), D(A2, B({ key: 0 }, h.image, {
|
|
8208
|
-
class: y(N)((
|
|
8218
|
+
class: y(N)((F = (O = h.image) == null ? void 0 : O.media) != null && F.width ? "" : "w-full", h.image.class)
|
|
8209
8219
|
}), null, 16, ["class"])) : _("", !0),
|
|
8210
8220
|
h.video ? (m(), D(gt, B({ key: 1 }, h.video, { class: "w-full" }), null, 16)) : _("", !0)
|
|
8211
8221
|
], 2)) : _("", !0),
|
|
@@ -8240,16 +8250,16 @@ const b5 = ["src", "height", "width"], y5 = ["src"], gt = /* @__PURE__ */ t2({
|
|
|
8240
8250
|
$("div", {
|
|
8241
8251
|
class: M(((x = t.value) == null ? void 0 : x.ctas) ?? "")
|
|
8242
8252
|
}, [
|
|
8243
|
-
(m(!0), v(q, null, n2(h.ctas, (
|
|
8253
|
+
(m(!0), v(q, null, n2(h.ctas, (O, F) => {
|
|
8244
8254
|
var H;
|
|
8245
|
-
return m(), D(
|
|
8246
|
-
key: `cta-${
|
|
8247
|
-
class: `cta-${
|
|
8248
|
-
color: y(pt)(
|
|
8249
|
-
"text-color": y(Ct)(
|
|
8255
|
+
return m(), D(p, B({
|
|
8256
|
+
key: `cta-${O.title}-${F}`,
|
|
8257
|
+
class: `cta-${F} ${(H = t.value) == null ? void 0 : H.cta}`,
|
|
8258
|
+
color: y(pt)(O, y(a)),
|
|
8259
|
+
"text-color": y(Ct)(O, y(a)),
|
|
8250
8260
|
"background-color": y(a),
|
|
8251
8261
|
ref_for: !0
|
|
8252
|
-
},
|
|
8262
|
+
}, O), null, 16, ["class", "color", "text-color", "background-color"]);
|
|
8253
8263
|
}), 128))
|
|
8254
8264
|
], 2)
|
|
8255
8265
|
];
|
|
@@ -8302,14 +8312,14 @@ const b5 = ["src", "height", "width"], y5 = ["src"], gt = /* @__PURE__ */ t2({
|
|
|
8302
8312
|
), d = k(() => l.value === "center" ? "items-center" : l.value === "right" ? "items-end" : "items-start"), u = e2(null), f = d1(u, { threshold: 0.1 });
|
|
8303
8313
|
return (h, g) => {
|
|
8304
8314
|
var b, w, Z, S;
|
|
8305
|
-
const
|
|
8315
|
+
const C = Ae, p = D2;
|
|
8306
8316
|
return m(), v("div", {
|
|
8307
8317
|
ref_key: "content",
|
|
8308
8318
|
ref: u,
|
|
8309
8319
|
style: k2({ transitionDelay: `${(h.index ?? 0) * 0.2}s` }),
|
|
8310
8320
|
class: M(`tile-content animate-slide-in-right ${y(f) ? "visible" : ""} ${y(N)(((b = t.value) == null ? void 0 : b.root) ?? "", r ? "" : "w-full md:w-full lg:w-full", `bg-${y(a)}`, e.class ?? "")}`)
|
|
8311
8321
|
}, [
|
|
8312
|
-
|
|
8322
|
+
E2(y(k0), {
|
|
8313
8323
|
class: M(`${((w = t.value) == null ? void 0 : w.container) ?? ""} tile-content-container shadow-none`),
|
|
8314
8324
|
"pt:footer:class": `tile-content-ctas ${((Z = t.value) == null ? void 0 : Z.footer) ?? ""}`,
|
|
8315
8325
|
"pt:body:class": ((S = t.value) == null ? void 0 : S.body) ?? ""
|
|
@@ -8317,7 +8327,7 @@ const b5 = ["src", "height", "width"], y5 = ["src"], gt = /* @__PURE__ */ t2({
|
|
|
8317
8327
|
h.image || h.bodyCopy || h.listItems ? {
|
|
8318
8328
|
name: "content",
|
|
8319
8329
|
fn: u2(() => {
|
|
8320
|
-
var A, P, I,
|
|
8330
|
+
var A, P, I, L, E, j, R, T, x, O, F, H, z, G, X;
|
|
8321
8331
|
return [
|
|
8322
8332
|
$("div", {
|
|
8323
8333
|
class: M(`flex flex-col tile-content-inner ${((A = t.value) == null ? void 0 : A.bodyCopy) ?? ""} ${d.value}`)
|
|
@@ -8326,10 +8336,10 @@ const b5 = ["src", "height", "width"], y5 = ["src"], gt = /* @__PURE__ */ t2({
|
|
|
8326
8336
|
key: 0,
|
|
8327
8337
|
class: M(`tile-content-media w-4/5 ${((P = t.value) == null ? void 0 : P.media) ?? ""}`)
|
|
8328
8338
|
}, [
|
|
8329
|
-
h.tileLabel || h.tileLabelType ? (m(), D(
|
|
8339
|
+
h.tileLabel || h.tileLabelType ? (m(), D(C, {
|
|
8330
8340
|
key: 0,
|
|
8331
8341
|
class: M(
|
|
8332
|
-
h.tileLabelType === "Numeric" || ((I = h.tileLabel) == null ? void 0 : I.type) === "Numeric" ? (
|
|
8342
|
+
h.tileLabelType === "Numeric" || ((I = h.tileLabel) == null ? void 0 : I.type) === "Numeric" ? (L = t.value) == null ? void 0 : L.numericLabel : (E = t.value) == null ? void 0 : E.label
|
|
8333
8343
|
),
|
|
8334
8344
|
index: h.index,
|
|
8335
8345
|
alignment: ((j = h.tileLabel) == null ? void 0 : j.alignment) ?? "left",
|
|
@@ -8340,8 +8350,8 @@ const b5 = ["src", "height", "width"], y5 = ["src"], gt = /* @__PURE__ */ t2({
|
|
|
8340
8350
|
g[0] || (g[0] = $("div", { class: "tile-content-media-background" }, null, -1)),
|
|
8341
8351
|
h.image ? (m(), D(A2, B({ key: 1 }, h.image, {
|
|
8342
8352
|
class: y(N)(
|
|
8343
|
-
!h.bodyCopy && !h.headline && !((
|
|
8344
|
-
(H = (
|
|
8353
|
+
!h.bodyCopy && !h.headline && !((O = h.listItems) != null && O.length) ? "rounded-lg" : "rounded-full",
|
|
8354
|
+
(H = (F = h.image) == null ? void 0 : F.media) != null && H.width ? "" : "w-full",
|
|
8345
8355
|
h.image.class
|
|
8346
8356
|
)
|
|
8347
8357
|
}), null, 16, ["class"])) : _("", !0)
|
|
@@ -8377,11 +8387,11 @@ const b5 = ["src", "height", "width"], y5 = ["src"], gt = /* @__PURE__ */ t2({
|
|
|
8377
8387
|
$("div", {
|
|
8378
8388
|
class: M(((P = t.value) == null ? void 0 : P.ctas) ?? "")
|
|
8379
8389
|
}, [
|
|
8380
|
-
(m(!0), v(q, null, n2(h.ctas, (I,
|
|
8390
|
+
(m(!0), v(q, null, n2(h.ctas, (I, L) => {
|
|
8381
8391
|
var E;
|
|
8382
|
-
return m(), D(
|
|
8383
|
-
key: `cta-${I.title}-${
|
|
8384
|
-
class: `cta-${
|
|
8392
|
+
return m(), D(p, B({
|
|
8393
|
+
key: `cta-${I.title}-${L}`,
|
|
8394
|
+
class: `cta-${L} ${(E = t.value) == null ? void 0 : E.cta}`,
|
|
8385
8395
|
color: y(pt)(I, y(a)),
|
|
8386
8396
|
"text-color": y(Ct)(I, y(a)),
|
|
8387
8397
|
ref_for: !0
|
|
@@ -8437,19 +8447,19 @@ const b5 = ["src", "height", "width"], y5 = ["src"], gt = /* @__PURE__ */ t2({
|
|
|
8437
8447
|
}
|
|
8438
8448
|
);
|
|
8439
8449
|
return (d, u) => {
|
|
8440
|
-
var g,
|
|
8450
|
+
var g, C, p, b, w, Z, S, A, P, I;
|
|
8441
8451
|
const f = Ae, h = D2;
|
|
8442
8452
|
return m(), v("div", {
|
|
8443
8453
|
class: M(`tile-content ${y(N)((g = t.value) == null ? void 0 : g.root, i ? "" : "w-full md:w-full lg:w-full")} ${e.class} bg-${y(a)}`)
|
|
8444
8454
|
}, [
|
|
8445
8455
|
d.tileLabel || d.tileLabelType ? (m(), D(f, B({ key: 0 }, d.tileLabel, {
|
|
8446
|
-
class: d.tileLabelType === "Numeric" || ((
|
|
8456
|
+
class: d.tileLabelType === "Numeric" || ((C = d.tileLabel) == null ? void 0 : C.type) === "Numeric" ? (p = t.value) == null ? void 0 : p.numericLabel : (b = t.value) == null ? void 0 : b.label,
|
|
8447
8457
|
index: d.index,
|
|
8448
8458
|
type: d.tileLabelType ?? ((w = d.tileLabel) == null ? void 0 : w.type),
|
|
8449
8459
|
"background-color": y(r).label[d.tileLabelType ?? ((Z = d.tileLabel) == null ? void 0 : Z.type) ?? "Text"].bg,
|
|
8450
8460
|
"text-color": y(r).label[d.tileLabelType ?? ((S = d.tileLabel) == null ? void 0 : S.type) ?? "Text"].copy
|
|
8451
8461
|
}), null, 16, ["class", "index", "type", "background-color", "text-color"])) : _("", !0),
|
|
8452
|
-
|
|
8462
|
+
E2(y(k0), {
|
|
8453
8463
|
class: M(`${((A = t.value) == null ? void 0 : A.container) ?? ""} tile-content-container shadow-none`),
|
|
8454
8464
|
"pt:footer:class": `tile-content-ctas ${((P = t.value) == null ? void 0 : P.footer) ?? ""}`,
|
|
8455
8465
|
"pt:body:class": ((I = t.value) == null ? void 0 : I.body) ?? ""
|
|
@@ -8457,10 +8467,10 @@ const b5 = ["src", "height", "width"], y5 = ["src"], gt = /* @__PURE__ */ t2({
|
|
|
8457
8467
|
d.bodyCopy || d.subheadline || d.headline ? {
|
|
8458
8468
|
name: "content",
|
|
8459
8469
|
fn: u2(() => {
|
|
8460
|
-
var
|
|
8470
|
+
var L, E, j, R;
|
|
8461
8471
|
return [
|
|
8462
8472
|
$("div", {
|
|
8463
|
-
class: M(`flex flex-col tile-content-inner ${((
|
|
8473
|
+
class: M(`flex flex-col tile-content-inner ${((L = t.value) == null ? void 0 : L.bodyCopy) ?? ""}`)
|
|
8464
8474
|
}, [
|
|
8465
8475
|
d.subheadline ? (m(), v("h6", {
|
|
8466
8476
|
key: 0,
|
|
@@ -8484,11 +8494,11 @@ const b5 = ["src", "height", "width"], y5 = ["src"], gt = /* @__PURE__ */ t2({
|
|
|
8484
8494
|
d.ctas || d.footer ? {
|
|
8485
8495
|
name: "footer",
|
|
8486
8496
|
fn: u2(() => {
|
|
8487
|
-
var
|
|
8497
|
+
var L, E;
|
|
8488
8498
|
return [
|
|
8489
8499
|
d.footer ? (m(), v("p", {
|
|
8490
8500
|
key: 0,
|
|
8491
|
-
class: M(`${((
|
|
8501
|
+
class: M(`${((L = t.value) == null ? void 0 : L.footerContent) ?? ""} text-${y(r).copy} text-${l.value}`)
|
|
8492
8502
|
}, Y(d.footer), 3)) : _("", !0),
|
|
8493
8503
|
$("div", {
|
|
8494
8504
|
class: M(((E = t.value) == null ? void 0 : E.ctas) ?? "")
|
|
@@ -8555,15 +8565,15 @@ const b5 = ["src", "height", "width"], y5 = ["src"], gt = /* @__PURE__ */ t2({
|
|
|
8555
8565
|
}
|
|
8556
8566
|
), d = k(() => l.value === "center" ? "items-center" : l.value === "right" ? "items-end" : "items-start");
|
|
8557
8567
|
return (u, f) => {
|
|
8558
|
-
var
|
|
8568
|
+
var C, p, b, w, Z, S, A, P, I, L, E;
|
|
8559
8569
|
const h = Ae, g = D2;
|
|
8560
8570
|
return m(), v("div", {
|
|
8561
|
-
class: M(`tile-content ${y(N)("relative text-center list-none flex-auto rounded overflow-visible mx-auto shadow-none", `bg-${y(a)}`, i ? "" : "w-full md:w-full lg:w-full", ((
|
|
8571
|
+
class: M(`tile-content ${y(N)("relative text-center list-none flex-auto rounded overflow-visible mx-auto shadow-none", `bg-${y(a)}`, i ? "" : "w-full md:w-full lg:w-full", ((C = t.value) == null ? void 0 : C.root) ?? "", e.class ?? "")} ${e.class}`)
|
|
8562
8572
|
}, [
|
|
8563
8573
|
u.tileLabel || u.tileLabelType ? (m(), D(h, {
|
|
8564
8574
|
key: 0,
|
|
8565
8575
|
class: M(
|
|
8566
|
-
u.tileLabelType === "Numeric" || ((
|
|
8576
|
+
u.tileLabelType === "Numeric" || ((p = u.tileLabel) == null ? void 0 : p.type) === "Numeric" ? (b = t.value) == null ? void 0 : b.numericLabel : (w = t.value) == null ? void 0 : w.label
|
|
8567
8577
|
),
|
|
8568
8578
|
index: u.index,
|
|
8569
8579
|
alignment: ((Z = u.tileLabel) == null ? void 0 : Z.alignment) ?? "right",
|
|
@@ -8571,15 +8581,15 @@ const b5 = ["src", "height", "width"], y5 = ["src"], gt = /* @__PURE__ */ t2({
|
|
|
8571
8581
|
"background-color": y(r).label[u.tileLabelType ?? ((A = u.tileLabel) == null ? void 0 : A.type) ?? "Text"].bg,
|
|
8572
8582
|
"text-color": y(r).label[u.tileLabelType ?? ((P = u.tileLabel) == null ? void 0 : P.type) ?? "Text"].copy
|
|
8573
8583
|
}, null, 8, ["class", "index", "alignment", "type", "background-color", "text-color"])) : _("", !0),
|
|
8574
|
-
|
|
8584
|
+
E2(y(k0), {
|
|
8575
8585
|
class: M(`${((I = t.value) == null ? void 0 : I.container) ?? ""} tile-content-container shadow-none`),
|
|
8576
|
-
"pt:footer:class": `tile-content-ctas ${((
|
|
8586
|
+
"pt:footer:class": `tile-content-ctas ${((L = t.value) == null ? void 0 : L.ctas) ?? ""}`,
|
|
8577
8587
|
"pt:body:class": ((E = t.value) == null ? void 0 : E.body) ?? ""
|
|
8578
8588
|
}, R0({ _: 2 }, [
|
|
8579
8589
|
u.bodyCopy || u.listItems ? {
|
|
8580
8590
|
name: "content",
|
|
8581
8591
|
fn: u2(() => {
|
|
8582
|
-
var j, R, T, x,
|
|
8592
|
+
var j, R, T, x, O, F;
|
|
8583
8593
|
return [
|
|
8584
8594
|
$("div", {
|
|
8585
8595
|
class: M(`flex flex-col tile-content-inner ${((j = t.value) == null ? void 0 : j.bodyCopy) ?? ""} ${d.value}`)
|
|
@@ -8594,16 +8604,16 @@ const b5 = ["src", "height", "width"], y5 = ["src"], gt = /* @__PURE__ */ t2({
|
|
|
8594
8604
|
}, Y(u.subheadline), 3)) : _("", !0),
|
|
8595
8605
|
(x = u.video) != null && x.url ? (m(), v("div", {
|
|
8596
8606
|
key: 2,
|
|
8597
|
-
class: M(`tile-content-media w-full ${((
|
|
8607
|
+
class: M(`tile-content-media w-full ${((O = t.value) == null ? void 0 : O.media) ?? ""}`)
|
|
8598
8608
|
}, [
|
|
8599
|
-
|
|
8609
|
+
E2(gt, {
|
|
8600
8610
|
url: u.video.url,
|
|
8601
8611
|
thumbnail: u.video.thumbnail
|
|
8602
8612
|
}, null, 8, ["url", "thumbnail"])
|
|
8603
8613
|
], 2)) : _("", !0),
|
|
8604
8614
|
u.bodyCopy ? (m(), v("div", {
|
|
8605
8615
|
key: 3,
|
|
8606
|
-
class: M(`tile-content-body-copy ${((
|
|
8616
|
+
class: M(`tile-content-body-copy ${((F = t.value) == null ? void 0 : F.bodyCopy) ?? ""} text-${y(r).copy} text-${c.value} body-copy-with-lists`),
|
|
8607
8617
|
style: k2({ "--bullet-color": `var(--${y(s).bullet})` }),
|
|
8608
8618
|
innerHTML: u.bodyCopy
|
|
8609
8619
|
}, null, 14, $5)) : _("", !0)
|
|
@@ -8692,19 +8702,19 @@ function I5(n, e, t = {}) {
|
|
|
8692
8702
|
let d = u0;
|
|
8693
8703
|
const u = e2(a), f = l.value ? G2(
|
|
8694
8704
|
() => [c.value, We(i), u.value],
|
|
8695
|
-
([g,
|
|
8705
|
+
([g, C]) => {
|
|
8696
8706
|
if (d(), !u.value || !g.length)
|
|
8697
8707
|
return;
|
|
8698
|
-
const
|
|
8708
|
+
const p = new IntersectionObserver(
|
|
8699
8709
|
e,
|
|
8700
8710
|
{
|
|
8701
|
-
root: We(
|
|
8711
|
+
root: We(C),
|
|
8702
8712
|
rootMargin: o,
|
|
8703
8713
|
threshold: s
|
|
8704
8714
|
}
|
|
8705
8715
|
);
|
|
8706
|
-
g.forEach((b) => b &&
|
|
8707
|
-
|
|
8716
|
+
g.forEach((b) => b && p.observe(b)), d = () => {
|
|
8717
|
+
p.disconnect(), d = u0;
|
|
8708
8718
|
};
|
|
8709
8719
|
},
|
|
8710
8720
|
{ immediate: a, flush: "post" }
|
|
@@ -8854,18 +8864,18 @@ const D5 = ["innerHTML"], R5 = ["innerHTML"], j5 = ["src"], H5 = /* @__PURE__ */
|
|
|
8854
8864
|
t.value = u;
|
|
8855
8865
|
};
|
|
8856
8866
|
return (u, f) => {
|
|
8857
|
-
var g,
|
|
8867
|
+
var g, C, p, b;
|
|
8858
8868
|
const h = Ae;
|
|
8859
8869
|
return m(), v("div", {
|
|
8860
8870
|
class: M(`tile-content ${y(N)(((g = o.value) == null ? void 0 : g.root) ?? "", i.class ?? "")} max-w-[1024px]`)
|
|
8861
8871
|
}, [
|
|
8862
|
-
|
|
8863
|
-
class: M(`${((
|
|
8864
|
-
"pt:footer:class": `tile-content-ctas ${((
|
|
8872
|
+
E2(y(k0), {
|
|
8873
|
+
class: M(`${((C = o.value) == null ? void 0 : C.container) ?? ""} tile-content-container shadow-none`),
|
|
8874
|
+
"pt:footer:class": `tile-content-ctas ${((p = o.value) == null ? void 0 : p.ctas) ?? ""}`,
|
|
8865
8875
|
"pt:body:class": ((b = o.value) == null ? void 0 : b.body) ?? ""
|
|
8866
8876
|
}, R0({
|
|
8867
8877
|
content: u2(() => {
|
|
8868
|
-
var w, Z, S, A, P, I,
|
|
8878
|
+
var w, Z, S, A, P, I, L, E, j, R, T, x;
|
|
8869
8879
|
return [
|
|
8870
8880
|
$("div", {
|
|
8871
8881
|
class: M(`flex gap-[5vmin] md:gap-12 relative ${s.value ? "flex-row-reverse" : ""} tile-content-inner ${((w = o.value) == null ? void 0 : w.bodyCopy) ?? ""}`)
|
|
@@ -8915,7 +8925,7 @@ const D5 = ["innerHTML"], R5 = ["innerHTML"], j5 = ["src"], H5 = /* @__PURE__ */
|
|
|
8915
8925
|
}, null, 10, j5)) : _("", !0),
|
|
8916
8926
|
u.tileLabel || u.tileLabelType ? (m(), D(h, B({ key: 1 }, u.tileLabel, {
|
|
8917
8927
|
class: {
|
|
8918
|
-
[((I = o.value) == null ? void 0 : I.numericLabel) ?? ""]: u.tileLabelType === "Numeric" || ((
|
|
8928
|
+
[((I = o.value) == null ? void 0 : I.numericLabel) ?? ""]: u.tileLabelType === "Numeric" || ((L = u.tileLabel) == null ? void 0 : L.type) === "Numeric",
|
|
8919
8929
|
[((E = o.value) == null ? void 0 : E.label) ?? ""]: u.tileLabelType === "Text" || ((j = u.tileLabel) == null ? void 0 : j.type) === "Text",
|
|
8920
8930
|
"top-1 md:top-8": !0,
|
|
8921
8931
|
"left-1": !s.value,
|
|
@@ -8987,7 +8997,7 @@ const D5 = ["innerHTML"], R5 = ["innerHTML"], j5 = ["src"], H5 = /* @__PURE__ */
|
|
|
8987
8997
|
"pt:content:class": "flex flex-col md:flex-row gap-8"
|
|
8988
8998
|
}, {
|
|
8989
8999
|
content: u2(() => {
|
|
8990
|
-
var c, d, u, f, h, g,
|
|
9000
|
+
var c, d, u, f, h, g, C, p, b;
|
|
8991
9001
|
return [
|
|
8992
9002
|
$("div", {
|
|
8993
9003
|
class: M((c = o.value) == null ? void 0 : c.mobileCollapsed)
|
|
@@ -9002,12 +9012,12 @@ const D5 = ["innerHTML"], R5 = ["innerHTML"], j5 = ["src"], H5 = /* @__PURE__ */
|
|
|
9002
9012
|
}, Y((h = e.helloBannerData) == null ? void 0 : h.fullCopy), 3)
|
|
9003
9013
|
], 2),
|
|
9004
9014
|
(g = e.helloBannerData) != null && g.cta ? (m(), v("section", N5, [
|
|
9005
|
-
|
|
9006
|
-
class: y(N)((
|
|
9015
|
+
E2(D2, B(e.helloBannerData.cta, {
|
|
9016
|
+
class: y(N)((C = o.value) == null ? void 0 : C.cta, "cta")
|
|
9007
9017
|
}), null, 16, ["class"])
|
|
9008
9018
|
])) : _("", !0),
|
|
9009
|
-
|
|
9010
|
-
class: M([(
|
|
9019
|
+
E2(y(ht), {
|
|
9020
|
+
class: M([(p = o.value) == null ? void 0 : p.toggle, "toggle"]),
|
|
9011
9021
|
"pt:root:class": (b = o.value) == null ? void 0 : b.toggle,
|
|
9012
9022
|
tabindex: "0",
|
|
9013
9023
|
"aria-label": t.value === "minimized" ? "Expand banner" : "Minimize banner",
|
|
@@ -9057,19 +9067,19 @@ function X2(n) {
|
|
|
9057
9067
|
function K1(n) {
|
|
9058
9068
|
return r0(Ze(n * 100), 0, 100);
|
|
9059
9069
|
}
|
|
9060
|
-
const
|
|
9070
|
+
const O2 = { 0: 0, 1: 1, 2: 2, 3: 3, 4: 4, 5: 5, 6: 6, 7: 7, 8: 8, 9: 9, A: 10, B: 11, C: 12, D: 13, E: 14, F: 15, a: 10, b: 11, c: 12, d: 13, e: 14, f: 15 }, Gt = [..."0123456789ABCDEF"], U5 = (n) => Gt[n & 15], Y5 = (n) => Gt[(n & 240) >> 4] + Gt[n & 15], Pe = (n) => (n & 240) >> 4 === (n & 15), K5 = (n) => Pe(n.r) && Pe(n.g) && Pe(n.b) && Pe(n.a);
|
|
9061
9071
|
function q5(n) {
|
|
9062
9072
|
var e = n.length, t;
|
|
9063
9073
|
return n[0] === "#" && (e === 4 || e === 5 ? t = {
|
|
9064
|
-
r: 255 &
|
|
9065
|
-
g: 255 &
|
|
9066
|
-
b: 255 &
|
|
9067
|
-
a: e === 5 ?
|
|
9074
|
+
r: 255 & O2[n[1]] * 17,
|
|
9075
|
+
g: 255 & O2[n[2]] * 17,
|
|
9076
|
+
b: 255 & O2[n[3]] * 17,
|
|
9077
|
+
a: e === 5 ? O2[n[4]] * 17 : 255
|
|
9068
9078
|
} : (e === 7 || e === 9) && (t = {
|
|
9069
|
-
r:
|
|
9070
|
-
g:
|
|
9071
|
-
b:
|
|
9072
|
-
a: e === 9 ?
|
|
9079
|
+
r: O2[n[1]] << 4 | O2[n[2]],
|
|
9080
|
+
g: O2[n[3]] << 4 | O2[n[4]],
|
|
9081
|
+
b: O2[n[5]] << 4 | O2[n[6]],
|
|
9082
|
+
a: e === 9 ? O2[n[7]] << 4 | O2[n[8]] : 255
|
|
9073
9083
|
})), t;
|
|
9074
9084
|
}
|
|
9075
9085
|
const X5 = (n, e) => n < 255 ? e(n) : "";
|
|
@@ -9489,7 +9499,7 @@ function J(n) {
|
|
|
9489
9499
|
function x2(n) {
|
|
9490
9500
|
return (typeof n == "number" || n instanceof Number) && isFinite(+n);
|
|
9491
9501
|
}
|
|
9492
|
-
function
|
|
9502
|
+
function I2(n, e) {
|
|
9493
9503
|
return x2(n) ? n : e;
|
|
9494
9504
|
}
|
|
9495
9505
|
function i2(n, e) {
|
|
@@ -9671,18 +9681,18 @@ function si(n, e) {
|
|
|
9671
9681
|
function kr(n, e) {
|
|
9672
9682
|
return Math.sqrt(Math.pow(e.x - n.x, 2) + Math.pow(e.y - n.y, 2));
|
|
9673
9683
|
}
|
|
9674
|
-
function
|
|
9684
|
+
function L2(n) {
|
|
9675
9685
|
return (n % f2 + f2) % f2;
|
|
9676
9686
|
}
|
|
9677
9687
|
function nt(n, e, t, i) {
|
|
9678
|
-
const o =
|
|
9688
|
+
const o = L2(n), s = L2(e), r = L2(t), a = L2(s - o), l = L2(r - o), c = L2(o - s), d = L2(o - r);
|
|
9679
9689
|
return o === s || o === r || i && s === r || a > l && c < d;
|
|
9680
9690
|
}
|
|
9681
|
-
function
|
|
9691
|
+
function F2(n, e, t) {
|
|
9682
9692
|
return Math.max(e, Math.min(t, n));
|
|
9683
9693
|
}
|
|
9684
9694
|
function Ar(n) {
|
|
9685
|
-
return
|
|
9695
|
+
return F2(n, -32768, 32767);
|
|
9686
9696
|
}
|
|
9687
9697
|
function G0(n, e, t, i = 1e-6) {
|
|
9688
9698
|
return n >= Math.min(e, t) - i && n <= Math.max(e, t) + i;
|
|
@@ -9775,7 +9785,7 @@ function Pr(n, e) {
|
|
|
9775
9785
|
return e ? (clearTimeout(t), t = setTimeout(n, e, i)) : n.apply(this, i), e;
|
|
9776
9786
|
};
|
|
9777
9787
|
}
|
|
9778
|
-
const ci = (n) => n === "start" ? "left" : n === "end" ? "right" : "center",
|
|
9788
|
+
const ci = (n) => n === "start" ? "left" : n === "end" ? "right" : "center", B2 = (n, e, t) => n === "start" ? e : n === "end" ? t : (e + t) / 2, Br = (n, e, t, i) => n === (i ? "left" : "right") ? t : n === "center" ? (e + t) / 2 : e, Le = (n) => n === 0 || n === 1, o3 = (n, e, t) => -(Math.pow(2, 10 * (n -= 1)) * Math.sin((n - e) * f2 / t)), s3 = (n, e, t) => Math.pow(2, -10 * n) * Math.sin((n - e) * f2 / t) + 1, oe = {
|
|
9779
9789
|
linear: (n) => n,
|
|
9780
9790
|
easeInQuad: (n) => n * n,
|
|
9781
9791
|
easeOutQuad: (n) => -n * (n - 2),
|
|
@@ -10155,45 +10165,45 @@ function c3(n, e, t, i) {
|
|
|
10155
10165
|
}
|
|
10156
10166
|
function hi(n, e, t, i, o) {
|
|
10157
10167
|
let s, r, a, l, c, d, u, f;
|
|
10158
|
-
const h = e.pointStyle, g = e.rotation,
|
|
10159
|
-
let
|
|
10168
|
+
const h = e.pointStyle, g = e.rotation, C = e.radius;
|
|
10169
|
+
let p = (g || 0) * Mr;
|
|
10160
10170
|
if (h && typeof h == "object" && (s = h.toString(), s === "[object HTMLImageElement]" || s === "[object HTMLCanvasElement]")) {
|
|
10161
|
-
n.save(), n.translate(t, i), n.rotate(
|
|
10171
|
+
n.save(), n.translate(t, i), n.rotate(p), n.drawImage(h, -h.width / 2, -h.height / 2, h.width, h.height), n.restore();
|
|
10162
10172
|
return;
|
|
10163
10173
|
}
|
|
10164
|
-
if (!(isNaN(
|
|
10174
|
+
if (!(isNaN(C) || C <= 0)) {
|
|
10165
10175
|
switch (n.beginPath(), h) {
|
|
10166
10176
|
default:
|
|
10167
|
-
o ? n.ellipse(t, i, o / 2,
|
|
10177
|
+
o ? n.ellipse(t, i, o / 2, C, 0, 0, f2) : n.arc(t, i, C, 0, f2), n.closePath();
|
|
10168
10178
|
break;
|
|
10169
10179
|
case "triangle":
|
|
10170
|
-
d = o ? o / 2 :
|
|
10180
|
+
d = o ? o / 2 : C, n.moveTo(t + Math.sin(p) * d, i - Math.cos(p) * C), p += e3, n.lineTo(t + Math.sin(p) * d, i - Math.cos(p) * C), p += e3, n.lineTo(t + Math.sin(p) * d, i - Math.cos(p) * C), n.closePath();
|
|
10171
10181
|
break;
|
|
10172
10182
|
case "rectRounded":
|
|
10173
|
-
c =
|
|
10183
|
+
c = C * 0.516, l = C - c, r = Math.cos(p + C0) * l, u = Math.cos(p + C0) * (o ? o / 2 - c : l), a = Math.sin(p + C0) * l, f = Math.sin(p + C0) * (o ? o / 2 - c : l), n.arc(t - u, i - a, c, p - r2, p - b2), n.arc(t + f, i - r, c, p - b2, p), n.arc(t + u, i + a, c, p, p + b2), n.arc(t - f, i + r, c, p + b2, p + r2), n.closePath();
|
|
10174
10184
|
break;
|
|
10175
10185
|
case "rect":
|
|
10176
10186
|
if (!g) {
|
|
10177
|
-
l = Math.SQRT1_2 *
|
|
10187
|
+
l = Math.SQRT1_2 * C, d = o ? o / 2 : l, n.rect(t - d, i - l, 2 * d, 2 * l);
|
|
10178
10188
|
break;
|
|
10179
10189
|
}
|
|
10180
|
-
|
|
10190
|
+
p += C0;
|
|
10181
10191
|
case "rectRot":
|
|
10182
|
-
u = Math.cos(
|
|
10192
|
+
u = Math.cos(p) * (o ? o / 2 : C), r = Math.cos(p) * C, a = Math.sin(p) * C, f = Math.sin(p) * (o ? o / 2 : C), n.moveTo(t - u, i - a), n.lineTo(t + f, i - r), n.lineTo(t + u, i + a), n.lineTo(t - f, i + r), n.closePath();
|
|
10183
10193
|
break;
|
|
10184
10194
|
case "crossRot":
|
|
10185
|
-
|
|
10195
|
+
p += C0;
|
|
10186
10196
|
case "cross":
|
|
10187
|
-
u = Math.cos(
|
|
10197
|
+
u = Math.cos(p) * (o ? o / 2 : C), r = Math.cos(p) * C, a = Math.sin(p) * C, f = Math.sin(p) * (o ? o / 2 : C), n.moveTo(t - u, i - a), n.lineTo(t + u, i + a), n.moveTo(t + f, i - r), n.lineTo(t - f, i + r);
|
|
10188
10198
|
break;
|
|
10189
10199
|
case "star":
|
|
10190
|
-
u = Math.cos(
|
|
10200
|
+
u = Math.cos(p) * (o ? o / 2 : C), r = Math.cos(p) * C, a = Math.sin(p) * C, f = Math.sin(p) * (o ? o / 2 : C), n.moveTo(t - u, i - a), n.lineTo(t + u, i + a), n.moveTo(t + f, i - r), n.lineTo(t - f, i + r), p += C0, u = Math.cos(p) * (o ? o / 2 : C), r = Math.cos(p) * C, a = Math.sin(p) * C, f = Math.sin(p) * (o ? o / 2 : C), n.moveTo(t - u, i - a), n.lineTo(t + u, i + a), n.moveTo(t + f, i - r), n.lineTo(t - f, i + r);
|
|
10191
10201
|
break;
|
|
10192
10202
|
case "line":
|
|
10193
|
-
r = o ? o / 2 : Math.cos(
|
|
10203
|
+
r = o ? o / 2 : Math.cos(p) * C, a = Math.sin(p) * C, n.moveTo(t - r, i - a), n.lineTo(t + r, i + a);
|
|
10194
10204
|
break;
|
|
10195
10205
|
case "dash":
|
|
10196
|
-
n.moveTo(t, i), n.lineTo(t + Math.cos(
|
|
10206
|
+
n.moveTo(t, i), n.lineTo(t + Math.cos(p) * (o ? o / 2 : C), i + Math.sin(p) * C);
|
|
10197
10207
|
break;
|
|
10198
10208
|
case !1:
|
|
10199
10209
|
n.closePath();
|
|
@@ -11072,10 +11082,10 @@ function b3(n, e) {
|
|
|
11072
11082
|
const { chart: t, _cachedMeta: i } = n, o = t._stacks || (t._stacks = {}), { iScale: s, vScale: r, index: a } = i, l = s.axis, c = r.axis, d = A8(s, r, i), u = e.length;
|
|
11073
11083
|
let f;
|
|
11074
11084
|
for (let h = 0; h < u; ++h) {
|
|
11075
|
-
const g = e[h], { [l]:
|
|
11076
|
-
f = b[c] = $8(o, d,
|
|
11085
|
+
const g = e[h], { [l]: C, [c]: p } = g, b = g._stacks || (g._stacks = {});
|
|
11086
|
+
f = b[c] = $8(o, d, C), f[a] = p, f._top = m3(f, r, !0, i.type), f._bottom = m3(f, r, !1, i.type);
|
|
11077
11087
|
const w = f._visualValues || (f._visualValues = {});
|
|
11078
|
-
w[a] =
|
|
11088
|
+
w[a] = p;
|
|
11079
11089
|
}
|
|
11080
11090
|
}
|
|
11081
11091
|
function Ot(n, e) {
|
|
@@ -11257,8 +11267,8 @@ class re {
|
|
|
11257
11267
|
let f, h;
|
|
11258
11268
|
function g() {
|
|
11259
11269
|
h = o[f];
|
|
11260
|
-
const
|
|
11261
|
-
return !x2(h[e.axis]) || d >
|
|
11270
|
+
const C = h[a.axis];
|
|
11271
|
+
return !x2(h[e.axis]) || d > C || u < C;
|
|
11262
11272
|
}
|
|
11263
11273
|
for (f = 0; f < r && !(!g() && (this.updateRangeFromParsed(c, e, h, l), s)); ++f)
|
|
11264
11274
|
;
|
|
@@ -11336,8 +11346,8 @@ class re {
|
|
|
11336
11346
|
] : [
|
|
11337
11347
|
e,
|
|
11338
11348
|
""
|
|
11339
|
-
], f = c.getOptionScopes(this.getDataset(), d), h = Object.keys(p2.elements[e]), g = () => this.getContext(i, o, t),
|
|
11340
|
-
return
|
|
11349
|
+
], f = c.getOptionScopes(this.getDataset(), d), h = Object.keys(p2.elements[e]), g = () => this.getContext(i, o, t), C = c.resolveNamedOptions(f, h, g, u);
|
|
11350
|
+
return C.$shared && (C.$shared = l, s[r] = Object.freeze(y3(C, l))), C;
|
|
11341
11351
|
}
|
|
11342
11352
|
_resolveAnimations(e, t, i) {
|
|
11343
11353
|
const o = this.chart, s = this._cachedDataOpts, r = `animation-${t}`, a = s[r];
|
|
@@ -11480,8 +11490,8 @@ V(re, "defaults", {}), V(re, "datasetElementType", null), V(re, "dataElementType
|
|
|
11480
11490
|
function B8(n, e, t) {
|
|
11481
11491
|
let i = 1, o = 1, s = 0, r = 0;
|
|
11482
11492
|
if (e < f2) {
|
|
11483
|
-
const a = n, l = a + e, c = Math.cos(a), d = Math.sin(a), u = Math.cos(l), f = Math.sin(l), h = (Z, S, A) => nt(Z, a, l, !0) ? 1 : Math.max(S, S * t, A, A * t), g = (Z, S, A) => nt(Z, a, l, !0) ? -1 : Math.min(S, S * t, A, A * t),
|
|
11484
|
-
i = (
|
|
11493
|
+
const a = n, l = a + e, c = Math.cos(a), d = Math.sin(a), u = Math.cos(l), f = Math.sin(l), h = (Z, S, A) => nt(Z, a, l, !0) ? 1 : Math.max(S, S * t, A, A * t), g = (Z, S, A) => nt(Z, a, l, !0) ? -1 : Math.min(S, S * t, A, A * t), C = h(0, c, u), p = h(b2, d, f), b = g(r2, c, u), w = g(r2 + b2, d, f);
|
|
11494
|
+
i = (C - b) / 2, o = (p - w) / 2, s = -(C + b) / 2, r = -(p + w) / 2;
|
|
11485
11495
|
}
|
|
11486
11496
|
return {
|
|
11487
11497
|
ratioX: i,
|
|
@@ -11530,15 +11540,15 @@ class B0 extends re {
|
|
|
11530
11540
|
};
|
|
11531
11541
|
}
|
|
11532
11542
|
update(e) {
|
|
11533
|
-
const t = this.chart, { chartArea: i } = t, o = this._cachedMeta, s = o.data, r = this.getMaxBorderWidth() + this.getMaxOffset(s) + this.options.spacing, a = Math.max((Math.min(i.width, i.height) - r) / 2, 0), l = Math.min(Cr(this.options.cutout, a), 1), c = this._getRingWeight(this.index), { circumference: d, rotation: u } = this._getRotationExtents(), { ratioX: f, ratioY: h, offsetX: g, offsetY:
|
|
11534
|
-
this.offsetX = g * Z, this.offsetY =
|
|
11543
|
+
const t = this.chart, { chartArea: i } = t, o = this._cachedMeta, s = o.data, r = this.getMaxBorderWidth() + this.getMaxOffset(s) + this.options.spacing, a = Math.max((Math.min(i.width, i.height) - r) / 2, 0), l = Math.min(Cr(this.options.cutout, a), 1), c = this._getRingWeight(this.index), { circumference: d, rotation: u } = this._getRotationExtents(), { ratioX: f, ratioY: h, offsetX: g, offsetY: C } = B8(u, d, l), p = (i.width - r) / f, b = (i.height - r) / h, w = Math.max(Math.min(p, b) / 2, 0), Z = ni(this.options.radius, w), S = Math.max(Z * l, 0), A = (Z - S) / this._getVisibleDatasetWeightTotal();
|
|
11544
|
+
this.offsetX = g * Z, this.offsetY = C * Z, o.total = this.calculateTotal(), this.outerRadius = Z - A * this._getRingWeightOffset(this.index), this.innerRadius = Math.max(this.outerRadius - A * c, 0), this.updateElements(s, 0, s.length, e);
|
|
11535
11545
|
}
|
|
11536
11546
|
_circumference(e, t) {
|
|
11537
11547
|
const i = this.options, o = this._cachedMeta, s = this._getCircumference();
|
|
11538
11548
|
return t && i.animation.animateRotate || !this.chart.getDataVisibility(e) || o._parsed[e] === null || o.data[e].hidden ? 0 : this.calculateCircumference(o._parsed[e] * s / f2);
|
|
11539
11549
|
}
|
|
11540
11550
|
updateElements(e, t, i, o) {
|
|
11541
|
-
const s = o === "reset", r = this.chart, a = r.chartArea, c = r.options.animation, d = (a.left + a.right) / 2, u = (a.top + a.bottom) / 2, f = s && c.animateScale, h = f ? 0 : this.innerRadius, g = f ? 0 : this.outerRadius, { sharedOptions:
|
|
11551
|
+
const s = o === "reset", r = this.chart, a = r.chartArea, c = r.options.animation, d = (a.left + a.right) / 2, u = (a.top + a.bottom) / 2, f = s && c.animateScale, h = f ? 0 : this.innerRadius, g = f ? 0 : this.outerRadius, { sharedOptions: C, includeOptions: p } = this._getSharedOptions(t, o);
|
|
11542
11552
|
let b = this._getRotation(), w;
|
|
11543
11553
|
for (w = 0; w < t; ++w)
|
|
11544
11554
|
b += this._circumference(w, s);
|
|
@@ -11552,7 +11562,7 @@ class B0 extends re {
|
|
|
11552
11562
|
outerRadius: g,
|
|
11553
11563
|
innerRadius: h
|
|
11554
11564
|
};
|
|
11555
|
-
|
|
11565
|
+
p && (A.options = C || this.resolveDataElementOptions(w, S.active ? "active" : o)), b += Z, this.updateElement(S, w, A, o);
|
|
11556
11566
|
}
|
|
11557
11567
|
}
|
|
11558
11568
|
calculateTotal() {
|
|
@@ -11754,9 +11764,9 @@ function L8(n, e, t, i) {
|
|
|
11754
11764
|
} else {
|
|
11755
11765
|
const d = c(s, e, t);
|
|
11756
11766
|
if (l) {
|
|
11757
|
-
const { vScale: u } = o._cachedMeta, { _parsed: f } = n, h = f.slice(0, d.lo + 1).reverse().findIndex((
|
|
11767
|
+
const { vScale: u } = o._cachedMeta, { _parsed: f } = n, h = f.slice(0, d.lo + 1).reverse().findIndex((C) => !d2(C[u.axis]));
|
|
11758
11768
|
d.lo -= Math.max(0, h);
|
|
11759
|
-
const g = f.slice(d.hi).findIndex((
|
|
11769
|
+
const g = f.slice(d.hi).findIndex((C) => !d2(C[u.axis]));
|
|
11760
11770
|
d.hi += Math.max(0, g);
|
|
11761
11771
|
}
|
|
11762
11772
|
return d;
|
|
@@ -11823,14 +11833,14 @@ function E8(n, e, t, i, o, s) {
|
|
|
11823
11833
|
const g = d.getCenterPoint(o);
|
|
11824
11834
|
if (!(!!s || n.isPointInArea(g)) && !h)
|
|
11825
11835
|
return;
|
|
11826
|
-
const
|
|
11827
|
-
|
|
11836
|
+
const p = a(e, g);
|
|
11837
|
+
p < l ? (r = [
|
|
11828
11838
|
{
|
|
11829
11839
|
element: d,
|
|
11830
11840
|
datasetIndex: u,
|
|
11831
11841
|
index: f
|
|
11832
11842
|
}
|
|
11833
|
-
], l =
|
|
11843
|
+
], l = p) : p === l && r.push({
|
|
11834
11844
|
element: d,
|
|
11835
11845
|
datasetIndex: u,
|
|
11836
11846
|
index: f
|
|
@@ -12080,10 +12090,10 @@ var c0 = {
|
|
|
12080
12090
|
if (!n)
|
|
12081
12091
|
return;
|
|
12082
12092
|
const o = Z2(n.options.layout.padding), s = Math.max(e - o.width, 0), r = Math.max(t - o.height, 0), a = z8(n.boxes), l = a.vertical, c = a.horizontal;
|
|
12083
|
-
s2(n.boxes, (
|
|
12084
|
-
typeof
|
|
12093
|
+
s2(n.boxes, (C) => {
|
|
12094
|
+
typeof C.beforeLayout == "function" && C.beforeLayout();
|
|
12085
12095
|
});
|
|
12086
|
-
const d = l.reduce((
|
|
12096
|
+
const d = l.reduce((C, p) => p.box.options && p.box.options.display === !1 ? C : C + 1, 0) || 1, u = Object.freeze({
|
|
12087
12097
|
outerWidth: e,
|
|
12088
12098
|
outerHeight: t,
|
|
12089
12099
|
padding: o,
|
|
@@ -12107,9 +12117,9 @@ var c0 = {
|
|
|
12107
12117
|
bottom: h.top + h.h,
|
|
12108
12118
|
height: h.h,
|
|
12109
12119
|
width: h.w
|
|
12110
|
-
}, s2(a.chartArea, (
|
|
12111
|
-
const
|
|
12112
|
-
Object.assign(
|
|
12120
|
+
}, s2(a.chartArea, (C) => {
|
|
12121
|
+
const p = C.box;
|
|
12122
|
+
Object.assign(p, n.chartArea), p.update(h.w, h.h, {
|
|
12113
12123
|
left: 0,
|
|
12114
12124
|
top: 0,
|
|
12115
12125
|
right: 0,
|
|
@@ -12472,21 +12482,21 @@ function ma(n, e, t) {
|
|
|
12472
12482
|
function ba(n, e, t, i) {
|
|
12473
12483
|
const { top: o, left: s, bottom: r, right: a, chart: l } = n, { chartArea: c, scales: d } = l;
|
|
12474
12484
|
let u = 0, f, h, g;
|
|
12475
|
-
const
|
|
12485
|
+
const C = r - o, p = a - s;
|
|
12476
12486
|
if (n.isHorizontal()) {
|
|
12477
|
-
if (h =
|
|
12487
|
+
if (h = B2(i, s, a), J(t)) {
|
|
12478
12488
|
const b = Object.keys(t)[0], w = t[b];
|
|
12479
|
-
g = d[b].getPixelForValue(w) +
|
|
12489
|
+
g = d[b].getPixelForValue(w) + C - e;
|
|
12480
12490
|
} else
|
|
12481
|
-
t === "center" ? g = (c.bottom + c.top) / 2 +
|
|
12491
|
+
t === "center" ? g = (c.bottom + c.top) / 2 + C - e : g = A3(n, t, e);
|
|
12482
12492
|
f = a - s;
|
|
12483
12493
|
} else {
|
|
12484
12494
|
if (J(t)) {
|
|
12485
12495
|
const b = Object.keys(t)[0], w = t[b];
|
|
12486
|
-
h = d[b].getPixelForValue(w) -
|
|
12496
|
+
h = d[b].getPixelForValue(w) - p + e;
|
|
12487
12497
|
} else
|
|
12488
|
-
t === "center" ? h = (c.left + c.right) / 2 -
|
|
12489
|
-
g =
|
|
12498
|
+
t === "center" ? h = (c.left + c.right) / 2 - p + e : h = A3(n, t, e);
|
|
12499
|
+
g = B2(i, r, o), u = t === "left" ? -b2 : b2;
|
|
12490
12500
|
}
|
|
12491
12501
|
return {
|
|
12492
12502
|
titleX: h,
|
|
@@ -12512,9 +12522,9 @@ class z0 extends _0 {
|
|
|
12512
12522
|
}
|
|
12513
12523
|
getUserBounds() {
|
|
12514
12524
|
let { _userMin: e, _userMax: t, _suggestedMin: i, _suggestedMax: o } = this;
|
|
12515
|
-
return e =
|
|
12516
|
-
min:
|
|
12517
|
-
max:
|
|
12525
|
+
return e = I2(e, Number.POSITIVE_INFINITY), t = I2(t, Number.NEGATIVE_INFINITY), i = I2(i, Number.POSITIVE_INFINITY), o = I2(o, Number.NEGATIVE_INFINITY), {
|
|
12526
|
+
min: I2(e, i),
|
|
12527
|
+
max: I2(t, o),
|
|
12518
12528
|
minDefined: x2(e),
|
|
12519
12529
|
maxDefined: x2(t)
|
|
12520
12530
|
};
|
|
@@ -12530,8 +12540,8 @@ class z0 extends _0 {
|
|
|
12530
12540
|
for (let l = 0, c = a.length; l < c; ++l)
|
|
12531
12541
|
r = a[l].controller.getMinMax(this, e), o || (t = Math.min(t, r.min)), s || (i = Math.max(i, r.max));
|
|
12532
12542
|
return t = s && t > i ? i : t, i = o && t > i ? t : i, {
|
|
12533
|
-
min:
|
|
12534
|
-
max:
|
|
12543
|
+
min: I2(t, I2(i, t)),
|
|
12544
|
+
max: I2(i, I2(t, i))
|
|
12535
12545
|
};
|
|
12536
12546
|
}
|
|
12537
12547
|
getPadding() {
|
|
@@ -12647,8 +12657,8 @@ class z0 extends _0 {
|
|
|
12647
12657
|
this.labelRotation = o;
|
|
12648
12658
|
return;
|
|
12649
12659
|
}
|
|
12650
|
-
const d = this._getLabelSizes(), u = d.widest.width, f = d.highest.height, h =
|
|
12651
|
-
a = e.offset ? this.maxWidth / i : h / (i - 1), u + 6 > a && (a = h / (i - (e.offset ? 0.5 : 1)), l = this.maxHeight - K0(e.grid) - t.padding - S3(e.title, this.chart.options.font), c = Math.sqrt(u * u + f * f), r = m1(Math.min(Math.asin(
|
|
12660
|
+
const d = this._getLabelSizes(), u = d.widest.width, f = d.highest.height, h = F2(this.chart.width - u, 0, this.maxWidth);
|
|
12661
|
+
a = e.offset ? this.maxWidth / i : h / (i - 1), u + 6 > a && (a = h / (i - (e.offset ? 0.5 : 1)), l = this.maxHeight - K0(e.grid) - t.padding - S3(e.title, this.chart.options.font), c = Math.sqrt(u * u + f * f), r = m1(Math.min(Math.asin(F2((d.highest.height + 6) / a, -1, 1)), Math.asin(F2(l / c, -1, 1)) - Math.asin(F2(f / c, -1, 1)))), r = Math.max(o, Math.min(s, r))), this.labelRotation = r;
|
|
12652
12662
|
}
|
|
12653
12663
|
afterCalculateLabelRotation() {
|
|
12654
12664
|
a2(this.options.afterCalculateLabelRotation, [
|
|
@@ -12670,15 +12680,15 @@ class z0 extends _0 {
|
|
|
12670
12680
|
if (r) {
|
|
12671
12681
|
const l = S3(o, t.options.font);
|
|
12672
12682
|
if (a ? (e.width = this.maxWidth, e.height = K0(s) + l) : (e.height = this.maxHeight, e.width = K0(s) + l), i.display && this.ticks.length) {
|
|
12673
|
-
const { first: c, last: d, widest: u, highest: f } = this._getLabelSizes(), h = i.padding * 2, g = N2(this.labelRotation),
|
|
12683
|
+
const { first: c, last: d, widest: u, highest: f } = this._getLabelSizes(), h = i.padding * 2, g = N2(this.labelRotation), C = Math.cos(g), p = Math.sin(g);
|
|
12674
12684
|
if (a) {
|
|
12675
|
-
const b = i.mirror ? 0 :
|
|
12685
|
+
const b = i.mirror ? 0 : p * u.width + C * f.height;
|
|
12676
12686
|
e.height = Math.min(this.maxHeight, e.height + b + h);
|
|
12677
12687
|
} else {
|
|
12678
|
-
const b = i.mirror ? 0 :
|
|
12688
|
+
const b = i.mirror ? 0 : C * u.width + p * f.height;
|
|
12679
12689
|
e.width = Math.min(this.maxWidth, e.width + b + h);
|
|
12680
12690
|
}
|
|
12681
|
-
this._calculatePadding(c, d,
|
|
12691
|
+
this._calculatePadding(c, d, p, C);
|
|
12682
12692
|
}
|
|
12683
12693
|
}
|
|
12684
12694
|
this._handleMargins(), a ? (this.width = this._length = t.width - this._margins.left - this._margins.right, this.height = e.height) : (this.width = e.width, this.height = this._length = t.height - this._margins.top - this._margins.bottom);
|
|
@@ -12727,12 +12737,12 @@ class z0 extends _0 {
|
|
|
12727
12737
|
}
|
|
12728
12738
|
_computeLabelSizes(e, t, i) {
|
|
12729
12739
|
const { ctx: o, _longestTextCache: s } = this, r = [], a = [], l = Math.floor(t / Z3(t, i));
|
|
12730
|
-
let c = 0, d = 0, u, f, h, g,
|
|
12740
|
+
let c = 0, d = 0, u, f, h, g, C, p, b, w, Z, S, A;
|
|
12731
12741
|
for (u = 0; u < t; u += l) {
|
|
12732
|
-
if (g = e[u].label,
|
|
12742
|
+
if (g = e[u].label, C = this._resolveTickFontOptions(u), o.font = p = C.string, b = s[p] = s[p] || {
|
|
12733
12743
|
data: {},
|
|
12734
12744
|
gc: []
|
|
12735
|
-
}, w =
|
|
12745
|
+
}, w = C.lineHeight, Z = S = 0, !d2(g) && !g2(g))
|
|
12736
12746
|
Z = it(o, b.data, b.gc, Z, g), S = w;
|
|
12737
12747
|
else if (g2(g))
|
|
12738
12748
|
for (f = 0, h = g.length; f < h; ++f)
|
|
@@ -12740,15 +12750,15 @@ class z0 extends _0 {
|
|
|
12740
12750
|
r.push(Z), a.push(S), c = Math.max(Z, c), d = Math.max(S, d);
|
|
12741
12751
|
}
|
|
12742
12752
|
pa(s, t);
|
|
12743
|
-
const P = r.indexOf(c), I = a.indexOf(d),
|
|
12753
|
+
const P = r.indexOf(c), I = a.indexOf(d), L = (E) => ({
|
|
12744
12754
|
width: r[E] || 0,
|
|
12745
12755
|
height: a[E] || 0
|
|
12746
12756
|
});
|
|
12747
12757
|
return {
|
|
12748
|
-
first:
|
|
12749
|
-
last:
|
|
12750
|
-
widest:
|
|
12751
|
-
highest:
|
|
12758
|
+
first: L(0),
|
|
12759
|
+
last: L(t - 1),
|
|
12760
|
+
widest: L(P),
|
|
12761
|
+
highest: L(I),
|
|
12752
12762
|
widths: r,
|
|
12753
12763
|
heights: a
|
|
12754
12764
|
};
|
|
@@ -12798,18 +12808,18 @@ class z0 extends _0 {
|
|
|
12798
12808
|
return e !== "auto" ? !!e : this.getMatchingVisibleMetas().length > 0;
|
|
12799
12809
|
}
|
|
12800
12810
|
_computeGridLineItems(e) {
|
|
12801
|
-
const t = this.axis, i = this.chart, o = this.options, { grid: s, position: r, border: a } = o, l = s.offset, c = this.isHorizontal(), u = this.ticks.length + (l ? 1 : 0), f = K0(s), h = [], g = a.setContext(this.getContext()),
|
|
12802
|
-
return g0(i, H,
|
|
12811
|
+
const t = this.axis, i = this.chart, o = this.options, { grid: s, position: r, border: a } = o, l = s.offset, c = this.isHorizontal(), u = this.ticks.length + (l ? 1 : 0), f = K0(s), h = [], g = a.setContext(this.getContext()), C = g.display ? g.width : 0, p = C / 2, b = function(H) {
|
|
12812
|
+
return g0(i, H, C);
|
|
12803
12813
|
};
|
|
12804
|
-
let w, Z, S, A, P, I,
|
|
12814
|
+
let w, Z, S, A, P, I, L, E, j, R, T, x;
|
|
12805
12815
|
if (r === "top")
|
|
12806
|
-
w = b(this.bottom), I = this.bottom - f, E = w -
|
|
12816
|
+
w = b(this.bottom), I = this.bottom - f, E = w - p, R = b(e.top) + p, x = e.bottom;
|
|
12807
12817
|
else if (r === "bottom")
|
|
12808
|
-
w = b(this.top), R = e.top, x = b(e.bottom) -
|
|
12818
|
+
w = b(this.top), R = e.top, x = b(e.bottom) - p, I = w + p, E = this.top + f;
|
|
12809
12819
|
else if (r === "left")
|
|
12810
|
-
w = b(this.right), P = this.right - f,
|
|
12820
|
+
w = b(this.right), P = this.right - f, L = w - p, j = b(e.left) + p, T = e.right;
|
|
12811
12821
|
else if (r === "right")
|
|
12812
|
-
w = b(this.left), j = e.left, T = b(e.right) -
|
|
12822
|
+
w = b(this.left), j = e.left, T = b(e.right) - p, P = w + p, L = this.left + f;
|
|
12813
12823
|
else if (t === "x") {
|
|
12814
12824
|
if (r === "center")
|
|
12815
12825
|
w = b((e.top + e.bottom) / 2 + 0.5);
|
|
@@ -12817,7 +12827,7 @@ class z0 extends _0 {
|
|
|
12817
12827
|
const H = Object.keys(r)[0], z = r[H];
|
|
12818
12828
|
w = b(this.chart.scales[H].getPixelForValue(z));
|
|
12819
12829
|
}
|
|
12820
|
-
R = e.top, x = e.bottom, I = w +
|
|
12830
|
+
R = e.top, x = e.bottom, I = w + p, E = I + f;
|
|
12821
12831
|
} else if (t === "y") {
|
|
12822
12832
|
if (r === "center")
|
|
12823
12833
|
w = b((e.left + e.right) / 2);
|
|
@@ -12825,15 +12835,15 @@ class z0 extends _0 {
|
|
|
12825
12835
|
const H = Object.keys(r)[0], z = r[H];
|
|
12826
12836
|
w = b(this.chart.scales[H].getPixelForValue(z));
|
|
12827
12837
|
}
|
|
12828
|
-
P = w -
|
|
12838
|
+
P = w - p, L = P - f, j = e.left, T = e.right;
|
|
12829
12839
|
}
|
|
12830
|
-
const
|
|
12831
|
-
for (Z = 0; Z < u; Z +=
|
|
12840
|
+
const O = i2(o.ticks.maxTicksLimit, u), F = Math.max(1, Math.ceil(u / O));
|
|
12841
|
+
for (Z = 0; Z < u; Z += F) {
|
|
12832
12842
|
const H = this.getContext(Z), z = s.setContext(H), G = a.setContext(H), X = z.lineWidth, M2 = z.color, w2 = G.dash || [], W2 = G.dashOffset, Q2 = z.tickWidth, R2 = z.tickColor, J2 = z.tickBorderDash || [], p0 = z.tickBorderDashOffset;
|
|
12833
|
-
S = fa(this, Z, l), S !== void 0 && (A = g0(i, S, X), c ? P =
|
|
12843
|
+
S = fa(this, Z, l), S !== void 0 && (A = g0(i, S, X), c ? P = L = j = T = A : I = E = R = x = A, h.push({
|
|
12834
12844
|
tx1: P,
|
|
12835
12845
|
ty1: I,
|
|
12836
|
-
tx2:
|
|
12846
|
+
tx2: L,
|
|
12837
12847
|
ty2: E,
|
|
12838
12848
|
x1: j,
|
|
12839
12849
|
y1: R,
|
|
@@ -12852,47 +12862,47 @@ class z0 extends _0 {
|
|
|
12852
12862
|
return this._ticksLength = u, this._borderValue = w, h;
|
|
12853
12863
|
}
|
|
12854
12864
|
_computeLabelItems(e) {
|
|
12855
|
-
const t = this.axis, i = this.options, { position: o, ticks: s } = i, r = this.isHorizontal(), a = this.ticks, { align: l, crossAlign: c, padding: d, mirror: u } = s, f = K0(i.grid), h = f + d, g = u ? -d : h,
|
|
12856
|
-
let b, w, Z, S, A, P, I,
|
|
12865
|
+
const t = this.axis, i = this.options, { position: o, ticks: s } = i, r = this.isHorizontal(), a = this.ticks, { align: l, crossAlign: c, padding: d, mirror: u } = s, f = K0(i.grid), h = f + d, g = u ? -d : h, C = -N2(this.labelRotation), p = [];
|
|
12866
|
+
let b, w, Z, S, A, P, I, L, E, j, R, T, x = "middle";
|
|
12857
12867
|
if (o === "top")
|
|
12858
12868
|
P = this.bottom - g, I = this._getXAxisLabelAlignment();
|
|
12859
12869
|
else if (o === "bottom")
|
|
12860
12870
|
P = this.top + g, I = this._getXAxisLabelAlignment();
|
|
12861
12871
|
else if (o === "left") {
|
|
12862
|
-
const
|
|
12863
|
-
I =
|
|
12872
|
+
const F = this._getYAxisLabelAlignment(f);
|
|
12873
|
+
I = F.textAlign, A = F.x;
|
|
12864
12874
|
} else if (o === "right") {
|
|
12865
|
-
const
|
|
12866
|
-
I =
|
|
12875
|
+
const F = this._getYAxisLabelAlignment(f);
|
|
12876
|
+
I = F.textAlign, A = F.x;
|
|
12867
12877
|
} else if (t === "x") {
|
|
12868
12878
|
if (o === "center")
|
|
12869
12879
|
P = (e.top + e.bottom) / 2 + h;
|
|
12870
12880
|
else if (J(o)) {
|
|
12871
|
-
const
|
|
12872
|
-
P = this.chart.scales[
|
|
12881
|
+
const F = Object.keys(o)[0], H = o[F];
|
|
12882
|
+
P = this.chart.scales[F].getPixelForValue(H) + h;
|
|
12873
12883
|
}
|
|
12874
12884
|
I = this._getXAxisLabelAlignment();
|
|
12875
12885
|
} else if (t === "y") {
|
|
12876
12886
|
if (o === "center")
|
|
12877
12887
|
A = (e.left + e.right) / 2 - h;
|
|
12878
12888
|
else if (J(o)) {
|
|
12879
|
-
const
|
|
12880
|
-
A = this.chart.scales[
|
|
12889
|
+
const F = Object.keys(o)[0], H = o[F];
|
|
12890
|
+
A = this.chart.scales[F].getPixelForValue(H);
|
|
12881
12891
|
}
|
|
12882
12892
|
I = this._getYAxisLabelAlignment(f).textAlign;
|
|
12883
12893
|
}
|
|
12884
12894
|
t === "y" && (l === "start" ? x = "top" : l === "end" && (x = "bottom"));
|
|
12885
|
-
const
|
|
12895
|
+
const O = this._getLabelSizes();
|
|
12886
12896
|
for (b = 0, w = a.length; b < w; ++b) {
|
|
12887
12897
|
Z = a[b], S = Z.label;
|
|
12888
|
-
const
|
|
12889
|
-
|
|
12890
|
-
const H = R / 2, z =
|
|
12898
|
+
const F = s.setContext(this.getContext(b));
|
|
12899
|
+
L = this.getPixelForTick(b) + s.labelOffset, E = this._resolveTickFontOptions(b), j = E.lineHeight, R = g2(S) ? S.length : 1;
|
|
12900
|
+
const H = R / 2, z = F.color, G = F.textStrokeColor, X = F.textStrokeWidth;
|
|
12891
12901
|
let M2 = I;
|
|
12892
|
-
r ? (A =
|
|
12902
|
+
r ? (A = L, I === "inner" && (b === w - 1 ? M2 = this.options.reverse ? "left" : "right" : b === 0 ? M2 = this.options.reverse ? "right" : "left" : M2 = "center"), o === "top" ? c === "near" || C !== 0 ? T = -R * j + j / 2 : c === "center" ? T = -O.highest.height / 2 - H * j + j : T = -O.highest.height + j / 2 : c === "near" || C !== 0 ? T = j / 2 : c === "center" ? T = O.highest.height / 2 - H * j : T = O.highest.height - R * j, u && (T *= -1), C !== 0 && !F.showLabelBackdrop && (A += j / 2 * Math.sin(C))) : (P = L, T = (1 - R) * j / 2);
|
|
12893
12903
|
let w2;
|
|
12894
|
-
if (
|
|
12895
|
-
const W2 = Z2(
|
|
12904
|
+
if (F.showLabelBackdrop) {
|
|
12905
|
+
const W2 = Z2(F.backdropPadding), Q2 = O.heights[b], R2 = O.widths[b];
|
|
12896
12906
|
let J2 = T - W2.top, p0 = 0 - W2.left;
|
|
12897
12907
|
switch (x) {
|
|
12898
12908
|
case "middle":
|
|
@@ -12918,15 +12928,15 @@ class z0 extends _0 {
|
|
|
12918
12928
|
top: J2,
|
|
12919
12929
|
width: R2 + W2.width,
|
|
12920
12930
|
height: Q2 + W2.height,
|
|
12921
|
-
color:
|
|
12931
|
+
color: F.backdropColor
|
|
12922
12932
|
};
|
|
12923
12933
|
}
|
|
12924
|
-
|
|
12934
|
+
p.push({
|
|
12925
12935
|
label: S,
|
|
12926
12936
|
font: E,
|
|
12927
12937
|
textOffset: T,
|
|
12928
12938
|
options: {
|
|
12929
|
-
rotation:
|
|
12939
|
+
rotation: C,
|
|
12930
12940
|
color: z,
|
|
12931
12941
|
strokeColor: G,
|
|
12932
12942
|
strokeWidth: X,
|
|
@@ -12940,7 +12950,7 @@ class z0 extends _0 {
|
|
|
12940
12950
|
}
|
|
12941
12951
|
});
|
|
12942
12952
|
}
|
|
12943
|
-
return
|
|
12953
|
+
return p;
|
|
12944
12954
|
}
|
|
12945
12955
|
_getXAxisLabelAlignment() {
|
|
12946
12956
|
const { position: e, ticks: t } = this.options;
|
|
@@ -14090,17 +14100,17 @@ function D3() {
|
|
|
14090
14100
|
return s2(vt.instances, (n) => n._plugins.invalidate());
|
|
14091
14101
|
}
|
|
14092
14102
|
function za(n, e, t) {
|
|
14093
|
-
const { startAngle: i, x: o, y: s, outerRadius: r, innerRadius: a, options: l } = e, { borderWidth: c, borderJoinStyle: d } = l, u = Math.min(c / r,
|
|
14103
|
+
const { startAngle: i, x: o, y: s, outerRadius: r, innerRadius: a, options: l } = e, { borderWidth: c, borderJoinStyle: d } = l, u = Math.min(c / r, L2(i - t));
|
|
14094
14104
|
if (n.beginPath(), n.arc(o, s, r - c / 2, i + u / 2, t - u / 2), a > 0) {
|
|
14095
|
-
const f = Math.min(c / a,
|
|
14105
|
+
const f = Math.min(c / a, L2(i - t));
|
|
14096
14106
|
n.arc(o, s, a + c / 2, t - f / 2, i + f / 2, !0);
|
|
14097
14107
|
} else {
|
|
14098
|
-
const f = Math.min(c / 2, r *
|
|
14108
|
+
const f = Math.min(c / 2, r * L2(i - t));
|
|
14099
14109
|
if (d === "round")
|
|
14100
14110
|
n.arc(o, s, f, t - r2 / 2, i + r2 / 2, !0);
|
|
14101
14111
|
else if (d === "bevel") {
|
|
14102
|
-
const h = 2 * f * f, g = -h * Math.cos(t + r2 / 2) + o,
|
|
14103
|
-
n.lineTo(g,
|
|
14112
|
+
const h = 2 * f * f, g = -h * Math.cos(t + r2 / 2) + o, C = -h * Math.sin(t + r2 / 2) + s, p = h * Math.cos(i + r2 / 2) + o, b = h * Math.sin(i + r2 / 2) + s;
|
|
14113
|
+
n.lineTo(g, C), n.lineTo(p, b);
|
|
14104
14114
|
}
|
|
14105
14115
|
}
|
|
14106
14116
|
n.closePath(), n.moveTo(0, 0), n.rect(0, 0, n.canvas.width, n.canvas.height), n.clip("evenodd");
|
|
@@ -14121,13 +14131,13 @@ function Va(n) {
|
|
|
14121
14131
|
function Wa(n, e, t, i) {
|
|
14122
14132
|
const o = Va(n.options.borderRadius), s = (t - e) / 2, r = Math.min(s, i * e / 2), a = (l) => {
|
|
14123
14133
|
const c = (t - Math.min(s, l)) * i / 2;
|
|
14124
|
-
return
|
|
14134
|
+
return F2(l, 0, Math.min(s, c));
|
|
14125
14135
|
};
|
|
14126
14136
|
return {
|
|
14127
14137
|
outerStart: a(o.outerStart),
|
|
14128
14138
|
outerEnd: a(o.outerEnd),
|
|
14129
|
-
innerStart:
|
|
14130
|
-
innerEnd:
|
|
14139
|
+
innerStart: F2(o.innerStart, 0, r),
|
|
14140
|
+
innerEnd: F2(o.innerEnd, 0, r)
|
|
14131
14141
|
};
|
|
14132
14142
|
}
|
|
14133
14143
|
function S0(n, e, t, i) {
|
|
@@ -14141,20 +14151,20 @@ function at(n, e, t, i, o, s) {
|
|
|
14141
14151
|
let h = 0;
|
|
14142
14152
|
const g = o - l;
|
|
14143
14153
|
if (i) {
|
|
14144
|
-
const
|
|
14154
|
+
const F = d > 0 ? d - i : 0, H = u > 0 ? u - i : 0, z = (F + H) / 2, G = z !== 0 ? g * z / (z + i) : g;
|
|
14145
14155
|
h = (g - G) / 2;
|
|
14146
14156
|
}
|
|
14147
|
-
const
|
|
14157
|
+
const C = Math.max(1e-3, g * u - t / r2) / u, p = (g - C) / 2, b = l + p + h, w = o - p - h, { outerStart: Z, outerEnd: S, innerStart: A, innerEnd: P } = Wa(e, f, u, w - b), I = u - Z, L = u - S, E = b + Z / I, j = w - S / L, R = f + A, T = f + P, x = b + A / R, O = w - P / T;
|
|
14148
14158
|
if (n.beginPath(), s) {
|
|
14149
|
-
const
|
|
14150
|
-
if (n.arc(r, a, u, E,
|
|
14151
|
-
const X = S0(
|
|
14159
|
+
const F = (E + j) / 2;
|
|
14160
|
+
if (n.arc(r, a, u, E, F), n.arc(r, a, u, F, j), S > 0) {
|
|
14161
|
+
const X = S0(L, j, r, a);
|
|
14152
14162
|
n.arc(X.x, X.y, S, j, w + b2);
|
|
14153
14163
|
}
|
|
14154
14164
|
const H = S0(T, w, r, a);
|
|
14155
14165
|
if (n.lineTo(H.x, H.y), P > 0) {
|
|
14156
|
-
const X = S0(T,
|
|
14157
|
-
n.arc(X.x, X.y, P, w + b2,
|
|
14166
|
+
const X = S0(T, O, r, a);
|
|
14167
|
+
n.arc(X.x, X.y, P, w + b2, O + Math.PI);
|
|
14158
14168
|
}
|
|
14159
14169
|
const z = (w - P / f + (b + A / f)) / 2;
|
|
14160
14170
|
if (n.arc(r, a, f, w - P / f, z, !0), n.arc(r, a, f, z, b + A / f, !0), A > 0) {
|
|
@@ -14168,8 +14178,8 @@ function at(n, e, t, i, o, s) {
|
|
|
14168
14178
|
}
|
|
14169
14179
|
} else {
|
|
14170
14180
|
n.moveTo(r, a);
|
|
14171
|
-
const
|
|
14172
|
-
n.lineTo(
|
|
14181
|
+
const F = Math.cos(E) * u + r, H = Math.sin(E) * u + a;
|
|
14182
|
+
n.lineTo(F, H);
|
|
14173
14183
|
const z = Math.cos(j) * u + r, G = Math.sin(j) * u + a;
|
|
14174
14184
|
n.lineTo(z, G);
|
|
14175
14185
|
}
|
|
@@ -14191,14 +14201,14 @@ function Ya(n, e, t, i, o) {
|
|
|
14191
14201
|
if (!c)
|
|
14192
14202
|
return;
|
|
14193
14203
|
n.setLineDash(u || []), n.lineDashOffset = f, g ? (n.lineWidth = c * 2, n.lineJoin = d || "round") : (n.lineWidth = c, n.lineJoin = d || "bevel");
|
|
14194
|
-
let
|
|
14204
|
+
let C = e.endAngle;
|
|
14195
14205
|
if (s) {
|
|
14196
|
-
at(n, e, t, i,
|
|
14197
|
-
for (let
|
|
14206
|
+
at(n, e, t, i, C, o);
|
|
14207
|
+
for (let p = 0; p < s; ++p)
|
|
14198
14208
|
n.stroke();
|
|
14199
|
-
isNaN(a) || (
|
|
14209
|
+
isNaN(a) || (C = r + (a % f2 || f2));
|
|
14200
14210
|
}
|
|
14201
|
-
g && Na(n, e,
|
|
14211
|
+
g && Na(n, e, C), l.selfJoin && C - r >= r2 && h === 0 && d !== "miter" && za(n, e, C), s || (at(n, e, t, i, C, o), n.stroke());
|
|
14202
14212
|
}
|
|
14203
14213
|
class J0 extends _0 {
|
|
14204
14214
|
constructor(t) {
|
|
@@ -14225,8 +14235,8 @@ class J0 extends _0 {
|
|
|
14225
14235
|
"innerRadius",
|
|
14226
14236
|
"outerRadius",
|
|
14227
14237
|
"circumference"
|
|
14228
|
-
], o), h = (this.options.spacing + this.options.borderWidth) / 2, g = i2(f, c - l),
|
|
14229
|
-
return
|
|
14238
|
+
], o), h = (this.options.spacing + this.options.borderWidth) / 2, g = i2(f, c - l), C = nt(r, l, c) && l !== c, p = g >= f2 || C, b = G0(a, d + h, u + h);
|
|
14239
|
+
return p && b;
|
|
14230
14240
|
}
|
|
14231
14241
|
getCenterPoint(t) {
|
|
14232
14242
|
const { x: i, y: o, startAngle: s, endAngle: r, innerRadius: a, outerRadius: l } = this.getProps([
|
|
@@ -14317,29 +14327,29 @@ class j3 extends _0 {
|
|
|
14317
14327
|
let u = e;
|
|
14318
14328
|
s.textAlign = "left", s.textBaseline = "middle";
|
|
14319
14329
|
let f = -1, h = -d;
|
|
14320
|
-
return this.legendItems.forEach((g,
|
|
14321
|
-
const
|
|
14322
|
-
(
|
|
14330
|
+
return this.legendItems.forEach((g, C) => {
|
|
14331
|
+
const p = i + t / 2 + s.measureText(g.text).width;
|
|
14332
|
+
(C === 0 || c[c.length - 1] + p + 2 * a > r) && (u += d, c[c.length - (C > 0 ? 0 : 1)] = 0, h += d, f++), l[C] = {
|
|
14323
14333
|
left: 0,
|
|
14324
14334
|
top: h,
|
|
14325
14335
|
row: f,
|
|
14326
|
-
width:
|
|
14336
|
+
width: p,
|
|
14327
14337
|
height: o
|
|
14328
|
-
}, c[c.length - 1] +=
|
|
14338
|
+
}, c[c.length - 1] += p + a;
|
|
14329
14339
|
}), u;
|
|
14330
14340
|
}
|
|
14331
14341
|
_fitCols(e, t, i, o) {
|
|
14332
14342
|
const { ctx: s, maxHeight: r, options: { labels: { padding: a } } } = this, l = this.legendHitBoxes = [], c = this.columnSizes = [], d = r - e;
|
|
14333
|
-
let u = a, f = 0, h = 0, g = 0,
|
|
14334
|
-
return this.legendItems.forEach((
|
|
14335
|
-
const { itemWidth: w, itemHeight: Z } = qa(i, t, s,
|
|
14343
|
+
let u = a, f = 0, h = 0, g = 0, C = 0;
|
|
14344
|
+
return this.legendItems.forEach((p, b) => {
|
|
14345
|
+
const { itemWidth: w, itemHeight: Z } = qa(i, t, s, p, o);
|
|
14336
14346
|
b > 0 && h + Z + 2 * a > d && (u += f + a, c.push({
|
|
14337
14347
|
width: f,
|
|
14338
14348
|
height: h
|
|
14339
|
-
}), g += f + a,
|
|
14349
|
+
}), g += f + a, C++, f = h = 0), l[b] = {
|
|
14340
14350
|
left: g,
|
|
14341
14351
|
top: h,
|
|
14342
|
-
col:
|
|
14352
|
+
col: C,
|
|
14343
14353
|
width: w,
|
|
14344
14354
|
height: Z
|
|
14345
14355
|
}, f = Math.max(f, w), h += Z + a;
|
|
@@ -14353,13 +14363,13 @@ class j3 extends _0 {
|
|
|
14353
14363
|
return;
|
|
14354
14364
|
const e = this._computeTitleHeight(), { legendHitBoxes: t, options: { align: i, labels: { padding: o }, rtl: s } } = this, r = O0(s, this.left, this.width);
|
|
14355
14365
|
if (this.isHorizontal()) {
|
|
14356
|
-
let a = 0, l =
|
|
14366
|
+
let a = 0, l = B2(i, this.left + o, this.right - this.lineWidths[a]);
|
|
14357
14367
|
for (const c of t)
|
|
14358
|
-
a !== c.row && (a = c.row, l =
|
|
14368
|
+
a !== c.row && (a = c.row, l = B2(i, this.left + o, this.right - this.lineWidths[a])), c.top += this.top + e + o, c.left = r.leftForLtr(r.x(l), c.width), l += c.width + o;
|
|
14359
14369
|
} else {
|
|
14360
|
-
let a = 0, l =
|
|
14370
|
+
let a = 0, l = B2(i, this.top + e + o, this.bottom - this.columnSizes[a].height);
|
|
14361
14371
|
for (const c of t)
|
|
14362
|
-
c.col !== a && (a = c.col, l =
|
|
14372
|
+
c.col !== a && (a = c.col, l = B2(i, this.top + e + o, this.bottom - this.columnSizes[a].height)), c.top = l, c.left += this.left + o, c.left = r.leftForLtr(r.x(c.left), c.width), l += c.height + o;
|
|
14363
14373
|
}
|
|
14364
14374
|
}
|
|
14365
14375
|
isHorizontal() {
|
|
@@ -14375,57 +14385,57 @@ class j3 extends _0 {
|
|
|
14375
14385
|
const { options: e, columnSizes: t, lineWidths: i, ctx: o } = this, { align: s, labels: r } = e, a = p2.color, l = O0(e.rtl, this.left, this.width), c = _2(r.font), { padding: d } = r, u = c.size, f = u / 2;
|
|
14376
14386
|
let h;
|
|
14377
14387
|
this.drawTitle(), o.textAlign = l.textAlign("left"), o.textBaseline = "middle", o.lineWidth = 0.5, o.font = c.string;
|
|
14378
|
-
const { boxWidth: g, boxHeight:
|
|
14379
|
-
if (isNaN(g) || g <= 0 || isNaN(
|
|
14388
|
+
const { boxWidth: g, boxHeight: C, itemHeight: p } = R3(r, u), b = function(P, I, L) {
|
|
14389
|
+
if (isNaN(g) || g <= 0 || isNaN(C) || C < 0)
|
|
14380
14390
|
return;
|
|
14381
14391
|
o.save();
|
|
14382
|
-
const E = i2(
|
|
14383
|
-
if (o.fillStyle = i2(
|
|
14392
|
+
const E = i2(L.lineWidth, 1);
|
|
14393
|
+
if (o.fillStyle = i2(L.fillStyle, a), o.lineCap = i2(L.lineCap, "butt"), o.lineDashOffset = i2(L.lineDashOffset, 0), o.lineJoin = i2(L.lineJoin, "miter"), o.lineWidth = E, o.strokeStyle = i2(L.strokeStyle, a), o.setLineDash(i2(L.lineDash, [])), r.usePointStyle) {
|
|
14384
14394
|
const j = {
|
|
14385
|
-
radius:
|
|
14386
|
-
pointStyle:
|
|
14387
|
-
rotation:
|
|
14395
|
+
radius: C * Math.SQRT2 / 2,
|
|
14396
|
+
pointStyle: L.pointStyle,
|
|
14397
|
+
rotation: L.rotation,
|
|
14388
14398
|
borderWidth: E
|
|
14389
14399
|
}, R = l.xPlus(P, g / 2), T = I + f;
|
|
14390
14400
|
hi(o, j, R, T, r.pointStyleWidth && g);
|
|
14391
14401
|
} else {
|
|
14392
|
-
const j = I + Math.max((u -
|
|
14402
|
+
const j = I + Math.max((u - C) / 2, 0), R = l.leftForLtr(P, g), T = L0(L.borderRadius);
|
|
14393
14403
|
o.beginPath(), Object.values(T).some((x) => x !== 0) ? ot(o, {
|
|
14394
14404
|
x: R,
|
|
14395
14405
|
y: j,
|
|
14396
14406
|
w: g,
|
|
14397
|
-
h:
|
|
14407
|
+
h: C,
|
|
14398
14408
|
radius: T
|
|
14399
|
-
}) : o.rect(R, j, g,
|
|
14409
|
+
}) : o.rect(R, j, g, C), o.fill(), E !== 0 && o.stroke();
|
|
14400
14410
|
}
|
|
14401
14411
|
o.restore();
|
|
14402
|
-
}, w = function(P, I,
|
|
14403
|
-
E0(o,
|
|
14404
|
-
strikethrough:
|
|
14405
|
-
textAlign: l.textAlign(
|
|
14412
|
+
}, w = function(P, I, L) {
|
|
14413
|
+
E0(o, L.text, P, I + p / 2, c, {
|
|
14414
|
+
strikethrough: L.hidden,
|
|
14415
|
+
textAlign: l.textAlign(L.textAlign)
|
|
14406
14416
|
});
|
|
14407
14417
|
}, Z = this.isHorizontal(), S = this._computeTitleHeight();
|
|
14408
14418
|
Z ? h = {
|
|
14409
|
-
x:
|
|
14419
|
+
x: B2(s, this.left + d, this.right - i[0]),
|
|
14410
14420
|
y: this.top + d + S,
|
|
14411
14421
|
line: 0
|
|
14412
14422
|
} : h = {
|
|
14413
14423
|
x: this.left + d,
|
|
14414
|
-
y:
|
|
14424
|
+
y: B2(s, this.top + S + d, this.bottom - t[0].height),
|
|
14415
14425
|
line: 0
|
|
14416
14426
|
}, mi(this.ctx, e.textDirection);
|
|
14417
|
-
const A =
|
|
14427
|
+
const A = p + d;
|
|
14418
14428
|
this.legendItems.forEach((P, I) => {
|
|
14419
14429
|
o.strokeStyle = P.fontColor, o.fillStyle = P.fontColor;
|
|
14420
|
-
const
|
|
14430
|
+
const L = o.measureText(P.text).width, E = l.textAlign(P.textAlign || (P.textAlign = r.textAlign)), j = g + f + L;
|
|
14421
14431
|
let R = h.x, T = h.y;
|
|
14422
|
-
l.setWidth(this.width), Z ? I > 0 && R + j + d > this.right && (T = h.y += A, h.line++, R = h.x =
|
|
14432
|
+
l.setWidth(this.width), Z ? I > 0 && R + j + d > this.right && (T = h.y += A, h.line++, R = h.x = B2(s, this.left + d, this.right - i[h.line])) : I > 0 && T + A > this.bottom && (R = h.x = R + t[h.line].width + d, h.line++, T = h.y = B2(s, this.top + S + d, this.bottom - t[h.line].height));
|
|
14423
14433
|
const x = l.x(R);
|
|
14424
14434
|
if (b(x, T, P), R = Br(E, R + g + f, Z ? R + j : this.right, e.rtl), w(l.x(R), T, P), Z)
|
|
14425
14435
|
h.x += j + d;
|
|
14426
14436
|
else if (typeof P.text != "string") {
|
|
14427
|
-
const
|
|
14428
|
-
h.y += Ti(P,
|
|
14437
|
+
const O = c.lineHeight;
|
|
14438
|
+
h.y += Ti(P, O) + d;
|
|
14429
14439
|
} else
|
|
14430
14440
|
h.y += A;
|
|
14431
14441
|
}), bi(this.ctx, e.textDirection);
|
|
@@ -14437,12 +14447,12 @@ class j3 extends _0 {
|
|
|
14437
14447
|
const s = O0(e.rtl, this.left, this.width), r = this.ctx, a = t.position, l = i.size / 2, c = o.top + l;
|
|
14438
14448
|
let d, u = this.left, f = this.width;
|
|
14439
14449
|
if (this.isHorizontal())
|
|
14440
|
-
f = Math.max(...this.lineWidths), d = this.top + c, u =
|
|
14450
|
+
f = Math.max(...this.lineWidths), d = this.top + c, u = B2(e.align, u, this.right - f);
|
|
14441
14451
|
else {
|
|
14442
|
-
const g = this.columnSizes.reduce((
|
|
14443
|
-
d = c +
|
|
14452
|
+
const g = this.columnSizes.reduce((C, p) => Math.max(C, p.height), 0);
|
|
14453
|
+
d = c + B2(e.align, this.top, this.bottom - g - e.labels.padding - this._computeTitleHeight());
|
|
14444
14454
|
}
|
|
14445
|
-
const h =
|
|
14455
|
+
const h = B2(a, u, u + f);
|
|
14446
14456
|
r.textAlign = s.textAlign(ci(a)), r.textBaseline = "middle", r.strokeStyle = t.color, r.fillStyle = t.color, r.font = i.string, E0(r, t.text, h, d, i);
|
|
14447
14457
|
}
|
|
14448
14458
|
_computeTitleHeight() {
|
|
@@ -14652,21 +14662,21 @@ function el(n, e) {
|
|
|
14652
14662
|
}
|
|
14653
14663
|
function H3(n, e) {
|
|
14654
14664
|
const t = n.chart.ctx, { body: i, footer: o, title: s } = n, { boxWidth: r, boxHeight: a } = e, l = _2(e.bodyFont), c = _2(e.titleFont), d = _2(e.footerFont), u = s.length, f = o.length, h = i.length, g = Z2(e.padding);
|
|
14655
|
-
let
|
|
14656
|
-
if (b += n.beforeBody.length + n.afterBody.length, u && (
|
|
14665
|
+
let C = g.height, p = 0, b = i.reduce((S, A) => S + A.before.length + A.lines.length + A.after.length, 0);
|
|
14666
|
+
if (b += n.beforeBody.length + n.afterBody.length, u && (C += u * c.lineHeight + (u - 1) * e.titleSpacing + e.titleMarginBottom), b) {
|
|
14657
14667
|
const S = e.displayColors ? Math.max(a, l.lineHeight) : l.lineHeight;
|
|
14658
|
-
|
|
14668
|
+
C += h * S + (b - h) * l.lineHeight + (b - 1) * e.bodySpacing;
|
|
14659
14669
|
}
|
|
14660
|
-
f && (
|
|
14670
|
+
f && (C += e.footerMarginTop + f * d.lineHeight + (f - 1) * e.footerSpacing);
|
|
14661
14671
|
let w = 0;
|
|
14662
14672
|
const Z = function(S) {
|
|
14663
|
-
|
|
14673
|
+
p = Math.max(p, t.measureText(S).width + w);
|
|
14664
14674
|
};
|
|
14665
14675
|
return t.save(), t.font = c.string, s2(n.title, Z), t.font = l.string, s2(n.beforeBody.concat(n.afterBody), Z), w = e.displayColors ? r + 2 + e.boxPadding : 0, s2(i, (S) => {
|
|
14666
14676
|
s2(S.before, Z), s2(S.lines, Z), s2(S.after, Z);
|
|
14667
|
-
}), w = 0, t.font = d.string, s2(n.footer, Z), t.restore(),
|
|
14668
|
-
width:
|
|
14669
|
-
height:
|
|
14677
|
+
}), w = 0, t.font = d.string, s2(n.footer, Z), t.restore(), p += g.width, {
|
|
14678
|
+
width: p,
|
|
14679
|
+
height: C
|
|
14670
14680
|
};
|
|
14671
14681
|
}
|
|
14672
14682
|
function tl(n, e) {
|
|
@@ -14701,10 +14711,10 @@ function sl(n, e, t) {
|
|
|
14701
14711
|
function N3(n, e, t, i) {
|
|
14702
14712
|
const { caretSize: o, caretPadding: s, cornerRadius: r } = n, { xAlign: a, yAlign: l } = t, c = o + s, { topLeft: d, topRight: u, bottomLeft: f, bottomRight: h } = L0(r);
|
|
14703
14713
|
let g = ol(e, a);
|
|
14704
|
-
const
|
|
14714
|
+
const C = sl(e, l, c);
|
|
14705
14715
|
return l === "center" ? a === "left" ? g += c : a === "right" && (g -= c) : a === "left" ? g -= Math.max(d, f) + o : a === "right" && (g += Math.max(u, h) + o), {
|
|
14706
|
-
x:
|
|
14707
|
-
y:
|
|
14716
|
+
x: F2(g, 0, i.width - e.width),
|
|
14717
|
+
y: F2(C, 0, i.height - e.height)
|
|
14708
14718
|
};
|
|
14709
14719
|
}
|
|
14710
14720
|
function He(n, e, t) {
|
|
@@ -14867,10 +14877,10 @@ class i1 extends _0 {
|
|
|
14867
14877
|
t.lineTo(s.x1, s.y1), t.lineTo(s.x2, s.y2), t.lineTo(s.x3, s.y3);
|
|
14868
14878
|
}
|
|
14869
14879
|
getCaretPosition(e, t, i) {
|
|
14870
|
-
const { xAlign: o, yAlign: s } = this, { caretSize: r, cornerRadius: a } = i, { topLeft: l, topRight: c, bottomLeft: d, bottomRight: u } = L0(a), { x: f, y: h } = e, { width: g, height:
|
|
14871
|
-
let
|
|
14872
|
-
return s === "center" ? (S = h +
|
|
14873
|
-
x1:
|
|
14880
|
+
const { xAlign: o, yAlign: s } = this, { caretSize: r, cornerRadius: a } = i, { topLeft: l, topRight: c, bottomLeft: d, bottomRight: u } = L0(a), { x: f, y: h } = e, { width: g, height: C } = t;
|
|
14881
|
+
let p, b, w, Z, S, A;
|
|
14882
|
+
return s === "center" ? (S = h + C / 2, o === "left" ? (p = f, b = p - r, Z = S + r, A = S - r) : (p = f + g, b = p + r, Z = S - r, A = S + r), w = p) : (o === "left" ? b = f + Math.max(l, d) + r : o === "right" ? b = f + g - Math.max(c, u) - r : b = this.caretX, s === "top" ? (Z = h, S = Z - r, p = b - r, w = b + r) : (Z = h + C, S = Z + r, p = b + r, w = b - r), A = Z), {
|
|
14883
|
+
x1: p,
|
|
14874
14884
|
x2: b,
|
|
14875
14885
|
x3: w,
|
|
14876
14886
|
y1: Z,
|
|
@@ -14890,45 +14900,45 @@ class i1 extends _0 {
|
|
|
14890
14900
|
_drawColorBox(e, t, i, o, s) {
|
|
14891
14901
|
const r = this.labelColors[i], a = this.labelPointStyles[i], { boxHeight: l, boxWidth: c } = s, d = _2(s.bodyFont), u = He(this, "left", s), f = o.x(u), h = l < d.lineHeight ? (d.lineHeight - l) / 2 : 0, g = t.y + h;
|
|
14892
14902
|
if (s.usePointStyle) {
|
|
14893
|
-
const
|
|
14903
|
+
const C = {
|
|
14894
14904
|
radius: Math.min(c, l) / 2,
|
|
14895
14905
|
pointStyle: a.pointStyle,
|
|
14896
14906
|
rotation: a.rotation,
|
|
14897
14907
|
borderWidth: 1
|
|
14898
|
-
},
|
|
14899
|
-
e.strokeStyle = s.multiKeyBackground, e.fillStyle = s.multiKeyBackground, c3(e,
|
|
14908
|
+
}, p = o.leftForLtr(f, c) + c / 2, b = g + l / 2;
|
|
14909
|
+
e.strokeStyle = s.multiKeyBackground, e.fillStyle = s.multiKeyBackground, c3(e, C, p, b), e.strokeStyle = r.borderColor, e.fillStyle = r.backgroundColor, c3(e, C, p, b);
|
|
14900
14910
|
} else {
|
|
14901
14911
|
e.lineWidth = J(r.borderWidth) ? Math.max(...Object.values(r.borderWidth)) : r.borderWidth || 1, e.strokeStyle = r.borderColor, e.setLineDash(r.borderDash || []), e.lineDashOffset = r.borderDashOffset || 0;
|
|
14902
|
-
const
|
|
14912
|
+
const C = o.leftForLtr(f, c), p = o.leftForLtr(o.xPlus(f, 1), c - 2), b = L0(r.borderRadius);
|
|
14903
14913
|
Object.values(b).some((w) => w !== 0) ? (e.beginPath(), e.fillStyle = s.multiKeyBackground, ot(e, {
|
|
14904
|
-
x:
|
|
14914
|
+
x: C,
|
|
14905
14915
|
y: g,
|
|
14906
14916
|
w: c,
|
|
14907
14917
|
h: l,
|
|
14908
14918
|
radius: b
|
|
14909
14919
|
}), e.fill(), e.stroke(), e.fillStyle = r.backgroundColor, e.beginPath(), ot(e, {
|
|
14910
|
-
x:
|
|
14920
|
+
x: p,
|
|
14911
14921
|
y: g + 1,
|
|
14912
14922
|
w: c - 2,
|
|
14913
14923
|
h: l - 2,
|
|
14914
14924
|
radius: b
|
|
14915
|
-
}), e.fill()) : (e.fillStyle = s.multiKeyBackground, e.fillRect(
|
|
14925
|
+
}), e.fill()) : (e.fillStyle = s.multiKeyBackground, e.fillRect(C, g, c, l), e.strokeRect(C, g, c, l), e.fillStyle = r.backgroundColor, e.fillRect(p, g + 1, c - 2, l - 2));
|
|
14916
14926
|
}
|
|
14917
14927
|
e.fillStyle = this.labelTextColors[i];
|
|
14918
14928
|
}
|
|
14919
14929
|
drawBody(e, t, i) {
|
|
14920
14930
|
const { body: o } = this, { bodySpacing: s, bodyAlign: r, displayColors: a, boxHeight: l, boxWidth: c, boxPadding: d } = i, u = _2(i.bodyFont);
|
|
14921
14931
|
let f = u.lineHeight, h = 0;
|
|
14922
|
-
const g = O0(i.rtl, this.x, this.width),
|
|
14923
|
-
t.fillText(
|
|
14924
|
-
},
|
|
14932
|
+
const g = O0(i.rtl, this.x, this.width), C = function(L) {
|
|
14933
|
+
t.fillText(L, g.x(e.x + h), e.y + f / 2), e.y += f + s;
|
|
14934
|
+
}, p = g.textAlign(r);
|
|
14925
14935
|
let b, w, Z, S, A, P, I;
|
|
14926
|
-
for (t.textAlign = r, t.textBaseline = "middle", t.font = u.string, e.x = He(this,
|
|
14927
|
-
for (b = o[S], w = this.labelTextColors[S], t.fillStyle = w, s2(b.before,
|
|
14928
|
-
|
|
14929
|
-
s2(b.after,
|
|
14936
|
+
for (t.textAlign = r, t.textBaseline = "middle", t.font = u.string, e.x = He(this, p, i), t.fillStyle = i.bodyColor, s2(this.beforeBody, C), h = a && p !== "right" ? r === "center" ? c / 2 + d : c + 2 + d : 0, S = 0, P = o.length; S < P; ++S) {
|
|
14937
|
+
for (b = o[S], w = this.labelTextColors[S], t.fillStyle = w, s2(b.before, C), Z = b.lines, a && Z.length && (this._drawColorBox(t, e, S, g, i), f = Math.max(u.lineHeight, l)), A = 0, I = Z.length; A < I; ++A)
|
|
14938
|
+
C(Z[A]), f = u.lineHeight;
|
|
14939
|
+
s2(b.after, C);
|
|
14930
14940
|
}
|
|
14931
|
-
h = 0, f = u.lineHeight, s2(this.afterBody,
|
|
14941
|
+
h = 0, f = u.lineHeight, s2(this.afterBody, C), e.y -= s;
|
|
14932
14942
|
}
|
|
14933
14943
|
drawFooter(e, t, i) {
|
|
14934
14944
|
const o = this.footer, s = o.length;
|
|
@@ -15131,20 +15141,20 @@ var al = {
|
|
|
15131
15141
|
]
|
|
15132
15142
|
};
|
|
15133
15143
|
function ll(n, e) {
|
|
15134
|
-
const t = [], { bounds: o, step: s, min: r, max: a, precision: l, count: c, maxTicks: d, maxDigits: u, includeBounds: f } = n, h = s || 1, g = d - 1, { min:
|
|
15135
|
-
let A = t3((
|
|
15144
|
+
const t = [], { bounds: o, step: s, min: r, max: a, precision: l, count: c, maxTicks: d, maxDigits: u, includeBounds: f } = n, h = s || 1, g = d - 1, { min: C, max: p } = e, b = !d2(r), w = !d2(a), Z = !d2(c), S = (p - C) / (u + 1);
|
|
15145
|
+
let A = t3((p - C) / g / h) * h, P, I, L, E;
|
|
15136
15146
|
if (A < 1e-14 && !b && !w)
|
|
15137
15147
|
return [
|
|
15138
15148
|
{
|
|
15139
|
-
value:
|
|
15149
|
+
value: C
|
|
15140
15150
|
},
|
|
15141
15151
|
{
|
|
15142
|
-
value:
|
|
15152
|
+
value: p
|
|
15143
15153
|
}
|
|
15144
15154
|
];
|
|
15145
|
-
E = Math.ceil(
|
|
15155
|
+
E = Math.ceil(p / A) - Math.floor(C / A), E > g && (A = t3(E * A / g / h) * h), d2(l) || (P = Math.pow(10, l), A = Math.ceil(A * P) / P), o === "ticks" ? (I = Math.floor(C / A) * A, L = Math.ceil(p / A) * A) : (I = C, L = p), b && w && s && _r((a - r) / s, A / 1e3) ? (E = Math.round(Math.min((a - r) / A, d)), A = (a - r) / E, I = r, L = a) : Z ? (I = b ? r : I, L = w ? a : L, E = c - 1, A = (L - I) / E) : (E = (L - I) / A, Ue(E, Math.round(E), A / 1e3) ? E = Math.round(E) : E = Math.ceil(E));
|
|
15146
15156
|
const j = Math.max(n3(A), n3(I));
|
|
15147
|
-
P = Math.pow(10, d2(l) ? j : l), I = Math.round(I * P) / P,
|
|
15157
|
+
P = Math.pow(10, d2(l) ? j : l), I = Math.round(I * P) / P, L = Math.round(L * P) / P;
|
|
15148
15158
|
let R = 0;
|
|
15149
15159
|
for (b && (f && I !== r ? (t.push({
|
|
15150
15160
|
value: r
|
|
@@ -15156,10 +15166,10 @@ function ll(n, e) {
|
|
|
15156
15166
|
value: T
|
|
15157
15167
|
});
|
|
15158
15168
|
}
|
|
15159
|
-
return w && f &&
|
|
15169
|
+
return w && f && L !== a ? t.length && Ue(t[t.length - 1].value, a, U3(a, S, n)) ? t[t.length - 1].value = a : t.push({
|
|
15160
15170
|
value: a
|
|
15161
|
-
}) : (!w ||
|
|
15162
|
-
value:
|
|
15171
|
+
}) : (!w || L === a) && t.push({
|
|
15172
|
+
value: L
|
|
15163
15173
|
}), t;
|
|
15164
15174
|
}
|
|
15165
15175
|
function U3(n, e, { horizontal: t, minRotation: i }) {
|
|
@@ -15266,18 +15276,18 @@ function cl(n, e) {
|
|
|
15266
15276
|
return Math.min(i, xe(n));
|
|
15267
15277
|
}
|
|
15268
15278
|
function dl(n, { min: e, max: t }) {
|
|
15269
|
-
e =
|
|
15279
|
+
e = I2(n.min, e);
|
|
15270
15280
|
const i = [], o = xe(e);
|
|
15271
15281
|
let s = cl(e, t), r = s < 0 ? Math.pow(10, Math.abs(s)) : 1;
|
|
15272
15282
|
const a = Math.pow(10, s), l = o > s ? Math.pow(10, o) : 0, c = Math.round((e - l) * r) / r, d = Math.floor((e - l) / a / 10) * a * 10;
|
|
15273
|
-
let u = Math.floor((c - d) / Math.pow(10, s)), f =
|
|
15283
|
+
let u = Math.floor((c - d) / Math.pow(10, s)), f = I2(n.min, Math.round((l + d + u * Math.pow(10, s)) * r) / r);
|
|
15274
15284
|
for (; f < t; )
|
|
15275
15285
|
i.push({
|
|
15276
15286
|
value: f,
|
|
15277
15287
|
major: K3(f),
|
|
15278
15288
|
significand: u
|
|
15279
15289
|
}), u >= 10 ? u = u < 15 ? 15 : 20 : u++, u >= 20 && (s++, u = 2, r = s >= 0 ? 1 : r), f = Math.round((l + d + u * Math.pow(10, s)) * r) / r;
|
|
15280
|
-
const h =
|
|
15290
|
+
const h = I2(n.max, f);
|
|
15281
15291
|
return i.push({
|
|
15282
15292
|
value: h,
|
|
15283
15293
|
major: K3(h),
|
|
@@ -15379,8 +15389,8 @@ function hl(n) {
|
|
|
15379
15389
|
o[l] = c.padding;
|
|
15380
15390
|
const d = n.getPointPosition(l, n.drawingArea + o[l], a), u = _2(c.font), f = ul(n.ctx, u, n._pointLabels[l]);
|
|
15381
15391
|
i[l] = f;
|
|
15382
|
-
const h =
|
|
15383
|
-
fl(t, e, h,
|
|
15392
|
+
const h = L2(n.getIndexAngle(l) + a), g = Math.round(m1(h)), C = G3(g, d.x, f.w, 0, 180), p = G3(g, d.y, f.h, 90, 270);
|
|
15393
|
+
fl(t, e, h, C, p);
|
|
15384
15394
|
}
|
|
15385
15395
|
n.setCenterPoint(e.l - t.l, t.r - e.r, e.t - t.t, t.b - e.b), n._pointLabelItems = gl(n, i, o);
|
|
15386
15396
|
}
|
|
@@ -15390,7 +15400,7 @@ function fl(n, e, t, i, o) {
|
|
|
15390
15400
|
i.start < e.l ? (a = (e.l - i.start) / s, n.l = Math.min(n.l, e.l - a)) : i.end > e.r && (a = (i.end - e.r) / s, n.r = Math.max(n.r, e.r + a)), o.start < e.t ? (l = (e.t - o.start) / r, n.t = Math.min(n.t, e.t - l)) : o.end > e.b && (l = (o.end - e.b) / r, n.b = Math.max(n.b, e.b + l));
|
|
15391
15401
|
}
|
|
15392
15402
|
function pl(n, e, t) {
|
|
15393
|
-
const i = n.drawingArea, { extra: o, additionalAngle: s, padding: r, size: a } = t, l = n.getPointPosition(e, i + o + r, s), c = Math.round(m1(
|
|
15403
|
+
const i = n.drawingArea, { extra: o, additionalAngle: s, padding: r, size: a } = t, l = n.getPointPosition(e, i + o + r, s), c = Math.round(m1(L2(l.angle + b2))), d = yl(l.y, a.h, c), u = ml(c), f = bl(l.x, a.w, u);
|
|
15394
15404
|
return {
|
|
15395
15405
|
visible: !0,
|
|
15396
15406
|
x: l.x,
|
|
@@ -15528,7 +15538,7 @@ class ze extends lt {
|
|
|
15528
15538
|
}
|
|
15529
15539
|
getIndexAngle(e) {
|
|
15530
15540
|
const t = f2 / (this._pointLabels.length || 1), i = this.options.startAngle || 0;
|
|
15531
|
-
return
|
|
15541
|
+
return L2(e * t + N2(i));
|
|
15532
15542
|
}
|
|
15533
15543
|
getDistanceFromCenterForValue(e) {
|
|
15534
15544
|
if (d2(e))
|
|
@@ -15821,7 +15831,7 @@ class ct extends z0 {
|
|
|
15821
15831
|
let t = 0, i = 0, o, s;
|
|
15822
15832
|
this.options.offset && e.length && (o = this.getDecimalForValue(e[0]), e.length === 1 ? t = 1 - o : t = (this.getDecimalForValue(e[1]) - o) / 2, s = this.getDecimalForValue(e[e.length - 1]), e.length === 1 ? i = s : i = (s - this.getDecimalForValue(e[e.length - 2])) / 2);
|
|
15823
15833
|
const r = e.length < 3 ? 0.5 : 0.25;
|
|
15824
|
-
t =
|
|
15834
|
+
t = F2(t, 0, r), i = F2(i, 0, r), this._offsets = {
|
|
15825
15835
|
start: t,
|
|
15826
15836
|
end: i,
|
|
15827
15837
|
factor: 1 / (t + 1 + i)
|
|
@@ -15835,7 +15845,7 @@ class ct extends z0 {
|
|
|
15835
15845
|
const g = o.ticks.source === "data" && this.getDataTimestamps();
|
|
15836
15846
|
for (f = u, h = 0; f < i; f = +e.add(f, a, r), h++)
|
|
15837
15847
|
tn(d, f, g);
|
|
15838
|
-
return (f === i || o.bounds === "ticks" || h === 1) && tn(d, f, g), Object.keys(d).sort(Q3).map((
|
|
15848
|
+
return (f === i || o.bounds === "ticks" || h === 1) && tn(d, f, g), Object.keys(d).sort(Q3).map((C) => +C);
|
|
15839
15849
|
}
|
|
15840
15850
|
getLabelForValue(e) {
|
|
15841
15851
|
const t = this._adapter, i = this.options.time;
|
|
@@ -16071,10 +16081,10 @@ const Il = t2({
|
|
|
16071
16081
|
const r = () => {
|
|
16072
16082
|
if (!o.value)
|
|
16073
16083
|
return;
|
|
16074
|
-
const { type: c, data: d, options: u, plugins: f, datasetIdKey: h } = n, g = Bl(d, h),
|
|
16084
|
+
const { type: c, data: d, options: u, plugins: f, datasetIdKey: h } = n, g = Bl(d, h), C = Tl(g, d);
|
|
16075
16085
|
s.value = new vt(o.value, {
|
|
16076
16086
|
type: c,
|
|
16077
|
-
data:
|
|
16087
|
+
data: C,
|
|
16078
16088
|
options: {
|
|
16079
16089
|
...u
|
|
16080
16090
|
},
|
|
@@ -16093,20 +16103,20 @@ const Il = t2({
|
|
|
16093
16103
|
() => n.data
|
|
16094
16104
|
], (c, d) => {
|
|
16095
16105
|
let [u, f] = c, [h, g] = d;
|
|
16096
|
-
const
|
|
16097
|
-
if (!
|
|
16106
|
+
const C = Ht(s.value);
|
|
16107
|
+
if (!C)
|
|
16098
16108
|
return;
|
|
16099
|
-
let
|
|
16109
|
+
let p = !1;
|
|
16100
16110
|
if (u) {
|
|
16101
16111
|
const b = T0(u), w = T0(h);
|
|
16102
|
-
b && b !== w && (Pl(
|
|
16112
|
+
b && b !== w && (Pl(C, b), p = !0);
|
|
16103
16113
|
}
|
|
16104
16114
|
if (f) {
|
|
16105
16115
|
const b = T0(f.labels), w = T0(g.labels), Z = T0(f.datasets), S = T0(g.datasets);
|
|
16106
|
-
b !== w && (Li(
|
|
16116
|
+
b !== w && (Li(C.config.data, b), p = !0), Z && Z !== S && (Oi(C.config.data, Z, n.datasetIdKey), p = !0);
|
|
16107
16117
|
}
|
|
16108
|
-
|
|
16109
|
-
l(
|
|
16118
|
+
p && rn(() => {
|
|
16119
|
+
l(C);
|
|
16110
16120
|
});
|
|
16111
16121
|
}, {
|
|
16112
16122
|
deep: !0
|
|
@@ -16209,36 +16219,36 @@ const Ll = /* @__PURE__ */ Fi("doughnut", B0), Ol = /* @__PURE__ */ Fi("pie", e1
|
|
|
16209
16219
|
}), s = k(() => W(On, t.pt ?? {})), r = e2(0), a = e2([]), l = e2(-1), c = e2(null), d = k(() => a.value.length > 0), u = k(
|
|
16210
16220
|
() => d.value ? a.value[a.value.length - 1] : null
|
|
16211
16221
|
), f = k(() => {
|
|
16212
|
-
var x,
|
|
16222
|
+
var x, O, F, H;
|
|
16213
16223
|
if (d.value && u.value) {
|
|
16214
16224
|
const z = u.value;
|
|
16215
|
-
return z.variant === "Multi" && ((x = z.tabs) != null && x.length) ? ((
|
|
16225
|
+
return z.variant === "Multi" && ((x = z.tabs) != null && x.length) ? ((O = z.tabs[r.value]) == null ? void 0 : O.chartData) ?? [] : z.chartData;
|
|
16216
16226
|
}
|
|
16217
|
-
return t.variant === "Multi" && ((
|
|
16227
|
+
return t.variant === "Multi" && ((F = t.tabs) != null && F.length) ? ((H = t.tabs[r.value]) == null ? void 0 : H.chartData) ?? [] : t.chartData ?? [];
|
|
16218
16228
|
}), h = k(() => {
|
|
16219
|
-
var x,
|
|
16229
|
+
var x, O, F, H;
|
|
16220
16230
|
if (d.value && u.value) {
|
|
16221
16231
|
const z = u.value;
|
|
16222
|
-
return z.variant === "Multi" && ((x = z.tabs) != null && x.length) ? ((
|
|
16232
|
+
return z.variant === "Multi" && ((x = z.tabs) != null && x.length) ? ((O = z.tabs[r.value]) == null ? void 0 : O.chartType) ?? z.chartType ?? "doughnut" : z.chartType ?? "doughnut";
|
|
16223
16233
|
}
|
|
16224
|
-
return t.variant === "Multi" && ((
|
|
16234
|
+
return t.variant === "Multi" && ((F = t.tabs) != null && F.length) ? ((H = t.tabs[r.value]) == null ? void 0 : H.chartType) ?? t.chartType ?? "doughnut" : t.chartType ?? "doughnut";
|
|
16225
16235
|
}), g = k(() => {
|
|
16226
16236
|
var x;
|
|
16227
16237
|
return d.value && ((x = u.value) == null ? void 0 : x.variant) === "Multi" ? u.value.tabs ?? [] : t.tabs ?? [];
|
|
16228
|
-
}),
|
|
16229
|
-
var x,
|
|
16238
|
+
}), C = k(() => {
|
|
16239
|
+
var x, O, F, H;
|
|
16230
16240
|
if (d.value && u.value) {
|
|
16231
16241
|
const z = u.value;
|
|
16232
|
-
return z.variant === "Multi" && ((x = z.tabs) != null && x.length) ? ((
|
|
16242
|
+
return z.variant === "Multi" && ((x = z.tabs) != null && x.length) ? ((O = z.tabs[r.value]) == null ? void 0 : O.headline) ?? z.headline : z.headline;
|
|
16233
16243
|
}
|
|
16234
|
-
return t.variant === "Multi" && ((
|
|
16235
|
-
}),
|
|
16236
|
-
var x,
|
|
16244
|
+
return t.variant === "Multi" && ((F = t.tabs) != null && F.length) ? ((H = t.tabs[r.value]) == null ? void 0 : H.headline) ?? t.chartHeadline ?? t.headline : t.variant === "Section" ? t.chartHeadline ?? t.headline : t.headline;
|
|
16245
|
+
}), p = k(() => {
|
|
16246
|
+
var x, O, F, H;
|
|
16237
16247
|
if (d.value && u.value) {
|
|
16238
16248
|
const z = u.value;
|
|
16239
|
-
return z.variant === "Multi" && ((x = z.tabs) != null && x.length) ? ((
|
|
16249
|
+
return z.variant === "Multi" && ((x = z.tabs) != null && x.length) ? ((O = z.tabs[r.value]) == null ? void 0 : O.subHeadline) ?? z.subHeadline : z.subHeadline;
|
|
16240
16250
|
}
|
|
16241
|
-
if (t.variant === "Multi" && ((
|
|
16251
|
+
if (t.variant === "Multi" && ((F = t.tabs) != null && F.length))
|
|
16242
16252
|
return ((H = t.tabs[r.value]) == null ? void 0 : H.subHeadline) ?? t.subHeadline;
|
|
16243
16253
|
if (t.variant !== "Section")
|
|
16244
16254
|
return t.subHeadline;
|
|
@@ -16274,31 +16284,31 @@ const Ll = /* @__PURE__ */ Fi("doughnut", B0), Ol = /* @__PURE__ */ Fi("pie", e1
|
|
|
16274
16284
|
tooltip: {
|
|
16275
16285
|
callbacks: {
|
|
16276
16286
|
label: (x) => {
|
|
16277
|
-
const
|
|
16278
|
-
return `${
|
|
16287
|
+
const O = x.label ?? "", F = x.parsed ?? 0;
|
|
16288
|
+
return `${O}: ${F}%`;
|
|
16279
16289
|
}
|
|
16280
16290
|
}
|
|
16281
16291
|
}
|
|
16282
16292
|
}
|
|
16283
16293
|
}, A = (x) => {
|
|
16284
|
-
var
|
|
16285
|
-
l.value = x, (
|
|
16294
|
+
var O;
|
|
16295
|
+
l.value = x, (O = c.value) != null && O.chart && (c.value.chart.setActiveElements([{ datasetIndex: 0, index: x }]), c.value.chart.update());
|
|
16286
16296
|
}, P = () => {
|
|
16287
16297
|
var x;
|
|
16288
16298
|
l.value = -1, (x = c.value) != null && x.chart && (c.value.chart.setActiveElements([]), c.value.chart.update());
|
|
16289
16299
|
}, I = (x) => {
|
|
16290
16300
|
x.drillDown && (r.value = 0, a.value.push(x.drillDown));
|
|
16291
|
-
},
|
|
16301
|
+
}, L = () => {
|
|
16292
16302
|
a.value.pop(), r.value = 0;
|
|
16293
16303
|
}, E = (x) => {
|
|
16294
16304
|
r.value = x;
|
|
16295
16305
|
}, j = k(
|
|
16296
16306
|
() => N(`bg-${i}`, s.value.root ?? "", t.class ?? "")
|
|
16297
16307
|
), R = k(() => {
|
|
16298
|
-
var x,
|
|
16299
|
-
return d.value && ((x = u.value) == null ? void 0 : x.variant) === "Multi" ? !0 : t.variant === "Multi" && (((
|
|
16308
|
+
var x, O;
|
|
16309
|
+
return d.value && ((x = u.value) == null ? void 0 : x.variant) === "Multi" ? !0 : t.variant === "Multi" && (((O = t.tabs) == null ? void 0 : O.length) ?? 0) > 1;
|
|
16300
16310
|
}), T = k(() => t.variant === "Section");
|
|
16301
|
-
return (x,
|
|
16311
|
+
return (x, O) => (m(), D(m2(x.isChild ? "div" : "section"), {
|
|
16302
16312
|
class: M(j.value)
|
|
16303
16313
|
}, {
|
|
16304
16314
|
default: u2(() => [
|
|
@@ -16341,10 +16351,10 @@ const Ll = /* @__PURE__ */ Fi("doughnut", B0), Ol = /* @__PURE__ */ Fi("pie", e1
|
|
|
16341
16351
|
)
|
|
16342
16352
|
)
|
|
16343
16353
|
}, [
|
|
16344
|
-
(m(!0), v(q, null, n2(g.value, (
|
|
16354
|
+
(m(!0), v(q, null, n2(g.value, (F, H) => {
|
|
16345
16355
|
var z, G;
|
|
16346
16356
|
return m(), v("button", {
|
|
16347
|
-
key:
|
|
16357
|
+
key: F.label,
|
|
16348
16358
|
class: M(
|
|
16349
16359
|
y(N)(
|
|
16350
16360
|
"px-6 py-3 font-bold transition-colors text-sm md:text-base",
|
|
@@ -16356,7 +16366,7 @@ const Ll = /* @__PURE__ */ Fi("doughnut", B0), Ol = /* @__PURE__ */ Fi("pie", e1
|
|
|
16356
16366
|
)
|
|
16357
16367
|
),
|
|
16358
16368
|
onClick: (X) => E(H)
|
|
16359
|
-
}, Y(
|
|
16369
|
+
}, Y(F.label), 11, Rl);
|
|
16360
16370
|
}), 128))
|
|
16361
16371
|
], 2)
|
|
16362
16372
|
])) : _("", !0),
|
|
@@ -16369,7 +16379,7 @@ const Ll = /* @__PURE__ */ Fi("doughnut", B0), Ol = /* @__PURE__ */ Fi("pie", e1
|
|
|
16369
16379
|
)
|
|
16370
16380
|
)
|
|
16371
16381
|
}, [
|
|
16372
|
-
|
|
16382
|
+
C.value ? (m(), v("div", jl, [
|
|
16373
16383
|
d.value ? (m(), v("button", {
|
|
16374
16384
|
key: 0,
|
|
16375
16385
|
class: M(
|
|
@@ -16379,8 +16389,8 @@ const Ll = /* @__PURE__ */ Fi("doughnut", B0), Ol = /* @__PURE__ */ Fi("pie", e1
|
|
|
16379
16389
|
)
|
|
16380
16390
|
),
|
|
16381
16391
|
"aria-label": "Go back",
|
|
16382
|
-
onClick:
|
|
16383
|
-
},
|
|
16392
|
+
onClick: L
|
|
16393
|
+
}, O[0] || (O[0] = [
|
|
16384
16394
|
$("svg", {
|
|
16385
16395
|
xmlns: "http://www.w3.org/2000/svg",
|
|
16386
16396
|
width: "28",
|
|
@@ -16397,12 +16407,12 @@ const Ll = /* @__PURE__ */ Fi("doughnut", B0), Ol = /* @__PURE__ */ Fi("pie", e1
|
|
|
16397
16407
|
]), 2)) : _("", !0),
|
|
16398
16408
|
$("h2", {
|
|
16399
16409
|
class: "text-iris text-3xl md:text-4xl font-bold leading-tight",
|
|
16400
|
-
innerHTML:
|
|
16410
|
+
innerHTML: C.value
|
|
16401
16411
|
}, null, 8, Hl)
|
|
16402
16412
|
])) : _("", !0),
|
|
16403
16413
|
$("div", zl, [
|
|
16404
16414
|
$("div", Nl, [
|
|
16405
|
-
|
|
16415
|
+
p.value ? (m(), v("h3", {
|
|
16406
16416
|
key: 0,
|
|
16407
16417
|
class: M(
|
|
16408
16418
|
y(N)(
|
|
@@ -16410,7 +16420,7 @@ const Ll = /* @__PURE__ */ Fi("doughnut", B0), Ol = /* @__PURE__ */ Fi("pie", e1
|
|
|
16410
16420
|
s.value.subheadline ?? ""
|
|
16411
16421
|
)
|
|
16412
16422
|
),
|
|
16413
|
-
innerHTML:
|
|
16423
|
+
innerHTML: p.value
|
|
16414
16424
|
}, null, 10, Vl)) : _("", !0),
|
|
16415
16425
|
b.value ? (m(), v("p", {
|
|
16416
16426
|
key: 1,
|
|
@@ -16425,20 +16435,20 @@ const Ll = /* @__PURE__ */ Fi("doughnut", B0), Ol = /* @__PURE__ */ Fi("pie", e1
|
|
|
16425
16435
|
$("div", {
|
|
16426
16436
|
class: M(y(N)("max-h-[300px] overflow-y-auto", s.value.legend ?? ""))
|
|
16427
16437
|
}, [
|
|
16428
|
-
(m(!0), v(q, null, n2(f.value, (
|
|
16429
|
-
key:
|
|
16438
|
+
(m(!0), v(q, null, n2(f.value, (F, H) => (m(), v("button", {
|
|
16439
|
+
key: F.label,
|
|
16430
16440
|
class: M(
|
|
16431
16441
|
y(N)(
|
|
16432
16442
|
"w-full flex items-center gap-3 border rounded-full py-3 px-5 my-2 text-left transition-all duration-200",
|
|
16433
16443
|
l.value === H ? "border-2 border-soil" : "border border-stone/30",
|
|
16434
|
-
|
|
16444
|
+
F.drillDown ? "cursor-pointer" : "cursor-default",
|
|
16435
16445
|
s.value.legendItem ?? ""
|
|
16436
16446
|
)
|
|
16437
16447
|
),
|
|
16438
|
-
disabled: !
|
|
16448
|
+
disabled: !F.drillDown,
|
|
16439
16449
|
onMouseenter: (z) => A(H),
|
|
16440
16450
|
onMouseleave: P,
|
|
16441
|
-
onClick: (z) => I(
|
|
16451
|
+
onClick: (z) => I(F)
|
|
16442
16452
|
}, [
|
|
16443
16453
|
$("span", {
|
|
16444
16454
|
class: M(
|
|
@@ -16447,10 +16457,10 @@ const Ll = /* @__PURE__ */ Fi("doughnut", B0), Ol = /* @__PURE__ */ Fi("pie", e1
|
|
|
16447
16457
|
s.value.legendCircle ?? ""
|
|
16448
16458
|
)
|
|
16449
16459
|
),
|
|
16450
|
-
style: k2({ backgroundColor: w(
|
|
16460
|
+
style: k2({ backgroundColor: w(F.color) })
|
|
16451
16461
|
}, null, 6),
|
|
16452
|
-
$("span", Yl, Y(
|
|
16453
|
-
|
|
16462
|
+
$("span", Yl, Y(F.label) + " - " + Y(F.value) + "% ", 1),
|
|
16463
|
+
F.drillDown ? (m(), v("svg", Kl, O[1] || (O[1] = [
|
|
16454
16464
|
$("path", { d: "M9 18l6-6-6-6" }, null, -1)
|
|
16455
16465
|
]))) : _("", !0)
|
|
16456
16466
|
], 42, Ul))), 128))
|
|
@@ -16515,11 +16525,14 @@ const Ll = /* @__PURE__ */ Fi("doughnut", B0), Ol = /* @__PURE__ */ Fi("pie", e1
|
|
|
16515
16525
|
TileContentTextTile: Z5,
|
|
16516
16526
|
TileContentVideoTile: S5,
|
|
16517
16527
|
Video: gt
|
|
16518
|
-
}, Symbol.toStringTag, { value: "Module" })), C7 =
|
|
16528
|
+
}, Symbol.toStringTag, { value: "Module" })), C7 = {
|
|
16529
|
+
ContactUs: "Contact Us",
|
|
16530
|
+
ContactUsForm: "Contact Us Form"
|
|
16531
|
+
}, g7 = (n) => {
|
|
16519
16532
|
Object.entries(Jl).forEach(([e, t]) => {
|
|
16520
16533
|
n.component(e, t);
|
|
16521
16534
|
});
|
|
16522
|
-
},
|
|
16535
|
+
}, m7 = (n, e) => {
|
|
16523
16536
|
const t = (o, s) => {
|
|
16524
16537
|
for (const r of Object.keys(s))
|
|
16525
16538
|
typeof s[r] == "object" ? t(o[r], s[r]) : o[r] = s[r];
|
|
@@ -16573,6 +16586,7 @@ export {
|
|
|
16573
16586
|
o7 as ModuleTypeName,
|
|
16574
16587
|
s0 as NavigationElement,
|
|
16575
16588
|
kn as NavigationElementPt,
|
|
16589
|
+
C7 as PlaceholderModuleName,
|
|
16576
16590
|
n5 as PrimaryNavigation,
|
|
16577
16591
|
Z4 as PrimaryNavigationPt,
|
|
16578
16592
|
qt as SocialMediaRef,
|
|
@@ -16604,8 +16618,8 @@ export {
|
|
|
16604
16618
|
gn as combineAccordionPassthroughs,
|
|
16605
16619
|
W as combinePassthroughs,
|
|
16606
16620
|
u1 as getTarget,
|
|
16607
|
-
|
|
16621
|
+
g7 as initGlobalComponents,
|
|
16608
16622
|
n7 as overridePalette,
|
|
16609
|
-
|
|
16623
|
+
m7 as overridePassthrough,
|
|
16610
16624
|
C2 as withColorPalette
|
|
16611
16625
|
};
|