@quoreadmin/ui 1.0.4 → 1.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1444,10 +1444,10 @@ let ak = JM.RenderStrategy, ML = xe({ props: { as: { type: [Object, String], def
1444
1444
  });
1445
1445
  function W(te) {
1446
1446
  let re = v.value && !h.value, H = xw(c);
1447
- !H || !(H instanceof HTMLElement) || re || (S.value = !0, f.value && o(), f.value || l(), te(f.value ? Dw(H, E, M, A, N, (G) => {
1448
- S.value = !1, G === uv.Finished && a();
1449
- }) : Dw(H, O, $, R, N, (G) => {
1450
- S.value = !1, G === uv.Finished && (Z3(w) || (y.value = "hidden", g(b), u()));
1447
+ !H || !(H instanceof HTMLElement) || re || (S.value = !0, f.value && o(), f.value || l(), te(f.value ? Dw(H, E, M, A, N, (K) => {
1448
+ S.value = !1, K === uv.Finished && a();
1449
+ }) : Dw(H, O, $, R, N, (K) => {
1450
+ S.value = !1, K === uv.Finished && (Z3(w) || (y.value = "hidden", g(b), u()));
1451
1451
  })));
1452
1452
  }
1453
1453
  return Ct(() => {
@@ -1455,8 +1455,8 @@ let ak = JM.RenderStrategy, ML = xe({ props: { as: { type: [Object, String], def
1455
1455
  W(H), v.value = !1;
1456
1456
  }, { immediate: !0 });
1457
1457
  }), ga(s6, w), mL(Q(() => Mf(y.value, { visible: _o.Open, hidden: _o.Closed }) | s.value)), () => {
1458
- let { appear: te, show: re, enter: H, enterFrom: G, enterTo: V, entered: Z, leave: ne, leaveFrom: le, leaveTo: ye, ...ue } = n, ee = { ref: c }, K = { ...ue, ...h.value && f.value && fL.isServer ? { class: j([t.class, ue.class, ...E, ...M]) } : {} };
1459
- return ek({ theirProps: K, ourProps: ee, slot: {}, slots: r, attrs: t, features: ak, visible: y.value === "visible", name: "TransitionChild" });
1458
+ let { appear: te, show: re, enter: H, enterFrom: K, enterTo: V, entered: q, leave: ne, leaveFrom: ue, leaveTo: ge, ...le } = n, J = { ref: c }, G = { ...le, ...h.value && f.value && fL.isServer ? { class: j([t.class, le.class, ...E, ...M]) } : {} };
1459
+ return ek({ theirProps: G, ourProps: J, slot: {}, slots: r, attrs: t, features: ak, visible: y.value === "visible", name: "TransitionChild" });
1460
1460
  };
1461
1461
  } }), kL = ML, lk = xe({ 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(n, { emit: e, attrs: t, slots: r }) {
1462
1462
  let i = sk(), s = Q(() => n.show === null && i !== null ? (i.value & _o.Open) === _o.Open : n.show);
@@ -1970,8 +1970,8 @@ function cv(n, e = {}) {
1970
1970
  $ === "flex" && R === "row-reverse" ? (v.left = re, v.right = te) : (v.left = te, v.right = re), d.value = W;
1971
1971
  let H = O.scrollTop;
1972
1972
  A === u.document && !H && (H = u.document.body.scrollTop), b.top = H < f.value, b.bottom = H > f.value;
1973
- const G = Math.abs(H) <= (o.top || 0), V = Math.abs(H) + O.clientHeight >= O.scrollHeight - (o.bottom || 0) - Pw;
1974
- $ === "flex" && R === "column-reverse" ? (v.top = V, v.bottom = G) : (v.top = G, v.bottom = V), f.value = H;
1973
+ const K = Math.abs(H) <= (o.top || 0), V = Math.abs(H) + O.clientHeight >= O.scrollHeight - (o.bottom || 0) - Pw;
1974
+ $ === "flex" && R === "column-reverse" ? (v.top = V, v.bottom = K) : (v.top = K, v.bottom = V), f.value = H;
1975
1975
  }, M = (A) => {
1976
1976
  var N;
1977
1977
  if (!u)
@@ -4885,7 +4885,7 @@ function af(n) {
4885
4885
  return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
4886
4886
  }, af(n);
4887
4887
  }
4888
- var J = {
4888
+ var ee = {
4889
4889
  equals: function(e, t, r) {
4890
4890
  return r ? this.resolveFieldData(e, r) === this.resolveFieldData(t, r) : this.deepEquals(e, t);
4891
4891
  },
@@ -5220,7 +5220,7 @@ var U2 = /* @__PURE__ */ function() {
5220
5220
  key: "get",
5221
5221
  value: function(t, r) {
5222
5222
  var i = this._get(t, r), s = i ? this._recursive(iF(this.helpers), i) : null;
5223
- return J.isNotEmpty(s) ? s : null;
5223
+ return ee.isNotEmpty(s) ? s : null;
5224
5224
  }
5225
5225
  }, {
5226
5226
  key: "_isMatched",
@@ -5239,7 +5239,7 @@ var U2 = /* @__PURE__ */ function() {
5239
5239
  value: function() {
5240
5240
  var t = this, r = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [], s = [];
5241
5241
  return i.forEach(function(o) {
5242
- o.children instanceof Array ? s = s.concat(t._recursive(s, o.children)) : o.type.name === t.type ? s.push(o) : J.isNotEmpty(o.key) && (s = s.concat(r.filter(function(a) {
5242
+ o.children instanceof Array ? s = s.concat(t._recursive(s, o.children)) : o.type.name === t.type ? s.push(o) : ee.isNotEmpty(o.key) && (s = s.concat(r.filter(function(a) {
5243
5243
  return t._isMatched(a, o.key);
5244
5244
  }).map(function(a) {
5245
5245
  return a.vnode;
@@ -5378,8 +5378,8 @@ function nA(n) {
5378
5378
  id: re,
5379
5379
  media: v,
5380
5380
  nonce: H
5381
- }), a.head.appendChild(i.value), B.setAttribute(i.value, "data-primevue-style-id", h), B.setAttributes(i.value, W)), !t.value && (M = ct(r, function(G) {
5382
- i.value.textContent = G;
5381
+ }), a.head.appendChild(i.value), B.setAttribute(i.value, "data-primevue-style-id", h), B.setAttributes(i.value, W)), !t.value && (M = ct(r, function(K) {
5382
+ i.value.textContent = K;
5383
5383
  }, {
5384
5384
  immediate: !0
5385
5385
  }), t.value = !0);
@@ -5621,22 +5621,22 @@ function jF(n, e) {
5621
5621
  }
5622
5622
  var ot = {
5623
5623
  _getMeta: function() {
5624
- return [J.isObject(arguments.length <= 0 ? void 0 : arguments[0]) || arguments.length <= 0 ? void 0 : arguments[0], J.getItemValue(J.isObject(arguments.length <= 0 ? void 0 : arguments[0]) ? arguments.length <= 0 ? void 0 : arguments[0] : arguments.length <= 1 ? void 0 : arguments[1])];
5624
+ return [ee.isObject(arguments.length <= 0 ? void 0 : arguments[0]) || arguments.length <= 0 ? void 0 : arguments[0], ee.getItemValue(ee.isObject(arguments.length <= 0 ? void 0 : arguments[0]) ? arguments.length <= 0 ? void 0 : arguments[0] : arguments.length <= 1 ? void 0 : arguments[1])];
5625
5625
  },
5626
5626
  _getConfig: function(e, t) {
5627
5627
  var r, i, s;
5628
5628
  return (r = (e == null || (i = e.instance) === null || i === void 0 ? void 0 : i.$primevue) || (t == null || (s = t.ctx) === null || s === void 0 || (s = s.appContext) === null || s === void 0 || (s = s.config) === null || s === void 0 || (s = s.globalProperties) === null || s === void 0 ? void 0 : s.$primevue)) === null || r === void 0 ? void 0 : r.config;
5629
5629
  },
5630
5630
  _getOptionValue: function(e) {
5631
- var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "", r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, i = J.toFlatCase(t).split("."), s = i.shift();
5632
- return s ? J.isObject(e) ? ot._getOptionValue(J.getItemValue(e[Object.keys(e).find(function(o) {
5633
- return J.toFlatCase(o) === s;
5634
- }) || ""], r), i.join("."), r) : void 0 : J.getItemValue(e, r);
5631
+ var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "", r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, i = ee.toFlatCase(t).split("."), s = i.shift();
5632
+ return s ? ee.isObject(e) ? ot._getOptionValue(ee.getItemValue(e[Object.keys(e).find(function(o) {
5633
+ return ee.toFlatCase(o) === s;
5634
+ }) || ""], r), i.join("."), r) : void 0 : ee.getItemValue(e, r);
5635
5635
  },
5636
5636
  _getPTValue: function() {
5637
5637
  var e, t, r = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, s = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : "", o = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {}, a = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !0, l = function() {
5638
5638
  var b = ot._getOptionValue.apply(ot, arguments);
5639
- return J.isString(b) || J.isArray(b) ? {
5639
+ return ee.isString(b) || ee.isArray(b) ? {
5640
5640
  class: b
5641
5641
  } : b;
5642
5642
  }, u = ((e = r.binding) === null || e === void 0 || (e = e.value) === null || e === void 0 ? void 0 : e.ptOptions) || ((t = r.$config) === null || t === void 0 ? void 0 : t.ptOptions) || {}, c = u.mergeSections, d = c === void 0 ? !0 : c, f = u.mergeProps, h = f === void 0 ? !1 : f, m = a ? ot._useDefaultPT(r, r.defaultPT(), l, s, o) : void 0, g = ot._usePT(r, ot._getPT(i, r.$name), l, s, Bt(Bt({}, o), {}, {
@@ -5646,11 +5646,11 @@ var ot = {
5646
5646
  },
5647
5647
  _getPTDatasets: function() {
5648
5648
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "", r = "data-pc-";
5649
- return Bt(Bt({}, t === "root" && Mv({}, "".concat(r, "name"), J.toFlatCase(e.$name))), {}, Mv({}, "".concat(r, "section"), J.toFlatCase(t)));
5649
+ return Bt(Bt({}, t === "root" && Mv({}, "".concat(r, "name"), ee.toFlatCase(e.$name))), {}, Mv({}, "".concat(r, "section"), ee.toFlatCase(t)));
5650
5650
  },
5651
5651
  _getPT: function(e) {
5652
5652
  var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "", r = arguments.length > 2 ? arguments[2] : void 0, i = function(o) {
5653
- var a, l = r ? r(o) : o, u = J.toFlatCase(t);
5653
+ var a, l = r ? r(o) : o, u = ee.toFlatCase(t);
5654
5654
  return (a = l == null ? void 0 : l[u]) !== null && a !== void 0 ? a : l;
5655
5655
  };
5656
5656
  return e != null && e.hasOwnProperty("_usept") ? {
@@ -5665,7 +5665,7 @@ var ot = {
5665
5665
  };
5666
5666
  if (t != null && t.hasOwnProperty("_usept")) {
5667
5667
  var a, l = t._usept || ((a = e.$config) === null || a === void 0 ? void 0 : a.ptOptions) || {}, u = l.mergeSections, c = u === void 0 ? !0 : u, d = l.mergeProps, f = d === void 0 ? !1 : d, h = o(t.originalValue), m = o(t.value);
5668
- return h === void 0 && m === void 0 ? void 0 : J.isString(m) ? m : J.isString(h) ? h : c || !c && m ? f ? ot._mergeProps(e, f, h, m) : Bt(Bt({}, h), m) : m;
5668
+ return h === void 0 && m === void 0 ? void 0 : ee.isString(m) ? m : ee.isString(h) ? h : c || !c && m ? f ? ot._mergeProps(e, f, h, m) : Bt(Bt({}, h), m) : m;
5669
5669
  }
5670
5670
  return o(t);
5671
5671
  },
@@ -5674,7 +5674,7 @@ var ot = {
5674
5674
  return ot._usePT(e, t, r, i, s);
5675
5675
  },
5676
5676
  _hook: function(e, t, r, i, s, o) {
5677
- var a, l, u = "on".concat(J.toCapitalCase(t)), c = ot._getConfig(i, s), d = r == null ? void 0 : r.$instance, f = ot._usePT(d, ot._getPT(i == null || (a = i.value) === null || a === void 0 ? void 0 : a.pt, e), ot._getOptionValue, "hooks.".concat(u)), h = ot._useDefaultPT(d, c == null || (l = c.pt) === null || l === void 0 || (l = l.directives) === null || l === void 0 ? void 0 : l[e], ot._getOptionValue, "hooks.".concat(u)), m = {
5677
+ var a, l, u = "on".concat(ee.toCapitalCase(t)), c = ot._getConfig(i, s), d = r == null ? void 0 : r.$instance, f = ot._usePT(d, ot._getPT(i == null || (a = i.value) === null || a === void 0 ? void 0 : a.pt, e), ot._getOptionValue, "hooks.".concat(u)), h = ot._useDefaultPT(d, c == null || (l = c.pt) === null || l === void 0 || (l = l.directives) === null || l === void 0 ? void 0 : l[e], ot._getOptionValue, "hooks.".concat(u)), m = {
5678
5678
  el: r,
5679
5679
  binding: i,
5680
5680
  vnode: s,
@@ -5685,13 +5685,13 @@ var ot = {
5685
5685
  _mergeProps: function() {
5686
5686
  for (var e = arguments.length > 1 ? arguments[1] : void 0, t = arguments.length, r = new Array(t > 2 ? t - 2 : 0), i = 2; i < t; i++)
5687
5687
  r[i - 2] = arguments[i];
5688
- return J.isFunction(e) ? e.apply(void 0, r) : D.apply(void 0, r);
5688
+ return ee.isFunction(e) ? e.apply(void 0, r) : D.apply(void 0, r);
5689
5689
  },
5690
5690
  _extend: function(e) {
5691
5691
  var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = function(s, o, a, l, u) {
5692
5692
  var c, d;
5693
5693
  o._$instances = o._$instances || {};
5694
- var f = ot._getConfig(a, l), h = o._$instances[e] || {}, m = J.isEmpty(h) ? Bt(Bt({}, t), t == null ? void 0 : t.methods) : {};
5694
+ var f = ot._getConfig(a, l), h = o._$instances[e] || {}, m = ee.isEmpty(h) ? Bt(Bt({}, t), t == null ? void 0 : t.methods) : {};
5695
5695
  o._$instances[e] = Bt(Bt({}, h), {}, {
5696
5696
  /* new instance variables to pass in directive methods */
5697
5697
  $name: e,
@@ -6096,11 +6096,11 @@ var Ue = {
6096
6096
  _mergeProps: function(e) {
6097
6097
  for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), i = 1; i < t; i++)
6098
6098
  r[i - 1] = arguments[i];
6099
- return J.isFunction(e) ? e.apply(void 0, r) : D.apply(void 0, r);
6099
+ return ee.isFunction(e) ? e.apply(void 0, r) : D.apply(void 0, r);
6100
6100
  },
6101
6101
  _loadGlobalStyles: function() {
6102
6102
  var e, t = this._useGlobalPT(this._getOptionValue, "global.css", this.$params);
6103
- J.isNotEmpty(t) && X5.loadGlobalStyle(t, {
6103
+ ee.isNotEmpty(t) && X5.loadGlobalStyle(t, {
6104
6104
  nonce: (e = this.$config) === null || e === void 0 || (e = e.csp) === null || e === void 0 ? void 0 : e.nonce
6105
6105
  });
6106
6106
  },
@@ -6112,10 +6112,10 @@ var Ue = {
6112
6112
  return this[e] || ((t = this._getHostInstance(this)) === null || t === void 0 ? void 0 : t[e]);
6113
6113
  },
6114
6114
  _getOptionValue: function(e) {
6115
- var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "", r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, i = J.toFlatCase(t).split("."), s = i.shift();
6116
- return s ? J.isObject(e) ? this._getOptionValue(J.getItemValue(e[Object.keys(e).find(function(o) {
6117
- return J.toFlatCase(o) === s;
6118
- }) || ""], r), i.join("."), r) : void 0 : J.getItemValue(e, r);
6115
+ var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "", r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, i = ee.toFlatCase(t).split("."), s = i.shift();
6116
+ return s ? ee.isObject(e) ? this._getOptionValue(ee.getItemValue(e[Object.keys(e).find(function(o) {
6117
+ return ee.toFlatCase(o) === s;
6118
+ }) || ""], r), i.join("."), r) : void 0 : ee.getItemValue(e, r);
6119
6119
  },
6120
6120
  _getPTValue: function() {
6121
6121
  var e, t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "", i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, s = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : !0, o = /./g.test(r) && !!i[r.split(".")[0]], a = this._getPropValue("ptOptions") || ((e = this.$config) === null || e === void 0 ? void 0 : e.ptOptions) || {}, l = a.mergeSections, u = l === void 0 ? !0 : l, c = a.mergeProps, d = c === void 0 ? !1 : c, f = s ? o ? this._useGlobalPT(this._getPTClassValue, r, i) : this._useDefaultPT(this._getPTClassValue, r, i) : void 0, h = o ? void 0 : this._getPTSelf(t, this._getPTClassValue, r, Dt(Dt({}, i), {}, {
@@ -6134,18 +6134,18 @@ var Ue = {
6134
6134
  );
6135
6135
  },
6136
6136
  _getPTDatasets: function() {
6137
- var e, t, r = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", i = "data-pc-", s = r === "root" && J.isNotEmpty((e = this.pt) === null || e === void 0 ? void 0 : e["data-pc-section"]);
6138
- return r !== "transition" && Dt(Dt({}, r === "root" && Dt(ym({}, "".concat(i, "name"), J.toFlatCase(s ? (t = this.pt) === null || t === void 0 ? void 0 : t["data-pc-section"] : this.$.type.name)), s && ym({}, "".concat(i, "extend"), J.toFlatCase(this.$.type.name)))), {}, ym({}, "".concat(i, "section"), J.toFlatCase(r)));
6137
+ var e, t, r = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", i = "data-pc-", s = r === "root" && ee.isNotEmpty((e = this.pt) === null || e === void 0 ? void 0 : e["data-pc-section"]);
6138
+ return r !== "transition" && Dt(Dt({}, r === "root" && Dt(ym({}, "".concat(i, "name"), ee.toFlatCase(s ? (t = this.pt) === null || t === void 0 ? void 0 : t["data-pc-section"] : this.$.type.name)), s && ym({}, "".concat(i, "extend"), ee.toFlatCase(this.$.type.name)))), {}, ym({}, "".concat(i, "section"), ee.toFlatCase(r)));
6139
6139
  },
6140
6140
  _getPTClassValue: function() {
6141
6141
  var e = this._getOptionValue.apply(this, arguments);
6142
- return J.isString(e) || J.isArray(e) ? {
6142
+ return ee.isString(e) || ee.isArray(e) ? {
6143
6143
  class: e
6144
6144
  } : e;
6145
6145
  },
6146
6146
  _getPT: function(e) {
6147
6147
  var t = this, r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "", i = arguments.length > 2 ? arguments[2] : void 0, s = function(a) {
6148
- var l, u = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, c = i ? i(a) : a, d = J.toFlatCase(r), f = J.toFlatCase(t.$name);
6148
+ var l, u = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, c = i ? i(a) : a, d = ee.toFlatCase(r), f = ee.toFlatCase(t.$name);
6149
6149
  return (l = u ? d !== f ? c == null ? void 0 : c[d] : void 0 : c == null ? void 0 : c[d]) !== null && l !== void 0 ? l : c;
6150
6150
  };
6151
6151
  return e != null && e.hasOwnProperty("_usept") ? {
@@ -6160,7 +6160,7 @@ var Ue = {
6160
6160
  };
6161
6161
  if (e != null && e.hasOwnProperty("_usept")) {
6162
6162
  var o, a = e._usept || ((o = this.$config) === null || o === void 0 ? void 0 : o.ptOptions) || {}, l = a.mergeSections, u = l === void 0 ? !0 : l, c = a.mergeProps, d = c === void 0 ? !1 : c, f = s(e.originalValue), h = s(e.value);
6163
- return f === void 0 && h === void 0 ? void 0 : J.isString(h) ? h : J.isString(f) ? f : u || !u && h ? d ? this._mergeProps(d, f, h) : Dt(Dt({}, f), h) : h;
6163
+ return f === void 0 && h === void 0 ? void 0 : ee.isString(h) ? h : ee.isString(f) ? f : u || !u && h ? d ? this._mergeProps(d, f, h) : Dt(Dt({}, f), h) : h;
6164
6164
  }
6165
6165
  return s(e);
6166
6166
  },
@@ -6200,7 +6200,7 @@ var Ue = {
6200
6200
  globalPT: function() {
6201
6201
  var e, t = this;
6202
6202
  return this._getPT((e = this.$config) === null || e === void 0 ? void 0 : e.pt, void 0, function(r) {
6203
- return J.getItemValue(r, {
6203
+ return ee.getItemValue(r, {
6204
6204
  instance: t
6205
6205
  });
6206
6206
  });
@@ -6208,7 +6208,7 @@ var Ue = {
6208
6208
  defaultPT: function() {
6209
6209
  var e, t = this;
6210
6210
  return this._getPT((e = this.$config) === null || e === void 0 ? void 0 : e.pt, void 0, function(r) {
6211
- return t._getOptionValue(r, t.$name, Dt({}, t.$params)) || J.getItemValue(r, Dt({}, t.$params));
6211
+ return t._getOptionValue(r, t.$name, Dt({}, t.$params)) || ee.getItemValue(r, Dt({}, t.$params));
6212
6212
  });
6213
6213
  },
6214
6214
  isUnstyled: function() {
@@ -6399,16 +6399,16 @@ var aA = {
6399
6399
  methods: {
6400
6400
  defaultTabIndexes: function() {
6401
6401
  for (var e = B.find(this.$refs.container, '[data-pc-section="button"]'), t = B.findSingle(this.$refs.container, '[data-p-highlight="true"]'), r = 0; r < e.length; r++)
6402
- (B.getAttribute(e[r], "data-p-highlight") === !0 && J.equals(e[r], t) || t === null && r == 0) && (this.focusedIndex = r);
6402
+ (B.getAttribute(e[r], "data-p-highlight") === !0 && ee.equals(e[r], t) || t === null && r == 0) && (this.focusedIndex = r);
6403
6403
  },
6404
6404
  getOptionLabel: function(e) {
6405
- return this.optionLabel ? J.resolveFieldData(e, this.optionLabel) : e;
6405
+ return this.optionLabel ? ee.resolveFieldData(e, this.optionLabel) : e;
6406
6406
  },
6407
6407
  getOptionValue: function(e) {
6408
- return this.optionValue ? J.resolveFieldData(e, this.optionValue) : e;
6408
+ return this.optionValue ? ee.resolveFieldData(e, this.optionValue) : e;
6409
6409
  },
6410
6410
  getOptionRenderKey: function(e) {
6411
- return this.dataKey ? J.resolveFieldData(e, this.dataKey) : this.getOptionLabel(e);
6411
+ return this.dataKey ? ee.resolveFieldData(e, this.dataKey) : this.getOptionLabel(e);
6412
6412
  },
6413
6413
  getPTOptions: function(e, t) {
6414
6414
  return this.ptm(t, {
@@ -6420,7 +6420,7 @@ var aA = {
6420
6420
  });
6421
6421
  },
6422
6422
  isOptionDisabled: function(e) {
6423
- return this.optionDisabled ? J.resolveFieldData(e, this.optionDisabled) : !1;
6423
+ return this.optionDisabled ? ee.resolveFieldData(e, this.optionDisabled) : !1;
6424
6424
  },
6425
6425
  onOptionSelect: function(e, t, r) {
6426
6426
  var i = this;
@@ -6429,7 +6429,7 @@ var aA = {
6429
6429
  if (!(s && !(this.unselectable && this.allowEmpty))) {
6430
6430
  var o = this.getOptionValue(t), a;
6431
6431
  this.multiple ? s ? a = this.modelValue.filter(function(l) {
6432
- return !J.equals(l, o, i.equalityKey);
6432
+ return !ee.equals(l, o, i.equalityKey);
6433
6433
  }) : a = this.modelValue ? [].concat(lB(this.modelValue), [o]) : [o] : a = s ? null : o, this.focusedIndex = r, this.$emit("update:modelValue", a), this.$emit("change", {
6434
6434
  event: e,
6435
6435
  value: a
@@ -6445,7 +6445,7 @@ var aA = {
6445
6445
  try {
6446
6446
  for (i.s(); !(s = i.n()).done; ) {
6447
6447
  var o = s.value;
6448
- if (J.equals(o, r, this.equalityKey)) {
6448
+ if (ee.equals(o, r, this.equalityKey)) {
6449
6449
  t = !0;
6450
6450
  break;
6451
6451
  }
@@ -6457,7 +6457,7 @@ var aA = {
6457
6457
  }
6458
6458
  }
6459
6459
  } else
6460
- t = J.equals(this.modelValue, r, this.equalityKey);
6460
+ t = ee.equals(this.modelValue, r, this.equalityKey);
6461
6461
  return t;
6462
6462
  },
6463
6463
  onKeydown: function(e, t, r) {
@@ -6480,11 +6480,11 @@ var aA = {
6480
6480
  },
6481
6481
  onArrowRightKey: function(e) {
6482
6482
  var t = this.findNextElement(e);
6483
- t && (this.focusedIndex = J.findIndexInList(t, this.findAllElements()), B.focus(t));
6483
+ t && (this.focusedIndex = ee.findIndexInList(t, this.findAllElements()), B.focus(t));
6484
6484
  },
6485
6485
  onArrowLeftKey: function(e) {
6486
6486
  var t = this.findPrevElement(e);
6487
- t && (this.focusedIndex = J.findIndexInList(t, this.findAllElements()), B.focus(t));
6487
+ t && (this.focusedIndex = ee.findIndexInList(t, this.findAllElements()), B.focus(t));
6488
6488
  },
6489
6489
  findAllElements: function() {
6490
6490
  return B.find(this.$refs.container, '[data-pc-section="button"]');
@@ -6897,130 +6897,130 @@ class xa extends Ju {
6897
6897
  super("Zone is an abstract class");
6898
6898
  }
6899
6899
  }
6900
- const ge = "numeric", Es = "short", Ci = "long", cg = {
6901
- year: ge,
6902
- month: ge,
6903
- day: ge
6900
+ const ve = "numeric", Es = "short", Ci = "long", cg = {
6901
+ year: ve,
6902
+ month: ve,
6903
+ day: ve
6904
6904
  }, uA = {
6905
- year: ge,
6905
+ year: ve,
6906
6906
  month: Es,
6907
- day: ge
6907
+ day: ve
6908
6908
  }, NB = {
6909
- year: ge,
6909
+ year: ve,
6910
6910
  month: Es,
6911
- day: ge,
6911
+ day: ve,
6912
6912
  weekday: Es
6913
6913
  }, cA = {
6914
- year: ge,
6914
+ year: ve,
6915
6915
  month: Ci,
6916
- day: ge
6916
+ day: ve
6917
6917
  }, dA = {
6918
- year: ge,
6918
+ year: ve,
6919
6919
  month: Ci,
6920
- day: ge,
6920
+ day: ve,
6921
6921
  weekday: Ci
6922
6922
  }, fA = {
6923
- hour: ge,
6924
- minute: ge
6923
+ hour: ve,
6924
+ minute: ve
6925
6925
  }, hA = {
6926
- hour: ge,
6927
- minute: ge,
6928
- second: ge
6926
+ hour: ve,
6927
+ minute: ve,
6928
+ second: ve
6929
6929
  }, pA = {
6930
- hour: ge,
6931
- minute: ge,
6932
- second: ge,
6930
+ hour: ve,
6931
+ minute: ve,
6932
+ second: ve,
6933
6933
  timeZoneName: Es
6934
6934
  }, mA = {
6935
- hour: ge,
6936
- minute: ge,
6937
- second: ge,
6935
+ hour: ve,
6936
+ minute: ve,
6937
+ second: ve,
6938
6938
  timeZoneName: Ci
6939
6939
  }, gA = {
6940
- hour: ge,
6941
- minute: ge,
6940
+ hour: ve,
6941
+ minute: ve,
6942
6942
  hourCycle: "h23"
6943
6943
  }, yA = {
6944
- hour: ge,
6945
- minute: ge,
6946
- second: ge,
6944
+ hour: ve,
6945
+ minute: ve,
6946
+ second: ve,
6947
6947
  hourCycle: "h23"
6948
6948
  }, vA = {
6949
- hour: ge,
6950
- minute: ge,
6951
- second: ge,
6949
+ hour: ve,
6950
+ minute: ve,
6951
+ second: ve,
6952
6952
  hourCycle: "h23",
6953
6953
  timeZoneName: Es
6954
6954
  }, bA = {
6955
- hour: ge,
6956
- minute: ge,
6957
- second: ge,
6955
+ hour: ve,
6956
+ minute: ve,
6957
+ second: ve,
6958
6958
  hourCycle: "h23",
6959
6959
  timeZoneName: Ci
6960
6960
  }, wA = {
6961
- year: ge,
6962
- month: ge,
6963
- day: ge,
6964
- hour: ge,
6965
- minute: ge
6961
+ year: ve,
6962
+ month: ve,
6963
+ day: ve,
6964
+ hour: ve,
6965
+ minute: ve
6966
6966
  }, CA = {
6967
- year: ge,
6968
- month: ge,
6969
- day: ge,
6970
- hour: ge,
6971
- minute: ge,
6972
- second: ge
6967
+ year: ve,
6968
+ month: ve,
6969
+ day: ve,
6970
+ hour: ve,
6971
+ minute: ve,
6972
+ second: ve
6973
6973
  }, SA = {
6974
- year: ge,
6974
+ year: ve,
6975
6975
  month: Es,
6976
- day: ge,
6977
- hour: ge,
6978
- minute: ge
6976
+ day: ve,
6977
+ hour: ve,
6978
+ minute: ve
6979
6979
  }, MA = {
6980
- year: ge,
6980
+ year: ve,
6981
6981
  month: Es,
6982
- day: ge,
6983
- hour: ge,
6984
- minute: ge,
6985
- second: ge
6982
+ day: ve,
6983
+ hour: ve,
6984
+ minute: ve,
6985
+ second: ve
6986
6986
  }, PB = {
6987
- year: ge,
6987
+ year: ve,
6988
6988
  month: Es,
6989
- day: ge,
6989
+ day: ve,
6990
6990
  weekday: Es,
6991
- hour: ge,
6992
- minute: ge
6991
+ hour: ve,
6992
+ minute: ve
6993
6993
  }, kA = {
6994
- year: ge,
6994
+ year: ve,
6995
6995
  month: Ci,
6996
- day: ge,
6997
- hour: ge,
6998
- minute: ge,
6996
+ day: ve,
6997
+ hour: ve,
6998
+ minute: ve,
6999
6999
  timeZoneName: Es
7000
7000
  }, AA = {
7001
- year: ge,
7001
+ year: ve,
7002
7002
  month: Ci,
7003
- day: ge,
7004
- hour: ge,
7005
- minute: ge,
7006
- second: ge,
7003
+ day: ve,
7004
+ hour: ve,
7005
+ minute: ve,
7006
+ second: ve,
7007
7007
  timeZoneName: Es
7008
7008
  }, TA = {
7009
- year: ge,
7009
+ year: ve,
7010
7010
  month: Ci,
7011
- day: ge,
7011
+ day: ve,
7012
7012
  weekday: Ci,
7013
- hour: ge,
7014
- minute: ge,
7013
+ hour: ve,
7014
+ minute: ve,
7015
7015
  timeZoneName: Ci
7016
7016
  }, EA = {
7017
- year: ge,
7017
+ year: ve,
7018
7018
  month: Ci,
7019
- day: ge,
7019
+ day: ve,
7020
7020
  weekday: Ci,
7021
- hour: ge,
7022
- minute: ge,
7023
- second: ge,
7021
+ hour: ve,
7022
+ minute: ve,
7023
+ second: ve,
7024
7024
  timeZoneName: Ci
7025
7025
  };
7026
7026
  class ap {
@@ -13541,8 +13541,8 @@ function WV(n = {}, e) {
13541
13541
  __meta: { framework: "vue" }
13542
13542
  };
13543
13543
  oe.datetimeFormats = f.value, oe.numberFormats = h.value, oe.__datetimeFormatters = dt(O) ? O.__datetimeFormatters : void 0, oe.__numberFormatters = dt(O) ? O.__numberFormatters : void 0, process.env.NODE_ENV !== "production" && (oe.__v_emitter = dt(O) ? O.__v_emitter : void 0);
13544
- const ce = TV(oe);
13545
- return i && G8(ce), ce;
13544
+ const de = TV(oe);
13545
+ return i && G8(de), de;
13546
13546
  })(), kd(O, u.value, c.value);
13547
13547
  function R() {
13548
13548
  return [
@@ -13563,23 +13563,23 @@ function WV(n = {}, e) {
13563
13563
  set: (oe) => {
13564
13564
  c.value = oe, O.fallbackLocale = c.value, kd(O, u.value, oe);
13565
13565
  }
13566
- }), re = Q(() => d.value), H = /* @__PURE__ */ Q(() => f.value), G = /* @__PURE__ */ Q(() => h.value);
13566
+ }), re = Q(() => d.value), H = /* @__PURE__ */ Q(() => f.value), K = /* @__PURE__ */ Q(() => h.value);
13567
13567
  function V() {
13568
13568
  return Ht(w) ? w : null;
13569
13569
  }
13570
- function Z(oe) {
13570
+ function q(oe) {
13571
13571
  w = oe, O.postTranslation = oe;
13572
13572
  }
13573
13573
  function ne() {
13574
13574
  return b;
13575
13575
  }
13576
- function le(oe) {
13576
+ function ue(oe) {
13577
13577
  oe !== null && (S = o9(oe)), b = oe, O.missing = S;
13578
13578
  }
13579
- function ye(oe, ce) {
13580
- return oe !== "translate" || !ce.resolvedMessage;
13579
+ function ge(oe, de) {
13580
+ return oe !== "translate" || !de.resolvedMessage;
13581
13581
  }
13582
- const ue = (oe, ce, it, Ft, Ps, nc) => {
13582
+ const le = (oe, de, it, Ft, Ps, nc) => {
13583
13583
  R();
13584
13584
  let Ia;
13585
13585
  try {
@@ -13589,8 +13589,8 @@ function WV(n = {}, e) {
13589
13589
  }
13590
13590
  if (it !== "translate exists" && // for not `te` (e.g `t`)
13591
13591
  or(Ia) && Ia === r5 || it === "translate exists" && !Ia) {
13592
- const [se, Ee] = ce();
13593
- if (process.env.NODE_ENV !== "production" && t && Ie(se) && ye(it, Ee) && (y && (i5(g, se) || wT(m, se)) && md(yg(zr.FALLBACK_TO_ROOT, {
13592
+ const [se, Ee] = de();
13593
+ if (process.env.NODE_ENV !== "production" && t && Ie(se) && ge(it, Ee) && (y && (i5(g, se) || wT(m, se)) && md(yg(zr.FALLBACK_TO_ROOT, {
13594
13594
  key: se,
13595
13595
  type: it
13596
13596
  })), process.env.NODE_ENV !== "production")) {
@@ -13609,34 +13609,34 @@ function WV(n = {}, e) {
13609
13609
  throw Rf(nn.UNEXPECTED_RETURN_TYPE);
13610
13610
  }
13611
13611
  };
13612
- function ee(...oe) {
13613
- return ue((ce) => Reflect.apply(Y8, null, [ce, ...oe]), () => Nv(...oe), "translate", (ce) => Reflect.apply(ce.t, ce, [...oe]), (ce) => ce, (ce) => Ie(ce));
13612
+ function J(...oe) {
13613
+ return le((de) => Reflect.apply(Y8, null, [de, ...oe]), () => Nv(...oe), "translate", (de) => Reflect.apply(de.t, de, [...oe]), (de) => de, (de) => Ie(de));
13614
13614
  }
13615
- function K(...oe) {
13616
- const [ce, it, Ft] = oe;
13615
+ function G(...oe) {
13616
+ const [de, it, Ft] = oe;
13617
13617
  if (Ft && !ut(Ft))
13618
13618
  throw Rf(nn.INVALID_ARGUMENT);
13619
- return ee(ce, it, ur({ resolvedMessage: !0 }, Ft || {}));
13619
+ return J(de, it, ur({ resolvedMessage: !0 }, Ft || {}));
13620
13620
  }
13621
- function q(...oe) {
13622
- return ue((ce) => Reflect.apply(X8, null, [ce, ...oe]), () => Pv(...oe), "datetime format", (ce) => Reflect.apply(ce.d, ce, [...oe]), () => gg, (ce) => Ie(ce));
13621
+ function Z(...oe) {
13622
+ return le((de) => Reflect.apply(X8, null, [de, ...oe]), () => Pv(...oe), "datetime format", (de) => Reflect.apply(de.d, de, [...oe]), () => gg, (de) => Ie(de));
13623
13623
  }
13624
13624
  function Y(...oe) {
13625
- return ue((ce) => Reflect.apply(e9, null, [ce, ...oe]), () => Lv(...oe), "number format", (ce) => Reflect.apply(ce.n, ce, [...oe]), () => gg, (ce) => Ie(ce));
13625
+ return le((de) => Reflect.apply(e9, null, [de, ...oe]), () => Lv(...oe), "number format", (de) => Reflect.apply(de.n, de, [...oe]), () => gg, (de) => Ie(de));
13626
13626
  }
13627
- function fe(oe) {
13628
- return oe.map((ce) => Ie(ce) || or(ce) || sn(ce) ? n9(String(ce)) : ce);
13627
+ function ce(oe) {
13628
+ return oe.map((de) => Ie(de) || or(de) || sn(de) ? n9(String(de)) : de);
13629
13629
  }
13630
13630
  const be = {
13631
- normalize: fe,
13631
+ normalize: ce,
13632
13632
  interpolate: (oe) => oe,
13633
13633
  type: "vnode"
13634
13634
  };
13635
13635
  function Ce(...oe) {
13636
- return ue(
13637
- (ce) => {
13636
+ return le(
13637
+ (de) => {
13638
13638
  let it;
13639
- const Ft = ce;
13639
+ const Ft = de;
13640
13640
  try {
13641
13641
  Ft.processor = be, it = Reflect.apply(Y8, null, [Ft, ...oe]);
13642
13642
  } finally {
@@ -13647,97 +13647,97 @@ function WV(n = {}, e) {
13647
13647
  () => Nv(...oe),
13648
13648
  "translate",
13649
13649
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
13650
- (ce) => ce[_v](...oe),
13651
- (ce) => [n9(ce)],
13652
- (ce) => pn(ce)
13650
+ (de) => de[_v](...oe),
13651
+ (de) => [n9(de)],
13652
+ (de) => pn(de)
13653
13653
  );
13654
13654
  }
13655
13655
  function Le(...oe) {
13656
- return ue(
13657
- (ce) => Reflect.apply(e9, null, [ce, ...oe]),
13656
+ return le(
13657
+ (de) => Reflect.apply(e9, null, [de, ...oe]),
13658
13658
  () => Lv(...oe),
13659
13659
  "number format",
13660
13660
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
13661
- (ce) => ce[$v](...oe),
13661
+ (de) => de[$v](...oe),
13662
13662
  i9,
13663
- (ce) => Ie(ce) || pn(ce)
13663
+ (de) => Ie(de) || pn(de)
13664
13664
  );
13665
13665
  }
13666
13666
  function et(...oe) {
13667
- return ue(
13668
- (ce) => Reflect.apply(X8, null, [ce, ...oe]),
13667
+ return le(
13668
+ (de) => Reflect.apply(X8, null, [de, ...oe]),
13669
13669
  () => Pv(...oe),
13670
13670
  "datetime format",
13671
13671
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
13672
- (ce) => ce[Rv](...oe),
13672
+ (de) => de[Rv](...oe),
13673
13673
  i9,
13674
- (ce) => Ie(ce) || pn(ce)
13674
+ (de) => Ie(de) || pn(de)
13675
13675
  );
13676
13676
  }
13677
13677
  function $t(oe) {
13678
13678
  N = oe, O.pluralRules = N;
13679
13679
  }
13680
- function Ln(oe, ce) {
13681
- return ue(() => {
13680
+ function Ln(oe, de) {
13681
+ return le(() => {
13682
13682
  if (!oe)
13683
13683
  return !1;
13684
- const it = Ie(ce) ? ce : u.value, Ft = qn(it), Ps = O.messageResolver(Ft, oe);
13684
+ const it = Ie(de) ? de : u.value, Ft = qn(it), Ps = O.messageResolver(Ft, oe);
13685
13685
  return a ? Ps != null : G2(Ps) || Vi(Ps) || Ie(Ps);
13686
- }, () => [oe], "translate exists", (it) => Reflect.apply(it.te, it, [oe, ce]), HV, (it) => sn(it));
13686
+ }, () => [oe], "translate exists", (it) => Reflect.apply(it.te, it, [oe, de]), HV, (it) => sn(it));
13687
13687
  }
13688
13688
  function Gn(oe) {
13689
- let ce = null;
13689
+ let de = null;
13690
13690
  const it = mT(O, c.value, u.value);
13691
13691
  for (let Ft = 0; Ft < it.length; Ft++) {
13692
13692
  const Ps = d.value[it[Ft]] || {}, nc = O.messageResolver(Ps, oe);
13693
13693
  if (nc != null) {
13694
- ce = nc;
13694
+ de = nc;
13695
13695
  break;
13696
13696
  }
13697
13697
  }
13698
- return ce;
13698
+ return de;
13699
13699
  }
13700
13700
  function yn(oe) {
13701
- const ce = Gn(oe);
13702
- return ce ?? (t ? t.tm(oe) || {} : {});
13701
+ const de = Gn(oe);
13702
+ return de ?? (t ? t.tm(oe) || {} : {});
13703
13703
  }
13704
13704
  function qn(oe) {
13705
13705
  return d.value[oe] || {};
13706
13706
  }
13707
- function rs(oe, ce) {
13707
+ function rs(oe, de) {
13708
13708
  if (s) {
13709
- const it = { [oe]: ce };
13709
+ const it = { [oe]: de };
13710
13710
  for (const Ft in it)
13711
13711
  ju(it, Ft) && $f(it[Ft]);
13712
- ce = it[oe];
13712
+ de = it[oe];
13713
13713
  }
13714
- d.value[oe] = ce, O.messages = d.value;
13714
+ d.value[oe] = de, O.messages = d.value;
13715
13715
  }
13716
- function Ea(oe, ce) {
13716
+ function Ea(oe, de) {
13717
13717
  d.value[oe] = d.value[oe] || {};
13718
- const it = { [oe]: ce };
13718
+ const it = { [oe]: de };
13719
13719
  if (s)
13720
13720
  for (const Ft in it)
13721
13721
  ju(it, Ft) && $f(it[Ft]);
13722
- ce = it[oe], wm(ce, d.value[oe]), O.messages = d.value;
13722
+ de = it[oe], wm(de, d.value[oe]), O.messages = d.value;
13723
13723
  }
13724
13724
  function cn(oe) {
13725
13725
  return f.value[oe] || {};
13726
13726
  }
13727
- function hr(oe, ce) {
13728
- f.value[oe] = ce, O.datetimeFormats = f.value, J8(O, oe, ce);
13727
+ function hr(oe, de) {
13728
+ f.value[oe] = de, O.datetimeFormats = f.value, J8(O, oe, de);
13729
13729
  }
13730
- function Ns(oe, ce) {
13731
- f.value[oe] = ur(f.value[oe] || {}, ce), O.datetimeFormats = f.value, J8(O, oe, ce);
13730
+ function Ns(oe, de) {
13731
+ f.value[oe] = ur(f.value[oe] || {}, de), O.datetimeFormats = f.value, J8(O, oe, de);
13732
13732
  }
13733
13733
  function Ii(oe) {
13734
13734
  return h.value[oe] || {};
13735
13735
  }
13736
- function is(oe, ce) {
13737
- h.value[oe] = ce, O.numberFormats = h.value, t9(O, oe, ce);
13736
+ function is(oe, de) {
13737
+ h.value[oe] = de, O.numberFormats = h.value, t9(O, oe, de);
13738
13738
  }
13739
- function Mo(oe, ce) {
13740
- h.value[oe] = ur(h.value[oe] || {}, ce), O.numberFormats = h.value, t9(O, oe, ce);
13739
+ function Mo(oe, de) {
13740
+ h.value[oe] = ur(h.value[oe] || {}, de), O.numberFormats = h.value, t9(O, oe, de);
13741
13741
  }
13742
13742
  s9++, t && va && (ct(t.locale, (oe) => {
13743
13743
  l && (u.value = oe, O.locale = oe, kd(O, u.value, c.value));
@@ -13803,17 +13803,17 @@ function WV(n = {}, e) {
13803
13803
  set escapeParameter(oe) {
13804
13804
  M = oe, O.escapeParameter = oe;
13805
13805
  },
13806
- t: ee,
13806
+ t: J,
13807
13807
  getLocaleMessage: qn,
13808
13808
  setLocaleMessage: rs,
13809
13809
  mergeLocaleMessage: Ea,
13810
13810
  getPostTranslationHandler: V,
13811
- setPostTranslationHandler: Z,
13811
+ setPostTranslationHandler: q,
13812
13812
  getMissingHandler: ne,
13813
- setMissingHandler: le,
13813
+ setMissingHandler: ue,
13814
13814
  [jV]: $t
13815
13815
  };
13816
- return St.datetimeFormats = H, St.numberFormats = G, St.rt = K, St.te = Ln, St.tm = yn, St.d = q, St.n = Y, St.getDateTimeFormat = cn, St.setDateTimeFormat = hr, St.mergeDateTimeFormat = Ns, St.getNumberFormat = Ii, St.setNumberFormat = is, St.mergeNumberFormat = Mo, St[zV] = r, St[_v] = Ce, St[Rv] = et, St[$v] = Le, process.env.NODE_ENV !== "production" && (St[Fv] = (oe) => {
13816
+ return St.datetimeFormats = H, St.numberFormats = K, St.rt = G, St.te = Ln, St.tm = yn, St.d = Z, St.n = Y, St.getDateTimeFormat = cn, St.setDateTimeFormat = hr, St.mergeDateTimeFormat = Ns, St.getNumberFormat = Ii, St.setNumberFormat = is, St.mergeNumberFormat = Mo, St[zV] = r, St[_v] = Ce, St[Rv] = et, St[$v] = Le, process.env.NODE_ENV !== "production" && (St[Fv] = (oe) => {
13817
13817
  O.__v_emitter = oe;
13818
13818
  }, St[Bv] = () => {
13819
13819
  O.__v_emitter = void 0;
@@ -14046,7 +14046,7 @@ var PT = nH.extend("focustrap", {
14046
14046
  if (l.type === "childList" && !e.contains(document.activeElement)) {
14047
14047
  var u = function c(d) {
14048
14048
  var f = B.isFocusableElement(d) ? B.isFocusableElement(d, r.getComputedSelector(e.$_pfocustrap_focusableselector)) ? d : B.getFirstFocusableElement(e, r.getComputedSelector(e.$_pfocustrap_focusableselector)) : B.getFirstFocusableElement(d);
14049
- return J.isNotEmpty(f) ? f : d.nextSibling && c(d.nextSibling);
14049
+ return ee.isNotEmpty(f) ? f : d.nextSibling && c(d.nextSibling);
14050
14050
  };
14051
14051
  B.focus(u(l.nextSibling));
14052
14052
  }
@@ -14305,7 +14305,7 @@ var gt = {
14305
14305
  style: cH,
14306
14306
  methods: {
14307
14307
  pti: function() {
14308
- var e = J.isEmpty(this.label);
14308
+ var e = ee.isEmpty(this.label);
14309
14309
  return d9(d9({}, !this.isUnstyled && {
14310
14310
  class: ["p-icon", {
14311
14311
  "p-icon-spin": this.spin
@@ -15056,10 +15056,10 @@ var RT = {
15056
15056
  `);
15057
15057
  if (this.responsiveOptions && !this.isUnstyled) {
15058
15058
  this.sortedResponsiveOptions = uy(this.responsiveOptions);
15059
- var r = J.localeComparator();
15059
+ var r = ee.localeComparator();
15060
15060
  this.sortedResponsiveOptions.sort(function(o, a) {
15061
15061
  var l = o.breakpoint, u = a.breakpoint;
15062
- return J.sort(l, u, -1, r);
15062
+ return ee.sort(l, u, -1, r);
15063
15063
  });
15064
15064
  for (var i = 0; i < this.sortedResponsiveOptions.length; i++) {
15065
15065
  var s = this.sortedResponsiveOptions[i];
@@ -15762,80 +15762,80 @@ var yU = { 9306: (n, e, t) => {
15762
15762
  else {
15763
15763
  var te = N && !W && S ? { maxByteLength: S(M) } : void 0;
15764
15764
  O = new f(R, te);
15765
- for (var re = new h(M), H = new h(O), G = m(R, $), V = 0; V < G; V++) E(H, V, w(re, V));
15765
+ for (var re = new h(M), H = new h(O), K = m(R, $), V = 0; V < K; V++) E(H, V, w(re, V));
15766
15766
  }
15767
15767
  return c || u(M), O;
15768
15768
  };
15769
15769
  }, 4644: (n, e, t) => {
15770
- var r, i, s, o = t(7811), a = t(3724), l = t(4576), u = t(4901), c = t(34), d = t(9297), f = t(6955), h = t(6823), m = t(6699), g = t(6840), y = t(2106), v = t(1625), b = t(2787), S = t(2967), w = t(8227), E = t(3392), M = t(1181), A = M.enforce, N = M.get, O = l.Int8Array, $ = O && O.prototype, R = l.Uint8ClampedArray, W = R && R.prototype, te = O && b(O), re = $ && b($), H = Object.prototype, G = l.TypeError, V = w("toStringTag"), Z = E("TYPED_ARRAY_TAG"), ne = "TypedArrayConstructor", le = o && !!S && f(l.opera) !== "Opera", ye = !1, ue = { Int8Array: 1, Uint8Array: 1, Uint8ClampedArray: 1, Int16Array: 2, Uint16Array: 2, Int32Array: 4, Uint32Array: 4, Float32Array: 4, Float64Array: 8 }, ee = { BigInt64Array: 8, BigUint64Array: 8 }, K = function(Y) {
15771
- var fe = b(Y);
15772
- if (c(fe)) {
15773
- var ve = N(fe);
15774
- return ve && d(ve, ne) ? ve[ne] : K(fe);
15770
+ var r, i, s, o = t(7811), a = t(3724), l = t(4576), u = t(4901), c = t(34), d = t(9297), f = t(6955), h = t(6823), m = t(6699), g = t(6840), y = t(2106), v = t(1625), b = t(2787), S = t(2967), w = t(8227), E = t(3392), M = t(1181), A = M.enforce, N = M.get, O = l.Int8Array, $ = O && O.prototype, R = l.Uint8ClampedArray, W = R && R.prototype, te = O && b(O), re = $ && b($), H = Object.prototype, K = l.TypeError, V = w("toStringTag"), q = E("TYPED_ARRAY_TAG"), ne = "TypedArrayConstructor", ue = o && !!S && f(l.opera) !== "Opera", ge = !1, le = { Int8Array: 1, Uint8Array: 1, Uint8ClampedArray: 1, Int16Array: 2, Uint16Array: 2, Int32Array: 4, Uint32Array: 4, Float32Array: 4, Float64Array: 8 }, J = { BigInt64Array: 8, BigUint64Array: 8 }, G = function(Y) {
15771
+ var ce = b(Y);
15772
+ if (c(ce)) {
15773
+ var ye = N(ce);
15774
+ return ye && d(ye, ne) ? ye[ne] : G(ce);
15775
15775
  }
15776
- }, q = function(Y) {
15776
+ }, Z = function(Y) {
15777
15777
  if (!c(Y)) return !1;
15778
- var fe = f(Y);
15779
- return d(ue, fe) || d(ee, fe);
15778
+ var ce = f(Y);
15779
+ return d(le, ce) || d(J, ce);
15780
15780
  };
15781
- for (r in ue) (s = (i = l[r]) && i.prototype) ? A(s)[ne] = i : le = !1;
15782
- for (r in ee) (s = (i = l[r]) && i.prototype) && (A(s)[ne] = i);
15783
- if ((!le || !u(te) || te === Function.prototype) && (te = function() {
15784
- throw new G("Incorrect invocation");
15785
- }, le))
15786
- for (r in ue) l[r] && S(l[r], te);
15787
- if ((!le || !re || re === H) && (re = te.prototype, le))
15788
- for (r in ue) l[r] && S(l[r].prototype, re);
15789
- if (le && b(W) !== re && S(W, re), a && !d(re, V)) {
15790
- ye = !0, y(re, V, { configurable: !0, get: function() {
15791
- return c(this) ? this[Z] : void 0;
15781
+ for (r in le) (s = (i = l[r]) && i.prototype) ? A(s)[ne] = i : ue = !1;
15782
+ for (r in J) (s = (i = l[r]) && i.prototype) && (A(s)[ne] = i);
15783
+ if ((!ue || !u(te) || te === Function.prototype) && (te = function() {
15784
+ throw new K("Incorrect invocation");
15785
+ }, ue))
15786
+ for (r in le) l[r] && S(l[r], te);
15787
+ if ((!ue || !re || re === H) && (re = te.prototype, ue))
15788
+ for (r in le) l[r] && S(l[r].prototype, re);
15789
+ if (ue && b(W) !== re && S(W, re), a && !d(re, V)) {
15790
+ ge = !0, y(re, V, { configurable: !0, get: function() {
15791
+ return c(this) ? this[q] : void 0;
15792
15792
  } });
15793
- for (r in ue) l[r] && m(l[r], Z, r);
15793
+ for (r in le) l[r] && m(l[r], q, r);
15794
15794
  }
15795
- n.exports = { NATIVE_ARRAY_BUFFER_VIEWS: le, TYPED_ARRAY_TAG: ye && Z, aTypedArray: function(Y) {
15796
- if (q(Y)) return Y;
15797
- throw new G("Target is not a typed array");
15795
+ n.exports = { NATIVE_ARRAY_BUFFER_VIEWS: ue, TYPED_ARRAY_TAG: ge && q, aTypedArray: function(Y) {
15796
+ if (Z(Y)) return Y;
15797
+ throw new K("Target is not a typed array");
15798
15798
  }, aTypedArrayConstructor: function(Y) {
15799
15799
  if (u(Y) && (!S || v(te, Y))) return Y;
15800
- throw new G(h(Y) + " is not a typed array constructor");
15801
- }, exportTypedArrayMethod: function(Y, fe, ve, be) {
15800
+ throw new K(h(Y) + " is not a typed array constructor");
15801
+ }, exportTypedArrayMethod: function(Y, ce, ye, be) {
15802
15802
  if (a) {
15803
- if (ve) for (var Ce in ue) {
15803
+ if (ye) for (var Ce in le) {
15804
15804
  var Le = l[Ce];
15805
15805
  if (Le && d(Le.prototype, Y)) try {
15806
15806
  delete Le.prototype[Y];
15807
15807
  } catch {
15808
15808
  try {
15809
- Le.prototype[Y] = fe;
15809
+ Le.prototype[Y] = ce;
15810
15810
  } catch {
15811
15811
  }
15812
15812
  }
15813
15813
  }
15814
- re[Y] && !ve || g(re, Y, ve ? fe : le && $[Y] || fe, be);
15814
+ re[Y] && !ye || g(re, Y, ye ? ce : ue && $[Y] || ce, be);
15815
15815
  }
15816
- }, exportTypedArrayStaticMethod: function(Y, fe, ve) {
15816
+ }, exportTypedArrayStaticMethod: function(Y, ce, ye) {
15817
15817
  var be, Ce;
15818
15818
  if (a) {
15819
15819
  if (S) {
15820
- if (ve) {
15821
- for (be in ue) if ((Ce = l[be]) && d(Ce, Y)) try {
15820
+ if (ye) {
15821
+ for (be in le) if ((Ce = l[be]) && d(Ce, Y)) try {
15822
15822
  delete Ce[Y];
15823
15823
  } catch {
15824
15824
  }
15825
15825
  }
15826
- if (te[Y] && !ve) return;
15826
+ if (te[Y] && !ye) return;
15827
15827
  try {
15828
- return g(te, Y, ve ? fe : le && te[Y] || fe);
15828
+ return g(te, Y, ye ? ce : ue && te[Y] || ce);
15829
15829
  } catch {
15830
15830
  }
15831
15831
  }
15832
- for (be in ue) !(Ce = l[be]) || Ce[Y] && !ve || g(Ce, Y, fe);
15832
+ for (be in le) !(Ce = l[be]) || Ce[Y] && !ye || g(Ce, Y, ce);
15833
15833
  }
15834
- }, getTypedArrayConstructor: K, isView: function(fe) {
15835
- if (!c(fe)) return !1;
15836
- var ve = f(fe);
15837
- return ve === "DataView" || d(ue, ve) || d(ee, ve);
15838
- }, isTypedArray: q, TypedArray: te, TypedArrayPrototype: re };
15834
+ }, getTypedArrayConstructor: G, isView: function(ce) {
15835
+ if (!c(ce)) return !1;
15836
+ var ye = f(ce);
15837
+ return ye === "DataView" || d(le, ye) || d(J, ye);
15838
+ }, isTypedArray: Z, TypedArray: te, TypedArrayPrototype: re };
15839
15839
  }, 5370: (n, e, t) => {
15840
15840
  var r = t(6198);
15841
15841
  n.exports = function(i, s, o) {
@@ -16311,10 +16311,10 @@ var yU = { 9306: (n, e, t) => {
16311
16311
  this.stopped = y, this.result = v;
16312
16312
  }, g = m.prototype;
16313
16313
  n.exports = function(y, v, b) {
16314
- var S, w, E, M, A, N, O, $ = b && b.that, R = !(!b || !b.AS_ENTRIES), W = !(!b || !b.IS_RECORD), te = !(!b || !b.IS_ITERATOR), re = !(!b || !b.INTERRUPTED), H = r(v, $), G = function(Z) {
16315
- return S && f(S, "normal", Z), new m(!0, Z);
16316
- }, V = function(Z) {
16317
- return R ? (s(Z), re ? H(Z[0], Z[1], G) : H(Z[0], Z[1])) : re ? H(Z, G) : H(Z);
16314
+ var S, w, E, M, A, N, O, $ = b && b.that, R = !(!b || !b.AS_ENTRIES), W = !(!b || !b.IS_RECORD), te = !(!b || !b.IS_ITERATOR), re = !(!b || !b.INTERRUPTED), H = r(v, $), K = function(q) {
16315
+ return S && f(S, "normal", q), new m(!0, q);
16316
+ }, V = function(q) {
16317
+ return R ? (s(q), re ? H(q[0], q[1], K) : H(q[0], q[1])) : re ? H(q, K) : H(q);
16318
16318
  };
16319
16319
  if (W) S = y.iterator;
16320
16320
  else if (te) S = y;
@@ -16329,8 +16329,8 @@ var yU = { 9306: (n, e, t) => {
16329
16329
  for (N = W ? y.next : S.next; !(O = i(N, S)).done; ) {
16330
16330
  try {
16331
16331
  A = V(O.value);
16332
- } catch (Z) {
16333
- f(S, "throw", Z);
16332
+ } catch (q) {
16333
+ f(S, "throw", q);
16334
16334
  }
16335
16335
  if (typeof A == "object" && A && u(g, A)) return A;
16336
16336
  }
@@ -17052,130 +17052,130 @@ var yU = { 9306: (n, e, t) => {
17052
17052
  }, 7550: (n, e, t) => {
17053
17053
  t(3579);
17054
17054
  }, 8335: (n, e, t) => {
17055
- var r = t(6518), i = t(3724), s = t(4576), o = t(7751), a = t(9504), l = t(9565), u = t(4901), c = t(34), d = t(4376), f = t(9297), h = t(655), m = t(6198), g = t(4659), y = t(9039), v = t(8235), b = t(4495), S = s.JSON, w = s.Number, E = s.SyntaxError, M = S && S.parse, A = o("Object", "keys"), N = Object.getOwnPropertyDescriptor, O = a("".charAt), $ = a("".slice), R = a(/./.exec), W = a([].push), te = /^\d$/, re = /^[1-9]$/, H = /^[\d-]$/, G = /^[\t\n\r ]$/, V = function(ee, K, q, Y) {
17056
- var fe, ve, be, Ce, Le, et = ee[K], $t = Y && et === Y.value, Ln = $t && typeof Y.source == "string" ? { source: Y.source } : {};
17055
+ var r = t(6518), i = t(3724), s = t(4576), o = t(7751), a = t(9504), l = t(9565), u = t(4901), c = t(34), d = t(4376), f = t(9297), h = t(655), m = t(6198), g = t(4659), y = t(9039), v = t(8235), b = t(4495), S = s.JSON, w = s.Number, E = s.SyntaxError, M = S && S.parse, A = o("Object", "keys"), N = Object.getOwnPropertyDescriptor, O = a("".charAt), $ = a("".slice), R = a(/./.exec), W = a([].push), te = /^\d$/, re = /^[1-9]$/, H = /^[\d-]$/, K = /^[\t\n\r ]$/, V = function(J, G, Z, Y) {
17056
+ var ce, ye, be, Ce, Le, et = J[G], $t = Y && et === Y.value, Ln = $t && typeof Y.source == "string" ? { source: Y.source } : {};
17057
17057
  if (c(et)) {
17058
17058
  var Gn = d(et), yn = $t ? Y.nodes : Gn ? [] : {};
17059
17059
  if (Gn)
17060
- for (fe = yn.length, be = m(et), Ce = 0; Ce < be; Ce++) Z(et, Ce, V(et, "" + Ce, q, Ce < fe ? yn[Ce] : void 0));
17060
+ for (ce = yn.length, be = m(et), Ce = 0; Ce < be; Ce++) q(et, Ce, V(et, "" + Ce, Z, Ce < ce ? yn[Ce] : void 0));
17061
17061
  else
17062
- for (ve = A(et), be = m(ve), Ce = 0; Ce < be; Ce++)
17063
- Le = ve[Ce], Z(et, Le, V(et, Le, q, f(yn, Le) ? yn[Le] : void 0));
17062
+ for (ye = A(et), be = m(ye), Ce = 0; Ce < be; Ce++)
17063
+ Le = ye[Ce], q(et, Le, V(et, Le, Z, f(yn, Le) ? yn[Le] : void 0));
17064
17064
  }
17065
- return l(q, ee, K, et, Ln);
17066
- }, Z = function(ee, K, q) {
17065
+ return l(Z, J, G, et, Ln);
17066
+ }, q = function(J, G, Z) {
17067
17067
  if (i) {
17068
- var Y = N(ee, K);
17068
+ var Y = N(J, G);
17069
17069
  if (Y && !Y.configurable) return;
17070
17070
  }
17071
- q === void 0 ? delete ee[K] : g(ee, K, q);
17072
- }, ne = function(ee, K, q, Y) {
17073
- this.value = ee, this.end = K, this.source = q, this.nodes = Y;
17074
- }, le = function(ee, K) {
17075
- this.source = ee, this.index = K;
17071
+ Z === void 0 ? delete J[G] : g(J, G, Z);
17072
+ }, ne = function(J, G, Z, Y) {
17073
+ this.value = J, this.end = G, this.source = Z, this.nodes = Y;
17074
+ }, ue = function(J, G) {
17075
+ this.source = J, this.index = G;
17076
17076
  };
17077
- le.prototype = { fork: function(ee) {
17078
- return new le(this.source, ee);
17077
+ ue.prototype = { fork: function(J) {
17078
+ return new ue(this.source, J);
17079
17079
  }, parse: function() {
17080
- var ee = this.source, K = this.skip(G, this.index), q = this.fork(K), Y = O(ee, K);
17081
- if (R(H, Y)) return q.number();
17080
+ var J = this.source, G = this.skip(K, this.index), Z = this.fork(G), Y = O(J, G);
17081
+ if (R(H, Y)) return Z.number();
17082
17082
  switch (Y) {
17083
17083
  case "{":
17084
- return q.object();
17084
+ return Z.object();
17085
17085
  case "[":
17086
- return q.array();
17086
+ return Z.array();
17087
17087
  case '"':
17088
- return q.string();
17088
+ return Z.string();
17089
17089
  case "t":
17090
- return q.keyword(!0);
17090
+ return Z.keyword(!0);
17091
17091
  case "f":
17092
- return q.keyword(!1);
17092
+ return Z.keyword(!1);
17093
17093
  case "n":
17094
- return q.keyword(null);
17094
+ return Z.keyword(null);
17095
17095
  }
17096
- throw new E('Unexpected character: "' + Y + '" at: ' + K);
17097
- }, node: function(ee, K, q, Y, fe) {
17098
- return new ne(K, Y, ee ? null : $(this.source, q, Y), fe);
17096
+ throw new E('Unexpected character: "' + Y + '" at: ' + G);
17097
+ }, node: function(J, G, Z, Y, ce) {
17098
+ return new ne(G, Y, J ? null : $(this.source, Z, Y), ce);
17099
17099
  }, object: function() {
17100
- for (var ee = this.source, K = this.index + 1, q = !1, Y = {}, fe = {}; K < ee.length; ) {
17101
- if (K = this.until(['"', "}"], K), O(ee, K) === "}" && !q) {
17102
- K++;
17100
+ for (var J = this.source, G = this.index + 1, Z = !1, Y = {}, ce = {}; G < J.length; ) {
17101
+ if (G = this.until(['"', "}"], G), O(J, G) === "}" && !Z) {
17102
+ G++;
17103
17103
  break;
17104
17104
  }
17105
- var ve = this.fork(K).string(), be = ve.value;
17106
- K = ve.end, K = this.until([":"], K) + 1, K = this.skip(G, K), ve = this.fork(K).parse(), g(fe, be, ve), g(Y, be, ve.value), K = this.until([",", "}"], ve.end);
17107
- var Ce = O(ee, K);
17105
+ var ye = this.fork(G).string(), be = ye.value;
17106
+ G = ye.end, G = this.until([":"], G) + 1, G = this.skip(K, G), ye = this.fork(G).parse(), g(ce, be, ye), g(Y, be, ye.value), G = this.until([",", "}"], ye.end);
17107
+ var Ce = O(J, G);
17108
17108
  if (Ce === ",")
17109
- q = !0, K++;
17109
+ Z = !0, G++;
17110
17110
  else if (Ce === "}") {
17111
- K++;
17111
+ G++;
17112
17112
  break;
17113
17113
  }
17114
17114
  }
17115
- return this.node(1, Y, this.index, K, fe);
17115
+ return this.node(1, Y, this.index, G, ce);
17116
17116
  }, array: function() {
17117
- for (var ee = this.source, K = this.index + 1, q = !1, Y = [], fe = []; K < ee.length; ) {
17118
- if (K = this.skip(G, K), O(ee, K) === "]" && !q) {
17119
- K++;
17117
+ for (var J = this.source, G = this.index + 1, Z = !1, Y = [], ce = []; G < J.length; ) {
17118
+ if (G = this.skip(K, G), O(J, G) === "]" && !Z) {
17119
+ G++;
17120
17120
  break;
17121
17121
  }
17122
- var ve = this.fork(K).parse();
17123
- if (W(fe, ve), W(Y, ve.value), K = this.until([",", "]"], ve.end), O(ee, K) === ",")
17124
- q = !0, K++;
17125
- else if (O(ee, K) === "]") {
17126
- K++;
17122
+ var ye = this.fork(G).parse();
17123
+ if (W(ce, ye), W(Y, ye.value), G = this.until([",", "]"], ye.end), O(J, G) === ",")
17124
+ Z = !0, G++;
17125
+ else if (O(J, G) === "]") {
17126
+ G++;
17127
17127
  break;
17128
17128
  }
17129
17129
  }
17130
- return this.node(1, Y, this.index, K, fe);
17130
+ return this.node(1, Y, this.index, G, ce);
17131
17131
  }, string: function() {
17132
- var ee = this.index, K = v(this.source, this.index + 1);
17133
- return this.node(0, K.value, ee, K.end);
17132
+ var J = this.index, G = v(this.source, this.index + 1);
17133
+ return this.node(0, G.value, J, G.end);
17134
17134
  }, number: function() {
17135
- var ee = this.source, K = this.index, q = K;
17136
- if (O(ee, q) === "-" && q++, O(ee, q) === "0") q++;
17135
+ var J = this.source, G = this.index, Z = G;
17136
+ if (O(J, Z) === "-" && Z++, O(J, Z) === "0") Z++;
17137
17137
  else {
17138
- if (!R(re, O(ee, q))) throw new E("Failed to parse number at: " + q);
17139
- q = this.skip(te, q + 1);
17140
- }
17141
- if (O(ee, q) === "." && (q = this.skip(te, q + 1)), (O(ee, q) === "e" || O(ee, q) === "E") && (q++, O(ee, q) !== "+" && O(ee, q) !== "-" || q++, q === (q = this.skip(te, q))))
17142
- throw new E("Failed to parse number's exponent value at: " + q);
17143
- return this.node(0, w($(ee, K, q)), K, q);
17144
- }, keyword: function(ee) {
17145
- var K = "" + ee, q = this.index, Y = q + K.length;
17146
- if ($(this.source, q, Y) !== K) throw new E("Failed to parse value at: " + q);
17147
- return this.node(0, ee, q, Y);
17148
- }, skip: function(ee, K) {
17149
- for (var q = this.source; K < q.length && R(ee, O(q, K)); K++) ;
17150
- return K;
17151
- }, until: function(ee, K) {
17152
- K = this.skip(G, K);
17153
- for (var q = O(this.source, K), Y = 0; Y < ee.length; Y++) if (ee[Y] === q) return K;
17154
- throw new E('Unexpected character: "' + q + '" at: ' + K);
17138
+ if (!R(re, O(J, Z))) throw new E("Failed to parse number at: " + Z);
17139
+ Z = this.skip(te, Z + 1);
17140
+ }
17141
+ if (O(J, Z) === "." && (Z = this.skip(te, Z + 1)), (O(J, Z) === "e" || O(J, Z) === "E") && (Z++, O(J, Z) !== "+" && O(J, Z) !== "-" || Z++, Z === (Z = this.skip(te, Z))))
17142
+ throw new E("Failed to parse number's exponent value at: " + Z);
17143
+ return this.node(0, w($(J, G, Z)), G, Z);
17144
+ }, keyword: function(J) {
17145
+ var G = "" + J, Z = this.index, Y = Z + G.length;
17146
+ if ($(this.source, Z, Y) !== G) throw new E("Failed to parse value at: " + Z);
17147
+ return this.node(0, J, Z, Y);
17148
+ }, skip: function(J, G) {
17149
+ for (var Z = this.source; G < Z.length && R(J, O(Z, G)); G++) ;
17150
+ return G;
17151
+ }, until: function(J, G) {
17152
+ G = this.skip(K, G);
17153
+ for (var Z = O(this.source, G), Y = 0; Y < J.length; Y++) if (J[Y] === Z) return G;
17154
+ throw new E('Unexpected character: "' + Z + '" at: ' + G);
17155
17155
  } };
17156
- var ye = y(function() {
17157
- var ee, K = "9007199254740993";
17158
- return M(K, function(q, Y, fe) {
17159
- ee = fe.source;
17160
- }), ee !== K;
17161
- }), ue = b && !y(function() {
17156
+ var ge = y(function() {
17157
+ var J, G = "9007199254740993";
17158
+ return M(G, function(Z, Y, ce) {
17159
+ J = ce.source;
17160
+ }), J !== G;
17161
+ }), le = b && !y(function() {
17162
17162
  return 1 / M("-0 ") != -1 / 0;
17163
17163
  });
17164
- r({ target: "JSON", stat: !0, forced: ye }, { parse: function(K, q) {
17165
- return ue && !u(q) ? M(K) : function(Y, fe) {
17164
+ r({ target: "JSON", stat: !0, forced: ge }, { parse: function(G, Z) {
17165
+ return le && !u(Z) ? M(G) : function(Y, ce) {
17166
17166
  Y = h(Y);
17167
- var ve = new le(Y, 0), be = ve.parse(), Ce = be.value, Le = ve.skip(G, be.end);
17167
+ var ye = new ue(Y, 0), be = ye.parse(), Ce = be.value, Le = ye.skip(K, be.end);
17168
17168
  if (Le < Y.length) throw new E('Unexpected extra character: "' + O(Y, Le) + '" after the parsed data at: ' + Le);
17169
- return u(fe) ? V({ "": Ce }, "", fe, be) : Ce;
17170
- }(K, q);
17169
+ return u(ce) ? V({ "": Ce }, "", ce, be) : Ce;
17170
+ }(G, Z);
17171
17171
  } });
17172
17172
  }, 5247: (n, e, t) => {
17173
17173
  t(1689);
17174
17174
  }, 4979: (n, e, t) => {
17175
17175
  var r = t(6518), i = t(4576), s = t(7751), o = t(6980), a = t(4913).f, l = t(9297), u = t(679), c = t(3167), d = t(2603), f = t(5002), h = t(8574), m = t(3724), g = t(6395), y = "DOMException", v = s("Error"), b = s(y), S = function() {
17176
17176
  u(this, w);
17177
- var G = arguments.length, V = d(G < 1 ? void 0 : arguments[0]), Z = d(G < 2 ? void 0 : arguments[1], "Error"), ne = new b(V, Z), le = new v(V);
17178
- return le.name = y, a(ne, "stack", o(1, h(le.stack, 1))), c(ne, this, S), ne;
17177
+ var K = arguments.length, V = d(K < 1 ? void 0 : arguments[0]), q = d(K < 2 ? void 0 : arguments[1], "Error"), ne = new b(V, q), ue = new v(V);
17178
+ return ue.name = y, a(ne, "stack", o(1, h(ue.stack, 1))), c(ne, this, S), ne;
17179
17179
  }, w = S.prototype = b.prototype, E = "stack" in new v(y), M = "stack" in new b(1, 2), A = b && m && Object.getOwnPropertyDescriptor(i, y), N = !(!A || A.writable && A.configurable), O = E && !N && !M;
17180
17180
  r({ global: !0, constructor: !0, forced: g || O }, { DOMException: O ? S : b });
17181
17181
  var $ = s(y), R = $.prototype;
@@ -19390,32 +19390,32 @@ B0 = new WeakMap(), hs = new WeakMap(), Nt = new WeakMap(), Yc = new WeakMap(),
19390
19390
  const s = this.x, o = this.y, a = this.width, l = this.height;
19391
19391
  s === e && o === t && a === r && l === i || this.addCommands({ cmd: x(this, $e, a4).bind(this, s, o, a, l), undo: x(this, $e, a4).bind(this, e, t, r, i), mustExec: !0 });
19392
19392
  }, l4 = function(e, t) {
19393
- const [r, i] = this.parentDimensions, s = this.x, o = this.y, a = this.width, l = this.height, u = Ke.MIN_SIZE / r, c = Ke.MIN_SIZE / i, d = x(this, $e, xm).call(this, this.rotation), f = (V, Z) => [d[0] * V + d[2] * Z, d[1] * V + d[3] * Z], h = x(this, $e, xm).call(this, 360 - this.rotation);
19393
+ const [r, i] = this.parentDimensions, s = this.x, o = this.y, a = this.width, l = this.height, u = Ke.MIN_SIZE / r, c = Ke.MIN_SIZE / i, d = x(this, $e, xm).call(this, this.rotation), f = (V, q) => [d[0] * V + d[2] * q, d[1] * V + d[3] * q], h = x(this, $e, xm).call(this, 360 - this.rotation);
19394
19394
  let m, g, y = !1, v = !1;
19395
19395
  switch (e) {
19396
19396
  case "topLeft":
19397
- y = !0, m = (V, Z) => [0, 0], g = (V, Z) => [V, Z];
19397
+ y = !0, m = (V, q) => [0, 0], g = (V, q) => [V, q];
19398
19398
  break;
19399
19399
  case "topMiddle":
19400
- m = (V, Z) => [V / 2, 0], g = (V, Z) => [V / 2, Z];
19400
+ m = (V, q) => [V / 2, 0], g = (V, q) => [V / 2, q];
19401
19401
  break;
19402
19402
  case "topRight":
19403
- y = !0, m = (V, Z) => [V, 0], g = (V, Z) => [0, Z];
19403
+ y = !0, m = (V, q) => [V, 0], g = (V, q) => [0, q];
19404
19404
  break;
19405
19405
  case "middleRight":
19406
- v = !0, m = (V, Z) => [V, Z / 2], g = (V, Z) => [0, Z / 2];
19406
+ v = !0, m = (V, q) => [V, q / 2], g = (V, q) => [0, q / 2];
19407
19407
  break;
19408
19408
  case "bottomRight":
19409
- y = !0, m = (V, Z) => [V, Z], g = (V, Z) => [0, 0];
19409
+ y = !0, m = (V, q) => [V, q], g = (V, q) => [0, 0];
19410
19410
  break;
19411
19411
  case "bottomMiddle":
19412
- m = (V, Z) => [V / 2, Z], g = (V, Z) => [V / 2, 0];
19412
+ m = (V, q) => [V / 2, q], g = (V, q) => [V / 2, 0];
19413
19413
  break;
19414
19414
  case "bottomLeft":
19415
- y = !0, m = (V, Z) => [0, Z], g = (V, Z) => [V, 0];
19415
+ y = !0, m = (V, q) => [0, q], g = (V, q) => [V, 0];
19416
19416
  break;
19417
19417
  case "middleLeft":
19418
- v = !0, m = (V, Z) => [0, Z / 2], g = (V, Z) => [V, Z / 2];
19418
+ v = !0, m = (V, q) => [0, q / 2], g = (V, q) => [V, q / 2];
19419
19419
  }
19420
19420
  const b = m(a, l), S = g(a, l);
19421
19421
  let w = f(...S);
@@ -19423,8 +19423,8 @@ B0 = new WeakMap(), hs = new WeakMap(), Nt = new WeakMap(), Yc = new WeakMap(),
19423
19423
  let A, N, O = 1, $ = 1;
19424
19424
  if (t.fromKeyboard) ({ deltaX: A, deltaY: N } = t);
19425
19425
  else {
19426
- const { screenX: V, screenY: Z } = t, [ne, le] = p(this, z0);
19427
- [A, N] = this.screenToPageTranslation(V - ne, Z - le), p(this, z0)[0] = V, p(this, z0)[1] = Z;
19426
+ const { screenX: V, screenY: q } = t, [ne, ue] = p(this, z0);
19427
+ [A, N] = this.screenToPageTranslation(V - ne, q - ue), p(this, z0)[0] = V, p(this, z0)[1] = q;
19428
19428
  }
19429
19429
  [A, N] = (R = A / r, W = N / i, [h[0] * R + h[2] * W, h[1] * R + h[3] * W]);
19430
19430
  var R, W;
@@ -19434,8 +19434,8 @@ B0 = new WeakMap(), hs = new WeakMap(), Nt = new WeakMap(), Yc = new WeakMap(),
19434
19434
  } else v ? O = Math.max(u, Math.min(1, Math.abs(S[0] - b[0] - A))) / a : $ = Math.max(c, Math.min(1, Math.abs(S[1] - b[1] - N))) / l;
19435
19435
  const te = Ke._round(a * O), re = Ke._round(l * $);
19436
19436
  w = f(...g(te, re));
19437
- const H = E - w[0], G = M - w[1];
19438
- p(this, ii) || k(this, ii, [this.x, this.y, this.width, this.height]), this.width = te, this.height = re, this.x = H, this.y = G, this.setDims(r * te, i * re), this.fixAndSetPosition(), this._onResizing();
19437
+ const H = E - w[0], K = M - w[1];
19438
+ p(this, ii) || k(this, ii, [this.x, this.y, this.width, this.height]), this.width = te, this.height = re, this.x = H, this.y = K, this.setDims(r * te, i * re), this.fixAndSetPosition(), this._onResizing();
19439
19439
  }, dE = function() {
19440
19440
  var e;
19441
19441
  k(this, zo, { savedX: this.x, savedY: this.y, savedWidth: this.width, savedHeight: this.height }), (e = p(this, Nt)) == null || e.toggle(!1), this.parent.togglePointerEvents(!1);
@@ -20120,21 +20120,21 @@ function yy(n, e, t, r, i, s, o, a) {
20120
20120
  const h = (l[t] + e.offsetX) * e.scaleX, m = (l[t + 1] + e.offsetY) * e.scaleY, g = (l[r] + e.offsetX) * e.scaleX, y = (l[r + 1] + e.offsetY) * e.scaleY, v = (l[i] + e.offsetX) * e.scaleX, b = (l[i + 1] + e.offsetY) * e.scaleY;
20121
20121
  if (m >= b) return;
20122
20122
  const S = u[s], w = u[s + 1], E = u[s + 2], M = u[o], A = u[o + 1], N = u[o + 2], O = u[a], $ = u[a + 1], R = u[a + 2], W = Math.round(m), te = Math.round(b);
20123
- let re, H, G, V, Z, ne, le, ye;
20124
- for (let ue = W; ue <= te; ue++) {
20125
- if (ue < y) {
20126
- const fe = ue < m ? 0 : (m - ue) / (m - y);
20127
- re = h - (h - g) * fe, H = S - (S - M) * fe, G = w - (w - A) * fe, V = E - (E - N) * fe;
20123
+ let re, H, K, V, q, ne, ue, ge;
20124
+ for (let le = W; le <= te; le++) {
20125
+ if (le < y) {
20126
+ const ce = le < m ? 0 : (m - le) / (m - y);
20127
+ re = h - (h - g) * ce, H = S - (S - M) * ce, K = w - (w - A) * ce, V = E - (E - N) * ce;
20128
20128
  } else {
20129
- let fe;
20130
- fe = ue > b ? 1 : y === b ? 0 : (y - ue) / (y - b), re = g - (g - v) * fe, H = M - (M - O) * fe, G = A - (A - $) * fe, V = N - (N - R) * fe;
20129
+ let ce;
20130
+ ce = le > b ? 1 : y === b ? 0 : (y - le) / (y - b), re = g - (g - v) * ce, H = M - (M - O) * ce, K = A - (A - $) * ce, V = N - (N - R) * ce;
20131
20131
  }
20132
- let ee;
20133
- ee = ue < m ? 0 : ue > b ? 1 : (m - ue) / (m - b), Z = h - (h - v) * ee, ne = S - (S - O) * ee, le = w - (w - $) * ee, ye = E - (E - R) * ee;
20134
- const K = Math.round(Math.min(re, Z)), q = Math.round(Math.max(re, Z));
20135
- let Y = d * ue + 4 * K;
20136
- for (let fe = K; fe <= q; fe++)
20137
- ee = (re - fe) / (re - Z), ee < 0 ? ee = 0 : ee > 1 && (ee = 1), c[Y++] = H - (H - ne) * ee | 0, c[Y++] = G - (G - le) * ee | 0, c[Y++] = V - (V - ye) * ee | 0, c[Y++] = 255;
20132
+ let J;
20133
+ J = le < m ? 0 : le > b ? 1 : (m - le) / (m - b), q = h - (h - v) * J, ne = S - (S - O) * J, ue = w - (w - $) * J, ge = E - (E - R) * J;
20134
+ const G = Math.round(Math.min(re, q)), Z = Math.round(Math.max(re, q));
20135
+ let Y = d * le + 4 * G;
20136
+ for (let ce = G; ce <= Z; ce++)
20137
+ J = (re - ce) / (re - q), J < 0 ? J = 0 : J > 1 && (J = 1), c[Y++] = H - (H - ne) * J | 0, c[Y++] = K - (K - ue) * J | 0, c[Y++] = V - (V - ge) * J | 0, c[Y++] = 255;
20138
20138
  }
20139
20139
  }
20140
20140
  function dW(n, e, t) {
@@ -20203,9 +20203,9 @@ const pW = 1, mW = 2, P3 = class P3 {
20203
20203
  if (re.groupLevel = e.groupLevel, this.setFillAndStrokeStyleToContext(re, i, o), te.translate(-$.scale * c, -R.scale * d), re.transform($.scale, 0, 0, R.scale, 0, 0), te.save(), this.clipBbox(re, c, d, f, h), re.baseTransform = _t(re.ctx), re.executeOperatorList(r), re.endDrawing(), te.restore(), M || A) {
20204
20204
  const H = W.canvas;
20205
20205
  M && (w = l), A && (E = u);
20206
- const G = this.getSizeAndScale(w, this.ctx.canvas.width, b), V = this.getSizeAndScale(E, this.ctx.canvas.height, S), Z = G.size, ne = V.size, le = e.cachedCanvases.getCanvas("pattern-workaround", Z, ne), ye = le.context, ue = M ? Math.floor(m / l) : 0, ee = A ? Math.floor(g / u) : 0;
20207
- for (let K = 0; K <= ue; K++) for (let q = 0; q <= ee; q++) ye.drawImage(H, Z * K, ne * q, Z, ne, 0, 0, Z, ne);
20208
- return { canvas: le.canvas, scaleX: G.scale, scaleY: V.scale, offsetX: c, offsetY: d };
20206
+ const K = this.getSizeAndScale(w, this.ctx.canvas.width, b), V = this.getSizeAndScale(E, this.ctx.canvas.height, S), q = K.size, ne = V.size, ue = e.cachedCanvases.getCanvas("pattern-workaround", q, ne), ge = ue.context, le = M ? Math.floor(m / l) : 0, J = A ? Math.floor(g / u) : 0;
20207
+ for (let G = 0; G <= le; G++) for (let Z = 0; Z <= J; Z++) ge.drawImage(H, q * G, ne * Z, q, ne, 0, 0, q, ne);
20208
+ return { canvas: ue.canvas, scaleX: K.scale, scaleY: V.scale, offsetX: c, offsetY: d };
20209
20209
  }
20210
20210
  return { canvas: W.canvas, scaleX: $.scale, scaleY: R.scale, offsetX: c, offsetY: d };
20211
20211
  }
@@ -20839,22 +20839,22 @@ const pw = class pw {
20839
20839
  const O = (A.isSpace ? l : 0) + a, $ = A.fontChar, R = A.accent;
20840
20840
  let W, te, re = A.width;
20841
20841
  if (f) {
20842
- const H = A.vmetric || m, G = -(A.vmetric ? H[1] : 0.5 * re) * g, V = H[2] * g;
20843
- re = H ? -H[0] : re, W = G / o, te = (M + V) / o;
20842
+ const H = A.vmetric || m, K = -(A.vmetric ? H[1] : 0.5 * re) * g, V = H[2] * g;
20843
+ re = H ? -H[0] : re, W = K / o, te = (M + V) / o;
20844
20844
  } else
20845
20845
  W = M / o, te = 0;
20846
20846
  if (r.remeasure && re > 0) {
20847
20847
  const H = 1e3 * s.measureText($).width / i * o;
20848
20848
  if (re < H && this.isFontSubpixelAAEnabled) {
20849
- const G = re / H;
20850
- N = !0, s.save(), s.scale(G, 1), W /= G;
20849
+ const K = re / H;
20850
+ N = !0, s.save(), s.scale(K, 1), W /= K;
20851
20851
  } else re !== H && (W += (re - H) / 2e3 * i / o);
20852
20852
  }
20853
20853
  if (this.contentVisible && (A.isInFont || r.missingFile)) {
20854
20854
  if (y && !R) s.fillText($, W, te);
20855
20855
  else if (this.paintChar($, W, te, v, b), R) {
20856
- const H = W + i * R.offset.x / o, G = te - i * R.offset.y / o;
20857
- this.paintChar(R.fontChar, H, G, v, b);
20856
+ const H = W + i * R.offset.x / o, K = te - i * R.offset.y / o;
20857
+ this.paintChar(R.fontChar, H, K, v, b);
20858
20858
  }
20859
20859
  }
20860
20860
  M += f ? re * g - O * u : re * g + O * u, N && s.restore();
@@ -22449,35 +22449,35 @@ function VW(n = {}) {
22449
22449
  throw new Error("Invalid PDF binary data: either TypedArray, string, or array-like object is expected in the data property.");
22450
22450
  }(n.data) : null, s = n.httpHeaders || null, o = n.withCredentials === !0, a = n.password ?? null, l = n.range instanceof jE ? n.range : null, u = Number.isInteger(n.rangeChunkSize) && n.rangeChunkSize > 0 ? n.rangeChunkSize : $W;
22451
22451
  let c = n.worker instanceof _c ? n.worker : null;
22452
- const d = n.verbosity, f = typeof n.docBaseUrl != "string" || d5(n.docBaseUrl) ? null : n.docBaseUrl, h = typeof n.cMapUrl == "string" ? n.cMapUrl : null, m = n.cMapPacked !== !1, g = n.CMapReaderFactory || BW, y = typeof n.standardFontDataUrl == "string" ? n.standardFontDataUrl : null, v = n.StandardFontDataFactory || zW, b = n.stopAtErrors !== !0, S = Number.isInteger(n.maxImageSize) && n.maxImageSize > -1 ? n.maxImageSize : -1, w = n.isEvalSupported !== !1, E = typeof n.isOffscreenCanvasSupported == "boolean" ? n.isOffscreenCanvasSupported : !rr, M = typeof n.isImageDecoderSupported == "boolean" ? n.isImageDecoderSupported : !rr && (Ar.platform.isFirefox || !globalThis.chrome), A = Number.isInteger(n.canvasMaxAreaInBytes) ? n.canvasMaxAreaInBytes : -1, N = typeof n.disableFontFace == "boolean" ? n.disableFontFace : rr, O = n.fontExtraProperties === !0, $ = n.enableXfa === !0, R = n.ownerDocument || globalThis.document, W = n.disableRange === !0, te = n.disableStream === !0, re = n.disableAutoFetch === !0, H = n.pdfBug === !0, G = n.CanvasFactory || FW, V = n.FilterFactory || jW, Z = n.enableHWA === !0, ne = l ? l.length : n.length ?? NaN, le = typeof n.useSystemFonts == "boolean" ? n.useSystemFonts : !rr && !N, ye = typeof n.useWorkerFetch == "boolean" ? n.useWorkerFetch : g === AE && v === EE && h && y && Rd(h, document.baseURI) && Rd(y, document.baseURI);
22452
+ const d = n.verbosity, f = typeof n.docBaseUrl != "string" || d5(n.docBaseUrl) ? null : n.docBaseUrl, h = typeof n.cMapUrl == "string" ? n.cMapUrl : null, m = n.cMapPacked !== !1, g = n.CMapReaderFactory || BW, y = typeof n.standardFontDataUrl == "string" ? n.standardFontDataUrl : null, v = n.StandardFontDataFactory || zW, b = n.stopAtErrors !== !0, S = Number.isInteger(n.maxImageSize) && n.maxImageSize > -1 ? n.maxImageSize : -1, w = n.isEvalSupported !== !1, E = typeof n.isOffscreenCanvasSupported == "boolean" ? n.isOffscreenCanvasSupported : !rr, M = typeof n.isImageDecoderSupported == "boolean" ? n.isImageDecoderSupported : !rr && (Ar.platform.isFirefox || !globalThis.chrome), A = Number.isInteger(n.canvasMaxAreaInBytes) ? n.canvasMaxAreaInBytes : -1, N = typeof n.disableFontFace == "boolean" ? n.disableFontFace : rr, O = n.fontExtraProperties === !0, $ = n.enableXfa === !0, R = n.ownerDocument || globalThis.document, W = n.disableRange === !0, te = n.disableStream === !0, re = n.disableAutoFetch === !0, H = n.pdfBug === !0, K = n.CanvasFactory || FW, V = n.FilterFactory || jW, q = n.enableHWA === !0, ne = l ? l.length : n.length ?? NaN, ue = typeof n.useSystemFonts == "boolean" ? n.useSystemFonts : !rr && !N, ge = typeof n.useWorkerFetch == "boolean" ? n.useWorkerFetch : g === AE && v === EE && h && y && Rd(h, document.baseURI) && Rd(y, document.baseURI);
22453
22453
  YU(d);
22454
- const ue = { canvasFactory: new G({ ownerDocument: R, enableHWA: Z }), filterFactory: new V({ docId: t, ownerDocument: R }), cMapReaderFactory: ye ? null : new g({ baseUrl: h, isCompressed: m }), standardFontDataFactory: ye ? null : new v({ baseUrl: y }) };
22454
+ const le = { canvasFactory: new K({ ownerDocument: R, enableHWA: q }), filterFactory: new V({ docId: t, ownerDocument: R }), cMapReaderFactory: ge ? null : new g({ baseUrl: h, isCompressed: m }), standardFontDataFactory: ge ? null : new v({ baseUrl: y }) };
22455
22455
  if (!c) {
22456
- const q = { verbosity: d, port: aa.workerPort };
22457
- c = q.port ? _c.fromPort(q) : new _c(q), e._worker = c;
22456
+ const Z = { verbosity: d, port: aa.workerPort };
22457
+ c = Z.port ? _c.fromPort(Z) : new _c(Z), e._worker = c;
22458
22458
  }
22459
- const ee = { docId: t, apiVersion: "4.10.38", data: i, password: a, disableAutoFetch: re, rangeChunkSize: u, length: ne, docBaseUrl: f, enableXfa: $, evaluatorOptions: { maxImageSize: S, disableFontFace: N, ignoreErrors: b, isEvalSupported: w, isOffscreenCanvasSupported: E, isImageDecoderSupported: M, canvasMaxAreaInBytes: A, fontExtraProperties: O, useSystemFonts: le, cMapUrl: ye ? h : null, standardFontDataUrl: ye ? y : null } }, K = { disableFontFace: N, fontExtraProperties: O, ownerDocument: R, pdfBug: H, styleElement: null, loadingParams: { disableAutoFetch: re, enableXfa: $ } };
22459
+ const J = { docId: t, apiVersion: "4.10.38", data: i, password: a, disableAutoFetch: re, rangeChunkSize: u, length: ne, docBaseUrl: f, enableXfa: $, evaluatorOptions: { maxImageSize: S, disableFontFace: N, ignoreErrors: b, isEvalSupported: w, isOffscreenCanvasSupported: E, isImageDecoderSupported: M, canvasMaxAreaInBytes: A, fontExtraProperties: O, useSystemFonts: ue, cMapUrl: ge ? h : null, standardFontDataUrl: ge ? y : null } }, G = { disableFontFace: N, fontExtraProperties: O, ownerDocument: R, pdfBug: H, styleElement: null, loadingParams: { disableAutoFetch: re, enableXfa: $ } };
22460
22460
  return c.promise.then(function() {
22461
22461
  if (e.destroyed) throw new Error("Loading aborted");
22462
22462
  if (c.destroyed) throw new Error("Worker was destroyed");
22463
- const q = c.messageHandler.sendWithPromise("GetDocRequest", ee, i ? [i.buffer] : null);
22463
+ const Z = c.messageHandler.sendWithPromise("GetDocRequest", J, i ? [i.buffer] : null);
22464
22464
  let Y;
22465
22465
  if (l) Y = new kW(l, { disableRange: W, disableStream: te });
22466
22466
  else if (!i) {
22467
22467
  if (!r) throw new Error("getDocument - no `url` parameter provided.");
22468
- let fe;
22468
+ let ce;
22469
22469
  if (rr) if (Rd(r)) {
22470
22470
  if (typeof fetch > "u" || typeof Response > "u" || !("body" in Response.prototype)) throw new Error("getDocument - the Fetch API was disabled in Node.js, see `--no-experimental-fetch`.");
22471
- fe = F9;
22472
- } else fe = LW;
22473
- else fe = Rd(r) ? F9 : OW;
22474
- Y = new fe({ url: r, length: ne, httpHeaders: s, withCredentials: o, rangeChunkSize: u, disableRange: W, disableStream: te });
22471
+ ce = F9;
22472
+ } else ce = LW;
22473
+ else ce = Rd(r) ? F9 : OW;
22474
+ Y = new ce({ url: r, length: ne, httpHeaders: s, withCredentials: o, rangeChunkSize: u, disableRange: W, disableStream: te });
22475
22475
  }
22476
- return q.then((fe) => {
22476
+ return Z.then((ce) => {
22477
22477
  if (e.destroyed) throw new Error("Loading aborted");
22478
22478
  if (c.destroyed) throw new Error("Worker was destroyed");
22479
- const ve = new jd(t, fe, c.port), be = new ZW(ve, e, Y, K, ue);
22480
- e._transport = be, ve.send("Ready", null);
22479
+ const ye = new jd(t, ce, c.port), be = new ZW(ye, e, Y, G, le);
22480
+ e._transport = be, ye.send("Ready", null);
22481
22481
  });
22482
22482
  }).catch(e._capability.reject), e;
22483
22483
  }
@@ -27581,26 +27581,26 @@ const gp = /* @__PURE__ */ He(RZ, [["render", BZ], ["__scopeId", "data-v-ca6ae8f
27581
27581
  emits: ["update:model-value", "update:activeIndex", "click:file"],
27582
27582
  setup(n, { emit: e }) {
27583
27583
  const { t } = So(), { deviceType: r } = yp(), i = [{ text: t("HC_CANCEL") }], s = F(null), o = Q(() => {
27584
- var ue;
27585
- return (ue = s.value) == null ? void 0 : ue.offsetWidth;
27584
+ var le;
27585
+ return (le = s.value) == null ? void 0 : le.offsetWidth;
27586
27586
  }), a = F(null), l = F([]), u = F(!1), c = F(null), d = F("0"), f = F(1), h = F(cr.md ? 1 : 0.9), m = F(0), g = F(null), y = F(), v = F(!1), b = F(!1), S = Q(() => {
27587
27587
  if (g.value)
27588
27588
  return g.value && "original" in g.value ? {
27589
27589
  name: g.value.original.name,
27590
27590
  url: g.value.original.url,
27591
27591
  type: g.value.mimetype,
27592
- extension: Z(g.value.original.url)
27592
+ extension: q(g.value.original.url)
27593
27593
  } : {
27594
27594
  name: g.value.name,
27595
27595
  url: URL.createObjectURL(g.value),
27596
27596
  type: g.value.type,
27597
- extension: Z(g.value.name)
27597
+ extension: q(g.value.name)
27598
27598
  };
27599
27599
  }), w = Q(() => [
27600
27600
  `z-[${n.baseZIndex + 1}]`
27601
- ]), E = Q(() => n.files.filter((ue) => ue.type.startsWith("image") && !ue.type.includes("tif"))), M = Q(() => [
27601
+ ]), E = Q(() => n.files.filter((le) => le.type.startsWith("image") && !le.type.includes("tif"))), M = Q(() => [
27602
27602
  "rounded-lg relative mx-auto object-cover grow-1 max-h-[74vh]",
27603
- { animated: !G }
27603
+ { animated: !K }
27604
27604
  ]), A = Q(() => [
27605
27605
  "flex items-center gap-3",
27606
27606
  n.wrap ? "flex-wrap" : "flex-nowrap overflow-x-auto shrink-0",
@@ -27609,26 +27609,26 @@ const gp = /* @__PURE__ */ He(RZ, [["render", BZ], ["__scopeId", "data-v-ca6ae8f
27609
27609
  text: t("HC_DELETE_ATTACHMENT"),
27610
27610
  classes: "!text-red-20",
27611
27611
  event: re
27612
- }]), O = (ue) => {
27613
- const ee = ue instanceof File ? URL.createObjectURL(ue) : ue.original.url;
27614
- r.value === "desktop" ? window.open(ee, "_blank") : window.open(ee, "_self");
27615
- }, $ = (ue) => {
27616
- r.value === "desktop" ? O(ue) : (g.value = ue, b.value = !0);
27617
- }, R = (ue) => {
27618
- ue.event(), u.value = !1;
27619
- }, W = (ue, ee) => {
27620
- var q;
27621
- const K = ((q = ee.type) == null ? void 0 : q.includes("image")) && !ee.type.includes("tif");
27622
- !u.value && K ? te(ue, ee) : !u.value && !K && $(ee);
27623
- }, te = (ue, ee) => {
27624
- const K = (Y) => "original" in Y && "original" in ee ? Y.original.url === (ee == null ? void 0 : ee.original.url) : ee instanceof File ? Y.name === (ee == null ? void 0 : ee.name) : !1, q = E.value.findIndex(K);
27625
- m.value = q !== -1 ? q : ue, v.value = !0;
27626
- }, re = (ue = null) => {
27627
- u.value = !1, e("update:model-value", ue || c.value);
27628
- }, H = (ue) => {
27629
- const { keyCode: ee } = ue;
27612
+ }]), O = (le) => {
27613
+ const J = le instanceof File ? URL.createObjectURL(le) : le.original.url;
27614
+ r.value === "desktop" ? window.open(J, "_blank") : window.open(J, "_self");
27615
+ }, $ = (le) => {
27616
+ r.value === "desktop" ? O(le) : (g.value = le, b.value = !0);
27617
+ }, R = (le) => {
27618
+ le.event(), u.value = !1;
27619
+ }, W = (le, J) => {
27620
+ var Z;
27621
+ const G = ((Z = J.type) == null ? void 0 : Z.includes("image")) && !J.type.includes("tif");
27622
+ !u.value && G ? te(le, J) : !u.value && !G && $(J);
27623
+ }, te = (le, J) => {
27624
+ const G = (Y) => "original" in Y && "original" in J ? Y.original.url === (J == null ? void 0 : J.original.url) : J instanceof File ? Y.name === (J == null ? void 0 : J.name) : !1, Z = E.value.findIndex(G);
27625
+ m.value = Z !== -1 ? Z : le, v.value = !0;
27626
+ }, re = (le = null) => {
27627
+ u.value = !1, e("update:model-value", le || c.value);
27628
+ }, H = (le) => {
27629
+ const { keyCode: J } = le;
27630
27630
  if (v.value)
27631
- switch (ee) {
27631
+ switch (J) {
27632
27632
  // previous - navigate to previous image
27633
27633
  case 37:
27634
27634
  m.value = m.value ? m.value - 1 : E.value.length - 1, e("update:activeIndex", m.value);
@@ -27642,36 +27642,36 @@ const gp = /* @__PURE__ */ He(RZ, [["render", BZ], ["__scopeId", "data-v-ca6ae8f
27642
27642
  v.value = !1;
27643
27643
  break;
27644
27644
  }
27645
- }, { isSwiping: G, lengthX: V } = HL(a, {
27645
+ }, { isSwiping: K, lengthX: V } = HL(a, {
27646
27646
  passive: !1,
27647
27647
  onSwipe() {
27648
- const ue = Math.abs(V.value);
27649
- o.value && (f.value = 1.1 - ue / o.value, d.value = V.value < 0 ? `${ue / 4}px` : `-${ue / 4}px`);
27648
+ const le = Math.abs(V.value);
27649
+ o.value && (f.value = 1.1 - le / o.value, d.value = V.value < 0 ? `${le / 4}px` : `-${le / 4}px`);
27650
27650
  },
27651
27651
  onSwipeEnd() {
27652
- const ue = m.value <= 0, ee = m.value >= E.value.length - 1, K = Math.abs(V.value);
27653
- o.value && K / o.value >= 0.5 ? (V.value < 0 ? m.value = ue ? E.value.length - 1 : m.value - 1 : m.value = ee ? 0 : m.value + 1, d.value = "0", f.value = 1) : (d.value = "0", f.value = 1);
27652
+ const le = m.value <= 0, J = m.value >= E.value.length - 1, G = Math.abs(V.value);
27653
+ o.value && G / o.value >= 0.5 ? (V.value < 0 ? m.value = le ? E.value.length - 1 : m.value - 1 : m.value = J ? 0 : m.value + 1, d.value = "0", f.value = 1) : (d.value = "0", f.value = 1);
27654
27654
  }
27655
- }), Z = (ue) => ue.substring(ue.lastIndexOf(".")), ne = (ue, ee) => {
27656
- ue.preventDefault(), c.value = n.files[ee], u.value = !0;
27657
- }, le = () => {
27655
+ }), q = (le) => le.substring(le.lastIndexOf(".")), ne = (le, J) => {
27656
+ le.preventDefault(), c.value = n.files[J], u.value = !0;
27657
+ }, ue = () => {
27658
27658
  u.value = !1, c.value = null;
27659
- }, ye = () => {
27660
- r.value !== "desktop" && l.value.forEach((ue) => {
27659
+ }, ge = () => {
27660
+ r.value !== "desktop" && l.value.forEach((le) => {
27661
27661
  _L(
27662
- ue,
27663
- (ee) => {
27664
- const K = l.value.indexOf(ue);
27665
- ne(ee, K);
27662
+ le,
27663
+ (J) => {
27664
+ const G = l.value.indexOf(le);
27665
+ ne(J, G);
27666
27666
  },
27667
27667
  { modifiers: { prevent: !0 } }
27668
27668
  );
27669
27669
  });
27670
27670
  };
27671
27671
  return Ct(() => {
27672
- window.addEventListener("keyup", H), ye();
27672
+ window.addEventListener("keyup", H), ge();
27673
27673
  }), jM(() => {
27674
- ye();
27674
+ ge();
27675
27675
  }), {
27676
27676
  menuActions: i,
27677
27677
  linkActions: N,
@@ -27683,7 +27683,7 @@ const gp = /* @__PURE__ */ He(RZ, [["render", BZ], ["__scopeId", "data-v-ca6ae8f
27683
27683
  longPressRef: l,
27684
27684
  longPressedHook: u,
27685
27685
  // Animation Refs
27686
- isSwiping: G,
27686
+ isSwiping: K,
27687
27687
  lengthX: V,
27688
27688
  left: d,
27689
27689
  opacity: f,
@@ -27702,7 +27702,7 @@ const gp = /* @__PURE__ */ He(RZ, [["render", BZ], ["__scopeId", "data-v-ca6ae8f
27702
27702
  thumbnailContainerClasses: A,
27703
27703
  // Methods
27704
27704
  downloadDocument: O,
27705
- getExtension: Z,
27705
+ getExtension: q,
27706
27706
  onAttachmentClick: $,
27707
27707
  onClickMenuLink: R,
27708
27708
  onClickThumbnail: W,
@@ -27710,7 +27710,7 @@ const gp = /* @__PURE__ */ He(RZ, [["render", BZ], ["__scopeId", "data-v-ca6ae8f
27710
27710
  onRemoveFile: re,
27711
27711
  onKeyboardNavigation: H,
27712
27712
  onLongPressCallbackHook: ne,
27713
- resetHook: le,
27713
+ resetHook: ue,
27714
27714
  // Composable
27715
27715
  mq: cr
27716
27716
  };
@@ -28422,7 +28422,7 @@ function jI(n, e, t, r) {
28422
28422
  t -= l, r -= l;
28423
28423
  }
28424
28424
  }
28425
- class de {
28425
+ class fe {
28426
28426
  /**
28427
28427
  @internal
28428
28428
  */
@@ -28477,7 +28477,7 @@ class de {
28477
28477
  let t = this.lastChild, r = e.firstChild, i = this.content.slice(), s = 0;
28478
28478
  for (t.isText && t.sameMarkup(r) && (i[i.length - 1] = t.withText(t.text + r.text), s = 1); s < e.content.length; s++)
28479
28479
  i.push(e.content[s]);
28480
- return new de(i, this.size + e.size);
28480
+ return new fe(i, this.size + e.size);
28481
28481
  }
28482
28482
  /**
28483
28483
  Cut out the sub-fragment between the two given positions.
@@ -28491,13 +28491,13 @@ class de {
28491
28491
  let a = this.content[s], l = o + a.nodeSize;
28492
28492
  l > e && ((o < e || l > t) && (a.isText ? a = a.cut(Math.max(0, e - o), Math.min(a.text.length, t - o)) : a = a.cut(Math.max(0, e - o - 1), Math.min(a.content.size, t - o - 1))), r.push(a), i += a.nodeSize), o = l;
28493
28493
  }
28494
- return new de(r, i);
28494
+ return new fe(r, i);
28495
28495
  }
28496
28496
  /**
28497
28497
  @internal
28498
28498
  */
28499
28499
  cutByIndex(e, t) {
28500
- return e == t ? de.empty : e == 0 && t == this.content.length ? this : new de(this.content.slice(e, t));
28500
+ return e == t ? fe.empty : e == 0 && t == this.content.length ? this : new fe(this.content.slice(e, t));
28501
28501
  }
28502
28502
  /**
28503
28503
  Create a new fragment in which the node at the given index is
@@ -28508,21 +28508,21 @@ class de {
28508
28508
  if (r == t)
28509
28509
  return this;
28510
28510
  let i = this.content.slice(), s = this.size + t.nodeSize - r.nodeSize;
28511
- return i[e] = t, new de(i, s);
28511
+ return i[e] = t, new fe(i, s);
28512
28512
  }
28513
28513
  /**
28514
28514
  Create a new fragment by prepending the given node to this
28515
28515
  fragment.
28516
28516
  */
28517
28517
  addToStart(e) {
28518
- return new de([e].concat(this.content), this.size + e.nodeSize);
28518
+ return new fe([e].concat(this.content), this.size + e.nodeSize);
28519
28519
  }
28520
28520
  /**
28521
28521
  Create a new fragment by appending the given node to this
28522
28522
  fragment.
28523
28523
  */
28524
28524
  addToEnd(e) {
28525
- return new de(this.content.concat(e), this.size + e.nodeSize);
28525
+ return new fe(this.content.concat(e), this.size + e.nodeSize);
28526
28526
  }
28527
28527
  /**
28528
28528
  Compare this fragment to another one.
@@ -28637,10 +28637,10 @@ class de {
28637
28637
  */
28638
28638
  static fromJSON(e, t) {
28639
28639
  if (!t)
28640
- return de.empty;
28640
+ return fe.empty;
28641
28641
  if (!Array.isArray(t))
28642
28642
  throw new RangeError("Invalid input for Fragment.fromJSON");
28643
- return new de(t.map(e.nodeFromJSON));
28643
+ return new fe(t.map(e.nodeFromJSON));
28644
28644
  }
28645
28645
  /**
28646
28646
  Build a fragment from an array of nodes. Ensures that adjacent
@@ -28648,13 +28648,13 @@ class de {
28648
28648
  */
28649
28649
  static fromArray(e) {
28650
28650
  if (!e.length)
28651
- return de.empty;
28651
+ return fe.empty;
28652
28652
  let t, r = 0;
28653
28653
  for (let i = 0; i < e.length; i++) {
28654
28654
  let s = e[i];
28655
28655
  r += s.nodeSize, i && s.isText && e[i - 1].sameMarkup(s) ? (t || (t = e.slice(0, i)), t[t.length - 1] = s.withText(t[t.length - 1].text + s.text)) : t && t.push(s);
28656
28656
  }
28657
- return new de(t || e, r);
28657
+ return new fe(t || e, r);
28658
28658
  }
28659
28659
  /**
28660
28660
  Create a fragment from something that can be interpreted as a
@@ -28664,17 +28664,17 @@ class de {
28664
28664
  */
28665
28665
  static from(e) {
28666
28666
  if (!e)
28667
- return de.empty;
28668
- if (e instanceof de)
28667
+ return fe.empty;
28668
+ if (e instanceof fe)
28669
28669
  return e;
28670
28670
  if (Array.isArray(e))
28671
28671
  return this.fromArray(e);
28672
28672
  if (e.attrs)
28673
- return new de([e], e.nodeSize);
28673
+ return new fe([e], e.nodeSize);
28674
28674
  throw new RangeError("Can not convert " + e + " to a Fragment" + (e.nodesBetween ? " (looks like multiple versions of prosemirror-model were loaded)" : ""));
28675
28675
  }
28676
28676
  }
28677
- de.empty = new de([], 0);
28677
+ fe.empty = new fe([], 0);
28678
28678
  const vy = { index: 0, offset: 0 };
28679
28679
  function Xp(n, e) {
28680
28680
  return vy.index = n, vy.offset = e, vy;
@@ -28875,7 +28875,7 @@ class we {
28875
28875
  let r = t.openStart || 0, i = t.openEnd || 0;
28876
28876
  if (typeof r != "number" || typeof i != "number")
28877
28877
  throw new RangeError("Invalid input for Slice.fromJSON");
28878
- return new we(de.fromJSON(e, t.content), r, i);
28878
+ return new we(fe.fromJSON(e, t.content), r, i);
28879
28879
  }
28880
28880
  /**
28881
28881
  Create a slice from a fragment by taking the maximum possible
@@ -28890,7 +28890,7 @@ class we {
28890
28890
  return new we(e, r, i);
28891
28891
  }
28892
28892
  }
28893
- we.empty = new we(de.empty, 0, 0);
28893
+ we.empty = new we(fe.empty, 0, 0);
28894
28894
  function zI(n, e, t) {
28895
28895
  let { index: r, offset: i } = n.findIndex(e), s = n.maybeChild(r), { index: o, offset: a } = n.findIndex(t);
28896
28896
  if (i == e || s.isText) {
@@ -28955,7 +28955,7 @@ function Pu(n, e) {
28955
28955
  }
28956
28956
  function WI(n, e, t, r, i) {
28957
28957
  let s = n.depth > i && sb(n, e, i + 1), o = r.depth > i && sb(t, r, i + 1), a = [];
28958
- return cf(null, n, i, a), s && o && e.index(i) == t.index(i) ? (UI(s, o), Nu(Pu(s, WI(n, e, t, r, i + 1)), a)) : (s && Nu(Pu(s, Og(n, e, i + 1)), a), cf(e, t, i, a), o && Nu(Pu(o, Og(t, r, i + 1)), a)), cf(r, null, i, a), new de(a);
28958
+ return cf(null, n, i, a), s && o && e.index(i) == t.index(i) ? (UI(s, o), Nu(Pu(s, WI(n, e, t, r, i + 1)), a)) : (s && Nu(Pu(s, Og(n, e, i + 1)), a), cf(e, t, i, a), o && Nu(Pu(o, Og(t, r, i + 1)), a)), cf(r, null, i, a), new fe(a);
28959
28959
  }
28960
28960
  function Og(n, e, t) {
28961
28961
  let r = [];
@@ -28963,12 +28963,12 @@ function Og(n, e, t) {
28963
28963
  let i = sb(n, e, t + 1);
28964
28964
  Nu(Pu(i, Og(n, e, t + 1)), r);
28965
28965
  }
28966
- return cf(e, null, t, r), new de(r);
28966
+ return cf(e, null, t, r), new fe(r);
28967
28967
  }
28968
28968
  function wG(n, e) {
28969
28969
  let t = e.depth - n.openStart, i = e.node(t).copy(n.content);
28970
28970
  for (let s = t - 1; s >= 0; s--)
28971
- i = e.node(s).copy(de.from(i));
28971
+ i = e.node(s).copy(fe.from(i));
28972
28972
  return {
28973
28973
  start: i.resolveNoCache(n.openStart + t),
28974
28974
  end: i.resolveNoCache(i.content.size - n.openEnd - t)
@@ -29264,7 +29264,7 @@ let Lu = class ob {
29264
29264
  @internal
29265
29265
  */
29266
29266
  constructor(e, t, r, i = kt.none) {
29267
- this.type = e, this.attrs = t, this.marks = i, this.content = r || de.empty;
29267
+ this.type = e, this.attrs = t, this.marks = i, this.content = r || fe.empty;
29268
29268
  }
29269
29269
  /**
29270
29270
  The size of this node, as defined by the integer-based [indexing
@@ -29547,7 +29547,7 @@ let Lu = class ob {
29547
29547
  can optionally pass `start` and `end` indices into the
29548
29548
  replacement fragment.
29549
29549
  */
29550
- canReplace(e, t, r = de.empty, i = 0, s = r.childCount) {
29550
+ canReplace(e, t, r = fe.empty, i = 0, s = r.childCount) {
29551
29551
  let o = this.contentMatchAt(e).matchFragment(r, i, s), a = o && o.matchFragment(this.content, t);
29552
29552
  if (!a || !a.validEnd)
29553
29553
  return !1;
@@ -29616,7 +29616,7 @@ let Lu = class ob {
29616
29616
  throw new RangeError("Invalid text node in JSON");
29617
29617
  return e.text(t.text, r);
29618
29618
  }
29619
- let i = de.fromJSON(e, t.content);
29619
+ let i = fe.fromJSON(e, t.content);
29620
29620
  return e.nodeType(t.type).create(t.attrs, i, r);
29621
29621
  }
29622
29622
  };
@@ -29744,7 +29744,7 @@ class Wu {
29744
29744
  function s(o, a) {
29745
29745
  let l = o.matchFragment(e, r);
29746
29746
  if (l && (!t || l.validEnd))
29747
- return de.from(a.map((u) => u.createAndFill()));
29747
+ return fe.from(a.map((u) => u.createAndFill()));
29748
29748
  for (let u = 0; u < o.next.length; u++) {
29749
29749
  let { type: c, next: d } = o.next[u];
29750
29750
  if (!(c.isText || c.hasRequiredAttrs()) && i.indexOf(d) == -1) {
@@ -30111,7 +30111,7 @@ let U9 = class XI {
30111
30111
  create(e = null, t, r) {
30112
30112
  if (this.isText)
30113
30113
  throw new Error("NodeType.create can't construct text nodes");
30114
- return new Lu(this, this.computeAttrs(e), de.from(t), kt.setFrom(r));
30114
+ return new Lu(this, this.computeAttrs(e), fe.from(t), kt.setFrom(r));
30115
30115
  }
30116
30116
  /**
30117
30117
  Like [`create`](https://prosemirror.net/docs/ref/#model.NodeType.create), but check the given content
@@ -30119,7 +30119,7 @@ let U9 = class XI {
30119
30119
  if it doesn't match.
30120
30120
  */
30121
30121
  createChecked(e = null, t, r) {
30122
- return t = de.from(t), this.checkContent(t), new Lu(this, this.computeAttrs(e), t, kt.setFrom(r));
30122
+ return t = fe.from(t), this.checkContent(t), new Lu(this, this.computeAttrs(e), t, kt.setFrom(r));
30123
30123
  }
30124
30124
  /**
30125
30125
  Like [`create`](https://prosemirror.net/docs/ref/#model.NodeType.create), but see if it is
@@ -30130,13 +30130,13 @@ let U9 = class XI {
30130
30130
  `Fragment.empty` as content.
30131
30131
  */
30132
30132
  createAndFill(e = null, t, r) {
30133
- if (e = this.computeAttrs(e), t = de.from(t), t.size) {
30133
+ if (e = this.computeAttrs(e), t = fe.from(t), t.size) {
30134
30134
  let o = this.contentMatch.fillBefore(t);
30135
30135
  if (!o)
30136
30136
  return null;
30137
30137
  t = o.append(t);
30138
30138
  }
30139
- let i = this.contentMatch.matchFragment(t), s = i && i.fillBefore(de.empty, !0);
30139
+ let i = this.contentMatch.matchFragment(t), s = i && i.fillBefore(fe.empty, !0);
30140
30140
  return s ? new Lu(this, e, t.append(s), kt.setFrom(r)) : null;
30141
30141
  }
30142
30142
  /**
@@ -30514,7 +30514,7 @@ class Jp {
30514
30514
  if (!this.match) {
30515
30515
  if (!this.type)
30516
30516
  return [];
30517
- let t = this.type.contentMatch.fillBefore(de.from(e));
30517
+ let t = this.type.contentMatch.fillBefore(fe.from(e));
30518
30518
  if (t)
30519
30519
  this.match = this.type.contentMatch.matchFragment(t);
30520
30520
  else {
@@ -30532,8 +30532,8 @@ class Jp {
30532
30532
  r.text.length == i[0].length ? this.content.pop() : this.content[this.content.length - 1] = s.withText(s.text.slice(0, s.text.length - i[0].length));
30533
30533
  }
30534
30534
  }
30535
- let t = de.from(this.content);
30536
- return !e && this.match && (t = t.append(this.match.fillBefore(de.empty, !0))), this.type ? this.type.create(this.attrs, t, this.marks) : t;
30535
+ let t = fe.from(this.content);
30536
+ return !e && this.match && (t = t.append(this.match.fillBefore(fe.empty, !0))), this.type ? this.type.create(this.attrs, t, this.marks) : t;
30537
30537
  }
30538
30538
  popFromStashMark(e) {
30539
30539
  for (let t = this.stashMarks.length - 1; t >= 0; t--)
@@ -31363,7 +31363,7 @@ function q6(n, e, t) {
31363
31363
  let s = n.child(i);
31364
31364
  s.content.size && (s = s.copy(q6(s.content, e, s))), s.isInline && (s = e(s, t, i)), r.push(s);
31365
31365
  }
31366
- return de.fromArray(r);
31366
+ return fe.fromArray(r);
31367
31367
  }
31368
31368
  class Al extends fr {
31369
31369
  /**
@@ -31455,7 +31455,7 @@ class Tl extends fr {
31455
31455
  if (!t)
31456
31456
  return ln.fail("No node at mark step's position");
31457
31457
  let r = t.type.create(t.attrs, null, this.mark.addToSet(t.marks));
31458
- return ln.fromReplace(e, this.pos, this.pos + 1, new we(de.from(r), 0, t.isLeaf ? 0 : 1));
31458
+ return ln.fromReplace(e, this.pos, this.pos + 1, new we(fe.from(r), 0, t.isLeaf ? 0 : 1));
31459
31459
  }
31460
31460
  invert(e) {
31461
31461
  let t = e.nodeAt(this.pos);
@@ -31499,7 +31499,7 @@ class K2 extends fr {
31499
31499
  if (!t)
31500
31500
  return ln.fail("No node at mark step's position");
31501
31501
  let r = t.type.create(t.attrs, null, this.mark.removeFromSet(t.marks));
31502
- return ln.fromReplace(e, this.pos, this.pos + 1, new we(de.from(r), 0, t.isLeaf ? 0 : 1));
31502
+ return ln.fromReplace(e, this.pos, this.pos + 1, new we(fe.from(r), 0, t.isLeaf ? 0 : 1));
31503
31503
  }
31504
31504
  invert(e) {
31505
31505
  let t = e.nodeAt(this.pos);
@@ -31698,13 +31698,13 @@ function UG(n, e, t, r = t.contentMatch) {
31698
31698
  if (l.isText && !t.spec.code) {
31699
31699
  let d, f = /\r?\n|\r/g, h;
31700
31700
  for (; d = f.exec(l.text); )
31701
- h || (h = new we(de.from(t.schema.text(" ", t.allowedMarks(l.marks))), 0, 0)), s.push(new An(o + d.index, o + d.index + d[0].length, h));
31701
+ h || (h = new we(fe.from(t.schema.text(" ", t.allowedMarks(l.marks))), 0, 0)), s.push(new An(o + d.index, o + d.index + d[0].length, h));
31702
31702
  }
31703
31703
  }
31704
31704
  o = u;
31705
31705
  }
31706
31706
  if (!r.validEnd) {
31707
- let a = r.fillBefore(de.empty, !0);
31707
+ let a = r.fillBefore(fe.empty, !0);
31708
31708
  n.replace(o, o, new we(a, 0, 0));
31709
31709
  }
31710
31710
  for (let a = s.length - 1; a >= 0; a--)
@@ -31725,12 +31725,12 @@ function gd(n) {
31725
31725
  return null;
31726
31726
  }
31727
31727
  function ZG(n, e, t) {
31728
- let { $from: r, $to: i, depth: s } = e, o = r.before(s + 1), a = i.after(s + 1), l = o, u = a, c = de.empty, d = 0;
31728
+ let { $from: r, $to: i, depth: s } = e, o = r.before(s + 1), a = i.after(s + 1), l = o, u = a, c = fe.empty, d = 0;
31729
31729
  for (let m = s, g = !1; m > t; m--)
31730
- g || r.index(m) > 0 ? (g = !0, c = de.from(r.node(m).copy(c)), d++) : l--;
31731
- let f = de.empty, h = 0;
31730
+ g || r.index(m) > 0 ? (g = !0, c = fe.from(r.node(m).copy(c)), d++) : l--;
31731
+ let f = fe.empty, h = 0;
31732
31732
  for (let m = s, g = !1; m > t; m--)
31733
- g || i.after(m + 1) < i.end(m) ? (g = !0, f = de.from(i.node(m).copy(f)), h++) : u++;
31733
+ g || i.after(m + 1) < i.end(m) ? (g = !0, f = fe.from(i.node(m).copy(f)), h++) : u++;
31734
31734
  n.step(new On(l, u, o, a, new we(c.append(f), d, h), c.size - d, !0));
31735
31735
  }
31736
31736
  function K6(n, e, t = null, r = n) {
@@ -31757,14 +31757,14 @@ function qG(n, e) {
31757
31757
  return !l || !l.validEnd ? null : o;
31758
31758
  }
31759
31759
  function KG(n, e, t) {
31760
- let r = de.empty;
31760
+ let r = fe.empty;
31761
31761
  for (let o = t.length - 1; o >= 0; o--) {
31762
31762
  if (r.size) {
31763
31763
  let a = t[o].type.contentMatch.matchFragment(r);
31764
31764
  if (!a || !a.validEnd)
31765
31765
  throw new RangeError("Wrapper type given to Transform.wrap does not form valid content of its parent wrapper");
31766
31766
  }
31767
- r = de.from(t[o].type.create(t[o].attrs, r));
31767
+ r = fe.from(t[o].type.create(t[o].attrs, r));
31768
31768
  }
31769
31769
  let i = e.start, s = e.end;
31770
31770
  n.step(new On(i, s, i, s, new we(r, 0, 0), t.length, !0));
@@ -31777,7 +31777,7 @@ function YG(n, e, t, r, i) {
31777
31777
  if (o.isTextblock && !o.hasMarkup(r, i) && QG(n.doc, n.mapping.slice(s).map(a), r)) {
31778
31778
  n.clearIncompatible(n.mapping.slice(s).map(a, 1), r);
31779
31779
  let l = n.mapping.slice(s), u = l.map(a, 1), c = l.map(a + o.nodeSize, 1);
31780
- return n.step(new On(u, c, u + 1, c - 1, new we(de.from(r.create(i, null, o.marks)), 0, 0), 1, !0)), !1;
31780
+ return n.step(new On(u, c, u + 1, c - 1, new we(fe.from(r.create(i, null, o.marks)), 0, 0), 1, !0)), !1;
31781
31781
  }
31782
31782
  });
31783
31783
  }
@@ -31795,7 +31795,7 @@ function XG(n, e, t, r, i) {
31795
31795
  return n.replaceWith(e, e + s.nodeSize, o);
31796
31796
  if (!t.validContent(s.content))
31797
31797
  throw new RangeError("Invalid content for node type " + t.name);
31798
- n.step(new On(e, e + s.nodeSize, e + 1, e + s.nodeSize - 1, new we(de.from(o), 0, 0), 1, !0));
31798
+ n.step(new On(e, e + s.nodeSize, e + 1, e + s.nodeSize - 1, new we(fe.from(o), 0, 0), 1, !0));
31799
31799
  }
31800
31800
  function da(n, e, t = 1, r) {
31801
31801
  let i = n.resolve(e), s = i.depth - t, o = r && r[r.length - 1] || i.parent;
@@ -31815,11 +31815,11 @@ function da(n, e, t = 1, r) {
31815
31815
  return i.node(s).canReplaceWith(a, a, l ? l.type : i.node(s + 1).type);
31816
31816
  }
31817
31817
  function JG(n, e, t = 1, r) {
31818
- let i = n.doc.resolve(e), s = de.empty, o = de.empty;
31818
+ let i = n.doc.resolve(e), s = fe.empty, o = fe.empty;
31819
31819
  for (let a = i.depth, l = i.depth - t, u = t - 1; a > l; a--, u--) {
31820
- s = de.from(i.node(a).copy(s));
31820
+ s = fe.from(i.node(a).copy(s));
31821
31821
  let c = r && r[u];
31822
- o = de.from(c ? c.type.create(c.attrs, o) : i.node(a).copy(o));
31822
+ o = fe.from(c ? c.type.create(c.attrs, o) : i.node(a).copy(o));
31823
31823
  }
31824
31824
  n.step(new An(e, e, new we(s.append(o), t, t), !0));
31825
31825
  }
@@ -31899,7 +31899,7 @@ function lx(n, e, t) {
31899
31899
  }
31900
31900
  class nq {
31901
31901
  constructor(e, t, r) {
31902
- this.$from = e, this.$to = t, this.unplaced = r, this.frontier = [], this.placed = de.empty;
31902
+ this.$from = e, this.$to = t, this.unplaced = r, this.frontier = [], this.placed = fe.empty;
31903
31903
  for (let i = 0; i <= e.depth; i++) {
31904
31904
  let s = e.node(i);
31905
31905
  this.frontier.push({
@@ -31908,7 +31908,7 @@ class nq {
31908
31908
  });
31909
31909
  }
31910
31910
  for (let i = e.depth; i > 0; i--)
31911
- this.placed = de.from(e.node(i).copy(this.placed));
31911
+ this.placed = fe.from(e.node(i).copy(this.placed));
31912
31912
  }
31913
31913
  get depth() {
31914
31914
  return this.frontier.length - 1;
@@ -31947,7 +31947,7 @@ class nq {
31947
31947
  let o = i.firstChild;
31948
31948
  for (let a = this.depth; a >= 0; a--) {
31949
31949
  let { type: l, match: u } = this.frontier[a], c, d = null;
31950
- if (t == 1 && (o ? u.matchType(o.type) || (d = u.fillBefore(de.from(o), !1)) : s && l.compatibleContent(s.type)))
31950
+ if (t == 1 && (o ? u.matchType(o.type) || (d = u.fillBefore(fe.from(o), !1)) : s && l.compatibleContent(s.type)))
31951
31951
  return { sliceDepth: r, frontierDepth: a, parent: s, inject: d };
31952
31952
  if (t == 2 && o && (c = u.findWrapping(o.type)))
31953
31953
  return { sliceDepth: r, frontierDepth: a, parent: s, wrap: c };
@@ -31991,7 +31991,7 @@ class nq {
31991
31991
  u++, (u > 1 || l == 0 || g.content.size) && (d = y, c.push(ux(g.mark(f.allowedMarks(g.marks)), u == 1 ? l : 0, u == a.childCount ? h : -1)));
31992
31992
  }
31993
31993
  let m = u == a.childCount;
31994
- m || (h = -1), this.placed = Jd(this.placed, t, de.from(c)), this.frontier[t].match = d, m && h < 0 && r && r.type == this.frontier[this.depth].type && this.frontier.length > 1 && this.closeFrontierNode();
31994
+ m || (h = -1), this.placed = Jd(this.placed, t, fe.from(c)), this.frontier[t].match = d, m && h < 0 && r && r.type == this.frontier[this.depth].type && this.frontier.length > 1 && this.closeFrontierNode();
31995
31995
  for (let g = 0, y = a; g < h; g++) {
31996
31996
  let v = y.lastChild;
31997
31997
  this.frontier.push({ type: v.type, match: v.contentMatchAt(v.childCount) }), y = v.content;
@@ -32037,10 +32037,10 @@ class nq {
32037
32037
  }
32038
32038
  openFrontierNode(e, t = null, r) {
32039
32039
  let i = this.frontier[this.depth];
32040
- i.match = i.match.matchType(e), this.placed = Jd(this.placed, this.depth, de.from(e.create(t, r))), this.frontier.push({ type: e, match: e.contentMatch });
32040
+ i.match = i.match.matchType(e), this.placed = Jd(this.placed, this.depth, fe.from(e.create(t, r))), this.frontier.push({ type: e, match: e.contentMatch });
32041
32041
  }
32042
32042
  closeFrontierNode() {
32043
- let t = this.frontier.pop().match.fillBefore(de.empty, !0);
32043
+ let t = this.frontier.pop().match.fillBefore(fe.empty, !0);
32044
32044
  t.childCount && (this.placed = Jd(this.placed, this.frontier.length, t));
32045
32045
  }
32046
32046
  }
@@ -32059,7 +32059,7 @@ function ux(n, e, t) {
32059
32059
  if (e <= 0)
32060
32060
  return n;
32061
32061
  let r = n.content;
32062
- return e > 1 && (r = r.replaceChild(0, ux(r.firstChild, e - 1, r.childCount == 1 ? t - 1 : 0))), e > 0 && (r = n.type.contentMatch.fillBefore(r).append(r), t <= 0 && (r = r.append(n.type.contentMatch.matchFragment(r).fillBefore(de.empty, !0)))), n.copy(r);
32062
+ return e > 1 && (r = r.replaceChild(0, ux(r.firstChild, e - 1, r.childCount == 1 ? t - 1 : 0))), e > 0 && (r = n.type.contentMatch.fillBefore(r).append(r), t <= 0 && (r = r.append(n.type.contentMatch.matchFragment(r).fillBefore(fe.empty, !0)))), n.copy(r);
32063
32063
  }
32064
32064
  function ky(n, e, t, r, i) {
32065
32065
  let s = n.node(e), o = i ? n.indexAfter(e) : n.index(e);
@@ -32131,7 +32131,7 @@ function cx(n, e, t, r, i) {
32131
32131
  }
32132
32132
  if (e > r) {
32133
32133
  let s = i.contentMatchAt(0), o = s.fillBefore(n).append(n);
32134
- n = o.append(s.matchFragment(o).fillBefore(de.empty, !0));
32134
+ n = o.append(s.matchFragment(o).fillBefore(fe.empty, !0));
32135
32135
  }
32136
32136
  return n;
32137
32137
  }
@@ -32140,7 +32140,7 @@ function oq(n, e, t, r) {
32140
32140
  let i = tq(n.doc, e, r.type);
32141
32141
  i != null && (e = t = i);
32142
32142
  }
32143
- n.replaceRange(e, t, new we(de.from(r), 0, 0));
32143
+ n.replaceRange(e, t, new we(fe.from(r), 0, 0));
32144
32144
  }
32145
32145
  function aq(n, e, t) {
32146
32146
  let r = n.doc.resolve(e), i = n.doc.resolve(t), s = dx(r, i);
@@ -32182,7 +32182,7 @@ class $c extends fr {
32182
32182
  r[s] = t.attrs[s];
32183
32183
  r[this.attr] = this.value;
32184
32184
  let i = t.type.create(r, null, t.marks);
32185
- return ln.fromReplace(e, this.pos, this.pos + 1, new we(de.from(i), 0, t.isLeaf ? 0 : 1));
32185
+ return ln.fromReplace(e, this.pos, this.pos + 1, new we(fe.from(i), 0, t.isLeaf ? 0 : 1));
32186
32186
  }
32187
32187
  getMap() {
32188
32188
  return yi.empty;
@@ -32304,7 +32304,7 @@ class fx {
32304
32304
  fragment, node, or array of nodes.
32305
32305
  */
32306
32306
  replaceWith(e, t, r) {
32307
- return this.replace(e, t, new we(de.from(r), 0, 0));
32307
+ return this.replace(e, t, new we(fe.from(r), 0, 0));
32308
32308
  }
32309
32309
  /**
32310
32310
  Delete the content between the given positions.
@@ -32742,7 +32742,7 @@ class Pe extends Qe {
32742
32742
  return r ? Qe.near(s) : new Pe(s);
32743
32743
  }
32744
32744
  content() {
32745
- return new we(de.from(this.node), 0, 0);
32745
+ return new we(fe.from(this.node), 0, 0);
32746
32746
  }
32747
32747
  eq(e) {
32748
32748
  return e instanceof Pe && e.anchor == this.anchor;
@@ -34148,7 +34148,7 @@ class Nl extends bp {
34148
34148
  break;
34149
34149
  }
34150
34150
  }
34151
- e.contentElement || (e.getContent = () => de.empty);
34151
+ e.contentElement || (e.getContent = () => fe.empty);
34152
34152
  }
34153
34153
  return e;
34154
34154
  }
@@ -35091,7 +35091,7 @@ function Nx(n, e, t, r, i) {
35091
35091
  if (n.someProp("transformPastedText", (f) => {
35092
35092
  e = f(e, s || r, n);
35093
35093
  }), s)
35094
- return e ? new we(de.from(n.state.schema.text(e.replace(/\r\n?/g, `
35094
+ return e ? new we(fe.from(n.state.schema.text(e.replace(/\r\n?/g, `
35095
35095
  `))), 0, 0) : we.empty;
35096
35096
  let d = n.someProp("clipboardTextParser", (f) => f(e, i, r, n));
35097
35097
  if (d)
@@ -35157,13 +35157,13 @@ function tK(n, e) {
35157
35157
  o.push(c), i = i.matchType(c.type), s = l;
35158
35158
  }
35159
35159
  }), o)
35160
- return de.from(o);
35160
+ return fe.from(o);
35161
35161
  }
35162
35162
  return n;
35163
35163
  }
35164
35164
  function Px(n, e, t = 0) {
35165
35165
  for (let r = e.length - 1; r >= t; r--)
35166
- n = e[r].create(null, de.from(n));
35166
+ n = e[r].create(null, fe.from(n));
35167
35167
  return n;
35168
35168
  }
35169
35169
  function Lx(n, e, t, r, i) {
@@ -35172,18 +35172,18 @@ function Lx(n, e, t, r, i) {
35172
35172
  if (s)
35173
35173
  return r.copy(r.content.replaceChild(r.childCount - 1, s));
35174
35174
  if (r.contentMatchAt(r.childCount).matchType(i == n.length - 1 ? t.type : n[i + 1]))
35175
- return r.copy(r.content.append(de.from(Px(t, n, i + 1))));
35175
+ return r.copy(r.content.append(fe.from(Px(t, n, i + 1))));
35176
35176
  }
35177
35177
  }
35178
35178
  function _x(n, e) {
35179
35179
  if (e == 0)
35180
35180
  return n;
35181
- let t = n.content.replaceChild(n.childCount - 1, _x(n.lastChild, e - 1)), r = n.contentMatchAt(n.childCount).fillBefore(de.empty, !0);
35181
+ let t = n.content.replaceChild(n.childCount - 1, _x(n.lastChild, e - 1)), r = n.contentMatchAt(n.childCount).fillBefore(fe.empty, !0);
35182
35182
  return n.copy(t.append(r));
35183
35183
  }
35184
35184
  function yb(n, e, t, r, i, s) {
35185
35185
  let o = e < 0 ? n.firstChild : n.lastChild, a = o.content;
35186
- return n.childCount > 1 && (s = 0), i < r - 1 && (a = yb(a, e, t, r, i + 1, s)), i >= t && (a = e < 0 ? o.contentMatchAt(0).fillBefore(a, s <= i).append(a) : a.append(o.contentMatchAt(o.childCount).fillBefore(de.empty, !0))), n.replaceChild(e < 0 ? 0 : n.childCount - 1, o.copy(a));
35186
+ return n.childCount > 1 && (s = 0), i < r - 1 && (a = yb(a, e, t, r, i + 1, s)), i >= t && (a = e < 0 ? o.contentMatchAt(0).fillBefore(a, s <= i).append(a) : a.append(o.contentMatchAt(o.childCount).fillBefore(fe.empty, !0))), n.replaceChild(e < 0 ? 0 : n.childCount - 1, o.copy(a));
35187
35187
  }
35188
35188
  function TC(n, e, t) {
35189
35189
  return e < n.openStart && (n = new we(yb(n.content, -1, e, n.openStart, 0, n.openEnd), e, n.openEnd)), t < n.openEnd && (n = new we(yb(n.content, 1, t, n.openEnd, 0, 0), n.openStart, t)), n;
@@ -35233,7 +35233,7 @@ function iK(n, e) {
35233
35233
  let l = t.nodes[r[a]];
35234
35234
  if (!l || l.hasRequiredAttrs())
35235
35235
  break;
35236
- i = de.from(l.create(r[a + 1], i)), s++, o++;
35236
+ i = fe.from(l.create(r[a + 1], i)), s++, o++;
35237
35237
  }
35238
35238
  return new we(i, s, o);
35239
35239
  }
@@ -36452,7 +36452,7 @@ function RK(n, e) {
36452
36452
  let u = [];
36453
36453
  for (let c = 0; c < e.childCount; c++)
36454
36454
  u.push(l(e.child(c)));
36455
- if (de.from(u).eq(n))
36455
+ if (fe.from(u).eq(n))
36456
36456
  return { mark: a, type: o };
36457
36457
  }
36458
36458
  function $K(n, e, t, r, i) {
@@ -37279,10 +37279,10 @@ function sO(n, e, t) {
37279
37279
  let a = e.parent.canReplace(e.index(), e.index() + 1);
37280
37280
  if (a && (s = (o = r.contentMatchAt(r.childCount)).findWrapping(i.type)) && o.matchType(s[0] || i.type).validEnd) {
37281
37281
  if (t) {
37282
- let d = e.pos + i.nodeSize, f = de.empty;
37282
+ let d = e.pos + i.nodeSize, f = fe.empty;
37283
37283
  for (let g = s.length - 1; g >= 0; g--)
37284
- f = de.from(s[g].create(null, f));
37285
- f = de.from(r.copy(f));
37284
+ f = fe.from(s[g].create(null, f));
37285
+ f = fe.from(r.copy(f));
37286
37286
  let h = n.tr.step(new On(e.pos - 1, d, e.pos, d, new we(f, 1, 0), s.length, !0)), m = d + 2 * s.length;
37287
37287
  Wl(h.doc, m) && h.join(m), t(h.scrollIntoView());
37288
37288
  }
@@ -37300,9 +37300,9 @@ function sO(n, e, t) {
37300
37300
  m++;
37301
37301
  if (d.canReplace(d.childCount, d.childCount, h.content)) {
37302
37302
  if (t) {
37303
- let g = de.empty;
37303
+ let g = fe.empty;
37304
37304
  for (let v = f.length - 1; v >= 0; v--)
37305
- g = de.from(f[v].copy(g));
37305
+ g = fe.from(f[v].copy(g));
37306
37306
  let y = n.tr.step(new On(e.pos - f.length, e.pos + i.nodeSize, e.pos + m, e.pos + i.nodeSize - m, new we(g, f.length, 0), 0, !0));
37307
37307
  t(y.scrollIntoView());
37308
37308
  }
@@ -37387,9 +37387,9 @@ function lY(n, e = null) {
37387
37387
  };
37388
37388
  }
37389
37389
  function uY(n, e, t, r, i) {
37390
- let s = de.empty;
37390
+ let s = fe.empty;
37391
37391
  for (let c = t.length - 1; c >= 0; c--)
37392
- s = de.from(t[c].type.create(t[c].attrs, s));
37392
+ s = fe.from(t[c].type.create(t[c].attrs, s));
37393
37393
  n.step(new On(e.start - (r ? 2 : 0), e.end, e.start, e.end, new we(s, 0, 0), t.length, !0));
37394
37394
  let o = 0;
37395
37395
  for (let c = 0; c < t.length; c++)
@@ -37407,7 +37407,7 @@ function cY(n) {
37407
37407
  }
37408
37408
  function dY(n, e, t, r) {
37409
37409
  let i = n.tr, s = r.end, o = r.$to.end(r.depth);
37410
- s < o && (i.step(new On(s - 1, o, s, o, new we(de.from(t.create(null, r.parent.copy())), 1, 0), 1, !0)), r = new Dg(i.doc.resolve(r.$from.pos), i.doc.resolve(o), r.depth));
37410
+ s < o && (i.step(new On(s - 1, o, s, o, new we(fe.from(t.create(null, r.parent.copy())), 1, 0), 1, !0)), r = new Dg(i.doc.resolve(r.$from.pos), i.doc.resolve(o), r.depth));
37411
37411
  const a = gd(r);
37412
37412
  if (a == null)
37413
37413
  return !1;
@@ -37423,10 +37423,10 @@ function fY(n, e, t) {
37423
37423
  if (r.mapping.map(t.end) != t.start + s.nodeAfter.nodeSize)
37424
37424
  return !1;
37425
37425
  let a = t.startIndex == 0, l = t.endIndex == i.childCount, u = s.node(-1), c = s.index(-1);
37426
- if (!u.canReplace(c + (a ? 0 : 1), c + 1, o.content.append(l ? de.empty : de.from(i))))
37426
+ if (!u.canReplace(c + (a ? 0 : 1), c + 1, o.content.append(l ? fe.empty : fe.from(i))))
37427
37427
  return !1;
37428
37428
  let d = s.pos, f = d + o.nodeSize;
37429
- return r.step(new On(d - (a ? 1 : 0), f + (l ? 1 : 0), d + 1, f - 1, new we((a ? de.empty : de.from(i.copy(de.empty))).append(l ? de.empty : de.from(i.copy(de.empty))), a ? 0 : 1, l ? 0 : 1), a ? 0 : 1)), e(r.scrollIntoView()), !0;
37429
+ return r.step(new On(d - (a ? 1 : 0), f + (l ? 1 : 0), d + 1, f - 1, new we((a ? fe.empty : fe.from(i.copy(fe.empty))).append(l ? fe.empty : fe.from(i.copy(fe.empty))), a ? 0 : 1, l ? 0 : 1), a ? 0 : 1)), e(r.scrollIntoView()), !0;
37430
37430
  }
37431
37431
  function hY(n) {
37432
37432
  return function(e, t) {
@@ -37440,7 +37440,7 @@ function hY(n) {
37440
37440
  if (l.type != n)
37441
37441
  return !1;
37442
37442
  if (t) {
37443
- let u = l.lastChild && l.lastChild.type == a.type, c = de.from(u ? n.create() : null), d = new we(de.from(n.create(null, de.from(a.type.create(null, c)))), u ? 3 : 1, 0), f = s.start, h = s.end;
37443
+ let u = l.lastChild && l.lastChild.type == a.type, c = fe.from(u ? n.create() : null), d = new we(fe.from(n.create(null, fe.from(a.type.create(null, c)))), u ? 3 : 1, 0), f = s.start, h = s.end;
37444
37444
  t(e.tr.step(new On(f - (u ? 3 : 1), h, f, h, d, 1, !0)).scrollIntoView());
37445
37445
  }
37446
37446
  return !0;
@@ -38384,7 +38384,7 @@ function zg(n, e, t) {
38384
38384
  ...t
38385
38385
  }, typeof n == "object" && n !== null)
38386
38386
  try {
38387
- return Array.isArray(n) && n.length > 0 ? de.fromArray(n.map((r) => e.nodeFromJSON(r))) : e.nodeFromJSON(n);
38387
+ return Array.isArray(n) && n.length > 0 ? fe.fromArray(n.map((r) => e.nodeFromJSON(r))) : e.nodeFromJSON(n);
38388
38388
  } catch (r) {
38389
38389
  return console.warn("[tiptap warn]: Invalid content.", "Passed value:", n, "Error:", r), zg("", e, t);
38390
38390
  }
@@ -38848,12 +38848,12 @@ const BQ = ({ keepMarks: n = !0 } = {}) => ({ tr: e, state: t, dispatch: r, edit
38848
38848
  if (a.depth === 2 || a.node(-3).type !== o || a.index(-2) !== a.node(-2).childCount - 1)
38849
38849
  return !1;
38850
38850
  if (r) {
38851
- let y = de.empty;
38851
+ let y = fe.empty;
38852
38852
  const v = a.index(-1) ? 1 : a.index(-2) ? 2 : 3;
38853
38853
  for (let A = a.depth - v; A >= a.depth - 3; A -= 1)
38854
- y = de.from(a.node(A).copy(y));
38854
+ y = fe.from(a.node(A).copy(y));
38855
38855
  const b = a.indexAfter(-1) < a.node(-2).childCount ? 1 : a.indexAfter(-2) < a.node(-3).childCount ? 2 : 3, S = eg(d, a.node().type.name, a.node().attrs), w = ((s = o.contentMatch.defaultType) === null || s === void 0 ? void 0 : s.createAndFill(S)) || void 0;
38856
- y = y.append(de.from(o.createAndFill(null, w) || void 0));
38856
+ y = y.append(fe.from(o.createAndFill(null, w) || void 0));
38857
38857
  const E = a.before(a.depth - (v - 1));
38858
38858
  e.replace(E, a.after(-b), new we(y, 4 - v, 0));
38859
38859
  let M = -1;
@@ -40393,17 +40393,17 @@ function HX(n) {
40393
40393
  function UX(n) {
40394
40394
  var e = n.state, t = n.options, r = n.name;
40395
40395
  if (!e.modifiersData[r]._skip) {
40396
- for (var i = t.mainAxis, s = i === void 0 ? !0 : i, o = t.altAxis, a = o === void 0 ? !0 : o, l = t.fallbackPlacements, u = t.padding, c = t.boundary, d = t.rootBoundary, f = t.altBoundary, h = t.flipVariations, m = h === void 0 ? !0 : h, g = t.allowedAutoPlacements, y = e.options.placement, v = ho(y), b = v === y, S = l || (b || !m ? [tg(y)] : HX(y)), w = [y].concat(S).reduce(function(K, q) {
40397
- return K.concat(ho(q) === v7 ? VX(e, {
40398
- placement: q,
40396
+ for (var i = t.mainAxis, s = i === void 0 ? !0 : i, o = t.altAxis, a = o === void 0 ? !0 : o, l = t.fallbackPlacements, u = t.padding, c = t.boundary, d = t.rootBoundary, f = t.altBoundary, h = t.flipVariations, m = h === void 0 ? !0 : h, g = t.allowedAutoPlacements, y = e.options.placement, v = ho(y), b = v === y, S = l || (b || !m ? [tg(y)] : HX(y)), w = [y].concat(S).reduce(function(G, Z) {
40397
+ return G.concat(ho(Z) === v7 ? VX(e, {
40398
+ placement: Z,
40399
40399
  boundary: c,
40400
40400
  rootBoundary: d,
40401
40401
  padding: u,
40402
40402
  flipVariations: m,
40403
40403
  allowedAutoPlacements: g
40404
- }) : q);
40404
+ }) : Z);
40405
40405
  }, []), E = e.rects.reference, M = e.rects.popper, A = /* @__PURE__ */ new Map(), N = !0, O = w[0], $ = 0; $ < w.length; $++) {
40406
- var R = w[$], W = ho(R), te = rd(R) === ed, re = [Gr, Xi].indexOf(W) >= 0, H = re ? "width" : "height", G = th(e, {
40406
+ var R = w[$], W = ho(R), te = rd(R) === ed, re = [Gr, Xi].indexOf(W) >= 0, H = re ? "width" : "height", K = th(e, {
40407
40407
  placement: R,
40408
40408
  boundary: c,
40409
40409
  rootBoundary: d,
@@ -40411,9 +40411,9 @@ function UX(n) {
40411
40411
  padding: u
40412
40412
  }), V = re ? te ? Ji : qr : te ? Xi : Gr;
40413
40413
  E[H] > M[H] && (V = tg(V));
40414
- var Z = tg(V), ne = [];
40415
- if (s && ne.push(G[W] <= 0), a && ne.push(G[V] <= 0, G[Z] <= 0), ne.every(function(K) {
40416
- return K;
40414
+ var q = tg(V), ne = [];
40415
+ if (s && ne.push(K[W] <= 0), a && ne.push(K[V] <= 0, K[q] <= 0), ne.every(function(G) {
40416
+ return G;
40417
40417
  })) {
40418
40418
  O = R, N = !1;
40419
40419
  break;
@@ -40421,19 +40421,19 @@ function UX(n) {
40421
40421
  A.set(R, ne);
40422
40422
  }
40423
40423
  if (N)
40424
- for (var le = m ? 3 : 1, ye = function(q) {
40425
- var Y = w.find(function(fe) {
40426
- var ve = A.get(fe);
40427
- if (ve)
40428
- return ve.slice(0, q).every(function(be) {
40424
+ for (var ue = m ? 3 : 1, ge = function(Z) {
40425
+ var Y = w.find(function(ce) {
40426
+ var ye = A.get(ce);
40427
+ if (ye)
40428
+ return ye.slice(0, Z).every(function(be) {
40429
40429
  return be;
40430
40430
  });
40431
40431
  });
40432
40432
  if (Y)
40433
40433
  return O = Y, "break";
40434
- }, ue = le; ue > 0; ue--) {
40435
- var ee = ye(ue);
40436
- if (ee === "break") break;
40434
+ }, le = ue; le > 0; le--) {
40435
+ var J = ge(le);
40436
+ if (J === "break") break;
40437
40437
  }
40438
40438
  e.placement !== O && (e.modifiersData[r]._skip = !0, e.placement = O, e.reset = !0);
40439
40439
  }
@@ -40550,15 +40550,15 @@ function eJ(n) {
40550
40550
  };
40551
40551
  if (M) {
40552
40552
  if (s) {
40553
- var te, re = w === "y" ? Gr : qr, H = w === "y" ? Xi : Ji, G = w === "y" ? "height" : "width", V = M[w], Z = V + y[re], ne = V - y[H], le = h ? -N[G] / 2 : 0, ye = b === ed ? A[G] : N[G], ue = b === ed ? -N[G] : -A[G], ee = e.elements.arrow, K = h && ee ? w7(ee) : {
40553
+ var te, re = w === "y" ? Gr : qr, H = w === "y" ? Xi : Ji, K = w === "y" ? "height" : "width", V = M[w], q = V + y[re], ne = V - y[H], ue = h ? -N[K] / 2 : 0, ge = b === ed ? A[K] : N[K], le = b === ed ? -N[K] : -A[K], J = e.elements.arrow, G = h && J ? w7(J) : {
40554
40554
  width: 0,
40555
40555
  height: 0
40556
- }, q = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : CO(), Y = q[re], fe = q[H], ve = hf(0, A[G], K[G]), be = S ? A[G] / 2 - le - ve - Y - $.mainAxis : ye - ve - Y - $.mainAxis, Ce = S ? -A[G] / 2 + le + ve + fe + $.mainAxis : ue + ve + fe + $.mainAxis, Le = e.elements.arrow && Sp(e.elements.arrow), et = Le ? w === "y" ? Le.clientTop || 0 : Le.clientLeft || 0 : 0, $t = (te = R == null ? void 0 : R[w]) != null ? te : 0, Ln = V + be - $t - et, Gn = V + Ce - $t, yn = hf(h ? Vg(Z, Ln) : Z, V, h ? $u(ne, Gn) : ne);
40556
+ }, Z = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : CO(), Y = Z[re], ce = Z[H], ye = hf(0, A[K], G[K]), be = S ? A[K] / 2 - ue - ye - Y - $.mainAxis : ge - ye - Y - $.mainAxis, Ce = S ? -A[K] / 2 + ue + ye + ce + $.mainAxis : le + ye + ce + $.mainAxis, Le = e.elements.arrow && Sp(e.elements.arrow), et = Le ? w === "y" ? Le.clientTop || 0 : Le.clientLeft || 0 : 0, $t = (te = R == null ? void 0 : R[w]) != null ? te : 0, Ln = V + be - $t - et, Gn = V + Ce - $t, yn = hf(h ? Vg(q, Ln) : q, V, h ? $u(ne, Gn) : ne);
40557
40557
  M[w] = yn, W[w] = yn - V;
40558
40558
  }
40559
40559
  if (a) {
40560
- var qn, rs = w === "x" ? Gr : qr, Ea = w === "x" ? Xi : Ji, cn = M[E], hr = E === "y" ? "height" : "width", Ns = cn + y[rs], Ii = cn - y[Ea], is = [Gr, qr].indexOf(v) !== -1, Mo = (qn = R == null ? void 0 : R[E]) != null ? qn : 0, St = is ? Ns : cn - A[hr] - N[hr] - Mo + $.altAxis, oe = is ? cn + A[hr] + N[hr] - Mo - $.altAxis : Ii, ce = h && is ? kX(St, cn, oe) : hf(h ? St : Ns, cn, h ? oe : Ii);
40561
- M[E] = ce, W[E] = ce - cn;
40560
+ var qn, rs = w === "x" ? Gr : qr, Ea = w === "x" ? Xi : Ji, cn = M[E], hr = E === "y" ? "height" : "width", Ns = cn + y[rs], Ii = cn - y[Ea], is = [Gr, qr].indexOf(v) !== -1, Mo = (qn = R == null ? void 0 : R[E]) != null ? qn : 0, St = is ? Ns : cn - A[hr] - N[hr] - Mo + $.altAxis, oe = is ? cn + A[hr] + N[hr] - Mo - $.altAxis : Ii, de = h && is ? kX(St, cn, oe) : hf(h ? St : Ns, cn, h ? oe : Ii);
40561
+ M[E] = de, W[E] = de - cn;
40562
40562
  }
40563
40563
  e.modifiersData[r] = W;
40564
40564
  }
@@ -41148,7 +41148,7 @@ function jJ(n, e) {
41148
41148
  // methods
41149
41149
  clearDelayTimeouts: St,
41150
41150
  setProps: oe,
41151
- setContent: ce,
41151
+ setContent: de,
41152
41152
  show: it,
41153
41153
  hide: Ft,
41154
41154
  hideWithInteractivity: Ps,
@@ -41164,7 +41164,7 @@ function jJ(n, e) {
41164
41164
  var N = b.map(function(se) {
41165
41165
  return se.fn(w);
41166
41166
  }), O = n.hasAttribute("aria-expanded");
41167
- return Le(), le(), V(), Z("onCreate", [w]), t.showOnCreate && Ns(), M.addEventListener("mouseenter", function() {
41167
+ return Le(), ue(), V(), q("onCreate", [w]), t.showOnCreate && Ns(), M.addEventListener("mouseenter", function() {
41168
41168
  w.props.interactive && w.state.isVisible && w.clearDelayTimeouts();
41169
41169
  }), M.addEventListener("mouseleave", function() {
41170
41170
  w.props.interactive && w.props.trigger.indexOf("mouseenter") >= 0 && re().addEventListener("mousemove", m);
@@ -41190,13 +41190,13 @@ function jJ(n, e) {
41190
41190
  function H() {
41191
41191
  return Ib(M);
41192
41192
  }
41193
- function G(se) {
41193
+ function K(se) {
41194
41194
  return w.state.isMounted && !w.state.isVisible || oo.isTouch || c && c.type === "focus" ? 0 : By(w.props.delay, se ? 0 : 1, vi.delay);
41195
41195
  }
41196
41196
  function V(se) {
41197
41197
  se === void 0 && (se = !1), M.style.pointerEvents = w.props.interactive && !se ? "" : "none", M.style.zIndex = "" + w.props.zIndex;
41198
41198
  }
41199
- function Z(se, Ee, Fe) {
41199
+ function q(se, Ee, Fe) {
41200
41200
  if (Fe === void 0 && (Fe = !0), N.forEach(function(st) {
41201
41201
  st[se] && st[se].apply(st, Ee);
41202
41202
  }), Fe) {
@@ -41219,7 +41219,7 @@ function jJ(n, e) {
41219
41219
  });
41220
41220
  }
41221
41221
  }
41222
- function le() {
41222
+ function ue() {
41223
41223
  if (!(O || !w.props.aria.expanded)) {
41224
41224
  var se = Sc(w.props.triggerTarget || n);
41225
41225
  se.forEach(function(Ee) {
@@ -41227,12 +41227,12 @@ function jJ(n, e) {
41227
41227
  });
41228
41228
  }
41229
41229
  }
41230
- function ye() {
41230
+ function ge() {
41231
41231
  re().removeEventListener("mousemove", m), tm = tm.filter(function(se) {
41232
41232
  return se !== m;
41233
41233
  });
41234
41234
  }
41235
- function ue(se) {
41235
+ function le(se) {
41236
41236
  if (!(oo.isTouch && (l || se.type === "mousedown"))) {
41237
41237
  var Ee = se.composedPath && se.composedPath()[0] || se.target;
41238
41238
  if (!(w.props.interactive && sS(M, Ee))) {
@@ -41242,33 +41242,33 @@ function jJ(n, e) {
41242
41242
  if (oo.isTouch || w.state.isVisible && w.props.trigger.indexOf("click") >= 0)
41243
41243
  return;
41244
41244
  } else
41245
- Z("onClickOutside", [w, se]);
41245
+ q("onClickOutside", [w, se]);
41246
41246
  w.props.hideOnClick === !0 && (w.clearDelayTimeouts(), w.hide(), a = !0, setTimeout(function() {
41247
41247
  a = !1;
41248
41248
  }), w.state.isMounted || Y());
41249
41249
  }
41250
41250
  }
41251
41251
  }
41252
- function ee() {
41252
+ function J() {
41253
41253
  l = !0;
41254
41254
  }
41255
- function K() {
41255
+ function G() {
41256
41256
  l = !1;
41257
41257
  }
41258
- function q() {
41258
+ function Z() {
41259
41259
  var se = re();
41260
- se.addEventListener("mousedown", ue, !0), se.addEventListener("touchend", ue, p0), se.addEventListener("touchstart", K, p0), se.addEventListener("touchmove", ee, p0);
41260
+ se.addEventListener("mousedown", le, !0), se.addEventListener("touchend", le, p0), se.addEventListener("touchstart", G, p0), se.addEventListener("touchmove", J, p0);
41261
41261
  }
41262
41262
  function Y() {
41263
41263
  var se = re();
41264
- se.removeEventListener("mousedown", ue, !0), se.removeEventListener("touchend", ue, p0), se.removeEventListener("touchstart", K, p0), se.removeEventListener("touchmove", ee, p0);
41264
+ se.removeEventListener("mousedown", le, !0), se.removeEventListener("touchend", le, p0), se.removeEventListener("touchstart", G, p0), se.removeEventListener("touchmove", J, p0);
41265
41265
  }
41266
- function fe(se, Ee) {
41266
+ function ce(se, Ee) {
41267
41267
  be(se, function() {
41268
41268
  !w.state.isVisible && M.parentNode && M.parentNode.contains(M) && Ee();
41269
41269
  });
41270
41270
  }
41271
- function ve(se, Ee) {
41271
+ function ye(se, Ee) {
41272
41272
  be(se, Ee);
41273
41273
  }
41274
41274
  function be(se, Ee) {
@@ -41322,7 +41322,7 @@ function jJ(n, e) {
41322
41322
  var Ee, Fe = !1;
41323
41323
  if (!(!w.state.isEnabled || qn(se) || a)) {
41324
41324
  var yt = ((Ee = c) == null ? void 0 : Ee.type) === "focus";
41325
- c = se, g = se.currentTarget, le(), !w.state.isVisible && CJ(se) && tm.forEach(function(st) {
41325
+ c = se, g = se.currentTarget, ue(), !w.state.isVisible && CJ(se) && tm.forEach(function(st) {
41326
41326
  return st(se);
41327
41327
  }), se.type === "click" && (w.props.trigger.indexOf("mouseenter") < 0 || o) && w.props.hideOnClick !== !1 && w.state.isVisible ? Fe = !0 : Ns(se), se.type === "click" && (o = !Fe), Fe && !yt && Ii(se);
41328
41328
  }
@@ -41338,7 +41338,7 @@ function jJ(n, e) {
41338
41338
  props: t
41339
41339
  } : null;
41340
41340
  }).filter(Boolean);
41341
- AJ(yt, se) && (ye(), Ii(se));
41341
+ AJ(yt, se) && (ge(), Ii(se));
41342
41342
  }
41343
41343
  }
41344
41344
  function Gn(se) {
@@ -41431,19 +41431,19 @@ function jJ(n, e) {
41431
41431
  return Hg(M.querySelectorAll("[data-tippy-root]"));
41432
41432
  }
41433
41433
  function Ns(se) {
41434
- w.clearDelayTimeouts(), se && Z("onTrigger", [w, se]), q();
41435
- var Ee = G(!0), Fe = $(), yt = Fe[0], st = Fe[1];
41434
+ w.clearDelayTimeouts(), se && q("onTrigger", [w, se]), Z();
41435
+ var Ee = K(!0), Fe = $(), yt = Fe[0], st = Fe[1];
41436
41436
  oo.isTouch && yt === "hold" && st && (Ee = st), Ee ? r = setTimeout(function() {
41437
41437
  w.show();
41438
41438
  }, Ee) : w.show();
41439
41439
  }
41440
41440
  function Ii(se) {
41441
- if (w.clearDelayTimeouts(), Z("onUntrigger", [w, se]), !w.state.isVisible) {
41441
+ if (w.clearDelayTimeouts(), q("onUntrigger", [w, se]), !w.state.isVisible) {
41442
41442
  Y();
41443
41443
  return;
41444
41444
  }
41445
41445
  if (!(w.props.trigger.indexOf("mouseenter") >= 0 && w.props.trigger.indexOf("click") >= 0 && ["mouseleave", "mousemove"].indexOf(se.type) >= 0 && o)) {
41446
- var Ee = G(!1);
41446
+ var Ee = K(!1);
41447
41447
  Ee ? i = setTimeout(function() {
41448
41448
  w.state.isVisible && w.hide();
41449
41449
  }, Ee) : s = requestAnimationFrame(function() {
@@ -41462,18 +41462,18 @@ function jJ(n, e) {
41462
41462
  }
41463
41463
  function oe(se) {
41464
41464
  if (process.env.NODE_ENV !== "production" && No(w.state.isDestroyed, cc("setProps")), !w.state.isDestroyed) {
41465
- Z("onBeforeUpdate", [w, se]), et();
41465
+ q("onBeforeUpdate", [w, se]), et();
41466
41466
  var Ee = w.props, Fe = lS(n, Object.assign({}, Ee, rS(se), {
41467
41467
  ignoreAttributes: !0
41468
41468
  }));
41469
- w.props = Fe, Le(), Ee.interactiveDebounce !== Fe.interactiveDebounce && (ye(), m = tS(Ln, Fe.interactiveDebounce)), Ee.triggerTarget && !Fe.triggerTarget ? Sc(Ee.triggerTarget).forEach(function(yt) {
41469
+ w.props = Fe, Le(), Ee.interactiveDebounce !== Fe.interactiveDebounce && (ge(), m = tS(Ln, Fe.interactiveDebounce)), Ee.triggerTarget && !Fe.triggerTarget ? Sc(Ee.triggerTarget).forEach(function(yt) {
41470
41470
  yt.removeAttribute("aria-expanded");
41471
- }) : Fe.triggerTarget && n.removeAttribute("aria-expanded"), le(), V(), A && A(Ee, Fe), w.popperInstance && (rs(), hr().forEach(function(yt) {
41471
+ }) : Fe.triggerTarget && n.removeAttribute("aria-expanded"), ue(), V(), A && A(Ee, Fe), w.popperInstance && (rs(), hr().forEach(function(yt) {
41472
41472
  requestAnimationFrame(yt._tippy.popperInstance.forceUpdate);
41473
- })), Z("onAfterUpdate", [w, se]);
41473
+ })), q("onAfterUpdate", [w, se]);
41474
41474
  }
41475
41475
  }
41476
- function ce(se) {
41476
+ function de(se) {
41477
41477
  w.setProps({
41478
41478
  content: se
41479
41479
  });
@@ -41481,8 +41481,8 @@ function jJ(n, e) {
41481
41481
  function it() {
41482
41482
  process.env.NODE_ENV !== "production" && No(w.state.isDestroyed, cc("show"));
41483
41483
  var se = w.state.isVisible, Ee = w.state.isDestroyed, Fe = !w.state.isEnabled, yt = oo.isTouch && !w.props.touch, st = By(w.props.duration, 0, vi.duration);
41484
- if (!(se || Ee || Fe || yt) && !te().hasAttribute("disabled") && (Z("onShow", [w], !1), w.props.onShow(w) !== !1)) {
41485
- if (w.state.isVisible = !0, W() && (M.style.visibility = "visible"), V(), q(), w.state.isMounted || (M.style.transition = "none"), W()) {
41484
+ if (!(se || Ee || Fe || yt) && !te().hasAttribute("disabled") && (q("onShow", [w], !1), w.props.onShow(w) !== !1)) {
41485
+ if (w.state.isVisible = !0, W() && (M.style.visibility = "visible"), V(), Z(), w.state.isMounted || (M.style.transition = "none"), W()) {
41486
41486
  var pr = H(), xi = pr.box, rc = pr.content;
41487
41487
  jy([xi, rc], 0);
41488
41488
  }
@@ -41493,8 +41493,8 @@ function jJ(n, e) {
41493
41493
  var F5 = H(), Op = F5.box, ic = F5.content;
41494
41494
  jy([Op, ic], st), iS([Op, ic], "visible");
41495
41495
  }
41496
- ne(), le(), nS(Vy, w), (Jl = w.popperInstance) == null || Jl.forceUpdate(), Z("onMount", [w]), w.props.animation && W() && ve(st, function() {
41497
- w.state.isShown = !0, Z("onShown", [w]);
41496
+ ne(), ue(), nS(Vy, w), (Jl = w.popperInstance) == null || Jl.forceUpdate(), q("onMount", [w]), w.props.animation && W() && ye(st, function() {
41497
+ w.state.isShown = !0, q("onShown", [w]);
41498
41498
  });
41499
41499
  }
41500
41500
  }, cn();
@@ -41503,12 +41503,12 @@ function jJ(n, e) {
41503
41503
  function Ft() {
41504
41504
  process.env.NODE_ENV !== "production" && No(w.state.isDestroyed, cc("hide"));
41505
41505
  var se = !w.state.isVisible, Ee = w.state.isDestroyed, Fe = !w.state.isEnabled, yt = By(w.props.duration, 1, vi.duration);
41506
- if (!(se || Ee || Fe) && (Z("onHide", [w], !1), w.props.onHide(w) !== !1)) {
41507
- if (w.state.isVisible = !1, w.state.isShown = !1, u = !1, o = !1, W() && (M.style.visibility = "hidden"), ye(), Y(), V(!0), W()) {
41506
+ if (!(se || Ee || Fe) && (q("onHide", [w], !1), w.props.onHide(w) !== !1)) {
41507
+ if (w.state.isVisible = !1, w.state.isShown = !1, u = !1, o = !1, W() && (M.style.visibility = "hidden"), ge(), Y(), V(!0), W()) {
41508
41508
  var st = H(), pr = st.box, xi = st.content;
41509
41509
  w.props.animation && (jy([pr, xi], yt), iS([pr, xi], "hidden"));
41510
41510
  }
41511
- ne(), le(), w.props.animation ? W() && fe(yt, w.unmount) : w.unmount();
41511
+ ne(), ue(), w.props.animation ? W() && ce(yt, w.unmount) : w.unmount();
41512
41512
  }
41513
41513
  }
41514
41514
  function Ps(se) {
@@ -41519,10 +41519,10 @@ function jJ(n, e) {
41519
41519
  se._tippy.unmount();
41520
41520
  }), M.parentNode && M.parentNode.removeChild(M), Vy = Vy.filter(function(se) {
41521
41521
  return se !== w;
41522
- }), w.state.isMounted = !1, Z("onHidden", [w]));
41522
+ }), w.state.isMounted = !1, q("onHidden", [w]));
41523
41523
  }
41524
41524
  function Ia() {
41525
- process.env.NODE_ENV !== "production" && No(w.state.isDestroyed, cc("destroy")), !w.state.isDestroyed && (w.clearDelayTimeouts(), w.unmount(), et(), delete n._tippy, w.state.isDestroyed = !0, Z("onDestroy", [w]));
41525
+ process.env.NODE_ENV !== "production" && No(w.state.isDestroyed, cc("destroy")), !w.state.isDestroyed && (w.clearDelayTimeouts(), w.unmount(), et(), delete n._tippy, w.state.isDestroyed = !0, q("onDestroy", [w]));
41526
41526
  }
41527
41527
  }
41528
41528
  function yd(n, e) {
@@ -54730,17 +54730,17 @@ function ote(n) {
54730
54730
  function ate(n) {
54731
54731
  var e = n.state, t = n.options, r = n.name;
54732
54732
  if (!e.modifiersData[r]._skip) {
54733
- for (var i = t.mainAxis, s = i === void 0 ? !0 : i, o = t.altAxis, a = o === void 0 ? !0 : o, l = t.fallbackPlacements, u = t.padding, c = t.boundary, d = t.rootBoundary, f = t.altBoundary, h = t.flipVariations, m = h === void 0 ? !0 : h, g = t.allowedAutoPlacements, y = e.options.placement, v = po(y), b = v === y, S = l || (b || !m ? [ng(y)] : ote(y)), w = [y].concat(S).reduce(function(K, q) {
54734
- return K.concat(po(q) === O7 ? ste(e, {
54735
- placement: q,
54733
+ for (var i = t.mainAxis, s = i === void 0 ? !0 : i, o = t.altAxis, a = o === void 0 ? !0 : o, l = t.fallbackPlacements, u = t.padding, c = t.boundary, d = t.rootBoundary, f = t.altBoundary, h = t.flipVariations, m = h === void 0 ? !0 : h, g = t.allowedAutoPlacements, y = e.options.placement, v = po(y), b = v === y, S = l || (b || !m ? [ng(y)] : ote(y)), w = [y].concat(S).reduce(function(G, Z) {
54734
+ return G.concat(po(Z) === O7 ? ste(e, {
54735
+ placement: Z,
54736
54736
  boundary: c,
54737
54737
  rootBoundary: d,
54738
54738
  padding: u,
54739
54739
  flipVariations: m,
54740
54740
  allowedAutoPlacements: g
54741
- }) : q);
54741
+ }) : Z);
54742
54742
  }, []), E = e.rects.reference, M = e.rects.popper, A = /* @__PURE__ */ new Map(), N = !0, O = w[0], $ = 0; $ < w.length; $++) {
54743
- var R = w[$], W = po(R), te = ud(R) === sd, re = [Kr, es].indexOf(W) >= 0, H = re ? "width" : "height", G = oh(e, {
54743
+ var R = w[$], W = po(R), te = ud(R) === sd, re = [Kr, es].indexOf(W) >= 0, H = re ? "width" : "height", K = oh(e, {
54744
54744
  placement: R,
54745
54745
  boundary: c,
54746
54746
  rootBoundary: d,
@@ -54748,9 +54748,9 @@ function ate(n) {
54748
54748
  padding: u
54749
54749
  }), V = re ? te ? ts : Yr : te ? es : Kr;
54750
54750
  E[H] > M[H] && (V = ng(V));
54751
- var Z = ng(V), ne = [];
54752
- if (s && ne.push(G[W] <= 0), a && ne.push(G[V] <= 0, G[Z] <= 0), ne.every(function(K) {
54753
- return K;
54751
+ var q = ng(V), ne = [];
54752
+ if (s && ne.push(K[W] <= 0), a && ne.push(K[V] <= 0, K[q] <= 0), ne.every(function(G) {
54753
+ return G;
54754
54754
  })) {
54755
54755
  O = R, N = !1;
54756
54756
  break;
@@ -54758,19 +54758,19 @@ function ate(n) {
54758
54758
  A.set(R, ne);
54759
54759
  }
54760
54760
  if (N)
54761
- for (var le = m ? 3 : 1, ye = function(q) {
54762
- var Y = w.find(function(fe) {
54763
- var ve = A.get(fe);
54764
- if (ve)
54765
- return ve.slice(0, q).every(function(be) {
54761
+ for (var ue = m ? 3 : 1, ge = function(Z) {
54762
+ var Y = w.find(function(ce) {
54763
+ var ye = A.get(ce);
54764
+ if (ye)
54765
+ return ye.slice(0, Z).every(function(be) {
54766
54766
  return be;
54767
54767
  });
54768
54768
  });
54769
54769
  if (Y)
54770
54770
  return O = Y, "break";
54771
- }, ue = le; ue > 0; ue--) {
54772
- var ee = ye(ue);
54773
- if (ee === "break")
54771
+ }, le = ue; le > 0; le--) {
54772
+ var J = ge(le);
54773
+ if (J === "break")
54774
54774
  break;
54775
54775
  }
54776
54776
  e.placement !== O && (e.modifiersData[r]._skip = !0, e.placement = O, e.reset = !0);
@@ -54888,15 +54888,15 @@ function yte(n) {
54888
54888
  };
54889
54889
  if (M) {
54890
54890
  if (s) {
54891
- var te, re = w === "y" ? Kr : Yr, H = w === "y" ? es : ts, G = w === "y" ? "height" : "width", V = M[w], Z = V + y[re], ne = V - y[H], le = h ? -N[G] / 2 : 0, ye = b === sd ? A[G] : N[G], ue = b === sd ? -N[G] : -A[G], ee = e.elements.arrow, K = h && ee ? D7(ee) : {
54891
+ var te, re = w === "y" ? Kr : Yr, H = w === "y" ? es : ts, K = w === "y" ? "height" : "width", V = M[w], q = V + y[re], ne = V - y[H], ue = h ? -N[K] / 2 : 0, ge = b === sd ? A[K] : N[K], le = b === sd ? -N[K] : -A[K], J = e.elements.arrow, G = h && J ? D7(J) : {
54892
54892
  width: 0,
54893
54893
  height: 0
54894
- }, q = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : qO(), Y = q[re], fe = q[H], ve = gf(0, A[G], K[G]), be = S ? A[G] / 2 - le - ve - Y - $.mainAxis : ye - ve - Y - $.mainAxis, Ce = S ? -A[G] / 2 + le + ve + fe + $.mainAxis : ue + ve + fe + $.mainAxis, Le = e.elements.arrow && kp(e.elements.arrow), et = Le ? w === "y" ? Le.clientTop || 0 : Le.clientLeft || 0 : 0, $t = (te = R == null ? void 0 : R[w]) != null ? te : 0, Ln = V + be - $t - et, Gn = V + Ce - $t, yn = gf(h ? Wg(Z, Ln) : Z, V, h ? Fu(ne, Gn) : ne);
54894
+ }, Z = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : qO(), Y = Z[re], ce = Z[H], ye = gf(0, A[K], G[K]), be = S ? A[K] / 2 - ue - ye - Y - $.mainAxis : ge - ye - Y - $.mainAxis, Ce = S ? -A[K] / 2 + ue + ye + ce + $.mainAxis : le + ye + ce + $.mainAxis, Le = e.elements.arrow && kp(e.elements.arrow), et = Le ? w === "y" ? Le.clientTop || 0 : Le.clientLeft || 0 : 0, $t = (te = R == null ? void 0 : R[w]) != null ? te : 0, Ln = V + be - $t - et, Gn = V + Ce - $t, yn = gf(h ? Wg(q, Ln) : q, V, h ? Fu(ne, Gn) : ne);
54895
54895
  M[w] = yn, W[w] = yn - V;
54896
54896
  }
54897
54897
  if (a) {
54898
- var qn, rs = w === "x" ? Kr : Yr, Ea = w === "x" ? es : ts, cn = M[E], hr = E === "y" ? "height" : "width", Ns = cn + y[rs], Ii = cn - y[Ea], is = [Kr, Yr].indexOf(v) !== -1, Mo = (qn = R == null ? void 0 : R[E]) != null ? qn : 0, St = is ? Ns : cn - A[hr] - N[hr] - Mo + $.altAxis, oe = is ? cn + A[hr] + N[hr] - Mo - $.altAxis : Ii, ce = h && is ? zee(St, cn, oe) : gf(h ? St : Ns, cn, h ? oe : Ii);
54899
- M[E] = ce, W[E] = ce - cn;
54898
+ var qn, rs = w === "x" ? Kr : Yr, Ea = w === "x" ? es : ts, cn = M[E], hr = E === "y" ? "height" : "width", Ns = cn + y[rs], Ii = cn - y[Ea], is = [Kr, Yr].indexOf(v) !== -1, Mo = (qn = R == null ? void 0 : R[E]) != null ? qn : 0, St = is ? Ns : cn - A[hr] - N[hr] - Mo + $.altAxis, oe = is ? cn + A[hr] + N[hr] - Mo - $.altAxis : Ii, de = h && is ? zee(St, cn, oe) : gf(h ? St : Ns, cn, h ? oe : Ii);
54899
+ M[E] = de, W[E] = de - cn;
54900
54900
  }
54901
54901
  e.modifiersData[r] = W;
54902
54902
  }
@@ -56339,9 +56339,9 @@ function Yne(n, e) {
56339
56339
  let { $from: t } = n.state.selection, r = t.parent.contentMatchAt(t.index()).findWrapping(n.state.schema.nodes.text);
56340
56340
  if (!r)
56341
56341
  return !1;
56342
- let i = de.empty;
56342
+ let i = fe.empty;
56343
56343
  for (let o = r.length - 1; o >= 0; o--)
56344
- i = de.from(r[o].createAndFill(null, i));
56344
+ i = fe.from(r[o].createAndFill(null, i));
56345
56345
  let s = n.state.tr.replace(t.pos, t.pos, new we(i, 0, 0));
56346
56346
  return s.setSelection(Ve.near(s.doc.resolve(t.pos + 1))), n.dispatch(s), !1;
56347
56347
  }
@@ -57867,12 +57867,12 @@ function jre(n) {
57867
57867
  // <>
57868
57868
  ];
57869
57869
  for (let te = 0; te < W.length; te++) {
57870
- const [re, H] = W[te], G = pe(M, re);
57871
- pe(A, re, G), pe(G, H, M);
57870
+ const [re, H] = W[te], K = pe(M, re);
57871
+ pe(A, re, K), pe(K, H, M);
57872
57872
  const V = Pi(lm);
57873
- qe(G, t, V);
57874
- const Z = Pi();
57875
- qe(G, r), qe(V, t, V), qe(V, r, Z), qe(Z, t, V), qe(Z, r, Z), pe(V, H, M), pe(Z, H, M);
57873
+ qe(K, t, V);
57874
+ const q = Pi();
57875
+ qe(K, r), qe(V, t, V), qe(V, r, q), qe(q, t, V), qe(q, r, q), pe(V, H, M), pe(q, H, M);
57876
57876
  }
57877
57877
  return pe(s, ah, S), pe(s, F7, Bre), {
57878
57878
  start: s,
@@ -58178,8 +58178,8 @@ var Xre = {
58178
58178
  root: function(e) {
58179
58179
  var t = e.props, r = e.instance;
58180
58180
  return ["p-badge p-component", {
58181
- "p-badge-no-gutter": J.isNotEmpty(t.value) && String(t.value).length === 1,
58182
- "p-badge-dot": J.isEmpty(t.value) && !r.$slots.default,
58181
+ "p-badge-no-gutter": ee.isNotEmpty(t.value) && String(t.value).length === 1,
58182
+ "p-badge-dot": ee.isEmpty(t.value) && !r.$slots.default,
58183
58183
  "p-badge-lg": t.size === "large",
58184
58184
  "p-badge-xl": t.size === "xlarge",
58185
58185
  "p-badge-info": t.severity === "info",
@@ -59881,35 +59881,35 @@ const lse = /* @__PURE__ */ He(nse, [["render", ase]]), use = xe({
59881
59881
  },
59882
59882
  emits: ["update:model-value", "update:attachments", "keyboard-open"],
59883
59883
  setup(n, { emit: e }) {
59884
- const t = F(), r = F(!1), i = F(""), s = F(), o = F(), a = F(!1), l = F(!1), u = F(!1), c = F([]), d = F(), f = F(), h = F(), m = F(!1), g = F(window.innerHeight), y = Q(() => G.value.getAttributes("textStyle").color || "#121517"), v = Q(() => n.attachments), b = Q(() => n.isStacked || n.expands && (v.value.length > 0 || u.value || !G.value.isEmpty) || l.value), w = hk($L).greaterOrEqual("md"), E = () => {
59884
+ const t = F(), r = F(!1), i = F(""), s = F(), o = F(), a = F(!1), l = F(!1), u = F(!1), c = F([]), d = F(), f = F(), h = F(), m = F(!1), g = F(window.innerHeight), y = Q(() => K.value.getAttributes("textStyle").color || "#121517"), v = Q(() => n.attachments), b = Q(() => n.isStacked || n.expands && (v.value.length > 0 || u.value || !K.value.isEmpty) || l.value), w = hk($L).greaterOrEqual("md"), E = () => {
59885
59885
  const V = window.prompt("URL");
59886
- G.value.chain().focus().extendMarkRange("link").setLink({ href: V || "" }).run();
59886
+ K.value.chain().focus().extendMarkRange("link").setLink({ href: V || "" }).run();
59887
59887
  }, M = (V) => {
59888
- G.value.chain().focus().setColor(V).run(), N();
59888
+ K.value.chain().focus().setColor(V).run(), N();
59889
59889
  }, A = () => {
59890
59890
  a.value = !a.value;
59891
59891
  }, N = () => {
59892
59892
  a.value = !1;
59893
59893
  }, O = () => {
59894
- var V, Z;
59895
- (Z = (V = d.value) == null ? void 0 : V.fileUpload) == null || Z.choose();
59894
+ var V, q;
59895
+ (q = (V = d.value) == null ? void 0 : V.fileUpload) == null || q.choose();
59896
59896
  }, $ = (V) => {
59897
- G.value.chain().focus().insertContent(V).run(), s.value.$el.click();
59897
+ K.value.chain().focus().insertContent(V).run(), s.value.$el.click();
59898
59898
  }, R = async () => {
59899
59899
  if (await En(), u.value) {
59900
- const V = m.value, Z = (visualViewport == null ? void 0 : visualViewport.height) || window.innerHeight;
59901
- m.value = g.value - Z > 0, V !== m.value && (u.value = m.value, e("keyboard-open", m.value));
59900
+ const V = m.value, q = (visualViewport == null ? void 0 : visualViewport.height) || window.innerHeight;
59901
+ m.value = g.value - q > 0, V !== m.value && (u.value = m.value, e("keyboard-open", m.value));
59902
59902
  }
59903
59903
  }, W = () => {
59904
59904
  u.value && n.expands && (m.value = !1, e("keyboard-open", m.value)), u.value = !1;
59905
59905
  }, te = (V) => {
59906
- G.value.chain().focus().insertContent(V.i).run(), r.value = !1;
59906
+ K.value.chain().focus().insertContent(V.i).run(), r.value = !1;
59907
59907
  }, re = (V) => {
59908
59908
  c.value = V, H();
59909
59909
  }, H = () => {
59910
59910
  let V = "";
59911
- G.value.isEmpty || (V = n.allowFormatting ? G.value.getHTML() : G.value.getText()), c.value !== n.attachments && e("update:attachments", c.value), e("update:model-value", V);
59912
- }, G = F(
59911
+ K.value.isEmpty || (V = n.allowFormatting ? K.value.getHTML() : K.value.getText()), c.value !== n.attachments && e("update:attachments", c.value), e("update:model-value", V);
59912
+ }, K = F(
59913
59913
  WJ({
59914
59914
  extensions: [
59915
59915
  kre.configure({
@@ -59940,12 +59940,12 @@ const lse = /* @__PURE__ */ He(nse, [["render", ase]]), use = xe({
59940
59940
  })
59941
59941
  );
59942
59942
  return ct(() => n.modelValue, (V) => {
59943
- G.value && !V && G.value.commands.clearContent();
59943
+ K.value && !V && K.value.commands.clearContent();
59944
59944
  }), ct(() => n.disabled, (V) => {
59945
- G.value && (G.value.options.editable = !V, G.value.view.update(G.value.view.props));
59945
+ K.value && (K.value.options.editable = !V, K.value.view.update(K.value.view.props));
59946
59946
  }), Qu(() => {
59947
59947
  var V;
59948
- (V = G.value) == null || V.destroy();
59948
+ (V = K.value) == null || V.destroy();
59949
59949
  }), Ct(() => {
59950
59950
  visualViewport && n.expands && visualViewport.addEventListener("resize", R);
59951
59951
  }), Qr(() => {
@@ -59974,7 +59974,7 @@ const lse = /* @__PURE__ */ He(nse, [["render", ase]]), use = xe({
59974
59974
  "recurring",
59975
59975
  "workorder"
59976
59976
  ],
59977
- editor: G,
59977
+ editor: K,
59978
59978
  editorRef: f,
59979
59979
  // refs
59980
59980
  emojiPickerElement: t,
@@ -61463,7 +61463,7 @@ const coe = /* @__PURE__ */ He(ooe, [["render", uoe], ["__scopeId", "data-v-f327
61463
61463
  top: h,
61464
61464
  width: m,
61465
61465
  height: g
61466
- } = zL(s), y = F(0), v = F(0), b = F(0), S = F(window.innerHeight), w = F(0), E = F(!1), M = F(1), A = F([]), N = F(!1), O = F(0), $ = Q(() => t.value === "desktop"), R = Q(() => M.value * n.itemsPerPage - 1), W = Q(() => n.isFixed && d.value >= b.value), te = Q(() => re.value > 0), re = Q(() => s.value ? l.value - m.value : 0), H = Q(() => (!$.value || E.value) && u.value > 0 && n.modelValue.length && !n.loading), G = Q(() => (!$.value || E.value) && u.value < re.value && n.modelValue.length && !n.loading), V = Q(() => {
61466
+ } = zL(s), y = F(0), v = F(0), b = F(0), S = F(window.innerHeight), w = F(0), E = F(!1), M = F(1), A = F([]), N = F(!1), O = F(0), $ = Q(() => t.value === "desktop"), R = Q(() => M.value * n.itemsPerPage - 1), W = Q(() => n.isFixed && d.value >= b.value), te = Q(() => re.value > 0), re = Q(() => s.value ? l.value - m.value : 0), H = Q(() => (!$.value || E.value) && u.value > 0 && n.modelValue.length && !n.loading), K = Q(() => (!$.value || E.value) && u.value < re.value && n.modelValue.length && !n.loading), V = Q(() => {
61467
61467
  const be = [], Ce = {};
61468
61468
  let Le = 0;
61469
61469
  return n.columns.forEach((et) => {
@@ -61474,7 +61474,7 @@ const coe = /* @__PURE__ */ He(ooe, [["render", uoe], ["__scopeId", "data-v-f327
61474
61474
  shimmer: Le % 2 ? "bg-gray-10" : "bg-gray-30"
61475
61475
  }), Le++;
61476
61476
  }), be;
61477
- }), Z = Q(() => {
61477
+ }), q = Q(() => {
61478
61478
  var be;
61479
61479
  return Math.ceil(((be = n.modelValue) == null ? void 0 : be.length) / n.itemsPerPage) || 1;
61480
61480
  }), ne = () => {
@@ -61485,27 +61485,27 @@ const coe = /* @__PURE__ */ He(ooe, [["render", uoe], ["__scopeId", "data-v-f327
61485
61485
  S.value < et ? be = (S.value - (o.value.offsetTop + Le)) / 2 : be = (o.value.clientHeight - Le) / 2;
61486
61486
  }
61487
61487
  w.value = be;
61488
- }, le = () => {
61488
+ }, ue = () => {
61489
61489
  u.value = s.value.scrollLeft, c.value = s.value.scrollLeft;
61490
- }, ye = () => {
61490
+ }, ge = () => {
61491
61491
  c.value = i.value.scrollLeft, u.value = i.value.scrollLeft;
61492
- }, ue = async () => {
61492
+ }, le = async () => {
61493
61493
  const be = d.value + S.value - n.fixedTopOffset, Ce = b.value + g.value;
61494
- be > Ce - 400 && M.value < Z.value && M.value++, ne();
61495
- }, ee = (be, Ce, Le) => {
61494
+ be > Ce - 400 && M.value < q.value && M.value++, ne();
61495
+ }, J = (be, Ce, Le) => {
61496
61496
  const et = be.scrollLeft, $t = Ce - et, Ln = performance.now(), Gn = () => {
61497
61497
  const qn = performance.now() - Ln, rs = Math.min(qn / Le, 1);
61498
61498
  be.scrollLeft = et + $t * rs, rs < 1 && requestAnimationFrame(Gn);
61499
61499
  };
61500
61500
  requestAnimationFrame(Gn);
61501
- }, K = () => {
61502
- ee(
61501
+ }, G = () => {
61502
+ J(
61503
61503
  s.value,
61504
61504
  u.value - n.leftScrollAmount,
61505
61505
  250
61506
61506
  );
61507
- }, q = () => {
61508
- ee(
61507
+ }, Z = () => {
61508
+ J(
61509
61509
  s.value,
61510
61510
  u.value + n.leftScrollAmount,
61511
61511
  250
@@ -61513,12 +61513,12 @@ const coe = /* @__PURE__ */ He(ooe, [["render", uoe], ["__scopeId", "data-v-f327
61513
61513
  }, Y = (be, Ce) => {
61514
61514
  const Le = A.value.indexOf(Ce);
61515
61515
  Le < 0 && be && (A.value.push(Ce), e("select:row", Ce)), Le >= 0 && !be && (A.value.splice(Le, 1), e("deselect:row", Ce)), e("update:selected", A.value);
61516
- }, fe = (be) => {
61516
+ }, ce = (be) => {
61517
61517
  const Ce = [];
61518
61518
  be && n.modelValue.forEach((Le) => {
61519
61519
  Ce.push(Le.id);
61520
61520
  }), A.value = Ce, e("update:selected", A.value);
61521
- }, ve = (be) => {
61521
+ }, ye = (be) => {
61522
61522
  const Ce = be.key, Le = n.orderBy === "" || n.sortBy !== Ce ? "asc" : n.orderBy === "asc" ? "desc" : "";
61523
61523
  e("update:sort-by", Ce), e("update:order-by", Le);
61524
61524
  };
@@ -61535,7 +61535,7 @@ const coe = /* @__PURE__ */ He(ooe, [["render", uoe], ["__scopeId", "data-v-f327
61535
61535
  )) == null ? void 0 : $t.clientWidth, window.addEventListener("resize", async () => {
61536
61536
  var Ln;
61537
61537
  l.value = (Ln = s.value) == null ? void 0 : Ln.scrollWidth, S.value = window.innerHeight, ne(), await En();
61538
- }), window.addEventListener("scroll", ue), s.value.addEventListener("scroll", le), i.value.addEventListener("scroll", ye);
61538
+ }), window.addEventListener("scroll", le), s.value.addEventListener("scroll", ue), i.value.addEventListener("scroll", ge);
61539
61539
  }), Qr(() => {
61540
61540
  window.removeEventListener("resize", async () => await En()), window.removeEventListener("scroll", async () => await En());
61541
61541
  }), {
@@ -61574,19 +61574,19 @@ const coe = /* @__PURE__ */ He(ooe, [["render", uoe], ["__scopeId", "data-v-f327
61574
61574
  scrollable: te,
61575
61575
  scrollMax: re,
61576
61576
  showLeftScrollButton: H,
61577
- showRightScrollButton: G,
61577
+ showRightScrollButton: K,
61578
61578
  skeletonData: V,
61579
- totalPages: Z,
61579
+ totalPages: q,
61580
61580
  // Methods
61581
- handleScroll: le,
61582
- handleFixedScroll: ye,
61583
- onClickColumnHeader: ve,
61581
+ handleScroll: ue,
61582
+ handleFixedScroll: ge,
61583
+ onClickColumnHeader: ye,
61584
61584
  onUpdateCheckbox: Y,
61585
- onUpdateAllCheckboxes: fe,
61585
+ onUpdateAllCheckboxes: ce,
61586
61586
  getScrollButtonTop: ne,
61587
- smoothScroll: ee,
61588
- triggerScrollLeft: K,
61589
- triggerScrollRight: q
61587
+ smoothScroll: J,
61588
+ triggerScrollLeft: G,
61589
+ triggerScrollRight: Z
61590
61590
  };
61591
61591
  }
61592
61592
  }), foe = ["id"], hoe = {
@@ -62800,7 +62800,7 @@ function Rae(n, {
62800
62800
  value: v.value,
62801
62801
  "onUpdate:value": b,
62802
62802
  emit: y
62803
- }, G = e.header && L("div", {
62803
+ }, K = e.header && L("div", {
62804
62804
  class: `${N}-datepicker-header`
62805
62805
  }, [e.header(H)]), V = (e.footer || $) && L("div", {
62806
62806
  class: `${N}-datepicker-footer`
@@ -62808,7 +62808,7 @@ function Rae(n, {
62808
62808
  type: "button",
62809
62809
  class: `${N}-btn ${N}-datepicker-btn-confirm`,
62810
62810
  onClick: S
62811
- }, [r.confirmText])]), Z = (A = e.content) == null ? void 0 : A.call(e, H), ne = (e.sidebar || r.shortcuts) && E(H);
62811
+ }, [r.confirmText])]), q = (A = e.content) == null ? void 0 : A.call(e, H), ne = (e.sidebar || r.shortcuts) && E(H);
62812
62812
  return L("div", {
62813
62813
  ref: s,
62814
62814
  class: {
@@ -62835,7 +62835,7 @@ function Rae(n, {
62835
62835
  }, {
62836
62836
  default: () => [ne, L("div", {
62837
62837
  class: `${N}-datepicker-content`
62838
- }, [G, Z, V])]
62838
+ }, [K, q, V])]
62839
62839
  })]);
62840
62840
  };
62841
62841
  }
@@ -62919,12 +62919,12 @@ function Bae({
62919
62919
  firstDayOfWeek: b,
62920
62920
  year: w,
62921
62921
  month: E
62922
- }), 7), A = (H, G) => K7(H, G, {
62922
+ }), 7), A = (H, K) => K7(H, K, {
62923
62923
  locale: h.formatLocale
62924
62924
  }), N = (H) => {
62925
62925
  a(H);
62926
62926
  }, O = (H) => {
62927
- const G = H.getAttribute("data-index"), [V, Z] = G.split(",").map((le) => parseInt(le, 10)), ne = M[V][Z];
62927
+ const K = H.getAttribute("data-index"), [V, q] = K.split(",").map((ue) => parseInt(ue, 10)), ne = M[V][q];
62928
62928
  return new Date(ne);
62929
62929
  }, $ = (H) => {
62930
62930
  o(O(H.currentTarget));
@@ -62959,20 +62959,20 @@ function Bae({
62959
62959
  class: `${d}-week-number-header`
62960
62960
  }, null), S.map((H) => L("th", {
62961
62961
  key: H
62962
- }, [H]))])]), L("tbody", null, [M.map((H, G) => L("tr", {
62963
- key: G,
62962
+ }, [H]))])]), L("tbody", null, [M.map((H, K) => L("tr", {
62963
+ key: K,
62964
62964
  class: [`${d}-date-row`, {
62965
62965
  [`${d}-active-week`]: i(H)
62966
62966
  }]
62967
62967
  }, [t && L("td", {
62968
62968
  class: `${d}-week-number`,
62969
- "data-index": `${G},0`,
62969
+ "data-index": `${K},0`,
62970
62970
  onClick: $
62971
- }, [L("div", null, [f(H[0])])]), H.map((V, Z) => L("td", {
62972
- key: Z,
62971
+ }, [L("div", null, [f(H[0])])]), H.map((V, q) => L("td", {
62972
+ key: q,
62973
62973
  class: ["cell", s(V)],
62974
62974
  title: A(V, r),
62975
- "data-index": `${G},${Z}`,
62975
+ "data-index": `${K},${q}`,
62976
62976
  onClick: $,
62977
62977
  onMouseenter: R,
62978
62978
  onMouseleave: W
@@ -66749,7 +66749,7 @@ var Ub = {
66749
66749
  var c = nM(t), d;
66750
66750
  try {
66751
66751
  for (c.s(); !(d = c.n()).done; ) {
66752
- var f = d.value, h = J.resolveFieldData(u, f);
66752
+ var f = d.value, h = ee.resolveFieldData(u, f);
66753
66753
  if (this.filters[i](h, r, s)) {
66754
66754
  o.push(u);
66755
66755
  break;
@@ -66775,7 +66775,7 @@ var Ub = {
66775
66775
  return !0;
66776
66776
  if (e == null)
66777
66777
  return !1;
66778
- var i = J.removeAccents(t.toString()).toLocaleLowerCase(r), s = J.removeAccents(e.toString()).toLocaleLowerCase(r);
66778
+ var i = ee.removeAccents(t.toString()).toLocaleLowerCase(r), s = ee.removeAccents(e.toString()).toLocaleLowerCase(r);
66779
66779
  return s.slice(0, i.length) === i;
66780
66780
  },
66781
66781
  contains: function(e, t, r) {
@@ -66783,7 +66783,7 @@ var Ub = {
66783
66783
  return !0;
66784
66784
  if (e == null)
66785
66785
  return !1;
66786
- var i = J.removeAccents(t.toString()).toLocaleLowerCase(r), s = J.removeAccents(e.toString()).toLocaleLowerCase(r);
66786
+ var i = ee.removeAccents(t.toString()).toLocaleLowerCase(r), s = ee.removeAccents(e.toString()).toLocaleLowerCase(r);
66787
66787
  return s.indexOf(i) !== -1;
66788
66788
  },
66789
66789
  notContains: function(e, t, r) {
@@ -66791,7 +66791,7 @@ var Ub = {
66791
66791
  return !0;
66792
66792
  if (e == null)
66793
66793
  return !1;
66794
- var i = J.removeAccents(t.toString()).toLocaleLowerCase(r), s = J.removeAccents(e.toString()).toLocaleLowerCase(r);
66794
+ var i = ee.removeAccents(t.toString()).toLocaleLowerCase(r), s = ee.removeAccents(e.toString()).toLocaleLowerCase(r);
66795
66795
  return s.indexOf(i) === -1;
66796
66796
  },
66797
66797
  endsWith: function(e, t, r) {
@@ -66799,20 +66799,20 @@ var Ub = {
66799
66799
  return !0;
66800
66800
  if (e == null)
66801
66801
  return !1;
66802
- var i = J.removeAccents(t.toString()).toLocaleLowerCase(r), s = J.removeAccents(e.toString()).toLocaleLowerCase(r);
66802
+ var i = ee.removeAccents(t.toString()).toLocaleLowerCase(r), s = ee.removeAccents(e.toString()).toLocaleLowerCase(r);
66803
66803
  return s.indexOf(i, s.length - i.length) !== -1;
66804
66804
  },
66805
66805
  equals: function(e, t, r) {
66806
- return t == null || t === "" ? !0 : e == null ? !1 : e.getTime && t.getTime ? e.getTime() === t.getTime() : J.removeAccents(e.toString()).toLocaleLowerCase(r) == J.removeAccents(t.toString()).toLocaleLowerCase(r);
66806
+ return t == null || t === "" ? !0 : e == null ? !1 : e.getTime && t.getTime ? e.getTime() === t.getTime() : ee.removeAccents(e.toString()).toLocaleLowerCase(r) == ee.removeAccents(t.toString()).toLocaleLowerCase(r);
66807
66807
  },
66808
66808
  notEquals: function(e, t, r) {
66809
- return t == null || t === "" ? !1 : e == null ? !0 : e.getTime && t.getTime ? e.getTime() !== t.getTime() : J.removeAccents(e.toString()).toLocaleLowerCase(r) != J.removeAccents(t.toString()).toLocaleLowerCase(r);
66809
+ return t == null || t === "" ? !1 : e == null ? !0 : e.getTime && t.getTime ? e.getTime() !== t.getTime() : ee.removeAccents(e.toString()).toLocaleLowerCase(r) != ee.removeAccents(t.toString()).toLocaleLowerCase(r);
66810
66810
  },
66811
66811
  in: function(e, t) {
66812
66812
  if (t == null || t.length === 0)
66813
66813
  return !0;
66814
66814
  for (var r = 0; r < t.length; r++)
66815
- if (J.equals(e, t[r]))
66815
+ if (ee.equals(e, t[r]))
66816
66816
  return !0;
66817
66817
  return !1;
66818
66818
  },
@@ -67542,13 +67542,13 @@ var aw = {
67542
67542
  return R ? R > W ? R - W : R : 0;
67543
67543
  }, l = function(R, W) {
67544
67544
  return Math.floor(R / (W || R));
67545
- }, u = function(R, W, te, re, H, G) {
67546
- return R <= H ? H : G ? te - re - H : W + H - 1;
67547
- }, c = function(R, W, te, re, H, G, V) {
67548
- return R <= G ? 0 : Math.max(0, V ? R < W ? te : R - G : R > W ? te : R - 2 * G);
67549
- }, d = function(R, W, te, re, H, G) {
67545
+ }, u = function(R, W, te, re, H, K) {
67546
+ return R <= H ? H : K ? te - re - H : W + H - 1;
67547
+ }, c = function(R, W, te, re, H, K, V) {
67548
+ return R <= K ? 0 : Math.max(0, V ? R < W ? te : R - K : R > W ? te : R - 2 * K);
67549
+ }, d = function(R, W, te, re, H, K) {
67550
67550
  var V = W + re + 2 * H;
67551
- return R >= H && (V += H + 1), t.getLast(V, G);
67551
+ return R >= H && (V += H + 1), t.getLast(V, K);
67552
67552
  }, f = a(r.scrollTop, o.top), h = a(r.scrollLeft, o.left), m = i ? {
67553
67553
  rows: 0,
67554
67554
  cols: 0
@@ -68146,13 +68146,13 @@ var $5 = {
68146
68146
  return this.virtualScrollerDisabled ? e : t && t(e).index;
68147
68147
  },
68148
68148
  getOptionLabel: function(e) {
68149
- return this.optionLabel ? J.resolveFieldData(e, this.optionLabel) : e;
68149
+ return this.optionLabel ? ee.resolveFieldData(e, this.optionLabel) : e;
68150
68150
  },
68151
68151
  getOptionValue: function(e) {
68152
- return this.optionValue ? J.resolveFieldData(e, this.optionValue) : e;
68152
+ return this.optionValue ? ee.resolveFieldData(e, this.optionValue) : e;
68153
68153
  },
68154
68154
  getOptionRenderKey: function(e, t) {
68155
- return (this.dataKey ? J.resolveFieldData(e, this.dataKey) : this.getOptionLabel(e)) + "_" + t;
68155
+ return (this.dataKey ? ee.resolveFieldData(e, this.dataKey) : this.getOptionLabel(e)) + "_" + t;
68156
68156
  },
68157
68157
  getPTItemOptions: function(e, t, r, i) {
68158
68158
  return this.ptm(i, {
@@ -68164,16 +68164,16 @@ var $5 = {
68164
68164
  });
68165
68165
  },
68166
68166
  isOptionDisabled: function(e) {
68167
- return this.optionDisabled ? J.resolveFieldData(e, this.optionDisabled) : !1;
68167
+ return this.optionDisabled ? ee.resolveFieldData(e, this.optionDisabled) : !1;
68168
68168
  },
68169
68169
  isOptionGroup: function(e) {
68170
68170
  return this.optionGroupLabel && e.optionGroup && e.group;
68171
68171
  },
68172
68172
  getOptionGroupLabel: function(e) {
68173
- return J.resolveFieldData(e, this.optionGroupLabel);
68173
+ return ee.resolveFieldData(e, this.optionGroupLabel);
68174
68174
  },
68175
68175
  getOptionGroupChildren: function(e) {
68176
- return J.resolveFieldData(e, this.optionGroupChildren);
68176
+ return ee.resolveFieldData(e, this.optionGroupChildren);
68177
68177
  },
68178
68178
  getAriaPosInset: function(e) {
68179
68179
  var t = this;
@@ -68249,7 +68249,7 @@ var $5 = {
68249
68249
  case "ShiftRight":
68250
68250
  break;
68251
68251
  default:
68252
- !t && J.isPrintableCharacter(e.key) && (!this.overlayVisible && this.show(), !this.editable && this.searchOptions(e, e.key));
68252
+ !t && ee.isPrintableCharacter(e.key) && (!this.overlayVisible && this.show(), !this.editable && this.searchOptions(e, e.key));
68253
68253
  break;
68254
68254
  }
68255
68255
  this.clicked = !1;
@@ -68258,7 +68258,7 @@ var $5 = {
68258
68258
  var t = e.target.value;
68259
68259
  this.searchValue = "";
68260
68260
  var r = this.searchOptions(e, t);
68261
- !r && (this.focusedOptionIndex = -1), this.updateModel(e, t), !this.overlayVisible && J.isNotEmpty(t) && this.show();
68261
+ !r && (this.focusedOptionIndex = -1), this.updateModel(e, t), !this.overlayVisible && ee.isNotEmpty(t) && this.show();
68262
68262
  },
68263
68263
  onContainerClick: function(e) {
68264
68264
  this.disabled || this.loading || e.target.tagName === "INPUT" || e.target.getAttribute("data-pc-section") === "clearicon" || e.target.closest('[data-pc-section="clearicon"]') || ((!this.overlay || !this.overlay.contains(e.target)) && (this.overlayVisible ? this.hide(!0) : this.show(!0)), this.clicked = !0);
@@ -68468,13 +68468,13 @@ var $5 = {
68468
68468
  return this.isValidOption(e) && ((t = this.getOptionLabel(e)) === null || t === void 0 ? void 0 : t.toLocaleLowerCase(this.filterLocale).startsWith(this.searchValue.toLocaleLowerCase(this.filterLocale)));
68469
68469
  },
68470
68470
  isValidOption: function(e) {
68471
- return J.isNotEmpty(e) && !(this.isOptionDisabled(e) || this.isOptionGroup(e));
68471
+ return ee.isNotEmpty(e) && !(this.isOptionDisabled(e) || this.isOptionGroup(e));
68472
68472
  },
68473
68473
  isValidSelectedOption: function(e) {
68474
68474
  return this.isValidOption(e) && this.isSelected(e);
68475
68475
  },
68476
68476
  isSelected: function(e) {
68477
- return this.isValidOption(e) && J.equals(this.modelValue, this.getOptionValue(e), this.equalityKey);
68477
+ return this.isValidOption(e) && ee.equals(this.modelValue, this.getOptionValue(e), this.equalityKey);
68478
68478
  },
68479
68479
  findFirstOptionIndex: function() {
68480
68480
  var e = this;
@@ -68484,7 +68484,7 @@ var $5 = {
68484
68484
  },
68485
68485
  findLastOptionIndex: function() {
68486
68486
  var e = this;
68487
- return J.findLastIndex(this.visibleOptions, function(t) {
68487
+ return ee.findLastIndex(this.visibleOptions, function(t) {
68488
68488
  return e.isValidOption(t);
68489
68489
  });
68490
68490
  },
@@ -68495,7 +68495,7 @@ var $5 = {
68495
68495
  return r > -1 ? r + e + 1 : e;
68496
68496
  },
68497
68497
  findPrevOptionIndex: function(e) {
68498
- var t = this, r = e > 0 ? J.findLastIndex(this.visibleOptions.slice(0, e), function(i) {
68498
+ var t = this, r = e > 0 ? ee.findLastIndex(this.visibleOptions.slice(0, e), function(i) {
68499
68499
  return t.isValidOption(i);
68500
68500
  }) : -1;
68501
68501
  return r > -1 ? r : e;
@@ -68518,7 +68518,7 @@ var $5 = {
68518
68518
  var r = this;
68519
68519
  this.searchValue = (this.searchValue || "") + t;
68520
68520
  var i = -1, s = !1;
68521
- return J.isNotEmpty(this.searchValue) && (this.focusedOptionIndex !== -1 ? (i = this.visibleOptions.slice(this.focusedOptionIndex).findIndex(function(o) {
68521
+ return ee.isNotEmpty(this.searchValue) && (this.focusedOptionIndex !== -1 ? (i = this.visibleOptions.slice(this.focusedOptionIndex).findIndex(function(o) {
68522
68522
  return r.isOptionMatched(o);
68523
68523
  }), i = i === -1 ? this.visibleOptions.slice(0, this.focusedOptionIndex).findIndex(function(o) {
68524
68524
  return r.isOptionMatched(o);
@@ -68593,7 +68593,7 @@ var $5 = {
68593
68593
  return t;
68594
68594
  },
68595
68595
  hasSelectedOption: function() {
68596
- return J.isNotEmpty(this.modelValue);
68596
+ return ee.isNotEmpty(this.modelValue);
68597
68597
  },
68598
68598
  label: function() {
68599
68599
  var e = this.findSelectedOptionIndex();
@@ -68610,7 +68610,7 @@ var $5 = {
68610
68610
  return this.filterFields || [this.optionLabel];
68611
68611
  },
68612
68612
  filterResultMessageText: function() {
68613
- return J.isNotEmpty(this.visibleOptions) ? this.filterMessageText.replaceAll("{0}", this.visibleOptions.length) : this.emptyFilterMessageText;
68613
+ return ee.isNotEmpty(this.visibleOptions) ? this.filterMessageText.replaceAll("{0}", this.visibleOptions.length) : this.emptyFilterMessageText;
68614
68614
  },
68615
68615
  filterMessageText: function() {
68616
68616
  return this.filterMessage || this.$primevue.config.locale.searchMessage || "";
@@ -69705,10 +69705,10 @@ var rN = {
69705
69705
  s = this.deleteRange(i, t, r), this.updateValue(e, s, null, "delete-range");
69706
69706
  break;
69707
69707
  case "Home":
69708
- e.preventDefault(), J.isEmpty(this.min) || this.updateModel(e, this.min);
69708
+ e.preventDefault(), ee.isEmpty(this.min) || this.updateModel(e, this.min);
69709
69709
  break;
69710
69710
  case "End":
69711
- e.preventDefault(), J.isEmpty(this.max) || this.updateModel(e, this.max);
69711
+ e.preventDefault(), ee.isEmpty(this.max) || this.updateModel(e, this.max);
69712
69712
  break;
69713
69713
  }
69714
69714
  }
@@ -71328,7 +71328,7 @@ var lw = {
71328
71328
  if (!this.disabled && !this.readonly) {
71329
71329
  var r;
71330
71330
  this.binary ? r = this.checked ? this.falseValue : this.trueValue : this.checked ? r = this.modelValue.filter(function(i) {
71331
- return !J.equals(i, t.value);
71331
+ return !ee.equals(i, t.value);
71332
71332
  }) : r = this.modelValue ? [].concat(i2e(this.modelValue), [this.value]) : [this.value], this.$emit("update:modelValue", r), this.$emit("change", e);
71333
71333
  }
71334
71334
  },
@@ -71341,7 +71341,7 @@ var lw = {
71341
71341
  },
71342
71342
  computed: {
71343
71343
  checked: function() {
71344
- return this.binary ? this.modelValue === this.trueValue : J.contains(this.value, this.modelValue);
71344
+ return this.binary ? this.modelValue === this.trueValue : ee.contains(this.value, this.modelValue);
71345
71345
  }
71346
71346
  },
71347
71347
  components: {
@@ -71496,7 +71496,7 @@ var f2e = {
71496
71496
  },
71497
71497
  computed: {
71498
71498
  checked: function() {
71499
- return this.modelValue != null && (this.binary ? !!this.modelValue : J.equals(this.modelValue, this.value));
71499
+ return this.modelValue != null && (this.binary ? !!this.modelValue : ee.equals(this.modelValue, this.value));
71500
71500
  }
71501
71501
  }
71502
71502
  }, m2e = ["data-p-highlight", "data-p-disabled"], g2e = ["id", "value", "name", "checked", "tabindex", "disabled", "readonly", "aria-labelledby", "aria-label", "aria-invalid"];
@@ -72181,7 +72181,7 @@ var TN = {
72181
72181
  },
72182
72182
  methods: {
72183
72183
  columnProp: function(e) {
72184
- return J.getVNodeProp(this.column, e);
72184
+ return ee.getVNodeProp(this.column, e);
72185
72185
  },
72186
72186
  getColumnPT: function(e) {
72187
72187
  var t, r, i = {
@@ -72205,7 +72205,7 @@ var TN = {
72205
72205
  return this.column.props && this.column.props.pt ? this.column.props.pt : void 0;
72206
72206
  },
72207
72207
  resolveFieldData: function() {
72208
- return J.resolveFieldData(this.rowData, this.field);
72208
+ return ee.resolveFieldData(this.rowData, this.field);
72209
72209
  },
72210
72210
  toggleRow: function(e) {
72211
72211
  this.$emit("row-toggle", {
@@ -72919,7 +72919,7 @@ var EN = {
72919
72919
  immediate: !0,
72920
72920
  handler: function(e) {
72921
72921
  var t = this;
72922
- this.d_rowExpanded = this.dataKey ? (e == null ? void 0 : e[J.resolveFieldData(this.rowData, this.dataKey)]) !== void 0 : e == null ? void 0 : e.some(function(r) {
72922
+ this.d_rowExpanded = this.dataKey ? (e == null ? void 0 : e[ee.resolveFieldData(this.rowData, this.dataKey)]) !== void 0 : e == null ? void 0 : e.some(function(r) {
72923
72923
  return t.equals(t.rowData, r);
72924
72924
  });
72925
72925
  }
@@ -72927,7 +72927,7 @@ var EN = {
72927
72927
  },
72928
72928
  methods: {
72929
72929
  columnProp: function(e, t) {
72930
- return J.getVNodeProp(e, t);
72930
+ return ee.getVNodeProp(e, t);
72931
72931
  },
72932
72932
  //@todo - update this method
72933
72933
  getColumnPT: function(e) {
@@ -72964,7 +72964,7 @@ var EN = {
72964
72964
  if (this.isGrouped(e)) {
72965
72965
  var i = this.value[this.rowIndex - 1];
72966
72966
  if (i) {
72967
- var s = J.resolveFieldData(this.value[this.rowIndex], r), o = J.resolveFieldData(i, r);
72967
+ var s = ee.resolveFieldData(this.value[this.rowIndex], r), o = ee.resolveFieldData(i, r);
72968
72968
  return s !== o;
72969
72969
  } else
72970
72970
  return !0;
@@ -72975,11 +72975,11 @@ var EN = {
72975
72975
  },
72976
72976
  calculateRowGroupSize: function(e) {
72977
72977
  if (this.isGrouped(e)) {
72978
- for (var t = this.rowIndex, r = this.columnProp(e, "field"), i = J.resolveFieldData(this.value[t], r), s = i, o = 0; i === s; ) {
72978
+ for (var t = this.rowIndex, r = this.columnProp(e, "field"), i = ee.resolveFieldData(this.value[t], r), s = i, o = 0; i === s; ) {
72979
72979
  o++;
72980
72980
  var a = this.value[++t];
72981
72981
  if (a)
72982
- s = J.resolveFieldData(a, r);
72982
+ s = ee.resolveFieldData(a, r);
72983
72983
  else
72984
72984
  break;
72985
72985
  }
@@ -73006,7 +73006,7 @@ var EN = {
73006
73006
  return r;
73007
73007
  },
73008
73008
  equals: function(e, t) {
73009
- return this.compareSelectionBy === "equals" ? e === t : J.equals(e, t, this.dataKey);
73009
+ return this.compareSelectionBy === "equals" ? e === t : ee.equals(e, t, this.dataKey);
73010
73010
  },
73011
73011
  onRowGroupToggle: function(e) {
73012
73012
  this.$emit("rowgroup-toggle", {
@@ -73125,7 +73125,7 @@ var EN = {
73125
73125
  try {
73126
73126
  for (i.s(); !(s = i.n()).done; ) {
73127
73127
  var o = s.value, a = this.columnProp(o, "selectionMode");
73128
- if (J.isNotEmpty(a) && a === "multiple") {
73128
+ if (ee.isNotEmpty(a) && a === "multiple") {
73129
73129
  t = a;
73130
73130
  break;
73131
73131
  }
@@ -73146,25 +73146,25 @@ var EN = {
73146
73146
  return this.selection === null && (this.selectionMode === "single" || this.selectionMode === "multiple") && this.rowIndex === 0 ? 0 : -1;
73147
73147
  },
73148
73148
  isRowEditing: function() {
73149
- return this.rowData && this.editingRows ? this.dataKey ? this.editingRowKeys ? this.editingRowKeys[J.resolveFieldData(this.rowData, this.dataKey)] !== void 0 : !1 : this.findIndex(this.rowData, this.editingRows) > -1 : !1;
73149
+ return this.rowData && this.editingRows ? this.dataKey ? this.editingRowKeys ? this.editingRowKeys[ee.resolveFieldData(this.rowData, this.dataKey)] !== void 0 : !1 : this.findIndex(this.rowData, this.editingRows) > -1 : !1;
73150
73150
  },
73151
73151
  isRowGroupExpanded: function() {
73152
73152
  if (this.expandableRowGroups && this.expandedRowGroups) {
73153
- var e = J.resolveFieldData(this.rowData, this.groupRowsBy);
73153
+ var e = ee.resolveFieldData(this.rowData, this.groupRowsBy);
73154
73154
  return this.expandedRowGroups.indexOf(e) > -1;
73155
73155
  }
73156
73156
  return !1;
73157
73157
  },
73158
73158
  isSelected: function() {
73159
- return this.rowData && this.selection ? this.dataKey ? this.selectionKeys ? this.selectionKeys[J.resolveFieldData(this.rowData, this.dataKey)] !== void 0 : !1 : this.selection instanceof Array ? this.findIndexInSelection(this.rowData) > -1 : this.equals(this.rowData, this.selection) : !1;
73159
+ return this.rowData && this.selection ? this.dataKey ? this.selectionKeys ? this.selectionKeys[ee.resolveFieldData(this.rowData, this.dataKey)] !== void 0 : !1 : this.selection instanceof Array ? this.findIndexInSelection(this.rowData) > -1 : this.equals(this.rowData, this.selection) : !1;
73160
73160
  },
73161
73161
  isSelectedWithContextMenu: function() {
73162
73162
  return this.rowData && this.contextMenuSelection ? this.equals(this.rowData, this.contextMenuSelection, this.dataKey) : !1;
73163
73163
  },
73164
73164
  shouldRenderRowGroupHeader: function() {
73165
- var e = J.resolveFieldData(this.rowData, this.groupRowsBy), t = this.value[this.rowIndex - 1];
73165
+ var e = ee.resolveFieldData(this.rowData, this.groupRowsBy), t = this.value[this.rowIndex - 1];
73166
73166
  if (t) {
73167
- var r = J.resolveFieldData(t, this.groupRowsBy);
73167
+ var r = ee.resolveFieldData(t, this.groupRowsBy);
73168
73168
  return e !== r;
73169
73169
  } else
73170
73170
  return !0;
@@ -73172,9 +73172,9 @@ var EN = {
73172
73172
  shouldRenderRowGroupFooter: function() {
73173
73173
  if (this.expandableRowGroups && !this.isRowGroupExpanded)
73174
73174
  return !1;
73175
- var e = J.resolveFieldData(this.rowData, this.groupRowsBy), t = this.value[this.rowIndex + 1];
73175
+ var e = ee.resolveFieldData(this.rowData, this.groupRowsBy), t = this.value[this.rowIndex + 1];
73176
73176
  if (t) {
73177
- var r = J.resolveFieldData(t, this.groupRowsBy);
73177
+ var r = ee.resolveFieldData(t, this.groupRowsBy);
73178
73178
  return e !== r;
73179
73179
  } else
73180
73180
  return !0;
@@ -73529,7 +73529,7 @@ var IN = {
73529
73529
  },
73530
73530
  methods: {
73531
73531
  getRowKey: function(e, t) {
73532
- return this.dataKey ? J.resolveFieldData(e, this.dataKey) : t;
73532
+ return this.dataKey ? ee.resolveFieldData(e, this.dataKey) : t;
73533
73533
  },
73534
73534
  updateFrozenRowStickyPosition: function() {
73535
73535
  this.$el.style.top = B.getOuterHeight(this.$el.previousElementSibling) + "px";
@@ -73725,7 +73725,7 @@ var xN = {
73725
73725
  },
73726
73726
  methods: {
73727
73727
  columnProp: function(e) {
73728
- return J.getVNodeProp(this.column, e);
73728
+ return ee.getVNodeProp(this.column, e);
73729
73729
  },
73730
73730
  getColumnPT: function(e) {
73731
73731
  var t, r, i = {
@@ -73913,7 +73913,7 @@ var ON = {
73913
73913
  },
73914
73914
  methods: {
73915
73915
  columnProp: function(e, t) {
73916
- return J.getVNodeProp(e, t);
73916
+ return ee.getVNodeProp(e, t);
73917
73917
  },
73918
73918
  getColumnGroupPT: function(e) {
73919
73919
  var t = {
@@ -75006,7 +75006,7 @@ var DN = {
75006
75006
  },
75007
75007
  methods: {
75008
75008
  columnProp: function(e) {
75009
- return J.getVNodeProp(this.column, e);
75009
+ return ee.getVNodeProp(this.column, e);
75010
75010
  },
75011
75011
  getColumnPT: function(e) {
75012
75012
  var t, r, i = {
@@ -75426,7 +75426,7 @@ var NN = {
75426
75426
  },
75427
75427
  methods: {
75428
75428
  columnProp: function(e, t) {
75429
- return J.getVNodeProp(e, t);
75429
+ return ee.getVNodeProp(e, t);
75430
75430
  },
75431
75431
  getColumnGroupPT: function(e) {
75432
75432
  var t, r = {
@@ -76028,7 +76028,7 @@ var PN = {
76028
76028
  },
76029
76029
  methods: {
76030
76030
  columnProp: function(e, t) {
76031
- return J.getVNodeProp(e, t);
76031
+ return ee.getVNodeProp(e, t);
76032
76032
  },
76033
76033
  onPage: function(e) {
76034
76034
  var t = this;
@@ -76071,17 +76071,17 @@ var PN = {
76071
76071
  try {
76072
76072
  for (s.s(); !(o = s.n()).done; ) {
76073
76073
  var a = o.value;
76074
- i.set(a, J.resolveFieldData(a, this.d_sortField));
76074
+ i.set(a, ee.resolveFieldData(a, this.d_sortField));
76075
76075
  }
76076
76076
  } catch (u) {
76077
76077
  s.e(u);
76078
76078
  } finally {
76079
76079
  s.f();
76080
76080
  }
76081
- var l = J.localeComparator();
76081
+ var l = ee.localeComparator();
76082
76082
  return r.sort(function(u, c) {
76083
76083
  var d = i.get(u), f = i.get(c);
76084
- return J.sort(d, f, t.d_sortOrder, l, t.d_nullSortOrder);
76084
+ return ee.sort(d, f, t.d_sortOrder, l, t.d_nullSortOrder);
76085
76085
  }), r;
76086
76086
  },
76087
76087
  sortMultiple: function(e) {
@@ -76096,8 +76096,8 @@ var PN = {
76096
76096
  }), i;
76097
76097
  },
76098
76098
  multisortField: function(e, t, r) {
76099
- var i = J.resolveFieldData(e, this.d_multiSortMeta[r].field), s = J.resolveFieldData(t, this.d_multiSortMeta[r].field), o = J.localeComparator();
76100
- return i === s ? this.d_multiSortMeta.length - 1 > r ? this.multisortField(e, t, r + 1) : 0 : J.sort(i, s, this.d_multiSortMeta[r].order, o, this.d_nullSortOrder);
76099
+ var i = ee.resolveFieldData(e, this.d_multiSortMeta[r].field), s = ee.resolveFieldData(t, this.d_multiSortMeta[r].field), o = ee.localeComparator();
76100
+ return i === s ? this.d_multiSortMeta.length - 1 > r ? this.multisortField(e, t, r + 1) : 0 : ee.sort(i, s, this.d_multiSortMeta[r].order, o, this.d_nullSortOrder);
76101
76101
  },
76102
76102
  addMultiSortField: function(e) {
76103
76103
  var t = this.d_multiSortMeta.findIndex(function(r) {
@@ -76164,7 +76164,7 @@ var PN = {
76164
76164
  if (a && r.global && !l && i)
76165
76165
  for (var y = 0; y < i.length; y++) {
76166
76166
  var v = i[y];
76167
- if (l = Ub.filters[r.global.matchMode || vn.CONTAINS](J.resolveFieldData(e[o], v), r.global.value, this.filterLocale), l)
76167
+ if (l = Ub.filters[r.global.matchMode || vn.CONTAINS](ee.resolveFieldData(e[o], v), r.global.value, this.filterLocale), l)
76168
76168
  break;
76169
76169
  }
76170
76170
  var b = void 0;
@@ -76178,7 +76178,7 @@ var PN = {
76178
76178
  }
76179
76179
  },
76180
76180
  executeLocalFilter: function(e, t, r) {
76181
- var i = r.value, s = r.matchMode || vn.STARTS_WITH, o = J.resolveFieldData(t, e), a = Ub.filters[s];
76181
+ var i = r.value, s = r.matchMode || vn.STARTS_WITH, o = ee.resolveFieldData(t, e), a = Ub.filters[s];
76182
76182
  return a(o, i, this.filterLocale);
76183
76183
  },
76184
76184
  onRowClick: function(e) {
@@ -76362,9 +76362,9 @@ var PN = {
76362
76362
  var s = this.dataToRender(i.rows), o;
76363
76363
  if (this.selection.length > 0) {
76364
76364
  var a, l;
76365
- a = J.findIndexInList(this.selection[0], s), l = J.findIndexInList(this.selection[this.selection.length - 1], s), o = r <= a ? l : a;
76365
+ a = ee.findIndexInList(this.selection[0], s), l = ee.findIndexInList(this.selection[this.selection.length - 1], s), o = r <= a ? l : a;
76366
76366
  } else
76367
- o = J.findIndexInList(this.selection, s);
76367
+ o = ee.findIndexInList(this.selection, s);
76368
76368
  var u = o !== r ? s.slice(Math.min(o, r), Math.max(o, r) + 1) : t;
76369
76369
  this.$emit("update:selection", u);
76370
76370
  }
@@ -76451,7 +76451,7 @@ var PN = {
76451
76451
  return this.selectionMode === "multiple";
76452
76452
  },
76453
76453
  isSelected: function(e) {
76454
- return e && this.selection ? this.dataKey ? this.d_selectionKeys ? this.d_selectionKeys[J.resolveFieldData(e, this.dataKey)] !== void 0 : !1 : this.selection instanceof Array ? this.findIndexInSelection(e) > -1 : this.equals(e, this.selection) : !1;
76454
+ return e && this.selection ? this.dataKey ? this.d_selectionKeys ? this.d_selectionKeys[ee.resolveFieldData(e, this.dataKey)] !== void 0 : !1 : this.selection instanceof Array ? this.findIndexInSelection(e) > -1 : this.equals(e, this.selection) : !1;
76455
76455
  },
76456
76456
  findIndexInSelection: function(e) {
76457
76457
  return this.findIndex(e, this.selection);
@@ -76473,7 +76473,7 @@ var PN = {
76473
76473
  try {
76474
76474
  for (t.s(); !(r = t.n()).done; ) {
76475
76475
  var i = r.value;
76476
- this.d_selectionKeys[String(J.resolveFieldData(i, this.dataKey))] = 1;
76476
+ this.d_selectionKeys[String(ee.resolveFieldData(i, this.dataKey))] = 1;
76477
76477
  }
76478
76478
  } catch (s) {
76479
76479
  t.e(s);
@@ -76481,7 +76481,7 @@ var PN = {
76481
76481
  t.f();
76482
76482
  }
76483
76483
  } else
76484
- this.d_selectionKeys[String(J.resolveFieldData(e, this.dataKey))] = 1;
76484
+ this.d_selectionKeys[String(ee.resolveFieldData(e, this.dataKey))] = 1;
76485
76485
  },
76486
76486
  updateEditingRowKeys: function(e) {
76487
76487
  if (e && e.length) {
@@ -76490,7 +76490,7 @@ var PN = {
76490
76490
  try {
76491
76491
  for (t.s(); !(r = t.n()).done; ) {
76492
76492
  var i = r.value;
76493
- this.d_editingRowKeys[String(J.resolveFieldData(i, this.dataKey))] = 1;
76493
+ this.d_editingRowKeys[String(ee.resolveFieldData(i, this.dataKey))] = 1;
76494
76494
  }
76495
76495
  } catch (s) {
76496
76496
  t.e(s);
@@ -76501,7 +76501,7 @@ var PN = {
76501
76501
  this.d_editingRowKeys = null;
76502
76502
  },
76503
76503
  equals: function(e, t) {
76504
- return this.compareSelectionBy === "equals" ? e === t : J.equals(e, t, this.dataKey);
76504
+ return this.compareSelectionBy === "equals" ? e === t : ee.equals(e, t, this.dataKey);
76505
76505
  },
76506
76506
  selectRange: function(e) {
76507
76507
  var t, r;
@@ -76530,7 +76530,7 @@ var PN = {
76530
76530
  var m = r.columns[h];
76531
76531
  if (r.columnProp(m, "exportable") !== !1 && r.columnProp(m, "field")) {
76532
76532
  f ? i += r.csvSeparator : f = !0;
76533
- var g = J.resolveFieldData(d, r.columnProp(m, "field"));
76533
+ var g = ee.resolveFieldData(d, r.columnProp(m, "field"));
76534
76534
  g != null ? r.exportFunction ? g = r.exportFunction({
76535
76535
  data: g,
76536
76536
  field: r.columnProp(m, "field")
@@ -76653,7 +76653,7 @@ var PN = {
76653
76653
  }), m = d.filter(function(y, v) {
76654
76654
  return v !== u;
76655
76655
  }), g = [].concat(Pt(m.slice(0, c)), [h], Pt(m.slice(c)));
76656
- this.addColumnWidthStyles(g), c < u && this.dropPosition === 1 && c++, c > u && this.dropPosition === -1 && c--, J.reorderArray(this.columns, u, c), this.updateReorderableColumns(), this.$emit("column-reorder", {
76656
+ this.addColumnWidthStyles(g), c < u && this.dropPosition === 1 && c++, c > u && this.dropPosition === -1 && c--, ee.reorderArray(this.columns, u, c), this.updateReorderableColumns(), this.$emit("column-reorder", {
76657
76657
  originalEvent: r,
76658
76658
  dragIndex: u,
76659
76659
  dropIndex: c
@@ -76702,7 +76702,7 @@ var PN = {
76702
76702
  onRowDrop: function(e) {
76703
76703
  if (this.droppedRowIndex != null) {
76704
76704
  var t = this.draggedRowIndex > this.droppedRowIndex ? this.droppedRowIndex : this.droppedRowIndex === 0 ? 0 : this.droppedRowIndex - 1, r = Pt(this.processedData);
76705
- J.reorderArray(r, this.draggedRowIndex + this.d_first, t + this.d_first), this.$emit("row-reorder", {
76705
+ ee.reorderArray(r, this.draggedRowIndex + this.d_first, t + this.d_first), this.$emit("row-reorder", {
76706
76706
  originalEvent: e,
76707
76707
  dragIndex: this.draggedRowIndex,
76708
76708
  dropIndex: t,
@@ -76714,7 +76714,7 @@ var PN = {
76714
76714
  toggleRow: function(e) {
76715
76715
  var t = this, r = e.expanded, i = Wde(e, Ude), s = e.data, o;
76716
76716
  if (this.dataKey) {
76717
- var a = J.resolveFieldData(s, this.dataKey);
76717
+ var a = ee.resolveFieldData(s, this.dataKey);
76718
76718
  o = this.expandedRows ? u0({}, this.expandedRows) : {}, r ? o[a] = !0 : delete o[a];
76719
76719
  } else
76720
76720
  o = this.expandedRows ? Pt(this.expandedRows) : [], r ? o.push(s) : o = o.filter(function(l) {
@@ -76723,7 +76723,7 @@ var PN = {
76723
76723
  this.$emit("update:expandedRows", o), r ? this.$emit("row-expand", i) : this.$emit("row-collapse", i);
76724
76724
  },
76725
76725
  toggleRowGroup: function(e) {
76726
- var t = e.originalEvent, r = e.data, i = J.resolveFieldData(r, this.groupRowsBy), s = this.expandedRowGroups ? Pt(this.expandedRowGroups) : [];
76726
+ var t = e.originalEvent, r = e.data, i = ee.resolveFieldData(r, this.groupRowsBy), s = this.expandedRowGroups ? Pt(this.expandedRowGroups) : [];
76727
76727
  this.isRowGroupExpanded(r) ? (s = s.filter(function(o) {
76728
76728
  return o !== i;
76729
76729
  }), this.$emit("update:expandedRowGroups", s), this.$emit("rowgroup-collapse", {
@@ -76736,7 +76736,7 @@ var PN = {
76736
76736
  },
76737
76737
  isRowGroupExpanded: function(e) {
76738
76738
  if (this.expandableRowGroups && this.expandedRowGroups) {
76739
- var t = J.resolveFieldData(e, this.groupRowsBy);
76739
+ var t = ee.resolveFieldData(e, this.groupRowsBy);
76740
76740
  return this.expandedRowGroups.indexOf(t) > -1;
76741
76741
  }
76742
76742
  return !1;
@@ -76790,7 +76790,7 @@ var PN = {
76790
76790
  restoreColumnWidths: function() {
76791
76791
  if (this.columnWidthsState) {
76792
76792
  var e = this.columnWidthsState.split(",");
76793
- this.columnResizeMode === "expand" && this.tableWidthState && (this.$refs.table.style.width = this.tableWidthState, this.$refs.table.style.minWidth = this.tableWidthState), J.isNotEmpty(e) && this.addColumnWidthStyles(e);
76793
+ this.columnResizeMode === "expand" && this.tableWidthState && (this.$refs.table.style.width = this.tableWidthState, this.$refs.table.style.minWidth = this.tableWidthState), ee.isNotEmpty(e) && this.addColumnWidthStyles(e);
76794
76794
  }
76795
76795
  },
76796
76796
  onCellEditInit: function(e) {
@@ -76928,7 +76928,7 @@ var PN = {
76928
76928
  return this.$refs.virtualScroller;
76929
76929
  },
76930
76930
  hasSpacerStyle: function(e) {
76931
- return J.isNotEmpty(e);
76931
+ return ee.isNotEmpty(e);
76932
76932
  }
76933
76933
  },
76934
76934
  computed: {
@@ -76998,7 +76998,7 @@ var PN = {
76998
76998
  if (this.selectAll !== null)
76999
76999
  return this.selectAll;
77000
77000
  var t = this.frozenValue ? [].concat(Pt(this.frozenValue), Pt(this.processedData)) : this.processedData;
77001
- return J.isNotEmpty(t) && this.selection && Array.isArray(this.selection) && t.every(function(r) {
77001
+ return ee.isNotEmpty(t) && this.selection && Array.isArray(this.selection) && t.every(function(r) {
77002
77002
  return e.selection.some(function(i) {
77003
77003
  return e.equals(i, r);
77004
77004
  });
@@ -77011,7 +77011,7 @@ var PN = {
77011
77011
  return this.sortMode === "single" ? this.sortField : this.d_groupRowsSortMeta ? this.d_groupRowsSortMeta.field : null;
77012
77012
  },
77013
77013
  virtualScrollerDisabled: function() {
77014
- return J.isEmpty(this.virtualScrollerOptions) || !this.scrollable;
77014
+ return ee.isEmpty(this.virtualScrollerOptions) || !this.scrollable;
77015
77015
  }
77016
77016
  },
77017
77017
  components: {
@@ -77943,19 +77943,19 @@ const hfe = xe({
77943
77943
  // orderBy handled by PrimeVue
77944
77944
  []
77945
77945
  )), v = Q(() => t.value === "desktop"), b = Q(() => {
77946
- var le;
77947
- const ne = !n.loading && ((le = r.value) == null ? void 0 : le.empty);
77946
+ var ue;
77947
+ const ne = !n.loading && ((ue = r.value) == null ? void 0 : ue.empty);
77948
77948
  return e("is-empty", ne), ne;
77949
77949
  }), S = Q(() => {
77950
- const ne = [], le = {};
77951
- let ye = 0;
77952
- return n.columns.forEach((ue) => {
77953
- le[ue.key] = "";
77950
+ const ne = [], ue = {};
77951
+ let ge = 0;
77952
+ return n.columns.forEach((le) => {
77953
+ ue[le.key] = "";
77954
77954
  }), [...Array(n.skeletonRows)].forEach(() => {
77955
77955
  ne.push({
77956
- ...le,
77957
- shimmer: ye % 2 ? "bg-gray-10" : "bg-gray-30"
77958
- }), ye++;
77956
+ ...ue,
77957
+ shimmer: ge % 2 ? "bg-gray-10" : "bg-gray-30"
77958
+ }), ge++;
77959
77959
  }), ne;
77960
77960
  }), w = () => {
77961
77961
  R(), W(), A(), N(), V();
@@ -77964,58 +77964,58 @@ const hfe = xe({
77964
77964
  }, M = (ne) => {
77965
77965
  n.rowUnselect(ne);
77966
77966
  }, A = () => {
77967
- var ue, ee;
77968
- const ne = m.value.offsetTop - n.fixedTopOffset, le = document.querySelector('div[data-pc-section="header"]'), ye = (ue = d.value) == null ? void 0 : ue.querySelector("thead");
77967
+ var le, J;
77968
+ const ne = m.value.offsetTop - n.fixedTopOffset, ue = document.querySelector('div[data-pc-section="header"]'), ge = (le = d.value) == null ? void 0 : le.querySelector("thead");
77969
77969
  if (s.value = !!n.fixedTopOffset && m.value && window.scrollY >= ne, s.value)
77970
- if (le.style.top = n.fixedTopOffset + "px", i.value)
77971
- ye.style.top = "";
77970
+ if (ue.style.top = n.fixedTopOffset + "px", i.value)
77971
+ ge.style.top = "";
77972
77972
  else {
77973
- const K = n.fixedTopOffset + le.clientHeight + 1;
77974
- ye.style.top = K + "px";
77973
+ const G = n.fixedTopOffset + ue.clientHeight + 1;
77974
+ ge.style.top = G + "px";
77975
77975
  }
77976
77976
  else
77977
- le.style.top = "", ye.style.top = "";
77977
+ ue.style.top = "", ge.style.top = "";
77978
77978
  if (s.value && i.value) {
77979
- const K = document.querySelector(
77979
+ const G = document.querySelector(
77980
77980
  'div[data-pc-section="header"] > div[data-pc-section="wrapper"]'
77981
77981
  );
77982
- (ee = K == null ? void 0 : K.querySelectorAll("th")) == null || ee.forEach((q, Y) => {
77982
+ (J = G == null ? void 0 : G.querySelectorAll("th")) == null || J.forEach((Z, Y) => {
77983
77983
  var be;
77984
- const fe = (be = d.value) == null ? void 0 : be.querySelector(
77984
+ const ce = (be = d.value) == null ? void 0 : be.querySelector(
77985
77985
  `th:nth-child(${Y + 1})`
77986
- ), ve = fe == null ? void 0 : fe.getAttribute("aria-sort");
77987
- q == null || q.setAttribute("aria-sort", ve), q.classList.contains("actions") && (q.style.minWidth = (fe == null ? void 0 : fe.clientWidth) + "px");
77988
- }), K && (K.scrollLeft = d.value.scrollLeft);
77986
+ ), ye = ce == null ? void 0 : ce.getAttribute("aria-sort");
77987
+ Z == null || Z.setAttribute("aria-sort", ye), Z.classList.contains("actions") && (Z.style.minWidth = (ce == null ? void 0 : ce.clientWidth) + "px");
77988
+ }), G && (G.scrollLeft = d.value.scrollLeft);
77989
77989
  }
77990
77990
  W(), N(), V();
77991
77991
  }, N = () => {
77992
- const le = d.value.scrollWidth - d.value.clientWidth;
77993
- u.value = Math.abs(d.value.scrollLeft) <= 1, l.value = Math.abs(d.value.scrollLeft - le) <= 1;
77992
+ const ue = d.value.scrollWidth - d.value.clientWidth;
77993
+ u.value = Math.abs(d.value.scrollLeft) <= 1, l.value = Math.abs(d.value.scrollLeft - ue) <= 1;
77994
77994
  }, O = () => {
77995
- R(), o.value = !1, a.value = !1, n.columns.forEach((ne, le) => {
77996
- ne.frozen && (o.value || (o.value = !0), m.value.querySelectorAll(`th:nth-child(${le + 1}), td:nth-child(${le + 1})`).forEach(
77997
- (ye) => {
77998
- ye.classList.add("sticky"), le === 0 ? ye.classList.add("left-0") : le === n.columns.length - 1 && ne.frozen && (ye.classList.add("right-0"), a.value = !0);
77995
+ R(), o.value = !1, a.value = !1, n.columns.forEach((ne, ue) => {
77996
+ ne.frozen && (o.value || (o.value = !0), m.value.querySelectorAll(`th:nth-child(${ue + 1}), td:nth-child(${ue + 1})`).forEach(
77997
+ (ge) => {
77998
+ ge.classList.add("sticky"), ue === 0 ? ge.classList.add("left-0") : ue === n.columns.length - 1 && ne.frozen && (ge.classList.add("right-0"), a.value = !0);
77999
77999
  }
78000
78000
  ));
78001
78001
  });
78002
78002
  }, $ = () => {
78003
- var le, ye, ue, ee;
78004
- const ne = (le = d.value) == null ? void 0 : le.cloneNode(!0);
78003
+ var ue, ge, le, J;
78004
+ const ne = (ue = d.value) == null ? void 0 : ue.cloneNode(!0);
78005
78005
  if (ne) {
78006
- const K = document.querySelector('div[data-pc-section="header"]');
78007
- K == null || K.append(ne);
78008
- const q = K == null ? void 0 : K.querySelector('div[data-pc-section="wrapper"]');
78009
- (ye = q == null ? void 0 : q.querySelector("tbody")) == null || ye.remove(), q == null || q.addEventListener("scroll", () => {
78010
- d.value.scrollLeft = q.scrollLeft, N(), V();
78011
- }), (ue = d.value) == null || ue.addEventListener("scroll", () => {
78006
+ const G = document.querySelector('div[data-pc-section="header"]');
78007
+ G == null || G.append(ne);
78008
+ const Z = G == null ? void 0 : G.querySelector('div[data-pc-section="wrapper"]');
78009
+ (ge = Z == null ? void 0 : Z.querySelector("tbody")) == null || ge.remove(), Z == null || Z.addEventListener("scroll", () => {
78010
+ d.value.scrollLeft = Z.scrollLeft, N(), V();
78011
+ }), (le = d.value) == null || le.addEventListener("scroll", () => {
78012
78012
  var Y;
78013
- q.scrollLeft = d.value.scrollLeft, N(), (Y = d.value) == null || Y.setAttribute("data-scroll", d.value.scrollLeft.toString()), V();
78014
- }), (ee = q == null ? void 0 : q.querySelectorAll("th")) == null || ee.forEach((Y, fe) => {
78013
+ Z.scrollLeft = d.value.scrollLeft, N(), (Y = d.value) == null || Y.setAttribute("data-scroll", d.value.scrollLeft.toString()), V();
78014
+ }), (J = Z == null ? void 0 : Z.querySelectorAll("th")) == null || J.forEach((Y, ce) => {
78015
78015
  Y == null || Y.addEventListener("click", async () => {
78016
- var ve;
78016
+ var ye;
78017
78017
  if (s.value && i.value) {
78018
- const be = (ve = d.value) == null ? void 0 : ve.querySelector(`th:nth-child(${fe + 1})`);
78018
+ const be = (ye = d.value) == null ? void 0 : ye.querySelector(`th:nth-child(${ce + 1})`);
78019
78019
  await (be == null ? void 0 : be.click());
78020
78020
  const Ce = be == null ? void 0 : be.getAttribute("aria-sort");
78021
78021
  Y == null || Y.setAttribute("aria-sort", Ce);
@@ -78024,80 +78024,80 @@ const hfe = xe({
78024
78024
  });
78025
78025
  }
78026
78026
  }, R = () => {
78027
- var ne, le;
78028
- d.value.scrollWidth > d.value.clientWidth ? (i.value = !0, (ne = d.value) == null || ne.classList.add("is-scrolled")) : (i.value = !1, (le = d.value) == null || le.classList.remove("is-scrolled")), d.value && d.value.setAttribute("data-scroll", d.value.scrollLeft.toString());
78027
+ var ne, ue;
78028
+ d.value.scrollWidth > d.value.clientWidth ? (i.value = !0, (ne = d.value) == null || ne.classList.add("is-scrolled")) : (i.value = !1, (ue = d.value) == null || ue.classList.remove("is-scrolled")), d.value && d.value.setAttribute("data-scroll", d.value.scrollLeft.toString());
78029
78029
  }, W = () => {
78030
- const ne = d.value.clientWidth + "px", le = document.querySelector('div[data-pc-section="header"]'), ye = le.querySelector('div[data-pc-section="wrapper"] thead');
78031
- le.style.width = ne, d.value.querySelector("thead").style.width = ne, ye && (ye.style.width = ne);
78030
+ const ne = d.value.clientWidth + "px", ue = document.querySelector('div[data-pc-section="header"]'), ge = ue.querySelector('div[data-pc-section="wrapper"] thead');
78031
+ ue.style.width = ne, d.value.querySelector("thead").style.width = ne, ge && (ge.style.width = ne);
78032
78032
  }, te = () => {
78033
78033
  if (d.value) {
78034
78034
  const ne = -Math.min(
78035
78035
  n.leftScrollAmount,
78036
78036
  d.value.scrollLeft
78037
- ), le = s.value ? "instant" : "smooth";
78037
+ ), ue = s.value ? "instant" : "smooth";
78038
78038
  d.value.scrollBy({
78039
78039
  left: ne,
78040
- behavior: le
78040
+ behavior: ue
78041
78041
  });
78042
78042
  }
78043
78043
  }, re = () => {
78044
78044
  if (d.value) {
78045
- const ne = d.value.scrollWidth - d.value.clientWidth, le = Math.min(
78045
+ const ne = d.value.scrollWidth - d.value.clientWidth, ue = Math.min(
78046
78046
  n.rightScrollAmount,
78047
78047
  ne - d.value.scrollLeft
78048
- ), ye = s.value ? "instant" : "smooth";
78048
+ ), ge = s.value ? "instant" : "smooth";
78049
78049
  d.value.scrollBy({
78050
- left: le,
78051
- behavior: ye
78050
+ left: ue,
78051
+ behavior: ge
78052
78052
  });
78053
78053
  }
78054
78054
  }, H = () => {
78055
- var ne, le, ye;
78055
+ var ne, ue, ge;
78056
78056
  if (i.value || !v.value) {
78057
- const ue = u.value ? "hidden" : "", ee = l.value ? "hidden" : "";
78057
+ const le = u.value ? "hidden" : "", J = l.value ? "hidden" : "";
78058
78058
  (ne = m.value) == null || ne.insertAdjacentHTML(
78059
78059
  "beforeend",
78060
- `<button type="button" class="q-table-scroll-button scroll-button scroll-left ${ue}"></button>
78061
- <button type="button" class="q-table-scroll-button scroll-button scroll-right ${ee}"></button>`
78060
+ `<button type="button" class="q-table-scroll-button scroll-button scroll-left ${le}"></button>
78061
+ <button type="button" class="q-table-scroll-button scroll-button scroll-right ${J}"></button>`
78062
78062
  );
78063
- const K = xn(W2, {
78063
+ const G = xn(W2, {
78064
78064
  icon: "chevron-left",
78065
78065
  type: "",
78066
78066
  size: "md",
78067
78067
  class: "p-[0.1875rem]"
78068
- }), q = xn(W2, {
78068
+ }), Z = xn(W2, {
78069
78069
  icon: "chevron-right",
78070
78070
  type: "",
78071
78071
  size: "md",
78072
78072
  class: "p-[0.1875rem]"
78073
- }), Y = (le = m.value) == null ? void 0 : le.querySelector(".scroll-button.scroll-left"), fe = (ye = m.value) == null ? void 0 : ye.querySelector(".scroll-button.scroll-right");
78074
- ww(K, Y), ww(q, fe), Y == null || Y.addEventListener("click", te), fe == null || fe.addEventListener("click", re), V();
78073
+ }), Y = (ue = m.value) == null ? void 0 : ue.querySelector(".scroll-button.scroll-left"), ce = (ge = m.value) == null ? void 0 : ge.querySelector(".scroll-button.scroll-right");
78074
+ ww(G, Y), ww(Z, ce), Y == null || Y.addEventListener("click", te), ce == null || ce.addEventListener("click", re), V();
78075
78075
  }
78076
- }, G = () => {
78077
- var ne, le;
78078
- (le = (ne = m.value) == null ? void 0 : ne.querySelectorAll(".scroll-button")) == null || le.forEach((ye) => {
78079
- ye.remove();
78076
+ }, K = () => {
78077
+ var ne, ue;
78078
+ (ue = (ne = m.value) == null ? void 0 : ne.querySelectorAll(".scroll-button")) == null || ue.forEach((ge) => {
78079
+ ge.remove();
78080
78080
  });
78081
78081
  }, V = () => {
78082
- var Y, fe, ve, be;
78083
- const ne = (Y = m.value) == null ? void 0 : Y.querySelector(".scroll-button.scroll-left"), le = (fe = m.value) == null ? void 0 : fe.querySelector(".scroll-button.scroll-right"), ye = (ve = d.value) == null ? void 0 : ve.querySelector("td.sticky:first-child"), ue = (be = m.value) == null ? void 0 : be.getBoundingClientRect(), ee = document.querySelector('div[data-pc-section="header"]'), K = (ee == null ? void 0 : ee.getBoundingClientRect().height) || 0, q = d.value;
78084
- if (m.value && ue && q) {
78085
- const Ce = (ye == null ? void 0 : ye.getBoundingClientRect().width) || 0;
78082
+ var Y, ce, ye, be;
78083
+ const ne = (Y = m.value) == null ? void 0 : Y.querySelector(".scroll-button.scroll-left"), ue = (ce = m.value) == null ? void 0 : ce.querySelector(".scroll-button.scroll-right"), ge = (ye = d.value) == null ? void 0 : ye.querySelector("td.sticky:first-child"), le = (be = m.value) == null ? void 0 : be.getBoundingClientRect(), J = document.querySelector('div[data-pc-section="header"]'), G = (J == null ? void 0 : J.getBoundingClientRect().height) || 0, Z = d.value;
78084
+ if (m.value && le && Z) {
78085
+ const Ce = (ge == null ? void 0 : ge.getBoundingClientRect().width) || 0;
78086
78086
  m.value.style.setProperty("--first-sticky-width", `${Ce}px`);
78087
- const Le = q.getBoundingClientRect(), et = Math.max(Le.top, K), $t = Math.min(Le.bottom, window.innerHeight), Ln = et < window.innerHeight && $t > K, Gn = $t - et, yn = et + Gn / 2;
78088
- if (ne && le)
78087
+ const Le = Z.getBoundingClientRect(), et = Math.max(Le.top, G), $t = Math.min(Le.bottom, window.innerHeight), Ln = et < window.innerHeight && $t > G, Gn = $t - et, yn = et + Gn / 2;
78088
+ if (ne && ue)
78089
78089
  if (Ln && i.value) {
78090
- ne.classList.remove("hidden"), le.classList.remove("hidden");
78090
+ ne.classList.remove("hidden"), ue.classList.remove("hidden");
78091
78091
  const qn = Math.max(
78092
78092
  et,
78093
78093
  Math.min(yn, $t - ne.offsetHeight)
78094
78094
  );
78095
- ne.style.top = `${qn}px`, le.style.top = `${qn}px`, ne.style.left = `${ue.left + Ce + 8}px`, le.style.right = `${window.innerWidth - ue.right + 8}px`;
78095
+ ne.style.top = `${qn}px`, ue.style.top = `${qn}px`, ne.style.left = `${le.left + Ce + 8}px`, ue.style.right = `${window.innerWidth - le.right + 8}px`;
78096
78096
  } else
78097
- ne.classList.add("hidden"), le.classList.add("hidden");
78098
- ne && (u.value || !i.value ? ne.classList.add("hidden") : ne.classList.remove("hidden")), le && (l.value || !i.value ? le.classList.add("hidden") : le.classList.remove("hidden"));
78097
+ ne.classList.add("hidden"), ue.classList.add("hidden");
78098
+ ne && (u.value || !i.value ? ne.classList.add("hidden") : ne.classList.remove("hidden")), ue && (l.value || !i.value ? ue.classList.add("hidden") : ue.classList.remove("hidden"));
78099
78099
  }
78100
- }, Z = l6((ne) => {
78100
+ }, q = l6((ne) => {
78101
78101
  f.value = ne;
78102
78102
  }, n.searchDelay);
78103
78103
  return Ct(() => {
@@ -78132,12 +78132,12 @@ const hfe = xe({
78132
78132
  onPageResizeOrLoad: w,
78133
78133
  onSelectRow: E,
78134
78134
  onUnselectRow: M,
78135
- removeScrollButtons: G,
78135
+ removeScrollButtons: K,
78136
78136
  setSticky: O,
78137
78137
  // Composable
78138
78138
  mq: cr,
78139
78139
  deviceType: t,
78140
- debouncedSearch: Z
78140
+ debouncedSearch: q
78141
78141
  };
78142
78142
  }
78143
78143
  }), pfe = ["id"], mfe = { class: "search-and-filters" }, gfe = { class: "inspections-search" }, yfe = {
@@ -78632,23 +78632,23 @@ const Qhe = /* @__PURE__ */ He(Nfe, [["render", Rfe], ["__scopeId", "data-v-3862
78632
78632
  for (const N of b) {
78633
78633
  const O = N === "t" || N === "b";
78634
78634
  let $ = m[N];
78635
- const [R, W] = O ? ["top", "left"] : ["left", "top"], [te, re] = O ? [h.height, h.width] : [h.width, h.height], [H, G] = O ? [M, A] : [A, M], [V, Z] = O ? [w, E] : [E, w];
78635
+ const [R, W] = O ? ["top", "left"] : ["left", "top"], [te, re] = O ? [h.height, h.width] : [h.width, h.height], [H, K] = O ? [M, A] : [A, M], [V, q] = O ? [w, E] : [E, w];
78636
78636
  if (!($ < V || $ + te + o > H))
78637
78637
  for (const ne of S) {
78638
- let le = g[(O ? "v" : "h") + ne];
78639
- if (!(le < Z || le + re + o > G)) {
78640
- if (le -= h[W], $ -= h[R], e.style[W] = `${le}px`, e.style[R] = `${$}px`, i) {
78641
- const ye = O ? f.width / 2 : f.height / 2, ue = re / 2, ee = ye > ue, K = {
78642
- s: ee ? ue : ye,
78643
- m: ue,
78644
- e: ee ? ue : re - ye
78645
- }, q = {
78638
+ let ue = g[(O ? "v" : "h") + ne];
78639
+ if (!(ue < q || ue + re + o > K)) {
78640
+ if (ue -= h[W], $ -= h[R], e.style[W] = `${ue}px`, e.style[R] = `${$}px`, i) {
78641
+ const ge = O ? f.width / 2 : f.height / 2, le = re / 2, J = ge > le, G = {
78642
+ s: J ? le : ge,
78643
+ m: le,
78644
+ e: J ? le : re - ge
78645
+ }, Z = {
78646
78646
  t: te,
78647
78647
  b: 0,
78648
78648
  r: 0,
78649
78649
  l: te
78650
- }, Y = le + K[ne], fe = $ + q[N];
78651
- i.style[W] = `${Y}px`, i.style[R] = `${fe}px`;
78650
+ }, Y = ue + G[ne], ce = $ + Z[N];
78651
+ i.style[W] = `${Y}px`, i.style[R] = `${ce}px`;
78652
78652
  }
78653
78653
  return N + ne;
78654
78654
  }
@@ -78745,8 +78745,8 @@ const Qhe = /* @__PURE__ */ He(Nfe, [["render", Rfe], ["__scopeId", "data-v-3862
78745
78745
  emits: ["onTourStart", "onTourStop", "onTourEnd", "onTourStep", "onTourSnooze"],
78746
78746
  setup(n, { emit: e, expose: t }) {
78747
78747
  const r = `tour-${n.name}`, i = `${r}-tooltip`, s = `${r}-backdrop`, o = `${r}-arrow`, a = F(null), l = F(null), u = F(!1), c = Q(() => n.steps.filter((H) => {
78748
- var G;
78749
- return !((G = H.skip) != null && G.call(H));
78748
+ var K;
78749
+ return !((K = H.skip) != null && K.call(H));
78750
78750
  })), d = Mi({
78751
78751
  currentStep: 0,
78752
78752
  lastStep: 0,
@@ -78765,11 +78765,11 @@ const Qhe = /* @__PURE__ */ He(Nfe, [["render", Rfe], ["__scopeId", "data-v-3862
78765
78765
  ) : d.currentStep = 0;
78766
78766
  const H = async () => {
78767
78767
  if (await A(d.currentStep), !a.value) {
78768
- const G = document.querySelector(
78768
+ const K = document.querySelector(
78769
78769
  d.getCurrentStep.target
78770
78770
  );
78771
78771
  a.value = Bfe(
78772
- G,
78772
+ K,
78773
78773
  l.value,
78774
78774
  {
78775
78775
  position: d.getCurrentStep.placement || "right",
@@ -78781,10 +78781,10 @@ const Qhe = /* @__PURE__ */ He(Nfe, [["render", Rfe], ["__scopeId", "data-v-3862
78781
78781
  };
78782
78782
  n.autoStart ? setTimeout(H, n.startDelay) : H(), e("onTourStart");
78783
78783
  }, y = async () => {
78784
- var H, G;
78784
+ var H, K;
78785
78785
  d.currentStep < c.value.length && d.getCurrentStep.onAfter && await d.getCurrentStep.onAfter(), n.backdrop && ((H = document.querySelector(`#${s}`)) == null || H.setAttribute("data-hidden", "")), (n.highlight || d.getLastStep.highlight) && document.querySelectorAll(".tour-highlight").forEach(
78786
78786
  (V) => V.classList.remove("tour-highlight")
78787
- ), (G = l.value) == null || G.setAttribute("data-hidden", ""), m(), e("onTourStop");
78787
+ ), (K = l.value) == null || K.setAttribute("data-hidden", ""), m(), e("onTourStop");
78788
78788
  }, v = (H) => {
78789
78789
  y(), d.currentStep = 0, d.lastStep = 0, d.nextStep = 1, localStorage.removeItem("tour-" + n.name), H && g();
78790
78790
  }, b = async () => {
@@ -78794,8 +78794,8 @@ const Qhe = /* @__PURE__ */ He(Nfe, [["render", Rfe], ["__scopeId", "data-v-3862
78794
78794
  }
78795
78795
  await A(d.currentStep), d.nextStep = d.currentStep + 1, N();
78796
78796
  }, S = async () => {
78797
- var H, G;
78798
- if (await ((G = (H = d.getCurrentStep).onAfter) == null ? void 0 : G.call(H)), await A(d.lastStep), d.currentStep = d.lastStep, d.lastStep--, d.lastStep < 0 && (d.lastStep = 0), d.currentStep < 0) {
78797
+ var H, K;
78798
+ if (await ((K = (H = d.getCurrentStep).onAfter) == null ? void 0 : K.call(H)), await A(d.lastStep), d.currentStep = d.lastStep, d.lastStep--, d.lastStep < 0 && (d.lastStep = 0), d.currentStep < 0) {
78799
78799
  E();
78800
78800
  return;
78801
78801
  }
@@ -78807,51 +78807,51 @@ const Qhe = /* @__PURE__ */ He(Nfe, [["render", Rfe], ["__scopeId", "data-v-3862
78807
78807
  }, M = async (H) => {
78808
78808
  await A(H), d.currentStep = H, d.lastStep = H - 1, d.lastStep < 0 && (d.lastStep = 0), d.nextStep = H + 1, N();
78809
78809
  }, A = async (H) => {
78810
- var V, Z, ne, le;
78811
- document.querySelectorAll(".tour-highlight").forEach((ye) => ye.classList.remove("tour-highlight"));
78812
- const G = document.querySelector(`#${s}`);
78813
- G && (G.style.clipPath = ""), (V = l.value) == null || V.setAttribute("data-hidden", ""), await ((ne = (Z = c.value[H]) == null ? void 0 : Z.onBefore) == null ? void 0 : ne.call(Z)), (le = l.value) == null || le.removeAttribute("data-hidden");
78810
+ var V, q, ne, ue;
78811
+ document.querySelectorAll(".tour-highlight").forEach((ge) => ge.classList.remove("tour-highlight"));
78812
+ const K = document.querySelector(`#${s}`);
78813
+ K && (K.style.clipPath = ""), (V = l.value) == null || V.setAttribute("data-hidden", ""), await ((ne = (q = c.value[H]) == null ? void 0 : q.onBefore) == null ? void 0 : ne.call(q)), (ue = l.value) == null || ue.removeAttribute("data-hidden");
78814
78814
  }, N = async () => {
78815
- var ne, le, ye, ue, ee;
78816
- if (O(), $(), (ne = l.value) == null || ne.setAttribute("data-hidden", ""), d.getCurrentStep.tooltipWidth ? (le = l.value) == null || le.style.setProperty("width", d.getCurrentStep.tooltipWidth) : (ye = l.value) == null || ye.style.removeProperty("width"), !n.noScroll && !d.getCurrentStep.noScroll) {
78817
- const K = document.querySelector(
78815
+ var ne, ue, ge, le, J;
78816
+ if (O(), $(), (ne = l.value) == null || ne.setAttribute("data-hidden", ""), d.getCurrentStep.tooltipWidth ? (ue = l.value) == null || ue.style.setProperty("width", d.getCurrentStep.tooltipWidth) : (ge = l.value) == null || ge.style.removeProperty("width"), !n.noScroll && !d.getCurrentStep.noScroll) {
78817
+ const G = document.querySelector(
78818
78818
  d.getCurrentStep.target
78819
78819
  );
78820
- if (K) {
78821
- const q = K.getBoundingClientRect();
78822
- q.top >= 0 && q.left >= 0 && q.bottom <= (window.innerHeight || document.documentElement.clientHeight) && q.right <= (window.innerWidth || document.documentElement.clientWidth) || K.scrollIntoView({
78820
+ if (G) {
78821
+ const Z = G.getBoundingClientRect();
78822
+ Z.top >= 0 && Z.left >= 0 && Z.bottom <= (window.innerHeight || document.documentElement.clientHeight) && Z.right <= (window.innerWidth || document.documentElement.clientWidth) || G.scrollIntoView({
78823
78823
  behavior: "smooth",
78824
78824
  block: "center"
78825
78825
  });
78826
78826
  }
78827
78827
  }
78828
- (ue = l.value) == null || ue.removeAttribute("data-hidden");
78828
+ (le = l.value) == null || le.removeAttribute("data-hidden");
78829
78829
  const H = document.querySelector(
78830
78830
  d.getCurrentStep.target
78831
78831
  );
78832
78832
  if (!H || !l.value)
78833
78833
  return;
78834
- const G = d.getCurrentStep.placement || "right", V = ((ee = a.value) == null ? void 0 : ee.update({
78834
+ const K = d.getCurrentStep.placement || "right", V = ((J = a.value) == null ? void 0 : J.update({
78835
78835
  reference: H,
78836
- position: G,
78836
+ position: K,
78837
78837
  margin: d.getCurrentStep.margin !== void 0 ? d.getCurrentStep.margin : n.margin || 8
78838
- })) || G;
78838
+ })) || K;
78839
78839
  l.value.setAttribute("data-arrow", V);
78840
- const Z = document.querySelector(`#${o}`);
78841
- if (Z) {
78842
- const K = H.getBoundingClientRect(), q = l.value.getBoundingClientRect(), Y = K.left + K.width / 2, fe = K.top + K.height / 2;
78843
- if (Z.style.left = "", Z.style.top = "", Z.style.right = "", Z.style.bottom = "", Z.style.transform = "", V.startsWith("t")) {
78844
- const ve = Y - q.left;
78845
- Z.style.left = `${Math.max(10, Math.min(q.width - 10, ve))}px`, Z.style.bottom = "-5px", Z.style.transform = "translateX(-50%)";
78840
+ const q = document.querySelector(`#${o}`);
78841
+ if (q) {
78842
+ const G = H.getBoundingClientRect(), Z = l.value.getBoundingClientRect(), Y = G.left + G.width / 2, ce = G.top + G.height / 2;
78843
+ if (q.style.left = "", q.style.top = "", q.style.right = "", q.style.bottom = "", q.style.transform = "", V.startsWith("t")) {
78844
+ const ye = Y - Z.left;
78845
+ q.style.left = `${Math.max(10, Math.min(Z.width - 10, ye))}px`, q.style.bottom = "-5px", q.style.transform = "translateX(-50%)";
78846
78846
  } else if (V.startsWith("b")) {
78847
- const ve = Y - q.left;
78848
- Z.style.left = `${Math.max(10, Math.min(q.width - 10, ve))}px`, Z.style.top = "-5px", Z.style.transform = "translateX(-50%)";
78847
+ const ye = Y - Z.left;
78848
+ q.style.left = `${Math.max(10, Math.min(Z.width - 10, ye))}px`, q.style.top = "-5px", q.style.transform = "translateX(-50%)";
78849
78849
  } else if (V.startsWith("l")) {
78850
- const ve = fe - q.top;
78851
- Z.style.top = `${Math.max(10, Math.min(q.height - 10, ve))}px`, Z.style.right = "-5px", Z.style.transform = "translateY(-50%)";
78850
+ const ye = ce - Z.top;
78851
+ q.style.top = `${Math.max(10, Math.min(Z.height - 10, ye))}px`, q.style.right = "-5px", q.style.transform = "translateY(-50%)";
78852
78852
  } else if (V.startsWith("r")) {
78853
- const ve = fe - q.top;
78854
- Z.style.top = `${Math.max(10, Math.min(q.height - 10, ve))}px`, Z.style.left = "-5px", Z.style.transform = "translateY(-50%)";
78853
+ const ye = ce - Z.top;
78854
+ q.style.top = `${Math.max(10, Math.min(Z.height - 10, ye))}px`, q.style.left = "-5px", q.style.transform = "translateY(-50%)";
78855
78855
  }
78856
78856
  }
78857
78857
  n.saveProgress && localStorage.setItem(
@@ -78862,12 +78862,12 @@ const Qhe = /* @__PURE__ */ He(Nfe, [["render", Rfe], ["__scopeId", "data-v-3862
78862
78862
  if (document.querySelectorAll(".tour-highlight").forEach(
78863
78863
  (V) => V.classList.remove("tour-highlight")
78864
78864
  ), !(n.highlight && d.getCurrentStep.highlight !== !1 || d.getCurrentStep.highlight === !0)) return;
78865
- const G = document.querySelector(
78865
+ const K = document.querySelector(
78866
78866
  d.getCurrentStep.target
78867
78867
  );
78868
- G == null || G.classList.add("tour-highlight");
78868
+ K == null || K.classList.add("tour-highlight");
78869
78869
  }, $ = () => {
78870
- const H = document.querySelector(`#${s}`), G = H == null ? void 0 : H.querySelector(".tour-highlight-outline");
78870
+ const H = document.querySelector(`#${s}`), K = H == null ? void 0 : H.querySelector(".tour-highlight-outline");
78871
78871
  if (!n.backdrop || !H) {
78872
78872
  H == null || H.setAttribute("data-hidden", "");
78873
78873
  return;
@@ -78879,8 +78879,11 @@ const Qhe = /* @__PURE__ */ He(Nfe, [["render", Rfe], ["__scopeId", "data-v-3862
78879
78879
  H.setAttribute("data-hidden", "");
78880
78880
  return;
78881
78881
  }
78882
- const Z = V.getBoundingClientRect(), ne = d.getCurrentStep.clipPadding ?? 0, le = n.outlineWidth ?? 4, ye = `path('M 0,0 L 0,${window.innerHeight} L ${window.innerWidth},${window.innerHeight} L ${window.innerWidth},0 Z M ${Z.left - ne},${Z.top - ne} L ${Z.right + ne},${Z.top - ne} L ${Z.right + ne},${Z.bottom + ne} L ${Z.left - ne},${Z.bottom + ne} Z')`, ue = `path('M ${Z.left - ne - le},${Z.top - ne - le} L ${Z.right + ne + le},${Z.top - ne - le} L ${Z.right + ne + le},${Z.bottom + ne + le} L ${Z.left - ne - le},${Z.bottom + ne + le} Z')`;
78883
- H.style.clipPath = ye, n.highlight && d.getCurrentStep.highlight !== !1 ? G.style.clipPath = ue : G.style.clipPath = "none", H.removeAttribute("data-hidden");
78882
+ const q = V.getBoundingClientRect(), ne = d.getCurrentStep.clipPadding ?? 0, ue = n.outlineWidth ?? 4, ge = d.getCurrentStep.clipWidth ?? q.width, le = d.getCurrentStep.clipHeight ?? q.height, J = d.getCurrentStep.clipAlign ?? "center";
78883
+ let G, Z;
78884
+ J === "left" ? G = q.left : J === "right" ? G = q.right - ge : G = q.left + q.width / 2 - ge / 2, J === "top" ? Z = q.top : J === "bottom" ? Z = q.bottom - le : Z = q.top + q.height / 2 - le / 2;
78885
+ const Y = G + ge, ce = Z + le, ye = `path('M 0,0 L 0,${window.innerHeight} L ${window.innerWidth},${window.innerHeight} L ${window.innerWidth},0 Z M ${G - ne},${Z - ne} L ${Y + ne},${Z - ne} L ${Y + ne},${ce + ne} L ${G - ne},${ce + ne} Z')`, be = `path('M ${G - ne - ue},${Z - ne - ue} L ${Y + ne + ue},${Z - ne - ue} L ${Y + ne + ue},${ce + ne + ue} L ${G - ne - ue},${ce + ne + ue} Z')`;
78886
+ H.style.clipPath = ye, n.highlight && d.getCurrentStep.highlight !== !1 ? K.style.clipPath = be : K.style.clipPath = "none", H.removeAttribute("data-hidden");
78884
78887
  }, R = () => {
78885
78888
  u.value = !u.value;
78886
78889
  }, W = (H) => {