@quoreadmin/ui 1.3.30 → 1.3.31

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -13,7 +13,7 @@ var Ir = (t, e, n, r) => ({
13
13
  return p(t, e, r);
14
14
  }
15
15
  });
16
- import { defineComponent as Oe, computed as Y, resolveComponent as X, createElementBlock as k, openBlock as w, normalizeClass as B, renderSlot as H, createVNode as R, normalizeProps as En, guardReactiveProps as _r, createElementVNode as x, createCommentVNode as P, toDisplayString as K, Transition as Sn, withCtx as Q, ref as _, getCurrentInstance as Ua, onMounted as Et, onUnmounted as Wr, unref as qi, nextTick as fn, inject as yi, cloneVNode as TL, h as Zn, Fragment as me, provide as $a, watchEffect as xn, watch as st, getCurrentScope as EL, onScopeDispose as IL, isRef as OL, reactive as zi, shallowRef as O5, useSlots as e9, onUpdated as DL, mergeProps as L, readonly as iA, resolveDirective as Mr, renderList as Ie, withDirectives as Tt, createBlock as j, Text as xL, Teleport as D5, resolveDynamicComponent as Pe, withKeys as sr, toHandlerKey as Br, withModifiers as at, createTextVNode as Re, normalizeStyle as In, onBeforeUnmount as Tu, markRaw as NL, customRef as PL, toRaw as sA, vShow as c0, vModelText as LL, TransitionGroup as RL, createSlots as sl, toRef as _L, isVNode as $L, toHandlers as pm, render as kb } from "vue";
16
+ import { defineComponent as Oe, computed as Y, resolveComponent as X, createElementBlock as k, openBlock as w, normalizeClass as B, renderSlot as H, createVNode as R, normalizeProps as En, guardReactiveProps as _r, createElementVNode as x, createCommentVNode as P, toDisplayString as Z, Transition as Sn, withCtx as Q, ref as _, getCurrentInstance as Ua, onMounted as Et, onUnmounted as Wr, unref as qi, nextTick as fn, inject as yi, cloneVNode as TL, h as Zn, Fragment as me, provide as $a, watchEffect as xn, watch as st, getCurrentScope as EL, onScopeDispose as IL, isRef as OL, reactive as zi, shallowRef as O5, useSlots as e9, onUpdated as DL, mergeProps as L, readonly as iA, resolveDirective as Mr, renderList as Ie, withDirectives as Tt, createBlock as j, Text as xL, Teleport as D5, resolveDynamicComponent as Pe, withKeys as sr, toHandlerKey as Br, withModifiers as at, createTextVNode as Le, normalizeStyle as In, onBeforeUnmount as Tu, markRaw as NL, customRef as PL, toRaw as sA, vShow as c0, vModelText as LL, TransitionGroup as RL, createSlots as sl, toRef as _L, isVNode as $L, toHandlers as pm, render as kb } from "vue";
17
17
  const FL = Oe({
18
18
  name: "QAccordion",
19
19
  props: {
@@ -137,7 +137,7 @@ function HL(t, e, n, r, i, s) {
137
137
  ], 2)) : (w(), k("h4", {
138
138
  key: 1,
139
139
  class: B(t.triggerTextClasses)
140
- }, K(t.triggerTextValue), 3)),
140
+ }, Z(t.triggerTextValue), 3)),
141
141
  H(t.$slots, "additionalInfo", {}, void 0, !0),
142
142
  R(o, {
143
143
  icon: "chevron-down",
@@ -280,15 +280,15 @@ function XL(t, e, n, r, i, s) {
280
280
  }
281
281
  ])
282
282
  }, [
283
- t.props.time ? (w(), k("span", WL, K(t.props.time), 1)) : H(t.$slots, "time", { key: 1 }, void 0, !0)
283
+ t.props.time ? (w(), k("span", WL, Z(t.props.time), 1)) : H(t.$slots, "time", { key: 1 }, void 0, !0)
284
284
  ], 2)) : P("", !0),
285
285
  x("div", GL, [
286
- t.props.text ? (w(), k("span", KL, K(t.props.text), 1)) : H(t.$slots, "text", { key: 1 }, void 0, !0)
286
+ t.props.text ? (w(), k("span", KL, Z(t.props.text), 1)) : H(t.$slots, "text", { key: 1 }, void 0, !0)
287
287
  ])
288
288
  ])
289
289
  ], 2),
290
290
  t.props.wrapTime ? P("", !0) : (w(), k("div", YL, [
291
- t.props.time ? (w(), k("span", QL, K(t.props.time), 1)) : H(t.$slots, "time", { key: 1 }, void 0, !0)
291
+ t.props.time ? (w(), k("span", QL, Z(t.props.time), 1)) : H(t.$slots, "time", { key: 1 }, void 0, !0)
292
292
  ]))
293
293
  ], 10, ZL);
294
294
  }
@@ -336,7 +336,7 @@ function rR(t, e, n, r, i, s) {
336
336
  return w(), k("div", {
337
337
  class: B(["avatar flex justify-center items-center", [`avatar-${t.size}`, `bg-${t.bgColor}`]])
338
338
  }, [
339
- x("span", tR, K(t.text), 1),
339
+ x("span", tR, Z(t.text), 1),
340
340
  t.src && t.validSrc ? (w(), k("img", {
341
341
  key: 0,
342
342
  class: "avatar-image",
@@ -1444,20 +1444,20 @@ let kA = mA.RenderStrategy, m_ = Oe({ props: { as: { type: [Object, String], def
1444
1444
  });
1445
1445
  });
1446
1446
  function U(ne) {
1447
- let Z = v.value && !h.value, ie = Nb(c);
1448
- !ie || !(ie instanceof HTMLElement) || Z || (S.value = !0, f.value && o(), f.value || l(), ne(f.value ? Lb(ie, E, M, T, N, (re) => {
1447
+ let q = v.value && !h.value, ie = Nb(c);
1448
+ !ie || !(ie instanceof HTMLElement) || q || (S.value = !0, f.value && o(), f.value || l(), ne(f.value ? Lb(ie, E, M, T, N, (re) => {
1449
1449
  S.value = !1, re === i7.Finished && a();
1450
1450
  }) : Lb(ie, I, $, F, N, (re) => {
1451
1451
  S.value = !1, re === i7.Finished && (x5(C) || (g.value = "hidden", y(b), u()));
1452
1452
  })));
1453
1453
  }
1454
1454
  return Et(() => {
1455
- st([f], (ne, Z, ie) => {
1455
+ st([f], (ne, q, ie) => {
1456
1456
  U(ie), v.value = !1;
1457
1457
  }, { immediate: !0 });
1458
1458
  }), $a(s9, C), a_(Y(() => nf(g.value, { visible: na.Open, hidden: na.Closed }) | s.value)), () => {
1459
- let { appear: ne, show: Z, enter: ie, enterFrom: re, enterTo: q, entered: ce, leave: W, leaveFrom: ae, leaveTo: de, ...he } = t, V = { ref: c }, G = { ...he, ...h.value && f.value && i_.isServer ? { class: B([n.class, he.class, ...E, ...M]) } : {} };
1460
- return gA({ theirProps: G, ourProps: V, slot: {}, slots: r, attrs: n, features: kA, visible: g.value === "visible", name: "TransitionChild" });
1459
+ let { appear: ne, show: q, enter: ie, enterFrom: re, enterTo: W, entered: ce, leave: G, leaveFrom: ae, leaveTo: de, ...he } = t, V = { ref: c }, K = { ...he, ...h.value && f.value && i_.isServer ? { class: B([n.class, he.class, ...E, ...M]) } : {} };
1460
+ return gA({ theirProps: K, ourProps: V, slot: {}, slots: r, attrs: n, features: kA, visible: g.value === "visible", name: "TransitionChild" });
1461
1461
  };
1462
1462
  } }), g_ = m_, MA = Oe({ inheritAttrs: !1, props: { as: { type: [Object, String], default: "div" }, show: { type: [Boolean], default: null }, unmount: { type: [Boolean], default: !0 }, appear: { type: [Boolean], default: !1 }, enter: { type: [String], default: "" }, enterFrom: { type: [String], default: "" }, enterTo: { type: [String], default: "" }, entered: { type: [String], default: "" }, leave: { type: [String], default: "" }, leaveFrom: { type: [String], default: "" }, leaveTo: { type: [String], default: "" } }, emits: { beforeEnter: () => !0, afterEnter: () => !0, beforeLeave: () => !0, afterLeave: () => !0 }, setup(t, { emit: e, attrs: n, slots: r }) {
1463
1463
  let i = CA(), s = Y(() => t.show === null && i !== null ? (i.value & na.Open) === na.Open : t.show);
@@ -1931,12 +1931,12 @@ function q3(t, e = {}) {
1931
1931
  return;
1932
1932
  const I = ((N = T == null ? void 0 : T.document) == null ? void 0 : N.documentElement) || (T == null ? void 0 : T.documentElement) || $r(T), { display: $, flexDirection: F } = getComputedStyle(I), U = I.scrollLeft;
1933
1933
  b.left = U < d.value, b.right = U > d.value;
1934
- const ne = Math.abs(U) <= (o.left || 0), Z = Math.abs(U) + I.clientWidth >= I.scrollWidth - (o.right || 0) - _b;
1935
- $ === "flex" && F === "row-reverse" ? (v.left = Z, v.right = ne) : (v.left = ne, v.right = Z), d.value = U;
1934
+ const ne = Math.abs(U) <= (o.left || 0), q = Math.abs(U) + I.clientWidth >= I.scrollWidth - (o.right || 0) - _b;
1935
+ $ === "flex" && F === "row-reverse" ? (v.left = q, v.right = ne) : (v.left = ne, v.right = q), d.value = U;
1936
1936
  let ie = I.scrollTop;
1937
1937
  T === u.document && !ie && (ie = u.document.body.scrollTop), b.top = ie < f.value, b.bottom = ie > f.value;
1938
- const re = Math.abs(ie) <= (o.top || 0), q = Math.abs(ie) + I.clientHeight >= I.scrollHeight - (o.bottom || 0) - _b;
1939
- $ === "flex" && F === "column-reverse" ? (v.top = q, v.bottom = re) : (v.top = re, v.bottom = q), f.value = ie;
1938
+ const re = Math.abs(ie) <= (o.top || 0), W = Math.abs(ie) + I.clientHeight >= I.scrollHeight - (o.bottom || 0) - _b;
1939
+ $ === "flex" && F === "column-reverse" ? (v.top = W, v.bottom = re) : (v.top = re, v.bottom = W), f.value = ie;
1940
1940
  }, M = (T) => {
1941
1941
  var N;
1942
1942
  if (!u)
@@ -2522,8 +2522,8 @@ function nT(t) {
2522
2522
  function F() {
2523
2523
  v.stop(), f && f();
2524
2524
  }
2525
- function U(Z) {
2526
- if (M || (Z = -Z), o += Z, !E) {
2525
+ function U(q) {
2526
+ if (M || (q = -q), o += q, !E) {
2527
2527
  const ie = I.next(Math.max(0, o));
2528
2528
  C = ie.value, T && (C = T(C)), E = M ? ie.done : o <= 0;
2529
2529
  }
@@ -5337,10 +5337,10 @@ function vT(t) {
5337
5337
  }, T = function($) {
5338
5338
  var F = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
5339
5339
  if (a) {
5340
- var U = rw(rw({}, E), F), ne = U.name || h, Z = U.id || y, ie = U.nonce || S;
5341
- i.value = a.querySelector('style[data-primevue-style-id="'.concat(ne, '"]')) || a.getElementById(Z) || a.createElement("style"), i.value.isConnected || (r.value = $ || t, z.setAttributes(i.value, {
5340
+ var U = rw(rw({}, E), F), ne = U.name || h, q = U.id || y, ie = U.nonce || S;
5341
+ i.value = a.querySelector('style[data-primevue-style-id="'.concat(ne, '"]')) || a.getElementById(q) || a.createElement("style"), i.value.isConnected || (r.value = $ || t, z.setAttributes(i.value, {
5342
5342
  type: "text/css",
5343
- id: Z,
5343
+ id: q,
5344
5344
  media: v,
5345
5345
  nonce: ie
5346
5346
  }), a.head.appendChild(i.value), z.setAttribute(i.value, "data-primevue-style-id", h), z.setAttributes(i.value, U)), !n.value && (M = st(r, function(re) {
@@ -6519,7 +6519,7 @@ function nj(t, e, n, r, i, s) {
6519
6519
  }, function() {
6520
6520
  return [x("span", L({
6521
6521
  class: t.cx("label")
6522
- }, s.getPTOptions(a, "label")), K(s.getOptionLabel(a)), 17)];
6522
+ }, s.getPTOptions(a, "label")), Z(s.getOptionLabel(a)), 17)];
6523
6523
  })], 16, tj)), [[o]]);
6524
6524
  }), 128))], 16, ej);
6525
6525
  }
@@ -6602,7 +6602,7 @@ function aj(t, e, n, r, i, s) {
6602
6602
  class: "mr-2",
6603
6603
  size: "sm"
6604
6604
  }, null, 8, ["icon"])) : P("", !0),
6605
- x("span", oj, K(l[t.label] || l), 1)
6605
+ x("span", oj, Z(l[t.label] || l), 1)
6606
6606
  ])
6607
6607
  ]),
6608
6608
  _: 1
@@ -6826,7 +6826,7 @@ function gj(t, e, n, r, i, s) {
6826
6826
  type: ""
6827
6827
  }, null, 8, ["icon"])) : P("", !0)
6828
6828
  ], 2),
6829
- t.label ? (w(), k("span", mj, K(t.label), 1)) : P("", !0)
6829
+ t.label ? (w(), k("span", mj, Z(t.label), 1)) : P("", !0)
6830
6830
  ], 2)
6831
6831
  ]);
6832
6832
  }
@@ -13560,14 +13560,14 @@ function VU(t = {}, e) {
13560
13560
  set: (ue) => {
13561
13561
  c.value = ue, I.fallbackLocale = c.value, X1(I, u.value, ue);
13562
13562
  }
13563
- }), Z = Y(() => d.value), ie = /* @__PURE__ */ Y(() => f.value), re = /* @__PURE__ */ Y(() => h.value);
13564
- function q() {
13563
+ }), q = Y(() => d.value), ie = /* @__PURE__ */ Y(() => f.value), re = /* @__PURE__ */ Y(() => h.value);
13564
+ function W() {
13565
13565
  return Xt(C) ? C : null;
13566
13566
  }
13567
13567
  function ce(ue) {
13568
13568
  C = ue, I.postTranslation = ue;
13569
13569
  }
13570
- function W() {
13570
+ function G() {
13571
13571
  return b;
13572
13572
  }
13573
13573
  function ae(ue) {
@@ -13609,7 +13609,7 @@ function VU(t = {}, e) {
13609
13609
  function V(...ue) {
13610
13610
  return he((ge) => Reflect.apply(eC, null, [ge, ...ue]), () => T7(...ue), "translate", (ge) => Reflect.apply(ge.t, ge, [...ue]), (ge) => ge, (ge) => $e(ge));
13611
13611
  }
13612
- function G(...ue) {
13612
+ function K(...ue) {
13613
13613
  const [ge, dt, xt] = ue;
13614
13614
  if (xt && !bt(xt))
13615
13615
  throw gf(gn.INVALID_ARGUMENT);
@@ -13754,7 +13754,7 @@ function VU(t = {}, e) {
13754
13754
  get availableLocales() {
13755
13755
  return Object.keys(d.value).sort();
13756
13756
  },
13757
- messages: Z,
13757
+ messages: q,
13758
13758
  get modifiers() {
13759
13759
  return T;
13760
13760
  },
@@ -13804,13 +13804,13 @@ function VU(t = {}, e) {
13804
13804
  getLocaleMessage: Ln,
13805
13805
  setLocaleMessage: Kr,
13806
13806
  mergeLocaleMessage: Js,
13807
- getPostTranslationHandler: q,
13807
+ getPostTranslationHandler: W,
13808
13808
  setPostTranslationHandler: ce,
13809
- getMissingHandler: W,
13809
+ getMissingHandler: G,
13810
13810
  setMissingHandler: ae,
13811
13811
  [RU]: ct
13812
13812
  };
13813
- return wt.datetimeFormats = ie, wt.numberFormats = re, wt.rt = G, wt.te = an, wt.tm = mn, wt.d = te, wt.n = ee, wt.getDateTimeFormat = ln, wt.setDateTimeFormat = Rn, wt.mergeDateTimeFormat = Gi, wt.getNumberFormat = Yr, wt.setNumberFormat = Tr, wt.mergeNumberFormat = wi, wt[_U] = r, wt[O7] = be, wt[D7] = qe, wt[x7] = _e, process.env.NODE_ENV !== "production" && (wt[N7] = (ue) => {
13813
+ return wt.datetimeFormats = ie, wt.numberFormats = re, wt.rt = K, wt.te = an, wt.tm = mn, wt.d = te, wt.n = ee, wt.getDateTimeFormat = ln, wt.setDateTimeFormat = Rn, wt.mergeDateTimeFormat = Gi, wt.getNumberFormat = Yr, wt.setNumberFormat = Tr, wt.mergeNumberFormat = wi, wt[_U] = r, wt[O7] = be, wt[D7] = qe, wt[x7] = _e, process.env.NODE_ENV !== "production" && (wt[N7] = (ue) => {
13814
13814
  I.__v_emitter = ue;
13815
13815
  }, wt[P7] = () => {
13816
13816
  I.__v_emitter = void 0;
@@ -15678,7 +15678,7 @@ function dq(t, e, n, r, i, s) {
15678
15678
  o.classes
15679
15679
  ]),
15680
15680
  onClick: (l) => t.$emit("click:link", o)
15681
- }, K(o.text), 11, lq)
15681
+ }, Z(o.text), 11, lq)
15682
15682
  ]))), 128))
15683
15683
  ], 2)
15684
15684
  ], !0),
@@ -15688,7 +15688,7 @@ function dq(t, e, n, r, i, s) {
15688
15688
  x("a", {
15689
15689
  class: "bg-white px-4 py-[1.125rem] rounded-[0.8125rem] flex items-center justify-center cursor-pointer text-blue-20 text-md font-semibold",
15690
15690
  onClick: (l) => t.$emit("click:action", o)
15691
- }, K(o.text), 9, cq)
15691
+ }, Z(o.text), 9, cq)
15692
15692
  ]))), 128))
15693
15693
  ])
15694
15694
  ], !0)
