@fileverse-dev/ddoc 2.1.0-yjs-patch-5 → 2.1.0-yjs-patch-6

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.es.js CHANGED
@@ -102,7 +102,7 @@ function Moe() {
102
102
  function H(R) {
103
103
  return R.displayName || "Context";
104
104
  }
105
- function G(R) {
105
+ function U(R) {
106
106
  if (R == null)
107
107
  return null;
108
108
  if (typeof R.tag == "number" && k("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof R == "function")
@@ -135,11 +135,11 @@ function Moe() {
135
135
  return O(R, R.render, "ForwardRef");
136
136
  case f:
137
137
  var _e = R.displayName || null;
138
- return _e !== null ? _e : G(R.type) || "Memo";
138
+ return _e !== null ? _e : U(R.type) || "Memo";
139
139
  case d: {
140
140
  var ut = R, ht = ut._payload, st = ut._init;
141
141
  try {
142
- return G(st(ht));
142
+ return U(st(ht));
143
143
  } catch {
144
144
  return null;
145
145
  }
@@ -147,7 +147,7 @@ function Moe() {
147
147
  }
148
148
  return null;
149
149
  }
150
- var U = Object.assign, V = 0, W, J, re, Z, ie, me, ne;
150
+ var G = Object.assign, V = 0, W, J, re, Z, ie, me, ne;
151
151
  function ye() {
152
152
  }
153
153
  ye.__reactDisabledLog = !0;
@@ -183,25 +183,25 @@ function Moe() {
183
183
  writable: !0
184
184
  };
185
185
  Object.defineProperties(console, {
186
- log: U({}, R, {
186
+ log: G({}, R, {
187
187
  value: W
188
188
  }),
189
- info: U({}, R, {
189
+ info: G({}, R, {
190
190
  value: J
191
191
  }),
192
- warn: U({}, R, {
192
+ warn: G({}, R, {
193
193
  value: re
194
194
  }),
195
- error: U({}, R, {
195
+ error: G({}, R, {
196
196
  value: Z
197
197
  }),
198
- group: U({}, R, {
198
+ group: G({}, R, {
199
199
  value: ie
200
200
  }),
201
- groupCollapsed: U({}, R, {
201
+ groupCollapsed: G({}, R, {
202
202
  value: me
203
203
  }),
204
- groupEnd: U({}, R, {
204
+ groupEnd: G({}, R, {
205
205
  value: ne
206
206
  })
207
207
  });
@@ -411,8 +411,8 @@ function Moe() {
411
411
  }
412
412
  function Me(R, ae) {
413
413
  if (typeof R.ref == "string" && Ze.current && ae && Ze.current.stateNode !== ae) {
414
- var Ae = G(Ze.current.type);
415
- Pt[Ae] || (k('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', G(Ze.current.type), R.ref), Pt[Ae] = !0);
414
+ var Ae = U(Ze.current.type);
415
+ Pt[Ae] || (k('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', U(Ze.current.type), R.ref), Pt[Ae] = !0);
416
416
  }
417
417
  }
418
418
  function Ye(R, ae) {
@@ -500,7 +500,7 @@ function Moe() {
500
500
  function wn() {
501
501
  {
502
502
  if (et.current) {
503
- var R = G(et.current.type);
503
+ var R = U(et.current.type);
504
504
  if (R)
505
505
  return `
506
506
 
@@ -535,7 +535,7 @@ Check the top-level render call using <` + Ae + ">.");
535
535
  return;
536
536
  xn[Ae] = !0;
537
537
  var _e = "";
538
- R && R._owner && R._owner !== et.current && (_e = " It was passed a child from " + G(R._owner.type) + "."), St(R), k('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', Ae, _e), St(null);
538
+ R && R._owner && R._owner !== et.current && (_e = " It was passed a child from " + U(R._owner.type) + "."), St(R), k('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', Ae, _e), St(null);
539
539
  }
540
540
  }
541
541
  function Xn(R, ae) {
@@ -572,11 +572,11 @@ Check the top-level render call using <` + Ae + ">.");
572
572
  else
573
573
  return;
574
574
  if (Ae) {
575
- var _e = G(ae);
575
+ var _e = U(ae);
576
576
  M(Ae, R.props, "prop", _e, R);
577
577
  } else if (ae.PropTypes !== void 0 && !Mt) {
578
578
  Mt = !0;
579
- var ut = G(ae);
579
+ var ut = U(ae);
580
580
  k("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", ut || "Unknown");
581
581
  }
582
582
  typeof ae.getDefaultProps == "function" && !ae.getDefaultProps.isReactClassApproved && k("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
@@ -604,7 +604,7 @@ Check the top-level render call using <` + Ae + ">.");
604
604
  var te = zt();
605
605
  te ? Te += te : Te += wn();
606
606
  var Ee;
607
- R === null ? Ee = "null" : B(R) ? Ee = "array" : R !== void 0 && R.$$typeof === e ? (Ee = "<" + (G(R.type) || "Unknown") + " />", Te = " Did you accidentally export a JSX literal instead of a component?") : Ee = typeof R, k("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", Ee, Te);
607
+ R === null ? Ee = "null" : B(R) ? Ee = "array" : R !== void 0 && R.$$typeof === e ? (Ee = "<" + (U(R.type) || "Unknown") + " />", Te = " Did you accidentally export a JSX literal instead of a component?") : Ee = typeof R, k("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", Ee, Te);
608
608
  }
609
609
  var Oe = Ot(R, ae, Ae, ut, ht);
610
610
  if (Oe == null)
@@ -623,7 +623,7 @@ Check the top-level render call using <` + Ae + ">.");
623
623
  Xn(Nt, R);
624
624
  }
625
625
  if (oe.call(ae, "key")) {
626
- var cn = G(R), Bt = Object.keys(ae).filter(function(Mr) {
626
+ var cn = U(R), Bt = Object.keys(ae).filter(function(Mr) {
627
627
  return Mr !== "key";
628
628
  }), Nr = Bt.length > 0 ? "{key: someKey, " + Bt.join(": ..., ") + ": ...}" : "{key: someKey}";
629
629
  if (!la[cn + Nr]) {
@@ -13058,8 +13058,8 @@ function yj(t) {
13058
13058
  y: m
13059
13059
  };
13060
13060
  if (h = H.x, m = H.y, l) {
13061
- var G;
13062
- return Object.assign({}, O, (G = {}, G[w] = k ? "0" : "", G[b] = v ? "0" : "", G.transform = (x.devicePixelRatio || 1) <= 1 ? "translate(" + h + "px, " + m + "px)" : "translate3d(" + h + "px, " + m + "px, 0)", G));
13061
+ var U;
13062
+ return Object.assign({}, O, (U = {}, U[w] = k ? "0" : "", U[b] = v ? "0" : "", U.transform = (x.devicePixelRatio || 1) <= 1 ? "translate(" + h + "px, " + m + "px)" : "translate3d(" + h + "px, " + m + "px, 0)", U));
13063
13063
  }
13064
13064
  return Object.assign({}, O, (e = {}, e[w] = k ? m + "px" : "", e[b] = v ? h + "px" : "", e.transform = "", e));
13065
13065
  }
@@ -13274,9 +13274,9 @@ function Fm(t, e) {
13274
13274
  }, O = t.modifiersData.offset;
13275
13275
  if (d === dp && O) {
13276
13276
  var H = O[i];
13277
- Object.keys(j).forEach(function(G) {
13278
- var U = [yo, mo].indexOf(G) >= 0 ? 1 : -1, V = [ts, mo].indexOf(G) >= 0 ? "y" : "x";
13279
- j[G] += H[V] * U;
13277
+ Object.keys(j).forEach(function(U) {
13278
+ var G = [yo, mo].indexOf(U) >= 0 ? 1 : -1, V = [ts, mo].indexOf(U) >= 0 ? "y" : "x";
13279
+ j[U] += H[V] * G;
13280
13280
  });
13281
13281
  }
13282
13282
  return j;
@@ -13320,13 +13320,13 @@ function $0e(t) {
13320
13320
  allowedAutoPlacements: m
13321
13321
  }) : he);
13322
13322
  }, []), x = e.rects.reference, A = e.rects.popper, E = /* @__PURE__ */ new Map(), L = !0, N = w[0], j = 0; j < w.length; j++) {
13323
- var O = w[j], H = za(O), G = Zh(O) === Uh, U = [ts, mo].indexOf(H) >= 0, V = U ? "width" : "height", W = Fm(e, {
13323
+ var O = w[j], H = za(O), U = Zh(O) === Uh, G = [ts, mo].indexOf(H) >= 0, V = G ? "width" : "height", W = Fm(e, {
13324
13324
  placement: O,
13325
13325
  boundary: u,
13326
13326
  rootBoundary: f,
13327
13327
  altBoundary: d,
13328
13328
  padding: c
13329
- }), J = U ? G ? yo : ns : G ? mo : ts;
13329
+ }), J = G ? U ? yo : ns : U ? mo : ts;
13330
13330
  x[V] > A[V] && (J = U3(J));
13331
13331
  var re = U3(J), Z = [];
13332
13332
  if (s && Z.push(W[H] <= 0), a && Z.push(W[J] <= 0, W[re] <= 0), Z.every(function(ue) {
@@ -13468,10 +13468,10 @@ function c1e(t) {
13468
13468
  };
13469
13469
  if (A) {
13470
13470
  if (s) {
13471
- var G, U = w === "y" ? ts : ns, V = w === "y" ? mo : yo, W = w === "y" ? "height" : "width", J = A[w], re = J + g[U], Z = J - g[V], ie = h ? -L[W] / 2 : 0, me = k === Uh ? E[W] : L[W], ne = k === Uh ? -L[W] : -E[W], ye = e.elements.arrow, ue = h && ye ? XA(ye) : {
13471
+ var U, G = w === "y" ? ts : ns, V = w === "y" ? mo : yo, W = w === "y" ? "height" : "width", J = A[w], re = J + g[G], Z = J - g[V], ie = h ? -L[W] / 2 : 0, me = k === Uh ? E[W] : L[W], ne = k === Uh ? -L[W] : -E[W], ye = e.elements.arrow, ue = h && ye ? XA(ye) : {
13472
13472
  width: 0,
13473
13473
  height: 0
13474
- }, he = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : iq(), Y = he[U], ve = he[V], we = nm(0, E[W], ue[W]), Re = b ? E[W] / 2 - ie - we - Y - j.mainAxis : me - we - Y - j.mainAxis, Pe = b ? -E[W] / 2 + ie + we + ve + j.mainAxis : ne + we + ve + j.mainAxis, Ce = e.elements.arrow && gy(e.elements.arrow), Le = Ce ? w === "y" ? Ce.clientTop || 0 : Ce.clientLeft || 0 : 0, Se = (G = O == null ? void 0 : O[w]) != null ? G : 0, le = J + Re - Se - Le, Q = J + Pe - Se, oe = nm(h ? G6(re, le) : re, J, h ? H1(Z, Q) : Z);
13474
+ }, he = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : iq(), Y = he[G], ve = he[V], we = nm(0, E[W], ue[W]), Re = b ? E[W] / 2 - ie - we - Y - j.mainAxis : me - we - Y - j.mainAxis, Pe = b ? -E[W] / 2 + ie + we + ve + j.mainAxis : ne + we + ve + j.mainAxis, Ce = e.elements.arrow && gy(e.elements.arrow), Le = Ce ? w === "y" ? Ce.clientTop || 0 : Ce.clientLeft || 0 : 0, Se = (U = O == null ? void 0 : O[w]) != null ? U : 0, le = J + Re - Se - Le, Q = J + Pe - Se, oe = nm(h ? G6(re, le) : re, J, h ? H1(Z, Q) : Z);
13475
13475
  A[w] = oe, H[w] = oe - J;
13476
13476
  }
13477
13477
  if (a) {
@@ -14085,7 +14085,7 @@ function K1e(t, e) {
14085
14085
  return Ce(), ie(), J(), re("onCreate", [w]), n.showOnCreate && B(), A.addEventListener("mouseenter", function() {
14086
14086
  w.props.interactive && w.state.isVisible && w.clearDelayTimeouts();
14087
14087
  }), A.addEventListener("mouseleave", function() {
14088
- w.props.interactive && w.props.trigger.indexOf("mouseenter") >= 0 && U().addEventListener("mousemove", p);
14088
+ w.props.interactive && w.props.trigger.indexOf("mouseenter") >= 0 && G().addEventListener("mousemove", p);
14089
14089
  }), w;
14090
14090
  function j() {
14091
14091
  var Me = w.props.touch;
@@ -14098,11 +14098,11 @@ function K1e(t, e) {
14098
14098
  var Me;
14099
14099
  return !!((Me = w.props.render) != null && Me.$$tippy);
14100
14100
  }
14101
- function G() {
14101
+ function U() {
14102
14102
  return m || t;
14103
14103
  }
14104
- function U() {
14105
- var Me = G().parentNode;
14104
+ function G() {
14105
+ var Me = U().parentNode;
14106
14106
  return Me ? I1e(Me) : document;
14107
14107
  }
14108
14108
  function V() {
@@ -14141,12 +14141,12 @@ function K1e(t, e) {
14141
14141
  if (!(N || !w.props.aria.expanded)) {
14142
14142
  var Me = sd(w.props.triggerTarget || t);
14143
14143
  Me.forEach(function(Ye) {
14144
- w.props.interactive ? Ye.setAttribute("aria-expanded", w.state.isVisible && Ye === G() ? "true" : "false") : Ye.removeAttribute("aria-expanded");
14144
+ w.props.interactive ? Ye.setAttribute("aria-expanded", w.state.isVisible && Ye === U() ? "true" : "false") : Ye.removeAttribute("aria-expanded");
14145
14145
  });
14146
14146
  }
14147
14147
  }
14148
14148
  function me() {
14149
- U().removeEventListener("mousemove", p), yg = yg.filter(function(Me) {
14149
+ G().removeEventListener("mousemove", p), yg = yg.filter(function(Me) {
14150
14150
  return Me !== p;
14151
14151
  });
14152
14152
  }
@@ -14174,11 +14174,11 @@ function K1e(t, e) {
14174
14174
  l = !1;
14175
14175
  }
14176
14176
  function he() {
14177
- var Me = U();
14177
+ var Me = G();
14178
14178
  Me.addEventListener("mousedown", ne, !0), Me.addEventListener("touchend", ne, O0), Me.addEventListener("touchstart", ue, O0), Me.addEventListener("touchmove", ye, O0);
14179
14179
  }
14180
14180
  function Y() {
14181
- var Me = U();
14181
+ var Me = G();
14182
14182
  Me.removeEventListener("mousedown", ne, !0), Me.removeEventListener("touchend", ne, O0), Me.removeEventListener("touchstart", ue, O0), Me.removeEventListener("touchmove", ye, O0);
14183
14183
  }
14184
14184
  function ve(Me, Ye) {
@@ -14246,7 +14246,7 @@ function K1e(t, e) {
14246
14246
  }
14247
14247
  }
14248
14248
  function le(Me) {
14249
- var Ye = Me.target, at = G().contains(Ye) || A.contains(Ye);
14249
+ var Ye = Me.target, at = U().contains(Ye) || A.contains(Ye);
14250
14250
  if (!(Me.type === "mousemove" && at)) {
14251
14251
  var qt = I().concat(A).map(function(Ot) {
14252
14252
  var et, yt = Ot._tippy, St = (et = yt.popperInstance) == null ? void 0 : et.state;
@@ -14270,7 +14270,7 @@ function K1e(t, e) {
14270
14270
  }
14271
14271
  }
14272
14272
  function oe(Me) {
14273
- w.props.trigger.indexOf("focusin") < 0 && Me.target !== G() || w.props.interactive && Me.relatedTarget && A.contains(Me.relatedTarget) || ee(Me);
14273
+ w.props.trigger.indexOf("focusin") < 0 && Me.target !== U() || w.props.interactive && Me.relatedTarget && A.contains(Me.relatedTarget) || ee(Me);
14274
14274
  }
14275
14275
  function se(Me) {
14276
14276
  return Ca.isTouch ? O() !== Me.type.indexOf("touch") >= 0 : !1;
@@ -14279,7 +14279,7 @@ function K1e(t, e) {
14279
14279
  q();
14280
14280
  var Me = w.props, Ye = Me.popperOptions, at = Me.placement, qt = Me.offset, Ot = Me.getReferenceClientRect, et = Me.moveTransition, yt = H() ? hx(A).arrow : null, St = Ot ? {
14281
14281
  getBoundingClientRect: Ot,
14282
- contextElement: Ot.contextElement || G()
14282
+ contextElement: Ot.contextElement || U()
14283
14283
  } : t, Mt = {
14284
14284
  name: "$$tippy",
14285
14285
  enabled: !0,
@@ -14336,7 +14336,7 @@ function K1e(t, e) {
14336
14336
  w.popperInstance && (w.popperInstance.destroy(), w.popperInstance = null);
14337
14337
  }
14338
14338
  function M() {
14339
- var Me = w.props.appendTo, Ye, at = G();
14339
+ var Me = w.props.appendTo, Ye, at = U();
14340
14340
  w.props.interactive && Me === dq || Me === "parent" ? Ye = at.parentNode : Ye = hq(Me, [at]), Ye.contains(A) || Ye.appendChild(A), w.state.isMounted = !0, He(), process.env.NODE_ENV !== "production" && gl(w.props.interactive && Me === Ss.appendTo && at.nextElementSibling !== A, ["Interactive tippy element may not be accessible via keyboard", "navigation because it is not directly after the reference element", "in the DOM source order.", `
14341
14341
 
14342
14342
  `, "Using a wrapper <div> or <span> tag around the reference element", "solves this by creating a new parentNode context.", `
@@ -14399,7 +14399,7 @@ function K1e(t, e) {
14399
14399
  function We() {
14400
14400
  process.env.NODE_ENV !== "production" && gl(w.state.isDestroyed, Ff("show"));
14401
14401
  var Me = w.state.isVisible, Ye = w.state.isDestroyed, at = !w.state.isEnabled, qt = Ca.isTouch && !w.props.touch, Ot = z7(w.props.duration, 0, Ss.duration);
14402
- if (!(Me || Ye || at || qt) && !G().hasAttribute("disabled") && (re("onShow", [w], !1), w.props.onShow(w) !== !1)) {
14402
+ if (!(Me || Ye || at || qt) && !U().hasAttribute("disabled") && (re("onShow", [w], !1), w.props.onShow(w) !== !1)) {
14403
14403
  if (w.state.isVisible = !0, H() && (A.style.visibility = "visible"), J(), he(), w.state.isMounted || (A.style.transition = "none"), H()) {
14404
14404
  var et = V(), yt = et.box, St = et.content;
14405
14405
  B7([yt, St], 0);
@@ -14430,7 +14430,7 @@ function K1e(t, e) {
14430
14430
  }
14431
14431
  }
14432
14432
  function Pt(Me) {
14433
- process.env.NODE_ENV !== "production" && gl(w.state.isDestroyed, Ff("hideWithInteractivity")), U().addEventListener("mousemove", p), Cj(yg, p), p(Me);
14433
+ process.env.NODE_ENV !== "production" && gl(w.state.isDestroyed, Ff("hideWithInteractivity")), G().addEventListener("mousemove", p), Cj(yg, p), p(Me);
14434
14434
  }
14435
14435
  function ln() {
14436
14436
  process.env.NODE_ENV !== "production" && gl(w.state.isDestroyed, Ff("unmount")), w.state.isVisible && w.hide(), w.state.isMounted && (q(), I().forEach(function(Me) {
@@ -14990,13 +14990,13 @@ function cfe() {
14990
14990
  var x = !1, A, E, L = function(H) {
14991
14991
  if (!x) {
14992
14992
  x = !0, A = H;
14993
- var G = h(H);
14993
+ var U = h(H);
14994
14994
  if (p !== void 0 && g.hasValue) {
14995
- var U = g.value;
14996
- if (p(U, G))
14997
- return E = U, U;
14995
+ var G = g.value;
14996
+ if (p(G, U))
14997
+ return E = G, G;
14998
14998
  }
14999
- return E = G, G;
14999
+ return E = U, U;
15000
15000
  }
15001
15001
  var V = A, W = E;
15002
15002
  if (r(V, H))
@@ -15561,7 +15561,7 @@ function xfe() {
15561
15561
  function H(R) {
15562
15562
  return R.displayName || "Context";
15563
15563
  }
15564
- function G(R) {
15564
+ function U(R) {
15565
15565
  if (R == null)
15566
15566
  return null;
15567
15567
  if (typeof R.tag == "number" && k("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof R == "function")
@@ -15594,11 +15594,11 @@ function xfe() {
15594
15594
  return O(R, R.render, "ForwardRef");
15595
15595
  case f:
15596
15596
  var _e = R.displayName || null;
15597
- return _e !== null ? _e : G(R.type) || "Memo";
15597
+ return _e !== null ? _e : U(R.type) || "Memo";
15598
15598
  case d: {
15599
15599
  var ut = R, ht = ut._payload, st = ut._init;
15600
15600
  try {
15601
- return G(st(ht));
15601
+ return U(st(ht));
15602
15602
  } catch {
15603
15603
  return null;
15604
15604
  }
@@ -15606,7 +15606,7 @@ function xfe() {
15606
15606
  }
15607
15607
  return null;
15608
15608
  }
15609
- var U = Object.assign, V = 0, W, J, re, Z, ie, me, ne;
15609
+ var G = Object.assign, V = 0, W, J, re, Z, ie, me, ne;
15610
15610
  function ye() {
15611
15611
  }
15612
15612
  ye.__reactDisabledLog = !0;
@@ -15642,25 +15642,25 @@ function xfe() {
15642
15642
  writable: !0
15643
15643
  };
15644
15644
  Object.defineProperties(console, {
15645
- log: U({}, R, {
15645
+ log: G({}, R, {
15646
15646
  value: W
15647
15647
  }),
15648
- info: U({}, R, {
15648
+ info: G({}, R, {
15649
15649
  value: J
15650
15650
  }),
15651
- warn: U({}, R, {
15651
+ warn: G({}, R, {
15652
15652
  value: re
15653
15653
  }),
15654
- error: U({}, R, {
15654
+ error: G({}, R, {
15655
15655
  value: Z
15656
15656
  }),
15657
- group: U({}, R, {
15657
+ group: G({}, R, {
15658
15658
  value: ie
15659
15659
  }),
15660
- groupCollapsed: U({}, R, {
15660
+ groupCollapsed: G({}, R, {
15661
15661
  value: me
15662
15662
  }),
15663
- groupEnd: U({}, R, {
15663
+ groupEnd: G({}, R, {
15664
15664
  value: ne
15665
15665
  })
15666
15666
  });
@@ -15870,8 +15870,8 @@ function xfe() {
15870
15870
  }
15871
15871
  function Me(R, ae) {
15872
15872
  if (typeof R.ref == "string" && Ze.current && ae && Ze.current.stateNode !== ae) {
15873
- var Ae = G(Ze.current.type);
15874
- Pt[Ae] || (k('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', G(Ze.current.type), R.ref), Pt[Ae] = !0);
15873
+ var Ae = U(Ze.current.type);
15874
+ Pt[Ae] || (k('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', U(Ze.current.type), R.ref), Pt[Ae] = !0);
15875
15875
  }
15876
15876
  }
15877
15877
  function Ye(R, ae) {
@@ -15959,7 +15959,7 @@ function xfe() {
15959
15959
  function wn() {
15960
15960
  {
15961
15961
  if (et.current) {
15962
- var R = G(et.current.type);
15962
+ var R = U(et.current.type);
15963
15963
  if (R)
15964
15964
  return `
15965
15965
 
@@ -15994,7 +15994,7 @@ Check the top-level render call using <` + Ae + ">.");
15994
15994
  return;
15995
15995
  xn[Ae] = !0;
15996
15996
  var _e = "";
15997
- R && R._owner && R._owner !== et.current && (_e = " It was passed a child from " + G(R._owner.type) + "."), St(R), k('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', Ae, _e), St(null);
15997
+ R && R._owner && R._owner !== et.current && (_e = " It was passed a child from " + U(R._owner.type) + "."), St(R), k('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', Ae, _e), St(null);
15998
15998
  }
15999
15999
  }
16000
16000
  function Xn(R, ae) {
@@ -16031,11 +16031,11 @@ Check the top-level render call using <` + Ae + ">.");
16031
16031
  else
16032
16032
  return;
16033
16033
  if (Ae) {
16034
- var _e = G(ae);
16034
+ var _e = U(ae);
16035
16035
  M(Ae, R.props, "prop", _e, R);
16036
16036
  } else if (ae.PropTypes !== void 0 && !Mt) {
16037
16037
  Mt = !0;
16038
- var ut = G(ae);
16038
+ var ut = U(ae);
16039
16039
  k("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", ut || "Unknown");
16040
16040
  }
16041
16041
  typeof ae.getDefaultProps == "function" && !ae.getDefaultProps.isReactClassApproved && k("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
@@ -16063,7 +16063,7 @@ Check the top-level render call using <` + Ae + ">.");
16063
16063
  var te = zt();
16064
16064
  te ? Te += te : Te += wn();
16065
16065
  var Ee;
16066
- R === null ? Ee = "null" : B(R) ? Ee = "array" : R !== void 0 && R.$$typeof === e ? (Ee = "<" + (G(R.type) || "Unknown") + " />", Te = " Did you accidentally export a JSX literal instead of a component?") : Ee = typeof R, k("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", Ee, Te);
16066
+ R === null ? Ee = "null" : B(R) ? Ee = "array" : R !== void 0 && R.$$typeof === e ? (Ee = "<" + (U(R.type) || "Unknown") + " />", Te = " Did you accidentally export a JSX literal instead of a component?") : Ee = typeof R, k("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", Ee, Te);
16067
16067
  }
16068
16068
  var Oe = Ot(R, ae, Ae, ut, ht);
16069
16069
  if (Oe == null)
@@ -16082,7 +16082,7 @@ Check the top-level render call using <` + Ae + ">.");
16082
16082
  Xn(Nt, R);
16083
16083
  }
16084
16084
  if (oe.call(ae, "key")) {
16085
- var cn = G(R), Bt = Object.keys(ae).filter(function(Mr) {
16085
+ var cn = U(R), Bt = Object.keys(ae).filter(function(Mr) {
16086
16086
  return Mr !== "key";
16087
16087
  }), Nr = Bt.length > 0 ? "{key: someKey, " + Bt.join(": ..., ") + ": ...}" : "{key: someKey}";
16088
16088
  if (!la[cn + Nr]) {
@@ -16437,7 +16437,7 @@ function Xfe(t) {
16437
16437
  return Vfe.test(t);
16438
16438
  }
16439
16439
  function $fe() {
16440
- const t = In("colors"), e = In("spacing"), n = In("blur"), r = In("brightness"), i = In("borderColor"), s = In("borderRadius"), o = In("borderSpacing"), a = In("borderWidth"), l = In("contrast"), c = In("grayscale"), u = In("hueRotate"), f = In("invert"), d = In("gap"), h = In("gradientColorStops"), p = In("gradientColorStopPositions"), m = In("inset"), g = In("margin"), v = In("opacity"), k = In("padding"), b = In("saturate"), w = In("scale"), x = In("sepia"), A = In("skew"), E = In("space"), L = In("translate"), N = () => ["auto", "contain", "none"], j = () => ["auto", "hidden", "clip", "visible", "scroll"], O = () => ["auto", Gt, e], H = () => [Gt, e], G = () => ["", dl, Dc], U = () => ["auto", n1, Gt], V = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], W = () => ["solid", "dashed", "dotted", "double", "none"], J = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], re = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], Z = () => ["", "0", Gt], ie = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], me = () => [n1, bg], ne = () => [n1, Gt];
16440
+ const t = In("colors"), e = In("spacing"), n = In("blur"), r = In("brightness"), i = In("borderColor"), s = In("borderRadius"), o = In("borderSpacing"), a = In("borderWidth"), l = In("contrast"), c = In("grayscale"), u = In("hueRotate"), f = In("invert"), d = In("gap"), h = In("gradientColorStops"), p = In("gradientColorStopPositions"), m = In("inset"), g = In("margin"), v = In("opacity"), k = In("padding"), b = In("saturate"), w = In("scale"), x = In("sepia"), A = In("skew"), E = In("space"), L = In("translate"), N = () => ["auto", "contain", "none"], j = () => ["auto", "hidden", "clip", "visible", "scroll"], O = () => ["auto", Gt, e], H = () => [Gt, e], U = () => ["", dl, Dc], G = () => ["auto", n1, Gt], V = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], W = () => ["solid", "dashed", "dotted", "double", "none"], J = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], re = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], Z = () => ["", "0", Gt], ie = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], me = () => [n1, bg], ne = () => [n1, Gt];
16441
16441
  return {
16442
16442
  cacheSize: 500,
16443
16443
  separator: ":",
@@ -16449,7 +16449,7 @@ function $fe() {
16449
16449
  borderColor: [t],
16450
16450
  borderRadius: ["none", "", "full", jc, Gt],
16451
16451
  borderSpacing: H(),
16452
- borderWidth: G(),
16452
+ borderWidth: U(),
16453
16453
  contrast: me(),
16454
16454
  grayscale: Z(),
16455
16455
  hueRotate: ne(),
@@ -16755,14 +16755,14 @@ function $fe() {
16755
16755
  * @see https://tailwindcss.com/docs/grid-column
16756
16756
  */
16757
16757
  "col-start": [{
16758
- "col-start": U()
16758
+ "col-start": G()
16759
16759
  }],
16760
16760
  /**
16761
16761
  * Grid Column End
16762
16762
  * @see https://tailwindcss.com/docs/grid-column
16763
16763
  */
16764
16764
  "col-end": [{
16765
- "col-end": U()
16765
+ "col-end": G()
16766
16766
  }],
16767
16767
  /**
16768
16768
  * Grid Template Rows
@@ -16785,14 +16785,14 @@ function $fe() {
16785
16785
  * @see https://tailwindcss.com/docs/grid-row
16786
16786
  */
16787
16787
  "row-start": [{
16788
- "row-start": U()
16788
+ "row-start": G()
16789
16789
  }],
16790
16790
  /**
16791
16791
  * Grid Row End
16792
16792
  * @see https://tailwindcss.com/docs/grid-row
16793
16793
  */
16794
16794
  "row-end": [{
16795
- "row-end": U()
16795
+ "row-end": G()
16796
16796
  }],
16797
16797
  /**
16798
16798
  * Grid Auto Flow
@@ -17755,7 +17755,7 @@ function $fe() {
17755
17755
  * @see https://tailwindcss.com/docs/ring-width
17756
17756
  */
17757
17757
  "ring-w": [{
17758
- ring: G()
17758
+ ring: U()
17759
17759
  }],
17760
17760
  /**
17761
17761
  * Ring Width Inset
@@ -41963,12 +41963,12 @@ const jDe = (t) => ({
41963
41963
  }, h = dS(i), p = fS(h), m = await o.getDimensions(c), g = h === "y", v = g ? "top" : "left", k = g ? "bottom" : "right", b = g ? "clientHeight" : "clientWidth", w = s.reference[p] + s.reference[h] - d[h] - s.floating[p], x = d[h] - s.reference[h], A = await (o.getOffsetParent == null ? void 0 : o.getOffsetParent(c));
41964
41964
  let E = A ? A[b] : 0;
41965
41965
  (!E || !await (o.isElement == null ? void 0 : o.isElement(A))) && (E = a.floating[b] || s.floating[p]);
41966
- const L = w / 2 - x / 2, N = E / 2 - m[p] / 2 - 1, j = ja(f[v], N), O = ja(f[k], N), H = j, G = E - m[p] - O, U = E / 2 - m[p] / 2 + L, V = xx(H, U, G), W = !l.arrow && O2(i) != null && U !== V && s.reference[p] / 2 - (U < H ? j : O) - m[p] / 2 < 0, J = W ? U < H ? U - H : U - G : 0;
41966
+ const L = w / 2 - x / 2, N = E / 2 - m[p] / 2 - 1, j = ja(f[v], N), O = ja(f[k], N), H = j, U = E - m[p] - O, G = E / 2 - m[p] / 2 + L, V = xx(H, G, U), W = !l.arrow && O2(i) != null && G !== V && s.reference[p] / 2 - (G < H ? j : O) - m[p] / 2 < 0, J = W ? G < H ? G - H : G - U : 0;
41967
41967
  return {
41968
41968
  [h]: d[h] + J,
41969
41969
  data: {
41970
41970
  [h]: V,
41971
- centerOffset: U - V - J,
41971
+ centerOffset: G - V - J,
41972
41972
  ...W && {
41973
41973
  alignmentOffset: J
41974
41974
  }
@@ -42005,19 +42005,19 @@ const jDe = (t) => ({
42005
42005
  const E = [a, ...x], L = await qm(e, g), N = [];
42006
42006
  let j = ((r = s.flip) == null ? void 0 : r.overflows) || [];
42007
42007
  if (u && N.push(L[v]), f) {
42008
- const U = SDe(i, o, w);
42009
- N.push(L[U[0]], L[U[1]]);
42008
+ const G = SDe(i, o, w);
42009
+ N.push(L[G[0]], L[G[1]]);
42010
42010
  }
42011
42011
  if (j = [...j, {
42012
42012
  placement: i,
42013
42013
  overflows: N
42014
- }], !N.every((U) => U <= 0)) {
42014
+ }], !N.every((G) => G <= 0)) {
42015
42015
  var O, H;
42016
- const U = (((O = s.flip) == null ? void 0 : O.index) || 0) + 1, V = E[U];
42016
+ const G = (((O = s.flip) == null ? void 0 : O.index) || 0) + 1, V = E[G];
42017
42017
  if (V)
42018
42018
  return {
42019
42019
  data: {
42020
- index: U,
42020
+ index: G,
42021
42021
  overflows: j
42022
42022
  },
42023
42023
  reset: {
@@ -42028,8 +42028,8 @@ const jDe = (t) => ({
42028
42028
  if (!W)
42029
42029
  switch (h) {
42030
42030
  case "bestFit": {
42031
- var G;
42032
- const J = (G = j.filter((re) => {
42031
+ var U;
42032
+ const J = (U = j.filter((re) => {
42033
42033
  if (A) {
42034
42034
  const Z = Fu(re.placement);
42035
42035
  return Z === k || // Create a bias to the `y` side axis due to horizontal
@@ -42037,7 +42037,7 @@ const jDe = (t) => ({
42037
42037
  Z === "y";
42038
42038
  }
42039
42039
  return !0;
42040
- }).map((re) => [re.placement, re.overflows.filter((Z) => Z > 0).reduce((Z, ie) => Z + ie, 0)]).sort((re, Z) => re[1] - Z[1])[0]) == null ? void 0 : G[0];
42040
+ }).map((re) => [re.placement, re.overflows.filter((Z) => Z > 0).reduce((Z, ie) => Z + ie, 0)]).sort((re, Z) => re[1] - Z[1])[0]) == null ? void 0 : U[0];
42041
42041
  J && (W = J);
42042
42042
  break;
42043
42043
  }
@@ -42833,7 +42833,7 @@ function fje(t) {
42833
42833
  ...re,
42834
42834
  isPositioned: !0
42835
42835
  };
42836
- G.current && !J6(L.current, Z) && (L.current = Z, o0.flushSync(() => {
42836
+ U.current && !J6(L.current, Z) && (L.current = Z, o0.flushSync(() => {
42837
42837
  f(Z);
42838
42838
  }));
42839
42839
  });
@@ -42844,9 +42844,9 @@ function fje(t) {
42844
42844
  isPositioned: !1
42845
42845
  })));
42846
42846
  }, [c]);
42847
- const G = C.useRef(!1);
42848
- G3(() => (G.current = !0, () => {
42849
- G.current = !1;
42847
+ const U = C.useRef(!1);
42848
+ G3(() => (U.current = !0, () => {
42849
+ U.current = !1;
42850
42850
  }), []), G3(() => {
42851
42851
  if (w && (A.current = w), x && (E.current = x), w && x) {
42852
42852
  if (j.current)
@@ -42854,7 +42854,7 @@ function fje(t) {
42854
42854
  H();
42855
42855
  }
42856
42856
  }, [w, x, H, j, N]);
42857
- const U = C.useMemo(() => ({
42857
+ const G = C.useMemo(() => ({
42858
42858
  reference: A,
42859
42859
  floating: E,
42860
42860
  setReference: k,
@@ -42886,10 +42886,10 @@ function fje(t) {
42886
42886
  return C.useMemo(() => ({
42887
42887
  ...u,
42888
42888
  update: H,
42889
- refs: U,
42889
+ refs: G,
42890
42890
  elements: V,
42891
42891
  floatingStyles: W
42892
- }), [u, H, U, V, W]);
42892
+ }), [u, H, G, V, W]);
42893
42893
  }
42894
42894
  const dje = (t) => {
42895
42895
  function e(n) {
@@ -42982,7 +42982,7 @@ var gS = "PopperContent", [Mje, Cje] = fU(gS), yU = C.forwardRef(
42982
42982
  updatePositionStrategy: b = "optimized",
42983
42983
  onPlaced: w,
42984
42984
  ...x
42985
- } = t, A = dU(gS, l), [E, L] = C.useState(null), N = en(e, (Se) => L(Se)), [j, O] = C.useState(null), H = lS(j), G = (H == null ? void 0 : H.width) ?? 0, U = (H == null ? void 0 : H.height) ?? 0, V = c + (f !== "center" ? "-" + f : ""), W = typeof g == "number" ? g : { top: 0, right: 0, bottom: 0, left: 0, ...g }, J = Array.isArray(m) ? m : [m], re = J.length > 0, Z = {
42985
+ } = t, A = dU(gS, l), [E, L] = C.useState(null), N = en(e, (Se) => L(Se)), [j, O] = C.useState(null), H = lS(j), U = (H == null ? void 0 : H.width) ?? 0, G = (H == null ? void 0 : H.height) ?? 0, V = c + (f !== "center" ? "-" + f : ""), W = typeof g == "number" ? g : { top: 0, right: 0, bottom: 0, left: 0, ...g }, J = Array.isArray(m) ? m : [m], re = J.length > 0, Z = {
42986
42986
  padding: W,
42987
42987
  boundary: J.filter(Sje),
42988
42988
  // with `strategy: 'fixed'`, this is the only way to get it to respect boundaries
@@ -42998,7 +42998,7 @@ var gS = "PopperContent", [Mje, Cje] = fU(gS), yU = C.forwardRef(
42998
42998
  reference: A.anchor
42999
42999
  },
43000
43000
  middleware: [
43001
- hje({ mainAxis: u + U, alignmentAxis: d }),
43001
+ hje({ mainAxis: u + G, alignmentAxis: d }),
43002
43002
  p && pje({
43003
43003
  mainAxis: !0,
43004
43004
  crossAxis: !1,
@@ -43014,7 +43014,7 @@ var gS = "PopperContent", [Mje, Cje] = fU(gS), yU = C.forwardRef(
43014
43014
  }
43015
43015
  }),
43016
43016
  j && bje({ element: j, padding: h }),
43017
- Lje({ arrowWidth: G, arrowHeight: U }),
43017
+ Lje({ arrowWidth: U, arrowHeight: G }),
43018
43018
  k && vje({ strategy: "referenceHidden", ...Z })
43019
43019
  ]
43020
43020
  }), [he, Y] = bU(ne), ve = rs(w);
@@ -46243,20 +46243,20 @@ function WRe(t) {
46243
46243
  const { prevResolvedValues: O = {} } = k, H = {
46244
46244
  ...O,
46245
46245
  ...j
46246
- }, G = (U) => {
46247
- E = !0, d.has(U) && (L = !0, d.delete(U)), k.needsAnimating[U] = !0;
46248
- const V = t.getValue(U);
46246
+ }, U = (G) => {
46247
+ E = !0, d.has(G) && (L = !0, d.delete(G)), k.needsAnimating[G] = !0;
46248
+ const V = t.getValue(G);
46249
46249
  V && (V.liveStyle = !1);
46250
46250
  };
46251
- for (const U in H) {
46252
- const V = j[U], W = O[U];
46253
- if (h.hasOwnProperty(U))
46251
+ for (const G in H) {
46252
+ const V = j[G], W = O[G];
46253
+ if (h.hasOwnProperty(G))
46254
46254
  continue;
46255
46255
  let J = !1;
46256
- Sx(V) && Sx(W) ? J = !rG(V, W) : J = V !== W, J ? V != null ? G(U) : d.add(U) : V !== void 0 && d.has(U) ? G(U) : k.protectedKeys[U] = !0;
46256
+ Sx(V) && Sx(W) ? J = !rG(V, W) : J = V !== W, J ? V != null ? U(G) : d.add(G) : V !== void 0 && d.has(G) ? U(G) : k.protectedKeys[G] = !0;
46257
46257
  }
46258
- k.prevProp = b, k.prevResolvedValues = j, k.isActive && (h = { ...h, ...j }), r && t.blockInitialAnimation && (E = !1), E && (!A || L) && f.push(...N.map((U) => ({
46259
- animation: U,
46258
+ k.prevProp = b, k.prevResolvedValues = j, k.isActive && (h = { ...h, ...j }), r && t.blockInitialAnimation && (E = !1), E && (!A || L) && f.push(...N.map((G) => ({
46259
+ animation: G,
46260
46260
  options: { type: v }
46261
46261
  })));
46262
46262
  }
@@ -49893,10 +49893,10 @@ var qze = C.forwardRef((t, e) => {
49893
49893
  if (L.target === L.currentTarget && N && !v) {
49894
49894
  const j = new CustomEvent(aw, Bze);
49895
49895
  if (L.currentTarget.dispatchEvent(j), !j.defaultPrevented) {
49896
- const O = w().filter((V) => V.focusable), H = O.find((V) => V.active), G = O.find((V) => V.id === m), U = [H, G, ...O].filter(
49896
+ const O = w().filter((V) => V.focusable), H = O.find((V) => V.active), U = O.find((V) => V.id === m), G = [H, U, ...O].filter(
49897
49897
  Boolean
49898
49898
  ).map((V) => V.ref.current);
49899
- uW(U, u);
49899
+ uW(G, u);
49900
49900
  }
49901
49901
  }
49902
49902
  x.current = !1;
@@ -52219,7 +52219,7 @@ var vl = 10, [XZ, v0] = q2(nf), THe = "SelectContentImpl", $Z = C.forwardRef(
52219
52219
  ...v
52220
52220
  } = t, k = g0(nf, n), [b, w] = C.useState(null), [x, A] = C.useState(null), E = en(e, (ve) => w(ve)), [L, N] = C.useState(null), [j, O] = C.useState(
52221
52221
  null
52222
- ), H = Gb(n), [G, U] = C.useState(!1), V = C.useRef(!1);
52222
+ ), H = Gb(n), [U, G] = C.useState(!1), V = C.useRef(!1);
52223
52223
  C.useEffect(() => {
52224
52224
  if (b) return _b(b);
52225
52225
  }, [b]), JS();
@@ -52235,8 +52235,8 @@ var vl = 10, [XZ, v0] = q2(nf), THe = "SelectContentImpl", $Z = C.forwardRef(
52235
52235
  [W, L, b]
52236
52236
  );
52237
52237
  C.useEffect(() => {
52238
- G && J();
52239
- }, [G, J]);
52238
+ U && J();
52239
+ }, [U, J]);
52240
52240
  const { onOpenChange: re, triggerPointerDownPosRef: Z } = k;
52241
52241
  C.useEffect(() => {
52242
52242
  if (b) {
@@ -52301,7 +52301,7 @@ var vl = 10, [XZ, v0] = q2(nf), THe = "SelectContentImpl", $Z = C.forwardRef(
52301
52301
  focusSelectedItem: J,
52302
52302
  selectedItemText: j,
52303
52303
  position: r,
52304
- isPositioned: G,
52304
+ isPositioned: U,
52305
52305
  searchRef: ie,
52306
52306
  children: /* @__PURE__ */ S.jsx(Hb, { as: Ya, allowPinchZoom: !0, children: /* @__PURE__ */ S.jsx(
52307
52307
  V2,
@@ -52334,7 +52334,7 @@ var vl = 10, [XZ, v0] = q2(nf), THe = "SelectContentImpl", $Z = C.forwardRef(
52334
52334
  onContextMenu: (ve) => ve.preventDefault(),
52335
52335
  ...v,
52336
52336
  ...Y,
52337
- onPlaced: () => U(!0),
52337
+ onPlaced: () => G(!0),
52338
52338
  ref: E,
52339
52339
  style: {
52340
52340
  // flex layout so we can place the scroll buttons properly
@@ -52377,7 +52377,7 @@ var NHe = "SelectItemAlignedPosition", eY = C.forwardRef((t, e) => {
52377
52377
  const Pe = L.right - j.right, Ce = window.innerWidth - N.right - Pe, Le = window.innerWidth - E.right - Ce, Se = E.width + Le, le = Math.max(Se, L.width), Q = window.innerWidth - vl, oe = jP(Ce, [vl, Q - le]);
52378
52378
  a.style.minWidth = Se + "px", a.style.right = oe + "px";
52379
52379
  }
52380
- const O = d(), H = window.innerHeight - vl * 2, G = m.scrollHeight, U = window.getComputedStyle(c), V = parseInt(U.borderTopWidth, 10), W = parseInt(U.paddingTop, 10), J = parseInt(U.borderBottomWidth, 10), re = parseInt(U.paddingBottom, 10), Z = V + W + G + re + J, ie = Math.min(g.offsetHeight * 5, Z), me = window.getComputedStyle(m), ne = parseInt(me.paddingTop, 10), ye = parseInt(me.paddingBottom, 10), ue = E.top + E.height / 2 - vl, he = H - ue, Y = g.offsetHeight / 2, ve = g.offsetTop + Y, we = V + W + ve, Re = Z - we;
52380
+ const O = d(), H = window.innerHeight - vl * 2, U = m.scrollHeight, G = window.getComputedStyle(c), V = parseInt(G.borderTopWidth, 10), W = parseInt(G.paddingTop, 10), J = parseInt(G.borderBottomWidth, 10), re = parseInt(G.paddingBottom, 10), Z = V + W + U + re + J, ie = Math.min(g.offsetHeight * 5, Z), me = window.getComputedStyle(m), ne = parseInt(me.paddingTop, 10), ye = parseInt(me.paddingBottom, 10), ue = E.top + E.height / 2 - vl, he = H - ue, Y = g.offsetHeight / 2, ve = g.offsetTop + Y, we = V + W + ve, Re = Z - we;
52381
52381
  if (we <= ue) {
52382
52382
  const Pe = g === O[O.length - 1].ref.current;
52383
52383
  a.style.bottom = "0px";
@@ -53557,8 +53557,8 @@ function A_e({ activeSnapPointProp: t, setActiveSnapPointProp: e, snapPoints: n,
53557
53557
  const j = typeof N == "string";
53558
53558
  let O = 0;
53559
53559
  if (j && (O = parseInt(N, 10)), Ar(a)) {
53560
- const G = j ? O : d ? N * E.height : 0;
53561
- return d ? a === "bottom" ? E.height - G : -E.height + G : G;
53560
+ const U = j ? O : d ? N * E.height : 0;
53561
+ return d ? a === "bottom" ? E.height - U : -E.height + U : U;
53562
53562
  }
53563
53563
  const H = j ? O : d ? N * E.width : 0;
53564
53564
  return d ? a === "right" ? E.width - H : -E.width + H : H;
@@ -53606,25 +53606,25 @@ function A_e({ activeSnapPointProp: t, setActiveSnapPointProp: e, snapPoints: n,
53606
53606
  ]);
53607
53607
  function w({ draggedDistance: E, closeDrawer: L, velocity: N, dismissible: j }) {
53608
53608
  if (s === void 0) return;
53609
- const O = a === "bottom" || a === "right" ? (k ?? 0) - E : (k ?? 0) + E, H = m === s - 1, G = m === 0, U = E > 0;
53609
+ const O = a === "bottom" || a === "right" ? (k ?? 0) - E : (k ?? 0) + E, H = m === s - 1, U = m === 0, G = E > 0;
53610
53610
  if (H && Cr(i.current, {
53611
53611
  transition: `opacity ${_n.DURATION}s cubic-bezier(${_n.EASE.join(",")})`
53612
- }), !c && N > 2 && !U) {
53612
+ }), !c && N > 2 && !G) {
53613
53613
  j ? L() : b(v[0]);
53614
53614
  return;
53615
53615
  }
53616
- if (!c && N > 2 && U && v && n) {
53616
+ if (!c && N > 2 && G && v && n) {
53617
53617
  b(v[n.length - 1]);
53618
53618
  return;
53619
53619
  }
53620
53620
  const V = v == null ? void 0 : v.reduce((J, re) => typeof J != "number" || typeof re != "number" ? J : Math.abs(re - O) < Math.abs(J - O) ? re : J), W = Ar(a) ? window.innerHeight : window.innerWidth;
53621
53621
  if (N > TY && Math.abs(E) < W * 0.4) {
53622
- const J = U ? 1 : -1;
53622
+ const J = G ? 1 : -1;
53623
53623
  if (J > 0 && p && n) {
53624
53624
  b(v[n.length - 1]);
53625
53625
  return;
53626
53626
  }
53627
- if (G && J < 0 && j && L(), m === null) return;
53627
+ if (U && J < 0 && j && L(), m === null) return;
53628
53628
  b(v[m + J]);
53629
53629
  return;
53630
53630
  }
@@ -53770,7 +53770,7 @@ function E_e({ isOpen: t, modal: e, nested: n, hasBeenOpened: r, preventScrollRe
53770
53770
  };
53771
53771
  }
53772
53772
  function IY({ open: t, onOpenChange: e, children: n, onDrag: r, onRelease: i, snapPoints: s, shouldScaleBackground: o = !1, setBackgroundColorOnScale: a = !0, closeThreshold: l = x_e, scrollLockTimeout: c = M_e, dismissible: u = !0, handleOnly: f = !1, fadeFromIndex: d = s && s.length - 1, activeSnapPoint: h, setActiveSnapPoint: p, fixed: m, modal: g = !0, onClose: v, nested: k, noBodyStyles: b = !1, direction: w = "bottom", defaultOpen: x = !1, disablePreventScroll: A = !0, snapToSequentialPoint: E = !1, preventScrollRestoration: L = !1, repositionInputs: N = !0, onAnimationEnd: j, container: O, autoFocus: H = !1 }) {
53773
- var G, U;
53773
+ var U, G;
53774
53774
  const [V = !1, W] = jY({
53775
53775
  defaultProp: x,
53776
53776
  prop: t,
@@ -53781,7 +53781,7 @@ function IY({ open: t, onOpenChange: e, children: n, onDrag: r, onRelease: i, sn
53781
53781
  document.body.style.pointerEvents = "auto";
53782
53782
  }), et || (document.body.style.pointerEvents = "auto");
53783
53783
  }
53784
- }), [J, re] = xe.useState(!1), [Z, ie] = xe.useState(!1), [me, ne] = xe.useState(!1), ye = xe.useRef(null), ue = xe.useRef(null), he = xe.useRef(null), Y = xe.useRef(null), ve = xe.useRef(null), we = xe.useRef(!1), Re = xe.useRef(null), Pe = xe.useRef(0), Ce = xe.useRef(!1), Le = xe.useRef(!x), Se = xe.useRef(0), le = xe.useRef(null), Q = xe.useRef(((G = le.current) == null ? void 0 : G.getBoundingClientRect().height) || 0), oe = xe.useRef(((U = le.current) == null ? void 0 : U.getBoundingClientRect().width) || 0), se = xe.useRef(0), He = xe.useCallback((et) => {
53784
+ }), [J, re] = xe.useState(!1), [Z, ie] = xe.useState(!1), [me, ne] = xe.useState(!1), ye = xe.useRef(null), ue = xe.useRef(null), he = xe.useRef(null), Y = xe.useRef(null), ve = xe.useRef(null), we = xe.useRef(!1), Re = xe.useRef(null), Pe = xe.useRef(0), Ce = xe.useRef(!1), Le = xe.useRef(!x), Se = xe.useRef(0), le = xe.useRef(null), Q = xe.useRef(((U = le.current) == null ? void 0 : U.getBoundingClientRect().height) || 0), oe = xe.useRef(((G = le.current) == null ? void 0 : G.getBoundingClientRect().width) || 0), se = xe.useRef(0), He = xe.useCallback((et) => {
53785
53785
  s && et === ee.length - 1 && (ue.current = /* @__PURE__ */ new Date());
53786
53786
  }, []), { activeSnapPoint: q, activeSnapPointIndex: M, setActiveSnapPoint: I, onRelease: B, snapPointsOffset: ee, onDrag: de, shouldFade: ge, getPercentageDragged: Be } = A_e({
53787
53787
  snapPoints: s,
@@ -54089,16 +54089,16 @@ PY.displayName = "Drawer.Overlay";
54089
54089
  const RY = /* @__PURE__ */ xe.forwardRef(function({ onPointerDownOutside: t, style: e, onOpenAutoFocus: n, ...r }, i) {
54090
54090
  const { drawerRef: s, onPress: o, onRelease: a, onDrag: l, keyboardIsOpen: c, snapPointsOffset: u, activeSnapPointIndex: f, modal: d, isOpen: h, direction: p, snapPoints: m, container: g, handleOnly: v, shouldAnimate: k, autoFocus: b } = U2(), [w, x] = xe.useState(!1), A = LY(i, s), E = xe.useRef(null), L = xe.useRef(null), N = xe.useRef(!1), j = m && m.length > 0;
54091
54091
  L_e();
54092
- const O = (G, U, V = 0) => {
54092
+ const O = (U, G, V = 0) => {
54093
54093
  if (N.current) return !0;
54094
- const W = Math.abs(G.y), J = Math.abs(G.x), re = J > W, Z = [
54094
+ const W = Math.abs(U.y), J = Math.abs(U.x), re = J > W, Z = [
54095
54095
  "bottom",
54096
54096
  "right"
54097
- ].includes(U) ? 1 : -1;
54098
- if (U === "left" || U === "right") {
54099
- if (!(G.x * Z < 0) && J >= 0 && J <= V)
54097
+ ].includes(G) ? 1 : -1;
54098
+ if (G === "left" || G === "right") {
54099
+ if (!(U.x * Z < 0) && J >= 0 && J <= V)
54100
54100
  return re;
54101
- } else if (!(G.y * Z < 0) && W >= 0 && W <= V)
54101
+ } else if (!(U.y * Z < 0) && W >= 0 && W <= V)
54102
54102
  return !re;
54103
54103
  return N.current = !0, !0;
54104
54104
  };
@@ -54107,8 +54107,8 @@ const RY = /* @__PURE__ */ xe.forwardRef(function({ onPointerDownOutside: t, sty
54107
54107
  x(!0);
54108
54108
  });
54109
54109
  }, []);
54110
- function H(G) {
54111
- E.current = null, N.current = !1, a(G);
54110
+ function H(U) {
54111
+ E.current = null, N.current = !1, a(U);
54112
54112
  }
54113
54113
  return /* @__PURE__ */ xe.createElement(Ey, {
54114
54114
  "data-vaul-drawer-direction": p,
@@ -54123,44 +54123,44 @@ const RY = /* @__PURE__ */ xe.forwardRef(function({ onPointerDownOutside: t, sty
54123
54123
  "--snap-point-height": `${u[f ?? 0]}px`,
54124
54124
  ...e
54125
54125
  } : e,
54126
- onPointerDown: (G) => {
54127
- v || (r.onPointerDown == null || r.onPointerDown.call(r, G), E.current = {
54128
- x: G.pageX,
54129
- y: G.pageY
54130
- }, o(G));
54126
+ onPointerDown: (U) => {
54127
+ v || (r.onPointerDown == null || r.onPointerDown.call(r, U), E.current = {
54128
+ x: U.pageX,
54129
+ y: U.pageY
54130
+ }, o(U));
54131
54131
  },
54132
- onOpenAutoFocus: (G) => {
54133
- n == null || n(G), b || G.preventDefault();
54132
+ onOpenAutoFocus: (U) => {
54133
+ n == null || n(U), b || U.preventDefault();
54134
54134
  },
54135
- onPointerDownOutside: (G) => {
54136
- if (t == null || t(G), !d || G.defaultPrevented) {
54137
- G.preventDefault();
54135
+ onPointerDownOutside: (U) => {
54136
+ if (t == null || t(U), !d || U.defaultPrevented) {
54137
+ U.preventDefault();
54138
54138
  return;
54139
54139
  }
54140
54140
  c.current && (c.current = !1);
54141
54141
  },
54142
- onFocusOutside: (G) => {
54142
+ onFocusOutside: (U) => {
54143
54143
  if (!d) {
54144
- G.preventDefault();
54144
+ U.preventDefault();
54145
54145
  return;
54146
54146
  }
54147
54147
  },
54148
- onPointerMove: (G) => {
54149
- if (L.current = G, v || (r.onPointerMove == null || r.onPointerMove.call(r, G), !E.current)) return;
54150
- const U = G.pageY - E.current.y, V = G.pageX - E.current.x, W = G.pointerType === "touch" ? 10 : 2;
54148
+ onPointerMove: (U) => {
54149
+ if (L.current = U, v || (r.onPointerMove == null || r.onPointerMove.call(r, U), !E.current)) return;
54150
+ const G = U.pageY - E.current.y, V = U.pageX - E.current.x, W = U.pointerType === "touch" ? 10 : 2;
54151
54151
  O({
54152
54152
  x: V,
54153
- y: U
54154
- }, p, W) ? l(G) : (Math.abs(V) > W || Math.abs(U) > W) && (E.current = null);
54153
+ y: G
54154
+ }, p, W) ? l(U) : (Math.abs(V) > W || Math.abs(G) > W) && (E.current = null);
54155
54155
  },
54156
- onPointerUp: (G) => {
54157
- r.onPointerUp == null || r.onPointerUp.call(r, G), E.current = null, N.current = !1, a(G);
54156
+ onPointerUp: (U) => {
54157
+ r.onPointerUp == null || r.onPointerUp.call(r, U), E.current = null, N.current = !1, a(U);
54158
54158
  },
54159
- onPointerOut: (G) => {
54160
- r.onPointerOut == null || r.onPointerOut.call(r, G), H(L.current);
54159
+ onPointerOut: (U) => {
54160
+ r.onPointerOut == null || r.onPointerOut.call(r, U), H(L.current);
54161
54161
  },
54162
- onContextMenu: (G) => {
54163
- r.onContextMenu == null || r.onContextMenu.call(r, G), L.current && H(L.current);
54162
+ onContextMenu: (U) => {
54163
+ r.onContextMenu == null || r.onContextMenu.call(r, U), L.current && H(L.current);
54164
54164
  }
54165
54165
  });
54166
54166
  });
@@ -76318,13 +76318,13 @@ var xp = '[cmdk-group=""]', Rw = '[cmdk-group-items=""]', aZe = '[cmdk-group-hea
76318
76318
  n.current.value = ne, E.emit();
76319
76319
  }
76320
76320
  }, [u]), sf(() => {
76321
- A(6, G);
76321
+ A(6, U);
76322
76322
  }, []);
76323
76323
  let E = C.useMemo(() => ({ subscribe: (ne) => (o.current.add(ne), () => o.current.delete(ne)), snapshot: () => n.current, setState: (ne, ye, ue) => {
76324
76324
  var he, Y, ve;
76325
76325
  if (!Object.is(n.current[ne], ye)) {
76326
76326
  if (n.current[ne] = ye, ne === "search") H(), j(), A(1, O);
76327
- else if (ne === "value" && (ue || A(5, G), ((he = a.current) == null ? void 0 : he.value) !== void 0)) {
76327
+ else if (ne === "value" && (ue || A(5, U), ((he = a.current) == null ? void 0 : he.value) !== void 0)) {
76328
76328
  let we = ye ?? "";
76329
76329
  (ve = (Y = a.current).onValueChange) == null || ve.call(Y, we);
76330
76330
  return;
@@ -76342,7 +76342,7 @@ var xp = '[cmdk-group=""]', Rw = '[cmdk-group-items=""]', aZe = '[cmdk-group-hea
76342
76342
  H(), j(), n.current.value || O(), E.emit();
76343
76343
  }), () => {
76344
76344
  s.current.delete(ne), r.current.delete(ne), n.current.filtered.items.delete(ne);
76345
- let ue = U();
76345
+ let ue = G();
76346
76346
  A(4, () => {
76347
76347
  H(), (ue == null ? void 0 : ue.getAttribute("id")) === ne && O(), E.emit();
76348
76348
  });
@@ -76399,12 +76399,12 @@ var xp = '[cmdk-group=""]', Rw = '[cmdk-group-items=""]', aZe = '[cmdk-group-hea
76399
76399
  }
76400
76400
  n.current.filtered.count = Y;
76401
76401
  }
76402
- function G() {
76402
+ function U() {
76403
76403
  var ne, ye, ue;
76404
- let he = U();
76404
+ let he = G();
76405
76405
  he && (((ne = he.parentElement) == null ? void 0 : ne.firstChild) === he && ((ue = (ye = he.closest(xp)) == null ? void 0 : ye.querySelector(aZe)) == null || ue.scrollIntoView({ block: "nearest" })), he.scrollIntoView({ block: "nearest" }));
76406
76406
  }
76407
- function U() {
76407
+ function G() {
76408
76408
  var ne;
76409
76409
  return (ne = x.current) == null ? void 0 : ne.querySelector(`${tE}[aria-selected="true"]`);
76410
76410
  }
@@ -76418,11 +76418,11 @@ var xp = '[cmdk-group=""]', Rw = '[cmdk-group-items=""]', aZe = '[cmdk-group-hea
76418
76418
  }
76419
76419
  function J(ne) {
76420
76420
  var ye;
76421
- let ue = U(), he = V(), Y = he.findIndex((we) => we === ue), ve = he[Y + ne];
76421
+ let ue = G(), he = V(), Y = he.findIndex((we) => we === ue), ve = he[Y + ne];
76422
76422
  (ye = a.current) != null && ye.loop && (ve = Y + ne < 0 ? he[he.length - 1] : Y + ne === he.length ? he[0] : he[Y + ne]), ve && E.setState("value", ve.getAttribute(Z0));
76423
76423
  }
76424
76424
  function re(ne) {
76425
- let ye = U(), ue = ye == null ? void 0 : ye.closest(xp), he;
76425
+ let ye = G(), ue = ye == null ? void 0 : ye.closest(xp), he;
76426
76426
  for (; ue && !he; ) ue = ne > 0 ? gZe(ue, xp) : vZe(ue, xp), he = ue == null ? void 0 : ue.querySelector(yR);
76427
76427
  he ? E.setState("value", he.getAttribute(Z0)) : J(ne);
76428
76428
  }
@@ -76463,7 +76463,7 @@ var xp = '[cmdk-group=""]', Rw = '[cmdk-group-items=""]', aZe = '[cmdk-group-hea
76463
76463
  case "Enter":
76464
76464
  if (!ne.nativeEvent.isComposing && ne.keyCode !== 229) {
76465
76465
  ne.preventDefault();
76466
- let ue = U();
76466
+ let ue = G();
76467
76467
  if (ue) {
76468
76468
  let he = new Event(fM);
76469
76469
  ue.dispatchEvent(he);
@@ -76895,41 +76895,41 @@ var [jZe, IZe] = lQ(d8, {
76895
76895
  onSwipeCancel: d,
76896
76896
  onSwipeEnd: h,
76897
76897
  ...p
76898
- } = t, m = f8(d8, n), [g, v] = C.useState(null), k = en(e, (U) => v(U)), b = C.useRef(null), w = C.useRef(null), x = i || m.duration, A = C.useRef(0), E = C.useRef(x), L = C.useRef(0), { onToastAdd: N, onToastRemove: j } = m, O = rs(() => {
76899
- var U;
76900
- g != null && g.contains(document.activeElement) && ((U = m.viewport) == null || U.focus()), o();
76898
+ } = t, m = f8(d8, n), [g, v] = C.useState(null), k = en(e, (G) => v(G)), b = C.useRef(null), w = C.useRef(null), x = i || m.duration, A = C.useRef(0), E = C.useRef(x), L = C.useRef(0), { onToastAdd: N, onToastRemove: j } = m, O = rs(() => {
76899
+ var G;
76900
+ g != null && g.contains(document.activeElement) && ((G = m.viewport) == null || G.focus()), o();
76901
76901
  }), H = C.useCallback(
76902
- (U) => {
76903
- !U || U === 1 / 0 || (window.clearTimeout(L.current), A.current = (/* @__PURE__ */ new Date()).getTime(), L.current = window.setTimeout(O, U));
76902
+ (G) => {
76903
+ !G || G === 1 / 0 || (window.clearTimeout(L.current), A.current = (/* @__PURE__ */ new Date()).getTime(), L.current = window.setTimeout(O, G));
76904
76904
  },
76905
76905
  [O]
76906
76906
  );
76907
76907
  C.useEffect(() => {
76908
- const U = m.viewport;
76909
- if (U) {
76908
+ const G = m.viewport;
76909
+ if (G) {
76910
76910
  const V = () => {
76911
76911
  H(E.current), c == null || c();
76912
76912
  }, W = () => {
76913
76913
  const J = (/* @__PURE__ */ new Date()).getTime() - A.current;
76914
76914
  E.current = E.current - J, window.clearTimeout(L.current), l == null || l();
76915
76915
  };
76916
- return U.addEventListener(dM, W), U.addEventListener(hM, V), () => {
76917
- U.removeEventListener(dM, W), U.removeEventListener(hM, V);
76916
+ return G.addEventListener(dM, W), G.addEventListener(hM, V), () => {
76917
+ G.removeEventListener(dM, W), G.removeEventListener(hM, V);
76918
76918
  };
76919
76919
  }
76920
76920
  }, [m.viewport, x, l, c, H]), C.useEffect(() => {
76921
76921
  s && !m.isClosePausedRef.current && H(x);
76922
76922
  }, [s, x, m.isClosePausedRef, H]), C.useEffect(() => (N(), () => j()), [N, j]);
76923
- const G = C.useMemo(() => g ? bQ(g) : null, [g]);
76923
+ const U = C.useMemo(() => g ? bQ(g) : null, [g]);
76924
76924
  return m.viewport ? /* @__PURE__ */ S.jsxs(S.Fragment, { children: [
76925
- G && /* @__PURE__ */ S.jsx(
76925
+ U && /* @__PURE__ */ S.jsx(
76926
76926
  RZe,
76927
76927
  {
76928
76928
  __scopeToast: n,
76929
76929
  role: "status",
76930
76930
  "aria-live": r === "foreground" ? "assertive" : "polite",
76931
76931
  "aria-atomic": !0,
76932
- children: G
76932
+ children: U
76933
76933
  }
76934
76934
  ),
76935
76935
  /* @__PURE__ */ S.jsx(jZe, { scope: n, onClose: O, children: o0.createPortal(
@@ -76952,25 +76952,25 @@ var [jZe, IZe] = lQ(d8, {
76952
76952
  ...p,
76953
76953
  ref: k,
76954
76954
  style: { userSelect: "none", touchAction: "none", ...t.style },
76955
- onKeyDown: rt(t.onKeyDown, (U) => {
76956
- U.key === "Escape" && (a == null || a(U.nativeEvent), U.nativeEvent.defaultPrevented || (m.isFocusedToastEscapeKeyDownRef.current = !0, O()));
76955
+ onKeyDown: rt(t.onKeyDown, (G) => {
76956
+ G.key === "Escape" && (a == null || a(G.nativeEvent), G.nativeEvent.defaultPrevented || (m.isFocusedToastEscapeKeyDownRef.current = !0, O()));
76957
76957
  }),
76958
- onPointerDown: rt(t.onPointerDown, (U) => {
76959
- U.button === 0 && (b.current = { x: U.clientX, y: U.clientY });
76958
+ onPointerDown: rt(t.onPointerDown, (G) => {
76959
+ G.button === 0 && (b.current = { x: G.clientX, y: G.clientY });
76960
76960
  }),
76961
- onPointerMove: rt(t.onPointerMove, (U) => {
76961
+ onPointerMove: rt(t.onPointerMove, (G) => {
76962
76962
  if (!b.current) return;
76963
- const V = U.clientX - b.current.x, W = U.clientY - b.current.y, J = !!w.current, re = ["left", "right"].includes(m.swipeDirection), Z = ["left", "up"].includes(m.swipeDirection) ? Math.min : Math.max, ie = re ? Z(0, V) : 0, me = re ? 0 : Z(0, W), ne = U.pointerType === "touch" ? 10 : 2, ye = { x: ie, y: me }, ue = { originalEvent: U, delta: ye };
76963
+ const V = G.clientX - b.current.x, W = G.clientY - b.current.y, J = !!w.current, re = ["left", "right"].includes(m.swipeDirection), Z = ["left", "up"].includes(m.swipeDirection) ? Math.min : Math.max, ie = re ? Z(0, V) : 0, me = re ? 0 : Z(0, W), ne = G.pointerType === "touch" ? 10 : 2, ye = { x: ie, y: me }, ue = { originalEvent: G, delta: ye };
76964
76964
  J ? (w.current = ye, Bg(TZe, f, ue, {
76965
76965
  discrete: !1
76966
76966
  })) : gR(ye, m.swipeDirection, ne) ? (w.current = ye, Bg(EZe, u, ue, {
76967
76967
  discrete: !1
76968
- }), U.target.setPointerCapture(U.pointerId)) : (Math.abs(V) > ne || Math.abs(W) > ne) && (b.current = null);
76968
+ }), G.target.setPointerCapture(G.pointerId)) : (Math.abs(V) > ne || Math.abs(W) > ne) && (b.current = null);
76969
76969
  }),
76970
- onPointerUp: rt(t.onPointerUp, (U) => {
76971
- const V = w.current, W = U.target;
76972
- if (W.hasPointerCapture(U.pointerId) && W.releasePointerCapture(U.pointerId), w.current = null, b.current = null, V) {
76973
- const J = U.currentTarget, re = { originalEvent: U, delta: V };
76970
+ onPointerUp: rt(t.onPointerUp, (G) => {
76971
+ const V = w.current, W = G.target;
76972
+ if (W.hasPointerCapture(G.pointerId) && W.releasePointerCapture(G.pointerId), w.current = null, b.current = null, V) {
76973
+ const J = G.currentTarget, re = { originalEvent: G, delta: V };
76974
76974
  gR(V, m.swipeDirection, m.swipeThreshold) ? Bg(DZe, h, re, {
76975
76975
  discrete: !0
76976
76976
  }) : Bg(
@@ -78010,7 +78010,7 @@ function LYe(t, e, n, r, i, s, o, a, l, c, u, f, d, h, p, m, g, v, k) {
78010
78010
  mouse: 500,
78011
78011
  touch: 600
78012
78012
  }, H = p ? 43 : 25;
78013
- let G = !1, U = 0, V = 0, W = !1, J = !1, re = !1, Z = !1;
78013
+ let U = !1, G = 0, V = 0, W = !1, J = !1, re = !1, Z = !1;
78014
78014
  function ie(Le) {
78015
78015
  if (!k) return;
78016
78016
  function Se(Q) {
@@ -78041,11 +78041,11 @@ function LYe(t, e, n, r, i, s, o, a, l, c, u, f, d, h, p, m, g, v, k) {
78041
78041
  }
78042
78042
  function Y(Le) {
78043
78043
  const Se = vM(Le, r);
78044
- Z = Se, re = p && Se && !Le.buttons && G, G = pm(i.get(), o.get()) >= 2, !(Se && Le.button !== 0) && (ye(Le.target) || (W = !0, s.pointerDown(Le), c.useFriction(0).useDuration(0), i.set(o), ne(), U = s.readPoint(Le), V = s.readPoint(Le, b), d.emit("pointerDown")));
78044
+ Z = Se, re = p && Se && !Le.buttons && U, U = pm(i.get(), o.get()) >= 2, !(Se && Le.button !== 0) && (ye(Le.target) || (W = !0, s.pointerDown(Le), c.useFriction(0).useDuration(0), i.set(o), ne(), G = s.readPoint(Le), V = s.readPoint(Le, b), d.emit("pointerDown")));
78045
78045
  }
78046
78046
  function ve(Le) {
78047
78047
  if (!vM(Le, r) && Le.touches.length >= 2) return we(Le);
78048
- const le = s.readPoint(Le), Q = s.readPoint(Le, b), oe = pm(le, U), se = pm(Q, V);
78048
+ const le = s.readPoint(Le), Q = s.readPoint(Le, b), oe = pm(le, G), se = pm(Q, V);
78049
78049
  if (!J && !Z && (!Le.cancelable || (J = oe > se, !J)))
78050
78050
  return we(Le);
78051
78051
  const He = s.pointerMove(Le);
@@ -78503,13 +78503,13 @@ function qYe(t, e, n, r, i, s, o, a, l) {
78503
78503
  function g(E, L, N) {
78504
78504
  const j = m(L);
78505
78505
  return E.map((O) => {
78506
- const H = N ? 0 : -n, G = N ? n : 0, U = N ? "end" : "start", V = j[O][U];
78506
+ const H = N ? 0 : -n, U = N ? n : 0, G = N ? "end" : "start", V = j[O][G];
78507
78507
  return {
78508
78508
  index: O,
78509
78509
  loopPoint: V,
78510
78510
  slideLocation: Fp(-1),
78511
78511
  translate: DQ(t, l[O]),
78512
- target: () => a.get() > V ? H : G
78512
+ target: () => a.get() > V ? H : U
78513
78513
  };
78514
78514
  });
78515
78515
  }
@@ -78683,7 +78683,7 @@ function YYe(t, e, n, r, i, s, o) {
78683
78683
  watchSlides: w,
78684
78684
  watchDrag: x,
78685
78685
  watchFocus: A
78686
- } = s, E = 2, L = TYe(), N = L.measure(e), j = n.map(L.measure), O = SYe(l, c), H = O.measureSize(N), G = NYe(H), U = CYe(a, H), V = !f && !!k, W = f || !!k, {
78686
+ } = s, E = 2, L = TYe(), N = L.measure(e), j = n.map(L.measure), O = SYe(l, c), H = O.measureSize(N), U = NYe(H), G = CYe(a, H), V = !f && !!k, W = f || !!k, {
78687
78687
  slideSizes: J,
78688
78688
  slideSizesWithGaps: re,
78689
78689
  startGap: Z,
@@ -78691,7 +78691,7 @@ function YYe(t, e, n, r, i, s, o) {
78691
78691
  } = WYe(O, N, j, n, W, i), me = ZYe(O, H, g, f, N, j, Z, ie, E), {
78692
78692
  snaps: ne,
78693
78693
  snapsAligned: ye
78694
- } = BYe(O, U, N, j, me), ue = -Vo(ne) + Vo(re), {
78694
+ } = BYe(O, G, N, j, me), ue = -Vo(ne) + Vo(re), {
78695
78695
  snapsContained: he,
78696
78696
  scrollContainLimit: Y
78697
78697
  } = PYe(H, ue, ye, k, E), ve = V ? he : ye, {
@@ -78734,9 +78734,9 @@ function YYe(t, e, n, r, i, s, o) {
78734
78734
  slideRects: j,
78735
78735
  animation: le,
78736
78736
  axis: O,
78737
- dragHandler: LYe(O, t, r, i, M, EYe(O, i), se, le, ee, I, B, Re, o, G, h, p, v, Q, x),
78737
+ dragHandler: LYe(O, t, r, i, M, EYe(O, i), se, le, ee, I, B, Re, o, U, h, p, v, Q, x),
78738
78738
  eventStore: ge,
78739
- percentOfView: G,
78739
+ percentOfView: U,
78740
78740
  index: Re,
78741
78741
  indexPrevious: Pe,
78742
78742
  limit: we,
@@ -78746,7 +78746,7 @@ function YYe(t, e, n, r, i, s, o) {
78746
78746
  options: s,
78747
78747
  resizeHandler: DYe(e, o, i, n, O, b, L),
78748
78748
  scrollBody: I,
78749
- scrollBounds: IYe(we, q, M, I, G),
78749
+ scrollBounds: IYe(we, q, M, I, U),
78750
78750
  scrollLooper: OYe(ue, we, q, [se, q, He, M]),
78751
78751
  scrollProgress: de,
78752
78752
  scrollSnapList: ve.map(de.get),
@@ -78894,19 +78894,19 @@ function h5(t, e, n) {
78894
78894
  function H() {
78895
78895
  v.dragHandler.destroy(), v.eventStore.clear(), v.translate.clear(), v.slideLooper.clear(), v.resizeHandler.destroy(), v.slidesHandler.destroy(), v.slidesInView.destroy(), v.animation.destroy(), o.destroy(), a.clear();
78896
78896
  }
78897
- function G() {
78897
+ function U() {
78898
78898
  g || (g = !0, a.clear(), H(), l.emit("destroy"), l.clear());
78899
78899
  }
78900
- function U(Ce, Le, Se) {
78900
+ function G(Ce, Le, Se) {
78901
78901
  !b.active || g || (v.scrollBody.useBaseFriction().useDuration(Le === !0 ? 0 : b.duration), v.scrollTo.index(Ce, Se || 0));
78902
78902
  }
78903
78903
  function V(Ce) {
78904
78904
  const Le = v.index.add(1).get();
78905
- U(Le, Ce, -1);
78905
+ G(Le, Ce, -1);
78906
78906
  }
78907
78907
  function W(Ce) {
78908
78908
  const Le = v.index.add(-1).get();
78909
- U(Le, Ce, 1);
78909
+ G(Le, Ce, 1);
78910
78910
  }
78911
78911
  function J() {
78912
78912
  return v.index.add(1).get() !== me();
@@ -78952,7 +78952,7 @@ function h5(t, e, n) {
78952
78952
  canScrollPrev: re,
78953
78953
  containerNode: we,
78954
78954
  internalEngine: Y,
78955
- destroy: G,
78955
+ destroy: U,
78956
78956
  off: h,
78957
78957
  on: d,
78958
78958
  emit: p,
@@ -78964,7 +78964,7 @@ function h5(t, e, n) {
78964
78964
  scrollPrev: W,
78965
78965
  scrollProgress: ie,
78966
78966
  scrollSnapList: Z,
78967
- scrollTo: U,
78967
+ scrollTo: G,
78968
78968
  selectedScrollSnap: me,
78969
78969
  slideNodes: Re,
78970
78970
  slidesInView: ye,
@@ -80498,7 +80498,7 @@ m5.exports;
80498
80498
  j && (N = L, L = null);
80499
80499
  var O = N.navigator || {}, H = O.userAgent || "";
80500
80500
  L || (L = H);
80501
- var G = j ? !!O.likeChrome : /\bChrome\b/.test(L) && !/internal|\n/i.test(f.toString()), U = "Object", V = j ? U : "ScriptBridgingProxyObject", W = j ? U : "Environment", J = j && N.java ? "JavaPackage" : v(N.java), re = j ? U : "RuntimeObject", Z = /\bJava/.test(J) && N.java, ie = Z && v(N.environment) == W, me = Z ? "a" : "α", ne = Z ? "b" : "β", ye = N.document || {}, ue = N.operamini || N.opera, he = l.test(he = j && ue ? ue["[[Class]]"] : v(ue)) ? he : ue = null, Y, ve = L, we = [], Re = null, Pe = L == H, Ce = Pe && ue && typeof ue.version == "function" && ue.version(), Le, Se = He([
80501
+ var U = j ? !!O.likeChrome : /\bChrome\b/.test(L) && !/internal|\n/i.test(f.toString()), G = "Object", V = j ? G : "ScriptBridgingProxyObject", W = j ? G : "Environment", J = j && N.java ? "JavaPackage" : v(N.java), re = j ? G : "RuntimeObject", Z = /\bJava/.test(J) && N.java, ie = Z && v(N.environment) == W, me = Z ? "a" : "α", ne = Z ? "b" : "β", ye = N.document || {}, ue = N.operamini || N.opera, he = l.test(he = j && ue ? ue["[[Class]]"] : v(ue)) ? he : ue = null, Y, ve = L, we = [], Re = null, Pe = L == H, Ce = Pe && ue && typeof ue.version == "function" && ue.version(), Le, Se = He([
80502
80502
  { label: "EdgeHTML", pattern: "Edge" },
80503
80503
  "Trident",
80504
80504
  { label: "WebKit", pattern: "AppleWebKit" },
@@ -80714,7 +80714,7 @@ m5.exports;
80714
80714
  we.unshift("embedded");
80715
80715
  }
80716
80716
  else (/\bBlackBerry\b/.test(Q) || /\bBB10\b/.test(L)) && (Y = (RegExp(Q.replace(/ +/g, " *") + "/([.\\d]+)", "i").exec(L) || 0)[1] || Ce) ? (Y = [Y, /BB10/.test(L)], se = (Y[1] ? (Q = null, oe = "BlackBerry") : "Device Software") + " " + Y[0], Ce = null) : this != g && Q != "Wii" && (Pe && ue || /Opera/.test(le) && /\b(?:MSIE|Firefox)\b/i.test(L) || le == "Firefox" && /\bOS X (?:\d+\.){2,}/.test(se) || le == "IE" && (se && !/^Win/.test(se) && Ce > 5.5 || /\bWindows XP\b/.test(se) && Ce > 8 || Ce == 8 && !/\bTrident\b/.test(L))) && !l.test(Y = A.call(g, L.replace(l, "") + ";")) && Y.name && (Y = "ing as " + Y.name + ((Y = Y.version) ? " " + Y : ""), l.test(le) ? (/\bIE\b/.test(Y) && se == "Mac OS" && (se = null), Y = "identify" + Y) : (Y = "mask" + Y, he ? le = m(he.replace(/([a-z])([A-Z])/g, "$1 $2")) : le = "Opera", /\bIE\b/.test(Y) && (se = null), Pe || (Ce = null)), Se = ["Presto"], we.push(Y));
80717
- (Y = (/\bAppleWebKit\/([\d.]+\+?)/i.exec(L) || 0)[1]) && (Y = [parseFloat(Y.replace(/\.(\d)$/, ".0$1")), Y], le == "Safari" && Y[1].slice(-1) == "+" ? (le = "WebKit Nightly", Re = "alpha", Ce = Y[1].slice(0, -1)) : (Ce == Y[1] || Ce == (Y[2] = (/\bSafari\/([\d.]+\+?)/i.exec(L) || 0)[1])) && (Ce = null), Y[1] = (/\b(?:Headless)?Chrome\/([\d.]+)/i.exec(L) || 0)[1], Y[0] == 537.36 && Y[2] == 537.36 && parseFloat(Y[1]) >= 28 && Se == "WebKit" && (Se = ["Blink"]), !Pe || !G && !Y[1] ? (Se && (Se[1] = "like Safari"), Y = (Y = Y[0], Y < 400 ? 1 : Y < 500 ? 2 : Y < 526 ? 3 : Y < 533 ? 4 : Y < 534 ? "4+" : Y < 535 ? 5 : Y < 537 ? 6 : Y < 538 ? 7 : Y < 601 ? 8 : Y < 602 ? 9 : Y < 604 ? 10 : Y < 606 ? 11 : Y < 608 ? 12 : "12")) : (Se && (Se[1] = "like Chrome"), Y = Y[1] || (Y = Y[0], Y < 530 ? 1 : Y < 532 ? 2 : Y < 532.05 ? 3 : Y < 533 ? 4 : Y < 534.03 ? 5 : Y < 534.07 ? 6 : Y < 534.1 ? 7 : Y < 534.13 ? 8 : Y < 534.16 ? 9 : Y < 534.24 ? 10 : Y < 534.3 ? 11 : Y < 535.01 ? 12 : Y < 535.02 ? "13+" : Y < 535.07 ? 15 : Y < 535.11 ? 16 : Y < 535.19 ? 17 : Y < 536.05 ? 18 : Y < 536.1 ? 19 : Y < 537.01 ? 20 : Y < 537.11 ? "21+" : Y < 537.13 ? 23 : Y < 537.18 ? 24 : Y < 537.24 ? 25 : Y < 537.36 ? 26 : Se != "Blink" ? "27" : "28")), Se && (Se[1] += " " + (Y += typeof Y == "number" ? ".x" : /[.+]/.test(Y) ? "" : "+")), le == "Safari" && (!Ce || parseInt(Ce) > 45) ? Ce = Y : le == "Chrome" && /\bHeadlessChrome/i.test(L) && we.unshift("headless")), le == "Opera" && (Y = /\bzbov|zvav$/.exec(se)) ? (le += " ", we.unshift("desktop mode"), Y == "zvav" ? (le += "Mini", Ce = null) : le += "Mobile", se = se.replace(RegExp(" *" + Y + "$"), "")) : le == "Safari" && /\bChrome\b/.exec(Se && Se[1]) ? (we.unshift("desktop mode"), le = "Chrome Mobile", Ce = null, /\bOS X\b/.test(se) ? (oe = "Apple", se = "iOS 4.3+") : se = null) : /\bSRWare Iron\b/.test(le) && !Ce && (Ce = ee("Chrome")), Ce && Ce.indexOf(Y = /[\d.]+$/.exec(se)) == 0 && L.indexOf("/" + Y + "-") > -1 && (se = x(se.replace(Y, ""))), se && se.indexOf(le) != -1 && !RegExp(le + " OS").test(se) && (se = se.replace(RegExp(" *" + b(le) + " *"), "")), Se && !/\b(?:Avant|Nook)\b/.test(le) && (/Browser|Lunascape|Maxthon/.test(le) || le != "Safari" && /^iOS/.test(se) && /\bSafari\b/.test(Se[1]) || /^(?:Adobe|Arora|Breach|Midori|Opera|Phantom|Rekonq|Rock|Samsung Internet|Sleipnir|SRWare Iron|Vivaldi|Web)/.test(le) && Se[1]) && (Y = Se[Se.length - 1]) && we.push(Y), we.length && (we = ["(" + we.join("; ") + ")"]), oe && Q && Q.indexOf(oe) < 0 && we.push("on " + oe), Q && we.push((/^on /.test(we[we.length - 1]) ? "" : "on ") + Q), se && (Y = / ([\d.+]+)$/.exec(se), Le = Y && se.charAt(se.length - Y[0].length - 1) == "/", se = {
80717
+ (Y = (/\bAppleWebKit\/([\d.]+\+?)/i.exec(L) || 0)[1]) && (Y = [parseFloat(Y.replace(/\.(\d)$/, ".0$1")), Y], le == "Safari" && Y[1].slice(-1) == "+" ? (le = "WebKit Nightly", Re = "alpha", Ce = Y[1].slice(0, -1)) : (Ce == Y[1] || Ce == (Y[2] = (/\bSafari\/([\d.]+\+?)/i.exec(L) || 0)[1])) && (Ce = null), Y[1] = (/\b(?:Headless)?Chrome\/([\d.]+)/i.exec(L) || 0)[1], Y[0] == 537.36 && Y[2] == 537.36 && parseFloat(Y[1]) >= 28 && Se == "WebKit" && (Se = ["Blink"]), !Pe || !U && !Y[1] ? (Se && (Se[1] = "like Safari"), Y = (Y = Y[0], Y < 400 ? 1 : Y < 500 ? 2 : Y < 526 ? 3 : Y < 533 ? 4 : Y < 534 ? "4+" : Y < 535 ? 5 : Y < 537 ? 6 : Y < 538 ? 7 : Y < 601 ? 8 : Y < 602 ? 9 : Y < 604 ? 10 : Y < 606 ? 11 : Y < 608 ? 12 : "12")) : (Se && (Se[1] = "like Chrome"), Y = Y[1] || (Y = Y[0], Y < 530 ? 1 : Y < 532 ? 2 : Y < 532.05 ? 3 : Y < 533 ? 4 : Y < 534.03 ? 5 : Y < 534.07 ? 6 : Y < 534.1 ? 7 : Y < 534.13 ? 8 : Y < 534.16 ? 9 : Y < 534.24 ? 10 : Y < 534.3 ? 11 : Y < 535.01 ? 12 : Y < 535.02 ? "13+" : Y < 535.07 ? 15 : Y < 535.11 ? 16 : Y < 535.19 ? 17 : Y < 536.05 ? 18 : Y < 536.1 ? 19 : Y < 537.01 ? 20 : Y < 537.11 ? "21+" : Y < 537.13 ? 23 : Y < 537.18 ? 24 : Y < 537.24 ? 25 : Y < 537.36 ? 26 : Se != "Blink" ? "27" : "28")), Se && (Se[1] += " " + (Y += typeof Y == "number" ? ".x" : /[.+]/.test(Y) ? "" : "+")), le == "Safari" && (!Ce || parseInt(Ce) > 45) ? Ce = Y : le == "Chrome" && /\bHeadlessChrome/i.test(L) && we.unshift("headless")), le == "Opera" && (Y = /\bzbov|zvav$/.exec(se)) ? (le += " ", we.unshift("desktop mode"), Y == "zvav" ? (le += "Mini", Ce = null) : le += "Mobile", se = se.replace(RegExp(" *" + Y + "$"), "")) : le == "Safari" && /\bChrome\b/.exec(Se && Se[1]) ? (we.unshift("desktop mode"), le = "Chrome Mobile", Ce = null, /\bOS X\b/.test(se) ? (oe = "Apple", se = "iOS 4.3+") : se = null) : /\bSRWare Iron\b/.test(le) && !Ce && (Ce = ee("Chrome")), Ce && Ce.indexOf(Y = /[\d.]+$/.exec(se)) == 0 && L.indexOf("/" + Y + "-") > -1 && (se = x(se.replace(Y, ""))), se && se.indexOf(le) != -1 && !RegExp(le + " OS").test(se) && (se = se.replace(RegExp(" *" + b(le) + " *"), "")), Se && !/\b(?:Avant|Nook)\b/.test(le) && (/Browser|Lunascape|Maxthon/.test(le) || le != "Safari" && /^iOS/.test(se) && /\bSafari\b/.test(Se[1]) || /^(?:Adobe|Arora|Breach|Midori|Opera|Phantom|Rekonq|Rock|Samsung Internet|Sleipnir|SRWare Iron|Vivaldi|Web)/.test(le) && Se[1]) && (Y = Se[Se.length - 1]) && we.push(Y), we.length && (we = ["(" + we.join("; ") + ")"]), oe && Q && Q.indexOf(oe) < 0 && we.push("on " + oe), Q && we.push((/^on /.test(we[we.length - 1]) ? "" : "on ") + Q), se && (Y = / ([\d.+]+)$/.exec(se), Le = Y && se.charAt(se.length - Y[0].length - 1) == "/", se = {
80718
80718
  architecture: 32,
80719
80719
  family: Y && !Le ? se.replace(Y[0], "") : se,
80720
80720
  version: Y ? Y[1] : null,
@@ -88100,10 +88100,10 @@ var o$ = { exports: {} };
88100
88100
  function H(M, I, B, ee) {
88101
88101
  return le(Ce(I), M, B, ee);
88102
88102
  }
88103
- function G(M, I, B, ee) {
88103
+ function U(M, I, B, ee) {
88104
88104
  return H(M, I, B, ee);
88105
88105
  }
88106
- function U(M, I, B, ee) {
88106
+ function G(M, I, B, ee) {
88107
88107
  return le(Se(I), M, B, ee);
88108
88108
  }
88109
88109
  function V(M, I, B, ee) {
@@ -88360,9 +88360,9 @@ var o$ = { exports: {} };
88360
88360
  return H(this, M, I, B);
88361
88361
  case "latin1":
88362
88362
  case "binary":
88363
- return G(this, M, I, B);
88364
- case "base64":
88365
88363
  return U(this, M, I, B);
88364
+ case "base64":
88365
+ return G(this, M, I, B);
88366
88366
  case "ucs2":
88367
88367
  case "ucs-2":
88368
88368
  case "utf16le":
@@ -88658,10 +88658,10 @@ var o$ = { exports: {} };
88658
88658
  function u(j) {
88659
88659
  return j._maxListeners === void 0 ? l.defaultMaxListeners : j._maxListeners;
88660
88660
  }
88661
- function f(j, O, H, G) {
88662
- var U, V, W;
88661
+ function f(j, O, H, U) {
88662
+ var G, V, W;
88663
88663
  if (c(H), V = j._events, V === void 0 ? (V = j._events = /* @__PURE__ */ Object.create(null), j._eventsCount = 0) : (V.newListener !== void 0 && (j.emit("newListener", O, H.listener ? H.listener : H), V = j._events), W = V[O]), W === void 0) W = V[O] = H, ++j._eventsCount;
88664
- else if (typeof W == "function" ? W = V[O] = G ? [H, W] : [W, H] : G ? W.unshift(H) : W.push(H), U = u(j), 0 < U && W.length > U && !W.warned) {
88664
+ else if (typeof W == "function" ? W = V[O] = U ? [H, W] : [W, H] : U ? W.unshift(H) : W.push(H), G = u(j), 0 < G && W.length > G && !W.warned) {
88665
88665
  W.warned = !0;
88666
88666
  var J = new Error("Possible EventEmitter memory leak detected. " + W.length + " " + (O + " listeners added. Use emitter.setMaxListeners() to increase limit"));
88667
88667
  J.name = "MaxListenersExceededWarning", J.emitter = j, J.type = O, J.count = W.length, a(J);
@@ -88672,14 +88672,14 @@ var o$ = { exports: {} };
88672
88672
  if (!this.fired) return this.target.removeListener(this.type, this.wrapFn), this.fired = !0, arguments.length === 0 ? this.listener.call(this.target) : this.listener.apply(this.target, arguments);
88673
88673
  }
88674
88674
  function h(j, O, H) {
88675
- var G = { fired: !1, wrapFn: void 0, target: j, type: O, listener: H }, U = d.bind(G);
88676
- return U.listener = H, G.wrapFn = U, U;
88675
+ var U = { fired: !1, wrapFn: void 0, target: j, type: O, listener: H }, G = d.bind(U);
88676
+ return G.listener = H, U.wrapFn = G, G;
88677
88677
  }
88678
88678
  function p(j, O, H) {
88679
- var G = j._events;
88680
- if (G === void 0) return [];
88681
- var U = G[O];
88682
- return U === void 0 ? [] : typeof U == "function" ? H ? [U.listener || U] : [U] : H ? k(U) : g(U, U.length);
88679
+ var U = j._events;
88680
+ if (U === void 0) return [];
88681
+ var G = U[O];
88682
+ return G === void 0 ? [] : typeof G == "function" ? H ? [G.listener || G] : [G] : H ? k(G) : g(G, G.length);
88683
88683
  }
88684
88684
  function m(j) {
88685
88685
  var O = this._events;
@@ -88691,7 +88691,7 @@ var o$ = { exports: {} };
88691
88691
  return 0;
88692
88692
  }
88693
88693
  function g(j, O) {
88694
- for (var H = Array(O), G = 0; G < O; ++G) H[G] = j[G];
88694
+ for (var H = Array(O), U = 0; U < O; ++U) H[U] = j[U];
88695
88695
  return H;
88696
88696
  }
88697
88697
  function v(j, O) {
@@ -88705,10 +88705,10 @@ var o$ = { exports: {} };
88705
88705
  function b(j, O, H) {
88706
88706
  typeof j.on == "function" && w(j, "error", O, H);
88707
88707
  }
88708
- function w(j, O, H, G) {
88709
- if (typeof j.on == "function") G.once ? j.once(O, H) : j.on(O, H);
88710
- else if (typeof j.addEventListener == "function") j.addEventListener(O, function U(V) {
88711
- G.once && j.removeEventListener(O, U), H(V);
88708
+ function w(j, O, H, U) {
88709
+ if (typeof j.on == "function") U.once ? j.once(O, H) : j.on(O, H);
88710
+ else if (typeof j.addEventListener == "function") j.addEventListener(O, function G(V) {
88711
+ U.once && j.removeEventListener(O, G), H(V);
88712
88712
  });
88713
88713
  else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type ' + typeof j);
88714
88714
  }
@@ -88724,14 +88724,14 @@ var o$ = { exports: {} };
88724
88724
  return j !== j;
88725
88725
  };
88726
88726
  o.exports = l, o.exports.once = function(j, O) {
88727
- return new Promise(function(H, G) {
88728
- function U(W) {
88729
- j.removeListener(O, V), G(W);
88727
+ return new Promise(function(H, U) {
88728
+ function G(W) {
88729
+ j.removeListener(O, V), U(W);
88730
88730
  }
88731
88731
  function V() {
88732
- typeof j.removeListener == "function" && j.removeListener("error", U), H([].slice.call(arguments));
88732
+ typeof j.removeListener == "function" && j.removeListener("error", G), H([].slice.call(arguments));
88733
88733
  }
88734
- w(j, O, V, { once: !0 }), O !== "error" && b(j, U, { once: !0 });
88734
+ w(j, O, V, { once: !0 }), O !== "error" && b(j, G, { once: !0 });
88735
88735
  });
88736
88736
  }, l.EventEmitter = l, l.prototype._events = void 0, l.prototype._eventsCount = 0, l.prototype._maxListeners = void 0;
88737
88737
  var N = 10;
@@ -88749,16 +88749,16 @@ var o$ = { exports: {} };
88749
88749
  return u(this);
88750
88750
  }, l.prototype.emit = function(j) {
88751
88751
  for (var O = [], H = 1; H < arguments.length; H++) O.push(arguments[H]);
88752
- var G = j === "error", U = this._events;
88753
- if (U !== void 0) G = G && U.error === void 0;
88754
- else if (!G) return !1;
88755
- if (G) {
88752
+ var U = j === "error", G = this._events;
88753
+ if (G !== void 0) U = U && G.error === void 0;
88754
+ else if (!U) return !1;
88755
+ if (U) {
88756
88756
  var V;
88757
88757
  if (0 < O.length && (V = O[0]), V instanceof Error) throw V;
88758
88758
  var W = new Error("Unhandled error." + (V ? " (" + V.message + ")" : ""));
88759
88759
  throw W.context = V, W;
88760
88760
  }
88761
- var J = U[j];
88761
+ var J = G[j];
88762
88762
  if (J === void 0) return !1;
88763
88763
  if (typeof J == "function") E(J, this, O);
88764
88764
  else for (var re = J.length, Z = g(J, re), H = 0; H < re; ++H) E(Z[H], this, O);
@@ -88772,30 +88772,30 @@ var o$ = { exports: {} };
88772
88772
  }, l.prototype.prependOnceListener = function(j, O) {
88773
88773
  return c(O), this.prependListener(j, h(this, j, O)), this;
88774
88774
  }, l.prototype.removeListener = function(j, O) {
88775
- var H, G, U, V, W;
88776
- if (c(O), G = this._events, G === void 0) return this;
88777
- if (H = G[j], H === void 0) return this;
88778
- if (H === O || H.listener === O) --this._eventsCount == 0 ? this._events = /* @__PURE__ */ Object.create(null) : (delete G[j], G.removeListener && this.emit("removeListener", j, H.listener || O));
88775
+ var H, U, G, V, W;
88776
+ if (c(O), U = this._events, U === void 0) return this;
88777
+ if (H = U[j], H === void 0) return this;
88778
+ if (H === O || H.listener === O) --this._eventsCount == 0 ? this._events = /* @__PURE__ */ Object.create(null) : (delete U[j], U.removeListener && this.emit("removeListener", j, H.listener || O));
88779
88779
  else if (typeof H != "function") {
88780
- for (U = -1, V = H.length - 1; 0 <= V; V--) if (H[V] === O || H[V].listener === O) {
88781
- W = H[V].listener, U = V;
88780
+ for (G = -1, V = H.length - 1; 0 <= V; V--) if (H[V] === O || H[V].listener === O) {
88781
+ W = H[V].listener, G = V;
88782
88782
  break;
88783
88783
  }
88784
- if (0 > U) return this;
88785
- U === 0 ? H.shift() : v(H, U), H.length === 1 && (G[j] = H[0]), G.removeListener !== void 0 && this.emit("removeListener", j, W || O);
88784
+ if (0 > G) return this;
88785
+ G === 0 ? H.shift() : v(H, G), H.length === 1 && (U[j] = H[0]), U.removeListener !== void 0 && this.emit("removeListener", j, W || O);
88786
88786
  }
88787
88787
  return this;
88788
88788
  }, l.prototype.off = l.prototype.removeListener, l.prototype.removeAllListeners = function(j) {
88789
- var O, H, G;
88789
+ var O, H, U;
88790
88790
  if (H = this._events, H === void 0) return this;
88791
88791
  if (H.removeListener === void 0) return arguments.length === 0 ? (this._events = /* @__PURE__ */ Object.create(null), this._eventsCount = 0) : H[j] !== void 0 && (--this._eventsCount == 0 ? this._events = /* @__PURE__ */ Object.create(null) : delete H[j]), this;
88792
88792
  if (arguments.length === 0) {
88793
- var U, V = Object.keys(H);
88794
- for (G = 0; G < V.length; ++G) U = V[G], U !== "removeListener" && this.removeAllListeners(U);
88793
+ var G, V = Object.keys(H);
88794
+ for (U = 0; U < V.length; ++U) G = V[U], G !== "removeListener" && this.removeAllListeners(G);
88795
88795
  return this.removeAllListeners("removeListener"), this._events = /* @__PURE__ */ Object.create(null), this._eventsCount = 0, this;
88796
88796
  }
88797
88797
  if (O = H[j], typeof O == "function") this.removeListener(j, O);
88798
- else if (O !== void 0) for (G = O.length - 1; 0 <= G; G--) this.removeListener(j, O[G]);
88798
+ else if (O !== void 0) for (U = O.length - 1; 0 <= U; U--) this.removeListener(j, O[U]);
88799
88799
  return this;
88800
88800
  }, l.prototype.listeners = function(j) {
88801
88801
  return p(this, j, !0);
@@ -89144,7 +89144,7 @@ Use Chrome, Firefox or Internet Explorer 11`);
89144
89144
  }
89145
89145
  function x(q) {
89146
89146
  var M = q._readableState;
89147
- Z("emitReadable_", M.destroyed, M.length, M.ended), !M.destroyed && (M.length || M.ended) && (q.emit("readable"), M.emittedReadable = !1), M.needReadable = !M.flowing && !M.ended && M.length <= M.highWaterMark, G(q);
89147
+ Z("emitReadable_", M.destroyed, M.length, M.ended), !M.destroyed && (M.length || M.ended) && (q.emit("readable"), M.emittedReadable = !1), M.needReadable = !M.flowing && !M.ended && M.length <= M.highWaterMark, U(q);
89148
89148
  }
89149
89149
  function A(q, M) {
89150
89150
  M.readingMore || (M.readingMore = !0, a.nextTick(E, q, M));
@@ -89159,7 +89159,7 @@ Use Chrome, Firefox or Internet Explorer 11`);
89159
89159
  function L(q) {
89160
89160
  return function() {
89161
89161
  var M = q._readableState;
89162
- Z("pipeOnDrain", M.awaitDrain), M.awaitDrain && M.awaitDrain--, M.awaitDrain === 0 && ie(q, "data") && (M.flowing = !0, G(q));
89162
+ Z("pipeOnDrain", M.awaitDrain), M.awaitDrain && M.awaitDrain--, M.awaitDrain === 0 && ie(q, "data") && (M.flowing = !0, U(q));
89163
89163
  };
89164
89164
  }
89165
89165
  function N(q) {
@@ -89173,13 +89173,13 @@ Use Chrome, Firefox or Internet Explorer 11`);
89173
89173
  M.resumeScheduled || (M.resumeScheduled = !0, a.nextTick(H, q, M));
89174
89174
  }
89175
89175
  function H(q, M) {
89176
- Z("resume", M.reading), M.reading || q.read(0), M.resumeScheduled = !1, q.emit("resume"), G(q), M.flowing && !M.reading && q.read(0);
89176
+ Z("resume", M.reading), M.reading || q.read(0), M.resumeScheduled = !1, q.emit("resume"), U(q), M.flowing && !M.reading && q.read(0);
89177
89177
  }
89178
- function G(q) {
89178
+ function U(q) {
89179
89179
  var M = q._readableState;
89180
89180
  for (Z("flow", M.flowing); M.flowing && q.read() !== null; ) ;
89181
89181
  }
89182
- function U(q, M) {
89182
+ function G(q, M) {
89183
89183
  if (M.length === 0) return null;
89184
89184
  var I;
89185
89185
  return M.objectMode ? I = M.buffer.shift() : !q || q >= M.length ? (I = M.decoder ? M.buffer.join("") : M.buffer.length === 1 ? M.buffer.first() : M.buffer.concat(M.length), M.buffer.clear()) : I = M.buffer.consume(q, M.decoder), I;
@@ -89239,7 +89239,7 @@ Use Chrome, Firefox or Internet Explorer 11`);
89239
89239
  var B = M.needReadable;
89240
89240
  Z("need readable", B), (M.length === 0 || M.length - q < M.highWaterMark) && (B = !0, Z("length less than watermark", B)), M.ended || M.reading ? (B = !1, Z("reading or ended", B)) : B && (Z("do read"), M.reading = !0, M.sync = !0, M.length === 0 && (M.needReadable = !0), this._read(M.highWaterMark), M.sync = !1, !M.reading && (q = k(I, M)));
89241
89241
  var ee;
89242
- return ee = 0 < q ? U(q, M) : null, ee === null ? (M.needReadable = M.length <= M.highWaterMark, q = 0) : (M.length -= q, M.awaitDrain = 0), M.length === 0 && (!M.ended && (M.needReadable = !0), I !== q && M.ended && V(this)), ee !== null && this.emit("data", ee), ee;
89242
+ return ee = 0 < q ? G(q, M) : null, ee === null ? (M.needReadable = M.length <= M.highWaterMark, q = 0) : (M.length -= q, M.awaitDrain = 0), M.length === 0 && (!M.ended && (M.needReadable = !0), I !== q && M.ended && V(this)), ee !== null && this.emit("data", ee), ee;
89243
89243
  }, h.prototype._read = function() {
89244
89244
  se(this, new Q("_read()"));
89245
89245
  }, h.prototype.pipe = function(q, M) {
@@ -89345,7 +89345,7 @@ Use Chrome, Firefox or Internet Explorer 11`);
89345
89345
  return this._readableState.flowing;
89346
89346
  }, set: function(q) {
89347
89347
  this._readableState && (this._readableState.flowing = q);
89348
- } }), h._fromList = U, Object.defineProperty(h.prototype, "readableLength", { enumerable: !1, get: function() {
89348
+ } }), h._fromList = G, Object.defineProperty(h.prototype, "readableLength", { enumerable: !1, get: function() {
89349
89349
  return this._readableState.length;
89350
89350
  } }), typeof Symbol == "function" && (h.from = function(q, M) {
89351
89351
  return ve === void 0 && (ve = s("./internal/streams/from")), ve(h, q, M);
@@ -89455,7 +89455,7 @@ Use Chrome, Firefox or Internet Explorer 11`);
89455
89455
  oe.writelen = He, oe.writecb = I, oe.writing = !0, oe.sync = !0, oe.destroyed ? oe.onwrite(new Re("write")) : se ? Q._writev(q, oe.onwrite) : Q._write(q, M, oe.onwrite), oe.sync = !1;
89456
89456
  }
89457
89457
  function w(Q, oe, se, He, q) {
89458
- --oe.pendingcb, se ? (a.nextTick(q, He), a.nextTick(G, Q, oe), Q._writableState.errorEmitted = !0, Se(Q, He)) : (q(He), Q._writableState.errorEmitted = !0, Se(Q, He), G(Q, oe));
89458
+ --oe.pendingcb, se ? (a.nextTick(q, He), a.nextTick(U, Q, oe), Q._writableState.errorEmitted = !0, Se(Q, He)) : (q(He), Q._writableState.errorEmitted = !0, Se(Q, He), U(Q, oe));
89459
89459
  }
89460
89460
  function x(Q) {
89461
89461
  Q.writing = !1, Q.writecb = null, Q.length -= Q.writelen, Q.writelen = 0;
@@ -89470,7 +89470,7 @@ Use Chrome, Firefox or Internet Explorer 11`);
89470
89470
  }
89471
89471
  }
89472
89472
  function E(Q, oe, se, He) {
89473
- se || L(Q, oe), oe.pendingcb--, He(), G(Q, oe);
89473
+ se || L(Q, oe), oe.pendingcb--, He(), U(Q, oe);
89474
89474
  }
89475
89475
  function L(Q, oe) {
89476
89476
  oe.length === 0 && oe.needDrain && (oe.needDrain = !1, Q.emit("drain"));
@@ -89497,13 +89497,13 @@ Use Chrome, Firefox or Internet Explorer 11`);
89497
89497
  }
89498
89498
  function O(Q, oe) {
89499
89499
  Q._final(function(se) {
89500
- oe.pendingcb--, se && Se(Q, se), oe.prefinished = !0, Q.emit("prefinish"), G(Q, oe);
89500
+ oe.pendingcb--, se && Se(Q, se), oe.prefinished = !0, Q.emit("prefinish"), U(Q, oe);
89501
89501
  });
89502
89502
  }
89503
89503
  function H(Q, oe) {
89504
89504
  oe.prefinished || oe.finalCalled || (typeof Q._final != "function" || oe.destroyed ? (oe.prefinished = !0, Q.emit("prefinish")) : (oe.pendingcb++, oe.finalCalled = !0, a.nextTick(O, Q, oe)));
89505
89505
  }
89506
- function G(Q, oe) {
89506
+ function U(Q, oe) {
89507
89507
  var se = j(oe);
89508
89508
  if (se && (H(Q, oe), oe.pendingcb === 0 && (oe.finished = !0, Q.emit("finish"), oe.autoDestroy))) {
89509
89509
  var He = Q._readableState;
@@ -89511,8 +89511,8 @@ Use Chrome, Firefox or Internet Explorer 11`);
89511
89511
  }
89512
89512
  return se;
89513
89513
  }
89514
- function U(Q, oe, se) {
89515
- oe.ending = !0, G(Q, oe), se && (oe.finished ? a.nextTick(se) : Q.once("finish", se)), oe.ended = !0, Q.writable = !1;
89514
+ function G(Q, oe, se) {
89515
+ oe.ending = !0, U(Q, oe), se && (oe.finished ? a.nextTick(se) : Q.once("finish", se)), oe.ended = !0, Q.writable = !1;
89516
89516
  }
89517
89517
  function V(Q, oe, se) {
89518
89518
  var He = Q.entry;
@@ -89564,7 +89564,7 @@ Use Chrome, Firefox or Internet Explorer 11`);
89564
89564
  se(new Y("_write()"));
89565
89565
  }, p.prototype._writev = null, p.prototype.end = function(Q, oe, se) {
89566
89566
  var He = this._writableState;
89567
- return typeof Q == "function" ? (se = Q, Q = null, oe = null) : typeof oe == "function" && (se = oe, oe = null), Q != null && this.write(Q, oe), He.corked && (He.corked = 1, this.uncork()), He.ending || U(this, He, se), this;
89567
+ return typeof Q == "function" ? (se = Q, Q = null, oe = null) : typeof oe == "function" && (se = oe, oe = null), Q != null && this.write(Q, oe), He.corked && (He.corked = 1, this.uncork()), He.ending || G(this, He, se), this;
89568
89568
  }, Object.defineProperty(p.prototype, "writableLength", { enumerable: !1, get: function() {
89569
89569
  return this._writableState.length;
89570
89570
  } }), Object.defineProperty(p.prototype, "destroyed", { enumerable: !1, get: function() {
@@ -89609,9 +89609,9 @@ Use Chrome, Firefox or Internet Explorer 11`);
89609
89609
  var L = this, N = this[v];
89610
89610
  if (N !== null) return Promise.reject(N);
89611
89611
  if (this[k]) return Promise.resolve(c(void 0, !0));
89612
- if (this[x].destroyed) return new Promise(function(G, U) {
89612
+ if (this[x].destroyed) return new Promise(function(U, G) {
89613
89613
  a.nextTick(function() {
89614
- L[v] ? U(L[v]) : G(c(void 0, !0));
89614
+ L[v] ? G(L[v]) : U(c(void 0, !0));
89615
89615
  });
89616
89616
  });
89617
89617
  var j, O = this[b];
@@ -89634,16 +89634,16 @@ Use Chrome, Firefox or Internet Explorer 11`);
89634
89634
  }), h), A);
89635
89635
  o.exports = function(L) {
89636
89636
  var N, j = Object.create(E, (N = {}, l(N, x, { value: L, writable: !0 }), l(N, m, { value: null, writable: !0 }), l(N, g, { value: null, writable: !0 }), l(N, v, { value: null, writable: !0 }), l(N, k, { value: L._readableState.endEmitted, writable: !0 }), l(N, w, { value: function(O, H) {
89637
- var G = j[x].read();
89638
- G ? (j[b] = null, j[m] = null, j[g] = null, O(c(G, !1))) : (j[m] = O, j[g] = H);
89637
+ var U = j[x].read();
89638
+ U ? (j[b] = null, j[m] = null, j[g] = null, O(c(U, !1))) : (j[m] = O, j[g] = H);
89639
89639
  }, writable: !0 }), N));
89640
89640
  return j[b] = null, p(L, function(O) {
89641
89641
  if (O && O.code !== "ERR_STREAM_PREMATURE_CLOSE") {
89642
89642
  var H = j[g];
89643
89643
  return H !== null && (j[b] = null, j[m] = null, j[g] = null, H(O)), void (j[v] = O);
89644
89644
  }
89645
- var G = j[m];
89646
- G !== null && (j[b] = null, j[m] = null, j[g] = null, G(c(void 0, !0))), j[k] = !0;
89645
+ var U = j[m];
89646
+ U !== null && (j[b] = null, j[m] = null, j[g] = null, U(c(void 0, !0))), j[k] = !0;
89647
89647
  }), L.on("readable", f.bind(null, j)), j;
89648
89648
  };
89649
89649
  }).call(this);
@@ -90365,8 +90365,8 @@ Use Chrome, Firefox or Internet Explorer 11`);
90365
90365
  N = !0;
90366
90366
  let H = E[O.localCandidateId];
90367
90367
  H && (H.ip || H.address) ? (this.localAddress = H.ip || H.address, this.localPort = +H.port) : H && H.ipAddress ? (this.localAddress = H.ipAddress, this.localPort = +H.portNumber) : typeof O.googLocalAddress == "string" && (H = O.googLocalAddress.split(":"), this.localAddress = H[0], this.localPort = +H[1]), this.localAddress && (this.localFamily = this.localAddress.includes(":") ? "IPv6" : "IPv4");
90368
- let G = A[O.remoteCandidateId];
90369
- G && (G.ip || G.address) ? (this.remoteAddress = G.ip || G.address, this.remotePort = +G.port) : G && G.ipAddress ? (this.remoteAddress = G.ipAddress, this.remotePort = +G.portNumber) : typeof O.googRemoteAddress == "string" && (G = O.googRemoteAddress.split(":"), this.remoteAddress = G[0], this.remotePort = +G[1]), this.remoteAddress && (this.remoteFamily = this.remoteAddress.includes(":") ? "IPv6" : "IPv4"), this._debug("connect local: %s:%s remote: %s:%s", this.localAddress, this.localPort, this.remoteAddress, this.remotePort);
90368
+ let U = A[O.remoteCandidateId];
90369
+ U && (U.ip || U.address) ? (this.remoteAddress = U.ip || U.address, this.remotePort = +U.port) : U && U.ipAddress ? (this.remoteAddress = U.ipAddress, this.remotePort = +U.portNumber) : typeof O.googRemoteAddress == "string" && (U = O.googRemoteAddress.split(":"), this.remoteAddress = U[0], this.remotePort = +U[1]), this.remoteAddress && (this.remoteFamily = this.remoteAddress.includes(":") ? "IPv6" : "IPv4"), this._debug("connect local: %s:%s remote: %s:%s", this.localAddress, this.localPort, this.remoteAddress, this.remotePort);
90370
90370
  };
90371
90371
  if (x.forEach((O) => {
90372
90372
  O.type === "transport" && O.selectedCandidatePairId && j(L[O.selectedCandidatePairId]), (O.type === "googCandidatePair" && O.googActiveConnection === "true" || (O.type === "candidatepair" || O.type === "candidate-pair") && O.selected) && j(O);
@@ -94028,9 +94028,9 @@ function set(t) {
94028
94028
  [U5, G5]
94029
94029
  // <>
94030
94030
  ];
94031
- for (let G = 0; G < H.length; G++) {
94032
- const [U, V] = H[G], W = $e(A, U);
94033
- $e(E, U, W), $e(W, V, A);
94031
+ for (let U = 0; U < H.length; U++) {
94032
+ const [G, V] = H[U], W = $e(A, G);
94033
+ $e(E, G, W), $e(W, V, A);
94034
94034
  const J = qs(Yg);
94035
94035
  Yt(W, n, J);
94036
94036
  const re = qs();
@@ -94815,9 +94815,9 @@ const B$ = ({
94815
94815
  setTimeout(() => {
94816
94816
  O(ne, Math.abs(me)), Yf = ie;
94817
94817
  });
94818
- }, [G, U] = Ue(), [V, W] = Ue();
94818
+ }, [U, G] = Ue(), [V, W] = Ue();
94819
94819
  qe(() => {
94820
- s(t.attrs["media-type"]), w(), U(t.attrs.dataFloat), W(t.attrs.dataAlign);
94820
+ s(t.attrs["media-type"]), w(), G(t.attrs.dataFloat), W(t.attrs.dataAlign);
94821
94821
  }, [t.attrs]);
94822
94822
  const J = (ie) => {
94823
94823
  ie.stopPropagation(), b.current = {
@@ -94845,7 +94845,7 @@ const B$ = ({
94845
94845
  as: "article",
94846
94846
  className: Rt(
94847
94847
  "media-node-view not-prose transition-all ease-in-out w-full",
94848
- G && `f-${t.attrs.dataFloat}`,
94848
+ U && `f-${t.attrs.dataFloat}`,
94849
94849
  V && `justify-${t.attrs.dataAlign}`
94850
94850
  ),
94851
94851
  children: /* @__PURE__ */ P.jsxs(
@@ -95834,12 +95834,12 @@ const wtt = (t) => ({
95834
95834
  }, h = sT(i), p = iT(h), m = await o.getDimensions(c), g = h === "y", v = g ? "top" : "left", k = g ? "bottom" : "right", b = g ? "clientHeight" : "clientWidth", w = s.reference[p] + s.reference[h] - d[h] - s.floating[p], x = d[h] - s.reference[h], A = await (o.getOffsetParent == null ? void 0 : o.getOffsetParent(c));
95835
95835
  let E = A ? A[b] : 0;
95836
95836
  (!E || !await (o.isElement == null ? void 0 : o.isElement(A))) && (E = a.floating[b] || s.floating[p]);
95837
- const L = w / 2 - x / 2, N = E / 2 - m[p] / 2 - 1, j = Zu(f[v], N), O = Zu(f[k], N), H = j, G = E - m[p] - O, U = E / 2 - m[p] / 2 + L, V = YM(H, U, G), W = !l.arrow && X2(i) != null && U !== V && s.reference[p] / 2 - (U < H ? j : O) - m[p] / 2 < 0, J = W ? U < H ? U - H : U - G : 0;
95837
+ const L = w / 2 - x / 2, N = E / 2 - m[p] / 2 - 1, j = Zu(f[v], N), O = Zu(f[k], N), H = j, U = E - m[p] - O, G = E / 2 - m[p] / 2 + L, V = YM(H, G, U), W = !l.arrow && X2(i) != null && G !== V && s.reference[p] / 2 - (G < H ? j : O) - m[p] / 2 < 0, J = W ? G < H ? G - H : G - U : 0;
95838
95838
  return {
95839
95839
  [h]: d[h] + J,
95840
95840
  data: {
95841
95841
  [h]: V,
95842
- centerOffset: U - V - J,
95842
+ centerOffset: G - V - J,
95843
95843
  ...W && {
95844
95844
  alignmentOffset: J
95845
95845
  }
@@ -95876,19 +95876,19 @@ const wtt = (t) => ({
95876
95876
  const E = [a, ...x], L = await E4(e, g), N = [];
95877
95877
  let j = ((r = s.flip) == null ? void 0 : r.overflows) || [];
95878
95878
  if (u && N.push(L[v]), f) {
95879
- const U = ptt(i, o, w);
95880
- N.push(L[U[0]], L[U[1]]);
95879
+ const G = ptt(i, o, w);
95880
+ N.push(L[G[0]], L[G[1]]);
95881
95881
  }
95882
95882
  if (j = [...j, {
95883
95883
  placement: i,
95884
95884
  overflows: N
95885
- }], !N.every((U) => U <= 0)) {
95885
+ }], !N.every((G) => G <= 0)) {
95886
95886
  var O, H;
95887
- const U = (((O = s.flip) == null ? void 0 : O.index) || 0) + 1, V = E[U];
95887
+ const G = (((O = s.flip) == null ? void 0 : O.index) || 0) + 1, V = E[G];
95888
95888
  if (V)
95889
95889
  return {
95890
95890
  data: {
95891
- index: U,
95891
+ index: G,
95892
95892
  overflows: j
95893
95893
  },
95894
95894
  reset: {
@@ -95899,8 +95899,8 @@ const wtt = (t) => ({
95899
95899
  if (!W)
95900
95900
  switch (h) {
95901
95901
  case "bestFit": {
95902
- var G;
95903
- const J = (G = j.filter((re) => {
95902
+ var U;
95903
+ const J = (U = j.filter((re) => {
95904
95904
  if (A) {
95905
95905
  const Z = Ku(re.placement);
95906
95906
  return Z === k || // Create a bias to the `y` side axis due to horizontal
@@ -95908,7 +95908,7 @@ const wtt = (t) => ({
95908
95908
  Z === "y";
95909
95909
  }
95910
95910
  return !0;
95911
- }).map((re) => [re.placement, re.overflows.filter((Z) => Z > 0).reduce((Z, ie) => Z + ie, 0)]).sort((re, Z) => re[1] - Z[1])[0]) == null ? void 0 : G[0];
95911
+ }).map((re) => [re.placement, re.overflows.filter((Z) => Z > 0).reduce((Z, ie) => Z + ie, 0)]).sort((re, Z) => re[1] - Z[1])[0]) == null ? void 0 : U[0];
95912
95912
  J && (W = J);
95913
95913
  break;
95914
95914
  }
@@ -96151,8 +96151,8 @@ const Ctt = function(t) {
96151
96151
  const k = m - u.top - u.bottom, b = p - u.left - u.right, w = Zu(m - u[g], k), x = Zu(p - u[v], b), A = !e.middlewareData.shift;
96152
96152
  let E = w, L = x;
96153
96153
  if ((n = e.middlewareData.shift) != null && n.enabled.x && (L = b), (r = e.middlewareData.shift) != null && r.enabled.y && (E = k), A && !d) {
96154
- const j = Cs(u.left, 0), O = Cs(u.right, 0), H = Cs(u.top, 0), G = Cs(u.bottom, 0);
96155
- h ? L = p - 2 * (j !== 0 || O !== 0 ? j + O : Cs(u.left, u.right)) : E = m - 2 * (H !== 0 || G !== 0 ? H + G : Cs(u.top, u.bottom));
96154
+ const j = Cs(u.left, 0), O = Cs(u.right, 0), H = Cs(u.top, 0), U = Cs(u.bottom, 0);
96155
+ h ? L = p - 2 * (j !== 0 || O !== 0 ? j + O : Cs(u.left, u.right)) : E = m - 2 * (H !== 0 || U !== 0 ? H + U : Cs(u.top, u.bottom));
96156
96156
  }
96157
96157
  await l({
96158
96158
  ...e,
@@ -96717,7 +96717,7 @@ function $tt(t) {
96717
96717
  re !== A.current && (A.current = re, m(re));
96718
96718
  }, []), b = C.useCallback((re) => {
96719
96719
  re !== E.current && (E.current = re, v(re));
96720
- }, []), w = s || p, x = o || g, A = C.useRef(null), E = C.useRef(null), L = C.useRef(u), N = l != null, j = d9(l), O = d9(i), H = d9(c), G = C.useCallback(() => {
96720
+ }, []), w = s || p, x = o || g, A = C.useRef(null), E = C.useRef(null), L = C.useRef(u), N = l != null, j = d9(l), O = d9(i), H = d9(c), U = C.useCallback(() => {
96721
96721
  if (!A.current || !E.current)
96722
96722
  return;
96723
96723
  const re = {
@@ -96734,7 +96734,7 @@ function $tt(t) {
96734
96734
  // setting it to `true` when `open === false` (must be specified).
96735
96735
  isPositioned: H.current !== !1
96736
96736
  };
96737
- U.current && !uv(L.current, ie) && (L.current = ie, o0.flushSync(() => {
96737
+ G.current && !uv(L.current, ie) && (L.current = ie, o0.flushSync(() => {
96738
96738
  f(ie);
96739
96739
  }));
96740
96740
  });
@@ -96745,16 +96745,16 @@ function $tt(t) {
96745
96745
  isPositioned: !1
96746
96746
  })));
96747
96747
  }, [c]);
96748
- const U = C.useRef(!1);
96749
- l6(() => (U.current = !0, () => {
96750
- U.current = !1;
96748
+ const G = C.useRef(!1);
96749
+ l6(() => (G.current = !0, () => {
96750
+ G.current = !1;
96751
96751
  }), []), l6(() => {
96752
96752
  if (w && (A.current = w), x && (E.current = x), w && x) {
96753
96753
  if (j.current)
96754
- return j.current(w, x, G);
96755
- G();
96754
+ return j.current(w, x, U);
96755
+ U();
96756
96756
  }
96757
- }, [w, x, G, j, N]);
96757
+ }, [w, x, U, j, N]);
96758
96758
  const V = C.useMemo(() => ({
96759
96759
  reference: A,
96760
96760
  floating: E,
@@ -96786,11 +96786,11 @@ function $tt(t) {
96786
96786
  }, [n, a, W.floating, u.x, u.y]);
96787
96787
  return C.useMemo(() => ({
96788
96788
  ...u,
96789
- update: G,
96789
+ update: U,
96790
96790
  refs: V,
96791
96791
  elements: W,
96792
96792
  floatingStyles: J
96793
- }), [u, G, V, W, J]);
96793
+ }), [u, U, V, W, J]);
96794
96794
  }
96795
96795
  const ent = (t) => {
96796
96796
  function e(n) {
@@ -96953,12 +96953,12 @@ var uT = "PopperContent", [pnt, mnt] = eee(uT), oee = C.forwardRef(
96953
96953
  updatePositionStrategy: h = "optimized",
96954
96954
  onPlaced: p,
96955
96955
  ...m
96956
- } = t, g = nee(uT, n), [v, k] = C.useState(null), b = x0(e, (Se) => k(Se)), [w, x] = C.useState(null), A = dnt(w), E = (A == null ? void 0 : A.width) ?? 0, L = (A == null ? void 0 : A.height) ?? 0, N = r + (s !== "center" ? "-" + s : ""), j = typeof u == "number" ? u : { top: 0, right: 0, bottom: 0, left: 0, ...u }, O = Array.isArray(c) ? c : [c], H = O.length > 0, G = {
96956
+ } = t, g = nee(uT, n), [v, k] = C.useState(null), b = x0(e, (Se) => k(Se)), [w, x] = C.useState(null), A = dnt(w), E = (A == null ? void 0 : A.width) ?? 0, L = (A == null ? void 0 : A.height) ?? 0, N = r + (s !== "center" ? "-" + s : ""), j = typeof u == "number" ? u : { top: 0, right: 0, bottom: 0, left: 0, ...u }, O = Array.isArray(c) ? c : [c], H = O.length > 0, U = {
96957
96957
  padding: j,
96958
96958
  boundary: O.filter(gnt),
96959
96959
  // with `strategy: 'fixed'`, this is the only way to get it to respect boundaries
96960
96960
  altBoundary: H
96961
- }, { refs: U, floatingStyles: V, placement: W, isPositioned: J, middlewareData: re } = $tt({
96961
+ }, { refs: G, floatingStyles: V, placement: W, isPositioned: J, middlewareData: re } = $tt({
96962
96962
  // default to `fixed` strategy so users don't have to pick and we also avoid focus scroll issues
96963
96963
  strategy: "fixed",
96964
96964
  placement: N,
@@ -96974,11 +96974,11 @@ var uT = "PopperContent", [pnt, mnt] = eee(uT), oee = C.forwardRef(
96974
96974
  mainAxis: !0,
96975
96975
  crossAxis: !1,
96976
96976
  limiter: f === "partial" ? rnt() : void 0,
96977
- ...G
96977
+ ...U
96978
96978
  }),
96979
- l && int({ ...G }),
96979
+ l && int({ ...U }),
96980
96980
  snt({
96981
- ...G,
96981
+ ...U,
96982
96982
  apply: ({ elements: Se, rects: le, availableWidth: Q, availableHeight: oe }) => {
96983
96983
  const { width: se, height: He } = le.reference, q = Se.floating.style;
96984
96984
  q.setProperty("--radix-popper-available-width", `${Q}px`), q.setProperty("--radix-popper-available-height", `${oe}px`), q.setProperty("--radix-popper-anchor-width", `${se}px`), q.setProperty("--radix-popper-anchor-height", `${He}px`);
@@ -96986,7 +96986,7 @@ var uT = "PopperContent", [pnt, mnt] = eee(uT), oee = C.forwardRef(
96986
96986
  }),
96987
96987
  w && ant({ element: w, padding: a }),
96988
96988
  vnt({ arrowWidth: E, arrowHeight: L }),
96989
- d && ont({ strategy: "referenceHidden", ...G })
96989
+ d && ont({ strategy: "referenceHidden", ...U })
96990
96990
  ]
96991
96991
  }), [Z, ie] = cee(W), me = Wu(p);
96992
96992
  u2(() => {
@@ -96998,7 +96998,7 @@ var uT = "PopperContent", [pnt, mnt] = eee(uT), oee = C.forwardRef(
96998
96998
  }, [v]), /* @__PURE__ */ P.jsx(
96999
96999
  "div",
97000
97000
  {
97001
- ref: U.setFloating,
97001
+ ref: G.setFloating,
97002
97002
  "data-radix-popper-content-wrapper": "",
97003
97003
  style: {
97004
97004
  ...V,
@@ -99544,8 +99544,8 @@ const n3 = ({
99544
99544
  }, [e, n.state]), O = (Z) => {
99545
99545
  const ie = e() + t.nodeSize;
99546
99546
  n.commands.insertContentAt(ie - 4, Z);
99547
- }, H = Srt(O), G = Lrt(O), [U, V] = Ue(!1), [W, J] = Ue(2), re = () => {
99548
- V(!U), J(U ? 2 : G.length);
99547
+ }, H = Srt(O), U = Lrt(O), [G, V] = Ue(!1), [W, J] = Ue(2), re = () => {
99548
+ V(!G), J(G ? 2 : U.length);
99549
99549
  };
99550
99550
  return /* @__PURE__ */ P.jsxs(
99551
99551
  P2,
@@ -99647,10 +99647,10 @@ const n3 = ({
99647
99647
  }),
99648
99648
  children: j && !l && Ert(
99649
99649
  H,
99650
- G,
99650
+ U,
99651
99651
  W,
99652
99652
  re,
99653
- U
99653
+ G
99654
99654
  )
99655
99655
  }
99656
99656
  )
@@ -101495,8 +101495,8 @@ function zit(t) {
101495
101495
  }, h, {
101496
101496
  content: N.container
101497
101497
  });
101498
- p && (process.env.NODE_ENV !== "production" && ["trigger", "hideOnClick", "showOnCreate"].forEach(function(U) {
101499
- j[U] !== void 0 && console.warn(["@tippyjs/react: Cannot specify `" + U + "` prop in", "controlled mode (`visible` prop)"].join(" "));
101498
+ p && (process.env.NODE_ENV !== "production" && ["trigger", "hideOnClick", "showOnCreate"].forEach(function(G) {
101499
+ j[G] !== void 0 && console.warn(["@tippyjs/react: Cannot specify `" + G + "` prop in", "controlled mode (`visible` prop)"].join(" "));
101500
101500
  }), j.trigger = "manual", j.hideOnClick = !1), m && (u = !0);
101501
101501
  var O = j, H = j.plugins || [];
101502
101502
  a && (O = Object.assign({}, j, {
@@ -101519,11 +101519,11 @@ function zit(t) {
101519
101519
  };
101520
101520
  }
101521
101521
  }));
101522
- var G = [l].concat(r ? [r.type] : []);
101522
+ var U = [l].concat(r ? [r.type] : []);
101523
101523
  return v9(function() {
101524
- var U = l;
101525
- l && l.hasOwnProperty("current") && (U = l.current);
101526
- var V = t(U || N.ref || rz(), Object.assign({}, O, {
101524
+ var G = l;
101525
+ l && l.hasOwnProperty("current") && (G = l.current);
101526
+ var V = t(G || N.ref || rz(), Object.assign({}, O, {
101527
101527
  plugins: [Oit].concat(j.plugins || [])
101528
101528
  }));
101529
101529
  return N.instance = V, u && V.disable(), s && V.show(), m && o.hook({
@@ -101534,26 +101534,26 @@ function zit(t) {
101534
101534
  }), k(!0), function() {
101535
101535
  V.destroy(), o == null || o.cleanup(V);
101536
101536
  };
101537
- }, G), v9(function() {
101538
- var U;
101537
+ }, U), v9(function() {
101538
+ var G;
101539
101539
  if (N.renders === 1) {
101540
101540
  N.renders++;
101541
101541
  return;
101542
101542
  }
101543
101543
  var V = N.instance;
101544
- V.setProps(Pit(V.props, O)), (U = V.popperInstance) == null || U.forceUpdate(), u ? V.disable() : V.enable(), p && (s ? V.show() : V.hide()), m && o.hook({
101544
+ V.setProps(Pit(V.props, O)), (G = V.popperInstance) == null || G.forceUpdate(), u ? V.disable() : V.enable(), p && (s ? V.show() : V.hide()), m && o.hook({
101545
101545
  instance: V,
101546
101546
  content: i,
101547
101547
  props: O,
101548
101548
  setSingletonContent: L
101549
101549
  });
101550
101550
  }), v9(function() {
101551
- var U;
101551
+ var G;
101552
101552
  if (a) {
101553
101553
  var V = N.instance;
101554
101554
  V.setProps({
101555
101555
  popperOptions: Object.assign({}, V.props.popperOptions, {
101556
- modifiers: [].concat((((U = V.props.popperOptions) == null ? void 0 : U.modifiers) || []).filter(function(W) {
101556
+ modifiers: [].concat((((G = V.props.popperOptions) == null ? void 0 : G.modifiers) || []).filter(function(W) {
101557
101557
  var J = W.name;
101558
101558
  return J !== "$$tippyReact";
101559
101559
  }), [{
@@ -101573,7 +101573,7 @@ function zit(t) {
101573
101573
  })
101574
101574
  });
101575
101575
  }
101576
- }, [w.placement, w.referenceHidden, w.escaped].concat(G)), /* @__PURE__ */ xe.createElement(xe.Fragment, null, r ? /* @__PURE__ */ N2(r, {
101576
+ }, [w.placement, w.referenceHidden, w.escaped].concat(U)), /* @__PURE__ */ xe.createElement(xe.Fragment, null, r ? /* @__PURE__ */ N2(r, {
101577
101577
  ref: function(V) {
101578
101578
  N.ref = V, iC(r.ref, V);
101579
101579
  }
@@ -103833,16 +103833,16 @@ function hot(t, e, n, r) {
103833
103833
  a = t.push("list_item_open", "li", 1), a.markup = String.fromCharCode(p);
103834
103834
  const N = [l, 0];
103835
103835
  a.map = N, f && (a.info = t.src.slice(o, h - 1));
103836
- const j = t.tight, O = t.tShift[l], H = t.sCount[l], G = t.listIndent;
103837
- if (t.listIndent = t.blkIndent, t.blkIndent = L, t.tight = !0, t.tShift[l] = A - t.bMarks[l], t.sCount[l] = x, A >= i && t.isEmpty(l + 1) ? t.line = Math.min(t.line + 2, n) : t.md.block.tokenize(t, l, n, !0), (!t.tight || v) && (c = !1), v = t.line - l > 1 && t.isEmpty(t.line - 1), t.blkIndent = t.listIndent, t.listIndent = G, t.tShift[l] = O, t.sCount[l] = H, t.tight = j, a = t.push("list_item_close", "li", -1), a.markup = String.fromCharCode(p), l = t.line, N[1] = l, l >= n || t.sCount[l] < t.blkIndent || t.sCount[l] - t.blkIndent >= 4)
103836
+ const j = t.tight, O = t.tShift[l], H = t.sCount[l], U = t.listIndent;
103837
+ if (t.listIndent = t.blkIndent, t.blkIndent = L, t.tight = !0, t.tShift[l] = A - t.bMarks[l], t.sCount[l] = x, A >= i && t.isEmpty(l + 1) ? t.line = Math.min(t.line + 2, n) : t.md.block.tokenize(t, l, n, !0), (!t.tight || v) && (c = !1), v = t.line - l > 1 && t.isEmpty(t.line - 1), t.blkIndent = t.listIndent, t.listIndent = U, t.tShift[l] = O, t.sCount[l] = H, t.tight = j, a = t.push("list_item_close", "li", -1), a.markup = String.fromCharCode(p), l = t.line, N[1] = l, l >= n || t.sCount[l] < t.blkIndent || t.sCount[l] - t.blkIndent >= 4)
103838
103838
  break;
103839
- let U = !1;
103839
+ let G = !1;
103840
103840
  for (let V = 0, W = k.length; V < W; V++)
103841
103841
  if (k[V](t, l, n, !0)) {
103842
- U = !0;
103842
+ G = !0;
103843
103843
  break;
103844
103844
  }
103845
- if (U)
103845
+ if (G)
103846
103846
  break;
103847
103847
  if (f) {
103848
103848
  if (h = vz(t, l), h < 0)
@@ -107118,8 +107118,8 @@ function Lte() {
107118
107118
  e.isSupported = typeof Mte == "function" && typeof b == "function" && A && A.createHTMLDocument !== void 0;
107119
107119
  const {
107120
107120
  MUSTACHE_EXPR: H,
107121
- ERB_EXPR: G,
107122
- TMPLIT_EXPR: U,
107121
+ ERB_EXPR: U,
107122
+ TMPLIT_EXPR: G,
107123
107123
  DATA_ATTR: V,
107124
107124
  ARIA_ATTR: W,
107125
107125
  IS_SCRIPT_OR_DATA: J,
@@ -107289,7 +107289,7 @@ function Lte() {
107289
107289
  }
107290
107290
  return si(te), !0;
107291
107291
  }
107292
- return te instanceof l && !la(te) || (Oe === "noscript" || Oe === "noembed" || Oe === "noframes") && Ci(/<\/no(script|embed|frames)/i, te.innerHTML) ? (si(te), !0) : (Le && te.nodeType === Ep.text && (Ee = te.textContent, c3([H, G, U], (Nt) => {
107292
+ return te instanceof l && !la(te) || (Oe === "noscript" || Oe === "noembed" || Oe === "noframes") && Ci(/<\/no(script|embed|frames)/i, te.innerHTML) ? (si(te), !0) : (Le && te.nodeType === Ep.text && (Ee = te.textContent, c3([H, U, G], (Nt) => {
107293
107293
  Ee = Ap(Ee, Nt, " ");
107294
107294
  }), te.textContent !== Ee && (Cp(e.removed, {
107295
107295
  element: te.cloneNode()
@@ -107355,7 +107355,7 @@ function Lte() {
107355
107355
  Tc(cn, te);
107356
107356
  continue;
107357
107357
  }
107358
- Le && c3([H, G, U], (sD) => {
107358
+ Le && c3([H, U, G], (sD) => {
107359
107359
  Mr = Ap(Mr, sD, " ");
107360
107360
  });
107361
107361
  const iD = zt(te.nodeName);
@@ -107426,7 +107426,7 @@ function Lte() {
107426
107426
  }
107427
107427
  let Bt = le ? Ee.outerHTML : Ee.innerHTML;
107428
107428
  return le && me["!doctype"] && Ee.ownerDocument && Ee.ownerDocument.doctype && Ee.ownerDocument.doctype.name && Ci(Ste, Ee.ownerDocument.doctype.name) && (Bt = "<!DOCTYPE " + Ee.ownerDocument.doctype.name + `>
107429
- ` + Bt), Le && c3([H, G, U], (Nr) => {
107429
+ ` + Bt), Le && c3([H, U, G], (Nr) => {
107430
107430
  Bt = Ap(Bt, Nr, " ");
107431
107431
  }), w && q ? w.createHTML(Bt) : Bt;
107432
107432
  }, e.setConfig = function() {
@@ -108542,8 +108542,8 @@ function qz(t, e) {
108542
108542
  const j = E[N], H = (j.textContent || "").match(/^\[([ x])\]\s*(.*)/i);
108543
108543
  if (H) {
108544
108544
  L = !0;
108545
- const G = H[1].toLowerCase() === "x", U = H[2];
108546
- j.setAttribute("data-type", "taskItem"), j.setAttribute("data-checked", G.toString()), j.textContent = U;
108545
+ const U = H[1].toLowerCase() === "x", G = H[2];
108546
+ j.setAttribute("data-type", "taskItem"), j.setAttribute("data-checked", U.toString()), j.textContent = G;
108547
108547
  }
108548
108548
  }
108549
108549
  L && A.setAttribute("data-type", "taskList");
@@ -113850,19 +113850,19 @@ var Xte = function(e) {
113850
113850
  throw new Error(`Correct katexImagesData or update code here to support
113851
113851
  ` + E + " children.");
113852
113852
  for (var O = 0; O < E; O++) {
113853
- var H = new $u(b[O]), G = new gc([H], {
113853
+ var H = new $u(b[O]), U = new gc([H], {
113854
113854
  width: "400em",
113855
113855
  height: Je(A),
113856
113856
  viewBox: "0 0 " + a + " " + x,
113857
113857
  preserveAspectRatio: N[O] + " slice"
113858
- }), U = be.makeSvgSpan([L[O]], [G], n);
113858
+ }), G = be.makeSvgSpan([L[O]], [U], n);
113859
113859
  if (E === 1)
113860
113860
  return {
113861
- span: U,
113861
+ span: G,
113862
113862
  minWidth: w,
113863
113863
  height: A
113864
113864
  };
113865
- U.style.height = Je(A), v.push(U);
113865
+ G.style.height = Je(A), v.push(G);
113866
113866
  }
113867
113867
  return {
113868
113868
  span: be.makeSpan(["stretchy"], v, n),
@@ -114790,12 +114790,12 @@ var Hp = function(e, n, r) {
114790
114790
  r && (j *= i.sizeMultiplier);
114791
114791
  var O = N / 2 - j, H = [];
114792
114792
  if (f.length > 0) {
114793
- var G = N - m - b, U = Math.round(N * 1e3), V = n0t(f, Math.round(G * 1e3)), W = new $u(f, V), J = (d / 1e3).toFixed(3) + "em", re = (U / 1e3).toFixed(3) + "em", Z = new gc([W], {
114793
+ var U = N - m - b, G = Math.round(N * 1e3), V = n0t(f, Math.round(U * 1e3)), W = new $u(f, V), J = (d / 1e3).toFixed(3) + "em", re = (G / 1e3).toFixed(3) + "em", Z = new gc([W], {
114794
114794
  width: J,
114795
114795
  height: re,
114796
- viewBox: "0 0 " + d + " " + U
114796
+ viewBox: "0 0 " + d + " " + G
114797
114797
  }), ie = be.makeSvgSpan([], [Z], i);
114798
- ie.height = U / 1e3, ie.style.width = J, ie.style.height = re, H.push({
114798
+ ie.height = G / 1e3, ie.style.width = J, ie.style.height = re, H.push({
114799
114799
  type: "elem",
114800
114800
  elem: ie
114801
114801
  });
@@ -115526,7 +115526,7 @@ var ll = function(e, n) {
115526
115526
  var j = e.rowGaps[r], O = 0;
115527
115527
  j && (O = Gn(j, n), O > 0 && (O += k, E < O && (E = O), O = 0)), e.addJot && (E += m), L.height = A, L.depth = E, b += A, L.pos = b, b += E + O, l[r] = L, w(o[r + 1]);
115528
115528
  }
115529
- var H = b / 2 + n.fontMetrics().axisHeight, G = e.cols || [], U = [], V, W, J = [];
115529
+ var H = b / 2 + n.fontMetrics().axisHeight, U = e.cols || [], G = [], V, W, J = [];
115530
115530
  if (e.tags && e.tags.some((He) => He))
115531
115531
  for (r = 0; r < s; ++r) {
115532
115532
  var re = l[r], Z = re.pos - H, ie = e.tags[r], me = void 0;
@@ -115540,22 +115540,22 @@ var ll = function(e, n) {
115540
115540
  i = 0, W = 0;
115541
115541
  // Continue while either there are more columns or more column
115542
115542
  // descriptions, so trailing separators don't get lost.
115543
- i < a || W < G.length;
115543
+ i < a || W < U.length;
115544
115544
  ++i, ++W
115545
115545
  ) {
115546
- for (var ne = G[W] || {}, ye = !0; ne.type === "separator"; ) {
115547
- if (ye || (V = be.makeSpan(["arraycolsep"], []), V.style.width = Je(n.fontMetrics().doubleRuleSep), U.push(V)), ne.separator === "|" || ne.separator === ":") {
115546
+ for (var ne = U[W] || {}, ye = !0; ne.type === "separator"; ) {
115547
+ if (ye || (V = be.makeSpan(["arraycolsep"], []), V.style.width = Je(n.fontMetrics().doubleRuleSep), G.push(V)), ne.separator === "|" || ne.separator === ":") {
115548
115548
  var ue = ne.separator === "|" ? "solid" : "dashed", he = be.makeSpan(["vertical-separator"], [], n);
115549
115549
  he.style.height = Je(b), he.style.borderRightWidth = Je(u), he.style.borderRightStyle = ue, he.style.margin = "0 " + Je(-u / 2);
115550
115550
  var Y = b - H;
115551
- Y && (he.style.verticalAlign = Je(-Y)), U.push(he);
115551
+ Y && (he.style.verticalAlign = Je(-Y)), G.push(he);
115552
115552
  } else
115553
115553
  throw new Ge("Invalid separator type: " + ne.separator);
115554
- W++, ne = G[W] || {}, ye = !1;
115554
+ W++, ne = U[W] || {}, ye = !1;
115555
115555
  }
115556
115556
  if (!(i >= a)) {
115557
115557
  var ve = void 0;
115558
- (i > 0 || e.hskipBeforeAndAfter) && (ve = bt.deflt(ne.pregap, d), ve !== 0 && (V = be.makeSpan(["arraycolsep"], []), V.style.width = Je(ve), U.push(V)));
115558
+ (i > 0 || e.hskipBeforeAndAfter) && (ve = bt.deflt(ne.pregap, d), ve !== 0 && (V = be.makeSpan(["arraycolsep"], []), V.style.width = Je(ve), G.push(V)));
115559
115559
  var we = [];
115560
115560
  for (r = 0; r < s; ++r) {
115561
115561
  var Re = l[r], Pe = Re[i];
@@ -115571,10 +115571,10 @@ var ll = function(e, n) {
115571
115571
  we = be.makeVList({
115572
115572
  positionType: "individualShift",
115573
115573
  children: we
115574
- }, n), we = be.makeSpan(["col-align-" + (ne.align || "c")], [we]), U.push(we), (i < a - 1 || e.hskipBeforeAndAfter) && (ve = bt.deflt(ne.postgap, d), ve !== 0 && (V = be.makeSpan(["arraycolsep"], []), V.style.width = Je(ve), U.push(V)));
115574
+ }, n), we = be.makeSpan(["col-align-" + (ne.align || "c")], [we]), G.push(we), (i < a - 1 || e.hskipBeforeAndAfter) && (ve = bt.deflt(ne.postgap, d), ve !== 0 && (V = be.makeSpan(["arraycolsep"], []), V.style.width = Je(ve), G.push(V)));
115575
115575
  }
115576
115576
  }
115577
- if (l = be.makeSpan(["mtable"], U), c.length > 0) {
115577
+ if (l = be.makeSpan(["mtable"], G), c.length > 0) {
115578
115578
  for (var Le = be.makeLineSpan("hline", n, u), Se = be.makeLineSpan("hdashline", n, u), le = [{
115579
115579
  type: "elem",
115580
115580
  elem: l,
@@ -123760,15 +123760,15 @@ class Odt extends sre {
123760
123760
  for (let b = 0; b < 16; b++, n += 4)
123761
123761
  Bc[b] = e.getUint32(n), Fc[b] = e.getUint32(n += 4);
123762
123762
  for (let b = 16; b < 80; b++) {
123763
- const w = Bc[b - 15] | 0, x = Fc[b - 15] | 0, A = Kt.rotrSH(w, x, 1) ^ Kt.rotrSH(w, x, 8) ^ Kt.shrSH(w, x, 7), E = Kt.rotrSL(w, x, 1) ^ Kt.rotrSL(w, x, 8) ^ Kt.shrSL(w, x, 7), L = Bc[b - 2] | 0, N = Fc[b - 2] | 0, j = Kt.rotrSH(L, N, 19) ^ Kt.rotrBH(L, N, 61) ^ Kt.shrSH(L, N, 6), O = Kt.rotrSL(L, N, 19) ^ Kt.rotrBL(L, N, 61) ^ Kt.shrSL(L, N, 6), H = Kt.add4L(E, O, Fc[b - 7], Fc[b - 16]), G = Kt.add4H(H, A, j, Bc[b - 7], Bc[b - 16]);
123764
- Bc[b] = G | 0, Fc[b] = H | 0;
123763
+ const w = Bc[b - 15] | 0, x = Fc[b - 15] | 0, A = Kt.rotrSH(w, x, 1) ^ Kt.rotrSH(w, x, 8) ^ Kt.shrSH(w, x, 7), E = Kt.rotrSL(w, x, 1) ^ Kt.rotrSL(w, x, 8) ^ Kt.shrSL(w, x, 7), L = Bc[b - 2] | 0, N = Fc[b - 2] | 0, j = Kt.rotrSH(L, N, 19) ^ Kt.rotrBH(L, N, 61) ^ Kt.shrSH(L, N, 6), O = Kt.rotrSL(L, N, 19) ^ Kt.rotrBL(L, N, 61) ^ Kt.shrSL(L, N, 6), H = Kt.add4L(E, O, Fc[b - 7], Fc[b - 16]), U = Kt.add4H(H, A, j, Bc[b - 7], Bc[b - 16]);
123764
+ Bc[b] = U | 0, Fc[b] = H | 0;
123765
123765
  }
123766
123766
  let { Ah: r, Al: i, Bh: s, Bl: o, Ch: a, Cl: l, Dh: c, Dl: u, Eh: f, El: d, Fh: h, Fl: p, Gh: m, Gl: g, Hh: v, Hl: k } = this;
123767
123767
  for (let b = 0; b < 80; b++) {
123768
- const w = Kt.rotrSH(f, d, 14) ^ Kt.rotrSH(f, d, 18) ^ Kt.rotrBH(f, d, 41), x = Kt.rotrSL(f, d, 14) ^ Kt.rotrSL(f, d, 18) ^ Kt.rotrBL(f, d, 41), A = f & h ^ ~f & m, E = d & p ^ ~d & g, L = Kt.add5L(k, x, E, Rdt[b], Fc[b]), N = Kt.add5H(L, v, w, A, Pdt[b], Bc[b]), j = L | 0, O = Kt.rotrSH(r, i, 28) ^ Kt.rotrBH(r, i, 34) ^ Kt.rotrBH(r, i, 39), H = Kt.rotrSL(r, i, 28) ^ Kt.rotrBL(r, i, 34) ^ Kt.rotrBL(r, i, 39), G = r & s ^ r & a ^ s & a, U = i & o ^ i & l ^ o & l;
123768
+ const w = Kt.rotrSH(f, d, 14) ^ Kt.rotrSH(f, d, 18) ^ Kt.rotrBH(f, d, 41), x = Kt.rotrSL(f, d, 14) ^ Kt.rotrSL(f, d, 18) ^ Kt.rotrBL(f, d, 41), A = f & h ^ ~f & m, E = d & p ^ ~d & g, L = Kt.add5L(k, x, E, Rdt[b], Fc[b]), N = Kt.add5H(L, v, w, A, Pdt[b], Bc[b]), j = L | 0, O = Kt.rotrSH(r, i, 28) ^ Kt.rotrBH(r, i, 34) ^ Kt.rotrBH(r, i, 39), H = Kt.rotrSL(r, i, 28) ^ Kt.rotrBL(r, i, 34) ^ Kt.rotrBL(r, i, 39), U = r & s ^ r & a ^ s & a, G = i & o ^ i & l ^ o & l;
123769
123769
  v = m | 0, k = g | 0, m = h | 0, g = p | 0, h = f | 0, p = d | 0, { h: f, l: d } = Kt.add(c | 0, u | 0, N | 0, j | 0), c = a | 0, u = l | 0, a = s | 0, l = o | 0, s = r | 0, o = i | 0;
123770
- const V = Kt.add3L(j, H, U);
123771
- r = Kt.add3H(V, N, O, G), i = V | 0;
123770
+ const V = Kt.add3L(j, H, G);
123771
+ r = Kt.add3H(V, N, O, U), i = V | 0;
123772
123772
  }
123773
123773
  ({ h: r, l: i } = Kt.add(this.Ah | 0, this.Al | 0, r | 0, i | 0)), { h: s, l: o } = Kt.add(this.Bh | 0, this.Bl | 0, s | 0, o | 0), { h: a, l } = Kt.add(this.Ch | 0, this.Cl | 0, a | 0, l | 0), { h: c, l: u } = Kt.add(this.Dh | 0, this.Dl | 0, c | 0, u | 0), { h: f, l: d } = Kt.add(this.Eh | 0, this.El | 0, f | 0, d | 0), { h, l: p } = Kt.add(this.Fh | 0, this.Fl | 0, h | 0, p | 0), { h: m, l: g } = Kt.add(this.Gh | 0, this.Gl | 0, m | 0, g | 0), { h: v, l: k } = Kt.add(this.Hh | 0, this.Hl | 0, v | 0, k | 0), this.set(r, i, s, o, a, l, c, u, f, d, h, p, m, g, v, k);
123774
123774
  }
@@ -124619,10 +124619,10 @@ function kht(t) {
124619
124619
  const { px: g, py: v, pz: k } = this, { px: b, py: w, pz: x } = m;
124620
124620
  let A = n.ZERO, E = n.ZERO, L = n.ZERO;
124621
124621
  const N = e.a, j = n.mul(e.b, ZB);
124622
- let O = n.mul(g, b), H = n.mul(v, w), G = n.mul(k, x), U = n.add(g, v), V = n.add(b, w);
124623
- U = n.mul(U, V), V = n.add(O, H), U = n.sub(U, V), V = n.add(g, k);
124622
+ let O = n.mul(g, b), H = n.mul(v, w), U = n.mul(k, x), G = n.add(g, v), V = n.add(b, w);
124623
+ G = n.mul(G, V), V = n.add(O, H), G = n.sub(G, V), V = n.add(g, k);
124624
124624
  let W = n.add(b, x);
124625
- return V = n.mul(V, W), W = n.add(O, G), V = n.sub(V, W), W = n.add(v, k), A = n.add(w, x), W = n.mul(W, A), A = n.add(H, G), W = n.sub(W, A), L = n.mul(N, V), A = n.mul(j, G), L = n.add(A, L), A = n.sub(H, L), L = n.add(H, L), E = n.mul(A, L), H = n.add(O, O), H = n.add(H, O), G = n.mul(N, G), V = n.mul(j, V), H = n.add(H, G), G = n.sub(O, G), G = n.mul(N, G), V = n.add(V, G), O = n.mul(H, V), E = n.add(E, O), O = n.mul(W, V), A = n.mul(U, A), A = n.sub(A, O), O = n.mul(U, H), L = n.mul(W, L), L = n.add(L, O), new f(A, E, L);
124625
+ return V = n.mul(V, W), W = n.add(O, U), V = n.sub(V, W), W = n.add(v, k), A = n.add(w, x), W = n.mul(W, A), A = n.add(H, U), W = n.sub(W, A), L = n.mul(N, V), A = n.mul(j, U), L = n.add(A, L), A = n.sub(H, L), L = n.add(H, L), E = n.mul(A, L), H = n.add(O, O), H = n.add(H, O), U = n.mul(N, U), V = n.mul(j, V), H = n.add(H, U), U = n.sub(O, U), U = n.mul(N, U), V = n.add(V, U), O = n.mul(H, V), E = n.add(E, O), O = n.mul(W, V), A = n.mul(G, A), A = n.sub(A, O), O = n.mul(G, H), L = n.mul(W, L), L = n.add(L, O), new f(A, E, L);
124626
124626
  }
124627
124627
  subtract(m) {
124628
124628
  return this.add(m.negate());
@@ -124926,12 +124926,12 @@ function Mht(t) {
124926
124926
  return { seed: Y, k2sig: we };
124927
124927
  }
124928
124928
  const O = { lowS: e.lowS, prehash: !1 }, H = { lowS: e.lowS, prehash: !1 };
124929
- function G(V, W, J = O) {
124929
+ function U(V, W, J = O) {
124930
124930
  const { seed: re, k2sig: Z } = j(V, W, J), ie = e;
124931
124931
  return Cre(ie.hash.outputLen, ie.nByteLength, ie.hmac)(re, Z);
124932
124932
  }
124933
124933
  c.BASE._setWindowSize(8);
124934
- function U(V, W, J, re = H) {
124934
+ function G(V, W, J, re = H) {
124935
124935
  var Le;
124936
124936
  const Z = V;
124937
124937
  if (W = Eo("msgHash", W), J = Eo("publicKey", J), "strict" in re)
@@ -124968,8 +124968,8 @@ function Mht(t) {
124968
124968
  CURVE: e,
124969
124969
  getPublicKey: b,
124970
124970
  getSharedSecret: x,
124971
- sign: G,
124972
- verify: U,
124971
+ sign: U,
124972
+ verify: G,
124973
124973
  ProjectivePoint: c,
124974
124974
  Signature: v,
124975
124975
  utils: k
@@ -136335,7 +136335,7 @@ function Wmt({ pluginKey: t = Gmt, editor: e, char: n = "@", allowSpaces: r = !1
136335
136335
  return {
136336
136336
  update: async (g, v) => {
136337
136337
  var k, b, w, x, A, E, L;
136338
- const N = (k = this.key) === null || k === void 0 ? void 0 : k.getState(v), j = (b = this.key) === null || b === void 0 ? void 0 : b.getState(g.state), O = N.active && j.active && N.range.from !== j.range.from, H = !N.active && j.active, G = N.active && !j.active, U = !H && !G && N.query !== j.query, V = H || O && U, W = U || O, J = G || O && U;
136338
+ const N = (k = this.key) === null || k === void 0 ? void 0 : k.getState(v), j = (b = this.key) === null || b === void 0 ? void 0 : b.getState(g.state), O = N.active && j.active && N.range.from !== j.range.from, H = !N.active && j.active, U = N.active && !j.active, G = !H && !U && N.query !== j.query, V = H || O && G, W = G || O, J = U || O && G;
136339
136339
  if (!V && !W && !J)
136340
136340
  return;
136341
136341
  const re = J && !V ? N : j, Z = g.dom.querySelector(`[data-decoration-id="${re.decorationId}"]`);
@@ -137411,8 +137411,8 @@ const xk = sA.getInstance(), ZF = [
137411
137411
  return () => clearTimeout(ue);
137412
137412
  }
137413
137413
  }, [k, E, e, H == null ? void 0 : H.isEmpty]);
137414
- const G = tt(() => {
137415
- }), U = (ue, he = !1) => {
137414
+ const U = tt(() => {
137415
+ }), G = (ue, he = !1) => {
137416
137416
  if (!n || !r)
137417
137417
  throw new Error("docId or username is not provided");
137418
137418
  const Y = new CXe(r, b, {
@@ -137431,9 +137431,9 @@ const xk = sA.getInstance(), ZF = [
137431
137431
  },
137432
137432
  render: Bft
137433
137433
  })
137434
- ]), G.current = () => {
137434
+ ]), U.current = () => {
137435
137435
  Y.destroy(), b.destroy();
137436
- }, G.current;
137436
+ }, U.current;
137437
137437
  }, V = tt(null);
137438
137438
  qe(() => {
137439
137439
  H == null || H.setEditable(!t);
@@ -137481,10 +137481,10 @@ const xk = sA.getInstance(), ZF = [
137481
137481
  }
137482
137482
  if (!ue)
137483
137483
  throw new Error("Cannot start collaboration without a username");
137484
- U(ue, he);
137484
+ G(ue, he);
137485
137485
  };
137486
137486
  return qe(() => {
137487
- n ? me() : G.current();
137487
+ n ? me() : U.current();
137488
137488
  }, [n]), qe(() => {
137489
137489
  var ue, he;
137490
137490
  a == null || a((he = (ue = H == null ? void 0 : H.storage) == null ? void 0 : ue.collaborationCursor) == null ? void 0 : he.users);
@@ -137506,7 +137506,7 @@ const xk = sA.getInstance(), ZF = [
137506
137506
  editor: H,
137507
137507
  isContentLoading: E,
137508
137508
  ref: V,
137509
- connect: U,
137509
+ connect: G,
137510
137510
  ydoc: b,
137511
137511
  refreshYjsIndexedDbProvider: J
137512
137512
  };
@@ -139446,20 +139446,20 @@ function Ngt(t) {
139446
139446
  const j = Array.isArray(b) ? b : [b];
139447
139447
  let O = j.reduce(i(v), {});
139448
139448
  x === !1 && (O = {});
139449
- const { prevResolvedValues: H = {} } = k, G = {
139449
+ const { prevResolvedValues: H = {} } = k, U = {
139450
139450
  ...H,
139451
139451
  ...O
139452
- }, U = (J) => {
139452
+ }, G = (J) => {
139453
139453
  L = !0, d.has(J) && (N = !0, d.delete(J)), k.needsAnimating[J] = !0;
139454
139454
  const re = t.getValue(J);
139455
139455
  re && (re.liveStyle = !1);
139456
139456
  };
139457
- for (const J in G) {
139457
+ for (const J in U) {
139458
139458
  const re = O[J], Z = H[J];
139459
139459
  if (h.hasOwnProperty(J))
139460
139460
  continue;
139461
139461
  let ie = !1;
139462
- oA(re) && oA(Z) ? ie = !Uie(re, Z) : ie = re !== Z, ie ? re != null ? U(J) : d.add(J) : re !== void 0 && d.has(J) ? U(J) : k.protectedKeys[J] = !0;
139462
+ oA(re) && oA(Z) ? ie = !Uie(re, Z) : ie = re !== Z, ie ? re != null ? G(J) : d.add(J) : re !== void 0 && d.has(J) ? G(J) : k.protectedKeys[J] = !0;
139463
139463
  }
139464
139464
  k.prevProp = b, k.prevResolvedValues = O, k.isActive && (h = { ...h, ...O }), r && t.blockInitialAnimation && (L = !1), L && (!(A && E) || N) && f.push(...j.map((J) => ({
139465
139465
  animation: J,
@@ -142593,9 +142593,9 @@ const e5t = (t) => {
142593
142593
 
142594
142594
  /* Images */
142595
142595
  .ProseMirror img {
142596
- max-width: 100%;
142596
+ max-width: 720px;
142597
142597
  height: auto;
142598
- margin: 16px 0;
142598
+ margin: 16px auto;
142599
142599
  }
142600
142600
 
142601
142601
  /* Code blocks */
@@ -143015,10 +143015,17 @@ function d5t(t, e = {}) {
143015
143015
  if (w.match(/!\[.*\]\(.*\)/)) {
143016
143016
  const x = w.match(/!\[(.*)\]\((.*)\)/);
143017
143017
  if (x) {
143018
- const A = l.length > 0 && l[0].type === "h2" && l.length > 1, L = l.reduce(
143019
- (N, j) => N + j.content.length,
143020
- 0
143021
- ) > i / 2;
143018
+ const A = l.length > 0 && l[0].type === "h2" && l.length > 1, L = l.reduce((N, j) => {
143019
+ if (j.type === "content") {
143020
+ const H = j.content.split(`
143021
+ `).filter((U) => U.trim().length > 0).reduce((U, G) => {
143022
+ const V = G.replace(/<[^>]+>/g, ""), W = Math.ceil(V.length / 200);
143023
+ return U + Math.max(1, W);
143024
+ }, 0);
143025
+ return N + H;
143026
+ }
143027
+ return N + 1;
143028
+ }, 0) > o - 3;
143022
143029
  (L || !A && l.some((N) => N.type === "image") || l.length === 0 && d(w, l)) && p(), l.push({ type: "image", content: x[2] }), (!A || L) && p();
143023
143030
  }
143024
143031
  continue;
@@ -143161,7 +143168,7 @@ const zk = () => {
143161
143168
  Object.values(Z).forEach((ie) => ie.destroy());
143162
143169
  };
143163
143170
  }, [f]);
143164
- const G = kt(() => {
143171
+ const U = kt(() => {
143165
143172
  w ? r((Z) => !Z) : document.fullscreenElement ? document.exitFullscreen().then(() => {
143166
143173
  r(!1);
143167
143174
  }).catch(() => {
@@ -143171,13 +143178,13 @@ const zk = () => {
143171
143178
  }).catch(() => {
143172
143179
  r(!0);
143173
143180
  });
143174
- }, [w]), U = kt(
143181
+ }, [w]), G = kt(
143175
143182
  (Z) => {
143176
- Z.key === "ArrowRight" || Z.key === "ArrowDown" || Z.code === "Space" ? (Z.preventDefault(), Z.stopPropagation(), O("forward"), p((ie) => Math.min(ie + 1, f.length - 1))) : Z.key === "ArrowLeft" || Z.key === "ArrowUp" ? (O("backward"), p((ie) => Math.max(ie - 1, 0))) : Z.key === "Escape" ? !a && e() : (Z.key === "f" || Z.key === "F") && G();
143183
+ Z.key === "ArrowRight" || Z.key === "ArrowDown" || Z.code === "Space" ? (Z.preventDefault(), Z.stopPropagation(), O("forward"), p((ie) => Math.min(ie + 1, f.length - 1))) : Z.key === "ArrowLeft" || Z.key === "ArrowUp" ? (O("backward"), p((ie) => Math.max(ie - 1, 0))) : Z.key === "Escape" ? !a && e() : (Z.key === "f" || Z.key === "F") && U();
143177
143184
  },
143178
- [f.length, e, G]
143185
+ [f.length, e, U]
143179
143186
  );
143180
- qe(() => (window.addEventListener("keydown", U), () => window.removeEventListener("keydown", U)), [f.length, h]), qe(() => () => {
143187
+ qe(() => (window.addEventListener("keydown", G), () => window.removeEventListener("keydown", G)), [f.length, h]), qe(() => () => {
143181
143188
  H && H.destroy();
143182
143189
  }, [H]), qe(() => {
143183
143190
  const Z = () => {
@@ -143305,7 +143312,7 @@ const zk = () => {
143305
143312
  xs,
143306
143313
  {
143307
143314
  variant: "ghost",
143308
- onClick: G,
143315
+ onClick: U,
143309
143316
  icon: n ? "Minimize2" : "Play",
143310
143317
  size: "md"
143311
143318
  }
@@ -143380,7 +143387,7 @@ const zk = () => {
143380
143387
  xs,
143381
143388
  {
143382
143389
  variant: "ghost",
143383
- onClick: G,
143390
+ onClick: U,
143384
143391
  icon: "X",
143385
143392
  size: "md"
143386
143393
  }
@@ -143431,8 +143438,8 @@ const zk = () => {
143431
143438
  enableIndexeddbSync: j,
143432
143439
  ddocId: O,
143433
143440
  zoomLevel: H,
143434
- setZoomLevel: G,
143435
- isPresentationMode: U,
143441
+ setZoomLevel: U,
143442
+ isPresentationMode: G,
143436
143443
  setIsPresentationMode: V,
143437
143444
  isNavbarVisible: W,
143438
143445
  setIsNavbarVisible: J,
@@ -143478,7 +143485,7 @@ const zk = () => {
143478
143485
  setInlineCommentData: L,
143479
143486
  inlineCommentData: N,
143480
143487
  zoomLevel: H,
143481
- setZoomLevel: G,
143488
+ setZoomLevel: U,
143482
143489
  isNavbarVisible: W,
143483
143490
  setIsNavbarVisible: J
143484
143491
  });
@@ -143562,7 +143569,7 @@ const zk = () => {
143562
143569
  "overflow-x-hidden no-scrollbar": H !== "2",
143563
143570
  "overflow-x-auto scroll-container": H === "2"
143564
143571
  },
143565
- U ? "bg-[#ffffff]" : "bg-[#f8f9fa]",
143572
+ G ? "bg-[#ffffff]" : "bg-[#f8f9fa]",
143566
143573
  me
143567
143574
  ),
143568
143575
  children: [
@@ -143574,7 +143581,7 @@ const zk = () => {
143574
143581
  "h-14 bg-[#ffffff] py-2 px-4 flex gap-[40px] items-center justify-between w-screen fixed left-0 top-0 border-b color-border-default z-50 transition-transform duration-300",
143575
143582
  {
143576
143583
  "translate-y-0": W,
143577
- "translate-y-[-100%]": !W || U
143584
+ "translate-y-[-100%]": !W || G
143578
143585
  }
143579
143586
  ),
143580
143587
  children: s == null ? void 0 : s({ editor: M.getJSON() })
@@ -143597,7 +143604,7 @@ const zk = () => {
143597
143604
  onError: g,
143598
143605
  editor: M,
143599
143606
  zoomLevel: H,
143600
- setZoomLevel: G,
143607
+ setZoomLevel: U,
143601
143608
  isNavbarVisible: W,
143602
143609
  setIsNavbarVisible: J,
143603
143610
  secureImageUploadUrl: p,
@@ -143607,7 +143614,7 @@ const zk = () => {
143607
143614
  ) })
143608
143615
  }
143609
143616
  ),
143610
- U && /* @__PURE__ */ P.jsx(
143617
+ G && /* @__PURE__ */ P.jsx(
143611
143618
  h5t,
143612
143619
  {
143613
143620
  editor: M,
@@ -143838,7 +143845,7 @@ const zk = () => {
143838
143845
  editor: j,
143839
143846
  ref: O,
143840
143847
  isContentLoading: H,
143841
- ydoc: G
143848
+ ydoc: U
143842
143849
  } = qie({
143843
143850
  isPreviewMode: t,
143844
143851
  initialContent: e,
@@ -143861,11 +143868,11 @@ const zk = () => {
143861
143868
  w,
143862
143869
  () => ({
143863
143870
  getEditor: () => j,
143864
- getYdoc: () => G
143871
+ getYdoc: () => U
143865
143872
  }),
143866
- [j, G]
143873
+ [j, U]
143867
143874
  );
143868
- const U = (W) => {
143875
+ const G = (W) => {
143869
143876
  const J = W.name.split(",").map((re) => {
143870
143877
  const Z = re.trim();
143871
143878
  return (m == null ? void 0 : m.find(
@@ -143944,7 +143951,7 @@ const zk = () => {
143944
143951
  {
143945
143952
  tags: m || [],
143946
143953
  selectedTags: g,
143947
- onAddTag: U,
143954
+ onAddTag: G,
143948
143955
  isPreviewMode: t
143949
143956
  }
143950
143957
  )