@platecms/delta-smart-text 0.1.3 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.js CHANGED
@@ -337,7 +337,7 @@ function fR() {
337
337
  "Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
338
338
  )), I = this.props.ref, I !== void 0 ? I : null;
339
339
  }
340
- function z(I, at, st, Nt, _t, Mt) {
340
+ function U(I, at, st, Nt, _t, Mt) {
341
341
  return st = Mt.ref, I = {
342
342
  $$typeof: V,
343
343
  type: I,
@@ -359,20 +359,20 @@ function fR() {
359
359
  value: null
360
360
  }), Object.freeze && (Object.freeze(I.props), Object.freeze(I)), I;
361
361
  }
362
- function U(I, at, st, Nt, _t, Mt) {
362
+ function F(I, at, st, Nt, _t, Mt) {
363
363
  if (typeof I == "string" || typeof I == "function" || I === K || I === De || I === re || I === Ne || I === Ue || I === te || typeof I == "object" && I !== null && (I.$$typeof === He || I.$$typeof === ue || I.$$typeof === we || I.$$typeof === ie || I.$$typeof === Fe || I.$$typeof === $e || I.getModuleId !== void 0)) {
364
364
  var Et = at.children;
365
365
  if (Et !== void 0)
366
366
  if (Nt)
367
367
  if (Te(Et)) {
368
368
  for (Nt = 0; Nt < Et.length; Nt++)
369
- F(Et[Nt], I);
369
+ z(Et[Nt], I);
370
370
  Object.freeze && Object.freeze(Et);
371
371
  } else
372
372
  console.error(
373
373
  "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
374
374
  );
375
- else F(Et, I);
375
+ else z(Et, I);
376
376
  } else
377
377
  Et = "", (I === void 0 || typeof I == "object" && I !== null && Object.keys(I).length === 0) && (Et += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."), I === null ? Nt = "null" : Te(I) ? Nt = "array" : I !== void 0 && I.$$typeof === V ? (Nt = "<" + (n(I.type) || "Unknown") + " />", Et = " Did you accidentally export a JSX literal instead of a component?") : Nt = typeof I, console.error(
378
378
  "React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",
@@ -405,9 +405,9 @@ React keys must be passed directly to JSX without using spread:
405
405
  return Et && B(
406
406
  st,
407
407
  typeof I == "function" ? I.displayName || I.name || "Unknown" : I
408
- ), z(I, Et, Mt, _t, A(), st);
408
+ ), U(I, Et, Mt, _t, A(), st);
409
409
  }
410
- function F(I, at) {
410
+ function z(I, at) {
411
411
  if (typeof I == "object" && I && I.$$typeof !== sn) {
412
412
  if (Te(I))
413
413
  for (var st = 0; st < I.length; st++) {
@@ -452,9 +452,9 @@ Check the top-level render call using <` + I + ">."), at;
452
452
  o.__reactDisabledLog = !0;
453
453
  var Me, Ct, vt = !1, jt = new (typeof WeakMap == "function" ? WeakMap : Map)(), sn = Symbol.for("react.client.reference"), wt, ln = {}, Zt = {}, yn = {};
454
454
  g1.Fragment = K, g1.jsx = function(I, at, st, Nt, _t) {
455
- return U(I, at, st, !1, Nt, _t);
455
+ return F(I, at, st, !1, Nt, _t);
456
456
  }, g1.jsxs = function(I, at, st, Nt, _t) {
457
- return U(I, at, st, !0, Nt, _t);
457
+ return F(I, at, st, !0, Nt, _t);
458
458
  };
459
459
  }()), g1;
460
460
  }
@@ -1142,8 +1142,8 @@ var Rw = Po.createDraft.bind(Po), Nw = Po.finishDraft.bind(Po), AR = {
1142
1142
  if (ae.equals(B, N))
1143
1143
  return o;
1144
1144
  if (ae.isAncestor(B, o) || ae.equals(B, o)) {
1145
- var z = N.slice();
1146
- return ae.endsBefore(B, N) && B.length < N.length && (z[B.length - 1] -= 1), z.concat(o.slice(B.length));
1145
+ var U = N.slice();
1146
+ return ae.endsBefore(B, N) && B.length < N.length && (U[B.length - 1] -= 1), U.concat(o.slice(B.length));
1147
1147
  } else ae.isSibling(B, N) && (ae.isAncestor(N, o) || ae.equals(N, o)) ? ae.endsBefore(B, o) ? o[B.length - 1] -= 1 : o[B.length - 1] += 1 : ae.endsBefore(N, o) || ae.equals(N, o) || ae.isAncestor(N, o) ? (ae.endsBefore(B, o) && (o[B.length - 1] -= 1), o[N.length - 1] += 1) : ae.endsBefore(B, o) && (ae.equals(N, o) && (o[N.length - 1] += 1), o[B.length - 1] -= 1);
1148
1148
  break;
1149
1149
  }
@@ -1223,10 +1223,10 @@ var BR = (n, a, i) => {
1223
1223
  text: B
1224
1224
  } = i;
1225
1225
  if (B.length === 0) break;
1226
- var N = ot.leaf(n, A), z = N.text.slice(0, O), U = N.text.slice(O);
1227
- if (N.text = z + B + U, a)
1228
- for (var [F, T] of _e.points(a))
1229
- a[T] = zn.transform(F, i);
1226
+ var N = ot.leaf(n, A), U = N.text.slice(0, O), F = N.text.slice(O);
1227
+ if (N.text = U + B + F, a)
1228
+ for (var [z, T] of _e.points(a))
1229
+ a[T] = zn.transform(z, i);
1230
1230
  break;
1231
1231
  }
1232
1232
  case "merge_node": {
@@ -1677,8 +1677,8 @@ var _e = {
1677
1677
  var [d, p] = _e.edges(a), b = ot.nodes(o, {
1678
1678
  reverse: !0,
1679
1679
  pass: (N) => {
1680
- var [, z] = N;
1681
- return !_e.includes(a, z);
1680
+ var [, U] = N;
1681
+ return !_e.includes(a, U);
1682
1682
  }
1683
1683
  });
1684
1684
  for (var [, E] of b) {
@@ -2293,22 +2293,22 @@ var kt = {
2293
2293
  anchor: d,
2294
2294
  focus: p,
2295
2295
  merge: b
2296
- } = o, E = tm(o, VR), [C, A] = _e.edges(o), O = [], B = 0, N = C.offset, z = A.offset, U = b ?? Object.assign;
2297
- for (var F of i) {
2296
+ } = o, E = tm(o, VR), [C, A] = _e.edges(o), O = [], B = 0, N = C.offset, U = A.offset, F = b ?? Object.assign;
2297
+ for (var z of i) {
2298
2298
  var {
2299
2299
  length: T
2300
- } = F.text, H = B;
2301
- if (B += T, N <= H && B <= z) {
2302
- U(F, E), O.push(F);
2300
+ } = z.text, H = B;
2301
+ if (B += T, N <= H && B <= U) {
2302
+ F(z, E), O.push(z);
2303
2303
  continue;
2304
2304
  }
2305
- if (N !== z && (N === B || z === H) || N > B || z < H || z === H && H !== 0) {
2306
- O.push(F);
2305
+ if (N !== U && (N === B || U === H) || N > B || U < H || U === H && H !== 0) {
2306
+ O.push(z);
2307
2307
  continue;
2308
2308
  }
2309
- var R = F, _ = void 0, V = void 0;
2310
- if (z < B) {
2311
- var q = z - H;
2309
+ var R = z, _ = void 0, V = void 0;
2310
+ if (U < B) {
2311
+ var q = U - H;
2312
2312
  V = Ih(Ih({}, R), {}, {
2313
2313
  text: R.text.slice(q)
2314
2314
  }), R = Ih(Ih({}, R), {}, {
@@ -2323,7 +2323,7 @@ var kt = {
2323
2323
  text: R.text.slice(K)
2324
2324
  });
2325
2325
  }
2326
- U(R, E), _ && O.push(_), O.push(R), V && O.push(V);
2326
+ F(R, E), _ && O.push(_), O.push(R), V && O.push(V);
2327
2327
  }
2328
2328
  i = O;
2329
2329
  }
@@ -2575,17 +2575,17 @@ var m5 = (n, a) => {
2575
2575
  } = a;
2576
2576
  if (ae.equals(O, B))
2577
2577
  return [];
2578
- var N = [], z = [];
2579
- for (var U of ae.ancestors(O)) {
2580
- var F = ae.transform(U, a);
2581
- N.push(F);
2578
+ var N = [], U = [];
2579
+ for (var F of ae.ancestors(O)) {
2580
+ var z = ae.transform(F, a);
2581
+ N.push(z);
2582
2582
  }
2583
2583
  for (var T of ae.ancestors(B)) {
2584
2584
  var H = ae.transform(T, a);
2585
- z.push(H);
2585
+ U.push(H);
2586
2586
  }
2587
- var R = z[z.length - 1], _ = B[B.length - 1], V = R.concat(_);
2588
- return [...N, ...z, V];
2587
+ var R = U[U.length - 1], _ = B[B.length - 1], V = R.concat(_);
2588
+ return [...N, ...U, V];
2589
2589
  }
2590
2590
  case "remove_node": {
2591
2591
  var {
@@ -2635,18 +2635,18 @@ var m5 = (n, a) => {
2635
2635
  else if (xt.isElement(A)) {
2636
2636
  if (n.isInline(A)) {
2637
2637
  if (O == null || !kt.isText(O)) {
2638
- var z = {
2638
+ var U = {
2639
2639
  text: ""
2640
2640
  };
2641
- Ie.insertNodes(n, z, {
2641
+ Ie.insertNodes(n, U, {
2642
2642
  at: o.concat(b),
2643
2643
  voids: !0
2644
2644
  }), b++;
2645
2645
  } else if (B) {
2646
- var U = {
2646
+ var F = {
2647
2647
  text: ""
2648
2648
  };
2649
- Ie.insertNodes(n, U, {
2649
+ Ie.insertNodes(n, F, {
2650
2650
  at: o.concat(b + 1),
2651
2651
  voids: !0
2652
2652
  }), b++;
@@ -2654,8 +2654,8 @@ var m5 = (n, a) => {
2654
2654
  }
2655
2655
  } else {
2656
2656
  if (!kt.isText(A) && !("children" in A)) {
2657
- var F = A;
2658
- F.children = [];
2657
+ var z = A;
2658
+ z.children = [];
2659
2659
  }
2660
2660
  O != null && kt.isText(O) && (kt.equals(A, O, {
2661
2661
  loose: !0
@@ -2734,8 +2734,8 @@ var D5 = (n, a, i) => {
2734
2734
  var d = (B, N) => {
2735
2735
  if (!kt.isText(B))
2736
2736
  return !1;
2737
- var [z, U] = L.parent(n, N);
2738
- return !n.isVoid(z) || n.markableVoid(z);
2737
+ var [U, F] = L.parent(n, N);
2738
+ return !n.isVoid(U) || n.markableVoid(U);
2739
2739
  }, p = _e.isExpanded(o), b = !1;
2740
2740
  if (!p) {
2741
2741
  var [E, C] = L.node(n, o);
@@ -3056,25 +3056,25 @@ var W5 = ["text"], I5 = ["text"], K5 = function(a) {
3056
3056
  }
3057
3057
  var {
3058
3058
  path: N
3059
- } = d, [z] = L.leaf(a, N);
3059
+ } = d, [U] = L.leaf(a, N);
3060
3060
  if (d.offset === 0) {
3061
- var U = L.previous(a, {
3061
+ var F = L.previous(a, {
3062
3062
  at: N,
3063
3063
  match: kt.isText
3064
- }), F = L.above(a, {
3064
+ }), z = L.above(a, {
3065
3065
  match: (q) => xt.isElement(q) && L.isVoid(a, q) && a.markableVoid(q)
3066
3066
  });
3067
- if (!F) {
3067
+ if (!z) {
3068
3068
  var T = L.above(a, {
3069
3069
  match: (q) => xt.isElement(q) && L.isBlock(a, q)
3070
3070
  });
3071
- if (U && T) {
3072
- var [H, R] = U, [, _] = T;
3073
- ae.isAncestor(_, R) && (z = H);
3071
+ if (F && T) {
3072
+ var [H, R] = F, [, _] = T;
3073
+ ae.isAncestor(_, R) && (U = H);
3074
3074
  }
3075
3075
  }
3076
3076
  }
3077
- var V = tm(z, I5);
3077
+ var V = tm(U, I5);
3078
3078
  return V;
3079
3079
  }, J5 = function(a) {
3080
3080
  var i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, {
@@ -3136,7 +3136,7 @@ function tN(n) {
3136
3136
  });
3137
3137
  A = p ? N : B, O = p ? B : N;
3138
3138
  }
3139
- var z = ot.nodes(n, {
3139
+ var U = ot.nodes(n, {
3140
3140
  reverse: p,
3141
3141
  from: A,
3142
3142
  to: O,
@@ -3144,10 +3144,10 @@ function tN(n) {
3144
3144
  var [q] = V;
3145
3145
  return xt.isElement(q) ? !!(!b && (L.isVoid(n, q) || L.isElementReadOnly(n, q)) || E && !L.isSelectable(n, q)) : !1;
3146
3146
  }
3147
- }), U = [], F;
3148
- for (var [T, H] of z)
3147
+ }), F = [], z;
3148
+ for (var [T, H] of U)
3149
3149
  if (!(E && xt.isElement(T) && !L.isSelectable(n, T))) {
3150
- var R = F && ae.compare(H, F[1]) === 0;
3150
+ var R = z && ae.compare(H, z[1]) === 0;
3151
3151
  if (!(o === "highest" && R)) {
3152
3152
  if (!C(T, H)) {
3153
3153
  if (d && !R && kt.isText(T))
@@ -3155,14 +3155,14 @@ function tN(n) {
3155
3155
  continue;
3156
3156
  }
3157
3157
  if (o === "lowest" && R) {
3158
- F = [T, H];
3158
+ z = [T, H];
3159
3159
  continue;
3160
3160
  }
3161
- var _ = o === "lowest" ? F : [T, H];
3162
- _ && (d ? U.push(_) : yield _), F = [T, H];
3161
+ var _ = o === "lowest" ? z : [T, H];
3162
+ _ && (d ? F.push(_) : yield _), z = [T, H];
3163
3163
  }
3164
3164
  }
3165
- o === "lowest" && F && (d ? U.push(F) : yield F), d && (yield* U);
3165
+ o === "lowest" && z && (d ? F.push(z) : yield z), d && (yield* F);
3166
3166
  }
3167
3167
  }();
3168
3168
  }
@@ -3185,16 +3185,16 @@ var nN = function(a) {
3185
3185
  p(a).length !== 0 && L.withoutNormalizing(a, () => {
3186
3186
  for (var O of p(a))
3187
3187
  if (ot.has(a, O)) {
3188
- var B = L.node(a, O), [N, z] = B;
3188
+ var B = L.node(a, O), [N, U] = B;
3189
3189
  xt.isElement(N) && N.children.length === 0 && a.normalizeNode(B, {
3190
3190
  operation: d
3191
3191
  });
3192
3192
  }
3193
- for (var U = p(a), F = U.length, T = 0; U.length !== 0; ) {
3193
+ for (var F = p(a), z = F.length, T = 0; F.length !== 0; ) {
3194
3194
  if (!a.shouldNormalize({
3195
- dirtyPaths: U,
3195
+ dirtyPaths: F,
3196
3196
  iteration: T,
3197
- initialDirtyPathsLength: F,
3197
+ initialDirtyPathsLength: z,
3198
3198
  operation: d
3199
3199
  }))
3200
3200
  return;
@@ -3205,7 +3205,7 @@ var nN = function(a) {
3205
3205
  operation: d
3206
3206
  });
3207
3207
  }
3208
- T++, U = p(a);
3208
+ T++, F = p(a);
3209
3209
  }
3210
3210
  });
3211
3211
  }
@@ -3300,7 +3300,7 @@ function cN(n) {
3300
3300
  } = a;
3301
3301
  if (!i)
3302
3302
  return;
3303
- var E = L.range(n, i), [C, A] = _e.edges(E), O = d ? A : C, B = !1, N = "", z = 0, U = 0, F = 0;
3303
+ var E = L.range(n, i), [C, A] = _e.edges(E), O = d ? A : C, B = !1, N = "", U = 0, F = 0, z = 0;
3304
3304
  for (var [T, H] of L.nodes(n, {
3305
3305
  at: i,
3306
3306
  reverse: d,
@@ -3325,21 +3325,21 @@ function cN(n) {
3325
3325
  }
3326
3326
  if (kt.isText(T)) {
3327
3327
  var V = ae.equals(H, O.path);
3328
- for (V ? (U = d ? O.offset : T.text.length - O.offset, F = O.offset) : (U = T.text.length, F = d ? U : 0), (V || B || o === "offset") && (yield {
3328
+ for (V ? (F = d ? O.offset : T.text.length - O.offset, z = O.offset) : (F = T.text.length, z = d ? F : 0), (V || B || o === "offset") && (yield {
3329
3329
  path: H,
3330
- offset: F
3330
+ offset: z
3331
3331
  }, B = !1); ; ) {
3332
- if (z === 0) {
3332
+ if (U === 0) {
3333
3333
  if (N === "") break;
3334
- z = q(N, o, d), N = iC(N, z, d)[1];
3334
+ U = q(N, o, d), N = iC(N, U, d)[1];
3335
3335
  }
3336
- if (F = d ? F - z : F + z, U = U - z, U < 0) {
3337
- z = -U;
3336
+ if (z = d ? z - U : z + U, F = F - U, F < 0) {
3337
+ U = -F;
3338
3338
  break;
3339
3339
  }
3340
- z = 0, yield {
3340
+ U = 0, yield {
3341
3341
  path: H,
3342
- offset: F
3342
+ offset: z
3343
3343
  };
3344
3344
  }
3345
3345
  }
@@ -3436,7 +3436,7 @@ var pN = (n, a) => {
3436
3436
  var o = (O, B) => {
3437
3437
  if (!kt.isText(O))
3438
3438
  return !1;
3439
- var [N, z] = L.parent(n, B);
3439
+ var [N, U] = L.parent(n, B);
3440
3440
  return !n.isVoid(N) || n.markableVoid(N);
3441
3441
  }, d = _e.isExpanded(i), p = !1;
3442
3442
  if (!d) {
@@ -3482,13 +3482,13 @@ var pN = (n, a) => {
3482
3482
  return i;
3483
3483
  var E = L.above(a, {
3484
3484
  at: b,
3485
- match: (U) => xt.isElement(U) && L.isBlock(a, U),
3485
+ match: (F) => xt.isElement(F) && L.isBlock(a, F),
3486
3486
  voids: d
3487
3487
  }), C = E ? E[1] : [], A = L.start(a, p), O = {
3488
3488
  anchor: A,
3489
3489
  focus: b
3490
3490
  }, B = !0;
3491
- for (var [N, z] of L.nodes(a, {
3491
+ for (var [N, U] of L.nodes(a, {
3492
3492
  at: O,
3493
3493
  match: kt.isText,
3494
3494
  reverse: !0,
@@ -3498,9 +3498,9 @@ var pN = (n, a) => {
3498
3498
  B = !1;
3499
3499
  continue;
3500
3500
  }
3501
- if (N.text !== "" || ae.isBefore(z, C)) {
3501
+ if (N.text !== "" || ae.isBefore(U, C)) {
3502
3502
  b = {
3503
- path: z,
3503
+ path: U,
3504
3504
  offset: N.text.length
3505
3505
  };
3506
3506
  break;
@@ -3542,16 +3542,16 @@ var pN = (n, a) => {
3542
3542
  mode: "highest"
3543
3543
  });
3544
3544
  if (!C && N) {
3545
- var [, z] = N;
3546
- A = z;
3545
+ var [, U] = N;
3546
+ A = U;
3547
3547
  } else {
3548
- var U = {
3548
+ var F = {
3549
3549
  unit: b,
3550
3550
  distance: E
3551
- }, F = p ? L.before(a, A, U) || L.start(a, []) : L.after(a, A, U) || L.end(a, []);
3551
+ }, z = p ? L.before(a, A, F) || L.start(a, []) : L.after(a, A, F) || L.end(a, []);
3552
3552
  A = {
3553
3553
  anchor: A,
3554
- focus: F
3554
+ focus: z
3555
3555
  }, O = !0;
3556
3556
  }
3557
3557
  }
@@ -3690,15 +3690,15 @@ var pN = (n, a) => {
3690
3690
  var N = L.after(a, B);
3691
3691
  b = N;
3692
3692
  } else if (L.isStart(a, b, B)) {
3693
- var z = L.before(a, B);
3694
- b = z;
3693
+ var U = L.before(a, B);
3694
+ b = U;
3695
3695
  }
3696
3696
  }
3697
- var U = L.above(a, {
3697
+ var F = L.above(a, {
3698
3698
  match: (Ze) => xt.isElement(Ze) && L.isBlock(a, Ze),
3699
3699
  at: b,
3700
3700
  voids: p
3701
- }), [, F] = U, T = L.isStart(a, b, F), H = L.isEnd(a, b, F), R = T && H, _ = !T || T && H, V = !H, [, q] = ot.first({
3701
+ }), [, z] = F, T = L.isStart(a, b, z), H = L.isEnd(a, b, z), R = T && H, _ = !T || T && H, V = !H, [, q] = ot.first({
3702
3702
  children: i
3703
3703
  }, []), [, K] = ot.last({
3704
3704
  children: i
@@ -3720,7 +3720,7 @@ var pN = (n, a) => {
3720
3720
  match: (Ze) => kt.isText(Ze) || L.isInline(a, Ze),
3721
3721
  mode: "highest",
3722
3722
  voids: p
3723
- }), [, me] = te, ye = L.isStart(a, b, me), Ve = L.isEnd(a, b, me), le = L.pathRef(a, H && !Ne.length ? ae.next(F) : F), Ee = L.pathRef(a, Ve ? ae.next(me) : me);
3723
+ }), [, me] = te, ye = L.isStart(a, b, me), Ve = L.isEnd(a, b, me), le = L.pathRef(a, H && !Ne.length ? ae.next(z) : z), Ee = L.pathRef(a, Ve ? ae.next(me) : me);
3724
3724
  Ie.splitNodes(a, {
3725
3725
  at: b,
3726
3726
  match: (Ze) => ue ? xt.isElement(Ze) && L.isBlock(a, Ze) : kt.isText(Ze) || L.isInline(a, Ze),
@@ -3736,7 +3736,7 @@ var pN = (n, a) => {
3736
3736
  voids: p,
3737
3737
  batchDirty: E
3738
3738
  }), R && !we.length && Fe.length && !Ne.length && Ie.delete(a, {
3739
- at: F,
3739
+ at: z,
3740
3740
  voids: p
3741
3741
  }), Ie.insertNodes(a, Fe, {
3742
3742
  at: le.current,
@@ -3814,8 +3814,8 @@ var pN = (n, a) => {
3814
3814
  N && (B.anchor = N);
3815
3815
  }
3816
3816
  if (E == null || E === "focus") {
3817
- var z = b ? L.before(a, A, O) : L.after(a, A, O);
3818
- z && (B.focus = z);
3817
+ var U = b ? L.before(a, A, O) : L.after(a, A, O);
3818
+ U && (B.focus = U);
3819
3819
  }
3820
3820
  Ie.setSelection(a, B);
3821
3821
  }
@@ -3906,21 +3906,21 @@ var BN = function(a, i) {
3906
3906
  })), _e.isCollapsed(C))
3907
3907
  C = C.anchor;
3908
3908
  else {
3909
- var [, N] = _e.edges(C), z = L.pointRef(a, N);
3909
+ var [, N] = _e.edges(C), U = L.pointRef(a, N);
3910
3910
  Ie.delete(a, {
3911
3911
  at: C
3912
- }), C = z.unref();
3912
+ }), C = U.unref();
3913
3913
  }
3914
3914
  if (zn.isPoint(C)) {
3915
3915
  A == null && (kt.isText(B) ? A = (we) => kt.isText(we) : a.isInline(B) ? A = (we) => kt.isText(we) || L.isInline(a, we) : A = (we) => xt.isElement(we) && L.isBlock(a, we));
3916
- var [U] = L.nodes(a, {
3916
+ var [F] = L.nodes(a, {
3917
3917
  at: C.path,
3918
3918
  match: A,
3919
3919
  mode: b,
3920
3920
  voids: p
3921
3921
  });
3922
- if (U) {
3923
- var [, F] = U, T = L.pathRef(a, F), H = L.isEnd(a, C, F);
3922
+ if (F) {
3923
+ var [, z] = F, T = L.pathRef(a, z), H = L.isEnd(a, C, z);
3924
3924
  Ie.splitNodes(a, {
3925
3925
  at: C,
3926
3926
  match: A,
@@ -4003,34 +4003,34 @@ var BN = function(a, i) {
4003
4003
  var O = A.unref();
4004
4004
  if (O.length < 2)
4005
4005
  throw new Error("Cannot lift node at a path [".concat(O, "] because it has a depth of less than `2`."));
4006
- var B = L.node(a, ae.parent(O)), [N, z] = B, U = O[O.length - 1], {
4007
- length: F
4006
+ var B = L.node(a, ae.parent(O)), [N, U] = B, F = O[O.length - 1], {
4007
+ length: z
4008
4008
  } = N.children;
4009
- if (F === 1) {
4010
- var T = ae.next(z);
4009
+ if (z === 1) {
4010
+ var T = ae.next(U);
4011
4011
  Ie.moveNodes(a, {
4012
4012
  at: O,
4013
4013
  to: T,
4014
4014
  voids: p
4015
4015
  }), Ie.removeNodes(a, {
4016
- at: z,
4016
+ at: U,
4017
4017
  voids: p
4018
4018
  });
4019
- } else if (U === 0)
4019
+ } else if (F === 0)
4020
4020
  Ie.moveNodes(a, {
4021
4021
  at: O,
4022
- to: z,
4022
+ to: U,
4023
4023
  voids: p
4024
4024
  });
4025
- else if (U === F - 1) {
4026
- var H = ae.next(z);
4025
+ else if (F === z - 1) {
4026
+ var H = ae.next(U);
4027
4027
  Ie.moveNodes(a, {
4028
4028
  at: O,
4029
4029
  to: H,
4030
4030
  voids: p
4031
4031
  });
4032
4032
  } else {
4033
- var R = ae.next(O), _ = ae.next(z);
4033
+ var R = ae.next(O), _ = ae.next(U);
4034
4034
  Ie.splitNodes(a, {
4035
4035
  at: R,
4036
4036
  voids: p
@@ -4089,28 +4089,28 @@ var BN = function(a, i) {
4089
4089
  mode: E
4090
4090
  });
4091
4091
  if (!(!B || !N)) {
4092
- var [z, U] = B, [F, T] = N;
4093
- if (!(U.length === 0 || T.length === 0)) {
4094
- var H = ae.next(T), R = ae.common(U, T), _ = ae.isSibling(U, T), V = Array.from(L.levels(a, {
4095
- at: U
4092
+ var [U, F] = B, [z, T] = N;
4093
+ if (!(F.length === 0 || T.length === 0)) {
4094
+ var H = ae.next(T), R = ae.common(F, T), _ = ae.isSibling(F, T), V = Array.from(L.levels(a, {
4095
+ at: F
4096
4096
  }), (we) => {
4097
4097
  var [Fe] = we;
4098
4098
  return Fe;
4099
4099
  }).slice(R.length).slice(0, -1), q = L.above(a, {
4100
- at: U,
4100
+ at: F,
4101
4101
  mode: "highest",
4102
4102
  match: (we) => V.includes(we) && r3(a, we)
4103
4103
  }), K = q && L.pathRef(a, q[1]), re, De;
4104
- if (kt.isText(z) && kt.isText(F)) {
4105
- var ie = tm(z, kN);
4106
- De = F.text.length, re = ie;
4107
- } else if (xt.isElement(z) && xt.isElement(F)) {
4108
- var ie = tm(z, _N);
4109
- De = F.children.length, re = ie;
4104
+ if (kt.isText(U) && kt.isText(z)) {
4105
+ var ie = tm(U, kN);
4106
+ De = z.text.length, re = ie;
4107
+ } else if (xt.isElement(U) && xt.isElement(z)) {
4108
+ var ie = tm(U, _N);
4109
+ De = z.children.length, re = ie;
4110
4110
  } else
4111
- throw new Error("Cannot merge the node at path [".concat(U, "] with the previous sibling because it is not the same kind: ").concat(Pi.stringify(z), " ").concat(Pi.stringify(F)));
4111
+ throw new Error("Cannot merge the node at path [".concat(F, "] with the previous sibling because it is not the same kind: ").concat(Pi.stringify(U), " ").concat(Pi.stringify(z)));
4112
4112
  _ || Ie.moveNodes(a, {
4113
- at: U,
4113
+ at: F,
4114
4114
  to: H,
4115
4115
  voids: b
4116
4116
  }), K && Ie.removeNodes(a, {
@@ -4140,15 +4140,15 @@ var BN = function(a, i) {
4140
4140
  match: b
4141
4141
  } = a;
4142
4142
  if (o) {
4143
- b == null && (b = ae.isPath(o) ? gy(n, o) : (z) => xt.isElement(z) && L.isBlock(n, z));
4143
+ b == null && (b = ae.isPath(o) ? gy(n, o) : (U) => xt.isElement(U) && L.isBlock(n, U));
4144
4144
  var E = L.pathRef(n, i), C = L.nodes(n, {
4145
4145
  at: o,
4146
4146
  match: b,
4147
4147
  mode: d,
4148
4148
  voids: p
4149
- }), A = Array.from(C, (z) => {
4150
- var [, U] = z;
4151
- return L.pathRef(n, U);
4149
+ }), A = Array.from(C, (U) => {
4150
+ var [, F] = U;
4151
+ return L.pathRef(n, F);
4152
4152
  });
4153
4153
  for (var O of A) {
4154
4154
  var B = O.unref(), N = E.current;
@@ -4173,7 +4173,7 @@ var BN = function(a, i) {
4173
4173
  match: E
4174
4174
  } = i;
4175
4175
  if (b) {
4176
- E == null && (E = ae.isPath(b) ? gy(a, b) : (z) => xt.isElement(z) && L.isBlock(a, z)), !o && _e.isRange(b) && (b = L.unhangRange(a, b, {
4176
+ E == null && (E = ae.isPath(b) ? gy(a, b) : (U) => xt.isElement(U) && L.isBlock(a, U)), !o && _e.isRange(b) && (b = L.unhangRange(a, b, {
4177
4177
  voids: d
4178
4178
  }));
4179
4179
  var C = L.nodes(a, {
@@ -4181,9 +4181,9 @@ var BN = function(a, i) {
4181
4181
  match: E,
4182
4182
  mode: p,
4183
4183
  voids: d
4184
- }), A = Array.from(C, (z) => {
4185
- var [, U] = z;
4186
- return L.pathRef(a, U);
4184
+ }), A = Array.from(C, (U) => {
4185
+ var [, F] = U;
4186
+ return L.pathRef(a, F);
4187
4187
  });
4188
4188
  for (var O of A) {
4189
4189
  var B = O.unref();
@@ -4220,19 +4220,19 @@ var BN = function(a, i) {
4220
4220
  return;
4221
4221
  var N = L.rangeRef(a, p, {
4222
4222
  affinity: "inward"
4223
- }), [z, U] = _e.edges(p), F = A === "lowest" ? "lowest" : "highest", T = L.isEnd(a, U, U.path);
4223
+ }), [U, F] = _e.edges(p), z = A === "lowest" ? "lowest" : "highest", T = L.isEnd(a, F, F.path);
4224
4224
  Ie.splitNodes(a, {
4225
- at: U,
4225
+ at: F,
4226
4226
  match: d,
4227
- mode: F,
4227
+ mode: z,
4228
4228
  voids: B,
4229
4229
  always: !T
4230
4230
  });
4231
- var H = L.isStart(a, z, z.path);
4231
+ var H = L.isStart(a, U, U.path);
4232
4232
  Ie.splitNodes(a, {
4233
- at: z,
4233
+ at: U,
4234
4234
  match: d,
4235
- mode: F,
4235
+ mode: z,
4236
4236
  voids: B,
4237
4237
  always: !H
4238
4238
  }), p = N.unref(), o.at == null && Ie.select(a, p);
@@ -4285,22 +4285,22 @@ var BN = function(a, i) {
4285
4285
  if (b) {
4286
4286
  var N = L.pointRef(a, b, {
4287
4287
  affinity: "backward"
4288
- }), z;
4288
+ }), U;
4289
4289
  try {
4290
- var [U] = L.nodes(a, {
4290
+ var [F] = L.nodes(a, {
4291
4291
  at: b,
4292
4292
  match: p,
4293
4293
  mode: o,
4294
4294
  voids: d
4295
4295
  });
4296
- if (!U)
4296
+ if (!F)
4297
4297
  return;
4298
- var F = L.void(a, {
4298
+ var z = L.void(a, {
4299
4299
  at: b,
4300
4300
  mode: "highest"
4301
4301
  }), T = 0;
4302
- if (!d && F) {
4303
- var [H, R] = F;
4302
+ if (!d && z) {
4303
+ var [H, R] = z;
4304
4304
  if (xt.isElement(H) && a.isInline(H)) {
4305
4305
  var _ = L.after(a, R);
4306
4306
  if (!_) {
@@ -4317,8 +4317,8 @@ var BN = function(a, i) {
4317
4317
  var K = b.path.length - R.length;
4318
4318
  E = K + 1, C = !0;
4319
4319
  }
4320
- z = L.pointRef(a, b);
4321
- var re = b.path.length - E, [, De] = U, ie = b.path.slice(0, re), we = E === 0 ? b.offset : b.path[re] + T;
4320
+ U = L.pointRef(a, b);
4321
+ var re = b.path.length - E, [, De] = F, ie = b.path.slice(0, re), we = E === 0 ? b.offset : b.path[re] + T;
4322
4322
  for (var [Fe, Ne] of L.levels(a, {
4323
4323
  at: ie,
4324
4324
  reverse: !0,
@@ -4341,12 +4341,12 @@ var BN = function(a, i) {
4341
4341
  we = Ne[Ne.length - 1] + (Ue || He ? 1 : 0);
4342
4342
  }
4343
4343
  if (i.at == null) {
4344
- var me = z.current || L.end(a, []);
4344
+ var me = U.current || L.end(a, []);
4345
4345
  Ie.select(a, me);
4346
4346
  }
4347
4347
  } finally {
4348
4348
  var ye;
4349
- N.unref(), (ye = z) === null || ye === void 0 || ye.unref();
4349
+ N.unref(), (ye = U) === null || ye === void 0 || ye.unref();
4350
4350
  }
4351
4351
  }
4352
4352
  });
@@ -4369,7 +4369,7 @@ var BN = function(a, i) {
4369
4369
  match: E
4370
4370
  } = i;
4371
4371
  if (b) {
4372
- E == null && (E = ae.isPath(b) ? gy(a, b) : (z) => xt.isElement(z) && L.isBlock(a, z)), ae.isPath(b) && (b = L.range(a, b));
4372
+ E == null && (E = ae.isPath(b) ? gy(a, b) : (U) => xt.isElement(U) && L.isBlock(a, U)), ae.isPath(b) && (b = L.range(a, b));
4373
4373
  var C = _e.isRange(b) ? L.rangeRef(a, b) : null, A = L.nodes(a, {
4374
4374
  at: b,
4375
4375
  match: E,
@@ -4377,18 +4377,18 @@ var BN = function(a, i) {
4377
4377
  voids: p
4378
4378
  }), O = Array.from(
4379
4379
  A,
4380
- (z) => {
4381
- var [, U] = z;
4382
- return L.pathRef(a, U);
4380
+ (U) => {
4381
+ var [, F] = U;
4382
+ return L.pathRef(a, F);
4383
4383
  }
4384
4384
  // unwrapNode will call liftNode which does not support splitting the node when nested.
4385
4385
  // If we do not reverse the order and call it from top to the bottom, it will remove all blocks
4386
4386
  // that wrap target node. So we reverse the order.
4387
4387
  ).reverse(), B = function() {
4388
- var U = N.unref(), [F] = L.node(a, U), T = L.range(a, U);
4388
+ var F = N.unref(), [z] = L.node(a, F), T = L.range(a, F);
4389
4389
  d && C && (T = _e.intersection(C.current, T)), Ie.liftNodes(a, {
4390
4390
  at: T,
4391
- match: (H) => xt.isAncestor(F) && F.children.includes(H),
4391
+ match: (H) => xt.isAncestor(z) && z.children.includes(H),
4392
4392
  voids: p
4393
4393
  });
4394
4394
  };
@@ -4450,8 +4450,8 @@ var YN = function(a, i) {
4450
4450
  match: a.isInline(i) ? (T) => xt.isElement(T) && L.isBlock(a, T) : (T) => L.isEditor(T),
4451
4451
  mode: "lowest",
4452
4452
  voids: b
4453
- })), z = function() {
4454
- var H = _e.isRange(C) ? _e.intersection(C, L.range(a, F)) : C;
4453
+ })), U = function() {
4454
+ var H = _e.isRange(C) ? _e.intersection(C, L.range(a, z)) : C;
4455
4455
  if (!H)
4456
4456
  return 0;
4457
4457
  var R = Array.from(L.nodes(a, {
@@ -4477,9 +4477,9 @@ var YN = function(a, i) {
4477
4477
  voids: b
4478
4478
  });
4479
4479
  }
4480
- }, U;
4481
- for (var [, F] of N)
4482
- U = z();
4480
+ }, F;
4481
+ for (var [, z] of N)
4482
+ F = U();
4483
4483
  }
4484
4484
  });
4485
4485
  }, GN = () => {
@@ -5043,49 +5043,49 @@ function o3() {
5043
5043
  CT = 1;
5044
5044
  var n = uC(), a = PN(), i = n6(), o = "Expected a function", d = Math.max, p = Math.min;
5045
5045
  function b(E, C, A) {
5046
- var O, B, N, z, U, F, T = 0, H = !1, R = !1, _ = !0;
5046
+ var O, B, N, U, F, z, T = 0, H = !1, R = !1, _ = !0;
5047
5047
  if (typeof E != "function")
5048
5048
  throw new TypeError(o);
5049
5049
  C = i(C) || 0, n(A) && (H = !!A.leading, R = "maxWait" in A, N = R ? d(i(A.maxWait) || 0, C) : N, _ = "trailing" in A ? !!A.trailing : _);
5050
5050
  function V(Ue) {
5051
5051
  var ue = O, He = B;
5052
- return O = B = void 0, T = Ue, z = E.apply(He, ue), z;
5052
+ return O = B = void 0, T = Ue, U = E.apply(He, ue), U;
5053
5053
  }
5054
5054
  function q(Ue) {
5055
- return T = Ue, U = setTimeout(De, C), H ? V(Ue) : z;
5055
+ return T = Ue, F = setTimeout(De, C), H ? V(Ue) : U;
5056
5056
  }
5057
5057
  function K(Ue) {
5058
- var ue = Ue - F, He = Ue - T, te = C - ue;
5058
+ var ue = Ue - z, He = Ue - T, te = C - ue;
5059
5059
  return R ? p(te, N - He) : te;
5060
5060
  }
5061
5061
  function re(Ue) {
5062
- var ue = Ue - F, He = Ue - T;
5063
- return F === void 0 || ue >= C || ue < 0 || R && He >= N;
5062
+ var ue = Ue - z, He = Ue - T;
5063
+ return z === void 0 || ue >= C || ue < 0 || R && He >= N;
5064
5064
  }
5065
5065
  function De() {
5066
5066
  var Ue = a();
5067
5067
  if (re(Ue))
5068
5068
  return ie(Ue);
5069
- U = setTimeout(De, K(Ue));
5069
+ F = setTimeout(De, K(Ue));
5070
5070
  }
5071
5071
  function ie(Ue) {
5072
- return U = void 0, _ && O ? V(Ue) : (O = B = void 0, z);
5072
+ return F = void 0, _ && O ? V(Ue) : (O = B = void 0, U);
5073
5073
  }
5074
5074
  function we() {
5075
- U !== void 0 && clearTimeout(U), T = 0, O = F = B = U = void 0;
5075
+ F !== void 0 && clearTimeout(F), T = 0, O = z = B = F = void 0;
5076
5076
  }
5077
5077
  function Fe() {
5078
- return U === void 0 ? z : ie(a());
5078
+ return F === void 0 ? U : ie(a());
5079
5079
  }
5080
5080
  function Ne() {
5081
5081
  var Ue = a(), ue = re(Ue);
5082
- if (O = arguments, B = this, F = Ue, ue) {
5083
- if (U === void 0)
5084
- return q(F);
5082
+ if (O = arguments, B = this, z = Ue, ue) {
5083
+ if (F === void 0)
5084
+ return q(z);
5085
5085
  if (R)
5086
- return clearTimeout(U), U = setTimeout(De, C), V(F);
5086
+ return clearTimeout(F), F = setTimeout(De, C), V(z);
5087
5087
  }
5088
- return U === void 0 && (U = setTimeout(De, C)), z;
5088
+ return F === void 0 && (F = setTimeout(De, C)), U;
5089
5089
  }
5090
5090
  return Ne.cancel = we, Ne.flush = Fe, Ne;
5091
5091
  }
@@ -5135,28 +5135,28 @@ const l6 = /* @__PURE__ */ im(u6), wT = (n) => typeof n == "object" && n != null
5135
5135
  if (typeof document > "u") return [];
5136
5136
  const { scrollMode: b, block: E, inline: C, boundary: A, skipOverflowHiddenElements: O } = a, B = typeof A == "function" ? A : (te) => te !== A;
5137
5137
  if (!wT(n)) throw new TypeError("Invalid target");
5138
- const N = document.scrollingElement || document.documentElement, z = [];
5139
- let U = n;
5140
- for (; wT(U) && B(U); ) {
5141
- if (U = o6(U), U === N) {
5142
- z.push(U);
5138
+ const N = document.scrollingElement || document.documentElement, U = [];
5139
+ let F = n;
5140
+ for (; wT(F) && B(F); ) {
5141
+ if (F = o6(F), F === N) {
5142
+ U.push(F);
5143
5143
  break;
5144
5144
  }
5145
- U != null && U === document.body && Yb(U) && !Yb(document.documentElement) || U != null && Yb(U, O) && z.push(U);
5145
+ F != null && F === document.body && Yb(F) && !Yb(document.documentElement) || F != null && Yb(F, O) && U.push(F);
5146
5146
  }
5147
- const F = (o = (i = window.visualViewport) == null ? void 0 : i.width) != null ? o : innerWidth, T = (p = (d = window.visualViewport) == null ? void 0 : d.height) != null ? p : innerHeight, { scrollX: H, scrollY: R } = window, { height: _, width: V, top: q, right: K, bottom: re, left: De } = n.getBoundingClientRect(), { top: ie, right: we, bottom: Fe, left: Ne } = ((te) => {
5147
+ const z = (o = (i = window.visualViewport) == null ? void 0 : i.width) != null ? o : innerWidth, T = (p = (d = window.visualViewport) == null ? void 0 : d.height) != null ? p : innerHeight, { scrollX: H, scrollY: R } = window, { height: _, width: V, top: q, right: K, bottom: re, left: De } = n.getBoundingClientRect(), { top: ie, right: we, bottom: Fe, left: Ne } = ((te) => {
5148
5148
  const me = window.getComputedStyle(te);
5149
5149
  return { top: parseFloat(me.scrollMarginTop) || 0, right: parseFloat(me.scrollMarginRight) || 0, bottom: parseFloat(me.scrollMarginBottom) || 0, left: parseFloat(me.scrollMarginLeft) || 0 };
5150
5150
  })(n);
5151
5151
  let Ue = E === "start" || E === "nearest" ? q - ie : E === "end" ? re + Fe : q + _ / 2 - ie + Fe, ue = C === "center" ? De + V / 2 - Ne + we : C === "end" ? K + we : De - Ne;
5152
5152
  const He = [];
5153
- for (let te = 0; te < z.length; te++) {
5154
- const me = z[te], { height: ye, width: Ve, top: le, right: Ee, bottom: $e, left: Te } = me.getBoundingClientRect();
5155
- if (b === "if-needed" && q >= 0 && De >= 0 && re <= T && K <= F && (me === N && !Yb(me) || q >= le && re <= $e && De >= Te && K <= Ee)) return He;
5153
+ for (let te = 0; te < U.length; te++) {
5154
+ const me = U[te], { height: ye, width: Ve, top: le, right: Ee, bottom: $e, left: Te } = me.getBoundingClientRect();
5155
+ if (b === "if-needed" && q >= 0 && De >= 0 && re <= T && K <= z && (me === N && !Yb(me) || q >= le && re <= $e && De >= Te && K <= Ee)) return He;
5156
5156
  const qe = getComputedStyle(me), Ze = parseInt(qe.borderLeftWidth, 10), P = parseInt(qe.borderTopWidth, 10), ze = parseInt(qe.borderRightWidth, 10), Se = parseInt(qe.borderBottomWidth, 10);
5157
5157
  let Ae = 0, Pe = 0;
5158
5158
  const We = "offsetWidth" in me ? me.offsetWidth - me.clientWidth - Ze - ze : 0, Me = "offsetHeight" in me ? me.offsetHeight - me.clientHeight - P - Se : 0, Ct = "offsetWidth" in me ? me.offsetWidth === 0 ? 0 : Ve / me.offsetWidth : 0, vt = "offsetHeight" in me ? me.offsetHeight === 0 ? 0 : ye / me.offsetHeight : 0;
5159
- if (N === me) Ae = E === "start" ? Ue : E === "end" ? Ue - T : E === "nearest" ? Gb(R, R + T, T, P, Se, R + Ue, R + Ue + _, _) : Ue - T / 2, Pe = C === "start" ? ue : C === "center" ? ue - F / 2 : C === "end" ? ue - F : Gb(H, H + F, F, Ze, ze, H + ue, H + ue + V, V), Ae = Math.max(0, Ae + R), Pe = Math.max(0, Pe + H);
5159
+ if (N === me) Ae = E === "start" ? Ue : E === "end" ? Ue - T : E === "nearest" ? Gb(R, R + T, T, P, Se, R + Ue, R + Ue + _, _) : Ue - T / 2, Pe = C === "start" ? ue : C === "center" ? ue - z / 2 : C === "end" ? ue - z : Gb(H, H + z, z, Ze, ze, H + ue, H + ue + V, V), Ae = Math.max(0, Ae + R), Pe = Math.max(0, Pe + H);
5160
5160
  else {
5161
5161
  Ae = E === "start" ? Ue - le - P : E === "end" ? Ue - $e + Se + Me : E === "nearest" ? Gb(le, $e, ye, P, Se + Me, Ue, Ue + _, _) : Ue - (le + ye / 2) + Me / 2, Pe = C === "start" ? ue - Te - Ze : C === "center" ? ue - (Te + Ve / 2) + We / 2 : C === "end" ? ue - Ee + ze + We : Gb(Te, Ee, Ve, Ze, ze + We, ue, ue + V, V);
5162
5162
  const { scrollLeft: jt, scrollTop: sn } = me;
@@ -5256,29 +5256,29 @@ function f6() {
5256
5256
  "'": 222
5257
5257
  }, d = 1; d < 20; d++)
5258
5258
  o["f" + d] = 111 + d;
5259
- function p(N, z, U) {
5260
- z && !("byKey" in z) && (U = z, z = null), Array.isArray(N) || (N = [N]);
5261
- var F = N.map(function(R) {
5262
- return C(R, z);
5259
+ function p(N, U, F) {
5260
+ U && !("byKey" in U) && (F = U, U = null), Array.isArray(N) || (N = [N]);
5261
+ var z = N.map(function(R) {
5262
+ return C(R, U);
5263
5263
  }), T = function(_) {
5264
- return F.some(function(V) {
5264
+ return z.some(function(V) {
5265
5265
  return A(V, _);
5266
5266
  });
5267
- }, H = U == null ? T : T(U);
5267
+ }, H = F == null ? T : T(F);
5268
5268
  return H;
5269
5269
  }
5270
- function b(N, z) {
5271
- return p(N, z);
5270
+ function b(N, U) {
5271
+ return p(N, U);
5272
5272
  }
5273
- function E(N, z) {
5274
- return p(N, { byKey: !0 }, z);
5273
+ function E(N, U) {
5274
+ return p(N, { byKey: !0 }, U);
5275
5275
  }
5276
- function C(N, z) {
5277
- var U = z && z.byKey, F = {};
5276
+ function C(N, U) {
5277
+ var F = U && U.byKey, z = {};
5278
5278
  N = N.replace("++", "+add");
5279
5279
  var T = N.split("+"), H = T.length;
5280
5280
  for (var R in a)
5281
- F[a[R]] = !1;
5281
+ z[a[R]] = !1;
5282
5282
  var _ = !0, V = !1, q = void 0;
5283
5283
  try {
5284
5284
  for (var K = T[Symbol.iterator](), re; !(_ = (re = K.next()).done); _ = !0) {
@@ -5287,7 +5287,7 @@ function f6() {
5287
5287
  var we = B(De), Fe = a[we];
5288
5288
  if (De.length > 1 && !Fe && !i[De] && !o[we])
5289
5289
  throw new TypeError('Unknown modifier: "' + De + '"');
5290
- (H === 1 || !Fe) && (U ? F.key = we : F.which = O(De)), Fe && (F[Fe] = ie ? null : !0);
5290
+ (H === 1 || !Fe) && (F ? z.key = we : z.which = O(De)), Fe && (z[Fe] = ie ? null : !0);
5291
5291
  }
5292
5292
  } catch (Ne) {
5293
5293
  V = !0, q = Ne;
@@ -5299,20 +5299,20 @@ function f6() {
5299
5299
  throw q;
5300
5300
  }
5301
5301
  }
5302
- return F;
5302
+ return z;
5303
5303
  }
5304
- function A(N, z) {
5305
- for (var U in N) {
5306
- var F = N[U], T = void 0;
5307
- if (F != null && (U === "key" && z.key != null ? T = z.key.toLowerCase() : U === "which" ? T = F === 91 && z.which === 93 ? 91 : z.which : T = z[U], !(T == null && F === !1) && T !== F))
5304
+ function A(N, U) {
5305
+ for (var F in N) {
5306
+ var z = N[F], T = void 0;
5307
+ if (z != null && (F === "key" && U.key != null ? T = U.key.toLowerCase() : F === "which" ? T = z === 91 && U.which === 93 ? 91 : U.which : T = U[F], !(T == null && z === !1) && T !== z))
5308
5308
  return !1;
5309
5309
  }
5310
5310
  return !0;
5311
5311
  }
5312
5312
  function O(N) {
5313
5313
  N = B(N);
5314
- var z = o[N] || N.toUpperCase().charCodeAt(0);
5315
- return z;
5314
+ var U = o[N] || N.toUpperCase().charCodeAt(0);
5315
+ return U;
5316
5316
  }
5317
5317
  function B(N) {
5318
5318
  return N = N.toLowerCase(), N = i[N] || N, N;
@@ -5491,21 +5491,21 @@ var ay = /* @__PURE__ */ new WeakMap(), sC = /* @__PURE__ */ new WeakMap(), cC =
5491
5491
  }
5492
5492
  }
5493
5493
  var N, {
5494
- document: z
5494
+ document: U
5495
5495
  } = En.getWindow(n);
5496
- if (z.caretRangeFromPoint)
5497
- N = z.caretRangeFromPoint(i, o);
5496
+ if (U.caretRangeFromPoint)
5497
+ N = U.caretRangeFromPoint(i, o);
5498
5498
  else {
5499
- var U = z.caretPositionFromPoint(i, o);
5500
- U && (N = z.createRange(), N.setStart(U.offsetNode, U.offset), N.setEnd(U.offsetNode, U.offset));
5499
+ var F = U.caretPositionFromPoint(i, o);
5500
+ F && (N = U.createRange(), N.setStart(F.offsetNode, F.offset), N.setEnd(F.offsetNode, F.offset));
5501
5501
  }
5502
5502
  if (!N)
5503
5503
  throw new Error("Cannot resolve a Slate range from a DOM event: ".concat(a));
5504
- var F = En.toSlateRange(n, N, {
5504
+ var z = En.toSlateRange(n, N, {
5505
5505
  exactMatch: !1,
5506
5506
  suppressThrow: !1
5507
5507
  });
5508
- return F;
5508
+ return z;
5509
5509
  },
5510
5510
  findKey: (n, a) => {
5511
5511
  var i = AD.get(a);
@@ -5618,26 +5618,26 @@ var ay = /* @__PURE__ */ new WeakMap(), sC = /* @__PURE__ */ new WeakMap(), cC =
5618
5618
  if (!(O == null || O.textContent == null)) {
5619
5619
  var {
5620
5620
  length: B
5621
- } = O.textContent, N = A.getAttribute("data-slate-length"), z = N == null ? B : parseInt(N, 10), U = E + z, F = b[C + 1];
5622
- if (a.offset === U && F !== null && F !== void 0 && F.hasAttribute("data-slate-mark-placeholder")) {
5623
- var T, H = F.childNodes[0];
5621
+ } = O.textContent, N = A.getAttribute("data-slate-length"), U = N == null ? B : parseInt(N, 10), F = E + U, z = b[C + 1];
5622
+ if (a.offset === F && z !== null && z !== void 0 && z.hasAttribute("data-slate-mark-placeholder")) {
5623
+ var T, H = z.childNodes[0];
5624
5624
  d = [
5625
5625
  // COMPAT: If we don't explicity set the dom point to be on the actual
5626
5626
  // dom text element, chrome will put the selection behind the actual dom
5627
5627
  // text element, causing domRange.getBoundingClientRect() calls on a collapsed
5628
5628
  // selection to return incorrect zero values (https://bugs.chromium.org/p/chromium/issues/detail?id=435438)
5629
5629
  // which will cause issues when scrolling to it.
5630
- H instanceof h6 ? H : F,
5631
- (T = F.textContent) !== null && T !== void 0 && T.startsWith("\uFEFF") ? 1 : 0
5630
+ H instanceof h6 ? H : z,
5631
+ (T = z.textContent) !== null && T !== void 0 && T.startsWith("\uFEFF") ? 1 : 0
5632
5632
  ];
5633
5633
  break;
5634
5634
  }
5635
- if (a.offset <= U) {
5635
+ if (a.offset <= F) {
5636
5636
  var R = Math.min(B, Math.max(0, a.offset - E));
5637
5637
  d = [O, R];
5638
5638
  break;
5639
5639
  }
5640
- E = U;
5640
+ E = F;
5641
5641
  }
5642
5642
  }
5643
5643
  if (!d)
@@ -5648,8 +5648,8 @@ var ay = /* @__PURE__ */ new WeakMap(), sC = /* @__PURE__ */ new WeakMap(), cC =
5648
5648
  var {
5649
5649
  anchor: i,
5650
5650
  focus: o
5651
- } = a, d = _e.isBackward(a), p = En.toDOMPoint(n, i), b = _e.isCollapsed(a) ? p : En.toDOMPoint(n, o), E = En.getWindow(n), C = E.document.createRange(), [A, O] = d ? b : p, [B, N] = d ? p : b, z = ic(A) ? A : A.parentElement, U = !!z.getAttribute("data-slate-zero-width"), F = ic(B) ? B : B.parentElement, T = !!F.getAttribute("data-slate-zero-width");
5652
- return C.setStart(A, U ? 1 : O), C.setEnd(B, T ? 1 : N), C;
5651
+ } = a, d = _e.isBackward(a), p = En.toDOMPoint(n, i), b = _e.isCollapsed(a) ? p : En.toDOMPoint(n, o), E = En.getWindow(n), C = E.document.createRange(), [A, O] = d ? b : p, [B, N] = d ? p : b, U = ic(A) ? A : A.parentElement, F = !!U.getAttribute("data-slate-zero-width"), z = ic(B) ? B : B.parentElement, T = !!z.getAttribute("data-slate-zero-width");
5652
+ return C.setStart(A, F ? 1 : O), C.setEnd(B, T ? 1 : N), C;
5653
5653
  },
5654
5654
  toSlateNode: (n, a) => {
5655
5655
  var i = ic(a) ? a : a.parentElement;
@@ -5666,7 +5666,7 @@ var ay = /* @__PURE__ */ new WeakMap(), sC = /* @__PURE__ */ new WeakMap(), cC =
5666
5666
  searchDirection: p = "backward"
5667
5667
  } = i, [b, E] = o ? a : p6(a), C = b.parentNode, A = null, O = 0;
5668
5668
  if (C) {
5669
- var B, N, z = En.toDOMNode(n, n), U = C.closest('[data-slate-void="true"]'), F = U && z.contains(U) ? U : null, T = C.closest('[contenteditable="false"]'), H = T && z.contains(T) ? T : null, R = C.closest("[data-slate-leaf]"), _ = null;
5669
+ var B, N, U = En.toDOMNode(n, n), F = C.closest('[data-slate-void="true"]'), z = F && U.contains(F) ? F : null, T = C.closest('[contenteditable="false"]'), H = T && U.contains(T) ? T : null, R = C.closest("[data-slate-leaf]"), _ = null;
5670
5670
  if (R) {
5671
5671
  if (A = R.closest('[data-slate-node="text"]'), A) {
5672
5672
  var V = En.getWindow(n), q = V.document.createRange();
@@ -5680,8 +5680,8 @@ var ay = /* @__PURE__ */ new WeakMap(), sC = /* @__PURE__ */ new WeakMap(), cC =
5680
5680
  Te.parentNode.removeChild(Te);
5681
5681
  }), O = K.textContent.length, _ = A;
5682
5682
  }
5683
- } else if (F) {
5684
- for (var De = F.querySelectorAll("[data-slate-leaf]"), ie = 0; ie < De.length; ie++) {
5683
+ } else if (z) {
5684
+ for (var De = z.querySelectorAll("[data-slate-leaf]"), ie = 0; ie < De.length; ie++) {
5685
5685
  var we = De[ie];
5686
5686
  if (En.hasDOMNode(n, we)) {
5687
5687
  R = we;
@@ -5756,15 +5756,15 @@ var ay = /* @__PURE__ */ new WeakMap(), sC = /* @__PURE__ */ new WeakMap(), cC =
5756
5756
  if (f2(a)) {
5757
5757
  if (ey && a.rangeCount > 1) {
5758
5758
  A = a.focusNode;
5759
- var N = a.getRangeAt(0), z = a.getRangeAt(a.rangeCount - 1);
5760
- if (A instanceof HTMLTableRowElement && N.startContainer instanceof HTMLTableRowElement && z.startContainer instanceof HTMLTableRowElement) {
5759
+ var N = a.getRangeAt(0), U = a.getRangeAt(a.rangeCount - 1);
5760
+ if (A instanceof HTMLTableRowElement && N.startContainer instanceof HTMLTableRowElement && U.startContainer instanceof HTMLTableRowElement) {
5761
5761
  let K = function(re) {
5762
5762
  return re.childElementCount > 0 ? K(re.children[0]) : re;
5763
5763
  };
5764
- var U = N.startContainer, F = z.startContainer, T = K(U.children[N.startOffset]), H = K(F.children[z.startOffset]);
5764
+ var F = N.startContainer, z = U.startContainer, T = K(F.children[N.startOffset]), H = K(z.children[U.startOffset]);
5765
5765
  O = 0, H.childNodes.length > 0 ? E = H.childNodes[0] : E = H, T.childNodes.length > 0 ? A = T.childNodes[0] : A = T, H instanceof HTMLElement ? C = H.innerHTML.length : C = 0;
5766
5766
  } else
5767
- N.startContainer === A ? (E = z.endContainer, C = z.endOffset, O = N.startOffset) : (E = N.startContainer, C = N.endOffset, O = z.startOffset);
5767
+ N.startContainer === A ? (E = U.endContainer, C = U.endOffset, O = N.startOffset) : (E = N.startContainer, C = N.endOffset, O = U.startOffset);
5768
5768
  } else
5769
5769
  E = a.anchorNode, C = a.anchorOffset, A = a.focusNode, O = a.focusOffset;
5770
5770
  m3 && g6(E) || ey ? B = a.anchorNode === a.focusNode && a.anchorOffset === a.focusOffset : B = a.isCollapsed;
@@ -6117,28 +6117,28 @@ var H6 = function(a) {
6117
6117
  return b(A);
6118
6118
  if (o.selection && _e.isCollapsed(o.selection)) {
6119
6119
  var O = L.above(o, {
6120
- match: (U) => xt.isElement(U) && L.isBlock(o, U),
6120
+ match: (F) => xt.isElement(F) && L.isBlock(o, F),
6121
6121
  at: o.selection
6122
6122
  });
6123
6123
  if (O) {
6124
- var [, B] = O, N = L.range(o, B, o.selection.anchor), z = L6(o, N);
6125
- _e.isCollapsed(z) || Ie.delete(o, {
6126
- at: z
6124
+ var [, B] = O, N = L.range(o, B, o.selection.anchor), U = L6(o, N);
6125
+ _e.isCollapsed(U) || Ie.delete(o, {
6126
+ at: U
6127
6127
  });
6128
6128
  }
6129
6129
  }
6130
6130
  }, o.apply = (A) => {
6131
6131
  var O = [], B = [], N = Kl.get(o);
6132
6132
  if (N != null && N.length) {
6133
- var z = N.map((ue) => j6(ue, A)).filter(Boolean);
6134
- Kl.set(o, z);
6135
- }
6136
- var U = qv.get(o);
6137
- U && qv.set(o, MT(o, U, A));
6138
- var F = Vv.get(o);
6139
- if (F != null && F.at) {
6140
- var T = zn.isPoint(F == null ? void 0 : F.at) ? p2(o, F.at, A) : MT(o, F.at, A);
6141
- Vv.set(o, T ? zT(zT({}, F), {}, {
6133
+ var U = N.map((ue) => j6(ue, A)).filter(Boolean);
6134
+ Kl.set(o, U);
6135
+ }
6136
+ var F = qv.get(o);
6137
+ F && qv.set(o, MT(o, F, A));
6138
+ var z = Vv.get(o);
6139
+ if (z != null && z.at) {
6140
+ var T = zn.isPoint(z == null ? void 0 : z.at) ? p2(o, z.at, A) : MT(o, z.at, A);
6141
+ Vv.set(o, T ? zT(zT({}, z), {}, {
6142
6142
  at: T
6143
6143
  }) : null);
6144
6144
  }
@@ -6202,20 +6202,20 @@ var H6 = function(a) {
6202
6202
  selection: O
6203
6203
  } = o;
6204
6204
  if (O) {
6205
- var [B, N] = _e.edges(O), z = L.void(o, {
6205
+ var [B, N] = _e.edges(O), U = L.void(o, {
6206
6206
  at: B.path
6207
- }), U = L.void(o, {
6207
+ }), F = L.void(o, {
6208
6208
  at: N.path
6209
6209
  });
6210
- if (!(_e.isCollapsed(O) && !z)) {
6211
- var F = En.toDOMRange(o, O), T = F.cloneContents(), H = T.childNodes[0];
6210
+ if (!(_e.isCollapsed(O) && !U)) {
6211
+ var z = En.toDOMRange(o, O), T = z.cloneContents(), H = T.childNodes[0];
6212
6212
  if (T.childNodes.forEach((we) => {
6213
6213
  we.textContent && we.textContent.trim() !== "" && (H = we);
6214
- }), U) {
6215
- var [R] = U, _ = F.cloneRange(), V = En.toDOMNode(o, R);
6214
+ }), F) {
6215
+ var [R] = F, _ = z.cloneRange(), V = En.toDOMNode(o, R);
6216
6216
  _.setEndAfter(V), T = _.cloneContents();
6217
6217
  }
6218
- if (z && (H = T.querySelector("[data-slate-spacer]")), Array.from(T.querySelectorAll("[data-slate-zero-width]")).forEach((we) => {
6218
+ if (U && (H = T.querySelector("[data-slate-spacer]")), Array.from(T.querySelectorAll("[data-slate-zero-width]")).forEach((we) => {
6219
6219
  var Fe = we.getAttribute("data-slate-zero-width") === "n";
6220
6220
  we.textContent = Fe ? `
6221
6221
  ` : "";
@@ -6242,10 +6242,10 @@ var H6 = function(a) {
6242
6242
  var O = A.getData("text/plain");
6243
6243
  if (O) {
6244
6244
  var B = O.split(/\r\n|\r|\n/), N = !1;
6245
- for (var z of B)
6245
+ for (var U of B)
6246
6246
  N && Ie.splitNodes(o, {
6247
6247
  always: !0
6248
- }), o.insertText(z), N = !0;
6248
+ }), o.insertText(U), N = !0;
6249
6249
  return !0;
6250
6250
  }
6251
6251
  return !1;
@@ -6441,7 +6441,7 @@ var Hg = function(n) {
6441
6441
  return $b.get(n);
6442
6442
  if (C3(n))
6443
6443
  return $b.set(n, VT), VT;
6444
- var i = getComputedStyle(n), o = dC(n) && n.ownerSVGElement && n.getBBox(), d = !a8 && i.boxSizing === "border-box", p = n8.test(i.writingMode || ""), b = !o && HT.test(i.overflowY || ""), E = !o && HT.test(i.overflowX || ""), C = o ? 0 : Sd(i.paddingTop), A = o ? 0 : Sd(i.paddingRight), O = o ? 0 : Sd(i.paddingBottom), B = o ? 0 : Sd(i.paddingLeft), N = o ? 0 : Sd(i.borderTopWidth), z = o ? 0 : Sd(i.borderRightWidth), U = o ? 0 : Sd(i.borderBottomWidth), F = o ? 0 : Sd(i.borderLeftWidth), T = B + A, H = C + O, R = F + z, _ = N + U, V = E ? n.offsetHeight - _ - n.clientHeight : 0, q = b ? n.offsetWidth - R - n.clientWidth : 0, K = d ? T + R : 0, re = d ? H + _ : 0, De = o ? o.width : Sd(i.width) - K - q, ie = o ? o.height : Sd(i.height) - re - V, we = De + T + q + R, Fe = ie + H + V + _, Ne = Hg({
6444
+ var i = getComputedStyle(n), o = dC(n) && n.ownerSVGElement && n.getBBox(), d = !a8 && i.boxSizing === "border-box", p = n8.test(i.writingMode || ""), b = !o && HT.test(i.overflowY || ""), E = !o && HT.test(i.overflowX || ""), C = o ? 0 : Sd(i.paddingTop), A = o ? 0 : Sd(i.paddingRight), O = o ? 0 : Sd(i.paddingBottom), B = o ? 0 : Sd(i.paddingLeft), N = o ? 0 : Sd(i.borderTopWidth), U = o ? 0 : Sd(i.borderRightWidth), F = o ? 0 : Sd(i.borderBottomWidth), z = o ? 0 : Sd(i.borderLeftWidth), T = B + A, H = C + O, R = z + U, _ = N + F, V = E ? n.offsetHeight - _ - n.clientHeight : 0, q = b ? n.offsetWidth - R - n.clientWidth : 0, K = d ? T + R : 0, re = d ? H + _ : 0, De = o ? o.width : Sd(i.width) - K - q, ie = o ? o.height : Sd(i.height) - re - V, we = De + T + q + R, Fe = ie + H + V + _, Ne = Hg({
6445
6445
  devicePixelContentBoxSize: ry(Math.round(De * devicePixelRatio), Math.round(ie * devicePixelRatio), p),
6446
6446
  borderBoxSize: ry(we, Fe, p),
6447
6447
  contentBoxSize: ry(De, ie, p),
@@ -6776,13 +6776,13 @@ function w8(n) {
6776
6776
  Ue && i(), i.flush(), o.flush(), O();
6777
6777
  var le = Jh.get(a);
6778
6778
  Jh.delete(a), le !== void 0 && (a.marks = le, a.onChange());
6779
- }, z = (Ne) => {
6779
+ }, U = (Ne) => {
6780
6780
  p && clearTimeout(p), p = setTimeout(() => {
6781
6781
  zg.set(a, !1), N();
6782
6782
  }, E8);
6783
- }, U = (Ne) => {
6783
+ }, F = (Ne) => {
6784
6784
  zg.set(a, !0), p && (clearTimeout(p), p = null);
6785
- }, F = function() {
6785
+ }, z = function() {
6786
6786
  var Ue = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !1, ue = d2.get(a);
6787
6787
  if (ue) {
6788
6788
  if (V() || Ue) {
@@ -6801,12 +6801,12 @@ function w8(n) {
6801
6801
  path: Ne,
6802
6802
  diff: Ue,
6803
6803
  id: C++
6804
- }), F();
6804
+ }), z();
6805
6805
  return;
6806
6806
  }
6807
6807
  var Ve = z6(te.text, He[me].diff, Ue);
6808
6808
  if (!Ve) {
6809
- He.splice(me, 1), F();
6809
+ He.splice(me, 1), z();
6810
6810
  return;
6811
6811
  }
6812
6812
  He[me] = Pb(Pb({}, He[me]), {}, {
@@ -7030,7 +7030,7 @@ function w8(n) {
7030
7030
  }, De = () => {
7031
7031
  (_() || !V()) && N();
7032
7032
  }, ie = (Ne) => {
7033
- V() || (F(!0), setTimeout(F));
7033
+ V() || (z(!0), setTimeout(z));
7034
7034
  }, we = () => {
7035
7035
  _() || (E = setTimeout(N));
7036
7036
  }, Fe = (Ne) => {
@@ -7047,8 +7047,8 @@ function w8(n) {
7047
7047
  hasPendingChanges: q,
7048
7048
  isFlushing: K,
7049
7049
  handleUserSelect: re,
7050
- handleCompositionEnd: z,
7051
- handleCompositionStart: U,
7050
+ handleCompositionEnd: U,
7051
+ handleCompositionStart: F,
7052
7052
  handleDOMBeforeInput: R,
7053
7053
  handleKeyDown: ie,
7054
7054
  handleDomMutations: Fe,
@@ -7213,7 +7213,7 @@ var U8 = (n) => {
7213
7213
  parent: d,
7214
7214
  renderPlaceholder: p,
7215
7215
  renderLeaf: b = (R) => /* @__PURE__ */ Yt.createElement(L8, O3({}, R))
7216
- } = n, E = Iv(), C = za(null), A = za(null), [O, B] = Kn(!1), N = za(null), z = Sa((R) => {
7216
+ } = n, E = Iv(), C = za(null), A = za(null), [O, B] = Kn(!1), N = za(null), U = Sa((R) => {
7217
7217
  if (z8(C, R == null), R == null) {
7218
7218
  var _;
7219
7219
  d2.delete(E), (_ = a.onPlaceholderResize) === null || _ === void 0 || _.call(a, null);
@@ -7227,15 +7227,15 @@ var U8 = (n) => {
7227
7227
  }
7228
7228
  C.current.observe(R), A.current = R;
7229
7229
  }
7230
- }, [A, a, E]), U = /* @__PURE__ */ Yt.createElement(k8, {
7230
+ }, [A, a, E]), F = /* @__PURE__ */ Yt.createElement(k8, {
7231
7231
  isLast: i,
7232
7232
  leaf: a,
7233
7233
  parent: d,
7234
7234
  text: o
7235
- }), F = !!a[cy];
7236
- if (Un(() => (F ? N.current || (N.current = setTimeout(() => {
7235
+ }), z = !!a[cy];
7236
+ if (Un(() => (z ? N.current || (N.current = setTimeout(() => {
7237
7237
  B(!0), N.current = null;
7238
- }, F8)) : (KT(N), B(!1)), () => KT(N)), [F, B]), F && O) {
7238
+ }, F8)) : (KT(N), B(!1)), () => KT(N)), [z, B]), z && O) {
7239
7239
  var T = {
7240
7240
  children: a.placeholder,
7241
7241
  attributes: {
@@ -7254,17 +7254,17 @@ var U8 = (n) => {
7254
7254
  WebkitUserModify: kg ? "inherit" : void 0
7255
7255
  },
7256
7256
  contentEditable: !1,
7257
- ref: z
7257
+ ref: U
7258
7258
  }
7259
7259
  };
7260
- U = /* @__PURE__ */ Yt.createElement(Yt.Fragment, null, p(T), U);
7260
+ F = /* @__PURE__ */ Yt.createElement(Yt.Fragment, null, p(T), F);
7261
7261
  }
7262
7262
  var H = {
7263
7263
  "data-slate-leaf": !0
7264
7264
  };
7265
7265
  return b({
7266
7266
  attributes: H,
7267
- children: U,
7267
+ children: F,
7268
7268
  leaf: a,
7269
7269
  text: o
7270
7270
  });
@@ -7283,24 +7283,24 @@ var U8 = (n) => {
7283
7283
  renderLeaf: p,
7284
7284
  text: b
7285
7285
  } = n, E = Iv(), C = za(null), A = kt.decorations(b, a), O = gt.findKey(E, b), B = [], N = 0; N < A.length; N++) {
7286
- var z = A[N];
7286
+ var U = A[N];
7287
7287
  B.push(/* @__PURE__ */ Yt.createElement(j8, {
7288
7288
  isLast: i && N === A.length - 1,
7289
7289
  key: "".concat(O.id, "-").concat(N),
7290
7290
  renderPlaceholder: d,
7291
- leaf: z,
7291
+ leaf: U,
7292
7292
  text: b,
7293
7293
  parent: o,
7294
7294
  renderLeaf: p
7295
7295
  }));
7296
7296
  }
7297
- var U = Sa((F) => {
7297
+ var F = Sa((z) => {
7298
7298
  var T = HD.get(E);
7299
- F ? (T == null || T.set(O, F), jg.set(b, F), U1.set(F, b)) : (T == null || T.delete(O), jg.delete(b), C.current && U1.delete(C.current)), C.current = F;
7299
+ z ? (T == null || T.set(O, z), jg.set(b, z), U1.set(z, b)) : (T == null || T.delete(O), jg.delete(b), C.current && U1.delete(C.current)), C.current = z;
7300
7300
  }, [C, E, O, b]);
7301
7301
  return /* @__PURE__ */ Yt.createElement("span", {
7302
7302
  "data-slate-node": "text",
7303
- ref: U
7303
+ ref: F
7304
7304
  }, B);
7305
7305
  }, B3 = /* @__PURE__ */ Yt.memo(H8, (n, a) => a.parent === n.parent && a.isLast === n.isLast && a.renderLeaf === n.renderLeaf && a.renderPlaceholder === n.renderPlaceholder && a.text === n.text && W6(a.decorations, n.decorations));
7306
7306
  function JT(n, a) {
@@ -7342,16 +7342,16 @@ var V8 = (n) => {
7342
7342
  renderPlaceholder: d,
7343
7343
  renderLeaf: p,
7344
7344
  selection: b
7345
- }), z = {
7345
+ }), U = {
7346
7346
  "data-slate-node": "element",
7347
7347
  ref: B
7348
7348
  };
7349
- if (A && (z["data-slate-inline"] = !0), !A && L.hasInlines(E, i)) {
7350
- var U = ot.string(i), F = i3(U);
7351
- F === "rtl" && (z.dir = F);
7349
+ if (A && (U["data-slate-inline"] = !0), !A && L.hasInlines(E, i)) {
7350
+ var F = ot.string(i), z = i3(F);
7351
+ z === "rtl" && (U.dir = z);
7352
7352
  }
7353
7353
  if (L.isVoid(E, i)) {
7354
- z["data-slate-void"] = !0, !C && A && (z.contentEditable = !1);
7354
+ U["data-slate-void"] = !0, !C && A && (U.contentEditable = !1);
7355
7355
  var T = A ? "span" : "div", [[H]] = ot.texts(i);
7356
7356
  N = /* @__PURE__ */ Yt.createElement(T, {
7357
7357
  "data-slate-spacer": !0,
@@ -7370,7 +7370,7 @@ var V8 = (n) => {
7370
7370
  })), sC.set(H, 0), cC.set(H, i);
7371
7371
  }
7372
7372
  return o({
7373
- attributes: z,
7373
+ attributes: U,
7374
7374
  children: N,
7375
7375
  element: i
7376
7376
  });
@@ -7396,31 +7396,31 @@ var V8 = (n) => {
7396
7396
  } = n, E = G8(), C = Iv();
7397
7397
  ay.set(C, !1);
7398
7398
  for (var A = gt.findPath(C, i), O = [], B = xt.isElement(i) && !C.isInline(i) && L.hasInlines(C, i), N = 0; N < i.children.length; N++) {
7399
- var z = A.concat(N), U = i.children[N], F = gt.findKey(C, U), T = L.range(C, z), H = b && _e.intersection(T, b), R = E([U, z]);
7399
+ var U = A.concat(N), F = i.children[N], z = gt.findKey(C, F), T = L.range(C, U), H = b && _e.intersection(T, b), R = E([F, U]);
7400
7400
  for (var _ of a) {
7401
7401
  var V = _e.intersection(_, T);
7402
7402
  V && R.push(V);
7403
7403
  }
7404
- xt.isElement(U) ? O.push(/* @__PURE__ */ Yt.createElement(N3.Provider, {
7405
- key: "provider-".concat(F.id),
7404
+ xt.isElement(F) ? O.push(/* @__PURE__ */ Yt.createElement(N3.Provider, {
7405
+ key: "provider-".concat(z.id),
7406
7406
  value: !!H
7407
7407
  }, /* @__PURE__ */ Yt.createElement(q8, {
7408
7408
  decorations: R,
7409
- element: U,
7410
- key: F.id,
7409
+ element: F,
7410
+ key: z.id,
7411
7411
  renderElement: o,
7412
7412
  renderPlaceholder: d,
7413
7413
  renderLeaf: p,
7414
7414
  selection: H
7415
7415
  }))) : O.push(/* @__PURE__ */ Yt.createElement(B3, {
7416
7416
  decorations: R,
7417
- key: F.id,
7417
+ key: z.id,
7418
7418
  isLast: B && N === i.children.length - 1,
7419
7419
  parent: i,
7420
7420
  renderPlaceholder: d,
7421
7421
  renderLeaf: p,
7422
- text: U
7423
- })), sC.set(U, N), cC.set(U, i);
7422
+ text: F
7423
+ })), sC.set(F, N), cC.set(F, i);
7424
7424
  }
7425
7425
  return O;
7426
7426
  }, k3 = /* @__PURE__ */ rm(!1), X8 = () => py(k3), _3 = /* @__PURE__ */ rm(null), lc = () => {
@@ -7554,9 +7554,9 @@ var e7 = (n) => /* @__PURE__ */ Yt.createElement(Yt.Fragment, null, M3(n)), t7 =
7554
7554
  renderPlaceholder: O = i,
7555
7555
  scrollSelectionIntoView: B = r7,
7556
7556
  style: N = {},
7557
- as: z = "div",
7558
- disableDefaultStyles: U = !1
7559
- } = n, F = wD(n, K8), T = lc(), [H, R] = Kn(!1), _ = za(null), V = za([]), [q, K] = Kn(), re = za(!1), {
7557
+ as: U = "div",
7558
+ disableDefaultStyles: F = !1
7559
+ } = n, z = wD(n, K8), T = lc(), [H, R] = Kn(!1), _ = za(null), V = za([]), [q, K] = Kn(), re = za(!1), {
7560
7560
  onUserInput: De,
7561
7561
  receivedUserInput: ie
7562
7562
  } = Q8(), [, we] = iR((P) => P + 1, 0);
@@ -7912,18 +7912,18 @@ var e7 = (n) => /* @__PURE__ */ Yt.createElement(Yt.Fragment, null, M3(n)), t7 =
7912
7912
  }, /* @__PURE__ */ Yt.createElement(W8, {
7913
7913
  node: _,
7914
7914
  receivedUserInput: ie
7915
- }, /* @__PURE__ */ Yt.createElement(z, Cd(Cd({
7915
+ }, /* @__PURE__ */ Yt.createElement(U, Cd(Cd({
7916
7916
  role: E ? void 0 : "textbox",
7917
7917
  "aria-multiline": E ? void 0 : !0
7918
- }, F), {}, {
7918
+ }, z), {}, {
7919
7919
  // COMPAT: Certain browsers don't support the `beforeinput` event, so we'd
7920
7920
  // have to use hacks to make these replacement-based features work.
7921
7921
  // For SSR situations HAS_BEFORE_INPUT_SUPPORT is false and results in prop
7922
7922
  // mismatch warning app moves to browser. Pass-through consumer props when
7923
7923
  // not CAN_USE_DOM (SSR) and default to falsy value
7924
- spellCheck: jv || !dD ? F.spellCheck : !1,
7925
- autoCorrect: jv || !dD ? F.autoCorrect : "false",
7926
- autoCapitalize: jv || !dD ? F.autoCapitalize : "false",
7924
+ spellCheck: jv || !dD ? z.spellCheck : !1,
7925
+ autoCorrect: jv || !dD ? z.autoCorrect : "false",
7926
+ autoCapitalize: jv || !dD ? z.autoCapitalize : "false",
7927
7927
  "data-slate-editor": !0,
7928
7928
  "data-slate-node": "value",
7929
7929
  // explicitly set this
@@ -7934,7 +7934,7 @@ var e7 = (n) => /* @__PURE__ */ Yt.createElement(Yt.Fragment, null, M3(n)), t7 =
7934
7934
  zindex: -1,
7935
7935
  suppressContentEditableWarning: !0,
7936
7936
  ref: te,
7937
- style: Cd(Cd({}, U ? {} : Cd({
7937
+ style: Cd(Cd({}, F ? {} : Cd({
7938
7938
  // Allow positioning relative to the editable element.
7939
7939
  position: "relative",
7940
7940
  // Preserve adjacent whitespace and new lines.
@@ -7945,13 +7945,13 @@ var e7 = (n) => /* @__PURE__ */ Yt.createElement(Yt.Fragment, null, M3(n)), t7 =
7945
7945
  minHeight: q
7946
7946
  } : {})), N),
7947
7947
  onBeforeInput: Sa((P) => {
7948
- if (!jv && !E && !bl(P, F.onBeforeInput) && gt.hasSelectableTarget(T, P.target) && (P.preventDefault(), !gt.isComposing(T))) {
7948
+ if (!jv && !E && !bl(P, z.onBeforeInput) && gt.hasSelectableTarget(T, P.target) && (P.preventDefault(), !gt.isComposing(T))) {
7949
7949
  var ze = P.data;
7950
7950
  L.insertText(T, ze);
7951
7951
  }
7952
- }, [F.onBeforeInput, T, E]),
7952
+ }, [z.onBeforeInput, T, E]),
7953
7953
  onInput: Sa((P) => {
7954
- if (!bl(P, F.onInput)) {
7954
+ if (!bl(P, z.onInput)) {
7955
7955
  if (Ne.current) {
7956
7956
  Ne.current.handleInput();
7957
7957
  return;
@@ -7970,9 +7970,9 @@ var e7 = (n) => /* @__PURE__ */ Yt.createElement(Yt.Fragment, null, M3(n)), t7 =
7970
7970
  }
7971
7971
  }
7972
7972
  }
7973
- }, [F.onInput, T]),
7973
+ }, [z.onInput, T]),
7974
7974
  onBlur: Sa((P) => {
7975
- if (!(E || Fe.isUpdatingSelection || !gt.hasSelectableTarget(T, P.target) || bl(P, F.onBlur))) {
7975
+ if (!(E || Fe.isUpdatingSelection || !gt.hasSelectableTarget(T, P.target) || bl(P, z.onBlur))) {
7976
7976
  var ze = gt.findDocumentOrShadowRoot(T);
7977
7977
  if (Fe.latestElement !== ze.activeElement) {
7978
7978
  var {
@@ -7992,9 +7992,9 @@ var e7 = (n) => /* @__PURE__ */ Yt.createElement(Yt.Fragment, null, M3(n)), t7 =
7992
7992
  }
7993
7993
  }
7994
7994
  }
7995
- }, [E, Fe.isUpdatingSelection, Fe.latestElement, T, F.onBlur]),
7995
+ }, [E, Fe.isUpdatingSelection, Fe.latestElement, T, z.onBlur]),
7996
7996
  onClick: Sa((P) => {
7997
- if (gt.hasTarget(T, P.target) && !bl(P, F.onClick) && $v(P.target)) {
7997
+ if (gt.hasTarget(T, P.target) && !bl(P, z.onClick) && $v(P.target)) {
7998
7998
  var ze = gt.toSlateNode(T, P.target), Se = gt.findPath(T, ze);
7999
7999
  if (!L.hasPath(T, Se) || ot.get(T, Se) !== ze)
8000
8000
  return;
@@ -8023,13 +8023,13 @@ var e7 = (n) => /* @__PURE__ */ Yt.createElement(Yt.Fragment, null, M3(n)), t7 =
8023
8023
  Ie.select(T, wt);
8024
8024
  }
8025
8025
  }
8026
- }, [T, F.onClick, E]),
8026
+ }, [T, z.onClick, E]),
8027
8027
  onCompositionEnd: Sa((P) => {
8028
8028
  if (gt.hasSelectableTarget(T, P.target)) {
8029
8029
  var ze;
8030
8030
  if (gt.isComposing(T) && Promise.resolve().then(() => {
8031
8031
  R(!1), zg.set(T, !1);
8032
- }), (ze = Ne.current) === null || ze === void 0 || ze.handleCompositionEnd(P), bl(P, F.onCompositionEnd) || Dl)
8032
+ }), (ze = Ne.current) === null || ze === void 0 || ze.handleCompositionEnd(P), bl(P, z.onCompositionEnd) || Dl)
8033
8033
  return;
8034
8034
  if (!kg && !T6 && !h3 && !O6 && !x6 && P.data) {
8035
8035
  var Se = bf.get(T);
@@ -8038,14 +8038,14 @@ var e7 = (n) => /* @__PURE__ */ Yt.createElement(Yt.Fragment, null, M3(n)), t7 =
8038
8038
  Jh.delete(T), Ae !== void 0 && (T.marks = Ae);
8039
8039
  }
8040
8040
  }
8041
- }, [F.onCompositionEnd, T]),
8041
+ }, [z.onCompositionEnd, T]),
8042
8042
  onCompositionUpdate: Sa((P) => {
8043
- gt.hasSelectableTarget(T, P.target) && !bl(P, F.onCompositionUpdate) && (gt.isComposing(T) || (R(!0), zg.set(T, !0)));
8044
- }, [F.onCompositionUpdate, T]),
8043
+ gt.hasSelectableTarget(T, P.target) && !bl(P, z.onCompositionUpdate) && (gt.isComposing(T) || (R(!0), zg.set(T, !0)));
8044
+ }, [z.onCompositionUpdate, T]),
8045
8045
  onCompositionStart: Sa((P) => {
8046
8046
  if (gt.hasSelectableTarget(T, P.target)) {
8047
8047
  var ze;
8048
- if ((ze = Ne.current) === null || ze === void 0 || ze.handleCompositionStart(P), bl(P, F.onCompositionStart) || Dl)
8048
+ if ((ze = Ne.current) === null || ze === void 0 || ze.handleCompositionStart(P), bl(P, z.onCompositionStart) || Dl)
8049
8049
  return;
8050
8050
  R(!0);
8051
8051
  var {
@@ -8056,12 +8056,12 @@ var e7 = (n) => /* @__PURE__ */ Yt.createElement(Yt.Fragment, null, M3(n)), t7 =
8056
8056
  return;
8057
8057
  }
8058
8058
  }
8059
- }, [F.onCompositionStart, T]),
8059
+ }, [z.onCompositionStart, T]),
8060
8060
  onCopy: Sa((P) => {
8061
- gt.hasSelectableTarget(T, P.target) && !bl(P, F.onCopy) && !tx(P) && (P.preventDefault(), gt.setFragmentData(T, P.clipboardData, "copy"));
8062
- }, [F.onCopy, T]),
8061
+ gt.hasSelectableTarget(T, P.target) && !bl(P, z.onCopy) && !tx(P) && (P.preventDefault(), gt.setFragmentData(T, P.clipboardData, "copy"));
8062
+ }, [z.onCopy, T]),
8063
8063
  onCut: Sa((P) => {
8064
- if (!E && gt.hasSelectableTarget(T, P.target) && !bl(P, F.onCut) && !tx(P)) {
8064
+ if (!E && gt.hasSelectableTarget(T, P.target) && !bl(P, z.onCut) && !tx(P)) {
8065
8065
  P.preventDefault(), gt.setFragmentData(T, P.clipboardData, "cut");
8066
8066
  var {
8067
8067
  selection: ze
@@ -8074,15 +8074,15 @@ var e7 = (n) => /* @__PURE__ */ Yt.createElement(Yt.Fragment, null, M3(n)), t7 =
8074
8074
  L.isVoid(T, Se) && Ie.delete(T);
8075
8075
  }
8076
8076
  }
8077
- }, [E, T, F.onCut]),
8077
+ }, [E, T, z.onCut]),
8078
8078
  onDragOver: Sa((P) => {
8079
- if (gt.hasTarget(T, P.target) && !bl(P, F.onDragOver)) {
8079
+ if (gt.hasTarget(T, P.target) && !bl(P, z.onDragOver)) {
8080
8080
  var ze = gt.toSlateNode(T, P.target);
8081
8081
  xt.isElement(ze) && L.isVoid(T, ze) && P.preventDefault();
8082
8082
  }
8083
- }, [F.onDragOver, T]),
8083
+ }, [z.onDragOver, T]),
8084
8084
  onDragStart: Sa((P) => {
8085
- if (!E && gt.hasTarget(T, P.target) && !bl(P, F.onDragStart)) {
8085
+ if (!E && gt.hasTarget(T, P.target) && !bl(P, z.onDragStart)) {
8086
8086
  var ze = gt.toSlateNode(T, P.target), Se = gt.findPath(T, ze), Ae = xt.isElement(ze) && L.isVoid(T, ze) || L.void(T, {
8087
8087
  at: Se,
8088
8088
  voids: !0
@@ -8093,9 +8093,9 @@ var e7 = (n) => /* @__PURE__ */ Yt.createElement(Yt.Fragment, null, M3(n)), t7 =
8093
8093
  }
8094
8094
  Fe.isDraggingInternally = !0, gt.setFragmentData(T, P.dataTransfer, "drag");
8095
8095
  }
8096
- }, [E, T, F.onDragStart, Fe]),
8096
+ }, [E, T, z.onDragStart, Fe]),
8097
8097
  onDrop: Sa((P) => {
8098
- if (!E && gt.hasTarget(T, P.target) && !bl(P, F.onDrop)) {
8098
+ if (!E && gt.hasTarget(T, P.target) && !bl(P, z.onDrop)) {
8099
8099
  P.preventDefault();
8100
8100
  var ze = T.selection, Se = gt.findEventRange(T, P), Ae = P.dataTransfer;
8101
8101
  Ie.select(T, Se), Fe.isDraggingInternally && ze && !_e.equals(ze, Se) && !L.void(T, {
@@ -8105,12 +8105,12 @@ var e7 = (n) => /* @__PURE__ */ Yt.createElement(Yt.Fragment, null, M3(n)), t7 =
8105
8105
  at: ze
8106
8106
  }), gt.insertData(T, Ae), gt.isFocused(T) || gt.focus(T);
8107
8107
  }
8108
- }, [E, T, F.onDrop, Fe]),
8108
+ }, [E, T, z.onDrop, Fe]),
8109
8109
  onDragEnd: Sa((P) => {
8110
- !E && Fe.isDraggingInternally && F.onDragEnd && gt.hasTarget(T, P.target) && F.onDragEnd(P);
8111
- }, [E, Fe, F, T]),
8110
+ !E && Fe.isDraggingInternally && z.onDragEnd && gt.hasTarget(T, P.target) && z.onDragEnd(P);
8111
+ }, [E, Fe, z, T]),
8112
8112
  onFocus: Sa((P) => {
8113
- if (!E && !Fe.isUpdatingSelection && gt.hasEditableTarget(T, P.target) && !bl(P, F.onFocus)) {
8113
+ if (!E && !Fe.isUpdatingSelection && gt.hasEditableTarget(T, P.target) && !bl(P, z.onFocus)) {
8114
8114
  var ze = gt.toDOMNode(T, T), Se = gt.findDocumentOrShadowRoot(T);
8115
8115
  if (Fe.latestElement = Se.activeElement, ey && P.target !== ze) {
8116
8116
  ze.focus();
@@ -8118,7 +8118,7 @@ var e7 = (n) => /* @__PURE__ */ Yt.createElement(Yt.Fragment, null, M3(n)), t7 =
8118
8118
  }
8119
8119
  Yv.set(T, !0);
8120
8120
  }
8121
- }, [E, Fe, T, F.onFocus]),
8121
+ }, [E, Fe, T, z.onFocus]),
8122
8122
  onKeyDown: Sa((P) => {
8123
8123
  if (!E && gt.hasEditableTarget(T, P.target)) {
8124
8124
  var ze;
@@ -8126,7 +8126,7 @@ var e7 = (n) => /* @__PURE__ */ Yt.createElement(Yt.Fragment, null, M3(n)), t7 =
8126
8126
  var {
8127
8127
  nativeEvent: Se
8128
8128
  } = P;
8129
- if (gt.isComposing(T) && Se.isComposing === !1 && (zg.set(T, !1), R(!1)), bl(P, F.onKeyDown) || gt.isComposing(T))
8129
+ if (gt.isComposing(T) && Se.isComposing === !1 && (zg.set(T, !1), R(!1)), bl(P, z.onKeyDown) || gt.isComposing(T))
8130
8130
  return;
8131
8131
  var {
8132
8132
  selection: Ae
@@ -8274,10 +8274,10 @@ var e7 = (n) => /* @__PURE__ */ Yt.createElement(Yt.Fragment, null, M3(n)), t7 =
8274
8274
  }
8275
8275
  }
8276
8276
  }
8277
- }, [E, T, F.onKeyDown]),
8277
+ }, [E, T, z.onKeyDown]),
8278
8278
  onPaste: Sa((P) => {
8279
- !E && gt.hasEditableTarget(T, P.target) && !bl(P, F.onPaste) && (!jv || v6(P.nativeEvent) || kg) && (P.preventDefault(), gt.insertData(T, P.clipboardData));
8280
- }, [E, T, F.onPaste])
8279
+ !E && gt.hasEditableTarget(T, P.target) && !bl(P, z.onPaste) && (!jv || v6(P.nativeEvent) || kg) && (P.preventDefault(), gt.insertData(T, P.clipboardData));
8280
+ }, [E, T, z.onPaste])
8281
8281
  }), /* @__PURE__ */ Yt.createElement(e7, {
8282
8282
  decorations: me,
8283
8283
  node: T,
@@ -8350,9 +8350,9 @@ var z3 = parseInt(Yt.version.split(".")[0], 10), s7 = ["editor", "children", "on
8350
8350
  }), {
8351
8351
  selectorContext: O,
8352
8352
  onChange: B
8353
- } = o7(a), N = Sa((F) => {
8353
+ } = o7(a), N = Sa((z) => {
8354
8354
  var T;
8355
- switch (o && o(a.children), F == null || (T = F.operation) === null || T === void 0 ? void 0 : T.type) {
8355
+ switch (o && o(a.children), z == null || (T = z.operation) === null || T === void 0 ? void 0 : T.type) {
8356
8356
  case "set_selection":
8357
8357
  d == null || d(a.selection);
8358
8358
  break;
@@ -8368,15 +8368,15 @@ var z3 = parseInt(Yt.version.split(".")[0], 10), s7 = ["editor", "children", "on
8368
8368
  m2.set(a, () => {
8369
8369
  });
8370
8370
  }), [a, N]);
8371
- var [z, U] = Kn(gt.isFocused(a));
8371
+ var [U, F] = Kn(gt.isFocused(a));
8372
8372
  return Un(() => {
8373
- U(gt.isFocused(a));
8373
+ F(gt.isFocused(a));
8374
8374
  }, [a]), H1(() => {
8375
- var F = () => U(gt.isFocused(a));
8376
- return z3 >= 17 ? (document.addEventListener("focusin", F), document.addEventListener("focusout", F), () => {
8377
- document.removeEventListener("focusin", F), document.removeEventListener("focusout", F);
8378
- }) : (document.addEventListener("focus", F, !0), document.addEventListener("blur", F, !0), () => {
8379
- document.removeEventListener("focus", F, !0), document.removeEventListener("blur", F, !0);
8375
+ var z = () => F(gt.isFocused(a));
8376
+ return z3 >= 17 ? (document.addEventListener("focusin", z), document.addEventListener("focusout", z), () => {
8377
+ document.removeEventListener("focusin", z), document.removeEventListener("focusout", z);
8378
+ }) : (document.addEventListener("focus", z, !0), document.addEventListener("blur", z, !0), () => {
8379
+ document.removeEventListener("focus", z, !0), document.removeEventListener("blur", z, !0);
8380
8380
  });
8381
8381
  }, []), /* @__PURE__ */ Yt.createElement(l7.Provider, {
8382
8382
  value: O
@@ -8385,7 +8385,7 @@ var z3 = parseInt(Yt.version.split(".")[0], 10), s7 = ["editor", "children", "on
8385
8385
  }, /* @__PURE__ */ Yt.createElement(hC.Provider, {
8386
8386
  value: C.editor
8387
8387
  }, /* @__PURE__ */ Yt.createElement(u7.Provider, {
8388
- value: z
8388
+ value: U
8389
8389
  }, i))));
8390
8390
  }, f7 = function(a) {
8391
8391
  var i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "x-slate-fragment", o = a;
@@ -8419,17 +8419,17 @@ function d7() {
8419
8419
  }
8420
8420
  var i = typeof Object.is == "function" ? Object.is : a, o = n.useSyncExternalStore, d = n.useRef, p = n.useEffect, b = n.useMemo, E = n.useDebugValue;
8421
8421
  return xS.useSyncExternalStoreWithSelector = function(C, A, O, B, N) {
8422
- var z = d(null);
8423
- if (z.current === null) {
8424
- var U = { hasValue: !1, value: null };
8425
- z.current = U;
8426
- } else U = z.current;
8427
- z = b(
8422
+ var U = d(null);
8423
+ if (U.current === null) {
8424
+ var F = { hasValue: !1, value: null };
8425
+ U.current = F;
8426
+ } else F = U.current;
8427
+ U = b(
8428
8428
  function() {
8429
8429
  function T(q) {
8430
8430
  if (!H) {
8431
- if (H = !0, R = q, q = B(q), N !== void 0 && U.hasValue) {
8432
- var K = U.value;
8431
+ if (H = !0, R = q, q = B(q), N !== void 0 && F.hasValue) {
8432
+ var K = F.value;
8433
8433
  if (N(K, q))
8434
8434
  return _ = K;
8435
8435
  }
@@ -8451,13 +8451,13 @@ function d7() {
8451
8451
  },
8452
8452
  [A, O, B, N]
8453
8453
  );
8454
- var F = o(C, z[0], z[1]);
8454
+ var z = o(C, U[0], U[1]);
8455
8455
  return p(
8456
8456
  function() {
8457
- U.hasValue = !0, U.value = F;
8457
+ F.hasValue = !0, F.value = z;
8458
8458
  },
8459
- [F]
8460
- ), E(F), F;
8459
+ [z]
8460
+ ), E(z), z;
8461
8461
  }, xS;
8462
8462
  }
8463
8463
  var OS = {};
@@ -8479,17 +8479,17 @@ function h7() {
8479
8479
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
8480
8480
  var a = Yt, i = typeof Object.is == "function" ? Object.is : n, o = a.useSyncExternalStore, d = a.useRef, p = a.useEffect, b = a.useMemo, E = a.useDebugValue;
8481
8481
  OS.useSyncExternalStoreWithSelector = function(C, A, O, B, N) {
8482
- var z = d(null);
8483
- if (z.current === null) {
8484
- var U = { hasValue: !1, value: null };
8485
- z.current = U;
8486
- } else U = z.current;
8487
- z = b(
8482
+ var U = d(null);
8483
+ if (U.current === null) {
8484
+ var F = { hasValue: !1, value: null };
8485
+ U.current = F;
8486
+ } else F = U.current;
8487
+ U = b(
8488
8488
  function() {
8489
8489
  function T(q) {
8490
8490
  if (!H) {
8491
- if (H = !0, R = q, q = B(q), N !== void 0 && U.hasValue) {
8492
- var K = U.value;
8491
+ if (H = !0, R = q, q = B(q), N !== void 0 && F.hasValue) {
8492
+ var K = F.value;
8493
8493
  if (N(K, q))
8494
8494
  return _ = K;
8495
8495
  }
@@ -8512,13 +8512,13 @@ function h7() {
8512
8512
  },
8513
8513
  [A, O, B, N]
8514
8514
  );
8515
- var F = o(C, z[0], z[1]);
8515
+ var z = o(C, U[0], U[1]);
8516
8516
  return p(
8517
8517
  function() {
8518
- U.hasValue = !0, U.value = F;
8518
+ F.hasValue = !0, F.value = z;
8519
8519
  },
8520
- [F]
8521
- ), E(F), F;
8520
+ [z]
8521
+ ), E(z), z;
8522
8522
  }, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
8523
8523
  }()), OS;
8524
8524
  }
@@ -8570,9 +8570,9 @@ var ix = {
8570
8570
  };
8571
8571
  function y7(n, a) {
8572
8572
  let i, o = ix, d = 0, p = !1;
8573
- function b(F) {
8573
+ function b(z) {
8574
8574
  O();
8575
- const T = o.subscribe(F);
8575
+ const T = o.subscribe(z);
8576
8576
  let H = !1;
8577
8577
  return () => {
8578
8578
  H || (H = !0, T(), B());
@@ -8582,7 +8582,7 @@ function y7(n, a) {
8582
8582
  o.notify();
8583
8583
  }
8584
8584
  function C() {
8585
- U.onStateChange && U.onStateChange();
8585
+ F.onStateChange && F.onStateChange();
8586
8586
  }
8587
8587
  function A() {
8588
8588
  return p;
@@ -8596,19 +8596,19 @@ function y7(n, a) {
8596
8596
  function N() {
8597
8597
  p || (p = !0, O());
8598
8598
  }
8599
- function z() {
8599
+ function U() {
8600
8600
  p && (p = !1, B());
8601
8601
  }
8602
- const U = {
8602
+ const F = {
8603
8603
  addNestedSub: b,
8604
8604
  notifyNestedSubs: E,
8605
8605
  handleChangeWrapper: C,
8606
8606
  isSubscribed: A,
8607
8607
  trySubscribe: N,
8608
- tryUnsubscribe: z,
8608
+ tryUnsubscribe: U,
8609
8609
  getListeners: () => o
8610
8610
  };
8611
- return U;
8611
+ return F;
8612
8612
  }
8613
8613
  var b7 = () => typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u", D7 = /* @__PURE__ */ b7(), E7 = () => typeof navigator < "u" && navigator.product === "ReactNative", S7 = /* @__PURE__ */ E7(), C7 = () => D7 || S7 ? $o.useLayoutEffect : $o.useEffect, A7 = /* @__PURE__ */ C7(), BS = /* @__PURE__ */ Symbol.for("react-redux-context"), RS = typeof globalThis < "u" ? globalThis : (
8614
8614
  /* fall back to a per-module scope (pre-8.1 behaviour) if `globalThis` is not available */
@@ -8696,20 +8696,20 @@ function N7(n = Xv) {
8696
8696
  }
8697
8697
  const b = a(), { store: E, subscription: C, getServerState: A } = b, O = $o.useRef(!0), B = $o.useCallback(
8698
8698
  {
8699
- [o.name](z) {
8700
- const U = o(z);
8699
+ [o.name](U) {
8700
+ const F = o(U);
8701
8701
  if (process.env.NODE_ENV !== "production") {
8702
- const { devModeChecks: F = {} } = typeof d == "function" ? {} : d, { identityFunctionCheck: T, stabilityCheck: H } = b, {
8702
+ const { devModeChecks: z = {} } = typeof d == "function" ? {} : d, { identityFunctionCheck: T, stabilityCheck: H } = b, {
8703
8703
  identityFunctionCheck: R,
8704
8704
  stabilityCheck: _
8705
8705
  } = {
8706
8706
  stabilityCheck: H,
8707
8707
  identityFunctionCheck: T,
8708
- ...F
8708
+ ...z
8709
8709
  };
8710
8710
  if (_ === "always" || _ === "once" && O.current) {
8711
- const V = o(z);
8712
- if (!p(U, V)) {
8711
+ const V = o(U);
8712
+ if (!p(F, V)) {
8713
8713
  let q;
8714
8714
  try {
8715
8715
  throw new Error();
@@ -8720,15 +8720,15 @@ function N7(n = Xv) {
8720
8720
  "Selector " + (o.name || "unknown") + ` returned a different result when called with the same parameters. This can lead to unnecessary rerenders.
8721
8721
  Selectors that return a new reference (such as an object or an array) should be memoized: https://redux.js.org/usage/deriving-data-selectors#optimizing-selectors-with-memoization`,
8722
8722
  {
8723
- state: z,
8724
- selected: U,
8723
+ state: U,
8724
+ selected: F,
8725
8725
  selected2: V,
8726
8726
  stack: q
8727
8727
  }
8728
8728
  );
8729
8729
  }
8730
8730
  }
8731
- if ((R === "always" || R === "once" && O.current) && U === z) {
8731
+ if ((R === "always" || R === "once" && O.current) && F === U) {
8732
8732
  let V;
8733
8733
  try {
8734
8734
  throw new Error();
@@ -8743,7 +8743,7 @@ Selectors that return the entire state are almost certainly a mistake, as they w
8743
8743
  }
8744
8744
  O.current && (O.current = !1);
8745
8745
  }
8746
- return U;
8746
+ return F;
8747
8747
  }
8748
8748
  }[o.name],
8749
8749
  [o]
@@ -8877,14 +8877,14 @@ function H3(n, a, i) {
8877
8877
  R();
8878
8878
  }), T;
8879
8879
  }