@@ -15759,32 +15759,32 @@ var fq = { 9306: (t, e, n) => {
15759
15759
  else {
15760
15760
  var ne = N && !U && S ? { maxByteLength: S(M) } : void 0;
15761
15761
  I = new f(F, ne);
15762
- for (var Z = new h(M), ie = new h(I), re = m(F, $), q = 0; q < re; q++) E(ie, q, C(Z, q));
15762
+ for (var q = new h(M), ie = new h(I), re = m(F, $), W = 0; W < re; W++) E(ie, W, C(q, W));
15763
15763
  }
15764
15764
  return c || u(M), I;
15765
15765
  };
15766
15766
  }, 4644: (t, e, n) => {
15767
- var r, i, s, o = n(7811), a = n(3724), l = n(4576), u = n(4901), c = n(34), d = n(9297), f = n(6955), h = n(6823), m = n(6699), y = n(6840), g = n(2106), v = n(1625), b = n(2787), S = n(2967), C = n(8227), E = n(3392), M = n(1181), T = M.enforce, N = M.get, I = l.Int8Array, $ = I && I.prototype, F = l.Uint8ClampedArray, U = F && F.prototype, ne = I && b(I), Z = $ && b($), ie = Object.prototype, re = l.TypeError, q = C("toStringTag"), ce = E("TYPED_ARRAY_TAG"), W = "TypedArrayConstructor", ae = o && !!S && f(l.opera) !== "Opera", de = !1, he = { Int8Array: 1, Uint8Array: 1, Uint8ClampedArray: 1, Int16Array: 2, Uint16Array: 2, Int32Array: 4, Uint32Array: 4, Float32Array: 4, Float64Array: 8 }, V = { BigInt64Array: 8, BigUint64Array: 8 }, G = function(ee) {
15767
+ var r, i, s, o = n(7811), a = n(3724), l = n(4576), u = n(4901), c = n(34), d = n(9297), f = n(6955), h = n(6823), m = n(6699), y = n(6840), g = n(2106), v = n(1625), b = n(2787), S = n(2967), C = n(8227), E = n(3392), M = n(1181), T = M.enforce, N = M.get, I = l.Int8Array, $ = I && I.prototype, F = l.Uint8ClampedArray, U = F && F.prototype, ne = I && b(I), q = $ && b($), ie = Object.prototype, re = l.TypeError, W = C("toStringTag"), ce = E("TYPED_ARRAY_TAG"), G = "TypedArrayConstructor", ae = o && !!S && f(l.opera) !== "Opera", de = !1, he = { Int8Array: 1, Uint8Array: 1, Uint8ClampedArray: 1, Int16Array: 2, Uint16Array: 2, Int32Array: 4, Uint32Array: 4, Float32Array: 4, Float64Array: 8 }, V = { BigInt64Array: 8, BigUint64Array: 8 }, K = function(ee) {
15768
15768
  var pe = b(ee);
15769
15769
  if (c(pe)) {
15770
15770
  var Me = N(pe);
15771
- return Me && d(Me, W) ? Me[W] : G(pe);
15771
+ return Me && d(Me, G) ? Me[G] : K(pe);
15772
15772
  }
15773
15773
  }, te = function(ee) {
15774
15774
  if (!c(ee)) return !1;
15775
15775
  var pe = f(ee);
15776
15776
  return d(he, pe) || d(V, pe);
15777
15777
  };
15778
- for (r in he) (s = (i = l[r]) && i.prototype) ? T(s)[W] = i : ae = !1;
15779
- for (r in V) (s = (i = l[r]) && i.prototype) && (T(s)[W] = i);
15778
+ for (r in he) (s = (i = l[r]) && i.prototype) ? T(s)[G] = i : ae = !1;
15779
+ for (r in V) (s = (i = l[r]) && i.prototype) && (T(s)[G] = i);
15780
15780
  if ((!ae || !u(ne) || ne === Function.prototype) && (ne = function() {
15781
15781
  throw new re("Incorrect invocation");
15782
15782
  }, ae))
15783
15783
  for (r in he) l[r] && S(l[r], ne);
15784
- if ((!ae || !Z || Z === ie) && (Z = ne.prototype, ae))
15785
- for (r in he) l[r] && S(l[r].prototype, Z);
15786
- if (ae && b(U) !== Z && S(U, Z), a && !d(Z, q)) {
15787
- de = !0, g(Z, q, { configurable: !0, get: function() {
15784
+ if ((!ae || !q || q === ie) && (q = ne.prototype, ae))
15785
+ for (r in he) l[r] && S(l[r].prototype, q);
15786
+ if (ae && b(U) !== q && S(U, q), a && !d(q, W)) {
15787
+ de = !0, g(q, W, { configurable: !0, get: function() {
15788
15788
  return c(this) ? this[ce] : void 0;
15789
15789
  } });
15790
15790
  for (r in he) l[r] && m(l[r], ce, r);
@@ -15808,7 +15808,7 @@ var fq = { 9306: (t, e, n) => {
15808
15808
  }
15809
15809
  }
15810
15810
  }
15811
- Z[ee] && !Me || y(Z, ee, Me ? pe : ae && $[ee] || pe, ve);
15811
+ q[ee] && !Me || y(q, ee, Me ? pe : ae && $[ee] || pe, ve);
15812
15812
  }
15813
15813
  }, exportTypedArrayStaticMethod: function(ee, pe, Me) {
15814
15814
  var ve, be;
@@ -15828,11 +15828,11 @@ var fq = { 9306: (t, e, n) => {
15828
15828
  }
15829
15829
  for (ve in he) !(be = l[ve]) || be[ee] && !Me || y(be, ee, pe);
15830
15830
  }
15831
- }, getTypedArrayConstructor: G, isView: function(pe) {
15831
+ }, getTypedArrayConstructor: K, isView: function(pe) {
15832
15832
  if (!c(pe)) return !1;
15833
15833
  var Me = f(pe);
15834
15834
  return Me === "DataView" || d(he, Me) || d(V, Me);
15835
- }, isTypedArray: te, TypedArray: ne, TypedArrayPrototype: Z };
15835
+ }, isTypedArray: te, TypedArray: ne, TypedArrayPrototype: q };
15836
15836
  }, 5370: (t, e, n) => {
15837
15837
  var r = n(6198);
15838
15838
  t.exports = function(i, s, o) {
@@ -16308,24 +16308,24 @@ var fq = { 9306: (t, e, n) => {
16308
16308
  this.stopped = g, this.result = v;
16309
16309
  }, y = m.prototype;
16310
16310
  t.exports = function(g, v, b) {
16311
- var S, C, E, M, T, N, I, $ = b && b.that, F = !(!b || !b.AS_ENTRIES), U = !(!b || !b.IS_RECORD), ne = !(!b || !b.IS_ITERATOR), Z = !(!b || !b.INTERRUPTED), ie = r(v, $), re = function(ce) {
16311
+ var S, C, E, M, T, N, I, $ = b && b.that, F = !(!b || !b.AS_ENTRIES), U = !(!b || !b.IS_RECORD), ne = !(!b || !b.IS_ITERATOR), q = !(!b || !b.INTERRUPTED), ie = r(v, $), re = function(ce) {
16312
16312
  return S && f(S, "normal", ce), new m(!0, ce);
16313
- }, q = function(ce) {
16314
- return F ? (s(ce), Z ? ie(ce[0], ce[1], re) : ie(ce[0], ce[1])) : Z ? ie(ce, re) : ie(ce);
16313
+ }, W = function(ce) {
16314
+ return F ? (s(ce), q ? ie(ce[0], ce[1], re) : ie(ce[0], ce[1])) : q ? ie(ce, re) : ie(ce);
16315
16315
  };
16316
16316
  if (U) S = g.iterator;
16317
16317
  else if (ne) S = g;
16318
16318
  else {
16319
16319
  if (!(C = d(g))) throw new h(o(g) + " is not iterable");
16320
16320
  if (a(C)) {
16321
- for (E = 0, M = l(g); M > E; E++) if ((T = q(g[E])) && u(y, T)) return T;
16321
+ for (E = 0, M = l(g); M > E; E++) if ((T = W(g[E])) && u(y, T)) return T;
16322
16322
  return new m(!1);
16323
16323
  }
16324
16324
  S = c(g, C);
16325
16325
  }
16326
16326
  for (N = U ? g.next : S.next; !(I = i(N, S)).done; ) {
16327
16327
  try {
16328
- T = q(I.value);
16328
+ T = W(I.value);
16329
16329
  } catch (ce) {
16330
16330
  f(S, "throw", ce);
16331
16331
  }
@@ -17049,32 +17049,32 @@ var fq = { 9306: (t, e, n) => {
17049
17049
  }, 7550: (t, e, n) => {
17050
17050
  n(3579);
17051
17051
  }, 8335: (t, e, n) => {
17052
- var r = n(6518), i = n(3724), s = n(4576), o = n(7751), a = n(9504), l = n(9565), u = n(4901), c = n(34), d = n(4376), f = n(9297), h = n(655), m = n(6198), y = n(4659), g = n(9039), v = n(8235), b = n(4495), S = s.JSON, C = s.Number, E = s.SyntaxError, M = S && S.parse, T = o("Object", "keys"), N = Object.getOwnPropertyDescriptor, I = a("".charAt), $ = a("".slice), F = a(/./.exec), U = a([].push), ne = /^\d$/, Z = /^[1-9]$/, ie = /^[\d-]$/, re = /^[\t\n\r ]$/, q = function(V, G, te, ee) {
17053
- var pe, Me, ve, be, _e, qe = V[G], ct = ee && qe === ee.value, an = ct && typeof ee.source == "string" ? { source: ee.source } : {};
17052
+ var r = n(6518), i = n(3724), s = n(4576), o = n(7751), a = n(9504), l = n(9565), u = n(4901), c = n(34), d = n(4376), f = n(9297), h = n(655), m = n(6198), y = n(4659), g = n(9039), v = n(8235), b = n(4495), S = s.JSON, C = s.Number, E = s.SyntaxError, M = S && S.parse, T = o("Object", "keys"), N = Object.getOwnPropertyDescriptor, I = a("".charAt), $ = a("".slice), F = a(/./.exec), U = a([].push), ne = /^\d$/, q = /^[1-9]$/, ie = /^[\d-]$/, re = /^[\t\n\r ]$/, W = function(V, K, te, ee) {
17053
+ var pe, Me, ve, be, _e, qe = V[K], ct = ee && qe === ee.value, an = ct && typeof ee.source == "string" ? { source: ee.source } : {};
17054
17054
  if (c(qe)) {
17055
17055
  var Pn = d(qe), mn = ct ? ee.nodes : Pn ? [] : {};
17056
17056
  if (Pn)
17057
- for (pe = mn.length, ve = m(qe), be = 0; be < ve; be++) ce(qe, be, q(qe, "" + be, te, be < pe ? mn[be] : void 0));
17057
+ for (pe = mn.length, ve = m(qe), be = 0; be < ve; be++) ce(qe, be, W(qe, "" + be, te, be < pe ? mn[be] : void 0));
17058
17058
  else
17059
17059
  for (Me = T(qe), ve = m(Me), be = 0; be < ve; be++)
17060
- _e = Me[be], ce(qe, _e, q(qe, _e, te, f(mn, _e) ? mn[_e] : void 0));
17060
+ _e = Me[be], ce(qe, _e, W(qe, _e, te, f(mn, _e) ? mn[_e] : void 0));
17061
17061
  }
17062
- return l(te, V, G, qe, an);
17063
- }, ce = function(V, G, te) {
17062
+ return l(te, V, K, qe, an);
17063
+ }, ce = function(V, K, te) {
17064
17064
  if (i) {
17065
- var ee = N(V, G);
17065
+ var ee = N(V, K);
17066
17066
  if (ee && !ee.configurable) return;
17067
17067
  }
17068
- te === void 0 ? delete V[G] : y(V, G, te);
17069
- }, W = function(V, G, te, ee) {
17070
- this.value = V, this.end = G, this.source = te, this.nodes = ee;
17071
- }, ae = function(V, G) {
17072
- this.source = V, this.index = G;
17068
+ te === void 0 ? delete V[K] : y(V, K, te);
17069
+ }, G = function(V, K, te, ee) {
17070
+ this.value = V, this.end = K, this.source = te, this.nodes = ee;
17071
+ }, ae = function(V, K) {
17072
+ this.source = V, this.index = K;
17073
17073
  };
17074
17074
  ae.prototype = { fork: function(V) {
17075
17075
  return new ae(this.source, V);
17076
17076
  }, parse: function() {
17077
- var V = this.source, G = this.skip(re, this.index), te = this.fork(G), ee = I(V, G);
17077
+ var V = this.source, K = this.skip(re, this.index), te = this.fork(K), ee = I(V, K);
17078
17078
  if (F(ie, ee)) return te.number();
17079
17079
  switch (ee) {
17080
17080
  case "{":
@@ -17090,97 +17090,97 @@ var fq = { 9306: (t, e, n) => {
17090
17090
  case "n":
17091
17091
  return te.keyword(null);
17092
17092
  }
17093
- throw new E('Unexpected character: "' + ee + '" at: ' + G);
17094
- }, node: function(V, G, te, ee, pe) {
17095
- return new W(G, ee, V ? null : $(this.source, te, ee), pe);
17093
+ throw new E('Unexpected character: "' + ee + '" at: ' + K);
17094
+ }, node: function(V, K, te, ee, pe) {
17095
+ return new G(K, ee, V ? null : $(this.source, te, ee), pe);
17096
17096
  }, object: function() {
17097
- for (var V = this.source, G = this.index + 1, te = !1, ee = {}, pe = {}; G < V.length; ) {
17098
- if (G = this.until(['"', "}"], G), I(V, G) === "}" && !te) {
17099
- G++;
17097
+ for (var V = this.source, K = this.index + 1, te = !1, ee = {}, pe = {}; K < V.length; ) {
17098
+ if (K = this.until(['"', "}"], K), I(V, K) === "}" && !te) {
17099
+ K++;
17100
17100
  break;
17101
17101
  }
17102
- var Me = this.fork(G).string(), ve = Me.value;
17103
- G = Me.end, G = this.until([":"], G) + 1, G = this.skip(re, G), Me = this.fork(G).parse(), y(pe, ve, Me), y(ee, ve, Me.value), G = this.until([",", "}"], Me.end);
17104
- var be = I(V, G);
17102
+ var Me = this.fork(K).string(), ve = Me.value;
17103
+ K = Me.end, K = this.until([":"], K) + 1, K = this.skip(re, K), Me = this.fork(K).parse(), y(pe, ve, Me), y(ee, ve, Me.value), K = this.until([",", "}"], Me.end);
17104
+ var be = I(V, K);
17105
17105
  if (be === ",")
17106
- te = !0, G++;
17106
+ te = !0, K++;
17107
17107
  else if (be === "}") {
17108
- G++;
17108
+ K++;
17109
17109
  break;
17110
17110
  }
17111
17111
  }
17112
- return this.node(1, ee, this.index, G, pe);
17112
+ return this.node(1, ee, this.index, K, pe);
17113
17113
  }, array: function() {
17114
- for (var V = this.source, G = this.index + 1, te = !1, ee = [], pe = []; G < V.length; ) {
17115
- if (G = this.skip(re, G), I(V, G) === "]" && !te) {
17116
- G++;
17114
+ for (var V = this.source, K = this.index + 1, te = !1, ee = [], pe = []; K < V.length; ) {
17115
+ if (K = this.skip(re, K), I(V, K) === "]" && !te) {
17116
+ K++;
17117
17117
  break;
17118
17118
  }
17119
- var Me = this.fork(G).parse();
17120
- if (U(pe, Me), U(ee, Me.value), G = this.until([",", "]"], Me.end), I(V, G) === ",")
17121
- te = !0, G++;
17122
- else if (I(V, G) === "]") {
17123
- G++;
17119
+ var Me = this.fork(K).parse();
17120
+ if (U(pe, Me), U(ee, Me.value), K = this.until([",", "]"], Me.end), I(V, K) === ",")
17121
+ te = !0, K++;
17122
+ else if (I(V, K) === "]") {
17123
+ K++;
17124
17124
  break;
17125
17125
  }
17126
17126
  }
17127
- return this.node(1, ee, this.index, G, pe);
17127
+ return this.node(1, ee, this.index, K, pe);
17128
17128
  }, string: function() {
17129
- var V = this.index, G = v(this.source, this.index + 1);
17130
- return this.node(0, G.value, V, G.end);
17129
+ var V = this.index, K = v(this.source, this.index + 1);
17130
+ return this.node(0, K.value, V, K.end);
17131
17131
  }, number: function() {
17132
- var V = this.source, G = this.index, te = G;
17132
+ var V = this.source, K = this.index, te = K;
17133
17133
  if (I(V, te) === "-" && te++, I(V, te) === "0") te++;
17134
17134
  else {
17135
- if (!F(Z, I(V, te))) throw new E("Failed to parse number at: " + te);
17135
+ if (!F(q, I(V, te))) throw new E("Failed to parse number at: " + te);
17136
17136
  te = this.skip(ne, te + 1);
17137
17137
  }
17138
17138
  if (I(V, te) === "." && (te = this.skip(ne, te + 1)), (I(V, te) === "e" || I(V, te) === "E") && (te++, I(V, te) !== "+" && I(V, te) !== "-" || te++, te === (te = this.skip(ne, te))))
17139
17139
  throw new E("Failed to parse number's exponent value at: " + te);
17140
- return this.node(0, C($(V, G, te)), G, te);
17140
+ return this.node(0, C($(V, K, te)), K, te);
17141
17141
  }, keyword: function(V) {
17142
- var G = "" + V, te = this.index, ee = te + G.length;
17143
- if ($(this.source, te, ee) !== G) throw new E("Failed to parse value at: " + te);
17142
+ var K = "" + V, te = this.index, ee = te + K.length;
17143
+ if ($(this.source, te, ee) !== K) throw new E("Failed to parse value at: " + te);
17144
17144
  return this.node(0, V, te, ee);
17145
- }, skip: function(V, G) {
17146
- for (var te = this.source; G < te.length && F(V, I(te, G)); G++) ;
17147
- return G;
17148
- }, until: function(V, G) {
17149
- G = this.skip(re, G);
17150
- for (var te = I(this.source, G), ee = 0; ee < V.length; ee++) if (V[ee] === te) return G;
17151
- throw new E('Unexpected character: "' + te + '" at: ' + G);
17145
+ }, skip: function(V, K) {
17146
+ for (var te = this.source; K < te.length && F(V, I(te, K)); K++) ;
17147
+ return K;
17148
+ }, until: function(V, K) {
17149
+ K = this.skip(re, K);
17150
+ for (var te = I(this.source, K), ee = 0; ee < V.length; ee++) if (V[ee] === te) return K;
17151
+ throw new E('Unexpected character: "' + te + '" at: ' + K);
17152
17152
  } };
17153
17153
  var de = g(function() {
17154
- var V, G = "9007199254740993";
17155
- return M(G, function(te, ee, pe) {
17154
+ var V, K = "9007199254740993";
17155
+ return M(K, function(te, ee, pe) {
17156
17156
  V = pe.source;
17157
- }), V !== G;
17157
+ }), V !== K;
17158
17158
  }), he = b && !g(function() {
17159
17159
  return 1 / M("-0 ") != -1 / 0;
17160
17160
  });
17161
- r({ target: "JSON", stat: !0, forced: de }, { parse: function(G, te) {
17162
- return he && !u(te) ? M(G) : function(ee, pe) {
17161
+ r({ target: "JSON", stat: !0, forced: de }, { parse: function(K, te) {
17162
+ return he && !u(te) ? M(K) : function(ee, pe) {
17163
17163
  ee = h(ee);
17164
17164
  var Me = new ae(ee, 0), ve = Me.parse(), be = ve.value, _e = Me.skip(re, ve.end);
17165
17165
  if (_e < ee.length) throw new E('Unexpected extra character: "' + I(ee, _e) + '" after the parsed data at: ' + _e);
17166
- return u(pe) ? q({ "": be }, "", pe, ve) : be;
17167
- }(G, te);
17166
+ return u(pe) ? W({ "": be }, "", pe, ve) : be;
17167
+ }(K, te);
17168
17168
  } });
17169
17169
  }, 5247: (t, e, n) => {
17170
17170
  n(1689);
17171
17171
  }, 4979: (t, e, n) => {
17172
17172
  var r = n(6518), i = n(4576), s = n(7751), o = n(6980), a = n(4913).f, l = n(9297), u = n(679), c = n(3167), d = n(2603), f = n(5002), h = n(8574), m = n(3724), y = n(6395), g = "DOMException", v = s("Error"), b = s(g), S = function() {
17173
17173
  u(this, C);
17174
- var re = arguments.length, q = d(re < 1 ? void 0 : arguments[0]), ce = d(re < 2 ? void 0 : arguments[1], "Error"), W = new b(q, ce), ae = new v(q);
17175
- return ae.name = g, a(W, "stack", o(1, h(ae.stack, 1))), c(W, this, S), W;
17174
+ var re = arguments.length, W = d(re < 1 ? void 0 : arguments[0]), ce = d(re < 2 ? void 0 : arguments[1], "Error"), G = new b(W, ce), ae = new v(W);
17175
+ return ae.name = g, a(G, "stack", o(1, h(ae.stack, 1))), c(G, this, S), G;
17176
17176
  }, C = S.prototype = b.prototype, E = "stack" in new v(g), M = "stack" in new b(1, 2), T = b && m && Object.getOwnPropertyDescriptor(i, g), N = !(!T || T.writable && T.configurable), I = E && !N && !M;
17177
17177
  r({ global: !0, constructor: !0, forced: y || I }, { DOMException: I ? S : b });
17178
17178
  var $ = s(g), F = $.prototype;
17179
17179
  if (F.constructor !== $) {
17180
17180
  y || a(F, "constructor", o(1, $));
17181
17181
  for (var U in f) if (l(f, U)) {
17182
- var ne = f[U], Z = ne.s;
17183
- l($, Z) || a($, Z, o(6, ne.c));
17182
+ var ne = f[U], q = ne.s;
17183
+ l($, q) || a($, q, o(6, ne.c));
17184
17184
  }
17185
17185
  }
17186
17186
  }, 4603: (t, e, n) => {
@@ -19387,32 +19387,32 @@ d2 = new WeakMap(), Ns = new WeakMap(), Ht = new WeakMap(), kc = new WeakMap(),
19387
19387
  const s = this.x, o = this.y, a = this.width, l = this.height;
19388
19388
  s === e && o === n && a === r && l === i || this.addCommands({ cmd: D(this, ze, t8).bind(this, s, o, a, l), undo: D(this, ze, t8).bind(this, e, n, r, i), mustExec: !0 });
19389
19389
  }, n8 = function(e, n) {
19390
- const [r, i] = this.parentDimensions, s = this.x, o = this.y, a = this.width, l = this.height, u = nt.MIN_SIZE / r, c = nt.MIN_SIZE / i, d = D(this, ze, d3).call(this, this.rotation), f = (q, ce) => [d[0] * q + d[2] * ce, d[1] * q + d[3] * ce], h = D(this, ze, d3).call(this, 360 - this.rotation);
19390
+ const [r, i] = this.parentDimensions, s = this.x, o = this.y, a = this.width, l = this.height, u = nt.MIN_SIZE / r, c = nt.MIN_SIZE / i, d = D(this, ze, d3).call(this, this.rotation), f = (W, ce) => [d[0] * W + d[2] * ce, d[1] * W + d[3] * ce], h = D(this, ze, d3).call(this, 360 - this.rotation);
19391
19391
  let m, y, g = !1, v = !1;
19392
19392
  switch (e) {
19393
19393
  case "topLeft":
19394
- g = !0, m = (q, ce) => [0, 0], y = (q, ce) => [q, ce];
19394
+ g = !0, m = (W, ce) => [0, 0], y = (W, ce) => [W, ce];
19395
19395
  break;
19396
19396
  case "topMiddle":
19397
- m = (q, ce) => [q / 2, 0], y = (q, ce) => [q / 2, ce];
19397
+ m = (W, ce) => [W / 2, 0], y = (W, ce) => [W / 2, ce];
19398
19398
  break;
19399
19399
  case "topRight":
19400
- g = !0, m = (q, ce) => [q, 0], y = (q, ce) => [0, ce];
19400
+ g = !0, m = (W, ce) => [W, 0], y = (W, ce) => [0, ce];
19401
19401
  break;
19402
19402
  case "middleRight":
19403
- v = !0, m = (q, ce) => [q, ce / 2], y = (q, ce) => [0, ce / 2];
19403
+ v = !0, m = (W, ce) => [W, ce / 2], y = (W, ce) => [0, ce / 2];
19404
19404
  break;
19405
19405
  case "bottomRight":
19406
- g = !0, m = (q, ce) => [q, ce], y = (q, ce) => [0, 0];
19406
+ g = !0, m = (W, ce) => [W, ce], y = (W, ce) => [0, 0];
19407
19407
  break;
19408
19408
  case "bottomMiddle":
19409
- m = (q, ce) => [q / 2, ce], y = (q, ce) => [q / 2, 0];
19409
+ m = (W, ce) => [W / 2, ce], y = (W, ce) => [W / 2, 0];
19410
19410
  break;
19411
19411
  case "bottomLeft":
19412
- g = !0, m = (q, ce) => [0, ce], y = (q, ce) => [q, 0];
19412
+ g = !0, m = (W, ce) => [0, ce], y = (W, ce) => [W, 0];
19413
19413
  break;
19414
19414
  case "middleLeft":
19415
- v = !0, m = (q, ce) => [0, ce / 2], y = (q, ce) => [q, ce / 2];
19415
+ v = !0, m = (W, ce) => [0, ce / 2], y = (W, ce) => [W, ce / 2];
19416
19416
  }
19417
19417
  const b = m(a, l), S = y(a, l);
19418
19418
  let C = f(...S);
@@ -19420,19 +19420,19 @@ d2 = new WeakMap(), Ns = new WeakMap(), Ht = new WeakMap(), kc = new WeakMap(),
19420
19420
  let T, N, I = 1, $ = 1;
19421
19421
  if (n.fromKeyboard) ({ deltaX: T, deltaY: N } = n);
19422
19422
  else {
19423
- const { screenX: q, screenY: ce } = n, [W, ae] = p(this, h2);
19424
- [T, N] = this.screenToPageTranslation(q - W, ce - ae), p(this, h2)[0] = q, p(this, h2)[1] = ce;
19423
+ const { screenX: W, screenY: ce } = n, [G, ae] = p(this, h2);
19424
+ [T, N] = this.screenToPageTranslation(W - G, ce - ae), p(this, h2)[0] = W, p(this, h2)[1] = ce;
19425
19425
  }
19426
19426
  [T, N] = (F = T / r, U = N / i, [h[0] * F + h[2] * U, h[1] * F + h[3] * U]);
19427
19427
  var F, U;
19428
19428
  if (g) {
19429
- const q = Math.hypot(a, l);
19430
- I = $ = Math.max(Math.min(Math.hypot(S[0] - b[0] - T, S[1] - b[1] - N) / q, 1 / a, 1 / l), u / a, c / l);
19429
+ const W = Math.hypot(a, l);
19430
+ I = $ = Math.max(Math.min(Math.hypot(S[0] - b[0] - T, S[1] - b[1] - N) / W, 1 / a, 1 / l), u / a, c / l);
19431
19431
  } else v ? I = Math.max(u, Math.min(1, Math.abs(S[0] - b[0] - T))) / a : $ = Math.max(c, Math.min(1, Math.abs(S[1] - b[1] - N))) / l;
19432
- const ne = nt._round(a * I), Z = nt._round(l * $);
19433
- C = f(...y(ne, Z));
19432
+ const ne = nt._round(a * I), q = nt._round(l * $);
19433
+ C = f(...y(ne, q));
19434
19434
  const ie = E - C[0], re = M - C[1];
19435
- p(this, Ai) || A(this, Ai, [this.x, this.y, this.width, this.height]), this.width = ne, this.height = Z, this.x = ie, this.y = re, this.setDims(r * ne, i * Z), this.fixAndSetPosition(), this._onResizing();
19435
+ p(this, Ai) || A(this, Ai, [this.x, this.y, this.width, this.height]), this.width = ne, this.height = q, this.x = ie, this.y = re, this.setDims(r * ne, i * q), this.fixAndSetPosition(), this._onResizing();
19436
19436
  }, OI = function() {
19437
19437
  var e;
19438
19438
  A(this, la, { savedX: this.x, savedY: this.y, savedWidth: this.width, savedHeight: this.height }), (e = p(this, Ht)) == null || e.toggle(!1), this.parent.togglePointerEvents(!1);
@@ -20117,21 +20117,21 @@ function a6(t, e, n, r, i, s, o, a) {
20117
20117
  const h = (l[n] + e.offsetX) * e.scaleX, m = (l[n + 1] + e.offsetY) * e.scaleY, y = (l[r] + e.offsetX) * e.scaleX, g = (l[r + 1] + e.offsetY) * e.scaleY, v = (l[i] + e.offsetX) * e.scaleX, b = (l[i + 1] + e.offsetY) * e.scaleY;
20118
20118
  if (m >= b) return;
20119
20119
  const S = u[s], C = u[s + 1], E = u[s + 2], M = u[o], T = u[o + 1], N = u[o + 2], I = u[a], $ = u[a + 1], F = u[a + 2], U = Math.round(m), ne = Math.round(b);
20120
- let Z, ie, re, q, ce, W, ae, de;
20120
+ let q, ie, re, W, ce, G, ae, de;
20121
20121
  for (let he = U; he <= ne; he++) {
20122
20122
  if (he < g) {
20123
20123
  const pe = he < m ? 0 : (m - he) / (m - g);
20124
- Z = h - (h - y) * pe, ie = S - (S - M) * pe, re = C - (C - T) * pe, q = E - (E - N) * pe;
20124
+ q = h - (h - y) * pe, ie = S - (S - M) * pe, re = C - (C - T) * pe, W = E - (E - N) * pe;
20125
20125
  } else {
20126
20126
  let pe;
20127
- pe = he > b ? 1 : g === b ? 0 : (g - he) / (g - b), Z = y - (y - v) * pe, ie = M - (M - I) * pe, re = T - (T - $) * pe, q = N - (N - F) * pe;
20127
+ pe = he > b ? 1 : g === b ? 0 : (g - he) / (g - b), q = y - (y - v) * pe, ie = M - (M - I) * pe, re = T - (T - $) * pe, W = N - (N - F) * pe;
20128
20128
  }
20129
20129
  let V;
20130
- V = he < m ? 0 : he > b ? 1 : (m - he) / (m - b), ce = h - (h - v) * V, W = S - (S - I) * V, ae = C - (C - $) * V, de = E - (E - F) * V;
20131
- const G = Math.round(Math.min(Z, ce)), te = Math.round(Math.max(Z, ce));
20132
- let ee = d * he + 4 * G;
20133
- for (let pe = G; pe <= te; pe++)
20134
- V = (Z - pe) / (Z - ce), V < 0 ? V = 0 : V > 1 && (V = 1), c[ee++] = ie - (ie - W) * V | 0, c[ee++] = re - (re - ae) * V | 0, c[ee++] = q - (q - de) * V | 0, c[ee++] = 255;
20130
+ V = he < m ? 0 : he > b ? 1 : (m - he) / (m - b), ce = h - (h - v) * V, G = S - (S - I) * V, ae = C - (C - $) * V, de = E - (E - F) * V;
20131
+ const K = Math.round(Math.min(q, ce)), te = Math.round(Math.max(q, ce));
20132
+ let ee = d * he + 4 * K;
20133
+ for (let pe = K; pe <= te; pe++)
20134
+ V = (q - pe) / (q - ce), V < 0 ? V = 0 : V > 1 && (V = 1), c[ee++] = ie - (ie - G) * V | 0, c[ee++] = re - (re - ae) * V | 0, c[ee++] = W - (W - de) * V | 0, c[ee++] = 255;
20135
20135
  }
20136
20136
  }
20137
20137
  function oW(t, e, n) {
@@ -20196,13 +20196,13 @@ const uW = 1, cW = 2, y5 = class y5 {
20196
20196
  let C = m, E = y, M = !1, T = !1;
20197
20197
  const N = Math.ceil(l * b), I = Math.ceil(u * S);
20198
20198
  N >= Math.ceil(m * b) ? C = l : M = !0, I >= Math.ceil(y * S) ? E = u : T = !0;
20199
- const $ = this.getSizeAndScale(C, this.ctx.canvas.width, b), F = this.getSizeAndScale(E, this.ctx.canvas.height, S), U = e.cachedCanvases.getCanvas("pattern", $.size, F.size), ne = U.context, Z = a.createCanvasGraphics(ne);
20200
- if (Z.groupLevel = e.groupLevel, this.setFillAndStrokeStyleToContext(Z, i, o), ne.translate(-$.scale * c, -F.scale * d), Z.transform($.scale, 0, 0, F.scale, 0, 0), ne.save(), this.clipBbox(Z, c, d, f, h), Z.baseTransform = qt(Z.ctx), Z.executeOperatorList(r), Z.endDrawing(), ne.restore(), M || T) {
20199
+ const $ = this.getSizeAndScale(C, this.ctx.canvas.width, b), F = this.getSizeAndScale(E, this.ctx.canvas.height, S), U = e.cachedCanvases.getCanvas("pattern", $.size, F.size), ne = U.context, q = a.createCanvasGraphics(ne);
20200
+ if (q.groupLevel = e.groupLevel, this.setFillAndStrokeStyleToContext(q, i, o), ne.translate(-$.scale * c, -F.scale * d), q.transform($.scale, 0, 0, F.scale, 0, 0), ne.save(), this.clipBbox(q, c, d, f, h), q.baseTransform = qt(q.ctx), q.executeOperatorList(r), q.endDrawing(), ne.restore(), M || T) {
20201
20201
  const ie = U.canvas;
20202
20202
  M && (C = l), T && (E = u);
20203
- const re = this.getSizeAndScale(C, this.ctx.canvas.width, b), q = this.getSizeAndScale(E, this.ctx.canvas.height, S), ce = re.size, W = q.size, ae = e.cachedCanvases.getCanvas("pattern-workaround", ce, W), de = ae.context, he = M ? Math.floor(m / l) : 0, V = T ? Math.floor(y / u) : 0;
20204
- for (let G = 0; G <= he; G++) for (let te = 0; te <= V; te++) de.drawImage(ie, ce * G, W * te, ce, W, 0, 0, ce, W);
20205
- return { canvas: ae.canvas, scaleX: re.scale, scaleY: q.scale, offsetX: c, offsetY: d };
20203
+ const re = this.getSizeAndScale(C, this.ctx.canvas.width, b), W = this.getSizeAndScale(E, this.ctx.canvas.height, S), ce = re.size, G = W.size, ae = e.cachedCanvases.getCanvas("pattern-workaround", ce, G), de = ae.context, he = M ? Math.floor(m / l) : 0, V = T ? Math.floor(y / u) : 0;
20204
+ for (let K = 0; K <= he; K++) for (let te = 0; te <= V; te++) de.drawImage(ie, ce * K, G * te, ce, G, 0, 0, ce, G);
20205
+ return { canvas: ae.canvas, scaleX: re.scale, scaleY: W.scale, offsetX: c, offsetY: d };
20206
20206
  }
20207
20207
  return { canvas: U.canvas, scaleX: $.scale, scaleY: F.scale, offsetX: c, offsetY: d };
20208
20208
  }
@@ -20834,18 +20834,18 @@ const vb = class vb {
20834
20834
  }
20835
20835
  let N = !1;
20836
20836
  const I = (T.isSpace ? l : 0) + a, $ = T.fontChar, F = T.accent;
20837
- let U, ne, Z = T.width;
20837
+ let U, ne, q = T.width;
20838
20838
  if (f) {
20839
- const ie = T.vmetric || m, re = -(T.vmetric ? ie[1] : 0.5 * Z) * y, q = ie[2] * y;
20840
- Z = ie ? -ie[0] : Z, U = re / o, ne = (M + q) / o;
20839
+ const ie = T.vmetric || m, re = -(T.vmetric ? ie[1] : 0.5 * q) * y, W = ie[2] * y;
20840
+ q = ie ? -ie[0] : q, U = re / o, ne = (M + W) / o;
20841
20841
  } else
20842
20842
  U = M / o, ne = 0;
20843
- if (r.remeasure && Z > 0) {
20843
+ if (r.remeasure && q > 0) {
20844
20844
  const ie = 1e3 * s.measureText($).width / i * o;
20845
- if (Z < ie && this.isFontSubpixelAAEnabled) {
20846
- const re = Z / ie;
20845
+ if (q < ie && this.isFontSubpixelAAEnabled) {
20846
+ const re = q / ie;
20847
20847
  N = !0, s.save(), s.scale(re, 1), U /= re;
20848
- } else Z !== ie && (U += (Z - ie) / 2e3 * i / o);
20848
+ } else q !== ie && (U += (q - ie) / 2e3 * i / o);
20849
20849
  }
20850
20850
  if (this.contentVisible && (T.isInFont || r.missingFile)) {
20851
20851
  if (g && !F) s.fillText($, U, ne);
@@ -20854,7 +20854,7 @@ const vb = class vb {
20854
20854
  this.paintChar(F.fontChar, ie, re, v, b);
20855
20855
  }
20856
20856
  }
20857
- M += f ? Z * y - I * u : Z * y + I * u, N && s.restore();
20857
+ M += f ? q * y - I * u : q * y + I * u, N && s.restore();
20858
20858
  }
20859
20859
  f ? n.y -= M : n.x += M * c, s.restore(), this.compose();
20860
20860
  }
@@ -22361,7 +22361,7 @@ const RW = yr ? class extends _C {
22361
22361
  let $ = 0;
22362
22362
  for (let F = 0; F <= E; F++) {
22363
22363
  const U = Math.round(d + F * T), ne = N + F * I;
22364
- for (let Z = $; Z <= U; Z++) M[Z] = ne;
22364
+ for (let q = $; q <= U; q++) M[q] = ne;
22365
22365
  $ = U + 1;
22366
22366
  }
22367
22367
  for (let F = $; F < 256; F++) M[F] = M[$ - 1];
@@ -22446,14 +22446,14 @@ function $W(t = {}) {
22446
22446
  throw new Error("Invalid PDF binary data: either TypedArray, string, or array-like object is expected in the data property.");
22447
22447
  }(t.data) : null, s = t.httpHeaders || null, o = t.withCredentials === !0, a = t.password ?? null, l = t.range instanceof iO ? t.range : null, u = Number.isInteger(t.rangeChunkSize) && t.rangeChunkSize > 0 ? t.rangeChunkSize : NW;
22448
22448
  let c = t.worker instanceof lc ? t.worker : null;
22449
- const d = t.verbosity, f = typeof t.docBaseUrl != "string" || X5(t.docBaseUrl) ? null : t.docBaseUrl, h = typeof t.cMapUrl == "string" ? t.cMapUrl : null, m = t.cMapPacked !== !1, y = t.CMapReaderFactory || LW, g = typeof t.standardFontDataUrl == "string" ? t.standardFontDataUrl : null, v = t.StandardFontDataFactory || _W, b = t.stopAtErrors !== !0, S = Number.isInteger(t.maxImageSize) && t.maxImageSize > -1 ? t.maxImageSize : -1, C = t.isEvalSupported !== !1, E = typeof t.isOffscreenCanvasSupported == "boolean" ? t.isOffscreenCanvasSupported : !yr, M = typeof t.isImageDecoderSupported == "boolean" ? t.isImageDecoderSupported : !yr && (jr.platform.isFirefox || !globalThis.chrome), T = Number.isInteger(t.canvasMaxAreaInBytes) ? t.canvasMaxAreaInBytes : -1, N = typeof t.disableFontFace == "boolean" ? t.disableFontFace : yr, I = t.fontExtraProperties === !0, $ = t.enableXfa === !0, F = t.ownerDocument || globalThis.document, U = t.disableRange === !0, ne = t.disableStream === !0, Z = t.disableAutoFetch === !0, ie = t.pdfBug === !0, re = t.CanvasFactory || PW, q = t.FilterFactory || RW, ce = t.enableHWA === !0, W = l ? l.length : t.length ?? NaN, ae = typeof t.useSystemFonts == "boolean" ? t.useSystemFonts : !yr && !N, de = typeof t.useWorkerFetch == "boolean" ? t.useWorkerFetch : y === zI && v === ZI && h && g && fd(h, document.baseURI) && fd(g, document.baseURI);
22449
+ const d = t.verbosity, f = typeof t.docBaseUrl != "string" || X5(t.docBaseUrl) ? null : t.docBaseUrl, h = typeof t.cMapUrl == "string" ? t.cMapUrl : null, m = t.cMapPacked !== !1, y = t.CMapReaderFactory || LW, g = typeof t.standardFontDataUrl == "string" ? t.standardFontDataUrl : null, v = t.StandardFontDataFactory || _W, b = t.stopAtErrors !== !0, S = Number.isInteger(t.maxImageSize) && t.maxImageSize > -1 ? t.maxImageSize : -1, C = t.isEvalSupported !== !1, E = typeof t.isOffscreenCanvasSupported == "boolean" ? t.isOffscreenCanvasSupported : !yr, M = typeof t.isImageDecoderSupported == "boolean" ? t.isImageDecoderSupported : !yr && (jr.platform.isFirefox || !globalThis.chrome), T = Number.isInteger(t.canvasMaxAreaInBytes) ? t.canvasMaxAreaInBytes : -1, N = typeof t.disableFontFace == "boolean" ? t.disableFontFace : yr, I = t.fontExtraProperties === !0, $ = t.enableXfa === !0, F = t.ownerDocument || globalThis.document, U = t.disableRange === !0, ne = t.disableStream === !0, q = t.disableAutoFetch === !0, ie = t.pdfBug === !0, re = t.CanvasFactory || PW, W = t.FilterFactory || RW, ce = t.enableHWA === !0, G = l ? l.length : t.length ?? NaN, ae = typeof t.useSystemFonts == "boolean" ? t.useSystemFonts : !yr && !N, de = typeof t.useWorkerFetch == "boolean" ? t.useWorkerFetch : y === zI && v === ZI && h && g && fd(h, document.baseURI) && fd(g, document.baseURI);
22450
22450
  Zq(d);
22451
- const he = { canvasFactory: new re({ ownerDocument: F, enableHWA: ce }), filterFactory: new q({ docId: n, ownerDocument: F }), cMapReaderFactory: de ? null : new y({ baseUrl: h, isCompressed: m }), standardFontDataFactory: de ? null : new v({ baseUrl: g }) };
22451
+ const he = { canvasFactory: new re({ ownerDocument: F, enableHWA: ce }), filterFactory: new W({ docId: n, ownerDocument: F }), cMapReaderFactory: de ? null : new y({ baseUrl: h, isCompressed: m }), standardFontDataFactory: de ? null : new v({ baseUrl: g }) };
22452
22452
  if (!c) {
22453
22453
  const te = { verbosity: d, port: Ia.workerPort };
22454
22454
  c = te.port ? lc.fromPort(te) : new lc(te), e._worker = c;
22455
22455
  }
22456
- const V = { docId: n, apiVersion: "4.10.38", data: i, password: a, disableAutoFetch: Z, rangeChunkSize: u, length: W, docBaseUrl: f, enableXfa: $, evaluatorOptions: { maxImageSize: S, disableFontFace: N, ignoreErrors: b, isEvalSupported: C, isOffscreenCanvasSupported: E, isImageDecoderSupported: M, canvasMaxAreaInBytes: T, fontExtraProperties: I, useSystemFonts: ae, cMapUrl: de ? h : null, standardFontDataUrl: de ? g : null } }, G = { disableFontFace: N, fontExtraProperties: I, ownerDocument: F, pdfBug: ie, styleElement: null, loadingParams: { disableAutoFetch: Z, enableXfa: $ } };
22456
+ const V = { docId: n, apiVersion: "4.10.38", data: i, password: a, disableAutoFetch: q, rangeChunkSize: u, length: G, docBaseUrl: f, enableXfa: $, evaluatorOptions: { maxImageSize: S, disableFontFace: N, ignoreErrors: b, isEvalSupported: C, isOffscreenCanvasSupported: E, isImageDecoderSupported: M, canvasMaxAreaInBytes: T, fontExtraProperties: I, useSystemFonts: ae, cMapUrl: de ? h : null, standardFontDataUrl: de ? g : null } }, K = { disableFontFace: N, fontExtraProperties: I, ownerDocument: F, pdfBug: ie, styleElement: null, loadingParams: { disableAutoFetch: q, enableXfa: $ } };
22457
22457
  return c.promise.then(function() {
22458
22458
  if (e.destroyed) throw new Error("Loading aborted");
22459
22459
  if (c.destroyed) throw new Error("Worker was destroyed");
@@ -22468,12 +22468,12 @@ function $W(t = {}) {
22468
22468
  pe = HC;
22469
22469
  } else pe = OW;
22470
22470
  else pe = fd(r) ? HC : AW;
22471
- ee = new pe({ url: r, length: W, httpHeaders: s, withCredentials: o, rangeChunkSize: u, disableRange: U, disableStream: ne });
22471
+ ee = new pe({ url: r, length: G, httpHeaders: s, withCredentials: o, rangeChunkSize: u, disableRange: U, disableStream: ne });
22472
22472
  }
22473
22473
  return te.then((pe) => {
22474
22474
  if (e.destroyed) throw new Error("Loading aborted");
22475
22475
  if (c.destroyed) throw new Error("Worker was destroyed");
22476
- const Me = new gd(n, pe, c.port), ve = new jW(Me, e, ee, G, he);
22476
+ const Me = new gd(n, pe, c.port), ve = new jW(Me, e, ee, K, he);
22477
22477
  e._transport = ve, Me.send("Ready", null);
22478
22478
  });
22479
22479
  }).catch(e._capability.reject), e;
@@ -27260,7 +27260,7 @@ function wG(t, e, n, r, i, s) {
27260
27260
  class: "modal-close-link",
27261
27261
  href: "#",
27262
27262
  onClick: e[2] || (e[2] = at((a) => t.$emit("close"), ["prevent"]))
27263
- }, K(t.$t("HC_CANCEL")), 1)) : P("", !0)
27263
+ }, Z(t.$t("HC_CANCEL")), 1)) : P("", !0)
27264
27264
  ], 2)
27265
27265
  ], 42, vG);
27266
27266
  }
@@ -27319,12 +27319,12 @@ function AG(t, e, n, r, i, s) {
27319
27319
  }),
27320
27320
  x("h2", kG, [
27321
27321
  H(t.$slots, "headline", {}, () => [
27322
- Re(K(t.$t("HC_ERROR")), 1)
27322
+ Le(Z(t.$t("HC_ERROR")), 1)
27323
27323
  ], !0)
27324
27324
  ]),
27325
27325
  x("p", MG, [
27326
27326
  H(t.$slots, "subtext", {}, () => [
27327
- Re(K(t.$t("HC_SORRY_UNEXPECTED_EXIT_MODAL")), 1)
27327
+ Le(Z(t.$t("HC_SORRY_UNEXPECTED_EXIT_MODAL")), 1)
27328
27328
  ], !0)
27329
27329
  ])
27330
27330
  ])
@@ -27337,7 +27337,7 @@ function AG(t, e, n, r, i, s) {
27337
27337
  onClick: e[0] || (e[0] = (c) => t.toggleModal = !1)
27338
27338
  }, {
27339
27339
  default: Q(() => [
27340
- Re(K(t.$t("HC_EXIT")), 1)
27340
+ Le(Z(t.$t("HC_EXIT")), 1)
27341
27341
  ]),
27342
27342
  _: 1
27343
27343
  }, 8, ["class"])
@@ -27631,10 +27631,10 @@ const V1 = /* @__PURE__ */ Ue(PG, [["render", _G], ["__scopeId", "data-v-fac0204
27631
27631
  }), u = _(null), c = _([]), d = _(!1), f = _(null), h = _("0"), m = _(1), y = _(Nn.md ? 1 : 0.9), g = _(0), v = _(null), b = _(), S = _(!1), C = _(!1), E = Y(() => [
27632
27632
  `z-[${t.baseZIndex + 1}]`
27633
27633
  ]), M = Y(() => t.files.map((V) => {
27634
- const G = V instanceof File, te = G ? V.name : V.original.url, ee = ae(
27634
+ const K = V instanceof File, te = K ? V.name : V.original.url, ee = ae(
27635
27635
  te.toLowerCase()
27636
27636
  ).replace(/^\./, ""), pe = ee ? s.has(ee) ? ee : o[ee] || "txt" : "txt";
27637
- return G ? {
27637
+ return K ? {
27638
27638
  id: V.lastModified + "-" + V.name.replace(/[\s.]/g, ""),
27639
27639
  originalFile: V,
27640
27640
  name: V.name,
@@ -27670,21 +27670,21 @@ const V1 = /* @__PURE__ */ Ue(PG, [["render", _G], ["__scopeId", "data-v-fac0204
27670
27670
  r.value === "desktop" ? F(V) : (v.value = V, C.value = !0);
27671
27671
  }, ne = (V) => {
27672
27672
  V.event(), d.value = !1;
27673
- }, Z = (V, G) => {
27674
- !d.value && G.isImage ? ie(V, G) : !d.value && !G.isImage && U(G);
27675
- }, ie = (V, G) => {
27676
- const te = (pe) => pe.url === (G == null ? void 0 : G.url), ee = T.value.findIndex(te);
27673
+ }, q = (V, K) => {
27674
+ !d.value && K.isImage ? ie(V, K) : !d.value && !K.isImage && U(K);
27675
+ }, ie = (V, K) => {
27676
+ const te = (pe) => pe.url === (K == null ? void 0 : K.url), ee = T.value.findIndex(te);
27677
27677
  g.value = ee !== -1 ? ee : V, S.value = !0;
27678
27678
  }, re = (V = null) => {
27679
- var G;
27679
+ var K;
27680
27680
  d.value = !1, e(
27681
27681
  "update:model-value",
27682
- (V == null ? void 0 : V.originalFile) || ((G = f.value) == null ? void 0 : G.originalFile)
27682
+ (V == null ? void 0 : V.originalFile) || ((K = f.value) == null ? void 0 : K.originalFile)
27683
27683
  );
27684
- }, q = (V) => {
27685
- const { keyCode: G } = V;
27684
+ }, W = (V) => {
27685
+ const { keyCode: K } = V;
27686
27686
  if (S.value)
27687
- switch (G) {
27687
+ switch (K) {
27688
27688
  // previous - navigate to previous image
27689
27689
  case 37:
27690
27690
  g.value = g.value ? g.value - 1 : T.value.length - 1, e("update:activeIndex", g.value);
@@ -27698,23 +27698,23 @@ const V1 = /* @__PURE__ */ Ue(PG, [["render", _G], ["__scopeId", "data-v-fac0204
27698
27698
  S.value = !1;
27699
27699
  break;
27700
27700
  }
27701
- }, { isSwiping: ce, lengthX: W } = N_(u, {
27701
+ }, { isSwiping: ce, lengthX: G } = N_(u, {
27702
27702
  passive: !1,
27703
27703
  onSwipe() {
27704
- const V = Math.abs(W.value);
27705
- l.value && (m.value = 1.1 - V / l.value, h.value = W.value < 0 ? `${V / 4}px` : `-${V / 4}px`);
27704
+ const V = Math.abs(G.value);
27705
+ l.value && (m.value = 1.1 - V / l.value, h.value = G.value < 0 ? `${V / 4}px` : `-${V / 4}px`);
27706
27706
  },
27707
27707
  onSwipeEnd() {
27708
- const V = g.value <= 0, G = g.value >= T.value.length - 1, te = Math.abs(W.value);
27709
- l.value && te / l.value >= 0.5 ? (W.value < 0 ? g.value = V ? T.value.length - 1 : g.value - 1 : g.value = G ? 0 : g.value + 1, h.value = "0", m.value = 1) : (h.value = "0", m.value = 1);
27708
+ const V = g.value <= 0, K = g.value >= T.value.length - 1, te = Math.abs(G.value);
27709
+ l.value && te / l.value >= 0.5 ? (G.value < 0 ? g.value = V ? T.value.length - 1 : g.value - 1 : g.value = K ? 0 : g.value + 1, h.value = "0", m.value = 1) : (h.value = "0", m.value = 1);
27710
27710
  }
27711
- }), ae = (V) => V.substring(V.lastIndexOf(".")), de = (V, G) => {
27712
- V.preventDefault(), f.value = M.value[G], d.value = !0;
27711
+ }), ae = (V) => V.substring(V.lastIndexOf(".")), de = (V, K) => {
27712
+ V.preventDefault(), f.value = M.value[K], d.value = !0;
27713
27713
  }, he = () => {
27714
27714
  d.value = !1, f.value = null;
27715
27715
  };
27716
27716
  return Et(() => {
27717
- window.addEventListener("keyup", q);
27717
+ window.addEventListener("keyup", W);
27718
27718
  }), {
27719
27719
  menuActions: i,
27720
27720
  linkActions: $,
@@ -27727,7 +27727,7 @@ const V1 = /* @__PURE__ */ Ue(PG, [["render", _G], ["__scopeId", "data-v-fac0204
27727
27727
  longPressedHook: d,
27728
27728
  // Animation Refs
27729
27729
  isSwiping: ce,
27730
- lengthX: W,
27730
+ lengthX: G,
27731
27731
  left: h,
27732
27732
  opacity: m,
27733
27733
  scale: y,
@@ -27748,10 +27748,10 @@ const V1 = /* @__PURE__ */ Ue(PG, [["render", _G], ["__scopeId", "data-v-fac0204
27748
27748
  getExtension: ae,
27749
27749
  onAttachmentClick: U,
27750
27750
  onClickMenuLink: ne,
27751
- onClickThumbnail: Z,
27751
+ onClickThumbnail: q,
27752
27752
  onOpenCarousel: ie,
27753
27753
  onRemoveFile: re,
27754
- onKeyboardNavigation: q,
27754
+ onKeyboardNavigation: W,
27755
27755
  onLongPressCallbackHook: de,
27756
27756
  resetHook: he,
27757
27757
  // Composable
@@ -27904,8 +27904,8 @@ function nK(t, e, n, r, i, s) {
27904
27904
  size: "xl"
27905
27905
  }, null, 8, ["icon"]),
27906
27906
  x("div", ZG, [
27907
- x("div", qG, K(h.name), 1),
27908
- x("div", WG, K(h.name.match(/([^.]+$)/)[0]), 1)
27907
+ x("div", qG, Z(h.name), 1),
27908
+ x("div", WG, Z(h.name.match(/([^.]+$)/)[0]), 1)
27909
27909
  ])
27910
27910
  ])),
27911
27911
  t.deviceType !== "desktop" ? (w(), k("div", GG)) : P("", !0),
@@ -27929,7 +27929,7 @@ function nK(t, e, n, r, i, s) {
27929
27929
  }, 1032, ["onClick"])) : P("", !0)
27930
27930
  ]),
27931
27931
  content: Q(() => [
27932
- Re(K(h.name), 1)
27932
+ Le(Z(h.name), 1)
27933
27933
  ]),
27934
27934
  _: 2
27935
27935
  }, 1032, ["class", "controlled"]),
@@ -27978,7 +27978,7 @@ function nK(t, e, n, r, i, s) {
27978
27978
  "title-class": "min-w-0 truncate"
27979
27979
  }, {
27980
27980
  header: Q(() => [
27981
- Re(K(t.activeAttachment.name), 1)
27981
+ Le(Z(t.activeAttachment.name), 1)
27982
27982
  ]),
27983
27983
  headerAction: Q(() => [
27984
27984
  !t.activeAttachment.type.includes("video") && t.activeAttachment.type !== "audio/mpeg" && t.activeAttachment.type !== "application/pdf" ? (w(), j(o, {
@@ -28006,7 +28006,7 @@ function nK(t, e, n, r, i, s) {
28006
28006
  icon: "mp4",
28007
28007
  size: "xl"
28008
28008
  }),
28009
- Re(" " + K(t.activeAttachment.extension), 1)
28009
+ Le(" " + Z(t.activeAttachment.extension), 1)
28010
28010
  ])
28011
28011
  ])) : t.activeAttachment.type === "audio/mpeg" ? (w(), k("audio", {
28012
28012
  key: 2,
@@ -28025,7 +28025,7 @@ function nK(t, e, n, r, i, s) {
28025
28025
  size: "xl",
28026
28026
  color: "inkwell-30"
28027
28027
  }, null, 8, ["icon"]),
28028
- Re(" " + K(t.activeAttachment.extension), 1)
28028
+ Le(" " + Z(t.activeAttachment.extension), 1)
28029
28029
  ])
28030
28030
  ], 8, eK))
28031
28031
  ]),
@@ -28137,7 +28137,7 @@ function dK(t, e, n, r, i, s) {
28137
28137
  }, {
28138
28138
  default: Q(() => [
28139
28139
  H(t.$slots, "cancelText", {}, () => [
28140
- Re(K(t.$t("HC_CANCEL")), 1)
28140
+ Le(Z(t.$t("HC_CANCEL")), 1)
28141
28141
  ], !0)
28142
28142
  ]),
28143
28143
  _: 3
@@ -37596,10 +37596,10 @@ class cX {
37596
37596
  this.callbacks = {};
37597
37597
  }
37598
37598
  }
37599
- function Le(t, e, n) {
37600
- return t.config[e] === void 0 && t.parent ? Le(t.parent, e, n) : typeof t.config[e] == "function" ? t.config[e].bind({
37599
+ function Re(t, e, n) {
37600
+ return t.config[e] === void 0 && t.parent ? Re(t.parent, e, n) : typeof t.config[e] == "function" ? t.config[e].bind({
37601
37601
  ...n,
37602
- parent: t.parent ? Le(t.parent, e, n) : null
37602
+ parent: t.parent ? Re(t.parent, e, n) : null
37603
37603
  }) : t.config[e];
37604
37604
  }
37605
37605
  function c4(t) {
@@ -37624,7 +37624,7 @@ function Mx(t) {
37624
37624
  name: o.name,
37625
37625
  options: o.options,
37626
37626
  storage: o.storage
37627
- }, l = Le(o, "addGlobalAttributes", a);
37627
+ }, l = Re(o, "addGlobalAttributes", a);
37628
37628
  if (!l)
37629
37629
  return;
37630
37630
  l().forEach((c) => {
@@ -37646,7 +37646,7 @@ function Mx(t) {
37646
37646
  name: o.name,
37647
37647
  options: o.options,
37648
37648
  storage: o.storage
37649
- }, l = Le(o, "addAttributes", a);
37649
+ }, l = Re(o, "addAttributes", a);
37650
37650
  if (!l)
37651
37651
  return;
37652
37652
  const u = l();
@@ -37729,42 +37729,42 @@ function US(t) {
37729
37729
  }
37730
37730
  function hX(t, e) {
37731
37731
  var n;
37732
- const r = Mx(t), { nodeExtensions: i, markExtensions: s } = c4(t), o = (n = i.find((u) => Le(u, "topNode"))) === null || n === void 0 ? void 0 : n.name, a = Object.fromEntries(i.map((u) => {
37732
+ const r = Mx(t), { nodeExtensions: i, markExtensions: s } = c4(t), o = (n = i.find((u) => Re(u, "topNode"))) === null || n === void 0 ? void 0 : n.name, a = Object.fromEntries(i.map((u) => {
37733
37733
  const c = r.filter((v) => v.type === u.name), d = {
37734
37734
  name: u.name,
37735
37735
  options: u.options,
37736
37736
  storage: u.storage,
37737
37737
  editor: e
37738
37738
  }, f = t.reduce((v, b) => {
37739
- const S = Le(b, "extendNodeSchema", d);
37739
+ const S = Re(b, "extendNodeSchema", d);
37740
37740
  return {
37741
37741
  ...v,
37742
37742
  ...S ? S(u) : {}
37743
37743
  };
37744
37744
  }, {}), h = US({
37745
37745
  ...f,
37746
- content: rt(Le(u, "content", d)),
37747
- marks: rt(Le(u, "marks", d)),
37748
- group: rt(Le(u, "group", d)),
37749
- inline: rt(Le(u, "inline", d)),
37750
- atom: rt(Le(u, "atom", d)),
37751
- selectable: rt(Le(u, "selectable", d)),
37752
- draggable: rt(Le(u, "draggable", d)),
37753
- code: rt(Le(u, "code", d)),
37754
- defining: rt(Le(u, "defining", d)),
37755
- isolating: rt(Le(u, "isolating", d)),
37746
+ content: rt(Re(u, "content", d)),
37747
+ marks: rt(Re(u, "marks", d)),
37748
+ group: rt(Re(u, "group", d)),
37749
+ inline: rt(Re(u, "inline", d)),
37750
+ atom: rt(Re(u, "atom", d)),
37751
+ selectable: rt(Re(u, "selectable", d)),
37752
+ draggable: rt(Re(u, "draggable", d)),
37753
+ code: rt(Re(u, "code", d)),
37754
+ defining: rt(Re(u, "defining", d)),
37755
+ isolating: rt(Re(u, "isolating", d)),
37756
37756
  attrs: Object.fromEntries(c.map((v) => {
37757
37757
  var b;
37758
37758
  return [v.name, { default: (b = v == null ? void 0 : v.attribute) === null || b === void 0 ? void 0 : b.default }];
37759
37759
  }))
37760
- }), m = rt(Le(u, "parseHTML", d));
37760
+ }), m = rt(Re(u, "parseHTML", d));
37761
37761
  m && (h.parseDOM = m.map((v) => zS(v, c)));
37762
- const y = Le(u, "renderHTML", d);
37762
+ const y = Re(u, "renderHTML", d);
37763
37763
  y && (h.toDOM = (v) => y({
37764
37764
  node: v,
37765
37765
  HTMLAttributes: hy(v, c)
37766
37766
  }));
37767
- const g = Le(u, "renderText", d);
37767
+ const g = Re(u, "renderText", d);
37768
37768
  return g && (h.toText = g), [u.name, h];
37769
37769
  })), l = Object.fromEntries(s.map((u) => {
37770
37770
  const c = r.filter((g) => g.type === u.name), d = {
@@ -37773,25 +37773,25 @@ function hX(t, e) {
37773
37773
  storage: u.storage,
37774
37774
  editor: e
37775
37775
  }, f = t.reduce((g, v) => {
37776
- const b = Le(v, "extendMarkSchema", d);
37776
+ const b = Re(v, "extendMarkSchema", d);
37777
37777
  return {
37778
37778
  ...g,
37779
37779
  ...b ? b(u) : {}
37780
37780
  };
37781
37781
  }, {}), h = US({
37782
37782
  ...f,
37783
- inclusive: rt(Le(u, "inclusive", d)),
37784
- excludes: rt(Le(u, "excludes", d)),
37785
- group: rt(Le(u, "group", d)),
37786
- spanning: rt(Le(u, "spanning", d)),
37787
- code: rt(Le(u, "code", d)),
37783
+ inclusive: rt(Re(u, "inclusive", d)),
37784
+ excludes: rt(Re(u, "excludes", d)),
37785
+ group: rt(Re(u, "group", d)),
37786
+ spanning: rt(Re(u, "spanning", d)),
37787
+ code: rt(Re(u, "code", d)),
37788
37788
  attrs: Object.fromEntries(c.map((g) => {
37789
37789
  var v;
37790
37790
  return [g.name, { default: (v = g == null ? void 0 : g.attribute) === null || v === void 0 ? void 0 : v.default }];
37791
37791
  }))
37792
- }), m = rt(Le(u, "parseHTML", d));
37792
+ }), m = rt(Re(u, "parseHTML", d));
37793
37793
  m && (h.parseDOM = m.map((g) => zS(g, c)));
37794
- const y = Le(u, "renderHTML", d);
37794
+ const y = Re(u, "renderHTML", d);
37795
37795
  return y && (h.toDOM = (g) => y({
37796
37796
  mark: g,
37797
37797
  HTMLAttributes: hy(g, c)
@@ -38053,22 +38053,22 @@ class ec {
38053
38053
  editor: this.editor,
38054
38054
  type: M6(r.name, this.schema)
38055
38055
  };
38056
- r.type === "mark" && (!((i = rt(Le(r, "keepOnSplit", s))) !== null && i !== void 0) || i) && this.splittableMarks.push(r.name);
38057
- const o = Le(r, "onBeforeCreate", s);
38056
+ r.type === "mark" && (!((i = rt(Re(r, "keepOnSplit", s))) !== null && i !== void 0) || i) && this.splittableMarks.push(r.name);
38057
+ const o = Re(r, "onBeforeCreate", s);
38058
38058
  o && this.editor.on("beforeCreate", o);
38059
- const a = Le(r, "onCreate", s);
38059
+ const a = Re(r, "onCreate", s);
38060
38060
  a && this.editor.on("create", a);
38061
- const l = Le(r, "onUpdate", s);
38061
+ const l = Re(r, "onUpdate", s);
38062
38062
  l && this.editor.on("update", l);
38063
- const u = Le(r, "onSelectionUpdate", s);
38063
+ const u = Re(r, "onSelectionUpdate", s);
38064
38064
  u && this.editor.on("selectionUpdate", u);
38065
- const c = Le(r, "onTransaction", s);
38065
+ const c = Re(r, "onTransaction", s);
38066
38066
  c && this.editor.on("transaction", c);
38067
- const d = Le(r, "onFocus", s);
38067
+ const d = Re(r, "onFocus", s);
38068
38068
  d && this.editor.on("focus", d);
38069
- const f = Le(r, "onBlur", s);
38069
+ const f = Re(r, "onBlur", s);
38070
38070
  f && this.editor.on("blur", f);
38071
- const h = Le(r, "onDestroy", s);
38071
+ const h = Re(r, "onDestroy", s);
38072
38072
  h && this.editor.on("destroy", h);
38073
38073
  });
38074
38074
  }
@@ -38082,13 +38082,13 @@ class ec {
38082
38082
  name: n.name,
38083
38083
  options: n.options,
38084
38084
  storage: n.storage
38085
- }, i = Le(n, "addExtensions", r);
38085
+ }, i = Re(n, "addExtensions", r);
38086
38086
  return i ? [n, ...this.flatten(i())] : n;
38087
38087
  }).flat(10);
38088
38088
  }
38089
38089
  static sort(e) {
38090
38090
  return e.sort((r, i) => {
38091
- const s = Le(r, "priority") || 100, o = Le(i, "priority") || 100;
38091
+ const s = Re(r, "priority") || 100, o = Re(i, "priority") || 100;
38092
38092
  return s > o ? -1 : s < o ? 1 : 0;
38093
38093
  });
38094
38094
  }
@@ -38100,7 +38100,7 @@ class ec {
38100
38100
  storage: n.storage,
38101
38101
  editor: this.editor,
38102
38102
  type: M6(n.name, this.schema)
38103
- }, i = Le(n, "addCommands", r);
38103
+ }, i = Re(n, "addCommands", r);
38104
38104
  return i ? {
38105
38105
  ...e,
38106
38106
  ...i()
@@ -38115,7 +38115,7 @@ class ec {
38115
38115
  storage: o.storage,
38116
38116
  editor: e,
38117
38117
  type: M6(o.name, this.schema)
38118
- }, l = [], u = Le(o, "addKeyboardShortcuts", a);
38118
+ }, l = [], u = Re(o, "addKeyboardShortcuts", a);
38119
38119
  let c = {};
38120
38120
  if (o.type === "mark" && o.config.exitable && (c.ArrowRight = () => Ui.handleExit({ editor: e, mark: o })), u) {
38121
38121
  const y = Object.fromEntries(Object.entries(u()).map(([g, v]) => [g, () => v({ editor: e })]));
@@ -38123,11 +38123,11 @@ class ec {
38123
38123
  }
38124
38124
  const d = UQ(c);
38125
38125
  l.push(d);
38126
- const f = Le(o, "addInputRules", a);
38126
+ const f = Re(o, "addInputRules", a);
38127
38127
  ZS(o, e.options.enableInputRules) && f && r.push(...f());
38128
- const h = Le(o, "addPasteRules", a);
38128
+ const h = Re(o, "addPasteRules", a);
38129
38129
  ZS(o, e.options.enablePasteRules) && h && i.push(...h());
38130
- const m = Le(o, "addProseMirrorPlugins", a);
38130
+ const m = Re(o, "addProseMirrorPlugins", a);
38131
38131
  if (m) {
38132
38132
  const y = m();
38133
38133
  l.push(...y);
@@ -38151,14 +38151,14 @@ class ec {
38151
38151
  }
38152
38152
  get nodeViews() {
38153
38153
  const { editor: e } = this, { nodeExtensions: n } = c4(this.extensions);
38154
- return Object.fromEntries(n.filter((r) => !!Le(r, "addNodeView")).map((r) => {
38154
+ return Object.fromEntries(n.filter((r) => !!Re(r, "addNodeView")).map((r) => {
38155
38155
  const i = this.attributes.filter((l) => l.type === r.name), s = {
38156
38156
  name: r.name,
38157
38157
  options: r.options,
38158
38158
  storage: r.storage,
38159
38159
  editor: e,
38160
38160
  type: Gn(r.name, this.schema)
38161
- }, o = Le(r, "addNodeView", s);
38161
+ }, o = Re(r, "addNodeView", s);
38162
38162
  if (!o)
38163
38163
  return [];
38164
38164
  const a = (l, u, c, d) => {
@@ -38196,9 +38196,9 @@ class ur {
38196
38196
  }, this.config = {
38197
38197
  ...this.config,
38198
38198
  ...e
38199
- }, this.name = this.config.name, e.defaultOptions && Object.keys(e.defaultOptions).length > 0 && console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${this.name}".`), this.options = this.config.defaultOptions, this.config.addOptions && (this.options = rt(Le(this, "addOptions", {
38199
+ }, this.name = this.config.name, e.defaultOptions && Object.keys(e.defaultOptions).length > 0 && console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${this.name}".`), this.options = this.config.defaultOptions, this.config.addOptions && (this.options = rt(Re(this, "addOptions", {
38200
38200
  name: this.name
38201
- }))), this.storage = rt(Le(this, "addStorage", {
38201
+ }))), this.storage = rt(Re(this, "addStorage", {
38202
38202
  name: this.name,
38203
38203
  options: this.options
38204
38204
  })) || {};
@@ -38208,16 +38208,16 @@ class ur {
38208
38208
  }
38209
38209
  configure(e = {}) {
38210
38210
  const n = this.extend();
38211
- return n.options = f4(this.options, e), n.storage = rt(Le(n, "addStorage", {
38211
+ return n.options = f4(this.options, e), n.storage = rt(Re(n, "addStorage", {
38212
38212
  name: n.name,
38213
38213
  options: n.options
38214
38214
  })), n;
38215
38215
  }
38216
38216
  extend(e = {}) {
38217
38217
  const n = new ur({ ...this.config, ...e });
38218
- return n.parent = this, this.child = n, n.name = e.name ? e.name : n.parent.name, e.defaultOptions && console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${n.name}".`), n.options = rt(Le(n, "addOptions", {
38218
+ return n.parent = this, this.child = n, n.name = e.name ? e.name : n.parent.name, e.defaultOptions && console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${n.name}".`), n.options = rt(Re(n, "addOptions", {
38219
38219
  name: n.name
38220
- })), n.storage = rt(Le(n, "addStorage", {
38220
+ })), n.storage = rt(Re(n, "addStorage", {
38221
38221
  name: n.name,
38222
38222
  options: n.options
38223
38223
  })), n;
@@ -38755,7 +38755,7 @@ function GS(t, e) {
38755
38755
  name: r.name,
38756
38756
  options: r.options,
38757
38757
  storage: r.storage
38758
- }, s = rt(Le(r, "group", i));
38758
+ }, s = rt(Re(r, "group", i));
38759
38759
  return typeof s != "string" ? !1 : s.split(" ").includes("list");
38760
38760
  }
38761
38761
  function TJ(t) {
@@ -39817,9 +39817,9 @@ class Ui {
39817
39817
  }, this.config = {
39818
39818
  ...this.config,
39819
39819
  ...e
39820
- }, this.name = this.config.name, e.defaultOptions && Object.keys(e.defaultOptions).length > 0 && console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${this.name}".`), this.options = this.config.defaultOptions, this.config.addOptions && (this.options = rt(Le(this, "addOptions", {
39820
+ }, this.name = this.config.name, e.defaultOptions && Object.keys(e.defaultOptions).length > 0 && console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${this.name}".`), this.options = this.config.defaultOptions, this.config.addOptions && (this.options = rt(Re(this, "addOptions", {
39821
39821
  name: this.name
39822
- }))), this.storage = rt(Le(this, "addStorage", {
39822
+ }))), this.storage = rt(Re(this, "addStorage", {
39823
39823
  name: this.name,
39824
39824
  options: this.options
39825
39825
  })) || {};
@@ -39829,16 +39829,16 @@ class Ui {
39829
39829
  }
39830
39830
  configure(e = {}) {
39831
39831
  const n = this.extend();
39832
- return n.options = f4(this.options, e), n.storage = rt(Le(n, "addStorage", {
39832
+ return n.options = f4(this.options, e), n.storage = rt(Re(n, "addStorage", {
39833
39833
  name: n.name,
39834
39834
  options: n.options
39835
39835
  })), n;
39836
39836
  }
39837
39837
  extend(e = {}) {
39838
39838
  const n = new Ui({ ...this.config, ...e });
39839
- return n.parent = this, this.child = n, n.name = e.name ? e.name : n.parent.name, e.defaultOptions && console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${n.name}".`), n.options = rt(Le(n, "addOptions", {
39839
+ return n.parent = this, this.child = n, n.name = e.name ? e.name : n.parent.name, e.defaultOptions && console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${n.name}".`), n.options = rt(Re(n, "addOptions", {
39840
39840
  name: n.name
39841
- })), n.storage = rt(Le(n, "addStorage", {
39841
+ })), n.storage = rt(Re(n, "addStorage", {
39842
39842
  name: n.name,
39843
39843
  options: n.options
39844
39844
  })), n;
@@ -39863,9 +39863,9 @@ let Wi = class yy {
39863
39863
  }, this.config = {
39864
39864
  ...this.config,
39865
39865
  ...e
39866
- }, this.name = this.config.name, e.defaultOptions && Object.keys(e.defaultOptions).length > 0 && console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${this.name}".`), this.options = this.config.defaultOptions, this.config.addOptions && (this.options = rt(Le(this, "addOptions", {
39866
+ }, this.name = this.config.name, e.defaultOptions && Object.keys(e.defaultOptions).length > 0 && console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${this.name}".`), this.options = this.config.defaultOptions, this.config.addOptions && (this.options = rt(Re(this, "addOptions", {
39867
39867
  name: this.name
39868
- }))), this.storage = rt(Le(this, "addStorage", {
39868
+ }))), this.storage = rt(Re(this, "addStorage", {
39869
39869
  name: this.name,
39870
39870
  options: this.options
39871
39871
  })) || {};
@@ -39875,16 +39875,16 @@ let Wi = class yy {
39875
39875
  }
39876
39876
  configure(e = {}) {
39877
39877
  const n = this.extend();
39878
- return n.options = f4(this.options, e), n.storage = rt(Le(n, "addStorage", {
39878
+ return n.options = f4(this.options, e), n.storage = rt(Re(n, "addStorage", {
39879
39879
  name: n.name,
39880
39880
  options: n.options
39881
39881
  })), n;
39882
39882
  }
39883
39883
  extend(e = {}) {
39884
39884
  const n = new yy({ ...this.config, ...e });
39885
- return n.parent = this, this.child = n, n.name = e.name ? e.name : n.parent.name, e.defaultOptions && console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${n.name}".`), n.options = rt(Le(n, "addOptions", {
39885
+ return n.parent = this, this.child = n, n.name = e.name ? e.name : n.parent.name, e.defaultOptions && console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${n.name}".`), n.options = rt(Re(n, "addOptions", {
39886
39886
  name: n.name
39887
- })), n.storage = rt(Le(n, "addStorage", {
39887
+ })), n.storage = rt(Re(n, "addStorage", {
39888
39888
  name: n.name,
39889
39889
  options: n.options
39890
39890
  })), n;
@@ -40404,8 +40404,8 @@ function Rf(t, e) {
40404
40404
  if (f === sd && F) {
40405
40405
  var U = F[i];
40406
40406
  Object.keys($).forEach(function(ne) {
40407
- var Z = [bs, vs].indexOf(ne) >= 0 ? 1 : -1, ie = [di, vs].indexOf(ne) >= 0 ? "y" : "x";
40408
- $[ne] += U[ie] * Z;
40407
+ var q = [bs, vs].indexOf(ne) >= 0 ? 1 : -1, ie = [di, vs].indexOf(ne) >= 0 ? "y" : "x";
40408
+ $[ne] += U[ie] * q;
40409
40409
  });
40410
40410
  }
40411
40411
  return $;
@@ -40439,8 +40439,8 @@ function Bee(t) {
40439
40439
  function Vee(t) {
40440
40440
  var e = t.state, n = t.options, r = t.name;
40441
40441
  if (!e.modifiersData[r]._skip) {
40442
- for (var i = n.mainAxis, s = i === void 0 ? !0 : i, o = n.altAxis, a = o === void 0 ? !0 : o, l = n.fallbackPlacements, u = n.padding, c = n.boundary, d = n.rootBoundary, f = n.altBoundary, h = n.flipVariations, m = h === void 0 ? !0 : h, y = n.allowedAutoPlacements, g = e.options.placement, v = Lo(g), b = v === g, S = l || (b || !m ? [$3(g)] : Bee(g)), C = [g].concat(S).reduce(function(G, te) {
40443
- return G.concat(Lo(te) === bv ? Fee(e, {
40442
+ for (var i = n.mainAxis, s = i === void 0 ? !0 : i, o = n.altAxis, a = o === void 0 ? !0 : o, l = n.fallbackPlacements, u = n.padding, c = n.boundary, d = n.rootBoundary, f = n.altBoundary, h = n.flipVariations, m = h === void 0 ? !0 : h, y = n.allowedAutoPlacements, g = e.options.placement, v = Lo(g), b = v === g, S = l || (b || !m ? [$3(g)] : Bee(g)), C = [g].concat(S).reduce(function(K, te) {
40443
+ return K.concat(Lo(te) === bv ? Fee(e, {
40444
40444
  placement: te,
40445
40445
  boundary: c,
40446
40446
  rootBoundary: d,
@@ -40449,22 +40449,22 @@ function Vee(t) {
40449
40449
  allowedAutoPlacements: y
40450
40450
  }) : te);
40451
40451
  }, []), E = e.rects.reference, M = e.rects.popper, T = /* @__PURE__ */ new Map(), N = !0, I = C[0], $ = 0; $ < C.length; $++) {
40452
- var F = C[$], U = Lo(F), ne = I1(F) === A1, Z = [di, vs].indexOf(U) >= 0, ie = Z ? "width" : "height", re = Rf(e, {
40452
+ var F = C[$], U = Lo(F), ne = I1(F) === A1, q = [di, vs].indexOf(U) >= 0, ie = q ? "width" : "height", re = Rf(e, {
40453
40453
  placement: F,
40454
40454
  boundary: c,
40455
40455
  rootBoundary: d,
40456
40456
  altBoundary: f,
40457
40457
  padding: u
40458
- }), q = Z ? ne ? bs : fi : ne ? vs : di;
40459
- E[ie] > M[ie] && (q = $3(q));
40460
- var ce = $3(q), W = [];
40461
- if (s && W.push(re[U] <= 0), a && W.push(re[q] <= 0, re[ce] <= 0), W.every(function(G) {
40462
- return G;
40458
+ }), W = q ? ne ? bs : fi : ne ? vs : di;
40459
+ E[ie] > M[ie] && (W = $3(W));
40460
+ var ce = $3(W), G = [];
40461
+ if (s && G.push(re[U] <= 0), a && G.push(re[W] <= 0, re[ce] <= 0), G.every(function(K) {
40462
+ return K;
40463
40463
  })) {
40464
40464
  I = F, N = !1;
40465
40465
  break;
40466
40466
  }
40467
- T.set(F, W);
40467
+ T.set(F, G);
40468
40468
  }
40469
40469
  if (N)
40470
40470
  for (var ae = m ? 3 : 1, de = function(te) {
@@ -40596,11 +40596,11 @@ function Yee(t) {
40596
40596
  };
40597
40597
  if (M) {
40598
40598
  if (s) {
40599
- var ne, Z = C === "y" ? di : fi, ie = C === "y" ? vs : bs, re = C === "y" ? "height" : "width", q = M[C], ce = q + g[Z], W = q - g[ie], ae = h ? -N[re] / 2 : 0, de = b === A1 ? T[re] : N[re], he = b === A1 ? -N[re] : -T[re], V = e.elements.arrow, G = h && V ? Cv(V) : {
40599
+ var ne, q = C === "y" ? di : fi, ie = C === "y" ? vs : bs, re = C === "y" ? "height" : "width", W = M[C], ce = W + g[q], G = W - g[ie], ae = h ? -N[re] / 2 : 0, de = b === A1 ? T[re] : N[re], he = b === A1 ? -N[re] : -T[re], V = e.elements.arrow, K = h && V ? Cv(V) : {
40600
40600
  width: 0,
40601
40601
  height: 0
40602
- }, te = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : Fx(), ee = te[Z], pe = te[ie], Me = zd(0, T[re], G[re]), ve = S ? T[re] / 2 - ae - Me - ee - $.mainAxis : de - Me - ee - $.mainAxis, be = S ? -T[re] / 2 + ae + Me + pe + $.mainAxis : he + Me + pe + $.mainAxis, _e = e.elements.arrow && em(e.elements.arrow), qe = _e ? C === "y" ? _e.clientTop || 0 : _e.clientLeft || 0 : 0, ct = (ne = F == null ? void 0 : F[C]) != null ? ne : 0, an = q + ve - ct - qe, Pn = q + be - ct, mn = zd(h ? Eg(ce, an) : ce, q, h ? uu(W, Pn) : W);
40603
- M[C] = mn, U[C] = mn - q;
40602
+ }, te = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : Fx(), ee = te[q], pe = te[ie], Me = zd(0, T[re], K[re]), ve = S ? T[re] / 2 - ae - Me - ee - $.mainAxis : de - Me - ee - $.mainAxis, be = S ? -T[re] / 2 + ae + Me + pe + $.mainAxis : he + Me + pe + $.mainAxis, _e = e.elements.arrow && em(e.elements.arrow), qe = _e ? C === "y" ? _e.clientTop || 0 : _e.clientLeft || 0 : 0, ct = (ne = F == null ? void 0 : F[C]) != null ? ne : 0, an = W + ve - ct - qe, Pn = W + be - ct, mn = zd(h ? Eg(ce, an) : ce, W, h ? uu(G, Pn) : G);
40603
+ M[C] = mn, U[C] = mn - W;
40604
40604
  }
40605
40605
  if (a) {
40606
40606
  var Ln, Kr = C === "x" ? di : fi, Js = C === "x" ? vs : bs, ln = M[E], Rn = E === "y" ? "height" : "width", Gi = ln + g[Kr], Yr = ln - g[Js], Tr = [di, fi].indexOf(v) !== -1, wi = (Ln = F == null ? void 0 : F[E]) != null ? Ln : 0, wt = Tr ? Gi : ln - T[Rn] - N[Rn] - wi + $.altAxis, ue = Tr ? ln + T[Rn] + N[Rn] - wi - $.altAxis : Yr, ge = h && Tr ? wee(wt, ln, ue) : zd(h ? wt : Gi, ln, h ? ue : Yr);
@@ -41210,10 +41210,10 @@ function _te(t, e) {
41210
41210
  var N = b.map(function(le) {
41211
41211
  return le.fn(C);
41212
41212
  }), I = t.hasAttribute("aria-expanded");
41213
- return _e(), ae(), q(), ce("onCreate", [C]), n.showOnCreate && Gi(), M.addEventListener("mouseenter", function() {
41213
+ return _e(), ae(), W(), ce("onCreate", [C]), n.showOnCreate && Gi(), M.addEventListener("mouseenter", function() {
41214
41214
  C.props.interactive && C.state.isVisible && C.clearDelayTimeouts();
41215
41215
  }), M.addEventListener("mouseleave", function() {
41216
- C.props.interactive && C.props.trigger.indexOf("mouseenter") >= 0 && Z().addEventListener("mousemove", m);
41216
+ C.props.interactive && C.props.trigger.indexOf("mouseenter") >= 0 && q().addEventListener("mousemove", m);
41217
41217
  }), C;
41218
41218
  function $() {
41219
41219
  var le = C.props.touch;
@@ -41229,7 +41229,7 @@ function _te(t, e) {
41229
41229
  function ne() {
41230
41230
  return y || t;
41231
41231
  }
41232
- function Z() {
41232
+ function q() {
41233
41233
  var le = ne().parentNode;
41234
41234
  return le ? wte(le) : document;
41235
41235
  }
@@ -41239,7 +41239,7 @@ function _te(t, e) {
41239
41239
  function re(le) {
41240
41240
  return C.state.isMounted && !C.state.isVisible || Oo.isTouch || c && c.type === "focus" ? 0 : O6(C.props.delay, le ? 0 : 1, Fi.delay);
41241
41241
  }
41242
- function q(le) {
41242
+ function W(le) {
41243
41243
  le === void 0 && (le = !1), M.style.pointerEvents = C.props.interactive && !le ? "" : "none", M.style.zIndex = "" + C.props.zIndex;
41244
41244
  }
41245
41245
  function ce(le, Ne, je) {
@@ -41250,7 +41250,7 @@ function _te(t, e) {
41250
41250
  (kt = C.props)[le].apply(kt, Ne);
41251
41251
  }
41252
41252
  }
41253
- function W() {
41253
+ function G() {
41254
41254
  var le = C.props.aria;
41255
41255
  if (le.content) {
41256
41256
  var Ne = "aria-" + le.content, je = M.id, kt = Ku(C.props.triggerTarget || t);
@@ -41274,7 +41274,7 @@ function _te(t, e) {
41274
41274
  }
41275
41275
  }
41276
41276
  function de() {
41277
- Z().removeEventListener("mousemove", m), $m = $m.filter(function(le) {
41277
+ q().removeEventListener("mousemove", m), $m = $m.filter(function(le) {
41278
41278
  return le !== m;
41279
41279
  });
41280
41280
  }
@@ -41298,16 +41298,16 @@ function _te(t, e) {
41298
41298
  function V() {
41299
41299
  l = !0;
41300
41300
  }
41301
- function G() {
41301
+ function K() {
41302
41302
  l = !1;
41303
41303
  }
41304
41304
  function te() {
41305
- var le = Z();
41306
- le.addEventListener("mousedown", he, !0), le.addEventListener("touchend", he, Bl), le.addEventListener("touchstart", G, Bl), le.addEventListener("touchmove", V, Bl);
41305
+ var le = q();
41306
+ le.addEventListener("mousedown", he, !0), le.addEventListener("touchend", he, Bl), le.addEventListener("touchstart", K, Bl), le.addEventListener("touchmove", V, Bl);
41307
41307
  }
41308
41308
  function ee() {
41309
- var le = Z();
41310
- le.removeEventListener("mousedown", he, !0), le.removeEventListener("touchend", he, Bl), le.removeEventListener("touchstart", G, Bl), le.removeEventListener("touchmove", V, Bl);
41309
+ var le = q();
41310
+ le.removeEventListener("mousedown", he, !0), le.removeEventListener("touchend", he, Bl), le.removeEventListener("touchstart", K, Bl), le.removeEventListener("touchmove", V, Bl);
41311
41311
  }
41312
41312
  function pe(le, Ne) {
41313
41313
  ve(le, function() {
@@ -41514,7 +41514,7 @@ function _te(t, e) {
41514
41514
  }));
41515
41515
  C.props = je, _e(), Ne.interactiveDebounce !== je.interactiveDebounce && (de(), m = sk(an, je.interactiveDebounce)), Ne.triggerTarget && !je.triggerTarget ? Ku(Ne.triggerTarget).forEach(function(kt) {
41516
41516
  kt.removeAttribute("aria-expanded");
41517
- }) : je.triggerTarget && t.removeAttribute("aria-expanded"), ae(), q(), T && T(Ne, je), C.popperInstance && (Kr(), Rn().forEach(function(kt) {
41517
+ }) : je.triggerTarget && t.removeAttribute("aria-expanded"), ae(), W(), T && T(Ne, je), C.popperInstance && (Kr(), Rn().forEach(function(kt) {
41518
41518
  requestAnimationFrame(kt._tippy.popperInstance.forceUpdate);
41519
41519
  })), ce("onAfterUpdate", [C, le]);
41520
41520
  }
@@ -41528,7 +41528,7 @@ function _te(t, e) {
41528
41528
  process.env.NODE_ENV !== "production" && Jo(C.state.isDestroyed, Fu("show"));
41529
41529
  var le = C.state.isVisible, Ne = C.state.isDestroyed, je = !C.state.isEnabled, kt = Oo.isTouch && !C.props.touch, ft = O6(C.props.duration, 0, Fi.duration);
41530
41530
  if (!(le || Ne || je || kt) && !ne().hasAttribute("disabled") && (ce("onShow", [C], !1), C.props.onShow(C) !== !1)) {
41531
- if (C.state.isVisible = !0, U() && (M.style.visibility = "visible"), q(), te(), C.state.isMounted || (M.style.transition = "none"), U()) {
41531
+ if (C.state.isVisible = !0, U() && (M.style.visibility = "visible"), W(), te(), C.state.isMounted || (M.style.transition = "none"), U()) {
41532
41532
  var Yn = ie(), Er = Yn.box, to = Yn.content;
41533
41533
  D6([Er, to], 0);
41534
41534
  }
@@ -41539,7 +41539,7 @@ function _te(t, e) {
41539
41539
  var kl = ie(), Ml = kl.box, Ka = kl.content;
41540
41540
  D6([Ml, Ka], ft), lk([Ml, Ka], "visible");
41541
41541
  }
41542
- W(), ae(), ok(N6, C), (ks = C.popperInstance) == null || ks.forceUpdate(), ce("onMount", [C]), C.props.animation && U() && Me(ft, function() {
41542
+ G(), ae(), ok(N6, C), (ks = C.popperInstance) == null || ks.forceUpdate(), ce("onMount", [C]), C.props.animation && U() && Me(ft, function() {
41543
41543
  C.state.isShown = !0, ce("onShown", [C]);
41544
41544
  });
41545
41545
  }
@@ -41550,15 +41550,15 @@ function _te(t, e) {
41550
41550
  process.env.NODE_ENV !== "production" && Jo(C.state.isDestroyed, Fu("hide"));
41551
41551
  var le = !C.state.isVisible, Ne = C.state.isDestroyed, je = !C.state.isEnabled, kt = O6(C.props.duration, 1, Fi.duration);
41552
41552
  if (!(le || Ne || je) && (ce("onHide", [C], !1), C.props.onHide(C) !== !1)) {
41553
- if (C.state.isVisible = !1, C.state.isShown = !1, u = !1, o = !1, U() && (M.style.visibility = "hidden"), de(), ee(), q(!0), U()) {
41553
+ if (C.state.isVisible = !1, C.state.isShown = !1, u = !1, o = !1, U() && (M.style.visibility = "hidden"), de(), ee(), W(!0), U()) {
41554
41554
  var ft = ie(), Yn = ft.box, Er = ft.content;
41555
41555
  C.props.animation && (D6([Yn, Er], kt), lk([Yn, Er], "hidden"));
41556
41556
  }
41557
- W(), ae(), C.props.animation ? U() && pe(kt, C.unmount) : C.unmount();
41557
+ G(), ae(), C.props.animation ? U() && pe(kt, C.unmount) : C.unmount();
41558
41558
  }
41559
41559
  }
41560
41560
  function Ci(le) {
41561
- process.env.NODE_ENV !== "production" && Jo(C.state.isDestroyed, Fu("hideWithInteractivity")), Z().addEventListener("mousemove", m), ok($m, m), m(le);
41561
+ process.env.NODE_ENV !== "production" && Jo(C.state.isDestroyed, Fu("hideWithInteractivity")), q().addEventListener("mousemove", m), ok($m, m), m(le);
41562
41562
  }
41563
41563
  function Ga() {
41564
41564
  process.env.NODE_ENV !== "production" && Jo(C.state.isDestroyed, Fu("unmount")), C.state.isVisible && C.hide(), C.state.isMounted && (Js(), Rn().forEach(function(le) {
@@ -54776,8 +54776,8 @@ function nre(t) {
54776
54776
  function rre(t) {
54777
54777
  var e = t.state, n = t.options, r = t.name;
54778
54778
  if (!e.modifiersData[r]._skip) {
54779
- for (var i = n.mainAxis, s = i === void 0 ? !0 : i, o = n.altAxis, a = o === void 0 ? !0 : o, l = n.fallbackPlacements, u = n.padding, c = n.boundary, d = n.rootBoundary, f = n.altBoundary, h = n.flipVariations, m = h === void 0 ? !0 : h, y = n.allowedAutoPlacements, g = e.options.placement, v = Ro(g), b = v === g, S = l || (b || !m ? [F3(g)] : nre(g)), C = [g].concat(S).reduce(function(G, te) {
54780
- return G.concat(Ro(te) === xv ? tre(e, {
54779
+ for (var i = n.mainAxis, s = i === void 0 ? !0 : i, o = n.altAxis, a = o === void 0 ? !0 : o, l = n.fallbackPlacements, u = n.padding, c = n.boundary, d = n.rootBoundary, f = n.altBoundary, h = n.flipVariations, m = h === void 0 ? !0 : h, y = n.allowedAutoPlacements, g = e.options.placement, v = Ro(g), b = v === g, S = l || (b || !m ? [F3(g)] : nre(g)), C = [g].concat(S).reduce(function(K, te) {
54780
+ return K.concat(Ro(te) === xv ? tre(e, {
54781
54781
  placement: te,
54782
54782
  boundary: c,
54783
54783
  rootBoundary: d,
@@ -54786,22 +54786,22 @@ function rre(t) {
54786
54786
  allowedAutoPlacements: y
54787
54787
  }) : te);
54788
54788
  }, []), E = e.rects.reference, M = e.rects.popper, T = /* @__PURE__ */ new Map(), N = !0, I = C[0], $ = 0; $ < C.length; $++) {
54789
- var F = C[$], U = Ro(F), ne = L1(F) === D1, Z = [hi, ws].indexOf(U) >= 0, ie = Z ? "width" : "height", re = Vf(e, {
54789
+ var F = C[$], U = Ro(F), ne = L1(F) === D1, q = [hi, ws].indexOf(U) >= 0, ie = q ? "width" : "height", re = Vf(e, {
54790
54790
  placement: F,
54791
54791
  boundary: c,
54792
54792
  rootBoundary: d,
54793
54793
  altBoundary: f,
54794
54794
  padding: u
54795
- }), q = Z ? ne ? Cs : pi : ne ? ws : hi;
54796
- E[ie] > M[ie] && (q = F3(q));
54797
- var ce = F3(q), W = [];
54798
- if (s && W.push(re[U] <= 0), a && W.push(re[q] <= 0, re[ce] <= 0), W.every(function(G) {
54799
- return G;
54795
+ }), W = q ? ne ? Cs : pi : ne ? ws : hi;
54796
+ E[ie] > M[ie] && (W = F3(W));
54797
+ var ce = F3(W), G = [];
54798
+ if (s && G.push(re[U] <= 0), a && G.push(re[W] <= 0, re[ce] <= 0), G.every(function(K) {
54799
+ return K;
54800
54800
  })) {
54801
54801
  I = F, N = !1;
54802
54802
  break;
54803
54803
  }
54804
- T.set(F, W);
54804
+ T.set(F, G);
54805
54805
  }
54806
54806
  if (N)
54807
54807
  for (var ae = m ? 3 : 1, de = function(te) {
@@ -54934,11 +54934,11 @@ function hre(t) {
54934
54934
  };
54935
54935
  if (M) {
54936
54936
  if (s) {
54937
- var ne, Z = C === "y" ? hi : pi, ie = C === "y" ? ws : Cs, re = C === "y" ? "height" : "width", q = M[C], ce = q + g[Z], W = q - g[ie], ae = h ? -N[re] / 2 : 0, de = b === D1 ? T[re] : N[re], he = b === D1 ? -N[re] : -T[re], V = e.elements.arrow, G = h && V ? Nv(V) : {
54937
+ var ne, q = C === "y" ? hi : pi, ie = C === "y" ? ws : Cs, re = C === "y" ? "height" : "width", W = M[C], ce = W + g[q], G = W - g[ie], ae = h ? -N[re] / 2 : 0, de = b === D1 ? T[re] : N[re], he = b === D1 ? -N[re] : -T[re], V = e.elements.arrow, K = h && V ? Nv(V) : {
54938
54938
  width: 0,
54939
54939
  height: 0
54940
- }, te = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : dN(), ee = te[Z], pe = te[ie], Me = qd(0, T[re], G[re]), ve = S ? T[re] / 2 - ae - Me - ee - $.mainAxis : de - Me - ee - $.mainAxis, be = S ? -T[re] / 2 + ae + Me + pe + $.mainAxis : he + Me + pe + $.mainAxis, _e = e.elements.arrow && nm(e.elements.arrow), qe = _e ? C === "y" ? _e.clientTop || 0 : _e.clientLeft || 0 : 0, ct = (ne = F == null ? void 0 : F[C]) != null ? ne : 0, an = q + ve - ct - qe, Pn = q + be - ct, mn = qd(h ? Dg(ce, an) : ce, q, h ? cu(W, Pn) : W);
54941
- M[C] = mn, U[C] = mn - q;
54940
+ }, te = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : dN(), ee = te[q], pe = te[ie], Me = qd(0, T[re], K[re]), ve = S ? T[re] / 2 - ae - Me - ee - $.mainAxis : de - Me - ee - $.mainAxis, be = S ? -T[re] / 2 + ae + Me + pe + $.mainAxis : he + Me + pe + $.mainAxis, _e = e.elements.arrow && nm(e.elements.arrow), qe = _e ? C === "y" ? _e.clientTop || 0 : _e.clientLeft || 0 : 0, ct = (ne = F == null ? void 0 : F[C]) != null ? ne : 0, an = W + ve - ct - qe, Pn = W + be - ct, mn = qd(h ? Dg(ce, an) : ce, W, h ? cu(G, Pn) : G);
54941
+ M[C] = mn, U[C] = mn - W;
54942
54942
  }
54943
54943
  if (a) {
54944
54944
  var Ln, Kr = C === "x" ? hi : pi, Js = C === "x" ? ws : Cs, ln = M[E], Rn = E === "y" ? "height" : "width", Gi = ln + g[Kr], Yr = ln - g[Js], Tr = [hi, pi].indexOf(v) !== -1, wi = (Ln = F == null ? void 0 : F[E]) != null ? Ln : 0, wt = Tr ? Gi : ln - T[Rn] - N[Rn] - wi + $.altAxis, ue = Tr ? ln + T[Rn] + N[Rn] - wi - $.altAxis : Yr, ge = h && Tr ? $ne(wt, ln, ue) : qd(h ? wt : Gi, ln, h ? ue : Yr);
@@ -55257,7 +55257,7 @@ function Rre(t, e, n, r, i, s) {
55257
55257
  t.hasGroupNames ? Tt((w(), k("h5", {
55258
55258
  key: 0,
55259
55259
  class: B(t.isSticky ? "v3-sticky" : "")
55260
- }, K(t.groupNames[o]), 3)), [
55260
+ }, Z(t.groupNames[o]), 3)), [
55261
55261
  [c0, t.emojis[o]]
55262
55262
  ]) : P("", !0),
55263
55263
  Tt(x("div", Dre, [
@@ -55267,7 +55267,7 @@ function Rre(t, e, n, r, i, s) {
55267
55267
  onMouseenter: (l) => t.handleMouseEnter(a),
55268
55268
  onClick: (l) => t.handleClick(a)
55269
55269
  }, [
55270
- t.native ? (w(), k("span", Nre, K(t.unicodeToEmoji(a.r)), 1)) : (w(), k("img", {
55270
+ t.native ? (w(), k("span", Nre, Z(t.unicodeToEmoji(a.r)), 1)) : (w(), k("img", {
55271
55271
  key: 1,
55272
55272
  src: t.EMOJI_REMOTE_SRC + `/${a.r}.png`,
55273
55273
  alt: a.n[0],
@@ -55421,14 +55421,14 @@ function uie(t, e, n, r, i, s) {
55421
55421
  x("span", {
55422
55422
  class: B([t.platform, "v3-icon"])
55423
55423
  }, [
55424
- t.native || t.hasError ? (w(), k("span", iie, K(t.unicodeToEmoji(t.emoji.r)), 1)) : (w(), k("img", {
55424
+ t.native || t.hasError ? (w(), k("span", iie, Z(t.unicodeToEmoji(t.emoji.r)), 1)) : (w(), k("img", {
55425
55425
  key: 1,
55426
55426
  alt: t.unicodeToEmoji(t.emoji.r),
55427
55427
  src: t.emoji.src,
55428
55428
  onError: e[0] || (e[0] = (o) => t.hasError = !0)
55429
55429
  }, null, 40, sie))
55430
55430
  ], 2),
55431
- x("span", oie, " :" + K(t.emoji[t.EMOJI_NAME_KEY][1] || t.emoji[t.EMOJI_NAME_KEY][0]) + ": ", 1)
55431
+ x("span", oie, " :" + Z(t.emoji[t.EMOJI_NAME_KEY][1] || t.emoji[t.EMOJI_NAME_KEY][0]) + ": ", 1)
55432
55432
  ]),
55433
55433
  t.hasSkinTones ? (w(), k(me, { key: 0 }, [
55434
55434
  x("button", {
@@ -55436,7 +55436,7 @@ function uie(t, e, n, r, i, s) {
55436
55436
  class: "v3-tone",
55437
55437
  onClick: e[1] || (e[1] = (...o) => t.toggleSkinToneState && t.toggleSkinToneState(...o))
55438
55438
  }, [
55439
- x("span", aie, K(t.skinToneText), 1),
55439
+ x("span", aie, Z(t.skinToneText), 1),
55440
55440
  x("span", {
55441
55441
  class: B(`v3-icon v3-tone-${t.stateSkinTone}`)
55442
55442
  }, null, 2)
@@ -56412,7 +56412,7 @@ const Gie = ur.create({
56412
56412
  storage: t.storage
56413
56413
  };
56414
56414
  return {
56415
- allowGapCursor: (e = rt(Le(t, "allowGapCursor", n))) !== null && e !== void 0 ? e : null
56415
+ allowGapCursor: (e = rt(Re(t, "allowGapCursor", n))) !== null && e !== void 0 ? e : null
56416
56416
  };
56417
56417
  }
56418
56418
  }), Kie = Wi.create({
@@ -57915,12 +57915,12 @@ function Rse({
57915
57915
  // <>
57916
57916
  ];
57917
57917
  for (let U = 0; U < F.length; U++) {
57918
- const [ne, Z] = F[U], ie = we(E, ne);
57919
- we(M, ne, ie), we(ie, Z, E);
57918
+ const [ne, q] = F[U], ie = we(E, ne);
57919
+ we(M, ne, ie), we(ie, q, E);
57920
57920
  const re = Qi(zm);
57921
57921
  tt(ie, e, re);
57922
- const q = Qi();
57923
- tt(ie, n), tt(re, e, re), tt(re, n, q), tt(q, e, re), tt(q, n, q), we(re, Z, E), we(q, Z, E);
57922
+ const W = Qi();
57923
+ tt(ie, n), tt(re, e, re), tt(re, n, W), tt(W, e, re), tt(W, n, W), we(re, q, E), we(W, q, E);
57924
57924
  }
57925
57925
  return we(i, jf, b), we(i, Bv, Lse), {
57926
57926
  start: i,
@@ -58274,7 +58274,7 @@ function Kse(t, e, n, r, i, s) {
58274
58274
  return w(), k("span", L({
58275
58275
  class: t.cx("root")
58276
58276
  }, t.ptmi("root")), [H(t.$slots, "default", {}, function() {
58277
- return [Re(K(t.value), 1)];
58277
+ return [Le(Z(t.value), 1)];
58278
58278
  })], 16);
58279
58279
  }
58280
58280
  qv.render = Kse;
@@ -58490,7 +58490,7 @@ function soe(t, e, n, r, i, s) {
58490
58490
  }, t.ptm("icon")), null, 16)) : P("", !0)];
58491
58491
  }), x("span", L({
58492
58492
  class: t.cx("label")
58493
- }, t.ptm("label")), K(t.label || " "), 17), t.badge ? (w(), j(a, L({
58493
+ }, t.ptm("label")), Z(t.label || " "), 17), t.badge ? (w(), j(a, L({
58494
58494
  key: 2,
58495
58495
  value: t.badge,
58496
58496
  class: t.badgeClass,
@@ -58887,7 +58887,7 @@ function Foe(t, e, n, r, i, s) {
58887
58887
  key: 0,
58888
58888
  class: t.cx("label")
58889
58889
  }, t.ptm("label")), [H(t.$slots, "default", {}, function() {
58890
- return [Re(K(t.value + "%"), 1)];
58890
+ return [Le(Z(t.value + "%"), 1)];
58891
58891
  })], 16)) : P("", !0)], 16)) : P("", !0), s.indeterminate ? (w(), k("div", L({
58892
58892
  key: 1,
58893
58893
  class: t.cx("container")
@@ -59092,9 +59092,9 @@ function zoe(t, e, n, r, i, s) {
59092
59092
  class: t.cx("details")
59093
59093
  }, t.ptm("details")), [x("div", L({
59094
59094
  class: t.cx("fileName")
59095
- }, t.ptm("fileName")), K(u.name), 17), x("span", L({
59095
+ }, t.ptm("fileName")), Z(u.name), 17), x("span", L({
59096
59096
  class: t.cx("fileSize")
59097
- }, t.ptm("fileSize")), K(s.formatSize(u.size)), 17), R(o, {
59097
+ }, t.ptm("fileSize")), Z(s.formatSize(u.size)), 17), R(o, {
59098
59098
  value: n.badgeValue,
59099
59099
  class: B(t.cx("badge")),
59100
59100
  severity: n.badgeSeverity,
@@ -59499,7 +59499,7 @@ function Koe(t, e, n, r, i, s) {
59499
59499
  }, t.ptm("chooseIcon")), null, 16, ["class"]))];
59500
59500
  }), x("span", L({
59501
59501
  class: t.cx("chooseButtonLabel")
59502
- }, t.ptm("chooseButtonLabel")), K(s.chooseButtonLabel), 17)], 16)), [[c]]), t.showUploadButton ? (w(), j(o, {
59502
+ }, t.ptm("chooseButtonLabel")), Z(s.chooseButtonLabel), 17)], 16)), [[c]]), t.showUploadButton ? (w(), j(o, {
59503
59503
  key: 0,
59504
59504
  label: s.uploadButtonLabel,
59505
59505
  onClick: s.upload,
@@ -59579,7 +59579,7 @@ function Koe(t, e, n, r, i, s) {
59579
59579
  pt: t.ptm("message")
59580
59580
  }, {
59581
59581
  default: Q(function() {
59582
- return [Re(K(d), 1)];
59582
+ return [Le(Z(d), 1)];
59583
59583
  }),
59584
59584
  _: 2
59585
59585
  }, 1032, ["onClose", "unstyled", "pt"]);
@@ -59616,7 +59616,7 @@ function Koe(t, e, n, r, i, s) {
59616
59616
  pt: t.ptm("messages")
59617
59617
  }, {
59618
59618
  default: Q(function() {
59619
- return [Re(K(d), 1)];
59619
+ return [Le(Z(d), 1)];
59620
59620
  }),
59621
59621
  _: 2
59622
59622
  }, 1032, ["onClose", "unstyled", "pt"]);
@@ -59654,7 +59654,7 @@ function Koe(t, e, n, r, i, s) {
59654
59654
  }, t.ptm("chooseIcon")), null, 16, ["class"]))];
59655
59655
  }), x("span", L({
59656
59656
  class: t.cx("label")
59657
- }, t.ptm("label")), K(s.basicChooseButtonLabel), 17), s.hasFiles ? P("", !0) : (w(), k("input", L({
59657
+ }, t.ptm("label")), Z(s.basicChooseButtonLabel), 17), s.hasFiles ? P("", !0) : (w(), k("input", L({
59658
59658
  key: 2,
59659
59659
  ref: "fileInput",
59660
59660
  type: "file",
@@ -59928,7 +59928,7 @@ function hae(t, e, n, r, i, s) {
59928
59928
  type: "line",
59929
59929
  color: "gray-40"
59930
59930
  }),
59931
- x("div", iae, K(t.$t("HC_CLICK_DRAG_FILES_HERE")), 1)
59931
+ x("div", iae, Z(t.$t("HC_CLICK_DRAG_FILES_HERE")), 1)
59932
59932
  ], 6)) : P("", !0),
59933
59933
  H(t.$slots, "default"),
59934
59934
  t.allFiles.length ? (w(), k("div", sae, [
@@ -59958,7 +59958,7 @@ function hae(t, e, n, r, i, s) {
59958
59958
  class: "shrink-0",
59959
59959
  size: "md"
59960
59960
  }),
59961
- x("div", oae, K(t.$t("HC_ADD")), 1)
59961
+ x("div", oae, Z(t.$t("HC_ADD")), 1)
59962
59962
  ], 16)
59963
59963
  ]),
59964
59964
  _: 1
@@ -59983,18 +59983,18 @@ function hae(t, e, n, r, i, s) {
59983
59983
  R(c, null, {
59984
59984
  body: Q(() => [
59985
59985
  x("div", aae, [
59986
- x("h2", lae, K(t.typeErrors.length ? t.$t("HC_INVALID_FILES") : t.$t("HC_FILE_TOO_LARGE")), 1),
59987
- t.sizeErrors.length ? (w(), k("p", uae, K(t.$t("HC_UPLOAD_FILE_SIZE_ERROR", {
59986
+ x("h2", lae, Z(t.typeErrors.length ? t.$t("HC_INVALID_FILES") : t.$t("HC_FILE_TOO_LARGE")), 1),
59987
+ t.sizeErrors.length ? (w(), k("p", uae, Z(t.$t("HC_UPLOAD_FILE_SIZE_ERROR", {
59988
59988
  size: t.maxFileSize / 1024 / 1024
59989
59989
  })), 1)) : P("", !0),
59990
59990
  t.sizeErrors.length ? (w(), k("ul", cae, [
59991
- (w(!0), k(me, null, Ie(t.sizeErrors, (f) => (w(), k("li", { key: f }, K(f), 1))), 128))
59991
+ (w(!0), k(me, null, Ie(t.sizeErrors, (f) => (w(), k("li", { key: f }, Z(f), 1))), 128))
59992
59992
  ])) : P("", !0),
59993
- t.typeErrors.length ? (w(), k("p", dae, K(t.$t("HC_INVALID_FILE_TYPES", {
59993
+ t.typeErrors.length ? (w(), k("p", dae, Z(t.$t("HC_INVALID_FILE_TYPES", {
59994
59994
  types: t.displayAllowedTypes
59995
59995
  }) + ":"), 1)) : P("", !0),
59996
59996
  t.typeErrors.length ? (w(), k("ul", fae, [
59997
- (w(!0), k(me, null, Ie(t.typeErrors, (f) => (w(), k("li", { key: f }, K(f), 1))), 128))
59997
+ (w(!0), k(me, null, Ie(t.typeErrors, (f) => (w(), k("li", { key: f }, Z(f), 1))), 128))
59998
59998
  ])) : P("", !0)
59999
59999
  ])
60000
60000
  ]),
@@ -60006,7 +60006,7 @@ function hae(t, e, n, r, i, s) {
60006
60006
  onClick: e[5] || (e[5] = (f) => t.clearErrors())
60007
60007
  }, {
60008
60008
  default: Q(() => [
60009
- Re(K(t.$t("HC_OK")), 1)
60009
+ Le(Z(t.$t("HC_OK")), 1)
60010
60010
  ]),
60011
60011
  _: 1
60012
60012
  }, 8, ["class", "status"])
@@ -60096,33 +60096,33 @@ const pae = /* @__PURE__ */ Ue(tae, [["render", hae]]), mae = Oe({
60096
60096
  emits: ["update:model-value", "update:attachments", "keyboard-open"],
60097
60097
  setup(t, { emit: e }) {
60098
60098
  const n = _(), r = _(!1), i = _(""), s = _(), o = _(), a = _(!1), l = _(!1), u = _(!1), c = _([]), d = _(), f = _(), h = _(), m = _(!1), y = _(window.innerHeight), g = Y(() => re.value.getAttributes("textStyle").color || "#121517"), v = Y(() => t.attachments), b = Y(() => t.isStacked || t.expands && (v.value.length > 0 || u.value || !re.value.isEmpty) || l.value), C = OA(T_).greaterOrEqual("md"), E = () => {
60099
- const q = window.prompt("URL");
60100
- re.value.chain().focus().extendMarkRange("link").setLink({ href: q || "" }).run();
60101
- }, M = (q) => {
60102
- re.value.chain().focus().setColor(q).run(), N();
60099
+ const W = window.prompt("URL");
60100
+ re.value.chain().focus().extendMarkRange("link").setLink({ href: W || "" }).run();
60101
+ }, M = (W) => {
60102
+ re.value.chain().focus().setColor(W).run(), N();
60103
60103
  }, T = () => {
60104
60104
  a.value = !a.value;
60105
60105
  }, N = () => {
60106
60106
  a.value = !1;
60107
60107
  }, I = () => {
60108
- var q, ce;
60109
- (ce = (q = d.value) == null ? void 0 : q.fileUpload) == null || ce.choose();
60110
- }, $ = (q) => {
60111
- re.value.chain().focus().insertContent(q).run(), s.value.$el.click();
60108
+ var W, ce;
60109
+ (ce = (W = d.value) == null ? void 0 : W.fileUpload) == null || ce.choose();
60110
+ }, $ = (W) => {
60111
+ re.value.chain().focus().insertContent(W).run(), s.value.$el.click();
60112
60112
  }, F = async () => {
60113
60113
  if (await fn(), u.value) {
60114
- const q = m.value, ce = (visualViewport == null ? void 0 : visualViewport.height) || window.innerHeight;
60115
- m.value = y.value - ce > 0, q !== m.value && (u.value = m.value, e("keyboard-open", m.value));
60114
+ const W = m.value, ce = (visualViewport == null ? void 0 : visualViewport.height) || window.innerHeight;
60115
+ m.value = y.value - ce > 0, W !== m.value && (u.value = m.value, e("keyboard-open", m.value));
60116
60116
  }
60117
60117
  }, U = () => {
60118
60118
  u.value && t.expands && (m.value = !1, e("keyboard-open", m.value)), u.value = !1;
60119
- }, ne = (q) => {
60120
- re.value.chain().focus().insertContent(q.i).run(), r.value = !1;
60121
- }, Z = (q) => {
60122
- c.value = q, ie();
60119
+ }, ne = (W) => {
60120
+ re.value.chain().focus().insertContent(W.i).run(), r.value = !1;
60121
+ }, q = (W) => {
60122
+ c.value = W, ie();
60123
60123
  }, ie = () => {
60124
- let q = "";
60125
- re.value.isEmpty || (q = t.allowFormatting ? re.value.getHTML() : re.value.getText()), c.value !== t.attachments && e("update:attachments", c.value), e("update:model-value", q);
60124
+ let W = "";
60125
+ re.value.isEmpty || (W = t.allowFormatting ? re.value.getHTML() : re.value.getText()), c.value !== t.attachments && e("update:attachments", c.value), e("update:model-value", W);
60126
60126
  }, re = _(
60127
60127
  jte({
60128
60128
  extensions: [
@@ -60153,13 +60153,13 @@ const pae = /* @__PURE__ */ Ue(tae, [["render", hae]]), mae = Oe({
60153
60153
  // make the text editable or not - default is editable
60154
60154
  })
60155
60155
  );
60156
- return st(() => t.modelValue, (q) => {
60157
- re.value && !q && re.value.commands.clearContent();
60158
- }), st(() => t.disabled, (q) => {
60159
- re.value && (re.value.options.editable = !q, re.value.view.update(re.value.view.props));
60156
+ return st(() => t.modelValue, (W) => {
60157
+ re.value && !W && re.value.commands.clearContent();
60158
+ }), st(() => t.disabled, (W) => {
60159
+ re.value && (re.value.options.editable = !W, re.value.view.update(re.value.view.props));
60160
60160
  }), Tu(() => {
60161
- var q;
60162
- (q = re.value) == null || q.destroy();
60161
+ var W;
60162
+ (W = re.value) == null || W.destroy();
60163
60163
  }), Et(() => {
60164
60164
  visualViewport && t.expands && visualViewport.addEventListener("resize", F);
60165
60165
  }), Wr(() => {
@@ -60216,7 +60216,7 @@ const pae = /* @__PURE__ */ Ue(tae, [["render", hae]]), mae = Oe({
60216
60216
  attachFiles: I,
60217
60217
  appendEmoji: $,
60218
60218
  onSelectEmoji: ne,
60219
- onSelectFiles: Z
60219
+ onSelectFiles: q
60220
60220
  };
60221
60221
  }
60222
60222
  }), gae = {
@@ -60586,8 +60586,8 @@ const FN = /* @__PURE__ */ Ue(mae, [["render", Cae], ["__scopeId", "data-v-6c7a3
60586
60586
  });
60587
60587
  };
60588
60588
  return st(() => t.processing, (F) => {
60589
- var U, ne, Z;
60590
- F || (i.value = !1, s.value = "", l.value = !1, c.value && c.value.allowAttachments && ((Z = (ne = (U = c.value) == null ? void 0 : U.fileUploadRef) == null ? void 0 : ne.fileUpload) == null || Z.clear(), c.value.uploadedfiles = []));
60589
+ var U, ne, q;
60590
+ F || (i.value = !1, s.value = "", l.value = !1, c.value && c.value.allowAttachments && ((q = (ne = (U = c.value) == null ? void 0 : U.fileUploadRef) == null ? void 0 : ne.fileUpload) == null || q.clear(), c.value.uploadedfiles = []));
60591
60591
  }), {
60592
60592
  // static
60593
60593
  menuActions: n,
@@ -60644,10 +60644,10 @@ function _ae(t, e, n, r, i, s) {
60644
60644
  class: "mr-4"
60645
60645
  }, null, 8, ["src", "text"])) : P("", !0),
60646
60646
  x("div", Tae, [
60647
- x("div", Eae, K(t.user.name), 1),
60647
+ x("div", Eae, Z(t.user.name), 1),
60648
60648
  x("div", Iae, [
60649
- x("span", null, K(((m = t.created) == null ? void 0 : m.dateLocal) || t.dateLocal || t.formatDate), 1),
60650
- (y = t.edited) != null && y.dateLocal ? (w(), k("span", Oae, K(`(${t.$t("HC_EDITED")} ${(g = t.edited) == null ? void 0 : g.dateLocal})`), 1)) : P("", !0)
60649
+ x("span", null, Z(((m = t.created) == null ? void 0 : m.dateLocal) || t.dateLocal || t.formatDate), 1),
60650
+ (y = t.edited) != null && y.dateLocal ? (w(), k("span", Oae, Z(`(${t.$t("HC_EDITED")} ${(g = t.edited) == null ? void 0 : g.dateLocal})`), 1)) : P("", !0)
60651
60651
  ])
60652
60652
  ]),
60653
60653
  t.allowedActions.length && t.mq.md ? (w(), j(l, {
@@ -60676,7 +60676,7 @@ function _ae(t, e, n, r, i, s) {
60676
60676
  key: b,
60677
60677
  class: B(v.classes),
60678
60678
  onClick: (S) => v.event(S)
60679
- }, K(v.text), 11, xae))), 128))
60679
+ }, Z(v.text), 11, xae))), 128))
60680
60680
  ])
60681
60681
  ]),
60682
60682
  _: 1
@@ -60710,7 +60710,7 @@ function _ae(t, e, n, r, i, s) {
60710
60710
  key: 0,
60711
60711
  class: B(["leading-normal text-sm", { "ml-12": t.showAvatar }])
60712
60712
  }, [
60713
- x("p", null, K(t.comment), 1)
60713
+ x("p", null, Z(t.comment), 1)
60714
60714
  ], 2)),
60715
60715
  t.editMode ? (w(), k("div", Pae, [
60716
60716
  R(d, {
@@ -60728,7 +60728,7 @@ function _ae(t, e, n, r, i, s) {
60728
60728
  onClick: t.onClickCancel
60729
60729
  }, {
60730
60730
  default: Q(() => [
60731
- Re(K(t.$t("HC_CANCEL")), 1)
60731
+ Le(Z(t.$t("HC_CANCEL")), 1)
60732
60732
  ]),
60733
60733
  _: 1
60734
60734
  }, 8, ["disabled", "onClick"]),
@@ -60740,7 +60740,7 @@ function _ae(t, e, n, r, i, s) {
60740
60740
  onClick: t.onClickSave
60741
60741
  }, {
60742
60742
  default: Q(() => [
60743
- Re(K(t.$t("HC_SAVE")), 1)
60743
+ Le(Z(t.$t("HC_SAVE")), 1)
60744
60744
  ]),
60745
60745
  _: 1
60746
60746
  }, 8, ["disabled", "loading", "onClick"])
@@ -60769,27 +60769,27 @@ function _ae(t, e, n, r, i, s) {
60769
60769
  processing: t.processing
60770
60770
  }, {
60771
60771
  desktopHeader: Q(() => [
60772
- Re(K(t.$t(
60772
+ Le(Z(t.$t(
60773
60773
  t.warningType === "comment" ? "HC_WARNING_CONFIRM_DELETE_COMMENT" : "HC_ARE_YOU_SURE_DELETE_ATTACHMENT"
60774
60774
  )), 1)
60775
60775
  ]),
60776
60776
  desktopMessage: Q(() => [
60777
- Re(K(t.$t(
60777
+ Le(Z(t.$t(
60778
60778
  t.warningType === "comment" ? "HC_CLICK_DELETE_COMMENT_NO_LONGER_SEE" : "HC_CLICK_DELETE_ATTACHMENT_NO_LONGER_SEE"
60779
60779
  )), 1)
60780
60780
  ]),
60781
60781
  mobileHeader: Q(() => [
60782
- Re(K(t.$t(
60782
+ Le(Z(t.$t(
60783
60783
  t.warningType === "comment" ? "HC_DELETE_COMMENT" : "HC_ARE_YOU_SURE_DELETE_ATTACHMENT"
60784
60784
  )), 1)
60785
60785
  ]),
60786
60786
  mobileMessage: Q(() => [
60787
- Re(K(t.$t(
60787
+ Le(Z(t.$t(
60788
60788
  t.warningType === "comment" ? "HC_WARNING_CONFIRM_DELETE_COMMENT" : "HC_CLICK_DELETE_ATTACHMENT_NO_LONGER_SEE"
60789
60789
  )), 1)
60790
60790
  ]),
60791
60791
  buttonText: Q(() => [
60792
- Re(K(t.$t(
60792
+ Le(Z(t.$t(
60793
60793
  t.warningType === "comment" ? "HC_DELETE_COMMENT" : "HC_DELETE_ATTACHMENT"
60794
60794
  )), 1)
60795
60795
  ]),
@@ -60914,8 +60914,8 @@ function Uae(t, e, n, r, i, s) {
60914
60914
  "on-update-comment": (f) => t.onUpdateComment(c, f)
60915
60915
  }), null, 16, ["on-update-comment"]))), 128))
60916
60916
  ])) : (w(), k("div", jae, [
60917
- x("h4", Hae, K(t.$t("HC_NO_COMMENTS_YET")), 1),
60918
- x("p", zae, K(t.$t("HC_START_THE_CONVERSATION")), 1)
60917
+ x("h4", Hae, Z(t.$t("HC_NO_COMMENTS_YET")), 1),
60918
+ x("p", zae, Z(t.$t("HC_START_THE_CONVERSATION")), 1)
60919
60919
  ])),
60920
60920
  H(t.$slots, "default", {}, () => [
60921
60921
  R(u, {
@@ -61008,7 +61008,7 @@ function Kae(t, e, n, r, i, s) {
61008
61008
  }, {
61009
61009
  [Br(!t.disabled && "click")]: e[0] || (e[0] = (a) => t.updateCount(-1))
61010
61010
  }), null, 16),
61011
- x("span", Gae, K(t.modelValue), 1),
61011
+ x("span", Gae, Z(t.modelValue), 1),
61012
61012
  R(o, L({
61013
61013
  icon: "circle-plus",
61014
61014
  type: "outline",
@@ -61429,7 +61429,7 @@ function p0e(t, e, n, r, i, s) {
61429
61429
  ], !0) : P("", !0)
61430
61430
  ]),
61431
61431
  t.showResultsCount ? H(t.$slots, "resultsCount", { key: 0 }, () => [
61432
- x("div", i0e, K(t.filteredCount === 1 ? "1 " + t.$t("HC_RESULT") : t.$t("HC_X_RESULTS", { count: t.filteredCount })), 1)
61432
+ x("div", i0e, Z(t.filteredCount === 1 ? "1 " + t.$t("HC_RESULT") : t.$t("HC_X_RESULTS", { count: t.filteredCount })), 1)
61433
61433
  ], !0) : P("", !0),
61434
61434
  H(t.$slots, "beforeFilters", {}, void 0, !0),
61435
61435
  (f = t.filters) != null && f.length ? (w(), k("div", s0e, [
@@ -61463,14 +61463,14 @@ function p0e(t, e, n, r, i, s) {
61463
61463
  color: "white"
61464
61464
  }, {
61465
61465
  text: Q(() => [
61466
- x("span", a0e, K(t.filtersCount), 1)
61466
+ x("span", a0e, Z(t.filtersCount), 1)
61467
61467
  ]),
61468
61468
  _: 1
61469
61469
  })) : P("", !0)
61470
61470
  ])
61471
61471
  ]),
61472
61472
  content: Q(() => [
61473
- Re(K(t.$t("HC_FILTERS")), 1)
61473
+ Le(Z(t.$t("HC_FILTERS")), 1)
61474
61474
  ]),
61475
61475
  _: 2
61476
61476
  }, 1024)
@@ -61497,7 +61497,7 @@ function p0e(t, e, n, r, i, s) {
61497
61497
  color: "white"
61498
61498
  }, {
61499
61499
  text: Q(() => [
61500
- x("span", c0e, K(t.filtersCount), 1)
61500
+ x("span", c0e, Z(t.filtersCount), 1)
61501
61501
  ]),
61502
61502
  _: 1
61503
61503
  })) : P("", !0)
@@ -61552,14 +61552,14 @@ function p0e(t, e, n, r, i, s) {
61552
61552
  color: "white"
61553
61553
  }, {
61554
61554
  text: Q(() => [
61555
- x("span", f0e, K(t.filtersCount), 1)
61555
+ x("span", f0e, Z(t.filtersCount), 1)
61556
61556
  ]),
61557
61557
  _: 1
61558
61558
  })) : P("", !0)
61559
61559
  ])
61560
61560
  ]),
61561
61561
  content: Q(() => [
61562
- Re(K(t.$t("HC_FILTERS")), 1)
61562
+ Le(Z(t.$t("HC_FILTERS")), 1)
61563
61563
  ]),
61564
61564
  _: 1
61565
61565
  }))
@@ -61637,10 +61637,10 @@ const m0e = /* @__PURE__ */ Ue(e0e, [["render", p0e], ["__scopeId", "data-v-2b49
61637
61637
  duration: 0,
61638
61638
  delay: 0
61639
61639
  }, m = _(null), y = _(1), g = _(null), v = _(window.innerHeight), { motionProperties: b } = _5(m), { push: S } = R5(), C = Y(() => n.value === "desktop"), E = Y(() => y.value * t.itemsPerPage - 1), M = Y(() => r.value <= 0 ? 70 : r.value > 70 ? 0 : 70 - r.value), T = Y(() => {
61640
- var Z;
61641
- return Math.ceil(((Z = t.modelValue) == null ? void 0 : Z.length) / t.itemsPerPage) || 1;
61642
- }), N = (Z) => {
61643
- !Z.dragging && r.value <= 24 && r.value >= 0 && (i.value = 0), !Z.dragging && r.value > 24 && r.value < 70 && (i.value = 70), !(r.value > 0) && (u.value ? $(Z) : I(Z));
61640
+ var q;
61641
+ return Math.ceil(((q = t.modelValue) == null ? void 0 : q.length) / t.itemsPerPage) || 1;
61642
+ }), N = (q) => {
61643
+ !q.dragging && r.value <= 24 && r.value >= 0 && (i.value = 0), !q.dragging && r.value > 24 && r.value < 70 && (i.value = 70), !(r.value > 0) && (u.value ? $(q) : I(q));
61644
61644
  };
61645
61645
  d.value && n9(N, {
61646
61646
  domTarget: m,
@@ -61648,24 +61648,24 @@ const m0e = /* @__PURE__ */ Ue(e0e, [["render", p0e], ["__scopeId", "data-v-2b49
61648
61648
  useTouch: !0,
61649
61649
  delay: 100
61650
61650
  });
61651
- const I = (Z) => {
61652
- Z.tap || Z.axis === "x" || (u.value = !0);
61653
- }, $ = (Z) => {
61654
- if (Z.tap || Z.axis === "x")
61651
+ const I = (q) => {
61652
+ q.tap || q.axis === "x" || (u.value = !0);
61653
+ }, $ = (q) => {
61654
+ if (q.tap || q.axis === "x")
61655
61655
  return;
61656
- const ie = Z.direction[1], re = ie >= 0, q = ie <= 0 && r.value <= 0;
61657
- !f.value && (re || q) && U(!q, "drag"), u.value = !1;
61656
+ const ie = q.direction[1], re = ie >= 0, W = ie <= 0 && r.value <= 0;
61657
+ !f.value && (re || W) && U(!W, "drag"), u.value = !1;
61658
61658
  }, F = async () => {
61659
- const Z = r.value + v.value, ie = a.value.offsetTop + a.value.offsetHeight;
61660
- Z > ie - 400 && y.value < T.value && (y.value++, e("page-updated"));
61661
- }, U = async (Z, ie) => {
61662
- if (f.value = Z, await fn(), c.value && o.value === "up" && r.value <= 0 || ie === "drag") {
61659
+ const q = r.value + v.value, ie = a.value.offsetTop + a.value.offsetHeight;
61660
+ q > ie - 400 && y.value < T.value && (y.value++, e("page-updated"));
61661
+ }, U = async (q, ie) => {
61662
+ if (f.value = q, await fn(), c.value && o.value === "up" && r.value <= 0 || ie === "drag") {
61663
61663
  const re = M.value ? M.value : 0;
61664
61664
  S("y", re, b, h), c.value = !1;
61665
61665
  }
61666
61666
  }, ne = () => {
61667
- const Z = Math.max(0, r.value) > s.value ? "down" : "up";
61668
- Z !== o.value && (o.value = Z), r.value < 70 && U(!0, "scroll"), s.value = Math.max(0, r.value), F();
61667
+ const q = Math.max(0, r.value) > s.value ? "down" : "up";
61668
+ q !== o.value && (o.value = q), r.value < 70 && U(!0, "scroll"), s.value = Math.max(0, r.value), F();
61669
61669
  };
61670
61670
  return Et(() => {
61671
61671
  d.value ? (l.value = m.value.offsetTop - 16, window.addEventListener("scroll", ne)) : window.addEventListener("scroll", F), window.addEventListener("resize", async () => {
@@ -61801,7 +61801,7 @@ function x0e(t, e, n, r, i, s) {
61801
61801
  onClick: (u) => t.$emit("click:list-item", a)
61802
61802
  }, [
61803
61803
  H(t.$slots, "listItem", L({ ref_for: !0 }, { data: a }), () => [
61804
- Re(K(a), 1)
61804
+ Le(Z(a), 1)
61805
61805
  ], !0)
61806
61806
  ], 8, M0e))), 128)) : P("", !0)
61807
61807
  ], 64))), 128))
@@ -61814,7 +61814,7 @@ function x0e(t, e, n, r, i, s) {
61814
61814
  onClick: (u) => t.$emit("click:list-item", a)
61815
61815
  }, [
61816
61816
  H(t.$slots, "listItem", L({ ref_for: !0 }, { data: a }), () => [
61817
- Re(K(a), 1)
61817
+ Le(Z(a), 1)
61818
61818
  ], !0)
61819
61819
  ], 8, T0e))), 128)) : P("", !0)
61820
61820
  ], 64))), 128))
@@ -61825,7 +61825,7 @@ function x0e(t, e, n, r, i, s) {
61825
61825
  class: "no-results"
61826
61826
  }, [
61827
61827
  H(t.$slots, "no-results", {}, () => [
61828
- x("p", null, K(t.noResultMessage || t.$t("HC_NO_RESULTS_FOUND")), 1)
61828
+ x("p", null, Z(t.noResultMessage || t.$t("HC_NO_RESULTS_FOUND")), 1)
61829
61829
  ], !0)
61830
61830
  ], 8, E0e))
61831
61831
  ], 64))
@@ -61944,7 +61944,7 @@ function B0e(t, e, n, r, i, s) {
61944
61944
  }, {
61945
61945
  default: Q(() => [
61946
61946
  H(t.$slots, `head(${a.key || a})`, {}, () => [
61947
- Re(K(typeof a == "string" ? a : a.name), 1)
61947
+ Le(Z(typeof a == "string" ? a : a.name), 1)
61948
61948
  ], !0)
61949
61949
  ]),
61950
61950
  _: 2
@@ -62090,7 +62090,7 @@ const V0e = /* @__PURE__ */ Ue(_0e, [["render", B0e], ["__scopeId", "data-v-9451
62090
62090
  top: h,
62091
62091
  width: m,
62092
62092
  height: y
62093
- } = D_(s), g = _(0), v = _(0), b = _(0), S = _(window.innerHeight), C = _(0), E = _(!1), M = _(1), T = _([]), N = _(!1), I = _(0), $ = Y(() => n.value === "desktop"), F = Y(() => M.value * t.itemsPerPage - 1), U = Y(() => t.isFixed && d.value >= b.value), ne = Y(() => Z.value > 0), Z = Y(() => s.value ? l.value - m.value : 0), ie = Y(() => (!$.value || E.value) && u.value > 0 && t.modelValue.length && !t.loading), re = Y(() => (!$.value || E.value) && u.value < Z.value && t.modelValue.length && !t.loading), q = Y(() => {
62093
+ } = D_(s), g = _(0), v = _(0), b = _(0), S = _(window.innerHeight), C = _(0), E = _(!1), M = _(1), T = _([]), N = _(!1), I = _(0), $ = Y(() => n.value === "desktop"), F = Y(() => M.value * t.itemsPerPage - 1), U = Y(() => t.isFixed && d.value >= b.value), ne = Y(() => q.value > 0), q = Y(() => s.value ? l.value - m.value : 0), ie = Y(() => (!$.value || E.value) && u.value > 0 && t.modelValue.length && !t.loading), re = Y(() => (!$.value || E.value) && u.value < q.value && t.modelValue.length && !t.loading), W = Y(() => {
62094
62094
  const ve = [], be = {};
62095
62095
  let _e = 0;
62096
62096
  return t.columns.forEach((qe) => {
@@ -62104,7 +62104,7 @@ const V0e = /* @__PURE__ */ Ue(_0e, [["render", B0e], ["__scopeId", "data-v-9451
62104
62104
  }), ce = Y(() => {
62105
62105
  var ve;
62106
62106
  return Math.ceil(((ve = t.modelValue) == null ? void 0 : ve.length) / t.itemsPerPage) || 1;
62107
- }), W = () => {
62107
+ }), G = () => {
62108
62108
  var be;
62109
62109
  let ve = 0;
62110
62110
  if (ne.value) {
@@ -62118,14 +62118,14 @@ const V0e = /* @__PURE__ */ Ue(_0e, [["render", B0e], ["__scopeId", "data-v-9451
62118
62118
  c.value = i.value.scrollLeft, u.value = i.value.scrollLeft;
62119
62119
  }, he = async () => {
62120
62120
  const ve = d.value + S.value - t.fixedTopOffset, be = b.value + y.value;
62121
- ve > be - 400 && M.value < ce.value && M.value++, W();
62121
+ ve > be - 400 && M.value < ce.value && M.value++, G();
62122
62122
  }, V = (ve, be, _e) => {
62123
62123
  const qe = ve.scrollLeft, ct = be - qe, an = performance.now(), Pn = () => {
62124
62124
  const Ln = performance.now() - an, Kr = Math.min(Ln / _e, 1);
62125
62125
  ve.scrollLeft = qe + ct * Kr, Kr < 1 && requestAnimationFrame(Pn);
62126
62126
  };
62127
62127
  requestAnimationFrame(Pn);
62128
- }, G = () => {
62128
+ }, K = () => {
62129
62129
  V(
62130
62130
  s.value,
62131
62131
  u.value - t.leftScrollAmount,
@@ -62152,9 +62152,9 @@ const V0e = /* @__PURE__ */ Ue(_0e, [["render", B0e], ["__scopeId", "data-v-9451
62152
62152
  e("update:sort-by", be), e("update:order-by", _e);
62153
62153
  };
62154
62154
  return st(() => t.modelValue, () => {
62155
- W();
62155
+ G();
62156
62156
  }), st(() => t.loading, async () => {
62157
- await fn(), W();
62157
+ await fn(), G();
62158
62158
  }), Et(() => {
62159
62159
  var ve, be, _e, qe, ct;
62160
62160
  b.value = o.value.offsetTop - t.fixedTopOffset, l.value = (ve = s.value) == null ? void 0 : ve.scrollWidth, I.value = o.value.offsetLeft + 1, g.value = (_e = (be = o.value) == null ? void 0 : be.querySelector(
@@ -62163,7 +62163,7 @@ const V0e = /* @__PURE__ */ Ue(_0e, [["render", B0e], ["__scopeId", "data-v-9451
62163
62163
  "table > thead > tr > th:last-child"
62164
62164
  )) == null ? void 0 : ct.clientWidth, window.addEventListener("resize", async () => {
62165
62165
  var an;
62166
- l.value = (an = s.value) == null ? void 0 : an.scrollWidth, S.value = window.innerHeight, W(), await fn();
62166
+ l.value = (an = s.value) == null ? void 0 : an.scrollWidth, S.value = window.innerHeight, G(), await fn();
62167
62167
  }), window.addEventListener("scroll", he), s.value.addEventListener("scroll", ae), i.value.addEventListener("scroll", de);
62168
62168
  }), Wr(() => {
62169
62169
  window.removeEventListener("resize", async () => await fn()), window.removeEventListener("scroll", async () => await fn());
@@ -62201,10 +62201,10 @@ const V0e = /* @__PURE__ */ Ue(_0e, [["render", B0e], ["__scopeId", "data-v-9451
62201
62201
  lastOnPage: F,
62202
62202
  pinHeaders: U,
62203
62203
  scrollable: ne,
62204
- scrollMax: Z,
62204
+ scrollMax: q,
62205
62205
  showLeftScrollButton: ie,
62206
62206
  showRightScrollButton: re,
62207
- skeletonData: q,
62207
+ skeletonData: W,
62208
62208
  totalPages: ce,
62209
62209
  // Methods
62210
62210
  handleScroll: ae,
@@ -62212,10 +62212,10 @@ const V0e = /* @__PURE__ */ Ue(_0e, [["render", B0e], ["__scopeId", "data-v-9451
62212
62212
  onClickColumnHeader: Me,
62213
62213
  onUpdateCheckbox: ee,
62214
62214
  onUpdateAllCheckboxes: pe,
62215
- getScrollButtonTop: W,
62215
+ getScrollButtonTop: G,
62216
62216
  scrollWatcher: he,
62217
62217
  smoothScroll: V,
62218
- triggerScrollLeft: G,
62218
+ triggerScrollLeft: K,
62219
62219
  triggerScrollRight: te
62220
62220
  };
62221
62221
  }
@@ -62316,7 +62316,7 @@ function rle(t, e, n, r, i, s) {
62316
62316
  }, null, 8, ["modelValue", "icon", "onUpdate:checked"])
62317
62317
  ])) : P("", !0),
62318
62318
  H(t.$slots, `head(${h.key})`, En(_r(h)), () => [
62319
- Re(K(typeof h == "string" ? h : h.name), 1)
62319
+ Le(Z(typeof h == "string" ? h : h.name), 1)
62320
62320
  ], !0),
62321
62321
  h.sortable ? (w(), k("div", {
62322
62322
  key: 1,
@@ -62369,7 +62369,7 @@ function rle(t, e, n, r, i, s) {
62369
62369
  }, null, 8, ["modelValue", "icon", "onUpdate:checked"])
62370
62370
  ])) : P("", !0),
62371
62371
  H(t.$slots, `head(${h.key})`, En(_r(h)), () => [
62372
- Re(K(typeof h == "string" ? h : h.name), 1)
62372
+ Le(Z(typeof h == "string" ? h : h.name), 1)
62373
62373
  ], !0),
62374
62374
  h.sortable ? (w(), k("div", {
62375
62375
  key: 1,
@@ -62443,9 +62443,9 @@ function rle(t, e, n, r, i, s) {
62443
62443
  ref_for: !0
62444
62444
  }, { row: m, column: g }), () => [
62445
62445
  g.key && !g.key.match(/\./) || typeof g == "string" ? (w(), k(me, { key: 0 }, [
62446
- Re(K(m[g.key ? g.key : g.toString().toLowerCase()]), 1)
62446
+ Le(Z(m[g.key ? g.key : g.toString().toLowerCase()]), 1)
62447
62447
  ], 64)) : (w(), k(me, { key: 1 }, [
62448
- Re(K(m[g.key.split(".")[0]][g.key.split(".")[1]]), 1)
62448
+ Le(Z(m[g.key.split(".")[0]][g.key.split(".")[1]]), 1)
62449
62449
  ], 64))
62450
62450
  ], !0)
62451
62451
  ], 2))
@@ -62465,7 +62465,7 @@ function rle(t, e, n, r, i, s) {
62465
62465
  }, null, 8, tle)
62466
62466
  ], !0),
62467
62467
  H(t.$slots, "no-results-text", {}, () => [
62468
- x("div", nle, K(t.$t("HC_NO_RESULTS_FOUND")), 1)
62468
+ x("div", nle, Z(t.$t("HC_NO_RESULTS_FOUND")), 1)
62469
62469
  ], !0)
62470
62470
  ])) : P("", !0),
62471
62471
  t.scrollable && t.scrollableContainerX < t.scrollMax && !t.columns[t.columns.length - 1].frozen ? (w(), k("div", {
@@ -63438,20 +63438,20 @@ function h2e(t, {
63438
63438
  range: F,
63439
63439
  popupClass: U,
63440
63440
  popupStyle: ne,
63441
- appendToBody: Z
63441
+ appendToBody: q
63442
63442
  } = r, ie = {
63443
63443
  value: v.value,
63444
63444
  "onUpdate:value": b,
63445
63445
  emit: g
63446
63446
  }, re = e.header && R("div", {
63447
63447
  class: `${N}-datepicker-header`
63448
- }, [e.header(ie)]), q = (e.footer || $) && R("div", {
63448
+ }, [e.header(ie)]), W = (e.footer || $) && R("div", {
63449
63449
  class: `${N}-datepicker-footer`
63450
63450
  }, [(M = e.footer) == null ? void 0 : M.call(e, ie), $ && R("button", {
63451
63451
  type: "button",
63452
63452
  class: `${N}-btn ${N}-datepicker-btn-confirm`,
63453
63453
  onClick: S
63454
- }, [r.confirmText])]), ce = (T = e.content) == null ? void 0 : T.call(e, ie), W = (e.sidebar || r.shortcuts) && E(ie);
63454
+ }, [r.confirmText])]), ce = (T = e.content) == null ? void 0 : T.call(e, ie), G = (e.sidebar || r.shortcuts) && E(ie);
63455
63455
  return R("div", {
63456
63456
  ref: s,
63457
63457
  class: {
@@ -63472,13 +63472,13 @@ function h2e(t, {
63472
63472
  className: U,
63473
63473
  style: ne,
63474
63474
  visible: l.value,
63475
- appendToBody: Z,
63475
+ appendToBody: q,
63476
63476
  getRelativeElement: o,
63477
63477
  onClickOutside: c
63478
63478
  }, {
63479
- default: () => [W, R("div", {
63479
+ default: () => [G, R("div", {
63480
63480
  class: `${N}-datepicker-content`
63481
- }, [re, ce, q])]
63481
+ }, [re, ce, W])]
63482
63482
  })]);
63483
63483
  };
63484
63484
  }
@@ -63567,8 +63567,8 @@ function g2e({
63567
63567
  }), N = (ie) => {
63568
63568
  a(ie);
63569
63569
  }, I = (ie) => {
63570
- const re = ie.getAttribute("data-index"), [q, ce] = re.split(",").map((ae) => parseInt(ae, 10)), W = M[q][ce];
63571
- return new Date(W);
63570
+ const re = ie.getAttribute("data-index"), [W, ce] = re.split(",").map((ae) => parseInt(ae, 10)), G = M[W][ce];
63571
+ return new Date(G);
63572
63572
  }, $ = (ie) => {
63573
63573
  o(I(ie.currentTarget));
63574
63574
  }, F = (ie) => {
@@ -63579,7 +63579,7 @@ function g2e({
63579
63579
  type: "button",
63580
63580
  class: `${d}-btn ${d}-btn-text ${d}-btn-current-year`,
63581
63581
  onClick: () => N("year")
63582
- }, [T(t, m)]), Z = R("button", {
63582
+ }, [T(t, m)]), q = R("button", {
63583
63583
  type: "button",
63584
63584
  class: `${d}-btn ${d}-btn-text ${d}-btn-current-month`,
63585
63585
  onClick: () => N("month")
@@ -63593,7 +63593,7 @@ function g2e({
63593
63593
  calendar: t,
63594
63594
  onUpdateCalendar: l
63595
63595
  }, {
63596
- default: () => [y ? [Z, ne] : [ne, Z]]
63596
+ default: () => [y ? [q, ne] : [ne, q]]
63597
63597
  }), R("div", {
63598
63598
  class: `${d}-calendar-content`
63599
63599
  }, [R("table", {
@@ -63611,15 +63611,15 @@ function g2e({
63611
63611
  class: `${d}-week-number`,
63612
63612
  "data-index": `${re},0`,
63613
63613
  onClick: $
63614
- }, [R("div", null, [f(ie[0])])]), ie.map((q, ce) => R("td", {
63614
+ }, [R("div", null, [f(ie[0])])]), ie.map((W, ce) => R("td", {
63615
63615
  key: ce,
63616
- class: ["cell", s(q)],
63617
- title: T(q, r),
63616
+ class: ["cell", s(W)],
63617
+ title: T(W, r),
63618
63618
  "data-index": `${re},${ce}`,
63619
63619
  onClick: $,
63620
63620
  onMouseenter: F,
63621
63621
  onMouseleave: U
63622
- }, [R("div", null, [q.getDate()])]))]))])])])]);
63622
+ }, [R("div", null, [W.getDate()])]))]))])])])]);
63623
63623
  }
63624
63624
  function y2e({
63625
63625
  calendar: t,
@@ -64665,7 +64665,7 @@ function oue(t, e, n, r, i, s) {
64665
64665
  x("div", iue, [
64666
64666
  H(t.$slots, "label", {}, void 0, !0)
64667
64667
  ]),
64668
- t.required ? (w(), k("div", sue, " *" + K(t.$t("HC_REQUIRED")), 1)) : P("", !0)
64668
+ t.required ? (w(), k("div", sue, " *" + Z(t.$t("HC_REQUIRED")), 1)) : P("", !0)
64669
64669
  ], 8, rue),
64670
64670
  H(t.$slots, "default", {}, void 0, !0),
64671
64671
  x("div", {
@@ -64964,7 +64964,7 @@ function yue(t, e, n, r, i, s) {
64964
64964
  color: t.mq.md ? "white" : "gray-0"
64965
64965
  }, {
64966
64966
  text: Q(() => [
64967
- Re(K(t.filtersCount), 1)
64967
+ Le(Z(t.filtersCount), 1)
64968
64968
  ]),
64969
64969
  _: 1
64970
64970
  }, 8, ["color"])) : P("", !0)
@@ -64997,14 +64997,14 @@ function yue(t, e, n, r, i, s) {
64997
64997
  getTextUtilityClass: t.getTextUtilityClass,
64998
64998
  filteredGridData: t.filteredGridData
64999
64999
  }, () => [
65000
- Re(K(u.name), 1)
65000
+ Le(Z(u.name), 1)
65001
65001
  ], !0)
65002
65002
  ], 10, mue))), 128))
65003
65003
  ], 2)) : (w(), k("p", {
65004
65004
  key: 1,
65005
65005
  id: `${t.id ? t.id + "-" : ""}grid-no-result`,
65006
65006
  class: "no-grid-result"
65007
- }, K(t.noResultsText), 9, gue))
65007
+ }, Z(t.noResultsText), 9, gue))
65008
65008
  ], 8, pue)
65009
65009
  ], 10, lue);
65010
65010
  }
@@ -65162,7 +65162,7 @@ function kue(t, e, n, r, i, s) {
65162
65162
  class: B(u.mobileIconClass || "!p-[0.4rem]")
65163
65163
  }, null, 8, ["icon", "type", "class"])
65164
65164
  ], 2),
65165
- x("span", wue, K(u.name), 1)
65165
+ x("span", wue, Z(u.name), 1)
65166
65166
  ]))), 128))
65167
65167
  ])) : t.isActionItemBar ? (w(), k("div", {
65168
65168
  key: 1,
@@ -65258,7 +65258,7 @@ function kue(t, e, n, r, i, s) {
65258
65258
  }, 1040, ["class", "loading"])
65259
65259
  ]),
65260
65260
  content: Q(() => [
65261
- Re(K(u.name), 1)
65261
+ Le(Z(u.name), 1)
65262
65262
  ]),
65263
65263
  _: 2
65264
65264
  }, 1032, ["disabled"])
@@ -65276,7 +65276,7 @@ function kue(t, e, n, r, i, s) {
65276
65276
  ])
65277
65277
  }, [
65278
65278
  x("div", Cue, [
65279
- t.showStatusText ? (w(), k("div", Sue, K(((m = t.selectedOption) == null ? void 0 : m.state) === "default" ? t.$t("HC_CLEARED") : (y = t.selectedOption) == null ? void 0 : y.statusText), 1)) : (w(), j(o, {
65279
+ t.showStatusText ? (w(), k("div", Sue, Z(((m = t.selectedOption) == null ? void 0 : m.state) === "default" ? t.$t("HC_CLEARED") : (y = t.selectedOption) == null ? void 0 : y.statusText), 1)) : (w(), j(o, {
65280
65280
  key: 0,
65281
65281
  icon: ((d = t.selectedOption) == null ? void 0 : d.mobileIcon) || ((f = t.selectedOption) == null ? void 0 : f.icon),
65282
65282
  type: ((h = t.selectedOption) == null ? void 0 : h.iconType) || "line",
@@ -65543,7 +65543,7 @@ function Bue(t, e, n, r, i, s) {
65543
65543
  color: "gray-0"
65544
65544
  }, {
65545
65545
  text: Q(() => [
65546
- Re(K(t.filtersCount), 1)
65546
+ Le(Z(t.filtersCount), 1)
65547
65547
  ]),
65548
65548
  _: 1
65549
65549
  })) : P("", !0)
@@ -65586,7 +65586,7 @@ function Bue(t, e, n, r, i, s) {
65586
65586
  onClick: (d) => t.$emit("click:list-item", u)
65587
65587
  }, [
65588
65588
  H(t.$slots, "list-item", L({ ref_for: !0 }, { item: u }), () => [
65589
- Re(K(u), 1)
65589
+ Le(Z(u), 1)
65590
65590
  ], !0)
65591
65591
  ], 8, Pue))), 128))
65592
65592
  ], 2)) : (w(), k("ol", Lue, [
@@ -65596,13 +65596,13 @@ function Bue(t, e, n, r, i, s) {
65596
65596
  onClick: (d) => t.$emit("click:list-item", u)
65597
65597
  }, [
65598
65598
  H(t.$slots, "list-item", L({ ref_for: !0 }, { item: u }), () => [
65599
- Re(K(u), 1)
65599
+ Le(Z(u), 1)
65600
65600
  ], !0)
65601
65601
  ], 8, Rue))), 128))
65602
65602
  ]))
65603
65603
  ])) : (w(), k("div", _ue, [
65604
65604
  H(t.$slots, "no-results", {}, () => [
65605
- x("p", null, K(t.noResultMessage || t.$t("HC_NO_RESULTS_FOUND")), 1)
65605
+ x("p", null, Z(t.noResultMessage || t.$t("HC_NO_RESULTS_FOUND")), 1)
65606
65606
  ], !0)
65607
65607
  ]))
