@propelinc/citrus-ui 1.3.1 → 1.4.0

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/index.mjs CHANGED
@@ -1,13 +1,13 @@
1
- import { defineComponent as $, toRefs as te, provide as W, ref as I, nextTick as ft, createElementBlock as g, openBlock as f, renderSlot as b, onMounted as Q, unref as u, isRef as ta, watch as q, inject as X, computed as p, withModifiers as pt, normalizeClass as O, createVNode as P, createElementVNode as S, createBlock as M, Transition as vt, withCtx as w, toValue as de, normalizeStyle as x, toDisplayString as F, createTextVNode as G, toRef as mt, resolveDynamicComponent as De, withDirectives as aa, onBeforeUnmount as he, useSlots as bt, Comment as la, Fragment as ce, createCommentVNode as R, mergeProps as U, toHandlers as Be, useAttrs as we, getCurrentInstance as sa, renderList as fe, createSlots as gt, watchEffect as ht, onUnmounted as oa } from "vue";
2
- import { faChevronDown as qe, faXmark as Re, faCheck as _t, faEye as na, faEyeSlash as ia, faChevronRight as ra, faLock as da, faCircleExclamation as ua, faCircleCheck as ca, faInfoCircle as fa } from "@fortawesome/pro-regular-svg-icons";
1
+ import { defineComponent as y, toRefs as te, provide as W, ref as E, nextTick as ut, createElementBlock as g, openBlock as c, renderSlot as b, onMounted as Q, unref as d, isRef as ta, watch as G, inject as X, computed as f, withModifiers as ct, normalizeClass as V, createVNode as P, createElementVNode as S, createBlock as M, Transition as ft, withCtx as w, toValue as de, normalizeStyle as x, toDisplayString as O, createTextVNode as q, toRef as pt, resolveDynamicComponent as Ae, withDirectives as aa, onBeforeUnmount as be, useSlots as vt, Comment as la, Fragment as ce, createCommentVNode as R, mergeProps as U, toHandlers as Se, useAttrs as De, getCurrentInstance as sa, renderList as fe, createSlots as mt, watchEffect as bt, onUnmounted as oa } from "vue";
2
+ import { faChevronDown as ze, faXmark as Be, faCheck as gt, faEye as na, faEyeSlash as ia, faChevronRight as ra, faLock as da, faCircleExclamation as ua, faCircleCheck as ca, faInfoCircle as fa } from "@fortawesome/pro-regular-svg-icons";
3
3
  import { FontAwesomeIcon as z } from "@fortawesome/vue-fontawesome";
4
4
  import "@shoelace-style/shoelace/dist/components/details/details";
5
- import { getAnimation as pa, setAnimation as Ze } from "@shoelace-style/shoelace/dist/utilities/animation-registry.js";
5
+ import { getAnimation as pa, setAnimation as qe } from "@shoelace-style/shoelace/dist/utilities/animation-registry.js";
6
6
  import "@shoelace-style/shoelace/dist/components/drawer/drawer.js";
7
7
  import { debounce as va } from "lodash";
8
8
  import "@shoelace-style/shoelace/dist/components/button/button.js";
9
9
  import { useLink as ma } from "vue-router";
10
- import ge from "dayjs";
10
+ import me from "dayjs";
11
11
  import { MaskInput as ba, Mask as ga } from "maska";
12
12
  import "lodash/defaults";
13
13
  import ha from "scroll-into-view-if-needed";
@@ -21,7 +21,7 @@ import "@shoelace-style/shoelace/dist/components/switch/switch.js";
21
21
  import "@shoelace-style/shoelace/dist/components/alert/alert.js";
22
22
  import { faXmark as _a, faCircle as Ca, faSquare as ya } from "@fortawesome/pro-light-svg-icons";
23
23
  import { faCircleDot as $a, faSquareCheck as ka } from "@fortawesome/pro-solid-svg-icons";
