slippers-ui 3.1.17 → 3.1.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,142 +1,142 @@
1
- import { defineComponent as L, computed as $, openBlock as s, createElementBlock as r, mergeProps as H, renderSlot as b, normalizeClass as _, createElementVNode as v, createBlock as O, resolveDynamicComponent as j, normalizeStyle as Z, withCtx as N, createCommentVNode as M, ref as k, onMounted as P, onUnmounted as J, createVNode as y, unref as G, Fragment as T, renderList as z, withModifiers as q, toDisplayString as w, createTextVNode as B, resolveComponent as ne, withDirectives as F, vShow as D, normalizeProps as se, guardReactiveProps as le, onBeforeUnmount as K, onBeforeMount as Q, watch as U, vModelSelect as ie } from "vue";
2
- import { _ as S, C as X, a as Y, b as x, c as re } from "./chunks/ChevronLgUp-EczI5oF8.js";
3
- const de = ["href"], ce = /* @__PURE__ */ L({
1
+ import { defineComponent as I, computed as k, openBlock as s, createElementBlock as r, mergeProps as j, renderSlot as b, normalizeClass as g, createElementVNode as v, createBlock as R, resolveDynamicComponent as K, normalizeStyle as Q, withCtx as N, createCommentVNode as B, ref as w, onMounted as D, nextTick as se, onUnmounted as X, createVNode as $, unref as G, Fragment as T, renderList as z, withModifiers as Z, toDisplayString as S, createTextVNode as V, resolveComponent as le, withDirectives as P, vShow as H, normalizeProps as ie, guardReactiveProps as re, onBeforeUnmount as Y, onBeforeMount as x, watch as J, vModelSelect as de } from "vue";
2
+ import { _ as C, C as ee, a as te, b as ae, c as ce } from "./chunks/ChevronLgUp-EczI5oF8.js";
3
+ const ue = ["href"], pe = /* @__PURE__ */ I({
4
4
  __name: "SlpButton",
5
5
  props: {
6
6
  disabled: { type: Boolean },
7
7
  variant: {},
8
8
  href: {}
9
9
  },
10
- setup(p) {
11
- const e = p, o = $(() => e.disabled ?? !1), i = $(() => e.variant ?? "primary");
12
- $(() => e.href ?? "");
13
- const a = $(() => {
14
- let n = [`slp-btn-${i.value}`];
10
+ setup(u) {
11
+ const e = u, o = k(() => e.disabled ?? !1), l = k(() => e.variant ?? "primary");
12
+ k(() => e.href ?? "");
13
+ const a = k(() => {
14
+ let n = [`slp-btn-${l.value}`];
15
15
  return o.value && n.push("slp-btn-disabled"), n.join(" ");
16
16
  });
17
- return (n, d) => e.href ? (s(), r("a", H({ key: 0 }, n.$attrs, {
17
+ return (n, d) => e.href ? (s(), r("a", j({ key: 0 }, n.$attrs, {
18
18
  class: ["slp-btn", a.value],
19
19
  href: e.href
20
20
  }), [
21
21
  b(n.$slots, "default", {}, void 0, !0)
22
- ], 16, de)) : (s(), r("button", H({ key: 1 }, n.$attrs, {
22
+ ], 16, ue)) : (s(), r("button", j({ key: 1 }, n.$attrs, {
23
23
  class: ["slp-btn", a.value],
24
24
  type: "button"
25
25
  }), [
26
26
  b(n.$slots, "default", {}, void 0, !0)
27
27
  ], 16));
28
28
  }
29
- }), W = /* @__PURE__ */ S(ce, [["__scopeId", "data-v-56e2df5f"]]), ue = /* @__PURE__ */ L({
29
+ }), U = /* @__PURE__ */ C(pe, [["__scopeId", "data-v-56e2df5f"]]), fe = /* @__PURE__ */ I({
30
30
  __name: "SlpColumn",
31
31
  props: {
32
32
  cols: {},
33
33
  size: {}
34
34
  },
35
- setup(p) {
36
- const e = p, o = $(() => e.cols ?? null), i = $(() => e.size ?? "md"), a = $(() => o.value ? `slp-col-${i.value}-${o.value}` : `slp-col-${i.value}`);
35
+ setup(u) {
36
+ const e = u, o = k(() => e.cols ?? null), l = k(() => e.size ?? "md"), a = k(() => o.value ? `slp-col-${l.value}-${o.value}` : `slp-col-${l.value}`);
37
37
  return (n, d) => (s(), r("div", {
38
- class: _(a.value)
38
+ class: g(a.value)
39
39
  }, [
40
40
  b(n.$slots, "default", {}, void 0, !0)
41
41
  ], 2));
42
42
  }
43
- }), It = /* @__PURE__ */ S(ue, [["__scopeId", "data-v-00b68f22"]]), pe = {
43
+ }), Tt = /* @__PURE__ */ C(fe, [["__scopeId", "data-v-00b68f22"]]), ve = {
44
44
  key: 0,
45
45
  class: "slp-full-light-purple-background"
46
- }, fe = {
46
+ }, he = {
47
47
  key: 1,
48
48
  class: "slp-charcoal-grey-background"
49
- }, ve = {
49
+ }, me = {
50
50
  key: 2,
51
51
  class: "slp-gradient-background"
52
- }, he = {
52
+ }, ge = {
53
53
  key: 3,
54
54
  class: "slp-full-gradient-background"
55
- }, me = {
55
+ }, _e = {
56
56
  key: 4,
57
57
  class: "slp-full-charcoal-background"
58
- }, ge = {
58
+ }, be = {
59
59
  key: 5,
60
60
  class: "slp-partial-charcoal-background"
61
- }, _e = {
61
+ }, ye = {
62
62
  key: 6,
63
63
  class: "slp-half-grey-background"
64
- }, be = {
64
+ }, $e = {
65
65
  key: 7,
66
66
  class: "slp-partial-white-background"
67
- }, ye = {
67
+ }, ke = {
68
68
  key: 8,
69
69
  class: "slp-partial-grey-background"
70
- }, $e = /* @__PURE__ */ L({
70
+ }, we = /* @__PURE__ */ I({
71
71
  __name: "SlpContainer",
72
72
  props: {
73
73
  fluid: { type: Boolean },
74
74
  variant: {}
75
75
  },
76
- setup(p) {
77
- const e = p, o = $(() => e.fluid ?? !1), i = $(() => e.variant ?? "white"), a = $(() => o.value ? "fluid" : "");
78
- return (n, d) => i.value === "light-purple-100" ? (s(), r("div", pe, [
76
+ setup(u) {
77
+ const e = u, o = k(() => e.fluid ?? !1), l = k(() => e.variant ?? "white"), a = k(() => o.value ? "fluid" : "");
78
+ return (n, d) => l.value === "light-purple-100" ? (s(), r("div", ve, [
79
79
  v("div", {
80
- class: _(["slp-container", a.value])
80
+ class: g(["slp-container", a.value])
81
81
  }, [
82
82
  b(n.$slots, "default", {}, void 0, !0)
83
83
  ], 2)
84
- ])) : i.value === "grey-100" ? (s(), r("div", fe, [
84
+ ])) : l.value === "grey-100" ? (s(), r("div", he, [
85
85
  v("div", {
86
- class: _(["slp-container", a.value])
86
+ class: g(["slp-container", a.value])
87
87
  }, [
88
88
  b(n.$slots, "default", {}, void 0, !0)
89
89
  ], 2)
90
- ])) : i.value === "gradient" ? (s(), r("div", ve, [
90
+ ])) : l.value === "gradient" ? (s(), r("div", me, [
91
91
  v("div", {
92
- class: _(["slp-container", a.value])
92
+ class: g(["slp-container", a.value])
93
93
  }, [
94
94
  b(n.$slots, "default", {}, void 0, !0)
95
95
  ], 2)
96
- ])) : i.value === "gradient-full" ? (s(), r("div", he, [
96
+ ])) : l.value === "gradient-full" ? (s(), r("div", ge, [
97
97
  v("div", {
98
- class: _(["slp-container", a.value])
98
+ class: g(["slp-container", a.value])
99
99
  }, [
100
100
  b(n.$slots, "default", {}, void 0, !0)
101
101
  ], 2)
102
- ])) : i.value === "charcoal-100" ? (s(), r("div", me, [
102
+ ])) : l.value === "charcoal-100" ? (s(), r("div", _e, [
103
103
  v("div", {
104
- class: _(["slp-container", a.value])
104
+ class: g(["slp-container", a.value])
105
105
  }, [
106
106
  b(n.$slots, "default", {}, void 0, !0)
107
107
  ], 2)
108
- ])) : i.value === "charcoal-75" ? (s(), r("div", ge, [
108
+ ])) : l.value === "charcoal-75" ? (s(), r("div", be, [
109
109
  v("div", {
110
- class: _(["slp-container", a.value])
110
+ class: g(["slp-container", a.value])
111
111
  }, [
112
112
  b(n.$slots, "default", {}, void 0, !0)
113
113
  ], 2)
114
- ])) : i.value === "grey-50" ? (s(), r("div", _e, [
114
+ ])) : l.value === "grey-50" ? (s(), r("div", ye, [
115
115
  v("div", {
116
- class: _(["slp-container", a.value])
116
+ class: g(["slp-container", a.value])
117
117
  }, [
118
118
  b(n.$slots, "default", {}, void 0, !0)
119
119
  ], 2)
120
- ])) : i.value === "white-75" ? (s(), r("div", be, [
120
+ ])) : l.value === "white-75" ? (s(), r("div", $e, [
121
121
  v("div", {
122
- class: _(["slp-container", a.value])
122
+ class: g(["slp-container", a.value])
123
123
  }, [
124
124
  b(n.$slots, "default", {}, void 0, !0)
125
125
  ], 2)
126
- ])) : i.value === "grey-75" ? (s(), r("div", ye, [
126
+ ])) : l.value === "grey-75" ? (s(), r("div", ke, [
127
127
  v("div", {
128
- class: _(["slp-container", a.value])
128
+ class: g(["slp-container", a.value])
129
129
  }, [
130
130
  b(n.$slots, "default", {}, void 0, !0)
131
131
  ], 2)
132
132
  ])) : (s(), r("div", {
133
133
  key: 9,
134
- class: _(["slp-container", a.value])
134
+ class: g(["slp-container", a.value])
135
135
  }, [
136
136
  b(n.$slots, "default", {}, void 0, !0)
137
137
  ], 2));
138
138
  }
139
- }), ee = /* @__PURE__ */ S($e, [["__scopeId", "data-v-67a0761e"]]), ke = /* @__PURE__ */ L({
139
+ }), oe = /* @__PURE__ */ C(we, [["__scopeId", "data-v-67a0761e"]]), Se = /* @__PURE__ */ I({
140
140
  __name: "SlpIcon",
141
141
  props: {
142
142
  size: {
@@ -155,11 +155,11 @@ const de = ["href"], ce = /* @__PURE__ */ L({
155
155
  required: !0
156
156
  }
157
157
  },
158
- setup(p) {
159
- const e = p, o = $(() => {
158
+ setup(u) {
159
+ const e = u, o = k(() => {
160
160
  const a = ["slp-icon"];
161
161
  return typeof e.size == "string" && isNaN(Number(e.size)) && a.push(`slp-icon--size-${e.size}`), e.color && !e.color.startsWith("#") && a.push(`slp-icon--color-${e.color}`), a;
162
- }), i = $(() => {
162
+ }), l = k(() => {
163
163
  var n;
164
164
  const a = {};
165
165
  if ((n = e.color) != null && n.startsWith("#") && (a.color = e.color, a.fill = e.color), typeof e.size == "number" || !isNaN(Number(e.size))) {
@@ -169,32 +169,32 @@ const de = ["href"], ce = /* @__PURE__ */ L({
169
169
  return a;
170
170
  });
171
171
  return (a, n) => {
172
- var d, l;
173
- return s(), O(j(p.icon), {
174
- class: _(["slp-icon", o.value]),
175
- style: Z(i.value),
172
+ var d, i;
173
+ return s(), R(K(u.icon), {
174
+ class: g(["slp-icon", o.value]),
175
+ style: Q(l.value),
176
176
  role: "img",
177
177
  "aria-hidden": "true",
178
- "data-icon-name": ((l = (d = p.icon) == null ? void 0 : d.__docgenInfo) == null ? void 0 : l.displayName) || ""
178
+ "data-icon-name": ((i = (d = u.icon) == null ? void 0 : d.__docgenInfo) == null ? void 0 : i.displayName) || ""
179
179
  }, null, 8, ["class", "style", "data-icon-name"]);
180
180
  };
181
181
  }
182
- }), R = /* @__PURE__ */ S(ke, [["__scopeId", "data-v-b82aeda9"]]), we = {}, Se = { class: "slp-row" };
183
- function Ce(p, e) {
184
- return s(), r("div", Se, [
185
- b(p.$slots, "default", {}, void 0, !0)
182
+ }), A = /* @__PURE__ */ C(Se, [["__scopeId", "data-v-b82aeda9"]]), Ce = {}, Le = { class: "slp-row" };
183
+ function Ie(u, e) {
184
+ return s(), r("div", Le, [
185
+ b(u.$slots, "default", {}, void 0, !0)
186
186
  ]);
187
187
  }
188
- const Nt = /* @__PURE__ */ S(we, [["render", Ce], ["__scopeId", "data-v-adc8d02f"]]), Le = {
188
+ const zt = /* @__PURE__ */ C(Ce, [["render", Ie], ["__scopeId", "data-v-adc8d02f"]]), Ne = {
189
189
  key: 0,
190
190
  class: "arrow-symbol"
191
- }, Ie = /* @__PURE__ */ L({
191
+ }, Te = /* @__PURE__ */ I({
192
192
  __name: "SlpTypography",
193
193
  props: {
194
194
  variant: {},
195
195
  tag: {}
196
196
  },
197
- setup(p) {
197
+ setup(u) {
198
198
  const e = [
199
199
  "display1",
200
200
  "heading1",
@@ -217,21 +217,21 @@ const Nt = /* @__PURE__ */ S(we, [["render", Ce], ["__scopeId", "data-v-adc8d02f
217
217
  "arrow",
218
218
  "quotes",
219
219
  "emphasis"
220
- ], o = ["span", "h1", "h2", "h3", "h4", "p", "div"], i = p, a = $(() => e.includes(i.variant || "") ? i.variant : "body1"), n = $(() => o.includes(i.tag || "") ? i.tag : "span"), d = $(() => `slp-text-${a.value}`);
221
- return (l, c) => (s(), O(j(n.value), {
222
- class: _(d.value)
220
+ ], o = ["span", "h1", "h2", "h3", "h4", "h5", "p", "div"], l = u, a = k(() => e.includes(l.variant || "") ? l.variant : "body1"), n = k(() => o.includes(l.tag || "") ? l.tag : "span"), d = k(() => `slp-text-${a.value}`);
221
+ return (i, c) => (s(), R(K(n.value), {
222
+ class: g(d.value)
223
223
  }, {
224
224
  default: N(() => [
225
- b(l.$slots, "default", {}, void 0, !0),
226
- a.value === "arrow" ? (s(), r("span", Le, "→")) : M("", !0)
225
+ b(i.$slots, "default", {}, void 0, !0),
226
+ a.value === "arrow" ? (s(), r("span", Ne, "→")) : B("", !0)
227
227
  ]),
228
228
  _: 3
229
229
  }, 8, ["class"]));
230
230
  }
231
- }), A = /* @__PURE__ */ S(Ie, [["__scopeId", "data-v-fba90f83"]]), Ne = {
231
+ }), F = /* @__PURE__ */ C(Te, [["__scopeId", "data-v-f601c702"]]), ze = {
232
232
  key: 0,
233
233
  class: "dropdown-menu"
234
- }, Te = ["onClick"], ze = { class: "side-navigation" }, Me = ["data-ga-name", "onClick"], Ee = /* @__PURE__ */ L({
234
+ }, Ee = ["onClick"], Me = { class: "side-navigation" }, Be = ["data-ga-name", "onClick"], Ge = /* @__PURE__ */ I({
235
235
  __name: "SlpSideNavigation",
236
236
  props: {
237
237
  position: {
@@ -247,38 +247,41 @@ const Nt = /* @__PURE__ */ S(we, [["render", Ce], ["__scopeId", "data-v-adc8d02f
247
247
  required: !0
248
248
  }
249
249
  },
250
- setup(p) {
251
- const e = p, o = k(null), i = (f) => {
252
- o.value && !o.value.contains(f.target) && (l.value = !1);
253
- }, a = k(null), n = k(null);
250
+ setup(u) {
251
+ const e = u, o = w(null), l = (p) => {
252
+ o.value && !o.value.contains(p.target) && (i.value = !1);
253
+ }, a = w(null), n = w(null);
254
254
  let d = null;
255
- const l = k(!1), c = (f) => {
256
- const g = document.getElementById(f);
257
- g && g.scrollIntoView({ behavior: "smooth" }), l.value = !1;
255
+ const i = w(!1), c = (p) => {
256
+ const h = document.getElementById(p);
257
+ h && h.scrollIntoView({ behavior: "smooth" }), i.value = !1;
258
258
  }, t = () => {
259
259
  if (!n.value) return;
260
- const f = e.navigationItems.map((h) => document.getElementById(h.id)).filter((h) => h !== null), g = (window.innerHeight - 140 - 1) * -1;
260
+ const p = e.navigationItems.map((h) => document.getElementById(h.id)).filter((h) => h !== null);
261
261
  d = new IntersectionObserver(
262
262
  (h) => {
263
- h.forEach((u) => {
264
- if (u.isIntersecting) {
265
- const m = u.target.getAttribute("id");
266
- m && (a.value = m);
263
+ h.forEach((m) => {
264
+ if (m.isIntersecting) {
265
+ const f = m.target.getAttribute("id");
266
+ f && (a.value = f);
267
267
  }
268
268
  });
269
269
  },
270
270
  {
271
- rootMargin: `-120px 0px ${g}px 0px`,
272
- threshold: Array.from({ length: 99 }, (h, u) => (u + 2) / 100)
271
+ rootMargin: "0px 0px -40% 0px",
272
+ // When the 40% of the content is in the viewport the menu will be highlighted
273
+ threshold: Array.from({ length: 99 }, (h, m) => (m + 2) / 100)
273
274
  }
274
- ), f.forEach((h) => d == null ? void 0 : d.observe(h));
275
+ ), p.forEach((h) => d == null ? void 0 : d.observe(h));
275
276
  };
276
- return P(() => {
277
- t(), document.addEventListener("click", i);
278
- }), J(() => {
279
- d && d.disconnect(), document.removeEventListener("click", i);
280
- }), (f, g) => (s(), r("div", {
281
- class: _([
277
+ return D(() => {
278
+ document.addEventListener("click", l), se(() => {
279
+ t();
280
+ });
281
+ }), X(() => {
282
+ d && d.disconnect(), document.removeEventListener("click", l);
283
+ }), (p, h) => (s(), r("div", {
284
+ class: g([
282
285
  "side-navigation-layout",
283
286
  `side-navigation-layout--${e.position}`,
284
287
  { "side-navigation--dark": e.darkMode }
@@ -291,41 +294,41 @@ const Nt = /* @__PURE__ */ S(we, [["render", Ce], ["__scopeId", "data-v-adc8d02f
291
294
  }, [
292
295
  v("button", {
293
296
  class: "dropdown-toggle",
294
- onClick: g[0] || (g[0] = (h) => l.value = !l.value)
297
+ onClick: h[0] || (h[0] = (m) => i.value = !i.value)
295
298
  }, [
296
- g[1] || (g[1] = v("span", null, "Jump to a section", -1)),
297
- y(R, {
298
- icon: l.value ? G(X) : G(Y),
299
+ h[1] || (h[1] = v("span", null, "Jump to a section", -1)),
300
+ $(A, {
301
+ icon: i.value ? G(ee) : G(te),
299
302
  color: "black",
300
303
  size: "sm"
301
304
  }, null, 8, ["icon"])
302
305
  ]),
303
- l.value ? (s(), r("ul", Ne, [
304
- (s(!0), r(T, null, z(e.navigationItems, (h) => (s(), r("li", {
305
- key: h.id,
306
+ i.value ? (s(), r("ul", ze, [
307
+ (s(!0), r(T, null, z(e.navigationItems, (m) => (s(), r("li", {
308
+ key: m.id,
306
309
  class: "dropdown-item"
307
310
  }, [
308
311
  v("a", {
309
312
  href: "#",
310
313
  class: "dropdown-link",
311
- onClick: q((u) => c(h.id), ["prevent"])
312
- }, w(h.text), 9, Te)
314
+ onClick: Z((f) => c(m.id), ["prevent"])
315
+ }, S(m.text), 9, Ee)
313
316
  ]))), 128))
314
- ])) : M("", !0)
317
+ ])) : B("", !0)
315
318
  ], 512),
316
- v("nav", ze, [
319
+ v("nav", Me, [
317
320
  v("ul", null, [
318
- (s(!0), r(T, null, z(e.navigationItems, (h) => (s(), r("li", {
319
- key: h.id,
321
+ (s(!0), r(T, null, z(e.navigationItems, (m) => (s(), r("li", {
322
+ key: m.id,
320
323
  class: "side-navigation__item"
321
324
  }, [
322
325
  v("a", {
323
326
  href: "#",
324
- class: _(["side-navigation__link", { "side-navigation__link--active": a.value === h.id }]),
325
- "data-ga-name": h.text,
327
+ class: g(["side-navigation__link", { "side-navigation__link--active": a.value === m.id }]),
328
+ "data-ga-name": m.text,
326
329
  "data-ga-location": "side anchor",
327
- onClick: q((u) => c(h.id), ["prevent"])
328
- }, w(h.text), 11, Me)
330
+ onClick: Z((f) => c(m.id), ["prevent"])
331
+ }, S(m.text), 11, Be)
329
332
  ]))), 128))
330
333
  ])
331
334
  ]),
@@ -334,11 +337,11 @@ const Nt = /* @__PURE__ */ S(we, [["render", Ce], ["__scopeId", "data-v-adc8d02f
334
337
  ref: n,
335
338
  class: "side-navigation-content"
336
339
  }, [
337
- b(f.$slots, "default", {}, void 0, !0)
340
+ b(p.$slots, "default", {}, void 0, !0)
338
341
  ], 512)
339
342
  ], 2));
340
343
  }
341
- }), Tt = /* @__PURE__ */ S(Ee, [["__scopeId", "data-v-76494345"]]), Ge = ["for"], Be = ["name", "value", "id", "checked", "disabled"], Ve = /* @__PURE__ */ L({
344
+ }), Et = /* @__PURE__ */ C(Ge, [["__scopeId", "data-v-68f8d83f"]]), Ve = ["for"], Oe = ["name", "value", "id", "checked", "disabled"], Re = /* @__PURE__ */ I({
342
345
  __name: "SlpRadioButton",
343
346
  props: {
344
347
  option: {},
@@ -346,32 +349,32 @@ const Nt = /* @__PURE__ */ S(we, [["render", Ce], ["__scopeId", "data-v-adc8d02f
346
349
  config: {}
347
350
  },
348
351
  emits: ["update:modelValue"],
349
- setup(p, { emit: e }) {
350
- const o = e, i = (a) => {
352
+ setup(u, { emit: e }) {
353
+ const o = e, l = (a) => {
351
354
  const n = a.target;
352
355
  o("update:modelValue", n.value);
353
356
  };
354
357
  return (a, n) => {
355
- var d, l, c;
358
+ var d, i, c;
356
359
  return s(), r("label", {
357
360
  for: a.option,
358
- class: _(["slp-radio", { disabled: (d = a.config) == null ? void 0 : d.disabled }])
361
+ class: g(["slp-radio", { disabled: (d = a.config) == null ? void 0 : d.disabled }])
359
362
  }, [
360
- B(w(a.option) + " ", 1),
363
+ V(S(a.option) + " ", 1),
361
364
  v("input", {
362
365
  type: "radio",
363
366
  name: a.name,
364
367
  value: a.option,
365
368
  id: a.option,
366
- onInput: i,
367
- checked: (l = a.config) == null ? void 0 : l.checked,
369
+ onInput: l,
370
+ checked: (i = a.config) == null ? void 0 : i.checked,
368
371
  disabled: (c = a.config) == null ? void 0 : c.disabled
369
- }, null, 40, Be),
372
+ }, null, 40, Oe),
370
373
  n[0] || (n[0] = v("span", { class: "slp-radio__checkmark" }, null, -1))
371
- ], 10, Ge);
374
+ ], 10, Ve);
372
375
  };
373
376
  }
374
- }), Oe = /* @__PURE__ */ S(Ve, [["__scopeId", "data-v-f37e970e"]]), Re = /* @__PURE__ */ L({
377
+ }), Ae = /* @__PURE__ */ C(Re, [["__scopeId", "data-v-f37e970e"]]), Fe = /* @__PURE__ */ I({
375
378
  __name: "SlpRadioButtonGroup",
376
379
  props: {
377
380
  options: {},
@@ -382,23 +385,23 @@ const Nt = /* @__PURE__ */ S(we, [["render", Ce], ["__scopeId", "data-v-adc8d02f
382
385
  } }
383
386
  },
384
387
  emits: ["update:modelValue"],
385
- setup(p, { emit: e }) {
388
+ setup(u, { emit: e }) {
386
389
  const o = {
387
390
  VERTICAL: "vertical",
388
391
  HORIZONTAL: "horizontal"
389
- }, i = e, a = (n) => {
390
- i("update:modelValue", n);
392
+ }, l = e, a = (n) => {
393
+ l("update:modelValue", n);
391
394
  };
392
395
  return (n, d) => {
393
- var l, c;
394
- return s(), O(ee, {
395
- class: _(["slp-radio-group", {
396
- "slp-radio-group--vertical": ((l = n.config) == null ? void 0 : l.orientation) === o.VERTICAL,
396
+ var i, c;
397
+ return s(), R(oe, {
398
+ class: g(["slp-radio-group", {
399
+ "slp-radio-group--vertical": ((i = n.config) == null ? void 0 : i.orientation) === o.VERTICAL,
397
400
  "slp-radio-group--horizontal": ((c = n.config) == null ? void 0 : c.orientation) === o.HORIZONTAL
398
401
  }])
399
402
  }, {
400
403
  default: N(() => [
401
- (s(!0), r(T, null, z(n.options, (t) => (s(), O(Oe, {
404
+ (s(!0), r(T, null, z(n.options, (t) => (s(), R(Ae, {
402
405
  key: t.value,
403
406
  option: t.value,
404
407
  name: n.name,
@@ -413,26 +416,26 @@ const Nt = /* @__PURE__ */ S(we, [["render", Ce], ["__scopeId", "data-v-adc8d02f
413
416
  }, 8, ["class"]);
414
417
  };
415
418
  }
416
- }), zt = /* @__PURE__ */ S(Re, [["__scopeId", "data-v-ae31ec89"]]), Ae = {
419
+ }), Mt = /* @__PURE__ */ C(Fe, [["__scopeId", "data-v-ae31ec89"]]), Pe = {
417
420
  key: 0,
418
421
  class: "slp-loading-round"
419
- }, Fe = {
422
+ }, De = {
420
423
  key: 1,
421
424
  class: "slp-loading-linear"
422
- }, Pe = /* @__PURE__ */ L({
425
+ }, We = /* @__PURE__ */ I({
423
426
  name: "SlpLoader",
424
427
  __name: "SlpLoader",
425
428
  props: {
426
429
  config: {}
427
430
  },
428
- setup(p) {
429
- const e = p;
430
- return (o, i) => {
431
+ setup(u) {
432
+ const e = u;
433
+ return (o, l) => {
431
434
  var a;
432
- return ((a = e.config) == null ? void 0 : a.variant) === "round" ? (s(), r("div", Ae)) : (s(), r("div", Fe));
435
+ return ((a = e.config) == null ? void 0 : a.variant) === "round" ? (s(), r("div", Pe)) : (s(), r("div", De));
433
436
  };
434
437
  }
435
- }), Mt = /* @__PURE__ */ S(Pe, [["__scopeId", "data-v-ee32411b"]]), De = ["href", "data-ga-name", "data-ga-location"], We = /* @__PURE__ */ L({
438
+ }), Bt = /* @__PURE__ */ C(We, [["__scopeId", "data-v-ee32411b"]]), qe = ["href", "data-ga-name", "data-ga-location"], He = /* @__PURE__ */ I({
436
439
  __name: "Tree",
437
440
  props: {
438
441
  text: { default: "" },
@@ -446,90 +449,90 @@ const Nt = /* @__PURE__ */ S(we, [["render", Ce], ["__scopeId", "data-v-adc8d02f
446
449
  mobile: !1
447
450
  }) }
448
451
  },
449
- setup(p) {
452
+ setup(u) {
450
453
  return (e, o) => {
451
- var a, n, d, l, c, t;
452
- const i = ne("Tree", !0);
454
+ var a, n, d, i, c, t;
455
+ const l = le("Tree", !0);
453
456
  return s(), r("div", {
454
- class: _([`depth-${(a = e.config) == null ? void 0 : a.depth}`, { mobile: (n = e.config) == null ? void 0 : n.mobile }])
457
+ class: g([`depth-${(a = e.config) == null ? void 0 : a.depth}`, { mobile: (n = e.config) == null ? void 0 : n.mobile }])
455
458
  }, [
456
459
  e.text ? (s(), r("a", {
457
460
  key: 0,
458
- class: _(["anchor", { selected: (d = e.config) == null ? void 0 : d.isSelected }]),
459
- href: (l = e.config) == null ? void 0 : l.href,
461
+ class: g(["anchor", { selected: (d = e.config) == null ? void 0 : d.isSelected }]),
462
+ href: (i = e.config) == null ? void 0 : i.href,
460
463
  "data-ga-name": (c = e.config) == null ? void 0 : c.dataGaName,
461
464
  "data-ga-location": (t = e.config) == null ? void 0 : t.dataGaLocation
462
- }, w(e.text), 11, De)) : M("", !0),
463
- (s(!0), r(T, null, z(e.nodes, (f) => {
464
- var g, h, u, m, I, C;
465
- return s(), O(i, {
466
- key: f.text,
467
- nodes: f.nodes,
468
- text: f.text,
465
+ }, S(e.text), 11, qe)) : B("", !0),
466
+ (s(!0), r(T, null, z(e.nodes, (p) => {
467
+ var h, m, f, _, L, y;
468
+ return s(), R(l, {
469
+ key: p.text,
470
+ nodes: p.nodes,
471
+ text: p.text,
469
472
  config: {
470
- href: ((g = f.config) == null ? void 0 : g.href) ?? "",
471
- dataGaName: (h = f.config) == null ? void 0 : h.dataGaName,
472
- dataGaLocation: (u = f.config) == null ? void 0 : u.dataGaLocation,
473
- depth: (((m = e.config) == null ? void 0 : m.depth) ?? 0) + 1,
474
- isSelected: (I = f.config) == null ? void 0 : I.isSelected,
475
- mobile: (C = e.config) == null ? void 0 : C.mobile
473
+ href: ((h = p.config) == null ? void 0 : h.href) ?? "",
474
+ dataGaName: (m = p.config) == null ? void 0 : m.dataGaName,
475
+ dataGaLocation: (f = p.config) == null ? void 0 : f.dataGaLocation,
476
+ depth: (((_ = e.config) == null ? void 0 : _.depth) ?? 0) + 1,
477
+ isSelected: (L = p.config) == null ? void 0 : L.isSelected,
478
+ mobile: (y = e.config) == null ? void 0 : y.mobile
476
479
  }
477
480
  }, null, 8, ["nodes", "text", "config"]);
478
481
  }), 128))
479
482
  ], 2);
480
483
  };
481
484
  }
482
- }), te = /* @__PURE__ */ S(We, [["__scopeId", "data-v-c3be63ed"]]), He = { class: "dropdown__list" }, qe = { class: "horizontal-rule slp-my-16" }, Ue = /* @__PURE__ */ L({
485
+ }), ne = /* @__PURE__ */ C(He, [["__scopeId", "data-v-c3be63ed"]]), Ue = { class: "dropdown__list" }, je = { class: "horizontal-rule slp-my-16" }, Ze = /* @__PURE__ */ I({
483
486
  __name: "SlpAnchorDropdown",
484
487
  props: {
485
488
  dropdownLabel: { default: "Jump to a section" },
486
489
  anchors: {},
487
490
  hyperlinks: {}
488
491
  },
489
- setup(p) {
490
- const e = k(!1), o = () => {
492
+ setup(u) {
493
+ const e = w(!1), o = () => {
491
494
  e.value = !e.value;
492
495
  };
493
- return (i, a) => {
494
- var n, d, l;
496
+ return (l, a) => {
497
+ var n, d, i;
495
498
  return s(), r("div", {
496
- class: _(["dropdown", { hide: !e.value }])
499
+ class: g(["dropdown", { hide: !e.value }])
497
500
  }, [
498
- y(W, {
501
+ $(U, {
499
502
  class: "dropdown__button",
500
503
  variant: "ghost",
501
504
  onClick: o
502
505
  }, {
503
506
  default: N(() => [
504
- v("span", null, w(i.dropdownLabel), 1),
505
- y(R, {
506
- icon: e.value ? G(X) : G(Y)
507
+ v("span", null, S(l.dropdownLabel), 1),
508
+ $(A, {
509
+ icon: e.value ? G(ee) : G(te)
507
510
  }, null, 8, ["icon"])
508
511
  ]),
509
512
  _: 1
510
513
  }),
511
- v("div", He, [
512
- F(y(A, {
514
+ v("div", Ue, [
515
+ P($(F, {
513
516
  tag: "div",
514
517
  variant: "body3-bold",
515
518
  class: "nav-heading"
516
519
  }, {
517
520
  default: N(() => [
518
- B(w(i.anchors.text), 1)
521
+ V(S(l.anchors.text), 1)
519
522
  ]),
520
523
  _: 1
521
524
  }, 512), [
522
- [D, i.anchors.text]
525
+ [H, l.anchors.text]
523
526
  ]),
524
- y(te, {
527
+ $(ne, {
525
528
  mobile: "",
526
- nodes: i.anchors.data,
529
+ nodes: l.anchors.data,
527
530
  onClick: o
528
531
  }, null, 8, ["nodes"]),
529
- F(v("div", qe, null, 512), [
530
- [D, (n = i.hyperlinks) == null ? void 0 : n.data.length]
532
+ P(v("div", je, null, 512), [
533
+ [H, (n = l.hyperlinks) == null ? void 0 : n.data.length]
531
534
  ]),
532
- F(y(A, {
535
+ P($(F, {
533
536
  tag: "div",
534
537
  variant: "body3-bold",
535
538
  class: "nav-heading"
@@ -537,28 +540,28 @@ const Nt = /* @__PURE__ */ S(we, [["render", Ce], ["__scopeId", "data-v-adc8d02f
537
540
  default: N(() => {
538
541
  var c;
539
542
  return [
540
- B(w((c = i.hyperlinks) == null ? void 0 : c.text), 1)
543
+ V(S((c = l.hyperlinks) == null ? void 0 : c.text), 1)
541
544
  ];
542
545
  }),
543
546
  _: 1
544
547
  }, 512), [
545
- [D, (d = i.hyperlinks) == null ? void 0 : d.text]
548
+ [H, (d = l.hyperlinks) == null ? void 0 : d.text]
546
549
  ]),
547
550
  v("ul", null, [
548
- (s(!0), r(T, null, z((l = i.hyperlinks) == null ? void 0 : l.data, (c) => (s(), r("li", {
551
+ (s(!0), r(T, null, z((i = l.hyperlinks) == null ? void 0 : i.data, (c) => (s(), r("li", {
549
552
  key: c.text
550
553
  }, [
551
- y(W, {
554
+ $(U, {
552
555
  class: "dropdown__link",
553
556
  variant: "ghost",
554
557
  href: c.config.href
555
558
  }, {
556
559
  default: N(() => [
557
- v("span", null, w(c.text), 1),
558
- y(W, { variant: "icon" }, {
560
+ v("span", null, S(c.text), 1),
561
+ $(U, { variant: "icon" }, {
559
562
  default: N(() => [
560
- y(R, {
561
- icon: G(x),
563
+ $(A, {
564
+ icon: G(ae),
562
565
  size: "xs"
563
566
  }, null, 8, ["icon"])
564
567
  ]),
@@ -573,107 +576,107 @@ const Nt = /* @__PURE__ */ S(we, [["render", Ce], ["__scopeId", "data-v-adc8d02f
573
576
  ], 2);
574
577
  };
575
578
  }
576
- }), je = /* @__PURE__ */ S(Ue, [["__scopeId", "data-v-9b690a76"]]), Ze = { key: 0 }, Je = {
579
+ }), Je = /* @__PURE__ */ C(Ze, [["__scopeId", "data-v-9b690a76"]]), Ke = { key: 0 }, Qe = {
577
580
  key: 1,
578
581
  id: "collapsible-sidebar-wrapper"
579
- }, Ke = { id: "collapsible-sidebar-content" }, Qe = { id: "collapsible-sidebar" }, Xe = { class: "anchors" }, Ye = /* @__PURE__ */ L({
582
+ }, Xe = { id: "collapsible-sidebar-content" }, Ye = { id: "collapsible-sidebar" }, xe = { class: "anchors" }, et = /* @__PURE__ */ I({
580
583
  __name: "SlpSideNavigationWithTree",
581
584
  props: {
582
585
  anchors: {},
583
- hyperlinks: {}
586
+ hyperlinks: {},
587
+ alwaysExpanded: { type: Boolean }
584
588
  },
585
- setup(p) {
586
- const e = p, o = k([]), i = k(e.anchors.data.map((u) => ({
587
- text: u.text,
588
- nodes: u.nodes,
589
- config: {
590
- href: u.config.href,
591
- dataGaName: u.config.dataGaName,
592
- dataGaLocation: u.config.dataGaLocation,
593
- depth: 0,
594
- mobile: !1
595
- }
596
- }))), a = k(!1), n = k(!0);
589
+ setup(u) {
590
+ const e = u, o = w([]), l = w(
591
+ e.anchors.data.map((f) => ({
592
+ text: f.text,
593
+ nodes: f.nodes,
594
+ config: {
595
+ href: f.config.href,
596
+ dataGaName: f.config.dataGaName,
597
+ dataGaLocation: f.config.dataGaLocation,
598
+ depth: 0,
599
+ mobile: !1
600
+ }
601
+ }))
602
+ ), a = w(!1), n = w(!0);
597
603
  let d = null;
598
- const l = (u, m = []) => (u.forEach((I) => {
599
- I.config.href && m.push(I.config.href), I.nodes && l(I.nodes, m);
600
- }), m), c = (u) => {
601
- const m = [], I = (C) => C.some((E, V) => (m.push(V), E.config.href === u || E.nodes && I(E.nodes) ? !0 : (m.pop(), !1)));
602
- return I(e.anchors.data), m;
603
- }, t = (u) => {
604
- let m = 0;
605
- const I = (C, E) => {
606
- const V = {
607
- text: C.text,
604
+ const i = (f, _ = []) => (f.forEach((L) => {
605
+ L.config.href && _.push(L.config.href), L.nodes && i(L.nodes, _);
606
+ }), _), c = (f) => {
607
+ const _ = [], L = (y) => y.some((E, M) => (_.push(M), E.config.href === f || E.nodes && L(E.nodes) ? !0 : (_.pop(), !1)));
608
+ return L(e.anchors.data), _;
609
+ }, t = (f) => {
610
+ let _ = 0;
611
+ const L = (y, E, M) => {
612
+ const O = {
613
+ text: y.text,
608
614
  config: {
609
- href: C.config.href,
610
- dataGaName: C.config.dataGaName,
611
- dataGaLocation: C.config.dataGaLocation
615
+ href: y.config.href,
616
+ dataGaName: y.config.dataGaName,
617
+ dataGaLocation: y.config.dataGaLocation
612
618
  }
613
619
  };
614
- return u && E === 0 && (V.config.isSelected = !0), o.value[m] === E && (C.nodes && (m += 1, V.nodes = C.nodes.map(
615
- (ae, oe) => I(ae, oe)
616
- ), m -= 1), m + 1 === o.value.length && (V.config.isSelected = !0)), V;
620
+ return f && E === 0 && (O.config.isSelected = !0), e.alwaysExpanded ? (o.value[M] === E && (O.config.isSelected = !0), y.nodes && (O.nodes = y.nodes.map(
621
+ (W, q) => L(W, q, M + 1)
622
+ ))) : o.value[M] === E && (y.nodes && (M += 1, O.nodes = y.nodes.map(
623
+ (W, q) => L(W, q, M)
624
+ ), M -= 1), M + 1 === o.value.length && (O.config.isSelected = !0)), O;
617
625
  };
618
- return e.anchors.data.map(
619
- (C, E) => I(C, E)
620
- );
621
- }, f = (u) => {
622
- u.forEach((m) => {
623
- m.isIntersecting ? (o.value = c(`#${m.target.id}`), i.value = t(!1)) : n.value && (i.value = t(!0), n.value = !1);
626
+ return e.anchors.data.map((y, E) => L(y, E, _));
627
+ }, p = (f) => {
628
+ f.forEach((_) => {
629
+ _.isIntersecting ? (o.value = c(`#${_.target.id}`), e.alwaysExpanded || (l.value = t(!1))) : n.value && !e.alwaysExpanded && (l.value = t(!0), n.value = !1), e.alwaysExpanded && (l.value = t(!1));
624
630
  });
625
- }, g = () => {
626
- a.value = window.innerWidth < 768;
627
631
  }, h = () => {
628
- i.value = t(!0), n.value = !1;
629
- const u = (window.innerHeight - 120 - 48) * -1;
630
- d = new IntersectionObserver(
631
- f,
632
- {
633
- rootMargin: `-120px 0px ${u}px 0px`,
634
- threshold: 0
635
- }
636
- ), setTimeout(() => {
637
- l(e.anchors.data).forEach((I) => {
638
- const C = document.querySelector(I);
639
- C && (d == null || d.observe(C));
632
+ a.value = window.innerWidth < 768;
633
+ }, m = () => {
634
+ l.value = t(!0), n.value = !1;
635
+ const f = (window.innerHeight - 120 - 48) * -1;
636
+ d = new IntersectionObserver(p, {
637
+ rootMargin: `-120px 0px ${f}px 0px`,
638
+ threshold: 0
639
+ }), setTimeout(() => {
640
+ i(e.anchors.data).forEach((L) => {
641
+ const y = document.querySelector(L);
642
+ y && (d == null || d.observe(y));
640
643
  });
641
644
  }, 0);
642
645
  };
643
- return P(() => {
644
- g(), window.addEventListener("resize", g), h();
645
- }), J(() => {
646
- window.removeEventListener("resize", g), d && d.disconnect();
647
- }), (u, m) => (s(), r("div", null, [
648
- a.value ? (s(), r("div", Ze, [
649
- y(je, se(le({ anchors: u.anchors, hyperlinks: u.hyperlinks })), null, 16),
650
- b(u.$slots, "default", {}, void 0, !0)
651
- ])) : (s(), r("div", Je, [
652
- v("div", Ke, [
653
- b(u.$slots, "default", {}, void 0, !0)
646
+ return D(() => {
647
+ h(), window.addEventListener("resize", h), m();
648
+ }), X(() => {
649
+ window.removeEventListener("resize", h), d && d.disconnect();
650
+ }), (f, _) => (s(), r("div", null, [
651
+ a.value ? (s(), r("div", Ke, [
652
+ $(Je, ie(re({ anchors: f.anchors, hyperlinks: f.hyperlinks })), null, 16),
653
+ b(f.$slots, "default", {}, void 0, !0)
654
+ ])) : (s(), r("div", Qe, [
655
+ v("div", Xe, [
656
+ b(f.$slots, "default", {}, void 0, !0)
654
657
  ]),
655
- v("nav", Qe, [
656
- b(u.$slots, "header", {}, void 0, !0),
657
- v("div", Xe, [
658
- u.anchors.text ? (s(), O(A, {
658
+ v("nav", Ye, [
659
+ b(f.$slots, "header", {}, void 0, !0),
660
+ v("div", xe, [
661
+ f.anchors.text ? (s(), R(F, {
659
662
  key: 0,
660
663
  tag: "div",
661
664
  variant: "body3-bold",
662
665
  class: "nav-heading"
663
666
  }, {
664
667
  default: N(() => [
665
- B(w(u.anchors.text), 1)
668
+ V(S(f.anchors.text), 1)
666
669
  ]),
667
670
  _: 1
668
- })) : M("", !0),
669
- y(te, { nodes: i.value }, null, 8, ["nodes"])
671
+ })) : B("", !0),
672
+ $(ne, { nodes: l.value }, null, 8, ["nodes"])
670
673
  ]),
671
- b(u.$slots, "footer", {}, void 0, !0)
674
+ b(f.$slots, "footer", {}, void 0, !0)
672
675
  ])
673
676
  ]))
674
677
  ]));
675
678
  }
676
- }), Et = /* @__PURE__ */ S(Ye, [["__scopeId", "data-v-9319fd2e"]]), xe = ["id", "aria-describedby"], et = { class: "slp-tooltip__wrapper" }, tt = ["id", "data-ga-features", "data-ga-features-sub", "data-ga-features-sub-card", "data-ga-name", "data-ga-location", "href"], at = ["id"], ot = ["id", "aria-describedby"], nt = { class: "slp-tooltip__wrapper" }, st = ["id", "innerHTML"], lt = ["id"], it = /* @__PURE__ */ L({
679
+ }), Gt = /* @__PURE__ */ C(et, [["__scopeId", "data-v-47e57dda"]]), tt = ["id", "aria-describedby"], at = { class: "slp-tooltip__wrapper" }, ot = ["id", "data-ga-features", "data-ga-features-sub", "data-ga-features-sub-card", "data-ga-name", "data-ga-location", "href"], nt = ["id"], st = ["id", "aria-describedby"], lt = { class: "slp-tooltip__wrapper" }, it = ["id", "innerHTML"], rt = ["id"], dt = /* @__PURE__ */ I({
677
680
  __name: "SlpTooltip",
678
681
  props: {
679
682
  text: { default: "" },
@@ -683,23 +686,23 @@ const Nt = /* @__PURE__ */ S(we, [["render", Ce], ["__scopeId", "data-v-adc8d02f
683
686
  id: { default: "" },
684
687
  dataProperties: { default: null }
685
688
  },
686
- setup(p) {
687
- const e = p, o = k(!1), i = k(""), a = k(""), n = k(""), d = (t) => {
689
+ setup(u) {
690
+ const e = u, o = w(!1), l = w(""), a = w(""), n = w(""), d = (t) => {
688
691
  e.mode === "hover" && (o.value = t.type === "mouseenter");
689
- }, l = () => {
692
+ }, i = () => {
690
693
  o.value = e.mode === "click";
691
694
  }, c = (t) => {
692
695
  t.target.id !== e.id && (o.value = !1);
693
696
  };
694
- return P(() => {
697
+ return D(() => {
695
698
  if (e.mode === "click" && document.addEventListener("click", c), e.text) {
696
- const t = e.text.match(/\[(.*?)\]/), f = e.text.match(/\((.*?)\)/);
697
- i.value = t ? t[1] : "", a.value = f ? f[1] : "", n.value = e.text.replace(`(${a.value})`, "").replace(`[${i.value}]`, "").trim();
699
+ const t = e.text.match(/\[(.*?)\]/), p = e.text.match(/\((.*?)\)/);
700
+ l.value = t ? t[1] : "", a.value = p ? p[1] : "", n.value = e.text.replace(`(${a.value})`, "").replace(`[${l.value}]`, "").trim();
698
701
  }
699
- }), K(() => {
702
+ }), Y(() => {
700
703
  document.removeEventListener("click", c);
701
- }), (t, f) => {
702
- var g, h, u;
704
+ }), (t, p) => {
705
+ var h, m, f;
703
706
  return t.mode === "hover" ? (s(), r("div", {
704
707
  key: 0,
705
708
  id: t.id,
@@ -708,134 +711,134 @@ const Nt = /* @__PURE__ */ S(we, [["render", Ce], ["__scopeId", "data-v-adc8d02f
708
711
  class: "slp-tooltip",
709
712
  onMouseenter: d,
710
713
  onMouseleave: d,
711
- onClick: l
714
+ onClick: i
712
715
  }, [
713
- v("div", et, [
716
+ v("div", at, [
714
717
  b(t.$slots, "default", {}, void 0, !0),
715
718
  o.value ? (s(), r("div", {
716
719
  key: 0,
717
- class: _(["slp-tooltip__content", `${t.position} ${t.mode === "hover" ? "hover-mode" : ""}`])
720
+ class: g(["slp-tooltip__content", `${t.position} ${t.mode === "hover" ? "hover-mode" : ""}`])
718
721
  }, [
719
- B(w(n.value) + " ", 1),
722
+ V(S(n.value) + " ", 1),
720
723
  t.text ? (s(), r("a", {
721
724
  key: 0,
722
725
  id: `${t.id}-content`,
723
726
  "data-ga-features": t.dataProperties && t.dataProperties.features.toLowerCase() || null,
724
- "data-ga-features-sub": (g = t.dataProperties) == null ? void 0 : g.sub,
725
- "data-ga-features-sub-card": (h = t.dataProperties) == null ? void 0 : h.card,
726
- "data-ga-name": (u = t.dataProperties) == null ? void 0 : u.plan,
727
+ "data-ga-features-sub": (h = t.dataProperties) == null ? void 0 : h.sub,
728
+ "data-ga-features-sub-card": (m = t.dataProperties) == null ? void 0 : m.card,
729
+ "data-ga-name": (f = t.dataProperties) == null ? void 0 : f.plan,
727
730
  "data-ga-location": t.dataProperties ? "features content" : null,
728
731
  role: "tooltip",
729
732
  href: a.value
730
- }, w(i.value), 9, tt)) : t.list ? (s(), r("ul", {
733
+ }, S(l.value), 9, ot)) : t.list ? (s(), r("ul", {
731
734
  key: 1,
732
735
  id: `${t.id}-content`,
733
736
  role: "tooltip",
734
737
  class: "slp-tooltip__list"
735
738
  }, [
736
- (s(!0), r(T, null, z(t.list, (m) => (s(), r("li", {
737
- key: m.text
738
- }, w(m.text), 1))), 128))
739
- ], 8, at)) : M("", !0)
740
- ], 2)) : M("", !0)
739
+ (s(!0), r(T, null, z(t.list, (_) => (s(), r("li", {
740
+ key: _.text
741
+ }, S(_.text), 1))), 128))
742
+ ], 8, nt)) : B("", !0)
743
+ ], 2)) : B("", !0)
741
744
  ])
742
- ], 40, xe)) : (s(), r("button", {
745
+ ], 40, tt)) : (s(), r("button", {
743
746
  key: 1,
744
747
  id: t.id,
745
748
  "aria-label": "Click to open tooltip with more information.",
746
749
  "aria-describedby": `${t.id}-content`,
747
- class: _(`slp-tooltip ${t.mode === "click" ? "button-mode" : ""}`),
748
- onClick: l
750
+ class: g(`slp-tooltip ${t.mode === "click" ? "button-mode" : ""}`),
751
+ onClick: i
749
752
  }, [
750
- v("div", nt, [
753
+ v("div", lt, [
751
754
  b(t.$slots, "default", {}, void 0, !0),
752
755
  o.value ? (s(), r("div", {
753
756
  key: 0,
754
- class: _(["slp-tooltip__content", `${t.position} ${t.mode === "hover" ? "hover-mode" : ""}`])
757
+ class: g(["slp-tooltip__content", `${t.position} ${t.mode === "hover" ? "hover-mode" : ""}`])
755
758
  }, [
756
759
  t.text ? (s(), r("span", {
757
760
  key: 0,
758
761
  id: `${t.id}-content`,
759
762
  role: "tooltip",
760
763
  innerHTML: t.text
761
- }, null, 8, st)) : (s(), r("ul", {
764
+ }, null, 8, it)) : (s(), r("ul", {
762
765
  key: 1,
763
766
  id: `${t.id}-content`,
764
767
  role: "tooltip",
765
768
  class: "slp-tooltip__list"
766
769
  }, [
767
- (s(!0), r(T, null, z(t.list, (m) => (s(), r("li", {
768
- key: m.text
769
- }, w(m.text), 1))), 128))
770
- ], 8, lt))
771
- ], 2)) : M("", !0)
770
+ (s(!0), r(T, null, z(t.list, (_) => (s(), r("li", {
771
+ key: _.text
772
+ }, S(_.text), 1))), 128))
773
+ ], 8, rt))
774
+ ], 2)) : B("", !0)
772
775
  ])
773
- ], 10, ot));
776
+ ], 10, st));
774
777
  };
775
778
  }
776
- }), rt = /* @__PURE__ */ S(it, [["__scopeId", "data-v-a2668f04"]]), dt = {
779
+ }), ct = /* @__PURE__ */ C(dt, [["__scopeId", "data-v-a2668f04"]]), ut = {
777
780
  key: 0,
778
781
  class: "breadcrumb",
779
782
  vocab: "https://schema.org/",
780
783
  typeof: "BreadcrumbList"
781
- }, ct = ["onMouseenter", "onMouseleave"], ut = ["data-ga-name", "data-ga-location", "href"], pt = {
784
+ }, pt = ["onMouseenter", "onMouseleave"], ft = ["data-ga-name", "data-ga-location", "href"], vt = {
782
785
  key: 0,
783
786
  class: "breadcrumb__chevron"
784
- }, ft = ["content"], vt = {
787
+ }, ht = ["content"], mt = {
785
788
  key: 1,
786
789
  class: "breadcrumb",
787
790
  vocab: "https://schema.org/",
788
791
  typeof: "BreadcrumbList"
789
- }, ht = ["href", "data-ga-name", "data-ga-location"], mt = ["content"], gt = /* @__PURE__ */ L({
792
+ }, gt = ["href", "data-ga-name", "data-ga-location"], _t = ["content"], bt = /* @__PURE__ */ I({
790
793
  __name: "SlpBreadcrumb",
791
794
  props: {
792
795
  crumbs: { default: () => [] },
793
796
  router: {}
794
797
  },
795
- setup(p) {
796
- const e = p, o = k(e.crumbs), i = k(!1), a = (l) => {
797
- const c = l.split(" ");
798
+ setup(u) {
799
+ const e = u, o = w(e.crumbs), l = w(!1), a = (i) => {
800
+ const c = i.split(" ");
798
801
  for (let t = 0; t < c.length; t++)
799
802
  c[t] = c[t][0].toUpperCase() + c[t].substr(1);
800
803
  return c.join(" ");
801
804
  }, n = () => {
802
- i.value = window.innerWidth < 768;
803
- }, d = (l) => {
804
- o.value[l] && (o.value[l] = {
805
- ...o.value[l],
806
- hover: !o.value[l].hover
805
+ l.value = window.innerWidth < 768;
806
+ }, d = (i) => {
807
+ o.value[i] && (o.value[i] = {
808
+ ...o.value[i],
809
+ hover: !o.value[i].hover
807
810
  });
808
811
  };
809
- return Q(() => {
812
+ return x(() => {
810
813
  if (e.router) {
811
- const l = e.router.currentRoute.path, c = l.startsWith("/") ? l.substring(1).split("/") : l.split("/"), t = [];
812
- let f = "";
813
- c.forEach((g) => {
814
- f = `${f}/${g}`;
815
- const h = e.router.match(f);
816
- h.params.slug !== null && g.length && t.push({
817
- title: a(g.replace(/-/g, " ")),
814
+ const i = e.router.currentRoute.path, c = i.startsWith("/") ? i.substring(1).split("/") : i.split("/"), t = [];
815
+ let p = "";
816
+ c.forEach((h) => {
817
+ p = `${p}/${h}`;
818
+ const m = e.router.match(p);
819
+ m.params.slug !== null && h.length && t.push({
820
+ title: a(h.replace(/-/g, " ")),
818
821
  hover: !1,
819
- ...h
822
+ ...m
820
823
  });
821
824
  }), o.value = t;
822
825
  }
823
- }), P(() => {
826
+ }), D(() => {
824
827
  n(), window.addEventListener("resize", n);
825
- }), K(() => {
828
+ }), Y(() => {
826
829
  window.removeEventListener("resize", n);
827
- }), (l, c) => o.value && !i.value ? (s(), r("ol", dt, [
828
- (s(!0), r(T, null, z(o.value, (t, f) => (s(), r("li", {
830
+ }), (i, c) => o.value && !l.value ? (s(), r("ol", ut, [
831
+ (s(!0), r(T, null, z(o.value, (t, p) => (s(), r("li", {
829
832
  key: t.title,
830
- class: _(["breadcrumb__crumb", {
831
- "breadcrumb__crumb--disabled": f === o.value.length - 1
833
+ class: g(["breadcrumb__crumb", {
834
+ "breadcrumb__crumb--disabled": p === o.value.length - 1
832
835
  }]),
833
836
  property: "itemListElement",
834
837
  typeof: "ListItem",
835
- onMouseenter: (g) => d(f),
836
- onMouseleave: (g) => d(f)
838
+ onMouseenter: (h) => d(p),
839
+ onMouseleave: (h) => d(p)
837
840
  }, [
838
- y(rt, {
841
+ $(ct, {
839
842
  text: t.title,
840
843
  class: "breadcrumb__crumb__tooltip",
841
844
  position: "top"
@@ -846,35 +849,35 @@ const Nt = /* @__PURE__ */ S(we, [["render", Ce], ["__scopeId", "data-v-adc8d02f
846
849
  typeof: "WebPage",
847
850
  "data-ga-name": t.dataGaName || t.title.toLowerCase(),
848
851
  "data-ga-location": t.dataGaLocation || "breadcrumb",
849
- href: f !== o.value.length - 1 ? t.path : void 0
852
+ href: p !== o.value.length - 1 ? t.path : void 0
850
853
  }, [
851
- y(A, {
854
+ $(F, {
852
855
  tag: "span",
853
856
  variant: "body3",
854
857
  property: "name"
855
858
  }, {
856
859
  default: N(() => [
857
- B(w(t.title.length > 18 ? t.title.substring(0, 18).concat("...") : t.title), 1)
860
+ V(S(t.title.length > 18 ? t.title.substring(0, 18).concat("...") : t.title), 1)
858
861
  ]),
859
862
  _: 2
860
863
  }, 1024)
861
- ], 8, ut)
864
+ ], 8, ft)
862
865
  ]),
863
866
  _: 2
864
867
  }, 1032, ["text"]),
865
- f !== o.value.length - 1 ? (s(), r("span", pt, [
866
- y(R, {
868
+ p !== o.value.length - 1 ? (s(), r("span", vt, [
869
+ $(A, {
867
870
  color: "accent-500",
868
871
  size: "xs",
869
- icon: G(x)
872
+ icon: G(ae)
870
873
  }, null, 8, ["icon"])
871
- ])) : M("", !0),
874
+ ])) : B("", !0),
872
875
  v("meta", {
873
876
  property: "position",
874
- content: f + 1
875
- }, null, 8, ft)
876
- ], 42, ct))), 128))
877
- ])) : o.value && i.value ? (s(), r("ol", vt, [
877
+ content: p + 1
878
+ }, null, 8, ht)
879
+ ], 42, pt))), 128))
880
+ ])) : o.value && l.value ? (s(), r("ol", mt, [
878
881
  (s(!0), r(T, null, z(o.value, (t) => (s(), r("li", {
879
882
  key: t.title,
880
883
  class: "breadcrumb__crumb breadcrumb__crumb--mobile",
@@ -890,32 +893,32 @@ const Nt = /* @__PURE__ */ S(we, [["render", Ce], ["__scopeId", "data-v-adc8d02f
890
893
  typeof: "WebPage"
891
894
  }, [
892
895
  v("span", null, [
893
- y(R, {
896
+ $(A, {
894
897
  color: "accent-500",
895
898
  size: "xs",
896
- icon: G(re)
899
+ icon: G(ce)
897
900
  }, null, 8, ["icon"])
898
901
  ]),
899
- y(A, {
902
+ $(F, {
900
903
  class: "slp-ml-8",
901
904
  tag: "span",
902
905
  variant: "body2",
903
906
  property: "name"
904
907
  }, {
905
908
  default: N(() => [
906
- B(w(o.value[o.value.length - 2].title), 1)
909
+ V(S(o.value[o.value.length - 2].title), 1)
907
910
  ]),
908
911
  _: 1
909
912
  })
910
- ], 8, ht),
913
+ ], 8, gt),
911
914
  v("meta", {
912
915
  property: "position",
913
916
  content: o.value.length - 1
914
- }, null, 8, mt)
917
+ }, null, 8, _t)
915
918
  ]))), 128))
916
- ])) : M("", !0);
919
+ ])) : B("", !0);
917
920
  }
918
- }), Gt = /* @__PURE__ */ S(gt, [["__scopeId", "data-v-fd412793"]]), _t = { class: "dropdown" }, bt = ["aria-label", "name"], yt = ["value", "name"], $t = ["value", "name"], kt = /* @__PURE__ */ L({
921
+ }), Vt = /* @__PURE__ */ C(bt, [["__scopeId", "data-v-fd412793"]]), yt = { class: "dropdown" }, $t = ["aria-label", "name"], kt = ["value", "name"], wt = ["value", "name"], St = /* @__PURE__ */ I({
919
922
  __name: "SlpDropdown",
920
923
  props: {
921
924
  name: {},
@@ -929,10 +932,10 @@ const Nt = /* @__PURE__ */ S(we, [["render", Ce], ["__scopeId", "data-v-adc8d02f
929
932
  } }
930
933
  },
931
934
  emits: ["input"],
932
- setup(p, { emit: e }) {
933
- const o = p, i = e, a = k(o.value), n = k(!0);
934
- Q(() => {
935
- var l;
935
+ setup(u, { emit: e }) {
936
+ const o = u, l = e, a = w(o.value), n = w(!0);
937
+ x(() => {
938
+ var i;
936
939
  if (n.value = !o.options.every(
937
940
  (c) => typeof c == "object"
938
941
  ), !n.value && !(o.textField && o.valueField))
@@ -941,60 +944,60 @@ const Nt = /* @__PURE__ */ S(we, [["render", Ce], ["__scopeId", "data-v-adc8d02f
941
944
  );
942
945
  if (o.value === void 0 && o.options.length > 0)
943
946
  if (n.value)
944
- a.value = o.options[0], i("input", a.value);
947
+ a.value = o.options[0], l("input", a.value);
945
948
  else {
946
949
  const c = o.options[0];
947
- a.value = (l = o.config) != null && l.primitive ? c[o.valueField] : c, i("input", a.value);
950
+ a.value = (i = o.config) != null && i.primitive ? c[o.valueField] : c, l("input", a.value);
948
951
  }
949
- }), U(
952
+ }), J(
950
953
  () => a.value,
951
- (l) => {
952
- i("input", l);
954
+ (i) => {
955
+ l("input", i);
953
956
  }
954
- ), U(
957
+ ), J(
955
958
  () => o.value,
956
- (l) => {
957
- a.value = l;
959
+ (i) => {
960
+ a.value = i;
958
961
  }
959
962
  );
960
- const d = (l) => {
961
- const c = l.target;
962
- i(o.name, c.value);
963
+ const d = (i) => {
964
+ const c = i.target;
965
+ l(o.name, c.value);
963
966
  };
964
- return (l, c) => (s(), r("div", _t, [
965
- F(v("select", {
966
- "aria-label": l.dropdownLabel || `${l.name} dropdown`,
967
+ return (i, c) => (s(), r("div", yt, [
968
+ P(v("select", {
969
+ "aria-label": i.dropdownLabel || `${i.name} dropdown`,
967
970
  class: "dropdown__select",
968
- name: l.name,
971
+ name: i.name,
969
972
  onChange: d,
970
973
  "onUpdate:modelValue": c[0] || (c[0] = (t) => a.value = t)
971
974
  }, [
972
- n.value ? (s(!0), r(T, { key: 0 }, z(l.options, (t) => (s(), r("option", {
975
+ n.value ? (s(!0), r(T, { key: 0 }, z(i.options, (t) => (s(), r("option", {
973
976
  key: t,
974
977
  value: t,
975
978
  name: t
976
- }, w(t), 9, yt))), 128)) : (s(!0), r(T, { key: 1 }, z(l.options, (t) => {
977
- var f;
979
+ }, S(t), 9, kt))), 128)) : (s(!0), r(T, { key: 1 }, z(i.options, (t) => {
980
+ var p;
978
981
  return s(), r("option", {
979
- key: t[l.valueField],
980
- value: (f = l.config) != null && f.primitive ? t[l.valueField] : t,
981
- name: t[l.textField]
982
- }, w(t[l.textField]), 9, $t);
982
+ key: t[i.valueField],
983
+ value: (p = i.config) != null && p.primitive ? t[i.valueField] : t,
984
+ name: t[i.textField]
985
+ }, S(t[i.textField]), 9, wt);
983
986
  }), 128))
984
- ], 40, bt), [
985
- [ie, a.value]
987
+ ], 40, $t), [
988
+ [de, a.value]
986
989
  ])
987
990
  ]));
988
991
  }
989
- }), Bt = /* @__PURE__ */ S(kt, [["__scopeId", "data-v-9c71f7b0"]]), wt = ["id"], St = /* @__PURE__ */ L({
992
+ }), Ot = /* @__PURE__ */ C(St, [["__scopeId", "data-v-9c71f7b0"]]), Ct = ["id"], Lt = /* @__PURE__ */ I({
990
993
  __name: "SlpSection",
991
994
  props: {
992
995
  backgroundColor: {
993
996
  type: String,
994
997
  required: !1,
995
- validator(p) {
996
- const e = /^#([A-Fa-f0-9]{3}){1,2}$/.test(p), o = /^\$color-[a-zA-Z0-9-]+$/.test(p);
997
- return p ? e || o : !0;
998
+ validator(u) {
999
+ const e = /^#([A-Fa-f0-9]{3}){1,2}$/.test(u), o = /^\$color-[a-zA-Z0-9-]+$/.test(u);
1000
+ return u ? e || o : !0;
998
1001
  }
999
1002
  },
1000
1003
  id: {
@@ -1002,43 +1005,43 @@ const Nt = /* @__PURE__ */ S(we, [["render", Ce], ["__scopeId", "data-v-adc8d02f
1002
1005
  required: !1
1003
1006
  }
1004
1007
  },
1005
- setup(p) {
1006
- const e = p, o = $(() => {
1008
+ setup(u) {
1009
+ const e = u, o = k(() => {
1007
1010
  var a;
1008
1011
  return !e.backgroundColor || (a = e.backgroundColor) != null && a.startsWith("$") ? {} : { backgroundColor: e.backgroundColor };
1009
- }), i = $(() => {
1012
+ }), l = k(() => {
1010
1013
  var a, n;
1011
1014
  return (a = e.backgroundColor) != null && a.startsWith("$") ? `slp-background-${(n = e.backgroundColor) == null ? void 0 : n.slice(1)}` : null;
1012
1015
  });
1013
1016
  return (a, n) => (s(), r("section", {
1014
- style: Z(o.value),
1015
- class: _(i.value),
1016
- id: p.id || void 0
1017
+ style: Q(o.value),
1018
+ class: g(l.value),
1019
+ id: u.id || void 0
1017
1020
  }, [
1018
- y(ee, null, {
1021
+ $(oe, null, {
1019
1022
  default: N(() => [
1020
1023
  b(a.$slots, "default", {}, void 0, !0)
1021
1024
  ]),
1022
1025
  _: 3
1023
1026
  })
1024
- ], 14, wt));
1027
+ ], 14, Ct));
1025
1028
  }
1026
- }), Vt = /* @__PURE__ */ S(St, [["__scopeId", "data-v-2b3ad016"]]);
1029
+ }), Rt = /* @__PURE__ */ C(Lt, [["__scopeId", "data-v-2b3ad016"]]);
1027
1030
  export {
1028
- Gt as SlpBreadcrumb,
1029
- W as SlpButton,
1030
- It as SlpColumn,
1031
- ee as SlpContainer,
1032
- Bt as SlpCustomDropdown,
1033
- Bt as SlpDropdown,
1034
- R as SlpIcon,
1035
- Mt as SlpLoader,
1036
- Oe as SlpRadioButton,
1037
- zt as SlpRadioButtonGroup,
1038
- Nt as SlpRow,
1039
- Vt as SlpSection,
1040
- Tt as SlpSideNavigation,
1041
- Et as SlpSideNavigationWithTree,
1042
- rt as SlpTooltip,
1043
- A as SlpTypography
1031
+ Vt as SlpBreadcrumb,
1032
+ U as SlpButton,
1033
+ Tt as SlpColumn,
1034
+ oe as SlpContainer,
1035
+ Ot as SlpCustomDropdown,
1036
+ Ot as SlpDropdown,
1037
+ A as SlpIcon,
1038
+ Bt as SlpLoader,
1039
+ Ae as SlpRadioButton,
1040
+ Mt as SlpRadioButtonGroup,
1041
+ zt as SlpRow,
1042
+ Rt as SlpSection,
1043
+ Et as SlpSideNavigation,
1044
+ Gt as SlpSideNavigationWithTree,
1045
+ ct as SlpTooltip,
1046
+ F as SlpTypography
1044
1047
  };