65608
65608
  ]))
@@ -65763,7 +65763,7 @@ function Gue(t, e, n, r, i, s) {
65763
65763
  class: B(["inline-flex text-xs text-inkwell-30", t.labelClass])
65764
65764
  }, [
65765
65765
  H(t.$slots, "label", {}, () => [
65766
- Re(K(t.label), 1)
65766
+ Le(Z(t.label), 1)
65767
65767
  ], !0)
65768
65768
  ], 2)) : P("", !0)
65769
65769
  ], 10, Wue);
@@ -65812,7 +65812,7 @@ function ece(t, e, n, r, i, s) {
65812
65812
  class: "flex items-center w-full"
65813
65813
  }, [
65814
65814
  H(t.$slots, "label", { item: a }, () => [
65815
- x("div", Jue, K(a.label), 1)
65815
+ x("div", Jue, Z(a.label), 1)
65816
65816
  ], !0),
65817
65817
  R(o, {
65818
65818
  id: `${t.id}-${l}`,
@@ -65918,7 +65918,7 @@ function oce(t, e, n, r, i, s) {
65918
65918
  e[1] || (e[1] = x("span", { class: "radio-display" }, null, -1)),
65919
65919
  o.value !== void 0 && (o.label || o.name) ? (w(), k("p", ice, [
65920
65920
  H(t.$slots, "label", { item: o }, () => [
65921
- Re(K(t.getOptionText(o)), 1)
65921
+ Le(Z(t.getOptionText(o)), 1)
65922
65922
  ], !0)
65923
65923
  ])) : (w(), k("p", sce, [
65924
65924
  H(t.$slots, "default", {}, void 0, !0)
@@ -67161,7 +67161,7 @@ const DP = (t) => {
67161
67161
  } = DP(m), F = e || fetch;
67162
67162
  T = T ? (T + "").toLowerCase() : "text";
67163
67163
  let U = k1e([b, S && S.toAbortSignal()], C), ne = null;
67164
- const Z = U && U.unsubscribe && (() => {
67164
+ const q = U && U.unsubscribe && (() => {
67165
67165
  U.unsubscribe();
67166
67166
  });
67167
67167
  let ie;
@@ -67173,15 +67173,15 @@ const DP = (t) => {
67173
67173
  duplex: "half"
67174
67174
  }), he;
67175
67175
  if (se.isFormData(v) && (he = de.headers.get("content-type")) && N.setContentType(he), de.body) {
67176
- const [V, G] = lM(
67176
+ const [V, K] = lM(
67177
67177
  ie,
67178
67178
  l5(uM(M))
67179
67179
  );
67180
- v = dM(de.body, fM, V, G);
67180
+ v = dM(de.body, fM, V, K);
67181
67181
  }
67182
67182
  }
67183
67183
  se.isString(I) || (I = I ? "include" : "omit");
67184
- const re = s && "credentials" in n.prototype, q = {
67184
+ const re = s && "credentials" in n.prototype, W = {
67185
67185
  ...$,
67186
67186
  signal: U,
67187
67187
  method: g.toUpperCase(),
@@ -67190,28 +67190,28 @@ const DP = (t) => {
67190
67190
  duplex: "half",
67191
67191
  credentials: re ? I : void 0
67192
67192
  };
67193
- ne = s && new n(y, q);
67194
- let ce = await (s ? F(ne, $) : F(y, q));
67195
- const W = c && (T === "stream" || T === "response");
67196
- if (c && (E || W && Z)) {
67193
+ ne = s && new n(y, W);
67194
+ let ce = await (s ? F(ne, $) : F(y, W));
67195
+ const G = c && (T === "stream" || T === "response");
67196
+ if (c && (E || G && q)) {
67197
67197
  const de = {};
67198
67198
  ["status", "statusText", "headers"].forEach((te) => {
67199
67199
  de[te] = ce[te];
67200
67200
  });
67201
- const he = se.toFiniteNumber(ce.headers.get("content-length")), [V, G] = E && lM(
67201
+ const he = se.toFiniteNumber(ce.headers.get("content-length")), [V, K] = E && lM(
67202
67202
  he,
67203
67203
  l5(uM(E), !0)
67204
67204
  ) || [];
67205
67205
  ce = new r(
67206
67206
  dM(ce.body, fM, V, () => {
67207
- G && G(), Z && Z();
67207
+ K && K(), q && q();
67208
67208
  }),
67209
67209
  de
67210
67210
  );
67211
67211
  }
67212
67212
  T = T || "text";
67213
67213
  let ae = await d[se.findKey(d, T) || "text"](ce, m);
67214
- return !W && Z && Z(), await new Promise((de, he) => {
67214
+ return !G && q && q(), await new Promise((de, he) => {
67215
67215
  IP(de, he, {
67216
67216
  data: ae,
67217
67217
  headers: gi.from(ce.headers),
@@ -67222,7 +67222,7 @@ const DP = (t) => {
67222
67222
  });
67223
67223
  });
67224
67224
  } catch (re) {
67225
- throw Z && Z(), re && re.name === "TypeError" && /Load failed|fetch/i.test(re.message) ? Object.assign(
67225
+ throw q && q(), re && re.name === "TypeError" && /Load failed|fetch/i.test(re.message) ? Object.assign(
67226
67226
  new Qe("Network Error", Qe.ERR_NETWORK, m, ne),
67227
67227
  {
67228
67228
  cause: re.cause || re
@@ -67894,6 +67894,10 @@ const F1e = /* @__PURE__ */ Ue(_1e, [["render", $1e], ["__scopeId", "data-v-1a01
67894
67894
  type: Boolean,
67895
67895
  default: !0
67896
67896
  },
67897
+ showRoomName: {
67898
+ type: Boolean,
67899
+ default: !1
67900
+ },
67897
67901
  hover: {
67898
67902
  type: Boolean,
67899
67903
  default: !1
@@ -67982,12 +67986,12 @@ const F1e = /* @__PURE__ */ Ue(_1e, [["render", $1e], ["__scopeId", "data-v-1a01
67982
67986
  label: n("HC_HOTEL_GUEST")
67983
67987
  // need to localize
67984
67988
  }
67985
- ]), U = _(!1), ne = _(null), Z = _({
67989
+ ]), U = _(!1), ne = _(null), q = _({
67986
67990
  endDate: /* @__PURE__ */ new Date(),
67987
67991
  issue: null,
67988
67992
  notes: "",
67989
67993
  startDate: /* @__PURE__ */ new Date()
67990
- }), ie = _([]), re = _(!1), q = _([]), ce = _([
67994
+ }), ie = _([]), re = _(!1), W = _([]), ce = _([
67991
67995
  {
67992
67996
  label: n("HC_COMPLAINT"),
67993
67997
  id: "complaint"
@@ -68004,7 +68008,7 @@ const F1e = /* @__PURE__ */ Ue(_1e, [["render", $1e], ["__scopeId", "data-v-1a01
68004
68008
  label: n("HC_WORK_ORDER"),
68005
68009
  id: "work_order"
68006
68010
  }
68007
- ]), W = _(), ae = _(null), de = _({
68011
+ ]), G = _(), ae = _(null), de = _({
68008
68012
  assignType: null,
68009
68013
  department: null,
68010
68014
  due: /* @__PURE__ */ new Date(),
@@ -68016,12 +68020,12 @@ const F1e = /* @__PURE__ */ Ue(_1e, [["render", $1e], ["__scopeId", "data-v-1a01
68016
68020
  }), he = _([]), V = Y(() => {
68017
68021
  var J, Ce;
68018
68022
  return ((J = r.value.cleaning) == null ? void 0 : J.name) === "CLEAN" ? "CLEAN" : ((Ce = r.value.cleaning) == null ? void 0 : Ce.name) === "DIRTY" ? "DIRTY" : "";
68019
- }), G = Y(() => V.value === "CLEAN" ? "blue-10" : V.value === "DIRTY" ? "red-10" : "gray-30"), te = Y(() => V.value === "CLEAN" ? "HC_CLEAN" : V.value === "DIRTY" ? "HC_DIRTY" : ""), ee = Y(() => {
68023
+ }), K = Y(() => V.value === "CLEAN" ? "blue-10" : V.value === "DIRTY" ? "red-10" : "gray-30"), te = Y(() => V.value === "CLEAN" ? "HC_CLEAN" : V.value === "DIRTY" ? "HC_DIRTY" : ""), ee = Y(() => {
68020
68024
  const J = a.value.toLowerCase();
68021
68025
  return N.value.filter((Ce) => Ce.toLowerCase().match(J));
68022
- }), pe = Y(() => q.value.length ? !!q.value.find(
68026
+ }), pe = Y(() => W.value.length ? !!W.value.find(
68023
68027
  (Ce) => Ce.type === "complaint"
68024
- ) : !1), Me = Y(() => q.value.length ? !!q.value.find(
68028
+ ) : !1), Me = Y(() => W.value.length ? !!W.value.find(
68025
68029
  (Ce) => Ce.type === "callback"
68026
68030
  ) : !1), ve = Y(() => {
68027
68031
  let J = [];
@@ -68086,7 +68090,7 @@ const F1e = /* @__PURE__ */ Ue(_1e, [["render", $1e], ["__scopeId", "data-v-1a01
68086
68090
  return !1;
68087
68091
  switch (J.value) {
68088
68092
  case "room_notice":
68089
- return Z.value.issue && Z.value.startDate && Z.value.endDate;
68093
+ return q.value.issue && q.value.startDate && q.value.endDate;
68090
68094
  case "complaint":
68091
68095
  return l.value.problem && l.value.guestName && l.value.guestMood;
68092
68096
  case "work_order":
@@ -68097,7 +68101,7 @@ const F1e = /* @__PURE__ */ Ue(_1e, [["render", $1e], ["__scopeId", "data-v-1a01
68097
68101
  return !1;
68098
68102
  }
68099
68103
  }), Kr = () => {
68100
- re.value = !1, I.value = !1, i.value = !1, b.value = [], E.value = [], he.value = [], ne.value = null, Z.value.issue = null, Z.value.startDate = /* @__PURE__ */ new Date(), Z.value.endDate = /* @__PURE__ */ new Date(), Z.value.notes = "", l.value.guestName = "", l.value.guestEmail = "", l.value.guestPhone = "", l.value.guestMood = null, l.value.guestLoyalty = "", l.value.problem = null, l.value.checkInDate = /* @__PURE__ */ new Date(), l.value.checkOutDate = /* @__PURE__ */ new Date(), l.value.notes = "", de.value.assignType = null, de.value.department = null, de.value.person = null, de.value.due = /* @__PURE__ */ new Date(), de.value.item = null, de.value.issue = null, de.value.notes = "", $.value.assignType = null, $.value.department = null, $.value.person = null, $.value.due = /* @__PURE__ */ new Date(), $.value.item = null, $.value.notes = "";
68104
+ re.value = !1, I.value = !1, i.value = !1, b.value = [], E.value = [], he.value = [], ne.value = null, q.value.issue = null, q.value.startDate = /* @__PURE__ */ new Date(), q.value.endDate = /* @__PURE__ */ new Date(), q.value.notes = "", l.value.guestName = "", l.value.guestEmail = "", l.value.guestPhone = "", l.value.guestMood = null, l.value.guestLoyalty = "", l.value.problem = null, l.value.checkInDate = /* @__PURE__ */ new Date(), l.value.checkOutDate = /* @__PURE__ */ new Date(), l.value.notes = "", de.value.assignType = null, de.value.department = null, de.value.person = null, de.value.due = /* @__PURE__ */ new Date(), de.value.item = null, de.value.issue = null, de.value.notes = "", $.value.assignType = null, $.value.department = null, $.value.person = null, $.value.due = /* @__PURE__ */ new Date(), $.value.item = null, $.value.notes = "";
68101
68105
  }, Js = async () => {
68102
68106
  e("create:callback", r.value), e("toggle", !1);
68103
68107
  }, ln = (J) => {
@@ -68259,9 +68263,9 @@ const F1e = /* @__PURE__ */ Ue(_1e, [["render", $1e], ["__scopeId", "data-v-1a01
68259
68263
  if (!J.ok)
68260
68264
  throw new Error(`HTTP error! status: ${J.status}`);
68261
68265
  const Ce = await J.json();
68262
- q.value = Ce.tickets;
68266
+ W.value = Ce.tickets;
68263
68267
  } catch (J) {
68264
- console.error("Error getting tickets:", J), q.value = [];
68268
+ console.error("Error getting tickets:", J), W.value = [];
68265
68269
  } finally {
68266
68270
  S.value.tickets = !1;
68267
68271
  }
@@ -68343,7 +68347,7 @@ const F1e = /* @__PURE__ */ Ue(_1e, [["render", $1e], ["__scopeId", "data-v-1a01
68343
68347
  J.itemId = $.value.item.id, J.assignType = $.value.assignType.id, J.occupied = $.value.requestedBy.id, J.notes = $.value.notes, J.dueDate = ht($.value.due).format("YYYY-MM-DD"), $.value.assignType.id === 1 && (J.department = $.value.department.id), $.value.assignType.id === 2 && (J.person = $.value.person.id), e("create:todo", J);
68344
68348
  break;
68345
68349
  case "room_notice":
68346
- J.issue = Z.value.issue.id, J.startDate = ht(Z.value.startDate).format("YYYY-MM-DD"), J.endDate = ht(Z.value.endDate).format("YYYY-MM-DD"), J.notes = Z.value.notes, J.sendPush = "1", e("create:todo", J);
68350
+ J.issue = q.value.issue.id, J.startDate = ht(q.value.startDate).format("YYYY-MM-DD"), J.endDate = ht(q.value.endDate).format("YYYY-MM-DD"), J.notes = q.value.notes, J.sendPush = "1", e("create:todo", J);
68347
68351
  break;
68348
68352
  case "work_order":
68349
68353
  J.itemId = de.value.item.id, J.issueId = de.value.issue.id, J.assignType = de.value.assignType.id, J.occupied = de.value.requestedBy.id, J.notes = de.value.notes, J.dueDate = ht(de.value.due).format("YYYY-MM-DD"), de.value.assignType.id === 1 && (J.department = de.value.department.id), de.value.assignType.id === 2 && (J.person = de.value.person.id), e("create:todo", J);
@@ -68354,7 +68358,7 @@ const F1e = /* @__PURE__ */ Ue(_1e, [["render", $1e], ["__scopeId", "data-v-1a01
68354
68358
  }, kt = (J) => {
68355
68359
  Ml(), a.value = J;
68356
68360
  }, ft = async (J) => {
68357
- if (console.log("selected:", J), ne.value = J, b.value = [], Z.value.issue = null, l.value.problem = null, de.value.item = null, de.value.issue = null, $.value.item = null, !ne.value)
68361
+ if (console.log("selected:", J), ne.value = J, b.value = [], q.value.issue = null, l.value.problem = null, de.value.item = null, de.value.issue = null, $.value.item = null, !ne.value)
68358
68362
  return;
68359
68363
  const Ce = new FormData();
68360
68364
  switch (Ce.append("property_id", t.propertyId), Ce.append("area_id", r.value.qv2Rooms.qRoomId), J.id) {
@@ -68463,19 +68467,19 @@ const F1e = /* @__PURE__ */ Ue(_1e, [["render", $1e], ["__scopeId", "data-v-1a01
68463
68467
  }, ks = () => {
68464
68468
  var J, Ce;
68465
68469
  if (t.align === "left" || t.align === "right") {
68466
- const fe = (J = W.value) == null ? void 0 : J.getBoundingClientRect().left, Se = window.innerWidth;
68470
+ const fe = (J = G.value) == null ? void 0 : J.getBoundingClientRect().left, Se = window.innerWidth;
68467
68471
  s.value = Se - fe < c.value ? "right" : "left";
68468
68472
  } else {
68469
- const fe = (Ce = W.value) == null ? void 0 : Ce.getBoundingClientRect().top, Se = window.innerHeight;
68473
+ const fe = (Ce = G.value) == null ? void 0 : Ce.getBoundingClientRect().top, Se = window.innerHeight;
68470
68474
  s.value = Se - fe < u.value ? "bottom" : "top";
68471
68475
  }
68472
68476
  }, kl = () => {
68473
68477
  var J, Ce;
68474
68478
  if (t.position === "top" || t.position === "bottom") {
68475
- const fe = (J = W.value) == null ? void 0 : J.getBoundingClientRect().top, Se = window.innerHeight;
68479
+ const fe = (J = G.value) == null ? void 0 : J.getBoundingClientRect().top, Se = window.innerHeight;
68476
68480
  M.value = Se - fe < u.value ? "top" : "bottom";
68477
68481
  } else {
68478
- const fe = (Ce = W.value) == null ? void 0 : Ce.getBoundingClientRect().left, Se = window.innerWidth;
68482
+ const fe = (Ce = G.value) == null ? void 0 : Ce.getBoundingClientRect().left, Se = window.innerWidth;
68479
68483
  M.value = Se - fe < c.value ? "left" : "right";
68480
68484
  }
68481
68485
  }, Ml = () => {
@@ -68486,9 +68490,9 @@ const F1e = /* @__PURE__ */ Ue(_1e, [["render", $1e], ["__scopeId", "data-v-1a01
68486
68490
  if (fe.append("property_id", t.propertyId), fe.append(
68487
68491
  "room_ids",
68488
68492
  JSON.stringify([r.value.qv2Rooms.qRoomId])
68489
- ), await xt(), q.value) {
68493
+ ), await xt(), W.value) {
68490
68494
  const Se = [];
68491
- q.value.forEach((ot) => {
68495
+ W.value.forEach((ot) => {
68492
68496
  ot.id === J && ot.type === Ce ? Se.unshift({
68493
68497
  ...ot,
68494
68498
  isNew: !0
@@ -68496,7 +68500,7 @@ const F1e = /* @__PURE__ */ Ue(_1e, [["render", $1e], ["__scopeId", "data-v-1a01
68496
68500
  ...ot,
68497
68501
  isNew: !1
68498
68502
  });
68499
- }), Se.sort((ot, Ms) => ot.id === J ? -1 : Ms.id === J ? 1 : 0), q.value = [...Se];
68503
+ }), Se.sort((ot, Ms) => ot.id === J ? -1 : Ms.id === J ? 1 : 0), W.value = [...Se];
68500
68504
  }
68501
68505
  };
68502
68506
  return st(() => t.open, () => {
@@ -68549,18 +68553,18 @@ const F1e = /* @__PURE__ */ Ue(_1e, [["render", $1e], ["__scopeId", "data-v-1a01
68549
68553
  requestLoading: U,
68550
68554
  requestType: ne,
68551
68555
  roomDetailsData: r,
68552
- roomNotice: Z,
68556
+ roomNotice: q,
68553
68557
  roomNotices: ie,
68554
68558
  showCreateRequest: re,
68555
- ticketsList: q,
68559
+ ticketsList: W,
68556
68560
  todoOptions: ce,
68557
- trigger: W,
68561
+ trigger: G,
68558
68562
  userId: ae,
68559
68563
  workOrder: de,
68560
68564
  workOrderIssues: he,
68561
68565
  // Computed
68562
68566
  cleanliness: V,
68563
- cleanlinessColor: G,
68567
+ cleanlinessColor: K,
68564
68568
  cleanlinessTooltipContent: te,
68565
68569
  filteredReplies: ee,
68566
68570
  hasGuestCallback: Me,
@@ -68610,45 +68614,45 @@ const F1e = /* @__PURE__ */ Ue(_1e, [["render", $1e], ["__scopeId", "data-v-1a01
68610
68614
  key: 0,
68611
68615
  class: "animate-shimmer bg-gray-30 w-3/4 h-6 grow"
68612
68616
  }, Z1e = {
68613
- key: 1,
68614
- class: "flex gap-3 grow"
68615
- }, q1e = { class: "text-base text-inkwell-30" }, W1e = {
68616
68617
  key: 0,
68617
- class: "flex items-center mb-3 gap-2"
68618
- }, G1e = { key: 0 }, K1e = { key: 0 }, Y1e = { class: "flex items-center -mt-3 -mr-2" }, Q1e = { class: "list-unstyled text-xs w-full" }, X1e = { class: "grow" }, J1e = { class: "grow" }, ede = { class: "grow" }, tde = { class: "grow" }, nde = { class: "position-relative icon-container" }, rde = {
68618
+ class: "text-base text-inkwell-30"
68619
+ }, q1e = { key: 0 }, W1e = { key: 0 }, G1e = ["href"], K1e = { class: "flex items-start" }, Y1e = { class: "list-unstyled text-xs w-full" }, Q1e = { class: "grow" }, X1e = { class: "grow" }, J1e = { class: "grow" }, ede = { class: "grow" }, tde = { class: "position-relative icon-container ml-auto" }, nde = {
68619
68620
  key: 0,
68620
68621
  class: "animate-shimmer bg-gray-10 w-full h-4 my-4"
68621
- }, ide = {
68622
+ }, rde = {
68622
68623
  key: 1,
68623
68624
  class: "flex flex-wrap items-center mb-3 gap-2"
68624
- }, sde = {
68625
+ }, ide = {
68625
68626
  key: 2,
68626
68627
  class: "animate-shimmer bg-gray-30 w-full h-4 my-4"
68627
- }, ode = {
68628
+ }, sde = {
68628
68629
  key: 3,
68629
- class: "flex flex-wrap items-center mb-3"
68630
- }, ade = ["href"], lde = { class: "shrink-0 mr-2 text-xs" }, ude = {
68630
+ class: "flex flex-wrap items-center mb-4"
68631
+ }, ode = ["href"], ade = { class: "shrink-0 mr-2 text-xs" }, lde = {
68631
68632
  key: 0,
68632
68633
  class: "animate-shimmer bg-gray-10 w-full h-6"
68633
- }, cde = {
68634
+ }, ude = {
68634
68635
  key: 1,
68635
68636
  class: "guest-info-container"
68636
- }, dde = {
68637
+ }, cde = {
68637
68638
  key: 0,
68638
68639
  class: "text-base text-inkwell-30 mb-2"
68639
- }, fde = {
68640
+ }, dde = {
68640
68641
  key: 0,
68641
68642
  class: "flex text-xs mb-2 stay-details-row"
68642
- }, hde = { class: "text-truncate text-inkwell-0" }, pde = { class: "grow text-inkwell-30" }, mde = {
68643
+ }, fde = { class: "text-truncate text-inkwell-0" }, hde = { class: "grow text-inkwell-30" }, pde = {
68643
68644
  key: 1,
68644
68645
  class: "flex text-xs mb-2 stay-details-row"
68645
- }, gde = { class: "text-truncate text-inkwell-0" }, yde = { class: "grow text-inkwell-30" }, vde = { class: "shrink-0 mr-2 text-xs" }, bde = {
68646
+ }, mde = { class: "text-truncate text-inkwell-0" }, gde = { class: "grow text-inkwell-30" }, yde = { class: "shrink-0 mr-2 text-xs" }, vde = {
68646
68647
  key: 0,
68647
68648
  class: "animate-shimmer bg-gray-30 w-full h-6"
68648
- }, wde = {
68649
+ }, bde = {
68649
68650
  key: 1,
68650
68651
  class: "open-tickets"
68651
- }, Cde = ["id"], Sde = { class: "shrink-0 mr-2 text-xs" }, kde = {
68652
+ }, wde = ["id"], Cde = {
68653
+ key: 2,
68654
+ class: "text-center mx-auto"
68655
+ }, Sde = { class: "shrink-0 mr-2 text-xs" }, kde = {
68652
68656
  key: 0,
68653
68657
  class: "quick-replies row"
68654
68658
  }, Mde = ["onClick"], Ade = {
@@ -68748,14 +68752,14 @@ const F1e = /* @__PURE__ */ Ue(_1e, [["render", $1e], ["__scopeId", "data-v-1a01
68748
68752
  class: "flex items-center mt-0.5"
68749
68753
  }, lfe = { class: "text-xs text-inkwell-0" };
68750
68754
  function ufe(t, e, n, r, i, s) {
68751
- const o = X("q-icon"), a = X("q-tooltip"), l = X("q-popover"), u = X("q-tag"), c = X("q-divider"), d = X("q-accordion"), f = X("q-activity-item"), h = X("q-input"), m = X("q-button"), y = X("q-comment-section"), g = X("q-select"), v = X("q-date-picker");
68752
- return t.showActionMenu || t.showComments || t.showGuestDetails && t.roomDetailsData.reservations && t.roomDetailsData.reservations[0] || t.showTickets && t.ticketsList && t.ticketsList.length || t.tagsList.length ? (w(), k("div", {
68755
+ const o = X("q-icon"), a = X("q-tooltip"), l = X("q-tag"), u = X("q-popover"), c = X("q-divider"), d = X("q-accordion"), f = X("q-activity-item"), h = X("q-input"), m = X("q-button"), y = X("q-comment-section"), g = X("q-select"), v = X("q-date-picker");
68756
+ return t.showActionMenu || t.showComments || t.showGuestDetails && t.roomDetailsData.reservations && t.roomDetailsData.reservations[0] || t.showTickets || t.tagsList.length ? (w(), k("div", {
68753
68757
  key: 0,
68754
68758
  id: t.id ? `rdp-${t.id}` : "",
68755
68759
  class: "room-detail component-container text-inkwell-30",
68756
68760
  onMouseleave: e[49] || (e[49] = (b) => t.onHoverToggle(!1))
68757
68761
  }, [
68758
- R(l, {
68762
+ R(u, {
68759
68763
  "model-value": t.open,
68760
68764
  align: t.alignment,
68761
68765
  position: t.positioning,
@@ -68774,7 +68778,7 @@ function ufe(t, e, n, r, i, s) {
68774
68778
  [Br(t.hover && "mouseover")]: e[1] || (e[1] = (b) => t.onHoverToggle(!0))
68775
68779
  }), [
68776
68780
  H(t.$slots, "trigger", {}, () => [
68777
- Re(K(t.trigger), 1)
68781
+ Le(Z(t.trigger), 1)
68778
68782
  ], !0)
68779
68783
  ], 16, j1e)
68780
68784
  ]),
@@ -68784,49 +68788,83 @@ function ufe(t, e, n, r, i, s) {
68784
68788
  class: "popover-content w-full font-weight-normal cursor-default"
68785
68789
  }, [
68786
68790
  x("div", z1e, [
68787
- t.loading.pms || t.loading.roomNotices ? (w(), k("div", U1e)) : (w(), k("div", Z1e, [
68788
- x("h2", q1e, [
68789
- x("strong", null, K(t.$t("HC_GUESTROOM")) + " " + K(t.room.name), 1)
68790
- ]),
68791
- (t.occupied || t.cleanliness) && t.size !== "sm" ? (w(), k("div", W1e, [
68791
+ t.loading.pms || t.loading.roomNotices ? (w(), k("div", U1e)) : (w(), k("div", {
68792
+ key: 1,
68793
+ class: B([
68794
+ "flex grow items-center mb-4",
68795
+ { "gap-3": t.showRoomName }
68796
+ ])
68797
+ }, [
68798
+ t.showRoomName ? (w(), k("h2", Z1e, [
68799
+ x("strong", null, Z(t.$t("HC_GUESTROOM")) + " " + Z(t.room.name), 1)
68800
+ ])) : P("", !0),
68801
+ (t.occupied || t.cleanliness || t.tagsList.length && !t.showRoomName) && t.size !== "sm" ? (w(), k("div", {
68802
+ key: 1,
68803
+ class: B([
68804
+ "flex items-center flex-wrap gap-x-2",
68805
+ { "gap-y-3": !t.showRoomName }
68806
+ ])
68807
+ }, [
68792
68808
  t.occupied ? (w(), j(a, {
68793
68809
  key: 0,
68794
- class: "flex shrink-0"
68810
+ class: "flex shrink-0 items-center"
68795
68811
  }, {
68796
68812
  trigger: Q(() => [
68797
68813
  R(o, {
68798
68814
  icon: "user",
68799
68815
  type: "fill",
68800
68816
  color: t.occupied && t.hasComplaint ? "red-10" : "gray-30",
68801
- size: "sm"
68817
+ size: "md"
68802
68818
  }, null, 8, ["color"])
68803
68819
  ]),
68804
68820
  content: Q(() => [
68805
- t.occupancyTooltipContent ? (w(), k("div", G1e, K(t.$t(t.occupancyTooltipContent)), 1)) : P("", !0)
68821
+ t.occupancyTooltipContent ? (w(), k("div", q1e, Z(t.$t(t.occupancyTooltipContent)), 1)) : P("", !0)
68806
68822
  ]),
68807
68823
  _: 1
68808
68824
  })) : P("", !0),
68809
68825
  t.cleanliness ? (w(), j(a, {
68810
68826
  key: 1,
68811
- class: "flex shrink-0"
68827
+ class: "flex shrink-0 items-center"
68812
68828
  }, {
68813
68829
  trigger: Q(() => [
68814
68830
  R(o, {
68815
68831
  icon: "spray-bottle",
68816
68832
  type: "fill",
68817
68833
  color: t.cleanlinessColor,
68818
- size: "sm"
68834
+ size: "md"
68819
68835
  }, null, 8, ["color"])
68820
68836
  ]),
68821
68837
  content: Q(() => [
68822
- t.cleanlinessTooltipContent ? (w(), k("div", K1e, K(t.$t(t.cleanlinessTooltipContent)), 1)) : P("", !0)
68838
+ t.cleanlinessTooltipContent ? (w(), k("div", W1e, Z(t.$t(t.cleanlinessTooltipContent)), 1)) : P("", !0)
68823
68839
  ]),
68824
68840
  _: 1
68825
- })) : P("", !0)
68826
- ])) : P("", !0)
68827
- ])),
68828
- x("div", Y1e, [
68829
- t.showActionMenu && (t.showActionsLink || !t.hasGuestCallback && t.showGuestCallback || t.showComments || t.showGuestDetails) ? (w(), j(l, {
68841
+ })) : P("", !0),
68842
+ t.tagsList.length && !t.showRoomName ? (w(!0), k(me, { key: 2 }, Ie(t.tagsList, (b) => (w(), k("a", {
68843
+ key: b,
68844
+ href: typeof b == "object" && b.id && b.name ? `/roomsbook/notice.php?id=${b.id}` : "",
68845
+ class: "capitalize"
68846
+ }, [
68847
+ R(l, {
68848
+ class: B([
68849
+ "!text-xs !leading-4",
68850
+ "shrink-0 max-w-[100px] !h-auto",
68851
+ "!py-[0.1875rem] !px-[0.4375rem] border",
68852
+ "border-orange-10",
68853
+ { pulse: b.isNew }
68854
+ ]),
68855
+ "bg-color": "bg-yellow-0",
68856
+ "text-color": "text-inkwell-30"
68857
+ }, {
68858
+ default: Q(() => [
68859
+ Le(Z(typeof b == "object" && b.id && b.name ? b.name : b), 1)
68860
+ ]),
68861
+ _: 2
68862
+ }, 1032, ["class"])
68863
+ ], 8, G1e))), 128)) : P("", !0)
68864
+ ], 2)) : P("", !0)
68865
+ ], 2)),
68866
+ x("div", K1e, [
68867
+ t.showActionMenu && (t.showActionsLink || !t.hasGuestCallback && t.showGuestCallback || t.showComments || t.showGuestDetails) ? (w(), j(u, {
68830
68868
  key: 0,
68831
68869
  modelValue: t.actionMenuOpen,
68832
68870
  "onUpdate:modelValue": e[7] || (e[7] = (b) => t.actionMenuOpen = b),
@@ -68846,7 +68884,7 @@ function ufe(t, e, n, r, i, s) {
68846
68884
  })
68847
68885
  ]),
68848
68886
  content: Q(() => [
68849
- x("ul", Q1e, [
68887
+ x("ul", Y1e, [
68850
68888
  t.showActionsLink ? (w(), k("li", {
68851
68889
  key: 0,
68852
68890
  class: B([
@@ -68866,7 +68904,7 @@ function ufe(t, e, n, r, i, s) {
68866
68904
  size: "md",
68867
68905
  type: ""
68868
68906
  }),
68869
- x("div", X1e, K(t.$t("HC_ACTION")), 1)
68907
+ x("div", Q1e, Z(t.$t("HC_ACTION")), 1)
68870
68908
  ], 2)) : P("", !0),
68871
68909
  !t.hasGuestCallback && t.showGuestCallback ? (w(), k("li", {
68872
68910
  key: 1,
@@ -68886,7 +68924,7 @@ function ufe(t, e, n, r, i, s) {
68886
68924
  size: "md",
68887
68925
  type: "outline"
68888
68926
  }),
68889
- x("div", J1e, K(t.$t("HC_GUEST_SATISFACTION_CALL")), 1)
68927
+ x("div", X1e, Z(t.$t("HC_GUEST_SATISFACTION_CALL")), 1)
68890
68928
  ], 2)) : P("", !0),
68891
68929
  t.showComments ? (w(), k("li", {
68892
68930
  key: 2,
@@ -68906,7 +68944,7 @@ function ufe(t, e, n, r, i, s) {
68906
68944
  size: "md",
68907
68945
  type: "outline"
68908
68946
  }),
68909
- x("div", ede, K(t.$t("HC_EDIT_INFORMATION")), 1)
68947
+ x("div", J1e, Z(t.$t("HC_EDIT_INFORMATION")), 1)
68910
68948
  ], 2)) : P("", !0),
68911
68949
  t.showGuestDetails ? (w(), k("li", {
68912
68950
  key: 3,
@@ -68925,13 +68963,13 @@ function ufe(t, e, n, r, i, s) {
68925
68963
  size: "md",
68926
68964
  type: ""
68927
68965
  }),
68928
- x("div", tde, K(t.$t("HC_REFRESH_PMS_DATA")), 1)
68966
+ x("div", ede, Z(t.$t("HC_REFRESH_PMS_DATA")), 1)
68929
68967
  ], 2)) : P("", !0)
68930
68968
  ])
68931
68969
  ]),
68932
68970
  _: 1
68933
68971
  }, 8, ["modelValue"])) : P("", !0),
68934
- x("div", nde, [
68972
+ x("div", tde, [
68935
68973
  R(a, null, {
68936
68974
  trigger: Q(() => [
68937
68975
  R(o, {
@@ -68943,14 +68981,14 @@ function ufe(t, e, n, r, i, s) {
68943
68981
  })
68944
68982
  ]),
68945
68983
  content: Q(() => [
68946
- Re(K(t.$t("HC_CLOSE")), 1)
68984
+ Le(Z(t.$t("HC_CLOSE")), 1)
68947
68985
  ]),
68948
68986
  _: 1
68949
68987
  })
68950
68988
  ])
68951
68989
  ])
68952
68990
  ]),
68953
- t.loading.pms && t.size === "sm" ? (w(), k("div", rde)) : !t.loading.pms && (t.occupied || t.cleanliness) && t.size === "sm" ? (w(), k("div", ide, [
68991
+ t.loading.pms && t.size === "sm" ? (w(), k("div", nde)) : !t.loading.pms && (t.occupied || t.cleanliness) && t.size === "sm" ? (w(), k("div", rde, [
68954
68992
  t.occupied ? (w(), j(o, {
68955
68993
  key: 0,
68956
68994
  icon: "user",
@@ -68966,13 +69004,13 @@ function ufe(t, e, n, r, i, s) {
68966
69004
  size: "sm"
68967
69005
  }, null, 8, ["color"])) : P("", !0)
68968
69006
  ])) : P("", !0),
68969
- t.loading.roomNotices ? (w(), k("div", sde)) : !t.loading.roomNotices && t.tagsList.length ? (w(), k("div", ode, [
69007
+ t.loading.roomNotices ? (w(), k("div", ide)) : !t.loading.roomNotices && t.tagsList.length && t.showRoomName ? (w(), k("div", sde, [
68970
69008
  (w(!0), k(me, null, Ie(t.tagsList, (b) => (w(), k("a", {
68971
69009
  key: b,
68972
69010
  href: typeof b == "object" && b.id && b.name ? `/roomsbook/notice.php?id=${b.id}` : "",
68973
69011
  class: "mr-2 mb-1 capitalize"
68974
69012
  }, [
68975
- R(u, {
69013
+ R(l, {
68976
69014
  class: B([
68977
69015
  "!text-tiny !leading-4",
68978
69016
  "shrink-0 max-w-[100px] !h-auto",
@@ -68984,11 +69022,11 @@ function ufe(t, e, n, r, i, s) {
68984
69022
  "text-color": "text-inkwell-30"
68985
69023
  }, {
68986
69024
  default: Q(() => [
68987
- Re(K(typeof b == "object" && b.id && b.name ? b.name : b), 1)
69025
+ Le(Z(typeof b == "object" && b.id && b.name ? b.name : b), 1)
68988
69026
  ]),
68989
69027
  _: 2
68990
69028
  }, 1032, ["class"])
68991
- ], 8, ade))), 128))
69029
+ ], 8, ode))), 128))
68992
69030
  ])) : P("", !0),
68993
69031
  x("div", {
68994
69032
  class: B(["accordions", { closed: t.showCreateRequest }])
@@ -69005,7 +69043,7 @@ function ufe(t, e, n, r, i, s) {
69005
69043
  class: "flex items-center cursor-pointer",
69006
69044
  onClick: e[10] || (e[10] = (b) => t.expandGuestInfo = !t.expandGuestInfo)
69007
69045
  }, [
69008
- x("div", lde, K(t.$t("HC_GUEST_INFORMATION")), 1),
69046
+ x("div", ade, Z(t.$t("HC_GUEST_INFORMATION")), 1),
69009
69047
  R(c, { class: "grow" }),
69010
69048
  R(o, {
69011
69049
  class: B([
@@ -69019,9 +69057,9 @@ function ufe(t, e, n, r, i, s) {
69019
69057
  ])
69020
69058
  ]),
69021
69059
  content: Q(() => [
69022
- t.loading.pms ? (w(), k("div", ude)) : (w(), k("div", cde, [
69023
- t.roomDetailsData.reservations[0].guestName ? (w(), k("p", dde, [
69024
- x("strong", null, K(t.roomDetailsData.reservations[0].guestName), 1)
69060
+ t.loading.pms ? (w(), k("div", lde)) : (w(), k("div", ude, [
69061
+ t.roomDetailsData.reservations[0].guestName ? (w(), k("p", cde, [
69062
+ x("strong", null, Z(t.roomDetailsData.reservations[0].guestName), 1)
69025
69063
  ])) : P("", !0),
69026
69064
  x("div", {
69027
69065
  class: B([
@@ -69029,20 +69067,20 @@ function ufe(t, e, n, r, i, s) {
69029
69067
  t.size === "sm" ? "flex-col" : "flex-row gap-3"
69030
69068
  ])
69031
69069
  }, [
69032
- t.roomDetailsData.reservations[0].confirmationNumber ? (w(), k("div", fde, [
69033
- x("div", hde, K(t.$t("HC_RESERVATION")) + ": ", 1),
69034
- x("div", pde, K(t.roomDetailsData.reservations[0].confirmationNumber), 1)
69070
+ t.roomDetailsData.reservations[0].confirmationNumber ? (w(), k("div", dde, [
69071
+ x("div", fde, Z(t.$t("HC_RESERVATION")) + ": ", 1),
69072
+ x("div", hde, Z(t.roomDetailsData.reservations[0].confirmationNumber), 1)
69035
69073
  ])) : P("", !0),
69036
- t.stayDetails ? (w(), k("div", mde, [
69037
- x("div", gde, K(t.$t("HC_STAY")) + ": ", 1),
69038
- x("div", yde, K(t.stayDetails), 1)
69074
+ t.stayDetails ? (w(), k("div", pde, [
69075
+ x("div", mde, Z(t.$t("HC_STAY")) + ": ", 1),
69076
+ x("div", gde, Z(t.stayDetails), 1)
69039
69077
  ])) : P("", !0)
69040
69078
  ], 2)
69041
69079
  ]))
69042
69080
  ]),
69043
69081
  _: 1
69044
69082
  }, 8, ["modelValue"])) : P("", !0),
69045
- t.showTickets && t.ticketsList.length ? (w(), j(d, {
69083
+ t.showTickets ? (w(), j(d, {
69046
69084
  key: 1,
69047
69085
  modelValue: t.expandTickets,
69048
69086
  "onUpdate:modelValue": e[13] || (e[13] = (b) => t.expandTickets = b),
@@ -69054,7 +69092,7 @@ function ufe(t, e, n, r, i, s) {
69054
69092
  class: "flex items-center cursor-pointer",
69055
69093
  onClick: e[12] || (e[12] = (b) => t.expandTickets = !t.expandTickets)
69056
69094
  }, [
69057
- x("div", vde, K(t.$t("HC_OPEN_TICKETS")), 1),
69095
+ x("div", yde, Z(t.$t("HC_OPEN_TICKETS")), 1),
69058
69096
  R(c, { class: "grow" }),
69059
69097
  R(o, {
69060
69098
  class: B([
@@ -69068,7 +69106,7 @@ function ufe(t, e, n, r, i, s) {
69068
69106
  ])
69069
69107
  ]),
69070
69108
  content: Q(() => [
69071
- t.loading.tickets ? (w(), k("div", bde)) : (w(), k("ul", wde, [
69109
+ t.loading.tickets ? (w(), k("div", vde)) : t.ticketsList.length ? (w(), k("ul", bde, [
69072
69110
  (w(!0), k(me, null, Ie(t.ticketsList, (b, S) => {
69073
69111
  var C;
69074
69112
  return w(), k("li", {
@@ -69088,9 +69126,9 @@ function ufe(t, e, n, r, i, s) {
69088
69126
  type: b.type,
69089
69127
  onClick: (E) => t.onClickTicket(b)
69090
69128
  }, null, 8, ["class", "text", "time", "type", "onClick"])
69091
- ], 8, Cde);
69129
+ ], 8, wde);
69092
69130
  }), 128))
69093
- ]))
69131
+ ])) : (w(), k("p", Cde, Z(t.$t("HC_THERE_ARE_NO_OPEN_TICKETS_YET")), 1))
69094
69132
  ]),
69095
69133
  _: 1
69096
69134
  }, 8, ["modelValue"])) : P("", !0),
@@ -69106,7 +69144,7 @@ function ufe(t, e, n, r, i, s) {
69106
69144
  class: "flex items-center cursor-pointer",
69107
69145
  onClick: e[14] || (e[14] = (b) => t.expandComments = !t.expandComments)
69108
69146
  }, [
69109
- x("div", Sde, K(t.$t("HC_GUEST_CONNECT")), 1),
69147
+ x("div", Sde, Z(t.$t("HC_GUEST_CONNECT")), 1),
69110
69148
  R(c, { class: "grow" }),
69111
69149
  R(o, {
69112
69150
  class: B([
@@ -69142,9 +69180,9 @@ function ufe(t, e, n, r, i, s) {
69142
69180
  ]),
69143
69181
  onClick: (S) => t.onSelectQuickReply(b)
69144
69182
  }, [
69145
- x("div", null, K(b), 1)
69183
+ x("div", null, Z(b), 1)
69146
69184
  ], 10, Mde))), 128))
69147
- ])) : (w(), k("div", Ade, K(t.$t("HC_NO_RESULTS_FOUND_FOR")) + ' "' + K(t.comment) + '". ', 1))
69185
+ ])) : (w(), k("div", Ade, Z(t.$t("HC_NO_RESULTS_FOUND_FOR")) + ' "' + Z(t.comment) + '". ', 1))
69148
69186
  ], 2),
69149
69187
  R(y, {
69150
69188
  comments: t.messages,
@@ -69191,7 +69229,7 @@ function ufe(t, e, n, r, i, s) {
69191
69229
  onClick: t.sendChatMessage
69192
69230
  }, {
69193
69231
  default: Q(() => [
69194
- Re(K(t.$t("HC_SEND")), 1)
69232
+ Le(Z(t.$t("HC_SEND")), 1)
69195
69233
  ]),
69196
69234
  _: 1
69197
69235
  }, 8, ["disabled", "onClick"])
@@ -69214,7 +69252,7 @@ function ufe(t, e, n, r, i, s) {
69214
69252
  }, {
69215
69253
  default: Q(() => [
69216
69254
  x("div", Ide, [
69217
- x("div", Ode, K(t.$t("HC_ACTION")), 1)
69255
+ x("div", Ode, Z(t.$t("HC_ACTION")), 1)
69218
69256
  ])
69219
69257
  ]),
69220
69258
  _: 1
@@ -69607,7 +69645,7 @@ function ufe(t, e, n, r, i, s) {
69607
69645
  onClick: at(t.closeRequest, ["prevent"])
69608
69646
  }, {
69609
69647
  default: Q(() => [
69610
- Re(K(t.$t("HC_BACK")), 1)
69648
+ Le(Z(t.$t("HC_BACK")), 1)
69611
69649
  ]),
69612
69650
  _: 1
69613
69651
  }, 8, ["onClick"]),
@@ -69617,7 +69655,7 @@ function ufe(t, e, n, r, i, s) {
69617
69655
  "use-loading-spinner": !0
69618
69656
  }, {
69619
69657
  default: Q(() => [
69620
- Re(K(t.$t("HC_POST")), 1)
69658
+ Le(Z(t.$t("HC_POST")), 1)
69621
69659
  ]),
69622
69660
  _: 1
69623
69661
  }, 8, ["disabled", "loading"])
@@ -69632,7 +69670,7 @@ function ufe(t, e, n, r, i, s) {
69632
69670
  icon: "clock-alarm",
69633
69671
  type: "outline"
69634
69672
  }),
69635
- x("p", lfe, K(t.$t("HC_PMS_UPDATED")) + " " + K(t.DateTime.fromISO(t.roomDetailsData.updatedAt).toRelative({ locale: t.locale })), 1)
69673
+ x("p", lfe, Z(t.$t("HC_PMS_UPDATED")) + " " + Z(t.DateTime.fromISO(t.roomDetailsData.updatedAt).toRelative({ locale: t.locale })), 1)
69636
69674
  ])) : P("", !0)
69637
69675
  ], 8, H1e)
69638
69676
  ]),
@@ -69640,7 +69678,7 @@ function ufe(t, e, n, r, i, s) {
69640
69678
  }, 8, ["model-value", "align", "position", "size"])
69641
69679
  ], 40, V1e)) : P("", !0);
69642
69680
  }
69643
- const r4e = /* @__PURE__ */ Ue(B1e, [["render", ufe], ["__scopeId", "data-v-15cd8675"]]);
69681
+ const r4e = /* @__PURE__ */ Ue(B1e, [["render", ufe], ["__scopeId", "data-v-e214d4cd"]]);
69644
69682
  function Q6(t) {
69645
69683
  return t === 0 ? !1 : Array.isArray(t) && t.length === 0 ? !0 : !t;
69646
69684
  }
@@ -70570,7 +70608,7 @@ function xfe(t, e, n, r, i, s) {
70570
70608
  },
70571
70609
  [
70572
70610
  x("span", {
70573
- textContent: K(t.getOptionLabel(o))
70611
+ textContent: Z(t.getOptionLabel(o))
70574
70612
  }, null, 8, vfe),
70575
70613
  x("i", {
70576
70614
  tabindex: "1",
@@ -70595,7 +70633,7 @@ function xfe(t, e, n, r, i, s) {
70595
70633
  t.internalValue && t.internalValue.length > n.limit ? H(t.$slots, "limit", { key: 0 }, () => [
70596
70634
  x("strong", {
70597
70635
  class: "multiselect__strong",
70598
- textContent: K(n.limitText(t.internalValue.length - n.limit))
70636
+ textContent: Z(n.limitText(t.internalValue.length - n.limit))
70599
70637
  }, null, 8, wfe)
70600
70638
  ]) : P("v-if", !0)
70601
70639
  ]),
@@ -70653,8 +70691,8 @@ function xfe(t, e, n, r, i, s) {
70653
70691
  },
70654
70692
  [
70655
70693
  H(t.$slots, "singleLabel", { option: s.singleValue }, () => [
70656
- Re(
70657
- K(t.currentOptionLabel),
70694
+ Le(
70695
+ Z(t.currentOptionLabel),
70658
70696
  1
70659
70697
  /* TEXT */
70660
70698
  )
@@ -70672,8 +70710,8 @@ function xfe(t, e, n, r, i, s) {
70672
70710
  },
70673
70711
  [
70674
70712
  H(t.$slots, "placeholder", {}, () => [
70675
- Re(
70676
- K(t.placeholder),
70713
+ Le(
70714
+ Z(t.placeholder),
70677
70715
  1
70678
70716
  /* TEXT */
70679
70717
  )
@@ -70714,8 +70752,8 @@ function xfe(t, e, n, r, i, s) {
70714
70752
  t.multiple && t.max === t.internalValue.length ? (w(), k("li", Mfe, [
70715
70753
  x("span", Afe, [
70716
70754
  H(t.$slots, "maxElements", {}, () => [
70717
- Re(
70718
- "Maximum of " + K(t.max) + " options selected. First remove a selected option to select another.",
70755
+ Le(
70756
+ "Maximum of " + Z(t.max) + " options selected. First remove a selected option to select another.",
70719
70757
  1
70720
70758
  /* TEXT */
70721
70759
  )
@@ -70749,7 +70787,7 @@ function xfe(t, e, n, r, i, s) {
70749
70787
  x(
70750
70788
  "span",
70751
70789
  null,
70752
- K(t.getOptionLabel(o)),
70790
+ Z(t.getOptionLabel(o)),
70753
70791
  1
70754
70792
  /* TEXT */
70755
70793
  )
@@ -70771,7 +70809,7 @@ function xfe(t, e, n, r, i, s) {
70771
70809
  x(
70772
70810
  "span",
70773
70811
  null,
70774
- K(t.getOptionLabel(o)),
70812
+ Z(t.getOptionLabel(o)),
70775
70813
  1
70776
70814
  /* TEXT */
70777
70815
  )
@@ -70787,7 +70825,7 @@ function xfe(t, e, n, r, i, s) {
70787
70825
  [
70788
70826
  x("span", Ofe, [
70789
70827
  H(t.$slots, "noResult", { search: t.search }, () => [
70790
- e[20] || (e[20] = Re("No elements found. Consider changing the search query."))
70828
+ e[20] || (e[20] = Le("No elements found. Consider changing the search query."))
70791
70829
  ])
70792
70830
  ])
70793
70831
  ],
@@ -70802,7 +70840,7 @@ function xfe(t, e, n, r, i, s) {
70802
70840
  [
70803
70841
  x("span", Dfe, [
70804
70842
  H(t.$slots, "noOptions", {}, () => [
70805
- e[21] || (e[21] = Re("List is empty."))
70843
+ e[21] || (e[21] = Le("List is empty."))
70806
70844
  ])
70807
70845
  ])
70808
70846
  ],
@@ -71201,10 +71239,10 @@ function Xfe(t, e, n, r, i, s) {
71201
71239
  icon: "search",
71202
71240
  type: ""
71203
71241
  }, null, 8, ["color"])) : P("", !0),
71204
- t.searchable && (t.multiple && !t.selected.length || !t.multiple && !t.selected) && !t.selectionControl ? (w(), k("div", Rfe, K(t.placeholder), 1)) : P("", !0)
71242
+ t.searchable && (t.multiple && !t.selected.length || !t.multiple && !t.selected) && !t.selectionControl ? (w(), k("div", Rfe, Z(t.placeholder), 1)) : P("", !0)
71205
71243
  ]),
71206
71244
  noResult: Q(() => [
71207
- Re(K(t.noResultsText), 1)
71245
+ Le(Z(t.noResultsText), 1)
71208
71246
  ]),
71209
71247
  singleLabel: Q(({ option: c }) => [
71210
71248
  c.icon ? (w(), j(o, {
@@ -71213,7 +71251,7 @@ function Xfe(t, e, n, r, i, s) {
71213
71251
  }, null, 8, ["icon"])) : P("", !0),
71214
71252
  c && t.showPlaceholderImage ? H(t.$slots, "optionPrefix", En(L({ key: 1 }, c)), void 0, !0) : P("", !0),
71215
71253
  t.selectionControl ? H(t.$slots, "controlPlaceholder", { key: 2 }, () => [
71216
- Re(K(t.placeholder), 1)
71254
+ Le(Z(t.placeholder), 1)
71217
71255
  ], !0) : P("", !0),
71218
71256
  x("span", {
71219
71257
  class: B([
@@ -71222,7 +71260,7 @@ function Xfe(t, e, n, r, i, s) {
71222
71260
  "text-inkwell-10 text-right truncate": t.selectionControl
71223
71261
  }
71224
71262
  ])
71225
- }, K(c.label || c.name || c), 3)
71263
+ }, Z(c.label || c.name || c), 3)
71226
71264
  ]),
71227
71265
  selection: Q(({ values: c, isOpen: d }) => {
71228
71266
  var f, h, m, y;
@@ -71235,7 +71273,7 @@ function Xfe(t, e, n, r, i, s) {
71235
71273
  { "tag-gray": !!t.showTags }
71236
71274
  ])
71237
71275
  }, [
71238
- x("span", Bfe, K(t.groupLabel), 1),
71276
+ x("span", Bfe, Z(t.groupLabel), 1),
71239
71277
  x("span", {
71240
71278
  class: "tag-remove cursor-pointer shrink",
71241
71279
  tabindex: "1",
@@ -71272,7 +71310,7 @@ function Xfe(t, e, n, r, i, s) {
71272
71310
  "tag-name text-sm leading-normal pr-2",
71273
71311
  { "tag-truncate": t.truncateTag }
71274
71312
  ])
71275
- }, K(g.label || g.name), 3),
71313
+ }, Z(g.label || g.name), 3),
71276
71314
  x("span", {
71277
71315
  class: "tag-remove cursor-pointer shrink",
71278
71316
  tabindex: "1",
@@ -71290,7 +71328,7 @@ function Xfe(t, e, n, r, i, s) {
71290
71328
  }, null, 8, ["class"])
71291
71329
  ], 8, jfe)
71292
71330
  ], 2))), 128)),
71293
- !t.expand && t.showSelectedCount && t.multiple && c.length > t.limitShown ? (w(), k("span", Hfe, " + " + K(c.length - t.limitShown) + " more... ", 1)) : P("", !0)
71331
+ !t.expand && t.showSelectedCount && t.multiple && c.length > t.limitShown ? (w(), k("span", Hfe, " + " + Z(c.length - t.limitShown) + " more... ", 1)) : P("", !0)
71294
71332
  ]))
71295
71333
  ])) : P("", !0),
71296
71334
  !t.showTags && !t.taggable && t.multiple && c.length ? (w(), k("div", {
@@ -71307,9 +71345,9 @@ function Xfe(t, e, n, r, i, s) {
71307
71345
  capitalize: t.groupValues && t.options[0][t.groupValues].length === c.length
71308
71346
  }
71309
71347
  ])
71310
- }, K(t.selectionControl ? t.placeholder : t.groupValues && t.options[0][t.groupValues].length === c.length ? t.groupLabel : c[0].label), 3),
71311
- t.selectionControl ? (w(), k("span", zfe, K(t.selectedText), 1)) : P("", !0),
71312
- t.limitShown && t.limitShown < c.length && (!t.groupValues && c.length !== t.limitShown || t.groupValues && t.options[0][t.groupValues].length !== c.length) ? (w(), k("span", Ufe, " + " + K(c.length - t.limitShown) + " more... ", 1)) : P("", !0)
71348
+ }, Z(t.selectionControl ? t.placeholder : t.groupValues && t.options[0][t.groupValues].length === c.length ? t.groupLabel : c[0].label), 3),
71349
+ t.selectionControl ? (w(), k("span", zfe, Z(t.selectedText), 1)) : P("", !0),
71350
+ t.limitShown && t.limitShown < c.length && (!t.groupValues && c.length !== t.limitShown || t.groupValues && t.options[0][t.groupValues].length !== c.length) ? (w(), k("span", Ufe, " + " + Z(c.length - t.limitShown) + " more... ", 1)) : P("", !0)
71313
71351
  ], 2)) : d && !t.useTags && !t.multiple ? (w(), k("div", {
71314
71352
  key: 2,
71315
71353
  class: B([
@@ -71318,11 +71356,11 @@ function Xfe(t, e, n, r, i, s) {
71318
71356
  ])
71319
71357
  }, [
71320
71358
  t.selectionControl ? (w(), k(me, { key: 0 }, [
71321
- x("span", Zfe, K(t.placeholder || ""), 1),
71322
- x("span", qfe, K(((f = t.selected) == null ? void 0 : f.label) || ((h = t.selected) == null ? void 0 : h.name) || ""), 1)
71323
- ], 64)) : (w(), k("span", Wfe, K(((m = t.selected) == null ? void 0 : m.label) || ((y = t.selected) == null ? void 0 : y.name) || t.placeholder || ""), 1))
71359
+ x("span", Zfe, Z(t.placeholder || ""), 1),
71360
+ x("span", qfe, Z(((f = t.selected) == null ? void 0 : f.label) || ((h = t.selected) == null ? void 0 : h.name) || ""), 1)
71361
+ ], 64)) : (w(), k("span", Wfe, Z(((m = t.selected) == null ? void 0 : m.label) || ((y = t.selected) == null ? void 0 : y.name) || t.placeholder || ""), 1))
71324
71362
  ], 2)) : d && !t.useTags && t.multiple && t.selectionControl ? (w(), k("div", Gfe, [
71325
- x("span", Kfe, K(t.placeholder || ""), 1)
71363
+ x("span", Kfe, Z(t.placeholder || ""), 1)
71326
71364
  ])) : P("", !0)
71327
71365
  ];
71328
71366
  }),
@@ -71366,8 +71404,8 @@ function Xfe(t, e, n, r, i, s) {
71366
71404
  class: B(["option-name", [
71367
71405
  c.optionClass ? c.optionClass : ""
71368
71406
  ]])
71369
- }, K(c.$groupLabel || c.label || c.name || c), 3),
71370
- c.description && t.showOptionDescription ? (w(), k("div", Qfe, K(c.description), 1)) : P("", !0),
71407
+ }, Z(c.$groupLabel || c.label || c.name || c), 3),
71408
+ c.description && t.showOptionDescription ? (w(), k("div", Qfe, Z(c.description), 1)) : P("", !0),
71371
71409
  t.multiple && t.hasCheckboxes ? P("", !0) : (w(), j(o, {
71372
71410
  key: 3,
71373
71411
  icon: "check",
@@ -71394,7 +71432,7 @@ function Xfe(t, e, n, r, i, s) {
71394
71432
  onClick: at(t.selectAll, ["prevent"])
71395
71433
  }, {
71396
71434
  default: Q(() => [
71397
- Re(K(t.$t("HC_SELECT_ALL")), 1)
71435
+ Le(Z(t.$t("HC_SELECT_ALL")), 1)
71398
71436
  ]),
71399
71437
  _: 1
71400
71438
  }, 8, ["disabled", "onClick"]),
@@ -71407,7 +71445,7 @@ function Xfe(t, e, n, r, i, s) {
71407
71445
  onClick: at(t.clearAll, ["prevent"])
71408
71446
  }, {
71409
71447
  default: Q(() => [
71410
- Re(K(t.$t("HC_CLEAR_ALL")), 1)
71448
+ Le(Z(t.$t("HC_CLEAR_ALL")), 1)
71411
71449
  ]),
71412
71450
  _: 1
71413
71451
  }, 8, ["disabled", "onClick"])
@@ -72294,13 +72332,13 @@ var db = {
72294
72332
  return F ? F > U ? F - U : F : 0;
72295
72333
  }, l = function(F, U) {
72296
72334
  return Math.floor(F / (U || F));
72297
- }, u = function(F, U, ne, Z, ie, re) {
72298
- return F <= ie ? ie : re ? ne - Z - ie : U + ie - 1;
72299
- }, c = function(F, U, ne, Z, ie, re, q) {
72300
- return F <= re ? 0 : Math.max(0, q ? F < U ? ne : F - re : F > U ? ne : F - 2 * re);
72301
- }, d = function(F, U, ne, Z, ie, re) {
72302
- var q = U + Z + 2 * ie;
72303
- return F >= ie && (q += ie + 1), n.getLast(q, re);
72335
+ }, u = function(F, U, ne, q, ie, re) {
72336
+ return F <= ie ? ie : re ? ne - q - ie : U + ie - 1;
72337
+ }, c = function(F, U, ne, q, ie, re, W) {
72338
+ return F <= re ? 0 : Math.max(0, W ? F < U ? ne : F - re : F > U ? ne : F - 2 * re);
72339
+ }, d = function(F, U, ne, q, ie, re) {
72340
+ var W = U + q + 2 * ie;
72341
+ return F >= ie && (W += ie + 1), n.getLast(W, re);
72304
72342
  }, f = a(r.scrollTop, o.top), h = a(r.scrollLeft, o.left), m = i ? {
72305
72343
  rows: 0,
72306
72344
  cols: 0
@@ -73525,7 +73563,7 @@ function qhe(t, e, n, r, i, s) {
73525
73563
  value: t.modelValue,
73526
73564
  placeholder: t.placeholder
73527
73565
  }, function() {
73528
- return [Re(K(s.label === "p-emptylabel" ? " " : s.label || "empty"), 1)];
73566
+ return [Le(Z(s.label === "p-emptylabel" ? " " : s.label || "empty"), 1)];
73529
73567
  })], 16, jhe)), t.showClear && t.modelValue != null ? H(t.$slots, "clearicon", {
73530
73568
  key: 2,
73531
73569
  class: B(t.cx("clearIcon")),
@@ -73643,7 +73681,7 @@ function qhe(t, e, n, r, i, s) {
73643
73681
  class: "p-hidden-accessible"
73644
73682
  }, t.ptm("hiddenFilterResult"), {
73645
73683
  "data-p-hidden-accessible": !0
73646
- }), K(s.filterResultMessageText), 17)], 16)) : P("", !0), x("div", L({
73684
+ }), Z(s.filterResultMessageText), 17)], 16)) : P("", !0), x("div", L({
73647
73685
  class: t.cx("wrapper"),
73648
73686
  style: {
73649
73687
  "max-height": s.virtualScrollerDisabled ? t.scrollHeight : ""
@@ -73686,7 +73724,7 @@ function qhe(t, e, n, r, i, s) {
73686
73724
  }, function() {
73687
73725
  return [x("span", L({
73688
73726
  class: t.cx("itemGroupLabel")
73689
- }, t.ptm("itemGroupLabel")), K(s.getOptionGroupLabel(S.optionGroup)), 17)];
73727
+ }, t.ptm("itemGroupLabel")), Z(s.getOptionGroupLabel(S.optionGroup)), 17)];
73690
73728
  })], 16, Uhe)) : Tt((w(), k("li", L({
73691
73729
  key: 1,
73692
73730
  id: i.id + "_" + s.getOptionIndex(C, g),
@@ -73726,7 +73764,7 @@ function qhe(t, e, n, r, i, s) {
73726
73764
  }, function() {
73727
73765
  return [x("span", L({
73728
73766
  class: t.cx("itemLabel")
73729
- }, t.ptm("itemLabel")), K(s.getOptionLabel(S)), 17)];
73767
+ }, t.ptm("itemLabel")), Z(s.getOptionLabel(S)), 17)];
73730
73768
  })], 16, Zhe)), [[d]])], 64);
73731
73769
  }), 128)), i.filterValue && (!y || y && y.length === 0) ? (w(), k("li", L({
73732
73770
  key: 0,
@@ -73735,7 +73773,7 @@ function qhe(t, e, n, r, i, s) {
73735
73773
  }, t.ptm("emptyMessage"), {
73736
73774
  "data-p-hidden-accessible": !0
73737
73775
  }), [H(t.$slots, "emptyfilter", {}, function() {
73738
- return [Re(K(s.emptyFilterMessageText), 1)];
73776
+ return [Le(Z(s.emptyFilterMessageText), 1)];
73739
73777
  })], 16)) : !t.options || t.options && t.options.length === 0 ? (w(), k("li", L({
73740
73778
  key: 1,
73741
73779
  class: t.cx("emptyMessage"),
@@ -73743,7 +73781,7 @@ function qhe(t, e, n, r, i, s) {
73743
73781
  }, t.ptm("emptyMessage"), {
73744
73782
  "data-p-hidden-accessible": !0
73745
73783
  }), [H(t.$slots, "empty", {}, function() {
73746
- return [Re(K(s.emptyMessageText), 1)];
73784
+ return [Le(Z(s.emptyMessageText), 1)];
73747
73785
  })], 16)) : P("", !0)], 16, zhe)];
73748
73786
  }),
73749
73787
  _: 2
@@ -73766,13 +73804,13 @@ function qhe(t, e, n, r, i, s) {
73766
73804
  class: "p-hidden-accessible"
73767
73805
  }, t.ptm("hiddenEmptyMessage"), {
73768
73806
  "data-p-hidden-accessible": !0
73769
- }), K(s.emptyMessageText), 17)) : P("", !0), x("span", L({
73807
+ }), Z(s.emptyMessageText), 17)) : P("", !0), x("span", L({
73770
73808
  role: "status",
73771
73809
  "aria-live": "polite",
73772
73810
  class: "p-hidden-accessible"
73773
73811
  }, t.ptm("hiddenSelectedMessage"), {
73774
73812
  "data-p-hidden-accessible": !0
73775
- }), K(s.selectedMessageText), 17), x("span", L({
73813
+ }), Z(s.selectedMessageText), 17), x("span", L({
73776
73814
  ref: "lastHiddenFocusableElementOnOverlay",
73777
73815
  role: "presentation",
73778
73816
  "aria-hidden": "true",
@@ -75000,7 +75038,7 @@ var Ape = {
75000
75038
  function Tpe(t, e, n, r, i, s) {
75001
75039
  return w(), k("span", L({
75002
75040
  class: t.cx("current")
75003
- }, t.ptm("current")), K(s.text), 17);
75041
+ }, t.ptm("current")), Z(s.text), 17);
75004
75042
  }
75005
75043
  QP.render = Tpe;
75006
75044
  var XP = {
@@ -75274,7 +75312,7 @@ function Ppe(t, e, n, r, i, s) {
75274
75312
  }
75275
75313
  }, s.getPTOptions(a - 1, "pageButton"), {
75276
75314
  "data-p-highlight": a - 1 === n.page
75277
- }), [Re(K(a), 1)], 16, Npe)), [[o]]);
75315
+ }), [Le(Z(a), 1)], 16, Npe)), [[o]]);
75278
75316
  }), 128))], 16);
75279
75317
  }
75280
75318
  rL.render = Ppe;
@@ -77287,7 +77325,7 @@ function Gme(t, e, n, r, i, s) {
77287
77325
  }), [n.responsiveLayout === "stack" ? (w(), k("span", L({
77288
77326
  key: 0,
77289
77327
  class: t.cx("columnTitle")
77290
- }, s.getColumnPT("columnTitle")), K(s.columnProp("header")), 17)) : P("", !0), n.column.children && n.column.children.body && !i.d_editing ? (w(), j(Pe(n.column.children.body), {
77328
+ }, s.getColumnPT("columnTitle")), Z(s.columnProp("header")), 17)) : P("", !0), n.column.children && n.column.children.body && !i.d_editing ? (w(), j(Pe(n.column.children.body), {
77291
77329
  key: 1,
77292
77330
  data: n.rowData,
77293
77331
  column: n.column,
@@ -77420,7 +77458,7 @@ function Gme(t, e, n, r, i, s) {
77420
77458
  class: t.cx("rowEditorCancelIcon")
77421
77459
  }, s.getColumnPT("rowEditorCancelIcon")), null, 16, ["class"]))], 16, Wme)), [[d]]) : P("", !0)], 64)) : (w(), k(me, {
77422
77460
  key: 8
77423
- }, [Re(K(s.resolveFieldData()), 1)], 64))], 16, zme));
77461
+ }, [Le(Z(s.resolveFieldData()), 1)], 64))], 16, zme));
77424
77462
  }
