@fileverse-dev/ddoc 2.1.3-patch-11 → 2.1.3-patch-12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.es.js +469 -472
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
@@ -102,7 +102,7 @@ function Loe() {
|
|
102
102
|
function H(O) {
|
103
103
|
return O.displayName || "Context";
|
104
104
|
}
|
105
|
-
function
|
105
|
+
function q(O) {
|
106
106
|
if (O == null)
|
107
107
|
return null;
|
108
108
|
if (typeof O.tag == "number" && k("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof O == "function")
|
@@ -135,11 +135,11 @@ function Loe() {
|
|
135
135
|
return R(O, O.render, "ForwardRef");
|
136
136
|
case f:
|
137
137
|
var Ve = O.displayName || null;
|
138
|
-
return Ve !== null ? Ve :
|
138
|
+
return Ve !== null ? Ve : q(O.type) || "Memo";
|
139
139
|
case d: {
|
140
140
|
var ct = O, yt = ct._payload, at = ct._init;
|
141
141
|
try {
|
142
|
-
return
|
142
|
+
return q(at(yt));
|
143
143
|
} catch {
|
144
144
|
return null;
|
145
145
|
}
|
@@ -147,13 +147,13 @@ function Loe() {
|
|
147
147
|
}
|
148
148
|
return null;
|
149
149
|
}
|
150
|
-
var Z = Object.assign,
|
150
|
+
var Z = Object.assign, U = 0, V, Y, ae, G, ie, de, re;
|
151
151
|
function pe() {
|
152
152
|
}
|
153
153
|
pe.__reactDisabledLog = !0;
|
154
154
|
function oe() {
|
155
155
|
{
|
156
|
-
if (
|
156
|
+
if (U === 0) {
|
157
157
|
V = console.log, Y = console.info, ae = console.warn, G = console.error, ie = console.group, de = console.groupCollapsed, re = console.groupEnd;
|
158
158
|
var O = {
|
159
159
|
configurable: !0,
|
@@ -171,12 +171,12 @@ function Loe() {
|
|
171
171
|
groupEnd: O
|
172
172
|
});
|
173
173
|
}
|
174
|
-
|
174
|
+
U++;
|
175
175
|
}
|
176
176
|
}
|
177
177
|
function ge() {
|
178
178
|
{
|
179
|
-
if (
|
179
|
+
if (U--, U === 0) {
|
180
180
|
var O = {
|
181
181
|
configurable: !0,
|
182
182
|
enumerable: !0,
|
@@ -206,7 +206,7 @@ function Loe() {
|
|
206
206
|
})
|
207
207
|
});
|
208
208
|
}
|
209
|
-
|
209
|
+
U < 0 && k("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
210
210
|
}
|
211
211
|
}
|
212
212
|
var J = b.ReactCurrentDispatcher, be;
|
@@ -496,7 +496,7 @@ function Loe() {
|
|
496
496
|
function Ut() {
|
497
497
|
{
|
498
498
|
if (Dt.current) {
|
499
|
-
var O =
|
499
|
+
var O = q(Dt.current.type);
|
500
500
|
if (O)
|
501
501
|
return `
|
502
502
|
|
@@ -531,7 +531,7 @@ Check the top-level render call using <` + we + ">.");
|
|
531
531
|
return;
|
532
532
|
Rt[we] = !0;
|
533
533
|
var Ve = "";
|
534
|
-
O && O._owner && O._owner !== Dt.current && (Ve = " It was passed a child from " +
|
534
|
+
O && O._owner && O._owner !== Dt.current && (Ve = " It was passed a child from " + q(O._owner.type) + "."), ft(O), k('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', we, Ve), ft(null);
|
535
535
|
}
|
536
536
|
}
|
537
537
|
function rr(O, le) {
|
@@ -568,11 +568,11 @@ Check the top-level render call using <` + we + ">.");
|
|
568
568
|
else
|
569
569
|
return;
|
570
570
|
if (we) {
|
571
|
-
var Ve =
|
571
|
+
var Ve = q(le);
|
572
572
|
C(we, O.props, "prop", Ve, O);
|
573
573
|
} else if (le.PropTypes !== void 0 && !rt) {
|
574
574
|
rt = !0;
|
575
|
-
var ct =
|
575
|
+
var ct = q(le);
|
576
576
|
k("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", ct || "Unknown");
|
577
577
|
}
|
578
578
|
typeof le.getDefaultProps == "function" && !le.getDefaultProps.isReactClassApproved && k("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
@@ -600,7 +600,7 @@ Check the top-level render call using <` + we + ">.");
|
|
600
600
|
var Qe = vn();
|
601
601
|
Qe ? it += Qe : it += Ut();
|
602
602
|
var se;
|
603
|
-
O === null ? se = "null" : B(O) ? se = "array" : O !== void 0 && O.$$typeof === e ? (se = "<" + (
|
603
|
+
O === null ? se = "null" : B(O) ? se = "array" : O !== void 0 && O.$$typeof === e ? (se = "<" + (q(O.type) || "Unknown") + " />", it = " Did you accidentally export a JSX literal instead of a component?") : se = typeof O, k("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", se, it);
|
604
604
|
}
|
605
605
|
var Ne = Bt(O, le, we, ct, yt);
|
606
606
|
if (Ne == null)
|
@@ -619,7 +619,7 @@ Check the top-level render call using <` + we + ">.");
|
|
619
619
|
rr(Je, O);
|
620
620
|
}
|
621
621
|
if (Q.call(le, "key")) {
|
622
|
-
var yn =
|
622
|
+
var yn = q(O), Ft = Object.keys(le).filter(function(kl) {
|
623
623
|
return kl !== "key";
|
624
624
|
}), sr = Ft.length > 0 ? "{key: someKey, " + Ft.join(": ..., ") + ": ...}" : "{key: someKey}";
|
625
625
|
if (!Li[yn + sr]) {
|
@@ -13162,8 +13162,8 @@ function QD(t) {
|
|
13162
13162
|
y: m
|
13163
13163
|
};
|
13164
13164
|
if (h = H.x, m = H.y, l) {
|
13165
|
-
var
|
13166
|
-
return Object.assign({}, R, (
|
13165
|
+
var q;
|
13166
|
+
return Object.assign({}, R, (q = {}, q[w] = k ? "0" : "", q[v] = b ? "0" : "", q.transform = (x.devicePixelRatio || 1) <= 1 ? "translate(" + h + "px, " + m + "px)" : "translate3d(" + h + "px, " + m + "px, 0)", q));
|
13167
13167
|
}
|
13168
13168
|
return Object.assign({}, R, (e = {}, e[w] = k ? m + "px" : "", e[v] = b ? h + "px" : "", e.transform = "", e));
|
13169
13169
|
}
|
@@ -13378,9 +13378,9 @@ function t4(t, e) {
|
|
13378
13378
|
}, R = t.modifiersData.offset;
|
13379
13379
|
if (d === vp && R) {
|
13380
13380
|
var H = R[i];
|
13381
|
-
Object.keys(j).forEach(function(
|
13382
|
-
var Z = [Sa, Aa].indexOf(
|
13383
|
-
j[
|
13381
|
+
Object.keys(j).forEach(function(q) {
|
13382
|
+
var Z = [Sa, Aa].indexOf(q) >= 0 ? 1 : -1, U = [us, Aa].indexOf(q) >= 0 ? "y" : "x";
|
13383
|
+
j[q] += H[U] * Z;
|
13384
13384
|
});
|
13385
13385
|
}
|
13386
13386
|
return j;
|
@@ -13424,14 +13424,14 @@ function rfe(t) {
|
|
13424
13424
|
allowedAutoPlacements: m
|
13425
13425
|
}) : ge);
|
13426
13426
|
}, []), x = e.rects.reference, M = e.rects.popper, L = /* @__PURE__ */ new Map(), S = !0, D = w[0], j = 0; j < w.length; j++) {
|
13427
|
-
var R = w[j], H = Zo(R),
|
13427
|
+
var R = w[j], H = Zo(R), q = Jh(R) === Zh, Z = [us, Aa].indexOf(H) >= 0, U = Z ? "width" : "height", V = t4(e, {
|
13428
13428
|
placement: R,
|
13429
13429
|
boundary: u,
|
13430
13430
|
rootBoundary: f,
|
13431
13431
|
altBoundary: d,
|
13432
13432
|
padding: c
|
13433
|
-
}), Y = Z ?
|
13434
|
-
x[
|
13433
|
+
}), Y = Z ? q ? Sa : fs : q ? Aa : us;
|
13434
|
+
x[U] > M[U] && (Y = u6(Y));
|
13435
13435
|
var ae = u6(Y), G = [];
|
13436
13436
|
if (s && G.push(V[H] <= 0), o && G.push(V[Y] <= 0, V[ae] <= 0), G.every(function(oe) {
|
13437
13437
|
return oe;
|
@@ -13572,10 +13572,10 @@ function hfe(t) {
|
|
13572
13572
|
};
|
13573
13573
|
if (M) {
|
13574
13574
|
if (s) {
|
13575
|
-
var
|
13575
|
+
var q, Z = w === "y" ? us : fs, U = w === "y" ? Aa : Sa, V = w === "y" ? "height" : "width", Y = M[w], ae = Y + g[Z], G = Y - g[U], ie = h ? -S[V] / 2 : 0, de = k === Zh ? L[V] : S[V], re = k === Zh ? -S[V] : -L[V], pe = e.elements.arrow, oe = h && pe ? wS(pe) : {
|
13576
13576
|
width: 0,
|
13577
13577
|
height: 0
|
13578
|
-
}, ge = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : $q(), J = ge[Z], be = ge[
|
13578
|
+
}, ge = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : $q(), J = ge[Z], be = ge[U], ke = hm(0, L[V], oe[V]), Re = v ? L[V] / 2 - ie - ke - J - j.mainAxis : de - ke - J - j.mainAxis, Pe = v ? -L[V] / 2 + ie + ke + be + j.mainAxis : re + ke + be + j.mainAxis, Ae = e.elements.arrow && Iy(e.elements.arrow), Le = Ae ? w === "y" ? Ae.clientTop || 0 : Ae.clientLeft || 0 : 0, Te = (q = R == null ? void 0 : R[w]) != null ? q : 0, ce = Y + Re - Te - Le, X = Y + Pe - Te, Q = hm(h ? c5(ae, ce) : ae, Y, h ? W0(G, X) : G);
|
13579
13579
|
M[w] = Q, H[w] = Q - Y;
|
13580
13580
|
}
|
13581
13581
|
if (o) {
|
@@ -14202,14 +14202,14 @@ function $fe(t, e) {
|
|
14202
14202
|
var xe;
|
14203
14203
|
return !!((xe = w.props.render) != null && xe.$$tippy);
|
14204
14204
|
}
|
14205
|
-
function
|
14205
|
+
function q() {
|
14206
14206
|
return m || t;
|
14207
14207
|
}
|
14208
14208
|
function Z() {
|
14209
|
-
var xe =
|
14209
|
+
var xe = q().parentNode;
|
14210
14210
|
return xe ? zfe(xe) : document;
|
14211
14211
|
}
|
14212
|
-
function
|
14212
|
+
function U() {
|
14213
14213
|
return Ix(M);
|
14214
14214
|
}
|
14215
14215
|
function V(xe) {
|
@@ -14245,7 +14245,7 @@ function $fe(t, e) {
|
|
14245
14245
|
if (!(D || !w.props.aria.expanded)) {
|
14246
14246
|
var xe = cd(w.props.triggerTarget || t);
|
14247
14247
|
xe.forEach(function(Ue) {
|
14248
|
-
w.props.interactive ? Ue.setAttribute("aria-expanded", w.state.isVisible && Ue ===
|
14248
|
+
w.props.interactive ? Ue.setAttribute("aria-expanded", w.state.isVisible && Ue === q() ? "true" : "false") : Ue.removeAttribute("aria-expanded");
|
14249
14249
|
});
|
14250
14250
|
}
|
14251
14251
|
}
|
@@ -14294,7 +14294,7 @@ function $fe(t, e) {
|
|
14294
14294
|
Re(xe, Ue);
|
14295
14295
|
}
|
14296
14296
|
function Re(xe, Ue) {
|
14297
|
-
var lt =
|
14297
|
+
var lt = U().box;
|
14298
14298
|
function Bt(Dt) {
|
14299
14299
|
Dt.target === lt && (iw(lt, "remove", Bt), Ue());
|
14300
14300
|
}
|
@@ -14350,7 +14350,7 @@ function $fe(t, e) {
|
|
14350
14350
|
}
|
14351
14351
|
}
|
14352
14352
|
function ce(xe) {
|
14353
|
-
var Ue = xe.target, lt =
|
14353
|
+
var Ue = xe.target, lt = q().contains(Ue) || M.contains(Ue);
|
14354
14354
|
if (!(xe.type === "mousemove" && lt)) {
|
14355
14355
|
var Bt = P().concat(M).map(function(Dt) {
|
14356
14356
|
var nt, ft = Dt._tippy, rt = (nt = ft.popperInstance) == null ? void 0 : nt.state;
|
@@ -14374,7 +14374,7 @@ function $fe(t, e) {
|
|
14374
14374
|
}
|
14375
14375
|
}
|
14376
14376
|
function Q(xe) {
|
14377
|
-
w.props.trigger.indexOf("focusin") < 0 && xe.target !==
|
14377
|
+
w.props.trigger.indexOf("focusin") < 0 && xe.target !== q() || w.props.interactive && xe.relatedTarget && M.contains(xe.relatedTarget) || te(xe);
|
14378
14378
|
}
|
14379
14379
|
function ee(xe) {
|
14380
14380
|
return Ro.isTouch ? R() !== xe.type.indexOf("touch") >= 0 : !1;
|
@@ -14383,7 +14383,7 @@ function $fe(t, e) {
|
|
14383
14383
|
W();
|
14384
14384
|
var xe = w.props, Ue = xe.popperOptions, lt = xe.placement, Bt = xe.offset, Dt = xe.getReferenceClientRect, nt = xe.moveTransition, ft = H() ? Ix(M).arrow : null, rt = Dt ? {
|
14385
14385
|
getBoundingClientRect: Dt,
|
14386
|
-
contextElement: Dt.contextElement ||
|
14386
|
+
contextElement: Dt.contextElement || q()
|
14387
14387
|
} : t, gt = {
|
14388
14388
|
name: "$$tippy",
|
14389
14389
|
enabled: !0,
|
@@ -14392,7 +14392,7 @@ function $fe(t, e) {
|
|
14392
14392
|
fn: function(Rt) {
|
14393
14393
|
var dn = Rt.state;
|
14394
14394
|
if (H()) {
|
14395
|
-
var qn =
|
14395
|
+
var qn = U(), rr = qn.box;
|
14396
14396
|
["placement", "reference-hidden", "escaped"].forEach(function(ir) {
|
14397
14397
|
ir === "placement" ? rr.setAttribute("data-placement", dn.placement) : dn.attributes.popper["data-popper-" + ir] ? rr.setAttribute("data-" + ir, "") : rr.removeAttribute("data-" + ir);
|
14398
14398
|
}), dn.attributes.popper = {};
|
@@ -14440,7 +14440,7 @@ function $fe(t, e) {
|
|
14440
14440
|
w.popperInstance && (w.popperInstance.destroy(), w.popperInstance = null);
|
14441
14441
|
}
|
14442
14442
|
function C() {
|
14443
|
-
var xe = w.props.appendTo, Ue, lt =
|
14443
|
+
var xe = w.props.appendTo, Ue, lt = q();
|
14444
14444
|
w.props.interactive && xe === oU || xe === "parent" ? Ue = lt.parentNode : Ue = lU(xe, [lt]), Ue.contains(M) || Ue.appendChild(M), w.state.isMounted = !0, De(), process.env.NODE_ENV !== "production" && Nl(w.props.interactive && xe === Ps.appendTo && lt.nextElementSibling !== M, ["Interactive tippy element may not be accessible via keyboard", "navigation because it is not directly after the reference element", "in the DOM source order.", `
|
14445
14445
|
|
14446
14446
|
`, "Using a wrapper <div> or <span> tag around the reference element", "solves this by creating a new parentNode context.", `
|
@@ -14503,16 +14503,16 @@ function $fe(t, e) {
|
|
14503
14503
|
function _e() {
|
14504
14504
|
process.env.NODE_ENV !== "production" && Nl(w.state.isDestroyed, Uf("show"));
|
14505
14505
|
var xe = w.state.isVisible, Ue = w.state.isDestroyed, lt = !w.state.isEnabled, Bt = Ro.isTouch && !w.props.touch, Dt = nw(w.props.duration, 0, Ps.duration);
|
14506
|
-
if (!(xe || Ue || lt || Bt) && !
|
14506
|
+
if (!(xe || Ue || lt || Bt) && !q().hasAttribute("disabled") && (ae("onShow", [w], !1), w.props.onShow(w) !== !1)) {
|
14507
14507
|
if (w.state.isVisible = !0, H() && (M.style.visibility = "visible"), Y(), ge(), w.state.isMounted || (M.style.transition = "none"), H()) {
|
14508
|
-
var nt =
|
14508
|
+
var nt = U(), ft = nt.box, rt = nt.content;
|
14509
14509
|
rw([ft, rt], 0);
|
14510
14510
|
}
|
14511
14511
|
d = function() {
|
14512
14512
|
var Ut;
|
14513
14513
|
if (!(!w.state.isVisible || c)) {
|
14514
14514
|
if (c = !0, M.offsetHeight, M.style.transition = w.props.moveTransition, H() && w.props.animation) {
|
14515
|
-
var vn =
|
14515
|
+
var vn = U(), Rt = vn.box, dn = vn.content;
|
14516
14516
|
rw([Rt, dn], Dt), oI([Rt, dn], "visible");
|
14517
14517
|
}
|
14518
14518
|
G(), ie(), sI(sw, w), (Ut = w.popperInstance) == null || Ut.forceUpdate(), ae("onMount", [w]), w.props.animation && H() && ke(Dt, function() {
|
@@ -14527,7 +14527,7 @@ function $fe(t, e) {
|
|
14527
14527
|
var xe = !w.state.isVisible, Ue = w.state.isDestroyed, lt = !w.state.isEnabled, Bt = nw(w.props.duration, 1, Ps.duration);
|
14528
14528
|
if (!(xe || Ue || lt) && (ae("onHide", [w], !1), w.props.onHide(w) !== !1)) {
|
14529
14529
|
if (w.state.isVisible = !1, w.state.isShown = !1, c = !1, a = !1, H() && (M.style.visibility = "hidden"), de(), J(), Y(!0), H()) {
|
14530
|
-
var Dt =
|
14530
|
+
var Dt = U(), nt = Dt.box, ft = Dt.content;
|
14531
14531
|
w.props.animation && (rw([nt, ft], Bt), oI([nt, ft], "hidden"));
|
14532
14532
|
}
|
14533
14533
|
G(), ie(), w.props.animation ? H() && be(Bt, w.unmount) : w.unmount();
|
@@ -15097,16 +15097,16 @@ function hde() {
|
|
15097
15097
|
var x = !1, M, L, S = function(H) {
|
15098
15098
|
if (!x) {
|
15099
15099
|
x = !0, M = H;
|
15100
|
-
var
|
15100
|
+
var q = h(H);
|
15101
15101
|
if (p !== void 0 && g.hasValue) {
|
15102
15102
|
var Z = g.value;
|
15103
|
-
if (p(Z,
|
15103
|
+
if (p(Z, q))
|
15104
15104
|
return L = Z, Z;
|
15105
15105
|
}
|
15106
|
-
return L =
|
15106
|
+
return L = q, q;
|
15107
15107
|
}
|
15108
|
-
var
|
15109
|
-
if (r(
|
15108
|
+
var U = M, V = L;
|
15109
|
+
if (r(U, H))
|
15110
15110
|
return V;
|
15111
15111
|
var Y = h(H);
|
15112
15112
|
return p !== void 0 && p(V, Y) ? V : (M = H, L = Y, Y);
|
@@ -15678,7 +15678,7 @@ function Sde() {
|
|
15678
15678
|
function H(O) {
|
15679
15679
|
return O.displayName || "Context";
|
15680
15680
|
}
|
15681
|
-
function
|
15681
|
+
function q(O) {
|
15682
15682
|
if (O == null)
|
15683
15683
|
return null;
|
15684
15684
|
if (typeof O.tag == "number" && k("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof O == "function")
|
@@ -15711,11 +15711,11 @@ function Sde() {
|
|
15711
15711
|
return R(O, O.render, "ForwardRef");
|
15712
15712
|
case f:
|
15713
15713
|
var Ve = O.displayName || null;
|
15714
|
-
return Ve !== null ? Ve :
|
15714
|
+
return Ve !== null ? Ve : q(O.type) || "Memo";
|
15715
15715
|
case d: {
|
15716
15716
|
var ct = O, yt = ct._payload, at = ct._init;
|
15717
15717
|
try {
|
15718
|
-
return
|
15718
|
+
return q(at(yt));
|
15719
15719
|
} catch {
|
15720
15720
|
return null;
|
15721
15721
|
}
|
@@ -15723,13 +15723,13 @@ function Sde() {
|
|
15723
15723
|
}
|
15724
15724
|
return null;
|
15725
15725
|
}
|
15726
|
-
var Z = Object.assign,
|
15726
|
+
var Z = Object.assign, U = 0, V, Y, ae, G, ie, de, re;
|
15727
15727
|
function pe() {
|
15728
15728
|
}
|
15729
15729
|
pe.__reactDisabledLog = !0;
|
15730
15730
|
function oe() {
|
15731
15731
|
{
|
15732
|
-
if (
|
15732
|
+
if (U === 0) {
|
15733
15733
|
V = console.log, Y = console.info, ae = console.warn, G = console.error, ie = console.group, de = console.groupCollapsed, re = console.groupEnd;
|
15734
15734
|
var O = {
|
15735
15735
|
configurable: !0,
|
@@ -15747,12 +15747,12 @@ function Sde() {
|
|
15747
15747
|
groupEnd: O
|
15748
15748
|
});
|
15749
15749
|
}
|
15750
|
-
|
15750
|
+
U++;
|
15751
15751
|
}
|
15752
15752
|
}
|
15753
15753
|
function ge() {
|
15754
15754
|
{
|
15755
|
-
if (
|
15755
|
+
if (U--, U === 0) {
|
15756
15756
|
var O = {
|
15757
15757
|
configurable: !0,
|
15758
15758
|
enumerable: !0,
|
@@ -15782,7 +15782,7 @@ function Sde() {
|
|
15782
15782
|
})
|
15783
15783
|
});
|
15784
15784
|
}
|
15785
|
-
|
15785
|
+
U < 0 && k("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
15786
15786
|
}
|
15787
15787
|
}
|
15788
15788
|
var J = b.ReactCurrentDispatcher, be;
|
@@ -16072,7 +16072,7 @@ function Sde() {
|
|
16072
16072
|
function Ut() {
|
16073
16073
|
{
|
16074
16074
|
if (Dt.current) {
|
16075
|
-
var O =
|
16075
|
+
var O = q(Dt.current.type);
|
16076
16076
|
if (O)
|
16077
16077
|
return `
|
16078
16078
|
|
@@ -16107,7 +16107,7 @@ Check the top-level render call using <` + we + ">.");
|
|
16107
16107
|
return;
|
16108
16108
|
Rt[we] = !0;
|
16109
16109
|
var Ve = "";
|
16110
|
-
O && O._owner && O._owner !== Dt.current && (Ve = " It was passed a child from " +
|
16110
|
+
O && O._owner && O._owner !== Dt.current && (Ve = " It was passed a child from " + q(O._owner.type) + "."), ft(O), k('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', we, Ve), ft(null);
|
16111
16111
|
}
|
16112
16112
|
}
|
16113
16113
|
function rr(O, le) {
|
@@ -16144,11 +16144,11 @@ Check the top-level render call using <` + we + ">.");
|
|
16144
16144
|
else
|
16145
16145
|
return;
|
16146
16146
|
if (we) {
|
16147
|
-
var Ve =
|
16147
|
+
var Ve = q(le);
|
16148
16148
|
C(we, O.props, "prop", Ve, O);
|
16149
16149
|
} else if (le.PropTypes !== void 0 && !rt) {
|
16150
16150
|
rt = !0;
|
16151
|
-
var ct =
|
16151
|
+
var ct = q(le);
|
16152
16152
|
k("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", ct || "Unknown");
|
16153
16153
|
}
|
16154
16154
|
typeof le.getDefaultProps == "function" && !le.getDefaultProps.isReactClassApproved && k("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
@@ -16176,7 +16176,7 @@ Check the top-level render call using <` + we + ">.");
|
|
16176
16176
|
var Qe = vn();
|
16177
16177
|
Qe ? it += Qe : it += Ut();
|
16178
16178
|
var se;
|
16179
|
-
O === null ? se = "null" : B(O) ? se = "array" : O !== void 0 && O.$$typeof === e ? (se = "<" + (
|
16179
|
+
O === null ? se = "null" : B(O) ? se = "array" : O !== void 0 && O.$$typeof === e ? (se = "<" + (q(O.type) || "Unknown") + " />", it = " Did you accidentally export a JSX literal instead of a component?") : se = typeof O, k("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", se, it);
|
16180
16180
|
}
|
16181
16181
|
var Ne = Bt(O, le, we, ct, yt);
|
16182
16182
|
if (Ne == null)
|
@@ -16195,7 +16195,7 @@ Check the top-level render call using <` + we + ">.");
|
|
16195
16195
|
rr(Je, O);
|
16196
16196
|
}
|
16197
16197
|
if (Q.call(le, "key")) {
|
16198
|
-
var yn =
|
16198
|
+
var yn = q(O), Ft = Object.keys(le).filter(function(kl) {
|
16199
16199
|
return kl !== "key";
|
16200
16200
|
}), sr = Ft.length > 0 ? "{key: someKey, " + Ft.join(": ..., ") + ": ...}" : "{key: someKey}";
|
16201
16201
|
if (!Li[yn + sr]) {
|
@@ -16550,7 +16550,7 @@ function nhe(t) {
|
|
16550
16550
|
return Gde.test(t);
|
16551
16551
|
}
|
16552
16552
|
function rhe() {
|
16553
|
-
const t = Rn("colors"), e = Rn("spacing"), n = Rn("blur"), r = Rn("brightness"), i = Rn("borderColor"), s = Rn("borderRadius"), a = Rn("borderSpacing"), o = Rn("borderWidth"), l = Rn("contrast"), c = Rn("grayscale"), u = Rn("hueRotate"), f = Rn("invert"), d = Rn("gap"), h = Rn("gradientColorStops"), p = Rn("gradientColorStopPositions"), m = Rn("inset"), g = Rn("margin"), b = Rn("opacity"), k = Rn("padding"), v = Rn("saturate"), w = Rn("scale"), x = Rn("sepia"), M = Rn("skew"), L = Rn("space"), S = Rn("translate"), D = () => ["auto", "contain", "none"], j = () => ["auto", "hidden", "clip", "visible", "scroll"], R = () => ["auto", Zt, e], H = () => [Zt, e],
|
16553
|
+
const t = Rn("colors"), e = Rn("spacing"), n = Rn("blur"), r = Rn("brightness"), i = Rn("borderColor"), s = Rn("borderRadius"), a = Rn("borderSpacing"), o = Rn("borderWidth"), l = Rn("contrast"), c = Rn("grayscale"), u = Rn("hueRotate"), f = Rn("invert"), d = Rn("gap"), h = Rn("gradientColorStops"), p = Rn("gradientColorStopPositions"), m = Rn("inset"), g = Rn("margin"), b = Rn("opacity"), k = Rn("padding"), v = Rn("saturate"), w = Rn("scale"), x = Rn("sepia"), M = Rn("skew"), L = Rn("space"), S = Rn("translate"), D = () => ["auto", "contain", "none"], j = () => ["auto", "hidden", "clip", "visible", "scroll"], R = () => ["auto", Zt, e], H = () => [Zt, e], q = () => ["", Ml, Fc], Z = () => ["auto", l0, Zt], U = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], V = () => ["solid", "dashed", "dotted", "double", "none"], Y = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], ae = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], G = () => ["", "0", Zt], ie = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], de = () => [l0, zg], re = () => [l0, Zt];
|
16554
16554
|
return {
|
16555
16555
|
cacheSize: 500,
|
16556
16556
|
separator: ":",
|
@@ -16562,7 +16562,7 @@ function rhe() {
|
|
16562
16562
|
borderColor: [t],
|
16563
16563
|
borderRadius: ["none", "", "full", Hc, Zt],
|
16564
16564
|
borderSpacing: H(),
|
16565
|
-
borderWidth:
|
16565
|
+
borderWidth: q(),
|
16566
16566
|
contrast: de(),
|
16567
16567
|
grayscale: G(),
|
16568
16568
|
hueRotate: re(),
|
@@ -16673,7 +16673,7 @@ function rhe() {
|
|
16673
16673
|
* @see https://tailwindcss.com/docs/object-position
|
16674
16674
|
*/
|
16675
16675
|
"object-position": [{
|
16676
|
-
object: [...
|
16676
|
+
object: [...U(), Zt]
|
16677
16677
|
}],
|
16678
16678
|
/**
|
16679
16679
|
* Overflow
|
@@ -17482,7 +17482,7 @@ function rhe() {
|
|
17482
17482
|
* @see https://tailwindcss.com/docs/background-position
|
17483
17483
|
*/
|
17484
17484
|
"bg-position": [{
|
17485
|
-
bg: [...
|
17485
|
+
bg: [...U(), Jde]
|
17486
17486
|
}],
|
17487
17487
|
/**
|
17488
17488
|
* Background Repeat
|
@@ -17868,7 +17868,7 @@ function rhe() {
|
|
17868
17868
|
* @see https://tailwindcss.com/docs/ring-width
|
17869
17869
|
*/
|
17870
17870
|
"ring-w": [{
|
17871
|
-
ring:
|
17871
|
+
ring: q()
|
17872
17872
|
}],
|
17873
17873
|
/**
|
17874
17874
|
* Ring Width Inset
|
@@ -42186,12 +42186,12 @@ const ODe = (t) => ({
|
|
42186
42186
|
}, h = zS(i), p = OS(h), m = await a.getDimensions(c), g = h === "y", b = g ? "top" : "left", k = g ? "bottom" : "right", v = g ? "clientHeight" : "clientWidth", w = s.reference[p] + s.reference[h] - d[h] - s.floating[p], x = d[h] - s.reference[h], M = await (a.getOffsetParent == null ? void 0 : a.getOffsetParent(c));
|
42187
42187
|
let L = M ? M[v] : 0;
|
42188
42188
|
(!L || !await (a.isElement == null ? void 0 : a.isElement(M))) && (L = o.floating[v] || s.floating[p]);
|
42189
|
-
const S = w / 2 - x / 2, D = L / 2 - m[p] / 2 - 1, j = _o(f[b], D), R = _o(f[k], D), H = j,
|
42189
|
+
const S = w / 2 - x / 2, D = L / 2 - m[p] / 2 - 1, j = _o(f[b], D), R = _o(f[k], D), H = j, q = L - m[p] - R, Z = L / 2 - m[p] / 2 + S, U = _x(H, Z, q), V = !l.arrow && V2(i) != null && Z !== U && s.reference[p] / 2 - (Z < H ? j : R) - m[p] / 2 < 0, Y = V ? Z < H ? Z - H : Z - q : 0;
|
42190
42190
|
return {
|
42191
42191
|
[h]: d[h] + Y,
|
42192
42192
|
data: {
|
42193
|
-
[h]:
|
42194
|
-
centerOffset: Z -
|
42193
|
+
[h]: U,
|
42194
|
+
centerOffset: Z - U - Y,
|
42195
42195
|
...V && {
|
42196
42196
|
alignmentOffset: Y
|
42197
42197
|
}
|
@@ -42236,23 +42236,23 @@ const ODe = (t) => ({
|
|
42236
42236
|
overflows: D
|
42237
42237
|
}], !D.every((Z) => Z <= 0)) {
|
42238
42238
|
var R, H;
|
42239
|
-
const Z = (((R = s.flip) == null ? void 0 : R.index) || 0) + 1,
|
42240
|
-
if (
|
42239
|
+
const Z = (((R = s.flip) == null ? void 0 : R.index) || 0) + 1, U = L[Z];
|
42240
|
+
if (U)
|
42241
42241
|
return {
|
42242
42242
|
data: {
|
42243
42243
|
index: Z,
|
42244
42244
|
overflows: j
|
42245
42245
|
},
|
42246
42246
|
reset: {
|
42247
|
-
placement:
|
42247
|
+
placement: U
|
42248
42248
|
}
|
42249
42249
|
};
|
42250
42250
|
let V = (H = j.filter((Y) => Y.overflows[0] <= 0).sort((Y, ae) => Y.overflows[1] - ae.overflows[1])[0]) == null ? void 0 : H.placement;
|
42251
42251
|
if (!V)
|
42252
42252
|
switch (h) {
|
42253
42253
|
case "bestFit": {
|
42254
|
-
var
|
42255
|
-
const Y = (
|
42254
|
+
var q;
|
42255
|
+
const Y = (q = j.filter((ae) => {
|
42256
42256
|
if (M) {
|
42257
42257
|
const G = Yu(ae.placement);
|
42258
42258
|
return G === k || // Create a bias to the `y` side axis due to horizontal
|
@@ -42260,7 +42260,7 @@ const ODe = (t) => ({
|
|
42260
42260
|
G === "y";
|
42261
42261
|
}
|
42262
42262
|
return !0;
|
42263
|
-
}).map((ae) => [ae.placement, ae.overflows.filter((G) => G > 0).reduce((G, ie) => G + ie, 0)]).sort((ae, G) => ae[1] - G[1])[0]) == null ? void 0 :
|
42263
|
+
}).map((ae) => [ae.placement, ae.overflows.filter((G) => G > 0).reduce((G, ie) => G + ie, 0)]).sort((ae, G) => ae[1] - G[1])[0]) == null ? void 0 : q[0];
|
42264
42264
|
Y && (V = Y);
|
42265
42265
|
break;
|
42266
42266
|
}
|
@@ -43056,7 +43056,7 @@ function mIe(t) {
|
|
43056
43056
|
...ae,
|
43057
43057
|
isPositioned: !0
|
43058
43058
|
};
|
43059
|
-
|
43059
|
+
q.current && !p5(S.current, G) && (S.current = G, p1.flushSync(() => {
|
43060
43060
|
f(G);
|
43061
43061
|
}));
|
43062
43062
|
});
|
@@ -43067,9 +43067,9 @@ function mIe(t) {
|
|
43067
43067
|
isPositioned: !1
|
43068
43068
|
})));
|
43069
43069
|
}, [c]);
|
43070
|
-
const
|
43071
|
-
f6(() => (
|
43072
|
-
|
43070
|
+
const q = E.useRef(!1);
|
43071
|
+
f6(() => (q.current = !0, () => {
|
43072
|
+
q.current = !1;
|
43073
43073
|
}), []), f6(() => {
|
43074
43074
|
if (w && (M.current = w), x && (L.current = x), w && x) {
|
43075
43075
|
if (j.current)
|
@@ -43082,7 +43082,7 @@ function mIe(t) {
|
|
43082
43082
|
floating: L,
|
43083
43083
|
setReference: k,
|
43084
43084
|
setFloating: v
|
43085
|
-
}), [k, v]),
|
43085
|
+
}), [k, v]), U = E.useMemo(() => ({
|
43086
43086
|
reference: w,
|
43087
43087
|
floating: x
|
43088
43088
|
}), [w, x]), V = E.useMemo(() => {
|
@@ -43091,13 +43091,13 @@ function mIe(t) {
|
|
43091
43091
|
left: 0,
|
43092
43092
|
top: 0
|
43093
43093
|
};
|
43094
|
-
if (!
|
43094
|
+
if (!U.floating)
|
43095
43095
|
return Y;
|
43096
|
-
const ae = OI(
|
43096
|
+
const ae = OI(U.floating, u.x), G = OI(U.floating, u.y);
|
43097
43097
|
return o ? {
|
43098
43098
|
...Y,
|
43099
43099
|
transform: "translate(" + ae + "px, " + G + "px)",
|
43100
|
-
...eW(
|
43100
|
+
...eW(U.floating) >= 1.5 && {
|
43101
43101
|
willChange: "transform"
|
43102
43102
|
}
|
43103
43103
|
} : {
|
@@ -43105,14 +43105,14 @@ function mIe(t) {
|
|
43105
43105
|
left: ae,
|
43106
43106
|
top: G
|
43107
43107
|
};
|
43108
|
-
}, [n, o,
|
43108
|
+
}, [n, o, U.floating, u.x, u.y]);
|
43109
43109
|
return E.useMemo(() => ({
|
43110
43110
|
...u,
|
43111
43111
|
update: H,
|
43112
43112
|
refs: Z,
|
43113
|
-
elements:
|
43113
|
+
elements: U,
|
43114
43114
|
floatingStyles: V
|
43115
|
-
}), [u, H, Z,
|
43115
|
+
}), [u, H, Z, U, V]);
|
43116
43116
|
}
|
43117
43117
|
const yIe = (t) => {
|
43118
43118
|
function e(n) {
|
@@ -43205,7 +43205,7 @@ var _S = "PopperContent", [EIe, LIe] = nW(_S), oW = E.forwardRef(
|
|
43205
43205
|
updatePositionStrategy: v = "optimized",
|
43206
43206
|
onPlaced: w,
|
43207
43207
|
...x
|
43208
|
-
} = t, M = rW(_S, l), [L, S] = E.useState(null), D = nn(e, (Te) => S(Te)), [j, R] = E.useState(null), H = IS(j),
|
43208
|
+
} = t, M = rW(_S, l), [L, S] = E.useState(null), D = nn(e, (Te) => S(Te)), [j, R] = E.useState(null), H = IS(j), q = (H == null ? void 0 : H.width) ?? 0, Z = (H == null ? void 0 : H.height) ?? 0, U = c + (f !== "center" ? "-" + f : ""), V = typeof g == "number" ? g : { top: 0, right: 0, bottom: 0, left: 0, ...g }, Y = Array.isArray(m) ? m : [m], ae = Y.length > 0, G = {
|
43209
43209
|
padding: V,
|
43210
43210
|
boundary: Y.filter(NIe),
|
43211
43211
|
// with `strategy: 'fixed'`, this is the only way to get it to respect boundaries
|
@@ -43213,7 +43213,7 @@ var _S = "PopperContent", [EIe, LIe] = nW(_S), oW = E.forwardRef(
|
|
43213
43213
|
}, { refs: ie, floatingStyles: de, placement: re, isPositioned: pe, middlewareData: oe } = mIe({
|
43214
43214
|
// default to `fixed` strategy so users don't have to pick and we also avoid focus scroll issues
|
43215
43215
|
strategy: "fixed",
|
43216
|
-
placement:
|
43216
|
+
placement: U,
|
43217
43217
|
whileElementsMounted: (...Te) => oIe(...Te, {
|
43218
43218
|
animationFrame: v === "always"
|
43219
43219
|
}),
|
@@ -43237,7 +43237,7 @@ var _S = "PopperContent", [EIe, LIe] = nW(_S), oW = E.forwardRef(
|
|
43237
43237
|
}
|
43238
43238
|
}),
|
43239
43239
|
j && MIe({ element: j, padding: h }),
|
43240
|
-
jIe({ arrowWidth:
|
43240
|
+
jIe({ arrowWidth: q, arrowHeight: Z }),
|
43241
43241
|
k && xIe({ strategy: "referenceHidden", ...G })
|
43242
43242
|
]
|
43243
43243
|
}), [ge, J] = uW(re), be = hs(w);
|
@@ -46466,17 +46466,17 @@ function JOe(t) {
|
|
46466
46466
|
const { prevResolvedValues: R = {} } = k, H = {
|
46467
46467
|
...R,
|
46468
46468
|
...j
|
46469
|
-
},
|
46469
|
+
}, q = (Z) => {
|
46470
46470
|
L = !0, d.has(Z) && (S = !0, d.delete(Z)), k.needsAnimating[Z] = !0;
|
46471
|
-
const
|
46472
|
-
|
46471
|
+
const U = t.getValue(Z);
|
46472
|
+
U && (U.liveStyle = !1);
|
46473
46473
|
};
|
46474
46474
|
for (const Z in H) {
|
46475
|
-
const
|
46475
|
+
const U = j[Z], V = R[Z];
|
46476
46476
|
if (h.hasOwnProperty(Z))
|
46477
46477
|
continue;
|
46478
46478
|
let Y = !1;
|
46479
|
-
Gx(
|
46479
|
+
Gx(U) && Gx(V) ? Y = !YW(U, V) : Y = U !== V, Y ? U != null ? q(Z) : d.add(Z) : U !== void 0 && d.has(Z) ? q(Z) : k.protectedKeys[Z] = !0;
|
46480
46480
|
}
|
46481
46481
|
k.prevProp = v, k.prevResolvedValues = j, k.isActive && (h = { ...h, ...j }), r && t.blockInitialAnimation && (L = !1), L && (!M || S) && f.push(...D.map((Z) => ({
|
46482
46482
|
animation: Z,
|
@@ -50116,9 +50116,9 @@ var ZBe = E.forwardRef((t, e) => {
|
|
50116
50116
|
if (S.target === S.currentTarget && D && !b) {
|
50117
50117
|
const j = new CustomEvent(Aw, _Be);
|
50118
50118
|
if (S.currentTarget.dispatchEvent(j), !j.defaultPrevented) {
|
50119
|
-
const R = w().filter((
|
50119
|
+
const R = w().filter((U) => U.focusable), H = R.find((U) => U.active), q = R.find((U) => U.id === m), Z = [H, q, ...R].filter(
|
50120
50120
|
Boolean
|
50121
|
-
).map((
|
50121
|
+
).map((U) => U.ref.current);
|
50122
50122
|
tZ(Z, u);
|
50123
50123
|
}
|
50124
50124
|
}
|
@@ -52442,7 +52442,7 @@ var jl = 10, [_Y, A1] = Y2(lf), IVe = "SelectContentImpl", qY = E.forwardRef(
|
|
52442
52442
|
...b
|
52443
52443
|
} = t, k = C1(lf, n), [v, w] = E.useState(null), [x, M] = E.useState(null), L = nn(e, (be) => w(be)), [S, D] = E.useState(null), [j, R] = E.useState(
|
52444
52444
|
null
|
52445
|
-
), H = lv(n), [
|
52445
|
+
), H = lv(n), [q, Z] = E.useState(!1), U = E.useRef(!1);
|
52446
52446
|
E.useEffect(() => {
|
52447
52447
|
if (v) return rv(v);
|
52448
52448
|
}, [v]), kE();
|
@@ -52458,8 +52458,8 @@ var jl = 10, [_Y, A1] = Y2(lf), IVe = "SelectContentImpl", qY = E.forwardRef(
|
|
52458
52458
|
[V, S, v]
|
52459
52459
|
);
|
52460
52460
|
E.useEffect(() => {
|
52461
|
-
|
52462
|
-
}, [
|
52461
|
+
q && Y();
|
52462
|
+
}, [q, Y]);
|
52463
52463
|
const { onOpenChange: ae, triggerPointerDownPosRef: G } = k;
|
52464
52464
|
E.useEffect(() => {
|
52465
52465
|
if (v) {
|
@@ -52488,13 +52488,13 @@ var jl = 10, [_Y, A1] = Y2(lf), IVe = "SelectContentImpl", qY = E.forwardRef(
|
|
52488
52488
|
Pe && setTimeout(() => Pe.ref.current.focus());
|
52489
52489
|
}), re = E.useCallback(
|
52490
52490
|
(be, ke, Re) => {
|
52491
|
-
const Pe = !
|
52492
|
-
(k.value !== void 0 && k.value === ke || Pe) && (D(be), Pe && (
|
52491
|
+
const Pe = !U.current && !Re;
|
52492
|
+
(k.value !== void 0 && k.value === ke || Pe) && (D(be), Pe && (U.current = !0));
|
52493
52493
|
},
|
52494
52494
|
[k.value]
|
52495
52495
|
), pe = E.useCallback(() => v == null ? void 0 : v.focus(), [v]), oe = E.useCallback(
|
52496
52496
|
(be, ke, Re) => {
|
52497
|
-
const Pe = !
|
52497
|
+
const Pe = !U.current && !Re;
|
52498
52498
|
(k.value !== void 0 && k.value === ke || Pe) && R(be);
|
52499
52499
|
},
|
52500
52500
|
[k.value]
|
@@ -52524,7 +52524,7 @@ var jl = 10, [_Y, A1] = Y2(lf), IVe = "SelectContentImpl", qY = E.forwardRef(
|
|
52524
52524
|
focusSelectedItem: Y,
|
52525
52525
|
selectedItemText: j,
|
52526
52526
|
position: r,
|
52527
|
-
isPositioned:
|
52527
|
+
isPositioned: q,
|
52528
52528
|
searchRef: ie,
|
52529
52529
|
children: /* @__PURE__ */ A.jsx(nv, { as: al, allowPinchZoom: !0, children: /* @__PURE__ */ A.jsx(
|
52530
52530
|
Z2,
|
@@ -52600,7 +52600,7 @@ var PVe = "SelectItemAlignedPosition", UY = E.forwardRef((t, e) => {
|
|
52600
52600
|
const Pe = S.right - j.right, Ae = window.innerWidth - D.right - Pe, Le = window.innerWidth - L.right - Ae, Te = L.width + Le, ce = Math.max(Te, S.width), X = window.innerWidth - jl, Q = pR(Ae, [jl, X - ce]);
|
52601
52601
|
o.style.minWidth = Te + "px", o.style.right = Q + "px";
|
52602
52602
|
}
|
52603
|
-
const R = d(), H = window.innerHeight - jl * 2,
|
52603
|
+
const R = d(), H = window.innerHeight - jl * 2, q = m.scrollHeight, Z = window.getComputedStyle(c), U = parseInt(Z.borderTopWidth, 10), V = parseInt(Z.paddingTop, 10), Y = parseInt(Z.borderBottomWidth, 10), ae = parseInt(Z.paddingBottom, 10), G = U + V + q + ae + Y, ie = Math.min(g.offsetHeight * 5, G), de = window.getComputedStyle(m), re = parseInt(de.paddingTop, 10), pe = parseInt(de.paddingBottom, 10), oe = L.top + L.height / 2 - jl, ge = H - oe, J = g.offsetHeight / 2, be = g.offsetTop + J, ke = U + V + be, Re = G - ke;
|
52604
52604
|
if (ke <= oe) {
|
52605
52605
|
const Pe = g === R[R.length - 1].ref.current;
|
52606
52606
|
o.style.bottom = "0px";
|
@@ -52615,7 +52615,7 @@ var PVe = "SelectItemAlignedPosition", UY = E.forwardRef((t, e) => {
|
|
52615
52615
|
o.style.top = "0px";
|
52616
52616
|
const Ae = Math.max(
|
52617
52617
|
oe,
|
52618
|
-
|
52618
|
+
U + m.offsetTop + // viewport might have padding top, include it to avoid a scrollable viewport
|
52619
52619
|
(Pe ? re : 0) + J
|
52620
52620
|
) + Re;
|
52621
52621
|
o.style.height = Ae + "px", m.scrollTop = ke - oe + m.offsetTop;
|
@@ -53780,8 +53780,8 @@ function T_e({ activeSnapPointProp: t, setActiveSnapPointProp: e, snapPoints: n,
|
|
53780
53780
|
const j = typeof D == "string";
|
53781
53781
|
let R = 0;
|
53782
53782
|
if (j && (R = parseInt(D, 10)), Cr(o)) {
|
53783
|
-
const
|
53784
|
-
return d ? o === "bottom" ? L.height -
|
53783
|
+
const q = j ? R : d ? D * L.height : 0;
|
53784
|
+
return d ? o === "bottom" ? L.height - q : -L.height + q : q;
|
53785
53785
|
}
|
53786
53786
|
const H = j ? R : d ? D * L.width : 0;
|
53787
53787
|
return d ? o === "right" ? L.width - H : -L.width + H : H;
|
@@ -53829,7 +53829,7 @@ function T_e({ activeSnapPointProp: t, setActiveSnapPointProp: e, snapPoints: n,
|
|
53829
53829
|
]);
|
53830
53830
|
function w({ draggedDistance: L, closeDrawer: S, velocity: D, dismissible: j }) {
|
53831
53831
|
if (s === void 0) return;
|
53832
|
-
const R = o === "bottom" || o === "right" ? (k ?? 0) - L : (k ?? 0) + L, H = m === s - 1,
|
53832
|
+
const R = o === "bottom" || o === "right" ? (k ?? 0) - L : (k ?? 0) + L, H = m === s - 1, q = m === 0, Z = L > 0;
|
53833
53833
|
if (H && jr(i.current, {
|
53834
53834
|
transition: `opacity ${Wn.DURATION}s cubic-bezier(${Wn.EASE.join(",")})`
|
53835
53835
|
}), !c && D > 2 && !Z) {
|
@@ -53840,18 +53840,18 @@ function T_e({ activeSnapPointProp: t, setActiveSnapPointProp: e, snapPoints: n,
|
|
53840
53840
|
v(b[n.length - 1]);
|
53841
53841
|
return;
|
53842
53842
|
}
|
53843
|
-
const
|
53843
|
+
const U = b == null ? void 0 : b.reduce((Y, ae) => typeof Y != "number" || typeof ae != "number" ? Y : Math.abs(ae - R) < Math.abs(Y - R) ? ae : Y), V = Cr(o) ? window.innerHeight : window.innerWidth;
|
53844
53844
|
if (D > vK && Math.abs(L) < V * 0.4) {
|
53845
53845
|
const Y = Z ? 1 : -1;
|
53846
53846
|
if (Y > 0 && p && n) {
|
53847
53847
|
v(b[n.length - 1]);
|
53848
53848
|
return;
|
53849
53849
|
}
|
53850
|
-
if (
|
53850
|
+
if (q && Y < 0 && j && S(), m === null) return;
|
53851
53851
|
v(b[m + Y]);
|
53852
53852
|
return;
|
53853
53853
|
}
|
53854
|
-
v(
|
53854
|
+
v(U);
|
53855
53855
|
}
|
53856
53856
|
function x({ draggedDistance: L }) {
|
53857
53857
|
if (k === null) return;
|
@@ -53993,8 +53993,8 @@ function D_e({ isOpen: t, modal: e, nested: n, hasBeenOpened: r, preventScrollRe
|
|
53993
53993
|
};
|
53994
53994
|
}
|
53995
53995
|
function MK({ open: t, onOpenChange: e, children: n, onDrag: r, onRelease: i, snapPoints: s, shouldScaleBackground: a = !1, setBackgroundColorOnScale: o = !0, closeThreshold: l = S_e, scrollLockTimeout: c = E_e, dismissible: u = !0, handleOnly: f = !1, fadeFromIndex: d = s && s.length - 1, activeSnapPoint: h, setActiveSnapPoint: p, fixed: m, modal: g = !0, onClose: b, nested: k, noBodyStyles: v = !1, direction: w = "bottom", defaultOpen: x = !1, disablePreventScroll: M = !0, snapToSequentialPoint: L = !1, preventScrollRestoration: S = !1, repositionInputs: D = !0, onAnimationEnd: j, container: R, autoFocus: H = !1 }) {
|
53996
|
-
var
|
53997
|
-
const [
|
53996
|
+
var q, Z;
|
53997
|
+
const [U = !1, V] = xK({
|
53998
53998
|
defaultProp: x,
|
53999
53999
|
prop: t,
|
54000
54000
|
onChange: (nt) => {
|
@@ -54004,7 +54004,7 @@ function MK({ open: t, onOpenChange: e, children: n, onDrag: r, onRelease: i, sn
|
|
54004
54004
|
document.body.style.pointerEvents = "auto";
|
54005
54005
|
}), nt || (document.body.style.pointerEvents = "auto");
|
54006
54006
|
}
|
54007
|
-
}), [Y, ae] = Me.useState(!1), [G, ie] = Me.useState(!1), [de, re] = Me.useState(!1), pe = Me.useRef(null), oe = Me.useRef(null), ge = Me.useRef(null), J = Me.useRef(null), be = Me.useRef(null), ke = Me.useRef(!1), Re = Me.useRef(null), Pe = Me.useRef(0), Ae = Me.useRef(!1), Le = Me.useRef(!x), Te = Me.useRef(0), ce = Me.useRef(null), X = Me.useRef(((
|
54007
|
+
}), [Y, ae] = Me.useState(!1), [G, ie] = Me.useState(!1), [de, re] = Me.useState(!1), pe = Me.useRef(null), oe = Me.useRef(null), ge = Me.useRef(null), J = Me.useRef(null), be = Me.useRef(null), ke = Me.useRef(!1), Re = Me.useRef(null), Pe = Me.useRef(0), Ae = Me.useRef(!1), Le = Me.useRef(!x), Te = Me.useRef(0), ce = Me.useRef(null), X = Me.useRef(((q = ce.current) == null ? void 0 : q.getBoundingClientRect().height) || 0), Q = Me.useRef(((Z = ce.current) == null ? void 0 : Z.getBoundingClientRect().width) || 0), ee = Me.useRef(0), De = Me.useCallback((nt) => {
|
54008
54008
|
s && nt === te.length - 1 && (oe.current = /* @__PURE__ */ new Date());
|
54009
54009
|
}, []), { activeSnapPoint: W, activeSnapPointIndex: C, setActiveSnapPoint: P, onRelease: B, snapPointsOffset: te, onDrag: ue, shouldFade: me, getPercentageDragged: ze } = T_e({
|
54010
54010
|
snapPoints: s,
|
@@ -54019,10 +54019,10 @@ function MK({ open: t, onOpenChange: e, children: n, onDrag: r, onRelease: i, sn
|
|
54019
54019
|
snapToSequentialPoint: L
|
54020
54020
|
});
|
54021
54021
|
b_e({
|
54022
|
-
isDisabled: !
|
54022
|
+
isDisabled: !U || G || !g || de || !Y || !D || !M
|
54023
54023
|
});
|
54024
54024
|
const { restorePositionSetting: Ze } = D_e({
|
54025
|
-
isOpen:
|
54025
|
+
isOpen: U,
|
54026
54026
|
modal: g,
|
54027
54027
|
nested: k ?? !1,
|
54028
54028
|
hasBeenOpened: Y,
|
@@ -54157,7 +54157,7 @@ function MK({ open: t, onOpenChange: e, children: n, onDrag: r, onRelease: i, sn
|
|
54157
54157
|
}), jr(pe.current, {
|
54158
54158
|
transition: `opacity ${Wn.DURATION}s cubic-bezier(${Wn.EASE.join(",")})`,
|
54159
54159
|
opacity: "1"
|
54160
|
-
}), a && ft && ft > 0 &&
|
54160
|
+
}), a && ft && ft > 0 && U && jr(nt, {
|
54161
54161
|
borderRadius: `${wK}px`,
|
54162
54162
|
overflow: "hidden",
|
54163
54163
|
...Cr(w) ? {
|
@@ -54210,12 +54210,12 @@ function MK({ open: t, onOpenChange: e, children: n, onDrag: r, onRelease: i, sn
|
|
54210
54210
|
}
|
54211
54211
|
i == null || i(nt, !0), cn();
|
54212
54212
|
}
|
54213
|
-
Me.useEffect(() => (
|
54213
|
+
Me.useEffect(() => (U && (jr(document.documentElement, {
|
54214
54214
|
scrollBehavior: "auto"
|
54215
54215
|
}), oe.current = /* @__PURE__ */ new Date()), () => {
|
54216
54216
|
M_e(document.documentElement, "scrollBehavior");
|
54217
54217
|
}), [
|
54218
|
-
|
54218
|
+
U
|
54219
54219
|
]);
|
54220
54220
|
function lt(nt) {
|
54221
54221
|
const ft = nt ? (window.innerWidth - Jg) / window.innerWidth : 1, rt = nt ? -16 : 0;
|
@@ -54256,7 +54256,7 @@ function MK({ open: t, onOpenChange: e, children: n, onDrag: r, onRelease: i, sn
|
|
54256
54256
|
onOpenChange: (nt) => {
|
54257
54257
|
!u && !nt || (nt ? ae(!0) : ln(!0), V(nt));
|
54258
54258
|
},
|
54259
|
-
open:
|
54259
|
+
open: U
|
54260
54260
|
}, /* @__PURE__ */ Me.createElement(pK.Provider, {
|
54261
54261
|
value: {
|
54262
54262
|
activeSnapPoint: W,
|
@@ -54271,7 +54271,7 @@ function MK({ open: t, onOpenChange: e, children: n, onDrag: r, onRelease: i, sn
|
|
54271
54271
|
dismissible: u,
|
54272
54272
|
shouldAnimate: Le,
|
54273
54273
|
handleOnly: f,
|
54274
|
-
isOpen:
|
54274
|
+
isOpen: U,
|
54275
54275
|
isDragging: G,
|
54276
54276
|
shouldFade: me,
|
54277
54277
|
closeDrawer: ln,
|
@@ -54312,16 +54312,16 @@ CK.displayName = "Drawer.Overlay";
|
|
54312
54312
|
const AK = /* @__PURE__ */ Me.forwardRef(function({ onPointerDownOutside: t, style: e, onOpenAutoFocus: n, ...r }, i) {
|
54313
54313
|
const { drawerRef: s, onPress: a, onRelease: o, onDrag: l, keyboardIsOpen: c, snapPointsOffset: u, activeSnapPointIndex: f, modal: d, isOpen: h, direction: p, snapPoints: m, container: g, handleOnly: b, shouldAnimate: k, autoFocus: v } = K2(), [w, x] = Me.useState(!1), M = gK(i, s), L = Me.useRef(null), S = Me.useRef(null), D = Me.useRef(!1), j = m && m.length > 0;
|
54314
54314
|
j_e();
|
54315
|
-
const R = (
|
54315
|
+
const R = (q, Z, U = 0) => {
|
54316
54316
|
if (D.current) return !0;
|
54317
|
-
const V = Math.abs(
|
54317
|
+
const V = Math.abs(q.y), Y = Math.abs(q.x), ae = Y > V, G = [
|
54318
54318
|
"bottom",
|
54319
54319
|
"right"
|
54320
54320
|
].includes(Z) ? 1 : -1;
|
54321
54321
|
if (Z === "left" || Z === "right") {
|
54322
|
-
if (!(
|
54322
|
+
if (!(q.x * G < 0) && Y >= 0 && Y <= U)
|
54323
54323
|
return ae;
|
54324
|
-
} else if (!(
|
54324
|
+
} else if (!(q.y * G < 0) && V >= 0 && V <= U)
|
54325
54325
|
return !ae;
|
54326
54326
|
return D.current = !0, !0;
|
54327
54327
|
};
|
@@ -54330,8 +54330,8 @@ const AK = /* @__PURE__ */ Me.forwardRef(function({ onPointerDownOutside: t, sty
|
|
54330
54330
|
x(!0);
|
54331
54331
|
});
|
54332
54332
|
}, []);
|
54333
|
-
function H(
|
54334
|
-
L.current = null, D.current = !1, o(
|
54333
|
+
function H(q) {
|
54334
|
+
L.current = null, D.current = !1, o(q);
|
54335
54335
|
}
|
54336
54336
|
return /* @__PURE__ */ Me.createElement(Uy, {
|
54337
54337
|
"data-vaul-drawer-direction": p,
|
@@ -54346,44 +54346,44 @@ const AK = /* @__PURE__ */ Me.forwardRef(function({ onPointerDownOutside: t, sty
|
|
54346
54346
|
"--snap-point-height": `${u[f ?? 0]}px`,
|
54347
54347
|
...e
|
54348
54348
|
} : e,
|
54349
|
-
onPointerDown: (
|
54350
|
-
b || (r.onPointerDown == null || r.onPointerDown.call(r,
|
54351
|
-
x:
|
54352
|
-
y:
|
54353
|
-
}, a(
|
54349
|
+
onPointerDown: (q) => {
|
54350
|
+
b || (r.onPointerDown == null || r.onPointerDown.call(r, q), L.current = {
|
54351
|
+
x: q.pageX,
|
54352
|
+
y: q.pageY
|
54353
|
+
}, a(q));
|
54354
54354
|
},
|
54355
|
-
onOpenAutoFocus: (
|
54356
|
-
n == null || n(
|
54355
|
+
onOpenAutoFocus: (q) => {
|
54356
|
+
n == null || n(q), v || q.preventDefault();
|
54357
54357
|
},
|
54358
|
-
onPointerDownOutside: (
|
54359
|
-
if (t == null || t(
|
54360
|
-
|
54358
|
+
onPointerDownOutside: (q) => {
|
54359
|
+
if (t == null || t(q), !d || q.defaultPrevented) {
|
54360
|
+
q.preventDefault();
|
54361
54361
|
return;
|
54362
54362
|
}
|
54363
54363
|
c.current && (c.current = !1);
|
54364
54364
|
},
|
54365
|
-
onFocusOutside: (
|
54365
|
+
onFocusOutside: (q) => {
|
54366
54366
|
if (!d) {
|
54367
|
-
|
54367
|
+
q.preventDefault();
|
54368
54368
|
return;
|
54369
54369
|
}
|
54370
54370
|
},
|
54371
|
-
onPointerMove: (
|
54372
|
-
if (S.current =
|
54373
|
-
const Z =
|
54371
|
+
onPointerMove: (q) => {
|
54372
|
+
if (S.current = q, b || (r.onPointerMove == null || r.onPointerMove.call(r, q), !L.current)) return;
|
54373
|
+
const Z = q.pageY - L.current.y, U = q.pageX - L.current.x, V = q.pointerType === "touch" ? 10 : 2;
|
54374
54374
|
R({
|
54375
|
-
x:
|
54375
|
+
x: U,
|
54376
54376
|
y: Z
|
54377
|
-
}, p, V) ? l(
|
54377
|
+
}, p, V) ? l(q) : (Math.abs(U) > V || Math.abs(Z) > V) && (L.current = null);
|
54378
54378
|
},
|
54379
|
-
onPointerUp: (
|
54380
|
-
r.onPointerUp == null || r.onPointerUp.call(r,
|
54379
|
+
onPointerUp: (q) => {
|
54380
|
+
r.onPointerUp == null || r.onPointerUp.call(r, q), L.current = null, D.current = !1, o(q);
|
54381
54381
|
},
|
54382
|
-
onPointerOut: (
|
54383
|
-
r.onPointerOut == null || r.onPointerOut.call(r,
|
54382
|
+
onPointerOut: (q) => {
|
54383
|
+
r.onPointerOut == null || r.onPointerOut.call(r, q), H(S.current);
|
54384
54384
|
},
|
54385
|
-
onContextMenu: (
|
54386
|
-
r.onContextMenu == null || r.onContextMenu.call(r,
|
54385
|
+
onContextMenu: (q) => {
|
54386
|
+
r.onContextMenu == null || r.onContextMenu.call(r, q), S.current && H(S.current);
|
54387
54387
|
}
|
54388
54388
|
});
|
54389
54389
|
});
|
@@ -76696,13 +76696,13 @@ var Tp = '[cmdk-group=""]', $w = '[cmdk-group-items=""]', pYe = '[cmdk-group-hea
|
|
76696
76696
|
n.current.value = re, L.emit();
|
76697
76697
|
}
|
76698
76698
|
}, [u]), uf(() => {
|
76699
|
-
M(6,
|
76699
|
+
M(6, q);
|
76700
76700
|
}, []);
|
76701
76701
|
let L = E.useMemo(() => ({ subscribe: (re) => (a.current.add(re), () => a.current.delete(re)), snapshot: () => n.current, setState: (re, pe, oe) => {
|
76702
76702
|
var ge, J, be;
|
76703
76703
|
if (!Object.is(n.current[re], pe)) {
|
76704
76704
|
if (n.current[re] = pe, re === "search") H(), j(), M(1, R);
|
76705
|
-
else if (re === "value" && (oe || M(5,
|
76705
|
+
else if (re === "value" && (oe || M(5, q), ((ge = o.current) == null ? void 0 : ge.value) !== void 0)) {
|
76706
76706
|
let ke = pe ?? "";
|
76707
76707
|
(be = (J = o.current).onValueChange) == null || be.call(J, ke);
|
76708
76708
|
return;
|
@@ -76743,7 +76743,7 @@ var Tp = '[cmdk-group=""]', $w = '[cmdk-group-items=""]', pYe = '[cmdk-group-hea
|
|
76743
76743
|
}), pe.push([ge, be]);
|
76744
76744
|
});
|
76745
76745
|
let oe = x.current;
|
76746
|
-
|
76746
|
+
U().sort((ge, J) => {
|
76747
76747
|
var be, ke;
|
76748
76748
|
let Re = ge.getAttribute("id"), Pe = J.getAttribute("id");
|
76749
76749
|
return ((be = re.get(Pe)) != null ? be : 0) - ((ke = re.get(Re)) != null ? ke : 0);
|
@@ -76756,7 +76756,7 @@ var Tp = '[cmdk-group=""]', $w = '[cmdk-group-items=""]', pYe = '[cmdk-group-hea
|
|
76756
76756
|
});
|
76757
76757
|
}
|
76758
76758
|
function R() {
|
76759
|
-
let re =
|
76759
|
+
let re = U().find((oe) => oe.getAttribute("aria-disabled") !== "true"), pe = re == null ? void 0 : re.getAttribute($1);
|
76760
76760
|
L.setState("value", pe || void 0);
|
76761
76761
|
}
|
76762
76762
|
function H() {
|
@@ -76777,7 +76777,7 @@ var Tp = '[cmdk-group=""]', $w = '[cmdk-group-items=""]', pYe = '[cmdk-group-hea
|
|
76777
76777
|
}
|
76778
76778
|
n.current.filtered.count = J;
|
76779
76779
|
}
|
76780
|
-
function
|
76780
|
+
function q() {
|
76781
76781
|
var re, pe, oe;
|
76782
76782
|
let ge = Z();
|
76783
76783
|
ge && (((re = ge.parentElement) == null ? void 0 : re.firstChild) === ge && ((oe = (pe = ge.closest(Tp)) == null ? void 0 : pe.querySelector(pYe)) == null || oe.scrollIntoView({ block: "nearest" })), ge.scrollIntoView({ block: "nearest" }));
|
@@ -76786,17 +76786,17 @@ var Tp = '[cmdk-group=""]', $w = '[cmdk-group-items=""]', pYe = '[cmdk-group-hea
|
|
76786
76786
|
var re;
|
76787
76787
|
return (re = x.current) == null ? void 0 : re.querySelector(`${ML}[aria-selected="true"]`);
|
76788
76788
|
}
|
76789
|
-
function
|
76789
|
+
function U() {
|
76790
76790
|
var re;
|
76791
76791
|
return Array.from((re = x.current) == null ? void 0 : re.querySelectorAll(XR));
|
76792
76792
|
}
|
76793
76793
|
function V(re) {
|
76794
|
-
let pe =
|
76794
|
+
let pe = U()[re];
|
76795
76795
|
pe && L.setState("value", pe.getAttribute($1));
|
76796
76796
|
}
|
76797
76797
|
function Y(re) {
|
76798
76798
|
var pe;
|
76799
|
-
let oe = Z(), ge =
|
76799
|
+
let oe = Z(), ge = U(), J = ge.findIndex((ke) => ke === oe), be = ge[J + re];
|
76800
76800
|
(pe = o.current) != null && pe.loop && (be = J + re < 0 ? ge[ge.length - 1] : J + re === ge.length ? ge[0] : ge[J + re]), be && L.setState("value", be.getAttribute($1));
|
76801
76801
|
}
|
76802
76802
|
function ae(re) {
|
@@ -76804,7 +76804,7 @@ var Tp = '[cmdk-group=""]', $w = '[cmdk-group-items=""]', pYe = '[cmdk-group-hea
|
|
76804
76804
|
for (; oe && !ge; ) oe = re > 0 ? CYe(oe, Tp) : AYe(oe, Tp), ge = oe == null ? void 0 : oe.querySelector(XR);
|
76805
76805
|
ge ? L.setState("value", ge.getAttribute($1)) : Y(re);
|
76806
76806
|
}
|
76807
|
-
let G = () => V(
|
76807
|
+
let G = () => V(U().length - 1), ie = (re) => {
|
76808
76808
|
re.preventDefault(), re.metaKey ? G() : re.altKey ? ae(1) : Y(1);
|
76809
76809
|
}, de = (re) => {
|
76810
76810
|
re.preventDefault(), re.metaKey ? V(0) : re.altKey ? ae(-1) : Y(-1);
|
@@ -77291,29 +77291,29 @@ var [FYe, HYe] = XQ(Iv, {
|
|
77291
77291
|
E.useEffect(() => {
|
77292
77292
|
const Z = m.viewport;
|
77293
77293
|
if (Z) {
|
77294
|
-
const
|
77294
|
+
const U = () => {
|
77295
77295
|
H(L.current), c == null || c();
|
77296
77296
|
}, V = () => {
|
77297
77297
|
const Y = (/* @__PURE__ */ new Date()).getTime() - M.current;
|
77298
77298
|
L.current = L.current - Y, window.clearTimeout(S.current), l == null || l();
|
77299
77299
|
};
|
77300
|
-
return Z.addEventListener(IM, V), Z.addEventListener(PM,
|
77301
|
-
Z.removeEventListener(IM, V), Z.removeEventListener(PM,
|
77300
|
+
return Z.addEventListener(IM, V), Z.addEventListener(PM, U), () => {
|
77301
|
+
Z.removeEventListener(IM, V), Z.removeEventListener(PM, U);
|
77302
77302
|
};
|
77303
77303
|
}
|
77304
77304
|
}, [m.viewport, x, l, c, H]), E.useEffect(() => {
|
77305
77305
|
s && !m.isClosePausedRef.current && H(x);
|
77306
77306
|
}, [s, x, m.isClosePausedRef, H]), E.useEffect(() => (D(), () => j()), [D, j]);
|
77307
|
-
const
|
77307
|
+
const q = E.useMemo(() => g ? cX(g) : null, [g]);
|
77308
77308
|
return m.viewport ? /* @__PURE__ */ A.jsxs(A.Fragment, { children: [
|
77309
|
-
|
77309
|
+
q && /* @__PURE__ */ A.jsx(
|
77310
77310
|
_Ye,
|
77311
77311
|
{
|
77312
77312
|
__scopeToast: n,
|
77313
77313
|
role: "status",
|
77314
77314
|
"aria-live": r === "foreground" ? "assertive" : "polite",
|
77315
77315
|
"aria-atomic": !0,
|
77316
|
-
children:
|
77316
|
+
children: q
|
77317
77317
|
}
|
77318
77318
|
),
|
77319
77319
|
/* @__PURE__ */ A.jsx(FYe, { scope: n, onClose: R, children: p1.createPortal(
|
@@ -77344,18 +77344,18 @@ var [FYe, HYe] = XQ(Iv, {
|
|
77344
77344
|
}),
|
77345
77345
|
onPointerMove: st(t.onPointerMove, (Z) => {
|
77346
77346
|
if (!v.current) return;
|
77347
|
-
const
|
77347
|
+
const U = Z.clientX - v.current.x, V = Z.clientY - v.current.y, Y = !!w.current, ae = ["left", "right"].includes(m.swipeDirection), G = ["left", "up"].includes(m.swipeDirection) ? Math.min : Math.max, ie = ae ? G(0, U) : 0, de = ae ? 0 : G(0, V), re = Z.pointerType === "touch" ? 10 : 2, pe = { x: ie, y: de }, oe = { originalEvent: Z, delta: pe };
|
77348
77348
|
Y ? (w.current = pe, r3(OYe, f, oe, {
|
77349
77349
|
discrete: !1
|
77350
77350
|
})) : eO(pe, m.swipeDirection, re) ? (w.current = pe, r3(RYe, u, oe, {
|
77351
77351
|
discrete: !1
|
77352
|
-
}), Z.target.setPointerCapture(Z.pointerId)) : (Math.abs(
|
77352
|
+
}), Z.target.setPointerCapture(Z.pointerId)) : (Math.abs(U) > re || Math.abs(V) > re) && (v.current = null);
|
77353
77353
|
}),
|
77354
77354
|
onPointerUp: st(t.onPointerUp, (Z) => {
|
77355
|
-
const
|
77356
|
-
if (V.hasPointerCapture(Z.pointerId) && V.releasePointerCapture(Z.pointerId), w.current = null, v.current = null,
|
77357
|
-
const Y = Z.currentTarget, ae = { originalEvent: Z, delta:
|
77358
|
-
eO(
|
77355
|
+
const U = w.current, V = Z.target;
|
77356
|
+
if (V.hasPointerCapture(Z.pointerId) && V.releasePointerCapture(Z.pointerId), w.current = null, v.current = null, U) {
|
77357
|
+
const Y = Z.currentTarget, ae = { originalEvent: Z, delta: U };
|
77358
|
+
eO(U, m.swipeDirection, m.swipeThreshold) ? r3(BYe, h, ae, {
|
77359
77359
|
discrete: !0
|
77360
77360
|
}) : r3(
|
77361
77361
|
zYe,
|
@@ -78411,7 +78411,7 @@ function RKe(t, e, n, r, i, s, a, o, l, c, u, f, d, h, p, m, g, b, k) {
|
|
78411
78411
|
mouse: 500,
|
78412
78412
|
touch: 600
|
78413
78413
|
}, H = p ? 43 : 25;
|
78414
|
-
let
|
78414
|
+
let q = !1, Z = 0, U = 0, V = !1, Y = !1, ae = !1, G = !1;
|
78415
78415
|
function ie(Le) {
|
78416
78416
|
if (!k) return;
|
78417
78417
|
function Te(X) {
|
@@ -78442,11 +78442,11 @@ function RKe(t, e, n, r, i, s, a, o, l, c, u, f, d, h, p, m, g, b, k) {
|
|
78442
78442
|
}
|
78443
78443
|
function J(Le) {
|
78444
78444
|
const Te = FM(Le, r);
|
78445
|
-
G = Te, ae = p && Te && !Le.buttons &&
|
78445
|
+
G = Te, ae = p && Te && !Le.buttons && q, q = Am(i.get(), a.get()) >= 2, !(Te && Le.button !== 0) && (pe(Le.target) || (V = !0, s.pointerDown(Le), c.useFriction(0).useDuration(0), i.set(a), re(), Z = s.readPoint(Le), U = s.readPoint(Le, v), d.emit("pointerDown")));
|
78446
78446
|
}
|
78447
78447
|
function be(Le) {
|
78448
78448
|
if (!FM(Le, r) && Le.touches.length >= 2) return ke(Le);
|
78449
|
-
const ce = s.readPoint(Le), X = s.readPoint(Le, v), Q = Am(ce, Z), ee = Am(X,
|
78449
|
+
const ce = s.readPoint(Le), X = s.readPoint(Le, v), Q = Am(ce, Z), ee = Am(X, U);
|
78450
78450
|
if (!Y && !G && (!Le.cancelable || (Y = Q > ee, !Y)))
|
78451
78451
|
return ke(Le);
|
78452
78452
|
const De = s.pointerMove(Le);
|
@@ -78906,13 +78906,13 @@ function QKe(t, e, n, r, i, s, a, o, l) {
|
|
78906
78906
|
function g(L, S, D) {
|
78907
78907
|
const j = m(S);
|
78908
78908
|
return L.map((R) => {
|
78909
|
-
const H = D ? 0 : -n,
|
78909
|
+
const H = D ? 0 : -n, q = D ? n : 0, Z = D ? "end" : "start", U = j[R][Z];
|
78910
78910
|
return {
|
78911
78911
|
index: R,
|
78912
|
-
loopPoint:
|
78912
|
+
loopPoint: U,
|
78913
78913
|
slideLocation: Kp(-1),
|
78914
78914
|
translate: kX(t, l[R]),
|
78915
|
-
target: () => o.get() >
|
78915
|
+
target: () => o.get() > U ? H : q
|
78916
78916
|
};
|
78917
78917
|
});
|
78918
78918
|
}
|
@@ -79086,7 +79086,7 @@ function nJe(t, e, n, r, i, s, a) {
|
|
79086
79086
|
watchSlides: w,
|
79087
79087
|
watchDrag: x,
|
79088
79088
|
watchFocus: M
|
79089
|
-
} = s, L = 2, S = zKe(), D = S.measure(e), j = n.map(S.measure), R = PKe(l, c), H = R.measureSize(D),
|
79089
|
+
} = s, L = 2, S = zKe(), D = S.measure(e), j = n.map(S.measure), R = PKe(l, c), H = R.measureSize(D), q = BKe(H), Z = DKe(o, H), U = !f && !!k, V = f || !!k, {
|
79090
79090
|
slideSizes: Y,
|
79091
79091
|
slideSizesWithGaps: ae,
|
79092
79092
|
startGap: G,
|
@@ -79097,7 +79097,7 @@ function nJe(t, e, n, r, i, s, a) {
|
|
79097
79097
|
} = GKe(R, Z, D, j, de), oe = -Ja(re) + Ja(ae), {
|
79098
79098
|
snapsContained: ge,
|
79099
79099
|
scrollContainLimit: J
|
79100
|
-
} = _Ke(H, oe, pe, k, L), be =
|
79100
|
+
} = _Ke(H, oe, pe, k, L), be = U ? ge : pe, {
|
79101
79101
|
limit: ke
|
79102
79102
|
} = qKe(oe, be, f), Re = wX(ng(be), u, f), Pe = Re.clone(), Ae = M4(n), Le = ({
|
79103
79103
|
dragHandler: Ke,
|
@@ -79130,7 +79130,7 @@ function nJe(t, e, n, r, i, s, a) {
|
|
79130
79130
|
cn.set(dn), rt && (Ue.loop(Ke.direction()), lt.loop()), zt.to(cn.get());
|
79131
79131
|
}, ce = IKe(r, i, () => Le(_e), (Ke) => Te(_e, Ke)), X = 0.68, Q = be[Re.get()], ee = Kp(Q), De = Kp(Q), W = Kp(Q), C = Kp(Q), P = HKe(ee, W, De, C, d, X), B = YKe(f, be, oe, ke, C), te = KKe(ce, Re, Pe, P, B, C, a), ue = WKe(ke), me = A4(), ze = $Ke(e, n, a, m), {
|
79132
79132
|
slideRegistry: Ze
|
79133
|
-
} = ZKe(
|
79133
|
+
} = ZKe(U, k, be, J, de, Ae), Ee = JKe(t, n, Ze, te, P, me, a, M), _e = {
|
79134
79134
|
ownerDocument: r,
|
79135
79135
|
ownerWindow: i,
|
79136
79136
|
eventHandler: a,
|
@@ -79138,9 +79138,9 @@ function nJe(t, e, n, r, i, s, a) {
|
|
79138
79138
|
slideRects: j,
|
79139
79139
|
animation: ce,
|
79140
79140
|
axis: R,
|
79141
|
-
dragHandler: RKe(R, t, r, i, C, OKe(R, i), ee, ce, te, P, B, Re, a,
|
79141
|
+
dragHandler: RKe(R, t, r, i, C, OKe(R, i), ee, ce, te, P, B, Re, a, q, h, p, b, X, x),
|
79142
79142
|
eventStore: me,
|
79143
|
-
percentOfView:
|
79143
|
+
percentOfView: q,
|
79144
79144
|
index: Re,
|
79145
79145
|
indexPrevious: Pe,
|
79146
79146
|
limit: ke,
|
@@ -79150,7 +79150,7 @@ function nJe(t, e, n, r, i, s, a) {
|
|
79150
79150
|
options: s,
|
79151
79151
|
resizeHandler: FKe(e, a, i, n, R, v, S),
|
79152
79152
|
scrollBody: P,
|
79153
|
-
scrollBounds: VKe(ke, W, C, P,
|
79153
|
+
scrollBounds: VKe(ke, W, C, P, q),
|
79154
79154
|
scrollLooper: UKe(oe, ke, W, [ee, W, De, C]),
|
79155
79155
|
scrollProgress: ue,
|
79156
79156
|
scrollSnapList: be.map(ue.get),
|
@@ -79298,13 +79298,13 @@ function j5(t, e, n) {
|
|
79298
79298
|
function H() {
|
79299
79299
|
b.dragHandler.destroy(), b.eventStore.clear(), b.translate.clear(), b.slideLooper.clear(), b.resizeHandler.destroy(), b.slidesHandler.destroy(), b.slidesInView.destroy(), b.animation.destroy(), a.destroy(), o.clear();
|
79300
79300
|
}
|
79301
|
-
function
|
79301
|
+
function q() {
|
79302
79302
|
g || (g = !0, o.clear(), H(), l.emit("destroy"), l.clear());
|
79303
79303
|
}
|
79304
79304
|
function Z(Ae, Le, Te) {
|
79305
79305
|
!v.active || g || (b.scrollBody.useBaseFriction().useDuration(Le === !0 ? 0 : v.duration), b.scrollTo.index(Ae, Te || 0));
|
79306
79306
|
}
|
79307
|
-
function
|
79307
|
+
function U(Ae) {
|
79308
79308
|
const Le = b.index.add(1).get();
|
79309
79309
|
Z(Le, Ae, -1);
|
79310
79310
|
}
|
@@ -79356,7 +79356,7 @@ function j5(t, e, n) {
|
|
79356
79356
|
canScrollPrev: ae,
|
79357
79357
|
containerNode: ke,
|
79358
79358
|
internalEngine: J,
|
79359
|
-
destroy:
|
79359
|
+
destroy: q,
|
79360
79360
|
off: h,
|
79361
79361
|
on: d,
|
79362
79362
|
emit: p,
|
@@ -79364,7 +79364,7 @@ function j5(t, e, n) {
|
|
79364
79364
|
previousScrollSnap: re,
|
79365
79365
|
reInit: m,
|
79366
79366
|
rootNode: be,
|
79367
|
-
scrollNext:
|
79367
|
+
scrollNext: U,
|
79368
79368
|
scrollPrev: V,
|
79369
79369
|
scrollProgress: ie,
|
79370
79370
|
scrollSnapList: G,
|
@@ -83299,15 +83299,15 @@ class gQe extends XX {
|
|
83299
83299
|
for (let v = 0; v < 16; v++, n += 4)
|
83300
83300
|
qc[v] = e.getUint32(n), Uc[v] = e.getUint32(n += 4);
|
83301
83301
|
for (let v = 16; v < 80; v++) {
|
83302
|
-
const w = qc[v - 15] | 0, x = Uc[v - 15] | 0, M = Jt.rotrSH(w, x, 1) ^ Jt.rotrSH(w, x, 8) ^ Jt.shrSH(w, x, 7), L = Jt.rotrSL(w, x, 1) ^ Jt.rotrSL(w, x, 8) ^ Jt.shrSL(w, x, 7), S = qc[v - 2] | 0, D = Uc[v - 2] | 0, j = Jt.rotrSH(S, D, 19) ^ Jt.rotrBH(S, D, 61) ^ Jt.shrSH(S, D, 6), R = Jt.rotrSL(S, D, 19) ^ Jt.rotrBL(S, D, 61) ^ Jt.shrSL(S, D, 6), H = Jt.add4L(L, R, Uc[v - 7], Uc[v - 16]),
|
83303
|
-
qc[v] =
|
83302
|
+
const w = qc[v - 15] | 0, x = Uc[v - 15] | 0, M = Jt.rotrSH(w, x, 1) ^ Jt.rotrSH(w, x, 8) ^ Jt.shrSH(w, x, 7), L = Jt.rotrSL(w, x, 1) ^ Jt.rotrSL(w, x, 8) ^ Jt.shrSL(w, x, 7), S = qc[v - 2] | 0, D = Uc[v - 2] | 0, j = Jt.rotrSH(S, D, 19) ^ Jt.rotrBH(S, D, 61) ^ Jt.shrSH(S, D, 6), R = Jt.rotrSL(S, D, 19) ^ Jt.rotrBL(S, D, 61) ^ Jt.shrSL(S, D, 6), H = Jt.add4L(L, R, Uc[v - 7], Uc[v - 16]), q = Jt.add4H(H, M, j, qc[v - 7], qc[v - 16]);
|
83303
|
+
qc[v] = q | 0, Uc[v] = H | 0;
|
83304
83304
|
}
|
83305
83305
|
let { Ah: r, Al: i, Bh: s, Bl: a, Ch: o, Cl: l, Dh: c, Dl: u, Eh: f, El: d, Fh: h, Fl: p, Gh: m, Gl: g, Hh: b, Hl: k } = this;
|
83306
83306
|
for (let v = 0; v < 80; v++) {
|
83307
|
-
const w = Jt.rotrSH(f, d, 14) ^ Jt.rotrSH(f, d, 18) ^ Jt.rotrBH(f, d, 41), x = Jt.rotrSL(f, d, 14) ^ Jt.rotrSL(f, d, 18) ^ Jt.rotrBL(f, d, 41), M = f & h ^ ~f & m, L = d & p ^ ~d & g, S = Jt.add5L(k, x, L, yQe[v], Uc[v]), D = Jt.add5H(S, b, w, M, mQe[v], qc[v]), j = S | 0, R = Jt.rotrSH(r, i, 28) ^ Jt.rotrBH(r, i, 34) ^ Jt.rotrBH(r, i, 39), H = Jt.rotrSL(r, i, 28) ^ Jt.rotrBL(r, i, 34) ^ Jt.rotrBL(r, i, 39),
|
83307
|
+
const w = Jt.rotrSH(f, d, 14) ^ Jt.rotrSH(f, d, 18) ^ Jt.rotrBH(f, d, 41), x = Jt.rotrSL(f, d, 14) ^ Jt.rotrSL(f, d, 18) ^ Jt.rotrBL(f, d, 41), M = f & h ^ ~f & m, L = d & p ^ ~d & g, S = Jt.add5L(k, x, L, yQe[v], Uc[v]), D = Jt.add5H(S, b, w, M, mQe[v], qc[v]), j = S | 0, R = Jt.rotrSH(r, i, 28) ^ Jt.rotrBH(r, i, 34) ^ Jt.rotrBH(r, i, 39), H = Jt.rotrSL(r, i, 28) ^ Jt.rotrBL(r, i, 34) ^ Jt.rotrBL(r, i, 39), q = r & s ^ r & o ^ s & o, Z = i & a ^ i & l ^ a & l;
|
83308
83308
|
b = m | 0, k = g | 0, m = h | 0, g = p | 0, h = f | 0, p = d | 0, { h: f, l: d } = Jt.add(c | 0, u | 0, D | 0, j | 0), c = o | 0, u = l | 0, o = s | 0, l = a | 0, s = r | 0, a = i | 0;
|
83309
|
-
const
|
83310
|
-
r = Jt.add3H(
|
83309
|
+
const U = Jt.add3L(j, H, Z);
|
83310
|
+
r = Jt.add3H(U, D, R, q), i = U | 0;
|
83311
83311
|
}
|
83312
83312
|
({ h: r, l: i } = Jt.add(this.Ah | 0, this.Al | 0, r | 0, i | 0)), { h: s, l: a } = Jt.add(this.Bh | 0, this.Bl | 0, s | 0, a | 0), { h: o, l } = Jt.add(this.Ch | 0, this.Cl | 0, o | 0, l | 0), { h: c, l: u } = Jt.add(this.Dh | 0, this.Dl | 0, c | 0, u | 0), { h: f, l: d } = Jt.add(this.Eh | 0, this.El | 0, f | 0, d | 0), { h, l: p } = Jt.add(this.Fh | 0, this.Fl | 0, h | 0, p | 0), { h: m, l: g } = Jt.add(this.Gh | 0, this.Gl | 0, m | 0, g | 0), { h: b, l: k } = Jt.add(this.Hh | 0, this.Hl | 0, b | 0, k | 0), this.set(r, i, s, a, o, l, c, u, f, d, h, p, m, g, b, k);
|
83313
83313
|
}
|
@@ -84158,10 +84158,10 @@ function nXe(t) {
|
|
84158
84158
|
const { px: g, py: b, pz: k } = this, { px: v, py: w, pz: x } = m;
|
84159
84159
|
let M = n.ZERO, L = n.ZERO, S = n.ZERO;
|
84160
84160
|
const D = e.a, j = n.mul(e.b, AO);
|
84161
|
-
let R = n.mul(g, v), H = n.mul(b, w),
|
84162
|
-
Z = n.mul(Z,
|
84161
|
+
let R = n.mul(g, v), H = n.mul(b, w), q = n.mul(k, x), Z = n.add(g, b), U = n.add(v, w);
|
84162
|
+
Z = n.mul(Z, U), U = n.add(R, H), Z = n.sub(Z, U), U = n.add(g, k);
|
84163
84163
|
let V = n.add(v, x);
|
84164
|
-
return
|
84164
|
+
return U = n.mul(U, V), V = n.add(R, q), U = n.sub(U, V), V = n.add(b, k), M = n.add(w, x), V = n.mul(V, M), M = n.add(H, q), V = n.sub(V, M), S = n.mul(D, U), M = n.mul(j, q), S = n.add(M, S), M = n.sub(H, S), S = n.add(H, S), L = n.mul(M, S), H = n.add(R, R), H = n.add(H, R), q = n.mul(D, q), U = n.mul(j, U), H = n.add(H, q), q = n.sub(R, q), q = n.mul(D, q), U = n.add(U, q), R = n.mul(H, U), L = n.add(L, R), R = n.mul(V, U), M = n.mul(Z, M), M = n.sub(M, R), R = n.mul(Z, H), S = n.mul(V, S), S = n.add(S, R), new f(M, L, S);
|
84165
84165
|
}
|
84166
84166
|
subtract(m) {
|
84167
84167
|
return this.add(m.negate());
|
@@ -84283,23 +84283,23 @@ function rXe(t) {
|
|
84283
84283
|
}
|
84284
84284
|
function iXe(t) {
|
84285
84285
|
const e = rXe(t), { Fp: n, n: r } = e, i = n.BYTES + 1, s = 2 * n.BYTES + 1;
|
84286
|
-
function a(
|
84287
|
-
return Kl <
|
84286
|
+
function a(U) {
|
84287
|
+
return Kl < U && U < n.ORDER;
|
84288
84288
|
}
|
84289
|
-
function o(
|
84290
|
-
return ns(
|
84289
|
+
function o(U) {
|
84290
|
+
return ns(U, r);
|
84291
84291
|
}
|
84292
|
-
function l(
|
84293
|
-
return JM(
|
84292
|
+
function l(U) {
|
84293
|
+
return JM(U, r);
|
84294
84294
|
}
|
84295
84295
|
const { ProjectivePoint: c, normPrivateKeyToScalar: u, weierstrassEquation: f, isWithinCurveOrder: d } = nXe({
|
84296
84296
|
...e,
|
84297
|
-
toBytes(
|
84297
|
+
toBytes(U, V, Y) {
|
84298
84298
|
const ae = V.toAffine(), G = n.toBytes(ae.x), ie = E4;
|
84299
84299
|
return Y ? ie(Uint8Array.from([V.hasEvenY() ? 2 : 3]), G) : ie(Uint8Array.from([4]), G, n.toBytes(ae.y));
|
84300
84300
|
},
|
84301
|
-
fromBytes(
|
84302
|
-
const V =
|
84301
|
+
fromBytes(U) {
|
84302
|
+
const V = U.length, Y = U[0], ae = U.subarray(1);
|
84303
84303
|
if (V === i && (Y === 2 || Y === 3)) {
|
84304
84304
|
const G = Y0(ae);
|
84305
84305
|
if (!a(G))
|
@@ -84314,15 +84314,15 @@ function iXe(t) {
|
|
84314
84314
|
} else
|
84315
84315
|
throw new Error(`Point of length ${V} was invalid. Expected ${i} compressed bytes or ${s} uncompressed bytes`);
|
84316
84316
|
}
|
84317
|
-
}), h = (
|
84318
|
-
function p(
|
84317
|
+
}), h = (U) => f2(h2(U, e.nByteLength));
|
84318
|
+
function p(U) {
|
84319
84319
|
const V = r >> fa;
|
84320
|
-
return
|
84320
|
+
return U > V;
|
84321
84321
|
}
|
84322
|
-
function m(
|
84323
|
-
return p(
|
84322
|
+
function m(U) {
|
84323
|
+
return p(U) ? o(-U) : U;
|
84324
84324
|
}
|
84325
|
-
const g = (
|
84325
|
+
const g = (U, V, Y) => Y0(U.slice(V, Y));
|
84326
84326
|
class b {
|
84327
84327
|
constructor(V, Y, ae) {
|
84328
84328
|
this.r = V, this.s = Y, this.recovery = ae, this.assertValidity();
|
@@ -84382,9 +84382,9 @@ function iXe(t) {
|
|
84382
84382
|
}
|
84383
84383
|
}
|
84384
84384
|
const k = {
|
84385
|
-
isValidPrivateKey(
|
84385
|
+
isValidPrivateKey(U) {
|
84386
84386
|
try {
|
84387
|
-
return u(
|
84387
|
+
return u(U), !0;
|
84388
84388
|
} catch {
|
84389
84389
|
return !1;
|
84390
84390
|
}
|
@@ -84395,8 +84395,8 @@ function iXe(t) {
|
|
84395
84395
|
* (groupLen + ceil(groupLen / 2)) with modulo bias being negligible.
|
84396
84396
|
*/
|
84397
84397
|
randomPrivateKey: () => {
|
84398
|
-
const
|
84399
|
-
return JQe(e.randomBytes(
|
84398
|
+
const U = w$(e.n);
|
84399
|
+
return JQe(e.randomBytes(U), e.n);
|
84400
84400
|
},
|
84401
84401
|
/**
|
84402
84402
|
* Creates precompute table for an arbitrary EC point. Makes point "cached".
|
@@ -84406,44 +84406,44 @@ function iXe(t) {
|
|
84406
84406
|
* const fast = utils.precompute(8, ProjectivePoint.fromHex(someonesPubKey));
|
84407
84407
|
* fast.multiply(privKey); // much faster ECDH now
|
84408
84408
|
*/
|
84409
|
-
precompute(
|
84410
|
-
return V._setWindowSize(
|
84409
|
+
precompute(U = 8, V = c.BASE) {
|
84410
|
+
return V._setWindowSize(U), V.multiply(BigInt(3)), V;
|
84411
84411
|
}
|
84412
84412
|
};
|
84413
|
-
function v(
|
84414
|
-
return c.fromPrivateKey(
|
84413
|
+
function v(U, V = !0) {
|
84414
|
+
return c.fromPrivateKey(U).toRawBytes(V);
|
84415
84415
|
}
|
84416
|
-
function w(
|
84417
|
-
const V =
|
84418
|
-
return V ? ae === i || ae === s : Y ? ae === 2 * i || ae === 2 * s :
|
84416
|
+
function w(U) {
|
84417
|
+
const V = U instanceof Uint8Array, Y = typeof U == "string", ae = (V || Y) && U.length;
|
84418
|
+
return V ? ae === i || ae === s : Y ? ae === 2 * i || ae === 2 * s : U instanceof c;
|
84419
84419
|
}
|
84420
|
-
function x(
|
84421
|
-
if (w(
|
84420
|
+
function x(U, V, Y = !0) {
|
84421
|
+
if (w(U))
|
84422
84422
|
throw new Error("first arg must be private key");
|
84423
84423
|
if (!w(V))
|
84424
84424
|
throw new Error("second arg must be public key");
|
84425
|
-
return c.fromHex(V).multiply(u(
|
84425
|
+
return c.fromHex(V).multiply(u(U)).toRawBytes(Y);
|
84426
84426
|
}
|
84427
|
-
const M = e.bits2int || function(
|
84428
|
-
const V = Y0(
|
84427
|
+
const M = e.bits2int || function(U) {
|
84428
|
+
const V = Y0(U), Y = U.length * 8 - e.nBitLength;
|
84429
84429
|
return Y > 0 ? V >> BigInt(Y) : V;
|
84430
|
-
}, L = e.bits2int_modN || function(
|
84431
|
-
return o(M(
|
84430
|
+
}, L = e.bits2int_modN || function(U) {
|
84431
|
+
return o(M(U));
|
84432
84432
|
}, S = WL(e.nBitLength);
|
84433
|
-
function D(
|
84434
|
-
if (typeof
|
84433
|
+
function D(U) {
|
84434
|
+
if (typeof U != "bigint")
|
84435
84435
|
throw new Error("bigint expected");
|
84436
|
-
if (!(Kl <=
|
84436
|
+
if (!(Kl <= U && U < S))
|
84437
84437
|
throw new Error(`bigint expected < 2^${e.nBitLength}`);
|
84438
|
-
return h2(
|
84438
|
+
return h2(U, e.nByteLength);
|
84439
84439
|
}
|
84440
|
-
function j(
|
84440
|
+
function j(U, V, Y = R) {
|
84441
84441
|
if (["recovered", "canonical"].some((Re) => Re in Y))
|
84442
84442
|
throw new Error("sign() legacy options not supported");
|
84443
84443
|
const { hash: ae, randomBytes: G } = e;
|
84444
84444
|
let { lowS: ie, prehash: de, extraEntropy: re } = Y;
|
84445
|
-
ie == null && (ie = !0),
|
84446
|
-
const pe = L(
|
84445
|
+
ie == null && (ie = !0), U = Ba("msgHash", U), de && (U = Ba("prehashed msgHash", ae(U)));
|
84446
|
+
const pe = L(U), oe = u(V), ge = [D(oe), D(pe)];
|
84447
84447
|
if (re != null) {
|
84448
84448
|
const Re = re === !0 ? G(n.BYTES) : re;
|
84449
84449
|
ge.push(Ba("extraEntropy", Re));
|
@@ -84465,14 +84465,14 @@ function iXe(t) {
|
|
84465
84465
|
return { seed: J, k2sig: ke };
|
84466
84466
|
}
|
84467
84467
|
const R = { lowS: e.lowS, prehash: !1 }, H = { lowS: e.lowS, prehash: !1 };
|
84468
|
-
function U
|
84469
|
-
const { seed: ae, k2sig: G } = j(
|
84468
|
+
function q(U, V, Y = R) {
|
84469
|
+
const { seed: ae, k2sig: G } = j(U, V, Y), ie = e;
|
84470
84470
|
return g$(ie.hash.outputLen, ie.nByteLength, ie.hmac)(ae, G);
|
84471
84471
|
}
|
84472
84472
|
c.BASE._setWindowSize(8);
|
84473
|
-
function Z(
|
84473
|
+
function Z(U, V, Y, ae = H) {
|
84474
84474
|
var Le;
|
84475
|
-
const G =
|
84475
|
+
const G = U;
|
84476
84476
|
if (V = Ba("msgHash", V), Y = Ba("publicKey", Y), "strict" in ae)
|
84477
84477
|
throw new Error("options.strict was renamed to lowS");
|
84478
84478
|
const { lowS: ie, prehash: de } = ae;
|
@@ -84507,7 +84507,7 @@ function iXe(t) {
|
|
84507
84507
|
CURVE: e,
|
84508
84508
|
getPublicKey: v,
|
84509
84509
|
getSharedSecret: x,
|
84510
|
-
sign:
|
84510
|
+
sign: q,
|
84511
84511
|
verify: Z,
|
84512
84512
|
ProjectivePoint: c,
|
84513
84513
|
Signature: b,
|
@@ -95865,7 +95865,7 @@ const Tee = async (t, e) => {
|
|
95865
95865
|
onComment: x,
|
95866
95866
|
setCommentDrawerOpen: M
|
95867
95867
|
}) => {
|
95868
|
-
const [L, S] = Oe(!0), [D, j] = Oe(""), [R, H] = Oe(""), [
|
95868
|
+
const [L, S] = Oe(!0), [D, j] = Oe(""), [R, H] = Oe(""), [q, Z] = Oe(null), U = Xe(null), V = Xe(null), [Y, ae] = Oe(""), [G, ie] = Oe(!1), de = Xe(null), re = Xe(null), pe = Xe(null), oe = e.isActive("comment"), ge = e.getAttributes("comment").resolved;
|
95869
95869
|
IL([de, re, pe], () => {
|
95870
95870
|
G && ie(!1);
|
95871
95871
|
});
|
@@ -96018,8 +96018,8 @@ const Tee = async (t, e) => {
|
|
96018
96018
|
toggleResolved: P,
|
96019
96019
|
setOpenReplyId: Z,
|
96020
96020
|
handleReplyKeyDown: W,
|
96021
|
-
openReplyId:
|
96022
|
-
commentsSectionRef:
|
96021
|
+
openReplyId: q,
|
96022
|
+
commentsSectionRef: U,
|
96023
96023
|
addComment: Re,
|
96024
96024
|
handleCommentSubmit: De,
|
96025
96025
|
comment: R,
|
@@ -96697,7 +96697,7 @@ const jee = (t) => t && (t.length > 20 ? t.slice(0, 5) + "..." + t.slice(t.lengt
|
|
96697
96697
|
/* @__PURE__ */ T.jsx(
|
96698
96698
|
I8,
|
96699
96699
|
{
|
96700
|
-
src: t.isEns ? oT :
|
96700
|
+
src: t.isEns ? oT : void 0,
|
96701
96701
|
size: "sm",
|
96702
96702
|
className: "min-w-6"
|
96703
96703
|
}
|
@@ -96759,7 +96759,9 @@ const jee = (t) => t && (t.length > 20 ? t.slice(0, 5) + "..." + t.slice(t.lengt
|
|
96759
96759
|
}
|
96760
96760
|
}, j = xt(() => {
|
96761
96761
|
if (!(i != null && i.length)) return null;
|
96762
|
-
let R = i
|
96762
|
+
let R = i.sort(
|
96763
|
+
(H, q) => new Date(H.createdAt || /* @__PURE__ */ new Date()).getTime() - new Date(q.createdAt || /* @__PURE__ */ new Date()).getTime()
|
96764
|
+
);
|
96763
96765
|
return !k && i.length > 3 && (R = i.slice(-2)), /* @__PURE__ */ T.jsxs("div", { className: "flex flex-col gap-3", children: [
|
96764
96766
|
i.length > 3 && !k && /* @__PURE__ */ T.jsxs(
|
96765
96767
|
"button",
|
@@ -96967,15 +96969,15 @@ const jee = (t) => t && (t.length > 20 ? t.slice(0, 5) + "..." + t.slice(t.lengt
|
|
96967
96969
|
unresolveComment: j,
|
96968
96970
|
deleteComment: R,
|
96969
96971
|
isDDocOwner: H,
|
96970
|
-
onComment:
|
96972
|
+
onComment: q
|
96971
96973
|
} = Rf(), Z = (oe) => {
|
96972
96974
|
const ge = oe.target.value;
|
96973
96975
|
o(ge), ge || (oe.target.style.height = "40px");
|
96974
|
-
},
|
96976
|
+
}, U = (oe) => {
|
96975
96977
|
const ge = oe.target.value;
|
96976
96978
|
c(ge);
|
96977
96979
|
}, V = () => {
|
96978
|
-
a.trim() && (m(a), h(!0),
|
96980
|
+
a.trim() && (m(a), h(!0), q == null || q());
|
96979
96981
|
}, Y = () => {
|
96980
96982
|
const oe = {
|
96981
96983
|
id: `reply-${Sm()}`,
|
@@ -97118,7 +97120,7 @@ const jee = (t) => t && (t.length > 20 ? t.slice(0, 5) + "..." + t.slice(t.lengt
|
|
97118
97120
|
Qh,
|
97119
97121
|
{
|
97120
97122
|
value: l,
|
97121
|
-
onChange:
|
97123
|
+
onChange: U,
|
97122
97124
|
onKeyDown: ae,
|
97123
97125
|
className: "bg-white text-body-sm color-text-default min-h-[40px] max-h-[96px] overflow-y-auto no-scrollbar px-3 py-2 whitespace-pre-wrap",
|
97124
97126
|
placeholder: i ? "Available in a moment" : "Reply",
|
@@ -97224,7 +97226,7 @@ K5.exports;
|
|
97224
97226
|
j && (D = S, S = null);
|
97225
97227
|
var R = D.navigator || {}, H = R.userAgent || "";
|
97226
97228
|
S || (S = H);
|
97227
|
-
var
|
97229
|
+
var q = j ? !!R.likeChrome : /\bChrome\b/.test(S) && !/internal|\n/i.test(f.toString()), Z = "Object", U = j ? Z : "ScriptBridgingProxyObject", V = j ? Z : "Environment", Y = j && D.java ? "JavaPackage" : b(D.java), ae = j ? Z : "RuntimeObject", G = /\bJava/.test(Y) && D.java, ie = G && b(D.environment) == V, de = G ? "a" : "α", re = G ? "b" : "β", pe = D.document || {}, oe = D.operamini || D.opera, ge = l.test(ge = j && oe ? oe["[[Class]]"] : b(oe)) ? ge : oe = null, J, be = S, ke = [], Re = null, Pe = S == H, Ae = Pe && oe && typeof oe.version == "function" && oe.version(), Le, Te = De([
|
97228
97230
|
{ label: "EdgeHTML", pattern: "Edge" },
|
97229
97231
|
"Trident",
|
97230
97232
|
{ label: "WebKit", pattern: "AppleWebKit" },
|
@@ -97422,7 +97424,7 @@ K5.exports;
|
|
97422
97424
|
}
|
97423
97425
|
ce || (ce = "Rhino");
|
97424
97426
|
} else typeof D.process == "object" && !D.process.browser && (J = D.process) && (typeof J.versions == "object" && (typeof J.versions.electron == "string" ? (ke.push("Node " + J.versions.node), ce = "Electron", Ae = J.versions.electron) : typeof J.versions.nw == "string" && (ke.push("Chromium " + Ae, "Node " + J.versions.node), ce = "NW.js", Ae = J.versions.nw)), ce || (ce = "Node.js", be = J.arch, ee = J.platform, Ae = /[\d.]+/.exec(J.version), Ae = Ae ? Ae[0] : null));
|
97425
|
-
else b(J = D.runtime) ==
|
97427
|
+
else b(J = D.runtime) == U ? (ce = "Adobe AIR", ee = J.flash.system.Capabilities.os) : b(J = D.phantom) == ae ? (ce = "PhantomJS", Ae = (J = J.version || null) && J.major + "." + J.minor + "." + J.patch) : typeof pe.documentMode == "number" && (J = /\bTrident\/(\d+)/i.exec(S)) ? (Ae = [Ae, pe.documentMode], (J = +J[1] + 4) != Ae[1] && (ke.push("IE " + Ae[1] + " mode"), Te && (Te[1] = ""), Ae[1] = J), Ae = ce == "IE" ? String(Ae[1].toFixed(1)) : Ae[0]) : typeof pe.documentMode == "number" && /^(?:Chrome|Firefox)\b/.test(ce) && (ke.push("masking as " + ce + " " + Ae), ce = "IE", Ae = "11.0", Te = ["Trident"], ee = "Windows");
|
97426
97428
|
ee = ee && m(ee);
|
97427
97429
|
}
|
97428
97430
|
if (Ae && (J = /(?:[ab]|dp|pre|[ab]\d+pre)(?:\d+\+?)?$/i.exec(Ae) || /(?:alpha|beta)(?: ?\d)?/i.exec(S + ";" + (Pe && R.appMinorVersion)) || /\bMinefield\b/i.test(S) && "a") && (Re = /b/i.test(J) ? "beta" : "alpha", Ae = Ae.replace(RegExp(J + "\\+?$"), "") + (Re == "beta" ? re : de) + (/\d+\+?/.exec(J) || "")), ce == "Fennec" || ce == "Firefox" && /\b(?:Android|Firefox OS|KaiOS)\b/.test(ee))
|
@@ -97440,7 +97442,7 @@ K5.exports;
|
|
97440
97442
|
ke.unshift("embedded");
|
97441
97443
|
}
|
97442
97444
|
else (/\bBlackBerry\b/.test(X) || /\bBB10\b/.test(S)) && (J = (RegExp(X.replace(/ +/g, " *") + "/([.\\d]+)", "i").exec(S) || 0)[1] || Ae) ? (J = [J, /BB10/.test(S)], ee = (J[1] ? (X = null, Q = "BlackBerry") : "Device Software") + " " + J[0], Ae = null) : this != g && X != "Wii" && (Pe && oe || /Opera/.test(ce) && /\b(?:MSIE|Firefox)\b/i.test(S) || ce == "Firefox" && /\bOS X (?:\d+\.){2,}/.test(ee) || ce == "IE" && (ee && !/^Win/.test(ee) && Ae > 5.5 || /\bWindows XP\b/.test(ee) && Ae > 8 || Ae == 8 && !/\bTrident\b/.test(S))) && !l.test(J = M.call(g, S.replace(l, "") + ";")) && J.name && (J = "ing as " + J.name + ((J = J.version) ? " " + J : ""), l.test(ce) ? (/\bIE\b/.test(J) && ee == "Mac OS" && (ee = null), J = "identify" + J) : (J = "mask" + J, ge ? ce = m(ge.replace(/([a-z])([A-Z])/g, "$1 $2")) : ce = "Opera", /\bIE\b/.test(J) && (ee = null), Pe || (Ae = null)), Te = ["Presto"], ke.push(J));
|
97443
|
-
(J = (/\bAppleWebKit\/([\d.]+\+?)/i.exec(S) || 0)[1]) && (J = [parseFloat(J.replace(/\.(\d)$/, ".0$1")), J], ce == "Safari" && J[1].slice(-1) == "+" ? (ce = "WebKit Nightly", Re = "alpha", Ae = J[1].slice(0, -1)) : (Ae == J[1] || Ae == (J[2] = (/\bSafari\/([\d.]+\+?)/i.exec(S) || 0)[1])) && (Ae = null), J[1] = (/\b(?:Headless)?Chrome\/([\d.]+)/i.exec(S) || 0)[1], J[0] == 537.36 && J[2] == 537.36 && parseFloat(J[1]) >= 28 && Te == "WebKit" && (Te = ["Blink"]), !Pe || !
|
97445
|
+
(J = (/\bAppleWebKit\/([\d.]+\+?)/i.exec(S) || 0)[1]) && (J = [parseFloat(J.replace(/\.(\d)$/, ".0$1")), J], ce == "Safari" && J[1].slice(-1) == "+" ? (ce = "WebKit Nightly", Re = "alpha", Ae = J[1].slice(0, -1)) : (Ae == J[1] || Ae == (J[2] = (/\bSafari\/([\d.]+\+?)/i.exec(S) || 0)[1])) && (Ae = null), J[1] = (/\b(?:Headless)?Chrome\/([\d.]+)/i.exec(S) || 0)[1], J[0] == 537.36 && J[2] == 537.36 && parseFloat(J[1]) >= 28 && Te == "WebKit" && (Te = ["Blink"]), !Pe || !q && !J[1] ? (Te && (Te[1] = "like Safari"), J = (J = J[0], J < 400 ? 1 : J < 500 ? 2 : J < 526 ? 3 : J < 533 ? 4 : J < 534 ? "4+" : J < 535 ? 5 : J < 537 ? 6 : J < 538 ? 7 : J < 601 ? 8 : J < 602 ? 9 : J < 604 ? 10 : J < 606 ? 11 : J < 608 ? 12 : "12")) : (Te && (Te[1] = "like Chrome"), J = J[1] || (J = J[0], J < 530 ? 1 : J < 532 ? 2 : J < 532.05 ? 3 : J < 533 ? 4 : J < 534.03 ? 5 : J < 534.07 ? 6 : J < 534.1 ? 7 : J < 534.13 ? 8 : J < 534.16 ? 9 : J < 534.24 ? 10 : J < 534.3 ? 11 : J < 535.01 ? 12 : J < 535.02 ? "13+" : J < 535.07 ? 15 : J < 535.11 ? 16 : J < 535.19 ? 17 : J < 536.05 ? 18 : J < 536.1 ? 19 : J < 537.01 ? 20 : J < 537.11 ? "21+" : J < 537.13 ? 23 : J < 537.18 ? 24 : J < 537.24 ? 25 : J < 537.36 ? 26 : Te != "Blink" ? "27" : "28")), Te && (Te[1] += " " + (J += typeof J == "number" ? ".x" : /[.+]/.test(J) ? "" : "+")), ce == "Safari" && (!Ae || parseInt(Ae) > 45) ? Ae = J : ce == "Chrome" && /\bHeadlessChrome/i.test(S) && ke.unshift("headless")), ce == "Opera" && (J = /\bzbov|zvav$/.exec(ee)) ? (ce += " ", ke.unshift("desktop mode"), J == "zvav" ? (ce += "Mini", Ae = null) : ce += "Mobile", ee = ee.replace(RegExp(" *" + J + "$"), "")) : ce == "Safari" && /\bChrome\b/.exec(Te && Te[1]) ? (ke.unshift("desktop mode"), ce = "Chrome Mobile", Ae = null, /\bOS X\b/.test(ee) ? (Q = "Apple", ee = "iOS 4.3+") : ee = null) : /\bSRWare Iron\b/.test(ce) && !Ae && (Ae = te("Chrome")), Ae && Ae.indexOf(J = /[\d.]+$/.exec(ee)) == 0 && S.indexOf("/" + J + "-") > -1 && (ee = x(ee.replace(J, ""))), ee && ee.indexOf(ce) != -1 && !RegExp(ce + " OS").test(ee) && (ee = ee.replace(RegExp(" *" + v(ce) + " *"), "")), Te && !/\b(?:Avant|Nook)\b/.test(ce) && (/Browser|Lunascape|Maxthon/.test(ce) || ce != "Safari" && /^iOS/.test(ee) && /\bSafari\b/.test(Te[1]) || /^(?:Adobe|Arora|Breach|Midori|Opera|Phantom|Rekonq|Rock|Samsung Internet|Sleipnir|SRWare Iron|Vivaldi|Web)/.test(ce) && Te[1]) && (J = Te[Te.length - 1]) && ke.push(J), ke.length && (ke = ["(" + ke.join("; ") + ")"]), Q && X && X.indexOf(Q) < 0 && ke.push("on " + Q), X && ke.push((/^on /.test(ke[ke.length - 1]) ? "" : "on ") + X), ee && (J = / ([\d.+]+)$/.exec(ee), Le = J && ee.charAt(ee.length - J[0].length - 1) == "/", ee = {
|
97444
97446
|
architecture: 32,
|
97445
97447
|
family: J && !Le ? ee.replace(J[0], "") : ee,
|
97446
97448
|
version: J ? J[1] : null,
|
@@ -97640,7 +97642,7 @@ const Ree = /* @__PURE__ */ z2(Cnt), b3 = () => {
|
|
97640
97642
|
},
|
97641
97643
|
icon: "MessageSquarePlus"
|
97642
97644
|
}
|
97643
|
-
],
|
97645
|
+
], q = () => {
|
97644
97646
|
if (!(c || l)) {
|
97645
97647
|
s(!0);
|
97646
97648
|
return;
|
@@ -97704,7 +97706,7 @@ const Ree = /* @__PURE__ */ z2(Cnt), b3 = () => {
|
|
97704
97706
|
default:
|
97705
97707
|
return null;
|
97706
97708
|
}
|
97707
|
-
},
|
97709
|
+
}, U = /* @__PURE__ */ T.jsxs(Me.Fragment, { children: [
|
97708
97710
|
/* @__PURE__ */ T.jsx(
|
97709
97711
|
Hr,
|
97710
97712
|
{
|
@@ -97756,7 +97758,7 @@ const Ree = /* @__PURE__ */ z2(Cnt), b3 = () => {
|
|
97756
97758
|
"relative",
|
97757
97759
|
h ? "left-1/2 translate-x-1/2" : ""
|
97758
97760
|
),
|
97759
|
-
children:
|
97761
|
+
children: U
|
97760
97762
|
}
|
97761
97763
|
) : /* @__PURE__ */ T.jsx(Me.Fragment, { children: i ? /* @__PURE__ */ T.jsx(
|
97762
97764
|
rs,
|
@@ -97875,7 +97877,7 @@ const Ree = /* @__PURE__ */ z2(Cnt), b3 = () => {
|
|
97875
97877
|
icon: V.icon,
|
97876
97878
|
variant: "ghost",
|
97877
97879
|
size: "sm",
|
97878
|
-
onClick: () => V.name === "InlineComment" ?
|
97880
|
+
onClick: () => V.name === "InlineComment" ? q() : null
|
97879
97881
|
}
|
97880
97882
|
),
|
97881
97883
|
content: Z(V)
|
@@ -98256,7 +98258,7 @@ const Vee = {
|
|
98256
98258
|
onMarkdownExport: o,
|
98257
98259
|
onMarkdownImport: l
|
98258
98260
|
}) => {
|
98259
|
-
var R, H,
|
98261
|
+
var R, H, q, Z, U;
|
98260
98262
|
const {
|
98261
98263
|
toolRef: c,
|
98262
98264
|
setToolVisibility: u,
|
@@ -98447,7 +98449,7 @@ const Vee = {
|
|
98447
98449
|
S((V) => !V), k(!1);
|
98448
98450
|
},
|
98449
98451
|
children: [
|
98450
|
-
/* @__PURE__ */ T.jsx("span", { className: "text-body-sm line-clamp-1 w-fit", children: ((
|
98452
|
+
/* @__PURE__ */ T.jsx("span", { className: "text-body-sm line-clamp-1 w-fit", children: ((q = M.find((V) => V.value === n)) == null ? void 0 : q.title) || "100%" }),
|
98451
98453
|
/* @__PURE__ */ T.jsx(Ye, { name: "ChevronDown", size: "sm" })
|
98452
98454
|
]
|
98453
98455
|
}
|
@@ -98485,9 +98487,9 @@ const Vee = {
|
|
98485
98487
|
(V) => t == null ? void 0 : t.isActive("textStyle", { fontFamily: V.value })
|
98486
98488
|
)) == null ? void 0 : Z.value
|
98487
98489
|
},
|
98488
|
-
children: ((
|
98490
|
+
children: ((U = VM.find(
|
98489
98491
|
(V) => t == null ? void 0 : t.isActive("textStyle", { fontFamily: V.value })
|
98490
|
-
)) == null ? void 0 :
|
98492
|
+
)) == null ? void 0 : U.title) || "Font"
|
98491
98493
|
}
|
98492
98494
|
),
|
98493
98495
|
/* @__PURE__ */ T.jsx(Ye, { name: "ChevronDown", size: "sm", className: "min-w-fit" })
|
@@ -104998,13 +105000,13 @@ var ene = { exports: {} };
|
|
104998
105000
|
function H(C, P, B, te) {
|
104999
105001
|
return ce(Ae(P), C, B, te);
|
105000
105002
|
}
|
105001
|
-
function
|
105003
|
+
function q(C, P, B, te) {
|
105002
105004
|
return H(C, P, B, te);
|
105003
105005
|
}
|
105004
105006
|
function Z(C, P, B, te) {
|
105005
105007
|
return ce(Te(P), C, B, te);
|
105006
105008
|
}
|
105007
|
-
function
|
105009
|
+
function U(C, P, B, te) {
|
105008
105010
|
return ce(Le(P, C.length - B), C, B, te);
|
105009
105011
|
}
|
105010
105012
|
function V(C, P, B) {
|
@@ -105258,14 +105260,14 @@ var ene = { exports: {} };
|
|
105258
105260
|
return H(this, C, P, B);
|
105259
105261
|
case "latin1":
|
105260
105262
|
case "binary":
|
105261
|
-
return
|
105263
|
+
return q(this, C, P, B);
|
105262
105264
|
case "base64":
|
105263
105265
|
return Z(this, C, P, B);
|
105264
105266
|
case "ucs2":
|
105265
105267
|
case "ucs-2":
|
105266
105268
|
case "utf16le":
|
105267
105269
|
case "utf-16le":
|
105268
|
-
return
|
105270
|
+
return U(this, C, P, B);
|
105269
105271
|
default:
|
105270
105272
|
if (me) throw new TypeError("Unknown encoding: " + te);
|
105271
105273
|
te = ("" + te).toLowerCase(), me = !0;
|
@@ -105556,10 +105558,10 @@ var ene = { exports: {} };
|
|
105556
105558
|
function u(j) {
|
105557
105559
|
return j._maxListeners === void 0 ? l.defaultMaxListeners : j._maxListeners;
|
105558
105560
|
}
|
105559
|
-
function f(j, R, H,
|
105560
|
-
var Z,
|
105561
|
-
if (c(H),
|
105562
|
-
else if (typeof V == "function" ? V =
|
105561
|
+
function f(j, R, H, q) {
|
105562
|
+
var Z, U, V;
|
105563
|
+
if (c(H), U = j._events, U === void 0 ? (U = j._events = /* @__PURE__ */ Object.create(null), j._eventsCount = 0) : (U.newListener !== void 0 && (j.emit("newListener", R, H.listener ? H.listener : H), U = j._events), V = U[R]), V === void 0) V = U[R] = H, ++j._eventsCount;
|
105564
|
+
else if (typeof V == "function" ? V = U[R] = q ? [H, V] : [V, H] : q ? V.unshift(H) : V.push(H), Z = u(j), 0 < Z && V.length > Z && !V.warned) {
|
105563
105565
|
V.warned = !0;
|
105564
105566
|
var Y = new Error("Possible EventEmitter memory leak detected. " + V.length + " " + (R + " listeners added. Use emitter.setMaxListeners() to increase limit"));
|
105565
105567
|
Y.name = "MaxListenersExceededWarning", Y.emitter = j, Y.type = R, Y.count = V.length, o(Y);
|
@@ -105570,13 +105572,13 @@ var ene = { exports: {} };
|
|
105570
105572
|
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);
|
105571
105573
|
}
|
105572
105574
|
function h(j, R, H) {
|
105573
|
-
var
|
105574
|
-
return Z.listener = H,
|
105575
|
+
var q = { fired: !1, wrapFn: void 0, target: j, type: R, listener: H }, Z = d.bind(q);
|
105576
|
+
return Z.listener = H, q.wrapFn = Z, Z;
|
105575
105577
|
}
|
105576
105578
|
function p(j, R, H) {
|
105577
|
-
var
|
105578
|
-
if (
|
105579
|
-
var Z =
|
105579
|
+
var q = j._events;
|
105580
|
+
if (q === void 0) return [];
|
105581
|
+
var Z = q[R];
|
105580
105582
|
return Z === void 0 ? [] : typeof Z == "function" ? H ? [Z.listener || Z] : [Z] : H ? k(Z) : g(Z, Z.length);
|
105581
105583
|
}
|
105582
105584
|
function m(j) {
|
@@ -105589,7 +105591,7 @@ var ene = { exports: {} };
|
|
105589
105591
|
return 0;
|
105590
105592
|
}
|
105591
105593
|
function g(j, R) {
|
105592
|
-
for (var H = Array(R),
|
105594
|
+
for (var H = Array(R), q = 0; q < R; ++q) H[q] = j[q];
|
105593
105595
|
return H;
|
105594
105596
|
}
|
105595
105597
|
function b(j, R) {
|
@@ -105603,10 +105605,10 @@ var ene = { exports: {} };
|
|
105603
105605
|
function v(j, R, H) {
|
105604
105606
|
typeof j.on == "function" && w(j, "error", R, H);
|
105605
105607
|
}
|
105606
|
-
function w(j, R, H,
|
105607
|
-
if (typeof j.on == "function")
|
105608
|
-
else if (typeof j.addEventListener == "function") j.addEventListener(R, function Z(
|
105609
|
-
|
105608
|
+
function w(j, R, H, q) {
|
105609
|
+
if (typeof j.on == "function") q.once ? j.once(R, H) : j.on(R, H);
|
105610
|
+
else if (typeof j.addEventListener == "function") j.addEventListener(R, function Z(U) {
|
105611
|
+
q.once && j.removeEventListener(R, Z), H(U);
|
105610
105612
|
});
|
105611
105613
|
else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type ' + typeof j);
|
105612
105614
|
}
|
@@ -105622,14 +105624,14 @@ var ene = { exports: {} };
|
|
105622
105624
|
return j !== j;
|
105623
105625
|
};
|
105624
105626
|
a.exports = l, a.exports.once = function(j, R) {
|
105625
|
-
return new Promise(function(H,
|
105627
|
+
return new Promise(function(H, q) {
|
105626
105628
|
function Z(V) {
|
105627
|
-
j.removeListener(R,
|
105629
|
+
j.removeListener(R, U), q(V);
|
105628
105630
|
}
|
105629
|
-
function
|
105631
|
+
function U() {
|
105630
105632
|
typeof j.removeListener == "function" && j.removeListener("error", Z), H([].slice.call(arguments));
|
105631
105633
|
}
|
105632
|
-
w(j, R,
|
105634
|
+
w(j, R, U, { once: !0 }), R !== "error" && v(j, Z, { once: !0 });
|
105633
105635
|
});
|
105634
105636
|
}, l.EventEmitter = l, l.prototype._events = void 0, l.prototype._eventsCount = 0, l.prototype._maxListeners = void 0;
|
105635
105637
|
var D = 10;
|
@@ -105647,14 +105649,14 @@ var ene = { exports: {} };
|
|
105647
105649
|
return u(this);
|
105648
105650
|
}, l.prototype.emit = function(j) {
|
105649
105651
|
for (var R = [], H = 1; H < arguments.length; H++) R.push(arguments[H]);
|
105650
|
-
var
|
105651
|
-
if (Z !== void 0)
|
105652
|
-
else if (!
|
105653
|
-
if (
|
105654
|
-
var
|
105655
|
-
if (0 < R.length && (
|
105656
|
-
var V = new Error("Unhandled error." + (
|
105657
|
-
throw V.context =
|
105652
|
+
var q = j === "error", Z = this._events;
|
105653
|
+
if (Z !== void 0) q = q && Z.error === void 0;
|
105654
|
+
else if (!q) return !1;
|
105655
|
+
if (q) {
|
105656
|
+
var U;
|
105657
|
+
if (0 < R.length && (U = R[0]), U instanceof Error) throw U;
|
105658
|
+
var V = new Error("Unhandled error." + (U ? " (" + U.message + ")" : ""));
|
105659
|
+
throw V.context = U, V;
|
105658
105660
|
}
|
105659
105661
|
var Y = Z[j];
|
105660
105662
|
if (Y === void 0) return !1;
|
@@ -105670,30 +105672,30 @@ var ene = { exports: {} };
|
|
105670
105672
|
}, l.prototype.prependOnceListener = function(j, R) {
|
105671
105673
|
return c(R), this.prependListener(j, h(this, j, R)), this;
|
105672
105674
|
}, l.prototype.removeListener = function(j, R) {
|
105673
|
-
var H,
|
105674
|
-
if (c(R),
|
105675
|
-
if (H =
|
105676
|
-
if (H === R || H.listener === R) --this._eventsCount == 0 ? this._events = /* @__PURE__ */ Object.create(null) : (delete
|
105675
|
+
var H, q, Z, U, V;
|
105676
|
+
if (c(R), q = this._events, q === void 0) return this;
|
105677
|
+
if (H = q[j], H === void 0) return this;
|
105678
|
+
if (H === R || H.listener === R) --this._eventsCount == 0 ? this._events = /* @__PURE__ */ Object.create(null) : (delete q[j], q.removeListener && this.emit("removeListener", j, H.listener || R));
|
105677
105679
|
else if (typeof H != "function") {
|
105678
|
-
for (Z = -1,
|
105679
|
-
V = H[
|
105680
|
+
for (Z = -1, U = H.length - 1; 0 <= U; U--) if (H[U] === R || H[U].listener === R) {
|
105681
|
+
V = H[U].listener, Z = U;
|
105680
105682
|
break;
|
105681
105683
|
}
|
105682
105684
|
if (0 > Z) return this;
|
105683
|
-
Z === 0 ? H.shift() : b(H, Z), H.length === 1 && (
|
105685
|
+
Z === 0 ? H.shift() : b(H, Z), H.length === 1 && (q[j] = H[0]), q.removeListener !== void 0 && this.emit("removeListener", j, V || R);
|
105684
105686
|
}
|
105685
105687
|
return this;
|
105686
105688
|
}, l.prototype.off = l.prototype.removeListener, l.prototype.removeAllListeners = function(j) {
|
105687
|
-
var R, H,
|
105689
|
+
var R, H, q;
|
105688
105690
|
if (H = this._events, H === void 0) return this;
|
105689
105691
|
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;
|
105690
105692
|
if (arguments.length === 0) {
|
105691
|
-
var Z,
|
105692
|
-
for (
|
105693
|
+
var Z, U = Object.keys(H);
|
105694
|
+
for (q = 0; q < U.length; ++q) Z = U[q], Z !== "removeListener" && this.removeAllListeners(Z);
|
105693
105695
|
return this.removeAllListeners("removeListener"), this._events = /* @__PURE__ */ Object.create(null), this._eventsCount = 0, this;
|
105694
105696
|
}
|
105695
105697
|
if (R = H[j], typeof R == "function") this.removeListener(j, R);
|
105696
|
-
else if (R !== void 0) for (
|
105698
|
+
else if (R !== void 0) for (q = R.length - 1; 0 <= q; q--) this.removeListener(j, R[q]);
|
105697
105699
|
return this;
|
105698
105700
|
}, l.prototype.listeners = function(j) {
|
105699
105701
|
return p(this, j, !0);
|
@@ -106042,7 +106044,7 @@ Use Chrome, Firefox or Internet Explorer 11`);
|
|
106042
106044
|
}
|
106043
106045
|
function x(W) {
|
106044
106046
|
var C = W._readableState;
|
106045
|
-
G("emitReadable_", C.destroyed, C.length, C.ended), !C.destroyed && (C.length || C.ended) && (W.emit("readable"), C.emittedReadable = !1), C.needReadable = !C.flowing && !C.ended && C.length <= C.highWaterMark,
|
106047
|
+
G("emitReadable_", C.destroyed, C.length, C.ended), !C.destroyed && (C.length || C.ended) && (W.emit("readable"), C.emittedReadable = !1), C.needReadable = !C.flowing && !C.ended && C.length <= C.highWaterMark, q(W);
|
106046
106048
|
}
|
106047
106049
|
function M(W, C) {
|
106048
106050
|
C.readingMore || (C.readingMore = !0, o.nextTick(L, W, C));
|
@@ -106057,7 +106059,7 @@ Use Chrome, Firefox or Internet Explorer 11`);
|
|
106057
106059
|
function S(W) {
|
106058
106060
|
return function() {
|
106059
106061
|
var C = W._readableState;
|
106060
|
-
G("pipeOnDrain", C.awaitDrain), C.awaitDrain && C.awaitDrain--, C.awaitDrain === 0 && ie(W, "data") && (C.flowing = !0,
|
106062
|
+
G("pipeOnDrain", C.awaitDrain), C.awaitDrain && C.awaitDrain--, C.awaitDrain === 0 && ie(W, "data") && (C.flowing = !0, q(W));
|
106061
106063
|
};
|
106062
106064
|
}
|
106063
106065
|
function D(W) {
|
@@ -106071,9 +106073,9 @@ Use Chrome, Firefox or Internet Explorer 11`);
|
|
106071
106073
|
C.resumeScheduled || (C.resumeScheduled = !0, o.nextTick(H, W, C));
|
106072
106074
|
}
|
106073
106075
|
function H(W, C) {
|
106074
|
-
G("resume", C.reading), C.reading || W.read(0), C.resumeScheduled = !1, W.emit("resume"),
|
106076
|
+
G("resume", C.reading), C.reading || W.read(0), C.resumeScheduled = !1, W.emit("resume"), q(W), C.flowing && !C.reading && W.read(0);
|
106075
106077
|
}
|
106076
|
-
function
|
106078
|
+
function q(W) {
|
106077
106079
|
var C = W._readableState;
|
106078
106080
|
for (G("flow", C.flowing); C.flowing && W.read() !== null; ) ;
|
106079
106081
|
}
|
@@ -106082,7 +106084,7 @@ Use Chrome, Firefox or Internet Explorer 11`);
|
|
106082
106084
|
var P;
|
106083
106085
|
return C.objectMode ? P = C.buffer.shift() : !W || W >= C.length ? (P = C.decoder ? C.buffer.join("") : C.buffer.length === 1 ? C.buffer.first() : C.buffer.concat(C.length), C.buffer.clear()) : P = C.buffer.consume(W, C.decoder), P;
|
106084
106086
|
}
|
106085
|
-
function
|
106087
|
+
function U(W) {
|
106086
106088
|
var C = W._readableState;
|
106087
106089
|
G("endReadable", C.endEmitted), C.endEmitted || (C.ended = !0, o.nextTick(V, C, W));
|
106088
106090
|
}
|
@@ -106132,12 +106134,12 @@ Use Chrome, Firefox or Internet Explorer 11`);
|
|
106132
106134
|
}, h.prototype.read = function(W) {
|
106133
106135
|
G("read", W), W = parseInt(W, 10);
|
106134
106136
|
var C = this._readableState, P = W;
|
106135
|
-
if (W !== 0 && (C.emittedReadable = !1), W === 0 && C.needReadable && ((C.highWaterMark === 0 ? 0 < C.length : C.length >= C.highWaterMark) || C.ended)) return G("read: emitReadable", C.length, C.ended), C.length === 0 && C.ended ?
|
106136
|
-
if (W = k(W, C), W === 0 && C.ended) return C.length === 0 &&
|
106137
|
+
if (W !== 0 && (C.emittedReadable = !1), W === 0 && C.needReadable && ((C.highWaterMark === 0 ? 0 < C.length : C.length >= C.highWaterMark) || C.ended)) return G("read: emitReadable", C.length, C.ended), C.length === 0 && C.ended ? U(this) : w(this), null;
|
106138
|
+
if (W = k(W, C), W === 0 && C.ended) return C.length === 0 && U(this), null;
|
106137
106139
|
var B = C.needReadable;
|
106138
106140
|
G("need readable", B), (C.length === 0 || C.length - W < C.highWaterMark) && (B = !0, G("length less than watermark", B)), C.ended || C.reading ? (B = !1, G("reading or ended", B)) : B && (G("do read"), C.reading = !0, C.sync = !0, C.length === 0 && (C.needReadable = !0), this._read(C.highWaterMark), C.sync = !1, !C.reading && (W = k(P, C)));
|
106139
106141
|
var te;
|
106140
|
-
return te = 0 < W ? Z(W, C) : null, te === null ? (C.needReadable = C.length <= C.highWaterMark, W = 0) : (C.length -= W, C.awaitDrain = 0), C.length === 0 && (!C.ended && (C.needReadable = !0), P !== W && C.ended &&
|
106142
|
+
return te = 0 < W ? Z(W, C) : null, te === null ? (C.needReadable = C.length <= C.highWaterMark, W = 0) : (C.length -= W, C.awaitDrain = 0), C.length === 0 && (!C.ended && (C.needReadable = !0), P !== W && C.ended && U(this)), te !== null && this.emit("data", te), te;
|
106141
106143
|
}, h.prototype._read = function() {
|
106142
106144
|
ee(this, new X("_read()"));
|
106143
106145
|
}, h.prototype.pipe = function(W, C) {
|
@@ -106301,7 +106303,7 @@ Use Chrome, Firefox or Internet Explorer 11`);
|
|
106301
106303
|
function c(X) {
|
106302
106304
|
var Q = this;
|
106303
106305
|
this.next = null, this.entry = null, this.finish = function() {
|
106304
|
-
|
106306
|
+
U(Q, X);
|
106305
106307
|
};
|
106306
106308
|
}
|
106307
106309
|
function u(X) {
|
@@ -106353,7 +106355,7 @@ Use Chrome, Firefox or Internet Explorer 11`);
|
|
106353
106355
|
Q.writelen = De, Q.writecb = P, Q.writing = !0, Q.sync = !0, Q.destroyed ? Q.onwrite(new Re("write")) : ee ? X._writev(W, Q.onwrite) : X._write(W, C, Q.onwrite), Q.sync = !1;
|
106354
106356
|
}
|
106355
106357
|
function w(X, Q, ee, De, W) {
|
106356
|
-
--Q.pendingcb, ee ? (o.nextTick(W, De), o.nextTick(
|
106358
|
+
--Q.pendingcb, ee ? (o.nextTick(W, De), o.nextTick(q, X, Q), X._writableState.errorEmitted = !0, Te(X, De)) : (W(De), X._writableState.errorEmitted = !0, Te(X, De), q(X, Q));
|
106357
106359
|
}
|
106358
106360
|
function x(X) {
|
106359
106361
|
X.writing = !1, X.writecb = null, X.length -= X.writelen, X.writelen = 0;
|
@@ -106368,7 +106370,7 @@ Use Chrome, Firefox or Internet Explorer 11`);
|
|
106368
106370
|
}
|
106369
106371
|
}
|
106370
106372
|
function L(X, Q, ee, De) {
|
106371
|
-
ee || S(X, Q), Q.pendingcb--, De(),
|
106373
|
+
ee || S(X, Q), Q.pendingcb--, De(), q(X, Q);
|
106372
106374
|
}
|
106373
106375
|
function S(X, Q) {
|
106374
106376
|
Q.length === 0 && Q.needDrain && (Q.needDrain = !1, X.emit("drain"));
|
@@ -106395,13 +106397,13 @@ Use Chrome, Firefox or Internet Explorer 11`);
|
|
106395
106397
|
}
|
106396
106398
|
function R(X, Q) {
|
106397
106399
|
X._final(function(ee) {
|
106398
|
-
Q.pendingcb--, ee && Te(X, ee), Q.prefinished = !0, X.emit("prefinish"),
|
106400
|
+
Q.pendingcb--, ee && Te(X, ee), Q.prefinished = !0, X.emit("prefinish"), q(X, Q);
|
106399
106401
|
});
|
106400
106402
|
}
|
106401
106403
|
function H(X, Q) {
|
106402
106404
|
Q.prefinished || Q.finalCalled || (typeof X._final != "function" || Q.destroyed ? (Q.prefinished = !0, X.emit("prefinish")) : (Q.pendingcb++, Q.finalCalled = !0, o.nextTick(R, X, Q)));
|
106403
106405
|
}
|
106404
|
-
function
|
106406
|
+
function q(X, Q) {
|
106405
106407
|
var ee = j(Q);
|
106406
106408
|
if (ee && (H(X, Q), Q.pendingcb === 0 && (Q.finished = !0, X.emit("finish"), Q.autoDestroy))) {
|
106407
106409
|
var De = X._readableState;
|
@@ -106410,9 +106412,9 @@ Use Chrome, Firefox or Internet Explorer 11`);
|
|
106410
106412
|
return ee;
|
106411
106413
|
}
|
106412
106414
|
function Z(X, Q, ee) {
|
106413
|
-
Q.ending = !0,
|
106415
|
+
Q.ending = !0, q(X, Q), ee && (Q.finished ? o.nextTick(ee) : X.once("finish", ee)), Q.ended = !0, X.writable = !1;
|
106414
106416
|
}
|
106415
|
-
function
|
106417
|
+
function U(X, Q, ee) {
|
106416
106418
|
var De = X.entry;
|
106417
106419
|
for (X.entry = null; De; ) {
|
106418
106420
|
var W = De.callback;
|
@@ -106507,9 +106509,9 @@ Use Chrome, Firefox or Internet Explorer 11`);
|
|
106507
106509
|
var S = this, D = this[b];
|
106508
106510
|
if (D !== null) return Promise.reject(D);
|
106509
106511
|
if (this[k]) return Promise.resolve(c(void 0, !0));
|
106510
|
-
if (this[x].destroyed) return new Promise(function(
|
106512
|
+
if (this[x].destroyed) return new Promise(function(q, Z) {
|
106511
106513
|
o.nextTick(function() {
|
106512
|
-
S[b] ? Z(S[b]) :
|
106514
|
+
S[b] ? Z(S[b]) : q(c(void 0, !0));
|
106513
106515
|
});
|
106514
106516
|
});
|
106515
106517
|
var j, R = this[v];
|
@@ -106532,16 +106534,16 @@ Use Chrome, Firefox or Internet Explorer 11`);
|
|
106532
106534
|
}), h), M);
|
106533
106535
|
a.exports = function(S) {
|
106534
106536
|
var D, j = Object.create(L, (D = {}, l(D, x, { value: S, writable: !0 }), l(D, m, { value: null, writable: !0 }), l(D, g, { value: null, writable: !0 }), l(D, b, { value: null, writable: !0 }), l(D, k, { value: S._readableState.endEmitted, writable: !0 }), l(D, w, { value: function(R, H) {
|
106535
|
-
var
|
106536
|
-
|
106537
|
+
var q = j[x].read();
|
106538
|
+
q ? (j[v] = null, j[m] = null, j[g] = null, R(c(q, !1))) : (j[m] = R, j[g] = H);
|
106537
106539
|
}, writable: !0 }), D));
|
106538
106540
|
return j[v] = null, p(S, function(R) {
|
106539
106541
|
if (R && R.code !== "ERR_STREAM_PREMATURE_CLOSE") {
|
106540
106542
|
var H = j[g];
|
106541
106543
|
return H !== null && (j[v] = null, j[m] = null, j[g] = null, H(R)), void (j[b] = R);
|
106542
106544
|
}
|
106543
|
-
var
|
106544
|
-
|
106545
|
+
var q = j[m];
|
106546
|
+
q !== null && (j[v] = null, j[m] = null, j[g] = null, q(c(void 0, !0))), j[k] = !0;
|
106545
106547
|
}), S.on("readable", f.bind(null, j)), j;
|
106546
106548
|
};
|
106547
106549
|
}).call(this);
|
@@ -107263,8 +107265,8 @@ Use Chrome, Firefox or Internet Explorer 11`);
|
|
107263
107265
|
D = !0;
|
107264
107266
|
let H = L[R.localCandidateId];
|
107265
107267
|
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 R.googLocalAddress == "string" && (H = R.googLocalAddress.split(":"), this.localAddress = H[0], this.localPort = +H[1]), this.localAddress && (this.localFamily = this.localAddress.includes(":") ? "IPv6" : "IPv4");
|
107266
|
-
let
|
107267
|
-
|
107268
|
+
let q = M[R.remoteCandidateId];
|
107269
|
+
q && (q.ip || q.address) ? (this.remoteAddress = q.ip || q.address, this.remotePort = +q.port) : q && q.ipAddress ? (this.remoteAddress = q.ipAddress, this.remotePort = +q.portNumber) : typeof R.googRemoteAddress == "string" && (q = R.googRemoteAddress.split(":"), this.remoteAddress = q[0], this.remotePort = +q[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);
|
107268
107270
|
};
|
107269
107271
|
if (x.forEach((R) => {
|
107270
107272
|
R.type === "transport" && R.selectedCandidatePairId && j(S[R.selectedCandidatePairId]), (R.type === "googCandidatePair" && R.googActiveConnection === "true" || (R.type === "candidatepair" || R.type === "candidate-pair") && R.selected) && j(R);
|
@@ -111026,12 +111028,12 @@ function Cot({
|
|
111026
111028
|
// <>
|
111027
111029
|
];
|
111028
111030
|
for (let H = 0; H < R.length; H++) {
|
111029
|
-
const [
|
111030
|
-
We(M,
|
111031
|
+
const [q, Z] = R[H], U = We(x, q);
|
111032
|
+
We(M, q, U), We(U, Z, x);
|
111031
111033
|
const V = $s(E3);
|
111032
|
-
Kt(
|
111034
|
+
Kt(U, e, V);
|
111033
111035
|
const Y = $s();
|
111034
|
-
Kt(
|
111036
|
+
Kt(U, n), Kt(V, e, V), Kt(V, n, Y), Kt(Y, e, V), Kt(Y, n, Y), We(V, Z, x), We(Y, Z, x);
|
111035
111037
|
}
|
111036
111038
|
return We(i, X4, k), We(i, ZT, Mot), {
|
111037
111039
|
start: i,
|
@@ -111867,7 +111869,7 @@ const Pne = ({
|
|
111867
111869
|
setTimeout(() => {
|
111868
111870
|
R(re, Math.abs(de)), td = ie;
|
111869
111871
|
});
|
111870
|
-
}, [
|
111872
|
+
}, [q, Z] = Oe(), [U, V] = Oe();
|
111871
111873
|
Be(() => {
|
111872
111874
|
s(t.attrs["media-type"]), w(), Z(t.attrs.dataFloat), V(t.attrs.dataAlign);
|
111873
111875
|
}, [t.attrs]);
|
@@ -111897,8 +111899,8 @@ const Pne = ({
|
|
111897
111899
|
as: "article",
|
111898
111900
|
className: Nt(
|
111899
111901
|
"media-node-view not-prose transition-all ease-in-out w-full",
|
111900
|
-
|
111901
|
-
|
111902
|
+
q && `f-${t.attrs.dataFloat}`,
|
111903
|
+
U && `justify-${t.attrs.dataAlign}`
|
111902
111904
|
),
|
111903
111905
|
children: /* @__PURE__ */ T.jsxs(
|
111904
111906
|
"div",
|
@@ -112901,12 +112903,12 @@ const Rlt = (t) => ({
|
|
112901
112903
|
}, h = sN(i), p = iN(h), m = await a.getDimensions(c), g = h === "y", b = g ? "top" : "left", k = g ? "bottom" : "right", v = g ? "clientHeight" : "clientWidth", w = s.reference[p] + s.reference[h] - d[h] - s.floating[p], x = d[h] - s.reference[h], M = await (a.getOffsetParent == null ? void 0 : a.getOffsetParent(c));
|
112902
112904
|
let L = M ? M[v] : 0;
|
112903
112905
|
(!L || !await (a.isElement == null ? void 0 : a.isElement(M))) && (L = o.floating[v] || s.floating[p]);
|
112904
|
-
const S = w / 2 - x / 2, D = L / 2 - m[p] / 2 - 1, j = r1(f[b], D), R = r1(f[k], D), H = j,
|
112906
|
+
const S = w / 2 - x / 2, D = L / 2 - m[p] / 2 - 1, j = r1(f[b], D), R = r1(f[k], D), H = j, q = L - m[p] - R, Z = L / 2 - m[p] / 2 + S, U = eA(H, Z, q), V = !l.arrow && ap(i) != null && Z !== U && s.reference[p] / 2 - (Z < H ? j : R) - m[p] / 2 < 0, Y = V ? Z < H ? Z - H : Z - q : 0;
|
112905
112907
|
return {
|
112906
112908
|
[h]: d[h] + Y,
|
112907
112909
|
data: {
|
112908
|
-
[h]:
|
112909
|
-
centerOffset: Z -
|
112910
|
+
[h]: U,
|
112911
|
+
centerOffset: Z - U - Y,
|
112910
112912
|
...V && {
|
112911
112913
|
alignmentOffset: Y
|
112912
112914
|
}
|
@@ -112951,23 +112953,23 @@ const Rlt = (t) => ({
|
|
112951
112953
|
overflows: D
|
112952
112954
|
}], !D.every((Z) => Z <= 0)) {
|
112953
112955
|
var R, H;
|
112954
|
-
const Z = (((R = s.flip) == null ? void 0 : R.index) || 0) + 1,
|
112955
|
-
if (
|
112956
|
+
const Z = (((R = s.flip) == null ? void 0 : R.index) || 0) + 1, U = L[Z];
|
112957
|
+
if (U)
|
112956
112958
|
return {
|
112957
112959
|
data: {
|
112958
112960
|
index: Z,
|
112959
112961
|
overflows: j
|
112960
112962
|
},
|
112961
112963
|
reset: {
|
112962
|
-
placement:
|
112964
|
+
placement: U
|
112963
112965
|
}
|
112964
112966
|
};
|
112965
112967
|
let V = (H = j.filter((Y) => Y.overflows[0] <= 0).sort((Y, ae) => Y.overflows[1] - ae.overflows[1])[0]) == null ? void 0 : H.placement;
|
112966
112968
|
if (!V)
|
112967
112969
|
switch (h) {
|
112968
112970
|
case "bestFit": {
|
112969
|
-
var
|
112970
|
-
const Y = (
|
112971
|
+
var q;
|
112972
|
+
const Y = (q = j.filter((ae) => {
|
112971
112973
|
if (M) {
|
112972
112974
|
const G = i1(ae.placement);
|
112973
112975
|
return G === k || // Create a bias to the `y` side axis due to horizontal
|
@@ -112975,7 +112977,7 @@ const Rlt = (t) => ({
|
|
112975
112977
|
G === "y";
|
112976
112978
|
}
|
112977
112979
|
return !0;
|
112978
|
-
}).map((ae) => [ae.placement, ae.overflows.filter((G) => G > 0).reduce((G, ie) => G + ie, 0)]).sort((ae, G) => ae[1] - G[1])[0]) == null ? void 0 :
|
112980
|
+
}).map((ae) => [ae.placement, ae.overflows.filter((G) => G > 0).reduce((G, ie) => G + ie, 0)]).sort((ae, G) => ae[1] - G[1])[0]) == null ? void 0 : q[0];
|
112979
112981
|
Y && (V = Y);
|
112980
112982
|
break;
|
112981
112983
|
}
|
@@ -113218,8 +113220,8 @@ const Flt = function(t) {
|
|
113218
113220
|
const k = m - u.top - u.bottom, v = p - u.left - u.right, w = r1(m - u[g], k), x = r1(p - u[b], v), M = !e.middlewareData.shift;
|
113219
113221
|
let L = w, S = x;
|
113220
113222
|
if ((n = e.middlewareData.shift) != null && n.enabled.x && (S = v), (r = e.middlewareData.shift) != null && r.enabled.y && (L = k), M && !d) {
|
113221
|
-
const j = Ds(u.left, 0), R = Ds(u.right, 0), H = Ds(u.top, 0),
|
113222
|
-
h ? S = p - 2 * (j !== 0 || R !== 0 ? j + R : Ds(u.left, u.right)) : L = m - 2 * (H !== 0 ||
|
113223
|
+
const j = Ds(u.left, 0), R = Ds(u.right, 0), H = Ds(u.top, 0), q = Ds(u.bottom, 0);
|
113224
|
+
h ? S = p - 2 * (j !== 0 || R !== 0 ? j + R : Ds(u.left, u.right)) : L = m - 2 * (H !== 0 || q !== 0 ? H + q : Ds(u.top, u.bottom));
|
113223
113225
|
}
|
113224
113226
|
await l({
|
113225
113227
|
...e,
|
@@ -113794,7 +113796,7 @@ function pct(t) {
|
|
113794
113796
|
ae !== M.current && (M.current = ae, m(ae));
|
113795
113797
|
}, []), v = E.useCallback((ae) => {
|
113796
113798
|
ae !== L.current && (L.current = ae, b(ae));
|
113797
|
-
}, []), w = s || p, x = a || g, M = E.useRef(null), L = E.useRef(null), S = E.useRef(u), D = l != null, j = $9(l), R = $9(i), H = $9(c),
|
113799
|
+
}, []), w = s || p, x = a || g, M = E.useRef(null), L = E.useRef(null), S = E.useRef(u), D = l != null, j = $9(l), R = $9(i), H = $9(c), q = E.useCallback(() => {
|
113798
113800
|
if (!M.current || !L.current)
|
113799
113801
|
return;
|
113800
113802
|
const ae = {
|
@@ -113828,11 +113830,11 @@ function pct(t) {
|
|
113828
113830
|
}), []), F6(() => {
|
113829
113831
|
if (w && (M.current = w), x && (L.current = x), w && x) {
|
113830
113832
|
if (j.current)
|
113831
|
-
return j.current(w, x,
|
113832
|
-
|
113833
|
+
return j.current(w, x, q);
|
113834
|
+
q();
|
113833
113835
|
}
|
113834
|
-
}, [w, x,
|
113835
|
-
const
|
113836
|
+
}, [w, x, q, j, D]);
|
113837
|
+
const U = E.useMemo(() => ({
|
113836
113838
|
reference: M,
|
113837
113839
|
floating: L,
|
113838
113840
|
setReference: k,
|
@@ -113863,11 +113865,11 @@ function pct(t) {
|
|
113863
113865
|
}, [n, o, V.floating, u.x, u.y]);
|
113864
113866
|
return E.useMemo(() => ({
|
113865
113867
|
...u,
|
113866
|
-
update:
|
113867
|
-
refs:
|
113868
|
+
update: q,
|
113869
|
+
refs: U,
|
113868
113870
|
elements: V,
|
113869
113871
|
floatingStyles: Y
|
113870
|
-
}), [u,
|
113872
|
+
}), [u, q, U, V, Y]);
|
113871
113873
|
}
|
113872
113874
|
const mct = (t) => {
|
113873
113875
|
function e(n) {
|
@@ -113983,12 +113985,12 @@ var fN = "PopperContent", [Ect, Lct] = $ne(fN), sre = E.forwardRef(
|
|
113983
113985
|
updatePositionStrategy: h = "optimized",
|
113984
113986
|
onPlaced: p,
|
113985
113987
|
...m
|
113986
|
-
} = t, g = tre(fN, n), [b, k] = E.useState(null), v = j1(e, (Te) => k(Te)), [w, x] = E.useState(null), M = Act(w), L = (M == null ? void 0 : M.width) ?? 0, S = (M == null ? void 0 : M.height) ?? 0, D = r + (s !== "center" ? "-" + s : ""), j = typeof u == "number" ? u : { top: 0, right: 0, bottom: 0, left: 0, ...u }, R = Array.isArray(c) ? c : [c], H = R.length > 0,
|
113988
|
+
} = t, g = tre(fN, n), [b, k] = E.useState(null), v = j1(e, (Te) => k(Te)), [w, x] = E.useState(null), M = Act(w), L = (M == null ? void 0 : M.width) ?? 0, S = (M == null ? void 0 : M.height) ?? 0, D = r + (s !== "center" ? "-" + s : ""), j = typeof u == "number" ? u : { top: 0, right: 0, bottom: 0, left: 0, ...u }, R = Array.isArray(c) ? c : [c], H = R.length > 0, q = {
|
113987
113989
|
padding: j,
|
113988
113990
|
boundary: R.filter(Nct),
|
113989
113991
|
// with `strategy: 'fixed'`, this is the only way to get it to respect boundaries
|
113990
113992
|
altBoundary: H
|
113991
|
-
}, { refs: Z, floatingStyles:
|
113993
|
+
}, { refs: Z, floatingStyles: U, placement: V, isPositioned: Y, middlewareData: ae } = pct({
|
113992
113994
|
// default to `fixed` strategy so users don't have to pick and we also avoid focus scroll issues
|
113993
113995
|
strategy: "fixed",
|
113994
113996
|
placement: D,
|
@@ -114004,11 +114006,11 @@ var fN = "PopperContent", [Ect, Lct] = $ne(fN), sre = E.forwardRef(
|
|
114004
114006
|
mainAxis: !0,
|
114005
114007
|
crossAxis: !1,
|
114006
114008
|
limiter: f === "partial" ? bct() : void 0,
|
114007
|
-
...
|
114009
|
+
...q
|
114008
114010
|
}),
|
114009
|
-
l && vct({ ...
|
114011
|
+
l && vct({ ...q }),
|
114010
114012
|
wct({
|
114011
|
-
...
|
114013
|
+
...q,
|
114012
114014
|
apply: ({ elements: Te, rects: ce, availableWidth: X, availableHeight: Q }) => {
|
114013
114015
|
const { width: ee, height: De } = ce.reference, W = Te.floating.style;
|
114014
114016
|
W.setProperty("--radix-popper-available-width", `${X}px`), W.setProperty("--radix-popper-available-height", `${Q}px`), W.setProperty("--radix-popper-anchor-width", `${ee}px`), W.setProperty("--radix-popper-anchor-height", `${De}px`);
|
@@ -114016,7 +114018,7 @@ var fN = "PopperContent", [Ect, Lct] = $ne(fN), sre = E.forwardRef(
|
|
114016
114018
|
}),
|
114017
114019
|
w && xct({ element: w, padding: o }),
|
114018
114020
|
jct({ arrowWidth: L, arrowHeight: S }),
|
114019
|
-
d && kct({ strategy: "referenceHidden", ...
|
114021
|
+
d && kct({ strategy: "referenceHidden", ...q })
|
114020
114022
|
]
|
114021
114023
|
}), [G, ie] = lre(V), de = n1(p);
|
114022
114024
|
A2(() => {
|
@@ -114031,8 +114033,8 @@ var fN = "PopperContent", [Ect, Lct] = $ne(fN), sre = E.forwardRef(
|
|
114031
114033
|
ref: Z.setFloating,
|
114032
114034
|
"data-radix-popper-content-wrapper": "",
|
114033
114035
|
style: {
|
114034
|
-
...
|
114035
|
-
transform: Y ?
|
114036
|
+
...U,
|
114037
|
+
transform: Y ? U.transform : "translate(0, -200%)",
|
114036
114038
|
// keep off the page when measuring
|
114037
114039
|
minWidth: "max-content",
|
114038
114040
|
zIndex: ge,
|
@@ -116575,8 +116577,8 @@ const R3 = ({
|
|
116575
116577
|
}, [e, n.state]), R = (ie) => {
|
116576
116578
|
const de = e() + t.nodeSize;
|
116577
116579
|
n.commands.insertContentAt(de - 4, ie);
|
116578
|
-
}, H = Fut(R),
|
116579
|
-
|
116580
|
+
}, H = Fut(R), q = Hut(R), [Z, U] = Oe(!1), [V, Y] = Oe(2), ae = () => {
|
116581
|
+
U(!Z), Y(Z ? 2 : q.length);
|
116580
116582
|
};
|
116581
116583
|
return /* @__PURE__ */ T.jsxs(
|
116582
116584
|
F2,
|
@@ -116680,7 +116682,7 @@ const R3 = ({
|
|
116680
116682
|
}),
|
116681
116683
|
children: j && !l && Vut(
|
116682
116684
|
H,
|
116683
|
-
|
116685
|
+
q,
|
116684
116686
|
V,
|
116685
116687
|
ae,
|
116686
116688
|
Z
|
@@ -118559,30 +118561,30 @@ function K1t(t) {
|
|
118559
118561
|
};
|
118560
118562
|
}
|
118561
118563
|
}));
|
118562
|
-
var
|
118564
|
+
var q = [l].concat(r ? [r.type] : []);
|
118563
118565
|
return sk(function() {
|
118564
118566
|
var Z = l;
|
118565
118567
|
l && l.hasOwnProperty("current") && (Z = l.current);
|
118566
|
-
var
|
118568
|
+
var U = t(Z || D.ref || sF(), Object.assign({}, R, {
|
118567
118569
|
plugins: [Y1t].concat(j.plugins || [])
|
118568
118570
|
}));
|
118569
|
-
return D.instance =
|
118570
|
-
instance:
|
118571
|
+
return D.instance = U, u && U.disable(), s && U.show(), m && a.hook({
|
118572
|
+
instance: U,
|
118571
118573
|
content: i,
|
118572
118574
|
props: R,
|
118573
118575
|
setSingletonContent: S
|
118574
118576
|
}), k(!0), function() {
|
118575
|
-
|
118577
|
+
U.destroy(), a == null || a.cleanup(U);
|
118576
118578
|
};
|
118577
|
-
},
|
118579
|
+
}, q), sk(function() {
|
118578
118580
|
var Z;
|
118579
118581
|
if (D.renders === 1) {
|
118580
118582
|
D.renders++;
|
118581
118583
|
return;
|
118582
118584
|
}
|
118583
|
-
var
|
118584
|
-
|
118585
|
-
instance:
|
118585
|
+
var U = D.instance;
|
118586
|
+
U.setProps(G1t(U.props, R)), (Z = U.popperInstance) == null || Z.forceUpdate(), u ? U.disable() : U.enable(), p && (s ? U.show() : U.hide()), m && a.hook({
|
118587
|
+
instance: U,
|
118586
118588
|
content: i,
|
118587
118589
|
props: R,
|
118588
118590
|
setSingletonContent: S
|
@@ -118590,10 +118592,10 @@ function K1t(t) {
|
|
118590
118592
|
}), sk(function() {
|
118591
118593
|
var Z;
|
118592
118594
|
if (o) {
|
118593
|
-
var
|
118594
|
-
|
118595
|
-
popperOptions: Object.assign({},
|
118596
|
-
modifiers: [].concat((((Z =
|
118595
|
+
var U = D.instance;
|
118596
|
+
U.setProps({
|
118597
|
+
popperOptions: Object.assign({}, U.props.popperOptions, {
|
118598
|
+
modifiers: [].concat((((Z = U.props.popperOptions) == null ? void 0 : Z.modifiers) || []).filter(function(V) {
|
118597
118599
|
var Y = V.name;
|
118598
118600
|
return Y !== "$$tippyReact";
|
118599
118601
|
}), [{
|
@@ -118613,9 +118615,9 @@ function K1t(t) {
|
|
118613
118615
|
})
|
118614
118616
|
});
|
118615
118617
|
}
|
118616
|
-
}, [w.placement, w.referenceHidden, w.escaped].concat(
|
118617
|
-
ref: function(
|
118618
|
-
D.ref =
|
118618
|
+
}, [w.placement, w.referenceHidden, w.escaped].concat(q)), /* @__PURE__ */ Me.createElement(Me.Fragment, null, r ? /* @__PURE__ */ R2(r, {
|
118619
|
+
ref: function(U) {
|
118620
|
+
D.ref = U, cA(r.ref, U);
|
118619
118621
|
}
|
118620
118622
|
}) : null, b && /* @__PURE__ */ l_(o ? o(U1t(w), L, D.instance) : i, D.container));
|
118621
118623
|
}
|
@@ -120857,10 +120859,10 @@ function Aft(t, e, n, r) {
|
|
120857
120859
|
const w = t.sCount[l] + h - (t.bMarks[l] + t.tShift[l]);
|
120858
120860
|
let x = w;
|
120859
120861
|
for (; s < i; ) {
|
120860
|
-
const
|
120861
|
-
if (
|
120862
|
+
const U = t.src.charCodeAt(s);
|
120863
|
+
if (U === 9)
|
120862
120864
|
x += 4 - (x + t.bsCount[l]) % 4;
|
120863
|
-
else if (
|
120865
|
+
else if (U === 32)
|
120864
120866
|
x++;
|
120865
120867
|
else
|
120866
120868
|
break;
|
@@ -120873,12 +120875,12 @@ function Aft(t, e, n, r) {
|
|
120873
120875
|
o = t.push("list_item_open", "li", 1), o.markup = String.fromCharCode(p);
|
120874
120876
|
const D = [l, 0];
|
120875
120877
|
o.map = D, f && (o.info = t.src.slice(a, h - 1));
|
120876
|
-
const j = t.tight, R = t.tShift[l], H = t.sCount[l],
|
120877
|
-
if (t.listIndent = t.blkIndent, t.blkIndent = S, t.tight = !0, t.tShift[l] = M - t.bMarks[l], t.sCount[l] = x, M >= i && t.isEmpty(l + 1) ? t.line = Math.min(t.line + 2, n) : t.md.block.tokenize(t, l, n, !0), (!t.tight || b) && (c = !1), b = t.line - l > 1 && t.isEmpty(t.line - 1), t.blkIndent = t.listIndent, t.listIndent =
|
120878
|
+
const j = t.tight, R = t.tShift[l], H = t.sCount[l], q = t.listIndent;
|
120879
|
+
if (t.listIndent = t.blkIndent, t.blkIndent = S, t.tight = !0, t.tShift[l] = M - t.bMarks[l], t.sCount[l] = x, M >= i && t.isEmpty(l + 1) ? t.line = Math.min(t.line + 2, n) : t.md.block.tokenize(t, l, n, !0), (!t.tight || b) && (c = !1), b = t.line - l > 1 && t.isEmpty(t.line - 1), t.blkIndent = t.listIndent, t.listIndent = q, t.tShift[l] = R, t.sCount[l] = H, t.tight = j, o = t.push("list_item_close", "li", -1), o.markup = String.fromCharCode(p), l = t.line, D[1] = l, l >= n || t.sCount[l] < t.blkIndent || t.sCount[l] - t.blkIndent >= 4)
|
120878
120880
|
break;
|
120879
120881
|
let Z = !1;
|
120880
|
-
for (let
|
120881
|
-
if (k[
|
120882
|
+
for (let U = 0, V = k.length; U < V; U++)
|
120883
|
+
if (k[U](t, l, n, !0)) {
|
120882
120884
|
Z = !0;
|
120883
120885
|
break;
|
120884
120886
|
}
|
@@ -124158,9 +124160,9 @@ function Eie() {
|
|
124158
124160
|
e.isSupported = typeof Mie == "function" && typeof v == "function" && M && M.createHTMLDocument !== void 0;
|
124159
124161
|
const {
|
124160
124162
|
MUSTACHE_EXPR: H,
|
124161
|
-
ERB_EXPR:
|
124163
|
+
ERB_EXPR: q,
|
124162
124164
|
TMPLIT_EXPR: Z,
|
124163
|
-
DATA_ATTR:
|
124165
|
+
DATA_ATTR: U,
|
124164
124166
|
ARIA_ATTR: V,
|
124165
124167
|
IS_SCRIPT_OR_DATA: Y,
|
124166
124168
|
ATTR_WHITESPACE: ae,
|
@@ -124329,7 +124331,7 @@ function Eie() {
|
|
124329
124331
|
}
|
124330
124332
|
return ci(se), !0;
|
124331
124333
|
}
|
124332
|
-
return se instanceof l && !Ks(se) || (Je === "noscript" || Je === "noembed" || Je === "noframes") && Ni(/<\/no(script|embed|frames)/i, se.innerHTML) ? (ci(se), !0) : (Le && se.nodeType === Hp.text && (Ne = se.textContent, _3([H,
|
124334
|
+
return se instanceof l && !Ks(se) || (Je === "noscript" || Je === "noembed" || Je === "noframes") && Ni(/<\/no(script|embed|frames)/i, se.innerHTML) ? (ci(se), !0) : (Le && se.nodeType === Hp.text && (Ne = se.textContent, _3([H, q, Z], (Xt) => {
|
124333
124335
|
Ne = zp(Ne, Xt, " ");
|
124334
124336
|
}), se.textContent !== Ne && (Op(e.removed, {
|
124335
124337
|
element: se.cloneNode()
|
@@ -124337,7 +124339,7 @@ function Eie() {
|
|
124337
124339
|
}, ct = function(se, Ne, Je) {
|
124338
124340
|
if (C && (Ne === "id" || Ne === "name") && (Je in n || Je in qn))
|
124339
124341
|
return !1;
|
124340
|
-
if (!(Re && !be[Ne] && Ni(
|
124342
|
+
if (!(Re && !be[Ne] && Ni(U, Ne))) {
|
124341
124343
|
if (!(ke && Ni(V, Ne))) {
|
124342
124344
|
if (!pe[Ne] || be[Ne]) {
|
124343
124345
|
if (
|
@@ -124395,7 +124397,7 @@ function Eie() {
|
|
124395
124397
|
Pa(Ft, se);
|
124396
124398
|
continue;
|
124397
124399
|
}
|
124398
|
-
Le && _3([H,
|
124400
|
+
Le && _3([H, q, Z], (Bj) => {
|
124399
124401
|
Ti = zp(Ti, Bj, " ");
|
124400
124402
|
});
|
124401
124403
|
const zj = Rt(se.nodeName);
|
@@ -124466,7 +124468,7 @@ function Eie() {
|
|
124466
124468
|
}
|
124467
124469
|
let sr = ce ? Ne.outerHTML : Ne.innerHTML;
|
124468
124470
|
return ce && de["!doctype"] && Ne.ownerDocument && Ne.ownerDocument.doctype && Ne.ownerDocument.doctype.name && Ni(Sie, Ne.ownerDocument.doctype.name) && (sr = "<!DOCTYPE " + Ne.ownerDocument.doctype.name + `>
|
124469
|
-
` + sr), Le && _3([H,
|
124471
|
+
` + sr), Le && _3([H, q, Z], (Ji) => {
|
124470
124472
|
sr = zp(sr, Ji, " ");
|
124471
124473
|
}), w && W ? w.createHTML(sr) : sr;
|
124472
124474
|
}, e.setConfig = function() {
|
@@ -125587,8 +125589,8 @@ function WF(t, e) {
|
|
125587
125589
|
const j = L[D], H = (j.textContent || "").match(/^\[([ x])\]\s*(.*)/i);
|
125588
125590
|
if (H) {
|
125589
125591
|
S = !0;
|
125590
|
-
const
|
125591
|
-
j.setAttribute("data-type", "taskItem"), j.setAttribute("data-checked",
|
125592
|
+
const q = H[1].toLowerCase() === "x", Z = H[2];
|
125593
|
+
j.setAttribute("data-type", "taskItem"), j.setAttribute("data-checked", q.toString()), j.textContent = Z;
|
125592
125594
|
}
|
125593
125595
|
}
|
125594
125596
|
S && M.setAttribute("data-type", "taskList");
|
@@ -130944,12 +130946,12 @@ var Xie = function(e) {
|
|
130944
130946
|
throw new Error(`Correct katexImagesData or update code here to support
|
130945
130947
|
` + L + " children.");
|
130946
130948
|
for (var R = 0; R < L; R++) {
|
130947
|
-
var H = new l1(v[R]),
|
130949
|
+
var H = new l1(v[R]), q = new Sc([H], {
|
130948
130950
|
width: "400em",
|
130949
130951
|
height: et(M),
|
130950
130952
|
viewBox: "0 0 " + o + " " + x,
|
130951
130953
|
preserveAspectRatio: D[R] + " slice"
|
130952
|
-
}), Z = ve.makeSvgSpan([S[R]], [
|
130954
|
+
}), Z = ve.makeSvgSpan([S[R]], [q], n);
|
130953
130955
|
if (L === 1)
|
130954
130956
|
return {
|
130955
130957
|
span: Z,
|
@@ -131884,7 +131886,7 @@ var im = function(e, n, r) {
|
|
131884
131886
|
r && (j *= i.sizeMultiplier);
|
131885
131887
|
var R = D / 2 - j, H = [];
|
131886
131888
|
if (f.length > 0) {
|
131887
|
-
var
|
131889
|
+
var q = D - m - v, Z = Math.round(D * 1e3), U = pmt(f, Math.round(q * 1e3)), V = new l1(f, U), Y = (d / 1e3).toFixed(3) + "em", ae = (Z / 1e3).toFixed(3) + "em", G = new Sc([V], {
|
131888
131890
|
width: Y,
|
131889
131891
|
height: ae,
|
131890
131892
|
viewBox: "0 0 " + d + " " + Z
|
@@ -132620,7 +132622,7 @@ var vl = function(e, n) {
|
|
132620
132622
|
var j = e.rowGaps[r], R = 0;
|
132621
132623
|
j && (R = Jn(j, n), R > 0 && (R += k, L < R && (L = R), R = 0)), e.addJot && (L += m), S.height = M, S.depth = L, v += M, S.pos = v, v += L + R, l[r] = S, w(a[r + 1]);
|
132622
132624
|
}
|
132623
|
-
var H = v / 2 + n.fontMetrics().axisHeight,
|
132625
|
+
var H = v / 2 + n.fontMetrics().axisHeight, q = e.cols || [], Z = [], U, V, Y = [];
|
132624
132626
|
if (e.tags && e.tags.some((De) => De))
|
132625
132627
|
for (r = 0; r < s; ++r) {
|
132626
132628
|
var ae = l[r], G = ae.pos - H, ie = e.tags[r], de = void 0;
|
@@ -132634,22 +132636,22 @@ var vl = function(e, n) {
|
|
132634
132636
|
i = 0, V = 0;
|
132635
132637
|
// Continue while either there are more columns or more column
|
132636
132638
|
// descriptions, so trailing separators don't get lost.
|
132637
|
-
i < o || V <
|
132639
|
+
i < o || V < q.length;
|
132638
132640
|
++i, ++V
|
132639
132641
|
) {
|
132640
|
-
for (var re =
|
132641
|
-
if (pe || (
|
132642
|
+
for (var re = q[V] || {}, pe = !0; re.type === "separator"; ) {
|
132643
|
+
if (pe || (U = ve.makeSpan(["arraycolsep"], []), U.style.width = et(n.fontMetrics().doubleRuleSep), Z.push(U)), re.separator === "|" || re.separator === ":") {
|
132642
132644
|
var oe = re.separator === "|" ? "solid" : "dashed", ge = ve.makeSpan(["vertical-separator"], [], n);
|
132643
132645
|
ge.style.height = et(v), ge.style.borderRightWidth = et(u), ge.style.borderRightStyle = oe, ge.style.margin = "0 " + et(-u / 2);
|
132644
132646
|
var J = v - H;
|
132645
132647
|
J && (ge.style.verticalAlign = et(-J)), Z.push(ge);
|
132646
132648
|
} else
|
132647
132649
|
throw new Ge("Invalid separator type: " + re.separator);
|
132648
|
-
V++, re =
|
132650
|
+
V++, re = q[V] || {}, pe = !1;
|
132649
132651
|
}
|
132650
132652
|
if (!(i >= o)) {
|
132651
132653
|
var be = void 0;
|
132652
|
-
(i > 0 || e.hskipBeforeAndAfter) && (be = Mt.deflt(re.pregap, d), be !== 0 && (
|
132654
|
+
(i > 0 || e.hskipBeforeAndAfter) && (be = Mt.deflt(re.pregap, d), be !== 0 && (U = ve.makeSpan(["arraycolsep"], []), U.style.width = et(be), Z.push(U)));
|
132653
132655
|
var ke = [];
|
132654
132656
|
for (r = 0; r < s; ++r) {
|
132655
132657
|
var Re = l[r], Pe = Re[i];
|
@@ -132665,7 +132667,7 @@ var vl = function(e, n) {
|
|
132665
132667
|
ke = ve.makeVList({
|
132666
132668
|
positionType: "individualShift",
|
132667
132669
|
children: ke
|
132668
|
-
}, n), ke = ve.makeSpan(["col-align-" + (re.align || "c")], [ke]), Z.push(ke), (i < o - 1 || e.hskipBeforeAndAfter) && (be = Mt.deflt(re.postgap, d), be !== 0 && (
|
132670
|
+
}, n), ke = ve.makeSpan(["col-align-" + (re.align || "c")], [ke]), Z.push(ke), (i < o - 1 || e.hskipBeforeAndAfter) && (be = Mt.deflt(re.postgap, d), be !== 0 && (U = ve.makeSpan(["arraycolsep"], []), U.style.width = et(be), Z.push(U)));
|
132669
132671
|
}
|
132670
132672
|
}
|
132671
132673
|
if (l = ve.makeSpan(["mtable"], Z), c.length > 0) {
|
@@ -139128,7 +139130,7 @@ function rgt({ pluginKey: t = ngt, editor: e, char: n = "@", allowSpaces: r = !1
|
|
139128
139130
|
return {
|
139129
139131
|
update: async (b, k) => {
|
139130
139132
|
var v, w, x, M, L, S, D;
|
139131
|
-
const j = (v = this.key) === null || v === void 0 ? void 0 : v.getState(k), R = (w = this.key) === null || w === void 0 ? void 0 : w.getState(b.state), H = j.active && R.active && j.range.from !== R.range.from,
|
139133
|
+
const j = (v = this.key) === null || v === void 0 ? void 0 : v.getState(k), R = (w = this.key) === null || w === void 0 ? void 0 : w.getState(b.state), H = j.active && R.active && j.range.from !== R.range.from, q = !j.active && R.active, Z = j.active && !R.active, U = !q && !Z && j.query !== R.query, V = q || H && U, Y = U || H, ae = Z || H && U;
|
139132
139134
|
if (!V && !Y && !ae)
|
139133
139135
|
return;
|
139134
139136
|
const G = ae && !V ? j : R, ie = b.dom.querySelector(`[data-decoration-id="${G.decorationId}"]`);
|
@@ -140146,7 +140148,7 @@ const Uk = TA.getInstance(), Ogt = (t) => ({
|
|
140146
140148
|
Be(() => {
|
140147
140149
|
S && R(S);
|
140148
140150
|
}, [S]);
|
140149
|
-
const [H,
|
140151
|
+
const [H, q] = Oe([]), [Z, U] = Oe([
|
140150
140152
|
...Yyt(
|
140151
140153
|
(Q) => u == null ? void 0 : u(Q),
|
140152
140154
|
h
|
@@ -140167,7 +140169,7 @@ const Uk = TA.getInstance(), Ogt = (t) => ({
|
|
140167
140169
|
})
|
140168
140170
|
]);
|
140169
140171
|
Be(() => {
|
140170
|
-
|
140172
|
+
U((Q) => [
|
140171
140173
|
...Q.filter((ee) => ee.name !== "table"),
|
140172
140174
|
Bre.configure({
|
140173
140175
|
resizable: !t
|
@@ -140230,12 +140232,12 @@ const Uk = TA.getInstance(), Ogt = (t) => ({
|
|
140230
140232
|
[Z, x]
|
140231
140233
|
);
|
140232
140234
|
Be(() => {
|
140233
|
-
M != null && M.TableOfContents && !Z.some((Q) => Q.name === "tableOfContents") &&
|
140235
|
+
M != null && M.TableOfContents && !Z.some((Q) => Q.name === "tableOfContents") && U([
|
140234
140236
|
...Z.filter((Q) => Q.name !== "tableOfContents"),
|
140235
140237
|
M.TableOfContents.configure({
|
140236
140238
|
getIndex: M.getHierarchicalIndexes,
|
140237
140239
|
onUpdate(Q) {
|
140238
|
-
|
140240
|
+
q(Q);
|
140239
140241
|
}
|
140240
140242
|
})
|
140241
140243
|
]);
|
@@ -140257,7 +140259,7 @@ const Uk = TA.getInstance(), Ogt = (t) => ({
|
|
140257
140259
|
"wss://fileverse-signaling-server-0529292ff51c.herokuapp.com/"
|
140258
140260
|
]
|
140259
140261
|
});
|
140260
|
-
return
|
140262
|
+
return U([
|
140261
140263
|
...Z.filter((W) => W.name !== "history"),
|
140262
140264
|
pat.configure({
|
140263
140265
|
provider: De,
|
@@ -140368,7 +140370,7 @@ const Uk = TA.getInstance(), Ogt = (t) => ({
|
|
140368
140370
|
slides: G,
|
140369
140371
|
setSlides: ie,
|
140370
140372
|
tocItems: H,
|
140371
|
-
setTocItems:
|
140373
|
+
setTocItems: q
|
140372
140374
|
};
|
140373
140375
|
}, XN = nr({});
|
140374
140376
|
function $N(t) {
|
@@ -143188,7 +143190,7 @@ function T5t(t) {
|
|
143188
143190
|
const j = Array.isArray(v) ? v : [v];
|
143189
143191
|
let R = j.reduce(i(b), {});
|
143190
143192
|
x === !1 && (R = {});
|
143191
|
-
const { prevResolvedValues: H = {} } = k,
|
143193
|
+
const { prevResolvedValues: H = {} } = k, q = {
|
143192
143194
|
...H,
|
143193
143195
|
...R
|
143194
143196
|
}, Z = (Y) => {
|
@@ -143196,7 +143198,7 @@ function T5t(t) {
|
|
143196
143198
|
const ae = t.getValue(Y);
|
143197
143199
|
ae && (ae.liveStyle = !1);
|
143198
143200
|
};
|
143199
|
-
for (const Y in
|
143201
|
+
for (const Y in q) {
|
143200
143202
|
const ae = R[Y], G = H[Y];
|
143201
143203
|
if (h.hasOwnProperty(Y))
|
143202
143204
|
continue;
|
@@ -145738,13 +145740,13 @@ function S8t(t, e = {}) {
|
|
145738
145740
|
(R, H) => R + f(H),
|
145739
145741
|
0
|
145740
145742
|
);
|
145741
|
-
D.length > 10 ? e_(L).forEach((H,
|
145742
|
-
(
|
145743
|
+
D.length > 10 ? e_(L).forEach((H, q) => {
|
145744
|
+
(q > 0 || d(H, l)) && p(), l.push({
|
145743
145745
|
type: "content",
|
145744
145746
|
content: Qi.render(H)
|
145745
145747
|
});
|
145746
|
-
}) : D.length < 10 && j > 50 ? e_(L, 6).forEach((H,
|
145747
|
-
(
|
145748
|
+
}) : D.length < 10 && j > 50 ? e_(L, 6).forEach((H, q) => {
|
145749
|
+
(q > 0 || d(H, l)) && p(), l.push({
|
145748
145750
|
type: "content",
|
145749
145751
|
content: Qi.render(H)
|
145750
145752
|
});
|
@@ -145838,9 +145840,9 @@ function S8t(t, e = {}) {
|
|
145838
145840
|
const S = l.length > 0 && l[0].type === "h2" && l.length > 1, j = l.reduce((R, H) => {
|
145839
145841
|
if (H.type === "content") {
|
145840
145842
|
const Z = H.content.split(`
|
145841
|
-
`).filter((
|
145843
|
+
`).filter((U) => U.trim().length > 0).reduce((U, V) => {
|
145842
145844
|
const Y = V.replace(/<[^>]+>/g, ""), ae = Math.ceil(Y.length / 200);
|
145843
|
-
return
|
145845
|
+
return U + Math.max(1, ae);
|
145844
145846
|
}, 0);
|
145845
145847
|
return R + Z;
|
145846
145848
|
}
|
@@ -145997,7 +145999,7 @@ const t_ = ({
|
|
145997
145999
|
Object.values(G).forEach((ie) => ie.destroy());
|
145998
146000
|
};
|
145999
146001
|
}, [u]);
|
146000
|
-
const
|
146002
|
+
const q = xt(() => {
|
146001
146003
|
w ? r((G) => !G) : document.fullscreenElement ? document.exitFullscreen ? document.exitFullscreen().then(() => r(!1)).catch(() => {
|
146002
146004
|
r(!1);
|
146003
146005
|
}) : r(!1) : document.documentElement.requestFullscreen ? document.documentElement.requestFullscreen().then(() => r(!0)).catch(() => {
|
@@ -146005,9 +146007,9 @@ const t_ = ({
|
|
146005
146007
|
}) : r(!0);
|
146006
146008
|
}, [w]), Z = xt(
|
146007
146009
|
(G) => {
|
146008
|
-
G.key === "ArrowRight" || G.key === "ArrowDown" || G.code === "Space" ? (G.preventDefault(), G.stopPropagation(), R("forward"), m((ie) => Math.min(ie + 1, u.length - 1))) : G.key === "ArrowLeft" || G.key === "ArrowUp" ? (R("backward"), m((ie) => Math.max(ie - 1, 0))) : G.key === "Escape" ? !o && e() : (G.key === "f" || G.key === "F") &&
|
146010
|
+
G.key === "ArrowRight" || G.key === "ArrowDown" || G.code === "Space" ? (G.preventDefault(), G.stopPropagation(), R("forward"), m((ie) => Math.min(ie + 1, u.length - 1))) : G.key === "ArrowLeft" || G.key === "ArrowUp" ? (R("backward"), m((ie) => Math.max(ie - 1, 0))) : G.key === "Escape" ? !o && e() : (G.key === "f" || G.key === "F") && q();
|
146009
146011
|
},
|
146010
|
-
[u.length, e,
|
146012
|
+
[u.length, e, q]
|
146011
146013
|
);
|
146012
146014
|
Be(() => (window.addEventListener("keydown", Z), () => window.removeEventListener("keydown", Z)), [u.length, p]), Be(() => () => {
|
146013
146015
|
H && H.destroy();
|
@@ -146019,7 +146021,7 @@ const t_ = ({
|
|
146019
146021
|
document.removeEventListener("fullscreenchange", G);
|
146020
146022
|
};
|
146021
146023
|
}, [w]);
|
146022
|
-
const
|
146024
|
+
const U = (G) => {
|
146023
146025
|
S(null), M(G.targetTouches[0].clientX);
|
146024
146026
|
}, V = (G) => {
|
146025
146027
|
S(G.targetTouches[0].clientX);
|
@@ -146137,7 +146139,7 @@ const t_ = ({
|
|
146137
146139
|
Nn,
|
146138
146140
|
{
|
146139
146141
|
variant: "ghost",
|
146140
|
-
onClick:
|
146142
|
+
onClick: q,
|
146141
146143
|
icon: n ? "Minimize2" : "Play",
|
146142
146144
|
size: "md"
|
146143
146145
|
}
|
@@ -146179,7 +146181,7 @@ const t_ = ({
|
|
146179
146181
|
{
|
146180
146182
|
content: u[p],
|
146181
146183
|
editor: H,
|
146182
|
-
onTouchStart:
|
146184
|
+
onTouchStart: U,
|
146183
146185
|
onTouchMove: V,
|
146184
146186
|
onTouchEnd: Y,
|
146185
146187
|
isFullscreen: n
|
@@ -146192,7 +146194,7 @@ const t_ = ({
|
|
146192
146194
|
{
|
146193
146195
|
content: u[p],
|
146194
146196
|
editor: H,
|
146195
|
-
onTouchStart:
|
146197
|
+
onTouchStart: U,
|
146196
146198
|
onTouchMove: V,
|
146197
146199
|
onTouchEnd: Y,
|
146198
146200
|
isFullscreen: n
|
@@ -146212,7 +146214,7 @@ const t_ = ({
|
|
146212
146214
|
Nn,
|
146213
146215
|
{
|
146214
146216
|
variant: "ghost",
|
146215
|
-
onClick:
|
146217
|
+
onClick: q,
|
146216
146218
|
icon: "X",
|
146217
146219
|
size: "md"
|
146218
146220
|
}
|
@@ -146360,30 +146362,25 @@ const t_ = ({
|
|
146360
146362
|
connectViaWallet: j,
|
146361
146363
|
isLoading: R,
|
146362
146364
|
connectViaUsername: H,
|
146363
|
-
isDDocOwner:
|
146365
|
+
isDDocOwner: q
|
146364
146366
|
} = Rf(), { isNativeMobile: Z } = tp(), V = i.filter((G) => !G.deleted).filter((G) => m ? !0 : !G.resolved).sort(
|
146365
|
-
(G, ie) => new Date(
|
146367
|
+
(G, ie) => new Date(ie.createdAt).getTime() - new Date(G.createdAt).getTime()
|
146366
146368
|
), Y = (G) => {
|
146367
146369
|
o(G);
|
146368
146370
|
}, ae = aT(s);
|
146369
146371
|
return Be(() => {
|
146370
|
-
if (g.current && r)
|
146371
|
-
|
146372
|
-
|
146373
|
-
|
146374
|
-
|
146375
|
-
G
|
146376
|
-
|
146377
|
-
|
146378
|
-
block: "center"
|
146379
|
-
});
|
146380
|
-
});
|
146381
|
-
} else
|
146382
|
-
g.current.scrollTo({
|
146383
|
-
top: g.current.scrollHeight,
|
146384
|
-
behavior: "smooth"
|
146372
|
+
if (g.current && r && t) {
|
146373
|
+
const G = g.current.querySelector(
|
146374
|
+
`[data-comment-id="${t}"]`
|
146375
|
+
);
|
146376
|
+
G && setTimeout(() => {
|
146377
|
+
G.scrollIntoView({
|
146378
|
+
behavior: "smooth",
|
146379
|
+
block: "center"
|
146385
146380
|
});
|
146386
|
-
|
146381
|
+
});
|
146382
|
+
}
|
146383
|
+
}, [t, g, r]), D ? /* @__PURE__ */ T.jsxs(
|
146387
146384
|
"div",
|
146388
146385
|
{
|
146389
146386
|
className: Se(
|
@@ -146424,7 +146421,7 @@ const t_ = ({
|
|
146424
146421
|
onDelete: S,
|
146425
146422
|
isResolved: G.resolved,
|
146426
146423
|
isDisabled: G && !Object.hasOwn(G, "commentIndex"),
|
146427
|
-
isCommentOwner: G.username === s ||
|
146424
|
+
isCommentOwner: G.username === s || q,
|
146428
146425
|
version: G.version
|
146429
146426
|
}
|
146430
146427
|
),
|
@@ -146514,7 +146511,7 @@ const t_ = ({
|
|
146514
146511
|
/* @__PURE__ */ T.jsx(
|
146515
146512
|
I8,
|
146516
146513
|
{
|
146517
|
-
src: ae.isEns ? oT :
|
146514
|
+
src: ae.isEns ? oT : void 0,
|
146518
146515
|
size: "sm",
|
146519
146516
|
className: "min-w-6"
|
146520
146517
|
}
|
@@ -146918,9 +146915,9 @@ const t_ = ({
|
|
146918
146915
|
inlineCommentData: j,
|
146919
146916
|
enableIndexeddbSync: R,
|
146920
146917
|
ddocId: H,
|
146921
|
-
zoomLevel:
|
146918
|
+
zoomLevel: q,
|
146922
146919
|
setZoomLevel: Z,
|
146923
|
-
isPresentationMode:
|
146920
|
+
isPresentationMode: U,
|
146924
146921
|
setIsPresentationMode: V,
|
146925
146922
|
isNavbarVisible: Y,
|
146926
146923
|
setIsNavbarVisible: ae,
|
@@ -146993,13 +146990,13 @@ const t_ = ({
|
|
146993
146990
|
setIsCommentSectionOpen: S,
|
146994
146991
|
setInlineCommentData: D,
|
146995
146992
|
inlineCommentData: j,
|
146996
|
-
zoomLevel:
|
146993
|
+
zoomLevel: q,
|
146997
146994
|
setZoomLevel: Z,
|
146998
146995
|
isNavbarVisible: Y,
|
146999
146996
|
setIsNavbarVisible: ae,
|
147000
146997
|
onInvalidContentError: J,
|
147001
146998
|
ignoreCorruptedData: be,
|
147002
|
-
isPresentationMode:
|
146999
|
+
isPresentationMode: U,
|
147003
147000
|
proExtensions: C
|
147004
147001
|
});
|
147005
147002
|
o_(
|
@@ -147079,10 +147076,10 @@ const t_ = ({
|
|
147079
147076
|
className: Nt(
|
147080
147077
|
"h-[100vh] bg-[#f8f9fa] w-full overflow-y-auto",
|
147081
147078
|
{
|
147082
|
-
"overflow-x-hidden no-scrollbar":
|
147083
|
-
"overflow-x-auto scroll-container":
|
147079
|
+
"overflow-x-hidden no-scrollbar": q !== "2",
|
147080
|
+
"overflow-x-auto scroll-container": q === "2"
|
147084
147081
|
},
|
147085
|
-
|
147082
|
+
U ? "bg-[#ffffff]" : "bg-[#f8f9fa]",
|
147086
147083
|
pe
|
147087
147084
|
),
|
147088
147085
|
children: [
|
@@ -147094,7 +147091,7 @@ const t_ = ({
|
|
147094
147091
|
"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",
|
147095
147092
|
{
|
147096
147093
|
"translate-y-0": Y,
|
147097
|
-
"translate-y-[-100%]": !Y ||
|
147094
|
+
"translate-y-[-100%]": !Y || U
|
147098
147095
|
}
|
147099
147096
|
),
|
147100
147097
|
children: a == null ? void 0 : a({ editor: rt.getJSON() })
|
@@ -147142,7 +147139,7 @@ const t_ = ({
|
|
147142
147139
|
{
|
147143
147140
|
onError: b,
|
147144
147141
|
editor: rt,
|
147145
|
-
zoomLevel:
|
147142
|
+
zoomLevel: q,
|
147146
147143
|
setZoomLevel: Z,
|
147147
147144
|
isNavbarVisible: Y,
|
147148
147145
|
setIsNavbarVisible: ae,
|
@@ -147153,7 +147150,7 @@ const t_ = ({
|
|
147153
147150
|
) })
|
147154
147151
|
}
|
147155
147152
|
),
|
147156
|
-
|
147153
|
+
U && /* @__PURE__ */ T.jsx(
|
147157
147154
|
E8t,
|
147158
147155
|
{
|
147159
147156
|
editor: rt,
|
@@ -147192,26 +147189,26 @@ const t_ = ({
|
|
147192
147189
|
{ "pt-20 md:!mt-[7.5rem]": Y && !t },
|
147193
147190
|
{ "pt-6 md:!mt-16": !Y && !t },
|
147194
147191
|
{
|
147195
|
-
"max-[1080px]:!mx-auto min-[1081px]:!ml-[18%] min-[1700px]:!mx-auto": L && !xe &&
|
147192
|
+
"max-[1080px]:!mx-auto min-[1081px]:!ml-[18%] min-[1700px]:!mx-auto": L && !xe && q !== "0.5" && q !== "0.75" && q !== "1.4" && q !== "1.5" && q !== "2"
|
147196
147193
|
},
|
147197
147194
|
{
|
147198
|
-
"!mx-auto": !L ||
|
147195
|
+
"!mx-auto": !L || q === "0.5" || q === "0.75" || q === "1.4" || q === "1.5"
|
147199
147196
|
},
|
147200
|
-
{ "!ml-0":
|
147197
|
+
{ "!ml-0": q === "2" && ln && !cn },
|
147201
147198
|
{ "min-h-[83vh]": Y },
|
147202
147199
|
{ "min-h-[90vh]": !Y },
|
147203
|
-
{ "w-[700px] md:max-w-[700px] h-[150%]":
|
147204
|
-
{ "w-[800px] md:max-w-[800px] h-[200%]":
|
147205
|
-
{ "w-[850px] md:max-w-[850px] h-[100%]":
|
147206
|
-
{ "w-[70%] md:max-w-[70%] h-[200%]":
|
147200
|
+
{ "w-[700px] md:max-w-[700px] h-[150%]": q === "0.5" },
|
147201
|
+
{ "w-[800px] md:max-w-[800px] h-[200%]": q === "0.75" },
|
147202
|
+
{ "w-[850px] md:max-w-[850px] h-[100%]": q === "1" },
|
147203
|
+
{ "w-[70%] md:max-w-[70%] h-[200%]": q === "1.4" },
|
147207
147204
|
{
|
147208
|
-
"w-[1062.5px] md:max-w-[1062.5px] h-[100%]":
|
147205
|
+
"w-[1062.5px] md:max-w-[1062.5px] h-[100%]": q === "1.5"
|
147209
147206
|
},
|
147210
|
-
{ "w-[1548px] md:max-w-[1548px]":
|
147207
|
+
{ "w-[1548px] md:max-w-[1548px]": q === "2" }
|
147211
147208
|
),
|
147212
147209
|
style: {
|
147213
|
-
transformOrigin:
|
147214
|
-
transform: `scaleX(${
|
147210
|
+
transformOrigin: q === "2" && !cn ? "left center" : "top center",
|
147211
|
+
transform: `scaleX(${q})`
|
147215
147212
|
},
|
147216
147213
|
children: [
|
147217
147214
|
/* @__PURE__ */ T.jsxs(
|
@@ -147221,11 +147218,11 @@ const t_ = ({
|
|
147221
147218
|
className: Nt(
|
147222
147219
|
"w-full h-full pt-8 md:pt-0",
|
147223
147220
|
{ "custom-ios-padding": Ue },
|
147224
|
-
{ "bg-white":
|
147221
|
+
{ "bg-white": q === "1.4" || "1.5" }
|
147225
147222
|
),
|
147226
147223
|
style: {
|
147227
147224
|
transformOrigin: "top center",
|
147228
|
-
transform: `scaleY(${
|
147225
|
+
transform: `scaleY(${q})`
|
147229
147226
|
},
|
147230
147227
|
children: [
|
147231
147228
|
/* @__PURE__ */ T.jsxs("div", { children: [
|
@@ -147234,7 +147231,7 @@ const t_ = ({
|
|
147234
147231
|
{
|
147235
147232
|
editor: rt,
|
147236
147233
|
onError: b,
|
147237
|
-
zoomLevel:
|
147234
|
+
zoomLevel: q,
|
147238
147235
|
setIsCommentSectionOpen: S,
|
147239
147236
|
inlineCommentData: j,
|
147240
147237
|
setInlineCommentData: D,
|
@@ -147369,7 +147366,7 @@ const t_ = ({
|
|
147369
147366
|
isOpen: ke,
|
147370
147367
|
onClose: () => Re == null ? void 0 : Re(!1),
|
147371
147368
|
isNavbarVisible: Y,
|
147372
|
-
isPresentationMode:
|
147369
|
+
isPresentationMode: U,
|
147373
147370
|
activeCommentId: dn,
|
147374
147371
|
isPreviewMode: t
|
147375
147372
|
}
|
@@ -147422,7 +147419,7 @@ const t_ = ({
|
|
147422
147419
|
editor: j,
|
147423
147420
|
ref: R,
|
147424
147421
|
isContentLoading: H,
|
147425
|
-
ydoc:
|
147422
|
+
ydoc: q
|
147426
147423
|
} = Zse({
|
147427
147424
|
isPreviewMode: t,
|
147428
147425
|
initialContent: e,
|
@@ -147445,9 +147442,9 @@ const t_ = ({
|
|
147445
147442
|
w,
|
147446
147443
|
() => ({
|
147447
147444
|
getEditor: () => j,
|
147448
|
-
getYdoc: () =>
|
147445
|
+
getYdoc: () => q
|
147449
147446
|
}),
|
147450
|
-
[j,
|
147447
|
+
[j, q]
|
147451
147448
|
);
|
147452
147449
|
const Z = (V) => {
|
147453
147450
|
const Y = V.name.split(",").map((ae) => {
|
@@ -147464,7 +147461,7 @@ const t_ = ({
|
|
147464
147461
|
) || G.push(ie);
|
147465
147462
|
}), G;
|
147466
147463
|
});
|
147467
|
-
},
|
147464
|
+
}, U = (V) => {
|
147468
147465
|
b == null || b(
|
147469
147466
|
(Y) => Y.filter((ae) => ae.name !== V)
|
147470
147467
|
);
|
@@ -147483,7 +147480,7 @@ const t_ = ({
|
|
147483
147480
|
f4,
|
147484
147481
|
{
|
147485
147482
|
style: { backgroundColor: V == null ? void 0 : V.color },
|
147486
|
-
onRemove: () =>
|
147483
|
+
onRemove: () => U(V == null ? void 0 : V.name),
|
147487
147484
|
isRemovable: !t,
|
147488
147485
|
className: "!h-6 rounded",
|
147489
147486
|
children: V == null ? void 0 : V.name
|
@@ -147514,7 +147511,7 @@ const t_ = ({
|
|
147514
147511
|
f4,
|
147515
147512
|
{
|
147516
147513
|
style: { backgroundColor: V == null ? void 0 : V.color },
|
147517
|
-
onRemove: () =>
|
147514
|
+
onRemove: () => U(V == null ? void 0 : V.name),
|
147518
147515
|
isRemovable: !t,
|
147519
147516
|
className: "!h-6 rounded",
|
147520
147517
|
children: V == null ? void 0 : V.name
|