@gamelearn/arcade-components 3.37.72 → 3.37.73

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.
@@ -255,7 +255,7 @@ const ws = typeof process == "object" && process + "" == "[object process]" && !
255
255
  ENABLE: 1,
256
256
  ENABLE_FORMS: 2,
257
257
  ENABLE_STORAGE: 3
258
- }, KT = "pdfjs_internal_editor_", Ke = {
258
+ }, KT = "pdfjs_internal_editor_", Xe = {
259
259
  DISABLE: -1,
260
260
  NONE: 0,
261
261
  FREETEXT: 3,
@@ -451,7 +451,7 @@ function tj() {
451
451
  function Mw(u) {
452
452
  Nw >= HC.INFOS && console.info(`Info: ${u}`);
453
453
  }
454
- function Xe(u) {
454
+ function qe(u) {
455
455
  Nw >= HC.WARNINGS && console.warn(`Warning: ${u}`);
456
456
  }
457
457
  function pi(u) {
@@ -1070,7 +1070,7 @@ function $B(u, t = "document.pdf") {
1070
1070
  if (typeof u != "string")
1071
1071
  return t;
1072
1072
  if (VC(u))
1073
- return Xe('getPdfFilenameFromUrl: ignore "data:"-URL for performance reasons.'), t;
1073
+ return qe('getPdfFilenameFromUrl: ignore "data:"-URL for performance reasons.'), t;
1074
1074
  const n = ((l) => {
1075
1075
  try {
1076
1076
  return new URL(l);
@@ -1125,10 +1125,10 @@ class uP {
1125
1125
  Xt(this, "times", []);
1126
1126
  }
1127
1127
  time(t) {
1128
- t in this.started && Xe(`Timer is already running for ${t}`), this.started[t] = Date.now();
1128
+ t in this.started && qe(`Timer is already running for ${t}`), this.started[t] = Date.now();
1129
1129
  }
1130
1130
  timeEnd(t) {
1131
- t in this.started || Xe(`Timer has not been started for ${t}`), this.times.push({
1131
+ t in this.started || qe(`Timer has not been started for ${t}`), this.times.push({
1132
1132
  name: t,
1133
1133
  start: this.started[t],
1134
1134
  end: Date.now()
@@ -1214,7 +1214,7 @@ function c2(u) {
1214
1214
  const t = parseInt(u.slice(1), 16);
1215
1215
  return [(t & 16711680) >> 16, (t & 65280) >> 8, t & 255];
1216
1216
  }
1217
- return u.startsWith("rgb(") ? u.slice(4, -1).split(",").map((t) => parseInt(t)) : u.startsWith("rgba(") ? u.slice(5, -1).split(",").map((t) => parseInt(t)).slice(0, 3) : (Xe(`Not a valid color format: "${u}"`), [0, 0, 0]);
1217
+ return u.startsWith("rgb(") ? u.slice(4, -1).split(",").map((t) => parseInt(t)) : u.startsWith("rgba(") ? u.slice(5, -1).split(",").map((t) => parseInt(t)).slice(0, 3) : (qe(`Not a valid color format: "${u}"`), [0, 0, 0]);
1218
1218
  }
1219
1219
  function cj(u) {
1220
1220
  const t = document.createElement("span");
@@ -1755,7 +1755,7 @@ eb = new WeakMap(), vA = new WeakMap(), $r = new WeakMap(), nb = new WeakSet(),
1755
1755
  n.bitmap = await createImageBitmap(i);
1756
1756
  n.refCounter = 1;
1757
1757
  } catch (i) {
1758
- Xe(i), n = null;
1758
+ qe(i), n = null;
1759
1759
  }
1760
1760
  return b(this, $r).set(t, n), n && b(this, $r).set(n.id, n), n;
1761
1761
  };
@@ -1961,7 +1961,7 @@ const G_ = class G_ {
1961
1961
  Y(this, db, null);
1962
1962
  Y(this, Op, null);
1963
1963
  Y(this, TA, null);
1964
- Y(this, za, Ke.NONE);
1964
+ Y(this, za, Xe.NONE);
1965
1965
  Y(this, $n, /* @__PURE__ */ new Set());
1966
1966
  Y(this, Eh, null);
1967
1967
  Y(this, Np, null);
@@ -2270,7 +2270,7 @@ const G_ = class G_ {
2270
2270
  if (!m)
2271
2271
  return;
2272
2272
  n.empty();
2273
- const _ = tt(this, wA, tN).call(this, f), v = b(this, za) === Ke.NONE, S = () => {
2273
+ const _ = tt(this, wA, tN).call(this, f), v = b(this, za) === Xe.NONE, S = () => {
2274
2274
  const y = _ == null ? void 0 : _.createAndAddNewEditor({
2275
2275
  x: 0,
2276
2276
  y: 0
@@ -2286,7 +2286,7 @@ const G_ = class G_ {
2286
2286
  v && this.showAllEditors("highlight", !0, !0), e && (y == null || y.editComment());
2287
2287
  };
2288
2288
  if (v) {
2289
- this.switchToMode(Ke.HIGHLIGHT, S);
2289
+ this.switchToMode(Xe.HIGHLIGHT, S);
2290
2290
  return;
2291
2291
  }
2292
2292
  S();
@@ -2385,7 +2385,7 @@ const G_ = class G_ {
2385
2385
  try {
2386
2386
  n = JSON.parse(n);
2387
2387
  } catch (r) {
2388
- Xe(`paste: "${r.message}".`);
2388
+ qe(`paste: "${r.message}".`);
2389
2389
  return;
2390
2390
  }
2391
2391
  if (!Array.isArray(n))
@@ -2414,11 +2414,11 @@ const G_ = class G_ {
2414
2414
  mustExec: !0
2415
2415
  });
2416
2416
  } catch (r) {
2417
- Xe(`paste: "${r.message}".`);
2417
+ qe(`paste: "${r.message}".`);
2418
2418
  }
2419
2419
  }
2420
2420
  keydown(t) {
2421
- !this.isShiftKeyDown && t.key === "Shift" && (this.isShiftKeyDown = !0), b(this, za) !== Ke.NONE && !this.isEditorHandlingKeyboard && G_._keyboardManager.exec(this, t);
2421
+ !this.isShiftKeyDown && t.key === "Shift" && (this.isShiftKeyDown = !0), b(this, za) !== Xe.NONE && !this.isEditorHandlingKeyboard && G_._keyboardManager.exec(this, t);
2422
2422
  }
2423
2423
  keyup(t) {
2424
2424
  this.isShiftKeyDown && t.key === "Shift" && (this.isShiftKeyDown = !1, b(this, Rp) && (X(this, Rp, !1), tt(this, Cg, yT).call(this, "main_toolbar")));
@@ -2443,7 +2443,7 @@ const G_ = class G_ {
2443
2443
  }
2444
2444
  setEditingState(t) {
2445
2445
  t ? (tt(this, JR, pF).call(this), tt(this, OA, nN).call(this), tt(this, Nr, Ts).call(this, {
2446
- isEditing: b(this, za) !== Ke.NONE,
2446
+ isEditing: b(this, za) !== Xe.NONE,
2447
2447
  isEmpty: tt(this, Rg, _T).call(this),
2448
2448
  hasSomethingToUndo: b(this, Jl).hasSomethingToUndo(),
2449
2449
  hasSomethingToRedo: b(this, Jl).hasSomethingToRedo(),
@@ -2480,7 +2480,7 @@ const G_ = class G_ {
2480
2480
  async updateMode(t, e = null, n = !1, i = !1, r = !1) {
2481
2481
  var o, l, c, d, f, m;
2482
2482
  if (b(this, za) !== t && !(b(this, tu) && (await b(this, tu).promise, !b(this, tu)))) {
2483
- if (X(this, tu, Promise.withResolvers()), (o = b(this, Ap)) == null || o.commitOrRemove(), b(this, za) === Ke.POPUP && ((l = b(this, ts)) == null || l.hideSidebar()), (c = b(this, ts)) == null || c.destroyPopup(), X(this, za, t), t === Ke.NONE) {
2483
+ if (X(this, tu, Promise.withResolvers()), (o = b(this, Ap)) == null || o.commitOrRemove(), b(this, za) === Xe.POPUP && ((l = b(this, ts)) == null || l.hideSidebar()), (c = b(this, ts)) == null || c.destroyPopup(), X(this, za, t), t === Xe.NONE) {
2484
2484
  this.setEditingState(!1), tt(this, i6, _F).call(this);
2485
2485
  for (const _ of b(this, la).values())
2486
2486
  _.hideStandaloneCommentButton();
@@ -2489,10 +2489,10 @@ const G_ = class G_ {
2489
2489
  }
2490
2490
  for (const _ of b(this, la).values())
2491
2491
  _.addStandaloneCommentButton();
2492
- t === Ke.SIGNATURE && await ((f = b(this, Np)) == null ? void 0 : f.loadSignatures()), this.setEditingState(!0), await tt(this, n6, yF).call(this), this.unselectAll();
2492
+ t === Xe.SIGNATURE && await ((f = b(this, Np)) == null ? void 0 : f.loadSignatures()), this.setEditingState(!0), await tt(this, n6, yF).call(this), this.unselectAll();
2493
2493
  for (const _ of b(this, qa).values())
2494
2494
  _.updateMode(t);
2495
- if (t === Ke.POPUP) {
2495
+ if (t === Xe.POPUP) {
2496
2496
  b(this, ab) || X(this, ab, await b(this, hb).getAnnotationsByType(new Set(b(this, $l).map((S) => S._editorType))));
2497
2497
  const _ = /* @__PURE__ */ new Set(), v = [];
2498
2498
  for (const S of b(this, la).values()) {
@@ -2705,7 +2705,7 @@ const G_ = class G_ {
2705
2705
  }
2706
2706
  unselectAll() {
2707
2707
  var t;
2708
- if (!(b(this, zo) && (b(this, zo).commitOrRemove(), b(this, za) !== Ke.NONE)) && !((t = b(this, Ap)) != null && t.commitOrRemove()) && this.hasSelection) {
2708
+ if (!(b(this, zo) && (b(this, zo).commitOrRemove(), b(this, za) !== Xe.NONE)) && !((t = b(this, Ap)) != null && t.commitOrRemove()) && this.hasSelection) {
2709
2709
  for (const e of b(this, $n))
2710
2710
  e.unselect();
2711
2711
  b(this, $n).clear(), tt(this, Nr, Ts).call(this, {
@@ -2815,7 +2815,7 @@ const G_ = class G_ {
2815
2815
  return b(this, za);
2816
2816
  }
2817
2817
  isEditingMode() {
2818
- return b(this, za) !== Ke.NONE;
2818
+ return b(this, za) !== Xe.NONE;
2819
2819
  }
2820
2820
  get imageManager() {
2821
2821
  return sn(this, "imageManager", new JO());
@@ -2900,7 +2900,7 @@ const G_ = class G_ {
2900
2900
  if (!e)
2901
2901
  return;
2902
2902
  const n = b(this, Zl).getRawValue(e);
2903
- n && (b(this, za) === Ke.NONE && !n.hasBeenModified || n.renderAnnotationElement(t));
2903
+ n && (b(this, za) === Xe.NONE && !n.hasBeenModified || n.renderAnnotationElement(t));
2904
2904
  }
2905
2905
  setMissingCanvas(t, e, n) {
2906
2906
  var r;
@@ -2954,8 +2954,8 @@ ib = new WeakMap(), zo = new WeakMap(), ab = new WeakMap(), la = new WeakMap(),
2954
2954
  }
2955
2955
  if ((l = b(this, Kc)) == null || l.hide(), X(this, Eh, e), tt(this, Nr, Ts).call(this, {
2956
2956
  hasSelectedText: !0
2957
- }), !(b(this, za) !== Ke.HIGHLIGHT && b(this, za) !== Ke.NONE) && (b(this, za) === Ke.HIGHLIGHT && this.showAllEditors("highlight", !0, !0), X(this, Rp, this.isShiftKeyDown), !this.isShiftKeyDown)) {
2958
- const c = b(this, za) === Ke.HIGHLIGHT ? tt(this, wA, tN).call(this, i) : null;
2957
+ }), !(b(this, za) !== Xe.HIGHLIGHT && b(this, za) !== Xe.NONE) && (b(this, za) === Xe.HIGHLIGHT && this.showAllEditors("highlight", !0, !0), X(this, Rp, this.isShiftKeyDown), !this.isShiftKeyDown)) {
2958
+ const c = b(this, za) === Xe.HIGHLIGHT ? tt(this, wA, tN).call(this, i) : null;
2959
2959
  if (c == null || c.toggleDrawing(), b(this, cb)) {
2960
2960
  const d = new AbortController(), f = this.combinedSignal(d), m = (_) => {
2961
2961
  _.type === "pointerup" && _.button !== 0 || (d.abort(), c == null || c.toggleDrawing(!0), _.type === "pointerup" && tt(this, Cg, yT).call(this, "main_toolbar"));
@@ -2969,7 +2969,7 @@ ib = new WeakMap(), zo = new WeakMap(), ab = new WeakMap(), la = new WeakMap(),
2969
2969
  c == null || c.toggleDrawing(!0), tt(this, Cg, yT).call(this, "main_toolbar");
2970
2970
  }
2971
2971
  }, Cg = new WeakSet(), yT = function(t = "") {
2972
- b(this, za) === Ke.HIGHLIGHT ? this.highlightSelection(t) : b(this, _A) && tt(this, QR, dF).call(this);
2972
+ b(this, za) === Xe.HIGHLIGHT ? this.highlightSelection(t) : b(this, _A) && tt(this, QR, dF).call(this);
2973
2973
  }, ZR = new WeakSet(), fF = function() {
2974
2974
  document.addEventListener("selectionchange", tt(this, WR, hF).bind(this), {
2975
2975
  signal: this._signal
@@ -3026,7 +3026,7 @@ ib = new WeakMap(), zo = new WeakMap(), ab = new WeakMap(), la = new WeakMap(),
3026
3026
  Object.entries(t).some(([n, i]) => b(this, xA)[n] !== i) && (this._eventBus.dispatch("annotationeditorstateschanged", {
3027
3027
  source: this,
3028
3028
  details: Object.assign(b(this, xA), t)
3029
- }), b(this, za) === Ke.HIGHLIGHT && t.hasSelectedEditor === !1 && tt(this, qu, ph).call(this, [[En.HIGHLIGHT_FREE, !0]]));
3029
+ }), b(this, za) === Xe.HIGHLIGHT && t.hasSelectedEditor === !1 && tt(this, qu, ph).call(this, [[En.HIGHLIGHT_FREE, !0]]));
3030
3030
  }, qu = new WeakSet(), ph = function(t) {
3031
3031
  this._eventBus.dispatch("annotationeditorparamschanged", {
3032
3032
  source: this,
@@ -3561,7 +3561,7 @@ vb = new WeakMap(), zg = new WeakMap(), BA = new WeakMap(), FA = new WeakMap(),
3561
3561
  };
3562
3562
  let WT = y7;
3563
3563
  var Ig, Zu, zi, ui, wh, yb, zp, HA, Lr, kg, Dh, Jc, Bp, GA, Ug, Fo, jA, Hg, Oh, $c, _b, bb, nu, Gg, VA, l6, YA, oN, KA, lN, Sb, L5, u6, AF, c6, xF, XA, uN, Eb, P5, qA, cN, d6, CF, h6, RF, f6, wF, QA, dN, p6, DF, WA, hN, m6, OF, g6, NF, v6, MF, ZA, fN, jg, ST;
3564
- const Qe = class Qe {
3564
+ const We = class We {
3565
3565
  constructor(t) {
3566
3566
  Y(this, YA);
3567
3567
  Y(this, Sb);
@@ -3614,7 +3614,7 @@ const Qe = class Qe {
3614
3614
  Xt(this, "_uiManager", null);
3615
3615
  Xt(this, "_focusEventsAllowed", !0);
3616
3616
  Y(this, VA, !1);
3617
- Y(this, l6, Qe._zIndex++);
3617
+ Y(this, l6, We._zIndex++);
3618
3618
  this.parent = t.parent, this.id = t.id, this.width = this.height = null, this.pageIndex = t.parent.pageIndex, this.name = t.name, this.div = null, this._uiManager = t.uiManager, this.annotationElementId = null, this._willKeepAspectRatio = !1, this._initialOptions.isCentered = t.isCentered, this._structTreeParentId = null, this.annotationElementId = t.annotationElementId || null, this.creationDate = t.creationDate || /* @__PURE__ */ new Date(), this.modificationDate = t.modificationDate || null;
3619
3619
  const {
3620
3620
  rotation: e,
@@ -3630,7 +3630,7 @@ const Qe = class Qe {
3630
3630
  this.x = t.x / l, this.y = t.y / c, this.isAttachedToDOM = !1, this.deleted = !1;
3631
3631
  }
3632
3632
  static get _resizerKeyboardManager() {
3633
- const t = Qe.prototype._resizeWithKeyboard, e = A0.TRANSLATE_SMALL, n = A0.TRANSLATE_BIG;
3633
+ const t = We.prototype._resizeWithKeyboard, e = A0.TRANSLATE_SMALL, n = A0.TRANSLATE_BIG;
3634
3634
  return sn(this, "_resizerKeyboardManager", new YC([[["ArrowLeft", "mac+ArrowLeft"], t, {
3635
3635
  args: [-e, 0]
3636
3636
  }], [["ctrl+ArrowLeft", "mac+shift+ArrowLeft"], t, {
@@ -3647,7 +3647,7 @@ const Qe = class Qe {
3647
3647
  args: [0, e]
3648
3648
  }], [["ctrl+ArrowDown", "mac+shift+ArrowDown"], t, {
3649
3649
  args: [0, n]
3650
- }], [["Escape", "mac+Escape"], Qe.prototype._stopResizingWithKeyboard]]));
3650
+ }], [["Escape", "mac+Escape"], We.prototype._stopResizingWithKeyboard]]));
3651
3651
  }
3652
3652
  get editorType() {
3653
3653
  return Object.getPrototypeOf(this).constructor._type;
@@ -3670,7 +3670,7 @@ const Qe = class Qe {
3670
3670
  e.annotationElementId = t.annotationElementId, e.deleted = !0, e._uiManager.addToAnnotationStorage(e);
3671
3671
  }
3672
3672
  static initialize(t, e) {
3673
- if (Qe._l10n ?? (Qe._l10n = t), Qe._l10nResizer || (Qe._l10nResizer = Object.freeze({
3673
+ if (We._l10n ?? (We._l10n = t), We._l10nResizer || (We._l10nResizer = Object.freeze({
3674
3674
  topLeft: "pdfjs-editor-resizer-top-left",
3675
3675
  topMiddle: "pdfjs-editor-resizer-top-middle",
3676
3676
  topRight: "pdfjs-editor-resizer-top-right",
@@ -3679,10 +3679,10 @@ const Qe = class Qe {
3679
3679
  bottomMiddle: "pdfjs-editor-resizer-bottom-middle",
3680
3680
  bottomLeft: "pdfjs-editor-resizer-bottom-left",
3681
3681
  middleLeft: "pdfjs-editor-resizer-middle-left"
3682
- })), Qe._borderLineWidth !== -1)
3682
+ })), We._borderLineWidth !== -1)
3683
3683
  return;
3684
3684
  const n = getComputedStyle(document.documentElement);
3685
- Qe._borderLineWidth = parseFloat(n.getPropertyValue("--outline-width")) || 0;
3685
+ We._borderLineWidth = parseFloat(n.getPropertyValue("--outline-width")) || 0;
3686
3686
  }
3687
3687
  static updateDefaultParams(t, e) {
3688
3688
  }
@@ -3822,7 +3822,7 @@ const Qe = class Qe {
3822
3822
  getBaseTranslation() {
3823
3823
  const [t, e] = this.parentDimensions, {
3824
3824
  _borderLineWidth: n
3825
- } = Qe, i = n / t, r = n / e;
3825
+ } = We, i = n / t, r = n / e;
3826
3826
  switch (this.rotation) {
3827
3827
  case 90:
3828
3828
  return [-i, r];
@@ -3871,11 +3871,11 @@ const Qe = class Qe {
3871
3871
  }
3872
3872
  screenToPageTranslation(t, e) {
3873
3873
  var n;
3874
- return tt(n = Qe, KA, lN).call(n, t, e, this.parentRotation);
3874
+ return tt(n = We, KA, lN).call(n, t, e, this.parentRotation);
3875
3875
  }
3876
3876
  pageTranslationToScreen(t, e) {
3877
3877
  var n;
3878
- return tt(n = Qe, KA, lN).call(n, t, e, 360 - this.parentRotation);
3878
+ return tt(n = We, KA, lN).call(n, t, e, 360 - this.parentRotation);
3879
3879
  }
3880
3880
  get parentScale() {
3881
3881
  return this._uiManager.viewParameters.realScale;
@@ -3950,7 +3950,7 @@ const Qe = class Qe {
3950
3950
  return this.div.getBoundingClientRect();
3951
3951
  }
3952
3952
  createAltText() {
3953
- return b(this, zi) || (mR.initialize(Qe._l10n), X(this, zi, new mR(this)), b(this, Ig) && (b(this, zi).data = b(this, Ig), X(this, Ig, null))), b(this, zi);
3953
+ return b(this, zi) || (mR.initialize(We._l10n), X(this, zi, new mR(this)), b(this, Ig) && (b(this, zi).data = b(this, Ig), X(this, Ig, null))), b(this, zi);
3954
3954
  }
3955
3955
  get altTextData() {
3956
3956
  var t;
@@ -4148,7 +4148,7 @@ const Qe = class Qe {
4148
4148
  return this.getRect(0, 0);
4149
4149
  }
4150
4150
  getNonHCMColor() {
4151
- return this.color && Qe._colorManager.convert(this._uiManager.getNonHCMColor(this.color));
4151
+ return this.color && We._colorManager.convert(this._uiManager.getNonHCMColor(this.color));
4152
4152
  }
4153
4153
  onUpdatedColor() {
4154
4154
  var t;
@@ -4284,7 +4284,7 @@ const Qe = class Qe {
4284
4284
  const {
4285
4285
  commentButtonPosition: [t, e]
4286
4286
  } = this, [n, i, r, o] = this.getPDFRect();
4287
- return [Qe._round(n + (r - n) * t), Qe._round(i + (o - i) * (1 - e))];
4287
+ return [We._round(n + (r - n) * t), We._round(i + (o - i) * (1 - e))];
4288
4288
  }
4289
4289
  get commentButtonColor() {
4290
4290
  return this._uiManager.makeCommentColor(this.getNonHCMColor(), this.opacity);
@@ -4328,7 +4328,7 @@ const Qe = class Qe {
4328
4328
  signal: c
4329
4329
  }), d.addEventListener("focus", tt(this, v6, MF).bind(this, f), {
4330
4330
  signal: c
4331
- }), d.setAttribute("data-l10n-id", Qe._l10nResizer[f]);
4331
+ }), d.setAttribute("data-l10n-id", We._l10nResizer[f]);
4332
4332
  }
4333
4333
  }
4334
4334
  const n = b(this, Zu)[0];
@@ -4349,7 +4349,7 @@ const Qe = class Qe {
4349
4349
  let o = 0;
4350
4350
  for (const l of e) {
4351
4351
  const d = b(this, Zu)[o++].getAttribute("data-resizer-name");
4352
- l.setAttribute("data-l10n-id", Qe._l10nResizer[d]);
4352
+ l.setAttribute("data-l10n-id", We._l10nResizer[d]);
4353
4353
  }
4354
4354
  }
4355
4355
  tt(this, ZA, fN).call(this, 0), X(this, Oh, !0), b(this, Lr).firstChild.focus({
@@ -4448,7 +4448,7 @@ const Qe = class Qe {
4448
4448
  let i = b(this, nu).get(n);
4449
4449
  i && clearTimeout(i), i = setTimeout(() => {
4450
4450
  this._reportTelemetry(t), b(this, nu).delete(n), b(this, nu).size === 0 && X(this, nu, null);
4451
- }, Qe._telemetryTimeout), b(this, nu).set(n, i);
4451
+ }, We._telemetryTimeout), b(this, nu).set(n, i);
4452
4452
  return;
4453
4453
  }
4454
4454
  t.type || (t.type = this.editorType), this._uiManager._eventBus.dispatch("reporttelemetry", {
@@ -4600,7 +4600,7 @@ Ig = new WeakMap(), Zu = new WeakMap(), zi = new WeakMap(), ui = new WeakMap(),
4600
4600
  mustExec: !0
4601
4601
  });
4602
4602
  }, qA = new WeakSet(), cN = function(t, e) {
4603
- const [n, i] = this.parentDimensions, r = this.x, o = this.y, l = this.width, c = this.height, d = Qe.MIN_SIZE / n, f = Qe.MIN_SIZE / i, m = tt(this, Sb, L5).call(this, this.rotation), _ = (K, J) => [m[0] * K + m[2] * J, m[1] * K + m[3] * J], v = tt(this, Sb, L5).call(this, 360 - this.rotation), S = (K, J) => [v[0] * K + v[2] * J, v[1] * K + v[3] * J];
4603
+ const [n, i] = this.parentDimensions, r = this.x, o = this.y, l = this.width, c = this.height, d = We.MIN_SIZE / n, f = We.MIN_SIZE / i, m = tt(this, Sb, L5).call(this, this.rotation), _ = (K, J) => [m[0] * K + m[2] * J, m[1] * K + m[3] * J], v = tt(this, Sb, L5).call(this, 360 - this.rotation), S = (K, J) => [v[0] * K + v[2] * J, v[1] * K + v[3] * J];
4604
4604
  let y, E, A = !1, x = !1;
4605
4605
  switch (t) {
4606
4606
  case "topLeft":
@@ -4630,7 +4630,7 @@ Ig = new WeakMap(), Zu = new WeakMap(), zi = new WeakMap(), ui = new WeakMap(),
4630
4630
  }
4631
4631
  const T = y(l, c), C = E(l, c);
4632
4632
  let R = _(...C);
4633
- const M = Qe._round(r + R[0]), O = Qe._round(o + R[1]);
4633
+ const M = We._round(r + R[0]), O = We._round(o + R[1]);
4634
4634
  let N = 1, B = 1, L, k;
4635
4635
  if (e.fromKeyboard)
4636
4636
  ({
@@ -4649,7 +4649,7 @@ Ig = new WeakMap(), Zu = new WeakMap(), zi = new WeakMap(), ui = new WeakMap(),
4649
4649
  N = B = Math.max(Math.min(Math.hypot(C[0] - T[0] - L, C[1] - T[1] - k) / K, 1 / l, 1 / c), d / l, f / c);
4650
4650
  } else
4651
4651
  x ? N = rs(Math.abs(C[0] - T[0] - L), d, 1) / l : B = rs(Math.abs(C[1] - T[1] - k), f, 1) / c;
4652
- const I = Qe._round(l * N), G = Qe._round(c * B);
4652
+ const I = We._round(l * N), G = We._round(c * B);
4653
4653
  R = _(...E(I, G));
4654
4654
  const Q = M - R[0], W = O - R[1];
4655
4655
  b(this, Fo) || X(this, Fo, [this.x, this.y, this.width, this.height]), this.width = I, this.height = G, this.x = Q, this.y = W, this.setDims(), this.fixAndSetPosition(), this._onResizing();
@@ -4665,13 +4665,13 @@ Ig = new WeakMap(), Zu = new WeakMap(), zi = new WeakMap(), ui = new WeakMap(),
4665
4665
  let r = 0.7 * (n / e) + 1 - 0.7;
4666
4666
  if (r === 1)
4667
4667
  return;
4668
- const o = tt(this, Sb, L5).call(this, this.rotation), l = (M, O) => [o[0] * M + o[2] * O, o[1] * M + o[3] * O], [c, d] = this.parentDimensions, f = this.x, m = this.y, _ = this.width, v = this.height, S = Qe.MIN_SIZE / c, y = Qe.MIN_SIZE / d;
4668
+ const o = tt(this, Sb, L5).call(this, this.rotation), l = (M, O) => [o[0] * M + o[2] * O, o[1] * M + o[3] * O], [c, d] = this.parentDimensions, f = this.x, m = this.y, _ = this.width, v = this.height, S = We.MIN_SIZE / c, y = We.MIN_SIZE / d;
4669
4669
  r = Math.max(Math.min(r, 1 / _, 1 / v), S / _, y / v);
4670
- const E = Qe._round(_ * r), A = Qe._round(v * r);
4670
+ const E = We._round(_ * r), A = We._round(v * r);
4671
4671
  if (E === _ && A === v)
4672
4672
  return;
4673
4673
  b(this, Fo) || X(this, Fo, [f, m, _, v]);
4674
- const x = l(_ / 2, v / 2), T = Qe._round(f + x[0]), C = Qe._round(m + x[1]), R = l(E / 2, A / 2);
4674
+ const x = l(_ / 2, v / 2), T = We._round(f + x[0]), C = We._round(m + x[1]), R = l(E / 2, A / 2);
4675
4675
  this.x = T - R[0], this.y = C - R[1], this.width = E, this.height = A, this.setDims(), this.fixAndSetPosition(), this._onResizing();
4676
4676
  }, f6 = new WeakSet(), wF = function() {
4677
4677
  var t;
@@ -4733,7 +4733,7 @@ Ig = new WeakMap(), Zu = new WeakMap(), zi = new WeakMap(), ui = new WeakMap(),
4733
4733
  signal: t
4734
4734
  });
4735
4735
  }, m6 = new WeakSet(), OF = function(t) {
4736
- Qe._resizerKeyboardManager.exec(this, t);
4736
+ We._resizerKeyboardManager.exec(this, t);
4737
4737
  }, g6 = new WeakSet(), NF = function(t) {
4738
4738
  var e;
4739
4739
  b(this, Oh) && ((e = t.relatedTarget) == null ? void 0 : e.parentNode) !== b(this, Lr) && tt(this, jg, ST).call(this);
@@ -4745,8 +4745,8 @@ Ig = new WeakMap(), Zu = new WeakMap(), zi = new WeakMap(), ui = new WeakMap(),
4745
4745
  e.tabIndex = t;
4746
4746
  }, jg = new WeakSet(), ST = function() {
4747
4747
  X(this, Oh, !1), tt(this, ZA, fN).call(this, -1), tt(this, Eb, P5).call(this);
4748
- }, Y(Qe, KA), Xt(Qe, "_l10n", null), Xt(Qe, "_l10nResizer", null), Xt(Qe, "_borderLineWidth", -1), Xt(Qe, "_colorManager", new $O()), Xt(Qe, "_zIndex", 1), Xt(Qe, "_telemetryTimeout", 1e3);
4749
- let Ai = Qe;
4748
+ }, Y(We, KA), Xt(We, "_l10n", null), Xt(We, "_l10nResizer", null), Xt(We, "_borderLineWidth", -1), Xt(We, "_colorManager", new $O()), Xt(We, "_zIndex", 1), Xt(We, "_telemetryTimeout", 1e3);
4749
+ let Ai = We;
4750
4750
  class mj extends Ai {
4751
4751
  constructor(t) {
4752
4752
  super(t), this.annotationElementId = t.annotationElementId, this.deleted = !0;
@@ -5003,7 +5003,7 @@ class gj {
5003
5003
  try {
5004
5004
  await l.load(), b(this, Tb).add(i), n == null || n(t);
5005
5005
  } catch {
5006
- Xe(`Cannot load system font: ${t.baseFontName}, installing it could help to improve PDF rendering.`), this.removeNativeFontFace(l);
5006
+ qe(`Cannot load system font: ${t.baseFontName}, installing it could help to improve PDF rendering.`), this.removeNativeFontFace(l);
5007
5007
  }
5008
5008
  return;
5009
5009
  }
@@ -5024,7 +5024,7 @@ class gj {
5024
5024
  try {
5025
5025
  await n.loaded;
5026
5026
  } catch (i) {
5027
- throw Xe(`Failed to load font '${n.family}': '${i}'.`), t.disableFontFace = !0, i;
5027
+ throw qe(`Failed to load font '${n.family}': '${i}'.`), t.disableFontFace = !0, i;
5028
5028
  }
5029
5029
  }
5030
5030
  return;
@@ -5082,7 +5082,7 @@ class gj {
5082
5082
  let d = 0;
5083
5083
  function f(C, R) {
5084
5084
  if (++d > 30) {
5085
- Xe("Load test font never loaded."), R();
5085
+ qe("Load test font never loaded."), R();
5086
5086
  return;
5087
5087
  }
5088
5088
  if (c.font = "30px " + C, c.fillText(".", 0, 20), c.getImageData(0, 0, 1, 1).data[3] > 0) {
@@ -5156,7 +5156,7 @@ class vj {
5156
5156
  try {
5157
5157
  i = t.get(n);
5158
5158
  } catch (o) {
5159
- Xe(`getPathGenerator - ignoring character: "${o}".`);
5159
+ qe(`getPathGenerator - ignoring character: "${o}".`);
5160
5160
  }
5161
5161
  const r = new Path2D(i || "");
5162
5162
  return this.fontExtraProperties || t.delete(n), this.compiledGlyphs[e] = r;
@@ -5290,7 +5290,7 @@ class Sj {
5290
5290
  signal: r
5291
5291
  } = n;
5292
5292
  if (r.aborted) {
5293
- Xe("LoopbackPort - cannot use an `aborted` signal.");
5293
+ qe("LoopbackPort - cannot use an `aborted` signal.");
5294
5294
  return;
5295
5295
  }
5296
5296
  const o = () => this.removeEventListener(t, e);
@@ -5879,7 +5879,7 @@ Kg = new WeakMap(), Cb = new WeakMap(), Lh = new WeakMap(), Ph = new WeakMap(),
5879
5879
  if (b(this, Kg) === void 0) {
5880
5880
  X(this, Kg, "");
5881
5881
  const n = b(this, es).URL;
5882
- n !== b(this, es).baseURI && (VC(n) ? Xe('#createUrl: ignore "data:"-URL for performance reasons.') : X(this, Kg, s9(n, "")));
5882
+ n !== b(this, es).baseURI && (VC(n) ? qe('#createUrl: ignore "data:"-URL for performance reasons.') : X(this, Kg, s9(n, "")));
5883
5883
  }
5884
5884
  return `url(${b(this, Kg)}#${e})`;
5885
5885
  }, T6 = new WeakSet(), jF = function(e) {
@@ -5959,7 +5959,7 @@ class yP extends YF {
5959
5959
  return new Uint8Array(e);
5960
5960
  }
5961
5961
  }
5962
- ws && Xe("Please use the `legacy` build in Node.js environments.");
5962
+ ws && qe("Please use the `legacy` build in Node.js environments.");
5963
5963
  async function h9(u) {
5964
5964
  const e = await process.getBuiltinModule("fs").promises.readFile(u);
5965
5965
  return new Uint8Array(e);
@@ -7123,7 +7123,7 @@ const b7 = class b7 {
7123
7123
  o.closePath();
7124
7124
  break;
7125
7125
  default:
7126
- Xe(`Unrecognized drawing path operator: ${r[l - 1]}`);
7126
+ qe(`Unrecognized drawing path operator: ${r[l - 1]}`);
7127
7127
  break;
7128
7128
  }
7129
7129
  r = o;
@@ -7244,7 +7244,7 @@ const b7 = class b7 {
7244
7244
  const i = this.commonObjs.get(e), r = this.current;
7245
7245
  if (!i)
7246
7246
  throw new Error(`Can't find font for ${e}`);
7247
- if (r.fontMatrix = i.fontMatrix || XO, (r.fontMatrix[0] === 0 || r.fontMatrix[3] === 0) && Xe("Invalid font matrix for font " + e), n < 0 ? (n = -n, r.fontDirection = -1) : r.fontDirection = 1, this.current.font = i, this.current.fontSize = n, i.isType3Font)
7247
+ if (r.fontMatrix = i.fontMatrix || XO, (r.fontMatrix[0] === 0 || r.fontMatrix[3] === 0) && qe("Invalid font matrix for font " + e), n < 0 ? (n = -n, r.fontDirection = -1) : r.fontDirection = 1, this.current.font = i, this.current.fontSize = n, i.isType3Font)
7248
7248
  return;
7249
7249
  const o = i.loadedName || "sans-serif", l = ((_ = i.systemFontInfo) == null ? void 0 : _.css) || `"${o}", ${i.fallbackName}`;
7250
7250
  let c = "normal";
@@ -7430,7 +7430,7 @@ const b7 = class b7 {
7430
7430
  continue;
7431
7431
  }
7432
7432
  const C = (E.isSpace ? f : 0) + d, R = r.charProcOperatorList[E.operatorListId];
7433
- R ? this.contentVisible && (this.save(), n.scale(o, o), n.transform(..._), this.executeOperatorList(R), this.restore()) : Xe(`Type3 character "${E.operatorListId}" is not available.`);
7433
+ R ? this.contentVisible && (this.save(), n.scale(o, o), n.transform(..._), this.executeOperatorList(R), this.restore()) : qe(`Type3 character "${E.operatorListId}" is not available.`);
7434
7434
  const M = [E.width, 0];
7435
7435
  pe.applyTransform(M, _), A = M[0] * o + C, n.translate(A, 0), i.x += A * m;
7436
7436
  }
@@ -7529,7 +7529,7 @@ const b7 = class b7 {
7529
7529
  return;
7530
7530
  this.save(t), this.inSMaskMode && (this.endSMaskMode(), this.current.activeSMask = null);
7531
7531
  const n = this.ctx;
7532
- e.isolated || Mw("TODO: Support non-isolated groups."), e.knockout && Xe("Knockout groups not supported.");
7532
+ e.isolated || Mw("TODO: Support non-isolated groups."), e.knockout && qe("Knockout groups not supported.");
7533
7533
  const i = Qi(n);
7534
7534
  if (e.matrix && n.transform(...e.matrix), !e.bbox)
7535
7535
  throw new Error("Bounding box is required.");
@@ -7651,7 +7651,7 @@ const b7 = class b7 {
7651
7651
  return;
7652
7652
  const n = this.getObject(t, e);
7653
7653
  if (!n) {
7654
- Xe("Dependent image isn't ready yet");
7654
+ qe("Dependent image isn't ready yet");
7655
7655
  return;
7656
7656
  }
7657
7657
  this.paintInlineImageXObject(t, n);
@@ -7661,7 +7661,7 @@ const b7 = class b7 {
7661
7661
  return;
7662
7662
  const o = this.getObject(t, e);
7663
7663
  if (!o) {
7664
- Xe("Dependent image isn't ready yet");
7664
+ qe("Dependent image isn't ready yet");
7665
7665
  return;
7666
7666
  }
7667
7667
  const l = o.width, c = o.height, d = [];
@@ -8277,14 +8277,14 @@ class Yj {
8277
8277
  if (!t)
8278
8278
  return Mw("Optional content group not defined."), !0;
8279
8279
  if (t.type === "OCG")
8280
- return b(this, oi).has(t.id) ? b(this, oi).get(t.id).visible : (Xe(`Optional content group not found: ${t.id}`), !0);
8280
+ return b(this, oi).has(t.id) ? b(this, oi).get(t.id).visible : (qe(`Optional content group not found: ${t.id}`), !0);
8281
8281
  if (t.type === "OCMD") {
8282
8282
  if (t.expression)
8283
8283
  return tt(this, mx, CN).call(this, t.expression);
8284
8284
  if (!t.policy || t.policy === "AnyOn") {
8285
8285
  for (const e of t.ids) {
8286
8286
  if (!b(this, oi).has(e))
8287
- return Xe(`Optional content group not found: ${e}`), !0;
8287
+ return qe(`Optional content group not found: ${e}`), !0;
8288
8288
  if (b(this, oi).get(e).visible)
8289
8289
  return !0;
8290
8290
  }
@@ -8292,7 +8292,7 @@ class Yj {
8292
8292
  } else if (t.policy === "AllOn") {
8293
8293
  for (const e of t.ids) {
8294
8294
  if (!b(this, oi).has(e))
8295
- return Xe(`Optional content group not found: ${e}`), !0;
8295
+ return qe(`Optional content group not found: ${e}`), !0;
8296
8296
  if (!b(this, oi).get(e).visible)
8297
8297
  return !1;
8298
8298
  }
@@ -8300,7 +8300,7 @@ class Yj {
8300
8300
  } else if (t.policy === "AnyOff") {
8301
8301
  for (const e of t.ids) {
8302
8302
  if (!b(this, oi).has(e))
8303
- return Xe(`Optional content group not found: ${e}`), !0;
8303
+ return qe(`Optional content group not found: ${e}`), !0;
8304
8304
  if (!b(this, oi).get(e).visible)
8305
8305
  return !0;
8306
8306
  }
@@ -8308,21 +8308,21 @@ class Yj {
8308
8308
  } else if (t.policy === "AllOff") {
8309
8309
  for (const e of t.ids) {
8310
8310
  if (!b(this, oi).has(e))
8311
- return Xe(`Optional content group not found: ${e}`), !0;
8311
+ return qe(`Optional content group not found: ${e}`), !0;
8312
8312
  if (b(this, oi).get(e).visible)
8313
8313
  return !1;
8314
8314
  }
8315
8315
  return !0;
8316
8316
  }
8317
- return Xe(`Unknown optional content policy ${t.policy}.`), !0;
8317
+ return qe(`Unknown optional content policy ${t.policy}.`), !0;
8318
8318
  }
8319
- return Xe(`Unknown group type ${t.type}.`), !0;
8319
+ return qe(`Unknown group type ${t.type}.`), !0;
8320
8320
  }
8321
8321
  setVisibility(t, e = !0, n = !0) {
8322
8322
  var r;
8323
8323
  const i = b(this, oi).get(t);
8324
8324
  if (!i) {
8325
- Xe(`Optional content group not found: ${t}`);
8325
+ qe(`Optional content group not found: ${t}`);
8326
8326
  return;
8327
8327
  }
8328
8328
  if (n && e && i.rbGroups.length)
@@ -8394,7 +8394,7 @@ Gp = new WeakMap(), oi = new WeakMap(), Gb = new WeakMap(), jb = new WeakMap(),
8394
8394
  else if (b(this, oi).has(r))
8395
8395
  o = b(this, oi).get(r).visible;
8396
8396
  else
8397
- return Xe(`Optional content group not found: ${r}`), !0;
8397
+ return qe(`Optional content group not found: ${r}`), !0;
8398
8398
  switch (n) {
8399
8399
  case "And":
8400
8400
  if (!o)
@@ -8753,7 +8753,7 @@ function WF(u, t, e) {
8753
8753
  };
8754
8754
  }
8755
8755
  function ZF(u) {
8756
- return u instanceof Uint8Array ? u.buffer : u instanceof ArrayBuffer ? u : (Xe(`getArrayBuffer - unexpected data format: ${u}`), new Uint8Array(u).buffer);
8756
+ return u instanceof Uint8Array ? u.buffer : u instanceof ArrayBuffer ? u : (qe(`getArrayBuffer - unexpected data format: ${u}`), new Uint8Array(u).buffer);
8757
8757
  }
8758
8758
  class Wj {
8759
8759
  constructor(t) {
@@ -8934,7 +8934,7 @@ class tV {
8934
8934
  d ? n.onDone({
8935
8935
  begin: parseInt(d[1], 10),
8936
8936
  chunk: l
8937
- }) : (Xe('Missing or invalid "Content-Range" header.'), n.onError(0));
8937
+ }) : (qe('Missing or invalid "Content-Range" header.'), n.onError(0));
8938
8938
  } else
8939
8939
  l ? n.onDone({
8940
8940
  begin: 0,
@@ -9472,7 +9472,7 @@ let ZT = (Fi = class {
9472
9472
  const e = b(this, lv), n = b(this, Sx);
9473
9473
  for (const o of t) {
9474
9474
  if (e.length > uV) {
9475
- Xe("Ignoring additional textDivs for performance reasons."), X(this, vx, !0);
9475
+ qe("Ignoring additional textDivs for performance reasons."), X(this, vx, !0);
9476
9476
  return;
9477
9477
  }
9478
9478
  if (o.str === void 0) {
@@ -9571,7 +9571,7 @@ let ZT = (Fi = class {
9571
9571
  const o = r.measureText(""), l = o.fontBoundingBoxAscent, c = Math.abs(o.fontBoundingBoxDescent);
9572
9572
  r.canvas.width = r.canvas.height = 0;
9573
9573
  let d = 0.8;
9574
- return l ? d = l / (l + c) : (_r.platform.isFirefox && Xe("Enable the `dom.textMetrics.fontBoundingBox.enabled` preference in `about:config` to improve TextLayer rendering."), e.ascent ? d = e.ascent : e.descent && (d = 1 + e.descent)), b(this, qb).set(t, d), d;
9574
+ return l ? d = l / (l + c) : (_r.platform.isFirefox && qe("Enable the `dom.textMetrics.fontBoundingBox.enabled` preference in `about:config` to improve TextLayer rendering."), e.ascent ? d = e.ascent : e.descent && (d = 1 + e.descent)), b(this, qb).set(t, d), d;
9575
9575
  }, Y(Fi, Wb), Y(Fi, Cx), Y(Fi, R6), Y(Fi, w6), Y(Fi, qb, /* @__PURE__ */ new Map()), Y(Fi, uv, /* @__PURE__ */ new Map()), Y(Fi, Ax, /* @__PURE__ */ new WeakMap()), Y(Fi, Yp, null), Y(Fi, Qb, /* @__PURE__ */ new Set()), Fi);
9576
9576
  const cV = 100;
9577
9577
  function p9(u = {}) {
@@ -10320,7 +10320,7 @@ Kp = new WeakMap(), tc = new WeakMap(), Uh = new WeakMap(), hv = new WeakMap(),
10320
10320
  }
10321
10321
  tt(this, mv, OT).call(this);
10322
10322
  }, mv = new WeakSet(), OT = function() {
10323
- b(Pi, fv) || (Xe("Setting up fake worker."), X(Pi, fv, !0)), Pi._setupFakeWorkerGlobal.then((t) => {
10323
+ b(Pi, fv) || (qe("Setting up fake worker."), X(Pi, fv, !0)), Pi._setupFakeWorkerGlobal.then((t) => {
10324
10324
  if (this.destroyed) {
10325
10325
  b(this, Kp).reject(new Error("Worker was destroyed"));
10326
10326
  return;
@@ -10385,7 +10385,7 @@ class fV {
10385
10385
  o = $o.PRINT;
10386
10386
  break;
10387
10387
  default:
10388
- Xe(`getRenderingIntent - invalid intent: ${t}`);
10388
+ qe(`getRenderingIntent - invalid intent: ${t}`);
10389
10389
  }
10390
10390
  const c = o & $o.PRINT && n instanceof zF ? n : this.annotationStorage;
10391
10391
  switch (e) {
@@ -10401,7 +10401,7 @@ class fV {
10401
10401
  o += $o.ANNOTATIONS_STORAGE, l = c.serializable;
10402
10402
  break;
10403
10403
  default:
10404
- Xe(`getRenderingIntent - invalid annotationMode: ${e}`);
10404
+ qe(`getRenderingIntent - invalid annotationMode: ${e}`);
10405
10405
  }
10406
10406
  i && (o += $o.IS_EDITING), r && (o += $o.OPLIST);
10407
10407
  const {
@@ -10544,7 +10544,7 @@ class fV {
10544
10544
  case "Font":
10545
10545
  if ("error" in r) {
10546
10546
  const m = r.error;
10547
- Xe(`Error during font loading: ${m}`), this.commonObjs.resolve(n, m);
10547
+ qe(`Error during font loading: ${m}`), this.commonObjs.resolve(n, m);
10548
10548
  break;
10549
10549
  }
10550
10550
  const l = new xN(r), c = this._params.pdfBug && ((o = globalThis.FontInspector) != null && o.enabled) ? (m, _) => globalThis.FontInspector.fontAdded(m, _) : null, d = new vj(l, c, r.extra, r.charProcOperatorList);
@@ -10612,7 +10612,7 @@ class fV {
10612
10612
  }
10613
10613
  saveDocument() {
10614
10614
  var n;
10615
- this.annotationStorage.size <= 0 && Xe("saveDocument called while `annotationStorage` is empty, please use the getData-method instead.");
10615
+ this.annotationStorage.size <= 0 && qe("saveDocument called while `annotationStorage` is empty, please use the getData-method instead.");
10616
10616
  const {
10617
10617
  map: t,
10618
10618
  transfer: e
@@ -11366,10 +11366,10 @@ const S7 = class S7 {
11366
11366
  o.borderStyle = "dashed";
11367
11367
  break;
11368
11368
  case w_.BEVELED:
11369
- Xe("Unimplemented border style: beveled");
11369
+ qe("Unimplemented border style: beveled");
11370
11370
  break;
11371
11371
  case w_.INSET:
11372
- Xe("Unimplemented border style: inset");
11372
+ qe("Unimplemented border style: inset");
11373
11373
  break;
11374
11374
  case w_.UNDERLINE:
11375
11375
  o.borderBottomStyle = "solid";
@@ -11590,7 +11590,7 @@ const S7 = class S7 {
11590
11590
  continue;
11591
11591
  const c = typeof l == "string" ? l : null, d = document.querySelector(`[data-element-id="${o}"]`);
11592
11592
  if (d && !ty.has(d)) {
11593
- Xe(`_getElementsByName - element not allowed: ${o}`);
11593
+ qe(`_getElementsByName - element not allowed: ${o}`);
11594
11594
  continue;
11595
11595
  }
11596
11596
  n.push({
@@ -11765,7 +11765,7 @@ class v9 extends ta {
11765
11765
  _bindResetFormAction(e, n) {
11766
11766
  const i = e.onclick;
11767
11767
  if (i || (e.href = this.linkService.getAnchorUrl("")), tt(this, Yh, pg).call(this), !this._fieldObjects) {
11768
- Xe('_bindResetFormAction - "resetForm" action not supported, ensure that the `fieldObjects` parameter is provided.'), i || (e.onclick = () => !1);
11768
+ qe('_bindResetFormAction - "resetForm" action not supported, ensure that the `fieldObjects` parameter is provided.'), i || (e.onclick = () => !1);
11769
11769
  return;
11770
11770
  }
11771
11771
  e.onclick = () => {
@@ -11826,7 +11826,7 @@ class v9 extends ta {
11826
11826
  const S = document.querySelector(`[data-element-id="${v}"]`);
11827
11827
  if (S) {
11828
11828
  if (!ty.has(S)) {
11829
- Xe(`_bindResetFormAction - element not allowed: ${v}`);
11829
+ qe(`_bindResetFormAction - element not allowed: ${v}`);
11830
11830
  continue;
11831
11831
  }
11832
11832
  } else
@@ -12860,7 +12860,7 @@ class pI extends ta {
12860
12860
  super(t, {
12861
12861
  isRenderable: !0,
12862
12862
  ignoreBorder: !0
12863
- }), this.textContent = t.data.textContent, this.textPosition = t.data.textPosition, this.annotationEditorType = Ke.FREETEXT;
12863
+ }), this.textContent = t.data.textContent, this.textPosition = t.data.textPosition, this.annotationEditorType = Xe.FREETEXT;
12864
12864
  }
12865
12865
  render() {
12866
12866
  if (this.container.classList.add("freeTextAnnotation"), this.textContent) {
@@ -13021,7 +13021,7 @@ class y9 extends ta {
13021
13021
  Y(this, Jx);
13022
13022
  Y(this, Zx, null);
13023
13023
  Y(this, Ev, []);
13024
- this.containerClassName = "inkAnnotation", this.svgElementName = "svg:polyline", this.annotationEditorType = this.data.it === "InkHighlight" ? Ke.HIGHLIGHT : Ke.INK;
13024
+ this.containerClassName = "inkAnnotation", this.svgElementName = "svg:polyline", this.annotationEditorType = this.data.it === "InkHighlight" ? Xe.HIGHLIGHT : Xe.INK;
13025
13025
  }
13026
13026
  render() {
13027
13027
  this.container.classList.add(this.containerClassName);
@@ -13105,7 +13105,7 @@ class gI extends ta {
13105
13105
  isRenderable: !0,
13106
13106
  ignoreBorder: !0,
13107
13107
  createQuadrilaterals: !0
13108
- }), this.annotationEditorType = Ke.HIGHLIGHT;
13108
+ }), this.annotationEditorType = Xe.HIGHLIGHT;
13109
13109
  }
13110
13110
  render() {
13111
13111
  const {
@@ -13192,7 +13192,7 @@ class vI extends ta {
13192
13192
  super(t, {
13193
13193
  isRenderable: !0,
13194
13194
  ignoreBorder: !0
13195
- }), this.annotationEditorType = Ke.STAMP;
13195
+ }), this.annotationEditorType = Xe.STAMP;
13196
13196
  }
13197
13197
  render() {
13198
13198
  return this.container.classList.add("stampAnnotation"), this.container.setAttribute("role", "img"), !this.data.popupRef && this.hasPopupData && this._createPopup(), this._editOnDoubleClick(), this.container;
@@ -13735,7 +13735,7 @@ const Ei = class Ei extends Ai {
13735
13735
  if (!x || x.length === 0)
13736
13736
  return null;
13737
13737
  r = e = {
13738
- annotationType: Ke.FREETEXT,
13738
+ annotationType: Xe.FREETEXT,
13739
13739
  color: Array.from(d),
13740
13740
  fontSize: c,
13741
13741
  value: x.join(`
@@ -13862,7 +13862,7 @@ Vo = new WeakMap(), rC = new WeakMap(), xv = new WeakMap(), Yo = new WeakMap(),
13862
13862
  pageIndex: o
13863
13863
  } = this._initialData;
13864
13864
  return this.hasEditedComment || this._hasBeenMoved || e.value !== n || e.fontSize !== i || e.color.some((l, c) => l !== r[c]) || e.pageIndex !== o;
13865
- }, Y(Ei, vS), Y(Ei, sC), Xt(Ei, "_freeTextDefaultContent", ""), Xt(Ei, "_internalPadding", 0), Xt(Ei, "_defaultColor", null), Xt(Ei, "_defaultFontSize", 10), Xt(Ei, "_type", "freetext"), Xt(Ei, "_editorType", Ke.FREETEXT);
13865
+ }, Y(Ei, vS), Y(Ei, sC), Xt(Ei, "_freeTextDefaultContent", ""), Xt(Ei, "_internalPadding", 0), Xt(Ei, "_defaultColor", null), Xt(Ei, "_defaultFontSize", 10), Xt(Ei, "_type", "freetext"), Xt(Ei, "_editorType", Xe.FREETEXT);
13866
13866
  let XN = Ei;
13867
13867
  class he {
13868
13868
  toSVGPath() {
@@ -14615,7 +14615,7 @@ const Ln = class Ln extends Ai {
14615
14615
  }
14616
14616
  } = e;
14617
14617
  r = e = {
14618
- annotationType: Ke.HIGHLIGHT,
14618
+ annotationType: Xe.HIGHLIGHT,
14619
14619
  color: Array.from(O),
14620
14620
  opacity: N,
14621
14621
  quadPoints: T,
@@ -14656,7 +14656,7 @@ const Ln = class Ln extends Ai {
14656
14656
  }
14657
14657
  } = e;
14658
14658
  r = e = {
14659
- annotationType: Ke.HIGHLIGHT,
14659
+ annotationType: Xe.HIGHLIGHT,
14660
14660
  color: Array.from(O),
14661
14661
  thickness: N,
14662
14662
  inkLists: T,
@@ -14946,7 +14946,7 @@ CS = new WeakMap(), vC = new WeakMap(), Zh = new WeakMap(), Ov = new WeakMap(),
14946
14946
  color: n
14947
14947
  } = this._initialData;
14948
14948
  return this.hasEditedComment || e.color.some((i, r) => i !== n[r]);
14949
- }, Y(Ln, a0), Y(Ln, hw), Y(Ln, fw), Xt(Ln, "_defaultColor", null), Xt(Ln, "_defaultOpacity", 1), Xt(Ln, "_defaultThickness", 12), Xt(Ln, "_type", "highlight"), Xt(Ln, "_editorType", Ke.HIGHLIGHT), Xt(Ln, "_freeHighlightId", -1), Xt(Ln, "_freeHighlight", null), Xt(Ln, "_freeHighlightClipId", "");
14949
+ }, Y(Ln, a0), Y(Ln, hw), Y(Ln, fw), Xt(Ln, "_defaultColor", null), Xt(Ln, "_defaultOpacity", 1), Xt(Ln, "_defaultThickness", 12), Xt(Ln, "_type", "highlight"), Xt(Ln, "_editorType", Xe.HIGHLIGHT), Xt(Ln, "_freeHighlightId", -1), Xt(Ln, "_freeHighlight", null), Xt(Ln, "_freeHighlightClipId", "");
14950
14950
  let SR = Ln;
14951
14951
  var Mv;
14952
14952
  class jI {
@@ -15930,7 +15930,7 @@ const Y_ = class Y_ extends ER {
15930
15930
  }
15931
15931
  } = e;
15932
15932
  r = e = {
15933
- annotationType: Ke.INK,
15933
+ annotationType: Xe.INK,
15934
15934
  color: Array.from(m),
15935
15935
  thickness: v,
15936
15936
  opacity: _,
@@ -16040,7 +16040,7 @@ _w = new WeakSet(), qI = function(e) {
16040
16040
  pageIndex: o
16041
16041
  } = this._initialData;
16042
16042
  return this.hasEditedComment || this._hasBeenMoved || this._hasBeenResized || e.color.some((l, c) => l !== n[c]) || e.thickness !== i || e.opacity !== r || e.pageIndex !== o;
16043
- }, Xt(Y_, "_type", "ink"), Xt(Y_, "_editorType", Ke.INK), Xt(Y_, "_defaultDrawingOptions", null);
16043
+ }, Xt(Y_, "_type", "ink"), Xt(Y_, "_editorType", Xe.INK), Xt(Y_, "_defaultDrawingOptions", null);
16044
16044
  let iM = Y_;
16045
16045
  class aM extends XC {
16046
16046
  toSVGPath() {
@@ -16233,7 +16233,7 @@ class Ba {
16233
16233
  height: m
16234
16234
  };
16235
16235
  } catch (e) {
16236
- return Xe(`decompressSignature: ${e}`), null;
16236
+ return qe(`decompressSignature: ${e}`), null;
16237
16237
  }
16238
16238
  }
16239
16239
  }
@@ -16689,7 +16689,7 @@ const Po = class Po extends ER {
16689
16689
  return X(r, u0, e.areContours), r.description = ((o = e.accessibilityData) == null ? void 0 : o.alt) || "", X(r, Vv, e.uuid), r;
16690
16690
  }
16691
16691
  };
16692
- u0 = new WeakMap(), hd = new WeakMap(), c0 = new WeakMap(), Vv = new WeakMap(), Xt(Po, "_type", "signature"), Xt(Po, "_editorType", Ke.SIGNATURE), Xt(Po, "_defaultDrawingOptions", null);
16692
+ u0 = new WeakMap(), hd = new WeakMap(), c0 = new WeakMap(), Vv = new WeakMap(), Xt(Po, "_type", "signature"), Xt(Po, "_editorType", Xe.SIGNATURE), Xt(Po, "_defaultDrawingOptions", null);
16693
16693
  let uM = Po;
16694
16694
  var Bi, gr, d0, $h, h0, US, tf, Yv, fd, Jo, HS, Kv, zT, Xv, BT, GS, nR, jS, iR, VS, aR, LC, dM, YS, rR, Cw, ek;
16695
16695
  class cM extends Ai {
@@ -16727,7 +16727,7 @@ class cM extends Ai {
16727
16727
  }
16728
16728
  static paste(e, n) {
16729
16729
  n.pasteEditor({
16730
- mode: Ke.STAMP
16730
+ mode: Xe.STAMP
16731
16731
  }, {
16732
16732
  bitmapFile: e.getAsFile()
16733
16733
  });
@@ -16910,7 +16910,7 @@ class cM extends Ai {
16910
16910
  } = i.imageManager.getFromCanvas(L.id, I), I.remove()) : (o = !0, e._hasNoCanvas = !0);
16911
16911
  const W = ((E = await n._structTree.getAriaAttributes(`${l9}${T}`)) == null ? void 0 : E.get("aria-label")) || "";
16912
16912
  r = e = {
16913
- annotationType: Ke.STAMP,
16913
+ annotationType: Xe.STAMP,
16914
16914
  bitmapId: G,
16915
16915
  bitmap: Q,
16916
16916
  pageIndex: k - 1,
@@ -17132,7 +17132,7 @@ Bi = new WeakMap(), gr = new WeakMap(), d0 = new WeakMap(), $h = new WeakMap(),
17132
17132
  isSame: !this.hasEditedComment && !this._hasBeenMoved && !this._hasBeenResized && r && o,
17133
17133
  isSameAltText: o
17134
17134
  };
17135
- }, Xt(cM, "_type", "stamp"), Xt(cM, "_editorType", Ke.STAMP);
17135
+ }, Xt(cM, "_type", "stamp"), Xt(cM, "_editorType", Xe.STAMP);
17136
17136
  var qv, KS, f0, p0, ef, eo, m0, XS, qS, sc, nf, vr, af, g0, QS, be, v0, PC, hM, Rw, nk, su, jc, zC, fM, BC, pM, WS, sR;
17137
17137
  const Xu = class Xu {
17138
17138
  constructor({
@@ -17181,20 +17181,20 @@ const Xu = class Xu {
17181
17181
  return b(this, eo).size === 0;
17182
17182
  }
17183
17183
  get isInvisible() {
17184
- return this.isEmpty && b(this, be).getMode() === Ke.NONE;
17184
+ return this.isEmpty && b(this, be).getMode() === Xe.NONE;
17185
17185
  }
17186
17186
  updateToolbar(t) {
17187
17187
  b(this, be).updateToolbar(t);
17188
17188
  }
17189
17189
  updateMode(t = b(this, be).getMode()) {
17190
17190
  switch (tt(this, WS, sR).call(this), t) {
17191
- case Ke.NONE:
17191
+ case Xe.NONE:
17192
17192
  this.div.classList.toggle("nonEditing", !0), this.disableTextSelection(), this.togglePointerEvents(!1), this.toggleAnnotationLayerPointerEvents(!0), this.disableClick();
17193
17193
  return;
17194
- case Ke.INK:
17194
+ case Xe.INK:
17195
17195
  this.disableTextSelection(), this.togglePointerEvents(!0), this.enableClick();
17196
17196
  break;
17197
- case Ke.HIGHLIGHT:
17197
+ case Xe.HIGHLIGHT:
17198
17198
  this.enableTextSelection(), this.togglePointerEvents(!1), this.disableClick();
17199
17199
  break;
17200
17200
  default:
@@ -17204,7 +17204,7 @@ const Xu = class Xu {
17204
17204
  const {
17205
17205
  classList: e
17206
17206
  } = this.div;
17207
- if (e.toggle("nonEditing", !1), t === Ke.POPUP)
17207
+ if (e.toggle("nonEditing", !1), t === Xe.POPUP)
17208
17208
  e.toggle("commentEditing", !0);
17209
17209
  else {
17210
17210
  e.toggle("commentEditing", !1);
@@ -17507,7 +17507,7 @@ const Xu = class Xu {
17507
17507
  return;
17508
17508
  }
17509
17509
  const n = b(this, be).getMode();
17510
- if (n === Ke.STAMP || n === Ke.SIGNATURE) {
17510
+ if (n === Xe.STAMP || n === Xe.SIGNATURE) {
17511
17511
  b(this, be).unselectAll();
17512
17512
  return;
17513
17513
  }
@@ -17515,7 +17515,7 @@ const Xu = class Xu {
17515
17515
  }
17516
17516
  pointerdown(t) {
17517
17517
  var i;
17518
- if (b(this, be).getMode() === Ke.HIGHLIGHT && this.enableTextSelection(), b(this, m0)) {
17518
+ if (b(this, be).getMode() === Xe.HIGHLIGHT && this.enableTextSelection(), b(this, m0)) {
17519
17519
  X(this, m0, !1);
17520
17520
  return;
17521
17521
  }
@@ -17788,7 +17788,7 @@ globalThis.pdfjsLib = {
17788
17788
  AbortException: sf,
17789
17789
  AnnotationEditorLayer: TR,
17790
17790
  AnnotationEditorParamsType: En,
17791
- AnnotationEditorType: Ke,
17791
+ AnnotationEditorType: Xe,
17792
17792
  AnnotationEditorUIManager: A0,
17793
17793
  AnnotationLayer: _9,
17794
17794
  AnnotationMode: pd,
@@ -17847,7 +17847,7 @@ const IV = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
17847
17847
  AbortException: sf,
17848
17848
  AnnotationEditorLayer: TR,
17849
17849
  AnnotationEditorParamsType: En,
17850
- AnnotationEditorType: Ke,
17850
+ AnnotationEditorType: Xe,
17851
17851
  AnnotationEditorUIManager: A0,
17852
17852
  AnnotationLayer: _9,
17853
17853
  AnnotationMode: pd,
@@ -33485,7 +33485,7 @@ function Ant({
33485
33485
  autoEnd: _,
33486
33486
  progress: v
33487
33487
  }) {
33488
- var re, Ge, Ze;
33488
+ var re, Ge, Je;
33489
33489
  const S = i.length - 1 <= (v == null ? void 0 : v.line) ? i.length - 1 : (v == null ? void 0 : v.line) || 0, [y, E] = ft(!1), [A, x] = ft(!0), [T, C] = ft(!!m), [R, M] = ft(!1), [O, N] = ft(S), [B, L] = ft(!1), [k] = d, { start: I, stop: G } = Ow(), Q = ((re = c == null ? void 0 : c.img) == null ? void 0 : re.url) || null, W = i[O], { voiceOver: K, decision: J } = W;
33490
33490
  let { flex: et } = W, q = [];
33491
33491
  const $ = !!r, rt = K || W.type === "conversationalNarration", lt = J || W.type === "conversationalDecision", at = W.type === "conversationalCamera", [st, dt] = ft([]), mt = Pn(() => st[st.length - 1], [st]), nt = Gt(() => {
@@ -33523,7 +33523,7 @@ function Ant({
33523
33523
  return W;
33524
33524
  const Kt = (oe = W == null ? void 0 : W.slots) == null ? void 0 : oe.find((zn) => zn.uid && zn.talking);
33525
33525
  return Kt || ((fe = W == null ? void 0 : W.slots) == null ? void 0 : fe.find((zn) => zn.uid && zn.text));
33526
- }, [W, rt, lt]), _t = i.slice(0, O + 1).reverse().find((Kt) => Kt.slots), xt = !lt && ((Ge = W.slots) == null ? void 0 : Ge.filter((Kt) => Kt.uid).length), Ot = SX * (((Ze = St == null ? void 0 : St.text) == null ? void 0 : Ze.length) || 0);
33526
+ }, [W, rt, lt]), _t = i.slice(0, O + 1).reverse().find((Kt) => Kt.slots), xt = !lt && ((Ge = W.slots) == null ? void 0 : Ge.filter((Kt) => Kt.uid).length), Ot = SX * (((Je = St == null ? void 0 : St.text) == null ? void 0 : Je.length) || 0);
33527
33527
  let jt = [];
33528
33528
  W.slots ? jt = W.slots : _t && (jt = _t.slots);
33529
33529
  const Ht = jt.filter((Kt) => Kt.uid).map((Kt) => {
@@ -36901,7 +36901,7 @@ var lR = "absoluteOpacity", y5 = "allEventListeners", gh = "absoluteTransform",
36901
36901
  "offsetYChange.konva",
36902
36902
  "transformsEnabledChange.konva"
36903
36903
  ].join(uR);
36904
- let dq = 1, We = class DM {
36904
+ let dq = 1, Ze = class DM {
36905
36905
  constructor(t) {
36906
36906
  this._id = dq++, this.eventListeners = {}, this.attrs = {}, this.index = 0, this._allEventListeners = null, this.parent = null, this._cache = /* @__PURE__ */ new Map(), this._attachedDepsListeners = /* @__PURE__ */ new Map(), this._lastPos = null, this._batchingTransformChange = !1, this._needClearTransformCache = !1, this._filterUpToDate = !1, this._isUnderCache = !1, this._dragEventId = null, this._shouldFireChangeEvents = !1, this.setAttrs(t), this._shouldFireChangeEvents = !0;
36907
36907
  }
@@ -37648,60 +37648,60 @@ let dq = 1, We = class DM {
37648
37648
  return r;
37649
37649
  }
37650
37650
  };
37651
- ki.Node = We;
37652
- We.prototype.nodeType = "Node";
37653
- We.prototype._attrsAffectingSize = [];
37654
- We.prototype.eventListeners = {};
37655
- We.prototype.on.call(We.prototype, cq, function() {
37651
+ ki.Node = Ze;
37652
+ Ze.prototype.nodeType = "Node";
37653
+ Ze.prototype._attrsAffectingSize = [];
37654
+ Ze.prototype.eventListeners = {};
37655
+ Ze.prototype.on.call(Ze.prototype, cq, function() {
37656
37656
  if (this._batchingTransformChange) {
37657
37657
  this._needClearTransformCache = !0;
37658
37658
  return;
37659
37659
  }
37660
37660
  this._clearCache(vp), this._clearSelfAndDescendantCache(gh);
37661
37661
  });
37662
- We.prototype.on.call(We.prototype, "visibleChange.konva", function() {
37662
+ Ze.prototype.on.call(Ze.prototype, "visibleChange.konva", function() {
37663
37663
  this._clearSelfAndDescendantCache(wM);
37664
37664
  });
37665
- We.prototype.on.call(We.prototype, "listeningChange.konva", function() {
37665
+ Ze.prototype.on.call(Ze.prototype, "listeningChange.konva", function() {
37666
37666
  this._clearSelfAndDescendantCache(RM);
37667
37667
  });
37668
- We.prototype.on.call(We.prototype, "opacityChange.konva", function() {
37668
+ Ze.prototype.on.call(Ze.prototype, "opacityChange.konva", function() {
37669
37669
  this._clearSelfAndDescendantCache(lR);
37670
37670
  });
37671
37671
  const mi = QC.Factory.addGetterSetter;
37672
- mi(We, "zIndex");
37673
- mi(We, "absolutePosition");
37674
- mi(We, "position");
37675
- mi(We, "x", 0, (0, xa.getNumberValidator)());
37676
- mi(We, "y", 0, (0, xa.getNumberValidator)());
37677
- mi(We, "globalCompositeOperation", "source-over", (0, xa.getStringValidator)());
37678
- mi(We, "opacity", 1, (0, xa.getNumberValidator)());
37679
- mi(We, "name", "", (0, xa.getStringValidator)());
37680
- mi(We, "id", "", (0, xa.getStringValidator)());
37681
- mi(We, "rotation", 0, (0, xa.getNumberValidator)());
37682
- QC.Factory.addComponentsGetterSetter(We, "scale", ["x", "y"]);
37683
- mi(We, "scaleX", 1, (0, xa.getNumberValidator)());
37684
- mi(We, "scaleY", 1, (0, xa.getNumberValidator)());
37685
- QC.Factory.addComponentsGetterSetter(We, "skew", ["x", "y"]);
37686
- mi(We, "skewX", 0, (0, xa.getNumberValidator)());
37687
- mi(We, "skewY", 0, (0, xa.getNumberValidator)());
37688
- QC.Factory.addComponentsGetterSetter(We, "offset", ["x", "y"]);
37689
- mi(We, "offsetX", 0, (0, xa.getNumberValidator)());
37690
- mi(We, "offsetY", 0, (0, xa.getNumberValidator)());
37691
- mi(We, "dragDistance", null, (0, xa.getNumberValidator)());
37692
- mi(We, "width", 0, (0, xa.getNumberValidator)());
37693
- mi(We, "height", 0, (0, xa.getNumberValidator)());
37694
- mi(We, "listening", !0, (0, xa.getBooleanValidator)());
37695
- mi(We, "preventDefault", !0, (0, xa.getBooleanValidator)());
37696
- mi(We, "filters", null, function(u) {
37672
+ mi(Ze, "zIndex");
37673
+ mi(Ze, "absolutePosition");
37674
+ mi(Ze, "position");
37675
+ mi(Ze, "x", 0, (0, xa.getNumberValidator)());
37676
+ mi(Ze, "y", 0, (0, xa.getNumberValidator)());
37677
+ mi(Ze, "globalCompositeOperation", "source-over", (0, xa.getStringValidator)());
37678
+ mi(Ze, "opacity", 1, (0, xa.getNumberValidator)());
37679
+ mi(Ze, "name", "", (0, xa.getStringValidator)());
37680
+ mi(Ze, "id", "", (0, xa.getStringValidator)());
37681
+ mi(Ze, "rotation", 0, (0, xa.getNumberValidator)());
37682
+ QC.Factory.addComponentsGetterSetter(Ze, "scale", ["x", "y"]);
37683
+ mi(Ze, "scaleX", 1, (0, xa.getNumberValidator)());
37684
+ mi(Ze, "scaleY", 1, (0, xa.getNumberValidator)());
37685
+ QC.Factory.addComponentsGetterSetter(Ze, "skew", ["x", "y"]);
37686
+ mi(Ze, "skewX", 0, (0, xa.getNumberValidator)());
37687
+ mi(Ze, "skewY", 0, (0, xa.getNumberValidator)());
37688
+ QC.Factory.addComponentsGetterSetter(Ze, "offset", ["x", "y"]);
37689
+ mi(Ze, "offsetX", 0, (0, xa.getNumberValidator)());
37690
+ mi(Ze, "offsetY", 0, (0, xa.getNumberValidator)());
37691
+ mi(Ze, "dragDistance", null, (0, xa.getNumberValidator)());
37692
+ mi(Ze, "width", 0, (0, xa.getNumberValidator)());
37693
+ mi(Ze, "height", 0, (0, xa.getNumberValidator)());
37694
+ mi(Ze, "listening", !0, (0, xa.getBooleanValidator)());
37695
+ mi(Ze, "preventDefault", !0, (0, xa.getBooleanValidator)());
37696
+ mi(Ze, "filters", null, function(u) {
37697
37697
  return this._filterUpToDate = !1, u;
37698
37698
  });
37699
- mi(We, "visible", !0, (0, xa.getBooleanValidator)());
37700
- mi(We, "transformsEnabled", "all", (0, xa.getStringValidator)());
37701
- mi(We, "size");
37702
- mi(We, "dragBoundFunc");
37703
- mi(We, "draggable", !1, (0, xa.getBooleanValidator)());
37704
- QC.Factory.backCompat(We, {
37699
+ mi(Ze, "visible", !0, (0, xa.getBooleanValidator)());
37700
+ mi(Ze, "transformsEnabled", "all", (0, xa.getStringValidator)());
37701
+ mi(Ze, "size");
37702
+ mi(Ze, "dragBoundFunc");
37703
+ mi(Ze, "draggable", !1, (0, xa.getBooleanValidator)());
37704
+ QC.Factory.backCompat(Ze, {
37705
37705
  rotateDeg: "rotate",
37706
37706
  setRotationDeg: "setRotation",
37707
37707
  getRotationDeg: "getRotation"
@@ -44289,12 +44289,12 @@ Error generating stack: ` + P.message + `
44289
44289
  var h = 0;
44290
44290
  Ro !== 0 && oE() && (h = Ro);
44291
44291
  for (var p = Bn(), w = null, P = ji; P !== null; ) {
44292
- var H = P.next, j = Ze(P, p);
44292
+ var H = P.next, j = Je(P, p);
44293
44293
  j === 0 ? (P.next = null, w === null ? ji = H : w.next = H, H === null && (Xr = w)) : (w = P, (h !== 0 || j & 3) && (jf = !0)), P = H;
44294
44294
  }
44295
44295
  Gn !== 0 && Gn !== 5 || qt(h, !1), Ro !== 0 && (Ro = 0);
44296
44296
  }
44297
- function Ze(h, p) {
44297
+ function Je(h, p) {
44298
44298
  for (var w = h.suspendedLanes, P = h.pingedLanes, H = h.expirationTimes, j = h.pendingLanes & -62914561; 0 < j; ) {
44299
44299
  var it = 31 - Vr(j), pt = 1 << it, Lt = H[it];
44300
44300
  Lt === -1 ? (!(pt & w) || pt & P) && (H[it] = T(pt, p)) : Lt <= p && (h.expiredLanes |= pt), j &= ~pt;
@@ -44337,7 +44337,7 @@ Error generating stack: ` + P.message + `
44337
44337
  h,
44338
44338
  h === Zn ? P : 0,
44339
44339
  h.cancelPendingCommit !== null || h.timeoutHandle !== wu
44340
- ), P === 0 ? null : (G2(h, P, p), Ze(h, Bn()), h.callbackNode != null && h.callbackNode === w ? Kt.bind(null, h) : null);
44340
+ ), P === 0 ? null : (G2(h, P, p), Je(h, Bn()), h.callbackNode != null && h.callbackNode === w ? Kt.bind(null, h) : null);
44341
44341
  }
44342
44342
  function oe(h, p) {
44343
44343
  if (Hi())
@@ -44473,7 +44473,7 @@ Error generating stack: ` + P.message + `
44473
44473
  throw Us = p, Kf;
44474
44474
  }
44475
44475
  }
44476
- function Je(h) {
44476
+ function je(h) {
44477
44477
  try {
44478
44478
  var p = h._init;
44479
44479
  return p(h._payload);
@@ -44545,7 +44545,7 @@ Error generating stack: ` + P.message + `
44545
44545
  Nt.props.children,
44546
44546
  Qt,
44547
44547
  Nt.key
44548
- ) : At !== null && (At.elementType === Ce || typeof Ce == "object" && Ce !== null && Ce.$$typeof === Sc && Je(Ce) === At.type) ? (At = H(At, Nt.props), ue(At, Nt), At.return = Ct, At) : (At = ym(
44548
+ ) : At !== null && (At.elementType === Ce || typeof Ce == "object" && Ce !== null && Ce.$$typeof === Sc && je(Ce) === At.type) ? (At = H(At, Nt.props), ue(At, Nt), At.return = Ct, At) : (At = ym(
44549
44549
  Nt.type,
44550
44550
  Nt.key,
44551
44551
  Nt.props,
@@ -44590,7 +44590,7 @@ Error generating stack: ` + P.message + `
44590
44590
  Nt
44591
44591
  ), At.return = Ct, At;
44592
44592
  case Sc:
44593
- return At = Je(At), Wt(Ct, At, Nt);
44593
+ return At = je(At), Wt(Ct, At, Nt);
44594
44594
  }
44595
44595
  if (Ec(At) || f(At))
44596
44596
  return At = Cu(
@@ -44622,7 +44622,7 @@ Error generating stack: ` + P.message + `
44622
44622
  case bc:
44623
44623
  return Nt.key === Ce ? Vt(Ct, At, Nt, Qt) : null;
44624
44624
  case Sc:
44625
- return Nt = Je(Nt), se(Ct, At, Nt, Qt);
44625
+ return Nt = je(Nt), se(Ct, At, Nt, Qt);
44626
44626
  }
44627
44627
  if (Ec(Nt) || f(Nt))
44628
44628
  return Ce !== null ? null : te(Ct, At, Nt, Qt, null);
@@ -44658,7 +44658,7 @@ Error generating stack: ` + P.message + `
44658
44658
  Qt.key === null ? Nt : Qt.key
44659
44659
  ) || null, Vt(At, Ct, Qt, Ce);
44660
44660
  case Sc:
44661
- return Qt = Je(Qt), De(
44661
+ return Qt = je(Qt), De(
44662
44662
  Ct,
44663
44663
  At,
44664
44664
  Nt,
@@ -44785,7 +44785,7 @@ Error generating stack: ` + P.message + `
44785
44785
  ), Qt.return = Ct, Ct = Qt;
44786
44786
  break t;
44787
44787
  }
44788
- } else if (At.elementType === Ce || typeof Ce == "object" && Ce !== null && Ce.$$typeof === Sc && Je(Ce) === At.type) {
44788
+ } else if (At.elementType === Ce || typeof Ce == "object" && Ce !== null && Ce.$$typeof === Sc && je(Ce) === At.type) {
44789
44789
  w(
44790
44790
  Ct,
44791
44791
  At.sibling
@@ -44838,7 +44838,7 @@ Error generating stack: ` + P.message + `
44838
44838
  }
44839
44839
  return it(Ct);
44840
44840
  case Sc:
44841
- return Nt = Je(Nt), qd(
44841
+ return Nt = je(Nt), qd(
44842
44842
  Ct,
44843
44843
  At,
44844
44844
  Nt,
@@ -45154,7 +45154,7 @@ Error generating stack: ` + P.message + `
45154
45154
  return !0;
45155
45155
  }
45156
45156
  function H0(h, p, w, P, H, j) {
45157
- return zu = j, Ve = p, p.memoizedState = null, p.updateQueue = null, p.lanes = 0, Ae.H = h === null || h.memoizedState === null ? c4 : CE, Yd = !1, j = w(P, H), Yd = !1, Xf && (j = _y(
45157
+ return zu = j, Ye = p, p.memoizedState = null, p.updateQueue = null, p.lanes = 0, Ae.H = h === null || h.memoizedState === null ? c4 : CE, Yd = !1, j = w(P, H), Yd = !1, Xf && (j = _y(
45158
45158
  p,
45159
45159
  w,
45160
45160
  P,
@@ -45164,12 +45164,12 @@ Error generating stack: ` + P.message + `
45164
45164
  function gf(h) {
45165
45165
  Ae.H = Im;
45166
45166
  var p = Kn !== null && Kn.next !== null;
45167
- if (zu = 0, aa = Kn = Ve = null, z1 = !1, qf = 0, Qf = null, p)
45167
+ if (zu = 0, aa = Kn = Ye = null, z1 = !1, qf = 0, Qf = null, p)
45168
45168
  throw Error(i(300));
45169
45169
  h === null || ra || (h = h.dependencies, h !== null && He(h) && (ra = !0));
45170
45170
  }
45171
45171
  function _y(h, p, w, P) {
45172
- Ve = h;
45172
+ Ye = h;
45173
45173
  var H = 0;
45174
45174
  do {
45175
45175
  if (Xf && (Qf = null), qf = 0, Xf = !1, 25 <= H)
@@ -45184,7 +45184,7 @@ Error generating stack: ` + P.message + `
45184
45184
  }
45185
45185
  function by() {
45186
45186
  var h = Ae.H, p = h.useState()[0];
45187
- return p = typeof p.then == "function" ? ho(p) : p, h = h.useState()[0], (Kn !== null ? Kn.memoizedState : null) !== h && (Ve.flags |= 1024), p;
45187
+ return p = typeof p.then == "function" ? ho(p) : p, h = h.useState()[0], (Kn !== null ? Kn.memoizedState : null) !== h && (Ye.flags |= 1024), p;
45188
45188
  }
45189
45189
  function fl() {
45190
45190
  var h = B1 !== 0;
@@ -45201,7 +45201,7 @@ Error generating stack: ` + P.message + `
45201
45201
  }
45202
45202
  z1 = !1;
45203
45203
  }
45204
- zu = 0, aa = Kn = Ve = null, Xf = !1, qf = B1 = 0, Qf = null;
45204
+ zu = 0, aa = Kn = Ye = null, Xf = !1, qf = B1 = 0, Qf = null;
45205
45205
  }
45206
45206
  function Ia() {
45207
45207
  var h = {
@@ -45211,27 +45211,27 @@ Error generating stack: ` + P.message + `
45211
45211
  queue: null,
45212
45212
  next: null
45213
45213
  };
45214
- return aa === null ? Ve.memoizedState = aa = h : aa = aa.next = h, aa;
45214
+ return aa === null ? Ye.memoizedState = aa = h : aa = aa.next = h, aa;
45215
45215
  }
45216
45216
  function ei() {
45217
45217
  if (Kn === null) {
45218
- var h = Ve.alternate;
45218
+ var h = Ye.alternate;
45219
45219
  h = h !== null ? h.memoizedState : null;
45220
45220
  } else
45221
45221
  h = Kn.next;
45222
- var p = aa === null ? Ve.memoizedState : aa.next;
45222
+ var p = aa === null ? Ye.memoizedState : aa.next;
45223
45223
  if (p !== null)
45224
45224
  aa = p, Kn = h;
45225
45225
  else {
45226
45226
  if (h === null)
45227
- throw Ve.alternate === null ? Error(i(467)) : Error(i(310));
45227
+ throw Ye.alternate === null ? Error(i(467)) : Error(i(310));
45228
45228
  Kn = h, h = {
45229
45229
  memoizedState: Kn.memoizedState,
45230
45230
  baseState: Kn.baseState,
45231
45231
  baseQueue: Kn.baseQueue,
45232
45232
  queue: Kn.queue,
45233
45233
  next: null
45234
- }, aa === null ? Ve.memoizedState = aa = h : aa = aa.next = h;
45234
+ }, aa === null ? Ye.memoizedState = aa = h : aa = aa.next = h;
45235
45235
  }
45236
45236
  return aa;
45237
45237
  }
@@ -45240,7 +45240,7 @@ Error generating stack: ` + P.message + `
45240
45240
  }
45241
45241
  function ho(h) {
45242
45242
  var p = qf;
45243
- return qf += 1, Qf === null && (Qf = []), h = Ee(Qf, h, p), p = Ve, (aa === null ? p.memoizedState : aa.next) === null && (p = p.alternate, Ae.H = p === null || p.memoizedState === null ? c4 : CE), h;
45243
+ return qf += 1, Qf === null && (Qf = []), h = Ee(Qf, h, p), p = Ye, (aa === null ? p.memoizedState : aa.next) === null && (p = p.alternate, Ae.H = p === null || p.memoizedState === null ? c4 : CE), h;
45244
45244
  }
45245
45245
  function Yn(h) {
45246
45246
  if (h !== null && typeof h == "object") {
@@ -45252,9 +45252,9 @@ Error generating stack: ` + P.message + `
45252
45252
  throw Error(i(438, String(h)));
45253
45253
  }
45254
45254
  function vf(h) {
45255
- var p = null, w = Ve.updateQueue;
45255
+ var p = null, w = Ye.updateQueue;
45256
45256
  if (w !== null && (p = w.memoCache), p == null) {
45257
- var P = Ve.alternate;
45257
+ var P = Ye.alternate;
45258
45258
  P !== null && (P = P.updateQueue, P !== null && (P = P.memoCache, P != null && (p = {
45259
45259
  data: P.data.map(function(H) {
45260
45260
  return H.slice();
@@ -45262,7 +45262,7 @@ Error generating stack: ` + P.message + `
45262
45262
  index: 0
45263
45263
  })));
45264
45264
  }
45265
- if (p == null && (p = { data: [], index: 0 }), w === null && (w = Ad(), Ve.updateQueue = w), w.memoCache = p, w = p.data[p.index], w === void 0)
45265
+ if (p == null && (p = { data: [], index: 0 }), w === null && (w = Ad(), Ye.updateQueue = w), w.memoCache = p, w = p.data[p.index], w === void 0)
45266
45266
  for (w = p.data[p.index] = Array(h), P = 0; P < h; P++)
45267
45267
  w[P] = Tl;
45268
45268
  return p.index++, w;
@@ -45318,7 +45318,7 @@ Error generating stack: ` + P.message + `
45318
45318
  hasEagerState: Vt.hasEagerState,
45319
45319
  eagerState: Vt.eagerState,
45320
45320
  next: null
45321
- }, Lt === null ? (pt = Lt = Wt, it = j) : Lt = Lt.next = Wt, Ve.lanes |= se, Oc |= se;
45321
+ }, Lt === null ? (pt = Lt = Wt, it = j) : Lt = Lt.next = Wt, Ye.lanes |= se, Oc |= se;
45322
45322
  Wt = Vt.action, Yd && w(j, Wt), j = Vt.hasEagerState ? Vt.eagerState : w(j, Wt);
45323
45323
  } else
45324
45324
  se = {
@@ -45329,7 +45329,7 @@ Error generating stack: ` + P.message + `
45329
45329
  hasEagerState: Vt.hasEagerState,
45330
45330
  eagerState: Vt.eagerState,
45331
45331
  next: null
45332
- }, Lt === null ? (pt = Lt = se, it = j) : Lt = Lt.next = se, Ve.lanes |= Wt, Oc |= Wt;
45332
+ }, Lt === null ? (pt = Lt = se, it = j) : Lt = Lt.next = se, Ye.lanes |= Wt, Oc |= Wt;
45333
45333
  Vt = Vt.next;
45334
45334
  } while (Vt !== null && Vt !== p);
45335
45335
  if (Lt === null ? it = j : Lt.next = pt, !ja(j, h.memoizedState) && (ra = !0, te && (w = Yf, w !== null)))
@@ -45355,7 +45355,7 @@ Error generating stack: ` + P.message + `
45355
45355
  return [j, P];
45356
45356
  }
45357
45357
  function fo(h, p, w) {
45358
- var P = Ve, H = ei(), j = on;
45358
+ var P = Ye, H = ei(), j = on;
45359
45359
  if (j) {
45360
45360
  if (w === void 0)
45361
45361
  throw Error(i(407));
@@ -45387,7 +45387,7 @@ Error generating stack: ` + P.message + `
45387
45387
  return w;
45388
45388
  }
45389
45389
  function n3(h, p, w) {
45390
- h.flags |= 16384, h = { getSnapshot: p, value: w }, p = Ve.updateQueue, p === null ? (p = Ad(), Ve.updateQueue = p, p.stores = [h]) : (w = p.stores, w === null ? p.stores = [h] : w.push(h));
45390
+ h.flags |= 16384, h = { getSnapshot: p, value: w }, p = Ye.updateQueue, p === null ? (p = Ad(), Ye.updateQueue = p, p.stores = [h]) : (w = p.stores, w === null ? p.stores = [h] : w.push(h));
45391
45391
  }
45392
45392
  function ml(h, p, w, P) {
45393
45393
  p.value = w, p.getSnapshot = P, _f(p) && V0(h);
@@ -45515,7 +45515,7 @@ Error generating stack: ` + P.message + `
45515
45515
  var w = Zn.formState;
45516
45516
  if (w !== null) {
45517
45517
  t: {
45518
- var P = Ve;
45518
+ var P = Ye;
45519
45519
  if (on) {
45520
45520
  if (vi) {
45521
45521
  var H = U3(
@@ -45542,12 +45542,12 @@ Error generating stack: ` + P.message + `
45542
45542
  lastRenderedState: p
45543
45543
  }, w.queue = P, w = wy.bind(
45544
45544
  null,
45545
- Ve,
45545
+ Ye,
45546
45546
  P
45547
45547
  ), P.dispatch = w, P = Sr(!1);
45548
45548
  var j = Sf.bind(
45549
45549
  null,
45550
- Ve,
45550
+ Ye,
45551
45551
  !1,
45552
45552
  P.queue
45553
45553
  );
@@ -45558,7 +45558,7 @@ Error generating stack: ` + P.message + `
45558
45558
  pending: null
45559
45559
  }, P.queue = H, w = gl.bind(
45560
45560
  null,
45561
- Ve,
45561
+ Ye,
45562
45562
  H,
45563
45563
  j,
45564
45564
  w
@@ -45583,7 +45583,7 @@ Error generating stack: ` + P.message + `
45583
45583
  P = p;
45584
45584
  p = ei();
45585
45585
  var H = p.queue, j = H.dispatch;
45586
- return w !== p.memoizedState && (Ve.flags |= 2048, Er(
45586
+ return w !== p.memoizedState && (Ye.flags |= 2048, Er(
45587
45587
  9,
45588
45588
  { destroy: void 0 },
45589
45589
  K0.bind(null, H, w),
@@ -45602,14 +45602,14 @@ Error generating stack: ` + P.message + `
45602
45602
  return w.memoizedState = h, [p, P, !1];
45603
45603
  }
45604
45604
  function Er(h, p, w, P) {
45605
- return h = { tag: h, create: w, deps: P, inst: p, next: null }, p = Ve.updateQueue, p === null && (p = Ad(), Ve.updateQueue = p), w = p.lastEffect, w === null ? p.lastEffect = h.next = h : (P = w.next, w.next = h, h.next = P, p.lastEffect = h), h;
45605
+ return h = { tag: h, create: w, deps: P, inst: p, next: null }, p = Ye.updateQueue, p === null && (p = Ad(), Ye.updateQueue = p), w = p.lastEffect, w === null ? p.lastEffect = h.next = h : (P = w.next, w.next = h, h.next = P, p.lastEffect = h), h;
45606
45606
  }
45607
45607
  function Cd() {
45608
45608
  return ei().memoizedState;
45609
45609
  }
45610
45610
  function q0(h, p, w, P) {
45611
45611
  var H = Ia();
45612
- Ve.flags |= h, H.memoizedState = Er(
45612
+ Ye.flags |= h, H.memoizedState = Er(
45613
45613
  1 | p,
45614
45614
  { destroy: void 0 },
45615
45615
  w,
@@ -45620,7 +45620,7 @@ Error generating stack: ` + P.message + `
45620
45620
  var H = ei();
45621
45621
  P = P === void 0 ? null : P;
45622
45622
  var j = H.memoizedState.inst;
45623
- Kn !== null && P !== null && yu(P, Kn.memoizedState.deps) ? H.memoizedState = Er(p, j, w, P) : (Ve.flags |= h, H.memoizedState = Er(
45623
+ Kn !== null && P !== null && yu(P, Kn.memoizedState.deps) ? H.memoizedState = Er(p, j, w, P) : (Ye.flags |= h, H.memoizedState = Er(
45624
45624
  1 | p,
45625
45625
  j,
45626
45626
  w,
@@ -45634,10 +45634,10 @@ Error generating stack: ` + P.message + `
45634
45634
  bf(2048, 8, h, p);
45635
45635
  }
45636
45636
  function i3(h) {
45637
- Ve.flags |= 4;
45638
- var p = Ve.updateQueue;
45637
+ Ye.flags |= 4;
45638
+ var p = Ye.updateQueue;
45639
45639
  if (p === null)
45640
- p = Ad(), Ve.updateQueue = p, p.events = [h];
45640
+ p = Ad(), Ye.updateQueue = p, p.events = [h];
45641
45641
  else {
45642
45642
  var w = p.events;
45643
45643
  w === null ? p.events = [h] : w.push(h);
@@ -45703,10 +45703,10 @@ Error generating stack: ` + P.message + `
45703
45703
  return w.memoizedState = [P, p], P;
45704
45704
  }
45705
45705
  function Cy(h, p, w) {
45706
- return w === void 0 || zu & 1073741824 && !(hn & 261930) ? h.memoizedState = p : (h.memoizedState = w, h = fm(), Ve.lanes |= h, Oc |= h, w);
45706
+ return w === void 0 || zu & 1073741824 && !(hn & 261930) ? h.memoizedState = p : (h.memoizedState = w, h = fm(), Ye.lanes |= h, Oc |= h, w);
45707
45707
  }
45708
45708
  function W0(h, p, w, P) {
45709
- return ja(w, p) ? w : Nl.current !== null ? (h = Cy(h, w, P), ja(h, p) || (ra = !0), h) : !(zu & 42) || zu & 1073741824 && !(hn & 261930) ? (ra = !0, h.memoizedState = w) : (h = fm(), Ve.lanes |= h, Oc |= h, p);
45709
+ return ja(w, p) ? w : Nl.current !== null ? (h = Cy(h, w, P), ja(h, p) || (ra = !0), h) : !(zu & 42) || zu & 1073741824 && !(hn & 261930) ? (ra = !0, h.memoizedState = w) : (h = fm(), Ye.lanes |= h, Oc |= h, p);
45710
45710
  }
45711
45711
  function x2(h, p, w, P, H) {
45712
45712
  var j = xl();
@@ -45867,7 +45867,7 @@ Error generating stack: ` + P.message + `
45867
45867
  }
45868
45868
  function fc(h) {
45869
45869
  var p = h.alternate;
45870
- return h === Ve || p !== null && p === Ve;
45870
+ return h === Ye || p !== null && p === Ye;
45871
45871
  }
45872
45872
  function w2(h, p) {
45873
45873
  Xf = z1 = !0;
@@ -46460,7 +46460,7 @@ Error generating stack: ` + P.message + `
46460
46460
  var P = h.alternate;
46461
46461
  P !== null && (P.lanes |= p), ie(h.return, p, w);
46462
46462
  }
46463
- function je(h, p, w, P, H, j) {
46463
+ function Ve(h, p, w, P, H, j) {
46464
46464
  var it = h.memoizedState;
46465
46465
  it === null ? h.memoizedState = {
46466
46466
  isBackwards: p,
@@ -46500,7 +46500,7 @@ Error generating stack: ` + P.message + `
46500
46500
  case "forwards":
46501
46501
  for (w = p.child, H = null; w !== null; )
46502
46502
  h = w.alternate, h !== null && vu(h) === null && (H = w), w = w.sibling;
46503
- w = H, w === null ? (H = p.child, p.child = null) : (H = w.sibling, w.sibling = null), je(
46503
+ w = H, w === null ? (H = p.child, p.child = null) : (H = w.sibling, w.sibling = null), Ve(
46504
46504
  p,
46505
46505
  !1,
46506
46506
  H,
@@ -46518,7 +46518,7 @@ Error generating stack: ` + P.message + `
46518
46518
  }
46519
46519
  h = H.sibling, H.sibling = w, w = H, H = h;
46520
46520
  }
46521
- je(
46521
+ Ve(
46522
46522
  p,
46523
46523
  !0,
46524
46524
  w,
@@ -46528,7 +46528,7 @@ Error generating stack: ` + P.message + `
46528
46528
  );
46529
46529
  break;
46530
46530
  case "together":
46531
- je(
46531
+ Ve(
46532
46532
  p,
46533
46533
  !1,
46534
46534
  null,
@@ -46659,7 +46659,7 @@ Error generating stack: ` + P.message + `
46659
46659
  case 16:
46660
46660
  t: {
46661
46661
  var P = p.pendingProps;
46662
- if (h = Je(p.elementType), p.type = h, typeof h == "function")
46662
+ if (h = je(p.elementType), p.type = h, typeof h == "function")
46663
46663
  vm(h) ? (P = vl(h, P), p.tag = 1, p = L2(
46664
46664
  null,
46665
46665
  p,
@@ -49139,7 +49139,7 @@ Error generating stack: ` + P.message + `
49139
49139
  return Bu = p, Oe(), w;
49140
49140
  }
49141
49141
  function h3(h, p) {
49142
- Ve = null, Ae.H = Im, p === Kf || p === M1 ? (p = Vn(), Hn = 3) : p === N1 ? (p = Vn(), Hn = 4) : Hn = p === I1 ? 8 : p !== null && typeof p == "object" && typeof p.then == "function" ? 6 : 1, ms = p, un === null && (Oi = 1, $0(
49142
+ Ye = null, Ae.H = Im, p === Kf || p === M1 ? (p = Vn(), Hn = 3) : p === N1 ? (p = Vn(), Hn = 4) : Hn = p === I1 ? 8 : p !== null && typeof p == "object" && typeof p.then == "function" ? 6 : 1, ms = p, un === null && (Oi = 1, $0(
49143
49143
  h,
49144
49144
  q(p, h.current)
49145
49145
  ));
@@ -49824,7 +49824,7 @@ Error generating stack: ` + P.message + `
49824
49824
  DE = Bn(), typeof p == "object" && p !== null && typeof p.then == "function" && ce(h, p), O1 !== null && O1(h, p);
49825
49825
  };
49826
49826
  var Cc = _(null), Kf = Error(i(460)), N1 = Error(i(474)), M1 = Error(i(542)), L1 = { then: function() {
49827
- } }, Us = null, Hs = null, Fm = 0, Vd = ve(!0), u4 = ve(!1), Gs = [], wo = 0, AE = 0, Rc = !1, xE = !1, Nl = _(null), P1 = _(0), ps = _(null), js = null, Vi = _(0), zu = 0, Ve = null, Kn = null, aa = null, z1 = !1, Xf = !1, Yd = !1, B1 = 0, qf = 0, Qf = null, u8 = 0, Im = {
49827
+ } }, Us = null, Hs = null, Fm = 0, Vd = ve(!0), u4 = ve(!1), Gs = [], wo = 0, AE = 0, Rc = !1, xE = !1, Nl = _(null), P1 = _(0), ps = _(null), js = null, Vi = _(0), zu = 0, Ye = null, Kn = null, aa = null, z1 = !1, Xf = !1, Yd = !1, B1 = 0, qf = 0, Qf = null, u8 = 0, Im = {
49828
49828
  readContext: we,
49829
49829
  use: Yn,
49830
49830
  useCallback: xi,
@@ -49911,7 +49911,7 @@ Error generating stack: ` + P.message + `
49911
49911
  lastRenderedState: H
49912
49912
  }, P.queue = h, h = h.dispatch = ka.bind(
49913
49913
  null,
49914
- Ve,
49914
+ Ye,
49915
49915
  h
49916
49916
  ), [P.memoizedState, h];
49917
49917
  },
@@ -49923,7 +49923,7 @@ Error generating stack: ` + P.message + `
49923
49923
  h = Sr(h);
49924
49924
  var p = h.queue, w = wy.bind(
49925
49925
  null,
49926
- Ve,
49926
+ Ye,
49927
49927
  p
49928
49928
  );
49929
49929
  return p.dispatch = w, [h.memoizedState, w];
@@ -49937,14 +49937,14 @@ Error generating stack: ` + P.message + `
49937
49937
  var h = Sr(!1);
49938
49938
  return h = x2.bind(
49939
49939
  null,
49940
- Ve,
49940
+ Ye,
49941
49941
  h.queue,
49942
49942
  !0,
49943
49943
  !1
49944
49944
  ), Ia().memoizedState = h, [!1, h];
49945
49945
  },
49946
49946
  useSyncExternalStore: function(h, p, w) {
49947
- var P = Ve, H = Ia();
49947
+ var P = Ye, H = Ia();
49948
49948
  if (on) {
49949
49949
  if (w === void 0)
49950
49950
  throw Error(i(407));
@@ -49995,7 +49995,7 @@ Error generating stack: ` + P.message + `
49995
49995
  };
49996
49996
  return p.queue = w, p = Sf.bind(
49997
49997
  null,
49998
- Ve,
49998
+ Ye,
49999
49999
  !0,
50000
50000
  w
50001
50001
  ), w.dispatch = p, [h, p];
@@ -50004,7 +50004,7 @@ Error generating stack: ` + P.message + `
50004
50004
  useCacheRefresh: function() {
50005
50005
  return Ia().memoizedState = r3.bind(
50006
50006
  null,
50007
- Ve
50007
+ Ye
50008
50008
  );
50009
50009
  },
50010
50010
  useEffectEvent: function(h) {
@@ -51536,7 +51536,7 @@ function MZ() {
51536
51536
  "disabledDepth fell below zero. This is a bug in React. Please file an issue."
51537
51537
  );
51538
51538
  }
51539
- function Ze(a) {
51539
+ function Je(a) {
51540
51540
  var s = Error.prepareStackTrace;
51541
51541
  if (Error.prepareStackTrace = void 0, a = a.stack, Error.prepareStackTrace = s, a.startsWith(`Error: react-stack-top-frame
51542
51542
  `) && (a = a.slice(29)), s = a.indexOf(`
@@ -51700,7 +51700,7 @@ function MZ() {
51700
51700
  t: {
51701
51701
  var Z = F.name, ct = F.env, yt = F.debugLocation;
51702
51702
  if (yt != null) {
51703
- var Mt = Ze(yt), Pt = Mt.lastIndexOf(`
51703
+ var Mt = Je(yt), Pt = Mt.lastIndexOf(`
51704
51704
  `), Ut = Pt === -1 ? Mt : Mt.slice(Pt + 1);
51705
51705
  if (Ut.indexOf(Z) !== -1) {
51706
51706
  var Te = `
@@ -51778,7 +51778,7 @@ Error generating stack: ` + Ie.message + `
51778
51778
  "Expected to be hydrating. This is a bug in React. Please file an issue."
51779
51779
  );
51780
51780
  }
51781
- function Je(a) {
51781
+ function je(a) {
51782
51782
  return a === null && console.error(
51783
51783
  "Expected host context to exist. This error is likely caused by a bug in React. Please file an issue."
51784
51784
  ), a;
@@ -51790,11 +51790,11 @@ Error generating stack: ` + Ie.message + `
51790
51790
  I(ep, a), I(ME, a), I(np, a);
51791
51791
  }
51792
51792
  function Zt() {
51793
- return Je(ep.current);
51793
+ return je(ep.current);
51794
51794
  }
51795
51795
  function ue(a) {
51796
51796
  a.memoizedState !== null && G(p4, a, a);
51797
- var s = Je(ep.current), g = Va(s, a.type);
51797
+ var s = je(ep.current), g = Va(s, a.type);
51798
51798
  s !== g && (G(ME, a, a), G(ep, g, a));
51799
51799
  }
51800
51800
  function ze(a) {
@@ -52104,14 +52104,14 @@ Error generating stack: ` + Ie.message + `
52104
52104
  a = g._debugOwner;
52105
52105
  var D = g._debugStack;
52106
52106
  if (a && D) {
52107
- var z = Ze(D);
52107
+ var z = Je(D);
52108
52108
  z !== "" && (s += `
52109
52109
  ` + z);
52110
52110
  }
52111
52111
  } else if (a.debugStack != null) {
52112
52112
  var F = a.debugStack;
52113
52113
  (a = a.owner) && F && (s += `
52114
- ` + Ze(F));
52114
+ ` + Je(F));
52115
52115
  } else
52116
52116
  break;
52117
52117
  var V = s;
@@ -53163,72 +53163,72 @@ It can also happen if the client has a browser extension installed which messes
53163
53163
  return Bt;
53164
53164
  }
53165
53165
  function Jn(gt, vt, Tt, Bt) {
53166
- for (var le = null, xn = null, Fe = null, Ye = vt, qe = vt = 0, Si = null; Ye !== null && qe < Tt.length; qe++) {
53167
- Ye.index > qe ? (Si = Ye, Ye = null) : Si = Ye.sibling;
53166
+ for (var le = null, xn = null, Fe = null, Ke = vt, Qe = vt = 0, Si = null; Ke !== null && Qe < Tt.length; Qe++) {
53167
+ Ke.index > Qe ? (Si = Ke, Ke = null) : Si = Ke.sibling;
53168
53168
  var ba = Ut(
53169
53169
  gt,
53170
- Ye,
53171
- Tt[qe],
53170
+ Ke,
53171
+ Tt[Qe],
53172
53172
  Bt
53173
53173
  );
53174
53174
  if (ba === null) {
53175
- Ye === null && (Ye = Si);
53175
+ Ke === null && (Ke = Si);
53176
53176
  break;
53177
53177
  }
53178
53178
  le = Ie(
53179
53179
  gt,
53180
53180
  ba,
53181
- Tt[qe],
53181
+ Tt[Qe],
53182
53182
  le
53183
- ), a && Ye && ba.alternate === null && s(gt, Ye), vt = F(ba, vt, qe), Fe === null ? xn = ba : Fe.sibling = ba, Fe = ba, Ye = Si;
53183
+ ), a && Ke && ba.alternate === null && s(gt, Ke), vt = F(ba, vt, Qe), Fe === null ? xn = ba : Fe.sibling = ba, Fe = ba, Ke = Si;
53184
53184
  }
53185
- if (qe === Tt.length)
53186
- return g(gt, Ye), pn && In(gt, qe), xn;
53187
- if (Ye === null) {
53188
- for (; qe < Tt.length; qe++)
53189
- Ye = Pt(gt, Tt[qe], Bt), Ye !== null && (le = Ie(
53185
+ if (Qe === Tt.length)
53186
+ return g(gt, Ke), pn && In(gt, Qe), xn;
53187
+ if (Ke === null) {
53188
+ for (; Qe < Tt.length; Qe++)
53189
+ Ke = Pt(gt, Tt[Qe], Bt), Ke !== null && (le = Ie(
53190
53190
  gt,
53191
- Ye,
53192
- Tt[qe],
53191
+ Ke,
53192
+ Tt[Qe],
53193
53193
  le
53194
53194
  ), vt = F(
53195
- Ye,
53195
+ Ke,
53196
53196
  vt,
53197
- qe
53198
- ), Fe === null ? xn = Ye : Fe.sibling = Ye, Fe = Ye);
53199
- return pn && In(gt, qe), xn;
53197
+ Qe
53198
+ ), Fe === null ? xn = Ke : Fe.sibling = Ke, Fe = Ke);
53199
+ return pn && In(gt, Qe), xn;
53200
53200
  }
53201
- for (Ye = D(Ye); qe < Tt.length; qe++)
53201
+ for (Ke = D(Ke); Qe < Tt.length; Qe++)
53202
53202
  Si = Te(
53203
- Ye,
53203
+ Ke,
53204
53204
  gt,
53205
- qe,
53206
- Tt[qe],
53205
+ Qe,
53206
+ Tt[Qe],
53207
53207
  Bt
53208
53208
  ), Si !== null && (le = Ie(
53209
53209
  gt,
53210
53210
  Si,
53211
- Tt[qe],
53211
+ Tt[Qe],
53212
53212
  le
53213
- ), a && Si.alternate !== null && Ye.delete(
53214
- Si.key === null ? qe : Si.key
53213
+ ), a && Si.alternate !== null && Ke.delete(
53214
+ Si.key === null ? Qe : Si.key
53215
53215
  ), vt = F(
53216
53216
  Si,
53217
53217
  vt,
53218
- qe
53218
+ Qe
53219
53219
  ), Fe === null ? xn = Si : Fe.sibling = Si, Fe = Si);
53220
- return a && Ye.forEach(function(uh) {
53220
+ return a && Ke.forEach(function(uh) {
53221
53221
  return s(gt, uh);
53222
- }), pn && In(gt, qe), xn;
53222
+ }), pn && In(gt, Qe), xn;
53223
53223
  }
53224
53224
  function S_(gt, vt, Tt, Bt) {
53225
53225
  if (Tt == null)
53226
53226
  throw Error("An iterable object provided no iterator.");
53227
- for (var le = null, xn = null, Fe = vt, Ye = vt = 0, qe = null, Si = null, ba = Tt.next(); Fe !== null && !ba.done; Ye++, ba = Tt.next()) {
53228
- Fe.index > Ye ? (qe = Fe, Fe = null) : qe = Fe.sibling;
53227
+ for (var le = null, xn = null, Fe = vt, Ke = vt = 0, Qe = null, Si = null, ba = Tt.next(); Fe !== null && !ba.done; Ke++, ba = Tt.next()) {
53228
+ Fe.index > Ke ? (Qe = Fe, Fe = null) : Qe = Fe.sibling;
53229
53229
  var uh = Ut(gt, Fe, ba.value, Bt);
53230
53230
  if (uh === null) {
53231
- Fe === null && (Fe = qe);
53231
+ Fe === null && (Fe = Qe);
53232
53232
  break;
53233
53233
  }
53234
53234
  Si = Ie(
@@ -53236,12 +53236,12 @@ It can also happen if the client has a browser extension installed which messes
53236
53236
  uh,
53237
53237
  ba.value,
53238
53238
  Si
53239
- ), a && Fe && uh.alternate === null && s(gt, Fe), vt = F(uh, vt, Ye), xn === null ? le = uh : xn.sibling = uh, xn = uh, Fe = qe;
53239
+ ), a && Fe && uh.alternate === null && s(gt, Fe), vt = F(uh, vt, Ke), xn === null ? le = uh : xn.sibling = uh, xn = uh, Fe = Qe;
53240
53240
  }
53241
53241
  if (ba.done)
53242
- return g(gt, Fe), pn && In(gt, Ye), le;
53242
+ return g(gt, Fe), pn && In(gt, Ke), le;
53243
53243
  if (Fe === null) {
53244
- for (; !ba.done; Ye++, ba = Tt.next())
53244
+ for (; !ba.done; Ke++, ba = Tt.next())
53245
53245
  Fe = Pt(gt, ba.value, Bt), Fe !== null && (Si = Ie(
53246
53246
  gt,
53247
53247
  Fe,
@@ -53250,32 +53250,32 @@ It can also happen if the client has a browser extension installed which messes
53250
53250
  ), vt = F(
53251
53251
  Fe,
53252
53252
  vt,
53253
- Ye
53253
+ Ke
53254
53254
  ), xn === null ? le = Fe : xn.sibling = Fe, xn = Fe);
53255
- return pn && In(gt, Ye), le;
53255
+ return pn && In(gt, Ke), le;
53256
53256
  }
53257
- for (Fe = D(Fe); !ba.done; Ye++, ba = Tt.next())
53258
- qe = Te(
53257
+ for (Fe = D(Fe); !ba.done; Ke++, ba = Tt.next())
53258
+ Qe = Te(
53259
53259
  Fe,
53260
53260
  gt,
53261
- Ye,
53261
+ Ke,
53262
53262
  ba.value,
53263
53263
  Bt
53264
- ), qe !== null && (Si = Ie(
53264
+ ), Qe !== null && (Si = Ie(
53265
53265
  gt,
53266
- qe,
53266
+ Qe,
53267
53267
  ba.value,
53268
53268
  Si
53269
- ), a && qe.alternate !== null && Fe.delete(
53270
- qe.key === null ? Ye : qe.key
53269
+ ), a && Qe.alternate !== null && Fe.delete(
53270
+ Qe.key === null ? Ke : Qe.key
53271
53271
  ), vt = F(
53272
- qe,
53272
+ Qe,
53273
53273
  vt,
53274
- Ye
53275
- ), xn === null ? le = qe : xn.sibling = qe, xn = qe);
53274
+ Ke
53275
+ ), xn === null ? le = Qe : xn.sibling = Qe, xn = Qe);
53276
53276
  return a && Fe.forEach(function(NG) {
53277
53277
  return s(gt, NG);
53278
- }), pn && In(gt, Ye), le;
53278
+ }), pn && In(gt, Ke), le;
53279
53279
  }
53280
53280
  function Vu(gt, vt, Tt, Bt) {
53281
53281
  if (typeof Tt == "object" && Tt !== null && Tt.type === Uf && Tt.key === null && (hc(Tt, null, gt), Tt = Tt.props.children), typeof Tt == "object" && Tt !== null) {
@@ -53426,11 +53426,11 @@ It can also happen if the client has a browser extension installed which messes
53426
53426
  throw Si;
53427
53427
  var Fe = d(29, Si, null, gt.mode);
53428
53428
  Fe.lanes = Bt, Fe.return = gt;
53429
- var Ye = Fe._debugInfo = $e;
53430
- if (Fe._debugOwner = gt._debugOwner, Fe._debugTask = gt._debugTask, Ye != null) {
53431
- for (var qe = Ye.length - 1; 0 <= qe; qe--)
53432
- if (typeof Ye[qe].stack == "string") {
53433
- Fe._debugOwner = Ye[qe], Fe._debugTask = Ye[qe].debugTask;
53429
+ var Ke = Fe._debugInfo = $e;
53430
+ if (Fe._debugOwner = gt._debugOwner, Fe._debugTask = gt._debugTask, Ke != null) {
53431
+ for (var Qe = Ke.length - 1; 0 <= Qe; Qe--)
53432
+ if (typeof Ke[Qe].stack == "string") {
53433
+ Fe._debugOwner = Ke[Qe], Fe._debugTask = Ke[Qe].debugTask;
53434
53434
  break;
53435
53435
  }
53436
53436
  }
@@ -53755,7 +53755,7 @@ Please update the following component: %s`,
53755
53755
  }
53756
53756
  return null;
53757
53757
  }
53758
- function je() {
53758
+ function Ve() {
53759
53759
  var a = wt;
53760
53760
  Hl === null ? Hl = [a] : Hl.push(a);
53761
53761
  }
@@ -56150,7 +56150,7 @@ https://react.dev/link/unsafe-component-lifecycles`,
56150
56150
  )) ? s.memoizedState = a : pn || (s.stateNode = h(
56151
56151
  s.type,
56152
56152
  s.pendingProps,
56153
- Je(np.current),
56153
+ je(np.current),
56154
56154
  s
56155
56155
  )) : s.memoizedState = Ll(
56156
56156
  s.type,
@@ -56160,7 +56160,7 @@ https://react.dev/link/unsafe-component-lifecycles`,
56160
56160
  ), null;
56161
56161
  case 27:
56162
56162
  if (j)
56163
- return ue(s), a === null && j && pn && (z = Je(
56163
+ return ue(s), a === null && j && pn && (z = je(
56164
56164
  np.current
56165
56165
  ), D = Zt(), z = s.stateNode = it(
56166
56166
  s.type,
@@ -56583,7 +56583,7 @@ https://react.dev/link/unsafe-component-lifecycles`,
56583
56583
  }
56584
56584
  case 27:
56585
56585
  if (j) {
56586
- if (ze(s), g = Je(np.current), z = s.type, a !== null && s.stateNode != null)
56586
+ if (ze(s), g = je(np.current), z = s.type, a !== null && s.stateNode != null)
56587
56587
  yi ? a.memoizedProps !== D && hs(s) : Em(a, s, z, D);
56588
56588
  else {
56589
56589
  if (!D) {
@@ -56622,7 +56622,7 @@ https://react.dev/link/unsafe-component-lifecycles`,
56622
56622
  F
56623
56623
  ) && (s.flags |= 64);
56624
56624
  else {
56625
- var V = Je(
56625
+ var V = je(
56626
56626
  np.current
56627
56627
  );
56628
56628
  V = D1(
@@ -56648,7 +56648,7 @@ https://react.dev/link/unsafe-component-lifecycles`,
56648
56648
  ), null;
56649
56649
  case 6:
56650
56650
  if (a && s.stateNode != null)
56651
- g = a.memoizedProps, yi ? g !== D && hs(s) : Ol && (g !== D ? (a = Je(
56651
+ g = a.memoizedProps, yi ? g !== D && hs(s) : Ol && (g !== D ? (a = je(
56652
56652
  np.current
56653
56653
  ), g = Zt(), u1(s), s.stateNode = Pu(
56654
56654
  D,
@@ -56661,7 +56661,7 @@ https://react.dev/link/unsafe-component-lifecycles`,
56661
56661
  throw Error(
56662
56662
  "We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue."
56663
56663
  );
56664
- if (a = Je(np.current), g = Zt(), vu(s)) {
56664
+ if (a = je(np.current), g = Zt(), vu(s)) {
56665
56665
  if (!sr)
56666
56666
  throw Error(
56667
56667
  "Expected prepareToHydrateHostTextInstance() to never be called. This error is likely caused by a bug in React. Please file an issue."
@@ -57884,7 +57884,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
57884
57884
  try {
57885
57885
  de(
57886
57886
  a,
57887
- Ve,
57887
+ Ye,
57888
57888
  s,
57889
57889
  V,
57890
57890
  Z
@@ -60637,7 +60637,7 @@ Check the render method of %s.`,
60637
60637
  t.requestPostPaintCallback;
60638
60638
  var Vf = t.maySuspendCommit, Yf = t.maySuspendCommitOnUpdate, O1 = t.maySuspendCommitInSyncRender, Cc = t.preloadInstance, Kf = t.startSuspendingCommit, N1 = t.suspendInstance;
60639
60639
  t.suspendOnActiveViewTransition;
60640
- var M1 = t.waitForCommitToBeReady, L1 = t.getSuspendedCommitReason, Us = t.NotPendingTransition, Hs = t.HostTransitionContext, Fm = t.resetFormInstance, Vd = t.bindToConsole, u4 = t.supportsMicrotasks, Gs = t.scheduleMicrotask, wo = t.supportsTestSelectors, AE = t.findFiberRoot, Rc = t.getBoundingRect, xE = t.getTextContent, Nl = t.isHiddenSubtree, P1 = t.matchAccessibilityRole, ps = t.setFocusIfFocusable, js = t.setupIntersectionObserver, Vi = t.appendChild, zu = t.appendChildToContainer, Ve = t.commitTextUpdate, Kn = t.commitMount, aa = t.commitUpdate, z1 = t.insertBefore, Xf = t.insertInContainerBefore, Yd = t.removeChild, B1 = t.removeChildFromContainer, qf = t.resetTextContent, Qf = t.hideInstance, u8 = t.hideTextInstance, Im = t.unhideInstance, c4 = t.unhideTextInstance;
60640
+ var M1 = t.waitForCommitToBeReady, L1 = t.getSuspendedCommitReason, Us = t.NotPendingTransition, Hs = t.HostTransitionContext, Fm = t.resetFormInstance, Vd = t.bindToConsole, u4 = t.supportsMicrotasks, Gs = t.scheduleMicrotask, wo = t.supportsTestSelectors, AE = t.findFiberRoot, Rc = t.getBoundingRect, xE = t.getTextContent, Nl = t.isHiddenSubtree, P1 = t.matchAccessibilityRole, ps = t.setFocusIfFocusable, js = t.setupIntersectionObserver, Vi = t.appendChild, zu = t.appendChildToContainer, Ye = t.commitTextUpdate, Kn = t.commitMount, aa = t.commitUpdate, z1 = t.insertBefore, Xf = t.insertInContainerBefore, Yd = t.removeChild, B1 = t.removeChildFromContainer, qf = t.resetTextContent, Qf = t.hideInstance, u8 = t.hideTextInstance, Im = t.unhideInstance, c4 = t.unhideTextInstance;
60641
60641
  t.cancelViewTransitionName, t.cancelRootViewTransitionName, t.restoreRootViewTransitionName, t.cloneRootViewTransitionContainer, t.removeRootViewTransitionClone, t.measureClonedInstance, t.hasInstanceChanged, t.hasInstanceAffectedParent, t.startViewTransition, t.startGestureTransition, t.stopViewTransition, t.getCurrentGestureOffset, t.createViewTransitionInstance;
60642
60642
  var CE = t.clearContainer;
60643
60643
  t.createFragmentInstance, t.updateFragmentInstanceFiber, t.commitNewChildToFragmentInstance, t.deleteChildFromFragmentInstance;
@@ -61019,25 +61019,25 @@ Check the top-level render call using <` + D + ">.");
61019
61019
  },
61020
61020
  use: Dn,
61021
61021
  useCallback: function(a, s) {
61022
- return wt = "useCallback", je(), Hr(s), qy(a, s);
61022
+ return wt = "useCallback", Ve(), Hr(s), qy(a, s);
61023
61023
  },
61024
61024
  useContext: function(a) {
61025
- return wt = "useContext", je(), Yn(a);
61025
+ return wt = "useContext", Ve(), Yn(a);
61026
61026
  },
61027
61027
  useEffect: function(a, s) {
61028
- return wt = "useEffect", je(), Hr(s), Gr(a, s);
61028
+ return wt = "useEffect", Ve(), Hr(s), Gr(a, s);
61029
61029
  },
61030
61030
  useImperativeHandle: function(a, s, g) {
61031
- return wt = "useImperativeHandle", je(), Hr(g), Xy(a, s, g);
61031
+ return wt = "useImperativeHandle", Ve(), Hr(g), Xy(a, s, g);
61032
61032
  },
61033
61033
  useInsertionEffect: function(a, s) {
61034
- wt = "useInsertionEffect", je(), Hr(s), Tu(4, _s, a, s);
61034
+ wt = "useInsertionEffect", Ve(), Hr(s), Tu(4, _s, a, s);
61035
61035
  },
61036
61036
  useLayoutEffect: function(a, s) {
61037
- return wt = "useLayoutEffect", je(), Hr(s), Au(a, s);
61037
+ return wt = "useLayoutEffect", Ve(), Hr(s), Au(a, s);
61038
61038
  },
61039
61039
  useMemo: function(a, s) {
61040
- wt = "useMemo", je(), Hr(s);
61040
+ wt = "useMemo", Ve(), Hr(s);
61041
61041
  var g = Rt.H;
61042
61042
  Rt.H = Ic;
61043
61043
  try {
@@ -61047,7 +61047,7 @@ Check the top-level render call using <` + D + ">.");
61047
61047
  }
61048
61048
  },
61049
61049
  useReducer: function(a, s, g) {
61050
- wt = "useReducer", je();
61050
+ wt = "useReducer", Ve();
61051
61051
  var D = Rt.H;
61052
61052
  Rt.H = Ic;
61053
61053
  try {
@@ -61057,10 +61057,10 @@ Check the top-level render call using <` + D + ">.");
61057
61057
  }
61058
61058
  },
61059
61059
  useRef: function(a) {
61060
- return wt = "useRef", je(), Eo(a);
61060
+ return wt = "useRef", Ve(), Eo(a);
61061
61061
  },
61062
61062
  useState: function(a) {
61063
- wt = "useState", je();
61063
+ wt = "useState", Ve();
61064
61064
  var s = Rt.H;
61065
61065
  Rt.H = Ic;
61066
61066
  try {
@@ -61070,40 +61070,40 @@ Check the top-level render call using <` + D + ">.");
61070
61070
  }
61071
61071
  },
61072
61072
  useDebugValue: function() {
61073
- wt = "useDebugValue", je();
61073
+ wt = "useDebugValue", Ve();
61074
61074
  },
61075
61075
  useDeferredValue: function(a, s) {
61076
- return wt = "useDeferredValue", je(), dm(a, s);
61076
+ return wt = "useDeferredValue", Ve(), dm(a, s);
61077
61077
  },
61078
61078
  useTransition: function() {
61079
- return wt = "useTransition", je(), Zy();
61079
+ return wt = "useTransition", Ve(), Zy();
61080
61080
  },
61081
61081
  useSyncExternalStore: function(a, s, g) {
61082
- return wt = "useSyncExternalStore", je(), Hy(
61082
+ return wt = "useSyncExternalStore", Ve(), Hy(
61083
61083
  a,
61084
61084
  s,
61085
61085
  g
61086
61086
  );
61087
61087
  },
61088
61088
  useId: function() {
61089
- return wt = "useId", je(), pm();
61089
+ return wt = "useId", Ve(), pm();
61090
61090
  },
61091
61091
  useFormState: function(a, s) {
61092
- return wt = "useFormState", je(), xf(), Ui(a, s);
61092
+ return wt = "useFormState", Ve(), xf(), Ui(a, s);
61093
61093
  },
61094
61094
  useActionState: function(a, s) {
61095
- return wt = "useActionState", je(), Ui(a, s);
61095
+ return wt = "useActionState", Ve(), Ui(a, s);
61096
61096
  },
61097
61097
  useOptimistic: function(a) {
61098
- return wt = "useOptimistic", je(), Vy(a);
61098
+ return wt = "useOptimistic", Ve(), Vy(a);
61099
61099
  },
61100
61100
  useHostTransitionStatus: yc,
61101
61101
  useMemoCache: Dd,
61102
61102
  useCacheRefresh: function() {
61103
- return wt = "useCacheRefresh", je(), _c();
61103
+ return wt = "useCacheRefresh", Ve(), _c();
61104
61104
  },
61105
61105
  useEffectEvent: function(a) {
61106
- return wt = "useEffectEvent", je(), mc(a);
61106
+ return wt = "useEffectEvent", Ve(), mc(a);
61107
61107
  }
61108
61108
  }, dL = {
61109
61109
  readContext: function(a) {
@@ -61389,25 +61389,25 @@ Check the top-level render call using <` + D + ">.");
61389
61389
  return v(), Dn(a);
61390
61390
  },
61391
61391
  useCallback: function(a, s) {
61392
- return wt = "useCallback", v(), je(), qy(a, s);
61392
+ return wt = "useCallback", v(), Ve(), qy(a, s);
61393
61393
  },
61394
61394
  useContext: function(a) {
61395
- return wt = "useContext", v(), je(), Yn(a);
61395
+ return wt = "useContext", v(), Ve(), Yn(a);
61396
61396
  },
61397
61397
  useEffect: function(a, s) {
61398
- return wt = "useEffect", v(), je(), Gr(a, s);
61398
+ return wt = "useEffect", v(), Ve(), Gr(a, s);
61399
61399
  },
61400
61400
  useImperativeHandle: function(a, s, g) {
61401
- return wt = "useImperativeHandle", v(), je(), Xy(a, s, g);
61401
+ return wt = "useImperativeHandle", v(), Ve(), Xy(a, s, g);
61402
61402
  },
61403
61403
  useInsertionEffect: function(a, s) {
61404
- wt = "useInsertionEffect", v(), je(), Tu(4, _s, a, s);
61404
+ wt = "useInsertionEffect", v(), Ve(), Tu(4, _s, a, s);
61405
61405
  },
61406
61406
  useLayoutEffect: function(a, s) {
61407
- return wt = "useLayoutEffect", v(), je(), Au(a, s);
61407
+ return wt = "useLayoutEffect", v(), Ve(), Au(a, s);
61408
61408
  },
61409
61409
  useMemo: function(a, s) {
61410
- wt = "useMemo", v(), je();
61410
+ wt = "useMemo", v(), Ve();
61411
61411
  var g = Rt.H;
61412
61412
  Rt.H = Ic;
61413
61413
  try {
@@ -61417,7 +61417,7 @@ Check the top-level render call using <` + D + ">.");
61417
61417
  }
61418
61418
  },
61419
61419
  useReducer: function(a, s, g) {
61420
- wt = "useReducer", v(), je();
61420
+ wt = "useReducer", v(), Ve();
61421
61421
  var D = Rt.H;
61422
61422
  Rt.H = Ic;
61423
61423
  try {
@@ -61427,10 +61427,10 @@ Check the top-level render call using <` + D + ">.");
61427
61427
  }
61428
61428
  },
61429
61429
  useRef: function(a) {
61430
- return wt = "useRef", v(), je(), Eo(a);
61430
+ return wt = "useRef", v(), Ve(), Eo(a);
61431
61431
  },
61432
61432
  useState: function(a) {
61433
- wt = "useState", v(), je();
61433
+ wt = "useState", v(), Ve();
61434
61434
  var s = Rt.H;
61435
61435
  Rt.H = Ic;
61436
61436
  try {
@@ -61440,42 +61440,42 @@ Check the top-level render call using <` + D + ">.");
61440
61440
  }
61441
61441
  },
61442
61442
  useDebugValue: function() {
61443
- wt = "useDebugValue", v(), je();
61443
+ wt = "useDebugValue", v(), Ve();
61444
61444
  },
61445
61445
  useDeferredValue: function(a, s) {
61446
- return wt = "useDeferredValue", v(), je(), dm(a, s);
61446
+ return wt = "useDeferredValue", v(), Ve(), dm(a, s);
61447
61447
  },
61448
61448
  useTransition: function() {
61449
- return wt = "useTransition", v(), je(), Zy();
61449
+ return wt = "useTransition", v(), Ve(), Zy();
61450
61450
  },
61451
61451
  useSyncExternalStore: function(a, s, g) {
61452
- return wt = "useSyncExternalStore", v(), je(), Hy(
61452
+ return wt = "useSyncExternalStore", v(), Ve(), Hy(
61453
61453
  a,
61454
61454
  s,
61455
61455
  g
61456
61456
  );
61457
61457
  },
61458
61458
  useId: function() {
61459
- return wt = "useId", v(), je(), pm();
61459
+ return wt = "useId", v(), Ve(), pm();
61460
61460
  },
61461
61461
  useFormState: function(a, s) {
61462
- return wt = "useFormState", v(), je(), Ui(a, s);
61462
+ return wt = "useFormState", v(), Ve(), Ui(a, s);
61463
61463
  },
61464
61464
  useActionState: function(a, s) {
61465
- return wt = "useActionState", v(), je(), Ui(a, s);
61465
+ return wt = "useActionState", v(), Ve(), Ui(a, s);
61466
61466
  },
61467
61467
  useOptimistic: function(a) {
61468
- return wt = "useOptimistic", v(), je(), Vy(a);
61468
+ return wt = "useOptimistic", v(), Ve(), Vy(a);
61469
61469
  },
61470
61470
  useMemoCache: function(a) {
61471
61471
  return v(), Dd(a);
61472
61472
  },
61473
61473
  useHostTransitionStatus: yc,
61474
61474
  useCacheRefresh: function() {
61475
- return wt = "useCacheRefresh", je(), _c();
61475
+ return wt = "useCacheRefresh", Ve(), _c();
61476
61476
  },
61477
61477
  useEffectEvent: function(a) {
61478
- return wt = "useEffectEvent", v(), je(), mc(a);
61478
+ return wt = "useEffectEvent", v(), Ve(), mc(a);
61479
61479
  }
61480
61480
  }, Uu = {
61481
61481
  readContext: function(a) {
@@ -62920,9 +62920,9 @@ function J9({
62920
62920
  if (!K) {
62921
62921
  const { rewards: ma, desc: kt } = Me.wrong;
62922
62922
  let $t = kt, me = ma;
62923
- const Ee = (In = C == null ? void 0 : C.wrongFeedbacks) == null ? void 0 : In.find((Je) => Je.id === ce.id);
62924
- Ee && ($t = Ee.desc, me = Ee.rewards), f && (W([]), _e && (kn = o == null ? void 0 : o.orderFeedback) != null && kn.desc && ($t = o.orderFeedback.desc, me = o.orderFeedback.rewards)), m && (ae(), ye()), rt((Je) => ({
62925
- ...Je,
62923
+ const Ee = (In = C == null ? void 0 : C.wrongFeedbacks) == null ? void 0 : In.find((je) => je.id === ce.id);
62924
+ Ee && ($t = Ee.desc, me = Ee.rewards), f && (W([]), _e && (kn = o == null ? void 0 : o.orderFeedback) != null && kn.desc && ($t = o.orderFeedback.desc, me = o.orderFeedback.rewards)), m && (ae(), ye()), rt((je) => ({
62925
+ ...je,
62926
62926
  show: !0,
62927
62927
  success: !1,
62928
62928
  text: $t,
@@ -62953,7 +62953,7 @@ function J9({
62953
62953
  ae,
62954
62954
  _n,
62955
62955
  qt
62956
- ]), Ze = (ce) => {
62956
+ ]), Je = (ce) => {
62957
62957
  var _e, In;
62958
62958
  if (!Q.some((kn) => kn.index === ce.index) && !$.show && !K) {
62959
62959
  ne("click-ui");
@@ -63013,7 +63013,7 @@ function J9({
63013
63013
  areas: _ && Q.length ? [Q[0]] : xe,
63014
63014
  badAreas: we,
63015
63015
  clickedZones: Q,
63016
- onClick: Ze,
63016
+ onClick: Je,
63017
63017
  onClickOutside: re,
63018
63018
  hasHighlights: v,
63019
63019
  emitEvent: t
@@ -65329,7 +65329,7 @@ function Ynt({
65329
65329
  }, Me = (zt) => {
65330
65330
  const qt = m[R].electionTexts[zt], re = qt.feedback.rewards;
65331
65331
  re && re[0] && re[0].points && (mt.current[`t${R}_e${zt}`] || (qt.correct && (mt.current[`t${R}_e${zt}`] = !0), lt([...rt, ...re])));
65332
- const Ge = () => ne() ? "none" : qt.correct ? "green" : "red", Ze = {
65332
+ const Ge = () => ne() ? "none" : qt.correct ? "green" : "red", Je = {
65333
65333
  currenTextParagraph: R,
65334
65334
  fullText: qt.fullText,
65335
65335
  index: zt,
@@ -65340,9 +65340,9 @@ function Ynt({
65340
65340
  [`text_${R}`]: {
65341
65341
  type: "fixed",
65342
65342
  fullText: qt.fullText,
65343
- correct: Ze.isCorrect
65343
+ correct: Je.isCorrect
65344
65344
  }
65345
- }), I([...k, Ze]);
65345
+ }), I([...k, Je]);
65346
65346
  }, He = () => {
65347
65347
  E.current.scrollTop = E.current.scrollHeight + 100;
65348
65348
  }, xe = () => {
@@ -65354,9 +65354,9 @@ function Ynt({
65354
65354
  });
65355
65355
  }
65356
65356
  }, we = (zt, qt, re) => {
65357
- const Ge = zt.fullText, Ze = m[re + 1] ? m[re + 1].type : "", Kt = (
65357
+ const Ge = zt.fullText, Je = m[re + 1] ? m[re + 1].type : "", Kt = (
65358
65358
  // its magic
65359
- O[`text_${re + 1}`] && O[`text_${re + 1}`].type ? O[`text_${re + 1}`].type : Ze
65359
+ O[`text_${re + 1}`] && O[`text_${re + 1}`].type ? O[`text_${re + 1}`].type : Je
65360
65360
  );
65361
65361
  return /* @__PURE__ */ U(
65362
65362
  rtt,
@@ -69346,7 +69346,7 @@ function $nt({
69346
69346
  ve >= 0 ? re(ve) : qt();
69347
69347
  },
69348
69348
  [I == null ? void 0 : I.id, t, r, qt, n]
69349
- ), Ze = Gt(
69349
+ ), Je = Gt(
69350
69350
  (Ft, Zt) => {
69351
69351
  const ue = [3, 2, 1][Ft.id], ve = r.filter((Wn) => Wn.fromId === (I == null ? void 0 : I.id)).find((Wn) => parseInt(Wn.fromPointIndex) === ue), Oe = n.findIndex((Wn) => Wn.id === (ve == null ? void 0 : ve.toId));
69352
69352
  Oe >= 0 ? (ve == null ? void 0 : ve.fromId) === (ve == null ? void 0 : ve.toId) ? Zt() : re(Oe) : qt();
@@ -69380,7 +69380,7 @@ function $nt({
69380
69380
  ), fe = Gt(
69381
69381
  (Ft, Zt) => {
69382
69382
  if (et.current = { ...q }, C(!1), zt(), W)
69383
- ie([...Ht, I.id]), Ft ? Ze(Ft, Zt) : Ge();
69383
+ ie([...Ht, I.id]), Ft ? Je(Ft, Zt) : Ge();
69384
69384
  else if (v < n.length - 1) {
69385
69385
  const ue = v + 1;
69386
69386
  re(ue);
@@ -69395,7 +69395,7 @@ function $nt({
69395
69395
  bt,
69396
69396
  v,
69397
69397
  n.length,
69398
- Ze,
69398
+ Je,
69399
69399
  Ge,
69400
69400
  qt,
69401
69401
  q
@@ -69574,7 +69574,7 @@ function $nt({
69574
69574
  rewind: me ? null : zn
69575
69575
  });
69576
69576
  Dt(() => Ee(), [Ee]);
69577
- const Je = document.querySelector(".screens--container");
69577
+ const je = document.querySelector(".screens--container");
69578
69578
  if (bt)
69579
69579
  return /* @__PURE__ */ U(
69580
69580
  Rk,
@@ -69624,7 +69624,7 @@ function $nt({
69624
69624
  {
69625
69625
  wrapperClass: "htmlpro-wrap-100-h",
69626
69626
  style: { width: "100%", height: "100%", position: "static" },
69627
- portal: Je ? { current: Je } : void 0,
69627
+ portal: je ? { current: je } : void 0,
69628
69628
  zIndexRange: [6, 6],
69629
69629
  onOcclude: () => {
69630
69630
  },
@@ -70058,7 +70058,7 @@ function iit({
70058
70058
  });
70059
70059
  const K = (It) => {
70060
70060
  W("click-ui");
70061
- const ae = (Ze) => Ze == null ? void 0 : Ze.startsWith("source-item"), ye = (Ze) => Ze == null ? void 0 : Ze.startsWith("destination-item");
70061
+ const ae = (Je) => Je == null ? void 0 : Je.startsWith("source-item"), ye = (Je) => Je == null ? void 0 : Je.startsWith("destination-item");
70062
70062
  if (It.id === T) {
70063
70063
  C(null);
70064
70064
  return;
@@ -70087,15 +70087,15 @@ function iit({
70087
70087
  if (x(re), i.specificCorrectFeedbacks) {
70088
70088
  const Ge = i == null ? void 0 : i.correctFeedbacks.find(
70089
70089
  (oe) => oe.id === `${zt}-${qt}`
70090
- ), Ze = et(G, Ge.rewards);
70091
- Q([...Ze]), $(re) && (Me(), I(!0)), Ge.desc && (L(Ge == null ? void 0 : Ge.desc), N(!0), M(!0), Me());
70090
+ ), Je = et(G, Ge.rewards);
70091
+ Q([...Je]), $(re) && (Me(), I(!0)), Ge.desc && (L(Ge == null ? void 0 : Ge.desc), N(!0), M(!0), Me());
70092
70092
  const Kt = $(re);
70093
- !Ge.desc && Kt && rt(Ze);
70093
+ !Ge.desc && Kt && rt(Je);
70094
70094
  } else if ($(re) && (Me(), I(!0)), $(re)) {
70095
70095
  N(!0), n.solution.right.desc && (Me(), L(n.solution.right.desc)), M(!0), I(!0);
70096
- const Ze = et(G, n.solution.right.rewards);
70097
- Q([...Ze]), n.solution.right.desc === "" && setTimeout(() => {
70098
- rt(Ze);
70096
+ const Je = et(G, n.solution.right.rewards);
70097
+ Q([...Je]), n.solution.right.desc === "" && setTimeout(() => {
70098
+ rt(Je);
70099
70099
  }, 3e3);
70100
70100
  }
70101
70101
  C(null);
@@ -70165,8 +70165,8 @@ function iit({
70165
70165
  );
70166
70166
  re != null && re.rewards && re.rewards.forEach((Ge) => {
70167
70167
  if (ae.has(Ge.id)) {
70168
- const Ze = ae.get(Ge.id);
70169
- Ze.points -= Ge.points, ae.set(Ge.id, Ze);
70168
+ const Je = ae.get(Ge.id);
70169
+ Je.points -= Ge.points, ae.set(Ge.id, Je);
70170
70170
  }
70171
70171
  });
70172
70172
  }), It = Array.from(ae.values());
@@ -70182,7 +70182,7 @@ function iit({
70182
70182
  const It = document.querySelector('button[id^="source-item"]'), ae = document.querySelector('button[id^="destination-item"]'), ye = It.getBoundingClientRect().right, qt = ae.getBoundingClientRect().left + 6 - ye;
70183
70183
  d.items.forEach((re, Ge) => {
70184
70184
  if (re.matchDestinationId !== void 0 && re.matchDestinationId !== null) {
70185
- const Ze = document.querySelector(`#${re.id}`), Kt = document.querySelector(`#${re.matchDestinationId}`), oe = Ze.getBoundingClientRect().top, fe = Kt.getBoundingClientRect().top, zn = fe > oe, ce = Math.abs(fe - oe), _e = Math.sqrt(qt * qt + ce * ce), In = Ze.querySelector(".match-line__hipotenuse");
70185
+ const Je = document.querySelector(`#${re.id}`), Kt = document.querySelector(`#${re.matchDestinationId}`), oe = Je.getBoundingClientRect().top, fe = Kt.getBoundingClientRect().top, zn = fe > oe, ce = Math.abs(fe - oe), _e = Math.sqrt(qt * qt + ce * ce), In = Je.querySelector(".match-line__hipotenuse");
70186
70186
  In.style.setProperty("width", `${_e}px`);
70187
70187
  const kn = Math.atan(ce / qt), ma = zn ? kn * (180 / Math.PI) : -kn * (180 / Math.PI);
70188
70188
  In.style.setProperty("transform", `rotate(${ma}deg)`);
@@ -70330,8 +70330,8 @@ function ait({
70330
70330
  const me = (Vn) => Vn.current.flatMap((Zt) => {
70331
70331
  const ue = Zt.acceptedItems;
70332
70332
  return ue || [];
70333
- }).sort(), Ee = me(kt), Je = me($t);
70334
- return Ee.length !== Je.length ? !1 : Ee.join(",") === Je.join(",");
70333
+ }).sort(), Ee = me(kt), je = me($t);
70334
+ return Ee.length !== je.length ? !1 : Ee.join(",") === je.join(",");
70335
70335
  }, St = Jt(0), _t = Jt([]), xt = Jt([]);
70336
70336
  Dt(() => {
70337
70337
  v === "matchMode" && !St.current && l.forEach((kt) => {
@@ -70401,7 +70401,7 @@ function ait({
70401
70401
  ]), Fn = Gt(
70402
70402
  (kt, $t) => {
70403
70403
  const me = i == null ? void 0 : i.correctFeedbacks.find(
70404
- (Je) => Je.id === kt.id
70404
+ (je) => je.id === kt.id
70405
70405
  ), Ee = Me(B, me.rewards);
70406
70406
  L([...Ee]), me.desc && we(me.desc, !0), !me.desc && $t && (we(null, !0), setTimeout(() => {
70407
70407
  xe(), He(Ee);
@@ -70438,22 +70438,22 @@ function ait({
70438
70438
  // translateY
70439
70439
  // The 'z' value (tz) would be values[14], but it is omitted for 2D translation.
70440
70440
  } : { x: 0, y: 0 };
70441
- }, zt = Jt(), qt = Jt(), re = Jt(), Ge = Jt(), Ze = (kt, $t) => {
70441
+ }, zt = Jt(), qt = Jt(), re = Jt(), Ge = Jt(), Je = (kt, $t) => {
70442
70442
  zt.current = $t;
70443
70443
  const me = kt.currentTarget;
70444
70444
  me.classList.add("sort-draggable-item--dragging");
70445
- const Ee = kt.touches ? kt.touches[0].clientX : kt.clientX, Je = kt.touches ? kt.touches[0].clientY : kt.clientY;
70446
- qt.current = Ee, re.current = Je;
70445
+ const Ee = kt.touches ? kt.touches[0].clientX : kt.clientX, je = kt.touches ? kt.touches[0].clientY : kt.clientY;
70446
+ qt.current = Ee, re.current = je;
70447
70447
  const Vn = window.getComputedStyle(me).getPropertyValue("transform");
70448
70448
  Ge.current = ye(Vn);
70449
70449
  }, Kt = Gt((kt, $t) => {
70450
70450
  if (zt.current && zt.current === $t) {
70451
- const me = Ot.current.clientHeight / jt.current.clientHeight, Ee = I.current[$t], Je = Ee.getBoundingClientRect(), Ft = Ee.parentElement.getBoundingClientRect(), Zt = (kt.touches ? kt.touches[0].clientX : kt.clientX) - qt.current, ue = (kt.touches ? kt.touches[0].clientY : kt.clientY) - re.current, ze = (Ft.width - Je.width) / me, ve = (Ft.height - Je.height) / me, Oe = Math.min(Math.max(Ge.current.x + Zt / me, 0), ze), Wn = Math.min(Math.max(Ge.current.y + ue / me, 0), ve);
70451
+ const me = Ot.current.clientHeight / jt.current.clientHeight, Ee = I.current[$t], je = Ee.getBoundingClientRect(), Ft = Ee.parentElement.getBoundingClientRect(), Zt = (kt.touches ? kt.touches[0].clientX : kt.clientX) - qt.current, ue = (kt.touches ? kt.touches[0].clientY : kt.clientY) - re.current, ze = (Ft.width - je.width) / me, ve = (Ft.height - je.height) / me, Oe = Math.min(Math.max(Ge.current.x + Zt / me, 0), ze), Wn = Math.min(Math.max(Ge.current.y + ue / me, 0), ve);
70452
70452
  Ee.style.transform = `translate(${Oe}px, ${Wn}px)`;
70453
70453
  }
70454
70454
  }, []), oe = (kt, $t) => {
70455
- const Ee = I.current[kt].getBoundingClientRect(), Je = ie.current.find((Ft) => Ft.id === $t && !(Ee.left >= Ft.right || Ee.right <= Ft.left || Ee.top >= Ft.bottom || Ee.bottom <= Ft.top)), Vn = ie.current.find((Ft) => Ft.id !== $t && !(Ee.left >= Ft.right || Ee.right <= Ft.left || Ee.top >= Ft.bottom || Ee.bottom <= Ft.top));
70456
- return Je ? "correctArea" : Vn ? "incorrectArea" : "neutral";
70455
+ const Ee = I.current[kt].getBoundingClientRect(), je = ie.current.find((Ft) => Ft.id === $t && !(Ee.left >= Ft.right || Ee.right <= Ft.left || Ee.top >= Ft.bottom || Ee.bottom <= Ft.top)), Vn = ie.current.find((Ft) => Ft.id !== $t && !(Ee.left >= Ft.right || Ee.right <= Ft.left || Ee.top >= Ft.bottom || Ee.bottom <= Ft.top));
70456
+ return je ? "correctArea" : Vn ? "incorrectArea" : "neutral";
70457
70457
  }, fe = Gt(
70458
70458
  (kt) => {
70459
70459
  if (zt.current && zt.current === kt) {
@@ -70462,20 +70462,25 @@ function ait({
70462
70462
  if (qt.current = null, re.current = null, $t.classList.remove("sort-draggable-item--dragging"), zt.current = null, v !== "resolveMode") {
70463
70463
  const Ee = oe(kt, me.destination.id);
70464
70464
  if (Ee === "correctArea") {
70465
- if (v === "anyItemResolver" && (k("score"), nt(), $t.classList.add("sort-draggable-item--success"), i.specificCorrectFeedbacks ? (N(!0), Fn(me, !0)) : _n()), v === "matchMode")
70465
+ if (v === "anyItemResolver") {
70466
+ k("score"), nt(), $t.classList.add("sort-draggable-item--success");
70467
+ const je = !0;
70468
+ N(je), i.specificCorrectFeedbacks ? Fn(me, je) : _n();
70469
+ }
70470
+ if (v === "matchMode")
70466
70471
  if (k("score"), $t.classList.add("sort-draggable-item--success"), xt.current.find(
70467
70472
  (Vn) => Vn.id === me.destination.id
70468
70473
  ).acceptedItems.push(me.id), i.specificCorrectFeedbacks) {
70469
70474
  const Vn = bt(xt, _t);
70470
70475
  Vn && N(!0), Fn(me, Vn);
70471
70476
  } else
70472
- bt(xt, _t) && _n();
70477
+ bt(xt, _t) && (N(!0), _n());
70473
70478
  } else if (Ee === "incorrectArea" && (v === "anyItemResolver" || v === "matchMode")) {
70474
70479
  if (k("fail"), $t.classList.add("sort-draggable-item--error"), i.specificWrongFeedbacks) {
70475
- const Je = i == null ? void 0 : i.wrongFeedbacks.find(
70480
+ const je = i == null ? void 0 : i.wrongFeedbacks.find(
70476
70481
  (Ft) => Ft.id === me.id
70477
- ), Vn = Me(B, Je.rewards);
70478
- L([...Vn]), Je.desc && we(Je.desc, !1);
70482
+ ), Vn = Me(B, je.rewards);
70483
+ L([...Vn]), je.desc && we(je.desc, !1);
70479
70484
  } else
70480
70485
  It();
70481
70486
  ae(me, $t);
@@ -70592,8 +70597,8 @@ function ait({
70592
70597
  },
70593
70598
  id: `${kt.id}`,
70594
70599
  className: "sort-draggable-item",
70595
- onMouseDown: ($t) => Ze($t, kt.id),
70596
- onTouchStart: ($t) => Ze($t, kt.id),
70600
+ onMouseDown: ($t) => Je($t, kt.id),
70601
+ onTouchStart: ($t) => Je($t, kt.id),
70597
70602
  style: {
70598
70603
  "--height": `${kt.heightInPercentage}%`,
70599
70604
  "--width": `${kt.widthInPercentage}%`,