@cooperco/cooper-component-library 0.1.96 → 0.1.98

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