@turquoisehealth/pit-viper 2.210.0 → 2.210.2-dev.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/package.json +1 -1
  2. package/pv-components/dist/stats/vue/base/stats.html +1 -1
  3. package/pv-components/dist/stats/vue/visualizations/stats.html +1 -1
  4. package/pv-components/dist/stats/web/pv-action-button-stats.html +1 -1
  5. package/pv-components/dist/stats/web/pv-filter-modal-stats.html +1 -1
  6. package/pv-components/dist/stats/web/pv-filter-panel-stats.html +1 -1
  7. package/pv-components/dist/stats/web/pv-hover-action-menu-stats.html +1 -1
  8. package/pv-components/dist/stats/web/pv-menu-stats.html +1 -1
  9. package/pv-components/dist/stats/web/pv-multi-select-button-stats.html +1 -1
  10. package/pv-components/dist/stats/web/pv-popover-v2-stats.html +1 -1
  11. package/pv-components/dist/stats/web/pv-query-builder-input-stats.html +1 -1
  12. package/pv-components/dist/stats/web/pv-segmented-control-stats.html +1 -1
  13. package/pv-components/dist/stats/web/pv-select-button-stats.html +1 -1
  14. package/pv-components/dist/stats/web/pv-split-button-stats.html +1 -1
  15. package/pv-components/dist/stats/web/pv-toggle-group-stats.html +1 -1
  16. package/pv-components/dist/stats/web/pv-tooltip-v2-stats.html +1 -1
  17. package/pv-components/dist/vue/base/pv-components-base.mjs +19 -18
  18. package/pv-components/dist/vue/base/pv-components-base.mjs.map +1 -1
  19. package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/constants.d.ts +2 -0
  20. package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/types.d.ts +6 -0
  21. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +1504 -1486
  22. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs.map +1 -1
  23. package/pv-components/dist/web/components/pv-action-button/pv-action-button.js +434 -433
  24. package/pv-components/dist/web/components/pv-filter-modal/pv-filter-modal.js +131 -130
  25. package/pv-components/dist/web/components/pv-filter-panel/pv-filter-panel.js +214 -213
  26. package/pv-components/dist/web/components/pv-hover-action-menu/pv-hover-action-menu.js +115 -114
  27. package/pv-components/dist/web/components/pv-menu/pv-menu.js +662 -661
  28. package/pv-components/dist/web/components/pv-multi-select-button/pv-multi-select-button.js +607 -606
  29. package/pv-components/dist/web/components/pv-popover-v2/pv-popover-v2.js +18 -17
  30. package/pv-components/dist/web/components/pv-query-builder-input/pv-query-builder-input.js +19 -18
  31. package/pv-components/dist/web/components/pv-segmented-control/pv-segmented-control.js +627 -626
  32. package/pv-components/dist/web/components/pv-select-button/pv-select-button.js +34 -33
  33. package/pv-components/dist/web/components/pv-split-button/pv-split-button.js +81 -80
  34. package/pv-components/dist/web/components/pv-toggle-group/pv-toggle-group.js +465 -464
  35. package/pv-components/dist/web/components/pv-tooltip-v2/pv-tooltip-v2.js +224 -223
  36. package/pv-components/dist/web/pv-components.iife.js +1 -1
  37. package/pv-components/dist/web/pv-components.iife.js.map +1 -1
@@ -1,32 +1,32 @@
1
1
  import * as e from "vue";
2
- import { Fragment as t, Teleport as n, computed as r, createBlock as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, createSlots as c, createTextVNode as l, createVNode as u, defineComponent as d, defineCustomElement as f, getCurrentInstance as p, getCurrentScope as m, guardReactiveProps as h, inject as g, isRef as _, mergeModels as v, mergeProps as y, nextTick as b, normalizeClass as x, normalizeProps as S, normalizeStyle as C, onBeforeUnmount as w, onBeforeUpdate as T, onMounted as E, onScopeDispose as D, onUnmounted as O, openBlock as k, provide as A, reactive as j, readonly as M, ref as N, renderList as ee, renderSlot as P, resolveComponent as F, resolveDynamicComponent as I, shallowRef as L, toDisplayString as R, toValue as z, unref as B, useId as te, useModel as ne, useSlots as re, useTemplateRef as ie, vModelCheckbox as V, vModelText as ae, vShow as oe, watch as H, watchEffect as se, withCtx as U, withDirectives as ce, withModifiers as le } from "vue";
2
+ import { Fragment as t, Teleport as n, computed as r, createBlock as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, createSlots as c, createTextVNode as l, createVNode as u, defineComponent as d, defineCustomElement as f, getCurrentInstance as p, getCurrentScope as m, guardReactiveProps as h, inject as g, isRef as _, mergeModels as v, mergeProps as y, nextTick as b, normalizeClass as x, normalizeProps as S, normalizeStyle as C, onBeforeUnmount as w, onBeforeUpdate as T, onMounted as E, onScopeDispose as ee, onUnmounted as D, openBlock as O, provide as k, reactive as A, readonly as j, ref as M, renderList as te, renderSlot as N, resolveComponent as P, resolveDynamicComponent as F, shallowRef as I, toDisplayString as L, toValue as R, unref as z, useId as ne, useModel as re, useSlots as ie, useTemplateRef as ae, vModelCheckbox as B, vModelText as oe, vShow as se, watch as V, watchEffect as ce, withCtx as H, withDirectives as le, withModifiers as ue } from "vue";
3
3
  //#region \0rolldown/runtime.js