24
- const Ct = Symbol("fluid"), yt = Symbol("on-toggle"), Ta = /* @__PURE__ */ $({
24
+ const ht = /* @__PURE__ */ Symbol("fluid"), _t = /* @__PURE__ */ Symbol("on-toggle"), Ta = /* @__PURE__ */ y({
25
25
  __name: "CAccordion",
26
26
  props: {
27
27
  fluid: { type: Boolean, default: !1 }
@@ -29,15 +29,15 @@ const Ct = Symbol("fluid"), yt = Symbol("on-toggle"), Ta = /* @__PURE__ */ $({
29
29
  emits: ["change"],
30
30
  setup(l, { emit: e }) {
31
31
  const t = l, a = e, { fluid: o } = te(t);
32
- W(Ct, o);
33
- const s = I(null);
34
- return W(yt, async () => {
35
- await ft();
32
+ W(ht, o);
33
+ const s = E(null);
34
+ return W(_t, async () => {
35
+ await ut();
36
36
  const n = Array.from(
37
37
  s.value.querySelectorAll("[data-accordion-item]")
38
- ).reduce((r, d, c) => d.hasAttribute("open") ? [...r, c] : r, []);
38
+ ).reduce((r, u, p) => u.hasAttribute("open") ? [...r, p] : r, []);
39
39
  a("change", n);
40
- }), (i, n) => (f(), g("div", {
40
+ }), (i, n) => (c(), g("div", {
41
41
  ref_key: "accordion",
42
42
  ref: s,
43
43
  "data-test": "accordion"
@@ -51,33 +51,32 @@ function ue(l, e, t) {
51
51
  Q(() => {
52
52
  if (l.value) {
53
53
  a = pa(l.value, e, { dir: "ltr" });
54
- const o = u(t);
55
- o !== "default" && Ze(l.value, e, o);
54
+ const o = d(t);
55
+ o !== "default" && qe(l.value, e, o);
56
56
  }
57
- }), ta(t) && q(t, () => {
57
+ }), ta(t) && G(t, () => {
58
58
  if (l.value) {
59
59
  const o = t.value === "default" ? a : t.value;
60
- Ze(l.value, e, o);
60
+ qe(l.value, e, o);
61
61
  }
62
62
  });
63
63
  }
64
- const et = 100;
65
- function $t({
64
+ const Qe = 100;
65
+ function Ct({
66
66
  el: l,
67
67
  keyframes: e
68
68
  }) {
69
- const t = I(null), a = I(null);
69
+ const t = E(null), a = E(null);
70
70
  function o() {
71
- var i, n;
72
- l.value && ((i = a.value) == null || i.cancel(), a.value = null, (n = t.value) == null || n.cancel(), t.value = l.value.animate([e.default, e.pressed], {
73
- duration: et,
71
+ l.value && (a.value?.cancel(), a.value = null, t.value?.cancel(), t.value = l.value.animate([e.default, e.pressed], {
72
+ duration: Qe,
74
73
  fill: "forwards"
75
74
  }));
76
75
  }
77
76
  async function s() {
78
77
  !t.value || a.value || !l.value || (await t.value.finished.catch(() => {
79
78
  }), l.value && (a.value = l.value.animate([e.pressed, e.default], {
80
- duration: et,
79
+ duration: Qe,
81
80
  fill: "forwards"
82
81
  }), await a.value.finished.catch(() => {
83
82
  }), a.value = null, t.value = null));
@@ -89,23 +88,22 @@ function $t({
89
88
  pointercancel: s
90
89
  };
91
90
  }
92
- function ae(l, e = {}) {
93
- const t = I(l.value);
94
- return q(l, (a) => {
91
+ function le(l, e = {}) {
92
+ const t = E(l.value);
93
+ return G(l, (a) => {
95
94
  t.value = a;
96
- }), q(t, (a) => {
97
- var o;
98
- a !== l.value && ((o = e.onChange) == null || o.call(e, a));
95
+ }), G(t, (a) => {
96
+ a !== l.value && e.onChange?.(a);
99
97
  }), t;
100
98
  }
101
- const La = ["open"], Ea = {
99
+ const Ia = ["open"], La = {
102
100
  slot: "summary",
103
101
  class: "c-accordion-item__header",
104
102
  "data-test": "accordion-item-header"
105
- }, Ia = {
103
+ }, Ea = {
106
104
  "data-test": "accordion-item-content",
107
105
  class: "c-accordion-item__content"
108
- }, Aa = /* @__PURE__ */ $({
106
+ }, Aa = /* @__PURE__ */ y({
109
107
  __name: "CAccordionItem",
110
108
  props: {
111
109
  value: { type: Boolean, default: !1 },
@@ -113,7 +111,7 @@ const La = ["open"], Ea = {
113
111
  },
114
112
  emits: ["input"],
115
113
  setup(l, { emit: e }) {
116
- const t = l, a = e, o = I(null);
114
+ const t = l, a = e, o = E(null);
117
115
  ue(o, "details.show", {
118
116
  keyframes: [{ height: "0" }, { height: "auto" }],
119
117
  options: { duration: 200, easing: "ease" }
@@ -121,41 +119,41 @@ const La = ["open"], Ea = {
121
119
  keyframes: [{ height: "auto" }, { height: "0" }],
122
120
  options: { duration: 200, easing: "ease" }
123
121
  });
124
- const s = X(Ct, I(!1)), i = p(() => t.fluid !== null ? t.fluid : s.value ?? !1), n = p(() => t.value), r = ae(n, { onChange: (m) => a("input", m) }), d = X(yt, void 0), c = (m) => {
125
- r.value = m, d == null || d(), a("input", m);
122
+ const s = X(ht, E(!1)), i = f(() => t.fluid !== null ? t.fluid : s.value ?? !1), n = f(() => t.value), r = le(n, { onChange: (m) => a("input", m) }), u = X(_t, void 0), p = (m) => {
123
+ r.value = m, u?.(), a("input", m);
126
124
  };
127
- return (m, h) => (f(), g("sl-details", {
125
+ return (m, h) => (c(), g("sl-details", {
128
126
  ref_key: "details",
129
127
  ref: o,
130
128
  "data-test": "accordion-item",
131
129
  "data-accordion-item": "",
132
- class: O(["c-accordion-item", { "c-accordion-item--fluid": i.value }]),
133
- open: u(r) || void 0,
134
- onSlShow: h[0] || (h[0] = (y) => c(!0)),
135
- onSlHide: h[1] || (h[1] = pt((y) => c(!1), ["stop"]))
130
+ class: V(["c-accordion-item", { "c-accordion-item--fluid": i.value }]),
131
+ open: d(r) || void 0,
132
+ onSlShow: h[0] || (h[0] = ($) => p(!0)),
133
+ onSlHide: h[1] || (h[1] = ct(($) => p(!1), ["stop"]))
136
134
  }, [
137
- P(u(z), {
135
+ P(d(z), {
138
136
  slot: "expand-icon",
139
- icon: u(qe)
137
+ icon: d(ze)
140
138
  }, null, 8, ["icon"]),
141
- P(u(z), {
139
+ P(d(z), {
142
140
  slot: "collapse-icon",
143
- icon: u(qe)
141
+ icon: d(ze)
144
142
  }, null, 8, ["icon"]),
145
- S("div", Ea, [
143
+ S("div", La, [
146
144
  b(m.$slots, "header", {}, void 0, !0)
147
145
  ]),
148
- S("div", Ia, [
146
+ S("div", Ea, [
149
147
  b(m.$slots, "default", {}, void 0, !0)
150
148
  ])
151
- ], 42, La));
149
+ ], 42, Ia));
152
150
  }
153
- }), L = (l, e) => {
151
+ }), T = (l, e) => {
154
152
  const t = l.__vccOpts || l;
155
153
  for (const [a, o] of e)
156
154
  t[a] = o;
157
155
  return t;
158
- }, Sa = /* @__PURE__ */ L(Aa, [["__scopeId", "data-v-0d90e6cc"]]), Ee = "#000000", Ie = "rgba(0, 0, 0, 0.04)", Ae = "rgba(0, 0, 0, 0.1)", He = "rgba(0, 0, 0, 0.31)", Fe = "rgba(0, 0, 0, 0.48)", Pe = "rgba(0, 0, 0, 0.69)", tt = "#1f7400", at = "#f47500", lt = "#cd000c", ee = {
156
+ }, Sa = /* @__PURE__ */ T(Aa, [["__scopeId", "data-v-0d90e6cc"]]), Te = "#000000", Ie = "rgba(0, 0, 0, 0.04)", Le = "rgba(0, 0, 0, 0.1)", Ve = "rgba(0, 0, 0, 0.31)", Oe = "rgba(0, 0, 0, 0.48)", He = "rgba(0, 0, 0, 0.69)", xe = "#1f7400", et = "#f47500", tt = "#cd000c", ee = {
159
157
  ACCENT_BLUE: "#5560cb",
160
158
  ACCENT_BLUE_SHADE_1: "#404898",
161
159
  ACCENT_BLUE_SHADE_2: "#2f3570",
@@ -172,12 +170,12 @@ const La = ["open"], Ea = {
172
170
  ACCENT_RED_SHADE_2: "#701323",
173
171
  ALERT_RED: "#c34459",
174
172
  BACKGROUND: Ie,
175
- BLACK: Ee,
173
+ BLACK: Te,
176
174
  GRAY_100: Ie,
177
- GRAY_200: Ae,
178
- GRAY_300: He,
179
- GRAY_400: Fe,
180
- GRAY_500: Pe,
175
+ GRAY_200: Le,
176
+ GRAY_300: Ve,
177
+ GRAY_400: Oe,
178
+ GRAY_500: He,
181
179
  // NOTE(slanden, Seth): Transparency does not work or make sense in all contexts, (e.g. the in-app
182
180
  // browser cannot handle transparency in rgba colors). These provide hex the equivalent of each
183
181
  // gray over a white background.
@@ -186,14 +184,14 @@ const La = ["open"], Ea = {
186
184
  GRAY_300_HEX: "#b0b0b0",
187
185
  GRAY_400_HEX: "#858585",
188
186
  GRAY_500_HEX: "#4f4f4f",
189
- NAVY: Ee,
190
- NAVY_TINT_1: Pe,
191
- NAVY_TINT_2: Fe,
192
- NAVY_TINT_3: He,
193
- NAVY_TINT_4: Ae,
187
+ NAVY: Te,
188
+ NAVY_TINT_1: He,
189
+ NAVY_TINT_2: Oe,
190
+ NAVY_TINT_3: Ve,
191
+ NAVY_TINT_4: Le,
194
192
  NAVY_TINT_5: Ie,
195
193
  NEUTRAL: Ie,
196
- NEUTRAL_SHADE: Ae,
194
+ NEUTRAL_SHADE: Le,
197
195
  NEUTRAL_SHADE_2: "#707070",
198
196
  ORANGE: "#ffa895",
199
197
  ORANGE_TINT_1: "#fdcab7",
@@ -207,10 +205,10 @@ const La = ["open"], Ea = {
207
205
  PROVIDERS_GREEN: "#49a24c",
208
206
  PROVIDERS_GREEN_TINT_1: "#b3f6a2",
209
207
  PROVIDERS_GREEN_TINT_2: "#d1fac7",
210
- TEXT_PRIMARY: Ee,
211
- TEXT_SECONDARY: Pe,
212
- TEXT_PLACEHOLDER: Fe,
213
- TEXT_DISABLED: He,
208
+ TEXT_PRIMARY: Te,
209
+ TEXT_SECONDARY: He,
210
+ TEXT_PLACEHOLDER: Oe,
211
+ TEXT_DISABLED: Ve,
214
212
  WHITE: "#ffffff",
215
213
  YELLOW: "#ffc200",
216
214
  YELLOW_100: "#ffdc6b",
@@ -221,14 +219,14 @@ const La = ["open"], Ea = {
221
219
  BLUE_300: "#7a95f8",
222
220
  BLUE_400: "#496ae0",
223
221
  BLUE_500: "#1a43d7",
224
- BORDER: Ae,
225
- BUTTON_BACKGROUND: Ee,
226
- GOLD_500: at,
222
+ BORDER: Le,
223
+ BUTTON_BACKGROUND: Te,
224
+ GOLD_500: et,
227
225
  GOLD_400: "#f99500",
228
226
  GOLD_300: "#ffc120",
229
227
  GOLD_200: "#fcde74",
230
228
  GOLD_100: "#fff0ba",
231
- GREEN_500: tt,
229
+ GREEN_500: xe,
232
230
  GREEN_400: "#3fa41c",
233
231
  GREEN_300: "#8bc95a",
234
232
  GREEN_200: "#b8da96",
@@ -238,31 +236,31 @@ const La = ["open"], Ea = {
238
236
  PURPLE_300: "#ac8eff",
239
237
  PURPLE_200: "#cdbcff",
240
238
  PURPLE_100: "#ebe4ff",
241
- RED_500: lt,
239
+ RED_500: tt,
242
240
  RED_400: "#f52323",
243
241
  RED_300: "#ff6969",
244
242
  RED_200: "#ffaaa5",
245
243
  RED_100: "#ffe5dd",
246
- STATUS_SUCCESS: tt,
247
- STATUS_WARNING: at,
248
- STATUS_ERROR: lt
244
+ STATUS_SUCCESS: xe,
245
+ STATUS_WARNING: et,
246
+ STATUS_ERROR: tt
249
247
  };
250
- function kt(l) {
248
+ function yt(l) {
251
249
  return l ? /^#([0-9A-Fa-f]{3}){1,2}$/i.test(l) : !1;
252
250
  }
253
- function Tt(l) {
251
+ function $t(l) {
254
252
  return l ? /^rgba\(\s*\d{1,3}\s*,\s*\d{1,3}\s*,\s*\d{1,3}\s*,\s*[\d.]+\s*\)$/i.test(l) : !1;
255
253
  }
256
- function Ye(l) {
257
- return kt(l) || Tt(l);
254
+ function Fe(l) {
255
+ return yt(l) || $t(l);
258
256
  }
259
257
  function Da(l) {
260
258
  return l ? Object.keys(ee).includes(l) : !1;
261
259
  }
262
- const Ba = /* @__PURE__ */ $({
260
+ const Ba = /* @__PURE__ */ y({
263
261
  __name: "CFadeTransition",
264
262
  setup(l) {
265
- return (e, t) => (f(), M(vt, {
263
+ return (e, t) => (c(), M(ft, {
266
264
  mode: "out-in",
267
265
  name: "fade"
268
266
  }, {
@@ -272,26 +270,22 @@ const Ba = /* @__PURE__ */ $({
272
270
  _: 3
273
271
  }));
274
272
  }
275
- }), je = /* @__PURE__ */ L(Ba, [["__scopeId", "data-v-b3f4d795"]]);
273
+ }), Ge = /* @__PURE__ */ T(Ba, [["__scopeId", "data-v-b3f4d795"]]);
276
274
  function J(l) {
277
- const e = p(
278
- () => {
279
- var s;
280
- return Ye(de(l)) ? (s = de(l)) == null ? void 0 : s.toLowerCase() : void 0;
281
- }
282
- ), t = p(() => {
283
- var s;
284
- if (de(l) && !Ye(de(l)))
285
- return (s = de(l)) == null ? void 0 : s.replace(/-/g, "_").toUpperCase();
286
- }), a = p(() => {
275
+ const e = f(
276
+ () => Fe(de(l)) ? de(l)?.toLowerCase() : void 0
277
+ ), t = f(() => {
278
+ if (de(l) && !Fe(de(l)))
279
+ return de(l)?.replace(/-/g, "_").toUpperCase();
280
+ }), a = f(() => {
287
281
  if (t.value && Da(t.value))
288
282
  return ee[t.value];
289
- if (Ye(e.value) && Object.values(ee).includes(e.value))
283
+ if (Fe(e.value) && Object.values(ee).includes(e.value))
290
284
  return e.value;
291
- }), o = p(() => a.value !== void 0);
285
+ }), o = f(() => a.value !== void 0);
292
286
  return { cssColor: a, isValidColor: o };
293
287
  }
294
- const wa = ["aria-label", "data-size"], Ra = /* @__PURE__ */ $({
288
+ const wa = ["aria-label", "data-size"], Ra = /* @__PURE__ */ y({
295
289
  __name: "CLoader",
296
290
  props: {
297
291
  accessibleText: { default: void 0 },
@@ -309,27 +303,27 @@ const wa = ["aria-label", "data-size"], Ra = /* @__PURE__ */ $({
309
303
  sm: "2.5px",
310
304
  md: "3px",
311
305
  lg: "3px"
312
- }, a = l, o = p(() => a.color === "default" ? "black" : a.color), s = p(() => a.trackColor !== "default" ? a.trackColor : a.color === "white" || a.color === ee.WHITE ? "gray-500" : "gray-200"), i = p(() => a.small ? "sm" : a.size), { cssColor: n } = J(o), { cssColor: r } = J(s);
313
- return (d, c) => (f(), g("span", {
314
- "aria-label": d.accessibleText || d.$t("Loading..."),
306
+ }, a = l, o = f(() => a.color === "default" ? "black" : a.color), s = f(() => a.trackColor !== "default" ? a.trackColor : a.color === "white" || a.color === ee.WHITE ? "gray-500" : "gray-200"), i = f(() => a.small ? "sm" : a.size), { cssColor: n } = J(o), { cssColor: r } = J(s);
307
+ return (u, p) => (c(), g("span", {
308
+ "aria-label": u.accessibleText || u.$t("Loading..."),
315
309
  class: "c-loader",
316
310
  "data-size": i.value,
317
311
  "data-test": "loader",
318
312
  role: "progressbar",
319
313
  style: x({
320
- "--indicator-color": u(n),
314
+ "--indicator-color": d(n),
321
315
  "--loader-size": e[i.value],
322
- "--track-color": u(r),
316
+ "--track-color": d(r),
323
317
  "--track-width": t[i.value]
324
318
  })
325
- }, c[0] || (c[0] = [
319
+ }, p[0] || (p[0] = [
326
320
  S("svg", { class: "c-loader__svg" }, [
327
321
  S("circle", { class: "c-loader__track" }),
328
322
  S("circle", { class: "c-loader__indicator" })
329
323
  ], -1)
330
324
  ]), 12, wa));
331
325
  }
332
- }), Me = /* @__PURE__ */ L(Ra, [["__scopeId", "data-v-0a94cfd0"]]), Ne = Symbol("tertiary"), Lt = Symbol("inherit-color"), Ma = ["data-background-color", "data-color"], Na = {
326
+ }), we = /* @__PURE__ */ T(Ra, [["__scopeId", "data-v-0a94cfd0"]]), Re = /* @__PURE__ */ Symbol("tertiary"), kt = /* @__PURE__ */ Symbol("inherit-color"), Ma = ["data-background-color", "data-color"], Na = {
333
327
  class: "c-app-bar__left",
334
328
  "data-test": "app-bar-left"
335
329
  }, Va = {
@@ -345,7 +339,7 @@ const wa = ["aria-label", "data-size"], Ra = /* @__PURE__ */ $({
345
339
  }, Fa = {
346
340
  class: "c-app-bar__right",
347
341
  "data-test": "app-bar-right"
348
- }, Pa = /* @__PURE__ */ $({
342
+ }, Pa = /* @__PURE__ */ y({
349
343
  __name: "CAppBar",
350
344
  props: {
351
345
  backgroundColor: { default: "default" },
@@ -358,54 +352,54 @@ const wa = ["aria-label", "data-size"], Ra = /* @__PURE__ */ $({
358
352
  },
359
353
  setup(l) {
360
354
  const e = l;
361
- W(Ne, I(!0)), W(Lt, I(!0));
362
- const t = p(() => e.backgroundColor === "default" ? ee.WHITE : e.backgroundColor), { cssColor: a } = J(t), o = p(() => {
355
+ W(Re, E(!0)), W(kt, E(!0));
356
+ const t = f(() => e.backgroundColor === "default" ? ee.WHITE : e.backgroundColor), { cssColor: a } = J(t), o = f(() => {
363
357
  const n = a.value;
364
358
  if (!n)
365
359
  return ee.BLACK;
366
- let r, d, c;
367
- if (kt(n)) {
368
- const h = n.substring(1), y = h.length === 3 ? h.replace(/(.)/g, "$1$1") : h;
369
- r = parseInt(y.substring(0, 2), 16) / 255, d = parseInt(y.substring(2, 4), 16) / 255, c = parseInt(y.substring(4, 6), 16) / 255;
370
- } else if (Tt(n)) {
360
+ let r, u, p;
361
+ if (yt(n)) {
362
+ const h = n.substring(1), $ = h.length === 3 ? h.replace(/(.)/g, "$1$1") : h;
363
+ r = parseInt($.substring(0, 2), 16) / 255, u = parseInt($.substring(2, 4), 16) / 255, p = parseInt($.substring(4, 6), 16) / 255;
364
+ } else if ($t(n)) {
371
365
  const h = n.match(
372
366
  /^rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*([\d.]+)\s*\)$/i
373
367
  );
374
368
  if (!h)
375
369
  return ee.BLACK;
376
- const y = Number(h[1]) / 255, _ = Number(h[2]) / 255, N = Number(h[3]) / 255, A = Number(h[4]);
377
- r = y * A + (1 - A), d = _ * A + (1 - A), c = N * A + (1 - A);
370
+ const $ = Number(h[1]) / 255, C = Number(h[2]) / 255, N = Number(h[3]) / 255, A = Number(h[4]);
371
+ r = $ * A + (1 - A), u = C * A + (1 - A), p = N * A + (1 - A);
378
372
  } else
379
373
  return ee.BLACK;
380
- return 0.2126 * r + 0.7152 * d + 0.0722 * c < 0.5 ? ee.WHITE : ee.BLACK;
381
- }), { cssColor: s } = J(() => e.color), i = p(() => s.value ? s.value : o.value);
382
- return (n, r) => (f(), g("header", {
374
+ return 0.2126 * r + 0.7152 * u + 0.0722 * p < 0.5 ? ee.WHITE : ee.BLACK;
375
+ }), { cssColor: s } = J(() => e.color), i = f(() => s.value ? s.value : o.value);
376
+ return (n, r) => (c(), g("header", {
383
377
  "data-test": "app-bar",
384
- class: O(["c-app-bar", {
378
+ class: V(["c-app-bar", {
385
379
  "c-app-bar--fixed": n.fixed,
386
380
  "c-app-bar--border": n.border
387
381
  }]),
388
382
  style: x({
389
- "--c-app-bar-background-color": u(a),
383
+ "--c-app-bar-background-color": d(a),
390
384
  "--c-app-bar-color": i.value
391
385
  }),
392
- "data-background-color": u(a),
386
+ "data-background-color": d(a),
393
387
  "data-color": i.value
394
388
  }, [
395
389
  S("div", Na, [
396
390
  b(n.$slots, "left", {}, void 0, !0)
397
391
  ]),
398
392
  S("div", Va, [
399
- P(je, null, {
393
+ P(Ge, null, {
400
394
  default: w(() => [
401
- n.loading ? (f(), M(Me, {
395
+ n.loading ? (c(), M(we, {
402
396
  key: "loader",
403
397
  "data-test": "app-bar-loader",
404
398
  class: "c-app-bar__loader",
405
399
  small: "",
406
400
  color: i.value,
407
401
  "accessible-text": n.loaderAccessibleText
408
- }, null, 8, ["color", "accessible-text"])) : !n.loading && n.title ? (f(), g("h1", Oa, F(n.title), 1)) : (f(), g("div", Ha, [
402
+ }, null, 8, ["color", "accessible-text"])) : !n.loading && n.title ? (c(), g("h1", Oa, O(n.title), 1)) : (c(), g("div", Ha, [
409
403
  b(n.$slots, "title", {}, void 0, !0)
410
404
  ]))
411
405
  ]),
@@ -417,7 +411,7 @@ const wa = ["aria-label", "data-size"], Ra = /* @__PURE__ */ $({
417
411
  ])
418
412
  ], 14, Ma));
419
413
  }
420
- }), Ya = /* @__PURE__ */ L(Pa, [["__scopeId", "data-v-bc70ac40"]]), Ua = ["data-test", "data-color", "data-text-color"], za = /* @__PURE__ */ $({
414
+ }), Ya = /* @__PURE__ */ T(Pa, [["__scopeId", "data-v-bc70ac40"]]), Ua = ["data-test", "data-color", "data-text-color"], za = /* @__PURE__ */ y({
421
415
  __name: "CBadge",
422
416
  props: {
423
417
  dataTest: { default: "badge" },
@@ -426,11 +420,11 @@ const wa = ["aria-label", "data-size"], Ra = /* @__PURE__ */ $({
426
420
  textColor: { default: "text-primary" }
427
421
  },
428
422
  setup(l) {
429
- const e = l, { cssColor: t } = J(() => e.color), { cssColor: a } = J(() => e.textColor), o = p(() => {
423
+ const e = l, { cssColor: t } = J(() => e.color), { cssColor: a } = J(() => e.textColor), o = f(() => {
430
424
  const s = {};
431
425
  return t.value && (s["--c-badge-background-color"] = t.value), a.value && (s["--c-badge-text-color"] = a.value), s;
432
426
  });
433
- return (s, i) => (f(), g("span", {
427
+ return (s, i) => (c(), g("span", {
434
428
  class: "c-badge",
435
429
  "data-test": s.dataTest,
436
430
  "data-color": s.color,
@@ -438,19 +432,19 @@ const wa = ["aria-label", "data-size"], Ra = /* @__PURE__ */ $({
438
432
  style: x(o.value)
439
433
  }, [
440
434
  b(s.$slots, "default", {}, () => [
441
- G(F(s.text), 1)
435
+ q(O(s.text), 1)
442
436
  ], !0)
443
437
  ], 12, Ua));
444
438
  }
445
- }), Ga = /* @__PURE__ */ L(za, [["__scopeId", "data-v-dc4dde8c"]]), Et = Symbol("block"), It = Symbol("large"), At = Symbol("bounce-amount"), qa = /* @__PURE__ */ $({
439
+ }), qa = /* @__PURE__ */ T(za, [["__scopeId", "data-v-dc4dde8c"]]), Tt = /* @__PURE__ */ Symbol("block"), It = /* @__PURE__ */ Symbol("large"), Lt = /* @__PURE__ */ Symbol("bounce-amount"), Ga = /* @__PURE__ */ y({
446
440
  __name: "CButtonStack",
447
441
  props: {
448
442
  tag: { default: "div" },
449
443
  large: { type: [Boolean, null], default: null }
450
444
  },
451
445
  setup(l) {
452
- const t = mt(l, "large");
453
- return W(Et, I(!0)), W(It, t), (a, o) => (f(), M(De(a.tag), {
446
+ const t = pt(l, "large");
447
+ return W(Tt, E(!0)), W(It, t), (a, o) => (c(), M(Ae(a.tag), {
454
448
  class: "c-button-stack",
455
449
  "data-test": "c-button-stack"
456
450
  }, {
@@ -460,33 +454,32 @@ const wa = ["aria-label", "data-size"], Ra = /* @__PURE__ */ $({
460
454
  _: 3
461
455
  }));
462
456
  }
463
- }), Ve = /* @__PURE__ */ L(qa, [["__scopeId", "data-v-8dcd3648"]]), Ue = () => window.visualViewport ?? window, Za = (l) => {
464
- var c, m, h, y;
465
- const e = l.getBoundingClientRect(), t = window.innerHeight || document.documentElement.clientHeight, a = (c = document.getElementById("app")) == null ? void 0 : c.clientHeight, o = ((m = document.getElementsByClassName("app-bar c-app-bar")[0]) == null ? void 0 : m.clientHeight) || 64, s = ((h = document.getElementsByClassName("c-fixed-page-footer")[0]) == null ? void 0 : h.clientHeight) || ((y = document.getElementsByClassName("scrollable-footer")[0]) == null ? void 0 : y.clientHeight) || 0, i = a ? t - (a - o) : o, n = t - s, r = e.top < i, d = e.bottom > n;
466
- (r || d) && l.scrollIntoView({ behavior: "smooth", block: "center" });
467
- }, ja = {
457
+ }), Me = /* @__PURE__ */ T(Ga, [["__scopeId", "data-v-8dcd3648"]]), Pe = () => window.visualViewport ?? window, ja = (l) => {
458
+ const e = l.getBoundingClientRect(), t = window.innerHeight || document.documentElement.clientHeight, a = document.getElementById("app")?.clientHeight, o = document.getElementsByClassName("app-bar c-app-bar")[0]?.clientHeight || 64, s = document.getElementsByClassName("c-fixed-page-footer")[0]?.clientHeight || document.getElementsByClassName("scrollable-footer")[0]?.clientHeight || 0, i = a ? t - (a - o) : o, n = t - s, r = e.top < i, u = e.bottom > n;
459
+ (r || u) && l.scrollIntoView({ behavior: "smooth", block: "center" });
460
+ }, Za = {
468
461
  beforeMount(l) {
469
462
  const e = l.querySelector("input,textarea");
470
463
  e && (l.scrollDirective = {
471
464
  focusable: e,
472
465
  scrollIfNeeded: va(() => {
473
- Za(l);
466
+ ja(l);
474
467
  }, 300),
475
468
  focusListener: () => {
476
- l.scrollDirective && (l.scrollDirective.scrollIfNeeded(), Ue().addEventListener("resize", l.scrollDirective.scrollIfNeeded));
469
+ l.scrollDirective && (l.scrollDirective.scrollIfNeeded(), Pe().addEventListener("resize", l.scrollDirective.scrollIfNeeded));
477
470
  },
478
471
  blurListener: () => {
479
- l.scrollDirective && (l.scrollDirective.scrollIfNeeded.cancel(), Ue().removeEventListener("resize", l.scrollDirective.scrollIfNeeded));
472
+ l.scrollDirective && (l.scrollDirective.scrollIfNeeded.cancel(), Pe().removeEventListener("resize", l.scrollDirective.scrollIfNeeded));
480
473
  }
481
474
  }, e.addEventListener("focus", l.scrollDirective.focusListener), e.addEventListener("blur", l.scrollDirective.blurListener));
482
475
  },
483
476
  unmounted(l) {
484
- l.scrollDirective && (l.scrollDirective.scrollIfNeeded.cancel(), l.scrollDirective.focusable.removeEventListener("focus", l.scrollDirective.focusListener), l.scrollDirective.focusable.removeEventListener("blur", l.scrollDirective.blurListener), Ue().removeEventListener("resize", l.scrollDirective.scrollIfNeeded));
477
+ l.scrollDirective && (l.scrollDirective.scrollIfNeeded.cancel(), l.scrollDirective.focusable.removeEventListener("focus", l.scrollDirective.focusListener), l.scrollDirective.focusable.removeEventListener("blur", l.scrollDirective.blurListener), Pe().removeEventListener("resize", l.scrollDirective.scrollIfNeeded));
485
478
  }
486
- }, st = 0.94;
487
- function ot(l, e) {
488
- const t = $t({
489
- el: I(l),
479
+ }, at = 0.94;
480
+ function lt(l, e) {
481
+ const t = Ct({
482
+ el: E(l),
490
483
  keyframes: {
491
484
  default: { transform: "scale(1)" },
492
485
  pressed: { transform: `scale(${e})` }
@@ -500,27 +493,24 @@ function ot(l, e) {
500
493
  });
501
494
  };
502
495
  }
503
- const St = {
496
+ const Et = {
504
497
  beforeMount(l, e) {
505
- var o;
506
498
  if (window.matchMedia("(prefers-reduced-motion: reduce)").matches)
507
499
  return;
508
- const a = ((o = e.value) == null ? void 0 : o.bounceAmount) ?? st;
509
- ot(l, a);
500
+ const a = e.value?.bounceAmount ?? at;
501
+ lt(l, a);
510
502
  },
511
503
  updated(l, e) {
512
- var a, o, s, i;
513
- if (!window.matchMedia("(prefers-reduced-motion: reduce)").matches && ((a = e.value) == null ? void 0 : a.bounceAmount) !== ((o = e.oldValue) == null ? void 0 : o.bounceAmount)) {
514
- (s = l.__tapAnimationCleanup) == null || s.call(l);
515
- const n = ((i = e.value) == null ? void 0 : i.bounceAmount) ?? st;
516
- ot(l, n);
504
+ if (!window.matchMedia("(prefers-reduced-motion: reduce)").matches && e.value?.bounceAmount !== e.oldValue?.bounceAmount) {
505
+ l.__tapAnimationCleanup?.();
506
+ const a = e.value?.bounceAmount ?? at;
507
+ lt(l, a);
517
508
  }
518
509
  },
519
510
  unmounted(l) {
520
- var e;
521
- (e = l.__tapAnimationCleanup) == null || e.call(l);
511
+ l.__tapAnimationCleanup?.();
522
512
  }
523
- }, Wa = ["aria-label", "disabled"], Xa = /* @__PURE__ */ $({
513
+ }, Wa = ["aria-label", "disabled"], Xa = /* @__PURE__ */ y({
524
514
  __name: "CCloseButton",
525
515
  props: {
526
516
  disabled: { type: Boolean }
@@ -530,40 +520,39 @@ const St = {
530
520
  const t = e, a = () => {
531
521
  t("click");
532
522
  };
533
- return (o, s) => aa((f(), g("button", {
523
+ return (o, s) => aa((c(), g("button", {
534
524
  class: "c-close-button",
535
525
  "data-test": "c-close-button",
536
526
  "aria-label": o.$t("Close"),
537
527
  disabled: o.disabled,
538
528
  onClick: a
539
529
  }, [
540
- P(u(z), { icon: u(Re) }, null, 8, ["icon"])
530
+ P(d(z), { icon: d(Be) }, null, 8, ["icon"])
541
531
  ], 8, Wa)), [
542
- [u(St)]
532
+ [d(Et)]
543
533
  ]);
544
534
  }
545
- }), Ka = /* @__PURE__ */ L(Xa, [["__scopeId", "data-v-9db7ba0f"]]);
546
- function Dt(l, e) {
535
+ }), Ka = /* @__PURE__ */ T(Xa, [["__scopeId", "data-v-9db7ba0f"]]);
536
+ function At(l, e) {
547
537
  if (!("ResizeObserver" in window))
548
538
  return;
549
539
  let t = null;
550
- q(
540
+ G(
551
541
  l,
552
542
  (a) => {
553
543
  a && (t = new ResizeObserver(e), t.observe(a));
554
544
  },
555
545
  { immediate: !0 }
556
- ), he(() => {
546
+ ), be(() => {
557
547
  t && (t.disconnect(), t = null);
558
548
  });
559
549
  }
560
- function Bt(l, e) {
550
+ function St(l, e) {
561
551
  const t = e.reduce(
562
- (a, o) => ({ ...a, [o]: I(null) }),
552
+ (a, o) => ({ ...a, [o]: E(null) }),
563
553
  {}
564
554
  );
565
555
  return Q(async () => {
566
- var o;
567
556
  if (!l.value)
568
557
  return;
569
558
  try {
@@ -571,49 +560,48 @@ function Bt(l, e) {
571
560
  } catch {
572
561
  return;
573
562
  }
574
- const a = (o = l.value) == null ? void 0 : o.shadowRoot;
563
+ const a = l.value?.shadowRoot;
575
564
  if (a)
576
- for (const s of e)
577
- t[s].value = a.querySelector(`[part="${s}"]`);
565
+ for (const o of e)
566
+ t[o].value = a.querySelector(`[part="${o}"]`);
578
567
  }), t;
579
568
  }
580
- const wt = (l, e) => {
581
- const t = I(null), a = I(null), o = I(null), s = p(() => !t.value || !a.value ? { x: 0, y: 0 } : {
569
+ const Dt = (l, e) => {
570
+ const t = E(null), a = E(null), o = E(null), s = f(() => !t.value || !a.value ? { x: 0, y: 0 } : {
582
571
  x: a.value.position.x - t.value.position.x,
583
572
  y: a.value.position.y - t.value.position.y
584
573
  }), i = (h) => {
585
- const { clientX: y, clientY: _ } = h.touches[0];
586
- return { position: { x: y, y: _ }, timestamp: h.timeStamp };
574
+ const { clientX: $, clientY: C } = h.touches[0];
575
+ return { position: { x: $, y: C }, timestamp: h.timeStamp };
587
576
  }, n = (h) => {
588
577
  t.value = i(h), a.value = t.value;
589
578
  }, r = (h) => {
590
- const y = i(h);
579
+ const $ = i(h);
591
580
  if (a.value) {
592
- const _ = y.timestamp - a.value.timestamp;
581
+ const C = $.timestamp - a.value.timestamp;
593
582
  o.value = {
594
- x: (y.position.x - a.value.position.x) / _,
595
- y: (y.position.y - a.value.position.y) / _
583
+ x: ($.position.x - a.value.position.x) / C,
584
+ y: ($.position.y - a.value.position.y) / C
596
585
  };
597
586
  }
598
- a.value = y;
599
- }, d = () => {
600
- var h;
601
- (h = e == null ? void 0 : e.onDragEnd) == null || h.call(e, {
587
+ a.value = $;
588
+ }, u = () => {
589
+ e?.onDragEnd?.({
602
590
  distance: s.value,
603
591
  velocity: o.value ?? { x: 0, y: 0 }
604
592
  }), t.value = null, a.value = null, o.value = null;
605
- }, c = (h) => {
606
- h && (h.addEventListener("touchstart", n), h.addEventListener("touchmove", r), h.addEventListener("touchend", d));
593
+ }, p = (h) => {
594
+ h && (h.addEventListener("touchstart", n), h.addEventListener("touchmove", r), h.addEventListener("touchend", u));
607
595
  }, m = (h) => {
608
- h && (h.removeEventListener("touchstart", n), h.removeEventListener("touchmove", r), h.removeEventListener("touchend", d));
596
+ h && (h.removeEventListener("touchstart", n), h.removeEventListener("touchmove", r), h.removeEventListener("touchend", u));
609
597
  };
610
598
  return Q(async () => {
611
- c(l.value);
612
- }), q(l, (h, y) => {
613
- m(y), c(h);
599
+ p(l.value);
600
+ }), G(l, (h, $) => {
601
+ m($), p(h);
614
602
  }), { dragDistance: s, dragVelocity: o };
615
603
  }, Ja = (l) => {
616
- const e = I(!1), t = () => {
604
+ const e = E(!1), t = () => {
617
605
  e.value = !0;
618
606
  }, a = (n) => {
619
607
  e.value && n.stopPropagation();
@@ -626,17 +614,16 @@ const wt = (l, e) => {
626
614
  };
627
615
  Q(() => {
628
616
  s(l.value);
629
- }), q(l, (n, r) => {
617
+ }), G(l, (n, r) => {
630
618
  i(r), s(n);
631
619
  });
632
- }, Qa = (l, e) => p(() => {
633
- var i;
620
+ }, Qa = (l, e) => f(() => {
634
621
  if (l.value === null)
635
622
  return 0;
636
- const t = ((i = e == null ? void 0 : e.value) == null ? void 0 : i.resistance) ?? 7, { min: a, max: o } = (e == null ? void 0 : e.value) ?? {}, s = Math.abs(l.value);
623
+ const t = e?.value?.resistance ?? 7, { min: a, max: o } = e?.value ?? {}, s = Math.abs(l.value);
637
624
  return a && l.value < 0 ? a * s / (s - a * t) : o && l.value > 0 ? o * s / (s + o * t) : l.value;
638
625
  });
639
- function Rt(l) {
626
+ function Bt(l) {
640
627
  if (l.type === la)
641
628
  return !1;
642
629
  if (l.type === ce || l.type === "template") {
@@ -644,22 +631,22 @@ function Rt(l) {
644
631
  if (!e || Array.isArray(e) && e.length === 0)
645
632
  return !1;
646
633
  if (Array.isArray(e))
647
- return e.some((t) => typeof t == "object" && t !== null && "type" in t ? Rt(t) : !0);
634
+ return e.some((t) => typeof t == "object" && t !== null && "type" in t ? Bt(t) : !0);
648
635
  }
649
636
  return !0;
650
637
  }
651
638
  function K(l) {
652
- const e = bt();
653
- return p(() => {
639
+ const e = vt();
640
+ return f(() => {
654
641
  const t = e[l];
655
- return t ? t().filter(Rt).length > 0 : !1;
642
+ return t ? t().filter(Bt).length > 0 : !1;
656
643
  });
657
644
  }
658
- const _e = 300, Ce = "ease";
659
- function nt({
645
+ const ge = 300, he = "ease";
646
+ function st({
660
647
  start: l = 0,
661
- duration: e = _e,
662
- easing: t = Ce
648
+ duration: e = ge,
649
+ easing: t = he
663
650
  } = {}) {
664
651
  return {
665
652
  keyframes: [
@@ -669,10 +656,10 @@ function nt({
669
656
  options: { duration: e, easing: t }
670
657
  };
671
658
  }
672
- function ze({
659
+ function Ye({
673
660
  start: l = 0,
674
- duration: e = _e,
675
- easing: t = Ce
661
+ duration: e = ge,
662
+ easing: t = he
676
663
  } = {}) {
677
664
  return {
678
665
  keyframes: [
@@ -682,10 +669,10 @@ function ze({
682
669
  options: { duration: e, easing: t }
683
670
  };
684
671
  }
685
- function it({
672
+ function ot({
686
673
  start: l = 0,
687
- duration: e = _e,
688
- easing: t = Ce
674
+ duration: e = ge,
675
+ easing: t = he
689
676
  } = {}) {
690
677
  return {
691
678
  keyframes: [
@@ -695,10 +682,10 @@ function it({
695
682
  options: { duration: e, easing: t }
696
683
  };
697
684
  }
698
- function Ge({
685
+ function Ue({
699
686
  start: l = 0,
700
- duration: e = _e,
701
- easing: t = Ce
687
+ duration: e = ge,
688
+ easing: t = he
702
689
  } = {}) {
703
690
  return {
704
691
  keyframes: [
@@ -708,10 +695,10 @@ function Ge({
708
695
  options: { duration: e, easing: t }
709
696
  };
710
697
  }
711
- function rt({
698
+ function nt({
712
699
  start: l = 0,
713
- duration: e = _e,
714
- easing: t = Ce,
700
+ duration: e = ge,
701
+ easing: t = he,
715
702
  end: a = 1
716
703
  } = {}) {
717
704
  return {
@@ -722,10 +709,10 @@ function rt({
722
709
  options: { duration: e, easing: t }
723
710
  };
724
711
  }
725
- function dt({
712
+ function it({
726
713
  start: l = 0,
727
- duration: e = _e,
728
- easing: t = Ce,
714
+ duration: e = ge,
715
+ easing: t = he,
729
716
  end: a = 1
730
717
  } = {}) {
731
718
  return {
@@ -736,7 +723,7 @@ function dt({
736
723
  options: { duration: e, easing: t }
737
724
  };
738
725
  }
739
- const xa = ["data-test", "open", "no-header", "label", "contained", "divided"], el = ["data-test"], tl = ["data-test"], al = ["slot"], ll = 100, sl = 0.75, ol = 1.5, nl = 100, ut = 240, il = 300, rl = /* @__PURE__ */ $({
726
+ const xa = ["data-test", "open", "no-header", "label", "contained", "divided"], el = ["data-test"], tl = ["data-test"], al = ["slot"], ll = 100, sl = 0.75, ol = 1.5, nl = 100, rt = 240, il = 300, rl = /* @__PURE__ */ y({
740
727
  __name: "CBottomSheet",
741
728
  props: {
742
729
  ariaLabel: { default: "" },
@@ -756,149 +743,142 @@ const xa = ["data-test", "open", "no-header", "label", "contained", "divided"],
756
743
  },
757
744
  emits: ["input", "opened", "closed"],
758
745
  setup(l, { emit: e }) {
759
- function t(C, V, oe) {
760
- C.value && Ze(C.value, V, oe);
746
+ function t(_, F, ie) {
747
+ _.value && qe(_.value, F, ie);
761
748
  }
762
- const a = l, o = e, s = mt(a, "value"), i = ae(s, { onChange: (C) => o("input", C) }), n = I(!1), r = p(() => !a.skipInitialAnimation && !n.value ? !1 : i.value), { cssColor: d } = J(() => a.backgroundColor);
749
+ const a = l, o = e, s = pt(a, "value"), i = le(s, { onChange: (_) => o("input", _) }), n = E(!1), r = f(() => !a.skipInitialAnimation && !n.value ? !1 : i.value), { cssColor: u } = J(() => a.backgroundColor);
763
750
  Q(async () => {
764
- await ft(), n.value = !0;
751
+ await ut(), n.value = !0;
765
752
  });
766
- const c = I(null), {
753
+ const p = E(null), {
767
754
  panel: m,
768
755
  overlay: h,
769
- body: y
770
- } = Bt(c, ["panel", "overlay", "body"]);
771
- Ja(y), t(c, "drawer.showBottom", it()), t(c, "drawer.overlay.show", nt()), t(c, "drawer.hideBottom", Ge()), t(c, "drawer.overlay.hide", ze());
772
- const _ = () => {
756
+ body: $
757
+ } = St(p, ["panel", "overlay", "body"]);
758
+ Ja($), t(p, "drawer.showBottom", ot()), t(p, "drawer.overlay.show", st()), t(p, "drawer.hideBottom", Ue()), t(p, "drawer.overlay.hide", Ye());
759
+ const C = () => {
773
760
  i.value = !1;
774
- }, N = (C) => {
775
- a.persistent && C.preventDefault();
761
+ }, N = (_) => {
762
+ a.persistent && _.preventDefault();
776
763
  }, A = () => {
777
- t(c, "drawer.hideBottom", Ge()), t(c, "drawer.overlay.hide", ze()), o("closed");
778
- }, B = (C) => {
779
- var V;
780
- return C / (((V = m.value) == null ? void 0 : V.clientHeight) ?? il);
781
- }, { dragDistance: v } = wt(m, {
782
- onDragEnd: async ({ distance: C, velocity: V }) => {
783
- var me, ne;
784
- if (!a.persistent && (C.y > ll || V.y > sl)) {
785
- const be = m.value.clientHeight - v.value.y, ie = Math.max(
786
- be / Math.max(V.y, ol),
764
+ t(p, "drawer.hideBottom", Ue()), t(p, "drawer.overlay.hide", Ye()), o("closed");
765
+ }, B = (_) => _ / (m.value?.clientHeight ?? il), { dragDistance: v } = Dt(m, {
766
+ onDragEnd: async ({ distance: _, velocity: F }) => {
767
+ if (!a.persistent && (_.y > ll || F.y > sl)) {
768
+ const ne = m.value.clientHeight - v.value.y, ae = Math.max(
769
+ ne / Math.max(F.y, ol),
787
770
  nl
788
- ), re = B(C.y);
771
+ ), re = B(_.y);
789
772
  t(
790
- c,
773
+ p,
791
774
  "drawer.hideBottom",
792
- Ge({ start: re, duration: ie })
775
+ Ue({ start: re, duration: ae })
793
776
  ), t(
794
- c,
777
+ p,
795
778
  "drawer.overlay.hide",
796
- ze({ start: re, duration: ie })
797
- ), _();
779
+ Ye({ start: re, duration: ae })
780
+ ), C();
798
781
  } else {
799
- const be = 1 - B(v.value.y), ie = it({ start: be }), re = nt({ start: be });
800
- (me = m.value) == null || me.animate(ie.keyframes, ie.options), (ne = h.value) == null || ne.animate(re.keyframes, re.options);
782
+ const ne = 1 - B(v.value.y), ae = ot({ start: ne }), re = st({ start: ne });
783
+ m.value?.animate(ae.keyframes, ae.options), h.value?.animate(re.keyframes, re.options);
801
784
  }
802
785
  }
803
- }), E = Qa(
804
- p(() => {
805
- var C;
806
- return ((C = v.value) == null ? void 0 : C.y) ?? 0;
807
- }),
808
- p(() => ({
809
- min: -ut,
810
- max: a.persistent ? ut : void 0
786
+ }), I = Qa(
787
+ f(() => v.value?.y ?? 0),
788
+ f(() => ({
789
+ min: -rt,
790
+ max: a.persistent ? rt : void 0
811
791
  }))
812
- ), D = p(() => B(E.value)), Y = p(() => `translateY(${E.value}px)`), le = p(() => {
813
- const C = 1 - D.value;
814
- return isNaN(C) ? 1 : C;
815
- }), Z = (C) => {
816
- const V = C ? `${a.dataTest}-${C}` : a.dataTest;
817
- return i.value ? V : null;
818
- }, H = K("footer"), T = p(
792
+ ), D = f(() => B(I.value)), Y = f(() => `translateY(${I.value}px)`), se = f(() => {
793
+ const _ = 1 - D.value;
794
+ return isNaN(_) ? 1 : _;
795
+ }), j = (_) => {
796
+ const F = _ ? `${a.dataTest}-${_}` : a.dataTest;
797
+ return i.value ? F : null;
798
+ }, H = K("footer"), k = f(
819
799
  () => !a.persistent && !a.hideDismiss || a.disableDismiss
820
800
  );
821
- return (C, V) => (f(), g("sl-drawer", {
801
+ return (_, F) => (c(), g("sl-drawer", {
822
802
  ref_key: "sheet",
823
- ref: c,
824
- class: O(["c-bottom-sheet", {
825
- "c-bottom-sheet--hide-overlay": !C.overlay,
826
- "c-bottom-sheet--hide-title": C.hideTitle,
827
- "c-bottom-sheet--with-footer": u(H),
828
- "c-bottom-sheet--with-dismiss": T.value
803
+ ref: p,
804
+ class: V(["c-bottom-sheet", {
805
+ "c-bottom-sheet--hide-overlay": !_.overlay,
806
+ "c-bottom-sheet--hide-title": _.hideTitle,
807
+ "c-bottom-sheet--with-footer": d(H),
808
+ "c-bottom-sheet--with-dismiss": k.value
829
809
  }]),
830
810
  style: x({
831
811
  "--panel-transform": Y.value,
832
- "--background-color-hex-code": u(d),
833
- "--overlay-opacity": le.value,
834
- "--size": C.fixedSize || void 0
812
+ "--background-color-hex-code": d(u),
813
+ "--overlay-opacity": se.value,
814
+ "--size": _.fixedSize || void 0
835
815
  }),
836
- "data-test": Z(),
816
+ "data-test": j(),
837
817
  open: r.value || void 0,
838
- "no-header": C.hideTitle || void 0,
839
- label: C.ariaLabel,
818
+ "no-header": _.hideTitle || void 0,
819
+ label: _.ariaLabel,
840
820
  placement: "bottom",
841
- contained: C.contained || void 0,
842
- divided: C.divided || void 0,
821
+ contained: _.contained || void 0,
822
+ divided: _.divided || void 0,
843
823
  onSlRequestClose: N,
844
- onSlHide: _,
824
+ onSlHide: C,
845
825
  onSlAfterHide: A,
846
- onSlAfterShow: V[1] || (V[1] = (oe) => C.$emit("opened"))
826
+ onSlAfterShow: F[1] || (F[1] = (ie) => _.$emit("opened"))
847
827
  }, [
848
828
  S("div", {
849
829
  slot: "label",
850
- "data-test": C.value ? `${C.dataTest}-title` : null
830
+ "data-test": _.value ? `${_.dataTest}-title` : null
851
831
  }, [
852
- b(C.$slots, "header", {}, () => [
853
- G(F(C.title), 1)
832
+ b(_.$slots, "header", {}, () => [
833
+ q(O(_.title), 1)
854
834
  ], !0)
855
835
  ], 8, el),
856
- b(C.$slots, "image", {}, void 0, !0),
836
+ b(_.$slots, "image", {}, void 0, !0),
857
837
  S("div", {
858
838
  class: "c-bottom-sheet__body",
859
- "data-test": Z("body")
839
+ "data-test": j("body")
860
840
  }, [
861
- b(C.$slots, "body", {}, void 0, !0)
841
+ b(_.$slots, "body", {}, void 0, !0)
862
842
  ], 8, tl),
863
- T.value ? (f(), g("div", {
843
+ k.value ? (c(), g("div", {
864
844
  key: 0,
865
- slot: C.hideTitle ? void 0 : "header-actions",
845
+ slot: _.hideTitle ? void 0 : "header-actions",
866
846
  class: "c-bottom-sheet__actions"
867
847
  }, [
868
848
  P(Ka, {
869
- "data-test": Z("dismiss"),
870
- disabled: C.disableDismiss,
871
- onClick: V[0] || (V[0] = (oe) => i.value = !1)
849
+ "data-test": j("dismiss"),
850
+ disabled: _.disableDismiss,
851
+ onClick: F[0] || (F[0] = (ie) => i.value = !1)
872
852
  }, null, 8, ["data-test", "disabled"])
873
853
  ], 8, al)) : R("", !0),
874
- u(H) ? (f(), M(Ve, {
854
+ d(H) ? (c(), M(Me, {
875
855
  key: 1,
876
856
  slot: "footer",
877
- "data-test": Z("footer")
857
+ "data-test": j("footer")
878
858
  }, {
879
859
  default: w(() => [
880
- b(C.$slots, "footer", {}, void 0, !0)
860
+ b(_.$slots, "footer", {}, void 0, !0)
881
861
  ]),
882
862
  _: 3
883
863
  }, 8, ["data-test"])) : R("", !0)
884
864
  ], 46, xa));
885
865
  }
886
- }), dl = /* @__PURE__ */ L(rl, [["__scopeId", "data-v-adaf0929"]]);
866
+ }), dl = /* @__PURE__ */ T(rl, [["__scopeId", "data-v-adaf0929"]]);
887
867
  function ul(l) {
888
- return p(() => l.value ? { role: "link", tabindex: "0", href: l.value } : {});
868
+ return f(() => l.value ? { role: "link", tabindex: "0", href: l.value } : {});
889
869
  }
890
- function We(l) {
891
- const e = p(() => de(l) ?? ""), t = ma({ to: e }), { navigate: a, href: o } = t, s = p(() => !!de(l)), i = p(() => s.value ? o.value : void 0);
892
- return { linkAttrs: ul(i), href: i, navigate: async (d) => {
870
+ function je(l) {
871
+ const e = f(() => de(l) ?? ""), t = ma({ to: e }), { navigate: a, href: o } = t, s = f(() => !!de(l)), i = f(() => s.value ? o.value : void 0);
872
+ return { linkAttrs: ul(i), href: i, navigate: async (u) => {
893
873
  if (s.value)
894
874
  try {
895
- await a(d);
896
- } catch (c) {
897
- console.debug(c);
875
+ await a(u);
876
+ } catch (p) {
877
+ console.debug(p);
898
878
  }
899
879
  } };
900
880
  }
901
- const cl = ["data-block", "data-href", "data-level", "data-loading", "data-size", "data-variant", "disabled", "href", "loading", "size", "target", "variant"], fl = ["slot"], pl = 0.96, vl = 0.94, ml = /* @__PURE__ */ $({
881
+ const cl = ["data-block", "data-href", "data-level", "data-loading", "data-size", "data-variant", "disabled", "href", "loading", "size", "target", "variant"], fl = ["slot"], pl = 0.96, vl = 0.94, ml = /* @__PURE__ */ y({
902
882
  __name: "CButton",
903
883
  props: {
904
884
  block: { type: Boolean, default: !1 },
@@ -923,26 +903,26 @@ const cl = ["data-block", "data-href", "data-level", "data-loading", "data-size"
923
903
  // Shoelace `default` is an outline style
924
904
  secondary: "default",
925
905
  tertiary: "text"
926
- }, a = l, o = e, { href: s, navigate: i } = We(() => a.to), n = p(() => s.value ?? a.href), r = p(() => a.loading || void 0), d = X(Et, void 0), c = p(() => (d == null ? void 0 : d.value) ?? a.block), m = p(() => c.value || void 0), h = K("icon"), y = p(() => h.value || !!a.icon), _ = p(() => a.secondary ? "secondary" : a.tertiary ? "tertiary" : a.variant), N = p(() => t[_.value]), A = X(It, void 0), B = p(() => (A == null ? void 0 : A.value) ?? a.large), v = p(() => B.value ? "large" : a.size);
927
- function E(H) {
906
+ }, a = l, o = e, { href: s, navigate: i } = je(() => a.to), n = f(() => s.value ?? a.href), r = f(() => a.loading || void 0), u = X(Tt, void 0), p = f(() => u?.value ?? a.block), m = f(() => p.value || void 0), h = K("icon"), $ = f(() => h.value || !!a.icon), C = f(() => a.secondary ? "secondary" : a.tertiary ? "tertiary" : a.variant), N = f(() => t[C.value]), A = X(It, void 0), B = f(() => A?.value ?? a.large), v = f(() => B.value ? "large" : a.size);
907
+ function I(H) {
928
908
  a.disabled || a.loading || (i(H), o("click", H));
929
909
  }
930
- const D = I(null), Y = X(At, null), le = p(() => a.disabled || a.loading ? 1 : Y || (a.block ? pl : vl)), Z = $t({
910
+ const D = E(null), Y = X(Lt, null), se = f(() => a.disabled || a.loading ? 1 : Y || (a.block ? pl : vl)), j = Ct({
931
911
  el: D,
932
912
  keyframes: {
933
913
  default: { transform: "scale(1)" },
934
- pressed: { transform: `scale(${le.value})` }
914
+ pressed: { transform: `scale(${se.value})` }
935
915
  }
936
916
  });
937
- return (H, T) => (f(), g("sl-button", U(H.$attrs, {
917
+ return (H, k) => (c(), g("sl-button", U(H.$attrs, {
938
918
  ref_key: "button",
939
919
  ref: D,
940
920
  class: ["c-button", {
941
- "c-button--block": c.value,
942
- "c-button--has-prefix-icon": y.value && H.iconPosition === "prefix",
943
- "c-button--has-suffix-icon": y.value && H.iconPosition === "suffix",
921
+ "c-button--block": p.value,
922
+ "c-button--has-prefix-icon": $.value && H.iconPosition === "prefix",
923
+ "c-button--has-suffix-icon": $.value && H.iconPosition === "suffix",
944
924
  [`c-button-level--${H.level}`]: H.level,
945
- [`c-button-variant--${_.value}`]: _.value,
925
+ [`c-button-variant--${C.value}`]: C.value,
946
926
  [`c-button-size--${v.value}`]: v.value
947
927
  }],
948
928
  "data-block": m.value,
@@ -951,25 +931,25 @@ const cl = ["data-block", "data-href", "data-level", "data-loading", "data-size"
951
931
  "data-loading": r.value,
952
932
  "data-size": v.value,
953
933
  "data-test": "button",
954
- "data-variant": _.value,
934
+ "data-variant": C.value,
955
935
  disabled: H.disabled,
956
936
  href: n.value,
957
937
  loading: H.loading || void 0,
958
938
  size: v.value,
959
939
  target: H.target,
960
940
  variant: N.value
961
- }, Be(u(Z), !0), {
962
- onClick: E,
963
- onSlFocus: T[0] || (T[0] = (C) => H.$emit("focus", C)),
964
- onSlBlur: T[1] || (T[1] = (C) => H.$emit("blur", C))
941
+ }, Se(d(j), !0), {
942
+ onClick: I,
943
+ onSlFocus: k[0] || (k[0] = (_) => H.$emit("focus", _)),
944
+ onSlBlur: k[1] || (k[1] = (_) => H.$emit("blur", _))
965
945
  }), [
966
- y.value ? (f(), g("span", {
946
+ $.value ? (c(), g("span", {
967
947
  key: 0,
968
948
  slot: H.iconPosition,
969
949
  "data-test": "button-icon-slot"
970
950
  }, [
971
951
  b(H.$slots, "icon", {}, () => [
972
- H.icon ? (f(), M(u(z), {
952
+ H.icon ? (c(), M(d(z), {
973
953
  key: 0,
974
954
  icon: H.icon
975
955
  }, null, 8, ["icon"])) : R("", !0)
@@ -978,13 +958,13 @@ const cl = ["data-block", "data-href", "data-level", "data-loading", "data-size"
978
958
  b(H.$slots, "default", { dataTest: "button-default-slot" }, void 0, !0)
979
959
  ], 16, cl));
980
960
  }
981
- }), Xe = /* @__PURE__ */ L(ml, [["__scopeId", "data-v-6e289d19"]]), bl = {
961
+ }), Ze = /* @__PURE__ */ T(ml, [["__scopeId", "data-v-6e289d19"]]), bl = {
982
962
  "data-test": "card-title",
983
963
  class: "c-card-header__title"
984
- }, gl = { class: "c-card-header__append" }, hl = /* @__PURE__ */ $({
964
+ }, gl = { class: "c-card-header__append" }, hl = /* @__PURE__ */ y({
985
965
  __name: "CCardHeader",
986
966
  setup(l) {
987
- return W(Ne, I(!0)), (e, t) => (f(), g("div", U(e.$attrs, {
967
+ return W(Re, E(!0)), (e, t) => (c(), g("div", U(e.$attrs, {
988
968
  class: "c-card-header",
989
969
  "data-test": "card-header"
990
970
  }), [
@@ -996,7 +976,7 @@ const cl = ["data-block", "data-href", "data-level", "data-loading", "data-size"
996
976
  ])
997
977
  ], 16));
998
978
  }
999
- }), Mt = /* @__PURE__ */ L(hl, [["__scopeId", "data-v-58c36d8e"]]), _l = /* @__PURE__ */ $({
979
+ }), wt = /* @__PURE__ */ T(hl, [["__scopeId", "data-v-58c36d8e"]]), _l = /* @__PURE__ */ y({
1000
980
  __name: "CCard",
1001
981
  props: {
1002
982
  borderColor: { default: void 0 },
@@ -1009,7 +989,7 @@ const cl = ["data-block", "data-href", "data-level", "data-loading", "data-size"
1009
989
  to: { default: void 0 }
1010
990
  },
1011
991
  setup(l) {
1012
- const e = l, t = we(), { cssColor: a } = J(() => e.color), { cssColor: o } = J(() => e.borderColor), s = p(() => e.to ? "internal" : e.href ? "external" : "none"), i = p(() => {
992
+ const e = l, t = De(), { cssColor: a } = J(() => e.color), { cssColor: o } = J(() => e.borderColor), s = f(() => e.to ? "internal" : e.href ? "external" : "none"), i = f(() => {
1013
993
  switch (s.value) {
1014
994
  case "internal":
1015
995
  return {
@@ -1028,12 +1008,11 @@ const cl = ["data-block", "data-href", "data-level", "data-loading", "data-size"
1028
1008
  element: "a",
1029
1009
  isLink: !0
1030
1010
  };
1031
- case "none":
1032
1011
  default:
1033
1012
  return { attrs: t, element: "div", isLink: !1 };
1034
1013
  }
1035
1014
  });
1036
- return (n, r) => (f(), M(De(i.value.element), U(i.value.attrs, {
1015
+ return (n, r) => (c(), M(Ae(i.value.element), U(i.value.attrs, {
1037
1016
  "data-test": "card",
1038
1017
  class: ["c-card", {
1039
1018
  "c-card--tile": n.tile,
@@ -1043,15 +1022,15 @@ const cl = ["data-block", "data-href", "data-level", "data-loading", "data-size"
1043
1022
  }],
1044
1023
  href: n.href,
1045
1024
  style: {
1046
- "--background-color": u(a),
1047
- "--border-color": u(o)
1025
+ "--background-color": d(a),
1026
+ "--border-color": d(o)
1048
1027
  },
1049
1028
  to: n.to
1050
1029
  }), {
1051
1030
  default: w(() => [
1052
- n.title ? (f(), M(Mt, { key: 0 }, {
1031
+ n.title ? (c(), M(wt, { key: 0 }, {
1053
1032
  default: w(() => [
1054
- G(F(n.title), 1)
1033
+ q(O(n.title), 1)
1055
1034
  ]),
1056
1035
  _: 1
1057
1036
  })) : R("", !0),
@@ -1060,10 +1039,10 @@ const cl = ["data-block", "data-href", "data-level", "data-loading", "data-size"
1060
1039
  _: 3
1061
1040
  }, 16, ["class", "href", "style", "to"]));
1062
1041
  }
1063
- }), Cl = /* @__PURE__ */ L(_l, [["__scopeId", "data-v-6f25cf6e"]]), yl = /* @__PURE__ */ $({
1042
+ }), Cl = /* @__PURE__ */ T(_l, [["__scopeId", "data-v-6f25cf6e"]]), yl = /* @__PURE__ */ y({
1064
1043
  __name: "CCardFooter",
1065
1044
  setup(l) {
1066
- return (e, t) => (f(), M(Ve, U(e.$attrs, {
1045
+ return (e, t) => (c(), M(Me, U(e.$attrs, {
1067
1046
  "data-test": "card-footer",
1068
1047
  class: "c-card-footer"
1069
1048
  }), {
@@ -1073,20 +1052,20 @@ const cl = ["data-block", "data-href", "data-level", "data-loading", "data-size"
1073
1052
  _: 3
1074
1053
  }, 16));
1075
1054
  }
1076
- }), $l = /* @__PURE__ */ L(yl, [["__scopeId", "data-v-8bb985e5"]]), kl = /* @__PURE__ */ $({
1055
+ }), $l = /* @__PURE__ */ T(yl, [["__scopeId", "data-v-8bb985e5"]]), kl = /* @__PURE__ */ y({
1077
1056
  __name: "CCardSection",
1078
1057
  props: {
1079
1058
  fluid: { type: Boolean, default: !1 }
1080
1059
  },
1081
1060
  setup(l) {
1082
- return (e, t) => (f(), g("div", U(e.$attrs, {
1061
+ return (e, t) => (c(), g("div", U(e.$attrs, {
1083
1062
  "data-test": "card-section",
1084
1063
  class: ["c-card-section", { "c-card-section--fluid": e.fluid }]
1085
1064
  }), [
1086
1065
  b(e.$slots, "default", {}, void 0, !0)
1087
1066
  ], 16));
1088
1067
  }
1089
- }), Tl = /* @__PURE__ */ L(kl, [["__scopeId", "data-v-a5ccfb80"]]), Ll = ["data-test"], El = ["data-test"], Il = { key: "empty" }, Al = /* @__PURE__ */ $({
1068
+ }), Tl = /* @__PURE__ */ T(kl, [["__scopeId", "data-v-a5ccfb80"]]), Il = ["data-test"], Ll = ["data-test"], El = { key: "empty" }, Al = /* @__PURE__ */ y({
1090
1069
  __name: "CValidationMessage",
1091
1070
  props: {
1092
1071
  dataTest: { default: "validation-message" },
@@ -1094,66 +1073,61 @@ const cl = ["data-block", "data-href", "data-level", "data-loading", "data-size"
1094
1073
  validationMessage: { default: null }
1095
1074
  },
1096
1075
  setup(l) {
1097
- const e = l, t = K("append"), a = p(() => e.hide === "auto" ? !e.validationMessage && !t.value : e.hide);
1098
- return (o, s) => a.value ? R("", !0) : (f(), g("div", {
1076
+ const e = l, t = K("append"), a = f(() => e.hide === "auto" ? !e.validationMessage && !t.value : e.hide);
1077
+ return (o, s) => a.value ? R("", !0) : (c(), g("div", {
1099
1078
  key: 0,
1100
1079
  "data-test": o.dataTest,
1101
- class: O(["c-validation-message", { "c-validation-message--invalid": !!o.validationMessage }])
1080
+ class: V(["c-validation-message", { "c-validation-message--invalid": !!o.validationMessage }])
1102
1081
  }, [
1103
- P(je, { "aria-live": "polite" }, {
1082
+ P(Ge, { "aria-live": "polite" }, {
1104
1083
  default: w(() => [
1105
- o.validationMessage ? (f(), g("span", {
1084
+ o.validationMessage ? (c(), g("span", {
1106
1085
  key: "message",
1107
1086
  role: "alert",
1108
1087
  "data-test": `${o.dataTest}-text`
1109
- }, F(o.validationMessage), 9, El)) : (f(), g("span", Il, [
1088
+ }, O(o.validationMessage), 9, Ll)) : (c(), g("span", El, [
1110
1089
  b(o.$slots, "default", {}, void 0, !0)
1111
1090
  ]))
1112
1091
  ]),
1113
1092
  _: 3
1114
1093
  }),
1115
1094
  b(o.$slots, "append", {}, void 0, !0)
1116
- ], 10, Ll));
1095
+ ], 10, Il));
1117
1096
  }
1118
- }), ye = /* @__PURE__ */ L(Al, [["__scopeId", "data-v-83d75a24"]]);
1097
+ }), _e = /* @__PURE__ */ T(Al, [["__scopeId", "data-v-83d75a24"]]);
1119
1098
  let Sl = 0;
1120
1099
  function pe(l) {
1121
- return p(() => l.value ? l.value : `c-${Sl++}`);
1100
+ return f(() => l.value ? l.value : `c-${Sl++}`);
1122
1101
  }
1123
- const Nt = Symbol("validations");
1102
+ const Rt = /* @__PURE__ */ Symbol("validations");
1124
1103
  function Dl(l) {
1125
- const { value: e, rules: t, required: a } = l, o = I(!1), s = I(null), i = I(!0), n = (_) => _ == null || typeof _ == "string" && _.trim() === "", r = (_) => a != null && a.value ? !n(_) : !0, d = p(() => {
1126
- const _ = [...t.value, r];
1127
- for (const N of _) {
1104
+ const { value: e, rules: t, required: a } = l, o = E(!1), s = E(null), i = E(!0), n = (C) => C == null || typeof C == "string" && C.trim() === "", r = (C) => a?.value ? !n(C) : !0, u = f(() => {
1105
+ const C = [...t.value, r];
1106
+ for (const N of C) {
1128
1107
  const A = N(e.value);
1129
1108
  if (A === !1 || typeof A == "string")
1130
1109
  return A;
1131
1110
  }
1132
1111
  return !0;
1133
- }), c = p(() => d.value === !0), m = () => {
1134
- var _;
1135
- return o.value && (i.value = c.value, s.value = typeof d.value == "string" ? d.value : null, (_ = l.onValidationResultChange) == null || _.call(l, { message: s.value, valid: i.value })), i.value;
1136
- };
1137
- return q(e, () => m(), { immediate: !0 }), q(t, () => m()), a && q(a, () => m()), { message: s, valid: i, startValidating: () => (o.value = !0, m()), clearValidations: () => {
1112
+ }), p = f(() => u.value === !0), m = () => (o.value && (i.value = p.value, s.value = typeof u.value == "string" ? u.value : null, l.onValidationResultChange?.({ message: s.value, valid: i.value })), i.value);
1113
+ return G(e, () => m(), { immediate: !0 }), G(t, () => m()), a && G(a, () => m()), { message: s, valid: i, startValidating: () => (o.value = !0, m()), clearValidations: () => {
1138
1114
  s.value = null, i.value = !0, o.value = !1;
1139
- }, passesRules: c };
1115
+ }, passesRules: p };
1140
1116
  }
1141
- function Vt(l) {
1142
- const e = X(Nt, null);
1117
+ function Mt(l) {
1118
+ const e = X(Rt, null);
1143
1119
  if (e) {
1144
1120
  if (!l.id)
1145
1121
  throw new Error("id is required to support form validations");
1146
1122
  e.register(l);
1147
1123
  }
1148
- he(() => {
1124
+ be(() => {
1149
1125
  e && l.id && e.unregister(l.id);
1150
1126
  });
1151
1127
  }
1152
- function Le(l) {
1153
- var h;
1154
- const e = p(() => u(l.validateOn) ?? "blur"), t = ({ valid: y }) => {
1155
- var _;
1156
- (_ = l.field) != null && _.value && l.field.value.setAttribute("aria-invalid", y ? "false" : "true");
1128
+ function ke(l) {
1129
+ const e = f(() => d(l.validateOn) ?? "blur"), t = ({ valid: h }) => {
1130
+ l.field?.value && l.field.value.setAttribute("aria-invalid", h ? "false" : "true");
1157
1131
  }, { message: a, valid: o, startValidating: s, passesRules: i, clearValidations: n } = Dl(
1158
1132
  {
1159
1133
  value: l.value,
@@ -1162,24 +1136,24 @@ function Le(l) {
1162
1136
  onValidationResultChange: t
1163
1137
  }
1164
1138
  );
1165
- Vt({
1166
- id: (h = l.id) == null ? void 0 : h.value,
1139
+ Mt({
1140
+ id: l.id?.value,
1167
1141
  valid: i,
1168
1142
  validate: s,
1169
1143
  field: l.field
1170
1144
  });
1171
1145
  const r = () => {
1172
1146
  e.value === "input" && s();
1173
- }, d = () => {
1147
+ }, u = () => {
1174
1148
  s();
1175
- }, c = () => {
1149
+ }, p = () => {
1176
1150
  e.value === "change" && s();
1177
1151
  };
1178
- return q(e, (y, _) => {
1179
- ["input", "change"].includes(y) && y !== _ && s();
1180
- }), { message: a, valid: o, listeners: { input: r, blur: d, change: c }, startValidating: s, clearValidations: n };
1152
+ return G(e, (h, $) => {
1153
+ ["input", "change"].includes(h) && h !== $ && s();
1154
+ }), { message: a, valid: o, listeners: { input: r, blur: u, change: p }, startValidating: s, clearValidations: n };
1181
1155
  }
1182
- const Bl = { class: "c-checkbox__container" }, wl = ["data-test"], Rl = ["id", "data-test", "aria-checked", "aria-describedby", "aria-invalid", "checked"], Ml = ["data-test"], Nl = /* @__PURE__ */ $({
1156
+ const Bl = { class: "c-checkbox__container" }, wl = ["data-test"], Rl = ["id", "data-test", "aria-checked", "aria-describedby", "aria-invalid", "checked"], Ml = ["data-test"], Nl = /* @__PURE__ */ y({
1183
1157
  __name: "CCheckbox",
1184
1158
  props: {
1185
1159
  dataTest: { default: "checkbox" },
@@ -1192,94 +1166,94 @@ const Bl = { class: "c-checkbox__container" }, wl = ["data-test"], Rl = ["id", "
1192
1166
  },
1193
1167
  emits: ["change", "focus", "blur"],
1194
1168
  setup(l, { emit: e }) {
1195
- const t = l, a = e, { value: o, rules: s, id: i } = te(t), n = pe(i), r = ae(o, {
1196
- onChange: (_) => a("change", _)
1197
- }), d = I(null), {
1198
- message: c,
1169
+ const t = l, a = e, { value: o, rules: s, id: i } = te(t), n = pe(i), r = le(o, {
1170
+ onChange: (C) => a("change", C)
1171
+ }), u = E(null), {
1172
+ message: p,
1199
1173
  valid: m,
1200
1174
  listeners: h
1201
- } = Le({
1175
+ } = ke({
1202
1176
  id: n,
1203
1177
  value: r,
1204
1178
  rules: s,
1205
1179
  validateOn: "change",
1206
- field: d
1207
- }), y = (_) => {
1208
- const N = _.target;
1180
+ field: u
1181
+ }), $ = (C) => {
1182
+ const N = C.target;
1209
1183
  r.value = !!N.checked;
1210
1184
  };
1211
- return (_, N) => (f(), g("div", Bl, [
1185
+ return (C, N) => (c(), g("div", Bl, [
1212
1186
  S("label", {
1213
- class: O(["c-checkbox", {
1214
- "c-checkbox--checked": u(r),
1215
- "c-checkbox--invalid": !u(m),
1216
- "c-checkbox--contained": _.variant === "contained"
1187
+ class: V(["c-checkbox", {
1188
+ "c-checkbox--checked": d(r),
1189
+ "c-checkbox--invalid": !d(m),
1190
+ "c-checkbox--contained": C.variant === "contained"
1217
1191
  }]),
1218
- "data-test": _.dataTest
1192
+ "data-test": C.dataTest
1219
1193
  }, [
1220
1194
  S("input", U({
1221
- id: u(n),
1195
+ id: d(n),
1222
1196
  type: "checkbox",
1223
- "data-test": `${_.dataTest}-input`,
1197
+ "data-test": `${C.dataTest}-input`,
1224
1198
  class: "c-checkbox__input",
1225
- "aria-checked": u(r),
1226
- "aria-describedby": `${u(n)}-message`,
1227
- "aria-invalid": !u(m),
1228
- checked: u(r) || void 0,
1229
- onChange: y,
1230
- onBlur: N[0] || (N[0] = (A) => _.$emit("blur")),
1231
- onFocus: N[1] || (N[1] = (A) => _.$emit("focus"))
1232
- }, Be(u(h), !0)), null, 16, Rl),
1199
+ "aria-checked": d(r),
1200
+ "aria-describedby": `${d(n)}-message`,
1201
+ "aria-invalid": !d(m),
1202
+ checked: d(r) || void 0,
1203
+ onChange: $,
1204
+ onBlur: N[0] || (N[0] = (A) => C.$emit("blur")),
1205
+ onFocus: N[1] || (N[1] = (A) => C.$emit("focus"))
1206
+ }, Se(d(h), !0)), null, 16, Rl),
1233
1207
  S("span", {
1234
1208
  class: "c-checkbox__control",
1235
- "data-test": `${_.dataTest}-control`
1209
+ "data-test": `${C.dataTest}-control`
1236
1210
  }, [
1237
- u(r) ? (f(), M(u(z), {
1211
+ d(r) ? (c(), M(d(z), {
1238
1212
  key: 0,
1239
- icon: u(_t)
1213
+ icon: d(gt)
1240
1214
  }, null, 8, ["icon"])) : R("", !0)
1241
1215
  ], 8, Ml),
1242
- b(_.$slots, "label", {}, () => [
1243
- G(F(_.label), 1)
1216
+ b(C.$slots, "label", {}, () => [
1217
+ q(O(C.label), 1)
1244
1218
  ], !0)
1245
1219
  ], 10, wl),
1246
- P(ye, {
1220
+ P(_e, {
1247
1221
  class: "c-checkbox__message",
1248
- "data-test": `${_.dataTest}-message`,
1249
- "validation-message": u(c),
1250
- hide: _.hideDetails
1222
+ "data-test": `${C.dataTest}-message`,
1223
+ "validation-message": d(p),
1224
+ hide: C.hideDetails
1251
1225
  }, {
1252
1226
  default: w(() => [
1253
- b(_.$slots, "message", {}, void 0, !0)
1227
+ b(C.$slots, "message", {}, void 0, !0)
1254
1228
  ]),
1255
1229
  _: 3
1256
1230
  }, 8, ["data-test", "validation-message", "hide"])
1257
1231
  ]));
1258
1232
  }
1259
- }), Ot = /* @__PURE__ */ L(Nl, [["__scopeId", "data-v-df7b401d"]]), Vl = /* @__PURE__ */ $({
1233
+ }), Nt = /* @__PURE__ */ T(Nl, [["__scopeId", "data-v-df7b401d"]]), Vl = /* @__PURE__ */ y({
1260
1234
  __name: "CCol",
1261
1235
  props: {
1262
1236
  cols: { default: null }
1263
1237
  },
1264
1238
  setup(l) {
1265
- return (e, t) => (f(), g("div", {
1266
- class: O(["c-col", { [`c-col-${e.cols}`]: e.cols }])
1239
+ return (e, t) => (c(), g("div", {
1240
+ class: V(["c-col", { [`c-col-${e.cols}`]: e.cols }])
1267
1241
  }, [
1268
1242
  b(e.$slots, "default", {}, void 0, !0)
1269
1243
  ], 2));
1270
1244
  }
1271
- }), Ol = /* @__PURE__ */ L(Vl, [["__scopeId", "data-v-6dd23f0c"]]), Hl = ["aria-orientation"], Fl = /* @__PURE__ */ $({
1245
+ }), Ol = /* @__PURE__ */ T(Vl, [["__scopeId", "data-v-6dd23f0c"]]), Hl = ["aria-orientation"], Fl = /* @__PURE__ */ y({
1272
1246
  __name: "CDivider",
1273
1247
  props: {
1274
1248
  vertical: { type: Boolean, default: !1 }
1275
1249
  },
1276
1250
  setup(l) {
1277
- return (e, t) => (f(), g("hr", {
1278
- class: O(["c-divider", { "c-divider--vertical": e.vertical }]),
1251
+ return (e, t) => (c(), g("hr", {
1252
+ class: V(["c-divider", { "c-divider--vertical": e.vertical }]),
1279
1253
  "aria-orientation": e.vertical ? "vertical" : "horizontal"
1280
1254
  }, null, 10, Hl));
1281
1255
  }
1282
- }), Pl = /* @__PURE__ */ L(Fl, [["__scopeId", "data-v-72e806c2"]]), Ht = /* @__PURE__ */ $({
1256
+ }), Pl = /* @__PURE__ */ T(Fl, [["__scopeId", "data-v-72e806c2"]]), Vt = /* @__PURE__ */ y({
1283
1257
  __name: "CFormFieldCounter",
1284
1258
  props: {
1285
1259
  counter: { default: null },
@@ -1287,15 +1261,15 @@ const Bl = { class: "c-checkbox__container" }, wl = ["data-test"], Rl = ["id", "
1287
1261
  value: { default: "" }
1288
1262
  },
1289
1263
  setup(l) {
1290
- const e = l, t = p(() => typeof e.counterValue == "function" ? e.counterValue() : typeof e.counterValue == "number" ? e.counterValue : e.value.length), a = p(() => `${t.value}/${e.counter}`);
1291
- return (o, s) => (f(), g("div", null, F(a.value), 1));
1264
+ const e = l, t = f(() => typeof e.counterValue == "function" ? e.counterValue() : typeof e.counterValue == "number" ? e.counterValue : e.value.length), a = f(() => `${t.value}/${e.counter}`);
1265
+ return (o, s) => (c(), g("div", null, O(a.value), 1));
1292
1266
  }
1293
1267
  });
1294
- function Ft(l, e) {
1295
- we(), Q(() => {
1268
+ function Ot(l, e) {
1269
+ De(), Q(() => {
1296
1270
  });
1297
1271
  }
1298
- const Yl = ["aria-label", "aria-labelledby"], Ul = /* @__PURE__ */ $({
1272
+ const Yl = ["aria-label", "aria-labelledby"], Ul = /* @__PURE__ */ y({
1299
1273
  __name: "CIconButton",
1300
1274
  props: {
1301
1275
  ariaLabel: { default: void 0 },
@@ -1317,14 +1291,14 @@ const Yl = ["aria-label", "aria-labelledby"], Ul = /* @__PURE__ */ $({
1317
1291
  emits: ["blur", "click", "focus"],
1318
1292
  setup(l) {
1319
1293
  const e = l;
1320
- Ft();
1321
- const t = X(Ne, void 0), a = p(() => (t == null ? void 0 : t.value) ?? e.tertiary), o = p(() => e.secondary ? "secondary" : a.value ? "tertiary" : e.variant), s = p(() => e.large ? "large" : e.size), i = X(Lt, void 0);
1322
- return W(At, 0.9), (n, r) => (f(), M(Xe, U(n.$attrs, {
1294
+ Ot();
1295
+ const t = X(Re, void 0), a = f(() => t?.value ?? e.tertiary), o = f(() => e.secondary ? "secondary" : a.value ? "tertiary" : e.variant), s = f(() => e.large ? "large" : e.size), i = X(kt, void 0);
1296
+ return W(Lt, 0.9), (n, r) => (c(), M(Ze, U(n.$attrs, {
1323
1297
  class: ["c-icon-button", {
1324
- "c-icon-button--inherit": u(i),
1298
+ "c-icon-button--inherit": d(i),
1325
1299
  [`c-icon-button-size--${s.value}`]: s.value
1326
1300
  }],
1327
- "data-inherit-color": u(i),
1301
+ "data-inherit-color": d(i),
1328
1302
  "data-size": s.value,
1329
1303
  "data-test": "icon-button",
1330
1304
  disabled: n.disabled,
@@ -1335,9 +1309,9 @@ const Yl = ["aria-label", "aria-labelledby"], Ul = /* @__PURE__ */ $({
1335
1309
  target: n.target,
1336
1310
  to: n.to,
1337
1311
  variant: o.value,
1338
- onBlur: r[0] || (r[0] = (d) => n.$emit("blur", d)),
1339
- onClick: r[1] || (r[1] = (d) => n.$emit("click", d)),
1340
- onFocus: r[2] || (r[2] = (d) => n.$emit("focus", d))
1312
+ onBlur: r[0] || (r[0] = (u) => n.$emit("blur", u)),
1313
+ onClick: r[1] || (r[1] = (u) => n.$emit("click", u)),
1314
+ onFocus: r[2] || (r[2] = (u) => n.$emit("focus", u))
1341
1315
  }), {
1342
1316
  default: w(() => [
1343
1317
  S("div", {
@@ -1347,9 +1321,9 @@ const Yl = ["aria-label", "aria-labelledby"], Ul = /* @__PURE__ */ $({
1347
1321
  "aria-labelledby": n.ariaLabelledby
1348
1322
  }, [
1349
1323
  b(n.$slots, "default", {}, () => [
1350
- n.icon ? (f(), M(u(z), {
1324
+ n.icon ? (c(), M(d(z), {
1351
1325
  key: 0,
1352
- class: O(["c-icon-button__icon", { "c-icon-button__icon--spin": n.spinIcon }]),
1326
+ class: V(["c-icon-button__icon", { "c-icon-button__icon--spin": n.spinIcon }]),
1353
1327
  "data-test": "icon-button-icon",
1354
1328
  icon: n.icon
1355
1329
  }, null, 8, ["class", "icon"])) : R("", !0)
@@ -1359,14 +1333,14 @@ const Yl = ["aria-label", "aria-labelledby"], Ul = /* @__PURE__ */ $({
1359
1333
  _: 3
1360
1334
  }, 16, ["class", "data-inherit-color", "data-size", "disabled", "href", "level", "loading", "size", "target", "to", "variant"]));
1361
1335
  }
1362
- }), ke = /* @__PURE__ */ L(Ul, [["__scopeId", "data-v-3fe2f247"]]);
1336
+ }), ye = /* @__PURE__ */ T(Ul, [["__scopeId", "data-v-3fe2f247"]]);
1363
1337
  function ve() {
1364
1338
  const l = sa();
1365
1339
  if (!l || !l.proxy)
1366
1340
  throw new Error("useTranslation must be called within a Vue component");
1367
1341
  return { t: l.proxy.$t };
1368
1342
  }
1369
- const zl = ["data-test"], Gl = ["for", "data-test"], ql = { class: "c-text-field__container" }, Zl = ["data-test"], jl = ["id", "data-test", "aria-label", "aria-describedby", "aria-invalid", "type", "placeholder", "minlength", "maxlength", "disabled", "value", "inputmode", "required"], Wl = ["data-test"], Xl = ["id", "data-test"], Kl = /* @__PURE__ */ $({
1343
+ const zl = ["data-test"], ql = ["for", "data-test"], Gl = { class: "c-text-field__container" }, jl = ["data-test"], Zl = ["id", "data-test", "aria-label", "aria-describedby", "aria-invalid", "type", "placeholder", "minlength", "maxlength", "disabled", "value", "inputmode", "required"], Wl = ["data-test"], Xl = ["id", "data-test"], Kl = /* @__PURE__ */ y({
1370
1344
  inheritAttrs: !1,
1371
1345
  __name: "CTextField",
1372
1346
  props: {
@@ -1395,174 +1369,172 @@ const zl = ["data-test"], Gl = ["for", "data-test"], ql = { class: "c-text-field
1395
1369
  },
1396
1370
  emits: ["keyup", "keydown", "keypress", "input", "focus", "blur", "change", "click", "click:hide"],
1397
1371
  setup(l, { expose: e, emit: t }) {
1398
- const a = l, o = t, s = we(), i = bt(), { t: n } = ve(), r = I(!1), d = I(!0), c = p(() => a.hideable && d.value ? "password" : a.type), m = p(() => a.hideable && d.value ? n("Show input value") : n("Hide input value")), { id: h, value: y, rules: _, required: N } = te(a), A = pe(h), B = ae(y, {
1399
- onChange: (k) => {
1400
- o("input", k);
1372
+ const a = l, o = t, s = De(), i = vt(), { t: n } = ve(), r = E(!1), u = E(!0), p = f(() => a.hideable && u.value ? "password" : a.type), m = f(() => a.hideable && u.value ? n("Show input value") : n("Hide input value")), { id: h, value: $, rules: C, required: N } = te(a), A = pe(h), B = le($, {
1373
+ onChange: (L) => {
1374
+ o("input", L);
1401
1375
  }
1402
- }), v = I(null), {
1403
- message: E,
1376
+ }), v = E(null), {
1377
+ message: I,
1404
1378
  valid: D,
1405
1379
  listeners: Y,
1406
- startValidating: le
1407
- } = Le({
1380
+ startValidating: se
1381
+ } = ke({
1408
1382
  id: A,
1409
1383
  value: B,
1410
- rules: _,
1384
+ rules: C,
1411
1385
  required: N,
1412
- validateOn: p(() => a.validateOnBlur ? "blur" : "input"),
1386
+ validateOn: f(() => a.validateOnBlur ? "blur" : "input"),
1413
1387
  field: v
1414
- }), Z = p(() => !D.value || !!a.errorMessage), H = K("prepend-inner"), T = K("append"), C = K("message"), V = () => {
1415
- d.value = !d.value, o("click:hide", d.value);
1416
- }, oe = (k) => {
1417
- const j = k.target;
1418
- j.value !== B.value && (B.value = j.value, Y.input(k));
1419
- }, me = (k) => {
1420
- Y.change(k);
1421
- const j = k.target;
1422
- o("change", j.value);
1423
- }, ne = (k) => {
1424
- r.value = !0, o("focus", k);
1425
- }, be = (k) => {
1426
- r.value = !1, Y.blur(k), o("blur", k);
1427
- }, ie = () => {
1388
+ }), j = f(() => !D.value || !!a.errorMessage), H = K("prepend-inner"), k = K("append"), _ = K("message"), F = () => {
1389
+ u.value = !u.value, o("click:hide", u.value);
1390
+ }, ie = (L) => {
1391
+ const Z = L.target;
1392
+ Z.value !== B.value && (B.value = Z.value, Y.input(L));
1393
+ }, ne = (L) => {
1394
+ Y.change(L);
1395
+ const Z = L.target;
1396
+ o("change", Z.value);
1397
+ }, ae = (L) => {
1398
+ r.value = !0, o("focus", L);
1399
+ }, re = (L) => {
1400
+ r.value = !1, Y.blur(L), o("blur", L);
1401
+ }, Kt = () => {
1428
1402
  o("input", "");
1429
- }, re = () => {
1430
- var k;
1431
- (k = v.value) == null || k.focus();
1403
+ }, Jt = () => {
1404
+ v.value?.focus();
1432
1405
  }, Qt = () => {
1433
- var k;
1434
- (k = v.value) == null || k.blur();
1406
+ v.value?.blur();
1435
1407
  };
1436
1408
  Q(() => {
1437
1409
  !a.label && !i.label && !a.ariaLabel && console.error(
1438
1410
  "Missing CTextField label. Please provide a label prop, an ariaLabel prop or pass a label via the label slot."
1439
1411
  );
1440
- }), e({ input: v, focus: re, blur: Qt, startValidating: le });
1441
- const xt = p(() => {
1442
- const { class: k, style: j, ...se } = s;
1443
- return se;
1444
- }), ea = p(() => s.style);
1445
- return (k, j) => (f(), g("div", {
1446
- class: O(["c-text-field", [
1412
+ }), e({ input: v, focus: Jt, blur: Qt, startValidating: se });
1413
+ const xt = f(() => {
1414
+ const { class: L, style: Z, ...oe } = s;
1415
+ return oe;
1416
+ }), ea = f(() => s.style);
1417
+ return (L, Z) => (c(), g("div", {
1418
+ class: V(["c-text-field", [
1447
1419
  {
1448
- "c-text-field--disabled": k.disabled,
1449
- "c-text-field--invalid": Z.value,
1450
- "c-text-field--hide-label": k.hideLabel,
1420
+ "c-text-field--disabled": L.disabled,
1421
+ "c-text-field--invalid": j.value,
1422
+ "c-text-field--hide-label": L.hideLabel,
1451
1423
  "c-text-field--focused": r.value,
1452
- "c-text-field--medium": k.size === "medium",
1453
- "c-text-field--large": k.size === "large"
1424
+ "c-text-field--medium": L.size === "medium",
1425
+ "c-text-field--large": L.size === "large"
1454
1426
  },
1455
- k.$attrs.class
1427
+ L.$attrs.class
1456
1428
  ]]),
1457
- "data-test": k.dataTest,
1429
+ "data-test": L.dataTest,
1458
1430
  style: x(ea.value)
1459
1431
  }, [
1460
1432
  S("label", {
1461
1433
  class: "c-text-field__label",
1462
- for: u(A),
1463
- "data-test": `${k.dataTest}-label`
1434
+ for: d(A),
1435
+ "data-test": `${L.dataTest}-label`
1464
1436
  }, [
1465
- b(k.$slots, "label", {}, () => [
1466
- G(F(k.label), 1)
1437
+ b(L.$slots, "label", {}, () => [
1438
+ q(O(L.label), 1)
1467
1439
  ], !0)
1468
- ], 8, Gl),
1469
- S("div", ql, [
1470
- u(H) ? (f(), g("div", {
1440
+ ], 8, ql),
1441
+ S("div", Gl, [
1442
+ d(H) ? (c(), g("div", {
1471
1443
  key: 0,
1472
1444
  class: "c-text-field__prefix",
1473
- "data-test": `${k.dataTest}-prefix`
1445
+ "data-test": `${L.dataTest}-prefix`
1474
1446
  }, [
1475
- b(k.$slots, "prepend-inner", {}, void 0, !0)
1476
- ], 8, Zl)) : R("", !0),
1447
+ b(L.$slots, "prepend-inner", {}, void 0, !0)
1448
+ ], 8, jl)) : R("", !0),
1477
1449
  S("input", U(xt.value, {
1478
- id: u(A),
1450
+ id: d(A),
1479
1451
  ref_key: "input",
1480
1452
  ref: v,
1481
1453
  class: ["c-text-field__input", {
1482
- "c-text-field__input--has-prefix": u(H),
1483
- "c-text-field__input--has-suffix": u(T),
1484
- "c-text-field__input--clearable": k.clearable && u(y),
1485
- "c-text-field__input--hideable": k.hideable
1454
+ "c-text-field__input--has-prefix": d(H),
1455
+ "c-text-field__input--has-suffix": d(k),
1456
+ "c-text-field__input--clearable": L.clearable && d($),
1457
+ "c-text-field__input--hideable": L.hideable
1486
1458
  }],
1487
- "data-test": `${k.dataTest}-input`,
1488
- "aria-label": k.ariaLabel || k.label || void 0,
1489
- "aria-describedby": `${u(A)}-validation-message ${u(A)}-message`,
1490
- "aria-invalid": Z.value ? "true" : "false",
1491
- type: c.value,
1492
- placeholder: k.placeholder,
1493
- minlength: k.minlength,
1494
- maxlength: k.maxlength,
1495
- disabled: k.disabled,
1496
- value: u(B),
1497
- inputmode: k.inputmode,
1498
- required: u(N),
1499
- onKeyup: j[0] || (j[0] = (se) => k.$emit("keyup", se)),
1500
- onKeydown: j[1] || (j[1] = (se) => k.$emit("keydown", se)),
1501
- onKeypress: j[2] || (j[2] = (se) => k.$emit("keypress", se)),
1502
- onClick: j[3] || (j[3] = (se) => k.$emit("click", se)),
1503
- onInput: oe,
1504
- onChange: me,
1505
- onFocus: ne,
1506
- onBlur: be
1507
- }), null, 16, jl),
1508
- k.clearable && u(y) ? (f(), M(ke, {
1459
+ "data-test": `${L.dataTest}-input`,
1460
+ "aria-label": L.ariaLabel || L.label || void 0,
1461
+ "aria-describedby": `${d(A)}-validation-message ${d(A)}-message`,
1462
+ "aria-invalid": j.value ? "true" : "false",
1463
+ type: p.value,
1464
+ placeholder: L.placeholder,
1465
+ minlength: L.minlength,
1466
+ maxlength: L.maxlength,
1467
+ disabled: L.disabled,
1468
+ value: d(B),
1469
+ inputmode: L.inputmode,
1470
+ required: d(N),
1471
+ onKeyup: Z[0] || (Z[0] = (oe) => L.$emit("keyup", oe)),
1472
+ onKeydown: Z[1] || (Z[1] = (oe) => L.$emit("keydown", oe)),
1473
+ onKeypress: Z[2] || (Z[2] = (oe) => L.$emit("keypress", oe)),
1474
+ onClick: Z[3] || (Z[3] = (oe) => L.$emit("click", oe)),
1475
+ onInput: ie,
1476
+ onChange: ne,
1477
+ onFocus: ae,
1478
+ onBlur: re
1479
+ }), null, 16, Zl),
1480
+ L.clearable && d($) ? (c(), M(ye, {
1509
1481
  key: 1,
1510
- "aria-label": k.$t("Clear"),
1511
- "data-test": `${k.dataTest}-clear`,
1482
+ "aria-label": L.$t("Clear"),
1483
+ "data-test": `${L.dataTest}-clear`,
1512
1484
  class: "c-text-field__clear-btn c-text-field__suffix-btn",
1513
1485
  type: "button",
1514
1486
  tertiary: "",
1515
- icon: u(Re),
1516
- onClick: ie
1487
+ icon: d(Be),
1488
+ onClick: Kt
1517
1489
  }, null, 8, ["aria-label", "data-test", "icon"])) : R("", !0),
1518
- k.hideable ? (f(), M(ke, {
1490
+ L.hideable ? (c(), M(ye, {
1519
1491
  key: 2,
1520
1492
  "aria-label": m.value,
1521
- "data-test": `${k.dataTest}-hide-toggle`,
1522
- "data-hidden": d.value || void 0,
1493
+ "data-test": `${L.dataTest}-hide-toggle`,
1494
+ "data-hidden": u.value || void 0,
1523
1495
  class: "c-text-field__suffix-btn",
1524
1496
  type: "button",
1525
1497
  tertiary: "",
1526
- icon: d.value ? u(na) : u(ia),
1527
- onClick: V
1498
+ icon: u.value ? d(na) : d(ia),
1499
+ onClick: F
1528
1500
  }, null, 8, ["aria-label", "data-test", "data-hidden", "icon"])) : R("", !0),
1529
- u(T) ? (f(), g("div", {
1501
+ d(k) ? (c(), g("div", {
1530
1502
  key: 3,
1531
1503
  class: "c-text-field__suffix",
1532
- "data-test": `${k.dataTest}-suffix`
1504
+ "data-test": `${L.dataTest}-suffix`
1533
1505
  }, [
1534
- b(k.$slots, "append", {}, void 0, !0)
1506
+ b(L.$slots, "append", {}, void 0, !0)
1535
1507
  ], 8, Wl)) : R("", !0)
1536
1508
  ]),
1537
- P(ye, {
1538
- id: `${u(A)}-validation-message`,
1509
+ P(_e, {
1510
+ id: `${d(A)}-validation-message`,
1539
1511
  class: "c-text-field__validation-message",
1540
- "data-test": `${k.dataTest}-validation-message`,
1541
- "validation-message": k.errorMessage || u(E),
1542
- hide: k.hideDetails
1512
+ "data-test": `${L.dataTest}-validation-message`,
1513
+ "validation-message": L.errorMessage || d(I),
1514
+ hide: L.hideDetails
1543
1515
  }, {
1544
1516
  append: w(() => [
1545
- k.counter ? (f(), M(Ht, {
1517
+ L.counter ? (c(), M(Vt, {
1546
1518
  key: 0,
1547
- "data-test": `${k.dataTest}-counter`,
1548
- counter: k.counter,
1549
- "counter-value": k.counterValue !== null ? k.counterValue : void 0,
1550
- value: u(B)
1519
+ "data-test": `${L.dataTest}-counter`,
1520
+ counter: L.counter,
1521
+ "counter-value": L.counterValue !== null ? L.counterValue : void 0,
1522
+ value: d(B)
1551
1523
  }, null, 8, ["data-test", "counter", "counter-value", "value"])) : R("", !0)
1552
1524
  ]),
1553
1525
  _: 1
1554
1526
  }, 8, ["id", "data-test", "validation-message", "hide"]),
1555
- u(C) ? (f(), g("div", {
1527
+ d(_) ? (c(), g("div", {
1556
1528
  key: 0,
1557
- id: `${u(A)}-message`,
1529
+ id: `${d(A)}-message`,
1558
1530
  class: "c-text-field__message",
1559
- "data-test": `${k.dataTest}-message`
1531
+ "data-test": `${L.dataTest}-message`
1560
1532
  }, [
1561
- b(k.$slots, "message", {}, void 0, !0)
1533
+ b(L.$slots, "message", {}, void 0, !0)
1562
1534
  ], 8, Xl)) : R("", !0)
1563
1535
  ], 14, zl));
1564
1536
  }
1565
- }), Ke = /* @__PURE__ */ L(Kl, [["__scopeId", "data-v-13e975d5"]]), Pt = (l) => {
1537
+ }), We = /* @__PURE__ */ T(Kl, [["__scopeId", "data-v-13e975d5"]]), Ht = (l) => {
1566
1538
  if (l === null || l === "")
1567
1539
  return null;
1568
1540
  if (typeof l == "number")
@@ -1573,23 +1545,23 @@ const zl = ["data-test"], Gl = ["for", "data-test"], ql = { class: "c-text-field
1573
1545
  }
1574
1546
  };
1575
1547
  function Jl(l, e, t) {
1576
- const a = ae(e), o = p(() => {
1577
- const r = t.value.onMaska, d = Array.isArray(r) ? r : r ? [r] : [];
1548
+ const a = le(e), o = f(() => {
1549
+ const r = t.value.onMaska, u = Array.isArray(r) ? r : r ? [r] : [];
1578
1550
  return {
1579
1551
  ...t.value,
1580
1552
  onMaska: [
1581
- (c) => {
1582
- a.value = c.unmasked;
1553
+ (p) => {
1554
+ a.value = p.unmasked;
1583
1555
  },
1584
- ...d
1556
+ ...u
1585
1557
  ]
1586
1558
  };
1587
1559
  });
1588
1560
  let s = null;
1589
- q(l, (r) => {
1590
- r ? s = new ba(r, o.value) : (s == null || s.destroy(), s = null);
1561
+ G(l, (r) => {
1562
+ r ? s = new ba(r, o.value) : (s?.destroy(), s = null);
1591
1563
  });
1592
- const i = p(() => new ga(o.value)), n = p(() => i.value ? i.value.masked(a.value) : e.value);
1564
+ const i = f(() => new ga(o.value)), n = f(() => i.value ? i.value.masked(a.value) : e.value);
1593
1565
  return {
1594
1566
  mask: i,
1595
1567
  maskedValue: n,
@@ -1597,22 +1569,22 @@ function Jl(l, e, t) {
1597
1569
  };
1598
1570
  }
1599
1571
  function Ql(l, e, t) {
1600
- const a = p(() => ["#", "@", "*", ...Object.keys(t.value.tokens ?? {})]), o = (i, n) => {
1601
- const r = i.split(""), d = r.findIndex((c, m) => r.slice(0, m + 1).filter((y) => a.value.includes(y)).length === n);
1602
- return d === -1 ? i.length : d + 1;
1572
+ const a = f(() => ["#", "@", "*", ...Object.keys(t.value.tokens ?? {})]), o = (i, n) => {
1573
+ const r = i.split(""), u = r.findIndex((p, m) => r.slice(0, m + 1).filter(($) => a.value.includes($)).length === n);
1574
+ return u === -1 ? i.length : u + 1;
1603
1575
  };
1604
- return p(() => {
1605
- const i = t.value.mask, n = Pt(l.value);
1576
+ return f(() => {
1577
+ const i = t.value.mask, n = Ht(l.value);
1606
1578
  return n ? i ? typeof i == "function" ? o(i(e.value), n) : typeof i == "string" ? o(i, n) : Array.isArray(i) ? Math.min(...i.map((r) => o(r, n))) : n : n : null;
1607
1579
  });
1608
1580
  }
1609
1581
  function xl(l, e) {
1610
- return p(() => {
1611
- const t = e.value.mask, a = Pt(l.value);
1582
+ return f(() => {
1583
+ const t = e.value.mask, a = Ht(l.value);
1612
1584
  return a ? t ? Math.max(a, t.length) : a : null;
1613
1585
  });
1614
1586
  }
1615
- const $e = /* @__PURE__ */ $({
1587
+ const Ce = /* @__PURE__ */ y({
1616
1588
  __name: "CMaskedTextField",
1617
1589
  props: {
1618
1590
  counter: { default: null },
@@ -1630,10 +1602,7 @@ const $e = /* @__PURE__ */ $({
1630
1602
  },
1631
1603
  emits: ["keyup", "keydown", "keypress", "input", "focus", "blur", "change", "input:masked"],
1632
1604
  setup(l, { expose: e, emit: t }) {
1633
- const a = l, o = t, { minlength: s, maxlength: i, value: n } = te(a), r = I(null), d = p(() => {
1634
- var v;
1635
- return ((v = r.value) == null ? void 0 : v.input) ?? null;
1636
- }), c = p(() => ({
1605
+ const a = l, o = t, { minlength: s, maxlength: i, value: n } = te(a), r = E(null), u = f(() => r.value?.input ?? null), p = f(() => ({
1637
1606
  mask: a.mask,
1638
1607
  tokens: {
1639
1608
  // NOTE (ej): For the EBT Card Number we accept a mask 'N' from the server
@@ -1644,31 +1613,30 @@ const $e = /* @__PURE__ */ $({
1644
1613
  onMaska: (v) => {
1645
1614
  o("input", v.unmasked), o("input:masked", v.masked);
1646
1615
  }
1647
- })), { maskedValue: m, mask: h, unmaskedValue: y } = Jl(d, n, c), _ = Ql(s, n, c), N = xl(i, c), A = p(() => y.value.length), B = p(() => a.rules.map((v) => (E) => {
1648
- var Y;
1649
- const D = ((Y = h.value) == null ? void 0 : Y.unmasked(E)) ?? E;
1616
+ })), { maskedValue: m, mask: h, unmaskedValue: $ } = Jl(u, n, p), C = Ql(s, n, p), N = xl(i, p), A = f(() => $.value.length), B = f(() => a.rules.map((v) => (I) => {
1617
+ const D = h.value?.unmasked(I) ?? I;
1650
1618
  return v(D);
1651
1619
  }));
1652
- return e({ input: d }), (v, E) => (f(), M(Ke, U(v.$attrs, {
1620
+ return e({ input: u }), (v, I) => (c(), M(We, U(v.$attrs, {
1653
1621
  id: v.id,
1654
1622
  ref_key: "textField",
1655
1623
  ref: r,
1656
1624
  "data-test": v.dataTest,
1657
1625
  "data-mask": v.mask,
1658
- value: u(m),
1626
+ value: d(m),
1659
1627
  label: v.label,
1660
1628
  placeholder: v.placeholder,
1661
- minlength: u(_) !== null ? u(_) : void 0,
1662
- maxlength: u(N) !== null ? u(N) : void 0,
1629
+ minlength: d(C) !== null ? d(C) : void 0,
1630
+ maxlength: d(N) !== null ? d(N) : void 0,
1663
1631
  rules: v.unmaskRules ? B.value : v.rules,
1664
1632
  counter: v.counter,
1665
1633
  "counter-value": A.value,
1666
- onKeyup: E[0] || (E[0] = (D) => v.$emit("keyup", D)),
1667
- onKeydown: E[1] || (E[1] = (D) => v.$emit("keydown", D)),
1668
- onKeypress: E[2] || (E[2] = (D) => v.$emit("keypress", D)),
1669
- onBlur: E[3] || (E[3] = (D) => v.$emit("blur", D)),
1670
- onFocus: E[4] || (E[4] = (D) => v.$emit("focus", D)),
1671
- onChange: E[5] || (E[5] = (D) => v.$emit("change", D))
1634
+ onKeyup: I[0] || (I[0] = (D) => v.$emit("keyup", D)),
1635
+ onKeydown: I[1] || (I[1] = (D) => v.$emit("keydown", D)),
1636
+ onKeypress: I[2] || (I[2] = (D) => v.$emit("keypress", D)),
1637
+ onBlur: I[3] || (I[3] = (D) => v.$emit("blur", D)),
1638
+ onFocus: I[4] || (I[4] = (D) => v.$emit("focus", D)),
1639
+ onChange: I[5] || (I[5] = (D) => v.$emit("change", D))
1672
1640
  }), {
1673
1641
  label: w(() => [
1674
1642
  b(v.$slots, "label")
@@ -1702,7 +1670,7 @@ function as(l) {
1702
1670
  function ls(l, e) {
1703
1671
  return (t) => t && l(t) ? !0 : e;
1704
1672
  }
1705
- function Te(l, e) {
1673
+ function $e(l, e) {
1706
1674
  return ls(as(l), e);
1707
1675
  }
1708
1676
  function ss(l, e) {
@@ -1716,7 +1684,7 @@ function os(l) {
1716
1684
  l
1717
1685
  );
1718
1686
  }
1719
- const ns = /* @__PURE__ */ $({
1687
+ const ns = /* @__PURE__ */ y({
1720
1688
  __name: "CDobField",
1721
1689
  props: {
1722
1690
  dataTest: { default: "dob-field" },
@@ -1734,11 +1702,11 @@ const ns = /* @__PURE__ */ $({
1734
1702
  return v;
1735
1703
  if (!v)
1736
1704
  return "";
1737
- const [E, D, Y] = v.split("-");
1738
- return !E || !D || !Y ? (console.warn(`Invalid date format. Expected YYYY-MM-DD, received: ${v}.`), "") : `${D}${Y}${E}`;
1739
- }, i = I(s(t.value));
1705
+ const [I, D, Y] = v.split("-");
1706
+ return !I || !D || !Y ? (console.warn(`Invalid date format. Expected YYYY-MM-DD, received: ${v}.`), "") : `${D}${Y}${I}`;
1707
+ }, i = E(s(t.value));
1740
1708
  let n = t.value;
1741
- q(
1709
+ G(
1742
1710
  () => t.value,
1743
1711
  (v) => {
1744
1712
  v !== n && (i.value = t.yearOnly ? v : s(v));
@@ -1748,26 +1716,26 @@ const ns = /* @__PURE__ */ $({
1748
1716
  if (t.yearOnly)
1749
1717
  a("input", v);
1750
1718
  else {
1751
- const E = v.substring(0, 2), D = v.substring(2, 4), Y = v.substring(4, 8);
1752
- n = Y && E && D ? `${Y}-${E}-${D}` : "", a("input", n);
1719
+ const I = v.substring(0, 2), D = v.substring(2, 4), Y = v.substring(4, 8);
1720
+ n = Y && I && D ? `${Y}-${I}-${D}` : "", a("input", n);
1753
1721
  }
1754
- }, d = p(() => t.yearOnly ? o("Year of birth") : o("Date of birth")), c = p(() => t.yearOnly ? o("YYYY") : o("MM/DD/YYYY")), m = p(() => {
1722
+ }, u = f(() => t.yearOnly ? o("Year of birth") : o("Date of birth")), p = f(() => t.yearOnly ? o("YYYY") : o("MM/DD/YYYY")), m = f(() => {
1755
1723
  const v = t.yearOnly ? o("year of birth") : o("date of birth");
1756
1724
  return o("Please enter a valid {inputLabel}", { inputLabel: v });
1757
- }), h = p(() => {
1758
- const v = Te(t.yearOnly ? 4 : 10, m.value), E = (Y) => ss(0, 125)(Y) || m.value, D = (Y) => ge(Y, "MM/DD/YYYY", !0).isValid() || m.value;
1759
- return [v, E, t.yearOnly ? void 0 : D].filter(
1725
+ }), h = f(() => {
1726
+ const v = $e(t.yearOnly ? 4 : 10, m.value), I = (Y) => ss(0, 125)(Y) || m.value, D = (Y) => me(Y, "MM/DD/YYYY", !0).isValid() || m.value;
1727
+ return [v, I, t.yearOnly ? void 0 : D].filter(
1760
1728
  Boolean
1761
1729
  );
1762
- }), y = p(() => t.label || d.value), _ = p(() => t.placeholder || c.value), N = p(() => [...h.value, ...t.rules]), A = p(() => t.yearOnly ? 4 : 8), B = p(() => t.yearOnly ? "####" : "##/##/####");
1763
- return (v, E) => (f(), M($e, U(v.$attrs, {
1730
+ }), $ = f(() => t.label || u.value), C = f(() => t.placeholder || p.value), N = f(() => [...h.value, ...t.rules]), A = f(() => t.yearOnly ? 4 : 8), B = f(() => t.yearOnly ? "####" : "##/##/####");
1731
+ return (v, I) => (c(), M(Ce, U(v.$attrs, {
1764
1732
  id: v.id,
1765
1733
  "data-test": v.dataTest,
1766
1734
  value: i.value,
1767
1735
  inputmode: "numeric",
1768
1736
  name: "dob",
1769
- label: y.value,
1770
- placeholder: _.value,
1737
+ label: $.value,
1738
+ placeholder: C.value,
1771
1739
  mask: B.value,
1772
1740
  minlength: A.value,
1773
1741
  maxlength: A.value,
@@ -1775,9 +1743,9 @@ const ns = /* @__PURE__ */ $({
1775
1743
  rules: N.value,
1776
1744
  autocorrect: "off",
1777
1745
  autocapitalize: "none",
1778
- onBlur: E[0] || (E[0] = (D) => v.$emit("blur", D)),
1779
- onFocus: E[1] || (E[1] = (D) => v.$emit("focus", D)),
1780
- onInput: E[2] || (E[2] = (D) => r(D))
1746
+ onBlur: I[0] || (I[0] = (D) => v.$emit("blur", D)),
1747
+ onFocus: I[1] || (I[1] = (D) => v.$emit("focus", D)),
1748
+ onInput: I[2] || (I[2] = (D) => r(D))
1781
1749
  }), {
1782
1750
  label: w(() => [
1783
1751
  b(v.$slots, "label")
@@ -1793,7 +1761,7 @@ const ns = /* @__PURE__ */ $({
1793
1761
  value: "",
1794
1762
  disabled: "",
1795
1763
  selected: ""
1796
- }, fs = ["value", "disabled"], ps = /* @__PURE__ */ $({
1764
+ }, fs = ["value", "disabled"], ps = /* @__PURE__ */ y({
1797
1765
  __name: "CSelect",
1798
1766
  props: {
1799
1767
  ariaLabel: { default: void 0 },
@@ -1812,86 +1780,86 @@ const ns = /* @__PURE__ */ $({
1812
1780
  },
1813
1781
  emits: ["input", "focus", "blur", "keydown"],
1814
1782
  setup(l, { expose: e, emit: t }) {
1815
- const a = l, o = t, { id: s, value: i, rules: n, required: r } = te(a), d = pe(s), c = ae(i, {
1783
+ const a = l, o = t, { id: s, value: i, rules: n, required: r } = te(a), u = pe(s), p = le(i, {
1816
1784
  onChange: (v) => o("input", v)
1817
- }), m = I(null), {
1785
+ }), m = E(null), {
1818
1786
  message: h,
1819
- valid: y,
1820
- listeners: _,
1787
+ valid: $,
1788
+ listeners: C,
1821
1789
  startValidating: N,
1822
1790
  clearValidations: A
1823
- } = Le({
1824
- id: d,
1791
+ } = ke({
1792
+ id: u,
1825
1793
  field: m,
1826
- value: c,
1794
+ value: p,
1827
1795
  rules: n,
1828
1796
  required: r,
1829
1797
  validateOn: "blur"
1830
1798
  });
1831
1799
  function B(v) {
1832
- const E = v.target;
1833
- c.value = E.value;
1800
+ const I = v.target;
1801
+ p.value = I.value;
1834
1802
  }
1835
- return e({ startValidating: N, clearValidations: A }), (v, E) => (f(), g("div", {
1836
- class: O(["c-select", {
1803
+ return e({ startValidating: N, clearValidations: A }), (v, I) => (c(), g("div", {
1804
+ class: V(["c-select", {
1837
1805
  "c-select--disabled": v.disabled,
1838
- "c-select--invalid": !u(y)
1806
+ "c-select--invalid": !d($)
1839
1807
  }]),
1840
1808
  "data-test": v.dataTest
1841
1809
  }, [
1842
1810
  S("label", {
1843
- for: u(s),
1844
- class: O(["c-select__label", { "c-select__label--hidden": v.hideLabel }]),
1811
+ for: d(s),
1812
+ class: V(["c-select__label", { "c-select__label--hidden": v.hideLabel }]),
1845
1813
  "data-test": `${v.dataTest}-label`
1846
1814
  }, [
1847
1815
  b(v.$slots, "label", {}, () => [
1848
- G(F(v.label), 1)
1816
+ q(O(v.label), 1)
1849
1817
  ], !0)
1850
1818
  ], 10, rs),
1851
1819
  S("div", ds, [
1852
1820
  S("select", U({
1853
- id: u(s),
1821
+ id: d(s),
1854
1822
  ref_key: "select",
1855
1823
  ref: m,
1856
1824
  class: ["c-select__input", {
1857
- "c-select__input--has-value": u(c) && !v.disabled,
1858
- "c-select__input--invalid": !u(y),
1825
+ "c-select__input--has-value": d(p) && !v.disabled,
1826
+ "c-select__input--invalid": !d($),
1859
1827
  "c-select__input--loading": v.loading,
1860
1828
  "c-select__input--disabled": v.disabled
1861
1829
  }],
1862
1830
  "aria-label": v.ariaLabel || v.label,
1863
1831
  "data-test": `${v.dataTest}-select`,
1864
- value: u(c),
1832
+ value: d(p),
1865
1833
  disabled: v.disabled,
1866
- required: u(r),
1834
+ required: d(r),
1867
1835
  onInput: B,
1868
- onFocus: E[0] || (E[0] = (D) => v.$emit("focus", D)),
1869
- onBlur: E[1] || (E[1] = (D) => v.$emit("blur", D)),
1870
- onKeydown: E[2] || (E[2] = (D) => v.$emit("keydown", D))
1871
- }, Be(u(_), !0)), [
1872
- v.placeholder ? (f(), g("option", cs, F(v.placeholder), 1)) : R("", !0),
1873
- (f(!0), g(ce, null, fe(v.items, (D) => (f(), g("option", {
1836
+ onFocus: I[0] || (I[0] = (D) => v.$emit("focus", D)),
1837
+ onBlur: I[1] || (I[1] = (D) => v.$emit("blur", D)),
1838
+ onKeydown: I[2] || (I[2] = (D) => v.$emit("keydown", D))
1839
+ }, Se(d(C), !0)), [
1840
+ v.placeholder ? (c(), g("option", cs, O(v.placeholder), 1)) : R("", !0),
1841
+ (c(!0), g(ce, null, fe(v.items, (D) => (c(), g("option", {
1874
1842
  key: D.value,
1875
1843
  value: D.value,
1876
1844
  disabled: D.disabled,
1877
1845
  "data-test": "option"
1878
- }, F(D.label), 9, fs))), 128))
1846
+ }, O(D.label), 9, fs))), 128))
1879
1847
  ], 16, us),
1880
- v.loading ? (f(), M(Me, {
1848
+ v.loading ? (c(), M(we, {
1881
1849
  key: 0,
1882
1850
  small: "",
1883
1851
  class: "c-select__icon",
1884
1852
  "data-test": "select-icon-loading"
1885
- })) : (f(), M(u(z), {
1853
+ })) : (c(), M(d(z), {
1886
1854
  key: 1,
1887
1855
  class: "c-select__icon",
1888
- icon: u(qe)
1856
+ icon: d(ze)
1889
1857
  }, null, 8, ["icon"]))
1890
1858
  ]),
1891
- P(ye, {
1859
+ P(_e, {
1892
1860
  class: "c-select__message",
1893
1861
  "data-test": `${v.dataTest}-message`,
1894
- "validation-message": u(h),
1862
+ "validation-message": d(h),
1895
1863
  hide: v.hideDetails
1896
1864
  }, {
1897
1865
  default: w(() => [
@@ -1901,7 +1869,7 @@ const ns = /* @__PURE__ */ $({
1901
1869
  }, 8, ["data-test", "validation-message", "hide"])
1902
1870
  ], 10, is));
1903
1871
  }
1904
- }), Se = /* @__PURE__ */ L(ps, [["__scopeId", "data-v-14768c38"]]), vs = ["id", "data-test"], ms = ["for", "data-test"], bs = { class: "c-dob-select__container" }, gs = /* @__PURE__ */ $({
1872
+ }), Ee = /* @__PURE__ */ T(ps, [["__scopeId", "data-v-14768c38"]]), vs = ["id", "data-test"], ms = ["for", "data-test"], bs = { class: "c-dob-select__container" }, gs = /* @__PURE__ */ y({
1905
1873
  __name: "CDobSelect",
1906
1874
  props: {
1907
1875
  dataTest: { default: "dob-select" },
@@ -1916,124 +1884,124 @@ const ns = /* @__PURE__ */ $({
1916
1884
  },
1917
1885
  emits: ["input", "focus", "blur"],
1918
1886
  setup(l, { emit: e }) {
1919
- const t = l, a = e, { t: o } = ve(), s = p(() => t.label ?? o("Date of birth")), i = I(""), n = I(""), r = I(""), d = I(t.required && t.value === ""), c = I([]), m = p(() => n.value && i.value && r.value ? `${r.value}-${i.value}-${n.value}` : ""), h = p(() => !t.required && !i.value ? [] : [() => i.value !== ""]), y = p(() => !t.required && !n.value ? [] : [() => n.value !== ""]), _ = p(() => !t.required && !r.value ? [] : [() => r.value !== ""]), N = p(() => c.value[0] ?? ""), A = Array.from({ length: 12 }, (T, C) => ({
1920
- value: (C + 1).toString().padStart(2, "0"),
1921
- label: ge().set("month", C).format("MMM")
1922
- })), B = p(() => {
1923
- const T = Number(r.value) || 2e3, C = Number(i.value) - 1 || 0, V = ge().year(T).month(C).daysInMonth();
1924
- return Array.from({ length: V }, (oe, me) => {
1925
- const ne = (me + 1).toString();
1926
- return { value: ne.padStart(2, "0"), label: ne };
1887
+ const t = l, a = e, { t: o } = ve(), s = f(() => t.label ?? o("Date of birth")), i = E(""), n = E(""), r = E(""), u = E(t.required && t.value === ""), p = E([]), m = f(() => n.value && i.value && r.value ? `${r.value}-${i.value}-${n.value}` : ""), h = f(() => !t.required && !i.value ? [] : [() => i.value !== ""]), $ = f(() => !t.required && !n.value ? [] : [() => n.value !== ""]), C = f(() => !t.required && !r.value ? [] : [() => r.value !== ""]), N = f(() => p.value[0] ?? ""), A = Array.from({ length: 12 }, (k, _) => ({
1888
+ value: (_ + 1).toString().padStart(2, "0"),
1889
+ label: me().set("month", _).format("MMM")
1890
+ })), B = f(() => {
1891
+ const k = Number(r.value) || 2e3, _ = Number(i.value) - 1 || 0, F = me().year(k).month(_).daysInMonth();
1892
+ return Array.from({ length: F }, (ie, ne) => {
1893
+ const ae = (ne + 1).toString();
1894
+ return { value: ae.padStart(2, "0"), label: ae };
1927
1895
  });
1928
- }), v = ge().year(), E = Array.from({ length: 120 }, (T, C) => {
1929
- const V = (v - C).toString();
1930
- return { value: V, label: V };
1896
+ }), v = me().year(), I = Array.from({ length: 120 }, (k, _) => {
1897
+ const F = (v - _).toString();
1898
+ return { value: F, label: F };
1931
1899
  }), D = o("Please enter a valid {inputLabel}", {
1932
1900
  inputLabel: o("date of birth")
1933
- }), Y = p(() => !t.required && !m.value ? [] : [(C) => ge(C, "YYYY-MM-DD", !0).isValid() || D, ...t.rules]), le = p(() => !d.value), Z = () => (c.value = Y.value.map((T) => {
1934
- const C = T(m.value);
1935
- return typeof C == "string" ? C : "";
1936
- }).filter((T) => T !== ""), d.value = t.required && m.value === "" || c.value.length > 0, !d.value), H = () => {
1901
+ }), Y = f(() => !t.required && !m.value ? [] : [(_) => me(_, "YYYY-MM-DD", !0).isValid() || D, ...t.rules]), se = f(() => !u.value), j = () => (p.value = Y.value.map((k) => {
1902
+ const _ = k(m.value);
1903
+ return typeof _ == "string" ? _ : "";
1904
+ }).filter((k) => k !== ""), u.value = t.required && m.value === "" || p.value.length > 0, !u.value), H = () => {
1937
1905
  if (m.value) {
1938
- if (!Z()) {
1906
+ if (!j()) {
1939
1907
  n.value = "", a("input", "");
1940
1908
  return;
1941
1909
  }
1942
1910
  a("input", m.value);
1943
1911
  }
1944
1912
  };
1945
- return q(
1913
+ return G(
1946
1914
  () => t.value,
1947
- (T) => {
1948
- if (!T || T === m.value)
1915
+ (k) => {
1916
+ if (!k || k === m.value)
1949
1917
  return;
1950
- const C = ge(T, "YYYY-MM-DD", !0);
1951
- if (!C.isValid()) {
1952
- console.error("Invalid date in CDobSelect", T);
1918
+ const _ = me(k, "YYYY-MM-DD", !0);
1919
+ if (!_.isValid()) {
1920
+ console.error("Invalid date in CDobSelect", k);
1953
1921
  return;
1954
1922
  }
1955
- i.value = C.format("MM"), n.value = C.format("DD"), r.value = C.format("YYYY");
1923
+ i.value = _.format("MM"), n.value = _.format("DD"), r.value = _.format("YYYY");
1956
1924
  },
1957
1925
  { immediate: !0 }
1958
- ), Vt({
1926
+ ), Mt({
1959
1927
  id: t.id,
1960
- valid: le,
1961
- validate: Z
1962
- }), (T, C) => (f(), g("div", {
1963
- id: T.id,
1928
+ valid: se,
1929
+ validate: j
1930
+ }), (k, _) => (c(), g("div", {
1931
+ id: k.id,
1964
1932
  class: "c-dob-select",
1965
- "data-test": T.dataTest
1933
+ "data-test": k.dataTest
1966
1934
  }, [
1967
- b(T.$slots, "label", {}, () => [
1968
- T.hideLabel ? R("", !0) : (f(), g("label", {
1935
+ b(k.$slots, "label", {}, () => [
1936
+ k.hideLabel ? R("", !0) : (c(), g("label", {
1969
1937
  key: 0,
1970
1938
  class: "c-dob-select__label",
1971
- for: `${T.id}-month`,
1972
- "data-test": `${T.dataTest}-label`
1973
- }, F(s.value), 9, ms))
1939
+ for: `${k.id}-month`,
1940
+ "data-test": `${k.dataTest}-label`
1941
+ }, O(s.value), 9, ms))
1974
1942
  ], !0),
1975
1943
  S("div", bs, [
1976
- P(Se, {
1977
- id: `${T.id}-month`,
1944
+ P(Ee, {
1945
+ id: `${k.id}-month`,
1978
1946
  class: "c-dob-select__field",
1979
1947
  "hide-label": "",
1980
1948
  "hide-details": "",
1981
1949
  value: i.value,
1982
- "data-test": `${T.dataTest}-month`,
1983
- "aria-label": T.$t("Month"),
1984
- placeholder: T.$t("Month"),
1985
- items: u(A),
1950
+ "data-test": `${k.dataTest}-month`,
1951
+ "aria-label": k.$t("Month"),
1952
+ placeholder: k.$t("Month"),
1953
+ items: d(A),
1986
1954
  rules: h.value,
1987
- required: T.required,
1988
- disabled: T.disabled,
1989
- onInput: C[0] || (C[0] = (V) => (i.value = V) && H()),
1990
- onFocus: C[1] || (C[1] = (V) => T.$emit("focus")),
1991
- onBlur: C[2] || (C[2] = (V) => T.$emit("blur"))
1955
+ required: k.required,
1956
+ disabled: k.disabled,
1957
+ onInput: _[0] || (_[0] = (F) => (i.value = F) && H()),
1958
+ onFocus: _[1] || (_[1] = (F) => k.$emit("focus")),
1959
+ onBlur: _[2] || (_[2] = (F) => k.$emit("blur"))
1992
1960
  }, null, 8, ["id", "value", "data-test", "aria-label", "placeholder", "items", "rules", "required", "disabled"]),
1993
- P(Se, {
1994
- id: `${T.id}-day`,
1961
+ P(Ee, {
1962
+ id: `${k.id}-day`,
1995
1963
  class: "c-dob-select__field",
1996
1964
  "hide-label": "",
1997
1965
  "hide-details": "",
1998
1966
  value: n.value,
1999
- "aria-label": T.$t("Day"),
2000
- placeholder: T.$t("Day"),
2001
- "data-test": `${T.dataTest}-day`,
1967
+ "aria-label": k.$t("Day"),
1968
+ placeholder: k.$t("Day"),
1969
+ "data-test": `${k.dataTest}-day`,
2002
1970
  items: B.value,
2003
- rules: y.value,
2004
- required: T.required,
2005
- disabled: T.disabled,
2006
- onInput: C[3] || (C[3] = (V) => (n.value = V) && H()),
2007
- onFocus: C[4] || (C[4] = (V) => T.$emit("focus")),
2008
- onBlur: C[5] || (C[5] = (V) => T.$emit("blur"))
1971
+ rules: $.value,
1972
+ required: k.required,
1973
+ disabled: k.disabled,
1974
+ onInput: _[3] || (_[3] = (F) => (n.value = F) && H()),
1975
+ onFocus: _[4] || (_[4] = (F) => k.$emit("focus")),
1976
+ onBlur: _[5] || (_[5] = (F) => k.$emit("blur"))
2009
1977
  }, null, 8, ["id", "value", "aria-label", "placeholder", "data-test", "items", "rules", "required", "disabled"]),
2010
- P(Se, {
2011
- id: `${T.id}-year`,
1978
+ P(Ee, {
1979
+ id: `${k.id}-year`,
2012
1980
  class: "c-dob-select__field",
2013
1981
  "hide-label": "",
2014
1982
  "hide-details": "",
2015
1983
  value: r.value,
2016
- "aria-label": T.$t("Year"),
2017
- placeholder: T.$t("Year"),
2018
- "data-test": `${T.dataTest}-year`,
2019
- items: u(E),
2020
- rules: _.value,
2021
- required: T.required,
2022
- disabled: T.disabled,
2023
- onInput: C[6] || (C[6] = (V) => (r.value = V) && H()),
2024
- onFocus: C[7] || (C[7] = (V) => T.$emit("focus")),
2025
- onBlur: C[8] || (C[8] = (V) => T.$emit("blur"))
1984
+ "aria-label": k.$t("Year"),
1985
+ placeholder: k.$t("Year"),
1986
+ "data-test": `${k.dataTest}-year`,
1987
+ items: d(I),
1988
+ rules: C.value,
1989
+ required: k.required,
1990
+ disabled: k.disabled,
1991
+ onInput: _[6] || (_[6] = (F) => (r.value = F) && H()),
1992
+ onFocus: _[7] || (_[7] = (F) => k.$emit("focus")),
1993
+ onBlur: _[8] || (_[8] = (F) => k.$emit("blur"))
2026
1994
  }, null, 8, ["id", "value", "aria-label", "placeholder", "data-test", "items", "rules", "required", "disabled"])
2027
1995
  ]),
2028
- P(ye, {
1996
+ P(_e, {
2029
1997
  class: "c-dob-select__messages",
2030
- "data-test": `${T.dataTest}-messages`,
1998
+ "data-test": `${k.dataTest}-messages`,
2031
1999
  "validation-message": N.value,
2032
- hide: T.hideDetails
2000
+ hide: k.hideDetails
2033
2001
  }, null, 8, ["data-test", "validation-message", "hide"])
2034
2002
  ], 8, vs));
2035
2003
  }
2036
- }), hs = /* @__PURE__ */ L(gs, [["__scopeId", "data-v-16260a2c"]]), _s = /* @__PURE__ */ $({
2004
+ }), hs = /* @__PURE__ */ T(gs, [["__scopeId", "data-v-16260a2c"]]), _s = /* @__PURE__ */ y({
2037
2005
  __name: "CEmailField",
2038
2006
  props: {
2039
2007
  dataTest: { default: "email-field" },
@@ -2048,7 +2016,7 @@ const ns = /* @__PURE__ */ $({
2048
2016
  const { t: e } = ve(), t = [
2049
2017
  (a) => !a || os(a) ? !0 : e("Please enter a valid {inputLabel}", { inputLabel: e("email") })
2050
2018
  ];
2051
- return (a, o) => (f(), M(Ke, U(a.$attrs, {
2019
+ return (a, o) => (c(), M(We, U(a.$attrs, {
2052
2020
  id: a.id,
2053
2021
  value: a.value,
2054
2022
  "data-test": a.dataTest,
@@ -2071,18 +2039,18 @@ const ns = /* @__PURE__ */ $({
2071
2039
  _: 3
2072
2040
  }, 16, ["id", "value", "data-test", "rules", "label", "placeholder"]));
2073
2041
  }
2074
- }), Cs = Symbol("animations-disabled"), ys = /* @__PURE__ */ $({
2042
+ }), Cs = /* @__PURE__ */ Symbol("animations-disabled"), ys = /* @__PURE__ */ y({
2075
2043
  __name: "CExpandTransition",
2076
2044
  props: {
2077
2045
  disabled: { type: Boolean, default: !1 }
2078
2046
  },
2079
2047
  setup(l) {
2080
- const e = l, t = X(Cs, I(!1)), a = p(() => e.disabled || t.value), o = I(null), s = I("auto");
2081
- return Dt(o, ([i]) => {
2048
+ const e = l, t = X(Cs, E(!1)), a = f(() => e.disabled || t.value), o = E(null), s = E("auto");
2049
+ return At(o, ([i]) => {
2082
2050
  s.value = `${i.contentRect.height}px`;
2083
- }), (i, n) => (f(), g("div", {
2051
+ }), (i, n) => (c(), g("div", {
2084
2052
  "data-test": "expand-transition",
2085
- class: O(["c-expand-transition", { "c-expand-transition--disabled": a.value }]),
2053
+ class: V(["c-expand-transition", { "c-expand-transition--disabled": a.value }]),
2086
2054
  style: x({ height: a.value ? void 0 : s.value })
2087
2055
  }, [
2088
2056
  S("div", {
@@ -2094,10 +2062,10 @@ const ns = /* @__PURE__ */ $({
2094
2062
  ], 512)
2095
2063
  ], 6));
2096
2064
  }
2097
- }), Yt = /* @__PURE__ */ L(ys, [["__scopeId", "data-v-9917a865"]]), $s = ["id", "data-test"], ks = ["for", "data-test"], Ts = ["id", "data-test", "aria-describedby", "multiple", "disabled", "required"], Ls = ["id"], Es = {
2065
+ }), Ft = /* @__PURE__ */ T(ys, [["__scopeId", "data-v-9917a865"]]), $s = ["id", "data-test"], ks = ["for", "data-test"], Ts = ["id", "data-test", "aria-describedby", "multiple", "disabled", "required"], Is = ["id"], Ls = {
2098
2066
  key: 0,
2099
2067
  class: "c-file-input__file"
2100
- }, Is = /* @__PURE__ */ $({
2068
+ }, Es = /* @__PURE__ */ y({
2101
2069
  __name: "CFileInput",
2102
2070
  props: {
2103
2071
  dataTest: { default: "file-input" },
@@ -2111,72 +2079,69 @@ const ns = /* @__PURE__ */ $({
2111
2079
  },
2112
2080
  emits: ["input"],
2113
2081
  setup(l, { emit: e }) {
2114
- const t = l, a = e, { id: o, value: s } = te(t), i = pe(o), n = ae(s, {
2115
- onChange: (c) => {
2116
- a("input", c);
2082
+ const t = l, a = e, { id: o, value: s } = te(t), i = pe(o), n = le(s, {
2083
+ onChange: (p) => {
2084
+ a("input", p);
2117
2085
  }
2118
- }), r = p(() => Array.isArray(n.value) ? n.value.length > 0 : !!n.value);
2119
- function d(c) {
2120
- const m = c.target.files;
2086
+ }), r = f(() => Array.isArray(n.value) ? n.value.length > 0 : !!n.value);
2087
+ function u(p) {
2088
+ const m = p.target.files;
2121
2089
  m ? n.value = t.multiple ? Array.from(m) : m[0] : n.value = null;
2122
2090
  }
2123
- return (c, m) => (f(), g("label", {
2124
- class: O(["c-file-input", { "c-file-input--disabled": c.disabled }])
2091
+ return (p, m) => (c(), g("label", {
2092
+ class: V(["c-file-input", { "c-file-input--disabled": p.disabled }])
2125
2093
  }, [
2126
2094
  S("p", {
2127
- id: `${u(i)}-label`,
2095
+ id: `${d(i)}-label`,
2128
2096
  class: "c-file-input__label",
2129
- "data-test": `${c.dataTest}-label`
2097
+ "data-test": `${p.dataTest}-label`
2130
2098
  }, [
2131
- b(c.$slots, "label", {}, () => [
2132
- G(F(c.label), 1)
2099
+ b(p.$slots, "label", {}, () => [
2100
+ q(O(p.label), 1)
2133
2101
  ], !0)
2134
2102
  ], 8, $s),
2135
2103
  S("span", {
2136
- for: u(i),
2104
+ for: d(i),
2137
2105
  class: "c-file-input__prompt",
2138
- "data-test": `${c.dataTest}-prompt`
2106
+ "data-test": `${p.dataTest}-prompt`
2139
2107
  }, [
2140
- b(c.$slots, "prompt", {}, () => [
2141
- G(F(c.prompt), 1)
2108
+ b(p.$slots, "prompt", {}, () => [
2109
+ q(O(p.prompt), 1)
2142
2110
  ], !0)
2143
2111
  ], 8, ks),
2144
2112
  S("input", {
2145
- id: u(i),
2146
- "data-test": `${c.dataTest}-input`,
2113
+ id: d(i),
2114
+ "data-test": `${p.dataTest}-input`,
2147
2115
  class: "c-file-input__input",
2148
2116
  type: "file",
2149
- "aria-describedby": `${u(i)}-files`,
2150
- multiple: c.multiple,
2151
- disabled: c.disabled,
2152
- required: c.required,
2153
- onChange: d
2117
+ "aria-describedby": `${d(i)}-files`,
2118
+ multiple: p.multiple,
2119
+ disabled: p.disabled,
2120
+ required: p.required,
2121
+ onChange: u
2154
2122
  }, null, 40, Ts),
2155
- r.value ? (f(), g("div", {
2123
+ r.value ? (c(), g("div", {
2156
2124
  key: 0,
2157
- id: `${u(i)}-files`,
2125
+ id: `${d(i)}-files`,
2158
2126
  class: "c-file-input__files"
2159
2127
  }, [
2160
- !Array.isArray(u(n)) && u(n) ? (f(), g("span", Es, F(u(n).name), 1)) : R("", !0),
2161
- Array.isArray(u(n)) ? (f(!0), g(ce, { key: 1 }, fe(u(n), (h) => (f(), g("span", {
2128
+ !Array.isArray(d(n)) && d(n) ? (c(), g("span", Ls, O(d(n).name), 1)) : R("", !0),
2129
+ Array.isArray(d(n)) ? (c(!0), g(ce, { key: 1 }, fe(d(n), (h) => (c(), g("span", {
2162
2130
  key: h.name,
2163
2131
  class: "c-file-input__file"
2164
- }, F(h.name), 1))), 128)) : R("", !0)
2165
- ], 8, Ls)) : R("", !0)
2132
+ }, O(h.name), 1))), 128)) : R("", !0)
2133
+ ], 8, Is)) : R("", !0)
2166
2134
  ], 2));
2167
2135
  }
2168
- }), As = /* @__PURE__ */ L(Is, [["__scopeId", "data-v-e5d85a35"]]), Ss = { class: "c-fixed-page-footer__content" }, Ds = /* @__PURE__ */ $({
2136
+ }), As = /* @__PURE__ */ T(Es, [["__scopeId", "data-v-e5d85a35"]]), Ss = { class: "c-fixed-page-footer__content" }, Ds = /* @__PURE__ */ y({
2169
2137
  __name: "CFixedPageFooter",
2170
2138
  props: {
2171
2139
  tag: { default: "footer" }
2172
2140
  },
2173
2141
  emits: ["change:height"],
2174
2142
  setup(l, { emit: e }) {
2175
- const t = e, a = I(null), o = p(() => {
2176
- var s;
2177
- return ((s = a.value) == null ? void 0 : s.$el) ?? null;
2178
- });
2179
- return Dt(o, ([s]) => t("change:height", s.contentRect.height)), he(() => t("change:height", 0)), (s, i) => (f(), M(Ve, {
2143
+ const t = e, a = E(null), o = f(() => a.value?.$el ?? null);
2144
+ return At(o, ([s]) => t("change:height", s.contentRect.height)), be(() => t("change:height", 0)), (s, i) => (c(), M(Me, {
2180
2145
  ref_key: "footer",
2181
2146
  ref: a,
2182
2147
  "data-test": "fixed-page-footer",
@@ -2192,63 +2157,62 @@ const ns = /* @__PURE__ */ $({
2192
2157
  _: 3
2193
2158
  }, 8, ["tag"]));
2194
2159
  }
2195
- }), Bs = /* @__PURE__ */ L(Ds, [["__scopeId", "data-v-ecb09be1"]]), ws = ["data-test"], Rs = /* @__PURE__ */ $({
2160
+ }), Bs = /* @__PURE__ */ T(Ds, [["__scopeId", "data-v-ecb09be1"]]), ws = ["data-test"], Rs = /* @__PURE__ */ y({
2196
2161
  __name: "CForm",
2197
2162
  props: {
2198
2163
  dataTest: { default: "form" }
2199
2164
  },
2200
2165
  emits: ["submit", "input"],
2201
2166
  setup(l, { expose: e, emit: t }) {
2202
- const a = t, o = I(null), s = I({});
2203
- W(Nt, {
2204
- register: (d) => {
2205
- s.value = { ...s.value, [d.id]: d };
2167
+ const a = t, o = E(null), s = E({});
2168
+ W(Rt, {
2169
+ register: (u) => {
2170
+ s.value = { ...s.value, [u.id]: u };
2206
2171
  },
2207
- unregister: (d) => {
2208
- const c = { ...s.value };
2209
- delete c[d], s.value = c;
2172
+ unregister: (u) => {
2173
+ const p = { ...s.value };
2174
+ delete p[u], s.value = p;
2210
2175
  }
2211
2176
  });
2212
- const i = p(() => Object.values(s.value)), n = (d) => i.value.filter((c) => d ? !c.validate() : !c.valid);
2213
- return q(n, (d, c) => {
2214
- const m = d.length === 0, h = (c == null ? void 0 : c.length) === 0;
2177
+ const i = f(() => Object.values(s.value)), n = (u) => i.value.filter((p) => u ? !p.validate() : !p.valid);
2178
+ return G(n, (u, p) => {
2179
+ const m = u.length === 0, h = p?.length === 0;
2215
2180
  m !== h && a("input", m);
2216
2181
  }), Q(() => a("input", n().length === 0)), e({ validate: () => {
2217
- var m;
2218
2182
  if (!o.value)
2219
2183
  return !1;
2220
- const d = n(!0), c = (m = d.find((h) => h.field)) == null ? void 0 : m.field;
2221
- return c && ha(c, {
2184
+ const u = n(!0), p = u.find((m) => m.field)?.field;
2185
+ return p && ha(p, {
2222
2186
  behavior: "smooth",
2223
2187
  block: "center",
2224
2188
  scrollMode: "if-needed"
2225
- }), d.length === 0;
2226
- }, inputs: i }), (d, c) => (f(), g("form", {
2189
+ }), u.length === 0;
2190
+ }, inputs: i }), (u, p) => (c(), g("form", {
2227
2191
  ref_key: "form",
2228
2192
  ref: o,
2229
- "data-test": d.dataTest,
2193
+ "data-test": u.dataTest,
2230
2194
  novalidate: "",
2231
- onSubmit: c[0] || (c[0] = pt((m) => d.$emit("submit", m), ["prevent"]))
2195
+ onSubmit: p[0] || (p[0] = ct((m) => u.$emit("submit", m), ["prevent"]))
2232
2196
  }, [
2233
- b(d.$slots, "default")
2197
+ b(u.$slots, "default")
2234
2198
  ], 40, ws));
2235
2199
  }
2236
2200
  }), Ms = ["data-test"], Ns = {
2237
2201
  class: "c-label__text",
2238
2202
  "data-test": "label-text"
2239
- }, Vs = /* @__PURE__ */ $({
2203
+ }, Vs = /* @__PURE__ */ y({
2240
2204
  __name: "CLabel",
2241
2205
  props: {
2242
2206
  icon: { default: null },
2243
2207
  dataTest: { default: "label" }
2244
2208
  },
2245
2209
  setup(l) {
2246
- return (e, t) => (f(), g("div", {
2210
+ return (e, t) => (c(), g("div", {
2247
2211
  class: "c-label",
2248
2212
  "data-test": e.dataTest
2249
2213
  }, [
2250
2214
  b(e.$slots, "icon", {}, () => [
2251
- e.icon ? (f(), M(u(z), {
2215
+ e.icon ? (c(), M(d(z), {
2252
2216
  key: 0,
2253
2217
  "data-test": "label-icon",
2254
2218
  icon: e.icon,
@@ -2260,7 +2224,7 @@ const ns = /* @__PURE__ */ $({
2260
2224
  ])
2261
2225
  ], 8, Ms));
2262
2226
  }
2263
- }), Os = /* @__PURE__ */ L(Vs, [["__scopeId", "data-v-4d7e42d8"]]), Hs = {
2227
+ }), Os = /* @__PURE__ */ T(Vs, [["__scopeId", "data-v-4d7e42d8"]]), Hs = {
2264
2228
  class: "c-list-item-content",
2265
2229
  "data-test": "list-item-content"
2266
2230
  }, Fs = {
@@ -2271,7 +2235,7 @@ const ns = /* @__PURE__ */ $({
2271
2235
  key: 1,
2272
2236
  class: "c-list-item-content__label",
2273
2237
  "data-test": "list-item-label"
2274
- }, Ys = /* @__PURE__ */ $({
2238
+ }, Ys = /* @__PURE__ */ y({
2275
2239
  __name: "CListItemContent",
2276
2240
  props: {
2277
2241
  title: { default: "" },
@@ -2279,22 +2243,22 @@ const ns = /* @__PURE__ */ $({
2279
2243
  },
2280
2244
  setup(l) {
2281
2245
  const e = K("title"), t = K("label");
2282
- return (a, o) => (f(), g("div", Hs, [
2246
+ return (a, o) => (c(), g("div", Hs, [
2283
2247
  b(a.$slots, "default", {}, () => [
2284
- a.title || u(e) ? (f(), g("div", Fs, [
2248
+ a.title || d(e) ? (c(), g("div", Fs, [
2285
2249
  b(a.$slots, "title", {}, () => [
2286
- G(F(a.title), 1)
2250
+ q(O(a.title), 1)
2287
2251
  ], !0)
2288
2252
  ])) : R("", !0),
2289
- a.label || u(t) ? (f(), g("div", Ps, [
2253
+ a.label || d(t) ? (c(), g("div", Ps, [
2290
2254
  b(a.$slots, "label", {}, () => [
2291
- G(F(a.label), 1)
2255
+ q(O(a.label), 1)
2292
2256
  ], !0)
2293
2257
  ])) : R("", !0)
2294
2258
  ], !0)
2295
2259
  ]));
2296
2260
  }
2297
- }), Ut = /* @__PURE__ */ L(Ys, [["__scopeId", "data-v-1855e2e2"]]), Us = ["data-icon", "data-color"], zs = /* @__PURE__ */ $({
2261
+ }), Pt = /* @__PURE__ */ T(Ys, [["__scopeId", "data-v-1855e2e2"]]), Us = ["data-icon", "data-color"], zs = /* @__PURE__ */ y({
2298
2262
  __name: "CSquaredIcon",
2299
2263
  props: {
2300
2264
  color: { default: "gray-100" },
@@ -2305,16 +2269,16 @@ const ns = /* @__PURE__ */ $({
2305
2269
  const e = z, t = l;
2306
2270
  Q(() => {
2307
2271
  });
2308
- const { cssColor: a } = J(() => t.color), o = p(() => t.color === "black");
2309
- return (s, i) => (f(), g("div", {
2272
+ const { cssColor: a } = J(() => t.color), o = f(() => t.color === "black");
2273
+ return (s, i) => (c(), g("div", {
2310
2274
  "data-test": "squared-icon",
2311
2275
  "data-icon": s.icon,
2312
- "data-color": u(a),
2313
- class: O(["c-squared-icon", { "c-squared-icon--white-icon": o.value, "c-squared-icon--large": s.large }]),
2314
- style: x({ backgroundColor: u(a) })
2276
+ "data-color": d(a),
2277
+ class: V(["c-squared-icon", { "c-squared-icon--white-icon": o.value, "c-squared-icon--large": s.large }]),
2278
+ style: x({ backgroundColor: d(a) })
2315
2279
  }, [
2316
2280
  b(s.$slots, "default", {}, () => [
2317
- s.icon ? (f(), M(u(e), {
2281
+ s.icon ? (c(), M(d(e), {
2318
2282
  key: 0,
2319
2283
  "data-test": "squared-icon-icon",
2320
2284
  icon: s.icon
@@ -2322,7 +2286,7 @@ const ns = /* @__PURE__ */ $({
2322
2286
  ], !0)
2323
2287
  ], 14, Us));
2324
2288
  }
2325
- }), Je = /* @__PURE__ */ L(zs, [["__scopeId", "data-v-f322d32b"]]), Gs = /* @__PURE__ */ $({
2289
+ }), Xe = /* @__PURE__ */ T(zs, [["__scopeId", "data-v-f322d32b"]]), qs = /* @__PURE__ */ y({
2326
2290
  __name: "CListItemIcon",
2327
2291
  props: {
2328
2292
  icon: { default: null },
@@ -2330,7 +2294,7 @@ const ns = /* @__PURE__ */ $({
2330
2294
  },
2331
2295
  setup(l) {
2332
2296
  const e = K("icon");
2333
- return (t, a) => t.icon || u(e) ? (f(), M(Je, {
2297
+ return (t, a) => t.icon || d(e) ? (c(), M(Xe, {
2334
2298
  key: 0,
2335
2299
  icon: t.icon,
2336
2300
  color: t.iconColor,
@@ -2342,11 +2306,11 @@ const ns = /* @__PURE__ */ $({
2342
2306
  _: 3
2343
2307
  }, 8, ["icon", "color"])) : R("", !0);
2344
2308
  }
2345
- }), Qe = /* @__PURE__ */ L(Gs, [["__scopeId", "data-v-a2993619"]]), qs = { class: "flex-1 d-flex flex-row gap-3 justify-between align-center" }, Zs = {
2309
+ }), Ke = /* @__PURE__ */ T(qs, [["__scopeId", "data-v-a2993619"]]), Gs = { class: "flex-1 d-flex flex-row gap-3 justify-between align-center" }, js = {
2346
2310
  key: 0,
2347
2311
  "data-test": "list-item-action",
2348
2312
  class: "c-list-item__append__action flex-shrink-0"
2349
- }, js = /* @__PURE__ */ $({
2313
+ }, Zs = /* @__PURE__ */ y({
2350
2314
  __name: "CListItem",
2351
2315
  props: {
2352
2316
  icon: { default: null },
@@ -2361,22 +2325,22 @@ const ns = /* @__PURE__ */ $({
2361
2325
  hideAction: { type: Boolean, default: !1 }
2362
2326
  },
2363
2327
  setup(l) {
2364
- const e = l, t = we(), { to: a } = te(e), { href: o, navigate: s } = We(a), i = p(() => o.value ?? e.href), n = p(() => !!i.value), r = p(() => !!t.onClick), d = p(() => n.value || r.value), c = p(() => n.value ? "a" : r.value ? "button" : "div"), m = p(() => r.value ? { type: "button" } : {}), h = K("action"), y = p(() => e.hideAction ? !1 : d.value || h.value), _ = K("icon"), N = p(() => U(t, m.value));
2365
- return (A, B) => (f(), M(De(c.value), U(N.value, {
2366
- class: ["c-list-item d-flex flex-col justify-center w-full", { "c-list-item--is-tappable": d.value }],
2328
+ const e = l, t = De(), { to: a } = te(e), { href: o, navigate: s } = je(a), i = f(() => o.value ?? e.href), n = f(() => !!i.value), r = f(() => !!t.onClick), u = f(() => n.value || r.value), p = f(() => n.value ? "a" : r.value ? "button" : "div"), m = f(() => r.value ? { type: "button" } : {}), h = K("action"), $ = f(() => e.hideAction ? !1 : u.value || h.value), C = K("icon"), N = f(() => U(t, m.value));
2329
+ return (A, B) => (c(), M(Ae(p.value), U(N.value, {
2330
+ class: ["c-list-item d-flex flex-col justify-center w-full", { "c-list-item--is-tappable": u.value }],
2367
2331
  href: i.value,
2368
2332
  target: A.target,
2369
- onClick: u(s)
2333
+ onClick: d(s)
2370
2334
  }), {
2371
2335
  default: w(() => [
2372
2336
  S("div", {
2373
- class: O(["d-flex flex-row gap-3 justify-between w-full p-4", {
2337
+ class: V(["d-flex flex-row gap-3 justify-between w-full p-4", {
2374
2338
  "align-start": A.align === "top",
2375
2339
  "align-center": A.align !== "top"
2376
2340
  }])
2377
2341
  }, [
2378
2342
  b(A.$slots, "prepend", {}, () => [
2379
- A.icon || u(_) ? (f(), M(Qe, {
2343
+ A.icon || d(C) ? (c(), M(Ke, {
2380
2344
  key: 0,
2381
2345
  icon: A.icon,
2382
2346
  "icon-color": A.iconColor
@@ -2387,11 +2351,11 @@ const ns = /* @__PURE__ */ $({
2387
2351
  _: 3
2388
2352
  }, 8, ["icon", "icon-color"])) : R("", !0)
2389
2353
  ], !0),
2390
- S("div", qs, [
2391
- P(Ut, {
2354
+ S("div", Gs, [
2355
+ P(Pt, {
2392
2356
  title: A.title,
2393
2357
  label: A.label
2394
- }, gt({ _: 2 }, [
2358
+ }, mt({ _: 2 }, [
2395
2359
  fe(["title", "label", "default"], (v) => ({
2396
2360
  name: v,
2397
2361
  fn: w(() => [
@@ -2400,13 +2364,13 @@ const ns = /* @__PURE__ */ $({
2400
2364
  }))
2401
2365
  ]), 1032, ["title", "label"]),
2402
2366
  b(A.$slots, "append", {}, () => [
2403
- y.value ? (f(), g("div", Zs, [
2367
+ $.value ? (c(), g("div", js, [
2404
2368
  b(A.$slots, "action", {}, () => [
2405
- P(u(z), {
2369
+ P(d(z), {
2406
2370
  "data-test": "list-item-action-icon",
2407
2371
  class: "c-list-item__append__action-icon",
2408
2372
  "fixed-width": "",
2409
- icon: A.actionIcon ? A.actionIcon : u(ra)
2373
+ icon: A.actionIcon ? A.actionIcon : d(ra)
2410
2374
  }, null, 8, ["icon"])
2411
2375
  ], !0)
2412
2376
  ])) : R("", !0)
@@ -2417,33 +2381,33 @@ const ns = /* @__PURE__ */ $({
2417
2381
  _: 3
2418
2382
  }, 16, ["class", "href", "target", "onClick"]));
2419
2383
  }
2420
- }), zt = /* @__PURE__ */ L(js, [["__scopeId", "data-v-c3185322"]]), Ws = "data:image/svg+xml,%3csvg%20width='30'%20height='37'%20viewBox='0%200%2030%2037'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_911_9050)'%3e%3cpath%20d='M7.39438%200.692966C7.39438%200.692966%206.35052%201.4649%205.56982%202.23683C5.3242%202.44735%205.35052%202.66665%205.36806%202.98244C5.44701%204.04384%205.64876%206.40349%207.25403%208.14033C8.85052%209.87718%2010.9119%209.64033%2010.9119%209.64033L15.2979%208.67542L7.39438%200.692966Z'%20fill='black'%20stroke='black'%20stroke-width='0.964912'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M0.482422%2022.6316C0.482422%2029.6754%206.42979%2035.386%2013.7719%2035.386C21.114%2035.386%2027.0614%2029.6754%2027.0614%2022.6316C27.0614%2015.5877%2021.114%209.8772%2013.7719%209.8772C6.42979%209.8772%200.482422%2015.5877%200.482422%2022.6316ZM7.8947%2022.6316C7.8947%2025.9123%2010.6666%2028.5702%2014.0877%2028.5702C17.5087%2028.5702%2020.2807%2025.9123%2020.2807%2022.6316C20.2807%2019.3509%2017.5087%2016.693%2014.0877%2016.693C10.6666%2016.693%207.8947%2019.3509%207.8947%2022.6316Z'%20fill='black'%20stroke='black'%20stroke-width='0.964912'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M2.73633%2022.0965C2.73633%2029.4912%208.72755%2035.4824%2016.1223%2035.4824C23.517%2035.4824%2029.5083%2029.4912%2029.5083%2022.0965C29.5083%2014.7017%2023.517%208.71051%2016.1223%208.71051C8.72755%208.71051%202.73633%2014.7017%202.73633%2022.0965ZM9.88545%2022.0965C9.88545%2025.5438%2012.6749%2028.3333%2016.1223%2028.3333C19.5697%2028.3333%2022.3591%2025.5438%2022.3591%2022.0965C22.3591%2018.6491%2019.5697%2015.8596%2016.1223%2015.8596C12.6749%2015.8596%209.88545%2018.6491%209.88545%2022.0965Z'%20fill='%23FFC120'%20stroke='black'%20stroke-width='0.978516'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M4.88672%2013.1491C7.41303%2010.9912%209.76391%209.74562%2013.3078%209.00001'%20stroke='black'%20stroke-width='0.973684'%20stroke-miterlimit='10'%20stroke-linecap='round'/%3e%3cpath%20d='M9.53516%2034.7193C12.7808%2035.7193%2015.7281%2035.8597%2018.9211%2035.193'%20stroke='black'%20stroke-width='0.973684'%20stroke-miterlimit='10'%20stroke-linecap='round'/%3e%3cpath%20d='M15.2988%208.67545C15.4742%208.64036%2015.6321%208.54387%2015.7286%208.38598C16.4567%207.21054%2016.1672%204.71054%2014.6146%203.28948C12.869%201.7544%2011.5707%202.0965%208.44792%200.614046C7.6409%200.228081%206.99178%200.736853%207.11459%201.71054C7.23739%202.68422%208.04441%206.3772%2010.3339%207.91229C11.9655%209.00001%2014.4655%208.85966%2015.2988%208.68422V8.67545Z'%20fill='%238BC95A'%20stroke='black'%20stroke-width='0.978516'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_911_9050'%3e%3crect%20width='30'%20height='36.0877'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", Xs = "data:image/svg+xml,%3csvg%20width='120'%20height='38'%20viewBox='0%200%20120%2038'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M40.3101%2022.5039H36.5387C36.383%2022.5039%2036.2563%2022.6306%2036.2563%2022.7863V29.808C36.2563%2030.018%2036.0862%2030.1881%2035.8763%2030.1881H32.2206C32.0107%2030.1881%2031.8406%2030.018%2031.8406%2029.808V8.18892C31.8406%207.98261%2032.0107%207.8125%2032.2206%207.8125H40.3101C44.5847%207.8125%2048.0594%2010.5488%2048.0594%2015.1419C48.0594%2019.735%2044.5847%2022.5039%2040.3101%2022.5039ZM36.2563%2018.2764C36.2563%2018.432%2036.383%2018.5587%2036.5387%2018.5587H40.1364C42.4275%2018.5587%2043.6437%2017.1109%2043.6437%2015.1383C43.6437%2013.1657%2042.4275%2011.7505%2040.1364%2011.7505H36.5387C36.383%2011.7505%2036.2563%2011.8772%2036.2563%2012.0328V18.2728V18.2764Z'%20fill='black'/%3e%3cpath%20d='M53.7021%2014.5594V15.3919C53.7021%2015.533%2053.8723%2015.5945%2053.9664%2015.4932C54.7771%2014.6064%2056.2937%2014.0454%2057.9116%2014.0454H58.9214C59.1313%2014.0454%2059.3015%2014.2155%2059.3015%2014.4255V17.7119C59.3015%2017.9219%2059.1313%2018.092%2058.9214%2018.092H57.879C55.1499%2018.092%2053.7021%2019.8438%2053.7021%2022.4064V29.8118C53.7021%2030.0218%2053.532%2030.1919%2053.3221%2030.1919H49.8329C49.623%2030.1919%2049.4529%2030.0218%2049.4529%2029.8118V14.5594C49.4529%2014.3495%2049.623%2014.1793%2049.8329%2014.1793H53.3221C53.532%2014.1793%2053.7021%2014.3495%2053.7021%2014.5594Z'%20fill='black'/%3e%3cpath%20d='M76.9102%2022.1999C76.9102%2027.0174%2073.1713%2030.6224%2068.2162%2030.6224C63.2611%2030.6224%2059.5222%2027.0174%2059.5222%2022.1999C59.5222%2017.3824%2063.2611%2013.7412%2068.2162%2013.7412C73.1713%2013.7412%2076.9102%2017.3462%2076.9102%2022.1999ZM63.7715%2022.1999C63.7715%2024.8639%2065.6898%2026.7134%2068.2198%2026.7134C70.7498%2026.7134%2072.6681%2024.8602%2072.6681%2022.1999C72.6681%2019.5396%2070.7462%2017.6502%2068.2198%2017.6502C65.6934%2017.6502%2063.7715%2019.5034%2063.7715%2022.1999Z'%20fill='black'/%3e%3cpath%20d='M87.5261%2030.6224C85.9046%2030.6224%2084.2505%2030.1193%2083.1538%2029.2181C83.0307%2029.1167%2082.8425%2029.2%2082.8425%2029.3629V36.6814C82.8425%2036.8914%2082.6724%2037.0615%2082.4625%2037.0615H78.9733C78.7634%2037.0615%2078.5933%2036.8914%2078.5933%2036.6814V14.5556C78.5933%2014.3457%2078.7634%2014.1756%2078.9733%2014.1756H82.4625C82.6724%2014.1756%2082.8425%2014.3457%2082.8425%2014.5556V15.0478C82.8425%2015.1781%2082.9909%2015.2469%2083.0886%2015.1637C84.1853%2014.2335%2085.8684%2013.7412%2087.5261%2013.7412C92.6803%2013.7412%2095.7134%2017.7842%2095.7134%2022.1637C95.7134%2026.5433%2092.6803%2030.6224%2087.5261%2030.6224ZM87.1895%2017.6502C84.931%2017.6502%2082.676%2019.1342%2082.676%2022.1637C82.676%2025.1932%2084.9346%2026.7134%2087.1895%2026.7134C89.7159%2026.7134%2091.4677%2024.625%2091.4677%2022.1637C91.4677%2019.7025%2089.7159%2017.6502%2087.1895%2017.6502Z'%20fill='black'/%3e%3cpath%20d='M112.989%2025.3344C113.264%2025.3344%20113.449%2025.6167%20113.337%2025.8664C111.983%2028.791%20108.917%2030.6224%20105.674%2030.6224C100.686%2030.6224%2097.0127%2027.0174%2097.0127%2022.1637C97.0127%2017.31%20100.549%2013.7412%20105.504%2013.7412C110.459%2013.7412%20113.829%2017.3824%20113.829%2022.0986C113.829%2022.5184%20113.829%2022.855%20113.796%2023.2351C113.778%2023.4305%20113.615%2023.5826%20113.42%2023.5826H101.801C101.609%2023.5826%20101.468%2023.7708%20101.53%2023.9518C102.091%2025.6601%20103.72%2026.717%20105.674%2026.717C106.955%2026.717%20108.114%2026.3515%20108.863%2025.4755C108.939%2025.3887%20109.044%2025.3344%20109.156%2025.3344H112.989ZM108.968%2020.4119C109.149%2020.4119%20109.286%2020.2418%20109.243%2020.0644C108.838%2018.4103%20107.332%2017.3788%20105.504%2017.3788C103.676%2017.3788%20102.033%2018.4393%20101.602%2020.0608C101.555%2020.2382%20101.696%2020.4119%20101.877%2020.4119H108.968Z'%20fill='black'/%3e%3cpath%20d='M120%208.18912V29.8082C120%2030.0182%20119.83%2030.1883%20119.62%2030.1883H116.131C115.921%2030.1883%20115.751%2030.0182%20115.751%2029.8082V8.18912C115.751%207.97919%20115.921%207.80908%20116.131%207.80908H119.62C119.83%207.80908%20120%207.97919%20120%208.18912Z'%20fill='black'/%3e%3cpath%20d='M13.725%207.37832C14.1268%206.19475%2013.7757%204.37054%2012.556%203.25212C11.6909%202.49203%2010.9561%202.26762%2010.0259%201.98531C9.3672%201.78623%208.6252%201.56182%207.61899%201.08405C7.17018%200.8705%206.71774%200.892218%206.37751%201.14196C6.34132%201.1673%206.30512%201.19988%206.27255%201.22884C6.08795%201.37%205.40025%201.89481%204.85009%202.43412C4.50262%202.74539%204.52796%203.1001%204.54606%203.3607V3.3969C4.61483%204.24023%204.77046%206.22008%206.14224%207.7113C6.5802%208.18545%207.05435%208.49312%207.50317%208.69219C6.46438%209.15186%205.49436%209.73821%204.49539%2010.4947C4.29993%2010.6395%204.10448%2010.7915%203.91989%2010.9507C3.86922%2010.9905%203.81854%2011.0304%203.76787%2011.0738C3.74615%2011.0919%203.72806%2011.11%203.71358%2011.1281C1.43693%2013.1441%200%2016.0904%200%2019.3696C0%2024.3102%203.26476%2028.5016%207.74929%2029.8987C7.77463%2029.9095%207.79634%2029.9204%207.8253%2029.9276C9.39615%2030.3873%2010.8946%2030.6153%2012.3967%2030.6153C13.5332%2030.6153%2014.6697%2030.485%2015.8352%2030.2244C15.8388%2030.2244%2015.8461%2030.2208%2015.8497%2030.2208C21.0581%2029.1024%2024.9707%2024.4622%2024.9707%2018.9244C24.9707%2012.6555%2019.9505%207.53757%2013.7214%207.37469L13.725%207.37832ZM12.7333%2023.5827C11.738%2023.4379%2010.815%2022.9782%2010.0911%2022.2544C9.2007%2021.364%208.71207%2020.184%208.71207%2018.9244C8.71207%2017.2341%209.60608%2015.7502%2010.9489%2014.9213C11.0539%2014.9141%2011.1625%2014.9068%2011.271%2014.9068C13.7323%2014.9068%2015.7338%2016.9084%2015.7338%2019.3696C15.7338%2021.3169%2014.4779%2022.9746%2012.7369%2023.5827H12.7333Z'%20fill='black'/%3e%3cpath%20d='M11.9405%203.93626C11.2347%203.31371%2010.6447%203.13636%209.75796%202.86852C9.10284%202.66945%208.28846%202.42332%207.22433%201.91659C7.14832%201.8804%207.07231%201.8623%207.0144%201.8623C6.97459%201.8623%206.94201%201.86954%206.9203%201.88763C6.86238%201.93107%206.80447%202.06499%206.83705%202.30026C6.95649%203.20875%207.60438%205.79666%209.15713%206.83183C10.2502%207.56297%2012.0418%207.50506%2012.6897%207.36752C12.7151%207.36028%2012.7295%207.34942%2012.7368%207.33856C13.3449%206.34682%2012.6861%204.62034%2011.9405%203.93626Z'%20fill='%238BC95A'/%3e%3cpath%20d='M13.4209%208.29395C7.55737%208.29395%202.79053%2013.0644%202.79053%2018.9243C2.79053%2021.7656%203.89809%2024.4332%205.90327%2026.442C7.91208%2028.4508%2010.5796%2029.5547%2013.4209%2029.5547C19.2845%2029.5547%2024.0513%2024.7843%2024.0513%2018.9243C24.0513%2013.0644%2019.2808%208.29395%2013.4209%208.29395ZM17.4023%2022.9058C16.3382%2023.9699%2014.9266%2024.5526%2013.4209%2024.5526C11.9188%2024.5526%2010.5036%2023.9663%209.4395%2022.9058C8.37537%2021.8453%207.79264%2020.43%207.79264%2018.9243C7.79264%2015.8224%2010.319%2013.2961%2013.4209%2013.2961C16.5228%2013.2961%2019.0492%2015.8224%2019.0492%2018.9243C19.0492%2020.4264%2018.4628%2021.8416%2017.4023%2022.9058Z'%20fill='%23FFC120'/%3e%3c/svg%3e", Ks = ["src", "alt"], Js = /* @__PURE__ */ $({
2384
+ }), Yt = /* @__PURE__ */ T(Zs, [["__scopeId", "data-v-c3185322"]]), Ws = "data:image/svg+xml,%3csvg%20width='30'%20height='37'%20viewBox='0%200%2030%2037'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_911_9050)'%3e%3cpath%20d='M7.39438%200.692966C7.39438%200.692966%206.35052%201.4649%205.56982%202.23683C5.3242%202.44735%205.35052%202.66665%205.36806%202.98244C5.44701%204.04384%205.64876%206.40349%207.25403%208.14033C8.85052%209.87718%2010.9119%209.64033%2010.9119%209.64033L15.2979%208.67542L7.39438%200.692966Z'%20fill='black'%20stroke='black'%20stroke-width='0.964912'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M0.482422%2022.6316C0.482422%2029.6754%206.42979%2035.386%2013.7719%2035.386C21.114%2035.386%2027.0614%2029.6754%2027.0614%2022.6316C27.0614%2015.5877%2021.114%209.8772%2013.7719%209.8772C6.42979%209.8772%200.482422%2015.5877%200.482422%2022.6316ZM7.8947%2022.6316C7.8947%2025.9123%2010.6666%2028.5702%2014.0877%2028.5702C17.5087%2028.5702%2020.2807%2025.9123%2020.2807%2022.6316C20.2807%2019.3509%2017.5087%2016.693%2014.0877%2016.693C10.6666%2016.693%207.8947%2019.3509%207.8947%2022.6316Z'%20fill='black'%20stroke='black'%20stroke-width='0.964912'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M2.73633%2022.0965C2.73633%2029.4912%208.72755%2035.4824%2016.1223%2035.4824C23.517%2035.4824%2029.5083%2029.4912%2029.5083%2022.0965C29.5083%2014.7017%2023.517%208.71051%2016.1223%208.71051C8.72755%208.71051%202.73633%2014.7017%202.73633%2022.0965ZM9.88545%2022.0965C9.88545%2025.5438%2012.6749%2028.3333%2016.1223%2028.3333C19.5697%2028.3333%2022.3591%2025.5438%2022.3591%2022.0965C22.3591%2018.6491%2019.5697%2015.8596%2016.1223%2015.8596C12.6749%2015.8596%209.88545%2018.6491%209.88545%2022.0965Z'%20fill='%23FFC120'%20stroke='black'%20stroke-width='0.978516'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M4.88672%2013.1491C7.41303%2010.9912%209.76391%209.74562%2013.3078%209.00001'%20stroke='black'%20stroke-width='0.973684'%20stroke-miterlimit='10'%20stroke-linecap='round'/%3e%3cpath%20d='M9.53516%2034.7193C12.7808%2035.7193%2015.7281%2035.8597%2018.9211%2035.193'%20stroke='black'%20stroke-width='0.973684'%20stroke-miterlimit='10'%20stroke-linecap='round'/%3e%3cpath%20d='M15.2988%208.67545C15.4742%208.64036%2015.6321%208.54387%2015.7286%208.38598C16.4567%207.21054%2016.1672%204.71054%2014.6146%203.28948C12.869%201.7544%2011.5707%202.0965%208.44792%200.614046C7.6409%200.228081%206.99178%200.736853%207.11459%201.71054C7.23739%202.68422%208.04441%206.3772%2010.3339%207.91229C11.9655%209.00001%2014.4655%208.85966%2015.2988%208.68422V8.67545Z'%20fill='%238BC95A'%20stroke='black'%20stroke-width='0.978516'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_911_9050'%3e%3crect%20width='30'%20height='36.0877'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", Xs = "data:image/svg+xml,%3csvg%20width='120'%20height='38'%20viewBox='0%200%20120%2038'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M40.3101%2022.5039H36.5387C36.383%2022.5039%2036.2563%2022.6306%2036.2563%2022.7863V29.808C36.2563%2030.018%2036.0862%2030.1881%2035.8763%2030.1881H32.2206C32.0107%2030.1881%2031.8406%2030.018%2031.8406%2029.808V8.18892C31.8406%207.98261%2032.0107%207.8125%2032.2206%207.8125H40.3101C44.5847%207.8125%2048.0594%2010.5488%2048.0594%2015.1419C48.0594%2019.735%2044.5847%2022.5039%2040.3101%2022.5039ZM36.2563%2018.2764C36.2563%2018.432%2036.383%2018.5587%2036.5387%2018.5587H40.1364C42.4275%2018.5587%2043.6437%2017.1109%2043.6437%2015.1383C43.6437%2013.1657%2042.4275%2011.7505%2040.1364%2011.7505H36.5387C36.383%2011.7505%2036.2563%2011.8772%2036.2563%2012.0328V18.2728V18.2764Z'%20fill='black'/%3e%3cpath%20d='M53.7021%2014.5594V15.3919C53.7021%2015.533%2053.8723%2015.5945%2053.9664%2015.4932C54.7771%2014.6064%2056.2937%2014.0454%2057.9116%2014.0454H58.9214C59.1313%2014.0454%2059.3015%2014.2155%2059.3015%2014.4255V17.7119C59.3015%2017.9219%2059.1313%2018.092%2058.9214%2018.092H57.879C55.1499%2018.092%2053.7021%2019.8438%2053.7021%2022.4064V29.8118C53.7021%2030.0218%2053.532%2030.1919%2053.3221%2030.1919H49.8329C49.623%2030.1919%2049.4529%2030.0218%2049.4529%2029.8118V14.5594C49.4529%2014.3495%2049.623%2014.1793%2049.8329%2014.1793H53.3221C53.532%2014.1793%2053.7021%2014.3495%2053.7021%2014.5594Z'%20fill='black'/%3e%3cpath%20d='M76.9102%2022.1999C76.9102%2027.0174%2073.1713%2030.6224%2068.2162%2030.6224C63.2611%2030.6224%2059.5222%2027.0174%2059.5222%2022.1999C59.5222%2017.3824%2063.2611%2013.7412%2068.2162%2013.7412C73.1713%2013.7412%2076.9102%2017.3462%2076.9102%2022.1999ZM63.7715%2022.1999C63.7715%2024.8639%2065.6898%2026.7134%2068.2198%2026.7134C70.7498%2026.7134%2072.6681%2024.8602%2072.6681%2022.1999C72.6681%2019.5396%2070.7462%2017.6502%2068.2198%2017.6502C65.6934%2017.6502%2063.7715%2019.5034%2063.7715%2022.1999Z'%20fill='black'/%3e%3cpath%20d='M87.5261%2030.6224C85.9046%2030.6224%2084.2505%2030.1193%2083.1538%2029.2181C83.0307%2029.1167%2082.8425%2029.2%2082.8425%2029.3629V36.6814C82.8425%2036.8914%2082.6724%2037.0615%2082.4625%2037.0615H78.9733C78.7634%2037.0615%2078.5933%2036.8914%2078.5933%2036.6814V14.5556C78.5933%2014.3457%2078.7634%2014.1756%2078.9733%2014.1756H82.4625C82.6724%2014.1756%2082.8425%2014.3457%2082.8425%2014.5556V15.0478C82.8425%2015.1781%2082.9909%2015.2469%2083.0886%2015.1637C84.1853%2014.2335%2085.8684%2013.7412%2087.5261%2013.7412C92.6803%2013.7412%2095.7134%2017.7842%2095.7134%2022.1637C95.7134%2026.5433%2092.6803%2030.6224%2087.5261%2030.6224ZM87.1895%2017.6502C84.931%2017.6502%2082.676%2019.1342%2082.676%2022.1637C82.676%2025.1932%2084.9346%2026.7134%2087.1895%2026.7134C89.7159%2026.7134%2091.4677%2024.625%2091.4677%2022.1637C91.4677%2019.7025%2089.7159%2017.6502%2087.1895%2017.6502Z'%20fill='black'/%3e%3cpath%20d='M112.989%2025.3344C113.264%2025.3344%20113.449%2025.6167%20113.337%2025.8664C111.983%2028.791%20108.917%2030.6224%20105.674%2030.6224C100.686%2030.6224%2097.0127%2027.0174%2097.0127%2022.1637C97.0127%2017.31%20100.549%2013.7412%20105.504%2013.7412C110.459%2013.7412%20113.829%2017.3824%20113.829%2022.0986C113.829%2022.5184%20113.829%2022.855%20113.796%2023.2351C113.778%2023.4305%20113.615%2023.5826%20113.42%2023.5826H101.801C101.609%2023.5826%20101.468%2023.7708%20101.53%2023.9518C102.091%2025.6601%20103.72%2026.717%20105.674%2026.717C106.955%2026.717%20108.114%2026.3515%20108.863%2025.4755C108.939%2025.3887%20109.044%2025.3344%20109.156%2025.3344H112.989ZM108.968%2020.4119C109.149%2020.4119%20109.286%2020.2418%20109.243%2020.0644C108.838%2018.4103%20107.332%2017.3788%20105.504%2017.3788C103.676%2017.3788%20102.033%2018.4393%20101.602%2020.0608C101.555%2020.2382%20101.696%2020.4119%20101.877%2020.4119H108.968Z'%20fill='black'/%3e%3cpath%20d='M120%208.18912V29.8082C120%2030.0182%20119.83%2030.1883%20119.62%2030.1883H116.131C115.921%2030.1883%20115.751%2030.0182%20115.751%2029.8082V8.18912C115.751%207.97919%20115.921%207.80908%20116.131%207.80908H119.62C119.83%207.80908%20120%207.97919%20120%208.18912Z'%20fill='black'/%3e%3cpath%20d='M13.725%207.37832C14.1268%206.19475%2013.7757%204.37054%2012.556%203.25212C11.6909%202.49203%2010.9561%202.26762%2010.0259%201.98531C9.3672%201.78623%208.6252%201.56182%207.61899%201.08405C7.17018%200.8705%206.71774%200.892218%206.37751%201.14196C6.34132%201.1673%206.30512%201.19988%206.27255%201.22884C6.08795%201.37%205.40025%201.89481%204.85009%202.43412C4.50262%202.74539%204.52796%203.1001%204.54606%203.3607V3.3969C4.61483%204.24023%204.77046%206.22008%206.14224%207.7113C6.5802%208.18545%207.05435%208.49312%207.50317%208.69219C6.46438%209.15186%205.49436%209.73821%204.49539%2010.4947C4.29993%2010.6395%204.10448%2010.7915%203.91989%2010.9507C3.86922%2010.9905%203.81854%2011.0304%203.76787%2011.0738C3.74615%2011.0919%203.72806%2011.11%203.71358%2011.1281C1.43693%2013.1441%200%2016.0904%200%2019.3696C0%2024.3102%203.26476%2028.5016%207.74929%2029.8987C7.77463%2029.9095%207.79634%2029.9204%207.8253%2029.9276C9.39615%2030.3873%2010.8946%2030.6153%2012.3967%2030.6153C13.5332%2030.6153%2014.6697%2030.485%2015.8352%2030.2244C15.8388%2030.2244%2015.8461%2030.2208%2015.8497%2030.2208C21.0581%2029.1024%2024.9707%2024.4622%2024.9707%2018.9244C24.9707%2012.6555%2019.9505%207.53757%2013.7214%207.37469L13.725%207.37832ZM12.7333%2023.5827C11.738%2023.4379%2010.815%2022.9782%2010.0911%2022.2544C9.2007%2021.364%208.71207%2020.184%208.71207%2018.9244C8.71207%2017.2341%209.60608%2015.7502%2010.9489%2014.9213C11.0539%2014.9141%2011.1625%2014.9068%2011.271%2014.9068C13.7323%2014.9068%2015.7338%2016.9084%2015.7338%2019.3696C15.7338%2021.3169%2014.4779%2022.9746%2012.7369%2023.5827H12.7333Z'%20fill='black'/%3e%3cpath%20d='M11.9405%203.93626C11.2347%203.31371%2010.6447%203.13636%209.75796%202.86852C9.10284%202.66945%208.28846%202.42332%207.22433%201.91659C7.14832%201.8804%207.07231%201.8623%207.0144%201.8623C6.97459%201.8623%206.94201%201.86954%206.9203%201.88763C6.86238%201.93107%206.80447%202.06499%206.83705%202.30026C6.95649%203.20875%207.60438%205.79666%209.15713%206.83183C10.2502%207.56297%2012.0418%207.50506%2012.6897%207.36752C12.7151%207.36028%2012.7295%207.34942%2012.7368%207.33856C13.3449%206.34682%2012.6861%204.62034%2011.9405%203.93626Z'%20fill='%238BC95A'/%3e%3cpath%20d='M13.4209%208.29395C7.55737%208.29395%202.79053%2013.0644%202.79053%2018.9243C2.79053%2021.7656%203.89809%2024.4332%205.90327%2026.442C7.91208%2028.4508%2010.5796%2029.5547%2013.4209%2029.5547C19.2845%2029.5547%2024.0513%2024.7843%2024.0513%2018.9243C24.0513%2013.0644%2019.2808%208.29395%2013.4209%208.29395ZM17.4023%2022.9058C16.3382%2023.9699%2014.9266%2024.5526%2013.4209%2024.5526C11.9188%2024.5526%2010.5036%2023.9663%209.4395%2022.9058C8.37537%2021.8453%207.79264%2020.43%207.79264%2018.9243C7.79264%2015.8224%2010.319%2013.2961%2013.4209%2013.2961C16.5228%2013.2961%2019.0492%2015.8224%2019.0492%2018.9243C19.0492%2020.4264%2018.4628%2021.8416%2017.4023%2022.9058Z'%20fill='%23FFC120'/%3e%3c/svg%3e", Ks = ["src", "alt"], Js = /* @__PURE__ */ y({
2421
2385
  __name: "CLogo",
2422
2386
  props: {
2423
2387
  icon: { type: Boolean, default: !1 }
2424
2388
  },
2425
2389
  setup(l) {
2426
- const e = l, t = p(() => e.icon ? Ws : Xs);
2427
- return (a, o) => (f(), g("img", {
2390
+ const e = l, t = f(() => e.icon ? Ws : Xs);
2391
+ return (a, o) => (c(), g("img", {
2428
2392
  src: t.value,
2429
2393
  alt: a.$t("{appName}")
2430
2394
  }, null, 8, Ks));
2431
2395
  }
2432
- }), Qs = /* @__PURE__ */ $({
2396
+ }), Qs = /* @__PURE__ */ y({
2433
2397
  __name: "CMenu",
2434
2398
  emits: ["select"],
2435
2399
  setup(l) {
2436
- return (e, t) => (f(), g("sl-menu", {
2400
+ return (e, t) => (c(), g("sl-menu", {
2437
2401
  class: "c-menu pa-0 elevation-4",
2438
2402
  onSlSelect: t[0] || (t[0] = (a) => e.$emit("select", a.detail.item))
2439
2403
  }, [
2440
2404
  b(e.$slots, "default", {}, void 0, !0)
2441
2405
  ], 32));
2442
2406
  }
2443
- }), xs = /* @__PURE__ */ L(Qs, [["__scopeId", "data-v-d8ec7807"]]), eo = ["type", "checked"], to = { slot: "prefix" }, ao = {
2407
+ }), xs = /* @__PURE__ */ T(Qs, [["__scopeId", "data-v-d8ec7807"]]), eo = ["type", "checked"], to = { slot: "prefix" }, ao = {
2444
2408
  key: 1,
2445
2409
  class: "check-icon mr-3"
2446
- }, lo = /* @__PURE__ */ $({
2410
+ }, lo = /* @__PURE__ */ y({
2447
2411
  __name: "CMenuItem",
2448
2412
  props: {
2449
2413
  checkable: { type: Boolean, default: !1 },
@@ -2455,26 +2419,26 @@ const ns = /* @__PURE__ */ $({
2455
2419
  const e = l, t = (a) => {
2456
2420
  e.selectable || (a.preventDefault(), a.stopPropagation());
2457
2421
  };
2458
- return (a, o) => (f(), g("sl-menu-item", {
2422
+ return (a, o) => (c(), g("sl-menu-item", {
2459
2423
  type: a.checkable ? "checkbox" : "normal",
2460
2424
  checked: a.checked,
2461
- class: O(["menu-item", { selectable: a.selectable }]),
2425
+ class: V(["menu-item", { selectable: a.selectable }]),
2462
2426
  onClick: t
2463
2427
  }, [
2464
2428
  S("div", to, [
2465
2429
  b(a.$slots, "prepend-inner", {}, () => [
2466
- a.checkable ? (f(), g(ce, { key: 0 }, [
2467
- a.checkType === "checkbox" ? (f(), M(Ot, {
2430
+ a.checkable ? (c(), g(ce, { key: 0 }, [
2431
+ a.checkType === "checkbox" ? (c(), M(Nt, {
2468
2432
  key: 0,
2469
2433
  value: a.checked,
2470
2434
  variant: "minimal",
2471
2435
  "hide-details": "",
2472
2436
  "aria-hidden": "true",
2473
2437
  class: "checkbox mr-3"
2474
- }, null, 8, ["value"])) : (f(), g("div", ao, [
2475
- a.checked ? (f(), M(u(z), {
2438
+ }, null, 8, ["value"])) : (c(), g("div", ao, [
2439
+ a.checked ? (c(), M(d(z), {
2476
2440
  key: 0,
2477
- icon: u(_t)
2441
+ icon: d(gt)
2478
2442
  }, null, 8, ["icon"])) : R("", !0)
2479
2443
  ]))
2480
2444
  ], 64)) : R("", !0)
@@ -2483,17 +2447,17 @@ const ns = /* @__PURE__ */ $({
2483
2447
  b(a.$slots, "default", {}, void 0, !0)
2484
2448
  ], 10, eo));
2485
2449
  }
2486
- }), so = /* @__PURE__ */ L(lo, [["__scopeId", "data-v-6fd3ba36"]]), oo = { class: "menu-label pt-3 px-4" }, no = /* @__PURE__ */ $({
2450
+ }), so = /* @__PURE__ */ T(lo, [["__scopeId", "data-v-6fd3ba36"]]), oo = { class: "menu-label pt-3 px-4" }, no = /* @__PURE__ */ y({
2487
2451
  __name: "CMenuLabel",
2488
2452
  setup(l) {
2489
- return (e, t) => (f(), g("sl-menu-label", oo, [
2453
+ return (e, t) => (c(), g("sl-menu-label", oo, [
2490
2454
  b(e.$slots, "default", {}, void 0, !0)
2491
2455
  ]));
2492
2456
  }
2493
- }), io = /* @__PURE__ */ L(no, [["__scopeId", "data-v-53bb607d"]]), ro = ["label", "open", "data-loading", "data-state", "data-test"], uo = {
2457
+ }), io = /* @__PURE__ */ T(no, [["__scopeId", "data-v-53bb607d"]]), ro = ["label", "open", "data-loading", "data-state", "data-test"], uo = {
2494
2458
  key: 0,
2495
2459
  class: "c-modal__body"
2496
- }, co = ["data-test"], fo = ["data-test"], po = ["data-test"], vo = ["data-test"], mo = { class: "c-modal__loading__loader" }, bo = ["data-test"], go = /* @__PURE__ */ $({
2460
+ }, co = ["data-test"], fo = ["data-test"], po = ["data-test"], vo = ["data-test"], mo = { class: "c-modal__loading__loader" }, bo = ["data-test"], go = /* @__PURE__ */ y({
2497
2461
  __name: "CModal",
2498
2462
  props: {
2499
2463
  ariaLabel: { default: "" },
@@ -2509,62 +2473,62 @@ const ns = /* @__PURE__ */ $({
2509
2473
  setup(l) {
2510
2474
  const e = l, t = (m) => {
2511
2475
  e.dismissible || m.preventDefault();
2512
- }, a = I(null), o = p(() => e.transition ? "default" : null);
2476
+ }, a = E(null), o = f(() => e.transition ? "default" : null);
2513
2477
  ue(a, "dialog.show", o), ue(a, "dialog.hide", o), ue(a, "dialog.overlay.show", o), ue(a, "dialog.overlay.hide", o);
2514
- const s = I(!1), i = p(() => !e.fullscreen && s.value), n = (m) => m ? `${e.dataTest}-${m}` : e.dataTest, r = p(() => typeof e.loading == "string" ? e.loading : null), d = p(() => r.value ? r.value : e.title || e.ariaLabel), c = K("footer");
2515
- return (m, h) => (f(), g("sl-dialog", {
2478
+ const s = E(!1), i = f(() => !e.fullscreen && s.value), n = (m) => m ? `${e.dataTest}-${m}` : e.dataTest, r = f(() => typeof e.loading == "string" ? e.loading : null), u = f(() => r.value ? r.value : e.title || e.ariaLabel), p = K("footer");
2479
+ return (m, h) => (c(), g("sl-dialog", {
2516
2480
  ref_key: "modal",
2517
2481
  ref: a,
2518
- label: d.value,
2482
+ label: u.value,
2519
2483
  "no-header": "",
2520
2484
  open: m.value,
2521
- class: O(["c-modal", { "c-modal--fullscreen": m.fullscreen }]),
2485
+ class: V(["c-modal", { "c-modal--fullscreen": m.fullscreen }]),
2522
2486
  "data-loading": m.loading || void 0,
2523
2487
  "data-state": m.value ? "open" : "closed",
2524
2488
  "data-test": n(),
2525
- onSlHide: h[1] || (h[1] = (y) => m.$emit("input", !1)),
2489
+ onSlHide: h[1] || (h[1] = ($) => m.$emit("input", !1)),
2526
2490
  onSlRequestClose: t,
2527
- onSlAfterShow: h[2] || (h[2] = (y) => s.value = !0),
2528
- onSlAfterHide: h[3] || (h[3] = (y) => s.value = !1)
2491
+ onSlAfterShow: h[2] || (h[2] = ($) => s.value = !0),
2492
+ onSlAfterHide: h[3] || (h[3] = ($) => s.value = !1)
2529
2493
  }, [
2530
- P(Yt, {
2494
+ P(Ft, {
2531
2495
  class: "c-modal__wrapper",
2532
2496
  disabled: !i.value
2533
2497
  }, {
2534
2498
  default: w(() => [
2535
- m.loading ? (f(), g("div", {
2499
+ m.loading ? (c(), g("div", {
2536
2500
  key: 1,
2537
2501
  class: "c-modal__loading",
2538
2502
  "data-test": m.value ? `${m.dataTest}-loading` : null
2539
2503
  }, [
2540
2504
  S("div", mo, [
2541
- P(Me)
2505
+ P(we)
2542
2506
  ]),
2543
2507
  b(m.$slots, "loading", {}, () => [
2544
- r.value ? (f(), g("div", {
2508
+ r.value ? (c(), g("div", {
2545
2509
  key: 0,
2546
2510
  "data-test": m.value ? `${m.dataTest}-loading-message` : null
2547
- }, F(r.value), 9, bo)) : R("", !0)
2511
+ }, O(r.value), 9, bo)) : R("", !0)
2548
2512
  ], !0)
2549
- ], 8, vo)) : (f(), g("div", uo, [
2513
+ ], 8, vo)) : (c(), g("div", uo, [
2550
2514
  S("div", {
2551
2515
  "data-test": n("content"),
2552
2516
  class: "c-modal__content"
2553
2517
  }, [
2554
- m.title ? (f(), g("h2", {
2518
+ m.title ? (c(), g("h2", {
2555
2519
  key: 0,
2556
2520
  class: "c-modal__title",
2557
2521
  "data-test": n("title")
2558
- }, F(m.title), 9, fo)) : R("", !0),
2559
- m.dismissible ? (f(), g("button", {
2522
+ }, O(m.title), 9, fo)) : R("", !0),
2523
+ m.dismissible ? (c(), g("button", {
2560
2524
  key: 1,
2561
2525
  class: "c-modal__dismiss",
2562
2526
  "data-test": n("dismiss"),
2563
- onClick: h[0] || (h[0] = (y) => m.$emit("input", !1))
2564
- }, F(m.$t("Dismiss")), 9, po)) : R("", !0),
2527
+ onClick: h[0] || (h[0] = ($) => m.$emit("input", !1))
2528
+ }, O(m.$t("Dismiss")), 9, po)) : R("", !0),
2565
2529
  b(m.$slots, "default", {}, void 0, !0)
2566
2530
  ], 8, co),
2567
- u(c) ? (f(), M(Ve, {
2531
+ d(p) ? (c(), M(Me, {
2568
2532
  key: 0,
2569
2533
  tag: "footer",
2570
2534
  class: "c-modal__footer",
@@ -2582,7 +2546,7 @@ const ns = /* @__PURE__ */ $({
2582
2546
  }, 8, ["disabled"])
2583
2547
  ], 42, ro));
2584
2548
  }
2585
- }), Gt = /* @__PURE__ */ L(go, [["__scopeId", "data-v-aec1f72d"]]), ho = /* @__PURE__ */ $({
2549
+ }), Ut = /* @__PURE__ */ T(go, [["__scopeId", "data-v-aec1f72d"]]), ho = /* @__PURE__ */ y({
2586
2550
  __name: "CModalLoading",
2587
2551
  props: {
2588
2552
  dataTest: { default: "loading-modal" },
@@ -2591,7 +2555,7 @@ const ns = /* @__PURE__ */ $({
2591
2555
  },
2592
2556
  emits: ["input"],
2593
2557
  setup(l) {
2594
- return (e, t) => (f(), M(Gt, {
2558
+ return (e, t) => (c(), M(Ut, {
2595
2559
  value: e.value,
2596
2560
  loading: e.message || !0,
2597
2561
  "data-test": e.dataTest,
@@ -2614,7 +2578,7 @@ const ns = /* @__PURE__ */ $({
2614
2578
  }, yo = {
2615
2579
  "data-test": "notification-body",
2616
2580
  class: "c-notification__text"
2617
- }, $o = /* @__PURE__ */ $({
2581
+ }, $o = /* @__PURE__ */ y({
2618
2582
  __name: "CNotification",
2619
2583
  props: {
2620
2584
  alert: { type: Boolean, default: !1 },
@@ -2631,38 +2595,39 @@ const ns = /* @__PURE__ */ $({
2631
2595
  },
2632
2596
  emits: ["click:button", "dismiss"],
2633
2597
  setup(l) {
2634
- const e = z, t = l, a = p(() => !!t.buttonText), o = p(() => t.alert ? "alert" : t.warning ? "warning" : t.variant);
2635
- return (s, i) => (f(), g("div", {
2598
+ const e = z, t = l, a = f(() => !!t.buttonText), o = f(() => t.alert ? "alert" : t.warning ? "warning" : t.variant);
2599
+ return (s, i) => (c(), g("div", {
2636
2600
  "data-test": "notification",
2637
- class: O(["c-notification", `c-notification--${o.value}`])
2601
+ class: V(["c-notification", `c-notification--${o.value}`])
2638
2602
  }, [
2639
- s.dismissible ? (f(), M(ke, {
2603
+ s.dismissible ? (c(), M(ye, {
2640
2604
  key: 0,
2641
2605
  "data-test": "notification-dismiss",
2642
2606
  variant: "tertiary",
2643
2607
  class: "c-notification__close-button",
2644
- icon: u(Re),
2608
+ icon: d(Be),
2645
2609
  "aria-label": s.$t("Dismiss"),
2646
2610
  onClick: i[0] || (i[0] = (n) => s.$emit("dismiss"))
2647
2611
  }, null, 8, ["icon", "aria-label"])) : R("", !0),
2648
2612
  b(s.$slots, "title", {}, () => [
2649
- s.title || s.titleIcon ? (f(), g("div", _o, [
2650
- s.titleIcon ? (f(), M(u(e), {
2613
+ s.title || s.titleIcon ? (c(), g("div", _o, [
2614
+ s.titleIcon ? (c(), M(d(e), {
2651
2615
  key: 0,
2652
2616
  class: "c-notification__title-icon",
2653
2617
  "data-test": "notification-title-icon",
2654
2618
  icon: s.titleIcon
2655
2619
  }, null, 8, ["icon"])) : R("", !0),
2656
2620
  S("div", Co, [
2657
- S("strong", null, F(s.title), 1)
2621
+ S("strong", null, O(s.title), 1)
2658
2622
  ])
2659
2623
  ])) : R("", !0)
2660
2624
  ], !0),
2661
2625
  S("div", yo, [
2662
2626
  b(s.$slots, "default", {}, void 0, !0)
2663
2627
  ]),
2664
- a.value ? (f(), M(Xe, {
2628
+ a.value ? (c(), M(Ze, {
2665
2629
  key: 1,
2630
+ block: "",
2666
2631
  "data-test": "notification-button",
2667
2632
  class: "c-notification__button",
2668
2633
  loading: s.buttonLoading,
@@ -2672,24 +2637,21 @@ const ns = /* @__PURE__ */ $({
2672
2637
  onClick: i[1] || (i[1] = (n) => s.$emit("click:button"))
2673
2638
  }, {
2674
2639
  default: w(() => [
2675
- G(F(s.buttonText), 1)
2640
+ q(O(s.buttonText), 1)
2676
2641
  ]),
2677
2642
  _: 1
2678
2643
  }, 8, ["loading", "to", "href", "target"])) : R("", !0)
2679
2644
  ], 2));
2680
2645
  }
2681
- }), ko = /* @__PURE__ */ L($o, [["__scopeId", "data-v-9c0ebc16"]]);
2682
- function xe() {
2683
- const l = I(null), e = p(() => {
2684
- var a;
2685
- return (a = l.value) == null ? void 0 : a.input;
2686
- });
2646
+ }), ko = /* @__PURE__ */ T($o, [["__scopeId", "data-v-660e102c"]]);
2647
+ function Je() {
2648
+ const l = E(null), e = f(() => l.value?.input);
2687
2649
  function t() {
2688
- e == null || e.value.focus();
2650
+ e?.value.focus();
2689
2651
  }
2690
2652
  return { field: l, focus: t };
2691
2653
  }
2692
- const To = /* @__PURE__ */ $({
2654
+ const To = /* @__PURE__ */ y({
2693
2655
  __name: "CPhoneField",
2694
2656
  props: {
2695
2657
  dataTest: { default: "phone-field" },
@@ -2700,13 +2662,13 @@ const To = /* @__PURE__ */ $({
2700
2662
  value: { default: "" }
2701
2663
  },
2702
2664
  setup(l, { expose: e }) {
2703
- const { t } = ve(), a = p(() => {
2665
+ const { t } = ve(), a = f(() => {
2704
2666
  const i = t("Please enter a valid {inputLabel}", {
2705
2667
  inputLabel: t("phone number")
2706
2668
  });
2707
- return [Te(10, i)];
2708
- }), { field: o, focus: s } = xe();
2709
- return e({ focus: s }), (i, n) => (f(), M($e, U(i.$attrs, {
2669
+ return [$e(10, i)];
2670
+ }), { field: o, focus: s } = Je();
2671
+ return e({ focus: s }), (i, n) => (c(), M(Ce, U(i.$attrs, {
2710
2672
  id: i.id,
2711
2673
  ref_key: "field",
2712
2674
  ref: o,
@@ -2731,13 +2693,13 @@ const To = /* @__PURE__ */ $({
2731
2693
  _: 3
2732
2694
  }, 16, ["id", "value", "label", "placeholder", "data-test", "rules"]));
2733
2695
  }
2734
- }), qt = Symbol("selected-value"), Zt = Symbol("toggle-value"), jt = Symbol("role"), Lo = ["aria-checked", "role"], Eo = {
2696
+ }), zt = /* @__PURE__ */ Symbol("selected-value"), qt = /* @__PURE__ */ Symbol("toggle-value"), Gt = /* @__PURE__ */ Symbol("role"), Io = ["aria-checked", "role"], Lo = {
2735
2697
  class: "c-pill-body",
2736
2698
  "data-test": "pill-body"
2737
- }, Io = {
2699
+ }, Eo = {
2738
2700
  key: 0,
2739
2701
  class: "c-pill-icon"
2740
- }, Ao = { class: "c-pill-text" }, So = /* @__PURE__ */ $({
2702
+ }, Ao = { class: "c-pill-text" }, So = /* @__PURE__ */ y({
2741
2703
  __name: "CPill",
2742
2704
  props: {
2743
2705
  icon: { default: void 0 },
@@ -2745,54 +2707,54 @@ const To = /* @__PURE__ */ $({
2745
2707
  },
2746
2708
  emits: ["click", "input"],
2747
2709
  setup(l, { emit: e }) {
2748
- const t = z, a = l, o = e, s = X(jt, void 0), i = X(qt, void 0), n = X(Zt, void 0), r = p(() => n ? "group" : a.value !== void 0 ? "standalone" : "none"), d = p(() => {
2710
+ const t = z, a = l, o = e, s = X(Gt, void 0), i = X(zt, void 0), n = X(qt, void 0), r = f(() => n ? "group" : a.value !== void 0 ? "standalone" : "none"), u = f(() => {
2749
2711
  if (r.value === "standalone")
2750
2712
  return a.value;
2751
- if (i != null && i.value)
2713
+ if (i?.value)
2752
2714
  return i.value === a.value;
2753
- }), c = p(() => {
2754
- if (d.value !== void 0)
2755
- return d.value ? "true" : "false";
2756
- }), m = p(() => {
2715
+ }), p = f(() => {
2716
+ if (u.value !== void 0)
2717
+ return u.value ? "true" : "false";
2718
+ }), m = f(() => {
2757
2719
  if (r.value === "standalone")
2758
2720
  return "radio";
2759
2721
  if (r.value === "group")
2760
- return (s == null ? void 0 : s.value) ?? void 0;
2722
+ return s?.value ?? void 0;
2761
2723
  }), h = () => {
2762
2724
  if (r.value === "standalone" && o("input", !a.value), r.value === "group" && n) {
2763
- const y = d.value ? void 0 : a.value;
2764
- n(y);
2725
+ const $ = u.value ? void 0 : a.value;
2726
+ n($);
2765
2727
  }
2766
2728
  o("click");
2767
2729
  };
2768
- return (y, _) => (f(), g("span", U(y.$attrs, {
2769
- "aria-checked": c.value,
2770
- class: [{ "c-pill--active": d.value }, "c-pill"],
2730
+ return ($, C) => (c(), g("span", U($.$attrs, {
2731
+ "aria-checked": p.value,
2732
+ class: [{ "c-pill--active": u.value }, "c-pill"],
2771
2733
  "data-test": "pill",
2772
2734
  role: m.value,
2773
2735
  onClick: h
2774
2736
  }), [
2775
- S("span", Eo, [
2776
- y.icon || y.$slots.icon ? (f(), g("span", Io, [
2777
- b(y.$slots, "icon", {}, () => [
2778
- y.icon ? (f(), M(u(t), {
2737
+ S("span", Lo, [
2738
+ $.icon || $.$slots.icon ? (c(), g("span", Eo, [
2739
+ b($.$slots, "icon", {}, () => [
2740
+ $.icon ? (c(), M(d(t), {
2779
2741
  key: 0,
2780
2742
  "data-test": "pill-icon",
2781
2743
  "fixed-width": "",
2782
- icon: y.icon
2744
+ icon: $.icon
2783
2745
  }, null, 8, ["icon"])) : R("", !0)
2784
2746
  ], !0)
2785
2747
  ])) : R("", !0),
2786
2748
  S("span", Ao, [
2787
- b(y.$slots, "default", {}, void 0, !0)
2749
+ b($.$slots, "default", {}, void 0, !0)
2788
2750
  ])
2789
2751
  ])
2790
- ], 16, Lo));
2752
+ ], 16, Io));
2791
2753
  }
2792
- }), Wt = /* @__PURE__ */ L(So, [["__scopeId", "data-v-43172803"]]), Do = {
2754
+ }), jt = /* @__PURE__ */ T(So, [["__scopeId", "data-v-43172803"]]), Do = {
2793
2755
  class: "c-pill-group",
2794
2756
  "data-test": "pill-group"
2795
- }, Bo = { class: "c-pill-group__track" }, wo = /* @__PURE__ */ $({
2757
+ }, Bo = { class: "c-pill-group__track" }, wo = /* @__PURE__ */ y({
2796
2758
  __name: "CPillGroup",
2797
2759
  props: {
2798
2760
  options: { default: () => [] },
@@ -2801,21 +2763,21 @@ const To = /* @__PURE__ */ $({
2801
2763
  emits: ["input"],
2802
2764
  setup(l, { emit: e }) {
2803
2765
  const t = l, a = e;
2804
- return W(jt, I("radio")), W(
2805
- qt,
2806
- p(() => t.value)
2807
- ), W(Zt, (o) => {
2766
+ return W(Gt, E("radio")), W(
2767
+ zt,
2768
+ f(() => t.value)
2769
+ ), W(qt, (o) => {
2808
2770
  a("input", o);
2809
- }), (o, s) => (f(), g("div", Do, [
2771
+ }), (o, s) => (c(), g("div", Do, [
2810
2772
  S("fieldset", Bo, [
2811
2773
  b(o.$slots, "default", {}, () => [
2812
- (f(!0), g(ce, null, fe(o.options, (i) => (f(), M(Wt, {
2774
+ (c(!0), g(ce, null, fe(o.options, (i) => (c(), M(jt, {
2813
2775
  key: i.value,
2814
2776
  value: i.value,
2815
2777
  icon: i.icon
2816
2778
  }, {
2817
2779
  default: w(() => [
2818
- G(F(i.label), 1)
2780
+ q(O(i.label), 1)
2819
2781
  ]),
2820
2782
  _: 2
2821
2783
  }, 1032, ["value", "icon"]))), 128))
@@ -2823,31 +2785,28 @@ const To = /* @__PURE__ */ $({
2823
2785
  ])
2824
2786
  ]));
2825
2787
  }
2826
- }), Ro = /* @__PURE__ */ L(wo, [["__scopeId", "data-v-370f74c6"]]), Mo = ["active"], No = {
2788
+ }), Ro = /* @__PURE__ */ T(wo, [["__scopeId", "data-v-370f74c6"]]), Mo = ["active"], No = {
2827
2789
  slot: "anchor",
2828
2790
  class: "anchor"
2829
- }, Vo = /* @__PURE__ */ $({
2791
+ }, Vo = /* @__PURE__ */ y({
2830
2792
  __name: "CPopup",
2831
2793
  props: {
2832
2794
  value: { type: Boolean, default: !1 }
2833
2795
  },
2834
2796
  emits: ["mouseleave", "outside-click"],
2835
2797
  setup(l, { emit: e }) {
2836
- const t = l, a = e, o = I(null), s = () => {
2798
+ const t = l, a = e, o = E(null), s = () => {
2837
2799
  t.value && a("mouseleave");
2838
2800
  }, i = ({ target: n }) => {
2839
- var r;
2840
- n instanceof HTMLElement && !((r = o.value) != null && r.contains(n)) && a("outside-click");
2801
+ n instanceof HTMLElement && !o.value?.contains(n) && a("outside-click");
2841
2802
  };
2842
- return ht(async () => {
2803
+ return bt(async () => {
2843
2804
  t.value ? document.addEventListener("click", i) : document.removeEventListener("click", i);
2844
2805
  }), Q(() => {
2845
- var n;
2846
- (n = o.value) == null || n.addEventListener("mouseleave", s);
2806
+ o.value?.addEventListener("mouseleave", s);
2847
2807
  }), oa(() => {
2848
- var n;
2849
- document.removeEventListener("click", i), (n = o.value) == null || n.removeEventListener("mouseleave", s);
2850
- }), (n, r) => (f(), g("sl-popup", {
2808
+ document.removeEventListener("click", i), o.value?.removeEventListener("mouseleave", s);
2809
+ }), (n, r) => (c(), g("sl-popup", {
2851
2810
  ref_key: "popup",
2852
2811
  ref: o,
2853
2812
  active: n.value,
@@ -2860,7 +2819,7 @@ const To = /* @__PURE__ */ $({
2860
2819
  b(n.$slots, "content", {}, void 0, !0)
2861
2820
  ], 8, Mo));
2862
2821
  }
2863
- }), Oo = /* @__PURE__ */ L(Vo, [["__scopeId", "data-v-fcdb504f"]]), Ho = ["data-test", "value", "indeterminate", "label"], Fo = /* @__PURE__ */ $({
2822
+ }), Oo = /* @__PURE__ */ T(Vo, [["__scopeId", "data-v-fcdb504f"]]), Ho = ["data-test", "value", "indeterminate", "label"], Fo = /* @__PURE__ */ y({
2864
2823
  __name: "CProgressLinear",
2865
2824
  props: {
2866
2825
  accessibleText: { default: void 0 },
@@ -2870,15 +2829,15 @@ const To = /* @__PURE__ */ $({
2870
2829
  value: { default: 0 }
2871
2830
  },
2872
2831
  setup(l) {
2873
- return (e, t) => (f(), g("sl-progress-bar", {
2874
- class: O(["c-progress-linear", { "c-progress-linear--rounded": e.rounded }]),
2832
+ return (e, t) => (c(), g("sl-progress-bar", {
2833
+ class: V(["c-progress-linear", { "c-progress-linear--rounded": e.rounded }]),
2875
2834
  "data-test": e.dataTest,
2876
2835
  value: e.value,
2877
2836
  indeterminate: e.indeterminate || void 0,
2878
2837
  label: e.accessibleText || e.$t("Loading...")
2879
2838
  }, null, 10, Ho));
2880
2839
  }
2881
- }), Po = /* @__PURE__ */ L(Fo, [["__scopeId", "data-v-46381206"]]), Yo = ["data-test", "aria-label", "aria-valuemax", "aria-valuenow"], Uo = { class: "c-progress-ring__label" }, zo = /* @__PURE__ */ $({
2840
+ }), Po = /* @__PURE__ */ T(Fo, [["__scopeId", "data-v-46381206"]]), Yo = ["data-test", "aria-label", "aria-valuemax", "aria-valuenow"], Uo = { class: "c-progress-ring__label" }, zo = /* @__PURE__ */ y({
2882
2841
  __name: "CProgressRing",
2883
2842
  props: {
2884
2843
  accessibleText: { default: void 0 },
@@ -2891,8 +2850,8 @@ const To = /* @__PURE__ */ $({
2891
2850
  trackColor: { default: "gray-200" }
2892
2851
  },
2893
2852
  setup(l) {
2894
- const e = l, { cssColor: t } = J(() => e.color), { cssColor: a } = J(() => e.trackColor), o = p(() => 100 * Number(e.value) / Number(e.valueMax));
2895
- return (s, i) => (f(), g("span", {
2853
+ const e = l, { cssColor: t } = J(() => e.color), { cssColor: a } = J(() => e.trackColor), o = f(() => 100 * Number(e.value) / Number(e.valueMax));
2854
+ return (s, i) => (c(), g("span", {
2896
2855
  class: "c-progress-ring",
2897
2856
  "data-test": s.dataTest,
2898
2857
  "aria-label": s.accessibleText || s.$t("Loading..."),
@@ -2902,8 +2861,8 @@ const To = /* @__PURE__ */ $({
2902
2861
  "aria-valuenow": String(s.value),
2903
2862
  style: x({
2904
2863
  "--size": `${s.size}px`,
2905
- "--indicator-color": u(t),
2906
- "--track-color": u(a),
2864
+ "--indicator-color": d(t),
2865
+ "--track-color": d(a),
2907
2866
  "--track-width": `${s.trackWidth}px`,
2908
2867
  "--indicator-length": `${o.value}`
2909
2868
  })
@@ -2920,7 +2879,7 @@ const To = /* @__PURE__ */ $({
2920
2879
  ])
2921
2880
  ], 12, Yo));
2922
2881
  }
2923
- }), Go = /* @__PURE__ */ L(zo, [["__scopeId", "data-v-b9b9c802"]]), Xt = Symbol("radio-state"), qo = ["id", "for", "data-test", "data-selected"], Zo = ["id", "data-test", "name", "value", "checked"], jo = /* @__PURE__ */ $({
2882
+ }), qo = /* @__PURE__ */ T(zo, [["__scopeId", "data-v-b9b9c802"]]), Zt = /* @__PURE__ */ Symbol("radio-state"), Go = ["id", "for", "data-test", "data-selected"], jo = ["id", "data-test", "name", "value", "checked"], Zo = /* @__PURE__ */ y({
2924
2883
  __name: "CRadio",
2925
2884
  props: {
2926
2885
  value: {},
@@ -2932,8 +2891,8 @@ const To = /* @__PURE__ */ $({
2932
2891
  emits: ["change", "blur", "focus"],
2933
2892
  setup(l, { emit: e }) {
2934
2893
  const t = l, a = e, { id: o } = te(t), s = pe(o), i = X(
2935
- Xt,
2936
- I({
2894
+ Zt,
2895
+ E({
2937
2896
  value: null,
2938
2897
  name: s.value,
2939
2898
  invalid: !1,
@@ -2945,41 +2904,41 @@ const To = /* @__PURE__ */ $({
2945
2904
  }
2946
2905
  })
2947
2906
  ), n = (r) => {
2948
- const d = r.target;
2949
- i.value.update(d.checked ? t.value : null), a("change", r);
2907
+ const u = r.target;
2908
+ i.value.update(u.checked ? t.value : null), a("change", r);
2950
2909
  };
2951
2910
  return Q(() => {
2952
2911
  i.value.register(t.value);
2953
- }), he(() => {
2912
+ }), be(() => {
2954
2913
  i.value.unregister(t.value);
2955
- }), (r, d) => (f(), g("label", {
2956
- id: u(s),
2957
- for: `${u(s)}-input`,
2914
+ }), (r, u) => (c(), g("label", {
2915
+ id: d(s),
2916
+ for: `${d(s)}-input`,
2958
2917
  "data-test": r.dataTest,
2959
- "data-selected": u(i).value === r.value || void 0,
2960
- class: O(["c-radio", {
2961
- "c-radio--invalid": u(i).invalid,
2962
- "c-radio--checked": u(i).value === r.value
2918
+ "data-selected": d(i).value === r.value || void 0,
2919
+ class: V(["c-radio", {
2920
+ "c-radio--invalid": d(i).invalid,
2921
+ "c-radio--checked": d(i).value === r.value
2963
2922
  }])
2964
2923
  }, [
2965
2924
  S("input", {
2966
- id: `${u(s)}-input`,
2925
+ id: `${d(s)}-input`,
2967
2926
  type: "radio",
2968
2927
  "data-test": `${r.dataTest}-input`,
2969
- class: O(["c-radio__input", { "sr-only": r.hideRadio }]),
2970
- name: u(i).name,
2928
+ class: V(["c-radio__input", { "sr-only": r.hideRadio }]),
2929
+ name: d(i).name,
2971
2930
  value: r.value,
2972
- checked: u(i).value === r.value || void 0,
2973
- onChange: d[0] || (d[0] = (c) => n(c)),
2974
- onBlur: d[1] || (d[1] = (c) => r.$emit("blur")),
2975
- onFocus: d[2] || (d[2] = (c) => r.$emit("focus"))
2976
- }, null, 42, Zo),
2931
+ checked: d(i).value === r.value || void 0,
2932
+ onChange: u[0] || (u[0] = (p) => n(p)),
2933
+ onBlur: u[1] || (u[1] = (p) => r.$emit("blur")),
2934
+ onFocus: u[2] || (u[2] = (p) => r.$emit("focus"))
2935
+ }, null, 42, jo),
2977
2936
  b(r.$slots, "label", {}, () => [
2978
- G(F(r.label), 1)
2937
+ q(O(r.label), 1)
2979
2938
  ], !0)
2980
- ], 10, qo));
2939
+ ], 10, Go));
2981
2940
  }
2982
- }), Wo = /* @__PURE__ */ L(jo, [["__scopeId", "data-v-a18ed533"]]), Xo = ["id", "data-test", "aria-invalid", "aria-labelledby", "aria-errormessage"], Ko = ["id", "data-test"], Jo = /* @__PURE__ */ $({
2941
+ }), Wo = /* @__PURE__ */ T(Zo, [["__scopeId", "data-v-a18ed533"]]), Xo = ["id", "data-test", "aria-invalid", "aria-labelledby", "aria-errormessage"], Ko = ["id", "data-test"], Jo = /* @__PURE__ */ y({
2983
2942
  __name: "CRadioGroup",
2984
2943
  props: {
2985
2944
  value: { default: null },
@@ -2993,89 +2952,89 @@ const To = /* @__PURE__ */ $({
2993
2952
  },
2994
2953
  emits: ["change", "input"],
2995
2954
  setup(l, { emit: e }) {
2996
- const t = l, a = e, { value: o, rules: s, id: i, mandatory: n } = te(t), r = pe(i), d = I(null), c = ae(o, {
2997
- onChange: (_) => {
2998
- a("change", _), a("input", _);
2955
+ const t = l, a = e, { value: o, rules: s, id: i, mandatory: n } = te(t), r = pe(i), u = E(null), p = le(o, {
2956
+ onChange: (C) => {
2957
+ a("change", C), a("input", C);
2999
2958
  }
3000
2959
  }), {
3001
2960
  startValidating: m,
3002
2961
  message: h,
3003
- valid: y
3004
- } = Le({
2962
+ valid: $
2963
+ } = ke({
3005
2964
  id: r,
3006
- value: c,
2965
+ value: p,
3007
2966
  rules: s,
3008
2967
  required: n,
3009
2968
  validateOn: "change"
3010
2969
  });
3011
2970
  return W(
3012
- Xt,
3013
- p(() => ({
3014
- invalid: !y.value,
3015
- value: c.value,
2971
+ Zt,
2972
+ f(() => ({
2973
+ invalid: !$.value,
2974
+ value: p.value,
3016
2975
  name: r.value,
3017
- update: (_) => {
3018
- c.value = _;
2976
+ update: (C) => {
2977
+ p.value = C;
3019
2978
  },
3020
- register: (_) => {
3021
- t.mandatory && c.value === null && (c.value = _);
2979
+ register: (C) => {
2980
+ t.mandatory && p.value === null && (p.value = C);
3022
2981
  },
3023
- unregister: (_) => {
3024
- c.value === _ && (c.value = null);
2982
+ unregister: (C) => {
2983
+ p.value === C && (p.value = null);
3025
2984
  }
3026
2985
  }))
3027
- ), q(c, () => {
2986
+ ), G(p, () => {
3028
2987
  m();
3029
- }), (_, N) => (f(), g("fieldset", {
3030
- id: u(r),
2988
+ }), (C, N) => (c(), g("fieldset", {
2989
+ id: d(r),
3031
2990
  ref_key: "radioGroup",
3032
- ref: d,
3033
- "data-test": _.dataTest,
2991
+ ref: u,
2992
+ "data-test": C.dataTest,
3034
2993
  role: "radiogroup",
3035
- class: O(["c-radio-group", {
3036
- "c-radio-group--column": _.column,
3037
- "c-radio-group--row": !_.column,
3038
- "c-radio-group--invalid": !u(y)
2994
+ class: V(["c-radio-group", {
2995
+ "c-radio-group--column": C.column,
2996
+ "c-radio-group--row": !C.column,
2997
+ "c-radio-group--invalid": !d($)
3039
2998
  }]),
3040
- "aria-invalid": u(y) ? "false" : "true",
3041
- "aria-labelledby": `${u(r)}-label`,
3042
- "aria-errormessage": `${u(r)}-message`
2999
+ "aria-invalid": d($) ? "false" : "true",
3000
+ "aria-labelledby": `${d(r)}-label`,
3001
+ "aria-errormessage": `${d(r)}-message`
3043
3002
  }, [
3044
3003
  S("span", {
3045
- id: `${u(r)}-label`,
3046
- "data-test": `${_.dataTest}-label`
3004
+ id: `${d(r)}-label`,
3005
+ "data-test": `${C.dataTest}-label`
3047
3006
  }, [
3048
- b(_.$slots, "label", {}, () => [
3049
- G(F(_.label), 1)
3007
+ b(C.$slots, "label", {}, () => [
3008
+ q(O(C.label), 1)
3050
3009
  ], !0)
3051
3010
  ], 8, Ko),
3052
- b(_.$slots, "default", {}, void 0, !0),
3053
- P(ye, {
3054
- id: `${u(r)}-message`,
3055
- "data-test": `${_.dataTest}-message`,
3056
- "validation-message": u(h),
3057
- hide: _.hideDetails
3011
+ b(C.$slots, "default", {}, void 0, !0),
3012
+ P(_e, {
3013
+ id: `${d(r)}-message`,
3014
+ "data-test": `${C.dataTest}-message`,
3015
+ "validation-message": d(h),
3016
+ hide: C.hideDetails
3058
3017
  }, {
3059
3018
  default: w(() => [
3060
- b(_.$slots, "message", {}, void 0, !0)
3019
+ b(C.$slots, "message", {}, void 0, !0)
3061
3020
  ]),
3062
3021
  _: 3
3063
3022
  }, 8, ["id", "data-test", "validation-message", "hide"])
3064
3023
  ], 10, Xo));
3065
3024
  }
3066
- }), Qo = /* @__PURE__ */ L(Jo, [["__scopeId", "data-v-d68efbf0"]]), xo = /* @__PURE__ */ $({
3025
+ }), Qo = /* @__PURE__ */ T(Jo, [["__scopeId", "data-v-d68efbf0"]]), xo = /* @__PURE__ */ y({
3067
3026
  __name: "CRebrand",
3068
3027
  props: {
3069
3028
  fullWidth: { type: Boolean, default: !1 }
3070
3029
  },
3071
3030
  setup(l) {
3072
- return (e, t) => (f(), g("div", {
3073
- class: O({ "w-100": e.fullWidth })
3031
+ return (e, t) => (c(), g("div", {
3032
+ class: V({ "w-100": e.fullWidth })
3074
3033
  }, [
3075
3034
  b(e.$slots, "default", {}, void 0, !0)
3076
3035
  ], 2));
3077
3036
  }
3078
- }), en = /* @__PURE__ */ L(xo, [["__scopeId", "data-v-011ad982"]]), tn = /* @__PURE__ */ $({
3037
+ }), en = /* @__PURE__ */ T(xo, [["__scopeId", "data-v-011ad982"]]), tn = /* @__PURE__ */ y({
3079
3038
  __name: "CRow",
3080
3039
  props: {
3081
3040
  align: { default: null },
@@ -3085,8 +3044,8 @@ const To = /* @__PURE__ */ $({
3085
3044
  justify: { default: null }
3086
3045
  },
3087
3046
  setup(l) {
3088
- return (e, t) => (f(), g("div", {
3089
- class: O(["c-row", {
3047
+ return (e, t) => (c(), g("div", {
3048
+ class: V(["c-row", {
3090
3049
  "c-row--dense": e.dense,
3091
3050
  "c-row--no-gutters": e.noGutters,
3092
3051
  [`align-${e.align}`]: e.align,
@@ -3097,69 +3056,69 @@ const To = /* @__PURE__ */ $({
3097
3056
  b(e.$slots, "default", {}, void 0, !0)
3098
3057
  ], 2));
3099
3058
  }
3100
- }), an = /* @__PURE__ */ L(tn, [["__scopeId", "data-v-426af58c"]]), ln = {}, sn = { class: "c-safe-area" };
3059
+ }), an = /* @__PURE__ */ T(tn, [["__scopeId", "data-v-426af58c"]]), ln = {}, sn = { class: "c-safe-area" };
3101
3060
  function on(l, e) {
3102
- return f(), g("div", sn, [
3061
+ return c(), g("div", sn, [
3103
3062
  b(l.$slots, "default", {}, void 0, !0)
3104
3063
  ]);
3105
3064
  }
3106
- const nn = /* @__PURE__ */ L(ln, [["render", on], ["__scopeId", "data-v-d4b412f9"]]), rn = {
3065
+ const nn = /* @__PURE__ */ T(ln, [["render", on], ["__scopeId", "data-v-d4b412f9"]]), rn = {
3107
3066
  class: "c-section-header",
3108
3067
  "data-test": "section-header"
3109
- }, dn = /* @__PURE__ */ $({
3068
+ }, dn = /* @__PURE__ */ y({
3110
3069
  __name: "CSectionHeader",
3111
3070
  props: {
3112
3071
  tag: { default: "h2" },
3113
3072
  title: { default: "" }
3114
3073
  },
3115
3074
  setup(l) {
3116
- return W(Ne, I(!0)), (e, t) => (f(), g("div", rn, [
3117
- (f(), M(De(e.tag), {
3075
+ return W(Re, E(!0)), (e, t) => (c(), g("div", rn, [
3076
+ (c(), M(Ae(e.tag), {
3118
3077
  class: "c-section-header__title",
3119
3078
  "data-test": "section-header-title"
3120
3079
  }, {
3121
3080
  default: w(() => [
3122
- G(F(e.title), 1)
3081
+ q(O(e.title), 1)
3123
3082
  ]),
3124
3083
  _: 1
3125
3084
  })),
3126
3085
  b(e.$slots, "append", {}, void 0, !0)
3127
3086
  ]));
3128
3087
  }
3129
- }), un = /* @__PURE__ */ L(dn, [["__scopeId", "data-v-f3be92b0"]]), cn = {}, fn = {
3088
+ }), un = /* @__PURE__ */ T(dn, [["__scopeId", "data-v-f3be92b0"]]), cn = {}, fn = {
3130
3089
  class: "c-skeleton",
3131
3090
  "data-test": "skeleton"
3132
3091
  };
3133
3092
  function pn(l, e) {
3134
- return f(), g("div", fn, e[0] || (e[0] = [
3093
+ return c(), g("div", fn, e[0] || (e[0] = [
3135
3094
  S("div", { class: "c-skeleton__indicator" }, null, -1)
3136
3095
  ]));
3137
3096
  }
3138
- const Oe = /* @__PURE__ */ L(cn, [["render", pn], ["__scopeId", "data-v-aecc010b"]]), vn = /* @__PURE__ */ $({
3097
+ const Ne = /* @__PURE__ */ T(cn, [["render", pn], ["__scopeId", "data-v-aecc010b"]]), vn = /* @__PURE__ */ y({
3139
3098
  __name: "CSkeletonLoaderCard",
3140
3099
  props: {
3141
3100
  height: { default: 100 }
3142
3101
  },
3143
3102
  setup(l) {
3144
- return (e, t) => (f(), g("div", {
3103
+ return (e, t) => (c(), g("div", {
3145
3104
  class: "c-skeleton-loader-card",
3146
3105
  "data-test": "skeleton-loader-card",
3147
3106
  style: x({ height: `${e.height}px` })
3148
3107
  }, [
3149
- P(Oe)
3108
+ P(Ne)
3150
3109
  ], 4));
3151
3110
  }
3152
3111
  }), mn = {
3153
3112
  class: "c-skeleton-loader-circle",
3154
3113
  "data-test": "skeleton-loader-circle"
3155
- }, bn = /* @__PURE__ */ $({
3114
+ }, bn = /* @__PURE__ */ y({
3156
3115
  __name: "CSkeletonLoaderCircle",
3157
3116
  setup(l) {
3158
- return (e, t) => (f(), g("div", mn, [
3159
- P(Oe)
3117
+ return (e, t) => (c(), g("div", mn, [
3118
+ P(Ne)
3160
3119
  ]));
3161
3120
  }
3162
- }), gn = /* @__PURE__ */ L(bn, [["__scopeId", "data-v-bb292787"]]), hn = /* @__PURE__ */ $({
3121
+ }), gn = /* @__PURE__ */ T(bn, [["__scopeId", "data-v-bb292787"]]), hn = /* @__PURE__ */ y({
3163
3122
  __name: "CSkeletonLoaderText",
3164
3123
  props: {
3165
3124
  align: { default: "start" },
@@ -3181,33 +3140,33 @@ const Oe = /* @__PURE__ */ L(cn, [["render", pn], ["__scopeId", "data-v-aecc010b
3181
3140
  subheadline: "c-skeleton-loader-text__line--subheadline",
3182
3141
  "wallet-caption": "c-skeleton-loader-text__line--wallet-caption",
3183
3142
  "x-large-headline": "c-skeleton-loader-text__line--x-large-headline"
3184
- }, t = l, a = p(() => e[t.type]);
3185
- return (o, s) => (f(), g("div", {
3143
+ }, t = l, a = f(() => e[t.type]);
3144
+ return (o, s) => (c(), g("div", {
3186
3145
  "data-test": "skeleton-loader-text",
3187
- class: O(["c-skeleton-loader-text", { [`align-${o.align}`]: o.align }])
3146
+ class: V(["c-skeleton-loader-text", { [`align-${o.align}`]: o.align }])
3188
3147
  }, [
3189
- (f(!0), g(ce, null, fe(o.rows, (i) => (f(), g("div", {
3148
+ (c(!0), g(ce, null, fe(o.rows, (i) => (c(), g("div", {
3190
3149
  key: i,
3191
- class: O([a.value, "c-skeleton-loader-text__line"]),
3150
+ class: V([a.value, "c-skeleton-loader-text__line"]),
3192
3151
  "data-test": "skeleton-loader-text-line"
3193
3152
  }, [
3194
- P(Oe, { class: "c-skeleton-loader-text__line__skeleton" }),
3195
- s[0] || (s[0] = G("   ", -1))
3153
+ P(Ne, { class: "c-skeleton-loader-text__line__skeleton" }),
3154
+ s[0] || (s[0] = q("   ", -1))
3196
3155
  ], 2))), 128))
3197
3156
  ], 2));
3198
3157
  }
3199
- }), _n = /* @__PURE__ */ L(hn, [["__scopeId", "data-v-c3373603"]]), Cn = /* @__PURE__ */ $({
3158
+ }), _n = /* @__PURE__ */ T(hn, [["__scopeId", "data-v-bfc4537c"]]), Cn = /* @__PURE__ */ y({
3200
3159
  __name: "CSlideFadeTransition",
3201
3160
  props: {
3202
3161
  amount: { default: 20 },
3203
3162
  direction: { default: "to-left" }
3204
3163
  },
3205
3164
  setup(l) {
3206
- return (e, t) => (f(), g("div", {
3207
- class: O(e.direction),
3165
+ return (e, t) => (c(), g("div", {
3166
+ class: V(e.direction),
3208
3167
  style: x({ "--slide-fade-amount": `${e.amount}px` })
3209
3168
  }, [
3210
- P(vt, {
3169
+ P(ft, {
3211
3170
  name: "slide-fade",
3212
3171
  mode: "out-in"
3213
3172
  }, {
@@ -3218,7 +3177,7 @@ const Oe = /* @__PURE__ */ L(cn, [["render", pn], ["__scopeId", "data-v-aecc010b
3218
3177
  })
3219
3178
  ], 6));
3220
3179
  }
3221
- }), yn = /* @__PURE__ */ L(Cn, [["__scopeId", "data-v-587b729f"]]), $n = /* @__PURE__ */ $({
3180
+ }), yn = /* @__PURE__ */ T(Cn, [["__scopeId", "data-v-587b729f"]]), $n = /* @__PURE__ */ y({
3222
3181
  __name: "CSplitInput",
3223
3182
  props: {
3224
3183
  autocomplete: { default: void 0 },
@@ -3233,8 +3192,8 @@ const Oe = /* @__PURE__ */ L(cn, [["render", pn], ["__scopeId", "data-v-aecc010b
3233
3192
  value: { default: "" }
3234
3193
  },
3235
3194
  setup(l) {
3236
- const e = l, t = I(""), a = p(() => e.fields.map((s) => `${s.placeholder ?? ""}${s.separator ?? ""}`).join("")), o = p(() => e.fields.map((s) => `${Array(s.characters).fill("*").join("")}${s.separator ?? ""}`).join(""));
3237
- return (s, i) => (f(), M($e, U(s.$attrs, {
3195
+ const e = l, t = E(""), a = f(() => e.fields.map((s) => `${s.placeholder ?? ""}${s.separator ?? ""}`).join("")), o = f(() => e.fields.map((s) => `${Array(s.characters).fill("*").join("")}${s.separator ?? ""}`).join(""));
3196
+ return (s, i) => (c(), M(Ce, U(s.$attrs, {
3238
3197
  "data-test": s.dataTest,
3239
3198
  class: "c-split-input",
3240
3199
  type: s.type,
@@ -3259,7 +3218,7 @@ const Oe = /* @__PURE__ */ L(cn, [["render", pn], ["__scopeId", "data-v-aecc010b
3259
3218
  _: 3
3260
3219
  }, 16, ["data-test", "type", "label", "name", "inputmode", "value", "rules", "placeholder", "disabled", "autocomplete", "mask"]));
3261
3220
  }
3262
- }), kn = /* @__PURE__ */ L($n, [["__scopeId", "data-v-d07558f9"]]), Tn = /* @__PURE__ */ $({
3221
+ }), kn = /* @__PURE__ */ T($n, [["__scopeId", "data-v-d07558f9"]]), Tn = /* @__PURE__ */ y({
3263
3222
  __name: "CSsnField",
3264
3223
  props: {
3265
3224
  dataTest: { default: "ssn-field" },
@@ -3271,51 +3230,51 @@ const Oe = /* @__PURE__ */ L(cn, [["render", pn], ["__scopeId", "data-v-aecc010b
3271
3230
  },
3272
3231
  emits: ["input", "focus", "blur", "change"],
3273
3232
  setup(l, { expose: e }) {
3274
- const t = l, { t: a } = ve(), o = p(() => t.fourDigitSsn ? a("Last 4 digits of SSN") : a("Social Security number")), s = p(() => {
3275
- const d = Te(4, a("Please enter the last four digits of your SSN")), c = Te(
3233
+ const t = l, { t: a } = ve(), o = f(() => t.fourDigitSsn ? a("Last 4 digits of SSN") : a("Social Security number")), s = f(() => {
3234
+ const u = $e(4, a("Please enter the last four digits of your SSN")), p = $e(
3276
3235
  9,
3277
3236
  a("Please enter a valid {inputLabel}", { inputLabel: a("Social Security number") })
3278
3237
  );
3279
- return [t.fourDigitSsn ? d : c];
3280
- }), i = p(() => [...s.value, ...t.rules]), { field: n, focus: r } = xe();
3281
- return e({ focus: r }), (d, c) => (f(), M($e, U(d.$attrs, {
3282
- id: d.id,
3238
+ return [t.fourDigitSsn ? u : p];
3239
+ }), i = f(() => [...s.value, ...t.rules]), { field: n, focus: r } = Je();
3240
+ return e({ focus: r }), (u, p) => (c(), M(Ce, U(u.$attrs, {
3241
+ id: u.id,
3283
3242
  ref_key: "field",
3284
3243
  ref: n,
3285
- "data-test": d.dataTest,
3286
- value: d.value,
3287
- label: d.label || o.value,
3288
- placeholder: d.fourDigitSsn ? "XXXX" : "XXX-XX-XXXX",
3244
+ "data-test": u.dataTest,
3245
+ value: u.value,
3246
+ label: u.label || o.value,
3247
+ placeholder: u.fourDigitSsn ? "XXXX" : "XXX-XX-XXXX",
3289
3248
  inputmode: "numeric",
3290
- mask: d.fourDigitSsn ? "####" : "###-##-####",
3291
- minlength: d.fourDigitSsn ? 4 : 9,
3292
- maxlength: d.fourDigitSsn ? 4 : 9,
3293
- hideable: !d.fourDigitSsn,
3249
+ mask: u.fourDigitSsn ? "####" : "###-##-####",
3250
+ minlength: u.fourDigitSsn ? 4 : 9,
3251
+ maxlength: u.fourDigitSsn ? 4 : 9,
3252
+ hideable: !u.fourDigitSsn,
3294
3253
  autocorrect: "off",
3295
3254
  autocapitalize: "none",
3296
3255
  rules: i.value,
3297
- onInput: c[0] || (c[0] = (m) => d.$emit("input", m)),
3298
- onFocus: c[1] || (c[1] = (m) => d.$emit("focus", m)),
3299
- onBlur: c[2] || (c[2] = (m) => d.$emit("blur", m)),
3300
- onChange: c[3] || (c[3] = (m) => d.$emit("change", m))
3256
+ onInput: p[0] || (p[0] = (m) => u.$emit("input", m)),
3257
+ onFocus: p[1] || (p[1] = (m) => u.$emit("focus", m)),
3258
+ onBlur: p[2] || (p[2] = (m) => u.$emit("blur", m)),
3259
+ onChange: p[3] || (p[3] = (m) => u.$emit("change", m))
3301
3260
  }), {
3302
3261
  label: w(() => [
3303
- b(d.$slots, "label")
3262
+ b(u.$slots, "label")
3304
3263
  ]),
3305
3264
  message: w(() => [
3306
- b(d.$slots, "message")
3265
+ b(u.$slots, "message")
3307
3266
  ]),
3308
3267
  append: w(() => [
3309
- d.fourDigitSsn ? (f(), M(u(z), {
3268
+ u.fourDigitSsn ? (c(), M(d(z), {
3310
3269
  key: 0,
3311
- icon: u(da),
3270
+ icon: d(da),
3312
3271
  "fixed-width": ""
3313
3272
  }, null, 8, ["icon"])) : R("", !0)
3314
3273
  ]),
3315
3274
  _: 3
3316
3275
  }, 16, ["id", "data-test", "value", "label", "placeholder", "mask", "minlength", "maxlength", "hideable", "rules"]));
3317
3276
  }
3318
- }), Ln = /* @__PURE__ */ $({
3277
+ }), In = /* @__PURE__ */ y({
3319
3278
  __name: "CStatusDot",
3320
3279
  props: {
3321
3280
  count: { default: null },
@@ -3323,21 +3282,21 @@ const Oe = /* @__PURE__ */ L(cn, [["render", pn], ["__scopeId", "data-v-aecc010b
3323
3282
  },
3324
3283
  setup(l) {
3325
3284
  const e = l;
3326
- Ft();
3327
- const t = p(() => e.count !== null), a = p(() => e.count && e.count > 9 ? "9+" : e.count);
3328
- return (o, s) => (f(), g("div", {
3329
- class: O(["c-status-dot", {
3285
+ Ot();
3286
+ const t = f(() => e.count !== null), a = f(() => e.count && e.count > 9 ? "9+" : e.count);
3287
+ return (o, s) => (c(), g("div", {
3288
+ class: V(["c-status-dot", {
3330
3289
  "c-status-dot--count": t.value,
3331
3290
  "c-status-dot--bordered": o.bordered
3332
3291
  }]),
3333
3292
  "data-test": "status-dot",
3334
3293
  role: "img"
3335
- }, F(a.value), 3));
3294
+ }, O(a.value), 3));
3336
3295
  }
3337
- }), En = /* @__PURE__ */ L(Ln, [["__scopeId", "data-v-3f2f25d9"]]), In = ["checked", "disabled"], An = {
3296
+ }), Ln = /* @__PURE__ */ T(In, [["__scopeId", "data-v-3f2f25d9"]]), En = ["checked", "disabled"], An = {
3338
3297
  key: 0,
3339
3298
  class: "c-switch__sr-label"
3340
- }, Sn = /* @__PURE__ */ $({
3299
+ }, Sn = /* @__PURE__ */ y({
3341
3300
  __name: "CSwitch",
3342
3301
  props: {
3343
3302
  ariaLabel: { default: "" },
@@ -3347,25 +3306,25 @@ const Oe = /* @__PURE__ */ L(cn, [["render", pn], ["__scopeId", "data-v-aecc010b
3347
3306
  },
3348
3307
  emits: ["input"],
3349
3308
  setup(l, { emit: e }) {
3350
- const t = l, a = e, { value: o } = te(t), s = ae(o, {
3309
+ const t = l, a = e, { value: o } = te(t), s = le(o, {
3351
3310
  onChange: (i) => a("input", i)
3352
3311
  });
3353
- return (i, n) => (f(), g("sl-switch", {
3354
- class: O(["c-switch", {
3312
+ return (i, n) => (c(), g("sl-switch", {
3313
+ class: V(["c-switch", {
3355
3314
  "c-switch--label-first": i.labelFirst,
3356
3315
  "c-switch--disabled": i.disabled,
3357
- "c-switch--checked": u(s),
3316
+ "c-switch--checked": d(s),
3358
3317
  "c-switch--aria-labelled": i.ariaLabel
3359
3318
  }]),
3360
- checked: u(s) || void 0,
3319
+ checked: d(s) || void 0,
3361
3320
  disabled: i.disabled || void 0,
3362
- onSlChange: n[0] || (n[0] = (r) => s.value = !u(s))
3321
+ onSlChange: n[0] || (n[0] = (r) => s.value = !d(s))
3363
3322
  }, [
3364
3323
  b(i.$slots, "default", {}, void 0, !0),
3365
- i.ariaLabel ? (f(), g("span", An, F(i.ariaLabel), 1)) : R("", !0)
3366
- ], 42, In));
3324
+ i.ariaLabel ? (c(), g("span", An, O(i.ariaLabel), 1)) : R("", !0)
3325
+ ], 42, En));
3367
3326
  }
3368
- }), Kt = /* @__PURE__ */ L(Sn, [["__scopeId", "data-v-ca938910"]]), Dn = /* @__PURE__ */ $({
3327
+ }), Wt = /* @__PURE__ */ T(Sn, [["__scopeId", "data-v-ca938910"]]), Dn = /* @__PURE__ */ y({
3369
3328
  __name: "CSwitchListItem",
3370
3329
  props: {
3371
3330
  align: { default: "center" },
@@ -3379,9 +3338,9 @@ const Oe = /* @__PURE__ */ L(cn, [["render", pn], ["__scopeId", "data-v-aecc010b
3379
3338
  emits: ["input"],
3380
3339
  setup(l) {
3381
3340
  const e = K("icon");
3382
- return (t, a) => (f(), M(zt, null, {
3341
+ return (t, a) => (c(), M(Yt, null, {
3383
3342
  default: w(() => [
3384
- P(Kt, {
3343
+ P(Wt, {
3385
3344
  "data-test": "list-item-switch",
3386
3345
  class: "c-switch-list-item__switch",
3387
3346
  value: t.value,
@@ -3390,13 +3349,13 @@ const Oe = /* @__PURE__ */ L(cn, [["render", pn], ["__scopeId", "data-v-aecc010b
3390
3349
  }, {
3391
3350
  default: w(() => [
3392
3351
  S("div", {
3393
- class: O(["d-flex flex-row gap-3", {
3352
+ class: V(["d-flex flex-row gap-3", {
3394
3353
  "align-start": t.align === "top",
3395
3354
  "align-center": t.align !== "top"
3396
3355
  }])
3397
3356
  }, [
3398
3357
  b(t.$slots, "prepend", {}, () => [
3399
- t.icon || u(e) ? (f(), M(Qe, {
3358
+ t.icon || d(e) ? (c(), M(Ke, {
3400
3359
  key: 0,
3401
3360
  icon: t.icon,
3402
3361
  "icon-color": t.iconColor
@@ -3407,10 +3366,10 @@ const Oe = /* @__PURE__ */ L(cn, [["render", pn], ["__scopeId", "data-v-aecc010b
3407
3366
  _: 3
3408
3367
  }, 8, ["icon", "icon-color"])) : R("", !0)
3409
3368
  ], !0),
3410
- P(Ut, {
3369
+ P(Pt, {
3411
3370
  title: t.title,
3412
3371
  label: t.label
3413
- }, gt({ _: 2 }, [
3372
+ }, mt({ _: 2 }, [
3414
3373
  fe(["title", "label", "default"], (o) => ({
3415
3374
  name: o,
3416
3375
  fn: w(() => [
@@ -3426,7 +3385,7 @@ const Oe = /* @__PURE__ */ L(cn, [["render", pn], ["__scopeId", "data-v-aecc010b
3426
3385
  _: 3
3427
3386
  }));
3428
3387
  }
3429
- }), Bn = /* @__PURE__ */ L(Dn, [["__scopeId", "data-v-337edd4f"]]), wn = ["data-test"], Rn = ["for", "data-test"], Mn = ["id", "aria-label", "aria-describedby", "aria-invalid", "data-test", "disabled", "placeholder", "maxlength", "required", "value"], Nn = ["id", "data-test"], Vn = /* @__PURE__ */ $({
3388
+ }), Bn = /* @__PURE__ */ T(Dn, [["__scopeId", "data-v-337edd4f"]]), wn = ["data-test"], Rn = ["for", "data-test"], Mn = ["id", "aria-label", "aria-describedby", "aria-invalid", "data-test", "disabled", "placeholder", "maxlength", "required", "value"], Nn = ["id", "data-test"], Vn = /* @__PURE__ */ y({
3430
3389
  __name: "CTextArea",
3431
3390
  props: {
3432
3391
  counter: { default: null },
@@ -3446,24 +3405,24 @@ const Oe = /* @__PURE__ */ L(cn, [["render", pn], ["__scopeId", "data-v-aecc010b
3446
3405
  },
3447
3406
  emits: ["input", "change", "blur", "focus"],
3448
3407
  setup(l, { emit: e }) {
3449
- const t = l, a = e, { value: o, rules: s, required: i, id: n } = te(t), r = pe(n), d = ae(o, {
3408
+ const t = l, a = e, { value: o, rules: s, required: i, id: n } = te(t), r = pe(n), u = le(o, {
3450
3409
  onChange: (B) => a("input", B)
3451
- }), c = K("message"), m = I(null), {
3410
+ }), p = K("message"), m = E(null), {
3452
3411
  message: h,
3453
- valid: y,
3454
- listeners: _
3455
- } = Le({
3412
+ valid: $,
3413
+ listeners: C
3414
+ } = ke({
3456
3415
  id: r,
3457
- value: d,
3416
+ value: u,
3458
3417
  rules: s,
3459
3418
  required: i,
3460
3419
  field: m
3461
- }), N = p(() => !y.value || !!t.errorMessage), A = (B) => {
3420
+ }), N = f(() => !$.value || !!t.errorMessage), A = (B) => {
3462
3421
  const v = B.target;
3463
- d.value = v.value;
3422
+ u.value = v.value;
3464
3423
  };
3465
- return (B, v) => (f(), g("div", {
3466
- class: O(["d-flex flex-column gap-1", {
3424
+ return (B, v) => (c(), g("div", {
3425
+ class: V(["d-flex flex-column gap-1", {
3467
3426
  "c-text-area--disabled": B.disabled,
3468
3427
  "c-text-area--invalid": N.value,
3469
3428
  "c-text-area--hide-label": B.hideLabel
@@ -3472,52 +3431,52 @@ const Oe = /* @__PURE__ */ L(cn, [["render", pn], ["__scopeId", "data-v-aecc010b
3472
3431
  }, [
3473
3432
  S("label", {
3474
3433
  class: "c-text-area__label",
3475
- for: u(r),
3434
+ for: d(r),
3476
3435
  "data-test": `${B.dataTest}-label`
3477
3436
  }, [
3478
3437
  b(B.$slots, "label", {}, () => [
3479
- G(F(B.label), 1)
3438
+ q(O(B.label), 1)
3480
3439
  ], !0)
3481
3440
  ], 8, Rn),
3482
3441
  S("textarea", U({
3483
- id: u(r),
3442
+ id: d(r),
3484
3443
  ref_key: "textarea",
3485
3444
  ref: m,
3486
3445
  class: "c-text-area__input",
3487
3446
  rows: "4",
3488
3447
  "aria-label": B.label || void 0,
3489
- "aria-describedby": `${u(r)}-message ${u(r)}-validation-message`,
3448
+ "aria-describedby": `${d(r)}-message ${d(r)}-validation-message`,
3490
3449
  "aria-invalid": N.value ? "true" : "false",
3491
3450
  "data-test": `${B.dataTest}-textarea`,
3492
3451
  disabled: B.disabled,
3493
3452
  placeholder: B.placeholder,
3494
3453
  maxlength: B.maxlength,
3495
- required: u(i),
3496
- value: u(d),
3454
+ required: d(i),
3455
+ value: d(u),
3497
3456
  onInput: A,
3498
- onBlur: v[0] || (v[0] = (E) => B.$emit("blur")),
3499
- onFocus: v[1] || (v[1] = (E) => B.$emit("focus")),
3500
- onChange: v[2] || (v[2] = (E) => B.$emit("change", u(d)))
3501
- }, Be(u(_), !0)), null, 16, Mn),
3502
- P(ye, {
3457
+ onBlur: v[0] || (v[0] = (I) => B.$emit("blur")),
3458
+ onFocus: v[1] || (v[1] = (I) => B.$emit("focus")),
3459
+ onChange: v[2] || (v[2] = (I) => B.$emit("change", d(u)))
3460
+ }, Se(d(C), !0)), null, 16, Mn),
3461
+ P(_e, {
3503
3462
  "data-test": `${B.dataTest}-validation-message`,
3504
- "validation-message": B.errorMessage || u(h),
3463
+ "validation-message": B.errorMessage || d(h),
3505
3464
  hide: B.hideDetails
3506
3465
  }, {
3507
3466
  append: w(() => [
3508
- B.counter ? (f(), M(Ht, {
3467
+ B.counter ? (c(), M(Vt, {
3509
3468
  key: 0,
3510
3469
  "data-test": `${B.dataTest}-counter`,
3511
3470
  counter: B.counter,
3512
3471
  "counter-value": B.counterValue,
3513
- value: u(d)
3472
+ value: d(u)
3514
3473
  }, null, 8, ["data-test", "counter", "counter-value", "value"])) : R("", !0)
3515
3474
  ]),
3516
3475
  _: 1
3517
3476
  }, 8, ["data-test", "validation-message", "hide"]),
3518
- u(c) ? (f(), g("div", {
3477
+ d(p) ? (c(), g("div", {
3519
3478
  key: 0,
3520
- id: `${u(r)}-message`,
3479
+ id: `${d(r)}-message`,
3521
3480
  class: "c-text-area__message",
3522
3481
  "data-test": `${B.dataTest}-message`
3523
3482
  }, [
@@ -3525,7 +3484,7 @@ const Oe = /* @__PURE__ */ L(cn, [["render", pn], ["__scopeId", "data-v-aecc010b
3525
3484
  ], 8, Nn)) : R("", !0)
3526
3485
  ], 10, wn));
3527
3486
  }
3528
- }), On = /* @__PURE__ */ L(Vn, [["__scopeId", "data-v-6a001914"]]), Hn = ["target", "href", "tabindex", "role"], Fn = /* @__PURE__ */ $({
3487
+ }), On = /* @__PURE__ */ T(Vn, [["__scopeId", "data-v-6a001914"]]), Hn = ["target", "href", "tabindex", "role"], Fn = /* @__PURE__ */ y({
3529
3488
  __name: "CTextLink",
3530
3489
  props: {
3531
3490
  to: { default: void 0 },
@@ -3534,20 +3493,20 @@ const Oe = /* @__PURE__ */ L(cn, [["render", pn], ["__scopeId", "data-v-aecc010b
3534
3493
  underline: { type: Boolean, default: !0 }
3535
3494
  },
3536
3495
  setup(l) {
3537
- const e = l, t = p(() => e.to), { href: a, navigate: o } = We(t), s = p(() => a.value ?? e.href), i = p(() => !e.to && !e.href);
3538
- return (n, r) => (f(), g("a", U(n.$attrs, {
3496
+ const e = l, t = f(() => e.to), { href: a, navigate: o } = je(t), s = f(() => a.value ?? e.href), i = f(() => !e.to && !e.href);
3497
+ return (n, r) => (c(), g("a", U(n.$attrs, {
3539
3498
  target: n.target,
3540
3499
  href: s.value,
3541
3500
  tabindex: i.value ? 0 : void 0,
3542
3501
  role: i.value ? "button" : void 0,
3543
3502
  class: ["c-text-link", { "c-text-link--underline": n.underline }],
3544
3503
  onClick: r[0] || (r[0] = //@ts-ignore
3545
- (...d) => u(o) && u(o)(...d))
3504
+ (...u) => d(o) && d(o)(...u))
3546
3505
  }), [
3547
3506
  b(n.$slots, "default", {}, void 0, !0)
3548
3507
  ], 16, Hn));
3549
3508
  }
3550
- }), Pn = /* @__PURE__ */ L(Fn, [["__scopeId", "data-v-8ac57bbb"]]), Yn = ["src", "alt"], Un = /* @__PURE__ */ $({
3509
+ }), Pn = /* @__PURE__ */ T(Fn, [["__scopeId", "data-v-8ac57bbb"]]), Yn = ["src", "alt"], Un = /* @__PURE__ */ y({
3551
3510
  __name: "CThirdPartyLogo",
3552
3511
  props: {
3553
3512
  alt: {},
@@ -3560,32 +3519,32 @@ const Oe = /* @__PURE__ */ L(cn, [["render", pn], ["__scopeId", "data-v-aecc010b
3560
3519
  const e = {
3561
3520
  medium: "40px",
3562
3521
  large: "56px"
3563
- }, t = I("loading"), a = () => {
3522
+ }, t = E("loading"), a = () => {
3564
3523
  t.value = "failed";
3565
3524
  }, o = () => {
3566
3525
  t.value = "loaded";
3567
3526
  };
3568
- return (s, i) => (f(), g("div", {
3527
+ return (s, i) => (c(), g("div", {
3569
3528
  class: "c-third-party-logo",
3570
3529
  style: x({ "--size": e[s.size] })
3571
3530
  }, [
3572
- t.value === "loaded" || t.value === "loading" ? (f(), g("img", {
3531
+ t.value === "loaded" || t.value === "loading" ? (c(), g("img", {
3573
3532
  key: 0,
3574
- class: O(["c-third-party-logo__img transition-opacity", { "opacity-0": t.value === "loading" }]),
3533
+ class: V(["c-third-party-logo__img transition-opacity", { "opacity-0": t.value === "loading" }]),
3575
3534
  src: s.src,
3576
3535
  alt: s.alt,
3577
3536
  onError: a,
3578
3537
  onLoad: o
3579
3538
  }, null, 42, Yn)) : R("", !0),
3580
- P(Je, {
3581
- class: O(["transition-opacity", { "opacity-0": t.value === "loaded" }]),
3539
+ P(Xe, {
3540
+ class: V(["transition-opacity", { "opacity-0": t.value === "loaded" }]),
3582
3541
  icon: s.icon,
3583
3542
  color: s.color,
3584
3543
  large: s.size === "large"
3585
3544
  }, null, 8, ["class", "icon", "color", "large"])
3586
3545
  ], 4));
3587
3546
  }
3588
- }), zn = /* @__PURE__ */ L(Un, [["__scopeId", "data-v-ccf3620c"]]), Gn = ["datetime"], qn = /* @__PURE__ */ $({
3547
+ }), zn = /* @__PURE__ */ T(Un, [["__scopeId", "data-v-ccf3620c"]]), qn = ["datetime"], Gn = /* @__PURE__ */ y({
3589
3548
  __name: "CTimeago",
3590
3549
  props: {
3591
3550
  datetime: {},
@@ -3594,30 +3553,30 @@ const Oe = /* @__PURE__ */ L(cn, [["render", pn], ["__scopeId", "data-v-aecc010b
3594
3553
  autoUpdate: { type: [Number, Boolean], default: 60 }
3595
3554
  },
3596
3555
  setup(l) {
3597
- const e = l, t = I(0);
3556
+ const e = l, t = E(0);
3598
3557
  let a = null;
3599
- const o = p(() => new Date(e.datetime).toISOString()), s = p(
3558
+ const o = f(() => new Date(e.datetime).toISOString()), s = f(
3600
3559
  () => e.converter(e.datetime, e.locale, t.value)
3601
3560
  ), i = () => {
3602
3561
  e.autoUpdate && (a = setInterval(() => t.value++, e.autoUpdate * 1e3));
3603
3562
  }, n = () => {
3604
3563
  a && (clearInterval(a), a = null);
3605
3564
  };
3606
- return q(
3565
+ return G(
3607
3566
  () => e.autoUpdate,
3608
3567
  (r) => {
3609
3568
  n(), r && i();
3610
3569
  }
3611
3570
  ), Q(() => {
3612
3571
  i();
3613
- }), he(() => {
3572
+ }), be(() => {
3614
3573
  n();
3615
- }), (r, d) => (f(), g("time", U(r.$attrs, { datetime: o.value }), F(s.value), 17, Gn));
3574
+ }), (r, u) => (c(), g("time", U(r.$attrs, { datetime: o.value }), O(s.value), 17, qn));
3616
3575
  }
3617
- }), Zn = ["data-test", "data-open", "data-variant", "duration"], jn = { class: "flex-grow-1 d-flex flex-row align-center gap-4" }, Wn = {
3576
+ }), jn = ["data-test", "data-open", "data-variant", "duration"], Zn = { class: "flex-grow-1 d-flex flex-row align-center gap-4" }, Wn = {
3618
3577
  class: "c-toast__message flex-grow-1",
3619
3578
  "data-test": "toast-message"
3620
- }, Xn = 5e3, Kn = 150, ct = 0.75, Jn = /* @__PURE__ */ $({
3579
+ }, Xn = 5e3, Kn = 150, dt = 0.75, Jn = /* @__PURE__ */ y({
3621
3580
  __name: "CToast",
3622
3581
  props: {
3623
3582
  dataTest: { default: "toast" },
@@ -3631,55 +3590,49 @@ const Oe = /* @__PURE__ */ L(cn, [["render", pn], ["__scopeId", "data-v-aecc010b
3631
3590
  },
3632
3591
  emits: ["hide", "input"],
3633
3592
  setup(l, { emit: e }) {
3634
- const t = l, a = e, o = I(null), s = I(t.value), i = p(() => t.error ? "error" : t.success ? "success" : t.warning ? "warning" : t.variant), n = async () => {
3635
- var v;
3636
- s.value = !0, (v = o.value) == null || v.toast();
3593
+ const t = l, a = e, o = E(null), s = E(t.value), i = f(() => t.error ? "error" : t.success ? "success" : t.warning ? "warning" : t.variant), n = async () => {
3594
+ s.value = !0, o.value?.toast();
3637
3595
  }, r = () => {
3638
- s.value = !1, a("input", !1), a("hide");
3639
- }, d = async () => {
3640
- var v;
3641
- (v = o.value) == null || v.hide();
3596
+ s.value = !1, a("input", !1);
3597
+ }, u = async () => {
3598
+ o.value?.hide();
3642
3599
  };
3643
- ht(() => t.value ? n() : d()), he(() => d());
3644
- const c = p(() => t.dismissible !== void 0 ? !t.dismissible : i.value === "success"), m = p(() => c.value ? Xn : 1 / 0), h = p(() => i.value === "error" ? ua : i.value === "success" ? ca : fa), y = I("default");
3645
- ue(o, "alert.hide", y);
3646
- const _ = () => {
3647
- y.value = "default";
3648
- }, { base: N } = Bt(o, ["base"]), { dragDistance: A } = wt(N, {
3649
- onDragEnd: async ({ distance: v, velocity: E }) => {
3650
- var H;
3651
- const D = Math.abs(v.x), Y = Math.abs(E.x), le = D > Kn || Y > ct, Z = D / N.value.clientWidth;
3652
- if (le) {
3653
- const C = Math.max(N.value.clientWidth - D, 0) / Math.max(Y, ct), V = E.x > 0 ? rt : dt;
3654
- y.value = V({
3655
- start: Z,
3656
- duration: C,
3600
+ bt(() => t.value ? n() : u()), be(() => u());
3601
+ const p = f(() => t.dismissible !== void 0 ? !t.dismissible : i.value === "success"), m = f(() => p.value ? Xn : 1 / 0), h = f(() => i.value === "error" ? ua : i.value === "success" ? ca : fa), $ = E("default");
3602
+ ue(o, "alert.hide", $);
3603
+ const C = () => {
3604
+ $.value = "default", a("hide");
3605
+ }, { base: N } = St(o, ["base"]), { dragDistance: A } = Dt(N, {
3606
+ onDragEnd: async ({ distance: v, velocity: I }) => {
3607
+ const D = Math.abs(v.x), Y = Math.abs(I.x), se = D > Kn || Y > dt, j = D / N.value.clientWidth;
3608
+ if (se) {
3609
+ const k = Math.max(N.value.clientWidth - D, 0) / Math.max(Y, dt), _ = I.x > 0 ? nt : it;
3610
+ $.value = _({
3611
+ start: j,
3612
+ duration: k,
3657
3613
  end: 1.1
3658
- }), d();
3614
+ }), u();
3659
3615
  } else {
3660
- const C = (E.x > 0 ? rt : dt)({ start: Z, end: 0 });
3661
- (H = N.value) == null || H.animate(C.keyframes, C.options);
3616
+ const k = (I.x > 0 ? nt : it)({ start: j, end: 0 });
3617
+ N.value?.animate(k.keyframes, k.options);
3662
3618
  }
3663
3619
  }
3664
- }), B = p(() => {
3665
- var v;
3666
- return `translateX(${((v = A.value) == null ? void 0 : v.x) ?? 0}px)`;
3667
- });
3668
- return (v, E) => (f(), g("sl-alert", {
3620
+ }), B = f(() => `translateX(${A.value?.x ?? 0}px)`);
3621
+ return (v, I) => (c(), g("sl-alert", {
3669
3622
  ref_key: "alert",
3670
3623
  ref: o,
3671
- class: O(["c-toast", `c-toast--${i.value}`]),
3624
+ class: V(["c-toast", `c-toast--${i.value}`]),
3672
3625
  "data-test": v.dataTest,
3673
3626
  "data-open": s.value || void 0,
3674
3627
  "data-variant": i.value,
3675
3628
  duration: m.value,
3676
3629
  style: x({ "--toast-base-transform": B.value }),
3677
3630
  onSlHide: r,
3678
- onSlAfterHide: _
3631
+ onSlAfterHide: C
3679
3632
  }, [
3680
- S("div", jn, [
3633
+ S("div", Zn, [
3681
3634
  b(v.$slots, "icon", {}, () => [
3682
- P(u(z), {
3635
+ P(d(z), {
3683
3636
  "data-test": "toast-icon",
3684
3637
  "fixed-width": "",
3685
3638
  class: "c-toast__icon",
@@ -3688,43 +3641,43 @@ const Oe = /* @__PURE__ */ L(cn, [["render", pn], ["__scopeId", "data-v-aecc010b
3688
3641
  ], !0),
3689
3642
  S("div", Wn, [
3690
3643
  b(v.$slots, "default", {}, () => [
3691
- G(F(v.message), 1)
3644
+ q(O(v.message), 1)
3692
3645
  ], !0)
3693
3646
  ])
3694
3647
  ]),
3695
- P(ke, {
3648
+ P(ye, {
3696
3649
  "data-test": "toast-dismiss",
3697
3650
  variant: "tertiary",
3698
3651
  "aria-label": v.$t("Close"),
3699
- icon: u(Re),
3700
- onClick: d
3652
+ icon: d(Be),
3653
+ onClick: u
3701
3654
  }, null, 8, ["aria-label", "icon"])
3702
- ], 46, Zn));
3655
+ ], 46, jn));
3703
3656
  }
3704
- }), Jt = /* @__PURE__ */ L(Jn, [["__scopeId", "data-v-2b78e8be"]]), Qn = "GLOBAL_TOAST";
3657
+ }), Xt = /* @__PURE__ */ T(Jn, [["__scopeId", "data-v-c25dfff1"]]), Qn = "GLOBAL_TOAST";
3705
3658
  function xn() {
3706
3659
  return X(Qn, {
3707
3660
  dismissToast: () => {
3708
3661
  },
3709
3662
  showToast: () => {
3710
3663
  },
3711
- toasts: I([])
3664
+ toasts: E([])
3712
3665
  });
3713
3666
  }
3714
- const ei = /* @__PURE__ */ $({
3667
+ const ei = /* @__PURE__ */ y({
3715
3668
  __name: "CToastsList",
3716
3669
  setup(l) {
3717
3670
  const { toasts: e, dismissToast: t } = xn();
3718
- return (a, o) => (f(!0), g(ce, null, fe(u(e), (s) => (f(), M(Jt, {
3671
+ return (a, o) => (c(!0), g(ce, null, fe(d(e), (s) => (c(), M(Xt, {
3719
3672
  key: s.id,
3720
3673
  value: !0,
3721
3674
  "data-test": s.dataTest || "c-toast",
3722
3675
  message: s.message,
3723
3676
  variant: s.variant,
3724
- onHide: (i) => u(t)(s.id)
3677
+ onHide: (i) => d(t)(s.id)
3725
3678
  }, null, 8, ["data-test", "message", "variant", "onHide"]))), 128));
3726
3679
  }
3727
- }), ti = /* @__PURE__ */ $({
3680
+ }), ti = /* @__PURE__ */ y({
3728
3681
  __name: "CZipcodeField",
3729
3682
  props: {
3730
3683
  dataTest: { default: "zipcode-field" },
@@ -3737,9 +3690,9 @@ const ei = /* @__PURE__ */ $({
3737
3690
  emits: ["input", "focus", "blur", "change"],
3738
3691
  setup(l, { expose: e }) {
3739
3692
  const t = l, { t: a } = ve(), o = [
3740
- Te(5, a("Please enter a valid {inputLabel}", { inputLabel: a("ZIP Code") }))
3741
- ], s = p(() => [...o, ...t.rules]), { field: i, focus: n } = xe();
3742
- return e({ focus: n }), (r, d) => (f(), M($e, U(r.$attrs, {
3693
+ $e(5, a("Please enter a valid {inputLabel}", { inputLabel: a("ZIP Code") }))
3694
+ ], s = f(() => [...o, ...t.rules]), { field: i, focus: n } = Je();
3695
+ return e({ focus: n }), (r, u) => (c(), M(Ce, U(r.$attrs, {
3743
3696
  id: r.id,
3744
3697
  ref_key: "field",
3745
3698
  ref: i,
@@ -3755,10 +3708,10 @@ const ei = /* @__PURE__ */ $({
3755
3708
  autocorrect: "off",
3756
3709
  autocapitalize: "none",
3757
3710
  rules: s.value,
3758
- onInput: d[0] || (d[0] = (c) => r.$emit("input", c)),
3759
- onFocus: d[1] || (d[1] = (c) => r.$emit("focus", c)),
3760
- onBlur: d[2] || (d[2] = (c) => r.$emit("blur", c)),
3761
- onChange: d[3] || (d[3] = (c) => r.$emit("change", c))
3711
+ onInput: u[0] || (u[0] = (p) => r.$emit("input", p)),
3712
+ onFocus: u[1] || (u[1] = (p) => r.$emit("focus", p)),
3713
+ onBlur: u[2] || (u[2] = (p) => r.$emit("blur", p)),
3714
+ onChange: u[3] || (u[3] = (p) => r.$emit("change", p))
3762
3715
  }), {
3763
3716
  label: w(() => [
3764
3717
  b(r.$slots, "label")
@@ -3774,74 +3727,74 @@ const ei = /* @__PURE__ */ $({
3774
3727
  CAccordion: Ta,
3775
3728
  CAccordionItem: Sa,
3776
3729
  CAppBar: Ya,
3777
- CBadge: Ga,
3730
+ CBadge: qa,
3778
3731
  CBottomSheet: dl,
3779
- CButton: Xe,
3732
+ CButton: Ze,
3780
3733
  CCard: Cl,
3781
3734
  CCardFooter: $l,
3782
- CCardHeader: Mt,
3735
+ CCardHeader: wt,
3783
3736
  CCardSection: Tl,
3784
- CCheckbox: Ot,
3737
+ CCheckbox: Nt,
3785
3738
  CCol: Ol,
3786
3739
  CDivider: Pl,
3787
3740
  CDobField: ns,
3788
3741
  CDobSelect: hs,
3789
3742
  CEmailField: _s,
3790
- CExpandTransition: Yt,
3791
- CFadeTransition: je,
3743
+ CExpandTransition: Ft,
3744
+ CFadeTransition: Ge,
3792
3745
  CFileInput: As,
3793
3746
  CFixedPageFooter: Bs,
3794
3747
  CForm: Rs,
3795
- CIconButton: ke,
3748
+ CIconButton: ye,
3796
3749
  CLabel: Os,
3797
- CListItem: zt,
3798
- CListItemIcon: Qe,
3799
- CLoader: Me,
3750
+ CListItem: Yt,
3751
+ CListItemIcon: Ke,
3752
+ CLoader: we,
3800
3753
  CLogo: Js,
3801
- CMaskedTextField: $e,
3754
+ CMaskedTextField: Ce,
3802
3755
  CMenu: xs,
3803
3756
  CMenuItem: so,
3804
3757
  CMenuLabel: io,
3805
- CModal: Gt,
3758
+ CModal: Ut,
3806
3759
  CModalLoading: ho,
3807
3760
  CNotification: ko,
3808
3761
  CPhoneField: To,
3809
- CPill: Wt,
3762
+ CPill: jt,
3810
3763
  CPillGroup: Ro,
3811
3764
  CPopup: Oo,
3812
3765
  CProgressLinear: Po,
3813
- CProgressRing: Go,
3766
+ CProgressRing: qo,
3814
3767
  CRadio: Wo,
3815
3768
  CRadioGroup: Qo,
3816
3769
  CRebrand: en,
3817
3770
  CRow: an,
3818
3771
  CSafeArea: nn,
3819
3772
  CSectionHeader: un,
3820
- CSelect: Se,
3821
- CSkeleton: Oe,
3773
+ CSelect: Ee,
3774
+ CSkeleton: Ne,
3822
3775
  CSkeletonLoaderCard: vn,
3823
3776
  CSkeletonLoaderCircle: gn,
3824
3777
  CSkeletonLoaderText: _n,
3825
3778
  CSlideFadeTransition: yn,
3826
3779
  CSplitInput: kn,
3827
- CSquaredIcon: Je,
3780
+ CSquaredIcon: Xe,
3828
3781
  CSsnField: Tn,
3829
- CStatusDot: En,
3830
- CSwitch: Kt,
3782
+ CStatusDot: Ln,
3783
+ CSwitch: Wt,
3831
3784
  CSwitchListItem: Bn,
3832
3785
  CTextArea: On,
3833
- CTextField: Ke,
3786
+ CTextField: We,
3834
3787
  CTextLink: Pn,
3835
3788
  CThirdPartyLogo: zn,
3836
- CTimeago: qn,
3837
- CToast: Jt,
3789
+ CTimeago: Gn,
3790
+ CToast: Xt,
3838
3791
  CToastsList: ei,
3839
3792
  CZipcodeField: ti
3840
3793
  }, Symbol.toStringTag, { value: "Module" })), Ai = {
3841
3794
  install(l) {
3842
3795
  Object.entries(ai).forEach(([e, t]) => {
3843
3796
  l.component(e, t);
3844
- }), l.config.compilerOptions.isCustomElement = (e) => e.startsWith("sl-"), l.directive("scroll-into-view", ja), l.directive("tap-animation", St);
3797
+ }), l.config.compilerOptions.isCustomElement = (e) => e.startsWith("sl-"), l.directive("scroll-into-view", Za), l.directive("tap-animation", Et);
3845
3798
  }
3846
3799
  }, Si = Object.entries(ee).reduce((l, [e, t]) => {
3847
3800
  const a = e.toLowerCase().replace(/_/g, "-");
@@ -3873,67 +3826,67 @@ export {
3873
3826
  Ta as CAccordion,
3874
3827
  Sa as CAccordionItem,
3875
3828
  Ya as CAppBar,
3876
- Ga as CBadge,
3829
+ qa as CBadge,
3877
3830
  dl as CBottomSheet,
3878
- Xe as CButton,
3831
+ Ze as CButton,
3879
3832
  Cl as CCard,
3880
3833
  $l as CCardFooter,
3881
- Mt as CCardHeader,
3834
+ wt as CCardHeader,
3882
3835
  Tl as CCardSection,
3883
- Ot as CCheckbox,
3836
+ Nt as CCheckbox,
3884
3837
  Ol as CCol,
3885
3838
  Pl as CDivider,
3886
3839
  ns as CDobField,
3887
3840
  hs as CDobSelect,
3888
3841
  _s as CEmailField,
3889
- Yt as CExpandTransition,
3890
- je as CFadeTransition,
3842
+ Ft as CExpandTransition,
3843
+ Ge as CFadeTransition,
3891
3844
  As as CFileInput,
3892
3845
  Bs as CFixedPageFooter,
3893
3846
  Rs as CForm,
3894
- ke as CIconButton,
3847
+ ye as CIconButton,
3895
3848
  Os as CLabel,
3896
- zt as CListItem,
3897
- Qe as CListItemIcon,
3898
- Me as CLoader,
3849
+ Yt as CListItem,
3850
+ Ke as CListItemIcon,
3851
+ we as CLoader,
3899
3852
  Js as CLogo,
3900
- $e as CMaskedTextField,
3853
+ Ce as CMaskedTextField,
3901
3854
  xs as CMenu,
3902
3855
  so as CMenuItem,
3903
3856
  io as CMenuLabel,
3904
- Gt as CModal,
3857
+ Ut as CModal,
3905
3858
  ho as CModalLoading,
3906
3859
  ko as CNotification,
3907
3860
  To as CPhoneField,
3908
- Wt as CPill,
3861
+ jt as CPill,
3909
3862
  Ro as CPillGroup,
3910
3863
  Oo as CPopup,
3911
3864
  Po as CProgressLinear,
3912
- Go as CProgressRing,
3865
+ qo as CProgressRing,
3913
3866
  Wo as CRadio,
3914
3867
  Qo as CRadioGroup,
3915
3868
  en as CRebrand,
3916
3869
  an as CRow,
3917
3870
  nn as CSafeArea,
3918
3871
  un as CSectionHeader,
3919
- Se as CSelect,
3920
- Oe as CSkeleton,
3872
+ Ee as CSelect,
3873
+ Ne as CSkeleton,
3921
3874
  vn as CSkeletonLoaderCard,
3922
3875
  gn as CSkeletonLoaderCircle,
3923
3876
  _n as CSkeletonLoaderText,
3924
3877
  yn as CSlideFadeTransition,
3925
3878
  kn as CSplitInput,
3926
- Je as CSquaredIcon,
3879
+ Xe as CSquaredIcon,
3927
3880
  Tn as CSsnField,
3928
- En as CStatusDot,
3929
- Kt as CSwitch,
3881
+ Ln as CStatusDot,
3882
+ Wt as CSwitch,
3930
3883
  Bn as CSwitchListItem,
3931
3884
  On as CTextArea,
3932
- Ke as CTextField,
3885
+ We as CTextField,
3933
3886
  Pn as CTextLink,
3934
3887
  zn as CThirdPartyLogo,
3935
- qn as CTimeago,
3936
- Jt as CToast,
3888
+ Gn as CTimeago,
3889
+ Xt as CToast,
3937
3890
  ei as CToastsList,
3938
3891
  ti as CZipcodeField,
3939
3892
  ee as Colors,
@@ -3941,7 +3894,7 @@ export {
3941
3894
  li as InputVariants,
3942
3895
  Si as Theme,
3943
3896
  Ai as default,
3944
- ja as scrollIntoView,
3945
- St as tapAnimation
3897
+ Za as scrollIntoView,
3898
+ Et as tapAnimation
3946
3899
  };
3947
3900
  //# sourceMappingURL=index.mjs.map