@autoafleveren/ui 1.2.5 → 1.2.6

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/ui.js CHANGED
@@ -918,7 +918,7 @@ var R8 = function(t, n) {
918
918
  function $8(e) {
919
919
  var t, n = e.state, r = e.name, a = e.options, i = n.elements.arrow, o = n.modifiersData.popperOffsets, s = sa(n.placement), l = Xp(s), u = [Zn, Cr].indexOf(s) >= 0, c = u ? "height" : "width";
920
920
  if (!(!i || !o)) {
921
- var d = R8(a.padding, n), f = Yp(i), p = l === "y" ? Qn : Zn, g = l === "y" ? kr : Cr, v = n.rects.reference[c] + n.rects.reference[l] - o[l] - n.rects.popper[c], k = o[l] - n.rects.reference[l], m = Ol(i), S = m ? l === "y" ? m.clientHeight || 0 : m.clientWidth || 0 : 0, w = v / 2 - k / 2, y = d[p], O = S - f[c] - d[g], x = S / 2 - f[c] / 2 + w, P = Ws(y, x, O), M = l;
921
+ var d = R8(a.padding, n), f = Yp(i), p = l === "y" ? Qn : Zn, g = l === "y" ? kr : Cr, v = n.rects.reference[c] + n.rects.reference[l] - o[l] - n.rects.popper[c], S = o[l] - n.rects.reference[l], m = Ol(i), k = m ? l === "y" ? m.clientHeight || 0 : m.clientWidth || 0 : 0, w = v / 2 - S / 2, y = d[p], O = k - f[c] - d[g], x = k / 2 - f[c] / 2 + w, P = Ws(y, x, O), M = l;
922
922
  n.modifiersData[r] = (t = {}, t[M] = P, t.centerOffset = P - x, t);
923
923
  }
924
924
  }
@@ -952,7 +952,7 @@ function F8(e) {
952
952
  };
953
953
  }