4
- var ue = Object.defineProperty, de = Object.getOwnPropertyDescriptor, fe = Object.getOwnPropertyNames, pe = Object.prototype.hasOwnProperty, me = (e, t) => {
4
+ var de = Object.defineProperty, fe = Object.getOwnPropertyDescriptor, pe = Object.getOwnPropertyNames, me = Object.prototype.hasOwnProperty, he = (e, t) => {
5
5
  let n = {};
6
- for (var r in e) ue(n, r, {
6
+ for (var r in e) de(n, r, {
7
7
  get: e[r],
8
8
  enumerable: !0
9
9
  });
10
- return t || ue(n, Symbol.toStringTag, { value: "Module" }), n;
11
- }, he = (e, t, n, r) => {
12
- if (t && typeof t == "object" || typeof t == "function") for (var i = fe(t), a = 0, o = i.length, s; a < o; a++) s = i[a], !pe.call(e, s) && s !== n && ue(e, s, {
10
+ return t || de(n, Symbol.toStringTag, { value: "Module" }), n;
11
+ }, ge = (e, t, n, r) => {
12
+ if (t && typeof t == "object" || typeof t == "function") for (var i = pe(t), a = 0, o = i.length, s; a < o; a++) s = i[a], !me.call(e, s) && s !== n && de(e, s, {
13
13
  get: ((e) => t[e]).bind(null, s),
14
- enumerable: !(r = de(t, s)) || r.enumerable
14
+ enumerable: !(r = fe(t, s)) || r.enumerable
15
15
  });
16
16
  return e;
17
- }, ge = (e, t, n) => (he(e, t, "default"), n && he(n, t, "default"));
17
+ }, _e = (e, t, n) => (ge(e, t, "default"), n && ge(n, t, "default"));
18
18
  //#endregion
19
19
  //#region ../node_modules/.pnpm/@vueuse+shared@13.9.0_vue@3.5.32_typescript@5.9.3_/node_modules/@vueuse/shared/index.mjs
20
- function _e(e) {
21
- return m() ? (D(e), !0) : !1;
20
+ function ve(e) {
21
+ return m() ? (ee(e), !0) : !1;
22
22
  }
23
- var ve = typeof window < "u" && typeof document < "u";
23
+ var ye = typeof window < "u" && typeof document < "u";
24
24
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
25
- var ye = (e) => e != null, be = Object.prototype.toString, xe = (e) => be.call(e) === "[object Object]", Se = () => {}, Ce = /* @__PURE__ */ we();
26
- function we() {
27
- return ve && (window == null ? void 0 : window.navigator)?.userAgent && (/iP(?:ad|hone|od)/.test(window.navigator.userAgent) || (window == null ? void 0 : window.navigator)?.maxTouchPoints > 2 && /iPad|Macintosh/.test(window == null ? void 0 : window.navigator.userAgent));
25
+ var be = (e) => e != null, xe = Object.prototype.toString, Se = (e) => xe.call(e) === "[object Object]", Ce = () => {}, we = /* @__PURE__ */ Te();
26
+ function Te() {
27
+ return ye && (window == null ? void 0 : window.navigator)?.userAgent && (/iP(?:ad|hone|od)/.test(window.navigator.userAgent) || (window == null ? void 0 : window.navigator)?.maxTouchPoints > 2 && /iPad|Macintosh/.test(window == null ? void 0 : window.navigator.userAgent));
28
28
  }
29
- function Te(e, t) {
29
+ function Ee(e, t) {
30
30
  function n(...n) {
31
31
  return new Promise((r, i) => {
32
32
  Promise.resolve(e(() => t.apply(this, n), {
@@ -38,12 +38,12 @@ function Te(e, t) {
38
38
  }
39
39
  return n;
40
40
  }
41
- function Ee(e, t = {}) {
42
- let n, r, i = Se, a = (e) => {
43
- clearTimeout(e), i(), i = Se;
41
+ function De(e, t = {}) {
42
+ let n, r, i = Ce, a = (e) => {
43
+ clearTimeout(e), i(), i = Ce;
44
44
  }, o;
45
45
  return (s) => {
46
- let c = z(e), l = z(t.maxWait);
46
+ let c = R(e), l = R(t.maxWait);
47
47
  return n && a(n), c <= 0 || l !== void 0 && l <= 0 ? (r &&= (a(r), void 0), Promise.resolve(s())) : new Promise((e, u) => {
48
48
  i = t.rejectOnCancel ? u : e, o = s, l && !r && (r = setTimeout(() => {
49
49
  n && a(n), r = void 0, e(o());
@@ -53,95 +53,95 @@ function Ee(e, t = {}) {
53
53
  });
54
54
  };
55
55
  }
56
- function De(e) {
56
+ function Oe(e) {
57
57
  return Array.isArray(e) ? e : [e];
58
58
  }
59
- function Oe(e) {
59
+ function ke(e) {
60
60
  return e || p();
61
61
  }
62
62
  /* @__NO_SIDE_EFFECTS__ */
63
- function ke(e, t = 200, n = {}) {
64
- return Te(Ee(t, n), e);
63
+ function Ae(e, t = 200, n = {}) {
64
+ return Ee(De(t, n), e);
65
65
  }
66
- function Ae(e, t = !0, n) {
67
- Oe(n) ? E(e, n) : t ? e() : b(e);
66
+ function je(e, t = !0, n) {
67
+ ke(n) ? E(e, n) : t ? e() : b(e);
68
68
  }
69
69
  /* @__NO_SIDE_EFFECTS__ */
70
- function je(e = !1, t = {}) {
71
- let { truthyValue: n = !0, falsyValue: r = !1 } = t, i = _(e), a = L(e);
70
+ function Me(e = !1, t = {}) {
71
+ let { truthyValue: n = !0, falsyValue: r = !1 } = t, i = _(e), a = I(e);
72
72
  function o(e) {
73
73
  if (arguments.length) return a.value = e, a.value;
74
74
  {
75
- let e = z(n);
76
- return a.value = a.value === e ? z(r) : e, a.value;
75
+ let e = R(n);
76
+ return a.value = a.value === e ? R(r) : e, a.value;
77
77
  }
78
78
  }
79
79
  return i ? o : [a, o];
80
80
  }
81
- function Me(e, t, n) {
82
- return H(e, t, {
81
+ function Ne(e, t, n) {
82
+ return V(e, t, {
83
83
  ...n,
84
84
  immediate: !0
85
85
  });
86
86
  }
87
87
  //#endregion
88
88
  //#region ../node_modules/.pnpm/@vueuse+core@13.9.0_vue@3.5.32_typescript@5.9.3_/node_modules/@vueuse/core/index.mjs
89
- var Ne = ve ? window : void 0;
90
- ve && window.document, ve && window.navigator, ve && window.location;
91
- function W(e) {
92
- let t = z(e);
89
+ var Pe = ye ? window : void 0;
90
+ ye && window.document, ye && window.navigator, ye && window.location;
91
+ function U(e) {
92
+ let t = R(e);
93
93
  return t?.$el ?? t;
94
94
  }
95
- function Pe(...e) {
95
+ function Fe(...e) {
96
96
  let t = [], n = () => {
97
97
  t.forEach((e) => e()), t.length = 0;
98
98
  }, i = (e, t, n, r) => (e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r)), a = r(() => {
99
- let t = De(z(e[0])).filter((e) => e != null);
99
+ let t = Oe(R(e[0])).filter((e) => e != null);
100
100
  return t.every((e) => typeof e != "string") ? t : void 0;
101
- }), o = Me(() => [
102
- a.value?.map((e) => W(e)) ?? [Ne].filter((e) => e != null),
103
- De(z(a.value ? e[1] : e[0])),
104
- De(B(a.value ? e[2] : e[1])),
105
- z(a.value ? e[3] : e[2])
101
+ }), o = Ne(() => [
102
+ a.value?.map((e) => U(e)) ?? [Pe].filter((e) => e != null),
103
+ Oe(R(a.value ? e[1] : e[0])),
104
+ Oe(z(a.value ? e[2] : e[1])),
105
+ R(a.value ? e[3] : e[2])
106
106
  ], ([e, r, a, o]) => {
107
107
  if (n(), !e?.length || !r?.length || !a?.length) return;
108
- let s = xe(o) ? { ...o } : o;
108
+ let s = Se(o) ? { ...o } : o;
109
109
  t.push(...e.flatMap((e) => r.flatMap((t) => a.map((n) => i(e, t, n, s)))));
110
110
  }, { flush: "post" });
111
- return _e(n), () => {
111
+ return ve(n), () => {
112
112
  o(), n();
113
113
  };
114
114
  }
115
- var Fe = !1;
116
- function Ie(e, t, n = {}) {
117
- let { window: r = Ne, ignore: i = [], capture: a = !0, detectIframe: o = !1, controls: s = !1 } = n;
115
+ var Ie = !1;
116
+ function Le(e, t, n = {}) {
117
+ let { window: r = Pe, ignore: i = [], capture: a = !0, detectIframe: o = !1, controls: s = !1 } = n;
118
118
  if (!r) return s ? {
119
- stop: Se,
120
- cancel: Se,
121
- trigger: Se
122
- } : Se;
123
- if (Ce && !Fe) {
124
- Fe = !0;
119
+ stop: Ce,
120
+ cancel: Ce,
121
+ trigger: Ce
122
+ } : Ce;
123
+ if (we && !Ie) {
124
+ Ie = !0;
125
125
  let e = { passive: !0 };
126
- Array.from(r.document.body.children).forEach((t) => t.addEventListener("click", Se, e)), r.document.documentElement.addEventListener("click", Se, e);
126
+ Array.from(r.document.body.children).forEach((t) => t.addEventListener("click", Ce, e)), r.document.documentElement.addEventListener("click", Ce, e);
127
127
  }
128
- let c = !0, l = (e) => z(i).some((t) => {
128
+ let c = !0, l = (e) => R(i).some((t) => {
129
129
  if (typeof t == "string") return Array.from(r.document.querySelectorAll(t)).some((t) => t === e.target || e.composedPath().includes(t));
130
130
  {
131
- let n = W(t);
131
+ let n = U(t);
132
132
  return n && (e.target === n || e.composedPath().includes(n));
133
133
  }
134
134
  });
135
135
  function u(e) {
136
- let t = z(e);
136
+ let t = R(e);
137
137
  return t && t.$.subTree.shapeFlag === 16;
138
138
  }
139
139
  function d(e, t) {
140
- let n = z(e), r = n.$.subTree && n.$.subTree.children;
140
+ let n = R(e), r = n.$.subTree && n.$.subTree.children;
141
141
  return r == null || !Array.isArray(r) ? !1 : r.some((e) => e.el === t.target || t.composedPath().includes(e.el));
142
142
  }
143
143
  let f = (n) => {
144
- let r = W(e);
144
+ let r = U(e);
145
145
  if (n.target != null && !(!(r instanceof Element) && u(e) && d(e, n)) && !(!r || r === n.target || n.composedPath().includes(r))) {
146
146
  if ("detail" in n && n.detail === 0 && (c = !l(n)), !c) {
147
147
  c = !0;
@@ -150,7 +150,7 @@ function Ie(e, t, n = {}) {
150
150
  t(n);
151
151
  }
152
152
  }, p = !1, m = [
153
- Pe(r, "click", (e) => {
153
+ Fe(r, "click", (e) => {
154
154
  p || (p = !0, setTimeout(() => {
155
155
  p = !1;
156
156
  }, 0), f(e));
@@ -158,13 +158,13 @@ function Ie(e, t, n = {}) {
158
158
  passive: !0,
159
159
  capture: a
160
160
  }),
161
- Pe(r, "pointerdown", (t) => {
162
- let n = W(e);
161
+ Fe(r, "pointerdown", (t) => {
162
+ let n = U(e);
163
163
  c = !l(t) && !!(n && !t.composedPath().includes(n));
164
164
  }, { passive: !0 }),
165
- o && Pe(r, "blur", (n) => {
165
+ o && Fe(r, "blur", (n) => {
166
166
  setTimeout(() => {
167
- let i = W(e);
167
+ let i = U(e);
168
168
  r.document.activeElement?.tagName === "IFRAME" && !i?.contains(r.document.activeElement) && t(n);
169
169
  }, 0);
170
170
  }, { passive: !0 })
@@ -180,22 +180,22 @@ function Ie(e, t, n = {}) {
180
180
  } : h;
181
181
  }
182
182
  /* @__NO_SIDE_EFFECTS__ */
183
- function Le() {
184
- let e = L(!1), t = p();
183
+ function Re() {
184
+ let e = I(!1), t = p();
185
185
  return t && E(() => {
186
186
  e.value = !0;
187
187
  }, t), e;
188
188
  }
189
189
  /* @__NO_SIDE_EFFECTS__ */
190
- function Re(e) {
191
- let t = /* @__PURE__ */ Le();
190
+ function ze(e) {
191
+ let t = /* @__PURE__ */ Re();
192
192
  return r(() => (t.value, !!e()));
193
193
  }
194
- function ze(e, t, n = {}) {
195
- let { window: i = Ne, ...a } = n, o, s = /* @__PURE__ */ Re(() => i && "MutationObserver" in i), c = () => {
194
+ function Be(e, t, n = {}) {
195
+ let { window: i = Pe, ...a } = n, o, s = /* @__PURE__ */ ze(() => i && "MutationObserver" in i), c = () => {
196
196
  o &&= (o.disconnect(), void 0);
197
- }, l = H(r(() => {
198
- let t = De(z(e)).map(W).filter(ye);
197
+ }, l = V(r(() => {
198
+ let t = Oe(R(e)).map(U).filter(be);
199
199
  return new Set(t);
200
200
  }), (e) => {
201
201
  c(), s.value && e.size && (o = new MutationObserver(t), e.forEach((e) => o.observe(e, a)));
@@ -205,21 +205,21 @@ function ze(e, t, n = {}) {
205
205
  }), u = () => o?.takeRecords(), d = () => {
206
206
  l(), c();
207
207
  };
208
- return _e(d), {
208
+ return ve(d), {
209
209
  isSupported: s,
210
210
  stop: d,
211
211
  takeRecords: u
212
212
  };
213
213
  }
214
- function Be(e, t, n = {}) {
215
- let { window: r = Ne, document: i = r?.document, flush: a = "sync" } = n;
216
- if (!r || !i) return Se;
214
+ function Ve(e, t, n = {}) {
215
+ let { window: r = Pe, document: i = r?.document, flush: a = "sync" } = n;
216
+ if (!r || !i) return Ce;
217
217
  let o, s = (e) => {
218
218
  o?.(), o = e;
219
- }, c = se(() => {
220
- let n = W(e);
219
+ }, c = ce(() => {
220
+ let n = U(e);
221
221
  if (n) {
222
- let { stop: e } = ze(i, (e) => {
222
+ let { stop: e } = Be(i, (e) => {
223
223
  e.map((e) => [...e.removedNodes]).flat().some((e) => e === n || e.contains(n)) && t(e);
224
224
  }, {
225
225
  window: r,
@@ -231,25 +231,25 @@ function Be(e, t, n = {}) {
231
231
  }, { flush: a }), l = () => {
232
232
  c(), s();
233
233
  };
234
- return _e(l), l;
234
+ return ve(l), l;
235
235
  }
236
- function Ve(e) {
236
+ function He(e) {
237
237
  return typeof e == "function" ? e : typeof e == "string" ? (t) => t.key === e : Array.isArray(e) ? (t) => e.includes(t.key) : () => !0;
238
238
  }
239
- function He(...e) {
239
+ function Ue(...e) {
240
240
  let t, n, r = {};
241
241
  e.length === 3 ? (t = e[0], n = e[1], r = e[2]) : e.length === 2 ? typeof e[1] == "object" ? (t = !0, n = e[0], r = e[1]) : (t = e[0], n = e[1]) : (t = !0, n = e[0]);
242
- let { target: i = Ne, eventName: a = "keydown", passive: o = !1, dedupe: s = !1 } = r, c = Ve(t);
243
- return Pe(i, a, (e) => {
244
- e.repeat && z(s) || c(e) && n(e);
242
+ let { target: i = Pe, eventName: a = "keydown", passive: o = !1, dedupe: s = !1 } = r, c = He(t);
243
+ return Fe(i, a, (e) => {
244
+ e.repeat && R(s) || c(e) && n(e);
245
245
  }, o);
246
246
  }
247
- function Ue(e, t, n = {}) {
248
- let { window: i = Ne, ...a } = n, o, s = /* @__PURE__ */ Re(() => i && "ResizeObserver" in i), c = () => {
247
+ function We(e, t, n = {}) {
248
+ let { window: i = Pe, ...a } = n, o, s = /* @__PURE__ */ ze(() => i && "ResizeObserver" in i), c = () => {
249
249
  o &&= (o.disconnect(), void 0);
250
- }, l = H(r(() => {
251
- let t = z(e);
252
- return Array.isArray(t) ? t.map((e) => W(e)) : [W(t)];
250
+ }, l = V(r(() => {
251
+ let t = R(e);
252
+ return Array.isArray(t) ? t.map((e) => U(e)) : [U(t)];
253
253
  }), (e) => {
254
254
  if (c(), s.value && i) {
255
255
  o = new ResizeObserver(t);
@@ -261,15 +261,15 @@ function Ue(e, t, n = {}) {
261
261
  }), u = () => {
262
262
  c(), l();
263
263
  };
264
- return _e(u), {
264
+ return ve(u), {
265
265
  isSupported: s,
266
266
  stop: u
267
267
  };
268
268
  }
269
- function We(e, t = {}) {
270
- let { reset: n = !0, windowResize: r = !0, windowScroll: i = !0, immediate: a = !0, updateTiming: o = "sync" } = t, s = L(0), c = L(0), l = L(0), u = L(0), d = L(0), f = L(0), p = L(0), m = L(0);
269
+ function Ge(e, t = {}) {
270
+ let { reset: n = !0, windowResize: r = !0, windowScroll: i = !0, immediate: a = !0, updateTiming: o = "sync" } = t, s = I(0), c = I(0), l = I(0), u = I(0), d = I(0), f = I(0), p = I(0), m = I(0);
271
271
  function h() {
272
- let t = W(e);
272
+ let t = U(e);
273
273
  if (!t) {
274
274
  n && (s.value = 0, c.value = 0, l.value = 0, u.value = 0, d.value = 0, f.value = 0, p.value = 0, m.value = 0);
275
275
  return;
@@ -280,10 +280,10 @@ function We(e, t = {}) {
280
280
  function g() {
281
281
  o === "sync" ? h() : o === "next-frame" && requestAnimationFrame(() => h());
282
282
  }
283
- return Ue(e, g), H(() => W(e), (e) => !e && g()), ze(e, g, { attributeFilter: ["style", "class"] }), i && Pe("scroll", g, {
283
+ return We(e, g), V(() => U(e), (e) => !e && g()), Be(e, g, { attributeFilter: ["style", "class"] }), i && Fe("scroll", g, {
284
284
  capture: !0,
285
285
  passive: !0
286
- }), r && Pe("resize", g, { passive: !0 }), Ae(() => {
286
+ }), r && Fe("resize", g, { passive: !0 }), je(() => {
287
287
  a && g();
288
288
  }), {
289
289
  height: s,
@@ -297,16 +297,16 @@ function We(e, t = {}) {
297
297
  update: g
298
298
  };
299
299
  }
300
- function Ge(e, t = {}) {
301
- let { delayEnter: n = 0, delayLeave: i = 0, triggerOnRemoval: a = !1, window: o = Ne } = t, s = L(!1), c, l = (e) => {
300
+ function Ke(e, t = {}) {
301
+ let { delayEnter: n = 0, delayLeave: i = 0, triggerOnRemoval: a = !1, window: o = Pe } = t, s = I(!1), c, l = (e) => {
302
302
  let t = e ? n : i;
303
303
  c &&= (clearTimeout(c), void 0), t ? c = setTimeout(() => s.value = e, t) : s.value = e;
304
304
  };
305
- return o ? (Pe(e, "mouseenter", () => l(!0), { passive: !0 }), Pe(e, "mouseleave", () => l(!1), { passive: !0 }), a && Be(r(() => W(e)), () => l(!1)), s) : s;
305
+ return o ? (Fe(e, "mouseenter", () => l(!0), { passive: !0 }), Fe(e, "mouseleave", () => l(!1), { passive: !0 }), a && Ve(r(() => U(e)), () => l(!1)), s) : s;
306
306
  }
307
307
  //#endregion
308
308
  //#region src/components/base/PvSpinner/PvSpinner.vue
309
- var Ke = /* @__PURE__ */ d({
309
+ var qe = /* @__PURE__ */ d({
310
310
  __name: "PvSpinner",
311
311
  props: {
312
312
  size: {
@@ -330,33 +330,33 @@ var Ke = /* @__PURE__ */ d({
330
330
  dark: "pv-spinner-dark",
331
331
  white: "pv-spinner-light"
332
332
  };
333
- return (r, i) => (k(), o("div", {
333
+ return (r, i) => (O(), o("div", {
334
334
  "data-testid": "pv-spinner",
335
335
  class: x(n[e.variant]),
336
336
  style: C({ "--size": t[e.size] })
337
337
  }, null, 6));
338
338
  }
339
- }), qe = ["ghost"], Je = {
339
+ }), Je = ["ghost"], Ye = {
340
340
  md: "pv-button-small",
341
341
  lg: void 0,
342
342
  xl: "pv-button-large"
343
- }, Ye = (e) => e == null || !Je.hasOwnProperty(e) ? null : Je[e] || null;
343
+ }, Xe = (e) => e == null || !Ye.hasOwnProperty(e) ? null : Ye[e] || null;
344
344
  //#endregion
345
345
  //#region src/web-components/utils.ts
346
- function Xe() {
347
- let e = N(!1), t = p()?.root || {};
346
+ function Ze() {
347
+ let e = M(!1), t = p()?.root || {};
348
348
  return "isCE" in t && t.isCE === !0 && (e.value = !0), e;
349
349
  }
350
350
  //#endregion
351
351
  //#region src/components/base/baseProps.ts
352
- var Ze = {
352
+ var Qe = {
353
353
  xs: "12px",
354
354
  sm: "16px",
355
355
  md: "20px",
356
356
  lg: "24px",
357
357
  xl: "32px",
358
358
  "2x": "40px"
359
- }, Qe = [
359
+ }, $e = [
360
360
  void 0,
361
361
  10,
362
362
  12,
@@ -364,24 +364,24 @@ var Ze = {
364
364
  24,
365
365
  32,
366
366
  64
367
- ], $e = ["xlink:href"], G = /* @__PURE__ */ d({
367
+ ], et = ["xlink:href"], W = /* @__PURE__ */ d({
368
368
  __name: "PvIcon",
369
369
  props: {
370
370
  name: { type: String },
371
371
  size: { type: null }
372
372
  },
373
373
  setup(e) {
374
- let t = e, n = Xe(), i = N(null), a = r(() => ({
374
+ let t = e, n = Ze(), i = M(null), a = r(() => ({
375
375
  "pv-icon": !0,
376
- [`pv-icon-${t.size}`]: t.size != null && Qe.includes(t.size)
376
+ [`pv-icon-${t.size}`]: t.size != null && $e.includes(t.size)
377
377
  })), c = r(() => n.value && i.value ? `${i.value}#${t.name}` : `#${t.name}`);
378
- return globalThis.__PV_GLOBAL_SPRITE_PATH__ && (i.value = globalThis.__PV_GLOBAL_SPRITE_PATH__), (e, t) => (k(), o("svg", {
378
+ return globalThis.__PV_GLOBAL_SPRITE_PATH__ && (i.value = globalThis.__PV_GLOBAL_SPRITE_PATH__), (e, t) => (O(), o("svg", {
379
379
  "data-testid": "pv-icon",
380
380
  "aria-hidden": "true",
381
381
  class: x(a.value)
382
- }, [s("use", { "xlink:href": c.value }, null, 8, $e)], 2));
382
+ }, [s("use", { "xlink:href": c.value }, null, 8, et)], 2));
383
383
  }
384
- }), et = /* @__PURE__ */ d({
384
+ }), tt = /* @__PURE__ */ d({
385
385
  __name: "PvCounterBadge",
386
386
  props: {
387
387
  maxValue: {
@@ -413,19 +413,19 @@ var Ze = {
413
413
  "pv-text-secondary": t.variant == "ghost" || t.variant == "tertiary",
414
414
  "pv-surface": t.variant == "ghost"
415
415
  }));
416
- return (e, t) => (k(), o("div", {
416
+ return (e, t) => (O(), o("div", {
417
417
  class: x(i.value),
418
418
  "data-testid": "pv-counter-badge"
419
- }, R(n.value), 3));
419
+ }, L(n.value), 3));
420
420
  }
421
- }), tt = ".pv-badge-md[data-v-6a07eeec]{--inset-size:2px 2px;min-width:20px;min-height:20px;max-height:20px;font-weight:500}.pv-badge-sm[data-v-6a07eeec]{--inset-size:0 2px;min-width:16px;min-height:16px;max-height:16px;font-weight:500}.pv-surface-lighten-5[data-v-6a07eeec]{background-color:#e0e5e4}.pv-text-secondary[data-v-6a07eeec]{color:#4b595c}", nt = (e, t) => {
421
+ }), nt = ".pv-badge-md[data-v-6a07eeec]{--inset-size:2px 2px;min-width:20px;min-height:20px;max-height:20px;font-weight:500}.pv-badge-sm[data-v-6a07eeec]{--inset-size:0 2px;min-width:16px;min-height:16px;max-height:16px;font-weight:500}.pv-surface-lighten-5[data-v-6a07eeec]{background-color:#e0e5e4}.pv-text-secondary[data-v-6a07eeec]{color:#4b595c}", rt = (e, t) => {
422
422
  let n = e.__vccOpts || e;
423
423
  for (let [e, r] of t) n[e] = r;
424
424
  return n;
425
- }, rt = /* @__PURE__ */ nt(et, [["styles", [tt]], ["__scopeId", "data-v-6a07eeec"]]), it = ["disabled", "aria-label"], at = {
425
+ }, it = /* @__PURE__ */ rt(tt, [["styles", [nt]], ["__scopeId", "data-v-6a07eeec"]]), at = ["disabled", "aria-label"], ot = {
426
426
  key: 2,
427
427
  "data-testid": "pv-button-label"
428
- }, ot = /* @__PURE__ */ d({
428
+ }, st = /* @__PURE__ */ d({
429
429
  __name: "PvButton",
430
430
  props: {
431
431
  variant: {
@@ -458,47 +458,47 @@ var Ze = {
458
458
  setup(e) {
459
459
  let n = e, s = r(() => !n.label || n.loading ? n.label || n.ariaLabel : void 0), c = r(() => {
460
460
  let e = [];
461
- n.inverse && qe.includes(n.variant) ? e.push(`pv-button-${n.variant}-inverse`) : e.push(`pv-button-${n.variant}`);
462
- let t = Ye(n.size);
461
+ n.inverse && Je.includes(n.variant) ? e.push(`pv-button-${n.variant}-inverse`) : e.push(`pv-button-${n.variant}`);
462
+ let t = Xe(n.size);
463
463
  return t && e.push(t), e;
464
464
  });
465
- return (n, r) => (k(), o("button", {
465
+ return (n, r) => (O(), o("button", {
466
466
  type: "button",
467
467
  class: x(c.value),
468
468
  disabled: e.disabled,
469
469
  "aria-label": s.value,
470
470
  "data-testid": "pv-button"
471
- }, [e.loading ? (k(), i(Ke, {
471
+ }, [e.loading ? (O(), i(qe, {
472
472
  key: 0,
473
473
  size: "sm"
474
- })) : (k(), o(t, { key: 1 }, [
475
- e.leftCounterBadge ? (k(), i(rt, {
474
+ })) : (O(), o(t, { key: 1 }, [
475
+ e.leftCounterBadge ? (O(), i(it, {
476
476
  key: 0,
477
477
  value: e.leftCounterBadge,
478
478
  variant: "tertiary"
479
479
  }, null, 8, ["value"])) : a("v-if", !0),
480
- e.leftIcon ? (k(), i(G, {
480
+ e.leftIcon ? (O(), i(W, {
481
481
  key: 1,
482
482
  name: e.leftIcon,
483
483
  "data-testid": "pv-button-left-icon"
484
484
  }, null, 8, ["name"])) : a("v-if", !0),
485
- e.label ? (k(), o("span", at, R(e.label), 1)) : a("v-if", !0),
486
- e.rightCounterBadge ? (k(), i(rt, {
485
+ e.label ? (O(), o("span", ot, L(e.label), 1)) : a("v-if", !0),
486
+ e.rightCounterBadge ? (O(), i(it, {
487
487
  key: 3,
488
488
  value: e.rightCounterBadge,
489
489
  variant: "tertiary"
490
490
  }, null, 8, ["value"])) : a("v-if", !0),
491
- e.rightIcon ? (k(), i(G, {
491
+ e.rightIcon ? (O(), i(W, {
492
492
  key: 4,
493
493
  name: e.rightIcon,
494
494
  "data-testid": "pv-button-right-icon"
495
495
  }, null, 8, ["name"])) : a("v-if", !0)
496
- ], 64))], 10, it));
496
+ ], 64))], 10, at));
497
497
  }
498
- }), st = {
498
+ }), ct = {
499
499
  "data-testid": "pv-select-menu-control-panel",
500
500
  class: "pv-flex pv-space-between"
501
- }, ct = /* @__PURE__ */ d({
501
+ }, lt = /* @__PURE__ */ d({
502
502
  __name: "PvMenuControlPanel",
503
503
  props: {
504
504
  variant: { type: String },
@@ -513,38 +513,38 @@ var Ze = {
513
513
  ],
514
514
  setup(e) {
515
515
  let n = e, i = r(() => n.rumFilterName ? `Select all ${n.rumFilterName} options` : void 0), s = r(() => n.rumFilterName ? `Clear ${n.rumFilterName} selections` : void 0);
516
- return (n, r) => (k(), o("div", st, [e.variant === "select-clear" ? (k(), o(t, { key: 0 }, [u(ot, {
516
+ return (n, r) => (O(), o("div", ct, [e.variant === "select-clear" ? (O(), o(t, { key: 0 }, [u(st, {
517
517
  variant: "ghost",
518
518
  "data-testid": "pv-select-menu-item-select-all",
519
519
  "data-dd-action-name": i.value,
520
520
  onClick: r[0] ||= (e) => n.$emit("handle-select-all"),
521
521
  label: "Select All",
522
522
  disabled: e.disabled
523
- }, null, 8, ["data-dd-action-name", "disabled"]), u(ot, {
523
+ }, null, 8, ["data-dd-action-name", "disabled"]), u(st, {
524
524
  label: "Clear All",
525
525
  variant: "ghost",
526
526
  "data-testid": "pv-select-menu-item-clear-all",
527
527
  "data-dd-action-name": s.value,
528
528
  onClick: r[1] ||= (e) => n.$emit("handle-clear-all"),
529
529
  disabled: e.disabled
530
- }, null, 8, ["data-dd-action-name", "disabled"])], 64)) : e.variant === "cancel-confirm" ? (k(), o(t, { key: 1 }, [u(ot, {
530
+ }, null, 8, ["data-dd-action-name", "disabled"])], 64)) : e.variant === "cancel-confirm" ? (O(), o(t, { key: 1 }, [u(st, {
531
531
  label: "Cancel",
532
532
  variant: "ghost",
533
533
  "data-testid": "pv-select-menu-item-cancel",
534
534
  onClick: r[2] ||= (e) => n.$emit("handle-cancel"),
535
535
  disabled: e.disabled
536
- }, null, 8, ["disabled"]), u(ot, {
536
+ }, null, 8, ["disabled"]), u(st, {
537
537
  label: "Confirm",
538
538
  "data-testid": "pv-select-menu-item-confirm",
539
539
  onClick: r[3] ||= (e) => n.$emit("handle-confirm"),
540
540
  disabled: e.disabled
541
541
  }, null, 8, ["disabled"])], 64)) : a("v-if", !0)]));
542
542
  }
543
- }), lt = { class: "pv-relative" }, ut = ["disabled", "placeholder"], dt = {
543
+ }), ut = { class: "pv-relative" }, dt = ["disabled", "placeholder"], ft = {
544
544
  key: 0,
545
545
  "data-testid": "pv-search-input-shortcut",
546
546
  class: "pv-kbd"
547
- }, ft = "/", pt = /* @__PURE__ */ d({
547
+ }, pt = "/", mt = /* @__PURE__ */ d({
548
548
  __name: "PvSearchInput",
549
549
  props: /* @__PURE__ */ v({
550
550
  placeholder: {
@@ -565,17 +565,17 @@ var Ze = {
565
565
  }),
566
566
  emits: ["update:modelValue"],
567
567
  setup(e, { expose: t }) {
568
- let n = e, i = ie("search-input"), c = ne(e, "modelValue"), l = r(() => ({
568
+ let n = e, i = ae("search-input"), c = re(e, "modelValue"), l = r(() => ({
569
569
  "pv-input-search": !0,
570
570
  "pv-full-width": !0,
571
571
  "pv-input-padded-end": !0
572
572
  }));
573
573
  return E(() => {
574
- n.displayShortcut && He(ft, (e) => {
574
+ n.displayShortcut && Ue(pt, (e) => {
575
575
  let t = e.target, n = t instanceof HTMLInputElement || t instanceof HTMLTextAreaElement || (t?.isContentEditable ?? !1), r = document.activeElement === i.value;
576
576
  (!n || r) && (r || (e.preventDefault(), i.value?.focus()));
577
577
  });
578
- }), t({ input: i }), (t, n) => (k(), o("div", lt, [ce(s("input", {
578
+ }), t({ input: i }), (t, n) => (O(), o("div", ut, [le(s("input", {
579
579
  ref: "search-input",
580
580
  "onUpdate:modelValue": n[0] ||= (e) => c.value = e,
581
581
  "data-testid": "pv-search-input",
@@ -583,12 +583,12 @@ var Ze = {
583
583
  disabled: e.disabled,
584
584
  class: x(l.value),
585
585
  placeholder: e.placeholder
586
- }, null, 10, ut), [[ae, c.value]]), e.displayShortcut ? (k(), o("kbd", dt, R(ft))) : a("v-if", !0)]));
586
+ }, null, 10, dt), [[oe, c.value]]), e.displayShortcut ? (O(), o("kbd", ft, L(pt))) : a("v-if", !0)]));
587
587
  }
588
- }), mt = {
588
+ }), ht = {
589
589
  class: "pv-flex",
590
590
  "data-testid": "pv-company-logo"
591
- }, ht = ["src"], gt = /* @__PURE__ */ d({
591
+ }, gt = ["src"], _t = /* @__PURE__ */ d({
592
592
  __name: "PvCompanyLogo",
593
593
  props: {
594
594
  basePath: {
@@ -603,13 +603,13 @@ var Ze = {
603
603
  srcPathOverride: { type: String }
604
604
  },
605
605
  setup(e) {
606
- let t = e, n = N(!0), i = r(() => Ze[t.size] || "32px"), a = r(() => ({
606
+ let t = e, n = M(!0), i = r(() => Qe[t.size] || "32px"), a = r(() => ({
607
607
  "pv-icon": n.value,
608
608
  [`pv-company-${t.size}`]: t.size && !n.value
609
609
  })), c = r(() => ({ width: i.value })), l = r(() => `${t.name.toLowerCase().replace(/[^a-z\s]/g, "").trim().replace(/\s+/g, "_")}.svg`), u = r(() => t.srcPathOverride ? t.srcPathOverride : `${t.basePath}/${l.value}`);
610
- return H(u, () => {
610
+ return V(u, () => {
611
611
  n.value = !0;
612
- }), (e, t) => (k(), o("div", mt, [n.value ? (k(), o("div", {
612
+ }), (e, t) => (O(), o("div", ht, [n.value ? (O(), o("div", {
613
613
  key: 0,
614
614
  class: x(a.value),
615
615
  style: C(c.value)
@@ -617,12 +617,12 @@ var Ze = {
617
617
  src: u.value,
618
618
  alt: "",
619
619
  onError: t[0] ||= (e) => n.value = !1
620
- }, null, 40, ht)], 6)) : (k(), o("div", {
620
+ }, null, 40, gt)], 6)) : (O(), o("div", {
621
621
  key: 1,
622
622
  class: x(a.value)
623
623
  }, null, 2))]));
624
624
  }
625
- }), _t = ["data-style", "data-shape"], vt = ["src", "alt"], yt = /* @__PURE__ */ d({
625
+ }), vt = ["data-style", "data-shape"], yt = ["src", "alt"], bt = /* @__PURE__ */ d({
626
626
  __name: "PvAvatar",
627
627
  props: {
628
628
  alt: { type: String },
@@ -653,69 +653,69 @@ var Ze = {
653
653
  xl: 20,
654
654
  "2x": 20
655
655
  };
656
- return (s, c) => (k(), o("div", {
656
+ return (s, c) => (O(), o("div", {
657
657
  class: x(n[e.size]),
658
658
  "data-testid": "pv-avatar",
659
659
  "data-style": e.variant,
660
660
  "data-shape": e.shape
661
- }, [e.icon ? (k(), i(G, {
661
+ }, [e.icon ? (O(), i(W, {
662
662
  key: 0,
663
663
  name: e.icon,
664
664
  size: r[e.size]
665
- }, null, 8, ["name", "size"])) : e.initials ? (k(), o(t, { key: 1 }, [l(R(e.initials), 1)], 64)) : e.image ? (k(), o("img", {
665
+ }, null, 8, ["name", "size"])) : e.initials ? (O(), o(t, { key: 1 }, [l(L(e.initials), 1)], 64)) : e.image ? (O(), o("img", {
666
666
  key: 2,
667
667
  src: e.image,
668
668
  alt: e.alt ?? ""
669
- }, null, 8, vt)) : a("v-if", !0)], 10, _t));
669
+ }, null, 8, yt)) : a("v-if", !0)], 10, vt));
670
670
  }
671
671
  });
672
672
  //#endregion
673
673
  //#region src/composables/useSlotPresence.ts
674
- function bt(e, t) {
674
+ function xt(e, t) {
675
675
  if (e.nodeType !== Node.TEXT_NODE) return !1;
676
676
  let n = e.textContent ?? "";
677
677
  return t ? n.length > 0 : n.trim().length > 0;
678
678
  }
679
- function xt(e, t, n) {
679
+ function St(e, t, n) {
680
680
  let r = t === "default" ? "" : t, i = Array.from(e.childNodes);
681
- return r === "" ? i.some((e) => e.nodeType === Node.ELEMENT_NODE ? !e.hasAttribute("slot") : bt(e, n)) : i.some((e) => e.nodeType === Node.ELEMENT_NODE ? e.getAttribute("slot") === r : !1);
681
+ return r === "" ? i.some((e) => e.nodeType === Node.ELEMENT_NODE ? !e.hasAttribute("slot") : xt(e, n)) : i.some((e) => e.nodeType === Node.ELEMENT_NODE ? e.getAttribute("slot") === r : !1);
682
682
  }
683
- function St(e, t) {
683
+ function Ct(e, t) {
684
684
  let n = e.shadowRoot;
685
685
  return n ? t === "default" || t === "" ? n.querySelector("slot:not([name])") : n.querySelector(`slot[name="${CSS.escape(t)}"]`) : null;
686
686
  }
687
- function Ct(e, t = {}) {
688
- let { host: n, vueSlots: i, observe: a = !0, listenSlotChange: o = !0, countWhitespaceTextInDefaultSlot: s = !1 } = t, c = Xe(), l = i ?? re(), u = e === "default" || e === "" ? "default" : e, d = () => !!l && !!l[u], f = N(d());
687
+ function wt(e, t = {}) {
688
+ let { host: n, vueSlots: i, observe: a = !0, listenSlotChange: o = !0, countWhitespaceTextInDefaultSlot: s = !1 } = t, c = Ze(), l = i ?? ie(), u = e === "default" || e === "" ? "default" : e, d = () => !!l && !!l[u], f = M(d());
689
689
  T(() => {
690
690
  f.value = d();
691
691
  });
692
- let p = N(!1), m = null, h = null, g = () => {
692
+ let p = M(!1), m = null, h = null, g = () => {
693
693
  m &&= (m.disconnect(), null), h &&= (h.removeEventListener("slotchange", _), null);
694
694
  }, _ = () => {
695
695
  if (!c.value) {
696
696
  p.value = !1;
697
697
  return;
698
698
  }
699
- let t = B(n);
699
+ let t = z(n);
700
700
  if (!t) {
701
701
  p.value = !1;
702
702
  return;
703
703
  }
704
- let r = o ? St(t, e) : null;
704
+ let r = o ? Ct(t, e) : null;
705
705
  if (r) {
706
- p.value = r.assignedNodes({ flatten: !0 }).some((e) => e.nodeType === Node.ELEMENT_NODE ? !0 : bt(e, s));
706
+ p.value = r.assignedNodes({ flatten: !0 }).some((e) => e.nodeType === Node.ELEMENT_NODE ? !0 : xt(e, s));
707
707
  return;
708
708
  }
709
- p.value = xt(t, e, s);
709
+ p.value = St(t, e, s);
710
710
  }, v = () => {
711
711
  if (!c.value) return;
712
712
  g();
713
- let t = B(n);
713
+ let t = z(n);
714
714
  if (!t) {
715
715
  p.value = !1;
716
716
  return;
717
717
  }
718
- _(), o && (h = St(t, e), h && h.addEventListener("slotchange", _)), a && (m = new MutationObserver(() => _()), m.observe(t, {
718
+ _(), o && (h = Ct(t, e), h && h.addEventListener("slotchange", _)), a && (m = new MutationObserver(() => _()), m.observe(t, {
719
719
  childList: !0,
720
720
  subtree: !1,
721
721
  attributes: !0,
@@ -723,7 +723,7 @@ function Ct(e, t = {}) {
723
723
  characterData: !0
724
724
  }));
725
725
  };
726
- return E(v), w(g), H(() => B(n), () => {
726
+ return E(v), w(g), V(() => z(n), () => {
727
727
  c.value && v();
728
728
  }), {
729
729
  present: r(() => c.value ? p.value : f.value),
@@ -734,12 +734,12 @@ function Ct(e, t = {}) {
734
734
  }
735
735
  //#endregion
736
736
  //#region src/components/base/PvTooltip/PvTooltip.vue?vue&type=script&setup=true&lang.ts
737
- var wt = [
737
+ var Tt = [
738
738
  "data-position",
739
739
  "data-style",
740
740
  "data-static",
741
741
  "aria-labelledby"
742
- ], Tt = ["id"], Et = /* @__PURE__ */ d({
742
+ ], Et = ["id"], Dt = /* @__PURE__ */ d({
743
743
  __name: "PvTooltip",
744
744
  props: {
745
745
  variant: {
@@ -768,30 +768,30 @@ var wt = [
768
768
  }
769
769
  },
770
770
  setup(e) {
771
- let { present: t } = Ct("tooltip-content");
772
- return (n, r) => (k(), o("div", {
771
+ let { present: t } = wt("tooltip-content");
772
+ return (n, r) => (O(), o("div", {
773
773
  "data-testid": "pv-tooltip",
774
774
  class: x([{
775
- "pv-tooltip": B(t),
776
- "pv-tooltip-small": B(t) && e.size === "sm"
775
+ "pv-tooltip": z(t),
776
+ "pv-tooltip-small": z(t) && e.size === "sm"
777
777
  }]),
778
778
  "data-position": e.tooltipPosition,
779
779
  "data-style": e.variant === "white" ? "white" : "dark",
780
780
  "data-static": e.disableInteractive ? !0 : void 0,
781
- "aria-labelledby": B(t) ? e.ariaLabelledBy : void 0
782
- }, [P(n.$slots, "label"), B(t) ? (k(), o("div", {
781
+ "aria-labelledby": z(t) ? e.ariaLabelledBy : void 0
782
+ }, [N(n.$slots, "label"), z(t) ? (O(), o("div", {
783
783
  key: 0,
784
784
  role: "tooltip",
785
785
  id: e.ariaLabelledBy,
786
786
  "data-testid": "pv-tooltip-content"
787
- }, [P(n.$slots, "tooltip-content")], 8, Tt)) : a("v-if", !0)], 10, wt));
787
+ }, [N(n.$slots, "tooltip-content")], 8, Et)) : a("v-if", !0)], 10, Tt));
788
788
  }
789
- }), Dt = ["disabled"], Ot = { class: "pv-flex pv-select-button-trigger-content" }, kt = {
789
+ }), Ot = ["disabled"], kt = { class: "pv-flex pv-select-button-trigger-content" }, At = {
790
790
  key: 0,
791
791
  "data-testid": "pv-select-prefix-label",
792
792
  class: "pv-border-right pv-text-quaternary",
793
793
  style: { "padding-right": "4px" }
794
- }, At = ["title"], jt = /* @__PURE__ */ nt(/* @__PURE__ */ d({
794
+ }, jt = ["title"], Mt = /* @__PURE__ */ rt(/* @__PURE__ */ d({
795
795
  __name: "PvSelectButtonTrigger",
796
796
  props: {
797
797
  avatar: { type: Object },
@@ -836,8 +836,8 @@ var wt = [
836
836
  "pv-space-between",
837
837
  "pv-full-width"
838
838
  ];
839
- n.inverse && qe.includes(n.variant) ? e.push(`pv-button-${n.variant}-inverse`) : e.push(`pv-button-${n.variant}`);
840
- let t = Ye(n.size);
839
+ n.inverse && Je.includes(n.variant) ? e.push(`pv-button-${n.variant}-inverse`) : e.push(`pv-button-${n.variant}`);
840
+ let t = Xe(n.size);
841
841
  return t && e.push(t), e;
842
842
  }), d = r(() => n.isLoading ? "Loading..." : n.selectedItems && n.selectedItems.length > 0 && n.counterStyle === "secondary" ? n.selectedItems[0].text : n.label), f = r(() => {
843
843
  if (n.selectedOption) return {
@@ -847,33 +847,33 @@ var wt = [
847
847
  selected: !0
848
848
  };
849
849
  });
850
- return (n, r) => (k(), o("button", {
850
+ return (n, r) => (O(), o("button", {
851
851
  "data-testid": "pv-multi-select-button-trigger",
852
852
  class: x(c.value),
853
853
  style: { "--flex-gap": "0.25rem" },
854
854
  disabled: e.disabled || e.isLoading
855
855
  }, [
856
- s("div", Ot, [
857
- e.prefixLabel ? (k(), o("p", kt, R(e.prefixLabel), 1)) : a("v-if", !0),
858
- e.counterPosition === "left" && e.counterValue && e.counterStyle === "primary" ? (k(), i(rt, {
856
+ s("div", kt, [
857
+ e.prefixLabel ? (O(), o("p", At, L(e.prefixLabel), 1)) : a("v-if", !0),
858
+ e.counterPosition === "left" && e.counterValue && e.counterStyle === "primary" ? (O(), i(it, {
859
859
  key: 1,
860
860
  "data-testid": "pv-multi-select-left-counter-badge",
861
861
  value: e.counterValue,
862
862
  variant: e.counterBadgeVariant,
863
863
  size: "sm"
864
864
  }, null, 8, ["value", "variant"])) : a("v-if", !0),
865
- !e.isLoading && e.renderer && f.value ? (k(), i(I(e.renderer), S(y({ key: 2 }, f.value)), null, 16)) : (k(), o(t, { key: 3 }, [
866
- e.icon ? (k(), i(G, {
865
+ !e.isLoading && e.renderer && f.value ? (O(), i(F(e.renderer), S(y({ key: 2 }, f.value)), null, 16)) : (O(), o(t, { key: 3 }, [
866
+ e.icon ? (O(), i(W, {
867
867
  key: 0,
868
868
  "data-testid": "pv-multi-select-button-icon",
869
869
  name: e.icon
870
870
  }, null, 8, ["name"])) : a("v-if", !0),
871
- e.companyLogo ? (k(), i(gt, {
871
+ e.companyLogo ? (O(), i(_t, {
872
872
  key: 1,
873
873
  name: e.companyLogo,
874
874
  size: "sm"
875
875
  }, null, 8, ["name"])) : a("v-if", !0),
876
- e.avatar ? (k(), i(yt, {
876
+ e.avatar ? (O(), i(bt, {
877
877
  key: 2,
878
878
  class: "pv-select-button-trigger-avatar",
879
879
  "data-testid": "pv-multi-select-button-avatar",
@@ -888,20 +888,20 @@ var wt = [
888
888
  "variant",
889
889
  "shape"
890
890
  ])) : a("v-if", !0),
891
- e.isLoading || e.label ? (k(), o("span", {
891
+ e.isLoading || e.label ? (O(), o("span", {
892
892
  key: 3,
893
893
  class: "pv-truncate pv-select-button-trigger-label",
894
894
  title: d.value
895
- }, R(d.value), 9, At)) : a("v-if", !0)
895
+ }, L(d.value), 9, jt)) : a("v-if", !0)
896
896
  ], 64)),
897
- e.counterPosition === "right" && e.counterValue && e.counterStyle === "primary" ? (k(), i(rt, {
897
+ e.counterPosition === "right" && e.counterValue && e.counterStyle === "primary" ? (O(), i(it, {
898
898
  key: 4,
899
899
  "data-testid": "pv-multi-select-right-counter-badge",
900
900
  value: e.counterValue,
901
901
  variant: e.counterBadgeVariant,
902
902
  size: "sm"
903
903
  }, null, 8, ["value", "variant"])) : a("v-if", !0),
904
- e.counterStyle === "secondary" && (e.counterValue ?? 0) >= 2 ? (k(), i(rt, {
904
+ e.counterStyle === "secondary" && (e.counterValue ?? 0) >= 2 ? (O(), i(it, {
905
905
  key: 5,
906
906
  "data-testid": "pv-multi-select-secondary-counter-badge",
907
907
  prefix: "+",
@@ -910,43 +910,43 @@ var wt = [
910
910
  size: "sm"
911
911
  }, null, 8, ["value"])) : a("v-if", !0)
912
912
  ]),
913
- e.showDropdown ? (k(), i(G, {
913
+ e.showDropdown ? (O(), i(W, {
914
914
  key: 0,
915
915
  name: e.open ? "chevron-up" : "chevron-down"
916
916
  }, null, 8, ["name"])) : a("v-if", !0),
917
- e.showClear ? (k(), i(Et, {
917
+ e.showClear ? (O(), i(Dt, {
918
918
  key: 1,
919
919
  size: "sm",
920
920
  variant: "dark",
921
921
  "tooltip-position": "top-left"
922
922
  }, {
923
- label: U(() => [u(G, {
923
+ label: H(() => [u(W, {
924
924
  name: "close",
925
- onClick: r[0] ||= le((e) => n.$emit("handle-clear"), ["stop"])
925
+ onClick: r[0] ||= ue((e) => n.$emit("handle-clear"), ["stop"])
926
926
  })]),
927
- "tooltip-content": U(() => [...r[1] ||= [l(" Clear Selections ", -1)]]),
927
+ "tooltip-content": H(() => [...r[1] ||= [l(" Clear Selections ", -1)]]),
928
928
  _: 1
929
929
  })) : a("v-if", !0)
930
- ], 10, Dt));
930
+ ], 10, Ot));
931
931
  }
932
- }), [["styles", [".pv-select-button-trigger-avatar[data-v-5b922a5f]{font-size:.5rem;font-weight:700}.pv-select-button-trigger-content[data-v-5b922a5f]{min-width:0}.pv-select-button-trigger-label[data-v-5b922a5f]{flex:auto;min-width:0}"]], ["__scopeId", "data-v-5b922a5f"]]), Mt = {}, Nt = { class: "pv-text-subdued pv-text-center pv-text-body-md pv-inset-square-12" };
933
- function Pt(e, t) {
934
- return k(), o("div", Nt, "No Results Found");
932
+ }), [["styles", [".pv-select-button-trigger-avatar[data-v-5b922a5f]{font-size:.5rem;font-weight:700}.pv-select-button-trigger-content[data-v-5b922a5f]{min-width:0}.pv-select-button-trigger-label[data-v-5b922a5f]{flex:auto;min-width:0}"]], ["__scopeId", "data-v-5b922a5f"]]), Nt = {}, Pt = { class: "pv-text-subdued pv-text-center pv-text-body-md pv-inset-square-12" };
933
+ function Ft(e, t) {
934
+ return O(), o("div", Pt, "No Results Found");
935
935
  }
936
- var Ft = /* @__PURE__ */ nt(Mt, [["render", Pt]]);
936
+ var It = /* @__PURE__ */ rt(Nt, [["render", Ft]]);
937
937
  //#endregion
938
938
  //#region src/components/base/PvMenu/cascadeUtils.ts
939
- function It(e) {
939
+ function Lt(e) {
940
940
  return !!e.children?.length || (e.totalChildCount ?? 0) > 0;
941
941
  }
942
- function Lt(e) {
943
- return e.flatMap((e) => e.children?.length ? Lt(e.children) : (e.totalChildCount ?? 0) > 0 ? [] : [e]);
942
+ function Rt(e) {
943
+ return e.flatMap((e) => e.children?.length ? Rt(e.children) : (e.totalChildCount ?? 0) > 0 ? [] : [e]);
944
944
  }
945
- function Rt(e, t) {
945
+ function zt(e, t) {
946
946
  let n = new Set(e.map((e) => e.id)), r = t.filter((e) => !n.has(e.id));
947
947
  return r.length > 0 ? [...e, ...r] : e;
948
948
  }
949
- function zt(e, t) {
949
+ function Bt(e, t) {
950
950
  let n = (e) => {
951
951
  let r = 0, i = 0, a = 0;
952
952
  for (let o of e) if (o.children?.length) {
@@ -961,14 +961,14 @@ function zt(e, t) {
961
961
  };
962
962
  return n(e).displayCount;
963
963
  }
964
- function Bt(e) {
964
+ function Vt(e) {
965
965
  return e.filter((e) => e.state === "selected").length;
966
966
  }
967
- function Vt(e, t, n = !0) {
967
+ function Ht(e, t, n = !0) {
968
968
  return e.flatMap((e) => {
969
969
  if (e.text.toLocaleLowerCase().includes(t) || e.searchText?.toLocaleLowerCase().includes(t)) return [e];
970
970
  if (e.children?.length) {
971
- let r = Vt(e.children, t, n);
971
+ let r = Ht(e.children, t, n);
972
972
  if (r.length) return n ? [{
973
973
  ...e,
974
974
  children: r
@@ -979,16 +979,16 @@ function Vt(e, t, n = !0) {
979
979
  }
980
980
  //#endregion
981
981
  //#region src/components/base/PvMenu/items/PvMenuBaseItem.vue?vue&type=script&setup=true&lang.ts
982
- var Ht = {
982
+ var Ut = {
983
983
  class: "pv-full-width pv-truncate pv-flex-vertical",
984
984
  style: {
985
985
  "align-items": "flex-start",
986
986
  "--flex-gap": "0"
987
987
  }
988
- }, Ut = ["title"], Wt = ["title"], Gt = {
988
+ }, Wt = ["title"], Gt = ["title"], Kt = {
989
989
  key: 4,
990
990
  class: "pv-text-subdued pv-text-body-md"
991
- }, Kt = /* @__PURE__ */ d({
991
+ }, qt = /* @__PURE__ */ d({
992
992
  inheritAttrs: !1,
993
993
  __name: "PvMenuBaseItem",
994
994
  props: {
@@ -1016,7 +1016,7 @@ var Ht = {
1016
1016
  config: { type: Object }
1017
1017
  },
1018
1018
  setup(e) {
1019
- let n = e, c = N(null), l = N(null), u = r(() => n.subText || null), d = (e) => e.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"), f = (e, t, n) => {
1019
+ let n = e, c = M(null), l = M(null), u = r(() => n.subText || null), d = (e) => e.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"), f = (e, t, n) => {
1020
1020
  let r = d(n), i = RegExp(`(${r})`, "gi");
1021
1021
  e.innerHTML = t.replace(i, "<span data-test-id=\"pv-matched-text\" style=\"font-weight: bold;\">$1</span>");
1022
1022
  }, p = () => {
@@ -1027,10 +1027,10 @@ var Ht = {
1027
1027
  };
1028
1028
  return E(() => {
1029
1029
  p();
1030
- }), H(() => n.queryText, () => {
1030
+ }), V(() => n.queryText, () => {
1031
1031
  p();
1032
- }), (n, r) => (k(), o(t, null, [
1033
- e.avatar ? (k(), i(yt, {
1032
+ }), (n, r) => (O(), o(t, null, [
1033
+ e.avatar ? (O(), i(bt, {
1034
1034
  key: 0,
1035
1035
  initials: e.avatar.initials,
1036
1036
  image: e.avatar.image,
@@ -1043,27 +1043,27 @@ var Ht = {
1043
1043
  "variant",
1044
1044
  "shape"
1045
1045
  ])) : a("v-if", !0),
1046
- e.icon ? (k(), i(G, {
1046
+ e.icon ? (O(), i(W, {
1047
1047
  key: 1,
1048
1048
  class: x({ "pv-text-subdued": !e.disabled }),
1049
1049
  name: e.icon
1050
1050
  }, null, 8, ["class", "name"])) : a("v-if", !0),
1051
- e.companyName ? (k(), i(gt, {
1051
+ e.companyName ? (O(), i(_t, {
1052
1052
  key: 2,
1053
1053
  name: e.companyName,
1054
1054
  size: "sm"
1055
1055
  }, null, 8, ["name"])) : a("v-if", !0),
1056
- s("div", Ht, [s("span", {
1056
+ s("div", Ut, [s("span", {
1057
1057
  class: "pv-text-body-md pv-full-width pv-truncate",
1058
1058
  title: e.hoverTitle ?? e.text
1059
1059
  }, [s("span", {
1060
1060
  ref_key: "mainText",
1061
1061
  ref: c
1062
- }, R(e.text), 513), e.subduedText ? (k(), o("span", {
1062
+ }, L(e.text), 513), e.subduedText ? (O(), o("span", {
1063
1063
  key: 0,
1064
1064
  class: x({ "pv-text-subdued": !e.disabled }),
1065
1065
  style: { "padding-left": "4px" }
1066
- }, R(e.subduedText), 3)) : a("v-if", !0)], 8, Ut), u.value ? (k(), o("span", {
1066
+ }, L(e.subduedText), 3)) : a("v-if", !0)], 8, Wt), u.value ? (O(), o("span", {
1067
1067
  key: 0,
1068
1068
  ref_key: "subText",
1069
1069
  ref: l,
@@ -1074,19 +1074,19 @@ var Ht = {
1074
1074
  { "pv-text-subdued": !e.disabled }
1075
1075
  ]),
1076
1076
  title: e.hoverTitle ?? u.value
1077
- }, R(u.value), 11, Wt)) : a("v-if", !0)]),
1078
- e.secondaryText && typeof e.secondaryText == "number" ? (k(), i(rt, {
1077
+ }, L(u.value), 11, Gt)) : a("v-if", !0)]),
1078
+ e.secondaryText && typeof e.secondaryText == "number" ? (O(), i(it, {
1079
1079
  key: 3,
1080
1080
  value: e.secondaryText,
1081
1081
  variant: e.menuOptionConfig?.counterBadgeVariant
1082
- }, null, 8, ["value", "variant"])) : e.secondaryText && typeof e.secondaryText == "string" ? (k(), o("span", Gt, R(e.secondaryText), 1)) : a("v-if", !0)
1082
+ }, null, 8, ["value", "variant"])) : e.secondaryText && typeof e.secondaryText == "string" ? (O(), o("span", Kt, L(e.secondaryText), 1)) : a("v-if", !0)
1083
1083
  ], 64));
1084
1084
  }
1085
- }), qt = ["for"], Jt = { key: 0 }, Yt = [
1085
+ }), Jt = ["for"], Yt = { key: 0 }, Xt = [
1086
1086
  "disabled",
1087
1087
  "aria-label",
1088
1088
  "id"
1089
- ], Xt = /* @__PURE__ */ nt(/* @__PURE__ */ d({
1089
+ ], Zt = /* @__PURE__ */ rt(/* @__PURE__ */ d({
1090
1090
  __name: "PvSwitch",
1091
1091
  props: /* @__PURE__ */ v({
1092
1092
  size: {
@@ -1113,89 +1113,89 @@ var Ht = {
1113
1113
  }),
1114
1114
  emits: ["update:modelValue"],
1115
1115
  setup(e) {
1116
- let t = e.id ?? te(), n = ne(e, "modelValue");
1117
- return (r, i) => (k(), o("label", {
1118
- for: B(t),
1116
+ let t = e.id ?? ne(), n = re(e, "modelValue");
1117
+ return (r, i) => (O(), o("label", {
1118
+ for: z(t),
1119
1119
  class: x(["pv-label pv-switch pv-label-hover", {
1120
1120
  "pv-input-small": e.size === "md",
1121
1121
  "pv-input-xsmall": e.size === "sm",
1122
1122
  "pv-switch-hide-check": e.hideCheckIcon
1123
1123
  }])
1124
- }, [e.label ? (k(), o("span", Jt, R(e.label), 1)) : a("v-if", !0), ce(s("input", {
1124
+ }, [e.label ? (O(), o("span", Yt, L(e.label), 1)) : a("v-if", !0), le(s("input", {
1125
1125
  "onUpdate:modelValue": i[0] ||= (e) => n.value = e,
1126
1126
  disabled: e.disabled,
1127
1127
  "aria-label": e.ariaLabel,
1128
1128
  type: "checkbox",
1129
1129
  role: "switch",
1130
- id: B(t)
1131
- }, null, 8, Yt), [[V, n.value]])], 10, qt));
1130
+ id: z(t)
1131
+ }, null, 8, Xt), [[B, n.value]])], 10, Jt));
1132
1132
  }
1133
- }), [["styles", [".pv-switch-hide-check[data-v-73e6d2b2] input[type=checkbox]:checked:after,.pv-switch-hide-check[data-v-73e6d2b2] input[type=checkbox]:checked:not(:disabled):hover:after,.pv-switch-hide-check[data-v-73e6d2b2] input[type=checkbox]:checked:not(:disabled):focus-visible:after,.pv-switch-hide-check[data-v-73e6d2b2] input[type=checkbox]:checked:not(:disabled):active:after,.pv-switch-hide-check[data-v-73e6d2b2] input[type=checkbox]:checked:disabled:after{background-image:unset}"]], ["__scopeId", "data-v-73e6d2b2"]]), Zt = Math.min, Qt = Math.max, $t = Math.round, en = (e) => ({
1133
+ }), [["styles", [".pv-switch-hide-check[data-v-73e6d2b2] input[type=checkbox]:checked:after,.pv-switch-hide-check[data-v-73e6d2b2] input[type=checkbox]:checked:not(:disabled):hover:after,.pv-switch-hide-check[data-v-73e6d2b2] input[type=checkbox]:checked:not(:disabled):focus-visible:after,.pv-switch-hide-check[data-v-73e6d2b2] input[type=checkbox]:checked:not(:disabled):active:after,.pv-switch-hide-check[data-v-73e6d2b2] input[type=checkbox]:checked:disabled:after{background-image:unset}"]], ["__scopeId", "data-v-73e6d2b2"]]), Qt = Math.min, $t = Math.max, en = Math.round, tn = (e) => ({
1134
1134
  x: e,
1135
1135
  y: e
1136
- }), tn = {
1136
+ }), nn = {
1137
1137
  left: "right",
1138
1138
  right: "left",
1139
1139
  bottom: "top",
1140
1140
  top: "bottom"
1141
1141
  };
1142
- function nn(e, t) {
1142
+ function rn(e, t) {
1143
1143
  return typeof e == "function" ? e(t) : e;
1144
1144
  }
1145
- function rn(e) {
1145
+ function an(e) {
1146
1146
  return e.split("-")[0];
1147
1147
  }
1148
- function an(e) {
1148
+ function on(e) {
1149
1149
  return e.split("-")[1];
1150
1150
  }
1151
- function on(e) {
1151
+ function sn(e) {
1152
1152
  return e === "x" ? "y" : "x";
1153
1153
  }
1154
- function sn(e) {
1154
+ function cn(e) {
1155
1155
  return e === "y" ? "height" : "width";
1156
1156
  }
1157
- function cn(e) {
1157
+ function ln(e) {
1158
1158
  let t = e[0];
1159
1159
  return t === "t" || t === "b" ? "y" : "x";
1160
1160
  }
1161
- function ln(e) {
1162
- return on(cn(e));
1161
+ function un(e) {
1162
+ return sn(ln(e));
1163
1163
  }
1164
- function un(e, t, n) {
1164
+ function dn(e, t, n) {
1165
1165
  n === void 0 && (n = !1);
1166
- let r = an(e), i = ln(e), a = sn(i), o = i === "x" ? r === (n ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
1167
- return t.reference[a] > t.floating[a] && (o = yn(o)), [o, yn(o)];
1166
+ let r = on(e), i = un(e), a = cn(i), o = i === "x" ? r === (n ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
1167
+ return t.reference[a] > t.floating[a] && (o = bn(o)), [o, bn(o)];
1168
1168
  }
1169
- function dn(e) {
1170
- let t = yn(e);
1169
+ function fn(e) {
1170
+ let t = bn(e);
1171
1171
  return [
1172
- fn(e),
1172
+ pn(e),
1173
1173
  t,
1174
- fn(t)
1174
+ pn(t)
1175
1175
  ];
1176
1176
  }
1177
- function fn(e) {
1177
+ function pn(e) {
1178
1178
  return e.includes("start") ? e.replace("start", "end") : e.replace("end", "start");
1179
1179
  }
1180
- var pn = ["left", "right"], mn = ["right", "left"], hn = ["top", "bottom"], gn = ["bottom", "top"];
1181
- function _n(e, t, n) {
1180
+ var mn = ["left", "right"], hn = ["right", "left"], gn = ["top", "bottom"], _n = ["bottom", "top"];
1181
+ function vn(e, t, n) {
1182
1182
  switch (e) {
1183
1183
  case "top":
1184
- case "bottom": return n ? t ? mn : pn : t ? pn : mn;
1184
+ case "bottom": return n ? t ? hn : mn : t ? mn : hn;
1185
1185
  case "left":
1186
- case "right": return t ? hn : gn;
1186
+ case "right": return t ? gn : _n;
1187
1187
  default: return [];
1188
1188
  }
1189
1189
  }
1190
- function vn(e, t, n, r) {
1191
- let i = an(e), a = _n(rn(e), n === "start", r);
1192
- return i && (a = a.map((e) => e + "-" + i), t && (a = a.concat(a.map(fn)))), a;
1193
- }
1194
- function yn(e) {
1195
- let t = rn(e);
1196
- return tn[t] + e.slice(t.length);
1190
+ function yn(e, t, n, r) {
1191
+ let i = on(e), a = vn(an(e), n === "start", r);
1192
+ return i && (a = a.map((e) => e + "-" + i), t && (a = a.concat(a.map(pn)))), a;
1197
1193
  }
1198
1194
  function bn(e) {
1195
+ let t = an(e);
1196
+ return nn[t] + e.slice(t.length);
1197
+ }
1198
+ function xn(e) {
1199
1199
  return {
1200
1200
  top: 0,
1201
1201
  right: 0,
@@ -1204,15 +1204,15 @@ function bn(e) {
1204
1204
  ...e
1205
1205
  };
1206
1206
  }
1207
- function xn(e) {
1207
+ function Sn(e) {
1208
1208
  return typeof e == "number" ? {
1209
1209
  top: e,
1210
1210
  right: e,
1211
1211
  bottom: e,
1212
1212
  left: e
1213
- } : bn(e);
1213
+ } : xn(e);
1214
1214
  }
1215
- function Sn(e) {
1215
+ function Cn(e) {
1216
1216
  let { x: t, y: n, width: r, height: i } = e;
1217
1217
  return {
1218
1218
  width: r,
@@ -1227,8 +1227,8 @@ function Sn(e) {
1227
1227
  }
1228
1228
  //#endregion
1229
1229
  //#region ../node_modules/.pnpm/@floating-ui+core@1.7.5/node_modules/@floating-ui/core/dist/floating-ui.core.mjs
1230
- function Cn(e, t, n) {
1231
- let { reference: r, floating: i } = e, a = cn(t), o = ln(t), s = sn(o), c = rn(t), l = a === "y", u = r.x + r.width / 2 - i.width / 2, d = r.y + r.height / 2 - i.height / 2, f = r[s] / 2 - i[s] / 2, p;
1230
+ function wn(e, t, n) {
1231
+ let { reference: r, floating: i } = e, a = ln(t), o = un(t), s = cn(o), c = an(t), l = a === "y", u = r.x + r.width / 2 - i.width / 2, d = r.y + r.height / 2 - i.height / 2, f = r[s] / 2 - i[s] / 2, p;
1232
1232
  switch (c) {
1233
1233
  case "top":
1234
1234
  p = {
@@ -1259,7 +1259,7 @@ function Cn(e, t, n) {
1259
1259
  y: r.y
1260
1260
  };
1261
1261
  }
1262
- switch (an(t)) {
1262
+ switch (on(t)) {
1263
1263
  case "start":
1264
1264
  p[o] -= f * (n && l ? -1 : 1);
1265
1265
  break;
@@ -1269,9 +1269,9 @@ function Cn(e, t, n) {
1269
1269
  }
1270
1270
  return p;
1271
1271
  }
1272
- async function wn(e, t) {
1272
+ async function Tn(e, t) {
1273
1273
  t === void 0 && (t = {});
1274
- let { x: n, y: r, platform: i, rects: a, elements: o, strategy: s } = e, { boundary: c = "clippingAncestors", rootBoundary: l = "viewport", elementContext: u = "floating", altBoundary: d = !1, padding: f = 0 } = nn(t, e), p = xn(f), m = o[d ? u === "floating" ? "reference" : "floating" : u], h = Sn(await i.getClippingRect({
1274
+ let { x: n, y: r, platform: i, rects: a, elements: o, strategy: s } = e, { boundary: c = "clippingAncestors", rootBoundary: l = "viewport", elementContext: u = "floating", altBoundary: d = !1, padding: f = 0 } = rn(t, e), p = Sn(f), m = o[d ? u === "floating" ? "reference" : "floating" : u], h = Cn(await i.getClippingRect({
1275
1275
  element: await (i.isElement == null ? void 0 : i.isElement(m)) ?? !0 ? m : m.contextElement || await (i.getDocumentElement == null ? void 0 : i.getDocumentElement(o.floating)),
1276
1276
  boundary: c,
1277
1277
  rootBoundary: l,
@@ -1284,7 +1284,7 @@ async function wn(e, t) {
1284
1284
  } : a.reference, _ = await (i.getOffsetParent == null ? void 0 : i.getOffsetParent(o.floating)), v = await (i.isElement == null ? void 0 : i.isElement(_)) && await (i.getScale == null ? void 0 : i.getScale(_)) || {
1285
1285
  x: 1,
1286
1286
  y: 1
1287
- }, y = Sn(i.convertOffsetParentRelativeRectToViewportRelativeRect ? await i.convertOffsetParentRelativeRectToViewportRelativeRect({
1287
+ }, y = Cn(i.convertOffsetParentRelativeRectToViewportRelativeRect ? await i.convertOffsetParentRelativeRectToViewportRelativeRect({
1288
1288
  elements: o,
1289
1289
  rect: g,
1290
1290
  offsetParent: _,
@@ -1297,15 +1297,15 @@ async function wn(e, t) {
1297
1297
  right: (y.right - h.right + p.right) / v.x
1298
1298
  };
1299
1299
  }
1300
- var Tn = 50, En = async (e, t, n) => {
1300
+ var En = 50, Dn = async (e, t, n) => {
1301
1301
  let { placement: r = "bottom", strategy: i = "absolute", middleware: a = [], platform: o } = n, s = o.detectOverflow ? o : {
1302
1302
  ...o,
1303
- detectOverflow: wn
1303
+ detectOverflow: Tn
1304
1304
  }, c = await (o.isRTL == null ? void 0 : o.isRTL(t)), l = await o.getElementRects({
1305
1305
  reference: e,
1306
1306
  floating: t,
1307
1307
  strategy: i
1308
- }), { x: u, y: d } = Cn(l, r, c), f = r, p = 0, m = {};
1308
+ }), { x: u, y: d } = wn(l, r, c), f = r, p = 0, m = {};
1309
1309
  for (let n = 0; n < a.length; n++) {
1310
1310
  let h = a[n];
1311
1311
  if (!h) continue;
@@ -1326,11 +1326,11 @@ var Tn = 50, En = async (e, t, n) => {
1326
1326
  u = v ?? u, d = y ?? d, m[g] = {
1327
1327
  ...m[g],
1328
1328
  ...b
1329
- }, x && p < Tn && (p++, typeof x == "object" && (x.placement && (f = x.placement), x.rects && (l = x.rects === !0 ? await o.getElementRects({
1329
+ }, x && p < En && (p++, typeof x == "object" && (x.placement && (f = x.placement), x.rects && (l = x.rects === !0 ? await o.getElementRects({
1330
1330
  reference: e,
1331
1331
  floating: t,
1332
1332
  strategy: i
1333
- }) : x.rects), {x: u, y: d} = Cn(l, f, c)), n = -1);
1333
+ }) : x.rects), {x: u, y: d} = wn(l, f, c)), n = -1);
1334
1334
  }
1335
1335
  return {
1336
1336
  x: u,
@@ -1339,19 +1339,19 @@ var Tn = 50, En = async (e, t, n) => {
1339
1339
  strategy: i,
1340
1340
  middlewareData: m
1341
1341
  };
1342
- }, Dn = function(e) {
1342
+ }, On = function(e) {
1343
1343
  return e === void 0 && (e = {}), {
1344
1344
  name: "flip",
1345
1345
  options: e,
1346
1346
  async fn(t) {
1347
1347
  var n;
1348
- let { placement: r, middlewareData: i, rects: a, initialPlacement: o, platform: s, elements: c } = t, { mainAxis: l = !0, crossAxis: u = !0, fallbackPlacements: d, fallbackStrategy: f = "bestFit", fallbackAxisSideDirection: p = "none", flipAlignment: m = !0, ...h } = nn(e, t);
1348
+ let { placement: r, middlewareData: i, rects: a, initialPlacement: o, platform: s, elements: c } = t, { mainAxis: l = !0, crossAxis: u = !0, fallbackPlacements: d, fallbackStrategy: f = "bestFit", fallbackAxisSideDirection: p = "none", flipAlignment: m = !0, ...h } = rn(e, t);
1349
1349
  if ((n = i.arrow) != null && n.alignmentOffset) return {};
1350
- let g = rn(r), _ = cn(o), v = rn(o) === o, y = await (s.isRTL == null ? void 0 : s.isRTL(c.floating)), b = d || (v || !m ? [yn(o)] : dn(o)), x = p !== "none";
1351
- !d && x && b.push(...vn(o, m, p, y));
1350
+ let g = an(r), _ = ln(o), v = an(o) === o, y = await (s.isRTL == null ? void 0 : s.isRTL(c.floating)), b = d || (v || !m ? [bn(o)] : fn(o)), x = p !== "none";
1351
+ !d && x && b.push(...yn(o, m, p, y));
1352
1352
  let S = [o, ...b], C = await s.detectOverflow(t, h), w = [], T = i.flip?.overflows || [];
1353
1353
  if (l && w.push(C[g]), u) {
1354
- let e = un(r, a, y);
1354
+ let e = dn(r, a, y);
1355
1355
  w.push(C[e[0]], C[e[1]]);
1356
1356
  }
1357
1357
  if (T = [...T, {
@@ -1359,7 +1359,7 @@ var Tn = 50, En = async (e, t, n) => {
1359
1359
  overflows: w
1360
1360
  }], !w.every((e) => e <= 0)) {
1361
1361
  let e = (i.flip?.index || 0) + 1, t = S[e];
1362
- if (t && (!(u === "alignment" && _ !== cn(t)) || T.every((e) => cn(e.placement) === _ ? e.overflows[0] > 0 : !0))) return {
1362
+ if (t && (!(u === "alignment" && _ !== ln(t)) || T.every((e) => ln(e.placement) === _ ? e.overflows[0] > 0 : !0))) return {
1363
1363
  data: {
1364
1364
  index: e,
1365
1365
  overflows: T
@@ -1371,7 +1371,7 @@ var Tn = 50, En = async (e, t, n) => {
1371
1371
  case "bestFit": {
1372
1372
  let e = T.filter((e) => {
1373
1373
  if (x) {
1374
- let t = cn(e.placement);
1374
+ let t = ln(e.placement);
1375
1375
  return t === _ || t === "y";
1376
1376
  }
1377
1377
  return !0;
@@ -1388,9 +1388,9 @@ var Tn = 50, En = async (e, t, n) => {
1388
1388
  return {};
1389
1389
  }
1390
1390
  };
1391
- }, On = /* @__PURE__ */ new Set(["left", "top"]);
1392
- async function kn(e, t) {
1393
- let { placement: n, platform: r, elements: i } = e, a = await (r.isRTL == null ? void 0 : r.isRTL(i.floating)), o = rn(n), s = an(n), c = cn(n) === "y", l = On.has(o) ? -1 : 1, u = a && c ? -1 : 1, d = nn(t, e), { mainAxis: f, crossAxis: p, alignmentAxis: m } = typeof d == "number" ? {
1391
+ }, kn = /* @__PURE__ */ new Set(["left", "top"]);
1392
+ async function An(e, t) {
1393
+ let { placement: n, platform: r, elements: i } = e, a = await (r.isRTL == null ? void 0 : r.isRTL(i.floating)), o = an(n), s = on(n), c = ln(n) === "y", l = kn.has(o) ? -1 : 1, u = a && c ? -1 : 1, d = rn(t, e), { mainAxis: f, crossAxis: p, alignmentAxis: m } = typeof d == "number" ? {
1394
1394
  mainAxis: d,
1395
1395
  crossAxis: 0,
1396
1396
  alignmentAxis: null
@@ -1407,13 +1407,13 @@ async function kn(e, t) {
1407
1407
  y: p * u
1408
1408
  };
1409
1409
  }
1410
- var An = function(e) {
1410
+ var jn = function(e) {
1411
1411
  return e === void 0 && (e = 0), {
1412
1412
  name: "offset",
1413
1413
  options: e,
1414
1414
  async fn(t) {
1415
1415
  var n;
1416
- let { x: r, y: i, placement: a, middlewareData: o } = t, s = await kn(t, e);
1416
+ let { x: r, y: i, placement: a, middlewareData: o } = t, s = await An(t, e);
1417
1417
  return a === o.offset?.placement && (n = o.arrow) != null && n.alignmentOffset ? {} : {
1418
1418
  x: r + s.x,
1419
1419
  y: i + s.y,
@@ -1427,37 +1427,37 @@ var An = function(e) {
1427
1427
  };
1428
1428
  //#endregion
1429
1429
  //#region ../node_modules/.pnpm/@floating-ui+utils@0.2.11/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs
1430
- function jn() {
1430
+ function Mn() {
1431
1431
  return typeof window < "u";
1432
1432
  }
1433
- function Mn(e) {
1434
- return Pn(e) ? (e.nodeName || "").toLowerCase() : "#document";
1433
+ function Nn(e) {
1434
+ return Fn(e) ? (e.nodeName || "").toLowerCase() : "#document";
1435
1435
  }
1436
- function K(e) {
1436
+ function G(e) {
1437
1437
  var t;
1438
1438
  return (e == null || (t = e.ownerDocument) == null ? void 0 : t.defaultView) || window;
1439
1439
  }
1440
- function Nn(e) {
1441
- return ((Pn(e) ? e.ownerDocument : e.document) || window.document)?.documentElement;
1442
- }
1443
1440
  function Pn(e) {
1444
- return jn() ? e instanceof Node || e instanceof K(e).Node : !1;
1441
+ return ((Fn(e) ? e.ownerDocument : e.document) || window.document)?.documentElement;
1445
1442
  }
1446
1443
  function Fn(e) {
1447
- return jn() ? e instanceof Element || e instanceof K(e).Element : !1;
1444
+ return Mn() ? e instanceof Node || e instanceof G(e).Node : !1;
1445
+ }
1446
+ function K(e) {
1447
+ return Mn() ? e instanceof Element || e instanceof G(e).Element : !1;
1448
1448
  }
1449
1449
  function In(e) {
1450
- return jn() ? e instanceof HTMLElement || e instanceof K(e).HTMLElement : !1;
1450
+ return Mn() ? e instanceof HTMLElement || e instanceof G(e).HTMLElement : !1;
1451
1451
  }
1452
1452
  function Ln(e) {
1453
- return !jn() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof K(e).ShadowRoot;
1453
+ return !Mn() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof G(e).ShadowRoot;
1454
1454
  }
1455
1455
  function Rn(e) {
1456
1456
  let { overflow: t, overflowX: n, overflowY: r, display: i } = q(e);
1457
1457
  return /auto|scroll|overlay|hidden|clip/.test(t + r + n) && i !== "inline" && i !== "contents";
1458
1458
  }
1459
1459
  function zn(e) {
1460
- return /^(table|td|th)$/.test(Mn(e));
1460
+ return /^(table|td|th)$/.test(Nn(e));
1461
1461
  }
1462
1462
  function Bn(e) {
1463
1463
  try {
@@ -1471,7 +1471,7 @@ function Bn(e) {
1471
1471
  }
1472
1472
  var Vn = /transform|translate|scale|rotate|perspective|filter/, Hn = /paint|layout|strict|content/, Un = (e) => !!e && e !== "none", Wn;
1473
1473
  function Gn(e) {
1474
- let t = Fn(e) ? q(e) : e;
1474
+ let t = K(e) ? q(e) : e;
1475
1475
  return Un(t.transform) || Un(t.translate) || Un(t.scale) || Un(t.rotate) || Un(t.perspective) || !qn() && (Un(t.backdropFilter) || Un(t.filter)) || Vn.test(t.willChange || "") || Hn.test(t.contain || "");
1476
1476
  }
1477
1477
  function Kn(e) {
@@ -1487,13 +1487,13 @@ function qn() {
1487
1487
  return Wn ??= typeof CSS < "u" && CSS.supports && CSS.supports("-webkit-backdrop-filter", "none"), Wn;
1488
1488
  }
1489
1489
  function Jn(e) {
1490
- return /^(html|body|#document)$/.test(Mn(e));
1490
+ return /^(html|body|#document)$/.test(Nn(e));
1491
1491
  }
1492
1492
  function q(e) {
1493
- return K(e).getComputedStyle(e);
1493
+ return G(e).getComputedStyle(e);
1494
1494
  }
1495
1495
  function Yn(e) {
1496
- return Fn(e) ? {
1496
+ return K(e) ? {
1497
1497
  scrollLeft: e.scrollLeft,
1498
1498
  scrollTop: e.scrollTop
1499
1499
  } : {
@@ -1502,8 +1502,8 @@ function Yn(e) {
1502
1502
  };
1503
1503
  }
1504
1504
  function Xn(e) {
1505
- if (Mn(e) === "html") return e;
1506
- let t = e.assignedSlot || e.parentNode || Ln(e) && e.host || Nn(e);
1505
+ if (Nn(e) === "html") return e;
1506
+ let t = e.assignedSlot || e.parentNode || Ln(e) && e.host || Pn(e);
1507
1507
  return Ln(t) ? t.host : t;
1508
1508
  }
1509
1509
  function Zn(e) {
@@ -1512,7 +1512,7 @@ function Zn(e) {
1512
1512
  }
1513
1513
  function Qn(e, t, n) {
1514
1514
  t === void 0 && (t = []), n === void 0 && (n = !0);
1515
- let r = Zn(e), i = r === e.ownerDocument?.body, a = K(r);
1515
+ let r = Zn(e), i = r === e.ownerDocument?.body, a = G(r);
1516
1516
  if (i) {
1517
1517
  let e = $n(a);
1518
1518
  return t.concat(a, a.visualViewport || [], Rn(r) ? r : [], e && n ? Qn(e) : []);
@@ -1524,7 +1524,7 @@ function $n(e) {
1524
1524
  //#endregion
1525
1525
  //#region ../node_modules/.pnpm/@floating-ui+dom@1.7.6/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs
1526
1526
  function er(e) {
1527
- let t = q(e), n = parseFloat(t.width) || 0, r = parseFloat(t.height) || 0, i = In(e), a = i ? e.offsetWidth : n, o = i ? e.offsetHeight : r, s = $t(n) !== a || $t(r) !== o;
1527
+ let t = q(e), n = parseFloat(t.width) || 0, r = parseFloat(t.height) || 0, i = In(e), a = i ? e.offsetWidth : n, o = i ? e.offsetHeight : r, s = en(n) !== a || en(r) !== o;
1528
1528
  return s && (n = a, r = o), {
1529
1529
  width: n,
1530
1530
  height: r,
@@ -1532,41 +1532,41 @@ function er(e) {
1532
1532
  };
1533
1533
  }
1534
1534
  function tr(e) {
1535
- return Fn(e) ? e : e.contextElement;
1535
+ return K(e) ? e : e.contextElement;
1536
1536
  }
1537
1537
  function nr(e) {
1538
1538
  let t = tr(e);
1539
- if (!In(t)) return en(1);
1540
- let n = t.getBoundingClientRect(), { width: r, height: i, $: a } = er(t), o = (a ? $t(n.width) : n.width) / r, s = (a ? $t(n.height) : n.height) / i;
1539
+ if (!In(t)) return tn(1);
1540
+ let n = t.getBoundingClientRect(), { width: r, height: i, $: a } = er(t), o = (a ? en(n.width) : n.width) / r, s = (a ? en(n.height) : n.height) / i;
1541
1541
  return (!o || !Number.isFinite(o)) && (o = 1), (!s || !Number.isFinite(s)) && (s = 1), {
1542
1542
  x: o,
1543
1543
  y: s
1544
1544
  };
1545
1545
  }
1546
- var rr = /* @__PURE__ */ en(0);
1546
+ var rr = /* @__PURE__ */ tn(0);
1547
1547
  function ir(e) {
1548
- let t = K(e);
1548
+ let t = G(e);
1549
1549
  return !qn() || !t.visualViewport ? rr : {
1550
1550
  x: t.visualViewport.offsetLeft,
1551
1551
  y: t.visualViewport.offsetTop
1552
1552
  };
1553
1553
  }
1554
1554
  function ar(e, t, n) {
1555
- return t === void 0 && (t = !1), !n || t && n !== K(e) ? !1 : t;
1555
+ return t === void 0 && (t = !1), !n || t && n !== G(e) ? !1 : t;
1556
1556
  }
1557
1557
  function or(e, t, n, r) {
1558
1558
  t === void 0 && (t = !1), n === void 0 && (n = !1);
1559
- let i = e.getBoundingClientRect(), a = tr(e), o = en(1);
1560
- t && (r ? Fn(r) && (o = nr(r)) : o = nr(e));
1561
- let s = ar(a, n, r) ? ir(a) : en(0), c = (i.left + s.x) / o.x, l = (i.top + s.y) / o.y, u = i.width / o.x, d = i.height / o.y;
1559
+ let i = e.getBoundingClientRect(), a = tr(e), o = tn(1);
1560
+ t && (r ? K(r) && (o = nr(r)) : o = nr(e));
1561
+ let s = ar(a, n, r) ? ir(a) : tn(0), c = (i.left + s.x) / o.x, l = (i.top + s.y) / o.y, u = i.width / o.x, d = i.height / o.y;
1562
1562
  if (a) {
1563
- let e = K(a), t = r && Fn(r) ? K(r) : r, n = e, i = $n(n);
1563
+ let e = G(a), t = r && K(r) ? G(r) : r, n = e, i = $n(n);
1564
1564
  for (; i && r && t !== n;) {
1565
1565
  let e = nr(i), t = i.getBoundingClientRect(), r = q(i), a = t.left + (i.clientLeft + parseFloat(r.paddingLeft)) * e.x, o = t.top + (i.clientTop + parseFloat(r.paddingTop)) * e.y;
1566
- c *= e.x, l *= e.y, u *= e.x, d *= e.y, c += a, l += o, n = K(i), i = $n(n);
1566
+ c *= e.x, l *= e.y, u *= e.x, d *= e.y, c += a, l += o, n = G(i), i = $n(n);
1567
1567
  }
1568
1568
  }
1569
- return Sn({
1569
+ return Cn({
1570
1570
  width: u,
1571
1571
  height: d,
1572
1572
  x: c,
@@ -1575,7 +1575,7 @@ function or(e, t, n, r) {
1575
1575
  }
1576
1576
  function sr(e, t) {
1577
1577
  let n = Yn(e).scrollLeft;
1578
- return t ? t.left + n : or(Nn(e)).left + n;
1578
+ return t ? t.left + n : or(Pn(e)).left + n;
1579
1579
  }
1580
1580
  function cr(e, t) {
1581
1581
  let n = e.getBoundingClientRect();
@@ -1585,17 +1585,17 @@ function cr(e, t) {
1585
1585
  };
1586
1586
  }
1587
1587
  function lr(e) {
1588
- let { elements: t, rect: n, offsetParent: r, strategy: i } = e, a = i === "fixed", o = Nn(r), s = t ? Bn(t.floating) : !1;
1588
+ let { elements: t, rect: n, offsetParent: r, strategy: i } = e, a = i === "fixed", o = Pn(r), s = t ? Bn(t.floating) : !1;
1589
1589
  if (r === o || s && a) return n;
1590
1590
  let c = {
1591
1591
  scrollLeft: 0,
1592
1592
  scrollTop: 0
1593
- }, l = en(1), u = en(0), d = In(r);
1594
- if ((d || !d && !a) && ((Mn(r) !== "body" || Rn(o)) && (c = Yn(r)), d)) {
1593
+ }, l = tn(1), u = tn(0), d = In(r);
1594
+ if ((d || !d && !a) && ((Nn(r) !== "body" || Rn(o)) && (c = Yn(r)), d)) {
1595
1595
  let e = or(r);
1596
1596
  l = nr(r), u.x = e.x + r.clientLeft, u.y = e.y + r.clientTop;
1597
1597
  }
1598
- let f = o && !d && !a ? cr(o, c) : en(0);
1598
+ let f = o && !d && !a ? cr(o, c) : tn(0);
1599
1599
  return {
1600
1600
  width: n.width * l.x,
1601
1601
  height: n.height * l.y,
@@ -1607,8 +1607,8 @@ function ur(e) {
1607
1607
  return Array.from(e.getClientRects());
1608
1608
  }
1609
1609
  function dr(e) {
1610
- let t = Nn(e), n = Yn(e), r = e.ownerDocument.body, i = Qt(t.scrollWidth, t.clientWidth, r.scrollWidth, r.clientWidth), a = Qt(t.scrollHeight, t.clientHeight, r.scrollHeight, r.clientHeight), o = -n.scrollLeft + sr(e), s = -n.scrollTop;
1611
- return q(r).direction === "rtl" && (o += Qt(t.clientWidth, r.clientWidth) - i), {
1610
+ let t = Pn(e), n = Yn(e), r = e.ownerDocument.body, i = $t(t.scrollWidth, t.clientWidth, r.scrollWidth, r.clientWidth), a = $t(t.scrollHeight, t.clientHeight, r.scrollHeight, r.clientHeight), o = -n.scrollLeft + sr(e), s = -n.scrollTop;
1611
+ return q(r).direction === "rtl" && (o += $t(t.clientWidth, r.clientWidth) - i), {
1612
1612
  width: i,
1613
1613
  height: a,
1614
1614
  x: o,
@@ -1617,7 +1617,7 @@ function dr(e) {
1617
1617
  }
1618
1618
  var fr = 25;
1619
1619
  function pr(e, t) {
1620
- let n = K(e), r = Nn(e), i = n.visualViewport, a = r.clientWidth, o = r.clientHeight, s = 0, c = 0;
1620
+ let n = G(e), r = Pn(e), i = n.visualViewport, a = r.clientWidth, o = r.clientHeight, s = 0, c = 0;
1621
1621
  if (i) {
1622
1622
  a = i.width, o = i.height;
1623
1623
  let e = qn();
@@ -1636,7 +1636,7 @@ function pr(e, t) {
1636
1636
  };
1637
1637
  }
1638
1638
  function mr(e, t) {
1639
- let n = or(e, !0, t === "fixed"), r = n.top + e.clientTop, i = n.left + e.clientLeft, a = In(e) ? nr(e) : en(1);
1639
+ let n = or(e, !0, t === "fixed"), r = n.top + e.clientTop, i = n.left + e.clientLeft, a = In(e) ? nr(e) : tn(1);
1640
1640
  return {
1641
1641
  width: e.clientWidth * a.x,
1642
1642
  height: e.clientHeight * a.y,
@@ -1647,8 +1647,8 @@ function mr(e, t) {
1647
1647
  function hr(e, t, n) {
1648
1648
  let r;
1649
1649
  if (t === "viewport") r = pr(e, n);
1650
- else if (t === "document") r = dr(Nn(e));
1651
- else if (Fn(t)) r = mr(t, n);
1650
+ else if (t === "document") r = dr(Pn(e));
1651
+ else if (K(t)) r = mr(t, n);
1652
1652
  else {
1653
1653
  let n = ir(e);
1654
1654
  r = {
@@ -1658,17 +1658,17 @@ function hr(e, t, n) {
1658
1658
  height: t.height
1659
1659
  };
1660
1660
  }
1661
- return Sn(r);
1661
+ return Cn(r);
1662
1662
  }
1663
1663
  function gr(e, t) {
1664
1664
  let n = Xn(e);
1665
- return n === t || !Fn(n) || Jn(n) ? !1 : q(n).position === "fixed" || gr(n, t);
1665
+ return n === t || !K(n) || Jn(n) ? !1 : q(n).position === "fixed" || gr(n, t);
1666
1666
  }
1667
1667
  function _r(e, t) {
1668
1668
  let n = t.get(e);
1669
1669
  if (n) return n;
1670
- let r = Qn(e, [], !1).filter((e) => Fn(e) && Mn(e) !== "body"), i = null, a = q(e).position === "fixed", o = a ? Xn(e) : e;
1671
- for (; Fn(o) && !Jn(o);) {
1670
+ let r = Qn(e, [], !1).filter((e) => K(e) && Nn(e) !== "body"), i = null, a = q(e).position === "fixed", o = a ? Xn(e) : e;
1671
+ for (; K(o) && !Jn(o);) {
1672
1672
  let t = q(o), n = Gn(o);
1673
1673
  !n && t.position === "fixed" && (i = null), (a ? !n && !i : !n && t.position === "static" && i && (i.position === "absolute" || i.position === "fixed") || Rn(o) && !n && gr(e, o)) ? r = r.filter((e) => e !== o) : i = t, o = Xn(o);
1674
1674
  }
@@ -1678,7 +1678,7 @@ function vr(e) {
1678
1678
  let { element: t, boundary: n, rootBoundary: r, strategy: i } = e, a = [...n === "clippingAncestors" ? Bn(t) ? [] : _r(t, this._c) : [].concat(n), r], o = hr(t, a[0], i), s = o.top, c = o.right, l = o.bottom, u = o.left;
1679
1679
  for (let e = 1; e < a.length; e++) {
1680
1680
  let n = hr(t, a[e], i);
1681
- s = Qt(n.top, s), c = Zt(n.right, c), l = Zt(n.bottom, l), u = Qt(n.left, u);
1681
+ s = $t(n.top, s), c = Qt(n.right, c), l = Qt(n.bottom, l), u = $t(n.left, u);
1682
1682
  }
1683
1683
  return {
1684
1684
  width: c - u,
@@ -1695,19 +1695,19 @@ function yr(e) {
1695
1695
  };
1696
1696
  }
1697
1697
  function br(e, t, n) {
1698
- let r = In(t), i = Nn(t), a = n === "fixed", o = or(e, !0, a, t), s = {
1698
+ let r = In(t), i = Pn(t), a = n === "fixed", o = or(e, !0, a, t), s = {
1699
1699
  scrollLeft: 0,
1700
1700
  scrollTop: 0
1701
- }, c = en(0);
1701
+ }, c = tn(0);
1702
1702
  function l() {
1703
1703
  c.x = sr(i);
1704
1704
  }
1705
- if (r || !r && !a) if ((Mn(t) !== "body" || Rn(i)) && (s = Yn(t)), r) {
1705
+ if (r || !r && !a) if ((Nn(t) !== "body" || Rn(i)) && (s = Yn(t)), r) {
1706
1706
  let e = or(t, !0, a, t);
1707
1707
  c.x = e.x + t.clientLeft, c.y = e.y + t.clientTop;
1708
1708
  } else i && l();
1709
1709
  a && !r && i && l();
1710
- let u = i && !r && !a ? cr(i, s) : en(0);
1710
+ let u = i && !r && !a ? cr(i, s) : tn(0);
1711
1711
  return {
1712
1712
  x: o.left + s.scrollLeft - c.x - u.x,
1713
1713
  y: o.top + s.scrollTop - c.y - u.y,
@@ -1722,15 +1722,15 @@ function Sr(e, t) {
1722
1722
  if (!In(e) || q(e).position === "fixed") return null;
1723
1723
  if (t) return t(e);
1724
1724
  let n = e.offsetParent;
1725
- return Nn(e) === n && (n = n.ownerDocument.body), n;
1725
+ return Pn(e) === n && (n = n.ownerDocument.body), n;
1726
1726
  }
1727
1727
  function Cr(e, t) {
1728
- let n = K(e);
1728
+ let n = G(e);
1729
1729
  if (Bn(e)) return n;
1730
1730
  if (!In(e)) {
1731
1731
  let t = Xn(e);
1732
1732
  for (; t && !Jn(t);) {
1733
- if (Fn(t) && !xr(t)) return t;
1733
+ if (K(t) && !xr(t)) return t;
1734
1734
  t = Xn(t);
1735
1735
  }
1736
1736
  return n;
@@ -1756,16 +1756,16 @@ function Tr(e) {
1756
1756
  }
1757
1757
  var Er = {
1758
1758
  convertOffsetParentRelativeRectToViewportRelativeRect: lr,
1759
- getDocumentElement: Nn,
1759
+ getDocumentElement: Pn,
1760
1760
  getClippingRect: vr,
1761
1761
  getOffsetParent: Cr,
1762
1762
  getElementRects: wr,
1763
1763
  getClientRects: ur,
1764
1764
  getDimensions: yr,
1765
1765
  getScale: nr,
1766
- isElement: Fn,
1766
+ isElement: K,
1767
1767
  isRTL: Tr
1768
- }, Dr = An, Or = Dn, kr = (e, t, n) => {
1768
+ }, Dr = jn, Or = On, kr = (e, t, n) => {
1769
1769
  let r = /* @__PURE__ */ new Map(), i = {
1770
1770
  platform: Er,
1771
1771
  ...n
@@ -1773,11 +1773,11 @@ var Er = {
1773
1773
  ...i.platform,
1774
1774
  _c: r
1775
1775
  };
1776
- return En(e, t, {
1776
+ return Dn(e, t, {
1777
1777
  ...i,
1778
1778
  platform: a
1779
1779
  });
1780
- }, J = /* @__PURE__ */ me({
1780
+ }, J = /* @__PURE__ */ he({
1781
1781
  Vue: () => e,
1782
1782
  Vue2: () => void 0,
1783
1783
  del: () => Nr,
@@ -1787,7 +1787,7 @@ var Er = {
1787
1787
  set: () => Mr
1788
1788
  });
1789
1789
  import * as Ar from "vue";
1790
- ge(J, Ar);
1790
+ _e(J, Ar);
1791
1791
  function jr() {}
1792
1792
  function Mr(e, t, n) {
1793
1793
  return Array.isArray(e) ? (e.length = Math.max(e.length, t), e.splice(t, 1, n), n) : (e[t] = n, n);
@@ -1807,7 +1807,7 @@ function Pr(e) {
1807
1807
  function Fr(e) {
1808
1808
  if (Pr(e)) {
1809
1809
  let t = e.$el;
1810
- return Pn(t) && Mn(t) === "#comment" ? null : t;
1810
+ return Fn(t) && Nn(t) === "#comment" ? null : t;
1811
1811
  }
1812
1812
  return e;
1813
1813
  }
@@ -1886,7 +1886,7 @@ function zr(e, t, n) {
1886
1886
  }
1887
1887
  //#endregion
1888
1888
  //#region src/components/base/PvPopoverV2/PvPopoverV2.vue?vue&type=script&setup=true&lang.ts
1889
- var Br = ["popover"], Vr = 0, Hr = /* @__PURE__ */ nt(/* @__PURE__ */ d({
1889
+ var Br = ["popover"], Vr = "--pv-popover-v2-anchor", Hr = /* @__PURE__ */ rt(/* @__PURE__ */ d({
1890
1890
  __name: "PvPopoverV2",
1891
1891
  props: /* @__PURE__ */ v({
1892
1892
  disableAutoPlacement: {
@@ -1941,12 +1941,13 @@ var Br = ["popover"], Vr = 0, Hr = /* @__PURE__ */ nt(/* @__PURE__ */ d({
1941
1941
  }),
1942
1942
  emits: ["update:modelValue"],
1943
1943
  setup(e) {
1944
- let t = e, c = ne(e, "modelValue"), l = p(), u = typeof HTMLElement < "u" && l && "ce" in l && l.ce instanceof HTMLElement ? l.ce : void 0, { hasVueSlot: d, hasNativeSlot: f } = Ct("content", { host: u }), m = r(() => u ? f.value : d.value), h = typeof HTMLElement < "u" && typeof HTMLElement.prototype.showPopover == "function" && typeof CSS < "u" && typeof CSS.supports == "function" && [
1944
+ let t = e, c = re(e, "modelValue"), l = p(), u = typeof HTMLElement < "u" && l && "ce" in l && l.ce instanceof HTMLElement ? l.ce : void 0, { hasVueSlot: d, hasNativeSlot: f } = wt("content", { host: u }), m = r(() => u ? f.value : d.value), h = typeof HTMLElement < "u" && typeof HTMLElement.prototype.showPopover == "function" && typeof CSS < "u" && typeof CSS.supports == "function" && [
1945
1945
  "anchor-name: --pv-anchor",
1946
1946
  "position-area: bottom",
1947
1947
  "position-try-fallbacks: flip-block",
1948
- "position-visibility: anchors-visible"
1949
- ].every((e) => CSS.supports(e)), g = N(!1), _ = N(null), v = N(null), y = N(null), x = N(null), S = N(""), w = Ge(v), T = Ge(x), D = N(!1), A = {
1948
+ "position-visibility: anchors-visible",
1949
+ `anchor-scope: ${Vr}`
1950
+ ].every((e) => CSS.supports(e)), g = M(!1), _ = M(null), v = M(null), y = M(null), x = M(null), S = Ke(v), w = Ke(x), T = M(!1), ee = {
1950
1951
  "top-center": "top",
1951
1952
  "bottom-center": "bottom",
1952
1953
  "center-left": "left",
@@ -1955,7 +1956,7 @@ var Br = ["popover"], Vr = 0, Hr = /* @__PURE__ */ nt(/* @__PURE__ */ d({
1955
1956
  "top-right": "top-end",
1956
1957
  "bottom-left": "bottom-start",
1957
1958
  "bottom-right": "bottom-end"
1958
- }, j = {
1959
+ }, k = {
1959
1960
  "top-center": {
1960
1961
  area: "top",
1961
1962
  margin: "margin-block-end"
@@ -1988,116 +1989,116 @@ var Br = ["popover"], Vr = 0, Hr = /* @__PURE__ */ nt(/* @__PURE__ */ d({
1988
1989
  area: "bottom span-left",
1989
1990
  margin: "margin-block-start"
1990
1991
  }
1991
- }, M = r(() => t.showOnHover || t.disableClickOutsideToClose ? "manual" : "auto"), ee = r(() => h ? { "anchor-name": S.value } : void 0), F = r(() => {
1992
- let e = j[t.position];
1992
+ }, A = r(() => t.showOnHover || t.disableClickOutsideToClose ? "manual" : "auto"), j = r(() => h ? { "anchor-scope": Vr } : void 0), te = r(() => h ? { "anchor-name": Vr } : void 0), P = r(() => {
1993
+ let e = k[t.position];
1993
1994
  return {
1994
- "position-anchor": S.value,
1995
+ "position-anchor": Vr,
1995
1996
  "position-area": e.area,
1996
1997
  "position-try-fallbacks": t.disableAutoPlacement ? void 0 : "flip-block, flip-inline, flip-block flip-inline",
1997
1998
  [e.margin]: `${t.offset ?? 0}px`
1998
1999
  };
1999
- }), I = () => {}, L = () => ({});
2000
+ }), F = () => {}, I = () => ({});
2000
2001
  if (!h) {
2001
2002
  let e = [];
2002
2003
  t.disableAutoPlacement || e.push(Or({ fallbackStrategy: "initialPlacement" })), t.offset && e.push(Dr(t.offset));
2003
2004
  let n = zr(y, x, {
2004
- placement: A[t.position],
2005
+ placement: ee[t.position],
2005
2006
  strategy: t.positioningStrategy,
2006
2007
  middleware: e
2007
2008
  });
2008
- I = n.update, L = () => n.floatingStyles.value;
2009
- let i = We(y), a = /* @__PURE__ */ ke(() => {
2010
- c.value && I();
2009
+ F = n.update, I = () => n.floatingStyles.value;
2010
+ let i = Ge(y), a = /* @__PURE__ */ Ae(() => {
2011
+ c.value && F();
2011
2012
  }, 5);
2012
- H([
2013
+ V([
2013
2014
  i.top,
2014
2015
  i.left,
2015
2016
  i.width,
2016
2017
  i.height
2017
- ], a), Ie(_, () => {
2018
- t.disableClickOutsideToClose || V(!1);
2018
+ ], a), Le(_, () => {
2019
+ t.disableClickOutsideToClose || B(!1);
2019
2020
  }, { ignore: r(() => [
2020
2021
  x.value,
2021
2022
  ".p-datepicker-panel",
2022
2023
  ...t.ignoreClickOutsideClasses?.map((e) => `.${e}`) ?? []
2023
2024
  ]) });
2024
2025
  }
2025
- let R = r(() => ({
2026
- ...L(),
2026
+ let L = r(() => ({
2027
+ ...I(),
2027
2028
  zIndex: t.zIndex
2028
- })), z, te, re = () => {
2029
- z && clearTimeout(z), z = void 0;
2030
- }, ie = () => {
2031
- te && clearTimeout(te), te = void 0;
2032
- }, V = (e) => {
2033
- re(), ie(), !(e && !m.value) && (e && t.delay > 0 && (t.showOnHover || !h) ? z = setTimeout(() => {
2034
- c.value = !0, z = void 0;
2035
- }, t.delay) : c.value = e);
2029
+ })), R, ne, ie = () => {
2030
+ R && clearTimeout(R), R = void 0;
2036
2031
  }, ae = () => {
2032
+ ne && clearTimeout(ne), ne = void 0;
2033
+ }, B = (e) => {
2034
+ ie(), ae(), !(e && !m.value) && (e && t.delay > 0 && (t.showOnHover || !h) ? R = setTimeout(() => {
2035
+ c.value = !0, R = void 0;
2036
+ }, t.delay) : c.value = e);
2037
+ }, oe = () => {
2037
2038
  let e = x.value;
2038
2039
  !e || !g.value || !m.value || (c.value ? e.showPopover() : e.hidePopover());
2039
- }, se = r(() => t.showOnHover ? t.disableInteractive ? w.value || D.value : w.value || T.value || D.value : !1), U = () => {
2040
- t.showOnHover || V(z ? !1 : !c.value);
2041
- }, le = (e) => {
2040
+ }, ce = r(() => t.showOnHover ? t.disableInteractive ? S.value || T.value : S.value || w.value || T.value : !1), H = () => {
2041
+ t.showOnHover || B(R ? !1 : !c.value);
2042
+ }, ue = (e) => {
2042
2043
  let t = e.newState === "open";
2043
2044
  c.value !== t && (c.value = t);
2044
- }, ue = (e) => {
2045
- h && M.value === "manual" && e.key === "Escape" && c.value && (e.preventDefault(), e.stopPropagation(), V(!1));
2045
+ }, de = (e) => {
2046
+ h && A.value === "manual" && e.key === "Escape" && c.value && (e.preventDefault(), e.stopPropagation(), B(!1));
2046
2047
  };
2047
- return H(c, async (e) => {
2048
+ return V(c, async (e) => {
2048
2049
  if (!h) {
2049
- e && I();
2050
+ e && F();
2050
2051
  return;
2051
2052
  }
2052
- await b(), ae();
2053
- }), H(se, (e) => {
2053
+ await b(), oe();
2054
+ }), V(ce, (e) => {
2054
2055
  if (t.showOnHover) {
2055
2056
  if (e) {
2056
- V(!0);
2057
+ B(!0);
2057
2058
  return;
2058
2059
  }
2059
- re(), t.closeDelay > 0 ? (ie(), te = setTimeout(() => {
2060
- te = void 0, se.value || V(!1);
2061
- }, t.closeDelay)) : V(!1);
2060
+ ie(), t.closeDelay > 0 ? (ae(), ne = setTimeout(() => {
2061
+ ne = void 0, ce.value || B(!1);
2062
+ }, t.closeDelay)) : B(!1);
2062
2063
  }
2063
- }), H(m, (e) => {
2064
- e ? h && c.value && b(ae) : (re(), ie(), c.value = !1);
2064
+ }), V(m, (e) => {
2065
+ e ? h && c.value && b(oe) : (ie(), ae(), c.value = !1);
2065
2066
  }), E(() => {
2066
- y.value = v.value, h && (S.value = `--pv-popover-v2-${++Vr}`), g.value = !0, c.value && b(() => h ? ae() : I());
2067
- }), O(() => {
2068
- re(), ie();
2069
- }), (r, l) => (k(), o("div", {
2067
+ y.value = v.value, g.value = !0, c.value && b(() => h ? oe() : F());
2068
+ }), D(() => {
2069
+ ie(), ae();
2070
+ }), (r, l) => (O(), o("div", {
2070
2071
  ref_key: "root",
2071
2072
  ref: _,
2072
- style: { width: "fit-content" },
2073
- onKeydown: ue
2073
+ style: C([{ width: "fit-content" }, j.value]),
2074
+ onKeydown: de
2074
2075
  }, [s("div", {
2075
2076
  ref_key: "triggerWrapper",
2076
2077
  ref: v,
2077
- style: C(ee.value),
2078
- onClick: U,
2079
- onFocusin: l[0] ||= (e) => D.value = !0,
2080
- onFocusout: l[1] ||= (e) => D.value = !1
2081
- }, [P(r.$slots, "trigger")], 36), g.value && B(h) && m.value ? (k(), o("div", {
2078
+ style: C(te.value),
2079
+ onClick: H,
2080
+ onFocusin: l[0] ||= (e) => T.value = !0,
2081
+ onFocusout: l[1] ||= (e) => T.value = !1
2082
+ }, [N(r.$slots, "trigger")], 36), g.value && z(h) && m.value ? (O(), o("div", {
2082
2083
  key: 0,
2083
2084
  ref_key: "floating",
2084
2085
  ref: x,
2085
2086
  class: "pv-floating pv-floating-native",
2086
- popover: M.value,
2087
- style: C(F.value),
2088
- onToggle: le
2089
- }, [P(r.$slots, "content")], 44, Br)) : m.value ? (k(), i(n, {
2087
+ popover: A.value,
2088
+ style: C(P.value),
2089
+ onToggle: ue
2090
+ }, [N(r.$slots, "content")], 44, Br)) : m.value ? (O(), i(n, {
2090
2091
  key: 1,
2091
2092
  to: e.teleportLocation,
2092
2093
  disabled: !t.useTeleport
2093
- }, [ce(s("div", {
2094
+ }, [le(s("div", {
2094
2095
  ref_key: "floating",
2095
2096
  ref: x,
2096
2097
  class: "pv-floating",
2097
- style: C(R.value)
2098
- }, [P(r.$slots, "content")], 4), [[oe, c.value]])], 8, ["to", "disabled"])) : a("v-if", !0)], 544));
2098
+ style: C(L.value)
2099
+ }, [N(r.$slots, "content")], 4), [[se, c.value]])], 8, ["to", "disabled"])) : a("v-if", !0)], 36));
2099
2100
  }
2100
- }), [["styles", [".pv-floating-native[data-v-97886581]{width:max-content;color:inherit;position-visibility:anchors-visible;background:0 0;border:0;margin:0;padding:0;position:fixed;inset:auto;overflow:visible}.pv-floating-native[data-v-97886581]>.pv-popover,.pv-floating-native>slot[name=content][data-v-97886581]::slotted(.pv-popover){position:static!important}"]], ["__scopeId", "data-v-97886581"]]), Ur = ["data-variant"], Wr = /* @__PURE__ */ d({
2101
+ }), [["styles", [".pv-floating-native[data-v-08e2d92a]{width:max-content;color:inherit;position-visibility:anchors-visible;background:0 0;border:0;margin:0;padding:0;position:fixed;inset:auto;overflow:visible}.pv-floating-native[data-v-08e2d92a]>.pv-popover,.pv-floating-native>slot[name=content][data-v-08e2d92a]::slotted(.pv-popover){position:static!important}"]], ["__scopeId", "data-v-08e2d92a"]]), Ur = ["data-variant"], Wr = /* @__PURE__ */ d({
2101
2102
  __name: "PvTooltipV2",
2102
2103
  props: {
2103
2104
  variant: {
@@ -2137,17 +2138,17 @@ var Br = ["popover"], Vr = 0, Hr = /* @__PURE__ */ nt(/* @__PURE__ */ d({
2137
2138
  ignoreClickOutsideClasses: { type: Array }
2138
2139
  },
2139
2140
  setup(e) {
2140
- let t = e, n = p(), a = typeof HTMLElement < "u" && n && "ce" in n && n.ce instanceof HTMLElement ? n.ce : void 0, { hasVueSlot: o, hasNativeSlot: u } = Ct("content", { host: a }), d = r(() => a ? u.value : o.value), f = r(() => !!t.description || d.value);
2141
- return (t, n) => (k(), i(Hr, S(h(t.$props)), c({
2142
- trigger: U(() => [P(t.$slots, "trigger", {}, () => [s("p", null, R(e.label), 1)])]),
2141
+ let t = e, n = p(), a = typeof HTMLElement < "u" && n && "ce" in n && n.ce instanceof HTMLElement ? n.ce : void 0, { hasVueSlot: o, hasNativeSlot: u } = wt("content", { host: a }), d = r(() => a ? u.value : o.value), f = r(() => !!t.description || d.value);
2142
+ return (t, n) => (O(), i(Hr, S(h(t.$props)), c({
2143
+ trigger: H(() => [N(t.$slots, "trigger", {}, () => [s("p", null, L(e.label), 1)])]),
2143
2144
  _: 2
2144
2145
  }, [f.value ? {
2145
2146
  name: "content",
2146
- fn: U(() => [s("div", {
2147
+ fn: H(() => [s("div", {
2147
2148
  class: x(["pv-tooltip-v2-content", { "pv-tooltip-v2-content-small": e.size === "sm" }]),
2148
2149
  role: "tooltip",
2149
2150
  "data-variant": e.variant
2150
- }, [P(t.$slots, "content", {}, () => [l(R(e.description), 1)])], 10, Ur)]),
2151
+ }, [N(t.$slots, "content", {}, () => [l(L(e.description), 1)])], 10, Ur)]),
2151
2152
  key: "0"
2152
2153
  } : void 0]), 1040));
2153
2154
  }
@@ -2183,30 +2184,30 @@ var Br = ["popover"], Vr = 0, Hr = /* @__PURE__ */ nt(/* @__PURE__ */ d({
2183
2184
  }, o = (e) => {
2184
2185
  n.disabled || r("click", e);
2185
2186
  };
2186
- return (t, n) => (k(), i(Wr, {
2187
+ return (t, n) => (O(), i(Wr, {
2187
2188
  position: e.tooltipPosition,
2188
2189
  "disable-interactive": !0,
2189
2190
  "use-teleport": !0
2190
2191
  }, c({
2191
- trigger: U(() => [s("button", {
2192
+ trigger: H(() => [s("button", {
2192
2193
  type: "button",
2193
2194
  class: x(["pv-button-link-tertiary", { "pv-action-button-reveal-on-hover": !e.alwaysShow }]),
2194
2195
  style: { "--button-icon-only-padding": "0px" },
2195
2196
  "aria-label": e.tooltipText,
2196
2197
  disabled: e.disabled,
2197
- onClick: le(o, ["stop"])
2198
- }, [u(G, {
2198
+ onClick: ue(o, ["stop"])
2199
+ }, [u(W, {
2199
2200
  name: e.icon,
2200
2201
  size: a[e.size]
2201
2202
  }, null, 8, ["name", "size"])], 10, Gr)]),
2202
2203
  _: 2
2203
2204
  }, [e.tooltipText ? {
2204
2205
  name: "content",
2205
- fn: U(() => [l(R(e.tooltipText), 1)]),
2206
+ fn: H(() => [l(L(e.tooltipText), 1)]),
2206
2207
  key: "0"
2207
2208
  } : void 0]), 1032, ["position"]));
2208
2209
  }
2209
- }), qr = ["aria-label"], Jr = /* @__PURE__ */ nt(/* @__PURE__ */ d({
2210
+ }), qr = ["aria-label"], Jr = /* @__PURE__ */ rt(/* @__PURE__ */ d({
2210
2211
  __name: "PvMenuItemAction",
2211
2212
  props: {
2212
2213
  action: { type: Object },
@@ -2216,7 +2217,7 @@ var Br = ["popover"], Vr = 0, Hr = /* @__PURE__ */ nt(/* @__PURE__ */ d({
2216
2217
  let n = e, d = r(() => typeof n.action.icon == "function" ? n.action.icon(n.option) : n.action.icon), f = r(() => ((typeof n.action.isDisabled == "function" ? n.action.isDisabled(n.option) : n.action.isDisabled) ?? !1) || !n.action.action), p = r(() => typeof n.action.tooltipText == "function" ? n.action.tooltipText(n.option) : n.action.tooltipText), m = r(() => (typeof n.action.interactive == "function" ? n.action.interactive(n.option) : n.action.interactive) ?? !0), h = r(() => typeof n.action.alwaysShow == "function" ? n.action.alwaysShow(n.option) : n.action.alwaysShow), g = () => {
2217
2218
  m.value && !f.value && n.action.action?.(n.option);
2218
2219
  };
2219
- return (e, n) => m.value ? (k(), i(Kr, {
2220
+ return (e, n) => m.value ? (O(), i(Kr, {
2220
2221
  key: 0,
2221
2222
  icon: d.value,
2222
2223
  "tooltip-text": p.value ?? "",
@@ -2229,20 +2230,20 @@ var Br = ["popover"], Vr = 0, Hr = /* @__PURE__ */ nt(/* @__PURE__ */ d({
2229
2230
  "tooltip-text",
2230
2231
  "disabled",
2231
2232
  "always-show"
2232
- ])) : (k(), o(t, { key: 1 }, [a(" Non-interactive actions render as an informational icon rather than a button. "), u(Wr, {
2233
+ ])) : (O(), o(t, { key: 1 }, [a(" Non-interactive actions render as an informational icon rather than a button. "), u(Wr, {
2233
2234
  "disable-interactive": !0,
2234
2235
  "use-teleport": !0
2235
2236
  }, c({
2236
- trigger: U(() => [a(" Stop propagation so the icon does not toggle the surrounding menu item's selection. "), s("span", {
2237
+ trigger: H(() => [a(" Stop propagation so the icon does not toggle the surrounding menu item's selection. "), s("span", {
2237
2238
  class: x(["pv-text-brand", { "pv-action-button-reveal-on-hover": !h.value }]),
2238
2239
  role: "img",
2239
2240
  "aria-label": p.value,
2240
- onClick: n[0] ||= le(() => {}, ["stop"])
2241
- }, [u(G, { name: d.value }, null, 8, ["name"])], 10, qr)]),
2241
+ onClick: n[0] ||= ue(() => {}, ["stop"])
2242
+ }, [u(W, { name: d.value }, null, 8, ["name"])], 10, qr)]),
2242
2243
  _: 2
2243
2244
  }, [p.value ? {
2244
2245
  name: "content",
2245
- fn: U(() => [l(R(p.value), 1)]),
2246
+ fn: H(() => [l(L(p.value), 1)]),
2246
2247
  key: "0"
2247
2248
  } : void 0]), 1024)], 2112));
2248
2249
  }
@@ -2252,7 +2253,7 @@ var Br = ["popover"], Vr = 0, Hr = /* @__PURE__ */ nt(/* @__PURE__ */ d({
2252
2253
  "checked",
2253
2254
  "indeterminate",
2254
2255
  "disabled"
2255
- ], ii = ["aria-label", "aria-expanded"], ai = /* @__PURE__ */ nt(/* @__PURE__ */ d({
2256
+ ], ii = ["aria-label", "aria-expanded"], ai = /* @__PURE__ */ rt(/* @__PURE__ */ d({
2256
2257
  __name: "PvMenuItemVariant",
2257
2258
  props: {
2258
2259
  selected: { type: Boolean },
@@ -2286,17 +2287,17 @@ var Br = ["popover"], Vr = 0, Hr = /* @__PURE__ */ nt(/* @__PURE__ */ d({
2286
2287
  },
2287
2288
  emits: ["handle-selected", "toggle-expanded"],
2288
2289
  setup(e, { emit: t }) {
2289
- let n = e, c = ie("inputRef"), l = g(Yr, void 0), d = g(Xr, N(!1)), f = g(Zr, void 0), m = g(Qr, void 0), h = r(() => {
2290
- if (!d.value || !It(n)) return [];
2291
- let e = n.children ? Lt(n.children) : [];
2290
+ let n = e, c = ae("inputRef"), l = g(Yr, void 0), d = g(Xr, M(!1)), f = g(Zr, void 0), m = g(Qr, void 0), h = r(() => {
2291
+ if (!d.value || !Lt(n)) return [];
2292
+ let e = n.children ? Rt(n.children) : [];
2292
2293
  if (f?.value) {
2293
2294
  let t = f.value.get(n.id);
2294
- return Rt(t?.children ? Lt(t.children) : [], e);
2295
+ return zt(t?.children ? Rt(t.children) : [], e);
2295
2296
  }
2296
2297
  return e;
2297
2298
  }), _ = r(() => {
2298
2299
  if (!l?.value) return n.selected ?? !1;
2299
- if (d.value && It(n)) {
2300
+ if (d.value && Lt(n)) {
2300
2301
  let e = h.value, t = e.length, r = e.filter((e) => l.value.some((t) => t.id === e.id)).length;
2301
2302
  if (m?.value?.has(n.id) && r >= t) return !0;
2302
2303
  let i = n.totalChildCount ?? t;
@@ -2304,7 +2305,7 @@ var Br = ["popover"], Vr = 0, Hr = /* @__PURE__ */ nt(/* @__PURE__ */ d({
2304
2305
  }
2305
2306
  return l.value.some((e) => e.id === n.id);
2306
2307
  }), v = r(() => {
2307
- if (!l?.value || !d.value || !It(n)) return n.indeterminate ?? !1;
2308
+ if (!l?.value || !d.value || !Lt(n)) return n.indeterminate ?? !1;
2308
2309
  let e = h.value, t = e.length, r = e.filter((e) => l.value.some((t) => t.id === e.id)).length;
2309
2310
  if (m?.value?.has(n.id) && r >= t) return !1;
2310
2311
  let i = n.totalChildCount ?? t;
@@ -2320,39 +2321,39 @@ var Br = ["popover"], Vr = 0, Hr = /* @__PURE__ */ nt(/* @__PURE__ */ d({
2320
2321
  icon: n.menuOptionConfig?.variant === "icon" ? n.icon : void 0,
2321
2322
  companyName: n.menuOptionConfig?.variant === "company" ? n.companyName || n.text : void 0
2322
2323
  };
2323
- }), E = r(() => n.action ?? n.menuOptionConfig?.action), D = r(() => {
2324
+ }), E = r(() => n.action ?? n.menuOptionConfig?.action), ee = r(() => {
2324
2325
  let e = n.menuOptionConfig?.variant;
2325
2326
  return e !== "checkbox" && e !== "radio";
2326
- }), O = r(() => n.menuOptionConfig?.variant === "radio" ? "radio" : "checkbox"), A = `${O.value}-${p()?.uid}`, j = r(() => n.menuOptionConfig?.variant === "checkbox" ? "pv-checkbox" : "pv-radio"), M = r(() => `pv-menu${n.menuOptionConfig?.variant === "checkbox" ? "-checkbox" : n.menuOptionConfig?.variant === "radio" ? "-radio" : ""}-item`), ee = t, P = (e) => {
2327
- n.disabled || (ee("handle-selected", {
2327
+ }), D = r(() => n.menuOptionConfig?.variant === "radio" ? "radio" : "checkbox"), k = `${D.value}-${p()?.uid}`, A = r(() => n.menuOptionConfig?.variant === "checkbox" ? "pv-checkbox" : "pv-radio"), j = r(() => `pv-menu${n.menuOptionConfig?.variant === "checkbox" ? "-checkbox" : n.menuOptionConfig?.variant === "radio" ? "-radio" : ""}-item`), te = t, N = (e) => {
2328
+ n.disabled || (te("handle-selected", {
2328
2329
  option: { ...n },
2329
2330
  event: e
2330
2331
  }), b(() => {
2331
2332
  c.value && (c.value.checked = _.value, c.value.indeterminate = v.value);
2332
2333
  }));
2333
2334
  };
2334
- return (t, r) => (k(), o("label", {
2335
+ return (t, r) => (O(), o("label", {
2335
2336
  class: x(["pv-label pv-label-hover pv-flex pv-stack-4 pv-inset-square-8", S.value]),
2336
2337
  style: C([w.value, {
2337
2338
  cursor: "pointer",
2338
2339
  paddingTop: e.subText ? "4px" : void 0,
2339
2340
  paddingBottom: e.subText ? "4px" : void 0
2340
2341
  }]),
2341
- "data-testid": M.value
2342
+ "data-testid": j.value
2342
2343
  }, [
2343
2344
  s("input", {
2344
2345
  ref_key: "inputRef",
2345
2346
  ref: c,
2346
- hidden: D.value,
2347
- type: O.value,
2348
- name: A,
2347
+ hidden: ee.value,
2348
+ type: D.value,
2349
+ name: k,
2349
2350
  checked: _.value,
2350
2351
  indeterminate: v.value,
2351
- class: x(j.value),
2352
+ class: x(A.value),
2352
2353
  disabled: e.disabled,
2353
- onChange: P
2354
+ onChange: N
2354
2355
  }, null, 42, ri),
2355
- e.menuOptionConfig?.renderer ? (k(), i(I(e.menuOptionConfig?.renderer), y({ key: 0 }, T.value, { selected: _.value }), null, 16, ["selected"])) : (k(), i(Kt, y({ key: 1 }, T.value, {
2356
+ e.menuOptionConfig?.renderer ? (O(), i(F(e.menuOptionConfig?.renderer), y({ key: 0 }, T.value, { selected: _.value }), null, 16, ["selected"])) : (O(), i(qt, y({ key: 1 }, T.value, {
2356
2357
  menuOptionConfig: e.menuOptionConfig,
2357
2358
  queryText: e.queryText,
2358
2359
  highlightSearchText: e.highlightSearchText
@@ -2361,12 +2362,12 @@ var Br = ["popover"], Vr = 0, Hr = /* @__PURE__ */ nt(/* @__PURE__ */ d({
2361
2362
  "queryText",
2362
2363
  "highlightSearchText"
2363
2364
  ])),
2364
- e.menuOptionConfig?.variant === "checkmark" && _.value ? (k(), i(G, {
2365
+ e.menuOptionConfig?.variant === "checkmark" && _.value ? (O(), i(W, {
2365
2366
  key: 2,
2366
2367
  name: "check",
2367
2368
  class: "pv-text-success"
2368
2369
  })) : a("v-if", !0),
2369
- e.menuOptionConfig?.variant === "toggle" ? (k(), i(Xt, {
2370
+ e.menuOptionConfig?.variant === "toggle" ? (O(), i(Zt, {
2370
2371
  key: 3,
2371
2372
  modelValue: _.value,
2372
2373
  ariaLabel: n.text || "Toggle",
@@ -2374,19 +2375,19 @@ var Br = ["popover"], Vr = 0, Hr = /* @__PURE__ */ nt(/* @__PURE__ */ d({
2374
2375
  hideCheckIcon: "",
2375
2376
  style: { "pointer-events": "none" }
2376
2377
  }, null, 8, ["modelValue", "ariaLabel"])) : a("v-if", !0),
2377
- E.value ? (k(), i(Jr, {
2378
+ E.value ? (O(), i(Jr, {
2378
2379
  key: 4,
2379
2380
  action: E.value,
2380
2381
  option: n
2381
2382
  }, null, 8, ["action", "option"])) : a("v-if", !0),
2382
- e.showChevron ? (k(), o("button", {
2383
+ e.showChevron ? (O(), o("button", {
2383
2384
  key: 5,
2384
2385
  type: "button",
2385
2386
  class: "pv-button-ghost pv-menu-item-expand-chevron",
2386
2387
  "aria-label": n.text ? `Toggle children for ${n.text}` : "Toggle children",
2387
2388
  "aria-expanded": e.expanded,
2388
- onClick: r[0] ||= le((e) => ee("toggle-expanded"), ["prevent", "stop"])
2389
- }, [u(G, {
2389
+ onClick: r[0] ||= ue((e) => te("toggle-expanded"), ["prevent", "stop"])
2390
+ }, [u(W, {
2390
2391
  name: e.chevronIcon ?? "chevron-right",
2391
2392
  size: 12
2392
2393
  }, null, 8, ["name"])], 8, ii)) : a("v-if", !0)
@@ -2429,12 +2430,12 @@ var Br = ["popover"], Vr = 0, Hr = /* @__PURE__ */ nt(/* @__PURE__ */ d({
2429
2430
  }),
2430
2431
  emits: /* @__PURE__ */ v(["handle-selected", "see-more"], ["update:selectedIds"]),
2431
2432
  setup(e, { emit: n }) {
2432
- let i = e, s = g(Yr, void 0), c = ne(e, "selectedIds"), l = g(ti, N(!1)), d = g(ei, N(!1)), f = g(Qr, void 0), p = g($r, void 0), m = N(i.defaultExpanded ?? !1);
2433
- H(() => i.defaultExpanded, (e) => {
2433
+ let i = e, s = g(Yr, void 0), c = re(e, "selectedIds"), l = g(ti, M(!1)), d = g(ei, M(!1)), f = g(Qr, void 0), p = g($r, void 0), m = M(i.defaultExpanded ?? !1);
2434
+ V(() => i.defaultExpanded, (e) => {
2434
2435
  e && (m.value = !0);
2435
2436
  });
2436
- let h = N(!1), _ = N(!1), v = N(i.children ?? []), b = N(/* @__PURE__ */ new Set());
2437
- H(() => i.children, (e) => {
2437
+ let h = M(!1), _ = M(!1), v = M(i.children ?? []), b = M(/* @__PURE__ */ new Set());
2438
+ V(() => i.children, (e) => {
2438
2439
  if (!e) {
2439
2440
  v.value = [];
2440
2441
  return;
@@ -2447,13 +2448,13 @@ var Br = ["popover"], Vr = 0, Hr = /* @__PURE__ */ nt(/* @__PURE__ */ d({
2447
2448
  }, w = r(() => ({ paddingLeft: `${i.level * 12 + 12}px` })), T = r(() => {
2448
2449
  let { level: e, config: t, itemClass: n, ...r } = i;
2449
2450
  return r;
2450
- }), E = r(() => It({
2451
+ }), E = r(() => Lt({
2451
2452
  ...i,
2452
2453
  children: v.value
2453
- }) && i.level < ci), D = r(() => E.value ? l.value ? m.value : !0 : !1), O = r(() => m.value ? "chevron-down" : "chevron-right"), A = (e) => s && Array.isArray(s.value) ? s.value.some((t) => t.id === e.id) : c.value.includes(e.id), j = n, M = r(() => _.value || i.totalChildCount == null ? !1 : i.totalChildCount > v.value.length), P = async () => {
2454
+ }) && i.level < ci), ee = r(() => E.value ? l.value ? m.value : !0 : !1), D = r(() => m.value ? "chevron-down" : "chevron-right"), k = (e) => s && Array.isArray(s.value) ? s.value.some((t) => t.id === e.id) : c.value.includes(e.id), A = n, j = r(() => _.value || i.totalChildCount == null ? !1 : i.totalChildCount > v.value.length), N = async () => {
2454
2455
  if (h.value) return;
2455
2456
  if (!i.handleSeeMore) {
2456
- j("see-more", {
2457
+ A("see-more", {
2457
2458
  parentId: i.id,
2458
2459
  offset: v.value.length
2459
2460
  });
@@ -2485,7 +2486,7 @@ var Br = ["popover"], Vr = 0, Hr = /* @__PURE__ */ nt(/* @__PURE__ */ d({
2485
2486
  } finally {
2486
2487
  h.value = !1;
2487
2488
  }
2488
- }, I = (e) => {
2489
+ }, F = (e) => {
2489
2490
  if (l.value && E.value && e.option.id === i.id && !d.value) {
2490
2491
  S();
2491
2492
  return;
@@ -2494,23 +2495,23 @@ var Br = ["popover"], Vr = 0, Hr = /* @__PURE__ */ nt(/* @__PURE__ */ d({
2494
2495
  let t = c.value.indexOf(e.option.id);
2495
2496
  t > -1 ? c.value = [...c.value.slice(0, t), ...c.value.slice(t + 1)] : c.value = [...c.value, e.option.id];
2496
2497
  }
2497
- j("handle-selected", e);
2498
- }, L = (e) => {
2499
- j("handle-selected", e);
2498
+ A("handle-selected", e);
2499
+ }, I = (e) => {
2500
+ A("handle-selected", e);
2500
2501
  };
2501
2502
  return (n, r) => {
2502
- let s = F("PvMenuItem", !0);
2503
- return k(), o(t, null, [u(ai, y(T.value, {
2503
+ let s = P("PvMenuItem", !0);
2504
+ return O(), o(t, null, [u(ai, y(T.value, {
2504
2505
  children: v.value,
2505
2506
  menuOptionConfig: e.config,
2506
2507
  queryText: e.queryText,
2507
2508
  highlightSearchText: e.highlightSearchText,
2508
- showChevron: B(l) && E.value,
2509
- chevronIcon: O.value,
2509
+ showChevron: z(l) && E.value,
2510
+ chevronIcon: D.value,
2510
2511
  expanded: m.value,
2511
- onHandleSelected: I,
2512
+ onHandleSelected: F,
2512
2513
  onToggleExpanded: S,
2513
- selected: A(i)
2514
+ selected: k(i)
2514
2515
  }), null, 16, [
2515
2516
  "children",
2516
2517
  "menuOptionConfig",
@@ -2520,13 +2521,13 @@ var Br = ["popover"], Vr = 0, Hr = /* @__PURE__ */ nt(/* @__PURE__ */ d({
2520
2521
  "chevronIcon",
2521
2522
  "expanded",
2522
2523
  "selected"
2523
- ]), D.value ? (k(), o("ul", {
2524
+ ]), ee.value ? (O(), o("ul", {
2524
2525
  key: 0,
2525
2526
  role: "list",
2526
2527
  style: C(w.value)
2527
- }, [(k(!0), o(t, null, ee(v.value, (t) => (k(), o("li", {
2528
+ }, [(O(!0), o(t, null, te(v.value, (t) => (O(), o("li", {
2528
2529
  key: t.id,
2529
- "data-active": A(t) ? "true" : null,
2530
+ "data-active": k(t) ? "true" : null,
2530
2531
  class: x(e.itemClass)
2531
2532
  }, [u(s, y({ ref_for: !0 }, t, {
2532
2533
  disabled: i.disabled || t.disabled,
@@ -2536,8 +2537,8 @@ var Br = ["popover"], Vr = 0, Hr = /* @__PURE__ */ nt(/* @__PURE__ */ d({
2536
2537
  queryText: e.queryText,
2537
2538
  highlightSearchText: e.highlightSearchText,
2538
2539
  level: e.level + 1,
2539
- onHandleSelected: L,
2540
- onSeeMore: r[1] ||= (e) => j("see-more", e)
2540
+ onHandleSelected: I,
2541
+ onSeeMore: r[1] ||= (e) => A("see-more", e)
2541
2542
  }), null, 16, [
2542
2543
  "disabled",
2543
2544
  "selectedIds",
@@ -2545,13 +2546,13 @@ var Br = ["popover"], Vr = 0, Hr = /* @__PURE__ */ nt(/* @__PURE__ */ d({
2545
2546
  "queryText",
2546
2547
  "highlightSearchText",
2547
2548
  "level"
2548
- ])], 10, oi))), 128)), M.value ? (k(), o("li", si, [u(ot, {
2549
+ ])], 10, oi))), 128)), j.value ? (O(), o("li", si, [u(st, {
2549
2550
  class: "pv-text-brand",
2550
2551
  variant: "ghost",
2551
2552
  label: "See more",
2552
2553
  loading: h.value,
2553
2554
  "data-testid": "pv-menu-item-see-more",
2554
- onClick: P
2555
+ onClick: N
2555
2556
  }, null, 8, ["loading"])])) : a("v-if", !0)], 4)) : a("v-if", !0)], 64);
2556
2557
  };
2557
2558
  }
@@ -2578,21 +2579,21 @@ var Br = ["popover"], Vr = 0, Hr = /* @__PURE__ */ nt(/* @__PURE__ */ d({
2578
2579
  }),
2579
2580
  emits: /* @__PURE__ */ v(["handle-selected", "see-more"], ["update:selectedItems"]),
2580
2581
  setup(e, { emit: n }) {
2581
- let i = e, s = n, c = ne(e, "selectedItems"), l = L(c.value);
2582
- H(c, (e) => {
2582
+ let i = e, s = n, c = re(e, "selectedItems"), l = I(c.value);
2583
+ V(c, (e) => {
2583
2584
  l.value = e;
2584
- }), H(l, (e) => {
2585
+ }), V(l, (e) => {
2585
2586
  e !== c.value && (c.value = e);
2586
- }), A(Yr, l), A(Xr, r(() => !!i.enableCascadeSelection));
2587
- let d = g(Zr, void 0), f = g(ei, N(!1)), p = g(Qr, void 0), m = g($r, void 0), h = r(() => i.singleSelect || i.config?.variant === "radio"), _ = (e) => {
2587
+ }), k(Yr, l), k(Xr, r(() => !!i.enableCascadeSelection));
2588
+ let d = g(Zr, void 0), f = g(ei, M(!1)), p = g(Qr, void 0), m = g($r, void 0), h = r(() => i.singleSelect || i.config?.variant === "radio"), _ = (e) => {
2588
2589
  if (i.readOnly) return;
2589
2590
  let t = e.option, n;
2590
- if (i.enableCascadeSelection && It(t)) {
2591
+ if (i.enableCascadeSelection && Lt(t)) {
2591
2592
  let e;
2592
2593
  if (f.value && d?.value) {
2593
2594
  let n = d.value.get(t.id);
2594
- e = Rt(n?.children ? Lt(n.children) : [], t.children ? Lt(t.children) : []);
2595
- } else e = t.children ? Lt(t.children) : [];
2595
+ e = zt(n?.children ? Rt(n.children) : [], t.children ? Rt(t.children) : []);
2596
+ } else e = t.children ? Rt(t.children) : [];
2596
2597
  let r = e.map((e) => e.id), i = l.value, a = (p?.value?.has(t.id) ?? !1) || r.some((e) => i.some((t) => t.id === e));
2597
2598
  if (n = a ? i.filter((e) => !r.includes(e.id)) : [...i, ...e], p?.value) {
2598
2599
  let e = new Set(p.value);
@@ -2609,7 +2610,7 @@ var Br = ["popover"], Vr = 0, Hr = /* @__PURE__ */ nt(/* @__PURE__ */ d({
2609
2610
  let n = e > -1;
2610
2611
  for (let e of p.value) {
2611
2612
  let r = d?.value?.get(e)?.children ?? i.options.find((t) => t.id === e)?.children;
2612
- if (!r || !(Lt(r).some((e) => e.id === t.id) || i.options.find((t) => t.id === e)?.children?.some((e) => e.id === t.id))) continue;
2613
+ if (!r || !(Rt(r).some((e) => e.id === t.id) || i.options.find((t) => t.id === e)?.children?.some((e) => e.id === t.id))) continue;
2613
2614
  let a = new Map(m.value), o = new Set(a.get(e) ?? []);
2614
2615
  n ? o.add(t.id) : o.delete(t.id), o.size > 0 ? a.set(e, o) : a.delete(e), m.value = a;
2615
2616
  break;
@@ -2621,7 +2622,7 @@ var Br = ["popover"], Vr = 0, Hr = /* @__PURE__ */ nt(/* @__PURE__ */ d({
2621
2622
  for (let t of e) if (v.value.has(t.id) || t.children?.length && b(t.children)) return !0;
2622
2623
  return !1;
2623
2624
  }, S = (e) => v.value.has(e.id) || i.enableCascadeSelection && p?.value?.has(e.id) || i.enableCascadeSelection && e.children?.length && b(e.children) ? !0 : null, C = (e, t) => !!(!t || v.value.has(e.id) || p?.value?.has(e.id) || e.children?.length && b(e.children));
2624
- return (n, r) => (k(), o("ul", ui, [(k(!0), o(t, null, ee(e.options, (t) => ce((k(), o("li", {
2625
+ return (n, r) => (O(), o("ul", ui, [(O(!0), o(t, null, te(e.options, (t) => le((O(), o("li", {
2625
2626
  key: t.id,
2626
2627
  "data-active": S(t),
2627
2628
  "data-testid": e.itemTestId,
@@ -2638,7 +2639,7 @@ var Br = ["popover"], Vr = 0, Hr = /* @__PURE__ */ nt(/* @__PURE__ */ d({
2638
2639
  "config",
2639
2640
  "itemClass",
2640
2641
  "queryText"
2641
- ])], 10, di)), [[oe, C(t, e.isLoading)]])), 128)), e.hasMoreOptions ? (k(), o("li", fi, [u(ot, {
2642
+ ])], 10, di)), [[se, C(t, e.isLoading)]])), 128)), e.hasMoreOptions ? (O(), o("li", fi, [u(st, {
2642
2643
  class: "pv-text-brand",
2643
2644
  variant: "ghost",
2644
2645
  label: "See more",
@@ -2792,11 +2793,11 @@ var Br = ["popover"], Vr = 0, Hr = /* @__PURE__ */ nt(/* @__PURE__ */ d({
2792
2793
  for (let r of n) e.set(r.id, r), r.children?.length && t(r.children);
2793
2794
  };
2794
2795
  return t(c.options), e;
2795
- }), f = L(/* @__PURE__ */ new Set()), p = L(/* @__PURE__ */ new Map());
2796
- A(Zr, d), A(Qr, f), A($r, p), A(ei, r(() => c.parentSelectsAllChildren)), A(ti, r(() => !!c.enableChildExpansion));
2796
+ }), f = I(/* @__PURE__ */ new Set()), p = I(/* @__PURE__ */ new Map());
2797
+ k(Zr, d), k(Qr, f), k($r, p), k(ei, r(() => c.parentSelectsAllChildren)), k(ti, r(() => !!c.enableChildExpansion));
2797
2798
  let m = n, g = r(() => {
2798
2799
  let e = /* @__PURE__ */ new Map();
2799
- for (let [t, n] of d.value) It(n) && e.set(t, n.children ? Lt(n.children) : []);
2800
+ for (let [t, n] of d.value) Lt(n) && e.set(t, n.children ? Rt(n.children) : []);
2800
2801
  return e;
2801
2802
  }), v = () => {
2802
2803
  let e = /* @__PURE__ */ new Set();
@@ -2815,26 +2816,26 @@ var Br = ["popover"], Vr = 0, Hr = /* @__PURE__ */ nt(/* @__PURE__ */ d({
2815
2816
  state: "deselected"
2816
2817
  }))), t.push(r);
2817
2818
  }
2818
- for (let n of V.value) e.has(n.id) || t.push({
2819
+ for (let n of B.value) e.has(n.id) || t.push({
2819
2820
  id: n.id,
2820
2821
  state: "selected"
2821
2822
  });
2822
2823
  return t;
2823
2824
  }, x = r(() => c.hasMoreOptions == null ? c.totalOptionCount == null ? !1 : c.totalOptionCount > c.options.length : c.hasMoreOptions), w = r(() => {
2824
2825
  let e = c.additionalCounter ?? 0;
2825
- if (c.enableCascadeSelection && c.countSelectedParents && N.value?.length) return Bt(N.value) + e;
2826
- if (!c.countSelectedParents || !c.enableCascadeSelection) return V.value.length + e;
2827
- let t = new Set(V.value.map((e) => e.id));
2828
- return zt(c.options, t) + e;
2829
- }), T = r(() => V.value.length > 0 ? !0 : c.enableCascadeSelection && N.value?.length ? N.value.some((e) => e.state === "selected") : !1), E = (e) => {
2826
+ if (c.enableCascadeSelection && c.countSelectedParents && M.value?.length) return Vt(M.value) + e;
2827
+ if (!c.countSelectedParents || !c.enableCascadeSelection) return B.value.length + e;
2828
+ let t = new Set(B.value.map((e) => e.id));
2829
+ return Bt(c.options, t) + e;
2830
+ }), T = r(() => B.value.length > 0 ? !0 : c.enableCascadeSelection && M.value?.length ? M.value.some((e) => e.state === "selected") : !1), E = (e) => {
2830
2831
  m("see-more", e ?? {});
2831
- }, D = ie("searchInputRef"), [O, j] = /* @__PURE__ */ je(c.defaultOpen), M = ne(e, "modelValue"), N = ne(e, "selectionState"), F = ne(e, "searchInput"), I = r(() => c.menuActionsVariant === "cancel-confirm"), z = (e) => {
2832
- V.value = e, I.value || (M.value = e, N.value = v());
2833
- }, te = () => {
2834
- I.value && (M.value = V.value, N.value = v());
2835
- }, re = () => {
2836
- I.value && (V.value = M.value);
2837
- }, V = L(M.value), ae = (e) => d.value.get(e), oe = (e) => {
2832
+ }, ee = ae("searchInputRef"), [D, A] = /* @__PURE__ */ Me(c.defaultOpen), j = re(e, "modelValue"), M = re(e, "selectionState"), P = re(e, "searchInput"), F = r(() => c.menuActionsVariant === "cancel-confirm"), R = (e) => {
2833
+ B.value = e, F.value || (j.value = e, M.value = v());
2834
+ }, ne = () => {
2835
+ F.value && (j.value = B.value, M.value = v());
2836
+ }, ie = () => {
2837
+ F.value && (B.value = j.value);
2838
+ }, B = I(j.value), oe = (e) => d.value.get(e), se = (e) => {
2838
2839
  if (!c.enableCascadeSelection || !e) return;
2839
2840
  let t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Map(), r = [], i = /* @__PURE__ */ new Set(), a = (e, t) => {
2840
2841
  i.has(t) || (i.add(t), r.push(e ?? {
@@ -2850,56 +2851,56 @@ var Br = ["popover"], Vr = 0, Hr = /* @__PURE__ */ nt(/* @__PURE__ */ d({
2850
2851
  for (let t of i) e.has(t.id) || a(t, t.id);
2851
2852
  continue;
2852
2853
  }
2853
- a(ae(r.id), r.id);
2854
+ a(oe(r.id), r.id);
2854
2855
  }
2855
- f.value = t, p.value = n, V.value = r;
2856
- }, se = r({
2857
- get: () => V.value,
2856
+ f.value = t, p.value = n, B.value = r;
2857
+ }, ce = r({
2858
+ get: () => B.value,
2858
2859
  set: (e) => {
2859
- z(e);
2860
+ R(e);
2860
2861
  }
2861
- }), ce = () => {
2862
- F.value = "", O.value = !1;
2863
- }, le = r(() => {
2862
+ }), le = () => {
2863
+ P.value = "", D.value = !1;
2864
+ }, ue = r(() => {
2864
2865
  let e = c.size === "lg" ? 24 : 30;
2865
2866
  return c.overlayTrigger ? -e : void 0;
2866
2867
  });
2867
- H(() => M.value, (e) => {
2868
- if (c.enableCascadeSelection && N.value?.length && e.length === 0) {
2869
- oe(N.value);
2868
+ V(() => j.value, (e) => {
2869
+ if (c.enableCascadeSelection && M.value?.length && e.length === 0) {
2870
+ se(M.value);
2870
2871
  return;
2871
2872
  }
2872
- V.value = e;
2873
- }), H(() => [N.value, c.options], () => {
2874
- oe(N.value);
2873
+ B.value = e;
2874
+ }), V(() => [M.value, c.options], () => {
2875
+ se(M.value);
2875
2876
  }, {
2876
2877
  deep: !0,
2877
2878
  immediate: !0
2878
- }), H(O, (e) => {
2879
- e ? (re(), b(() => {
2880
- c.overlayTrigger && !c.disableSearchInput && D.value?.input?.focus(), m("dropdown-open");
2881
- })) : (re(), m("dropdown-closed"));
2879
+ }), V(D, (e) => {
2880
+ e ? (ie(), b(() => {
2881
+ c.overlayTrigger && !c.disableSearchInput && ee.value?.input?.focus(), m("dropdown-open");
2882
+ })) : (ie(), m("dropdown-closed"));
2882
2883
  });
2883
- let ue = r(() => {
2884
- if (F.value === "") return c.options;
2885
- let e = F.value.toLocaleLowerCase();
2886
- return c.enableCascadeSelection ? Vt(c.options, e, !c.hideParentOnChildQueryMatch) : c.options.filter((t) => t.text.toLocaleLowerCase().includes(e) || t.searchText?.toLocaleLowerCase().includes(e));
2887
- }), de = () => {
2884
+ let de = r(() => {
2885
+ if (P.value === "") return c.options;
2886
+ let e = P.value.toLocaleLowerCase();
2887
+ return c.enableCascadeSelection ? Ht(c.options, e, !c.hideParentOnChildQueryMatch) : c.options.filter((t) => t.text.toLocaleLowerCase().includes(e) || t.searchText?.toLocaleLowerCase().includes(e));
2888
+ }), fe = () => {
2888
2889
  if (c.enableCascadeSelection) {
2889
2890
  let e = /* @__PURE__ */ new Set(), t = (n) => {
2890
- for (let r of n) It(r) && (e.add(r.id), r.children?.length && t(r.children));
2891
+ for (let r of n) Lt(r) && (e.add(r.id), r.children?.length && t(r.children));
2891
2892
  };
2892
- t(ue.value), f.value = e, p.value = /* @__PURE__ */ new Map();
2893
+ t(de.value), f.value = e, p.value = /* @__PURE__ */ new Map();
2893
2894
  }
2894
- let e = c.enableCascadeSelection ? Lt(ue.value) : ue.value;
2895
- m("select-all", e.length), z(e);
2896
- }, fe = () => {
2897
- m("clear-all", V.value.length), f.value = /* @__PURE__ */ new Set(), p.value = /* @__PURE__ */ new Map(), z([]);
2895
+ let e = c.enableCascadeSelection ? Rt(de.value) : de.value;
2896
+ m("select-all", e.length), R(e);
2898
2897
  }, pe = () => {
2899
- re(), ce();
2898
+ m("clear-all", B.value.length), f.value = /* @__PURE__ */ new Set(), p.value = /* @__PURE__ */ new Map(), R([]);
2900
2899
  }, me = () => {
2901
- te(), ce();
2902
- }, he = r(() => {
2900
+ ie(), le();
2901
+ }, he = () => {
2902
+ ne(), le();
2903
+ }, ge = r(() => {
2903
2904
  if (!c.groupings) return;
2904
2905
  let e = /* @__PURE__ */ new Map();
2905
2906
  c.groupings.forEach((t) => {
@@ -2911,24 +2912,24 @@ var Br = ["popover"], Vr = 0, Hr = /* @__PURE__ */ nt(/* @__PURE__ */ d({
2911
2912
  }
2912
2913
  for (let [t, n] of e) n.length === 0 && e.delete(t);
2913
2914
  return Array.from(e.entries());
2914
- }), ge = r(() => c.groupings && F.value === ""), _e = r(() => ({
2915
+ }), _e = r(() => c.groupings && P.value === ""), ve = r(() => ({
2915
2916
  ...c,
2916
- selectedItems: M.value,
2917
- searchInput: F.value,
2917
+ selectedItems: j.value,
2918
+ searchInput: P.value,
2918
2919
  slotContext: c.slotContext,
2919
- isOpen: O.value,
2920
+ isOpen: D.value,
2920
2921
  isLoading: c.isLoading
2921
- })), ve = r(() => c.rumActionName ? c.rumActionName : c.rumFilterName ? `Open ${c.rumFilterName} filter` : void 0), ye = r(() => c.rumFilterName ? `Search ${c.rumFilterName} options` : void 0), be = ie("popoverContentRef"), xe = r(() => {
2922
- let e = be.value?.getRootNode();
2922
+ })), ye = r(() => c.rumActionName ? c.rumActionName : c.rumFilterName ? `Open ${c.rumFilterName} filter` : void 0), be = r(() => c.rumFilterName ? `Search ${c.rumFilterName} options` : void 0), xe = ae("popoverContentRef"), Se = r(() => {
2923
+ let e = xe.value?.getRootNode();
2923
2924
  return e instanceof ShadowRoot ? e.host : null;
2924
- }), { present: Se } = Ct("header", { host: xe }), { present: Ce } = Ct("no-results", { host: xe }), { present: we } = Ct("footer", { host: xe });
2925
- return He("Escape", () => {
2926
- O.value && ce();
2927
- }), (n, r) => (k(), i(Hr, y({
2928
- modelValue: B(O),
2929
- "onUpdate:modelValue": r[4] ||= (e) => _(O) ? O.value = e : null
2930
- }, e.popoverProperties, { offset: le.value }), {
2931
- trigger: U(() => [u(jt, {
2925
+ }), { present: Ce } = wt("header", { host: Se }), { present: we } = wt("no-results", { host: Se }), { present: Te } = wt("footer", { host: Se });
2926
+ return Ue("Escape", () => {
2927
+ D.value && le();
2928
+ }), (n, r) => (O(), i(Hr, y({
2929
+ modelValue: z(D),
2930
+ "onUpdate:modelValue": r[4] ||= (e) => _(D) ? D.value = e : null
2931
+ }, e.popoverProperties, { offset: ue.value }), {
2932
+ trigger: H(() => [u(Mt, {
2932
2933
  ref: "select-button-trigger-ref",
2933
2934
  variant: e.variant,
2934
2935
  size: e.size,
@@ -2940,13 +2941,13 @@ var Br = ["popover"], Vr = 0, Hr = /* @__PURE__ */ nt(/* @__PURE__ */ d({
2940
2941
  companyLogo: e.companyLogo,
2941
2942
  showClear: !e.disableClearIcon && T.value && !e.disabled,
2942
2943
  showDropdown: !e.disableDropdownIcon && (e.disabled || !(T.value && !e.disableClearIcon)),
2943
- open: B(O),
2944
+ open: z(D),
2944
2945
  "counter-value": w.value,
2945
2946
  "counter-style": e.counterStyle,
2946
- "selected-items": V.value,
2947
- "data-dd-action-name": ve.value,
2948
- onHandleClear: fe,
2949
- onHandleToggleDropdown: r[0] ||= (e) => B(j)()
2947
+ "selected-items": B.value,
2948
+ "data-dd-action-name": ye.value,
2949
+ onHandleClear: pe,
2950
+ onHandleToggleDropdown: r[0] ||= (e) => z(A)()
2950
2951
  }, null, 8, [
2951
2952
  "variant",
2952
2953
  "size",
@@ -2964,9 +2965,9 @@ var Br = ["popover"], Vr = 0, Hr = /* @__PURE__ */ nt(/* @__PURE__ */ d({
2964
2965
  "selected-items",
2965
2966
  "data-dd-action-name"
2966
2967
  ])]),
2967
- content: U(() => [s("div", {
2968
+ content: H(() => [s("div", {
2968
2969
  ref_key: "popoverContentRef",
2969
- ref: be,
2970
+ ref: xe,
2970
2971
  class: "pv-popover",
2971
2972
  "data-test-id": "pv-popover",
2972
2973
  style: C({
@@ -2974,32 +2975,32 @@ var Br = ["popover"], Vr = 0, Hr = /* @__PURE__ */ nt(/* @__PURE__ */ d({
2974
2975
  ...e.popoverCssProperties
2975
2976
  })
2976
2977
  }, [
2977
- e.disableSearchInput ? a("v-if", !0) : (k(), o("div", {
2978
+ e.disableSearchInput ? a("v-if", !0) : (O(), o("div", {
2978
2979
  key: 0,
2979
2980
  class: "pv-inset-square-8 pv-border-bottom",
2980
- "data-dd-action-name": ye.value
2981
- }, [u(pt, {
2981
+ "data-dd-action-name": be.value
2982
+ }, [u(mt, {
2982
2983
  ref: "searchInputRef",
2983
- "model-value": F.value,
2984
- "onUpdate:modelValue": r[1] ||= (e) => F.value = e,
2984
+ "model-value": P.value,
2985
+ "onUpdate:modelValue": r[1] ||= (e) => P.value = e,
2985
2986
  class: "pv-stack-4",
2986
2987
  placeholder: e.searchPlaceholder
2987
2988
  }, null, 8, ["model-value", "placeholder"])], 8, mi)),
2988
- n.$slots.header || B(Se) ? (k(), o("div", hi, [P(n.$slots, "header", S(h(_e.value)))])) : a("v-if", !0),
2989
- ue.value.length > 0 ? (k(), o(t, { key: 2 }, [ge.value ? (k(!0), o(t, { key: 0 }, ee(he.value, ([t, i], s) => (k(), o("div", { key: t }, [
2990
- n.$slots[t] ? P(n.$slots, t, { key: 0 }) : t === "other" ? a("v-if", !0) : (k(), o("span", gi, R(t), 1)),
2989
+ n.$slots.header || z(Ce) ? (O(), o("div", hi, [N(n.$slots, "header", S(h(ve.value)))])) : a("v-if", !0),
2990
+ de.value.length > 0 ? (O(), o(t, { key: 2 }, [_e.value ? (O(!0), o(t, { key: 0 }, te(ge.value, ([t, i], s) => (O(), o("div", { key: t }, [
2991
+ n.$slots[t] ? N(n.$slots, t, { key: 0 }) : t === "other" ? a("v-if", !0) : (O(), o("span", gi, L(t), 1)),
2991
2992
  u(pi, {
2992
- selectedItems: se.value,
2993
- "onUpdate:selectedItems": r[2] ||= (e) => se.value = e,
2993
+ selectedItems: ce.value,
2994
+ "onUpdate:selectedItems": r[2] ||= (e) => ce.value = e,
2994
2995
  options: i,
2995
2996
  config: l.value,
2996
- queryText: e.highlightSearchText ? F.value : null,
2997
+ queryText: e.highlightSearchText ? P.value : null,
2997
2998
  itemTestId: `pv-multiselect-${t}-item`,
2998
2999
  itemClass: "pv-stack-4",
2999
3000
  isLoading: e.isLoading,
3000
3001
  isSeeMoreLoading: e.isSeeMoreLoading,
3001
3002
  enableCascadeSelection: e.enableCascadeSelection,
3002
- hasMoreOptions: s === he.value.length - 1 && x.value && !e.isLoading,
3003
+ hasMoreOptions: s === ge.value.length - 1 && x.value && !e.isLoading,
3003
3004
  onSeeMore: E
3004
3005
  }, null, 8, [
3005
3006
  "selectedItems",
@@ -3012,14 +3013,14 @@ var Br = ["popover"], Vr = 0, Hr = /* @__PURE__ */ nt(/* @__PURE__ */ d({
3012
3013
  "enableCascadeSelection",
3013
3014
  "hasMoreOptions"
3014
3015
  ]),
3015
- he.value && s !== he.value.length - 1 ? (k(), o("div", _i)) : a("v-if", !0)
3016
- ]))), 128)) : (k(), i(pi, {
3016
+ ge.value && s !== ge.value.length - 1 ? (O(), o("div", _i)) : a("v-if", !0)
3017
+ ]))), 128)) : (O(), i(pi, {
3017
3018
  key: 1,
3018
- selectedItems: se.value,
3019
- "onUpdate:selectedItems": r[3] ||= (e) => se.value = e,
3020
- options: ue.value,
3019
+ selectedItems: ce.value,
3020
+ "onUpdate:selectedItems": r[3] ||= (e) => ce.value = e,
3021
+ options: de.value,
3021
3022
  config: l.value,
3022
- queryText: e.highlightSearchText ? F.value : null,
3023
+ queryText: e.highlightSearchText ? P.value : null,
3023
3024
  itemTestId: `pv-multiselect-${e.label}-item`,
3024
3025
  itemClass: "pv-stack-4",
3025
3026
  enableCascadeSelection: e.enableCascadeSelection,
@@ -3036,16 +3037,16 @@ var Br = ["popover"], Vr = 0, Hr = /* @__PURE__ */ nt(/* @__PURE__ */ d({
3036
3037
  "isSeeMoreLoading",
3037
3038
  "hasMoreOptions"
3038
3039
  ]))], 64)) : a("v-if", !0),
3039
- e.isLoading ? (k(), o("div", vi, [u(Ke, { variant: "dark" })])) : ue.value.length === 0 ? (k(), o(t, { key: 4 }, [B(Ce) ? P(n.$slots, "no-results", S(y({ key: 0 }, _e.value))) : (k(), i(Ft, { key: 1 }))], 64)) : a("v-if", !0),
3040
- s("div", yi, [B(we) ? P(n.$slots, "footer", S(y({ key: 0 }, _e.value))) : a("v-if", !0), e.menuActionsVariant ? (k(), i(ct, {
3040
+ e.isLoading ? (O(), o("div", vi, [u(qe, { variant: "dark" })])) : de.value.length === 0 ? (O(), o(t, { key: 4 }, [z(we) ? N(n.$slots, "no-results", S(y({ key: 0 }, ve.value))) : (O(), i(It, { key: 1 }))], 64)) : a("v-if", !0),
3041
+ s("div", yi, [z(Te) ? N(n.$slots, "footer", S(y({ key: 0 }, ve.value))) : a("v-if", !0), e.menuActionsVariant ? (O(), i(lt, {
3041
3042
  key: 1,
3042
3043
  variant: e.menuActionsVariant,
3043
3044
  disabled: e.isLoading,
3044
3045
  rumFilterName: e.rumFilterName,
3045
- onHandleClearAll: fe,
3046
- onHandleSelectAll: de,
3047
- onHandleCancel: pe,
3048
- onHandleConfirm: me
3046
+ onHandleClearAll: pe,
3047
+ onHandleSelectAll: fe,
3048
+ onHandleCancel: me,
3049
+ onHandleConfirm: he
3049
3050
  }, null, 8, [
3050
3051
  "variant",
3051
3052
  "disabled",
@@ -3388,15 +3389,15 @@ var Q = {
3388
3389
  getCommon({ name: e = "", theme: t = {}, params: n, set: r, defaults: i }) {
3389
3390
  let { preset: a, options: o } = t, s, c, l, u, d, f, p;
3390
3391
  if (Y(a) && o.transform !== "strict") {
3391
- let { primitive: t, semantic: n, extend: m } = a, h = n || {}, { colorScheme: g } = h, _ = ea(h, ["colorScheme"]), v = m || {}, { colorScheme: y } = v, b = ea(v, ["colorScheme"]), x = g || {}, { dark: S } = x, C = ea(x, ["dark"]), w = y || {}, { dark: T } = w, E = ea(w, ["dark"]), D = Y(t) ? this._toVariables({ primitive: t }, o) : {}, O = Y(_) ? this._toVariables({ semantic: _ }, o) : {}, k = Y(C) ? this._toVariables({ light: C }, o) : {}, A = Y(S) ? this._toVariables({ dark: S }, o) : {}, j = Y(b) ? this._toVariables({ semantic: b }, o) : {}, M = Y(E) ? this._toVariables({ light: E }, o) : {}, N = Y(T) ? this._toVariables({ dark: T }, o) : {}, [ee, P] = [D.declarations ?? "", D.tokens], [F, I] = [O.declarations ?? "", O.tokens || []], [L, R] = [k.declarations ?? "", k.tokens || []], [z, B] = [A.declarations ?? "", A.tokens || []], [te, ne] = [j.declarations ?? "", j.tokens || []], [re, ie] = [M.declarations ?? "", M.tokens || []], [V, ae] = [N.declarations ?? "", N.tokens || []];
3392
- s = this.transformCSS(e, ee, "light", "variable", o, r, i), c = P, l = `${this.transformCSS(e, `${F}${L}`, "light", "variable", o, r, i)}${this.transformCSS(e, `${z}`, "dark", "variable", o, r, i)}`, u = [...new Set([
3393
- ...I,
3394
- ...R,
3395
- ...B
3396
- ])], d = `${this.transformCSS(e, `${te}${re}color-scheme:light`, "light", "variable", o, r, i)}${this.transformCSS(e, `${V}color-scheme:dark`, "dark", "variable", o, r, i)}`, f = [...new Set([
3397
- ...ne,
3398
- ...ie,
3399
- ...ae
3392
+ let { primitive: t, semantic: n, extend: m } = a, h = n || {}, { colorScheme: g } = h, _ = ea(h, ["colorScheme"]), v = m || {}, { colorScheme: y } = v, b = ea(v, ["colorScheme"]), x = g || {}, { dark: S } = x, C = ea(x, ["dark"]), w = y || {}, { dark: T } = w, E = ea(w, ["dark"]), ee = Y(t) ? this._toVariables({ primitive: t }, o) : {}, D = Y(_) ? this._toVariables({ semantic: _ }, o) : {}, O = Y(C) ? this._toVariables({ light: C }, o) : {}, k = Y(S) ? this._toVariables({ dark: S }, o) : {}, A = Y(b) ? this._toVariables({ semantic: b }, o) : {}, j = Y(E) ? this._toVariables({ light: E }, o) : {}, M = Y(T) ? this._toVariables({ dark: T }, o) : {}, [te, N] = [ee.declarations ?? "", ee.tokens], [P, F] = [D.declarations ?? "", D.tokens || []], [I, L] = [O.declarations ?? "", O.tokens || []], [R, z] = [k.declarations ?? "", k.tokens || []], [ne, re] = [A.declarations ?? "", A.tokens || []], [ie, ae] = [j.declarations ?? "", j.tokens || []], [B, oe] = [M.declarations ?? "", M.tokens || []];
3393
+ s = this.transformCSS(e, te, "light", "variable", o, r, i), c = N, l = `${this.transformCSS(e, `${P}${I}`, "light", "variable", o, r, i)}${this.transformCSS(e, `${R}`, "dark", "variable", o, r, i)}`, u = [...new Set([
3394
+ ...F,
3395
+ ...L,
3396
+ ...z
3397
+ ])], d = `${this.transformCSS(e, `${ne}${ie}color-scheme:light`, "light", "variable", o, r, i)}${this.transformCSS(e, `${B}color-scheme:dark`, "dark", "variable", o, r, i)}`, f = [...new Set([
3398
+ ...re,
3399
+ ...ae,
3400
+ ...oe
3400
3401
  ])], p = Mi(a.css, { dt: ha });
3401
3402
  }
3402
3403
  return {
@@ -3422,11 +3423,11 @@ var Q = {
3422
3423
  "colorScheme",
3423
3424
  "extend",
3424
3425
  "css"
3425
- ]), h = f || {}, { colorScheme: g } = h, _ = ea(h, ["colorScheme"]), v = d || {}, { dark: y } = v, b = ea(v, ["dark"]), x = g || {}, { dark: S } = x, C = ea(x, ["dark"]), w = Y(m) ? this._toVariables({ [r]: Z(Z({}, m), _) }, n) : {}, T = Y(b) ? this._toVariables({ [r]: Z(Z({}, b), C) }, n) : {}, E = Y(y) ? this._toVariables({ [r]: Z(Z({}, y), S) }, n) : {}, [D, O] = [w.declarations ?? "", w.tokens || []], [k, A] = [T.declarations ?? "", T.tokens || []], [j, M] = [E.declarations ?? "", E.tokens || []];
3426
- s = `${this.transformCSS(r, `${D}${k}`, "light", "variable", n, i, a, o)}${this.transformCSS(r, j, "dark", "variable", n, i, a, o)}`, c = [...new Set([
3427
- ...O,
3428
- ...A,
3429
- ...M
3426
+ ]), h = f || {}, { colorScheme: g } = h, _ = ea(h, ["colorScheme"]), v = d || {}, { dark: y } = v, b = ea(v, ["dark"]), x = g || {}, { dark: S } = x, C = ea(x, ["dark"]), w = Y(m) ? this._toVariables({ [r]: Z(Z({}, m), _) }, n) : {}, T = Y(b) ? this._toVariables({ [r]: Z(Z({}, b), C) }, n) : {}, E = Y(y) ? this._toVariables({ [r]: Z(Z({}, y), S) }, n) : {}, [ee, D] = [w.declarations ?? "", w.tokens || []], [O, k] = [T.declarations ?? "", T.tokens || []], [A, j] = [E.declarations ?? "", E.tokens || []];
3427
+ s = `${this.transformCSS(r, `${ee}${O}`, "light", "variable", n, i, a, o)}${this.transformCSS(r, A, "dark", "variable", n, i, a, o)}`, c = [...new Set([
3428
+ ...D,
3429
+ ...k,
3430
+ ...j
3430
3431
  ])], l = Mi(p, { dt: ha });
3431
3432
  }
3432
3433
  return {
@@ -3785,32 +3786,32 @@ function Ea(e) {
3785
3786
  }
3786
3787
  var Da = 0;
3787
3788
  function Oa(e) {
3788
- var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = N(!1), r = N(e), i = N(null), a = Wi() ? window.document : void 0, o = t.document, s = o === void 0 ? a : o, c = t.immediate, l = c === void 0 ? !0 : c, u = t.manual, d = u === void 0 ? !1 : u, f = t.name, p = f === void 0 ? `style_${++Da}` : f, m = t.id, h = m === void 0 ? void 0 : m, g = t.media, _ = g === void 0 ? void 0 : g, v = t.nonce, y = v === void 0 ? void 0 : v, b = t.first, x = b === void 0 ? !1 : b, S = t.onMounted, C = S === void 0 ? void 0 : S, w = t.onUpdated, T = w === void 0 ? void 0 : w, E = t.onLoad, D = E === void 0 ? void 0 : E, O = t.props, k = O === void 0 ? {} : O, A = function() {}, j = function(t) {
3789
+ var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = M(!1), r = M(e), i = M(null), a = Wi() ? window.document : void 0, o = t.document, s = o === void 0 ? a : o, c = t.immediate, l = c === void 0 ? !0 : c, u = t.manual, d = u === void 0 ? !1 : u, f = t.name, p = f === void 0 ? `style_${++Da}` : f, m = t.id, h = m === void 0 ? void 0 : m, g = t.media, _ = g === void 0 ? void 0 : g, v = t.nonce, y = v === void 0 ? void 0 : v, b = t.first, x = b === void 0 ? !1 : b, S = t.onMounted, C = S === void 0 ? void 0 : S, w = t.onUpdated, T = w === void 0 ? void 0 : w, E = t.onLoad, ee = E === void 0 ? void 0 : E, D = t.props, O = D === void 0 ? {} : D, k = function() {}, A = function(t) {
3789
3790
  var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
3790
3791
  if (s) {
3791
- var o = Sa(Sa({}, k), a), c = o.name || p, l = o.id || h, u = o.nonce || y;
3792
+ var o = Sa(Sa({}, O), a), c = o.name || p, l = o.id || h, u = o.nonce || y;
3792
3793
  i.value = s.querySelector(`style[data-primevue-style-id="${c}"]`) || s.getElementById(l) || s.createElement("style"), i.value.isConnected || (r.value = t || e, Ui(i.value, {
3793
3794
  type: "text/css",
3794
3795
  id: l,
3795
3796
  media: _,
3796
3797
  nonce: u
3797
3798
  }), x ? s.head.prepend(i.value) : s.head.appendChild(i.value), Gi(i.value, "data-primevue-style-id", c), Ui(i.value, o), i.value.onload = function(e) {
3798
- return D?.(e, { name: c });
3799
- }, C?.(c)), !n.value && (A = H(r, function(e) {
3799
+ return ee?.(e, { name: c });
3800
+ }, C?.(c)), !n.value && (k = V(r, function(e) {
3800
3801
  i.value.textContent = e, T?.(c);
3801
3802
  }, { immediate: !0 }), n.value = !0);
3802
3803
  }
3803
3804
  };
3804
- return l && !d && Ea(j), {
3805
+ return l && !d && Ea(A), {
3805
3806
  id: h,
3806
3807
  name: p,
3807
3808
  el: i,
3808
3809
  css: r,
3809
3810
  unload: function() {
3810
- !s || !n.value || (A(), Vi(i.value) && s.head.removeChild(i.value), n.value = !1, i.value = null);
3811
+ !s || !n.value || (k(), Vi(i.value) && s.head.removeChild(i.value), n.value = !1, i.value = null);
3811
3812
  },
3812
- load: j,
3813
- isLoaded: M(n)
3813
+ load: A,
3814
+ isLoaded: j(n)
3814
3815
  };
3815
3816
  }
3816
3817
  //#endregion
@@ -4288,7 +4289,7 @@ var eo = {
4288
4289
  csp: { nonce: void 0 }
4289
4290
  }, to = Symbol();
4290
4291
  function no(e, t) {
4291
- var n = { config: j(t) };
4292
+ var n = { config: A(t) };
4292
4293
  return e.config.globalProperties.$primevue = n, e.provide(to, n), io(), ao(e, n), n;
4293
4294
  }
4294
4295
  var ro = [];
@@ -4298,7 +4299,7 @@ function io() {
4298
4299
  }), ro = [];
4299
4300
  }
4300
4301
  function ao(e, t) {
4301
- var n = N(!1), r = function() {
4302
+ var n = M(!1), r = function() {
4302
4303
  if (t.config?.theme !== "none" && !$.isStyleNameLoaded("common")) {
4303
4304
  var e, n = Ka.getCommonTheme?.call(Ka) || {}, r = n.primitive, i = n.semantic, a = n.global, o = n.style, s = { nonce: (e = t.config) == null || (e = e.csp) == null ? void 0 : e.nonce };
4304
4305
  Ka.load(r?.css, Xa({ name: "primitive-variables" }, s)), Ka.load(i?.css, Xa({ name: "semantic-variables" }, s)), Ka.load(a?.css, Xa({ name: "global-variables" }, s)), Ka.loadStyle(Xa({ name: "global-style" }, s), o), $.setLoadedStyleName("common");
@@ -4307,7 +4308,7 @@ function ao(e, t) {
4307
4308
  ta.on("theme:change", function(t) {
4308
4309
  n.value ||= (e.config.globalProperties.$primevue.config.theme = t, !0);
4309
4310
  });
4310
- var i = H(t.config, function(e, t) {
4311
+ var i = V(t.config, function(e, t) {
4311
4312
  qa.emit("config:change", {
4312
4313
  newValue: e,
4313
4314
  oldValue: t
@@ -4315,7 +4316,7 @@ function ao(e, t) {
4315
4316
  }, {
4316
4317
  immediate: !0,
4317
4318
  deep: !0
4318
- }), a = H(function() {
4319
+ }), a = V(function() {
4319
4320
  return t.config.ripple;
4320
4321
  }, function(e, t) {
4321
4322
  qa.emit("config:ripple:change", {
@@ -4325,7 +4326,7 @@ function ao(e, t) {
4325
4326
  }, {
4326
4327
  immediate: !0,
4327
4328
  deep: !0
4328
- }), o = H(function() {
4329
+ }), o = V(function() {
4329
4330
  return t.config.theme;
4330
4331
  }, function(e, i) {
4331
4332
  n.value || $.setTheme(e), t.config.unstyled || r(), n.value = !1, qa.emit("config:theme:change", {
@@ -4335,7 +4336,7 @@ function ao(e, t) {
4335
4336
  }, {
4336
4337
  immediate: !0,
4337
4338
  deep: !1
4338
- }), s = H(function() {
4339
+ }), s = V(function() {
4339
4340
  return t.config.unstyled;
4340
4341
  }, function(e, n) {
4341
4342
  !e && t.config.theme && r(), qa.emit("config:unstyled:change", {