8880
- function z(T) {
8880
+ function U(T) {
8881
8881
  if (typeof T != "function")
8882
8882
  throw new Error(process.env.NODE_ENV === "production" ? yu(10) : `Expected the nextReducer to be a function. Instead, received: '${Hv(T)}`);
8883
8883
  o = T, N({
8884
8884
  type: Vg.REPLACE
8885
8885
  });
8886
8886
  }
8887
- function U() {
8887
+ function F() {
8888
8888
  const T = B;
8889
8889
  return {
8890
8890
  /**
@@ -8917,8 +8917,8 @@ function H3(n, a, i) {
8917
8917
  dispatch: N,
8918
8918
  subscribe: B,
8919
8919
  getState: O,
8920
- replaceReducer: z,
8921
- [ux]: U
8920
+ replaceReducer: U,
8921
+ [ux]: F
8922
8922
  };
8923
8923
  }
8924
8924
  function lx(n) {
@@ -8978,12 +8978,12 @@ function H7(n) {
8978
8978
  let A = !1;
8979
8979
  const O = {};
8980
8980
  for (let B = 0; B < o.length; B++) {
8981
- const N = o[B], z = i[N], U = E[N], F = z(U, C);
8982
- if (typeof F > "u") {
8981
+ const N = o[B], U = i[N], F = E[N], z = U(F, C);
8982
+ if (typeof z > "u") {
8983
8983
  const T = C && C.type;
8984
8984
  throw new Error(process.env.NODE_ENV === "production" ? yu(14) : `When called with an action of type ${T ? `"${String(T)}"` : "(unknown type)"}, the slice reducer for key "${N}" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.`);
8985
8985
  }
8986
- O[N] = F, A = A || F !== U;
8986
+ O[N] = z, A = A || z !== F;
8987
8987
  }
8988
8988
  return A = A || o.length !== Object.keys(E).length, A ? O : E;
8989
8989
  };
@@ -9129,18 +9129,18 @@ function q3(n, a = {}) {
9129
9129
  var B;
9130
9130
  let E = i;
9131
9131
  const { length: C } = arguments;
9132
- for (let N = 0, z = C; N < z; N++) {
9133
- const U = arguments[N];
9134
- if (typeof U == "function" || typeof U == "object" && U !== null) {
9135
- let F = E.o;
9136
- F === null && (E.o = F = /* @__PURE__ */ new WeakMap());
9137
- const T = F.get(U);
9138
- T === void 0 ? (E = Wb(), F.set(U, E)) : E = T;
9132
+ for (let N = 0, U = C; N < U; N++) {
9133
+ const F = arguments[N];
9134
+ if (typeof F == "function" || typeof F == "object" && F !== null) {
9135
+ let z = E.o;
9136
+ z === null && (E.o = z = /* @__PURE__ */ new WeakMap());
9137
+ const T = z.get(F);
9138
+ T === void 0 ? (E = Wb(), z.set(F, E)) : E = T;
9139
9139
  } else {
9140
- let F = E.p;
9141
- F === null && (E.p = F = /* @__PURE__ */ new Map());
9142
- const T = F.get(U);
9143
- T === void 0 ? (E = Wb(), F.set(U, E)) : E = T;
9140
+ let z = E.p;
9141
+ z === null && (E.p = z = /* @__PURE__ */ new Map());
9142
+ const T = z.get(F);
9143
+ T === void 0 ? (E = Wb(), z.set(F, E)) : E = T;
9144
9144
  }
9145
9145
  }
9146
9146
  const A = E;
@@ -9175,24 +9175,24 @@ function J7(n, ...a) {
9175
9175
  }, {
9176
9176
  memoize: B,
9177
9177
  memoizeOptions: N = [],
9178
- argsMemoize: z = q3,
9179
- argsMemoizeOptions: U = [],
9180
- devModeChecks: F = {}
9181
- } = O, T = ox(N), H = ox(U), R = P7(d), _ = B(function() {
9178
+ argsMemoize: U = q3,
9179
+ argsMemoizeOptions: F = [],
9180
+ devModeChecks: z = {}
9181
+ } = O, T = ox(N), H = ox(F), R = P7(d), _ = B(function() {
9182
9182
  return p++, A.apply(
9183
9183
  null,
9184
9184
  arguments
9185
9185
  );
9186
9186
  }, ...T);
9187
9187
  let V = !0;
9188
- const q = z(function() {
9188
+ const q = U(function() {
9189
9189
  b++;
9190
9190
  const re = sx(
9191
9191
  R,
9192
9192
  arguments
9193
9193
  );
9194
9194
  if (E = _.apply(null, re), process.env.NODE_ENV !== "production") {
9195
- const { identityFunctionCheck: De, inputStabilityCheck: ie } = Z7(V, F);
9195
+ const { identityFunctionCheck: De, inputStabilityCheck: ie } = Z7(V, z);
9196
9196
  if (De.shouldRun && De.run(
9197
9197
  A,
9198
9198
  re,
@@ -9226,7 +9226,7 @@ function J7(n, ...a) {
9226
9226
  p = 0;
9227
9227
  },
9228
9228
  memoize: B,
9229
- argsMemoize: z
9229
+ argsMemoize: U
9230
9230
  });
9231
9231
  };
9232
9232
  return Object.assign(o, {
@@ -9380,7 +9380,7 @@ function Q3(n, a = [], i, o, d = !1, p = "") {
9380
9380
  const A = a.length > 0;
9381
9381
  for (let O in C) {
9382
9382
  const B = p ? p + "." + O : O;
9383
- if (A && a.some((U) => U instanceof RegExp ? U.test(B) : B === U))
9383
+ if (A && a.some((F) => F instanceof RegExp ? F.test(B) : B === F))
9384
9384
  continue;
9385
9385
  const N = Q3(n, a, i.children[O], o[O], E, B);
9386
9386
  if (N.wasMutated)
@@ -9402,8 +9402,8 @@ function cM(n = {}) {
9402
9402
  return A[0] === N ? "[Circular ~]" : "[Circular ~." + O.slice(0, A.indexOf(N)).join(".") + "]";
9403
9403
  }), function(B, N) {
9404
9404
  if (A.length > 0) {
9405
- var z = A.indexOf(this);
9406
- ~z ? A.splice(z + 1) : A.push(this), ~z ? O.splice(z, 1 / 0, B) : O.push(B), ~A.indexOf(N) && (N = C.call(this, B, N));
9405
+ var U = A.indexOf(this);
9406
+ ~U ? A.splice(U + 1) : A.push(this), ~U ? O.splice(U, 1 / 0, B) : O.push(B), ~A.indexOf(N) && (N = C.call(this, B, N));
9407
9407
  } else A.push(N);
9408
9408
  return E == null ? N : E.call(this, B, N);
9409
9409
  };
@@ -9418,16 +9418,16 @@ function cM(n = {}) {
9418
9418
  }) => {
9419
9419
  let C = E(), A = b(C), O;
9420
9420
  return (B) => (N) => {
9421
- const z = G3(p, "ImmutableStateInvariantMiddleware");
9422
- z.measureTime(() => {
9421
+ const U = G3(p, "ImmutableStateInvariantMiddleware");
9422
+ U.measureTime(() => {
9423
9423
  if (C = E(), O = A.detectMutations(), A = b(C), O.wasMutated)
9424
9424
  throw new Error(process.env.NODE_ENV === "production" ? nr(19) : `A state mutation was detected between dispatches, in the path '${O.path || ""}'. This may cause incorrect behavior. (https://redux.js.org/style-guide/style-guide#do-not-mutate-state)`);
9425
9425
  });
9426
- const U = B(N);
9427
- return z.measureTime(() => {
9426
+ const F = B(N);
9427
+ return U.measureTime(() => {
9428
9428
  if (C = E(), O = A.detectMutations(), A = b(C), O.wasMutated)
9429
9429
  throw new Error(process.env.NODE_ENV === "production" ? nr(20) : `A state mutation was detected inside a dispatch, in the path: ${O.path || ""}. Take a look at the reducer(s) handling the action ${a(N)}. (https://redux.js.org/style-guide/style-guide#do-not-mutate-state)`);
9430
- }), z.warnIfExceeded(), U;
9430
+ }), U.warnIfExceeded(), F;
9431
9431
  };
9432
9432
  };
9433
9433
  }
@@ -9447,7 +9447,7 @@ function b2(n, a = "", i = P3, o, d = [], p) {
9447
9447
  const E = o != null ? o(n) : Object.entries(n), C = d.length > 0;
9448
9448
  for (const [A, O] of E) {
9449
9449
  const B = a ? a + "." + A : A;
9450
- if (!(C && d.some((z) => z instanceof RegExp ? z.test(B) : B === z))) {
9450
+ if (!(C && d.some((U) => U instanceof RegExp ? U.test(B) : B === U))) {
9451
9451
  if (!i(O))
9452
9452
  return {
9453
9453
  keyPath: B,
@@ -9481,23 +9481,23 @@ function fM(n = {}) {
9481
9481
  ignoreActions: C = !1,
9482
9482
  disableCache: A = !1
9483
9483
  } = n, O = !A && WeakSet ? /* @__PURE__ */ new WeakSet() : void 0;
9484
- return (B) => (N) => (z) => {
9485
- if (!V3(z))
9486
- return N(z);
9487
- const U = N(z), F = G3(b, "SerializableStateInvariantMiddleware");
9488
- return !C && !(o.length && o.indexOf(z.type) !== -1) && F.measureTime(() => {
9489
- const T = b2(z, "", a, i, d, O);
9484
+ return (B) => (N) => (U) => {
9485
+ if (!V3(U))
9486
+ return N(U);
9487
+ const F = N(U), z = G3(b, "SerializableStateInvariantMiddleware");
9488
+ return !C && !(o.length && o.indexOf(U.type) !== -1) && z.measureTime(() => {
9489
+ const T = b2(U, "", a, i, d, O);
9490
9490
  if (T) {
9491
9491
  const {
9492
9492
  keyPath: H,
9493
9493
  value: R
9494
9494
  } = T;
9495
9495
  console.error(`A non-serializable value was detected in an action, in the path: \`${H}\`. Value:`, R, `
9496
- Take a look at the logic that dispatched this action: `, z, `
9496
+ Take a look at the logic that dispatched this action: `, U, `
9497
9497
  (See https://redux.js.org/faq/actions#why-should-type-be-a-string-or-at-least-serializable-why-should-my-action-types-be-constants)`, `
9498
9498
  (To allow non-serializable values see: https://redux-toolkit.js.org/usage/usage-guide#working-with-non-serializable-data)`);
9499
9499
  }
9500
- }), E || (F.measureTime(() => {
9500
+ }), E || (z.measureTime(() => {
9501
9501
  const T = B.getState(), H = b2(T, "", a, i, p, O);
9502
9502
  if (H) {
9503
9503
  const {
@@ -9505,10 +9505,10 @@ Take a look at the logic that dispatched this action: `, z, `
9505
9505
  value: _
9506
9506
  } = H;
9507
9507
  console.error(`A non-serializable value was detected in the state, in the path: \`${R}\`. Value:`, _, `
9508
- Take a look at the reducer(s) handling this action type: ${z.type}.
9508
+ Take a look at the reducer(s) handling this action type: ${U.type}.
9509
9509
  (See https://redux.js.org/faq/organizing-state#can-i-put-functions-promises-or-other-non-serializable-items-in-my-store-state)`);
9510
9510
  }
9511
- }), F.warnIfExceeded()), U;
9511
+ }), z.warnIfExceeded()), F;
9512
9512
  };
9513
9513
  }
9514
9514
  }
@@ -9601,7 +9601,7 @@ function pM(n) {
9601
9601
  throw new Error(process.env.NODE_ENV === "production" ? nr(3) : "when using a middleware builder function, an array of middleware must be returned");
9602
9602
  } else
9603
9603
  C = a();
9604
- if (process.env.NODE_ENV !== "production" && C.some((U) => typeof U != "function"))
9604
+ if (process.env.NODE_ENV !== "production" && C.some((F) => typeof F != "function"))
9605
9605
  throw new Error(process.env.NODE_ENV === "production" ? nr(4) : "each middleware provided to configureStore must be a function");
9606
9606
  let A = TD;
9607
9607
  d && (A = aM({
@@ -9615,11 +9615,11 @@ function pM(n) {
9615
9615
  let N = typeof b == "function" ? b(B) : B();
9616
9616
  if (process.env.NODE_ENV !== "production" && !Array.isArray(N))
9617
9617
  throw new Error(process.env.NODE_ENV === "production" ? nr(6) : "`enhancers` callback must return an array");
9618
- if (process.env.NODE_ENV !== "production" && N.some((U) => typeof U != "function"))
9618
+ if (process.env.NODE_ENV !== "production" && N.some((F) => typeof F != "function"))
9619
9619
  throw new Error(process.env.NODE_ENV === "production" ? nr(7) : "each enhancer provided to configureStore must be a function");
9620
9620
  process.env.NODE_ENV !== "production" && C.length && !N.includes(O) && console.error("middlewares were provided, but middleware enhancer was not included in final enhancers - make sure to call `getDefaultEnhancers`");
9621
- const z = A(...N);
9622
- return H3(E, p, z);
9621
+ const U = A(...N);
9622
+ return H3(E, p, U);
9623
9623
  }
9624
9624
  function W3(n) {
9625
9625
  const a = {}, i = [];
@@ -9677,8 +9677,8 @@ function yM(n, a) {
9677
9677
  return A.filter((O) => !!O).length === 0 && (A = [d]), A.reduce((O, B) => {
9678
9678
  if (B)
9679
9679
  if (Gv(O)) {
9680
- const z = B(O, C);
9681
- return z === void 0 ? O : z;
9680
+ const U = B(O, C);
9681
+ return U === void 0 ? O : U;
9682
9682
  } else {
9683
9683
  if (em(O))
9684
9684
  return X1(O, (N) => B(N, C));
@@ -9766,13 +9766,13 @@ function EM({
9766
9766
  q && re.addDefaultCase(q);
9767
9767
  });
9768
9768
  }
9769
- const N = (_) => _, z = /* @__PURE__ */ new Map();
9770
- let U;
9771
- function F(_, V) {
9772
- return U || (U = B()), U(_, V);
9769
+ const N = (_) => _, U = /* @__PURE__ */ new Map();
9770
+ let F;
9771
+ function z(_, V) {
9772
+ return F || (F = B()), F(_, V);
9773
9773
  }
9774
9774
  function T() {
9775
- return U || (U = B()), U.getInitialState();
9775
+ return F || (F = B()), F.getInitialState();
9776
9776
  }
9777
9777
  function H(_, V = !1) {
9778
9778
  function q(re) {
@@ -9786,7 +9786,7 @@ function EM({
9786
9786
  return De;
9787
9787
  }
9788
9788
  function K(re = N) {
9789
- const De = hx(z, V, () => /* @__PURE__ */ new WeakMap());
9789
+ const De = hx(U, V, () => /* @__PURE__ */ new WeakMap());
9790
9790
  return hx(De, re, () => {
9791
9791
  const ie = {};
9792
9792
  for (const [we, Fe] of Object.entries(d.selectors ?? {}))
@@ -9805,7 +9805,7 @@ function EM({
9805
9805
  }
9806
9806
  const R = {
9807
9807
  name: p,
9808
- reducer: F,
9808
+ reducer: z,
9809
9809
  actions: A.actionCreators,
9810
9810
  caseReducers: A.sliceCaseReducersByName,
9811
9811
  getInitialState: T,
@@ -9817,7 +9817,7 @@ function EM({
9817
9817
  const K = V ?? b;
9818
9818
  return _.inject({
9819
9819
  reducerPath: K,
9820
- reducer: F
9820
+ reducer: z
9821
9821
  }, q), {
9822
9822
  ...R,
9823
9823
  ...H(K, !0)
@@ -11538,21 +11538,21 @@ function TC(n) {
11538
11538
  watchable: B = !1
11539
11539
  } = n, {
11540
11540
  width: N,
11541
- height: z
11542
- } = i.found ? i : a, U = PM.includes(o), F = [$t.replacementClass, d ? "".concat($t.cssPrefix, "-").concat(d) : ""].filter((q) => O.classes.indexOf(q) === -1).filter((q) => q !== "" || !!q).concat(O.classes).join(" ");
11541
+ height: U
11542
+ } = i.found ? i : a, F = PM.includes(o), z = [$t.replacementClass, d ? "".concat($t.cssPrefix, "-").concat(d) : ""].filter((q) => O.classes.indexOf(q) === -1).filter((q) => q !== "" || !!q).concat(O.classes).join(" ");
11543
11543
  let T = {
11544
11544
  children: [],
11545
11545
  attributes: lt(lt({}, O.attributes), {}, {
11546
11546
  "data-prefix": o,
11547
11547
  "data-icon": d,
11548
- class: F,
11548
+ class: z,
11549
11549
  role: O.attributes.role || "img",
11550
11550
  xmlns: "http://www.w3.org/2000/svg",
11551
- viewBox: "0 0 ".concat(N, " ").concat(z)
11551
+ viewBox: "0 0 ".concat(N, " ").concat(U)
11552
11552
  })
11553
11553
  };
11554
- const H = U && !~O.classes.indexOf("fa-fw") ? {
11555
- width: "".concat(N / z * 16 * 0.0625, "em")
11554
+ const H = F && !~O.classes.indexOf("fa-fw") ? {
11555
+ width: "".concat(N / U * 16 * 0.0625, "em")
11556
11556
  } : {};
11557
11557
  B && (T.attributes[Gg] = ""), E && (T.children.push({
11558
11558
  tag: "title",
@@ -11993,7 +11993,7 @@ const m_ = function(n) {
11993
11993
  const {
11994
11994
  prefix: B,
11995
11995
  iconName: N,
11996
- icon: z
11996
+ icon: U
11997
11997
  } = n;
11998
11998
  return $D(lt({
11999
11999
  type: "icon"
@@ -12002,7 +12002,7 @@ const m_ = function(n) {
12002
12002
  params: a
12003
12003
  }), $t.autoA11y && (b ? A["aria-labelledby"] = "".concat($t.replacementClass, "-title-").concat(E || V1()) : (A["aria-hidden"] = "true", A.focusable = "false")), TC({
12004
12004
  icons: {
12005
- main: M2(z),
12005
+ main: M2(U),
12006
12006
  mask: d ? M2(d.icon) : {
12007
12007
  found: !1,
12008
12008
  width: null,
@@ -12057,17 +12057,17 @@ var v_ = {
12057
12057
  maskId: O,
12058
12058
  extra: B
12059
12059
  } = i;
12060
- return new Promise((N, z) => {
12060
+ return new Promise((N, U) => {
12061
12061
  Promise.all([k2(o, b), A.iconName ? k2(A.iconName, A.prefix) : Promise.resolve({
12062
12062
  found: !1,
12063
12063
  width: 512,
12064
12064
  height: 512,
12065
12065
  icon: {}
12066
- })]).then((U) => {
12067
- let [F, T] = U;
12066
+ })]).then((F) => {
12067
+ let [z, T] = F;
12068
12068
  N([a, TC({
12069
12069
  icons: {
12070
- main: F,
12070
+ main: z,
12071
12071
  mask: T
12072
12072
  },
12073
12073
  prefix: b,
@@ -12080,7 +12080,7 @@ var v_ = {
12080
12080
  extra: B,
12081
12081
  watchable: !0
12082
12082
  })]);
12083
- }).catch(z);
12083
+ }).catch(U);
12084
12084
  });
12085
12085
  }, n.generateAbstractIcon = function(a) {
12086
12086
  let {
@@ -12249,28 +12249,28 @@ function Ux(n, a) {
12249
12249
  return n.removeChild(b), o();
12250
12250
  if (A && B !== "none" && B !== "") {
12251
12251
  const N = E.getPropertyValue("content");
12252
- let z = S_(C, O);
12252
+ let U = S_(C, O);
12253
12253
  const {
12254
- value: U,
12255
- isSecondary: F
12254
+ value: F,
12255
+ isSecondary: z
12256
12256
  } = E_(N), T = A[0].startsWith("FontAwesome");
12257
- let H = wC(z, U), R = H;
12257
+ let H = wC(U, F), R = H;
12258
12258
  if (T) {
12259
- const _ = kk(U);
12260
- _.iconName && _.prefix && (H = _.iconName, z = _.prefix);
12259
+ const _ = kk(F);
12260
+ _.iconName && _.prefix && (H = _.iconName, U = _.prefix);
12261
12261
  }
12262
- if (H && !F && (!b || b.getAttribute(bC) !== z || b.getAttribute(DC) !== R)) {
12262
+ if (H && !z && (!b || b.getAttribute(bC) !== U || b.getAttribute(DC) !== R)) {
12263
12263
  n.setAttribute(i, R), b && n.removeChild(b);
12264
12264
  const _ = s_(), {
12265
12265
  extra: V
12266
12266
  } = _;
12267
- V.attributes[A2] = a, k2(H, z).then((q) => {
12267
+ V.attributes[A2] = a, k2(H, U).then((q) => {
12268
12268
  const K = TC(lt(lt({}, _), {}, {
12269
12269
  icons: {
12270
12270
  main: q,
12271
12271
  mask: w4()
12272
12272
  },
12273
- prefix: z,
12273
+ prefix: U,
12274
12274
  iconName: R,
12275
12275
  extra: V,
12276
12276
  watchable: !0
@@ -12485,24 +12485,24 @@ var B_ = {
12485
12485
  transform: E,
12486
12486
  containerWidth: O,
12487
12487
  iconWidth: C
12488
- }), z = {
12488
+ }), U = {
12489
12489
  tag: "rect",
12490
12490
  attributes: lt(lt({}, US), {}, {
12491
12491
  fill: "white"
12492
12492
  })
12493
- }, U = A.children ? {
12493
+ }, F = A.children ? {
12494
12494
  children: A.children.map(Vx)
12495
- } : {}, F = {
12495
+ } : {}, z = {
12496
12496
  tag: "g",
12497
12497
  attributes: lt({}, N.inner),
12498
12498
  children: [Vx(lt({
12499
12499
  tag: A.tag,
12500
12500
  attributes: lt(lt({}, A.attributes), N.path)
12501
- }, U))]
12501
+ }, F))]
12502
12502
  }, T = {
12503
12503
  tag: "g",
12504
12504
  attributes: lt({}, N.outer),
12505
- children: [F]
12505
+ children: [z]
12506
12506
  }, H = "mask-".concat(b || V1()), R = "clip-".concat(b || V1()), _ = {
12507
12507
  tag: "mask",
12508
12508
  attributes: lt(lt({}, US), {}, {
@@ -12510,7 +12510,7 @@ var B_ = {
12510
12510
  maskUnits: "userSpaceOnUse",
12511
12511
  maskContentUnits: "userSpaceOnUse"
12512
12512
  }),
12513
- children: [z, T]
12513
+ children: [U, T]
12514
12514
  }, V = {
12515
12515
  tag: "defs",
12516
12516
  children: [{
@@ -12643,7 +12643,7 @@ var qx;
12643
12643
  function __() {
12644
12644
  if (qx) return Da;
12645
12645
  qx = 1;
12646
- var n = typeof Symbol == "function" && Symbol.for, a = n ? Symbol.for("react.element") : 60103, i = n ? Symbol.for("react.portal") : 60106, o = n ? Symbol.for("react.fragment") : 60107, d = n ? Symbol.for("react.strict_mode") : 60108, p = n ? Symbol.for("react.profiler") : 60114, b = n ? Symbol.for("react.provider") : 60109, E = n ? Symbol.for("react.context") : 60110, C = n ? Symbol.for("react.async_mode") : 60111, A = n ? Symbol.for("react.concurrent_mode") : 60111, O = n ? Symbol.for("react.forward_ref") : 60112, B = n ? Symbol.for("react.suspense") : 60113, N = n ? Symbol.for("react.suspense_list") : 60120, z = n ? Symbol.for("react.memo") : 60115, U = n ? Symbol.for("react.lazy") : 60116, F = n ? Symbol.for("react.block") : 60121, T = n ? Symbol.for("react.fundamental") : 60117, H = n ? Symbol.for("react.responder") : 60118, R = n ? Symbol.for("react.scope") : 60119;
12646
+ var n = typeof Symbol == "function" && Symbol.for, a = n ? Symbol.for("react.element") : 60103, i = n ? Symbol.for("react.portal") : 60106, o = n ? Symbol.for("react.fragment") : 60107, d = n ? Symbol.for("react.strict_mode") : 60108, p = n ? Symbol.for("react.profiler") : 60114, b = n ? Symbol.for("react.provider") : 60109, E = n ? Symbol.for("react.context") : 60110, C = n ? Symbol.for("react.async_mode") : 60111, A = n ? Symbol.for("react.concurrent_mode") : 60111, O = n ? Symbol.for("react.forward_ref") : 60112, B = n ? Symbol.for("react.suspense") : 60113, N = n ? Symbol.for("react.suspense_list") : 60120, U = n ? Symbol.for("react.memo") : 60115, F = n ? Symbol.for("react.lazy") : 60116, z = n ? Symbol.for("react.block") : 60121, T = n ? Symbol.for("react.fundamental") : 60117, H = n ? Symbol.for("react.responder") : 60118, R = n ? Symbol.for("react.scope") : 60119;
12647
12647
  function _(q) {
12648
12648
  if (typeof q == "object" && q !== null) {
12649
12649
  var K = q.$$typeof;
@@ -12661,8 +12661,8 @@ function __() {
12661
12661
  switch (q = q && q.$$typeof, q) {
12662
12662
  case E:
12663
12663
  case O:
12664
+ case F:
12664
12665
  case U:
12665
- case z:
12666
12666
  case b:
12667
12667
  return q;
12668
12668
  default:
@@ -12677,7 +12677,7 @@ function __() {
12677
12677
  function V(q) {
12678
12678
  return _(q) === A;
12679
12679
  }
12680
- return Da.AsyncMode = C, Da.ConcurrentMode = A, Da.ContextConsumer = E, Da.ContextProvider = b, Da.Element = a, Da.ForwardRef = O, Da.Fragment = o, Da.Lazy = U, Da.Memo = z, Da.Portal = i, Da.Profiler = p, Da.StrictMode = d, Da.Suspense = B, Da.isAsyncMode = function(q) {
12680
+ return Da.AsyncMode = C, Da.ConcurrentMode = A, Da.ContextConsumer = E, Da.ContextProvider = b, Da.Element = a, Da.ForwardRef = O, Da.Fragment = o, Da.Lazy = F, Da.Memo = U, Da.Portal = i, Da.Profiler = p, Da.StrictMode = d, Da.Suspense = B, Da.isAsyncMode = function(q) {
12681
12681
  return V(q) || _(q) === C;
12682
12682
  }, Da.isConcurrentMode = V, Da.isContextConsumer = function(q) {
12683
12683
  return _(q) === E;
@@ -12690,9 +12690,9 @@ function __() {
12690
12690
  }, Da.isFragment = function(q) {
12691
12691
  return _(q) === o;
12692
12692
  }, Da.isLazy = function(q) {
12693
- return _(q) === U;
12693
+ return _(q) === F;
12694
12694
  }, Da.isMemo = function(q) {
12695
- return _(q) === z;
12695
+ return _(q) === U;
12696
12696
  }, Da.isPortal = function(q) {
12697
12697
  return _(q) === i;
12698
12698
  }, Da.isProfiler = function(q) {
@@ -12702,7 +12702,7 @@ function __() {
12702
12702
  }, Da.isSuspense = function(q) {
12703
12703
  return _(q) === B;
12704
12704
  }, Da.isValidElementType = function(q) {
12705
- return typeof q == "string" || typeof q == "function" || q === o || q === A || q === p || q === d || q === B || q === N || typeof q == "object" && q !== null && (q.$$typeof === U || q.$$typeof === z || q.$$typeof === b || q.$$typeof === E || q.$$typeof === O || q.$$typeof === T || q.$$typeof === H || q.$$typeof === R || q.$$typeof === F);
12705
+ return typeof q == "string" || typeof q == "function" || q === o || q === A || q === p || q === d || q === B || q === N || typeof q == "object" && q !== null && (q.$$typeof === F || q.$$typeof === U || q.$$typeof === b || q.$$typeof === E || q.$$typeof === O || q.$$typeof === T || q.$$typeof === H || q.$$typeof === R || q.$$typeof === z);
12706
12706
  }, Da.typeOf = _, Da;
12707
12707
  }
12708
12708
  var Ea = {};
@@ -12717,10 +12717,10 @@ var Ea = {};
12717
12717
  var Yx;
12718
12718
  function F_() {
12719
12719
  return Yx || (Yx = 1, process.env.NODE_ENV !== "production" && function() {
12720
- var n = typeof Symbol == "function" && Symbol.for, a = n ? Symbol.for("react.element") : 60103, i = n ? Symbol.for("react.portal") : 60106, o = n ? Symbol.for("react.fragment") : 60107, d = n ? Symbol.for("react.strict_mode") : 60108, p = n ? Symbol.for("react.profiler") : 60114, b = n ? Symbol.for("react.provider") : 60109, E = n ? Symbol.for("react.context") : 60110, C = n ? Symbol.for("react.async_mode") : 60111, A = n ? Symbol.for("react.concurrent_mode") : 60111, O = n ? Symbol.for("react.forward_ref") : 60112, B = n ? Symbol.for("react.suspense") : 60113, N = n ? Symbol.for("react.suspense_list") : 60120, z = n ? Symbol.for("react.memo") : 60115, U = n ? Symbol.for("react.lazy") : 60116, F = n ? Symbol.for("react.block") : 60121, T = n ? Symbol.for("react.fundamental") : 60117, H = n ? Symbol.for("react.responder") : 60118, R = n ? Symbol.for("react.scope") : 60119;
12720
+ var n = typeof Symbol == "function" && Symbol.for, a = n ? Symbol.for("react.element") : 60103, i = n ? Symbol.for("react.portal") : 60106, o = n ? Symbol.for("react.fragment") : 60107, d = n ? Symbol.for("react.strict_mode") : 60108, p = n ? Symbol.for("react.profiler") : 60114, b = n ? Symbol.for("react.provider") : 60109, E = n ? Symbol.for("react.context") : 60110, C = n ? Symbol.for("react.async_mode") : 60111, A = n ? Symbol.for("react.concurrent_mode") : 60111, O = n ? Symbol.for("react.forward_ref") : 60112, B = n ? Symbol.for("react.suspense") : 60113, N = n ? Symbol.for("react.suspense_list") : 60120, U = n ? Symbol.for("react.memo") : 60115, F = n ? Symbol.for("react.lazy") : 60116, z = n ? Symbol.for("react.block") : 60121, T = n ? Symbol.for("react.fundamental") : 60117, H = n ? Symbol.for("react.responder") : 60118, R = n ? Symbol.for("react.scope") : 60119;
12721
12721
  function _(Me) {
12722
12722
  return typeof Me == "string" || typeof Me == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
12723
- Me === o || Me === A || Me === p || Me === d || Me === B || Me === N || typeof Me == "object" && Me !== null && (Me.$$typeof === U || Me.$$typeof === z || Me.$$typeof === b || Me.$$typeof === E || Me.$$typeof === O || Me.$$typeof === T || Me.$$typeof === H || Me.$$typeof === R || Me.$$typeof === F);
12723
+ Me === o || Me === A || Me === p || Me === d || Me === B || Me === N || typeof Me == "object" && Me !== null && (Me.$$typeof === F || Me.$$typeof === U || Me.$$typeof === b || Me.$$typeof === E || Me.$$typeof === O || Me.$$typeof === T || Me.$$typeof === H || Me.$$typeof === R || Me.$$typeof === z);
12724
12724
  }
12725
12725
  function V(Me) {
12726
12726
  if (typeof Me == "object" && Me !== null) {
@@ -12741,8 +12741,8 @@ function F_() {
12741
12741
  switch (jt) {
12742
12742
  case E:
12743
12743
  case O:
12744
+ case F:
12744
12745
  case U:
12745
- case z:
12746
12746
  case b:
12747
12747
  return jt;
12748
12748
  default:
@@ -12754,7 +12754,7 @@ function F_() {
12754
12754
  }
12755
12755
  }
12756
12756
  }
12757
- var q = C, K = A, re = E, De = b, ie = a, we = O, Fe = o, Ne = U, Ue = z, ue = i, He = p, te = d, me = B, ye = !1;
12757
+ var q = C, K = A, re = E, De = b, ie = a, we = O, Fe = o, Ne = F, Ue = U, ue = i, He = p, te = d, me = B, ye = !1;
12758
12758
  function Ve(Me) {
12759
12759
  return ye || (ye = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), le(Me) || V(Me) === C;
12760
12760
  }
@@ -12777,10 +12777,10 @@ function F_() {
12777
12777
  return V(Me) === o;
12778
12778
  }
12779
12779
  function P(Me) {
12780
- return V(Me) === U;
12780
+ return V(Me) === F;
12781
12781
  }
12782
12782
  function ze(Me) {
12783
- return V(Me) === z;
12783
+ return V(Me) === U;
12784
12784
  }
12785
12785
  function Se(Me) {
12786
12786
  return V(Me) === i;
@@ -12893,16 +12893,16 @@ function U_() {
12893
12893
  throw N.name = "Invariant Violation", N;
12894
12894
  }
12895
12895
  B = p[O](b, O, C, E, null, a);
12896
- } catch (U) {
12897
- B = U;
12896
+ } catch (F) {
12897
+ B = F;
12898
12898
  }
12899
12899
  if (B && !(B instanceof Error) && n(
12900
12900
  (C || "React class") + ": type specification of " + E + " `" + O + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof B + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
12901
12901
  ), B instanceof Error && !(B.message in i)) {
12902
12902
  i[B.message] = !0;
12903
- var z = A ? A() : "";
12903
+ var U = A ? A() : "";
12904
12904
  n(
12905
- "Failed " + E + " type: " + B.message + (z ?? "")
12905
+ "Failed " + E + " type: " + B.message + (U ?? "")
12906
12906
  );
12907
12907
  }
12908
12908
  }
@@ -12936,7 +12936,7 @@ function j_() {
12936
12936
  if (typeof Ee == "function")
12937
12937
  return Ee;
12938
12938
  }
12939
- var N = "<<anonymous>>", z = {
12939
+ var N = "<<anonymous>>", U = {
12940
12940
  array: H("array"),
12941
12941
  bigint: H("bigint"),
12942
12942
  bool: H("boolean"),
@@ -12957,13 +12957,13 @@ function j_() {
12957
12957
  shape: Ne,
12958
12958
  exact: Ue
12959
12959
  };
12960
- function U(le, Ee) {
12960
+ function F(le, Ee) {
12961
12961
  return le === Ee ? le !== 0 || 1 / le === 1 / Ee : le !== le && Ee !== Ee;
12962
12962
  }
12963
- function F(le, Ee) {
12963
+ function z(le, Ee) {
12964
12964
  this.message = le, this.data = Ee && typeof Ee == "object" ? Ee : {}, this.stack = "";
12965
12965
  }
12966
- F.prototype = Error.prototype;
12966
+ z.prototype = Error.prototype;
12967
12967
  function T(le) {
12968
12968
  if (process.env.NODE_ENV !== "production")
12969
12969
  var Ee = {}, $e = 0;
@@ -12982,7 +12982,7 @@ function j_() {
12982
12982
  ), Ee[Ct] = !0, $e++);
12983
12983
  }
12984
12984
  }
12985
- return P[ze] == null ? Ze ? P[ze] === null ? new F("The " + Ae + " `" + Pe + "` is marked as required " + ("in `" + Se + "`, but its value is `null`.")) : new F("The " + Ae + " `" + Pe + "` is marked as required in " + ("`" + Se + "`, but its value is `undefined`.")) : null : le(P, ze, Se, Ae, Pe);
12985
+ return P[ze] == null ? Ze ? P[ze] === null ? new z("The " + Ae + " `" + Pe + "` is marked as required " + ("in `" + Se + "`, but its value is `null`.")) : new z("The " + Ae + " `" + Pe + "` is marked as required in " + ("`" + Se + "`, but its value is `undefined`.")) : null : le(P, ze, Se, Ae, Pe);
12986
12986
  }
12987
12987
  var qe = Te.bind(null, !1);
12988
12988
  return qe.isRequired = Te.bind(null, !0), qe;
@@ -12992,7 +12992,7 @@ function j_() {
12992
12992
  var Se = $e[Te], Ae = te(Se);
12993
12993
  if (Ae !== le) {
12994
12994
  var Pe = me(Se);
12995
- return new F(
12995
+ return new z(
12996
12996
  "Invalid " + Ze + " `" + P + "` of type " + ("`" + Pe + "` supplied to `" + qe + "`, expected ") + ("`" + le + "`."),
12997
12997
  { expectedType: le }
12998
12998
  );
@@ -13007,11 +13007,11 @@ function j_() {
13007
13007
  function _(le) {
13008
13008
  function Ee($e, Te, qe, Ze, P) {
13009
13009
  if (typeof le != "function")
13010
- return new F("Property `" + P + "` of component `" + qe + "` has invalid PropType notation inside arrayOf.");
13010
+ return new z("Property `" + P + "` of component `" + qe + "` has invalid PropType notation inside arrayOf.");
13011
13011
  var ze = $e[Te];
13012
13012
  if (!Array.isArray(ze)) {
13013
13013
  var Se = te(ze);
13014
- return new F("Invalid " + Ze + " `" + P + "` of type " + ("`" + Se + "` supplied to `" + qe + "`, expected an array."));
13014
+ return new z("Invalid " + Ze + " `" + P + "` of type " + ("`" + Se + "` supplied to `" + qe + "`, expected an array."));
13015
13015
  }
13016
13016
  for (var Ae = 0; Ae < ze.length; Ae++) {
13017
13017
  var Pe = le(ze, Ae, qe, Ze, P + "[" + Ae + "]", i);
@@ -13027,7 +13027,7 @@ function j_() {
13027
13027
  var P = Ee[$e];
13028
13028
  if (!E(P)) {
13029
13029
  var ze = te(P);
13030
- return new F("Invalid " + qe + " `" + Ze + "` of type " + ("`" + ze + "` supplied to `" + Te + "`, expected a single ReactElement."));
13030
+ return new z("Invalid " + qe + " `" + Ze + "` of type " + ("`" + ze + "` supplied to `" + Te + "`, expected a single ReactElement."));
13031
13031
  }
13032
13032
  return null;
13033
13033
  }
@@ -13038,7 +13038,7 @@ function j_() {
13038
13038
  var P = Ee[$e];
13039
13039
  if (!n.isValidElementType(P)) {
13040
13040
  var ze = te(P);
13041
- return new F("Invalid " + qe + " `" + Ze + "` of type " + ("`" + ze + "` supplied to `" + Te + "`, expected a single ReactElement type."));
13041
+ return new z("Invalid " + qe + " `" + Ze + "` of type " + ("`" + ze + "` supplied to `" + Te + "`, expected a single ReactElement type."));
13042
13042
  }
13043
13043
  return null;
13044
13044
  }
@@ -13048,7 +13048,7 @@ function j_() {
13048
13048
  function Ee($e, Te, qe, Ze, P) {
13049
13049
  if (!($e[Te] instanceof le)) {
13050
13050
  var ze = le.name || N, Se = Ve($e[Te]);
13051
- return new F("Invalid " + Ze + " `" + P + "` of type " + ("`" + Se + "` supplied to `" + qe + "`, expected ") + ("instance of `" + ze + "`."));
13051
+ return new z("Invalid " + Ze + " `" + P + "` of type " + ("`" + Se + "` supplied to `" + qe + "`, expected ") + ("instance of `" + ze + "`."));
13052
13052
  }
13053
13053
  return null;
13054
13054
  }
@@ -13061,23 +13061,23 @@ function j_() {
13061
13061
  ) : p("Invalid argument supplied to oneOf, expected an array.")), b;
13062
13062
  function Ee($e, Te, qe, Ze, P) {
13063
13063
  for (var ze = $e[Te], Se = 0; Se < le.length; Se++)
13064
- if (U(ze, le[Se]))
13064
+ if (F(ze, le[Se]))
13065
13065
  return null;
13066
13066
  var Ae = JSON.stringify(le, function(We, Me) {
13067
13067
  var Ct = me(Me);
13068
13068
  return Ct === "symbol" ? String(Me) : Me;
13069
13069
  });
13070
- return new F("Invalid " + Ze + " `" + P + "` of value `" + String(ze) + "` " + ("supplied to `" + qe + "`, expected one of " + Ae + "."));
13070
+ return new z("Invalid " + Ze + " `" + P + "` of value `" + String(ze) + "` " + ("supplied to `" + qe + "`, expected one of " + Ae + "."));
13071
13071
  }
13072
13072
  return T(Ee);
13073
13073
  }
13074
13074
  function De(le) {
13075
13075
  function Ee($e, Te, qe, Ze, P) {
13076
13076
  if (typeof le != "function")
13077
- return new F("Property `" + P + "` of component `" + qe + "` has invalid PropType notation inside objectOf.");
13077
+ return new z("Property `" + P + "` of component `" + qe + "` has invalid PropType notation inside objectOf.");
13078
13078
  var ze = $e[Te], Se = te(ze);
13079
13079
  if (Se !== "object")
13080
- return new F("Invalid " + Ze + " `" + P + "` of type " + ("`" + Se + "` supplied to `" + qe + "`, expected an object."));
13080
+ return new z("Invalid " + Ze + " `" + P + "` of type " + ("`" + Se + "` supplied to `" + qe + "`, expected an object."));
13081
13081
  for (var Ae in ze)
13082
13082
  if (o(ze, Ae)) {
13083
13083
  var Pe = le(ze, Ae, qe, Ze, P + "." + Ae, i);
@@ -13106,18 +13106,18 @@ function j_() {
13106
13106
  Me.data && o(Me.data, "expectedType") && Ae.push(Me.data.expectedType);
13107
13107
  }
13108
13108
  var Ct = Ae.length > 0 ? ", expected one of type [" + Ae.join(", ") + "]" : "";
13109
- return new F("Invalid " + ze + " `" + Se + "` supplied to " + ("`" + P + "`" + Ct + "."));
13109
+ return new z("Invalid " + ze + " `" + Se + "` supplied to " + ("`" + P + "`" + Ct + "."));
13110
13110
  }
13111
13111
  return T(Te);
13112
13112
  }
13113
13113
  function we() {
13114
13114
  function le(Ee, $e, Te, qe, Ze) {
13115
- return ue(Ee[$e]) ? null : new F("Invalid " + qe + " `" + Ze + "` supplied to " + ("`" + Te + "`, expected a ReactNode."));
13115
+ return ue(Ee[$e]) ? null : new z("Invalid " + qe + " `" + Ze + "` supplied to " + ("`" + Te + "`, expected a ReactNode."));
13116
13116
  }
13117
13117
  return T(le);
13118
13118
  }
13119
13119
  function Fe(le, Ee, $e, Te, qe) {
13120
- return new F(
13120
+ return new z(
13121
13121
  (le || "React class") + ": " + Ee + " type `" + $e + "." + Te + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + qe + "`."
13122
13122
  );
13123
13123
  }
@@ -13125,7 +13125,7 @@ function j_() {
13125
13125
  function Ee($e, Te, qe, Ze, P) {
13126
13126
  var ze = $e[Te], Se = te(ze);
13127
13127
  if (Se !== "object")
13128
- return new F("Invalid " + Ze + " `" + P + "` of type `" + Se + "` " + ("supplied to `" + qe + "`, expected `object`."));
13128
+ return new z("Invalid " + Ze + " `" + P + "` of type `" + Se + "` " + ("supplied to `" + qe + "`, expected `object`."));
13129
13129
  for (var Ae in le) {
13130
13130
  var Pe = le[Ae];
13131
13131
  if (typeof Pe != "function")
@@ -13142,14 +13142,14 @@ function j_() {
13142
13142
  function Ee($e, Te, qe, Ze, P) {
13143
13143
  var ze = $e[Te], Se = te(ze);
13144
13144
  if (Se !== "object")
13145
- return new F("Invalid " + Ze + " `" + P + "` of type `" + Se + "` " + ("supplied to `" + qe + "`, expected `object`."));
13145
+ return new z("Invalid " + Ze + " `" + P + "` of type `" + Se + "` " + ("supplied to `" + qe + "`, expected `object`."));
13146
13146
  var Ae = a({}, $e[Te], le);
13147
13147
  for (var Pe in Ae) {
13148
13148
  var We = le[Pe];
13149
13149
  if (o(le, Pe) && typeof We != "function")
13150
13150
  return Fe(qe, Ze, P, Pe, me(We));
13151
13151
  if (!We)
13152
- return new F(
13152
+ return new z(
13153
13153
  "Invalid " + Ze + " `" + P + "` key `" + Pe + "` supplied to `" + qe + "`.\nBad object: " + JSON.stringify($e[Te], null, " ") + `
13154
13154
  Valid keys: ` + JSON.stringify(Object.keys(le), null, " ")
13155
13155
  );
@@ -13230,7 +13230,7 @@ Valid keys: ` + JSON.stringify(Object.keys(le), null, " ")
13230
13230
  function Ve(le) {
13231
13231
  return !le.constructor || !le.constructor.name ? N : le.constructor.name;
13232
13232
  }
13233
- return z.checkPropTypes = d, z.resetWarningCache = d.resetWarningCache, z.PropTypes = z, z;
13233
+ return U.checkPropTypes = d, U.resetWarningCache = d.resetWarningCache, U.PropTypes = U, U;
13234
13234
  }, qS;
13235
13235
  }
13236
13236
  var YS, Wx;
@@ -13374,7 +13374,7 @@ function Q_() {
13374
13374
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
13375
13375
  }
13376
13376
  function P_(n) {
13377
- var a, i = n.beat, o = n.fade, d = n.beatFade, p = n.bounce, b = n.shake, E = n.flash, C = n.spin, A = n.spinPulse, O = n.spinReverse, B = n.pulse, N = n.fixedWidth, z = n.inverse, U = n.border, F = n.listItem, T = n.flip, H = n.size, R = n.rotation, _ = n.pull, V = (a = {
13377
+ var a, i = n.beat, o = n.fade, d = n.beatFade, p = n.bounce, b = n.shake, E = n.flash, C = n.spin, A = n.spinPulse, O = n.spinReverse, B = n.pulse, N = n.fixedWidth, U = n.inverse, F = n.border, z = n.listItem, T = n.flip, H = n.size, R = n.rotation, _ = n.pull, V = (a = {
13378
13378
  "fa-beat": i,
13379
13379
  "fa-fade": o,
13380
13380
  "fa-beat-fade": d,
@@ -13386,9 +13386,9 @@ function P_(n) {
13386
13386
  "fa-spin-pulse": A,
13387
13387
  "fa-pulse": B,
13388
13388
  "fa-fw": N,
13389
- "fa-inverse": z,
13390
- "fa-border": U,
13391
- "fa-li": F,
13389
+ "fa-inverse": U,
13390
+ "fa-border": F,
13391
+ "fa-li": z,
13392
13392
  "fa-flip": T === !0,
13393
13393
  "fa-flip-horizontal": T === "horizontal" || T === "both",
13394
13394
  "fa-flip-vertical": T === "vertical" || T === "both"
@@ -13507,20 +13507,20 @@ var eO = {
13507
13507
  transform: null,
13508
13508
  swapOpacity: !1
13509
13509
  }, El = /* @__PURE__ */ Yt.forwardRef(function(n, a) {
13510
- var i = Ad(Ad({}, eO), n), o = i.icon, d = i.mask, p = i.symbol, b = i.className, E = i.title, C = i.titleId, A = i.maskId, O = Jx(o), B = GS("classes", [].concat(j2(P_(i)), j2((b || "").split(" ")))), N = GS("transform", typeof i.transform == "string" ? U2.transform(i.transform) : i.transform), z = GS("mask", Jx(d)), U = k_(O, Ad(Ad(Ad(Ad({}, B), N), z), {}, {
13510
+ var i = Ad(Ad({}, eO), n), o = i.icon, d = i.mask, p = i.symbol, b = i.className, E = i.title, C = i.titleId, A = i.maskId, O = Jx(o), B = GS("classes", [].concat(j2(P_(i)), j2((b || "").split(" ")))), N = GS("transform", typeof i.transform == "string" ? U2.transform(i.transform) : i.transform), U = GS("mask", Jx(d)), F = k_(O, Ad(Ad(Ad(Ad({}, B), N), U), {}, {
13511
13511
  symbol: p,
13512
13512
  title: E,
13513
13513
  titleId: C,
13514
13514
  maskId: A
13515
13515
  }));
13516
- if (!U)
13516
+ if (!F)
13517
13517
  return J_("Could not find icon", O), null;
13518
- var F = U.abstract, T = {
13518
+ var z = F.abstract, T = {
13519
13519
  ref: a
13520
13520
  };
13521
13521
  return Object.keys(i).forEach(function(H) {
13522
13522
  eO.hasOwnProperty(H) || (T[H] = i[H]);
13523
- }), eF(F[0], T);
13523
+ }), eF(z[0], T);
13524
13524
  });
13525
13525
  El.displayName = "FontAwesomeIcon";
13526
13526
  El.propTypes = {
@@ -13869,7 +13869,7 @@ var xF = A1.exports, nO;
13869
13869
  function OF() {
13870
13870
  return nO || (nO = 1, function(n, a) {
13871
13871
  (function() {
13872
- var i, o = "4.17.21", d = 200, p = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", b = "Expected a function", E = "Invalid `variable` option passed into `_.template`", C = "__lodash_hash_undefined__", A = 500, O = "__lodash_placeholder__", B = 1, N = 2, z = 4, U = 1, F = 2, T = 1, H = 2, R = 4, _ = 8, V = 16, q = 32, K = 64, re = 128, De = 256, ie = 512, we = 30, Fe = "...", Ne = 800, Ue = 16, ue = 1, He = 2, te = 3, me = 1 / 0, ye = 9007199254740991, Ve = 17976931348623157e292, le = NaN, Ee = 4294967295, $e = Ee - 1, Te = Ee >>> 1, qe = [
13872
+ var i, o = "4.17.21", d = 200, p = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", b = "Expected a function", E = "Invalid `variable` option passed into `_.template`", C = "__lodash_hash_undefined__", A = 500, O = "__lodash_placeholder__", B = 1, N = 2, U = 4, F = 1, z = 2, T = 1, H = 2, R = 4, _ = 8, V = 16, q = 32, K = 64, re = 128, De = 256, ie = 512, we = 30, Fe = "...", Ne = 800, Ue = 16, ue = 1, He = 2, te = 3, me = 1 / 0, ye = 9007199254740991, Ve = 17976931348623157e292, le = NaN, Ee = 4294967295, $e = Ee - 1, Te = Ee >>> 1, qe = [
13873
13873
  ["ary", re],
13874
13874
  ["bind", T],
13875
13875
  ["bindKey", H],
@@ -14725,7 +14725,7 @@ function OF() {
14725
14725
  return c === c && (D !== i && (c = c <= D ? c : D), h !== i && (c = c >= h ? c : h)), c;
14726
14726
  }
14727
14727
  function Xn(c, h, D, x, j, X) {
14728
- var W, ne = h & B, ge = h & N, Ke = h & z;
14728
+ var W, ne = h & B, ge = h & N, Ke = h & U;
14729
14729
  if (D && (W = j ? D(c, x, j, X) : D(c)), W !== i)
14730
14730
  return W;
14731
14731
  if (!tn(c))
@@ -14928,7 +14928,7 @@ function OF() {
14928
14928
  }
14929
14929
  if (St && !Je)
14930
14930
  return X || (X = new Bu()), W || du(c) ? Ul(c, h, D, x, j, X) : zr(c, h, ge, D, x, j, X);
14931
- if (!(D & U)) {
14931
+ if (!(D & F)) {
14932
14932
  var Lt = Je && $n.call(c, "__wrapped__"), an = rt && $n.call(h, "__wrapped__");
14933
14933
  if (Lt || an) {
14934
14934
  var Cn = Lt ? c.value() : c, Kt = an ? h.value() : h;
@@ -14959,7 +14959,7 @@ function OF() {
14959
14959
  var rt = new Bu();
14960
14960
  if (x)
14961
14961
  var St = x(Ke, Je, ge, c, h, rt);
14962
- if (!(St === i ? la(Je, Ke, U | F, x, rt) : St))
14962
+ if (!(St === i ? la(Je, Ke, F | z, x, rt) : St))
14963
14963
  return !1;
14964
14964
  }
14965
14965
  }
@@ -15017,7 +15017,7 @@ function OF() {
15017
15017
  function au(c, h) {
15018
15018
  return Qn(c) && vh(h) ? Np(ti(c), h) : function(D) {
15019
15019
  var x = cf(D, c);
15020
- return x === i && x === h ? kh(D, c) : la(h, x, U | F);
15020
+ return x === i && x === h ? kh(D, c) : la(h, x, F | z);
15021
15021
  };
15022
15022
  }
15023
15023
  function $f(c, h, D, x, j) {
@@ -15677,13 +15677,13 @@ function OF() {
15677
15677
  return Or(c) ? i : c;
15678
15678
  }
15679
15679
  function Ul(c, h, D, x, j, X) {
15680
- var W = D & U, ne = c.length, ge = h.length;
15680
+ var W = D & F, ne = c.length, ge = h.length;
15681
15681
  if (ne != ge && !(W && ge > ne))
15682
15682
  return !1;
15683
15683
  var Ke = X.get(c), Je = X.get(h);
15684
15684
  if (Ke && Je)
15685
15685
  return Ke == h && Je == c;
15686
- var rt = -1, St = !0, Lt = D & F ? new tl() : i;
15686
+ var rt = -1, St = !0, Lt = D & z ? new tl() : i;
15687
15687
  for (X.set(c, h), X.set(h, c); ++rt < ne; ) {
15688
15688
  var an = c[rt], Cn = h[rt];
15689
15689
  if (x)
@@ -15729,13 +15729,13 @@ function OF() {
15729
15729
  case vt:
15730
15730
  var ne = Sc;
15731
15731
  case I:
15732
- var ge = x & U;
15732
+ var ge = x & F;
15733
15733
  if (ne || (ne = Yd), c.size != h.size && !ge)
15734
15734
  return !1;
15735
15735
  var Ke = W.get(c);
15736
15736
  if (Ke)
15737
15737
  return Ke == h;
15738
- x |= F, W.set(c, h);
15738
+ x |= z, W.set(c, h);
15739
15739
  var Je = Ul(ne(c), ne(h), x, j, X, W);
15740
15740
  return W.delete(c), Je;
15741
15741
  case st:
@@ -15745,7 +15745,7 @@ function OF() {
15745
15745
  return !1;
15746
15746
  }
15747
15747
  function Ym(c, h, D, x, j, X) {
15748
- var W = D & U, ne = Ei(c), ge = ne.length, Ke = Ei(h), Je = Ke.length;
15748
+ var W = D & F, ne = Ei(c), ge = ne.length, Ke = Ei(h), Je = Ke.length;
15749
15749
  if (ge != Je && !W)
15750
15750
  return !1;
15751
15751
  for (var rt = ge; rt--; ) {
@@ -16719,16 +16719,16 @@ function OF() {
16719
16719
  return dt(c) ? c : [c];
16720
16720
  }
16721
16721
  function fv(c) {
16722
- return Xn(c, z);
16722
+ return Xn(c, U);
16723
16723
  }
16724
16724
  function xh(c, h) {
16725
- return h = typeof h == "function" ? h : i, Xn(c, z, h);
16725
+ return h = typeof h == "function" ? h : i, Xn(c, U, h);
16726
16726
  }
16727
16727
  function js(c) {
16728
- return Xn(c, B | z);
16728
+ return Xn(c, B | U);
16729
16729
  }
16730
16730
  function ri(c, h) {
16731
- return h = typeof h == "function" ? h : i, Xn(c, B | z, h);
16731
+ return h = typeof h == "function" ? h : i, Xn(c, B | U, h);
16732
16732
  }
16733
16733
  function uf(c, h) {
16734
16734
  return h == null || gs(c, h, dr(h));
@@ -17012,7 +17012,7 @@ function OF() {
17012
17012
  var x = !1;
17013
17013
  h = ma(h, function(X) {
17014
17014
  return X = To(X, c), x || (x = X.length > 1), X;
17015
- }), _u(c, Lc(c), D), x && (D = Xn(D, B | N | z, hh));
17015
+ }), _u(c, Lc(c), D), x && (D = Xn(D, B | N | U, hh));
17016
17016
  for (var j = h.length; j--; )
17017
17017
  al(D, h[j]);
17018
17018
  return D;
@@ -18102,10 +18102,10 @@ function aB(n) {
18102
18102
  ), o = b.length ? Rd.Query : Rd.Mutation, !b.length && !E.length && (o = Rd.Subscription);
18103
18103
  var N = b.length ? b : E.length ? E : C;
18104
18104
  Od(N.length === 1, 73, n, N.length);
18105
- var z = N[0];
18106
- i = z.variableDefinitions || [], z.name && z.name.kind === "Name" ? d = z.name.value : d = "data";
18107
- var U = { name: d, type: o, variables: i };
18108
- return w1.set(n, U), U;
18105
+ var U = N[0];
18106
+ i = U.variableDefinitions || [], U.name && U.name.kind === "Name" ? d = U.name.value : d = "data";
18107
+ var F = { name: d, type: o, variables: i };
18108
+ return w1.set(n, F), F;
18109
18109
  }
18110
18110
  aB.resetCache = function() {
18111
18111
  w1 = void 0;
@@ -18147,7 +18147,7 @@ function b9(n, a, i, o, d) {
18147
18147
  function p(B) {
18148
18148
  var N;
18149
18149
  rB(a, Rd.Query);
18150
- var z = {
18150
+ var U = {
18151
18151
  client: n,
18152
18152
  query: a,
18153
18153
  observable: (
@@ -18162,20 +18162,20 @@ function b9(n, a, i, o, d) {
18162
18162
  previousData: (N = B == null ? void 0 : B.resultData.current) === null || N === void 0 ? void 0 : N.data
18163
18163
  }
18164
18164
  };
18165
- return z;
18165
+ return U;
18166
18166
  }
18167
18167
  var b = Va.useState(p), E = b[0], C = b[1];
18168
18168
  function A(B) {
18169
- var N, z;
18169
+ var N, U;
18170
18170
  Object.assign(E.observable, (N = {}, N[gD] = B, N));
18171
- var U = E.resultData;
18171
+ var F = E.resultData;
18172
18172
  C(Zi(Zi({}, E), {
18173
18173
  // might be a different query
18174
18174
  query: B.query,
18175
- resultData: Object.assign(U, {
18175
+ resultData: Object.assign(F, {
18176
18176
  // We need to modify the previous `resultData` object as we rely on the
18177
18177
  // object reference in other places
18178
- previousData: ((z = U.current) === null || z === void 0 ? void 0 : z.data) || U.previousData,
18178
+ previousData: ((U = F.current) === null || U === void 0 ? void 0 : U.data) || F.previousData,
18179
18179
  current: void 0
18180
18180
  })
18181
18181
  }));
@@ -18187,7 +18187,7 @@ function b9(n, a, i, o, d) {
18187
18187
  return [E, A];
18188
18188
  }
18189
18189
  function D9(n, a) {
18190
- var i = FC(a.client), o = Va.useContext(_C()).renderPromises, d = !!o, p = i.disableNetworkFetches, b = a.ssr !== !1 && !a.skip, E = a.partialRefetch, C = A9(i, n, a, d), A = b9(i, n, a, o, C), O = A[0], B = O.observable, N = O.resultData, z = A[1], U = C(B);
18190
+ var i = FC(a.client), o = Va.useContext(_C()).renderPromises, d = !!o, p = i.disableNetworkFetches, b = a.ssr !== !1 && !a.skip, E = a.partialRefetch, C = A9(i, n, a, d), A = b9(i, n, a, o, C), O = A[0], B = O.observable, N = O.resultData, U = A[1], F = C(B);
18191
18191
  C9(
18192
18192
  N,
18193
18193
  // might get mutated during render
@@ -18195,23 +18195,23 @@ function D9(n, a) {
18195
18195
  // might get mutated during render
18196
18196
  i,
18197
18197
  a,
18198
- U
18198
+ F
18199
18199
  );
18200
- var F = Va.useMemo(function() {
18200
+ var z = Va.useMemo(function() {
18201
18201
  return O9(B);
18202
18202
  }, [B]);
18203
18203
  S9(B, o, b);
18204
- var T = E9(N, B, i, a, U, p, E, d, {
18204
+ var T = E9(N, B, i, a, F, p, E, d, {
18205
18205
  onCompleted: a.onCompleted || pO,
18206
18206
  onError: a.onError || pO
18207
18207
  });
18208
18208
  return {
18209
18209
  result: T,
18210
- obsQueryFields: F,
18210
+ obsQueryFields: z,
18211
18211
  observable: B,
18212
18212
  resultData: N,
18213
18213
  client: i,
18214
- onQueryExecuted: z
18214
+ onQueryExecuted: U
18215
18215
  };
18216
18216
  }
18217
18217
  function E9(n, a, i, o, d, p, b, E, C) {
@@ -18238,15 +18238,15 @@ function E9(n, a, i, o, d, p, b, E, C) {
18238
18238
  ) : void 0, B = n.previousData, N = Va.useMemo(function() {
18239
18239
  return O && uB(O, B, a, i);
18240
18240
  }, [i, a, O, B]);
18241
- return h9(Va.useCallback(function(z) {
18241
+ return h9(Va.useCallback(function(U) {
18242
18242
  if (E)
18243
18243
  return function() {
18244
18244
  };
18245
- var U = function() {
18245
+ var F = function() {
18246
18246
  var H = n.current, R = a.getCurrentResult();
18247
- H && H.loading === R.loading && H.networkStatus === R.networkStatus && Y1(H.data, R.data) || P2(R, n, a, i, b, z, A.current);
18248
- }, F = function(H) {
18249
- if (T.current.unsubscribe(), T.current = a.resubscribeAfterError(U, F), !g9.call(H, "graphQLErrors"))
18247
+ H && H.loading === R.loading && H.networkStatus === R.networkStatus && Y1(H.data, R.data) || P2(R, n, a, i, b, U, A.current);
18248
+ }, z = function(H) {
18249
+ if (T.current.unsubscribe(), T.current = a.resubscribeAfterError(F, z), !g9.call(H, "graphQLErrors"))
18250
18250
  throw H;
18251
18251
  var R = n.current;
18252
18252
  (!R || R && R.loading || !Y1(H, R.error)) && P2({
@@ -18254,8 +18254,8 @@ function E9(n, a, i, o, d, p, b, E, C) {
18254
18254
  error: H,
18255
18255
  loading: !1,
18256
18256
  networkStatus: Xg.error
18257
- }, n, a, i, b, z, A.current);
18258
- }, T = { current: a.subscribe(U, F) };
18257
+ }, n, a, i, b, U, A.current);
18258
+ }, T = { current: a.subscribe(F, z) };
18259
18259
  return function() {
18260
18260
  setTimeout(function() {
18261
18261
  return T.current.unsubscribe();
@@ -18371,24 +18371,24 @@ function B9(n, a) {
18371
18371
  });
18372
18372
  var E = Va.useCallback(function(A) {
18373
18373
  A === void 0 && (A = {});
18374
- var O = b.current, B = O.options, N = O.mutation, z = Zi(Zi({}, B), { mutation: N }), U = A.client || b.current.client;
18375
- !b.current.result.loading && !z.ignoreResults && b.current.isMounted && p(b.current.result = {
18374
+ var O = b.current, B = O.options, N = O.mutation, U = Zi(Zi({}, B), { mutation: N }), F = A.client || b.current.client;
18375
+ !b.current.result.loading && !U.ignoreResults && b.current.isMounted && p(b.current.result = {
18376
18376
  loading: !0,
18377
18377
  error: void 0,
18378
18378
  data: void 0,
18379
18379
  called: !0,
18380
- client: U
18380
+ client: F
18381
18381
  });
18382
- var F = ++b.current.mutationId, T = tB(z, A);
18383
- return U.mutate(T).then(function(H) {
18382
+ var z = ++b.current.mutationId, T = tB(U, A);
18383
+ return F.mutate(T).then(function(H) {
18384
18384
  var R, _, V = H.data, q = H.errors, K = q && q.length > 0 ? new kC({ graphQLErrors: q }) : void 0, re = A.onError || ((R = b.current.options) === null || R === void 0 ? void 0 : R.onError);
18385
- if (K && re && re(K, T), F === b.current.mutationId && !T.ignoreResults) {
18385
+ if (K && re && re(K, T), z === b.current.mutationId && !T.ignoreResults) {
18386
18386
  var De = {
18387
18387
  called: !0,
18388
18388
  loading: !1,
18389
18389
  data: V,
18390
18390
  error: K,
18391
- client: U
18391
+ client: F
18392
18392
  };
18393
18393
  b.current.isMounted && !Y1(b.current.result, De) && p(b.current.result = De);
18394
18394
  }
@@ -18396,13 +18396,13 @@ function B9(n, a) {
18396
18396
  return K || ie == null || ie(H.data, T), H;
18397
18397
  }, function(H) {
18398
18398
  var R;
18399
- if (F === b.current.mutationId && b.current.isMounted) {
18399
+ if (z === b.current.mutationId && b.current.isMounted) {
18400
18400
  var _ = {
18401
18401
  loading: !1,
18402
18402
  error: H,
18403
18403
  data: void 0,
18404
18404
  called: !0,
18405
- client: U
18405
+ client: F
18406
18406
  };
18407
18407
  Y1(b.current.result, _) || p(b.current.result = _);
18408
18408
  }
@@ -18539,47 +18539,47 @@ function bO(n, a, i) {
18539
18539
  floating: d
18540
18540
  } = n;
18541
18541
  const p = my(a), b = jC(a), E = UC(b), C = Qg(a), A = p === "y", O = o.x + o.width / 2 - d.width / 2, B = o.y + o.height / 2 - d.height / 2, N = o[E] / 2 - d[E] / 2;
18542
- let z;
18542
+ let U;
18543
18543
  switch (C) {
18544
18544
  case "top":
18545
- z = {
18545
+ U = {
18546
18546
  x: O,
18547
18547
  y: o.y - d.height
18548
18548
  };
18549
18549
  break;
18550
18550
  case "bottom":
18551
- z = {
18551
+ U = {
18552
18552
  x: O,
18553
18553
  y: o.y + o.height
18554
18554
  };
18555
18555
  break;
18556
18556
  case "right":
18557
- z = {
18557
+ U = {
18558
18558
  x: o.x + o.width,
18559
18559
  y: B
18560
18560
  };
18561
18561
  break;
18562
18562
  case "left":
18563
- z = {
18563
+ U = {
18564
18564
  x: o.x - d.width,
18565
18565
  y: B
18566
18566
  };
18567
18567
  break;
18568
18568
  default:
18569
- z = {
18569
+ U = {
18570
18570
  x: o.x,
18571
18571
  y: o.y
18572
18572
  };
18573
18573
  }
18574
18574
  switch (I1(a)) {
18575
18575
  case "start":
18576
- z[b] -= N * (i && A ? -1 : 1);
18576
+ U[b] -= N * (i && A ? -1 : 1);
18577
18577
  break;
18578
18578
  case "end":
18579
- z[b] += N * (i && A ? -1 : 1);
18579
+ U[b] += N * (i && A ? -1 : 1);
18580
18580
  break;
18581
18581
  }
18582
- return z;
18582
+ return U;
18583
18583
  }
18584
18584
  const U9 = async (n, a, i) => {
18585
18585
  const {
@@ -18595,12 +18595,12 @@ const U9 = async (n, a, i) => {
18595
18595
  }), {
18596
18596
  x: O,
18597
18597
  y: B
18598
- } = bO(A, o, C), N = o, z = {}, U = 0;
18599
- for (let F = 0; F < E.length; F++) {
18598
+ } = bO(A, o, C), N = o, U = {}, F = 0;
18599
+ for (let z = 0; z < E.length; z++) {
18600
18600
  const {
18601
18601
  name: T,
18602
18602
  fn: H
18603
- } = E[F], {
18603
+ } = E[z], {
18604
18604
  x: R,
18605
18605
  y: _,
18606
18606
  data: V,
@@ -18611,7 +18611,7 @@ const U9 = async (n, a, i) => {
18611
18611
  initialPlacement: o,
18612
18612
  placement: N,
18613
18613
  strategy: d,
18614
- middlewareData: z,
18614
+ middlewareData: U,
18615
18615
  rects: A,
18616
18616
  platform: b,
18617
18617
  elements: {
@@ -18619,27 +18619,27 @@ const U9 = async (n, a, i) => {
18619
18619
  floating: a
18620
18620
  }
18621
18621
  });
18622
- O = R ?? O, B = _ ?? B, z = {
18623
- ...z,
18622
+ O = R ?? O, B = _ ?? B, U = {
18623
+ ...U,
18624
18624
  [T]: {
18625
- ...z[T],
18625
+ ...U[T],
18626
18626
  ...V
18627
18627
  }
18628
- }, q && U <= 50 && (U++, typeof q == "object" && (q.placement && (N = q.placement), q.rects && (A = q.rects === !0 ? await b.getElementRects({
18628
+ }, q && F <= 50 && (F++, typeof q == "object" && (q.placement && (N = q.placement), q.rects && (A = q.rects === !0 ? await b.getElementRects({
18629
18629
  reference: n,
18630
18630
  floating: a,
18631
18631
  strategy: d
18632
18632
  }) : q.rects), {
18633
18633
  x: O,
18634
18634
  y: B
18635
- } = bO(A, N, C)), F = -1);
18635
+ } = bO(A, N, C)), z = -1);
18636
18636
  }
18637
18637
  return {
18638
18638
  x: O,
18639
18639
  y: B,
18640
18640
  placement: N,
18641
18641
  strategy: d,
18642
- middlewareData: z
18642
+ middlewareData: U
18643
18643
  };
18644
18644
  };
18645
18645
  async function fB(n, a) {
@@ -18657,8 +18657,8 @@ async function fB(n, a) {
18657
18657
  rootBoundary: O = "viewport",
18658
18658
  elementContext: B = "floating",
18659
18659
  altBoundary: N = !1,
18660
- padding: z = 0
18661
- } = W1(a, n), U = cB(z), T = E[N ? B === "floating" ? "reference" : "floating" : B], H = _D(await p.getClippingRect({
18660
+ padding: U = 0
18661
+ } = W1(a, n), F = cB(U), T = E[N ? B === "floating" ? "reference" : "floating" : B], H = _D(await p.getClippingRect({
18662
18662
  element: (i = await (p.isElement == null ? void 0 : p.isElement(T))) == null || i ? T : T.contextElement || await (p.getDocumentElement == null ? void 0 : p.getDocumentElement(E.floating)),
18663
18663
  boundary: A,
18664
18664
  rootBoundary: O,
@@ -18681,10 +18681,10 @@ async function fB(n, a) {
18681
18681
  strategy: C
18682
18682
  }) : R);
18683
18683
  return {
18684
- top: (H.top - q.top + U.top) / V.y,
18685
- bottom: (q.bottom - H.bottom + U.bottom) / V.y,
18686
- left: (H.left - q.left + U.left) / V.x,
18687
- right: (q.right - H.right + U.right) / V.x
18684
+ top: (H.top - q.top + F.top) / V.y,
18685
+ bottom: (q.bottom - H.bottom + F.bottom) / V.y,
18686
+ left: (H.left - q.left + F.left) / V.x,
18687
+ right: (q.right - H.right + F.right) / V.x
18688
18688
  };
18689
18689
  }
18690
18690
  const j9 = (n) => ({
@@ -18708,14 +18708,14 @@ const j9 = (n) => ({
18708
18708
  const B = cB(O), N = {
18709
18709
  x: i,
18710
18710
  y: o
18711
- }, z = jC(d), U = UC(z), F = await b.getDimensions(A), T = z === "y", H = T ? "top" : "left", R = T ? "bottom" : "right", _ = T ? "clientHeight" : "clientWidth", V = p.reference[U] + p.reference[z] - N[z] - p.floating[U], q = N[z] - p.reference[z], K = await (b.getOffsetParent == null ? void 0 : b.getOffsetParent(A));
18711
+ }, U = jC(d), F = UC(U), z = await b.getDimensions(A), T = U === "y", H = T ? "top" : "left", R = T ? "bottom" : "right", _ = T ? "clientHeight" : "clientWidth", V = p.reference[F] + p.reference[U] - N[U] - p.floating[F], q = N[U] - p.reference[U], K = await (b.getOffsetParent == null ? void 0 : b.getOffsetParent(A));
18712
18712
  let re = K ? K[_] : 0;
18713
- (!re || !await (b.isElement == null ? void 0 : b.isElement(K))) && (re = E.floating[_] || p.floating[U]);
18714
- const De = V / 2 - q / 2, ie = re / 2 - F[U] / 2 - 1, we = hy(B[H], ie), Fe = hy(B[R], ie), Ne = we, Ue = re - F[U] - Fe, ue = re / 2 - F[U] / 2 + De, He = Z2(Ne, ue, Ue), te = !C.arrow && I1(d) != null && ue !== He && p.reference[U] / 2 - (ue < Ne ? we : Fe) - F[U] / 2 < 0, me = te ? ue < Ne ? ue - Ne : ue - Ue : 0;
18713
+ (!re || !await (b.isElement == null ? void 0 : b.isElement(K))) && (re = E.floating[_] || p.floating[F]);
18714
+ const De = V / 2 - q / 2, ie = re / 2 - z[F] / 2 - 1, we = hy(B[H], ie), Fe = hy(B[R], ie), Ne = we, Ue = re - z[F] - Fe, ue = re / 2 - z[F] / 2 + De, He = Z2(Ne, ue, Ue), te = !C.arrow && I1(d) != null && ue !== He && p.reference[F] / 2 - (ue < Ne ? we : Fe) - z[F] / 2 < 0, me = te ? ue < Ne ? ue - Ne : ue - Ue : 0;
18715
18715
  return {
18716
- [z]: N[z] + me,
18716
+ [U]: N[U] + me,
18717
18717
  data: {
18718
- [z]: He,
18718
+ [U]: He,
18719
18719
  centerOffset: ue - He - me,
18720
18720
  ...te && {
18721
18721
  alignmentOffset: me
@@ -18741,15 +18741,15 @@ const j9 = (n) => ({
18741
18741
  mainAxis: O = !0,
18742
18742
  crossAxis: B = !0,
18743
18743
  fallbackPlacements: N,
18744
- fallbackStrategy: z = "bestFit",
18745
- fallbackAxisSideDirection: U = "none",
18746
- flipAlignment: F = !0,
18744
+ fallbackStrategy: U = "bestFit",
18745
+ fallbackAxisSideDirection: F = "none",
18746
+ flipAlignment: z = !0,
18747
18747
  ...T
18748
18748
  } = W1(n, a);
18749
18749
  if ((i = p.arrow) != null && i.alignmentOffset)
18750
18750
  return {};
18751
- const H = Qg(d), R = my(E), _ = Qg(E) === E, V = await (C.isRTL == null ? void 0 : C.isRTL(A.floating)), q = N || (_ || !F ? [kD(E)] : k9(E)), K = U !== "none";
18752
- !N && K && q.push(...F9(E, F, U, V));
18751
+ const H = Qg(d), R = my(E), _ = Qg(E) === E, V = await (C.isRTL == null ? void 0 : C.isRTL(A.floating)), q = N || (_ || !z ? [kD(E)] : k9(E)), K = F !== "none";
18752
+ !N && K && q.push(...F9(E, z, F, V));
18753
18753
  const re = [E, ...q], De = await fB(a, T), ie = [];
18754
18754
  let we = ((o = p.flip) == null ? void 0 : o.overflows) || [];
18755
18755
  if (O && ie.push(De[H]), B) {
@@ -18774,7 +18774,7 @@ const j9 = (n) => ({
18774
18774
  };
18775
18775
  let te = (Ne = we.filter((me) => me.overflows[0] <= 0).sort((me, ye) => me.overflows[1] - ye.overflows[1])[0]) == null ? void 0 : Ne.placement;
18776
18776
  if (!te)
18777
- switch (z) {
18777
+ switch (U) {
18778
18778
  case "bestFit": {
18779
18779
  var Ue;
18780
18780
  const me = (Ue = we.filter((ye) => {
@@ -18812,8 +18812,8 @@ async function H9(n, a) {
18812
18812
  } = n, p = await (o.isRTL == null ? void 0 : o.isRTL(d.floating)), b = Qg(i), E = I1(i), C = my(i) === "y", A = ["left", "top"].includes(b) ? -1 : 1, O = p && C ? -1 : 1, B = W1(a, n);
18813
18813
  let {
18814
18814
  mainAxis: N,
18815
- crossAxis: z,
18816
- alignmentAxis: U
18815
+ crossAxis: U,
18816
+ alignmentAxis: F
18817
18817
  } = typeof B == "number" ? {
18818
18818
  mainAxis: B,
18819
18819
  crossAxis: 0,
@@ -18823,12 +18823,12 @@ async function H9(n, a) {
18823
18823
  crossAxis: B.crossAxis || 0,
18824
18824
  alignmentAxis: B.alignmentAxis
18825
18825
  };
18826
- return E && typeof U == "number" && (z = E === "end" ? U * -1 : U), C ? {
18827
- x: z * O,
18826
+ return E && typeof F == "number" && (U = E === "end" ? F * -1 : F), C ? {
18827
+ x: U * O,
18828
18828
  y: N * A
18829
18829
  } : {
18830
18830
  x: N * A,
18831
- y: z * O
18831
+ y: U * O
18832
18832
  };
18833
18833
  }
18834
18834
  const V9 = function(n) {
@@ -18882,25 +18882,25 @@ const V9 = function(n) {
18882
18882
  x: i,
18883
18883
  y: o
18884
18884
  }, O = await fB(a, C), B = my(Qg(d)), N = sB(B);
18885
- let z = A[N], U = A[B];
18885
+ let U = A[N], F = A[B];
18886
18886
  if (p) {
18887
- const T = N === "y" ? "top" : "left", H = N === "y" ? "bottom" : "right", R = z + O[T], _ = z - O[H];
18888
- z = Z2(R, z, _);
18887
+ const T = N === "y" ? "top" : "left", H = N === "y" ? "bottom" : "right", R = U + O[T], _ = U - O[H];
18888
+ U = Z2(R, U, _);
18889
18889
  }
18890
18890
  if (b) {
18891
- const T = B === "y" ? "top" : "left", H = B === "y" ? "bottom" : "right", R = U + O[T], _ = U - O[H];
18892
- U = Z2(R, U, _);
18891
+ const T = B === "y" ? "top" : "left", H = B === "y" ? "bottom" : "right", R = F + O[T], _ = F - O[H];
18892
+ F = Z2(R, F, _);
18893
18893
  }
18894
- const F = E.fn({
18894
+ const z = E.fn({
18895
18895
  ...a,
18896
- [N]: z,
18897
- [B]: U
18896
+ [N]: U,
18897
+ [B]: F
18898
18898
  });
18899
18899
  return {
18900
- ...F,
18900
+ ...z,
18901
18901
  data: {
18902
- x: F.x - i,
18903
- y: F.y - o,
18902
+ x: z.x - i,
18903
+ y: z.y - o,
18904
18904
  enabled: {
18905
18905
  [N]: p,
18906
18906
  [B]: b
@@ -19066,11 +19066,11 @@ function Pg(n, a, i, o) {
19066
19066
  const E = X9(p, i, o) ? vB(p) : Nd(0);
19067
19067
  let C = (d.left + E.x) / b.x, A = (d.top + E.y) / b.y, O = d.width / b.x, B = d.height / b.y;
19068
19068
  if (p) {
19069
- const N = Xo(p), z = o && Df(o) ? Xo(o) : o;
19070
- let U = N, F = I2(U);
19071
- for (; F && o && z !== U; ) {
19072
- const T = ly(F), H = F.getBoundingClientRect(), R = Ef(F), _ = H.left + (F.clientLeft + parseFloat(R.paddingLeft)) * T.x, V = H.top + (F.clientTop + parseFloat(R.paddingTop)) * T.y;
19073
- C *= T.x, A *= T.y, O *= T.x, B *= T.y, C += _, A += V, U = Xo(F), F = I2(U);
19069
+ const N = Xo(p), U = o && Df(o) ? Xo(o) : o;
19070
+ let F = N, z = I2(F);
19071
+ for (; z && o && U !== F; ) {
19072
+ const T = ly(z), H = z.getBoundingClientRect(), R = Ef(z), _ = H.left + (z.clientLeft + parseFloat(R.paddingLeft)) * T.x, V = H.top + (z.clientTop + parseFloat(R.paddingTop)) * T.y;
19073
+ C *= T.x, A *= T.y, O *= T.x, B *= T.y, C += _, A += V, F = Xo(z), z = I2(F);
19074
19074
  }
19075
19075
  }
19076
19076
  return _D({
@@ -19111,8 +19111,8 @@ function Q9(n) {
19111
19111
  }, A = Nd(1);
19112
19112
  const O = Nd(0), B = Md(o);
19113
19113
  if ((B || !B && !p) && ((by(o) !== "body" || K1(b)) && (C = ZD(o)), Md(o))) {
19114
- const z = Pg(o);
19115
- A = ly(o), O.x = z.x + o.clientLeft, O.y = z.y + o.clientTop;
19114
+ const U = Pg(o);
19115
+ A = ly(o), O.x = U.x + o.clientLeft, O.y = U.y + o.clientTop;
19116
19116
  }
19117
19117
  const N = b && !B && !p ? pB(b, C, !0) : Nd(0);
19118
19118
  return {
@@ -19316,12 +19316,12 @@ function iz(n, a) {
19316
19316
  left: O,
19317
19317
  top: B,
19318
19318
  width: N,
19319
- height: z
19319
+ height: U
19320
19320
  } = A;
19321
- if (E || a(), !N || !z)
19321
+ if (E || a(), !N || !U)
19322
19322
  return;
19323
- const U = uD(B), F = uD(d.clientWidth - (O + N)), T = uD(d.clientHeight - (B + z)), H = uD(O), _ = {
19324
- rootMargin: -U + "px " + -F + "px " + -T + "px " + -H + "px",
19323
+ const F = uD(B), z = uD(d.clientWidth - (O + N)), T = uD(d.clientHeight - (B + U)), H = uD(O), _ = {
19324
+ rootMargin: -F + "px " + -z + "px " + -T + "px " + -H + "px",
19325
19325
  threshold: qg(0, hy(1, C)) || 1
19326
19326
  };
19327
19327
  let V = !0;
@@ -19364,25 +19364,25 @@ function uz(n, a, i, o) {
19364
19364
  }), p && H.addEventListener("resize", i);
19365
19365
  });
19366
19366
  const B = A && E ? iz(A, i) : null;
19367
- let N = -1, z = null;
19368
- b && (z = new ResizeObserver((H) => {
19367
+ let N = -1, U = null;
19368
+ b && (U = new ResizeObserver((H) => {
19369
19369
  let [R] = H;
19370
- R && R.target === A && z && (z.unobserve(a), cancelAnimationFrame(N), N = requestAnimationFrame(() => {
19370
+ R && R.target === A && U && (U.unobserve(a), cancelAnimationFrame(N), N = requestAnimationFrame(() => {
19371
19371
  var _;
19372
- (_ = z) == null || _.observe(a);
19372
+ (_ = U) == null || _.observe(a);
19373
19373
  })), i();
19374
- }), A && !C && z.observe(A), z.observe(a));
19375
- let U, F = C ? Pg(n) : null;
19374
+ }), A && !C && U.observe(A), U.observe(a));
19375
+ let F, z = C ? Pg(n) : null;
19376
19376
  C && T();
19377
19377
  function T() {
19378
19378
  const H = Pg(n);
19379
- F && !bB(F, H) && i(), F = H, U = requestAnimationFrame(T);
19379
+ z && !bB(z, H) && i(), z = H, F = requestAnimationFrame(T);
19380
19380
  }
19381
19381
  return i(), () => {
19382
19382
  var H;
19383
19383
  O.forEach((R) => {
19384
19384
  d && R.removeEventListener("scroll", i), p && R.removeEventListener("resize", i);
19385
- }), B == null || B(), (H = z) == null || H.disconnect(), z = null, C && cancelAnimationFrame(U);
19385
+ }), B == null || B(), (H = U) == null || H.disconnect(), U = null, C && cancelAnimationFrame(F);
19386
19386
  };
19387
19387
  }
19388
19388
  const lz = V9, oz = q9, sz = L9, cz = j9, CO = (n, a, i) => {
@@ -19460,14 +19460,14 @@ const xO = async ({ elementReference: n = null, tooltipReference: a = null, tool
19460
19460
  if (a === null) return { tooltipStyles: {}, tooltipArrowStyles: {}, place: o };
19461
19461
  const C = b;
19462
19462
  return i ? (C.push(cz({ element: i, padding: 5 })), CO(n, a, { placement: o, strategy: p, middleware: C }).then(({ x: A, y: O, placement: B, middlewareData: N }) => {
19463
- var z, U;
19464
- const F = { left: `${A}px`, top: `${O}px`, border: E }, { x: T, y: H } = (z = N.arrow) !== null && z !== void 0 ? z : { x: 0, y: 0 }, R = (U = { top: "bottom", right: "left", bottom: "top", left: "right" }[B.split("-")[0]]) !== null && U !== void 0 ? U : "bottom", _ = E && { borderBottom: E, borderRight: E };
19463
+ var U, F;
19464
+ const z = { left: `${A}px`, top: `${O}px`, border: E }, { x: T, y: H } = (U = N.arrow) !== null && U !== void 0 ? U : { x: 0, y: 0 }, R = (F = { top: "bottom", right: "left", bottom: "top", left: "right" }[B.split("-")[0]]) !== null && F !== void 0 ? F : "bottom", _ = E && { borderBottom: E, borderRight: E };
19465
19465
  let V = 0;
19466
19466
  if (E) {
19467
19467
  const q = `${E}`.match(/(\d+)px/);
19468
19468
  V = q != null && q[1] ? Number(q[1]) : 1;
19469
19469
  }
19470
- return { tooltipStyles: F, tooltipArrowStyles: { left: T != null ? `${T}px` : "", top: H != null ? `${H}px` : "", right: "", bottom: "", ..._, [R]: `-${4 + V}px` }, place: B };
19470
+ return { tooltipStyles: z, tooltipArrowStyles: { left: T != null ? `${T}px` : "", top: H != null ? `${H}px` : "", right: "", bottom: "", ..._, [R]: `-${4 + V}px` }, place: B };
19471
19471
  })) : CO(n, a, { placement: "bottom", strategy: p, middleware: C }).then(({ x: A, y: O, placement: B }) => ({ tooltipStyles: { left: `${A}px`, top: `${O}px` }, tooltipArrowStyles: {}, place: B }));
19472
19472
  }, OO = (n, a) => !("CSS" in window && "supports" in window.CSS) || window.CSS.supports(n, a), BO = (n, a, i) => {
19473
19473
  let o = null;
@@ -19512,7 +19512,7 @@ function DB(n = gz) {
19512
19512
  return py(bz).getTooltipData(n);
19513
19513
  }
19514
19514
  var K0 = { tooltip: "core-styles-module_tooltip__3vRRp", fixed: "core-styles-module_fixed__pcSol", arrow: "core-styles-module_arrow__cvMwQ", noArrow: "core-styles-module_noArrow__xock6", clickable: "core-styles-module_clickable__ZuTTB", show: "core-styles-module_show__Nt9eE", closing: "core-styles-module_closing__sGnxF" }, JS = { tooltip: "styles-module_tooltip__mnnfp", arrow: "styles-module_arrow__K0L3T", dark: "styles-module_dark__xNqje", light: "styles-module_light__Z6W-X", success: "styles-module_success__A2AKt", warning: "styles-module_warning__SCK0X", error: "styles-module_error__JvumD", info: "styles-module_info__BWdHW" };
19515
- const Dz = ({ forwardRef: n, id: a, className: i, classNameArrow: o, variant: d = "dark", anchorId: p, anchorSelect: b, place: E = "top", offset: C = 10, events: A = ["hover"], openOnClick: O = !1, positionStrategy: B = "absolute", middlewares: N, wrapper: z, delayShow: U = 0, delayHide: F = 0, float: T = !1, hidden: H = !1, noArrow: R = !1, clickable: _ = !1, closeOnEsc: V = !1, closeOnScroll: q = !1, closeOnResize: K = !1, openEvents: re, closeEvents: De, globalCloseEvents: ie, imperativeModeOnly: we, style: Fe, position: Ne, afterShow: Ue, afterHide: ue, disableTooltip: He, content: te, contentWrapperRef: me, isOpen: ye, defaultIsOpen: Ve = !1, setIsOpen: le, activeAnchor: Ee, setActiveAnchor: $e, border: Te, opacity: qe, arrowColor: Ze, role: P = "tooltip" }) => {
19515
+ const Dz = ({ forwardRef: n, id: a, className: i, classNameArrow: o, variant: d = "dark", anchorId: p, anchorSelect: b, place: E = "top", offset: C = 10, events: A = ["hover"], openOnClick: O = !1, positionStrategy: B = "absolute", middlewares: N, wrapper: U, delayShow: F = 0, delayHide: z = 0, float: T = !1, hidden: H = !1, noArrow: R = !1, clickable: _ = !1, closeOnEsc: V = !1, closeOnScroll: q = !1, closeOnResize: K = !1, openEvents: re, closeEvents: De, globalCloseEvents: ie, imperativeModeOnly: we, style: Fe, position: Ne, afterShow: Ue, afterHide: ue, disableTooltip: He, content: te, contentWrapperRef: me, isOpen: ye, defaultIsOpen: Ve = !1, setIsOpen: le, activeAnchor: Ee, setActiveAnchor: $e, border: Te, opacity: qe, arrowColor: Ze, role: P = "tooltip" }) => {
19516
19516
  var ze;
19517
19517
  const Se = za(null), Ae = za(null), Pe = za(null), We = za(null), Me = za(null), [Ct, vt] = Kn({ tooltipStyles: {}, tooltipArrowStyles: {}, place: E }), [jt, sn] = Kn(!1), [wt, ln] = Kn(!1), [Zt, yn] = Kn(null), I = za(!1), at = za(null), { anchorRefs: st, setActiveAnchor: Nt } = DB(a), _t = za(!1), [Mt, Et] = Kn([]), rn = za(!1), jn = O || A.includes("click"), Ln = jn || (re == null ? void 0 : re.click) || (re == null ? void 0 : re.dblclick) || (re == null ? void 0 : re.mousedown), Hn = re ? { ...re } : { mouseover: !0, focus: !0, mouseenter: !1, click: !1, dblclick: !1, mousedown: !1 };
19518
19518
  !re && jn && Object.assign(Hn, { mouseenter: !1, focus: !1, mouseover: !1, click: !0 });
@@ -19552,11 +19552,11 @@ const Dz = ({ forwardRef: n, id: a, className: i, classNameArrow: o, variant: d
19552
19552
  }, [jt]);
19553
19553
  const it = (ft) => {
19554
19554
  vt((Ht) => J2(Ht, ft) ? Ht : ft);
19555
- }, Tt = (ft = U) => {
19555
+ }, Tt = (ft = F) => {
19556
19556
  rc(Pe), wt ? be(!0) : Pe.current = setTimeout(() => {
19557
19557
  be(!0);
19558
19558
  }, ft);
19559
- }, un = (ft = F) => {
19559
+ }, un = (ft = z) => {
19560
19560
  rc(We), We.current = setTimeout(() => {
19561
19561
  _t.current || be(!1);
19562
19562
  }, ft);
@@ -19565,9 +19565,9 @@ const Dz = ({ forwardRef: n, id: a, className: i, classNameArrow: o, variant: d
19565
19565
  if (!ft) return;
19566
19566
  const Jt = (Ht = ft.currentTarget) !== null && Ht !== void 0 ? Ht : ft.target;
19567
19567
  if (!(Jt != null && Jt.isConnected)) return $e(null), void Nt({ current: null });
19568
- U ? Tt() : be(!0), $e(Jt), Nt({ current: Jt }), rc(We);
19568
+ F ? Tt() : be(!0), $e(Jt), Nt({ current: Jt }), rc(We);
19569
19569
  }, It = () => {
19570
- _ ? un(F || 100) : F ? un() : be(!1), rc(Pe);
19570
+ _ ? un(z || 100) : z ? un() : be(!1), rc(Pe);
19571
19571
  }, ct = ({ x: ft, y: Ht }) => {
19572
19572
  var Jt;
19573
19573
  const Ca = { getBoundingClientRect: () => ({ x: ft, y: Ht, width: 0, height: 0, top: Ht, left: ft, right: ft, bottom: Ht }) };
@@ -19641,7 +19641,7 @@ const Dz = ({ forwardRef: n, id: a, className: i, classNameArrow: o, variant: d
19641
19641
  });
19642
19642
  });
19643
19643
  };
19644
- }, [Ee, Gt, wt, st, Mt, re, De, ie, jn, U, F]), Un(() => {
19644
+ }, [Ee, Gt, wt, st, Mt, re, De, ie, jn, F, z]), Un(() => {
19645
19645
  var ft, Ht;
19646
19646
  let Jt = (Ht = (ft = Zt == null ? void 0 : Zt.anchorSelect) !== null && ft !== void 0 ? ft : b) !== null && Ht !== void 0 ? Ht : "";
19647
19647
  !Jt && a && (Jt = `[data-tooltip-id='${a.replace(/'/g, "\\'")}']`);
@@ -19697,8 +19697,8 @@ const Dz = ({ forwardRef: n, id: a, className: i, classNameArrow: o, variant: d
19697
19697
  Et([]);
19698
19698
  }
19699
19699
  }, [a, b, Zt == null ? void 0 : Zt.anchorSelect]), Un(() => {
19700
- Pe.current && (rc(Pe), Tt(U));
19701
- }, [U]);
19700
+ Pe.current && (rc(Pe), Tt(F));
19701
+ }, [F]);
19702
19702
  const Rn = (ze = Zt == null ? void 0 : Zt.content) !== null && ze !== void 0 ? ze : te, vr = jt && Object.keys(Ct.tooltipStyles).length > 0;
19703
19703
  return oR(n, () => ({ open: (ft) => {
19704
19704
  if (ft != null && ft.anchorSelect) try {
@@ -19709,11 +19709,11 @@ const Dz = ({ forwardRef: n, id: a, className: i, classNameArrow: o, variant: d
19709
19709
  yn(ft ?? null), ft != null && ft.delay ? Tt(ft.delay) : be(!0);
19710
19710
  }, close: (ft) => {
19711
19711
  ft != null && ft.delay ? un(ft.delay) : be(!1);
19712
- }, activeAnchor: Ee, place: Ct.place, isOpen: !!(wt && !H && Rn && vr) })), wt && !H && Rn ? Yt.createElement(z, { id: a, role: P, className: K2("react-tooltip", K0.tooltip, JS.tooltip, JS[d], i, `react-tooltip__place-${Ct.place}`, K0[vr ? "show" : "closing"], vr ? "react-tooltip__show" : "react-tooltip__closing", B === "fixed" && K0.fixed, _ && K0.clickable), onTransitionEnd: (ft) => {
19712
+ }, activeAnchor: Ee, place: Ct.place, isOpen: !!(wt && !H && Rn && vr) })), wt && !H && Rn ? Yt.createElement(U, { id: a, role: P, className: K2("react-tooltip", K0.tooltip, JS.tooltip, JS[d], i, `react-tooltip__place-${Ct.place}`, K0[vr ? "show" : "closing"], vr ? "react-tooltip__show" : "react-tooltip__closing", B === "fixed" && K0.fixed, _ && K0.clickable), onTransitionEnd: (ft) => {
19713
19713
  rc(Me), jt || ft.propertyName !== "opacity" || (ln(!1), yn(null), ue == null || ue());
19714
- }, style: { ...Fe, ...Ct.tooltipStyles, opacity: qe !== void 0 && vr ? qe : void 0 }, ref: Se }, Rn, Yt.createElement(z, { className: K2("react-tooltip-arrow", K0.arrow, JS.arrow, o, R && K0.noArrow), style: { ...Ct.tooltipArrowStyles, background: Ze ? `linear-gradient(to right bottom, transparent 50%, ${Ze} 50%)` : void 0 }, ref: Ae })) : null;
19715
- }, Ez = ({ content: n }) => Yt.createElement("span", { dangerouslySetInnerHTML: { __html: n } }), Sz = Yt.forwardRef(({ id: n, anchorId: a, anchorSelect: i, content: o, html: d, render: p, className: b, classNameArrow: E, variant: C = "dark", place: A = "top", offset: O = 10, wrapper: B = "div", children: N = null, events: z = ["hover"], openOnClick: U = !1, positionStrategy: F = "absolute", middlewares: T, delayShow: H = 0, delayHide: R = 0, float: _ = !1, hidden: V = !1, noArrow: q = !1, clickable: K = !1, closeOnEsc: re = !1, closeOnScroll: De = !1, closeOnResize: ie = !1, openEvents: we, closeEvents: Fe, globalCloseEvents: Ne, imperativeModeOnly: Ue = !1, style: ue, position: He, isOpen: te, defaultIsOpen: me = !1, disableStyleInjection: ye = !1, border: Ve, opacity: le, arrowColor: Ee, setIsOpen: $e, afterShow: Te, afterHide: qe, disableTooltip: Ze, role: P = "tooltip" }, ze) => {
19716
- const [Se, Ae] = Kn(o), [Pe, We] = Kn(d), [Me, Ct] = Kn(A), [vt, jt] = Kn(C), [sn, wt] = Kn(O), [ln, Zt] = Kn(H), [yn, I] = Kn(R), [at, st] = Kn(_), [Nt, _t] = Kn(V), [Mt, Et] = Kn(B), [rn, jn] = Kn(z), [Ln, Hn] = Kn(F), [fe, ve] = Kn(null), [be, it] = Kn(null), Tt = za(ye), { anchorRefs: un, activeAnchor: Jn } = DB(n), It = (Bt) => Bt == null ? void 0 : Bt.getAttributeNames().reduce((Wt, pt) => {
19714
+ }, style: { ...Fe, ...Ct.tooltipStyles, opacity: qe !== void 0 && vr ? qe : void 0 }, ref: Se }, Rn, Yt.createElement(U, { className: K2("react-tooltip-arrow", K0.arrow, JS.arrow, o, R && K0.noArrow), style: { ...Ct.tooltipArrowStyles, background: Ze ? `linear-gradient(to right bottom, transparent 50%, ${Ze} 50%)` : void 0 }, ref: Ae })) : null;
19715
+ }, Ez = ({ content: n }) => Yt.createElement("span", { dangerouslySetInnerHTML: { __html: n } }), Sz = Yt.forwardRef(({ id: n, anchorId: a, anchorSelect: i, content: o, html: d, render: p, className: b, classNameArrow: E, variant: C = "dark", place: A = "top", offset: O = 10, wrapper: B = "div", children: N = null, events: U = ["hover"], openOnClick: F = !1, positionStrategy: z = "absolute", middlewares: T, delayShow: H = 0, delayHide: R = 0, float: _ = !1, hidden: V = !1, noArrow: q = !1, clickable: K = !1, closeOnEsc: re = !1, closeOnScroll: De = !1, closeOnResize: ie = !1, openEvents: we, closeEvents: Fe, globalCloseEvents: Ne, imperativeModeOnly: Ue = !1, style: ue, position: He, isOpen: te, defaultIsOpen: me = !1, disableStyleInjection: ye = !1, border: Ve, opacity: le, arrowColor: Ee, setIsOpen: $e, afterShow: Te, afterHide: qe, disableTooltip: Ze, role: P = "tooltip" }, ze) => {
19716
+ const [Se, Ae] = Kn(o), [Pe, We] = Kn(d), [Me, Ct] = Kn(A), [vt, jt] = Kn(C), [sn, wt] = Kn(O), [ln, Zt] = Kn(H), [yn, I] = Kn(R), [at, st] = Kn(_), [Nt, _t] = Kn(V), [Mt, Et] = Kn(B), [rn, jn] = Kn(U), [Ln, Hn] = Kn(z), [fe, ve] = Kn(null), [be, it] = Kn(null), Tt = za(ye), { anchorRefs: un, activeAnchor: Jn } = DB(n), It = (Bt) => Bt == null ? void 0 : Bt.getAttributeNames().reduce((Wt, pt) => {
19717
19717
  var Gt;
19718
19718
  return pt.startsWith("data-tooltip-") && (Wt[pt.replace(/^data-tooltip-/, "")] = (Gt = Bt == null ? void 0 : Bt.getAttribute(pt)) !== null && Gt !== void 0 ? Gt : null), Wt;
19719
19719
  }, {}), ct = (Bt) => {
@@ -19734,10 +19734,10 @@ const Dz = ({ forwardRef: n, id: a, className: i, classNameArrow: o, variant: d
19734
19734
  Et((Gt = pt) !== null && Gt !== void 0 ? Gt : B);
19735
19735
  }, events: (pt) => {
19736
19736
  const Gt = pt == null ? void 0 : pt.split(" ");
19737
- jn(Gt ?? z);
19737
+ jn(Gt ?? U);
19738
19738
  }, "position-strategy": (pt) => {
19739
19739
  var Gt;
19740
- Hn((Gt = pt) !== null && Gt !== void 0 ? Gt : F);
19740
+ Hn((Gt = pt) !== null && Gt !== void 0 ? Gt : z);
19741
19741
  }, "delay-show": (pt) => {
19742
19742
  Zt(pt === null ? H : Number(pt));
19743
19743
  }, "delay-hide": (pt) => {
@@ -19773,8 +19773,8 @@ const Dz = ({ forwardRef: n, id: a, className: i, classNameArrow: o, variant: d
19773
19773
  }, [_]), Un(() => {
19774
19774
  _t(V);
19775
19775
  }, [V]), Un(() => {
19776
- Hn(F);
19777
- }, [F]), Un(() => {
19776
+ Hn(z);
19777
+ }, [z]), Un(() => {
19778
19778
  Tt.current !== ye && console.warn("[react-tooltip] Do not change `disableStyleInjection` dynamically.");
19779
19779
  }, [ye]), Un(() => {
19780
19780
  typeof window < "u" && window.dispatchEvent(new CustomEvent("react-tooltip-inject-styles", { detail: { disableCore: ye === "core", disableBase: ye } }));
@@ -19816,7 +19816,7 @@ const Dz = ({ forwardRef: n, id: a, className: i, classNameArrow: o, variant: d
19816
19816
  ht = Bt ? Yt.createElement("div", { ref: yt, className: "react-tooltip-content-wrapper" }, Bt) : null;
19817
19817
  } else Se && (ht = Se);
19818
19818
  Pe && (ht = Yt.createElement(Ez, { content: Pe }));
19819
- const bt = { forwardRef: ze, id: n, anchorId: a, anchorSelect: i, className: K2(b, fe), classNameArrow: E, content: ht, contentWrapperRef: yt, place: Me, variant: vt, offset: sn, wrapper: Mt, events: rn, openOnClick: U, positionStrategy: Ln, middlewares: T, delayShow: ln, delayHide: yn, float: at, hidden: Nt, noArrow: q, clickable: K, closeOnEsc: re, closeOnScroll: De, closeOnResize: ie, openEvents: we, closeEvents: Fe, globalCloseEvents: Ne, imperativeModeOnly: Ue, style: ue, position: He, isOpen: te, defaultIsOpen: me, border: Ve, opacity: le, arrowColor: Ee, setIsOpen: $e, afterShow: Te, afterHide: qe, disableTooltip: Ze, activeAnchor: be, setActiveAnchor: (Bt) => it(Bt), role: P };
19819
+ const bt = { forwardRef: ze, id: n, anchorId: a, anchorSelect: i, className: K2(b, fe), classNameArrow: E, content: ht, contentWrapperRef: yt, place: Me, variant: vt, offset: sn, wrapper: Mt, events: rn, openOnClick: F, positionStrategy: Ln, middlewares: T, delayShow: ln, delayHide: yn, float: at, hidden: Nt, noArrow: q, clickable: K, closeOnEsc: re, closeOnScroll: De, closeOnResize: ie, openEvents: we, closeEvents: Fe, globalCloseEvents: Ne, imperativeModeOnly: Ue, style: ue, position: He, isOpen: te, defaultIsOpen: me, border: Ve, opacity: le, arrowColor: Ee, setIsOpen: $e, afterShow: Te, afterHide: qe, disableTooltip: Ze, activeAnchor: be, setActiveAnchor: (Bt) => it(Bt), role: P };
19820
19820
  return Yt.createElement(Dz, { ...bt });
19821
19821
  });
19822
19822
  typeof window < "u" && window.addEventListener("react-tooltip-inject-styles", (n) => {
@@ -20110,7 +20110,7 @@ function Tz() {
20110
20110
  } : function(fe, ve) {
20111
20111
  return fe[ve];
20112
20112
  }
20113
- }, N = Object.getPrototypeOf(Function), z = typeof Map == "function" && typeof Map.prototype.entries == "function" ? Map : rn(), U = typeof Set == "function" && typeof Set.prototype.entries == "function" ? Set : jn(), F = typeof WeakMap == "function" ? WeakMap : Ln(), T = p ? Symbol.for("@reflect-metadata:registry") : void 0, H = Nt(), R = _t(H);
20113
+ }, N = Object.getPrototypeOf(Function), U = typeof Map == "function" && typeof Map.prototype.entries == "function" ? Map : rn(), F = typeof Set == "function" && typeof Set.prototype.entries == "function" ? Set : jn(), z = typeof WeakMap == "function" ? WeakMap : Ln(), T = p ? Symbol.for("@reflect-metadata:registry") : void 0, H = Nt(), R = _t(H);
20114
20114
  function _(fe, ve, be, it) {
20115
20115
  if (Te(be)) {
20116
20116
  if (!Me(fe))
@@ -20271,7 +20271,7 @@ function Tz() {
20271
20271
  return be;
20272
20272
  if (be.length <= 0)
20273
20273
  return Tt;
20274
- for (var un = new U(), Jn = [], It = 0, ct = be; It < ct.length; It++) {
20274
+ for (var un = new F(), Jn = [], It = 0, ct = be; It < ct.length; It++) {
20275
20275
  var ht = ct[It], yt = un.has(ht);
20276
20276
  yt || (un.add(ht), Jn.push(ht));
20277
20277
  }
@@ -20437,7 +20437,7 @@ function Tz() {
20437
20437
  function st() {
20438
20438
  var fe;
20439
20439
  !Te(T) && typeof o.Reflect < "u" && !(T in o.Reflect) && typeof o.Reflect.defineMetadata == "function" && (fe = Mt(o.Reflect));
20440
- var ve, be, it, Tt = new F(), un = {
20440
+ var ve, be, it, Tt = new z(), un = {
20441
20441
  registerProvider: Jn,
20442
20442
  getProvider: ct,
20443
20443
  setProvider: yt
@@ -20460,7 +20460,7 @@ function Tz() {
20460
20460
  case be === bt:
20461
20461
  break;
20462
20462
  default:
20463
- it === void 0 && (it = new U()), it.add(bt);
20463
+ it === void 0 && (it = new F()), it.add(bt);
20464
20464
  break;
20465
20465
  }
20466
20466
  }
@@ -20487,7 +20487,7 @@ function Tz() {
20487
20487
  }
20488
20488
  function ct(bt, Bt) {
20489
20489
  var Wt = Tt.get(bt), pt;
20490
- return Te(Wt) || (pt = Wt.get(Bt)), Te(pt) && (pt = It(bt, Bt), Te(pt) || (Te(Wt) && (Wt = new z(), Tt.set(bt, Wt)), Wt.set(Bt, pt))), pt;
20490
+ return Te(Wt) || (pt = Wt.get(Bt)), Te(pt) && (pt = It(bt, Bt), Te(pt) || (Te(Wt) && (Wt = new U(), Tt.set(bt, Wt)), Wt.set(Bt, pt))), pt;
20491
20491
  }
20492
20492
  function ht(bt) {
20493
20493
  if (Te(bt))
@@ -20502,7 +20502,7 @@ function Tz() {
20502
20502
  if (!Te(pt))
20503
20503
  return !1;
20504
20504
  var Gt = Tt.get(bt);
20505
- Te(Gt) && (Gt = new z(), Tt.set(bt, Gt)), Gt.set(Bt, Wt);
20505
+ Te(Gt) && (Gt = new U(), Tt.set(bt, Gt)), Gt.set(Bt, Wt);
20506
20506
  }
20507
20507
  return !0;
20508
20508
  }
@@ -20517,7 +20517,7 @@ function Tz() {
20517
20517
  }), fe;
20518
20518
  }
20519
20519
  function _t(fe) {
20520
- var ve = new F(), be = {
20520
+ var ve = new z(), be = {
20521
20521
  isProviderFor: function(ht, yt) {
20522
20522
  var bt = ve.get(ht);
20523
20523
  return Te(bt) ? !1 : bt.has(yt);
@@ -20534,13 +20534,13 @@ function Tz() {
20534
20534
  if (Te(Bt)) {
20535
20535
  if (!bt)
20536
20536
  return;
20537
- Bt = new z(), ve.set(ht, Bt), Wt = !0;
20537
+ Bt = new U(), ve.set(ht, Bt), Wt = !0;
20538
20538
  }
20539
20539
  var pt = Bt.get(yt);
20540
20540
  if (Te(pt)) {
20541
20541
  if (!bt)
20542
20542
  return;
20543
- if (pt = new z(), Bt.set(yt, pt), !fe.setProvider(ht, yt, be))
20543
+ if (pt = new U(), Bt.set(yt, pt), !fe.setProvider(ht, yt, be))
20544
20544
  throw Bt.delete(yt), Wt && ve.delete(ht), new Error("Wrong provider for target.");
20545
20545
  }
20546
20546
  return pt;
@@ -20616,10 +20616,10 @@ function Tz() {
20616
20616
  }
20617
20617
  }
20618
20618
  function Mt(fe) {
20619
- var ve = fe.defineMetadata, be = fe.hasOwnMetadata, it = fe.getOwnMetadata, Tt = fe.getOwnMetadataKeys, un = fe.deleteMetadata, Jn = new F(), It = {
20619
+ var ve = fe.defineMetadata, be = fe.hasOwnMetadata, it = fe.getOwnMetadata, Tt = fe.getOwnMetadataKeys, un = fe.deleteMetadata, Jn = new z(), It = {
20620
20620
  isProviderFor: function(ct, ht) {
20621
20621
  var yt = Jn.get(ct);
20622
- return !Te(yt) && yt.has(ht) ? !0 : Tt(ct, ht).length ? (Te(yt) && (yt = new U(), Jn.set(ct, yt)), yt.add(ht), !0) : !1;
20622
+ return !Te(yt) && yt.has(ht) ? !0 : Tt(ct, ht).length ? (Te(yt) && (yt = new F(), Jn.set(ct, yt)), yt.add(ht), !0) : !1;
20623
20623
  },
20624
20624
  OrdinaryDefineOwnMetadata: ve,
20625
20625
  OrdinaryHasOwnMetadata: be,
@@ -20748,7 +20748,7 @@ function Tz() {
20748
20748
  /** @class */
20749
20749
  function() {
20750
20750
  function ve() {
20751
- this._map = new z();
20751
+ this._map = new U();
20752
20752
  }
20753
20753
  return Object.defineProperty(ve.prototype, "size", {
20754
20754
  get: function() {
@@ -20902,7 +20902,7 @@ function SB({
20902
20902
  ) });
20903
20903
  }
20904
20904
  function Oz({ uuid: n, prn: a }) {
20905
- const i = lc(), o = 6, d = vC((U) => gC(U, n)), { data: p, loading: b, fetchMore: E } = zC(kF, {
20905
+ const i = lc(), o = 6, d = vC((F) => gC(F, n)), { data: p, loading: b, fetchMore: E } = zC(kF, {
20906
20906
  variables: {
20907
20907
  paginate: {
20908
20908
  first: o
@@ -20919,65 +20919,65 @@ function Oz({ uuid: n, prn: a }) {
20919
20919
  });
20920
20920
  function C() {
20921
20921
  if (!i.selection) return;
20922
- const [, U] = L.node(i, i.selection);
20923
- if (U.length === 0) return;
20924
- const [, F] = L.parent(i, i.selection), [T] = L.node(i, F);
20922
+ const [, F] = L.node(i, i.selection);
20923
+ if (F.length === 0) return;
20924
+ const [, z] = L.parent(i, i.selection), [T] = L.node(i, z);
20925
20925
  if (xt.isElement(T) && T.type === "contentValue")
20926
- return [T, F];
20927
- }
20928
- function A(U) {
20929
- const F = C();
20930
- if (F) {
20931
- const [, T] = F;
20932
- if (!U.interpolatedSmartText) return;
20933
- Ie.setNodes(i, { prn: U.prn, root: U.interpolatedSmartText }, { at: T });
20926
+ return [T, z];
20927
+ }
20928
+ function A(F) {
20929
+ const z = C();
20930
+ if (z) {
20931
+ const [, T] = z;
20932
+ if (!F.interpolatedSmartText) return;
20933
+ Ie.setNodes(i, { prn: F.prn, root: F.interpolatedSmartText }, { at: T });
20934
20934
  return;
20935
20935
  }
20936
- O(U);
20936
+ O(F);
20937
20937
  }
20938
- function O(U) {
20939
- if (!U.interpolatedSmartText) return;
20940
- const F = {
20938
+ function O(F) {
20939
+ if (!F.interpolatedSmartText) return;
20940
+ const z = {
20941
20941
  type: "contentValue",
20942
- prn: U.prn,
20943
- root: U.interpolatedSmartText,
20942
+ prn: F.prn,
20943
+ root: F.interpolatedSmartText,
20944
20944
  children: [{ text: "" }]
20945
20945
  };
20946
20946
  if (d) {
20947
- Ie.select(i, d), Ie.insertNodes(i, F);
20947
+ Ie.select(i, d), Ie.insertNodes(i, z);
20948
20948
  return;
20949
20949
  }
20950
- Ie.insertNodes(i, F);
20950
+ Ie.insertNodes(i, z);
20951
20951
  }
20952
20952
  async function B() {
20953
20953
  await E({
20954
20954
  variables: {
20955
20955
  paginate: { first: o, after: (p == null ? void 0 : p.contentItems.pageInfo).endCursor }
20956
20956
  },
20957
- updateQuery: (U, { fetchMoreResult: F }) => F ? {
20957
+ updateQuery: (F, { fetchMoreResult: z }) => z ? {
20958
20958
  contentItems: {
20959
- ...F.contentItems,
20960
- edges: [...U.contentItems.edges, ...F.contentItems.edges]
20959
+ ...z.contentItems,
20960
+ edges: [...F.contentItems.edges, ...z.contentItems.edges]
20961
20961
  }
20962
- } : U
20962
+ } : F
20963
20963
  });
20964
20964
  }
20965
20965
  function N() {
20966
- return /* @__PURE__ */ he.jsx("div", { children: Array.from({ length: (p == null ? void 0 : p.contentItems.totalCount) ?? 10 }).map((U, F) => /* @__PURE__ */ he.jsxs("div", { className: "px-3 py-2 flex items-center justify-between gap-2", children: [
20966
+ return /* @__PURE__ */ he.jsx("div", { children: Array.from({ length: (p == null ? void 0 : p.contentItems.totalCount) ?? 10 }).map((F, z) => /* @__PURE__ */ he.jsxs("div", { className: "px-3 py-2 flex items-center justify-between gap-2", children: [
20967
20967
  /* @__PURE__ */ he.jsx("span", { className: "w-4 h-4 bg-slate-100 rounded-md animate-pulse" }),
20968
20968
  /* @__PURE__ */ he.jsx("p", { className: "w-40 h-5 bg-slate-100 rounded-md animate-pulse" })
20969
- ] }, F)) });
20969
+ ] }, z)) });
20970
20970
  }
20971
- function z() {
20971
+ function U() {
20972
20972
  return /* @__PURE__ */ he.jsxs(he.Fragment, { children: [
20973
- p == null ? void 0 : p.contentItems.edges.map((U) => /* @__PURE__ */ he.jsx(oy, { text: U.node.displayName, children: /* @__PURE__ */ he.jsxs("div", { className: "bg-white py-2 shadow-2xl outline outline-gray-100 rounded-md", children: [
20973
+ p == null ? void 0 : p.contentItems.edges.map((F) => /* @__PURE__ */ he.jsx(oy, { text: F.node.displayName, children: /* @__PURE__ */ he.jsxs("div", { className: "bg-white py-2 shadow-2xl outline outline-gray-100 rounded-md", children: [
20974
20974
  /* @__PURE__ */ he.jsx("div", { className: "px-3", children: /* @__PURE__ */ he.jsxs("div", { className: "py-3 border-b flex items-center gap-2 whitespace-nowrap", children: [
20975
20975
  /* @__PURE__ */ he.jsx(El, { icon: Y4 }),
20976
- /* @__PURE__ */ he.jsx("p", { className: "font-semibold uppercase text-xs w-32 truncate", children: U.node.displayName }),
20976
+ /* @__PURE__ */ he.jsx("p", { className: "font-semibold uppercase text-xs w-32 truncate", children: F.node.displayName }),
20977
20977
  /* @__PURE__ */ he.jsx("p", { className: "underline text-xs cursor-pointer", children: "Open in library" })
20978
20978
  ] }) }),
20979
- /* @__PURE__ */ he.jsx("div", { className: "px-2 space-y-2 mt-2", children: Object.keys(ND.groupBy(U.node.contentValues, "contentField.name")).map(
20980
- (F) => /* @__PURE__ */ he.jsx(xz, { name: F, children: ND.groupBy(U.node.contentValues, "contentField.name")[F].map(
20979
+ /* @__PURE__ */ he.jsx("div", { className: "px-2 space-y-2 mt-2", children: Object.keys(ND.groupBy(F.node.contentValues, "contentField.name")).map(
20980
+ (z) => /* @__PURE__ */ he.jsx(xz, { name: z, children: ND.groupBy(F.node.contentValues, "contentField.name")[z].map(
20981
20981
  (T) => /* @__PURE__ */ he.jsx(
20982
20982
  SB,
20983
20983
  {
@@ -20986,9 +20986,9 @@ function Oz({ uuid: n, prn: a }) {
20986
20986
  },
20987
20987
  T.prn
20988
20988
  )
20989
- ) }, F)
20989
+ ) }, z)
20990
20990
  ) })
20991
- ] }) }, U.node.prn)),
20991
+ ] }) }, F.node.prn)),
20992
20992
  !b && (p == null ? void 0 : p.contentItems.pageInfo).hasNextPage ? /* @__PURE__ */ he.jsx(
20993
20993
  "div",
20994
20994
  {
@@ -21002,13 +21002,13 @@ function Oz({ uuid: n, prn: a }) {
21002
21002
  ] });
21003
21003
  }
21004
21004
  return /* @__PURE__ */ he.jsx(he.Fragment, { children: /* @__PURE__ */ he.jsxs("div", { className: "overflow-y-auto max-h-[280px]", children: [
21005
- /* @__PURE__ */ he.jsx(z, {}),
21005
+ /* @__PURE__ */ he.jsx(U, {}),
21006
21006
  b ? /* @__PURE__ */ he.jsx(N, {}) : null,
21007
21007
  (p == null ? void 0 : p.contentItems.totalCount) === 0 ? /* @__PURE__ */ he.jsx("div", { children: /* @__PURE__ */ he.jsx("p", { className: "text-center text-gray-500 w-48", children: "No content items found" }) }) : null
21008
21008
  ] }) });
21009
21009
  }
21010
21010
  function CB({ uuid: n }) {
21011
- const a = lc(), i = vC((U) => gC(U, n)), o = 6, { data: d, loading: p, fetchMore: b, refetch: E } = zC(FF, {
21011
+ const a = lc(), i = vC((F) => gC(F, n)), o = 6, { data: d, loading: p, fetchMore: b, refetch: E } = zC(FF, {
21012
21012
  variables: {
21013
21013
  paginate: {
21014
21014
  first: o
@@ -21042,61 +21042,61 @@ function CB({ uuid: n }) {
21042
21042
  ]
21043
21043
  }
21044
21044
  },
21045
- updateQuery: (U, { fetchMoreResult: F }) => F ? {
21045
+ updateQuery: (F, { fetchMoreResult: z }) => z ? {
21046
21046
  contentValues: {
21047
- ...F.contentValues,
21048
- edges: [...U.contentValues.edges, ...F.contentValues.edges]
21047
+ ...z.contentValues,
21048
+ edges: [...F.contentValues.edges, ...z.contentValues.edges]
21049
21049
  }
21050
- } : U
21050
+ } : F
21051
21051
  });
21052
21052
  }
21053
21053
  function A() {
21054
21054
  if (!a.selection) return;
21055
- const [, U] = L.node(a, a.selection);
21056
- if (U.length === 0) return;
21057
- const [, F] = L.parent(a, a.selection), [T] = L.node(a, F);
21055
+ const [, F] = L.node(a, a.selection);
21056
+ if (F.length === 0) return;
21057
+ const [, z] = L.parent(a, a.selection), [T] = L.node(a, z);
21058
21058
  if (xt.isElement(T) && T.type === "contentValue")
21059
- return [T, F];
21060
- }
21061
- function O(U) {
21062
- const F = A();
21063
- if (F) {
21064
- const [, T] = F;
21065
- if (!U.interpolatedSmartText) return;
21066
- Ie.setNodes(a, { prn: U.prn, root: U.interpolatedSmartText }, { at: T });
21059
+ return [T, z];
21060
+ }
21061
+ function O(F) {
21062
+ const z = A();
21063
+ if (z) {
21064
+ const [, T] = z;
21065
+ if (!F.interpolatedSmartText) return;
21066
+ Ie.setNodes(a, { prn: F.prn, root: F.interpolatedSmartText }, { at: T });
21067
21067
  return;
21068
21068
  }
21069
- B(U);
21069
+ B(F);
21070
21070
  }
21071
- function B(U) {
21072
- if (!U.interpolatedSmartText) return;
21073
- const F = {
21071
+ function B(F) {
21072
+ if (!F.interpolatedSmartText) return;
21073
+ const z = {
21074
21074
  type: "contentValue",
21075
- prn: U.prn,
21076
- root: U.interpolatedSmartText,
21075
+ prn: F.prn,
21076
+ root: F.interpolatedSmartText,
21077
21077
  children: [{ text: "" }]
21078
21078
  };
21079
21079
  if (i) {
21080
- Ie.select(a, i), Ie.insertNodes(a, F);
21080
+ Ie.select(a, i), Ie.insertNodes(a, z);
21081
21081
  return;
21082
21082
  }
21083
- Ie.insertNodes(a, F);
21083
+ Ie.insertNodes(a, z);
21084
21084
  }
21085
21085
  function N() {
21086
- return /* @__PURE__ */ he.jsx("div", { children: Array.from({ length: (d == null ? void 0 : d.contentValues.totalCount) ?? o }).map((U, F) => /* @__PURE__ */ he.jsxs("div", { className: "px-3 py-2 flex items-center justify-between gap-2", children: [
21086
+ return /* @__PURE__ */ he.jsx("div", { children: Array.from({ length: (d == null ? void 0 : d.contentValues.totalCount) ?? o }).map((F, z) => /* @__PURE__ */ he.jsxs("div", { className: "px-3 py-2 flex items-center justify-between gap-2", children: [
21087
21087
  /* @__PURE__ */ he.jsx("span", { className: "w-4 h-4 bg-slate-100 rounded-md animate-pulse" }),
21088
21088
  /* @__PURE__ */ he.jsx("p", { className: "w-40 h-5 bg-slate-100 rounded-md animate-pulse" })
21089
- ] }, F)) });
21089
+ ] }, z)) });
21090
21090
  }
21091
- function z() {
21091
+ function U() {
21092
21092
  return /* @__PURE__ */ he.jsxs(he.Fragment, { children: [
21093
- /* @__PURE__ */ he.jsx("div", { className: "flex flex-col min-w-48 overflow-y-auto max-h-[280px]", children: d == null ? void 0 : d.contentValues.edges.map((U) => /* @__PURE__ */ he.jsx(
21093
+ /* @__PURE__ */ he.jsx("div", { className: "flex flex-col min-w-48 overflow-y-auto max-h-[280px]", children: d == null ? void 0 : d.contentValues.edges.map((F) => /* @__PURE__ */ he.jsx(
21094
21094
  SB,
21095
21095
  {
21096
- contentValue: U.node,
21097
- onClick: () => O(U.node)
21096
+ contentValue: F.node,
21097
+ onClick: () => O(F.node)
21098
21098
  },
21099
- U.node.prn
21099
+ F.node.prn
21100
21100
  )) }),
21101
21101
  !p && (d == null ? void 0 : d.contentValues.pageInfo).hasNextPage ? /* @__PURE__ */ he.jsx(
21102
21102
  "div",
@@ -21112,7 +21112,7 @@ function CB({ uuid: n }) {
21112
21112
  }
21113
21113
  return /* @__PURE__ */ he.jsxs(YC, { children: [
21114
21114
  /* @__PURE__ */ he.jsx($1, { text: "Reusable content" }),
21115
- p ? /* @__PURE__ */ he.jsx(N, {}) : /* @__PURE__ */ he.jsx(z, {}),
21115
+ p ? /* @__PURE__ */ he.jsx(N, {}) : /* @__PURE__ */ he.jsx(U, {}),
21116
21116
  (d == null ? void 0 : d.contentValues.totalCount) === 0 ? /* @__PURE__ */ he.jsx("div", { children: /* @__PURE__ */ he.jsx("p", { className: "text-center text-gray-500 w-48", children: "No reusable content found" }) }) : null
21117
21117
  ] });
21118
21118
  }
@@ -21211,7 +21211,7 @@ function Nz({ uuid: n, context: a }) {
21211
21211
  const te = we + Fe;
21212
21212
  ue + re <= 0 && (ue = V.bottom + Ue * 0.1), He + De <= q && (He = 0 - De + q + 15), te >= K && (He = _.getBoundingClientRect().width - Fe + 15), E(ue), p(He);
21213
21213
  }
21214
- function z() {
21214
+ function U() {
21215
21215
  if (O && (!_e.isCollapsed(O) || B())) {
21216
21216
  A(!0);
21217
21217
  return;
@@ -21219,7 +21219,7 @@ function Nz({ uuid: n, context: a }) {
21219
21219
  A(!1);
21220
21220
  }
21221
21221
  Un(() => {
21222
- N(), z();
21222
+ N(), U();
21223
21223
  }, [O]), Un(() => {
21224
21224
  function R(_) {
21225
21225
  var V;
@@ -21229,31 +21229,31 @@ function Nz({ uuid: n, context: a }) {
21229
21229
  document.removeEventListener("mousedown", R);
21230
21230
  };
21231
21231
  }, [i]);
21232
- function U() {
21232
+ function F() {
21233
21233
  return /* @__PURE__ */ he.jsx("div", { className: "w-0.5 h-3 bg-[#667080]/60 mx-3" });
21234
21234
  }
21235
- function F() {
21235
+ function z() {
21236
21236
  return /* @__PURE__ */ he.jsxs(he.Fragment, { children: [
21237
21237
  /* @__PURE__ */ he.jsx(aD, { format: "bold", icon: aF }),
21238
21238
  /* @__PURE__ */ he.jsx(aD, { format: "italic", icon: rF }),
21239
21239
  /* @__PURE__ */ he.jsx(aD, { format: "underline", icon: nF }),
21240
21240
  /* @__PURE__ */ he.jsx(aD, { format: "strikethrough", icon: tF }),
21241
- /* @__PURE__ */ he.jsx(U, {})
21241
+ /* @__PURE__ */ he.jsx(F, {})
21242
21242
  ] });
21243
21243
  }
21244
21244
  function T() {
21245
21245
  return /* @__PURE__ */ he.jsxs(he.Fragment, { children: [
21246
21246
  /* @__PURE__ */ he.jsx(fF, {}),
21247
- /* @__PURE__ */ he.jsx(U, {}),
21247
+ /* @__PURE__ */ he.jsx(F, {}),
21248
21248
  /* @__PURE__ */ he.jsx($S, { format: "list", properties: { ordered: !1 }, icon: G4 }),
21249
21249
  /* @__PURE__ */ he.jsx($S, { format: "list", properties: { ordered: !0 }, icon: V4 }),
21250
- /* @__PURE__ */ he.jsx(U, {}),
21250
+ /* @__PURE__ */ he.jsx(F, {}),
21251
21251
  /* @__PURE__ */ he.jsx($S, { format: "code", icon: q4 })
21252
21252
  ] });
21253
21253
  }
21254
21254
  function H() {
21255
21255
  return B() ? /* @__PURE__ */ he.jsxs(he.Fragment, { children: [
21256
- /* @__PURE__ */ he.jsx(U, {}),
21256
+ /* @__PURE__ */ he.jsx(F, {}),
21257
21257
  /* @__PURE__ */ he.jsx(
21258
21258
  "button",
21259
21259
  {
@@ -21298,7 +21298,7 @@ function Nz({ uuid: n, context: a }) {
21298
21298
  },
21299
21299
  children: [
21300
21300
  /* @__PURE__ */ he.jsxs("div", { className: "flex items-center px-2 bg-black/80 rounded-md backdrop-blur-sm", children: [
21301
- /* @__PURE__ */ he.jsx(F, {}),
21301
+ /* @__PURE__ */ he.jsx(z, {}),
21302
21302
  /* @__PURE__ */ he.jsx(T, {}),
21303
21303
  /* @__PURE__ */ he.jsx(H, {})
21304
21304
  ] }),
@@ -21939,7 +21939,7 @@ function Vz() {
21939
21939
  delete _.rest;
21940
21940
  }
21941
21941
  var K = new B();
21942
- return N(K, K.head, R), O(R, K, _, K.head, 0), U(K);
21942
+ return N(K, K.head, R), O(R, K, _, K.head, 0), F(K);
21943
21943
  },
21944
21944
  /**
21945
21945
  * @namespace
@@ -22053,7 +22053,7 @@ function Vz() {
22053
22053
  var P = $e.index, ze = $e[0], Se = le.slice(0, P), Ae = le.slice(P + ze.length), Pe = Ve + le.length;
22054
22054
  re && Pe > re.reach && (re.reach = Pe);
22055
22055
  var We = ye.prev;
22056
- Se && (We = N(_, We, Se), Ve += Se.length), z(_, We, Ee);
22056
+ Se && (We = N(_, We, Se), Ve += Se.length), U(_, We, Ee);
22057
22057
  var Me = new C(De, Ne ? E.tokenize(ze, Ne) : ze, He, ze);
22058
22058
  if (ye = N(_, We, Me), Ae && N(_, ye, Ae), Ee > 1) {
22059
22059
  var Ct = {
@@ -22075,12 +22075,12 @@ function Vz() {
22075
22075
  var q = _.next, K = { value: V, prev: _, next: q };
22076
22076
  return _.next = K, q.prev = K, R.length++, K;
22077
22077
  }
22078
- function z(R, _, V) {
22078
+ function U(R, _, V) {
22079
22079
  for (var q = _.next, K = 0; K < V && q !== R.tail; K++)
22080
22080
  q = q.next;
22081
22081
  _.next = q, q.prev = _, R.length -= K;
22082
22082
  }
22083
- function U(R) {
22083
+ function F(R) {
22084
22084
  for (var _ = [], V = R.head.next; V !== R.tail; )
22085
22085
  _.push(V.value), V = V.next;
22086
22086
  return _;
@@ -22090,14 +22090,14 @@ function Vz() {
22090
22090
  var _ = JSON.parse(R.data), V = _.language, q = _.code, K = _.immediateClose;
22091
22091
  o.postMessage(E.highlight(q, E.languages[V], V)), K && o.close();
22092
22092
  }, !1)), E;
22093
- var F = E.util.currentScript();
22094
- F && (E.filename = F.src, F.hasAttribute("data-manual") && (E.manual = !0));
22093
+ var z = E.util.currentScript();
22094
+ z && (E.filename = z.src, z.hasAttribute("data-manual") && (E.manual = !0));
22095
22095
  function T() {
22096
22096
  E.manual || E.highlightAll();
22097
22097
  }
22098
22098
  if (!E.manual) {
22099
22099
  var H = document.readyState;
22100
- H === "loading" || H === "interactive" && F && F.defer ? document.addEventListener("DOMContentLoaded", T) : window.requestAnimationFrame ? window.requestAnimationFrame(T) : window.setTimeout(T, 16);
22100
+ H === "loading" || H === "interactive" && z && z.defer ? document.addEventListener("DOMContentLoaded", T) : window.requestAnimationFrame ? window.requestAnimationFrame(T) : window.setTimeout(T, 16);
22101
22101
  }
22102
22102
  return E;
22103
22103
  }(a);
@@ -22479,8 +22479,8 @@ function Vz() {
22479
22479
  if (typeof i > "u" || typeof document > "u")
22480
22480
  return;
22481
22481
  Element.prototype.matches || (Element.prototype.matches = Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector);
22482
- var o = "Loading…", d = function(F, T) {
22483
- return "✖ Error " + F + " while fetching file: " + T;
22482
+ var o = "Loading…", d = function(z, T) {
22483
+ return "✖ Error " + z + " while fetching file: " + T;
22484
22484
  }, p = "✖ Error: File does not exist or is empty", b = {
22485
22485
  js: "javascript",
22486
22486
  py: "python",
@@ -22492,31 +22492,31 @@ function Vz() {
22492
22492
  h: "c",
22493
22493
  tex: "latex"
22494
22494
  }, E = "data-src-status", C = "loading", A = "loaded", O = "failed", B = "pre[data-src]:not([" + E + '="' + A + '"]):not([' + E + '="' + C + '"])';
22495
- function N(F, T, H) {
22495
+ function N(z, T, H) {
22496
22496
  var R = new XMLHttpRequest();
22497
- R.open("GET", F, !0), R.onreadystatechange = function() {
22497
+ R.open("GET", z, !0), R.onreadystatechange = function() {
22498
22498
  R.readyState == 4 && (R.status < 400 && R.responseText ? T(R.responseText) : R.status >= 400 ? H(d(R.status, R.statusText)) : H(p));
22499
22499
  }, R.send(null);
22500
22500
  }
22501
- function z(F) {
22502
- var T = /^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(F || "");
22501
+ function U(z) {
22502
+ var T = /^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(z || "");
22503
22503
  if (T) {
22504
22504
  var H = Number(T[1]), R = T[2], _ = T[3];
22505
22505
  return R ? _ ? [H, Number(_)] : [H, void 0] : [H, H];
22506
22506
  }
22507
22507
  }
22508
- i.hooks.add("before-highlightall", function(F) {
22509
- F.selector += ", " + B;
22510
- }), i.hooks.add("before-sanity-check", function(F) {
22508
+ i.hooks.add("before-highlightall", function(z) {
22509
+ z.selector += ", " + B;
22510
+ }), i.hooks.add("before-sanity-check", function(z) {
22511
22511
  var T = (
22512
22512
  /** @type {HTMLPreElement} */
22513
- F.element
22513
+ z.element
22514
22514
  );
22515
22515
  if (T.matches(B)) {
22516
- F.code = "", T.setAttribute(E, C);
22516
+ z.code = "", T.setAttribute(E, C);
22517
22517
  var H = T.appendChild(document.createElement("CODE"));
22518
22518
  H.textContent = o;
22519
- var R = T.getAttribute("data-src"), _ = F.language;
22519
+ var R = T.getAttribute("data-src"), _ = z.language;
22520
22520
  if (_ === "none") {
22521
22521
  var V = (/\.(\w+)$/.exec(R) || [, "none"])[1];
22522
22522
  _ = b[V] || V;
@@ -22527,7 +22527,7 @@ function Vz() {
22527
22527
  R,
22528
22528
  function(K) {
22529
22529
  T.setAttribute(E, A);
22530
- var re = z(T.getAttribute("data-range"));
22530
+ var re = U(T.getAttribute("data-range"));
22531
22531
  if (re) {
22532
22532
  var De = K.split(/\r\n?|\n/g), ie = re[0], we = re[1] == null ? De.length : re[1];
22533
22533
  ie < 0 && (ie += De.length), ie = Math.max(0, Math.min(ie - 1, De.length)), we < 0 && (we += De.length), we = Math.max(0, Math.min(we, De.length)), K = De.slice(ie, we).join(`
@@ -22553,9 +22553,9 @@ function Vz() {
22553
22553
  i.highlightElement(_);
22554
22554
  }
22555
22555
  };
22556
- var U = !1;
22556
+ var F = !1;
22557
22557
  i.fileHighlight = function() {
22558
- U || (console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."), U = !0), i.plugins.fileHighlight.highlight.apply(this, arguments);
22558
+ F || (console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."), F = !0), i.plugins.fileHighlight.highlight.apply(this, arguments);
22559
22559
  };
22560
22560
  }();
22561
22561
  }(e2)), e2.exports;
@@ -22960,13 +22960,13 @@ function $z({ uuid: n }) {
22960
22960
  return;
22961
22961
  function B(N) {
22962
22962
  if (!(!N || typeof N == "string"))
22963
- for (var z = 0, U = N.length; z < U; z++) {
22964
- var F = N[z];
22965
- if (F.type !== "code") {
22966
- B(F.content);
22963
+ for (var U = 0, F = N.length; U < F; U++) {
22964
+ var z = N[U];
22965
+ if (z.type !== "code") {
22966
+ B(z.content);
22967
22967
  continue;
22968
22968
  }
22969
- var T = F.content[1], H = F.content[3];
22969
+ var T = z.content[1], H = z.content[3];
22970
22970
  if (T && H && T.type === "code-language" && H.type === "code-block" && typeof T.content == "string") {
22971
22971
  var R = T.content.replace(/\b#/g, "sharp").replace(/\b\+\+/g, "pp");
22972
22972
  R = (/[a-z][\w-]*/i.exec(R) || [""])[0].toLowerCase();
@@ -22978,10 +22978,10 @@ function $z({ uuid: n }) {
22978
22978
  B(O.tokens);
22979
22979
  }), n.hooks.add("wrap", function(O) {
22980
22980
  if (O.type === "code-block") {
22981
- for (var B = "", N = 0, z = O.classes.length; N < z; N++) {
22982
- var U = O.classes[N], F = /language-(.+)/.exec(U);
22983
- if (F) {
22984
- B = F[1];
22981
+ for (var B = "", N = 0, U = O.classes.length; N < U; N++) {
22982
+ var F = O.classes[N], z = /language-(.+)/.exec(F);
22983
+ if (z) {
22984
+ B = z[1];
22985
22985
  break;
22986
22986
  }
22987
22987
  }
@@ -23005,13 +23005,13 @@ function $z({ uuid: n }) {
23005
23005
  }, C = String.fromCodePoint || String.fromCharCode;
23006
23006
  function A(O) {
23007
23007
  var B = O.replace(b, "");
23008
- return B = B.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi, function(N, z) {
23009
- if (z = z.toLowerCase(), z[0] === "#") {
23010
- var U;
23011
- return z[1] === "x" ? U = parseInt(z.slice(2), 16) : U = Number(z.slice(1)), C(U);
23008
+ return B = B.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi, function(N, U) {
23009
+ if (U = U.toLowerCase(), U[0] === "#") {
23010
+ var F;
23011
+ return U[1] === "x" ? F = parseInt(U.slice(2), 16) : F = Number(U.slice(1)), C(F);
23012
23012
  } else {
23013
- var F = E[z];
23014
- return F || N;
23013
+ var z = E[U];
23014
+ return z || N;
23015
23015
  }
23016
23016
  }), B;
23017
23017
  }
@@ -23060,32 +23060,32 @@ function Qz() {
23060
23060
  return Object.keys(N).reduce(function(R, _) {
23061
23061
  return _ === "create" || typeof N[_] == "function" && (R[_] = N[_].bind(N, H)), R;
23062
23062
  }, {});
23063
- }, z;
23064
- B.includeInheritedProps ? z = function() {
23063
+ }, U;
23064
+ B.includeInheritedProps ? U = function() {
23065
23065
  return !0;
23066
- } : z = function(H, R) {
23066
+ } : U = function(H, R) {
23067
23067
  return typeof R == "number" && Array.isArray(H) || i(H, R);
23068
23068
  };
23069
- function U(H, R) {
23070
- if (z(H, R))
23069
+ function F(H, R) {
23070
+ if (U(H, R))
23071
23071
  return H[R];
23072
23072
  }
23073
- var F;
23074
- B.includeInheritedProps ? F = function(H, R) {
23073
+ var z;
23074
+ B.includeInheritedProps ? z = function(H, R) {
23075
23075
  typeof R != "string" && typeof R != "number" && (R = String(R));
23076
- var _ = U(H, R);
23076
+ var _ = F(H, R);
23077
23077
  if (R === "__proto__" || R === "prototype" || R === "constructor" && typeof _ == "function")
23078
23078
  throw new Error("For security reasons, object's magic properties cannot be set");
23079
23079
  return _;
23080
- } : F = function(H, R) {
23081
- return U(H, R);
23080
+ } : z = function(H, R) {
23081
+ return F(H, R);
23082
23082
  };
23083
23083
  function T(H, R, _, V) {
23084
23084
  if (typeof R == "number" && (R = [R]), !R || R.length === 0)
23085
23085
  return H;
23086
23086
  if (typeof R == "string")
23087
23087
  return T(H, R.split(".").map(C), _, V);
23088
- var q = R[0], K = F(H, q);
23088
+ var q = R[0], K = z(H, q);
23089
23089
  return R.length === 1 ? ((K === void 0 || !V) && (H[q] = _), K) : (K === void 0 && (typeof R[1] == "number" ? H[q] = [] : H[q] = {}), T(H[q], R.slice(1), _, V));
23090
23090
  }
23091
23091
  return N.has = function(H, R) {
@@ -23120,7 +23120,7 @@ function Qz() {
23120
23120
  _.length = 0;
23121
23121
  else if (p(_))
23122
23122
  for (V in _)
23123
- z(_, V) && delete _[V];
23123
+ U(_, V) && delete _[V];
23124
23124
  else
23125
23125
  return N.set(H, R, null);
23126
23126
  }
@@ -23140,7 +23140,7 @@ function Qz() {
23140
23140
  return _;
23141
23141
  if (typeof R == "string")
23142
23142
  return N.get(H, R.split("."), _);
23143
- var V = C(R[0]), q = F(H, V);
23143
+ var V = C(R[0]), q = z(H, V);
23144
23144
  return q === void 0 ? _ : R.length === 1 ? q : N.get(H[V], R.slice(1), _);
23145
23145
  }, N.del = function(R, _) {
23146
23146
  if (typeof _ == "number" && (_ = [_]), R == null || o(_))
@@ -23148,7 +23148,7 @@ function Qz() {
23148
23148
  if (typeof _ == "string")
23149
23149
  return N.del(R, _.split("."));
23150
23150
  var V = C(_[0]);
23151
- if (F(R, V), !z(R, V))
23151
+ if (z(R, V), !U(R, V))
23152
23152
  return R;
23153
23153
  if (_.length === 1)
23154
23154
  b(R) ? R.splice(V, 1) : delete R[V];
@@ -23187,58 +23187,63 @@ function Pz() {
23187
23187
  }
23188
23188
  var Zz = Pz();
23189
23189
  const wB = /* @__PURE__ */ im(Zz);
23190
- function Wz({ uuid: n, context: a }) {
23191
- var N;
23192
- const [i] = Kn(((N = D2(wd.getState(), n)) == null ? void 0 : N.initialValue) ?? []), o = L3(), d = T1(() => Yz(f7(GN())), []), p = Sa((z) => /* @__PURE__ */ he.jsx(Uz, { ...z }), []), b = Sa((z) => /* @__PURE__ */ he.jsx(Hz, { ...z }), []), E = wB(() => D2(wd.getState(), n).initialValue);
23190
+ function Wz({
23191
+ uuid: n,
23192
+ context: a,
23193
+ isDisabled: i
23194
+ }) {
23195
+ var U;
23196
+ const [o] = Kn(((U = D2(wd.getState(), n)) == null ? void 0 : U.initialValue) ?? []), d = L3(), p = T1(() => Yz(f7(GN())), []), b = Sa((F) => /* @__PURE__ */ he.jsx(Uz, { ...F }), []), E = Sa((F) => /* @__PURE__ */ he.jsx(Hz, { ...F }), []), C = wB(() => D2(wd.getState(), n).initialValue);
23193
23197
  wd.subscribe(
23194
- E((z) => {
23195
- Ie.select(d, []), Ie.removeNodes(d), Ie.insertNodes(d, z);
23198
+ C((F) => {
23199
+ Ie.select(p, []), Ie.removeNodes(p), Ie.insertNodes(p, F);
23196
23200
  })
23197
23201
  );
23198
- function C(z) {
23199
- A(z), o(fy({ uuid: n, state: { target: O() } }));
23202
+ function A(F) {
23203
+ O(F), d(fy({ uuid: n, state: { target: B() } }));
23200
23204
  }
23201
- function A(z) {
23202
- d.operations.some((F) => F.type !== "set_selection") && o(fy({ uuid: n, state: { value: z } }));
23205
+ function O(F) {
23206
+ p.operations.some((T) => T.type !== "set_selection") && d(fy({ uuid: n, state: { value: F } }));
23203
23207
  }
23204
- function O() {
23205
- const { selection: z } = d;
23206
- if (!z || !_e.isCollapsed(z)) return;
23207
- const [U] = _e.edges(z), F = L.before(d, U, { unit: "character" }), T = F && L.string(d, L.range(d, F, { ...F, offset: F.offset + 1 }));
23208
- if (T === " ") return;
23209
- if (F && T === "/") {
23210
- const _ = L.after(d, F, { unit: "word" });
23211
- return _ && L.string(d, L.range(d, F, _)).includes(" ") ? L.range(d, F, { ...F, offset: F.offset + 1 }) : L.range(d, F, _);
23212
- }
23213
- const H = L.before(d, U, { unit: "word" });
23214
- if (!H) return;
23215
- const R = L.before(d, H, { unit: "character" });
23216
- if (R && L.string(d, L.range(d, R, H)) === "/")
23217
- return L.range(d, R, L.after(d, H, { unit: "word" }));
23218
- }
23219
- function B(z) {
23220
- for (const U in FO)
23221
- if (d6(U, z)) {
23222
- z.preventDefault();
23223
- const F = FO[U];
23224
- j4(d, F);
23225
- }
23226
- }
23227
- return /* @__PURE__ */ he.jsx("div", { className: "relative", children: /* @__PURE__ */ he.jsxs(c7, { editor: d, initialValue: i, onChange: C, children: [
23208
+ function B() {
23209
+ const { selection: F } = p;
23210
+ if (!F || !_e.isCollapsed(F)) return;
23211
+ const [z] = _e.edges(F), T = L.before(p, z, { unit: "character" }), H = T && L.string(p, L.range(p, T, { ...T, offset: T.offset + 1 }));
23212
+ if (H === " ") return;
23213
+ if (T && H === "/") {
23214
+ const V = L.after(p, T, { unit: "word" });
23215
+ return V && L.string(p, L.range(p, T, V)).includes(" ") ? L.range(p, T, { ...T, offset: T.offset + 1 }) : L.range(p, T, V);
23216
+ }
23217
+ const R = L.before(p, z, { unit: "word" });
23218
+ if (!R) return;
23219
+ const _ = L.before(p, R, { unit: "character" });
23220
+ if (_ && L.string(p, L.range(p, _, R)) === "/")
23221
+ return L.range(p, _, L.after(p, R, { unit: "word" }));
23222
+ }
23223
+ function N(F) {
23224
+ for (const z in FO)
23225
+ if (d6(z, F)) {
23226
+ F.preventDefault();
23227
+ const T = FO[z];
23228
+ j4(p, T);
23229
+ }
23230
+ }
23231
+ return /* @__PURE__ */ he.jsx("div", { className: "relative", children: /* @__PURE__ */ he.jsxs(c7, { editor: p, initialValue: o, onChange: A, children: [
23228
23232
  /* @__PURE__ */ he.jsx(Nz, { uuid: n, context: a }),
23229
23233
  /* @__PURE__ */ he.jsx(
23230
23234
  t7,
23231
23235
  {
23232
23236
  placeholder: "Enter some text or use the / command",
23233
23237
  decorate: Sa(Gz, []),
23234
- renderLeaf: p,
23235
- renderElement: b,
23238
+ renderLeaf: b,
23239
+ renderElement: E,
23236
23240
  className: "outline-none my-2 max-h-32 overflow-y-auto overflow-x-hidden",
23237
- onKeyDown: B,
23238
- autoFocus: !0
23241
+ onKeyDown: N,
23242
+ autoFocus: !i,
23243
+ readOnly: i
23239
23244
  }
23240
23245
  ),
23241
- /* @__PURE__ */ he.jsx($z, { uuid: n })
23246
+ !i && /* @__PURE__ */ he.jsx($z, { uuid: n })
23242
23247
  ] }) });
23243
23248
  }
23244
23249
  var oD = { exports: {} }, b1 = {}, sD = { exports: {} }, n2 = {};
@@ -23298,7 +23303,7 @@ function Iz() {
23298
23303
  return b.now() - E;
23299
23304
  };
23300
23305
  }
23301
- var C = [], A = [], O = 1, B = null, N = 3, z = !1, U = !1, F = !1, T = typeof setTimeout == "function" ? setTimeout : null, H = typeof clearTimeout == "function" ? clearTimeout : null, R = typeof setImmediate < "u" ? setImmediate : null;
23306
+ var C = [], A = [], O = 1, B = null, N = 3, U = !1, F = !1, z = !1, T = typeof setTimeout == "function" ? setTimeout : null, H = typeof clearTimeout == "function" ? clearTimeout : null, R = typeof setImmediate < "u" ? setImmediate : null;
23302
23307
  function _(te) {
23303
23308
  for (var me = i(A); me !== null; ) {
23304
23309
  if (me.callback === null) o(A);
@@ -23309,9 +23314,9 @@ function Iz() {
23309
23314
  }
23310
23315
  }
23311
23316
  function V(te) {
23312
- if (F = !1, _(te), !U)
23317
+ if (z = !1, _(te), !F)
23313
23318
  if (i(C) !== null)
23314
- U = !0, ue();
23319
+ F = !0, ue();
23315
23320
  else {
23316
23321
  var me = i(A);
23317
23322
  me !== null && He(V, me.startTime - te);
@@ -23328,7 +23333,7 @@ function Iz() {
23328
23333
  var me = !0;
23329
23334
  try {
23330
23335
  e: {
23331
- U = !1, F && (F = !1, H(K), K = -1), z = !0;
23336
+ F = !1, z && (z = !1, H(K), K = -1), U = !0;
23332
23337
  var ye = N;
23333
23338
  try {
23334
23339
  t: {
@@ -23358,7 +23363,7 @@ function Iz() {
23358
23363
  }
23359
23364
  break e;
23360
23365
  } finally {
23361
- B = null, N = ye, z = !1;
23366
+ B = null, N = ye, U = !1;
23362
23367
  }
23363
23368
  me = void 0;
23364
23369
  }
@@ -23392,7 +23397,7 @@ function Iz() {
23392
23397
  n.unstable_IdlePriority = 5, n.unstable_ImmediatePriority = 1, n.unstable_LowPriority = 4, n.unstable_NormalPriority = 3, n.unstable_Profiling = null, n.unstable_UserBlockingPriority = 2, n.unstable_cancelCallback = function(te) {
23393
23398
  te.callback = null;
23394
23399
  }, n.unstable_continueExecution = function() {
23395
- U || z || (U = !0, ue());
23400
+ F || U || (F = !0, ue());
23396
23401
  }, n.unstable_forceFrameRate = function(te) {
23397
23402
  0 > te || 125 < te ? console.error(
23398
23403
  "forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"
@@ -23463,7 +23468,7 @@ function Iz() {
23463
23468
  startTime: ye,
23464
23469
  expirationTime: le,
23465
23470
  sortIndex: -1
23466
- }, ye > Ve ? (te.sortIndex = ye, a(A, te), i(C) === null && te === i(A) && (F ? (H(K), K = -1) : F = !0, He(V, ye - Ve))) : (te.sortIndex = le, a(C, te), U || z || (U = !0, ue())), te;
23471
+ }, ye > Ve ? (te.sortIndex = ye, a(A, te), i(C) === null && te === i(A) && (z ? (H(K), K = -1) : z = !0, He(V, ye - Ve))) : (te.sortIndex = le, a(C, te), F || U || (F = !0, ue())), te;
23467
23472
  }, n.unstable_shouldYield = ie, n.unstable_wrapCallback = function(te) {
23468
23473
  var me = N;
23469
23474
  return function() {
@@ -23503,7 +23508,7 @@ function Kz() {
23503
23508
  var ye = R;
23504
23509
  try {
23505
23510
  t: {
23506
- for (b(te), H = o(U); H !== null && !(H.expirationTime > te && C()); ) {
23511
+ for (b(te), H = o(F); H !== null && !(H.expirationTime > te && C()); ) {
23507
23512
  var Ve = H.callback;
23508
23513
  if (typeof Ve == "function") {
23509
23514
  H.callback = null, R = H.priorityLevel;
@@ -23514,13 +23519,13 @@ function Kz() {
23514
23519
  H.callback = le, b(te), me = !0;
23515
23520
  break t;
23516
23521
  }
23517
- H === o(U) && d(U), b(te);
23518
- } else d(U);
23519
- H = o(U);
23522
+ H === o(F) && d(F), b(te);
23523
+ } else d(F);
23524
+ H = o(F);
23520
23525
  }
23521
23526
  if (H !== null) me = !0;
23522
23527
  else {
23523
- var Ee = o(F);
23528
+ var Ee = o(z);
23524
23529
  Ee !== null && O(
23525
23530
  E,
23526
23531
  Ee.startTime - te
@@ -23572,20 +23577,20 @@ function Kz() {
23572
23577
  return ye !== 0 ? ye : te.id - me.id;
23573
23578
  }
23574
23579
  function b(te) {
23575
- for (var me = o(F); me !== null; ) {
23576
- if (me.callback === null) d(F);
23580
+ for (var me = o(z); me !== null; ) {
23581
+ if (me.callback === null) d(z);
23577
23582
  else if (me.startTime <= te)
23578
- d(F), me.sortIndex = me.expirationTime, i(U, me);
23583
+ d(z), me.sortIndex = me.expirationTime, i(F, me);
23579
23584
  else break;
23580
- me = o(F);
23585
+ me = o(z);
23581
23586
  }
23582
23587
  }
23583
23588
  function E(te) {
23584
23589
  if (q = !1, b(te), !V)
23585
- if (o(U) !== null)
23590
+ if (o(F) !== null)
23586
23591
  V = !0, A();
23587
23592
  else {
23588
- var me = o(F);
23593
+ var me = o(z);
23589
23594
  me !== null && O(
23590
23595
  E,
23591
23596
  me.startTime - te
@@ -23609,12 +23614,12 @@ function Kz() {
23609
23614
  return B.now();
23610
23615
  };
23611
23616
  } else {
23612
- var N = Date, z = N.now();
23617
+ var N = Date, U = N.now();
23613
23618
  n.unstable_now = function() {
23614
- return N.now() - z;
23619
+ return N.now() - U;
23615
23620
  };
23616
23621
  }
23617
- var U = [], F = [], T = 1, H = null, R = 3, _ = !1, V = !1, q = !1, K = typeof setTimeout == "function" ? setTimeout : null, re = typeof clearTimeout == "function" ? clearTimeout : null, De = typeof setImmediate < "u" ? setImmediate : null, ie = !1, we = -1, Fe = 5, Ne = -1;
23622
+ var F = [], z = [], T = 1, H = null, R = 3, _ = !1, V = !1, q = !1, K = typeof setTimeout == "function" ? setTimeout : null, re = typeof clearTimeout == "function" ? clearTimeout : null, De = typeof setImmediate < "u" ? setImmediate : null, ie = !1, we = -1, Fe = 5, Ne = -1;
23618
23623
  if (typeof De == "function")
23619
23624
  var Ue = function() {
23620
23625
  De(a);
@@ -23639,7 +23644,7 @@ function Kz() {
23639
23644
  }, n.unstable_getCurrentPriorityLevel = function() {
23640
23645
  return R;
23641
23646
  }, n.unstable_getFirstCallbackNode = function() {
23642
- return o(U);
23647
+ return o(F);
23643
23648
  }, n.unstable_next = function(te) {
23644
23649
  switch (R) {
23645
23650
  case 1:
@@ -23702,7 +23707,7 @@ function Kz() {
23702
23707
  startTime: ye,
23703
23708
  expirationTime: le,
23704
23709
  sortIndex: -1
23705
- }, ye > Ve ? (te.sortIndex = ye, i(F, te), o(U) === null && te === o(F) && (q ? (re(we), we = -1) : q = !0, O(E, ye - Ve))) : (te.sortIndex = le, i(U, te), V || _ || (V = !0, A())), te;
23710
+ }, ye > Ve ? (te.sortIndex = ye, i(z, te), o(F) === null && te === o(z) && (q ? (re(we), we = -1) : q = !0, O(E, ye - Ve))) : (te.sortIndex = le, i(F, te), V || _ || (V = !0, A())), te;
23706
23711
  }, n.unstable_shouldYield = C, n.unstable_wrapCallback = function(te) {
23707
23712
  var me = R;
23708
23713
  return function() {
@@ -23748,7 +23753,7 @@ function Jz() {
23748
23753
  function d(r) {
23749
23754
  return !(!r || r.nodeType !== 1 && r.nodeType !== 9 && r.nodeType !== 11);
23750
23755
  }
23751
- var p = Symbol.for("react.element"), b = Symbol.for("react.transitional.element"), E = Symbol.for("react.portal"), C = Symbol.for("react.fragment"), A = Symbol.for("react.strict_mode"), O = Symbol.for("react.profiler"), B = Symbol.for("react.provider"), N = Symbol.for("react.consumer"), z = Symbol.for("react.context"), U = Symbol.for("react.forward_ref"), F = Symbol.for("react.suspense"), T = Symbol.for("react.suspense_list"), H = Symbol.for("react.memo"), R = Symbol.for("react.lazy"), _ = Symbol.for("react.offscreen"), V = Symbol.for("react.memo_cache_sentinel"), q = Symbol.iterator;
23756
+ var p = Symbol.for("react.element"), b = Symbol.for("react.transitional.element"), E = Symbol.for("react.portal"), C = Symbol.for("react.fragment"), A = Symbol.for("react.strict_mode"), O = Symbol.for("react.profiler"), B = Symbol.for("react.provider"), N = Symbol.for("react.consumer"), U = Symbol.for("react.context"), F = Symbol.for("react.forward_ref"), z = Symbol.for("react.suspense"), T = Symbol.for("react.suspense_list"), H = Symbol.for("react.memo"), R = Symbol.for("react.lazy"), _ = Symbol.for("react.offscreen"), V = Symbol.for("react.memo_cache_sentinel"), q = Symbol.iterator;
23752
23757
  function K(r) {
23753
23758
  return r === null || typeof r != "object" ? null : (r = q && r[q] || r["@@iterator"], typeof r == "function" ? r : null);
23754
23759
  }
@@ -23767,18 +23772,18 @@ function Jz() {
23767
23772
  return "Profiler";
23768
23773
  case A:
23769
23774
  return "StrictMode";
23770
- case F:
23775
+ case z:
23771
23776
  return "Suspense";
23772
23777
  case T:
23773
23778
  return "SuspenseList";
23774
23779
  }
23775
23780
  if (typeof r == "object")
23776
23781
  switch (r.$$typeof) {
23777
- case z:
23782
+ case U:
23778
23783
  return (r.displayName || "Context") + ".Provider";
23779
23784
  case N:
23780
23785
  return (r._context.displayName || "Context") + ".Consumer";
23781
- case U:
23786
+ case F:
23782
23787
  var l = r.render;
23783
23788
  return r = r.displayName, r || (r = l.displayName || l.name || "", r = r !== "" ? "ForwardRef(" + r + ")" : "ForwardRef"), r;
23784
23789
  case H:
@@ -25557,7 +25562,7 @@ Error generating stack: ` + s.message + `
25557
25562
  ), se.return = pe, se;
25558
25563
  if (typeof se.then == "function")
25559
25564
  return nt(pe, Oc(se), Ce);
25560
- if (se.$$typeof === z)
25565
+ if (se.$$typeof === U)
25561
25566
  return nt(
25562
25567
  pe,
25563
25568
  Ym(pe, se),
@@ -25589,7 +25594,7 @@ Error generating stack: ` + s.message + `
25589
25594
  Oc(Ce),
25590
25595
  et
25591
25596
  );
25592
- if (Ce.$$typeof === z)
25597
+ if (Ce.$$typeof === U)
25593
25598
  return Re(
25594
25599
  pe,
25595
25600
  se,
@@ -25633,7 +25638,7 @@ Error generating stack: ` + s.message + `
25633
25638
  Oc(et),
25634
25639
  Ot
25635
25640
  );
25636
- if (et.$$typeof === z)
25641
+ if (et.$$typeof === U)
25637
25642
  return Ye(
25638
25643
  pe,
25639
25644
  se,
@@ -25809,7 +25814,7 @@ Error generating stack: ` + s.message + `
25809
25814
  Oc(Ce),
25810
25815
  et
25811
25816
  );
25812
- if (Ce.$$typeof === z)
25817
+ if (Ce.$$typeof === U)
25813
25818
  return ba(
25814
25819
  pe,
25815
25820
  se,
@@ -25902,7 +25907,7 @@ Error generating stack: ` + s.message + `
25902
25907
  });
25903
25908
  };
25904
25909
  }, el = n.unstable_scheduleCallback, bp = n.unstable_NormalPriority, gr = {
25905
- $$typeof: z,
25910
+ $$typeof: U,
25906
25911
  Consumer: null,
25907
25912
  Provider: null,
25908
25913
  _currentValue: null,
@@ -26079,7 +26084,7 @@ Error generating stack: ` + s.message + `
26079
26084
  function Mc(r) {
26080
26085
  if (r !== null && typeof r == "object") {
26081
26086
  if (typeof r.then == "function") return Eo(r);
26082
- if (r.$$typeof === z) return zr(r);
26087
+ if (r.$$typeof === U) return zr(r);
26083
26088
  }
26084
26089
  throw Error(o(438, String(r)));
26085
26090
  }
@@ -27698,7 +27703,7 @@ Error generating stack: ` + s.message + `
27698
27703
  ));
27699
27704
  else {
27700
27705
  if (m != null) {
27701
- if (y = m.$$typeof, y === U) {
27706
+ if (y = m.$$typeof, y === F) {
27702
27707
  l.tag = 11, l = Uc(
27703
27708
  null,
27704
27709
  l,
@@ -29489,8 +29494,8 @@ Error generating stack: ` + s.message + `
29489
29494
  break;
29490
29495
  case O:
29491
29496
  return r = sr(12, s, l, y | 2), r.elementType = O, r.lanes = S, r;
29492
- case F:
29493
- return r = sr(13, s, l, y), r.elementType = F, r.lanes = S, r;
29497
+ case z:
29498
+ return r = sr(13, s, l, y), r.elementType = z, r.lanes = S, r;
29494
29499
  case T:
29495
29500
  return r = sr(19, s, l, y), r.elementType = T, r.lanes = S, r;
29496
29501
  case _:
@@ -29499,13 +29504,13 @@ Error generating stack: ` + s.message + `
29499
29504
  if (typeof r == "object" && r !== null)
29500
29505
  switch (r.$$typeof) {
29501
29506
  case B:
29502
- case z:
29507
+ case U:
29503
29508
  k = 10;
29504
29509
  break e;
29505
29510
  case N:
29506
29511
  k = 9;
29507
29512
  break e;
29508
- case U:
29513
+ case F:
29509
29514
  k = 11;
29510
29515
  break e;
29511
29516
  case H:
@@ -32435,7 +32440,7 @@ Error generating stack: ` + s.message + `
32435
32440
  }
32436
32441
  }
32437
32442
  var Yi = {
32438
- $$typeof: z,
32443
+ $$typeof: U,
32439
32444
  Provider: null,
32440
32445
  Consumer: null,
32441
32446
  _currentValue: Ze,
@@ -33055,10 +33060,10 @@ function eU() {
33055
33060
  t.push(u);
33056
33061
  }), t.sort().join(", ");
33057
33062
  }
33058
- function z(e, t) {
33063
+ function U(e, t) {
33059
33064
  e.context === df && (v0(t, e, null, null), Ei());
33060
33065
  }
33061
- function U(e, t) {
33066
+ function F(e, t) {
33062
33067
  if (Ps !== null) {
33063
33068
  var u = t.staleFamilies;
33064
33069
  t = t.updatedFamilies, Ur(), pm(
@@ -33068,7 +33073,7 @@ function eU() {
33068
33073
  ), Ei();
33069
33074
  }
33070
33075
  }
33071
- function F(e) {
33076
+ function z(e) {
33072
33077
  Ps = e;
33073
33078
  }
33074
33079
  function T(e) {
@@ -48019,7 +48024,7 @@ Learn more: https://react.dev/warnings/version-mismatch`)
48019
48024
  findFiberByHostInstance: Bt,
48020
48025
  reconcilerVersion: "19.0.0"
48021
48026
  };
48022
- return e.overrideHookState = fw, e.overrideHookStateDeletePath = dw, e.overrideHookStateRenamePath = hw, e.overrideProps = mw, e.overridePropsDeletePath = vw, e.overridePropsRenamePath = pw, e.scheduleUpdate = gw, e.setErrorHandler = yw, e.setSuspenseHandler = bw, e.scheduleRefresh = U, e.scheduleRoot = z, e.setRefreshHandler = F, e.getCurrentFiber = Qp, e.getLaneLabelMap = Ty, e.injectProfilingHooks = ln, jt(e);
48027
+ return e.overrideHookState = fw, e.overrideHookStateDeletePath = dw, e.overrideHookStateRenamePath = hw, e.overrideProps = mw, e.overridePropsDeletePath = vw, e.overridePropsRenamePath = pw, e.scheduleUpdate = gw, e.setErrorHandler = yw, e.setSuspenseHandler = bw, e.scheduleRefresh = F, e.scheduleRoot = U, e.setRefreshHandler = z, e.getCurrentFiber = Qp, e.getLaneLabelMap = Ty, e.injectProfilingHooks = ln, jt(e);
48023
48028
  }() && Yi && window.top === window.self && (-1 < navigator.userAgent.indexOf("Chrome") && navigator.userAgent.indexOf("Edge") === -1 || -1 < navigator.userAgent.indexOf("Firefox"))) {
48024
48029
  var Dw = window.location.protocol;
48025
48030
  /^(https?|file):$/.test(Dw) && console.info(
@@ -48099,12 +48104,12 @@ function tU() {
48099
48104
  }
48100
48105
  var nU = tU();
48101
48106
  class aU {
48102
- constructor(a, i, o, d) {
48103
- this.uuid = i, this.context = d, this.client = o, wd.dispatch(fy({ uuid: i })), this.root = nU.createRoot(a);
48107
+ constructor(a, i, o, d, p) {
48108
+ this.uuid = i, this.context = d, this.client = o, this.isDisabled = p, wd.dispatch(fy({ uuid: i })), this.root = nU.createRoot(a);
48104
48109
  }
48105
48110
  render() {
48106
48111
  this.root.render(
48107
- /* @__PURE__ */ he.jsx("div", { children: /* @__PURE__ */ he.jsx(c9, { client: this.client, children: /* @__PURE__ */ he.jsx(x7, { store: wd, children: /* @__PURE__ */ he.jsx(Wz, { uuid: this.uuid, context: this.context }) }) }) })
48112
+ /* @__PURE__ */ he.jsx("div", { children: /* @__PURE__ */ he.jsx(c9, { client: this.client, children: /* @__PURE__ */ he.jsx(x7, { store: wd, children: /* @__PURE__ */ he.jsx(Wz, { uuid: this.uuid, context: this.context, isDisabled: this.isDisabled ?? !1 }) }) }) })
48108
48113
  );
48109
48114
  }
48110
48115
  }
@@ -48146,7 +48151,8 @@ const sU = ["id"], cU = /* @__PURE__ */ JB({
48146
48151
  }
48147
48152
  ] },
48148
48153
  context: {},
48149
- client: {}
48154
+ client: {},
48155
+ isDisabled: { type: Boolean }
48150
48156
  }, {
48151
48157
  tree: {},
48152
48158
  treeModifiers: {}
@@ -48170,7 +48176,7 @@ const sU = ["id"], cU = /* @__PURE__ */ JB({
48170
48176
  }));
48171
48177
  }
48172
48178
  function b() {
48173
- i = new aU(document.getElementById(o.uuid), o.uuid, o.client, o.context), i.render(), wd.dispatch(fy({ uuid: o.uuid, state: { initialValue: o.initialValue, value: o.initialValue } })), p();
48179
+ i = new aU(document.getElementById(o.uuid), o.uuid, o.client, o.context, o.isDisabled), i.render(), wd.dispatch(fy({ uuid: o.uuid, state: { initialValue: o.initialValue, value: o.initialValue } })), p();
48174
48180
  }
48175
48181
  return nR(() => {
48176
48182
  b();