@digitalservicebund/ris-ui 1.2.0 → 1.3.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.
@@ -1,4 +1,4 @@
1
- import { markRaw as ze, openBlock as g, createElementBlock as $, createElementVNode as L, ref as Oe, readonly as Cn, getCurrentInstance as In, onMounted as Pn, nextTick as kn, watch as _n, mergeProps as y, createBlock as x, Transition as Ut, withCtx as z, withDirectives as lt, resolveDynamicComponent as U, renderSlot as k, vShow as Tn, createCommentVNode as j, normalizeClass as W, resolveDirective as Wt, resolveComponent as re, Fragment as he, renderList as Ce, createVNode as q, toDisplayString as J, defineComponent as qt, mergeModels as Gt, useModel as Zt, computed as xn, unref as Y, Teleport as Ln, normalizeStyle as An, createSlots as Vn, createTextVNode as Ge } from "vue";
1
+ import { markRaw as ze, openBlock as g, createElementBlock as $, createElementVNode as L, ref as ve, readonly as Cn, getCurrentInstance as In, onMounted as Pn, nextTick as kn, watch as _n, mergeProps as y, createBlock as x, Transition as Ut, withCtx as z, withDirectives as lt, resolveDynamicComponent as U, renderSlot as k, vShow as Tn, createCommentVNode as j, normalizeClass as W, resolveDirective as Wt, resolveComponent as re, Fragment as he, renderList as Ce, createVNode as q, toDisplayString as J, defineComponent as qt, mergeModels as Gt, useModel as Zt, computed as xn, unref as Y, Teleport as Ln, normalizeStyle as An, createSlots as Vn, createTextVNode as Ge } from "vue";
2
2
  const zn = {
3
3
  viewBox: "0 0 24 24",
4
4
  width: "1.34em",
@@ -101,9 +101,9 @@ function Zn() {
101
101
  function Yn(t, e, n = !0) {
102
102
  var o, r, i, a;
103
103
  if (t) {
104
- const s = t.offsetParent ? { width: t.offsetWidth, height: t.offsetHeight } : Yt(t), l = s.height, c = s.width, u = e.offsetHeight, p = e.offsetWidth, d = e.getBoundingClientRect(), h = Zn(), m = Gn(), v = Xt();
104
+ const s = t.offsetParent ? { width: t.offsetWidth, height: t.offsetHeight } : Yt(t), l = s.height, u = s.width, c = e.offsetHeight, p = e.offsetWidth, d = e.getBoundingClientRect(), h = Zn(), m = Gn(), v = Xt();
105
105
  let b, O, f = "top";
106
- d.top + u + l > v.height ? (b = d.top + h - l, f = "bottom", b < 0 && (b = h)) : b = u + d.top + h, d.left + c > v.width ? O = Math.max(0, d.left + m + p - c) : O = d.left + m, t.style.top = b + "px", t.style.left = O + "px", t.style.transformOrigin = f, n && (t.style.marginTop = f === "bottom" ? `calc(${(r = (o = Ne(/-anchor-gutter$/)) == null ? void 0 : o.value) != null ? r : "2px"} * -1)` : (a = (i = Ne(/-anchor-gutter$/)) == null ? void 0 : i.value) != null ? a : "");
106
+ d.top + c + l > v.height ? (b = d.top + h - l, f = "bottom", b < 0 && (b = h)) : b = c + d.top + h, d.left + u > v.width ? O = Math.max(0, d.left + m + p - u) : O = d.left + m, t.style.top = b + "px", t.style.left = O + "px", t.style.transformOrigin = f, n && (t.style.marginTop = f === "bottom" ? `calc(${(r = (o = Ne(/-anchor-gutter$/)) == null ? void 0 : o.value) != null ? r : "2px"} * -1)` : (a = (i = Ne(/-anchor-gutter$/)) == null ? void 0 : i.value) != null ? a : "");
107
107
  }
108
108
  }
109
109
  function Xn(t, e) {
@@ -115,9 +115,9 @@ function Jt(t, e) {
115
115
  function Jn(t, e, n = !0) {
116
116
  var o, r, i, a;
117
117
  if (t) {
118
- const s = t.offsetParent ? { width: t.offsetWidth, height: t.offsetHeight } : Yt(t), l = e.offsetHeight, c = e.getBoundingClientRect(), u = Xt();
118
+ const s = t.offsetParent ? { width: t.offsetWidth, height: t.offsetHeight } : Yt(t), l = e.offsetHeight, u = e.getBoundingClientRect(), c = Xt();
119
119
  let p, d, h = "top";
120
- c.top + l + s.height > u.height ? (p = -1 * s.height, h = "bottom", c.top + p < 0 && (p = -1 * c.top)) : p = l, s.width > u.width ? d = c.left * -1 : c.left + s.width > u.width ? d = (c.left + s.width - u.width) * -1 : d = 0, t.style.top = p + "px", t.style.left = d + "px", t.style.transformOrigin = h, n && (t.style.marginTop = h === "bottom" ? `calc(${(r = (o = Ne(/-anchor-gutter$/)) == null ? void 0 : o.value) != null ? r : "2px"} * -1)` : (a = (i = Ne(/-anchor-gutter$/)) == null ? void 0 : i.value) != null ? a : "");
120
+ u.top + l + s.height > c.height ? (p = -1 * s.height, h = "bottom", u.top + p < 0 && (p = -1 * u.top)) : p = l, s.width > c.width ? d = u.left * -1 : u.left + s.width > c.width ? d = (u.left + s.width - c.width) * -1 : d = 0, t.style.top = p + "px", t.style.left = d + "px", t.style.transformOrigin = h, n && (t.style.marginTop = h === "bottom" ? `calc(${(r = (o = Ne(/-anchor-gutter$/)) == null ? void 0 : o.value) != null ? r : "2px"} * -1)` : (a = (i = Ne(/-anchor-gutter$/)) == null ? void 0 : i.value) != null ? a : "");
121
121
  }
122
122
  }
123
123
  function He(t) {
@@ -128,13 +128,13 @@ function Re(t, e = {}) {
128
128
  const n = (o, r) => {
129
129
  var i, a;
130
130
  const s = (i = t == null ? void 0 : t.$attrs) != null && i[o] ? [(a = t == null ? void 0 : t.$attrs) == null ? void 0 : a[o]] : [];
131
- return [r].flat().reduce((l, c) => {
132
- if (c != null) {
133
- const u = typeof c;
134
- if (u === "string" || u === "number")
135
- l.push(c);
136
- else if (u === "object") {
137
- const p = Array.isArray(c) ? n(o, c) : Object.entries(c).map(([d, h]) => o === "style" && (h || h === 0) ? `${d.replace(/([a-z])([A-Z])/g, "$1-$2").toLowerCase()}:${h}` : h ? d : void 0);
131
+ return [r].flat().reduce((l, u) => {
132
+ if (u != null) {
133
+ const c = typeof u;
134
+ if (c === "string" || c === "number")
135
+ l.push(u);
136
+ else if (c === "object") {
137
+ const p = Array.isArray(u) ? n(o, u) : Object.entries(u).map(([d, h]) => o === "style" && (h || h === 0) ? `${d.replace(/([a-z])([A-Z])/g, "$1-$2").toLowerCase()}:${h}` : h ? d : void 0);
138
138
  l = p.length ? l.concat(p.filter((d) => !!d)) : l;
139
139
  }
140
140
  }
@@ -218,8 +218,8 @@ function no(t) {
218
218
  if (a) {
219
219
  let s = a.split(",");
220
220
  for (let l of s) {
221
- let c = Me(i, l);
222
- c && r(c) && e.push(c);
221
+ let u = Me(i, l);
222
+ u && r(u) && e.push(u);
223
223
  }
224
224
  }
225
225
  i.nodeType !== 9 && r(i) && e.push(i);
@@ -287,9 +287,9 @@ function nt(t, e) {
287
287
  var s = t instanceof Date, l = e instanceof Date;
288
288
  if (s != l) return !1;
289
289
  if (s && l) return t.getTime() == e.getTime();
290
- var c = t instanceof RegExp, u = e instanceof RegExp;
291
- if (c != u) return !1;
292
- if (c && u) return t.toString() == e.toString();
290
+ var u = t instanceof RegExp, c = e instanceof RegExp;
291
+ if (u != c) return !1;
292
+ if (u && c) return t.toString() == e.toString();
293
293
  var p = Object.keys(t);
294
294
  if (i = p.length, i !== Object.keys(e).length) return !1;
295
295
  for (r = i; r-- !== 0; ) if (!Object.prototype.hasOwnProperty.call(e, p[r])) return !1;
@@ -391,11 +391,11 @@ function lo(t = "pui_id_") {
391
391
  function co() {
392
392
  let t = [];
393
393
  const e = (a, s, l = 999) => {
394
- const c = r(a, s, l), u = c.value + (c.key === a ? 0 : l) + 1;
395
- return t.push({ key: a, value: u }), u;
394
+ const u = r(a, s, l), c = u.value + (u.key === a ? 0 : l) + 1;
395
+ return t.push({ key: a, value: c }), c;
396
396
  }, n = (a) => {
397
397
  t = t.filter((s) => s.value !== a);
398
- }, o = (a, s) => r(a).value, r = (a, s, l = 0) => [...t].reverse().find((c) => !0) || { key: a, value: l }, i = (a) => a && parseInt(a.style.zIndex, 10) || 0;
398
+ }, o = (a, s) => r(a).value, r = (a, s, l = 0) => [...t].reverse().find((u) => !0) || { key: a, value: l }, i = (a) => a && parseInt(a.style.zIndex, 10) || 0;
399
399
  return {
400
400
  get: i,
401
401
  set: (a, s, l) => {
@@ -469,18 +469,18 @@ var vo = /* @__PURE__ */ function() {
469
469
  }
470
470
  }]);
471
471
  }();
472
- function ve() {
472
+ function ge() {
473
473
  var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "pv_id_";
474
474
  return lo(t);
475
475
  }
476
- var go = Object.defineProperty, yo = Object.defineProperties, bo = Object.getOwnPropertyDescriptors, Ke = Object.getOwnPropertySymbols, rn = Object.prototype.hasOwnProperty, an = Object.prototype.propertyIsEnumerable, Ot = (t, e, n) => e in t ? go(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n, ye = (t, e) => {
476
+ var go = Object.defineProperty, yo = Object.defineProperties, bo = Object.getOwnPropertyDescriptors, Ke = Object.getOwnPropertySymbols, rn = Object.prototype.hasOwnProperty, an = Object.prototype.propertyIsEnumerable, Ot = (t, e, n) => e in t ? go(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n, be = (t, e) => {
477
477
  for (var n in e || (e = {}))
478
478
  rn.call(e, n) && Ot(t, n, e[n]);
479
479
  if (Ke)
480
480
  for (var n of Ke(e))
481
481
  an.call(e, n) && Ot(t, n, e[n]);
482
482
  return t;
483
- }, Xe = (t, e) => yo(t, bo(e)), be = (t, e) => {
483
+ }, Xe = (t, e) => yo(t, bo(e)), Se = (t, e) => {
484
484
  var n = {};
485
485
  for (var o in t)
486
486
  rn.call(t, o) && e.indexOf(o) < 0 && (n[o] = t[o]);
@@ -511,11 +511,11 @@ function ln(t, e = "", n = "", o = [], r) {
511
511
  if (F(t)) {
512
512
  const i = /{([^}]*)}/g, a = t.trim();
513
513
  if (ae(a, i)) {
514
- const s = a.replaceAll(i, (u) => {
515
- const d = u.replace(/{|}/g, "").split(".").filter((h) => !o.some((m) => ae(h, m)));
514
+ const s = a.replaceAll(i, (c) => {
515
+ const d = c.replace(/{|}/g, "").split(".").filter((h) => !o.some((m) => ae(h, m)));
516
516
  return `var(${sn(n, on(d.join("-")))}${A(r) ? `, ${r}` : ""})`;
517
- }), l = /(\d+\s+[\+\-\*\/]\s+\d+)/g, c = /var\([^)]+\)/g;
518
- return ae(s.replace(c, "0"), l) ? `calc(${s})` : s;
517
+ }), l = /(\d+\s+[\+\-\*\/]\s+\d+)/g, u = /var\([^)]+\)/g;
518
+ return ae(s.replace(u, "0"), l) ? `calc(${s})` : s;
519
519
  }
520
520
  return Ct(a, e);
521
521
  } else if (nn(t))
@@ -524,20 +524,20 @@ function ln(t, e = "", n = "", o = [], r) {
524
524
  function $o(t, e, n) {
525
525
  F(e, !1) && t.push(`${e}:${n};`);
526
526
  }
527
- function we(t, e) {
527
+ function Oe(t, e) {
528
528
  return t ? `${t}{${e}}` : "";
529
529
  }
530
530
  var Je = (...t) => Co(T.getTheme(), ...t), Co = (t = {}, e, n, o = "variable") => {
531
531
  if (e) {
532
- const { variable: r, options: i } = T.defaults || {}, { prefix: a, transform: s } = (t == null ? void 0 : t.options) || i || {}, c = ae(e, /{([^}]*)}/g) ? e : `{${e}}`;
533
- return o === "value" || s === "strict" ? T.getTokenValue(e) : ln(c, void 0, a, [r.excludedKeyRegex], n);
532
+ const { variable: r, options: i } = T.defaults || {}, { prefix: a, transform: s } = (t == null ? void 0 : t.options) || i || {}, u = ae(e, /{([^}]*)}/g) ? e : `{${e}}`;
533
+ return o === "value" || s === "strict" ? T.getTokenValue(e) : ln(u, void 0, a, [r.excludedKeyRegex], n);
534
534
  }
535
535
  return "";
536
536
  };
537
537
  function Io(t, e = {}) {
538
- const n = T.defaults.variable, { prefix: o = n.prefix, selector: r = n.selector, excludedKeyRegex: i = n.excludedKeyRegex } = e, a = (c, u = "") => Object.entries(c).reduce(
538
+ const n = T.defaults.variable, { prefix: o = n.prefix, selector: r = n.selector, excludedKeyRegex: i = n.excludedKeyRegex } = e, a = (u, c = "") => Object.entries(u).reduce(
539
539
  (p, [d, h]) => {
540
- const m = ae(d, i) ? ot(u) : ot(u, on(d)), v = wo(h);
540
+ const m = ae(d, i) ? ot(c) : ot(c, on(d)), v = wo(h);
541
541
  if (ce(v)) {
542
542
  const { variables: b, tokens: O } = a(v, m);
543
543
  $t(p.tokens, O), $t(p.variables, b);
@@ -551,7 +551,7 @@ function Io(t, e = {}) {
551
551
  value: s,
552
552
  tokens: l,
553
553
  declarations: s.join(""),
554
- css: we(r, s.join(""))
554
+ css: Oe(r, s.join(""))
555
555
  };
556
556
  }
557
557
  var Z = {
@@ -600,12 +600,12 @@ var Z = {
600
600
  },
601
601
  getCommon({ name: t = "", theme: e = {}, params: n, set: o, defaults: r }) {
602
602
  var i, a, s, l;
603
- const { preset: c, options: u } = e;
603
+ const { preset: u, options: c } = e;
604
604
  let p, d, h, m;
605
- if (A(c)) {
606
- const { primitive: v, semantic: b } = c, O = b || {}, { colorScheme: f } = O, S = be(O, ["colorScheme"]), w = f || {}, { dark: M } = w, E = be(w, ["dark"]), N = A(v) ? this._toVariables({ primitive: v }, u) : {}, D = A(S) ? this._toVariables({ semantic: S }, u) : {}, R = A(E) ? this._toVariables({ light: E }, u) : {}, K = A(M) ? this._toVariables({ dark: M }, u) : {}, [_, B] = [(i = N.declarations) != null ? i : "", N.tokens], [te, ne] = [(a = D.declarations) != null ? a : "", D.tokens || []], [H, G] = [(s = R.declarations) != null ? s : "", R.tokens || []], [oe, Ue] = [(l = K.declarations) != null ? l : "", K.tokens || []];
607
- p = this.transformCSS(t, _, "light", "variable", u, o, r), d = B;
608
- const We = this.transformCSS(t, `${te}${H}color-scheme:light`, "light", "variable", u, o, r), me = this.transformCSS(t, `${oe}color-scheme:dark`, "dark", "variable", u, o, r);
605
+ if (A(u)) {
606
+ const { primitive: v, semantic: b } = u, O = b || {}, { colorScheme: f } = O, S = Se(O, ["colorScheme"]), w = f || {}, { dark: M } = w, E = Se(w, ["dark"]), N = A(v) ? this._toVariables({ primitive: v }, c) : {}, D = A(S) ? this._toVariables({ semantic: S }, c) : {}, R = A(E) ? this._toVariables({ light: E }, c) : {}, K = A(M) ? this._toVariables({ dark: M }, c) : {}, [_, B] = [(i = N.declarations) != null ? i : "", N.tokens], [te, ne] = [(a = D.declarations) != null ? a : "", D.tokens || []], [H, G] = [(s = R.declarations) != null ? s : "", R.tokens || []], [oe, Ue] = [(l = K.declarations) != null ? l : "", K.tokens || []];
607
+ p = this.transformCSS(t, _, "light", "variable", c, o, r), d = B;
608
+ const We = this.transformCSS(t, `${te}${H}color-scheme:light`, "light", "variable", c, o, r), me = this.transformCSS(t, `${oe}color-scheme:dark`, "dark", "variable", c, o, r);
609
609
  h = `${We}${me}`, m = [.../* @__PURE__ */ new Set([...ne, ...G, ...Ue])];
610
610
  }
611
611
  return {
@@ -620,8 +620,8 @@ var Z = {
620
620
  };
621
621
  },
622
622
  getPreset({ name: t = "", preset: e = {}, options: n, params: o, set: r, defaults: i, selector: a }) {
623
- var s, l, c;
624
- const u = t.replace("-directive", ""), p = e, { colorScheme: d } = p, h = be(p, ["colorScheme"]), m = d || {}, { dark: v } = m, b = be(m, ["dark"]), O = A(h) ? this._toVariables({ [u]: h }, n) : {}, f = A(b) ? this._toVariables({ [u]: b }, n) : {}, S = A(v) ? this._toVariables({ [u]: v }, n) : {}, [w, M] = [(s = O.declarations) != null ? s : "", O.tokens || []], [E, N] = [(l = f.declarations) != null ? l : "", f.tokens || []], [D, R] = [(c = S.declarations) != null ? c : "", S.tokens || []], K = [.../* @__PURE__ */ new Set([...M, ...N, ...R])], _ = this.transformCSS(u, `${w}${E}`, "light", "variable", n, r, i, a), B = this.transformCSS(u, D, "dark", "variable", n, r, i, a);
623
+ var s, l, u;
624
+ const c = t.replace("-directive", ""), p = e, { colorScheme: d } = p, h = Se(p, ["colorScheme"]), m = d || {}, { dark: v } = m, b = Se(m, ["dark"]), O = A(h) ? this._toVariables({ [c]: h }, n) : {}, f = A(b) ? this._toVariables({ [c]: b }, n) : {}, S = A(v) ? this._toVariables({ [c]: v }, n) : {}, [w, M] = [(s = O.declarations) != null ? s : "", O.tokens || []], [E, N] = [(l = f.declarations) != null ? l : "", f.tokens || []], [D, R] = [(u = S.declarations) != null ? u : "", S.tokens || []], K = [.../* @__PURE__ */ new Set([...M, ...N, ...R])], _ = this.transformCSS(c, `${w}${E}`, "light", "variable", n, r, i, a), B = this.transformCSS(c, D, "dark", "variable", n, r, i, a);
625
625
  return {
626
626
  css: `${_}${B}`,
627
627
  tokens: K
@@ -634,8 +634,8 @@ var Z = {
634
634
  },
635
635
  getPresetD({ name: t = "", theme: e = {}, params: n, set: o, defaults: r }) {
636
636
  var i;
637
- const a = t.replace("-directive", ""), { preset: s, options: l } = e, c = (i = s == null ? void 0 : s.directives) == null ? void 0 : i[a];
638
- return this.getPreset({ name: a, preset: c, options: l, params: n, set: o, defaults: r });
637
+ const a = t.replace("-directive", ""), { preset: s, options: l } = e, u = (i = s == null ? void 0 : s.directives) == null ? void 0 : i[a];
638
+ return this.getPreset({ name: a, preset: u, options: l, params: n, set: o, defaults: r });
639
639
  },
640
640
  getColorSchemeOption(t, e) {
641
641
  var n;
@@ -646,10 +646,10 @@ var Z = {
646
646
  return r ? `@layer ${Q(r.order || "primeui", n)}` : "";
647
647
  },
648
648
  getCommonStyleSheet({ name: t = "", theme: e = {}, params: n, props: o = {}, set: r, defaults: i }) {
649
- const a = this.getCommon({ name: t, theme: e, params: n, set: r, defaults: i }), s = Object.entries(o).reduce((l, [c, u]) => l.push(`${c}="${u}"`) && l, []).join(" ");
650
- return Object.entries(a || {}).reduce((l, [c, u]) => {
651
- if (u != null && u.css) {
652
- const p = $e(u == null ? void 0 : u.css), d = `${c}-variables`;
649
+ const a = this.getCommon({ name: t, theme: e, params: n, set: r, defaults: i }), s = Object.entries(o).reduce((l, [u, c]) => l.push(`${u}="${c}"`) && l, []).join(" ");
650
+ return Object.entries(a || {}).reduce((l, [u, c]) => {
651
+ if (c != null && c.css) {
652
+ const p = $e(c == null ? void 0 : c.css), d = `${u}-variables`;
653
653
  l.push(`<style type="text/css" data-primevue-style-id="${d}" ${s}>${p}</style>`);
654
654
  }
655
655
  return l;
@@ -657,40 +657,40 @@ var Z = {
657
657
  },
658
658
  getStyleSheet({ name: t = "", theme: e = {}, params: n, props: o = {}, set: r, defaults: i }) {
659
659
  var a;
660
- const s = { name: t, theme: e, params: n, set: r, defaults: i }, l = (a = t.includes("-directive") ? this.getPresetD(s) : this.getPresetC(s)) == null ? void 0 : a.css, c = Object.entries(o).reduce((u, [p, d]) => u.push(`${p}="${d}"`) && u, []).join(" ");
661
- return l ? `<style type="text/css" data-primevue-style-id="${t}-variables" ${c}>${$e(l)}</style>` : "";
660
+ const s = { name: t, theme: e, params: n, set: r, defaults: i }, l = (a = t.includes("-directive") ? this.getPresetD(s) : this.getPresetC(s)) == null ? void 0 : a.css, u = Object.entries(o).reduce((c, [p, d]) => c.push(`${p}="${d}"`) && c, []).join(" ");
661
+ return l ? `<style type="text/css" data-primevue-style-id="${t}-variables" ${u}>${$e(l)}</style>` : "";
662
662
  },
663
663
  createTokens(t = {}, e, n = "", o = "", r = {}) {
664
664
  return Object.entries(t).forEach(([i, a]) => {
665
665
  const s = ae(i, e.variable.excludedKeyRegex) ? n : n ? `${n}.${wt(i)}` : wt(i), l = o ? `${o}.${i}` : i;
666
666
  ce(a) ? this.createTokens(a, e, s, l, r) : (r[s] || (r[s] = {
667
667
  paths: [],
668
- computed(c, u = {}) {
669
- if (c) {
670
- const p = this.paths.find((d) => d.scheme === c) || this.paths.find((d) => d.scheme === "none");
671
- return p == null ? void 0 : p.computed(c, u.binding);
668
+ computed(u, c = {}) {
669
+ if (u) {
670
+ const p = this.paths.find((d) => d.scheme === u) || this.paths.find((d) => d.scheme === "none");
671
+ return p == null ? void 0 : p.computed(u, c.binding);
672
672
  }
673
- return this.paths.map((p) => p.computed(p.scheme, u[p.scheme]));
673
+ return this.paths.map((p) => p.computed(p.scheme, c[p.scheme]));
674
674
  }
675
675
  }), r[s].paths.push({
676
676
  path: l,
677
677
  value: a,
678
678
  scheme: l.includes("colorScheme.light") ? "light" : l.includes("colorScheme.dark") ? "dark" : "none",
679
- computed(c, u = {}) {
679
+ computed(u, c = {}) {
680
680
  const p = /{([^}]*)}/g;
681
681
  let d = a;
682
- if (u.name = this.path, u.binding || (u.binding = {}), ae(a, p)) {
682
+ if (c.name = this.path, c.binding || (c.binding = {}), ae(a, p)) {
683
683
  const m = a.trim().replaceAll(p, (O) => {
684
684
  var f, S;
685
685
  const w = O.replace(/{|}/g, "");
686
- return (S = (f = r[w]) == null ? void 0 : f.computed(c, u)) == null ? void 0 : S.value;
686
+ return (S = (f = r[w]) == null ? void 0 : f.computed(u, c)) == null ? void 0 : S.value;
687
687
  }), v = /(\d+\w*\s+[\+\-\*\/]\s+\d+\w*)/g, b = /var\([^)]+\)/g;
688
688
  d = ae(m.replace(b, "0"), v) ? `calc(${m})` : m;
689
689
  }
690
- return fe(u.binding) && delete u.binding, {
691
- colorScheme: c,
690
+ return fe(c.binding) && delete c.binding, {
691
+ colorScheme: u,
692
692
  path: this.path,
693
- paths: u,
693
+ paths: c,
694
694
  value: d.includes("undefined") ? void 0 : d
695
695
  };
696
696
  }
@@ -699,9 +699,9 @@ var Z = {
699
699
  },
700
700
  getTokenValue(t, e, n) {
701
701
  var o;
702
- const i = ((l) => l.split(".").filter((u) => !ae(u.toLowerCase(), n.variable.excludedKeyRegex)).join("."))(e), a = e.includes("colorScheme.light") ? "light" : e.includes("colorScheme.dark") ? "dark" : void 0, s = [(o = t[i]) == null ? void 0 : o.computed(a)].flat().filter((l) => l);
703
- return s.length === 1 ? s[0].value : s.reduce((l = {}, c) => {
704
- const u = c, { colorScheme: p } = u, d = be(u, ["colorScheme"]);
702
+ const i = ((l) => l.split(".").filter((c) => !ae(c.toLowerCase(), n.variable.excludedKeyRegex)).join("."))(e), a = e.includes("colorScheme.light") ? "light" : e.includes("colorScheme.dark") ? "dark" : void 0, s = [(o = t[i]) == null ? void 0 : o.computed(a)].flat().filter((l) => l);
703
+ return s.length === 1 ? s[0].value : s.reduce((l = {}, u) => {
704
+ const c = u, { colorScheme: p } = c, d = Se(c, ["colorScheme"]);
705
705
  return l[p] = d, l;
706
706
  }, void 0);
707
707
  },
@@ -709,15 +709,15 @@ var Z = {
709
709
  if (A(e)) {
710
710
  const { cssLayer: l } = r;
711
711
  if (o !== "style") {
712
- const c = this.getColorSchemeOption(r, a), u = s ? we(s, e) : e;
713
- e = n === "dark" ? c.reduce((p, { selector: d }) => (A(d) && (p += d.includes("[CSS]") ? d.replace("[CSS]", u) : we(d, u)), p), "") : we(s ?? ":root", e);
712
+ const u = this.getColorSchemeOption(r, a), c = s ? Oe(s, e) : e;
713
+ e = n === "dark" ? u.reduce((p, { selector: d }) => (A(d) && (p += d.includes("[CSS]") ? d.replace("[CSS]", c) : Oe(d, c)), p), "") : Oe(s ?? ":root", e);
714
714
  }
715
715
  if (l) {
716
- const c = {
716
+ const u = {
717
717
  name: "primeui",
718
718
  order: "primeui"
719
719
  };
720
- ce(l) && (c.name = Q(l.name, { name: t, type: o })), A(c.name) && (e = we(`@layer ${c.name}`, e), i == null || i.layerNames(c.name));
720
+ ce(l) && (u.name = Q(l.name, { name: t, type: o })), A(u.name) && (e = Oe(`@layer ${u.name}`, e), i == null || i.layerNames(u.name));
721
721
  }
722
722
  return e;
723
723
  }
@@ -743,8 +743,8 @@ var Z = {
743
743
  _tokens: {},
744
744
  update(t = {}) {
745
745
  const { theme: e } = t;
746
- e && (this._theme = Xe(ye({}, e), {
747
- options: ye(ye({}, this.defaults.options), e.options)
746
+ e && (this._theme = Xe(be({}, e), {
747
+ options: be(be({}, this.defaults.options), e.options)
748
748
  }), this._tokens = Z.createTokens(this.preset, this.defaults), this.clearLoadedStyleNames());
749
749
  },
750
750
  get theme() {
@@ -771,13 +771,13 @@ var Z = {
771
771
  return this.preset;
772
772
  },
773
773
  setPreset(t) {
774
- this._theme = Xe(ye({}, this.theme), { preset: t }), this._tokens = Z.createTokens(t, this.defaults), this.clearLoadedStyleNames(), ie.emit("preset:change", t), ie.emit("theme:change", this.theme);
774
+ this._theme = Xe(be({}, this.theme), { preset: t }), this._tokens = Z.createTokens(t, this.defaults), this.clearLoadedStyleNames(), ie.emit("preset:change", t), ie.emit("theme:change", this.theme);
775
775
  },
776
776
  getOptions() {
777
777
  return this.options;
778
778
  },
779
779
  setOptions(t) {
780
- this._theme = Xe(ye({}, this.theme), { options: t }), this.clearLoadedStyleNames(), ie.emit("options:change", t), ie.emit("theme:change", this.theme);
780
+ this._theme = Xe(be({}, this.theme), { options: t }), this.clearLoadedStyleNames(), ie.emit("options:change", t), ie.emit("theme:change", this.theme);
781
781
  },
782
782
  getLayerNames() {
783
783
  return [...this._layerNames];
@@ -909,22 +909,22 @@ function To(t) {
909
909
  }
910
910
  var xo = 0;
911
911
  function Lo(t) {
912
- var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = Oe(!1), o = Oe(t), r = Oe(null), i = tn() ? window.document : void 0, a = e.document, s = a === void 0 ? i : a, l = e.immediate, c = l === void 0 ? !0 : l, u = e.manual, p = u === void 0 ? !1 : u, d = e.name, h = d === void 0 ? "style_".concat(++xo) : d, m = e.id, v = m === void 0 ? void 0 : m, b = e.media, O = b === void 0 ? void 0 : b, f = e.nonce, S = f === void 0 ? void 0 : f, w = e.first, M = w === void 0 ? !1 : w, E = e.onMounted, N = E === void 0 ? void 0 : E, D = e.onUpdated, R = D === void 0 ? void 0 : D, K = e.onLoad, _ = K === void 0 ? void 0 : K, B = e.props, te = B === void 0 ? {} : B, ne = function() {
912
+ var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = ve(!1), o = ve(t), r = ve(null), i = tn() ? window.document : void 0, a = e.document, s = a === void 0 ? i : a, l = e.immediate, u = l === void 0 ? !0 : l, c = e.manual, p = c === void 0 ? !1 : c, d = e.name, h = d === void 0 ? "style_".concat(++xo) : d, m = e.id, v = m === void 0 ? void 0 : m, b = e.media, O = b === void 0 ? void 0 : b, f = e.nonce, S = f === void 0 ? void 0 : f, w = e.first, M = w === void 0 ? !1 : w, E = e.onMounted, N = E === void 0 ? void 0 : E, D = e.onUpdated, R = D === void 0 ? void 0 : D, K = e.onLoad, _ = K === void 0 ? void 0 : K, B = e.props, te = B === void 0 ? {} : B, ne = function() {
913
913
  }, H = function(Ue) {
914
914
  var We = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
915
915
  if (s) {
916
- var me = Pt(Pt({}, te), We), ge = me.name || h, yt = me.id || v, $n = me.nonce || S;
917
- r.value = s.querySelector('style[data-primevue-style-id="'.concat(ge, '"]')) || s.getElementById(yt) || s.createElement("style"), r.value.isConnected || (o.value = Ue || t, Re(r.value, {
916
+ var me = Pt(Pt({}, te), We), ye = me.name || h, yt = me.id || v, $n = me.nonce || S;
917
+ r.value = s.querySelector('style[data-primevue-style-id="'.concat(ye, '"]')) || s.getElementById(yt) || s.createElement("style"), r.value.isConnected || (o.value = Ue || t, Re(r.value, {
918
918
  type: "text/css",
919
919
  id: yt,
920
920
  media: O,
921
921
  nonce: $n
922
- }), M ? s.head.prepend(r.value) : s.head.appendChild(r.value), ro(r.value, "data-primevue-style-id", ge), Re(r.value, me), r.value.onload = function(qe) {
922
+ }), M ? s.head.prepend(r.value) : s.head.appendChild(r.value), ro(r.value, "data-primevue-style-id", ye), Re(r.value, me), r.value.onload = function(qe) {
923
923
  return _ == null ? void 0 : _(qe, {
924
- name: ge
924
+ name: ye
925
925
  });
926
- }, N == null || N(ge)), !n.value && (ne = _n(o, function(qe) {
927
- r.value.textContent = qe, R == null || R(ge);
926
+ }, N == null || N(ye)), !n.value && (ne = _n(o, function(qe) {
927
+ r.value.textContent = qe, R == null || R(ye);
928
928
  }, {
929
929
  immediate: !0
930
930
  }), n.value = !0);
@@ -932,7 +932,7 @@ function Lo(t) {
932
932
  }, G = function() {
933
933
  !s || !n.value || (ne(), oo(r.value) && s.head.removeChild(r.value), n.value = !1);
934
934
  };
935
- return c && !p && To(H), {
935
+ return u && !p && To(H), {
936
936
  id: v,
937
937
  name: h,
938
938
  el: r,
@@ -972,16 +972,16 @@ function _t(t, e) {
972
972
  function zo(t, e) {
973
973
  var n = t == null ? null : typeof Symbol < "u" && t[Symbol.iterator] || t["@@iterator"];
974
974
  if (n != null) {
975
- var o, r, i, a, s = [], l = !0, c = !1;
975
+ var o, r, i, a, s = [], l = !0, u = !1;
976
976
  try {
977
977
  if (i = (n = n.call(t)).next, e !== 0) for (; !(l = (o = i.call(n)).done) && (s.push(o.value), s.length !== e); l = !0) ;
978
- } catch (u) {
979
- c = !0, r = u;
978
+ } catch (c) {
979
+ u = !0, r = c;
980
980
  } finally {
981
981
  try {
982
982
  if (!l && n.return != null && (a = n.return(), Object(a) !== a)) return;
983
983
  } finally {
984
- if (c) throw r;
984
+ if (u) throw r;
985
985
  }
986
986
  }
987
987
  return s;
@@ -1221,8 +1221,8 @@ var Bo = function(e) {
1221
1221
  var o = Q(this.css, {
1222
1222
  dt: Je
1223
1223
  }), r = $e("".concat(o).concat(e)), i = Object.entries(n).reduce(function(a, s) {
1224
- var l = kt(s, 2), c = l[0], u = l[1];
1225
- return a.push("".concat(c, '="').concat(u, '"')) && a;
1224
+ var l = kt(s, 2), u = l[0], c = l[1];
1225
+ return a.push("".concat(u, '="').concat(c, '"')) && a;
1226
1226
  }, []).join(" ");
1227
1227
  return '<style type="text/css" data-primevue-style-id="'.concat(this.name, '" ').concat(i, ">").concat(r, "</style>");
1228
1228
  }
@@ -1237,8 +1237,8 @@ var Bo = function(e) {
1237
1237
  if (this.theme) {
1238
1238
  var r = this.name === "base" ? "global-style" : "".concat(this.name, "-style"), i = Q(this.theme, {
1239
1239
  dt: Je
1240
- }), a = $e(T.transformCSS(r, i)), s = Object.entries(n).reduce(function(l, c) {
1241
- var u = kt(c, 2), p = u[0], d = u[1];
1240
+ }), a = $e(T.transformCSS(r, i)), s = Object.entries(n).reduce(function(l, u) {
1241
+ var c = kt(u, 2), p = c[0], d = c[1];
1242
1242
  return l.push("".concat(p, '="').concat(d, '"')) && l;
1243
1243
  }, []).join(" ");
1244
1244
  o.push('<style type="text/css" data-primevue-style-id="'.concat(r, '" ').concat(s, ">").concat(a, "</style>"));
@@ -1290,19 +1290,19 @@ function Lt(t, e) {
1290
1290
  function Uo(t, e) {
1291
1291
  var n = t == null ? null : typeof Symbol < "u" && t[Symbol.iterator] || t["@@iterator"];
1292
1292
  if (n != null) {
1293
- var o, r, i, a, s = [], l = !0, c = !1;
1293
+ var o, r, i, a, s = [], l = !0, u = !1;
1294
1294
  try {
1295
1295
  if (i = (n = n.call(t)).next, e === 0) {
1296
1296
  if (Object(n) !== n) return;
1297
1297
  l = !1;
1298
1298
  } else for (; !(l = (o = i.call(n)).done) && (s.push(o.value), s.length !== e); l = !0) ;
1299
- } catch (u) {
1300
- c = !0, r = u;
1299
+ } catch (c) {
1300
+ u = !0, r = c;
1301
1301
  } finally {
1302
1302
  try {
1303
1303
  if (!l && n.return != null && (a = n.return(), Object(a) !== a)) return;
1304
1304
  } finally {
1305
- if (c) throw r;
1305
+ if (u) throw r;
1306
1306
  }
1307
1307
  }
1308
1308
  return s;
@@ -1394,10 +1394,10 @@ var ee = {
1394
1394
  scopedStyleEl: void 0,
1395
1395
  rootEl: void 0,
1396
1396
  beforeCreate: function() {
1397
- var e, n, o, r, i, a, s, l, c, u, p, d = (e = this.pt) === null || e === void 0 ? void 0 : e._usept, h = d ? (n = this.pt) === null || n === void 0 || (n = n.originalValue) === null || n === void 0 ? void 0 : n[this.$.type.name] : void 0, m = d ? (o = this.pt) === null || o === void 0 || (o = o.value) === null || o === void 0 ? void 0 : o[this.$.type.name] : this.pt;
1397
+ var e, n, o, r, i, a, s, l, u, c, p, d = (e = this.pt) === null || e === void 0 ? void 0 : e._usept, h = d ? (n = this.pt) === null || n === void 0 || (n = n.originalValue) === null || n === void 0 ? void 0 : n[this.$.type.name] : void 0, m = d ? (o = this.pt) === null || o === void 0 || (o = o.value) === null || o === void 0 ? void 0 : o[this.$.type.name] : this.pt;
1398
1398
  (r = m || h) === null || r === void 0 || (r = r.hooks) === null || r === void 0 || (i = r.onBeforeCreate) === null || i === void 0 || i.call(r);
1399
- var v = (a = this.$primevueConfig) === null || a === void 0 || (a = a.pt) === null || a === void 0 ? void 0 : a._usept, b = v ? (s = this.$primevue) === null || s === void 0 || (s = s.config) === null || s === void 0 || (s = s.pt) === null || s === void 0 ? void 0 : s.originalValue : void 0, O = v ? (l = this.$primevue) === null || l === void 0 || (l = l.config) === null || l === void 0 || (l = l.pt) === null || l === void 0 ? void 0 : l.value : (c = this.$primevue) === null || c === void 0 || (c = c.config) === null || c === void 0 ? void 0 : c.pt;
1400
- (u = O || b) === null || u === void 0 || (u = u[this.$.type.name]) === null || u === void 0 || (u = u.hooks) === null || u === void 0 || (p = u.onBeforeCreate) === null || p === void 0 || p.call(u);
1399
+ var v = (a = this.$primevueConfig) === null || a === void 0 || (a = a.pt) === null || a === void 0 ? void 0 : a._usept, b = v ? (s = this.$primevue) === null || s === void 0 || (s = s.config) === null || s === void 0 || (s = s.pt) === null || s === void 0 ? void 0 : s.originalValue : void 0, O = v ? (l = this.$primevue) === null || l === void 0 || (l = l.config) === null || l === void 0 || (l = l.pt) === null || l === void 0 ? void 0 : l.value : (u = this.$primevue) === null || u === void 0 || (u = u.config) === null || u === void 0 ? void 0 : u.pt;
1400
+ (c = O || b) === null || c === void 0 || (c = c[this.$.type.name]) === null || c === void 0 || (c = c.hooks) === null || c === void 0 || (p = c.onBeforeCreate) === null || p === void 0 || p.call(c);
1401
1401
  },
1402
1402
  created: function() {
1403
1403
  this._hook("onCreated");
@@ -1464,8 +1464,8 @@ var ee = {
1464
1464
  }, this.$styleOptions)), T.setLoadedStyleName("common");
1465
1465
  }
1466
1466
  if (!T.isStyleNameLoaded((e = this.$style) === null || e === void 0 ? void 0 : e.name) && (n = this.$style) !== null && n !== void 0 && n.name) {
1467
- var l, c, u, p, d = ((l = this.$style) === null || l === void 0 || (c = l.getComponentTheme) === null || c === void 0 ? void 0 : c.call(l)) || {}, h = d.css;
1468
- (u = this.$style) === null || u === void 0 || u.load(h, I({
1467
+ var l, u, c, p, d = ((l = this.$style) === null || l === void 0 || (u = l.getComponentTheme) === null || u === void 0 ? void 0 : u.call(l)) || {}, h = d.css;
1468
+ (c = this.$style) === null || c === void 0 || c.load(h, I({
1469
1469
  name: "".concat(this.$style.name, "-variables")
1470
1470
  }, this.$styleOptions)), (p = this.$style) === null || p === void 0 || p.loadTheme(I({
1471
1471
  name: "".concat(this.$style.name, "-style")
@@ -1507,10 +1507,10 @@ var ee = {
1507
1507
  return ut(e, n, o);
1508
1508
  },
1509
1509
  _getPTValue: function() {
1510
- var e, n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, o = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "", r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, i = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : !0, a = /./g.test(o) && !!r[o.split(".")[0]], s = this._getPropValue("ptOptions") || ((e = this.$primevueConfig) === null || e === void 0 ? void 0 : e.ptOptions) || {}, l = s.mergeSections, c = l === void 0 ? !0 : l, u = s.mergeProps, p = u === void 0 ? !1 : u, d = i ? a ? this._useGlobalPT(this._getPTClassValue, o, r) : this._useDefaultPT(this._getPTClassValue, o, r) : void 0, h = a ? void 0 : this._getPTSelf(n, this._getPTClassValue, o, I(I({}, r), {}, {
1510
+ var e, n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, o = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "", r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, i = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : !0, a = /./g.test(o) && !!r[o.split(".")[0]], s = this._getPropValue("ptOptions") || ((e = this.$primevueConfig) === null || e === void 0 ? void 0 : e.ptOptions) || {}, l = s.mergeSections, u = l === void 0 ? !0 : l, c = s.mergeProps, p = c === void 0 ? !1 : c, d = i ? a ? this._useGlobalPT(this._getPTClassValue, o, r) : this._useDefaultPT(this._getPTClassValue, o, r) : void 0, h = a ? void 0 : this._getPTSelf(n, this._getPTClassValue, o, I(I({}, r), {}, {
1511
1511
  global: d || {}
1512
1512
  })), m = this._getPTDatasets(o);
1513
- return c || !c && h ? p ? this._mergeProps(p, d, h, m) : I(I(I({}, d), h), m) : I(I({}, h), m);
1513
+ return u || !u && h ? p ? this._mergeProps(p, d, h, m) : I(I(I({}, d), h), m) : I(I({}, h), m);
1514
1514
  },
1515
1515
  _getPTSelf: function() {
1516
1516
  for (var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = arguments.length, o = new Array(n > 1 ? n - 1 : 0), r = 1; r < n; r++)
@@ -1534,8 +1534,8 @@ var ee = {
1534
1534
  },
1535
1535
  _getPT: function(e) {
1536
1536
  var n = this, o = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "", r = arguments.length > 2 ? arguments[2] : void 0, i = function(s) {
1537
- var l, c = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, u = r ? r(s) : s, p = X(o), d = X(n.$name);
1538
- return (l = c ? p !== d ? u == null ? void 0 : u[p] : void 0 : u == null ? void 0 : u[p]) !== null && l !== void 0 ? l : u;
1537
+ var l, u = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, c = r ? r(s) : s, p = X(o), d = X(n.$name);
1538
+ return (l = u ? p !== d ? c == null ? void 0 : c[p] : void 0 : c == null ? void 0 : c[p]) !== null && l !== void 0 ? l : c;
1539
1539
  };
1540
1540
  return e != null && e.hasOwnProperty("_usept") ? {
1541
1541
  _usept: e._usept,
@@ -1548,8 +1548,8 @@ var ee = {
1548
1548
  return n(v, o, r);
1549
1549
  };
1550
1550
  if (e != null && e.hasOwnProperty("_usept")) {
1551
- var a, s = e._usept || ((a = this.$primevueConfig) === null || a === void 0 ? void 0 : a.ptOptions) || {}, l = s.mergeSections, c = l === void 0 ? !0 : l, u = s.mergeProps, p = u === void 0 ? !1 : u, d = i(e.originalValue), h = i(e.value);
1552
- return d === void 0 && h === void 0 ? void 0 : F(h) ? h : F(d) ? d : c || !c && h ? p ? this._mergeProps(p, d, h) : I(I({}, d), h) : h;
1551
+ var a, s = e._usept || ((a = this.$primevueConfig) === null || a === void 0 ? void 0 : a.ptOptions) || {}, l = s.mergeSections, u = l === void 0 ? !0 : l, c = s.mergeProps, p = c === void 0 ? !1 : c, d = i(e.originalValue), h = i(e.value);
1552
+ return d === void 0 && h === void 0 ? void 0 : F(h) ? h : F(d) ? d : u || !u && h ? p ? this._mergeProps(p, d, h) : I(I({}, d), h) : h;
1553
1553
  }
1554
1554
  return i(e);
1555
1555
  },
@@ -1654,8 +1654,8 @@ var ee = {
1654
1654
  return o == null ? void 0 : o.startsWith("pt:");
1655
1655
  }).reduce(function(e, n) {
1656
1656
  var o = De(n, 2), r = o[0], i = o[1], a = r.split(":"), s = Ho(a), l = s.slice(1);
1657
- return l == null || l.reduce(function(c, u, p, d) {
1658
- return !c[u] && (c[u] = p === d.length - 1 ? i : {}), c[u];
1657
+ return l == null || l.reduce(function(u, c, p, d) {
1658
+ return !u[c] && (u[c] = p === d.length - 1 ? i : {}), u[c];
1659
1659
  }, e), e;
1660
1660
  }, {});
1661
1661
  },
@@ -1669,7 +1669,7 @@ var ee = {
1669
1669
  }, {});
1670
1670
  },
1671
1671
  $attrSelector: function() {
1672
- return ve("pc");
1672
+ return ge("pc");
1673
1673
  }
1674
1674
  }
1675
1675
  }, Go = `
@@ -1956,16 +1956,16 @@ function jt(t, e) {
1956
1956
  function fi(t, e) {
1957
1957
  var n = t == null ? null : typeof Symbol < "u" && t[Symbol.iterator] || t["@@iterator"];
1958
1958
  if (n != null) {
1959
- var o, r, i, a, s = [], l = !0, c = !1;
1959
+ var o, r, i, a, s = [], l = !0, u = !1;
1960
1960
  try {
1961
1961
  if (i = (n = n.call(t)).next, e !== 0) for (; !(l = (o = i.call(n)).done) && (s.push(o.value), s.length !== e); l = !0) ;
1962
- } catch (u) {
1963
- c = !0, r = u;
1962
+ } catch (c) {
1963
+ u = !0, r = c;
1964
1964
  } finally {
1965
1965
  try {
1966
1966
  if (!l && n.return != null && (a = n.return(), Object(a) !== a)) return;
1967
1967
  } finally {
1968
- if (c) throw r;
1968
+ if (u) throw r;
1969
1969
  }
1970
1970
  }
1971
1971
  return s;
@@ -2027,7 +2027,7 @@ var C = {
2027
2027
  return F(f) || dt(f) ? {
2028
2028
  class: f
2029
2029
  } : f;
2030
- }, c = ((e = o.binding) === null || e === void 0 || (e = e.value) === null || e === void 0 ? void 0 : e.ptOptions) || ((n = o.$primevueConfig) === null || n === void 0 ? void 0 : n.ptOptions) || {}, u = c.mergeSections, p = u === void 0 ? !0 : u, d = c.mergeProps, h = d === void 0 ? !1 : d, m = s ? C._useDefaultPT(o, o.defaultPT(), l, i, a) : void 0, v = C._usePT(o, C._getPT(r, o.$name), l, i, P(P({}, a), {}, {
2030
+ }, u = ((e = o.binding) === null || e === void 0 || (e = e.value) === null || e === void 0 ? void 0 : e.ptOptions) || ((n = o.$primevueConfig) === null || n === void 0 ? void 0 : n.ptOptions) || {}, c = u.mergeSections, p = c === void 0 ? !0 : c, d = u.mergeProps, h = d === void 0 ? !1 : d, m = s ? C._useDefaultPT(o, o.defaultPT(), l, i, a) : void 0, v = C._usePT(o, C._getPT(r, o.$name), l, i, P(P({}, a), {}, {
2031
2031
  global: m || {}
2032
2032
  })), b = C._getPTDatasets(o, i);
2033
2033
  return p || !p && v ? h ? C._mergeProps(o, h, m, v, b) : P(P(P({}, m), v), b) : P(P({}, v), b);
@@ -2038,8 +2038,8 @@ var C = {
2038
2038
  },
2039
2039
  _getPT: function(e) {
2040
2040
  var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "", o = arguments.length > 2 ? arguments[2] : void 0, r = function(a) {
2041
- var s, l = o ? o(a) : a, c = X(n);
2042
- return (s = l == null ? void 0 : l[c]) !== null && s !== void 0 ? s : l;
2041
+ var s, l = o ? o(a) : a, u = X(n);
2042
+ return (s = l == null ? void 0 : l[u]) !== null && s !== void 0 ? s : l;
2043
2043
  };
2044
2044
  return e != null && e.hasOwnProperty("_usept") ? {
2045
2045
  _usept: e._usept,
@@ -2052,8 +2052,8 @@ var C = {
2052
2052
  return o(b, r, i);
2053
2053
  };
2054
2054
  if (n != null && n.hasOwnProperty("_usept")) {
2055
- var s, l = n._usept || ((s = e.$primevueConfig) === null || s === void 0 ? void 0 : s.ptOptions) || {}, c = l.mergeSections, u = c === void 0 ? !0 : c, p = l.mergeProps, d = p === void 0 ? !1 : p, h = a(n.originalValue), m = a(n.value);
2056
- return h === void 0 && m === void 0 ? void 0 : F(m) ? m : F(h) ? h : u || !u && m ? d ? C._mergeProps(e, d, h, m) : P(P({}, h), m) : m;
2055
+ var s, l = n._usept || ((s = e.$primevueConfig) === null || s === void 0 ? void 0 : s.ptOptions) || {}, u = l.mergeSections, c = u === void 0 ? !0 : u, p = l.mergeProps, d = p === void 0 ? !1 : p, h = a(n.originalValue), m = a(n.value);
2056
+ return h === void 0 && m === void 0 ? void 0 : F(m) ? m : F(h) ? h : c || !c && m ? d ? C._mergeProps(e, d, h, m) : P(P({}, h), m) : m;
2057
2057
  }
2058
2058
  return a(n);
2059
2059
  },
@@ -2080,17 +2080,17 @@ var C = {
2080
2080
  var e, n, o = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, r = arguments.length > 1 ? arguments[1] : void 0;
2081
2081
  if (!(o != null && o.isUnstyled())) {
2082
2082
  if (!T.isStyleNameLoaded("common")) {
2083
- var i, a, s = ((i = o.$style) === null || i === void 0 || (a = i.getCommonTheme) === null || a === void 0 ? void 0 : a.call(i)) || {}, l = s.primitive, c = s.semantic;
2083
+ var i, a, s = ((i = o.$style) === null || i === void 0 || (a = i.getCommonTheme) === null || a === void 0 ? void 0 : a.call(i)) || {}, l = s.primitive, u = s.semantic;
2084
2084
  V.load(l == null ? void 0 : l.css, P({
2085
2085
  name: "primitive-variables"
2086
- }, r)), V.load(c == null ? void 0 : c.css, P({
2086
+ }, r)), V.load(u == null ? void 0 : u.css, P({
2087
2087
  name: "semantic-variables"
2088
2088
  }, r)), V.loadTheme(P({
2089
2089
  name: "global-style"
2090
2090
  }, r)), T.setLoadedStyleName("common");
2091
2091
  }
2092
2092
  if (!T.isStyleNameLoaded((e = o.$style) === null || e === void 0 ? void 0 : e.name) && (n = o.$style) !== null && n !== void 0 && n.name) {
2093
- var u, p, d, h, m = ((u = o.$style) === null || u === void 0 || (p = u.getDirectiveTheme) === null || p === void 0 ? void 0 : p.call(u)) || {}, v = m.css;
2093
+ var c, p, d, h, m = ((c = o.$style) === null || c === void 0 || (p = c.getDirectiveTheme) === null || p === void 0 ? void 0 : p.call(c)) || {}, v = m.css;
2094
2094
  (d = o.$style) === null || d === void 0 || d.load(v, P({
2095
2095
  name: "".concat(o.$style.name, "-variables")
2096
2096
  }, r)), (h = o.$style) === null || h === void 0 || h.loadTheme(P({
@@ -2109,10 +2109,10 @@ var C = {
2109
2109
  _loadScopedThemeStyles: function() {
2110
2110
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = arguments.length > 1 ? arguments[1] : void 0, o = e.preset();
2111
2111
  if (o && e.$attrSelector) {
2112
- var r, i, a, s = ((r = e.$style) === null || r === void 0 || (i = r.getPresetTheme) === null || i === void 0 ? void 0 : i.call(r, o, "[".concat(e.$attrSelector, "]"))) || {}, l = s.css, c = (a = e.$style) === null || a === void 0 ? void 0 : a.load(l, P({
2112
+ var r, i, a, s = ((r = e.$style) === null || r === void 0 || (i = r.getPresetTheme) === null || i === void 0 ? void 0 : i.call(r, o, "[".concat(e.$attrSelector, "]"))) || {}, l = s.css, u = (a = e.$style) === null || a === void 0 ? void 0 : a.load(l, P({
2113
2113
  name: "".concat(e.$attrSelector, "-").concat(e.$style.name)
2114
2114
  }, n));
2115
- e.scopedStyleEl = c.el;
2115
+ e.scopedStyleEl = u.el;
2116
2116
  }
2117
2117
  },
2118
2118
  _themeChangeListener: function() {
@@ -2121,7 +2121,7 @@ var C = {
2121
2121
  le.clearLoadedStyleNames(), ie.on("theme:change", e);
2122
2122
  },
2123
2123
  _hook: function(e, n, o, r, i, a) {
2124
- var s, l, c = "on".concat(so(n)), u = C._getConfig(r, i), p = o == null ? void 0 : o.$instance, d = C._usePT(p, C._getPT(r == null || (s = r.value) === null || s === void 0 ? void 0 : s.pt, e), C._getOptionValue, "hooks.".concat(c)), h = C._useDefaultPT(p, u == null || (l = u.pt) === null || l === void 0 || (l = l.directives) === null || l === void 0 ? void 0 : l[e], C._getOptionValue, "hooks.".concat(c)), m = {
2124
+ var s, l, u = "on".concat(so(n)), c = C._getConfig(r, i), p = o == null ? void 0 : o.$instance, d = C._usePT(p, C._getPT(r == null || (s = r.value) === null || s === void 0 ? void 0 : s.pt, e), C._getOptionValue, "hooks.".concat(u)), h = C._useDefaultPT(p, c == null || (l = c.pt) === null || l === void 0 || (l = l.directives) === null || l === void 0 ? void 0 : l[e], C._getOptionValue, "hooks.".concat(u)), m = {
2125
2125
  el: o,
2126
2126
  binding: r,
2127
2127
  vnode: i,
@@ -2135,10 +2135,10 @@ var C = {
2135
2135
  return Fe(e) ? e.apply(void 0, o) : y.apply(void 0, o);
2136
2136
  },
2137
2137
  _extend: function(e) {
2138
- var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, o = function(a, s, l, c, u) {
2138
+ var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, o = function(a, s, l, u, c) {
2139
2139
  var p, d, h;
2140
2140
  s._$instances = s._$instances || {};
2141
- var m = C._getConfig(l, c), v = s._$instances[e] || {}, b = fe(v) ? P(P({}, n), n == null ? void 0 : n.methods) : {};
2141
+ var m = C._getConfig(l, u), v = s._$instances[e] || {}, b = fe(v) ? P(P({}, n), n == null ? void 0 : n.methods) : {};
2142
2142
  s._$instances[e] = P(P({}, v), {}, {
2143
2143
  /* new instance variables to pass in directive methods */
2144
2144
  $name: e,
@@ -2195,42 +2195,42 @@ var C = {
2195
2195
  var f, S = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", w = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, M = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
2196
2196
  return w ? C._getOptionValue((f = s.$instance) === null || f === void 0 || (f = f.$style) === null || f === void 0 ? void 0 : f.inlineStyles, S, P({}, M)) : void 0;
2197
2197
  }
2198
- }, b), s.$instance = s._$instances[e], (p = (d = s.$instance)[a]) === null || p === void 0 || p.call(d, s, l, c, u), s["$".concat(e)] = s.$instance, C._hook(e, a, s, l, c, u), s.$pd || (s.$pd = {}), s.$pd[e] = P(P({}, (h = s.$pd) === null || h === void 0 ? void 0 : h[e]), {}, {
2198
+ }, b), s.$instance = s._$instances[e], (p = (d = s.$instance)[a]) === null || p === void 0 || p.call(d, s, l, u, c), s["$".concat(e)] = s.$instance, C._hook(e, a, s, l, u, c), s.$pd || (s.$pd = {}), s.$pd[e] = P(P({}, (h = s.$pd) === null || h === void 0 ? void 0 : h[e]), {}, {
2199
2199
  name: e,
2200
2200
  instance: s.$instance
2201
2201
  });
2202
2202
  }, r = function(a) {
2203
- var s, l, c, u, p, d = (s = a.$instance) === null || s === void 0 ? void 0 : s.watch;
2204
- d == null || (l = d.config) === null || l === void 0 || l.call(a.$instance, (c = a.$instance) === null || c === void 0 ? void 0 : c.$primevueConfig), Mt.on("config:change", function(h) {
2203
+ var s, l, u, c, p, d = (s = a.$instance) === null || s === void 0 ? void 0 : s.watch;
2204
+ d == null || (l = d.config) === null || l === void 0 || l.call(a.$instance, (u = a.$instance) === null || u === void 0 ? void 0 : u.$primevueConfig), Mt.on("config:change", function(h) {
2205
2205
  var m, v = h.newValue, b = h.oldValue;
2206
2206
  return d == null || (m = d.config) === null || m === void 0 ? void 0 : m.call(a.$instance, v, b);
2207
- }), d == null || (u = d["config.ripple"]) === null || u === void 0 || u.call(a.$instance, (p = a.$instance) === null || p === void 0 || (p = p.$primevueConfig) === null || p === void 0 ? void 0 : p.ripple), Mt.on("config:ripple:change", function(h) {
2207
+ }), d == null || (c = d["config.ripple"]) === null || c === void 0 || c.call(a.$instance, (p = a.$instance) === null || p === void 0 || (p = p.$primevueConfig) === null || p === void 0 ? void 0 : p.ripple), Mt.on("config:ripple:change", function(h) {
2208
2208
  var m, v = h.newValue, b = h.oldValue;
2209
2209
  return d == null || (m = d["config.ripple"]) === null || m === void 0 ? void 0 : m.call(a.$instance, v, b);
2210
2210
  });
2211
2211
  };
2212
2212
  return {
2213
- created: function(a, s, l, c) {
2214
- o("created", a, s, l, c);
2213
+ created: function(a, s, l, u) {
2214
+ o("created", a, s, l, u);
2215
2215
  },
2216
- beforeMount: function(a, s, l, c) {
2217
- a.$attrSelector = ve("pd"), C._loadStyles(a, s, l), o("beforeMount", a, s, l, c), r(a);
2216
+ beforeMount: function(a, s, l, u) {
2217
+ a.$attrSelector = ge("pd"), C._loadStyles(a, s, l), o("beforeMount", a, s, l, u), r(a);
2218
2218
  },
2219
- mounted: function(a, s, l, c) {
2220
- C._loadStyles(a, s, l), o("mounted", a, s, l, c);
2219
+ mounted: function(a, s, l, u) {
2220
+ C._loadStyles(a, s, l), o("mounted", a, s, l, u);
2221
2221
  },
2222
- beforeUpdate: function(a, s, l, c) {
2223
- o("beforeUpdate", a, s, l, c);
2222
+ beforeUpdate: function(a, s, l, u) {
2223
+ o("beforeUpdate", a, s, l, u);
2224
2224
  },
2225
- updated: function(a, s, l, c) {
2226
- C._loadStyles(a, s, l), o("updated", a, s, l, c);
2225
+ updated: function(a, s, l, u) {
2226
+ C._loadStyles(a, s, l), o("updated", a, s, l, u);
2227
2227
  },
2228
- beforeUnmount: function(a, s, l, c) {
2229
- o("beforeUnmount", a, s, l, c);
2228
+ beforeUnmount: function(a, s, l, u) {
2229
+ o("beforeUnmount", a, s, l, u);
2230
2230
  },
2231
- unmounted: function(a, s, l, c) {
2232
- var u;
2233
- (u = a.$instance) === null || u === void 0 || (u = u.scopedStyleEl) === null || u === void 0 || (u = u.value) === null || u === void 0 || u.remove(), o("unmounted", a, s, l, c);
2231
+ unmounted: function(a, s, l, u) {
2232
+ var c;
2233
+ (c = a.$instance) === null || c === void 0 || (c = c.scopedStyleEl) === null || c === void 0 || (c = c.value) === null || c === void 0 || c.remove(), o("unmounted", a, s, l, u);
2234
2234
  }
2235
2235
  };
2236
2236
  },
@@ -2238,8 +2238,8 @@ var C = {
2238
2238
  var e = C._getMeta.apply(C, arguments), n = Et(e, 2), o = n[0], r = n[1];
2239
2239
  return P({
2240
2240
  extend: function() {
2241
- var a = C._getMeta.apply(C, arguments), s = Et(a, 2), l = s[0], c = s[1];
2242
- return C.extend(l, P(P(P({}, r), r == null ? void 0 : r.methods), c));
2241
+ var a = C._getMeta.apply(C, arguments), s = Et(a, 2), l = s[0], u = s[1];
2242
+ return C.extend(l, P(P(P({}, r), r == null ? void 0 : r.methods), u));
2243
2243
  }
2244
2244
  }, C._extend(o, r));
2245
2245
  }
@@ -2803,7 +2803,7 @@ var ji = function(e) {
2803
2803
  },
2804
2804
  watch: {
2805
2805
  "$attrs.id": function(e) {
2806
- this.id = e || ve();
2806
+ this.id = e || ge();
2807
2807
  },
2808
2808
  value: function(e) {
2809
2809
  this.d_value = e;
@@ -2816,7 +2816,7 @@ var ji = function(e) {
2816
2816
  }
2817
2817
  },
2818
2818
  mounted: function() {
2819
- this.id = this.id || ve();
2819
+ this.id = this.id || ge();
2820
2820
  },
2821
2821
  methods: {
2822
2822
  isItemActive: function(e) {
@@ -2913,19 +2913,19 @@ function Ri(t, e, n, o, r, i) {
2913
2913
  class: t.cx("root")
2914
2914
  }, t.ptmi("root")), [i.hasAccordionTab ? (g(!0), $(he, {
2915
2915
  key: 0
2916
- }, Ce(i.tabs, function(c, u) {
2916
+ }, Ce(i.tabs, function(u, c) {
2917
2917
  return g(), x(l, {
2918
- key: i.getKey(c, u),
2919
- value: "".concat(u),
2918
+ key: i.getKey(u, c),
2919
+ value: "".concat(c),
2920
2920
  pt: {
2921
- root: i.getTabPT(c, "root", u)
2921
+ root: i.getTabPT(u, "root", c)
2922
2922
  },
2923
- disabled: i.getTabProp(c, "disabled")
2923
+ disabled: i.getTabProp(u, "disabled")
2924
2924
  }, {
2925
2925
  default: z(function() {
2926
2926
  return [q(a, {
2927
- class: W(i.getTabProp(c, "headerClass")),
2928
- pt: i.getHeaderPT(c, u)
2927
+ class: W(i.getTabProp(u, "headerClass")),
2928
+ pt: i.getHeaderPT(u, c)
2929
2929
  }, {
2930
2930
  toggleicon: z(function(p) {
2931
2931
  return [p.active ? (g(), x(U(t.$slots.collapseicon ? t.$slots.collapseicon : t.collapseIcon ? "span" : "ChevronDownIcon"), y({
@@ -2933,32 +2933,32 @@ function Ri(t, e, n, o, r, i) {
2933
2933
  class: [t.collapseIcon, p.class],
2934
2934
  "aria-hidden": "true",
2935
2935
  ref_for: !0
2936
- }, i.getTabPT(c, "headericon", u)), null, 16, ["class"])) : (g(), x(U(t.$slots.expandicon ? t.$slots.expandicon : t.expandIcon ? "span" : "ChevronUpIcon"), y({
2936
+ }, i.getTabPT(u, "headericon", c)), null, 16, ["class"])) : (g(), x(U(t.$slots.expandicon ? t.$slots.expandicon : t.expandIcon ? "span" : "ChevronUpIcon"), y({
2937
2937
  key: 1,
2938
2938
  class: [t.expandIcon, p.class],
2939
2939
  "aria-hidden": "true",
2940
2940
  ref_for: !0
2941
- }, i.getTabPT(c, "headericon", u)), null, 16, ["class"]))];
2941
+ }, i.getTabPT(u, "headericon", c)), null, 16, ["class"]))];
2942
2942
  }),
2943
2943
  default: z(function() {
2944
- return [c.children && c.children.headericon ? (g(), x(U(c.children.headericon), {
2944
+ return [u.children && u.children.headericon ? (g(), x(U(u.children.headericon), {
2945
2945
  key: 0,
2946
- isTabActive: i.isItemActive("".concat(u)),
2947
- active: i.isItemActive("".concat(u)),
2948
- index: u
2949
- }, null, 8, ["isTabActive", "active", "index"])) : j("", !0), c.props && c.props.header ? (g(), $("span", y({
2946
+ isTabActive: i.isItemActive("".concat(c)),
2947
+ active: i.isItemActive("".concat(c)),
2948
+ index: c
2949
+ }, null, 8, ["isTabActive", "active", "index"])) : j("", !0), u.props && u.props.header ? (g(), $("span", y({
2950
2950
  key: 1,
2951
2951
  ref_for: !0
2952
- }, i.getTabPT(c, "headertitle", u)), J(c.props.header), 17)) : j("", !0), c.children && c.children.header ? (g(), x(U(c.children.header), {
2952
+ }, i.getTabPT(u, "headertitle", c)), J(u.props.header), 17)) : j("", !0), u.children && u.children.header ? (g(), x(U(u.children.header), {
2953
2953
  key: 2
2954
2954
  })) : j("", !0)];
2955
2955
  }),
2956
2956
  _: 2
2957
2957
  }, 1032, ["class", "pt"]), q(s, {
2958
- pt: i.getContentPT(c, u)
2958
+ pt: i.getContentPT(u, c)
2959
2959
  }, {
2960
2960
  default: z(function() {
2961
- return [(g(), x(U(c)))];
2961
+ return [(g(), x(U(u)))];
2962
2962
  }),
2963
2963
  _: 2
2964
2964
  }, 1032, ["pt"])];
@@ -2981,7 +2981,7 @@ const Ki = { class: "flex flex-col gap-4" }, Hi = { class: "flex flex-col gap-4"
2981
2981
  }),
2982
2982
  emits: ["update:modelValue"],
2983
2983
  setup(t) {
2984
- const e = Oe(!1), n = t, o = Zt(t, "modelValue"), r = xn({
2984
+ const e = ve(!1), n = t, o = Zt(t, "modelValue"), r = xn({
2985
2985
  get: () => o.value ? "0" : "",
2986
2986
  set: (i) => {
2987
2987
  o.value = i === "0";
@@ -3609,7 +3609,7 @@ function Kt(t, e) {
3609
3609
  }
3610
3610
  return n;
3611
3611
  }
3612
- function Se(t) {
3612
+ function we(t) {
3613
3613
  for (var e = 1; e < arguments.length; e++) {
3614
3614
  var n = arguments[e] != null ? arguments[e] : {};
3615
3615
  e % 2 ? Kt(Object(n), !0).forEach(function(o) {
@@ -3747,7 +3747,7 @@ var Sn = {
3747
3747
  return N > -1;
3748
3748
  }) : e > -1;
3749
3749
  if (a) {
3750
- var s = this.first, l = this.element, c = l.scrollTop, u = c === void 0 ? 0 : c, p = l.scrollLeft, d = p === void 0 ? 0 : p, h = this.calculateNumItems(), m = h.numToleratedItems, v = this.getContentPosition(), b = this.itemSize, O = function() {
3750
+ var s = this.first, l = this.element, u = l.scrollTop, c = u === void 0 ? 0 : u, p = l.scrollLeft, d = p === void 0 ? 0 : p, h = this.calculateNumItems(), m = h.numToleratedItems, v = this.getContentPosition(), b = this.itemSize, O = function() {
3751
3751
  var D = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 0, R = arguments.length > 1 ? arguments[1] : void 0;
3752
3752
  return D <= R ? 0 : D;
3753
3753
  }, f = function(D, R, K) {
@@ -3766,7 +3766,7 @@ var Sn = {
3766
3766
  r ? (w = {
3767
3767
  rows: O(e[0], m[0]),
3768
3768
  cols: O(e[1], m[1])
3769
- }, S(f(w.cols, b[1], v.left), f(w.rows, b[0], v.top)), E = this.lastScrollPos.top !== u || this.lastScrollPos.left !== d, M = w.rows !== s.rows || w.cols !== s.cols) : (w = O(e, m), i ? S(f(w, b, v.left), u) : S(d, f(w, b, v.top)), E = this.lastScrollPos !== (i ? d : u), M = w !== s), this.isRangeChanged = M, E && (this.first = w);
3769
+ }, S(f(w.cols, b[1], v.left), f(w.rows, b[0], v.top)), E = this.lastScrollPos.top !== c || this.lastScrollPos.left !== d, M = w.rows !== s.rows || w.cols !== s.cols) : (w = O(e, m), i ? S(f(w, b, v.left), c) : S(d, f(w, b, v.top)), E = this.lastScrollPos !== (i ? d : c), M = w !== s), this.isRangeChanged = M, E && (this.first = w);
3770
3770
  }
3771
3771
  },
3772
3772
  scrollInView: function(e, n) {
@@ -3776,7 +3776,7 @@ var Sn = {
3776
3776
  return b > -1;
3777
3777
  }) : e > -1;
3778
3778
  if (s) {
3779
- var l = this.getRenderedRange(), c = l.first, u = l.viewport, p = function() {
3779
+ var l = this.getRenderedRange(), u = l.first, c = l.viewport, p = function() {
3780
3780
  var O = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 0, f = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0;
3781
3781
  return o.scrollTo({
3782
3782
  left: O,
@@ -3786,16 +3786,16 @@ var Sn = {
3786
3786
  }, d = n === "to-start", h = n === "to-end";
3787
3787
  if (d) {
3788
3788
  if (i)
3789
- u.first.rows - c.rows > e[0] ? p(u.first.cols * this.itemSize[1], (u.first.rows - 1) * this.itemSize[0]) : u.first.cols - c.cols > e[1] && p((u.first.cols - 1) * this.itemSize[1], u.first.rows * this.itemSize[0]);
3790
- else if (u.first - c > e) {
3791
- var m = (u.first - 1) * this.itemSize;
3789
+ c.first.rows - u.rows > e[0] ? p(c.first.cols * this.itemSize[1], (c.first.rows - 1) * this.itemSize[0]) : c.first.cols - u.cols > e[1] && p((c.first.cols - 1) * this.itemSize[1], c.first.rows * this.itemSize[0]);
3790
+ else if (c.first - u > e) {
3791
+ var m = (c.first - 1) * this.itemSize;
3792
3792
  a ? p(m, 0) : p(0, m);
3793
3793
  }
3794
3794
  } else if (h) {
3795
3795
  if (i)
3796
- u.last.rows - c.rows <= e[0] + 1 ? p(u.first.cols * this.itemSize[1], (u.first.rows + 1) * this.itemSize[0]) : u.last.cols - c.cols <= e[1] + 1 && p((u.first.cols + 1) * this.itemSize[1], u.first.rows * this.itemSize[0]);
3797
- else if (u.last - c <= e + 1) {
3798
- var v = (u.first + 1) * this.itemSize;
3796
+ c.last.rows - u.rows <= e[0] + 1 ? p(c.first.cols * this.itemSize[1], (c.first.rows + 1) * this.itemSize[0]) : c.last.cols - u.cols <= e[1] + 1 && p((c.first.cols + 1) * this.itemSize[1], c.first.rows * this.itemSize[0]);
3797
+ else if (c.last - u <= e + 1) {
3798
+ var v = (c.first + 1) * this.itemSize;
3799
3799
  a ? p(v, 0) : p(0, v);
3800
3800
  }
3801
3801
  }
@@ -3818,8 +3818,8 @@ var Sn = {
3818
3818
  cols: n.cols + this.numItemsInViewport.cols
3819
3819
  };
3820
3820
  else {
3821
- var c = i ? l : s;
3822
- n = e(c, this.itemSize), o = n + this.numItemsInViewport;
3821
+ var u = i ? l : s;
3822
+ n = e(u, this.itemSize), o = n + this.numItemsInViewport;
3823
3823
  }
3824
3824
  }
3825
3825
  return {
@@ -3836,19 +3836,19 @@ var Sn = {
3836
3836
  return Math.ceil(d / (h || d));
3837
3837
  }, l = function(d) {
3838
3838
  return Math.ceil(d / 2);
3839
- }, c = e ? {
3839
+ }, u = e ? {
3840
3840
  rows: s(a, o[0]),
3841
3841
  cols: s(i, o[1])
3842
- } : s(n ? i : a, o), u = this.d_numToleratedItems || (e ? [l(c.rows), l(c.cols)] : l(c));
3842
+ } : s(n ? i : a, o), c = this.d_numToleratedItems || (e ? [l(u.rows), l(u.cols)] : l(u));
3843
3843
  return {
3844
- numItemsInViewport: c,
3845
- numToleratedItems: u
3844
+ numItemsInViewport: u,
3845
+ numToleratedItems: c
3846
3846
  };
3847
3847
  },
3848
3848
  calculateOptions: function() {
3849
- var e = this, n = this.isBoth(), o = this.first, r = this.calculateNumItems(), i = r.numItemsInViewport, a = r.numToleratedItems, s = function(u, p, d) {
3849
+ var e = this, n = this.isBoth(), o = this.first, r = this.calculateNumItems(), i = r.numItemsInViewport, a = r.numToleratedItems, s = function(c, p, d) {
3850
3850
  var h = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : !1;
3851
- return e.getLast(u + p + (u < d ? 2 : 3) * d, h);
3851
+ return e.getLast(c + p + (c < d ? 2 : 3) * d, h);
3852
3852
  }, l = n ? {
3853
3853
  rows: s(o.rows, i.rows, a[0]),
3854
3854
  cols: s(o.cols, i.cols, a[1], !0)
@@ -3862,13 +3862,13 @@ var Sn = {
3862
3862
  }) : Array.from({
3863
3863
  length: i
3864
3864
  })), this.lazy && Promise.resolve().then(function() {
3865
- var c;
3865
+ var u;
3866
3866
  e.lazyLoadState = {
3867
3867
  first: e.step ? n ? {
3868
3868
  rows: 0,
3869
3869
  cols: o.cols
3870
3870
  } : 0 : o,
3871
- last: Math.min(e.step ? e.step : l, ((c = e.items) === null || c === void 0 ? void 0 : c.length) || 0)
3871
+ last: Math.min(e.step ? e.step : l, ((u = e.items) === null || u === void 0 ? void 0 : u.length) || 0)
3872
3872
  }, e.$emit("lazy-load", e.lazyLoadState);
3873
3873
  });
3874
3874
  },
@@ -3911,8 +3911,8 @@ var Sn = {
3911
3911
  setSize: function() {
3912
3912
  var e = this;
3913
3913
  if (this.element) {
3914
- var n = this.isBoth(), o = this.isHorizontal(), r = this.element.parentElement, i = this.scrollWidth || "".concat(this.element.offsetWidth || r.offsetWidth, "px"), a = this.scrollHeight || "".concat(this.element.offsetHeight || r.offsetHeight, "px"), s = function(c, u) {
3915
- return e.element.style[c] = u;
3914
+ var n = this.isBoth(), o = this.isHorizontal(), r = this.element.parentElement, i = this.scrollWidth || "".concat(this.element.offsetWidth || r.offsetWidth, "px"), a = this.scrollHeight || "".concat(this.element.offsetHeight || r.offsetHeight, "px"), s = function(u, c) {
3915
+ return e.element.style[u] = c;
3916
3916
  };
3917
3917
  n || o ? (s("height", a), s("width", i)) : s("height", a);
3918
3918
  }
@@ -3920,9 +3920,9 @@ var Sn = {
3920
3920
  setSpacerSize: function() {
3921
3921
  var e = this, n = this.items;
3922
3922
  if (n) {
3923
- var o = this.isBoth(), r = this.isHorizontal(), i = this.getContentPosition(), a = function(l, c, u) {
3923
+ var o = this.isBoth(), r = this.isHorizontal(), i = this.getContentPosition(), a = function(l, u, c) {
3924
3924
  var p = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : 0;
3925
- return e.spacerStyle = Se(Se({}, e.spacerStyle), bn({}, "".concat(l), (c || []).length * u + p + "px"));
3925
+ return e.spacerStyle = we(we({}, e.spacerStyle), bn({}, "".concat(l), (u || []).length * c + p + "px"));
3926
3926
  };
3927
3927
  o ? (a("height", n, this.itemSize[0], i.y), a("width", this.columns || n[1], this.itemSize[1], i.x)) : r ? a("width", this.columns || n, this.itemSize, i.x) : a("height", n, this.itemSize, i.y);
3928
3928
  }
@@ -3930,12 +3930,12 @@ var Sn = {
3930
3930
  setContentPosition: function(e) {
3931
3931
  var n = this;
3932
3932
  if (this.content && !this.appendOnly) {
3933
- var o = this.isBoth(), r = this.isHorizontal(), i = e ? e.first : this.first, a = function(u, p) {
3934
- return u * p;
3933
+ var o = this.isBoth(), r = this.isHorizontal(), i = e ? e.first : this.first, a = function(c, p) {
3934
+ return c * p;
3935
3935
  }, s = function() {
3936
- var u = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 0, p = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0;
3937
- return n.contentStyle = Se(Se({}, n.contentStyle), {
3938
- transform: "translate3d(".concat(u, "px, ").concat(p, "px, 0)")
3936
+ var c = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 0, p = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0;
3937
+ return n.contentStyle = we(we({}, n.contentStyle), {
3938
+ transform: "translate3d(".concat(c, "px, ").concat(p, "px, 0)")
3939
3939
  });
3940
3940
  };
3941
3941
  if (o)
@@ -3951,9 +3951,9 @@ var Sn = {
3951
3951
  return _ ? _ > B ? _ - B : _ : 0;
3952
3952
  }, l = function(_, B) {
3953
3953
  return Math.floor(_ / (B || _));
3954
- }, c = function(_, B, te, ne, H, G) {
3954
+ }, u = function(_, B, te, ne, H, G) {
3955
3955
  return _ <= H ? H : G ? te - ne - H : B + H - 1;
3956
- }, u = function(_, B, te, ne, H, G, oe) {
3956
+ }, c = function(_, B, te, ne, H, G, oe) {
3957
3957
  return _ <= G ? 0 : Math.max(0, oe ? _ < B ? te : _ - G : _ > B ? te : _ - 2 * G);
3958
3958
  }, p = function(_, B, te, ne, H, G) {
3959
3959
  var oe = B + ne + 2 * H;
@@ -3969,12 +3969,12 @@ var Sn = {
3969
3969
  rows: l(d, this.itemSize[0]),
3970
3970
  cols: l(h, this.itemSize[1])
3971
3971
  }, M = {
3972
- rows: c(w.rows, this.first.rows, this.last.rows, this.numItemsInViewport.rows, this.d_numToleratedItems[0], f),
3973
- cols: c(w.cols, this.first.cols, this.last.cols, this.numItemsInViewport.cols, this.d_numToleratedItems[1], S)
3972
+ rows: u(w.rows, this.first.rows, this.last.rows, this.numItemsInViewport.rows, this.d_numToleratedItems[0], f),
3973
+ cols: u(w.cols, this.first.cols, this.last.cols, this.numItemsInViewport.cols, this.d_numToleratedItems[1], S)
3974
3974
  };
3975
3975
  m = {
3976
- rows: u(w.rows, M.rows, this.first.rows, this.last.rows, this.numItemsInViewport.rows, this.d_numToleratedItems[0], f),
3977
- cols: u(w.cols, M.cols, this.first.cols, this.last.cols, this.numItemsInViewport.cols, this.d_numToleratedItems[1], S)
3976
+ rows: c(w.rows, M.rows, this.first.rows, this.last.rows, this.numItemsInViewport.rows, this.d_numToleratedItems[0], f),
3977
+ cols: c(w.cols, M.cols, this.first.cols, this.last.cols, this.numItemsInViewport.cols, this.d_numToleratedItems[1], S)
3978
3978
  }, v = {
3979
3979
  rows: p(w.rows, m.rows, this.last.rows, this.numItemsInViewport.rows, this.d_numToleratedItems[0]),
3980
3980
  cols: p(w.cols, m.cols, this.last.cols, this.numItemsInViewport.cols, this.d_numToleratedItems[1], !0)
@@ -3986,8 +3986,8 @@ var Sn = {
3986
3986
  } else {
3987
3987
  var E = i ? h : d, N = this.lastScrollPos <= E;
3988
3988
  if (!this.appendOnly || this.appendOnly && N) {
3989
- var D = l(E, this.itemSize), R = c(D, this.first, this.last, this.numItemsInViewport, this.d_numToleratedItems, N);
3990
- m = u(D, R, this.first, this.last, this.numItemsInViewport, this.d_numToleratedItems, N), v = p(D, m, this.last, this.numItemsInViewport, this.d_numToleratedItems), b = m !== this.first || v !== this.last || this.isRangeChanged, O = E;
3989
+ var D = l(E, this.itemSize), R = u(D, this.first, this.last, this.numItemsInViewport, this.d_numToleratedItems, N);
3990
+ m = c(D, R, this.first, this.last, this.numItemsInViewport, this.d_numToleratedItems, N), v = p(D, m, this.last, this.numItemsInViewport, this.d_numToleratedItems), b = m !== this.first || v !== this.last || this.isRangeChanged, O = E;
3991
3991
  }
3992
3992
  }
3993
3993
  return {
@@ -4005,11 +4005,11 @@ var Sn = {
4005
4005
  last: r
4006
4006
  };
4007
4007
  if (this.setContentPosition(s), this.first = o, this.last = r, this.lastScrollPos = a, this.$emit("scroll-index-change", s), this.lazy && this.isPageChanged(o)) {
4008
- var l, c, u = {
4008
+ var l, u, c = {
4009
4009
  first: this.step ? Math.min(this.getPageByFirst(o) * this.step, (((l = this.items) === null || l === void 0 ? void 0 : l.length) || 0) - this.step) : o,
4010
- last: Math.min(this.step ? (this.getPageByFirst(o) + 1) * this.step : r, ((c = this.items) === null || c === void 0 ? void 0 : c.length) || 0)
4011
- }, p = this.lazyLoadState.first !== u.first || this.lazyLoadState.last !== u.last;
4012
- p && this.$emit("lazy-load", u), this.lazyLoadState = u;
4010
+ last: Math.min(this.step ? (this.getPageByFirst(o) + 1) * this.step : r, ((u = this.items) === null || u === void 0 ? void 0 : u.length) || 0)
4011
+ }, p = this.lazyLoadState.first !== c.first || this.lazyLoadState.last !== c.last;
4012
+ p && this.$emit("lazy-load", c), this.lazyLoadState = c;
4013
4013
  }
4014
4014
  }
4015
4015
  },
@@ -4032,8 +4032,8 @@ var Sn = {
4032
4032
  var e = this;
4033
4033
  this.resizeTimeout && clearTimeout(this.resizeTimeout), this.resizeTimeout = setTimeout(function() {
4034
4034
  if (bt(e.element)) {
4035
- var n = e.isBoth(), o = e.isVertical(), r = e.isHorizontal(), i = [de(e.element), ue(e.element)], a = i[0], s = i[1], l = a !== e.defaultWidth, c = s !== e.defaultHeight, u = n ? l || c : r ? l : o ? c : !1;
4036
- u && (e.d_numToleratedItems = e.numToleratedItems, e.defaultWidth = a, e.defaultHeight = s, e.defaultContentWidth = de(e.content), e.defaultContentHeight = ue(e.content), e.init());
4035
+ var n = e.isBoth(), o = e.isVertical(), r = e.isHorizontal(), i = [de(e.element), ue(e.element)], a = i[0], s = i[1], l = a !== e.defaultWidth, u = s !== e.defaultHeight, c = n ? l || u : r ? l : o ? u : !1;
4036
+ c && (e.d_numToleratedItems = e.numToleratedItems, e.defaultWidth = a, e.defaultHeight = s, e.defaultContentWidth = de(e.content), e.defaultContentHeight = ue(e.content), e.init());
4037
4037
  }
4038
4038
  }, this.resizeDelay);
4039
4039
  },
@@ -4056,7 +4056,7 @@ var Sn = {
4056
4056
  },
4057
4057
  getLoaderOptions: function(e, n) {
4058
4058
  var o = this.loaderArr.length;
4059
- return Se({
4059
+ return we({
4060
4060
  index: e,
4061
4061
  count: o,
4062
4062
  first: e === 0,
@@ -4728,14 +4728,14 @@ var wn = {
4728
4728
  },
4729
4729
  watch: {
4730
4730
  "$attrs.id": function(e) {
4731
- this.id = e || ve();
4731
+ this.id = e || ge();
4732
4732
  },
4733
4733
  suggestions: function() {
4734
4734
  this.searching && (this.show(), this.focusedOptionIndex = this.overlayVisible && this.autoOptionFocus ? this.findFirstFocusedOptionIndex() : -1, this.searching = !1), this.autoUpdateModel();
4735
4735
  }
4736
4736
  },
4737
4737
  mounted: function() {
4738
- this.id = this.id || ve(), this.autoUpdateModel();
4738
+ this.id = this.id || ge(), this.autoUpdateModel();
4739
4739
  },
4740
4740
  updated: function() {
4741
4741
  this.overlayVisible && this.alignOverlay();
@@ -5305,7 +5305,7 @@ function Vr(t, e) {
5305
5305
  }
5306
5306
  var zr = ["aria-activedescendant"], Mr = ["id", "aria-label", "aria-setsize", "aria-posinset"], Er = ["id", "placeholder", "tabindex", "disabled", "aria-label", "aria-labelledby", "aria-expanded", "aria-controls", "aria-activedescendant", "aria-invalid"], jr = ["disabled", "aria-expanded", "aria-controls"], Dr = ["id"], Br = ["id", "aria-label"], Nr = ["id"], Rr = ["id", "aria-label", "aria-selected", "aria-disabled", "aria-setsize", "aria-posinset", "onClick", "onMousemove", "data-p-selected", "data-p-focus", "data-p-disabled"];
5307
5307
  function Kr(t, e, n, o, r, i) {
5308
- var a = re("InputText"), s = re("Chip"), l = re("SpinnerIcon"), c = re("VirtualScroller"), u = re("Portal"), p = Wt("ripple");
5308
+ var a = re("InputText"), s = re("Chip"), l = re("SpinnerIcon"), u = re("VirtualScroller"), c = re("Portal"), p = Wt("ripple");
5309
5309
  return g(), $("div", y({
5310
5310
  ref: "container",
5311
5311
  class: t.cx("root"),
@@ -5486,7 +5486,7 @@ function Kr(t, e, n, o, r, i) {
5486
5486
  class: "p-hidden-accessible"
5487
5487
  }, t.ptm("hiddenSearchResult"), {
5488
5488
  "data-p-hidden-accessible": !0
5489
- }), J(i.searchResultMessageText), 17), q(u, {
5489
+ }), J(i.searchResultMessageText), 17), q(c, {
5490
5490
  appendTo: t.appendTo
5491
5491
  }, {
5492
5492
  default: z(function() {
@@ -5515,7 +5515,7 @@ function Kr(t, e, n, o, r, i) {
5515
5515
  }, t.ptm("overlay")), [k(t.$slots, "header", {
5516
5516
  value: t.modelValue,
5517
5517
  suggestions: i.visibleOptions
5518
- }), q(c, y({
5518
+ }), q(u, y({
5519
5519
  ref: i.virtualScrollerRef
5520
5520
  }, t.virtualScrollerOptions, {
5521
5521
  style: {
@@ -5790,32 +5790,35 @@ const Zr = ["data-variant"], Yr = { class: "ris-label1-regular" }, Xr = {
5790
5790
  modelModifiers: {}
5791
5791
  }),
5792
5792
  emits: ["update:modelValue"],
5793
- setup(t) {
5794
- const e = t, n = Zt(t, "modelValue"), o = (a) => a.id === n.value, r = Oe(e.initialLabel ?? n.value), i = (a) => {
5795
- typeof a == "string" ? r.value = a : a && a.label && (r.value = a.label), a === "" && (n.value = void 0);
5796
- };
5797
- return (a, s) => (g(), x(Y(wn), y(a.$attrs, {
5798
- suggestions: e.suggestions,
5799
- "model-value": r.value,
5800
- "onUpdate:modelValue": i,
5801
- onOptionSelect: s[0] || (s[0] = (l) => n.value = l.value.id),
5802
- dropdown: e.dropdown,
5803
- dropdownMode: e.dropdownMode,
5804
- disabled: e.disabled,
5805
- forceSelection: e.forceSelection,
5806
- placeholder: e.placeholder,
5807
- ariaLabel: e.ariaLabel,
5808
- ariaLabelledby: e.ariaLabelledby,
5809
- delay: e.delay,
5810
- completeOnFocus: e.completeOnFocus,
5811
- typeahead: e.typeahead,
5812
- scrollHeight: e.scrollHeight,
5813
- loading: e.loading,
5814
- invalid: e.invalid,
5815
- autoOptionFocus: e.autoOptionFocus,
5816
- selectOnFocus: e.selectOnFocus,
5793
+ setup(t, { expose: e }) {
5794
+ const n = t, o = Zt(t, "modelValue"), r = (l) => l.id === o.value, i = ve(n.initialLabel ?? o.value), a = (l) => {
5795
+ typeof l == "string" ? i.value = l : l && l.label && (i.value = l.label), l === "" && (o.value = void 0);
5796
+ }, s = ve(null);
5797
+ return e({ autoCompleteRef: s }), (l, u) => (g(), x(Y(wn), y({
5798
+ ref_key: "autoCompleteRef",
5799
+ ref: s
5800
+ }, l.$attrs, {
5801
+ suggestions: n.suggestions,
5802
+ "model-value": i.value,
5803
+ "onUpdate:modelValue": a,
5804
+ onOptionSelect: u[0] || (u[0] = (c) => o.value = c.value.id),
5805
+ dropdown: n.dropdown,
5806
+ dropdownMode: n.dropdownMode,
5807
+ disabled: n.disabled,
5808
+ forceSelection: n.forceSelection,
5809
+ placeholder: n.placeholder,
5810
+ ariaLabel: n.ariaLabel,
5811
+ ariaLabelledby: n.ariaLabelledby,
5812
+ delay: n.delay,
5813
+ completeOnFocus: n.completeOnFocus,
5814
+ typeahead: n.typeahead,
5815
+ scrollHeight: n.scrollHeight,
5816
+ loading: n.loading,
5817
+ invalid: n.invalid,
5818
+ autoOptionFocus: n.autoOptionFocus,
5819
+ selectOnFocus: n.selectOnFocus,
5817
5820
  fluid: !0,
5818
- optionDisabled: e.optionDisabled,
5821
+ optionDisabled: n.optionDisabled,
5819
5822
  "option-label": "label",
5820
5823
  "data-key": "value"
5821
5824
  }), {
@@ -5825,13 +5828,13 @@ const Zr = ["data-variant"], Yr = { class: "ris-label1-regular" }, Xr = {
5825
5828
  dropdownicon: z(() => [
5826
5829
  q(Y(Gi))
5827
5830
  ]),
5828
- option: z((l) => [
5831
+ option: z((c) => [
5829
5832
  L("div", {
5830
- "data-variant": o(l.option) && "active",
5833
+ "data-variant": r(c.option) && "active",
5831
5834
  class: "flex min-h-48 flex-col justify-center gap-2 border-l-4 border-transparent px-12 py-10 data-[variant=active]:border-blue-800 data-[variant=active]:bg-blue-200"
5832
5835
  }, [
5833
- L("div", Yr, J(l.option.label), 1),
5834
- l.option.secondaryLabel ? (g(), $("div", Xr, J(l.option.secondaryLabel), 1)) : j("", !0)
5836
+ L("div", Yr, J(c.option.label), 1),
5837
+ c.option.secondaryLabel ? (g(), $("div", Xr, J(c.option.secondaryLabel), 1)) : j("", !0)
5835
5838
  ], 8, Zr)
5836
5839
  ]),
5837
5840
  _: 1