@cooperco/cooper-component-library 0.1.89 → 0.1.90
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cms/0077-add-feature-variant-to-container-module.cjs +37 -0
- package/dist/cms/contentful/migrations/scripts/0077-add-feature-variant-to-container-module.cjs +37 -0
- package/dist/cms/contentful/queries/fragments.js +7 -1
- package/dist/cms/contentful/queries/fragments.ts +7 -1
- package/dist/cms/fragments.ts +7 -1
- package/dist/cms/migrations/scripts/0077-add-feature-variant-to-container-module.cjs +37 -0
- package/dist/cms/queries/fragments.ts +7 -1
- package/dist/cms/scripts/0077-add-feature-variant-to-container-module.cjs +37 -0
- package/dist/lib/component-lib.js +647 -626
- package/dist/lib/component-lib.umd.cjs +1 -1
- package/dist/lib/style.css +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var ja = Object.defineProperty;
|
|
2
2
|
var Fa = (n, t, e) => t in n ? ja(n, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[t] = e;
|
|
3
3
|
var W = (n, t, e) => (Fa(n, typeof t != "symbol" ? t + "" : t, e), e);
|
|
4
|
-
import { ref as J, readonly as rr, getCurrentInstance as ro, onMounted as di, nextTick as ar, watch as Zt, mergeProps as L, openBlock as b, createElementBlock as x, renderSlot as vt, createTextVNode as De, toDisplayString as K, createElementVNode as
|
|
4
|
+
import { ref as J, readonly as rr, getCurrentInstance as ro, onMounted as di, nextTick as ar, watch as Zt, mergeProps as L, openBlock as b, createElementBlock as x, renderSlot as vt, createTextVNode as De, toDisplayString as K, createElementVNode as T, resolveComponent as zi, resolveDirective as lr, withDirectives as At, normalizeClass as _, createBlock as R, createCommentVNode as k, defineComponent as tt, computed as A, resolveDynamicComponent as bt, unref as v, withCtx as dt, Fragment as X, renderList as et, withModifiers as ln, vShow as Nt, normalizeProps as xe, getCurrentScope as Ha, onScopeDispose as za, toRef as Na, customRef as Va, normalizeStyle as kt, createSlots as Re, createVNode as Ot, guardReactiveProps as Wa, useAttrs as Ua, version as Ya, shallowRef as cr, onUnmounted as Ka, toRaw as Ni, h as Vi, isProxy as ur } from "vue";
|
|
5
5
|
const ao = "-", qa = (n) => {
|
|
6
6
|
const t = Ga(n), {
|
|
7
7
|
conflictingClassGroups: e,
|
|
@@ -180,8 +180,8 @@ const ao = "-", qa = (n) => {
|
|
|
180
180
|
continue;
|
|
181
181
|
s.push(w);
|
|
182
182
|
const $ = o(g, p);
|
|
183
|
-
for (let
|
|
184
|
-
const S = $[
|
|
183
|
+
for (let M = 0; M < $.length; ++M) {
|
|
184
|
+
const S = $[M];
|
|
185
185
|
s.push(y + S);
|
|
186
186
|
}
|
|
187
187
|
a = c + (a.length > 0 ? " " + a : a);
|
|
@@ -231,7 +231,7 @@ const lt = (n) => {
|
|
|
231
231
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
232
232
|
ul.test(n) && !dl.test(n)
|
|
233
233
|
), gr = () => !1, wl = (n) => hl.test(n), Cl = (n) => fl.test(n), kl = () => {
|
|
234
|
-
const n = lt("colors"), t = lt("spacing"), e = lt("blur"), i = lt("brightness"), o = lt("borderColor"), s = lt("borderRadius"), r = lt("borderSpacing"), a = lt("borderWidth"), l = lt("contrast"), c = lt("grayscale"), u = lt("hueRotate"), d = lt("invert"), h = lt("gap"), f = lt("gradientColorStops"), p = lt("gradientColorStopPositions"), g = lt("inset"), m = lt("margin"), y = lt("opacity"), w = lt("padding"), $ = lt("saturate"),
|
|
234
|
+
const n = lt("colors"), t = lt("spacing"), e = lt("blur"), i = lt("brightness"), o = lt("borderColor"), s = lt("borderRadius"), r = lt("borderSpacing"), a = lt("borderWidth"), l = lt("contrast"), c = lt("grayscale"), u = lt("hueRotate"), d = lt("invert"), h = lt("gap"), f = lt("gradientColorStops"), p = lt("gradientColorStopPositions"), g = lt("inset"), m = lt("margin"), y = lt("opacity"), w = lt("padding"), $ = lt("saturate"), M = lt("scale"), S = lt("sepia"), I = lt("skew"), O = lt("space"), D = lt("translate"), E = () => ["auto", "contain", "none"], j = () => ["auto", "hidden", "clip", "visible", "scroll"], H = () => ["auto", q, t], C = () => [q, t], P = () => ["", Yt, Jt], F = () => ["auto", Ie, q], B = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], z = () => ["solid", "dashed", "dotted", "double", "none"], N = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], st = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], G = () => ["", "0", q], Dt = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], wt = () => [Ie, q];
|
|
235
235
|
return {
|
|
236
236
|
cacheSize: 500,
|
|
237
237
|
separator: ":",
|
|
@@ -288,14 +288,14 @@ const lt = (n) => {
|
|
|
288
288
|
* @see https://tailwindcss.com/docs/break-after
|
|
289
289
|
*/
|
|
290
290
|
"break-after": [{
|
|
291
|
-
"break-after":
|
|
291
|
+
"break-after": Dt()
|
|
292
292
|
}],
|
|
293
293
|
/**
|
|
294
294
|
* Break Before
|
|
295
295
|
* @see https://tailwindcss.com/docs/break-before
|
|
296
296
|
*/
|
|
297
297
|
"break-before": [{
|
|
298
|
-
"break-before":
|
|
298
|
+
"break-before": Dt()
|
|
299
299
|
}],
|
|
300
300
|
/**
|
|
301
301
|
* Break Inside
|
|
@@ -354,7 +354,7 @@ const lt = (n) => {
|
|
|
354
354
|
* @see https://tailwindcss.com/docs/object-position
|
|
355
355
|
*/
|
|
356
356
|
"object-position": [{
|
|
357
|
-
object: [...
|
|
357
|
+
object: [...B(), q]
|
|
358
358
|
}],
|
|
359
359
|
/**
|
|
360
360
|
* Overflow
|
|
@@ -1163,7 +1163,7 @@ const lt = (n) => {
|
|
|
1163
1163
|
* @see https://tailwindcss.com/docs/background-position
|
|
1164
1164
|
*/
|
|
1165
1165
|
"bg-position": [{
|
|
1166
|
-
bg: [...
|
|
1166
|
+
bg: [...B(), bl]
|
|
1167
1167
|
}],
|
|
1168
1168
|
/**
|
|
1169
1169
|
* Background Repeat
|
|
@@ -1855,21 +1855,21 @@ const lt = (n) => {
|
|
|
1855
1855
|
* @see https://tailwindcss.com/docs/scale
|
|
1856
1856
|
*/
|
|
1857
1857
|
scale: [{
|
|
1858
|
-
scale: [
|
|
1858
|
+
scale: [M]
|
|
1859
1859
|
}],
|
|
1860
1860
|
/**
|
|
1861
1861
|
* Scale X
|
|
1862
1862
|
* @see https://tailwindcss.com/docs/scale
|
|
1863
1863
|
*/
|
|
1864
1864
|
"scale-x": [{
|
|
1865
|
-
"scale-x": [
|
|
1865
|
+
"scale-x": [M]
|
|
1866
1866
|
}],
|
|
1867
1867
|
/**
|
|
1868
1868
|
* Scale Y
|
|
1869
1869
|
* @see https://tailwindcss.com/docs/scale
|
|
1870
1870
|
*/
|
|
1871
1871
|
"scale-y": [{
|
|
1872
|
-
"scale-y": [
|
|
1872
|
+
"scale-y": [M]
|
|
1873
1873
|
}],
|
|
1874
1874
|
/**
|
|
1875
1875
|
* Rotate
|
|
@@ -2865,15 +2865,15 @@ const Il = {
|
|
|
2865
2865
|
}
|
|
2866
2866
|
}
|
|
2867
2867
|
};
|
|
2868
|
-
let
|
|
2868
|
+
let cn = Il;
|
|
2869
2869
|
const gt = (n) => {
|
|
2870
|
-
const { backgroundColor: t } = n, e = t ?? Gn, i =
|
|
2870
|
+
const { backgroundColor: t } = n, e = t ?? Gn, i = cn[e] ?? cn[Gn];
|
|
2871
2871
|
return {
|
|
2872
2872
|
backgroundColor: e,
|
|
2873
2873
|
palette: i
|
|
2874
2874
|
};
|
|
2875
2875
|
}, tb = (n, t) => {
|
|
2876
|
-
|
|
2876
|
+
cn = n, t ? Gn = t : Gn = Object.keys(n)[0];
|
|
2877
2877
|
};
|
|
2878
2878
|
function ki(n, t) {
|
|
2879
2879
|
var e = typeof Symbol < "u" && n[Symbol.iterator] || n["@@iterator"];
|
|
@@ -3846,13 +3846,13 @@ function Ul() {
|
|
|
3846
3846
|
var n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "pv_id_";
|
|
3847
3847
|
return Do++, "".concat(n).concat(Do);
|
|
3848
3848
|
}
|
|
3849
|
-
function
|
|
3849
|
+
function un(n) {
|
|
3850
3850
|
"@babel/helpers - typeof";
|
|
3851
|
-
return
|
|
3851
|
+
return un = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
|
|
3852
3852
|
return typeof t;
|
|
3853
3853
|
} : function(t) {
|
|
3854
3854
|
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
3855
|
-
},
|
|
3855
|
+
}, un(n);
|
|
3856
3856
|
}
|
|
3857
3857
|
function Eo(n, t) {
|
|
3858
3858
|
var e = Object.keys(n);
|
|
@@ -3880,15 +3880,15 @@ function Yl(n, t, e) {
|
|
|
3880
3880
|
}
|
|
3881
3881
|
function Kl(n) {
|
|
3882
3882
|
var t = ql(n, "string");
|
|
3883
|
-
return
|
|
3883
|
+
return un(t) == "symbol" ? t : String(t);
|
|
3884
3884
|
}
|
|
3885
3885
|
function ql(n, t) {
|
|
3886
|
-
if (
|
|
3886
|
+
if (un(n) != "object" || !n)
|
|
3887
3887
|
return n;
|
|
3888
3888
|
var e = n[Symbol.toPrimitive];
|
|
3889
3889
|
if (e !== void 0) {
|
|
3890
3890
|
var i = e.call(n, t || "default");
|
|
3891
|
-
if (
|
|
3891
|
+
if (un(i) != "object")
|
|
3892
3892
|
return i;
|
|
3893
3893
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
3894
3894
|
}
|
|
@@ -3900,16 +3900,16 @@ function Xl(n) {
|
|
|
3900
3900
|
}
|
|
3901
3901
|
var Gl = 0;
|
|
3902
3902
|
function jr(n) {
|
|
3903
|
-
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, e = J(!1), i = J(n), o = J(null), s = it.isClient() ? window.document : void 0, r = t.document, a = r === void 0 ? s : r, l = t.immediate, c = l === void 0 ? !0 : l, u = t.manual, d = u === void 0 ? !1 : u, h = t.name, f = h === void 0 ? "style_".concat(++Gl) : h, p = t.id, g = p === void 0 ? void 0 : p, m = t.media, y = m === void 0 ? void 0 : m, w = t.nonce, $ = w === void 0 ? void 0 : w,
|
|
3903
|
+
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, e = J(!1), i = J(n), o = J(null), s = it.isClient() ? window.document : void 0, r = t.document, a = r === void 0 ? s : r, l = t.immediate, c = l === void 0 ? !0 : l, u = t.manual, d = u === void 0 ? !1 : u, h = t.name, f = h === void 0 ? "style_".concat(++Gl) : h, p = t.id, g = p === void 0 ? void 0 : p, m = t.media, y = m === void 0 ? void 0 : m, w = t.nonce, $ = w === void 0 ? void 0 : w, M = t.props, S = M === void 0 ? {} : M, I = function() {
|
|
3904
3904
|
}, O = function(j) {
|
|
3905
3905
|
var H = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
3906
3906
|
if (a) {
|
|
3907
|
-
var C = Bo(Bo({}, S), H), P = C.name || f, F = C.id || g,
|
|
3907
|
+
var C = Bo(Bo({}, S), H), P = C.name || f, F = C.id || g, B = C.nonce || $;
|
|
3908
3908
|
o.value = a.querySelector('style[data-primevue-style-id="'.concat(P, '"]')) || a.getElementById(F) || a.createElement("style"), o.value.isConnected || (i.value = j || n, it.setAttributes(o.value, {
|
|
3909
3909
|
type: "text/css",
|
|
3910
3910
|
id: F,
|
|
3911
3911
|
media: y,
|
|
3912
|
-
nonce:
|
|
3912
|
+
nonce: B
|
|
3913
3913
|
}), a.head.appendChild(o.value), it.setAttribute(o.value, "data-primevue-style-id", f), it.setAttributes(o.value, C)), !e.value && (I = Zt(i, function(z) {
|
|
3914
3914
|
o.value.textContent = z;
|
|
3915
3915
|
}, {
|
|
@@ -3928,13 +3928,13 @@ function jr(n) {
|
|
|
3928
3928
|
isLoaded: rr(e)
|
|
3929
3929
|
};
|
|
3930
3930
|
}
|
|
3931
|
-
function
|
|
3931
|
+
function dn(n) {
|
|
3932
3932
|
"@babel/helpers - typeof";
|
|
3933
|
-
return
|
|
3933
|
+
return dn = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
|
|
3934
3934
|
return typeof t;
|
|
3935
3935
|
} : function(t) {
|
|
3936
3936
|
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
3937
|
-
},
|
|
3937
|
+
}, dn(n);
|
|
3938
3938
|
}
|
|
3939
3939
|
function Zl(n, t) {
|
|
3940
3940
|
return ec(n) || tc(n, t) || Jl(n, t) || Ql();
|
|
@@ -4012,15 +4012,15 @@ function nc(n, t, e) {
|
|
|
4012
4012
|
}
|
|
4013
4013
|
function ic(n) {
|
|
4014
4014
|
var t = oc(n, "string");
|
|
4015
|
-
return
|
|
4015
|
+
return dn(t) == "symbol" ? t : String(t);
|
|
4016
4016
|
}
|
|
4017
4017
|
function oc(n, t) {
|
|
4018
|
-
if (
|
|
4018
|
+
if (dn(n) != "object" || !n)
|
|
4019
4019
|
return n;
|
|
4020
4020
|
var e = n[Symbol.toPrimitive];
|
|
4021
4021
|
if (e !== void 0) {
|
|
4022
4022
|
var i = e.call(n, t || "default");
|
|
4023
|
-
if (
|
|
4023
|
+
if (dn(i) != "object")
|
|
4024
4024
|
return i;
|
|
4025
4025
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
4026
4026
|
}
|
|
@@ -4094,13 +4094,13 @@ var sc = `
|
|
|
4094
4094
|
name: "badge",
|
|
4095
4095
|
classes: lc
|
|
4096
4096
|
});
|
|
4097
|
-
function
|
|
4097
|
+
function hn(n) {
|
|
4098
4098
|
"@babel/helpers - typeof";
|
|
4099
|
-
return
|
|
4099
|
+
return hn = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
|
|
4100
4100
|
return typeof t;
|
|
4101
4101
|
} : function(t) {
|
|
4102
4102
|
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
4103
|
-
},
|
|
4103
|
+
}, hn(n);
|
|
4104
4104
|
}
|
|
4105
4105
|
function Fo(n, t) {
|
|
4106
4106
|
var e = Object.keys(n);
|
|
@@ -4128,15 +4128,15 @@ function dc(n, t, e) {
|
|
|
4128
4128
|
}
|
|
4129
4129
|
function hc(n) {
|
|
4130
4130
|
var t = fc(n, "string");
|
|
4131
|
-
return
|
|
4131
|
+
return hn(t) == "symbol" ? t : String(t);
|
|
4132
4132
|
}
|
|
4133
4133
|
function fc(n, t) {
|
|
4134
|
-
if (
|
|
4134
|
+
if (hn(n) != "object" || !n)
|
|
4135
4135
|
return n;
|
|
4136
4136
|
var e = n[Symbol.toPrimitive];
|
|
4137
4137
|
if (e !== void 0) {
|
|
4138
4138
|
var i = e.call(n, t || "default");
|
|
4139
|
-
if (
|
|
4139
|
+
if (hn(i) != "object")
|
|
4140
4140
|
return i;
|
|
4141
4141
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
4142
4142
|
}
|
|
@@ -4151,13 +4151,13 @@ var Mi = Wt.extend({
|
|
|
4151
4151
|
}, e));
|
|
4152
4152
|
}
|
|
4153
4153
|
});
|
|
4154
|
-
function
|
|
4154
|
+
function fn(n) {
|
|
4155
4155
|
"@babel/helpers - typeof";
|
|
4156
|
-
return
|
|
4156
|
+
return fn = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
|
|
4157
4157
|
return typeof t;
|
|
4158
4158
|
} : function(t) {
|
|
4159
4159
|
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
4160
|
-
},
|
|
4160
|
+
}, fn(n);
|
|
4161
4161
|
}
|
|
4162
4162
|
function pc(n) {
|
|
4163
4163
|
return zr(n) || gc(n) || Hr(n) || Fr();
|
|
@@ -4166,7 +4166,7 @@ function gc(n) {
|
|
|
4166
4166
|
if (typeof Symbol < "u" && n[Symbol.iterator] != null || n["@@iterator"] != null)
|
|
4167
4167
|
return Array.from(n);
|
|
4168
4168
|
}
|
|
4169
|
-
function
|
|
4169
|
+
function Pn(n, t) {
|
|
4170
4170
|
return zr(n) || mc(n, t) || Hr(n, t) || Fr();
|
|
4171
4171
|
}
|
|
4172
4172
|
function Fr() {
|
|
@@ -4234,33 +4234,33 @@ function ct(n) {
|
|
|
4234
4234
|
for (var t = 1; t < arguments.length; t++) {
|
|
4235
4235
|
var e = arguments[t] != null ? arguments[t] : {};
|
|
4236
4236
|
t % 2 ? zo(Object(e), !0).forEach(function(i) {
|
|
4237
|
-
|
|
4237
|
+
Un(n, i, e[i]);
|
|
4238
4238
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(n, Object.getOwnPropertyDescriptors(e)) : zo(Object(e)).forEach(function(i) {
|
|
4239
4239
|
Object.defineProperty(n, i, Object.getOwnPropertyDescriptor(e, i));
|
|
4240
4240
|
});
|
|
4241
4241
|
}
|
|
4242
4242
|
return n;
|
|
4243
4243
|
}
|
|
4244
|
-
function
|
|
4244
|
+
function Un(n, t, e) {
|
|
4245
4245
|
return t = bc(t), t in n ? Object.defineProperty(n, t, { value: e, enumerable: !0, configurable: !0, writable: !0 }) : n[t] = e, n;
|
|
4246
4246
|
}
|
|
4247
4247
|
function bc(n) {
|
|
4248
4248
|
var t = yc(n, "string");
|
|
4249
|
-
return
|
|
4249
|
+
return fn(t) == "symbol" ? t : String(t);
|
|
4250
4250
|
}
|
|
4251
4251
|
function yc(n, t) {
|
|
4252
|
-
if (
|
|
4252
|
+
if (fn(n) != "object" || !n)
|
|
4253
4253
|
return n;
|
|
4254
4254
|
var e = n[Symbol.toPrimitive];
|
|
4255
4255
|
if (e !== void 0) {
|
|
4256
4256
|
var i = e.call(n, t || "default");
|
|
4257
|
-
if (
|
|
4257
|
+
if (fn(i) != "object")
|
|
4258
4258
|
return i;
|
|
4259
4259
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
4260
4260
|
}
|
|
4261
4261
|
return (t === "string" ? String : Number)(n);
|
|
4262
4262
|
}
|
|
4263
|
-
var
|
|
4263
|
+
var kn = {
|
|
4264
4264
|
name: "BaseComponent",
|
|
4265
4265
|
props: {
|
|
4266
4266
|
pt: {
|
|
@@ -4375,7 +4375,7 @@ var Cn = {
|
|
|
4375
4375
|
},
|
|
4376
4376
|
_getPTDatasets: function() {
|
|
4377
4377
|
var t, e, i = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", o = "data-pc-", s = i === "root" && Y.isNotEmpty((t = this.pt) === null || t === void 0 ? void 0 : t["data-pc-section"]);
|
|
4378
|
-
return i !== "transition" && ct(ct({}, i === "root" && ct(
|
|
4378
|
+
return i !== "transition" && ct(ct({}, i === "root" && ct(Un({}, "".concat(o, "name"), Y.toFlatCase(s ? (e = this.pt) === null || e === void 0 ? void 0 : e["data-pc-section"] : this.$.type.name)), s && Un({}, "".concat(o, "extend"), Y.toFlatCase(this.$.type.name)))), {}, Un({}, "".concat(o, "section"), Y.toFlatCase(i)));
|
|
4379
4379
|
},
|
|
4380
4380
|
_getPTClassValue: function() {
|
|
4381
4381
|
var t = this._getOptionValue.apply(this, arguments);
|
|
@@ -4491,10 +4491,10 @@ var Cn = {
|
|
|
4491
4491
|
},
|
|
4492
4492
|
$_attrsPT: function() {
|
|
4493
4493
|
return Object.entries(this.$attrs || {}).filter(function(t) {
|
|
4494
|
-
var e =
|
|
4494
|
+
var e = Pn(t, 1), i = e[0];
|
|
4495
4495
|
return i == null ? void 0 : i.startsWith("pt:");
|
|
4496
4496
|
}).reduce(function(t, e) {
|
|
4497
|
-
var i =
|
|
4497
|
+
var i = Pn(e, 2), o = i[0], s = i[1], r = o.split(":"), a = pc(r), l = a.slice(1);
|
|
4498
4498
|
return l == null || l.reduce(function(c, u, d, h) {
|
|
4499
4499
|
return !c[u] && (c[u] = d === h.length - 1 ? s : {}), c[u];
|
|
4500
4500
|
}, t), t;
|
|
@@ -4502,17 +4502,17 @@ var Cn = {
|
|
|
4502
4502
|
},
|
|
4503
4503
|
$_attrsNoPT: function() {
|
|
4504
4504
|
return Object.entries(this.$attrs || {}).filter(function(t) {
|
|
4505
|
-
var e =
|
|
4505
|
+
var e = Pn(t, 1), i = e[0];
|
|
4506
4506
|
return !(i != null && i.startsWith("pt:"));
|
|
4507
4507
|
}).reduce(function(t, e) {
|
|
4508
|
-
var i =
|
|
4508
|
+
var i = Pn(e, 2), o = i[0], s = i[1];
|
|
4509
4509
|
return t[o] = s, t;
|
|
4510
4510
|
}, {});
|
|
4511
4511
|
}
|
|
4512
4512
|
}
|
|
4513
4513
|
}, vc = {
|
|
4514
4514
|
name: "BaseBadge",
|
|
4515
|
-
extends:
|
|
4515
|
+
extends: kn,
|
|
4516
4516
|
props: {
|
|
4517
4517
|
value: {
|
|
4518
4518
|
type: [String, Number],
|
|
@@ -4581,13 +4581,13 @@ var _c = `
|
|
|
4581
4581
|
name: "baseicon",
|
|
4582
4582
|
css: _c
|
|
4583
4583
|
});
|
|
4584
|
-
function
|
|
4584
|
+
function pn(n) {
|
|
4585
4585
|
"@babel/helpers - typeof";
|
|
4586
|
-
return
|
|
4586
|
+
return pn = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
|
|
4587
4587
|
return typeof t;
|
|
4588
4588
|
} : function(t) {
|
|
4589
4589
|
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
4590
|
-
},
|
|
4590
|
+
}, pn(n);
|
|
4591
4591
|
}
|
|
4592
4592
|
function No(n, t) {
|
|
4593
4593
|
var e = Object.keys(n);
|
|
@@ -4615,23 +4615,23 @@ function Cc(n, t, e) {
|
|
|
4615
4615
|
}
|
|
4616
4616
|
function kc(n) {
|
|
4617
4617
|
var t = $c(n, "string");
|
|
4618
|
-
return
|
|
4618
|
+
return pn(t) == "symbol" ? t : String(t);
|
|
4619
4619
|
}
|
|
4620
4620
|
function $c(n, t) {
|
|
4621
|
-
if (
|
|
4621
|
+
if (pn(n) != "object" || !n)
|
|
4622
4622
|
return n;
|
|
4623
4623
|
var e = n[Symbol.toPrimitive];
|
|
4624
4624
|
if (e !== void 0) {
|
|
4625
4625
|
var i = e.call(n, t || "default");
|
|
4626
|
-
if (
|
|
4626
|
+
if (pn(i) != "object")
|
|
4627
4627
|
return i;
|
|
4628
4628
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
4629
4629
|
}
|
|
4630
4630
|
return (t === "string" ? String : Number)(n);
|
|
4631
4631
|
}
|
|
4632
|
-
var
|
|
4632
|
+
var $n = {
|
|
4633
4633
|
name: "BaseIcon",
|
|
4634
|
-
extends:
|
|
4634
|
+
extends: kn,
|
|
4635
4635
|
props: {
|
|
4636
4636
|
label: {
|
|
4637
4637
|
type: String,
|
|
@@ -4659,8 +4659,8 @@ var kn = {
|
|
|
4659
4659
|
}
|
|
4660
4660
|
}, Vr = {
|
|
4661
4661
|
name: "SpinnerIcon",
|
|
4662
|
-
extends:
|
|
4663
|
-
}, Sc = /* @__PURE__ */
|
|
4662
|
+
extends: $n
|
|
4663
|
+
}, Sc = /* @__PURE__ */ T("path", {
|
|
4664
4664
|
d: "M6.99701 14C5.85441 13.999 4.72939 13.7186 3.72012 13.1832C2.71084 12.6478 1.84795 11.8737 1.20673 10.9284C0.565504 9.98305 0.165424 8.89526 0.041387 7.75989C-0.0826496 6.62453 0.073125 5.47607 0.495122 4.4147C0.917119 3.35333 1.59252 2.4113 2.46241 1.67077C3.33229 0.930247 4.37024 0.413729 5.4857 0.166275C6.60117 -0.0811796 7.76026 -0.0520535 8.86188 0.251112C9.9635 0.554278 10.9742 1.12227 11.8057 1.90555C11.915 2.01493 11.9764 2.16319 11.9764 2.31778C11.9764 2.47236 11.915 2.62062 11.8057 2.73C11.7521 2.78503 11.688 2.82877 11.6171 2.85864C11.5463 2.8885 11.4702 2.90389 11.3933 2.90389C11.3165 2.90389 11.2404 2.8885 11.1695 2.85864C11.0987 2.82877 11.0346 2.78503 10.9809 2.73C9.9998 1.81273 8.73246 1.26138 7.39226 1.16876C6.05206 1.07615 4.72086 1.44794 3.62279 2.22152C2.52471 2.99511 1.72683 4.12325 1.36345 5.41602C1.00008 6.70879 1.09342 8.08723 1.62775 9.31926C2.16209 10.5513 3.10478 11.5617 4.29713 12.1803C5.48947 12.7989 6.85865 12.988 8.17414 12.7157C9.48963 12.4435 10.6711 11.7264 11.5196 10.6854C12.3681 9.64432 12.8319 8.34282 12.8328 7C12.8328 6.84529 12.8943 6.69692 13.0038 6.58752C13.1132 6.47812 13.2616 6.41667 13.4164 6.41667C13.5712 6.41667 13.7196 6.47812 13.8291 6.58752C13.9385 6.69692 14 6.84529 14 7C14 8.85651 13.2622 10.637 11.9489 11.9497C10.6356 13.2625 8.85432 14 6.99701 14Z",
|
|
4665
4665
|
fill: "currentColor"
|
|
4666
4666
|
}, null, -1), Tc = [Sc];
|
|
@@ -4674,13 +4674,13 @@ function Mc(n, t, e, i, o, s) {
|
|
|
4674
4674
|
}, n.pti()), Tc, 16);
|
|
4675
4675
|
}
|
|
4676
4676
|
Vr.render = Mc;
|
|
4677
|
-
function
|
|
4677
|
+
function gn(n) {
|
|
4678
4678
|
"@babel/helpers - typeof";
|
|
4679
|
-
return
|
|
4679
|
+
return gn = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
|
|
4680
4680
|
return typeof t;
|
|
4681
4681
|
} : function(t) {
|
|
4682
4682
|
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
4683
|
-
},
|
|
4683
|
+
}, gn(n);
|
|
4684
4684
|
}
|
|
4685
4685
|
function Wo(n, t) {
|
|
4686
4686
|
return Lc(n) || Ic(n, t) || Pc(n, t) || Ac();
|
|
@@ -4758,15 +4758,15 @@ function Ki(n, t, e) {
|
|
|
4758
4758
|
}
|
|
4759
4759
|
function Oc(n) {
|
|
4760
4760
|
var t = Dc(n, "string");
|
|
4761
|
-
return
|
|
4761
|
+
return gn(t) == "symbol" ? t : String(t);
|
|
4762
4762
|
}
|
|
4763
4763
|
function Dc(n, t) {
|
|
4764
|
-
if (
|
|
4764
|
+
if (gn(n) != "object" || !n)
|
|
4765
4765
|
return n;
|
|
4766
4766
|
var e = n[Symbol.toPrimitive];
|
|
4767
4767
|
if (e !== void 0) {
|
|
4768
4768
|
var i = e.call(n, t || "default");
|
|
4769
|
-
if (
|
|
4769
|
+
if (gn(i) != "object")
|
|
4770
4770
|
return i;
|
|
4771
4771
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
4772
4772
|
}
|
|
@@ -5028,28 +5028,28 @@ var Wr = Rc.extend("ripple", {
|
|
|
5028
5028
|
}
|
|
5029
5029
|
}
|
|
5030
5030
|
});
|
|
5031
|
-
function
|
|
5031
|
+
function mn(n) {
|
|
5032
5032
|
"@babel/helpers - typeof";
|
|
5033
|
-
return
|
|
5033
|
+
return mn = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
|
|
5034
5034
|
return typeof t;
|
|
5035
5035
|
} : function(t) {
|
|
5036
5036
|
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
5037
|
-
},
|
|
5037
|
+
}, mn(n);
|
|
5038
5038
|
}
|
|
5039
5039
|
function ee(n, t, e) {
|
|
5040
5040
|
return t = Vc(t), t in n ? Object.defineProperty(n, t, { value: e, enumerable: !0, configurable: !0, writable: !0 }) : n[t] = e, n;
|
|
5041
5041
|
}
|
|
5042
5042
|
function Vc(n) {
|
|
5043
5043
|
var t = Wc(n, "string");
|
|
5044
|
-
return
|
|
5044
|
+
return mn(t) == "symbol" ? t : String(t);
|
|
5045
5045
|
}
|
|
5046
5046
|
function Wc(n, t) {
|
|
5047
|
-
if (
|
|
5047
|
+
if (mn(n) != "object" || !n)
|
|
5048
5048
|
return n;
|
|
5049
5049
|
var e = n[Symbol.toPrimitive];
|
|
5050
5050
|
if (e !== void 0) {
|
|
5051
5051
|
var i = e.call(n, t || "default");
|
|
5052
|
-
if (
|
|
5052
|
+
if (mn(i) != "object")
|
|
5053
5053
|
return i;
|
|
5054
5054
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
5055
5055
|
}
|
|
@@ -5083,7 +5083,7 @@ var Uc = {
|
|
|
5083
5083
|
classes: Uc
|
|
5084
5084
|
}), Kc = {
|
|
5085
5085
|
name: "BaseButton",
|
|
5086
|
-
extends:
|
|
5086
|
+
extends: kn,
|
|
5087
5087
|
props: {
|
|
5088
5088
|
label: {
|
|
5089
5089
|
type: String,
|
|
@@ -5210,7 +5210,7 @@ function Xc(n, t, e, i, o, s) {
|
|
|
5210
5210
|
return [n.loadingIcon ? (b(), x("span", L({
|
|
5211
5211
|
key: 0,
|
|
5212
5212
|
class: [n.cx("loadingIcon"), n.cx("icon"), n.loadingIcon]
|
|
5213
|
-
}, n.ptm("loadingIcon")), null, 16)) : (b(),
|
|
5213
|
+
}, n.ptm("loadingIcon")), null, 16)) : (b(), R(r, L({
|
|
5214
5214
|
key: 1,
|
|
5215
5215
|
class: [n.cx("loadingIcon"), n.cx("icon")],
|
|
5216
5216
|
spin: ""
|
|
@@ -5223,9 +5223,9 @@ function Xc(n, t, e, i, o, s) {
|
|
|
5223
5223
|
key: 0,
|
|
5224
5224
|
class: [n.cx("icon"), n.icon, n.iconClass]
|
|
5225
5225
|
}, n.ptm("icon")), null, 16)) : k("", !0)];
|
|
5226
|
-
}),
|
|
5226
|
+
}), T("span", L({
|
|
5227
5227
|
class: n.cx("label")
|
|
5228
|
-
}, n.ptm("label")), K(n.label || " "), 17), n.badge ? (b(),
|
|
5228
|
+
}, n.ptm("label")), K(n.label || " "), 17), n.badge ? (b(), R(a, L({
|
|
5229
5229
|
key: 2,
|
|
5230
5230
|
value: n.badge,
|
|
5231
5231
|
class: n.badgeClass,
|
|
@@ -5235,7 +5235,7 @@ function Xc(n, t, e, i, o, s) {
|
|
|
5235
5235
|
})], 16, qc)), [[l]]);
|
|
5236
5236
|
}
|
|
5237
5237
|
fi.render = Xc;
|
|
5238
|
-
const Gc = ["innerHTML"],
|
|
5238
|
+
const Gc = ["innerHTML"], bn = /* @__PURE__ */ tt({
|
|
5239
5239
|
__name: "Accordion",
|
|
5240
5240
|
props: {
|
|
5241
5241
|
__typename: {},
|
|
@@ -5267,7 +5267,7 @@ const Gc = ["innerHTML"], mn = /* @__PURE__ */ tt({
|
|
|
5267
5267
|
};
|
|
5268
5268
|
return (d, h) => {
|
|
5269
5269
|
var f;
|
|
5270
|
-
return b(),
|
|
5270
|
+
return b(), R(bt(d.isChild ? "div" : "section"), {
|
|
5271
5271
|
class: _(`accordion-module ${((f = o.value) == null ? void 0 : f.root) ?? ""} bg-${v(s)} ${d.isChild ? "" : "p-16"} ${t.class ?? ""}`)
|
|
5272
5272
|
}, {
|
|
5273
5273
|
default: dt(() => {
|
|
@@ -5285,7 +5285,7 @@ const Gc = ["innerHTML"], mn = /* @__PURE__ */ tt({
|
|
|
5285
5285
|
(b(!0), x(X, null, et(d.modules, (m, y) => (b(), x(X, {
|
|
5286
5286
|
key: `${m.headline}-${y}`
|
|
5287
5287
|
}, [
|
|
5288
|
-
d.type === "Tile" || y <= c.value ? (b(),
|
|
5288
|
+
d.type === "Tile" || y <= c.value ? (b(), R(bt(`Accordion${d.type}Item`), L({
|
|
5289
5289
|
key: 0,
|
|
5290
5290
|
ref_for: !0
|
|
5291
5291
|
}, m, {
|
|
@@ -5301,7 +5301,7 @@ const Gc = ["innerHTML"], mn = /* @__PURE__ */ tt({
|
|
|
5301
5301
|
onToggleAccordion: (w) => l(y)
|
|
5302
5302
|
}), null, 16, ["item-number", "is-first", "is-last", "is-child", "icon-default", "icon-active", "total-items", "open-accordion-index", "background-color", "onToggleAccordion"])) : k("", !0)
|
|
5303
5303
|
], 64))), 128)),
|
|
5304
|
-
d.modules.length > 5 ? (b(),
|
|
5304
|
+
d.modules.length > 5 ? (b(), R(v(fi), {
|
|
5305
5305
|
key: 0,
|
|
5306
5306
|
label: t.loadMoreButtonTitle ?? "Load More",
|
|
5307
5307
|
class: "mt-10 text-lily rounded-[2rem] bg-rosemary py-2 px-10 whitespace-nowrap float-left max-w-[fit-content] text-xl",
|
|
@@ -5371,28 +5371,28 @@ const Gc = ["innerHTML"], mn = /* @__PURE__ */ tt({
|
|
|
5371
5371
|
[`${e.class ?? ""}`]: !0
|
|
5372
5372
|
})
|
|
5373
5373
|
}, [
|
|
5374
|
-
|
|
5374
|
+
T("h3", {
|
|
5375
5375
|
id: `accordion-collapse-headline-${c.itemNumber}`,
|
|
5376
5376
|
class: _(`flex accordion-item-headline ${((d = i.value) == null ? void 0 : d.headline) ?? ""}`)
|
|
5377
5377
|
}, [
|
|
5378
|
-
|
|
5378
|
+
T("button", {
|
|
5379
5379
|
type: "button",
|
|
5380
5380
|
class: _(`flex items-center w-full ${((h = i.value) == null ? void 0 : h.button) ?? ""} justify-between`),
|
|
5381
5381
|
"data-accordion-target": "#accordion-collapse-body-1",
|
|
5382
5382
|
"aria-expanded": !0,
|
|
5383
5383
|
"aria-controls": `accordion-collapse-body-${c.itemNumber}`,
|
|
5384
|
-
onClick: u[0] || (u[0] =
|
|
5384
|
+
onClick: u[0] || (u[0] = ln(($) => o.value = !o.value, ["prevent"]))
|
|
5385
5385
|
}, [
|
|
5386
|
-
|
|
5387
|
-
|
|
5386
|
+
T("span", null, K(c.headline), 1),
|
|
5387
|
+
T("div", {
|
|
5388
5388
|
class: _(`${((f = i.value) == null ? void 0 : f.icon) ?? ""}`)
|
|
5389
5389
|
}, [
|
|
5390
|
-
At(
|
|
5390
|
+
At(T("i", {
|
|
5391
5391
|
class: _(`pi ${c.iconDefault}`)
|
|
5392
5392
|
}, null, 2), [
|
|
5393
5393
|
[Nt, !o.value]
|
|
5394
5394
|
]),
|
|
5395
|
-
At(
|
|
5395
|
+
At(T("i", {
|
|
5396
5396
|
class: _(`pi ${c.iconActive}`)
|
|
5397
5397
|
}, null, 2), [
|
|
5398
5398
|
[Nt, o.value]
|
|
@@ -5400,12 +5400,12 @@ const Gc = ["innerHTML"], mn = /* @__PURE__ */ tt({
|
|
|
5400
5400
|
], 2)
|
|
5401
5401
|
], 10, Qc)
|
|
5402
5402
|
], 10, Zc),
|
|
5403
|
-
|
|
5403
|
+
T("div", {
|
|
5404
5404
|
id: `accordion-collapse-body-${c.itemNumber}`,
|
|
5405
5405
|
class: _(`accordion-item-body ${o.value ? "show" : "hidden"} ${((p = i.value) == null ? void 0 : p.bodyCopy) ?? ""}`),
|
|
5406
5406
|
"aria-labelledby": `accordion-collapse-heading-${c.itemNumber}`
|
|
5407
5407
|
}, [
|
|
5408
|
-
r.value ? (b(),
|
|
5408
|
+
r.value ? (b(), R(bn, xe(L({ key: 0 }, r.value)), null, 16)) : (b(), x(X, { key: 1 }, [
|
|
5409
5409
|
De(K(c.bodyCopy), 1)
|
|
5410
5410
|
], 64))
|
|
5411
5411
|
], 10, Jc)
|
|
@@ -5419,28 +5419,28 @@ const Gc = ["innerHTML"], mn = /* @__PURE__ */ tt({
|
|
|
5419
5419
|
[`accordion-item-width-${Math.floor(100 / e.totalItems)}`]: !0
|
|
5420
5420
|
}, "accordion-item group"])
|
|
5421
5421
|
}, [
|
|
5422
|
-
|
|
5422
|
+
T("h3", {
|
|
5423
5423
|
id: `accordion-collapse-headline-${c.itemNumber}`,
|
|
5424
5424
|
class: _(`flex accordion-item-headline ${((g = i.value) == null ? void 0 : g.headline) ?? ""}`)
|
|
5425
5425
|
}, [
|
|
5426
|
-
|
|
5426
|
+
T("button", {
|
|
5427
5427
|
type: "button",
|
|
5428
5428
|
class: _(`flex items-center w-full ${((m = i.value) == null ? void 0 : m.button) ?? ""} ${e.isListType ? "justify-between" : "justify-center"}`),
|
|
5429
5429
|
"data-accordion-target": "#accordion-collapse-body-1",
|
|
5430
5430
|
"aria-expanded": c.openAccordionIndex === c.itemNumber,
|
|
5431
5431
|
"aria-controls": `accordion-collapse-body-${c.itemNumber}`,
|
|
5432
|
-
onClick: u[1] || (u[1] =
|
|
5432
|
+
onClick: u[1] || (u[1] = ln(($) => l(c.itemNumber), ["prevent"]))
|
|
5433
5433
|
}, [
|
|
5434
|
-
|
|
5435
|
-
|
|
5434
|
+
T("span", null, K(c.headline), 1),
|
|
5435
|
+
T("div", {
|
|
5436
5436
|
class: _(`${((y = i.value) == null ? void 0 : y.icon) ?? ""}`)
|
|
5437
5437
|
}, [
|
|
5438
|
-
At(
|
|
5438
|
+
At(T("i", {
|
|
5439
5439
|
class: _(`pi ${c.iconDefault}`)
|
|
5440
5440
|
}, null, 2), [
|
|
5441
5441
|
[Nt, c.openAccordionIndex !== c.itemNumber]
|
|
5442
5442
|
]),
|
|
5443
|
-
At(
|
|
5443
|
+
At(T("i", {
|
|
5444
5444
|
class: _(`pi ${c.iconActive}`)
|
|
5445
5445
|
}, null, 2), [
|
|
5446
5446
|
[Nt, c.openAccordionIndex === c.itemNumber]
|
|
@@ -5448,12 +5448,12 @@ const Gc = ["innerHTML"], mn = /* @__PURE__ */ tt({
|
|
|
5448
5448
|
], 2)
|
|
5449
5449
|
], 10, eu)
|
|
5450
5450
|
], 10, tu),
|
|
5451
|
-
|
|
5451
|
+
T("div", {
|
|
5452
5452
|
id: `accordion-collapse-body-${c.itemNumber}`,
|
|
5453
5453
|
class: _(`accordion-item-body ${c.openAccordionIndex !== c.itemNumber ? "hidden" : "active"} ${((w = i.value) == null ? void 0 : w.bodyCopy) ?? ""}`),
|
|
5454
5454
|
"aria-labelledby": `accordion-collapse-heading-${c.itemNumber}`
|
|
5455
5455
|
}, [
|
|
5456
|
-
r.value ? (b(),
|
|
5456
|
+
r.value ? (b(), R(bn, xe(L({ key: 0 }, r.value)), null, 16)) : (b(), x(X, { key: 1 }, [
|
|
5457
5457
|
De(K(c.bodyCopy), 1)
|
|
5458
5458
|
], 64))
|
|
5459
5459
|
], 10, nu)
|
|
@@ -5578,22 +5578,22 @@ const hu = /* @__PURE__ */ tt({
|
|
|
5578
5578
|
return b(), x("div", {
|
|
5579
5579
|
class: _(`w-full overflow-hidden ${t.class ?? ""}`)
|
|
5580
5580
|
}, [
|
|
5581
|
-
|
|
5581
|
+
T("div", {
|
|
5582
5582
|
ref_key: "content",
|
|
5583
5583
|
ref: e,
|
|
5584
5584
|
class: _(`should-animate ${v(i) ? "animate" : ""}`)
|
|
5585
5585
|
}, [
|
|
5586
|
-
o.component && ((r = o.component) != null && r.__typename) ? (b(),
|
|
5586
|
+
o.component && ((r = o.component) != null && r.__typename) ? (b(), R(bt(o.component.__typename), L({ key: 0 }, o.component, { "is-child": !0 }), null, 16)) : vt(o.$slots, "default", { key: 1 }, void 0, !0)
|
|
5587
5587
|
], 2)
|
|
5588
5588
|
], 2);
|
|
5589
5589
|
};
|
|
5590
5590
|
}
|
|
5591
|
-
}),
|
|
5591
|
+
}), Sn = (n, t) => {
|
|
5592
5592
|
const e = n.__vccOpts || n;
|
|
5593
5593
|
for (const [i, o] of t)
|
|
5594
5594
|
e[i] = o;
|
|
5595
5595
|
return e;
|
|
5596
|
-
}, Kr = /* @__PURE__ */
|
|
5596
|
+
}, Kr = /* @__PURE__ */ Sn(hu, [["__scopeId", "data-v-38a806d4"]]), fu = ["src", "alt"], pu = ["src", "alt"], gu = ["src", "alt"], $t = /* @__PURE__ */ tt({
|
|
5597
5597
|
inheritAttrs: !1,
|
|
5598
5598
|
__name: "Image",
|
|
5599
5599
|
props: {
|
|
@@ -5629,14 +5629,14 @@ const hu = /* @__PURE__ */ tt({
|
|
|
5629
5629
|
var d, h;
|
|
5630
5630
|
const u = Kr;
|
|
5631
5631
|
return b(), x(X, null, [
|
|
5632
|
-
l.animated ? (b(),
|
|
5632
|
+
l.animated ? (b(), R(u, {
|
|
5633
5633
|
key: 0,
|
|
5634
5634
|
class: _(l.$props.class)
|
|
5635
5635
|
}, {
|
|
5636
5636
|
default: dt(() => {
|
|
5637
5637
|
var f;
|
|
5638
5638
|
return [
|
|
5639
|
-
|
|
5639
|
+
T("img", {
|
|
5640
5640
|
class: _(t.class),
|
|
5641
5641
|
src: (f = l.media) == null ? void 0 : f.url,
|
|
5642
5642
|
alt: l.altTag,
|
|
@@ -5735,31 +5735,31 @@ const hu = /* @__PURE__ */ tt({
|
|
|
5735
5735
|
[`${t.class ?? ""}`]: !0
|
|
5736
5736
|
})
|
|
5737
5737
|
}, [
|
|
5738
|
-
|
|
5738
|
+
T("div", {
|
|
5739
5739
|
id: `accordion-collapse-headline-${a.itemNumber}`,
|
|
5740
5740
|
class: _(`flex accordion-item-headline ${((u = e.value) == null ? void 0 : u.headline) ?? ""}`)
|
|
5741
5741
|
}, [
|
|
5742
|
-
a.image ? (b(),
|
|
5742
|
+
a.image ? (b(), R($t, L({ key: 0 }, a.image, {
|
|
5743
5743
|
class: `${((d = e.value) == null ? void 0 : d.image) ?? ""}`
|
|
5744
5744
|
}), null, 16, ["class"])) : k("", !0),
|
|
5745
|
-
|
|
5745
|
+
T("button", {
|
|
5746
5746
|
type: "button",
|
|
5747
5747
|
class: _(`flex items-center justify-between w-full text-${v(i).subheadline} ${((h = e.value) == null ? void 0 : h.button) ?? ""}`),
|
|
5748
5748
|
"data-accordion-target": "#accordion-collapse-body-1",
|
|
5749
5749
|
"aria-expanded": "true",
|
|
5750
5750
|
"aria-controls": `accordion-collapse-body-${a.itemNumber}`,
|
|
5751
|
-
onClick: l[0] || (l[0] =
|
|
5751
|
+
onClick: l[0] || (l[0] = ln((g) => o.value = !o.value, ["prevent"]))
|
|
5752
5752
|
}, [
|
|
5753
|
-
|
|
5754
|
-
|
|
5753
|
+
T("span", null, K(a.headline), 1),
|
|
5754
|
+
T("div", {
|
|
5755
5755
|
class: _(`${((f = e.value) == null ? void 0 : f.icon) ?? ""} text-${v(i).bullet}`)
|
|
5756
5756
|
}, [
|
|
5757
|
-
At(
|
|
5757
|
+
At(T("i", {
|
|
5758
5758
|
class: _(`pi ${a.iconDefault}`)
|
|
5759
5759
|
}, null, 2), [
|
|
5760
5760
|
[Nt, !o.value]
|
|
5761
5761
|
]),
|
|
5762
|
-
At(
|
|
5762
|
+
At(T("i", {
|
|
5763
5763
|
class: _(`pi ${a.iconActive}`)
|
|
5764
5764
|
}, null, 2), [
|
|
5765
5765
|
[Nt, o.value]
|
|
@@ -5767,12 +5767,12 @@ const hu = /* @__PURE__ */ tt({
|
|
|
5767
5767
|
], 2)
|
|
5768
5768
|
], 10, bu)
|
|
5769
5769
|
], 10, mu),
|
|
5770
|
-
|
|
5770
|
+
T("div", {
|
|
5771
5771
|
id: `accordion-collapse-body-${a.itemNumber}`,
|
|
5772
5772
|
class: _(`accordion-item-body text-${v(i).copy} ${o.value ? "active" : "hidden"} ${((p = e.value) == null ? void 0 : p.bodyCopy) ?? ""}`),
|
|
5773
5773
|
"aria-labelledby": `accordion-collapse-heading-${a.itemNumber}`
|
|
5774
5774
|
}, [
|
|
5775
|
-
r.value ? (b(),
|
|
5775
|
+
r.value ? (b(), R(bn, xe(L({ key: 0 }, r.value)), null, 16)) : (b(), x("div", {
|
|
5776
5776
|
key: 1,
|
|
5777
5777
|
innerHTML: a.bodyCopy
|
|
5778
5778
|
}, null, 8, vu))
|
|
@@ -5830,7 +5830,7 @@ const hu = /* @__PURE__ */ tt({
|
|
|
5830
5830
|
l("toggleAccordion", u);
|
|
5831
5831
|
};
|
|
5832
5832
|
return (u, d) => {
|
|
5833
|
-
var h, f, p, g, m, y, w, $,
|
|
5833
|
+
var h, f, p, g, m, y, w, $, M, S;
|
|
5834
5834
|
return b(), x("div", {
|
|
5835
5835
|
class: _({
|
|
5836
5836
|
[`accordion-item-${u.itemNumber}`]: !0,
|
|
@@ -5843,40 +5843,40 @@ const hu = /* @__PURE__ */ tt({
|
|
|
5843
5843
|
[`${e.class ?? ""}`]: !0
|
|
5844
5844
|
})
|
|
5845
5845
|
}, [
|
|
5846
|
-
|
|
5846
|
+
T("div", {
|
|
5847
5847
|
id: `accordion-collapse-headline-${u.itemNumber}`,
|
|
5848
5848
|
class: _(`flex accordion-item-headline text-2xl p-8 !mb-0 md:p-16 ${((f = i.value) == null ? void 0 : f.headline) ?? ""} bg-${(p = v(o).interactive) == null ? void 0 : p.bg}`)
|
|
5849
5849
|
}, [
|
|
5850
|
-
u.image ? (b(),
|
|
5850
|
+
u.image ? (b(), R($t, L({ key: 0 }, u.image, {
|
|
5851
5851
|
class: `${((g = i.value) == null ? void 0 : g.image) ?? ""}`
|
|
5852
5852
|
}), null, 16, ["class"])) : k("", !0),
|
|
5853
|
-
|
|
5853
|
+
T("button", {
|
|
5854
5854
|
type: "button",
|
|
5855
5855
|
class: _(`flex items-center w-full ${((m = i.value) == null ? void 0 : m.button) ?? ""} text-${(y = v(o).interactive) == null ? void 0 : y.copy}`),
|
|
5856
5856
|
"data-accordion-target": "#accordion-collapse-body-1",
|
|
5857
5857
|
"aria-expanded": "true",
|
|
5858
5858
|
"aria-controls": `accordion-collapse-body-${u.itemNumber}`,
|
|
5859
|
-
onClick: d[0] || (d[0] =
|
|
5859
|
+
onClick: d[0] || (d[0] = ln((I) => c(u.itemNumber), ["prevent"]))
|
|
5860
5860
|
}, [
|
|
5861
|
-
|
|
5862
|
-
|
|
5861
|
+
T("span", null, K(u.headline), 1),
|
|
5862
|
+
T("div", {
|
|
5863
5863
|
class: _((w = i.value) == null ? void 0 : w.icon)
|
|
5864
5864
|
}, [
|
|
5865
|
-
At(
|
|
5865
|
+
At(T("i", Cu, null, 512), [
|
|
5866
5866
|
[Nt, u.openAccordionIndex !== u.itemNumber]
|
|
5867
5867
|
]),
|
|
5868
|
-
At(
|
|
5868
|
+
At(T("i", ku, null, 512), [
|
|
5869
5869
|
[Nt, u.openAccordionIndex === u.itemNumber]
|
|
5870
5870
|
])
|
|
5871
5871
|
], 2)
|
|
5872
5872
|
], 10, wu)
|
|
5873
5873
|
], 10, _u),
|
|
5874
|
-
|
|
5874
|
+
T("div", {
|
|
5875
5875
|
id: `accordion-collapse-body-${u.itemNumber}`,
|
|
5876
|
-
class: _(`accordion-item-body ${s.value ? "active" : "hidden"} z-30 ${(($ = i.value) == null ? void 0 : $.bodyCopy) ?? ""} bg-${(
|
|
5876
|
+
class: _(`accordion-item-body ${s.value ? "active" : "hidden"} z-30 ${(($ = i.value) == null ? void 0 : $.bodyCopy) ?? ""} bg-${(M = v(o).interactive) == null ? void 0 : M.bg} text-${(S = v(o).interactive) == null ? void 0 : S.copy}`),
|
|
5877
5877
|
"aria-labelledby": `accordion-collapse-heading-${u.itemNumber}`
|
|
5878
5878
|
}, [
|
|
5879
|
-
a.value ? (b(),
|
|
5879
|
+
a.value ? (b(), R(bn, xe(L({ key: 0 }, a.value)), null, 16)) : (b(), x("div", {
|
|
5880
5880
|
key: 1,
|
|
5881
5881
|
innerHTML: u.bodyCopy
|
|
5882
5882
|
}, null, 8, Su))
|
|
@@ -5887,8 +5887,8 @@ const hu = /* @__PURE__ */ tt({
|
|
|
5887
5887
|
});
|
|
5888
5888
|
var qr = {
|
|
5889
5889
|
name: "ChevronDownIcon",
|
|
5890
|
-
extends:
|
|
5891
|
-
}, Mu = /* @__PURE__ */
|
|
5890
|
+
extends: $n
|
|
5891
|
+
}, Mu = /* @__PURE__ */ T("path", {
|
|
5892
5892
|
d: "M7.01744 10.398C6.91269 10.3985 6.8089 10.378 6.71215 10.3379C6.61541 10.2977 6.52766 10.2386 6.45405 10.1641L1.13907 4.84913C1.03306 4.69404 0.985221 4.5065 1.00399 4.31958C1.02276 4.13266 1.10693 3.95838 1.24166 3.82747C1.37639 3.69655 1.55301 3.61742 1.74039 3.60402C1.92777 3.59062 2.11386 3.64382 2.26584 3.75424L7.01744 8.47394L11.769 3.75424C11.9189 3.65709 12.097 3.61306 12.2748 3.62921C12.4527 3.64535 12.6199 3.72073 12.7498 3.84328C12.8797 3.96582 12.9647 4.12842 12.9912 4.30502C13.0177 4.48162 12.9841 4.662 12.8958 4.81724L7.58083 10.1322C7.50996 10.2125 7.42344 10.2775 7.32656 10.3232C7.22968 10.3689 7.12449 10.3944 7.01744 10.398Z",
|
|
5893
5893
|
fill: "currentColor"
|
|
5894
5894
|
}, null, -1), Au = [Mu];
|
|
@@ -5904,8 +5904,8 @@ function Pu(n, t, e, i, o, s) {
|
|
|
5904
5904
|
qr.render = Pu;
|
|
5905
5905
|
var Xr = {
|
|
5906
5906
|
name: "ChevronLeftIcon",
|
|
5907
|
-
extends:
|
|
5908
|
-
}, Iu = /* @__PURE__ */
|
|
5907
|
+
extends: $n
|
|
5908
|
+
}, Iu = /* @__PURE__ */ T("path", {
|
|
5909
5909
|
d: "M9.61296 13C9.50997 13.0005 9.40792 12.9804 9.3128 12.9409C9.21767 12.9014 9.13139 12.8433 9.05902 12.7701L3.83313 7.54416C3.68634 7.39718 3.60388 7.19795 3.60388 6.99022C3.60388 6.78249 3.68634 6.58325 3.83313 6.43628L9.05902 1.21039C9.20762 1.07192 9.40416 0.996539 9.60724 1.00012C9.81032 1.00371 10.0041 1.08597 10.1477 1.22959C10.2913 1.37322 10.3736 1.56698 10.3772 1.77005C10.3808 1.97313 10.3054 2.16968 10.1669 2.31827L5.49496 6.99022L10.1669 11.6622C10.3137 11.8091 10.3962 12.0084 10.3962 12.2161C10.3962 12.4238 10.3137 12.6231 10.1669 12.7701C10.0945 12.8433 10.0083 12.9014 9.91313 12.9409C9.81801 12.9804 9.71596 13.0005 9.61296 13Z",
|
|
5910
5910
|
fill: "currentColor"
|
|
5911
5911
|
}, null, -1), Lu = [Iu];
|
|
@@ -5921,8 +5921,8 @@ function Ou(n, t, e, i, o, s) {
|
|
|
5921
5921
|
Xr.render = Ou;
|
|
5922
5922
|
var Gr = {
|
|
5923
5923
|
name: "ChevronRightIcon",
|
|
5924
|
-
extends:
|
|
5925
|
-
}, Du = /* @__PURE__ */
|
|
5924
|
+
extends: $n
|
|
5925
|
+
}, Du = /* @__PURE__ */ T("path", {
|
|
5926
5926
|
d: "M4.38708 13C4.28408 13.0005 4.18203 12.9804 4.08691 12.9409C3.99178 12.9014 3.9055 12.8433 3.83313 12.7701C3.68634 12.6231 3.60388 12.4238 3.60388 12.2161C3.60388 12.0084 3.68634 11.8091 3.83313 11.6622L8.50507 6.99022L3.83313 2.31827C3.69467 2.16968 3.61928 1.97313 3.62287 1.77005C3.62645 1.56698 3.70872 1.37322 3.85234 1.22959C3.99596 1.08597 4.18972 1.00371 4.3928 1.00012C4.59588 0.996539 4.79242 1.07192 4.94102 1.21039L10.1669 6.43628C10.3137 6.58325 10.3962 6.78249 10.3962 6.99022C10.3962 7.19795 10.3137 7.39718 10.1669 7.54416L4.94102 12.7701C4.86865 12.8433 4.78237 12.9014 4.68724 12.9409C4.59212 12.9804 4.49007 13.0005 4.38708 13Z",
|
|
5927
5927
|
fill: "currentColor"
|
|
5928
5928
|
}, null, -1), Eu = [Du];
|
|
@@ -5938,8 +5938,8 @@ function Bu(n, t, e, i, o, s) {
|
|
|
5938
5938
|
Gr.render = Bu;
|
|
5939
5939
|
var Zr = {
|
|
5940
5940
|
name: "ChevronUpIcon",
|
|
5941
|
-
extends:
|
|
5942
|
-
}, Ru = /* @__PURE__ */
|
|
5941
|
+
extends: $n
|
|
5942
|
+
}, Ru = /* @__PURE__ */ T("path", {
|
|
5943
5943
|
d: "M12.2097 10.4113C12.1057 10.4118 12.0027 10.3915 11.9067 10.3516C11.8107 10.3118 11.7237 10.2532 11.6506 10.1792L6.93602 5.46461L2.22139 10.1476C2.07272 10.244 1.89599 10.2877 1.71953 10.2717C1.54307 10.2556 1.3771 10.1808 1.24822 10.0593C1.11933 9.93766 1.035 9.77633 1.00874 9.6011C0.982477 9.42587 1.0158 9.2469 1.10338 9.09287L6.37701 3.81923C6.52533 3.6711 6.72639 3.58789 6.93602 3.58789C7.14565 3.58789 7.3467 3.6711 7.49502 3.81923L12.7687 9.09287C12.9168 9.24119 13 9.44225 13 9.65187C13 9.8615 12.9168 10.0626 12.7687 10.2109C12.616 10.3487 12.4151 10.4207 12.2097 10.4113Z",
|
|
5944
5944
|
fill: "currentColor"
|
|
5945
5945
|
}, null, -1), ju = [Ru];
|
|
@@ -6010,7 +6010,7 @@ var Hu = {
|
|
|
6010
6010
|
classes: Hu
|
|
6011
6011
|
}), Nu = {
|
|
6012
6012
|
name: "BaseCarousel",
|
|
6013
|
-
extends:
|
|
6013
|
+
extends: kn,
|
|
6014
6014
|
props: {
|
|
6015
6015
|
value: null,
|
|
6016
6016
|
page: {
|
|
@@ -6395,13 +6395,13 @@ var Qr = {
|
|
|
6395
6395
|
ripple: Wr
|
|
6396
6396
|
}
|
|
6397
6397
|
};
|
|
6398
|
-
function
|
|
6398
|
+
function yn(n) {
|
|
6399
6399
|
"@babel/helpers - typeof";
|
|
6400
|
-
return
|
|
6400
|
+
return yn = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
|
|
6401
6401
|
return typeof t;
|
|
6402
6402
|
} : function(t) {
|
|
6403
6403
|
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
6404
|
-
},
|
|
6404
|
+
}, yn(n);
|
|
6405
6405
|
}
|
|
6406
6406
|
function qo(n, t) {
|
|
6407
6407
|
var e = Object.keys(n);
|
|
@@ -6413,7 +6413,7 @@ function qo(n, t) {
|
|
|
6413
6413
|
}
|
|
6414
6414
|
return e;
|
|
6415
6415
|
}
|
|
6416
|
-
function
|
|
6416
|
+
function In(n) {
|
|
6417
6417
|
for (var t = 1; t < arguments.length; t++) {
|
|
6418
6418
|
var e = arguments[t] != null ? arguments[t] : {};
|
|
6419
6419
|
t % 2 ? qo(Object(e), !0).forEach(function(i) {
|
|
@@ -6429,15 +6429,15 @@ function Ku(n, t, e) {
|
|
|
6429
6429
|
}
|
|
6430
6430
|
function qu(n) {
|
|
6431
6431
|
var t = Xu(n, "string");
|
|
6432
|
-
return
|
|
6432
|
+
return yn(t) == "symbol" ? t : String(t);
|
|
6433
6433
|
}
|
|
6434
6434
|
function Xu(n, t) {
|
|
6435
|
-
if (
|
|
6435
|
+
if (yn(n) != "object" || !n)
|
|
6436
6436
|
return n;
|
|
6437
6437
|
var e = n[Symbol.toPrimitive];
|
|
6438
6438
|
if (e !== void 0) {
|
|
6439
6439
|
var i = e.call(n, t || "default");
|
|
6440
|
-
if (
|
|
6440
|
+
if (yn(i) != "object")
|
|
6441
6441
|
return i;
|
|
6442
6442
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
6443
6443
|
}
|
|
@@ -6459,7 +6459,7 @@ function id(n, t, e, i, o, s) {
|
|
|
6459
6459
|
}) : (b(), x("div", L({
|
|
6460
6460
|
key: 1,
|
|
6461
6461
|
class: [n.cx("content"), n.contentClass]
|
|
6462
|
-
}, n.ptm("content")), [
|
|
6462
|
+
}, n.ptm("content")), [T("div", L({
|
|
6463
6463
|
class: [n.cx("container"), n.containerClass],
|
|
6464
6464
|
"aria-live": o.allowAutoplay ? "polite" : "off"
|
|
6465
6465
|
}, n.ptm("container")), [n.showNavigators ? At((b(), x("button", L({
|
|
@@ -6471,13 +6471,13 @@ function id(n, t, e, i, o, s) {
|
|
|
6471
6471
|
onClick: t[0] || (t[0] = function() {
|
|
6472
6472
|
return s.navBackward && s.navBackward.apply(s, arguments);
|
|
6473
6473
|
})
|
|
6474
|
-
},
|
|
6474
|
+
}, In(In({}, n.prevButtonProps), n.ptm("previousButton")), {
|
|
6475
6475
|
"data-pc-group-section": "navigator"
|
|
6476
6476
|
}), [vt(n.$slots, "previousicon", {}, function() {
|
|
6477
|
-
return [(b(),
|
|
6477
|
+
return [(b(), R(bt(s.isVertical() ? "ChevronUpIcon" : "ChevronLeftIcon"), L({
|
|
6478
6478
|
class: n.cx("previousButtonIcon")
|
|
6479
6479
|
}, n.ptm("previousButtonIcon")), null, 16, ["class"]))];
|
|
6480
|
-
})], 16, Zu)), [[r]]) : k("", !0),
|
|
6480
|
+
})], 16, Zu)), [[r]]) : k("", !0), T("div", L({
|
|
6481
6481
|
class: n.cx("itemsContent"),
|
|
6482
6482
|
style: [{
|
|
6483
6483
|
height: s.isVertical() ? n.verticalViewPortHeight : "auto"
|
|
@@ -6491,7 +6491,7 @@ function id(n, t, e, i, o, s) {
|
|
|
6491
6491
|
onTouchmove: t[4] || (t[4] = function() {
|
|
6492
6492
|
return s.onTouchMove && s.onTouchMove.apply(s, arguments);
|
|
6493
6493
|
})
|
|
6494
|
-
}, n.ptm("itemsContent")), [
|
|
6494
|
+
}, n.ptm("itemsContent")), [T("div", L({
|
|
6495
6495
|
ref: "itemsContainer",
|
|
6496
6496
|
class: n.cx("itemsContainer"),
|
|
6497
6497
|
onTransitionend: t[1] || (t[1] = function() {
|
|
@@ -6558,10 +6558,10 @@ function id(n, t, e, i, o, s) {
|
|
|
6558
6558
|
onClick: t[5] || (t[5] = function() {
|
|
6559
6559
|
return s.navForward && s.navForward.apply(s, arguments);
|
|
6560
6560
|
})
|
|
6561
|
-
},
|
|
6561
|
+
}, In(In({}, n.nextButtonProps), n.ptm("nextButton")), {
|
|
6562
6562
|
"data-pc-group-section": "navigator"
|
|
6563
6563
|
}), [vt(n.$slots, "nexticon", {}, function() {
|
|
6564
|
-
return [(b(),
|
|
6564
|
+
return [(b(), R(bt(s.isVertical() ? "ChevronDownIcon" : "ChevronRightIcon"), L({
|
|
6565
6565
|
class: n.cx("nextButtonIcon")
|
|
6566
6566
|
}, n.ptm("nextButtonIcon")), null, 16, ["class"]))];
|
|
6567
6567
|
})], 16, td)), [[r]]) : k("", !0)], 16, Gu), s.totalIndicators >= 0 && n.showIndicators ? (b(), x("ul", L({
|
|
@@ -6579,7 +6579,7 @@ function id(n, t, e, i, o, s) {
|
|
|
6579
6579
|
})
|
|
6580
6580
|
}, n.ptm("indicator", s.getIndicatorPTOptions(l)), {
|
|
6581
6581
|
"data-p-highlight": o.d_page === l
|
|
6582
|
-
}), [
|
|
6582
|
+
}), [T("button", L({
|
|
6583
6583
|
class: n.cx("indicatorButton"),
|
|
6584
6584
|
type: "button",
|
|
6585
6585
|
tabindex: o.d_page === l ? "0" : "-1",
|
|
@@ -6612,7 +6612,7 @@ const od = ["innerHTML"], sd = { class: "flex justify-center items-center gap-6
|
|
|
6612
6612
|
);
|
|
6613
6613
|
return (c, u) => {
|
|
6614
6614
|
var d;
|
|
6615
|
-
return b(),
|
|
6615
|
+
return b(), R(v(Qr), {
|
|
6616
6616
|
value: c.carouselItems,
|
|
6617
6617
|
"num-visible": 1,
|
|
6618
6618
|
"num-scroll": 1,
|
|
@@ -6624,29 +6624,29 @@ const od = ["innerHTML"], sd = { class: "flex justify-center items-center gap-6
|
|
|
6624
6624
|
"pt:item:class": `carousel-item w-full ${((d = e.value) == null ? void 0 : d.item) ?? ""}`
|
|
6625
6625
|
}, Re({
|
|
6626
6626
|
item: dt((h) => [
|
|
6627
|
-
(b(),
|
|
6627
|
+
(b(), R(bt(h.data.__typename), L(h.data, { "is-child": !0 }), null, 16))
|
|
6628
6628
|
]),
|
|
6629
6629
|
footer: dt(() => [
|
|
6630
|
-
|
|
6631
|
-
|
|
6630
|
+
T("div", sd, [
|
|
6631
|
+
T("button", {
|
|
6632
6632
|
onClick: () => o.value ? i.value-- : i.value = c.carouselItems.length - 1
|
|
6633
6633
|
}, u[0] || (u[0] = [
|
|
6634
|
-
|
|
6634
|
+
T("img", {
|
|
6635
6635
|
class: "w-[11px]",
|
|
6636
6636
|
src: "https://images.ctfassets.net/qqblaiss500w/5Nhdf7R1DeedcyBCxbqEGZ/789698047434d57ca6337e3f210ee1f9/icon-left-arrow.svg?fm=webp"
|
|
6637
6637
|
}, null, -1)
|
|
6638
6638
|
]), 8, rd),
|
|
6639
|
-
|
|
6639
|
+
T("div", ad, [
|
|
6640
6640
|
(b(!0), x(X, null, et(c.carouselItems, (h, f) => (b(), x("button", {
|
|
6641
6641
|
key: f,
|
|
6642
6642
|
onClick: () => i.value = f,
|
|
6643
6643
|
class: _(`w-[11px] h-[11px] rounded-full transition duration-200 focus:outline-none focus:outline-offset-0 focus:ring-1 focus:ring-primary-500 dark:focus:ring-primary-400 border dark:bg-surface-700 dark:hover:bg-surface-600 ${i.value === f ? "bg-secondary border-none" : "border-gray-400"}`)
|
|
6644
6644
|
}, null, 10, ld))), 128))
|
|
6645
6645
|
]),
|
|
6646
|
-
|
|
6646
|
+
T("button", {
|
|
6647
6647
|
onClick: () => s.value ? i.value++ : i.value = 0
|
|
6648
6648
|
}, u[1] || (u[1] = [
|
|
6649
|
-
|
|
6649
|
+
T("img", {
|
|
6650
6650
|
class: "w-[11px]",
|
|
6651
6651
|
src: "https://images.ctfassets.net/qqblaiss500w/52baRb2rAQgjt4FV4eCjog/91068343d7082e65d18f4eb4030656d9/icon-right-arrow.svg?fm=webp"
|
|
6652
6652
|
}, null, -1)
|
|
@@ -6660,7 +6660,7 @@ const od = ["innerHTML"], sd = { class: "flex justify-center items-center gap-6
|
|
|
6660
6660
|
fn: dt(() => {
|
|
6661
6661
|
var h;
|
|
6662
6662
|
return [
|
|
6663
|
-
|
|
6663
|
+
T("h2", {
|
|
6664
6664
|
class: _(`carousel-headline ${((h = e.value) == null ? void 0 : h.headline) ?? ""} text-${v(a).headline}`),
|
|
6665
6665
|
innerHTML: c.headline
|
|
6666
6666
|
}, null, 10, od)
|
|
@@ -6737,33 +6737,33 @@ const fd = ["innerHTML"], pd = {
|
|
|
6737
6737
|
return ((C = t.end) == null ? void 0 : C.__typename) === "Image" || ((P = t.end) == null ? void 0 : P.__typename) === "Video";
|
|
6738
6738
|
}), $ = A(() => {
|
|
6739
6739
|
var z, N, st, G;
|
|
6740
|
-
const C = ((z = t.start) == null ? void 0 : z.__typename) === "Accordion", P = ((N = t.end) == null ? void 0 : N.__typename) === "Accordion", F = ((st = t.start) == null ? void 0 : st.__typename) === "TileCollectionModule",
|
|
6741
|
-
return C && P ? "basis-2/3 md:pr-8" : C ? "basis-2/3 md:pr-16" : P ? "basis-1/3" :
|
|
6742
|
-
}),
|
|
6740
|
+
const C = ((z = t.start) == null ? void 0 : z.__typename) === "Accordion", P = ((N = t.end) == null ? void 0 : N.__typename) === "Accordion", F = ((st = t.start) == null ? void 0 : st.__typename) === "TileCollectionModule", B = ((G = t.end) == null ? void 0 : G.__typename) === "TileCollectionModule";
|
|
6741
|
+
return C && P ? "basis-2/3 md:pr-8" : C ? "basis-2/3 md:pr-16" : P ? "basis-1/3" : B ? "lg:basis-2/5" : F ? "lg:basis-3/5" : "basis-1/2";
|
|
6742
|
+
}), M = A(() => {
|
|
6743
6743
|
var z, N, st, G;
|
|
6744
|
-
const C = ((z = t.start) == null ? void 0 : z.__typename) === "Accordion", P = ((N = t.end) == null ? void 0 : N.__typename) === "Accordion", F = ((st = t.start) == null ? void 0 : st.__typename) === "TileCollectionModule",
|
|
6745
|
-
return C && P ? "basis-2/3 md:pl-8" : P ? "basis-2/3 md:pl-16" : C ? "basis-1/3" : F ? "lg:basis-2/5" :
|
|
6744
|
+
const C = ((z = t.start) == null ? void 0 : z.__typename) === "Accordion", P = ((N = t.end) == null ? void 0 : N.__typename) === "Accordion", F = ((st = t.start) == null ? void 0 : st.__typename) === "TileCollectionModule", B = ((G = t.end) == null ? void 0 : G.__typename) === "TileCollectionModule";
|
|
6745
|
+
return C && P ? "basis-2/3 md:pl-8" : P ? "basis-2/3 md:pl-16" : C ? "basis-1/3" : F ? "lg:basis-2/5" : B ? "lg:basis-3/5" : "basis-1/2";
|
|
6746
6746
|
}), S = A(() => s.value && g === "Image" ? "max-h-[500px] lg:max-h-none lg:h-full w-full object-cover" : "");
|
|
6747
6747
|
return (C, P) => {
|
|
6748
6748
|
const F = $t;
|
|
6749
|
-
return b(),
|
|
6749
|
+
return b(), R(bt(C.isChild ? "div" : "section"), {
|
|
6750
6750
|
class: _(u.value)
|
|
6751
6751
|
}, {
|
|
6752
6752
|
default: dt(() => {
|
|
6753
|
-
var
|
|
6753
|
+
var B, z, N, st, G, Dt, wt, Ut, Qt, Ft;
|
|
6754
6754
|
return [
|
|
6755
|
-
C.backgroundImage && h.value ? (b(),
|
|
6755
|
+
C.backgroundImage && h.value ? (b(), R(F, {
|
|
6756
6756
|
key: 0,
|
|
6757
6757
|
media: h.value.media,
|
|
6758
6758
|
"mobile-media": h.value.mobileMedia,
|
|
6759
6759
|
class: _(d.value)
|
|
6760
6760
|
}, null, 8, ["media", "mobile-media", "class"])) : k("", !0),
|
|
6761
|
-
|
|
6762
|
-
class: _(`container-module-inner relative z-10 ${s.value ? ((
|
|
6761
|
+
T("div", {
|
|
6762
|
+
class: _(`container-module-inner relative z-10 ${s.value ? ((B = C.start) == null ? void 0 : B.__typename) === "Image" ? "container-hero-right" : "container-hero" : "container"} ${C.isChild || s.value ? "" : "py-[2rem] px-8 md:py-16 md:px-4"} ${a.value}`)
|
|
6763
6763
|
}, [
|
|
6764
6764
|
C.headline || C.subHeadline ? (b(), x("div", {
|
|
6765
6765
|
key: 0,
|
|
6766
|
-
class: _(`container-module-heading-group mb-
|
|
6766
|
+
class: _(`container-module-heading-group mb-8 md:mb-10 space-y-[10px] ${!C.isChild && s.value ? "py-16" : ""}`)
|
|
6767
6767
|
}, [
|
|
6768
6768
|
C.headline ? (b(), x("h2", {
|
|
6769
6769
|
key: 0,
|
|
@@ -6783,7 +6783,7 @@ const fd = ["innerHTML"], pd = {
|
|
|
6783
6783
|
key: 0,
|
|
6784
6784
|
class: _(`container-module-full-width-content ${((G = o.value) == null ? void 0 : G.fullWidthContent) ?? ""} ${r.value ? "mx-auto" : ""}`)
|
|
6785
6785
|
}, [
|
|
6786
|
-
v(f) ? (b(),
|
|
6786
|
+
v(f) ? (b(), R(bt(v(f)), L({ key: 0 }, C.fullWidthContent, {
|
|
6787
6787
|
"is-child": !0,
|
|
6788
6788
|
"use-child-headline": !!C.headline,
|
|
6789
6789
|
"is-hero": !!(v(f) === "ContentModule" && s.value),
|
|
@@ -6794,9 +6794,9 @@ const fd = ["innerHTML"], pd = {
|
|
|
6794
6794
|
], 2)) : (b(), x(X, { key: 1 }, [
|
|
6795
6795
|
C.start ? (b(), x("div", {
|
|
6796
6796
|
key: 0,
|
|
6797
|
-
class: _(`container-module-start ${$.value} ${((
|
|
6797
|
+
class: _(`container-module-start ${$.value} ${((Dt = o.value) == null ? void 0 : Dt.start) ?? ""} ${l.value}`)
|
|
6798
6798
|
}, [
|
|
6799
|
-
v(p) ? (b(),
|
|
6799
|
+
v(p) ? (b(), R(bt(v(p)), L({ key: 0 }, C.start, {
|
|
6800
6800
|
"is-child": !0,
|
|
6801
6801
|
"use-child-headline": !!C.headline,
|
|
6802
6802
|
"is-hero": !!(v(p) === "ContentModule" && s.value),
|
|
@@ -6805,10 +6805,10 @@ const fd = ["innerHTML"], pd = {
|
|
|
6805
6805
|
"parent-has-background-image": !!C.backgroundImage
|
|
6806
6806
|
}), null, 16, ["use-child-headline", "is-hero", "background-color", "parent-background-color", "parent-has-background-image"])) : k("", !0)
|
|
6807
6807
|
], 2)) : k("", !0),
|
|
6808
|
-
|
|
6809
|
-
class: _(`container-module-end ${
|
|
6808
|
+
T("div", {
|
|
6809
|
+
class: _(`container-module-end ${M.value} ${((wt = o.value) == null ? void 0 : wt.end) ?? ""} ${c.value}`)
|
|
6810
6810
|
}, [
|
|
6811
|
-
v(g) ? (b(),
|
|
6811
|
+
v(g) ? (b(), R(bt(v(g)), L({ key: 0 }, C.end, {
|
|
6812
6812
|
"is-child": !0,
|
|
6813
6813
|
"use-child-headline": !!C.headline,
|
|
6814
6814
|
"is-hero": !!(v(g) === "ContentModule" && s.value),
|
|
@@ -6822,7 +6822,7 @@ const fd = ["innerHTML"], pd = {
|
|
|
6822
6822
|
], 64))
|
|
6823
6823
|
], 2)) : k("", !0),
|
|
6824
6824
|
C.testimonialTile ? (b(), x("div", pd, [
|
|
6825
|
-
|
|
6825
|
+
T("div", {
|
|
6826
6826
|
class: _(`bg-${(Ut = v(i).interactive) == null ? void 0 : Ut.bg} rounded-xl lg:rounded-r-none px-6 py-6 lg:py-8 lg:px-10 text-${(Qt = v(i).interactive) == null ? void 0 : Qt.copy} max-w-[80vw] lg:max-w-[25vw] w-full shadow-lg relative lg:top-0 lg:right-0 lg:bottom-0 lg:flex flex-col justify-center`)
|
|
6827
6827
|
}, [
|
|
6828
6828
|
C.testimonialTile.media && C.testimonialTile.media.__typename === "Image" ? (b(), x("img", {
|
|
@@ -6911,8 +6911,8 @@ const fo = (n, t) => {
|
|
|
6911
6911
|
}
|
|
6912
6912
|
return e.buttonType === "fill" && (g.push("rounded-[2rem]"), (e.color || a.value.bg) && g.push(`bg-${e.color || a.value.bg}`), e.size || g.push("py-1 px-4")), e.buttonType !== "outline" && a.value.border && g.push(`border-${e.color ?? a.value.border}`), g.join(" ");
|
|
6913
6913
|
}), c = A(() => {
|
|
6914
|
-
var g, m, y, w, $,
|
|
6915
|
-
return (m = (g = e.link) == null ? void 0 : g.page) != null && m.slug ? `${(w = (y = e.link) == null ? void 0 : y.page) == null ? void 0 : w.slug}` : ($ = e.link) != null && $.externalUrl ? (
|
|
6914
|
+
var g, m, y, w, $, M;
|
|
6915
|
+
return (m = (g = e.link) == null ? void 0 : g.page) != null && m.slug ? `${(w = (y = e.link) == null ? void 0 : y.page) == null ? void 0 : w.slug}` : ($ = e.link) != null && $.externalUrl ? (M = e.link) == null ? void 0 : M.externalUrl : "";
|
|
6916
6916
|
}), u = A(() => {
|
|
6917
6917
|
var g;
|
|
6918
6918
|
return !!((g = e.link) != null && g.externalUrl);
|
|
@@ -6932,7 +6932,7 @@ const fo = (n, t) => {
|
|
|
6932
6932
|
return (g, m) => {
|
|
6933
6933
|
var w;
|
|
6934
6934
|
const y = $t;
|
|
6935
|
-
return b(),
|
|
6935
|
+
return b(), R(bt("a"), {
|
|
6936
6936
|
id: f.value,
|
|
6937
6937
|
"aria-label": d.value,
|
|
6938
6938
|
"aria-description": h.value,
|
|
@@ -6943,25 +6943,25 @@ const fo = (n, t) => {
|
|
|
6943
6943
|
onClick: p
|
|
6944
6944
|
}, {
|
|
6945
6945
|
default: dt(() => [
|
|
6946
|
-
|
|
6946
|
+
Ot(v(fi), {
|
|
6947
6947
|
class: _(l.value),
|
|
6948
6948
|
link: s.value,
|
|
6949
6949
|
onClick: p
|
|
6950
6950
|
}, {
|
|
6951
6951
|
default: dt(() => {
|
|
6952
|
-
var $,
|
|
6952
|
+
var $, M, S;
|
|
6953
6953
|
return [
|
|
6954
|
-
|
|
6954
|
+
T("div", yd, [
|
|
6955
6955
|
g.logo ? (b(), x("div", {
|
|
6956
6956
|
key: 0,
|
|
6957
6957
|
class: _(`flex items-center ${g.buttonType === "logo" ? ($ = o.value) == null ? void 0 : $.logo : ""} ${g.buttonType === "logo" ? `bg-${e.textColor ?? a.value.copy}` : ""}`)
|
|
6958
6958
|
}, [
|
|
6959
|
-
typeof g.logo == "object" ? (b(),
|
|
6959
|
+
typeof g.logo == "object" ? (b(), R(y, xe(L({ key: 0 }, g.logo)), null, 16)) : typeof g.logo == "string" ? (b(), x("div", {
|
|
6960
6960
|
key: 1,
|
|
6961
|
-
class: _(v(V)(g.logo, (
|
|
6961
|
+
class: _(v(V)(g.logo, (M = o.value) == null ? void 0 : M.logo))
|
|
6962
6962
|
}, null, 2)) : k("", !0)
|
|
6963
6963
|
], 2)) : k("", !0),
|
|
6964
|
-
|
|
6964
|
+
T("p", {
|
|
6965
6965
|
class: _(
|
|
6966
6966
|
v(V)("pointer-events-none whitespace-nowrap", ((S = o.value) == null ? void 0 : S.headline) ?? "")
|
|
6967
6967
|
)
|
|
@@ -7045,14 +7045,14 @@ const fo = (n, t) => {
|
|
|
7045
7045
|
return h ? "space-y-[10px]" : `space-y-[10px] ${p ? "mb-6" : ""}`;
|
|
7046
7046
|
});
|
|
7047
7047
|
return (p, g) => {
|
|
7048
|
-
var m, y, w, $,
|
|
7048
|
+
var m, y, w, $, M, S;
|
|
7049
7049
|
return b(), x("div", {
|
|
7050
7050
|
class: _(`content-module ${p.isChild ? "" : "p-8 md:p-16"} ${((m = i.value) == null ? void 0 : m.root) ?? ""} ${t.class ?? ""} ${!t.parentHasBackgroundImage && (t.backgroundColor || !p.isChild) ? `bg-${v(a)}` : ""}`)
|
|
7051
7051
|
}, [
|
|
7052
|
-
|
|
7052
|
+
T("div", {
|
|
7053
7053
|
class: _(`content-module-container mx-auto ${((y = i.value) == null ? void 0 : y.container) ?? ""} ${v(e) === v(Rt).Inline ? "flex flex-col md:flex-row justify-between items-center md:gap-4" : ""}`)
|
|
7054
7054
|
}, [
|
|
7055
|
-
p.logo ? (b(),
|
|
7055
|
+
p.logo ? (b(), R($t, L({ key: 0 }, p.logo, { class: r.value }), null, 16, ["class"])) : k("", !0),
|
|
7056
7056
|
d.value || p.subHeadline ? (b(), x("div", {
|
|
7057
7057
|
key: 1,
|
|
7058
7058
|
class: _(f.value)
|
|
@@ -7090,14 +7090,14 @@ const fo = (n, t) => {
|
|
|
7090
7090
|
}),
|
|
7091
7091
|
innerHTML: p.bodyCopy
|
|
7092
7092
|
}, null, 14, Cd)) : k("", !0),
|
|
7093
|
-
p.image ? (b(),
|
|
7094
|
-
class: `content-module-image ${v(V)((($ = i.value) == null ? void 0 : $.image) ?? "", o.value)} ${((
|
|
7093
|
+
p.image ? (b(), R($t, L({ key: 3 }, p.image, {
|
|
7094
|
+
class: `content-module-image ${v(V)((($ = i.value) == null ? void 0 : $.image) ?? "", o.value)} ${((M = p.image) == null ? void 0 : M.class) ?? ""}`
|
|
7095
7095
|
}), null, 16, ["class"])) : k("", !0),
|
|
7096
7096
|
p.ctas ? (b(), x("div", {
|
|
7097
7097
|
key: 4,
|
|
7098
7098
|
class: _(`content-module-ctas flex flex-wrap items-center gap-4 ${p.isHero ? "justify-center lg:justify-start" : s.value} ${v(V)(((S = i.value) == null ? void 0 : S.ctas) ?? "", o.value, h ? "md:mt-0" : "")}`)
|
|
7099
7099
|
}, [
|
|
7100
|
-
(b(!0), x(X, null, et(p.ctas, (I, O) => (b(),
|
|
7100
|
+
(b(!0), x(X, null, et(p.ctas, (I, O) => (b(), R(jt, L({ ref_for: !0 }, I, {
|
|
7101
7101
|
key: `cta-${I.title}-${O}`,
|
|
7102
7102
|
class: `content-module-cta ${p.isHero ? "w-auto justify-center" : ""}`,
|
|
7103
7103
|
"background-color": v(a)
|
|
@@ -7131,10 +7131,10 @@ const fo = (n, t) => {
|
|
|
7131
7131
|
class: _(`container-collection-headline ${(a = e.value) == null ? void 0 : a.headline} text-${v(o).headline}`),
|
|
7132
7132
|
innerHTML: s.headline
|
|
7133
7133
|
}, null, 10, $d)) : k("", !0),
|
|
7134
|
-
|
|
7134
|
+
T("div", {
|
|
7135
7135
|
class: _(`container-collection-content space-y-8 mx-auto container ${(l = e.value) == null ? void 0 : l.bodyCopy}`)
|
|
7136
7136
|
}, [
|
|
7137
|
-
(b(!0), x(X, null, et(s.modules, (c, u) => (b(),
|
|
7137
|
+
(b(!0), x(X, null, et(s.modules, (c, u) => (b(), R(bt(c.__typename), L({ ref_for: !0 }, c, {
|
|
7138
7138
|
key: `${c == null ? void 0 : c.__typename}-${u}`,
|
|
7139
7139
|
"is-child": !0
|
|
7140
7140
|
}), null, 16))), 128))
|
|
@@ -7186,13 +7186,13 @@ const Td = {
|
|
|
7186
7186
|
};
|
|
7187
7187
|
return (h, f) => {
|
|
7188
7188
|
const p = zi("NavigationElement", !0);
|
|
7189
|
-
return b(),
|
|
7189
|
+
return b(), R(bt(h.isChild ? "li" : "div"), {
|
|
7190
7190
|
class: _(u.value)
|
|
7191
7191
|
}, {
|
|
7192
7192
|
default: dt(() => {
|
|
7193
7193
|
var g;
|
|
7194
7194
|
return [
|
|
7195
|
-
l.value === v(ie).header || h.isChild && (r.value || h.subNavigation) ? (b(),
|
|
7195
|
+
l.value === v(ie).header || h.isChild && (r.value || h.subNavigation) ? (b(), R(bt(a.value), {
|
|
7196
7196
|
key: 0,
|
|
7197
7197
|
id: s.value,
|
|
7198
7198
|
href: r.value ?? "",
|
|
@@ -7210,10 +7210,10 @@ const Td = {
|
|
|
7210
7210
|
key: 0,
|
|
7211
7211
|
class: _((m = e.value) == null ? void 0 : m.icon)
|
|
7212
7212
|
}, [
|
|
7213
|
-
At(
|
|
7213
|
+
At(T("i", Td, null, 512), [
|
|
7214
7214
|
[Nt, !c.value]
|
|
7215
7215
|
]),
|
|
7216
|
-
At(
|
|
7216
|
+
At(T("i", Md, null, 512), [
|
|
7217
7217
|
[Nt, c.value]
|
|
7218
7218
|
])
|
|
7219
7219
|
], 2)) : k("", !0)
|
|
@@ -7236,7 +7236,7 @@ const Td = {
|
|
|
7236
7236
|
"aria-labelledby": "menu-button",
|
|
7237
7237
|
tabindex: "-1"
|
|
7238
7238
|
}, [
|
|
7239
|
-
(b(!0), x(X, null, et(h.subNavigation, (m, y) => (b(),
|
|
7239
|
+
(b(!0), x(X, null, et(h.subNavigation, (m, y) => (b(), R(p, L({
|
|
7240
7240
|
key: m.title,
|
|
7241
7241
|
class: ["ms-3 sm:ms-0", `sub-navigation-element-item-${y}`],
|
|
7242
7242
|
role: "menuitem",
|
|
@@ -7276,7 +7276,7 @@ const Td = {
|
|
|
7276
7276
|
href: (a = o == null ? void 0 : o.link) == null ? void 0 : a.externalUrl,
|
|
7277
7277
|
target: v(fo)((l = o == null ? void 0 : o.link) == null ? void 0 : l.target, o == null ? void 0 : o.link)
|
|
7278
7278
|
}, [
|
|
7279
|
-
|
|
7279
|
+
Ot(i, {
|
|
7280
7280
|
media: (c = o == null ? void 0 : o.icon) == null ? void 0 : c.media
|
|
7281
7281
|
}, null, 8, ["media"])
|
|
7282
7282
|
], 10, Id);
|
|
@@ -7305,12 +7305,12 @@ const Td = {
|
|
|
7305
7305
|
setup(n) {
|
|
7306
7306
|
const t = n, { palette: e } = gt(t);
|
|
7307
7307
|
return (i, o) => (b(), x("div", Ld, [
|
|
7308
|
-
|
|
7308
|
+
T("div", {
|
|
7309
7309
|
class: _(`text-${v(e).copy} ${i.addTextMargin ? "mt-8" : ""} w-[90%] md:w-auto basis-1/3`)
|
|
7310
7310
|
}, K(i.copyRight), 3),
|
|
7311
7311
|
i.isCenterAlign ? (b(), x("div", Od, [
|
|
7312
|
-
|
|
7313
|
-
(b(!0), x(X, null, et(i.navigation, (s, r) => (b(),
|
|
7312
|
+
T("div", Dd, [
|
|
7313
|
+
(b(!0), x(X, null, et(i.navigation, (s, r) => (b(), R(oe, L({
|
|
7314
7314
|
key: `footer-nav-item-${s.title}-${r}`,
|
|
7315
7315
|
class: `footer-nav-item-${r} px-2.5 ${s.dividerLine ? `border-r border-${v(e).copy}` : ""}`,
|
|
7316
7316
|
role: "menuitem",
|
|
@@ -7324,9 +7324,9 @@ const Td = {
|
|
|
7324
7324
|
}), null, 16, ["class"]))), 128))
|
|
7325
7325
|
])
|
|
7326
7326
|
])) : k("", !0),
|
|
7327
|
-
|
|
7328
|
-
|
|
7329
|
-
(b(!0), x(X, null, et(i.logos, (s, r) => (b(),
|
|
7327
|
+
T("div", Ed, [
|
|
7328
|
+
T("div", Bd, [
|
|
7329
|
+
(b(!0), x(X, null, et(i.logos, (s, r) => (b(), R($t, {
|
|
7330
7330
|
key: `footer-copy-right-logo-${r}`,
|
|
7331
7331
|
class: "grow ml-auto",
|
|
7332
7332
|
media: s.media
|
|
@@ -7336,7 +7336,7 @@ const Td = {
|
|
|
7336
7336
|
key: 0,
|
|
7337
7337
|
class: _(`flex flex-row items-center justify-end ${i.navigation && i.navigation.length ? "mt-6" : ""}`)
|
|
7338
7338
|
}, [
|
|
7339
|
-
(b(!0), x(X, null, et(i.navigation, (s, r) => (b(),
|
|
7339
|
+
(b(!0), x(X, null, et(i.navigation, (s, r) => (b(), R(oe, L({
|
|
7340
7340
|
key: `footer-nav-item-${s.title}-${r}`,
|
|
7341
7341
|
class: `footer-nav-item-${r} px-2.5 ${s.dividerLine ? `border-r border-${v(e).copy}` : ""}`,
|
|
7342
7342
|
role: "menuitem",
|
|
@@ -7383,15 +7383,15 @@ const Td = {
|
|
|
7383
7383
|
return b(), x("footer", {
|
|
7384
7384
|
class: _(`text-white text-sm leading-relaxed bg-${v(e)}`)
|
|
7385
7385
|
}, [
|
|
7386
|
-
|
|
7387
|
-
|
|
7386
|
+
T("div", Rd, [
|
|
7387
|
+
T("div", {
|
|
7388
7388
|
class: _(["flex flex-col lg:flex-row lg:items-start lg:justify-between gap-10", {
|
|
7389
7389
|
"p-5 justify-between items-start": s.navigation && s.navigation.length > 0,
|
|
7390
7390
|
"mb-4 md:items-start": !s.navigation || s.navigation.length === 0
|
|
7391
7391
|
}])
|
|
7392
7392
|
}, [
|
|
7393
|
-
|
|
7394
|
-
s.logo ? (b(),
|
|
7393
|
+
T("a", jd, [
|
|
7394
|
+
s.logo ? (b(), R($t, {
|
|
7395
7395
|
key: 0,
|
|
7396
7396
|
class: "min-h-[95px] min-w-[100px] h-[100px]",
|
|
7397
7397
|
media: s.logo.media
|
|
@@ -7399,7 +7399,7 @@ const Td = {
|
|
|
7399
7399
|
De(" " + K(s.title), 1)
|
|
7400
7400
|
]),
|
|
7401
7401
|
s.navigation && s.navigation.length > 0 ? (b(), x("div", Fd, [
|
|
7402
|
-
(b(!0), x(X, null, et(s.navigation, (c, u) => (b(),
|
|
7402
|
+
(b(!0), x(X, null, et(s.navigation, (c, u) => (b(), R(oe, L({
|
|
7403
7403
|
key: `footer-nav-item-${c.title}-${u}`,
|
|
7404
7404
|
class: `footer-nav-item-${u}`,
|
|
7405
7405
|
role: "menuitem",
|
|
@@ -7413,11 +7413,11 @@ const Td = {
|
|
|
7413
7413
|
}), null, 16, ["class"]))), 128))
|
|
7414
7414
|
])) : k("", !0),
|
|
7415
7415
|
!s.navigation || s.navigation.length === 0 ? (b(), x("div", Hd, [
|
|
7416
|
-
s.socialMediaRef ? (b(),
|
|
7416
|
+
s.socialMediaRef ? (b(), R(Gi, {
|
|
7417
7417
|
key: 0,
|
|
7418
7418
|
"social-media-ref": s.socialMediaRef
|
|
7419
7419
|
}, null, 8, ["social-media-ref"])) : k("", !0),
|
|
7420
|
-
|
|
7420
|
+
Ot(Zi, {
|
|
7421
7421
|
"is-center-align": o.value,
|
|
7422
7422
|
"copy-right": s.copyRight,
|
|
7423
7423
|
navigation: s.copyRightLinks,
|
|
@@ -7426,13 +7426,13 @@ const Td = {
|
|
|
7426
7426
|
"background-color": v(e)
|
|
7427
7427
|
}, null, 8, ["is-center-align", "copy-right", "navigation", "logos", "background-color"])
|
|
7428
7428
|
])) : (b(), x(X, { key: 2 }, [
|
|
7429
|
-
s.socialMediaRef ? (b(),
|
|
7429
|
+
s.socialMediaRef ? (b(), R(Gi, {
|
|
7430
7430
|
key: 0,
|
|
7431
7431
|
"social-media-ref": s.socialMediaRef
|
|
7432
7432
|
}, null, 8, ["social-media-ref"])) : k("", !0)
|
|
7433
7433
|
], 64))
|
|
7434
7434
|
], 2),
|
|
7435
|
-
s.navigation && s.navigation.length > 0 && s.copyRight && s.copyRightLinks && ((a = s.copyRightLinks) == null ? void 0 : a.length) > 0 && s.copyRightLogos && ((l = s.copyRightLogos) == null ? void 0 : l.length) > 0 ? (b(),
|
|
7435
|
+
s.navigation && s.navigation.length > 0 && s.copyRight && s.copyRightLinks && ((a = s.copyRightLinks) == null ? void 0 : a.length) > 0 && s.copyRightLogos && ((l = s.copyRightLogos) == null ? void 0 : l.length) > 0 ? (b(), R(Zi, {
|
|
7436
7436
|
key: 0,
|
|
7437
7437
|
"is-center-align": o.value,
|
|
7438
7438
|
"copy-right": s.copyRight,
|
|
@@ -7440,7 +7440,7 @@ const Td = {
|
|
|
7440
7440
|
logos: s.copyRightLogos,
|
|
7441
7441
|
"background-color": v(e)
|
|
7442
7442
|
}, null, 8, ["is-center-align", "copy-right", "navigation", "logos", "background-color"])) : k("", !0),
|
|
7443
|
-
|
|
7443
|
+
T("hr", {
|
|
7444
7444
|
class: _(`border-${v(i).copy}`)
|
|
7445
7445
|
}, null, 2),
|
|
7446
7446
|
s.legalText ? (b(), x("div", {
|
|
@@ -7476,7 +7476,7 @@ const Td = {
|
|
|
7476
7476
|
style: kt(i.value),
|
|
7477
7477
|
class: _(`logo-module p-16 ${t.class ?? ""} bg-${v(o)}`)
|
|
7478
7478
|
}, [
|
|
7479
|
-
|
|
7479
|
+
T("div", {
|
|
7480
7480
|
class: _(`container mx-auto ${((c = e.value) == null ? void 0 : c.container) ?? ""}`)
|
|
7481
7481
|
}, [
|
|
7482
7482
|
r.headline ? (b(), x("h2", {
|
|
@@ -7488,7 +7488,7 @@ const Td = {
|
|
|
7488
7488
|
key: 1,
|
|
7489
7489
|
class: _(`logo-module-content flex flex-wrap justify-evenly gap-2 ${((d = e.value) == null ? void 0 : d.bodyCopy) ?? ""}`)
|
|
7490
7490
|
}, [
|
|
7491
|
-
(b(!0), x(X, null, et(r.logos, (h, f) => (b(),
|
|
7491
|
+
(b(!0), x(X, null, et(r.logos, (h, f) => (b(), R(l, L({ ref_for: !0 }, h, {
|
|
7492
7492
|
key: `cta-${h.altTag}-${f}`
|
|
7493
7493
|
}), null, 16))), 128))
|
|
7494
7494
|
], 2)) : k("", !0)
|
|
@@ -7541,9 +7541,9 @@ const Td = {
|
|
|
7541
7541
|
}), h;
|
|
7542
7542
|
});
|
|
7543
7543
|
return (h, f) => (b(), x("header", Ud, [
|
|
7544
|
-
|
|
7544
|
+
T("div", Yd, [
|
|
7545
7545
|
c.value.length > 0 || u.value.length > 0 ? (b(), x("nav", Kd, [
|
|
7546
|
-
(b(!0), x(X, null, et(c.value, (p, g) => (b(),
|
|
7546
|
+
(b(!0), x(X, null, et(c.value, (p, g) => (b(), R(oe, L({
|
|
7547
7547
|
key: `${p.title}-${g}`,
|
|
7548
7548
|
role: "menuitem",
|
|
7549
7549
|
tabindex: "-1",
|
|
@@ -7556,7 +7556,7 @@ const Td = {
|
|
|
7556
7556
|
}, {
|
|
7557
7557
|
onClick: (m) => r("navigation-click", p)
|
|
7558
7558
|
}), null, 16, ["onClick"]))), 128)),
|
|
7559
|
-
(b(!0), x(X, null, et(u.value, (p) => (b(),
|
|
7559
|
+
(b(!0), x(X, null, et(u.value, (p) => (b(), R(jt, L({
|
|
7560
7560
|
key: p.title,
|
|
7561
7561
|
class: ["my-4 sm:my-0", p.buttonType === "fill" ? "justify-center w-full" : ""],
|
|
7562
7562
|
ref_for: !0
|
|
@@ -7565,17 +7565,17 @@ const Td = {
|
|
|
7565
7565
|
}), null, 16, ["class", "onClick"]))), 128))
|
|
7566
7566
|
])) : k("", !0)
|
|
7567
7567
|
]),
|
|
7568
|
-
|
|
7568
|
+
T("div", {
|
|
7569
7569
|
class: _(`shadow-2xl bg-${v(o)}`)
|
|
7570
7570
|
}, [
|
|
7571
|
-
|
|
7572
|
-
|
|
7571
|
+
T("div", qd, [
|
|
7572
|
+
T("div", Xd, [
|
|
7573
7573
|
h.logo ? (b(), x("a", Gd, [
|
|
7574
|
-
|
|
7574
|
+
Ot($t, L(h.logo, { class: "h-full w-auto object-contain" }), null, 16)
|
|
7575
7575
|
])) : k("", !0),
|
|
7576
|
-
|
|
7576
|
+
T("div", Zd, [
|
|
7577
7577
|
c.value.length > 0 ? (b(), x("nav", Qd, [
|
|
7578
|
-
(b(!0), x(X, null, et(c.value, (p, g) => (b(),
|
|
7578
|
+
(b(!0), x(X, null, et(c.value, (p, g) => (b(), R(oe, L({
|
|
7579
7579
|
key: `${p.title}-${g}`,
|
|
7580
7580
|
role: "menuitem",
|
|
7581
7581
|
tabindex: "-1",
|
|
@@ -7589,7 +7589,7 @@ const Td = {
|
|
|
7589
7589
|
onClick: (m) => r("navigation-click", p)
|
|
7590
7590
|
}), null, 16, ["onClick"]))), 128))
|
|
7591
7591
|
])) : k("", !0),
|
|
7592
|
-
|
|
7592
|
+
T("button", {
|
|
7593
7593
|
type: "button",
|
|
7594
7594
|
class: "block",
|
|
7595
7595
|
"aria-label": i.value ? "Close menu" : "Open menu",
|
|
@@ -7610,7 +7610,7 @@ const Td = {
|
|
|
7610
7610
|
key: 0,
|
|
7611
7611
|
class: _(["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"])
|
|
7612
7612
|
}, [
|
|
7613
|
-
(b(!0), x(X, null, et(d.value, (p, g) => (b(),
|
|
7613
|
+
(b(!0), x(X, null, et(d.value, (p, g) => (b(), R(oe, L({
|
|
7614
7614
|
key: `mobile-${p.title}-${g}`,
|
|
7615
7615
|
role: "menuitem",
|
|
7616
7616
|
tabindex: "-1",
|
|
@@ -7623,7 +7623,7 @@ const Td = {
|
|
|
7623
7623
|
}, {
|
|
7624
7624
|
onClick: (m) => r("navigation-click", p)
|
|
7625
7625
|
}), null, 16, ["onClick"]))), 128)),
|
|
7626
|
-
(b(!0), x(X, null, et(a.value, (p, g) => (b(),
|
|
7626
|
+
(b(!0), x(X, null, et(a.value, (p, g) => (b(), R(oe, L({
|
|
7627
7627
|
key: `desktop-${p.title}-${g}`,
|
|
7628
7628
|
role: "menuitem",
|
|
7629
7629
|
tabindex: "-1",
|
|
@@ -7636,14 +7636,14 @@ const Td = {
|
|
|
7636
7636
|
}, {
|
|
7637
7637
|
onClick: (m) => r("navigation-click", p)
|
|
7638
7638
|
}), null, 16, ["onClick"]))), 128)),
|
|
7639
|
-
(b(!0), x(X, null, et(l.value, (p) => (b(),
|
|
7639
|
+
(b(!0), x(X, null, et(l.value, (p) => (b(), R(jt, L({
|
|
7640
7640
|
key: `filtered-${p.title}`,
|
|
7641
7641
|
class: p.buttonType === "fill" ? "justify-center w-full" : "",
|
|
7642
7642
|
ref_for: !0
|
|
7643
7643
|
}, p, {
|
|
7644
7644
|
onClick: (g) => r("cta-click", p)
|
|
7645
7645
|
}), null, 16, ["class", "onClick"]))), 128)),
|
|
7646
|
-
(b(!0), x(X, null, et(u.value, (p) => (b(),
|
|
7646
|
+
(b(!0), x(X, null, et(u.value, (p) => (b(), R(jt, L({
|
|
7647
7647
|
key: p.title,
|
|
7648
7648
|
class: ["flex md:hidden my-2 md:my-0", p.buttonType === "fill" ? "justify-center w-full" : ""],
|
|
7649
7649
|
ref_for: !0
|
|
@@ -7680,7 +7680,7 @@ const Td = {
|
|
|
7680
7680
|
t.class ?? ""
|
|
7681
7681
|
)
|
|
7682
7682
|
);
|
|
7683
|
-
return (a, l) => (b(),
|
|
7683
|
+
return (a, l) => (b(), R(bt(a.isChild ? "div" : "section"), {
|
|
7684
7684
|
style: kt(i.value),
|
|
7685
7685
|
class: _(r.value)
|
|
7686
7686
|
}, {
|
|
@@ -7692,18 +7692,18 @@ const Td = {
|
|
|
7692
7692
|
class: _(`headline ${((c = e.value) == null ? void 0 : c.headline) ?? ""} text-${v(s).headline}`),
|
|
7693
7693
|
innerHTML: a.headline
|
|
7694
7694
|
}, null, 10, ih)) : k("", !0),
|
|
7695
|
-
|
|
7695
|
+
T("div", {
|
|
7696
7696
|
class: _(`split-module-content ${v(V)("flex justify-evenly gap-4 mx-auto items-center", ((u = e.value) == null ? void 0 : u.bodyCopy) ?? "")}`)
|
|
7697
7697
|
}, [
|
|
7698
|
-
a.start ? (b(),
|
|
7698
|
+
a.start ? (b(), R(bt(a.start.__typename), L({ key: 0 }, a.start, {
|
|
7699
7699
|
class: `split-module-start ${((d = e.value) == null ? void 0 : d.start) ?? ""}`,
|
|
7700
7700
|
"is-child": !0
|
|
7701
7701
|
}), null, 16, ["class"])) : k("", !0),
|
|
7702
|
-
a.center ? (b(),
|
|
7702
|
+
a.center ? (b(), R(bt(a.center.__typename), L({ key: 1 }, a.center, {
|
|
7703
7703
|
class: `split-module-center ${((h = e.value) == null ? void 0 : h.center) ?? ""}`,
|
|
7704
7704
|
"is-child": !0
|
|
7705
7705
|
}), null, 16, ["class"])) : k("", !0),
|
|
7706
|
-
a.end ? (b(),
|
|
7706
|
+
a.end ? (b(), R(bt(a.end.__typename), L({ key: 2 }, a.end, {
|
|
7707
7707
|
class: `split-module-end ${((f = e.value) == null ? void 0 : f.end) ?? ""}`,
|
|
7708
7708
|
"is-child": !0
|
|
7709
7709
|
}), null, 16, ["class"])) : k("", !0)
|
|
@@ -7741,16 +7741,16 @@ const Td = {
|
|
|
7741
7741
|
class: _(`testimonial ${v(V)("p-5", t.class ?? "")}`),
|
|
7742
7742
|
style: kt(o.value)
|
|
7743
7743
|
}, [
|
|
7744
|
-
|
|
7744
|
+
T("div", {
|
|
7745
7745
|
class: _(`container mx-auto flex flex-col gap-8 ${((a = e.value) == null ? void 0 : a.container) ?? ""} ${((l = s.mediaPosition) == null ? void 0 : l.toLowerCase()) === "right" ? "lg:flex-row-reverse" : "lg:flex-row"}`)
|
|
7746
7746
|
}, [
|
|
7747
7747
|
s.media ? (b(), x("div", {
|
|
7748
7748
|
key: 0,
|
|
7749
7749
|
class: _(`testimonial-media ${((c = e.value) == null ? void 0 : c.media) ?? ""}`)
|
|
7750
7750
|
}, [
|
|
7751
|
-
(b(),
|
|
7751
|
+
(b(), R(bt(s.media.__typename), xe(Wa(s.media)), null, 16))
|
|
7752
7752
|
], 2)) : k("", !0),
|
|
7753
|
-
|
|
7753
|
+
T("div", {
|
|
7754
7754
|
class: _(`testimonial-text ${((u = e.value) == null ? void 0 : u.text) ?? ""}`)
|
|
7755
7755
|
}, [
|
|
7756
7756
|
s.headline ? (b(), x("h3", {
|
|
@@ -7839,12 +7839,12 @@ const Td = {
|
|
|
7839
7839
|
}
|
|
7840
7840
|
});
|
|
7841
7841
|
return (u, d) => {
|
|
7842
|
-
var p, g, m, y, w, $,
|
|
7842
|
+
var p, g, m, y, w, $, M;
|
|
7843
7843
|
const h = jt, f = $t;
|
|
7844
7844
|
return b(), x("section", {
|
|
7845
7845
|
class: _(`tile-collection ${u.variant} ${v(V)("overflow-hidden py-16", u.includeDecoration ? "!pb-0" : "", ((p = e.value) == null ? void 0 : p.root) ?? "", t.class ?? "")} bg-${v(i)}`)
|
|
7846
7846
|
}, [
|
|
7847
|
-
|
|
7847
|
+
T("div", {
|
|
7848
7848
|
class: _(`container mx-auto ${((g = e.value) == null ? void 0 : g.container) ?? ""}`)
|
|
7849
7849
|
}, [
|
|
7850
7850
|
u.headline || u.bodyCopy ? (b(), x("div", {
|
|
@@ -7867,7 +7867,7 @@ const Td = {
|
|
|
7867
7867
|
}, [
|
|
7868
7868
|
(b(!0), x(X, null, et(u.modules, (S, I) => {
|
|
7869
7869
|
var O;
|
|
7870
|
-
return b(),
|
|
7870
|
+
return b(), R(bt(`TileContent${u.variant}`), L({
|
|
7871
7871
|
key: `${S == null ? void 0 : S.headline}-${I}`,
|
|
7872
7872
|
class: `tile-collection-content-item-${I} ${l.value} ${((O = e.value) == null ? void 0 : O.item) ?? ""} ${S.class ?? ""}`,
|
|
7873
7873
|
ref_for: !0
|
|
@@ -7878,8 +7878,8 @@ const Td = {
|
|
|
7878
7878
|
}), null, 16, ["class", "parent-background-color", "index", "tile-label-type"]);
|
|
7879
7879
|
}), 128))
|
|
7880
7880
|
], 2)) : k("", !0),
|
|
7881
|
-
(
|
|
7882
|
-
(b(!0), x(X, null, et(u.ctas, (S) => (b(),
|
|
7881
|
+
(M = u.ctas) != null && M.length ? (b(), x("div", lh, [
|
|
7882
|
+
(b(!0), x(X, null, et(u.ctas, (S) => (b(), R(h, L({
|
|
7883
7883
|
key: `${S.title}-cta`,
|
|
7884
7884
|
ref_for: !0
|
|
7885
7885
|
}, S, {
|
|
@@ -7889,7 +7889,7 @@ const Td = {
|
|
|
7889
7889
|
])) : k("", !0)
|
|
7890
7890
|
], 2),
|
|
7891
7891
|
u.includeDecoration ? (b(), x("div", ch, [
|
|
7892
|
-
|
|
7892
|
+
Ot(f, {
|
|
7893
7893
|
animated: !0,
|
|
7894
7894
|
media: {
|
|
7895
7895
|
url: c.value
|
|
@@ -7901,7 +7901,7 @@ const Td = {
|
|
|
7901
7901
|
], 2);
|
|
7902
7902
|
};
|
|
7903
7903
|
}
|
|
7904
|
-
}),
|
|
7904
|
+
}), Tn = /* @__PURE__ */ tt({
|
|
7905
7905
|
__name: "TileLabel",
|
|
7906
7906
|
props: {
|
|
7907
7907
|
__typename: {},
|
|
@@ -7929,7 +7929,7 @@ const Td = {
|
|
|
7929
7929
|
})
|
|
7930
7930
|
}, K(i.value), 7)) : k("", !0);
|
|
7931
7931
|
}
|
|
7932
|
-
}), gi = (n, t) => n.buttonType === "fill" ? n.color ??
|
|
7932
|
+
}), gi = (n, t) => n.buttonType === "fill" ? n.color ?? cn[t].cta.fill.bg : null, mi = (n, t) => n.textColor ?? cn[t].cta[n.buttonType].copy;
|
|
7933
7933
|
var dh = {
|
|
7934
7934
|
root: "p-card p-component",
|
|
7935
7935
|
header: "p-card-header",
|
|
@@ -7944,7 +7944,7 @@ var dh = {
|
|
|
7944
7944
|
classes: dh
|
|
7945
7945
|
}), fh = {
|
|
7946
7946
|
name: "BaseCard",
|
|
7947
|
-
extends:
|
|
7947
|
+
extends: kn,
|
|
7948
7948
|
style: hh
|
|
7949
7949
|
}, Ce = {
|
|
7950
7950
|
name: "Card",
|
|
@@ -7957,7 +7957,7 @@ function ph(n, t, e, i, o, s) {
|
|
|
7957
7957
|
}, n.ptmi("root")), [n.$slots.header ? (b(), x("div", L({
|
|
7958
7958
|
key: 0,
|
|
7959
7959
|
class: n.cx("header")
|
|
7960
|
-
}, n.ptm("header")), [vt(n.$slots, "header")], 16)) : k("", !0),
|
|
7960
|
+
}, n.ptm("header")), [vt(n.$slots, "header")], 16)) : k("", !0), T("div", L({
|
|
7961
7961
|
class: n.cx("body")
|
|
7962
7962
|
}, n.ptm("body")), [n.$slots.title || n.$slots.subtitle ? (b(), x("div", L({
|
|
7963
7963
|
key: 0,
|
|
@@ -7968,7 +7968,7 @@ function ph(n, t, e, i, o, s) {
|
|
|
7968
7968
|
}, n.ptm("title")), [vt(n.$slots, "title")], 16)) : k("", !0), n.$slots.subtitle ? (b(), x("div", L({
|
|
7969
7969
|
key: 1,
|
|
7970
7970
|
class: n.cx("subtitle")
|
|
7971
|
-
}, n.ptm("subtitle")), [vt(n.$slots, "subtitle")], 16)) : k("", !0)], 16)) : k("", !0),
|
|
7971
|
+
}, n.ptm("subtitle")), [vt(n.$slots, "subtitle")], 16)) : k("", !0)], 16)) : k("", !0), T("div", L({
|
|
7972
7972
|
class: n.cx("content")
|
|
7973
7973
|
}, n.ptm("content")), [vt(n.$slots, "content")], 16), n.$slots.footer ? (b(), x("div", L({
|
|
7974
7974
|
key: 1,
|
|
@@ -7976,7 +7976,7 @@ function ph(n, t, e, i, o, s) {
|
|
|
7976
7976
|
}, n.ptm("footer")), [vt(n.$slots, "footer")], 16)) : k("", !0)], 16)], 16);
|
|
7977
7977
|
}
|
|
7978
7978
|
Ce.render = ph;
|
|
7979
|
-
const gh = ["src", "height", "width"], mh = ["src"
|
|
7979
|
+
const gh = ["src", "height", "width"], mh = ["src"], bi = /* @__PURE__ */ tt({
|
|
7980
7980
|
__name: "Video",
|
|
7981
7981
|
props: {
|
|
7982
7982
|
__typename: {},
|
|
@@ -7985,25 +7985,20 @@ const gh = ["src", "height", "width"], mh = ["src", "height", "width"], bi = /*
|
|
|
7985
7985
|
class: {}
|
|
7986
7986
|
},
|
|
7987
7987
|
setup(n) {
|
|
7988
|
-
|
|
7989
|
-
function
|
|
7990
|
-
|
|
7988
|
+
const t = n, e = J(!1);
|
|
7989
|
+
function i() {
|
|
7990
|
+
e.value = !0;
|
|
7991
7991
|
}
|
|
7992
|
-
|
|
7993
|
-
|
|
7994
|
-
|
|
7995
|
-
|
|
7996
|
-
|
|
7997
|
-
|
|
7998
|
-
|
|
7999
|
-
|
|
8000
|
-
allow: "autoplay"
|
|
8001
|
-
}, null, 10, mh)) : k("", !0) : (b(), x("div", {
|
|
8002
|
-
key: 0,
|
|
8003
|
-
class: _(`${i.$props.class} relative cursor-pointer`),
|
|
8004
|
-
onClick: e
|
|
7992
|
+
function o() {
|
|
7993
|
+
e.value = !1;
|
|
7994
|
+
}
|
|
7995
|
+
const s = A(() => t.url ? t.url.includes("youtube.com/watch") ? `https://www.youtube.com/embed/${t.url.split("v=")[1]}?autoplay=1` : t.url : "");
|
|
7996
|
+
return (r, a) => (b(), x(X, null, [
|
|
7997
|
+
T("div", {
|
|
7998
|
+
class: _(`${r.$props.class} relative cursor-pointer`),
|
|
7999
|
+
onClick: i
|
|
8005
8000
|
}, [
|
|
8006
|
-
|
|
8001
|
+
a[1] || (a[1] = T("svg", {
|
|
8007
8002
|
class: "absolute bottom-0 left-0 right-0 top-0 m-auto block",
|
|
8008
8003
|
xmlns: "http://www.w3.org/2000/svg",
|
|
8009
8004
|
width: "97",
|
|
@@ -8011,26 +8006,49 @@ const gh = ["src", "height", "width"], mh = ["src", "height", "width"], bi = /*
|
|
|
8011
8006
|
viewBox: "0 0 97 97",
|
|
8012
8007
|
fill: "none"
|
|
8013
8008
|
}, [
|
|
8014
|
-
|
|
8009
|
+
T("path", {
|
|
8015
8010
|
d: "M91.4217 48.2108C91.4217 72.0755 72.0755 91.4217 48.2108 91.4217C24.3462 91.4217 5 72.0755 5 48.2108C5 24.3462 24.3462 5 48.2108 5C72.0755 5 91.4217 24.3462 91.4217 48.2108Z",
|
|
8016
8011
|
stroke: "white",
|
|
8017
8012
|
"stroke-width": "10"
|
|
8018
8013
|
}),
|
|
8019
|
-
|
|
8014
|
+
T("path", {
|
|
8020
8015
|
"fill-rule": "evenodd",
|
|
8021
8016
|
"clip-rule": "evenodd",
|
|
8022
8017
|
d: "M39.9246 25.9149L69.7535 48.2109L39.9246 70.5069V25.9149Z",
|
|
8023
8018
|
fill: "white"
|
|
8024
8019
|
})
|
|
8025
8020
|
], -1)),
|
|
8026
|
-
|
|
8021
|
+
T("img", {
|
|
8027
8022
|
class: "w-full",
|
|
8028
|
-
src:
|
|
8029
|
-
height:
|
|
8030
|
-
width:
|
|
8023
|
+
src: r.thumbnail.media.url,
|
|
8024
|
+
height: r.thumbnail.media.height,
|
|
8025
|
+
width: r.thumbnail.media.width
|
|
8031
8026
|
}, null, 8, gh)
|
|
8032
|
-
], 2)
|
|
8033
|
-
|
|
8027
|
+
], 2),
|
|
8028
|
+
e.value ? (b(), x("div", {
|
|
8029
|
+
key: 0,
|
|
8030
|
+
class: "fixed inset-0 bg-black/80 flex items-center justify-center z-[9999]",
|
|
8031
|
+
onClick: o
|
|
8032
|
+
}, [
|
|
8033
|
+
T("div", {
|
|
8034
|
+
class: "relative w-[90%] max-w-4xl",
|
|
8035
|
+
onClick: a[0] || (a[0] = ln(() => {
|
|
8036
|
+
}, ["stop"]))
|
|
8037
|
+
}, [
|
|
8038
|
+
T("button", {
|
|
8039
|
+
class: "absolute -top-12 right-0 text-white text-xl",
|
|
8040
|
+
onClick: o
|
|
8041
|
+
}, " ✕ "),
|
|
8042
|
+
T("iframe", {
|
|
8043
|
+
class: "w-full aspect-video",
|
|
8044
|
+
src: s.value,
|
|
8045
|
+
frameborder: "0",
|
|
8046
|
+
allow: "autoplay; encrypted-media",
|
|
8047
|
+
allowfullscreen: ""
|
|
8048
|
+
}, null, 8, mh)
|
|
8049
|
+
])
|
|
8050
|
+
])) : k("", !0)
|
|
8051
|
+
], 64));
|
|
8034
8052
|
}
|
|
8035
8053
|
}), bh = ["innerHTML"], yh = /* @__PURE__ */ tt({
|
|
8036
8054
|
__name: "TileContentIconTile",
|
|
@@ -8062,23 +8080,23 @@ const gh = ["src", "height", "width"], mh = ["src", "height", "width"], bi = /*
|
|
|
8062
8080
|
backgroundColor: i
|
|
8063
8081
|
}), s = t.backgroundColor ? o : o.tile, r = typeof t.index == "number", a = t.backgroundColor || o.tile.bg, l = A(() => t.alignment === "center" ? "items-center" : t.alignment === "right" ? "items-end" : "items-start"), c = J(null), u = ho(c, { threshold: 0.1 });
|
|
8064
8082
|
return (d, h) => {
|
|
8065
|
-
var g, m, y, w, $,
|
|
8066
|
-
const f =
|
|
8083
|
+
var g, m, y, w, $, M, S, I, O, D, E;
|
|
8084
|
+
const f = Tn, p = jt;
|
|
8067
8085
|
return b(), x("div", {
|
|
8068
8086
|
ref_key: "content",
|
|
8069
8087
|
ref: c,
|
|
8070
8088
|
style: kt({ transitionDelay: `${(d.index ?? 0) * 0.2}s` }),
|
|
8071
8089
|
class: _(`tile-content animate-slide-on-top ${v(u) ? "visible" : ""} ${v(V)((g = e.value) == null ? void 0 : g.root, r ? "" : "w-full md:w-full lg:w-full")} ${t.class} bg-${v(a)}`)
|
|
8072
8090
|
}, [
|
|
8073
|
-
d.tileLabel || d.tileLabelType ? (b(),
|
|
8091
|
+
d.tileLabel || d.tileLabelType ? (b(), R(f, L({ key: 0 }, d.tileLabel, {
|
|
8074
8092
|
type: d.tileLabelType ?? ((m = d.tileLabel) == null ? void 0 : m.type),
|
|
8075
8093
|
class: d.tileLabelType === "Numeric" || ((y = d.tileLabel) == null ? void 0 : y.type) === "Numeric" ? (w = e.value) == null ? void 0 : w.numericLabel : ($ = e.value) == null ? void 0 : $.label,
|
|
8076
|
-
"background-color": v(s).label[d.tileLabelType ?? ((
|
|
8094
|
+
"background-color": v(s).label[d.tileLabelType ?? ((M = d.tileLabel) == null ? void 0 : M.type) ?? "Text"].bg,
|
|
8077
8095
|
"text-color": v(s).label[d.tileLabelType ?? ((S = d.tileLabel) == null ? void 0 : S.type) ?? "Text"].copy,
|
|
8078
8096
|
index: d.index,
|
|
8079
8097
|
alignment: ((I = d.tileLabel) == null ? void 0 : I.alignment) ?? "right"
|
|
8080
8098
|
}), null, 16, ["type", "class", "background-color", "text-color", "index", "alignment"])) : k("", !0),
|
|
8081
|
-
|
|
8099
|
+
Ot(v(Ce), {
|
|
8082
8100
|
class: _(`${((O = e.value) == null ? void 0 : O.container) ?? ""} tile-content-container shadow-none`),
|
|
8083
8101
|
"pt:footer:class": `tile-content-footer ${((D = e.value) == null ? void 0 : D.footer) ?? ""}`,
|
|
8084
8102
|
"pt:body:class": ((E = e.value) == null ? void 0 : E.body) ?? ""
|
|
@@ -8086,20 +8104,20 @@ const gh = ["src", "height", "width"], mh = ["src", "height", "width"], bi = /*
|
|
|
8086
8104
|
d.bodyCopy || d.listItems ? {
|
|
8087
8105
|
name: "content",
|
|
8088
8106
|
fn: dt(() => {
|
|
8089
|
-
var j, H, C, P, F,
|
|
8107
|
+
var j, H, C, P, F, B, z;
|
|
8090
8108
|
return [
|
|
8091
|
-
|
|
8109
|
+
T("div", {
|
|
8092
8110
|
class: _(`flex flex-col tile-content-inner ${((j = e.value) == null ? void 0 : j.bodyCopy) ?? ""} ${l.value}`)
|
|
8093
8111
|
}, [
|
|
8094
8112
|
d.image ? (b(), x("div", {
|
|
8095
8113
|
key: 0,
|
|
8096
8114
|
class: _(`tile-content-media ${((H = e.value) == null ? void 0 : H.media) ?? ""}`)
|
|
8097
8115
|
}, [
|
|
8098
|
-
h[0] || (h[0] =
|
|
8099
|
-
d.image ? (b(),
|
|
8116
|
+
h[0] || (h[0] = T("div", { class: "tile-content-media-background" }, null, -1)),
|
|
8117
|
+
d.image ? (b(), R($t, L({ key: 0 }, d.image, {
|
|
8100
8118
|
class: v(V)((P = (C = d.image) == null ? void 0 : C.media) != null && P.width ? "" : "w-full", d.image.class)
|
|
8101
8119
|
}), null, 16, ["class"])) : k("", !0),
|
|
8102
|
-
d.video ? (b(),
|
|
8120
|
+
d.video ? (b(), R(bi, L({ key: 1 }, d.video, { class: "w-full" }), null, 16)) : k("", !0)
|
|
8103
8121
|
], 2)) : k("", !0),
|
|
8104
8122
|
d.headline ? (b(), x("h3", {
|
|
8105
8123
|
key: 1,
|
|
@@ -8107,7 +8125,7 @@ const gh = ["src", "height", "width"], mh = ["src", "height", "width"], bi = /*
|
|
|
8107
8125
|
}, K(d.headline), 3)) : k("", !0),
|
|
8108
8126
|
d.subheadline ? (b(), x("h6", {
|
|
8109
8127
|
key: 2,
|
|
8110
|
-
class: _(`tile-content-subheadline ${((
|
|
8128
|
+
class: _(`tile-content-subheadline ${((B = e.value) == null ? void 0 : B.subheadline) ?? ""} text-${v(s).headline} text-${d.alignment}`)
|
|
8111
8129
|
}, K(d.subheadline), 3)) : k("", !0),
|
|
8112
8130
|
d.bodyCopy ? (b(), x("div", {
|
|
8113
8131
|
key: 3,
|
|
@@ -8129,12 +8147,12 @@ const gh = ["src", "height", "width"], mh = ["src", "height", "width"], bi = /*
|
|
|
8129
8147
|
key: 0,
|
|
8130
8148
|
class: _(`${((j = e.value) == null ? void 0 : j.footerContent) ?? ""} text-${v(s).copy}`)
|
|
8131
8149
|
}, K(d.footer), 3)) : k("", !0),
|
|
8132
|
-
|
|
8150
|
+
T("div", {
|
|
8133
8151
|
class: _(((H = e.value) == null ? void 0 : H.ctas) ?? "")
|
|
8134
8152
|
}, [
|
|
8135
8153
|
(b(!0), x(X, null, et(d.ctas, (C, P) => {
|
|
8136
8154
|
var F;
|
|
8137
|
-
return b(),
|
|
8155
|
+
return b(), R(p, L({
|
|
8138
8156
|
key: `cta-${C.title}-${P}`,
|
|
8139
8157
|
class: `cta-${P} ${(F = e.value) == null ? void 0 : F.cta}`,
|
|
8140
8158
|
color: v(gi)(C, v(a)),
|
|
@@ -8152,7 +8170,7 @@ const gh = ["src", "height", "width"], mh = ["src", "height", "width"], bi = /*
|
|
|
8152
8170
|
], 6);
|
|
8153
8171
|
};
|
|
8154
8172
|
}
|
|
8155
|
-
}), vh = /* @__PURE__ */
|
|
8173
|
+
}), vh = /* @__PURE__ */ Sn(yh, [["__scopeId", "data-v-1896996d"]]), xh = ["innerHTML"], _h = /* @__PURE__ */ tt({
|
|
8156
8174
|
__name: "TileContentImageTile",
|
|
8157
8175
|
props: {
|
|
8158
8176
|
__typename: {},
|
|
@@ -8183,14 +8201,14 @@ const gh = ["src", "height", "width"], mh = ["src", "height", "width"], bi = /*
|
|
|
8183
8201
|
}), s = t.backgroundColor ? o : o.tile, r = typeof t.index == "number", a = t.backgroundColor || o.tile.bg, l = A(() => t.alignment === "center" ? "items-center" : t.alignment === "right" ? "items-end" : "items-start"), c = J(null), u = ho(c, { threshold: 0.1 });
|
|
8184
8202
|
return (d, h) => {
|
|
8185
8203
|
var g, m, y, w;
|
|
8186
|
-
const f =
|
|
8204
|
+
const f = Tn, p = jt;
|
|
8187
8205
|
return b(), x("div", {
|
|
8188
8206
|
ref_key: "content",
|
|
8189
8207
|
ref: c,
|
|
8190
8208
|
style: kt({ transitionDelay: `${(d.index ?? 0) * 0.2}s` }),
|
|
8191
8209
|
class: _(`tile-content animate-slide-in-right ${v(u) ? "visible" : ""} ${v(V)(((g = e.value) == null ? void 0 : g.root) ?? "", r ? "" : "w-full md:w-full lg:w-full", `bg-${v(a)}`, t.class ?? "")}`)
|
|
8192
8210
|
}, [
|
|
8193
|
-
|
|
8211
|
+
Ot(v(Ce), {
|
|
8194
8212
|
class: _(`${((m = e.value) == null ? void 0 : m.container) ?? ""} tile-content-container shadow-none`),
|
|
8195
8213
|
"pt:footer:class": `tile-content-ctas ${((y = e.value) == null ? void 0 : y.footer) ?? ""}`,
|
|
8196
8214
|
"pt:body:class": ((w = e.value) == null ? void 0 : w.body) ?? ""
|
|
@@ -8198,16 +8216,16 @@ const gh = ["src", "height", "width"], mh = ["src", "height", "width"], bi = /*
|
|
|
8198
8216
|
d.image || d.bodyCopy || d.listItems ? {
|
|
8199
8217
|
name: "content",
|
|
8200
8218
|
fn: dt(() => {
|
|
8201
|
-
var $,
|
|
8219
|
+
var $, M, S, I, O, D, E, j, H, C, P, F, B, z, N;
|
|
8202
8220
|
return [
|
|
8203
|
-
|
|
8221
|
+
T("div", {
|
|
8204
8222
|
class: _(`flex flex-col tile-content-inner ${(($ = e.value) == null ? void 0 : $.bodyCopy) ?? ""} ${l.value}`)
|
|
8205
8223
|
}, [
|
|
8206
8224
|
d.image ? (b(), x("div", {
|
|
8207
8225
|
key: 0,
|
|
8208
|
-
class: _(`tile-content-media w-4/5 ${((
|
|
8226
|
+
class: _(`tile-content-media w-4/5 ${((M = e.value) == null ? void 0 : M.media) ?? ""}`)
|
|
8209
8227
|
}, [
|
|
8210
|
-
d.tileLabel || d.tileLabelType ? (b(),
|
|
8228
|
+
d.tileLabel || d.tileLabelType ? (b(), R(f, {
|
|
8211
8229
|
key: 0,
|
|
8212
8230
|
class: _(
|
|
8213
8231
|
d.tileLabelType === "Numeric" || ((S = d.tileLabel) == null ? void 0 : S.type) === "Numeric" ? (I = e.value) == null ? void 0 : I.numericLabel : (O = e.value) == null ? void 0 : O.label
|
|
@@ -8218,8 +8236,8 @@ const gh = ["src", "height", "width"], mh = ["src", "height", "width"], bi = /*
|
|
|
8218
8236
|
"background-color": v(s).label[d.tileLabelType ?? ((j = d.tileLabel) == null ? void 0 : j.type) ?? "Text"].bg,
|
|
8219
8237
|
"text-color": v(s).label[d.tileLabelType ?? ((H = d.tileLabel) == null ? void 0 : H.type) ?? "Text"].copy
|
|
8220
8238
|
}, null, 8, ["class", "index", "alignment", "type", "background-color", "text-color"])) : k("", !0),
|
|
8221
|
-
h[0] || (h[0] =
|
|
8222
|
-
d.image ? (b(),
|
|
8239
|
+
h[0] || (h[0] = T("div", { class: "tile-content-media-background" }, null, -1)),
|
|
8240
|
+
d.image ? (b(), R($t, L({ key: 1 }, d.image, {
|
|
8223
8241
|
class: v(V)(
|
|
8224
8242
|
!d.bodyCopy && !d.headline && !((C = d.listItems) != null && C.length) ? "rounded-lg" : "rounded-full",
|
|
8225
8243
|
(F = (P = d.image) == null ? void 0 : P.media) != null && F.width ? "" : "w-full",
|
|
@@ -8229,7 +8247,7 @@ const gh = ["src", "height", "width"], mh = ["src", "height", "width"], bi = /*
|
|
|
8229
8247
|
], 2)) : k("", !0),
|
|
8230
8248
|
d.headline ? (b(), x("h3", {
|
|
8231
8249
|
key: 1,
|
|
8232
|
-
class: _(`tile-content-headline ${((
|
|
8250
|
+
class: _(`tile-content-headline ${((B = e.value) == null ? void 0 : B.headline) ?? ""} text-${v(s).headline}`)
|
|
8233
8251
|
}, K(d.headline), 3)) : k("", !0),
|
|
8234
8252
|
d.subheadline ? (b(), x("h6", {
|
|
8235
8253
|
key: 2,
|
|
@@ -8249,18 +8267,18 @@ const gh = ["src", "height", "width"], mh = ["src", "height", "width"], bi = /*
|
|
|
8249
8267
|
d.ctas || d.footer ? {
|
|
8250
8268
|
name: "footer",
|
|
8251
8269
|
fn: dt(() => {
|
|
8252
|
-
var $,
|
|
8270
|
+
var $, M;
|
|
8253
8271
|
return [
|
|
8254
8272
|
d.footer ? (b(), x("p", {
|
|
8255
8273
|
key: 0,
|
|
8256
8274
|
class: _(`${(($ = e.value) == null ? void 0 : $.footerContent) ?? ""} text-${v(s).copy} text-${d.alignment}`)
|
|
8257
8275
|
}, K(d.footer), 3)) : k("", !0),
|
|
8258
|
-
|
|
8259
|
-
class: _(((
|
|
8276
|
+
T("div", {
|
|
8277
|
+
class: _(((M = e.value) == null ? void 0 : M.ctas) ?? "")
|
|
8260
8278
|
}, [
|
|
8261
8279
|
(b(!0), x(X, null, et(d.ctas, (S, I) => {
|
|
8262
8280
|
var O;
|
|
8263
|
-
return b(),
|
|
8281
|
+
return b(), R(p, L({
|
|
8264
8282
|
key: `cta-${S.title}-${I}`,
|
|
8265
8283
|
class: `cta-${I} ${(O = e.value) == null ? void 0 : O.cta}`,
|
|
8266
8284
|
color: v(gi)(S, v(a)),
|
|
@@ -8277,7 +8295,7 @@ const gh = ["src", "height", "width"], mh = ["src", "height", "width"], bi = /*
|
|
|
8277
8295
|
], 6);
|
|
8278
8296
|
};
|
|
8279
8297
|
}
|
|
8280
|
-
}), wh = /* @__PURE__ */
|
|
8298
|
+
}), wh = /* @__PURE__ */ Sn(_h, [["__scopeId", "data-v-799e6785"]]), Ch = ["innerHTML"], kh = /* @__PURE__ */ tt({
|
|
8281
8299
|
__name: "TileContentTextTile",
|
|
8282
8300
|
props: {
|
|
8283
8301
|
__typename: {},
|
|
@@ -8307,21 +8325,21 @@ const gh = ["src", "height", "width"], mh = ["src", "height", "width"], bi = /*
|
|
|
8307
8325
|
backgroundColor: o
|
|
8308
8326
|
}), r = t.backgroundColor ? s : s.tile, a = t.backgroundColor || s.tile.bg;
|
|
8309
8327
|
return (l, c) => {
|
|
8310
|
-
var h, f, p, g, m, y, w, $,
|
|
8311
|
-
const u =
|
|
8328
|
+
var h, f, p, g, m, y, w, $, M, S;
|
|
8329
|
+
const u = Tn, d = jt;
|
|
8312
8330
|
return b(), x("div", {
|
|
8313
8331
|
class: _(`tile-content ${v(V)((h = e.value) == null ? void 0 : h.root, i ? "" : "w-full md:w-full lg:w-full")} ${t.class} bg-${v(a)}`)
|
|
8314
8332
|
}, [
|
|
8315
|
-
l.tileLabel || l.tileLabelType ? (b(),
|
|
8333
|
+
l.tileLabel || l.tileLabelType ? (b(), R(u, L({ key: 0 }, l.tileLabel, {
|
|
8316
8334
|
class: l.tileLabelType === "Numeric" || ((f = l.tileLabel) == null ? void 0 : f.type) === "Numeric" ? (p = e.value) == null ? void 0 : p.numericLabel : (g = e.value) == null ? void 0 : g.label,
|
|
8317
8335
|
index: l.index,
|
|
8318
8336
|
type: l.tileLabelType ?? ((m = l.tileLabel) == null ? void 0 : m.type),
|
|
8319
8337
|
"background-color": v(r).label[l.tileLabelType ?? ((y = l.tileLabel) == null ? void 0 : y.type) ?? "Text"].bg,
|
|
8320
8338
|
"text-color": v(r).label[l.tileLabelType ?? ((w = l.tileLabel) == null ? void 0 : w.type) ?? "Text"].copy
|
|
8321
8339
|
}), null, 16, ["class", "index", "type", "background-color", "text-color"])) : k("", !0),
|
|
8322
|
-
|
|
8340
|
+
Ot(v(Ce), {
|
|
8323
8341
|
class: _(`${(($ = e.value) == null ? void 0 : $.container) ?? ""} tile-content-container shadow-none`),
|
|
8324
|
-
"pt:footer:class": `tile-content-ctas ${((
|
|
8342
|
+
"pt:footer:class": `tile-content-ctas ${((M = e.value) == null ? void 0 : M.footer) ?? ""}`,
|
|
8325
8343
|
"pt:body:class": ((S = e.value) == null ? void 0 : S.body) ?? ""
|
|
8326
8344
|
}, Re({ _: 2 }, [
|
|
8327
8345
|
l.bodyCopy || l.subheadline || l.headline ? {
|
|
@@ -8329,7 +8347,7 @@ const gh = ["src", "height", "width"], mh = ["src", "height", "width"], bi = /*
|
|
|
8329
8347
|
fn: dt(() => {
|
|
8330
8348
|
var I, O, D, E;
|
|
8331
8349
|
return [
|
|
8332
|
-
|
|
8350
|
+
T("div", {
|
|
8333
8351
|
class: _(`flex flex-col tile-content-inner ${((I = e.value) == null ? void 0 : I.bodyCopy) ?? ""}`)
|
|
8334
8352
|
}, [
|
|
8335
8353
|
l.subheadline ? (b(), x("h6", {
|
|
@@ -8360,12 +8378,12 @@ const gh = ["src", "height", "width"], mh = ["src", "height", "width"], bi = /*
|
|
|
8360
8378
|
key: 0,
|
|
8361
8379
|
class: _(`${((I = e.value) == null ? void 0 : I.footerContent) ?? ""} text-${v(r).copy} text-${l.alignment}`)
|
|
8362
8380
|
}, K(l.footer), 3)) : k("", !0),
|
|
8363
|
-
|
|
8381
|
+
T("div", {
|
|
8364
8382
|
class: _(((O = e.value) == null ? void 0 : O.ctas) ?? "")
|
|
8365
8383
|
}, [
|
|
8366
8384
|
(b(!0), x(X, null, et(l.ctas, (D, E) => {
|
|
8367
8385
|
var j;
|
|
8368
|
-
return b(),
|
|
8386
|
+
return b(), R(d, L({
|
|
8369
8387
|
key: `cta-${D.title}-${E}`,
|
|
8370
8388
|
class: `cta-${E} ${(j = e.value) == null ? void 0 : j.cta} w-full`,
|
|
8371
8389
|
color: v(gi)(D, v(a)),
|
|
@@ -8414,12 +8432,12 @@ const gh = ["src", "height", "width"], mh = ["src", "height", "width"], bi = /*
|
|
|
8414
8432
|
backgroundColor: o
|
|
8415
8433
|
}), r = t.backgroundColor ? s : s.tile, a = t.backgroundColor || s.tile.bg, l = A(() => t.alignment === "center" ? "items-center" : t.alignment === "right" ? "items-end" : "items-start");
|
|
8416
8434
|
return (c, u) => {
|
|
8417
|
-
var f, p, g, m, y, w, $,
|
|
8418
|
-
const d =
|
|
8435
|
+
var f, p, g, m, y, w, $, M, S, I, O;
|
|
8436
|
+
const d = Tn, h = jt;
|
|
8419
8437
|
return b(), x("div", {
|
|
8420
8438
|
class: _(`tile-content ${v(V)("relative text-center list-none flex-auto rounded overflow-visible mx-auto shadow-none", `bg-${v(a)}`, i ? "" : "w-full md:w-full lg:w-full", ((f = e.value) == null ? void 0 : f.root) ?? "", t.class ?? "")} ${t.class}`)
|
|
8421
8439
|
}, [
|
|
8422
|
-
c.tileLabel || c.tileLabelType ? (b(),
|
|
8440
|
+
c.tileLabel || c.tileLabelType ? (b(), R(d, {
|
|
8423
8441
|
key: 0,
|
|
8424
8442
|
class: _(
|
|
8425
8443
|
c.tileLabelType === "Numeric" || ((p = c.tileLabel) == null ? void 0 : p.type) === "Numeric" ? (g = e.value) == null ? void 0 : g.numericLabel : (m = e.value) == null ? void 0 : m.label
|
|
@@ -8428,9 +8446,9 @@ const gh = ["src", "height", "width"], mh = ["src", "height", "width"], bi = /*
|
|
|
8428
8446
|
alignment: ((y = c.tileLabel) == null ? void 0 : y.alignment) ?? "right",
|
|
8429
8447
|
type: c.tileLabelType ?? ((w = c.tileLabel) == null ? void 0 : w.type),
|
|
8430
8448
|
"background-color": v(r).label[c.tileLabelType ?? (($ = c.tileLabel) == null ? void 0 : $.type) ?? "Text"].bg,
|
|
8431
|
-
"text-color": v(r).label[c.tileLabelType ?? ((
|
|
8449
|
+
"text-color": v(r).label[c.tileLabelType ?? ((M = c.tileLabel) == null ? void 0 : M.type) ?? "Text"].copy
|
|
8432
8450
|
}, null, 8, ["class", "index", "alignment", "type", "background-color", "text-color"])) : k("", !0),
|
|
8433
|
-
|
|
8451
|
+
Ot(v(Ce), {
|
|
8434
8452
|
class: _(`${((S = e.value) == null ? void 0 : S.container) ?? ""} tile-content-container shadow-none`),
|
|
8435
8453
|
"pt:footer:class": `tile-content-ctas ${((I = e.value) == null ? void 0 : I.ctas) ?? ""}`,
|
|
8436
8454
|
"pt:body:class": ((O = e.value) == null ? void 0 : O.body) ?? ""
|
|
@@ -8438,9 +8456,9 @@ const gh = ["src", "height", "width"], mh = ["src", "height", "width"], bi = /*
|
|
|
8438
8456
|
c.bodyCopy || c.listItems ? {
|
|
8439
8457
|
name: "content",
|
|
8440
8458
|
fn: dt(() => {
|
|
8441
|
-
var D, E, j, H, C;
|
|
8459
|
+
var D, E, j, H, C, P;
|
|
8442
8460
|
return [
|
|
8443
|
-
|
|
8461
|
+
T("div", {
|
|
8444
8462
|
class: _(`flex flex-col tile-content-inner ${((D = e.value) == null ? void 0 : D.bodyCopy) ?? ""} ${l.value}`)
|
|
8445
8463
|
}, [
|
|
8446
8464
|
c.headline ? (b(), x("h3", {
|
|
@@ -8449,17 +8467,20 @@ const gh = ["src", "height", "width"], mh = ["src", "height", "width"], bi = /*
|
|
|
8449
8467
|
}, K(c.headline), 3)) : k("", !0),
|
|
8450
8468
|
c.subheadline ? (b(), x("h6", {
|
|
8451
8469
|
key: 1,
|
|
8452
|
-
class: _(`tile-content-subheadline ${((j = e.value) == null ? void 0 : j.subheadline) ?? ""} text-${v(r).
|
|
8470
|
+
class: _(`tile-content-subheadline ${((j = e.value) == null ? void 0 : j.subheadline) ?? ""} text-${v(r).headline} text-${c.alignment}`)
|
|
8453
8471
|
}, K(c.subheadline), 3)) : k("", !0),
|
|
8454
|
-
c.video ? (b(), x("div", {
|
|
8472
|
+
(H = c.video) != null && H.url ? (b(), x("div", {
|
|
8455
8473
|
key: 2,
|
|
8456
|
-
class: _(`tile-content-media w-full ${((
|
|
8474
|
+
class: _(`tile-content-media w-full ${((C = e.value) == null ? void 0 : C.media) ?? ""}`)
|
|
8457
8475
|
}, [
|
|
8458
|
-
|
|
8476
|
+
Ot(bi, {
|
|
8477
|
+
url: c.video.url,
|
|
8478
|
+
thumbnail: c.video.thumbnail
|
|
8479
|
+
}, null, 8, ["url", "thumbnail"])
|
|
8459
8480
|
], 2)) : k("", !0),
|
|
8460
8481
|
c.bodyCopy ? (b(), x("div", {
|
|
8461
8482
|
key: 3,
|
|
8462
|
-
class: _(`tile-content-body-copy ${((
|
|
8483
|
+
class: _(`tile-content-body-copy ${((P = e.value) == null ? void 0 : P.bodyCopy) ?? ""} text-${v(r).copy} text-${c.bodyCopyAlignment ?? c.alignment} body-copy-with-lists`),
|
|
8463
8484
|
style: kt({ "--bullet-color": `var(--${v(s).bullet})` }),
|
|
8464
8485
|
innerHTML: c.bodyCopy
|
|
8465
8486
|
}, null, 14, $h)) : k("", !0)
|
|
@@ -8479,7 +8500,7 @@ const gh = ["src", "height", "width"], mh = ["src", "height", "width"], bi = /*
|
|
|
8479
8500
|
}, K(c.footer), 3)) : k("", !0),
|
|
8480
8501
|
(b(!0), x(X, null, et(c.ctas, (E, j) => {
|
|
8481
8502
|
var H;
|
|
8482
|
-
return b(),
|
|
8503
|
+
return b(), R(h, L({
|
|
8483
8504
|
key: `cta-${E.title}-${j}`,
|
|
8484
8505
|
class: `cta-${j} ${(H = e.value) == null ? void 0 : H.cta}`,
|
|
8485
8506
|
color: v(gi)(E, v(a)),
|
|
@@ -8496,7 +8517,7 @@ const gh = ["src", "height", "width"], mh = ["src", "height", "width"], bi = /*
|
|
|
8496
8517
|
};
|
|
8497
8518
|
}
|
|
8498
8519
|
}), po = uo ? window : void 0;
|
|
8499
|
-
function
|
|
8520
|
+
function Yn(n) {
|
|
8500
8521
|
var t;
|
|
8501
8522
|
const e = ce(n);
|
|
8502
8523
|
return (t = e == null ? void 0 : e.$el) != null ? t : e;
|
|
@@ -8509,7 +8530,7 @@ function Th(...n) {
|
|
|
8509
8530
|
const s = [], r = () => {
|
|
8510
8531
|
s.forEach((u) => u()), s.length = 0;
|
|
8511
8532
|
}, a = (u, d, h, f) => (u.addEventListener(d, h, f), () => u.removeEventListener(d, h, f)), l = Zt(
|
|
8512
|
-
() => [
|
|
8533
|
+
() => [Yn(t), ce(o)],
|
|
8513
8534
|
([u, d]) => {
|
|
8514
8535
|
if (r(), !u)
|
|
8515
8536
|
return;
|
|
@@ -8543,18 +8564,18 @@ function Ph(n, t, e = {}) {
|
|
|
8543
8564
|
immediate: a = !0
|
|
8544
8565
|
} = e, l = Ah(() => r && "IntersectionObserver" in r), c = A(() => {
|
|
8545
8566
|
const p = ce(n);
|
|
8546
|
-
return (Array.isArray(p) ? p : [p]).map(
|
|
8567
|
+
return (Array.isArray(p) ? p : [p]).map(Yn).filter(Ur);
|
|
8547
8568
|
});
|
|
8548
8569
|
let u = ue;
|
|
8549
8570
|
const d = J(a), h = l.value ? Zt(
|
|
8550
|
-
() => [c.value,
|
|
8571
|
+
() => [c.value, Yn(i), d.value],
|
|
8551
8572
|
([p, g]) => {
|
|
8552
8573
|
if (u(), !d.value || !p.length)
|
|
8553
8574
|
return;
|
|
8554
8575
|
const m = new IntersectionObserver(
|
|
8555
8576
|
t,
|
|
8556
8577
|
{
|
|
8557
|
-
root:
|
|
8578
|
+
root: Yn(g),
|
|
8558
8579
|
rootMargin: o,
|
|
8559
8580
|
threshold: s
|
|
8560
8581
|
}
|
|
@@ -8710,27 +8731,27 @@ const Eh = ["innerHTML"], Bh = ["innerHTML"], Rh = ["src"], jh = /* @__PURE__ */
|
|
|
8710
8731
|
};
|
|
8711
8732
|
return (d, h) => {
|
|
8712
8733
|
var p, g, m, y;
|
|
8713
|
-
const f =
|
|
8734
|
+
const f = Tn;
|
|
8714
8735
|
return b(), x("div", {
|
|
8715
8736
|
class: _(`tile-content ${v(V)(((p = o.value) == null ? void 0 : p.root) ?? "", i.class ?? "")} max-w-[1024px]`)
|
|
8716
8737
|
}, [
|
|
8717
|
-
|
|
8738
|
+
Ot(v(Ce), {
|
|
8718
8739
|
class: _(`${((g = o.value) == null ? void 0 : g.container) ?? ""} tile-content-container shadow-none`),
|
|
8719
8740
|
"pt:footer:class": `tile-content-ctas ${((m = o.value) == null ? void 0 : m.ctas) ?? ""}`,
|
|
8720
8741
|
"pt:body:class": ((y = o.value) == null ? void 0 : y.body) ?? ""
|
|
8721
8742
|
}, Re({
|
|
8722
8743
|
content: dt(() => {
|
|
8723
|
-
var w, $,
|
|
8744
|
+
var w, $, M, S, I, O, D, E, j, H, C, P;
|
|
8724
8745
|
return [
|
|
8725
|
-
|
|
8746
|
+
T("div", {
|
|
8726
8747
|
class: _(`flex gap-[5vmin] md:gap-12 relative ${s.value ? "flex-row-reverse" : ""} tile-content-inner ${((w = o.value) == null ? void 0 : w.bodyCopy) ?? ""}`)
|
|
8727
8748
|
}, [
|
|
8728
|
-
|
|
8749
|
+
T("div", {
|
|
8729
8750
|
class: _(`tile-content-text flex-auto relative z-20 flex flex-col justify-center ${(($ = o.value) == null ? void 0 : $.text) ?? ""} text-left ${s.value ? "items-start" : "items-end"}`)
|
|
8730
8751
|
}, [
|
|
8731
8752
|
d.headline ? (b(), x("h3", {
|
|
8732
8753
|
key: 0,
|
|
8733
|
-
class: _(`tile-content-headline w-full ${((
|
|
8754
|
+
class: _(`tile-content-headline w-full ${((M = o.value) == null ? void 0 : M.headline) ?? ""} text-${v(l).subheadline}`),
|
|
8734
8755
|
innerHTML: d.headline
|
|
8735
8756
|
}, null, 10, Eh)) : k("", !0),
|
|
8736
8757
|
d.bodyCopy ? (b(), x("div", {
|
|
@@ -8746,7 +8767,7 @@ const Eh = ["innerHTML"], Bh = ["innerHTML"], Rh = ["src"], jh = /* @__PURE__ */
|
|
|
8746
8767
|
ref: t,
|
|
8747
8768
|
class: _(`tile-content-media relative ${((I = o.value) == null ? void 0 : I.media) ?? ""} max-w-[350px]`)
|
|
8748
8769
|
}, [
|
|
8749
|
-
|
|
8770
|
+
T("img", {
|
|
8750
8771
|
class: _({
|
|
8751
8772
|
"should-animate": !0,
|
|
8752
8773
|
absolute: !0,
|
|
@@ -8767,7 +8788,7 @@ const Eh = ["innerHTML"], Bh = ["innerHTML"], Rh = ["src"], jh = /* @__PURE__ */
|
|
|
8767
8788
|
}),
|
|
8768
8789
|
src: (s.value, "https://images.ctfassets.net/qqblaiss500w/5Bp3ySaz0pqR5gLtdxOQoi/db01031466deed9b7b959c08c17e5681/circles1.f3eead2.svg")
|
|
8769
8790
|
}, null, 10, Rh),
|
|
8770
|
-
d.tileLabel || d.tileLabelType ? (b(),
|
|
8791
|
+
d.tileLabel || d.tileLabelType ? (b(), R(f, L({ key: 0 }, d.tileLabel, {
|
|
8771
8792
|
class: {
|
|
8772
8793
|
[((O = o.value) == null ? void 0 : O.numericLabel) ?? ""]: d.tileLabelType === "Numeric" || ((D = d.tileLabel) == null ? void 0 : D.type) === "Numeric",
|
|
8773
8794
|
[((E = o.value) == null ? void 0 : E.label) ?? ""]: d.tileLabelType === "Text" || ((j = d.tileLabel) == null ? void 0 : j.type) === "Text",
|
|
@@ -8781,13 +8802,13 @@ const Eh = ["innerHTML"], Bh = ["innerHTML"], Rh = ["src"], jh = /* @__PURE__ */
|
|
|
8781
8802
|
"background-color": v(l).label[d.tileLabelType ?? ((C = d.tileLabel) == null ? void 0 : C.type) ?? "Text"].bg,
|
|
8782
8803
|
"text-color": v(l).label[d.tileLabelType ?? ((P = d.tileLabel) == null ? void 0 : P.type) ?? "Text"].copy
|
|
8783
8804
|
}), null, 16, ["class", "index", "type", "alignment", "background-color", "text-color"])) : k("", !0),
|
|
8784
|
-
d.image ? (b(),
|
|
8805
|
+
d.image ? (b(), R($t, L({ key: 1 }, d.image, {
|
|
8785
8806
|
class: v(V)(
|
|
8786
8807
|
"w-full min-w-[150px] md:min-w-[350px] relative rounded-full z-10",
|
|
8787
8808
|
d.image.class
|
|
8788
8809
|
)
|
|
8789
8810
|
}), null, 16, ["class"])) : k("", !0),
|
|
8790
|
-
d.video ? (b(),
|
|
8811
|
+
d.video ? (b(), R(bi, xe(L({ key: 2 }, d.video)), null, 16)) : k("", !0)
|
|
8791
8812
|
], 2)), [
|
|
8792
8813
|
[v(Ih), u]
|
|
8793
8814
|
]) : k("", !0)
|
|
@@ -8813,7 +8834,7 @@ const Eh = ["innerHTML"], Bh = ["innerHTML"], Rh = ["src"], jh = /* @__PURE__ */
|
|
|
8813
8834
|
], 2);
|
|
8814
8835
|
};
|
|
8815
8836
|
}
|
|
8816
|
-
}), Fh = /* @__PURE__ */
|
|
8837
|
+
}), Fh = /* @__PURE__ */ Sn(jh, [["__scopeId", "data-v-e0d0c2b5"]]), Hh = { key: 0 }, zh = /* @__PURE__ */ tt({
|
|
8817
8838
|
__name: "HelloBanner",
|
|
8818
8839
|
props: {
|
|
8819
8840
|
__typename: {},
|
|
@@ -8828,7 +8849,7 @@ const Eh = ["innerHTML"], Bh = ["innerHTML"], Rh = ["src"], jh = /* @__PURE__ */
|
|
|
8828
8849
|
}, o = A(() => U(Rr, t.pt ?? {}));
|
|
8829
8850
|
return (s, r) => {
|
|
8830
8851
|
var a, l;
|
|
8831
|
-
return t.helloBannerData && t.helloBannerData.active ? (b(),
|
|
8852
|
+
return t.helloBannerData && t.helloBannerData.active ? (b(), R(v(Ce), {
|
|
8832
8853
|
key: 0,
|
|
8833
8854
|
"pt:root:class": v(V)(
|
|
8834
8855
|
(a = o.value) == null ? void 0 : a.root,
|
|
@@ -8843,24 +8864,24 @@ const Eh = ["innerHTML"], Bh = ["innerHTML"], Rh = ["src"], jh = /* @__PURE__ */
|
|
|
8843
8864
|
content: dt(() => {
|
|
8844
8865
|
var c, u, d, h, f, p, g, m, y;
|
|
8845
8866
|
return [
|
|
8846
|
-
|
|
8867
|
+
T("div", {
|
|
8847
8868
|
class: _((c = o.value) == null ? void 0 : c.mobileCollapsed)
|
|
8848
8869
|
}, [
|
|
8849
|
-
|
|
8870
|
+
T("p", null, K((u = t.helloBannerData) == null ? void 0 : u.mobileCollapsed), 1)
|
|
8850
8871
|
], 2),
|
|
8851
|
-
|
|
8872
|
+
T("div", {
|
|
8852
8873
|
class: _([(d = o.value) == null ? void 0 : d.content, "content"])
|
|
8853
8874
|
}, [
|
|
8854
|
-
|
|
8875
|
+
T("p", {
|
|
8855
8876
|
class: _([(h = o.value) == null ? void 0 : h.fullCopy, "fullCopy"])
|
|
8856
8877
|
}, K((f = t.helloBannerData) == null ? void 0 : f.fullCopy), 3)
|
|
8857
8878
|
], 2),
|
|
8858
8879
|
(p = t.helloBannerData) != null && p.cta ? (b(), x("section", Hh, [
|
|
8859
|
-
|
|
8880
|
+
Ot(jt, L(t.helloBannerData.cta, {
|
|
8860
8881
|
class: v(V)((g = o.value) == null ? void 0 : g.cta, "cta")
|
|
8861
8882
|
}), null, 16, ["class"])
|
|
8862
8883
|
])) : k("", !0),
|
|
8863
|
-
|
|
8884
|
+
Ot(v(fi), {
|
|
8864
8885
|
class: _([(m = o.value) == null ? void 0 : m.toggle, "toggle"]),
|
|
8865
8886
|
"pt:root:class": (y = o.value) == null ? void 0 : y.toggle,
|
|
8866
8887
|
tabindex: "0",
|
|
@@ -8870,7 +8891,7 @@ const Eh = ["innerHTML"], Bh = ["innerHTML"], Rh = ["src"], jh = /* @__PURE__ */
|
|
|
8870
8891
|
onClick: i
|
|
8871
8892
|
}, {
|
|
8872
8893
|
default: dt(() => [
|
|
8873
|
-
|
|
8894
|
+
T("i", {
|
|
8874
8895
|
class: "pi pi-times-circle",
|
|
8875
8896
|
style: kt({
|
|
8876
8897
|
fontSize: "16px",
|
|
@@ -8888,42 +8909,42 @@ const Eh = ["innerHTML"], Bh = ["innerHTML"], Rh = ["src"], jh = /* @__PURE__ */
|
|
|
8888
8909
|
}, 8, ["pt:root:class", "pt:body:class"])) : k("", !0);
|
|
8889
8910
|
};
|
|
8890
8911
|
}
|
|
8891
|
-
}), Nh = /* @__PURE__ */
|
|
8912
|
+
}), Nh = /* @__PURE__ */ Sn(zh, [["__scopeId", "data-v-7799ef64"]]);
|
|
8892
8913
|
/*!
|
|
8893
8914
|
* @kurkle/color v0.3.4
|
|
8894
8915
|
* https://github.com/kurkle/color#readme
|
|
8895
8916
|
* (c) 2024 Jukka Kurkela
|
|
8896
8917
|
* Released under the MIT License
|
|
8897
8918
|
*/
|
|
8898
|
-
function
|
|
8919
|
+
function Mn(n) {
|
|
8899
8920
|
return n + 0.5 | 0;
|
|
8900
8921
|
}
|
|
8901
8922
|
const se = (n, t, e) => Math.max(Math.min(n, e), t);
|
|
8902
8923
|
function Ge(n) {
|
|
8903
|
-
return se(
|
|
8924
|
+
return se(Mn(n * 2.55), 0, 255);
|
|
8904
8925
|
}
|
|
8905
8926
|
function de(n) {
|
|
8906
|
-
return se(
|
|
8927
|
+
return se(Mn(n * 255), 0, 255);
|
|
8907
8928
|
}
|
|
8908
8929
|
function Gt(n) {
|
|
8909
|
-
return se(
|
|
8930
|
+
return se(Mn(n / 2.55) / 100, 0, 1);
|
|
8910
8931
|
}
|
|
8911
8932
|
function Go(n) {
|
|
8912
|
-
return se(
|
|
8933
|
+
return se(Mn(n * 100), 0, 100);
|
|
8913
8934
|
}
|
|
8914
|
-
const
|
|
8935
|
+
const Et = { 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 }, Qi = [..."0123456789ABCDEF"], Vh = (n) => Qi[n & 15], Wh = (n) => Qi[(n & 240) >> 4] + Qi[n & 15], Ln = (n) => (n & 240) >> 4 === (n & 15), Uh = (n) => Ln(n.r) && Ln(n.g) && Ln(n.b) && Ln(n.a);
|
|
8915
8936
|
function Yh(n) {
|
|
8916
8937
|
var t = n.length, e;
|
|
8917
8938
|
return n[0] === "#" && (t === 4 || t === 5 ? e = {
|
|
8918
|
-
r: 255 &
|
|
8919
|
-
g: 255 &
|
|
8920
|
-
b: 255 &
|
|
8921
|
-
a: t === 5 ?
|
|
8939
|
+
r: 255 & Et[n[1]] * 17,
|
|
8940
|
+
g: 255 & Et[n[2]] * 17,
|
|
8941
|
+
b: 255 & Et[n[3]] * 17,
|
|
8942
|
+
a: t === 5 ? Et[n[4]] * 17 : 255
|
|
8922
8943
|
} : (t === 7 || t === 9) && (e = {
|
|
8923
|
-
r:
|
|
8924
|
-
g:
|
|
8925
|
-
b:
|
|
8926
|
-
a: t === 9 ?
|
|
8944
|
+
r: Et[n[1]] << 4 | Et[n[2]],
|
|
8945
|
+
g: Et[n[3]] << 4 | Et[n[4]],
|
|
8946
|
+
b: Et[n[5]] << 4 | Et[n[6]],
|
|
8947
|
+
a: t === 9 ? Et[n[7]] << 4 | Et[n[8]] : 255
|
|
8927
8948
|
})), e;
|
|
8928
8949
|
}
|
|
8929
8950
|
const Kh = (n, t) => n < 255 ? t(n) : "";
|
|
@@ -9182,10 +9203,10 @@ function sf() {
|
|
|
9182
9203
|
}
|
|
9183
9204
|
return n;
|
|
9184
9205
|
}
|
|
9185
|
-
let
|
|
9206
|
+
let On;
|
|
9186
9207
|
function rf(n) {
|
|
9187
|
-
|
|
9188
|
-
const t =
|
|
9208
|
+
On || (On = sf(), On.transparent = [0, 0, 0, 0]);
|
|
9209
|
+
const t = On[n.toLowerCase()];
|
|
9189
9210
|
return t && {
|
|
9190
9211
|
r: t[0],
|
|
9191
9212
|
g: t[1],
|
|
@@ -9223,7 +9244,7 @@ function uf(n, t, e) {
|
|
|
9223
9244
|
a: n.a + e * (t.a - n.a)
|
|
9224
9245
|
};
|
|
9225
9246
|
}
|
|
9226
|
-
function
|
|
9247
|
+
function Dn(n, t, e) {
|
|
9227
9248
|
if (n) {
|
|
9228
9249
|
let i = go(n);
|
|
9229
9250
|
i[t] = Math.max(0, Math.min(i[t] + i[t] * e, t === 0 ? 360 : 1)), i = bo(i), n.r = i[0], n.g = i[1], n.b = i[2];
|
|
@@ -9239,9 +9260,9 @@ function Jo(n) {
|
|
|
9239
9260
|
function df(n) {
|
|
9240
9261
|
return n.charAt(0) === "r" ? lf(n) : ef(n);
|
|
9241
9262
|
}
|
|
9242
|
-
class
|
|
9263
|
+
class vn {
|
|
9243
9264
|
constructor(t) {
|
|
9244
|
-
if (t instanceof
|
|
9265
|
+
if (t instanceof vn)
|
|
9245
9266
|
return t;
|
|
9246
9267
|
const e = typeof t;
|
|
9247
9268
|
let i;
|
|
@@ -9279,7 +9300,7 @@ class yn {
|
|
|
9279
9300
|
return t && (this._rgb = uf(this._rgb, t._rgb, e)), this;
|
|
9280
9301
|
}
|
|
9281
9302
|
clone() {
|
|
9282
|
-
return new
|
|
9303
|
+
return new vn(this.rgb);
|
|
9283
9304
|
}
|
|
9284
9305
|
alpha(t) {
|
|
9285
9306
|
return this._rgb.a = de(t), this;
|
|
@@ -9289,7 +9310,7 @@ class yn {
|
|
|
9289
9310
|
return e.a *= 1 - t, this;
|
|
9290
9311
|
}
|
|
9291
9312
|
greyscale() {
|
|
9292
|
-
const t = this._rgb, e =
|
|
9313
|
+
const t = this._rgb, e = Mn(t.r * 0.3 + t.g * 0.59 + t.b * 0.11);
|
|
9293
9314
|
return t.r = t.g = t.b = e, this;
|
|
9294
9315
|
}
|
|
9295
9316
|
opaquer(t) {
|
|
@@ -9301,16 +9322,16 @@ class yn {
|
|
|
9301
9322
|
return t.r = 255 - t.r, t.g = 255 - t.g, t.b = 255 - t.b, this;
|
|
9302
9323
|
}
|
|
9303
9324
|
lighten(t) {
|
|
9304
|
-
return
|
|
9325
|
+
return Dn(this._rgb, 2, t), this;
|
|
9305
9326
|
}
|
|
9306
9327
|
darken(t) {
|
|
9307
|
-
return
|
|
9328
|
+
return Dn(this._rgb, 2, -t), this;
|
|
9308
9329
|
}
|
|
9309
9330
|
saturate(t) {
|
|
9310
|
-
return
|
|
9331
|
+
return Dn(this._rgb, 1, t), this;
|
|
9311
9332
|
}
|
|
9312
9333
|
desaturate(t) {
|
|
9313
|
-
return
|
|
9334
|
+
return Dn(this._rgb, 1, -t), this;
|
|
9314
9335
|
}
|
|
9315
9336
|
rotate(t) {
|
|
9316
9337
|
return nf(this._rgb, t), this;
|
|
@@ -9395,9 +9416,9 @@ function pf(n, t, e, i) {
|
|
|
9395
9416
|
if (!oa(n))
|
|
9396
9417
|
return;
|
|
9397
9418
|
const o = t[n], s = e[n];
|
|
9398
|
-
Q(o) && Q(s) ?
|
|
9419
|
+
Q(o) && Q(s) ? xn(o, s, i) : t[n] = Qn(s);
|
|
9399
9420
|
}
|
|
9400
|
-
function
|
|
9421
|
+
function xn(n, t, e) {
|
|
9401
9422
|
const i = mt(t) ? t : [
|
|
9402
9423
|
t
|
|
9403
9424
|
], o = i.length;
|
|
@@ -9416,7 +9437,7 @@ function vn(n, t, e) {
|
|
|
9416
9437
|
return n;
|
|
9417
9438
|
}
|
|
9418
9439
|
function on(n, t) {
|
|
9419
|
-
return
|
|
9440
|
+
return xn(n, t, {
|
|
9420
9441
|
merger: gf
|
|
9421
9442
|
});
|
|
9422
9443
|
}
|
|
@@ -9451,13 +9472,13 @@ function bf(n) {
|
|
|
9451
9472
|
return e;
|
|
9452
9473
|
};
|
|
9453
9474
|
}
|
|
9454
|
-
function
|
|
9475
|
+
function _n(n, t) {
|
|
9455
9476
|
return (ts[t] || (ts[t] = bf(t)))(n);
|
|
9456
9477
|
}
|
|
9457
9478
|
function yo(n) {
|
|
9458
9479
|
return n.charAt(0).toUpperCase() + n.slice(1);
|
|
9459
9480
|
}
|
|
9460
|
-
const Jn = (n) => typeof n < "u",
|
|
9481
|
+
const Jn = (n) => typeof n < "u", he = (n) => typeof n == "function", es = (n, t) => {
|
|
9461
9482
|
if (n.size !== t.size)
|
|
9462
9483
|
return !1;
|
|
9463
9484
|
for (const e of n)
|
|
@@ -9468,13 +9489,13 @@ const Jn = (n) => typeof n < "u", fe = (n) => typeof n == "function", es = (n, t
|
|
|
9468
9489
|
function yf(n) {
|
|
9469
9490
|
return n.type === "mouseup" || n.type === "click" || n.type === "contextmenu";
|
|
9470
9491
|
}
|
|
9471
|
-
const rt = Math.PI, ft = 2 * rt, ti = Number.POSITIVE_INFINITY, vf = rt / 180, yt = rt / 2,
|
|
9472
|
-
function
|
|
9492
|
+
const rt = Math.PI, ft = 2 * rt, ti = Number.POSITIVE_INFINITY, vf = rt / 180, yt = rt / 2, pe = rt / 4, ns = rt * 2 / 3, re = Math.log10, ei = Math.sign;
|
|
9493
|
+
function Kn(n, t, e) {
|
|
9473
9494
|
return Math.abs(n - t) < e;
|
|
9474
9495
|
}
|
|
9475
9496
|
function is(n) {
|
|
9476
9497
|
const t = Math.round(n);
|
|
9477
|
-
n =
|
|
9498
|
+
n = Kn(n, t, n / 1e3) ? t : n;
|
|
9478
9499
|
const e = Math.pow(10, Math.floor(re(n))), i = n / e;
|
|
9479
9500
|
return (i <= 1 ? 1 : i <= 2 ? 2 : i <= 5 ? 5 : 10) * e;
|
|
9480
9501
|
}
|
|
@@ -9532,11 +9553,11 @@ function ii(n, t, e, i) {
|
|
|
9532
9553
|
const o = Lt(n), s = Lt(t), r = Lt(e), a = Lt(s - o), l = Lt(r - o), c = Lt(o - s), u = Lt(o - r);
|
|
9533
9554
|
return o === s || o === r || i && s === r || a > l && c < u;
|
|
9534
9555
|
}
|
|
9535
|
-
function
|
|
9556
|
+
function Bt(n, t, e) {
|
|
9536
9557
|
return Math.max(t, Math.min(e, n));
|
|
9537
9558
|
}
|
|
9538
9559
|
function kf(n) {
|
|
9539
|
-
return
|
|
9560
|
+
return Bt(n, -32768, 32767);
|
|
9540
9561
|
}
|
|
9541
9562
|
function Ze(n, t, e, i = 1e-6) {
|
|
9542
9563
|
return n >= Math.min(t, e) - i && n <= Math.max(t, e) + i;
|
|
@@ -9629,7 +9650,7 @@ function Af(n, t) {
|
|
|
9629
9650
|
return t ? (clearTimeout(e), e = setTimeout(n, t, i)) : n.apply(this, i), t;
|
|
9630
9651
|
};
|
|
9631
9652
|
}
|
|
9632
|
-
const ua = (n) => n === "start" ? "left" : n === "end" ? "right" : "center", Pt = (n, t, e) => n === "start" ? t : n === "end" ? e : (t + e) / 2, Pf = (n, t, e, i) => n === (i ? "left" : "right") ? e : n === "center" ? (t + e) / 2 : t,
|
|
9653
|
+
const ua = (n) => n === "start" ? "left" : n === "end" ? "right" : "center", Pt = (n, t, e) => n === "start" ? t : n === "end" ? e : (t + e) / 2, Pf = (n, t, e, i) => n === (i ? "left" : "right") ? e : n === "center" ? (t + e) / 2 : t, En = (n) => n === 0 || n === 1, rs = (n, t, e) => -(Math.pow(2, 10 * (n -= 1)) * Math.sin((n - t) * ft / e)), as = (n, t, e) => Math.pow(2, -10 * n) * Math.sin((n - t) * ft / e) + 1, sn = {
|
|
9633
9654
|
linear: (n) => n,
|
|
9634
9655
|
easeInQuad: (n) => n * n,
|
|
9635
9656
|
easeOutQuad: (n) => -n * (n - 2),
|
|
@@ -9648,14 +9669,14 @@ const ua = (n) => n === "start" ? "left" : n === "end" ? "right" : "center", Pt
|
|
|
9648
9669
|
easeInOutSine: (n) => -0.5 * (Math.cos(rt * n) - 1),
|
|
9649
9670
|
easeInExpo: (n) => n === 0 ? 0 : Math.pow(2, 10 * (n - 1)),
|
|
9650
9671
|
easeOutExpo: (n) => n === 1 ? 1 : -Math.pow(2, -10 * n) + 1,
|
|
9651
|
-
easeInOutExpo: (n) =>
|
|
9672
|
+
easeInOutExpo: (n) => En(n) ? n : n < 0.5 ? 0.5 * Math.pow(2, 10 * (n * 2 - 1)) : 0.5 * (-Math.pow(2, -10 * (n * 2 - 1)) + 2),
|
|
9652
9673
|
easeInCirc: (n) => n >= 1 ? n : -(Math.sqrt(1 - n * n) - 1),
|
|
9653
9674
|
easeOutCirc: (n) => Math.sqrt(1 - (n -= 1) * n),
|
|
9654
9675
|
easeInOutCirc: (n) => (n /= 0.5) < 1 ? -0.5 * (Math.sqrt(1 - n * n) - 1) : 0.5 * (Math.sqrt(1 - (n -= 2) * n) + 1),
|
|
9655
|
-
easeInElastic: (n) =>
|
|
9656
|
-
easeOutElastic: (n) =>
|
|
9676
|
+
easeInElastic: (n) => En(n) ? n : rs(n, 0.075, 0.3),
|
|
9677
|
+
easeOutElastic: (n) => En(n) ? n : as(n, 0.075, 0.3),
|
|
9657
9678
|
easeInOutElastic(n) {
|
|
9658
|
-
return
|
|
9679
|
+
return En(n) ? n : n < 0.5 ? 0.5 * rs(n * 2, 0.1125, 0.45) : 0.5 + 0.5 * as(n * 2 - 1, 0.1125, 0.45);
|
|
9659
9680
|
},
|
|
9660
9681
|
easeInBack(n) {
|
|
9661
9682
|
return n * n * ((1.70158 + 1) * n - 1.70158);
|
|
@@ -9681,10 +9702,10 @@ function da(n) {
|
|
|
9681
9702
|
return !1;
|
|
9682
9703
|
}
|
|
9683
9704
|
function ls(n) {
|
|
9684
|
-
return da(n) ? n : new
|
|
9705
|
+
return da(n) ? n : new vn(n);
|
|
9685
9706
|
}
|
|
9686
9707
|
function Oi(n) {
|
|
9687
|
-
return da(n) ? n : new
|
|
9708
|
+
return da(n) ? n : new vn(n).saturate(0.5).darken(0.1).hexString();
|
|
9688
9709
|
}
|
|
9689
9710
|
const If = [
|
|
9690
9711
|
"x",
|
|
@@ -9896,7 +9917,7 @@ function rn(n, t) {
|
|
|
9896
9917
|
return n;
|
|
9897
9918
|
}
|
|
9898
9919
|
function Di(n, t, e) {
|
|
9899
|
-
return typeof t == "string" ?
|
|
9920
|
+
return typeof t == "string" ? xn(rn(n, t), e) : xn(rn(n, ""), t);
|
|
9900
9921
|
}
|
|
9901
9922
|
class jf {
|
|
9902
9923
|
constructor(t, e) {
|
|
@@ -9997,7 +10018,7 @@ function Hf(n, t, e, i) {
|
|
|
9997
10018
|
}
|
|
9998
10019
|
return r;
|
|
9999
10020
|
}
|
|
10000
|
-
function
|
|
10021
|
+
function ge(n, t, e) {
|
|
10001
10022
|
const i = n.currentDevicePixelRatio, o = e !== 0 ? Math.max(e / 2, 0.5) : 0;
|
|
10002
10023
|
return Math.round((t - o) * i) / i + o;
|
|
10003
10024
|
}
|
|
@@ -10024,24 +10045,24 @@ function fa(n, t, e, i, o) {
|
|
|
10024
10045
|
u = o ? o / 2 : g, n.moveTo(e + Math.sin(m) * u, i - Math.cos(m) * g), m += ns, n.lineTo(e + Math.sin(m) * u, i - Math.cos(m) * g), m += ns, n.lineTo(e + Math.sin(m) * u, i - Math.cos(m) * g), n.closePath();
|
|
10025
10046
|
break;
|
|
10026
10047
|
case "rectRounded":
|
|
10027
|
-
c = g * 0.516, l = g - c, r = Math.cos(m +
|
|
10048
|
+
c = g * 0.516, l = g - c, r = Math.cos(m + pe) * l, d = Math.cos(m + pe) * (o ? o / 2 - c : l), a = Math.sin(m + pe) * l, h = Math.sin(m + pe) * (o ? o / 2 - c : l), n.arc(e - d, i - a, c, m - rt, m - yt), n.arc(e + h, i - r, c, m - yt, m), n.arc(e + d, i + a, c, m, m + yt), n.arc(e - h, i + r, c, m + yt, m + rt), n.closePath();
|
|
10028
10049
|
break;
|
|
10029
10050
|
case "rect":
|
|
10030
10051
|
if (!p) {
|
|
10031
10052
|
l = Math.SQRT1_2 * g, u = o ? o / 2 : l, n.rect(e - u, i - l, 2 * u, 2 * l);
|
|
10032
10053
|
break;
|
|
10033
10054
|
}
|
|
10034
|
-
m +=
|
|
10055
|
+
m += pe;
|
|
10035
10056
|
case "rectRot":
|
|
10036
10057
|
d = Math.cos(m) * (o ? o / 2 : g), r = Math.cos(m) * g, a = Math.sin(m) * g, h = Math.sin(m) * (o ? o / 2 : g), n.moveTo(e - d, i - a), n.lineTo(e + h, i - r), n.lineTo(e + d, i + a), n.lineTo(e - h, i + r), n.closePath();
|
|
10037
10058
|
break;
|
|
10038
10059
|
case "crossRot":
|
|
10039
|
-
m +=
|
|
10060
|
+
m += pe;
|
|
10040
10061
|
case "cross":
|
|
10041
10062
|
d = Math.cos(m) * (o ? o / 2 : g), r = Math.cos(m) * g, a = Math.sin(m) * g, h = Math.sin(m) * (o ? o / 2 : g), n.moveTo(e - d, i - a), n.lineTo(e + d, i + a), n.moveTo(e + h, i - r), n.lineTo(e - h, i + r);
|
|
10042
10063
|
break;
|
|
10043
10064
|
case "star":
|
|
10044
|
-
d = Math.cos(m) * (o ? o / 2 : g), r = Math.cos(m) * g, a = Math.sin(m) * g, h = Math.sin(m) * (o ? o / 2 : g), n.moveTo(e - d, i - a), n.lineTo(e + d, i + a), n.moveTo(e + h, i - r), n.lineTo(e - h, i + r), m +=
|
|
10065
|
+
d = Math.cos(m) * (o ? o / 2 : g), r = Math.cos(m) * g, a = Math.sin(m) * g, h = Math.sin(m) * (o ? o / 2 : g), n.moveTo(e - d, i - a), n.lineTo(e + d, i + a), n.moveTo(e + h, i - r), n.lineTo(e - h, i + r), m += pe, d = Math.cos(m) * (o ? o / 2 : g), r = Math.cos(m) * g, a = Math.sin(m) * g, h = Math.sin(m) * (o ? o / 2 : g), n.moveTo(e - d, i - a), n.lineTo(e + d, i + a), n.moveTo(e + h, i - r), n.lineTo(e - h, i + r);
|
|
10045
10066
|
break;
|
|
10046
10067
|
case "line":
|
|
10047
10068
|
r = o ? o / 2 : Math.cos(m) * g, a = Math.sin(m) * g, n.moveTo(e - r, i - a), n.lineTo(e + r, i + a);
|
|
@@ -10148,7 +10169,7 @@ function Ct(n, t) {
|
|
|
10148
10169
|
};
|
|
10149
10170
|
return o.string = Ff(o), o;
|
|
10150
10171
|
}
|
|
10151
|
-
function
|
|
10172
|
+
function Bn(n, t, e, i) {
|
|
10152
10173
|
let o, s, r;
|
|
10153
10174
|
for (o = 0, s = n.length; o < s; ++o)
|
|
10154
10175
|
if (r = n[o], r !== void 0 && r !== void 0)
|
|
@@ -10297,8 +10318,8 @@ function pa(n, t = {
|
|
|
10297
10318
|
allKeys: o,
|
|
10298
10319
|
scriptable: e,
|
|
10299
10320
|
indexable: i,
|
|
10300
|
-
isScriptable:
|
|
10301
|
-
isIndexable:
|
|
10321
|
+
isScriptable: he(e) ? e : () => e,
|
|
10322
|
+
isIndexable: he(i) ? i : () => i
|
|
10302
10323
|
};
|
|
10303
10324
|
}
|
|
10304
10325
|
const Gf = (n, t) => n ? n + yo(t) : t, $o = (n, t) => Q(t) && n !== "adapters" && (Object.getPrototypeOf(t) === null || t.constructor === Object);
|
|
@@ -10311,7 +10332,7 @@ function ga(n, t, e) {
|
|
|
10311
10332
|
function Zf(n, t, e) {
|
|
10312
10333
|
const { _proxy: i, _context: o, _subProxy: s, _descriptors: r } = n;
|
|
10313
10334
|
let a = i[t];
|
|
10314
|
-
return
|
|
10335
|
+
return he(a) && r.isScriptable(t) && (a = Qf(t, a, n, e)), mt(a) && a.length && (a = Jf(t, a, n, r.isIndexable)), $o(t, a) && (a = Be(a, o, s && s[t], r)), a;
|
|
10315
10336
|
}
|
|
10316
10337
|
function Qf(n, t, e, i) {
|
|
10317
10338
|
const { _proxy: o, _context: s, _subProxy: r, _stack: a } = e;
|
|
@@ -10336,9 +10357,9 @@ function Jf(n, t, e, i) {
|
|
|
10336
10357
|
return t;
|
|
10337
10358
|
}
|
|
10338
10359
|
function ma(n, t, e) {
|
|
10339
|
-
return
|
|
10360
|
+
return he(n) ? n(t, e) : n;
|
|
10340
10361
|
}
|
|
10341
|
-
const tp = (n, t) => n === !0 ? t : typeof n == "string" ?
|
|
10362
|
+
const tp = (n, t) => n === !0 ? t : typeof n == "string" ? _n(t, n) : void 0;
|
|
10342
10363
|
function ep(n, t, e, i, o) {
|
|
10343
10364
|
for (const s of t) {
|
|
10344
10365
|
const r = tp(e, s);
|
|
@@ -10421,7 +10442,7 @@ const rp = [
|
|
|
10421
10442
|
"bottom",
|
|
10422
10443
|
"left"
|
|
10423
10444
|
];
|
|
10424
|
-
function
|
|
10445
|
+
function ve(n, t, e) {
|
|
10425
10446
|
const i = {};
|
|
10426
10447
|
e = e ? "-" + e : "";
|
|
10427
10448
|
for (let o = 0; o < 4; o++) {
|
|
@@ -10446,10 +10467,10 @@ function lp(n, t) {
|
|
|
10446
10467
|
box: r
|
|
10447
10468
|
};
|
|
10448
10469
|
}
|
|
10449
|
-
function
|
|
10470
|
+
function ye(n, t) {
|
|
10450
10471
|
if ("native" in n)
|
|
10451
10472
|
return n;
|
|
10452
|
-
const { canvas: e, currentDevicePixelRatio: i } = t, o = xi(e), s = o.boxSizing === "border-box", r =
|
|
10473
|
+
const { canvas: e, currentDevicePixelRatio: i } = t, o = xi(e), s = o.boxSizing === "border-box", r = ve(o, "padding"), a = ve(o, "border", "width"), { x: l, y: c, box: u } = lp(n, e), d = r.left + (u && a.left), h = r.top + (u && a.top);
|
|
10453
10474
|
let { width: f, height: p } = t;
|
|
10454
10475
|
return s && (f -= r.width + a.width, p -= r.height + a.height), {
|
|
10455
10476
|
x: Math.round((l - d) / f * e.width / i),
|
|
@@ -10463,7 +10484,7 @@ function cp(n, t, e) {
|
|
|
10463
10484
|
if (!s)
|
|
10464
10485
|
t = n.clientWidth, e = n.clientHeight;
|
|
10465
10486
|
else {
|
|
10466
|
-
const r = s.getBoundingClientRect(), a = xi(s), l =
|
|
10487
|
+
const r = s.getBoundingClientRect(), a = xi(s), l = ve(a, "border", "width"), c = ve(a, "padding");
|
|
10467
10488
|
t = r.width - c.width - l.width, e = r.height - c.height - l.height, i = ri(a.maxWidth, s, "clientWidth"), o = ri(a.maxHeight, s, "clientHeight");
|
|
10468
10489
|
}
|
|
10469
10490
|
}
|
|
@@ -10476,10 +10497,10 @@ function cp(n, t, e) {
|
|
|
10476
10497
|
}
|
|
10477
10498
|
const ae = (n) => Math.round(n * 10) / 10;
|
|
10478
10499
|
function up(n, t, e, i) {
|
|
10479
|
-
const o = xi(n), s =
|
|
10500
|
+
const o = xi(n), s = ve(o, "margin"), r = ri(o.maxWidth, n, "clientWidth") || ti, a = ri(o.maxHeight, n, "clientHeight") || ti, l = cp(n, t, e);
|
|
10480
10501
|
let { width: c, height: u } = l;
|
|
10481
10502
|
if (o.boxSizing === "content-box") {
|
|
10482
|
-
const h =
|
|
10503
|
+
const h = ve(o, "border", "width"), f = ve(o, "padding");
|
|
10483
10504
|
c -= f.width + h.width, u -= f.height + h.height;
|
|
10484
10505
|
}
|
|
10485
10506
|
return c = Math.max(0, c - s.width), u = Math.max(0, i ? c / i : u - s.height), c = ae(Math.min(c, r, l.maxWidth)), u = ae(Math.min(u, a, l.maxHeight)), c && !u && (u = ae(c / 2)), (t !== void 0 || e !== void 0) && i && l.height && u > l.height && (u = l.height, c = ae(Math.floor(u * i))), {
|
|
@@ -10559,16 +10580,16 @@ function ya(n, t) {
|
|
|
10559
10580
|
function va(n, t) {
|
|
10560
10581
|
t !== void 0 && (delete n.prevTextDirection, n.canvas.style.setProperty("direction", t[0], t[1]));
|
|
10561
10582
|
}
|
|
10562
|
-
function
|
|
10583
|
+
function Rn(n, t, e) {
|
|
10563
10584
|
return n.options.clip ? n[e] : t[e];
|
|
10564
10585
|
}
|
|
10565
10586
|
function pp(n, t) {
|
|
10566
10587
|
const { xScale: e, yScale: i } = n;
|
|
10567
10588
|
return e && i ? {
|
|
10568
|
-
left:
|
|
10569
|
-
right:
|
|
10570
|
-
top:
|
|
10571
|
-
bottom:
|
|
10589
|
+
left: Rn(e, t, "left"),
|
|
10590
|
+
right: Rn(e, t, "right"),
|
|
10591
|
+
top: Rn(i, t, "top"),
|
|
10592
|
+
bottom: Rn(i, t, "bottom")
|
|
10572
10593
|
} : t;
|
|
10573
10594
|
}
|
|
10574
10595
|
function gp(n, t) {
|
|
@@ -10681,13 +10702,13 @@ const ms = "transparent", bp = {
|
|
|
10681
10702
|
class yp {
|
|
10682
10703
|
constructor(t, e, i, o) {
|
|
10683
10704
|
const s = e[i];
|
|
10684
|
-
o =
|
|
10705
|
+
o = Bn([
|
|
10685
10706
|
t.to,
|
|
10686
10707
|
o,
|
|
10687
10708
|
s,
|
|
10688
10709
|
t.from
|
|
10689
10710
|
]);
|
|
10690
|
-
const r =
|
|
10711
|
+
const r = Bn([
|
|
10691
10712
|
t.from,
|
|
10692
10713
|
s,
|
|
10693
10714
|
o
|
|
@@ -10701,12 +10722,12 @@ class yp {
|
|
|
10701
10722
|
if (this._active) {
|
|
10702
10723
|
this._notify(!1);
|
|
10703
10724
|
const o = this._target[this._prop], s = i - this._start, r = this._duration - s;
|
|
10704
|
-
this._start = i, this._duration = Math.floor(Math.max(r, t.duration)), this._total += s, this._loop = !!t.loop, this._to =
|
|
10725
|
+
this._start = i, this._duration = Math.floor(Math.max(r, t.duration)), this._total += s, this._loop = !!t.loop, this._to = Bn([
|
|
10705
10726
|
t.to,
|
|
10706
10727
|
e,
|
|
10707
10728
|
o,
|
|
10708
10729
|
t.from
|
|
10709
|
-
]), this._from =
|
|
10730
|
+
]), this._from = Bn([
|
|
10710
10731
|
t.from,
|
|
10711
10732
|
o,
|
|
10712
10733
|
e
|
|
@@ -11077,8 +11098,8 @@ class an {
|
|
|
11077
11098
|
let u, d, h, f;
|
|
11078
11099
|
for (u = 0, d = o; u < d; ++u)
|
|
11079
11100
|
h = u + i, f = e[h], c[u] = {
|
|
11080
|
-
x: s.parse(
|
|
11081
|
-
y: r.parse(
|
|
11101
|
+
x: s.parse(_n(f, a), h),
|
|
11102
|
+
y: r.parse(_n(f, l), h)
|
|
11082
11103
|
};
|
|
11083
11104
|
return c;
|
|
11084
11105
|
}
|
|
@@ -11334,7 +11355,7 @@ W(an, "defaults", {}), W(an, "datasetElementType", null), W(an, "dataElementType
|
|
|
11334
11355
|
function Pp(n, t, e) {
|
|
11335
11356
|
let i = 1, o = 1, s = 0, r = 0;
|
|
11336
11357
|
if (t < ft) {
|
|
11337
|
-
const a = n, l = a + t, c = Math.cos(a), u = Math.sin(a), d = Math.cos(l), h = Math.sin(l), f = ($,
|
|
11358
|
+
const a = n, l = a + t, c = Math.cos(a), u = Math.sin(a), d = Math.cos(l), h = Math.sin(l), f = ($, M, S) => ii($, a, l, !0) ? 1 : Math.max(M, M * e, S, S * e), p = ($, M, S) => ii($, a, l, !0) ? -1 : Math.min(M, M * e, S, S * e), g = f(0, c, d), m = f(yt, u, h), y = p(rt, c, d), w = p(rt + yt, u, h);
|
|
11338
11359
|
i = (g - y) / 2, o = (m - w) / 2, s = -(g + y) / 2, r = -(m + w) / 2;
|
|
11339
11360
|
}
|
|
11340
11361
|
return {
|
|
@@ -11358,7 +11379,7 @@ class Pe extends an {
|
|
|
11358
11379
|
let s = (l) => +i[l];
|
|
11359
11380
|
if (Q(i[t])) {
|
|
11360
11381
|
const { key: l = "value" } = this._parsing;
|
|
11361
|
-
s = (c) => +
|
|
11382
|
+
s = (c) => +_n(i[c], l);
|
|
11362
11383
|
}
|
|
11363
11384
|
let r, a;
|
|
11364
11385
|
for (r = t, a = t + e; r < a; ++r)
|
|
@@ -11384,7 +11405,7 @@ class Pe extends an {
|
|
|
11384
11405
|
};
|
|
11385
11406
|
}
|
|
11386
11407
|
update(t) {
|
|
11387
|
-
const e = this.chart, { chartArea: i } = e, 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(ff(this.options.cutout, a), 1), c = this._getRingWeight(this.index), { circumference: u, rotation: d } = this._getRotationExtents(), { ratioX: h, ratioY: f, offsetX: p, offsetY: g } = Pp(d, u, l), m = (i.width - r) / h, y = (i.height - r) / f, w = Math.max(Math.min(m, y) / 2, 0), $ = ia(this.options.radius, w),
|
|
11408
|
+
const e = this.chart, { chartArea: i } = e, 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(ff(this.options.cutout, a), 1), c = this._getRingWeight(this.index), { circumference: u, rotation: d } = this._getRotationExtents(), { ratioX: h, ratioY: f, offsetX: p, offsetY: g } = Pp(d, u, l), m = (i.width - r) / h, y = (i.height - r) / f, w = Math.max(Math.min(m, y) / 2, 0), $ = ia(this.options.radius, w), M = Math.max($ * l, 0), S = ($ - M) / this._getVisibleDatasetWeightTotal();
|
|
11388
11409
|
this.offsetX = p * $, this.offsetY = g * $, o.total = this.calculateTotal(), this.outerRadius = $ - S * this._getRingWeightOffset(this.index), this.innerRadius = Math.max(this.outerRadius - S * c, 0), this.updateElements(s, 0, s.length, t);
|
|
11389
11410
|
}
|
|
11390
11411
|
_circumference(t, e) {
|
|
@@ -11397,7 +11418,7 @@ class Pe extends an {
|
|
|
11397
11418
|
for (w = 0; w < e; ++w)
|
|
11398
11419
|
y += this._circumference(w, s);
|
|
11399
11420
|
for (w = e; w < e + i; ++w) {
|
|
11400
|
-
const $ = this._circumference(w, s),
|
|
11421
|
+
const $ = this._circumference(w, s), M = t[w], S = {
|
|
11401
11422
|
x: u + this.offsetX,
|
|
11402
11423
|
y: d + this.offsetY,
|
|
11403
11424
|
startAngle: y,
|
|
@@ -11406,7 +11427,7 @@ class Pe extends an {
|
|
|
11406
11427
|
outerRadius: p,
|
|
11407
11428
|
innerRadius: f
|
|
11408
11429
|
};
|
|
11409
|
-
m && (S.options = g || this.resolveDataElementOptions(w,
|
|
11430
|
+
m && (S.options = g || this.resolveDataElementOptions(w, M.active ? "active" : o)), y += $, this.updateElement(M, w, S, o);
|
|
11410
11431
|
}
|
|
11411
11432
|
}
|
|
11412
11433
|
calculateTotal() {
|
|
@@ -11541,7 +11562,7 @@ W(eo, "id", "pie"), W(eo, "defaults", {
|
|
|
11541
11562
|
circumference: 360,
|
|
11542
11563
|
radius: "100%"
|
|
11543
11564
|
});
|
|
11544
|
-
function
|
|
11565
|
+
function me() {
|
|
11545
11566
|
throw new Error("This method is not implemented: Check that a complete date adapter is provided.");
|
|
11546
11567
|
}
|
|
11547
11568
|
class Ao {
|
|
@@ -11566,25 +11587,25 @@ class Ao {
|
|
|
11566
11587
|
init() {
|
|
11567
11588
|
}
|
|
11568
11589
|
formats() {
|
|
11569
|
-
return
|
|
11590
|
+
return me();
|
|
11570
11591
|
}
|
|
11571
11592
|
parse() {
|
|
11572
|
-
return
|
|
11593
|
+
return me();
|
|
11573
11594
|
}
|
|
11574
11595
|
format() {
|
|
11575
|
-
return
|
|
11596
|
+
return me();
|
|
11576
11597
|
}
|
|
11577
11598
|
add() {
|
|
11578
|
-
return
|
|
11599
|
+
return me();
|
|
11579
11600
|
}
|
|
11580
11601
|
diff() {
|
|
11581
|
-
return
|
|
11602
|
+
return me();
|
|
11582
11603
|
}
|
|
11583
11604
|
startOf() {
|
|
11584
|
-
return
|
|
11605
|
+
return me();
|
|
11585
11606
|
}
|
|
11586
11607
|
endOf() {
|
|
11587
|
-
return
|
|
11608
|
+
return me();
|
|
11588
11609
|
}
|
|
11589
11610
|
}
|
|
11590
11611
|
var Ip = {
|
|
@@ -11621,7 +11642,7 @@ function Lp(n, t, e, i) {
|
|
|
11621
11642
|
hi: s.length - 1
|
|
11622
11643
|
};
|
|
11623
11644
|
}
|
|
11624
|
-
function
|
|
11645
|
+
function An(n, t, e, i, o) {
|
|
11625
11646
|
const s = n.getSortedVisibleDatasetMetas(), r = e[t];
|
|
11626
11647
|
for (let a = 0, l = s.length; a < l; ++a) {
|
|
11627
11648
|
const { index: c, data: u } = s[a], { lo: d, hi: h } = Lp(s[a], t, r, o);
|
|
@@ -11640,7 +11661,7 @@ function Op(n) {
|
|
|
11640
11661
|
}
|
|
11641
11662
|
function ji(n, t, e, i, o) {
|
|
11642
11663
|
const s = [];
|
|
11643
|
-
return !o && !n.isPointInArea(t) ||
|
|
11664
|
+
return !o && !n.isPointInArea(t) || An(n, e, t, function(a, l, c) {
|
|
11644
11665
|
!o && !Ae(a, n.chartArea, 0) || a.inRange(t.x, t.y, i) && s.push({
|
|
11645
11666
|
element: a,
|
|
11646
11667
|
datasetIndex: l,
|
|
@@ -11664,7 +11685,7 @@ function Dp(n, t, e, i) {
|
|
|
11664
11685
|
index: l
|
|
11665
11686
|
});
|
|
11666
11687
|
}
|
|
11667
|
-
return
|
|
11688
|
+
return An(n, e, t, s), o;
|
|
11668
11689
|
}
|
|
11669
11690
|
function Ep(n, t, e, i, o, s) {
|
|
11670
11691
|
let r = [];
|
|
@@ -11690,7 +11711,7 @@ function Ep(n, t, e, i, o, s) {
|
|
|
11690
11711
|
index: h
|
|
11691
11712
|
});
|
|
11692
11713
|
}
|
|
11693
|
-
return
|
|
11714
|
+
return An(n, e, t, c), r;
|
|
11694
11715
|
}
|
|
11695
11716
|
function Fi(n, t, e, i, o, s) {
|
|
11696
11717
|
return !s && !n.isPointInArea(t) ? [] : e === "r" && !i ? Dp(n, t, e, o) : Ep(n, t, e, i, o, s);
|
|
@@ -11698,7 +11719,7 @@ function Fi(n, t, e, i, o, s) {
|
|
|
11698
11719
|
function ws(n, t, e, i, o) {
|
|
11699
11720
|
const s = [], r = e === "x" ? "inXRange" : "inYRange";
|
|
11700
11721
|
let a = !1;
|
|
11701
|
-
return
|
|
11722
|
+
return An(n, e, t, (l, c, u) => {
|
|
11702
11723
|
l[r] && l[r](t[e], o) && (s.push({
|
|
11703
11724
|
element: l,
|
|
11704
11725
|
datasetIndex: c,
|
|
@@ -11707,10 +11728,10 @@ function ws(n, t, e, i, o) {
|
|
|
11707
11728
|
}), i && !a ? [] : s;
|
|
11708
11729
|
}
|
|
11709
11730
|
var Bp = {
|
|
11710
|
-
evaluateInteractionItems:
|
|
11731
|
+
evaluateInteractionItems: An,
|
|
11711
11732
|
modes: {
|
|
11712
11733
|
index(n, t, e, i) {
|
|
11713
|
-
const o =
|
|
11734
|
+
const o = ye(t, n), s = e.axis || "x", r = e.includeInvisible || !1, a = e.intersect ? ji(n, o, s, i, r) : Fi(n, o, s, !1, i, r), l = [];
|
|
11714
11735
|
return a.length ? (n.getSortedVisibleDatasetMetas().forEach((c) => {
|
|
11715
11736
|
const u = a[0].index, d = c.data[u];
|
|
11716
11737
|
d && !d.skip && l.push({
|
|
@@ -11721,7 +11742,7 @@ var Bp = {
|
|
|
11721
11742
|
}), l) : [];
|
|
11722
11743
|
},
|
|
11723
11744
|
dataset(n, t, e, i) {
|
|
11724
|
-
const o =
|
|
11745
|
+
const o = ye(t, n), s = e.axis || "xy", r = e.includeInvisible || !1;
|
|
11725
11746
|
let a = e.intersect ? ji(n, o, s, i, r) : Fi(n, o, s, !1, i, r);
|
|
11726
11747
|
if (a.length > 0) {
|
|
11727
11748
|
const l = a[0].datasetIndex, c = n.getDatasetMeta(l).data;
|
|
@@ -11736,19 +11757,19 @@ var Bp = {
|
|
|
11736
11757
|
return a;
|
|
11737
11758
|
},
|
|
11738
11759
|
point(n, t, e, i) {
|
|
11739
|
-
const o =
|
|
11760
|
+
const o = ye(t, n), s = e.axis || "xy", r = e.includeInvisible || !1;
|
|
11740
11761
|
return ji(n, o, s, i, r);
|
|
11741
11762
|
},
|
|
11742
11763
|
nearest(n, t, e, i) {
|
|
11743
|
-
const o =
|
|
11764
|
+
const o = ye(t, n), s = e.axis || "xy", r = e.includeInvisible || !1;
|
|
11744
11765
|
return Fi(n, o, s, e.intersect, i, r);
|
|
11745
11766
|
},
|
|
11746
11767
|
x(n, t, e, i) {
|
|
11747
|
-
const o =
|
|
11768
|
+
const o = ye(t, n);
|
|
11748
11769
|
return ws(n, o, "x", e.intersect, i);
|
|
11749
11770
|
},
|
|
11750
11771
|
y(n, t, e, i) {
|
|
11751
|
-
const o =
|
|
11772
|
+
const o = ye(t, n);
|
|
11752
11773
|
return ws(n, o, "y", e.intersect, i);
|
|
11753
11774
|
}
|
|
11754
11775
|
}
|
|
@@ -11888,7 +11909,7 @@ function Qe(n, t, e, i) {
|
|
|
11888
11909
|
}
|
|
11889
11910
|
return c && Qe(o, t, e, i) || u;
|
|
11890
11911
|
}
|
|
11891
|
-
function
|
|
11912
|
+
function jn(n, t, e, i, o) {
|
|
11892
11913
|
n.top = e, n.left = t, n.right = t + i, n.bottom = e + o, n.width = i, n.height = o;
|
|
11893
11914
|
}
|
|
11894
11915
|
function $s(n, t, e, i) {
|
|
@@ -11902,10 +11923,10 @@ function $s(n, t, e, i) {
|
|
|
11902
11923
|
}, u = a.stackWeight / c.weight || 1;
|
|
11903
11924
|
if (a.horizontal) {
|
|
11904
11925
|
const d = t.w * u, h = c.size || l.height;
|
|
11905
|
-
Jn(c.start) && (r = c.start), l.fullSize ?
|
|
11926
|
+
Jn(c.start) && (r = c.start), l.fullSize ? jn(l, o.left, r, e.outerWidth - o.right - o.left, h) : jn(l, t.left + c.placed, r, d, h), c.start = r, c.placed += d, r = l.bottom;
|
|
11906
11927
|
} else {
|
|
11907
11928
|
const d = t.h * u, h = c.size || l.width;
|
|
11908
|
-
Jn(c.start) && (s = c.start), l.fullSize ?
|
|
11929
|
+
Jn(c.start) && (s = c.start), l.fullSize ? jn(l, s, o.top, h, e.outerHeight - o.bottom - o.top) : jn(l, s, t.top + c.placed, h, d), c.start = s, c.placed += d, s = l.right;
|
|
11909
11930
|
}
|
|
11910
11931
|
}
|
|
11911
11932
|
t.x = s, t.y = r;
|
|
@@ -12005,7 +12026,7 @@ class Wp extends ka {
|
|
|
12005
12026
|
t.options.animation = !1;
|
|
12006
12027
|
}
|
|
12007
12028
|
}
|
|
12008
|
-
const
|
|
12029
|
+
const qn = "$chartjs", Up = {
|
|
12009
12030
|
touchstart: "mousedown",
|
|
12010
12031
|
touchmove: "mousemove",
|
|
12011
12032
|
touchend: "mouseup",
|
|
@@ -12018,7 +12039,7 @@ const Kn = "$chartjs", Up = {
|
|
|
12018
12039
|
}, Ss = (n) => n === null || n === "";
|
|
12019
12040
|
function Yp(n, t) {
|
|
12020
12041
|
const e = n.style, i = n.getAttribute("height"), o = n.getAttribute("width");
|
|
12021
|
-
if (n[
|
|
12042
|
+
if (n[qn] = {
|
|
12022
12043
|
initial: {
|
|
12023
12044
|
height: i,
|
|
12024
12045
|
width: o,
|
|
@@ -12051,7 +12072,7 @@ function qp(n, t, e) {
|
|
|
12051
12072
|
n && n.canvas && n.canvas.removeEventListener(t, e, $a);
|
|
12052
12073
|
}
|
|
12053
12074
|
function Xp(n, t) {
|
|
12054
|
-
const e = Up[n.type] || n.type, { x: i, y: o } =
|
|
12075
|
+
const e = Up[n.type] || n.type, { x: i, y: o } = ye(n, t);
|
|
12055
12076
|
return {
|
|
12056
12077
|
type: e,
|
|
12057
12078
|
chart: t,
|
|
@@ -12089,19 +12110,19 @@ function Zp(n, t, e) {
|
|
|
12089
12110
|
subtree: !0
|
|
12090
12111
|
}), o;
|
|
12091
12112
|
}
|
|
12092
|
-
const
|
|
12113
|
+
const wn = /* @__PURE__ */ new Map();
|
|
12093
12114
|
let Ts = 0;
|
|
12094
12115
|
function Sa() {
|
|
12095
12116
|
const n = window.devicePixelRatio;
|
|
12096
|
-
n !== Ts && (Ts = n,
|
|
12117
|
+
n !== Ts && (Ts = n, wn.forEach((t, e) => {
|
|
12097
12118
|
e.currentDevicePixelRatio !== n && t();
|
|
12098
12119
|
}));
|
|
12099
12120
|
}
|
|
12100
12121
|
function Qp(n, t) {
|
|
12101
|
-
|
|
12122
|
+
wn.size || window.addEventListener("resize", Sa), wn.set(n, t);
|
|
12102
12123
|
}
|
|
12103
12124
|
function Jp(n) {
|
|
12104
|
-
|
|
12125
|
+
wn.delete(n), wn.size || window.removeEventListener("resize", Sa);
|
|
12105
12126
|
}
|
|
12106
12127
|
function tg(n, t, e) {
|
|
12107
12128
|
const i = n.canvas, o = i && Mo(i);
|
|
@@ -12132,9 +12153,9 @@ class ng extends ka {
|
|
|
12132
12153
|
}
|
|
12133
12154
|
releaseContext(t) {
|
|
12134
12155
|
const e = t.canvas;
|
|
12135
|
-
if (!e[
|
|
12156
|
+
if (!e[qn])
|
|
12136
12157
|
return !1;
|
|
12137
|
-
const i = e[
|
|
12158
|
+
const i = e[qn].initial;
|
|
12138
12159
|
[
|
|
12139
12160
|
"height",
|
|
12140
12161
|
"width"
|
|
@@ -12145,7 +12166,7 @@ class ng extends ka {
|
|
|
12145
12166
|
const o = i.style || {};
|
|
12146
12167
|
return Object.keys(o).forEach((s) => {
|
|
12147
12168
|
e.style[s] = o[s];
|
|
12148
|
-
}), e.width = e.width, delete e[
|
|
12169
|
+
}), e.width = e.width, delete e[qn], !0;
|
|
12149
12170
|
}
|
|
12150
12171
|
addEventListener(t, e, i) {
|
|
12151
12172
|
this.removeEventListener(t, e);
|
|
@@ -12220,11 +12241,11 @@ function og(n, t) {
|
|
|
12220
12241
|
if (r > 0) {
|
|
12221
12242
|
let d, h;
|
|
12222
12243
|
const f = r > 1 ? Math.round((l - a) / (r - 1)) : null;
|
|
12223
|
-
for (
|
|
12224
|
-
|
|
12225
|
-
return
|
|
12244
|
+
for (Fn(t, c, u, ut(f) ? 0 : a - f, a), d = 0, h = r - 1; d < h; d++)
|
|
12245
|
+
Fn(t, c, u, s[d], s[d + 1]);
|
|
12246
|
+
return Fn(t, c, u, l, ut(f) ? t.length : l + f), c;
|
|
12226
12247
|
}
|
|
12227
|
-
return
|
|
12248
|
+
return Fn(t, c, u), c;
|
|
12228
12249
|
}
|
|
12229
12250
|
function sg(n) {
|
|
12230
12251
|
const t = n.options.offset, e = n._tickSize(), i = n._length / e + (t ? 0 : 1), o = n._maxLength / e;
|
|
@@ -12254,7 +12275,7 @@ function lg(n, t, e, i) {
|
|
|
12254
12275
|
for (i = Math.ceil(i), r = 0; r < n.length; r++)
|
|
12255
12276
|
r === s && (t.push(n[r]), o++, s = e[o * i]);
|
|
12256
12277
|
}
|
|
12257
|
-
function
|
|
12278
|
+
function Fn(n, t, e, i, o) {
|
|
12258
12279
|
const s = nt(i, 0), r = Math.min(nt(o, n.length), n.length);
|
|
12259
12280
|
let a = 0, l, c, u;
|
|
12260
12281
|
for (e = Math.ceil(e), o && (l = o - i, e = l / Math.floor(l / e)), u = s; u < 0; )
|
|
@@ -12501,8 +12522,8 @@ class He extends we {
|
|
|
12501
12522
|
this.labelRotation = o;
|
|
12502
12523
|
return;
|
|
12503
12524
|
}
|
|
12504
|
-
const u = this._getLabelSizes(), d = u.widest.width, h = u.highest.height, f =
|
|
12505
|
-
a = t.offset ? this.maxWidth / i : f / (i - 1), d + 6 > a && (a = f / (i - (t.offset ? 0.5 : 1)), l = this.maxHeight - Ke(t.grid) - e.padding - Is(t.title, this.chart.options.font), c = Math.sqrt(d * d + h * h), r = vo(Math.min(Math.asin(
|
|
12525
|
+
const u = this._getLabelSizes(), d = u.widest.width, h = u.highest.height, f = Bt(this.chart.width - d, 0, this.maxWidth);
|
|
12526
|
+
a = t.offset ? this.maxWidth / i : f / (i - 1), d + 6 > a && (a = f / (i - (t.offset ? 0.5 : 1)), l = this.maxHeight - Ke(t.grid) - e.padding - Is(t.title, this.chart.options.font), c = Math.sqrt(d * d + h * h), r = vo(Math.min(Math.asin(Bt((u.highest.height + 6) / a, -1, 1)), Math.asin(Bt(l / c, -1, 1)) - Math.asin(Bt(h / c, -1, 1)))), r = Math.max(o, Math.min(s, r))), this.labelRotation = r;
|
|
12506
12527
|
}
|
|
12507
12528
|
afterCalculateLabelRotation() {
|
|
12508
12529
|
at(this.options.afterCalculateLabelRotation, [
|
|
@@ -12581,17 +12602,17 @@ class He extends we {
|
|
|
12581
12602
|
}
|
|
12582
12603
|
_computeLabelSizes(t, e, i) {
|
|
12583
12604
|
const { ctx: o, _longestTextCache: s } = this, r = [], a = [], l = Math.floor(e / As(e, i));
|
|
12584
|
-
let c = 0, u = 0, d, h, f, p, g, m, y, w, $,
|
|
12605
|
+
let c = 0, u = 0, d, h, f, p, g, m, y, w, $, M, S;
|
|
12585
12606
|
for (d = 0; d < e; d += l) {
|
|
12586
12607
|
if (p = t[d].label, g = this._resolveTickFontOptions(d), o.font = m = g.string, y = s[m] = s[m] || {
|
|
12587
12608
|
data: {},
|
|
12588
12609
|
gc: []
|
|
12589
|
-
}, w = g.lineHeight, $ =
|
|
12590
|
-
$ = oi(o, y.data, y.gc, $, p),
|
|
12610
|
+
}, w = g.lineHeight, $ = M = 0, !ut(p) && !mt(p))
|
|
12611
|
+
$ = oi(o, y.data, y.gc, $, p), M = w;
|
|
12591
12612
|
else if (mt(p))
|
|
12592
12613
|
for (h = 0, f = p.length; h < f; ++h)
|
|
12593
|
-
S = p[h], !ut(S) && !mt(S) && ($ = oi(o, y.data, y.gc, $, S),
|
|
12594
|
-
r.push($), a.push(
|
|
12614
|
+
S = p[h], !ut(S) && !mt(S) && ($ = oi(o, y.data, y.gc, $, S), M += w);
|
|
12615
|
+
r.push($), a.push(M), c = Math.max($, c), u = Math.max(M, u);
|
|
12595
12616
|
}
|
|
12596
12617
|
hg(s, e);
|
|
12597
12618
|
const I = r.indexOf(c), O = a.indexOf(u), D = (E) => ({
|
|
@@ -12622,7 +12643,7 @@ class He extends we {
|
|
|
12622
12643
|
getPixelForDecimal(t) {
|
|
12623
12644
|
this._reversePixels && (t = 1 - t);
|
|
12624
12645
|
const e = this._startPixel + t * this._length;
|
|
12625
|
-
return kf(this._alignToPixels ?
|
|
12646
|
+
return kf(this._alignToPixels ? ge(this.chart, e, 0) : e);
|
|
12626
12647
|
}
|
|
12627
12648
|
getDecimalForPixel(t) {
|
|
12628
12649
|
const e = (t - this._startPixel) / this._length;
|
|
@@ -12653,9 +12674,9 @@ class He extends we {
|
|
|
12653
12674
|
}
|
|
12654
12675
|
_computeGridLineItems(t) {
|
|
12655
12676
|
const e = this.axis, i = this.chart, o = this.options, { grid: s, position: r, border: a } = o, l = s.offset, c = this.isHorizontal(), d = this.ticks.length + (l ? 1 : 0), h = Ke(s), f = [], p = a.setContext(this.getContext()), g = p.display ? p.width : 0, m = g / 2, y = function(z) {
|
|
12656
|
-
return
|
|
12677
|
+
return ge(i, z, g);
|
|
12657
12678
|
};
|
|
12658
|
-
let w, $,
|
|
12679
|
+
let w, $, M, S, I, O, D, E, j, H, C, P;
|
|
12659
12680
|
if (r === "top")
|
|
12660
12681
|
w = y(this.bottom), O = this.bottom - h, E = w - m, H = y(t.top) + m, P = t.bottom;
|
|
12661
12682
|
else if (r === "bottom")
|
|
@@ -12681,10 +12702,10 @@ class He extends we {
|
|
|
12681
12702
|
}
|
|
12682
12703
|
I = w - m, D = I - h, j = t.left, C = t.right;
|
|
12683
12704
|
}
|
|
12684
|
-
const F = nt(o.ticks.maxTicksLimit, d),
|
|
12685
|
-
for ($ = 0; $ < d; $ +=
|
|
12686
|
-
const z = this.getContext($), N = s.setContext(z), st = a.setContext(z), G = N.lineWidth,
|
|
12687
|
-
|
|
12705
|
+
const F = nt(o.ticks.maxTicksLimit, d), B = Math.max(1, Math.ceil(d / F));
|
|
12706
|
+
for ($ = 0; $ < d; $ += B) {
|
|
12707
|
+
const z = this.getContext($), N = s.setContext(z), st = a.setContext(z), G = N.lineWidth, Dt = N.color, wt = st.dash || [], Ut = st.dashOffset, Qt = N.tickWidth, Ft = N.tickColor, ze = N.tickBorderDash || [], fe = N.tickBorderDashOffset;
|
|
12708
|
+
M = dg(this, $, l), M !== void 0 && (S = ge(i, M, G), c ? I = D = j = C = S : O = E = H = P = S, f.push({
|
|
12688
12709
|
tx1: I,
|
|
12689
12710
|
ty1: O,
|
|
12690
12711
|
tx2: D,
|
|
@@ -12694,60 +12715,60 @@ class He extends we {
|
|
|
12694
12715
|
x2: C,
|
|
12695
12716
|
y2: P,
|
|
12696
12717
|
width: G,
|
|
12697
|
-
color:
|
|
12718
|
+
color: Dt,
|
|
12698
12719
|
borderDash: wt,
|
|
12699
12720
|
borderDashOffset: Ut,
|
|
12700
12721
|
tickWidth: Qt,
|
|
12701
12722
|
tickColor: Ft,
|
|
12702
12723
|
tickBorderDash: ze,
|
|
12703
|
-
tickBorderDashOffset:
|
|
12724
|
+
tickBorderDashOffset: fe
|
|
12704
12725
|
}));
|
|
12705
12726
|
}
|
|
12706
12727
|
return this._ticksLength = d, this._borderValue = w, f;
|
|
12707
12728
|
}
|
|
12708
12729
|
_computeLabelItems(t) {
|
|
12709
12730
|
const e = this.axis, i = this.options, { position: o, ticks: s } = i, r = this.isHorizontal(), a = this.ticks, { align: l, crossAlign: c, padding: u, mirror: d } = s, h = Ke(i.grid), f = h + u, p = d ? -u : f, g = -Vt(this.labelRotation), m = [];
|
|
12710
|
-
let y, w, $,
|
|
12731
|
+
let y, w, $, M, S, I, O, D, E, j, H, C, P = "middle";
|
|
12711
12732
|
if (o === "top")
|
|
12712
12733
|
I = this.bottom - p, O = this._getXAxisLabelAlignment();
|
|
12713
12734
|
else if (o === "bottom")
|
|
12714
12735
|
I = this.top + p, O = this._getXAxisLabelAlignment();
|
|
12715
12736
|
else if (o === "left") {
|
|
12716
|
-
const
|
|
12717
|
-
O =
|
|
12737
|
+
const B = this._getYAxisLabelAlignment(h);
|
|
12738
|
+
O = B.textAlign, S = B.x;
|
|
12718
12739
|
} else if (o === "right") {
|
|
12719
|
-
const
|
|
12720
|
-
O =
|
|
12740
|
+
const B = this._getYAxisLabelAlignment(h);
|
|
12741
|
+
O = B.textAlign, S = B.x;
|
|
12721
12742
|
} else if (e === "x") {
|
|
12722
12743
|
if (o === "center")
|
|
12723
12744
|
I = (t.top + t.bottom) / 2 + f;
|
|
12724
12745
|
else if (Q(o)) {
|
|
12725
|
-
const
|
|
12726
|
-
I = this.chart.scales[
|
|
12746
|
+
const B = Object.keys(o)[0], z = o[B];
|
|
12747
|
+
I = this.chart.scales[B].getPixelForValue(z) + f;
|
|
12727
12748
|
}
|
|
12728
12749
|
O = this._getXAxisLabelAlignment();
|
|
12729
12750
|
} else if (e === "y") {
|
|
12730
12751
|
if (o === "center")
|
|
12731
12752
|
S = (t.left + t.right) / 2 - f;
|
|
12732
12753
|
else if (Q(o)) {
|
|
12733
|
-
const
|
|
12734
|
-
S = this.chart.scales[
|
|
12754
|
+
const B = Object.keys(o)[0], z = o[B];
|
|
12755
|
+
S = this.chart.scales[B].getPixelForValue(z);
|
|
12735
12756
|
}
|
|
12736
12757
|
O = this._getYAxisLabelAlignment(h).textAlign;
|
|
12737
12758
|
}
|
|
12738
12759
|
e === "y" && (l === "start" ? P = "top" : l === "end" && (P = "bottom"));
|
|
12739
12760
|
const F = this._getLabelSizes();
|
|
12740
12761
|
for (y = 0, w = a.length; y < w; ++y) {
|
|
12741
|
-
$ = a[y],
|
|
12742
|
-
const
|
|
12743
|
-
D = this.getPixelForTick(y) + s.labelOffset, E = this._resolveTickFontOptions(y), j = E.lineHeight, H = mt(
|
|
12744
|
-
const z = H / 2, N =
|
|
12745
|
-
let
|
|
12746
|
-
r ? (S = D, O === "inner" && (y === w - 1 ?
|
|
12762
|
+
$ = a[y], M = $.label;
|
|
12763
|
+
const B = s.setContext(this.getContext(y));
|
|
12764
|
+
D = this.getPixelForTick(y) + s.labelOffset, E = this._resolveTickFontOptions(y), j = E.lineHeight, H = mt(M) ? M.length : 1;
|
|
12765
|
+
const z = H / 2, N = B.color, st = B.textStrokeColor, G = B.textStrokeWidth;
|
|
12766
|
+
let Dt = O;
|
|
12767
|
+
r ? (S = D, O === "inner" && (y === w - 1 ? Dt = this.options.reverse ? "left" : "right" : y === 0 ? Dt = this.options.reverse ? "right" : "left" : Dt = "center"), o === "top" ? c === "near" || g !== 0 ? C = -H * j + j / 2 : c === "center" ? C = -F.highest.height / 2 - z * j + j : C = -F.highest.height + j / 2 : c === "near" || g !== 0 ? C = j / 2 : c === "center" ? C = F.highest.height / 2 - z * j : C = F.highest.height - H * j, d && (C *= -1), g !== 0 && !B.showLabelBackdrop && (S += j / 2 * Math.sin(g))) : (I = D, C = (1 - H) * j / 2);
|
|
12747
12768
|
let wt;
|
|
12748
|
-
if (
|
|
12749
|
-
const Ut = St(
|
|
12750
|
-
let ze = C - Ut.top,
|
|
12769
|
+
if (B.showLabelBackdrop) {
|
|
12770
|
+
const Ut = St(B.backdropPadding), Qt = F.heights[y], Ft = F.widths[y];
|
|
12771
|
+
let ze = C - Ut.top, fe = 0 - Ut.left;
|
|
12751
12772
|
switch (P) {
|
|
12752
12773
|
case "middle":
|
|
12753
12774
|
ze -= Qt / 2;
|
|
@@ -12758,25 +12779,25 @@ class He extends we {
|
|
|
12758
12779
|
}
|
|
12759
12780
|
switch (O) {
|
|
12760
12781
|
case "center":
|
|
12761
|
-
|
|
12782
|
+
fe -= Ft / 2;
|
|
12762
12783
|
break;
|
|
12763
12784
|
case "right":
|
|
12764
|
-
|
|
12785
|
+
fe -= Ft;
|
|
12765
12786
|
break;
|
|
12766
12787
|
case "inner":
|
|
12767
|
-
y === w - 1 ?
|
|
12788
|
+
y === w - 1 ? fe -= Ft : y > 0 && (fe -= Ft / 2);
|
|
12768
12789
|
break;
|
|
12769
12790
|
}
|
|
12770
12791
|
wt = {
|
|
12771
|
-
left:
|
|
12792
|
+
left: fe,
|
|
12772
12793
|
top: ze,
|
|
12773
12794
|
width: Ft + Ut.width,
|
|
12774
12795
|
height: Qt + Ut.height,
|
|
12775
|
-
color:
|
|
12796
|
+
color: B.backdropColor
|
|
12776
12797
|
};
|
|
12777
12798
|
}
|
|
12778
12799
|
m.push({
|
|
12779
|
-
label:
|
|
12800
|
+
label: M,
|
|
12780
12801
|
font: E,
|
|
12781
12802
|
textOffset: C,
|
|
12782
12803
|
options: {
|
|
@@ -12784,7 +12805,7 @@ class He extends we {
|
|
|
12784
12805
|
color: N,
|
|
12785
12806
|
strokeColor: st,
|
|
12786
12807
|
strokeWidth: G,
|
|
12787
|
-
textAlign:
|
|
12808
|
+
textAlign: Dt,
|
|
12788
12809
|
textBaseline: P,
|
|
12789
12810
|
translation: [
|
|
12790
12811
|
S,
|
|
@@ -12876,7 +12897,7 @@ class He extends we {
|
|
|
12876
12897
|
return;
|
|
12877
12898
|
const a = o.setContext(this.getContext(0)).lineWidth, l = this._borderValue;
|
|
12878
12899
|
let c, u, d, h;
|
|
12879
|
-
this.isHorizontal() ? (c =
|
|
12900
|
+
this.isHorizontal() ? (c = ge(t, this.left, r) - r / 2, u = ge(t, this.right, a) + a / 2, d = h = l) : (d = ge(t, this.top, r) - r / 2, h = ge(t, this.bottom, a) + a / 2, c = u = l), e.save(), e.lineWidth = s.width, e.strokeStyle = s.color, e.beginPath(), e.moveTo(c, d), e.lineTo(u, h), e.stroke(), e.restore();
|
|
12880
12901
|
}
|
|
12881
12902
|
drawLabels(t) {
|
|
12882
12903
|
if (!this.options.ticks.display)
|
|
@@ -12961,7 +12982,7 @@ class He extends we {
|
|
|
12961
12982
|
return (this.isHorizontal() ? this.width : this.height) / t;
|
|
12962
12983
|
}
|
|
12963
12984
|
}
|
|
12964
|
-
class
|
|
12985
|
+
class Hn {
|
|
12965
12986
|
constructor(t, e, i) {
|
|
12966
12987
|
this.type = t, this.scope = e, this.override = i, this.items = /* @__PURE__ */ Object.create(null);
|
|
12967
12988
|
}
|
|
@@ -12986,7 +13007,7 @@ class Fn {
|
|
|
12986
13007
|
}
|
|
12987
13008
|
}
|
|
12988
13009
|
function bg(n, t, e) {
|
|
12989
|
-
const i =
|
|
13010
|
+
const i = xn(/* @__PURE__ */ Object.create(null), [
|
|
12990
13011
|
e ? pt.get(e) : {},
|
|
12991
13012
|
pt.get(t),
|
|
12992
13013
|
n.defaults
|
|
@@ -13006,7 +13027,7 @@ function vg(n) {
|
|
|
13006
13027
|
}
|
|
13007
13028
|
class xg {
|
|
13008
13029
|
constructor() {
|
|
13009
|
-
this.controllers = new
|
|
13030
|
+
this.controllers = new Hn(an, "datasets", !0), this.elements = new Hn(we, "elements"), this.plugins = new Hn(Object, "plugins"), this.scales = new Hn(He, "scales"), this._typedRegistries = [
|
|
13010
13031
|
this.controllers,
|
|
13011
13032
|
this.scales,
|
|
13012
13033
|
this.elements
|
|
@@ -13262,12 +13283,12 @@ function Ig(n) {
|
|
|
13262
13283
|
return n = n || {}, n.data = Ma(n.data), Ta(n), n;
|
|
13263
13284
|
}
|
|
13264
13285
|
const Ds = /* @__PURE__ */ new Map(), Aa = /* @__PURE__ */ new Set();
|
|
13265
|
-
function
|
|
13286
|
+
function zn(n, t) {
|
|
13266
13287
|
let e = Ds.get(n);
|
|
13267
13288
|
return e || (e = t(), Ds.set(n, e), Aa.add(e)), e;
|
|
13268
13289
|
}
|
|
13269
13290
|
const qe = (n, t, e) => {
|
|
13270
|
-
const i =
|
|
13291
|
+
const i = _n(t, e);
|
|
13271
13292
|
i !== void 0 && n.add(i);
|
|
13272
13293
|
};
|
|
13273
13294
|
class Lg {
|
|
@@ -13306,7 +13327,7 @@ class Lg {
|
|
|
13306
13327
|
this._scopeCache.clear(), this._resolverCache.clear();
|
|
13307
13328
|
}
|
|
13308
13329
|
datasetScopeKeys(t) {
|
|
13309
|
-
return
|
|
13330
|
+
return zn(t, () => [
|
|
13310
13331
|
[
|
|
13311
13332
|
`datasets.${t}`,
|
|
13312
13333
|
""
|
|
@@ -13314,7 +13335,7 @@ class Lg {
|
|
|
13314
13335
|
]);
|
|
13315
13336
|
}
|
|
13316
13337
|
datasetAnimationScopeKeys(t, e) {
|
|
13317
|
-
return
|
|
13338
|
+
return zn(`${t}.transition.${e}`, () => [
|
|
13318
13339
|
[
|
|
13319
13340
|
`datasets.${t}.transitions.${e}`,
|
|
13320
13341
|
`transitions.${e}`
|
|
@@ -13326,7 +13347,7 @@ class Lg {
|
|
|
13326
13347
|
]);
|
|
13327
13348
|
}
|
|
13328
13349
|
datasetElementScopeKeys(t, e) {
|
|
13329
|
-
return
|
|
13350
|
+
return zn(`${t}-${e}`, () => [
|
|
13330
13351
|
[
|
|
13331
13352
|
`datasets.${t}.elements.${e}`,
|
|
13332
13353
|
`datasets.${t}`,
|
|
@@ -13337,7 +13358,7 @@ class Lg {
|
|
|
13337
13358
|
}
|
|
13338
13359
|
pluginScopeKeys(t) {
|
|
13339
13360
|
const e = t.id, i = this.type;
|
|
13340
|
-
return
|
|
13361
|
+
return zn(`${i}-plugin-${e}`, () => [
|
|
13341
13362
|
[
|
|
13342
13363
|
`plugins.${e}`,
|
|
13343
13364
|
...t.additionalOptionScopes || []
|
|
@@ -13381,7 +13402,7 @@ class Lg {
|
|
|
13381
13402
|
}, { resolver: r, subPrefixes: a } = Es(this._resolverCache, t, o);
|
|
13382
13403
|
let l = r;
|
|
13383
13404
|
if (Dg(r, e)) {
|
|
13384
|
-
s.$shared = !1, i =
|
|
13405
|
+
s.$shared = !1, i = he(i) ? i() : i;
|
|
13385
13406
|
const c = this.createResolver(t, i, a);
|
|
13386
13407
|
l = Be(r, i, c);
|
|
13387
13408
|
}
|
|
@@ -13406,12 +13427,12 @@ function Es(n, t, e) {
|
|
|
13406
13427
|
subPrefixes: e.filter((a) => !a.toLowerCase().includes("hover"))
|
|
13407
13428
|
}, i.set(o, s)), s;
|
|
13408
13429
|
}
|
|
13409
|
-
const Og = (n) => Q(n) && Object.getOwnPropertyNames(n).some((t) =>
|
|
13430
|
+
const Og = (n) => Q(n) && Object.getOwnPropertyNames(n).some((t) => he(n[t]));
|
|
13410
13431
|
function Dg(n, t) {
|
|
13411
13432
|
const { isScriptable: e, isIndexable: i } = pa(n);
|
|
13412
13433
|
for (const o of t) {
|
|
13413
13434
|
const s = e(o), r = i(o), a = (r || s) && n[o];
|
|
13414
|
-
if (s && (
|
|
13435
|
+
if (s && (he(a) || Og(a)) || r && mt(a))
|
|
13415
13436
|
return !0;
|
|
13416
13437
|
}
|
|
13417
13438
|
return !1;
|
|
@@ -13447,9 +13468,9 @@ function Rg(n) {
|
|
|
13447
13468
|
function Pa(n) {
|
|
13448
13469
|
return To() && typeof n == "string" ? n = document.getElementById(n) : n && n.length && (n = n[0]), n && n.canvas && (n = n.canvas), n;
|
|
13449
13470
|
}
|
|
13450
|
-
const
|
|
13471
|
+
const Xn = {}, Fs = (n) => {
|
|
13451
13472
|
const t = Pa(n);
|
|
13452
|
-
return Object.values(
|
|
13473
|
+
return Object.values(Xn).filter((e) => e.canvas === t).pop();
|
|
13453
13474
|
};
|
|
13454
13475
|
function jg(n, t, e) {
|
|
13455
13476
|
const i = Object.keys(n);
|
|
@@ -13479,7 +13500,7 @@ let _i = (ne = class {
|
|
|
13479
13500
|
const r = i.createResolver(i.chartOptionScopes(), this.getContext());
|
|
13480
13501
|
this.platform = new (i.platform || ig(o))(), this.platform.updateConfig(i);
|
|
13481
13502
|
const a = this.platform.acquireContext(o, r.aspectRatio), l = a && a.canvas, c = l && l.height, u = l && l.width;
|
|
13482
|
-
if (this.id = hf(), this.ctx = a, this.canvas = l, this.width = u, this.height = c, this._options = r, this._aspectRatio = this.aspectRatio, this._layers = [], this._metasets = [], this._stacks = void 0, this.boxes = [], this.currentDevicePixelRatio = void 0, this.chartArea = void 0, this._active = [], this._lastEvent = void 0, this._listeners = {}, this._responsiveListeners = void 0, this._sortedMetasets = [], this.scales = {}, this._plugins = new _g(), this.$proxies = {}, this._hiddenIndices = {}, this.attached = !1, this._animationsDisabled = void 0, this.$context = void 0, this._doResize = Af((d) => this.update(d), r.resizeDelay || 0), this._dataChanges = [],
|
|
13503
|
+
if (this.id = hf(), this.ctx = a, this.canvas = l, this.width = u, this.height = c, this._options = r, this._aspectRatio = this.aspectRatio, this._layers = [], this._metasets = [], this._stacks = void 0, this.boxes = [], this.currentDevicePixelRatio = void 0, this.chartArea = void 0, this._active = [], this._lastEvent = void 0, this._listeners = {}, this._responsiveListeners = void 0, this._sortedMetasets = [], this.scales = {}, this._plugins = new _g(), this.$proxies = {}, this._hiddenIndices = {}, this.attached = !1, this._animationsDisabled = void 0, this.$context = void 0, this._doResize = Af((d) => this.update(d), r.resizeDelay || 0), this._dataChanges = [], Xn[this.id] = this, !a || !l) {
|
|
13483
13504
|
console.error("Failed to create chart: can't acquire context from the given item");
|
|
13484
13505
|
return;
|
|
13485
13506
|
}
|
|
@@ -13684,7 +13705,7 @@ let _i = (ne = class {
|
|
|
13684
13705
|
for (let e = 0, i = this.data.datasets.length; e < i; ++e)
|
|
13685
13706
|
this.getDatasetMeta(e).controller.configure();
|
|
13686
13707
|
for (let e = 0, i = this.data.datasets.length; e < i; ++e)
|
|
13687
|
-
this._updateDataset(e,
|
|
13708
|
+
this._updateDataset(e, he(t) ? t({
|
|
13688
13709
|
datasetIndex: e
|
|
13689
13710
|
}) : t);
|
|
13690
13711
|
this.notifyPlugins("afterDatasetsUpdate", {
|
|
@@ -13830,7 +13851,7 @@ let _i = (ne = class {
|
|
|
13830
13851
|
destroy() {
|
|
13831
13852
|
this.notifyPlugins("beforeDestroy");
|
|
13832
13853
|
const { canvas: t, ctx: e } = this;
|
|
13833
|
-
this._stop(), this.config.clearCache(), t && (this.unbindEvents(), us(t, e), this.platform.releaseContext(e), this.canvas = null, this.ctx = null), delete
|
|
13854
|
+
this._stop(), this.config.clearCache(), t && (this.unbindEvents(), us(t, e), this.platform.releaseContext(e), this.canvas = null, this.ctx = null), delete Xn[this.id], this.notifyPlugins("afterDestroy");
|
|
13834
13855
|
}
|
|
13835
13856
|
toBase64Image(...t) {
|
|
13836
13857
|
return this.canvas.toDataURL(...t);
|
|
@@ -13939,7 +13960,7 @@ let _i = (ne = class {
|
|
|
13939
13960
|
const s = this.options.hover;
|
|
13940
13961
|
return this.getElementsAtEventForMode(t, s.mode, s, o);
|
|
13941
13962
|
}
|
|
13942
|
-
}, W(ne, "defaults", pt), W(ne, "instances",
|
|
13963
|
+
}, W(ne, "defaults", pt), W(ne, "instances", Xn), W(ne, "overrides", _e), W(ne, "registry", zt), W(ne, "version", Eg), W(ne, "getChart", Fs), ne);
|
|
13943
13964
|
function Hs() {
|
|
13944
13965
|
return ot(_i.instances, (n) => n._plugins.invalidate());
|
|
13945
13966
|
}
|
|
@@ -13975,13 +13996,13 @@ function Ng(n) {
|
|
|
13975
13996
|
function Vg(n, t, e, i) {
|
|
13976
13997
|
const o = Ng(n.options.borderRadius), s = (e - t) / 2, r = Math.min(s, i * t / 2), a = (l) => {
|
|
13977
13998
|
const c = (e - Math.min(s, l)) * i / 2;
|
|
13978
|
-
return
|
|
13999
|
+
return Bt(l, 0, Math.min(s, c));
|
|
13979
14000
|
};
|
|
13980
14001
|
return {
|
|
13981
14002
|
outerStart: a(o.outerStart),
|
|
13982
14003
|
outerEnd: a(o.outerEnd),
|
|
13983
|
-
innerStart:
|
|
13984
|
-
innerEnd:
|
|
14004
|
+
innerStart: Bt(o.innerStart, 0, r),
|
|
14005
|
+
innerEnd: Bt(o.innerEnd, 0, r)
|
|
13985
14006
|
};
|
|
13986
14007
|
}
|
|
13987
14008
|
function Te(n, t, e, i) {
|
|
@@ -13995,15 +14016,15 @@ function li(n, t, e, i, o, s) {
|
|
|
13995
14016
|
let f = 0;
|
|
13996
14017
|
const p = o - l;
|
|
13997
14018
|
if (i) {
|
|
13998
|
-
const
|
|
14019
|
+
const B = u > 0 ? u - i : 0, z = d > 0 ? d - i : 0, N = (B + z) / 2, st = N !== 0 ? p * N / (N + i) : p;
|
|
13999
14020
|
f = (p - st) / 2;
|
|
14000
14021
|
}
|
|
14001
|
-
const g = Math.max(1e-3, p * d - e / rt) / d, m = (p - g) / 2, y = l + m + f, w = o - m - f, { outerStart: $, outerEnd:
|
|
14022
|
+
const g = Math.max(1e-3, p * d - e / rt) / d, m = (p - g) / 2, y = l + m + f, w = o - m - f, { outerStart: $, outerEnd: M, innerStart: S, innerEnd: I } = Vg(t, h, d, w - y), O = d - $, D = d - M, E = y + $ / O, j = w - M / D, H = h + S, C = h + I, P = y + S / H, F = w - I / C;
|
|
14002
14023
|
if (n.beginPath(), s) {
|
|
14003
|
-
const
|
|
14004
|
-
if (n.arc(r, a, d, E,
|
|
14024
|
+
const B = (E + j) / 2;
|
|
14025
|
+
if (n.arc(r, a, d, E, B), n.arc(r, a, d, B, j), M > 0) {
|
|
14005
14026
|
const G = Te(D, j, r, a);
|
|
14006
|
-
n.arc(G.x, G.y,
|
|
14027
|
+
n.arc(G.x, G.y, M, j, w + yt);
|
|
14007
14028
|
}
|
|
14008
14029
|
const z = Te(C, w, r, a);
|
|
14009
14030
|
if (n.lineTo(z.x, z.y), I > 0) {
|
|
@@ -14022,8 +14043,8 @@ function li(n, t, e, i, o, s) {
|
|
|
14022
14043
|
}
|
|
14023
14044
|
} else {
|
|
14024
14045
|
n.moveTo(r, a);
|
|
14025
|
-
const
|
|
14026
|
-
n.lineTo(
|
|
14046
|
+
const B = Math.cos(E) * d + r, z = Math.sin(E) * d + a;
|
|
14047
|
+
n.lineTo(B, z);
|
|
14027
14048
|
const N = Math.cos(j) * d + r, st = Math.sin(j) * d + a;
|
|
14028
14049
|
n.lineTo(N, st);
|
|
14029
14050
|
}
|
|
@@ -14258,14 +14279,14 @@ class Ns extends we {
|
|
|
14258
14279
|
strikethrough: D.hidden,
|
|
14259
14280
|
textAlign: l.textAlign(D.textAlign)
|
|
14260
14281
|
});
|
|
14261
|
-
}, $ = this.isHorizontal(),
|
|
14282
|
+
}, $ = this.isHorizontal(), M = this._computeTitleHeight();
|
|
14262
14283
|
$ ? f = {
|
|
14263
14284
|
x: Pt(s, this.left + u, this.right - i[0]),
|
|
14264
|
-
y: this.top + u +
|
|
14285
|
+
y: this.top + u + M,
|
|
14265
14286
|
line: 0
|
|
14266
14287
|
} : f = {
|
|
14267
14288
|
x: this.left + u,
|
|
14268
|
-
y: Pt(s, this.top +
|
|
14289
|
+
y: Pt(s, this.top + M + u, this.bottom - e[0].height),
|
|
14269
14290
|
line: 0
|
|
14270
14291
|
}, ya(this.ctx, t.textDirection);
|
|
14271
14292
|
const S = m + u;
|
|
@@ -14273,7 +14294,7 @@ class Ns extends we {
|
|
|
14273
14294
|
o.strokeStyle = I.fontColor, o.fillStyle = I.fontColor;
|
|
14274
14295
|
const D = o.measureText(I.text).width, E = l.textAlign(I.textAlign || (I.textAlign = r.textAlign)), j = p + h + D;
|
|
14275
14296
|
let H = f.x, C = f.y;
|
|
14276
|
-
l.setWidth(this.width), $ ? O > 0 && H + j + u > this.right && (C = f.y += S, f.line++, H = f.x = Pt(s, this.left + u, this.right - i[f.line])) : O > 0 && C + S > this.bottom && (H = f.x = H + e[f.line].width + u, f.line++, C = f.y = Pt(s, this.top +
|
|
14297
|
+
l.setWidth(this.width), $ ? O > 0 && H + j + u > this.right && (C = f.y += S, f.line++, H = f.x = Pt(s, this.left + u, this.right - i[f.line])) : O > 0 && C + S > this.bottom && (H = f.x = H + e[f.line].width + u, f.line++, C = f.y = Pt(s, this.top + M + u, this.bottom - e[f.line].height));
|
|
14277
14298
|
const P = l.x(H);
|
|
14278
14299
|
if (y(P, C, I), H = Pf(E, H + p + h, $ ? H + j : this.right, t.rtl), w(l.x(H), C, I), $)
|
|
14279
14300
|
f.x += j + u;
|
|
@@ -14506,18 +14527,18 @@ function Qg(n, t) {
|
|
|
14506
14527
|
}
|
|
14507
14528
|
function Vs(n, t) {
|
|
14508
14529
|
const e = n.chart.ctx, { body: i, footer: o, title: s } = n, { boxWidth: r, boxHeight: a } = t, l = Ct(t.bodyFont), c = Ct(t.titleFont), u = Ct(t.footerFont), d = s.length, h = o.length, f = i.length, p = St(t.padding);
|
|
14509
|
-
let g = p.height, m = 0, y = i.reduce((
|
|
14530
|
+
let g = p.height, m = 0, y = i.reduce((M, S) => M + S.before.length + S.lines.length + S.after.length, 0);
|
|
14510
14531
|
if (y += n.beforeBody.length + n.afterBody.length, d && (g += d * c.lineHeight + (d - 1) * t.titleSpacing + t.titleMarginBottom), y) {
|
|
14511
|
-
const
|
|
14512
|
-
g += f *
|
|
14532
|
+
const M = t.displayColors ? Math.max(a, l.lineHeight) : l.lineHeight;
|
|
14533
|
+
g += f * M + (y - f) * l.lineHeight + (y - 1) * t.bodySpacing;
|
|
14513
14534
|
}
|
|
14514
14535
|
h && (g += t.footerMarginTop + h * u.lineHeight + (h - 1) * t.footerSpacing);
|
|
14515
14536
|
let w = 0;
|
|
14516
|
-
const $ = function(
|
|
14517
|
-
m = Math.max(m, e.measureText(
|
|
14537
|
+
const $ = function(M) {
|
|
14538
|
+
m = Math.max(m, e.measureText(M).width + w);
|
|
14518
14539
|
};
|
|
14519
|
-
return e.save(), e.font = c.string, ot(n.title, $), e.font = l.string, ot(n.beforeBody.concat(n.afterBody), $), w = t.displayColors ? r + 2 + t.boxPadding : 0, ot(i, (
|
|
14520
|
-
ot(
|
|
14540
|
+
return e.save(), e.font = c.string, ot(n.title, $), e.font = l.string, ot(n.beforeBody.concat(n.afterBody), $), w = t.displayColors ? r + 2 + t.boxPadding : 0, ot(i, (M) => {
|
|
14541
|
+
ot(M.before, $), ot(M.lines, $), ot(M.after, $);
|
|
14521
14542
|
}), w = 0, e.font = u.string, ot(n.footer, $), e.restore(), m += p.width, {
|
|
14522
14543
|
width: m,
|
|
14523
14544
|
height: g
|
|
@@ -14557,11 +14578,11 @@ function Us(n, t, e, i) {
|
|
|
14557
14578
|
let p = nm(t, a);
|
|
14558
14579
|
const g = im(t, l, c);
|
|
14559
14580
|
return l === "center" ? a === "left" ? p += c : a === "right" && (p -= c) : a === "left" ? p -= Math.max(u, h) + o : a === "right" && (p += Math.max(d, f) + o), {
|
|
14560
|
-
x:
|
|
14561
|
-
y:
|
|
14581
|
+
x: Bt(p, 0, i.width - t.width),
|
|
14582
|
+
y: Bt(g, 0, i.height - t.height)
|
|
14562
14583
|
};
|
|
14563
14584
|
}
|
|
14564
|
-
function
|
|
14585
|
+
function Nn(n, t, e) {
|
|
14565
14586
|
const i = St(e.padding);
|
|
14566
14587
|
return t === "center" ? n.x + n.width / 2 : t === "right" ? n.x + n.width - i.right : n.x + i.left;
|
|
14567
14588
|
}
|
|
@@ -14722,13 +14743,13 @@ class oo extends we {
|
|
|
14722
14743
|
}
|
|
14723
14744
|
getCaretPosition(t, e, i) {
|
|
14724
14745
|
const { xAlign: o, yAlign: s } = this, { caretSize: r, cornerRadius: a } = i, { topLeft: l, topRight: c, bottomLeft: u, bottomRight: d } = Le(a), { x: h, y: f } = t, { width: p, height: g } = e;
|
|
14725
|
-
let m, y, w, $,
|
|
14726
|
-
return s === "center" ? (
|
|
14746
|
+
let m, y, w, $, M, S;
|
|
14747
|
+
return s === "center" ? (M = f + g / 2, o === "left" ? (m = h, y = m - r, $ = M + r, S = M - r) : (m = h + p, y = m + r, $ = M - r, S = M + r), w = m) : (o === "left" ? y = h + Math.max(l, u) + r : o === "right" ? y = h + p - Math.max(c, d) - r : y = this.caretX, s === "top" ? ($ = f, M = $ - r, m = y - r, w = y + r) : ($ = f + g, M = $ + r, m = y + r, w = y - r), S = $), {
|
|
14727
14748
|
x1: m,
|
|
14728
14749
|
x2: y,
|
|
14729
14750
|
x3: w,
|
|
14730
14751
|
y1: $,
|
|
14731
|
-
y2:
|
|
14752
|
+
y2: M,
|
|
14732
14753
|
y3: S
|
|
14733
14754
|
};
|
|
14734
14755
|
}
|
|
@@ -14737,12 +14758,12 @@ class oo extends we {
|
|
|
14737
14758
|
let r, a, l;
|
|
14738
14759
|
if (s) {
|
|
14739
14760
|
const c = Oe(i.rtl, this.x, this.width);
|
|
14740
|
-
for (t.x =
|
|
14761
|
+
for (t.x = Nn(this, i.titleAlign, i), e.textAlign = c.textAlign(i.titleAlign), e.textBaseline = "middle", r = Ct(i.titleFont), a = i.titleSpacing, e.fillStyle = i.titleColor, e.font = r.string, l = 0; l < s; ++l)
|
|
14741
14762
|
e.fillText(o[l], c.x(t.x), t.y + r.lineHeight / 2), t.y += r.lineHeight + a, l + 1 === s && (t.y += i.titleMarginBottom - a);
|
|
14742
14763
|
}
|
|
14743
14764
|
}
|
|
14744
14765
|
_drawColorBox(t, e, i, o, s) {
|
|
14745
|
-
const r = this.labelColors[i], a = this.labelPointStyles[i], { boxHeight: l, boxWidth: c } = s, u = Ct(s.bodyFont), d =
|
|
14766
|
+
const r = this.labelColors[i], a = this.labelPointStyles[i], { boxHeight: l, boxWidth: c } = s, u = Ct(s.bodyFont), d = Nn(this, "left", s), h = o.x(d), f = l < u.lineHeight ? (u.lineHeight - l) / 2 : 0, p = e.y + f;
|
|
14746
14767
|
if (s.usePointStyle) {
|
|
14747
14768
|
const g = {
|
|
14748
14769
|
radius: Math.min(c, l) / 2,
|
|
@@ -14776,9 +14797,9 @@ class oo extends we {
|
|
|
14776
14797
|
const p = Oe(i.rtl, this.x, this.width), g = function(D) {
|
|
14777
14798
|
e.fillText(D, p.x(t.x + f), t.y + h / 2), t.y += h + s;
|
|
14778
14799
|
}, m = p.textAlign(r);
|
|
14779
|
-
let y, w, $,
|
|
14780
|
-
for (e.textAlign = r, e.textBaseline = "middle", e.font = d.string, t.x =
|
|
14781
|
-
for (y = o[
|
|
14800
|
+
let y, w, $, M, S, I, O;
|
|
14801
|
+
for (e.textAlign = r, e.textBaseline = "middle", e.font = d.string, t.x = Nn(this, m, i), e.fillStyle = i.bodyColor, ot(this.beforeBody, g), f = a && m !== "right" ? r === "center" ? c / 2 + u : c + 2 + u : 0, M = 0, I = o.length; M < I; ++M) {
|
|
14802
|
+
for (y = o[M], w = this.labelTextColors[M], e.fillStyle = w, ot(y.before, g), $ = y.lines, a && $.length && (this._drawColorBox(e, t, M, p, i), h = Math.max(d.lineHeight, l)), S = 0, O = $.length; S < O; ++S)
|
|
14782
14803
|
g($[S]), h = d.lineHeight;
|
|
14783
14804
|
ot(y.after, g);
|
|
14784
14805
|
}
|
|
@@ -14789,7 +14810,7 @@ class oo extends we {
|
|
|
14789
14810
|
let r, a;
|
|
14790
14811
|
if (s) {
|
|
14791
14812
|
const l = Oe(i.rtl, this.x, this.width);
|
|
14792
|
-
for (t.x =
|
|
14813
|
+
for (t.x = Nn(this, i.footerAlign, i), t.y += i.footerMarginTop, e.textAlign = l.textAlign(i.footerAlign), e.textBaseline = "middle", r = Ct(i.footerFont), e.fillStyle = i.footerColor, e.font = r.string, a = 0; a < s; ++a)
|
|
14793
14814
|
e.fillText(o[a], l.x(t.x), t.y + r.lineHeight / 2), t.y += r.lineHeight + i.footerSpacing;
|
|
14794
14815
|
}
|
|
14795
14816
|
}
|
|
@@ -14985,7 +15006,7 @@ var sm = {
|
|
|
14985
15006
|
]
|
|
14986
15007
|
};
|
|
14987
15008
|
function rm(n, t) {
|
|
14988
|
-
const e = [], { bounds: o, step: s, min: r, max: a, precision: l, count: c, maxTicks: u, maxDigits: d, includeBounds: h } = n, f = s || 1, p = u - 1, { min: g, max: m } = t, y = !ut(r), w = !ut(a), $ = !ut(c),
|
|
15009
|
+
const e = [], { bounds: o, step: s, min: r, max: a, precision: l, count: c, maxTicks: u, maxDigits: d, includeBounds: h } = n, f = s || 1, p = u - 1, { min: g, max: m } = t, y = !ut(r), w = !ut(a), $ = !ut(c), M = (m - g) / (d + 1);
|
|
14989
15010
|
let S = is((m - g) / p / f) * f, I, O, D, E;
|
|
14990
15011
|
if (S < 1e-14 && !y && !w)
|
|
14991
15012
|
return [
|
|
@@ -14996,13 +15017,13 @@ function rm(n, t) {
|
|
|
14996
15017
|
value: m
|
|
14997
15018
|
}
|
|
14998
15019
|
];
|
|
14999
|
-
E = Math.ceil(m / S) - Math.floor(g / S), E > p && (S = is(E * S / p / f) * f), ut(l) || (I = Math.pow(10, l), S = Math.ceil(S * I) / I), o === "ticks" ? (O = Math.floor(g / S) * S, D = Math.ceil(m / S) * S) : (O = g, D = m), y && w && s && wf((a - r) / s, S / 1e3) ? (E = Math.round(Math.min((a - r) / S, u)), S = (a - r) / E, O = r, D = a) : $ ? (O = y ? r : O, D = w ? a : D, E = c - 1, S = (D - O) / E) : (E = (D - O) / S,
|
|
15020
|
+
E = Math.ceil(m / S) - Math.floor(g / S), E > p && (S = is(E * S / p / f) * f), ut(l) || (I = Math.pow(10, l), S = Math.ceil(S * I) / I), o === "ticks" ? (O = Math.floor(g / S) * S, D = Math.ceil(m / S) * S) : (O = g, D = m), y && w && s && wf((a - r) / s, S / 1e3) ? (E = Math.round(Math.min((a - r) / S, u)), S = (a - r) / E, O = r, D = a) : $ ? (O = y ? r : O, D = w ? a : D, E = c - 1, S = (D - O) / E) : (E = (D - O) / S, Kn(E, Math.round(E), S / 1e3) ? E = Math.round(E) : E = Math.ceil(E));
|
|
15000
15021
|
const j = Math.max(os(S), os(O));
|
|
15001
15022
|
I = Math.pow(10, ut(l) ? j : l), O = Math.round(O * I) / I, D = Math.round(D * I) / I;
|
|
15002
15023
|
let H = 0;
|
|
15003
15024
|
for (y && (h && O !== r ? (e.push({
|
|
15004
15025
|
value: r
|
|
15005
|
-
}), O < r && H++,
|
|
15026
|
+
}), O < r && H++, Kn(Math.round((O + H * S) * I) / I, r, qs(r, M, n)) && H++) : O < r && H++); H < E; ++H) {
|
|
15006
15027
|
const C = Math.round((O + H * S) * I) / I;
|
|
15007
15028
|
if (w && C > a)
|
|
15008
15029
|
break;
|
|
@@ -15010,7 +15031,7 @@ function rm(n, t) {
|
|
|
15010
15031
|
value: C
|
|
15011
15032
|
});
|
|
15012
15033
|
}
|
|
15013
|
-
return w && h && D !== a ? e.length &&
|
|
15034
|
+
return w && h && D !== a ? e.length && Kn(e[e.length - 1].value, a, qs(a, M, n)) ? e[e.length - 1].value = a : e.push({
|
|
15014
15035
|
value: a
|
|
15015
15036
|
}) : (!w || D === a) && e.push({
|
|
15016
15037
|
value: D
|
|
@@ -15102,9 +15123,9 @@ W(Xs, "id", "linear"), W(Xs, "defaults", {
|
|
|
15102
15123
|
callback: vi.formatters.numeric
|
|
15103
15124
|
}
|
|
15104
15125
|
});
|
|
15105
|
-
const
|
|
15126
|
+
const Cn = (n) => Math.floor(re(n)), be = (n, t) => Math.pow(10, Cn(n) + t);
|
|
15106
15127
|
function Gs(n) {
|
|
15107
|
-
return n / Math.pow(10,
|
|
15128
|
+
return n / Math.pow(10, Cn(n)) === 1;
|
|
15108
15129
|
}
|
|
15109
15130
|
function Zs(n, t, e) {
|
|
15110
15131
|
const i = Math.pow(10, e), o = Math.floor(n / i);
|
|
@@ -15112,16 +15133,16 @@ function Zs(n, t, e) {
|
|
|
15112
15133
|
}
|
|
15113
15134
|
function am(n, t) {
|
|
15114
15135
|
const e = t - n;
|
|
15115
|
-
let i =
|
|
15136
|
+
let i = Cn(e);
|
|
15116
15137
|
for (; Zs(n, t, i) > 10; )
|
|
15117
15138
|
i++;
|
|
15118
15139
|
for (; Zs(n, t, i) < 10; )
|
|
15119
15140
|
i--;
|
|
15120
|
-
return Math.min(i,
|
|
15141
|
+
return Math.min(i, Cn(n));
|
|
15121
15142
|
}
|
|
15122
15143
|
function lm(n, { min: t, max: e }) {
|
|
15123
15144
|
t = It(n.min, t);
|
|
15124
|
-
const i = [], o =
|
|
15145
|
+
const i = [], o = Cn(t);
|
|
15125
15146
|
let s = am(t, e), r = s < 0 ? Math.pow(10, Math.abs(s)) : 1;
|
|
15126
15147
|
const a = Math.pow(10, s), l = o > s ? Math.pow(10, o) : 0, c = Math.round((t - l) * r) / r, u = Math.floor((t - l) / a / 10) * a * 10;
|
|
15127
15148
|
let d = Math.floor((c - u) / Math.pow(10, s)), h = It(n.min, Math.round((l + u + d * Math.pow(10, s)) * r) / r);
|
|
@@ -15155,13 +15176,13 @@ class Qs extends He {
|
|
|
15155
15176
|
}
|
|
15156
15177
|
determineDataLimits() {
|
|
15157
15178
|
const { min: t, max: e } = this.getMinMax(!0);
|
|
15158
|
-
this.min = _t(t) ? Math.max(0, t) : null, this.max = _t(e) ? Math.max(0, e) : null, this.options.beginAtZero && (this._zero = !0), this._zero && this.min !== this._suggestedMin && !_t(this._userMin) && (this.min = t ===
|
|
15179
|
+
this.min = _t(t) ? Math.max(0, t) : null, this.max = _t(e) ? Math.max(0, e) : null, this.options.beginAtZero && (this._zero = !0), this._zero && this.min !== this._suggestedMin && !_t(this._userMin) && (this.min = t === be(this.min, 0) ? be(this.min, -1) : be(this.min, 0)), this.handleTickRangeOptions();
|
|
15159
15180
|
}
|
|
15160
15181
|
handleTickRangeOptions() {
|
|
15161
15182
|
const { minDefined: t, maxDefined: e } = this.getUserBounds();
|
|
15162
15183
|
let i = this.min, o = this.max;
|
|
15163
15184
|
const s = (a) => i = t ? i : a, r = (a) => o = e ? o : a;
|
|
15164
|
-
i === o && (i <= 0 ? (s(1), r(10)) : (s(
|
|
15185
|
+
i === o && (i <= 0 ? (s(1), r(10)) : (s(be(i, -1)), r(be(o, 1)))), i <= 0 && s(be(o, -1)), o <= 0 && r(be(i, 1)), this.min = i, this.max = o;
|
|
15165
15186
|
}
|
|
15166
15187
|
buildTicks() {
|
|
15167
15188
|
const t = this.options, e = {
|
|
@@ -15349,7 +15370,7 @@ function _m(n, t, e) {
|
|
|
15349
15370
|
type: "pointLabel"
|
|
15350
15371
|
});
|
|
15351
15372
|
}
|
|
15352
|
-
class
|
|
15373
|
+
class Vn extends ci {
|
|
15353
15374
|
constructor(t) {
|
|
15354
15375
|
super(t), this.xCenter = void 0, this.yCenter = void 0, this.drawingArea = void 0, this._pointLabels = [], this._pointLabelItems = [];
|
|
15355
15376
|
}
|
|
@@ -15477,7 +15498,7 @@ class Nn extends ci {
|
|
|
15477
15498
|
drawTitle() {
|
|
15478
15499
|
}
|
|
15479
15500
|
}
|
|
15480
|
-
W(
|
|
15501
|
+
W(Vn, "id", "radialLinear"), W(Vn, "defaults", {
|
|
15481
15502
|
display: !0,
|
|
15482
15503
|
animate: !0,
|
|
15483
15504
|
position: "chartArea",
|
|
@@ -15508,11 +15529,11 @@ W(Nn, "id", "radialLinear"), W(Nn, "defaults", {
|
|
|
15508
15529
|
padding: 5,
|
|
15509
15530
|
centerPointLabels: !1
|
|
15510
15531
|
}
|
|
15511
|
-
}), W(
|
|
15532
|
+
}), W(Vn, "defaultRoutes", {
|
|
15512
15533
|
"angleLines.color": "borderColor",
|
|
15513
15534
|
"pointLabels.color": "color",
|
|
15514
15535
|
"ticks.color": "color"
|
|
15515
|
-
}), W(
|
|
15536
|
+
}), W(Vn, "descriptors", {
|
|
15516
15537
|
angleLines: {
|
|
15517
15538
|
_fallback: "grid"
|
|
15518
15539
|
}
|
|
@@ -15675,7 +15696,7 @@ class ui extends He {
|
|
|
15675
15696
|
let e = 0, i = 0, o, s;
|
|
15676
15697
|
this.options.offset && t.length && (o = this.getDecimalForValue(t[0]), t.length === 1 ? e = 1 - o : e = (this.getDecimalForValue(t[1]) - o) / 2, s = this.getDecimalForValue(t[t.length - 1]), t.length === 1 ? i = s : i = (s - this.getDecimalForValue(t[t.length - 2])) / 2);
|
|
15677
15698
|
const r = t.length < 3 ? 0.5 : 0.25;
|
|
15678
|
-
e =
|
|
15699
|
+
e = Bt(e, 0, r), i = Bt(i, 0, r), this._offsets = {
|
|
15679
15700
|
start: e,
|
|
15680
15701
|
end: i,
|
|
15681
15702
|
factor: 1 / (e + 1 + i)
|
|
@@ -15783,7 +15804,7 @@ W(ui, "id", "time"), W(ui, "defaults", {
|
|
|
15783
15804
|
}
|
|
15784
15805
|
}
|
|
15785
15806
|
});
|
|
15786
|
-
function
|
|
15807
|
+
function Wn(n, t, e) {
|
|
15787
15808
|
let i = 0, o = n.length - 1, s, r, a, l;
|
|
15788
15809
|
e ? (t >= n[i].pos && t <= n[o].pos && ({ lo: i, hi: o } = Ji(n, "pos", t)), { pos: s, time: a } = n[i], { pos: r, time: l } = n[o]) : (t >= n[i].time && t <= n[o].time && ({ lo: i, hi: o } = Ji(n, "time", t)), { time: s, pos: a } = n[i], { time: r, pos: l } = n[o]);
|
|
15789
15810
|
const c = r - s;
|
|
@@ -15795,7 +15816,7 @@ class sr extends ui {
|
|
|
15795
15816
|
}
|
|
15796
15817
|
initOffsets() {
|
|
15797
15818
|
const t = this._getTimestampsForTable(), e = this._table = this.buildLookupTable(t);
|
|
15798
|
-
this._minPos =
|
|
15819
|
+
this._minPos = Wn(e, this.min), this._tableRange = Wn(e, this.max) - this._minPos, super.initOffsets(t);
|
|
15799
15820
|
}
|
|
15800
15821
|
buildLookupTable(t) {
|
|
15801
15822
|
const { min: e, max: i } = this, o = [], s = [];
|
|
@@ -15833,11 +15854,11 @@ class sr extends ui {
|
|
|
15833
15854
|
return e.length && i.length ? t = this.normalize(e.concat(i)) : t = e.length ? e : i, t = this._cache.all = t, t;
|
|
15834
15855
|
}
|
|
15835
15856
|
getDecimalForValue(t) {
|
|
15836
|
-
return (
|
|
15857
|
+
return (Wn(this._table, t) - this._minPos) / this._tableRange;
|
|
15837
15858
|
}
|
|
15838
15859
|
getValueForPixel(t) {
|
|
15839
15860
|
const e = this._offsets, i = this.getDecimalForPixel(t) / e.factor - e.end;
|
|
15840
|
-
return
|
|
15861
|
+
return Wn(this._table, i * this._tableRange + this._minPos, !0);
|
|
15841
15862
|
}
|
|
15842
15863
|
}
|
|
15843
15864
|
W(sr, "id", "timeseries"), W(sr, "defaults", ui.defaults);
|
|
@@ -15956,8 +15977,8 @@ const Im = tt({
|
|
|
15956
15977
|
y && y !== w && (Am(g, y), m = !0);
|
|
15957
15978
|
}
|
|
15958
15979
|
if (h) {
|
|
15959
|
-
const y = Me(h.labels), w = Me(p.labels), $ = Me(h.datasets),
|
|
15960
|
-
y !== w && (Ea(g.config.data, y), m = !0), $ && $ !==
|
|
15980
|
+
const y = Me(h.labels), w = Me(p.labels), $ = Me(h.datasets), M = Me(p.datasets);
|
|
15981
|
+
y !== w && (Ea(g.config.data, y), m = !0), $ && $ !== M && (Ba(g.config.data, $, n.datasetIdKey), m = !0);
|
|
15961
15982
|
}
|
|
15962
15983
|
m && ar(() => {
|
|
15963
15984
|
l(g);
|
|
@@ -16063,36 +16084,36 @@ const Lm = /* @__PURE__ */ Ra("doughnut", Pe), Om = /* @__PURE__ */ Ra("pie", eo
|
|
|
16063
16084
|
}), s = A(() => U(Br, e.pt ?? {})), r = J(0), a = J([]), l = J(-1), c = J(null), u = A(() => a.value.length > 0), d = A(
|
|
16064
16085
|
() => u.value ? a.value[a.value.length - 1] : null
|
|
16065
16086
|
), h = A(() => {
|
|
16066
|
-
var P, F,
|
|
16087
|
+
var P, F, B, z;
|
|
16067
16088
|
if (u.value && d.value) {
|
|
16068
16089
|
const N = d.value;
|
|
16069
16090
|
return N.variant === "Multi" && ((P = N.tabs) != null && P.length) ? ((F = N.tabs[r.value]) == null ? void 0 : F.chartData) ?? [] : N.chartData;
|
|
16070
16091
|
}
|
|
16071
|
-
return e.variant === "Multi" && ((
|
|
16092
|
+
return e.variant === "Multi" && ((B = e.tabs) != null && B.length) ? ((z = e.tabs[r.value]) == null ? void 0 : z.chartData) ?? [] : e.chartData ?? [];
|
|
16072
16093
|
}), f = A(() => {
|
|
16073
|
-
var P, F,
|
|
16094
|
+
var P, F, B, z;
|
|
16074
16095
|
if (u.value && d.value) {
|
|
16075
16096
|
const N = d.value;
|
|
16076
16097
|
return N.variant === "Multi" && ((P = N.tabs) != null && P.length) ? ((F = N.tabs[r.value]) == null ? void 0 : F.chartType) ?? N.chartType ?? "doughnut" : N.chartType ?? "doughnut";
|
|
16077
16098
|
}
|
|
16078
|
-
return e.variant === "Multi" && ((
|
|
16099
|
+
return e.variant === "Multi" && ((B = e.tabs) != null && B.length) ? ((z = e.tabs[r.value]) == null ? void 0 : z.chartType) ?? e.chartType ?? "doughnut" : e.chartType ?? "doughnut";
|
|
16079
16100
|
}), p = A(() => {
|
|
16080
16101
|
var P;
|
|
16081
16102
|
return u.value && ((P = d.value) == null ? void 0 : P.variant) === "Multi" ? d.value.tabs ?? [] : e.tabs ?? [];
|
|
16082
16103
|
}), g = A(() => {
|
|
16083
|
-
var P, F,
|
|
16104
|
+
var P, F, B, z;
|
|
16084
16105
|
if (u.value && d.value) {
|
|
16085
16106
|
const N = d.value;
|
|
16086
16107
|
return N.variant === "Multi" && ((P = N.tabs) != null && P.length) ? ((F = N.tabs[r.value]) == null ? void 0 : F.headline) ?? N.headline : N.headline;
|
|
16087
16108
|
}
|
|
16088
|
-
return e.variant === "Multi" && ((
|
|
16109
|
+
return e.variant === "Multi" && ((B = e.tabs) != null && B.length) ? ((z = e.tabs[r.value]) == null ? void 0 : z.headline) ?? e.chartHeadline ?? e.headline : e.variant === "Section" ? e.chartHeadline ?? e.headline : e.headline;
|
|
16089
16110
|
}), m = A(() => {
|
|
16090
|
-
var P, F,
|
|
16111
|
+
var P, F, B, z;
|
|
16091
16112
|
if (u.value && d.value) {
|
|
16092
16113
|
const N = d.value;
|
|
16093
16114
|
return N.variant === "Multi" && ((P = N.tabs) != null && P.length) ? ((F = N.tabs[r.value]) == null ? void 0 : F.subHeadline) ?? N.subHeadline : N.subHeadline;
|
|
16094
16115
|
}
|
|
16095
|
-
if (e.variant === "Multi" && ((
|
|
16116
|
+
if (e.variant === "Multi" && ((B = e.tabs) != null && B.length))
|
|
16096
16117
|
return ((z = e.tabs[r.value]) == null ? void 0 : z.subHeadline) ?? e.subHeadline;
|
|
16097
16118
|
if (e.variant !== "Section")
|
|
16098
16119
|
return e.subHeadline;
|
|
@@ -16112,7 +16133,7 @@ const Lm = /* @__PURE__ */ Ra("doughnut", Pe), Om = /* @__PURE__ */ Ra("pie", eo
|
|
|
16112
16133
|
hoverOffset: 15
|
|
16113
16134
|
}
|
|
16114
16135
|
]
|
|
16115
|
-
})),
|
|
16136
|
+
})), M = {
|
|
16116
16137
|
responsive: !0,
|
|
16117
16138
|
maintainAspectRatio: !0,
|
|
16118
16139
|
layout: {
|
|
@@ -16128,8 +16149,8 @@ const Lm = /* @__PURE__ */ Ra("doughnut", Pe), Om = /* @__PURE__ */ Ra("pie", eo
|
|
|
16128
16149
|
tooltip: {
|
|
16129
16150
|
callbacks: {
|
|
16130
16151
|
label: (P) => {
|
|
16131
|
-
const F = P.label ?? "",
|
|
16132
|
-
return `${F}: ${
|
|
16152
|
+
const F = P.label ?? "", B = P.parsed ?? 0;
|
|
16153
|
+
return `${F}: ${B}%`;
|
|
16133
16154
|
}
|
|
16134
16155
|
}
|
|
16135
16156
|
}
|
|
@@ -16152,11 +16173,11 @@ const Lm = /* @__PURE__ */ Ra("doughnut", Pe), Om = /* @__PURE__ */ Ra("pie", eo
|
|
|
16152
16173
|
var P, F;
|
|
16153
16174
|
return u.value && ((P = d.value) == null ? void 0 : P.variant) === "Multi" ? !0 : e.variant === "Multi" && (((F = e.tabs) == null ? void 0 : F.length) ?? 0) > 1;
|
|
16154
16175
|
}), C = A(() => e.variant === "Section");
|
|
16155
|
-
return (P, F) => (b(),
|
|
16176
|
+
return (P, F) => (b(), R(bt(P.isChild ? "div" : "section"), {
|
|
16156
16177
|
class: _(j.value)
|
|
16157
16178
|
}, {
|
|
16158
16179
|
default: dt(() => [
|
|
16159
|
-
|
|
16180
|
+
T("div", {
|
|
16160
16181
|
class: _(
|
|
16161
16182
|
v(V)(
|
|
16162
16183
|
"max-w-[1440px] mx-auto px-8 py-12 md:py-16",
|
|
@@ -16187,7 +16208,7 @@ const Lm = /* @__PURE__ */ Ra("doughnut", Pe), Om = /* @__PURE__ */ Ra("pie", eo
|
|
|
16187
16208
|
}, null, 10, Em)) : k("", !0)
|
|
16188
16209
|
], 64)) : k("", !0),
|
|
16189
16210
|
H.value && p.value.length > 1 ? (b(), x("div", Bm, [
|
|
16190
|
-
|
|
16211
|
+
T("div", {
|
|
16191
16212
|
class: _(
|
|
16192
16213
|
v(V)(
|
|
16193
16214
|
"inline-flex border border-soil rounded-full overflow-hidden",
|
|
@@ -16195,10 +16216,10 @@ const Lm = /* @__PURE__ */ Ra("doughnut", Pe), Om = /* @__PURE__ */ Ra("pie", eo
|
|
|
16195
16216
|
)
|
|
16196
16217
|
)
|
|
16197
16218
|
}, [
|
|
16198
|
-
(b(!0), x(X, null, et(p.value, (
|
|
16219
|
+
(b(!0), x(X, null, et(p.value, (B, z) => {
|
|
16199
16220
|
var N, st;
|
|
16200
16221
|
return b(), x("button", {
|
|
16201
|
-
key:
|
|
16222
|
+
key: B.label,
|
|
16202
16223
|
class: _(
|
|
16203
16224
|
v(V)(
|
|
16204
16225
|
"px-6 py-3 font-bold transition-colors text-sm md:text-base",
|
|
@@ -16210,11 +16231,11 @@ const Lm = /* @__PURE__ */ Ra("doughnut", Pe), Om = /* @__PURE__ */ Ra("pie", eo
|
|
|
16210
16231
|
)
|
|
16211
16232
|
),
|
|
16212
16233
|
onClick: (G) => E(z)
|
|
16213
|
-
}, K(
|
|
16234
|
+
}, K(B.label), 11, Rm);
|
|
16214
16235
|
}), 128))
|
|
16215
16236
|
], 2)
|
|
16216
16237
|
])) : k("", !0),
|
|
16217
|
-
|
|
16238
|
+
T("div", {
|
|
16218
16239
|
class: _(
|
|
16219
16240
|
v(V)(
|
|
16220
16241
|
"bg-white rounded-3xl overflow-visible",
|
|
@@ -16235,7 +16256,7 @@ const Lm = /* @__PURE__ */ Ra("doughnut", Pe), Om = /* @__PURE__ */ Ra("pie", eo
|
|
|
16235
16256
|
"aria-label": "Go back",
|
|
16236
16257
|
onClick: D
|
|
16237
16258
|
}, F[0] || (F[0] = [
|
|
16238
|
-
|
|
16259
|
+
T("svg", {
|
|
16239
16260
|
xmlns: "http://www.w3.org/2000/svg",
|
|
16240
16261
|
width: "28",
|
|
16241
16262
|
height: "28",
|
|
@@ -16246,16 +16267,16 @@ const Lm = /* @__PURE__ */ Ra("doughnut", Pe), Om = /* @__PURE__ */ Ra("pie", eo
|
|
|
16246
16267
|
"stroke-linecap": "round",
|
|
16247
16268
|
"stroke-linejoin": "round"
|
|
16248
16269
|
}, [
|
|
16249
|
-
|
|
16270
|
+
T("path", { d: "M15 18l-6-6 6-6" })
|
|
16250
16271
|
], -1)
|
|
16251
16272
|
]), 2)) : k("", !0),
|
|
16252
|
-
|
|
16273
|
+
T("h2", {
|
|
16253
16274
|
class: "text-iris text-3xl md:text-4xl font-bold leading-tight",
|
|
16254
16275
|
innerHTML: g.value
|
|
16255
16276
|
}, null, 8, Fm)
|
|
16256
16277
|
])) : k("", !0),
|
|
16257
|
-
|
|
16258
|
-
|
|
16278
|
+
T("div", Hm, [
|
|
16279
|
+
T("div", zm, [
|
|
16259
16280
|
m.value ? (b(), x("h3", {
|
|
16260
16281
|
key: 0,
|
|
16261
16282
|
class: _(
|
|
@@ -16276,54 +16297,54 @@ const Lm = /* @__PURE__ */ Ra("doughnut", Pe), Om = /* @__PURE__ */ Ra("pie", eo
|
|
|
16276
16297
|
),
|
|
16277
16298
|
innerHTML: y.value
|
|
16278
16299
|
}, null, 10, Vm)) : k("", !0),
|
|
16279
|
-
|
|
16300
|
+
T("div", {
|
|
16280
16301
|
class: _(v(V)("max-h-[300px] overflow-y-auto", s.value.legend ?? ""))
|
|
16281
16302
|
}, [
|
|
16282
|
-
(b(!0), x(X, null, et(h.value, (
|
|
16283
|
-
key:
|
|
16303
|
+
(b(!0), x(X, null, et(h.value, (B, z) => (b(), x("button", {
|
|
16304
|
+
key: B.label,
|
|
16284
16305
|
class: _(
|
|
16285
16306
|
v(V)(
|
|
16286
16307
|
"w-full flex items-center gap-3 border rounded-full py-3 px-5 my-2 text-left transition-all duration-200",
|
|
16287
16308
|
l.value === z ? "border-2 border-soil" : "border border-stone/30",
|
|
16288
|
-
|
|
16309
|
+
B.drillDown ? "cursor-pointer" : "cursor-default",
|
|
16289
16310
|
s.value.legendItem ?? ""
|
|
16290
16311
|
)
|
|
16291
16312
|
),
|
|
16292
|
-
disabled: !
|
|
16313
|
+
disabled: !B.drillDown,
|
|
16293
16314
|
onMouseenter: (N) => S(z),
|
|
16294
16315
|
onMouseleave: I,
|
|
16295
|
-
onClick: (N) => O(
|
|
16316
|
+
onClick: (N) => O(B)
|
|
16296
16317
|
}, [
|
|
16297
|
-
|
|
16318
|
+
T("span", {
|
|
16298
16319
|
class: _(
|
|
16299
16320
|
v(V)(
|
|
16300
16321
|
"w-4 h-4 rounded-full flex-shrink-0",
|
|
16301
16322
|
s.value.legendCircle ?? ""
|
|
16302
16323
|
)
|
|
16303
16324
|
),
|
|
16304
|
-
style: kt({ backgroundColor: w(
|
|
16325
|
+
style: kt({ backgroundColor: w(B.color) })
|
|
16305
16326
|
}, null, 6),
|
|
16306
|
-
|
|
16307
|
-
|
|
16308
|
-
|
|
16327
|
+
T("span", Um, K(B.label) + " - " + K(B.value) + "% ", 1),
|
|
16328
|
+
B.drillDown ? (b(), x("svg", Ym, F[1] || (F[1] = [
|
|
16329
|
+
T("path", { d: "M9 18l6-6-6-6" }, null, -1)
|
|
16309
16330
|
]))) : k("", !0)
|
|
16310
16331
|
], 42, Wm))), 128))
|
|
16311
16332
|
], 2)
|
|
16312
16333
|
]),
|
|
16313
|
-
|
|
16314
|
-
|
|
16315
|
-
f.value === "doughnut" ? (b(),
|
|
16334
|
+
T("div", Km, [
|
|
16335
|
+
T("div", qm, [
|
|
16336
|
+
f.value === "doughnut" ? (b(), R(v(Lm), {
|
|
16316
16337
|
key: 0,
|
|
16317
16338
|
ref_key: "chartRef",
|
|
16318
16339
|
ref: c,
|
|
16319
16340
|
data: $.value,
|
|
16320
|
-
options:
|
|
16321
|
-
}, null, 8, ["data"])) : (b(),
|
|
16341
|
+
options: M
|
|
16342
|
+
}, null, 8, ["data"])) : (b(), R(v(Om), {
|
|
16322
16343
|
key: 1,
|
|
16323
16344
|
ref_key: "chartRef",
|
|
16324
16345
|
ref: c,
|
|
16325
16346
|
data: $.value,
|
|
16326
|
-
options:
|
|
16347
|
+
options: M
|
|
16327
16348
|
}, null, 8, ["data", "options"]))
|
|
16328
16349
|
])
|
|
16329
16350
|
])
|
|
@@ -16341,7 +16362,7 @@ const Lm = /* @__PURE__ */ Ra("doughnut", Pe), Om = /* @__PURE__ */ Ra("pie", eo
|
|
|
16341
16362
|
}
|
|
16342
16363
|
}), Zm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
16343
16364
|
__proto__: null,
|
|
16344
|
-
Accordion:
|
|
16365
|
+
Accordion: bn,
|
|
16345
16366
|
AccordionItem: iu,
|
|
16346
16367
|
AccordionListItem: xu,
|
|
16347
16368
|
AccordionTileItem: Tu,
|
|
@@ -16381,7 +16402,7 @@ const Lm = /* @__PURE__ */ Ra("doughnut", Pe), Om = /* @__PURE__ */ Ra("pie", eo
|
|
|
16381
16402
|
i && e(i, t);
|
|
16382
16403
|
};
|
|
16383
16404
|
export {
|
|
16384
|
-
|
|
16405
|
+
bn as Accordion,
|
|
16385
16406
|
iu as AccordionItem,
|
|
16386
16407
|
hi as AccordionItemPt,
|
|
16387
16408
|
xu as AccordionListItem,
|
|
@@ -16390,7 +16411,7 @@ export {
|
|
|
16390
16411
|
Tu as AccordionTileItem,
|
|
16391
16412
|
vr as AccordionTileItemPt,
|
|
16392
16413
|
Kr as AnimationWrapper,
|
|
16393
|
-
|
|
16414
|
+
cn as COLOR_PALETTES,
|
|
16394
16415
|
jt as CTA,
|
|
16395
16416
|
hd as CTAOptions,
|
|
16396
16417
|
kr as CTAPt,
|