77425
77463
  gL.render = Gme;
77426
77464
  function Jf(t) {
@@ -78582,7 +78620,7 @@ function m3e(t, e, n, r, i, s) {
78582
78620
  }), [n.column.children && n.column.children.footer ? (w(), j(Pe(n.column.children.footer), {
78583
78621
  key: 0,
78584
78622
  column: n.column
78585
- }, null, 8, ["column"])) : P("", !0), Re(" " + K(s.columnProp("footer")), 1)], 16, p3e);
78623
+ }, null, 8, ["column"])) : P("", !0), Le(" " + Z(s.columnProp("footer")), 1)], 16, p3e);
78586
78624
  }
78587
78625
  bL.render = m3e;
78588
78626
  function g3e(t, e) {
@@ -79447,7 +79485,7 @@ function x3e(t, e, n, r, i, s) {
79447
79485
  return s.onRowMatchModeChange(c.value);
79448
79486
  }, ["prevent"]), ["enter"])],
79449
79487
  tabindex: d === 0 ? "0" : null
79450
- }, s.getColumnPT("filterRowItem", s.ptmFilterRowItemOptions(c))), K(c.label), 17, D3e);
79488
+ }, s.getColumnPT("filterRowItem", s.ptmFilterRowItemOptions(c))), Z(c.label), 17, D3e);
79451
79489
  }), 128)), x("li", L({
79452
79490
  class: t.cx("filterSeparator")
79453
79491
  }, s.getColumnPT("filterSeparator")), null, 16), x("li", L({
@@ -79460,7 +79498,7 @@ function x3e(t, e, n, r, i, s) {
79460
79498
  }), e[6] || (e[6] = sr(function(c) {
79461
79499
  return t.onRowClearItemClick();
79462
79500
  }, ["enter"]))]
79463
- }, s.getColumnPT("filterRowItem")), K(s.noFilterLabel), 17)], 16)) : (w(), k(me, {
79501
+ }, s.getColumnPT("filterRowItem")), Z(s.noFilterLabel), 17)], 16)) : (w(), k(me, {
79464
79502
  key: 1
79465
79503
  }, [s.isShowOperator ? (w(), k("div", L({
79466
79504
  key: 0,
@@ -80010,7 +80048,7 @@ function $3e(t, e, n, r, i, s) {
80010
80048
  }, null, 8, ["column"])) : P("", !0), s.columnProp("header") ? (w(), k("span", L({
80011
80049
  key: 1,
80012
80050
  class: t.cx("headerTitle")
80013
- }, s.getColumnPT("headerTitle")), K(s.columnProp("header")), 17)) : P("", !0), s.columnProp("sortable") ? (w(), k("span", En(L({
80051
+ }, s.getColumnPT("headerTitle")), Z(s.columnProp("header")), 17)) : P("", !0), s.columnProp("sortable") ? (w(), k("span", En(L({
80014
80052
  key: 2
80015
80053
  }, s.getColumnPT("sort"))), [(w(), j(Pe(n.column.children && n.column.children.sorticon || s.sortableColumnIcon), L({
80016
80054
  sorted: s.sortState.sorted,
@@ -80019,7 +80057,7 @@ function $3e(t, e, n, r, i, s) {
80019
80057
  }, s.getColumnPT("sorticon")), null, 16, ["sorted", "sortOrder", "class"]))], 16)) : P("", !0), s.isMultiSorted() ? (w(), k("span", L({
80020
80058
  key: 3,
80021
80059
  class: t.cx("sortBadge")
80022
- }, s.getColumnPT("sortBadge")), K(s.getBadgeValue()), 17)) : P("", !0), s.columnProp("selectionMode") === "multiple" && n.filterDisplay !== "row" ? (w(), j(o, {
80060
+ }, s.getColumnPT("sortBadge")), Z(s.getBadgeValue()), 17)) : P("", !0), s.columnProp("selectionMode") === "multiple" && n.filterDisplay !== "row" ? (w(), j(o, {
80023
80061
  key: 4,
80024
80062
  checked: n.allRowsSelected,
80025
80063
  onChange: s.onHeaderCheckboxChange,
@@ -82696,73 +82734,73 @@ const dge = Oe({
82696
82734
  []
82697
82735
  )), v = Y(() => n.value === "desktop"), b = Y(() => {
82698
82736
  var ae;
82699
- const W = !t.loading && ((ae = r.value) == null ? void 0 : ae.empty);
82700
- return e("is-empty", W), W;
82737
+ const G = !t.loading && ((ae = r.value) == null ? void 0 : ae.empty);
82738
+ return e("is-empty", G), G;
82701
82739
  }), S = Y(() => {
82702
- const W = [], ae = {};
82740
+ const G = [], ae = {};
82703
82741
  let de = 0;
82704
82742
  return t.columns.forEach((he) => {
82705
82743
  ae[he.key] = "";
82706
82744
  }), [...Array(t.skeletonRows)].forEach(() => {
82707
- W.push({
82745
+ G.push({
82708
82746
  ...ae,
82709
82747
  shimmer: de % 2 ? "bg-gray-10" : "bg-gray-30"
82710
82748
  }), de++;
82711
- }), W;
82749
+ }), G;
82712
82750
  }), C = () => {
82713
- F(), U(), T(), N(), q();
82714
- }, E = (W) => {
82715
- t.rowSelect(W);
82716
- }, M = (W) => {
82717
- t.rowUnselect(W);
82751
+ F(), U(), T(), N(), W();
82752
+ }, E = (G) => {
82753
+ t.rowSelect(G);
82754
+ }, M = (G) => {
82755
+ t.rowUnselect(G);
82718
82756
  }, T = () => {
82719
82757
  var he, V;
82720
- const W = m.value.offsetTop - t.fixedTopOffset, ae = document.querySelector('div[data-pc-section="header"]'), de = (he = d.value) == null ? void 0 : he.querySelector("thead");
82721
- if (s.value = !!t.fixedTopOffset && m.value && window.scrollY >= W, s.value)
82758
+ const G = m.value.offsetTop - t.fixedTopOffset, ae = document.querySelector('div[data-pc-section="header"]'), de = (he = d.value) == null ? void 0 : he.querySelector("thead");
82759
+ if (s.value = !!t.fixedTopOffset && m.value && window.scrollY >= G, s.value)
82722
82760
  if (ae.style.top = t.fixedTopOffset + "px", i.value)
82723
82761
  de.style.top = "";
82724
82762
  else {
82725
- const G = t.fixedTopOffset + ae.clientHeight + 1;
82726
- de.style.top = G + "px";
82763
+ const K = t.fixedTopOffset + ae.clientHeight + 1;
82764
+ de.style.top = K + "px";
82727
82765
  }
82728
82766
  else
82729
82767
  ae.style.top = "", de.style.top = "";
82730
82768
  if (s.value && i.value) {
82731
- const G = document.querySelector(
82769
+ const K = document.querySelector(
82732
82770
  'div[data-pc-section="header"] > div[data-pc-section="wrapper"]'
82733
82771
  );
82734
- (V = G == null ? void 0 : G.querySelectorAll("th")) == null || V.forEach((te, ee) => {
82772
+ (V = K == null ? void 0 : K.querySelectorAll("th")) == null || V.forEach((te, ee) => {
82735
82773
  var ve;
82736
82774
  const pe = (ve = d.value) == null ? void 0 : ve.querySelector(
82737
82775
  `th:nth-child(${ee + 1})`
82738
82776
  ), Me = pe == null ? void 0 : pe.getAttribute("aria-sort");
82739
82777
  te == null || te.setAttribute("aria-sort", Me), te.classList.contains("actions") && (te.style.minWidth = (pe == null ? void 0 : pe.clientWidth) + "px");
82740
- }), G && (G.scrollLeft = d.value.scrollLeft);
82778
+ }), K && (K.scrollLeft = d.value.scrollLeft);
82741
82779
  }
82742
- U(), N(), q();
82780
+ U(), N(), W();
82743
82781
  }, N = () => {
82744
82782
  const ae = d.value.scrollWidth - d.value.clientWidth;
82745
82783
  u.value = Math.abs(d.value.scrollLeft) <= 1, l.value = Math.abs(d.value.scrollLeft - ae) <= 1;
82746
82784
  }, I = () => {
82747
- F(), o.value = !1, a.value = !1, t.columns.forEach((W, ae) => {
82748
- W.frozen && (o.value || (o.value = !0), m.value.querySelectorAll(`th:nth-child(${ae + 1}), td:nth-child(${ae + 1})`).forEach(
82785
+ F(), o.value = !1, a.value = !1, t.columns.forEach((G, ae) => {
82786
+ G.frozen && (o.value || (o.value = !0), m.value.querySelectorAll(`th:nth-child(${ae + 1}), td:nth-child(${ae + 1})`).forEach(
82749
82787
  (de) => {
82750
- de.classList.add("sticky"), ae === 0 ? de.classList.add("left-0") : ae === t.columns.length - 1 && W.frozen && (de.classList.add("right-0"), a.value = !0);
82788
+ de.classList.add("sticky"), ae === 0 ? de.classList.add("left-0") : ae === t.columns.length - 1 && G.frozen && (de.classList.add("right-0"), a.value = !0);
82751
82789
  }
82752
82790
  ));
82753
82791
  });
82754
82792
  }, $ = () => {
82755
82793
  var ae, de, he, V;
82756
- const W = (ae = d.value) == null ? void 0 : ae.cloneNode(!0);
82757
- if (W) {
82758
- const G = document.querySelector('div[data-pc-section="header"]');
82759
- G == null || G.append(W);
82760
- const te = G == null ? void 0 : G.querySelector('div[data-pc-section="wrapper"]');
82794
+ const G = (ae = d.value) == null ? void 0 : ae.cloneNode(!0);
82795
+ if (G) {
82796
+ const K = document.querySelector('div[data-pc-section="header"]');
82797
+ K == null || K.append(G);
82798
+ const te = K == null ? void 0 : K.querySelector('div[data-pc-section="wrapper"]');
82761
82799
  (de = te == null ? void 0 : te.querySelector("tbody")) == null || de.remove(), te == null || te.addEventListener("scroll", () => {
82762
- d.value.scrollLeft = te.scrollLeft, N(), q();
82800
+ d.value.scrollLeft = te.scrollLeft, N(), W();
82763
82801
  }), (he = d.value) == null || he.addEventListener("scroll", () => {
82764
82802
  var ee;
82765
- te.scrollLeft = d.value.scrollLeft, N(), (ee = d.value) == null || ee.setAttribute("data-scroll", d.value.scrollLeft.toString()), q();
82803
+ te.scrollLeft = d.value.scrollLeft, N(), (ee = d.value) == null || ee.setAttribute("data-scroll", d.value.scrollLeft.toString()), W();
82766
82804
  }), (V = te == null ? void 0 : te.querySelectorAll("th")) == null || V.forEach((ee, pe) => {
82767
82805
  ee == null || ee.addEventListener("click", async () => {
82768
82806
  var Me;
@@ -82776,27 +82814,27 @@ const dge = Oe({
82776
82814
  });
82777
82815
  }
82778
82816
  }, F = () => {
82779
- var W, ae;
82780
- d.value.scrollWidth > d.value.clientWidth ? (i.value = !0, (W = d.value) == null || W.classList.add("is-scrolled")) : (i.value = !1, (ae = d.value) == null || ae.classList.remove("is-scrolled")), d.value && d.value.setAttribute("data-scroll", d.value.scrollLeft.toString());
82817
+ var G, ae;
82818
+ d.value.scrollWidth > d.value.clientWidth ? (i.value = !0, (G = d.value) == null || G.classList.add("is-scrolled")) : (i.value = !1, (ae = d.value) == null || ae.classList.remove("is-scrolled")), d.value && d.value.setAttribute("data-scroll", d.value.scrollLeft.toString());
82781
82819
  }, U = () => {
82782
- const W = d.value.clientWidth + "px", ae = document.querySelector('div[data-pc-section="header"]'), de = ae.querySelector('div[data-pc-section="wrapper"] thead');
82783
- ae.style.width = W, d.value.querySelector("thead").style.width = W, de && (de.style.width = W);
82820
+ const G = d.value.clientWidth + "px", ae = document.querySelector('div[data-pc-section="header"]'), de = ae.querySelector('div[data-pc-section="wrapper"] thead');
82821
+ ae.style.width = G, d.value.querySelector("thead").style.width = G, de && (de.style.width = G);
82784
82822
  }, ne = () => {
82785
82823
  if (d.value) {
82786
- const W = -Math.min(
82824
+ const G = -Math.min(
82787
82825
  t.leftScrollAmount,
82788
82826
  d.value.scrollLeft
82789
82827
  ), ae = s.value ? "instant" : "smooth";
82790
82828
  d.value.scrollBy({
82791
- left: W,
82829
+ left: G,
82792
82830
  behavior: ae
82793
82831
  });
82794
82832
  }
82795
- }, Z = () => {
82833
+ }, q = () => {
82796
82834
  if (d.value) {
82797
- const W = d.value.scrollWidth - d.value.clientWidth, ae = Math.min(
82835
+ const G = d.value.scrollWidth - d.value.clientWidth, ae = Math.min(
82798
82836
  t.rightScrollAmount,
82799
- W - d.value.scrollLeft
82837
+ G - d.value.scrollLeft
82800
82838
  ), de = s.value ? "instant" : "smooth";
82801
82839
  d.value.scrollBy({
82802
82840
  left: ae,
@@ -82804,15 +82842,15 @@ const dge = Oe({
82804
82842
  });
82805
82843
  }
82806
82844
  }, ie = () => {
82807
- var W, ae, de;
82845
+ var G, ae, de;
82808
82846
  if (i.value || !v.value) {
82809
82847
  const he = u.value ? "hidden" : "", V = l.value ? "hidden" : "";
82810
- (W = m.value) == null || W.insertAdjacentHTML(
82848
+ (G = m.value) == null || G.insertAdjacentHTML(
82811
82849
  "beforeend",
82812
82850
  `<button type="button" class="q-table-scroll-button scroll-button scroll-left ${he}"></button>
82813
82851
  <button type="button" class="q-table-scroll-button scroll-button scroll-right ${V}"></button>`
82814
82852
  );
82815
- const G = Zn(fu, {
82853
+ const K = Zn(fu, {
82816
82854
  icon: "chevron-left",
82817
82855
  type: "",
82818
82856
  size: "md",
@@ -82823,34 +82861,34 @@ const dge = Oe({
82823
82861
  size: "md",
82824
82862
  class: "p-[0.1875rem]"
82825
82863
  }), ee = (ae = m.value) == null ? void 0 : ae.querySelector(".scroll-button.scroll-left"), pe = (de = m.value) == null ? void 0 : de.querySelector(".scroll-button.scroll-right");
82826
- kb(G, ee), kb(te, pe), ee == null || ee.addEventListener("click", ne), pe == null || pe.addEventListener("click", Z), q();
82864
+ kb(K, ee), kb(te, pe), ee == null || ee.addEventListener("click", ne), pe == null || pe.addEventListener("click", q), W();
82827
82865
  }
82828
82866
  }, re = () => {
82829
- var W, ae;
82830
- (ae = (W = m.value) == null ? void 0 : W.querySelectorAll(".scroll-button")) == null || ae.forEach((de) => {
82867
+ var G, ae;
82868
+ (ae = (G = m.value) == null ? void 0 : G.querySelectorAll(".scroll-button")) == null || ae.forEach((de) => {
82831
82869
  de.remove();
82832
82870
  });
82833
- }, q = () => {
82871
+ }, W = () => {
82834
82872
  var ee, pe, Me, ve;
82835
- const W = (ee = m.value) == null ? void 0 : ee.querySelector(".scroll-button.scroll-left"), ae = (pe = m.value) == null ? void 0 : pe.querySelector(".scroll-button.scroll-right"), de = (Me = d.value) == null ? void 0 : Me.querySelector("td.sticky:first-child"), he = (ve = m.value) == null ? void 0 : ve.getBoundingClientRect(), V = document.querySelector('div[data-pc-section="header"]'), G = (V == null ? void 0 : V.getBoundingClientRect().height) || 0, te = d.value;
82873
+ const G = (ee = m.value) == null ? void 0 : ee.querySelector(".scroll-button.scroll-left"), ae = (pe = m.value) == null ? void 0 : pe.querySelector(".scroll-button.scroll-right"), de = (Me = d.value) == null ? void 0 : Me.querySelector("td.sticky:first-child"), he = (ve = m.value) == null ? void 0 : ve.getBoundingClientRect(), V = document.querySelector('div[data-pc-section="header"]'), K = (V == null ? void 0 : V.getBoundingClientRect().height) || 0, te = d.value;
82836
82874
  if (m.value && he && te) {
82837
82875
  const be = (de == null ? void 0 : de.getBoundingClientRect().width) || 0;
82838
82876
  m.value.style.setProperty("--first-sticky-width", `${be}px`);
82839
- const _e = te.getBoundingClientRect(), qe = Math.max(_e.top, G), ct = Math.min(_e.bottom, window.innerHeight), an = qe < window.innerHeight && ct > G, Pn = ct - qe, mn = qe + Pn / 2;
82840
- if (W && ae)
82877
+ const _e = te.getBoundingClientRect(), qe = Math.max(_e.top, K), ct = Math.min(_e.bottom, window.innerHeight), an = qe < window.innerHeight && ct > K, Pn = ct - qe, mn = qe + Pn / 2;
82878
+ if (G && ae)
82841
82879
  if (an && i.value) {
82842
- W.classList.remove("hidden"), ae.classList.remove("hidden");
82880
+ G.classList.remove("hidden"), ae.classList.remove("hidden");
82843
82881
  const Ln = Math.max(
82844
82882
  qe,
82845
- Math.min(mn, ct - W.offsetHeight)
82883
+ Math.min(mn, ct - G.offsetHeight)
82846
82884
  );
82847
- W.style.top = `${Ln}px`, ae.style.top = `${Ln}px`, W.style.left = `${he.left + be + 8}px`, ae.style.right = `${window.innerWidth - he.right + 8}px`;
82885
+ G.style.top = `${Ln}px`, ae.style.top = `${Ln}px`, G.style.left = `${he.left + be + 8}px`, ae.style.right = `${window.innerWidth - he.right + 8}px`;
82848
82886
  } else
82849
- W.classList.add("hidden"), ae.classList.add("hidden");
82850
- W && (u.value || !i.value ? W.classList.add("hidden") : W.classList.remove("hidden")), ae && (l.value || !i.value ? ae.classList.add("hidden") : ae.classList.remove("hidden"));
82887
+ G.classList.add("hidden"), ae.classList.add("hidden");
82888
+ G && (u.value || !i.value ? G.classList.add("hidden") : G.classList.remove("hidden")), ae && (l.value || !i.value ? ae.classList.add("hidden") : ae.classList.remove("hidden"));
82851
82889
  }
82852
- }, ce = l9((W) => {
82853
- f.value = W;
82890
+ }, ce = l9((G) => {
82891
+ f.value = G;
82854
82892
  }, t.searchDelay);
82855
82893
  return Et(() => {
82856
82894
  d.value = document.querySelector('div[data-pc-section="wrapper"]'), C(), window.addEventListener("resize", C), window.addEventListener("scroll", T), $(), v.value || ie();
@@ -82868,7 +82906,7 @@ const dge = Oe({
82868
82906
  noResultsPath: c,
82869
82907
  scrollableElement: d,
82870
82908
  scrollLeft: ne,
82871
- scrollRight: Z,
82909
+ scrollRight: q,
82872
82910
  search: f,
82873
82911
  selectedRows: h,
82874
82912
  tableContainer: m,
@@ -82986,14 +83024,14 @@ function Sge(t, e, n, r, i, s) {
82986
83024
  color: "white"
82987
83025
  }, {
82988
83026
  text: Q(() => [
82989
- Re(K(t.filtersCount), 1)
83027
+ Le(Z(t.filtersCount), 1)
82990
83028
  ]),
82991
83029
  _: 1
82992
83030
  })) : P("", !0)
82993
83031
  ])
82994
83032
  ]),
82995
83033
  content: Q(() => [
82996
- Re(K(t.$t("HC_FILTERS")), 1)
83034
+ Le(Z(t.$t("HC_FILTERS")), 1)
82997
83035
  ]),
82998
83036
  _: 1
82999
83037
  })
@@ -83027,7 +83065,7 @@ function Sge(t, e, n, r, i, s) {
83027
83065
  key: 0,
83028
83066
  ref_for: !0
83029
83067
  }, h), () => [
83030
- f.key.match(/\./) ? (w(), k("div", bge, K(h[f.key.split(".")[0]][f.key.split(".")[1]]), 1)) : (w(), k("div", vge, K(h[f.key]), 1))
83068
+ f.key.match(/\./) ? (w(), k("div", bge, Z(h[f.key.split(".")[0]][f.key.split(".")[1]]), 1)) : (w(), k("div", vge, Z(h[f.key]), 1))
83031
83069
  ], !0)
83032
83070
  ]),
83033
83071
  _: 2
@@ -83158,7 +83196,7 @@ function Ege(t, e, n, r, i, s) {
83158
83196
  key: 1,
83159
83197
  for: String(t.$attrs.id),
83160
83198
  class: "placeholder"
83161
- }, K(t.placeholder), 9, Tge)) : P("", !0)
83199
+ }, Z(t.placeholder), 9, Tge)) : P("", !0)
83162
83200
  ], 2);
83163
83201
  }
83164
83202
  const o4e = /* @__PURE__ */ Ue(kge, [["render", Ege], ["__scopeId", "data-v-fda73545"]]), YM = "update:modelValue", QM = "undo-action", XM = "timeout-done", Ige = Oe({
@@ -83275,7 +83313,7 @@ function Nge(t, e, n, r, i, s) {
83275
83313
  }, null, 8, ["icon"])) : P("", !0),
83276
83314
  x("span", Dge, [
83277
83315
  H(t.$slots, "default", {}, () => [
83278
- Re(K(t.message), 1)
83316
+ Le(Z(t.message), 1)
83279
83317
  ], !0)
83280
83318
  ]),
83281
83319
  t.undoButton ? (w(), k("button", {
@@ -83284,7 +83322,7 @@ function Nge(t, e, n, r, i, s) {
83284
83322
  onClick: e[0] || (e[0] = (a) => t.undoAction())
83285
83323
  }, [
83286
83324
  H(t.$slots, "undo-message", {}, () => [
83287
- Re(K(t.$t("HC_UNDO")), 1)
83325
+ Le(Z(t.$t("HC_UNDO")), 1)
83288
83326
  ], !0)
83289
83327
  ])) : P("", !0),
83290
83328
  t.closeButton ? (w(), k("button", {
@@ -83343,25 +83381,25 @@ const a4e = /* @__PURE__ */ Ue(Ige, [["render", Nge], ["__scopeId", "data-v-3862
83343
83381
  for (const N of b) {
83344
83382
  const I = N === "t" || N === "b";
83345
83383
  let $ = m[N];
83346
- const [F, U] = I ? ["top", "left"] : ["left", "top"], [ne, Z] = I ? [h.height, h.width] : [h.width, h.height], [ie, re] = I ? [M, T] : [T, M], [q, ce] = I ? [C, E] : [E, C];
83347
- if (!($ < q || $ + ne + o > ie))
83348
- for (const W of S) {
83349
- let ae = y[(I ? "v" : "h") + W];
83350
- if (!(ae < ce || ae + Z + o > re)) {
83384
+ const [F, U] = I ? ["top", "left"] : ["left", "top"], [ne, q] = I ? [h.height, h.width] : [h.width, h.height], [ie, re] = I ? [M, T] : [T, M], [W, ce] = I ? [C, E] : [E, C];
83385
+ if (!($ < W || $ + ne + o > ie))
83386
+ for (const G of S) {
83387
+ let ae = y[(I ? "v" : "h") + G];
83388
+ if (!(ae < ce || ae + q + o > re)) {
83351
83389
  if (ae -= h[U], $ -= h[F], e.style[U] = `${ae}px`, e.style[F] = `${$}px`, i) {
83352
- const de = I ? f.width / 2 : f.height / 2, he = Z / 2, V = de > he, G = {
83390
+ const de = I ? f.width / 2 : f.height / 2, he = q / 2, V = de > he, K = {
83353
83391
  s: V ? he : de,
83354
83392
  m: he,
83355
- e: V ? he : Z - de
83393
+ e: V ? he : q - de
83356
83394
  }, te = {
83357
83395
  t: ne,
83358
83396
  b: 0,
83359
83397
  r: 0,
83360
83398
  l: ne
83361
- }, ee = ae + G[W], pe = $ + te[N];
83399
+ }, ee = ae + K[G], pe = $ + te[N];
83362
83400
  i.style[U] = `${ee}px`, i.style[F] = `${pe}px`;
83363
83401
  }
83364
- return N + W;
83402
+ return N + G;
83365
83403
  }
83366
83404
  }
83367
83405
  }
@@ -83477,9 +83515,9 @@ const a4e = /* @__PURE__ */ Ue(Ige, [["render", Nge], ["__scopeId", "data-v-3862
83477
83515
  },
83478
83516
  emits: ["onTourStart", "onTourStop", "onTourEnd", "onTourStep", "onTourSnooze"],
83479
83517
  setup(t, { emit: e, expose: n }) {
83480
- const r = `tour-${t.name}`, i = `${r}-tooltip`, s = `${r}-backdrop`, o = `${r}-arrow`, a = _(null), l = _(null), u = _(!1), c = _(/* @__PURE__ */ new Set()), d = Y(() => t.steps.filter((W) => {
83518
+ const r = `tour-${t.name}`, i = `${r}-tooltip`, s = `${r}-backdrop`, o = `${r}-arrow`, a = _(null), l = _(null), u = _(!1), c = _(/* @__PURE__ */ new Set()), d = Y(() => t.steps.filter((G) => {
83481
83519
  var ae;
83482
- return !((ae = W.skip) != null && ae.call(W));
83520
+ return !((ae = G.skip) != null && ae.call(G));
83483
83521
  })), f = zi({
83484
83522
  currentStep: 0,
83485
83523
  lastStep: 0,
@@ -83489,8 +83527,8 @@ const a4e = /* @__PURE__ */ Ue(Ige, [["render", Nge], ["__scopeId", "data-v-3862
83489
83527
  getNextStep: Y(() => d.value[f.nextStep])
83490
83528
  }), h = () => {
83491
83529
  try {
83492
- const W = localStorage.getItem(`tour-steps-${t.name}`);
83493
- W && (c.value = new Set(JSON.parse(W)));
83530
+ const G = localStorage.getItem(`tour-steps-${t.name}`);
83531
+ G && (c.value = new Set(JSON.parse(G)));
83494
83532
  } catch {
83495
83533
  localStorage.removeItem(`tour-steps-${t.name}`);
83496
83534
  }
@@ -83499,16 +83537,16 @@ const a4e = /* @__PURE__ */ Ue(Ige, [["render", Nge], ["__scopeId", "data-v-3862
83499
83537
  `tour-steps-${t.name}`,
83500
83538
  JSON.stringify([...c.value])
83501
83539
  );
83502
- }, y = (W) => {
83503
- c.value.add(W), m();
83540
+ }, y = (G) => {
83541
+ c.value.add(G), m();
83504
83542
  }, g = Y(() => f.currentStep === d.value.length - 1 ? t.buttonLabels.end : t.buttonLabels.next), v = () => {
83505
83543
  window.addEventListener("resize", ce), window.addEventListener("scroll", ce, !0);
83506
83544
  }, b = () => {
83507
83545
  window.removeEventListener("resize", ce), window.removeEventListener("scroll", ce, !0);
83508
83546
  }, S = async () => {
83509
83547
  h(), t.beforeStartTour && await t.beforeStartTour();
83510
- const W = localStorage.getItem(`tour-current-${t.name}`);
83511
- t.saveProgress && W ? f.currentStep = parseInt(W || "0") : f.currentStep = 0;
83548
+ const G = localStorage.getItem(`tour-current-${t.name}`);
83549
+ t.saveProgress && G ? f.currentStep = parseInt(G || "0") : f.currentStep = 0;
83512
83550
  const ae = async () => {
83513
83551
  if (await F(f.currentStep), !a.value) {
83514
83552
  const de = document.querySelector(
@@ -83527,12 +83565,12 @@ const a4e = /* @__PURE__ */ Ue(Ige, [["render", Nge], ["__scopeId", "data-v-3862
83527
83565
  };
83528
83566
  t.autoStart ? setTimeout(ae, t.startDelay) : ae(), e("onTourStart");
83529
83567
  }, C = async () => {
83530
- var W, ae;
83531
- f.currentStep < d.value.length && f.getCurrentStep.onAfter && await f.getCurrentStep.onAfter(), t.backdrop && ((W = document.querySelector(`#${s}`)) == null || W.setAttribute("data-hidden", "")), (t.highlight || f.getLastStep.highlight) && document.querySelectorAll(".tour-highlight").forEach(
83568
+ var G, ae;
83569
+ f.currentStep < d.value.length && f.getCurrentStep.onAfter && await f.getCurrentStep.onAfter(), t.backdrop && ((G = document.querySelector(`#${s}`)) == null || G.setAttribute("data-hidden", "")), (t.highlight || f.getLastStep.highlight) && document.querySelectorAll(".tour-highlight").forEach(
83532
83570
  (de) => de.classList.remove("tour-highlight")
83533
83571
  ), (ae = l.value) == null || ae.setAttribute("data-hidden", ""), b(), e("onTourStop");
83534
- }, E = (W) => {
83535
- C(), f.currentStep = 0, f.lastStep = 0, f.nextStep = 1, c.value.clear(), localStorage.removeItem(`tour-steps-${t.name}`), localStorage.removeItem(`tour-current-${t.name}`), localStorage.removeItem("tour-" + t.name), W && S();
83572
+ }, E = (G) => {
83573
+ C(), f.currentStep = 0, f.lastStep = 0, f.nextStep = 1, c.value.clear(), localStorage.removeItem(`tour-steps-${t.name}`), localStorage.removeItem(`tour-current-${t.name}`), localStorage.removeItem("tour-" + t.name), G && S();
83536
83574
  }, M = async () => {
83537
83575
  if (f.getCurrentStep.onAfter && await f.getCurrentStep.onAfter(), f.lastStep = f.currentStep, f.currentStep++, f.currentStep >= d.value.length) {
83538
83576
  I();
@@ -83543,8 +83581,8 @@ const a4e = /* @__PURE__ */ Ue(Ige, [["render", Nge], ["__scopeId", "data-v-3862
83543
83581
  f.currentStep.toString()
83544
83582
  ), U();
83545
83583
  }, T = async () => {
83546
- var W, ae;
83547
- if (await ((ae = (W = f.getCurrentStep).onAfter) == null ? void 0 : ae.call(W)), await F(f.lastStep), f.currentStep = f.lastStep, f.lastStep--, f.lastStep < 0 && (f.lastStep = 0), f.currentStep < 0) {
83584
+ var G, ae;
83585
+ if (await ((ae = (G = f.getCurrentStep).onAfter) == null ? void 0 : ae.call(G)), await F(f.lastStep), f.currentStep = f.lastStep, f.lastStep--, f.lastStep < 0 && (f.lastStep = 0), f.currentStep < 0) {
83548
83586
  I();
83549
83587
  return;
83550
83588
  }
@@ -83556,19 +83594,19 @@ const a4e = /* @__PURE__ */ Ue(Ige, [["render", Nge], ["__scopeId", "data-v-3862
83556
83594
  C(), e("onTourSnooze");
83557
83595
  }, I = () => {
83558
83596
  C(), u.value = !1, e("onTourEnd");
83559
- }, $ = async (W) => {
83560
- await F(W), f.currentStep = W, f.lastStep = W - 1, f.lastStep < 0 && (f.lastStep = 0), f.nextStep = W + 1, y(W), t.saveProgress && localStorage.setItem(
83597
+ }, $ = async (G) => {
83598
+ await F(G), f.currentStep = G, f.lastStep = G - 1, f.lastStep < 0 && (f.lastStep = 0), f.nextStep = G + 1, y(G), t.saveProgress && localStorage.setItem(
83561
83599
  `tour-current-${t.name}`,
83562
- W.toString()
83600
+ G.toString()
83563
83601
  ), U();
83564
- }, F = async (W) => {
83565
- var de, he, V, G;
83602
+ }, F = async (G) => {
83603
+ var de, he, V, K;
83566
83604
  document.querySelectorAll(".tour-highlight").forEach((te) => te.classList.remove("tour-highlight"));
83567
83605
  const ae = document.querySelector(`#${s}`);
83568
- ae && (ae.style.clipPath = ""), (de = l.value) == null || de.setAttribute("data-hidden", ""), await ((V = (he = d.value[W]) == null ? void 0 : he.onBefore) == null ? void 0 : V.call(he)), (G = l.value) == null || G.removeAttribute("data-hidden");
83606
+ ae && (ae.style.clipPath = ""), (de = l.value) == null || de.setAttribute("data-hidden", ""), await ((V = (he = d.value[G]) == null ? void 0 : he.onBefore) == null ? void 0 : V.call(he)), (K = l.value) == null || K.removeAttribute("data-hidden");
83569
83607
  }, U = async () => {
83570
- var G, te, ee, pe, Me;
83571
- if (ne(), Z(), (G = l.value) == null || G.setAttribute("data-hidden", ""), f.getCurrentStep.tooltipWidth ? (te = l.value) == null || te.style.setProperty("width", f.getCurrentStep.tooltipWidth) : (ee = l.value) == null || ee.style.removeProperty("width"), !t.noScroll && !f.getCurrentStep.noScroll) {
83608
+ var K, te, ee, pe, Me;
83609
+ if (ne(), q(), (K = l.value) == null || K.setAttribute("data-hidden", ""), f.getCurrentStep.tooltipWidth ? (te = l.value) == null || te.style.setProperty("width", f.getCurrentStep.tooltipWidth) : (ee = l.value) == null || ee.style.removeProperty("width"), !t.noScroll && !f.getCurrentStep.noScroll) {
83572
83610
  const ve = document.querySelector(
83573
83611
  f.getCurrentStep.target
83574
83612
  );
@@ -83581,21 +83619,21 @@ const a4e = /* @__PURE__ */ Ue(Ige, [["render", Nge], ["__scopeId", "data-v-3862
83581
83619
  }
83582
83620
  }
83583
83621
  (pe = l.value) == null || pe.removeAttribute("data-hidden");
83584
- const W = document.querySelector(
83622
+ const G = document.querySelector(
83585
83623
  f.getCurrentStep.target
83586
83624
  );
83587
- if (!W || !l.value)
83625
+ if (!G || !l.value)
83588
83626
  return;
83589
83627
  (f.getCurrentStep.fixedPositioning !== void 0 ? f.getCurrentStep.fixedPositioning : t.fixedPositioning) ? l.value.style.position = "fixed" : l.value.style.position = "";
83590
83628
  const de = f.getCurrentStep.placement || "right", he = ((Me = a.value) == null ? void 0 : Me.update({
83591
- reference: W,
83629
+ reference: G,
83592
83630
  position: de,
83593
83631
  margin: f.getCurrentStep.margin !== void 0 ? f.getCurrentStep.margin : t.margin || 8
83594
83632
  })) || de;
83595
83633
  l.value.setAttribute("data-arrow", he);
83596
83634
  const V = document.querySelector(`#${o}`);
83597
83635
  if (V) {
83598
- const ve = W.getBoundingClientRect(), be = l.value.getBoundingClientRect(), _e = ve.left + ve.width / 2, qe = ve.top + ve.height / 2;
83636
+ const ve = G.getBoundingClientRect(), be = l.value.getBoundingClientRect(), _e = ve.left + ve.width / 2, qe = ve.top + ve.height / 2;
83599
83637
  if (V.style.left = "", V.style.top = "", V.style.right = "", V.style.bottom = "", V.style.transform = "", he.startsWith("t")) {
83600
83638
  const ct = _e - be.left;
83601
83639
  V.style.left = `${Math.max(10, Math.min(be.width - 10, ct))}px`, V.style.bottom = "-5px", V.style.transform = "translateX(-50%)";
@@ -83622,32 +83660,32 @@ const a4e = /* @__PURE__ */ Ue(Ige, [["render", Nge], ["__scopeId", "data-v-3862
83622
83660
  f.getCurrentStep.target
83623
83661
  );
83624
83662
  ae == null || ae.classList.add("tour-highlight");
83625
- }, Z = () => {
83626
- const W = document.querySelector(`#${s}`), ae = W == null ? void 0 : W.querySelector(".tour-highlight-outline");
83627
- if (!t.backdrop || !W) {
83628
- W == null || W.setAttribute("data-hidden", "");
83663
+ }, q = () => {
83664
+ const G = document.querySelector(`#${s}`), ae = G == null ? void 0 : G.querySelector(".tour-highlight-outline");
83665
+ if (!t.backdrop || !G) {
83666
+ G == null || G.setAttribute("data-hidden", "");
83629
83667
  return;
83630
83668
  }
83631
83669
  const de = document.querySelector(
83632
83670
  f.getCurrentStep.target
83633
83671
  );
83634
83672
  if (!de) {
83635
- W.setAttribute("data-hidden", "");
83673
+ G.setAttribute("data-hidden", "");
83636
83674
  return;
83637
83675
  }
83638
- const he = de.getBoundingClientRect(), V = f.getCurrentStep.clipPaddingHorizontal ?? f.getCurrentStep.clipPadding ?? 0, G = f.getCurrentStep.clipPaddingVertical ?? f.getCurrentStep.clipPadding ?? 0, te = t.outlineWidth ?? 4, ee = f.getCurrentStep.clipWidth ?? he.width, pe = f.getCurrentStep.clipHeight ?? he.height, Me = f.getCurrentStep.clipAlign ?? "center";
83676
+ const he = de.getBoundingClientRect(), V = f.getCurrentStep.clipPaddingHorizontal ?? f.getCurrentStep.clipPadding ?? 0, K = f.getCurrentStep.clipPaddingVertical ?? f.getCurrentStep.clipPadding ?? 0, te = t.outlineWidth ?? 4, ee = f.getCurrentStep.clipWidth ?? he.width, pe = f.getCurrentStep.clipHeight ?? he.height, Me = f.getCurrentStep.clipAlign ?? "center";
83639
83677
  let ve, be;
83640
83678
  Me === "left" ? ve = he.left : Me === "right" ? ve = he.right - ee : ve = he.left + he.width / 2 - ee / 2, Me === "top" ? be = he.top : Me === "bottom" ? be = he.bottom - pe : be = he.top + he.height / 2 - pe / 2;
83641
- const _e = ve + ee, qe = be + pe, ct = `path('M 0,0 L 0,${window.innerHeight} L ${window.innerWidth},${window.innerHeight} L ${window.innerWidth},0 Z M ${ve - V},${be - G} L ${_e + V},${be - G} L ${_e + V},${qe + G} L ${ve - V},${qe + G} Z')`, an = `path('M ${ve - V - te},${be - G - te} L ${_e + V + te},${be - G - te} L ${_e + V + te},${qe + G + te} L ${ve - V - te},${qe + G + te} Z')`;
83642
- W.style.clipPath = ct, t.highlight && f.getCurrentStep.highlight !== !1 ? ae.style.clipPath = an : ae.style.clipPath = "none", W.removeAttribute("data-hidden");
83679
+ const _e = ve + ee, qe = be + pe, ct = `path('M 0,0 L 0,${window.innerHeight} L ${window.innerWidth},${window.innerHeight} L ${window.innerWidth},0 Z M ${ve - V},${be - K} L ${_e + V},${be - K} L ${_e + V},${qe + K} L ${ve - V},${qe + K} Z')`, an = `path('M ${ve - V - te},${be - K - te} L ${_e + V + te},${be - K - te} L ${_e + V + te},${qe + K + te} L ${ve - V - te},${qe + K + te} Z')`;
83680
+ G.style.clipPath = ct, t.highlight && f.getCurrentStep.highlight !== !1 ? ae.style.clipPath = an : ae.style.clipPath = "none", G.removeAttribute("data-hidden");
83643
83681
  }, ie = () => {
83644
83682
  u.value = !u.value;
83645
- }, re = (W) => {
83646
- u.value = !1, localStorage.setItem(`tour-current-${t.name}`, W.toString()), S();
83647
- }, q = (W) => c.value.has(W), ce = () => {
83683
+ }, re = (G) => {
83684
+ u.value = !1, localStorage.setItem(`tour-current-${t.name}`, G.toString()), S();
83685
+ }, W = (G) => c.value.has(G), ce = () => {
83648
83686
  if (f.getCurrentStep) {
83649
- const W = f.getCurrentStep.fixedPositioning !== void 0 ? f.getCurrentStep.fixedPositioning : t.fixedPositioning;
83650
- Z(), ne(), W ? U() : window.requestAnimationFrame(() => {
83687
+ const G = f.getCurrentStep.fixedPositioning !== void 0 ? f.getCurrentStep.fixedPositioning : t.fixedPositioning;
83688
+ q(), ne(), G ? U() : window.requestAnimationFrame(() => {
83651
83689
  U();
83652
83690
  });
83653
83691
  }
@@ -83685,7 +83723,7 @@ const a4e = /* @__PURE__ */ Ue(Ige, [["render", Nge], ["__scopeId", "data-v-3862
83685
83723
  showPopover: u,
83686
83724
  togglePopover: ie,
83687
83725
  startStepFromPopover: re,
83688
- isStepViewed: q,
83726
+ isStepViewed: W,
83689
83727
  visibleSteps: d,
83690
83728
  viewedSteps: c
83691
83729
  };
@@ -83723,7 +83761,7 @@ function t5e(t, e, n, r, i, s) {
83723
83761
  class: "hide-button",
83724
83762
  onClick: e[1] || (e[1] = (...l) => t.togglePopover && t.togglePopover(...l))
83725
83763
  }, [
83726
- x("span", Fge, K(t.$t("HC_HIDE")), 1),
83764
+ x("span", Fge, Z(t.$t("HC_HIDE")), 1),
83727
83765
  R(o, {
83728
83766
  icon: "close",
83729
83767
  type: "",
@@ -83756,21 +83794,21 @@ function t5e(t, e, n, r, i, s) {
83756
83794
  class: B(["step-item", { viewed: t.isStepViewed(u) }])
83757
83795
  }, [
83758
83796
  x("div", null, [
83759
- x("span", jge, K(u + 1) + ".", 1),
83760
- e[7] || (e[7] = Re()),
83761
- x("span", Hge, K(l.title), 1)
83797
+ x("span", jge, Z(u + 1) + ".", 1),
83798
+ e[7] || (e[7] = Le()),
83799
+ x("span", Hge, Z(l.title), 1)
83762
83800
  ]),
83763
83801
  x("button", {
83764
83802
  class: B(["step-button", { viewed: t.isStepViewed(u) }]),
83765
83803
  onClick: (c) => t.startStepFromPopover(u)
83766
- }, K(t.isStepViewed(u) ? t.$t("HC_OPEN") : t.$t("HC_START")), 11, zge)
83804
+ }, Z(t.isStepViewed(u) ? t.$t("HC_OPEN") : t.$t("HC_START")), 11, zge)
83767
83805
  ], 2))), 128))
83768
83806
  ]),
83769
83807
  t.props.hideCTA ? P("", !0) : (w(), k("div", Uge, [
83770
83808
  x("button", {
83771
83809
  class: "text-blue-10 text-center mt-5",
83772
83810
  onClick: e[2] || (e[2] = (l) => t.endTour())
83773
- }, K(t.$t("HC_I_DONT_NEED_HELP")), 1)
83811
+ }, Z(t.$t("HC_I_DONT_NEED_HELP")), 1)
83774
83812
  ]))
83775
83813
  ])) : P("", !0)
83776
83814
  ]),
@@ -83806,7 +83844,7 @@ function t5e(t, e, n, r, i, s) {
83806
83844
  H(t.$slots, "header", {
83807
83845
  currentStep: t._CurrentStep.getCurrentStep
83808
83846
  }, () => [
83809
- x("div", Wge, K(t._CurrentStep.getCurrentStep.title), 1)
83847
+ x("div", Wge, Z(t._CurrentStep.getCurrentStep.title), 1)
83810
83848
  ]),
83811
83849
  H(t.$slots, "body", {
83812
83850
  currentStep: t._CurrentStep.getCurrentStep
@@ -83830,7 +83868,7 @@ function t5e(t, e, n, r, i, s) {
83830
83868
  key: 0,
83831
83869
  class: "snooze-button",
83832
83870
  onClick: e[4] || (e[4] = at((l) => t.snoozeTour(), ["prevent"]))
83833
- }, K(t.props.buttonLabels.snooze), 1)),
83871
+ }, Z(t.props.buttonLabels.snooze), 1)),
83834
83872
  x("div", Qge, [
83835
83873
  (w(!0), k(me, null, Ie(t.visibleSteps, (l, u) => (w(), k("button", {
83836
83874
  key: u,
@@ -83844,11 +83882,11 @@ function t5e(t, e, n, r, i, s) {
83844
83882
  key: 0,
83845
83883
  class: "back-button",
83846
83884
  onClick: e[5] || (e[5] = at((l) => t.lastStep(), ["prevent"]))
83847
- }, K(t.props.buttonLabels.back), 1)) : P("", !0),
83885
+ }, Z(t.props.buttonLabels.back), 1)) : P("", !0),
83848
83886
  x("button", {
83849
83887
  class: "next-button",
83850
83888
  onClick: e[6] || (e[6] = at((l) => t.nextStep(), ["prevent"]))
83851
- }, K(t.getNextLabel), 1)
83889
+ }, Z(t.getNextLabel), 1)
83852
83890
  ])
83853
83891
  ])
83854
83892
  ])