@robosophy/ui-vue 1.0.2 → 1.0.4

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.js CHANGED
@@ -1,7 +1,7 @@
1
1
  // AUTO-GENERATED FILE. DO NOT EDIT MANUALLY.
2
2
  import "./index.css";
3
- import { ref as oe, readonly as Mn, getCurrentInstance as $t, onMounted as mt, nextTick as Gt, watch as qe, useId as Bn, mergeProps as L, openBlock as v, createElementBlock as $, createElementVNode as T, renderSlot as M, createTextVNode as bt, toDisplayString as U, resolveComponent as Qe, resolveDirective as Yt, withDirectives as Xt, createBlock as H, resolveDynamicComponent as at, withCtx as re, createCommentVNode as E, normalizeClass as Q, defineComponent as ht, computed as N, normalizeStyle as vt, onBeforeUnmount as qt, createVNode as te, unref as R, withModifiers as Ke, Fragment as le, renderList as Oe, Teleport as Dn, Transition as Rn } from "vue";
4
- function ve(...e) {
3
+ import { ref as ne, readonly as Mn, getCurrentInstance as kt, onMounted as mt, nextTick as Zt, watch as qe, useId as Bn, mergeProps as j, openBlock as h, createElementBlock as k, createElementVNode as I, renderSlot as B, createTextVNode as bt, toDisplayString as D, resolveComponent as Qe, resolveDirective as Gt, withDirectives as Yt, createBlock as K, resolveDynamicComponent as at, withCtx as be, createCommentVNode as N, normalizeClass as q, defineComponent as ht, computed as V, normalizeStyle as Xt, onBeforeUnmount as qt, createVNode as de, unref as H, withModifiers as Ke, Fragment as ie, renderList as we, Teleport as Dn, Transition as Rn } from "vue";
4
+ function he(...e) {
5
5
  if (e) {
6
6
  let t = [];
7
7
  for (let n = 0; n < e.length; n++) {
@@ -10,7 +10,7 @@ function ve(...e) {
10
10
  let r = typeof o;
11
11
  if (r === "string" || r === "number") t.push(o);
12
12
  else if (r === "object") {
13
- let i = Array.isArray(o) ? [ve(...o)] : Object.entries(o).map(([s, l]) => l ? s : void 0);
13
+ let i = Array.isArray(o) ? [he(...o)] : Object.entries(o).map(([s, l]) => l ? s : void 0);
14
14
  t = i.length ? t.concat(i.filter((s) => !!s)) : t;
15
15
  }
16
16
  }
@@ -36,7 +36,7 @@ function nt(e, t) {
36
36
  [t].flat().filter(Boolean).forEach((o) => o.split(" ").forEach(n));
37
37
  }
38
38
  }
39
- function wt(e) {
39
+ function $t(e) {
40
40
  for (let t of document?.styleSheets) try {
41
41
  for (let n of t?.cssRules) for (let o of n?.style) if (e.test(o)) return { name: o, value: n.style.getPropertyValue(o).trim() };
42
42
  } catch {
@@ -72,8 +72,8 @@ function Gn(e) {
72
72
  function Yn(e, t, n = !0) {
73
73
  var o, r, i, s;
74
74
  if (e) {
75
- let l = e.offsetParent ? { width: e.offsetWidth, height: e.offsetHeight } : Hn(e), a = l.height, u = l.width, d = t.offsetHeight, c = t.offsetWidth, p = t.getBoundingClientRect(), f = Zn(), h = Fn(), y = Wn(), g, _, w = "top";
76
- p.top + d + a > y.height ? (g = p.top + f - a, w = "bottom", g < 0 && (g = f)) : g = d + p.top + f, p.left + u > y.width ? _ = Math.max(0, p.left + h + c - u) : _ = p.left + h, Gn(e) ? e.style.insetInlineEnd = _ + "px" : e.style.insetInlineStart = _ + "px", e.style.top = g + "px", e.style.transformOrigin = w, n && (e.style.marginTop = w === "bottom" ? `calc(${(r = (o = wt(/-anchor-gutter$/)) == null ? void 0 : o.value) != null ? r : "2px"} * -1)` : (s = (i = wt(/-anchor-gutter$/)) == null ? void 0 : i.value) != null ? s : "");
75
+ let l = e.offsetParent ? { width: e.offsetWidth, height: e.offsetHeight } : Hn(e), a = l.height, u = l.width, d = t.offsetHeight, c = t.offsetWidth, p = t.getBoundingClientRect(), f = Zn(), b = Fn(), y = Wn(), v, _, w = "top";
76
+ p.top + d + a > y.height ? (v = p.top + f - a, w = "bottom", v < 0 && (v = f)) : v = d + p.top + f, p.left + u > y.width ? _ = Math.max(0, p.left + b + c - u) : _ = p.left + b, Gn(e) ? e.style.insetInlineEnd = _ + "px" : e.style.insetInlineStart = _ + "px", e.style.top = v + "px", e.style.transformOrigin = w, n && (e.style.marginTop = w === "bottom" ? `calc(${(r = (o = $t(/-anchor-gutter$/)) == null ? void 0 : o.value) != null ? r : "2px"} * -1)` : (s = (i = $t(/-anchor-gutter$/)) == null ? void 0 : i.value) != null ? s : "");
77
77
  }
78
78
  }
79
79
  function Xn(e, t) {
@@ -92,11 +92,11 @@ function Qt(e) {
92
92
  function qn(e) {
93
93
  return !!(e !== null && typeof e < "u" && e.nodeName && Qt(e));
94
94
  }
95
- function Pe(e) {
95
+ function Oe(e) {
96
96
  return typeof Element < "u" ? e instanceof Element : e !== null && typeof e == "object" && e.nodeType === 1 && typeof e.nodeName == "string";
97
97
  }
98
98
  function Je(e, t = {}) {
99
- if (Pe(e)) {
99
+ if (Oe(e)) {
100
100
  let n = (o, r) => {
101
101
  var i, s;
102
102
  let l = (i = e?.$attrs) != null && i[o] ? [(s = e?.$attrs) == null ? void 0 : s[o]] : [];
@@ -127,21 +127,21 @@ function Qn(e, t = {}, ...n) {
127
127
  }
128
128
  }
129
129
  function He(e, t) {
130
- return Pe(e) ? Array.from(e.querySelectorAll(t)) : [];
130
+ return Oe(e) ? Array.from(e.querySelectorAll(t)) : [];
131
131
  }
132
132
  function et(e, t) {
133
- return Pe(e) ? e.matches(t) ? e : e.querySelector(t) : null;
133
+ return Oe(e) ? e.matches(t) ? e : e.querySelector(t) : null;
134
134
  }
135
135
  function We(e, t) {
136
136
  e && document.activeElement !== e && e.focus(t);
137
137
  }
138
138
  function Jn(e, t) {
139
- if (Pe(e)) {
139
+ if (Oe(e)) {
140
140
  let n = e.getAttribute(t);
141
141
  return isNaN(n) ? n === "true" || n === "false" ? n === "true" : n : +n;
142
142
  }
143
143
  }
144
- function Ot(e) {
144
+ function wt(e) {
145
145
  if (e) {
146
146
  let t = e.offsetHeight, n = getComputedStyle(e);
147
147
  return t -= parseFloat(n.paddingTop) + parseFloat(n.paddingBottom) + parseFloat(n.borderTopWidth) + parseFloat(n.borderBottomWidth), t;
@@ -187,7 +187,7 @@ function no(e) {
187
187
  }
188
188
  return t;
189
189
  }
190
- function Pt(e) {
190
+ function Ot(e) {
191
191
  if (e) {
192
192
  let t = e.offsetWidth, n = getComputedStyle(e);
193
193
  return t -= parseFloat(n.paddingLeft) + parseFloat(n.paddingRight) + parseFloat(n.borderLeftWidth) + parseFloat(n.borderRightWidth), t;
@@ -201,9 +201,9 @@ function oo() {
201
201
  return "ontouchstart" in window || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0;
202
202
  }
203
203
  function ro(e, t = "", n) {
204
- Pe(e) && n !== null && n !== void 0 && e.setAttribute(t, n);
204
+ Oe(e) && n !== null && n !== void 0 && e.setAttribute(t, n);
205
205
  }
206
- function gt() {
206
+ function vt() {
207
207
  let e = /* @__PURE__ */ new Map();
208
208
  return { on(t, n) {
209
209
  let o = e.get(t);
@@ -220,45 +220,45 @@ function gt() {
220
220
  e.clear();
221
221
  } };
222
222
  }
223
- function _e(e) {
223
+ function ye(e) {
224
224
  return e == null || e === "" || Array.isArray(e) && e.length === 0 || !(e instanceof Date) && typeof e == "object" && Object.keys(e).length === 0;
225
225
  }
226
- function yt(e) {
226
+ function gt(e) {
227
227
  return typeof e == "function" && "call" in e && "apply" in e;
228
228
  }
229
- function A(e) {
230
- return !_e(e);
229
+ function E(e) {
230
+ return !ye(e);
231
231
  }
232
- function be(e, t = !0) {
232
+ function fe(e, t = !0) {
233
233
  return e instanceof Object && e.constructor === Object && (t || Object.keys(e).length !== 0);
234
234
  }
235
- function Y(e, ...t) {
236
- return yt(e) ? e(...t) : e;
235
+ function Z(e, ...t) {
236
+ return gt(e) ? e(...t) : e;
237
237
  }
238
- function X(e, t = !0) {
238
+ function G(e, t = !0) {
239
239
  return typeof e == "string" && (t || e !== "");
240
240
  }
241
- function ue(e) {
242
- return X(e) ? e.replace(/(-|_)/g, "").toLowerCase() : e;
241
+ function ae(e) {
242
+ return G(e) ? e.replace(/(-|_)/g, "").toLowerCase() : e;
243
243
  }
244
- function _t(e, t = "", n = {}) {
245
- let o = ue(t).split("."), r = o.shift();
244
+ function yt(e, t = "", n = {}) {
245
+ let o = ae(t).split("."), r = o.shift();
246
246
  if (r) {
247
- if (be(e)) {
248
- let i = Object.keys(e).find((s) => ue(s) === r) || "";
249
- return _t(Y(e[i], n), o.join("."), n);
247
+ if (fe(e)) {
248
+ let i = Object.keys(e).find((s) => ae(s) === r) || "";
249
+ return yt(Z(e[i], n), o.join("."), n);
250
250
  }
251
251
  return;
252
252
  }
253
- return Y(e, n);
253
+ return Z(e, n);
254
254
  }
255
255
  function tn(e, t = !0) {
256
256
  return Array.isArray(e) && (t || e.length !== 0);
257
257
  }
258
258
  function io(e) {
259
- return A(e) && !isNaN(e);
259
+ return E(e) && !isNaN(e);
260
260
  }
261
- function ge(e, t) {
261
+ function ve(e, t) {
262
262
  if (t) {
263
263
  let n = t.test(e);
264
264
  return t.lastIndex = 0, n;
@@ -269,10 +269,10 @@ function Te(e) {
269
269
  return e && e.replace(/\/\*(?:(?!\*\/)[\s\S])*\*\/|[\r\n\t]+/g, "").replace(/ {2,}/g, " ").replace(/ ([{:}]) /g, "$1").replace(/([;,]) /g, "$1").replace(/ !/g, "!").replace(/: /g, ":").trim();
270
270
  }
271
271
  function ao(e) {
272
- return X(e, !1) ? e[0].toUpperCase() + e.slice(1) : e;
272
+ return G(e, !1) ? e[0].toUpperCase() + e.slice(1) : e;
273
273
  }
274
274
  function nn(e) {
275
- return X(e) ? e.replace(/(_)/g, "-").replace(/([a-z])([A-Z])/g, "$1-$2").toLowerCase() : e;
275
+ return G(e) ? e.replace(/(_)/g, "-").replace(/([a-z])([A-Z])/g, "$1-$2").toLowerCase() : e;
276
276
  }
277
277
  var Fe = {};
278
278
  function so(e = "pui_id_") {
@@ -291,27 +291,27 @@ function lo() {
291
291
  s && (n(i(s)), s.style.zIndex = "");
292
292
  }, getCurrent: (s) => o(s) };
293
293
  }
294
- var ot = lo(), uo = Object.defineProperty, co = Object.defineProperties, po = Object.getOwnPropertyDescriptors, tt = Object.getOwnPropertySymbols, on = Object.prototype.hasOwnProperty, rn = Object.prototype.propertyIsEnumerable, xt = (e, t, n) => t in e ? uo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, ne = (e, t) => {
295
- for (var n in t || (t = {})) on.call(t, n) && xt(e, n, t[n]);
296
- if (tt) for (var n of tt(t)) rn.call(t, n) && xt(e, n, t[n]);
294
+ var ot = lo(), uo = Object.defineProperty, co = Object.defineProperties, po = Object.getOwnPropertyDescriptors, tt = Object.getOwnPropertySymbols, on = Object.prototype.hasOwnProperty, rn = Object.prototype.propertyIsEnumerable, Pt = (e, t, n) => t in e ? uo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, te = (e, t) => {
295
+ for (var n in t || (t = {})) on.call(t, n) && Pt(e, n, t[n]);
296
+ if (tt) for (var n of tt(t)) rn.call(t, n) && Pt(e, n, t[n]);
297
297
  return e;
298
- }, rt = (e, t) => co(e, po(t)), pe = (e, t) => {
298
+ }, rt = (e, t) => co(e, po(t)), ue = (e, t) => {
299
299
  var n = {};
300
300
  for (var o in e) on.call(e, o) && t.indexOf(o) < 0 && (n[o] = e[o]);
301
301
  if (e != null && tt) for (var o of tt(e)) t.indexOf(o) < 0 && rn.call(e, o) && (n[o] = e[o]);
302
302
  return n;
303
- }, fo = gt(), Z = fo, Le = /{([^}]*)}/g, an = /(\d+\s+[\+\-\*\/]\s+\d+)/g, sn = /var\([^)]+\)/g;
304
- function Ct(e) {
305
- return X(e) ? e.replace(/[A-Z]/g, (t, n) => n === 0 ? t : "." + t.toLowerCase()).toLowerCase() : e;
303
+ }, fo = vt(), W = fo, Le = /{([^}]*)}/g, an = /(\d+\s+[\+\-\*\/]\s+\d+)/g, sn = /var\([^)]+\)/g;
304
+ function xt(e) {
305
+ return G(e) ? e.replace(/[A-Z]/g, (t, n) => n === 0 ? t : "." + t.toLowerCase()).toLowerCase() : e;
306
306
  }
307
307
  function mo(e) {
308
- return be(e) && e.hasOwnProperty("$value") && e.hasOwnProperty("$type") ? e.$value : e;
308
+ return fe(e) && e.hasOwnProperty("$value") && e.hasOwnProperty("$type") ? e.$value : e;
309
309
  }
310
310
  function bo(e) {
311
311
  return e.replaceAll(/ /g, "").replace(/[^\w]/g, "-");
312
312
  }
313
313
  function lt(e = "", t = "") {
314
- return bo(`${X(e, !1) && X(t, !1) ? `${e}-` : e}${t}`);
314
+ return bo(`${G(e, !1) && G(t, !1) ? `${e}-` : e}${t}`);
315
315
  }
316
316
  function ln(e = "", t = "") {
317
317
  return `--${lt(e, t)}`;
@@ -321,23 +321,23 @@ function ho(e = "") {
321
321
  return (t + n) % 2 !== 0;
322
322
  }
323
323
  function un(e, t = "", n = "", o = [], r) {
324
- if (X(e)) {
324
+ if (G(e)) {
325
325
  let i = e.trim();
326
326
  if (ho(i)) return;
327
- if (ge(i, Le)) {
327
+ if (ve(i, Le)) {
328
328
  let s = i.replaceAll(Le, (l) => {
329
- let a = l.replace(/{|}/g, "").split(".").filter((u) => !o.some((d) => ge(u, d)));
330
- return `var(${ln(n, nn(a.join("-")))}${A(r) ? `, ${r}` : ""})`;
329
+ let a = l.replace(/{|}/g, "").split(".").filter((u) => !o.some((d) => ve(u, d)));
330
+ return `var(${ln(n, nn(a.join("-")))}${E(r) ? `, ${r}` : ""})`;
331
331
  });
332
- return ge(s.replace(sn, "0"), an) ? `calc(${s})` : s;
332
+ return ve(s.replace(sn, "0"), an) ? `calc(${s})` : s;
333
333
  }
334
334
  return i;
335
335
  } else if (io(e)) return e;
336
336
  }
337
337
  function vo(e, t, n) {
338
- X(t, !1) && e.push(`${t}:${n};`);
338
+ G(t, !1) && e.push(`${t}:${n};`);
339
339
  }
340
- function we(e, t) {
340
+ function $e(e, t) {
341
341
  return e ? `${e}{${t}}` : "";
342
342
  }
343
343
  function dn(e, t) {
@@ -347,8 +347,8 @@ function dn(e, t) {
347
347
  for (; u <= s.length; ) {
348
348
  let f = s[u];
349
349
  if ((f === '"' || f === "'" || f === "`") && s[u - 1] !== "\\" && (c = c === f ? null : f), !c && (f === "(" && p++, f === ")" && p--, (f === "," || u === s.length) && p === 0)) {
350
- let h = d.trim();
351
- h.startsWith("dt(") ? a.push(dn(h, l)) : a.push(o(h)), d = "", u++;
350
+ let b = d.trim();
351
+ b.startsWith("dt(") ? a.push(dn(b, l)) : a.push(o(b)), d = "", u++;
352
352
  continue;
353
353
  }
354
354
  f !== void 0 && (d += f), u++;
@@ -374,10 +374,10 @@ function dn(e, t) {
374
374
  }
375
375
  return e;
376
376
  }
377
- var ye = (...e) => go(j.getTheme(), ...e), go = (e = {}, t, n, o) => {
377
+ var ge = (...e) => go(A.getTheme(), ...e), go = (e = {}, t, n, o) => {
378
378
  if (t) {
379
- let { variable: r, options: i } = j.defaults || {}, { prefix: s, transform: l } = e?.options || i || {}, a = ge(t, Le) ? t : `{${t}}`;
380
- return o === "value" || _e(o) && l === "strict" ? j.getTokenValue(t) : un(a, void 0, s, [r.excludedKeyRegex], n);
379
+ let { variable: r, options: i } = A.defaults || {}, { prefix: s, transform: l } = e?.options || i || {}, a = ve(t, Le) ? t : `{${t}}`;
380
+ return o === "value" || ye(o) && l === "strict" ? A.getTokenValue(t) : un(a, void 0, s, [r.excludedKeyRegex], n);
381
381
  }
382
382
  return "";
383
383
  };
@@ -385,29 +385,29 @@ function Ze(e, ...t) {
385
385
  if (e instanceof Array) {
386
386
  let n = e.reduce((o, r, i) => {
387
387
  var s;
388
- return o + r + ((s = Y(t[i], { dt: ye })) != null ? s : "");
388
+ return o + r + ((s = Z(t[i], { dt: ge })) != null ? s : "");
389
389
  }, "");
390
- return dn(n, ye);
390
+ return dn(n, ge);
391
391
  }
392
- return Y(e, { dt: ye });
392
+ return Z(e, { dt: ge });
393
393
  }
394
394
  function yo(e, t = {}) {
395
- let n = j.defaults.variable, { prefix: o = n.prefix, selector: r = n.selector, excludedKeyRegex: i = n.excludedKeyRegex } = t, s = [], l = [], a = [{ node: e, path: o }];
395
+ let n = A.defaults.variable, { prefix: o = n.prefix, selector: r = n.selector, excludedKeyRegex: i = n.excludedKeyRegex } = t, s = [], l = [], a = [{ node: e, path: o }];
396
396
  for (; a.length; ) {
397
397
  let { node: d, path: c } = a.pop();
398
398
  for (let p in d) {
399
- let f = d[p], h = mo(f), y = ge(p, i) ? lt(c) : lt(c, nn(p));
400
- if (be(h)) a.push({ node: h, path: y });
399
+ let f = d[p], b = mo(f), y = ve(p, i) ? lt(c) : lt(c, nn(p));
400
+ if (fe(b)) a.push({ node: b, path: y });
401
401
  else {
402
- let g = ln(y), _ = un(h, y, o, [i]);
403
- vo(l, g, _);
402
+ let v = ln(y), _ = un(b, y, o, [i]);
403
+ vo(l, v, _);
404
404
  let w = y;
405
405
  o && w.startsWith(o + "-") && (w = w.slice(o.length + 1)), s.push(w.replace(/-/g, "."));
406
406
  }
407
407
  }
408
408
  }
409
409
  let u = l.join("");
410
- return { value: l, tokens: s, declarations: u, css: we(r, u) };
410
+ return { value: l, tokens: s, declarations: u, css: $e(r, u) };
411
411
  }
412
412
  var J = { regex: { rules: { class: { pattern: /^\.([a-zA-Z][\w-]*)$/, resolve(e) {
413
413
  return { type: "class", selector: e, matched: this.pattern.test(e.trim()) };
@@ -429,22 +429,22 @@ var J = { regex: { rules: { class: { pattern: /^\.([a-zA-Z][\w-]*)$/, resolve(e)
429
429
  return yo(e, { prefix: t?.prefix });
430
430
  }, getCommon({ name: e = "", theme: t = {}, params: n, set: o, defaults: r }) {
431
431
  var i, s, l, a, u, d, c;
432
- let { preset: p, options: f } = t, h, y, g, _, w, I, m;
433
- if (A(p) && f.transform !== "strict") {
434
- let { primitive: k, semantic: z, extend: B } = p, W = z || {}, { colorScheme: F } = W, q = pe(W, ["colorScheme"]), S = B || {}, { colorScheme: V } = S, b = pe(S, ["colorScheme"]), D = F || {}, { dark: x } = D, ie = pe(D, ["dark"]), de = V || {}, { dark: Se } = de, ke = pe(de, ["dark"]), ce = A(k) ? this._toVariables({ primitive: k }, f) : {}, ae = A(q) ? this._toVariables({ semantic: q }, f) : {}, he = A(ie) ? this._toVariables({ light: ie }, f) : {}, Ue = A(x) ? this._toVariables({ dark: x }, f) : {}, $e = A(b) ? this._toVariables({ semantic: b }, f) : {}, St = A(ke) ? this._toVariables({ light: ke }, f) : {}, kt = A(Se) ? this._toVariables({ dark: Se }, f) : {}, [_n, Sn] = [(i = ce.declarations) != null ? i : "", ce.tokens], [kn, $n] = [(s = ae.declarations) != null ? s : "", ae.tokens || []], [wn, On] = [(l = he.declarations) != null ? l : "", he.tokens || []], [Pn, xn] = [(a = Ue.declarations) != null ? a : "", Ue.tokens || []], [Cn, Tn] = [(u = $e.declarations) != null ? u : "", $e.tokens || []], [Ln, In] = [(d = St.declarations) != null ? d : "", St.tokens || []], [jn, An] = [(c = kt.declarations) != null ? c : "", kt.tokens || []];
435
- h = this.transformCSS(e, _n, "light", "variable", f, o, r), y = Sn;
432
+ let { preset: p, options: f } = t, b, y, v, _, w, T, m;
433
+ if (E(p) && f.transform !== "strict") {
434
+ let { primitive: $, semantic: z, extend: M } = p, U = z || {}, { colorScheme: Y } = U, X = ue(U, ["colorScheme"]), S = M || {}, { colorScheme: g } = S, O = ue(S, ["colorScheme"]), x = Y || {}, { dark: Q } = x, ce = ue(x, ["dark"]), se = g || {}, { dark: _e } = se, Se = ue(se, ["dark"]), le = E($) ? this._toVariables({ primitive: $ }, f) : {}, oe = E(X) ? this._toVariables({ semantic: X }, f) : {}, me = E(ce) ? this._toVariables({ light: ce }, f) : {}, Ue = E(Q) ? this._toVariables({ dark: Q }, f) : {}, ke = E(O) ? this._toVariables({ semantic: O }, f) : {}, _t = E(Se) ? this._toVariables({ light: Se }, f) : {}, St = E(_e) ? this._toVariables({ dark: _e }, f) : {}, [_n, Sn] = [(i = le.declarations) != null ? i : "", le.tokens], [kn, $n] = [(s = oe.declarations) != null ? s : "", oe.tokens || []], [wn, On] = [(l = me.declarations) != null ? l : "", me.tokens || []], [Pn, xn] = [(a = Ue.declarations) != null ? a : "", Ue.tokens || []], [Cn, Tn] = [(u = ke.declarations) != null ? u : "", ke.tokens || []], [Ln, In] = [(d = _t.declarations) != null ? d : "", _t.tokens || []], [jn, An] = [(c = St.declarations) != null ? c : "", St.tokens || []];
435
+ b = this.transformCSS(e, _n, "light", "variable", f, o, r), y = Sn;
436
436
  let En = this.transformCSS(e, `${kn}${wn}`, "light", "variable", f, o, r), Nn = this.transformCSS(e, `${Pn}`, "dark", "variable", f, o, r);
437
- g = `${En}${Nn}`, _ = [.../* @__PURE__ */ new Set([...$n, ...On, ...xn])];
437
+ v = `${En}${Nn}`, _ = [.../* @__PURE__ */ new Set([...$n, ...On, ...xn])];
438
438
  let zn = this.transformCSS(e, `${Cn}${Ln}color-scheme:light`, "light", "variable", f, o, r), Vn = this.transformCSS(e, `${jn}color-scheme:dark`, "dark", "variable", f, o, r);
439
- w = `${zn}${Vn}`, I = [.../* @__PURE__ */ new Set([...Tn, ...In, ...An])], m = Y(p.css, { dt: ye });
439
+ w = `${zn}${Vn}`, T = [.../* @__PURE__ */ new Set([...Tn, ...In, ...An])], m = Z(p.css, { dt: ge });
440
440
  }
441
- return { primitive: { css: h, tokens: y }, semantic: { css: g, tokens: _ }, global: { css: w, tokens: I }, style: m };
441
+ return { primitive: { css: b, tokens: y }, semantic: { css: v, tokens: _ }, global: { css: w, tokens: T }, style: m };
442
442
  }, getPreset({ name: e = "", preset: t = {}, options: n, params: o, set: r, defaults: i, selector: s }) {
443
443
  var l, a, u;
444
444
  let d, c, p;
445
- if (A(t) && n.transform !== "strict") {
446
- let f = e.replace("-directive", ""), h = t, { colorScheme: y, extend: g, css: _ } = h, w = pe(h, ["colorScheme", "extend", "css"]), I = g || {}, { colorScheme: m } = I, k = pe(I, ["colorScheme"]), z = y || {}, { dark: B } = z, W = pe(z, ["dark"]), F = m || {}, { dark: q } = F, S = pe(F, ["dark"]), V = A(w) ? this._toVariables({ [f]: ne(ne({}, w), k) }, n) : {}, b = A(W) ? this._toVariables({ [f]: ne(ne({}, W), S) }, n) : {}, D = A(B) ? this._toVariables({ [f]: ne(ne({}, B), q) }, n) : {}, [x, ie] = [(l = V.declarations) != null ? l : "", V.tokens || []], [de, Se] = [(a = b.declarations) != null ? a : "", b.tokens || []], [ke, ce] = [(u = D.declarations) != null ? u : "", D.tokens || []], ae = this.transformCSS(f, `${x}${de}`, "light", "variable", n, r, i, s), he = this.transformCSS(f, ke, "dark", "variable", n, r, i, s);
447
- d = `${ae}${he}`, c = [.../* @__PURE__ */ new Set([...ie, ...Se, ...ce])], p = Y(_, { dt: ye });
445
+ if (E(t) && n.transform !== "strict") {
446
+ let f = e.replace("-directive", ""), b = t, { colorScheme: y, extend: v, css: _ } = b, w = ue(b, ["colorScheme", "extend", "css"]), T = v || {}, { colorScheme: m } = T, $ = ue(T, ["colorScheme"]), z = y || {}, { dark: M } = z, U = ue(z, ["dark"]), Y = m || {}, { dark: X } = Y, S = ue(Y, ["dark"]), g = E(w) ? this._toVariables({ [f]: te(te({}, w), $) }, n) : {}, O = E(U) ? this._toVariables({ [f]: te(te({}, U), S) }, n) : {}, x = E(M) ? this._toVariables({ [f]: te(te({}, M), X) }, n) : {}, [Q, ce] = [(l = g.declarations) != null ? l : "", g.tokens || []], [se, _e] = [(a = O.declarations) != null ? a : "", O.tokens || []], [Se, le] = [(u = x.declarations) != null ? u : "", x.tokens || []], oe = this.transformCSS(f, `${Q}${se}`, "light", "variable", n, r, i, s), me = this.transformCSS(f, Se, "dark", "variable", n, r, i, s);
447
+ d = `${oe}${me}`, c = [.../* @__PURE__ */ new Set([...ce, ..._e, ...le])], p = Z(_, { dt: ge });
448
448
  }
449
449
  return { css: d, tokens: c, style: p };
450
450
  }, getPresetC({ name: e = "", theme: t = {}, params: n, set: o, defaults: r }) {
@@ -462,11 +462,11 @@ var J = { regex: { rules: { class: { pattern: /^\.([a-zA-Z][\w-]*)$/, resolve(e)
462
462
  return this.applyDarkColorScheme(e) ? this.regex.resolve(e.darkModeSelector === !0 ? t.options.darkModeSelector : (n = e.darkModeSelector) != null ? n : t.options.darkModeSelector) : [];
463
463
  }, getLayerOrder(e, t = {}, n, o) {
464
464
  let { cssLayer: r } = t;
465
- return r ? `@layer ${Y(r.order || r.name || "primeui", n)}` : "";
465
+ return r ? `@layer ${Z(r.order || r.name || "primeui", n)}` : "";
466
466
  }, getCommonStyleSheet({ name: e = "", theme: t = {}, params: n, props: o = {}, set: r, defaults: i }) {
467
467
  let s = this.getCommon({ name: e, theme: t, params: n, set: r, defaults: i }), l = Object.entries(o).reduce((a, [u, d]) => a.push(`${u}="${d}"`) && a, []).join(" ");
468
468
  return Object.entries(s || {}).reduce((a, [u, d]) => {
469
- if (be(d) && Object.hasOwn(d, "css")) {
469
+ if (fe(d) && Object.hasOwn(d, "css")) {
470
470
  let c = Te(d.css), p = `${u}-variables`;
471
471
  a.push(`<style type="text/css" data-primevue-style-id="${p}" ${l}>${c}</style>`);
472
472
  }
@@ -484,54 +484,54 @@ var J = { regex: { rules: { class: { pattern: /^\.([a-zA-Z][\w-]*)$/, resolve(e)
484
484
  if (typeof this.value == "string" && Le.test(this.value)) {
485
485
  let c = this.value.trim().replace(Le, (p) => {
486
486
  var f;
487
- let h = p.slice(1, -1), y = this.tokens[h];
488
- if (!y) return console.warn(`Token not found for path: ${h}`), "__UNRESOLVED__";
489
- let g = y.computed(l, a, u);
490
- return Array.isArray(g) && g.length === 2 ? `light-dark(${g[0].value},${g[1].value})` : (f = g?.value) != null ? f : "__UNRESOLVED__";
487
+ let b = p.slice(1, -1), y = this.tokens[b];
488
+ if (!y) return console.warn(`Token not found for path: ${b}`), "__UNRESOLVED__";
489
+ let v = y.computed(l, a, u);
490
+ return Array.isArray(v) && v.length === 2 ? `light-dark(${v[0].value},${v[1].value})` : (f = v?.value) != null ? f : "__UNRESOLVED__";
491
491
  });
492
492
  d = an.test(c.replace(sn, "0")) ? `calc(${c})` : c;
493
493
  }
494
- return _e(a.binding) && delete a.binding, u.pop(), { colorScheme: l, path: this.path, paths: a, value: d.includes("__UNRESOLVED__") ? void 0 : d };
494
+ return ye(a.binding) && delete a.binding, u.pop(), { colorScheme: l, path: this.path, paths: a, value: d.includes("__UNRESOLVED__") ? void 0 : d };
495
495
  }, s = (l, a, u) => {
496
496
  Object.entries(l).forEach(([d, c]) => {
497
- let p = ge(d, t.variable.excludedKeyRegex) ? a : a ? `${a}.${Ct(d)}` : Ct(d), f = u ? `${u}.${d}` : d;
498
- be(c) ? s(c, p, f) : (r[p] || (r[p] = { paths: [], computed: (h, y = {}, g = []) => {
499
- if (r[p].paths.length === 1) return r[p].paths[0].computed(r[p].paths[0].scheme, y.binding, g);
500
- if (h && h !== "none") for (let _ = 0; _ < r[p].paths.length; _++) {
497
+ let p = ve(d, t.variable.excludedKeyRegex) ? a : a ? `${a}.${xt(d)}` : xt(d), f = u ? `${u}.${d}` : d;
498
+ fe(c) ? s(c, p, f) : (r[p] || (r[p] = { paths: [], computed: (b, y = {}, v = []) => {
499
+ if (r[p].paths.length === 1) return r[p].paths[0].computed(r[p].paths[0].scheme, y.binding, v);
500
+ if (b && b !== "none") for (let _ = 0; _ < r[p].paths.length; _++) {
501
501
  let w = r[p].paths[_];
502
- if (w.scheme === h) return w.computed(h, y.binding, g);
502
+ if (w.scheme === b) return w.computed(b, y.binding, v);
503
503
  }
504
- return r[p].paths.map((_) => _.computed(_.scheme, y[_.scheme], g));
504
+ return r[p].paths.map((_) => _.computed(_.scheme, y[_.scheme], v));
505
505
  } }), r[p].paths.push({ path: f, value: c, scheme: f.includes("colorScheme.light") ? "light" : f.includes("colorScheme.dark") ? "dark" : "none", computed: i, tokens: r }));
506
506
  });
507
507
  };
508
508
  return s(e, n, o), r;
509
509
  }, getTokenValue(e, t, n) {
510
510
  var o;
511
- let r = ((l) => l.split(".").filter((a) => !ge(a.toLowerCase(), n.variable.excludedKeyRegex)).join("."))(t), i = t.includes("colorScheme.light") ? "light" : t.includes("colorScheme.dark") ? "dark" : void 0, s = [(o = e[r]) == null ? void 0 : o.computed(i)].flat().filter((l) => l);
511
+ let r = ((l) => l.split(".").filter((a) => !ve(a.toLowerCase(), n.variable.excludedKeyRegex)).join("."))(t), i = t.includes("colorScheme.light") ? "light" : t.includes("colorScheme.dark") ? "dark" : void 0, s = [(o = e[r]) == null ? void 0 : o.computed(i)].flat().filter((l) => l);
512
512
  return s.length === 1 ? s[0].value : s.reduce((l = {}, a) => {
513
- let u = a, { colorScheme: d } = u, c = pe(u, ["colorScheme"]);
513
+ let u = a, { colorScheme: d } = u, c = ue(u, ["colorScheme"]);
514
514
  return l[d] = c, l;
515
515
  }, void 0);
516
516
  }, getSelectorRule(e, t, n, o) {
517
- return n === "class" || n === "attr" ? we(A(t) ? `${e}${t},${e} ${t}` : e, o) : we(e, we(t ?? ":root,:host", o));
517
+ return n === "class" || n === "attr" ? $e(E(t) ? `${e}${t},${e} ${t}` : e, o) : $e(e, $e(t ?? ":root,:host", o));
518
518
  }, transformCSS(e, t, n, o, r = {}, i, s, l) {
519
- if (A(t)) {
519
+ if (E(t)) {
520
520
  let { cssLayer: a } = r;
521
521
  if (o !== "style") {
522
522
  let u = this.getColorSchemeOption(r, s);
523
- t = n === "dark" ? u.reduce((d, { type: c, selector: p }) => (A(p) && (d += p.includes("[CSS]") ? p.replace("[CSS]", t) : this.getSelectorRule(p, l, c, t)), d), "") : we(l ?? ":root,:host", t);
523
+ t = n === "dark" ? u.reduce((d, { type: c, selector: p }) => (E(p) && (d += p.includes("[CSS]") ? p.replace("[CSS]", t) : this.getSelectorRule(p, l, c, t)), d), "") : $e(l ?? ":root,:host", t);
524
524
  }
525
525
  if (a) {
526
526
  let u = { name: "primeui" };
527
- be(a) && (u.name = Y(a.name, { name: e, type: o })), A(u.name) && (t = we(`@layer ${u.name}`, t), i?.layerNames(u.name));
527
+ fe(a) && (u.name = Z(a.name, { name: e, type: o })), E(u.name) && (t = $e(`@layer ${u.name}`, t), i?.layerNames(u.name));
528
528
  }
529
529
  return t;
530
530
  }
531
531
  return "";
532
- } }, j = { defaults: { variable: { prefix: "p", selector: ":root,:host", excludedKeyRegex: /^(primitive|semantic|components|directives|variables|colorscheme|light|dark|common|root|states|extend|css)$/gi }, options: { prefix: "p", darkModeSelector: "system", cssLayer: !1 } }, _theme: void 0, _layerNames: /* @__PURE__ */ new Set(), _loadedStyleNames: /* @__PURE__ */ new Set(), _loadingStyles: /* @__PURE__ */ new Set(), _tokens: {}, update(e = {}) {
532
+ } }, A = { defaults: { variable: { prefix: "p", selector: ":root,:host", excludedKeyRegex: /^(primitive|semantic|components|directives|variables|colorscheme|light|dark|common|root|states|extend|css)$/gi }, options: { prefix: "p", darkModeSelector: "system", cssLayer: !1 } }, _theme: void 0, _layerNames: /* @__PURE__ */ new Set(), _loadedStyleNames: /* @__PURE__ */ new Set(), _loadingStyles: /* @__PURE__ */ new Set(), _tokens: {}, update(e = {}) {
533
533
  let { theme: t } = e;
534
- t && (this._theme = rt(ne({}, t), { options: ne(ne({}, this.defaults.options), t.options) }), this._tokens = J.createTokens(this.preset, this.defaults), this.clearLoadedStyleNames());
534
+ t && (this._theme = rt(te({}, t), { options: te(te({}, this.defaults.options), t.options) }), this._tokens = J.createTokens(this.preset, this.defaults), this.clearLoadedStyleNames());
535
535
  }, get theme() {
536
536
  return this._theme;
537
537
  }, get preset() {
@@ -545,15 +545,15 @@ var J = { regex: { rules: { class: { pattern: /^\.([a-zA-Z][\w-]*)$/, resolve(e)
545
545
  }, getTheme() {
546
546
  return this.theme;
547
547
  }, setTheme(e) {
548
- this.update({ theme: e }), Z.emit("theme:change", e);
548
+ this.update({ theme: e }), W.emit("theme:change", e);
549
549
  }, getPreset() {
550
550
  return this.preset;
551
551
  }, setPreset(e) {
552
- this._theme = rt(ne({}, this.theme), { preset: e }), this._tokens = J.createTokens(e, this.defaults), this.clearLoadedStyleNames(), Z.emit("preset:change", e), Z.emit("theme:change", this.theme);
552
+ this._theme = rt(te({}, this.theme), { preset: e }), this._tokens = J.createTokens(e, this.defaults), this.clearLoadedStyleNames(), W.emit("preset:change", e), W.emit("theme:change", this.theme);
553
553
  }, getOptions() {
554
554
  return this.options;
555
555
  }, setOptions(e) {
556
- this._theme = rt(ne({}, this.theme), { options: e }), this.clearLoadedStyleNames(), Z.emit("options:change", e), Z.emit("theme:change", this.theme);
556
+ this._theme = rt(te({}, this.theme), { options: e }), this.clearLoadedStyleNames(), W.emit("options:change", e), W.emit("theme:change", this.theme);
557
557
  }, getLayerNames() {
558
558
  return [...this._layerNames];
559
559
  }, setLayerNames(e) {
@@ -594,8 +594,8 @@ var J = { regex: { rules: { class: { pattern: /^\.([a-zA-Z][\w-]*)$/, resolve(e)
594
594
  }, onStyleUpdated(e) {
595
595
  this._loadingStyles.add(e);
596
596
  }, onStyleLoaded(e, { name: t }) {
597
- this._loadingStyles.size && (this._loadingStyles.delete(t), Z.emit(`theme:${t}:load`, e), !this._loadingStyles.size && Z.emit("theme:load"));
598
- } }, me = {
597
+ this._loadingStyles.size && (this._loadingStyles.delete(t), W.emit(`theme:${t}:load`, e), !this._loadingStyles.size && W.emit("theme:load"));
598
+ } }, pe = {
599
599
  _loadedStyleNames: /* @__PURE__ */ new Set(),
600
600
  getLoadedStyleNames: function() {
601
601
  return this._loadedStyleNames;
@@ -733,7 +733,7 @@ function Ie(e) {
733
733
  return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
734
734
  }, Ie(e);
735
735
  }
736
- function Tt(e, t) {
736
+ function Ct(e, t) {
737
737
  var n = Object.keys(e);
738
738
  if (Object.getOwnPropertySymbols) {
739
739
  var o = Object.getOwnPropertySymbols(e);
@@ -743,12 +743,12 @@ function Tt(e, t) {
743
743
  }
744
744
  return n;
745
745
  }
746
- function Lt(e) {
746
+ function Tt(e) {
747
747
  for (var t = 1; t < arguments.length; t++) {
748
748
  var n = arguments[t] != null ? arguments[t] : {};
749
- t % 2 ? Tt(Object(n), !0).forEach(function(o) {
749
+ t % 2 ? Ct(Object(n), !0).forEach(function(o) {
750
750
  So(e, o, n[o]);
751
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Tt(Object(n)).forEach(function(o) {
751
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Ct(Object(n)).forEach(function(o) {
752
752
  Object.defineProperty(e, o, Object.getOwnPropertyDescriptor(n, o));
753
753
  });
754
754
  }
@@ -773,40 +773,40 @@ function $o(e, t) {
773
773
  }
774
774
  function wo(e) {
775
775
  var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0;
776
- $t() && $t().components ? mt(e) : t ? e() : Gt(e);
776
+ kt() && kt().components ? mt(e) : t ? e() : Zt(e);
777
777
  }
778
778
  var Oo = 0;
779
779
  function Po(e) {
780
- var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = oe(!1), o = oe(e), r = oe(null), i = en() ? window.document : void 0, s = t.document, l = s === void 0 ? i : s, a = t.immediate, u = a === void 0 ? !0 : a, d = t.manual, c = d === void 0 ? !1 : d, p = t.name, f = p === void 0 ? "style_".concat(++Oo) : p, h = t.id, y = h === void 0 ? void 0 : h, g = t.media, _ = g === void 0 ? void 0 : g, w = t.nonce, I = w === void 0 ? void 0 : w, m = t.first, k = m === void 0 ? !1 : m, z = t.onMounted, B = z === void 0 ? void 0 : z, W = t.onUpdated, F = W === void 0 ? void 0 : W, q = t.onLoad, S = q === void 0 ? void 0 : q, V = t.props, b = V === void 0 ? {} : V, D = function() {
781
- }, x = function(Se) {
782
- var ke = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
780
+ var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = ne(!1), o = ne(e), r = ne(null), i = en() ? window.document : void 0, s = t.document, l = s === void 0 ? i : s, a = t.immediate, u = a === void 0 ? !0 : a, d = t.manual, c = d === void 0 ? !1 : d, p = t.name, f = p === void 0 ? "style_".concat(++Oo) : p, b = t.id, y = b === void 0 ? void 0 : b, v = t.media, _ = v === void 0 ? void 0 : v, w = t.nonce, T = w === void 0 ? void 0 : w, m = t.first, $ = m === void 0 ? !1 : m, z = t.onMounted, M = z === void 0 ? void 0 : z, U = t.onUpdated, Y = U === void 0 ? void 0 : U, X = t.onLoad, S = X === void 0 ? void 0 : X, g = t.props, O = g === void 0 ? {} : g, x = function() {
781
+ }, Q = function(_e) {
782
+ var Se = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
783
783
  if (l) {
784
- var ce = Lt(Lt({}, b), ke), ae = ce.name || f, he = ce.id || y, Ue = ce.nonce || I;
785
- r.value = l.querySelector('style[data-primevue-style-id="'.concat(ae, '"]')) || l.getElementById(he) || l.createElement("style"), r.value.isConnected || (o.value = Se || e, Je(r.value, {
784
+ var le = Tt(Tt({}, O), Se), oe = le.name || f, me = le.id || y, Ue = le.nonce || T;
785
+ r.value = l.querySelector('style[data-primevue-style-id="'.concat(oe, '"]')) || l.getElementById(me) || l.createElement("style"), r.value.isConnected || (o.value = _e || e, Je(r.value, {
786
786
  type: "text/css",
787
- id: he,
787
+ id: me,
788
788
  media: _,
789
789
  nonce: Ue
790
- }), k ? l.head.prepend(r.value) : l.head.appendChild(r.value), ro(r.value, "data-primevue-style-id", ae), Je(r.value, ce), r.value.onload = function($e) {
791
- return S?.($e, {
792
- name: ae
790
+ }), $ ? l.head.prepend(r.value) : l.head.appendChild(r.value), ro(r.value, "data-primevue-style-id", oe), Je(r.value, le), r.value.onload = function(ke) {
791
+ return S?.(ke, {
792
+ name: oe
793
793
  });
794
- }, B?.(ae)), !n.value && (D = qe(o, function($e) {
795
- r.value.textContent = $e, F?.(ae);
794
+ }, M?.(oe)), !n.value && (x = qe(o, function(ke) {
795
+ r.value.textContent = ke, Y?.(oe);
796
796
  }, {
797
797
  immediate: !0
798
798
  }), n.value = !0);
799
799
  }
800
- }, ie = function() {
801
- !l || !n.value || (D(), qn(r.value) && l.head.removeChild(r.value), n.value = !1, r.value = null);
800
+ }, ce = function() {
801
+ !l || !n.value || (x(), qn(r.value) && l.head.removeChild(r.value), n.value = !1, r.value = null);
802
802
  };
803
- return u && !c && wo(x), {
803
+ return u && !c && wo(Q), {
804
804
  id: y,
805
805
  name: f,
806
806
  el: r,
807
807
  css: o,
808
- unload: ie,
809
- load: x,
808
+ unload: ce,
809
+ load: Q,
810
810
  isLoaded: Mn(n)
811
811
  };
812
812
  }
@@ -818,8 +818,8 @@ function je(e) {
818
818
  return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
819
819
  }, je(e);
820
820
  }
821
- var It, jt, At, Et;
822
- function Nt(e, t) {
821
+ var Lt, It, jt, At;
822
+ function Et(e, t) {
823
823
  return Lo(e) || To(e, t) || Co(e, t) || xo();
824
824
  }
825
825
  function xo() {
@@ -828,12 +828,12 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
828
828
  }
829
829
  function Co(e, t) {
830
830
  if (e) {
831
- if (typeof e == "string") return zt(e, t);
831
+ if (typeof e == "string") return Nt(e, t);
832
832
  var n = {}.toString.call(e).slice(8, -1);
833
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? zt(e, t) : void 0;
833
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? Nt(e, t) : void 0;
834
834
  }
835
835
  }
836
- function zt(e, t) {
836
+ function Nt(e, t) {
837
837
  (t == null || t > e.length) && (t = e.length);
838
838
  for (var n = 0, o = Array(t); n < t; n++) o[n] = e[n];
839
839
  return o;
@@ -859,7 +859,7 @@ function To(e, t) {
859
859
  function Lo(e) {
860
860
  if (Array.isArray(e)) return e;
861
861
  }
862
- function Vt(e, t) {
862
+ function zt(e, t) {
863
863
  var n = Object.keys(e);
864
864
  if (Object.getOwnPropertySymbols) {
865
865
  var o = Object.getOwnPropertySymbols(e);
@@ -872,9 +872,9 @@ function Vt(e, t) {
872
872
  function it(e) {
873
873
  for (var t = 1; t < arguments.length; t++) {
874
874
  var n = arguments[t] != null ? arguments[t] : {};
875
- t % 2 ? Vt(Object(n), !0).forEach(function(o) {
875
+ t % 2 ? zt(Object(n), !0).forEach(function(o) {
876
876
  Io(e, o, n[o]);
877
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Vt(Object(n)).forEach(function(o) {
877
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : zt(Object(n)).forEach(function(o) {
878
878
  Object.defineProperty(e, o, Object.getOwnPropertyDescriptor(n, o));
879
879
  });
880
880
  }
@@ -922,7 +922,7 @@ var Eo = function(t) {
922
922
  padding-right: `.concat(n("scrollbar.width"), `;
923
923
  }
924
924
  `);
925
- }, No = {}, zo = {}, K = {
925
+ }, No = {}, zo = {}, R = {
926
926
  name: "base",
927
927
  css: Eo,
928
928
  style: _o,
@@ -931,8 +931,8 @@ var Eo = function(t) {
931
931
  load: function(t) {
932
932
  var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, o = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : function(i) {
933
933
  return i;
934
- }, r = o(Ze(It || (It = Ge(["", ""])), t));
935
- return A(r) ? Po(Te(r), it({
934
+ }, r = o(Ze(Lt || (Lt = Ge(["", ""])), t));
935
+ return E(r) ? Po(Te(r), it({
936
936
  name: this.name
937
937
  }, n)) : {};
938
938
  },
@@ -944,51 +944,51 @@ var Eo = function(t) {
944
944
  var t = this, n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, o = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "";
945
945
  return this.load(this.style, n, function() {
946
946
  var r = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "";
947
- return j.transformCSS(n.name || t.name, "".concat(r).concat(Ze(jt || (jt = Ge(["", ""])), o)));
947
+ return A.transformCSS(n.name || t.name, "".concat(r).concat(Ze(It || (It = Ge(["", ""])), o)));
948
948
  });
949
949
  },
950
950
  getCommonTheme: function(t) {
951
- return j.getCommon(this.name, t);
951
+ return A.getCommon(this.name, t);
952
952
  },
953
953
  getComponentTheme: function(t) {
954
- return j.getComponent(this.name, t);
954
+ return A.getComponent(this.name, t);
955
955
  },
956
956
  getDirectiveTheme: function(t) {
957
- return j.getDirective(this.name, t);
957
+ return A.getDirective(this.name, t);
958
958
  },
959
959
  getPresetTheme: function(t, n, o) {
960
- return j.getCustomPreset(this.name, t, n, o);
960
+ return A.getCustomPreset(this.name, t, n, o);
961
961
  },
962
962
  getLayerOrderThemeCSS: function() {
963
- return j.getLayerOrderCSS(this.name);
963
+ return A.getLayerOrderCSS(this.name);
964
964
  },
965
965
  getStyleSheet: function() {
966
966
  var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
967
967
  if (this.css) {
968
- var o = Y(this.css, {
969
- dt: ye
970
- }) || "", r = Te(Ze(At || (At = Ge(["", "", ""])), o, t)), i = Object.entries(n).reduce(function(s, l) {
971
- var a = Nt(l, 2), u = a[0], d = a[1];
968
+ var o = Z(this.css, {
969
+ dt: ge
970
+ }) || "", r = Te(Ze(jt || (jt = Ge(["", "", ""])), o, t)), i = Object.entries(n).reduce(function(s, l) {
971
+ var a = Et(l, 2), u = a[0], d = a[1];
972
972
  return s.push("".concat(u, '="').concat(d, '"')) && s;
973
973
  }, []).join(" ");
974
- return A(r) ? '<style type="text/css" data-primevue-style-id="'.concat(this.name, '" ').concat(i, ">").concat(r, "</style>") : "";
974
+ return E(r) ? '<style type="text/css" data-primevue-style-id="'.concat(this.name, '" ').concat(i, ">").concat(r, "</style>") : "";
975
975
  }
976
976
  return "";
977
977
  },
978
978
  getCommonThemeStyleSheet: function(t) {
979
979
  var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
980
- return j.getCommonStyleSheet(this.name, t, n);
980
+ return A.getCommonStyleSheet(this.name, t, n);
981
981
  },
982
982
  getThemeStyleSheet: function(t) {
983
- var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, o = [j.getStyleSheet(this.name, t, n)];
983
+ var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, o = [A.getStyleSheet(this.name, t, n)];
984
984
  if (this.style) {
985
- var r = this.name === "base" ? "global-style" : "".concat(this.name, "-style"), i = Ze(Et || (Et = Ge(["", ""])), Y(this.style, {
986
- dt: ye
987
- })), s = Te(j.transformCSS(r, i)), l = Object.entries(n).reduce(function(a, u) {
988
- var d = Nt(u, 2), c = d[0], p = d[1];
985
+ var r = this.name === "base" ? "global-style" : "".concat(this.name, "-style"), i = Ze(At || (At = Ge(["", ""])), Z(this.style, {
986
+ dt: ge
987
+ })), s = Te(A.transformCSS(r, i)), l = Object.entries(n).reduce(function(a, u) {
988
+ var d = Et(u, 2), c = d[0], p = d[1];
989
989
  return a.push("".concat(c, '="').concat(p, '"')) && a;
990
990
  }, []).join(" ");
991
- A(s) && o.push('<style type="text/css" data-primevue-style-id="'.concat(r, '" ').concat(l, ">").concat(s, "</style>"));
991
+ E(s) && o.push('<style type="text/css" data-primevue-style-id="'.concat(r, '" ').concat(l, ">").concat(s, "</style>"));
992
992
  }
993
993
  return o.join("");
994
994
  },
@@ -1003,7 +1003,7 @@ function Vo() {
1003
1003
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "pc", t = Bn();
1004
1004
  return "".concat(e).concat(t.replace("v-", "").replaceAll("-", "_"));
1005
1005
  }
1006
- var Mt = K.extend({
1006
+ var Vt = R.extend({
1007
1007
  name: "common"
1008
1008
  });
1009
1009
  function Ae(e) {
@@ -1020,7 +1020,7 @@ function Mo(e) {
1020
1020
  function Bo(e) {
1021
1021
  if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
1022
1022
  }
1023
- function xe(e, t) {
1023
+ function Pe(e, t) {
1024
1024
  return fn(e) || Do(e, t) || pn(e, t) || cn();
1025
1025
  }
1026
1026
  function cn() {
@@ -1063,7 +1063,7 @@ function Do(e, t) {
1063
1063
  function fn(e) {
1064
1064
  if (Array.isArray(e)) return e;
1065
1065
  }
1066
- function Bt(e, t) {
1066
+ function Mt(e, t) {
1067
1067
  var n = Object.keys(e);
1068
1068
  if (Object.getOwnPropertySymbols) {
1069
1069
  var o = Object.getOwnPropertySymbols(e);
@@ -1073,18 +1073,18 @@ function Bt(e, t) {
1073
1073
  }
1074
1074
  return n;
1075
1075
  }
1076
- function P(e) {
1076
+ function C(e) {
1077
1077
  for (var t = 1; t < arguments.length; t++) {
1078
1078
  var n = arguments[t] != null ? arguments[t] : {};
1079
- t % 2 ? Bt(Object(n), !0).forEach(function(o) {
1080
- Ce(e, o, n[o]);
1081
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Bt(Object(n)).forEach(function(o) {
1079
+ t % 2 ? Mt(Object(n), !0).forEach(function(o) {
1080
+ xe(e, o, n[o]);
1081
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Mt(Object(n)).forEach(function(o) {
1082
1082
  Object.defineProperty(e, o, Object.getOwnPropertyDescriptor(n, o));
1083
1083
  });
1084
1084
  }
1085
1085
  return e;
1086
1086
  }
1087
- function Ce(e, t, n) {
1087
+ function xe(e, t, n) {
1088
1088
  return (t = Ro(t)) in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
1089
1089
  }
1090
1090
  function Ro(e) {
@@ -1130,14 +1130,14 @@ var Re = {
1130
1130
  isUnstyled: {
1131
1131
  immediate: !0,
1132
1132
  handler: function(t) {
1133
- Z.off("theme:change", this._loadCoreStyles), t || (this._loadCoreStyles(), this._themeChangeListener(this._loadCoreStyles));
1133
+ W.off("theme:change", this._loadCoreStyles), t || (this._loadCoreStyles(), this._themeChangeListener(this._loadCoreStyles));
1134
1134
  }
1135
1135
  },
1136
1136
  dt: {
1137
1137
  immediate: !0,
1138
1138
  handler: function(t, n) {
1139
1139
  var o = this;
1140
- Z.off("theme:change", this._themeScopedListener), t ? (this._loadScopedThemeStyles(t), this._themeScopedListener = function() {
1140
+ W.off("theme:change", this._themeScopedListener), t ? (this._loadScopedThemeStyles(t), this._themeScopedListener = function() {
1141
1141
  return o._loadScopedThemeStyles(t);
1142
1142
  }, this._themeChangeListener(this._themeScopedListener)) : this._unloadScopedThemeStyles();
1143
1143
  }
@@ -1148,17 +1148,17 @@ var Re = {
1148
1148
  uid: void 0,
1149
1149
  $attrSelector: void 0,
1150
1150
  beforeCreate: function() {
1151
- var t, n, o, r, i, s, l, a, u, d, c, p = (t = this.pt) === null || t === void 0 ? void 0 : t._usept, f = p ? (n = this.pt) === null || n === void 0 || (n = n.originalValue) === null || n === void 0 ? void 0 : n[this.$.type.name] : void 0, h = p ? (o = this.pt) === null || o === void 0 || (o = o.value) === null || o === void 0 ? void 0 : o[this.$.type.name] : this.pt;
1152
- (r = h || f) === null || r === void 0 || (r = r.hooks) === null || r === void 0 || (i = r.onBeforeCreate) === null || i === void 0 || i.call(r);
1153
- var y = (s = this.$primevueConfig) === null || s === void 0 || (s = s.pt) === null || s === void 0 ? void 0 : s._usept, g = y ? (l = this.$primevue) === null || l === void 0 || (l = l.config) === null || l === void 0 || (l = l.pt) === null || l === void 0 ? void 0 : l.originalValue : void 0, _ = y ? (a = this.$primevue) === null || a === void 0 || (a = a.config) === null || a === void 0 || (a = a.pt) === null || a === void 0 ? void 0 : a.value : (u = this.$primevue) === null || u === void 0 || (u = u.config) === null || u === void 0 ? void 0 : u.pt;
1154
- (d = _ || g) === null || d === void 0 || (d = d[this.$.type.name]) === null || d === void 0 || (d = d.hooks) === null || d === void 0 || (c = d.onBeforeCreate) === null || c === void 0 || c.call(d), this.$attrSelector = Vo(), this.uid = this.$attrs.id || this.$attrSelector.replace("pc", "pv_id_");
1151
+ var t, n, o, r, i, s, l, a, u, d, c, p = (t = this.pt) === null || t === void 0 ? void 0 : t._usept, f = p ? (n = this.pt) === null || n === void 0 || (n = n.originalValue) === null || n === void 0 ? void 0 : n[this.$.type.name] : void 0, b = p ? (o = this.pt) === null || o === void 0 || (o = o.value) === null || o === void 0 ? void 0 : o[this.$.type.name] : this.pt;
1152
+ (r = b || f) === null || r === void 0 || (r = r.hooks) === null || r === void 0 || (i = r.onBeforeCreate) === null || i === void 0 || i.call(r);
1153
+ var y = (s = this.$primevueConfig) === null || s === void 0 || (s = s.pt) === null || s === void 0 ? void 0 : s._usept, v = y ? (l = this.$primevue) === null || l === void 0 || (l = l.config) === null || l === void 0 || (l = l.pt) === null || l === void 0 ? void 0 : l.originalValue : void 0, _ = y ? (a = this.$primevue) === null || a === void 0 || (a = a.config) === null || a === void 0 || (a = a.pt) === null || a === void 0 ? void 0 : a.value : (u = this.$primevue) === null || u === void 0 || (u = u.config) === null || u === void 0 ? void 0 : u.pt;
1154
+ (d = _ || v) === null || d === void 0 || (d = d[this.$.type.name]) === null || d === void 0 || (d = d.hooks) === null || d === void 0 || (c = d.onBeforeCreate) === null || c === void 0 || c.call(d), this.$attrSelector = Vo(), this.uid = this.$attrs.id || this.$attrSelector.replace("pc", "pv_id_");
1155
1155
  },
1156
1156
  created: function() {
1157
1157
  this._hook("onCreated");
1158
1158
  },
1159
1159
  beforeMount: function() {
1160
1160
  var t;
1161
- this.rootEl = et(Pe(this.$el) ? this.$el : (t = this.$el) === null || t === void 0 ? void 0 : t.parentElement, "[".concat(this.$attrSelector, "]")), this.rootEl && (this.rootEl.$pc = P({
1161
+ this.rootEl = et(Oe(this.$el) ? this.$el : (t = this.$el) === null || t === void 0 ? void 0 : t.parentElement, "[".concat(this.$attrSelector, "]")), this.rootEl && (this.rootEl.$pc = C({
1162
1162
  name: this.$.type.name,
1163
1163
  attrSelector: this.$attrSelector
1164
1164
  }, this.$params)), this._loadStyles(), this._hook("onBeforeMount");
@@ -1188,58 +1188,58 @@ var Re = {
1188
1188
  _mergeProps: function(t) {
1189
1189
  for (var n = arguments.length, o = new Array(n > 1 ? n - 1 : 0), r = 1; r < n; r++)
1190
1190
  o[r - 1] = arguments[r];
1191
- return yt(t) ? t.apply(void 0, o) : L.apply(void 0, o);
1191
+ return gt(t) ? t.apply(void 0, o) : j.apply(void 0, o);
1192
1192
  },
1193
1193
  _load: function() {
1194
- me.isStyleNameLoaded("base") || (K.loadCSS(this.$styleOptions), this._loadGlobalStyles(), me.setLoadedStyleName("base")), this._loadThemeStyles();
1194
+ pe.isStyleNameLoaded("base") || (R.loadCSS(this.$styleOptions), this._loadGlobalStyles(), pe.setLoadedStyleName("base")), this._loadThemeStyles();
1195
1195
  },
1196
1196
  _loadStyles: function() {
1197
1197
  this._load(), this._themeChangeListener(this._load);
1198
1198
  },
1199
1199
  _loadCoreStyles: function() {
1200
1200
  var t, n;
1201
- !me.isStyleNameLoaded((t = this.$style) === null || t === void 0 ? void 0 : t.name) && (n = this.$style) !== null && n !== void 0 && n.name && (Mt.loadCSS(this.$styleOptions), this.$options.style && this.$style.loadCSS(this.$styleOptions), me.setLoadedStyleName(this.$style.name));
1201
+ !pe.isStyleNameLoaded((t = this.$style) === null || t === void 0 ? void 0 : t.name) && (n = this.$style) !== null && n !== void 0 && n.name && (Vt.loadCSS(this.$styleOptions), this.$options.style && this.$style.loadCSS(this.$styleOptions), pe.setLoadedStyleName(this.$style.name));
1202
1202
  },
1203
1203
  _loadGlobalStyles: function() {
1204
1204
  var t = this._useGlobalPT(this._getOptionValue, "global.css", this.$params);
1205
- A(t) && K.load(t, P({
1205
+ E(t) && R.load(t, C({
1206
1206
  name: "global"
1207
1207
  }, this.$styleOptions));
1208
1208
  },
1209
1209
  _loadThemeStyles: function() {
1210
1210
  var t, n;
1211
1211
  if (!(this.isUnstyled || this.$theme === "none")) {
1212
- if (!j.isStyleNameLoaded("common")) {
1212
+ if (!A.isStyleNameLoaded("common")) {
1213
1213
  var o, r, i = ((o = this.$style) === null || o === void 0 || (r = o.getCommonTheme) === null || r === void 0 ? void 0 : r.call(o)) || {}, s = i.primitive, l = i.semantic, a = i.global, u = i.style;
1214
- K.load(s?.css, P({
1214
+ R.load(s?.css, C({
1215
1215
  name: "primitive-variables"
1216
- }, this.$styleOptions)), K.load(l?.css, P({
1216
+ }, this.$styleOptions)), R.load(l?.css, C({
1217
1217
  name: "semantic-variables"
1218
- }, this.$styleOptions)), K.load(a?.css, P({
1218
+ }, this.$styleOptions)), R.load(a?.css, C({
1219
1219
  name: "global-variables"
1220
- }, this.$styleOptions)), K.loadStyle(P({
1220
+ }, this.$styleOptions)), R.loadStyle(C({
1221
1221
  name: "global-style"
1222
- }, this.$styleOptions), u), j.setLoadedStyleName("common");
1222
+ }, this.$styleOptions), u), A.setLoadedStyleName("common");
1223
1223
  }
1224
- if (!j.isStyleNameLoaded((t = this.$style) === null || t === void 0 ? void 0 : t.name) && (n = this.$style) !== null && n !== void 0 && n.name) {
1225
- var d, c, p, f, h = ((d = this.$style) === null || d === void 0 || (c = d.getComponentTheme) === null || c === void 0 ? void 0 : c.call(d)) || {}, y = h.css, g = h.style;
1226
- (p = this.$style) === null || p === void 0 || p.load(y, P({
1224
+ if (!A.isStyleNameLoaded((t = this.$style) === null || t === void 0 ? void 0 : t.name) && (n = this.$style) !== null && n !== void 0 && n.name) {
1225
+ var d, c, p, f, b = ((d = this.$style) === null || d === void 0 || (c = d.getComponentTheme) === null || c === void 0 ? void 0 : c.call(d)) || {}, y = b.css, v = b.style;
1226
+ (p = this.$style) === null || p === void 0 || p.load(y, C({
1227
1227
  name: "".concat(this.$style.name, "-variables")
1228
- }, this.$styleOptions)), (f = this.$style) === null || f === void 0 || f.loadStyle(P({
1228
+ }, this.$styleOptions)), (f = this.$style) === null || f === void 0 || f.loadStyle(C({
1229
1229
  name: "".concat(this.$style.name, "-style")
1230
- }, this.$styleOptions), g), j.setLoadedStyleName(this.$style.name);
1230
+ }, this.$styleOptions), v), A.setLoadedStyleName(this.$style.name);
1231
1231
  }
1232
- if (!j.isStyleNameLoaded("layer-order")) {
1233
- var _, w, I = (_ = this.$style) === null || _ === void 0 || (w = _.getLayerOrderThemeCSS) === null || w === void 0 ? void 0 : w.call(_);
1234
- K.load(I, P({
1232
+ if (!A.isStyleNameLoaded("layer-order")) {
1233
+ var _, w, T = (_ = this.$style) === null || _ === void 0 || (w = _.getLayerOrderThemeCSS) === null || w === void 0 ? void 0 : w.call(_);
1234
+ R.load(T, C({
1235
1235
  name: "layer-order",
1236
1236
  first: !0
1237
- }, this.$styleOptions)), j.setLoadedStyleName("layer-order");
1237
+ }, this.$styleOptions)), A.setLoadedStyleName("layer-order");
1238
1238
  }
1239
1239
  }
1240
1240
  },
1241
1241
  _loadScopedThemeStyles: function(t) {
1242
- var n, o, r, i = ((n = this.$style) === null || n === void 0 || (o = n.getPresetTheme) === null || o === void 0 ? void 0 : o.call(n, t, "[".concat(this.$attrSelector, "]"))) || {}, s = i.css, l = (r = this.$style) === null || r === void 0 ? void 0 : r.load(s, P({
1242
+ var n, o, r, i = ((n = this.$style) === null || n === void 0 || (o = n.getPresetTheme) === null || o === void 0 ? void 0 : o.call(n, t, "[".concat(this.$attrSelector, "]"))) || {}, s = i.css, l = (r = this.$style) === null || r === void 0 ? void 0 : r.load(s, C({
1243
1243
  name: "".concat(this.$attrSelector, "-").concat(this.$style.name)
1244
1244
  }, this.$styleOptions));
1245
1245
  this.scopedStyleEl = l.el;
@@ -1251,10 +1251,10 @@ var Re = {
1251
1251
  _themeChangeListener: function() {
1252
1252
  var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : function() {
1253
1253
  };
1254
- me.clearLoadedStyleNames(), Z.on("theme:change", t);
1254
+ pe.clearLoadedStyleNames(), W.on("theme:change", t);
1255
1255
  },
1256
1256
  _removeThemeListeners: function() {
1257
- Z.off("theme:change", this._loadCoreStyles), Z.off("theme:change", this._load), Z.off("theme:change", this._themeScopedListener);
1257
+ W.off("theme:change", this._loadCoreStyles), W.off("theme:change", this._load), W.off("theme:change", this._themeScopedListener);
1258
1258
  },
1259
1259
  _getHostInstance: function(t) {
1260
1260
  return t ? this.$options.hostName ? t.$.type.name === this.$options.hostName ? t : this._getHostInstance(t.$parentInstance) : t.$parentInstance : void 0;
@@ -1265,18 +1265,18 @@ var Re = {
1265
1265
  },
1266
1266
  _getOptionValue: function(t) {
1267
1267
  var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "", o = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
1268
- return _t(t, n, o);
1268
+ return yt(t, n, o);
1269
1269
  },
1270
1270
  _getPTValue: function() {
1271
- var t, 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, s = /./g.test(o) && !!r[o.split(".")[0]], l = this._getPropValue("ptOptions") || ((t = this.$primevueConfig) === null || t === void 0 ? void 0 : t.ptOptions) || {}, a = l.mergeSections, u = a === void 0 ? !0 : a, d = l.mergeProps, c = d === void 0 ? !1 : d, p = i ? s ? this._useGlobalPT(this._getPTClassValue, o, r) : this._useDefaultPT(this._getPTClassValue, o, r) : void 0, f = s ? void 0 : this._getPTSelf(n, this._getPTClassValue, o, P(P({}, r), {}, {
1271
+ var t, 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, s = /./g.test(o) && !!r[o.split(".")[0]], l = this._getPropValue("ptOptions") || ((t = this.$primevueConfig) === null || t === void 0 ? void 0 : t.ptOptions) || {}, a = l.mergeSections, u = a === void 0 ? !0 : a, d = l.mergeProps, c = d === void 0 ? !1 : d, p = i ? s ? this._useGlobalPT(this._getPTClassValue, o, r) : this._useDefaultPT(this._getPTClassValue, o, r) : void 0, f = s ? void 0 : this._getPTSelf(n, this._getPTClassValue, o, C(C({}, r), {}, {
1272
1272
  global: p || {}
1273
- })), h = this._getPTDatasets(o);
1274
- return u || !u && f ? c ? this._mergeProps(c, p, f, h) : P(P(P({}, p), f), h) : P(P({}, f), h);
1273
+ })), b = this._getPTDatasets(o);
1274
+ return u || !u && f ? c ? this._mergeProps(c, p, f, b) : C(C(C({}, p), f), b) : C(C({}, f), b);
1275
1275
  },
1276
1276
  _getPTSelf: function() {
1277
1277
  for (var t = 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++)
1278
1278
  o[r - 1] = arguments[r];
1279
- return L(
1279
+ return j(
1280
1280
  this._usePT.apply(this, [this._getPT(t, this.$name)].concat(o)),
1281
1281
  // Exp; <component :pt="{}"
1282
1282
  this._usePT.apply(this, [this.$_attrsPT].concat(o))
@@ -1284,18 +1284,18 @@ var Re = {
1284
1284
  );
1285
1285
  },
1286
1286
  _getPTDatasets: function() {
1287
- var t, n, o = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", r = "data-pc-", i = o === "root" && A((t = this.pt) === null || t === void 0 ? void 0 : t["data-pc-section"]);
1288
- return o !== "transition" && P(P({}, o === "root" && P(P(Ce({}, "".concat(r, "name"), ue(i ? (n = this.pt) === null || n === void 0 ? void 0 : n["data-pc-section"] : this.$.type.name)), i && Ce({}, "".concat(r, "extend"), ue(this.$.type.name))), {}, Ce({}, "".concat(this.$attrSelector), ""))), {}, Ce({}, "".concat(r, "section"), ue(o)));
1287
+ var t, n, o = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", r = "data-pc-", i = o === "root" && E((t = this.pt) === null || t === void 0 ? void 0 : t["data-pc-section"]);
1288
+ return o !== "transition" && C(C({}, o === "root" && C(C(xe({}, "".concat(r, "name"), ae(i ? (n = this.pt) === null || n === void 0 ? void 0 : n["data-pc-section"] : this.$.type.name)), i && xe({}, "".concat(r, "extend"), ae(this.$.type.name))), {}, xe({}, "".concat(this.$attrSelector), ""))), {}, xe({}, "".concat(r, "section"), ae(o)));
1289
1289
  },
1290
1290
  _getPTClassValue: function() {
1291
1291
  var t = this._getOptionValue.apply(this, arguments);
1292
- return X(t) || tn(t) ? {
1292
+ return G(t) || tn(t) ? {
1293
1293
  class: t
1294
1294
  } : t;
1295
1295
  },
1296
1296
  _getPT: function(t) {
1297
1297
  var n = this, o = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "", r = arguments.length > 2 ? arguments[2] : void 0, i = function(l) {
1298
- var a, u = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, d = r ? r(l) : l, c = ue(o), p = ue(n.$name);
1298
+ var a, u = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, d = r ? r(l) : l, c = ae(o), p = ae(n.$name);
1299
1299
  return (a = u ? c !== p ? d?.[c] : void 0 : d?.[c]) !== null && a !== void 0 ? a : d;
1300
1300
  };
1301
1301
  return t != null && t.hasOwnProperty("_usept") ? {
@@ -1310,7 +1310,7 @@ var Re = {
1310
1310
  };
1311
1311
  if (t != null && t.hasOwnProperty("_usept")) {
1312
1312
  var s, l = t._usept || ((s = this.$primevueConfig) === null || s === void 0 ? void 0 : s.ptOptions) || {}, a = l.mergeSections, u = a === void 0 ? !0 : a, d = l.mergeProps, c = d === void 0 ? !1 : d, p = i(t.originalValue), f = i(t.value);
1313
- return p === void 0 && f === void 0 ? void 0 : X(f) ? f : X(p) ? p : u || !u && f ? c ? this._mergeProps(c, p, f) : P(P({}, p), f) : f;
1313
+ return p === void 0 && f === void 0 ? void 0 : G(f) ? f : G(p) ? p : u || !u && f ? c ? this._mergeProps(c, p, f) : C(C({}, p), f) : f;
1314
1314
  }
1315
1315
  return i(t);
1316
1316
  },
@@ -1322,26 +1322,26 @@ var Re = {
1322
1322
  },
1323
1323
  ptm: function() {
1324
1324
  var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
1325
- return this._getPTValue(this.pt, t, P(P({}, this.$params), n));
1325
+ return this._getPTValue(this.pt, t, C(C({}, this.$params), n));
1326
1326
  },
1327
1327
  ptmi: function() {
1328
- var t, n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", o = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = L(this.$_attrsWithoutPT, this.ptm(n, o));
1328
+ var t, n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", o = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = j(this.$_attrsWithoutPT, this.ptm(n, o));
1329
1329
  return r?.hasOwnProperty("id") && ((t = r.id) !== null && t !== void 0 || (r.id = this.$id)), r;
1330
1330
  },
1331
1331
  ptmo: function() {
1332
1332
  var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "", o = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
1333
- return this._getPTValue(t, n, P({
1333
+ return this._getPTValue(t, n, C({
1334
1334
  instance: this
1335
1335
  }, o), !1);
1336
1336
  },
1337
1337
  cx: function() {
1338
1338
  var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
1339
- return this.isUnstyled ? void 0 : this._getOptionValue(this.$style.classes, t, P(P({}, this.$params), n));
1339
+ return this.isUnstyled ? void 0 : this._getOptionValue(this.$style.classes, t, C(C({}, this.$params), n));
1340
1340
  },
1341
1341
  sx: function() {
1342
1342
  var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, o = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
1343
1343
  if (n) {
1344
- var r = this._getOptionValue(this.$style.inlineStyles, t, P(P({}, this.$params), o)), i = this._getOptionValue(Mt.inlineStyles, t, P(P({}, this.$params), o));
1344
+ var r = this._getOptionValue(this.$style.inlineStyles, t, C(C({}, this.$params), o)), i = this._getOptionValue(Vt.inlineStyles, t, C(C({}, this.$params), o));
1345
1345
  return [i, r];
1346
1346
  }
1347
1347
  }
@@ -1350,7 +1350,7 @@ var Re = {
1350
1350
  globalPT: function() {
1351
1351
  var t, n = this;
1352
1352
  return this._getPT((t = this.$primevueConfig) === null || t === void 0 ? void 0 : t.pt, void 0, function(o) {
1353
- return Y(o, {
1353
+ return Z(o, {
1354
1354
  instance: n
1355
1355
  });
1356
1356
  });
@@ -1358,7 +1358,7 @@ var Re = {
1358
1358
  defaultPT: function() {
1359
1359
  var t, n = this;
1360
1360
  return this._getPT((t = this.$primevueConfig) === null || t === void 0 ? void 0 : t.pt, void 0, function(o) {
1361
- return n._getOptionValue(o, n.$name, P({}, n.$params)) || Y(o, P({}, n.$params));
1361
+ return n._getOptionValue(o, n.$name, C({}, n.$params)) || Z(o, C({}, n.$params));
1362
1362
  });
1363
1363
  },
1364
1364
  isUnstyled: function() {
@@ -1371,7 +1371,7 @@ var Re = {
1371
1371
  $inProps: function() {
1372
1372
  var t, n = Object.keys(((t = this.$.vnode) === null || t === void 0 ? void 0 : t.props) || {});
1373
1373
  return Object.fromEntries(Object.entries(this.$props).filter(function(o) {
1374
- var r = xe(o, 1), i = r[0];
1374
+ var r = Pe(o, 1), i = r[0];
1375
1375
  return n?.includes(i);
1376
1376
  }));
1377
1377
  },
@@ -1380,7 +1380,7 @@ var Re = {
1380
1380
  return (t = this.$primevueConfig) === null || t === void 0 ? void 0 : t.theme;
1381
1381
  },
1382
1382
  $style: function() {
1383
- return P(P({
1383
+ return C(C({
1384
1384
  classes: void 0,
1385
1385
  inlineStyles: void 0,
1386
1386
  load: function() {
@@ -1421,10 +1421,10 @@ var Re = {
1421
1421
  },
1422
1422
  $_attrsPT: function() {
1423
1423
  return Object.entries(this.$attrs || {}).filter(function(t) {
1424
- var n = xe(t, 1), o = n[0];
1424
+ var n = Pe(t, 1), o = n[0];
1425
1425
  return o?.startsWith("pt:");
1426
1426
  }).reduce(function(t, n) {
1427
- var o = xe(n, 2), r = o[0], i = o[1], s = r.split(":"), l = Mo(s), a = ut(l).slice(1);
1427
+ var o = Pe(n, 2), r = o[0], i = o[1], s = r.split(":"), l = Mo(s), a = ut(l).slice(1);
1428
1428
  return a?.reduce(function(u, d, c, p) {
1429
1429
  return !u[d] && (u[d] = c === p.length - 1 ? i : {}), u[d];
1430
1430
  }, t), t;
@@ -1432,10 +1432,10 @@ var Re = {
1432
1432
  },
1433
1433
  $_attrsWithoutPT: function() {
1434
1434
  return Object.entries(this.$attrs || {}).filter(function(t) {
1435
- var n = xe(t, 1), o = n[0];
1435
+ var n = Pe(t, 1), o = n[0];
1436
1436
  return !(o != null && o.startsWith("pt:"));
1437
1437
  }).reduce(function(t, n) {
1438
- var o = xe(n, 2), r = o[0], i = o[1];
1438
+ var o = Pe(n, 2), r = o[0], i = o[1];
1439
1439
  return t[r] = i, t;
1440
1440
  }, {});
1441
1441
  }
@@ -1473,7 +1473,7 @@ var Re = {
1473
1473
  transform: rotate(359deg);
1474
1474
  }
1475
1475
  }
1476
- `, Ho = K.extend({
1476
+ `, Ho = R.extend({
1477
1477
  name: "baseicon",
1478
1478
  css: Ko
1479
1479
  });
@@ -1485,7 +1485,7 @@ function Ee(e) {
1485
1485
  return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
1486
1486
  }, Ee(e);
1487
1487
  }
1488
- function Dt(e, t) {
1488
+ function Bt(e, t) {
1489
1489
  var n = Object.keys(e);
1490
1490
  if (Object.getOwnPropertySymbols) {
1491
1491
  var o = Object.getOwnPropertySymbols(e);
@@ -1495,12 +1495,12 @@ function Dt(e, t) {
1495
1495
  }
1496
1496
  return n;
1497
1497
  }
1498
- function Rt(e) {
1498
+ function Dt(e) {
1499
1499
  for (var t = 1; t < arguments.length; t++) {
1500
1500
  var n = arguments[t] != null ? arguments[t] : {};
1501
- t % 2 ? Dt(Object(n), !0).forEach(function(o) {
1501
+ t % 2 ? Bt(Object(n), !0).forEach(function(o) {
1502
1502
  Wo(e, o, n[o]);
1503
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Dt(Object(n)).forEach(function(o) {
1503
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Bt(Object(n)).forEach(function(o) {
1504
1504
  Object.defineProperty(e, o, Object.getOwnPropertyDescriptor(n, o));
1505
1505
  });
1506
1506
  }
@@ -1545,8 +1545,8 @@ var Go = {
1545
1545
  },
1546
1546
  methods: {
1547
1547
  pti: function() {
1548
- var t = _e(this.label);
1549
- return Rt(Rt({}, !this.isUnstyled && {
1548
+ var t = ye(this.label);
1549
+ return Dt(Dt({}, !this.isUnstyled && {
1550
1550
  class: ["p-icon", {
1551
1551
  "p-icon-spin": this.spin
1552
1552
  }]
@@ -1587,13 +1587,13 @@ function dt(e, t) {
1587
1587
  return o;
1588
1588
  }
1589
1589
  function er(e, t, n, o, r, i) {
1590
- return v(), $("svg", L({
1590
+ return h(), k("svg", j({
1591
1591
  width: "14",
1592
1592
  height: "14",
1593
1593
  viewBox: "0 0 14 14",
1594
1594
  fill: "none",
1595
1595
  xmlns: "http://www.w3.org/2000/svg"
1596
- }, e.pti()), Yo(t[0] || (t[0] = [T("path", {
1596
+ }, e.pti()), Yo(t[0] || (t[0] = [I("path", {
1597
1597
  d: "M6.99701 14C5.85441 13.999 4.72939 13.7186 3.72012 13.1832C2.71084 12.6478 1.84795 11.8737 1.20673 10.9284C0.565504 9.98305 0.165424 8.89526 0.041387 7.75989C-0.0826496 6.62453 0.073125 5.47607 0.495122 4.4147C0.917119 3.35333 1.59252 2.4113 2.46241 1.67077C3.33229 0.930247 4.37024 0.413729 5.4857 0.166275C6.60117 -0.0811796 7.76026 -0.0520535 8.86188 0.251112C9.9635 0.554278 10.9742 1.12227 11.8057 1.90555C11.915 2.01493 11.9764 2.16319 11.9764 2.31778C11.9764 2.47236 11.915 2.62062 11.8057 2.73C11.7521 2.78503 11.688 2.82877 11.6171 2.85864C11.5463 2.8885 11.4702 2.90389 11.3933 2.90389C11.3165 2.90389 11.2404 2.8885 11.1695 2.85864C11.0987 2.82877 11.0346 2.78503 10.9809 2.73C9.9998 1.81273 8.73246 1.26138 7.39226 1.16876C6.05206 1.07615 4.72086 1.44794 3.62279 2.22152C2.52471 2.99511 1.72683 4.12325 1.36345 5.41602C1.00008 6.70879 1.09342 8.08723 1.62775 9.31926C2.16209 10.5513 3.10478 11.5617 4.29713 12.1803C5.48947 12.7989 6.85865 12.988 8.17414 12.7157C9.48963 12.4435 10.6711 11.7264 11.5196 10.6854C12.3681 9.64432 12.8319 8.34282 12.8328 7C12.8328 6.84529 12.8943 6.69692 13.0038 6.58752C13.1132 6.47812 13.2616 6.41667 13.4164 6.41667C13.5712 6.41667 13.7196 6.47812 13.8291 6.58752C13.9385 6.69692 14 6.84529 14 7C14 8.85651 13.2622 10.637 11.9489 11.9497C10.6356 13.2625 8.85432 14 6.99701 14Z",
1598
1598
  fill: "currentColor"
1599
1599
  }, null, -1)])), 16);
@@ -1678,8 +1678,8 @@ var tr = `
1678
1678
  root: function(t) {
1679
1679
  var n = t.props, o = t.instance;
1680
1680
  return ["p-badge p-component", {
1681
- "p-badge-circle": A(n.value) && String(n.value).length === 1,
1682
- "p-badge-dot": _e(n.value) && !o.$slots.default,
1681
+ "p-badge-circle": E(n.value) && String(n.value).length === 1,
1682
+ "p-badge-dot": ye(n.value) && !o.$slots.default,
1683
1683
  "p-badge-sm": n.size === "small",
1684
1684
  "p-badge-lg": n.size === "large",
1685
1685
  "p-badge-xl": n.size === "xlarge",
@@ -1691,7 +1691,7 @@ var tr = `
1691
1691
  "p-badge-contrast": n.severity === "contrast"
1692
1692
  }];
1693
1693
  }
1694
- }, or = K.extend({
1694
+ }, or = R.extend({
1695
1695
  name: "badge",
1696
1696
  style: tr,
1697
1697
  classes: nr
@@ -1728,7 +1728,7 @@ function Ne(e) {
1728
1728
  return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
1729
1729
  }, Ne(e);
1730
1730
  }
1731
- function Ut(e, t, n) {
1731
+ function Rt(e, t, n) {
1732
1732
  return (t = ir(t)) in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
1733
1733
  }
1734
1734
  function ir(e) {
@@ -1751,7 +1751,7 @@ var bn = {
1751
1751
  inheritAttrs: !1,
1752
1752
  computed: {
1753
1753
  dataP: function() {
1754
- return ve(Ut(Ut({
1754
+ return he(Rt(Rt({
1755
1755
  circle: this.value != null && String(this.value).length === 1,
1756
1756
  empty: this.value == null && !this.$slots.default
1757
1757
  }, this.severity, this.severity), this.size, this.size));
@@ -1759,15 +1759,15 @@ var bn = {
1759
1759
  }
1760
1760
  }, sr = ["data-p"];
1761
1761
  function lr(e, t, n, o, r, i) {
1762
- return v(), $("span", L({
1762
+ return h(), k("span", j({
1763
1763
  class: e.cx("root"),
1764
1764
  "data-p": i.dataP
1765
- }, e.ptmi("root")), [M(e.$slots, "default", {}, function() {
1766
- return [bt(U(e.value), 1)];
1765
+ }, e.ptmi("root")), [B(e.$slots, "default", {}, function() {
1766
+ return [bt(D(e.value), 1)];
1767
1767
  })], 16, sr);
1768
1768
  }
1769
1769
  bn.render = lr;
1770
- var Ye = gt();
1770
+ var Ye = vt();
1771
1771
  function ze(e) {
1772
1772
  "@babel/helpers - typeof";
1773
1773
  return ze = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
@@ -1776,7 +1776,7 @@ function ze(e) {
1776
1776
  return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
1777
1777
  }, ze(e);
1778
1778
  }
1779
- function Kt(e, t) {
1779
+ function Ut(e, t) {
1780
1780
  return pr(e) || cr(e, t) || dr(e, t) || ur();
1781
1781
  }
1782
1782
  function ur() {
@@ -1785,12 +1785,12 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
1785
1785
  }
1786
1786
  function dr(e, t) {
1787
1787
  if (e) {
1788
- if (typeof e == "string") return Ht(e, t);
1788
+ if (typeof e == "string") return Kt(e, t);
1789
1789
  var n = {}.toString.call(e).slice(8, -1);
1790
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? Ht(e, t) : void 0;
1790
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? Kt(e, t) : void 0;
1791
1791
  }
1792
1792
  }
1793
- function Ht(e, t) {
1793
+ function Kt(e, t) {
1794
1794
  (t == null || t > e.length) && (t = e.length);
1795
1795
  for (var n = 0, o = Array(t); n < t; n++) o[n] = e[n];
1796
1796
  return o;
@@ -1816,7 +1816,7 @@ function cr(e, t) {
1816
1816
  function pr(e) {
1817
1817
  if (Array.isArray(e)) return e;
1818
1818
  }
1819
- function Wt(e, t) {
1819
+ function Ht(e, t) {
1820
1820
  var n = Object.keys(e);
1821
1821
  if (Object.getOwnPropertySymbols) {
1822
1822
  var o = Object.getOwnPropertySymbols(e);
@@ -1826,12 +1826,12 @@ function Wt(e, t) {
1826
1826
  }
1827
1827
  return n;
1828
1828
  }
1829
- function C(e) {
1829
+ function L(e) {
1830
1830
  for (var t = 1; t < arguments.length; t++) {
1831
1831
  var n = arguments[t] != null ? arguments[t] : {};
1832
- t % 2 ? Wt(Object(n), !0).forEach(function(o) {
1832
+ t % 2 ? Ht(Object(n), !0).forEach(function(o) {
1833
1833
  ct(e, o, n[o]);
1834
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Wt(Object(n)).forEach(function(o) {
1834
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Ht(Object(n)).forEach(function(o) {
1835
1835
  Object.defineProperty(e, o, Object.getOwnPropertyDescriptor(n, o));
1836
1836
  });
1837
1837
  }
@@ -1854,33 +1854,33 @@ function mr(e, t) {
1854
1854
  }
1855
1855
  return (t === "string" ? String : Number)(e);
1856
1856
  }
1857
- var O = {
1857
+ var P = {
1858
1858
  _getMeta: function() {
1859
- return [be(arguments.length <= 0 ? void 0 : arguments[0]) || arguments.length <= 0 ? void 0 : arguments[0], Y(be(arguments.length <= 0 ? void 0 : arguments[0]) ? arguments.length <= 0 ? void 0 : arguments[0] : arguments.length <= 1 ? void 0 : arguments[1])];
1859
+ return [fe(arguments.length <= 0 ? void 0 : arguments[0]) || arguments.length <= 0 ? void 0 : arguments[0], Z(fe(arguments.length <= 0 ? void 0 : arguments[0]) ? arguments.length <= 0 ? void 0 : arguments[0] : arguments.length <= 1 ? void 0 : arguments[1])];
1860
1860
  },
1861
1861
  _getConfig: function(t, n) {
1862
1862
  var o, r, i;
1863
1863
  return (o = (t == null || (r = t.instance) === null || r === void 0 ? void 0 : r.$primevue) || (n == null || (i = n.ctx) === null || i === void 0 || (i = i.appContext) === null || i === void 0 || (i = i.config) === null || i === void 0 || (i = i.globalProperties) === null || i === void 0 ? void 0 : i.$primevue)) === null || o === void 0 ? void 0 : o.config;
1864
1864
  },
1865
- _getOptionValue: _t,
1865
+ _getOptionValue: yt,
1866
1866
  _getPTValue: function() {
1867
1867
  var t, n, o = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : "", s = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {}, l = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !0, a = function() {
1868
- var w = O._getOptionValue.apply(O, arguments);
1869
- return X(w) || tn(w) ? {
1868
+ var w = P._getOptionValue.apply(P, arguments);
1869
+ return G(w) || tn(w) ? {
1870
1870
  class: w
1871
1871
  } : w;
1872
- }, u = ((t = o.binding) === null || t === void 0 || (t = t.value) === null || t === void 0 ? void 0 : t.ptOptions) || ((n = o.$primevueConfig) === null || n === void 0 ? void 0 : n.ptOptions) || {}, d = u.mergeSections, c = d === void 0 ? !0 : d, p = u.mergeProps, f = p === void 0 ? !1 : p, h = l ? O._useDefaultPT(o, o.defaultPT(), a, i, s) : void 0, y = O._usePT(o, O._getPT(r, o.$name), a, i, C(C({}, s), {}, {
1873
- global: h || {}
1874
- })), g = O._getPTDatasets(o, i);
1875
- return c || !c && y ? f ? O._mergeProps(o, f, h, y, g) : C(C(C({}, h), y), g) : C(C({}, y), g);
1872
+ }, u = ((t = o.binding) === null || t === void 0 || (t = t.value) === null || t === void 0 ? void 0 : t.ptOptions) || ((n = o.$primevueConfig) === null || n === void 0 ? void 0 : n.ptOptions) || {}, d = u.mergeSections, c = d === void 0 ? !0 : d, p = u.mergeProps, f = p === void 0 ? !1 : p, b = l ? P._useDefaultPT(o, o.defaultPT(), a, i, s) : void 0, y = P._usePT(o, P._getPT(r, o.$name), a, i, L(L({}, s), {}, {
1873
+ global: b || {}
1874
+ })), v = P._getPTDatasets(o, i);
1875
+ return c || !c && y ? f ? P._mergeProps(o, f, b, y, v) : L(L(L({}, b), y), v) : L(L({}, y), v);
1876
1876
  },
1877
1877
  _getPTDatasets: function() {
1878
1878
  var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "", o = "data-pc-";
1879
- return C(C({}, n === "root" && ct({}, "".concat(o, "name"), ue(t.$name))), {}, ct({}, "".concat(o, "section"), ue(n)));
1879
+ return L(L({}, n === "root" && ct({}, "".concat(o, "name"), ae(t.$name))), {}, ct({}, "".concat(o, "section"), ae(n)));
1880
1880
  },
1881
1881
  _getPT: function(t) {
1882
1882
  var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "", o = arguments.length > 2 ? arguments[2] : void 0, r = function(s) {
1883
- var l, a = o ? o(s) : s, u = ue(n);
1883
+ var l, a = o ? o(s) : s, u = ae(n);
1884
1884
  return (l = a?.[u]) !== null && l !== void 0 ? l : a;
1885
1885
  };
1886
1886
  return t && Object.hasOwn(t, "_usept") ? {
@@ -1890,70 +1890,70 @@ var O = {
1890
1890
  } : r(t);
1891
1891
  },
1892
1892
  _usePT: function() {
1893
- var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = arguments.length > 1 ? arguments[1] : void 0, o = arguments.length > 2 ? arguments[2] : void 0, r = arguments.length > 3 ? arguments[3] : void 0, i = arguments.length > 4 ? arguments[4] : void 0, s = function(g) {
1894
- return o(g, r, i);
1893
+ var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = arguments.length > 1 ? arguments[1] : void 0, o = arguments.length > 2 ? arguments[2] : void 0, r = arguments.length > 3 ? arguments[3] : void 0, i = arguments.length > 4 ? arguments[4] : void 0, s = function(v) {
1894
+ return o(v, r, i);
1895
1895
  };
1896
1896
  if (n && Object.hasOwn(n, "_usept")) {
1897
- var l, a = n._usept || ((l = t.$primevueConfig) === null || l === void 0 ? void 0 : l.ptOptions) || {}, u = a.mergeSections, d = u === void 0 ? !0 : u, c = a.mergeProps, p = c === void 0 ? !1 : c, f = s(n.originalValue), h = s(n.value);
1898
- return f === void 0 && h === void 0 ? void 0 : X(h) ? h : X(f) ? f : d || !d && h ? p ? O._mergeProps(t, p, f, h) : C(C({}, f), h) : h;
1897
+ var l, a = n._usept || ((l = t.$primevueConfig) === null || l === void 0 ? void 0 : l.ptOptions) || {}, u = a.mergeSections, d = u === void 0 ? !0 : u, c = a.mergeProps, p = c === void 0 ? !1 : c, f = s(n.originalValue), b = s(n.value);
1898
+ return f === void 0 && b === void 0 ? void 0 : G(b) ? b : G(f) ? f : d || !d && b ? p ? P._mergeProps(t, p, f, b) : L(L({}, f), b) : b;
1899
1899
  }
1900
1900
  return s(n);
1901
1901
  },
1902
1902
  _useDefaultPT: function() {
1903
1903
  var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, o = arguments.length > 2 ? arguments[2] : void 0, r = arguments.length > 3 ? arguments[3] : void 0, i = arguments.length > 4 ? arguments[4] : void 0;
1904
- return O._usePT(t, n, o, r, i);
1904
+ return P._usePT(t, n, o, r, i);
1905
1905
  },
1906
1906
  _loadStyles: function() {
1907
- var t, n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, o = arguments.length > 1 ? arguments[1] : void 0, r = arguments.length > 2 ? arguments[2] : void 0, i = O._getConfig(o, r), s = {
1907
+ var t, n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, o = arguments.length > 1 ? arguments[1] : void 0, r = arguments.length > 2 ? arguments[2] : void 0, i = P._getConfig(o, r), s = {
1908
1908
  nonce: i == null || (t = i.csp) === null || t === void 0 ? void 0 : t.nonce
1909
1909
  };
1910
- O._loadCoreStyles(n, s), O._loadThemeStyles(n, s), O._loadScopedThemeStyles(n, s), O._removeThemeListeners(n), n.$loadStyles = function() {
1911
- return O._loadThemeStyles(n, s);
1912
- }, O._themeChangeListener(n.$loadStyles);
1910
+ P._loadCoreStyles(n, s), P._loadThemeStyles(n, s), P._loadScopedThemeStyles(n, s), P._removeThemeListeners(n), n.$loadStyles = function() {
1911
+ return P._loadThemeStyles(n, s);
1912
+ }, P._themeChangeListener(n.$loadStyles);
1913
1913
  },
1914
1914
  _loadCoreStyles: function() {
1915
1915
  var t, n, o = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, r = arguments.length > 1 ? arguments[1] : void 0;
1916
- if (!me.isStyleNameLoaded((t = o.$style) === null || t === void 0 ? void 0 : t.name) && (n = o.$style) !== null && n !== void 0 && n.name) {
1916
+ if (!pe.isStyleNameLoaded((t = o.$style) === null || t === void 0 ? void 0 : t.name) && (n = o.$style) !== null && n !== void 0 && n.name) {
1917
1917
  var i;
1918
- K.loadCSS(r), (i = o.$style) === null || i === void 0 || i.loadCSS(r), me.setLoadedStyleName(o.$style.name);
1918
+ R.loadCSS(r), (i = o.$style) === null || i === void 0 || i.loadCSS(r), pe.setLoadedStyleName(o.$style.name);
1919
1919
  }
1920
1920
  },
1921
1921
  _loadThemeStyles: function() {
1922
1922
  var t, n, o, r = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, i = arguments.length > 1 ? arguments[1] : void 0;
1923
1923
  if (!(r != null && r.isUnstyled() || (r == null || (t = r.theme) === null || t === void 0 ? void 0 : t.call(r)) === "none")) {
1924
- if (!j.isStyleNameLoaded("common")) {
1924
+ if (!A.isStyleNameLoaded("common")) {
1925
1925
  var s, l, a = ((s = r.$style) === null || s === void 0 || (l = s.getCommonTheme) === null || l === void 0 ? void 0 : l.call(s)) || {}, u = a.primitive, d = a.semantic, c = a.global, p = a.style;
1926
- K.load(u?.css, C({
1926
+ R.load(u?.css, L({
1927
1927
  name: "primitive-variables"
1928
- }, i)), K.load(d?.css, C({
1928
+ }, i)), R.load(d?.css, L({
1929
1929
  name: "semantic-variables"
1930
- }, i)), K.load(c?.css, C({
1930
+ }, i)), R.load(c?.css, L({
1931
1931
  name: "global-variables"
1932
- }, i)), K.loadStyle(C({
1932
+ }, i)), R.loadStyle(L({
1933
1933
  name: "global-style"
1934
- }, i), p), j.setLoadedStyleName("common");
1934
+ }, i), p), A.setLoadedStyleName("common");
1935
1935
  }
1936
- if (!j.isStyleNameLoaded((n = r.$style) === null || n === void 0 ? void 0 : n.name) && (o = r.$style) !== null && o !== void 0 && o.name) {
1937
- var f, h, y, g, _ = ((f = r.$style) === null || f === void 0 || (h = f.getDirectiveTheme) === null || h === void 0 ? void 0 : h.call(f)) || {}, w = _.css, I = _.style;
1938
- (y = r.$style) === null || y === void 0 || y.load(w, C({
1936
+ if (!A.isStyleNameLoaded((n = r.$style) === null || n === void 0 ? void 0 : n.name) && (o = r.$style) !== null && o !== void 0 && o.name) {
1937
+ var f, b, y, v, _ = ((f = r.$style) === null || f === void 0 || (b = f.getDirectiveTheme) === null || b === void 0 ? void 0 : b.call(f)) || {}, w = _.css, T = _.style;
1938
+ (y = r.$style) === null || y === void 0 || y.load(w, L({
1939
1939
  name: "".concat(r.$style.name, "-variables")
1940
- }, i)), (g = r.$style) === null || g === void 0 || g.loadStyle(C({
1940
+ }, i)), (v = r.$style) === null || v === void 0 || v.loadStyle(L({
1941
1941
  name: "".concat(r.$style.name, "-style")
1942
- }, i), I), j.setLoadedStyleName(r.$style.name);
1942
+ }, i), T), A.setLoadedStyleName(r.$style.name);
1943
1943
  }
1944
- if (!j.isStyleNameLoaded("layer-order")) {
1945
- var m, k, z = (m = r.$style) === null || m === void 0 || (k = m.getLayerOrderThemeCSS) === null || k === void 0 ? void 0 : k.call(m);
1946
- K.load(z, C({
1944
+ if (!A.isStyleNameLoaded("layer-order")) {
1945
+ var m, $, z = (m = r.$style) === null || m === void 0 || ($ = m.getLayerOrderThemeCSS) === null || $ === void 0 ? void 0 : $.call(m);
1946
+ R.load(z, L({
1947
1947
  name: "layer-order",
1948
1948
  first: !0
1949
- }, i)), j.setLoadedStyleName("layer-order");
1949
+ }, i)), A.setLoadedStyleName("layer-order");
1950
1950
  }
1951
1951
  }
1952
1952
  },
1953
1953
  _loadScopedThemeStyles: function() {
1954
1954
  var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = arguments.length > 1 ? arguments[1] : void 0, o = t.preset();
1955
1955
  if (o && t.$attrSelector) {
1956
- var r, i, s, l = ((r = t.$style) === null || r === void 0 || (i = r.getPresetTheme) === null || i === void 0 ? void 0 : i.call(r, o, "[".concat(t.$attrSelector, "]"))) || {}, a = l.css, u = (s = t.$style) === null || s === void 0 ? void 0 : s.load(a, C({
1956
+ var r, i, s, l = ((r = t.$style) === null || r === void 0 || (i = r.getPresetTheme) === null || i === void 0 ? void 0 : i.call(r, o, "[".concat(t.$attrSelector, "]"))) || {}, a = l.css, u = (s = t.$style) === null || s === void 0 ? void 0 : s.load(a, L({
1957
1957
  name: "".concat(t.$attrSelector, "-").concat(t.$style.name)
1958
1958
  }, n));
1959
1959
  t.scopedStyleEl = u.el;
@@ -1962,33 +1962,33 @@ var O = {
1962
1962
  _themeChangeListener: function() {
1963
1963
  var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : function() {
1964
1964
  };
1965
- me.clearLoadedStyleNames(), Z.on("theme:change", t);
1965
+ pe.clearLoadedStyleNames(), W.on("theme:change", t);
1966
1966
  },
1967
1967
  _removeThemeListeners: function() {
1968
1968
  var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
1969
- Z.off("theme:change", t.$loadStyles), t.$loadStyles = void 0;
1969
+ W.off("theme:change", t.$loadStyles), t.$loadStyles = void 0;
1970
1970
  },
1971
1971
  _hook: function(t, n, o, r, i, s) {
1972
- var l, a, u = "on".concat(ao(n)), d = O._getConfig(r, i), c = o?.$instance, p = O._usePT(c, O._getPT(r == null || (l = r.value) === null || l === void 0 ? void 0 : l.pt, t), O._getOptionValue, "hooks.".concat(u)), f = O._useDefaultPT(c, d == null || (a = d.pt) === null || a === void 0 || (a = a.directives) === null || a === void 0 ? void 0 : a[t], O._getOptionValue, "hooks.".concat(u)), h = {
1972
+ var l, a, u = "on".concat(ao(n)), d = P._getConfig(r, i), c = o?.$instance, p = P._usePT(c, P._getPT(r == null || (l = r.value) === null || l === void 0 ? void 0 : l.pt, t), P._getOptionValue, "hooks.".concat(u)), f = P._useDefaultPT(c, d == null || (a = d.pt) === null || a === void 0 || (a = a.directives) === null || a === void 0 ? void 0 : a[t], P._getOptionValue, "hooks.".concat(u)), b = {
1973
1973
  el: o,
1974
1974
  binding: r,
1975
1975
  vnode: i,
1976
1976
  prevVnode: s
1977
1977
  };
1978
- p?.(c, h), f?.(c, h);
1978
+ p?.(c, b), f?.(c, b);
1979
1979
  },
1980
1980
  /* eslint-disable-next-line no-unused-vars */
1981
1981
  _mergeProps: function() {
1982
1982
  for (var t = arguments.length > 1 ? arguments[1] : void 0, n = arguments.length, o = new Array(n > 2 ? n - 2 : 0), r = 2; r < n; r++)
1983
1983
  o[r - 2] = arguments[r];
1984
- return yt(t) ? t.apply(void 0, o) : L.apply(void 0, o);
1984
+ return gt(t) ? t.apply(void 0, o) : j.apply(void 0, o);
1985
1985
  },
1986
1986
  _extend: function(t) {
1987
1987
  var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, o = function(l, a, u, d, c) {
1988
- var p, f, h, y;
1988
+ var p, f, b, y;
1989
1989
  a._$instances = a._$instances || {};
1990
- var g = O._getConfig(u, d), _ = a._$instances[t] || {}, w = _e(_) ? C(C({}, n), n?.methods) : {};
1991
- a._$instances[t] = C(C({}, _), {}, {
1990
+ var v = P._getConfig(u, d), _ = a._$instances[t] || {}, w = ye(_) ? L(L({}, n), n?.methods) : {};
1991
+ a._$instances[t] = L(L({}, _), {}, {
1992
1992
  /* new instance variables to pass in directive methods */
1993
1993
  $name: t,
1994
1994
  $host: a,
@@ -1996,7 +1996,7 @@ var O = {
1996
1996
  $modifiers: u?.modifiers,
1997
1997
  $value: u?.value,
1998
1998
  $el: _.$el || a || void 0,
1999
- $style: C({
1999
+ $style: L({
2000
2000
  classes: void 0,
2001
2001
  inlineStyles: void 0,
2002
2002
  load: function() {
@@ -2006,18 +2006,18 @@ var O = {
2006
2006
  loadStyle: function() {
2007
2007
  }
2008
2008
  }, n?.style),
2009
- $primevueConfig: g,
2009
+ $primevueConfig: v,
2010
2010
  $attrSelector: (p = a.$pd) === null || p === void 0 || (p = p[t]) === null || p === void 0 ? void 0 : p.attrSelector,
2011
2011
  /* computed instance variables */
2012
2012
  defaultPT: function() {
2013
- return O._getPT(g?.pt, void 0, function(m) {
2014
- var k;
2015
- return m == null || (k = m.directives) === null || k === void 0 ? void 0 : k[t];
2013
+ return P._getPT(v?.pt, void 0, function(m) {
2014
+ var $;
2015
+ return m == null || ($ = m.directives) === null || $ === void 0 ? void 0 : $[t];
2016
2016
  });
2017
2017
  },
2018
2018
  isUnstyled: function() {
2019
- var m, k;
2020
- return ((m = a._$instances[t]) === null || m === void 0 || (m = m.$binding) === null || m === void 0 || (m = m.value) === null || m === void 0 ? void 0 : m.unstyled) !== void 0 ? (k = a._$instances[t]) === null || k === void 0 || (k = k.$binding) === null || k === void 0 || (k = k.value) === null || k === void 0 ? void 0 : k.unstyled : g?.unstyled;
2019
+ var m, $;
2020
+ return ((m = a._$instances[t]) === null || m === void 0 || (m = m.$binding) === null || m === void 0 || (m = m.value) === null || m === void 0 ? void 0 : m.unstyled) !== void 0 ? ($ = a._$instances[t]) === null || $ === void 0 || ($ = $.$binding) === null || $ === void 0 || ($ = $.value) === null || $ === void 0 ? void 0 : $.unstyled : v?.unstyled;
2021
2021
  },
2022
2022
  theme: function() {
2023
2023
  var m;
@@ -2029,37 +2029,37 @@ var O = {
2029
2029
  },
2030
2030
  /* instance's methods */
2031
2031
  ptm: function() {
2032
- var m, k = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", z = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
2033
- return O._getPTValue(a._$instances[t], (m = a._$instances[t]) === null || m === void 0 || (m = m.$binding) === null || m === void 0 || (m = m.value) === null || m === void 0 ? void 0 : m.pt, k, C({}, z));
2032
+ var m, $ = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", z = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
2033
+ return P._getPTValue(a._$instances[t], (m = a._$instances[t]) === null || m === void 0 || (m = m.$binding) === null || m === void 0 || (m = m.value) === null || m === void 0 ? void 0 : m.pt, $, L({}, z));
2034
2034
  },
2035
2035
  ptmo: function() {
2036
- var m = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, k = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "", z = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
2037
- return O._getPTValue(a._$instances[t], m, k, z, !1);
2036
+ var m = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, $ = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "", z = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
2037
+ return P._getPTValue(a._$instances[t], m, $, z, !1);
2038
2038
  },
2039
2039
  cx: function() {
2040
- var m, k, z = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", B = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
2041
- return (m = a._$instances[t]) !== null && m !== void 0 && m.isUnstyled() ? void 0 : O._getOptionValue((k = a._$instances[t]) === null || k === void 0 || (k = k.$style) === null || k === void 0 ? void 0 : k.classes, z, C({}, B));
2040
+ var m, $, z = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", M = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
2041
+ return (m = a._$instances[t]) !== null && m !== void 0 && m.isUnstyled() ? void 0 : P._getOptionValue(($ = a._$instances[t]) === null || $ === void 0 || ($ = $.$style) === null || $ === void 0 ? void 0 : $.classes, z, L({}, M));
2042
2042
  },
2043
2043
  sx: function() {
2044
- var m, k = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", z = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, B = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
2045
- return z ? O._getOptionValue((m = a._$instances[t]) === null || m === void 0 || (m = m.$style) === null || m === void 0 ? void 0 : m.inlineStyles, k, C({}, B)) : void 0;
2044
+ var m, $ = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", z = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, M = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
2045
+ return z ? P._getOptionValue((m = a._$instances[t]) === null || m === void 0 || (m = m.$style) === null || m === void 0 ? void 0 : m.inlineStyles, $, L({}, M)) : void 0;
2046
2046
  }
2047
- }, w), a.$instance = a._$instances[t], (f = (h = a.$instance)[l]) === null || f === void 0 || f.call(h, a, u, d, c), a["$".concat(t)] = a.$instance, O._hook(t, l, a, u, d, c), a.$pd || (a.$pd = {}), a.$pd[t] = C(C({}, (y = a.$pd) === null || y === void 0 ? void 0 : y[t]), {}, {
2047
+ }, w), a.$instance = a._$instances[t], (f = (b = a.$instance)[l]) === null || f === void 0 || f.call(b, a, u, d, c), a["$".concat(t)] = a.$instance, P._hook(t, l, a, u, d, c), a.$pd || (a.$pd = {}), a.$pd[t] = L(L({}, (y = a.$pd) === null || y === void 0 ? void 0 : y[t]), {}, {
2048
2048
  name: t,
2049
2049
  instance: a._$instances[t]
2050
2050
  });
2051
2051
  }, r = function(l) {
2052
- var a, u, d, c = l._$instances[t], p = c?.watch, f = function(g) {
2053
- var _, w = g.newValue, I = g.oldValue;
2054
- return p == null || (_ = p.config) === null || _ === void 0 ? void 0 : _.call(c, w, I);
2055
- }, h = function(g) {
2056
- var _, w = g.newValue, I = g.oldValue;
2057
- return p == null || (_ = p["config.ripple"]) === null || _ === void 0 ? void 0 : _.call(c, w, I);
2052
+ var a, u, d, c = l._$instances[t], p = c?.watch, f = function(v) {
2053
+ var _, w = v.newValue, T = v.oldValue;
2054
+ return p == null || (_ = p.config) === null || _ === void 0 ? void 0 : _.call(c, w, T);
2055
+ }, b = function(v) {
2056
+ var _, w = v.newValue, T = v.oldValue;
2057
+ return p == null || (_ = p["config.ripple"]) === null || _ === void 0 ? void 0 : _.call(c, w, T);
2058
2058
  };
2059
2059
  c.$watchersCallback = {
2060
2060
  config: f,
2061
- "config.ripple": h
2062
- }, p == null || (a = p.config) === null || a === void 0 || a.call(c, c?.$primevueConfig), Ye.on("config:change", f), p == null || (u = p["config.ripple"]) === null || u === void 0 || u.call(c, c == null || (d = c.$primevueConfig) === null || d === void 0 ? void 0 : d.ripple), Ye.on("config:ripple:change", h);
2061
+ "config.ripple": b
2062
+ }, p == null || (a = p.config) === null || a === void 0 || a.call(c, c?.$primevueConfig), Ye.on("config:change", f), p == null || (u = p["config.ripple"]) === null || u === void 0 || u.call(c, c == null || (d = c.$primevueConfig) === null || d === void 0 ? void 0 : d.ripple), Ye.on("config:ripple:change", b);
2063
2063
  }, i = function(l) {
2064
2064
  var a = l._$instances[t].$watchersCallback;
2065
2065
  a && (Ye.off("config:change", a.config), Ye.off("config:ripple:change", a["config.ripple"]), l._$instances[t].$watchersCallback = void 0);
@@ -2073,22 +2073,22 @@ var O = {
2073
2073
  },
2074
2074
  beforeMount: function(l, a, u, d) {
2075
2075
  var c;
2076
- O._loadStyles((c = l.$pd[t]) === null || c === void 0 ? void 0 : c.instance, a, u), o("beforeMount", l, a, u, d), r(l);
2076
+ P._loadStyles((c = l.$pd[t]) === null || c === void 0 ? void 0 : c.instance, a, u), o("beforeMount", l, a, u, d), r(l);
2077
2077
  },
2078
2078
  mounted: function(l, a, u, d) {
2079
2079
  var c;
2080
- O._loadStyles((c = l.$pd[t]) === null || c === void 0 ? void 0 : c.instance, a, u), o("mounted", l, a, u, d);
2080
+ P._loadStyles((c = l.$pd[t]) === null || c === void 0 ? void 0 : c.instance, a, u), o("mounted", l, a, u, d);
2081
2081
  },
2082
2082
  beforeUpdate: function(l, a, u, d) {
2083
2083
  o("beforeUpdate", l, a, u, d);
2084
2084
  },
2085
2085
  updated: function(l, a, u, d) {
2086
2086
  var c;
2087
- O._loadStyles((c = l.$pd[t]) === null || c === void 0 ? void 0 : c.instance, a, u), o("updated", l, a, u, d);
2087
+ P._loadStyles((c = l.$pd[t]) === null || c === void 0 ? void 0 : c.instance, a, u), o("updated", l, a, u, d);
2088
2088
  },
2089
2089
  beforeUnmount: function(l, a, u, d) {
2090
2090
  var c;
2091
- i(l), O._removeThemeListeners((c = l.$pd[t]) === null || c === void 0 ? void 0 : c.instance), o("beforeUnmount", l, a, u, d);
2091
+ i(l), P._removeThemeListeners((c = l.$pd[t]) === null || c === void 0 ? void 0 : c.instance), o("beforeUnmount", l, a, u, d);
2092
2092
  },
2093
2093
  unmounted: function(l, a, u, d) {
2094
2094
  var c;
@@ -2097,13 +2097,13 @@ var O = {
2097
2097
  };
2098
2098
  },
2099
2099
  extend: function() {
2100
- var t = O._getMeta.apply(O, arguments), n = Kt(t, 2), o = n[0], r = n[1];
2101
- return C({
2100
+ var t = P._getMeta.apply(P, arguments), n = Ut(t, 2), o = n[0], r = n[1];
2101
+ return L({
2102
2102
  extend: function() {
2103
- var s = O._getMeta.apply(O, arguments), l = Kt(s, 2), a = l[0], u = l[1];
2104
- return O.extend(a, C(C(C({}, r), r?.methods), u));
2103
+ var s = P._getMeta.apply(P, arguments), l = Ut(s, 2), a = l[0], u = l[1];
2104
+ return P.extend(a, L(L(L({}, r), r?.methods), u));
2105
2105
  }
2106
- }, O._extend(o, r));
2106
+ }, P._extend(o, r));
2107
2107
  }
2108
2108
  }, br = `
2109
2109
  .p-ink {
@@ -2127,11 +2127,11 @@ var O = {
2127
2127
  }
2128
2128
  `, hr = {
2129
2129
  root: "p-ink"
2130
- }, vr = K.extend({
2130
+ }, vr = R.extend({
2131
2131
  name: "ripple-directive",
2132
2132
  style: br,
2133
2133
  classes: hr
2134
- }), gr = O.extend({
2134
+ }), gr = P.extend({
2135
2135
  style: vr
2136
2136
  });
2137
2137
  function Ve(e) {
@@ -2167,7 +2167,7 @@ function pt(e, t) {
2167
2167
  for (var n = 0, o = Array(t); n < t; n++) o[n] = e[n];
2168
2168
  return o;
2169
2169
  }
2170
- function Ft(e, t, n) {
2170
+ function Wt(e, t, n) {
2171
2171
  return (t = wr(t)) in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
2172
2172
  }
2173
2173
  function wr(e) {
@@ -2203,7 +2203,7 @@ var hn = gr.extend("ripple", {
2203
2203
  },
2204
2204
  createRipple: function(t) {
2205
2205
  var n = this.getInk(t);
2206
- n || (n = Qn("span", Ft(Ft({
2206
+ n || (n = Qn("span", Wt(Wt({
2207
2207
  role: "presentation",
2208
2208
  "aria-hidden": !0,
2209
2209
  "data-p-ink": !0,
@@ -2219,11 +2219,11 @@ var hn = gr.extend("ripple", {
2219
2219
  onMouseDown: function(t) {
2220
2220
  var n = this, o = t.currentTarget, r = this.getInk(o);
2221
2221
  if (!(!r || getComputedStyle(r, null).display === "none")) {
2222
- if (!this.isUnstyled() && nt(r, "p-ink-active"), r.setAttribute("data-p-ink-active", "false"), !Ot(r) && !Pt(r)) {
2222
+ if (!this.isUnstyled() && nt(r, "p-ink-active"), r.setAttribute("data-p-ink-active", "false"), !wt(r) && !Ot(r)) {
2223
2223
  var i = Math.max(Xe(o), to(o));
2224
2224
  r.style.height = i + "px", r.style.width = i + "px";
2225
2225
  }
2226
- var s = eo(o), l = t.pageX - s.left + document.body.scrollTop - Pt(r) / 2, a = t.pageY - s.top + document.body.scrollLeft - Ot(r) / 2;
2226
+ var s = eo(o), l = t.pageX - s.left + document.body.scrollTop - Ot(r) / 2, a = t.pageY - s.top + document.body.scrollLeft - wt(r) / 2;
2227
2227
  r.style.top = a + "px", r.style.left = l + "px", !this.isUnstyled() && Kn(r, "p-ink-active"), r.setAttribute("data-p-ink-active", "true"), this.timeout = setTimeout(function() {
2228
2228
  r && (!n.isUnstyled() && nt(r, "p-ink-active"), r.setAttribute("data-p-ink-active", "false"));
2229
2229
  }, 401);
@@ -2897,7 +2897,7 @@ function Me(e) {
2897
2897
  return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
2898
2898
  }, Me(e);
2899
2899
  }
2900
- function se(e, t, n) {
2900
+ function re(e, t, n) {
2901
2901
  return (t = xr(t)) in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
2902
2902
  }
2903
2903
  function xr(e) {
@@ -2917,7 +2917,7 @@ function Cr(e, t) {
2917
2917
  var Tr = {
2918
2918
  root: function(t) {
2919
2919
  var n = t.instance, o = t.props;
2920
- return ["p-button p-component", se(se(se(se(se(se(se(se(se({
2920
+ return ["p-button p-component", re(re(re(re(re(re(re(re(re({
2921
2921
  "p-button-icon-only": n.hasIcon && !o.label && !o.badge,
2922
2922
  "p-button-vertical": (o.iconPos === "top" || o.iconPos === "bottom") && o.label,
2923
2923
  "p-button-loading": o.loading,
@@ -2927,10 +2927,10 @@ var Tr = {
2927
2927
  loadingIcon: "p-button-loading-icon",
2928
2928
  icon: function(t) {
2929
2929
  var n = t.props;
2930
- return ["p-button-icon", se({}, "p-button-icon-".concat(n.iconPos), n.label)];
2930
+ return ["p-button-icon", re({}, "p-button-icon-".concat(n.iconPos), n.label)];
2931
2931
  },
2932
2932
  label: "p-button-label"
2933
- }, Lr = K.extend({
2933
+ }, Lr = R.extend({
2934
2934
  name: "button",
2935
2935
  style: Pr,
2936
2936
  classes: Tr
@@ -3039,7 +3039,7 @@ function Be(e) {
3039
3039
  return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
3040
3040
  }, Be(e);
3041
3041
  }
3042
- function G(e, t, n) {
3042
+ function F(e, t, n) {
3043
3043
  return (t = jr(t)) in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
3044
3044
  }
3045
3045
  function jr(e) {
@@ -3056,7 +3056,7 @@ function Ar(e, t) {
3056
3056
  }
3057
3057
  return (t === "string" ? String : Number)(e);
3058
3058
  }
3059
- var fe = {
3059
+ var Ce = {
3060
3060
  name: "Button",
3061
3061
  extends: Ir,
3062
3062
  inheritAttrs: !1,
@@ -3086,7 +3086,7 @@ var fe = {
3086
3086
  return this.icon || this.$slots.icon;
3087
3087
  },
3088
3088
  attrs: function() {
3089
- return L(this.asAttrs, this.a11yAttrs, this.getPTOptions("root"));
3089
+ return j(this.asAttrs, this.a11yAttrs, this.getPTOptions("root"));
3090
3090
  },
3091
3091
  asAttrs: function() {
3092
3092
  return this.as === "BUTTON" ? {
@@ -3103,16 +3103,16 @@ var fe = {
3103
3103
  };
3104
3104
  },
3105
3105
  hasFluid: function() {
3106
- return _e(this.fluid) ? !!this.$pcFluid : this.fluid;
3106
+ return ye(this.fluid) ? !!this.$pcFluid : this.fluid;
3107
3107
  },
3108
3108
  dataP: function() {
3109
- return ve(G(G(G(G(G(G(G(G(G(G({}, this.size, this.size), "icon-only", this.hasIcon && !this.label && !this.badge), "loading", this.loading), "fluid", this.hasFluid), "rounded", this.rounded), "raised", this.raised), "outlined", this.outlined || this.variant === "outlined"), "text", this.text || this.variant === "text"), "link", this.link || this.variant === "link"), "vertical", (this.iconPos === "top" || this.iconPos === "bottom") && this.label));
3109
+ return he(F(F(F(F(F(F(F(F(F(F({}, this.size, this.size), "icon-only", this.hasIcon && !this.label && !this.badge), "loading", this.loading), "fluid", this.hasFluid), "rounded", this.rounded), "raised", this.raised), "outlined", this.outlined || this.variant === "outlined"), "text", this.text || this.variant === "text"), "link", this.link || this.variant === "link"), "vertical", (this.iconPos === "top" || this.iconPos === "bottom") && this.label));
3110
3110
  },
3111
3111
  dataIconP: function() {
3112
- return ve(G(G({}, this.iconPos, this.iconPos), this.size, this.size));
3112
+ return he(F(F({}, this.iconPos, this.iconPos), this.size, this.size));
3113
3113
  },
3114
3114
  dataLabelP: function() {
3115
- return ve(G(G({}, this.size, this.size), "icon-only", this.hasIcon && !this.label && !this.badge));
3115
+ return he(F(F({}, this.size, this.size), "icon-only", this.hasIcon && !this.label && !this.badge));
3116
3116
  }
3117
3117
  },
3118
3118
  components: {
@@ -3124,58 +3124,58 @@ var fe = {
3124
3124
  }
3125
3125
  }, Er = ["data-p"], Nr = ["data-p"];
3126
3126
  function zr(e, t, n, o, r, i) {
3127
- var s = Qe("SpinnerIcon"), l = Qe("Badge"), a = Yt("ripple");
3128
- return e.asChild ? M(e.$slots, "default", {
3127
+ var s = Qe("SpinnerIcon"), l = Qe("Badge"), a = Gt("ripple");
3128
+ return e.asChild ? B(e.$slots, "default", {
3129
3129
  key: 1,
3130
- class: Q(e.cx("root")),
3130
+ class: q(e.cx("root")),
3131
3131
  a11yAttrs: i.a11yAttrs
3132
- }) : Xt((v(), H(at(e.as), L({
3132
+ }) : Yt((h(), K(at(e.as), j({
3133
3133
  key: 0,
3134
3134
  class: e.cx("root"),
3135
3135
  "data-p": i.dataP
3136
3136
  }, i.attrs), {
3137
- default: re(function() {
3138
- return [M(e.$slots, "default", {}, function() {
3139
- return [e.loading ? M(e.$slots, "loadingicon", L({
3137
+ default: be(function() {
3138
+ return [B(e.$slots, "default", {}, function() {
3139
+ return [e.loading ? B(e.$slots, "loadingicon", j({
3140
3140
  key: 0,
3141
3141
  class: [e.cx("loadingIcon"), e.cx("icon")]
3142
3142
  }, e.ptm("loadingIcon")), function() {
3143
- return [e.loadingIcon ? (v(), $("span", L({
3143
+ return [e.loadingIcon ? (h(), k("span", j({
3144
3144
  key: 0,
3145
3145
  class: [e.cx("loadingIcon"), e.cx("icon"), e.loadingIcon]
3146
- }, e.ptm("loadingIcon")), null, 16)) : (v(), H(s, L({
3146
+ }, e.ptm("loadingIcon")), null, 16)) : (h(), K(s, j({
3147
3147
  key: 1,
3148
3148
  class: [e.cx("loadingIcon"), e.cx("icon")],
3149
3149
  spin: ""
3150
3150
  }, e.ptm("loadingIcon")), null, 16, ["class"]))];
3151
- }) : M(e.$slots, "icon", L({
3151
+ }) : B(e.$slots, "icon", j({
3152
3152
  key: 1,
3153
3153
  class: [e.cx("icon")]
3154
3154
  }, e.ptm("icon")), function() {
3155
- return [e.icon ? (v(), $("span", L({
3155
+ return [e.icon ? (h(), k("span", j({
3156
3156
  key: 0,
3157
3157
  class: [e.cx("icon"), e.icon, e.iconClass],
3158
3158
  "data-p": i.dataIconP
3159
- }, e.ptm("icon")), null, 16, Er)) : E("", !0)];
3160
- }), e.label ? (v(), $("span", L({
3159
+ }, e.ptm("icon")), null, 16, Er)) : N("", !0)];
3160
+ }), e.label ? (h(), k("span", j({
3161
3161
  key: 2,
3162
3162
  class: e.cx("label")
3163
3163
  }, e.ptm("label"), {
3164
3164
  "data-p": i.dataLabelP
3165
- }), U(e.label), 17, Nr)) : E("", !0), e.badge ? (v(), H(l, {
3165
+ }), D(e.label), 17, Nr)) : N("", !0), e.badge ? (h(), K(l, {
3166
3166
  key: 3,
3167
3167
  value: e.badge,
3168
- class: Q(e.badgeClass),
3168
+ class: q(e.badgeClass),
3169
3169
  severity: e.badgeSeverity,
3170
3170
  unstyled: e.unstyled,
3171
3171
  pt: e.ptm("pcBadge")
3172
- }, null, 8, ["value", "class", "severity", "unstyled", "pt"])) : E("", !0)];
3172
+ }, null, 8, ["value", "class", "severity", "unstyled", "pt"])) : N("", !0)];
3173
3173
  })];
3174
3174
  }),
3175
3175
  _: 3
3176
3176
  }, 16, ["class", "data-p"])), [[a]]);
3177
3177
  }
3178
- fe.render = zr;
3178
+ Ce.render = zr;
3179
3179
  const Vr = ["aria-hidden", "aria-label", "role"], ee = /* @__PURE__ */ ht({
3180
3180
  name: "RsIcon",
3181
3181
  __name: "RsIcon",
@@ -3192,7 +3192,7 @@ const Vr = ["aria-hidden", "aria-label", "role"], ee = /* @__PURE__ */ ht({
3192
3192
  ariaLabel: {}
3193
3193
  },
3194
3194
  setup(e) {
3195
- const t = e, n = N(() => [
3195
+ const t = e, n = V(() => [
3196
3196
  "rs-icon",
3197
3197
  `rs-icon--${t.family}`,
3198
3198
  `rs-icon--${t.color}`,
@@ -3202,23 +3202,23 @@ const Vr = ["aria-hidden", "aria-label", "role"], ee = /* @__PURE__ */ ht({
3202
3202
  "rs-icon--md": t.size === "md",
3203
3203
  "rs-icon--lg": t.size === "lg"
3204
3204
  }
3205
- ]), o = N(() => ({
3205
+ ]), o = V(() => ({
3206
3206
  "--rs-icon-fill": t.fill ? 1 : 0,
3207
3207
  "--rs-icon-grade": t.grade,
3208
3208
  "--rs-icon-optical-size": t.opticalSize,
3209
3209
  "--rs-icon-size": typeof t.size == "number" ? `${t.size}px` : void 0,
3210
3210
  "--rs-icon-weight": t.weight
3211
- })), r = N(() => t.ariaLabel ? void 0 : "true"), i = N(() => t.ariaLabel ? "img" : void 0);
3212
- return (s, l) => (v(), $("span", {
3211
+ })), r = V(() => t.ariaLabel ? void 0 : "true"), i = V(() => t.ariaLabel ? "img" : void 0);
3212
+ return (s, l) => (h(), k("span", {
3213
3213
  "aria-hidden": r.value,
3214
3214
  "aria-label": e.ariaLabel,
3215
- class: Q(n.value),
3215
+ class: q(n.value),
3216
3216
  role: i.value,
3217
- style: vt(o.value)
3218
- }, U(e.name), 15, Vr));
3217
+ style: Xt(o.value)
3218
+ }, D(e.name), 15, Vr));
3219
3219
  }
3220
3220
  }), Mr = /^[a-z0-9_]+$/;
3221
- function Ji(e, t = {}) {
3221
+ function oa(e, t = {}) {
3222
3222
  const n = t.family ?? "outlined", o = e.trim();
3223
3223
  if (!Mr.test(o))
3224
3224
  throw new Error(`Invalid Material Symbols icon name: "${e}"`);
@@ -3270,146 +3270,146 @@ const Br = { class: "rs-account-selector__trigger-avatar" }, Dr = ["src", "alt"]
3270
3270
  },
3271
3271
  emits: ["select-account", "action", "footer-action", "update:modelValue", "open", "close"],
3272
3272
  setup(e, { emit: t }) {
3273
- const n = e, o = t, r = oe(null), i = oe(null), s = oe(!1), l = oe("right"), a = N(() => n.modelValue !== null), u = N(
3273
+ const n = e, o = t, r = ne(null), i = ne(null), s = ne(!1), l = ne("right"), a = V(() => n.modelValue !== null), u = V(
3274
3274
  () => a.value ? !!n.modelValue : s.value
3275
- ), d = N(() => ({
3275
+ ), d = V(() => ({
3276
3276
  "--rs-account-selector-width": n.width
3277
- })), c = N(() => n.title ? n.title : n.accounts.length > 1 ? `Acceso a ${n.accounts.length} Cuentas` : "Acceso a"), p = N(
3277
+ })), c = V(() => n.title ? n.title : n.accounts.length > 1 ? `Acceso a ${n.accounts.length} Cuentas` : "Acceso a"), p = V(
3278
3278
  () => n.actions.filter((S) => S.visible !== !1)
3279
- ), f = N(
3279
+ ), f = V(
3280
3280
  () => n.footerActions.filter((S) => S.visible !== !1)
3281
- ), h = N(() => n.accounts.length > 1), y = {
3281
+ ), b = V(() => n.accounts.length > 1), y = {
3282
3282
  id: "profile",
3283
3283
  label: "Ver mi perfil"
3284
3284
  };
3285
- function g(S) {
3285
+ function v(S) {
3286
3286
  return S.variant === "danger" ? { severity: "danger", text: !0 } : { severity: "secondary", text: !0 };
3287
3287
  }
3288
3288
  function _(S) {
3289
- S.disabled || (o("action", S), B());
3289
+ S.disabled || (o("action", S), M());
3290
3290
  }
3291
3291
  function w(S) {
3292
- S.disabled || (o("footer-action", S), B());
3292
+ S.disabled || (o("footer-action", S), M());
3293
3293
  }
3294
- function I(S) {
3295
- !S.active && !S.disabled && (o("select-account", S), B());
3294
+ function T(S) {
3295
+ !S.active && !S.disabled && (o("select-account", S), M());
3296
3296
  }
3297
3297
  function m(S) {
3298
3298
  return (S?.trim() || "?").slice(0, 3);
3299
3299
  }
3300
- function k(S) {
3300
+ function $(S) {
3301
3301
  a.value || (s.value = S), o("update:modelValue", S), o(S ? "open" : "close");
3302
3302
  }
3303
3303
  function z() {
3304
- k(!u.value);
3304
+ $(!u.value);
3305
3305
  }
3306
- function B() {
3307
- u.value && k(!1);
3306
+ function M() {
3307
+ u.value && $(!1);
3308
3308
  }
3309
- async function W() {
3310
- await Gt();
3311
- const S = r.value, V = i.value;
3312
- if (!S || !V)
3309
+ async function U() {
3310
+ await Zt();
3311
+ const S = r.value, g = i.value;
3312
+ if (!S || !g)
3313
3313
  return;
3314
- const b = window.innerWidth, D = 16, x = S.getBoundingClientRect(), ie = V.getBoundingClientRect().width, de = x.left + ie <= b - D;
3315
- l.value = de ? "left" : "right";
3314
+ const O = window.innerWidth, x = 16, Q = S.getBoundingClientRect(), ce = g.getBoundingClientRect().width, se = Q.left + ce <= O - x;
3315
+ l.value = se ? "left" : "right";
3316
3316
  }
3317
- function F() {
3318
- u.value && W();
3317
+ function Y() {
3318
+ u.value && U();
3319
3319
  }
3320
- function q(S) {
3321
- const V = S.target;
3322
- V instanceof Node && r.value && !r.value.contains(V) && B();
3320
+ function X(S) {
3321
+ const g = S.target;
3322
+ g instanceof Node && r.value && !r.value.contains(g) && M();
3323
3323
  }
3324
3324
  return mt(() => {
3325
- document.addEventListener("pointerdown", q), window.addEventListener("resize", F), u.value && W();
3325
+ document.addEventListener("pointerdown", X), window.addEventListener("resize", Y), u.value && U();
3326
3326
  }), qt(() => {
3327
- document.removeEventListener("pointerdown", q), window.removeEventListener("resize", F);
3327
+ document.removeEventListener("pointerdown", X), window.removeEventListener("resize", Y);
3328
3328
  }), qe(u, (S) => {
3329
- S && W();
3330
- }), (S, V) => (v(), $("div", {
3329
+ S && U();
3330
+ }), (S, g) => (h(), k("div", {
3331
3331
  ref_key: "rootRef",
3332
3332
  ref: r,
3333
3333
  class: "rs-account-selector-host",
3334
- style: vt(d.value)
3334
+ style: Xt(d.value)
3335
3335
  }, [
3336
- te(R(fe), {
3336
+ de(H(Ce), {
3337
3337
  "aria-expanded": u.value,
3338
3338
  "aria-label": e.triggerAriaLabel,
3339
3339
  "aria-haspopup": "menu",
3340
- class: Q([
3340
+ class: q([
3341
3341
  "rs-account-selector__trigger",
3342
3342
  { "rs-account-selector__trigger--open": u.value }
3343
3343
  ]),
3344
3344
  text: "",
3345
3345
  onClick: Ke(z, ["stop"])
3346
3346
  }, {
3347
- default: re(() => [
3348
- te(R(ee), {
3347
+ default: be(() => [
3348
+ de(H(ee), {
3349
3349
  class: "rs-account-selector__trigger-chevron",
3350
3350
  family: "rounded",
3351
3351
  name: "arrow_drop_down",
3352
3352
  size: 22
3353
3353
  }),
3354
- M(S.$slots, "trigger-avatar", { user: e.user }, () => [
3355
- T("span", Br, [
3356
- e.user.avatarSrc ? (v(), $("img", {
3354
+ B(S.$slots, "trigger-avatar", { user: e.user }, () => [
3355
+ I("span", Br, [
3356
+ e.user.avatarSrc ? (h(), k("img", {
3357
3357
  key: 0,
3358
3358
  class: "rs-account-selector__avatar-image",
3359
3359
  src: e.user.avatarSrc,
3360
3360
  alt: e.user.name || e.user.email
3361
- }, null, 8, Dr)) : (v(), $("span", Rr, U(m(e.user.initials)), 1))
3361
+ }, null, 8, Dr)) : (h(), k("span", Rr, D(m(e.user.initials)), 1))
3362
3362
  ])
3363
3363
  ])
3364
3364
  ]),
3365
3365
  _: 3
3366
3366
  }, 8, ["aria-expanded", "aria-label", "class"]),
3367
- u.value ? (v(), $("section", {
3367
+ u.value ? (h(), k("section", {
3368
3368
  key: 0,
3369
3369
  ref_key: "panelRef",
3370
3370
  ref: i,
3371
3371
  "aria-busy": e.loading || void 0,
3372
- class: Q([
3372
+ class: q([
3373
3373
  "rs-account-selector",
3374
3374
  `rs-account-selector--align-${l.value}`
3375
3375
  ])
3376
3376
  }, [
3377
- T("header", Kr, [
3378
- M(S.$slots, "user-avatar", { user: e.user }, () => [
3379
- T("span", Hr, [
3380
- T("span", Wr, [
3381
- e.user.avatarSrc ? (v(), $("img", {
3377
+ I("header", Kr, [
3378
+ B(S.$slots, "user-avatar", { user: e.user }, () => [
3379
+ I("span", Hr, [
3380
+ I("span", Wr, [
3381
+ e.user.avatarSrc ? (h(), k("img", {
3382
3382
  key: 0,
3383
3383
  class: "rs-account-selector__avatar-image",
3384
3384
  src: e.user.avatarSrc,
3385
3385
  alt: e.user.name || e.user.email
3386
- }, null, 8, Fr)) : (v(), $("span", Zr, U(m(e.user.initials)), 1))
3386
+ }, null, 8, Fr)) : (h(), k("span", Zr, D(m(e.user.initials)), 1))
3387
3387
  ]),
3388
- e.user.secondaryAvatarSrc ? (v(), $("span", Gr, [
3389
- T("img", {
3388
+ e.user.secondaryAvatarSrc ? (h(), k("span", Gr, [
3389
+ I("img", {
3390
3390
  class: "rs-account-selector__avatar-image",
3391
3391
  src: e.user.secondaryAvatarSrc,
3392
3392
  alt: e.user.name || e.user.email
3393
3393
  }, null, 8, Yr)
3394
- ])) : E("", !0)
3394
+ ])) : N("", !0)
3395
3395
  ])
3396
3396
  ]),
3397
- T("div", Xr, [
3398
- T("p", qr, U(c.value), 1),
3399
- e.user.name ? (v(), $("p", Qr, U(e.user.name), 1)) : E("", !0),
3400
- T("p", Jr, U(e.user.email), 1)
3397
+ I("div", Xr, [
3398
+ I("p", qr, D(c.value), 1),
3399
+ e.user.name ? (h(), k("p", Qr, D(e.user.name), 1)) : N("", !0),
3400
+ I("p", Jr, D(e.user.email), 1)
3401
3401
  ]),
3402
- M(S.$slots, "actions", { actions: p.value }, () => [
3403
- T("div", ei, [
3404
- te(R(fe), {
3402
+ B(S.$slots, "actions", { actions: p.value }, () => [
3403
+ I("div", ei, [
3404
+ de(H(Ce), {
3405
3405
  class: "rs-account-selector__button rs-account-selector__profile-button",
3406
3406
  severity: "secondary",
3407
3407
  outlined: "",
3408
3408
  rounded: "",
3409
3409
  size: "small",
3410
- onClick: V[0] || (V[0] = Ke((b) => _(y), ["stop"]))
3410
+ onClick: g[0] || (g[0] = Ke((O) => _(y), ["stop"]))
3411
3411
  }, {
3412
- default: re(() => [...V[1] || (V[1] = [
3412
+ default: be(() => [...g[1] || (g[1] = [
3413
3413
  bt(" Ver mi perfil ", -1)
3414
3414
  ])]),
3415
3415
  _: 1
@@ -3417,77 +3417,77 @@ const Br = { class: "rs-account-selector__trigger-avatar" }, Dr = ["src", "alt"]
3417
3417
  ])
3418
3418
  ])
3419
3419
  ]),
3420
- e.loading ? (v(), $("p", ti, " Cargando cuentas... ")) : e.accounts.length === 0 ? M(S.$slots, "empty", { key: 1 }, () => [
3421
- T("p", ni, U(e.emptyText), 1)
3422
- ]) : h.value ? (v(), $("div", oi, [
3423
- (v(!0), $(le, null, Oe(e.accounts, (b) => (v(), H(R(fe), {
3424
- key: b.id,
3425
- class: Q([
3420
+ e.loading ? (h(), k("p", ti, " Cargando cuentas... ")) : e.accounts.length === 0 ? B(S.$slots, "empty", { key: 1 }, () => [
3421
+ I("p", ni, D(e.emptyText), 1)
3422
+ ]) : b.value ? (h(), k("div", oi, [
3423
+ (h(!0), k(ie, null, we(e.accounts, (O) => (h(), K(H(Ce), {
3424
+ key: O.id,
3425
+ class: q([
3426
3426
  "rs-account-selector__account",
3427
3427
  {
3428
- "rs-account-selector__account--active": b.active,
3429
- "rs-account-selector__account--disabled": b.disabled
3428
+ "rs-account-selector__account--active": O.active,
3429
+ "rs-account-selector__account--disabled": O.disabled
3430
3430
  }
3431
3431
  ]),
3432
- disabled: b.active || b.disabled,
3432
+ disabled: O.active || O.disabled,
3433
3433
  text: "",
3434
3434
  severity: "secondary",
3435
- onClick: Ke((D) => I(b), ["stop"])
3435
+ onClick: Ke((x) => T(O), ["stop"])
3436
3436
  }, {
3437
- default: re(() => [
3438
- M(S.$slots, "account-avatar", { account: b }, () => [
3439
- T("span", ri, [
3440
- b.avatarSrc ? (v(), $("img", {
3437
+ default: be(() => [
3438
+ B(S.$slots, "account-avatar", { account: O }, () => [
3439
+ I("span", ri, [
3440
+ O.avatarSrc ? (h(), k("img", {
3441
3441
  key: 0,
3442
3442
  class: "rs-account-selector__avatar-image",
3443
- src: b.avatarSrc,
3444
- alt: b.label
3445
- }, null, 8, ii)) : (v(), $("span", ai, U(m(b.initials)), 1))
3443
+ src: O.avatarSrc,
3444
+ alt: O.label
3445
+ }, null, 8, ii)) : (h(), k("span", ai, D(m(O.initials)), 1))
3446
3446
  ])
3447
3447
  ]),
3448
- T("span", si, [
3449
- T("span", li, U(b.label), 1),
3450
- T("span", {
3451
- class: Q([
3448
+ I("span", si, [
3449
+ I("span", li, D(O.label), 1),
3450
+ I("span", {
3451
+ class: q([
3452
3452
  "rs-account-selector__account-state",
3453
- b.active ? "rs-account-selector__account-state--active" : "rs-account-selector__account-state--inactive"
3453
+ O.active ? "rs-account-selector__account-state--active" : "rs-account-selector__account-state--inactive"
3454
3454
  ])
3455
- }, U(b.active ? e.activeText : e.selectText), 3)
3455
+ }, D(O.active ? e.activeText : e.selectText), 3)
3456
3456
  ]),
3457
- T("span", ui, [
3458
- M(S.$slots, "account-trailing", { account: b }, () => [
3459
- te(R(ee), { name: "login" })
3457
+ I("span", ui, [
3458
+ B(S.$slots, "account-trailing", { account: O }, () => [
3459
+ de(H(ee), { name: "login" })
3460
3460
  ])
3461
3461
  ])
3462
3462
  ]),
3463
3463
  _: 2
3464
3464
  }, 1032, ["class", "disabled", "onClick"]))), 128))
3465
- ])) : E("", !0),
3466
- M(S.$slots, "footer", { actions: f.value }, () => [
3467
- f.value.length > 0 ? (v(), $("footer", di, [
3468
- (v(!0), $(le, null, Oe(f.value, (b) => (v(), H(R(fe), L({
3469
- key: b.id,
3465
+ ])) : N("", !0),
3466
+ B(S.$slots, "footer", { actions: f.value }, () => [
3467
+ f.value.length > 0 ? (h(), k("footer", di, [
3468
+ (h(!0), k(ie, null, we(f.value, (O) => (h(), K(H(Ce), j({
3469
+ key: O.id,
3470
3470
  class: "rs-account-selector__button",
3471
- disabled: b.disabled,
3471
+ disabled: O.disabled,
3472
3472
  size: "small"
3473
- }, { ref_for: !0 }, g(b), {
3474
- onClick: Ke((D) => w(b), ["stop"])
3473
+ }, { ref_for: !0 }, v(O), {
3474
+ onClick: Ke((x) => w(O), ["stop"])
3475
3475
  }), {
3476
- default: re(() => [
3477
- T("span", ci, [
3478
- T("span", null, U(b.label), 1),
3479
- b.icon ? (v(), H(R(ee), {
3476
+ default: be(() => [
3477
+ I("span", ci, [
3478
+ I("span", null, D(O.label), 1),
3479
+ O.icon ? (h(), K(H(ee), {
3480
3480
  key: 0,
3481
- name: b.icon,
3481
+ name: O.icon,
3482
3482
  size: "sm"
3483
- }, null, 8, ["name"])) : E("", !0)
3483
+ }, null, 8, ["name"])) : N("", !0)
3484
3484
  ])
3485
3485
  ]),
3486
3486
  _: 2
3487
3487
  }, 1040, ["disabled", "onClick"]))), 128))
3488
- ])) : E("", !0)
3488
+ ])) : N("", !0)
3489
3489
  ])
3490
- ], 10, Ur)) : E("", !0)
3490
+ ], 10, Ur)) : N("", !0)
3491
3491
  ], 4));
3492
3492
  }
3493
3493
  });
@@ -3551,7 +3551,7 @@ var gi = /* @__PURE__ */ (function() {
3551
3551
  this.unbindScrollListener(), this.element = null, this.listener = null, this.scrollableParents = null;
3552
3552
  }
3553
3553
  }]);
3554
- })(), yi = gt(), vn = {
3554
+ })(), yi = vt(), vn = {
3555
3555
  name: "Portal",
3556
3556
  props: {
3557
3557
  appendTo: {
@@ -3578,12 +3578,12 @@ var gi = /* @__PURE__ */ (function() {
3578
3578
  }
3579
3579
  };
3580
3580
  function _i(e, t, n, o, r, i) {
3581
- return i.inline ? M(e.$slots, "default", {
3581
+ return i.inline ? B(e.$slots, "default", {
3582
3582
  key: 0
3583
- }) : r.mounted ? (v(), H(Dn, {
3583
+ }) : r.mounted ? (h(), K(Dn, {
3584
3584
  key: 1,
3585
3585
  to: n.appendTo
3586
- }, [M(e.$slots, "default")], 8, ["to"])) : E("", !0);
3586
+ }, [B(e.$slots, "default")], 8, ["to"])) : N("", !0);
3587
3587
  }
3588
3588
  vn.render = _i;
3589
3589
  var Si = `
@@ -3691,7 +3691,7 @@ var Si = `
3691
3691
  itemLink: "p-menu-item-link",
3692
3692
  itemIcon: "p-menu-item-icon",
3693
3693
  itemLabel: "p-menu-item-label"
3694
- }, $i = K.extend({
3694
+ }, $i = R.extend({
3695
3695
  name: "menu",
3696
3696
  style: Si,
3697
3697
  classes: ki
@@ -3754,7 +3754,7 @@ var Si = `
3754
3754
  },
3755
3755
  methods: {
3756
3756
  getItemProp: function(t, n) {
3757
- return t && t.item ? Y(t.item[n]) : void 0;
3757
+ return t && t.item ? Z(t.item[n]) : void 0;
3758
3758
  },
3759
3759
  getPTOptions: function(t) {
3760
3760
  return this.ptm(t, {
@@ -3798,14 +3798,14 @@ var Si = `
3798
3798
  },
3799
3799
  getMenuItemProps: function(t) {
3800
3800
  return {
3801
- action: L({
3801
+ action: j({
3802
3802
  class: this.cx("itemLink"),
3803
3803
  tabindex: "-1"
3804
3804
  }, this.getPTOptions("itemLink")),
3805
- icon: L({
3805
+ icon: j({
3806
3806
  class: [this.cx("itemIcon"), t.icon]
3807
3807
  }, this.getPTOptions("itemIcon")),
3808
- label: L({
3808
+ label: j({
3809
3809
  class: this.cx("itemLabel")
3810
3810
  }, this.getPTOptions("itemLabel"))
3811
3811
  };
@@ -3813,7 +3813,7 @@ var Si = `
3813
3813
  },
3814
3814
  computed: {
3815
3815
  dataP: function() {
3816
- return ve({
3816
+ return he({
3817
3817
  focus: this.isItemFocused(),
3818
3818
  disabled: this.disabled()
3819
3819
  });
@@ -3824,8 +3824,8 @@ var Si = `
3824
3824
  }
3825
3825
  }, Oi = ["id", "aria-label", "aria-disabled", "data-p-focused", "data-p-disabled", "data-p"], Pi = ["data-p"], xi = ["href", "target"], Ci = ["data-p"], Ti = ["data-p"];
3826
3826
  function Li(e, t, n, o, r, i) {
3827
- var s = Yt("ripple");
3828
- return i.visible() ? (v(), $("li", L({
3827
+ var s = Gt("ripple");
3828
+ return i.visible() ? (h(), k("li", j({
3829
3829
  key: 0,
3830
3830
  id: n.id,
3831
3831
  class: [e.cx("item"), n.item.class],
@@ -3836,7 +3836,7 @@ function Li(e, t, n, o, r, i) {
3836
3836
  "data-p-focused": i.isItemFocused(),
3837
3837
  "data-p-disabled": i.disabled() || !1,
3838
3838
  "data-p": i.dataP
3839
- }, i.getPTOptions("item")), [T("div", L({
3839
+ }, i.getPTOptions("item")), [I("div", j({
3840
3840
  class: e.cx("itemContent"),
3841
3841
  onClick: t[0] || (t[0] = function(l) {
3842
3842
  return i.onItemClick(l);
@@ -3845,32 +3845,32 @@ function Li(e, t, n, o, r, i) {
3845
3845
  return i.onItemMouseMove(l);
3846
3846
  }),
3847
3847
  "data-p": i.dataP
3848
- }, i.getPTOptions("itemContent")), [n.templates.item ? n.templates.item ? (v(), H(at(n.templates.item), {
3848
+ }, i.getPTOptions("itemContent")), [n.templates.item ? n.templates.item ? (h(), K(at(n.templates.item), {
3849
3849
  key: 1,
3850
3850
  item: n.item,
3851
3851
  label: i.label(),
3852
3852
  props: i.getMenuItemProps(n.item)
3853
- }, null, 8, ["item", "label", "props"])) : E("", !0) : Xt((v(), $("a", L({
3853
+ }, null, 8, ["item", "label", "props"])) : N("", !0) : Yt((h(), k("a", j({
3854
3854
  key: 0,
3855
3855
  href: n.item.url,
3856
3856
  class: e.cx("itemLink"),
3857
3857
  target: n.item.target,
3858
3858
  tabindex: "-1"
3859
- }, i.getPTOptions("itemLink")), [n.templates.itemicon ? (v(), H(at(n.templates.itemicon), {
3859
+ }, i.getPTOptions("itemLink")), [n.templates.itemicon ? (h(), K(at(n.templates.itemicon), {
3860
3860
  key: 0,
3861
3861
  item: n.item,
3862
- class: Q(e.cx("itemIcon"))
3863
- }, null, 8, ["item", "class"])) : n.item.icon ? (v(), $("span", L({
3862
+ class: q(e.cx("itemIcon"))
3863
+ }, null, 8, ["item", "class"])) : n.item.icon ? (h(), k("span", j({
3864
3864
  key: 1,
3865
3865
  class: [e.cx("itemIcon"), n.item.icon],
3866
3866
  "data-p": i.dataP
3867
- }, i.getPTOptions("itemIcon")), null, 16, Ci)) : E("", !0), T("span", L({
3867
+ }, i.getPTOptions("itemIcon")), null, 16, Ci)) : N("", !0), I("span", j({
3868
3868
  class: e.cx("itemLabel"),
3869
3869
  "data-p": i.dataP
3870
- }, i.getPTOptions("itemLabel")), U(i.label()), 17, Ti)], 16, xi)), [[s]])], 16, Pi)], 16, Oi)) : E("", !0);
3870
+ }, i.getPTOptions("itemLabel")), D(i.label()), 17, Ti)], 16, xi)), [[s]])], 16, Pi)], 16, Oi)) : N("", !0);
3871
3871
  }
3872
3872
  gn.render = Li;
3873
- function Zt(e) {
3873
+ function Ft(e) {
3874
3874
  return Ei(e) || Ai(e) || ji(e) || Ii();
3875
3875
  }
3876
3876
  function Ii() {
@@ -3988,13 +3988,13 @@ var yn = {
3988
3988
  this.onEnterKey(t);
3989
3989
  },
3990
3990
  findNextOptionIndex: function(t) {
3991
- var n = He(this.container, 'li[data-pc-section="item"][data-p-disabled="false"]'), o = Zt(n).findIndex(function(r) {
3991
+ var n = He(this.container, 'li[data-pc-section="item"][data-p-disabled="false"]'), o = Ft(n).findIndex(function(r) {
3992
3992
  return r.id === t;
3993
3993
  });
3994
3994
  return o > -1 ? o + 1 : 0;
3995
3995
  },
3996
3996
  findPrevOptionIndex: function(t) {
3997
- var n = He(this.container, 'li[data-pc-section="item"][data-p-disabled="false"]'), o = Zt(n).findIndex(function(r) {
3997
+ var n = He(this.container, 'li[data-pc-section="item"][data-p-disabled="false"]'), o = Ft(n).findIndex(function(r) {
3998
3998
  return r.id === t;
3999
3999
  });
4000
4000
  return o > -1 ? o - 1 : 0;
@@ -4084,7 +4084,7 @@ var yn = {
4084
4084
  return this.focusedOptionIndex !== -1 ? this.focusedOptionIndex : null;
4085
4085
  },
4086
4086
  dataP: function() {
4087
- return ve({
4087
+ return he({
4088
4088
  popup: this.popup
4089
4089
  });
4090
4090
  }
@@ -4096,19 +4096,19 @@ var yn = {
4096
4096
  }, Ni = ["id", "data-p"], zi = ["id", "tabindex", "aria-activedescendant", "aria-label", "aria-labelledby"], Vi = ["id"];
4097
4097
  function Mi(e, t, n, o, r, i) {
4098
4098
  var s = Qe("PVMenuitem"), l = Qe("Portal");
4099
- return v(), H(l, {
4099
+ return h(), K(l, {
4100
4100
  appendTo: e.appendTo,
4101
4101
  disabled: !e.popup
4102
4102
  }, {
4103
- default: re(function() {
4104
- return [te(Rn, L({
4103
+ default: be(function() {
4104
+ return [de(Rn, j({
4105
4105
  name: "p-anchored-overlay",
4106
4106
  onEnter: i.onEnter,
4107
4107
  onLeave: i.onLeave,
4108
4108
  onAfterLeave: i.onAfterLeave
4109
4109
  }, e.ptm("transition")), {
4110
- default: re(function() {
4111
- return [!e.popup || r.overlayVisible ? (v(), $("div", L({
4110
+ default: be(function() {
4111
+ return [!e.popup || r.overlayVisible ? (h(), k("div", j({
4112
4112
  key: 0,
4113
4113
  ref: i.containerRef,
4114
4114
  id: e.$id,
@@ -4117,10 +4117,10 @@ function Mi(e, t, n, o, r, i) {
4117
4117
  return i.onOverlayClick && i.onOverlayClick.apply(i, arguments);
4118
4118
  }),
4119
4119
  "data-p": i.dataP
4120
- }, e.ptmi("root")), [e.$slots.start ? (v(), $("div", L({
4120
+ }, e.ptmi("root")), [e.$slots.start ? (h(), k("div", j({
4121
4121
  key: 0,
4122
4122
  class: e.cx("start")
4123
- }, e.ptm("start")), [M(e.$slots, "start")], 16)) : E("", !0), T("ul", L({
4123
+ }, e.ptm("start")), [B(e.$slots, "start")], 16)) : N("", !0), I("ul", j({
4124
4124
  ref: i.listRef,
4125
4125
  id: e.$id + "_list",
4126
4126
  class: e.cx("list"),
@@ -4138,26 +4138,26 @@ function Mi(e, t, n, o, r, i) {
4138
4138
  onKeydown: t[2] || (t[2] = function() {
4139
4139
  return i.onListKeyDown && i.onListKeyDown.apply(i, arguments);
4140
4140
  })
4141
- }, e.ptm("list")), [(v(!0), $(le, null, Oe(e.model, function(a, u) {
4142
- return v(), $(le, {
4141
+ }, e.ptm("list")), [(h(!0), k(ie, null, we(e.model, function(a, u) {
4142
+ return h(), k(ie, {
4143
4143
  key: i.label(a) + u.toString()
4144
- }, [a.items && i.visible(a) && !a.separator ? (v(), $(le, {
4144
+ }, [a.items && i.visible(a) && !a.separator ? (h(), k(ie, {
4145
4145
  key: 0
4146
- }, [a.items ? (v(), $("li", L({
4146
+ }, [a.items ? (h(), k("li", j({
4147
4147
  key: 0,
4148
4148
  id: e.$id + "_" + u,
4149
4149
  class: [e.cx("submenuLabel"), a.class],
4150
4150
  role: "none"
4151
4151
  }, {
4152
4152
  ref_for: !0
4153
- }, e.ptm("submenuLabel")), [M(e.$slots, e.$slots.submenulabel ? "submenulabel" : "submenuheader", {
4153
+ }, e.ptm("submenuLabel")), [B(e.$slots, e.$slots.submenulabel ? "submenulabel" : "submenuheader", {
4154
4154
  item: a
4155
4155
  }, function() {
4156
- return [bt(U(i.label(a)), 1)];
4157
- })], 16, Vi)) : E("", !0), (v(!0), $(le, null, Oe(a.items, function(d, c) {
4158
- return v(), $(le, {
4156
+ return [bt(D(i.label(a)), 1)];
4157
+ })], 16, Vi)) : N("", !0), (h(!0), k(ie, null, we(a.items, function(d, c) {
4158
+ return h(), k(ie, {
4159
4159
  key: d.label + u + "_" + c
4160
- }, [i.visible(d) && !d.separator ? (v(), H(s, {
4160
+ }, [i.visible(d) && !d.separator ? (h(), K(s, {
4161
4161
  key: 0,
4162
4162
  id: e.$id + "_" + u + "_" + c,
4163
4163
  item: d,
@@ -4167,22 +4167,22 @@ function Mi(e, t, n, o, r, i) {
4167
4167
  onItemClick: i.itemClick,
4168
4168
  onItemMousemove: i.itemMouseMove,
4169
4169
  pt: e.pt
4170
- }, null, 8, ["id", "item", "templates", "focusedOptionId", "unstyled", "onItemClick", "onItemMousemove", "pt"])) : i.visible(d) && d.separator ? (v(), $("li", L({
4170
+ }, null, 8, ["id", "item", "templates", "focusedOptionId", "unstyled", "onItemClick", "onItemMousemove", "pt"])) : i.visible(d) && d.separator ? (h(), k("li", j({
4171
4171
  key: "separator" + u + c,
4172
4172
  class: [e.cx("separator"), a.class],
4173
4173
  style: d.style,
4174
4174
  role: "separator"
4175
4175
  }, {
4176
4176
  ref_for: !0
4177
- }, e.ptm("separator")), null, 16)) : E("", !0)], 64);
4178
- }), 128))], 64)) : i.visible(a) && a.separator ? (v(), $("li", L({
4177
+ }, e.ptm("separator")), null, 16)) : N("", !0)], 64);
4178
+ }), 128))], 64)) : i.visible(a) && a.separator ? (h(), k("li", j({
4179
4179
  key: "separator" + u.toString(),
4180
4180
  class: [e.cx("separator"), a.class],
4181
4181
  style: a.style,
4182
4182
  role: "separator"
4183
4183
  }, {
4184
4184
  ref_for: !0
4185
- }, e.ptm("separator")), null, 16)) : (v(), H(s, {
4185
+ }, e.ptm("separator")), null, 16)) : (h(), K(s, {
4186
4186
  key: i.label(a) + u.toString(),
4187
4187
  id: e.$id + "_" + u,
4188
4188
  item: a,
@@ -4194,10 +4194,10 @@ function Mi(e, t, n, o, r, i) {
4194
4194
  onItemMousemove: i.itemMouseMove,
4195
4195
  pt: e.pt
4196
4196
  }, null, 8, ["id", "item", "index", "templates", "focusedOptionId", "unstyled", "onItemClick", "onItemMousemove", "pt"]))], 64);
4197
- }), 128))], 16, zi), e.$slots.end ? (v(), $("div", L({
4197
+ }), 128))], 16, zi), e.$slots.end ? (h(), k("div", j({
4198
4198
  key: 1,
4199
4199
  class: e.cx("end")
4200
- }, e.ptm("end")), [M(e.$slots, "end")], 16)) : E("", !0)], 16, Ni)) : E("", !0)];
4200
+ }, e.ptm("end")), [B(e.$slots, "end")], 16)) : N("", !0)], 16, Ni)) : N("", !0)];
4201
4201
  }),
4202
4202
  _: 3
4203
4203
  }, 16, ["onEnter", "onLeave", "onAfterLeave"])];
@@ -4206,14 +4206,14 @@ function Mi(e, t, n, o, r, i) {
4206
4206
  }, 8, ["appendTo", "disabled"]);
4207
4207
  }
4208
4208
  yn.render = Mi;
4209
- const Bi = ["aria-label"], Di = { class: "rs-sidebar__header" }, Ri = { class: "rs-sidebar__title" }, Ui = { class: "rs-sidebar__title" }, Ki = { class: "rs-sidebar__content" }, Hi = {
4209
+ const Bi = ["aria-label"], Di = { class: "rs-sidebar__header" }, Ri = ["aria-expanded"], Ui = { class: "rs-sidebar__title" }, Ki = { class: "rs-sidebar__title" }, Hi = ["aria-label"], Wi = { class: "rs-sidebar__content" }, Fi = {
4210
4210
  class: "rs-sidebar__nav",
4211
4211
  "aria-label": "Secciones"
4212
- }, Wi = { class: "rs-sidebar__list" }, Fi = { class: "rs-sidebar__item-label" }, Zi = {
4212
+ }, Zi = { class: "rs-sidebar__list" }, Gi = ["disabled", "onClick"], Yi = { class: "rs-sidebar__item-label" }, Xi = {
4213
4213
  key: 0,
4214
4214
  class: "rs-sidebar__footer",
4215
4215
  "aria-label": "Acciones secundarias"
4216
- }, Gi = { class: "rs-sidebar__list" }, Yi = { class: "rs-sidebar__item-label" }, Xi = /* @__PURE__ */ ht({
4216
+ }, qi = { class: "rs-sidebar__list" }, Qi = ["disabled", "onClick"], Ji = { class: "rs-sidebar__item-label" }, ea = /* @__PURE__ */ ht({
4217
4217
  name: "RsSidebar",
4218
4218
  __name: "RsSidebar",
4219
4219
  props: {
@@ -4226,31 +4226,29 @@ const Bi = ["aria-label"], Di = { class: "rs-sidebar__header" }, Ri = { class: "
4226
4226
  expanded: { type: Boolean, default: !1 },
4227
4227
  expandOnHover: { type: Boolean, default: !0 },
4228
4228
  mobileOpen: { type: Boolean, default: !1 },
4229
- widthCollapsed: { default: "42px" },
4230
- widthExpanded: { default: "150px" },
4231
4229
  ariaLabel: { default: "Navegacion principal" },
4232
4230
  variant: { default: "cyo" }
4233
4231
  },
4234
4232
  emits: ["item-click", "close-mobile", "expanded-change", "module-select"],
4235
4233
  setup(e, { emit: t }) {
4236
- const n = e, o = t, r = oe(!1), i = oe(null), s = oe(!1), l = oe(null), a = N(() => n.items.filter(m)), u = N(() => n.footerItems.filter(m)), d = N(() => n.modules), c = N(
4237
- () => n.modules.find((b) => b.active) ?? n.modules.find((b) => b.text === n.title) ?? n.modules[0] ?? null
4238
- ), p = N(() => i.value?.label || c.value?.text || n.title), f = N(
4239
- () => d.value.map((b) => ({
4234
+ const n = e, o = t, r = ne(!1), i = ne(null), s = ne(!1), l = ne(null), a = V(() => n.items.filter(T)), u = V(() => n.footerItems.filter(T)), d = V(() => n.modules), c = V(
4235
+ () => n.modules.find((g) => g.active) ?? n.modules.find((g) => g.text === n.title) ?? n.modules[0] ?? null
4236
+ ), p = V(() => i.value?.label || c.value?.text || n.title), f = V(
4237
+ () => d.value.map((g) => ({
4240
4238
  class: [
4241
4239
  "rs-sidebar__module-option",
4242
4240
  {
4243
- "rs-sidebar__module-option--active": b.active || b.text === p.value,
4244
- "rs-sidebar__module-option--disabled": b.disabled
4241
+ "rs-sidebar__module-option--active": g.active || g.text === p.value,
4242
+ "rs-sidebar__module-option--disabled": g.disabled
4245
4243
  }
4246
4244
  ],
4247
- command: () => S(b),
4248
- disabled: b.disabled,
4249
- label: b.text
4245
+ command: () => X(g),
4246
+ disabled: g.disabled,
4247
+ label: g.text
4250
4248
  }))
4251
- ), h = N(
4252
- () => i.value ? i.value.children?.filter(m) ?? [] : a.value
4253
- ), y = N(() => n.expanded || n.mobileOpen || r.value), g = N(() => n.mobileOpen || !!i.value), _ = N(() => !i.value && n.modules.length > 0), w = N(() => [
4249
+ ), b = V(
4250
+ () => i.value ? i.value.children?.filter(T) ?? [] : a.value
4251
+ ), y = V(() => n.expanded || n.mobileOpen || r.value), v = V(() => n.mobileOpen || !!i.value), _ = V(() => !i.value && n.modules.length > 0), w = V(() => [
4254
4252
  "rs-sidebar",
4255
4253
  `rs-sidebar--${n.variant}`,
4256
4254
  {
@@ -4258,14 +4256,11 @@ const Bi = ["aria-label"], Di = { class: "rs-sidebar__header" }, Ri = { class: "
4258
4256
  "rs-sidebar--mobile-open": n.mobileOpen,
4259
4257
  "rs-sidebar--submenu": !!i.value
4260
4258
  }
4261
- ]), I = N(() => ({
4262
- "--rs-sidebar-width-collapsed": n.widthCollapsed,
4263
- "--rs-sidebar-width-expanded": n.widthExpanded
4264
- }));
4259
+ ]);
4265
4260
  qe(
4266
4261
  () => n.mobileOpen,
4267
- (b) => {
4268
- b || (i.value = null), s.value = !1;
4262
+ (g) => {
4263
+ g || (i.value = null), s.value = !1;
4269
4264
  }
4270
4265
  ), qe(
4271
4266
  () => i.value,
@@ -4273,187 +4268,173 @@ const Bi = ["aria-label"], Di = { class: "rs-sidebar__header" }, Ri = { class: "
4273
4268
  s.value = !1;
4274
4269
  }
4275
4270
  ), mt(() => {
4276
- document.addEventListener("pointerdown", V);
4271
+ document.addEventListener("pointerdown", S);
4277
4272
  }), qt(() => {
4278
- document.removeEventListener("pointerdown", V);
4273
+ document.removeEventListener("pointerdown", S);
4279
4274
  });
4280
- function m(b) {
4281
- return b.visible !== !1;
4275
+ function T(g) {
4276
+ return g.visible !== !1;
4282
4277
  }
4283
- function k(b) {
4284
- return (b.children ?? []).some(m);
4278
+ function m(g) {
4279
+ return (g.children ?? []).some(T);
4285
4280
  }
4286
- function z(b) {
4287
- !n.expandOnHover || n.mobileOpen || (r.value = b, b || (s.value = !1), o("expanded-change", y.value));
4281
+ function $(g) {
4282
+ !n.expandOnHover || n.mobileOpen || (r.value = g, g || (s.value = !1), o("expanded-change", y.value));
4288
4283
  }
4289
- function B(b) {
4290
- if (!b.disabled) {
4291
- if (k(b)) {
4292
- i.value = b;
4284
+ function z(g) {
4285
+ if (!g.disabled) {
4286
+ if (m(g)) {
4287
+ i.value = g;
4293
4288
  return;
4294
4289
  }
4295
- o("item-click", b);
4290
+ o("item-click", g);
4296
4291
  }
4297
4292
  }
4298
- function W() {
4293
+ function M() {
4299
4294
  i.value = null;
4300
4295
  }
4301
- function F() {
4296
+ function U() {
4302
4297
  i.value = null, s.value = !1, o("close-mobile");
4303
4298
  }
4304
- function q() {
4299
+ function Y() {
4305
4300
  !_.value || !y.value || (s.value = !s.value);
4306
4301
  }
4307
- function S(b) {
4308
- b.disabled || (s.value = !1, o("module-select", b), n.navigateOnModuleSelect && typeof window < "u" && b.link && (window.location.href = b.link));
4302
+ function X(g) {
4303
+ g.disabled || (s.value = !1, o("module-select", g), n.navigateOnModuleSelect && typeof window < "u" && g.link && (window.location.href = g.link));
4309
4304
  }
4310
- function V(b) {
4311
- !s.value || !l.value || l.value.contains(b.target) || (s.value = !1);
4305
+ function S(g) {
4306
+ !s.value || !l.value || l.value.contains(g.target) || (s.value = !1);
4312
4307
  }
4313
- return (b, D) => (v(), $("aside", {
4308
+ return (g, O) => (h(), k("aside", {
4314
4309
  ref_key: "rootElement",
4315
4310
  ref: l,
4316
4311
  "aria-label": e.ariaLabel,
4317
- class: Q(w.value),
4318
- style: vt(I.value),
4319
- onMouseenter: D[1] || (D[1] = (x) => z(!0)),
4320
- onMouseleave: D[2] || (D[2] = (x) => z(!1))
4312
+ class: q(w.value),
4313
+ onMouseenter: O[1] || (O[1] = (x) => $(!0)),
4314
+ onMouseleave: O[2] || (O[2] = (x) => $(!1))
4321
4315
  }, [
4322
- M(b.$slots, "header", {
4316
+ B(g.$slots, "header", {
4323
4317
  expanded: y.value,
4324
4318
  activeParent: i.value,
4325
- closeMobile: F,
4326
- goBack: W
4319
+ closeMobile: U,
4320
+ goBack: M
4327
4321
  }, () => [
4328
- T("header", Di, [
4329
- T("div", {
4330
- class: Q([
4322
+ I("header", Di, [
4323
+ I("div", {
4324
+ class: q([
4331
4325
  "rs-sidebar__brand",
4332
4326
  {
4333
4327
  "rs-sidebar__brand--trigger": _.value
4334
4328
  }
4335
4329
  ])
4336
4330
  }, [
4337
- _.value ? (v(), H(R(fe), {
4331
+ _.value ? (h(), k("button", {
4338
4332
  key: 0,
4339
4333
  class: "rs-sidebar__module-trigger",
4334
+ type: "button",
4340
4335
  "aria-expanded": s.value,
4341
- "aria-haspopup": !0,
4342
- text: "",
4343
- severity: "secondary",
4344
- onClick: q
4345
- }, {
4346
- default: re(() => [
4347
- te(R(ee), {
4348
- name: e.icon,
4349
- size: "sm"
4350
- }, null, 8, ["name"]),
4351
- T("span", Ri, U(p.value), 1),
4352
- te(R(ee), {
4353
- class: "rs-sidebar__module-chevron",
4354
- name: s.value ? "arrow_drop_up" : "arrow_drop_down",
4355
- size: "sm"
4356
- }, null, 8, ["name"])
4357
- ]),
4358
- _: 1
4359
- }, 8, ["aria-expanded"])) : (v(), $(le, { key: 1 }, [
4360
- te(R(ee), {
4336
+ "aria-haspopup": "menu",
4337
+ onClick: Y
4338
+ }, [
4339
+ de(H(ee), {
4340
+ name: e.icon,
4341
+ size: "sm"
4342
+ }, null, 8, ["name"]),
4343
+ I("span", Ui, D(p.value), 1),
4344
+ de(H(ee), {
4345
+ class: "rs-sidebar__module-chevron",
4346
+ name: s.value ? "arrow_drop_up" : "arrow_drop_down",
4347
+ size: "sm"
4348
+ }, null, 8, ["name"])
4349
+ ], 8, Ri)) : (h(), k(ie, { key: 1 }, [
4350
+ de(H(ee), {
4361
4351
  name: e.icon,
4362
4352
  size: "sm"
4363
4353
  }, null, 8, ["name"]),
4364
- T("span", Ui, U(p.value), 1)
4354
+ I("span", Ki, D(p.value), 1)
4365
4355
  ], 64))
4366
4356
  ], 2),
4367
- M(b.$slots, "header-action", {
4357
+ B(g.$slots, "header-action", {
4368
4358
  activeParent: i.value,
4369
- closeMobile: F,
4370
- goBack: W
4359
+ closeMobile: U,
4360
+ goBack: M
4371
4361
  }, () => [
4372
- g.value ? (v(), H(R(fe), {
4362
+ v.value ? (h(), k("button", {
4373
4363
  key: 0,
4374
4364
  class: "rs-sidebar__header-button",
4365
+ type: "button",
4375
4366
  "aria-label": i.value ? "Volver" : "Cerrar menu",
4376
- rounded: "",
4377
- text: "",
4378
- severity: "secondary",
4379
- onClick: D[0] || (D[0] = (x) => i.value ? W() : F())
4380
- }, {
4381
- default: re(() => [
4382
- te(R(ee), {
4383
- name: i.value ? "arrow_left" : "close"
4384
- }, null, 8, ["name"])
4385
- ]),
4386
- _: 1
4387
- }, 8, ["aria-label"])) : E("", !0)
4367
+ onClick: O[0] || (O[0] = (x) => i.value ? M() : U())
4368
+ }, [
4369
+ de(H(ee), {
4370
+ name: i.value ? "arrow_left" : "close"
4371
+ }, null, 8, ["name"])
4372
+ ], 8, Hi)) : N("", !0)
4388
4373
  ])
4389
4374
  ]),
4390
- _.value && s.value ? (v(), H(R(yn), {
4375
+ _.value && s.value ? (h(), K(H(yn), {
4391
4376
  key: 0,
4392
4377
  class: "rs-sidebar__module-menu",
4393
4378
  model: f.value,
4394
4379
  pt: {
4395
4380
  root: { role: "menu" }
4396
4381
  }
4397
- }, null, 8, ["model"])) : E("", !0)
4382
+ }, null, 8, ["model"])) : N("", !0)
4398
4383
  ]),
4399
- T("div", Ki, [
4400
- T("nav", Hi, [
4401
- T("ul", Wi, [
4402
- (v(!0), $(le, null, Oe(h.value, (x) => (v(), $("li", {
4384
+ I("div", Wi, [
4385
+ I("nav", Fi, [
4386
+ I("ul", Zi, [
4387
+ (h(!0), k(ie, null, we(b.value, (x) => (h(), k("li", {
4403
4388
  key: x.id,
4404
4389
  class: "rs-sidebar__list-item"
4405
4390
  }, [
4406
- te(R(fe), {
4407
- class: Q([
4391
+ I("button", {
4392
+ class: q([
4408
4393
  "rs-sidebar__item",
4409
4394
  {
4410
4395
  "rs-sidebar__item--active": x.active,
4411
4396
  "rs-sidebar__item--disabled": x.disabled,
4412
- "rs-sidebar__item--parent": k(x)
4397
+ "rs-sidebar__item--parent": m(x)
4413
4398
  }
4414
4399
  ]),
4400
+ type: "button",
4415
4401
  disabled: x.disabled,
4416
- text: "",
4417
- severity: "secondary",
4418
- onClick: (ie) => B(x)
4419
- }, {
4420
- default: re(() => [
4421
- M(b.$slots, "item", {
4422
- item: x,
4423
- expanded: y.value
4424
- }, () => [
4425
- x.icon ? (v(), H(R(ee), {
4426
- key: 0,
4427
- class: "rs-sidebar__item-icon",
4428
- name: x.icon,
4429
- size: 14
4430
- }, null, 8, ["name"])) : E("", !0),
4431
- T("span", Fi, U(x.label), 1),
4432
- k(x) ? (v(), H(R(ee), {
4433
- key: 1,
4434
- class: "rs-sidebar__item-chevron",
4435
- name: "chevron_right",
4436
- size: "sm"
4437
- })) : E("", !0)
4438
- ])
4439
- ]),
4440
- _: 2
4441
- }, 1032, ["class", "disabled", "onClick"])
4402
+ onClick: (Q) => z(x)
4403
+ }, [
4404
+ B(g.$slots, "item", {
4405
+ item: x,
4406
+ expanded: y.value
4407
+ }, () => [
4408
+ x.icon ? (h(), K(H(ee), {
4409
+ key: 0,
4410
+ class: "rs-sidebar__item-icon",
4411
+ name: x.icon,
4412
+ size: 14
4413
+ }, null, 8, ["name"])) : N("", !0),
4414
+ I("span", Yi, D(x.label), 1),
4415
+ m(x) ? (h(), K(H(ee), {
4416
+ key: 1,
4417
+ class: "rs-sidebar__item-chevron",
4418
+ name: "chevron_right",
4419
+ size: "sm"
4420
+ })) : N("", !0)
4421
+ ])
4422
+ ], 10, Gi)
4442
4423
  ]))), 128))
4443
4424
  ])
4444
4425
  ]),
4445
- M(b.$slots, "footer", {
4426
+ B(g.$slots, "footer", {
4446
4427
  items: u.value,
4447
4428
  expanded: y.value
4448
4429
  }, () => [
4449
- u.value.length > 0 ? (v(), $("nav", Zi, [
4450
- T("ul", Gi, [
4451
- (v(!0), $(le, null, Oe(u.value, (x) => (v(), $("li", {
4430
+ u.value.length > 0 ? (h(), k("nav", Xi, [
4431
+ I("ul", qi, [
4432
+ (h(!0), k(ie, null, we(u.value, (x) => (h(), k("li", {
4452
4433
  key: x.id,
4453
4434
  class: "rs-sidebar__list-item"
4454
4435
  }, [
4455
- te(R(fe), {
4456
- class: Q([
4436
+ I("button", {
4437
+ class: q([
4457
4438
  "rs-sidebar__item",
4458
4439
  "rs-sidebar__item--footer",
4459
4440
  {
@@ -4461,41 +4442,37 @@ const Bi = ["aria-label"], Di = { class: "rs-sidebar__header" }, Ri = { class: "
4461
4442
  "rs-sidebar__item--disabled": x.disabled
4462
4443
  }
4463
4444
  ]),
4445
+ type: "button",
4464
4446
  disabled: x.disabled,
4465
- text: "",
4466
- severity: "secondary",
4467
- onClick: (ie) => B(x)
4468
- }, {
4469
- default: re(() => [
4470
- x.icon ? (v(), H(R(ee), {
4471
- key: 0,
4472
- name: x.icon,
4473
- size: 14
4474
- }, null, 8, ["name"])) : E("", !0),
4475
- T("span", Yi, U(x.label), 1)
4476
- ]),
4477
- _: 2
4478
- }, 1032, ["class", "disabled", "onClick"])
4447
+ onClick: (Q) => z(x)
4448
+ }, [
4449
+ x.icon ? (h(), K(H(ee), {
4450
+ key: 0,
4451
+ name: x.icon,
4452
+ size: 14
4453
+ }, null, 8, ["name"])) : N("", !0),
4454
+ I("span", Ji, D(x.label), 1)
4455
+ ], 10, Qi)
4479
4456
  ]))), 128))
4480
4457
  ])
4481
- ])) : E("", !0)
4458
+ ])) : N("", !0)
4482
4459
  ])
4483
4460
  ])
4484
- ], 46, Bi));
4461
+ ], 42, Bi));
4485
4462
  }
4486
- }), qi = [pi, ee, Xi], ea = {
4463
+ }), ta = [pi, ee, ea], ra = {
4487
4464
  install(e) {
4488
- for (const t of qi)
4465
+ for (const t of ta)
4489
4466
  e.component(t.name ?? "", t);
4490
4467
  }
4491
4468
  };
4492
4469
  export {
4493
- ea as RobosophyUiVue,
4470
+ ra as RobosophyUiVue,
4494
4471
  pi as RsAccountSelector,
4495
4472
  ee as RsIcon,
4496
- Xi as RsSidebar,
4497
- qi as components,
4498
- ea as default,
4499
- Ji as rsPrimeIcon
4473
+ ea as RsSidebar,
4474
+ ta as components,
4475
+ ra as default,
4476
+ oa as rsPrimeIcon
4500
4477
  };
4501
4478
  //# sourceMappingURL=index.js.map