954
954
  function uv(e) {
955
- var t, n = e.popper, r = e.popperRect, a = e.placement, i = e.variation, o = e.offsets, s = e.position, l = e.gpuAcceleration, u = e.adaptive, c = e.roundOffsets, d = e.isFixed, f = c === !0 ? F8(o) : typeof c == "function" ? c(o) : o, p = f.x, g = p === void 0 ? 0 : p, v = f.y, k = v === void 0 ? 0 : v, m = o.hasOwnProperty("x"), S = o.hasOwnProperty("y"), w = Zn, y = Qn, O = window;
955
+ var t, n = e.popper, r = e.popperRect, a = e.placement, i = e.variation, o = e.offsets, s = e.position, l = e.gpuAcceleration, u = e.adaptive, c = e.roundOffsets, d = e.isFixed, f = c === !0 ? F8(o) : typeof c == "function" ? c(o) : o, p = f.x, g = p === void 0 ? 0 : p, v = f.y, S = v === void 0 ? 0 : v, m = o.hasOwnProperty("x"), k = o.hasOwnProperty("y"), w = Zn, y = Qn, O = window;
956
956
  if (u) {
957
957
  var x = Ol(n), P = "clientHeight", M = "clientWidth";
958
958
  if (x === jr(n) && (x = wi(n), da(x).position !== "static" && s === "absolute" && (P = "scrollHeight", M = "scrollWidth")), x = x, a === Qn || (a === Zn || a === Cr) && i === cl) {
@@ -961,7 +961,7 @@ function uv(e) {
961
961
  // $FlowFixMe[prop-missing]
962
962
  x[P]
963
963
  );
964
- k -= A - r.height, k *= l ? 1 : -1;
964
+ S -= A - r.height, S *= l ? 1 : -1;
965
965
  }
966
966
  if (a === Zn || (a === Qn || a === kr) && i === cl) {
967
967
  w = Cr;
@@ -977,9 +977,9 @@ function uv(e) {
977
977
  }, u && z8);
978
978
  if (l) {
979
979
  var j;
980
- return Object.assign({}, H, (j = {}, j[y] = S ? "0" : "", j[w] = m ? "0" : "", j.transform = (O.devicePixelRatio || 1) <= 1 ? "translate(" + g + "px, " + k + "px)" : "translate3d(" + g + "px, " + k + "px, 0)", j));
980
+ return Object.assign({}, H, (j = {}, j[y] = k ? "0" : "", j[w] = m ? "0" : "", j.transform = (O.devicePixelRatio || 1) <= 1 ? "translate(" + g + "px, " + S + "px)" : "translate3d(" + g + "px, " + S + "px, 0)", j));
981
981
  }
982
- return Object.assign({}, H, (t = {}, t[y] = S ? k + "px" : "", t[w] = m ? g + "px" : "", t.transform = "", t));
982
+ return Object.assign({}, H, (t = {}, t[y] = k ? S + "px" : "", t[w] = m ? g + "px" : "", t.transform = "", t));
983
983
  }
984
984
  function H8(e) {
985
985
  var t = e.state, n = e.options, r = n.gpuAcceleration, a = r === void 0 ? !0 : r, i = n.adaptive, o = i === void 0 ? !0 : i, s = n.roundOffsets, l = s === void 0 ? !0 : s, u = {
@@ -1172,7 +1172,7 @@ function Qg(e) {
1172
1172
  }
1173
1173
  function dl(e, t) {
1174
1174
  t === void 0 && (t = {});
1175
- var n = t, r = n.placement, a = r === void 0 ? e.placement : r, i = n.boundary, o = i === void 0 ? y8 : i, s = n.rootBoundary, l = s === void 0 ? Ug : s, u = n.elementContext, c = u === void 0 ? zs : u, d = n.altBoundary, f = d === void 0 ? !1 : d, p = n.padding, g = p === void 0 ? 0 : p, v = Gg(typeof g != "number" ? g : Kg(g, Al)), k = c === zs ? b8 : zs, m = e.rects.popper, S = e.elements[f ? k : c], w = J8(qo(S) ? S : S.contextElement || wi(e.elements.popper), o, l), y = Xo(e.elements.reference), O = Qg({
1175
+ var n = t, r = n.placement, a = r === void 0 ? e.placement : r, i = n.boundary, o = i === void 0 ? y8 : i, s = n.rootBoundary, l = s === void 0 ? Ug : s, u = n.elementContext, c = u === void 0 ? zs : u, d = n.altBoundary, f = d === void 0 ? !1 : d, p = n.padding, g = p === void 0 ? 0 : p, v = Gg(typeof g != "number" ? g : Kg(g, Al)), S = c === zs ? b8 : zs, m = e.rects.popper, k = e.elements[f ? S : c], w = J8(qo(k) ? k : k.contextElement || wi(e.elements.popper), o, l), y = Xo(e.elements.reference), O = Qg({
1176
1176
  reference: y,
1177
1177
  element: m,
1178
1178
  placement: a
@@ -1220,7 +1220,7 @@ function Z8(e) {
1220
1220
  function e5(e) {
1221
1221
  var t = e.state, n = e.options, r = e.name;
1222
1222
  if (!t.modifiersData[r]._skip) {
1223
- for (var a = n.mainAxis, i = a === void 0 ? !0 : a, o = n.altAxis, s = o === void 0 ? !0 : o, l = n.fallbackPlacements, u = n.padding, c = n.boundary, d = n.rootBoundary, f = n.altBoundary, p = n.flipVariations, g = p === void 0 ? !0 : p, v = n.allowedAutoPlacements, k = t.options.placement, m = sa(k), S = m === k, w = l || (S || !g ? [Ou(k)] : Z8(k)), y = [k].concat(w).reduce(function(J, G) {
1223
+ for (var a = n.mainAxis, i = a === void 0 ? !0 : a, o = n.altAxis, s = o === void 0 ? !0 : o, l = n.fallbackPlacements, u = n.padding, c = n.boundary, d = n.rootBoundary, f = n.altBoundary, p = n.flipVariations, g = p === void 0 ? !0 : p, v = n.allowedAutoPlacements, S = t.options.placement, m = sa(S), k = m === S, w = l || (k || !g ? [Ou(S)] : Z8(S)), y = [S].concat(w).reduce(function(J, G) {
1224
1224
  return J.concat(sa(G) === qp ? Q8(t, {
1225
1225
  placement: G,
1226
1226
  boundary: c,
@@ -1358,12 +1358,12 @@ function u5(e) {
1358
1358
  return e === "x" ? "y" : "x";
1359
1359
  }
1360
1360
  function c5(e) {
1361
- var t = e.state, n = e.options, r = e.name, a = n.mainAxis, i = a === void 0 ? !0 : a, o = n.altAxis, s = o === void 0 ? !1 : o, l = n.boundary, u = n.rootBoundary, c = n.altBoundary, d = n.padding, f = n.tether, p = f === void 0 ? !0 : f, g = n.tetherOffset, v = g === void 0 ? 0 : g, k = dl(t, {
1361
+ var t = e.state, n = e.options, r = e.name, a = n.mainAxis, i = a === void 0 ? !0 : a, o = n.altAxis, s = o === void 0 ? !1 : o, l = n.boundary, u = n.rootBoundary, c = n.altBoundary, d = n.padding, f = n.tether, p = f === void 0 ? !0 : f, g = n.tetherOffset, v = g === void 0 ? 0 : g, S = dl(t, {
1362
1362
  boundary: l,
1363
1363
  rootBoundary: u,
1364
1364
  padding: d,
1365
1365
  altBoundary: c
1366
- }), m = sa(t.placement), S = Go(t.placement), w = !S, y = Xp(m), O = u5(y), x = t.modifiersData.popperOffsets, P = t.rects.reference, M = t.rects.popper, A = typeof v == "function" ? v(Object.assign({}, t.rects, {
1366
+ }), m = sa(t.placement), k = Go(t.placement), w = !k, y = Xp(m), O = u5(y), x = t.modifiersData.popperOffsets, P = t.rects.reference, M = t.rects.popper, A = typeof v == "function" ? v(Object.assign({}, t.rects, {
1367
1367
  placement: t.placement
1368
1368
  })) : v, I = typeof A == "number" ? {
1369
1369
  mainAxis: A,
@@ -1377,14 +1377,14 @@ function c5(e) {
1377
1377
  };
1378
1378
  if (x) {
1379
1379
  if (i) {
1380
- var Q, z = y === "y" ? Qn : Zn, U = y === "y" ? kr : Cr, R = y === "y" ? "height" : "width", Y = x[y], oe = Y + k[z], K = Y - k[U], ce = p ? -M[R] / 2 : 0, te = S === Vo ? P[R] : M[R], se = S === Vo ? -M[R] : -P[R], ee = t.elements.arrow, J = p && ee ? Yp(ee) : {
1380
+ var Q, z = y === "y" ? Qn : Zn, U = y === "y" ? kr : Cr, R = y === "y" ? "height" : "width", Y = x[y], oe = Y + S[z], K = Y - S[U], ce = p ? -M[R] / 2 : 0, te = k === Vo ? P[R] : M[R], se = k === Vo ? -M[R] : -P[R], ee = t.elements.arrow, J = p && ee ? Yp(ee) : {
1381
1381
  width: 0,
1382
1382
  height: 0
1383
1383
  }, G = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : Xg(), W = G[z], E = G[U], ie = Ws(0, P[R], J[R]), ge = w ? P[R] / 2 - ce - ie - W - I.mainAxis : te - ie - W - I.mainAxis, Je = w ? -P[R] / 2 + ce + ie + E + I.mainAxis : se + ie + E + I.mainAxis, le = t.elements.arrow && Ol(t.elements.arrow), je = le ? y === "y" ? le.clientTop || 0 : le.clientLeft || 0 : 0, me = (Q = H == null ? void 0 : H[y]) != null ? Q : 0, we = Y + ge - me - je, $ = Y + Je - me, _e = Ws(p ? Vu(oe, we) : oe, Y, p ? Ui(K, $) : K);
1384
1384
  x[y] = _e, j[y] = _e - Y;
1385
1385
  }
1386
1386
  if (s) {
1387
- var ke, be = y === "x" ? Qn : Zn, We = y === "x" ? kr : Cr, Ce = x[O], Z = O === "y" ? "height" : "width", ue = Ce + k[be], Me = Ce - k[We], tt = [Qn, Zn].indexOf(m) !== -1, Ie = (ke = H == null ? void 0 : H[O]) != null ? ke : 0, ze = tt ? ue : Ce - P[Z] - M[Z] - Ie + I.altAxis, Mt = tt ? Ce + P[Z] + M[Z] - Ie - I.altAxis : Me, ht = p && tt ? D8(ze, Ce, Mt) : Ws(p ? ze : ue, Ce, p ? Mt : Me);
1387
+ var ke, be = y === "x" ? Qn : Zn, We = y === "x" ? kr : Cr, Ce = x[O], Z = O === "y" ? "height" : "width", ue = Ce + S[be], Me = Ce - S[We], tt = [Qn, Zn].indexOf(m) !== -1, Ie = (ke = H == null ? void 0 : H[O]) != null ? ke : 0, ze = tt ? ue : Ce - P[Z] - M[Z] - Ie + I.altAxis, Mt = tt ? Ce + P[Z] + M[Z] - Ie - I.altAxis : Me, ht = p && tt ? D8(ze, Ce, Mt) : Ws(p ? ze : ue, Ce, p ? Mt : Me);
1388
1388
  x[O] = ht, j[O] = ht - Ce;
1389
1389
  }
1390
1390
  t.modifiersData[r] = j;
@@ -1507,8 +1507,8 @@ function w5(e) {
1507
1507
  }, d = [], f = !1, p = {
1508
1508
  state: c,
1509
1509
  setOptions: function(m) {
1510
- var S = typeof m == "function" ? m(c.options) : m;
1511
- v(), c.options = Object.assign({}, i, c.options, S), c.scrollParents = {
1510
+ var k = typeof m == "function" ? m(c.options) : m;
1511
+ v(), c.options = Object.assign({}, i, c.options, k), c.scrollParents = {
1512
1512
  reference: qo(s) ? Vs(s) : s.contextElement ? Vs(s.contextElement) : [],
1513
1513
  popper: Vs(l)
1514
1514
  };
@@ -1524,10 +1524,10 @@ function w5(e) {
1524
1524
  // prefer the async Popper#update method
1525
1525
  forceUpdate: function() {
1526
1526
  if (!f) {
1527
- var m = c.elements, S = m.reference, w = m.popper;
1528
- if (mv(S, w)) {
1527
+ var m = c.elements, k = m.reference, w = m.popper;
1528
+ if (mv(k, w)) {
1529
1529
  c.rects = {
1530
- reference: m5(S, Ol(w), c.options.strategy === "fixed"),
1530
+ reference: m5(k, Ol(w), c.options.strategy === "fixed"),
1531
1531
  popper: Yp(w)
1532
1532
  }, c.reset = !1, c.placement = c.options.placement, c.orderedModifiers.forEach(function(I) {
1533
1533
  return c.modifiersData[I.name] = Object.assign({}, I.data);
@@ -1551,8 +1551,8 @@ function w5(e) {
1551
1551
  // Async and optimistically optimized update – it will not be executed if
1552
1552
  // not necessary (debounced to run at most once-per-tick)
1553
1553
  update: y5(function() {
1554
- return new Promise(function(k) {
1555
- p.forceUpdate(), k(c);
1554
+ return new Promise(function(S) {
1555
+ p.forceUpdate(), S(c);
1556
1556
  });
1557
1557
  }),
1558
1558
  destroy: function() {
@@ -1561,12 +1561,12 @@ function w5(e) {
1561
1561
  };
1562
1562
  if (!mv(s, l))
1563
1563
  return p;
1564
- p.setOptions(u).then(function(k) {
1565
- !f && u.onFirstUpdate && u.onFirstUpdate(k);
1564
+ p.setOptions(u).then(function(S) {
1565
+ !f && u.onFirstUpdate && u.onFirstUpdate(S);
1566
1566
  });
1567
1567
  function g() {
1568
- c.orderedModifiers.forEach(function(k) {
1569
- var m = k.name, S = k.options, w = S === void 0 ? {} : S, y = k.effect;
1568
+ c.orderedModifiers.forEach(function(S) {
1569
+ var m = S.name, k = S.options, w = k === void 0 ? {} : k, y = S.effect;
1570
1570
  if (typeof y == "function") {
1571
1571
  var O = y({
1572
1572
  state: c,
@@ -1580,8 +1580,8 @@ function w5(e) {
1580
1580
  });
1581
1581
  }
1582
1582
  function v() {
1583
- d.forEach(function(k) {
1584
- return k();
1583
+ d.forEach(function(S) {
1584
+ return S();
1585
1585
  }), d = [];
1586
1586
  }
1587
1587
  return p;
@@ -1690,8 +1690,8 @@ function O5(e, t) {
1690
1690
  var i = a.popperRect, o = a.popperState, s = a.props, l = s.interactiveBorder, u = i2(o.placement), c = o.modifiersData.offset;
1691
1691
  if (!c)
1692
1692
  return !0;
1693
- var d = u === "bottom" ? c.top.y : 0, f = u === "top" ? c.bottom.y : 0, p = u === "right" ? c.left.x : 0, g = u === "left" ? c.right.x : 0, v = i.top - r + d > l, k = r - i.bottom - f > l, m = i.left - n + p > l, S = n - i.right - g > l;
1694
- return v || k || m || S;
1693
+ var d = u === "bottom" ? c.top.y : 0, f = u === "top" ? c.bottom.y : 0, p = u === "right" ? c.left.x : 0, g = u === "left" ? c.right.x : 0, v = i.top - r + d > l, S = r - i.bottom - f > l, m = i.left - n + p > l, k = n - i.right - g > l;
1694
+ return v || S || m || k;
1695
1695
  });
1696
1696
  }
1697
1697
  function xd(e, t, n) {
@@ -1885,7 +1885,7 @@ function u2(e) {
1885
1885
  u2.$$tippy = !0;
1886
1886
  var j5 = 1, iu = [], Td = [];
1887
1887
  function U5(e, t) {
1888
- var n = _v(e, Object.assign({}, Rr, l2(yv(t)))), r, a, i, o = !1, s = !1, l = !1, u = !1, c, d, f, p = [], g = vv(we, n.interactiveDebounce), v, k = j5++, m = null, S = T5(n.plugins), w = {
1888
+ var n = _v(e, Object.assign({}, Rr, l2(yv(t)))), r, a, i, o = !1, s = !1, l = !1, u = !1, c, d, f, p = [], g = vv(we, n.interactiveDebounce), v, S = j5++, m = null, k = T5(n.plugins), w = {
1889
1889
  // Is the instance currently enabled?
1890
1890
  isEnabled: !0,
1891
1891
  // Is the tippy currently showing and not transitioning out?
@@ -1898,13 +1898,13 @@ function U5(e, t) {
1898
1898
  isShown: !1
1899
1899
  }, y = {
1900
1900
  // properties
1901
- id: k,
1901
+ id: S,
1902
1902
  reference: e,
1903
1903
  popper: Wi(),
1904
1904
  popperInstance: m,
1905
1905
  props: n,
1906
1906
  state: w,
1907
- plugins: S,
1907
+ plugins: k,
1908
1908
  // methods
1909
1909
  clearDelayTimeouts: ze,
1910
1910
  setProps: Mt,
@@ -1921,7 +1921,7 @@ function U5(e, t) {
1921
1921
  return y;
1922
1922
  var O = n.render(y), x = O.popper, P = O.onUpdate;
1923
1923
  x.setAttribute("data-tippy-root", ""), x.id = "tippy-" + y.id, y.popper = x, e._tippy = y, x._tippy = y;
1924
- var M = S.map(function(fe) {
1924
+ var M = k.map(function(fe) {
1925
1925
  return fe.fn(y);
1926
1926
  }), A = e.hasAttribute("aria-expanded");
1927
1927
  return le(), ce(), Y(), oe("onCreate", [y]), n.showOnCreate && ue(), x.addEventListener("mouseenter", function() {
@@ -2355,7 +2355,7 @@ var W5 = Object.assign({}, qg, {
2355
2355
  }
2356
2356
  }
2357
2357
  p(!1), f(), d();
2358
- var k = {
2358
+ var S = {
2359
2359
  fn: function() {
2360
2360
  return {
2361
2361
  onDestroy: function() {
@@ -2376,14 +2376,14 @@ var W5 = Object.assign({}, qg, {
2376
2376
  };
2377
2377
  }
2378
2378
  }, m = Xe(Wi(), Object.assign({}, C5(n, ["overrides"]), {
2379
- plugins: [k].concat(n.plugins || []),
2379
+ plugins: [S].concat(n.plugins || []),
2380
2380
  triggerTarget: o,
2381
2381
  popperOptions: Object.assign({}, n.popperOptions, {
2382
2382
  modifiers: [].concat(((r = n.popperOptions) == null ? void 0 : r.modifiers) || [], [W5])
2383
2383
  })
2384
- })), S = m.show;
2384
+ })), k = m.show;
2385
2385
  m.show = function(y) {
2386
- if (S(), !s && y == null)
2386
+ if (k(), !s && y == null)
2387
2387
  return v(m, i[0]);
2388
2388
  if (!(s && y == null)) {
2389
2389
  if (typeof y == "number")
@@ -2489,11 +2489,11 @@ var K5 = {
2489
2489
  }), a = !1;
2490
2490
  }
2491
2491
  function f(v) {
2492
- var k = v.target ? n.contains(v.target) : !0, m = t.props.followCursor, S = v.clientX, w = v.clientY, y = n.getBoundingClientRect(), O = S - y.left, x = w - y.top;
2493
- (k || !t.props.interactive) && t.setProps({
2492
+ var S = v.target ? n.contains(v.target) : !0, m = t.props.followCursor, k = v.clientX, w = v.clientY, y = n.getBoundingClientRect(), O = k - y.left, x = w - y.top;
2493
+ (S || !t.props.interactive) && t.setProps({
2494
2494
  // @ts-ignore - unneeded DOMRect properties
2495
2495
  getReferenceClientRect: function() {
2496
- var M = n.getBoundingClientRect(), A = S, I = w;
2496
+ var M = n.getBoundingClientRect(), A = k, I = w;
2497
2497
  m === "initial" && (A = M.left + O, I = M.top + x);
2498
2498
  var H = m === "horizontal" ? M.top : I, j = m === "vertical" ? M.right : A, Q = m === "horizontal" ? M.bottom : I, z = m === "vertical" ? M.left : A;
2499
2499
  return {
@@ -2526,14 +2526,14 @@ var K5 = {
2526
2526
  onBeforeUpdate: function() {
2527
2527
  s = t.props;
2528
2528
  },
2529
- onAfterUpdate: function(k, m) {
2530
- var S = m.followCursor;
2531
- a || S !== void 0 && s.followCursor !== S && (g(), S ? (p(), t.state.isMounted && !i && !l() && u()) : (c(), d()));
2529
+ onAfterUpdate: function(S, m) {
2530
+ var k = m.followCursor;
2531
+ a || k !== void 0 && s.followCursor !== k && (g(), k ? (p(), t.state.isMounted && !i && !l() && u()) : (c(), d()));
2532
2532
  },
2533
2533
  onMount: function() {
2534
2534
  t.props.followCursor && !i && (o && (f(Cf), o = !1), l() || u());
2535
2535
  },
2536
- onTrigger: function(k, m) {
2536
+ onTrigger: function(S, m) {
2537
2537
  Zp(m) && (Cf = {
2538
2538
  clientX: m.clientX,
2539
2539
  clientY: m.clientY
@@ -2592,9 +2592,9 @@ var Q5 = {
2592
2592
  onAfterUpdate: d,
2593
2593
  onTrigger: function(p, g) {
2594
2594
  if (Zp(g)) {
2595
- var v = Ko(t.reference.getClientRects()), k = v.find(function(S) {
2596
- return S.left - 2 <= g.clientX && S.right + 2 >= g.clientX && S.top - 2 <= g.clientY && S.bottom + 2 >= g.clientY;
2597
- }), m = v.indexOf(k);
2595
+ var v = Ko(t.reference.getClientRects()), S = v.find(function(k) {
2596
+ return k.left - 2 <= g.clientX && k.right + 2 >= g.clientX && k.top - 2 <= g.clientY && k.bottom + 2 >= g.clientY;
2597
+ }), m = v.indexOf(S);
2598
2598
  i = m > -1 ? m : i;
2599
2599
  }
2600
2600
  },
@@ -2630,11 +2630,11 @@ function Z5(e, t, n, r) {
2630
2630
  return x.right;
2631
2631
  })), v = n.filter(function(x) {
2632
2632
  return e === "left" ? x.left === p : x.right === g;
2633
- }), k = v[0].top, m = v[v.length - 1].bottom, S = p, w = g, y = w - S, O = m - k;
2633
+ }), S = v[0].top, m = v[v.length - 1].bottom, k = p, w = g, y = w - k, O = m - S;
2634
2634
  return {
2635
- top: k,
2635
+ top: S,
2636
2636
  bottom: m,
2637
- left: S,
2637
+ left: k,
2638
2638
  right: w,
2639
2639
  width: y,
2640
2640
  height: O
@@ -2743,13 +2743,13 @@ function d2(e, t = {}, n = { mount: !0, appName: "Tippy" }) {
2743
2743
  }, v = () => {
2744
2744
  var P;
2745
2745
  a.value && (a.value.destroy(), a.value = void 0), s = null, (P = o.value) === null || P === void 0 || P.unmount(), o.value = void 0;
2746
- }, k = () => {
2746
+ }, S = () => {
2747
2747
  var P;
2748
2748
  (P = a.value) === null || P === void 0 || P.show();
2749
2749
  }, m = () => {
2750
2750
  var P;
2751
2751
  (P = a.value) === null || P === void 0 || P.hide();
2752
- }, S = () => {
2752
+ }, k = () => {
2753
2753
  var P;
2754
2754
  (P = a.value) === null || P === void 0 || P.disable(), i.value.isEnabled = !1;
2755
2755
  }, w = () => {
@@ -2771,8 +2771,8 @@ function d2(e, t = {}, n = { mount: !0, appName: "Tippy" }) {
2771
2771
  setProps: g,
2772
2772
  destroy: v,
2773
2773
  hide: m,
2774
- show: k,
2775
- disable: S,
2774
+ show: S,
2775
+ disable: k,
2776
2776
  enable: w,
2777
2777
  unmount: y,
2778
2778
  mount: O,
@@ -2901,12 +2901,12 @@ const aS = Se({
2901
2901
  if (e.to === "parent") {
2902
2902
  const m = [];
2903
2903
  if (!a.value) {
2904
- const S = hn("span", {
2904
+ const k = hn("span", {
2905
2905
  ref: i,
2906
2906
  "data-v-tippy": "",
2907
2907
  style: { display: "none" }
2908
2908
  });
2909
- m.push(S);
2909
+ m.push(k);
2910
2910
  }
2911
2911
  return g && m.push(g), m;
2912
2912
  }
@@ -2918,8 +2918,8 @@ const aS = Se({
2918
2918
  });
2919
2919
  return g ? [m, g] : m;
2920
2920
  }
2921
- const k = (typeof e.tag == "string", e.tag);
2922
- return hn(k, { ref: a, "data-v-tippy": "" }, g ? [v, g] : v);
2921
+ const S = (typeof e.tag == "string", e.tag);
2922
+ return hn(S, { ref: a, "data-v-tippy": "" }, g ? [v, g] : v);
2923
2923
  };
2924
2924
  }
2925
2925
  }), iS = [
@@ -4568,7 +4568,7 @@ function lh(e) {
4568
4568
  width: f,
4569
4569
  height: p
4570
4570
  } = n.found ? n : t, g = CS.includes(r), v = [Ye.replacementClass, a ? "".concat(Ye.cssPrefix, "-").concat(a) : ""].filter((O) => c.classes.indexOf(O) === -1).filter((O) => O !== "" || !!O).concat(c.classes).join(" ");
4571
- let k = {
4571
+ let S = {
4572
4572
  children: [],
4573
4573
  attributes: Ae(Ae({}, c.attributes), {}, {
4574
4574
  "data-prefix": r,
@@ -4582,14 +4582,14 @@ function lh(e) {
4582
4582
  const m = g && !~c.classes.indexOf("fa-fw") ? {
4583
4583
  width: "".concat(f / p * 16 * 0.0625, "em")
4584
4584
  } : {};
4585
- d && (k.attributes[Zi] = ""), s && (k.children.push({
4585
+ d && (S.attributes[Zi] = ""), s && (S.children.push({
4586
4586
  tag: "title",
4587
4587
  attributes: {
4588
- id: k.attributes["aria-labelledby"] || "title-".concat(u || pl())
4588
+ id: S.attributes["aria-labelledby"] || "title-".concat(u || pl())
4589
4589
  },
4590
4590
  children: [s]
4591
- }), delete k.attributes.title);
4592
- const S = Ae(Ae({}, k), {}, {
4591
+ }), delete S.attributes.title);
4592
+ const k = Ae(Ae({}, S), {}, {
4593
4593
  prefix: r,
4594
4594
  iconName: a,
4595
4595
  main: t,
@@ -4601,14 +4601,14 @@ function lh(e) {
4601
4601
  }), {
4602
4602
  children: w,
4603
4603
  attributes: y
4604
- } = n.found && t.found ? ci("generateAbstractMask", S) || {
4604
+ } = n.found && t.found ? ci("generateAbstractMask", k) || {
4605
4605
  children: [],
4606
4606
  attributes: {}
4607
- } : ci("generateAbstractIcon", S) || {
4607
+ } : ci("generateAbstractIcon", k) || {
4608
4608
  children: [],
4609
4609
  attributes: {}
4610
4610
  };
4611
- return S.children = w, S.attributes = y, o ? Ck(S) : kk(S);
4611
+ return k.children = w, k.attributes = y, o ? Ck(k) : kk(k);
4612
4612
  }
4613
4613
  function zv(e) {
4614
4614
  const {
@@ -5092,11 +5092,11 @@ var Vk = {
5092
5092
  height: 512,
5093
5093
  icon: {}
5094
5094
  })]).then((g) => {
5095
- let [v, k] = g;
5095
+ let [v, S] = g;
5096
5096
  f([t, lh({
5097
5097
  icons: {
5098
5098
  main: v,
5099
- mask: k
5099
+ mask: S
5100
5100
  },
5101
5101
  prefix: o,
5102
5102
  iconName: r,
@@ -5281,14 +5281,14 @@ function Xv(e, t) {
5281
5281
  const {
5282
5282
  value: g,
5283
5283
  isSecondary: v
5284
- } = Jk(f), k = u[0].startsWith("FontAwesome");
5285
- let m = sh(p, g), S = m;
5286
- if (k) {
5284
+ } = Jk(f), S = u[0].startsWith("FontAwesome");
5285
+ let m = sh(p, g), k = m;
5286
+ if (S) {
5287
5287
  const w = uk(g);
5288
5288
  w.iconName && w.prefix && (m = w.iconName, p = w.prefix);
5289
5289
  }
5290
- if (m && !v && (!o || o.getAttribute(th) !== p || o.getAttribute(nh) !== S)) {
5291
- e.setAttribute(n, S), o && e.removeChild(o);
5290
+ if (m && !v && (!o || o.getAttribute(th) !== p || o.getAttribute(nh) !== k)) {
5291
+ e.setAttribute(n, k), o && e.removeChild(o);
5292
5292
  const w = zk(), {
5293
5293
  extra: y
5294
5294
  } = w;
@@ -5299,7 +5299,7 @@ function Xv(e, t) {
5299
5299
  mask: B2()
5300
5300
  },
5301
5301
  prefix: p,
5302
- iconName: S,
5302
+ iconName: k,
5303
5303
  extra: y,
5304
5304
  watchable: !0
5305
5305
  })), P = Ht.createElementNS("http://www.w3.org/2000/svg", "svg");
@@ -5527,24 +5527,24 @@ var iC = {
5527
5527
  tag: u.tag,
5528
5528
  attributes: Ae(Ae({}, u.attributes), f.path)
5529
5529
  }, g))]
5530
- }, k = {
5530
+ }, S = {
5531
5531
  tag: "g",
5532
5532
  attributes: Ae({}, f.outer),
5533
5533
  children: [v]
5534
- }, m = "mask-".concat(o || pl()), S = "clip-".concat(o || pl()), w = {
5534
+ }, m = "mask-".concat(o || pl()), k = "clip-".concat(o || pl()), w = {
5535
5535
  tag: "mask",
5536
5536
  attributes: Ae(Ae({}, Md), {}, {
5537
5537
  id: m,
5538
5538
  maskUnits: "userSpaceOnUse",
5539
5539
  maskContentUnits: "userSpaceOnUse"
5540
5540
  }),
5541
- children: [p, k]
5541
+ children: [p, S]
5542
5542
  }, y = {
5543
5543
  tag: "defs",
5544
5544
  children: [{
5545
5545
  tag: "clipPath",
5546
5546
  attributes: {
5547
- id: S
5547
+ id: k
5548
5548
  },
5549
5549
  children: aC(d)
5550
5550
  }, w]
@@ -5553,7 +5553,7 @@ var iC = {
5553
5553
  tag: "rect",
5554
5554
  attributes: Ae({
5555
5555
  fill: "currentColor",
5556
- "clip-path": "url(#".concat(S, ")"),
5556
+ "clip-path": "url(#".concat(k, ")"),
5557
5557
  mask: "url(#".concat(m, ")")
5558
5558
  }, Md)
5559
5559
  }), {
@@ -6002,17 +6002,17 @@ class Ri {
6002
6002
  ), !((n = (t = window == null ? void 0 : window.google) === null || t === void 0 ? void 0 : t.maps) === null || n === void 0) && n.importLibrary || ((i) => {
6003
6003
  let o, s, l, u = "The Google Maps JavaScript API", c = "google", d = "importLibrary", f = "__ib__", p = document, g = window;
6004
6004
  g = g[c] || (g[c] = {});
6005
- const v = g.maps || (g.maps = {}), k = /* @__PURE__ */ new Set(), m = new URLSearchParams(), S = () => (
6005
+ const v = g.maps || (g.maps = {}), S = /* @__PURE__ */ new Set(), m = new URLSearchParams(), k = () => (
6006
6006
  // @ts-ignore
6007
6007
  o || (o = new Promise((w, y) => pC(this, void 0, void 0, function* () {
6008
6008
  var O;
6009
- yield s = p.createElement("script"), s.id = this.id, m.set("libraries", [...k] + "");
6009
+ yield s = p.createElement("script"), s.id = this.id, m.set("libraries", [...S] + "");
6010
6010
  for (l in i)
6011
6011
  m.set(l.replace(/[A-Z]/g, (x) => "_" + x[0].toLowerCase()), i[l]);
6012
6012
  m.set("callback", c + ".maps." + f), s.src = this.url + "?" + m, v[f] = w, s.onerror = () => o = y(Error(u + " could not load.")), s.nonce = this.nonce || ((O = p.querySelector("script[nonce]")) === null || O === void 0 ? void 0 : O.nonce) || "", p.head.append(s);
6013
6013
  })))
6014
6014
  );
6015
- v[d] ? console.warn(u + " only loads once. Ignoring:", i) : v[d] = (w, ...y) => k.add(w) && S().then(() => v[d](w, ...y));
6015
+ v[d] ? console.warn(u + " only loads once. Ignoring:", i) : v[d] = (w, ...y) => S.add(w) && k().then(() => v[d](w, ...y));
6016
6016
  })(r);
6017
6017
  const a = this.libraries.map((i) => this.importLibrary(i));
6018
6018
  a.length || a.push(this.importLibrary("core")), Promise.all(a).then(() => this.callback(), (i) => {
@@ -6305,7 +6305,7 @@ const fh = /* @__PURE__ */ vr(kC, [["render", xC]]), TC = {
6305
6305
  key: 0,
6306
6306
  src: t.src,
6307
6307
  alt: "avatar",
6308
- class: "absolute inset-0 size-full rounded-full"
6308
+ class: "absolute inset-0 size-full object-cover object-center rounded-full"
6309
6309
  }, null, 8, BC)) : (T(), pe(NC, {
6310
6310
  key: 1,
6311
6311
  color: t.defaultAvatarColor,
@@ -7368,32 +7368,32 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
7368
7368
  var Ux = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, J2 = { exports: {} };
7369
7369
  (function(e) {
7370
7370
  (function(t) {
7371
- var n = function(m, S, w) {
7372
- if (!u(S) || d(S) || f(S) || p(S) || l(S))
7373
- return S;
7371
+ var n = function(m, k, w) {
7372
+ if (!u(k) || d(k) || f(k) || p(k) || l(k))
7373
+ return k;
7374
7374
  var y, O = 0, x = 0;
7375
- if (c(S))
7376
- for (y = [], x = S.length; O < x; O++)
7377
- y.push(n(m, S[O], w));
7375
+ if (c(k))
7376
+ for (y = [], x = k.length; O < x; O++)
7377
+ y.push(n(m, k[O], w));
7378
7378
  else {
7379
7379
  y = {};
7380
- for (var P in S)
7381
- Object.prototype.hasOwnProperty.call(S, P) && (y[m(P, w)] = n(m, S[P], w));
7380
+ for (var P in k)
7381
+ Object.prototype.hasOwnProperty.call(k, P) && (y[m(P, w)] = n(m, k[P], w));
7382
7382
  }
7383
7383
  return y;
7384
- }, r = function(m, S) {
7385
- S = S || {};
7386
- var w = S.separator || "_", y = S.split || /(?=[A-Z])/;
7384
+ }, r = function(m, k) {
7385
+ k = k || {};
7386
+ var w = k.separator || "_", y = k.split || /(?=[A-Z])/;
7387
7387
  return m.split(y).join(w);
7388
7388
  }, a = function(m) {
7389
- return g(m) ? m : (m = m.replace(/[\-_\s]+(.)?/g, function(S, w) {
7389
+ return g(m) ? m : (m = m.replace(/[\-_\s]+(.)?/g, function(k, w) {
7390
7390
  return w ? w.toUpperCase() : "";
7391
7391
  }), m.substr(0, 1).toLowerCase() + m.substr(1));
7392
7392
  }, i = function(m) {
7393
- var S = a(m);
7394
- return S.substr(0, 1).toUpperCase() + S.substr(1);
7395
- }, o = function(m, S) {
7396
- return r(m, S).toLowerCase();
7393
+ var k = a(m);
7394
+ return k.substr(0, 1).toUpperCase() + k.substr(1);
7395
+ }, o = function(m, k) {
7396
+ return r(m, k).toLowerCase();
7397
7397
  }, s = Object.prototype.toString, l = function(m) {
7398
7398
  return typeof m == "function";
7399
7399
  }, u = function(m) {
@@ -7408,30 +7408,30 @@ var Ux = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
7408
7408
  return s.call(m) == "[object Boolean]";
7409
7409
  }, g = function(m) {
7410
7410
  return m = m - 0, m === m;
7411
- }, v = function(m, S) {
7412
- var w = S && "process" in S ? S.process : S;
7411
+ }, v = function(m, k) {
7412
+ var w = k && "process" in k ? k.process : k;
7413
7413
  return typeof w != "function" ? m : function(y, O) {
7414
7414
  return w(y, m, O);
7415
7415
  };
7416
- }, k = {
7416
+ }, S = {
7417
7417
  camelize: a,
7418
7418
  decamelize: o,
7419
7419
  pascalize: i,
7420
7420
  depascalize: o,
7421
- camelizeKeys: function(m, S) {
7422
- return n(v(a, S), m);
7421
+ camelizeKeys: function(m, k) {
7422
+ return n(v(a, k), m);
7423
7423
  },
7424
- decamelizeKeys: function(m, S) {
7425
- return n(v(o, S), m, S);
7424
+ decamelizeKeys: function(m, k) {
7425
+ return n(v(o, k), m, k);
7426
7426
  },
7427
- pascalizeKeys: function(m, S) {
7428
- return n(v(i, S), m);
7427
+ pascalizeKeys: function(m, k) {
7428
+ return n(v(i, k), m);
7429
7429
  },
7430
7430
  depascalizeKeys: function() {
7431
7431
  return this.decamelizeKeys.apply(this, arguments);
7432
7432
  }
7433
7433
  };
7434
- e.exports ? e.exports = k : t.humps = k;
7434
+ e.exports ? e.exports = S : t.humps = S;
7435
7435
  })(Ux);
7436
7436
  })(J2);
7437
7437
  var Wx = J2.exports, Vx = ["class", "style"];
@@ -7770,8 +7770,8 @@ const Kx = ["disabled", "accept", "name"], Jx = {
7770
7770
  }
7771
7771
  }
7772
7772
  function c(p) {
7773
- var k;
7774
- const v = (k = p.target.files) == null ? void 0 : k[0];
7773
+ var S;
7774
+ const v = (S = p.target.files) == null ? void 0 : S[0];
7775
7775
  v && n.dataTypes.includes(v.type) && (a.value = v, i.value = URL.createObjectURL(v));
7776
7776
  }
7777
7777
  function d() {
@@ -7782,7 +7782,7 @@ const Kx = ["disabled", "accept", "name"], Jx = {
7782
7782
  (p = o.value) == null || p.click();
7783
7783
  }
7784
7784
  return (p, g) => {
7785
- var v, k;
7785
+ var v, S;
7786
7786
  return T(), D("div", {
7787
7787
  ref_key: "dropZoneRef",
7788
7788
  ref: s,
@@ -7819,7 +7819,7 @@ const Kx = ["disabled", "accept", "name"], Jx = {
7819
7819
  onClick: vn(d, ["stop"])
7820
7820
  }, [
7821
7821
  Pe(_(Gn), {
7822
- icon: (k = _(Kn).far) == null ? void 0 : k.trash,
7822
+ icon: (S = _(Kn).far) == null ? void 0 : S.trash,
7823
7823
  class: "size-10"
7824
7824
  }, null, 8, ["icon"]),
7825
7825
  g[0] || (g[0] = N("h3", { class: "mb-2 mt-4 text-xl font-bold" }, " Verwijderen ", -1)),
@@ -7862,22 +7862,22 @@ const Kx = ["disabled", "accept", "name"], Jx = {
7862
7862
  l.value = !0, i.value = !1, a("close", { animation: async () => new Promise((v) => setTimeout(v, 350)) }), l.value = !1;
7863
7863
  }
7864
7864
  async function p() {
7865
- var m, S, w;
7866
- const v = await ((S = (m = u.value) == null ? void 0 : m.cancel) == null ? void 0 : S.call(m)), k = await ((w = r.onCancel) == null ? void 0 : w.call(r));
7867
- r.onCancel === void 0 && a("cancel"), !(v === !1 || k === !1) && await f();
7865
+ var m, k, w;
7866
+ const v = await ((k = (m = u.value) == null ? void 0 : m.cancel) == null ? void 0 : k.call(m)), S = await ((w = r.onCancel) == null ? void 0 : w.call(r));
7867
+ r.onCancel === void 0 && a("cancel"), !(v === !1 || S === !1) && await f();
7868
7868
  }
7869
7869
  async function g() {
7870
- var k, m, S;
7870
+ var S, m, k;
7871
7871
  s.value = !0;
7872
7872
  const v = new FormData(o.value);
7873
- await ((m = (k = u.value) == null ? void 0 : k.submit) == null ? void 0 : m.call(k, v)), await ((S = r.onSubmit) == null ? void 0 : S.call(r, v)), s.value = !1;
7873
+ await ((m = (S = u.value) == null ? void 0 : S.submit) == null ? void 0 : m.call(S, v)), await ((k = r.onSubmit) == null ? void 0 : k.call(r, v)), s.value = !1;
7874
7874
  }
7875
7875
  return t({
7876
7876
  isOpen: i,
7877
7877
  open: d,
7878
7878
  close: f,
7879
7879
  submit: g
7880
- }), Hp("Escape", f, { dedupe: !0 }), (v, k) => (T(), pe(_(Tl), {
7880
+ }), Hp("Escape", f, { dedupe: !0 }), (v, S) => (T(), pe(_(Tl), {
7881
7881
  show: i.value,
7882
7882
  as: "template"
7883
7883
  }, {
@@ -7886,7 +7886,7 @@ const Kx = ["disabled", "accept", "name"], Jx = {
7886
7886
  as: "div",
7887
7887
  class: "app-modal-dialog fixed inset-0 z-250 overflow-y-auto",
7888
7888
  "data-test-modal-dialog": "",
7889
- onClose: k[0] || (k[0] = () => c.value ? void 0 : f())
7889
+ onClose: S[0] || (S[0] = () => c.value ? void 0 : f())
7890
7890
  }, {
7891
7891
  default: he(() => [
7892
7892
  N("div", t7, [
@@ -7905,7 +7905,7 @@ const Kx = ["disabled", "accept", "name"], Jx = {
7905
7905
  ]),
7906
7906
  _: 1
7907
7907
  })) : V("", !0),
7908
- k[1] || (k[1] = N("span", {
7908
+ S[1] || (S[1] = N("span", {
7909
7909
  class: "inline-block h-screen align-middle",
7910
7910
  "aria-hidden": "true"
7911
7911
  }, " ​ ", -1)),
@@ -9986,30 +9986,30 @@ function eT(e, t, n) {
9986
9986
  }
9987
9987
  const tT = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, nT = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, rT = /^'([^]*?)'?$/, aT = /''/g, iT = /[a-zA-Z]/;
9988
9988
  function la(e, t, n) {
9989
- var c, d, f, p, g, v, k, m;
9990
- const r = mo(), a = (n == null ? void 0 : n.locale) ?? r.locale ?? ny, i = (n == null ? void 0 : n.firstWeekContainsDate) ?? ((d = (c = n == null ? void 0 : n.locale) == null ? void 0 : c.options) == null ? void 0 : d.firstWeekContainsDate) ?? r.firstWeekContainsDate ?? ((p = (f = r.locale) == null ? void 0 : f.options) == null ? void 0 : p.firstWeekContainsDate) ?? 1, o = (n == null ? void 0 : n.weekStartsOn) ?? ((v = (g = n == null ? void 0 : n.locale) == null ? void 0 : g.options) == null ? void 0 : v.weekStartsOn) ?? r.weekStartsOn ?? ((m = (k = r.locale) == null ? void 0 : k.options) == null ? void 0 : m.weekStartsOn) ?? 0, s = Ze(e, n == null ? void 0 : n.in);
9989
+ var c, d, f, p, g, v, S, m;
9990
+ const r = mo(), a = (n == null ? void 0 : n.locale) ?? r.locale ?? ny, i = (n == null ? void 0 : n.firstWeekContainsDate) ?? ((d = (c = n == null ? void 0 : n.locale) == null ? void 0 : c.options) == null ? void 0 : d.firstWeekContainsDate) ?? r.firstWeekContainsDate ?? ((p = (f = r.locale) == null ? void 0 : f.options) == null ? void 0 : p.firstWeekContainsDate) ?? 1, o = (n == null ? void 0 : n.weekStartsOn) ?? ((v = (g = n == null ? void 0 : n.locale) == null ? void 0 : g.options) == null ? void 0 : v.weekStartsOn) ?? r.weekStartsOn ?? ((m = (S = r.locale) == null ? void 0 : S.options) == null ? void 0 : m.weekStartsOn) ?? 0, s = Ze(e, n == null ? void 0 : n.in);
9991
9991
  if (!Gs(s))
9992
9992
  throw new RangeError("Invalid time value");
9993
- let l = t.match(nT).map((S) => {
9994
- const w = S[0];
9993
+ let l = t.match(nT).map((k) => {
9994
+ const w = k[0];
9995
9995
  if (w === "p" || w === "P") {
9996
9996
  const y = qf[w];
9997
- return y(S, a.formatLong);
9997
+ return y(k, a.formatLong);
9998
9998
  }
9999
- return S;
10000
- }).join("").match(tT).map((S) => {
10001
- if (S === "''")
9999
+ return k;
10000
+ }).join("").match(tT).map((k) => {
10001
+ if (k === "''")
10002
10002
  return { isToken: !1, value: "'" };
10003
- const w = S[0];
10003
+ const w = k[0];
10004
10004
  if (w === "'")
10005
- return { isToken: !1, value: oT(S) };
10005
+ return { isToken: !1, value: oT(k) };
10006
10006
  if (c0[w])
10007
- return { isToken: !0, value: S };
10007
+ return { isToken: !0, value: k };
10008
10008
  if (w.match(iT))
10009
10009
  throw new RangeError(
10010
10010
  "Format string contains an unescaped latin alphabet character `" + w + "`"
10011
10011
  );
10012
- return { isToken: !1, value: S };
10012
+ return { isToken: !1, value: k };
10013
10013
  });
10014
10014
  a.localize.preprocessor && (l = a.localize.preprocessor(s, l));
10015
10015
  const u = {
@@ -10017,9 +10017,9 @@ function la(e, t, n) {
10017
10017
  weekStartsOn: o,
10018
10018
  locale: a
10019
10019
  };
10020
- return l.map((S) => {
10021
- if (!S.isToken) return S.value;
10022
- const w = S.value;
10020
+ return l.map((k) => {
10021
+ if (!k.isToken) return k.value;
10022
+ const w = k.value;
10023
10023
  (!(n != null && n.useAdditionalWeekYearTokens) && hy(w) || !(n != null && n.useAdditionalDayOfYearTokens) && py(w)) && Yf(w, t, String(e));
10024
10024
  const y = c0[w[0]];
10025
10025
  return y(s, w, a.localize, u);
@@ -11579,8 +11579,8 @@ const QT = {
11579
11579
  T: new JT()
11580
11580
  }, ZT = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, eE = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, tE = /^'([^]*?)'?$/, nE = /''/g, rE = /\S/, aE = /[a-zA-Z]/;
11581
11581
  function Xf(e, t, n, r) {
11582
- var k, m, S, w, y, O, x, P;
11583
- const a = () => Ot((r == null ? void 0 : r.in) || n, NaN), i = uT(), o = (r == null ? void 0 : r.locale) ?? i.locale ?? ny, s = (r == null ? void 0 : r.firstWeekContainsDate) ?? ((m = (k = r == null ? void 0 : r.locale) == null ? void 0 : k.options) == null ? void 0 : m.firstWeekContainsDate) ?? i.firstWeekContainsDate ?? ((w = (S = i.locale) == null ? void 0 : S.options) == null ? void 0 : w.firstWeekContainsDate) ?? 1, l = (r == null ? void 0 : r.weekStartsOn) ?? ((O = (y = r == null ? void 0 : r.locale) == null ? void 0 : y.options) == null ? void 0 : O.weekStartsOn) ?? i.weekStartsOn ?? ((P = (x = i.locale) == null ? void 0 : x.options) == null ? void 0 : P.weekStartsOn) ?? 0;
11582
+ var S, m, k, w, y, O, x, P;
11583
+ const a = () => Ot((r == null ? void 0 : r.in) || n, NaN), i = uT(), o = (r == null ? void 0 : r.locale) ?? i.locale ?? ny, s = (r == null ? void 0 : r.firstWeekContainsDate) ?? ((m = (S = r == null ? void 0 : r.locale) == null ? void 0 : S.options) == null ? void 0 : m.firstWeekContainsDate) ?? i.firstWeekContainsDate ?? ((w = (k = i.locale) == null ? void 0 : k.options) == null ? void 0 : w.firstWeekContainsDate) ?? 1, l = (r == null ? void 0 : r.weekStartsOn) ?? ((O = (y = r == null ? void 0 : r.locale) == null ? void 0 : y.options) == null ? void 0 : O.weekStartsOn) ?? i.weekStartsOn ?? ((P = (x = i.locale) == null ? void 0 : x.options) == null ? void 0 : P.weekStartsOn) ?? 0;
11584
11584
  if (!t)
11585
11585
  return e ? a() : Ze(n, r == null ? void 0 : r.in);
11586
11586
  const u = {
@@ -12371,10 +12371,10 @@ const Kf = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
12371
12371
  return e.is24 ? `HH${P}${x}` : `hh${P}${x} aa`;
12372
12372
  }, n = () => {
12373
12373
  var x;
12374
- return e.format ? e.format : e.monthPicker ? "MM/yyyy" : e.timePicker ? t() : e.weekPicker ? `${((x = k.value) == null ? void 0 : x.type) === "iso" ? "II" : "ww"}-RR` : e.yearPicker ? "yyyy" : e.quarterPicker ? "QQQ/yyyy" : e.enableTimePicker ? `MM/dd/yyyy, ${t()}` : "MM/dd/yyyy";
12374
+ return e.format ? e.format : e.monthPicker ? "MM/yyyy" : e.timePicker ? t() : e.weekPicker ? `${((x = S.value) == null ? void 0 : x.type) === "iso" ? "II" : "ww"}-RR` : e.yearPicker ? "yyyy" : e.quarterPicker ? "QQQ/yyyy" : e.enableTimePicker ? `MM/dd/yyyy, ${t()}` : "MM/dd/yyyy";
12375
12375
  }, r = (x) => Ly(x, e.enableSeconds), a = () => y.value.enabled ? e.startTime && Array.isArray(e.startTime) ? [r(e.startTime[0]), r(e.startTime[1])] : null : e.startTime && !Array.isArray(e.startTime) ? r(e.startTime) : null, i = B(() => IE(e.multiCalendars)), o = B(() => a()), s = B(() => ME(e.ariaLabels)), l = B(() => $E(e.filters)), u = B(() => DE(e.transitions)), c = B(() => NE(e.actionRow)), d = B(
12376
12376
  () => LE(e.previewFormat, e.format, n())
12377
- ), f = B(() => RE(e.textInput)), p = B(() => BE(e.inline)), g = B(() => zE(e.config)), v = B(() => FE(e.highlight)), k = B(() => HE(e.weekNumbers)), m = B(() => UE(e.timezone)), S = B(() => qE(e.multiDates)), w = B(
12377
+ ), f = B(() => RE(e.textInput)), p = B(() => BE(e.inline)), g = B(() => zE(e.config)), v = B(() => FE(e.highlight)), S = B(() => HE(e.weekNumbers)), m = B(() => UE(e.timezone)), k = B(() => qE(e.multiDates)), w = B(
12378
12378
  () => VE({
12379
12379
  minDate: e.minDate,
12380
12380
  maxDate: e.maxDate,
@@ -12400,11 +12400,11 @@ const Kf = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
12400
12400
  defaultedInline: p,
12401
12401
  defaultedConfig: g,
12402
12402
  defaultedHighlight: v,
12403
- defaultedWeekNumbers: k,
12403
+ defaultedWeekNumbers: S,
12404
12404
  defaultedRange: y,
12405
12405
  propDates: w,
12406
12406
  defaultedTz: m,
12407
- defaultedMultiDates: S,
12407
+ defaultedMultiDates: k,
12408
12408
  defaultedUI: O,
12409
12409
  getDefaultPattern: n,
12410
12410
  getDefaultStartTime: a
@@ -12440,33 +12440,33 @@ const Kf = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
12440
12440
  hours: Da(E),
12441
12441
  minutes: di(E),
12442
12442
  seconds: t.enableSeconds ? Zo(E) : 0
12443
- } : null, k = (E) => t.modelType ? ce(E) : { month: vt(E), year: at(E) }, m = (E) => Array.isArray(E) ? s.value.enabled ? E.map((ie) => S(ie, ra(xe(), ie))) : du(
12443
+ } : null, S = (E) => t.modelType ? ce(E) : { month: vt(E), year: at(E) }, m = (E) => Array.isArray(E) ? s.value.enabled ? E.map((ie) => k(ie, ra(xe(), ie))) : du(
12444
12444
  () => [
12445
12445
  ra(xe(), E[0]),
12446
12446
  E[1] ? ra(xe(), E[1]) : To(i.value.partialRange)
12447
12447
  ],
12448
12448
  i.value.enabled
12449
- ) : ra(xe(), +E), S = (E, ie) => (typeof E == "string" || typeof E == "number") && t.modelType ? K(E) : ie, w = (E) => Array.isArray(E) ? [
12450
- S(
12449
+ ) : ra(xe(), +E), k = (E, ie) => (typeof E == "string" || typeof E == "number") && t.modelType ? K(E) : ie, w = (E) => Array.isArray(E) ? [
12450
+ k(
12451
12451
  E[0],
12452
12452
  ni(null, +E[0].hours, +E[0].minutes, E[0].seconds)
12453
12453
  ),
12454
- S(
12454
+ k(
12455
12455
  E[1],
12456
12456
  ni(null, +E[1].hours, +E[1].minutes, E[1].seconds)
12457
12457
  )
12458
- ] : S(E, ni(null, E.hours, E.minutes, E.seconds)), y = (E) => {
12458
+ ] : k(E, ni(null, E.hours, E.minutes, E.seconds)), y = (E) => {
12459
12459
  const ie = It(xe(), { date: 1 });
12460
- return Array.isArray(E) ? s.value.enabled ? E.map((ge) => S(ge, xa(ie, +ge.month, +ge.year))) : du(
12460
+ return Array.isArray(E) ? s.value.enabled ? E.map((ge) => k(ge, xa(ie, +ge.month, +ge.year))) : du(
12461
12461
  () => [
12462
- S(E[0], xa(ie, +E[0].month, +E[0].year)),
12463
- S(
12462
+ k(E[0], xa(ie, +E[0].month, +E[0].year)),
12463
+ k(
12464
12464
  E[1],
12465
12465
  E[1] ? xa(ie, +E[1].month, +E[1].year) : To(i.value.partialRange)
12466
12466
  )
12467
12467
  ],
12468
12468
  i.value.enabled
12469
- ) : S(E, xa(ie, +E.month, +E.year));
12469
+ ) : k(E, xa(ie, +E.month, +E.year));
12470
12470
  }, O = (E) => {
12471
12471
  if (Array.isArray(E))
12472
12472
  return E.map((ie) => K(ie));
@@ -12530,7 +12530,7 @@ const Kf = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
12530
12530
  }, J = (E, ie) => te(gn(se(E)), !1, ie), G = (E) => {
12531
12531
  const ie = ee();
12532
12532
  return E ? ie : e("update:model-value", ee());
12533
- }, W = (E = !1) => (E || oe(), t.monthPicker ? J(k, E) : t.timePicker ? J(v, E) : t.yearPicker ? J(at, E) : t.weekPicker ? G(E) : te(j(E), !0, E));
12533
+ }, W = (E = !1) => (E || oe(), t.monthPicker ? J(S, E) : t.timePicker ? J(v, E) : t.yearPicker ? J(at, E) : t.weekPicker ? G(E) : te(j(E), !0, E));
12534
12534
  return {
12535
12535
  inputValue: u,
12536
12536
  internalModelValue: r,
@@ -12716,17 +12716,17 @@ const Kf = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
12716
12716
  defaultedInline: l,
12717
12717
  defaultedRange: u,
12718
12718
  defaultedMultiDates: c
12719
- } = Wt(r), { isTimeValid: d, isMonthValid: f } = Si(r), { buildMatrix: p } = _i(), g = q(null), v = q(null), k = q(!1), m = q({}), S = q(null), w = q(null);
12719
+ } = Wt(r), { isTimeValid: d, isMonthValid: f } = Si(r), { buildMatrix: p } = _i(), g = q(null), v = q(null), S = q(!1), m = q({}), k = q(null), w = q(null);
12720
12720
  wt(() => {
12721
12721
  r.arrowNavigation && p([mn(g), mn(v)], "actionRow"), y(), window.addEventListener("resize", y);
12722
12722
  }), ga(() => {
12723
12723
  window.removeEventListener("resize", y);
12724
12724
  });
12725
12725
  const y = () => {
12726
- k.value = !1, setTimeout(() => {
12726
+ S.value = !1, setTimeout(() => {
12727
12727
  var z, U;
12728
- const R = (z = S.value) == null ? void 0 : z.getBoundingClientRect(), Y = (U = w.value) == null ? void 0 : U.getBoundingClientRect();
12729
- R && Y && (m.value.maxWidth = `${Y.width - R.width - 20}px`), k.value = !0;
12728
+ const R = (z = k.value) == null ? void 0 : z.getBoundingClientRect(), Y = (U = w.value) == null ? void 0 : U.getBoundingClientRect();
12729
+ R && Y && (m.value.maxWidth = `${Y.width - R.width - 20}px`), S.value = !0;
12730
12730
  }, 0);
12731
12731
  }, O = B(() => u.value.enabled && !u.value.partialRange && r.internalModelValue ? r.internalModelValue.length === 2 : !0), x = B(
12732
12732
  () => !d.value(r.internalModelValue) || !f.value(r.internalModelValue) || !O.value
@@ -12765,17 +12765,17 @@ const Kf = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
12765
12765
  title: j.value,
12766
12766
  style: rn(m.value)
12767
12767
  }, [
12768
- z.$slots["action-preview"] && k.value ? ne(z.$slots, "action-preview", {
12768
+ z.$slots["action-preview"] && S.value ? ne(z.$slots, "action-preview", {
12769
12769
  key: 0,
12770
12770
  value: z.internalModelValue
12771
12771
  }) : V("", !0),
12772
- !z.$slots["action-preview"] && k.value ? (T(), D(Be, { key: 1 }, [
12772
+ !z.$slots["action-preview"] && S.value ? (T(), D(Be, { key: 1 }, [
12773
12773
  Qe(Ee(j.value), 1)
12774
12774
  ], 64)) : V("", !0)
12775
12775
  ], 12, KE)) : V("", !0),
12776
12776
  N("div", {
12777
12777
  ref_key: "actionBtnContainer",
12778
- ref: S,
12778
+ ref: k,
12779
12779
  class: "dp__action_buttons",
12780
12780
  "data-dp-element": "action-row"
12781
12781
  }, [
@@ -12841,7 +12841,7 @@ const Kf = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
12841
12841
  setup(e, { expose: t, emit: n }) {
12842
12842
  const { setSelectionGrid: r, buildMultiLevelMatrix: a, setMonthPicker: i } = _i(), o = n, s = e, { defaultedAriaLabels: l, defaultedTextInput: u, defaultedConfig: c } = Wt(
12843
12843
  s
12844
- ), { hideNavigationButtons: d } = zc(), f = q(!1), p = q(null), g = q(null), v = q([]), k = q(), m = q(null), S = q(0), w = q(null);
12844
+ ), { hideNavigationButtons: d } = zc(), f = q(!1), p = q(null), g = q(null), v = q([]), S = q(), m = q(null), k = q(0), w = q(null);
12845
12845
  K_(() => {
12846
12846
  p.value = null;
12847
12847
  }), wt(() => {
@@ -12888,7 +12888,7 @@ const Kf = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
12888
12888
  const H = (se = !0) => {
12889
12889
  Ut().then(() => {
12890
12890
  const ee = mn(p), J = mn(g), G = mn(m), W = mn(w), E = G ? G.getBoundingClientRect().height : 0;
12891
- J && (J.getBoundingClientRect().height ? S.value = J.getBoundingClientRect().height - E : S.value = c.value.modeHeight - E), ee && W && se && (W.scrollTop = ee.offsetTop - W.offsetTop - (S.value / 2 - ee.getBoundingClientRect().height) - E);
12891
+ J && (J.getBoundingClientRect().height ? k.value = J.getBoundingClientRect().height - E : k.value = c.value.modeHeight - E), ee && W && se && (W.scrollTop = ee.offsetTop - W.offsetTop - (k.value / 2 - ee.getBoundingClientRect().height) - E);
12892
12892
  });
12893
12893
  }, j = (se) => {
12894
12894
  se.disabled || o("selected", se.value);
@@ -12905,7 +12905,7 @@ const Kf = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
12905
12905
  }, Y = (se) => {
12906
12906
  s.arrowNavigation || ti(se, c.value, !0);
12907
12907
  }, oe = (se) => {
12908
- k.value = se, o("hover-value", se);
12908
+ S.value = se, o("hover-value", se);
12909
12909
  }, K = () => {
12910
12910
  if (Q(), !s.isLast) {
12911
12911
  const se = Kf(s.menuWrapRef ?? null, "action-row");
@@ -12951,7 +12951,7 @@ const Kf = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
12951
12951
  ref_key: "containerRef",
12952
12952
  ref: w,
12953
12953
  class: re(I.value),
12954
- style: rn({ "--dp-overlay-height": `${S.value}px` }),
12954
+ style: rn({ "--dp-overlay-height": `${k.value}px` }),
12955
12955
  role: "grid"
12956
12956
  }, [
12957
12957
  N("div", eP, [
@@ -13086,14 +13086,14 @@ const Kf = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
13086
13086
  },
13087
13087
  emits: ["toggle-year-picker", "year-select", "handle-year"],
13088
13088
  setup(e, { emit: t }) {
13089
- const n = t, r = e, { showRightIcon: a, showLeftIcon: i } = zc(), { defaultedConfig: o, defaultedMultiCalendars: s, defaultedAriaLabels: l, defaultedTransitions: u, defaultedUI: c } = Wt(r), { showTransition: d, transitionName: f } = Rl(u), p = q(!1), g = (m = !1, S) => {
13090
- p.value = !p.value, n("toggle-year-picker", { flow: m, show: S });
13089
+ const n = t, r = e, { showRightIcon: a, showLeftIcon: i } = zc(), { defaultedConfig: o, defaultedMultiCalendars: s, defaultedAriaLabels: l, defaultedTransitions: u, defaultedUI: c } = Wt(r), { showTransition: d, transitionName: f } = Rl(u), p = q(!1), g = (m = !1, k) => {
13090
+ p.value = !p.value, n("toggle-year-picker", { flow: m, show: k });
13091
13091
  }, v = (m) => {
13092
13092
  p.value = !1, n("year-select", m);
13093
- }, k = (m = !1) => {
13093
+ }, S = (m = !1) => {
13094
13094
  n("handle-year", m);
13095
13095
  };
13096
- return (m, S) => {
13096
+ return (m, k) => {
13097
13097
  var w, y, O, x, P;
13098
13098
  return T(), D(Be, null, [
13099
13099
  N("div", {
@@ -13105,7 +13105,7 @@ const Kf = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
13105
13105
  "aria-label": (w = _(l)) == null ? void 0 : w.prevYear,
13106
13106
  disabled: e.isDisabled(!1),
13107
13107
  class: re((y = _(c)) == null ? void 0 : y.navBtnPrev),
13108
- onActivate: S[0] || (S[0] = (M) => k(!1))
13108
+ onActivate: k[0] || (k[0] = (M) => S(!1))
13109
13109
  }, {
13110
13110
  default: he(() => [
13111
13111
  m.$slots["arrow-left"] ? ne(m.$slots, "arrow-left", { key: 0 }) : V("", !0),
@@ -13119,8 +13119,8 @@ const Kf = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
13119
13119
  type: "button",
13120
13120
  "aria-label": `${e.year}-${(O = _(l)) == null ? void 0 : O.openYearsOverlay}`,
13121
13121
  "data-test-id": `year-mode-btn-${e.instance}`,
13122
- onClick: S[1] || (S[1] = () => g(!1)),
13123
- onKeydown: S[2] || (S[2] = Wu(() => g(!1), ["enter"]))
13122
+ onClick: k[1] || (k[1] = () => g(!1)),
13123
+ onKeydown: k[2] || (k[2] = Wu(() => g(!1), ["enter"]))
13124
13124
  }, [
13125
13125
  m.$slots.year ? ne(m.$slots, "year", {
13126
13126
  key: 0,
@@ -13136,7 +13136,7 @@ const Kf = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
13136
13136
  "aria-label": (x = _(l)) == null ? void 0 : x.nextYear,
13137
13137
  disabled: e.isDisabled(!0),
13138
13138
  class: re((P = _(c)) == null ? void 0 : P.navBtnNext),
13139
- onActivate: S[3] || (S[3] = (M) => k(!0))
13139
+ onActivate: k[3] || (k[3] = (M) => S(!0))
13140
13140
  }, {
13141
13141
  default: he(() => [
13142
13142
  m.$slots["arrow-right"] ? ne(m.$slots, "arrow-right", { key: 0 }) : V("", !0),
@@ -13164,7 +13164,7 @@ const Kf = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
13164
13164
  "overlay-label": (A = (M = _(l)) == null ? void 0 : M.yearPicker) == null ? void 0 : A.call(M, !0),
13165
13165
  type: "year",
13166
13166
  onToggle: g,
13167
- onSelected: S[4] || (S[4] = (I) => v(I))
13167
+ onSelected: k[4] || (k[4] = (I) => v(I))
13168
13168
  }, jt({
13169
13169
  "button-icon": he(() => [
13170
13170
  m.$slots["calendar-icon"] ? ne(m.$slots, "calendar-icon", { key: 0 }) : V("", !0),
@@ -13243,16 +13243,16 @@ const Kf = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
13243
13243
  const H = It(xe(), a.value[I - 1]);
13244
13244
  a.value[I] = { month: vt(H), year: at(hh(H, 1)) };
13245
13245
  }
13246
- }, k = (I) => {
13246
+ }, S = (I) => {
13247
13247
  if (!I) return v();
13248
13248
  const H = It(xe(), a.value[I]);
13249
13249
  return a.value[0].year = at(ky(H, e.value.count - 1)), v();
13250
13250
  }, m = (I, H) => {
13251
13251
  const j = V9(H, I);
13252
13252
  return t.value.showLastInRange && j > 1 ? H : I;
13253
- }, S = (I) => o.focusStartDate || e.value.solo ? I[0] : I[1] ? m(I[0], I[1]) : I[0], w = () => {
13253
+ }, k = (I) => o.focusStartDate || e.value.solo ? I[0] : I[1] ? m(I[0], I[1]) : I[0], w = () => {
13254
13254
  if (i.value) {
13255
- const I = Array.isArray(i.value) ? S(i.value) : i.value;
13255
+ const I = Array.isArray(i.value) ? k(i.value) : i.value;
13256
13256
  a.value[0] = { month: vt(I), year: at(I) };
13257
13257
  }
13258
13258
  }, y = () => {
@@ -13264,7 +13264,7 @@ const Kf = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
13264
13264
  y();
13265
13265
  });
13266
13266
  const O = (I, H) => {
13267
- a.value[H].year = I, c("update-month-year", { instance: H, year: I, month: a.value[H].month }), e.value.count && !e.value.solo && k(H);
13267
+ a.value[H].year = I, c("update-month-year", { instance: H, year: I, month: a.value[H].month }), e.value.count && !e.value.solo && S(H);
13268
13268
  }, x = B(() => (I) => ns(d.value, (H) => {
13269
13269
  var j;
13270
13270
  const Q = l.value(I) === H.value, z = vl(
@@ -13306,7 +13306,7 @@ const Kf = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
13306
13306
  defaultedMultiDates: d
13307
13307
  } = Wt(e), f = () => {
13308
13308
  e.isTextInputDate && y(at(xe(e.startDate)), 0);
13309
- }, { modelValue: p, year: g, month: v, calendars: k } = $l(e, t, f), m = B(() => xy(e.formatLocale, e.locale, e.monthNameFormat)), S = q(null), { checkMinMaxRange: w } = Si(e), {
13309
+ }, { modelValue: p, year: g, month: v, calendars: S } = $l(e, t, f), m = B(() => xy(e.formatLocale, e.locale, e.monthNameFormat)), k = q(null), { checkMinMaxRange: w } = Si(e), {
13310
13310
  selectYear: y,
13311
13311
  groupedYears: O,
13312
13312
  showYearPicker: x,
@@ -13319,7 +13319,7 @@ const Kf = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
13319
13319
  multiCalendars: n,
13320
13320
  range: o,
13321
13321
  highlight: s,
13322
- calendars: k,
13322
+ calendars: S,
13323
13323
  year: g,
13324
13324
  propDates: l,
13325
13325
  month: v,
@@ -13331,7 +13331,7 @@ const Kf = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
13331
13331
  e.startDate && (p.value && e.focusStartDate || !p.value) && y(at(xe(e.startDate)), 0);
13332
13332
  });
13333
13333
  const H = (J) => J ? { month: vt(J), year: at(J) } : { month: null, year: null }, j = () => p.value ? Array.isArray(p.value) ? p.value.map((J) => H(J)) : H(p.value) : H(), Q = (J, G) => {
13334
- const W = k.value[J], E = j();
13334
+ const W = S.value[J], E = j();
13335
13335
  return Array.isArray(E) ? E.some((ie) => ie.year === (W == null ? void 0 : W.year) && ie.month === G) : (W == null ? void 0 : W.year) === E.year && G === E.month;
13336
13336
  }, z = (J, G, W) => {
13337
13337
  var E, ie;
@@ -13342,7 +13342,7 @@ const Kf = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
13342
13342
  const W = j();
13343
13343
  if (Array.isArray(p.value) && Array.isArray(W)) {
13344
13344
  const E = z(J, G, 0) || z(J, G, 1), ie = xa(Lr(xe()), J, g.value(G));
13345
- return gl(p.value, S.value, ie) && !E;
13345
+ return gl(p.value, k.value, ie) && !E;
13346
13346
  }
13347
13347
  return !1;
13348
13348
  }
@@ -13365,7 +13365,7 @@ const Kf = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
13365
13365
  });
13366
13366
  }, ce = (J, G) => {
13367
13367
  Oh(Y(J, G), p, d.value.limit), t("auto-apply", !0);
13368
- }, te = (J, G) => (k.value[G].month = J, ee(G, k.value[G].year, J), d.value.enabled ? ce(J, G) : o.value.enabled ? K(J, G) : oe(J, G)), se = (J, G) => {
13368
+ }, te = (J, G) => (S.value[G].month = J, ee(G, S.value[G].year, J), d.value.enabled ? ce(J, G) : o.value.enabled ? K(J, G) : oe(J, G)), se = (J, G) => {
13369
13369
  y(J, G), ee(G, J, null);
13370
13370
  }, ee = (J, G, W) => {
13371
13371
  let E = W;
@@ -13395,7 +13395,7 @@ const Kf = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
13395
13395
  }), t("auto-apply");
13396
13396
  },
13397
13397
  setHoverDate: (J, G) => {
13398
- S.value = Y(J, G);
13398
+ k.value = Y(J, G);
13399
13399
  },
13400
13400
  selectMonth: te,
13401
13401
  selectYear: se,
@@ -13440,9 +13440,9 @@ const Kf = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
13440
13440
  showYearPicker: p,
13441
13441
  modelValue: g,
13442
13442
  presetDate: v,
13443
- setHoverDate: k,
13443
+ setHoverDate: S,
13444
13444
  selectMonth: m,
13445
- selectYear: S,
13445
+ selectYear: k,
13446
13446
  toggleYearPicker: w,
13447
13447
  handleYearSelect: y,
13448
13448
  handleYear: O,
@@ -13453,7 +13453,7 @@ const Kf = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
13453
13453
  year: u,
13454
13454
  getModelMonthYear: x,
13455
13455
  selectMonth: m,
13456
- selectYear: S,
13456
+ selectYear: k,
13457
13457
  handleYear: O
13458
13458
  }), presetDate: v, toggleYearPicker: (P) => w(0, P) }), (P, M) => (T(), pe(Nc, {
13459
13459
  "multi-calendars": _(d).count,
@@ -13471,7 +13471,7 @@ const Kf = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
13471
13471
  months: _(s)(A),
13472
13472
  years: _(l)(A),
13473
13473
  selectMonth: _(m),
13474
- selectYear: _(S),
13474
+ selectYear: _(k),
13475
13475
  instance: A
13476
13476
  }))) : (T(), pe(Dl, {
13477
13477
  key: 2,
@@ -13485,7 +13485,7 @@ const Kf = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
13485
13485
  "use-relative": "",
13486
13486
  type: "month",
13487
13487
  onSelected: (I) => _(m)(I, A),
13488
- onHoverValue: (I) => _(k)(I, A)
13488
+ onHoverValue: (I) => _(S)(I, A)
13489
13489
  }, jt({
13490
13490
  header: he(() => [
13491
13491
  Pe(By, it(P.$props, {
@@ -13530,14 +13530,14 @@ const Kf = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
13530
13530
  wt(() => {
13531
13531
  e.startDate && (r.value && e.focusStartDate || !r.value) && (c.value = at(xe(e.startDate)));
13532
13532
  });
13533
- const d = (m) => Array.isArray(r.value) ? r.value.some((S) => at(S) === m) : r.value ? at(r.value) === m : !1, f = (m) => l.value.enabled && Array.isArray(r.value) ? gl(r.value, a.value, k(m)) : !1, p = (m) => u.value.allowedDates instanceof Map ? u.value.allowedDates.size ? u.value.allowedDates.has(`${m}`) : !1 : !0, g = (m) => u.value.disabledDates instanceof Map ? u.value.disabledDates.size ? u.value.disabledDates.has(`${m}`) : !1 : !0, v = B(() => ns(Th(e.yearRange, e.locale, e.reverseYears), (m) => {
13534
- const S = d(m.value), w = vl(
13533
+ const d = (m) => Array.isArray(r.value) ? r.value.some((k) => at(k) === m) : r.value ? at(r.value) === m : !1, f = (m) => l.value.enabled && Array.isArray(r.value) ? gl(r.value, a.value, S(m)) : !1, p = (m) => u.value.allowedDates instanceof Map ? u.value.allowedDates.size ? u.value.allowedDates.has(`${m}`) : !1 : !0, g = (m) => u.value.disabledDates instanceof Map ? u.value.disabledDates.size ? u.value.disabledDates.has(`${m}`) : !1 : !0, v = B(() => ns(Th(e.yearRange, e.locale, e.reverseYears), (m) => {
13534
+ const k = d(m.value), w = vl(
13535
13535
  m.value,
13536
13536
  rs(u.value.minDate),
13537
13537
  rs(u.value.maxDate)
13538
- ) || s.value.years.includes(m.value) || !p(m.value) || g(m.value), y = f(m.value) && !S, O = Ah(i.value, m.value);
13539
- return { active: S, disabled: w, isBetween: y, highlighted: O };
13540
- })), k = (m) => ra(Lr(ml(/* @__PURE__ */ new Date())), m);
13538
+ ) || s.value.years.includes(m.value) || !p(m.value) || g(m.value), y = f(m.value) && !k, O = Ah(i.value, m.value);
13539
+ return { active: k, disabled: w, isBetween: y, highlighted: O };
13540
+ })), S = (m) => ra(Lr(ml(/* @__PURE__ */ new Date())), m);
13541
13541
  return {
13542
13542
  groupedYears: v,
13543
13543
  modelValue: r,
@@ -13546,12 +13546,12 @@ const Kf = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
13546
13546
  a.value = ra(Lr(/* @__PURE__ */ new Date()), m);
13547
13547
  },
13548
13548
  selectYear: (m) => {
13549
- var S;
13549
+ var k;
13550
13550
  if (t("update-month-year", { instance: 0, year: m }), o.value.enabled)
13551
- return r.value ? Array.isArray(r.value) && (((S = r.value) == null ? void 0 : S.map((w) => at(w))).includes(m) ? r.value = r.value.filter((w) => at(w) !== m) : r.value.push(ra(Tn(xe()), m))) : r.value = [ra(Tn(ml(xe())), m)], t("auto-apply", !0);
13552
- l.value.enabled ? (r.value = Mh(r, k(m), t), Ut().then(() => {
13551
+ return r.value ? Array.isArray(r.value) && (((k = r.value) == null ? void 0 : k.map((w) => at(w))).includes(m) ? r.value = r.value.filter((w) => at(w) !== m) : r.value.push(ra(Tn(xe()), m))) : r.value = [ra(Tn(ml(xe())), m)], t("auto-apply", !0);
13552
+ l.value.enabled ? (r.value = Mh(r, S(m), t), Ut().then(() => {
13553
13553
  Bc(r.value, t, e.autoApply, e.modelAuto);
13554
- })) : (r.value = k(m), t("auto-apply"));
13554
+ })) : (r.value = S(m), t("auto-apply"));
13555
13555
  }
13556
13556
  };
13557
13557
  }, uP = /* @__PURE__ */ Se({
@@ -13651,7 +13651,7 @@ const Kf = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
13651
13651
  hours: !1,
13652
13652
  minutes: !1,
13653
13653
  seconds: !1
13654
- }), k = q("AM"), m = q(null), S = q([]), w = q(), y = q(!1);
13654
+ }), S = q("AM"), m = q(null), k = q([]), w = q(), y = q(!1);
13655
13655
  wt(() => {
13656
13656
  r("mounted");
13657
13657
  });
@@ -13698,11 +13698,11 @@ const Kf = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
13698
13698
  if (!a.disabledTimesConfig) return !1;
13699
13699
  const be = a.disabledTimesConfig(a.order, $ === "hours" ? _e : void 0);
13700
13700
  return be[$] ? !!((ke = be[$]) != null && ke.includes(_e)) : !0;
13701
- }, ce = ($, _e) => _e !== "hours" || k.value === "AM" ? $ : $ + 12, te = ($) => {
13701
+ }, ce = ($, _e) => _e !== "hours" || S.value === "AM" ? $ : $ + 12, te = ($) => {
13702
13702
  const _e = a.is24 ? 24 : 12, ke = $ === "hours" ? _e : 60, be = +a[`${$}GridIncrement`], We = $ === "hours" && !a.is24 ? be : 0, Ce = [];
13703
13703
  for (let Z = We; Z < ke; Z += be)
13704
13704
  Ce.push({ value: a.is24 ? Z : ce(Z, $), text: Z < 10 ? `0${Z}` : `${Z}` });
13705
- return $ === "hours" && !a.is24 && Ce.unshift({ value: k.value === "PM" ? 12 : 0, text: "12" }), ns(Ce, (Z) => ({ active: !1, disabled: u.value.times[$].includes(Z.value) || !J(Z.value, $) || K($, Z.value) || M($, Z.value) }));
13705
+ return $ === "hours" && !a.is24 && Ce.unshift({ value: S.value === "PM" ? 12 : 0, text: "12" }), ns(Ce, (Z) => ({ active: !1, disabled: u.value.times[$].includes(Z.value) || !J(Z.value, $) || K($, Z.value) || M($, Z.value) }));
13706
13706
  }, se = ($) => $ >= 0 ? $ : 59, ee = ($) => $ >= 0 ? $ : 23, J = ($, _e) => {
13707
13707
  const ke = a.minTime ? O($d(a.minTime)) : null, be = a.maxTime ? O($d(a.maxTime)) : null, We = O(
13708
13708
  $d(
@@ -13724,14 +13724,14 @@ const Kf = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
13724
13724
  ), !(ke != null && ke.keyboard) && c.value.timeArrowHoldThreshold && (w.value = setTimeout(() => {
13725
13725
  ge($, _e);
13726
13726
  }, c.value.timeArrowHoldThreshold));
13727
- }, Je = ($) => a.is24 ? $ : ($ >= 12 ? k.value = "PM" : k.value = "AM", mE($)), le = () => {
13728
- k.value === "PM" ? (k.value = "AM", r("update:hours", a.hours - 12)) : (k.value = "PM", r("update:hours", a.hours + 12)), r("am-pm-change", k.value);
13727
+ }, Je = ($) => a.is24 ? $ : ($ >= 12 ? S.value = "PM" : S.value = "AM", mE($)), le = () => {
13728
+ S.value === "PM" ? (S.value = "AM", r("update:hours", a.hours - 12)) : (S.value = "PM", r("update:hours", a.hours + 12)), r("am-pm-change", S.value);
13729
13729
  }, je = ($) => {
13730
13730
  v[$] = !0;
13731
13731
  }, me = ($, _e, ke) => {
13732
13732
  if ($ && a.arrowNavigation) {
13733
- Array.isArray(S.value[_e]) ? S.value[_e][ke] = $ : S.value[_e] = [$];
13734
- const be = S.value.reduce(
13733
+ Array.isArray(k.value[_e]) ? k.value[_e][ke] = $ : k.value[_e] = [$];
13734
+ const be = k.value.reduce(
13735
13735
  (We, Ce) => Ce.map((Z, ue) => [...We[ue] || [], Ce[ue]]),
13736
13736
  []
13737
13737
  );
@@ -13849,7 +13849,7 @@ const Kf = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
13849
13849
  $.$slots["am-pm-button"] ? ne($.$slots, "am-pm-button", {
13850
13850
  key: 0,
13851
13851
  toggle: le,
13852
- value: k.value
13852
+ value: S.value
13853
13853
  }) : V("", !0),
13854
13854
  $.$slots["am-pm-button"] ? V("", !0) : (T(), D("button", {
13855
13855
  key: 1,
@@ -13863,7 +13863,7 @@ const Kf = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
13863
13863
  "data-compact": U.value,
13864
13864
  onClick: le,
13865
13865
  onKeydown: _e[0] || (_e[0] = (be) => _(jn)(be, () => le(), !0))
13866
- }, Ee(k.value), 41, vP))
13866
+ }, Ee(S.value), 41, vP))
13867
13867
  ])),
13868
13868
  (T(!0), D(Be, null, Ge(Y.value, (be, We) => (T(), pe(fo, {
13869
13869
  key: We,
@@ -13948,9 +13948,9 @@ const Kf = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
13948
13948
  "am-pm-change"
13949
13949
  ],
13950
13950
  setup(e, { expose: t, emit: n }) {
13951
- const r = n, a = e, { buildMatrix: i, setTimePicker: o } = _i(), s = En(), { defaultedTransitions: l, defaultedAriaLabels: u, defaultedTextInput: c, defaultedConfig: d, defaultedRange: f } = Wt(a), { transitionName: p, showTransition: g } = Rl(l), { hideNavigationButtons: v } = zc(), k = q(null), m = q(null), S = q([]), w = q(null), y = q(!1);
13951
+ const r = n, a = e, { buildMatrix: i, setTimePicker: o } = _i(), s = En(), { defaultedTransitions: l, defaultedAriaLabels: u, defaultedTextInput: c, defaultedConfig: d, defaultedRange: f } = Wt(a), { transitionName: p, showTransition: g } = Rl(l), { hideNavigationButtons: v } = zc(), S = q(null), m = q(null), k = q([]), w = q(null), y = q(!1);
13952
13952
  wt(() => {
13953
- r("mount"), !a.timePicker && a.arrowNavigation ? i([mn(k.value)], "time") : o(!0, a.timePicker);
13953
+ r("mount"), !a.timePicker && a.arrowNavigation ? i([mn(S.value)], "time") : o(!0, a.timePicker);
13954
13954
  });
13955
13955
  const O = B(() => f.value.enabled && a.modelAuto ? Ty(a.internalModelValue) : !0), x = q(!1), P = (K) => ({
13956
13956
  hours: Array.isArray(a.hours) ? a.hours[K] : a.hours,
@@ -13966,7 +13966,7 @@ const Kf = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
13966
13966
  return K;
13967
13967
  }), A = (K, ce = !1, te = "") => {
13968
13968
  ce || r("reset-flow"), x.value = K, r(K ? "overlay-opened" : "overlay-closed", Dn.time), a.arrowNavigation && o(K), Ut(() => {
13969
- te !== "" && S.value[0] && S.value[0].openChildCmp(te);
13969
+ te !== "" && k.value[0] && k.value[0].openChildCmp(te);
13970
13970
  });
13971
13971
  }, I = B(() => ({
13972
13972
  dp__btn: !0,
@@ -13997,7 +13997,7 @@ const Kf = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
13997
13997
  !K.timePicker && !K.timePickerInline ? ia((T(), D("button", {
13998
13998
  key: 0,
13999
13999
  ref_key: "openTimePickerBtn",
14000
- ref: k,
14000
+ ref: S,
14001
14001
  type: "button",
14002
14002
  class: re({ ...I.value, "dp--hidden-el": x.value }),
14003
14003
  "aria-label": (te = _(u)) == null ? void 0 : te.openTimePicker,
@@ -14066,7 +14066,7 @@ const Kf = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
14066
14066
  }, {
14067
14067
  ref_for: !0,
14068
14068
  ref_key: "timeInputRefs",
14069
- ref: S,
14069
+ ref: k,
14070
14070
  "validate-time": (W, E) => e.validateTime(W, j(E, G, W)),
14071
14071
  "onUpdate:hours": (W) => Q(j(W, G, "hours")),
14072
14072
  "onUpdate:minutes": (W) => z(j(W, G, "minutes")),
@@ -14138,7 +14138,7 @@ const Kf = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
14138
14138
  d("seconds", w);
14139
14139
  }, v = (w, y, O, x) => {
14140
14140
  y && f(w), !y && !O && p(w), O && g(w), n.value && x(n.value);
14141
- }, k = (w) => {
14141
+ }, S = (w) => {
14142
14142
  if (w) {
14143
14143
  const y = Array.isArray(w), O = y ? [+w[0].hours, +w[1].hours] : +w.hours, x = y ? [+w[0].minutes, +w[1].minutes] : +w.minutes, P = y ? [+w[0].seconds, +w[1].seconds] : +w.seconds;
14144
14144
  l("hours", O), l("minutes", x), e.enableSeconds && l("seconds", P);
@@ -14149,7 +14149,7 @@ const Kf = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
14149
14149
  disabledArr: []
14150
14150
  };
14151
14151
  return (y || y === 0) && (O.hours = y), Array.isArray(e.disabledTimes) && (O.disabledArr = a.value.enabled && Array.isArray(e.disabledTimes[w]) ? e.disabledTimes[w] : e.disabledTimes), O;
14152
- }, S = B(() => (w, y) => {
14152
+ }, k = B(() => (w, y) => {
14153
14153
  var O;
14154
14154
  if (Array.isArray(e.disabledTimes)) {
14155
14155
  const { disabledArr: x, hours: P } = m(w, y), M = x.filter((A) => +A.hours === P);
@@ -14169,9 +14169,9 @@ const Kf = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
14169
14169
  getSetDateTime: s,
14170
14170
  updateTimeValues: v,
14171
14171
  getSecondsValue: o,
14172
- assignStartTime: k,
14172
+ assignStartTime: S,
14173
14173
  validateTime: c,
14174
- disabledTimesConfig: S
14174
+ disabledTimesConfig: k
14175
14175
  };
14176
14176
  }, SP = (e, t) => {
14177
14177
  const n = () => {
@@ -14183,7 +14183,7 @@ const Kf = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
14183
14183
  const v = (x) => {
14184
14184
  const { hours: P, minutes: M, seconds: A } = x;
14185
14185
  return { hours: +P, minutes: +M, seconds: A ? +A : 0 };
14186
- }, k = () => {
14186
+ }, S = () => {
14187
14187
  if (e.startTime) {
14188
14188
  if (Array.isArray(e.startTime)) {
14189
14189
  const P = v(e.startTime[0]), M = v(e.startTime[1]);
@@ -14195,17 +14195,17 @@ const Kf = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
14195
14195
  return o.value.enabled ? [null, null] : null;
14196
14196
  }, m = () => {
14197
14197
  if (o.value.enabled) {
14198
- const [x, P] = k();
14198
+ const [x, P] = S();
14199
14199
  r.value = [
14200
14200
  er(u(x, 0), s.value.timezone),
14201
14201
  er(u(P, 1), s.value.timezone)
14202
14202
  ];
14203
14203
  } else
14204
- r.value = er(u(k()), s.value.timezone);
14205
- }, S = (x) => Array.isArray(x) ? [qi(xe(x[0])), qi(xe(x[1]))] : [qi(x ?? xe())], w = (x, P, M) => {
14204
+ r.value = er(u(S()), s.value.timezone);
14205
+ }, k = (x) => Array.isArray(x) ? [qi(xe(x[0])), qi(xe(x[1]))] : [qi(x ?? xe())], w = (x, P, M) => {
14206
14206
  c("hours", x), c("minutes", P), c("seconds", e.enableSeconds ? M : 0);
14207
14207
  }, y = () => {
14208
- const [x, P] = S(r.value);
14208
+ const [x, P] = k(r.value);
14209
14209
  return o.value.enabled ? w(
14210
14210
  [x.hours, P.hours],
14211
14211
  [x.minutes, P.minutes],
@@ -14254,8 +14254,8 @@ const Kf = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
14254
14254
  time: l,
14255
14255
  updateTime: d
14256
14256
  }), toggleTimePicker: (p, g = !1, v = "") => {
14257
- var k;
14258
- (k = s.value) == null || k.toggleTimePicker(p, g, v);
14257
+ var S;
14258
+ (S = s.value) == null || S.toggleTimePicker(p, g, v);
14259
14259
  } }), (p, g) => (T(), pe(Nc, {
14260
14260
  "multi-calendars": 0,
14261
14261
  stretch: "",
@@ -14280,7 +14280,7 @@ const Kf = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
14280
14280
  onOverlayClosed: g[5] || (g[5] = (v) => p.$emit("overlay-toggle", { open: !1, overlay: v })),
14281
14281
  onOverlayOpened: g[6] || (g[6] = (v) => p.$emit("overlay-toggle", { open: !0, overlay: v }))
14282
14282
  }), jt({ _: 2 }, [
14283
- Ge(_(o), (v, k) => ({
14283
+ Ge(_(o), (v, S) => ({
14284
14284
  name: v,
14285
14285
  fn: he((m) => [
14286
14286
  ne(p.$slots, v, bt(an(m)))
@@ -14318,7 +14318,7 @@ const Kf = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
14318
14318
  defaultedHighlight: c,
14319
14319
  propDates: d,
14320
14320
  defaultedUI: f
14321
- } = Wt(a), { transitionName: p, showTransition: g } = Rl(i), { buildMatrix: v } = _i(), { handleMonthYearChange: k, isDisabled: m, updateMonthYear: S } = GE(a, r), { showLeftIcon: w, showRightIcon: y } = zc(), O = q(!1), x = q(!1), P = q(!1), M = q([null, null, null, null]);
14321
+ } = Wt(a), { transitionName: p, showTransition: g } = Rl(i), { buildMatrix: v } = _i(), { handleMonthYearChange: S, isDisabled: m, updateMonthYear: k } = GE(a, r), { showLeftIcon: w, showRightIcon: y } = zc(), O = q(!1), x = q(!1), P = q(!1), M = q([null, null, null, null]);
14322
14322
  wt(() => {
14323
14323
  r("mount");
14324
14324
  });
@@ -14333,7 +14333,7 @@ const Kf = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
14333
14333
  year: a.year,
14334
14334
  items: ee === Tr.month ? a.months : a.years,
14335
14335
  instance: a.instance,
14336
- updateMonthYear: S,
14336
+ updateMonthYear: k,
14337
14337
  toggle: ee === Tr.month ? Y : oe
14338
14338
  })), Q = B(() => a.months.find((J) => J.value === a.month) || { text: "", value: 0 }), z = B(() => ns(a.months, (ee) => {
14339
14339
  const J = a.month === ee.value, G = vl(
@@ -14391,7 +14391,7 @@ const Kf = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
14391
14391
  return t({
14392
14392
  toggleMonthPicker: Y,
14393
14393
  toggleYearPicker: oe,
14394
- handleMonthYearChange: k
14394
+ handleMonthYearChange: S
14395
14395
  }), (ee, J) => {
14396
14396
  var G, W, E, ie, ge, Je;
14397
14397
  return T(), D("div", CP, [
@@ -14401,8 +14401,8 @@ const Kf = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
14401
14401
  year: e.year,
14402
14402
  months: e.months,
14403
14403
  years: e.years,
14404
- updateMonthYear: _(S),
14405
- handleMonthYearChange: _(k),
14404
+ updateMonthYear: _(k),
14405
+ handleMonthYearChange: _(S),
14406
14406
  instance: e.instance,
14407
14407
  isDisabled: _(m)
14408
14408
  })))
@@ -14417,7 +14417,7 @@ const Kf = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
14417
14417
  disabled: _(m)(!1),
14418
14418
  class: re((W = _(f)) == null ? void 0 : W.navBtnPrev),
14419
14419
  "el-name": "action-prev",
14420
- onActivate: J[0] || (J[0] = (le) => _(k)(!1, !0)),
14420
+ onActivate: J[0] || (J[0] = (le) => _(S)(!1, !0)),
14421
14421
  onSetRef: J[1] || (J[1] = (le) => ce(le, 0))
14422
14422
  }, {
14423
14423
  default: he(() => [
@@ -14521,7 +14521,7 @@ const Kf = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
14521
14521
  "el-name": "action-prev",
14522
14522
  disabled: _(m)(!1),
14523
14523
  class: re((ie = _(f)) == null ? void 0 : ie.navBtnPrev),
14524
- onActivate: J[2] || (J[2] = (le) => _(k)(!1, !0))
14524
+ onActivate: J[2] || (J[2] = (le) => _(S)(!1, !0))
14525
14525
  }, {
14526
14526
  default: he(() => [
14527
14527
  ee.$slots["arrow-up"] ? ne(ee.$slots, "arrow-up", { key: 0 }) : V("", !0),
@@ -14536,7 +14536,7 @@ const Kf = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
14536
14536
  disabled: _(m)(!0),
14537
14537
  "aria-label": (ge = _(o)) == null ? void 0 : ge.nextMonth,
14538
14538
  class: re((Je = _(f)) == null ? void 0 : Je.navBtnNext),
14539
- onActivate: J[3] || (J[3] = (le) => _(k)(!0, !0)),
14539
+ onActivate: J[3] || (J[3] = (le) => _(S)(!0, !0)),
14540
14540
  onSetRef: J[4] || (J[4] = (le) => ce(le, ee.disableYearSelect ? 2 : 3))
14541
14541
  }, {
14542
14542
  default: he(() => [
@@ -14596,14 +14596,14 @@ const Kf = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
14596
14596
  bottom: "",
14597
14597
  left: "",
14598
14598
  transform: ""
14599
- }), v = q([]), k = q(null), m = q(!0), S = q(""), w = q({ startX: 0, endX: 0, startY: 0, endY: 0 }), y = q([]), O = q({ left: "50%" }), x = q(!1), P = B(() => a.calendar ? a.calendar(a.mappedDates) : a.mappedDates), M = B(() => a.dayNames ? Array.isArray(a.dayNames) ? a.dayNames : a.dayNames(a.locale, +a.weekStart) : hE(a.formatLocale, a.locale, +a.weekStart));
14599
+ }), v = q([]), S = q(null), m = q(!0), k = q(""), w = q({ startX: 0, endX: 0, startY: 0, endY: 0 }), y = q([]), O = q({ left: "50%" }), x = q(!1), P = B(() => a.calendar ? a.calendar(a.mappedDates) : a.mappedDates), M = B(() => a.dayNames ? Array.isArray(a.dayNames) ? a.dayNames : a.dayNames(a.locale, +a.weekStart) : hE(a.formatLocale, a.locale, +a.weekStart));
14600
14600
  wt(() => {
14601
- r("mount", { cmp: "calendar", refs: v }), s.value.noSwipe || k.value && (k.value.addEventListener("touchstart", ce, { passive: !1 }), k.value.addEventListener("touchend", te, { passive: !1 }), k.value.addEventListener("touchmove", se, { passive: !1 })), a.monthChangeOnScroll && k.value && k.value.addEventListener("wheel", G, { passive: !1 });
14601
+ r("mount", { cmp: "calendar", refs: v }), s.value.noSwipe || S.value && (S.value.addEventListener("touchstart", ce, { passive: !1 }), S.value.addEventListener("touchend", te, { passive: !1 }), S.value.addEventListener("touchmove", se, { passive: !1 })), a.monthChangeOnScroll && S.value && S.value.addEventListener("wheel", G, { passive: !1 });
14602
14602
  });
14603
14603
  const A = (le) => le ? a.vertical ? "vNext" : "next" : a.vertical ? "vPrevious" : "previous", I = (le, je) => {
14604
14604
  if (a.transitions) {
14605
14605
  const me = Tn(xa(xe(), a.month, a.year));
14606
- S.value = nn(Tn(xa(xe(), le, je)), me) ? o.value[A(!0)] : o.value[A(!1)], m.value = !1, Ut(() => {
14606
+ k.value = nn(Tn(xa(xe(), le, je)), me) ? o.value[A(!0)] : o.value[A(!1)], m.value = !1, Ut(() => {
14607
14607
  m.value = !0;
14608
14608
  });
14609
14609
  }
@@ -14675,7 +14675,7 @@ const Kf = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
14675
14675
  }, [
14676
14676
  N("div", {
14677
14677
  ref_key: "calendarWrapRef",
14678
- ref: k,
14678
+ ref: S,
14679
14679
  class: re(H.value),
14680
14680
  role: "grid"
14681
14681
  }, [
@@ -14703,7 +14703,7 @@ const Kf = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
14703
14703
  ]),
14704
14704
  je[2] || (je[2] = N("div", { class: "dp__calendar_header_separator" }, null, -1)),
14705
14705
  Pe(fo, {
14706
- name: S.value,
14706
+ name: k.value,
14707
14707
  css: !!le.transitions
14708
14708
  }, {
14709
14709
  default: he(() => [
@@ -14819,9 +14819,9 @@ const Kf = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
14819
14819
  defaultedStartTime: p,
14820
14820
  defaultedRange: g,
14821
14821
  defaultedConfig: v,
14822
- defaultedTz: k,
14822
+ defaultedTz: S,
14823
14823
  propDates: m,
14824
- defaultedMultiDates: S
14824
+ defaultedMultiDates: k
14825
14825
  } = Wt(e), { validateMonthYearInRange: w, isDisabled: y, isDateRangeAllowed: O, checkMinMaxRange: x } = Si(e), { updateTimeValues: P, getSetDateTime: M, setTime: A, assignStartTime: I, validateTime: H, disabledTimesConfig: j } = Uy(e, c, l, r), Q = B(
14826
14826
  () => (X) => u.value[X] ? u.value[X].month : 0
14827
14827
  ), z = B(
@@ -14870,9 +14870,9 @@ const Kf = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
14870
14870
  ];
14871
14871
  A("hours", Le(Da, "hours")), A("minutes", Le(di, "minutes")), A("seconds", Le(Zo, "seconds"));
14872
14872
  }, E = (X, ye) => {
14873
- if ((g.value.enabled || e.weekPicker) && !S.value.enabled)
14873
+ if ((g.value.enabled || e.weekPicker) && !k.value.enabled)
14874
14874
  return W(X, ye);
14875
- if (S.value.enabled && ye) {
14875
+ if (k.value.enabled && ye) {
14876
14876
  const Le = X[X.length - 1];
14877
14877
  return J(Le, ye);
14878
14878
  }
@@ -14964,7 +14964,7 @@ const Kf = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
14964
14964
  return kt(Lt), be(Le, de, Te, Ne);
14965
14965
  }, Z = (X) => {
14966
14966
  const ye = ni(xe(X.value), c.hours, c.minutes, ht());
14967
- t("date-update", ye), S.value.enabled ? Oh(ye, l, S.value.limit) : l.value = ye, r(), Ut().then(() => {
14967
+ t("date-update", ye), k.value.enabled ? Oh(ye, l, k.value.limit) : l.value = ye, r(), Ut().then(() => {
14968
14968
  ce();
14969
14969
  });
14970
14970
  }, ue = (X) => g.value.noDisabledRange ? Iy(a.value[0], X).some((ye) => y(ye)) : !1, Me = () => {
@@ -15007,7 +15007,7 @@ const Kf = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
15007
15007
  }, fn = (X, ye = !1) => {
15008
15008
  if (y(X.value) || !X.current && e.hideOffsetDates) return t("invalid-date", X.value);
15009
15009
  if (o.value = JSON.parse(JSON.stringify(X)), !g.value.enabled) return Z(X);
15010
- k0(c.hours) && k0(c.minutes) && !S.value.enabled && (Mt(X, ye), Wn());
15010
+ k0(c.hours) && k0(c.minutes) && !k.value.enabled && (Mt(X, ye), Wn());
15011
15011
  }, _n = (X, ye) => {
15012
15012
  var Le;
15013
15013
  R(X, ye.month, ye.year, !0), f.value.count && !f.value.solo && Je(X), t("update-month-year", { instance: X, month: ye.month, year: ye.year }), n(f.value.solo ? X : void 0);
@@ -15018,14 +15018,14 @@ const Kf = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
15018
15018
  value: X,
15019
15019
  modelValue: l,
15020
15020
  range: g.value.enabled,
15021
- timezone: ye ? void 0 : k.value.timezone
15021
+ timezone: ye ? void 0 : S.value.timezone
15022
15022
  }), Y(), e.multiCalendars && Ut().then(() => te(!0));
15023
15023
  }, $e = () => {
15024
- const X = xh(xe(), k.value);
15025
- !g.value.enabled && !S.value.enabled ? l.value = X : l.value && Array.isArray(l.value) && l.value[0] ? S.value.enabled ? l.value = [...l.value, X] : l.value = Jt(X, l.value[0]) ? [X, l.value[0]] : [l.value[0], X] : l.value = [X], Y();
15024
+ const X = xh(xe(), S.value);
15025
+ !g.value.enabled && !k.value.enabled ? l.value = X : l.value && Array.isArray(l.value) && l.value[0] ? k.value.enabled ? l.value = [...l.value, X] : l.value = Jt(X, l.value[0]) ? [X, l.value[0]] : [l.value[0], X] : l.value = [X], Y();
15026
15026
  }, He = () => {
15027
15027
  if (Array.isArray(l.value))
15028
- if (S.value.enabled) {
15028
+ if (k.value.enabled) {
15029
15029
  const X = st();
15030
15030
  l.value[l.value.length - 1] = M(X);
15031
15031
  } else
@@ -15100,9 +15100,9 @@ const Kf = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
15100
15100
  getCalendarDays: p,
15101
15101
  getMarker: g,
15102
15102
  handleArrow: v,
15103
- handleScroll: k,
15103
+ handleScroll: S,
15104
15104
  handleSwipe: m,
15105
- selectDate: S,
15105
+ selectDate: k,
15106
15106
  updateMonthYear: w,
15107
15107
  presetDate: y,
15108
15108
  selectCurrentDate: O,
@@ -15139,7 +15139,7 @@ const Kf = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
15139
15139
  r("update-flow-step");
15140
15140
  }
15141
15141
  const J = (me, we = !1) => {
15142
- S(me, we), a.spaceConfirm && r("select-date");
15142
+ k(me, we), a.spaceConfirm && r("select-date");
15143
15143
  }, G = (me, we, $ = 0) => {
15144
15144
  var _e;
15145
15145
  (_e = z.value[$]) == null || _e.toggleMonthPicker(me, we);
@@ -15153,7 +15153,7 @@ const Kf = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
15153
15153
  var $;
15154
15154
  if (!a.range) {
15155
15155
  const _e = l.value ? l.value : d, ke = we ? new Date(we) : _e, be = me ? zr(ke, { weekStartsOn: 1 }) : dy(ke, { weekStartsOn: 1 });
15156
- S({
15156
+ k({
15157
15157
  value: be,
15158
15158
  current: vt(ke) === o.value(0),
15159
15159
  text: "",
@@ -15186,7 +15186,7 @@ const Kf = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
15186
15186
  time: u,
15187
15187
  updateTime: x,
15188
15188
  updateMonthYear: w,
15189
- selectDate: S,
15189
+ selectDate: k,
15190
15190
  presetDate: y
15191
15191
  }),
15192
15192
  changeMonth: ge,
@@ -15233,10 +15233,10 @@ const Kf = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
15233
15233
  year: _(s)($),
15234
15234
  instance: $
15235
15235
  }, me.$props, {
15236
- onSelectDate: (ke) => _(S)(ke, $ !== 1),
15236
+ onSelectDate: (ke) => _(k)(ke, $ !== 1),
15237
15237
  onHandleSpace: (ke) => J(ke, $ !== 1),
15238
15238
  onSetHoverDate: we[3] || (we[3] = (ke) => _(I)(ke)),
15239
- onHandleScroll: (ke) => _(k)(ke, $),
15239
+ onHandleScroll: (ke) => _(S)(ke, $),
15240
15240
  onHandleSwipe: (ke) => _(m)(ke, $),
15241
15241
  onMount: we[4] || (we[4] = (ke) => ce(_(Vi).calendar)),
15242
15242
  onResetFlow: we[5] || (we[5] = (ke) => me.$emit("reset-flow")),
@@ -15293,7 +15293,7 @@ const Kf = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
15293
15293
  propDates: s,
15294
15294
  defaultedFilters: l,
15295
15295
  defaultedMultiDates: u
15296
- } = Wt(e), { modelValue: c, year: d, month: f, calendars: p } = $l(e, t), { isDisabled: g } = Si(e), { selectYear: v, groupedYears: k, showYearPicker: m, isDisabled: S, toggleYearPicker: w, handleYearSelect: y, handleYear: O } = Hy({
15296
+ } = Wt(e), { modelValue: c, year: d, month: f, calendars: p } = $l(e, t), { isDisabled: g } = Si(e), { selectYear: v, groupedYears: S, showYearPicker: m, isDisabled: k, toggleYearPicker: w, handleYearSelect: y, handleYear: O } = Hy({
15297
15297
  modelValue: c,
15298
15298
  multiCalendars: r,
15299
15299
  range: o,
@@ -15340,9 +15340,9 @@ const Kf = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
15340
15340
  return {
15341
15341
  defaultedConfig: a,
15342
15342
  defaultedMultiCalendars: r,
15343
- groupedYears: k,
15343
+ groupedYears: S,
15344
15344
  year: d,
15345
- isDisabled: S,
15345
+ isDisabled: k,
15346
15346
  quarters: H,
15347
15347
  showYearPicker: m,
15348
15348
  modelValue: c,
@@ -15387,16 +15387,16 @@ const Kf = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
15387
15387
  modelValue: p,
15388
15388
  showYearPicker: g,
15389
15389
  setHoverDate: v,
15390
- selectQuarter: k,
15390
+ selectQuarter: S,
15391
15391
  toggleYearPicker: m,
15392
- handleYearSelect: S,
15392
+ handleYearSelect: k,
15393
15393
  handleYear: w
15394
15394
  } = FP(a, r);
15395
15395
  return t({ getSidebarProps: () => ({
15396
15396
  modelValue: p,
15397
15397
  year: c,
15398
- selectQuarter: k,
15399
- handleYearSelect: S,
15398
+ selectQuarter: S,
15399
+ handleYearSelect: k,
15400
15400
  handleYear: w
15401
15401
  }) }), (y, O) => (T(), pe(Nc, {
15402
15402
  "multi-calendars": _(s).count,
@@ -15421,7 +15421,7 @@ const Kf = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
15421
15421
  year: _(c)(x),
15422
15422
  "is-disabled": (P) => _(d)(x, P),
15423
15423
  onHandleYear: (P) => _(w)(x, P),
15424
- onYearSelect: (P) => _(S)(P, x),
15424
+ onYearSelect: (P) => _(k)(P, x),
15425
15425
  onToggleYearPicker: (P) => _(m)(x, P == null ? void 0 : P.flow, P == null ? void 0 : P.show)
15426
15426
  }), jt({ _: 2 }, [
15427
15427
  Ge(_(o), (P, M) => ({
@@ -15444,7 +15444,7 @@ const Kf = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
15444
15444
  }]),
15445
15445
  "data-test-id": P.value,
15446
15446
  disabled: P.disabled,
15447
- onClick: (A) => _(k)(P.value, x, P.disabled),
15447
+ onClick: (A) => _(S)(P.value, x, P.disabled),
15448
15448
  onMouseover: (A) => _(v)(P.value)
15449
15449
  }, [
15450
15450
  y.$slots.quarter ? ne(y.$slots, "quarter", {
@@ -15540,7 +15540,7 @@ const Kf = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
15540
15540
  flowStep: H.value,
15541
15541
  menuWrapRef: i.value
15542
15542
  };
15543
- }), { setMenuFocused: s, setShiftKey: l, control: u } = Ny(), c = En(), { defaultedTextInput: d, defaultedInline: f, defaultedConfig: p, defaultedUI: g } = Wt(a), { isMobile: v } = Wy(p, a.shadow), k = q(null), m = q(0), S = q(null), w = q(!1), y = q(null), O = q(!1);
15543
+ }), { setMenuFocused: s, setShiftKey: l, control: u } = Ny(), c = En(), { defaultedTextInput: d, defaultedInline: f, defaultedConfig: p, defaultedUI: g } = Wt(a), { isMobile: v } = Wy(p, a.shadow), S = q(null), m = q(0), k = q(null), w = q(!1), y = q(null), O = q(!1);
15544
15544
  wt(() => {
15545
15545
  if (!a.shadow) {
15546
15546
  w.value = !0, x(), window.addEventListener("resize", x);
@@ -15557,7 +15557,7 @@ const Kf = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
15557
15557
  window.removeEventListener("resize", x), document.addEventListener("mousedown", Ce);
15558
15558
  });
15559
15559
  const x = () => {
15560
- const Z = mn(S);
15560
+ const Z = mn(k);
15561
15561
  Z && (m.value = Z.getBoundingClientRect().width);
15562
15562
  }, { arrowRight: P, arrowLeft: M, arrowDown: A, arrowUp: I } = _i(), { flowStep: H, updateFlowStep: j, childMount: Q, resetFlow: z, handleFlow: U } = rA(a, r, y), R = B(() => a.monthPicker ? sP : a.yearPicker ? uP : a.timePicker ? kP : a.quarterPicker ? UP : zP), Y = B(() => {
15563
15563
  var Z;
@@ -15683,7 +15683,7 @@ const Kf = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
15683
15683
  }, null, 2)) : V("", !0),
15684
15684
  N("div", {
15685
15685
  ref_key: "innerMenuRef",
15686
- ref: S,
15686
+ ref: k,
15687
15687
  class: re({
15688
15688
  dp__menu_content_wrapper: ((tt = Z.presetDates) == null ? void 0 : tt.length) || !!Z.$slots["left-sidebar"] || !!Z.$slots["right-sidebar"],
15689
15689
  "dp--menu-content-wrapper-collapsed": e.collapse && (((Ie = Z.presetDates) == null ? void 0 : Ie.length) || !!Z.$slots["left-sidebar"] || !!Z.$slots["right-sidebar"])
@@ -15719,7 +15719,7 @@ const Kf = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
15719
15719
  ], 10, GP)) : V("", !0),
15720
15720
  N("div", {
15721
15721
  ref_key: "calendarWrapperRef",
15722
- ref: k,
15722
+ ref: S,
15723
15723
  class: "dp__instance_calendar",
15724
15724
  role: "document"
15725
15725
  }, [
@@ -15819,11 +15819,11 @@ const ZP = ({
15819
15819
  return { top: 0, left: 0 };
15820
15820
  }, v = (R, Y) => {
15821
15821
  d.value.left = `${R + Y - u.value.width}px`;
15822
- }, k = (R) => {
15822
+ }, S = (R) => {
15823
15823
  d.value.left = `${R}px`;
15824
15824
  }, m = (R, Y) => {
15825
- o.position === Ao.left && k(R), o.position === Ao.right && v(R, Y), o.position === Ao.center && (d.value.left = `${R + Y / 2 - u.value.width / 2}px`);
15826
- }, S = (R) => {
15825
+ o.position === Ao.left && S(R), o.position === Ao.right && v(R, Y), o.position === Ao.center && (d.value.left = `${R + Y / 2 - u.value.width / 2}px`);
15826
+ }, k = (R) => {
15827
15827
  const { width: Y, height: oe } = R.getBoundingClientRect(), { top: K, left: ce } = g(R);
15828
15828
  return { top: +K, left: +ce, width: Y, height: oe };
15829
15829
  }, w = () => {
@@ -15845,18 +15845,18 @@ const ZP = ({
15845
15845
  }, x = ({ inputEl: R, left: Y, width: oe }) => {
15846
15846
  window.screen.width > 768 && !c.value && m(Y, oe), A(R);
15847
15847
  }, P = (R) => {
15848
- const { top: Y, left: oe, height: K, width: ce } = S(R);
15848
+ const { top: Y, left: oe, height: K, width: ce } = k(R);
15849
15849
  d.value.top = `${K + Y + +o.offset}px`, f.value = !1, c.value || (d.value.left = `${oe + ce / 2 - u.value.width / 2}px`), x({ inputEl: R, left: oe, width: ce });
15850
15850
  }, M = (R) => {
15851
- const { top: Y, left: oe, width: K } = S(R);
15851
+ const { top: Y, left: oe, width: K } = k(R);
15852
15852
  d.value.top = `${Y - +o.offset - u.value.height}px`, f.value = !0, x({ inputEl: R, left: oe, width: K });
15853
15853
  }, A = (R) => {
15854
15854
  if (o.autoPosition) {
15855
- const { left: Y, width: oe } = S(R), { left: K, right: ce } = u.value;
15855
+ const { left: Y, width: oe } = k(R), { left: K, right: ce } = u.value;
15856
15856
  if (!c.value) {
15857
15857
  if (Math.abs(K) !== Math.abs(ce)) {
15858
15858
  if (K <= 0)
15859
- return c.value = !0, k(Y);
15859
+ return c.value = !0, S(Y);
15860
15860
  if (ce >= document.documentElement.clientWidth)
15861
15861
  return c.value = !0, v(Y, oe);
15862
15862
  }
@@ -16046,10 +16046,10 @@ const ZP = ({
16046
16046
  }, g = (E) => Array.isArray(e.value) && l.value.enabled && e.value[0] && c.value ? E ? nn(c.value, e.value[0]) : Jt(c.value, e.value[0]) : !0, v = (E, ie) => {
16047
16047
  const ge = () => e.value ? ie ? e.value[0] || null : e.value[1] : null, Je = e.value && Array.isArray(e.value) ? ge() : null;
16048
16048
  return gt(xe(E.value), Je);
16049
- }, k = (E) => {
16049
+ }, S = (E) => {
16050
16050
  const ie = Array.isArray(e.value) ? e.value[0] : null;
16051
16051
  return E ? !Jt(c.value ?? null, ie) : !0;
16052
- }, m = (E, ie = !0) => (l.value.enabled || t.weekPicker) && Array.isArray(e.value) && e.value.length === 2 ? t.hideOffsetDates && !E.current ? !1 : gt(xe(E.value), e.value[ie ? 0 : 1]) : l.value.enabled ? v(E, ie) && k(ie) || gt(E.value, Array.isArray(e.value) ? e.value[0] : null) && g(ie) : !1, S = (E, ie) => {
16052
+ }, m = (E, ie = !0) => (l.value.enabled || t.weekPicker) && Array.isArray(e.value) && e.value.length === 2 ? t.hideOffsetDates && !E.current ? !1 : gt(xe(E.value), e.value[ie ? 0 : 1]) : l.value.enabled ? v(E, ie) && S(ie) || gt(E.value, Array.isArray(e.value) ? e.value[0] : null) && g(ie) : !1, k = (E, ie) => {
16053
16053
  if (Array.isArray(e.value) && e.value[0] && e.value.length === 1) {
16054
16054
  const ge = gt(E.value, c.value);
16055
16055
  return ie ? nn(e.value[0], E.value) && ge : Jt(e.value[0], E.value) && ge;
@@ -16160,8 +16160,8 @@ const ZP = ({
16160
16160
  dp__range_end: ge,
16161
16161
  dp__range_between: U(E),
16162
16162
  dp__date_hover: gt(E.value, c.value) && !ie && !ge && !t.weekPicker,
16163
- dp__date_hover_start: S(E, !0),
16164
- dp__date_hover_end: S(E, !1)
16163
+ dp__date_hover_start: k(E, !0),
16164
+ dp__date_hover_end: k(E, !1)
16165
16165
  };
16166
16166
  }, G = (E) => ({
16167
16167
  ...J(E),
@@ -16189,14 +16189,14 @@ const ZP = ({
16189
16189
  }, f = (z, U, R, Y) => {
16190
16190
  let oe = !1;
16191
16191
  return Y && (r.value.minDate || r.value.maxDate) ? r.value.minDate && r.value.maxDate ? oe = d(z, U, R) : (r.value.minDate && u(z, U) || r.value.maxDate && c(z, U)) && (oe = !0) : oe = !0, oe;
16192
- }, p = (z) => Array.isArray(r.value.allowedDates) && !r.value.allowedDates.length ? !0 : r.value.allowedDates ? !ec(z, r.value.allowedDates) : !1, g = (z) => !l(z), v = (z) => n.value.noDisabledRange ? !uy({ start: z[0], end: z[1] }).some((U) => g(U)) : !0, k = (z) => {
16192
+ }, p = (z) => Array.isArray(r.value.allowedDates) && !r.value.allowedDates.length ? !0 : r.value.allowedDates ? !ec(z, r.value.allowedDates) : !1, g = (z) => !l(z), v = (z) => n.value.noDisabledRange ? !uy({ start: z[0], end: z[1] }).some((U) => g(U)) : !0, S = (z) => {
16193
16193
  if (z) {
16194
16194
  const U = at(z);
16195
16195
  return U >= +e.yearRange[0] && U <= e.yearRange[1];
16196
16196
  }
16197
16197
  return !0;
16198
- }, m = (z, U) => !!(Array.isArray(z) && z[U] && (n.value.maxRange || n.value.minRange) && k(z[U])), S = (z, U, R = 0) => {
16199
- if (m(U, R) && k(z)) {
16198
+ }, m = (z, U) => !!(Array.isArray(z) && z[U] && (n.value.maxRange || n.value.minRange) && S(z[U])), k = (z, U, R = 0) => {
16199
+ if (m(U, R) && S(z)) {
16200
16200
  const Y = oy(z, U[R]), oe = Iy(U[R], z), K = oe.length === 1 ? 0 : oe.filter((te) => g(te)).length, ce = Math.abs(Y) - (n.value.minMaxRawRange ? 0 : K);
16201
16201
  if (n.value.minRange && n.value.maxRange)
16202
16202
  return ce >= +n.value.minRange && ce <= +n.value.maxRange;
@@ -16255,7 +16255,7 @@ const ZP = ({
16255
16255
  validateDate: l,
16256
16256
  validateMonthYearInRange: f,
16257
16257
  isDateRangeAllowed: v,
16258
- checkMinMaxRange: S,
16258
+ checkMinMaxRange: k,
16259
16259
  isValidTime: I,
16260
16260
  isTimeValid: j,
16261
16261
  isMonthValid: Q
@@ -16330,7 +16330,7 @@ const ZP = ({
16330
16330
  defaultedUI: d,
16331
16331
  getDefaultPattern: f,
16332
16332
  getDefaultStartTime: p
16333
- } = Wt(a), { checkMinMaxRange: g } = Si(a), v = q(), k = q(null), m = q(!1), S = q(!1), w = B(
16333
+ } = Wt(a), { checkMinMaxRange: g } = Si(a), v = q(), S = q(null), m = q(!1), k = q(!1), w = B(
16334
16334
  () => ({
16335
16335
  dp__pointer: !a.disabled && !a.readonly && !i.value.enabled,
16336
16336
  dp__disabled: a.disabled,
@@ -16352,7 +16352,7 @@ const ZP = ({
16352
16352
  i.value.format ?? f(),
16353
16353
  se ?? Ly({}, a.enableSeconds),
16354
16354
  a.inputValue,
16355
- S.value,
16355
+ k.value,
16356
16356
  a.formatLocale
16357
16357
  );
16358
16358
  }, x = (te) => {
@@ -16364,7 +16364,7 @@ const ZP = ({
16364
16364
  g(W, E, 0) && (v.value = G ? E : null);
16365
16365
  }
16366
16366
  }, P = () => {
16367
- S.value = !0;
16367
+ k.value = !0;
16368
16368
  }, M = (te) => {
16369
16369
  if (u.value.enabled)
16370
16370
  x(te);
@@ -16376,7 +16376,7 @@ const ZP = ({
16376
16376
  }, A = (te) => {
16377
16377
  var se;
16378
16378
  const ee = typeof te == "string" ? te : (se = te.target) == null ? void 0 : se.value;
16379
- ee !== "" ? (i.value.openMenu && !a.isMenuOpen && r("open"), M(ee), r("set-input-date", v.value)) : y(), S.value = !1, r("update:input-value", ee), r("text-input", te, v.value);
16379
+ ee !== "" ? (i.value.openMenu && !a.isMenuOpen && r("open"), M(ee), r("set-input-date", v.value)) : y(), k.value = !1, r("update:input-value", ee), r("text-input", te, v.value);
16380
16380
  }, I = (te) => {
16381
16381
  i.value.enabled ? (M(te.target.value), i.value.enterSubmit && Jf(v.value) && a.inputValue !== "" ? (r("set-input-date", v.value, !0), v.value = null) : i.value.enterSubmit && a.inputValue === "" && (v.value = null, r("clear"))) : Q(te);
16382
16382
  }, H = (te, se) => {
@@ -16384,7 +16384,7 @@ const ZP = ({
16384
16384
  }, j = () => {
16385
16385
  m.value = !0, r("focus"), Ut().then(() => {
16386
16386
  var te;
16387
- i.value.enabled && i.value.selectOnFocus && ((te = k.value) == null || te.select());
16387
+ i.value.enabled && i.value.selectOnFocus && ((te = S.value) == null || te.select());
16388
16388
  });
16389
16389
  }, Q = (te) => {
16390
16390
  if (ti(te, l.value, !0), i.value.enabled && i.value.openMenu && !s.value.input) {
@@ -16404,7 +16404,7 @@ const ZP = ({
16404
16404
  }
16405
16405
  }, oe = () => {
16406
16406
  var te;
16407
- (te = k.value) == null || te.focus({ preventScroll: !0 });
16407
+ (te = S.value) == null || te.focus({ preventScroll: !0 });
16408
16408
  }, K = (te) => {
16409
16409
  v.value = te;
16410
16410
  }, ce = (te) => {
@@ -16438,7 +16438,7 @@ const ZP = ({
16438
16438
  key: 1,
16439
16439
  id: te.uid ? `dp-input-${te.uid}` : void 0,
16440
16440
  ref_key: "inputRef",
16441
- ref: k,
16441
+ ref: S,
16442
16442
  "data-test-id": "dp-input",
16443
16443
  name: te.name,
16444
16444
  class: re(w.value),
@@ -16554,7 +16554,7 @@ const ZP = ({
16554
16554
  "text-input"
16555
16555
  ],
16556
16556
  setup(e, { expose: t, emit: n }) {
16557
- const r = n, a = e, i = En(), o = q(!1), s = ol(a, "modelValue"), l = ol(a, "timezone"), u = q(null), c = q(null), d = q(null), f = q(!1), p = q(null), g = q(!1), v = q(!1), k = q(!1), m = q(!1), { setMenuFocused: S, setShiftKey: w } = Ny(), { clearArrowNav: y } = _i(), { validateDate: O, isValidTime: x } = Si(a), {
16557
+ const r = n, a = e, i = En(), o = q(!1), s = ol(a, "modelValue"), l = ol(a, "timezone"), u = q(null), c = q(null), d = q(null), f = q(!1), p = q(null), g = q(!1), v = q(!1), S = q(!1), m = q(!1), { setMenuFocused: k, setShiftKey: w } = Ny(), { clearArrowNav: y } = _i(), { validateDate: O, isValidTime: x } = Si(a), {
16558
16558
  defaultedTransitions: P,
16559
16559
  defaultedTextInput: M,
16560
16560
  defaultedInline: A,
@@ -16606,7 +16606,7 @@ const ZP = ({
16606
16606
  dp__theme_dark: a.dark,
16607
16607
  dp__theme_light: !a.dark,
16608
16608
  dp__flex_display: A.value.enabled,
16609
- "dp--flex-display-collapsed": k.value,
16609
+ "dp--flex-display-collapsed": S.value,
16610
16610
  dp__flex_display_with_input: A.value.input
16611
16611
  })
16612
16612
  ), le = B(() => a.dark ? "dp__theme_dark" : "dp__theme_light"), je = B(() => a.teleport ? {
@@ -16621,7 +16621,7 @@ const ZP = ({
16621
16621
  var de;
16622
16622
  o.value && te();
16623
16623
  const Te = ((de = c.value) == null ? void 0 : de.$el.getBoundingClientRect().width) ?? 0;
16624
- k.value = document.body.offsetWidth <= Te;
16624
+ S.value = document.body.offsetWidth <= Te;
16625
16625
  }, be = (de) => {
16626
16626
  de.key === "Tab" && !A.value.enabled && !a.teleport && I.value.tabOutClosesMenu && (p.value.contains(document.activeElement) || ht()), v.value = de.shiftKey;
16627
16627
  }, We = (de) => {
@@ -16645,7 +16645,7 @@ const ZP = ({
16645
16645
  }, Mt = () => {
16646
16646
  M.value.enabled || (G.value = null);
16647
16647
  }, ht = (de = !1) => {
16648
- de && G.value && I.value.setDateOnMenuClose && Me(), A.value.enabled || (o.value && (o.value = !1, ce.value = !1, S(!1), w(!1), y(), r("closed"), J.value && W(s.value)), Mt(), r("blur"));
16648
+ de && G.value && I.value.setDateOnMenuClose && Me(), A.value.enabled || (o.value && (o.value = !1, ce.value = !1, k(!1), w(!1), y(), r("closed"), J.value && W(s.value)), Mt(), r("blur"));
16649
16649
  }, An = (de, Te, Ne = !1) => {
16650
16650
  if (!de) {
16651
16651
  G.value = null;
@@ -16758,7 +16758,7 @@ const ZP = ({
16758
16758
  class: { [le.value]: !0, "dp--menu-wrapper": de.teleport },
16759
16759
  "open-on-top": _(oe),
16760
16760
  "no-overlay-focus": we.value,
16761
- collapse: k.value,
16761
+ collapse: S.value,
16762
16762
  "get-input-rect": $,
16763
16763
  "is-text-input-date": m.value,
16764
16764
  onClosePicker: ht,
@@ -16985,47 +16985,47 @@ var vA = [
16985
16985
  }, qd = { selector: void 0, target: void 0 }, OA = Se({
16986
16986
  props: EA,
16987
16987
  setup: function(e, t) {
16988
- var n = e.init ? Yr(Yr({}, e.init), qd) : Yr({}, qd), r = Un(e), a = r.disabled, i = r.modelValue, o = r.tagName, s = q(null), l = null, u = e.id || Vy("tiny-vue"), c = e.init && e.init.inline || e.inline, d = !!t.attrs["onUpdate:modelValue"], f = !0, p = e.initialValue ? e.initialValue : "", g = "", v = function(S) {
16988
+ var n = e.init ? Yr(Yr({}, e.init), qd) : Yr({}, qd), r = Un(e), a = r.disabled, i = r.modelValue, o = r.tagName, s = q(null), l = null, u = e.id || Vy("tiny-vue"), c = e.init && e.init.inline || e.inline, d = !!t.attrs["onUpdate:modelValue"], f = !0, p = e.initialValue ? e.initialValue : "", g = "", v = function(k) {
16989
16989
  return d ? function() {
16990
16990
  return i != null && i.value ? i.value : "";
16991
16991
  } : function() {
16992
- return S ? p : g;
16992
+ return k ? p : g;
16993
16993
  };
16994
- }, k = function() {
16995
- var S = v(f), w = Yr(Yr({}, n), { readonly: e.disabled, target: s.value, plugins: SA(n.plugins, e.plugins), toolbar: e.toolbar || n.toolbar, inline: c, license_key: e.licenseKey, setup: function(y) {
16994
+ }, S = function() {
16995
+ var k = v(f), w = Yr(Yr({}, n), { readonly: e.disabled, target: s.value, plugins: SA(n.plugins, e.plugins), toolbar: e.toolbar || n.toolbar, inline: c, license_key: e.licenseKey, setup: function(y) {
16996
16996
  l = y, y.on("init", function(O) {
16997
- return wA(O, e, t, y, i, S);
16997
+ return wA(O, e, t, y, i, k);
16998
16998
  }), typeof n.setup == "function" && n.setup(y);
16999
16999
  } });
17000
17000
  _A(s.value) && (s.value.style.visibility = ""), Mi().init(w), f = !1;
17001
17001
  };
17002
- et(a, function(S) {
17002
+ et(a, function(k) {
17003
17003
  var w;
17004
- l !== null && (typeof ((w = l.mode) === null || w === void 0 ? void 0 : w.set) == "function" ? l.mode.set(S ? "readonly" : "design") : l.setMode(S ? "readonly" : "design"));
17005
- }), et(o, function(S) {
17004
+ l !== null && (typeof ((w = l.mode) === null || w === void 0 ? void 0 : w.set) == "function" ? l.mode.set(k ? "readonly" : "design") : l.setMode(k ? "readonly" : "design"));
17005
+ }), et(o, function(k) {
17006
17006
  var w;
17007
17007
  d || (g = l.getContent()), (w = Mi()) === null || w === void 0 || w.remove(l), Ut(function() {
17008
- return k();
17008
+ return S();
17009
17009
  });
17010
17010
  }), wt(function() {
17011
17011
  if (Mi() !== null)
17012
- k();
17012
+ S();
17013
17013
  else if (s.value && s.value.ownerDocument) {
17014
- var S = e.cloudChannel ? e.cloudChannel : "7", w = e.apiKey ? e.apiKey : "no-api-key", y = kA(e.tinymceScriptSrc) ? "https://cdn.tiny.cloud/1/".concat(w, "/tinymce/").concat(S, "/tinymce.min.js") : e.tinymceScriptSrc;
17015
- xA.load(s.value.ownerDocument, y, k);
17014
+ var k = e.cloudChannel ? e.cloudChannel : "7", w = e.apiKey ? e.apiKey : "no-api-key", y = kA(e.tinymceScriptSrc) ? "https://cdn.tiny.cloud/1/".concat(w, "/tinymce/").concat(k, "/tinymce.min.js") : e.tinymceScriptSrc;
17015
+ xA.load(s.value.ownerDocument, y, S);
17016
17016
  }
17017
17017
  }), Fp(function() {
17018
17018
  Mi() !== null && Mi().remove(l);
17019
17019
  }), c || (J_(function() {
17020
- f || k();
17020
+ f || S();
17021
17021
  }), Q_(function() {
17022
- var S;
17023
- d || (g = l.getContent()), (S = Mi()) === null || S === void 0 || S.remove(l);
17022
+ var k;
17023
+ d || (g = l.getContent()), (k = Mi()) === null || k === void 0 || k.remove(l);
17024
17024
  }));
17025
- var m = function(S) {
17025
+ var m = function(k) {
17026
17026
  var w;
17027
- g = l.getContent(), (w = Mi()) === null || w === void 0 || w.remove(l), n = Yr(Yr(Yr({}, n), S), qd), Ut(function() {
17028
- return k();
17027
+ g = l.getContent(), (w = Mi()) === null || w === void 0 || w.remove(l), n = Yr(Yr(Yr({}, n), k), qd), Ut(function() {
17028
+ return S();
17029
17029
  });
17030
17030
  };
17031
17031
  return t.expose({
@@ -17074,13 +17074,13 @@ const MA = { class: "relative w-full" }, IA = ["value", "placeholder"], LA = {
17074
17074
  l.addListener("place_changed", () => {
17075
17075
  var O, x, P, M, A, I, H, j, Q, z, U;
17076
17076
  i.value = "";
17077
- const u = l.getPlace(), c = (O = u.geometry) == null ? void 0 : O.location, d = u.address_components ?? [], f = c == null ? void 0 : c.lat(), p = c == null ? void 0 : c.lng(), g = (x = d.find((R) => R.types.includes("postal_code"))) == null ? void 0 : x.long_name, v = (P = d.find((R) => R.types.includes("route"))) == null ? void 0 : P.long_name, k = parseInt(((A = (M = d.find((R) => R.types.includes("street_number"))) == null ? void 0 : M.long_name.split(/(\d*)(.*)/s)) == null ? void 0 : A[1]) ?? "", 10), m = (H = (I = d.find((R) => R.types.includes("street_number"))) == null ? void 0 : I.long_name.split(/(\d*)(.*)/s)) == null ? void 0 : H[2], S = (j = d.find((R) => R.types.includes("locality"))) == null ? void 0 : j.long_name, w = (Q = d.find((R) => R.types.includes("administrative_area_level_1"))) == null ? void 0 : Q.long_name, y = (z = d.find((R) => R.types.includes("administrative_area_level_1"))) == null ? void 0 : z.short_name;
17077
+ const u = l.getPlace(), c = (O = u.geometry) == null ? void 0 : O.location, d = u.address_components ?? [], f = c == null ? void 0 : c.lat(), p = c == null ? void 0 : c.lng(), g = (x = d.find((R) => R.types.includes("postal_code"))) == null ? void 0 : x.long_name, v = (P = d.find((R) => R.types.includes("route"))) == null ? void 0 : P.long_name, S = parseInt(((A = (M = d.find((R) => R.types.includes("street_number"))) == null ? void 0 : M.long_name.split(/(\d*)(.*)/s)) == null ? void 0 : A[1]) ?? "", 10), m = (H = (I = d.find((R) => R.types.includes("street_number"))) == null ? void 0 : I.long_name.split(/(\d*)(.*)/s)) == null ? void 0 : H[2], k = (j = d.find((R) => R.types.includes("locality"))) == null ? void 0 : j.long_name, w = (Q = d.find((R) => R.types.includes("administrative_area_level_1"))) == null ? void 0 : Q.long_name, y = (z = d.find((R) => R.types.includes("administrative_area_level_1"))) == null ? void 0 : z.short_name;
17078
17078
  (U = a.value) == null || U.blur(), r("update:modelValue", {
17079
17079
  postcode: g,
17080
17080
  street: v,
17081
- number: k > 0 ? k : void 0,
17081
+ number: S > 0 ? S : void 0,
17082
17082
  numberSuffix: m,
17083
- city: S,
17083
+ city: k,
17084
17084
  province: w,
17085
17085
  provinceShort: y,
17086
17086
  lat: f,
@@ -17323,10 +17323,10 @@ const UA = ["type", "tabindex"], WA = ["value", "tabindex"], VA = /* @__PURE__ *
17323
17323
  }), v = B(() => {
17324
17324
  const A = n.type;
17325
17325
  return c.value ? I9(A, i) : void 0;
17326
- }), k = B(() => {
17326
+ }), S = B(() => {
17327
17327
  const A = n.type, I = D9(A);
17328
17328
  return d.value ? { ...I, init: { ...I.init, ...n.init } } : void 0;
17329
- }), m = B(() => n.type === "license" ? "text" : n.type), S = B(() => ({
17329
+ }), m = B(() => n.type === "license" ? "text" : n.type), k = B(() => ({
17330
17330
  id: i,
17331
17331
  type: m.value,
17332
17332
  required: n.required,
@@ -17392,7 +17392,7 @@ const UA = ["type", "tabindex"], WA = ["value", "tabindex"], VA = /* @__PURE__ *
17392
17392
  Pe(qA, it({
17393
17393
  modelValue: u.value,
17394
17394
  "onUpdate:modelValue": I[0] || (I[0] = (j) => u.value = j)
17395
- }, { ...S.value, ...v.value, ...k.value, ...A.$attrs }, {
17395
+ }, { ...k.value, ...v.value, ...S.value, ...A.$attrs }, {
17396
17396
  custom: n.custom,
17397
17397
  tabindex: n.tabindex,
17398
17398
  class: _(jA)(A.type, A.disabled, A.readonly, A.loading, A.hasError, o.value, A.plain, A.$slots, A.$attrs),
@@ -17496,7 +17496,7 @@ function ZA(e, t, n) {
17496
17496
  if (r.value) {
17497
17497
  let g = (f.clipboardData || /* istanbul ignore next */
17498
17498
  window.clipboardData).getData("Text"), v = r.value;
17499
- typeof v == "string" && (v = new RegExp(v)), g.split("").every((k) => !!k.match(v)) || f.preventDefault();
17499
+ typeof v == "string" && (v = new RegExp(v)), g.split("").every((S) => !!S.match(v)) || f.preventDefault();
17500
17500
  }
17501
17501
  t.emit("paste", f, a);
17502
17502
  };
@@ -17564,9 +17564,9 @@ function rO(e, t, n) {
17564
17564
  multipleLabel: p,
17565
17565
  object: g,
17566
17566
  loading: v,
17567
- delay: k,
17567
+ delay: S,
17568
17568
  resolveOnLoad: m,
17569
- minChars: S,
17569
+ minChars: k,
17570
17570
  filterResults: w,
17571
17571
  clearOnSearch: y,
17572
17572
  clearOnSelect: O,
@@ -17823,7 +17823,7 @@ function rO(e, t, n) {
17823
17823
  [He.value[0]]: Oe
17824
17824
  }), Ql = () => {
17825
17825
  Ce.value = et(E, (ae) => {
17826
- ae.length < S.value || !ae && S.value !== 0 || (We.value = !0, y.value && (be.value = []), setTimeout(() => {
17826
+ ae.length < k.value || !ae && k.value !== 0 || (We.value = !0, y.value && (be.value = []), setTimeout(() => {
17827
17827
  ae == E.value && r.value(E.value, J).then((Oe) => {
17828
17828
  (ae == E.value || !E.value) && (be.value = Oe, Je.value = Mt.value.filter((ft) => ft[te.value] !== !0)[0] || null, We.value = !1);
17829
17829
  }).catch(
@@ -17832,12 +17832,12 @@ function rO(e, t, n) {
17832
17832
  console.error(Oe);
17833
17833
  }
17834
17834
  );
17835
- }, k.value));
17835
+ }, S.value));
17836
17836
  }, { flush: "sync" });
17837
17837
  };
17838
17838
  if (a.value !== "single" && !Xr(W.value) && !Array.isArray(W.value))
17839
17839
  throw new Error(`v-model must be an array when using "${a.value}" mode`);
17840
- return r && typeof r.value == "function" ? m.value ? ko(So) : g.value == !0 && So() : (be.value = r.value, So()), k.value > -1 && Ql(), et(k, (ae, Oe) => {
17840
+ return r && typeof r.value == "function" ? m.value ? ko(So) : g.value == !0 && So() : (be.value = r.value, So()), S.value > -1 && Ql(), et(S, (ae, Oe) => {
17841
17841
  Ce.value && Ce.value(), ae >= 0 && Ql();
17842
17842
  }), et(W, (ae) => {
17843
17843
  if (Xr(ae)) {
@@ -17903,7 +17903,7 @@ function aO(e, t, n) {
17903
17903
  groupSelect: u,
17904
17904
  disabledProp: c,
17905
17905
  groupOptions: d
17906
- } = Un(e), f = n.fo, p = n.fg, g = n.handleOptionClick, v = n.handleGroupClick, k = n.search, m = n.pointer, S = n.setPointer, w = n.clearPointer, y = n.multiselect, O = n.isOpen, x = B(() => f.value.filter((W) => !W[c.value])), P = B(() => p.value.filter((W) => !W[c.value])), M = Yt(() => l.value !== "single" && u.value), A = Yt(() => m.value && m.value.group), I = B(() => J(m.value)), H = B(() => {
17906
+ } = Un(e), f = n.fo, p = n.fg, g = n.handleOptionClick, v = n.handleGroupClick, S = n.search, m = n.pointer, k = n.setPointer, w = n.clearPointer, y = n.multiselect, O = n.isOpen, x = B(() => f.value.filter((W) => !W[c.value])), P = B(() => p.value.filter((W) => !W[c.value])), M = Yt(() => l.value !== "single" && u.value), A = Yt(() => m.value && m.value.group), I = B(() => J(m.value)), H = B(() => {
17907
17907
  const W = A.value ? m.value : (
17908
17908
  /* istanbul ignore next */
17909
17909
  J(m.value)
@@ -17920,19 +17920,19 @@ function aO(e, t, n) {
17920
17920
  const W = J(m.value).__VISIBLE__.filter((E) => !E[c.value]);
17921
17921
  return W[W.map((E) => E[r.value]).indexOf(m.value[r.value]) + 1];
17922
17922
  }), Y = B(() => [...H.value.__VISIBLE__.filter((W) => !W[c.value])].slice(-1)[0]), oe = B(() => [...Q.value.__VISIBLE__.filter((W) => !W[c.value])].slice(-1)[0]), K = (W) => m.value && (!W.group && m.value[r.value] === W[r.value] || W.group !== void 0 && m.value[o.value] === W[o.value]) ? !0 : void 0, ce = () => {
17923
- S(x.value[0] || null);
17923
+ k(x.value[0] || null);
17924
17924
  }, te = () => {
17925
17925
  !m.value || m.value[c.value] === !0 || (A.value ? v(m.value) : g(m.value));
17926
17926
  }, se = () => {
17927
17927
  if (m.value === null)
17928
- S((s.value && M.value ? P.value[0].__CREATE__ ? x.value[0] : P.value[0] : x.value[0]) || null);
17928
+ k((s.value && M.value ? P.value[0].__CREATE__ ? x.value[0] : P.value[0] : x.value[0]) || null);
17929
17929
  else if (s.value && M.value) {
17930
17930
  let W = A.value ? z.value : R.value;
17931
- W === void 0 && (W = j.value, W.__CREATE__ && (W = W[d.value][0])), S(W || /* istanbul ignore next */
17931
+ W === void 0 && (W = j.value, W.__CREATE__ && (W = W[d.value][0])), k(W || /* istanbul ignore next */
17932
17932
  null);
17933
17933
  } else {
17934
17934
  let W = x.value.map((E) => E[r.value]).indexOf(m.value[r.value]) + 1;
17935
- x.value.length <= W && (W = 0), S(x.value[W] || null);
17935
+ x.value.length <= W && (W = 0), k(x.value[W] || null);
17936
17936
  }
17937
17937
  Ut(() => {
17938
17938
  G();
@@ -17940,14 +17940,14 @@ function aO(e, t, n) {
17940
17940
  }, ee = () => {
17941
17941
  if (m.value === null) {
17942
17942
  let W = x.value[x.value.length - 1];
17943
- s.value && M.value && (W = oe.value, W === void 0 && (W = Q.value)), S(W || null);
17943
+ s.value && M.value && (W = oe.value, W === void 0 && (W = Q.value)), k(W || null);
17944
17944
  } else if (s.value && M.value) {
17945
17945
  let W = A.value ? Y.value : U.value;
17946
- W === void 0 && (W = A.value ? H.value : I.value, W.__CREATE__ && (W = Y.value, W === void 0 && (W = H.value))), S(W || /* istanbul ignore next */
17946
+ W === void 0 && (W = A.value ? H.value : I.value, W.__CREATE__ && (W = Y.value, W === void 0 && (W = H.value))), k(W || /* istanbul ignore next */
17947
17947
  null);
17948
17948
  } else {
17949
17949
  let W = x.value.map((E) => E[r.value]).indexOf(m.value[r.value]) - 1;
17950
- W < 0 && (W = x.value.length - 1), S(x.value[W] || null);
17950
+ W < 0 && (W = x.value.length - 1), k(x.value[W] || null);
17951
17951
  }
17952
17952
  Ut(() => {
17953
17953
  G();
@@ -17959,7 +17959,7 @@ function aO(e, t, n) {
17959
17959
  let E = W.parentElement.parentElement;
17960
17960
  s.value && (E = A.value ? W.parentElement.parentElement.parentElement : W.parentElement.parentElement.parentElement.parentElement), W.offsetTop + W.offsetHeight > E.clientHeight + E.scrollTop && (E.scrollTop = W.offsetTop + W.offsetHeight - E.clientHeight), W.offsetTop < E.scrollTop && (E.scrollTop = W.offsetTop);
17961
17961
  };
17962
- return et(k, (W) => {
17962
+ return et(S, (W) => {
17963
17963
  i.value && (W.length && a.value ? ce() : w());
17964
17964
  }), et(O, (W) => {
17965
17965
  if (W && y && y.value) {
@@ -18340,7 +18340,7 @@ function RO(e, t) {
18340
18340
  }
18341
18341
  function Bh(e, t) {
18342
18342
  t === void 0 && (t = {});
18343
- var n = t, r = n.placement, a = r === void 0 ? e.placement : r, i = n.strategy, o = i === void 0 ? e.strategy : i, s = n.boundary, l = s === void 0 ? dO : s, u = n.rootBoundary, c = u === void 0 ? Ky : u, d = n.elementContext, f = d === void 0 ? Hs : d, p = n.altBoundary, g = p === void 0 ? !1 : p, v = n.padding, k = v === void 0 ? 0 : v, m = DO(typeof k != "number" ? k : RO(k, jc)), S = f === Hs ? fO : Hs, w = e.rects.popper, y = e.elements[g ? S : f], O = LO(no(y) ? y : y.contextElement || ki(e.elements.popper), l, c, o), x = is(e.elements.reference), P = Qy({
18343
+ var n = t, r = n.placement, a = r === void 0 ? e.placement : r, i = n.strategy, o = i === void 0 ? e.strategy : i, s = n.boundary, l = s === void 0 ? dO : s, u = n.rootBoundary, c = u === void 0 ? Ky : u, d = n.elementContext, f = d === void 0 ? Hs : d, p = n.altBoundary, g = p === void 0 ? !1 : p, v = n.padding, S = v === void 0 ? 0 : v, m = DO(typeof S != "number" ? S : RO(S, jc)), k = f === Hs ? fO : Hs, w = e.rects.popper, y = e.elements[g ? k : f], O = LO(no(y) ? y : y.contextElement || ki(e.elements.popper), l, c, o), x = is(e.elements.reference), P = Qy({
18344
18344
  reference: x,
18345
18345
  element: w,
18346
18346
  placement: a
@@ -18390,8 +18390,8 @@ function $O(e) {
18390
18390
  }, d = [], f = !1, p = {
18391
18391
  state: c,
18392
18392
  setOptions: function(m) {
18393
- var S = typeof m == "function" ? m(c.options) : m;
18394
- v(), c.options = Object.assign({}, i, c.options, S), c.scrollParents = {
18393
+ var k = typeof m == "function" ? m(c.options) : m;
18394
+ v(), c.options = Object.assign({}, i, c.options, k), c.scrollParents = {
18395
18395
  reference: no(s) ? Js(s) : s.contextElement ? Js(s.contextElement) : [],
18396
18396
  popper: Js(l)
18397
18397
  };
@@ -18407,10 +18407,10 @@ function $O(e) {
18407
18407
  // prefer the async Popper#update method
18408
18408
  forceUpdate: function() {
18409
18409
  if (!f) {
18410
- var m = c.elements, S = m.reference, w = m.popper;
18411
- if (I0(S, w)) {
18410
+ var m = c.elements, k = m.reference, w = m.popper;
18411
+ if (I0(k, w)) {
18412
18412
  c.rects = {
18413
- reference: lO(S, Hc(w), c.options.strategy === "fixed"),
18413
+ reference: lO(k, Hc(w), c.options.strategy === "fixed"),
18414
18414
  popper: Xy(w)
18415
18415
  }, c.reset = !1, c.placement = c.options.placement, c.orderedModifiers.forEach(function(I) {
18416
18416
  return c.modifiersData[I.name] = Object.assign({}, I.data);
@@ -18434,8 +18434,8 @@ function $O(e) {
18434
18434
  // Async and optimistically optimized update – it will not be executed if
18435
18435
  // not necessary (debounced to run at most once-per-tick)
18436
18436
  update: TO(function() {
18437
- return new Promise(function(k) {
18438
- p.forceUpdate(), k(c);
18437
+ return new Promise(function(S) {
18438
+ p.forceUpdate(), S(c);
18439
18439
  });
18440
18440
  }),
18441
18441
  destroy: function() {
@@ -18444,12 +18444,12 @@ function $O(e) {
18444
18444
  };
18445
18445
  if (!I0(s, l))
18446
18446
  return p;
18447
- p.setOptions(u).then(function(k) {
18448
- !f && u.onFirstUpdate && u.onFirstUpdate(k);
18447
+ p.setOptions(u).then(function(S) {
18448
+ !f && u.onFirstUpdate && u.onFirstUpdate(S);
18449
18449
  });
18450
18450
  function g() {
18451
- c.orderedModifiers.forEach(function(k) {
18452
- var m = k.name, S = k.options, w = S === void 0 ? {} : S, y = k.effect;
18451
+ c.orderedModifiers.forEach(function(S) {
18452
+ var m = S.name, k = S.options, w = k === void 0 ? {} : k, y = S.effect;
18453
18453
  if (typeof y == "function") {
18454
18454
  var O = y({
18455
18455
  state: c,
@@ -18463,8 +18463,8 @@ function $O(e) {
18463
18463
  });
18464
18464
  }
18465
18465
  function v() {
18466
- d.forEach(function(k) {
18467
- return k();
18466
+ d.forEach(function(S) {
18467
+ return S();
18468
18468
  }), d = [];
18469
18469
  }
18470
18470
  return p;
@@ -18520,15 +18520,15 @@ function jO(e, t) {
18520
18520
  };
18521
18521
  }
18522
18522
  function L0(e) {
18523
- var t, n = e.popper, r = e.popperRect, a = e.placement, i = e.variation, o = e.offsets, s = e.position, l = e.gpuAcceleration, u = e.adaptive, c = e.roundOffsets, d = e.isFixed, f = o.x, p = f === void 0 ? 0 : f, g = o.y, v = g === void 0 ? 0 : g, k = typeof c == "function" ? c({
18523
+ var t, n = e.popper, r = e.popperRect, a = e.placement, i = e.variation, o = e.offsets, s = e.position, l = e.gpuAcceleration, u = e.adaptive, c = e.roundOffsets, d = e.isFixed, f = o.x, p = f === void 0 ? 0 : f, g = o.y, v = g === void 0 ? 0 : g, S = typeof c == "function" ? c({
18524
18524
  x: p,
18525
18525
  y: v
18526
18526
  }) : {
18527
18527
  x: p,
18528
18528
  y: v
18529
18529
  };
18530
- p = k.x, v = k.y;
18531
- var m = o.hasOwnProperty("x"), S = o.hasOwnProperty("y"), w = Aa, y = Nr, O = window;
18530
+ p = S.x, v = S.y;
18531
+ var m = o.hasOwnProperty("x"), k = o.hasOwnProperty("y"), w = Aa, y = Nr, O = window;
18532
18532
  if (u) {
18533
18533
  var x = Hc(n), P = "clientHeight", M = "clientWidth";
18534
18534
  if (x === pr(n) && (x = ki(n), Ra(x).position !== "static" && s === "absolute" && (P = "scrollHeight", M = "scrollWidth")), x = x, a === Nr || (a === Aa || a === fi) && i === yl) {
@@ -18559,9 +18559,9 @@ function L0(e) {
18559
18559
  };
18560
18560
  if (p = j.x, v = j.y, l) {
18561
18561
  var Q;
18562
- return Object.assign({}, H, (Q = {}, Q[y] = S ? "0" : "", Q[w] = m ? "0" : "", Q.transform = (O.devicePixelRatio || 1) <= 1 ? "translate(" + p + "px, " + v + "px)" : "translate3d(" + p + "px, " + v + "px, 0)", Q));
18562
+ return Object.assign({}, H, (Q = {}, Q[y] = k ? "0" : "", Q[w] = m ? "0" : "", Q.transform = (O.devicePixelRatio || 1) <= 1 ? "translate(" + p + "px, " + v + "px)" : "translate3d(" + p + "px, " + v + "px, 0)", Q));
18563
18563
  }
18564
- return Object.assign({}, H, (t = {}, t[y] = S ? v + "px" : "", t[w] = m ? p + "px" : "", t.transform = "", t));
18564
+ return Object.assign({}, H, (t = {}, t[y] = k ? v + "px" : "", t[w] = m ? p + "px" : "", t.transform = "", t));
18565
18565
  }
18566
18566
  function UO(e) {
18567
18567
  var t = e.state, n = e.options, r = n.gpuAcceleration, a = r === void 0 ? !0 : r, i = n.adaptive, o = i === void 0 ? !0 : i, s = n.roundOffsets, l = s === void 0 ? !0 : s, u = {
@@ -18648,12 +18648,12 @@ function JO(e, t, n) {
18648
18648
  return r > n ? n : r;
18649
18649
  }
18650
18650
  function QO(e) {
18651
- var t = e.state, n = e.options, r = e.name, a = n.mainAxis, i = a === void 0 ? !0 : a, o = n.altAxis, s = o === void 0 ? !1 : o, l = n.boundary, u = n.rootBoundary, c = n.altBoundary, d = n.padding, f = n.tether, p = f === void 0 ? !0 : f, g = n.tetherOffset, v = g === void 0 ? 0 : g, k = Bh(t, {
18651
+ var t = e.state, n = e.options, r = e.name, a = n.mainAxis, i = a === void 0 ? !0 : a, o = n.altAxis, s = o === void 0 ? !1 : o, l = n.boundary, u = n.rootBoundary, c = n.altBoundary, d = n.padding, f = n.tether, p = f === void 0 ? !0 : f, g = n.tetherOffset, v = g === void 0 ? 0 : g, S = Bh(t, {
18652
18652
  boundary: l,
18653
18653
  rootBoundary: u,
18654
18654
  padding: d,
18655
18655
  altBoundary: c
18656
- }), m = ri(t.placement), S = ss(t.placement), w = !S, y = Jy(m), O = KO(y), x = t.modifiersData.popperOffsets, P = t.rects.reference, M = t.rects.popper, A = typeof v == "function" ? v(Object.assign({}, t.rects, {
18656
+ }), m = ri(t.placement), k = ss(t.placement), w = !k, y = Jy(m), O = KO(y), x = t.modifiersData.popperOffsets, P = t.rects.reference, M = t.rects.popper, A = typeof v == "function" ? v(Object.assign({}, t.rects, {
18657
18657
  placement: t.placement
18658
18658
  })) : v, I = typeof A == "number" ? {
18659
18659
  mainAxis: A,
@@ -18667,14 +18667,14 @@ function QO(e) {
18667
18667
  };
18668
18668
  if (x) {
18669
18669
  if (i) {
18670
- var Q, z = y === "y" ? Nr : Aa, U = y === "y" ? ha : fi, R = y === "y" ? "height" : "width", Y = x[y], oe = Y + k[z], K = Y - k[U], ce = p ? -M[R] / 2 : 0, te = S === os ? P[R] : M[R], se = S === os ? -M[R] : -P[R], ee = t.elements.arrow, J = p && ee ? Xy(ee) : {
18670
+ var Q, z = y === "y" ? Nr : Aa, U = y === "y" ? ha : fi, R = y === "y" ? "height" : "width", Y = x[y], oe = Y + S[z], K = Y - S[U], ce = p ? -M[R] / 2 : 0, te = k === os ? P[R] : M[R], se = k === os ? -M[R] : -P[R], ee = t.elements.arrow, J = p && ee ? Xy(ee) : {
18671
18671
  width: 0,
18672
18672
  height: 0
18673
18673
  }, G = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : Zy(), W = G[z], E = G[U], ie = Lu(0, P[R], J[R]), ge = w ? P[R] / 2 - ce - ie - W - I.mainAxis : te - ie - W - I.mainAxis, Je = w ? -P[R] / 2 + ce + ie + E + I.mainAxis : se + ie + E + I.mainAxis, le = t.elements.arrow && Hc(t.elements.arrow), je = le ? y === "y" ? le.clientTop || 0 : le.clientLeft || 0 : 0, me = (Q = H == null ? void 0 : H[y]) != null ? Q : 0, we = Y + ge - me - je, $ = Y + Je - me, _e = Lu(p ? nc(oe, we) : oe, Y, p ? Yi(K, $) : K);
18674
18674
  x[y] = _e, j[y] = _e - Y;
18675
18675
  }
18676
18676
  if (s) {
18677
- var ke, be = y === "x" ? Nr : Aa, We = y === "x" ? ha : fi, Ce = x[O], Z = O === "y" ? "height" : "width", ue = Ce + k[be], Me = Ce - k[We], tt = [Nr, Aa].indexOf(m) !== -1, Ie = (ke = H == null ? void 0 : H[O]) != null ? ke : 0, ze = tt ? ue : Ce - P[Z] - M[Z] - Ie + I.altAxis, Mt = tt ? Ce + P[Z] + M[Z] - Ie - I.altAxis : Me, ht = p && tt ? JO(ze, Ce, Mt) : Lu(p ? ze : ue, Ce, p ? Mt : Me);
18677
+ var ke, be = y === "x" ? Nr : Aa, We = y === "x" ? ha : fi, Ce = x[O], Z = O === "y" ? "height" : "width", ue = Ce + S[be], Me = Ce - S[We], tt = [Nr, Aa].indexOf(m) !== -1, Ie = (ke = H == null ? void 0 : H[O]) != null ? ke : 0, ze = tt ? ue : Ce - P[Z] - M[Z] - Ie + I.altAxis, Mt = tt ? Ce + P[Z] + M[Z] - Ie - I.altAxis : Me, ht = p && tt ? JO(ze, Ce, Mt) : Lu(p ? ze : ue, Ce, p ? Mt : Me);
18678
18678
  x[O] = ht, j[O] = ht - Ce;
18679
18679
  }
18680
18680
  t.modifiersData[r] = j;
@@ -18735,7 +18735,7 @@ function rM(e) {
18735
18735
  function aM(e) {
18736
18736
  var t = e.state, n = e.options, r = e.name;
18737
18737
  if (!t.modifiersData[r]._skip) {
18738
- for (var a = n.mainAxis, i = a === void 0 ? !0 : a, o = n.altAxis, s = o === void 0 ? !0 : o, l = n.fallbackPlacements, u = n.padding, c = n.boundary, d = n.rootBoundary, f = n.altBoundary, p = n.flipVariations, g = p === void 0 ? !0 : p, v = n.allowedAutoPlacements, k = t.options.placement, m = ri(k), S = m === k, w = l || (S || !g ? [Du(k)] : rM(k)), y = [k].concat(w).reduce(function(J, G) {
18738
+ for (var a = n.mainAxis, i = a === void 0 ? !0 : a, o = n.altAxis, s = o === void 0 ? !0 : o, l = n.fallbackPlacements, u = n.padding, c = n.boundary, d = n.rootBoundary, f = n.altBoundary, p = n.flipVariations, g = p === void 0 ? !0 : p, v = n.allowedAutoPlacements, S = t.options.placement, m = ri(S), k = m === S, w = l || (k || !g ? [Du(S)] : rM(S)), y = [S].concat(w).reduce(function(J, G) {
18739
18739
  return J.concat(ri(G) === Nh ? nM(t, {
18740
18740
  placement: G,
18741
18741
  boundary: c,
@@ -18795,7 +18795,7 @@ function oM(e, t, n) {
18795
18795
  c.value || r.value || (c.value = !0, t.emit("open", s), p.value && Ut(() => {
18796
18796
  m();
18797
18797
  }));
18798
- }, k = () => {
18798
+ }, S = () => {
18799
18799
  c.value && (c.value = !1, t.emit("close", s));
18800
18800
  }, m = () => {
18801
18801
  if (!d.value)
@@ -18813,7 +18813,7 @@ function oM(e, t, n) {
18813
18813
  }
18814
18814
  ]
18815
18815
  })), d.value.update();
18816
- }, S = (w) => {
18816
+ }, k = (w) => {
18817
18817
  for (; w && w !== document.body; ) {
18818
18818
  if (getComputedStyle(w).position === "fixed")
18819
18819
  return !0;
@@ -18823,7 +18823,7 @@ function oM(e, t, n) {
18823
18823
  };
18824
18824
  return wt(() => {
18825
18825
  p.value && (d.value = GO(l.value, u.value, {
18826
- strategy: S(l.value) ? (
18826
+ strategy: k(l.value) ? (
18827
18827
  /* istanbul ignore next: UI feature */
18828
18828
  "fixed"
18829
18829
  ) : void 0,
@@ -18859,17 +18859,17 @@ function oM(e, t, n) {
18859
18859
  popper: d,
18860
18860
  isOpen: c,
18861
18861
  open: v,
18862
- close: k,
18862
+ close: S,
18863
18863
  placement: g,
18864
18864
  updatePopper: m
18865
18865
  };
18866
18866
  }
18867
18867
  function sM(e, t, n) {
18868
- const { searchable: r, disabled: a, clearOnBlur: i } = Un(e), o = n.input, s = n.open, l = n.close, u = n.clearSearch, c = n.isOpen, d = n.wrapper, f = n.tags, p = q(!1), g = q(!1), v = Yt(() => r.value || a.value ? -1 : 0), k = () => {
18868
+ const { searchable: r, disabled: a, clearOnBlur: i } = Un(e), o = n.input, s = n.open, l = n.close, u = n.clearSearch, c = n.isOpen, d = n.wrapper, f = n.tags, p = q(!1), g = q(!1), v = Yt(() => r.value || a.value ? -1 : 0), S = () => {
18869
18869
  r.value && o.value.blur(), d.value.blur();
18870
18870
  }, m = () => {
18871
18871
  r.value && !a.value && o.value.focus();
18872
- }, S = (M = !0) => {
18872
+ }, k = (M = !0) => {
18873
18873
  a.value || (p.value = !0, M && s());
18874
18874
  }, w = () => {
18875
18875
  p.value = !1, setTimeout(() => {
@@ -18880,23 +18880,23 @@ function sM(e, t, n) {
18880
18880
  tabindex: v,
18881
18881
  isActive: p,
18882
18882
  mouseClicked: g,
18883
- blur: k,
18883
+ blur: S,
18884
18884
  focus: m,
18885
- activate: S,
18885
+ activate: k,
18886
18886
  deactivate: w,
18887
18887
  handleFocusIn: (M) => {
18888
- M.target.closest("[data-tags]") && M.target.nodeName !== "INPUT" || M.target.closest("[data-clear]") || S(g.value);
18888
+ M.target.closest("[data-tags]") && M.target.nodeName !== "INPUT" || M.target.closest("[data-clear]") || k(g.value);
18889
18889
  },
18890
18890
  handleFocusOut: () => {
18891
18891
  w();
18892
18892
  },
18893
18893
  handleCaretClick: () => {
18894
- w(), k();
18894
+ w(), S();
18895
18895
  },
18896
18896
  handleMousedown: (M) => {
18897
18897
  g.value = !0, c.value && (M.target.isEqualNode(d.value) || M.target.isEqualNode(f.value)) ? setTimeout(() => {
18898
18898
  w();
18899
- }, 0) : !c.value && (document.activeElement.isEqualNode(d.value) || document.activeElement.isEqualNode(o.value)) && S(), setTimeout(() => {
18899
+ }, 0) : !c.value && (document.activeElement.isEqualNode(d.value) || document.activeElement.isEqualNode(o.value)) && k(), setTimeout(() => {
18900
18900
  g.value = !1;
18901
18901
  }, 0);
18902
18902
  }
@@ -18915,8 +18915,8 @@ function lM(e, t, n) {
18915
18915
  createTag: d,
18916
18916
  createOption: f,
18917
18917
  reverse: p
18918
- } = Un(e), g = uo().proxy, v = n.iv, k = n.update, m = n.deselect, S = n.search, w = n.setPointer, y = n.selectPointer, O = n.backwardPointer, x = n.forwardPointer, P = n.multiselect, M = n.wrapper, A = n.tags, I = n.isOpen, H = n.open, j = n.blur, Q = n.fo, z = Yt(() => d.value || f.value || !1), U = Yt(() => a.value !== void 0 ? a.value : c.value !== void 0 ? c.value : ["enter"]), R = () => {
18919
- r.value === "tags" && !s.value && z.value && o.value && !u.value && w(Q.value[Q.value.map((K) => K[l.value]).indexOf(S.value)]);
18918
+ } = Un(e), g = uo().proxy, v = n.iv, S = n.update, m = n.deselect, k = n.search, w = n.setPointer, y = n.selectPointer, O = n.backwardPointer, x = n.forwardPointer, P = n.multiselect, M = n.wrapper, A = n.tags, I = n.isOpen, H = n.open, j = n.blur, Q = n.fo, z = Yt(() => d.value || f.value || !1), U = Yt(() => a.value !== void 0 ? a.value : c.value !== void 0 ? c.value : ["enter"]), R = () => {
18919
+ r.value === "tags" && !s.value && z.value && o.value && !u.value && w(Q.value[Q.value.map((K) => K[l.value]).indexOf(k.value)]);
18920
18920
  };
18921
18921
  return {
18922
18922
  handleKeydown: (K) => {
@@ -18924,7 +18924,7 @@ function lM(e, t, n) {
18924
18924
  let ce, te;
18925
18925
  switch (["ArrowLeft", "ArrowRight", "Enter"].indexOf(K.key) !== -1 && r.value === "tags" && (ce = [...P.value.querySelectorAll("[data-tags] > *")].filter((se) => se !== A.value), te = ce.findIndex((se) => se === document.activeElement)), K.key) {
18926
18926
  case "Backspace":
18927
- if (r.value === "single" || o.value && [null, ""].indexOf(S.value) === -1 || v.value.length === 0)
18927
+ if (r.value === "single" || o.value && [null, ""].indexOf(k.value) === -1 || v.value.length === 0)
18928
18928
  return;
18929
18929
  let se = v.value.filter((ee) => !ee.disabled && ee.remove !== !1);
18930
18930
  se.length && m(se[se.length - 1]);
@@ -18933,7 +18933,7 @@ function lM(e, t, n) {
18933
18933
  if (K.preventDefault(), K.keyCode === 229)
18934
18934
  return;
18935
18935
  if (te !== -1 && te !== void 0) {
18936
- k([...v.value].filter((ee, J) => J !== te)), te === ce.length - 1 && (ce.length - 1 ? ce[ce.length - 2].focus() : o.value ? A.value.querySelector("input").focus() : M.value.focus());
18936
+ S([...v.value].filter((ee, J) => J !== te)), te === ce.length - 1 && (ce.length - 1 ? ce[ce.length - 2].focus() : o.value ? A.value.querySelector("input").focus() : M.value.focus());
18937
18937
  return;
18938
18938
  }
18939
18939
  if (U.value.indexOf("enter") === -1 && z.value)
@@ -18995,7 +18995,7 @@ function uM(e, t, n) {
18995
18995
  disabled: a,
18996
18996
  showOptions: i,
18997
18997
  breakTags: o
18998
- } = Un(e), s = n.isOpen, l = n.isPointed, u = n.isSelected, c = n.isDisabled, d = n.isActive, f = n.canPointGroups, p = n.resolving, g = n.fo, v = n.placement, k = Yt(() => ({
18998
+ } = Un(e), s = n.isOpen, l = n.isPointed, u = n.isSelected, c = n.isDisabled, d = n.isActive, f = n.canPointGroups, p = n.resolving, g = n.fo, v = n.placement, S = Yt(() => ({
18999
18999
  container: "multiselect",
19000
19000
  containerDisabled: "is-disabled",
19001
19001
  containerOpen: "is-open",
@@ -19053,7 +19053,7 @@ function uM(e, t, n) {
19053
19053
  })), m = Yt(() => !!(s.value && i.value && (!p.value || p.value && g.value.length)));
19054
19054
  return {
19055
19055
  classList: B(() => {
19056
- const w = k.value;
19056
+ const w = S.value;
19057
19057
  return {
19058
19058
  container: [w.container].concat(a.value ? w.containerDisabled : []).concat(m.value && v.value === "top" ? w.containerOpenTop : []).concat(m.value && v.value !== "top" ? w.containerOpen : []).concat(d.value ? w.containerActive : []),
19059
19059
  wrapper: w.wrapper,
@@ -19104,11 +19104,11 @@ function cM(e, t, n) {
19104
19104
  limit: r,
19105
19105
  infinite: a
19106
19106
  } = Un(e), i = n.isOpen, o = n.offset, s = n.search, l = n.pfo, u = n.eo, c = q(null), d = qt(null), f = Yt(() => o.value < l.value.length), p = (v) => {
19107
- const { isIntersecting: k, target: m } = v[0];
19108
- if (k) {
19109
- const S = m.offsetParent, w = S.scrollTop;
19107
+ const { isIntersecting: S, target: m } = v[0];
19108
+ if (S) {
19109
+ const k = m.offsetParent, w = k.scrollTop;
19110
19110
  o.value += r.value == -1 ? 10 : r.value, Ut(() => {
19111
- S.scrollTop = w;
19111
+ k.scrollTop = w;
19112
19112
  });
19113
19113
  }
19114
19114
  }, g = () => {
@@ -19137,14 +19137,14 @@ function dM(e, t, n) {
19137
19137
  groupLabel: l,
19138
19138
  aria: u,
19139
19139
  searchable: c
19140
- } = Un(e), d = n.pointer, f = n.iv, p = n.hasSelected, g = n.multipleLabelText, v = q(null), k = Yt(() => `${a.value ? a.value + "-" : ""}assist`), m = Yt(() => `${a.value ? a.value + "-" : ""}multiselect-options`), S = Yt(() => {
19140
+ } = Un(e), d = n.pointer, f = n.iv, p = n.hasSelected, g = n.multipleLabelText, v = q(null), S = Yt(() => `${a.value ? a.value + "-" : ""}assist`), m = Yt(() => `${a.value ? a.value + "-" : ""}multiselect-options`), k = Yt(() => {
19141
19141
  if (d.value) {
19142
19142
  let j = a.value ? `${a.value}-` : "";
19143
19143
  return j += `${d.value.group ? "multiselect-group" : "multiselect-option"}-`, j += d.value.group ? d.value.index : d.value[i.value], j;
19144
19144
  }
19145
19145
  }), w = Yt(() => r.value), y = Yt(() => s.value !== "single"), O = B(() => s.value === "single" && p.value ? f.value[o.value] : s.value === "multiple" && p.value ? g.value : s.value === "tags" && p.value ? f.value.map((j) => j[o.value]).join(", ") : ""), x = B(() => {
19146
19146
  let j = { ...u.value };
19147
- return c.value && (j["aria-labelledby"] = j["aria-labelledby"] ? `${k.value} ${j["aria-labelledby"]}` : k.value, O.value && j["aria-label"] && (j["aria-label"] = `${O.value}, ${j["aria-label"]}`)), j;
19147
+ return c.value && (j["aria-labelledby"] = j["aria-labelledby"] ? `${S.value} ${j["aria-labelledby"]}` : S.value, O.value && j["aria-label"] && (j["aria-label"] = `${O.value}, ${j["aria-label"]}`)), j;
19148
19148
  }), P = (j) => `${a.value ? a.value + "-" : ""}multiselect-option-${j[i.value]}`, M = (j) => `${a.value ? a.value + "-" : ""}multiselect-group-${j.index}`, A = (j) => `${j}`, I = (j) => `${j}`, H = (j) => `${j} ❎`;
19149
19149
  return wt(() => {
19150
19150
  if (a.value && document && document.querySelector) {
@@ -19154,11 +19154,11 @@ function dM(e, t, n) {
19154
19154
  }), {
19155
19155
  arias: x,
19156
19156
  ariaLabel: O,
19157
- ariaAssist: k,
19157
+ ariaAssist: S,
19158
19158
  ariaControls: m,
19159
19159
  ariaPlaceholder: w,
19160
19160
  ariaMultiselectable: y,
19161
- ariaActiveDescendant: S,
19161
+ ariaActiveDescendant: k,
19162
19162
  ariaOptionId: P,
19163
19163
  ariaOptionLabel: A,
19164
19164
  ariaGroupId: M,
@@ -21079,7 +21079,7 @@ function dL(e) {
21079
21079
  fixedColumnsInfos: r
21080
21080
  };
21081
21081
  }
21082
- function fL(e, t, n, r, a, i, o, s, l, u, c, d, f, p, g, v, k, m, S) {
21082
+ function fL(e, t, n, r, a, i, o, s, l, u, c, d, f, p, g, v, S, m, k) {
21083
21083
  const w = B(() => o.value.findIndex((Q) => Q.fixed) !== -1), y = B(() => w.value ? o.value.filter((Q) => Q.fixed) : []), O = B(() => o.value.filter((Q) => !Q.fixed)), P = q(((Q, z) => Array.isArray(Q) && Array.isArray(z) ? {
21084
21084
  sortBy: Q,
21085
21085
  sortDesc: z.map((U) => U === "desc")
@@ -21139,7 +21139,7 @@ function fL(e, t, n, r, a, i, o, s, l, u, c, d, f, p, g, v, k, m, S) {
21139
21139
  sortBy: Q,
21140
21140
  sortDesc: U === "desc"
21141
21141
  };
21142
- S("updateSort", {
21142
+ k("updateSort", {
21143
21143
  sortType: U,
21144
21144
  sortBy: Q
21145
21145
  });
@@ -21149,12 +21149,12 @@ function fL(e, t, n, r, a, i, o, s, l, u, c, d, f, p, g, v, k, m, S) {
21149
21149
  };
21150
21150
  }
21151
21151
  function pL(e, t, n, r, a, i, o, s, l) {
21152
- const u = B(() => (e.value - 1) * a.value + 1), c = B(() => n.value ? Math.min(l.value, e.value * a.value) : Math.min(s.value.length, e.value * a.value)), d = B(() => n.value ? r.value : s.value.slice(u.value - 1, c.value)), f = B(() => o.value ? d.value.map((v, k) => ea({ index: u.value + k }, v)) : d.value), p = B(() => i.value.length === 0 || i.value.every((k) => s.value.findIndex((m) => JSON.stringify(k) === JSON.stringify(m)) === -1) ? "noneSelected" : i.value.length === s.value.length && i.value.every((m) => s.value.findIndex((S) => JSON.stringify(m) === JSON.stringify(S)) !== -1) ? "allSelected" : "partSelected"), g = B(() => t.value ? p.value === "allSelected" ? f.value.map((v) => ea({ checkbox: !0 }, v)) : p.value === "noneSelected" ? f.value.map((v) => ea({ checkbox: !1 }, v)) : f.value.map((v) => {
21153
- const k = i.value.findIndex((m) => {
21154
- const S = ea({}, v);
21155
- return delete S.index, JSON.stringify(m) === JSON.stringify(S);
21152
+ const u = B(() => (e.value - 1) * a.value + 1), c = B(() => n.value ? Math.min(l.value, e.value * a.value) : Math.min(s.value.length, e.value * a.value)), d = B(() => n.value ? r.value : s.value.slice(u.value - 1, c.value)), f = B(() => o.value ? d.value.map((v, S) => ea({ index: u.value + S }, v)) : d.value), p = B(() => i.value.length === 0 || i.value.every((S) => s.value.findIndex((m) => JSON.stringify(S) === JSON.stringify(m)) === -1) ? "noneSelected" : i.value.length === s.value.length && i.value.every((m) => s.value.findIndex((k) => JSON.stringify(m) === JSON.stringify(k)) !== -1) ? "allSelected" : "partSelected"), g = B(() => t.value ? p.value === "allSelected" ? f.value.map((v) => ea({ checkbox: !0 }, v)) : p.value === "noneSelected" ? f.value.map((v) => ea({ checkbox: !1 }, v)) : f.value.map((v) => {
21153
+ const S = i.value.findIndex((m) => {
21154
+ const k = ea({}, v);
21155
+ return delete k.index, JSON.stringify(m) === JSON.stringify(k);
21156
21156
  }) !== -1;
21157
- return ea({ checkbox: k }, v);
21157
+ return ea({ checkbox: S }, v);
21158
21158
  }) : f.value);
21159
21159
  return {
21160
21160
  currentPageFirstIndex: u,
@@ -21347,7 +21347,7 @@ function yL(e, t, n, r, a, i, o, s, l, u) {
21347
21347
  return f.value;
21348
21348
  const { sortBy: w, sortDesc: y } = e.value, O = [...f.value];
21349
21349
  return l && Array.isArray(w) && Array.isArray(y) ? w.length === 0 ? O : p(w, y, O, w.length - 1) : O.sort((x, P) => zn(w, x) < zn(w, P) ? y ? 1 : -1 : zn(w, x) > zn(w, P) ? y ? -1 : 1 : 0);
21350
- }), v = B(() => n.value ? s.value : g.value.length), k = B({
21350
+ }), v = B(() => n.value ? s.value : g.value.length), S = B({
21351
21351
  get: () => {
21352
21352
  var w;
21353
21353
  return (w = a.value) != null ? w : [];
@@ -21358,18 +21358,18 @@ function yL(e, t, n, r, a, i, o, s, l, u) {
21358
21358
  });
21359
21359
  return {
21360
21360
  totalItems: g,
21361
- selectItemsComputed: k,
21361
+ selectItemsComputed: S,
21362
21362
  totalItemsLength: v,
21363
21363
  toggleSelectAll: (w) => {
21364
- k.value = w ? g.value : [], w && u("selectAll");
21364
+ S.value = w ? g.value : [], w && u("selectAll");
21365
21365
  },
21366
21366
  toggleSelectItem: (w) => {
21367
21367
  const y = w.checkbox;
21368
21368
  if (delete w.checkbox, delete w.index, y)
21369
- k.value = k.value.filter((O) => JSON.stringify(O) !== JSON.stringify(w)), u("deselectRow", w);
21369
+ S.value = S.value.filter((O) => JSON.stringify(O) !== JSON.stringify(w)), u("deselectRow", w);
21370
21370
  else {
21371
- const O = k.value;
21372
- O.unshift(w), k.value = O, u("selectRow", w);
21371
+ const O = S.value;
21372
+ O.unshift(w), S.value = O, u("selectRow", w);
21373
21373
  }
21374
21374
  }
21375
21375
  };
@@ -21631,9 +21631,9 @@ const wL = (e) => (ws("data-v-32683533"), e = e(), _s(), e), _L = ["id"], SL = [
21631
21631
  fixedHeader: p,
21632
21632
  fixedIndex: g,
21633
21633
  headers: v,
21634
- headerTextDirection: k,
21634
+ headerTextDirection: S,
21635
21635
  indexColumnWidth: m,
21636
- items: S,
21636
+ items: k,
21637
21637
  itemsSelected: w,
21638
21638
  loading: y,
21639
21639
  mustSort: O,
@@ -21685,7 +21685,7 @@ const wL = (e) => (ws("data-v-32683533"), e = e(), _s(), e), _L = ["id"], SL = [
21685
21685
  totalItemsLength: An,
21686
21686
  toggleSelectAll: rr,
21687
21687
  toggleSelectItem: Wn
21688
- } = yL(be, c, me, S, w, A, I, H, x, n), {
21688
+ } = yL(be, c, me, k, w, A, I, H, x, n), {
21689
21689
  currentPaginationNumber: fn,
21690
21690
  maxPaginationNumber: _n,
21691
21691
  isLastPage: fe,
@@ -21699,7 +21699,7 @@ const wL = (e) => (ws("data-v-32683533"), e = e(), _s(), e), _L = ["id"], SL = [
21699
21699
  currentPageLastIndex: de,
21700
21700
  multipleSelectStatus: Te,
21701
21701
  pageItems: Ne
21702
- } = pL(fn, je, me, S, Ie, ht, Q, Mt, An), Lt = B(() => fn.value === 0 ? 0 : (fn.value - 1) * Ie.value), {
21702
+ } = pL(fn, je, me, k, Ie, ht, Q, Mt, An), Lt = B(() => fn.value === 0 ? 0 : (fn.value - 1) * Ie.value), {
21703
21703
  expandingItemIndexList: kt,
21704
21704
  updateExpandingItemIndexList: Vt,
21705
21705
  clearExpandingItemIndexList: Sn
@@ -21796,7 +21796,7 @@ const wL = (e) => (ws("data-v-32683533"), e = e(), _s(), e), _L = ["id"], SL = [
21796
21796
  onChange: _(rr)
21797
21797
  }, null, 8, ["status", "onChange"])) : (T(), D("span", {
21798
21798
  key: 1,
21799
- class: re(["header", `direction-${_(k)}`])
21799
+ class: re(["header", `direction-${_(S)}`])
21800
21800
  }, [
21801
21801
  _(J)[`header-${Ve.value}`] ? ne(Ue.$slots, `header-${Ve.value}`, bt(it({ key: 0 }, Ve)), void 0, !0) : _(J)[`header-${Ve.value.toLowerCase()}`] ? ne(Ue.$slots, `header-${Ve.value.toLowerCase()}`, bt(it({ key: 1 }, Ve)), void 0, !0) : _(J).header ? ne(Ue.$slots, "header", bt(it({ key: 2 }, Ve)), void 0, !0) : (T(), D("span", kL, Ee(Ve.text), 1)),
21802
21802
  Ve.sortable ? (T(), D("i", {
@@ -22044,7 +22044,7 @@ const $L = { class: "relative z-50 w-full rounded-2xl bg-white px-4 py-3 shadow-
22044
22044
  setup(e, { expose: t, emit: n }) {
22045
22045
  const r = e, a = n, i = En(), o = Bl(), s = Zh(), l = i6("Alt"), u = q(), c = q((r == null ? void 0 : r.modelValue) ?? void 0), d = B(() => u.value);
22046
22046
  et(() => c.value, (m) => {
22047
- c.value && r.actionBarSelection !== !1 && a("update:modelValue", [...m.map((S) => S == null ? void 0 : S[r.actionBarSelectionKey])]);
22047
+ c.value && r.actionBarSelection !== !1 && a("update:modelValue", [...m.map((k) => k == null ? void 0 : k[r.actionBarSelectionKey])]);
22048
22048
  }), wt(() => {
22049
22049
  r != null && r.modelValue && et(r.modelValue, (m) => {
22050
22050
  c.value = m;
@@ -22052,28 +22052,28 @@ const $L = { class: "relative z-50 w-full rounded-2xl bg-white px-4 py-3 shadow-
22052
22052
  });
22053
22053
  function f(m) {
22054
22054
  if (c.value && o.setTableSelection(c.value), !m && r.actionBarSelection) {
22055
- o.setSelection(c.value.map((S) => S == null ? void 0 : S[r.actionBarSelectionKey]));
22055
+ o.setSelection(c.value.map((k) => k == null ? void 0 : k[r.actionBarSelectionKey]));
22056
22056
  return;
22057
22057
  }
22058
- m && r.actionBarSelection && o.setSelection(m.map((S) => S == null ? void 0 : S[r.actionBarSelectionKey])), r.actionBarSelection === !1 && a("update:modelValue", [...m.map((S) => S == null ? void 0 : S[r.actionBarSelectionKey])]);
22058
+ m && r.actionBarSelection && o.setSelection(m.map((k) => k == null ? void 0 : k[r.actionBarSelectionKey])), r.actionBarSelection === !1 && a("update:modelValue", [...m.map((k) => k == null ? void 0 : k[r.actionBarSelectionKey])]);
22059
22059
  }
22060
22060
  function p(m) {
22061
- var S;
22062
- (S = d.value) == null || S.updatePage(m), a("updatePage", m);
22061
+ var k;
22062
+ (k = d.value) == null || k.updatePage(m), a("updatePage", m);
22063
22063
  }
22064
22064
  function g() {
22065
- var m, S;
22066
- (m = d.value) == null || m.prevPage(), a("updatePage", (((S = d.value) == null ? void 0 : S.currentPaginationNumber) ?? 2) - 1);
22065
+ var m, k;
22066
+ (m = d.value) == null || m.prevPage(), a("updatePage", (((k = d.value) == null ? void 0 : k.currentPaginationNumber) ?? 2) - 1);
22067
22067
  }
22068
22068
  function v() {
22069
- var m, S;
22070
- (m = d.value) == null || m.nextPage(), a("updatePage", (((S = d.value) == null ? void 0 : S.currentPaginationNumber) ?? 0) + 1);
22069
+ var m, k;
22070
+ (m = d.value) == null || m.nextPage(), a("updatePage", (((k = d.value) == null ? void 0 : k.currentPaginationNumber) ?? 0) + 1);
22071
22071
  }
22072
- function k(m) {
22072
+ function S(m) {
22073
22073
  if (l.value && c.value !== void 0) {
22074
- const S = c.value.findIndex((w) => w.id === m.id);
22075
- if (S > -1) {
22076
- c.value.splice(S, 1), f();
22074
+ const k = c.value.findIndex((w) => w.id === m.id);
22075
+ if (k > -1) {
22076
+ c.value.splice(k, 1), f();
22077
22077
  return;
22078
22078
  }
22079
22079
  c.value.push({ ...m, isSelected: void 0 }), f();
@@ -22083,7 +22083,7 @@ const $L = { class: "relative z-50 w-full rounded-2xl bg-white px-4 py-3 shadow-
22083
22083
  }
22084
22084
  return t({ dataTableInstance: d }), o.onResetSelection.value = (m) => {
22085
22085
  (r == null ? void 0 : r.modelValue) !== void 0 && (c.value = m);
22086
- }, (m, S) => (T(), D("div", {
22086
+ }, (m, k) => (T(), D("div", {
22087
22087
  class: re([{ "app-table-without-selection": (r == null ? void 0 : r.modelValue) === void 0 }, "app-data-table-wrapper"])
22088
22088
  }, [
22089
22089
  Pe(_(nb), it({
@@ -22092,7 +22092,7 @@ const $L = { class: "relative z-50 w-full rounded-2xl bg-white px-4 py-3 shadow-
22092
22092
  }, { ...m.$props, ...m.$attrs }, {
22093
22093
  "items-selected": c.value,
22094
22094
  "onUpdate:itemsSelected": [
22095
- S[0] || (S[0] = (w) => c.value = w),
22095
+ k[0] || (k[0] = (w) => c.value = w),
22096
22096
  f
22097
22097
  ],
22098
22098
  "hide-footer": !0,
@@ -22102,7 +22102,7 @@ const $L = { class: "relative z-50 w-full rounded-2xl bg-white px-4 py-3 shadow-
22102
22102
  "rows-items": m.rowItems,
22103
22103
  "rows-per-page": m.rowsPerPage,
22104
22104
  "body-row-class-name": "drop-shadow-xs rounded-xl",
22105
- onClickRow: k,
22105
+ onClickRow: S,
22106
22106
  onContextmenuRow: _(s).open
22107
22107
  }), jt({
22108
22108
  loading: he(() => [
@@ -22315,10 +22315,10 @@ const JL = async (e, t, n) => {
22315
22315
  } = N0(u, r, l), f = r, p = {}, g = 0;
22316
22316
  for (let v = 0; v < s.length; v++) {
22317
22317
  const {
22318
- name: k,
22318
+ name: S,
22319
22319
  fn: m
22320
22320
  } = s[v], {
22321
- x: S,
22321
+ x: k,
22322
22322
  y: w,
22323
22323
  data: y,
22324
22324
  reset: O
@@ -22336,10 +22336,10 @@ const JL = async (e, t, n) => {
22336
22336
  floating: t
22337
22337
  }
22338
22338
  });
22339
- c = S ?? c, d = w ?? d, p = {
22339
+ c = k ?? c, d = w ?? d, p = {
22340
22340
  ...p,
22341
- [k]: {
22342
- ...p[k],
22341
+ [S]: {
22342
+ ...p[S],
22343
22343
  ...y
22344
22344
  }
22345
22345
  }, O && g <= 50 && (g++, typeof O == "object" && (O.placement && (f = O.placement), O.rects && (u = O.rects === !0 ? await o.getElementRects({
@@ -22375,12 +22375,12 @@ async function Vh(e, t) {
22375
22375
  elementContext: d = "floating",
22376
22376
  altBoundary: f = !1,
22377
22377
  padding: p = 0
22378
- } = hi(t, e), g = rb(p), k = s[f ? d === "floating" ? "reference" : "floating" : d], m = ic(await i.getClippingRect({
22379
- element: (n = await (i.isElement == null ? void 0 : i.isElement(k))) == null || n ? k : k.contextElement || await (i.getDocumentElement == null ? void 0 : i.getDocumentElement(s.floating)),
22378
+ } = hi(t, e), g = rb(p), S = s[f ? d === "floating" ? "reference" : "floating" : d], m = ic(await i.getClippingRect({
22379
+ element: (n = await (i.isElement == null ? void 0 : i.isElement(S))) == null || n ? S : S.contextElement || await (i.getDocumentElement == null ? void 0 : i.getDocumentElement(s.floating)),
22380
22380
  boundary: u,
22381
22381
  rootBoundary: c,
22382
22382
  strategy: l
22383
- })), S = d === "floating" ? {
22383
+ })), k = d === "floating" ? {
22384
22384
  x: r,
22385
22385
  y: a,
22386
22386
  width: o.floating.width,
@@ -22393,10 +22393,10 @@ async function Vh(e, t) {
22393
22393
  y: 1
22394
22394
  }, O = ic(i.convertOffsetParentRelativeRectToViewportRelativeRect ? await i.convertOffsetParentRelativeRectToViewportRelativeRect({
22395
22395
  elements: s,
22396
- rect: S,
22396
+ rect: k,
22397
22397
  offsetParent: w,
22398
22398
  strategy: l
22399
- }) : S);
22399
+ }) : k);
22400
22400
  return {
22401
22401
  top: (m.top - O.top + g.top) / y.y,
22402
22402
  bottom: (O.bottom - m.bottom + g.bottom) / y.y,
@@ -22425,10 +22425,10 @@ const QL = (e) => ({
22425
22425
  const d = rb(c), f = {
22426
22426
  x: n,
22427
22427
  y: r
22428
- }, p = Wh(a), g = Uh(p), v = await o.getDimensions(u), k = p === "y", m = k ? "top" : "left", S = k ? "bottom" : "right", w = k ? "clientHeight" : "clientWidth", y = i.reference[g] + i.reference[p] - f[p] - i.floating[g], O = f[p] - i.reference[p], x = await (o.getOffsetParent == null ? void 0 : o.getOffsetParent(u));
22428
+ }, p = Wh(a), g = Uh(p), v = await o.getDimensions(u), S = p === "y", m = S ? "top" : "left", k = S ? "bottom" : "right", w = S ? "clientHeight" : "clientWidth", y = i.reference[g] + i.reference[p] - f[p] - i.floating[g], O = f[p] - i.reference[p], x = await (o.getOffsetParent == null ? void 0 : o.getOffsetParent(u));
22429
22429
  let P = x ? x[w] : 0;
22430
22430
  (!P || !await (o.isElement == null ? void 0 : o.isElement(x))) && (P = s.floating[w] || i.floating[g]);
22431
- const M = y / 2 - O / 2, A = P / 2 - v[g] / 2 - 1, I = pi(d[m], A), H = pi(d[S], A), j = I, Q = P - v[g] - H, z = P / 2 - v[g] / 2 + M, U = ip(j, z, Q), R = !l.arrow && xs(a) != null && z !== U && i.reference[g] / 2 - (z < j ? I : H) - v[g] / 2 < 0, Y = R ? z < j ? z - j : z - Q : 0;
22431
+ const M = y / 2 - O / 2, A = P / 2 - v[g] / 2 - 1, I = pi(d[m], A), H = pi(d[k], A), j = I, Q = P - v[g] - H, z = P / 2 - v[g] / 2 + M, U = ip(j, z, Q), R = !l.arrow && xs(a) != null && z !== U && i.reference[g] / 2 - (z < j ? I : H) - v[g] / 2 < 0, Y = R ? z < j ? z - j : z - Q : 0;
22432
22432
  return {
22433
22433
  [p]: f[p] + Y,
22434
22434
  data: {
@@ -22461,13 +22461,13 @@ const QL = (e) => ({
22461
22461
  fallbackStrategy: p = "bestFit",
22462
22462
  fallbackAxisSideDirection: g = "none",
22463
22463
  flipAlignment: v = !0,
22464
- ...k
22464
+ ...S
22465
22465
  } = hi(e, t);
22466
22466
  if ((n = i.arrow) != null && n.alignmentOffset)
22467
22467
  return {};
22468
- const m = $a(a), S = mi(s), w = $a(s) === s, y = await (l.isRTL == null ? void 0 : l.isRTL(u.floating)), O = f || (w || !v ? [ac(s)] : YL(s)), x = g !== "none";
22468
+ const m = $a(a), k = mi(s), w = $a(s) === s, y = await (l.isRTL == null ? void 0 : l.isRTL(u.floating)), O = f || (w || !v ? [ac(s)] : YL(s)), x = g !== "none";
22469
22469
  !f && x && O.push(...GL(s, v, g, y));
22470
- const P = [s, ...O], M = await Vh(t, k), A = [];
22470
+ const P = [s, ...O], M = await Vh(t, S), A = [];
22471
22471
  let I = ((r = i.flip) == null ? void 0 : r.overflows) || [];
22472
22472
  if (c && A.push(M[m]), d) {
22473
22473
  const z = qL(a, o, y);
@@ -22497,7 +22497,7 @@ const QL = (e) => ({
22497
22497
  const Y = (Q = I.filter((oe) => {
22498
22498
  if (x) {
22499
22499
  const K = mi(oe.placement);
22500
- return K === S || // Create a bias to the `y` side axis due to horizontal
22500
+ return K === k || // Create a bias to the `y` side axis due to horizontal
22501
22501
  // reading directions favoring greater width.
22502
22502
  K === "y";
22503
22503
  }
@@ -22583,14 +22583,14 @@ const tD = function(e) {
22583
22583
  mainAxis: i = !0,
22584
22584
  crossAxis: o = !1,
22585
22585
  limiter: s = {
22586
- fn: (k) => {
22586
+ fn: (S) => {
22587
22587
  let {
22588
22588
  x: m,
22589
- y: S
22590
- } = k;
22589
+ y: k
22590
+ } = S;
22591
22591
  return {
22592
22592
  x: m,
22593
- y: S
22593
+ y: k
22594
22594
  };
22595
22595
  }
22596
22596
  },
@@ -22601,12 +22601,12 @@ const tD = function(e) {
22601
22601
  }, c = await Vh(t, l), d = mi($a(a)), f = jh(d);
22602
22602
  let p = u[f], g = u[d];
22603
22603
  if (i) {
22604
- const k = f === "y" ? "top" : "left", m = f === "y" ? "bottom" : "right", S = p + c[k], w = p - c[m];
22605
- p = ip(S, p, w);
22604
+ const S = f === "y" ? "top" : "left", m = f === "y" ? "bottom" : "right", k = p + c[S], w = p - c[m];
22605
+ p = ip(k, p, w);
22606
22606
  }
22607
22607
  if (o) {
22608
- const k = d === "y" ? "top" : "left", m = d === "y" ? "bottom" : "right", S = g + c[k], w = g - c[m];
22609
- g = ip(S, g, w);
22608
+ const S = d === "y" ? "top" : "left", m = d === "y" ? "bottom" : "right", k = g + c[S], w = g - c[m];
22609
+ g = ip(k, g, w);
22610
22610
  }
22611
22611
  const v = s.fn({
22612
22612
  ...t,
@@ -22645,7 +22645,7 @@ const tD = function(e) {
22645
22645
  y: r
22646
22646
  }, d = mi(a), f = jh(d);
22647
22647
  let p = c[f], g = c[d];
22648
- const v = hi(s, t), k = typeof v == "number" ? {
22648
+ const v = hi(s, t), S = typeof v == "number" ? {
22649
22649
  mainAxis: v,
22650
22650
  crossAxis: 0
22651
22651
  } : {
@@ -22654,12 +22654,12 @@ const tD = function(e) {
22654
22654
  ...v
22655
22655
  };
22656
22656
  if (l) {
22657
- const w = f === "y" ? "height" : "width", y = i.reference[f] - i.floating[w] + k.mainAxis, O = i.reference[f] + i.reference[w] - k.mainAxis;
22657
+ const w = f === "y" ? "height" : "width", y = i.reference[f] - i.floating[w] + S.mainAxis, O = i.reference[f] + i.reference[w] - S.mainAxis;
22658
22658
  p < y ? p = y : p > O && (p = O);
22659
22659
  }
22660
22660
  if (u) {
22661
- var m, S;
22662
- const w = f === "y" ? "width" : "height", y = ["top", "left"].includes($a(a)), O = i.reference[d] - i.floating[w] + (y && ((m = o.offset) == null ? void 0 : m[d]) || 0) + (y ? 0 : k.crossAxis), x = i.reference[d] + i.reference[w] + (y ? 0 : ((S = o.offset) == null ? void 0 : S[d]) || 0) - (y ? k.crossAxis : 0);
22661
+ var m, k;
22662
+ const w = f === "y" ? "width" : "height", y = ["top", "left"].includes($a(a)), O = i.reference[d] - i.floating[w] + (y && ((m = o.offset) == null ? void 0 : m[d]) || 0) + (y ? 0 : S.crossAxis), x = i.reference[d] + i.reference[w] + (y ? 0 : ((k = o.offset) == null ? void 0 : k[d]) || 0) - (y ? S.crossAxis : 0);
22663
22663
  g < O ? g = O : g > x && (g = x);
22664
22664
  }
22665
22665
  return {
@@ -22687,11 +22687,11 @@ const tD = function(e) {
22687
22687
  width: g,
22688
22688
  height: v
22689
22689
  } = i.floating;
22690
- let k, m;
22691
- d === "top" || d === "bottom" ? (k = d, m = f === (await (o.isRTL == null ? void 0 : o.isRTL(s.floating)) ? "start" : "end") ? "left" : "right") : (m = d, k = f === "end" ? "top" : "bottom");
22692
- const S = v - c.top - c.bottom, w = g - c.left - c.right, y = pi(v - c[k], S), O = pi(g - c[m], w), x = !t.middlewareData.shift;
22690
+ let S, m;
22691
+ d === "top" || d === "bottom" ? (S = d, m = f === (await (o.isRTL == null ? void 0 : o.isRTL(s.floating)) ? "start" : "end") ? "left" : "right") : (m = d, S = f === "end" ? "top" : "bottom");
22692
+ const k = v - c.top - c.bottom, w = g - c.left - c.right, y = pi(v - c[S], k), O = pi(g - c[m], w), x = !t.middlewareData.shift;
22693
22693
  let P = y, M = O;
22694
- if ((n = t.middlewareData.shift) != null && n.enabled.x && (M = w), (r = t.middlewareData.shift) != null && r.enabled.y && (P = S), x && !f) {
22694
+ if ((n = t.middlewareData.shift) != null && n.enabled.x && (M = w), (r = t.middlewareData.shift) != null && r.enabled.y && (P = k), x && !f) {
22695
22695
  const I = ir(c.left, 0), H = ir(c.right, 0), j = ir(c.top, 0), Q = ir(c.bottom, 0);
22696
22696
  p ? M = g - 2 * (I !== 0 || H !== 0 ? I + H : ir(c.left, c.right)) : P = v - 2 * (j !== 0 || Q !== 0 ? j + Q : ir(c.top, c.bottom));
22697
22697
  }
@@ -22868,8 +22868,8 @@ function ro(e, t, n, r) {
22868
22868
  const f = cr(i), p = r && Fr(r) ? cr(r) : r;
22869
22869
  let g = f, v = sp(g);
22870
22870
  for (; v && r && p !== g; ) {
22871
- const k = Uo(v), m = v.getBoundingClientRect(), S = Hr(v), w = m.left + (v.clientLeft + parseFloat(S.paddingLeft)) * k.x, y = m.top + (v.clientTop + parseFloat(S.paddingTop)) * k.y;
22872
- l *= k.x, u *= k.y, c *= k.x, d *= k.y, l += w, u += y, g = cr(v), v = sp(g);
22871
+ const S = Uo(v), m = v.getBoundingClientRect(), k = Hr(v), w = m.left + (v.clientLeft + parseFloat(k.paddingLeft)) * S.x, y = m.top + (v.clientTop + parseFloat(k.paddingTop)) * S.y;
22872
+ l *= S.x, u *= S.y, c *= S.x, d *= S.y, l += w, u += y, g = cr(v), v = sp(g);
22873
22873
  }
22874
22874
  }
22875
22875
  return ic({
@@ -23119,8 +23119,8 @@ function _D(e, t) {
23119
23119
  } = u;
23120
23120
  if (s || t(), !f || !p)
23121
23121
  return;
23122
- const g = hu(d), v = hu(a.clientWidth - (c + f)), k = hu(a.clientHeight - (d + p)), m = hu(c), w = {
23123
- rootMargin: -g + "px " + -v + "px " + -k + "px " + -m + "px",
23122
+ const g = hu(d), v = hu(a.clientWidth - (c + f)), S = hu(a.clientHeight - (d + p)), m = hu(c), w = {
23123
+ rootMargin: -g + "px " + -v + "px " + -S + "px " + -m + "px",
23124
23124
  threshold: ir(0, pi(1, l)) || 1
23125
23125
  };
23126
23126
  let y = !0;
@@ -23165,22 +23165,22 @@ function SD(e, t, n, r) {
23165
23165
  const d = u && s ? _D(u, n) : null;
23166
23166
  let f = -1, p = null;
23167
23167
  o && (p = new ResizeObserver((m) => {
23168
- let [S] = m;
23169
- S && S.target === u && p && (p.unobserve(t), cancelAnimationFrame(f), f = requestAnimationFrame(() => {
23168
+ let [k] = m;
23169
+ k && k.target === u && p && (p.unobserve(t), cancelAnimationFrame(f), f = requestAnimationFrame(() => {
23170
23170
  var w;
23171
23171
  (w = p) == null || w.observe(t);
23172
23172
  })), n();
23173
23173
  }), u && !l && p.observe(u), p.observe(t));
23174
23174
  let g, v = l ? ro(e) : null;
23175
- l && k();
23176
- function k() {
23175
+ l && S();
23176
+ function S() {
23177
23177
  const m = ro(e);
23178
- v && !cb(v, m) && n(), v = m, g = requestAnimationFrame(k);
23178
+ v && !cb(v, m) && n(), v = m, g = requestAnimationFrame(S);
23179
23179
  }
23180
23180
  return n(), () => {
23181
23181
  var m;
23182
- c.forEach((S) => {
23183
- a && S.removeEventListener("scroll", n), i && S.removeEventListener("resize", n);
23182
+ c.forEach((k) => {
23183
+ a && k.removeEventListener("scroll", n), i && k.removeEventListener("resize", n);
23184
23184
  }), d == null || d(), (m = p) == null || m.disconnect(), p = null, l && cancelAnimationFrame(g);
23185
23185
  };
23186
23186
  }
@@ -23284,7 +23284,7 @@ const pb = /* @__PURE__ */ Se({
23284
23284
  return ((p = (f = (d = s.value) == null ? void 0 : d.middlewareData) == null ? void 0 : f.arrow) == null ? void 0 : p.x) ?? null;
23285
23285
  });
23286
23286
  return (d, f) => {
23287
- var p, g, v, k, m, S;
23287
+ var p, g, v, S, m, k;
23288
23288
  return T(), D("div", {
23289
23289
  ref: "subMenu",
23290
23290
  class: re([{
@@ -23301,7 +23301,7 @@ const pb = /* @__PURE__ */ Se({
23301
23301
  style: rn({
23302
23302
  left: c.value !== null && u.value === "right" ? `${c.value}px` : "",
23303
23303
  right: u.value === "left" ? `${c.value ?? 0}px` : "",
23304
- top: ((v = (g = (p = _(s)) == null ? void 0 : p.middlewareData) == null ? void 0 : g.arrow) == null ? void 0 : v.y) !== null ? `${(S = (m = (k = _(s)) == null ? void 0 : k.middlewareData) == null ? void 0 : m.arrow) == null ? void 0 : S.y}px` : ""
23304
+ top: ((v = (g = (p = _(s)) == null ? void 0 : p.middlewareData) == null ? void 0 : g.arrow) == null ? void 0 : v.y) !== null ? `${(k = (m = (S = _(s)) == null ? void 0 : S.middlewareData) == null ? void 0 : m.arrow) == null ? void 0 : k.y}px` : ""
23305
23305
  })
23306
23306
  }, [
23307
23307
  Pe(_(Gn), {
@@ -23335,21 +23335,21 @@ const pb = /* @__PURE__ */ Se({
23335
23335
  n.confirmed && (s.value = !0);
23336
23336
  });
23337
23337
  async function p() {
23338
- var k, m, S;
23338
+ var S, m, k;
23339
23339
  if ((n.action.confirm || n.action.component) && !s.value) {
23340
23340
  s.value = !0;
23341
23341
  return;
23342
23342
  }
23343
23343
  l.value = !0, s.value = !1;
23344
- const v = await ((m = (k = n.action).onClick) == null ? void 0 : m.call(k, n.item ?? a.tableSelection.value));
23345
- l.value = !1, (((S = n.action) == null ? void 0 : S.resetSelection) ?? !0) && a.resetSelection(), v && r("close");
23344
+ const v = await ((m = (S = n.action).onClick) == null ? void 0 : m.call(S, n.item ?? a.tableSelection.value));
23345
+ l.value = !1, (((k = n.action) == null ? void 0 : k.resetSelection) ?? !0) && a.resetSelection(), v && r("close");
23346
23346
  }
23347
23347
  function g() {
23348
23348
  s.value = !1, r("close");
23349
23349
  }
23350
23350
  return kg(o, () => {
23351
23351
  s.value = !1;
23352
- }), (v, k) => {
23352
+ }), (v, S) => {
23353
23353
  const m = r6("tippy");
23354
23354
  return f.value !== !0 ? (T(), D("div", {
23355
23355
  key: 0,
@@ -23371,7 +23371,7 @@ const pb = /* @__PURE__ */ Se({
23371
23371
  n.action.component && s.value ? (T(), pe(ND, it({
23372
23372
  key: 0,
23373
23373
  modelValue: u.value,
23374
- "onUpdate:modelValue": k[0] || (k[0] = (S) => u.value = S)
23374
+ "onUpdate:modelValue": S[0] || (S[0] = (k) => u.value = k)
23375
23375
  }, n, { onClose: g }), null, 16, ["modelValue"])) : V("", !0)
23376
23376
  ], 2)) : V("", !0);
23377
23377
  };
@@ -23419,8 +23419,8 @@ const pb = /* @__PURE__ */ Se({
23419
23419
  N("div", zD, Ee(c.value), 1)
23420
23420
  ]),
23421
23421
  N("div", FD, [
23422
- (T(!0), D(Be, null, Ge(_(r), (v, k) => (T(), pe(mb, {
23423
- key: `action-item-${k}`,
23422
+ (T(!0), D(Be, null, Ge(_(r), (v, S) => (T(), pe(mb, {
23423
+ key: `action-item-${S}`,
23424
23424
  action: v,
23425
23425
  onClose: f
23426
23426
  }, null, 8, ["action"]))), 128))
@@ -23785,7 +23785,7 @@ const pb = /* @__PURE__ */ Se({
23785
23785
  }
23786
23786
  return t({ isOpen: i, open: f, close: p, submit: g }), kg(u, p), Hp(["Escape"], (v) => {
23787
23787
  v.preventDefault(), p();
23788
- }), (v, k) => i.value && (d.value.length > 0 || _(l).shortcuts.value.length > 0) ? (T(), D("div", {
23788
+ }), (v, S) => i.value && (d.value.length > 0 || _(l).shortcuts.value.length > 0) ? (T(), D("div", {
23789
23789
  key: 0,
23790
23790
  ref_key: "contextMenuElement",
23791
23791
  ref: u,
@@ -23804,8 +23804,8 @@ const pb = /* @__PURE__ */ Se({
23804
23804
  onClose: p
23805
23805
  }, null, 8, ["shortcut", "item"]))), 128))
23806
23806
  ], 2)) : V("", !0),
23807
- (T(!0), D(Be, null, Ge(d.value, (m, S) => (T(), pe(mb, {
23808
- key: `action-item-${S}`,
23807
+ (T(!0), D(Be, null, Ge(d.value, (m, k) => (T(), pe(mb, {
23808
+ key: `action-item-${k}`,
23809
23809
  action: m,
23810
23810
  context: !0,
23811
23811
  item: v.item,
@@ -23944,11 +23944,11 @@ const hR = ["height", "width", "viewBox"], mR = ["id"], vR = ["offset", "stop-co
23944
23944
  const n = e, r = t, a = q([19.8, 2.2, 6.6, 43.56, 39.6, 17.16, 0, 17.16, 33, 43.56]), i = q(""), o = q(""), s = q(!0), l = B(() => a.value.join(",")), u = B(() => `url(#${i.value})`), c = B(() => n.roundedCorners && n.borderWidth <= 0 ? 6 : n.borderWidth), d = B(() => {
23945
23945
  const H = n.roundedCorners && n.borderWidth <= 0 ? parseInt(`${n.size}`, 10) - parseInt(`${c.value}`, 10) : n.size;
23946
23946
  return parseInt(`${H}`, 10) + parseInt(`${c.value}`, 10);
23947
- }), f = B(() => `${n.fill}%`), p = B(() => n.roundedCorners && n.borderWidth <= 0 ? n.fill <= 0 ? n.inactiveColor : n.activeColor : n.fill <= 0 ? n.borderColor : n.activeBorderColor), g = B(() => [...a.value].reduce((H, j) => Math.max(H, j))), v = B(() => `0 0 ${g.value} ${g.value}`), k = B(() => n.animate && s.value), m = B(() => n.roundedCorners ? "round" : "miter");
23947
+ }), f = B(() => `${n.fill}%`), p = B(() => n.roundedCorners && n.borderWidth <= 0 ? n.fill <= 0 ? n.inactiveColor : n.activeColor : n.fill <= 0 ? n.borderColor : n.activeBorderColor), g = B(() => [...a.value].reduce((H, j) => Math.max(H, j))), v = B(() => `0 0 ${g.value} ${g.value}`), S = B(() => n.animate && s.value), m = B(() => n.roundedCorners ? "round" : "miter");
23948
23948
  Sg(() => {
23949
23949
  a.value = n.points.length > 0 ? n.points : a.value, M(), i.value = P(), o.value = P();
23950
23950
  });
23951
- function S(H) {
23951
+ function k(H) {
23952
23952
  H.touchAction !== "undefined" && r("starMouseMove", {
23953
23953
  position: O(H),
23954
23954
  id: n.starId
@@ -23990,11 +23990,11 @@ const hR = ["height", "width", "viewBox"], mR = ["id"], vR = ["offset", "stop-co
23990
23990
  return new H0(H).parseAlphaColor().opacity;
23991
23991
  }
23992
23992
  return (H, j) => (T(), D("svg", {
23993
- class: re([{ "transition-all hover:rotate-12": k.value }, "overflow-visible"]),
23993
+ class: re([{ "transition-all hover:rotate-12": S.value }, "overflow-visible"]),
23994
23994
  height: d.value,
23995
23995
  width: d.value,
23996
23996
  viewBox: v.value,
23997
- onMousemove: S,
23997
+ onMousemove: k,
23998
23998
  onClick: x,
23999
23999
  onTouchstart: w,
24000
24000
  onTouchend: y
@@ -24089,7 +24089,7 @@ const hR = ["height", "width", "viewBox"], mR = ["id"], vR = ["offset", "stop-co
24089
24089
  return y(n.activeBorderColor, n.maxRating, n.activeBorderColor.slice(-1)[0]);
24090
24090
  const O = n.activeBorderColor ? n.activeBorderColor : n.borderColor;
24091
24091
  return Array.from({ length: n.maxRating }).fill(O);
24092
- }), v = B(() => n.activeOnClick ? `${s.value > 0 ? g.value[Math.ceil(s.value) - 1] : n.borderColor}` : `${o.value > 0 ? g.value[Math.ceil(o.value) - 1] : n.borderColor}`), k = B(() => {
24092
+ }), v = B(() => n.activeOnClick ? `${s.value > 0 ? g.value[Math.ceil(s.value) - 1] : n.borderColor}` : `${o.value > 0 ? g.value[Math.ceil(o.value) - 1] : n.borderColor}`), S = B(() => {
24093
24093
  const O = 1 / n.increment;
24094
24094
  return Math.min(n.maxRating, Math.ceil(o.value * O) / O);
24095
24095
  });
@@ -24108,11 +24108,11 @@ const hR = ["height", "width", "viewBox"], mR = ["id"], vR = ["offset", "stop-co
24108
24108
  }
24109
24109
  w(!0, !n.activeOnClick), r("hover:rating", o.value);
24110
24110
  }
24111
- function S() {
24111
+ function k() {
24112
24112
  n.readOnly || (o.value = s.value, w(c.value));
24113
24113
  }
24114
24114
  function w(O = !0, x = !0) {
24115
- o.value = O ? k.value : o.value;
24115
+ o.value = O ? S.value : o.value;
24116
24116
  for (let P = 0; P < n.maxRating; P++) {
24117
24117
  let M = 0;
24118
24118
  P < o.value && (M = o.value - P > 1 ? 100 : (o.value - P) * 100), x && (i.value[P] = Math.round(M));
@@ -24134,7 +24134,7 @@ const hR = ["height", "width", "viewBox"], mR = ["id"], vR = ["offset", "stop-co
24134
24134
  ]),
24135
24135
  N("div", {
24136
24136
  class: "flex items-center",
24137
- onMouseleave: S
24137
+ onMouseleave: k
24138
24138
  }, [
24139
24139
  (T(!0), D(Be, null, Ge(O.maxRating, (P) => (T(), D("span", {
24140
24140
  key: P,
@@ -24217,9 +24217,9 @@ var TR = (
24217
24217
  /** @class */
24218
24218
  function() {
24219
24219
  function e(t) {
24220
- var n = t.rootElement, r = t.durationSlide, a = r === void 0 ? 1e3 : r, i = t.durationFade, o = i === void 0 ? 200 : i, s = t.initialNumber, l = t.animateInitialNumber, u = l === void 0 ? !0 : l, c = t.numberFormatter, d = c === void 0 ? function(S) {
24221
- return S.toString();
24222
- } : c, f = t.decimalSeparator, p = f === void 0 ? "." : f, g = t.wrapperClassname, v = g === void 0 ? "numberflip-digit-container" : g, k = t.digitClassname, m = k === void 0 ? "numberflip-digit-container-value" : k;
24220
+ var n = t.rootElement, r = t.durationSlide, a = r === void 0 ? 1e3 : r, i = t.durationFade, o = i === void 0 ? 200 : i, s = t.initialNumber, l = t.animateInitialNumber, u = l === void 0 ? !0 : l, c = t.numberFormatter, d = c === void 0 ? function(k) {
24221
+ return k.toString();
24222
+ } : c, f = t.decimalSeparator, p = f === void 0 ? "." : f, g = t.wrapperClassname, v = g === void 0 ? "numberflip-digit-container" : g, S = t.digitClassname, m = S === void 0 ? "numberflip-digit-container-value" : S;
24223
24223
  this.rootElement = n, this.durationSlide = a, this.durationFade = o, this.numberFormatter = d, this.decimalSeparator = p, this.wrapperClassname = v, this.digitClassname = m, this.rootElement.style.display = "flex", s !== void 0 && this.setNumber(s, u);
24224
24224
  }
24225
24225
  return e.prototype.setNumber = function(t, n) {
@@ -24631,7 +24631,7 @@ function pG(e, t) {
24631
24631
  document.body.append(s);
24632
24632
  let l = null;
24633
24633
  return new Promise((u) => {
24634
- var c, d, f, p, g, v, k, m, S, w, y, O, x;
24634
+ var c, d, f, p, g, v, S, m, k, w, y, O, x;
24635
24635
  if ($i.instances.value.length > 0 && o.router) {
24636
24636
  (v = (g = (p = (f = (d = (c = $i.instances.value[$i.instances.value.length - 1]) == null ? void 0 : c.instance) == null ? void 0 : d.config) == null ? void 0 : f.globalProperties) == null ? void 0 : p.$router) == null ? void 0 : g.push) == null || v.call(g, o.router);
24637
24637
  return;
@@ -24647,11 +24647,11 @@ function pG(e, t) {
24647
24647
  (I = t == null ? void 0 : t.onClose) == null || I.call(t), u(A);
24648
24648
  }
24649
24649
  });
24650
- const P = Br("plugins") || ((k = window.UILibraryOptions) == null ? void 0 : k.plugins), M = P == null ? void 0 : P.find((A) => typeof (A == null ? void 0 : A.isReady) == "function");
24650
+ const P = Br("plugins") || ((S = window.UILibraryOptions) == null ? void 0 : S.plugins), M = P == null ? void 0 : P.find((A) => typeof (A == null ? void 0 : A.isReady) == "function");
24651
24651
  if (P == null || P.forEach((A) => {
24652
24652
  l == null || l.use(A);
24653
24653
  }), !M) {
24654
- r(l, s), o.router && ((y = (w = (S = (m = l == null ? void 0 : l.config) == null ? void 0 : m.globalProperties) == null ? void 0 : S.$router) == null ? void 0 : w.push) == null || y.call(w, o.router));
24654
+ r(l, s), o.router && ((y = (w = (k = (m = l == null ? void 0 : l.config) == null ? void 0 : m.globalProperties) == null ? void 0 : k.$router) == null ? void 0 : w.push) == null || y.call(w, o.router));
24655
24655
  return;
24656
24656
  }
24657
24657
  (x = (O = M == null ? void 0 : M.isReady()) == null ? void 0 : O.then) == null || x.call(O, () => {
@@ -25901,65 +25901,65 @@ function WR() {
25901
25901
  /***/
25902
25902
  function(n, r, a) {
25903
25903
  var i = this && this.__extends || /* @__PURE__ */ function() {
25904
- var v = function(k, m) {
25905
- return v = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(S, w) {
25906
- S.__proto__ = w;
25907
- } || function(S, w) {
25908
- for (var y in w) w.hasOwnProperty(y) && (S[y] = w[y]);
25909
- }, v(k, m);
25904
+ var v = function(S, m) {
25905
+ return v = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(k, w) {
25906
+ k.__proto__ = w;
25907
+ } || function(k, w) {
25908
+ for (var y in w) w.hasOwnProperty(y) && (k[y] = w[y]);
25909
+ }, v(S, m);
25910
25910
  };
25911
- return function(k, m) {
25912
- v(k, m);
25913
- function S() {
25914
- this.constructor = k;
25911
+ return function(S, m) {
25912
+ v(S, m);
25913
+ function k() {
25914
+ this.constructor = S;
25915
25915
  }
25916
- k.prototype = m === null ? Object.create(m) : (S.prototype = m.prototype, new S());
25916
+ S.prototype = m === null ? Object.create(m) : (k.prototype = m.prototype, new k());
25917
25917
  };
25918
25918
  }();
25919
25919
  Object.defineProperty(r, "__esModule", { value: !0 });
25920
25920
  var o = 256, s = (
25921
25921
  /** @class */
25922
25922
  function() {
25923
- function v(k) {
25924
- k === void 0 && (k = "="), this._paddingCharacter = k;
25923
+ function v(S) {
25924
+ S === void 0 && (S = "="), this._paddingCharacter = S;
25925
25925
  }
25926
- return v.prototype.encodedLength = function(k) {
25927
- return this._paddingCharacter ? (k + 2) / 3 * 4 | 0 : (k * 8 + 5) / 6 | 0;
25928
- }, v.prototype.encode = function(k) {
25929
- for (var m = "", S = 0; S < k.length - 2; S += 3) {
25930
- var w = k[S] << 16 | k[S + 1] << 8 | k[S + 2];
25926
+ return v.prototype.encodedLength = function(S) {
25927
+ return this._paddingCharacter ? (S + 2) / 3 * 4 | 0 : (S * 8 + 5) / 6 | 0;
25928
+ }, v.prototype.encode = function(S) {
25929
+ for (var m = "", k = 0; k < S.length - 2; k += 3) {
25930
+ var w = S[k] << 16 | S[k + 1] << 8 | S[k + 2];
25931
25931
  m += this._encodeByte(w >>> 3 * 6 & 63), m += this._encodeByte(w >>> 2 * 6 & 63), m += this._encodeByte(w >>> 1 * 6 & 63), m += this._encodeByte(w >>> 0 * 6 & 63);
25932
25932
  }
25933
- var y = k.length - S;
25933
+ var y = S.length - k;
25934
25934
  if (y > 0) {
25935
- var w = k[S] << 16 | (y === 2 ? k[S + 1] << 8 : 0);
25935
+ var w = S[k] << 16 | (y === 2 ? S[k + 1] << 8 : 0);
25936
25936
  m += this._encodeByte(w >>> 3 * 6 & 63), m += this._encodeByte(w >>> 2 * 6 & 63), y === 2 ? m += this._encodeByte(w >>> 1 * 6 & 63) : m += this._paddingCharacter || "", m += this._paddingCharacter || "";
25937
25937
  }
25938
25938
  return m;
25939
- }, v.prototype.maxDecodedLength = function(k) {
25940
- return this._paddingCharacter ? k / 4 * 3 | 0 : (k * 6 + 7) / 8 | 0;
25941
- }, v.prototype.decodedLength = function(k) {
25942
- return this.maxDecodedLength(k.length - this._getPaddingLength(k));
25943
- }, v.prototype.decode = function(k) {
25944
- if (k.length === 0)
25939
+ }, v.prototype.maxDecodedLength = function(S) {
25940
+ return this._paddingCharacter ? S / 4 * 3 | 0 : (S * 6 + 7) / 8 | 0;
25941
+ }, v.prototype.decodedLength = function(S) {
25942
+ return this.maxDecodedLength(S.length - this._getPaddingLength(S));
25943
+ }, v.prototype.decode = function(S) {
25944
+ if (S.length === 0)
25945
25945
  return new Uint8Array(0);
25946
- for (var m = this._getPaddingLength(k), S = k.length - m, w = new Uint8Array(this.maxDecodedLength(S)), y = 0, O = 0, x = 0, P = 0, M = 0, A = 0, I = 0; O < S - 4; O += 4)
25947
- P = this._decodeChar(k.charCodeAt(O + 0)), M = this._decodeChar(k.charCodeAt(O + 1)), A = this._decodeChar(k.charCodeAt(O + 2)), I = this._decodeChar(k.charCodeAt(O + 3)), w[y++] = P << 2 | M >>> 4, w[y++] = M << 4 | A >>> 2, w[y++] = A << 6 | I, x |= P & o, x |= M & o, x |= A & o, x |= I & o;
25948
- if (O < S - 1 && (P = this._decodeChar(k.charCodeAt(O)), M = this._decodeChar(k.charCodeAt(O + 1)), w[y++] = P << 2 | M >>> 4, x |= P & o, x |= M & o), O < S - 2 && (A = this._decodeChar(k.charCodeAt(O + 2)), w[y++] = M << 4 | A >>> 2, x |= A & o), O < S - 3 && (I = this._decodeChar(k.charCodeAt(O + 3)), w[y++] = A << 6 | I, x |= I & o), x !== 0)
25946
+ for (var m = this._getPaddingLength(S), k = S.length - m, w = new Uint8Array(this.maxDecodedLength(k)), y = 0, O = 0, x = 0, P = 0, M = 0, A = 0, I = 0; O < k - 4; O += 4)
25947
+ P = this._decodeChar(S.charCodeAt(O + 0)), M = this._decodeChar(S.charCodeAt(O + 1)), A = this._decodeChar(S.charCodeAt(O + 2)), I = this._decodeChar(S.charCodeAt(O + 3)), w[y++] = P << 2 | M >>> 4, w[y++] = M << 4 | A >>> 2, w[y++] = A << 6 | I, x |= P & o, x |= M & o, x |= A & o, x |= I & o;
25948
+ if (O < k - 1 && (P = this._decodeChar(S.charCodeAt(O)), M = this._decodeChar(S.charCodeAt(O + 1)), w[y++] = P << 2 | M >>> 4, x |= P & o, x |= M & o), O < k - 2 && (A = this._decodeChar(S.charCodeAt(O + 2)), w[y++] = M << 4 | A >>> 2, x |= A & o), O < k - 3 && (I = this._decodeChar(S.charCodeAt(O + 3)), w[y++] = A << 6 | I, x |= I & o), x !== 0)
25949
25949
  throw new Error("Base64Coder: incorrect characters for decoding");
25950
25950
  return w;
25951
- }, v.prototype._encodeByte = function(k) {
25952
- var m = k;
25953
- return m += 65, m += 25 - k >>> 8 & 6, m += 51 - k >>> 8 & -75, m += 61 - k >>> 8 & -15, m += 62 - k >>> 8 & 3, String.fromCharCode(m);
25954
- }, v.prototype._decodeChar = function(k) {
25951
+ }, v.prototype._encodeByte = function(S) {
25952
+ var m = S;
25953
+ return m += 65, m += 25 - S >>> 8 & 6, m += 51 - S >>> 8 & -75, m += 61 - S >>> 8 & -15, m += 62 - S >>> 8 & 3, String.fromCharCode(m);
25954
+ }, v.prototype._decodeChar = function(S) {
25955
25955
  var m = o;
25956
- return m += (42 - k & k - 44) >>> 8 & -256 + k - 43 + 62, m += (46 - k & k - 48) >>> 8 & -256 + k - 47 + 63, m += (47 - k & k - 58) >>> 8 & -256 + k - 48 + 52, m += (64 - k & k - 91) >>> 8 & -256 + k - 65 + 0, m += (96 - k & k - 123) >>> 8 & -256 + k - 97 + 26, m;
25957
- }, v.prototype._getPaddingLength = function(k) {
25956
+ return m += (42 - S & S - 44) >>> 8 & -256 + S - 43 + 62, m += (46 - S & S - 48) >>> 8 & -256 + S - 47 + 63, m += (47 - S & S - 58) >>> 8 & -256 + S - 48 + 52, m += (64 - S & S - 91) >>> 8 & -256 + S - 65 + 0, m += (96 - S & S - 123) >>> 8 & -256 + S - 97 + 26, m;
25957
+ }, v.prototype._getPaddingLength = function(S) {
25958
25958
  var m = 0;
25959
25959
  if (this._paddingCharacter) {
25960
- for (var S = k.length - 1; S >= 0 && k[S] === this._paddingCharacter; S--)
25960
+ for (var k = S.length - 1; k >= 0 && S[k] === this._paddingCharacter; k--)
25961
25961
  m++;
25962
- if (k.length < 4 || m > 2)
25962
+ if (S.length < 4 || m > 2)
25963
25963
  throw new Error("Base64Coder: incorrect padding");
25964
25964
  }
25965
25965
  return m;
@@ -25979,17 +25979,17 @@ function WR() {
25979
25979
  var d = (
25980
25980
  /** @class */
25981
25981
  function(v) {
25982
- i(k, v);
25983
- function k() {
25982
+ i(S, v);
25983
+ function S() {
25984
25984
  return v !== null && v.apply(this, arguments) || this;
25985
25985
  }
25986
- return k.prototype._encodeByte = function(m) {
25987
- var S = m;
25988
- return S += 65, S += 25 - m >>> 8 & 6, S += 51 - m >>> 8 & -75, S += 61 - m >>> 8 & -13, S += 62 - m >>> 8 & 49, String.fromCharCode(S);
25989
- }, k.prototype._decodeChar = function(m) {
25990
- var S = o;
25991
- return S += (44 - m & m - 46) >>> 8 & -256 + m - 45 + 62, S += (94 - m & m - 96) >>> 8 & -256 + m - 95 + 63, S += (47 - m & m - 58) >>> 8 & -256 + m - 48 + 52, S += (64 - m & m - 91) >>> 8 & -256 + m - 65 + 0, S += (96 - m & m - 123) >>> 8 & -256 + m - 97 + 26, S;
25992
- }, k;
25986
+ return S.prototype._encodeByte = function(m) {
25987
+ var k = m;
25988
+ return k += 65, k += 25 - m >>> 8 & 6, k += 51 - m >>> 8 & -75, k += 61 - m >>> 8 & -13, k += 62 - m >>> 8 & 49, String.fromCharCode(k);
25989
+ }, S.prototype._decodeChar = function(m) {
25990
+ var k = o;
25991
+ return k += (44 - m & m - 46) >>> 8 & -256 + m - 45 + 62, k += (94 - m & m - 96) >>> 8 & -256 + m - 95 + 63, k += (47 - m & m - 58) >>> 8 & -256 + m - 48 + 52, k += (64 - m & m - 91) >>> 8 & -256 + m - 65 + 0, k += (96 - m & m - 123) >>> 8 & -256 + m - 97 + 26, k;
25992
+ }, S;
25993
25993
  }(s)
25994
25994
  );
25995
25995
  r.URLSafeCoder = d;
@@ -26056,17 +26056,17 @@ function WR() {
26056
26056
  } else if (p < 240) {
26057
26057
  if (f >= c.length - 1)
26058
26058
  throw new Error(o);
26059
- var v = c[++f], k = c[++f];
26060
- if ((v & 192) !== 128 || (k & 192) !== 128)
26059
+ var v = c[++f], S = c[++f];
26060
+ if ((v & 192) !== 128 || (S & 192) !== 128)
26061
26061
  throw new Error(o);
26062
- p = (p & 15) << 12 | (v & 63) << 6 | k & 63, g = 2048;
26062
+ p = (p & 15) << 12 | (v & 63) << 6 | S & 63, g = 2048;
26063
26063
  } else if (p < 248) {
26064
26064
  if (f >= c.length - 2)
26065
26065
  throw new Error(o);
26066
- var v = c[++f], k = c[++f], m = c[++f];
26067
- if ((v & 192) !== 128 || (k & 192) !== 128 || (m & 192) !== 128)
26066
+ var v = c[++f], S = c[++f], m = c[++f];
26067
+ if ((v & 192) !== 128 || (S & 192) !== 128 || (m & 192) !== 128)
26068
26068
  throw new Error(o);
26069
- p = (p & 15) << 18 | (v & 63) << 12 | (k & 63) << 6 | m & 63, g = 65536;
26069
+ p = (p & 15) << 18 | (v & 63) << 12 | (S & 63) << 6 | m & 63, g = 65536;
26070
26070
  } else
26071
26071
  throw new Error(o);
26072
26072
  if (p < g || p >= 55296 && p <= 57343)
@@ -26203,7 +26203,7 @@ function WR() {
26203
26203
  (function(C) {
26204
26204
  C.UserAuthentication = "user-authentication", C.ChannelAuthorization = "channel-authorization";
26205
26205
  })(v || (v = {}));
26206
- class k extends Error {
26206
+ class S extends Error {
26207
26207
  constructor(h) {
26208
26208
  super(h), Object.setPrototypeOf(this, new.target.prototype);
26209
26209
  }
@@ -26213,7 +26213,7 @@ function WR() {
26213
26213
  super(h), Object.setPrototypeOf(this, new.target.prototype);
26214
26214
  }
26215
26215
  }
26216
- class S extends Error {
26216
+ class k extends Error {
26217
26217
  constructor(h) {
26218
26218
  super(h), Object.setPrototypeOf(this, new.target.prototype);
26219
26219
  }
@@ -27038,7 +27038,7 @@ function WR() {
27038
27038
  }
27039
27039
  trigger(h, b) {
27040
27040
  if (h.indexOf("client-") !== 0)
27041
- throw new k("Event '" + h + "' does not start with 'client-'");
27041
+ throw new S("Event '" + h + "' does not start with 'client-'");
27042
27042
  if (!this.subscribed) {
27043
27043
  var L = g.buildLogSuffix("triggeringClientEvents");
27044
27044
  Ie.warn(`Client event triggered before channel 'subscription_succeeded' event . ${L}`);
@@ -27789,7 +27789,7 @@ function WR() {
27789
27789
  getRequest: function(C) {
27790
27790
  var h = new window.XDomainRequest();
27791
27791
  return h.ontimeout = function() {
27792
- C.emit("error", new S()), C.close();
27792
+ C.emit("error", new k()), C.close();
27793
27793
  }, h.onerror = function(b) {
27794
27794
  C.emit("error", b), C.close();
27795
27795
  }, h.onprogress = function() {
@@ -28618,16 +28618,16 @@ function hG(e = null) {
28618
28618
  throw new Error("Echo is not initialized");
28619
28619
  Pt.echo.leave(l), delete Pt.casters[l];
28620
28620
  }
28621
- function o(l, u, c, d = !0) {
28621
+ function o(l, u, c, d = !0, f = !1) {
28622
28622
  if (Pt.echo === null)
28623
28623
  throw new Error("Echo is not initialized");
28624
- const f = `${l}.${u}`, p = Pt.emitter.all.has(f);
28625
- t && (t.isListening = !0), p || (d ? Pt.echo.private(l) : Pt.echo.channel(l)).listen(`.${u}`, (v) => {
28626
- Pt.emitter.emit(f, v);
28627
- }), Pt.emitter.on(f, async (g) => {
28628
- const v = await c(g) ?? !1;
28629
- t && (t.isListening = !1), v && s(l, u);
28630
- });
28624
+ const p = `${l}.${u}`, g = Pt.emitter.all.has(p);
28625
+ t && (t.isListening = !0), !(g && f) && (g || (d ? Pt.echo.private(l) : Pt.echo.channel(l)).listen(`.${u}`, (S) => {
28626
+ Pt.emitter.emit(p, S);
28627
+ }), Pt.emitter.on(p, async (v) => {
28628
+ const S = await c(v) ?? !1;
28629
+ t && (t.isListening = !1), S && s(l, u);
28630
+ }));
28631
28631
  }
28632
28632
  function s(l, u) {
28633
28633
  if (Pt.echo === null)
@@ -28728,18 +28728,18 @@ function GR(e, t) {
28728
28728
  }
28729
28729
  function Xc(e, t, n) {
28730
28730
  const r = "aria-expanded", a = q((n == null ? void 0 : n.active) ?? !1), i = q(), o = q(), s = q(), l = q(), u = q(), c = (n == null ? void 0 : n.placement) ?? "bottom-start", d = "clippingAncestors", f = (n == null ? void 0 : n.center) ?? !1, p = (n == null ? void 0 : n.mainAxis) ?? 0, g = (n == null ? void 0 : n.crossAxis) ?? 2, v = q();
28731
- function k(y, O) {
28731
+ function S(y, O) {
28732
28732
  i.value = y, o.value = O, s.value = new MutationObserver((P) => {
28733
28733
  const M = P[0].target.getAttribute(r);
28734
28734
  a.value = M === "true";
28735
28735
  }), l.value = new MutationObserver(async () => {
28736
- S(), await new Promise((P) => {
28736
+ k(), await new Promise((P) => {
28737
28737
  setTimeout(P, 500);
28738
- }), S();
28738
+ }), k();
28739
28739
  }), i.value && o.value && (s.value.observe(i.value, {
28740
28740
  attributes: !0,
28741
28741
  attributeFilter: [r]
28742
- }), S());
28742
+ }), k());
28743
28743
  const x = typeof (n == null ? void 0 : n.sizeElement) == "string" ? document.querySelector(n.sizeElement) : n == null ? void 0 : n.sizeElement;
28744
28744
  x && l.value.observe(x, {
28745
28745
  childList: !0,
@@ -28750,7 +28750,7 @@ function Xc(e, t, n) {
28750
28750
  const O = _(y);
28751
28751
  return typeof O == "function" ? O() : O;
28752
28752
  }
28753
- function S() {
28753
+ function k() {
28754
28754
  if (!i.value || !o.value) {
28755
28755
  console.error("Reference en/or floating element not found");
28756
28756
  return;
@@ -28799,11 +28799,11 @@ function Xc(e, t, n) {
28799
28799
  (y = o.value) == null || delete y.dataset.position, (O = u.value) == null || O.call(u);
28800
28800
  }
28801
28801
  return et(a, () => {
28802
- S();
28802
+ k();
28803
28803
  }), s6(() => {
28804
28804
  const y = m(e), O = m(t);
28805
28805
  if (y && O) {
28806
- k(y, O);
28806
+ S(y, O);
28807
28807
  return;
28808
28808
  }
28809
28809
  console.error("Reference or floating element not found", y, O);
@@ -28813,7 +28813,7 @@ function Xc(e, t, n) {
28813
28813
  }), {
28814
28814
  position: v,
28815
28815
  isActive: a,
28816
- setComputedPosition: S
28816
+ setComputedPosition: k
28817
28817
  };
28818
28818
  }
28819
28819
  const KR = {}, JR = {
@@ -32556,23 +32556,23 @@ function Y4(e, t = {}) {
32556
32556
  return O(Y), Reflect.apply(x, P, [Y, ...I]);
32557
32557
  }
32558
32558
  });
32559
- function k() {
32559
+ function S() {
32560
32560
  a && (clearTimeout(a), a = void 0);
32561
32561
  }
32562
32562
  function m(x) {
32563
- k(), a = setTimeout(() => {
32563
+ S(), a = setTimeout(() => {
32564
32564
  !r && n.size === 0 && o && (i = Yz, v.end(x));
32565
32565
  }, l);
32566
32566
  }
32567
- function S(x) {
32567
+ function k(x) {
32568
32568
  a = setTimeout(() => {
32569
32569
  !r && o && (i = qz, v.end(x));
32570
32570
  }, c);
32571
32571
  }
32572
32572
  function w(x) {
32573
- k(), n.set(x, !0);
32573
+ S(), n.set(x, !0);
32574
32574
  const P = Rn();
32575
- S(P + c / 1e3);
32575
+ k(P + c / 1e3);
32576
32576
  }
32577
32577
  function y(x) {
32578
32578
  if (n.has(x) && n.delete(x), n.size === 0) {
@@ -32610,7 +32610,7 @@ function Y4(e, t = {}) {
32610
32610
  })
32611
32611
  ), s.push(
32612
32612
  f.on("idleSpanEnableAutoFinish", (x) => {
32613
- x === v && (o = !0, m(), n.size && S());
32613
+ x === v && (o = !0, m(), n.size && k());
32614
32614
  })
32615
32615
  ), t.disableAutoFinish || m(), setTimeout(() => {
32616
32616
  r || (v.setStatus({ code: yn, message: "deadline_exceeded" }), i = Xz, v.end());
@@ -32719,18 +32719,18 @@ function X4(e, t, n, r, a, i) {
32719
32719
  ...t,
32720
32720
  event_id: t.event_id || n.event_id || dr(),
32721
32721
  timestamp: t.timestamp || Hl()
32722
- }, u = n.integrations || e.integrations.map((k) => k.name);
32722
+ }, u = n.integrations || e.integrations.map((S) => S.name);
32723
32723
  aF(l, e), sF(l, u), a && a.emit("applyFrameMetadata", t), t.type === void 0 && iF(l, e.stackParser);
32724
32724
  const c = uF(r, n.captureContext);
32725
32725
  n.mechanism && cs(l, n.mechanism);
32726
32726
  const d = a ? a.getEventProcessors() : [], f = JB().getScopeData();
32727
32727
  if (i) {
32728
- const k = i.getScopeData();
32729
- b1(f, k);
32728
+ const S = i.getScopeData();
32729
+ b1(f, S);
32730
32730
  }
32731
32731
  if (c) {
32732
- const k = c.getScopeData();
32733
- b1(f, k);
32732
+ const S = c.getScopeData();
32733
+ b1(f, S);
32734
32734
  }
32735
32735
  const p = [...n.attachments || [], ...f.attachments];
32736
32736
  p.length && (n.attachments = p), Qz(l, f);
@@ -32739,7 +32739,7 @@ function X4(e, t, n, r, a, i) {
32739
32739
  // Run scope event processors _after_ all other processors
32740
32740
  ...f.eventProcessors
32741
32741
  ];
32742
- return bp(g, l, n).then((k) => (k && oF(k), typeof o == "number" && o > 0 ? lF(k, o, s) : k));
32742
+ return bp(g, l, n).then((S) => (S && oF(S), typeof o == "number" && o > 0 ? lF(S, o, s) : S));
32743
32743
  }
32744
32744
  function aF(e, t) {
32745
32745
  var l, u;
@@ -33417,17 +33417,17 @@ class AF {
33417
33417
  const v = MF(this, i, p, n);
33418
33418
  return OF(v, c);
33419
33419
  }).then((p) => {
33420
- var k;
33420
+ var S;
33421
33421
  if (p === null) {
33422
33422
  if (this.recordDroppedEvent("before_send", f), s) {
33423
- const S = 1 + (t.spans || []).length;
33424
- this.recordDroppedEvent("before_send", "span", S);
33423
+ const k = 1 + (t.spans || []).length;
33424
+ this.recordDroppedEvent("before_send", "span", k);
33425
33425
  }
33426
33426
  throw new Mr(`${c} returned \`null\`, will not send event.`, "log");
33427
33427
  }
33428
33428
  const g = r.getSession() || a.getSession();
33429
33429
  if (l && g && this._updateSessionFromEvent(g, p), s) {
33430
- const m = ((k = p.sdkProcessingMetadata) == null ? void 0 : k.spanCountBeforeProcessing) || 0, S = p.spans ? p.spans.length : 0, w = m - S;
33430
+ const m = ((S = p.sdkProcessingMetadata) == null ? void 0 : S.spanCountBeforeProcessing) || 0, k = p.spans ? p.spans.length : 0, w = m - k;
33431
33431
  w > 0 && this.recordDroppedEvent("before_send", "span", w);
33432
33432
  }
33433
33433
  const v = p.transaction_info;
@@ -34880,7 +34880,7 @@ function Ua(e, t, n, { ...r }) {
34880
34880
  });
34881
34881
  }
34882
34882
  function E3(e) {
34883
- var k;
34883
+ var S;
34884
34884
  const t = yt();
34885
34885
  if (!t)
34886
34886
  return;
@@ -34900,7 +34900,7 @@ function E3(e) {
34900
34900
  // Web vital score calculation relies on the user agent to account for different
34901
34901
  // browsers setting different thresholds for what is considered a good/meh/bad value.
34902
34902
  // For example: Chrome vs. Chrome Mobile
34903
- "user_agent.original": (k = pt.navigator) == null ? void 0 : k.userAgent,
34903
+ "user_agent.original": (S = pt.navigator) == null ? void 0 : S.userAgent,
34904
34904
  // This tells Sentry to infer the IP address from the request
34905
34905
  "client.address": l ? "{{auto}}" : void 0,
34906
34906
  ...a
@@ -36562,7 +36562,7 @@ function FW(e, t, n) {
36562
36562
  });
36563
36563
  }
36564
36564
  function HW(e, t) {
36565
- const { doc: n, mirror: r, blockClass: a, blockSelector: i, unblockSelector: o, maskAllText: s, maskAttributeFn: l, maskTextClass: u, unmaskTextClass: c, maskTextSelector: d, unmaskTextSelector: f, inlineStylesheet: p, maskInputOptions: g = {}, maskTextFn: v, maskInputFn: k, dataURLOptions: m = {}, inlineImages: S, recordCanvas: w, keepIframeSrcFn: y, newlyAddedElement: O = !1 } = t, x = jW(n, r);
36565
+ const { doc: n, mirror: r, blockClass: a, blockSelector: i, unblockSelector: o, maskAllText: s, maskAttributeFn: l, maskTextClass: u, unmaskTextClass: c, maskTextSelector: d, unmaskTextSelector: f, inlineStylesheet: p, maskInputOptions: g = {}, maskTextFn: v, maskInputFn: S, dataURLOptions: m = {}, inlineImages: k, recordCanvas: w, keepIframeSrcFn: y, newlyAddedElement: O = !1 } = t, x = jW(n, r);
36566
36566
  switch (e.nodeType) {
36567
36567
  case e.DOCUMENT_NODE:
36568
36568
  return e.compatMode !== "CSS1Compat" ? {
@@ -36590,9 +36590,9 @@ function HW(e, t) {
36590
36590
  inlineStylesheet: p,
36591
36591
  maskAttributeFn: l,
36592
36592
  maskInputOptions: g,
36593
- maskInputFn: k,
36593
+ maskInputFn: S,
36594
36594
  dataURLOptions: m,
36595
- inlineImages: S,
36595
+ inlineImages: k,
36596
36596
  recordCanvas: w,
36597
36597
  keepIframeSrcFn: y,
36598
36598
  newlyAddedElement: O,
@@ -36612,7 +36612,7 @@ function HW(e, t) {
36612
36612
  unmaskTextSelector: f,
36613
36613
  maskTextFn: v,
36614
36614
  maskInputOptions: g,
36615
- maskInputFn: k,
36615
+ maskInputFn: S,
36616
36616
  rootId: x
36617
36617
  });
36618
36618
  case e.CDATA_SECTION_NODE:
@@ -36645,21 +36645,21 @@ function UW(e, t) {
36645
36645
  if (p && f) {
36646
36646
  try {
36647
36647
  e.nextSibling || e.previousSibling || (m = e.parentNode.sheet) != null && m.cssRules && (f = vc(e.parentNode.sheet));
36648
- } catch (S) {
36649
- console.warn(`Cannot get CSS styles from text's parentNode. Error: ${S}`, e);
36648
+ } catch (k) {
36649
+ console.warn(`Cannot get CSS styles from text's parentNode. Error: ${k}`, e);
36650
36650
  }
36651
36651
  f = yc(f, ld(t.doc));
36652
36652
  }
36653
36653
  g && (f = "SCRIPT_PLACEHOLDER");
36654
- const k = gs(e, r, i, a, o, n);
36655
- if (!p && !g && !v && f && k && (f = s ? s(f, e.parentElement) : f.replace(/[\S]/g, "*")), v && f && (l.textarea || k) && (f = u ? u(f, e.parentNode) : f.replace(/[\S]/g, "*")), d === "OPTION" && f) {
36656
- const S = sd({
36654
+ const S = gs(e, r, i, a, o, n);
36655
+ if (!p && !g && !v && f && S && (f = s ? s(f, e.parentElement) : f.replace(/[\S]/g, "*")), v && f && (l.textarea || S) && (f = u ? u(f, e.parentNode) : f.replace(/[\S]/g, "*")), d === "OPTION" && f) {
36656
+ const k = sd({
36657
36657
  type: null,
36658
36658
  tagName: d,
36659
36659
  maskInputOptions: l
36660
36660
  });
36661
36661
  f = Sl({
36662
- isMasked: gs(e, r, i, a, o, S),
36662
+ isMasked: gs(e, r, i, a, o, k),
36663
36663
  element: e,
36664
36664
  value: f,
36665
36665
  maskInputFn: u
@@ -36673,7 +36673,7 @@ function UW(e, t) {
36673
36673
  };
36674
36674
  }
36675
36675
  function WW(e, t) {
36676
- const { doc: n, blockClass: r, blockSelector: a, unblockSelector: i, inlineStylesheet: o, maskInputOptions: s = {}, maskAttributeFn: l, maskInputFn: u, dataURLOptions: c = {}, inlineImages: d, recordCanvas: f, keepIframeSrcFn: p, newlyAddedElement: g = !1, rootId: v, maskTextClass: k, unmaskTextClass: m, maskTextSelector: S, unmaskTextSelector: w } = t, y = NW(e, r, a, i), O = EW(e);
36676
+ const { doc: n, blockClass: r, blockSelector: a, unblockSelector: i, inlineStylesheet: o, maskInputOptions: s = {}, maskAttributeFn: l, maskInputFn: u, dataURLOptions: c = {}, inlineImages: d, recordCanvas: f, keepIframeSrcFn: p, newlyAddedElement: g = !1, rootId: v, maskTextClass: S, unmaskTextClass: m, maskTextSelector: k, unmaskTextSelector: w } = t, y = NW(e, r, a, i), O = EW(e);
36677
36677
  let x = {};
36678
36678
  const P = e.attributes.length;
36679
36679
  for (let A = 0; A < P; A++) {
@@ -36692,7 +36692,7 @@ function WW(e, t) {
36692
36692
  if (O === "input" || O === "textarea" || O === "select" || O === "option") {
36693
36693
  const A = e, I = Em(A), H = gc(A, Mp(O), I), j = A.checked;
36694
36694
  if (I !== "submit" && I !== "button" && H) {
36695
- const Q = gs(A, k, S, m, w, sd({
36695
+ const Q = gs(A, S, k, m, w, sd({
36696
36696
  type: I,
36697
36697
  tagName: Mp(O),
36698
36698
  maskInputOptions: s
@@ -36787,7 +36787,7 @@ function VW(e, t) {
36787
36787
  return !1;
36788
36788
  }
36789
36789
  function No(e, t) {
36790
- const { doc: n, mirror: r, blockClass: a, blockSelector: i, unblockSelector: o, maskAllText: s, maskTextClass: l, unmaskTextClass: u, maskTextSelector: c, unmaskTextSelector: d, skipChild: f = !1, inlineStylesheet: p = !0, maskInputOptions: g = {}, maskAttributeFn: v, maskTextFn: k, maskInputFn: m, slimDOMOptions: S, dataURLOptions: w = {}, inlineImages: y = !1, recordCanvas: O = !1, onSerialize: x, onIframeLoad: P, iframeLoadTimeout: M = 5e3, onStylesheetLoad: A, stylesheetLoadTimeout: I = 5e3, keepIframeSrcFn: H = () => !1, newlyAddedElement: j = !1 } = t;
36790
+ const { doc: n, mirror: r, blockClass: a, blockSelector: i, unblockSelector: o, maskAllText: s, maskTextClass: l, unmaskTextClass: u, maskTextSelector: c, unmaskTextSelector: d, skipChild: f = !1, inlineStylesheet: p = !0, maskInputOptions: g = {}, maskAttributeFn: v, maskTextFn: S, maskInputFn: m, slimDOMOptions: k, dataURLOptions: w = {}, inlineImages: y = !1, recordCanvas: O = !1, onSerialize: x, onIframeLoad: P, iframeLoadTimeout: M = 5e3, onStylesheetLoad: A, stylesheetLoadTimeout: I = 5e3, keepIframeSrcFn: H = () => !1, newlyAddedElement: j = !1 } = t;
36791
36791
  let { preserveWhiteSpace: Q = !0 } = t;
36792
36792
  const z = HW(e, {
36793
36793
  doc: n,
@@ -36803,7 +36803,7 @@ function No(e, t) {
36803
36803
  inlineStylesheet: p,
36804
36804
  maskInputOptions: g,
36805
36805
  maskAttributeFn: v,
36806
- maskTextFn: k,
36806
+ maskTextFn: S,
36807
36807
  maskInputFn: m,
36808
36808
  dataURLOptions: w,
36809
36809
  inlineImages: y,
@@ -36814,7 +36814,7 @@ function No(e, t) {
36814
36814
  if (!z)
36815
36815
  return console.warn(e, "not serialized"), null;
36816
36816
  let U;
36817
- r.hasNode(e) ? U = r.getId(e) : VW(z, S) || !Q && z.type === pn.Text && !z.isStyle && !z.textContent.replace(/^\s+|\s+$/gm, "").length ? U = kl : U = Pm();
36817
+ r.hasNode(e) ? U = r.getId(e) : VW(z, k) || !Q && z.type === pn.Text && !z.isStyle && !z.textContent.replace(/^\s+|\s+$/gm, "").length ? U = kl : U = Pm();
36818
36818
  const R = Object.assign(z, { id: U });
36819
36819
  if (r.add(e, R), U === kl)
36820
36820
  return null;
@@ -36826,7 +36826,7 @@ function No(e, t) {
36826
36826
  oe && rl(oe) && (R.isShadowHost = !0);
36827
36827
  }
36828
36828
  if ((R.type === pn.Document || R.type === pn.Element) && Y) {
36829
- S.headWhitespace && R.type === pn.Element && R.tagName === "head" && (Q = !1);
36829
+ k.headWhitespace && R.type === pn.Element && R.tagName === "head" && (Q = !1);
36830
36830
  const oe = {
36831
36831
  doc: n,
36832
36832
  mirror: r,
@@ -36842,9 +36842,9 @@ function No(e, t) {
36842
36842
  inlineStylesheet: p,
36843
36843
  maskInputOptions: g,
36844
36844
  maskAttributeFn: v,
36845
- maskTextFn: k,
36845
+ maskTextFn: S,
36846
36846
  maskInputFn: m,
36847
- slimDOMOptions: S,
36847
+ slimDOMOptions: k,
36848
36848
  dataURLOptions: w,
36849
36849
  inlineImages: y,
36850
36850
  recordCanvas: O,
@@ -36884,9 +36884,9 @@ function No(e, t) {
36884
36884
  inlineStylesheet: p,
36885
36885
  maskInputOptions: g,
36886
36886
  maskAttributeFn: v,
36887
- maskTextFn: k,
36887
+ maskTextFn: S,
36888
36888
  maskInputFn: m,
36889
- slimDOMOptions: S,
36889
+ slimDOMOptions: k,
36890
36890
  dataURLOptions: w,
36891
36891
  inlineImages: y,
36892
36892
  recordCanvas: O,
@@ -36917,9 +36917,9 @@ function No(e, t) {
36917
36917
  inlineStylesheet: p,
36918
36918
  maskInputOptions: g,
36919
36919
  maskAttributeFn: v,
36920
- maskTextFn: k,
36920
+ maskTextFn: S,
36921
36921
  maskInputFn: m,
36922
- slimDOMOptions: S,
36922
+ slimDOMOptions: k,
36923
36923
  dataURLOptions: w,
36924
36924
  inlineImages: y,
36925
36925
  recordCanvas: O,
@@ -36936,7 +36936,7 @@ function No(e, t) {
36936
36936
  }, I), R;
36937
36937
  }
36938
36938
  function qW(e, t) {
36939
- const { mirror: n = new z3(), blockClass: r = "rr-block", blockSelector: a = null, unblockSelector: i = null, maskAllText: o = !1, maskTextClass: s = "rr-mask", unmaskTextClass: l = null, maskTextSelector: u = null, unmaskTextSelector: c = null, inlineStylesheet: d = !0, inlineImages: f = !1, recordCanvas: p = !1, maskAllInputs: g = !1, maskAttributeFn: v, maskTextFn: k, maskInputFn: m, slimDOM: S = !1, dataURLOptions: w, preserveWhiteSpace: y, onSerialize: O, onIframeLoad: x, iframeLoadTimeout: P, onStylesheetLoad: M, stylesheetLoadTimeout: A, keepIframeSrcFn: I = () => !1 } = t;
36939
+ const { mirror: n = new z3(), blockClass: r = "rr-block", blockSelector: a = null, unblockSelector: i = null, maskAllText: o = !1, maskTextClass: s = "rr-mask", unmaskTextClass: l = null, maskTextSelector: u = null, unmaskTextSelector: c = null, inlineStylesheet: d = !0, inlineImages: f = !1, recordCanvas: p = !1, maskAllInputs: g = !1, maskAttributeFn: v, maskTextFn: S, maskInputFn: m, slimDOM: k = !1, dataURLOptions: w, preserveWhiteSpace: y, onSerialize: O, onIframeLoad: x, iframeLoadTimeout: P, onStylesheetLoad: M, stylesheetLoadTimeout: A, keepIframeSrcFn: I = () => !1 } = t;
36940
36940
  return No(e, {
36941
36941
  doc: e,
36942
36942
  mirror: n,
@@ -36968,20 +36968,20 @@ function qW(e, t) {
36968
36968
  select: !0
36969
36969
  } : g === !1 ? {} : g,
36970
36970
  maskAttributeFn: v,
36971
- maskTextFn: k,
36971
+ maskTextFn: S,
36972
36972
  maskInputFn: m,
36973
- slimDOMOptions: S === !0 || S === "all" ? {
36973
+ slimDOMOptions: k === !0 || k === "all" ? {
36974
36974
  script: !0,
36975
36975
  comment: !0,
36976
36976
  headFavicon: !0,
36977
36977
  headWhitespace: !0,
36978
- headMetaDescKeywords: S === "all",
36978
+ headMetaDescKeywords: k === "all",
36979
36979
  headMetaSocial: !0,
36980
36980
  headMetaRobots: !0,
36981
36981
  headMetaHttpEquiv: !0,
36982
36982
  headMetaAuthorship: !0,
36983
36983
  headMetaVerification: !0
36984
- } : S === !1 ? {} : S,
36984
+ } : k === !1 ? {} : k,
36985
36985
  dataURLOptions: w,
36986
36986
  inlineImages: f,
36987
36987
  recordCanvas: p,
@@ -37652,14 +37652,14 @@ function sV({ mouseInteractionCb: e, doc: t, mirror: n, blockClass: r, blockSele
37652
37652
  g === _a.Touch ? Fn[d] === Fn.MouseDown ? v = "TouchStart" : Fn[d] === Fn.MouseUp && (v = "TouchEnd") : _a.Pen;
37653
37653
  } else Lp(f) && (g = _a.Touch);
37654
37654
  g !== null ? (u = g, (v.startsWith("Touch") && g === _a.Touch || v.startsWith("Mouse") && g === _a.Mouse) && (g = null)) : Fn[d] === Fn.Click && (g = u, u = null);
37655
- const k = Lp(f) ? f.changedTouches[0] : f;
37656
- if (!k)
37655
+ const S = Lp(f) ? f.changedTouches[0] : f;
37656
+ if (!S)
37657
37657
  return;
37658
- const m = n.getId(p), { clientX: S, clientY: w } = k;
37658
+ const m = n.getId(p), { clientX: k, clientY: w } = S;
37659
37659
  _t(e)({
37660
37660
  type: Fn[v],
37661
37661
  id: m,
37662
- x: S,
37662
+ x: k,
37663
37663
  y: w,
37664
37664
  ...g !== null && { pointerType: g }
37665
37665
  });
@@ -37717,7 +37717,7 @@ function lV({ viewportResizeCb: e }, { win: t }) {
37717
37717
  }
37718
37718
  const uV = ["INPUT", "TEXTAREA", "SELECT"], ng = /* @__PURE__ */ new WeakMap();
37719
37719
  function cV({ inputCb: e, doc: t, mirror: n, blockClass: r, blockSelector: a, unblockSelector: i, ignoreClass: o, ignoreSelector: s, maskInputOptions: l, maskInputFn: u, sampling: c, userTriggeredOnInput: d, maskTextClass: f, unmaskTextClass: p, maskTextSelector: g, unmaskTextSelector: v }) {
37720
- function k(P) {
37720
+ function S(P) {
37721
37721
  let M = Kl(P);
37722
37722
  const A = P.isTrusted, I = M && Mp(M.tagName);
37723
37723
  if (I === "OPTION" && (M = M.parentElement), !M || !I || uV.indexOf(I) < 0 || ar(M, r, a, i, !0))
@@ -37762,7 +37762,7 @@ function cV({ inputCb: e, doc: t, mirror: n, blockClass: r, blockSelector: a, un
37762
37762
  });
37763
37763
  }
37764
37764
  }
37765
- const w = (c.input === "last" ? ["change"] : ["input", "change"]).map((P) => Hn(P, _t(k), t)), y = t.defaultView;
37765
+ const w = (c.input === "last" ? ["change"] : ["input", "change"]).map((P) => Hn(P, _t(S), t)), y = t.defaultView;
37766
37766
  if (!y)
37767
37767
  return () => {
37768
37768
  w.forEach((P) => P());
@@ -37777,7 +37777,7 @@ function cV({ inputCb: e, doc: t, mirror: n, blockClass: r, blockSelector: a, un
37777
37777
  ];
37778
37778
  return O && O.set && w.push(...x.map((P) => q3(P[0], P[1], {
37779
37779
  set() {
37780
- _t(k)({
37780
+ _t(S)({
37781
37781
  target: this,
37782
37782
  isTrusted: !1
37783
37783
  });
@@ -37814,10 +37814,10 @@ function dV({ styleSheetRuleCb: e, mirror: t, stylesheetManager: n }, { win: r }
37814
37814
  const a = r.CSSStyleSheet.prototype.insertRule;
37815
37815
  r.CSSStyleSheet.prototype.insertRule = new Proxy(a, {
37816
37816
  apply: _t((c, d, f) => {
37817
- const [p, g] = f, { id: v, styleId: k } = Qa(d, t, n.styleMirror);
37818
- return (v && v !== -1 || k && k !== -1) && e({
37817
+ const [p, g] = f, { id: v, styleId: S } = Qa(d, t, n.styleMirror);
37818
+ return (v && v !== -1 || S && S !== -1) && e({
37819
37819
  id: v,
37820
- styleId: k,
37820
+ styleId: S,
37821
37821
  adds: [{ rule: p, index: g }]
37822
37822
  }), c.apply(d, f);
37823
37823
  })
@@ -37864,16 +37864,16 @@ function dV({ styleSheetRuleCb: e, mirror: t, stylesheetManager: n }, { win: r }
37864
37864
  deleteRule: d.prototype.deleteRule
37865
37865
  }, d.prototype.insertRule = new Proxy(u[c].insertRule, {
37866
37866
  apply: _t((f, p, g) => {
37867
- const [v, k] = g, { id: m, styleId: S } = Qa(p.parentStyleSheet, t, n.styleMirror);
37868
- return (m && m !== -1 || S && S !== -1) && e({
37867
+ const [v, S] = g, { id: m, styleId: k } = Qa(p.parentStyleSheet, t, n.styleMirror);
37868
+ return (m && m !== -1 || k && k !== -1) && e({
37869
37869
  id: m,
37870
- styleId: S,
37870
+ styleId: k,
37871
37871
  adds: [
37872
37872
  {
37873
37873
  rule: v,
37874
37874
  index: [
37875
37875
  ...wc(p),
37876
- k || 0
37876
+ S || 0
37877
37877
  ]
37878
37878
  }
37879
37879
  ]
@@ -37881,9 +37881,9 @@ function dV({ styleSheetRuleCb: e, mirror: t, stylesheetManager: n }, { win: r }
37881
37881
  })
37882
37882
  }), d.prototype.deleteRule = new Proxy(u[c].deleteRule, {
37883
37883
  apply: _t((f, p, g) => {
37884
- const [v] = g, { id: k, styleId: m } = Qa(p.parentStyleSheet, t, n.styleMirror);
37885
- return (k && k !== -1 || m && m !== -1) && e({
37886
- id: k,
37884
+ const [v] = g, { id: S, styleId: m } = Qa(p.parentStyleSheet, t, n.styleMirror);
37885
+ return (S && S !== -1 || m && m !== -1) && e({
37886
+ id: S,
37887
37887
  styleId: m,
37888
37888
  removes: [
37889
37889
  { index: [...wc(p), v] }
@@ -38035,11 +38035,11 @@ function mV(e) {
38035
38035
  s = u.isCollapsed || !1;
38036
38036
  const c = [], d = u.rangeCount || 0;
38037
38037
  for (let f = 0; f < d; f++) {
38038
- const p = u.getRangeAt(f), { startContainer: g, startOffset: v, endContainer: k, endOffset: m } = p;
38039
- ar(g, r, a, i, !0) || ar(k, r, a, i, !0) || c.push({
38038
+ const p = u.getRangeAt(f), { startContainer: g, startOffset: v, endContainer: S, endOffset: m } = p;
38039
+ ar(g, r, a, i, !0) || ar(S, r, a, i, !0) || c.push({
38040
38040
  start: n.getId(g),
38041
38041
  startOffset: v,
38042
- end: n.getId(k),
38042
+ end: n.getId(S),
38043
38043
  endOffset: m
38044
38044
  });
38045
38045
  }
@@ -38082,11 +38082,11 @@ function gV(e, t = {}) {
38082
38082
  e.recordDOM && (c = dV(e, { win: n }), d = iw(e, e.doc), f = fV(e, {
38083
38083
  win: n
38084
38084
  }), e.collectFonts && (p = hV(e)));
38085
- const g = mV(e), v = vV(e), k = [];
38085
+ const g = mV(e), v = vV(e), S = [];
38086
38086
  for (const m of e.plugins)
38087
- k.push(m.observer(m.callback, n, m.options));
38087
+ S.push(m.observer(m.callback, n, m.options));
38088
38088
  return _t(() => {
38089
- Bo.forEach((m) => m.reset()), r == null || r.disconnect(), a(), i(), o(), s(), l(), u(), c(), d(), f(), p(), g(), v(), k.forEach((m) => m());
38089
+ Bo.forEach((m) => m.reset()), r == null || r.disconnect(), a(), i(), o(), s(), l(), u(), c(), d(), f(), p(), g(), v(), S.forEach((m) => m());
38090
38090
  });
38091
38091
  }
38092
38092
  function Tu(e) {
@@ -38443,7 +38443,7 @@ try {
38443
38443
  }
38444
38444
  const Pr = kW();
38445
38445
  function Ma(e = {}) {
38446
- const { emit: t, checkoutEveryNms: n, checkoutEveryNth: r, blockClass: a = "rr-block", blockSelector: i = null, unblockSelector: o = null, ignoreClass: s = "rr-ignore", ignoreSelector: l = null, maskAllText: u = !1, maskTextClass: c = "rr-mask", unmaskTextClass: d = null, maskTextSelector: f = null, unmaskTextSelector: p = null, inlineStylesheet: g = !0, maskAllInputs: v, maskInputOptions: k, slimDOMOptions: m, maskAttributeFn: S, maskInputFn: w, maskTextFn: y, maxCanvasSize: O = null, packFn: x, sampling: P = {}, dataURLOptions: M = {}, mousemoveWait: A, recordDOM: I = !0, recordCanvas: H = !1, recordCrossOriginIframes: j = !1, recordAfter: Q = e.recordAfter === "DOMContentLoaded" ? e.recordAfter : "load", userTriggeredOnInput: z = !1, collectFonts: U = !1, inlineImages: R = !1, plugins: Y, keepIframeSrcFn: oe = () => !1, ignoreCSSAttributes: K = /* @__PURE__ */ new Set([]), errorHandler: ce, onMutation: te, getCanvasManager: se } = e;
38446
+ const { emit: t, checkoutEveryNms: n, checkoutEveryNth: r, blockClass: a = "rr-block", blockSelector: i = null, unblockSelector: o = null, ignoreClass: s = "rr-ignore", ignoreSelector: l = null, maskAllText: u = !1, maskTextClass: c = "rr-mask", unmaskTextClass: d = null, maskTextSelector: f = null, unmaskTextSelector: p = null, inlineStylesheet: g = !0, maskAllInputs: v, maskInputOptions: S, slimDOMOptions: m, maskAttributeFn: k, maskInputFn: w, maskTextFn: y, maxCanvasSize: O = null, packFn: x, sampling: P = {}, dataURLOptions: M = {}, mousemoveWait: A, recordDOM: I = !0, recordCanvas: H = !1, recordCrossOriginIframes: j = !1, recordAfter: Q = e.recordAfter === "DOMContentLoaded" ? e.recordAfter : "load", userTriggeredOnInput: z = !1, collectFonts: U = !1, inlineImages: R = !1, plugins: Y, keepIframeSrcFn: oe = () => !1, ignoreCSSAttributes: K = /* @__PURE__ */ new Set([]), errorHandler: ce, onMutation: te, getCanvasManager: se } = e;
38447
38447
  aV(ce);
38448
38448
  const ee = j ? window.parent === window : !0;
38449
38449
  let J = !1;
@@ -38477,7 +38477,7 @@ function Ma(e = {}) {
38477
38477
  select: !0,
38478
38478
  radio: !0,
38479
38479
  checkbox: !0
38480
- } : k !== void 0 ? k : {}, W = m === !0 || m === "all" ? {
38480
+ } : S !== void 0 ? S : {}, W = m === !0 || m === "all" ? {
38481
38481
  script: !0,
38482
38482
  comment: !0,
38483
38483
  headFavicon: !0,
@@ -38596,7 +38596,7 @@ function Ma(e = {}) {
38596
38596
  inlineStylesheet: g,
38597
38597
  maskInputOptions: G,
38598
38598
  dataURLOptions: M,
38599
- maskAttributeFn: S,
38599
+ maskAttributeFn: k,
38600
38600
  maskTextFn: y,
38601
38601
  maskInputFn: w,
38602
38602
  recordCanvas: H,
@@ -38633,7 +38633,7 @@ function Ma(e = {}) {
38633
38633
  unmaskTextSelector: p,
38634
38634
  inlineStylesheet: g,
38635
38635
  maskAllInputs: G,
38636
- maskAttributeFn: S,
38636
+ maskAttributeFn: k,
38637
38637
  maskInputFn: w,
38638
38638
  maskTextFn: y,
38639
38639
  slimDOM: W,
@@ -38761,7 +38761,7 @@ function Ma(e = {}) {
38761
38761
  userTriggeredOnInput: z,
38762
38762
  collectFonts: U,
38763
38763
  doc: Me,
38764
- maskAttributeFn: S,
38764
+ maskAttributeFn: k,
38765
38765
  maskInputFn: w,
38766
38766
  maskTextFn: y,
38767
38767
  keepIframeSrcFn: oe,
@@ -40245,7 +40245,7 @@ function rY(e, t, n) {
40245
40245
  response: P
40246
40246
  };
40247
40247
  }
40248
- const p = s[Hi], g = p ? zp(p.request_headers, n.networkRequestHeaders) : {}, v = zp(aY(s), n.networkResponseHeaders), [k, m] = n.networkCaptureBodies ? L3(o, rt) : [void 0], [S, w] = n.networkCaptureBodies ? iY(s) : [void 0], y = ii(g, d, k), O = ii(v, f, S);
40248
+ const p = s[Hi], g = p ? zp(p.request_headers, n.networkRequestHeaders) : {}, v = zp(aY(s), n.networkResponseHeaders), [S, m] = n.networkCaptureBodies ? L3(o, rt) : [void 0], [k, w] = n.networkCaptureBodies ? iY(s) : [void 0], y = ii(g, d, S), O = ii(v, f, k);
40249
40249
  return {
40250
40250
  startTimestamp: a,
40251
40251
  endTimestamp: i,
@@ -40548,14 +40548,14 @@ async function xY({
40548
40548
  replay_id: t,
40549
40549
  segment_id: n,
40550
40550
  replay_type: i.sampled
40551
- }, k = await CY({ scope: f, client: d, replayId: t, event: v });
40552
- if (!k)
40551
+ }, S = await CY({ scope: f, client: d, replayId: t, event: v });
40552
+ if (!S)
40553
40553
  return d.recordDroppedEvent("event_processor", "replay"), nt && rt.info("An event processor returned `null`, will not send event."), Fa({});
40554
- delete k.sdkProcessingMetadata;
40555
- const m = SY(k, o, g, d.getOptions().tunnel);
40556
- let S;
40554
+ delete S.sdkProcessingMetadata;
40555
+ const m = SY(S, o, g, d.getOptions().tunnel);
40556
+ let k;
40557
40557
  try {
40558
- S = await p.send(m);
40558
+ k = await p.send(m);
40559
40559
  } catch (y) {
40560
40560
  const O = new Error(xm);
40561
40561
  try {
@@ -40564,12 +40564,12 @@ async function xY({
40564
40564
  }
40565
40565
  throw O;
40566
40566
  }
40567
- if (typeof S.statusCode == "number" && (S.statusCode < 200 || S.statusCode >= 300))
40568
- throw new kw(S.statusCode);
40569
- const w = r3({}, S);
40567
+ if (typeof k.statusCode == "number" && (k.statusCode < 200 || k.statusCode >= 300))
40568
+ throw new kw(k.statusCode);
40569
+ const w = r3({}, k);
40570
40570
  if (n3(w, "replay"))
40571
40571
  throw new Bm(w);
40572
- return S;
40572
+ return k;
40573
40573
  }
40574
40574
  class kw extends Error {
40575
40575
  constructor(t) {
@@ -41372,9 +41372,9 @@ class LY {
41372
41372
  mutationLimit: p = 1e4,
41373
41373
  slowClickTimeout: g = 7e3,
41374
41374
  slowClickIgnoreSelectors: v = [],
41375
- networkDetailAllowUrls: k = [],
41375
+ networkDetailAllowUrls: S = [],
41376
41376
  networkDetailDenyUrls: m = [],
41377
- networkCaptureBodies: S = !0,
41377
+ networkCaptureBodies: k = !0,
41378
41378
  networkRequestHeaders: w = [],
41379
41379
  networkResponseHeaders: y = [],
41380
41380
  mask: O = [],
@@ -41440,9 +41440,9 @@ class LY {
41440
41440
  mutationLimit: p,
41441
41441
  slowClickTimeout: g,
41442
41442
  slowClickIgnoreSelectors: v,
41443
- networkDetailAllowUrls: k,
41443
+ networkDetailAllowUrls: S,
41444
41444
  networkDetailDenyUrls: m,
41445
- networkCaptureBodies: S,
41445
+ networkCaptureBodies: k,
41446
41446
  networkRequestHeaders: dg(w),
41447
41447
  networkResponseHeaders: dg(y),
41448
41448
  beforeAddRecordingEvent: j,
@@ -41746,9 +41746,9 @@ const UY = "BrowserTracing", WY = {
41746
41746
  traceXHR: p,
41747
41747
  trackFetchStreamPerformance: g,
41748
41748
  shouldCreateSpanForRequest: v,
41749
- enableHTTPTimings: k,
41749
+ enableHTTPTimings: S,
41750
41750
  instrumentPageLoad: m,
41751
- instrumentNavigation: S
41751
+ instrumentNavigation: k
41752
41752
  } = {
41753
41753
  ...WY,
41754
41754
  ...e
@@ -41821,7 +41821,7 @@ const UY = "BrowserTracing", WY = {
41821
41821
  }
41822
41822
  });
41823
41823
  }
41824
- S && od(({ to: A, from: I }) => {
41824
+ k && od(({ to: A, from: I }) => {
41825
41825
  if (I === void 0 && (P == null ? void 0 : P.indexOf(A)) !== -1) {
41826
41826
  P = void 0;
41827
41827
  return;
@@ -41841,7 +41841,7 @@ const UY = "BrowserTracing", WY = {
41841
41841
  trackFetchStreamPerformance: g,
41842
41842
  tracePropagationTargets: x.getOptions().tracePropagationTargets,
41843
41843
  shouldCreateSpanForRequest: v,
41844
- enableHTTPTimings: k
41844
+ enableHTTPTimings: S
41845
41845
  });
41846
41846
  }
41847
41847
  };