@cooperco/cooper-component-library 0.1.94 → 0.1.96
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/0082-add-body-copy-alignment-to-content-module.cjs +36 -0
- package/dist/cms/0083-create-placeholder-module.cjs +44 -0
- package/dist/cms/README.md +101 -31
- package/dist/cms/contentModule.query.ts +1 -0
- package/dist/cms/contentful/migrations/scripts/0082-add-body-copy-alignment-to-content-module.cjs +36 -0
- package/dist/cms/contentful/migrations/scripts/0083-create-placeholder-module.cjs +44 -0
- package/dist/cms/contentful/queries/contentModule.query.js +1 -0
- package/dist/cms/contentful/queries/contentModule.query.ts +1 -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/0082-add-body-copy-alignment-to-content-module.cjs +36 -0
- package/dist/cms/migrations/scripts/0083-create-placeholder-module.cjs +44 -0
- package/dist/cms/placeholderModule.query.ts +22 -0
- package/dist/cms/queries/contentModule.query.ts +1 -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/0082-add-body-copy-alignment-to-content-module.cjs +36 -0
- package/dist/cms/scripts/0083-create-placeholder-module.cjs +44 -0
- package/dist/lib/component-lib.js +495 -489
- package/dist/lib/component-lib.umd.cjs +10 -10
- 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/ContentModule/ContentModule.d.ts +1 -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
|
@@ -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 C = 0; C < a.length; C++) {
|
|
115
|
+
let b = a[C];
|
|
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(C, C + s) === e)) {
|
|
118
|
+
l.push(a.slice(d, C)), d = C + s;
|
|
119
119
|
continue;
|
|
120
120
|
}
|
|
121
121
|
if (b === "/") {
|
|
122
|
-
u =
|
|
122
|
+
u = C;
|
|
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),
|
|
128
|
+
const f = l.length === 0 ? a : a.substring(d), h = f.startsWith(un), g = h ? f.substring(1) : f, p = u && u > d ? u - d : void 0;
|
|
129
129
|
return {
|
|
130
130
|
modifiers: l,
|
|
131
131
|
hasImportantModifier: h,
|
|
132
|
-
baseClassName:
|
|
133
|
-
maybePostfixModifierPosition:
|
|
132
|
+
baseClassName: g,
|
|
133
|
+
maybePostfixModifierPosition: p
|
|
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
|
|
167
|
-
if (!
|
|
168
|
-
if (!
|
|
166
|
+
let g = !!h, p = i(g ? f.substring(0, h) : f);
|
|
167
|
+
if (!p) {
|
|
168
|
+
if (!g) {
|
|
169
169
|
a = c + (a.length > 0 ? " " + a : a);
|
|
170
170
|
continue;
|
|
171
171
|
}
|
|
172
|
-
if (
|
|
172
|
+
if (p = i(f), !p) {
|
|
173
173
|
a = c + (a.length > 0 ? " " + a : a);
|
|
174
174
|
continue;
|
|
175
175
|
}
|
|
176
|
-
|
|
176
|
+
g = !1;
|
|
177
177
|
}
|
|
178
|
-
const
|
|
178
|
+
const C = e4(d).join(":"), b = u ? C + un : C, w = b + p;
|
|
179
179
|
if (s.includes(w))
|
|
180
180
|
continue;
|
|
181
181
|
s.push(w);
|
|
182
|
-
const Z = o(
|
|
182
|
+
const Z = o(p, 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"),
|
|
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"), p = l2("inset"), C = l2("margin"), b = l2("opacity"), w = l2("padding"), Z = l2("saturate"), S = l2("scale"), A = l2("sepia"), P = l2("skew"), I = l2("space"), F = l2("translate"), E = () => ["auto", "contain", "none"], j = () => ["auto", "hidden", "clip", "visible", "scroll"], R = () => ["auto", K, e], T = () => [K, e], x = () => ["", U2, e0], L = () => ["auto", I0, K], O = () => ["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: ":",
|
|
@@ -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: [p]
|
|
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": [p]
|
|
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": [p]
|
|
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: [p]
|
|
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: [p]
|
|
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: [p]
|
|
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: [p]
|
|
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: [p]
|
|
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: [p]
|
|
468
468
|
}],
|
|
469
469
|
/**
|
|
470
470
|
* Visibility
|
|
@@ -762,63 +762,63 @@ const l2 = (n) => {
|
|
|
762
762
|
* @see https://tailwindcss.com/docs/margin
|
|
763
763
|
*/
|
|
764
764
|
m: [{
|
|
765
|
-
m: [
|
|
765
|
+
m: [C]
|
|
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: [C]
|
|
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: [C]
|
|
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: [C]
|
|
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: [C]
|
|
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: [C]
|
|
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: [C]
|
|
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: [C]
|
|
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: [C]
|
|
822
822
|
}],
|
|
823
823
|
/**
|
|
824
824
|
* Space Between X
|
|
@@ -1202,21 +1202,21 @@ const l2 = (n) => {
|
|
|
1202
1202
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1203
1203
|
*/
|
|
1204
1204
|
"gradient-from-pos": [{
|
|
1205
|
-
from: [
|
|
1205
|
+
from: [g]
|
|
1206
1206
|
}],
|
|
1207
1207
|
/**
|
|
1208
1208
|
* Gradient Color Stops Via Position
|
|
1209
1209
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1210
1210
|
*/
|
|
1211
1211
|
"gradient-via-pos": [{
|
|
1212
|
-
via: [
|
|
1212
|
+
via: [g]
|
|
1213
1213
|
}],
|
|
1214
1214
|
/**
|
|
1215
1215
|
* Gradient Color Stops To Position
|
|
1216
1216
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1217
1217
|
*/
|
|
1218
1218
|
"gradient-to-pos": [{
|
|
1219
|
-
to: [
|
|
1219
|
+
to: [g]
|
|
1220
1220
|
}],
|
|
1221
1221
|
/**
|
|
1222
1222
|
* Gradient Color Stops From
|
|
@@ -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
|
|
3143
|
-
var
|
|
3142
|
+
var g = Array.isArray(f) ? s(r, f) : Object.entries(f).map(function(p) {
|
|
3143
|
+
var C = _t(p, 2), b = C[0], w = C[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 =
|
|
3147
|
-
return !!
|
|
3146
|
+
u = g.length ? u.concat(g.filter(function(p) {
|
|
3147
|
+
return !!p;
|
|
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,
|
|
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, p = "top";
|
|
3196
|
+
c.top + a + s > f.height ? (h = c.top + d - s, p = "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 = p, i && (e.style.marginTop = p === "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(C) {
|
|
3227
3227
|
try {
|
|
3228
|
-
var b = window.getComputedStyle(
|
|
3228
|
+
var b = window.getComputedStyle(C, 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;
|
|
@@ -3238,19 +3238,19 @@ var o2 = {
|
|
|
3238
3238
|
var d = c.split(","), u = wt(d), f;
|
|
3239
3239
|
try {
|
|
3240
3240
|
for (u.s(); !(f = u.n()).done; ) {
|
|
3241
|
-
var h = f.value,
|
|
3242
|
-
|
|
3241
|
+
var h = f.value, g = this.findSingle(l, h);
|
|
3242
|
+
g && s(g) && t.push(g);
|
|
3243
3243
|
}
|
|
3244
|
-
} catch (
|
|
3245
|
-
u.e(
|
|
3244
|
+
} catch (p) {
|
|
3245
|
+
u.e(p);
|
|
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 (p) {
|
|
3253
|
+
r.e(p);
|
|
3254
3254
|
} finally {
|
|
3255
3255
|
r.f();
|
|
3256
3256
|
}
|
|
@@ -3910,11 +3910,11 @@ 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,
|
|
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, p = g === void 0 ? void 0 : g, C = e.media, b = C === void 0 ? void 0 : C, 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, L = T.id ||
|
|
3917
|
+
var T = L1(L1({}, A), R), x = T.name || h, L = T.id || p, O = T.nonce || Z;
|
|
3918
3918
|
o.value = a.querySelector('style[data-primevue-style-id="'.concat(x, '"]')) || a.getElementById(L) || a.createElement("style"), o.value.isConnected || (i.value = j || n, o2.setAttributes(o.value, {
|
|
3919
3919
|
type: "text/css",
|
|
3920
3920
|
id: L,
|
|
@@ -3930,7 +3930,7 @@ function En(n) {
|
|
|
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: p,
|
|
3934
3934
|
name: h,
|
|
3935
3935
|
css: i,
|
|
3936
3936
|
unload: F,
|
|
@@ -4307,10 +4307,10 @@ var we = {
|
|
|
4307
4307
|
}
|
|
4308
4308
|
},
|
|
4309
4309
|
beforeCreate: function() {
|
|
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,
|
|
4311
|
-
(o =
|
|
4312
|
-
var
|
|
4313
|
-
(d = b ||
|
|
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
|
+
(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 p = (r = this.$config) === null || r === void 0 || (r = r.pt) === null || r === void 0 ? void 0 : r._usept, C = p ? (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 = p ? (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 || C) === 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");
|
|
@@ -4370,8 +4370,8 @@ var we = {
|
|
|
4370
4370
|
_getPTValue: function() {
|
|
4371
4371
|
var e, t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "", o = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, s = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : !0, r = /./g.test(i) && !!o[i.split(".")[0]], a = this._getPropValue("ptOptions") || ((e = this.$config) === null || e === void 0 ? void 0 : e.ptOptions) || {}, l = a.mergeSections, c = l === void 0 ? !0 : l, d = a.mergeProps, u = d === void 0 ? !1 : d, f = s ? r ? this._useGlobalPT(this._getPTClassValue, i, o) : this._useDefaultPT(this._getPTClassValue, i, o) : void 0, h = r ? void 0 : this._getPTSelf(t, this._getPTClassValue, i, c2(c2({}, o), {}, {
|
|
4372
4372
|
global: f || {}
|
|
4373
|
-
})),
|
|
4374
|
-
return c || !c && h ? u ? this._mergeProps(u, f, h,
|
|
4373
|
+
})), g = this._getPTDatasets(i);
|
|
4374
|
+
return c || !c && h ? u ? this._mergeProps(u, f, h, g) : c2(c2(c2({}, f), h), g) : c2(c2({}, h), g);
|
|
4375
4375
|
},
|
|
4376
4376
|
_getPTSelf: function() {
|
|
4377
4377
|
for (var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length, i = new Array(t > 1 ? t - 1 : 0), o = 1; o < t; o++)
|
|
@@ -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(p) {
|
|
4409
|
+
return t(p, 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,
|
|
4806
|
-
global:
|
|
4807
|
-
})),
|
|
4808
|
-
return u || !u &&
|
|
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, p = Q._usePT(i, Q._getPT(o, i.$name), l, s, h2(h2({}, r), {}, {
|
|
4806
|
+
global: g || {}
|
|
4807
|
+
})), C = Q._getPTDatasets(i, s);
|
|
4808
|
+
return u || !u && p ? h ? Q._mergeProps(i, h, g, p, C) : h2(h2(h2({}, g), p), C) : h2(h2({}, p), C);
|
|
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,12 +4823,12 @@ 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(C) {
|
|
4827
|
+
return i(C, o, s);
|
|
4828
4828
|
};
|
|
4829
4829
|
if (t != null && t.hasOwnProperty("_usept")) {
|
|
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),
|
|
4831
|
-
return h === void 0 &&
|
|
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);
|
|
4831
|
+
return h === void 0 && g === void 0 ? void 0 : U.isString(g) ? g : U.isString(h) ? h : d || !d && g ? f ? Q._mergeProps(e, f, h, g) : h2(h2({}, h), g) : g;
|
|
4832
4832
|
}
|
|
4833
4833
|
return r(t);
|
|
4834
4834
|
},
|
|
@@ -4837,13 +4837,13 @@ var Q = {
|
|
|
4837
4837
|
return Q._usePT(e, t, i, o, s);
|
|
4838
4838
|
},
|
|
4839
4839
|
_hook: function(e, t, i, o, s, r) {
|
|
4840
|
-
var a, l, c = "on".concat(U.toCapitalCase(t)), d = Q._getConfig(o, s), u = i == null ? void 0 : i.$instance, f = Q._usePT(u, Q._getPT(o == null || (a = o.value) === null || a === void 0 ? void 0 : a.pt, e), Q._getOptionValue, "hooks.".concat(c)), h = Q._useDefaultPT(u, d == null || (l = d.pt) === null || l === void 0 || (l = l.directives) === null || l === void 0 ? void 0 : l[e], Q._getOptionValue, "hooks.".concat(c)),
|
|
4840
|
+
var a, l, c = "on".concat(U.toCapitalCase(t)), d = Q._getConfig(o, s), u = i == null ? void 0 : i.$instance, f = Q._usePT(u, Q._getPT(o == null || (a = o.value) === null || a === void 0 ? void 0 : a.pt, e), Q._getOptionValue, "hooks.".concat(c)), h = Q._useDefaultPT(u, d == null || (l = d.pt) === null || l === void 0 || (l = l.directives) === null || l === void 0 ? void 0 : l[e], Q._getOptionValue, "hooks.".concat(c)), g = {
|
|
4841
4841
|
el: i,
|
|
4842
4842
|
binding: o,
|
|
4843
4843
|
vnode: s,
|
|
4844
4844
|
prevVnode: r
|
|
4845
4845
|
};
|
|
4846
|
-
f == null || f(u,
|
|
4846
|
+
f == null || f(u, g), h == null || h(u, g);
|
|
4847
4847
|
},
|
|
4848
4848
|
_mergeProps: function() {
|
|
4849
4849
|
for (var e = arguments.length > 1 ? arguments[1] : void 0, t = arguments.length, i = new Array(t > 2 ? t - 2 : 0), o = 2; o < t; o++)
|
|
@@ -4854,7 +4854,7 @@ var Q = {
|
|
|
4854
4854
|
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, i = function(s, r, a, l, c) {
|
|
4855
4855
|
var d, u;
|
|
4856
4856
|
r._$instances = r._$instances || {};
|
|
4857
|
-
var f = Q._getConfig(a, l), h = r._$instances[e] || {},
|
|
4857
|
+
var f = Q._getConfig(a, l), h = r._$instances[e] || {}, g = U.isEmpty(h) ? h2(h2({}, t), t == null ? void 0 : t.methods) : {};
|
|
4858
4858
|
r._$instances[e] = h2(h2({}, h), {}, {
|
|
4859
4859
|
/* new instance variables to pass in directive methods */
|
|
4860
4860
|
$name: e,
|
|
@@ -4872,33 +4872,33 @@ 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(C) {
|
|
4876
4876
|
var b;
|
|
4877
|
-
return
|
|
4877
|
+
return C == null || (b = C.directives) === null || b === void 0 ? void 0 : b[e];
|
|
4878
4878
|
});
|
|
4879
4879
|
},
|
|
4880
4880
|
isUnstyled: function() {
|
|
4881
|
-
var
|
|
4882
|
-
return ((
|
|
4881
|
+
var C, b;
|
|
4882
|
+
return ((C = r.$instance) === null || C === void 0 || (C = C.$binding) === null || C === void 0 || (C = C.value) === null || C === void 0 ? void 0 : C.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 C, 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, (C = r.$instance) === null || C === void 0 || (C = C.$binding) === null || C === void 0 || (C = C.value) === null || C === void 0 ? void 0 : C.pt, b, h2({}, w));
|
|
4888
4888
|
},
|
|
4889
4889
|
ptmo: function() {
|
|
4890
|
-
var
|
|
4891
|
-
return Q._getPTValue(r.$instance,
|
|
4890
|
+
var C = 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, C, b, w, !1);
|
|
4892
4892
|
},
|
|
4893
4893
|
cx: function() {
|
|
4894
|
-
var
|
|
4895
|
-
return (
|
|
4894
|
+
var C, b, w = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", Z = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
4895
|
+
return (C = r.$instance) !== null && C !== void 0 && C.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 C, 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((C = r.$instance) === null || C === void 0 || (C = C.$style) === null || C === void 0 ? void 0 : C.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
|
};
|
|
4903
4903
|
return {
|
|
4904
4904
|
created: function(s, r, a, l) {
|
|
@@ -5281,24 +5281,24 @@ 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
|
|
5284
|
+
var g, p;
|
|
5285
5285
|
return [
|
|
5286
5286
|
u.headline ? (m(), v("h3", {
|
|
5287
5287
|
key: 0,
|
|
5288
|
-
class: M(`accordion-module-headline ${((
|
|
5288
|
+
class: M(`accordion-module-headline ${((g = o.value) == null ? void 0 : g.headline) ?? ""} text-${y(r).headline}`),
|
|
5289
5289
|
innerHTML: u.headline
|
|
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 ${((p = o.value) == null ? void 0 : p.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, (C, b) => (m(), v(q, {
|
|
5296
|
+
key: `${C.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
|
+
}, C, {
|
|
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, p, C,
|
|
5371
|
+
var u, f, h, g, p, C, b, w;
|
|
5372
5372
|
return c.isListType ? (m(), v("div", {
|
|
5373
5373
|
key: 0,
|
|
5374
5374
|
class: M({
|
|
@@ -5412,7 +5412,7 @@ const Xo = ["innerHTML"], ge = /* @__PURE__ */ t2({
|
|
|
5412
5412
|
], 10, Go),
|
|
5413
5413
|
$("div", {
|
|
5414
5414
|
id: `accordion-collapse-body-${c.itemNumber}`,
|
|
5415
|
-
class: M(`accordion-item-body ${o.value ? "show" : "hidden"} ${((
|
|
5415
|
+
class: M(`accordion-item-body ${o.value ? "show" : "hidden"} ${((g = i.value) == null ? void 0 : g.bodyCopy) ?? ""}`),
|
|
5416
5416
|
"aria-labelledby": `accordion-collapse-heading-${c.itemNumber}`
|
|
5417
5417
|
}, [
|
|
5418
5418
|
r.value ? (m(), D(ge, x0(B({ key: 0 }, r.value)), null, 16)) : (m(), v(q, { key: 1 }, [
|
|
@@ -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 ${((p = i.value) == null ? void 0 : p.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 ${((C = i.value) == null ? void 0 : C.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}`,
|
|
@@ -5519,25 +5519,25 @@ function us(n, e, t = {}) {
|
|
|
5519
5519
|
window: r = Wn,
|
|
5520
5520
|
immediate: a = !0
|
|
5521
5521
|
} = t, l = ds(() => r && "IntersectionObserver" in r), c = k(() => {
|
|
5522
|
-
const
|
|
5523
|
-
return (Array.isArray(
|
|
5522
|
+
const g = d0(n);
|
|
5523
|
+
return (Array.isArray(g) ? g : [g]).map($t).filter(Vn);
|
|
5524
5524
|
});
|
|
5525
5525
|
let d = u0;
|
|
5526
5526
|
const u = e2(a), f = l.value ? G2(
|
|
5527
5527
|
() => [c.value, $t(i), u.value],
|
|
5528
|
-
([
|
|
5529
|
-
if (d(), !u.value || !
|
|
5528
|
+
([g, p]) => {
|
|
5529
|
+
if (d(), !u.value || !g.length)
|
|
5530
5530
|
return;
|
|
5531
|
-
const
|
|
5531
|
+
const C = new IntersectionObserver(
|
|
5532
5532
|
e,
|
|
5533
5533
|
{
|
|
5534
|
-
root: $t(
|
|
5534
|
+
root: $t(p),
|
|
5535
5535
|
rootMargin: o,
|
|
5536
5536
|
threshold: s
|
|
5537
5537
|
}
|
|
5538
5538
|
);
|
|
5539
|
-
|
|
5540
|
-
|
|
5539
|
+
g.forEach((b) => b && C.observe(b)), d = () => {
|
|
5540
|
+
C.disconnect(), d = u0;
|
|
5541
5541
|
};
|
|
5542
5542
|
},
|
|
5543
5543
|
{ immediate: a, flush: "post" }
|
|
@@ -5731,7 +5731,7 @@ const hs = /* @__PURE__ */ t2({
|
|
|
5731
5731
|
startOpen: !1
|
|
5732
5732
|
});
|
|
5733
5733
|
return (a, l) => {
|
|
5734
|
-
var c, d, u, f, h,
|
|
5734
|
+
var c, d, u, f, h, g;
|
|
5735
5735
|
return m(), v("div", {
|
|
5736
5736
|
class: M({
|
|
5737
5737
|
[`${((c = t.value) == null ? void 0 : c.root) ?? ""}`]: !0,
|
|
@@ -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((p) => o.value = !o.value, ["prevent"]))
|
|
5762
5762
|
}, [
|
|
5763
5763
|
$("span", null, Y(a.headline), 1),
|
|
5764
5764
|
$("div", {
|
|
@@ -5779,7 +5779,7 @@ const hs = /* @__PURE__ */ t2({
|
|
|
5779
5779
|
], 10, gs),
|
|
5780
5780
|
$("div", {
|
|
5781
5781
|
id: `accordion-collapse-body-${a.itemNumber}`,
|
|
5782
|
-
class: M(`accordion-item-body text-${y(i).copy} ${o.value ? "active" : "hidden"} ${((
|
|
5782
|
+
class: M(`accordion-item-body text-${y(i).copy} ${o.value ? "active" : "hidden"} ${((g = t.value) == null ? void 0 : g.bodyCopy) ?? ""}`),
|
|
5783
5783
|
"aria-labelledby": `accordion-collapse-heading-${a.itemNumber}`
|
|
5784
5784
|
}, [
|
|
5785
5785
|
r.value ? (m(), D(ge, x0(B({ key: 0 }, r.value)), null, 16)) : (m(), v("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, p, C,
|
|
5843
|
+
var f, h, g, p, C, b, w, Z, S, A;
|
|
5844
5844
|
return m(), v("div", {
|
|
5845
5845
|
class: M({
|
|
5846
5846
|
[`accordion-item-${d.itemNumber}`]: !0,
|
|
@@ -5855,14 +5855,14 @@ const hs = /* @__PURE__ */ t2({
|
|
|
5855
5855
|
}, [
|
|
5856
5856
|
$("div", {
|
|
5857
5857
|
id: `accordion-collapse-headline-${d.itemNumber}`,
|
|
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-${(
|
|
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: `${((p = i.value) == null ? void 0 : p.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 ${((C = i.value) == null ? void 0 : C.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",
|
|
@@ -6787,13 +6788,13 @@ const f6 = ["innerHTML"], p6 = {
|
|
|
6787
6788
|
if (!s.value)
|
|
6788
6789
|
return "";
|
|
6789
6790
|
const x = [];
|
|
6790
|
-
return
|
|
6791
|
-
}), d = k(() => s.value &&
|
|
6791
|
+
return p === "ContentModule" && C === "Image" && x.push("lg:flex lg:items-center lg:z-10"), p !== "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 && C !== "Image" ? "py-16 lg:pr-16 lg:pl-0 px-12" : s.value && C === "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 && C === "Image" ? "md:absolute md:right-0 md:top-0 md:h-full md:w-1/2" : ""), u = k(() => {
|
|
6792
6793
|
var x, L, O, H;
|
|
6793
6794
|
return N(
|
|
6794
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] ${(L = o.value) == null ? void 0 : L.container}` : `${(O = o.value) == null ? void 0 : O.container}` : ""} `,
|
|
6795
6796
|
a.value ? `${(H = o.value) == null ? void 0 : H.container}` : "",
|
|
6796
|
-
s.value &&
|
|
6797
|
+
s.value && p === "ContentModule" && C === "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
|
);
|
|
@@ -6804,10 +6805,10 @@ const f6 = ["innerHTML"], p6 = {
|
|
|
6804
6805
|
var L, O;
|
|
6805
6806
|
let x = JSON.parse(JSON.stringify(e.backgroundImage));
|
|
6806
6807
|
return x != null && x.media.width && (x.media.width = void 0), x != null && x.media.height && (x.media.height = void 0), (L = x == null ? void 0 : x.mobileMedia) != null && L.width && (x.mobileMedia.width = void 0), (O = x == null ? void 0 : x.mobileMedia) != null && O.height && (x.mobileMedia.height = void 0), x;
|
|
6807
|
-
}),
|
|
6808
|
+
}), g = ((I = e.fullWidthContent) == null ? void 0 : I.__typename) === "TileContent" ? "TileContentTextTile" : (F = e.fullWidthContent) == null ? void 0 : F.__typename, p = ((E = e.start) == null ? void 0 : E.__typename) === "TileContent" ? "TileContentTextTile" : (j = e.start) == null ? void 0 : j.__typename, C = ((R = e.end) == null ? void 0 : R.__typename) === "TileContent" ? "TileContentTextTile" : (T = e.end) == null ? void 0 : T.__typename, b = (x) => {
|
|
6808
6809
|
const L = x;
|
|
6809
6810
|
return L == null ? void 0 : L.backgroundColor;
|
|
6810
|
-
}, w =
|
|
6811
|
+
}, w = g === "TileCollectionModule" || p === "TileCollectionModule" || C === "TileCollectionModule", Z = k(() => {
|
|
6811
6812
|
var x, L;
|
|
6812
6813
|
return ((x = e.end) == null ? void 0 : x.__typename) === "Image" || ((L = e.end) == null ? void 0 : L.__typename) === "Video";
|
|
6813
6814
|
}), S = k(() => {
|
|
@@ -6818,7 +6819,7 @@ const f6 = ["innerHTML"], p6 = {
|
|
|
6818
6819
|
var z, G, X, M2;
|
|
6819
6820
|
const x = ((z = e.start) == null ? void 0 : z.__typename) === "Accordion", L = ((G = e.end) == null ? void 0 : G.__typename) === "Accordion", O = ((X = e.start) == null ? void 0 : X.__typename) === "TileCollectionModule", H = ((M2 = e.end) == null ? void 0 : M2.__typename) === "TileCollectionModule";
|
|
6820
6821
|
return x && L ? "basis-2/3 md:pl-8" : L ? "basis-2/3 md:pl-16" : x ? "basis-1/3" : O ? "lg:basis-2/5" : H ? "lg:basis-3/5" : "basis-1/2";
|
|
6821
|
-
}), P = k(() => a.value &&
|
|
6822
|
+
}), P = k(() => a.value && C === "Image" ? "h-full w-full object-cover object-right" : s.value && C === "Image" ? "max-h-[500px] lg:max-h-none lg:h-full w-full object-cover" : "");
|
|
6822
6823
|
return (x, L) => {
|
|
6823
6824
|
const O = A2;
|
|
6824
6825
|
return m(), D(m2(x.isChild ? "div" : "section"), {
|
|
@@ -6858,10 +6859,10 @@ const f6 = ["innerHTML"], p6 = {
|
|
|
6858
6859
|
key: 0,
|
|
6859
6860
|
class: M(`container-module-full-width-content ${((M2 = o.value) == null ? void 0 : M2.fullWidthContent) ?? ""} ${r.value ? "mx-auto" : ""}`)
|
|
6860
6861
|
}, [
|
|
6861
|
-
y(
|
|
6862
|
+
y(g) ? (m(), D(m2(y(g)), B({ key: 0 }, x.fullWidthContent, {
|
|
6862
6863
|
"is-child": !0,
|
|
6863
6864
|
"use-child-headline": !!x.headline,
|
|
6864
|
-
"is-hero": !!(y(
|
|
6865
|
+
"is-hero": !!(y(g) === "ContentModule" && s.value),
|
|
6865
6866
|
"background-color": b(x.fullWidthContent),
|
|
6866
6867
|
"parent-background-color": y(t),
|
|
6867
6868
|
"parent-has-background-image": !!x.backgroundImage
|
|
@@ -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(p) === "Image" ? "" : a.value ? "p-8 md:p-12 lg:p-16 flex items-center" : ""}`)
|
|
6873
6874
|
}, [
|
|
6874
|
-
y(
|
|
6875
|
+
y(p) ? (m(), D(m2(y(p)), 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(p) === "ContentModule" && s.value && !a.value),
|
|
6879
|
+
"is-feature": !!(y(p) === "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(p) === "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(C) === "Image" ? "" : a.value ? "p-8 md:p-12 lg:p-16 flex items-center" : ""}`)
|
|
6887
6888
|
}, [
|
|
6888
|
-
y(
|
|
6889
|
+
y(C) ? (m(), D(m2(y(C)), 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(C) === "ContentModule" && s.value && !a.value),
|
|
6893
|
+
"is-feature": !!(y(C) === "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(C) === "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))
|
|
@@ -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 p;
|
|
6966
|
+
return ((p = r == null ? void 0 : r.cta) == null ? void 0 : p[t.buttonType]) || {
|
|
6966
6967
|
copy: "soil",
|
|
6967
6968
|
bg: "lily"
|
|
6968
6969
|
};
|
|
6969
6970
|
}), l = k(() => {
|
|
6970
|
-
var
|
|
6971
|
-
const
|
|
6971
|
+
var C;
|
|
6972
|
+
const p = [
|
|
6972
6973
|
"cta whitespace-nowrap",
|
|
6973
|
-
N(((
|
|
6974
|
+
N(((C = o.value) == null ? void 0 : C.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") && p.push("hover:underline"), p.push(`text-${t.textColor ?? a.value.copy}`), t.size)
|
|
6976
6977
|
switch (t.size) {
|
|
6977
6978
|
case "sm":
|
|
6978
|
-
|
|
6979
|
+
p.push("*:text-sm"), t.buttonType === "fill" && p.push("py-0.5 px-4");
|
|
6979
6980
|
break;
|
|
6980
6981
|
case "lg":
|
|
6981
|
-
|
|
6982
|
+
p.push("*:text-lg font-bold"), t.buttonType === "fill" && p.push("py-1.5 px-8");
|
|
6982
6983
|
break;
|
|
6983
6984
|
case "xl":
|
|
6984
|
-
|
|
6985
|
+
p.push("*:text-xl font-bold"), t.buttonType === "fill" && p.push("py-2 px-12");
|
|
6985
6986
|
break;
|
|
6986
6987
|
case "xxl":
|
|
6987
|
-
|
|
6988
|
+
p.push("*:text-3xl font-bold"), t.buttonType === "fill" && p.push("py-2 px-16");
|
|
6988
6989
|
break;
|
|
6989
6990
|
}
|
|
6990
|
-
return t.buttonType === "fill" && (
|
|
6991
|
+
return t.buttonType === "fill" && (p.push("rounded-[2rem]"), (t.color || a.value.bg) && p.push(`bg-${t.color || a.value.bg}`), t.size || p.push("py-1 px-4")), t.buttonType !== "outline" && a.value.border && p.push(`border-${t.color ?? a.value.border}`), p.join(" ");
|
|
6991
6992
|
}), c = k(() => {
|
|
6992
|
-
var
|
|
6993
|
-
return (
|
|
6993
|
+
var p, C, b, w, Z, S;
|
|
6994
|
+
return (C = (p = t.link) == null ? void 0 : p.page) != null && C.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 p;
|
|
6997
|
+
return !!((p = t.link) != null && p.externalUrl);
|
|
6997
6998
|
}), u = k(() => {
|
|
6998
|
-
var
|
|
6999
|
-
return t.ariaLabel ?? ((
|
|
6999
|
+
var p;
|
|
7000
|
+
return t.ariaLabel ?? ((p = t.link) == null ? void 0 : p.ariaLabel) ?? t.title;
|
|
7000
7001
|
}), f = k(() => {
|
|
7001
|
-
var
|
|
7002
|
-
return (
|
|
7002
|
+
var p, C;
|
|
7003
|
+
return (p = t.ctaAction) != null && p.ariaDescription ? t.ctaAction.ariaDescription : t.ariaDescription ?? ((C = t.link) == null ? void 0 : C.ariaDescription) ?? "";
|
|
7003
7004
|
}), h = k(() => {
|
|
7004
|
-
var
|
|
7005
|
-
return d.value ? (
|
|
7006
|
-
}),
|
|
7007
|
-
var
|
|
7008
|
-
(
|
|
7005
|
+
var p;
|
|
7006
|
+
return d.value ? (p = t.link) == null ? void 0 : p.thirdPartyId : void 0;
|
|
7007
|
+
}), g = () => {
|
|
7008
|
+
var p;
|
|
7009
|
+
(p = t.ctaAction) != null && p.triggerMappingValue && i("trigger", t.ctaAction.triggerMappingValue), t.onClick && t.onClick();
|
|
7009
7010
|
};
|
|
7010
|
-
return (
|
|
7011
|
+
return (p, C) => {
|
|
7011
7012
|
var w;
|
|
7012
7013
|
const b = A2;
|
|
7013
7014
|
return m(), D(m2("a"), {
|
|
@@ -7018,32 +7019,32 @@ const u1 = (n, e) => {
|
|
|
7018
7019
|
target: y(u1)(t.target || ((w = t.link) == null ? void 0 : w.target), t.link),
|
|
7019
7020
|
rel: d.value ? "noopener" : "",
|
|
7020
7021
|
class: M(t.class),
|
|
7021
|
-
onClick:
|
|
7022
|
+
onClick: g
|
|
7022
7023
|
}, {
|
|
7023
7024
|
default: u2(() => [
|
|
7024
7025
|
F2(y(ht), {
|
|
7025
7026
|
class: M(l.value),
|
|
7026
7027
|
link: s.value,
|
|
7027
|
-
onClick:
|
|
7028
|
+
onClick: g
|
|
7028
7029
|
}, {
|
|
7029
7030
|
default: u2(() => {
|
|
7030
7031
|
var Z, S, A;
|
|
7031
7032
|
return [
|
|
7032
7033
|
$("div", b6, [
|
|
7033
|
-
|
|
7034
|
+
p.logo ? (m(), v("div", {
|
|
7034
7035
|
key: 0,
|
|
7035
|
-
class: M(`flex items-center ${
|
|
7036
|
+
class: M(`flex items-center ${p.buttonType === "logo" ? (Z = o.value) == null ? void 0 : Z.logo : ""} ${p.buttonType === "logo" ? `bg-${t.textColor ?? a.value.copy}` : ""}`)
|
|
7036
7037
|
}, [
|
|
7037
|
-
typeof
|
|
7038
|
+
typeof p.logo == "object" ? (m(), D(b, x0(B({ key: 0 }, p.logo)), null, 16)) : typeof p.logo == "string" ? (m(), v("div", {
|
|
7038
7039
|
key: 1,
|
|
7039
|
-
class: M(y(N)(
|
|
7040
|
+
class: M(y(N)(p.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(p.title), 3)
|
|
7047
7048
|
])
|
|
7048
7049
|
];
|
|
7049
7050
|
}),
|
|
@@ -7069,6 +7070,7 @@ const u1 = (n, e) => {
|
|
|
7069
7070
|
logo: {},
|
|
7070
7071
|
isHero: { type: Boolean, default: !1 },
|
|
7071
7072
|
alignment: { default: E2.Left },
|
|
7073
|
+
bodyCopyAlignment: {},
|
|
7072
7074
|
isChild: { type: Boolean },
|
|
7073
7075
|
useChildHeadline: { type: Boolean },
|
|
7074
7076
|
parentHasBackgroundImage: { type: Boolean, default: !1 },
|
|
@@ -7090,19 +7092,19 @@ const u1 = (n, e) => {
|
|
|
7090
7092
|
p = "justify-start";
|
|
7091
7093
|
}
|
|
7092
7094
|
return p;
|
|
7093
|
-
}), r = k(
|
|
7095
|
+
}), r = k(() => e.bodyCopyAlignment ? `text-${e.bodyCopyAlignment.toLowerCase()}` : o.value), a = k(
|
|
7094
7096
|
() => {
|
|
7095
7097
|
var p, C;
|
|
7096
7098
|
return `${((p = i.value) == null ? void 0 : p.logo) ?? ""} ${((C = e == null ? void 0 : e.logo) == null ? void 0 : C.class) ?? ""} max-w-[50%]`;
|
|
7097
7099
|
}
|
|
7098
|
-
), { backgroundColor:
|
|
7100
|
+
), { backgroundColor: l, palette: c } = C2({
|
|
7099
7101
|
...e,
|
|
7100
7102
|
backgroundColor: e.backgroundColor || e.parentBackgroundColor
|
|
7101
|
-
}),
|
|
7103
|
+
}), d = k(() => {
|
|
7102
7104
|
var C;
|
|
7103
7105
|
const p = [
|
|
7104
|
-
`content-module-headline ${
|
|
7105
|
-
`text-${
|
|
7106
|
+
`content-module-headline ${h ? "" : "max-w-[30ch]"} ${t === E2.Center ? "mx-auto" : t === E2.Right ? "ml-auto" : ""}`,
|
|
7107
|
+
`text-${c.headline}`,
|
|
7106
7108
|
N(((C = i == null ? void 0 : i.value) == null ? void 0 : C.headline) ?? "", o.value)
|
|
7107
7109
|
];
|
|
7108
7110
|
return e.isHero && e.isChild ? p.push(
|
|
@@ -7114,74 +7116,74 @@ const u1 = (n, e) => {
|
|
|
7114
7116
|
) : p.push(
|
|
7115
7117
|
"text-[27px] leading-[27px] md:text-[48px] md:leading-[48px]"
|
|
7116
7118
|
), p.join(" ");
|
|
7117
|
-
}),
|
|
7119
|
+
}), u = k(() => {
|
|
7118
7120
|
var C;
|
|
7119
7121
|
return [
|
|
7120
7122
|
`content-module-subheadline text-[17px] md:text-[22px] ${t === E2.Center ? "mx-auto" : t === E2.Right ? "ml-auto" : ""}`,
|
|
7121
|
-
`text-${
|
|
7123
|
+
`text-${c.subheadline}`,
|
|
7122
7124
|
N(((C = i == null ? void 0 : i.value) == null ? void 0 : C.subheadline) ?? "", o.value)
|
|
7123
7125
|
].join(" ");
|
|
7124
|
-
}),
|
|
7126
|
+
}), f = k(() => e.headline ? e.headline.replace(/<[^>]*>/g, "").trim().length > 0 : !1), h = t === E2.Inline, g = k(() => {
|
|
7125
7127
|
const p = e.bodyCopy || e.ctas || e.image;
|
|
7126
|
-
return
|
|
7128
|
+
return h ? "space-y-[10px]" : `space-y-[10px] ${p ? "mb-6" : ""}`;
|
|
7127
7129
|
});
|
|
7128
7130
|
return (p, C) => {
|
|
7129
|
-
var
|
|
7131
|
+
var b, w, Z, S, A, P;
|
|
7130
7132
|
return m(), v("div", {
|
|
7131
|
-
class: M(`content-module ${p.isChild ? "" : "p-8 md:p-16"} ${((
|
|
7133
|
+
class: M(`content-module ${p.isChild ? "" : "p-8 md:p-16"} ${((b = i.value) == null ? void 0 : b.root) ?? ""} ${e.class ?? ""} ${!e.parentHasBackgroundImage && (e.backgroundColor || !p.isChild) ? `bg-${y(l)}` : ""}`)
|
|
7132
7134
|
}, [
|
|
7133
7135
|
$("div", {
|
|
7134
|
-
class: M(`content-module-container mx-auto ${((
|
|
7136
|
+
class: M(`content-module-container mx-auto ${((w = i.value) == null ? void 0 : w.container) ?? ""} ${y(t) === y(E2).Inline ? "flex flex-col md:flex-row justify-between items-center md:gap-4" : ""}`)
|
|
7135
7137
|
}, [
|
|
7136
|
-
p.logo ? (m(), D(A2, B({ key: 0 }, p.logo, { class:
|
|
7137
|
-
|
|
7138
|
+
p.logo ? (m(), D(A2, B({ key: 0 }, p.logo, { class: a.value }), null, 16, ["class"])) : _("", !0),
|
|
7139
|
+
f.value || p.subHeadline ? (m(), v("div", {
|
|
7138
7140
|
key: 1,
|
|
7139
|
-
class: M(
|
|
7141
|
+
class: M(g.value)
|
|
7140
7142
|
}, [
|
|
7141
7143
|
p.subHeadline && !p.isHero ? (m(), v("h6", {
|
|
7142
7144
|
key: 0,
|
|
7143
|
-
class: M(
|
|
7145
|
+
class: M(u.value)
|
|
7144
7146
|
}, Y(p.subHeadline), 3)) : _("", !0),
|
|
7145
|
-
|
|
7147
|
+
f.value ? (m(), v("div", y6, [
|
|
7146
7148
|
p.isHero ? (m(), v("h1", {
|
|
7147
7149
|
key: 0,
|
|
7148
|
-
class: M(
|
|
7150
|
+
class: M(d.value),
|
|
7149
7151
|
innerHTML: p.headline
|
|
7150
7152
|
}, null, 10, v6)) : p.useChildHeadline ? (m(), v("h3", {
|
|
7151
7153
|
key: 1,
|
|
7152
|
-
class: M(
|
|
7154
|
+
class: M(d.value),
|
|
7153
7155
|
innerHTML: p.headline
|
|
7154
7156
|
}, null, 10, M6)) : (m(), v("h2", {
|
|
7155
7157
|
key: 2,
|
|
7156
|
-
class: M(
|
|
7158
|
+
class: M(d.value),
|
|
7157
7159
|
innerHTML: p.headline
|
|
7158
7160
|
}, null, 10, x6))
|
|
7159
7161
|
])) : _("", !0),
|
|
7160
7162
|
p.subHeadline && p.isHero ? (m(), v("h6", {
|
|
7161
7163
|
key: 2,
|
|
7162
|
-
class: M(
|
|
7164
|
+
class: M(u.value)
|
|
7163
7165
|
}, Y(p.subHeadline), 3)) : _("", !0)
|
|
7164
7166
|
], 2)) : _("", !0),
|
|
7165
7167
|
p.bodyCopy ? (m(), v("div", {
|
|
7166
7168
|
key: 2,
|
|
7167
|
-
class: M(`content-module-body-copy text-[17px] text-${y(
|
|
7169
|
+
class: M(`content-module-body-copy text-[17px] text-${y(c).copy} ${p.isHero ? "lg:max-w-[80%]" : ""} ${y(N)(((Z = i.value) == null ? void 0 : Z.bodyCopy) ?? "", r.value)}`),
|
|
7168
7170
|
style: k2({
|
|
7169
|
-
"--copy-accent-color": `var(--${y(
|
|
7170
|
-
"--bullet-color": `var(--${y(
|
|
7171
|
+
"--copy-accent-color": `var(--${y(c).copyAccent})`,
|
|
7172
|
+
"--bullet-color": `var(--${y(c).bullet})`
|
|
7171
7173
|
}),
|
|
7172
7174
|
innerHTML: p.bodyCopy
|
|
7173
7175
|
}, null, 14, w6)) : _("", !0),
|
|
7174
7176
|
p.image ? (m(), D(A2, B({ key: 3 }, p.image, {
|
|
7175
|
-
class: `content-module-image ${y(N)(((
|
|
7177
|
+
class: `content-module-image ${y(N)(((S = i.value) == null ? void 0 : S.image) ?? "", o.value)} ${((A = p.image) == null ? void 0 : A.class) ?? ""}`
|
|
7176
7178
|
}), null, 16, ["class"])) : _("", !0),
|
|
7177
7179
|
p.ctas ? (m(), v("div", {
|
|
7178
7180
|
key: 4,
|
|
7179
|
-
class: M(`content-module-ctas flex flex-wrap items-center gap-4 ${p.isHero ? "justify-center lg:justify-start" : s.value} ${y(N)(((
|
|
7181
|
+
class: M(`content-module-ctas flex flex-wrap items-center gap-4 ${p.isHero ? "justify-center lg:justify-start" : s.value} ${y(N)(((P = i.value) == null ? void 0 : P.ctas) ?? "", o.value, h ? "md:mt-0" : "")}`)
|
|
7180
7182
|
}, [
|
|
7181
|
-
(m(!0), v(q, null, n2(p.ctas, (
|
|
7182
|
-
key: `cta-${
|
|
7183
|
+
(m(!0), v(q, null, n2(p.ctas, (I, F) => (m(), D(D2, B({ ref_for: !0 }, I, {
|
|
7184
|
+
key: `cta-${I.title}-${F}`,
|
|
7183
7185
|
class: `content-module-cta ${p.isHero ? "w-auto justify-center" : ""}`,
|
|
7184
|
-
"background-color": y(
|
|
7186
|
+
"background-color": y(l)
|
|
7185
7187
|
}), null, 16, ["class", "background-color"]))), 128))
|
|
7186
7188
|
], 2)) : _("", !0)
|
|
7187
7189
|
], 2)
|
|
@@ -7255,41 +7257,41 @@ const Z6 = {
|
|
|
7255
7257
|
return (f = e.link) != null && f.externalUrl ? (h = e.link) == null ? void 0 : h.thirdPartyId : void 0;
|
|
7256
7258
|
}
|
|
7257
7259
|
), r = k(() => {
|
|
7258
|
-
var f, h, p, C,
|
|
7259
|
-
return (h = (f = e.link) == null ? void 0 : f.page) != null && h.slug ? `${(
|
|
7260
|
+
var f, h, g, p, C, b;
|
|
7261
|
+
return (h = (f = e.link) == null ? void 0 : f.page) != null && h.slug ? `${(p = (g = e.link) == null ? void 0 : g.page) == null ? void 0 : p.slug}` : (C = e.link) != null && C.externalUrl ? (b = e.link) == null ? void 0 : b.externalUrl : "";
|
|
7260
7262
|
}), a = k(() => {
|
|
7261
|
-
var f, h,
|
|
7262
|
-
return (h = (f = e.link) == null ? void 0 : f.page) != null && h.slug || (
|
|
7263
|
+
var f, h, g;
|
|
7264
|
+
return (h = (f = e.link) == null ? void 0 : f.page) != null && h.slug || (g = e.link) != null && g.externalUrl ? "a" : "button";
|
|
7263
7265
|
}), l = k(() => o0[e.elementType ?? "header"]), c = e2(!1), d = k(
|
|
7264
7266
|
() => `relative py-2 md:py-0 ${e.class ?? ""} ${e.isChild ? "sub-" : ""}navigation-element`
|
|
7265
7267
|
), u = () => {
|
|
7266
7268
|
c.value = !c.value;
|
|
7267
7269
|
};
|
|
7268
7270
|
return (f, h) => {
|
|
7269
|
-
const
|
|
7271
|
+
const g = jt("NavigationElement", !0);
|
|
7270
7272
|
return m(), D(m2(f.isChild ? "li" : "div"), {
|
|
7271
7273
|
class: M(d.value)
|
|
7272
7274
|
}, {
|
|
7273
7275
|
default: u2(() => {
|
|
7274
|
-
var
|
|
7276
|
+
var p;
|
|
7275
7277
|
return [
|
|
7276
7278
|
l.value === y(o0).header || f.isChild && (r.value || f.subNavigation) ? (m(), D(m2(a.value), {
|
|
7277
7279
|
key: 0,
|
|
7278
7280
|
id: s.value,
|
|
7279
7281
|
href: r.value ?? "",
|
|
7280
|
-
target: e.link ? y(u1)((
|
|
7282
|
+
target: e.link ? y(u1)((p = e.link) == null ? void 0 : p.target, e.link) : "_self",
|
|
7281
7283
|
class: M(`flex leading-tight items-center hover:underline cursor-pointer text-${y(o).copy} ${l.value === y(o0).header ? "whitespace-nowrap" : ""}`),
|
|
7282
7284
|
"aria-expanded": a.value === "button" ? !0 : void 0,
|
|
7283
7285
|
"aria-haspopup": a.value === "button" ? !0 : void 0,
|
|
7284
7286
|
onClick: u
|
|
7285
7287
|
}, {
|
|
7286
7288
|
default: u2(() => {
|
|
7287
|
-
var
|
|
7289
|
+
var C;
|
|
7288
7290
|
return [
|
|
7289
7291
|
F0(Y(f.title) + " ", 1),
|
|
7290
7292
|
!f.isChild && f.subNavigation && !(r.value || f.isChild) ? (m(), v("div", {
|
|
7291
7293
|
key: 0,
|
|
7292
|
-
class: M((
|
|
7294
|
+
class: M((C = t.value) == null ? void 0 : C.icon)
|
|
7293
7295
|
}, [
|
|
7294
7296
|
T2($("i", Z6, null, 512), [
|
|
7295
7297
|
[z2, !c.value]
|
|
@@ -7317,13 +7319,13 @@ const Z6 = {
|
|
|
7317
7319
|
"aria-labelledby": "menu-button",
|
|
7318
7320
|
tabindex: "-1"
|
|
7319
7321
|
}, [
|
|
7320
|
-
(m(!0), v(q, null, n2(f.subNavigation, (
|
|
7321
|
-
key:
|
|
7322
|
+
(m(!0), v(q, null, n2(f.subNavigation, (C, b) => (m(), D(g, B({
|
|
7323
|
+
key: C.title,
|
|
7322
7324
|
class: ["ms-3 sm:ms-0", `sub-navigation-element-item-${b}`],
|
|
7323
7325
|
role: "menuitem",
|
|
7324
7326
|
tabindex: "-1",
|
|
7325
7327
|
ref_for: !0
|
|
7326
|
-
}, { ...
|
|
7328
|
+
}, { ...C, elementType: f.elementType, isChild: !0, backgroundColor: y(i) }), null, 16, ["class"]))), 128))
|
|
7327
7329
|
], 2)) : _("", !0),
|
|
7328
7330
|
f.htmlRef ? (m(), v("div", {
|
|
7329
7331
|
key: 3,
|
|
@@ -7624,25 +7626,25 @@ const Z6 = {
|
|
|
7624
7626
|
return (f, h) => (m(), v("header", W6, [
|
|
7625
7627
|
$("div", U6, [
|
|
7626
7628
|
c.value.length > 0 || d.value.length > 0 ? (m(), v("nav", Y6, [
|
|
7627
|
-
(m(!0), v(q, null, n2(c.value, (
|
|
7628
|
-
key: `${
|
|
7629
|
+
(m(!0), v(q, null, n2(c.value, (g, p) => (m(), D(s0, B({
|
|
7630
|
+
key: `${g.title}-${p}`,
|
|
7629
7631
|
role: "menuitem",
|
|
7630
7632
|
tabindex: "-1",
|
|
7631
7633
|
ref_for: !0
|
|
7632
7634
|
}, {
|
|
7633
|
-
...
|
|
7634
|
-
class: `primary-nav-item-${
|
|
7635
|
+
...g,
|
|
7636
|
+
class: `primary-nav-item-${p} ${g.class || ""} ${g.dividerLine ? "md:border-r pr-4 h-full" : ""}`,
|
|
7635
7637
|
isChild: !1,
|
|
7636
7638
|
elementType: "header"
|
|
7637
7639
|
}, {
|
|
7638
|
-
onClick: (
|
|
7640
|
+
onClick: (C) => r("navigation-click", g)
|
|
7639
7641
|
}), null, 16, ["onClick"]))), 128)),
|
|
7640
|
-
(m(!0), v(q, null, n2(d.value, (
|
|
7641
|
-
key:
|
|
7642
|
-
class: ["my-4 sm:my-0",
|
|
7642
|
+
(m(!0), v(q, null, n2(d.value, (g) => (m(), D(D2, B({
|
|
7643
|
+
key: g.title,
|
|
7644
|
+
class: ["my-4 sm:my-0", g.buttonType === "fill" ? "justify-center w-full" : ""],
|
|
7643
7645
|
ref_for: !0
|
|
7644
|
-
},
|
|
7645
|
-
onClick: (
|
|
7646
|
+
}, g, {
|
|
7647
|
+
onClick: (p) => r("cta-click", g)
|
|
7646
7648
|
}), null, 16, ["class", "onClick"]))), 128))
|
|
7647
7649
|
])) : _("", !0)
|
|
7648
7650
|
]),
|
|
@@ -7656,18 +7658,18 @@ const Z6 = {
|
|
|
7656
7658
|
])) : _("", !0),
|
|
7657
7659
|
$("div", G6, [
|
|
7658
7660
|
c.value.length > 0 ? (m(), v("nav", Q6, [
|
|
7659
|
-
(m(!0), v(q, null, n2(c.value, (
|
|
7660
|
-
key: `${
|
|
7661
|
+
(m(!0), v(q, null, n2(c.value, (g, p) => (m(), D(s0, B({
|
|
7662
|
+
key: `${g.title}-${p}`,
|
|
7661
7663
|
role: "menuitem",
|
|
7662
7664
|
tabindex: "-1",
|
|
7663
7665
|
ref_for: !0
|
|
7664
7666
|
}, {
|
|
7665
|
-
...
|
|
7666
|
-
class: `h-full primary-nav-item-${
|
|
7667
|
+
...g,
|
|
7668
|
+
class: `h-full primary-nav-item-${p} ${g.class || ""} ${g.dividerLine ? "md:border-r pr-4" : ""}`,
|
|
7667
7669
|
isChild: !1,
|
|
7668
7670
|
elementType: "header"
|
|
7669
7671
|
}, {
|
|
7670
|
-
onClick: (
|
|
7672
|
+
onClick: (C) => r("navigation-click", g)
|
|
7671
7673
|
}), null, 16, ["onClick"]))), 128))
|
|
7672
7674
|
])) : _("", !0),
|
|
7673
7675
|
$("button", {
|
|
@@ -7675,7 +7677,7 @@ const Z6 = {
|
|
|
7675
7677
|
class: "block",
|
|
7676
7678
|
"aria-label": i.value ? "Close menu" : "Open menu",
|
|
7677
7679
|
"aria-expanded": i.value,
|
|
7678
|
-
onClick: h[0] || (h[0] = (
|
|
7680
|
+
onClick: h[0] || (h[0] = (g) => i.value = !i.value)
|
|
7679
7681
|
}, [
|
|
7680
7682
|
(m(), v("svg", {
|
|
7681
7683
|
class: M(`h-6 w-6 fill-${y(s).copy}`),
|
|
@@ -7691,45 +7693,45 @@ const Z6 = {
|
|
|
7691
7693
|
key: 0,
|
|
7692
7694
|
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"])
|
|
7693
7695
|
}, [
|
|
7694
|
-
(m(!0), v(q, null, n2(u.value, (
|
|
7695
|
-
key: `mobile-${
|
|
7696
|
+
(m(!0), v(q, null, n2(u.value, (g, p) => (m(), D(s0, B({
|
|
7697
|
+
key: `mobile-${g.title}-${p}`,
|
|
7696
7698
|
role: "menuitem",
|
|
7697
7699
|
tabindex: "-1",
|
|
7698
7700
|
ref_for: !0
|
|
7699
7701
|
}, {
|
|
7700
|
-
...
|
|
7701
|
-
class: `md:hidden h-full primary-nav-item-${
|
|
7702
|
+
...g,
|
|
7703
|
+
class: `md:hidden h-full primary-nav-item-${p} ${g.class || ""} ${g.dividerLine ? "md:border-r pr-4" : ""}`,
|
|
7702
7704
|
isChild: !1,
|
|
7703
7705
|
elementType: "header"
|
|
7704
7706
|
}, {
|
|
7705
|
-
onClick: (
|
|
7707
|
+
onClick: (C) => r("navigation-click", g)
|
|
7706
7708
|
}), null, 16, ["onClick"]))), 128)),
|
|
7707
|
-
(m(!0), v(q, null, n2(a.value, (
|
|
7708
|
-
key: `desktop-${
|
|
7709
|
+
(m(!0), v(q, null, n2(a.value, (g, p) => (m(), D(s0, B({
|
|
7710
|
+
key: `desktop-${g.title}-${p}`,
|
|
7709
7711
|
role: "menuitem",
|
|
7710
7712
|
tabindex: "-1",
|
|
7711
7713
|
ref_for: !0
|
|
7712
7714
|
}, {
|
|
7713
|
-
...
|
|
7714
|
-
class: `hidden md:block h-full primary-nav-item-${
|
|
7715
|
+
...g,
|
|
7716
|
+
class: `hidden md:block h-full primary-nav-item-${p} ${g.class || ""} ${g.dividerLine ? "sm:border-r pr-4" : ""}`,
|
|
7715
7717
|
isChild: !1,
|
|
7716
7718
|
elementType: "header"
|
|
7717
7719
|
}, {
|
|
7718
|
-
onClick: (
|
|
7720
|
+
onClick: (C) => r("navigation-click", g)
|
|
7719
7721
|
}), null, 16, ["onClick"]))), 128)),
|
|
7720
|
-
(m(!0), v(q, null, n2(l.value, (
|
|
7721
|
-
key: `filtered-${
|
|
7722
|
-
class:
|
|
7722
|
+
(m(!0), v(q, null, n2(l.value, (g) => (m(), D(D2, B({
|
|
7723
|
+
key: `filtered-${g.title}`,
|
|
7724
|
+
class: g.buttonType === "fill" ? "justify-center w-full" : "",
|
|
7723
7725
|
ref_for: !0
|
|
7724
|
-
},
|
|
7725
|
-
onClick: (
|
|
7726
|
+
}, g, {
|
|
7727
|
+
onClick: (p) => r("cta-click", g)
|
|
7726
7728
|
}), null, 16, ["class", "onClick"]))), 128)),
|
|
7727
|
-
(m(!0), v(q, null, n2(d.value, (
|
|
7728
|
-
key:
|
|
7729
|
-
class: ["flex md:hidden my-2 md:my-0",
|
|
7729
|
+
(m(!0), v(q, null, n2(d.value, (g) => (m(), D(D2, B({
|
|
7730
|
+
key: g.title,
|
|
7731
|
+
class: ["flex md:hidden my-2 md:my-0", g.buttonType === "fill" ? "justify-center w-full" : ""],
|
|
7730
7732
|
ref_for: !0
|
|
7731
|
-
},
|
|
7732
|
-
onClick: (
|
|
7733
|
+
}, g, {
|
|
7734
|
+
onClick: (p) => r("cta-click", g)
|
|
7733
7735
|
}), null, 16, ["class", "onClick"]))), 128))
|
|
7734
7736
|
], 2)) : _("", !0)
|
|
7735
7737
|
])
|
|
@@ -7817,7 +7819,7 @@ const Z6 = {
|
|
|
7817
7819
|
color: e.textColor ?? "inherit"
|
|
7818
7820
|
}));
|
|
7819
7821
|
return (s, r) => {
|
|
7820
|
-
var a, l, c, d, u, f, h,
|
|
7822
|
+
var a, l, c, d, u, f, h, g;
|
|
7821
7823
|
return m(), v("div", {
|
|
7822
7824
|
class: M(`testimonial ${y(N)("p-5", e.class ?? "")}`),
|
|
7823
7825
|
style: k2(o.value)
|
|
@@ -7849,7 +7851,7 @@ const Z6 = {
|
|
|
7849
7851
|
}, Y(s.author), 3)) : _("", !0),
|
|
7850
7852
|
s.details ? (m(), v("p", {
|
|
7851
7853
|
key: 3,
|
|
7852
|
-
class: M(`testimonial-details ${((
|
|
7854
|
+
class: M(`testimonial-details ${((g = t.value) == null ? void 0 : g.details) ?? ""} text-${y(i).copy}`)
|
|
7853
7855
|
}, Y(s.details), 3)) : _("", !0)
|
|
7854
7856
|
], 2)
|
|
7855
7857
|
], 2)
|
|
@@ -7913,17 +7915,17 @@ const Z6 = {
|
|
|
7913
7915
|
() => c.has(i) ? a5 : l5
|
|
7914
7916
|
);
|
|
7915
7917
|
return (u, f) => {
|
|
7916
|
-
var p, C,
|
|
7918
|
+
var g, p, C, b, w, Z, S;
|
|
7917
7919
|
const h = D2;
|
|
7918
7920
|
return m(), v("section", {
|
|
7919
|
-
class: M(`tile-collection ${u.variant} ${y(N)("overflow-hidden py-16", u.includeDecoration && !s.value ? "!pb-0" : "", ((
|
|
7921
|
+
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)}`)
|
|
7920
7922
|
}, [
|
|
7921
7923
|
$("div", {
|
|
7922
|
-
class: M(`container mx-auto ${((
|
|
7924
|
+
class: M(`container mx-auto ${((p = t.value) == null ? void 0 : p.container) ?? ""}`)
|
|
7923
7925
|
}, [
|
|
7924
7926
|
u.headline || u.bodyCopy ? (m(), v("div", {
|
|
7925
7927
|
key: 0,
|
|
7926
|
-
class: M(`tile-collection-heading-container ${((
|
|
7928
|
+
class: M(`tile-collection-heading-container ${((C = t.value) == null ? void 0 : C.headingContainer) ?? ""}`)
|
|
7927
7929
|
}, [
|
|
7928
7930
|
u.headline ? (m(), v("h2", {
|
|
7929
7931
|
key: 0,
|
|
@@ -8168,16 +8170,16 @@ const b5 = ["src", "height", "width"], y5 = ["src"], gt = /* @__PURE__ */ t2({
|
|
|
8168
8170
|
return ((h = e.bodyCopyAlignment) == null ? void 0 : h.toLowerCase()) ?? l.value;
|
|
8169
8171
|
}
|
|
8170
8172
|
), d = k(() => l.value === "center" ? "items-center" : l.value === "right" ? "items-end" : "items-start"), u = e2(null), f = d1(u, { threshold: 0.1 });
|
|
8171
|
-
return (h,
|
|
8173
|
+
return (h, g) => {
|
|
8172
8174
|
var b, w, Z, S, A, P, I, F, E, j, R;
|
|
8173
|
-
const
|
|
8175
|
+
const p = Ae, C = D2;
|
|
8174
8176
|
return m(), v("div", {
|
|
8175
8177
|
ref_key: "content",
|
|
8176
8178
|
ref: u,
|
|
8177
8179
|
style: k2({ transitionDelay: `${(h.index ?? 0) * 0.2}s` }),
|
|
8178
8180
|
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)}`)
|
|
8179
8181
|
}, [
|
|
8180
|
-
h.tileLabel || h.tileLabelType ? (m(), D(
|
|
8182
|
+
h.tileLabel || h.tileLabelType ? (m(), D(p, B({ key: 0 }, h.tileLabel, {
|
|
8181
8183
|
type: h.tileLabelType ?? ((w = h.tileLabel) == null ? void 0 : w.type),
|
|
8182
8184
|
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,
|
|
8183
8185
|
"background-color": y(s).label[h.tileLabelType ?? ((P = h.tileLabel) == null ? void 0 : P.type) ?? "Text"].bg,
|
|
@@ -8202,7 +8204,7 @@ const b5 = ["src", "height", "width"], y5 = ["src"], gt = /* @__PURE__ */ t2({
|
|
|
8202
8204
|
key: 0,
|
|
8203
8205
|
class: M(`tile-content-media ${((x = t.value) == null ? void 0 : x.media) ?? ""}`)
|
|
8204
8206
|
}, [
|
|
8205
|
-
|
|
8207
|
+
g[0] || (g[0] = $("div", { class: "tile-content-media-background" }, null, -1)),
|
|
8206
8208
|
h.image ? (m(), D(A2, B({ key: 0 }, h.image, {
|
|
8207
8209
|
class: y(N)((O = (L = h.image) == null ? void 0 : L.media) != null && O.width ? "" : "w-full", h.image.class)
|
|
8208
8210
|
}), null, 16, ["class"])) : _("", !0),
|
|
@@ -8241,7 +8243,7 @@ const b5 = ["src", "height", "width"], y5 = ["src"], gt = /* @__PURE__ */ t2({
|
|
|
8241
8243
|
}, [
|
|
8242
8244
|
(m(!0), v(q, null, n2(h.ctas, (L, O) => {
|
|
8243
8245
|
var H;
|
|
8244
|
-
return m(), D(
|
|
8246
|
+
return m(), D(C, B({
|
|
8245
8247
|
key: `cta-${L.title}-${O}`,
|
|
8246
8248
|
class: `cta-${O} ${(H = t.value) == null ? void 0 : H.cta}`,
|
|
8247
8249
|
color: y(pt)(L, y(a)),
|
|
@@ -8299,9 +8301,9 @@ const b5 = ["src", "height", "width"], y5 = ["src"], gt = /* @__PURE__ */ t2({
|
|
|
8299
8301
|
return ((h = e.bodyCopyAlignment) == null ? void 0 : h.toLowerCase()) ?? l.value;
|
|
8300
8302
|
}
|
|
8301
8303
|
), d = k(() => l.value === "center" ? "items-center" : l.value === "right" ? "items-end" : "items-start"), u = e2(null), f = d1(u, { threshold: 0.1 });
|
|
8302
|
-
return (h,
|
|
8304
|
+
return (h, g) => {
|
|
8303
8305
|
var b, w, Z, S;
|
|
8304
|
-
const
|
|
8306
|
+
const p = Ae, C = D2;
|
|
8305
8307
|
return m(), v("div", {
|
|
8306
8308
|
ref_key: "content",
|
|
8307
8309
|
ref: u,
|
|
@@ -8325,7 +8327,7 @@ const b5 = ["src", "height", "width"], y5 = ["src"], gt = /* @__PURE__ */ t2({
|
|
|
8325
8327
|
key: 0,
|
|
8326
8328
|
class: M(`tile-content-media w-4/5 ${((P = t.value) == null ? void 0 : P.media) ?? ""}`)
|
|
8327
8329
|
}, [
|
|
8328
|
-
h.tileLabel || h.tileLabelType ? (m(), D(
|
|
8330
|
+
h.tileLabel || h.tileLabelType ? (m(), D(p, {
|
|
8329
8331
|
key: 0,
|
|
8330
8332
|
class: M(
|
|
8331
8333
|
h.tileLabelType === "Numeric" || ((I = h.tileLabel) == null ? void 0 : I.type) === "Numeric" ? (F = t.value) == null ? void 0 : F.numericLabel : (E = t.value) == null ? void 0 : E.label
|
|
@@ -8336,7 +8338,7 @@ const b5 = ["src", "height", "width"], y5 = ["src"], gt = /* @__PURE__ */ t2({
|
|
|
8336
8338
|
"background-color": y(s).label[h.tileLabelType ?? ((T = h.tileLabel) == null ? void 0 : T.type) ?? "Text"].bg,
|
|
8337
8339
|
"text-color": y(s).label[h.tileLabelType ?? ((x = h.tileLabel) == null ? void 0 : x.type) ?? "Text"].copy
|
|
8338
8340
|
}, null, 8, ["class", "index", "alignment", "type", "background-color", "text-color"])) : _("", !0),
|
|
8339
|
-
|
|
8341
|
+
g[0] || (g[0] = $("div", { class: "tile-content-media-background" }, null, -1)),
|
|
8340
8342
|
h.image ? (m(), D(A2, B({ key: 1 }, h.image, {
|
|
8341
8343
|
class: y(N)(
|
|
8342
8344
|
!h.bodyCopy && !h.headline && !((L = h.listItems) != null && L.length) ? "rounded-lg" : "rounded-full",
|
|
@@ -8378,7 +8380,7 @@ const b5 = ["src", "height", "width"], y5 = ["src"], gt = /* @__PURE__ */ t2({
|
|
|
8378
8380
|
}, [
|
|
8379
8381
|
(m(!0), v(q, null, n2(h.ctas, (I, F) => {
|
|
8380
8382
|
var E;
|
|
8381
|
-
return m(), D(
|
|
8383
|
+
return m(), D(C, B({
|
|
8382
8384
|
key: `cta-${I.title}-${F}`,
|
|
8383
8385
|
class: `cta-${F} ${(E = t.value) == null ? void 0 : E.cta}`,
|
|
8384
8386
|
color: y(pt)(I, y(a)),
|
|
@@ -8436,13 +8438,13 @@ const b5 = ["src", "height", "width"], y5 = ["src"], gt = /* @__PURE__ */ t2({
|
|
|
8436
8438
|
}
|
|
8437
8439
|
);
|
|
8438
8440
|
return (d, u) => {
|
|
8439
|
-
var p, C,
|
|
8441
|
+
var g, p, C, b, w, Z, S, A, P, I;
|
|
8440
8442
|
const f = Ae, h = D2;
|
|
8441
8443
|
return m(), v("div", {
|
|
8442
|
-
class: M(`tile-content ${y(N)((
|
|
8444
|
+
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)}`)
|
|
8443
8445
|
}, [
|
|
8444
8446
|
d.tileLabel || d.tileLabelType ? (m(), D(f, B({ key: 0 }, d.tileLabel, {
|
|
8445
|
-
class: d.tileLabelType === "Numeric" || ((
|
|
8447
|
+
class: d.tileLabelType === "Numeric" || ((p = d.tileLabel) == null ? void 0 : p.type) === "Numeric" ? (C = t.value) == null ? void 0 : C.numericLabel : (b = t.value) == null ? void 0 : b.label,
|
|
8446
8448
|
index: d.index,
|
|
8447
8449
|
type: d.tileLabelType ?? ((w = d.tileLabel) == null ? void 0 : w.type),
|
|
8448
8450
|
"background-color": y(r).label[d.tileLabelType ?? ((Z = d.tileLabel) == null ? void 0 : Z.type) ?? "Text"].bg,
|
|
@@ -8554,15 +8556,15 @@ const b5 = ["src", "height", "width"], y5 = ["src"], gt = /* @__PURE__ */ t2({
|
|
|
8554
8556
|
}
|
|
8555
8557
|
), d = k(() => l.value === "center" ? "items-center" : l.value === "right" ? "items-end" : "items-start");
|
|
8556
8558
|
return (u, f) => {
|
|
8557
|
-
var
|
|
8558
|
-
const h = Ae,
|
|
8559
|
+
var p, C, b, w, Z, S, A, P, I, F, E;
|
|
8560
|
+
const h = Ae, g = D2;
|
|
8559
8561
|
return m(), v("div", {
|
|
8560
|
-
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", ((
|
|
8562
|
+
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", ((p = t.value) == null ? void 0 : p.root) ?? "", e.class ?? "")} ${e.class}`)
|
|
8561
8563
|
}, [
|
|
8562
8564
|
u.tileLabel || u.tileLabelType ? (m(), D(h, {
|
|
8563
8565
|
key: 0,
|
|
8564
8566
|
class: M(
|
|
8565
|
-
u.tileLabelType === "Numeric" || ((
|
|
8567
|
+
u.tileLabelType === "Numeric" || ((C = u.tileLabel) == null ? void 0 : C.type) === "Numeric" ? (b = t.value) == null ? void 0 : b.numericLabel : (w = t.value) == null ? void 0 : w.label
|
|
8566
8568
|
),
|
|
8567
8569
|
index: u.index,
|
|
8568
8570
|
alignment: ((Z = u.tileLabel) == null ? void 0 : Z.alignment) ?? "right",
|
|
@@ -8622,7 +8624,7 @@ const b5 = ["src", "height", "width"], y5 = ["src"], gt = /* @__PURE__ */ t2({
|
|
|
8622
8624
|
}, Y(u.footer), 3)) : _("", !0),
|
|
8623
8625
|
(m(!0), v(q, null, n2(u.ctas, (R, T) => {
|
|
8624
8626
|
var x;
|
|
8625
|
-
return m(), D(
|
|
8627
|
+
return m(), D(g, B({
|
|
8626
8628
|
key: `cta-${R.title}-${T}`,
|
|
8627
8629
|
class: `cta-${T} ${(x = t.value) == null ? void 0 : x.cta}`,
|
|
8628
8630
|
color: y(pt)(R, y(a)),
|
|
@@ -8658,7 +8660,7 @@ function T5(...n) {
|
|
|
8658
8660
|
return;
|
|
8659
8661
|
const f = rs(u) ? { ...u } : u;
|
|
8660
8662
|
s.push(
|
|
8661
|
-
...t.flatMap((h) => i.map((
|
|
8663
|
+
...t.flatMap((h) => i.map((g) => a(d, h, g, f)))
|
|
8662
8664
|
);
|
|
8663
8665
|
},
|
|
8664
8666
|
{ immediate: !0, flush: "post" }
|
|
@@ -8685,25 +8687,25 @@ function I5(n, e, t = {}) {
|
|
|
8685
8687
|
window: r = h1,
|
|
8686
8688
|
immediate: a = !0
|
|
8687
8689
|
} = t, l = B5(() => r && "IntersectionObserver" in r), c = k(() => {
|
|
8688
|
-
const
|
|
8689
|
-
return (Array.isArray(
|
|
8690
|
+
const g = d0(n);
|
|
8691
|
+
return (Array.isArray(g) ? g : [g]).map(We).filter(Vn);
|
|
8690
8692
|
});
|
|
8691
8693
|
let d = u0;
|
|
8692
8694
|
const u = e2(a), f = l.value ? G2(
|
|
8693
8695
|
() => [c.value, We(i), u.value],
|
|
8694
|
-
([
|
|
8695
|
-
if (d(), !u.value || !
|
|
8696
|
+
([g, p]) => {
|
|
8697
|
+
if (d(), !u.value || !g.length)
|
|
8696
8698
|
return;
|
|
8697
|
-
const
|
|
8699
|
+
const C = new IntersectionObserver(
|
|
8698
8700
|
e,
|
|
8699
8701
|
{
|
|
8700
|
-
root: We(
|
|
8702
|
+
root: We(p),
|
|
8701
8703
|
rootMargin: o,
|
|
8702
8704
|
threshold: s
|
|
8703
8705
|
}
|
|
8704
8706
|
);
|
|
8705
|
-
|
|
8706
|
-
|
|
8707
|
+
g.forEach((b) => b && C.observe(b)), d = () => {
|
|
8708
|
+
C.disconnect(), d = u0;
|
|
8707
8709
|
};
|
|
8708
8710
|
},
|
|
8709
8711
|
{ immediate: a, flush: "post" }
|
|
@@ -8853,14 +8855,14 @@ const D5 = ["innerHTML"], R5 = ["innerHTML"], j5 = ["src"], H5 = /* @__PURE__ */
|
|
|
8853
8855
|
t.value = u;
|
|
8854
8856
|
};
|
|
8855
8857
|
return (u, f) => {
|
|
8856
|
-
var p, C,
|
|
8858
|
+
var g, p, C, b;
|
|
8857
8859
|
const h = Ae;
|
|
8858
8860
|
return m(), v("div", {
|
|
8859
|
-
class: M(`tile-content ${y(N)(((
|
|
8861
|
+
class: M(`tile-content ${y(N)(((g = o.value) == null ? void 0 : g.root) ?? "", i.class ?? "")} max-w-[1024px]`)
|
|
8860
8862
|
}, [
|
|
8861
8863
|
F2(y(k0), {
|
|
8862
|
-
class: M(`${((
|
|
8863
|
-
"pt:footer:class": `tile-content-ctas ${((
|
|
8864
|
+
class: M(`${((p = o.value) == null ? void 0 : p.container) ?? ""} tile-content-container shadow-none`),
|
|
8865
|
+
"pt:footer:class": `tile-content-ctas ${((C = o.value) == null ? void 0 : C.ctas) ?? ""}`,
|
|
8864
8866
|
"pt:body:class": ((b = o.value) == null ? void 0 : b.body) ?? ""
|
|
8865
8867
|
}, R0({
|
|
8866
8868
|
content: u2(() => {
|
|
@@ -8986,7 +8988,7 @@ const D5 = ["innerHTML"], R5 = ["innerHTML"], j5 = ["src"], H5 = /* @__PURE__ */
|
|
|
8986
8988
|
"pt:content:class": "flex flex-col md:flex-row gap-8"
|
|
8987
8989
|
}, {
|
|
8988
8990
|
content: u2(() => {
|
|
8989
|
-
var c, d, u, f, h, p, C,
|
|
8991
|
+
var c, d, u, f, h, g, p, C, b;
|
|
8990
8992
|
return [
|
|
8991
8993
|
$("div", {
|
|
8992
8994
|
class: M((c = o.value) == null ? void 0 : c.mobileCollapsed)
|
|
@@ -9000,13 +9002,13 @@ const D5 = ["innerHTML"], R5 = ["innerHTML"], j5 = ["src"], H5 = /* @__PURE__ */
|
|
|
9000
9002
|
class: M([(f = o.value) == null ? void 0 : f.fullCopy, "fullCopy"])
|
|
9001
9003
|
}, Y((h = e.helloBannerData) == null ? void 0 : h.fullCopy), 3)
|
|
9002
9004
|
], 2),
|
|
9003
|
-
(
|
|
9005
|
+
(g = e.helloBannerData) != null && g.cta ? (m(), v("section", N5, [
|
|
9004
9006
|
F2(D2, B(e.helloBannerData.cta, {
|
|
9005
|
-
class: y(N)((
|
|
9007
|
+
class: y(N)((p = o.value) == null ? void 0 : p.cta, "cta")
|
|
9006
9008
|
}), null, 16, ["class"])
|
|
9007
9009
|
])) : _("", !0),
|
|
9008
9010
|
F2(y(ht), {
|
|
9009
|
-
class: M([(
|
|
9011
|
+
class: M([(C = o.value) == null ? void 0 : C.toggle, "toggle"]),
|
|
9010
9012
|
"pt:root:class": (b = o.value) == null ? void 0 : b.toggle,
|
|
9011
9013
|
tabindex: "0",
|
|
9012
9014
|
"aria-label": t.value === "minimized" ? "Expand banner" : "Minimize banner",
|
|
@@ -10154,45 +10156,45 @@ function c3(n, e, t, i) {
|
|
|
10154
10156
|
}
|
|
10155
10157
|
function hi(n, e, t, i, o) {
|
|
10156
10158
|
let s, r, a, l, c, d, u, f;
|
|
10157
|
-
const h = e.pointStyle,
|
|
10158
|
-
let
|
|
10159
|
+
const h = e.pointStyle, g = e.rotation, p = e.radius;
|
|
10160
|
+
let C = (g || 0) * Mr;
|
|
10159
10161
|
if (h && typeof h == "object" && (s = h.toString(), s === "[object HTMLImageElement]" || s === "[object HTMLCanvasElement]")) {
|
|
10160
|
-
n.save(), n.translate(t, i), n.rotate(
|
|
10162
|
+
n.save(), n.translate(t, i), n.rotate(C), n.drawImage(h, -h.width / 2, -h.height / 2, h.width, h.height), n.restore();
|
|
10161
10163
|
return;
|
|
10162
10164
|
}
|
|
10163
|
-
if (!(isNaN(
|
|
10165
|
+
if (!(isNaN(p) || p <= 0)) {
|
|
10164
10166
|
switch (n.beginPath(), h) {
|
|
10165
10167
|
default:
|
|
10166
|
-
o ? n.ellipse(t, i, o / 2,
|
|
10168
|
+
o ? n.ellipse(t, i, o / 2, p, 0, 0, f2) : n.arc(t, i, p, 0, f2), n.closePath();
|
|
10167
10169
|
break;
|
|
10168
10170
|
case "triangle":
|
|
10169
|
-
d = o ? o / 2 :
|
|
10171
|
+
d = o ? o / 2 : p, n.moveTo(t + Math.sin(C) * d, i - Math.cos(C) * p), C += e3, n.lineTo(t + Math.sin(C) * d, i - Math.cos(C) * p), C += e3, n.lineTo(t + Math.sin(C) * d, i - Math.cos(C) * p), n.closePath();
|
|
10170
10172
|
break;
|
|
10171
10173
|
case "rectRounded":
|
|
10172
|
-
c =
|
|
10174
|
+
c = p * 0.516, l = p - c, r = Math.cos(C + C0) * l, u = Math.cos(C + C0) * (o ? o / 2 - c : l), a = Math.sin(C + C0) * l, f = Math.sin(C + C0) * (o ? o / 2 - c : l), n.arc(t - u, i - a, c, C - r2, C - b2), n.arc(t + f, i - r, c, C - b2, C), n.arc(t + u, i + a, c, C, C + b2), n.arc(t - f, i + r, c, C + b2, C + r2), n.closePath();
|
|
10173
10175
|
break;
|
|
10174
10176
|
case "rect":
|
|
10175
|
-
if (!
|
|
10176
|
-
l = Math.SQRT1_2 *
|
|
10177
|
+
if (!g) {
|
|
10178
|
+
l = Math.SQRT1_2 * p, d = o ? o / 2 : l, n.rect(t - d, i - l, 2 * d, 2 * l);
|
|
10177
10179
|
break;
|
|
10178
10180
|
}
|
|
10179
|
-
|
|
10181
|
+
C += C0;
|
|
10180
10182
|
case "rectRot":
|
|
10181
|
-
u = Math.cos(
|
|
10183
|
+
u = Math.cos(C) * (o ? o / 2 : p), r = Math.cos(C) * p, a = Math.sin(C) * p, f = Math.sin(C) * (o ? o / 2 : p), 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();
|
|
10182
10184
|
break;
|
|
10183
10185
|
case "crossRot":
|
|
10184
|
-
|
|
10186
|
+
C += C0;
|
|
10185
10187
|
case "cross":
|
|
10186
|
-
u = Math.cos(
|
|
10188
|
+
u = Math.cos(C) * (o ? o / 2 : p), r = Math.cos(C) * p, a = Math.sin(C) * p, f = Math.sin(C) * (o ? o / 2 : p), n.moveTo(t - u, i - a), n.lineTo(t + u, i + a), n.moveTo(t + f, i - r), n.lineTo(t - f, i + r);
|
|
10187
10189
|
break;
|
|
10188
10190
|
case "star":
|
|
10189
|
-
u = Math.cos(
|
|
10191
|
+
u = Math.cos(C) * (o ? o / 2 : p), r = Math.cos(C) * p, a = Math.sin(C) * p, f = Math.sin(C) * (o ? o / 2 : p), n.moveTo(t - u, i - a), n.lineTo(t + u, i + a), n.moveTo(t + f, i - r), n.lineTo(t - f, i + r), C += C0, u = Math.cos(C) * (o ? o / 2 : p), r = Math.cos(C) * p, a = Math.sin(C) * p, f = Math.sin(C) * (o ? o / 2 : p), n.moveTo(t - u, i - a), n.lineTo(t + u, i + a), n.moveTo(t + f, i - r), n.lineTo(t - f, i + r);
|
|
10190
10192
|
break;
|
|
10191
10193
|
case "line":
|
|
10192
|
-
r = o ? o / 2 : Math.cos(
|
|
10194
|
+
r = o ? o / 2 : Math.cos(C) * p, a = Math.sin(C) * p, n.moveTo(t - r, i - a), n.lineTo(t + r, i + a);
|
|
10193
10195
|
break;
|
|
10194
10196
|
case "dash":
|
|
10195
|
-
n.moveTo(t, i), n.lineTo(t + Math.cos(
|
|
10197
|
+
n.moveTo(t, i), n.lineTo(t + Math.cos(C) * (o ? o / 2 : p), i + Math.sin(C) * p);
|
|
10196
10198
|
break;
|
|
10197
10199
|
case !1:
|
|
10198
10200
|
n.closePath();
|
|
@@ -10595,10 +10597,10 @@ function v0(n, e) {
|
|
|
10595
10597
|
if ("native" in n)
|
|
10596
10598
|
return n;
|
|
10597
10599
|
const { canvas: t, currentDevicePixelRatio: i } = e, o = yt(t), s = o.boxSizing === "border-box", r = M0(o, "padding"), a = M0(o, "border", "width"), { x: l, y: c, box: d } = d8(n, t), u = r.left + (d && a.left), f = r.top + (d && a.top);
|
|
10598
|
-
let { width: h, height:
|
|
10599
|
-
return s && (h -= r.width + a.width,
|
|
10600
|
+
let { width: h, height: g } = e;
|
|
10601
|
+
return s && (h -= r.width + a.width, g -= r.height + a.height), {
|
|
10600
10602
|
x: Math.round((l - u) / h * t.width / i),
|
|
10601
|
-
y: Math.round((c - f) /
|
|
10603
|
+
y: Math.round((c - f) / g * t.height / i)
|
|
10602
10604
|
};
|
|
10603
10605
|
}
|
|
10604
10606
|
function u8(n, e, t) {
|
|
@@ -11071,10 +11073,10 @@ function b3(n, e) {
|
|
|
11071
11073
|
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;
|
|
11072
11074
|
let f;
|
|
11073
11075
|
for (let h = 0; h < u; ++h) {
|
|
11074
|
-
const
|
|
11075
|
-
f = b[c] = $8(o, d,
|
|
11076
|
+
const g = e[h], { [l]: p, [c]: C } = g, b = g._stacks || (g._stacks = {});
|
|
11077
|
+
f = b[c] = $8(o, d, p), f[a] = C, f._top = m3(f, r, !0, i.type), f._bottom = m3(f, r, !1, i.type);
|
|
11076
11078
|
const w = f._visualValues || (f._visualValues = {});
|
|
11077
|
-
w[a] =
|
|
11079
|
+
w[a] = C;
|
|
11078
11080
|
}
|
|
11079
11081
|
}
|
|
11080
11082
|
function Ot(n, e) {
|
|
@@ -11131,7 +11133,7 @@ class re {
|
|
|
11131
11133
|
this.index !== e && W0(this._cachedMeta), this.index = e;
|
|
11132
11134
|
}
|
|
11133
11135
|
linkScales() {
|
|
11134
|
-
const e = this.chart, t = this._cachedMeta, i = this.getDataset(), o = (u, f, h,
|
|
11136
|
+
const e = this.chart, t = this._cachedMeta, i = this.getDataset(), o = (u, f, h, g) => u === "x" ? f : u === "r" ? g : h, s = t.xAxisID = i2(i.xAxisID, Ot(e, "x")), r = t.yAxisID = i2(i.yAxisID, Ot(e, "y")), a = t.rAxisID = i2(i.rAxisID, Ot(e, "r")), l = t.indexAxis, c = t.iAxisID = o(l, s, r, a), d = t.vAxisID = o(l, r, s, a);
|
|
11135
11137
|
t.xScale = this.getScaleForId(s), t.yScale = this.getScaleForId(r), t.rScale = this.getScaleForId(a), t.iScale = this.getScaleForId(c), t.vScale = this.getScaleForId(d);
|
|
11136
11138
|
}
|
|
11137
11139
|
getDataset() {
|
|
@@ -11199,11 +11201,11 @@ class re {
|
|
|
11199
11201
|
}
|
|
11200
11202
|
parsePrimitiveData(e, t, i, o) {
|
|
11201
11203
|
const { iScale: s, vScale: r } = e, a = s.axis, l = r.axis, c = s.getLabels(), d = s === r, u = new Array(o);
|
|
11202
|
-
let f, h,
|
|
11204
|
+
let f, h, g;
|
|
11203
11205
|
for (f = 0, h = o; f < h; ++f)
|
|
11204
|
-
|
|
11205
|
-
[a]: d || s.parse(c[
|
|
11206
|
-
[l]: r.parse(t[
|
|
11206
|
+
g = f + i, u[f] = {
|
|
11207
|
+
[a]: d || s.parse(c[g], g),
|
|
11208
|
+
[l]: r.parse(t[g], g)
|
|
11207
11209
|
};
|
|
11208
11210
|
return u;
|
|
11209
11211
|
}
|
|
@@ -11254,16 +11256,16 @@ class re {
|
|
|
11254
11256
|
max: Number.NEGATIVE_INFINITY
|
|
11255
11257
|
}, { min: d, max: u } = Z8(a);
|
|
11256
11258
|
let f, h;
|
|
11257
|
-
function
|
|
11259
|
+
function g() {
|
|
11258
11260
|
h = o[f];
|
|
11259
|
-
const
|
|
11260
|
-
return !x2(h[e.axis]) || d >
|
|
11261
|
+
const p = h[a.axis];
|
|
11262
|
+
return !x2(h[e.axis]) || d > p || u < p;
|
|
11261
11263
|
}
|
|
11262
|
-
for (f = 0; f < r && !(!
|
|
11264
|
+
for (f = 0; f < r && !(!g() && (this.updateRangeFromParsed(c, e, h, l), s)); ++f)
|
|
11263
11265
|
;
|
|
11264
11266
|
if (s) {
|
|
11265
11267
|
for (f = r - 1; f >= 0; --f)
|
|
11266
|
-
if (!
|
|
11268
|
+
if (!g()) {
|
|
11267
11269
|
this.updateRangeFromParsed(c, e, h, l);
|
|
11268
11270
|
break;
|
|
11269
11271
|
}
|
|
@@ -11335,8 +11337,8 @@ class re {
|
|
|
11335
11337
|
] : [
|
|
11336
11338
|
e,
|
|
11337
11339
|
""
|
|
11338
|
-
], f = c.getOptionScopes(this.getDataset(), d), h = Object.keys(p2.elements[e]),
|
|
11339
|
-
return
|
|
11340
|
+
], f = c.getOptionScopes(this.getDataset(), d), h = Object.keys(p2.elements[e]), g = () => this.getContext(i, o, t), p = c.resolveNamedOptions(f, h, g, u);
|
|
11341
|
+
return p.$shared && (p.$shared = l, s[r] = Object.freeze(y3(p, l))), p;
|
|
11340
11342
|
}
|
|
11341
11343
|
_resolveAnimations(e, t, i) {
|
|
11342
11344
|
const o = this.chart, s = this._cachedDataOpts, r = `animation-${t}`, a = s[r];
|
|
@@ -11479,8 +11481,8 @@ V(re, "defaults", {}), V(re, "datasetElementType", null), V(re, "dataElementType
|
|
|
11479
11481
|
function B8(n, e, t) {
|
|
11480
11482
|
let i = 1, o = 1, s = 0, r = 0;
|
|
11481
11483
|
if (e < f2) {
|
|
11482
|
-
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),
|
|
11483
|
-
i = (
|
|
11484
|
+
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), p = h(0, c, u), C = h(b2, d, f), b = g(r2, c, u), w = g(r2 + b2, d, f);
|
|
11485
|
+
i = (p - b) / 2, o = (C - w) / 2, s = -(p + b) / 2, r = -(C + w) / 2;
|
|
11484
11486
|
}
|
|
11485
11487
|
return {
|
|
11486
11488
|
ratioX: i,
|
|
@@ -11529,15 +11531,15 @@ class B0 extends re {
|
|
|
11529
11531
|
};
|
|
11530
11532
|
}
|
|
11531
11533
|
update(e) {
|
|
11532
|
-
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:
|
|
11533
|
-
this.offsetX =
|
|
11534
|
+
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: p } = B8(u, d, l), C = (i.width - r) / f, b = (i.height - r) / h, w = Math.max(Math.min(C, b) / 2, 0), Z = ni(this.options.radius, w), S = Math.max(Z * l, 0), A = (Z - S) / this._getVisibleDatasetWeightTotal();
|
|
11535
|
+
this.offsetX = g * Z, this.offsetY = p * 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);
|
|
11534
11536
|
}
|
|
11535
11537
|
_circumference(e, t) {
|
|
11536
11538
|
const i = this.options, o = this._cachedMeta, s = this._getCircumference();
|
|
11537
11539
|
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);
|
|
11538
11540
|
}
|
|
11539
11541
|
updateElements(e, t, i, o) {
|
|
11540
|
-
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,
|
|
11542
|
+
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: p, includeOptions: C } = this._getSharedOptions(t, o);
|
|
11541
11543
|
let b = this._getRotation(), w;
|
|
11542
11544
|
for (w = 0; w < t; ++w)
|
|
11543
11545
|
b += this._circumference(w, s);
|
|
@@ -11548,10 +11550,10 @@ class B0 extends re {
|
|
|
11548
11550
|
startAngle: b,
|
|
11549
11551
|
endAngle: b + Z,
|
|
11550
11552
|
circumference: Z,
|
|
11551
|
-
outerRadius:
|
|
11553
|
+
outerRadius: g,
|
|
11552
11554
|
innerRadius: h
|
|
11553
11555
|
};
|
|
11554
|
-
|
|
11556
|
+
C && (A.options = p || this.resolveDataElementOptions(w, S.active ? "active" : o)), b += Z, this.updateElement(S, w, A, o);
|
|
11555
11557
|
}
|
|
11556
11558
|
}
|
|
11557
11559
|
calculateTotal() {
|
|
@@ -11753,10 +11755,10 @@ function L8(n, e, t, i) {
|
|
|
11753
11755
|
} else {
|
|
11754
11756
|
const d = c(s, e, t);
|
|
11755
11757
|
if (l) {
|
|
11756
|
-
const { vScale: u } = o._cachedMeta, { _parsed: f } = n, h = f.slice(0, d.lo + 1).reverse().findIndex((
|
|
11758
|
+
const { vScale: u } = o._cachedMeta, { _parsed: f } = n, h = f.slice(0, d.lo + 1).reverse().findIndex((p) => !d2(p[u.axis]));
|
|
11757
11759
|
d.lo -= Math.max(0, h);
|
|
11758
|
-
const
|
|
11759
|
-
d.hi += Math.max(0,
|
|
11760
|
+
const g = f.slice(d.hi).findIndex((p) => !d2(p[u.axis]));
|
|
11761
|
+
d.hi += Math.max(0, g);
|
|
11760
11762
|
}
|
|
11761
11763
|
return d;
|
|
11762
11764
|
}
|
|
@@ -11771,8 +11773,8 @@ function $e(n, e, t, i, o) {
|
|
|
11771
11773
|
for (let a = 0, l = s.length; a < l; ++a) {
|
|
11772
11774
|
const { index: c, data: d } = s[a], { lo: u, hi: f } = L8(s[a], e, r, o);
|
|
11773
11775
|
for (let h = u; h <= f; ++h) {
|
|
11774
|
-
const
|
|
11775
|
-
|
|
11776
|
+
const g = d[h];
|
|
11777
|
+
g.skip || i(g, c, h);
|
|
11776
11778
|
}
|
|
11777
11779
|
}
|
|
11778
11780
|
}
|
|
@@ -11819,17 +11821,17 @@ function E8(n, e, t, i, o, s) {
|
|
|
11819
11821
|
const h = d.inRange(e.x, e.y, o);
|
|
11820
11822
|
if (i && !h)
|
|
11821
11823
|
return;
|
|
11822
|
-
const
|
|
11823
|
-
if (!(!!s || n.isPointInArea(
|
|
11824
|
+
const g = d.getCenterPoint(o);
|
|
11825
|
+
if (!(!!s || n.isPointInArea(g)) && !h)
|
|
11824
11826
|
return;
|
|
11825
|
-
const
|
|
11826
|
-
|
|
11827
|
+
const C = a(e, g);
|
|
11828
|
+
C < l ? (r = [
|
|
11827
11829
|
{
|
|
11828
11830
|
element: d,
|
|
11829
11831
|
datasetIndex: u,
|
|
11830
11832
|
index: f
|
|
11831
11833
|
}
|
|
11832
|
-
], l =
|
|
11834
|
+
], l = C) : C === l && r.push({
|
|
11833
11835
|
element: d,
|
|
11834
11836
|
datasetIndex: u,
|
|
11835
11837
|
index: f
|
|
@@ -12079,10 +12081,10 @@ var c0 = {
|
|
|
12079
12081
|
if (!n)
|
|
12080
12082
|
return;
|
|
12081
12083
|
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;
|
|
12082
|
-
s2(n.boxes, (
|
|
12083
|
-
typeof
|
|
12084
|
+
s2(n.boxes, (p) => {
|
|
12085
|
+
typeof p.beforeLayout == "function" && p.beforeLayout();
|
|
12084
12086
|
});
|
|
12085
|
-
const d = l.reduce((
|
|
12087
|
+
const d = l.reduce((p, C) => C.box.options && C.box.options.display === !1 ? p : p + 1, 0) || 1, u = Object.freeze({
|
|
12086
12088
|
outerWidth: e,
|
|
12087
12089
|
outerHeight: t,
|
|
12088
12090
|
padding: o,
|
|
@@ -12098,17 +12100,17 @@ var c0 = {
|
|
|
12098
12100
|
h: r,
|
|
12099
12101
|
x: o.left,
|
|
12100
12102
|
y: o.top
|
|
12101
|
-
}, o),
|
|
12102
|
-
Q0(a.fullSize, h, u,
|
|
12103
|
+
}, o), g = H8(l.concat(c), u);
|
|
12104
|
+
Q0(a.fullSize, h, u, g), Q0(l, h, u, g), Q0(c, h, u, g) && Q0(l, h, u, g), V8(h), w3(a.leftAndTop, h, u, g), h.x += h.w, h.y += h.h, w3(a.rightAndBottom, h, u, g), n.chartArea = {
|
|
12103
12105
|
left: h.left,
|
|
12104
12106
|
top: h.top,
|
|
12105
12107
|
right: h.left + h.w,
|
|
12106
12108
|
bottom: h.top + h.h,
|
|
12107
12109
|
height: h.h,
|
|
12108
12110
|
width: h.w
|
|
12109
|
-
}, s2(a.chartArea, (
|
|
12110
|
-
const
|
|
12111
|
-
Object.assign(
|
|
12111
|
+
}, s2(a.chartArea, (p) => {
|
|
12112
|
+
const C = p.box;
|
|
12113
|
+
Object.assign(C, n.chartArea), C.update(h.w, h.h, {
|
|
12112
12114
|
left: 0,
|
|
12113
12115
|
top: 0,
|
|
12114
12116
|
right: 0,
|
|
@@ -12470,26 +12472,26 @@ function ma(n, e, t) {
|
|
|
12470
12472
|
}
|
|
12471
12473
|
function ba(n, e, t, i) {
|
|
12472
12474
|
const { top: o, left: s, bottom: r, right: a, chart: l } = n, { chartArea: c, scales: d } = l;
|
|
12473
|
-
let u = 0, f, h,
|
|
12474
|
-
const
|
|
12475
|
+
let u = 0, f, h, g;
|
|
12476
|
+
const p = r - o, C = a - s;
|
|
12475
12477
|
if (n.isHorizontal()) {
|
|
12476
12478
|
if (h = P2(i, s, a), J(t)) {
|
|
12477
12479
|
const b = Object.keys(t)[0], w = t[b];
|
|
12478
|
-
|
|
12480
|
+
g = d[b].getPixelForValue(w) + p - e;
|
|
12479
12481
|
} else
|
|
12480
|
-
t === "center" ?
|
|
12482
|
+
t === "center" ? g = (c.bottom + c.top) / 2 + p - e : g = A3(n, t, e);
|
|
12481
12483
|
f = a - s;
|
|
12482
12484
|
} else {
|
|
12483
12485
|
if (J(t)) {
|
|
12484
12486
|
const b = Object.keys(t)[0], w = t[b];
|
|
12485
|
-
h = d[b].getPixelForValue(w) -
|
|
12487
|
+
h = d[b].getPixelForValue(w) - C + e;
|
|
12486
12488
|
} else
|
|
12487
|
-
t === "center" ? h = (c.left + c.right) / 2 -
|
|
12488
|
-
|
|
12489
|
+
t === "center" ? h = (c.left + c.right) / 2 - C + e : h = A3(n, t, e);
|
|
12490
|
+
g = P2(i, r, o), u = t === "left" ? -b2 : b2;
|
|
12489
12491
|
}
|
|
12490
12492
|
return {
|
|
12491
12493
|
titleX: h,
|
|
12492
|
-
titleY:
|
|
12494
|
+
titleY: g,
|
|
12493
12495
|
maxWidth: f,
|
|
12494
12496
|
rotation: u
|
|
12495
12497
|
};
|
|
@@ -12669,15 +12671,15 @@ class z0 extends _0 {
|
|
|
12669
12671
|
if (r) {
|
|
12670
12672
|
const l = S3(o, t.options.font);
|
|
12671
12673
|
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) {
|
|
12672
|
-
const { first: c, last: d, widest: u, highest: f } = this._getLabelSizes(), h = i.padding * 2,
|
|
12674
|
+
const { first: c, last: d, widest: u, highest: f } = this._getLabelSizes(), h = i.padding * 2, g = N2(this.labelRotation), p = Math.cos(g), C = Math.sin(g);
|
|
12673
12675
|
if (a) {
|
|
12674
|
-
const b = i.mirror ? 0 :
|
|
12676
|
+
const b = i.mirror ? 0 : C * u.width + p * f.height;
|
|
12675
12677
|
e.height = Math.min(this.maxHeight, e.height + b + h);
|
|
12676
12678
|
} else {
|
|
12677
|
-
const b = i.mirror ? 0 :
|
|
12679
|
+
const b = i.mirror ? 0 : p * u.width + C * f.height;
|
|
12678
12680
|
e.width = Math.min(this.maxWidth, e.width + b + h);
|
|
12679
12681
|
}
|
|
12680
|
-
this._calculatePadding(c, d,
|
|
12682
|
+
this._calculatePadding(c, d, C, p);
|
|
12681
12683
|
}
|
|
12682
12684
|
}
|
|
12683
12685
|
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);
|
|
@@ -12726,16 +12728,16 @@ class z0 extends _0 {
|
|
|
12726
12728
|
}
|
|
12727
12729
|
_computeLabelSizes(e, t, i) {
|
|
12728
12730
|
const { ctx: o, _longestTextCache: s } = this, r = [], a = [], l = Math.floor(t / Z3(t, i));
|
|
12729
|
-
let c = 0, d = 0, u, f, h, p, C,
|
|
12731
|
+
let c = 0, d = 0, u, f, h, g, p, C, b, w, Z, S, A;
|
|
12730
12732
|
for (u = 0; u < t; u += l) {
|
|
12731
|
-
if (
|
|
12733
|
+
if (g = e[u].label, p = this._resolveTickFontOptions(u), o.font = C = p.string, b = s[C] = s[C] || {
|
|
12732
12734
|
data: {},
|
|
12733
12735
|
gc: []
|
|
12734
|
-
}, w =
|
|
12735
|
-
Z = it(o, b.data, b.gc, Z,
|
|
12736
|
-
else if (g2(
|
|
12737
|
-
for (f = 0, h =
|
|
12738
|
-
A =
|
|
12736
|
+
}, w = p.lineHeight, Z = S = 0, !d2(g) && !g2(g))
|
|
12737
|
+
Z = it(o, b.data, b.gc, Z, g), S = w;
|
|
12738
|
+
else if (g2(g))
|
|
12739
|
+
for (f = 0, h = g.length; f < h; ++f)
|
|
12740
|
+
A = g[f], !d2(A) && !g2(A) && (Z = it(o, b.data, b.gc, Z, A), S += w);
|
|
12739
12741
|
r.push(Z), a.push(S), c = Math.max(Z, c), d = Math.max(S, d);
|
|
12740
12742
|
}
|
|
12741
12743
|
pa(s, t);
|
|
@@ -12797,18 +12799,18 @@ class z0 extends _0 {
|
|
|
12797
12799
|
return e !== "auto" ? !!e : this.getMatchingVisibleMetas().length > 0;
|
|
12798
12800
|
}
|
|
12799
12801
|
_computeGridLineItems(e) {
|
|
12800
|
-
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 = [],
|
|
12801
|
-
return g0(i, H,
|
|
12802
|
+
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()), p = g.display ? g.width : 0, C = p / 2, b = function(H) {
|
|
12803
|
+
return g0(i, H, p);
|
|
12802
12804
|
};
|
|
12803
12805
|
let w, Z, S, A, P, I, F, E, j, R, T, x;
|
|
12804
12806
|
if (r === "top")
|
|
12805
|
-
w = b(this.bottom), I = this.bottom - f, E = w -
|
|
12807
|
+
w = b(this.bottom), I = this.bottom - f, E = w - C, R = b(e.top) + C, x = e.bottom;
|
|
12806
12808
|
else if (r === "bottom")
|
|
12807
|
-
w = b(this.top), R = e.top, x = b(e.bottom) -
|
|
12809
|
+
w = b(this.top), R = e.top, x = b(e.bottom) - C, I = w + C, E = this.top + f;
|
|
12808
12810
|
else if (r === "left")
|
|
12809
|
-
w = b(this.right), P = this.right - f, F = w -
|
|
12811
|
+
w = b(this.right), P = this.right - f, F = w - C, j = b(e.left) + C, T = e.right;
|
|
12810
12812
|
else if (r === "right")
|
|
12811
|
-
w = b(this.left), j = e.left, T = b(e.right) -
|
|
12813
|
+
w = b(this.left), j = e.left, T = b(e.right) - C, P = w + C, F = this.left + f;
|
|
12812
12814
|
else if (t === "x") {
|
|
12813
12815
|
if (r === "center")
|
|
12814
12816
|
w = b((e.top + e.bottom) / 2 + 0.5);
|
|
@@ -12816,7 +12818,7 @@ class z0 extends _0 {
|
|
|
12816
12818
|
const H = Object.keys(r)[0], z = r[H];
|
|
12817
12819
|
w = b(this.chart.scales[H].getPixelForValue(z));
|
|
12818
12820
|
}
|
|
12819
|
-
R = e.top, x = e.bottom, I = w +
|
|
12821
|
+
R = e.top, x = e.bottom, I = w + C, E = I + f;
|
|
12820
12822
|
} else if (t === "y") {
|
|
12821
12823
|
if (r === "center")
|
|
12822
12824
|
w = b((e.left + e.right) / 2);
|
|
@@ -12824,7 +12826,7 @@ class z0 extends _0 {
|
|
|
12824
12826
|
const H = Object.keys(r)[0], z = r[H];
|
|
12825
12827
|
w = b(this.chart.scales[H].getPixelForValue(z));
|
|
12826
12828
|
}
|
|
12827
|
-
P = w -
|
|
12829
|
+
P = w - C, F = P - f, j = e.left, T = e.right;
|
|
12828
12830
|
}
|
|
12829
12831
|
const L = i2(o.ticks.maxTicksLimit, u), O = Math.max(1, Math.ceil(u / L));
|
|
12830
12832
|
for (Z = 0; Z < u; Z += O) {
|
|
@@ -12851,12 +12853,12 @@ class z0 extends _0 {
|
|
|
12851
12853
|
return this._ticksLength = u, this._borderValue = w, h;
|
|
12852
12854
|
}
|
|
12853
12855
|
_computeLabelItems(e) {
|
|
12854
|
-
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,
|
|
12856
|
+
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, p = -N2(this.labelRotation), C = [];
|
|
12855
12857
|
let b, w, Z, S, A, P, I, F, E, j, R, T, x = "middle";
|
|
12856
12858
|
if (o === "top")
|
|
12857
|
-
P = this.bottom -
|
|
12859
|
+
P = this.bottom - g, I = this._getXAxisLabelAlignment();
|
|
12858
12860
|
else if (o === "bottom")
|
|
12859
|
-
P = this.top +
|
|
12861
|
+
P = this.top + g, I = this._getXAxisLabelAlignment();
|
|
12860
12862
|
else if (o === "left") {
|
|
12861
12863
|
const O = this._getYAxisLabelAlignment(f);
|
|
12862
12864
|
I = O.textAlign, A = O.x;
|
|
@@ -12888,7 +12890,7 @@ class z0 extends _0 {
|
|
|
12888
12890
|
F = this.getPixelForTick(b) + s.labelOffset, E = this._resolveTickFontOptions(b), j = E.lineHeight, R = g2(S) ? S.length : 1;
|
|
12889
12891
|
const H = R / 2, z = O.color, G = O.textStrokeColor, X = O.textStrokeWidth;
|
|
12890
12892
|
let M2 = I;
|
|
12891
|
-
r ? (A = F, 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" ||
|
|
12893
|
+
r ? (A = F, 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" || p !== 0 ? T = -R * j + j / 2 : c === "center" ? T = -L.highest.height / 2 - H * j + j : T = -L.highest.height + j / 2 : c === "near" || p !== 0 ? T = j / 2 : c === "center" ? T = L.highest.height / 2 - H * j : T = L.highest.height - R * j, u && (T *= -1), p !== 0 && !O.showLabelBackdrop && (A += j / 2 * Math.sin(p))) : (P = F, T = (1 - R) * j / 2);
|
|
12892
12894
|
let w2;
|
|
12893
12895
|
if (O.showLabelBackdrop) {
|
|
12894
12896
|
const W2 = Z2(O.backdropPadding), Q2 = L.heights[b], R2 = L.widths[b];
|
|
@@ -12920,12 +12922,12 @@ class z0 extends _0 {
|
|
|
12920
12922
|
color: O.backdropColor
|
|
12921
12923
|
};
|
|
12922
12924
|
}
|
|
12923
|
-
|
|
12925
|
+
C.push({
|
|
12924
12926
|
label: S,
|
|
12925
12927
|
font: E,
|
|
12926
12928
|
textOffset: T,
|
|
12927
12929
|
options: {
|
|
12928
|
-
rotation:
|
|
12930
|
+
rotation: p,
|
|
12929
12931
|
color: z,
|
|
12930
12932
|
strokeColor: G,
|
|
12931
12933
|
strokeWidth: X,
|
|
@@ -12939,7 +12941,7 @@ class z0 extends _0 {
|
|
|
12939
12941
|
}
|
|
12940
12942
|
});
|
|
12941
12943
|
}
|
|
12942
|
-
return
|
|
12944
|
+
return C;
|
|
12943
12945
|
}
|
|
12944
12946
|
_getXAxisLabelAlignment() {
|
|
12945
12947
|
const { position: e, ticks: t } = this.options;
|
|
@@ -14098,8 +14100,8 @@ function za(n, e, t) {
|
|
|
14098
14100
|
if (d === "round")
|
|
14099
14101
|
n.arc(o, s, f, t - r2 / 2, i + r2 / 2, !0);
|
|
14100
14102
|
else if (d === "bevel") {
|
|
14101
|
-
const h = 2 * f * f,
|
|
14102
|
-
n.lineTo(
|
|
14103
|
+
const h = 2 * f * f, g = -h * Math.cos(t + r2 / 2) + o, p = -h * Math.sin(t + r2 / 2) + s, C = h * Math.cos(i + r2 / 2) + o, b = h * Math.sin(i + r2 / 2) + s;
|
|
14104
|
+
n.lineTo(g, p), n.lineTo(C, b);
|
|
14103
14105
|
}
|
|
14104
14106
|
}
|
|
14105
14107
|
n.closePath(), n.moveTo(0, 0), n.rect(0, 0, n.canvas.width, n.canvas.height), n.clip("evenodd");
|
|
@@ -14138,12 +14140,12 @@ function S0(n, e, t, i) {
|
|
|
14138
14140
|
function at(n, e, t, i, o, s) {
|
|
14139
14141
|
const { x: r, y: a, startAngle: l, pixelMargin: c, innerRadius: d } = e, u = Math.max(e.outerRadius + i + t - c, 0), f = d > 0 ? d + i + t + c : 0;
|
|
14140
14142
|
let h = 0;
|
|
14141
|
-
const
|
|
14143
|
+
const g = o - l;
|
|
14142
14144
|
if (i) {
|
|
14143
|
-
const O = d > 0 ? d - i : 0, H = u > 0 ? u - i : 0, z = (O + H) / 2, G = z !== 0 ?
|
|
14144
|
-
h = (
|
|
14145
|
+
const O = d > 0 ? d - i : 0, H = u > 0 ? u - i : 0, z = (O + H) / 2, G = z !== 0 ? g * z / (z + i) : g;
|
|
14146
|
+
h = (g - G) / 2;
|
|
14145
14147
|
}
|
|
14146
|
-
const
|
|
14148
|
+
const p = Math.max(1e-3, g * u - t / r2) / u, C = (g - p) / 2, b = l + C + h, w = o - C - h, { outerStart: Z, outerEnd: S, innerStart: A, innerEnd: P } = Wa(e, f, u, w - b), I = u - Z, F = u - S, E = b + Z / I, j = w - S / F, R = f + A, T = f + P, x = b + A / R, L = w - P / T;
|
|
14147
14149
|
if (n.beginPath(), s) {
|
|
14148
14150
|
const O = (E + j) / 2;
|
|
14149
14151
|
if (n.arc(r, a, u, E, O), n.arc(r, a, u, O, j), S > 0) {
|
|
@@ -14186,18 +14188,18 @@ function Ua(n, e, t, i, o) {
|
|
|
14186
14188
|
return at(n, e, t, i, l, o), n.fill(), l;
|
|
14187
14189
|
}
|
|
14188
14190
|
function Ya(n, e, t, i, o) {
|
|
14189
|
-
const { fullCircles: s, startAngle: r, circumference: a, options: l } = e, { borderWidth: c, borderJoinStyle: d, borderDash: u, borderDashOffset: f, borderRadius: h } = l,
|
|
14191
|
+
const { fullCircles: s, startAngle: r, circumference: a, options: l } = e, { borderWidth: c, borderJoinStyle: d, borderDash: u, borderDashOffset: f, borderRadius: h } = l, g = l.borderAlign === "inner";
|
|
14190
14192
|
if (!c)
|
|
14191
14193
|
return;
|
|
14192
|
-
n.setLineDash(u || []), n.lineDashOffset = f,
|
|
14193
|
-
let
|
|
14194
|
+
n.setLineDash(u || []), n.lineDashOffset = f, g ? (n.lineWidth = c * 2, n.lineJoin = d || "round") : (n.lineWidth = c, n.lineJoin = d || "bevel");
|
|
14195
|
+
let p = e.endAngle;
|
|
14194
14196
|
if (s) {
|
|
14195
|
-
at(n, e, t, i,
|
|
14196
|
-
for (let
|
|
14197
|
+
at(n, e, t, i, p, o);
|
|
14198
|
+
for (let C = 0; C < s; ++C)
|
|
14197
14199
|
n.stroke();
|
|
14198
|
-
isNaN(a) || (
|
|
14200
|
+
isNaN(a) || (p = r + (a % f2 || f2));
|
|
14199
14201
|
}
|
|
14200
|
-
|
|
14202
|
+
g && Na(n, e, p), l.selfJoin && p - r >= r2 && h === 0 && d !== "miter" && za(n, e, p), s || (at(n, e, t, i, p, o), n.stroke());
|
|
14201
14203
|
}
|
|
14202
14204
|
class J0 extends _0 {
|
|
14203
14205
|
constructor(t) {
|
|
@@ -14224,8 +14226,8 @@ class J0 extends _0 {
|
|
|
14224
14226
|
"innerRadius",
|
|
14225
14227
|
"outerRadius",
|
|
14226
14228
|
"circumference"
|
|
14227
|
-
], o), h = (this.options.spacing + this.options.borderWidth) / 2,
|
|
14228
|
-
return
|
|
14229
|
+
], o), h = (this.options.spacing + this.options.borderWidth) / 2, g = i2(f, c - l), p = nt(r, l, c) && l !== c, C = g >= f2 || p, b = G0(a, d + h, u + h);
|
|
14230
|
+
return C && b;
|
|
14229
14231
|
}
|
|
14230
14232
|
getCenterPoint(t) {
|
|
14231
14233
|
const { x: i, y: o, startAngle: s, endAngle: r, innerRadius: a, outerRadius: l } = this.getProps([
|
|
@@ -14316,29 +14318,29 @@ class j3 extends _0 {
|
|
|
14316
14318
|
let u = e;
|
|
14317
14319
|
s.textAlign = "left", s.textBaseline = "middle";
|
|
14318
14320
|
let f = -1, h = -d;
|
|
14319
|
-
return this.legendItems.forEach((
|
|
14320
|
-
const
|
|
14321
|
-
(
|
|
14321
|
+
return this.legendItems.forEach((g, p) => {
|
|
14322
|
+
const C = i + t / 2 + s.measureText(g.text).width;
|
|
14323
|
+
(p === 0 || c[c.length - 1] + C + 2 * a > r) && (u += d, c[c.length - (p > 0 ? 0 : 1)] = 0, h += d, f++), l[p] = {
|
|
14322
14324
|
left: 0,
|
|
14323
14325
|
top: h,
|
|
14324
14326
|
row: f,
|
|
14325
|
-
width:
|
|
14327
|
+
width: C,
|
|
14326
14328
|
height: o
|
|
14327
|
-
}, c[c.length - 1] +=
|
|
14329
|
+
}, c[c.length - 1] += C + a;
|
|
14328
14330
|
}), u;
|
|
14329
14331
|
}
|
|
14330
14332
|
_fitCols(e, t, i, o) {
|
|
14331
14333
|
const { ctx: s, maxHeight: r, options: { labels: { padding: a } } } = this, l = this.legendHitBoxes = [], c = this.columnSizes = [], d = r - e;
|
|
14332
|
-
let u = a, f = 0, h = 0,
|
|
14333
|
-
return this.legendItems.forEach((
|
|
14334
|
-
const { itemWidth: w, itemHeight: Z } = qa(i, t, s,
|
|
14334
|
+
let u = a, f = 0, h = 0, g = 0, p = 0;
|
|
14335
|
+
return this.legendItems.forEach((C, b) => {
|
|
14336
|
+
const { itemWidth: w, itemHeight: Z } = qa(i, t, s, C, o);
|
|
14335
14337
|
b > 0 && h + Z + 2 * a > d && (u += f + a, c.push({
|
|
14336
14338
|
width: f,
|
|
14337
14339
|
height: h
|
|
14338
|
-
}),
|
|
14339
|
-
left:
|
|
14340
|
+
}), g += f + a, p++, f = h = 0), l[b] = {
|
|
14341
|
+
left: g,
|
|
14340
14342
|
top: h,
|
|
14341
|
-
col:
|
|
14343
|
+
col: p,
|
|
14342
14344
|
width: w,
|
|
14343
14345
|
height: Z
|
|
14344
14346
|
}, f = Math.max(f, w), h += Z + a;
|
|
@@ -14374,32 +14376,32 @@ class j3 extends _0 {
|
|
|
14374
14376
|
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;
|
|
14375
14377
|
let h;
|
|
14376
14378
|
this.drawTitle(), o.textAlign = l.textAlign("left"), o.textBaseline = "middle", o.lineWidth = 0.5, o.font = c.string;
|
|
14377
|
-
const { boxWidth:
|
|
14378
|
-
if (isNaN(
|
|
14379
|
+
const { boxWidth: g, boxHeight: p, itemHeight: C } = R3(r, u), b = function(P, I, F) {
|
|
14380
|
+
if (isNaN(g) || g <= 0 || isNaN(p) || p < 0)
|
|
14379
14381
|
return;
|
|
14380
14382
|
o.save();
|
|
14381
14383
|
const E = i2(F.lineWidth, 1);
|
|
14382
14384
|
if (o.fillStyle = i2(F.fillStyle, a), o.lineCap = i2(F.lineCap, "butt"), o.lineDashOffset = i2(F.lineDashOffset, 0), o.lineJoin = i2(F.lineJoin, "miter"), o.lineWidth = E, o.strokeStyle = i2(F.strokeStyle, a), o.setLineDash(i2(F.lineDash, [])), r.usePointStyle) {
|
|
14383
14385
|
const j = {
|
|
14384
|
-
radius:
|
|
14386
|
+
radius: p * Math.SQRT2 / 2,
|
|
14385
14387
|
pointStyle: F.pointStyle,
|
|
14386
14388
|
rotation: F.rotation,
|
|
14387
14389
|
borderWidth: E
|
|
14388
|
-
}, R = l.xPlus(P,
|
|
14389
|
-
hi(o, j, R, T, r.pointStyleWidth &&
|
|
14390
|
+
}, R = l.xPlus(P, g / 2), T = I + f;
|
|
14391
|
+
hi(o, j, R, T, r.pointStyleWidth && g);
|
|
14390
14392
|
} else {
|
|
14391
|
-
const j = I + Math.max((u -
|
|
14393
|
+
const j = I + Math.max((u - p) / 2, 0), R = l.leftForLtr(P, g), T = L0(F.borderRadius);
|
|
14392
14394
|
o.beginPath(), Object.values(T).some((x) => x !== 0) ? ot(o, {
|
|
14393
14395
|
x: R,
|
|
14394
14396
|
y: j,
|
|
14395
|
-
w:
|
|
14396
|
-
h:
|
|
14397
|
+
w: g,
|
|
14398
|
+
h: p,
|
|
14397
14399
|
radius: T
|
|
14398
|
-
}) : o.rect(R, j,
|
|
14400
|
+
}) : o.rect(R, j, g, p), o.fill(), E !== 0 && o.stroke();
|
|
14399
14401
|
}
|
|
14400
14402
|
o.restore();
|
|
14401
14403
|
}, w = function(P, I, F) {
|
|
14402
|
-
E0(o, F.text, P, I +
|
|
14404
|
+
E0(o, F.text, P, I + C / 2, c, {
|
|
14403
14405
|
strikethrough: F.hidden,
|
|
14404
14406
|
textAlign: l.textAlign(F.textAlign)
|
|
14405
14407
|
});
|
|
@@ -14413,14 +14415,14 @@ class j3 extends _0 {
|
|
|
14413
14415
|
y: P2(s, this.top + S + d, this.bottom - t[0].height),
|
|
14414
14416
|
line: 0
|
|
14415
14417
|
}, mi(this.ctx, e.textDirection);
|
|
14416
|
-
const A =
|
|
14418
|
+
const A = C + d;
|
|
14417
14419
|
this.legendItems.forEach((P, I) => {
|
|
14418
14420
|
o.strokeStyle = P.fontColor, o.fillStyle = P.fontColor;
|
|
14419
|
-
const F = o.measureText(P.text).width, E = l.textAlign(P.textAlign || (P.textAlign = r.textAlign)), j =
|
|
14421
|
+
const F = o.measureText(P.text).width, E = l.textAlign(P.textAlign || (P.textAlign = r.textAlign)), j = g + f + F;
|
|
14420
14422
|
let R = h.x, T = h.y;
|
|
14421
14423
|
l.setWidth(this.width), Z ? I > 0 && R + j + d > this.right && (T = h.y += A, h.line++, R = h.x = P2(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 = P2(s, this.top + S + d, this.bottom - t[h.line].height));
|
|
14422
14424
|
const x = l.x(R);
|
|
14423
|
-
if (b(x, T, P), R = Br(E, R +
|
|
14425
|
+
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)
|
|
14424
14426
|
h.x += j + d;
|
|
14425
14427
|
else if (typeof P.text != "string") {
|
|
14426
14428
|
const L = c.lineHeight;
|
|
@@ -14438,8 +14440,8 @@ class j3 extends _0 {
|
|
|
14438
14440
|
if (this.isHorizontal())
|
|
14439
14441
|
f = Math.max(...this.lineWidths), d = this.top + c, u = P2(e.align, u, this.right - f);
|
|
14440
14442
|
else {
|
|
14441
|
-
const
|
|
14442
|
-
d = c + P2(e.align, this.top, this.bottom -
|
|
14443
|
+
const g = this.columnSizes.reduce((p, C) => Math.max(p, C.height), 0);
|
|
14444
|
+
d = c + P2(e.align, this.top, this.bottom - g - e.labels.padding - this._computeTitleHeight());
|
|
14443
14445
|
}
|
|
14444
14446
|
const h = P2(a, u, u + f);
|
|
14445
14447
|
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);
|
|
@@ -14650,22 +14652,22 @@ function el(n, e) {
|
|
|
14650
14652
|
};
|
|
14651
14653
|
}
|
|
14652
14654
|
function H3(n, e) {
|
|
14653
|
-
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,
|
|
14654
|
-
let
|
|
14655
|
-
if (b += n.beforeBody.length + n.afterBody.length, u && (
|
|
14655
|
+
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);
|
|
14656
|
+
let p = g.height, C = 0, b = i.reduce((S, A) => S + A.before.length + A.lines.length + A.after.length, 0);
|
|
14657
|
+
if (b += n.beforeBody.length + n.afterBody.length, u && (p += u * c.lineHeight + (u - 1) * e.titleSpacing + e.titleMarginBottom), b) {
|
|
14656
14658
|
const S = e.displayColors ? Math.max(a, l.lineHeight) : l.lineHeight;
|
|
14657
|
-
|
|
14659
|
+
p += h * S + (b - h) * l.lineHeight + (b - 1) * e.bodySpacing;
|
|
14658
14660
|
}
|
|
14659
|
-
f && (
|
|
14661
|
+
f && (p += e.footerMarginTop + f * d.lineHeight + (f - 1) * e.footerSpacing);
|
|
14660
14662
|
let w = 0;
|
|
14661
14663
|
const Z = function(S) {
|
|
14662
|
-
|
|
14664
|
+
C = Math.max(C, t.measureText(S).width + w);
|
|
14663
14665
|
};
|
|
14664
14666
|
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) => {
|
|
14665
14667
|
s2(S.before, Z), s2(S.lines, Z), s2(S.after, Z);
|
|
14666
|
-
}), w = 0, t.font = d.string, s2(n.footer, Z), t.restore(),
|
|
14667
|
-
width:
|
|
14668
|
-
height:
|
|
14668
|
+
}), w = 0, t.font = d.string, s2(n.footer, Z), t.restore(), C += g.width, {
|
|
14669
|
+
width: C,
|
|
14670
|
+
height: p
|
|
14669
14671
|
};
|
|
14670
14672
|
}
|
|
14671
14673
|
function tl(n, e) {
|
|
@@ -14699,11 +14701,11 @@ function sl(n, e, t) {
|
|
|
14699
14701
|
}
|
|
14700
14702
|
function N3(n, e, t, i) {
|
|
14701
14703
|
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);
|
|
14702
|
-
let
|
|
14703
|
-
const
|
|
14704
|
-
return l === "center" ? a === "left" ?
|
|
14705
|
-
x: O2(
|
|
14706
|
-
y: O2(
|
|
14704
|
+
let g = ol(e, a);
|
|
14705
|
+
const p = sl(e, l, c);
|
|
14706
|
+
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), {
|
|
14707
|
+
x: O2(g, 0, i.width - e.width),
|
|
14708
|
+
y: O2(p, 0, i.height - e.height)
|
|
14707
14709
|
};
|
|
14708
14710
|
}
|
|
14709
14711
|
function He(n, e, t) {
|
|
@@ -14866,10 +14868,10 @@ class i1 extends _0 {
|
|
|
14866
14868
|
t.lineTo(s.x1, s.y1), t.lineTo(s.x2, s.y2), t.lineTo(s.x3, s.y3);
|
|
14867
14869
|
}
|
|
14868
14870
|
getCaretPosition(e, t, i) {
|
|
14869
|
-
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:
|
|
14870
|
-
let
|
|
14871
|
-
return s === "center" ? (S = h +
|
|
14872
|
-
x1:
|
|
14871
|
+
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: p } = t;
|
|
14872
|
+
let C, b, w, Z, S, A;
|
|
14873
|
+
return s === "center" ? (S = h + p / 2, o === "left" ? (C = f, b = C - r, Z = S + r, A = S - r) : (C = f + g, b = C + r, Z = S - r, A = S + r), w = C) : (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, C = b - r, w = b + r) : (Z = h + p, S = Z + r, C = b + r, w = b - r), A = Z), {
|
|
14874
|
+
x1: C,
|
|
14873
14875
|
x2: b,
|
|
14874
14876
|
x3: w,
|
|
14875
14877
|
y1: Z,
|
|
@@ -14887,47 +14889,47 @@ class i1 extends _0 {
|
|
|
14887
14889
|
}
|
|
14888
14890
|
}
|
|
14889
14891
|
_drawColorBox(e, t, i, o, s) {
|
|
14890
|
-
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,
|
|
14892
|
+
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;
|
|
14891
14893
|
if (s.usePointStyle) {
|
|
14892
|
-
const
|
|
14894
|
+
const p = {
|
|
14893
14895
|
radius: Math.min(c, l) / 2,
|
|
14894
14896
|
pointStyle: a.pointStyle,
|
|
14895
14897
|
rotation: a.rotation,
|
|
14896
14898
|
borderWidth: 1
|
|
14897
|
-
},
|
|
14898
|
-
e.strokeStyle = s.multiKeyBackground, e.fillStyle = s.multiKeyBackground, c3(e,
|
|
14899
|
+
}, C = o.leftForLtr(f, c) + c / 2, b = g + l / 2;
|
|
14900
|
+
e.strokeStyle = s.multiKeyBackground, e.fillStyle = s.multiKeyBackground, c3(e, p, C, b), e.strokeStyle = r.borderColor, e.fillStyle = r.backgroundColor, c3(e, p, C, b);
|
|
14899
14901
|
} else {
|
|
14900
14902
|
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;
|
|
14901
|
-
const
|
|
14903
|
+
const p = o.leftForLtr(f, c), C = o.leftForLtr(o.xPlus(f, 1), c - 2), b = L0(r.borderRadius);
|
|
14902
14904
|
Object.values(b).some((w) => w !== 0) ? (e.beginPath(), e.fillStyle = s.multiKeyBackground, ot(e, {
|
|
14903
|
-
x:
|
|
14904
|
-
y:
|
|
14905
|
+
x: p,
|
|
14906
|
+
y: g,
|
|
14905
14907
|
w: c,
|
|
14906
14908
|
h: l,
|
|
14907
14909
|
radius: b
|
|
14908
14910
|
}), e.fill(), e.stroke(), e.fillStyle = r.backgroundColor, e.beginPath(), ot(e, {
|
|
14909
|
-
x:
|
|
14910
|
-
y:
|
|
14911
|
+
x: C,
|
|
14912
|
+
y: g + 1,
|
|
14911
14913
|
w: c - 2,
|
|
14912
14914
|
h: l - 2,
|
|
14913
14915
|
radius: b
|
|
14914
|
-
}), e.fill()) : (e.fillStyle = s.multiKeyBackground, e.fillRect(
|
|
14916
|
+
}), e.fill()) : (e.fillStyle = s.multiKeyBackground, e.fillRect(p, g, c, l), e.strokeRect(p, g, c, l), e.fillStyle = r.backgroundColor, e.fillRect(C, g + 1, c - 2, l - 2));
|
|
14915
14917
|
}
|
|
14916
14918
|
e.fillStyle = this.labelTextColors[i];
|
|
14917
14919
|
}
|
|
14918
14920
|
drawBody(e, t, i) {
|
|
14919
14921
|
const { body: o } = this, { bodySpacing: s, bodyAlign: r, displayColors: a, boxHeight: l, boxWidth: c, boxPadding: d } = i, u = _2(i.bodyFont);
|
|
14920
14922
|
let f = u.lineHeight, h = 0;
|
|
14921
|
-
const
|
|
14922
|
-
t.fillText(F,
|
|
14923
|
-
},
|
|
14923
|
+
const g = O0(i.rtl, this.x, this.width), p = function(F) {
|
|
14924
|
+
t.fillText(F, g.x(e.x + h), e.y + f / 2), e.y += f + s;
|
|
14925
|
+
}, C = g.textAlign(r);
|
|
14924
14926
|
let b, w, Z, S, A, P, I;
|
|
14925
|
-
for (t.textAlign = r, t.textBaseline = "middle", t.font = u.string, e.x = He(this,
|
|
14926
|
-
for (b = o[S], w = this.labelTextColors[S], t.fillStyle = w, s2(b.before,
|
|
14927
|
-
|
|
14928
|
-
s2(b.after,
|
|
14927
|
+
for (t.textAlign = r, t.textBaseline = "middle", t.font = u.string, e.x = He(this, C, i), t.fillStyle = i.bodyColor, s2(this.beforeBody, p), h = a && C !== "right" ? r === "center" ? c / 2 + d : c + 2 + d : 0, S = 0, P = o.length; S < P; ++S) {
|
|
14928
|
+
for (b = o[S], w = this.labelTextColors[S], t.fillStyle = w, s2(b.before, p), 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)
|
|
14929
|
+
p(Z[A]), f = u.lineHeight;
|
|
14930
|
+
s2(b.after, p);
|
|
14929
14931
|
}
|
|
14930
|
-
h = 0, f = u.lineHeight, s2(this.afterBody,
|
|
14932
|
+
h = 0, f = u.lineHeight, s2(this.afterBody, p), e.y -= s;
|
|
14931
14933
|
}
|
|
14932
14934
|
drawFooter(e, t, i) {
|
|
14933
14935
|
const o = this.footer, s = o.length;
|
|
@@ -14939,8 +14941,8 @@ class i1 extends _0 {
|
|
|
14939
14941
|
}
|
|
14940
14942
|
}
|
|
14941
14943
|
drawBackground(e, t, i, o) {
|
|
14942
|
-
const { xAlign: s, yAlign: r } = this, { x: a, y: l } = e, { width: c, height: d } = i, { topLeft: u, topRight: f, bottomLeft: h, bottomRight:
|
|
14943
|
-
t.fillStyle = o.backgroundColor, t.strokeStyle = o.borderColor, t.lineWidth = o.borderWidth, t.beginPath(), t.moveTo(a + u, l), r === "top" && this.drawCaret(e, t, i, o), t.lineTo(a + c - f, l), t.quadraticCurveTo(a + c, l, a + c, l + f), r === "center" && s === "right" && this.drawCaret(e, t, i, o), t.lineTo(a + c, l + d -
|
|
14944
|
+
const { xAlign: s, yAlign: r } = this, { x: a, y: l } = e, { width: c, height: d } = i, { topLeft: u, topRight: f, bottomLeft: h, bottomRight: g } = L0(o.cornerRadius);
|
|
14945
|
+
t.fillStyle = o.backgroundColor, t.strokeStyle = o.borderColor, t.lineWidth = o.borderWidth, t.beginPath(), t.moveTo(a + u, l), r === "top" && this.drawCaret(e, t, i, o), t.lineTo(a + c - f, l), t.quadraticCurveTo(a + c, l, a + c, l + f), r === "center" && s === "right" && this.drawCaret(e, t, i, o), t.lineTo(a + c, l + d - g), t.quadraticCurveTo(a + c, l + d, a + c - g, l + d), r === "bottom" && this.drawCaret(e, t, i, o), t.lineTo(a + h, l + d), t.quadraticCurveTo(a, l + d, a, l + d - h), r === "center" && s === "left" && this.drawCaret(e, t, i, o), t.lineTo(a, l + u), t.quadraticCurveTo(a, l, a + u, l), t.closePath(), t.fill(), o.borderWidth > 0 && t.stroke();
|
|
14944
14946
|
}
|
|
14945
14947
|
_updateAnimationTarget(e) {
|
|
14946
14948
|
const t = this.chart, i = this.$animations, o = i && i.x, s = i && i.y;
|
|
@@ -15130,18 +15132,18 @@ var al = {
|
|
|
15130
15132
|
]
|
|
15131
15133
|
};
|
|
15132
15134
|
function ll(n, e) {
|
|
15133
|
-
const t = [], { bounds: o, step: s, min: r, max: a, precision: l, count: c, maxTicks: d, maxDigits: u, includeBounds: f } = n, h = s || 1,
|
|
15134
|
-
let A = t3((
|
|
15135
|
+
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: p, max: C } = e, b = !d2(r), w = !d2(a), Z = !d2(c), S = (C - p) / (u + 1);
|
|
15136
|
+
let A = t3((C - p) / g / h) * h, P, I, F, E;
|
|
15135
15137
|
if (A < 1e-14 && !b && !w)
|
|
15136
15138
|
return [
|
|
15137
15139
|
{
|
|
15138
|
-
value:
|
|
15140
|
+
value: p
|
|
15139
15141
|
},
|
|
15140
15142
|
{
|
|
15141
|
-
value:
|
|
15143
|
+
value: C
|
|
15142
15144
|
}
|
|
15143
15145
|
];
|
|
15144
|
-
E = Math.ceil(
|
|
15146
|
+
E = Math.ceil(C / A) - Math.floor(p / 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(p / A) * A, F = Math.ceil(C / A) * A) : (I = p, F = C), b && w && s && _r((a - r) / s, A / 1e3) ? (E = Math.round(Math.min((a - r) / A, d)), A = (a - r) / E, I = r, F = a) : Z ? (I = b ? r : I, F = w ? a : F, E = c - 1, A = (F - I) / E) : (E = (F - I) / A, Ue(E, Math.round(E), A / 1e3) ? E = Math.round(E) : E = Math.ceil(E));
|
|
15145
15147
|
const j = Math.max(n3(A), n3(I));
|
|
15146
15148
|
P = Math.pow(10, d2(l) ? j : l), I = Math.round(I * P) / P, F = Math.round(F * P) / P;
|
|
15147
15149
|
let R = 0;
|
|
@@ -15378,8 +15380,8 @@ function hl(n) {
|
|
|
15378
15380
|
o[l] = c.padding;
|
|
15379
15381
|
const d = n.getPointPosition(l, n.drawingArea + o[l], a), u = _2(c.font), f = ul(n.ctx, u, n._pointLabels[l]);
|
|
15380
15382
|
i[l] = f;
|
|
15381
|
-
const h = I2(n.getIndexAngle(l) + a),
|
|
15382
|
-
fl(t, e, h,
|
|
15383
|
+
const h = I2(n.getIndexAngle(l) + a), g = Math.round(m1(h)), p = G3(g, d.x, f.w, 0, 180), C = G3(g, d.y, f.h, 90, 270);
|
|
15384
|
+
fl(t, e, h, p, C);
|
|
15383
15385
|
}
|
|
15384
15386
|
n.setCenterPoint(e.l - t.l, t.r - e.r, e.t - t.t, t.b - e.b), n._pointLabelItems = gl(n, i, o);
|
|
15385
15387
|
}
|
|
@@ -15447,7 +15449,7 @@ function vl(n, e, t) {
|
|
|
15447
15449
|
const l = L0(e.borderRadius), c = Z2(e.backdropPadding);
|
|
15448
15450
|
n.fillStyle = a;
|
|
15449
15451
|
const d = i - c.left, u = o - c.top, f = s - i + c.width, h = r - o + c.height;
|
|
15450
|
-
Object.values(l).some((
|
|
15452
|
+
Object.values(l).some((g) => g !== 0) ? (n.beginPath(), ot(n, {
|
|
15451
15453
|
x: d,
|
|
15452
15454
|
y: u,
|
|
15453
15455
|
w: f,
|
|
@@ -15584,8 +15586,8 @@ class ze extends lt {
|
|
|
15584
15586
|
if (t.pointLabels.display && Ml(this, r), o.display && this.ticks.forEach((d, u) => {
|
|
15585
15587
|
if (u !== 0 || u === 0 && this.min < 0) {
|
|
15586
15588
|
l = this.getDistanceFromCenterForValue(d.value);
|
|
15587
|
-
const f = this.getContext(u), h = o.setContext(f),
|
|
15588
|
-
xl(this, h, l, r,
|
|
15589
|
+
const f = this.getContext(u), h = o.setContext(f), g = s.setContext(f);
|
|
15590
|
+
xl(this, h, l, r, g);
|
|
15589
15591
|
}
|
|
15590
15592
|
}), i.display) {
|
|
15591
15593
|
for (e.save(), a = r - 1; a >= 0; a--) {
|
|
@@ -15831,10 +15833,10 @@ class ct extends z0 {
|
|
|
15831
15833
|
let u = t, f, h;
|
|
15832
15834
|
if (c && (u = +e.startOf(u, "isoWeek", l)), u = +e.startOf(u, c ? "day" : r), e.diff(i, t, r) > 1e5 * a)
|
|
15833
15835
|
throw new Error(t + " and " + i + " are too far apart with stepSize of " + a + " " + r);
|
|
15834
|
-
const
|
|
15836
|
+
const g = o.ticks.source === "data" && this.getDataTimestamps();
|
|
15835
15837
|
for (f = u, h = 0; f < i; f = +e.add(f, a, r), h++)
|
|
15836
|
-
tn(d, f,
|
|
15837
|
-
return (f === i || o.bounds === "ticks" || h === 1) && tn(d, f,
|
|
15838
|
+
tn(d, f, g);
|
|
15839
|
+
return (f === i || o.bounds === "ticks" || h === 1) && tn(d, f, g), Object.keys(d).sort(Q3).map((p) => +p);
|
|
15838
15840
|
}
|
|
15839
15841
|
getLabelForValue(e) {
|
|
15840
15842
|
const t = this._adapter, i = this.options.time;
|
|
@@ -16070,10 +16072,10 @@ const Il = t2({
|
|
|
16070
16072
|
const r = () => {
|
|
16071
16073
|
if (!o.value)
|
|
16072
16074
|
return;
|
|
16073
|
-
const { type: c, data: d, options: u, plugins: f, datasetIdKey: h } = n,
|
|
16075
|
+
const { type: c, data: d, options: u, plugins: f, datasetIdKey: h } = n, g = Bl(d, h), p = Tl(g, d);
|
|
16074
16076
|
s.value = new vt(o.value, {
|
|
16075
16077
|
type: c,
|
|
16076
|
-
data:
|
|
16078
|
+
data: p,
|
|
16077
16079
|
options: {
|
|
16078
16080
|
...u
|
|
16079
16081
|
},
|
|
@@ -16091,21 +16093,21 @@ const Il = t2({
|
|
|
16091
16093
|
() => n.options,
|
|
16092
16094
|
() => n.data
|
|
16093
16095
|
], (c, d) => {
|
|
16094
|
-
let [u, f] = c, [h,
|
|
16095
|
-
const
|
|
16096
|
-
if (!
|
|
16096
|
+
let [u, f] = c, [h, g] = d;
|
|
16097
|
+
const p = Ht(s.value);
|
|
16098
|
+
if (!p)
|
|
16097
16099
|
return;
|
|
16098
|
-
let
|
|
16100
|
+
let C = !1;
|
|
16099
16101
|
if (u) {
|
|
16100
16102
|
const b = T0(u), w = T0(h);
|
|
16101
|
-
b && b !== w && (Pl(
|
|
16103
|
+
b && b !== w && (Pl(p, b), C = !0);
|
|
16102
16104
|
}
|
|
16103
16105
|
if (f) {
|
|
16104
|
-
const b = T0(f.labels), w = T0(
|
|
16105
|
-
b !== w && (Li(
|
|
16106
|
+
const b = T0(f.labels), w = T0(g.labels), Z = T0(f.datasets), S = T0(g.datasets);
|
|
16107
|
+
b !== w && (Li(p.config.data, b), C = !0), Z && Z !== S && (Oi(p.config.data, Z, n.datasetIdKey), C = !0);
|
|
16106
16108
|
}
|
|
16107
|
-
|
|
16108
|
-
l(
|
|
16109
|
+
C && rn(() => {
|
|
16110
|
+
l(p);
|
|
16109
16111
|
});
|
|
16110
16112
|
}, {
|
|
16111
16113
|
deep: !0
|
|
@@ -16221,17 +16223,17 @@ const Ll = /* @__PURE__ */ Fi("doughnut", B0), Ol = /* @__PURE__ */ Fi("pie", e1
|
|
|
16221
16223
|
return z.variant === "Multi" && ((x = z.tabs) != null && x.length) ? ((L = z.tabs[r.value]) == null ? void 0 : L.chartType) ?? z.chartType ?? "doughnut" : z.chartType ?? "doughnut";
|
|
16222
16224
|
}
|
|
16223
16225
|
return t.variant === "Multi" && ((O = t.tabs) != null && O.length) ? ((H = t.tabs[r.value]) == null ? void 0 : H.chartType) ?? t.chartType ?? "doughnut" : t.chartType ?? "doughnut";
|
|
16224
|
-
}),
|
|
16226
|
+
}), g = k(() => {
|
|
16225
16227
|
var x;
|
|
16226
16228
|
return d.value && ((x = u.value) == null ? void 0 : x.variant) === "Multi" ? u.value.tabs ?? [] : t.tabs ?? [];
|
|
16227
|
-
}),
|
|
16229
|
+
}), p = k(() => {
|
|
16228
16230
|
var x, L, O, H;
|
|
16229
16231
|
if (d.value && u.value) {
|
|
16230
16232
|
const z = u.value;
|
|
16231
16233
|
return z.variant === "Multi" && ((x = z.tabs) != null && x.length) ? ((L = z.tabs[r.value]) == null ? void 0 : L.headline) ?? z.headline : z.headline;
|
|
16232
16234
|
}
|
|
16233
16235
|
return t.variant === "Multi" && ((O = t.tabs) != null && O.length) ? ((H = t.tabs[r.value]) == null ? void 0 : H.headline) ?? t.chartHeadline ?? t.headline : t.variant === "Section" ? t.chartHeadline ?? t.headline : t.headline;
|
|
16234
|
-
}),
|
|
16236
|
+
}), C = k(() => {
|
|
16235
16237
|
var x, L, O, H;
|
|
16236
16238
|
if (d.value && u.value) {
|
|
16237
16239
|
const z = u.value;
|
|
@@ -16331,7 +16333,7 @@ const Ll = /* @__PURE__ */ Fi("doughnut", B0), Ol = /* @__PURE__ */ Fi("pie", e1
|
|
|
16331
16333
|
innerHTML: x.subHeadline
|
|
16332
16334
|
}, null, 10, El)) : _("", !0)
|
|
16333
16335
|
], 64)) : _("", !0),
|
|
16334
|
-
R.value &&
|
|
16336
|
+
R.value && g.value.length > 1 ? (m(), v("div", Dl, [
|
|
16335
16337
|
$("div", {
|
|
16336
16338
|
class: M(
|
|
16337
16339
|
y(N)(
|
|
@@ -16340,7 +16342,7 @@ const Ll = /* @__PURE__ */ Fi("doughnut", B0), Ol = /* @__PURE__ */ Fi("pie", e1
|
|
|
16340
16342
|
)
|
|
16341
16343
|
)
|
|
16342
16344
|
}, [
|
|
16343
|
-
(m(!0), v(q, null, n2(
|
|
16345
|
+
(m(!0), v(q, null, n2(g.value, (O, H) => {
|
|
16344
16346
|
var z, G;
|
|
16345
16347
|
return m(), v("button", {
|
|
16346
16348
|
key: O.label,
|
|
@@ -16368,7 +16370,7 @@ const Ll = /* @__PURE__ */ Fi("doughnut", B0), Ol = /* @__PURE__ */ Fi("pie", e1
|
|
|
16368
16370
|
)
|
|
16369
16371
|
)
|
|
16370
16372
|
}, [
|
|
16371
|
-
|
|
16373
|
+
p.value ? (m(), v("div", jl, [
|
|
16372
16374
|
d.value ? (m(), v("button", {
|
|
16373
16375
|
key: 0,
|
|
16374
16376
|
class: M(
|
|
@@ -16396,12 +16398,12 @@ const Ll = /* @__PURE__ */ Fi("doughnut", B0), Ol = /* @__PURE__ */ Fi("pie", e1
|
|
|
16396
16398
|
]), 2)) : _("", !0),
|
|
16397
16399
|
$("h2", {
|
|
16398
16400
|
class: "text-iris text-3xl md:text-4xl font-bold leading-tight",
|
|
16399
|
-
innerHTML:
|
|
16401
|
+
innerHTML: p.value
|
|
16400
16402
|
}, null, 8, Hl)
|
|
16401
16403
|
])) : _("", !0),
|
|
16402
16404
|
$("div", zl, [
|
|
16403
16405
|
$("div", Nl, [
|
|
16404
|
-
|
|
16406
|
+
C.value ? (m(), v("h3", {
|
|
16405
16407
|
key: 0,
|
|
16406
16408
|
class: M(
|
|
16407
16409
|
y(N)(
|
|
@@ -16409,7 +16411,7 @@ const Ll = /* @__PURE__ */ Fi("doughnut", B0), Ol = /* @__PURE__ */ Fi("pie", e1
|
|
|
16409
16411
|
s.value.subheadline ?? ""
|
|
16410
16412
|
)
|
|
16411
16413
|
),
|
|
16412
|
-
innerHTML:
|
|
16414
|
+
innerHTML: C.value
|
|
16413
16415
|
}, null, 10, Vl)) : _("", !0),
|
|
16414
16416
|
b.value ? (m(), v("p", {
|
|
16415
16417
|
key: 1,
|
|
@@ -16514,11 +16516,14 @@ const Ll = /* @__PURE__ */ Fi("doughnut", B0), Ol = /* @__PURE__ */ Fi("pie", e1
|
|
|
16514
16516
|
TileContentTextTile: Z5,
|
|
16515
16517
|
TileContentVideoTile: S5,
|
|
16516
16518
|
Video: gt
|
|
16517
|
-
}, Symbol.toStringTag, { value: "Module" })), C7 =
|
|
16519
|
+
}, Symbol.toStringTag, { value: "Module" })), C7 = {
|
|
16520
|
+
ContactUs: "Contact Us",
|
|
16521
|
+
ContactUsForm: "Contact Us Form"
|
|
16522
|
+
}, g7 = (n) => {
|
|
16518
16523
|
Object.entries(Jl).forEach(([e, t]) => {
|
|
16519
16524
|
n.component(e, t);
|
|
16520
16525
|
});
|
|
16521
|
-
},
|
|
16526
|
+
}, m7 = (n, e) => {
|
|
16522
16527
|
const t = (o, s) => {
|
|
16523
16528
|
for (const r of Object.keys(s))
|
|
16524
16529
|
typeof s[r] == "object" ? t(o[r], s[r]) : o[r] = s[r];
|
|
@@ -16572,6 +16577,7 @@ export {
|
|
|
16572
16577
|
o7 as ModuleTypeName,
|
|
16573
16578
|
s0 as NavigationElement,
|
|
16574
16579
|
kn as NavigationElementPt,
|
|
16580
|
+
C7 as PlaceholderModuleName,
|
|
16575
16581
|
n5 as PrimaryNavigation,
|
|
16576
16582
|
Z4 as PrimaryNavigationPt,
|
|
16577
16583
|
qt as SocialMediaRef,
|
|
@@ -16603,8 +16609,8 @@ export {
|
|
|
16603
16609
|
gn as combineAccordionPassthroughs,
|
|
16604
16610
|
W as combinePassthroughs,
|
|
16605
16611
|
u1 as getTarget,
|
|
16606
|
-
|
|
16612
|
+
g7 as initGlobalComponents,
|
|
16607
16613
|
n7 as overridePalette,
|
|
16608
|
-
|
|
16614
|
+
m7 as overridePassthrough,
|
|
16609
16615
|
C2 as withColorPalette
|
|
16610
16616
|
};
|