@namba_one/ui-kit-2 1.0.172 → 1.0.174

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -1,7 +1,7 @@
1
1
  var Iv = Object.defineProperty;
2
2
  var Lv = (n, e, t) => e in n ? Iv(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t;
3
3
  var Te = (n, e, t) => Lv(n, typeof e != "symbol" ? e + "" : e, t);
4
- import { defineComponent as ue, useCssModule as an, computed as R, createBlock as re, openBlock as v, resolveDynamicComponent as Cr, mergeProps as tt, withCtx as P, renderSlot as se, createElementBlock as S, normalizeClass as y, createVNode as H, unref as p, useTemplateRef as po, watch as Ze, ref as Y, createCommentVNode as N, withDirectives as sn, createElementVNode as W, vShow as mr, normalizeStyle as je, h as Fo, Transition as fn, useSlots as Wr, toHandlers as Hi, useModel as ut, mergeModels as pt, createTextVNode as we, toDisplayString as me, withModifiers as nr, onMounted as ft, resolveComponent as gs, TransitionGroup as lu, Fragment as $e, renderList as Le, provide as Qo, useId as uu, onBeforeUnmount as ji, Teleport as ia, inject as Vi, isRef as gr, onUnmounted as xr, readonly as Pv, toRef as dr, nextTick as bt, getCurrentScope as Wh, onScopeDispose as qh, vModelText as sa, getCurrentInstance as cu, reactive as Yi, createSlots as Yt, normalizeProps as Ht, guardReactiveProps as cn, render as Dd, useAttrs as Rv, toValue as Fv, onBeforeUpdate as Nv, withKeys as zv, resolveDirective as Hv, vModelDynamic as jv } from "vue";
4
+ import { defineComponent as ue, useCssModule as an, computed as R, createBlock as re, openBlock as v, resolveDynamicComponent as Cr, mergeProps as tt, withCtx as P, renderSlot as se, createElementBlock as S, normalizeClass as y, createVNode as H, unref as p, useTemplateRef as po, watch as Ze, ref as Y, createCommentVNode as N, withDirectives as sn, createElementVNode as W, vShow as mr, normalizeStyle as je, h as Fo, Transition as fn, useSlots as Wr, toHandlers as Hi, useModel as ut, mergeModels as pt, createTextVNode as we, toDisplayString as me, withModifiers as Nn, onMounted as ft, resolveComponent as gs, TransitionGroup as lu, Fragment as $e, renderList as Le, provide as Qo, useId as uu, onBeforeUnmount as ji, Teleport as ia, inject as Vi, isRef as gr, onUnmounted as xr, readonly as Pv, toRef as dr, nextTick as bt, getCurrentScope as Wh, onScopeDispose as qh, vModelText as sa, getCurrentInstance as cu, reactive as Yi, createSlots as Yt, normalizeProps as Ht, guardReactiveProps as cn, render as Dd, useAttrs as Rv, toValue as Fv, onBeforeUpdate as Nv, withKeys as zv, resolveDirective as Hv, vModelDynamic as jv } from "vue";
5
5
  const Vv = /* @__PURE__ */ ue({
6
6
  __name: "TheText",
7
7
  props: {
@@ -501,6 +501,7 @@ const os = {
501
501
  "outline-list",
502
502
  "outline-lock-password",
503
503
  "outline-logout",
504
+ "outline-magic-wand",
504
505
  "outline-mail-at-sign",
505
506
  "outline-megaphone",
506
507
  "outline-menu-dots",
@@ -775,7 +776,7 @@ const ob = /* @__PURE__ */ ue({
775
776
  "is-wide": "Button__is-wide_d2d8a"
776
777
  }, wb = {
777
778
  $style: Zh
778
- }, Zn = /* @__PURE__ */ ge(ob, [["__cssModules", wb]]), kb = /* @__PURE__ */ ue({
779
+ }, Jn = /* @__PURE__ */ ge(ob, [["__cssModules", wb]]), kb = /* @__PURE__ */ ue({
779
780
  __name: "ButtonSkeleton",
780
781
  props: {
781
782
  view: { default: "base-primary" },
@@ -1121,14 +1122,14 @@ const Sb = /* @__PURE__ */ ue({
1121
1122
  size: "28",
1122
1123
  view: "surface",
1123
1124
  icon: "outline-chevron-up",
1124
- onClick: i[1] || (i[1] = nr((s) => r("clickMoveUp"), ["stop"]))
1125
+ onClick: i[1] || (i[1] = Nn((s) => r("clickMoveUp"), ["stop"]))
1125
1126
  }),
1126
1127
  H(p(Do), {
1127
1128
  isRound: "",
1128
1129
  size: "28",
1129
1130
  view: "surface",
1130
1131
  icon: "outline-chevron-down",
1131
- onClick: i[2] || (i[2] = nr((s) => r("clickMoveDown"), ["stop"]))
1132
+ onClick: i[2] || (i[2] = Nn((s) => r("clickMoveDown"), ["stop"]))
1132
1133
  })
1133
1134
  ], 2)) : N("", !0)
1134
1135
  ], 2));
@@ -1337,7 +1338,7 @@ function Rs(n, e) {
1337
1338
  function xy(n) {
1338
1339
  return n.host && n !== document && n.host.nodeType ? n.host : n.parentNode;
1339
1340
  }
1340
- function Yn(n, e, t, r) {
1341
+ function Un(n, e, t, r) {
1341
1342
  if (n) {
1342
1343
  t = t || document;
1343
1344
  do {
@@ -1388,14 +1389,14 @@ function ip(n, e, t) {
1388
1389
  }
1389
1390
  return [];
1390
1391
  }
1391
- function Jn() {
1392
+ function er() {
1392
1393
  var n = document.scrollingElement;
1393
1394
  return n || document.documentElement;
1394
1395
  }
1395
1396
  function Nt(n, e, t, r, o) {
1396
1397
  if (!(!n.getBoundingClientRect && n !== window)) {
1397
1398
  var i, s, a, l, u, d, c;
1398
- if (n !== window && n.parentNode && n !== Jn() ? (i = n.getBoundingClientRect(), s = i.top, a = i.left, l = i.bottom, u = i.right, d = i.height, c = i.width) : (s = 0, a = 0, l = window.innerHeight, u = window.innerWidth, d = window.innerHeight, c = window.innerWidth), (e || t) && n !== window && (o = o || n.parentNode, !Er))
1399
+ if (n !== window && n.parentNode && n !== er() ? (i = n.getBoundingClientRect(), s = i.top, a = i.left, l = i.bottom, u = i.right, d = i.height, c = i.width) : (s = 0, a = 0, l = window.innerHeight, u = window.innerWidth, d = window.innerHeight, c = window.innerWidth), (e || t) && n !== window && (o = o || n.parentNode, !Er))
1399
1400
  do
1400
1401
  if (o && o.getBoundingClientRect && (Fe(o, "transform") !== "none" || t && Fe(o, "position") !== "static")) {
1401
1402
  var h = o.getBoundingClientRect();
@@ -1421,14 +1422,14 @@ function Fd(n, e, t) {
1421
1422
  for (var r = Pr(n, !0), o = Nt(n)[e]; r; ) {
1422
1423
  var i = Nt(r)[t], s = void 0;
1423
1424
  if (s = o >= i, !s) return r;
1424
- if (r === Jn()) break;
1425
+ if (r === er()) break;
1425
1426
  r = Pr(r, !1);
1426
1427
  }
1427
1428
  return !1;
1428
1429
  }
1429
1430
  function zo(n, e, t, r) {
1430
1431
  for (var o = 0, i = 0, s = n.children; i < s.length; ) {
1431
- if (s[i].style.display !== "none" && s[i] !== Ne.ghost && (r || s[i] !== Ne.dragged) && Yn(s[i], t.draggable, n, !1)) {
1432
+ if (s[i].style.display !== "none" && s[i] !== Ne.ghost && (r || s[i] !== Ne.dragged) && Un(s[i], t.draggable, n, !1)) {
1432
1433
  if (o === e)
1433
1434
  return s[i];
1434
1435
  o++;
@@ -1451,7 +1452,7 @@ function Tn(n, e) {
1451
1452
  return t;
1452
1453
  }
1453
1454
  function Nd(n) {
1454
- var e = 0, t = 0, r = Jn();
1455
+ var e = 0, t = 0, r = er();
1455
1456
  if (n)
1456
1457
  do {
1457
1458
  var o = Io(n), i = o.a, s = o.d;
@@ -1468,19 +1469,19 @@ function Ey(n, e) {
1468
1469
  return -1;
1469
1470
  }
1470
1471
  function Pr(n, e) {
1471
- if (!n || !n.getBoundingClientRect) return Jn();
1472
+ if (!n || !n.getBoundingClientRect) return er();
1472
1473
  var t = n, r = !1;
1473
1474
  do
1474
1475
  if (t.clientWidth < t.scrollWidth || t.clientHeight < t.scrollHeight) {
1475
1476
  var o = Fe(t);
1476
1477
  if (t.clientWidth < t.scrollWidth && (o.overflowX == "auto" || o.overflowX == "scroll") || t.clientHeight < t.scrollHeight && (o.overflowY == "auto" || o.overflowY == "scroll")) {
1477
- if (!t.getBoundingClientRect || t === document.body) return Jn();
1478
+ if (!t.getBoundingClientRect || t === document.body) return er();
1478
1479
  if (r || e) return t;
1479
1480
  r = !0;
1480
1481
  }
1481
1482
  }
1482
1483
  while (t = t.parentNode);
1483
- return Jn();
1484
+ return er();
1484
1485
  }
1485
1486
  function Ty(n, e) {
1486
1487
  if (n && e)
@@ -1834,7 +1835,7 @@ Ne.prototype = /** @lends Sortable.prototype */
1834
1835
  _onTapStart: function(e) {
1835
1836
  if (e.cancelable) {
1836
1837
  var t = this, r = this.el, o = this.options, i = o.preventOnFilter, s = e.type, a = e.touches && e.touches[0] || e.pointerType && e.pointerType === "touch" && e, l = (a || e).target, u = e.target.shadowRoot && (e.path && e.path[0] || e.composedPath && e.composedPath()[0]) || l, d = o.filter;
1837
- if (Yy(r), !Ee && !(/mousedown|pointerdown/.test(s) && e.button !== 0 || o.disabled) && !u.isContentEditable && !(!this.nativeDraggable && wi && l && l.tagName.toUpperCase() === "SELECT") && (l = Yn(l, o.draggable, r, !1), !(l && l.animated) && ys !== l)) {
1838
+ if (Yy(r), !Ee && !(/mousedown|pointerdown/.test(s) && e.button !== 0 || o.disabled) && !u.isContentEditable && !(!this.nativeDraggable && wi && l && l.tagName.toUpperCase() === "SELECT") && (l = Un(l, o.draggable, r, !1), !(l && l.animated) && ys !== l)) {
1838
1839
  if (Bo = Tn(l), _i = Tn(l, o.draggable), typeof d == "function") {
1839
1840
  if (d.call(this, e, l, this)) {
1840
1841
  en({
@@ -1850,7 +1851,7 @@ Ne.prototype = /** @lends Sortable.prototype */
1850
1851
  return;
1851
1852
  }
1852
1853
  } else if (d && (d = d.split(",").some(function(c) {
1853
- if (c = Yn(u, c.trim(), r, !1), c)
1854
+ if (c = Un(u, c.trim(), r, !1), c)
1854
1855
  return en({
1855
1856
  sortable: t,
1856
1857
  rootEl: c,
@@ -1865,7 +1866,7 @@ Ne.prototype = /** @lends Sortable.prototype */
1865
1866
  i && e.cancelable && e.preventDefault();
1866
1867
  return;
1867
1868
  }
1868
- o.handle && !Yn(u, o.handle, r, !1) || this._prepareDragStart(e, a, l);
1869
+ o.handle && !Un(u, o.handle, r, !1) || this._prepareDragStart(e, a, l);
1869
1870
  }
1870
1871
  }
1871
1872
  },
@@ -1988,7 +1989,7 @@ Ne.prototype = /** @lends Sortable.prototype */
1988
1989
  if (as) {
1989
1990
  for (qt = e; Fe(qt, "position") === "static" && Fe(qt, "transform") === "none" && qt !== document; )
1990
1991
  qt = qt.parentNode;
1991
- qt !== document.body && qt !== document.documentElement ? (qt === document && (qt = Jn()), t.top += qt.scrollTop, t.left += qt.scrollLeft) : qt = Jn(), qa = Nd(qt);
1992
+ qt !== document.body && qt !== document.documentElement ? (qt === document && (qt = er()), t.top += qt.scrollTop, t.left += qt.scrollLeft) : qt = er(), qa = Nd(qt);
1992
1993
  }
1993
1994
  Ge = Ee.cloneNode(!0), gn(Ge, r.ghostClass, !1), gn(Ge, r.fallbackClass, !0), gn(Ge, r.dragClass, !0), Fe(Ge, "transition", ""), Fe(Ge, "transform", ""), Fe(Ge, "box-sizing", "border-box"), Fe(Ge, "margin", 0), Fe(Ge, "top", t.top), Fe(Ge, "left", t.left), Fe(Ge, "width", t.width), Fe(Ge, "height", t.height), Fe(Ge, "opacity", "0.8"), Fe(Ge, "position", as ? "absolute" : "fixed"), Fe(Ge, "zIndex", "100000"), Fe(Ge, "pointerEvents", "none"), Ne.ghost = Ge, e.appendChild(Ge), Fe(Ge, "transform-origin", zd / parseInt(Ge.style.width) * 100 + "% " + Hd / parseInt(Ge.style.height) * 100 + "%");
1994
1995
  }
@@ -2050,7 +2051,7 @@ Ne.prototype = /** @lends Sortable.prototype */
2050
2051
  originalEvent: e
2051
2052
  });
2052
2053
  }
2053
- if (e.preventDefault !== void 0 && e.cancelable && e.preventDefault(), r = Yn(r, a.draggable, t, !0), M("dragOver"), Ne.eventCanceled) return g;
2054
+ if (e.preventDefault !== void 0 && e.cancelable && e.preventDefault(), r = Un(r, a.draggable, t, !0), M("dragOver"), Ne.eventCanceled) return g;
2054
2055
  if (Ee.contains(e.target) || r.animated && r.animatingX && r.animatingY || f._ignoreWhileAnimating === r)
2055
2056
  return B(!1);
2056
2057
  if (Fs = !1, u && !a.disabled && (d ? c || (s = Et !== yt) : Vt === this || (this.lastPutMode = is.checkPull(this, u, Ee, e)) && l.checkPut(this, u, Ee, e))) {
@@ -2182,7 +2183,7 @@ Ne.prototype = /** @lends Sortable.prototype */
2182
2183
  */
2183
2184
  toArray: function() {
2184
2185
  for (var e = [], t, r = this.el.children, o = 0, i = r.length, s = this.options; o < i; o++)
2185
- t = r[o], Yn(t, s.draggable, this.el, !1) && e.push(t.getAttribute(s.dataIdAttr) || Vy(t));
2186
+ t = r[o], Un(t, s.draggable, this.el, !1) && e.push(t.getAttribute(s.dataIdAttr) || Vy(t));
2186
2187
  return e;
2187
2188
  },
2188
2189
  /**
@@ -2193,7 +2194,7 @@ Ne.prototype = /** @lends Sortable.prototype */
2193
2194
  var r = {}, o = this.el;
2194
2195
  this.toArray().forEach(function(i, s) {
2195
2196
  var a = o.children[s];
2196
- Yn(a, this.options.draggable, o, !1) && (r[i] = a);
2197
+ Un(a, this.options.draggable, o, !1) && (r[i] = a);
2197
2198
  }, this), t && this.captureAnimationState(), e.forEach(function(i) {
2198
2199
  r[i] && (o.removeChild(r[i]), o.appendChild(r[i]));
2199
2200
  }), t && this.animateAll();
@@ -2212,7 +2213,7 @@ Ne.prototype = /** @lends Sortable.prototype */
2212
2213
  * @returns {HTMLElement|null}
2213
2214
  */
2214
2215
  closest: function(e, t) {
2215
- return Yn(e, t || this.options.draggable, this.el, !1);
2216
+ return Un(e, t || this.options.draggable, this.el, !1);
2216
2217
  },
2217
2218
  /**
2218
2219
  * Set/get option
@@ -2321,11 +2322,11 @@ Ne.utils = {
2321
2322
  css: Fe,
2322
2323
  find: ip,
2323
2324
  is: function(e, t) {
2324
- return !!Yn(e, t, e, !1);
2325
+ return !!Un(e, t, e, !1);
2325
2326
  },
2326
2327
  extend: Ty,
2327
2328
  throttle: sp,
2328
- closest: Yn,
2329
+ closest: Un,
2329
2330
  toggleClass: gn,
2330
2331
  clone: lp,
2331
2332
  index: Tn,
@@ -2391,7 +2392,7 @@ function Uy() {
2391
2392
  u !== l && (l = u, _s()), Qa(t, o.options, u, r);
2392
2393
  }, 10), Ka = i, Xa = s);
2393
2394
  } else {
2394
- if (!this.options.bubbleScroll || Pr(a, !0) === Jn()) {
2395
+ if (!this.options.bubbleScroll || Pr(a, !0) === er()) {
2395
2396
  _s();
2396
2397
  return;
2397
2398
  }
@@ -2413,7 +2414,7 @@ function Vd() {
2413
2414
  }
2414
2415
  var Qa = sp(function(n, e, t, r) {
2415
2416
  if (e.scroll) {
2416
- var o = (n.touches ? n.touches[0] : n).clientX, i = (n.touches ? n.touches[0] : n).clientY, s = e.scrollSensitivity, a = e.scrollSpeed, l = Jn(), u = !1, d;
2417
+ var o = (n.touches ? n.touches[0] : n).clientX, i = (n.touches ? n.touches[0] : n).clientY, s = e.scrollSensitivity, a = e.scrollSpeed, l = er(), u = !1, d;
2417
2418
  Il !== t && (Il = t, _s(), fi = e.scroll, d = e.scrollFn, fi === !0 && (fi = Pr(t, !0)));
2418
2419
  var c = 0, h = fi;
2419
2420
  do {
@@ -3017,7 +3018,7 @@ const r0 = {
3017
3018
  color: r.value,
3018
3019
  size: "18",
3019
3020
  name: "outline-cross",
3020
- onClick: i[0] || (i[0] = nr((s) => t("delete"), ["stop"]))
3021
+ onClick: i[0] || (i[0] = Nn((s) => t("delete"), ["stop"]))
3021
3022
  }, null, 8, ["class", "color"])
3022
3023
  ], 2));
3023
3024
  }
@@ -4882,7 +4883,7 @@ class Qe {
4882
4883
  }
4883
4884
  }
4884
4885
  Ye.ChangeDetails = Qe;
4885
- class Kn {
4886
+ class Xn {
4886
4887
  /** Tail value as string */
4887
4888
  /** Tail start position */
4888
4889
  /** Start position */
@@ -5022,11 +5023,11 @@ class Qt {
5022
5023
  }
5023
5024
  /** Extracts tail in range */
5024
5025
  extractTail(e, t) {
5025
- return e === void 0 && (e = 0), t === void 0 && (t = this.displayValue.length), new Kn(this.extractInput(e, t), e);
5026
+ return e === void 0 && (e = 0), t === void 0 && (t = this.displayValue.length), new Xn(this.extractInput(e, t), e);
5026
5027
  }
5027
5028
  /** Appends tail */
5028
5029
  appendTail(e) {
5029
- return Nr(e) && (e = new Kn(String(e))), e.appendTo(this);
5030
+ return Nr(e) && (e = new Xn(String(e))), e.appendTo(this);
5030
5031
  }
5031
5032
  /** Appends char */
5032
5033
  _appendCharRaw(e, t) {
@@ -5080,7 +5081,7 @@ class Qt {
5080
5081
  /** Appends symbols considering flags */
5081
5082
  append(e, t, r) {
5082
5083
  if (!Nr(e)) throw new Error("value should be string");
5083
- const o = Nr(r) ? new Kn(String(r)) : r;
5084
+ const o = Nr(r) ? new Xn(String(r)) : r;
5084
5085
  t != null && t.tail && (t._beforeTailState = this.state);
5085
5086
  let i;
5086
5087
  [e, i] = this.doPrepare(e, t);
@@ -5176,11 +5177,11 @@ class no {
5176
5177
  }
5177
5178
  extend(e) {
5178
5179
  if (!String(e)) return;
5179
- e = Nr(e) ? new Kn(String(e)) : e;
5180
+ e = Nr(e) ? new Xn(String(e)) : e;
5180
5181
  const t = this.chunks[this.chunks.length - 1], r = t && // if stops are same or tail has no stop
5181
5182
  (t.stop === e.stop || e.stop == null) && // if tail chunk goes just after last chunk
5182
5183
  e.from === t.from + t.toString().length;
5183
- if (e instanceof Kn)
5184
+ if (e instanceof Xn)
5184
5185
  r ? t.extend(e.toString()) : this.chunks.push(e);
5185
5186
  else if (e instanceof no) {
5186
5187
  if (e.stop == null) {
@@ -5193,7 +5194,7 @@ class no {
5193
5194
  }
5194
5195
  appendTo(e) {
5195
5196
  if (!(e instanceof Ye.MaskedPattern))
5196
- return new Kn(this.toString()).appendTo(e);
5197
+ return new Xn(this.toString()).appendTo(e);
5197
5198
  const t = new Qe();
5198
5199
  for (let r = 0; r < this.chunks.length; ++r) {
5199
5200
  const o = this.chunks[r], i = e._mapPosToBlock(e.displayValue.length), s = o.stop;
@@ -5228,7 +5229,7 @@ class no {
5228
5229
  ...r
5229
5230
  } = e;
5230
5231
  Object.assign(this, r), this.chunks = t.map((o) => {
5231
- const i = "chunks" in o ? new no() : new Kn();
5232
+ const i = "chunks" in o ? new no() : new Xn();
5232
5233
  return i.state = o, i;
5233
5234
  });
5234
5235
  }
@@ -5430,10 +5431,10 @@ class xp {
5430
5431
  return this.isFilled || (this._value = e.inserted = this.char), e;
5431
5432
  }
5432
5433
  extractTail() {
5433
- return new Kn("");
5434
+ return new Xn("");
5434
5435
  }
5435
5436
  appendTail(e) {
5436
- return Nr(e) && (e = new Kn(String(e))), e.appendTo(this);
5437
+ return Nr(e) && (e = new Xn(String(e))), e.appendTo(this);
5437
5438
  }
5438
5439
  append(e, t, r) {
5439
5440
  const o = this._appendChar(e[0], t);
@@ -6329,7 +6330,7 @@ class ha extends Zt {
6329
6330
  });
6330
6331
  }
6331
6332
  extractTail(e, t) {
6332
- return e === void 0 && (e = 0), t === void 0 && (t = this.displayValue.length), new Kn("", e);
6333
+ return e === void 0 && (e = 0), t === void 0 && (t = this.displayValue.length), new Xn("", e);
6333
6334
  }
6334
6335
  remove(e, t) {
6335
6336
  if (e === void 0 && (e = 0), t === void 0 && (t = this.displayValue.length), e === t) return new Qe();
@@ -7320,7 +7321,7 @@ const lw = {
7320
7321
  size: "44",
7321
7322
  onClick: r
7322
7323
  }, null, 8, ["icon"]),
7323
- a.hasAddButton || e.value ? (v(), re(p(Zn), tt({ key: 0 }, i.value, Hi(s.value)), {
7324
+ a.hasAddButton || e.value ? (v(), re(p(Jn), tt({ key: 0 }, i.value, Hi(s.value)), {
7324
7325
  default: P(() => [
7325
7326
  we(me(o.value), 1)
7326
7327
  ]),
@@ -7384,7 +7385,7 @@ const lw = {
7384
7385
  W("div", {
7385
7386
  class: y(l.$style.buttons)
7386
7387
  }, [
7387
- H(p(Zn), {
7388
+ H(p(Jn), {
7388
7389
  class: y(l.$style.button),
7389
7390
  size: "44",
7390
7391
  view: "base",
@@ -7396,7 +7397,7 @@ const lw = {
7396
7397
  _: 1,
7397
7398
  __: [1]
7398
7399
  }, 8, ["class"]),
7399
- H(p(Zn), {
7400
+ H(p(Jn), {
7400
7401
  size: "44",
7401
7402
  class: y(l.$style.button),
7402
7403
  isLoading: l.isLoading,
@@ -7619,7 +7620,7 @@ const lw = {
7619
7620
  }, {
7620
7621
  default: P(() => [
7621
7622
  se(e.$slots, "default", {}, () => [
7622
- e.buttonText && e.route ? (v(), re(p(Zn), {
7623
+ e.buttonText && e.route ? (v(), re(p(Jn), {
7623
7624
  key: 0,
7624
7625
  tag: "router-link",
7625
7626
  href: e.route,
@@ -10270,13 +10271,13 @@ let mC = {};
10270
10271
  function fo() {
10271
10272
  return mC;
10272
10273
  }
10273
- function Nn(n, e) {
10274
+ function zn(n, e) {
10274
10275
  var a, l, u, d;
10275
10276
  const t = fo(), r = (e == null ? void 0 : e.weekStartsOn) ?? ((l = (a = e == null ? void 0 : e.locale) == null ? void 0 : a.options) == null ? void 0 : l.weekStartsOn) ?? t.weekStartsOn ?? ((d = (u = t.locale) == null ? void 0 : u.options) == null ? void 0 : d.weekStartsOn) ?? 0, o = Pe(n, e == null ? void 0 : e.in), i = o.getDay(), s = (i < r ? 7 : 0) + i - r;
10276
10277
  return o.setDate(o.getDate() - s), o.setHours(0, 0, 0, 0), o;
10277
10278
  }
10278
10279
  function Ho(n, e) {
10279
- return Nn(n, { ...e, weekStartsOn: 1 });
10280
+ return zn(n, { ...e, weekStartsOn: 1 });
10280
10281
  }
10281
10282
  function Vp(n, e) {
10282
10283
  const t = Pe(n, e == null ? void 0 : e.in), r = t.getFullYear(), o = dt(t, 0);
@@ -10854,18 +10855,18 @@ function Cu(n, e) {
10854
10855
  var d, c, h, m;
10855
10856
  const t = Pe(n, e == null ? void 0 : e.in), r = t.getFullYear(), o = fo(), i = (e == null ? void 0 : e.firstWeekContainsDate) ?? ((c = (d = e == null ? void 0 : e.locale) == null ? void 0 : d.options) == null ? void 0 : c.firstWeekContainsDate) ?? o.firstWeekContainsDate ?? ((m = (h = o.locale) == null ? void 0 : h.options) == null ? void 0 : m.firstWeekContainsDate) ?? 1, s = dt((e == null ? void 0 : e.in) || n, 0);
10856
10857
  s.setFullYear(r + 1, 0, i), s.setHours(0, 0, 0, 0);
10857
- const a = Nn(s, e), l = dt((e == null ? void 0 : e.in) || n, 0);
10858
+ const a = zn(s, e), l = dt((e == null ? void 0 : e.in) || n, 0);
10858
10859
  l.setFullYear(r, 0, i), l.setHours(0, 0, 0, 0);
10859
- const u = Nn(l, e);
10860
+ const u = zn(l, e);
10860
10861
  return +t >= +a ? r + 1 : +t >= +u ? r : r - 1;
10861
10862
  }
10862
10863
  function tx(n, e) {
10863
10864
  var a, l, u, d;
10864
10865
  const t = fo(), r = (e == null ? void 0 : e.firstWeekContainsDate) ?? ((l = (a = e == null ? void 0 : e.locale) == null ? void 0 : a.options) == null ? void 0 : l.firstWeekContainsDate) ?? t.firstWeekContainsDate ?? ((d = (u = t.locale) == null ? void 0 : u.options) == null ? void 0 : d.firstWeekContainsDate) ?? 1, o = Cu(n, e), i = dt((e == null ? void 0 : e.in) || n, 0);
10865
- return i.setFullYear(o, 0, r), i.setHours(0, 0, 0, 0), Nn(i, e);
10866
+ return i.setFullYear(o, 0, r), i.setHours(0, 0, 0, 0), zn(i, e);
10866
10867
  }
10867
10868
  function xu(n, e) {
10868
- const t = Pe(n, e == null ? void 0 : e.in), r = +Nn(t, e) - +tx(t, e);
10869
+ const t = Pe(n, e == null ? void 0 : e.in), r = +zn(t, e) - +tx(t, e);
10869
10870
  return Math.round(r / zp) + 1;
10870
10871
  }
10871
10872
  function ct(n, e) {
@@ -11563,7 +11564,7 @@ function sx(n, e, t) {
11563
11564
  return `Use \`${n.toLowerCase()}\` instead of \`${n}\` (in \`${e}\`) for formatting ${r} to the input \`${t}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`;
11564
11565
  }
11565
11566
  const ax = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, lx = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, ux = /^'([^]*?)'?$/, cx = /''/g, dx = /[a-zA-Z]/;
11566
- function er(n, e, t) {
11567
+ function tr(n, e, t) {
11567
11568
  var d, c, h, m, f, g, M, x;
11568
11569
  const r = fo(), o = (t == null ? void 0 : t.locale) ?? r.locale ?? Xp, i = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((c = (d = t == null ? void 0 : t.locale) == null ? void 0 : d.options) == null ? void 0 : c.firstWeekContainsDate) ?? r.firstWeekContainsDate ?? ((m = (h = r.locale) == null ? void 0 : h.options) == null ? void 0 : m.firstWeekContainsDate) ?? 1, s = (t == null ? void 0 : t.weekStartsOn) ?? ((g = (f = t == null ? void 0 : t.locale) == null ? void 0 : f.options) == null ? void 0 : g.weekStartsOn) ?? r.weekStartsOn ?? ((x = (M = r.locale) == null ? void 0 : M.options) == null ? void 0 : x.weekStartsOn) ?? 0, a = Pe(n, t == null ? void 0 : t.in);
11569
11570
  if (!Ei(a))
@@ -11771,7 +11772,7 @@ const It = {
11771
11772
  // 0 to 999, -0 to -999
11772
11773
  fourDigitsSigned: /^-?\d{1,4}/
11773
11774
  // 0 to 9999, -0 to -9999
11774
- }, qn = {
11775
+ }, Gn = {
11775
11776
  basicOptionalMinutes: /^([+-])(\d{2})(\d{2})?|Z/,
11776
11777
  basic: /^([+-])(\d{2})(\d{2})|Z/,
11777
11778
  basicOptionalSeconds: /^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,
@@ -11791,7 +11792,7 @@ function Ct(n, e) {
11791
11792
  rest: e.slice(t[0].length)
11792
11793
  } : null;
11793
11794
  }
11794
- function Gn(n, e) {
11795
+ function Kn(n, e) {
11795
11796
  const t = e.match(n);
11796
11797
  if (!t)
11797
11798
  return null;
@@ -11962,10 +11963,10 @@ class xx extends at {
11962
11963
  l,
11963
11964
  0,
11964
11965
  i.firstWeekContainsDate
11965
- ), t.setHours(0, 0, 0, 0), Nn(t, i);
11966
+ ), t.setHours(0, 0, 0, 0), zn(t, i);
11966
11967
  }
11967
11968
  const a = !("era" in r) || r.era === 1 ? o.year : 1 - o.year;
11968
- return t.setFullYear(a, 0, i.firstWeekContainsDate), t.setHours(0, 0, 0, 0), Nn(t, i);
11969
+ return t.setFullYear(a, 0, i.firstWeekContainsDate), t.setHours(0, 0, 0, 0), zn(t, i);
11969
11970
  }
11970
11971
  }
11971
11972
  class Ex extends at {
@@ -12319,7 +12320,7 @@ class Ox extends at {
12319
12320
  return r >= 1 && r <= 53;
12320
12321
  }
12321
12322
  set(t, r, o, i) {
12322
- return Nn(Ax(t, o, i), i);
12323
+ return zn(Ax(t, o, i), i);
12323
12324
  }
12324
12325
  }
12325
12326
  function Dx(n, e, t) {
@@ -13032,25 +13033,25 @@ class eE extends at {
13032
13033
  parse(t, r) {
13033
13034
  switch (r) {
13034
13035
  case "X":
13035
- return Gn(
13036
- qn.basicOptionalMinutes,
13036
+ return Kn(
13037
+ Gn.basicOptionalMinutes,
13037
13038
  t
13038
13039
  );
13039
13040
  case "XX":
13040
- return Gn(qn.basic, t);
13041
+ return Kn(Gn.basic, t);
13041
13042
  case "XXXX":
13042
- return Gn(
13043
- qn.basicOptionalSeconds,
13043
+ return Kn(
13044
+ Gn.basicOptionalSeconds,
13044
13045
  t
13045
13046
  );
13046
13047
  case "XXXXX":
13047
- return Gn(
13048
- qn.extendedOptionalSeconds,
13048
+ return Kn(
13049
+ Gn.extendedOptionalSeconds,
13049
13050
  t
13050
13051
  );
13051
13052
  case "XXX":
13052
13053
  default:
13053
- return Gn(qn.extended, t);
13054
+ return Kn(Gn.extended, t);
13054
13055
  }
13055
13056
  }
13056
13057
  set(t, r, o) {
@@ -13069,25 +13070,25 @@ class tE extends at {
13069
13070
  parse(t, r) {
13070
13071
  switch (r) {
13071
13072
  case "x":
13072
- return Gn(
13073
- qn.basicOptionalMinutes,
13073
+ return Kn(
13074
+ Gn.basicOptionalMinutes,
13074
13075
  t
13075
13076
  );
13076
13077
  case "xx":
13077
- return Gn(qn.basic, t);
13078
+ return Kn(Gn.basic, t);
13078
13079
  case "xxxx":
13079
- return Gn(
13080
- qn.basicOptionalSeconds,
13080
+ return Kn(
13081
+ Gn.basicOptionalSeconds,
13081
13082
  t
13082
13083
  );
13083
13084
  case "xxxxx":
13084
- return Gn(
13085
- qn.extendedOptionalSeconds,
13085
+ return Kn(
13086
+ Gn.extendedOptionalSeconds,
13086
13087
  t
13087
13088
  );
13088
13089
  case "xxx":
13089
13090
  default:
13090
- return Gn(qn.extended, t);
13091
+ return Kn(Gn.extended, t);
13091
13092
  }
13092
13093
  }
13093
13094
  set(t, r, o) {
@@ -13267,7 +13268,7 @@ function lf(n, e, t) {
13267
13268
  const r = Pe(n, t == null ? void 0 : t.in);
13268
13269
  return r.setSeconds(e), r;
13269
13270
  }
13270
- function Xn(n, e, t) {
13271
+ function Qn(n, e, t) {
13271
13272
  const r = Pe(n, t == null ? void 0 : t.in);
13272
13273
  return isNaN(+r) ? dt(n, NaN) : (r.setFullYear(e), r);
13273
13274
  }
@@ -13481,7 +13482,7 @@ function hh(n) {
13481
13482
  };
13482
13483
  }
13483
13484
  function yE(n) {
13484
- return (e) => er(hn(/* @__PURE__ */ new Date(`2017-01-0${e}T00:00:00+00:00`), "UTC"), "EEEEEE", { locale: n });
13485
+ return (e) => tr(hn(/* @__PURE__ */ new Date(`2017-01-0${e}T00:00:00+00:00`), "UTC"), "EEEEEE", { locale: n });
13485
13486
  }
13486
13487
  const wE = (n, e, t) => {
13487
13488
  const r = [1, 2, 3, 4, 5, 6, 7];
@@ -13510,7 +13511,7 @@ const wE = (n, e, t) => {
13510
13511
  try {
13511
13512
  const i = t === "long" ? "LLLL" : "LLL";
13512
13513
  return r.map((s, a) => {
13513
- const l = er(hn(s, "UTC"), i, { locale: n });
13514
+ const l = tr(hn(s, "UTC"), i, { locale: n });
13514
13515
  return {
13515
13516
  text: l.charAt(0).toUpperCase() + l.substring(1),
13516
13517
  value: a
@@ -13582,7 +13583,7 @@ function EE(n, e) {
13582
13583
  if (r >= 0 && (e ? r - 1 >= 0 : r + 1 <= t.length))
13583
13584
  return t[r + (e ? -1 : 1)];
13584
13585
  }
13585
- const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e}"]`), ff = (n, e) => new Intl.NumberFormat(e, { useGrouping: !1, style: "decimal" }).format(n), Lu = (n, e) => er(n, e ?? Lo.DATE), ll = (n) => Array.isArray(n), Ws = (n, e, t) => e.get(Lu(n, t)), TE = (n, e) => n ? e ? e instanceof Map ? !!Ws(n, e) : e(pe(n)) : !1 : !0, rn = (n, e, t = !1, r) => {
13586
+ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e}"]`), ff = (n, e) => new Intl.NumberFormat(e, { useGrouping: !1, style: "decimal" }).format(n), Lu = (n, e) => tr(n, e ?? Lo.DATE), ll = (n) => Array.isArray(n), Ws = (n, e, t) => e.get(Lu(n, t)), TE = (n, e) => n ? e ? e instanceof Map ? !!Ws(n, e) : e(pe(n)) : !1 : !0, rn = (n, e, t = !1, r) => {
13586
13587
  if (n.key === gt.enter || n.key === gt.space)
13587
13588
  return t && n.preventDefault(), e();
13588
13589
  if (r) return r(n);
@@ -13659,7 +13660,7 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
13659
13660
  const e = Rn(n, 1);
13660
13661
  return { month: Je(e), year: Ve(e) };
13661
13662
  }, lr = (n, e) => {
13662
- const t = Nn(n, { weekStartsOn: +e }), r = Kp(n, { weekStartsOn: +e });
13663
+ const t = zn(n, { weekStartsOn: +e }), r = Kp(n, { weekStartsOn: +e });
13663
13664
  return [t, r];
13664
13665
  }, wf = (n, e) => {
13665
13666
  const t = {
@@ -13670,7 +13671,7 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
13670
13671
  return Object.assign(t, n);
13671
13672
  }, Fr = (n, e, t) => [ht(pe(n), { date: 1 }), ht(pe(), { month: e, year: t, date: 1 })], hr = (n, e, t) => {
13672
13673
  let r = n ? pe(n) : pe();
13673
- return (e || e === 0) && (r = sf(r, e)), t && (r = Xn(r, t)), r;
13674
+ return (e || e === 0) && (r = sf(r, e)), t && (r = Qn(r, t)), r;
13674
13675
  }, kf = (n, e, t, r, o) => {
13675
13676
  if (!r || o && !e || !o && !t) return !1;
13676
13677
  const i = o ? Rn(n, 1) : Yo(n, 1), s = [Je(i), Ve(i)];
@@ -13678,7 +13679,7 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
13678
13679
  }, AE = (n, e, t) => Mt(...Fr(t, n, e)) || et(...Fr(t, n, e)), OE = (n, e, t) => Ot(...Fr(t, n, e)) || et(...Fr(t, n, e)), _f = (n, e, t, r, o, i, s) => {
13679
13680
  if (typeof e == "function" && !s) return e(n);
13680
13681
  const a = t ? { locale: t } : void 0;
13681
- return Array.isArray(n) ? `${er(n[0], i, a)}${o && !n[1] ? "" : r}${n[1] ? er(n[1], i, a) : ""}` : er(n, i, a);
13682
+ return Array.isArray(n) ? `${tr(n[0], i, a)}${o && !n[1] ? "" : r}${n[1] ? tr(n[1], i, a) : ""}` : tr(n, i, a);
13682
13683
  }, _o = (n) => {
13683
13684
  if (n) return null;
13684
13685
  throw new Error(Iu.prop("partial-range"));
@@ -13715,7 +13716,7 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
13715
13716
  return n.size ? n.has(r) : !0;
13716
13717
  }
13717
13718
  return !0;
13718
- }, Cf = (n, e, t) => typeof n == "function" ? n({ month: e, year: t }) : !!n.months.find((r) => r.month === e && r.year === t), Pu = (n, e) => typeof n == "function" ? n(e) : n.years.includes(e), ql = (n) => `dp-${er(n, "yyyy-MM-dd")}`, gh = (n, e) => {
13719
+ }, Cf = (n, e, t) => typeof n == "function" ? n({ month: e, year: t }) : !!n.months.find((r) => r.month === e && r.year === t), Pu = (n, e) => typeof n == "function" ? n(e) : n.years.includes(e), ql = (n) => `dp-${tr(n, "yyyy-MM-dd")}`, gh = (n, e) => {
13719
13720
  const t = of(jt(e), n), r = Sn(jt(e), n);
13720
13721
  return { before: t, after: r };
13721
13722
  }, li = Yi({
@@ -14027,13 +14028,13 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
14027
14028
  hours: kr(b),
14028
14029
  minutes: jr(b),
14029
14030
  seconds: e.enableSeconds ? jo(b) : 0
14030
- } : null, M = (b) => e.modelType ? ne(b) : { month: Je(b), year: Ve(b) }, x = (b) => Array.isArray(b) ? a.value.enabled ? b.map((Z) => B(Z, Xn(pe(), Z))) : ds(
14031
+ } : null, M = (b) => e.modelType ? ne(b) : { month: Je(b), year: Ve(b) }, x = (b) => Array.isArray(b) ? a.value.enabled ? b.map((Z) => B(Z, Qn(pe(), Z))) : ds(
14031
14032
  () => [
14032
- Xn(pe(), b[0]),
14033
- b[1] ? Xn(pe(), b[1]) : _o(i.value.partialRange)
14033
+ Qn(pe(), b[0]),
14034
+ b[1] ? Qn(pe(), b[1]) : _o(i.value.partialRange)
14034
14035
  ],
14035
14036
  i.value.enabled
14036
- ) : Xn(pe(), +b), B = (b, Z) => (typeof b == "string" || typeof b == "number") && e.modelType ? U(b) : Z, O = (b) => Array.isArray(b) ? [
14037
+ ) : Qn(pe(), +b), B = (b, Z) => (typeof b == "string" || typeof b == "number") && e.modelType ? U(b) : Z, O = (b) => Array.isArray(b) ? [
14037
14038
  B(
14038
14039
  b[0],
14039
14040
  Hr(null, +b[0].hours, +b[0].minutes, b[0].seconds)
@@ -14085,9 +14086,9 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
14085
14086
  const Z = ce(b);
14086
14087
  Wl(zt(Z)) ? (r.value = zt(Z), V()) : (r.value = null, u.value = "");
14087
14088
  }, k = () => {
14088
- const b = (Z) => er(Z, o.value.format);
14089
+ const b = (Z) => tr(Z, o.value.format);
14089
14090
  return `${b(r.value[0])} ${o.value.rangeSeparator} ${r.value[1] ? b(r.value[1]) : ""}`;
14090
- }, _ = () => t.value && r.value ? Array.isArray(r.value) ? k() : er(r.value, o.value.format) : f(r.value), F = () => r.value ? a.value.enabled ? r.value.map((b) => f(b)).join("; ") : o.value.enabled && typeof o.value.format == "string" ? _() : f(r.value) : "", V = () => {
14091
+ }, _ = () => t.value && r.value ? Array.isArray(r.value) ? k() : tr(r.value, o.value.format) : f(r.value), F = () => r.value ? a.value.enabled ? r.value.map((b) => f(b)).join("; ") : o.value.enabled && typeof o.value.format == "string" ? _() : f(r.value) : "", V = () => {
14091
14092
  !e.format || typeof e.format == "string" || o.value.enabled && typeof o.value.format == "string" ? u.value = F() : u.value = e.format(r.value);
14092
14093
  }, U = (b) => {
14093
14094
  if (e.utc) {
@@ -14136,7 +14137,7 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
14136
14137
  }, a = (d, c = !1) => {
14137
14138
  const h = ht(pe(), { month: n.month, year: n.year });
14138
14139
  let m = d ? Rn(h, 1) : Yo(h, 1);
14139
- n.disableYearSelect && (m = Xn(m, n.year));
14140
+ n.disableYearSelect && (m = Qn(m, n.year));
14140
14141
  let f = Je(m), g = Ve(m);
14141
14142
  t.value.months.includes(f) && (m = i(m, d), f = Je(m), g = Ve(m)), t.value.years.includes(g) && (m = s(m, d), g = Ve(m)), o(f, g, d, n.preventMinMaxNavigation) && l(f, g, c);
14142
14143
  }, l = (d, c, h) => {
@@ -14272,7 +14273,7 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
14272
14273
  onInternalModelChange: { type: [Function, Object], default: null },
14273
14274
  enableMinutes: { type: Boolean, default: !0 },
14274
14275
  ui: { type: Object, default: () => ({}) }
14275
- }, zn = {
14276
+ }, Hn = {
14276
14277
  ...ya,
14277
14278
  shadow: { type: Boolean, default: !1 },
14278
14279
  flowStep: { type: Number, default: 0 },
@@ -14291,7 +14292,7 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
14291
14292
  props: {
14292
14293
  menuMount: { type: Boolean, default: !1 },
14293
14294
  calendarWidth: { type: Number, default: 0 },
14294
- ...zn
14295
+ ...Hn
14295
14296
  },
14296
14297
  emits: ["close-picker", "select-date", "select-now", "invalid-select"],
14297
14298
  setup(n, { emit: e }) {
@@ -14531,7 +14532,7 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
14531
14532
  "aria-label": L.overlayLabel,
14532
14533
  tabindex: L.useRelative ? void 0 : "0",
14533
14534
  onKeydown: q,
14534
- onClick: G[0] || (G[0] = nr(() => {
14535
+ onClick: G[0] || (G[0] = Nn(() => {
14535
14536
  }, ["prevent"]))
14536
14537
  }, [
14537
14538
  W("div", {
@@ -14559,7 +14560,7 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
14559
14560
  "aria-disabled": Z.disabled || void 0,
14560
14561
  tabindex: "0",
14561
14562
  "data-test-id": Z.text,
14562
- onClick: nr((Re) => ce(Z), ["prevent"]),
14563
+ onClick: Nn((Re) => ce(Z), ["prevent"]),
14563
14564
  onKeydown: (Re) => p(rn)(Re, () => ce(Z), !0),
14564
14565
  onMouseover: (Re) => U(Z.value)
14565
14566
  }, [
@@ -14664,7 +14665,7 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
14664
14665
  }), cT = ["aria-label", "data-test-id"], Ef = /* @__PURE__ */ ue({
14665
14666
  __name: "YearModePicker",
14666
14667
  props: {
14667
- ...zn,
14668
+ ...Hn,
14668
14669
  showYearPicker: { type: Boolean, default: !1 },
14669
14670
  items: { type: Array, default: () => [] },
14670
14671
  instance: { type: Number, default: 0 },
@@ -14997,7 +14998,7 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
14997
14998
  },
14998
14999
  __name: "MonthPicker",
14999
15000
  props: {
15000
- ...zn
15001
+ ...Hn
15001
15002
  },
15002
15003
  emits: [
15003
15004
  "update:internal-model-value",
@@ -15124,18 +15125,18 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
15124
15125
  Wo(u.value.maxDate)
15125
15126
  ) || a.value.years.includes(x.value) || !m(x.value) || f(x.value), K = h(x.value) && !B, A = Pu(i.value, x.value);
15126
15127
  return { active: B, disabled: O, isBetween: K, highlighted: A };
15127
- })), M = (x) => Xn(Ln(Di(/* @__PURE__ */ new Date())), x);
15128
+ })), M = (x) => Qn(Ln(Di(/* @__PURE__ */ new Date())), x);
15128
15129
  return {
15129
15130
  groupedYears: g,
15130
15131
  modelValue: r,
15131
15132
  focusYear: d,
15132
15133
  setHoverValue: (x) => {
15133
- o.value = Xn(Ln(/* @__PURE__ */ new Date()), x);
15134
+ o.value = Qn(Ln(/* @__PURE__ */ new Date()), x);
15134
15135
  },
15135
15136
  selectYear: (x) => {
15136
15137
  var B;
15137
15138
  if (e("update-month-year", { instance: 0, year: x }), s.value.enabled)
15138
- return r.value ? Array.isArray(r.value) && (((B = r.value) == null ? void 0 : B.map((O) => Ve(O))).includes(x) ? r.value = r.value.filter((O) => Ve(O) !== x) : r.value.push(Xn(jt(pe()), x))) : r.value = [Xn(jt(Di(pe())), x)], e("auto-apply", !0);
15139
+ return r.value ? Array.isArray(r.value) && (((B = r.value) == null ? void 0 : B.map((O) => Ve(O))).includes(x) ? r.value = r.value.filter((O) => Ve(O) !== x) : r.value.push(Qn(jt(pe()), x))) : r.value = [Qn(jt(Di(pe())), x)], e("auto-apply", !0);
15139
15140
  l.value.enabled ? (r.value = Fu(r, M(x), e), bt().then(() => {
15140
15141
  ka(r.value, e, n.autoApply, n.modelAuto);
15141
15142
  })) : (r.value = M(x), e("auto-apply"));
@@ -15147,7 +15148,7 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
15147
15148
  },
15148
15149
  __name: "YearPicker",
15149
15150
  props: {
15150
- ...zn
15151
+ ...Hn
15151
15152
  },
15152
15153
  emits: [
15153
15154
  "update:internal-model-value",
@@ -15212,7 +15213,7 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
15212
15213
  order: { type: Number, default: 0 },
15213
15214
  disabledTimesConfig: { type: Function, default: null },
15214
15215
  validateTime: { type: Function, default: () => !1 },
15215
- ...zn
15216
+ ...Hn
15216
15217
  },
15217
15218
  emits: [
15218
15219
  "set-hours",
@@ -15522,7 +15523,7 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
15522
15523
  type: Function,
15523
15524
  default: () => !1
15524
15525
  },
15525
- ...zn
15526
+ ...Hn
15526
15527
  },
15527
15528
  emits: [
15528
15529
  "update:hours",
@@ -15821,7 +15822,7 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
15821
15822
  },
15822
15823
  __name: "TimePickerSolo",
15823
15824
  props: {
15824
- ...zn
15825
+ ...Hn
15825
15826
  },
15826
15827
  emits: [
15827
15828
  "update:internal-model-value",
@@ -15892,7 +15893,7 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
15892
15893
  instance: { type: Number, default: 0 },
15893
15894
  years: { type: Array, default: () => [] },
15894
15895
  months: { type: Array, default: () => [] },
15895
- ...zn
15896
+ ...Hn
15896
15897
  },
15897
15898
  emits: ["update-month-year", "mount", "reset-flow", "overlay-closed", "overlay-opened"],
15898
15899
  setup(n, { expose: e, emit: t }) {
@@ -16158,7 +16159,7 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
16158
16159
  instance: { type: Number, default: 0 },
16159
16160
  month: { type: Number, default: 0 },
16160
16161
  year: { type: Number, default: 0 },
16161
- ...zn
16162
+ ...Hn
16162
16163
  },
16163
16164
  emits: [
16164
16165
  "select-date",
@@ -16324,7 +16325,7 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
16324
16325
  "aria-label": (Ce = (_e = p(l)) == null ? void 0 : _e.day) == null ? void 0 : Ce.call(_e, E),
16325
16326
  tabindex: !E.current && J.hideOffsetDates ? void 0 : 0,
16326
16327
  "data-test-id": p(ql)(E.value),
16327
- onClick: nr((qe) => Z(qe, E), ["prevent"]),
16328
+ onClick: Nn((qe) => Z(qe, E), ["prevent"]),
16328
16329
  onTouchend: (qe) => Z(qe, E, !1),
16329
16330
  onKeydown: (qe) => p(rn)(qe, () => J.$emit("select-date", E)),
16330
16331
  onMouseenter: (qe) => V(E, ke, ye),
@@ -16517,9 +16518,9 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
16517
16518
  }
16518
16519
  }, Ce = (Q, de, Ie, We) => {
16519
16520
  if (n.sixWeeks && Q.length < 6) {
16520
- const ae = 6 - Q.length, Se = (de.getDay() + 7 - We) % 7, Oe = 6 - (Ie.getDay() + 7 - We) % 7, [or, Hn] = _e(Se, Oe);
16521
+ const ae = 6 - Q.length, Se = (de.getDay() + 7 - We) % 7, Oe = 6 - (Ie.getDay() + 7 - We) % 7, [or, jn] = _e(Se, Oe);
16521
16522
  for (let Xr = 1; Xr <= ae; Xr++)
16522
- if (Hn ? !!(Xr % 2) == or : or) {
16523
+ if (jn ? !!(Xr % 2) == or : or) {
16523
16524
  const Sr = Q[0].days[0], ja = Xe(Sn(Sr.value, -7), Je(de));
16524
16525
  Q.unshift({ days: ja });
16525
16526
  } else {
@@ -16541,12 +16542,12 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
16541
16542
  }
16542
16543
  return We;
16543
16544
  }, qe = (Q, de) => {
16544
- const Ie = [], We = new Date(de, Q), ae = new Date(de, Q + 1, 0), Se = n.weekStart, Oe = Nn(We, { weekStartsOn: Se }), or = (Hn) => {
16545
- const Xr = Xe(Hn, Q);
16545
+ const Ie = [], We = new Date(de, Q), ae = new Date(de, Q + 1, 0), Se = n.weekStart, Oe = zn(We, { weekStartsOn: Se }), or = (jn) => {
16546
+ const Xr = Xe(jn, Q);
16546
16547
  if (Ie.push({ days: Xr }), !Ie[Ie.length - 1].days.some(
16547
16548
  (Sr) => et(jt(Sr.value), jt(ae))
16548
16549
  )) {
16549
- const Sr = Sn(Hn, 7);
16550
+ const Sr = Sn(jn, 7);
16550
16551
  or(Sr);
16551
16552
  }
16552
16553
  };
@@ -16650,7 +16651,7 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
16650
16651
  }, VT = { key: 0 }, YT = /* @__PURE__ */ ue({
16651
16652
  __name: "DatePicker",
16652
16653
  props: {
16653
- ...zn
16654
+ ...Hn
16654
16655
  },
16655
16656
  emits: [
16656
16657
  "tooltip-open",
@@ -16741,7 +16742,7 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
16741
16742
  }, Z = (he, ke) => {
16742
16743
  var E;
16743
16744
  if (!o.range) {
16744
- const ye = l.value ? l.value : c, _e = ke ? new Date(ke) : ye, Ce = he ? Nn(_e, { weekStartsOn: 1 }) : Kp(_e, { weekStartsOn: 1 });
16745
+ const ye = l.value ? l.value : c, _e = ke ? new Date(ke) : ye, Ce = he ? zn(_e, { weekStartsOn: 1 }) : Kp(_e, { weekStartsOn: 1 });
16745
16746
  B({
16746
16747
  value: Ce,
16747
16748
  current: Je(_e) === s.value(0),
@@ -16894,7 +16895,7 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
16894
16895
  filters: l,
16895
16896
  props: n,
16896
16897
  emit: e
16897
- }), D = (k, _) => [k, _].map((F) => er(F, "MMMM", { locale: n.formatLocale })).join("-"), z = R(() => (k) => d.value ? Array.isArray(d.value) ? d.value.some((_) => dh(k, _)) : dh(d.value, k) : !1), I = (k) => {
16898
+ }), D = (k, _) => [k, _].map((F) => tr(F, "MMMM", { locale: n.formatLocale })).join("-"), z = R(() => (k) => d.value ? Array.isArray(d.value) ? d.value.some((_) => dh(k, _)) : dh(d.value, k) : !1), I = (k) => {
16898
16899
  if (s.value.enabled) {
16899
16900
  if (Array.isArray(d.value)) {
16900
16901
  const _ = et(k, d.value[0]) || et(k, d.value[1]);
@@ -16953,7 +16954,7 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
16953
16954
  },
16954
16955
  __name: "QuarterPicker",
16955
16956
  props: {
16956
- ...zn
16957
+ ...Hn
16957
16958
  },
16958
16959
  emits: [
16959
16960
  "update:internal-model-value",
@@ -17300,7 +17301,7 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
17300
17301
  class: y(["dp__btn dp--preset-range", { "dp--preset-range-collapsed": n.collapse }]),
17301
17302
  "data-test-id": oe.testId ?? void 0,
17302
17303
  "data-dp-mobile": p(M),
17303
- onClick: nr((ve) => _e(oe.value, oe.noTz), ["prevent"]),
17304
+ onClick: Nn((ve) => _e(oe.value, oe.noTz), ["prevent"]),
17304
17305
  onKeydown: (ve) => p(rn)(ve, () => _e(oe.value, oe.noTz), !0)
17305
17306
  }, me(oe.label), 47, tS))
17306
17307
  ], 64))), 128))
@@ -18073,7 +18074,7 @@ const oS = ({
18073
18074
  class: "dp--clear-btn",
18074
18075
  type: "button",
18075
18076
  onKeydown: fe[4] || (fe[4] = (le) => p(rn)(le, () => k(le), !0, ne)),
18076
- onClick: fe[5] || (fe[5] = nr((le) => k(le), ["prevent"]))
18077
+ onClick: fe[5] || (fe[5] = Nn((le) => k(le), ["prevent"]))
18077
18078
  }, [
18078
18079
  H(p(cf), {
18079
18080
  class: "dp__input_icons",
@@ -18240,8 +18241,8 @@ const oS = ({
18240
18241
  le.value = null;
18241
18242
  return;
18242
18243
  }
18243
- const or = Array.isArray(ae) ? !ae.some((Xr) => !A(Xr)) : A(ae), Hn = D(ae);
18244
- or && Hn ? (x.value = !0, le.value = ae, Se ? (f.value = Oe, xe(), r("text-submit")) : o.autoApply && xn(), bt().then(() => {
18244
+ const or = Array.isArray(ae) ? !ae.some((Xr) => !A(Xr)) : A(ae), jn = D(ae);
18245
+ or && jn ? (x.value = !0, le.value = ae, Se ? (f.value = Oe, xe(), r("text-submit")) : o.autoApply && xn(), bt().then(() => {
18245
18246
  x.value = !1;
18246
18247
  })) : r("invalid-date", ae);
18247
18248
  }, Me = () => {
@@ -18318,8 +18319,8 @@ const oS = ({
18318
18319
  }), Yt({ _: 2 }, [
18319
18320
  Le(p(V), (Oe, or) => ({
18320
18321
  name: Oe,
18321
- fn: P((Hn) => [
18322
- se(ae.$slots, Oe, Ht(cn(Hn)))
18322
+ fn: P((jn) => [
18323
+ se(ae.$slots, Oe, Ht(cn(jn)))
18323
18324
  ])
18324
18325
  }))
18325
18326
  ]), 1040, ["input-value", "is-menu-open", "onSetEmptyDate"]),
@@ -18374,8 +18375,8 @@ const oS = ({
18374
18375
  }), Yt({ _: 2 }, [
18375
18376
  Le(p(F), (Oe, or) => ({
18376
18377
  name: Oe,
18377
- fn: P((Hn) => [
18378
- se(ae.$slots, Oe, Ht(cn({ ...Hn })))
18378
+ fn: P((jn) => [
18379
+ se(ae.$slots, Oe, Ht(cn({ ...jn })))
18379
18380
  ])
18380
18381
  }))
18381
18382
  ]), 1040, ["internal-model-value", "class", "open-on-top", "no-overlay-focus", "collapse", "is-text-input-date", "onRecalculatePosition"])
@@ -18429,7 +18430,10 @@ const kS = /* @__PURE__ */ ue({
18429
18430
  "onUpdate:modelValue": o[0] || (o[0] = (i) => e.value = i),
18430
18431
  disabledDates: r.disabledDates,
18431
18432
  range: Array.isArray(e.value)
18432
- }, t), {
18433
+ }, t, {
18434
+ onClick: o[1] || (o[1] = Nn(() => {
18435
+ }, ["stop"]))
18436
+ }), {
18433
18437
  "arrow-left": P(() => [
18434
18438
  H(p(Do), {
18435
18439
  icon: "outline-chevron-left",
@@ -18827,7 +18831,7 @@ const Po = /* @__PURE__ */ o1(TS), SS = /* @__PURE__ */ ue({
18827
18831
  W("div", {
18828
18832
  class: y(f.$style.buttons)
18829
18833
  }, [
18830
- H(p(Zn), {
18834
+ H(p(Jn), {
18831
18835
  class: y(f.$style.button),
18832
18836
  size: "44",
18833
18837
  view: "base",
@@ -18838,7 +18842,7 @@ const Po = /* @__PURE__ */ o1(TS), SS = /* @__PURE__ */ ue({
18838
18842
  ]),
18839
18843
  _: 1
18840
18844
  }, 8, ["class"]),
18841
- H(p(Zn), {
18845
+ H(p(Jn), {
18842
18846
  class: y(f.$style.button),
18843
18847
  size: "44",
18844
18848
  view: "base-primary",
@@ -18903,7 +18907,7 @@ const Po = /* @__PURE__ */ o1(TS), SS = /* @__PURE__ */ ue({
18903
18907
  }),
18904
18908
  H(p(br), null, {
18905
18909
  default: P(() => [
18906
- i.value > 0 ? (v(), re(p(Zn), {
18910
+ i.value > 0 ? (v(), re(p(Jn), {
18907
18911
  key: 0,
18908
18912
  view: "base",
18909
18913
  size: "28",
@@ -18927,7 +18931,7 @@ const Po = /* @__PURE__ */ o1(TS), SS = /* @__PURE__ */ ue({
18927
18931
  W("div", {
18928
18932
  class: y([c.$style.content, t.value && c.$style.spacing])
18929
18933
  }, [
18930
- c.selectAllButtonText ? (v(), re(p(Zn), {
18934
+ c.selectAllButtonText ? (v(), re(p(Jn), {
18931
18935
  key: 0,
18932
18936
  class: y(c.$style["select-all-button"]),
18933
18937
  view: "brand-flat",
@@ -18964,7 +18968,7 @@ const Po = /* @__PURE__ */ o1(TS), SS = /* @__PURE__ */ ue({
18964
18968
  key: 0,
18965
18969
  class: y(c.$style.action)
18966
18970
  }, [
18967
- H(p(Zn), {
18971
+ H(p(Jn), {
18968
18972
  view: "base-primary",
18969
18973
  size: "44",
18970
18974
  "is-wide": "",
@@ -19288,7 +19292,7 @@ function bM(n) {
19288
19292
  const t = n.isConnected, r = pn.has(n);
19289
19293
  t && qo.has(n) && qo.delete(n), co.has(n) && ((e = co.get(n)) === null || e === void 0 || e.cancel()), Gs in n ? xh(n) : r && t ? wM(n) : r && !t ? kM(n) : xh(n);
19290
19294
  }
19291
- function jn(n) {
19295
+ function Vn(n) {
19292
19296
  return Number(n.replace(/[^0-9.\-]/g, ""));
19293
19297
  }
19294
19298
  function yM(n) {
@@ -19313,7 +19317,7 @@ function ju(n, e, t) {
19313
19317
  let r = e.width, o = e.height, i = t.width, s = t.height;
19314
19318
  const a = getComputedStyle(n);
19315
19319
  if (a.getPropertyValue("box-sizing") === "content-box") {
19316
- const u = jn(a.paddingTop) + jn(a.paddingBottom) + jn(a.borderTopWidth) + jn(a.borderBottomWidth), d = jn(a.paddingLeft) + jn(a.paddingRight) + jn(a.borderRightWidth) + jn(a.borderLeftWidth);
19320
+ const u = Vn(a.paddingTop) + Vn(a.paddingBottom) + Vn(a.borderTopWidth) + Vn(a.borderBottomWidth), d = Vn(a.paddingLeft) + Vn(a.paddingRight) + Vn(a.borderRightWidth) + Vn(a.borderLeftWidth);
19317
19321
  r -= d, i -= d, o -= u, s -= u;
19318
19322
  }
19319
19323
  return [r, i, o, s].map(Math.round);
@@ -19462,7 +19466,7 @@ function CM(n) {
19462
19466
  for (; o && (getComputedStyle(o).position === "static" || o instanceof HTMLBodyElement); )
19463
19467
  o = o.parentElement;
19464
19468
  o || (o = document.body);
19465
- const i = getComputedStyle(o), s = pn.get(o) || Ko(o), a = Math.round(e.top - s.top) - jn(i.borderTopWidth), l = Math.round(e.left - s.left) - jn(i.borderLeftWidth);
19469
+ const i = getComputedStyle(o), s = pn.get(o) || Ko(o), a = Math.round(e.top - s.top) - Vn(i.borderTopWidth), l = Math.round(e.left - s.left) - Vn(i.borderLeftWidth);
19466
19470
  return [a, l, t, r];
19467
19471
  }
19468
19472
  function xM(n, e = {}) {
@@ -19595,7 +19599,7 @@ const zf = /* @__PURE__ */ ue({
19595
19599
  }, [
19596
19600
  se(f.$slots, "before"),
19597
19601
  W("div", null, [
19598
- H(p(Zn), {
19602
+ H(p(Jn), {
19599
19603
  ref_key: "parentElementRef",
19600
19604
  ref: l,
19601
19605
  class: y(f.$style.button),
@@ -20165,7 +20169,7 @@ const rP = new s$(), a$ = ["disabled"], l$ = ["onClick"], u$ = /* @__PURE__ */ u
20165
20169
  [f.$style["is-disabled"]]: f.isDisabled
20166
20170
  }
20167
20171
  ]),
20168
- onClick: nr(m, ["stop"])
20172
+ onClick: Nn(m, ["stop"])
20169
20173
  }, [
20170
20174
  W("div", {
20171
20175
  ref_key: "parentElementRef",
@@ -20236,7 +20240,7 @@ const rP = new s$(), a$ = ["disabled"], l$ = ["onClick"], u$ = /* @__PURE__ */ u
20236
20240
  }
20237
20241
  ]),
20238
20242
  key: x.id,
20239
- onClick: nr((B) => a(x.id), ["stop"])
20243
+ onClick: Nn((B) => a(x.id), ["stop"])
20240
20244
  }, [
20241
20245
  H(p(Be), { size: "subhead" }, {
20242
20246
  default: P(() => [
@@ -23938,7 +23942,7 @@ function qu(n, e) {
23938
23942
  return $n(r) || (t.data = Gu(t.data, r)), t;
23939
23943
  });
23940
23944
  }
23941
- function Qn(n, e = {}) {
23945
+ function Zn(n, e = {}) {
23942
23946
  const t = {
23943
23947
  tags: e
23944
23948
  };
@@ -23961,7 +23965,7 @@ function q3(n, e) {
23961
23965
  return t;
23962
23966
  }
23963
23967
  function G3(n, e) {
23964
- return Wt(e) ? Qn(n, e) : e === !1 ? Qn(n, {}) : n;
23968
+ return Wt(e) ? Zn(n, e) : e === !1 ? Zn(n, {}) : n;
23965
23969
  }
23966
23970
  function K3(n) {
23967
23971
  return Wt(n) || p3(n) || xt(n);
@@ -23985,7 +23989,7 @@ class X3 extends rt {
23985
23989
  * @returns {string}
23986
23990
  */
23987
23991
  clean(e, t) {
23988
- return Qn(e, t);
23992
+ return Zn(e, t);
23989
23993
  }
23990
23994
  }
23991
23995
  class Q3 extends rt {
@@ -24990,7 +24994,7 @@ class mm extends Xu {
24990
24994
  (t = this.nodes.root) == null || t.classList.toggle(_l.hidden, e);
24991
24995
  }
24992
24996
  }
24993
- var tr = /* @__PURE__ */ ((n) => (n.Closed = "closed", n.ClosedOnActivate = "closed-on-activate", n))(tr || {});
24997
+ var nr = /* @__PURE__ */ ((n) => (n.Closed = "closed", n.ClosedOnActivate = "closed-on-activate", n))(nr || {});
24994
24998
  const Jt = Kr("ce-popover"), Dt = {
24995
24999
  popover: Jt(),
24996
25000
  popoverContainer: Jt("container"),
@@ -25102,7 +25106,7 @@ class vm extends Ji {
25102
25106
  * Closes popover
25103
25107
  */
25104
25108
  hide() {
25105
- this.nodes.popover.classList.remove(Dt.popoverOpened), this.nodes.popover.classList.remove(Dt.popoverOpenTop), this.itemsDefault.forEach((e) => e.reset()), this.search !== void 0 && this.search.clear(), this.emit(tr.Closed);
25109
+ this.nodes.popover.classList.remove(Dt.popoverOpened), this.nodes.popover.classList.remove(Dt.popoverOpenTop), this.itemsDefault.forEach((e) => e.reset()), this.search !== void 0 && this.search.clear(), this.emit(nr.Closed);
25106
25110
  }
25107
25111
  /**
25108
25112
  * Clears memory
@@ -25159,7 +25163,7 @@ class vm extends Ji {
25159
25163
  this.showNestedItems(e), "handleClick" in e && typeof e.handleClick == "function" && e.handleClick();
25160
25164
  return;
25161
25165
  }
25162
- this.itemsDefault.filter((t) => t !== e).forEach((t) => t.reset()), "handleClick" in e && typeof e.handleClick == "function" && e.handleClick(), this.toggleItemActivenessIfNeeded(e), e.closeOnActivate && (this.hide(), this.emit(tr.ClosedOnActivate));
25166
+ this.itemsDefault.filter((t) => t !== e).forEach((t) => t.reset()), "handleClick" in e && typeof e.handleClick == "function" && e.handleClick(), this.toggleItemActivenessIfNeeded(e), e.closeOnActivate && (this.hide(), this.emit(nr.ClosedOnActivate));
25163
25167
  }
25164
25168
  }
25165
25169
  /**
@@ -25372,7 +25376,7 @@ const gm = class bm extends vm {
25372
25376
  */
25373
25377
  destroyNestedPopoverIfExists() {
25374
25378
  var e, t;
25375
- this.nestedPopover === void 0 || this.nestedPopover === null || (this.nestedPopover.off(tr.ClosedOnActivate, this.hide), this.nestedPopover.hide(), this.nestedPopover.destroy(), this.nestedPopover.getElement().remove(), this.nestedPopover = null, (e = this.flipper) == null || e.activate(this.flippableElements), (t = this.nestedPopoverTriggerItem) == null || t.onChildrenClose());
25379
+ this.nestedPopover === void 0 || this.nestedPopover === null || (this.nestedPopover.off(nr.ClosedOnActivate, this.hide), this.nestedPopover.hide(), this.nestedPopover.destroy(), this.nestedPopover.getElement().remove(), this.nestedPopover = null, (e = this.flipper) == null || e.activate(this.flippableElements), (t = this.nestedPopoverTriggerItem) == null || t.onChildrenClose());
25376
25380
  }
25377
25381
  /**
25378
25382
  * Creates and displays nested popover for specified item.
@@ -25388,7 +25392,7 @@ const gm = class bm extends vm {
25388
25392
  nestingLevel: this.nestingLevel + 1,
25389
25393
  flippable: e.isChildrenFlippable,
25390
25394
  messages: this.messages
25391
- }), e.onChildrenOpen(), this.nestedPopover.on(tr.ClosedOnActivate, this.hide);
25395
+ }), e.onChildrenOpen(), this.nestedPopover.on(nr.ClosedOnActivate, this.hide);
25392
25396
  const r = this.nestedPopover.getElement();
25393
25397
  return this.nodes.popover.appendChild(r), this.setTriggerItemPosition(r, e), r.style.setProperty(Ro.NestingLevel, this.nestedPopover.nestingLevel.toString()), this.nestedPopover.show(), (t = this.flipper) == null || t.deactivate(), this.nestedPopover;
25394
25398
  }
@@ -25755,7 +25759,7 @@ let wm = class extends vm {
25755
25759
  class DA extends rt {
25756
25760
  constructor() {
25757
25761
  super(...arguments), this.opened = !1, this.selection = new ze(), this.popover = null, this.close = () => {
25758
- this.opened && (this.opened = !1, ze.isAtEditor || this.selection.restore(), this.selection.clearSaved(), !this.Editor.CrossBlockSelection.isCrossBlockSelectionStarted && this.Editor.BlockManager.currentBlock && this.Editor.BlockSelection.unselectBlock(this.Editor.BlockManager.currentBlock), this.eventsDispatcher.emit(this.events.closed), this.popover && (this.popover.off(tr.Closed, this.onPopoverClose), this.popover.destroy(), this.popover.getElement().remove(), this.popover = null));
25762
+ this.opened && (this.opened = !1, ze.isAtEditor || this.selection.restore(), this.selection.clearSaved(), !this.Editor.CrossBlockSelection.isCrossBlockSelectionStarted && this.Editor.BlockManager.currentBlock && this.Editor.BlockSelection.unselectBlock(this.Editor.BlockManager.currentBlock), this.eventsDispatcher.emit(this.events.closed), this.popover && (this.popover.off(nr.Closed, this.onPopoverClose), this.popover.destroy(), this.popover.getElement().remove(), this.popover = null));
25759
25763
  }, this.onPopoverClose = () => {
25760
25764
  this.close();
25761
25765
  };
@@ -25820,7 +25824,7 @@ class DA extends rt {
25820
25824
  nothingFound: on.ui(Cn.ui.popover, "Nothing found"),
25821
25825
  search: on.ui(Cn.ui.popover, "Filter")
25822
25826
  }
25823
- }), this.popover.on(tr.Closed, this.onPopoverClose), (t = this.nodes.wrapper) == null || t.append(this.popover.getElement()), this.popover.show();
25827
+ }), this.popover.on(nr.Closed, this.onPopoverClose), (t = this.nodes.wrapper) == null || t.append(this.popover.getElement()), this.popover.show();
25824
25828
  }
25825
25829
  /**
25826
25830
  * Returns root block settings element
@@ -26088,7 +26092,7 @@ const Zu = class Cm extends Ji {
26088
26092
  */
26089
26093
  destroy() {
26090
26094
  var e;
26091
- super.destroy(), this.nodes && this.nodes.toolbox && this.nodes.toolbox.remove(), this.removeAllShortcuts(), (e = this.popover) == null || e.off(tr.Closed, this.onPopoverClose), this.listeners.destroy(), this.api.events.off(Ni, this.handleMobileLayoutToggle);
26095
+ super.destroy(), this.nodes && this.nodes.toolbox && this.nodes.toolbox.remove(), this.removeAllShortcuts(), (e = this.popover) == null || e.off(nr.Closed, this.onPopoverClose), this.listeners.destroy(), this.api.events.off(Ni, this.handleMobileLayoutToggle);
26092
26096
  }
26093
26097
  /**
26094
26098
  * Toolbox Tool's button click handler
@@ -26139,13 +26143,13 @@ const Zu = class Cm extends Ji {
26139
26143
  search: this.i18nLabels.filter
26140
26144
  },
26141
26145
  items: this.toolboxItemsToBeDisplayed
26142
- }), this.popover.on(tr.Closed, this.onPopoverClose), (e = this.nodes.toolbox) == null || e.append(this.popover.getElement());
26146
+ }), this.popover.on(nr.Closed, this.onPopoverClose), (e = this.nodes.toolbox) == null || e.append(this.popover.getElement());
26143
26147
  }
26144
26148
  /**
26145
26149
  * Destroys popover instance and removes it from DOM
26146
26150
  */
26147
26151
  destroyPopover() {
26148
- this.popover !== null && (this.popover.hide(), this.popover.off(tr.Closed, this.onPopoverClose), this.popover.destroy(), this.popover = null), this.nodes.toolbox !== null && (this.nodes.toolbox.innerHTML = "");
26152
+ this.popover !== null && (this.popover.hide(), this.popover.off(nr.Closed, this.onPopoverClose), this.popover.destroy(), this.popover = null), this.nodes.toolbox !== null && (this.nodes.toolbox.innerHTML = "");
26149
26153
  }
26150
26154
  get toolsToBeDisplayed() {
26151
26155
  const e = [];
@@ -28656,7 +28660,7 @@ class CD extends rt {
28656
28660
  const [i] = qu([o], e.tool.sanitizeConfig);
28657
28661
  r = i;
28658
28662
  } else if (e.mergeable && Qs(t, "export") && Qs(e, "import")) {
28659
- const o = await t.exportDataAsString(), i = Qn(o, e.tool.sanitizeConfig);
28663
+ const o = await t.exportDataAsString(), i = Zn(o, e.tool.sanitizeConfig);
28660
28664
  r = Bh(i, e.tool.conversionConfig);
28661
28665
  }
28662
28666
  r !== void 0 && (await e.mergeWith(r), this.removeBlock(t), this.currentBlockIndex = this._blocks.indexOf(e));
@@ -28824,7 +28828,7 @@ class CD extends rt {
28824
28828
  const o = this.Editor.Tools.blockTools.get(t);
28825
28829
  if (!o)
28826
28830
  throw new Error(`Could not convert Block. Tool «${t}» not found.`);
28827
- const i = await e.exportDataAsString(), s = Qn(
28831
+ const i = await e.exportDataAsString(), s = Zn(
28828
28832
  i,
28829
28833
  o.sanitizeConfig
28830
28834
  );
@@ -29068,7 +29072,7 @@ class xD extends rt {
29068
29072
  e.preventDefault();
29069
29073
  const t = ie.make("div");
29070
29074
  this.selectedBlocks.forEach((i) => {
29071
- const s = Qn(i.holder.innerHTML, this.sanitizerConfig), a = ie.make("p");
29075
+ const s = Zn(i.holder.innerHTML, this.sanitizerConfig), a = ie.make("p");
29072
29076
  a.innerHTML = s, t.appendChild(a);
29073
29077
  });
29074
29078
  const r = Array.from(t.childNodes).map((i) => i.textContent).join(`
@@ -29655,7 +29659,7 @@ const Zm = class Jm extends rt {
29655
29659
  } catch {
29656
29660
  }
29657
29661
  t && s.trim() && a.trim() && (a = "<p>" + (a.trim() ? a : s) + "</p>");
29658
- const l = Object.keys(this.toolsTags).reduce((c, h) => (c[h.toLowerCase()] = this.toolsTags[h].sanitizationConfig ?? {}, c), {}), u = Object.assign({}, l, r.getAllInlineToolsSanitizeConfig(), { br: {} }), d = Qn(a, u);
29662
+ const l = Object.keys(this.toolsTags).reduce((c, h) => (c[h.toLowerCase()] = this.toolsTags[h].sanitizationConfig ?? {}, c), {}), u = Object.assign({}, l, r.getAllInlineToolsSanitizeConfig(), { br: {} }), d = Zn(a, u);
29659
29663
  !d.trim() || d.trim() === s || !ie.isHTMLString(d) ? await this.processText(s) : await this.processText(d, !0);
29660
29664
  }
29661
29665
  /**
@@ -29837,12 +29841,12 @@ const Zm = class Jm extends rt {
29837
29841
  h[f.toLowerCase()] = g || {};
29838
29842
  }), h), {}), d = Object.assign({}, u, s.baseSanitizeConfig);
29839
29843
  if (i.tagName.toLowerCase() === "table") {
29840
- const h = Qn(i.outerHTML, d);
29844
+ const h = Zn(i.outerHTML, d);
29841
29845
  i = ie.make("div", void 0, {
29842
29846
  innerHTML: h
29843
29847
  }).firstChild;
29844
29848
  } else
29845
- i.innerHTML = Qn(i.innerHTML, d);
29849
+ i.innerHTML = Zn(i.innerHTML, d);
29846
29850
  const c = this.composePasteEvent("tag", {
29847
29851
  data: i
29848
29852
  });
@@ -29918,7 +29922,7 @@ const Zm = class Jm extends rt {
29918
29922
  document.execCommand(
29919
29923
  "insertHTML",
29920
29924
  !1,
29921
- Qn(o.innerHTML, i)
29925
+ Zn(o.innerHTML, i)
29922
29926
  );
29923
29927
  } else
29924
29928
  this.insertBlock(e);
@@ -31058,7 +31062,7 @@ class ND extends Ju {
31058
31062
  });
31059
31063
  }
31060
31064
  }
31061
- let Vn = class $o extends Map {
31065
+ let Yn = class $o extends Map {
31062
31066
  /**
31063
31067
  * Returns Block Tools collection
31064
31068
  */
@@ -31102,7 +31106,7 @@ var zD = Object.defineProperty, HD = Object.getOwnPropertyDescriptor, nv = (n, e
31102
31106
  };
31103
31107
  class Yc extends Ju {
31104
31108
  constructor() {
31105
- super(...arguments), this.type = lo.Block, this.inlineTools = new Vn(), this.tunes = new Vn();
31109
+ super(...arguments), this.type = lo.Block, this.inlineTools = new Yn(), this.tunes = new Yn();
31106
31110
  }
31107
31111
  /**
31108
31112
  * Creates new Tool instance
@@ -31359,7 +31363,7 @@ var VD = Object.defineProperty, YD = Object.getOwnPropertyDescriptor, UD = (n, e
31359
31363
  };
31360
31364
  let sv = class extends rt {
31361
31365
  constructor() {
31362
- super(...arguments), this.stubTool = "stub", this.toolsAvailable = new Vn(), this.toolsUnavailable = new Vn();
31366
+ super(...arguments), this.stubTool = "stub", this.toolsAvailable = new Yn(), this.toolsUnavailable = new Yn();
31363
31367
  }
31364
31368
  /**
31365
31369
  * Returns available Tools
@@ -31547,12 +31551,12 @@ let sv = class extends rt {
31547
31551
  assignInlineToolsToBlockTool(e) {
31548
31552
  if (this.config.inlineToolbar !== !1) {
31549
31553
  if (e.enabledInlineTools === !0) {
31550
- e.inlineTools = new Vn(
31554
+ e.inlineTools = new Yn(
31551
31555
  Array.isArray(this.config.inlineToolbar) ? this.config.inlineToolbar.map((t) => [t, this.inlineTools.get(t)]) : Array.from(this.inlineTools.entries())
31552
31556
  );
31553
31557
  return;
31554
31558
  }
31555
- Array.isArray(e.enabledInlineTools) && (e.inlineTools = new Vn(
31559
+ Array.isArray(e.enabledInlineTools) && (e.inlineTools = new Yn(
31556
31560
  /** Prepend ConvertTo Inline Tool */
31557
31561
  ["convertTo", ...e.enabledInlineTools].map((t) => [t, this.inlineTools.get(t)])
31558
31562
  ));
@@ -31566,17 +31570,17 @@ let sv = class extends rt {
31566
31570
  assignBlockTunesToBlockTool(e) {
31567
31571
  if (e.enabledBlockTunes !== !1) {
31568
31572
  if (Array.isArray(e.enabledBlockTunes)) {
31569
- const t = new Vn(
31573
+ const t = new Yn(
31570
31574
  e.enabledBlockTunes.map((r) => [r, this.blockTunes.get(r)])
31571
31575
  );
31572
- e.tunes = new Vn([...t, ...this.blockTunes.internalTools]);
31576
+ e.tunes = new Yn([...t, ...this.blockTunes.internalTools]);
31573
31577
  return;
31574
31578
  }
31575
31579
  if (Array.isArray(this.config.tunes)) {
31576
- const t = new Vn(
31580
+ const t = new Yn(
31577
31581
  this.config.tunes.map((r) => [r, this.blockTunes.get(r)])
31578
31582
  );
31579
- e.tunes = new Vn([...t, ...this.blockTunes.internalTools]);
31583
+ e.tunes = new Yn([...t, ...this.blockTunes.internalTools]);
31580
31584
  return;
31581
31585
  }
31582
31586
  e.tunes = this.blockTunes.internalTools;
@@ -33924,7 +33928,7 @@ const un = "cdx-list", Xt = {
33924
33928
  itemContent: `${un}__item-content`,
33925
33929
  itemChildren: `${un}__item-children`
33926
33930
  };
33927
- class Un {
33931
+ class Wn {
33928
33932
  /**
33929
33933
  * Getter for all CSS classes used in unordered list rendering
33930
33934
  */
@@ -33949,7 +33953,7 @@ class Un {
33949
33953
  */
33950
33954
  renderWrapper(e) {
33951
33955
  let t;
33952
- return e === !0 ? t = mt.make("ol", [Un.CSS.wrapper, Un.CSS.orderedList]) : t = mt.make("ol", [Un.CSS.orderedList, Un.CSS.itemChildren]), t;
33956
+ return e === !0 ? t = mt.make("ol", [Wn.CSS.wrapper, Wn.CSS.orderedList]) : t = mt.make("ol", [Wn.CSS.orderedList, Wn.CSS.itemChildren]), t;
33953
33957
  }
33954
33958
  /**
33955
33959
  * Redners list item element
@@ -33958,7 +33962,7 @@ class Un {
33958
33962
  * @returns - created html list item element
33959
33963
  */
33960
33964
  renderItem(e, t) {
33961
- const r = mt.make("li", Un.CSS.item), o = mt.make("div", Un.CSS.itemContent, {
33965
+ const r = mt.make("li", Wn.CSS.item), o = mt.make("div", Wn.CSS.itemContent, {
33962
33966
  innerHTML: e,
33963
33967
  contentEditable: (!this.readOnly).toString()
33964
33968
  });
@@ -33970,7 +33974,7 @@ class Un {
33970
33974
  * @returns - item content string
33971
33975
  */
33972
33976
  getItemContent(e) {
33973
- const t = e.querySelector(`.${Un.CSS.itemContent}`);
33977
+ const t = e.querySelector(`.${Wn.CSS.itemContent}`);
33974
33978
  return !t || mt.isEmpty(t) ? "" : t.innerHTML;
33975
33979
  }
33976
33980
  /**
@@ -33987,7 +33991,7 @@ class Un {
33987
33991
  return {};
33988
33992
  }
33989
33993
  }
33990
- class Wn {
33994
+ class qn {
33991
33995
  /**
33992
33996
  * Getter for all CSS classes used in unordered list rendering
33993
33997
  */
@@ -34012,7 +34016,7 @@ class Wn {
34012
34016
  */
34013
34017
  renderWrapper(e) {
34014
34018
  let t;
34015
- return e === !0 ? t = mt.make("ul", [Wn.CSS.wrapper, Wn.CSS.unorderedList]) : t = mt.make("ul", [Wn.CSS.unorderedList, Wn.CSS.itemChildren]), t;
34019
+ return e === !0 ? t = mt.make("ul", [qn.CSS.wrapper, qn.CSS.unorderedList]) : t = mt.make("ul", [qn.CSS.unorderedList, qn.CSS.itemChildren]), t;
34016
34020
  }
34017
34021
  /**
34018
34022
  * Redners list item element
@@ -34021,7 +34025,7 @@ class Wn {
34021
34025
  * @returns - created html list item element
34022
34026
  */
34023
34027
  renderItem(e, t) {
34024
- const r = mt.make("li", Wn.CSS.item), o = mt.make("div", Wn.CSS.itemContent, {
34028
+ const r = mt.make("li", qn.CSS.item), o = mt.make("div", qn.CSS.itemContent, {
34025
34029
  innerHTML: e,
34026
34030
  contentEditable: (!this.readOnly).toString()
34027
34031
  });
@@ -34033,7 +34037,7 @@ class Wn {
34033
34037
  * @returns - item content string
34034
34038
  */
34035
34039
  getItemContent(e) {
34036
- const t = e.querySelector(`.${Wn.CSS.itemContent}`);
34040
+ const t = e.querySelector(`.${qn.CSS.itemContent}`);
34037
34041
  return !t || mt.isEmpty(t) ? "" : t.innerHTML;
34038
34042
  }
34039
34043
  /**
@@ -34779,10 +34783,10 @@ class Al {
34779
34783
  renderItem(e, t) {
34780
34784
  const r = t ?? this.renderer.composeDefaultMeta();
34781
34785
  switch (!0) {
34782
- case this.renderer instanceof Un:
34783
- return this.renderer.renderItem(e, r);
34784
34786
  case this.renderer instanceof Wn:
34785
34787
  return this.renderer.renderItem(e, r);
34788
+ case this.renderer instanceof qn:
34789
+ return this.renderer.renderItem(e, r);
34786
34790
  default:
34787
34791
  return this.renderer.renderItem(e, r);
34788
34792
  }
@@ -35183,7 +35187,7 @@ class oa {
35183
35187
  config: this.config,
35184
35188
  block: this.block
35185
35189
  },
35186
- new Un(this.readOnly, this.config)
35190
+ new Wn(this.readOnly, this.config)
35187
35191
  );
35188
35192
  break;
35189
35193
  case "unordered":
@@ -35195,7 +35199,7 @@ class oa {
35195
35199
  config: this.config,
35196
35200
  block: this.block
35197
35201
  },
35198
- new Wn(this.readOnly, this.config)
35202
+ new qn(this.readOnly, this.config)
35199
35203
  );
35200
35204
  break;
35201
35205
  case "checklist":
@@ -36665,7 +36669,7 @@ export {
36665
36669
  T6 as BannerOfferSkeleton,
36666
36670
  cP as Breadcrumbs,
36667
36671
  VP as BubbleTabs,
36668
- Zn as Button,
36672
+ Jn as Button,
36669
36673
  Do as ButtonIcon,
36670
36674
  $6 as ButtonIconSkeleton,
36671
36675
  M6 as ButtonSkeleton,