@quoreadmin/ui 0.27.31 → 0.27.33

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
@@ -17,7 +17,7 @@ var rr = (n, e, t, r) => ({
17
17
  return m(n, e, r);
18
18
  }
19
19
  }), I = (n, e, t) => (f5(n, e, "access private method"), t);
20
- import { defineComponent as ke, computed as J, resolveComponent as X, openBlock as S, createElementBlock as T, normalizeClass as V, renderSlot as U, normalizeProps as Qn, guardReactiveProps as Es, createElementVNode as P, createCommentVNode as L, toDisplayString as oe, createVNode as _, Transition as en, withCtx as se, ref as z, getCurrentInstance as Oo, onMounted as pt, onUnmounted as Hr, nextTick as Lr, unref as Ur, inject as vr, cloneVNode as e_, h as mn, Fragment as pe, provide as Ao, watchEffect as tn, watch as vt, getCurrentScope as t_, onScopeDispose as n_, isRef as r_, shallowRef as vv, reactive as Br, useSlots as x7, onUpdated as dA, pushScopeId as yp, popScopeId as vp, mergeProps as N, readonly as fA, resolveDirective as jn, renderList as Te, withDirectives as it, createBlock as j, Text as i_, Teleport as O7, resolveDynamicComponent as be, withKeys as Pn, toHandlerKey as su, withModifiers as rt, createTextVNode as _e, normalizeStyle as Za, onBeforeUnmount as gu, markRaw as s_, customRef as o_, toRaw as hA, vShow as Jo, vModelText as a_, TransitionGroup as l_, toRef as u_, isVNode as c_, createSlots as kd, toHandlers as qp, render as U8 } from "vue";
20
+ import { defineComponent as ke, computed as J, resolveComponent as X, openBlock as S, createElementBlock as T, normalizeClass as V, renderSlot as U, normalizeProps as Qn, guardReactiveProps as Es, createElementVNode as P, createCommentVNode as L, toDisplayString as oe, createVNode as _, Transition as en, withCtx as se, ref as z, getCurrentInstance as Oo, onMounted as pt, onUnmounted as Hr, nextTick as fr, unref as Ur, inject as br, cloneVNode as e_, h as mn, Fragment as pe, provide as Ao, watchEffect as tn, watch as vt, getCurrentScope as t_, onScopeDispose as n_, isRef as r_, shallowRef as vv, reactive as Br, useSlots as x7, onUpdated as dA, pushScopeId as yp, popScopeId as vp, mergeProps as N, readonly as fA, resolveDirective as jn, renderList as Te, withDirectives as it, createBlock as j, Text as i_, Teleport as O7, resolveDynamicComponent as be, withKeys as Pn, toHandlerKey as su, withModifiers as Qe, createTextVNode as _e, normalizeStyle as Za, onBeforeUnmount as gu, markRaw as s_, customRef as o_, toRaw as hA, vShow as Jo, vModelText as a_, TransitionGroup as l_, toRef as u_, isVNode as c_, createSlots as kd, toHandlers as qp, render as U8 } from "vue";
21
21
  const d_ = ke({
22
22
  name: "QAccordion",
23
23
  props: {
@@ -818,7 +818,7 @@ class Q_ extends q_ {
818
818
  }), wn(this, "clean", () => {
819
819
  super.clean(), this.state._dragStarted = !1, this.releasePointerCapture(), L_(this.controller, this.stateKey);
820
820
  }), wn(this, "onCancel", () => {
821
- this.state.canceled || (this.updateGestureState({ canceled: !0, _active: !1 }), this.updateSharedState({ buttons: 0 }), Lr(this.fireGestureHandler));
821
+ this.state.canceled || (this.updateGestureState({ canceled: !0, _active: !1 }), this.updateSharedState({ buttons: 0 }), fr(this.fireGestureHandler));
822
822
  }), wn(this, "onClick", (e) => {
823
823
  this.state._dragIsTap || e.stopPropagation();
824
824
  });
@@ -1059,7 +1059,7 @@ function MA(n, e = {}) {
1059
1059
  }
1060
1060
  let pL = Symbol("headlessui.useid"), mL = 0;
1061
1061
  function gL() {
1062
- return vr(pL, () => `${++mL}`)();
1062
+ return br(pL, () => `${++mL}`)();
1063
1063
  }
1064
1064
  function J8(n) {
1065
1065
  var e;
@@ -1182,7 +1182,7 @@ function CL() {
1182
1182
  return OA() !== null;
1183
1183
  }
1184
1184
  function OA() {
1185
- return vr(xA, null);
1185
+ return br(xA, null);
1186
1186
  }
1187
1187
  function ML(n) {
1188
1188
  Ao(xA, n);
@@ -1270,16 +1270,16 @@ function pl(n = "") {
1270
1270
  let P7 = Symbol("TransitionContext");
1271
1271
  var TL = ((n) => (n.Visible = "visible", n.Hidden = "hidden", n))(TL || {});
1272
1272
  function IL() {
1273
- return vr(P7, null) !== null;
1273
+ return br(P7, null) !== null;
1274
1274
  }
1275
1275
  function xL() {
1276
- let n = vr(P7, null);
1276
+ let n = br(P7, null);
1277
1277
  if (n === null)
1278
1278
  throw new Error("A <TransitionChild /> is used but it is missing a parent <TransitionRoot />.");
1279
1279
  return n;
1280
1280
  }
1281
1281
  function OL() {
1282
- let n = vr(_7, null);
1282
+ let n = br(_7, null);
1283
1283
  if (n === null)
1284
1284
  throw new Error("A <TransitionChild /> is used but it is missing a parent <TransitionRoot />.");
1285
1285
  return n;
@@ -1458,7 +1458,7 @@ function BL(n, e = 200, t = !1, r = !0, i = !1) {
1458
1458
  );
1459
1459
  }
1460
1460
  function jL(n, e = !0, t) {
1461
- $A() ? pt(n, t) : e ? n() : Lr(n);
1461
+ $A() ? pt(n, t) : e ? n() : fr(n);
1462
1462
  }
1463
1463
  function zL(n, e) {
1464
1464
  $A(e) && Hr(n, e);
@@ -3721,7 +3721,7 @@ const _F = ke({
3721
3721
  }, v = () => {
3722
3722
  f.value = !0;
3723
3723
  }, b = async (M = { clickOutside: !1 }) => {
3724
- if (f.value = !1, await Lr(), M.clickOutside) {
3724
+ if (f.value = !1, await fr(), M.clickOutside) {
3725
3725
  f.value = !1;
3726
3726
  return;
3727
3727
  }
@@ -5264,7 +5264,7 @@ function PB(n, e) {
5264
5264
  }
5265
5265
  function _B(n) {
5266
5266
  var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0;
5267
- Oo() ? pt(n) : e ? n() : Lr(n);
5267
+ Oo() ? pt(n) : e ? n() : fr(n);
5268
5268
  }
5269
5269
  var LB = 0;
5270
5270
  function IE(n) {
@@ -5750,7 +5750,7 @@ function Kb(n, e) {
5750
5750
  r[t] = n[t];
5751
5751
  return r;
5752
5752
  }
5753
- var br = tj.extend("ripple", {
5753
+ var wr = tj.extend("ripple", {
5754
5754
  mounted: function(e) {
5755
5755
  var t, r = e == null || (t = e.$instance) === null || t === void 0 ? void 0 : t.$config;
5756
5756
  r && r.ripple && (this.create(e), this.bindEvents(e), e.setAttribute("data-pd-ripple", !0));
@@ -6469,7 +6469,7 @@ var PE = {
6469
6469
  }
6470
6470
  },
6471
6471
  directives: {
6472
- ripple: br
6472
+ ripple: wr
6473
6473
  }
6474
6474
  }, kj = ["aria-labelledby"], Aj = ["tabindex", "aria-label", "role", "aria-checked", "aria-disabled", "onClick", "onKeydown", "onBlur", "data-p-highlight", "data-p-disabled"];
6475
6475
  function Ej(n, e, t, r, i, s) {
@@ -8657,7 +8657,7 @@ function Bo(n, e, t = !1) {
8657
8657
  conversionAccuracy: e.conversionAccuracy || n.conversionAccuracy,
8658
8658
  matrix: e.matrix || n.matrix
8659
8659
  };
8660
- return new Qe(r);
8660
+ return new Xe(r);
8661
8661
  }
8662
8662
  function kT(n, e) {
8663
8663
  let t = e.milliseconds ?? 0;
@@ -8691,7 +8691,7 @@ function gV(n) {
8691
8691
  r !== 0 && (e[t] = r);
8692
8692
  return e;
8693
8693
  }
8694
- class Qe {
8694
+ class Xe {
8695
8695
  /**
8696
8696
  * @private
8697
8697
  */
@@ -8710,7 +8710,7 @@ class Qe {
8710
8710
  * @return {Duration}
8711
8711
  */
8712
8712
  static fromMillis(e, t) {
8713
- return Qe.fromObject({ milliseconds: e }, t);
8713
+ return Xe.fromObject({ milliseconds: e }, t);
8714
8714
  }
8715
8715
  /**
8716
8716
  * Create a Duration from a JavaScript object with keys like 'years' and 'hours'.
@@ -8737,8 +8737,8 @@ class Qe {
8737
8737
  throw new cr(
8738
8738
  `Duration.fromObject: argument expected to be an object, got ${e === null ? "null" : typeof e}`
8739
8739
  );
8740
- return new Qe({
8741
- values: Tg(e, Qe.normalizeUnit),
8740
+ return new Xe({
8741
+ values: Tg(e, Xe.normalizeUnit),
8742
8742
  loc: ft.fromObject(t),
8743
8743
  conversionAccuracy: t.conversionAccuracy,
8744
8744
  matrix: t.matrix
@@ -8756,11 +8756,11 @@ class Qe {
8756
8756
  */
8757
8757
  static fromDurationLike(e) {
8758
8758
  if (Q0(e))
8759
- return Qe.fromMillis(e);
8760
- if (Qe.isDuration(e))
8759
+ return Xe.fromMillis(e);
8760
+ if (Xe.isDuration(e))
8761
8761
  return e;
8762
8762
  if (typeof e == "object")
8763
- return Qe.fromObject(e);
8763
+ return Xe.fromObject(e);
8764
8764
  throw new cr(
8765
8765
  `Unknown duration argument ${e} of type ${typeof e}`
8766
8766
  );
@@ -8781,7 +8781,7 @@ class Qe {
8781
8781
  */
8782
8782
  static fromISO(e, t) {
8783
8783
  const [r] = oV(e);
8784
- return r ? Qe.fromObject(r, t) : Qe.invalid("unparsable", `the input "${e}" can't be parsed as ISO 8601`);
8784
+ return r ? Xe.fromObject(r, t) : Xe.invalid("unparsable", `the input "${e}" can't be parsed as ISO 8601`);
8785
8785
  }
8786
8786
  /**
8787
8787
  * Create a Duration from an ISO 8601 time string.
@@ -8801,7 +8801,7 @@ class Qe {
8801
8801
  */
8802
8802
  static fromISOTime(e, t) {
8803
8803
  const [r] = lV(e);
8804
- return r ? Qe.fromObject(r, t) : Qe.invalid("unparsable", `the input "${e}" can't be parsed as ISO 8601`);
8804
+ return r ? Xe.fromObject(r, t) : Xe.invalid("unparsable", `the input "${e}" can't be parsed as ISO 8601`);
8805
8805
  }
8806
8806
  /**
8807
8807
  * Create an invalid Duration.
@@ -8815,7 +8815,7 @@ class Qe {
8815
8815
  const r = e instanceof Bi ? e : new Bi(e, t);
8816
8816
  if (Ft.throwOnInvalid)
8817
8817
  throw new Hj(r);
8818
- return new Qe({ invalid: r });
8818
+ return new Xe({ invalid: r });
8819
8819
  }
8820
8820
  /**
8821
8821
  * @private
@@ -9016,7 +9016,7 @@ class Qe {
9016
9016
  plus(e) {
9017
9017
  if (!this.isValid)
9018
9018
  return this;
9019
- const t = Qe.fromDurationLike(e), r = {};
9019
+ const t = Xe.fromDurationLike(e), r = {};
9020
9020
  for (const i of Pl)
9021
9021
  (Ed(t.values, i) || Ed(this.values, i)) && (r[i] = t.get(i) + this.get(i));
9022
9022
  return Bo(this, { values: r }, !0);
@@ -9029,7 +9029,7 @@ class Qe {
9029
9029
  minus(e) {
9030
9030
  if (!this.isValid)
9031
9031
  return this;
9032
- const t = Qe.fromDurationLike(e);
9032
+ const t = Xe.fromDurationLike(e);
9033
9033
  return this.plus(t.negate());
9034
9034
  }
9035
9035
  /**
@@ -9056,7 +9056,7 @@ class Qe {
9056
9056
  * @return {number}
9057
9057
  */
9058
9058
  get(e) {
9059
- return this[Qe.normalizeUnit(e)];
9059
+ return this[Xe.normalizeUnit(e)];
9060
9060
  }
9061
9061
  /**
9062
9062
  * "Set" the values of specified units. Return a newly-constructed Duration.
@@ -9068,7 +9068,7 @@ class Qe {
9068
9068
  set(e) {
9069
9069
  if (!this.isValid)
9070
9070
  return this;
9071
- const t = { ...this.values, ...Tg(e, Qe.normalizeUnit) };
9071
+ const t = { ...this.values, ...Tg(e, Xe.normalizeUnit) };
9072
9072
  return Bo(this, { values: t });
9073
9073
  }
9074
9074
  /**
@@ -9133,7 +9133,7 @@ class Qe {
9133
9133
  return this;
9134
9134
  if (e.length === 0)
9135
9135
  return this;
9136
- e = e.map((o) => Qe.normalizeUnit(o));
9136
+ e = e.map((o) => Xe.normalizeUnit(o));
9137
9137
  const t = {}, r = {}, i = this.toObject();
9138
9138
  let s;
9139
9139
  for (const o of Pl)
@@ -9332,7 +9332,7 @@ class _t {
9332
9332
  * @return {Interval}
9333
9333
  */
9334
9334
  static after(e, t) {
9335
- const r = Qe.fromDurationLike(t), i = i2(e);
9335
+ const r = Xe.fromDurationLike(t), i = i2(e);
9336
9336
  return _t.fromDateTimes(i, i.plus(r));
9337
9337
  }
9338
9338
  /**
@@ -9342,7 +9342,7 @@ class _t {
9342
9342
  * @return {Interval}
9343
9343
  */
9344
9344
  static before(e, t) {
9345
- const r = Qe.fromDurationLike(t), i = i2(e);
9345
+ const r = Xe.fromDurationLike(t), i = i2(e);
9346
9346
  return _t.fromDateTimes(i.minus(r), i);
9347
9347
  }
9348
9348
  /**
@@ -9371,11 +9371,11 @@ class _t {
9371
9371
  if (o && l)
9372
9372
  return _t.fromDateTimes(s, a);
9373
9373
  if (o) {
9374
- const u = Qe.fromISO(i, t);
9374
+ const u = Xe.fromISO(i, t);
9375
9375
  if (u.isValid)
9376
9376
  return _t.after(s, u);
9377
9377
  } else if (l) {
9378
- const u = Qe.fromISO(r, t);
9378
+ const u = Xe.fromISO(r, t);
9379
9379
  if (u.isValid)
9380
9380
  return _t.before(a, u);
9381
9381
  }
@@ -9521,7 +9521,7 @@ class _t {
9521
9521
  * @return {Array}
9522
9522
  */
9523
9523
  splitBy(e) {
9524
- const t = Qe.fromDurationLike(e);
9524
+ const t = Xe.fromDurationLike(e);
9525
9525
  if (!this.isValid || !t.isValid || t.as("milliseconds") === 0)
9526
9526
  return [];
9527
9527
  let { s: r } = this, i = 1, s;
@@ -9731,7 +9731,7 @@ class _t {
9731
9731
  * @return {Duration}
9732
9732
  */
9733
9733
  toDuration(e, t) {
9734
- return this.isValid ? this.e.diff(this.s, e, t) : Qe.invalid(this.invalidReason);
9734
+ return this.isValid ? this.e.diff(this.s, e, t) : Xe.invalid(this.invalidReason);
9735
9735
  }
9736
9736
  /**
9737
9737
  * Run mapFn on the interval start and end, returning a new Interval from the resulting DateTimes
@@ -9917,7 +9917,7 @@ class tm {
9917
9917
  }
9918
9918
  function J9(n, e) {
9919
9919
  const t = (i) => i.toUTC(0, { keepLocalTime: !0 }).startOf("day").valueOf(), r = t(e) - t(n);
9920
- return Math.floor(Qe.fromMillis(r).as("days"));
9920
+ return Math.floor(Xe.fromMillis(r).as("days"));
9921
9921
  }
9922
9922
  function vV(n, e, t) {
9923
9923
  const r = [
@@ -9944,8 +9944,8 @@ function bV(n, e, t, r) {
9944
9944
  (d) => ["hours", "minutes", "seconds", "milliseconds"].indexOf(d) >= 0
9945
9945
  );
9946
9946
  u.length === 0 && (o < e && (o = i.plus({ [a]: 1 })), o !== i && (s[a] = (s[a] || 0) + l / (o - i)));
9947
- const c = Qe.fromObject(s, r);
9948
- return u.length > 0 ? Qe.fromMillis(l, r).shiftTo(...u).plus(c) : c;
9947
+ const c = Xe.fromObject(s, r);
9948
+ return u.length > 0 ? Xe.fromMillis(l, r).shiftTo(...u).plus(c) : c;
9949
9949
  }
9950
9950
  const ow = {
9951
9951
  arab: "[٠-٩]",
@@ -10012,7 +10012,7 @@ function wi({ numberingSystem: n }, e = "") {
10012
10012
  return new RegExp(`${ow[n || "latn"]}${e}`);
10013
10013
  }
10014
10014
  const CV = "missing Intl.DateTimeFormat.formatToParts support";
10015
- function tt(n, e = (t) => t) {
10015
+ function nt(n, e = (t) => t) {
10016
10016
  return { regex: n, deser: ([t]) => e(SV(t)) };
10017
10017
  }
10018
10018
  const MV = " ", AT = `[ ${MV}]`, ET = new RegExp(AT, "g");
@@ -10047,82 +10047,82 @@ function EV(n, e) {
10047
10047
  case "GG":
10048
10048
  return Si(e.eras("long"), 0);
10049
10049
  case "y":
10050
- return tt(u);
10050
+ return nt(u);
10051
10051
  case "yy":
10052
- return tt(d, t4);
10052
+ return nt(d, t4);
10053
10053
  case "yyyy":
10054
- return tt(s);
10054
+ return nt(s);
10055
10055
  case "yyyyy":
10056
- return tt(f);
10056
+ return nt(f);
10057
10057
  case "yyyyyy":
10058
- return tt(o);
10058
+ return nt(o);
10059
10059
  case "M":
10060
- return tt(a);
10060
+ return nt(a);
10061
10061
  case "MM":
10062
- return tt(r);
10062
+ return nt(r);
10063
10063
  case "MMM":
10064
10064
  return Si(e.months("short", !0), 1);
10065
10065
  case "MMMM":
10066
10066
  return Si(e.months("long", !0), 1);
10067
10067
  case "L":
10068
- return tt(a);
10068
+ return nt(a);
10069
10069
  case "LL":
10070
- return tt(r);
10070
+ return nt(r);
10071
10071
  case "LLL":
10072
10072
  return Si(e.months("short", !1), 1);
10073
10073
  case "LLLL":
10074
10074
  return Si(e.months("long", !1), 1);
10075
10075
  case "d":
10076
- return tt(a);
10076
+ return nt(a);
10077
10077
  case "dd":
10078
- return tt(r);
10078
+ return nt(r);
10079
10079
  case "o":
10080
- return tt(l);
10080
+ return nt(l);
10081
10081
  case "ooo":
10082
- return tt(i);
10082
+ return nt(i);
10083
10083
  case "HH":
10084
- return tt(r);
10084
+ return nt(r);
10085
10085
  case "H":
10086
- return tt(a);
10086
+ return nt(a);
10087
10087
  case "hh":
10088
- return tt(r);
10088
+ return nt(r);
10089
10089
  case "h":
10090
- return tt(a);
10090
+ return nt(a);
10091
10091
  case "mm":
10092
- return tt(r);
10092
+ return nt(r);
10093
10093
  case "m":
10094
- return tt(a);
10094
+ return nt(a);
10095
10095
  case "q":
10096
- return tt(a);
10096
+ return nt(a);
10097
10097
  case "qq":
10098
- return tt(r);
10098
+ return nt(r);
10099
10099
  case "s":
10100
- return tt(a);
10100
+ return nt(a);
10101
10101
  case "ss":
10102
- return tt(r);
10102
+ return nt(r);
10103
10103
  case "S":
10104
- return tt(l);
10104
+ return nt(l);
10105
10105
  case "SSS":
10106
- return tt(i);
10106
+ return nt(i);
10107
10107
  case "u":
10108
10108
  return nm(c);
10109
10109
  case "uu":
10110
10110
  return nm(a);
10111
10111
  case "uuu":
10112
- return tt(t);
10112
+ return nt(t);
10113
10113
  case "a":
10114
10114
  return Si(e.meridiems(), 0);
10115
10115
  case "kkkk":
10116
- return tt(s);
10116
+ return nt(s);
10117
10117
  case "kk":
10118
- return tt(d, t4);
10118
+ return nt(d, t4);
10119
10119
  case "W":
10120
- return tt(a);
10120
+ return nt(a);
10121
10121
  case "WW":
10122
- return tt(r);
10122
+ return nt(r);
10123
10123
  case "E":
10124
10124
  case "c":
10125
- return tt(t);
10125
+ return nt(t);
10126
10126
  case "EEE":
10127
10127
  return Si(e.weekdays("short", !1), 1);
10128
10128
  case "EEEE":
@@ -10358,7 +10358,7 @@ function iS(n, e) {
10358
10358
  year: r,
10359
10359
  month: i,
10360
10360
  day: Math.min(n.c.day, Eg(r, i)) + Math.trunc(e.days) + Math.trunc(e.weeks) * 7
10361
- }, o = Qe.fromObject({
10361
+ }, o = Xe.fromObject({
10362
10362
  years: e.years - Math.trunc(e.years),
10363
10363
  quarters: e.quarters - Math.trunc(e.quarters),
10364
10364
  months: e.months - Math.trunc(e.months),
@@ -11340,7 +11340,7 @@ let Ot = class Nt {
11340
11340
  plus(e) {
11341
11341
  if (!this.isValid)
11342
11342
  return this;
11343
- const t = Qe.fromDurationLike(e);
11343
+ const t = Xe.fromDurationLike(e);
11344
11344
  return vl(this, iS(this, t));
11345
11345
  }
11346
11346
  /**
@@ -11352,7 +11352,7 @@ let Ot = class Nt {
11352
11352
  minus(e) {
11353
11353
  if (!this.isValid)
11354
11354
  return this;
11355
- const t = Qe.fromDurationLike(e).negate();
11355
+ const t = Xe.fromDurationLike(e).negate();
11356
11356
  return vl(this, iS(this, t));
11357
11357
  }
11358
11358
  /**
@@ -11370,7 +11370,7 @@ let Ot = class Nt {
11370
11370
  startOf(e, { useLocaleWeeks: t = !1 } = {}) {
11371
11371
  if (!this.isValid)
11372
11372
  return this;
11373
- const r = {}, i = Qe.normalizeUnit(e);
11373
+ const r = {}, i = Xe.normalizeUnit(e);
11374
11374
  switch (i) {
11375
11375
  case "years":
11376
11376
  r.month = 1;
@@ -11700,8 +11700,8 @@ let Ot = class Nt {
11700
11700
  */
11701
11701
  diff(e, t = "milliseconds", r = {}) {
11702
11702
  if (!this.isValid || !e.isValid)
11703
- return Qe.invalid("created by diffing an invalid DateTime");
11704
- const i = { locale: this.locale, numberingSystem: this.numberingSystem, ...r }, s = mz(t).map(Qe.normalizeUnit), o = e.valueOf() > this.valueOf(), a = o ? this : e, l = o ? e : this, u = bV(a, l, s, i);
11703
+ return Xe.invalid("created by diffing an invalid DateTime");
11704
+ const i = { locale: this.locale, numberingSystem: this.numberingSystem, ...r }, s = mz(t).map(Xe.normalizeUnit), o = e.valueOf() > this.valueOf(), a = o ? this : e, l = o ? e : this, u = bV(a, l, s, i);
11705
11705
  return o ? u.negate() : u;
11706
11706
  }
11707
11707
  /**
@@ -12296,7 +12296,7 @@ const zV = /\{([0-9a-zA-Z]+)\}/g;
12296
12296
  function _T(n, ...e) {
12297
12297
  return e.length === 1 && st(e[0]) && (e = e[0]), (!e || !e.hasOwnProperty) && (e = {}), n.replace(zV, (t, r) => e.hasOwnProperty(r) ? e[r] : "");
12298
12298
  }
12299
- const Do = (n, e = !1) => e ? Symbol.for(n) : Symbol(n), VV = (n, e, t) => HV({ l: n, k: e, s: t }), HV = (n) => JSON.stringify(n).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), $n = (n) => typeof n == "number" && isFinite(n), UV = (n) => RT(n) === "[object Date]", Ig = (n) => RT(n) === "[object RegExp]", Tv = (n) => et(n) && Object.keys(n).length === 0, Bn = Object.assign;
12299
+ const Do = (n, e = !1) => e ? Symbol.for(n) : Symbol(n), VV = (n, e, t) => HV({ l: n, k: e, s: t }), HV = (n) => JSON.stringify(n).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), $n = (n) => typeof n == "number" && isFinite(n), UV = (n) => RT(n) === "[object Date]", Ig = (n) => RT(n) === "[object RegExp]", Tv = (n) => tt(n) && Object.keys(n).length === 0, Bn = Object.assign;
12300
12300
  let cS;
12301
12301
  const aw = () => cS || (cS = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : {});
12302
12302
  function dS(n) {
@@ -12306,12 +12306,12 @@ const ZV = Object.prototype.hasOwnProperty;
12306
12306
  function xg(n, e) {
12307
12307
  return ZV.call(n, e);
12308
12308
  }
12309
- const Jt = Array.isArray, xt = (n) => typeof n == "function", Ce = (n) => typeof n == "string", Ht = (n) => typeof n == "boolean", st = (n) => n !== null && typeof n == "object", WV = (n) => st(n) && xt(n.then) && xt(n.catch), LT = Object.prototype.toString, RT = (n) => LT.call(n), et = (n) => {
12309
+ const Jt = Array.isArray, xt = (n) => typeof n == "function", Ce = (n) => typeof n == "string", Ht = (n) => typeof n == "boolean", st = (n) => n !== null && typeof n == "object", WV = (n) => st(n) && xt(n.then) && xt(n.catch), LT = Object.prototype.toString, RT = (n) => LT.call(n), tt = (n) => {
12310
12310
  if (!st(n))
12311
12311
  return !1;
12312
12312
  const e = Object.getPrototypeOf(n);
12313
12313
  return e === null || e.constructor === Object;
12314
- }, qV = (n) => n == null ? "" : Jt(n) || et(n) && n.toString === LT ? JSON.stringify(n, null, 2) : String(n);
12314
+ }, qV = (n) => n == null ? "" : Jt(n) || tt(n) && n.toString === LT ? JSON.stringify(n, null, 2) : String(n);
12315
12315
  function KV(n, e = "") {
12316
12316
  return n.reduce((t, r, i) => i === 0 ? t + r : t + e + r, "");
12317
12317
  }
@@ -12745,7 +12745,7 @@ function vH(n = {}) {
12745
12745
  const b = xt(n.messages) ? n.messages(v) : st(n.messages) ? n.messages[v] : !1;
12746
12746
  return b || (n.parent ? n.parent.message(v) : fH);
12747
12747
  }
12748
- const d = (v) => n.modifiers ? n.modifiers[v] : dH, f = et(n.processor) && xt(n.processor.normalize) ? n.processor.normalize : pH, h = et(n.processor) && xt(n.processor.interpolate) ? n.processor.interpolate : mH, p = et(n.processor) && Ce(n.processor.type) ? n.processor.type : hH, y = {
12748
+ const d = (v) => n.modifiers ? n.modifiers[v] : dH, f = tt(n.processor) && xt(n.processor.normalize) ? n.processor.normalize : pH, h = tt(n.processor) && xt(n.processor.interpolate) ? n.processor.interpolate : mH, p = tt(n.processor) && Ce(n.processor.type) ? n.processor.type : hH, y = {
12749
12749
  list: a,
12750
12750
  named: u,
12751
12751
  plural: s,
@@ -12865,7 +12865,7 @@ function BT(n, e, t) {
12865
12865
  let o = [t];
12866
12866
  for (; Jt(o); )
12867
12867
  o = yS(s, o, e);
12868
- const a = Jt(e) || !et(e) ? e : e.default ? e.default : null;
12868
+ const a = Jt(e) || !tt(e) ? e : e.default ? e.default : null;
12869
12869
  o = Ce(a) ? [a] : a, Jt(o) && yS(s, o, !1), i.__localeChainCache.set(r, s);
12870
12870
  }
12871
12871
  return s;
@@ -12892,7 +12892,7 @@ function TH(n, e, t) {
12892
12892
  if (!n.includes(e) && (r = !0, e)) {
12893
12893
  r = e[e.length - 1] !== "!";
12894
12894
  const i = e.replace(/!/g, "");
12895
- n.push(i), (Jt(t) || et(t)) && t[i] && (r = t[i]);
12895
+ n.push(i), (Jt(t) || tt(t)) && t[i] && (r = t[i]);
12896
12896
  }
12897
12897
  return r;
12898
12898
  }
@@ -12922,7 +12922,7 @@ const bS = (n) => {
12922
12922
  }, LH = () => HT;
12923
12923
  let wS = 0;
12924
12924
  function RH(n = {}) {
12925
- const e = xt(n.onWarn) ? n.onWarn : Yd, t = Ce(n.version) ? n.version : IH, r = Ce(n.locale) || xt(n.locale) ? n.locale : Og, i = xt(r) ? Og : r, s = Jt(n.fallbackLocale) || et(n.fallbackLocale) || Ce(n.fallbackLocale) || n.fallbackLocale === !1 ? n.fallbackLocale : i, o = et(n.messages) ? n.messages : { [i]: {} }, a = et(n.datetimeFormats) ? n.datetimeFormats : { [i]: {} }, l = et(n.numberFormats) ? n.numberFormats : { [i]: {} }, u = Bn({}, n.modifiers || {}, xH()), c = n.pluralRules || {}, d = xt(n.missing) ? n.missing : null, f = Ht(n.missingWarn) || Ig(n.missingWarn) ? n.missingWarn : !0, h = Ht(n.fallbackWarn) || Ig(n.fallbackWarn) ? n.fallbackWarn : !0, p = !!n.fallbackFormat, g = !!n.unresolving, y = xt(n.postTranslation) ? n.postTranslation : null, v = et(n.processor) ? n.processor : null, b = Ht(n.warnHtmlMessage) ? n.warnHtmlMessage : !0, C = !!n.escapeParameter, w = xt(n.messageCompiler) ? n.messageCompiler : OH;
12925
+ const e = xt(n.onWarn) ? n.onWarn : Yd, t = Ce(n.version) ? n.version : IH, r = Ce(n.locale) || xt(n.locale) ? n.locale : Og, i = xt(r) ? Og : r, s = Jt(n.fallbackLocale) || tt(n.fallbackLocale) || Ce(n.fallbackLocale) || n.fallbackLocale === !1 ? n.fallbackLocale : i, o = tt(n.messages) ? n.messages : { [i]: {} }, a = tt(n.datetimeFormats) ? n.datetimeFormats : { [i]: {} }, l = tt(n.numberFormats) ? n.numberFormats : { [i]: {} }, u = Bn({}, n.modifiers || {}, xH()), c = n.pluralRules || {}, d = xt(n.missing) ? n.missing : null, f = Ht(n.missingWarn) || Ig(n.missingWarn) ? n.missingWarn : !0, h = Ht(n.fallbackWarn) || Ig(n.fallbackWarn) ? n.fallbackWarn : !0, p = !!n.fallbackFormat, g = !!n.unresolving, y = xt(n.postTranslation) ? n.postTranslation : null, v = tt(n.processor) ? n.processor : null, b = Ht(n.warnHtmlMessage) ? n.warnHtmlMessage : !0, C = !!n.escapeParameter, w = xt(n.messageCompiler) ? n.messageCompiler : OH;
12926
12926
  process.env.NODE_ENV !== "production" && xt(n.messageCompiler) && YV(au(qn.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));
12927
12927
  const x = xt(n.messageResolver) ? n.messageResolver : jT || uH, M = xt(n.localeFallbacker) ? n.localeFallbacker : zT || AH, E = st(n.fallbackContext) ? n.fallbackContext : void 0, O = n, D = st(O.__datetimeFormatters) ? O.__datetimeFormatters : /* @__PURE__ */ new Map(), $ = st(O.__numberFormatters) ? O.__numberFormatters : /* @__PURE__ */ new Map(), R = st(O.__meta) ? O.__meta : {};
12928
12928
  wS++;
@@ -13104,7 +13104,7 @@ function n4(...n) {
13104
13104
  if (!Ce(e) && !$n(e) && !ai(e) && !Td(e))
13105
13105
  throw bo(In.INVALID_ARGUMENT);
13106
13106
  const s = $n(e) ? String(e) : (ai(e), e);
13107
- return $n(t) ? i.plural = t : Ce(t) ? i.default = t : et(t) && !Tv(t) ? i.named = t : Jt(t) && (i.list = t), $n(r) ? i.plural = r : Ce(r) ? i.default = r : et(r) && Bn(i, r), [s, i];
13107
+ return $n(t) ? i.plural = t : Ce(t) ? i.default = t : tt(t) && !Tv(t) ? i.named = t : Jt(t) && (i.list = t), $n(r) ? i.plural = r : Ce(r) ? i.default = r : tt(r) && Bn(i, r), [s, i];
13108
13108
  }
13109
13109
  function BH(n, e, t, r, i, s) {
13110
13110
  return {
@@ -13189,11 +13189,11 @@ function kS(n, ...e) {
13189
13189
  groupId: `${M}:${l}`
13190
13190
  });
13191
13191
  }
13192
- if (v = t[b] || {}, C = v[l], et(C))
13192
+ if (v = t[b] || {}, C = v[l], tt(C))
13193
13193
  break;
13194
13194
  cw(n, l, b, f, M), w = x;
13195
13195
  }
13196
- if (!et(C) || !Ce(b))
13196
+ if (!tt(C) || !Ce(b))
13197
13197
  return r ? Iv : l;
13198
13198
  let E = `${b}__${l}`;
13199
13199
  Tv(d) || (E = `${E}__${JSON.stringify(d)}`);
@@ -13244,9 +13244,9 @@ function r4(...n) {
13244
13244
  a = e;
13245
13245
  else
13246
13246
  throw bo(In.INVALID_ARGUMENT);
13247
- return Ce(t) ? s.key = t : et(t) && Object.keys(t).forEach((l) => {
13247
+ return Ce(t) ? s.key = t : tt(t) && Object.keys(t).forEach((l) => {
13248
13248
  KT.includes(l) ? o[l] = t[l] : s[l] = t[l];
13249
- }), Ce(r) ? s.locale = r : et(r) && (o = r), et(i) && (o = i), [s.key || "", a, s, o];
13249
+ }), Ce(r) ? s.locale = r : tt(r) && (o = r), tt(i) && (o = i), [s.key || "", a, s, o];
13250
13250
  }
13251
13251
  function AS(n, e, t) {
13252
13252
  const r = n;
@@ -13283,11 +13283,11 @@ function ES(n, ...e) {
13283
13283
  groupId: `${M}:${l}`
13284
13284
  });
13285
13285
  }
13286
- if (v = t[b] || {}, C = v[l], et(C))
13286
+ if (v = t[b] || {}, C = v[l], tt(C))
13287
13287
  break;
13288
13288
  cw(n, l, b, f, M), w = x;
13289
13289
  }
13290
- if (!et(C) || !Ce(b))
13290
+ if (!tt(C) || !Ce(b))
13291
13291
  return r ? Iv : l;
13292
13292
  let E = `${b}__${l}`;
13293
13293
  Tv(d) || (E = `${E}__${JSON.stringify(d)}`);
@@ -13322,9 +13322,9 @@ function i4(...n) {
13322
13322
  if (!$n(e))
13323
13323
  throw bo(In.INVALID_ARGUMENT);
13324
13324
  const a = e;
13325
- return Ce(t) ? s.key = t : et(t) && Object.keys(t).forEach((l) => {
13325
+ return Ce(t) ? s.key = t : tt(t) && Object.keys(t).forEach((l) => {
13326
13326
  GT.includes(l) ? o[l] = t[l] : s[l] = t[l];
13327
- }), Ce(r) ? s.locale = r : et(r) && (o = r), et(i) && (o = i), [s.key || "", a, s, o];
13327
+ }), Ce(r) ? s.locale = r : tt(r) && (o = r), tt(i) && (o = i), [s.key || "", a, s, o];
13328
13328
  }
13329
13329
  function TS(n, e, t) {
13330
13330
  const r = n;
@@ -13440,7 +13440,7 @@ function bf(n) {
13440
13440
  return n;
13441
13441
  }
13442
13442
  function XT(n, e) {
13443
- const { messages: t, __i18n: r, messageResolver: i, flatJson: s } = e, o = et(t) ? t : Jt(r) ? {} : { [n]: {} };
13443
+ const { messages: t, __i18n: r, messageResolver: i, flatJson: s } = e, o = tt(t) ? t : Jt(r) ? {} : { [n]: {} };
13444
13444
  if (Jt(r) && r.forEach((a) => {
13445
13445
  if ("locale" in a && "resource" in a) {
13446
13446
  const { locale: l, resource: u } = a;
@@ -13501,10 +13501,10 @@ function QH(n = {}, e) {
13501
13501
  t && a ? t.locale.value : Ce(n.locale) ? n.locale : Og
13502
13502
  ), u = o(
13503
13503
  // prettier-ignore
13504
- t && a ? t.fallbackLocale.value : Ce(n.fallbackLocale) || Jt(n.fallbackLocale) || et(n.fallbackLocale) || n.fallbackLocale === !1 ? n.fallbackLocale : l.value
13505
- ), c = o(XT(l.value, n)), d = o(et(n.datetimeFormats) ? n.datetimeFormats : { [l.value]: {} }), f = o(et(n.numberFormats) ? n.numberFormats : { [l.value]: {} });
13504
+ t && a ? t.fallbackLocale.value : Ce(n.fallbackLocale) || Jt(n.fallbackLocale) || tt(n.fallbackLocale) || n.fallbackLocale === !1 ? n.fallbackLocale : l.value
13505
+ ), c = o(XT(l.value, n)), d = o(tt(n.datetimeFormats) ? n.datetimeFormats : { [l.value]: {} }), f = o(tt(n.numberFormats) ? n.numberFormats : { [l.value]: {} });
13506
13506
  let h = t ? t.missingWarn : Ht(n.missingWarn) || Ig(n.missingWarn) ? n.missingWarn : !0, p = t ? t.fallbackWarn : Ht(n.fallbackWarn) || Ig(n.fallbackWarn) ? n.fallbackWarn : !0, g = t ? t.fallbackRoot : Ht(n.fallbackRoot) ? n.fallbackRoot : !0, y = !!n.fallbackFormat, v = xt(n.missing) ? n.missing : null, b = xt(n.missing) ? NS(n.missing) : null, C = xt(n.postTranslation) ? n.postTranslation : null, w = t ? t.warnHtmlMessage : Ht(n.warnHtmlMessage) ? n.warnHtmlMessage : !0, x = !!n.escapeParameter;
13507
- const M = t ? t.modifiers : et(n.modifiers) ? n.modifiers : {};
13507
+ const M = t ? t.modifiers : tt(n.modifiers) ? n.modifiers : {};
13508
13508
  let E = n.pluralRules || t && t.pluralRules, O;
13509
13509
  O = (() => {
13510
13510
  i && bS(null);
@@ -13527,7 +13527,7 @@ function QH(n = {}, e) {
13527
13527
  messageCompiler: n.messageCompiler,
13528
13528
  __meta: { framework: "vue" }
13529
13529
  };
13530
- te.datetimeFormats = d.value, te.numberFormats = f.value, te.__datetimeFormatters = et(O) ? O.__datetimeFormatters : void 0, te.__numberFormatters = et(O) ? O.__numberFormatters : void 0, process.env.NODE_ENV !== "production" && (te.__v_emitter = et(O) ? O.__v_emitter : void 0);
13530
+ te.datetimeFormats = d.value, te.numberFormats = f.value, te.__datetimeFormatters = tt(O) ? O.__datetimeFormatters : void 0, te.__numberFormatters = tt(O) ? O.__numberFormatters : void 0, process.env.NODE_ENV !== "production" && (te.__v_emitter = tt(O) ? O.__v_emitter : void 0);
13531
13531
  const ce = RH(te);
13532
13532
  return i && bS(ce), ce;
13533
13533
  })(), s2(O, l.value, u.value);
@@ -13650,7 +13650,7 @@ function QH(n = {}, e) {
13650
13650
  (ce) => Ce(ce) || Jt(ce)
13651
13651
  );
13652
13652
  }
13653
- function Je(...te) {
13653
+ function et(...te) {
13654
13654
  return me(
13655
13655
  (ce) => Reflect.apply(kS, null, [ce, ...te]),
13656
13656
  () => r4(...te),
@@ -13684,14 +13684,14 @@ function QH(n = {}, e) {
13684
13684
  }
13685
13685
  return ce;
13686
13686
  }
13687
- function Sr(te) {
13687
+ function Cr(te) {
13688
13688
  const ce = Wr(te);
13689
13689
  return ce ?? (t ? t.tm(te) || {} : {});
13690
13690
  }
13691
13691
  function rn(te) {
13692
13692
  return c.value[te] || {};
13693
13693
  }
13694
- function Cr(te, ce) {
13694
+ function Mr(te, ce) {
13695
13695
  if (s) {
13696
13696
  const He = { [te]: ce };
13697
13697
  for (const kt in He)
@@ -13792,7 +13792,7 @@ function QH(n = {}, e) {
13792
13792
  },
13793
13793
  t: le,
13794
13794
  getLocaleMessage: rn,
13795
- setLocaleMessage: Cr,
13795
+ setLocaleMessage: Mr,
13796
13796
  mergeLocaleMessage: Lo,
13797
13797
  getPostTranslationHandler: Z,
13798
13798
  setPostTranslationHandler: ae,
@@ -13800,7 +13800,7 @@ function QH(n = {}, e) {
13800
13800
  setMissingHandler: W,
13801
13801
  [WH]: bt
13802
13802
  };
13803
- return ct.datetimeFormats = ne, ct.numberFormats = B, ct.rt = ee, ct.te = nn, ct.tm = Sr, ct.d = K, ct.n = q, ct.getDateTimeFormat = Ro, ct.setDateTimeFormat = qt, ct.mergeDateTimeFormat = Vn, ct.getNumberFormat = Zi, ct.setNumberFormat = qr, ct.mergeNumberFormat = bi, ct[qH] = r, ct[s4] = De, ct[o4] = Je, ct[a4] = Ne, process.env.NODE_ENV !== "production" && (ct[l4] = (te) => {
13803
+ return ct.datetimeFormats = ne, ct.numberFormats = B, ct.rt = ee, ct.te = nn, ct.tm = Cr, ct.d = K, ct.n = q, ct.getDateTimeFormat = Ro, ct.setDateTimeFormat = qt, ct.mergeDateTimeFormat = Vn, ct.getNumberFormat = Zi, ct.setNumberFormat = qr, ct.mergeNumberFormat = bi, ct[qH] = r, ct[s4] = De, ct[o4] = et, ct[a4] = Ne, process.env.NODE_ENV !== "production" && (ct[l4] = (te) => {
13804
13804
  O.__v_emitter = te;
13805
13805
  }, ct[u4] = () => {
13806
13806
  O.__v_emitter = void 0;
@@ -13911,7 +13911,7 @@ function No(n = {}) {
13911
13911
  }
13912
13912
  function tU(n) {
13913
13913
  {
13914
- const e = vr(n.isCE ? eU : n.appContext.app.__VUE_I18N_SYMBOL__);
13914
+ const e = br(n.isCE ? eU : n.appContext.app.__VUE_I18N_SYMBOL__);
13915
13915
  if (!e)
13916
13916
  throw vf(n.isCE ? zt.NOT_INSTALLED_WITH_PROVIDE : zt.UNEXPECTED_ERROR);
13917
13917
  return e;
@@ -14727,7 +14727,7 @@ var iI = {
14727
14727
  ChevronRightIcon: Ip
14728
14728
  },
14729
14729
  directives: {
14730
- ripple: br
14730
+ ripple: wr
14731
14731
  }
14732
14732
  }, jU = ["disabled"], zU = ["id", "aria-label", "aria-roledescription"], VU = ["disabled"], HU = ["aria-label", "aria-selected", "aria-controls", "onClick", "onMouseenter", "onKeydown", "data-p-highlight"], UU = ["tabindex"];
14733
14733
  function ZU(n, e, t, r, i, s) {
@@ -15131,7 +15131,7 @@ var sI = {
15131
15131
  ChevronDownIcon: xp
15132
15132
  },
15133
15133
  directives: {
15134
- ripple: br
15134
+ ripple: wr
15135
15135
  }
15136
15136
  };
15137
15137
  function Cf(n) {
@@ -15402,7 +15402,7 @@ var oI = {
15402
15402
  TimesIcon: vu
15403
15403
  },
15404
15404
  directives: {
15405
- ripple: br
15405
+ ripple: wr
15406
15406
  }
15407
15407
  };
15408
15408
  function kf(n) {
@@ -15828,13 +15828,13 @@ var AZ = { 9306: (n, e, t) => {
15828
15828
  if (a) {
15829
15829
  if (ve)
15830
15830
  for (var Ne in le) {
15831
- var Je = l[Ne];
15832
- if (Je && d(Je.prototype, re))
15831
+ var et = l[Ne];
15832
+ if (et && d(et.prototype, re))
15833
15833
  try {
15834
- delete Je.prototype[re];
15834
+ delete et.prototype[re];
15835
15835
  } catch {
15836
15836
  try {
15837
- Je.prototype[re] = fe;
15837
+ et.prototype[re] = fe;
15838
15838
  } catch {
15839
15839
  }
15840
15840
  }
@@ -17130,15 +17130,15 @@ var AZ = { 9306: (n, e, t) => {
17130
17130
  } });
17131
17131
  }, 8335: (n, e, t) => {
17132
17132
  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), p = t(6198), g = t(4659), y = t(9039), v = t(8235), b = t(4495), C = s.JSON, w = s.Number, x = s.SyntaxError, M = C && C.parse, E = o("Object", "keys"), O = Object.getOwnPropertyDescriptor, D = a("".charAt), $ = a("".slice), R = a(/./.exec), H = a([].push), Y = /^\d$/, ne = /^[1-9]$/, B = /^[\d-]$/, Z = /^[\t\n\r ]$/, ae = function(ee, K, q, re) {
17133
- var fe, ve, De, Ne, Je, bt = ee[K], nn = re && bt === re.value, Wr = nn && typeof re.source == "string" ? { source: re.source } : {};
17133
+ var fe, ve, De, Ne, et, bt = ee[K], nn = re && bt === re.value, Wr = nn && typeof re.source == "string" ? { source: re.source } : {};
17134
17134
  if (c(bt)) {
17135
- var Sr = d(bt), rn = nn ? re.nodes : Sr ? [] : {};
17136
- if (Sr)
17135
+ var Cr = d(bt), rn = nn ? re.nodes : Cr ? [] : {};
17136
+ if (Cr)
17137
17137
  for (fe = rn.length, De = p(bt), Ne = 0; Ne < De; Ne++)
17138
17138
  Q(bt, Ne, ae(bt, "" + Ne, q, Ne < fe ? rn[Ne] : void 0));
17139
17139
  else
17140
17140
  for (ve = E(bt), De = p(ve), Ne = 0; Ne < De; Ne++)
17141
- Je = ve[Ne], Q(bt, Je, ae(bt, Je, q, f(rn, Je) ? rn[Je] : void 0));
17141
+ et = ve[Ne], Q(bt, et, ae(bt, et, q, f(rn, et) ? rn[et] : void 0));
17142
17142
  }
17143
17143
  return l(q, ee, K, bt, Wr);
17144
17144
  }, Q = function(ee, K, q) {
@@ -17250,9 +17250,9 @@ var AZ = { 9306: (n, e, t) => {
17250
17250
  r({ target: "JSON", stat: !0, forced: me }, { parse: function(K, q) {
17251
17251
  return le && !u(q) ? M(K) : function(re, fe) {
17252
17252
  re = h(re);
17253
- var ve = new ue(re, 0), De = ve.parse(), Ne = De.value, Je = ve.skip(Z, De.end);
17254
- if (Je < re.length)
17255
- throw new x('Unexpected extra character: "' + D(re, Je) + '" after the parsed data at: ' + Je);
17253
+ var ve = new ue(re, 0), De = ve.parse(), Ne = De.value, et = ve.skip(Z, De.end);
17254
+ if (et < re.length)
17255
+ throw new x('Unexpected extra character: "' + D(re, et) + '" after the parsed data at: ' + et);
17256
17256
  return u(fe) ? ae({ "": Ne }, "", fe, De) : Ne;
17257
17257
  }(K, q);
17258
17258
  } });
@@ -17309,21 +17309,21 @@ var AZ = { 9306: (n, e, t) => {
17309
17309
  }), u;
17310
17310
  }, configurable: !0, enumerable: !0 });
17311
17311
  } }, HS = {};
17312
- function Xe(n) {
17312
+ function Je(n) {
17313
17313
  var e = HS[n];
17314
17314
  if (e !== void 0)
17315
17315
  return e.exports;
17316
17316
  var t = HS[n] = { exports: {} };
17317
- return AZ[n].call(t.exports, t, t.exports, Xe), t.exports;
17317
+ return AZ[n].call(t.exports, t, t.exports, Je), t.exports;
17318
17318
  }
17319
- Xe.d = (n, e) => {
17319
+ Je.d = (n, e) => {
17320
17320
  for (var t in e)
17321
- Xe.o(e, t) && !Xe.o(n, t) && Object.defineProperty(n, t, { enumerable: !0, get: e[t] });
17321
+ Je.o(e, t) && !Je.o(n, t) && Object.defineProperty(n, t, { enumerable: !0, get: e[t] });
17322
17322
  };
17323
- Xe.o = (n, e) => Object.prototype.hasOwnProperty.call(n, e);
17323
+ Je.o = (n, e) => Object.prototype.hasOwnProperty.call(n, e);
17324
17324
  var Le = globalThis.pdfjsLib = {};
17325
- Xe.d(Le, { AbortException: () => wu, AnnotationEditorLayer: () => E6, AnnotationEditorParamsType: () => Oe, AnnotationEditorType: () => We, AnnotationEditorUIManager: () => uu, AnnotationLayer: () => _q, AnnotationMode: () => na, CMapCompressionType: () => p4, ColorPicker: () => Rg, DOMSVGFactory: () => gw, DrawLayer: () => O6, FeatureTest: () => fr, GlobalWorkerOptions: () => vo, ImageKind: () => Bm, InvalidPDFException: () => dI, MissingPDFException: () => bu, OPS: () => Mi, PDFDataRangeTransport: () => ax, PDFDateString: () => vI, PDFWorker: () => ec, PasswordResponses: () => rW, PermissionFlag: () => NZ, PixelsPerInch: () => Qa, RenderingCancelledException: () => yw, TextLayer: () => Af, UnexpectedResponseException: () => _v, Util: () => Me, VerbosityLevel: () => Dv, XfaLayer: () => ux, build: () => mq, createValidAbsoluteUrl: () => oW, fetchData: () => Rv, getDocument: () => lq, getFilenameFromUrl: () => bW, getPdfFilenameFromUrl: () => wW, getXfaPageViewport: () => SW, isDataScheme: () => $v, isPdfFile: () => vw, noContextMenu: () => hi, normalizeUnicode: () => lW, setLayerDimensions: () => lu, shadow: () => qe, version: () => pq });
17326
- Xe(4114), Xe(6573), Xe(8100), Xe(7936), Xe(7467), Xe(4732), Xe(9577), Xe(4603), Xe(7566), Xe(8721);
17325
+ Je.d(Le, { AbortException: () => wu, AnnotationEditorLayer: () => E6, AnnotationEditorParamsType: () => Oe, AnnotationEditorType: () => We, AnnotationEditorUIManager: () => uu, AnnotationLayer: () => _q, AnnotationMode: () => na, CMapCompressionType: () => p4, ColorPicker: () => Rg, DOMSVGFactory: () => gw, DrawLayer: () => O6, FeatureTest: () => hr, GlobalWorkerOptions: () => vo, ImageKind: () => Bm, InvalidPDFException: () => dI, MissingPDFException: () => bu, OPS: () => Mi, PDFDataRangeTransport: () => ax, PDFDateString: () => vI, PDFWorker: () => ec, PasswordResponses: () => rW, PermissionFlag: () => NZ, PixelsPerInch: () => Qa, RenderingCancelledException: () => yw, TextLayer: () => Af, UnexpectedResponseException: () => _v, Util: () => Me, VerbosityLevel: () => Dv, XfaLayer: () => ux, build: () => mq, createValidAbsoluteUrl: () => oW, fetchData: () => Rv, getDocument: () => lq, getFilenameFromUrl: () => bW, getPdfFilenameFromUrl: () => wW, getXfaPageViewport: () => SW, isDataScheme: () => $v, isPdfFile: () => vw, noContextMenu: () => hi, normalizeUnicode: () => lW, setLayerDimensions: () => lu, shadow: () => qe, version: () => pq });
17326
+ Je(4114), Je(6573), Je(8100), Je(7936), Je(7467), Je(4732), Je(9577), Je(4603), Je(7566), Je(8721);
17327
17327
  const Ln = !(typeof process != "object" || process + "" != "[object process]" || process.versions.nw || process.versions.electron && process.type && process.type !== "browser"), uI = [1, 0, 0, 1, 0, 0], h4 = [1e-3, 0, 0, 1e-3, 0, 0], R5 = 1.35, EZ = 1, pw = 2, Ng = 4, TZ = 16, IZ = 32, xZ = 64, OZ = 128, DZ = 256, na = { DISABLE: 0, ENABLE: 1, ENABLE_FORMS: 2, ENABLE_STORAGE: 3 }, We = { DISABLE: -1, NONE: 0, FREETEXT: 3, HIGHLIGHT: 9, STAMP: 13, INK: 15 }, Oe = { RESIZE: 1, CREATE: 2, FREETEXT_SIZE: 11, FREETEXT_COLOR: 12, FREETEXT_OPACITY: 13, INK_COLOR: 21, INK_THICKNESS: 22, INK_OPACITY: 23, HIGHLIGHT_COLOR: 31, HIGHLIGHT_DEFAULT_COLOR: 32, HIGHLIGHT_THICKNESS: 33, HIGHLIGHT_FREE: 34, HIGHLIGHT_SHOW_ALL: 35 }, NZ = { PRINT: 4, MODIFY_CONTENTS: 8, COPY: 16, MODIFY_ANNOTATIONS: 32, FILL_INTERACTIVE_FORMS: 256, COPY_FOR_ACCESSIBILITY: 512, ASSEMBLE: 1024, PRINT_HIGH_QUALITY: 2048 }, Fm = 0, $5 = 1, a2 = 2, PZ = 3, US = 3, _Z = 4, Bm = { GRAYSCALE_1BPP: 1, RGB_24BPP: 2, RGBA_32BPP: 3 }, LZ = 1, RZ = 2, $Z = 3, FZ = 4, BZ = 5, jZ = 6, zZ = 7, VZ = 8, HZ = 9, UZ = 10, ZZ = 11, WZ = 12, qZ = 13, KZ = 14, GZ = 15, cI = 16, YZ = 17, QZ = 20, XZ = 1, JZ = 2, eW = 3, tW = 4, nW = 5, Dv = { ERRORS: 0, WARNINGS: 1, INFOS: 5 }, p4 = { NONE: 0, BINARY: 1 }, Mi = { dependency: 1, setLineWidth: 2, setLineCap: 3, setLineJoin: 4, setMiterLimit: 5, setDash: 6, setRenderingIntent: 7, setFlatness: 8, setGState: 9, save: 10, restore: 11, transform: 12, moveTo: 13, lineTo: 14, curveTo: 15, curveTo2: 16, curveTo3: 17, closePath: 18, rectangle: 19, stroke: 20, closeStroke: 21, fill: 22, eoFill: 23, fillStroke: 24, eoFillStroke: 25, closeFillStroke: 26, closeEOFillStroke: 27, endPath: 28, clip: 29, eoClip: 30, beginText: 31, endText: 32, setCharSpacing: 33, setWordSpacing: 34, setHScale: 35, setLeading: 36, setFont: 37, setTextRenderingMode: 38, setTextRise: 39, moveText: 40, setLeadingMoveText: 41, setTextMatrix: 42, nextLine: 43, showText: 44, showSpacedText: 45, nextLineShowText: 46, nextLineSetSpacingShowText: 47, setCharWidth: 48, setCharWidthAndBounds: 49, setStrokeColorSpace: 50, setFillColorSpace: 51, setStrokeColor: 52, setStrokeColorN: 53, setFillColor: 54, setFillColorN: 55, setStrokeGray: 56, setFillGray: 57, setStrokeRGBColor: 58, setFillRGBColor: 59, setStrokeCMYKColor: 60, setFillCMYKColor: 61, shadingFill: 62, beginInlineImage: 63, beginImageData: 64, endInlineImage: 65, paintXObject: 66, markPoint: 67, markPointProps: 68, beginMarkedContent: 69, beginMarkedContentProps: 70, endMarkedContent: 71, beginCompat: 72, endCompat: 73, paintFormXObjectBegin: 74, paintFormXObjectEnd: 75, beginGroup: 76, endGroup: 77, beginAnnotation: 80, endAnnotation: 81, paintImageMaskXObject: 83, paintImageMaskXObjectGroup: 84, paintImageXObject: 85, paintInlineImageXObject: 86, paintInlineImageXObjectGroup: 87, paintImageXObjectRepeat: 88, paintImageMaskXObjectRepeat: 89, paintSolidColorImageMask: 90, constructPath: 91, setStrokeTransparent: 92, setFillTransparent: 93 }, rW = { NEED_PASSWORD: 1, INCORRECT_PASSWORD: 2 };
17328
17328
  let Nv = Dv.WARNINGS;
17329
17329
  function iW(n) {
@@ -17448,7 +17448,7 @@ function mw(n) {
17448
17448
  e[t] = r;
17449
17449
  return e;
17450
17450
  }
17451
- class fr {
17451
+ class hr {
17452
17452
  static get isLittleEndian() {
17453
17453
  return qe(this, "isLittleEndian", function() {
17454
17454
  const t = new Uint8Array(4);
@@ -17543,7 +17543,7 @@ function lW(n) {
17543
17543
  return B5 || (B5 = /([\u00a0\u00b5\u037e\u0eb3\u2000-\u200a\u202f\u2126\ufb00-\ufb04\ufb06\ufb20-\ufb36\ufb38-\ufb3c\ufb3e\ufb40-\ufb41\ufb43-\ufb44\ufb46-\ufba1\ufba4-\ufba9\ufbae-\ufbb1\ufbd3-\ufbdc\ufbde-\ufbe7\ufbea-\ufbf8\ufbfc-\ufbfd\ufc00-\ufc5d\ufc64-\ufcf1\ufcf5-\ufd3d\ufd88\ufdf4\ufdfa-\ufdfb\ufe71\ufe77\ufe79\ufe7b\ufe7d]+)|(\ufb05+)/gu, ZS = /* @__PURE__ */ new Map([["ſt", "ſt"]])), n.replaceAll(B5, (e, t, r) => t ? t.normalize("NFKC") : ZS.get(r));
17544
17544
  }
17545
17545
  const hI = "pdfjs_internal_id_", uW = 0, cW = 1, dW = 2, fW = 3, hW = 4, pW = 5, mW = 6, gW = 7, yW = 8;
17546
- Xe(4628), Xe(7642), Xe(8004), Xe(3853), Xe(5876), Xe(2475), Xe(5024), Xe(1698), Xe(1454), Xe(4979), Xe(8992), Xe(4743), Xe(3215), Xe(7550), Xe(8335), Xe(4520);
17546
+ Je(4628), Je(7642), Je(8004), Je(3853), Je(5876), Je(2475), Je(5024), Je(1698), Je(1454), Je(4979), Je(8992), Je(4743), Je(3215), Je(7550), Je(8335), Je(4520);
17547
17547
  class WS {
17548
17548
  addFilter(e) {
17549
17549
  return "none";
@@ -17851,7 +17851,7 @@ function $s(n) {
17851
17851
  }
17852
17852
  function lu(n, e, t = !1, r = !0) {
17853
17853
  if (e instanceof Op) {
17854
- const { pageWidth: i, pageHeight: s } = e.rawDims, { style: o } = n, a = fr.isCSSRoundSupported, l = `var(--scale-factor) * ${i}px`, u = `var(--scale-factor) * ${s}px`, c = a ? `round(${l}, 1px)` : `calc(${l})`, d = a ? `round(${u}, 1px)` : `calc(${u})`;
17854
+ const { pageWidth: i, pageHeight: s } = e.rawDims, { style: o } = n, a = hr.isCSSRoundSupported, l = `var(--scale-factor) * ${i}px`, u = `var(--scale-factor) * ${s}px`, c = a ? `round(${l}, 1px)` : `calc(${l})`, d = a ? `round(${u}, 1px)` : `calc(${u})`;
17855
17855
  t && e.rotation % 180 != 0 ? (o.width = d, o.height = c) : (o.width = c, o.height = d);
17856
17856
  }
17857
17857
  r && n.setAttribute("data-main-rotation", e.rotation);
@@ -18113,7 +18113,7 @@ class Dp {
18113
18113
  constructor(e) {
18114
18114
  k(this, Z3);
18115
18115
  this.buffer = [], this.callbacks = /* @__PURE__ */ new Map(), this.allKeys = /* @__PURE__ */ new Set();
18116
- const { isMac: t } = fr.platform;
18116
+ const { isMac: t } = hr.platform;
18117
18117
  for (const [r, i, s = {}] of e)
18118
18118
  for (const o of r) {
18119
18119
  const a = o.startsWith("mac+");
@@ -18165,7 +18165,7 @@ const W3 = class W3 {
18165
18165
  };
18166
18166
  xe(W3, "_colorsMapping", /* @__PURE__ */ new Map([["CanvasText", [0, 0, 0]], ["Canvas", [255, 255, 255]]]));
18167
18167
  let M4 = W3;
18168
- var ac, Er, Kt, Mn, lc, qs, uc, Ai, oa, cc, Zl, Ji, Ei, Wl, bh, wh, dc, Sh, es, aa, fc, la, ts, q3, ua, Ch, ca, ql, Mh, kh, un, ut, Ks, Kl, Ah, Eh, da, ns, Gs, Th, hc, Vm, Ih, k4, K3, TI, G3, II, pc, Hm, Y3, xI, Q3, OI, X3, DI, xh, A4, J3, NI, Oh, E4, Dh, T4, ey, PI, kn, Un, rs, Zo, ty, _I, ny, LI, Nh, I4, ry, RI, Gl, y2, Ph, x4;
18168
+ var ac, Tr, Kt, Mn, lc, qs, uc, Ai, oa, cc, Zl, Ji, Ei, Wl, bh, wh, dc, Sh, es, aa, fc, la, ts, q3, ua, Ch, ca, ql, Mh, kh, un, ut, Ks, Kl, Ah, Eh, da, ns, Gs, Th, hc, Vm, Ih, k4, K3, TI, G3, II, pc, Hm, Y3, xI, Q3, OI, X3, DI, xh, A4, J3, NI, Oh, E4, Dh, T4, ey, PI, kn, Un, rs, Zo, ty, _I, ny, LI, Nh, I4, ry, RI, Gl, y2, Ph, x4;
18169
18169
  const Gu = class Gu {
18170
18170
  constructor(e, t, r, i, s, o, a, l, u, c, d) {
18171
18171
  k(this, hc);
@@ -18190,7 +18190,7 @@ const Gu = class Gu {
18190
18190
  k(this, Gl);
18191
18191
  k(this, Ph);
18192
18192
  k(this, ac, new AbortController());
18193
- k(this, Er, null);
18193
+ k(this, Tr, null);
18194
18194
  k(this, Kt, /* @__PURE__ */ new Map());
18195
18195
  k(this, Mn, /* @__PURE__ */ new Map());
18196
18196
  k(this, lc, null);
@@ -18247,7 +18247,7 @@ const Gu = class Gu {
18247
18247
  (e = m(this, ac)) == null || e.abort(), A(this, ac, null), this._signal = null;
18248
18248
  for (const i of m(this, Mn).values())
18249
18249
  i.destroy();
18250
- m(this, Mn).clear(), m(this, Kt).clear(), m(this, Wl).clear(), A(this, Er, null), m(this, ut).clear(), m(this, Ai).destroy(), (t = m(this, lc)) == null || t.destroy(), (r = m(this, ts)) == null || r.hide(), A(this, ts, null), m(this, es) && (clearTimeout(m(this, es)), A(this, es, null)), m(this, ns) && (clearTimeout(m(this, ns)), A(this, ns, null));
18250
+ m(this, Mn).clear(), m(this, Kt).clear(), m(this, Wl).clear(), A(this, Tr, null), m(this, ut).clear(), m(this, Ai).destroy(), (t = m(this, lc)) == null || t.destroy(), (r = m(this, ts)) == null || r.hide(), A(this, ts, null), m(this, es) && (clearTimeout(m(this, es)), A(this, es, null)), m(this, ns) && (clearTimeout(m(this, ns)), A(this, ns, null));
18251
18251
  }
18252
18252
  combinedSignal(e) {
18253
18253
  return AbortSignal.any([this._signal, e.signal]);
@@ -18378,7 +18378,7 @@ const Gu = class Gu {
18378
18378
  }
18379
18379
  copy(e) {
18380
18380
  var r;
18381
- if (e.preventDefault(), (r = m(this, Er)) == null || r.commitOrRemove(), !this.hasSelection)
18381
+ if (e.preventDefault(), (r = m(this, Tr)) == null || r.commitOrRemove(), !this.hasSelection)
18382
18382
  return;
18383
18383
  const t = [];
18384
18384
  for (const i of m(this, ut)) {
@@ -18564,7 +18564,7 @@ const Gu = class Gu {
18564
18564
  m(this, Zl).delete(e.annotationElementId), this.removeChangedExistingAnnotation(e), e.deleted = !1;
18565
18565
  }
18566
18566
  setActiveEditor(e) {
18567
- m(this, Er) !== e && (A(this, Er, e), e && I(this, rs, Zo).call(this, e.propertiesToUpdate));
18567
+ m(this, Tr) !== e && (A(this, Tr, e), e && I(this, rs, Zo).call(this, e.propertiesToUpdate));
18568
18568
  }
18569
18569
  updateUI(e) {
18570
18570
  m(this, ry, RI) === e && I(this, rs, Zo).call(this, e.propertiesToUpdate);
@@ -18615,10 +18615,10 @@ const Gu = class Gu {
18615
18615
  }
18616
18616
  commitOrRemove() {
18617
18617
  var e;
18618
- (e = m(this, Er)) == null || e.commitOrRemove();
18618
+ (e = m(this, Tr)) == null || e.commitOrRemove();
18619
18619
  }
18620
18620
  hasSomethingToControl() {
18621
- return m(this, Er) || this.hasSelection;
18621
+ return m(this, Tr) || this.hasSelection;
18622
18622
  }
18623
18623
  selectAll() {
18624
18624
  for (const e of m(this, ut))
@@ -18626,7 +18626,7 @@ const Gu = class Gu {
18626
18626
  I(this, Ph, x4).call(this, m(this, Kt).values());
18627
18627
  }
18628
18628
  unselectAll() {
18629
- if (!(m(this, Er) && (m(this, Er).commitOrRemove(), m(this, un) !== We.NONE)) && this.hasSelection) {
18629
+ if (!(m(this, Tr) && (m(this, Tr).commitOrRemove(), m(this, un) !== We.NONE)) && this.hasSelection) {
18630
18630
  for (const e of m(this, ut))
18631
18631
  e.unselect();
18632
18632
  m(this, ut).clear(), I(this, kn, Un).call(this, { hasSelectedEditor: !1 });
@@ -18698,10 +18698,10 @@ const Gu = class Gu {
18698
18698
  return ((e = this.getActive()) == null ? void 0 : e.shouldGetKeyboardEvents()) || m(this, ut).size === 1 && this.firstSelectedEditor.shouldGetKeyboardEvents();
18699
18699
  }
18700
18700
  isActive(e) {
18701
- return m(this, Er) === e;
18701
+ return m(this, Tr) === e;
18702
18702
  }
18703
18703
  getActive() {
18704
- return m(this, Er);
18704
+ return m(this, Tr);
18705
18705
  }
18706
18706
  getMode() {
18707
18707
  return m(this, un);
@@ -18756,7 +18756,7 @@ const Gu = class Gu {
18756
18756
  r && (m(this, un) !== We.NONE || r.hasBeenModified) && r.renderAnnotationElement(e);
18757
18757
  }
18758
18758
  };
18759
- ac = new WeakMap(), Er = new WeakMap(), Kt = new WeakMap(), Mn = new WeakMap(), lc = new WeakMap(), qs = new WeakMap(), uc = new WeakMap(), Ai = new WeakMap(), oa = new WeakMap(), cc = new WeakMap(), Zl = new WeakMap(), Ji = new WeakMap(), Ei = new WeakMap(), Wl = new WeakMap(), bh = new WeakMap(), wh = new WeakMap(), dc = new WeakMap(), Sh = new WeakMap(), es = new WeakMap(), aa = new WeakMap(), fc = new WeakMap(), la = new WeakMap(), ts = new WeakMap(), q3 = new WeakMap(), ua = new WeakMap(), Ch = new WeakMap(), ca = new WeakMap(), ql = new WeakMap(), Mh = new WeakMap(), kh = new WeakMap(), un = new WeakMap(), ut = new WeakMap(), Ks = new WeakMap(), Kl = new WeakMap(), Ah = new WeakMap(), Eh = new WeakMap(), da = new WeakMap(), ns = new WeakMap(), Gs = new WeakMap(), Th = new WeakMap(), hc = new WeakSet(), Vm = function({ anchorNode: e }) {
18759
+ ac = new WeakMap(), Tr = new WeakMap(), Kt = new WeakMap(), Mn = new WeakMap(), lc = new WeakMap(), qs = new WeakMap(), uc = new WeakMap(), Ai = new WeakMap(), oa = new WeakMap(), cc = new WeakMap(), Zl = new WeakMap(), Ji = new WeakMap(), Ei = new WeakMap(), Wl = new WeakMap(), bh = new WeakMap(), wh = new WeakMap(), dc = new WeakMap(), Sh = new WeakMap(), es = new WeakMap(), aa = new WeakMap(), fc = new WeakMap(), la = new WeakMap(), ts = new WeakMap(), q3 = new WeakMap(), ua = new WeakMap(), Ch = new WeakMap(), ca = new WeakMap(), ql = new WeakMap(), Mh = new WeakMap(), kh = new WeakMap(), un = new WeakMap(), ut = new WeakMap(), Ks = new WeakMap(), Kl = new WeakMap(), Ah = new WeakMap(), Eh = new WeakMap(), da = new WeakMap(), ns = new WeakMap(), Gs = new WeakMap(), Th = new WeakMap(), hc = new WeakSet(), Vm = function({ anchorNode: e }) {
18760
18760
  return e.nodeType === Node.TEXT_NODE ? e.parentElement : e;
18761
18761
  }, Ih = new WeakSet(), k4 = function(e) {
18762
18762
  const { currentLayer: t } = this;
@@ -18872,7 +18872,7 @@ ac = new WeakMap(), Er = new WeakMap(), Kt = new WeakMap(), Mn = new WeakMap(),
18872
18872
  I(this, kn, Un).call(this, { hasSelectedEditor: this.hasSelection });
18873
18873
  }, xe(Gu, "TRANSLATE_SMALL", 1), xe(Gu, "TRANSLATE_BIG", 10);
18874
18874
  let uu = Gu;
18875
- var cn, is, Ti, ss, Tr, mc, as, or, Ys, Yl, ls, gc, Um, yc, Zm;
18875
+ var cn, is, Ti, ss, Ir, mc, as, or, Ys, Yl, ls, gc, Um, yc, Zm;
18876
18876
  const Jr = class Jr {
18877
18877
  constructor(e) {
18878
18878
  k(this, gc);
@@ -18881,7 +18881,7 @@ const Jr = class Jr {
18881
18881
  k(this, is, !1);
18882
18882
  k(this, Ti, null);
18883
18883
  k(this, ss, null);
18884
- k(this, Tr, null);
18884
+ k(this, Ir, null);
18885
18885
  k(this, mc, !1);
18886
18886
  k(this, as, null);
18887
18887
  k(this, or, null);
@@ -18944,7 +18944,7 @@ const Jr = class Jr {
18944
18944
  r && (A(this, Ys, r), A(this, Yl, i)), (m(this, cn) !== e || m(this, is) !== t) && (s || (A(this, cn, e), A(this, is, t)), I(this, yc, Zm).call(this));
18945
18945
  }
18946
18946
  toggle(e = !1) {
18947
- m(this, Ti) && (!e && m(this, Tr) && (clearTimeout(m(this, Tr)), A(this, Tr, null)), m(this, Ti).disabled = !e);
18947
+ m(this, Ti) && (!e && m(this, Ir) && (clearTimeout(m(this, Ir)), A(this, Ir, null)), m(this, Ti).disabled = !e);
18948
18948
  }
18949
18949
  shown() {
18950
18950
  m(this, or)._reportTelemetry({ action: "pdfjs.image.alt_text.image_status_label_displayed", data: { label: m(this, gc, Um) } });
@@ -18954,7 +18954,7 @@ const Jr = class Jr {
18954
18954
  (e = m(this, Ti)) == null || e.remove(), A(this, Ti, null), A(this, ss, null), (t = m(this, as)) == null || t.remove(), A(this, as, null);
18955
18955
  }
18956
18956
  };
18957
- cn = new WeakMap(), is = new WeakMap(), Ti = new WeakMap(), ss = new WeakMap(), Tr = new WeakMap(), mc = new WeakMap(), as = new WeakMap(), or = new WeakMap(), Ys = new WeakMap(), Yl = new WeakMap(), ls = new WeakMap(), gc = new WeakSet(), Um = function() {
18957
+ cn = new WeakMap(), is = new WeakMap(), Ti = new WeakMap(), ss = new WeakMap(), Ir = new WeakMap(), mc = new WeakMap(), as = new WeakMap(), or = new WeakMap(), Ys = new WeakMap(), Yl = new WeakMap(), ls = new WeakMap(), gc = new WeakSet(), Um = function() {
18958
18958
  return (m(this, cn) ? "added" : m(this, cn) === null && this.guessedText && "review") || "missing";
18959
18959
  }, yc = new WeakSet(), Zm = async function() {
18960
18960
  var i, s;
@@ -18990,14 +18990,14 @@ cn = new WeakMap(), is = new WeakMap(), Ti = new WeakMap(), ss = new WeakMap(),
18990
18990
  e.setAttribute("aria-describedby", o);
18991
18991
  const a = 100, l = m(this, or)._uiManager._signal;
18992
18992
  l.addEventListener("abort", () => {
18993
- clearTimeout(m(this, Tr)), A(this, Tr, null);
18993
+ clearTimeout(m(this, Ir)), A(this, Ir, null);
18994
18994
  }, { once: !0 }), e.addEventListener("mouseenter", () => {
18995
- A(this, Tr, setTimeout(() => {
18996
- A(this, Tr, null), m(this, ss).classList.add("show"), m(this, or)._reportTelemetry({ action: "alt_text_tooltip" });
18995
+ A(this, Ir, setTimeout(() => {
18996
+ A(this, Ir, null), m(this, ss).classList.add("show"), m(this, or)._reportTelemetry({ action: "alt_text_tooltip" });
18997
18997
  }, a));
18998
18998
  }, { signal: l }), e.addEventListener("mouseleave", () => {
18999
18999
  var u;
19000
- m(this, Tr) && (clearTimeout(m(this, Tr)), A(this, Tr, null)), (u = m(this, ss)) == null || u.classList.remove("show");
19000
+ m(this, Ir) && (clearTimeout(m(this, Ir)), A(this, Ir, null)), (u = m(this, ss)) == null || u.classList.remove("show");
19001
19001
  }, { signal: l });
19002
19002
  }
19003
19003
  t.innerText = m(this, is) ? await Jr._l10nPromise.get("pdfjs-editor-alt-text-decorative-tooltip") : m(this, cn), t.parentNode || e.append(t);
@@ -19006,7 +19006,7 @@ cn = new WeakMap(), is = new WeakMap(), Ti = new WeakMap(), ss = new WeakMap(),
19006
19006
  }, xe(Jr, "_l10nPromise", null);
19007
19007
  let _g = Jr;
19008
19008
  var Ql, Ii, Et, vc, Xl, An, Jl, fa, _h, e0, ha, Lh, t0, Qs, us, bc, wc, ni, Rh, iy, $h, O4, Fh, D4, Bh, N4, sy, $I, oy, FI, jh, P4, zh, _4, Vh, L4, ay, BI, Hh, R4, ly, jI, uy, zI, cy, VI, Uh, $4, n0, v2;
19009
- const nt = class nt {
19009
+ const rt = class rt {
19010
19010
  constructor(e) {
19011
19011
  k(this, $h);
19012
19012
  k(this, Bh);
@@ -19046,7 +19046,7 @@ const nt = class nt {
19046
19046
  xe(this, "_uiManager", null);
19047
19047
  xe(this, "_focusEventsAllowed", !0);
19048
19048
  k(this, Rh, !1);
19049
- k(this, iy, nt._zIndex++);
19049
+ k(this, iy, rt._zIndex++);
19050
19050
  this.parent = e.parent, this.id = e.id, this.width = this.height = null, this.pageIndex = e.parent.pageIndex, this.name = e.name, this.div = null, this._uiManager = e.uiManager, this.annotationElementId = null, this._willKeepAspectRatio = !1, this._initialOptions.isCentered = e.isCentered, this._structTreeParentId = null;
19051
19051
  const { rotation: t, rawDims: { pageWidth: r, pageHeight: i, pageX: s, pageY: o } } = this.parent.viewport;
19052
19052
  this.rotation = t, this.pageRotation = (360 + t - this._uiManager.viewParameters.rotation) % 360, this.pageDimensions = [r, i], this.pageTranslation = [s, o];
@@ -19054,8 +19054,8 @@ const nt = class nt {
19054
19054
  this.x = e.x / a, this.y = e.y / l, this.isAttachedToDOM = !1, this.deleted = !1;
19055
19055
  }
19056
19056
  static get _resizerKeyboardManager() {
19057
- const e = nt.prototype._resizeWithKeyboard, t = uu.TRANSLATE_SMALL, r = uu.TRANSLATE_BIG;
19058
- return qe(this, "_resizerKeyboardManager", new Dp([[["ArrowLeft", "mac+ArrowLeft"], e, { args: [-t, 0] }], [["ctrl+ArrowLeft", "mac+shift+ArrowLeft"], e, { args: [-r, 0] }], [["ArrowRight", "mac+ArrowRight"], e, { args: [t, 0] }], [["ctrl+ArrowRight", "mac+shift+ArrowRight"], e, { args: [r, 0] }], [["ArrowUp", "mac+ArrowUp"], e, { args: [0, -t] }], [["ctrl+ArrowUp", "mac+shift+ArrowUp"], e, { args: [0, -r] }], [["ArrowDown", "mac+ArrowDown"], e, { args: [0, t] }], [["ctrl+ArrowDown", "mac+shift+ArrowDown"], e, { args: [0, r] }], [["Escape", "mac+Escape"], nt.prototype._stopResizingWithKeyboard]]));
19057
+ const e = rt.prototype._resizeWithKeyboard, t = uu.TRANSLATE_SMALL, r = uu.TRANSLATE_BIG;
19058
+ return qe(this, "_resizerKeyboardManager", new Dp([[["ArrowLeft", "mac+ArrowLeft"], e, { args: [-t, 0] }], [["ctrl+ArrowLeft", "mac+shift+ArrowLeft"], e, { args: [-r, 0] }], [["ArrowRight", "mac+ArrowRight"], e, { args: [t, 0] }], [["ctrl+ArrowRight", "mac+shift+ArrowRight"], e, { args: [r, 0] }], [["ArrowUp", "mac+ArrowUp"], e, { args: [0, -t] }], [["ctrl+ArrowUp", "mac+shift+ArrowUp"], e, { args: [0, -r] }], [["ArrowDown", "mac+ArrowDown"], e, { args: [0, t] }], [["ctrl+ArrowDown", "mac+shift+ArrowDown"], e, { args: [0, r] }], [["Escape", "mac+Escape"], rt.prototype._stopResizingWithKeyboard]]));
19059
19059
  }
19060
19060
  get editorType() {
19061
19061
  return Object.getPrototypeOf(this).constructor._type;
@@ -19068,13 +19068,13 @@ const nt = class nt {
19068
19068
  t.annotationElementId = e.annotationElementId, t.deleted = !0, t._uiManager.addToAnnotationStorage(t);
19069
19069
  }
19070
19070
  static initialize(e, t, r) {
19071
- if (nt._l10nResizer || (nt._l10nResizer = Object.freeze({ topLeft: "pdfjs-editor-resizer-top-left", topMiddle: "pdfjs-editor-resizer-top-middle", topRight: "pdfjs-editor-resizer-top-right", middleRight: "pdfjs-editor-resizer-middle-right", bottomRight: "pdfjs-editor-resizer-bottom-right", bottomMiddle: "pdfjs-editor-resizer-bottom-middle", bottomLeft: "pdfjs-editor-resizer-bottom-left", middleLeft: "pdfjs-editor-resizer-middle-left" })), nt._l10nPromise || (nt._l10nPromise = new Map([...["pdfjs-editor-alt-text-button-label", "pdfjs-editor-alt-text-edit-button-label", "pdfjs-editor-alt-text-decorative-tooltip", "pdfjs-editor-new-alt-text-added-button-label", "pdfjs-editor-new-alt-text-missing-button-label", "pdfjs-editor-new-alt-text-to-review-button-label"].map((s) => [s, e.get(s)]), ...["pdfjs-editor-new-alt-text-generated-alt-text-with-disclaimer"].map((s) => [s, e.get.bind(e, s)])])), r != null && r.strings)
19071
+ if (rt._l10nResizer || (rt._l10nResizer = Object.freeze({ topLeft: "pdfjs-editor-resizer-top-left", topMiddle: "pdfjs-editor-resizer-top-middle", topRight: "pdfjs-editor-resizer-top-right", middleRight: "pdfjs-editor-resizer-middle-right", bottomRight: "pdfjs-editor-resizer-bottom-right", bottomMiddle: "pdfjs-editor-resizer-bottom-middle", bottomLeft: "pdfjs-editor-resizer-bottom-left", middleLeft: "pdfjs-editor-resizer-middle-left" })), rt._l10nPromise || (rt._l10nPromise = new Map([...["pdfjs-editor-alt-text-button-label", "pdfjs-editor-alt-text-edit-button-label", "pdfjs-editor-alt-text-decorative-tooltip", "pdfjs-editor-new-alt-text-added-button-label", "pdfjs-editor-new-alt-text-missing-button-label", "pdfjs-editor-new-alt-text-to-review-button-label"].map((s) => [s, e.get(s)]), ...["pdfjs-editor-new-alt-text-generated-alt-text-with-disclaimer"].map((s) => [s, e.get.bind(e, s)])])), r != null && r.strings)
19072
19072
  for (const s of r.strings)
19073
- nt._l10nPromise.set(s, e.get(s));
19074
- if (nt._borderLineWidth !== -1)
19073
+ rt._l10nPromise.set(s, e.get(s));
19074
+ if (rt._borderLineWidth !== -1)
19075
19075
  return;
19076
19076
  const i = getComputedStyle(document.documentElement);
19077
- nt._borderLineWidth = parseFloat(i.getPropertyValue("--outline-width")) || 0;
19077
+ rt._borderLineWidth = parseFloat(i.getPropertyValue("--outline-width")) || 0;
19078
19078
  }
19079
19079
  static updateDefaultParams(e, t) {
19080
19080
  }
@@ -19176,7 +19176,7 @@ const nt = class nt {
19176
19176
  return !!m(this, ha) && (m(this, ha)[0] !== this.x || m(this, ha)[1] !== this.y);
19177
19177
  }
19178
19178
  getBaseTranslation() {
19179
- const [e, t] = this.parentDimensions, { _borderLineWidth: r } = nt, i = r / e, s = r / t;
19179
+ const [e, t] = this.parentDimensions, { _borderLineWidth: r } = rt, i = r / e, s = r / t;
19180
19180
  switch (this.rotation) {
19181
19181
  case 90:
19182
19182
  return [-i, s];
@@ -19216,11 +19216,11 @@ const nt = class nt {
19216
19216
  }
19217
19217
  screenToPageTranslation(e, t) {
19218
19218
  var r;
19219
- return I(r = nt, Fh, D4).call(r, e, t, this.parentRotation);
19219
+ return I(r = rt, Fh, D4).call(r, e, t, this.parentRotation);
19220
19220
  }
19221
19221
  pageTranslationToScreen(e, t) {
19222
19222
  var r;
19223
- return I(r = nt, Fh, D4).call(r, e, t, 360 - this.parentRotation);
19223
+ return I(r = rt, Fh, D4).call(r, e, t, 360 - this.parentRotation);
19224
19224
  }
19225
19225
  get parentScale() {
19226
19226
  return this._uiManager.viewParameters.realScale;
@@ -19230,7 +19230,7 @@ const nt = class nt {
19230
19230
  }
19231
19231
  get parentDimensions() {
19232
19232
  const { parentScale: e, pageDimensions: [t, r] } = this, i = t * e, s = r * e;
19233
- return fr.isCSSRoundSupported ? [Math.round(i), Math.round(s)] : [i, s];
19233
+ return hr.isCSSRoundSupported ? [Math.round(i), Math.round(s)] : [i, s];
19234
19234
  }
19235
19235
  setDims(e, t) {
19236
19236
  const [r, i] = this.parentDimensions;
@@ -19261,7 +19261,7 @@ const nt = class nt {
19261
19261
  return this.div.getBoundingClientRect();
19262
19262
  }
19263
19263
  async addAltTextButton() {
19264
- m(this, Et) || (_g.initialize(nt._l10nPromise), A(this, Et, new _g(this)), m(this, Ql) && (m(this, Et).data = m(this, Ql), A(this, Ql, null)), await this.addEditToolbar());
19264
+ m(this, Et) || (_g.initialize(rt._l10nPromise), A(this, Et, new _g(this)), m(this, Ql) && (m(this, Et).data = m(this, Ql), A(this, Ql, null)), await this.addEditToolbar());
19265
19265
  }
19266
19266
  get altTextData() {
19267
19267
  var e;
@@ -19297,7 +19297,7 @@ const nt = class nt {
19297
19297
  return this.translate(r, i), Pg(this, this.div, ["pointerdown"]), this.div;
19298
19298
  }
19299
19299
  pointerdown(e) {
19300
- const { isMac: t } = fr.platform;
19300
+ const { isMac: t } = hr.platform;
19301
19301
  e.button !== 0 || e.ctrlKey && t ? e.preventDefault() : (A(this, e0, !0), this._isDraggable ? I(this, ay, BI).call(this, e) : I(this, Vh, L4).call(this, e));
19302
19302
  }
19303
19303
  moveInDOM() {
@@ -19404,7 +19404,7 @@ const nt = class nt {
19404
19404
  const o = I(this, ly, jI).bind(this), a = I(this, uy, zI).bind(this), l = this._uiManager._signal;
19405
19405
  for (const u of m(this, Ii)) {
19406
19406
  const c = u.getAttribute("data-resizer-name");
19407
- u.setAttribute("role", "spinbutton"), u.addEventListener("keydown", o, { signal: l }), u.addEventListener("blur", a, { signal: l }), u.addEventListener("focus", I(this, cy, VI).bind(this, c), { signal: l }), u.setAttribute("data-l10n-id", nt._l10nResizer[c]);
19407
+ u.setAttribute("role", "spinbutton"), u.addEventListener("keydown", o, { signal: l }), u.addEventListener("blur", a, { signal: l }), u.addEventListener("focus", I(this, cy, VI).bind(this, c), { signal: l }), u.setAttribute("data-l10n-id", rt._l10nResizer[c]);
19408
19408
  }
19409
19409
  }
19410
19410
  const r = m(this, Ii)[0];
@@ -19425,7 +19425,7 @@ const nt = class nt {
19425
19425
  let o = 0;
19426
19426
  for (const a of t) {
19427
19427
  const l = m(this, Ii)[o++].getAttribute("data-resizer-name");
19428
- a.setAttribute("data-l10n-id", nt._l10nResizer[l]);
19428
+ a.setAttribute("data-l10n-id", rt._l10nResizer[l]);
19429
19429
  }
19430
19430
  }
19431
19431
  I(this, Uh, $4).call(this, 0), A(this, Qs, !0), m(this, An).firstChild.focus({ focusVisible: !0 }), e.preventDefault(), e.stopImmediatePropagation();
@@ -19491,7 +19491,7 @@ const nt = class nt {
19491
19491
  let i = m(this, ni).get(r);
19492
19492
  i && clearTimeout(i), i = setTimeout(() => {
19493
19493
  this._reportTelemetry(e), m(this, ni).delete(r), m(this, ni).size === 0 && A(this, ni, null);
19494
- }, nt._telemetryTimeout), m(this, ni).set(r, i);
19494
+ }, rt._telemetryTimeout), m(this, ni).set(r, i);
19495
19495
  } else
19496
19496
  e.type || (e.type = this.editorType), this._uiManager._eventBus.dispatch("reporttelemetry", { source: this, details: { type: "editing", data: e } });
19497
19497
  }
@@ -19561,7 +19561,7 @@ Ql = new WeakMap(), Ii = new WeakMap(), Et = new WeakMap(), vc = new WeakMap(),
19561
19561
  }, oy = new WeakSet(), FI = function(e, t) {
19562
19562
  var p;
19563
19563
  t.preventDefault();
19564
- const { isMac: r } = fr.platform;
19564
+ const { isMac: r } = hr.platform;
19565
19565
  if (t.button !== 0 || t.ctrlKey && r)
19566
19566
  return;
19567
19567
  (p = m(this, Et)) == null || p.toggle(!1);
@@ -19588,7 +19588,7 @@ Ql = new WeakMap(), Ii = new WeakMap(), Et = new WeakMap(), vc = new WeakMap(),
19588
19588
  this.setDims(u * r, c * i), this.fixAndSetPosition();
19589
19589
  }, mustExec: !0 });
19590
19590
  }, zh = new WeakSet(), _4 = function(e, t) {
19591
- const [r, i] = this.parentDimensions, s = this.x, o = this.y, a = this.width, l = this.height, u = nt.MIN_SIZE / r, c = nt.MIN_SIZE / i, d = (Q) => Math.round(1e4 * Q) / 1e4, f = I(this, Bh, N4).call(this, this.rotation), h = (Q, W) => [f[0] * Q + f[2] * W, f[1] * Q + f[3] * W], p = I(this, Bh, N4).call(this, 360 - this.rotation);
19591
+ const [r, i] = this.parentDimensions, s = this.x, o = this.y, a = this.width, l = this.height, u = rt.MIN_SIZE / r, c = rt.MIN_SIZE / i, d = (Q) => Math.round(1e4 * Q) / 1e4, f = I(this, Bh, N4).call(this, this.rotation), h = (Q, W) => [f[0] * Q + f[2] * W, f[1] * Q + f[3] * W], p = I(this, Bh, N4).call(this, 360 - this.rotation);
19592
19592
  let g, y, v = !1, b = !1;
19593
19593
  switch (e) {
19594
19594
  case "topLeft":
@@ -19631,7 +19631,7 @@ Ql = new WeakMap(), Ii = new WeakMap(), Et = new WeakMap(), vc = new WeakMap(),
19631
19631
  const Z = M - x[0], ae = E - x[1];
19632
19632
  this.width = ne, this.height = B, this.x = Z, this.y = ae, this.setDims(r * ne, i * B), this.fixAndSetPosition();
19633
19633
  }, Vh = new WeakSet(), L4 = function(e) {
19634
- const { isMac: t } = fr.platform;
19634
+ const { isMac: t } = hr.platform;
19635
19635
  e.ctrlKey && !t || e.shiftKey || e.metaKey && t ? this.parent.toggleSelected(this) : this.parent.setSelected(this);
19636
19636
  }, ay = new WeakSet(), BI = function(e) {
19637
19637
  const t = this._uiManager.isSelected(this);
@@ -19656,7 +19656,7 @@ Ql = new WeakMap(), Ii = new WeakMap(), Et = new WeakMap(), vc = new WeakMap(),
19656
19656
  const e = this._uiManager.combinedSignal(m(this, fa));
19657
19657
  this.div.addEventListener("focusin", this.focusin.bind(this), { signal: e }), this.div.addEventListener("focusout", this.focusout.bind(this), { signal: e });
19658
19658
  }, ly = new WeakSet(), jI = function(e) {
19659
- nt._resizerKeyboardManager.exec(this, e);
19659
+ rt._resizerKeyboardManager.exec(this, e);
19660
19660
  }, uy = new WeakSet(), zI = function(e) {
19661
19661
  var t;
19662
19662
  m(this, Qs) && ((t = e.relatedTarget) == null ? void 0 : t.parentNode) !== m(this, An) && I(this, n0, v2).call(this);
@@ -19671,8 +19671,8 @@ Ql = new WeakMap(), Ii = new WeakMap(), Et = new WeakMap(), vc = new WeakMap(),
19671
19671
  const { savedX: e, savedY: t, savedWidth: r, savedHeight: i } = m(this, Jl);
19672
19672
  I(this, jh, P4).call(this, e, t, r, i), A(this, Jl, null);
19673
19673
  }
19674
- }, k(nt, Fh), xe(nt, "_l10nPromise", null), xe(nt, "_l10nResizer", null), xe(nt, "_borderLineWidth", -1), xe(nt, "_colorManager", new M4()), xe(nt, "_zIndex", 1), xe(nt, "_telemetryTimeout", 1e3);
19675
- let ot = nt;
19674
+ }, k(rt, Fh), xe(rt, "_l10nPromise", null), xe(rt, "_l10nResizer", null), xe(rt, "_borderLineWidth", -1), xe(rt, "_colorManager", new M4()), xe(rt, "_zIndex", 1), xe(rt, "_telemetryTimeout", 1e3);
19675
+ let ot = rt;
19676
19676
  class AW extends ot {
19677
19677
  constructor(e) {
19678
19678
  super(e), this.annotationElementId = e.annotationElementId, this.deleted = !0;
@@ -20271,7 +20271,7 @@ const NW = 1, PW = 2, fy = class fy {
20271
20271
  xe(fy, "MAX_PATTERN_SIZE", 3e3);
20272
20272
  let z4 = fy;
20273
20273
  function _W({ src: n, srcPos: e = 0, dest: t, width: r, height: i, nonBlackColor: s = 4294967295, inverseDecode: o = !1 }) {
20274
- const a = fr.isLittleEndian ? 4278190080 : 255, [l, u] = o ? [s, a] : [a, s], c = r >> 3, d = 7 & r, f = n.length;
20274
+ const a = hr.isLittleEndian ? 4278190080 : 255, [l, u] = o ? [s, a] : [a, s], c = r >> 3, d = 7 & r, f = n.length;
20275
20275
  t = new Uint32Array(t.buffer);
20276
20276
  let h = 0;
20277
20277
  for (let p = 0; p < i; p++) {
@@ -20376,7 +20376,7 @@ function XS(n, e) {
20376
20376
  const c = e.data, d = a.data;
20377
20377
  let f, h, p, g;
20378
20378
  if (e.kind === Bm.GRAYSCALE_1BPP) {
20379
- const y = c.byteLength, v = new Uint32Array(d.buffer, 0, d.byteLength >> 2), b = v.length, C = r + 7 >> 3, w = 4294967295, x = fr.isLittleEndian ? 4278190080 : 255;
20379
+ const y = c.byteLength, v = new Uint32Array(d.buffer, 0, d.byteLength >> 2), b = v.length, C = r + 7 >> 3, w = 4294967295, x = hr.isLittleEndian ? 4278190080 : 255;
20380
20380
  for (f = 0; f < o; f++) {
20381
20381
  for (p = f < s ? ur : i, l = 0, h = 0; h < p; h++) {
20382
20382
  const M = y - u;
@@ -21321,7 +21321,7 @@ class vo {
21321
21321
  }
21322
21322
  Kh = new WeakMap(), Gh = new WeakMap(), k(vo, Kh, null), k(vo, Gh, "");
21323
21323
  const nC = 1, rC = 2, iC = 1, z5 = 2, sC = 3, oC = 4, aC = 5, lC = 6, dm = 7, V5 = 8;
21324
- function Mr(n) {
21324
+ function kr(n) {
21325
21325
  switch (n instanceof Error || typeof n == "object" && n !== null || Wt('wrapReason: Expected "reason" to be a (possibly cloned) Error.'), n.name) {
21326
21326
  case "AbortException":
21327
21327
  return new wu(n.message);
@@ -21360,7 +21360,7 @@ class b2 {
21360
21360
  else {
21361
21361
  if (s.callback !== rC)
21362
21362
  throw new Error("Unexpected callback case");
21363
- l.reject(Mr(s.reason));
21363
+ l.reject(kr(s.reason));
21364
21364
  }
21365
21365
  return;
21366
21366
  }
@@ -21374,7 +21374,7 @@ class b2 {
21374
21374
  }).then(function(u) {
21375
21375
  r.postMessage({ sourceName: a, targetName: l, callback: nC, callbackId: s.callbackId, data: u });
21376
21376
  }, function(u) {
21377
- r.postMessage({ sourceName: a, targetName: l, callback: rC, callbackId: s.callbackId, reason: Mr(u) });
21377
+ r.postMessage({ sourceName: a, targetName: l, callback: rC, callbackId: s.callbackId, reason: kr(u) });
21378
21378
  });
21379
21379
  } else
21380
21380
  s.streamId ? I(this, hy, qI).call(this, s) : o(s.data);
@@ -21410,7 +21410,7 @@ class b2 {
21410
21410
  }, cancel: (u) => {
21411
21411
  Xt(u instanceof Error, "cancel must have a valid reason");
21412
21412
  const c = Promise.withResolvers();
21413
- return this.streamControllers[s].cancelCall = c, this.streamControllers[s].isClosed = !0, l.postMessage({ sourceName: o, targetName: a, stream: iC, streamId: s, reason: Mr(u) }), c.promise;
21413
+ return this.streamControllers[s].cancelCall = c, this.streamControllers[s].isClosed = !0, l.postMessage({ sourceName: o, targetName: a, stream: iC, streamId: s, reason: kr(u) }), c.promise;
21414
21414
  } }, r);
21415
21415
  }
21416
21416
  destroy() {
@@ -21426,23 +21426,23 @@ hy = new WeakSet(), qI = function(e) {
21426
21426
  }, close() {
21427
21427
  this.isCancelled || (this.isCancelled = !0, s.postMessage({ sourceName: r, targetName: i, stream: sC, streamId: t }), delete o.streamSinks[t]);
21428
21428
  }, error(u) {
21429
- Xt(u instanceof Error, "error must have a valid reason"), this.isCancelled || (this.isCancelled = !0, s.postMessage({ sourceName: r, targetName: i, stream: aC, streamId: t, reason: Mr(u) }));
21429
+ Xt(u instanceof Error, "error must have a valid reason"), this.isCancelled || (this.isCancelled = !0, s.postMessage({ sourceName: r, targetName: i, stream: aC, streamId: t, reason: kr(u) }));
21430
21430
  }, sinkCapability: Promise.withResolvers(), onPull: null, onCancel: null, isCancelled: !1, desiredSize: e.desiredSize, ready: null };
21431
21431
  l.sinkCapability.resolve(), l.ready = l.sinkCapability.promise, this.streamSinks[t] = l, new Promise(function(u) {
21432
21432
  u(a(e.data, l));
21433
21433
  }).then(function() {
21434
21434
  s.postMessage({ sourceName: r, targetName: i, stream: V5, streamId: t, success: !0 });
21435
21435
  }, function(u) {
21436
- s.postMessage({ sourceName: r, targetName: i, stream: V5, streamId: t, reason: Mr(u) });
21436
+ s.postMessage({ sourceName: r, targetName: i, stream: V5, streamId: t, reason: kr(u) });
21437
21437
  });
21438
21438
  }, py = new WeakSet(), KI = function(e) {
21439
21439
  const t = e.streamId, r = this.sourceName, i = e.sourceName, s = this.comObj, o = this.streamControllers[t], a = this.streamSinks[t];
21440
21440
  switch (e.stream) {
21441
21441
  case V5:
21442
- e.success ? o.startCall.resolve() : o.startCall.reject(Mr(e.reason));
21442
+ e.success ? o.startCall.resolve() : o.startCall.reject(kr(e.reason));
21443
21443
  break;
21444
21444
  case dm:
21445
- e.success ? o.pullCall.resolve() : o.pullCall.reject(Mr(e.reason));
21445
+ e.success ? o.pullCall.resolve() : o.pullCall.reject(kr(e.reason));
21446
21446
  break;
21447
21447
  case lC:
21448
21448
  if (!a) {
@@ -21455,7 +21455,7 @@ hy = new WeakSet(), qI = function(e) {
21455
21455
  }).then(function() {
21456
21456
  s.postMessage({ sourceName: r, targetName: i, stream: dm, streamId: t, success: !0 });
21457
21457
  }, function(l) {
21458
- s.postMessage({ sourceName: r, targetName: i, stream: dm, streamId: t, reason: Mr(l) });
21458
+ s.postMessage({ sourceName: r, targetName: i, stream: dm, streamId: t, reason: kr(l) });
21459
21459
  });
21460
21460
  break;
21461
21461
  case oC:
@@ -21469,22 +21469,22 @@ hy = new WeakSet(), qI = function(e) {
21469
21469
  o.isClosed = !0, o.controller.close(), I(this, Cc, Wm).call(this, o, t);
21470
21470
  break;
21471
21471
  case aC:
21472
- Xt(o, "error should have stream controller"), o.controller.error(Mr(e.reason)), I(this, Cc, Wm).call(this, o, t);
21472
+ Xt(o, "error should have stream controller"), o.controller.error(kr(e.reason)), I(this, Cc, Wm).call(this, o, t);
21473
21473
  break;
21474
21474
  case z5:
21475
- e.success ? o.cancelCall.resolve() : o.cancelCall.reject(Mr(e.reason)), I(this, Cc, Wm).call(this, o, t);
21475
+ e.success ? o.cancelCall.resolve() : o.cancelCall.reject(kr(e.reason)), I(this, Cc, Wm).call(this, o, t);
21476
21476
  break;
21477
21477
  case iC:
21478
21478
  if (!a)
21479
21479
  break;
21480
21480
  new Promise(function(l) {
21481
21481
  var u;
21482
- l((u = a.onCancel) == null ? void 0 : u.call(a, Mr(e.reason)));
21482
+ l((u = a.onCancel) == null ? void 0 : u.call(a, kr(e.reason)));
21483
21483
  }).then(function() {
21484
21484
  s.postMessage({ sourceName: r, targetName: i, stream: z5, streamId: t, success: !0 });
21485
21485
  }, function(l) {
21486
- s.postMessage({ sourceName: r, targetName: i, stream: z5, streamId: t, reason: Mr(l) });
21487
- }), a.sinkCapability.reject(Mr(e.reason)), a.isCancelled = !0, delete this.streamSinks[t];
21486
+ s.postMessage({ sourceName: r, targetName: i, stream: z5, streamId: t, reason: kr(l) });
21487
+ }), a.sinkCapability.reject(kr(e.reason)), a.isCancelled = !0, delete this.streamSinks[t];
21488
21488
  break;
21489
21489
  default:
21490
21490
  throw new Error("Unexpected stream case");
@@ -22400,7 +22400,7 @@ class nq extends tx {
22400
22400
  this._setReadableStream(i.createReadStream(this._url, { start: t, end: r - 1 }));
22401
22401
  }
22402
22402
  }
22403
- const kr = 30;
22403
+ const Ar = 30;
22404
22404
  var uA, ma, ar, t1, n1, o0, Xs, r1, i1, a0, Ec, Tc, ga, Ic, s1, xc, l0, o1, a1, u0, c0, ya, Oc, my, nx, gy, rx, l1, Z4, Dc, qm, yy, ix, vy, sx;
22405
22405
  const on = class on {
22406
22406
  constructor({ textContentSource: e, container: t, viewport: r }) {
@@ -22551,25 +22551,25 @@ ma = new WeakMap(), ar = new WeakMap(), t1 = new WeakMap(), n1 = new WeakMap(),
22551
22551
  if (r)
22552
22552
  return r;
22553
22553
  const i = I(this, Dc, qm).call(this, t), s = i.font;
22554
- i.canvas.width = i.canvas.height = kr, i.font = `30px ${e}`;
22554
+ i.canvas.width = i.canvas.height = Ar, i.font = `30px ${e}`;
22555
22555
  const o = i.measureText("");
22556
22556
  let a = o.fontBoundingBoxAscent, l = Math.abs(o.fontBoundingBoxDescent);
22557
22557
  if (a) {
22558
22558
  const d = a / (a + l);
22559
22559
  return m(this, u0).set(e, d), i.canvas.width = i.canvas.height = 0, i.font = s, d;
22560
22560
  }
22561
- i.strokeStyle = "red", i.clearRect(0, 0, kr, kr), i.strokeText("g", 0, 0);
22562
- let u = i.getImageData(0, 0, kr, kr).data;
22561
+ i.strokeStyle = "red", i.clearRect(0, 0, Ar, Ar), i.strokeText("g", 0, 0);
22562
+ let u = i.getImageData(0, 0, Ar, Ar).data;
22563
22563
  l = 0;
22564
22564
  for (let d = u.length - 1 - 3; d >= 0; d -= 4)
22565
22565
  if (u[d] > 0) {
22566
- l = Math.ceil(d / 4 / kr);
22566
+ l = Math.ceil(d / 4 / Ar);
22567
22567
  break;
22568
22568
  }
22569
- i.clearRect(0, 0, kr, kr), i.strokeText("A", 0, kr), u = i.getImageData(0, 0, kr, kr).data, a = 0;
22569
+ i.clearRect(0, 0, Ar, Ar), i.strokeText("A", 0, Ar), u = i.getImageData(0, 0, Ar, Ar).data, a = 0;
22570
22570
  for (let d = 0, f = u.length; d < f; d += 4)
22571
22571
  if (u[d] > 0) {
22572
- a = kr - Math.floor(d / 4 / kr);
22572
+ a = Ar - Math.floor(d / 4 / Ar);
22573
22573
  break;
22574
22574
  }
22575
22575
  i.canvas.width = i.canvas.height = 0, i.font = s;
@@ -23799,7 +23799,7 @@ const Dl = class Dl {
23799
23799
  Aa = new WeakMap(), S0 = new WeakMap(), k(Dl, S0, /* @__PURE__ */ new WeakSet());
23800
23800
  let Y4 = Dl;
23801
23801
  const pq = "4.6.82", mq = "9b541910f";
23802
- Xe(670);
23802
+ Je(670);
23803
23803
  function dC(n) {
23804
23804
  return Math.floor(255 * Math.max(0, Math.min(1, n))).toString(16).padStart(2, "0");
23805
23805
  }
@@ -24368,7 +24368,7 @@ class Su extends jt {
24368
24368
  this.data.hasOwnCanvas && (((t = e.previousSibling) == null ? void 0 : t.nodeName) === "CANVAS" && (e.previousSibling.hidden = !0), e.hidden = !1);
24369
24369
  }
24370
24370
  _getKeyModifier(e) {
24371
- return fr.platform.isMac ? e.metaKey : e.ctrlKey;
24371
+ return hr.platform.isMac ? e.metaKey : e.ctrlKey;
24372
24372
  }
24373
24373
  _setEventListener(e, t, r, i, s) {
24374
24374
  r.includes("mouse") ? e.addEventListener(r, (o) => {
@@ -25031,7 +25031,7 @@ class Pq extends jt {
25031
25031
  const { container: t, data: r } = this;
25032
25032
  let i;
25033
25033
  r.hasAppearance || r.fillAlpha === 0 ? i = document.createElement("div") : (i = document.createElement("img"), i.src = `${this.imageResourcesPath}annotation-${/paperclip/i.test(r.name) ? "paperclip" : "pushpin"}.svg`, r.fillAlpha && r.fillAlpha < 1 && (i.style = `filter: opacity(${Math.round(100 * r.fillAlpha)}%);`)), i.addEventListener("dblclick", I(this, A1, t6).bind(this)), A(this, k1, i);
25034
- const { isMac: s } = fr.platform;
25034
+ const { isMac: s } = hr.platform;
25035
25035
  return t.addEventListener("keydown", (o) => {
25036
25036
  o.key === "Enter" && (s ? o.metaKey : o.ctrlKey) && I(this, A1, t6).call(this);
25037
25037
  }), !r.popupRef && this.hasPopupData ? this._createPopup() : i.classList.add("popupTriggerArea"), t.append(i), t;
@@ -25122,7 +25122,7 @@ E1 = new WeakMap(), E0 = new WeakMap(), T0 = new WeakMap(), Py = new WeakSet(),
25122
25122
  m(this, E0).clear();
25123
25123
  };
25124
25124
  const hm = /\r\n?|\n/g;
25125
- var Di, Ir, I1, I0, xr, qc, _y, Mx, Ly, kx, Ry, Ax, Kc, tg, Gc, ng, Yc, rg, $y, Ex, x1, i6, Fy, Tx;
25125
+ var Di, xr, I1, I0, Or, qc, _y, Mx, Ly, kx, Ry, Ax, Kc, tg, Gc, ng, Yc, rg, $y, Ex, x1, i6, Fy, Tx;
25126
25126
  const gt = class gt extends ot {
25127
25127
  constructor(t) {
25128
25128
  super({ ...t, name: "freeTextEditor" });
@@ -25134,12 +25134,12 @@ const gt = class gt extends ot {
25134
25134
  k(this, $y);
25135
25135
  k(this, Fy);
25136
25136
  k(this, Di, void 0);
25137
- k(this, Ir, "");
25137
+ k(this, xr, "");
25138
25138
  k(this, I1, `${this.id}-editor`);
25139
25139
  k(this, I0, null);
25140
- k(this, xr, void 0);
25140
+ k(this, Or, void 0);
25141
25141
  k(this, qc, null);
25142
- A(this, Di, t.color || gt._defaultColor || ot._defaultLineColor), A(this, xr, t.fontSize || gt._defaultFontSize);
25142
+ A(this, Di, t.color || gt._defaultColor || ot._defaultLineColor), A(this, Or, t.fontSize || gt._defaultFontSize);
25143
25143
  }
25144
25144
  static get _keyboardManager() {
25145
25145
  const t = gt.prototype, r = (o) => o.isEmpty(), i = uu.TRANSLATE_SMALL, s = uu.TRANSLATE_BIG;
@@ -25172,14 +25172,14 @@ const gt = class gt extends ot {
25172
25172
  return [[Oe.FREETEXT_SIZE, gt._defaultFontSize], [Oe.FREETEXT_COLOR, gt._defaultColor || ot._defaultLineColor]];
25173
25173
  }
25174
25174
  get propertiesToUpdate() {
25175
- return [[Oe.FREETEXT_SIZE, m(this, xr)], [Oe.FREETEXT_COLOR, m(this, Di)]];
25175
+ return [[Oe.FREETEXT_SIZE, m(this, Or)], [Oe.FREETEXT_COLOR, m(this, Di)]];
25176
25176
  }
25177
25177
  _translateEmpty(t, r) {
25178
25178
  this._uiManager.translateSelectedEditors(t, r, !0);
25179
25179
  }
25180
25180
  getInitialTranslation() {
25181
25181
  const t = this.parentScale;
25182
- return [-gt._internalPadding * t, -(gt._internalPadding + m(this, xr)) * t];
25182
+ return [-gt._internalPadding * t, -(gt._internalPadding + m(this, Or)) * t];
25183
25183
  }
25184
25184
  rebuild() {
25185
25185
  this.parent && (super.rebuild(), this.div !== null && (this.isAttachedToDOM || this.parent.add(this)));
@@ -25212,11 +25212,11 @@ const gt = class gt extends ot {
25212
25212
  if (!this.isInEditMode())
25213
25213
  return;
25214
25214
  super.commit(), this.disableEditMode();
25215
- const t = m(this, Ir), r = A(this, Ir, I(this, Ry, Ax).call(this).trimEnd());
25215
+ const t = m(this, xr), r = A(this, xr, I(this, Ry, Ax).call(this).trimEnd());
25216
25216
  if (t === r)
25217
25217
  return;
25218
25218
  const i = (s) => {
25219
- A(this, Ir, s), s ? (I(this, Yc, rg).call(this), this._uiManager.rebuild(this), I(this, Kc, tg).call(this)) : this.remove();
25219
+ A(this, xr, s), s ? (I(this, Yc, rg).call(this), this._uiManager.rebuild(this), I(this, Kc, tg).call(this)) : this.remove();
25220
25220
  };
25221
25221
  this.addCommands({ cmd: () => {
25222
25222
  i(r);
@@ -25263,7 +25263,7 @@ const gt = class gt extends ot {
25263
25263
  return (o = this.editorDiv) == null ? void 0 : o.setAttribute("default-content", s);
25264
25264
  }), this.editorDiv.contentEditable = !0;
25265
25265
  const { style: i } = this.editorDiv;
25266
- if (i.fontSize = `calc(${m(this, xr)}px * var(--scale-factor))`, i.color = m(this, Di), this.div.append(this.editorDiv), this.overlayDiv = document.createElement("div"), this.overlayDiv.classList.add("overlay", "enabled"), this.div.append(this.overlayDiv), Pg(this, this.div, ["dblclick", "keydown"]), this.width) {
25266
+ if (i.fontSize = `calc(${m(this, Or)}px * var(--scale-factor))`, i.color = m(this, Di), this.div.append(this.editorDiv), this.overlayDiv = document.createElement("div"), this.overlayDiv.classList.add("overlay", "enabled"), this.div.append(this.overlayDiv), Pg(this, this.div, ["dblclick", "keydown"]), this.width) {
25267
25267
  const [s, o] = this.parentDimensions;
25268
25268
  if (this.annotationElementId) {
25269
25269
  const { position: a } = m(this, qc);
@@ -25326,7 +25326,7 @@ const gt = class gt extends ot {
25326
25326
  for (const C of this.editorDiv.childNodes)
25327
25327
  b++ === u && (v = d), v.push(I(y = gt, Gc, ng).call(y, C));
25328
25328
  }
25329
- A(this, Ir, `${c.join(`
25329
+ A(this, xr, `${c.join(`
25330
25330
  `)}${s}${d.join(`
25331
25331
  `)}`), I(this, Yc, rg).call(this);
25332
25332
  const f = new Range();
@@ -25356,14 +25356,14 @@ const gt = class gt extends ot {
25356
25356
  `), position: p, pageIndex: g - 1, rect: c.slice(0), rotation: d, id: f, deleted: !1 };
25357
25357
  }
25358
25358
  const o = super.deserialize(t, r, i);
25359
- return A(o, xr, t.fontSize), A(o, Di, Me.makeHexColor(...t.color)), A(o, Ir, I(a = gt, x1, i6).call(a, t.value)), o.annotationElementId = t.id || null, A(o, qc, s), o;
25359
+ return A(o, Or, t.fontSize), A(o, Di, Me.makeHexColor(...t.color)), A(o, xr, I(a = gt, x1, i6).call(a, t.value)), o.annotationElementId = t.id || null, A(o, qc, s), o;
25360
25360
  }
25361
25361
  serialize(t = !1) {
25362
25362
  if (this.isEmpty())
25363
25363
  return null;
25364
25364
  if (this.deleted)
25365
25365
  return { pageIndex: this.pageIndex, id: this.annotationElementId, deleted: !0 };
25366
- const r = gt._internalPadding * this.parentScale, i = this.getRect(r, r), s = ot._colorManager.convert(this.isAttachedToDOM ? getComputedStyle(this.editorDiv).color : m(this, Di)), o = { annotationType: We.FREETEXT, color: s, fontSize: m(this, xr), value: I(this, $y, Ex).call(this), pageIndex: this.pageIndex, rect: i, rotation: this.rotation, structTreeParentId: this._structTreeParentId };
25366
+ const r = gt._internalPadding * this.parentScale, i = this.getRect(r, r), s = ot._colorManager.convert(this.isAttachedToDOM ? getComputedStyle(this.editorDiv).color : m(this, Di)), o = { annotationType: We.FREETEXT, color: s, fontSize: m(this, Or), value: I(this, $y, Ex).call(this), pageIndex: this.pageIndex, rect: i, rotation: this.rotation, structTreeParentId: this._structTreeParentId };
25367
25367
  return t ? o : this.annotationElementId && !I(this, Fy, Tx).call(this, o) ? null : (o.id = this.annotationElementId, o);
25368
25368
  }
25369
25369
  renderAnnotationElement(t) {
@@ -25371,23 +25371,23 @@ const gt = class gt extends ot {
25371
25371
  if (this.deleted)
25372
25372
  return r;
25373
25373
  const { style: i } = r;
25374
- i.fontSize = `calc(${m(this, xr)}px * var(--scale-factor))`, i.color = m(this, Di), r.replaceChildren();
25375
- for (const o of m(this, Ir).split(`
25374
+ i.fontSize = `calc(${m(this, Or)}px * var(--scale-factor))`, i.color = m(this, Di), r.replaceChildren();
25375
+ for (const o of m(this, xr).split(`
25376
25376
  `)) {
25377
25377
  const a = document.createElement("div");
25378
25378
  a.append(o ? document.createTextNode(o) : document.createElement("br")), r.append(a);
25379
25379
  }
25380
25380
  const s = gt._internalPadding * this.parentScale;
25381
- return t.updateEdited({ rect: this.getRect(s, s), popupContent: m(this, Ir) }), r;
25381
+ return t.updateEdited({ rect: this.getRect(s, s), popupContent: m(this, xr) }), r;
25382
25382
  }
25383
25383
  resetAnnotationElement(t) {
25384
25384
  super.resetAnnotationElement(t), t.resetEdited();
25385
25385
  }
25386
25386
  };
25387
- Di = new WeakMap(), Ir = new WeakMap(), I1 = new WeakMap(), I0 = new WeakMap(), xr = new WeakMap(), qc = new WeakMap(), _y = new WeakSet(), Mx = function(t) {
25387
+ Di = new WeakMap(), xr = new WeakMap(), I1 = new WeakMap(), I0 = new WeakMap(), Or = new WeakMap(), qc = new WeakMap(), _y = new WeakSet(), Mx = function(t) {
25388
25388
  const r = (s) => {
25389
- this.editorDiv.style.fontSize = `calc(${s}px * var(--scale-factor))`, this.translate(0, -(s - m(this, xr)) * this.parentScale), A(this, xr, s), I(this, Kc, tg).call(this);
25390
- }, i = m(this, xr);
25389
+ this.editorDiv.style.fontSize = `calc(${s}px * var(--scale-factor))`, this.translate(0, -(s - m(this, Or)) * this.parentScale), A(this, Or, s), I(this, Kc, tg).call(this);
25390
+ }, i = m(this, Or);
25391
25391
  this.addCommands({ cmd: r.bind(this, t), undo: r.bind(this, i), post: this._uiManager.updateUI.bind(this._uiManager, this), mustExec: !0, type: Oe.FREETEXT_SIZE, overwriteIfSameType: !0, keepUndo: !0 });
25392
25392
  }, Ly = new WeakSet(), kx = function(t) {
25393
25393
  const r = (s) => {
@@ -25415,14 +25415,14 @@ Di = new WeakMap(), Ir = new WeakMap(), I1 = new WeakMap(), I0 = new WeakMap(),
25415
25415
  }, Gc = new WeakSet(), ng = function(t) {
25416
25416
  return (t.nodeType === Node.TEXT_NODE ? t.nodeValue : t.innerText).replaceAll(hm, "");
25417
25417
  }, Yc = new WeakSet(), rg = function() {
25418
- if (this.editorDiv.replaceChildren(), m(this, Ir))
25419
- for (const t of m(this, Ir).split(`
25418
+ if (this.editorDiv.replaceChildren(), m(this, xr))
25419
+ for (const t of m(this, xr).split(`
25420
25420
  `)) {
25421
25421
  const r = document.createElement("div");
25422
25422
  r.append(t ? document.createTextNode(t) : document.createElement("br")), this.editorDiv.append(r);
25423
25423
  }
25424
25424
  }, $y = new WeakSet(), Ex = function() {
25425
- return m(this, Ir).replaceAll(" ", " ");
25425
+ return m(this, xr).replaceAll(" ", " ");
25426
25426
  }, x1 = new WeakSet(), i6 = function(t) {
25427
25427
  return t.replaceAll(" ", " ");
25428
25428
  }, Fy = new WeakSet(), Tx = function(t) {
@@ -25679,7 +25679,7 @@ hs = new WeakMap(), ao = new WeakMap(), Jc = new WeakMap(), ed = new WeakMap(),
25679
25679
  return [(m(this, x0) + (e[0] - t[0]) / 2 - r) / s, (m(this, O0) + (e[1] - t[1]) / 2 - i) / o, (m(this, x0) + (t[0] - e[0]) / 2 - r) / s, (m(this, O0) + (t[1] - e[1]) / 2 - i) / o];
25680
25680
  }, k(Us, L1, 8), k(Us, Vy, 2), k(Us, Hy, m(Us, L1) + m(Us, Vy));
25681
25681
  let Lg = Us;
25682
- var rd, D0, lo, $1, Or, F1, Rt, N0, k2, P0, A2, Uy, Nx;
25682
+ var rd, D0, lo, $1, Dr, F1, Rt, N0, k2, P0, A2, Uy, Nx;
25683
25683
  class a6 extends Dx {
25684
25684
  constructor(t, r, i, s, o, a) {
25685
25685
  super();
@@ -25690,10 +25690,10 @@ class a6 extends Dx {
25690
25690
  k(this, D0, null);
25691
25691
  k(this, lo, void 0);
25692
25692
  k(this, $1, void 0);
25693
- k(this, Or, void 0);
25693
+ k(this, Dr, void 0);
25694
25694
  k(this, F1, void 0);
25695
25695
  k(this, Rt, void 0);
25696
- A(this, Rt, t), A(this, Or, r), A(this, rd, i), A(this, F1, s), A(this, lo, o), A(this, $1, a), I(this, Uy, Nx).call(this, a);
25696
+ A(this, Rt, t), A(this, Dr, r), A(this, rd, i), A(this, F1, s), A(this, lo, o), A(this, $1, a), I(this, Uy, Nx).call(this, a);
25697
25697
  const { x: l, y: u, width: c, height: d } = m(this, D0);
25698
25698
  for (let f = 0, h = t.length; f < h; f += 2)
25699
25699
  t[f] = (t[f] - l) / c, t[f + 1] = (t[f + 1] - u) / d;
@@ -25711,16 +25711,16 @@ class a6 extends Dx {
25711
25711
  let u, c;
25712
25712
  switch (o) {
25713
25713
  case 0:
25714
- u = I(this, N0, k2).call(this, m(this, Rt), t, s, a, -l), c = I(this, N0, k2).call(this, m(this, Or), t, s, a, -l);
25714
+ u = I(this, N0, k2).call(this, m(this, Rt), t, s, a, -l), c = I(this, N0, k2).call(this, m(this, Dr), t, s, a, -l);
25715
25715
  break;
25716
25716
  case 90:
25717
- u = I(this, P0, A2).call(this, m(this, Rt), t, r, a, l), c = I(this, P0, A2).call(this, m(this, Or), t, r, a, l);
25717
+ u = I(this, P0, A2).call(this, m(this, Rt), t, r, a, l), c = I(this, P0, A2).call(this, m(this, Dr), t, r, a, l);
25718
25718
  break;
25719
25719
  case 180:
25720
- u = I(this, N0, k2).call(this, m(this, Rt), i, r, -a, l), c = I(this, N0, k2).call(this, m(this, Or), i, r, -a, l);
25720
+ u = I(this, N0, k2).call(this, m(this, Rt), i, r, -a, l), c = I(this, N0, k2).call(this, m(this, Dr), i, r, -a, l);
25721
25721
  break;
25722
25722
  case 270:
25723
- u = I(this, P0, A2).call(this, m(this, Rt), i, s, -a, -l), c = I(this, P0, A2).call(this, m(this, Or), i, s, -a, -l);
25723
+ u = I(this, P0, A2).call(this, m(this, Rt), i, s, -a, -l), c = I(this, P0, A2).call(this, m(this, Dr), i, s, -a, -l);
25724
25724
  }
25725
25725
  return { outline: Array.from(u), points: [Array.from(c)] };
25726
25726
  }
@@ -25728,13 +25728,13 @@ class a6 extends Dx {
25728
25728
  return m(this, D0);
25729
25729
  }
25730
25730
  getNewOutline(t, r) {
25731
- const { x: i, y: s, width: o, height: a } = m(this, D0), [l, u, c, d] = m(this, rd), f = o * c, h = a * d, p = i * c + l, g = s * d + u, y = new Lg({ x: m(this, Or)[0] * f + p, y: m(this, Or)[1] * h + g }, m(this, rd), m(this, F1), t, m(this, $1), r ?? m(this, lo));
25732
- for (let v = 2; v < m(this, Or).length; v += 2)
25733
- y.add({ x: m(this, Or)[v] * f + p, y: m(this, Or)[v + 1] * h + g });
25731
+ const { x: i, y: s, width: o, height: a } = m(this, D0), [l, u, c, d] = m(this, rd), f = o * c, h = a * d, p = i * c + l, g = s * d + u, y = new Lg({ x: m(this, Dr)[0] * f + p, y: m(this, Dr)[1] * h + g }, m(this, rd), m(this, F1), t, m(this, $1), r ?? m(this, lo));
25732
+ for (let v = 2; v < m(this, Dr).length; v += 2)
25733
+ y.add({ x: m(this, Dr)[v] * f + p, y: m(this, Dr)[v + 1] * h + g });
25734
25734
  return y.getOutlines();
25735
25735
  }
25736
25736
  }
25737
- rd = new WeakMap(), D0 = new WeakMap(), lo = new WeakMap(), $1 = new WeakMap(), Or = new WeakMap(), F1 = new WeakMap(), Rt = new WeakMap(), N0 = new WeakSet(), k2 = function(t, r, i, s, o) {
25737
+ rd = new WeakMap(), D0 = new WeakMap(), lo = new WeakMap(), $1 = new WeakMap(), Dr = new WeakMap(), F1 = new WeakMap(), Rt = new WeakMap(), N0 = new WeakSet(), k2 = function(t, r, i, s, o) {
25738
25738
  const a = new Float64Array(t.length);
25739
25739
  for (let l = 0, u = t.length; l < u; l += 2)
25740
25740
  a[l] = r + t[l] * s, a[l + 1] = i + t[l + 1] * o;
@@ -25875,7 +25875,7 @@ B1 = new WeakMap(), j1 = new WeakMap(), Pi = new WeakMap(), _0 = new WeakMap(),
25875
25875
  return m(this, Gt) && !m(this, Gt).classList.contains("hidden");
25876
25876
  };
25877
25877
  let Rg = Zs;
25878
- var ad, W1, Ia, L0, ld, ri, q1, K1, R0, Li, Zn, Dr, ud, $0, Yt, cd, gs, G1, Y1, c6, Q1, d6, qy, Lx, Ky, Rx, Gy, $x, X1, f6, F0, E2, xa, Fu, Yy, Fx, dd, sg, B0, T2, Qy, Bx, Xy, jx, Jy, zx, ev, Vx;
25878
+ var ad, W1, Ia, L0, ld, ri, q1, K1, R0, Li, Zn, Nr, ud, $0, Yt, cd, gs, G1, Y1, c6, Q1, d6, qy, Lx, Ky, Rx, Gy, $x, X1, f6, F0, E2, xa, Fu, Yy, Fx, dd, sg, B0, T2, Qy, Bx, Xy, jx, Jy, zx, ev, Vx;
25879
25879
  const Ye = class Ye extends ot {
25880
25880
  constructor(t) {
25881
25881
  super({ ...t, name: "highlightEditor" });
@@ -25902,21 +25902,21 @@ const Ye = class Ye extends ot {
25902
25902
  k(this, R0, null);
25903
25903
  k(this, Li, null);
25904
25904
  k(this, Zn, null);
25905
- k(this, Dr, !1);
25905
+ k(this, Nr, !1);
25906
25906
  k(this, ud, null);
25907
25907
  k(this, $0, void 0);
25908
25908
  k(this, Yt, null);
25909
25909
  k(this, cd, "");
25910
25910
  k(this, gs, void 0);
25911
25911
  k(this, G1, "");
25912
- this.color = t.color || Ye._defaultColor, A(this, gs, t.thickness || Ye._defaultThickness), A(this, $0, t.opacity || Ye._defaultOpacity), A(this, Ia, t.boxes || null), A(this, G1, t.methodOfCreation || ""), A(this, cd, t.text || ""), this._isDraggable = !1, t.highlightId > -1 ? (A(this, Dr, !0), I(this, Q1, d6).call(this, t), I(this, F0, E2).call(this)) : (A(this, ad, t.anchorNode), A(this, W1, t.anchorOffset), A(this, q1, t.focusNode), A(this, K1, t.focusOffset), I(this, Y1, c6).call(this), I(this, F0, E2).call(this), this.rotate(this.rotation));
25912
+ this.color = t.color || Ye._defaultColor, A(this, gs, t.thickness || Ye._defaultThickness), A(this, $0, t.opacity || Ye._defaultOpacity), A(this, Ia, t.boxes || null), A(this, G1, t.methodOfCreation || ""), A(this, cd, t.text || ""), this._isDraggable = !1, t.highlightId > -1 ? (A(this, Nr, !0), I(this, Q1, d6).call(this, t), I(this, F0, E2).call(this)) : (A(this, ad, t.anchorNode), A(this, W1, t.anchorOffset), A(this, q1, t.focusNode), A(this, K1, t.focusOffset), I(this, Y1, c6).call(this), I(this, F0, E2).call(this), this.rotate(this.rotation));
25913
25913
  }
25914
25914
  static get _keyboardManager() {
25915
25915
  const t = Ye.prototype;
25916
25916
  return qe(this, "_keyboardManager", new Dp([[["ArrowLeft", "mac+ArrowLeft"], t._moveCaret, { args: [0] }], [["ArrowRight", "mac+ArrowRight"], t._moveCaret, { args: [1] }], [["ArrowUp", "mac+ArrowUp"], t._moveCaret, { args: [2] }], [["ArrowDown", "mac+ArrowDown"], t._moveCaret, { args: [3] }]]));
25917
25917
  }
25918
25918
  get telemetryInitialData() {
25919
- return { action: "added", type: m(this, Dr) ? "free_highlight" : "highlight", color: this._uiManager.highlightColorNames.get(this.color), thickness: m(this, gs), methodOfCreation: m(this, G1) };
25919
+ return { action: "added", type: m(this, Nr) ? "free_highlight" : "highlight", color: this._uiManager.highlightColorNames.get(this.color), thickness: m(this, gs), methodOfCreation: m(this, G1) };
25920
25920
  }
25921
25921
  get telemetryFinalData() {
25922
25922
  return { type: "highlight", color: this._uiManager.highlightColorNames.get(this.color) };
@@ -25955,7 +25955,7 @@ const Ye = class Ye extends ot {
25955
25955
  return [[Oe.HIGHLIGHT_DEFAULT_COLOR, Ye._defaultColor], [Oe.HIGHLIGHT_THICKNESS, Ye._defaultThickness]];
25956
25956
  }
25957
25957
  get propertiesToUpdate() {
25958
- return [[Oe.HIGHLIGHT_COLOR, this.color || Ye._defaultColor], [Oe.HIGHLIGHT_THICKNESS, m(this, gs) || Ye._defaultThickness], [Oe.HIGHLIGHT_FREE, m(this, Dr)]];
25958
+ return [[Oe.HIGHLIGHT_COLOR, this.color || Ye._defaultColor], [Oe.HIGHLIGHT_THICKNESS, m(this, gs) || Ye._defaultThickness], [Oe.HIGHLIGHT_FREE, m(this, Nr)]];
25959
25959
  }
25960
25960
  async addEditToolbar() {
25961
25961
  const t = await super.addEditToolbar();
@@ -25994,13 +25994,13 @@ const Ye = class Ye extends ot {
25994
25994
  var s, o, a;
25995
25995
  const { drawLayer: r } = this.parent;
25996
25996
  let i;
25997
- m(this, Dr) ? (t = (t - this.rotation + 360) % 360, i = I(s = Ye, xa, Fu).call(s, m(this, Li).box, t)) : i = I(o = Ye, xa, Fu).call(o, this, t), r.rotate(m(this, Zn), t), r.rotate(m(this, Yt), t), r.updateBox(m(this, Zn), i), r.updateBox(m(this, Yt), I(a = Ye, xa, Fu).call(a, m(this, ri).box, t));
25997
+ m(this, Nr) ? (t = (t - this.rotation + 360) % 360, i = I(s = Ye, xa, Fu).call(s, m(this, Li).box, t)) : i = I(o = Ye, xa, Fu).call(o, this, t), r.rotate(m(this, Zn), t), r.rotate(m(this, Yt), t), r.updateBox(m(this, Zn), i), r.updateBox(m(this, Yt), I(a = Ye, xa, Fu).call(a, m(this, ri).box, t));
25998
25998
  }
25999
25999
  render() {
26000
26000
  if (this.div)
26001
26001
  return this.div;
26002
26002
  const t = super.render();
26003
- m(this, cd) && (t.setAttribute("aria-label", m(this, cd)), t.setAttribute("role", "mark")), m(this, Dr) ? t.classList.add("free") : this.div.addEventListener("keydown", I(this, Yy, Fx).bind(this), { signal: this._uiManager._signal });
26003
+ m(this, cd) && (t.setAttribute("aria-label", m(this, cd)), t.setAttribute("role", "mark")), m(this, Nr) ? t.classList.add("free") : this.div.addEventListener("keydown", I(this, Yy, Fx).bind(this), { signal: this._uiManager._signal });
26004
26004
  const r = A(this, R0, document.createElement("div"));
26005
26005
  t.append(r), r.setAttribute("aria-hidden", "true"), r.className = "internal", r.style.clipPath = m(this, L0);
26006
26006
  const [i, s] = this.parentDimensions;
@@ -26029,10 +26029,10 @@ const Ye = class Ye extends ot {
26029
26029
  }
26030
26030
  unselect() {
26031
26031
  var t;
26032
- super.unselect(), m(this, Yt) && ((t = this.parent) == null || t.drawLayer.removeClass(m(this, Yt), "selected"), m(this, Dr) || I(this, dd, sg).call(this, !1));
26032
+ super.unselect(), m(this, Yt) && ((t = this.parent) == null || t.drawLayer.removeClass(m(this, Yt), "selected"), m(this, Nr) || I(this, dd, sg).call(this, !1));
26033
26033
  }
26034
26034
  get _mustFixPosition() {
26035
- return !m(this, Dr);
26035
+ return !m(this, Nr);
26036
26036
  }
26037
26037
  show(t = this._isVisible) {
26038
26038
  super.show(t), this.parent && (this.parent.drawLayer.show(m(this, Zn), t), this.parent.drawLayer.show(m(this, Yt), t));
@@ -26066,7 +26066,7 @@ const Ye = class Ye extends ot {
26066
26066
  return !1;
26067
26067
  }
26068
26068
  };
26069
- ad = new WeakMap(), W1 = new WeakMap(), Ia = new WeakMap(), L0 = new WeakMap(), ld = new WeakMap(), ri = new WeakMap(), q1 = new WeakMap(), K1 = new WeakMap(), R0 = new WeakMap(), Li = new WeakMap(), Zn = new WeakMap(), Dr = new WeakMap(), ud = new WeakMap(), $0 = new WeakMap(), Yt = new WeakMap(), cd = new WeakMap(), gs = new WeakMap(), G1 = new WeakMap(), Y1 = new WeakSet(), c6 = function() {
26069
+ ad = new WeakMap(), W1 = new WeakMap(), Ia = new WeakMap(), L0 = new WeakMap(), ld = new WeakMap(), ri = new WeakMap(), q1 = new WeakMap(), K1 = new WeakMap(), R0 = new WeakMap(), Li = new WeakMap(), Zn = new WeakMap(), Nr = new WeakMap(), ud = new WeakMap(), $0 = new WeakMap(), Yt = new WeakMap(), cd = new WeakMap(), gs = new WeakMap(), G1 = new WeakMap(), Y1 = new WeakSet(), c6 = function() {
26070
26070
  const t = new hC(m(this, Ia), 1e-3);
26071
26071
  A(this, Li, t.getOutlines()), { x: this.x, y: this.y, width: this.width, height: this.height } = m(this, Li).box;
26072
26072
  const r = new hC(m(this, Ia), 25e-4, 1e-3, this._uiManager.direction === "ltr");
@@ -26114,7 +26114,7 @@ ad = new WeakMap(), W1 = new WeakMap(), Ia = new WeakMap(), L0 = new WeakMap(),
26114
26114
  };
26115
26115
  this.addCommands({ cmd: i.bind(this, t), undo: i.bind(this, r), post: this._uiManager.updateUI.bind(this._uiManager, this), mustExec: !0, type: Oe.INK_THICKNESS, overwriteIfSameType: !0, keepUndo: !0 }), this._reportTelemetry({ action: "thickness_changed", thickness: t }, !0);
26116
26116
  }, Gy = new WeakSet(), $x = function(t) {
26117
- if (!m(this, Dr))
26117
+ if (!m(this, Nr))
26118
26118
  return;
26119
26119
  I(this, Q1, d6).call(this, { highlightOutlines: m(this, Li).getNewOutline(t / 2) }), this.fixAndSetPosition();
26120
26120
  const [r, i] = this.parentDimensions;
@@ -26141,9 +26141,9 @@ ad = new WeakMap(), W1 = new WeakMap(), Ia = new WeakMap(), L0 = new WeakMap(),
26141
26141
  const r = window.getSelection();
26142
26142
  t ? r.setPosition(m(this, ad), m(this, W1)) : r.setPosition(m(this, q1), m(this, K1));
26143
26143
  }, B0 = new WeakSet(), T2 = function() {
26144
- return m(this, Dr) ? this.rotation : 0;
26144
+ return m(this, Nr) ? this.rotation : 0;
26145
26145
  }, Qy = new WeakSet(), Bx = function() {
26146
- if (m(this, Dr))
26146
+ if (m(this, Nr))
26147
26147
  return null;
26148
26148
  const [t, r] = this.pageDimensions, [i, s] = this.pageTranslation, o = m(this, Ia), a = new Float32Array(8 * o.length);
26149
26149
  let l = 0;
@@ -26841,7 +26841,7 @@ $t = new WeakMap(), En = new WeakMap(), Na = new WeakMap(), po = new WeakMap(),
26841
26841
  }, { once: !0 }));
26842
26842
  }, xe(nf, "_type", "stamp"), xe(nf, "_editorType", We.STAMP);
26843
26843
  let C6 = nf;
26844
- var Y0, wd, ws, _a, go, Nr, La, Sd, Cd, Wn, yo, Ae, Ra, gv, iO, dp, T6, fp, I6, hp, x6, Md, fg;
26844
+ var Y0, wd, ws, _a, go, Pr, La, Sd, Cd, Wn, yo, Ae, Ra, gv, iO, dp, T6, fp, I6, hp, x6, Md, fg;
26845
26845
  const Ci = class Ci {
26846
26846
  constructor({ uiManager: e, pageIndex: t, div: r, accessibilityManager: i, annotationLayer: s, drawLayer: o, textLayer: a, viewport: l, l10n: u }) {
26847
26847
  k(this, gv);
@@ -26854,7 +26854,7 @@ const Ci = class Ci {
26854
26854
  k(this, ws, null);
26855
26855
  k(this, _a, null);
26856
26856
  k(this, go, null);
26857
- k(this, Nr, /* @__PURE__ */ new Map());
26857
+ k(this, Pr, /* @__PURE__ */ new Map());
26858
26858
  k(this, La, !1);
26859
26859
  k(this, Sd, !1);
26860
26860
  k(this, Cd, !1);
@@ -26870,7 +26870,7 @@ const Ci = class Ci {
26870
26870
  e.registerEditorTypes(c), A(this, Ae, e), this.pageIndex = t, this.div = r, A(this, Y0, i), A(this, ws, s), this.viewport = l, A(this, Wn, a), this.drawLayer = o, m(this, Ae).addLayer(this);
26871
26871
  }
26872
26872
  get isEmpty() {
26873
- return m(this, Nr).size === 0;
26873
+ return m(this, Pr).size === 0;
26874
26874
  }
26875
26875
  get isInvisible() {
26876
26876
  return this.isEmpty && m(this, Ae).getMode() === We.NONE;
@@ -26905,7 +26905,7 @@ const Ci = class Ci {
26905
26905
  addInkEditorIfNeeded(e) {
26906
26906
  if (m(this, Ae).getMode() === We.INK) {
26907
26907
  if (!e) {
26908
- for (const t of m(this, Nr).values())
26908
+ for (const t of m(this, Pr).values())
26909
26909
  if (t.isEmpty()) {
26910
26910
  t.setInBackground();
26911
26911
  return;
@@ -26933,7 +26933,7 @@ const Ci = class Ci {
26933
26933
  enable() {
26934
26934
  this.div.tabIndex = 0, this.togglePointerEvents(!0);
26935
26935
  const e = /* @__PURE__ */ new Set();
26936
- for (const r of m(this, Nr).values())
26936
+ for (const r of m(this, Pr).values())
26937
26937
  r.enableEditing(), r.show(!0), r.annotationElementId && (m(this, Ae).removeChangedExistingAnnotation(r), e.add(r.annotationElementId));
26938
26938
  if (!m(this, ws))
26939
26939
  return;
@@ -26949,7 +26949,7 @@ const Ci = class Ci {
26949
26949
  var i;
26950
26950
  A(this, Cd, !0), this.div.tabIndex = -1, this.togglePointerEvents(!1);
26951
26951
  const e = /* @__PURE__ */ new Map(), t = /* @__PURE__ */ new Map();
26952
- for (const s of m(this, Nr).values())
26952
+ for (const s of m(this, Pr).values())
26953
26953
  s.disableEditing(), s.annotationElementId && (s.serialize() === null ? (t.set(s.annotationElementId, s), (i = this.getEditableAnnotation(s.annotationElementId)) == null || i.show(), s.remove()) : e.set(s.annotationElementId, s));
26954
26954
  if (m(this, ws)) {
26955
26955
  const s = m(this, ws).getEditableAnnotations();
@@ -26998,13 +26998,13 @@ const Ci = class Ci {
26998
26998
  (e = m(this, _a)) == null || e.abort(), A(this, _a, null);
26999
26999
  }
27000
27000
  attach(e) {
27001
- m(this, Nr).set(e.id, e);
27001
+ m(this, Pr).set(e.id, e);
27002
27002
  const { annotationElementId: t } = e;
27003
27003
  t && m(this, Ae).isDeletedAnnotationElement(t) && m(this, Ae).removeDeletedAnnotationElement(e);
27004
27004
  }
27005
27005
  detach(e) {
27006
27006
  var t;
27007
- m(this, Nr).delete(e.id), (t = m(this, Y0)) == null || t.removePointerInTextLayer(e.contentDiv), !m(this, Cd) && e.annotationElementId && m(this, Ae).addDeletedAnnotationElement(e);
27007
+ m(this, Pr).delete(e.id), (t = m(this, Y0)) == null || t.removePointerInTextLayer(e.contentDiv), !m(this, Cd) && e.annotationElementId && m(this, Ae).addDeletedAnnotationElement(e);
27008
27008
  }
27009
27009
  remove(e) {
27010
27010
  this.detach(e), m(this, Ae).removeEditor(e), e.div.remove(), e.isAttachedToDOM = !1, m(this, Sd) || this.addInkEditorIfNeeded(!1);
@@ -27080,7 +27080,7 @@ const Ci = class Ci {
27080
27080
  m(this, Ae).unselect(e);
27081
27081
  }
27082
27082
  pointerup(e) {
27083
- const { isMac: t } = fr.platform;
27083
+ const { isMac: t } = hr.platform;
27084
27084
  !(e.button !== 0 || e.ctrlKey && t) && e.target === this.div && m(this, La) && (A(this, La, !1), m(this, wd) ? m(this, Ae).getMode() !== We.STAMP ? this.createAndAddNewEditor(e, !1) : m(this, Ae).unselectAll() : A(this, wd, !0));
27085
27085
  }
27086
27086
  pointerdown(e) {
@@ -27088,7 +27088,7 @@ const Ci = class Ci {
27088
27088
  A(this, La, !1);
27089
27089
  return;
27090
27090
  }
27091
- const { isMac: t } = fr.platform;
27091
+ const { isMac: t } = hr.platform;
27092
27092
  if (e.button !== 0 || e.ctrlKey && t || e.target !== this.div)
27093
27093
  return;
27094
27094
  A(this, La, !0);
@@ -27102,9 +27102,9 @@ const Ci = class Ci {
27102
27102
  destroy() {
27103
27103
  var e, t;
27104
27104
  ((e = m(this, Ae).getActive()) == null ? void 0 : e.parent) === this && (m(this, Ae).commitOrRemove(), m(this, Ae).setActiveEditor(null)), m(this, go) && (clearTimeout(m(this, go)), A(this, go, null));
27105
- for (const r of m(this, Nr).values())
27105
+ for (const r of m(this, Pr).values())
27106
27106
  (t = m(this, Y0)) == null || t.removePointerInTextLayer(r.contentDiv), r.setParent(null), r.isAttachedToDOM = !1, r.div.remove();
27107
- this.div = null, m(this, Nr).clear(), m(this, Ae).removeLayer(this);
27107
+ this.div = null, m(this, Pr).clear(), m(this, Ae).removeLayer(this);
27108
27108
  }
27109
27109
  render({ viewport: e }) {
27110
27110
  this.viewport = e, lu(this.div, e);
@@ -27116,7 +27116,7 @@ const Ci = class Ci {
27116
27116
  m(this, Ae).commitOrRemove(), I(this, Md, fg).call(this);
27117
27117
  const t = this.viewport.rotation, r = e.rotation;
27118
27118
  if (this.viewport = e, lu(this.div, { rotation: r }), t !== r)
27119
- for (const i of m(this, Nr).values())
27119
+ for (const i of m(this, Pr).values())
27120
27120
  i.rotate(r);
27121
27121
  this.addInkEditorIfNeeded(!1);
27122
27122
  }
@@ -27128,11 +27128,11 @@ const Ci = class Ci {
27128
27128
  return m(this, Ae).viewParameters.realScale;
27129
27129
  }
27130
27130
  };
27131
- Y0 = new WeakMap(), wd = new WeakMap(), ws = new WeakMap(), _a = new WeakMap(), go = new WeakMap(), Nr = new WeakMap(), La = new WeakMap(), Sd = new WeakMap(), Cd = new WeakMap(), Wn = new WeakMap(), yo = new WeakMap(), Ae = new WeakMap(), Ra = new WeakMap(), gv = new WeakSet(), iO = function(e) {
27131
+ Y0 = new WeakMap(), wd = new WeakMap(), ws = new WeakMap(), _a = new WeakMap(), go = new WeakMap(), Pr = new WeakMap(), La = new WeakMap(), Sd = new WeakMap(), Cd = new WeakMap(), Wn = new WeakMap(), yo = new WeakMap(), Ae = new WeakMap(), Ra = new WeakMap(), gv = new WeakSet(), iO = function(e) {
27132
27132
  m(this, Ae).unselectAll();
27133
27133
  const { target: t } = e;
27134
27134
  if (t === m(this, Wn).div || t.classList.contains("endOfContent") && m(this, Wn).div.contains(t)) {
27135
- const { isMac: r } = fr.platform;
27135
+ const { isMac: r } = hr.platform;
27136
27136
  if (e.button !== 0 || e.ctrlKey && r)
27137
27137
  return;
27138
27138
  m(this, Ae).showAllEditors("highlight", !0, !0), m(this, Wn).div.classList.add("free"), this.toggleDrawing(), $g.startHighlighting(this, m(this, Ae).direction === "ltr", e), m(this, Wn).div.addEventListener("pointerup", () => {
@@ -27149,7 +27149,7 @@ Y0 = new WeakMap(), wd = new WeakMap(), ws = new WeakMap(), _a = new WeakMap(),
27149
27149
  return { offsetX: u, offsetY: c };
27150
27150
  }, Md = new WeakSet(), fg = function() {
27151
27151
  A(this, Sd, !0);
27152
- for (const e of m(this, Nr).values())
27152
+ for (const e of m(this, Pr).values())
27153
27153
  e.isEmpty() && e.remove();
27154
27154
  A(this, Sd, !1);
27155
27155
  }, xe(Ci, "_initialized", !1), k(Ci, Ra, new Map([r6, h6, C6, $g].map((e) => [e._editorType, e])));
@@ -27426,7 +27426,7 @@ function jq(n, e, t, r, i, s) {
27426
27426
  key: 1,
27427
27427
  class: "modal-close-link",
27428
27428
  href: "#",
27429
- onClick: e[2] || (e[2] = rt((a) => n.$emit("close"), ["prevent"]))
27429
+ onClick: e[2] || (e[2] = Qe((a) => n.$emit("close"), ["prevent"]))
27430
27430
  }, oe(n.$t("HC_CANCEL")), 1)) : L("", !0)
27431
27431
  ], 2)
27432
27432
  ], 34);
@@ -27539,7 +27539,7 @@ const qq = ke({
27539
27539
  try {
27540
27540
  if (t = await $q(n.url).promise, !t)
27541
27541
  throw new Error("pdfDoc is null or undefined");
27542
- l.value = t.numPages, o.value = !1, await Lr(), s.value = Array.from(
27542
+ l.value = t.numPages, o.value = !1, await fr(), s.value = Array.from(
27543
27543
  document.querySelectorAll(".pdf-pages canvas")
27544
27544
  ), await c();
27545
27545
  } catch (f) {
@@ -28042,7 +28042,7 @@ function AK(n, e, t, r, i, s) {
28042
28042
  color: "inkwell-30",
28043
28043
  shape: "circle",
28044
28044
  class: "cursor-pointer absolute -top-2 -right-2 shadow-solid z-10",
28045
- onClick: rt((y) => n.onRemoveFile(h), ["stop"])
28045
+ onClick: Qe((y) => n.onRemoveFile(h), ["stop"])
28046
28046
  }, {
28047
28047
  icon: se(() => [
28048
28048
  _(o, {
@@ -31253,15 +31253,15 @@ class R6 {
31253
31253
  return (this.delInfo & hg) > 0;
31254
31254
  }
31255
31255
  }
31256
- class Pr {
31256
+ class _r {
31257
31257
  /**
31258
31258
  Create a position map. The modifications to the document are
31259
31259
  represented as an array of numbers, in which each group of three
31260
31260
  represents a modified chunk as `[start, oldSize, newSize]`.
31261
31261
  */
31262
31262
  constructor(e, t = !1) {
31263
- if (this.ranges = e, this.inverted = t, !e.length && Pr.empty)
31264
- return Pr.empty;
31263
+ if (this.ranges = e, this.inverted = t, !e.length && _r.empty)
31264
+ return _r.empty;
31265
31265
  }
31266
31266
  /**
31267
31267
  @internal
@@ -31332,7 +31332,7 @@ class Pr {
31332
31332
  map positions in the post-step document to the pre-step document.
31333
31333
  */
31334
31334
  invert() {
31335
- return new Pr(this.ranges, !this.inverted);
31335
+ return new _r(this.ranges, !this.inverted);
31336
31336
  }
31337
31337
  /**
31338
31338
  @internal
@@ -31346,10 +31346,10 @@ class Pr {
31346
31346
  sub-document to a larger document, or vice-versa.
31347
31347
  */
31348
31348
  static offset(e) {
31349
- return e == 0 ? Pr.empty : new Pr(e < 0 ? [0, -e, 0] : [0, 0, e]);
31349
+ return e == 0 ? _r.empty : new _r(e < 0 ? [0, -e, 0] : [0, 0, e]);
31350
31350
  }
31351
31351
  }
31352
- Pr.empty = new Pr([]);
31352
+ _r.empty = new _r([]);
31353
31353
  class tc {
31354
31354
  /**
31355
31355
  Create a new mapping with the given position maps.
@@ -31465,7 +31465,7 @@ class zn {
31465
31465
  and the new document.
31466
31466
  */
31467
31467
  getMap() {
31468
- return Pr.empty;
31468
+ return _r.empty;
31469
31469
  }
31470
31470
  /**
31471
31471
  Try to merge this step with another one, to be applied directly
@@ -31715,7 +31715,7 @@ class hn extends zn {
31715
31715
  return this.structure && $6(e, this.from, this.to) ? Zt.fail("Structure replace would overwrite content") : Zt.fromReplace(e, this.from, this.to, this.slice);
31716
31716
  }
31717
31717
  getMap() {
31718
- return new Pr([this.from, this.to - this.from, this.slice.size]);
31718
+ return new _r([this.from, this.to - this.from, this.slice.size]);
31719
31719
  }
31720
31720
  invert(e) {
31721
31721
  return new hn(this.from, this.from + this.slice.size, e.slice(this.from, this.to));
@@ -31770,7 +31770,7 @@ class gn extends zn {
31770
31770
  return r ? Zt.fromReplace(e, this.from, this.to, r) : Zt.fail("Content does not fit in gap");
31771
31771
  }
31772
31772
  getMap() {
31773
- return new Pr([
31773
+ return new _r([
31774
31774
  this.from,
31775
31775
  this.gapFrom - this.from,
31776
31776
  this.insert,
@@ -32363,7 +32363,7 @@ class rc extends zn {
32363
32363
  return Zt.fromReplace(e, this.pos, this.pos + 1, new ye(de.from(i), 0, t.isLeaf ? 0 : 1));
32364
32364
  }
32365
32365
  getMap() {
32366
- return Pr.empty;
32366
+ return _r.empty;
32367
32367
  }
32368
32368
  invert(e) {
32369
32369
  return new rc(this.pos, this.attr, e.nodeAt(this.pos).attrs[this.attr]);
@@ -32398,7 +32398,7 @@ class If extends zn {
32398
32398
  return Zt.ok(r);
32399
32399
  }
32400
32400
  getMap() {
32401
- return Pr.empty;
32401
+ return _r.empty;
32402
32402
  }
32403
32403
  invert(e) {
32404
32404
  return new If(this.attr, e.attrs[this.attr]);
@@ -33433,7 +33433,7 @@ const X5 = /* @__PURE__ */ Object.create(null);
33433
33433
  function BO(n) {
33434
33434
  return n in X5 ? n + "$" + ++X5[n] : (X5[n] = 0, n + "$");
33435
33435
  }
33436
- class wr {
33436
+ class Sr {
33437
33437
  /**
33438
33438
  Create a plugin key.
33439
33439
  */
@@ -33532,9 +33532,9 @@ function LG(n, e, t) {
33532
33532
  return { node: r.startContainer, offset: r.startOffset };
33533
33533
  }
33534
33534
  }
33535
- const xs = typeof navigator < "u" ? navigator : null, NC = typeof document < "u" ? document : null, ol = xs && xs.userAgent || "", F6 = /Edge\/(\d+)/.exec(ol), jO = /MSIE \d/.exec(ol), B6 = /Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(ol), hr = !!(jO || B6 || F6), Wa = jO ? document.documentMode : B6 ? +B6[1] : F6 ? +F6[1] : 0, Hi = !hr && /gecko\/(\d+)/i.test(ol);
33535
+ const xs = typeof navigator < "u" ? navigator : null, NC = typeof document < "u" ? document : null, ol = xs && xs.userAgent || "", F6 = /Edge\/(\d+)/.exec(ol), jO = /MSIE \d/.exec(ol), B6 = /Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(ol), pr = !!(jO || B6 || F6), Wa = jO ? document.documentMode : B6 ? +B6[1] : F6 ? +F6[1] : 0, Hi = !pr && /gecko\/(\d+)/i.test(ol);
33536
33536
  Hi && +(/Firefox\/(\d+)/.exec(ol) || [0, 0])[1];
33537
- const j6 = !hr && /Chrome\/(\d+)/.exec(ol), Fn = !!j6, RG = j6 ? +j6[1] : 0, Jn = !hr && !!xs && /Apple Computer/.test(xs.vendor), Dd = Jn && (/Mobile\/\w+/.test(ol) || !!xs && xs.maxTouchPoints > 2), oi = Dd || (xs ? /Mac/.test(xs.platform) : !1), $G = xs ? /Win/.test(xs.platform) : !1, Ri = /Android \d/.test(ol), Pp = !!NC && "webkitFontSmoothing" in NC.documentElement.style, FG = Pp ? +(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent) || [0, 0])[1] : 0;
33537
+ const j6 = !pr && /Chrome\/(\d+)/.exec(ol), Fn = !!j6, RG = j6 ? +j6[1] : 0, Jn = !pr && !!xs && /Apple Computer/.test(xs.vendor), Dd = Jn && (/Mobile\/\w+/.test(ol) || !!xs && xs.maxTouchPoints > 2), oi = Dd || (xs ? /Mac/.test(xs.platform) : !1), $G = xs ? /Win/.test(xs.platform) : !1, Ri = /Android \d/.test(ol), Pp = !!NC && "webkitFontSmoothing" in NC.documentElement.style, FG = Pp ? +(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent) || [0, 0])[1] : 0;
33538
33538
  function BG(n) {
33539
33539
  return {
33540
33540
  left: 0,
@@ -34954,7 +34954,7 @@ function cY(n) {
34954
34954
  }
34955
34955
  function dY(n) {
34956
34956
  let e = n.domSelection(), t = document.createRange(), r = n.cursorWrapper.dom, i = r.nodeName == "IMG";
34957
- i ? t.setEnd(r.parentNode, Gn(r) + 1) : t.setEnd(r, 0), t.collapse(!1), e.removeAllRanges(), e.addRange(t), !i && !n.state.selection.visible && hr && Wa <= 11 && (r.disabled = !0, r.disabled = !1);
34957
+ i ? t.setEnd(r.parentNode, Gn(r) + 1) : t.setEnd(r, 0), t.collapse(!1), e.removeAllRanges(), e.addRange(t), !i && !n.state.selection.visible && pr && Wa <= 11 && (r.disabled = !0, r.disabled = !1);
34958
34958
  }
34959
34959
  function JO(n, e) {
34960
34960
  if (e instanceof Ee) {
@@ -35692,7 +35692,7 @@ function zY(n, e) {
35692
35692
  t.parentNode && t.parentNode.removeChild(t), n.focus();
35693
35693
  }, 50);
35694
35694
  }
35695
- const Of = hr && Wa < 15 || Dd && FG < 604;
35695
+ const Of = pr && Wa < 15 || Dd && FG < 604;
35696
35696
  er.copy = tr.cut = (n, e) => {
35697
35697
  let t = e, r = n.state.selection, i = t.type == "cut";
35698
35698
  if (r.empty)
@@ -36334,7 +36334,7 @@ const WY = {
36334
36334
  attributes: !0,
36335
36335
  attributeOldValue: !0,
36336
36336
  subtree: !0
36337
- }, qY = hr && Wa <= 11;
36337
+ }, qY = pr && Wa <= 11;
36338
36338
  class KY {
36339
36339
  constructor() {
36340
36340
  this.anchorNode = null, this.anchorOffset = 0, this.focusNode = null, this.focusOffset = 0;
@@ -36354,7 +36354,7 @@ class GY {
36354
36354
  this.view = e, this.handleDOMChange = t, this.queue = [], this.flushingSoon = -1, this.observer = null, this.currentSelection = new KY(), this.onCharData = null, this.suppressingSelectionUpdates = !1, this.observer = window.MutationObserver && new window.MutationObserver((r) => {
36355
36355
  for (let i = 0; i < r.length; i++)
36356
36356
  this.queue.push(r[i]);
36357
- hr && Wa <= 11 && r.some((i) => i.type == "childList" && i.removedNodes.length || i.type == "characterData" && i.oldValue.length > i.target.nodeValue.length) ? this.flushSoon() : this.flush();
36357
+ pr && Wa <= 11 && r.some((i) => i.type == "childList" && i.removedNodes.length || i.type == "characterData" && i.oldValue.length > i.target.nodeValue.length) ? this.flushSoon() : this.flush();
36358
36358
  }), qY && (this.onCharData = (r) => {
36359
36359
  this.queue.push({ target: r.target, type: "characterData", oldValue: r.prevValue }), this.flushSoon();
36360
36360
  }), this.onSelectionChange = this.onSelectionChange.bind(this);
@@ -36395,7 +36395,7 @@ class GY {
36395
36395
  if (ZC(this.view)) {
36396
36396
  if (this.suppressingSelectionUpdates)
36397
36397
  return Mo(this.view);
36398
- if (hr && Wa <= 11 && !this.view.state.selection.empty) {
36398
+ if (pr && Wa <= 11 && !this.view.state.selection.empty) {
36399
36399
  let e = this.view.domSelectionRange();
36400
36400
  if (e.focusNode && fu(e.focusNode, e.focusOffset, e.anchorNode, e.anchorOffset))
36401
36401
  return this.flushSoon();
@@ -36465,7 +36465,7 @@ class GY {
36465
36465
  if (r.contentDOM && r.contentDOM != r.dom && !r.contentDOM.contains(e.target))
36466
36466
  return { from: r.posBefore, to: r.posAfter };
36467
36467
  let i = e.previousSibling, s = e.nextSibling;
36468
- if (hr && Wa <= 11 && e.addedNodes.length)
36468
+ if (pr && Wa <= 11 && e.addedNodes.length)
36469
36469
  for (let c = 0; c < e.addedNodes.length; c++) {
36470
36470
  let { previousSibling: d, nextSibling: f } = e.addedNodes[c];
36471
36471
  (!d || Array.prototype.indexOf.call(e.addedNodes, d) < 0) && (i = d), (!f || Array.prototype.indexOf.call(e.addedNodes, f) < 0) && (s = f);
@@ -36583,7 +36583,7 @@ function tQ(n, e, t, r, i) {
36583
36583
  let D = p.endB - p.start;
36584
36584
  u.sel = { anchor: u.sel.anchor + D, head: u.sel.anchor + D };
36585
36585
  }
36586
- n.input.domChangeCount++, n.state.selection.from < n.state.selection.to && p.start == p.endB && n.state.selection instanceof Re && (p.start > n.state.selection.from && p.start <= n.state.selection.from + 2 && n.state.selection.from >= u.from ? p.start = n.state.selection.from : p.endA < n.state.selection.to && p.endA >= n.state.selection.to - 2 && n.state.selection.to <= u.to && (p.endB += n.state.selection.to - p.endA, p.endA = n.state.selection.to)), hr && Wa <= 11 && p.endB == p.start + 1 && p.endA == p.start && p.start > u.from && u.doc.textBetween(p.start - u.from - 1, p.start - u.from + 1) == "  " && (p.start--, p.endA--, p.endB--);
36586
+ n.input.domChangeCount++, n.state.selection.from < n.state.selection.to && p.start == p.endB && n.state.selection instanceof Re && (p.start > n.state.selection.from && p.start <= n.state.selection.from + 2 && n.state.selection.from >= u.from ? p.start = n.state.selection.from : p.endA < n.state.selection.to && p.endA >= n.state.selection.to - 2 && n.state.selection.to <= u.to && (p.endB += n.state.selection.to - p.endA, p.endA = n.state.selection.to)), pr && Wa <= 11 && p.endB == p.start + 1 && p.endA == p.start && p.start > u.from && u.doc.textBetween(p.start - u.from - 1, p.start - u.from + 1) == "  " && (p.start--, p.endA--, p.endB--);
36587
36587
  let g = u.doc.resolveNoCache(p.start - u.from), y = u.doc.resolveNoCache(p.endB - u.from), v = c.resolve(p.start), b = g.sameParent(y) && g.parent.inlineContent && v.end() >= p.endA, C;
36588
36588
  if ((Dd && n.input.lastIOSEnter > Date.now() - 225 && (!b || i.some((D) => D.nodeName == "DIV" || D.nodeName == "P")) || !b && g.pos < u.doc.content.size && !g.sameParent(y) && (C = Ve.findFrom(u.doc.resolve(g.pos + 1), 1, !0)) && C.head == y.pos) && n.someProp("handleKeyDown", (D) => D(n, Il(13, "Enter")))) {
36589
36589
  n.input.lastIOSEnter = 0;
@@ -36601,7 +36601,7 @@ function tQ(n, e, t, r, i) {
36601
36601
  let w = p.start, x = p.endA, M, E, O;
36602
36602
  if (b) {
36603
36603
  if (g.pos == y.pos)
36604
- hr && Wa <= 11 && g.parentOffset == 0 && (n.domObserver.suppressSelectionUpdates(), setTimeout(() => Mo(n), 20)), M = n.state.tr.delete(w, x), E = c.resolve(p.start).marksAcross(c.resolve(p.endA));
36604
+ pr && Wa <= 11 && g.parentOffset == 0 && (n.domObserver.suppressSelectionUpdates(), setTimeout(() => Mo(n), 20)), M = n.state.tr.delete(w, x), E = c.resolve(p.start).marksAcross(c.resolve(p.endA));
36605
36605
  else if (
36606
36606
  // Adding or removing a mark
36607
36607
  p.endA == p.endB && (O = nQ(g.parent.content.cut(g.parentOffset, y.parentOffset), v.parent.content.cut(v.parentOffset, p.endA - v.start())))
@@ -36616,7 +36616,7 @@ function tQ(n, e, t, r, i) {
36616
36616
  }
36617
36617
  if (M || (M = n.state.tr.replace(w, x, u.doc.slice(p.start - u.from, p.endB - u.from))), u.sel) {
36618
36618
  let D = nM(n, M.doc, u.sel);
36619
- D && !(Fn && Ri && n.composing && D.empty && (p.start != p.endB || n.input.lastAndroidDelete < Date.now() - 100) && (D.head == w || D.head == M.mapping.map(x) - 1) || hr && D.empty && D.head == w) && M.setSelection(D);
36619
+ D && !(Fn && Ri && n.composing && D.empty && (p.start != p.endB || n.input.lastAndroidDelete < Date.now() - 100) && (D.head == w || D.head == M.mapping.map(x) - 1) || pr && D.empty && D.head == w) && M.setSelection(D);
36620
36620
  }
36621
36621
  E && M.ensureMarks(E), s && M.setMeta("composition", s), n.dispatch(M.scrollIntoView());
36622
36622
  }
@@ -36764,7 +36764,7 @@ class sQ {
36764
36764
  let f = c == "preserve" && o && this.dom.style.overflowAnchor == null && zG(this);
36765
36765
  if (o) {
36766
36766
  this.domObserver.stop();
36767
- let h = d && (hr || Fn) && !this.composing && !i.selection.empty && !e.selection.empty && oQ(i.selection, e.selection);
36767
+ let h = d && (pr || Fn) && !this.composing && !i.selection.empty && !e.selection.empty && oQ(i.selection, e.selection);
36768
36768
  if (d) {
36769
36769
  let p = Fn ? this.trackWrites = this.domSelectionRange().focusNode : null;
36770
36770
  (s || !this.docView.update(e.doc, u, l, this)) && (this.docView.updateOuterDeco([]), this.docView.destroy(), this.docView = BC(e.doc, u, l, this.dom, this)), p && !this.trackWrites && (h = !0);
@@ -36838,7 +36838,7 @@ class sQ {
36838
36838
  Query whether the view has focus.
36839
36839
  */
36840
36840
  hasFocus() {
36841
- if (hr) {
36841
+ if (pr) {
36842
36842
  let e = this.root.activeElement;
36843
36843
  if (e == this.dom)
36844
36844
  return !0;
@@ -38361,7 +38361,7 @@ const eX = On.create({
38361
38361
  addProseMirrorPlugins() {
38362
38362
  return [
38363
38363
  new bn({
38364
- key: new wr("clipboardTextSerializer"),
38364
+ key: new Sr("clipboardTextSerializer"),
38365
38365
  props: {
38366
38366
  clipboardTextSerializer: () => {
38367
38367
  const { editor: n } = this, { state: e, schema: t } = n, { doc: r, selection: i } = e, { ranges: s } = i, o = Math.min(...s.map((c) => c.$from.pos)), a = Math.max(...s.map((c) => c.$to.pos)), l = xD(t);
@@ -39221,7 +39221,7 @@ const kJ = On.create({
39221
39221
  addProseMirrorPlugins() {
39222
39222
  return [
39223
39223
  new bn({
39224
- key: new wr("editable"),
39224
+ key: new Sr("editable"),
39225
39225
  props: {
39226
39226
  editable: () => this.editor.options.editable
39227
39227
  }
@@ -39234,7 +39234,7 @@ const kJ = On.create({
39234
39234
  const { editor: n } = this;
39235
39235
  return [
39236
39236
  new bn({
39237
- key: new wr("focusEvents"),
39237
+ key: new Sr("focusEvents"),
39238
39238
  props: {
39239
39239
  handleDOMEvents: {
39240
39240
  focus: (e, t) => {
@@ -39307,7 +39307,7 @@ const kJ = On.create({
39307
39307
  // This is an alternative to ProseMirror's `AllSelection`, which doesn’t work well
39308
39308
  // with many other commands.
39309
39309
  new bn({
39310
- key: new wr("clearDocument"),
39310
+ key: new Sr("clearDocument"),
39311
39311
  appendTransaction: (n, e, t) => {
39312
39312
  if (!(n.some((p) => p.docChanged) && !e.doc.eq(t.doc)))
39313
39313
  return;
@@ -39332,7 +39332,7 @@ const kJ = On.create({
39332
39332
  addProseMirrorPlugins() {
39333
39333
  return [
39334
39334
  new bn({
39335
- key: new wr("tabindex"),
39335
+ key: new Sr("tabindex"),
39336
39336
  props: {
39337
39337
  attributes: this.editor.isEditable ? { tabindex: "0" } : {}
39338
39338
  }
@@ -40022,7 +40022,7 @@ function pu(n) {
40022
40022
  }
40023
40023
  });
40024
40024
  }
40025
- var pr = "top", pi = "bottom", mi = "right", mr = "left", Zw = "auto", Rp = [pr, pi, mi, mr], _d = "start", Lf = "end", _J = "clippingParents", LD = "viewport", d2 = "popper", LJ = "reference", yM = /* @__PURE__ */ Rp.reduce(function(n, e) {
40025
+ var mr = "top", pi = "bottom", mi = "right", gr = "left", Zw = "auto", Rp = [mr, pi, mi, gr], _d = "start", Lf = "end", _J = "clippingParents", LD = "viewport", d2 = "popper", LJ = "reference", yM = /* @__PURE__ */ Rp.reduce(function(n, e) {
40026
40026
  return n.concat([e + "-" + _d, e + "-" + Lf]);
40027
40027
  }, []), RD = /* @__PURE__ */ [].concat(Rp, [Zw]).reduce(function(n, e) {
40028
40028
  return n.concat([e, e + "-" + _d, e + "-" + Lf]);
@@ -40228,9 +40228,9 @@ var QJ = function(e, t) {
40228
40228
  })) : e, zD(typeof e != "number" ? e : VD(e, Rp));
40229
40229
  };
40230
40230
  function XJ(n) {
40231
- var e, t = n.state, r = n.name, i = n.options, s = t.elements.arrow, o = t.modifiersData.popperOffsets, a = Ts(t.placement), l = Kw(a), u = [mr, mi].indexOf(a) >= 0, c = u ? "height" : "width";
40231
+ var e, t = n.state, r = n.name, i = n.options, s = t.elements.arrow, o = t.modifiersData.popperOffsets, a = Ts(t.placement), l = Kw(a), u = [gr, mi].indexOf(a) >= 0, c = u ? "height" : "width";
40232
40232
  if (!(!s || !o)) {
40233
- var d = QJ(i.padding, t), f = qw(s), h = l === "y" ? pr : mr, p = l === "y" ? pi : mi, g = t.rects.reference[c] + t.rects.reference[l] - o[l] - t.rects.popper[c], y = o[l] - t.rects.reference[l], v = $p(s), b = v ? l === "y" ? v.clientHeight || 0 : v.clientWidth || 0 : 0, C = g / 2 - y / 2, w = d[h], x = b - f[c] - d[p], M = b / 2 - f[c] / 2 + C, E = q2(w, M, x), O = l;
40233
+ var d = QJ(i.padding, t), f = qw(s), h = l === "y" ? mr : gr, p = l === "y" ? pi : mi, g = t.rects.reference[c] + t.rects.reference[l] - o[l] - t.rects.popper[c], y = o[l] - t.rects.reference[l], v = $p(s), b = v ? l === "y" ? v.clientHeight || 0 : v.clientWidth || 0 : 0, C = g / 2 - y / 2, w = d[h], x = b - f[c] - d[p], M = b / 2 - f[c] / 2 + C, E = q2(w, M, x), O = l;
40234
40234
  t.modifiersData[r] = (e = {}, e[O] = E, e.centerOffset = E - M, e);
40235
40235
  }
40236
40236
  }
@@ -40272,10 +40272,10 @@ function bM(n) {
40272
40272
  y: g
40273
40273
  };
40274
40274
  h = y.x, g = y.y;
40275
- var v = o.hasOwnProperty("x"), b = o.hasOwnProperty("y"), C = mr, w = pr, x = window;
40275
+ var v = o.hasOwnProperty("x"), b = o.hasOwnProperty("y"), C = gr, w = mr, x = window;
40276
40276
  if (u) {
40277
40277
  var M = $p(t), E = "clientHeight", O = "clientWidth";
40278
- if (M === Vr(t) && (M = ll(t), Io(M).position !== "static" && a === "absolute" && (E = "scrollHeight", O = "scrollWidth")), M = M, i === pr || (i === mr || i === mi) && s === Lf) {
40278
+ if (M === Vr(t) && (M = ll(t), Io(M).position !== "static" && a === "absolute" && (E = "scrollHeight", O = "scrollWidth")), M = M, i === mr || (i === gr || i === mi) && s === Lf) {
40279
40279
  w = pi;
40280
40280
  var D = d && M === x && x.visualViewport ? x.visualViewport.height : (
40281
40281
  // $FlowFixMe[prop-missing]
@@ -40283,7 +40283,7 @@ function bM(n) {
40283
40283
  );
40284
40284
  g -= D - r.height, g *= l ? 1 : -1;
40285
40285
  }
40286
- if (i === mr || (i === pr || i === pi) && s === Lf) {
40286
+ if (i === gr || (i === mr || i === pi) && s === Lf) {
40287
40287
  C = mi;
40288
40288
  var $ = d && M === x && x.visualViewport ? x.visualViewport.width : (
40289
40289
  // $FlowFixMe[prop-missing]
@@ -40459,7 +40459,7 @@ function hee(n, e, t, r) {
40459
40459
  function UD(n) {
40460
40460
  var e = n.reference, t = n.element, r = n.placement, i = r ? Ts(r) : null, s = r ? $d(r) : null, o = e.x + e.width / 2 - t.width / 2, a = e.y + e.height / 2 - t.height / 2, l;
40461
40461
  switch (i) {
40462
- case pr:
40462
+ case mr:
40463
40463
  l = {
40464
40464
  x: o,
40465
40465
  y: e.y - t.height
@@ -40477,7 +40477,7 @@ function UD(n) {
40477
40477
  y: a
40478
40478
  };
40479
40479
  break;
40480
- case mr:
40480
+ case gr:
40481
40481
  l = {
40482
40482
  x: e.x - t.width,
40483
40483
  y: a
@@ -40519,7 +40519,7 @@ function Rf(n, e) {
40519
40519
  if (f === d2 && R) {
40520
40520
  var H = R[i];
40521
40521
  Object.keys($).forEach(function(Y) {
40522
- var ne = [mi, pi].indexOf(Y) >= 0 ? 1 : -1, B = [pr, pi].indexOf(Y) >= 0 ? "y" : "x";
40522
+ var ne = [mi, pi].indexOf(Y) >= 0 ? 1 : -1, B = [mr, pi].indexOf(Y) >= 0 ? "y" : "x";
40523
40523
  $[Y] += H[B] * ne;
40524
40524
  });
40525
40525
  }
@@ -40564,13 +40564,13 @@ function gee(n) {
40564
40564
  allowedAutoPlacements: g
40565
40565
  }) : q);
40566
40566
  }, []), x = e.rects.reference, M = e.rects.popper, E = /* @__PURE__ */ new Map(), O = !0, D = w[0], $ = 0; $ < w.length; $++) {
40567
- var R = w[$], H = Ts(R), Y = $d(R) === _d, ne = [pr, pi].indexOf(H) >= 0, B = ne ? "width" : "height", Z = Rf(e, {
40567
+ var R = w[$], H = Ts(R), Y = $d(R) === _d, ne = [mr, pi].indexOf(H) >= 0, B = ne ? "width" : "height", Z = Rf(e, {
40568
40568
  placement: R,
40569
40569
  boundary: c,
40570
40570
  rootBoundary: d,
40571
40571
  altBoundary: f,
40572
40572
  padding: u
40573
- }), ae = ne ? Y ? mi : mr : Y ? pi : pr;
40573
+ }), ae = ne ? Y ? mi : gr : Y ? pi : mr;
40574
40574
  x[B] > M[B] && (ae = mg(ae));
40575
40575
  var Q = mg(ae), W = [];
40576
40576
  if (s && W.push(Z[H] <= 0), a && W.push(Z[ae] <= 0, Z[Q] <= 0), W.every(function(K) {
@@ -40622,7 +40622,7 @@ function CM(n, e, t) {
40622
40622
  };
40623
40623
  }
40624
40624
  function MM(n) {
40625
- return [pr, mi, pi, mr].some(function(e) {
40625
+ return [mr, mi, pi, gr].some(function(e) {
40626
40626
  return n[e] >= 0;
40627
40627
  });
40628
40628
  }
@@ -40650,10 +40650,10 @@ const bee = {
40650
40650
  fn: vee
40651
40651
  };
40652
40652
  function wee(n, e, t) {
40653
- var r = Ts(n), i = [mr, pr].indexOf(r) >= 0 ? -1 : 1, s = typeof t == "function" ? t(Object.assign({}, e, {
40653
+ var r = Ts(n), i = [gr, mr].indexOf(r) >= 0 ? -1 : 1, s = typeof t == "function" ? t(Object.assign({}, e, {
40654
40654
  placement: n
40655
40655
  })) : t, o = s[0], a = s[1];
40656
- return o = o || 0, a = (a || 0) * i, [mr, mi].indexOf(r) >= 0 ? {
40656
+ return o = o || 0, a = (a || 0) * i, [gr, mi].indexOf(r) >= 0 ? {
40657
40657
  x: a,
40658
40658
  y: o
40659
40659
  } : {
@@ -40713,14 +40713,14 @@ function Eee(n) {
40713
40713
  };
40714
40714
  if (M) {
40715
40715
  if (s) {
40716
- var Y, ne = w === "y" ? pr : mr, B = w === "y" ? pi : mi, Z = w === "y" ? "height" : "width", ae = M[w], Q = ae + y[ne], W = ae - y[B], ue = h ? -O[Z] / 2 : 0, me = b === _d ? E[Z] : O[Z], le = b === _d ? -O[Z] : -E[Z], ee = e.elements.arrow, K = h && ee ? qw(ee) : {
40716
+ var Y, ne = w === "y" ? mr : gr, B = w === "y" ? pi : mi, Z = w === "y" ? "height" : "width", ae = M[w], Q = ae + y[ne], W = ae - y[B], ue = h ? -O[Z] / 2 : 0, me = b === _d ? E[Z] : O[Z], le = b === _d ? -O[Z] : -E[Z], ee = e.elements.arrow, K = h && ee ? qw(ee) : {
40717
40717
  width: 0,
40718
40718
  height: 0
40719
- }, q = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : jD(), re = q[ne], fe = q[B], ve = q2(0, E[Z], K[Z]), De = C ? E[Z] / 2 - ue - ve - re - $.mainAxis : me - ve - re - $.mainAxis, Ne = C ? -E[Z] / 2 + ue + ve + fe + $.mainAxis : le + ve + fe + $.mainAxis, Je = e.elements.arrow && $p(e.elements.arrow), bt = Je ? w === "y" ? Je.clientTop || 0 : Je.clientLeft || 0 : 0, nn = (Y = R == null ? void 0 : R[w]) != null ? Y : 0, Wr = ae + De - nn - bt, Sr = ae + Ne - nn, rn = q2(h ? Xg(Q, Wr) : Q, ae, h ? ru(W, Sr) : W);
40719
+ }, q = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : jD(), re = q[ne], fe = q[B], ve = q2(0, E[Z], K[Z]), De = C ? E[Z] / 2 - ue - ve - re - $.mainAxis : me - ve - re - $.mainAxis, Ne = C ? -E[Z] / 2 + ue + ve + fe + $.mainAxis : le + ve + fe + $.mainAxis, et = e.elements.arrow && $p(e.elements.arrow), bt = et ? w === "y" ? et.clientTop || 0 : et.clientLeft || 0 : 0, nn = (Y = R == null ? void 0 : R[w]) != null ? Y : 0, Wr = ae + De - nn - bt, Cr = ae + Ne - nn, rn = q2(h ? Xg(Q, Wr) : Q, ae, h ? ru(W, Cr) : W);
40720
40720
  M[w] = rn, H[w] = rn - ae;
40721
40721
  }
40722
40722
  if (a) {
40723
- var Cr, Lo = w === "x" ? pr : mr, Ro = w === "x" ? pi : mi, qt = M[x], Vn = x === "y" ? "height" : "width", Zi = qt + y[Lo], qr = qt - y[Ro], bi = [pr, mr].indexOf(v) !== -1, ct = (Cr = R == null ? void 0 : R[x]) != null ? Cr : 0, te = bi ? Zi : qt - E[Vn] - O[Vn] - ct + $.altAxis, ce = bi ? qt + E[Vn] + O[Vn] - ct - $.altAxis : qr, He = h && bi ? YJ(te, qt, ce) : q2(h ? te : Zi, qt, h ? ce : qr);
40723
+ var Mr, Lo = w === "x" ? mr : gr, Ro = w === "x" ? pi : mi, qt = M[x], Vn = x === "y" ? "height" : "width", Zi = qt + y[Lo], qr = qt - y[Ro], bi = [mr, gr].indexOf(v) !== -1, ct = (Mr = R == null ? void 0 : R[x]) != null ? Mr : 0, te = bi ? Zi : qt - E[Vn] - O[Vn] - ct + $.altAxis, ce = bi ? qt + E[Vn] + O[Vn] - ct - $.altAxis : qr, He = h && bi ? YJ(te, qt, ce) : q2(h ? te : Zi, qt, h ? ce : qr);
40724
40724
  M[x] = He, H[x] = He - qt;
40725
40725
  }
40726
40726
  e.modifiersData[r] = H;
@@ -41136,7 +41136,7 @@ var XD = {
41136
41136
  role: "tooltip",
41137
41137
  theme: "",
41138
41138
  zIndex: 9999
41139
- }, _r = Object.assign({
41139
+ }, Lr = Object.assign({
41140
41140
  appendTo: KD,
41141
41141
  aria: {
41142
41142
  content: "auto",
@@ -41184,11 +41184,11 @@ var XD = {
41184
41184
  touch: !0,
41185
41185
  trigger: "mouseenter focus",
41186
41186
  triggerTarget: null
41187
- }, XD, ote), ate = Object.keys(_r), lte = function(e) {
41187
+ }, XD, ote), ate = Object.keys(Lr), lte = function(e) {
41188
41188
  process.env.NODE_ENV !== "production" && eN(e, []);
41189
41189
  var t = Object.keys(e);
41190
41190
  t.forEach(function(r) {
41191
- _r[r] = e[r];
41191
+ Lr[r] = e[r];
41192
41192
  });
41193
41193
  };
41194
41194
  function JD(n) {
@@ -41196,14 +41196,14 @@ function JD(n) {
41196
41196
  var s = i.name, o = i.defaultValue;
41197
41197
  if (s) {
41198
41198
  var a;
41199
- r[s] = n[s] !== void 0 ? n[s] : (a = _r[s]) != null ? a : o;
41199
+ r[s] = n[s] !== void 0 ? n[s] : (a = Lr[s]) != null ? a : o;
41200
41200
  }
41201
41201
  return r;
41202
41202
  }, {});
41203
41203
  return Object.assign({}, n, t);
41204
41204
  }
41205
41205
  function ute(n, e) {
41206
- var t = e ? Object.keys(JD(Object.assign({}, _r, {
41206
+ var t = e ? Object.keys(JD(Object.assign({}, Lr, {
41207
41207
  plugins: e
41208
41208
  }))) : ate, r = t.reduce(function(i, s) {
41209
41209
  var o = (n.getAttribute("data-tippy-" + s) || "").trim();
@@ -41225,7 +41225,7 @@ function PM(n, e) {
41225
41225
  var t = Object.assign({}, e, {
41226
41226
  content: GD(e.content, [n])
41227
41227
  }, e.ignoreAttributes ? {} : ute(n, e.plugins));
41228
- return t.aria = Object.assign({}, _r.aria, t.aria), t.aria = {
41228
+ return t.aria = Object.assign({}, Lr.aria, t.aria), t.aria = {
41229
41229
  expanded: t.aria.expanded === "auto" ? e.interactive : t.aria.expanded,
41230
41230
  content: t.aria.content === "auto" ? e.interactive ? null : "describedby" : t.aria.content
41231
41231
  }, t;
@@ -41234,7 +41234,7 @@ function eN(n, e) {
41234
41234
  n === void 0 && (n = {}), e === void 0 && (e = []);
41235
41235
  var t = Object.keys(n);
41236
41236
  t.forEach(function(r) {
41237
- var i = Vee(_r, Object.keys(XD)), s = !zee(i, r);
41237
+ var i = Vee(Lr, Object.keys(XD)), s = !zee(i, r);
41238
41238
  s && (s = e.filter(function(o) {
41239
41239
  return o.name === r;
41240
41240
  }).length === 0), Vs(s, ["`" + r + "`", "is not a valid prop. You may have spelled it incorrectly, or if it's", "a plugin, forgot to pass it in an array as props.plugins.", `
@@ -41288,7 +41288,7 @@ function tN(n) {
41288
41288
  tN.$$tippy = !0;
41289
41289
  var dte = 1, vm = [], hb = [];
41290
41290
  function fte(n, e) {
41291
- var t = PM(n, Object.assign({}, _r, JD(IM(e)))), r, i, s, o = !1, a = !1, l = !1, u = !1, c, d, f, h = [], p = EM(Wr, t.interactiveDebounce), g, y = dte++, v = null, b = Uee(t.plugins), C = {
41291
+ var t = PM(n, Object.assign({}, Lr, JD(IM(e)))), r, i, s, o = !1, a = !1, l = !1, u = !1, c, d, f, h = [], p = EM(Wr, t.interactiveDebounce), g, y = dte++, v = null, b = Uee(t.plugins), C = {
41292
41292
  // Is the instance currently enabled?
41293
41293
  isEnabled: !0,
41294
41294
  // Is the tippy currently showing and not transitioning out?
@@ -41327,7 +41327,7 @@ function fte(n, e) {
41327
41327
  var O = b.map(function(ie) {
41328
41328
  return ie.fn(w);
41329
41329
  }), D = n.hasAttribute("aria-expanded");
41330
- return Je(), ue(), ae(), Q("onCreate", [w]), t.showOnCreate && Zi(), M.addEventListener("mouseenter", function() {
41330
+ return et(), ue(), ae(), Q("onCreate", [w]), t.showOnCreate && Zi(), M.addEventListener("mouseenter", function() {
41331
41331
  w.props.interactive && w.state.isVisible && w.clearDelayTimeouts();
41332
41332
  }), M.addEventListener("mouseleave", function() {
41333
41333
  w.props.interactive && w.props.trigger.indexOf("mouseenter") >= 0 && ne().addEventListener("mousemove", p);
@@ -41354,7 +41354,7 @@ function fte(n, e) {
41354
41354
  return r7(M);
41355
41355
  }
41356
41356
  function Z(ie) {
41357
- return w.state.isMounted && !w.state.isVisible || Cs.isTouch || c && c.type === "focus" ? 0 : cb(w.props.delay, ie ? 0 : 1, _r.delay);
41357
+ return w.state.isMounted && !w.state.isVisible || Cs.isTouch || c && c.type === "focus" ? 0 : cb(w.props.delay, ie ? 0 : 1, Lr.delay);
41358
41358
  }
41359
41359
  function ae(ie) {
41360
41360
  ie === void 0 && (ie = !1), M.style.pointerEvents = w.props.interactive && !ie ? "" : "none", M.style.zIndex = "" + w.props.zIndex;
@@ -41455,16 +41455,16 @@ function fte(n, e) {
41455
41455
  });
41456
41456
  });
41457
41457
  }
41458
- function Je() {
41458
+ function et() {
41459
41459
  R() && (Ne("touchstart", nn, {
41460
41460
  passive: !0
41461
- }), Ne("touchend", Sr, {
41461
+ }), Ne("touchend", Cr, {
41462
41462
  passive: !0
41463
41463
  })), Hee(w.props.trigger).forEach(function(ie) {
41464
41464
  if (ie !== "manual")
41465
41465
  switch (Ne(ie, nn), ie) {
41466
41466
  case "mouseenter":
41467
- Ne("mouseleave", Sr);
41467
+ Ne("mouseleave", Cr);
41468
41468
  break;
41469
41469
  case "focus":
41470
41470
  Ne(nte ? "focusout" : "blur", rn);
@@ -41483,7 +41483,7 @@ function fte(n, e) {
41483
41483
  }
41484
41484
  function nn(ie) {
41485
41485
  var we, Ie = !1;
41486
- if (!(!w.state.isEnabled || Cr(ie) || a)) {
41486
+ if (!(!w.state.isEnabled || Mr(ie) || a)) {
41487
41487
  var lt = ((we = c) == null ? void 0 : we.type) === "focus";
41488
41488
  c = ie, g = ie.currentTarget, ue(), !w.state.isVisible && qee(ie) && vm.forEach(function(Ke) {
41489
41489
  return Ke(ie);
@@ -41504,8 +41504,8 @@ function fte(n, e) {
41504
41504
  Qee(lt, ie) && (me(), qr(ie));
41505
41505
  }
41506
41506
  }
41507
- function Sr(ie) {
41508
- var we = Cr(ie) || w.props.trigger.indexOf("click") >= 0 && o;
41507
+ function Cr(ie) {
41508
+ var we = Mr(ie) || w.props.trigger.indexOf("click") >= 0 && o;
41509
41509
  if (!we) {
41510
41510
  if (w.props.interactive) {
41511
41511
  w.hideWithInteractivity(ie);
@@ -41517,7 +41517,7 @@ function fte(n, e) {
41517
41517
  function rn(ie) {
41518
41518
  w.props.trigger.indexOf("focusin") < 0 && ie.target !== Y() || w.props.interactive && ie.relatedTarget && M.contains(ie.relatedTarget) || qr(ie);
41519
41519
  }
41520
- function Cr(ie) {
41520
+ function Mr(ie) {
41521
41521
  return Cs.isTouch ? R() !== ie.type.indexOf("touch") >= 0 : !1;
41522
41522
  }
41523
41523
  function Lo() {
@@ -41582,7 +41582,7 @@ function fte(n, e) {
41582
41582
  }
41583
41583
  function qt() {
41584
41584
  var ie = w.props.appendTo, we, Ie = Y();
41585
- w.props.interactive && ie === KD || ie === "parent" ? we = Ie.parentNode : we = GD(ie, [Ie]), we.contains(M) || we.appendChild(M), w.state.isMounted = !0, Lo(), process.env.NODE_ENV !== "production" && Vs(w.props.interactive && ie === _r.appendTo && Ie.nextElementSibling !== M, ["Interactive tippy element may not be accessible via keyboard", "navigation because it is not directly after the reference element", "in the DOM source order.", `
41585
+ w.props.interactive && ie === KD || ie === "parent" ? we = Ie.parentNode : we = GD(ie, [Ie]), we.contains(M) || we.appendChild(M), w.state.isMounted = !0, Lo(), process.env.NODE_ENV !== "production" && Vs(w.props.interactive && ie === Lr.appendTo && Ie.nextElementSibling !== M, ["Interactive tippy element may not be accessible via keyboard", "navigation because it is not directly after the reference element", "in the DOM source order.", `
41586
41586
 
41587
41587
  `, "Using a wrapper <div> or <span> tag around the reference element", "solves this by creating a new parentNode context.", `
41588
41588
 
@@ -41629,7 +41629,7 @@ function fte(n, e) {
41629
41629
  var we = w.props, Ie = PM(n, Object.assign({}, we, IM(ie), {
41630
41630
  ignoreAttributes: !0
41631
41631
  }));
41632
- w.props = Ie, Je(), we.interactiveDebounce !== Ie.interactiveDebounce && (me(), p = EM(Wr, Ie.interactiveDebounce)), we.triggerTarget && !Ie.triggerTarget ? Vu(we.triggerTarget).forEach(function(lt) {
41632
+ w.props = Ie, et(), we.interactiveDebounce !== Ie.interactiveDebounce && (me(), p = EM(Wr, Ie.interactiveDebounce)), we.triggerTarget && !Ie.triggerTarget ? Vu(we.triggerTarget).forEach(function(lt) {
41633
41633
  lt.removeAttribute("aria-expanded");
41634
41634
  }) : Ie.triggerTarget && n.removeAttribute("aria-expanded"), ue(), ae(), E && E(we, Ie), w.popperInstance && (Lo(), Vn().forEach(function(lt) {
41635
41635
  requestAnimationFrame(lt._tippy.popperInstance.forceUpdate);
@@ -41643,7 +41643,7 @@ function fte(n, e) {
41643
41643
  }
41644
41644
  function kt() {
41645
41645
  process.env.NODE_ENV !== "production" && Vs(w.state.isDestroyed, Ou("show"));
41646
- var ie = w.state.isVisible, we = w.state.isDestroyed, Ie = !w.state.isEnabled, lt = Cs.isTouch && !w.props.touch, Ke = cb(w.props.duration, 0, _r.duration);
41646
+ var ie = w.state.isVisible, we = w.state.isDestroyed, Ie = !w.state.isEnabled, lt = Cs.isTouch && !w.props.touch, Ke = cb(w.props.duration, 0, Lr.duration);
41647
41647
  if (!(ie || we || Ie || lt) && !Y().hasAttribute("disabled") && (Q("onShow", [w], !1), w.props.onShow(w) !== !1)) {
41648
41648
  if (w.state.isVisible = !0, H() && (M.style.visibility = "visible"), ae(), q(), w.state.isMounted || (M.style.transition = "none"), H()) {
41649
41649
  var Hn = B(), Kr = Hn.box, Mu = Hn.content;
@@ -41665,7 +41665,7 @@ function fte(n, e) {
41665
41665
  }
41666
41666
  function _s() {
41667
41667
  process.env.NODE_ENV !== "production" && Vs(w.state.isDestroyed, Ou("hide"));
41668
- var ie = !w.state.isVisible, we = w.state.isDestroyed, Ie = !w.state.isEnabled, lt = cb(w.props.duration, 1, _r.duration);
41668
+ var ie = !w.state.isVisible, we = w.state.isDestroyed, Ie = !w.state.isEnabled, lt = cb(w.props.duration, 1, Lr.duration);
41669
41669
  if (!(ie || we || Ie) && (Q("onHide", [w], !1), w.props.onHide(w) !== !1)) {
41670
41670
  if (w.state.isVisible = !1, w.state.isShown = !1, u = !1, o = !1, H() && (M.style.visibility = "hidden"), me(), re(), ae(!0), H()) {
41671
41671
  var Ke = B(), Hn = Ke.box, Kr = Ke.content;
@@ -41690,7 +41690,7 @@ function fte(n, e) {
41690
41690
  }
41691
41691
  function Xd(n, e) {
41692
41692
  e === void 0 && (e = {});
41693
- var t = _r.plugins.concat(e.plugins || []);
41693
+ var t = Lr.plugins.concat(e.plugins || []);
41694
41694
  process.env.NODE_ENV !== "production" && (ste(n), eN(e, t)), ete();
41695
41695
  var r = Object.assign({}, e, {
41696
41696
  plugins: t
@@ -41710,7 +41710,7 @@ function Xd(n, e) {
41710
41710
  }, []);
41711
41711
  return $f(n) ? a[0] : a;
41712
41712
  }
41713
- Xd.defaultProps = _r;
41713
+ Xd.defaultProps = Lr;
41714
41714
  Xd.setDefaultProps = lte;
41715
41715
  Xd.currentInput = Cs;
41716
41716
  Object.assign({}, $D, {
@@ -41825,7 +41825,7 @@ class hte {
41825
41825
  }
41826
41826
  }
41827
41827
  const nN = (n) => new bn({
41828
- key: typeof n.pluginKey == "string" ? new wr(n.pluginKey) : n.pluginKey,
41828
+ key: typeof n.pluginKey == "string" ? new Sr(n.pluginKey) : n.pluginKey,
41829
41829
  view: (e) => new hte({ view: e, ...n })
41830
41830
  });
41831
41831
  On.create({
@@ -41917,7 +41917,7 @@ class pte {
41917
41917
  }
41918
41918
  }
41919
41919
  const rN = (n) => new bn({
41920
- key: typeof n.pluginKey == "string" ? new wr(n.pluginKey) : n.pluginKey,
41920
+ key: typeof n.pluginKey == "string" ? new Sr(n.pluginKey) : n.pluginKey,
41921
41921
  view: (e) => new pte({ view: e, ...n })
41922
41922
  });
41923
41923
  On.create({
@@ -42038,7 +42038,7 @@ const gte = ke({
42038
42038
  const e = z(), t = Oo();
42039
42039
  return tn(() => {
42040
42040
  const r = n.editor;
42041
- r && r.options.element && e.value && Lr(() => {
42041
+ r && r.options.element && e.value && fr(() => {
42042
42042
  if (!e.value || !r.options.element.firstChild)
42043
42043
  return;
42044
42044
  const i = Ur(e.value);
@@ -54413,7 +54413,7 @@ function Gte() {
54413
54413
  updateSelect: c
54414
54414
  };
54415
54415
  }
54416
- var gr = "top", gi = "bottom", yi = "right", yr = "left", r8 = "auto", Fp = [gr, gi, yi, yr], Bd = "start", jf = "end", Yte = "clippingParents", uN = "viewport", f2 = "popper", Qte = "reference", zM = /* @__PURE__ */ Fp.reduce(function(n, e) {
54416
+ var yr = "top", gi = "bottom", yi = "right", vr = "left", r8 = "auto", Fp = [yr, gi, yi, vr], Bd = "start", jf = "end", Yte = "clippingParents", uN = "viewport", f2 = "popper", Qte = "reference", zM = /* @__PURE__ */ Fp.reduce(function(n, e) {
54417
54417
  return n.concat([e + "-" + Bd, e + "-" + jf]);
54418
54418
  }, []), cN = /* @__PURE__ */ [].concat(Fp, [r8]).reduce(function(n, e) {
54419
54419
  return n.concat([e, e + "-" + Bd, e + "-" + jf]);
@@ -54598,9 +54598,9 @@ var pne = function(e, t) {
54598
54598
  })) : e, pN(typeof e != "number" ? e : mN(e, Fp));
54599
54599
  };
54600
54600
  function mne(n) {
54601
- var e, t = n.state, r = n.name, i = n.options, s = t.elements.arrow, o = t.modifiersData.popperOffsets, a = Is(t.placement), l = s8(a), u = [yr, yi].indexOf(a) >= 0, c = u ? "height" : "width";
54601
+ var e, t = n.state, r = n.name, i = n.options, s = t.elements.arrow, o = t.modifiersData.popperOffsets, a = Is(t.placement), l = s8(a), u = [vr, yi].indexOf(a) >= 0, c = u ? "height" : "width";
54602
54602
  if (!(!s || !o)) {
54603
- var d = pne(i.padding, t), f = i8(s), h = l === "y" ? gr : yr, p = l === "y" ? gi : yi, g = t.rects.reference[c] + t.rects.reference[l] - o[l] - t.rects.popper[c], y = o[l] - t.rects.reference[l], v = Bp(s), b = v ? l === "y" ? v.clientHeight || 0 : v.clientWidth || 0 : 0, C = g / 2 - y / 2, w = d[h], x = b - f[c] - d[p], M = b / 2 - f[c] / 2 + C, E = Y2(w, M, x), O = l;
54603
+ var d = pne(i.padding, t), f = i8(s), h = l === "y" ? yr : vr, p = l === "y" ? gi : yi, g = t.rects.reference[c] + t.rects.reference[l] - o[l] - t.rects.popper[c], y = o[l] - t.rects.reference[l], v = Bp(s), b = v ? l === "y" ? v.clientHeight || 0 : v.clientWidth || 0 : 0, C = g / 2 - y / 2, w = d[h], x = b - f[c] - d[p], M = b / 2 - f[c] / 2 + C, E = Y2(w, M, x), O = l;
54604
54604
  t.modifiersData[r] = (e = {}, e[O] = E, e.centerOffset = E - M, e);
54605
54605
  }
54606
54606
  }
@@ -54634,15 +54634,15 @@ function bne(n) {
54634
54634
  };
54635
54635
  }
54636
54636
  function HM(n) {
54637
- var e, t = n.popper, r = n.popperRect, i = n.placement, s = n.variation, o = n.offsets, a = n.position, l = n.gpuAcceleration, u = n.adaptive, c = n.roundOffsets, d = n.isFixed, f = c === !0 ? bne(o) : typeof c == "function" ? c(o) : o, h = f.x, p = h === void 0 ? 0 : h, g = f.y, y = g === void 0 ? 0 : g, v = o.hasOwnProperty("x"), b = o.hasOwnProperty("y"), C = yr, w = gr, x = window;
54637
+ var e, t = n.popper, r = n.popperRect, i = n.placement, s = n.variation, o = n.offsets, a = n.position, l = n.gpuAcceleration, u = n.adaptive, c = n.roundOffsets, d = n.isFixed, f = c === !0 ? bne(o) : typeof c == "function" ? c(o) : o, h = f.x, p = h === void 0 ? 0 : h, g = f.y, y = g === void 0 ? 0 : g, v = o.hasOwnProperty("x"), b = o.hasOwnProperty("y"), C = vr, w = yr, x = window;
54638
54638
  if (u) {
54639
54639
  var M = Bp(t), E = "clientHeight", O = "clientWidth";
54640
- if (M === Ui(t) && (M = ul(t), Ps(M).position !== "static" && a === "absolute" && (E = "scrollHeight", O = "scrollWidth")), M = M, i === gr || (i === yr || i === yi) && s === jf) {
54640
+ if (M === Ui(t) && (M = ul(t), Ps(M).position !== "static" && a === "absolute" && (E = "scrollHeight", O = "scrollWidth")), M = M, i === yr || (i === vr || i === yi) && s === jf) {
54641
54641
  w = gi;
54642
54642
  var D = d && x.visualViewport ? x.visualViewport.height : M[E];
54643
54643
  y -= D - r.height, y *= l ? 1 : -1;
54644
54644
  }
54645
- if (i === yr || (i === gr || i === gi) && s === jf) {
54645
+ if (i === vr || (i === yr || i === gi) && s === jf) {
54646
54646
  C = yi;
54647
54647
  var $ = d && x.visualViewport ? x.visualViewport.width : M[O];
54648
54648
  p -= $ - r.width, p *= l ? 1 : -1;
@@ -54799,7 +54799,7 @@ function One(n, e, t) {
54799
54799
  function yN(n) {
54800
54800
  var e = n.reference, t = n.element, r = n.placement, i = r ? Is(r) : null, s = r ? Hd(r) : null, o = e.x + e.width / 2 - t.width / 2, a = e.y + e.height / 2 - t.height / 2, l;
54801
54801
  switch (i) {
54802
- case gr:
54802
+ case yr:
54803
54803
  l = {
54804
54804
  x: o,
54805
54805
  y: e.y - t.height
@@ -54817,7 +54817,7 @@ function yN(n) {
54817
54817
  y: a
54818
54818
  };
54819
54819
  break;
54820
- case yr:
54820
+ case vr:
54821
54821
  l = {
54822
54822
  x: e.x - t.width,
54823
54823
  y: a
@@ -54859,7 +54859,7 @@ function zf(n, e) {
54859
54859
  if (c === f2 && D) {
54860
54860
  var $ = D[i];
54861
54861
  Object.keys(O).forEach(function(R) {
54862
- var H = [yi, gi].indexOf(R) >= 0 ? 1 : -1, Y = [gr, gi].indexOf(R) >= 0 ? "y" : "x";
54862
+ var H = [yi, gi].indexOf(R) >= 0 ? 1 : -1, Y = [yr, gi].indexOf(R) >= 0 ? "y" : "x";
54863
54863
  O[R] += $[Y] * H;
54864
54864
  });
54865
54865
  }
@@ -54904,13 +54904,13 @@ function Pne(n) {
54904
54904
  allowedAutoPlacements: g
54905
54905
  }) : q);
54906
54906
  }, []), x = e.rects.reference, M = e.rects.popper, E = /* @__PURE__ */ new Map(), O = !0, D = w[0], $ = 0; $ < w.length; $++) {
54907
- var R = w[$], H = Is(R), Y = Hd(R) === Bd, ne = [gr, gi].indexOf(H) >= 0, B = ne ? "width" : "height", Z = zf(e, {
54907
+ var R = w[$], H = Is(R), Y = Hd(R) === Bd, ne = [yr, gi].indexOf(H) >= 0, B = ne ? "width" : "height", Z = zf(e, {
54908
54908
  placement: R,
54909
54909
  boundary: c,
54910
54910
  rootBoundary: d,
54911
54911
  altBoundary: f,
54912
54912
  padding: u
54913
- }), ae = ne ? Y ? yi : yr : Y ? gi : gr;
54913
+ }), ae = ne ? Y ? yi : vr : Y ? gi : yr;
54914
54914
  x[B] > M[B] && (ae = gg(ae));
54915
54915
  var Q = gg(ae), W = [];
54916
54916
  if (s && W.push(Z[H] <= 0), a && W.push(Z[ae] <= 0, Z[Q] <= 0), W.every(function(K) {
@@ -54962,7 +54962,7 @@ function WM(n, e, t) {
54962
54962
  };
54963
54963
  }
54964
54964
  function qM(n) {
54965
- return [gr, yi, gi, yr].some(function(e) {
54965
+ return [yr, yi, gi, vr].some(function(e) {
54966
54966
  return n[e] >= 0;
54967
54967
  });
54968
54968
  }
@@ -54990,10 +54990,10 @@ var Rne = {
54990
54990
  fn: Lne
54991
54991
  };
54992
54992
  function $ne(n, e, t) {
54993
- var r = Is(n), i = [yr, gr].indexOf(r) >= 0 ? -1 : 1, s = typeof t == "function" ? t(Object.assign({}, e, {
54993
+ var r = Is(n), i = [vr, yr].indexOf(r) >= 0 ? -1 : 1, s = typeof t == "function" ? t(Object.assign({}, e, {
54994
54994
  placement: n
54995
54995
  })) : t, o = s[0], a = s[1];
54996
- return o = o || 0, a = (a || 0) * i, [yr, yi].indexOf(r) >= 0 ? {
54996
+ return o = o || 0, a = (a || 0) * i, [vr, yi].indexOf(r) >= 0 ? {
54997
54997
  x: a,
54998
54998
  y: o
54999
54999
  } : {
@@ -55053,14 +55053,14 @@ function Hne(n) {
55053
55053
  };
55054
55054
  if (M) {
55055
55055
  if (s) {
55056
- var Y, ne = w === "y" ? gr : yr, B = w === "y" ? gi : yi, Z = w === "y" ? "height" : "width", ae = M[w], Q = ae + y[ne], W = ae - y[B], ue = h ? -O[Z] / 2 : 0, me = b === Bd ? E[Z] : O[Z], le = b === Bd ? -O[Z] : -E[Z], ee = e.elements.arrow, K = h && ee ? i8(ee) : {
55056
+ var Y, ne = w === "y" ? yr : vr, B = w === "y" ? gi : yi, Z = w === "y" ? "height" : "width", ae = M[w], Q = ae + y[ne], W = ae - y[B], ue = h ? -O[Z] / 2 : 0, me = b === Bd ? E[Z] : O[Z], le = b === Bd ? -O[Z] : -E[Z], ee = e.elements.arrow, K = h && ee ? i8(ee) : {
55057
55057
  width: 0,
55058
55058
  height: 0
55059
- }, q = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : hN(), re = q[ne], fe = q[B], ve = Y2(0, E[Z], K[Z]), De = C ? E[Z] / 2 - ue - ve - re - $.mainAxis : me - ve - re - $.mainAxis, Ne = C ? -E[Z] / 2 + ue + ve + fe + $.mainAxis : le + ve + fe + $.mainAxis, Je = e.elements.arrow && Bp(e.elements.arrow), bt = Je ? w === "y" ? Je.clientTop || 0 : Je.clientLeft || 0 : 0, nn = (Y = R == null ? void 0 : R[w]) != null ? Y : 0, Wr = ae + De - nn - bt, Sr = ae + Ne - nn, rn = Y2(h ? t3(Q, Wr) : Q, ae, h ? iu(W, Sr) : W);
55059
+ }, q = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : hN(), re = q[ne], fe = q[B], ve = Y2(0, E[Z], K[Z]), De = C ? E[Z] / 2 - ue - ve - re - $.mainAxis : me - ve - re - $.mainAxis, Ne = C ? -E[Z] / 2 + ue + ve + fe + $.mainAxis : le + ve + fe + $.mainAxis, et = e.elements.arrow && Bp(e.elements.arrow), bt = et ? w === "y" ? et.clientTop || 0 : et.clientLeft || 0 : 0, nn = (Y = R == null ? void 0 : R[w]) != null ? Y : 0, Wr = ae + De - nn - bt, Cr = ae + Ne - nn, rn = Y2(h ? t3(Q, Wr) : Q, ae, h ? iu(W, Cr) : W);
55060
55060
  M[w] = rn, H[w] = rn - ae;
55061
55061
  }
55062
55062
  if (a) {
55063
- var Cr, Lo = w === "x" ? gr : yr, Ro = w === "x" ? gi : yi, qt = M[x], Vn = x === "y" ? "height" : "width", Zi = qt + y[Lo], qr = qt - y[Ro], bi = [gr, yr].indexOf(v) !== -1, ct = (Cr = R == null ? void 0 : R[x]) != null ? Cr : 0, te = bi ? Zi : qt - E[Vn] - O[Vn] - ct + $.altAxis, ce = bi ? qt + E[Vn] + O[Vn] - ct - $.altAxis : qr, He = h && bi ? hne(te, qt, ce) : Y2(h ? te : Zi, qt, h ? ce : qr);
55063
+ var Mr, Lo = w === "x" ? yr : vr, Ro = w === "x" ? gi : yi, qt = M[x], Vn = x === "y" ? "height" : "width", Zi = qt + y[Lo], qr = qt - y[Ro], bi = [yr, vr].indexOf(v) !== -1, ct = (Mr = R == null ? void 0 : R[x]) != null ? Mr : 0, te = bi ? Zi : qt - E[Vn] - O[Vn] - ct + $.altAxis, ce = bi ? qt + E[Vn] + O[Vn] - ct - $.altAxis : qr, He = h && bi ? hne(te, qt, ce) : Y2(h ? te : Zi, qt, h ? ce : qr);
55064
55064
  M[x] = He, H[x] = He - qt;
55065
55065
  }
55066
55066
  e.modifiersData[r] = H;
@@ -55307,7 +55307,7 @@ const rre = ke({
55307
55307
  select: (n) => !0
55308
55308
  },
55309
55309
  setup() {
55310
- const { state: n, updateEmoji: e, updateSelect: t } = vr("store"), r = z(null), i = J(() => nre(
55310
+ const { state: n, updateEmoji: e, updateSelect: t } = br("store"), r = z(null), i = J(() => nre(
55311
55311
  n.emojis,
55312
55312
  n.search,
55313
55313
  n.skinTone,
@@ -55404,7 +55404,7 @@ var fre = /* @__PURE__ */ jp(rre, [["render", dre]]), hre = "data:image/svg+xml;
55404
55404
  const Sre = ke({
55405
55405
  name: "Header",
55406
55406
  setup(n) {
55407
- const { state: e, updateSearch: t, updateActiveGroup: r } = vr("store"), i = J(() => !e.options.hideSearch), s = J(() => !e.options.hideGroupIcons), o = JSON.parse(JSON.stringify(e.orderedGroupKeys)), a = J(
55407
+ const { state: e, updateSearch: t, updateActiveGroup: r } = br("store"), i = J(() => !e.options.hideSearch), s = J(() => !e.options.hideGroupIcons), o = JSON.parse(JSON.stringify(e.orderedGroupKeys)), a = J(
55408
55408
  () => e.options.staticTexts.placeholder || ""
55409
55409
  ), l = J({
55410
55410
  get: () => e.search,
@@ -55492,7 +55492,7 @@ var Dre = /* @__PURE__ */ jp(Sre, [["render", Ore]]);
55492
55492
  const Nre = ke({
55493
55493
  name: "Header",
55494
55494
  setup() {
55495
- const { state: n, updateSkinTone: e } = vr("store"), t = z(!1), r = z(!1), i = J(() => n.skinTone), s = J(
55495
+ const { state: n, updateSkinTone: e } = br("store"), t = z(!1), r = z(!1), i = J(() => n.skinTone), s = J(
55496
55496
  () => n.options.staticTexts.skinTone || "Skin tone"
55497
55497
  ), o = J(() => !n.options.disableSkinTones), a = bN() ? "is-mac" : "", l = J(() => ({
55498
55498
  ...n.emoji,
@@ -55614,7 +55614,7 @@ const zre = ke({
55614
55614
  setup(n, { emit: e }) {
55615
55615
  const t = z(), r = z(), i = z(), s = z(!1), o = z(n.text), a = n.type === "input" || n.type === "textarea";
55616
55616
  let l = -1;
55617
- const { state: u } = vr("store"), c = J(() => u.options.colorTheme);
55617
+ const { state: u } = br("store"), c = J(() => u.options.colorTheme);
55618
55618
  function d(y) {
55619
55619
  if (a) {
55620
55620
  const v = u.options.mode;
@@ -56208,7 +56208,7 @@ const Xre = /^\s*>\s$/, Jre = Zr.create({
56208
56208
  // this plugin creates a code block for pasted content from VS Code
56209
56209
  // we can also detect the copied code language
56210
56210
  new bn({
56211
- key: new wr("codeBlockVSCodeHandler"),
56211
+ key: new Sr("codeBlockVSCodeHandler"),
56212
56212
  props: {
56213
56213
  handlePaste: (n, e) => {
56214
56214
  if (!e.clipboardData || this.editor.isActive(this.type.name))
@@ -56932,7 +56932,7 @@ function vg(n) {
56932
56932
  }
56933
56933
  return vb;
56934
56934
  }
56935
- const Ya = new wr("history"), Pie = new wr("closeHistory");
56935
+ const Ya = new Sr("history"), Pie = new Sr("closeHistory");
56936
56936
  function _ie(n = {}) {
56937
56937
  return n = {
56938
56938
  depth: n.depth || 100,
@@ -58122,7 +58122,7 @@ function y8(n, e, t) {
58122
58122
  }
58123
58123
  function bse(n) {
58124
58124
  return new bn({
58125
- key: new wr("autolink"),
58125
+ key: new Sr("autolink"),
58126
58126
  appendTransaction: (e, t, r) => {
58127
58127
  const i = e.some((u) => u.docChanged) && !t.doc.eq(r.doc), s = e.some((u) => u.getMeta("preventAutolink"));
58128
58128
  if (!i || s)
@@ -58155,7 +58155,7 @@ function bse(n) {
58155
58155
  }
58156
58156
  function wse(n) {
58157
58157
  return new bn({
58158
- key: new wr("handleClickLink"),
58158
+ key: new Sr("handleClickLink"),
58159
58159
  props: {
58160
58160
  handleClick: (e, t, r) => {
58161
58161
  var i, s;
@@ -58175,7 +58175,7 @@ function wse(n) {
58175
58175
  }
58176
58176
  function Sse(n) {
58177
58177
  return new bn({
58178
- key: new wr("handlePasteLink"),
58178
+ key: new Sr("handlePasteLink"),
58179
58179
  props: {
58180
58180
  handlePaste: (e, t, r) => {
58181
58181
  const { state: i } = e, { selection: s } = i, { empty: o } = s;
@@ -58311,7 +58311,7 @@ const Cse = zr.create({
58311
58311
  addProseMirrorPlugins() {
58312
58312
  return [
58313
58313
  new bn({
58314
- key: new wr("placeholder"),
58314
+ key: new Sr("placeholder"),
58315
58315
  props: {
58316
58316
  decorations: ({ doc: n, selection: e }) => {
58317
58317
  var t;
@@ -58577,7 +58577,7 @@ var Pse = {
58577
58577
  Badge: v8
58578
58578
  },
58579
58579
  directives: {
58580
- ripple: br
58580
+ ripple: wr
58581
58581
  }
58582
58582
  }, Rse = ["aria-label", "disabled", "data-p-severity"];
58583
58583
  function $se(n, e, t, r, i, s) {
@@ -58832,7 +58832,7 @@ var ioe = {
58832
58832
  }
58833
58833
  },
58834
58834
  directives: {
58835
- ripple: br
58835
+ ripple: wr
58836
58836
  },
58837
58837
  components: {
58838
58838
  TimesIcon: vu,
@@ -59580,7 +59580,7 @@ var LN = {
59580
59580
  TimesIcon: vu
59581
59581
  },
59582
59582
  directives: {
59583
- ripple: br
59583
+ ripple: wr
59584
59584
  }
59585
59585
  }, Aoe = ["multiple", "accept", "disabled"], Eoe = ["accept", "disabled", "multiple"];
59586
59586
  function Toe(n, e, t, r, i, s) {
@@ -60076,8 +60076,8 @@ const _oe = /* @__PURE__ */ Ue(Ioe, [["render", Poe]]), Loe = ke({
60076
60076
  (ae = (Z = d.value) == null ? void 0 : Z.fileUpload) == null || ae.choose();
60077
60077
  }, $ = (Z) => {
60078
60078
  B.value.chain().focus().insertContent(Z).run(), s.value.$el.click();
60079
- }, R = () => {
60080
- if (u.value) {
60079
+ }, R = async () => {
60080
+ if (await fr(), u.value) {
60081
60081
  const Z = p.value, ae = (visualViewport == null ? void 0 : visualViewport.height) || window.innerHeight;
60082
60082
  p.value = g.value - ae > 0, Z !== p.value && (u.value = p.value, e("keyboard-open", p.value));
60083
60083
  }
@@ -60523,7 +60523,7 @@ const RN = /* @__PURE__ */ Ue(Loe, [["render", zoe], ["__scopeId", "data-v-adbd7
60523
60523
  u.value === "comment" ? w() : b();
60524
60524
  }, M = async () => {
60525
60525
  var H, Y;
60526
- i.value = !0, s.value = n.comment, await Lr(), (Y = (H = c.value) == null ? void 0 : H.editor) == null || Y.chain().focus("end").run(), o.value = !1;
60526
+ i.value = !0, s.value = n.comment, await fr(), (Y = (H = c.value) == null ? void 0 : H.editor) == null || Y.chain().focus("end").run(), o.value = !1;
60527
60527
  const R = document.getElementById(`comment-${n.id}`);
60528
60528
  R && !jr.md && R.scrollIntoView({ block: "center", behavior: "smooth" });
60529
60529
  }, E = () => {
@@ -61005,7 +61005,7 @@ var S8 = {
61005
61005
  firstDayOfWeek: 0,
61006
61006
  firstWeekContainsDate: 1
61007
61007
  }, mae = /\[([^\]]+)]|YYYY|YY?|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|m{1,2}|s{1,2}|Z{1,2}|S{1,3}|w{1,2}|x|X|a|A/g;
61008
- function Ar(n) {
61008
+ function Er(n) {
61009
61009
  for (var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 2, t = "".concat(Math.abs(n)), r = n < 0 ? "-" : ""; t.length < e; )
61010
61010
  t = "0".concat(t);
61011
61011
  return r + t;
@@ -61015,7 +61015,7 @@ function fk(n) {
61015
61015
  }
61016
61016
  function hk(n) {
61017
61017
  var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "", t = n > 0 ? "-" : "+", r = Math.abs(n), i = Math.floor(r / 60), s = r % 60;
61018
- return t + Ar(i, 2) + e + Ar(s, 2);
61018
+ return t + Er(i, 2) + e + Er(s, 2);
61019
61019
  }
61020
61020
  var pk = function(e, t, r) {
61021
61021
  var i = e < 12 ? "AM" : "PM";
@@ -61027,11 +61027,11 @@ var pk = function(e, t, r) {
61027
61027
  },
61028
61028
  // Year: 00, 01, ..., 99
61029
61029
  YY: function(e) {
61030
- return Ar(e.getFullYear(), 4).substr(2);
61030
+ return Er(e.getFullYear(), 4).substr(2);
61031
61031
  },
61032
61032
  // Year: 1900, 1901, ..., 2099
61033
61033
  YYYY: function(e) {
61034
- return Ar(e.getFullYear(), 4);
61034
+ return Er(e.getFullYear(), 4);
61035
61035
  },
61036
61036
  // Month: 1, 2, ..., 12
61037
61037
  M: function(e) {
@@ -61039,7 +61039,7 @@ var pk = function(e, t, r) {
61039
61039
  },
61040
61040
  // Month: 01, 02, ..., 12
61041
61041
  MM: function(e) {
61042
- return Ar(e.getMonth() + 1, 2);
61042
+ return Er(e.getMonth() + 1, 2);
61043
61043
  },
61044
61044
  MMM: function(e, t) {
61045
61045
  return t.monthsShort[e.getMonth()];
@@ -61053,7 +61053,7 @@ var pk = function(e, t, r) {
61053
61053
  },
61054
61054
  // Day of month: 01, 02, ..., 31
61055
61055
  DD: function(e) {
61056
- return Ar(e.getDate(), 2);
61056
+ return Er(e.getDate(), 2);
61057
61057
  },
61058
61058
  // Hour: 0, 1, ... 23
61059
61059
  H: function(e) {
@@ -61061,7 +61061,7 @@ var pk = function(e, t, r) {
61061
61061
  },
61062
61062
  // Hour: 00, 01, ..., 23
61063
61063
  HH: function(e) {
61064
- return Ar(e.getHours(), 2);
61064
+ return Er(e.getHours(), 2);
61065
61065
  },
61066
61066
  // Hour: 1, 2, ..., 12
61067
61067
  h: function(e) {
@@ -61071,7 +61071,7 @@ var pk = function(e, t, r) {
61071
61071
  // Hour: 01, 02, ..., 12
61072
61072
  hh: function() {
61073
61073
  var e = tf.h.apply(tf, arguments);
61074
- return Ar(e, 2);
61074
+ return Er(e, 2);
61075
61075
  },
61076
61076
  // Minute: 0, 1, ..., 59
61077
61077
  m: function(e) {
@@ -61079,7 +61079,7 @@ var pk = function(e, t, r) {
61079
61079
  },
61080
61080
  // Minute: 00, 01, ..., 59
61081
61081
  mm: function(e) {
61082
- return Ar(e.getMinutes(), 2);
61082
+ return Er(e.getMinutes(), 2);
61083
61083
  },
61084
61084
  // Second: 0, 1, ..., 59
61085
61085
  s: function(e) {
@@ -61087,7 +61087,7 @@ var pk = function(e, t, r) {
61087
61087
  },
61088
61088
  // Second: 00, 01, ..., 59
61089
61089
  ss: function(e) {
61090
- return Ar(e.getSeconds(), 2);
61090
+ return Er(e.getSeconds(), 2);
61091
61091
  },
61092
61092
  // 1/10 of second: 0, 1, ..., 9
61093
61093
  S: function(e) {
@@ -61095,11 +61095,11 @@ var pk = function(e, t, r) {
61095
61095
  },
61096
61096
  // 1/100 of second: 00, 01, ..., 99
61097
61097
  SS: function(e) {
61098
- return Ar(Math.floor(e.getMilliseconds() / 10), 2);
61098
+ return Er(Math.floor(e.getMilliseconds() / 10), 2);
61099
61099
  },
61100
61100
  // Millisecond: 000, 001, ..., 999
61101
61101
  SSS: function(e) {
61102
- return Ar(e.getMilliseconds(), 3);
61102
+ return Er(e.getMilliseconds(), 3);
61103
61103
  },
61104
61104
  // Day of week: 0, 1, ..., 6
61105
61105
  d: function(e) {
@@ -61150,7 +61150,7 @@ var pk = function(e, t, r) {
61150
61150
  });
61151
61151
  },
61152
61152
  ww: function(e, t) {
61153
- return Ar(tf.w(e, t), 2);
61153
+ return Er(tf.w(e, t), 2);
61154
61154
  }
61155
61155
  };
61156
61156
  function C8(n, e) {
@@ -61465,7 +61465,7 @@ function Uae(n) {
61465
61465
  }
61466
61466
  const QN = "datepicker_locale", XN = "datepicker_prefixClass", JN = "datepicker_getWeek";
61467
61467
  function E8() {
61468
- return vr(QN, vv(v7()));
61468
+ return br(QN, vv(v7()));
61469
61469
  }
61470
61470
  function Zae(n) {
61471
61471
  const e = J(() => Ha(n.value) ? YN(v7(), n.value) : v7(n.value));
@@ -61475,13 +61475,13 @@ function Wae(n) {
61475
61475
  Ao(XN, n);
61476
61476
  }
61477
61477
  function nr() {
61478
- return vr(XN, "mx");
61478
+ return br(XN, "mx");
61479
61479
  }
61480
61480
  function qae(n) {
61481
61481
  Ao(JN, n);
61482
61482
  }
61483
61483
  function Kae() {
61484
- return vr(JN, w8);
61484
+ return br(JN, w8);
61485
61485
  }
61486
61486
  function Gae(n) {
61487
61487
  const e = n.style.display, t = n.style.visibility;
@@ -62935,7 +62935,7 @@ const t0e = ke({
62935
62935
  u && (e.value = parseInt(u.style.top) < 0 ? "top" : "bottom");
62936
62936
  };
62937
62937
  return vt(r, async (u) => {
62938
- u ? window.addEventListener("scroll", l) : window.removeEventListener("scroll", l), await Lr(), l();
62938
+ u ? window.addEventListener("scroll", l) : window.removeEventListener("scroll", l), await fr(), l();
62939
62939
  }), {
62940
62940
  // Refs
62941
62941
  calendarPosition: e,
@@ -63381,7 +63381,7 @@ function E0e(n, e, t, r, i, s) {
63381
63381
  n.mq.md && n.getCellClasses(c),
63382
63382
  { "bg-gray-10 animate-shimmer": n.loading }
63383
63383
  ]),
63384
- onClick: rt((d) => n.selectGridItem(u), ["prevent"])
63384
+ onClick: Qe((d) => n.selectGridItem(u), ["prevent"])
63385
63385
  }, oe(u.name), 11, k0e))), 128))
63386
63386
  ], 2)) : (S(), T("p", A0e, oe(n.noResultsText), 1))
63387
63387
  ])
@@ -63691,7 +63691,7 @@ function L0e(n, e, t, r, i, s) {
63691
63691
  key: 1,
63692
63692
  class: "close cursor-pointer flex order-3",
63693
63693
  onClick: e[4] || (e[4] = (a) => n.$emit("update:model-value", "")),
63694
- onMousedown: e[5] || (e[5] = rt(() => {
63694
+ onMousedown: e[5] || (e[5] = Qe(() => {
63695
63695
  }, ["prevent"]))
63696
63696
  }, [
63697
63697
  n.mq.md ? (S(), j(o, {
@@ -63816,7 +63816,7 @@ const F1e = /* @__PURE__ */ Ue(P0e, [["render", L0e], ["__scopeId", "data-v-320d
63816
63816
  const $ = D.direction[1], R = $ >= 0, H = $ <= 0 && t.value <= 0;
63817
63817
  !c.value && (R || H) && E(!H, "drag"), a.value = !1;
63818
63818
  }, E = async (D, $) => {
63819
- if (c.value = D, await Lr(), l.value && s.value === "up" && t.value <= 0 || $ === "drag") {
63819
+ if (c.value = D, await fr(), l.value && s.value === "up" && t.value <= 0 || $ === "drag") {
63820
63820
  const R = C.value ? C.value : 0;
63821
63821
  y("y", R, g, d), l.value = !1;
63822
63822
  }
@@ -64044,7 +64044,7 @@ const B1e = /* @__PURE__ */ Ue(R0e, [["render", rue], ["__scopeId", "data-v-4391
64044
64044
  }
64045
64045
  },
64046
64046
  setup(n, { slots: e }) {
64047
- const t = vr("size"), r = J(() => !!e.header), i = J(() => !!e.footer);
64047
+ const t = br("size"), r = J(() => !!e.header), i = J(() => !!e.footer);
64048
64048
  return { modalSize: t, hasHeader: r, hasFooter: i };
64049
64049
  }
64050
64050
  }), sue = {
@@ -64994,10 +64994,10 @@ function xue(n, e, t, r, i, s) {
64994
64994
  onFocus: e[14] || (e[14] = (o) => n.activate()),
64995
64995
  onBlur: e[15] || (e[15] = (o) => n.searchable ? !1 : n.deactivate()),
64996
64996
  onKeydown: [
64997
- e[16] || (e[16] = Pn(rt((o) => n.pointerForward(), ["self", "prevent"]), ["down"])),
64998
- e[17] || (e[17] = Pn(rt((o) => n.pointerBackward(), ["self", "prevent"]), ["up"]))
64997
+ e[16] || (e[16] = Pn(Qe((o) => n.pointerForward(), ["self", "prevent"]), ["down"])),
64998
+ e[17] || (e[17] = Pn(Qe((o) => n.pointerBackward(), ["self", "prevent"]), ["up"]))
64999
64999
  ],
65000
- onKeypress: e[18] || (e[18] = Pn(rt((o) => n.addPointerElement(o), ["stop", "self"]), ["enter", "tab"])),
65000
+ onKeypress: e[18] || (e[18] = Pn(Qe((o) => n.addPointerElement(o), ["stop", "self"]), ["enter", "tab"])),
65001
65001
  onKeyup: e[19] || (e[19] = Pn((o) => n.deactivate(), ["esc"])),
65002
65002
  role: "combobox",
65003
65003
  "aria-owns": "listbox-" + n.id
@@ -65006,7 +65006,7 @@ function xue(n, e, t, r, i, s) {
65006
65006
  _(
65007
65007
  "div",
65008
65008
  {
65009
- onMousedown: e[1] || (e[1] = rt((o) => n.toggle(), ["prevent", "stop"])),
65009
+ onMousedown: e[1] || (e[1] = Qe((o) => n.toggle(), ["prevent", "stop"])),
65010
65010
  class: "multiselect__select"
65011
65011
  },
65012
65012
  null,
@@ -65046,8 +65046,8 @@ function xue(n, e, t, r, i, s) {
65046
65046
  }, null, 8, ["textContent"]),
65047
65047
  _("i", {
65048
65048
  tabindex: "1",
65049
- onKeypress: Pn(rt((l) => n.removeElement(o), ["prevent"]), ["enter"]),
65050
- onMousedown: rt((l) => n.removeElement(o), ["prevent"]),
65049
+ onKeypress: Pn(Qe((l) => n.removeElement(o), ["prevent"]), ["enter"]),
65050
+ onMousedown: Qe((l) => n.removeElement(o), ["prevent"]),
65051
65051
  class: "multiselect__tag-icon"
65052
65052
  }, null, 40, ["onKeypress", "onMousedown"])
65053
65053
  ]))
@@ -65099,15 +65099,15 @@ function xue(n, e, t, r, i, s) {
65099
65099
  disabled: t.disabled,
65100
65100
  tabindex: t.tabindex,
65101
65101
  onInput: e[2] || (e[2] = (o) => n.updateSearch(o.target.value)),
65102
- onFocus: e[3] || (e[3] = rt((o) => n.activate(), ["prevent"])),
65103
- onBlur: e[4] || (e[4] = rt((o) => n.deactivate(), ["prevent"])),
65102
+ onFocus: e[3] || (e[3] = Qe((o) => n.activate(), ["prevent"])),
65103
+ onBlur: e[4] || (e[4] = Qe((o) => n.deactivate(), ["prevent"])),
65104
65104
  onKeyup: e[5] || (e[5] = Pn((o) => n.deactivate(), ["esc"])),
65105
65105
  onKeydown: [
65106
- e[6] || (e[6] = Pn(rt((o) => n.pointerForward(), ["prevent"]), ["down"])),
65107
- e[7] || (e[7] = Pn(rt((o) => n.pointerBackward(), ["prevent"]), ["up"])),
65108
- e[9] || (e[9] = Pn(rt((o) => n.removeLastElement(), ["stop"]), ["delete"]))
65106
+ e[6] || (e[6] = Pn(Qe((o) => n.pointerForward(), ["prevent"]), ["down"])),
65107
+ e[7] || (e[7] = Pn(Qe((o) => n.pointerBackward(), ["prevent"]), ["up"])),
65108
+ e[9] || (e[9] = Pn(Qe((o) => n.removeLastElement(), ["stop"]), ["delete"]))
65109
65109
  ],
65110
- onKeypress: e[8] || (e[8] = Pn(rt((o) => n.addPointerElement(o), ["prevent", "stop", "self"]), ["enter"])),
65110
+ onKeypress: e[8] || (e[8] = Pn(Qe((o) => n.addPointerElement(o), ["prevent", "stop", "self"]), ["enter"])),
65111
65111
  class: "multiselect__input",
65112
65112
  "aria-controls": "listbox-" + n.id
65113
65113
  }, null, 44, ["name", "id", "placeholder", "value", "disabled", "tabindex", "aria-controls"])) : L("v-if", !0),
@@ -65116,7 +65116,7 @@ function xue(n, e, t, r, i, s) {
65116
65116
  {
65117
65117
  key: 1,
65118
65118
  class: "multiselect__single",
65119
- onMousedown: e[10] || (e[10] = rt((...o) => n.toggle && n.toggle(...o), ["prevent"]))
65119
+ onMousedown: e[10] || (e[10] = Qe((...o) => n.toggle && n.toggle(...o), ["prevent"]))
65120
65120
  },
65121
65121
  [
65122
65122
  U(n.$slots, "singleLabel", { option: s.singleValue }, () => [
@@ -65135,7 +65135,7 @@ function xue(n, e, t, r, i, s) {
65135
65135
  {
65136
65136
  key: 2,
65137
65137
  class: "multiselect__placeholder",
65138
- onMousedown: e[11] || (e[11] = rt((...o) => n.toggle && n.toggle(...o), ["prevent"]))
65138
+ onMousedown: e[11] || (e[11] = Qe((...o) => n.toggle && n.toggle(...o), ["prevent"]))
65139
65139
  },
65140
65140
  [
65141
65141
  U(n.$slots, "placeholder", {}, () => [
@@ -65161,7 +65161,7 @@ function xue(n, e, t, r, i, s) {
65161
65161
  class: "multiselect__content-wrapper",
65162
65162
  onFocus: e[12] || (e[12] = (...o) => n.activate && n.activate(...o)),
65163
65163
  tabindex: "-1",
65164
- onMousedown: e[13] || (e[13] = rt(() => {
65164
+ onMousedown: e[13] || (e[13] = Qe(() => {
65165
65165
  }, ["prevent"])),
65166
65166
  style: { maxHeight: n.optimizedHeight + "px" },
65167
65167
  ref: "list"
@@ -65197,8 +65197,8 @@ function xue(n, e, t, r, i, s) {
65197
65197
  o && (o.$isLabel || o.$isDisabled) ? L("v-if", !0) : (S(), j("span", {
65198
65198
  key: 0,
65199
65199
  class: [n.optionHighlight(a, o), "multiselect__option"],
65200
- onClick: rt((l) => n.select(o), ["stop"]),
65201
- onMouseenter: rt((l) => n.pointerSet(a), ["self"]),
65200
+ onClick: Qe((l) => n.select(o), ["stop"]),
65201
+ onMouseenter: Qe((l) => n.pointerSet(a), ["self"]),
65202
65202
  "data-select": o && o.isTag ? n.tagPlaceholder : s.selectLabelText,
65203
65203
  "data-selected": s.selectedLabelText,
65204
65204
  "data-deselect": s.deselectLabelText
@@ -65222,8 +65222,8 @@ function xue(n, e, t, r, i, s) {
65222
65222
  "data-select": n.groupSelect && s.selectGroupLabelText,
65223
65223
  "data-deselect": n.groupSelect && s.deselectGroupLabelText,
65224
65224
  class: [n.groupHighlight(a, o), "multiselect__option"],
65225
- onMouseenter: rt((l) => n.groupSelect && n.pointerSet(a), ["self"]),
65226
- onMousedown: rt((l) => n.selectGroup(o), ["prevent"])
65225
+ onMouseenter: Qe((l) => n.groupSelect && n.pointerSet(a), ["self"]),
65226
+ onMousedown: Qe((l) => n.selectGroup(o), ["prevent"])
65227
65227
  }, [
65228
65228
  U(n.$slots, "option", {
65229
65229
  option: o,
@@ -65470,22 +65470,22 @@ const Oue = ke({
65470
65470
  // maybe change this to class - I am going to use this for external emails
65471
65471
  };
65472
65472
  if (!n.validationMethod(E)) {
65473
- await Lr(), i.value.search = M;
65473
+ await fr(), i.value.search = M;
65474
65474
  return;
65475
65475
  }
65476
65476
  }, v = () => {
65477
65477
  o.value = [], t("update:model-value", o.value);
65478
65478
  }, b = (M) => {
65479
- typeof M == "number" && M >= 0 ? o.value.splice(M, 1) : o.value = [], Lr(() => {
65479
+ typeof M == "number" && M >= 0 ? o.value.splice(M, 1) : o.value = [], fr(() => {
65480
65480
  t("update:model-value", o.value);
65481
65481
  });
65482
65482
  }, C = (M) => {
65483
- n.multiple && o.value && M.length === o.value.length && Lr(() => {
65483
+ n.multiple && o.value && M.length === o.value.length && fr(() => {
65484
65484
  o.value = [], t("update:model-value", o.value);
65485
65485
  });
65486
65486
  }, w = async () => {
65487
65487
  if (s.value && n.searchable) {
65488
- await Lr();
65488
+ await fr();
65489
65489
  const M = s.value.querySelector(
65490
65490
  ".multiselect__content-wrapper"
65491
65491
  ), E = s.value.querySelector(
@@ -65621,7 +65621,7 @@ function Yue(n, e, t, r, i, s) {
65621
65621
  "z-[1] cursor-pointer",
65622
65622
  "flex justify-end"
65623
65623
  ]),
65624
- onMousedown: rt(c, ["prevent"])
65624
+ onMousedown: Qe(c, ["prevent"])
65625
65625
  }, [
65626
65626
  _(o, {
65627
65627
  icon: "chevron-down",
@@ -65673,7 +65673,7 @@ function Yue(n, e, t, r, i, s) {
65673
65673
  P("span", {
65674
65674
  class: "tag-remove cursor-pointer shrink",
65675
65675
  tabindex: "1",
65676
- onMousedown: e[0] || (e[0] = rt((y) => n.removeElement(n.options[0][n.groupValues]), ["prevent", "stop"]))
65676
+ onMousedown: e[0] || (e[0] = Qe((y) => n.removeElement(n.options[0][n.groupValues]), ["prevent", "stop"]))
65677
65677
  }, [
65678
65678
  _(o, {
65679
65679
  icon: "close",
@@ -65820,11 +65820,12 @@ function Yue(n, e, t, r, i, s) {
65820
65820
  fn: se(() => [
65821
65821
  P("div", _ue, [
65822
65822
  _(a, {
65823
+ type: "button",
65823
65824
  disabled: n.selectedCount === n.selected.length,
65824
65825
  "no-min-width": !0,
65825
65826
  class: "!text-sm !font-normal !leading-4",
65826
65827
  status: "link",
65827
- onClick: n.selectAll
65828
+ onClick: Qe(n.selectAll, ["prevent"])
65828
65829
  }, {
65829
65830
  default: se(() => [
65830
65831
  _e(oe(n.$t("HC_SELECT_ALL")), 1)
@@ -65832,11 +65833,12 @@ function Yue(n, e, t, r, i, s) {
65832
65833
  _: 1
65833
65834
  }, 8, ["disabled", "onClick"]),
65834
65835
  _(a, {
65836
+ type: "button",
65835
65837
  disabled: !n.selected.length,
65836
65838
  "no-min-width": !0,
65837
65839
  class: "!text-sm !font-normal !leading-4",
65838
65840
  status: "link",
65839
- onClick: n.clearAll
65841
+ onClick: Qe(n.clearAll, ["prevent"])
65840
65842
  }, {
65841
65843
  default: se(() => [
65842
65844
  _e(oe(n.$t("HC_CLEAR_ALL")), 1)
@@ -65850,7 +65852,7 @@ function Yue(n, e, t, r, i, s) {
65850
65852
  ]), 1032, ["id", "modelValue", "options", "searchable", "multiple", "taggable", "label", "track-by", "group-values", "group-label", "group-select", "block-keys", "class", "disabled", "allow-empty", "close-on-select", "show-tags", "tag-placeholder", "placeholder", "open-direction", "onOpen", "onTag"])
65851
65853
  ], 8, Due);
65852
65854
  }
65853
- const H1e = /* @__PURE__ */ Ue(Oue, [["render", Yue], ["__scopeId", "data-v-19be4f40"]]);
65855
+ const H1e = /* @__PURE__ */ Ue(Oue, [["render", Yue], ["__scopeId", "data-v-295ea653"]]);
65854
65856
  var sn = {
65855
65857
  STARTS_WITH: "startsWith",
65856
65858
  CONTAINS: "contains",
@@ -67847,7 +67849,7 @@ var u5 = {
67847
67849
  }
67848
67850
  },
67849
67851
  directives: {
67850
- ripple: br
67852
+ ripple: wr
67851
67853
  },
67852
67854
  components: {
67853
67855
  VirtualScroller: L8,
@@ -69491,7 +69493,7 @@ var AP = {
69491
69493
  AngleDoubleLeftIcon: fP
69492
69494
  },
69493
69495
  directives: {
69494
- ripple: br
69496
+ ripple: wr
69495
69497
  }
69496
69498
  };
69497
69499
  function Ade(n, e, t, r, i, s) {
@@ -69636,7 +69638,7 @@ var IP = {
69636
69638
  AngleDoubleRightIcon: SP
69637
69639
  },
69638
69640
  directives: {
69639
- ripple: br
69641
+ ripple: wr
69640
69642
  }
69641
69643
  };
69642
69644
  function Ide(n, e, t, r, i, s) {
@@ -69674,7 +69676,7 @@ var xP = {
69674
69676
  AngleRightIcon: CP
69675
69677
  },
69676
69678
  directives: {
69677
- ripple: br
69679
+ ripple: wr
69678
69680
  }
69679
69681
  };
69680
69682
  function xde(n, e, t, r, i, s) {
@@ -69718,7 +69720,7 @@ var OP = {
69718
69720
  }
69719
69721
  },
69720
69722
  directives: {
69721
- ripple: br
69723
+ ripple: wr
69722
69724
  }
69723
69725
  }, Ode = ["aria-label", "aria-current", "onClick", "data-p-highlight"];
69724
69726
  function Dde(n, e, t, r, i, s) {
@@ -69766,7 +69768,7 @@ var DP = {
69766
69768
  AngleLeftIcon: MP
69767
69769
  },
69768
69770
  directives: {
69769
- ripple: br
69771
+ ripple: wr
69770
69772
  }
69771
69773
  };
69772
69774
  function Nde(n, e, t, r, i, s) {
@@ -71685,7 +71687,7 @@ var HP = {
71685
71687
  TimesIcon: vu
71686
71688
  },
71687
71689
  directives: {
71688
- ripple: br
71690
+ ripple: wr
71689
71691
  }
71690
71692
  };
71691
71693
  function Xf(n) {
@@ -72554,7 +72556,7 @@ function afe(n, e, t, r, i, s) {
72554
72556
  onTouchend: e[4] || (e[4] = function() {
72555
72557
  return s.onRowTouchEnd && s.onRowTouchEnd.apply(s, arguments);
72556
72558
  }),
72557
- onKeydown: e[5] || (e[5] = rt(function() {
72559
+ onKeydown: e[5] || (e[5] = Qe(function() {
72558
72560
  return s.onRowKeyDown && s.onRowKeyDown.apply(s, arguments);
72559
72561
  }, ["self"])),
72560
72562
  onMousedown: e[6] || (e[6] = function() {
@@ -73950,7 +73952,7 @@ function xfe(n, e, t, r, i, s) {
73950
73952
  },
73951
73953
  onKeydown: [e[3] || (e[3] = function(f) {
73952
73954
  return s.onRowMatchModeKeyDown(f);
73953
- }), Pn(rt(function(f) {
73955
+ }), Pn(Qe(function(f) {
73954
73956
  return s.onRowMatchModeChange(c.value);
73955
73957
  }, ["prevent"]), ["enter"])],
73956
73958
  tabindex: d === 0 ? "0" : null
@@ -77373,15 +77375,15 @@ const uhe = "data:image/svg+xml,%3csvg%20width='118'%20height='99'%20viewBox='0%
77373
77375
  if (p.value && le && q) {
77374
77376
  const Ne = (me == null ? void 0 : me.getBoundingClientRect().width) || 0;
77375
77377
  p.value.style.setProperty("--first-sticky-width", `${Ne}px`);
77376
- const Je = q.getBoundingClientRect(), bt = Math.max(Je.top, K), nn = Math.min(Je.bottom, window.innerHeight), Wr = bt < window.innerHeight && nn > K, Sr = nn - bt, rn = bt + Sr / 2;
77378
+ const et = q.getBoundingClientRect(), bt = Math.max(et.top, K), nn = Math.min(et.bottom, window.innerHeight), Wr = bt < window.innerHeight && nn > K, Cr = nn - bt, rn = bt + Cr / 2;
77377
77379
  if (W && ue)
77378
77380
  if (Wr && i.value) {
77379
77381
  W.classList.remove("hidden"), ue.classList.remove("hidden");
77380
- const Cr = Math.max(
77382
+ const Mr = Math.max(
77381
77383
  bt,
77382
77384
  Math.min(rn, nn - W.offsetHeight)
77383
77385
  );
77384
- W.style.top = `${Cr}px`, ue.style.top = `${Cr}px`, W.style.left = `${le.left + Ne + 8}px`, ue.style.right = `${window.innerWidth - le.right + 8}px`;
77386
+ W.style.top = `${Mr}px`, ue.style.top = `${Mr}px`, W.style.left = `${le.left + Ne + 8}px`, ue.style.right = `${window.innerWidth - le.right + 8}px`;
77385
77387
  } else
77386
77388
  W.classList.add("hidden"), ue.classList.add("hidden");
77387
77389
  W && (u.value || !i.value ? W.classList.add("hidden") : W.classList.remove("hidden")), ue && (l.value || !i.value ? ue.classList.add("hidden") : ue.classList.remove("hidden"));
@@ -78286,7 +78288,7 @@ function i1e(n, e, t, r, i, s) {
78286
78288
  n._CurrentStep.getCurrentStep ? (S(), T(pe, { key: 0 }, [
78287
78289
  P("button", {
78288
78290
  class: "close-button",
78289
- onClick: e[3] || (e[3] = rt((l) => n.snoozeTour(), ["prevent"]))
78291
+ onClick: e[3] || (e[3] = Qe((l) => n.snoozeTour(), ["prevent"]))
78290
78292
  }, [
78291
78293
  _(o, {
78292
78294
  icon: "close",
@@ -78321,7 +78323,7 @@ function i1e(n, e, t, r, i, s) {
78321
78323
  n.props.hideSnooze ? L("", !0) : (S(), T("button", {
78322
78324
  key: 0,
78323
78325
  class: "snooze-button",
78324
- onClick: e[4] || (e[4] = rt((l) => n.snoozeTour(), ["prevent"]))
78326
+ onClick: e[4] || (e[4] = Qe((l) => n.snoozeTour(), ["prevent"]))
78325
78327
  }, oe(n.props.buttonLabels.snooze), 1)),
78326
78328
  P("div", e1e, [
78327
78329
  (S(!0), T(pe, null, Te(n.visibleSteps, (l, u) => (S(), T("button", {
@@ -78335,11 +78337,11 @@ function i1e(n, e, t, r, i, s) {
78335
78337
  n._CurrentStep.lastStep < n._CurrentStep.currentStep ? (S(), T("button", {
78336
78338
  key: 0,
78337
78339
  class: "back-button",
78338
- onClick: e[5] || (e[5] = rt((l) => n.lastStep(), ["prevent"]))
78340
+ onClick: e[5] || (e[5] = Qe((l) => n.lastStep(), ["prevent"]))
78339
78341
  }, oe(n.props.buttonLabels.back), 1)) : L("", !0),
78340
78342
  P("button", {
78341
78343
  class: "next-button",
78342
- onClick: e[6] || (e[6] = rt((l) => n.nextStep(), ["prevent"]))
78344
+ onClick: e[6] || (e[6] = Qe((l) => n.nextStep(), ["prevent"]))
78343
78345
  }, oe(n.getNextLabel), 1)
78344
78346
  ])
78345
78347
  ])