@fileverse-dev/ddoc 2.2.1-alpha-2 → 2.2.1-alpha-3
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.
@@ -90,7 +90,7 @@ function Cre() {
|
|
90
90
|
function H(R) {
|
91
91
|
return R.displayName || "Context";
|
92
92
|
}
|
93
|
-
function
|
93
|
+
function _(R) {
|
94
94
|
if (R == null)
|
95
95
|
return null;
|
96
96
|
if (typeof R.tag == "number" && k("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof R == "function")
|
@@ -123,11 +123,11 @@ function Cre() {
|
|
123
123
|
return z(R, R.render, "ForwardRef");
|
124
124
|
case d:
|
125
125
|
var Fe = R.displayName || null;
|
126
|
-
return Fe !== null ? Fe :
|
126
|
+
return Fe !== null ? Fe : _(R.type) || "Memo";
|
127
127
|
case f: {
|
128
128
|
var ut = R, pt = ut._payload, rt = ut._init;
|
129
129
|
try {
|
130
|
-
return
|
130
|
+
return _(rt(pt));
|
131
131
|
} catch {
|
132
132
|
return null;
|
133
133
|
}
|
@@ -135,13 +135,13 @@ function Cre() {
|
|
135
135
|
}
|
136
136
|
return null;
|
137
137
|
}
|
138
|
-
var F = Object.assign,
|
138
|
+
var F = Object.assign, V = 0, W, K, Y, Z, le, te, se;
|
139
139
|
function fe() {
|
140
140
|
}
|
141
141
|
fe.__reactDisabledLog = !0;
|
142
142
|
function he() {
|
143
143
|
{
|
144
|
-
if (
|
144
|
+
if (V === 0) {
|
145
145
|
W = console.log, K = console.info, Y = console.warn, Z = console.error, le = console.group, te = console.groupCollapsed, se = console.groupEnd;
|
146
146
|
var R = {
|
147
147
|
configurable: !0,
|
@@ -159,12 +159,12 @@ function Cre() {
|
|
159
159
|
groupEnd: R
|
160
160
|
});
|
161
161
|
}
|
162
|
-
|
162
|
+
V++;
|
163
163
|
}
|
164
164
|
}
|
165
165
|
function J() {
|
166
166
|
{
|
167
|
-
if (
|
167
|
+
if (V--, V === 0) {
|
168
168
|
var R = {
|
169
169
|
configurable: !0,
|
170
170
|
enumerable: !0,
|
@@ -194,7 +194,7 @@ function Cre() {
|
|
194
194
|
})
|
195
195
|
});
|
196
196
|
}
|
197
|
-
|
197
|
+
V < 0 && k("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
198
198
|
}
|
199
199
|
}
|
200
200
|
var G = v.ReactCurrentDispatcher, pe;
|
@@ -484,7 +484,7 @@ function Cre() {
|
|
484
484
|
function Dt() {
|
485
485
|
{
|
486
486
|
if (et.current) {
|
487
|
-
var R =
|
487
|
+
var R = _(et.current.type);
|
488
488
|
if (R)
|
489
489
|
return `
|
490
490
|
|
@@ -519,7 +519,7 @@ Check the top-level render call using <` + Me + ">.");
|
|
519
519
|
return;
|
520
520
|
Ct[Me] = !0;
|
521
521
|
var Fe = "";
|
522
|
-
R && R._owner && R._owner !== et.current && (Fe = " It was passed a child from " +
|
522
|
+
R && R._owner && R._owner !== et.current && (Fe = " It was passed a child from " + _(R._owner.type) + "."), $e(R), k('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', Me, Fe), $e(null);
|
523
523
|
}
|
524
524
|
}
|
525
525
|
function yn(R, de) {
|
@@ -556,11 +556,11 @@ Check the top-level render call using <` + Me + ">.");
|
|
556
556
|
else
|
557
557
|
return;
|
558
558
|
if (Me) {
|
559
|
-
var Fe =
|
559
|
+
var Fe = _(de);
|
560
560
|
S(Me, R.props, "prop", Fe, R);
|
561
561
|
} else if (de.PropTypes !== void 0 && !yt) {
|
562
562
|
yt = !0;
|
563
|
-
var ut =
|
563
|
+
var ut = _(de);
|
564
564
|
k("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", ut || "Unknown");
|
565
565
|
}
|
566
566
|
typeof de.getDefaultProps == "function" && !de.getDefaultProps.isReactClassApproved && k("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
@@ -588,7 +588,7 @@ Check the top-level render call using <` + Me + ">.");
|
|
588
588
|
var Ie = Ut();
|
589
589
|
Ie ? De += Ie : De += Dt();
|
590
590
|
var ee;
|
591
|
-
R === null ? ee = "null" : O(R) ? ee = "array" : R !== void 0 && R.$$typeof === e ? (ee = "<" + (
|
591
|
+
R === null ? ee = "null" : O(R) ? ee = "array" : R !== void 0 && R.$$typeof === e ? (ee = "<" + (_(R.type) || "Unknown") + " />", De = " Did you accidentally export a JSX literal instead of a component?") : ee = typeof R, k("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", ee, De);
|
592
592
|
}
|
593
593
|
var Ce = nt(R, de, Me, ut, pt);
|
594
594
|
if (Ce == null)
|
@@ -607,7 +607,7 @@ Check the top-level render call using <` + Me + ">.");
|
|
607
607
|
yn(Ge, R);
|
608
608
|
}
|
609
609
|
if (X.call(de, "key")) {
|
610
|
-
var an =
|
610
|
+
var an = _(R), jt = Object.keys(de).filter(function(ks) {
|
611
611
|
return ks !== "key";
|
612
612
|
}), Vn = jt.length > 0 ? "{key: someKey, " + jt.join(": ..., ") + ": ...}" : "{key: someKey}";
|
613
613
|
if (!ti[an + Vn]) {
|
@@ -13131,8 +13131,8 @@ function tT(t) {
|
|
13131
13131
|
y: m
|
13132
13132
|
};
|
13133
13133
|
if (h = H.x, m = H.y, l) {
|
13134
|
-
var
|
13135
|
-
return Object.assign({}, z, (
|
13134
|
+
var _;
|
13135
|
+
return Object.assign({}, z, (_ = {}, _[b] = k ? "0" : "", _[w] = v ? "0" : "", _.transform = (x.devicePixelRatio || 1) <= 1 ? "translate(" + h + "px, " + m + "px)" : "translate3d(" + h + "px, " + m + "px, 0)", _));
|
13136
13136
|
}
|
13137
13137
|
return Object.assign({}, z, (e = {}, e[b] = k ? m + "px" : "", e[w] = v ? h + "px" : "", e.transform = "", e));
|
13138
13138
|
}
|
@@ -13346,9 +13346,9 @@ function Dh(t, e) {
|
|
13346
13346
|
}, z = t.modifiersData.offset;
|
13347
13347
|
if (f === ef && z) {
|
13348
13348
|
var H = z[i];
|
13349
|
-
Object.keys(D).forEach(function(
|
13350
|
-
var F = [Na, ja].indexOf(
|
13351
|
-
D[
|
13349
|
+
Object.keys(D).forEach(function(_) {
|
13350
|
+
var F = [Na, ja].indexOf(_) >= 0 ? 1 : -1, V = [Ni, ja].indexOf(_) >= 0 ? "y" : "x";
|
13351
|
+
D[_] += H[V] * F;
|
13352
13352
|
});
|
13353
13353
|
}
|
13354
13354
|
return D;
|
@@ -13392,14 +13392,14 @@ function Rle(t) {
|
|
13392
13392
|
allowedAutoPlacements: m
|
13393
13393
|
}) : J);
|
13394
13394
|
}, []), x = e.rects.reference, C = e.rects.popper, A = /* @__PURE__ */ new Map(), M = !0, j = b[0], D = 0; D < b.length; D++) {
|
13395
|
-
var z = b[D], H = Uo(z),
|
13395
|
+
var z = b[D], H = Uo(z), _ = F1(z) === O1, F = [Ni, ja].indexOf(H) >= 0, V = F ? "width" : "height", W = Dh(e, {
|
13396
13396
|
placement: z,
|
13397
13397
|
boundary: u,
|
13398
13398
|
rootBoundary: d,
|
13399
13399
|
altBoundary: f,
|
13400
13400
|
padding: c
|
13401
|
-
}), K = F ?
|
13402
|
-
x[
|
13401
|
+
}), K = F ? _ ? Na : Di : _ ? ja : Ni;
|
13402
|
+
x[V] > C[V] && (K = R4(K));
|
13403
13403
|
var Y = R4(K), Z = [];
|
13404
13404
|
if (a && Z.push(W[H] <= 0), s && Z.push(W[K] <= 0, W[Y] <= 0), Z.every(function(he) {
|
13405
13405
|
return he;
|
@@ -13539,10 +13539,10 @@ function Zle(t) {
|
|
13539
13539
|
};
|
13540
13540
|
if (C) {
|
13541
13541
|
if (a) {
|
13542
|
-
var
|
13542
|
+
var _, F = b === "y" ? Ni : Di, V = b === "y" ? ja : Na, W = b === "y" ? "height" : "width", K = C[b], Y = K + g[F], Z = K - g[V], le = h ? -M[W] / 2 : 0, te = k === O1 ? A[W] : M[W], se = k === O1 ? -M[W] : -A[W], fe = e.elements.arrow, he = h && fe ? Lx(fe) : {
|
13543
13543
|
width: 0,
|
13544
13544
|
height: 0
|
13545
|
-
}, J = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : JH(), G = J[F], pe = J[
|
13545
|
+
}, J = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : JH(), G = J[F], pe = J[V], ye = Zf(0, A[W], he[W]), ze = w ? A[W] / 2 - le - ye - G - D.mainAxis : te - ye - G - D.mainAxis, Ee = w ? -A[W] / 2 + le + ye + pe + D.mainAxis : se + ye + pe + D.mainAxis, ge = e.elements.arrow && rp(e.elements.arrow), Se = ge ? b === "y" ? ge.clientTop || 0 : ge.clientLeft || 0 : 0, xe = (_ = z == null ? void 0 : z[b]) != null ? _ : 0, ae = K + ze - xe - Se, $ = K + Ee - xe, X = Zf(h ? Cy(Y, ae) : Y, K, h ? Iu(Z, $) : Z);
|
13546
13546
|
C[b] = X, H[b] = X - K;
|
13547
13547
|
}
|
13548
13548
|
if (s) {
|
@@ -14169,14 +14169,14 @@ function Dce(t, e) {
|
|
14169
14169
|
var me;
|
14170
14170
|
return !!((me = b.props.render) != null && me.$$tippy);
|
14171
14171
|
}
|
14172
|
-
function
|
14172
|
+
function _() {
|
14173
14173
|
return m || t;
|
14174
14174
|
}
|
14175
14175
|
function F() {
|
14176
|
-
var me =
|
14176
|
+
var me = _().parentNode;
|
14177
14177
|
return me ? yce(me) : document;
|
14178
14178
|
}
|
14179
|
-
function
|
14179
|
+
function V() {
|
14180
14180
|
return E7(C);
|
14181
14181
|
}
|
14182
14182
|
function W(me) {
|
@@ -14212,7 +14212,7 @@ function Dce(t, e) {
|
|
14212
14212
|
if (!(j || !b.props.aria.expanded)) {
|
14213
14213
|
var me = K0(b.props.triggerTarget || t);
|
14214
14214
|
me.forEach(function(Ve) {
|
14215
|
-
b.props.interactive ? Ve.setAttribute("aria-expanded", b.state.isVisible && Ve ===
|
14215
|
+
b.props.interactive ? Ve.setAttribute("aria-expanded", b.state.isVisible && Ve === _() ? "true" : "false") : Ve.removeAttribute("aria-expanded");
|
14216
14216
|
});
|
14217
14217
|
}
|
14218
14218
|
}
|
@@ -14261,7 +14261,7 @@ function Dce(t, e) {
|
|
14261
14261
|
ze(me, Ve);
|
14262
14262
|
}
|
14263
14263
|
function ze(me, Ve) {
|
14264
|
-
var Ae =
|
14264
|
+
var Ae = V().box;
|
14265
14265
|
function nt(et) {
|
14266
14266
|
et.target === Ae && (Q5(Ae, "remove", nt), Ve());
|
14267
14267
|
}
|
@@ -14317,7 +14317,7 @@ function Dce(t, e) {
|
|
14317
14317
|
}
|
14318
14318
|
}
|
14319
14319
|
function ae(me) {
|
14320
|
-
var Ve = me.target, Ae =
|
14320
|
+
var Ve = me.target, Ae = _().contains(Ve) || C.contains(Ve);
|
14321
14321
|
if (!(me.type === "mousemove" && Ae)) {
|
14322
14322
|
var nt = P().concat(C).map(function(et) {
|
14323
14323
|
var Oe, $e = et._tippy, yt = (Oe = $e.popperInstance) == null ? void 0 : Oe.state;
|
@@ -14341,7 +14341,7 @@ function Dce(t, e) {
|
|
14341
14341
|
}
|
14342
14342
|
}
|
14343
14343
|
function X(me) {
|
14344
|
-
b.props.trigger.indexOf("focusin") < 0 && me.target !==
|
14344
|
+
b.props.trigger.indexOf("focusin") < 0 && me.target !== _() || b.props.interactive && me.relatedTarget && C.contains(me.relatedTarget) || re(me);
|
14345
14345
|
}
|
14346
14346
|
function oe(me) {
|
14347
14347
|
return jo.isTouch ? z() !== me.type.indexOf("touch") >= 0 : !1;
|
@@ -14350,7 +14350,7 @@ function Dce(t, e) {
|
|
14350
14350
|
U();
|
14351
14351
|
var me = b.props, Ve = me.popperOptions, Ae = me.placement, nt = me.offset, et = me.getReferenceClientRect, Oe = me.moveTransition, $e = H() ? E7(C).arrow : null, yt = et ? {
|
14352
14352
|
getBoundingClientRect: et,
|
14353
|
-
contextElement: et.contextElement ||
|
14353
|
+
contextElement: et.contextElement || _()
|
14354
14354
|
} : t, ct = {
|
14355
14355
|
name: "$$tippy",
|
14356
14356
|
enabled: !0,
|
@@ -14359,7 +14359,7 @@ function Dce(t, e) {
|
|
14359
14359
|
fn: function(Ct) {
|
14360
14360
|
var rn = Ct.state;
|
14361
14361
|
if (H()) {
|
14362
|
-
var dt =
|
14362
|
+
var dt = V(), yn = dt.box;
|
14363
14363
|
["placement", "reference-hidden", "escaped"].forEach(function(An) {
|
14364
14364
|
An === "placement" ? yn.setAttribute("data-placement", rn.placement) : rn.attributes.popper["data-popper-" + An] ? yn.setAttribute("data-" + An, "") : yn.removeAttribute("data-" + An);
|
14365
14365
|
}), rn.attributes.popper = {};
|
@@ -14407,7 +14407,7 @@ function Dce(t, e) {
|
|
14407
14407
|
b.popperInstance && (b.popperInstance.destroy(), b.popperInstance = null);
|
14408
14408
|
}
|
14409
14409
|
function S() {
|
14410
|
-
var me = b.props.appendTo, Ve, Ae =
|
14410
|
+
var me = b.props.appendTo, Ve, Ae = _();
|
14411
14411
|
b.props.interactive && me === aF || me === "parent" ? Ve = Ae.parentNode : Ve = oF(me, [Ae]), Ve.contains(C) || Ve.appendChild(C), b.state.isMounted = !0, Re(), process.env.NODE_ENV !== "production" && Is(b.props.interactive && me === Yi.appendTo && Ae.nextElementSibling !== C, ["Interactive tippy element may not be accessible via keyboard", "navigation because it is not directly after the reference element", "in the DOM source order.", `
|
14412
14412
|
|
14413
14413
|
`, "Using a wrapper <div> or <span> tag around the reference element", "solves this by creating a new parentNode context.", `
|
@@ -14470,16 +14470,16 @@ function Dce(t, e) {
|
|
14470
14470
|
function Ye() {
|
14471
14471
|
process.env.NODE_ENV !== "production" && Is(b.state.isDestroyed, I0("show"));
|
14472
14472
|
var me = b.state.isVisible, Ve = b.state.isDestroyed, Ae = !b.state.isEnabled, nt = jo.isTouch && !b.props.touch, et = $5(b.props.duration, 0, Yi.duration);
|
14473
|
-
if (!(me || Ve || Ae || nt) && !
|
14473
|
+
if (!(me || Ve || Ae || nt) && !_().hasAttribute("disabled") && (Y("onShow", [b], !1), b.props.onShow(b) !== !1)) {
|
14474
14474
|
if (b.state.isVisible = !0, H() && (C.style.visibility = "visible"), K(), J(), b.state.isMounted || (C.style.transition = "none"), H()) {
|
14475
|
-
var Oe =
|
14475
|
+
var Oe = V(), $e = Oe.box, yt = Oe.content;
|
14476
14476
|
J5([$e, yt], 0);
|
14477
14477
|
}
|
14478
14478
|
f = function() {
|
14479
14479
|
var Dt;
|
14480
14480
|
if (!(!b.state.isVisible || c)) {
|
14481
14481
|
if (c = !0, C.offsetHeight, C.style.transition = b.props.moveTransition, H() && b.props.animation) {
|
14482
|
-
var Ut =
|
14482
|
+
var Ut = V(), Ct = Ut.box, rn = Ut.content;
|
14483
14483
|
J5([Ct, rn], et), dT([Ct, rn], "visible");
|
14484
14484
|
}
|
14485
14485
|
Z(), le(), cT(X5, b), (Dt = b.popperInstance) == null || Dt.forceUpdate(), Y("onMount", [b]), b.props.animation && H() && ye(et, function() {
|
@@ -14494,7 +14494,7 @@ function Dce(t, e) {
|
|
14494
14494
|
var me = !b.state.isVisible, Ve = b.state.isDestroyed, Ae = !b.state.isEnabled, nt = $5(b.props.duration, 1, Yi.duration);
|
14495
14495
|
if (!(me || Ve || Ae) && (Y("onHide", [b], !1), b.props.onHide(b) !== !1)) {
|
14496
14496
|
if (b.state.isVisible = !1, b.state.isShown = !1, c = !1, o = !1, H() && (C.style.visibility = "hidden"), te(), G(), K(!0), H()) {
|
14497
|
-
var et =
|
14497
|
+
var et = V(), Oe = et.box, $e = et.content;
|
14498
14498
|
b.props.animation && (J5([Oe, $e], nt), dT([Oe, $e], "hidden"));
|
14499
14499
|
}
|
14500
14500
|
Z(), le(), b.props.animation ? H() && pe(nt, b.unmount) : b.unmount();
|
@@ -15064,16 +15064,16 @@ function Zce() {
|
|
15064
15064
|
var x = !1, C, A, M = function(H) {
|
15065
15065
|
if (!x) {
|
15066
15066
|
x = !0, C = H;
|
15067
|
-
var
|
15067
|
+
var _ = h(H);
|
15068
15068
|
if (p !== void 0 && g.hasValue) {
|
15069
15069
|
var F = g.value;
|
15070
|
-
if (p(F,
|
15070
|
+
if (p(F, _))
|
15071
15071
|
return A = F, F;
|
15072
15072
|
}
|
15073
|
-
return A =
|
15073
|
+
return A = _, _;
|
15074
15074
|
}
|
15075
|
-
var
|
15076
|
-
if (r(
|
15075
|
+
var V = C, W = A;
|
15076
|
+
if (r(V, H))
|
15077
15077
|
return W;
|
15078
15078
|
var K = h(H);
|
15079
15079
|
return p !== void 0 && p(W, K) ? W : (C = H, A = K, K);
|
@@ -15638,7 +15638,7 @@ function aue() {
|
|
15638
15638
|
function H(R) {
|
15639
15639
|
return R.displayName || "Context";
|
15640
15640
|
}
|
15641
|
-
function
|
15641
|
+
function _(R) {
|
15642
15642
|
if (R == null)
|
15643
15643
|
return null;
|
15644
15644
|
if (typeof R.tag == "number" && k("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof R == "function")
|
@@ -15671,11 +15671,11 @@ function aue() {
|
|
15671
15671
|
return z(R, R.render, "ForwardRef");
|
15672
15672
|
case d:
|
15673
15673
|
var Fe = R.displayName || null;
|
15674
|
-
return Fe !== null ? Fe :
|
15674
|
+
return Fe !== null ? Fe : _(R.type) || "Memo";
|
15675
15675
|
case f: {
|
15676
15676
|
var ut = R, pt = ut._payload, rt = ut._init;
|
15677
15677
|
try {
|
15678
|
-
return
|
15678
|
+
return _(rt(pt));
|
15679
15679
|
} catch {
|
15680
15680
|
return null;
|
15681
15681
|
}
|
@@ -15683,13 +15683,13 @@ function aue() {
|
|
15683
15683
|
}
|
15684
15684
|
return null;
|
15685
15685
|
}
|
15686
|
-
var F = Object.assign,
|
15686
|
+
var F = Object.assign, V = 0, W, K, Y, Z, le, te, se;
|
15687
15687
|
function fe() {
|
15688
15688
|
}
|
15689
15689
|
fe.__reactDisabledLog = !0;
|
15690
15690
|
function he() {
|
15691
15691
|
{
|
15692
|
-
if (
|
15692
|
+
if (V === 0) {
|
15693
15693
|
W = console.log, K = console.info, Y = console.warn, Z = console.error, le = console.group, te = console.groupCollapsed, se = console.groupEnd;
|
15694
15694
|
var R = {
|
15695
15695
|
configurable: !0,
|
@@ -15707,12 +15707,12 @@ function aue() {
|
|
15707
15707
|
groupEnd: R
|
15708
15708
|
});
|
15709
15709
|
}
|
15710
|
-
|
15710
|
+
V++;
|
15711
15711
|
}
|
15712
15712
|
}
|
15713
15713
|
function J() {
|
15714
15714
|
{
|
15715
|
-
if (
|
15715
|
+
if (V--, V === 0) {
|
15716
15716
|
var R = {
|
15717
15717
|
configurable: !0,
|
15718
15718
|
enumerable: !0,
|
@@ -15742,7 +15742,7 @@ function aue() {
|
|
15742
15742
|
})
|
15743
15743
|
});
|
15744
15744
|
}
|
15745
|
-
|
15745
|
+
V < 0 && k("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
15746
15746
|
}
|
15747
15747
|
}
|
15748
15748
|
var G = v.ReactCurrentDispatcher, pe;
|
@@ -16032,7 +16032,7 @@ function aue() {
|
|
16032
16032
|
function Dt() {
|
16033
16033
|
{
|
16034
16034
|
if (et.current) {
|
16035
|
-
var R =
|
16035
|
+
var R = _(et.current.type);
|
16036
16036
|
if (R)
|
16037
16037
|
return `
|
16038
16038
|
|
@@ -16067,7 +16067,7 @@ Check the top-level render call using <` + Me + ">.");
|
|
16067
16067
|
return;
|
16068
16068
|
Ct[Me] = !0;
|
16069
16069
|
var Fe = "";
|
16070
|
-
R && R._owner && R._owner !== et.current && (Fe = " It was passed a child from " +
|
16070
|
+
R && R._owner && R._owner !== et.current && (Fe = " It was passed a child from " + _(R._owner.type) + "."), $e(R), k('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', Me, Fe), $e(null);
|
16071
16071
|
}
|
16072
16072
|
}
|
16073
16073
|
function yn(R, de) {
|
@@ -16104,11 +16104,11 @@ Check the top-level render call using <` + Me + ">.");
|
|
16104
16104
|
else
|
16105
16105
|
return;
|
16106
16106
|
if (Me) {
|
16107
|
-
var Fe =
|
16107
|
+
var Fe = _(de);
|
16108
16108
|
S(Me, R.props, "prop", Fe, R);
|
16109
16109
|
} else if (de.PropTypes !== void 0 && !yt) {
|
16110
16110
|
yt = !0;
|
16111
|
-
var ut =
|
16111
|
+
var ut = _(de);
|
16112
16112
|
k("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", ut || "Unknown");
|
16113
16113
|
}
|
16114
16114
|
typeof de.getDefaultProps == "function" && !de.getDefaultProps.isReactClassApproved && k("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
@@ -16136,7 +16136,7 @@ Check the top-level render call using <` + Me + ">.");
|
|
16136
16136
|
var Ie = Ut();
|
16137
16137
|
Ie ? De += Ie : De += Dt();
|
16138
16138
|
var ee;
|
16139
|
-
R === null ? ee = "null" : O(R) ? ee = "array" : R !== void 0 && R.$$typeof === e ? (ee = "<" + (
|
16139
|
+
R === null ? ee = "null" : O(R) ? ee = "array" : R !== void 0 && R.$$typeof === e ? (ee = "<" + (_(R.type) || "Unknown") + " />", De = " Did you accidentally export a JSX literal instead of a component?") : ee = typeof R, k("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", ee, De);
|
16140
16140
|
}
|
16141
16141
|
var Ce = nt(R, de, Me, ut, pt);
|
16142
16142
|
if (Ce == null)
|
@@ -16155,7 +16155,7 @@ Check the top-level render call using <` + Me + ">.");
|
|
16155
16155
|
yn(Ge, R);
|
16156
16156
|
}
|
16157
16157
|
if (X.call(de, "key")) {
|
16158
|
-
var an =
|
16158
|
+
var an = _(R), jt = Object.keys(de).filter(function(ks) {
|
16159
16159
|
return ks !== "key";
|
16160
16160
|
}), Vn = jt.length > 0 ? "{key: someKey, " + jt.join(": ..., ") + ": ...}" : "{key: someKey}";
|
16161
16161
|
if (!ti[an + Vn]) {
|
@@ -16510,7 +16510,7 @@ function zue(t) {
|
|
16510
16510
|
return Aue.test(t);
|
16511
16511
|
}
|
16512
16512
|
function Rue() {
|
16513
|
-
const t = xn("colors"), e = xn("spacing"), n = xn("blur"), r = xn("brightness"), i = xn("borderColor"), a = xn("borderRadius"), o = xn("borderSpacing"), s = xn("borderWidth"), l = xn("contrast"), c = xn("grayscale"), u = xn("hueRotate"), d = xn("invert"), f = xn("gap"), h = xn("gradientColorStops"), p = xn("gradientColorStopPositions"), m = xn("inset"), g = xn("margin"), v = xn("opacity"), k = xn("padding"), w = xn("saturate"), b = xn("scale"), x = xn("sepia"), C = xn("skew"), A = xn("space"), M = xn("translate"), j = () => ["auto", "contain", "none"], D = () => ["auto", "hidden", "clip", "visible", "scroll"], z = () => ["auto", _t, e], H = () => [_t, e],
|
16513
|
+
const t = xn("colors"), e = xn("spacing"), n = xn("blur"), r = xn("brightness"), i = xn("borderColor"), a = xn("borderRadius"), o = xn("borderSpacing"), s = xn("borderWidth"), l = xn("contrast"), c = xn("grayscale"), u = xn("hueRotate"), d = xn("invert"), f = xn("gap"), h = xn("gradientColorStops"), p = xn("gradientColorStopPositions"), m = xn("inset"), g = xn("margin"), v = xn("opacity"), k = xn("padding"), w = xn("saturate"), b = xn("scale"), x = xn("sepia"), C = xn("skew"), A = xn("space"), M = xn("translate"), j = () => ["auto", "contain", "none"], D = () => ["auto", "hidden", "clip", "visible", "scroll"], z = () => ["auto", _t, e], H = () => [_t, e], _ = () => ["", Ms, Dl], F = () => ["auto", xu, _t], V = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], W = () => ["solid", "dashed", "dotted", "double", "none"], K = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], Y = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], Z = () => ["", "0", _t], le = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], te = () => [xu, gm], se = () => [xu, _t];
|
16514
16514
|
return {
|
16515
16515
|
cacheSize: 500,
|
16516
16516
|
separator: ":",
|
@@ -16522,7 +16522,7 @@ function Rue() {
|
|
16522
16522
|
borderColor: [t],
|
16523
16523
|
borderRadius: ["none", "", "full", Il, _t],
|
16524
16524
|
borderSpacing: H(),
|
16525
|
-
borderWidth:
|
16525
|
+
borderWidth: _(),
|
16526
16526
|
contrast: te(),
|
16527
16527
|
grayscale: Z(),
|
16528
16528
|
hueRotate: se(),
|
@@ -16633,7 +16633,7 @@ function Rue() {
|
|
16633
16633
|
* @see https://tailwindcss.com/docs/object-position
|
16634
16634
|
*/
|
16635
16635
|
"object-position": [{
|
16636
|
-
object: [...
|
16636
|
+
object: [...V(), _t]
|
16637
16637
|
}],
|
16638
16638
|
/**
|
16639
16639
|
* Overflow
|
@@ -17442,7 +17442,7 @@ function Rue() {
|
|
17442
17442
|
* @see https://tailwindcss.com/docs/background-position
|
17443
17443
|
*/
|
17444
17444
|
"bg-position": [{
|
17445
|
-
bg: [...
|
17445
|
+
bg: [...V(), Tue]
|
17446
17446
|
}],
|
17447
17447
|
/**
|
17448
17448
|
* Background Repeat
|
@@ -17828,7 +17828,7 @@ function Rue() {
|
|
17828
17828
|
* @see https://tailwindcss.com/docs/ring-width
|
17829
17829
|
*/
|
17830
17830
|
"ring-w": [{
|
17831
|
-
ring:
|
17831
|
+
ring: _()
|
17832
17832
|
}],
|
17833
17833
|
/**
|
17834
17834
|
* Ring Width Inset
|
@@ -44466,12 +44466,12 @@ const sat = (t) => ({
|
|
44466
44466
|
}, h = Ux(i), p = qx(h), m = await o.getDimensions(c), g = h === "y", v = g ? "top" : "left", k = g ? "bottom" : "right", w = g ? "clientHeight" : "clientWidth", b = a.reference[p] + a.reference[h] - f[h] - a.floating[p], x = f[h] - a.reference[h], C = await (o.getOffsetParent == null ? void 0 : o.getOffsetParent(c));
|
44467
44467
|
let A = C ? C[w] : 0;
|
44468
44468
|
(!A || !await (o.isElement == null ? void 0 : o.isElement(C))) && (A = s.floating[w] || a.floating[p]);
|
44469
|
-
const M = b / 2 - x / 2, j = A / 2 - m[p] / 2 - 1, D = Ro(d[v], j), z = Ro(d[k], j), H = D,
|
44469
|
+
const M = b / 2 - x / 2, j = A / 2 - m[p] / 2 - 1, D = Ro(d[v], j), z = Ro(d[k], j), H = D, _ = A - m[p] - z, F = A / 2 - m[p] / 2 + M, V = B7(H, F, _), W = !l.arrow && Md(i) != null && F !== V && a.reference[p] / 2 - (F < H ? D : z) - m[p] / 2 < 0, K = W ? F < H ? F - H : F - _ : 0;
|
44470
44470
|
return {
|
44471
44471
|
[h]: f[h] + K,
|
44472
44472
|
data: {
|
44473
|
-
[h]:
|
44474
|
-
centerOffset: F -
|
44473
|
+
[h]: V,
|
44474
|
+
centerOffset: F - V - K,
|
44475
44475
|
...W && {
|
44476
44476
|
alignmentOffset: K
|
44477
44477
|
}
|
@@ -44516,23 +44516,23 @@ const sat = (t) => ({
|
|
44516
44516
|
overflows: j
|
44517
44517
|
}], !j.every((F) => F <= 0)) {
|
44518
44518
|
var z, H;
|
44519
|
-
const F = (((z = a.flip) == null ? void 0 : z.index) || 0) + 1,
|
44520
|
-
if (
|
44519
|
+
const F = (((z = a.flip) == null ? void 0 : z.index) || 0) + 1, V = A[F];
|
44520
|
+
if (V)
|
44521
44521
|
return {
|
44522
44522
|
data: {
|
44523
44523
|
index: F,
|
44524
44524
|
overflows: D
|
44525
44525
|
},
|
44526
44526
|
reset: {
|
44527
|
-
placement:
|
44527
|
+
placement: V
|
44528
44528
|
}
|
44529
44529
|
};
|
44530
44530
|
let W = (H = D.filter((K) => K.overflows[0] <= 0).sort((K, Y) => K.overflows[1] - Y.overflows[1])[0]) == null ? void 0 : H.placement;
|
44531
44531
|
if (!W)
|
44532
44532
|
switch (h) {
|
44533
44533
|
case "bestFit": {
|
44534
|
-
var
|
44535
|
-
const K = (
|
44534
|
+
var _;
|
44535
|
+
const K = (_ = D.filter((Y) => {
|
44536
44536
|
if (C) {
|
44537
44537
|
const Z = vc(Y.placement);
|
44538
44538
|
return Z === k || // Create a bias to the `y` side axis due to horizontal
|
@@ -44540,7 +44540,7 @@ const sat = (t) => ({
|
|
44540
44540
|
Z === "y";
|
44541
44541
|
}
|
44542
44542
|
return !0;
|
44543
|
-
}).map((Y) => [Y.placement, Y.overflows.filter((Z) => Z > 0).reduce((Z, le) => Z + le, 0)]).sort((Y, Z) => Y[1] - Z[1])[0]) == null ? void 0 :
|
44543
|
+
}).map((Y) => [Y.placement, Y.overflows.filter((Z) => Z > 0).reduce((Z, le) => Z + le, 0)]).sort((Y, Z) => Y[1] - Z[1])[0]) == null ? void 0 : _[0];
|
44544
44544
|
K && (W = K);
|
44545
44545
|
break;
|
44546
44546
|
}
|
@@ -45336,7 +45336,7 @@ function Fat(t) {
|
|
45336
45336
|
...Y,
|
45337
45337
|
isPositioned: !0
|
45338
45338
|
};
|
45339
|
-
|
45339
|
+
_.current && !Ty(M.current, Z) && (M.current = Z, bd.flushSync(() => {
|
45340
45340
|
d(Z);
|
45341
45341
|
}));
|
45342
45342
|
});
|
@@ -45347,9 +45347,9 @@ function Fat(t) {
|
|
45347
45347
|
isPositioned: !1
|
45348
45348
|
})));
|
45349
45349
|
}, [c]);
|
45350
|
-
const
|
45351
|
-
O4(() => (
|
45352
|
-
|
45350
|
+
const _ = N.useRef(!1);
|
45351
|
+
O4(() => (_.current = !0, () => {
|
45352
|
+
_.current = !1;
|
45353
45353
|
}), []), O4(() => {
|
45354
45354
|
if (b && (C.current = b), x && (A.current = x), b && x) {
|
45355
45355
|
if (D.current)
|
@@ -45362,7 +45362,7 @@ function Fat(t) {
|
|
45362
45362
|
floating: A,
|
45363
45363
|
setReference: k,
|
45364
45364
|
setFloating: w
|
45365
|
-
}), [k, w]),
|
45365
|
+
}), [k, w]), V = N.useMemo(() => ({
|
45366
45366
|
reference: b,
|
45367
45367
|
floating: x
|
45368
45368
|
}), [b, x]), W = N.useMemo(() => {
|
@@ -45371,13 +45371,13 @@ function Fat(t) {
|
|
45371
45371
|
left: 0,
|
45372
45372
|
top: 0
|
45373
45373
|
};
|
45374
|
-
if (!
|
45374
|
+
if (!V.floating)
|
45375
45375
|
return K;
|
45376
|
-
const Y = FT(
|
45376
|
+
const Y = FT(V.floating, u.x), Z = FT(V.floating, u.y);
|
45377
45377
|
return s ? {
|
45378
45378
|
...K,
|
45379
45379
|
transform: "translate(" + Y + "px, " + Z + "px)",
|
45380
|
-
...QF(
|
45380
|
+
...QF(V.floating) >= 1.5 && {
|
45381
45381
|
willChange: "transform"
|
45382
45382
|
}
|
45383
45383
|
} : {
|
@@ -45385,14 +45385,14 @@ function Fat(t) {
|
|
45385
45385
|
left: Y,
|
45386
45386
|
top: Z
|
45387
45387
|
};
|
45388
|
-
}, [n, s,
|
45388
|
+
}, [n, s, V.floating, u.x, u.y]);
|
45389
45389
|
return N.useMemo(() => ({
|
45390
45390
|
...u,
|
45391
45391
|
update: H,
|
45392
45392
|
refs: F,
|
45393
|
-
elements:
|
45393
|
+
elements: V,
|
45394
45394
|
floatingStyles: W
|
45395
|
-
}), [u, H, F,
|
45395
|
+
}), [u, H, F, V, W]);
|
45396
45396
|
}
|
45397
45397
|
const _at = (t) => {
|
45398
45398
|
function e(n) {
|
@@ -45485,7 +45485,7 @@ var Kx = "PopperContent", [Qat, Xat] = e_(Kx), a_ = N.forwardRef(
|
|
45485
45485
|
updatePositionStrategy: w = "optimized",
|
45486
45486
|
onPlaced: b,
|
45487
45487
|
...x
|
45488
|
-
} = t, C = t_(Kx, l), [A, M] = N.useState(null), j = Jt(e, (xe) => M(xe)), [D, z] = N.useState(null), H = Fx(D),
|
45488
|
+
} = t, C = t_(Kx, l), [A, M] = N.useState(null), j = Jt(e, (xe) => M(xe)), [D, z] = N.useState(null), H = Fx(D), _ = (H == null ? void 0 : H.width) ?? 0, F = (H == null ? void 0 : H.height) ?? 0, V = c + (d !== "center" ? "-" + d : ""), W = typeof g == "number" ? g : { top: 0, right: 0, bottom: 0, left: 0, ...g }, K = Array.isArray(m) ? m : [m], Y = K.length > 0, Z = {
|
45489
45489
|
padding: W,
|
45490
45490
|
boundary: K.filter(tot),
|
45491
45491
|
// with `strategy: 'fixed'`, this is the only way to get it to respect boundaries
|
@@ -45493,7 +45493,7 @@ var Kx = "PopperContent", [Qat, Xat] = e_(Kx), a_ = N.forwardRef(
|
|
45493
45493
|
}, { refs: le, floatingStyles: te, placement: se, isPositioned: fe, middlewareData: he } = Fat({
|
45494
45494
|
// default to `fixed` strategy so users don't have to pick and we also avoid focus scroll issues
|
45495
45495
|
strategy: "fixed",
|
45496
|
-
placement:
|
45496
|
+
placement: V,
|
45497
45497
|
whileElementsMounted: (...xe) => Dat(...xe, {
|
45498
45498
|
animationFrame: w === "always"
|
45499
45499
|
}),
|
@@ -45517,7 +45517,7 @@ var Kx = "PopperContent", [Qat, Xat] = e_(Kx), a_ = N.forwardRef(
|
|
45517
45517
|
}
|
45518
45518
|
}),
|
45519
45519
|
D && Yat({ element: D, padding: h }),
|
45520
|
-
not({ arrowWidth:
|
45520
|
+
not({ arrowWidth: _, arrowHeight: F }),
|
45521
45521
|
k && Gat({ strategy: "referenceHidden", ...Z })
|
45522
45522
|
]
|
45523
45523
|
}), [J, G] = l_(se), pe = Pi(b);
|
@@ -48745,17 +48745,17 @@ function kct(t) {
|
|
48745
48745
|
const { prevResolvedValues: z = {} } = k, H = {
|
48746
48746
|
...z,
|
48747
48747
|
...D
|
48748
|
-
},
|
48748
|
+
}, _ = (F) => {
|
48749
48749
|
A = !0, f.has(F) && (M = !0, f.delete(F)), k.needsAnimating[F] = !0;
|
48750
|
-
const
|
48751
|
-
|
48750
|
+
const V = t.getValue(F);
|
48751
|
+
V && (V.liveStyle = !1);
|
48752
48752
|
};
|
48753
48753
|
for (const F in H) {
|
48754
|
-
const
|
48754
|
+
const V = D[F], W = z[F];
|
48755
48755
|
if (h.hasOwnProperty(F))
|
48756
48756
|
continue;
|
48757
48757
|
let K = !1;
|
48758
|
-
V7(
|
48758
|
+
V7(V) && V7(W) ? K = !Z_(V, W) : K = V !== W, K ? V != null ? _(F) : f.add(F) : V !== void 0 && f.has(F) ? _(F) : k.protectedKeys[F] = !0;
|
48759
48759
|
}
|
48760
48760
|
k.prevProp = w, k.prevResolvedValues = D, k.isActive && (h = { ...h, ...D }), r && t.blockInitialAnimation && (A = !1), A && (!C || M) && d.push(...j.map((F) => ({
|
48761
48761
|
animation: F,
|
@@ -52395,9 +52395,9 @@ var b0t = N.forwardRef((t, e) => {
|
|
52395
52395
|
if (M.target === M.currentTarget && j && !v) {
|
52396
52396
|
const D = new CustomEvent(b8, p0t);
|
52397
52397
|
if (M.currentTarget.dispatchEvent(D), !D.defaultPrevented) {
|
52398
|
-
const z = b().filter((
|
52398
|
+
const z = b().filter((V) => V.focusable), H = z.find((V) => V.active), _ = z.find((V) => V.id === m), F = [H, _, ...z].filter(
|
52399
52399
|
Boolean
|
52400
|
-
).map((
|
52400
|
+
).map((V) => V.ref.current);
|
52401
52401
|
XV(F, u);
|
52402
52402
|
}
|
52403
52403
|
}
|
@@ -54722,7 +54722,7 @@ var Ps = 10, [VU, Uc] = jd(Qu), Xdt = "SelectContentImpl", qU = N.forwardRef(
|
|
54722
54722
|
...v
|
54723
54723
|
} = t, k = qc(Qu, n), [w, b] = N.useState(null), [x, C] = N.useState(null), A = Jt(e, (pe) => b(pe)), [M, j] = N.useState(null), [D, z] = N.useState(
|
54724
54724
|
null
|
54725
|
-
), H = i6(n), [
|
54725
|
+
), H = i6(n), [_, F] = N.useState(!1), V = N.useRef(!1);
|
54726
54726
|
N.useEffect(() => {
|
54727
54727
|
if (w) return Xg(w);
|
54728
54728
|
}, [w]), EM();
|
@@ -54738,8 +54738,8 @@ var Ps = 10, [VU, Uc] = jd(Qu), Xdt = "SelectContentImpl", qU = N.forwardRef(
|
|
54738
54738
|
[W, M, w]
|
54739
54739
|
);
|
54740
54740
|
N.useEffect(() => {
|
54741
|
-
|
54742
|
-
}, [
|
54741
|
+
_ && K();
|
54742
|
+
}, [_, K]);
|
54743
54743
|
const { onOpenChange: Y, triggerPointerDownPosRef: Z } = k;
|
54744
54744
|
N.useEffect(() => {
|
54745
54745
|
if (w) {
|
@@ -54768,13 +54768,13 @@ var Ps = 10, [VU, Uc] = jd(Qu), Xdt = "SelectContentImpl", qU = N.forwardRef(
|
|
54768
54768
|
Ee && setTimeout(() => Ee.ref.current.focus());
|
54769
54769
|
}), se = N.useCallback(
|
54770
54770
|
(pe, ye, ze) => {
|
54771
|
-
const Ee = !
|
54772
|
-
(k.value !== void 0 && k.value === ye || Ee) && (j(pe), Ee && (
|
54771
|
+
const Ee = !V.current && !ze;
|
54772
|
+
(k.value !== void 0 && k.value === ye || Ee) && (j(pe), Ee && (V.current = !0));
|
54773
54773
|
},
|
54774
54774
|
[k.value]
|
54775
54775
|
), fe = N.useCallback(() => w == null ? void 0 : w.focus(), [w]), he = N.useCallback(
|
54776
54776
|
(pe, ye, ze) => {
|
54777
|
-
const Ee = !
|
54777
|
+
const Ee = !V.current && !ze;
|
54778
54778
|
(k.value !== void 0 && k.value === ye || Ee) && z(pe);
|
54779
54779
|
},
|
54780
54780
|
[k.value]
|
@@ -54804,7 +54804,7 @@ var Ps = 10, [VU, Uc] = jd(Qu), Xdt = "SelectContentImpl", qU = N.forwardRef(
|
|
54804
54804
|
focusSelectedItem: K,
|
54805
54805
|
selectedItemText: D,
|
54806
54806
|
position: r,
|
54807
|
-
isPositioned:
|
54807
|
+
isPositioned: _,
|
54808
54808
|
searchRef: le,
|
54809
54809
|
children: /* @__PURE__ */ E.jsx(Qg, { as: ts, allowPinchZoom: !0, children: /* @__PURE__ */ E.jsx(
|
54810
54810
|
Td,
|
@@ -54880,7 +54880,7 @@ var eft = "SelectItemAlignedPosition", UU = N.forwardRef((t, e) => {
|
|
54880
54880
|
const Ee = M.right - D.right, ge = window.innerWidth - j.right - Ee, Se = window.innerWidth - A.right - ge, xe = A.width + Se, ae = Math.max(xe, M.width), $ = window.innerWidth - Ps, X = vN(ge, [Ps, $ - ae]);
|
54881
54881
|
s.style.minWidth = xe + "px", s.style.right = X + "px";
|
54882
54882
|
}
|
54883
|
-
const z = f(), H = window.innerHeight - Ps * 2,
|
54883
|
+
const z = f(), H = window.innerHeight - Ps * 2, _ = m.scrollHeight, F = window.getComputedStyle(c), V = parseInt(F.borderTopWidth, 10), W = parseInt(F.paddingTop, 10), K = parseInt(F.borderBottomWidth, 10), Y = parseInt(F.paddingBottom, 10), Z = V + W + _ + Y + K, le = Math.min(g.offsetHeight * 5, Z), te = window.getComputedStyle(m), se = parseInt(te.paddingTop, 10), fe = parseInt(te.paddingBottom, 10), he = A.top + A.height / 2 - Ps, J = H - he, G = g.offsetHeight / 2, pe = g.offsetTop + G, ye = V + W + pe, ze = Z - ye;
|
54884
54884
|
if (ye <= he) {
|
54885
54885
|
const Ee = g === z[z.length - 1].ref.current;
|
54886
54886
|
s.style.bottom = "0px";
|
@@ -54895,7 +54895,7 @@ var eft = "SelectItemAlignedPosition", UU = N.forwardRef((t, e) => {
|
|
54895
54895
|
s.style.top = "0px";
|
54896
54896
|
const ge = Math.max(
|
54897
54897
|
he,
|
54898
|
-
|
54898
|
+
V + m.offsetTop + // viewport might have padding top, include it to avoid a scrollable viewport
|
54899
54899
|
(Ee ? se : 0) + G
|
54900
54900
|
) + ze;
|
54901
54901
|
s.style.height = ge + "px", m.scrollTop = ye - he + m.offsetTop;
|
@@ -56087,8 +56087,8 @@ function Kft({ activeSnapPointProp: t, setActiveSnapPointProp: e, snapPoints: n,
|
|
56087
56087
|
const D = typeof j == "string";
|
56088
56088
|
let z = 0;
|
56089
56089
|
if (D && (z = parseInt(j, 10)), ar(s)) {
|
56090
|
-
const
|
56091
|
-
return f ? s === "bottom" ? A.height -
|
56090
|
+
const _ = D ? z : f ? j * A.height : 0;
|
56091
|
+
return f ? s === "bottom" ? A.height - _ : -A.height + _ : _;
|
56092
56092
|
}
|
56093
56093
|
const H = D ? z : f ? j * A.width : 0;
|
56094
56094
|
return f ? s === "right" ? A.width - H : -A.width + H : H;
|
@@ -56136,7 +56136,7 @@ function Kft({ activeSnapPointProp: t, setActiveSnapPointProp: e, snapPoints: n,
|
|
56136
56136
|
]);
|
56137
56137
|
function b({ draggedDistance: A, closeDrawer: M, velocity: j, dismissible: D }) {
|
56138
56138
|
if (a === void 0) return;
|
56139
|
-
const z = s === "bottom" || s === "right" ? (k ?? 0) - A : (k ?? 0) + A, H = m === a - 1,
|
56139
|
+
const z = s === "bottom" || s === "right" ? (k ?? 0) - A : (k ?? 0) + A, H = m === a - 1, _ = m === 0, F = A > 0;
|
56140
56140
|
if (H && ur(i.current, {
|
56141
56141
|
transition: `opacity ${Nn.DURATION}s cubic-bezier(${Nn.EASE.join(",")})`
|
56142
56142
|
}), !c && j > 2 && !F) {
|
@@ -56147,18 +56147,18 @@ function Kft({ activeSnapPointProp: t, setActiveSnapPointProp: e, snapPoints: n,
|
|
56147
56147
|
w(v[n.length - 1]);
|
56148
56148
|
return;
|
56149
56149
|
}
|
56150
|
-
const
|
56150
|
+
const V = v == null ? void 0 : v.reduce((K, Y) => typeof K != "number" || typeof Y != "number" ? K : Math.abs(Y - z) < Math.abs(K - z) ? Y : K), W = ar(s) ? window.innerHeight : window.innerWidth;
|
56151
56151
|
if (j > bW && Math.abs(A) < W * 0.4) {
|
56152
56152
|
const K = F ? 1 : -1;
|
56153
56153
|
if (K > 0 && p && n) {
|
56154
56154
|
w(v[n.length - 1]);
|
56155
56155
|
return;
|
56156
56156
|
}
|
56157
|
-
if (
|
56157
|
+
if (_ && K < 0 && D && M(), m === null) return;
|
56158
56158
|
w(v[m + K]);
|
56159
56159
|
return;
|
56160
56160
|
}
|
56161
|
-
w(
|
56161
|
+
w(V);
|
56162
56162
|
}
|
56163
56163
|
function x({ draggedDistance: A }) {
|
56164
56164
|
if (k === null) return;
|
@@ -56300,8 +56300,8 @@ function Qft({ isOpen: t, modal: e, nested: n, hasBeenOpened: r, preventScrollRe
|
|
56300
56300
|
};
|
56301
56301
|
}
|
56302
56302
|
function Xft({ open: t, onOpenChange: e, children: n, onDrag: r, onRelease: i, snapPoints: a, shouldScaleBackground: o = !1, setBackgroundColorOnScale: s = !0, closeThreshold: l = Zft, scrollLockTimeout: c = Gft, dismissible: u = !0, handleOnly: d = !1, fadeFromIndex: f = a && a.length - 1, activeSnapPoint: h, setActiveSnapPoint: p, fixed: m, modal: g = !0, onClose: v, nested: k, noBodyStyles: w = !1, direction: b = "bottom", defaultOpen: x = !1, disablePreventScroll: C = !0, snapToSequentialPoint: A = !1, preventScrollRestoration: M = !1, repositionInputs: j = !0, onAnimationEnd: D, container: z, autoFocus: H = !1 }) {
|
56303
|
-
var
|
56304
|
-
const [
|
56303
|
+
var _, F;
|
56304
|
+
const [V = !1, W] = xW({
|
56305
56305
|
defaultProp: x,
|
56306
56306
|
prop: t,
|
56307
56307
|
onChange: (Oe) => {
|
@@ -56311,7 +56311,7 @@ function Xft({ open: t, onOpenChange: e, children: n, onDrag: r, onRelease: i, s
|
|
56311
56311
|
document.body.style.pointerEvents = "auto";
|
56312
56312
|
}), Oe || (document.body.style.pointerEvents = "auto");
|
56313
56313
|
}
|
56314
|
-
}), [K, Y] = ke.useState(!1), [Z, le] = ke.useState(!1), [te, se] = ke.useState(!1), fe = ke.useRef(null), he = ke.useRef(null), J = ke.useRef(null), G = ke.useRef(null), pe = ke.useRef(null), ye = ke.useRef(!1), ze = ke.useRef(null), Ee = ke.useRef(0), ge = ke.useRef(!1), Se = ke.useRef(!x), xe = ke.useRef(0), ae = ke.useRef(null), $ = ke.useRef(((
|
56314
|
+
}), [K, Y] = ke.useState(!1), [Z, le] = ke.useState(!1), [te, se] = ke.useState(!1), fe = ke.useRef(null), he = ke.useRef(null), J = ke.useRef(null), G = ke.useRef(null), pe = ke.useRef(null), ye = ke.useRef(!1), ze = ke.useRef(null), Ee = ke.useRef(0), ge = ke.useRef(!1), Se = ke.useRef(!x), xe = ke.useRef(0), ae = ke.useRef(null), $ = ke.useRef(((_ = ae.current) == null ? void 0 : _.getBoundingClientRect().height) || 0), X = ke.useRef(((F = ae.current) == null ? void 0 : F.getBoundingClientRect().width) || 0), oe = ke.useRef(0), Re = ke.useCallback((Oe) => {
|
56315
56315
|
a && Oe === re.length - 1 && (he.current = /* @__PURE__ */ new Date());
|
56316
56316
|
}, []), { activeSnapPoint: U, activeSnapPointIndex: S, setActiveSnapPoint: P, onRelease: O, snapPointsOffset: re, onDrag: ce, shouldFade: Q, getPercentageDragged: we } = Kft({
|
56317
56317
|
snapPoints: a,
|
@@ -56326,10 +56326,10 @@ function Xft({ open: t, onOpenChange: e, children: n, onDrag: r, onRelease: i, s
|
|
56326
56326
|
snapToSequentialPoint: A
|
56327
56327
|
});
|
56328
56328
|
Bft({
|
56329
|
-
isDisabled: !
|
56329
|
+
isDisabled: !V || Z || !g || te || !K || !j || !C
|
56330
56330
|
});
|
56331
56331
|
const { restorePositionSetting: Le } = Qft({
|
56332
|
-
isOpen:
|
56332
|
+
isOpen: V,
|
56333
56333
|
modal: g,
|
56334
56334
|
nested: k ?? !1,
|
56335
56335
|
hasBeenOpened: K,
|
@@ -56464,7 +56464,7 @@ function Xft({ open: t, onOpenChange: e, children: n, onDrag: r, onRelease: i, s
|
|
56464
56464
|
}), ur(fe.current, {
|
56465
56465
|
transition: `opacity ${Nn.DURATION}s cubic-bezier(${Nn.EASE.join(",")})`,
|
56466
56466
|
opacity: "1"
|
56467
|
-
}), o && $e && $e > 0 &&
|
56467
|
+
}), o && $e && $e > 0 && V && ur(Oe, {
|
56468
56468
|
borderRadius: `${wW}px`,
|
56469
56469
|
overflow: "hidden",
|
56470
56470
|
...ar(b) ? {
|
@@ -56517,12 +56517,12 @@ function Xft({ open: t, onOpenChange: e, children: n, onDrag: r, onRelease: i, s
|
|
56517
56517
|
}
|
56518
56518
|
i == null || i(Oe, !0), zt();
|
56519
56519
|
}
|
56520
|
-
ke.useEffect(() => (
|
56520
|
+
ke.useEffect(() => (V && (ur(document.documentElement, {
|
56521
56521
|
scrollBehavior: "auto"
|
56522
56522
|
}), he.current = /* @__PURE__ */ new Date()), () => {
|
56523
56523
|
qft(document.documentElement, "scrollBehavior");
|
56524
56524
|
}), [
|
56525
|
-
|
56525
|
+
V
|
56526
56526
|
]);
|
56527
56527
|
function Ae(Oe) {
|
56528
56528
|
const $e = Oe ? (window.innerWidth - jm) / window.innerWidth : 1, yt = Oe ? -16 : 0;
|
@@ -56563,7 +56563,7 @@ function Xft({ open: t, onOpenChange: e, children: n, onDrag: r, onRelease: i, s
|
|
56563
56563
|
onOpenChange: (Oe) => {
|
56564
56564
|
!u && !Oe || (Oe ? Y(!0) : vt(!0), W(Oe));
|
56565
56565
|
},
|
56566
|
-
open:
|
56566
|
+
open: V
|
56567
56567
|
}, /* @__PURE__ */ ke.createElement(pW.Provider, {
|
56568
56568
|
value: {
|
56569
56569
|
activeSnapPoint: U,
|
@@ -56578,7 +56578,7 @@ function Xft({ open: t, onOpenChange: e, children: n, onDrag: r, onRelease: i, s
|
|
56578
56578
|
dismissible: u,
|
56579
56579
|
shouldAnimate: Se,
|
56580
56580
|
handleOnly: d,
|
56581
|
-
isOpen:
|
56581
|
+
isOpen: V,
|
56582
56582
|
isDragging: Z,
|
56583
56583
|
shouldFade: Q,
|
56584
56584
|
closeDrawer: vt,
|
@@ -56619,16 +56619,16 @@ MW.displayName = "Drawer.Overlay";
|
|
56619
56619
|
const CW = /* @__PURE__ */ ke.forwardRef(function({ onPointerDownOutside: t, style: e, onOpenAutoFocus: n, ...r }, i) {
|
56620
56620
|
const { drawerRef: a, onPress: o, onRelease: s, onDrag: l, keyboardIsOpen: c, snapPointsOffset: u, activeSnapPointIndex: d, modal: f, isOpen: h, direction: p, snapPoints: m, container: g, handleOnly: v, shouldAnimate: k, autoFocus: w } = bp(), [b, x] = ke.useState(!1), C = gW(i, a), A = ke.useRef(null), M = ke.useRef(null), j = ke.useRef(!1), D = m && m.length > 0;
|
56621
56621
|
Jft();
|
56622
|
-
const z = (
|
56622
|
+
const z = (_, F, V = 0) => {
|
56623
56623
|
if (j.current) return !0;
|
56624
|
-
const W = Math.abs(
|
56624
|
+
const W = Math.abs(_.y), K = Math.abs(_.x), Y = K > W, Z = [
|
56625
56625
|
"bottom",
|
56626
56626
|
"right"
|
56627
56627
|
].includes(F) ? 1 : -1;
|
56628
56628
|
if (F === "left" || F === "right") {
|
56629
|
-
if (!(
|
56629
|
+
if (!(_.x * Z < 0) && K >= 0 && K <= V)
|
56630
56630
|
return Y;
|
56631
|
-
} else if (!(
|
56631
|
+
} else if (!(_.y * Z < 0) && W >= 0 && W <= V)
|
56632
56632
|
return !Y;
|
56633
56633
|
return j.current = !0, !0;
|
56634
56634
|
};
|
@@ -56637,8 +56637,8 @@ const CW = /* @__PURE__ */ ke.forwardRef(function({ onPointerDownOutside: t, sty
|
|
56637
56637
|
x(!0);
|
56638
56638
|
});
|
56639
56639
|
}, []);
|
56640
|
-
function H(
|
56641
|
-
A.current = null, j.current = !1, s(
|
56640
|
+
function H(_) {
|
56641
|
+
A.current = null, j.current = !1, s(_);
|
56642
56642
|
}
|
56643
56643
|
return /* @__PURE__ */ ke.createElement(mp, {
|
56644
56644
|
"data-vaul-drawer-direction": p,
|
@@ -56653,44 +56653,44 @@ const CW = /* @__PURE__ */ ke.forwardRef(function({ onPointerDownOutside: t, sty
|
|
56653
56653
|
"--snap-point-height": `${u[d ?? 0]}px`,
|
56654
56654
|
...e
|
56655
56655
|
} : e,
|
56656
|
-
onPointerDown: (
|
56657
|
-
v || (r.onPointerDown == null || r.onPointerDown.call(r,
|
56658
|
-
x:
|
56659
|
-
y:
|
56660
|
-
}, o(
|
56656
|
+
onPointerDown: (_) => {
|
56657
|
+
v || (r.onPointerDown == null || r.onPointerDown.call(r, _), A.current = {
|
56658
|
+
x: _.pageX,
|
56659
|
+
y: _.pageY
|
56660
|
+
}, o(_));
|
56661
56661
|
},
|
56662
|
-
onOpenAutoFocus: (
|
56663
|
-
n == null || n(
|
56662
|
+
onOpenAutoFocus: (_) => {
|
56663
|
+
n == null || n(_), w || _.preventDefault();
|
56664
56664
|
},
|
56665
|
-
onPointerDownOutside: (
|
56666
|
-
if (t == null || t(
|
56667
|
-
|
56665
|
+
onPointerDownOutside: (_) => {
|
56666
|
+
if (t == null || t(_), !f || _.defaultPrevented) {
|
56667
|
+
_.preventDefault();
|
56668
56668
|
return;
|
56669
56669
|
}
|
56670
56670
|
c.current && (c.current = !1);
|
56671
56671
|
},
|
56672
|
-
onFocusOutside: (
|
56672
|
+
onFocusOutside: (_) => {
|
56673
56673
|
if (!f) {
|
56674
|
-
|
56674
|
+
_.preventDefault();
|
56675
56675
|
return;
|
56676
56676
|
}
|
56677
56677
|
},
|
56678
|
-
onPointerMove: (
|
56679
|
-
if (M.current =
|
56680
|
-
const F =
|
56678
|
+
onPointerMove: (_) => {
|
56679
|
+
if (M.current = _, v || (r.onPointerMove == null || r.onPointerMove.call(r, _), !A.current)) return;
|
56680
|
+
const F = _.pageY - A.current.y, V = _.pageX - A.current.x, W = _.pointerType === "touch" ? 10 : 2;
|
56681
56681
|
z({
|
56682
|
-
x:
|
56682
|
+
x: V,
|
56683
56683
|
y: F
|
56684
|
-
}, p, W) ? l(
|
56684
|
+
}, p, W) ? l(_) : (Math.abs(V) > W || Math.abs(F) > W) && (A.current = null);
|
56685
56685
|
},
|
56686
|
-
onPointerUp: (
|
56687
|
-
r.onPointerUp == null || r.onPointerUp.call(r,
|
56686
|
+
onPointerUp: (_) => {
|
56687
|
+
r.onPointerUp == null || r.onPointerUp.call(r, _), A.current = null, j.current = !1, s(_);
|
56688
56688
|
},
|
56689
|
-
onPointerOut: (
|
56690
|
-
r.onPointerOut == null || r.onPointerOut.call(r,
|
56689
|
+
onPointerOut: (_) => {
|
56690
|
+
r.onPointerOut == null || r.onPointerOut.call(r, _), H(M.current);
|
56691
56691
|
},
|
56692
|
-
onContextMenu: (
|
56693
|
-
r.onContextMenu == null || r.onContextMenu.call(r,
|
56692
|
+
onContextMenu: (_) => {
|
56693
|
+
r.onContextMenu == null || r.onContextMenu.call(r, _), M.current && H(M.current);
|
56694
56694
|
}
|
56695
56695
|
});
|
56696
56696
|
});
|
@@ -78986,13 +78986,13 @@ var df = '[cmdk-group=""]', G8 = '[cmdk-group-items=""]', zyt = '[cmdk-group-hea
|
|
78986
78986
|
n.current.value = se, A.emit();
|
78987
78987
|
}
|
78988
78988
|
}, [u]), e0(() => {
|
78989
|
-
C(6,
|
78989
|
+
C(6, _);
|
78990
78990
|
}, []);
|
78991
78991
|
let A = N.useMemo(() => ({ subscribe: (se) => (o.current.add(se), () => o.current.delete(se)), snapshot: () => n.current, setState: (se, fe, he) => {
|
78992
78992
|
var J, G, pe;
|
78993
78993
|
if (!Object.is(n.current[se], fe)) {
|
78994
78994
|
if (n.current[se] = fe, se === "search") H(), D(), C(1, z);
|
78995
|
-
else if (se === "value" && (he || C(5,
|
78995
|
+
else if (se === "value" && (he || C(5, _), ((J = s.current) == null ? void 0 : J.value) !== void 0)) {
|
78996
78996
|
let ye = fe ?? "";
|
78997
78997
|
(pe = (G = s.current).onValueChange) == null || pe.call(G, ye);
|
78998
78998
|
return;
|
@@ -79033,7 +79033,7 @@ var df = '[cmdk-group=""]', G8 = '[cmdk-group-items=""]', zyt = '[cmdk-group-hea
|
|
79033
79033
|
}), fe.push([J, pe]);
|
79034
79034
|
});
|
79035
79035
|
let he = x.current;
|
79036
|
-
|
79036
|
+
V().sort((J, G) => {
|
79037
79037
|
var pe, ye;
|
79038
79038
|
let ze = J.getAttribute("id"), Ee = G.getAttribute("id");
|
79039
79039
|
return ((pe = se.get(Ee)) != null ? pe : 0) - ((ye = se.get(ze)) != null ? ye : 0);
|
@@ -79046,7 +79046,7 @@ var df = '[cmdk-group=""]', G8 = '[cmdk-group-items=""]', zyt = '[cmdk-group-hea
|
|
79046
79046
|
});
|
79047
79047
|
}
|
79048
79048
|
function z() {
|
79049
|
-
let se =
|
79049
|
+
let se = V().find((he) => he.getAttribute("aria-disabled") !== "true"), fe = se == null ? void 0 : se.getAttribute(yu);
|
79050
79050
|
A.setState("value", fe || void 0);
|
79051
79051
|
}
|
79052
79052
|
function H() {
|
@@ -79067,7 +79067,7 @@ var df = '[cmdk-group=""]', G8 = '[cmdk-group-items=""]', zyt = '[cmdk-group-hea
|
|
79067
79067
|
}
|
79068
79068
|
n.current.filtered.count = G;
|
79069
79069
|
}
|
79070
|
-
function
|
79070
|
+
function _() {
|
79071
79071
|
var se, fe, he;
|
79072
79072
|
let J = F();
|
79073
79073
|
J && (((se = J.parentElement) == null ? void 0 : se.firstChild) === J && ((he = (fe = J.closest(df)) == null ? void 0 : fe.querySelector(zyt)) == null || he.scrollIntoView({ block: "nearest" })), J.scrollIntoView({ block: "nearest" }));
|
@@ -79076,17 +79076,17 @@ var df = '[cmdk-group=""]', G8 = '[cmdk-group-items=""]', zyt = '[cmdk-group-hea
|
|
79076
79076
|
var se;
|
79077
79077
|
return (se = x.current) == null ? void 0 : se.querySelector(`${LC}[aria-selected="true"]`);
|
79078
79078
|
}
|
79079
|
-
function
|
79079
|
+
function V() {
|
79080
79080
|
var se;
|
79081
79081
|
return Array.from((se = x.current) == null ? void 0 : se.querySelectorAll(nD));
|
79082
79082
|
}
|
79083
79083
|
function W(se) {
|
79084
|
-
let fe =
|
79084
|
+
let fe = V()[se];
|
79085
79085
|
fe && A.setState("value", fe.getAttribute(yu));
|
79086
79086
|
}
|
79087
79087
|
function K(se) {
|
79088
79088
|
var fe;
|
79089
|
-
let he = F(), J =
|
79089
|
+
let he = F(), J = V(), G = J.findIndex((ye) => ye === he), pe = J[G + se];
|
79090
79090
|
(fe = s.current) != null && fe.loop && (pe = G + se < 0 ? J[J.length - 1] : G + se === J.length ? J[0] : J[G + se]), pe && A.setState("value", pe.getAttribute(yu));
|
79091
79091
|
}
|
79092
79092
|
function Y(se) {
|
@@ -79094,7 +79094,7 @@ var df = '[cmdk-group=""]', G8 = '[cmdk-group-items=""]', zyt = '[cmdk-group-hea
|
|
79094
79094
|
for (; he && !J; ) he = se > 0 ? Wyt(he, df) : Zyt(he, df), J = he == null ? void 0 : he.querySelector(nD);
|
79095
79095
|
J ? A.setState("value", J.getAttribute(yu)) : K(se);
|
79096
79096
|
}
|
79097
|
-
let Z = () => W(
|
79097
|
+
let Z = () => W(V().length - 1), le = (se) => {
|
79098
79098
|
se.preventDefault(), se.metaKey ? Z() : se.altKey ? Y(1) : K(1);
|
79099
79099
|
}, te = (se) => {
|
79100
79100
|
se.preventDefault(), se.metaKey ? W(0) : se.altKey ? Y(-1) : K(-1);
|
@@ -79581,29 +79581,29 @@ var [o3t, s3t] = $G(j6, {
|
|
79581
79581
|
N.useEffect(() => {
|
79582
79582
|
const F = m.viewport;
|
79583
79583
|
if (F) {
|
79584
|
-
const
|
79584
|
+
const V = () => {
|
79585
79585
|
H(A.current), c == null || c();
|
79586
79586
|
}, W = () => {
|
79587
79587
|
const K = (/* @__PURE__ */ new Date()).getTime() - C.current;
|
79588
79588
|
A.current = A.current - K, window.clearTimeout(M.current), l == null || l();
|
79589
79589
|
};
|
79590
|
-
return F.addEventListener(T9, W), F.addEventListener(j9,
|
79591
|
-
F.removeEventListener(T9, W), F.removeEventListener(j9,
|
79590
|
+
return F.addEventListener(T9, W), F.addEventListener(j9, V), () => {
|
79591
|
+
F.removeEventListener(T9, W), F.removeEventListener(j9, V);
|
79592
79592
|
};
|
79593
79593
|
}
|
79594
79594
|
}, [m.viewport, x, l, c, H]), N.useEffect(() => {
|
79595
79595
|
a && !m.isClosePausedRef.current && H(x);
|
79596
79596
|
}, [a, x, m.isClosePausedRef, H]), N.useEffect(() => (j(), () => D()), [j, D]);
|
79597
|
-
const
|
79597
|
+
const _ = N.useMemo(() => g ? sY(g) : null, [g]);
|
79598
79598
|
return m.viewport ? /* @__PURE__ */ E.jsxs(E.Fragment, { children: [
|
79599
|
-
|
79599
|
+
_ && /* @__PURE__ */ E.jsx(
|
79600
79600
|
c3t,
|
79601
79601
|
{
|
79602
79602
|
__scopeToast: n,
|
79603
79603
|
role: "status",
|
79604
79604
|
"aria-live": r === "foreground" ? "assertive" : "polite",
|
79605
79605
|
"aria-atomic": !0,
|
79606
|
-
children:
|
79606
|
+
children: _
|
79607
79607
|
}
|
79608
79608
|
),
|
79609
79609
|
/* @__PURE__ */ E.jsx(o3t, { scope: n, onClose: z, children: bd.createPortal(
|
@@ -79634,18 +79634,18 @@ var [o3t, s3t] = $G(j6, {
|
|
79634
79634
|
}),
|
79635
79635
|
onPointerMove: it(t.onPointerMove, (F) => {
|
79636
79636
|
if (!w.current) return;
|
79637
|
-
const
|
79637
|
+
const V = F.clientX - w.current.x, W = F.clientY - w.current.y, K = !!b.current, Y = ["left", "right"].includes(m.swipeDirection), Z = ["left", "up"].includes(m.swipeDirection) ? Math.min : Math.max, le = Y ? Z(0, V) : 0, te = Y ? 0 : Z(0, W), se = F.pointerType === "touch" ? 10 : 2, fe = { x: le, y: te }, he = { originalEvent: F, delta: fe };
|
79638
79638
|
K ? (b.current = fe, Bm(r3t, d, he, {
|
79639
79639
|
discrete: !1
|
79640
79640
|
})) : rD(fe, m.swipeDirection, se) ? (b.current = fe, Bm(n3t, u, he, {
|
79641
79641
|
discrete: !1
|
79642
|
-
}), F.target.setPointerCapture(F.pointerId)) : (Math.abs(
|
79642
|
+
}), F.target.setPointerCapture(F.pointerId)) : (Math.abs(V) > se || Math.abs(W) > se) && (w.current = null);
|
79643
79643
|
}),
|
79644
79644
|
onPointerUp: it(t.onPointerUp, (F) => {
|
79645
|
-
const
|
79646
|
-
if (W.hasPointerCapture(F.pointerId) && W.releasePointerCapture(F.pointerId), b.current = null, w.current = null,
|
79647
|
-
const K = F.currentTarget, Y = { originalEvent: F, delta:
|
79648
|
-
rD(
|
79645
|
+
const V = b.current, W = F.target;
|
79646
|
+
if (W.hasPointerCapture(F.pointerId) && W.releasePointerCapture(F.pointerId), b.current = null, w.current = null, V) {
|
79647
|
+
const K = F.currentTarget, Y = { originalEvent: F, delta: V };
|
79648
|
+
rD(V, m.swipeDirection, m.swipeThreshold) ? Bm(a3t, h, Y, {
|
79649
79649
|
discrete: !0
|
79650
79650
|
}) : Bm(
|
79651
79651
|
i3t,
|
@@ -80583,7 +80583,7 @@ function J3t(t, e, n, r, i, a, o, s, l, c, u, d, f, h, p, m, g, v, k) {
|
|
80583
80583
|
mouse: 500,
|
80584
80584
|
touch: 600
|
80585
80585
|
}, H = p ? 43 : 25;
|
80586
|
-
let
|
80586
|
+
let _ = !1, F = 0, V = 0, W = !1, K = !1, Y = !1, Z = !1;
|
80587
80587
|
function le(Se) {
|
80588
80588
|
if (!k) return;
|
80589
80589
|
function xe($) {
|
@@ -80614,11 +80614,11 @@ function J3t(t, e, n, r, i, a, o, s, l, c, u, d, f, h, p, m, g, v, k) {
|
|
80614
80614
|
}
|
80615
80615
|
function G(Se) {
|
80616
80616
|
const xe = P9(Se, r);
|
80617
|
-
Z = xe, Y = p && xe && !Se.buttons &&
|
80617
|
+
Z = xe, Y = p && xe && !Se.buttons && _, _ = ih(i.get(), o.get()) >= 2, !(xe && Se.button !== 0) && (fe(Se.target) || (W = !0, a.pointerDown(Se), c.useFriction(0).useDuration(0), i.set(o), se(), F = a.readPoint(Se), V = a.readPoint(Se, w), f.emit("pointerDown")));
|
80618
80618
|
}
|
80619
80619
|
function pe(Se) {
|
80620
80620
|
if (!P9(Se, r) && Se.touches.length >= 2) return ye(Se);
|
80621
|
-
const ae = a.readPoint(Se), $ = a.readPoint(Se, w), X = ih(ae, F), oe = ih($,
|
80621
|
+
const ae = a.readPoint(Se), $ = a.readPoint(Se, w), X = ih(ae, F), oe = ih($, V);
|
80622
80622
|
if (!K && !Z && (!Se.cancelable || (K = X > oe, !K)))
|
80623
80623
|
return ye(Se);
|
80624
80624
|
const Re = a.pointerMove(Se);
|
@@ -81078,13 +81078,13 @@ function hgt(t, e, n, r, i, a, o, s, l) {
|
|
81078
81078
|
function g(A, M, j) {
|
81079
81079
|
const D = m(M);
|
81080
81080
|
return A.map((z) => {
|
81081
|
-
const H = j ? 0 : -n,
|
81081
|
+
const H = j ? 0 : -n, _ = j ? n : 0, F = j ? "end" : "start", V = D[z][F];
|
81082
81082
|
return {
|
81083
81083
|
index: z,
|
81084
|
-
loopPoint:
|
81084
|
+
loopPoint: V,
|
81085
81085
|
slideLocation: zf(-1),
|
81086
81086
|
translate: xY(t, l[z]),
|
81087
|
-
target: () => s.get() >
|
81087
|
+
target: () => s.get() > V ? H : _
|
81088
81088
|
};
|
81089
81089
|
});
|
81090
81090
|
}
|
@@ -81258,7 +81258,7 @@ function vgt(t, e, n, r, i, a, o) {
|
|
81258
81258
|
watchSlides: b,
|
81259
81259
|
watchDrag: x,
|
81260
81260
|
watchFocus: C
|
81261
|
-
} = a, A = 2, M = X3t(), j = M.measure(e), D = n.map(M.measure), z = $3t(l, c), H = z.measureSize(j),
|
81261
|
+
} = a, A = 2, M = X3t(), j = M.measure(e), D = n.map(M.measure), z = $3t(l, c), H = z.measureSize(j), _ = egt(H), F = Y3t(s, H), V = !d && !!k, W = d || !!k, {
|
81262
81262
|
slideSizes: K,
|
81263
81263
|
slideSizesWithGaps: Y,
|
81264
81264
|
startGap: Z,
|
@@ -81269,7 +81269,7 @@ function vgt(t, e, n, r, i, a, o) {
|
|
81269
81269
|
} = lgt(z, F, j, D, te), he = -eo(se) + eo(Y), {
|
81270
81270
|
snapsContained: J,
|
81271
81271
|
scrollContainLimit: G
|
81272
|
-
} = igt(H, he, fe, k, A), pe =
|
81272
|
+
} = igt(H, he, fe, k, A), pe = V ? J : fe, {
|
81273
81273
|
limit: ye
|
81274
81274
|
} = agt(he, pe, d), ze = kY(Tp(pe), u, d), Ee = ze.clone(), ge = e2(n), Se = ({
|
81275
81275
|
dragHandler: Je,
|
@@ -81302,7 +81302,7 @@ function vgt(t, e, n, r, i, a, o) {
|
|
81302
81302
|
zt.set(rn), yt && (Ve.loop(Je.direction()), Ae.loop()), ht.to(zt.get());
|
81303
81303
|
}, ae = K3t(r, i, () => Se(Ye), (Je) => xe(Ye, Je)), $ = 0.68, X = pe[ze.get()], oe = zf(X), Re = zf(X), U = zf(X), S = zf(X), P = ngt(oe, U, Re, S, f, $), O = ugt(d, pe, he, ye, S), re = dgt(ae, ze, Ee, P, O, S, o), ce = sgt(ye), Q = n2(), we = mgt(e, n, o, m), {
|
81304
81304
|
slideRegistry: Le
|
81305
|
-
} = cgt(
|
81305
|
+
} = cgt(V, k, pe, G, te, ge), Be = fgt(t, n, Le, re, P, Q, o, C), Ye = {
|
81306
81306
|
ownerDocument: r,
|
81307
81307
|
ownerWindow: i,
|
81308
81308
|
eventHandler: o,
|
@@ -81310,9 +81310,9 @@ function vgt(t, e, n, r, i, a, o) {
|
|
81310
81310
|
slideRects: D,
|
81311
81311
|
animation: ae,
|
81312
81312
|
axis: z,
|
81313
|
-
dragHandler: J3t(z, t, r, i, S, Q3t(z, i), oe, ae, re, P, O, ze, o,
|
81313
|
+
dragHandler: J3t(z, t, r, i, S, Q3t(z, i), oe, ae, re, P, O, ze, o, _, h, p, v, $, x),
|
81314
81314
|
eventStore: Q,
|
81315
|
-
percentOfView:
|
81315
|
+
percentOfView: _,
|
81316
81316
|
index: ze,
|
81317
81317
|
indexPrevious: Ee,
|
81318
81318
|
limit: ye,
|
@@ -81322,7 +81322,7 @@ function vgt(t, e, n, r, i, a, o) {
|
|
81322
81322
|
options: a,
|
81323
81323
|
resizeHandler: tgt(e, o, i, n, z, w, M),
|
81324
81324
|
scrollBody: P,
|
81325
|
-
scrollBounds: rgt(ye, U, S, P,
|
81325
|
+
scrollBounds: rgt(ye, U, S, P, _),
|
81326
81326
|
scrollLooper: ogt(he, ye, U, [oe, U, Re, S]),
|
81327
81327
|
scrollProgress: ce,
|
81328
81328
|
scrollSnapList: pe.map(ce.get),
|
@@ -81470,13 +81470,13 @@ function Zy(t, e, n) {
|
|
81470
81470
|
function H() {
|
81471
81471
|
v.dragHandler.destroy(), v.eventStore.clear(), v.translate.clear(), v.slideLooper.clear(), v.resizeHandler.destroy(), v.slidesHandler.destroy(), v.slidesInView.destroy(), v.animation.destroy(), o.destroy(), s.clear();
|
81472
81472
|
}
|
81473
|
-
function
|
81473
|
+
function _() {
|
81474
81474
|
g || (g = !0, s.clear(), H(), l.emit("destroy"), l.clear());
|
81475
81475
|
}
|
81476
81476
|
function F(ge, Se, xe) {
|
81477
81477
|
!w.active || g || (v.scrollBody.useBaseFriction().useDuration(Se === !0 ? 0 : w.duration), v.scrollTo.index(ge, xe || 0));
|
81478
81478
|
}
|
81479
|
-
function
|
81479
|
+
function V(ge) {
|
81480
81480
|
const Se = v.index.add(1).get();
|
81481
81481
|
F(Se, ge, -1);
|
81482
81482
|
}
|
@@ -81528,7 +81528,7 @@ function Zy(t, e, n) {
|
|
81528
81528
|
canScrollPrev: Y,
|
81529
81529
|
containerNode: ye,
|
81530
81530
|
internalEngine: G,
|
81531
|
-
destroy:
|
81531
|
+
destroy: _,
|
81532
81532
|
off: h,
|
81533
81533
|
on: f,
|
81534
81534
|
emit: p,
|
@@ -81536,7 +81536,7 @@ function Zy(t, e, n) {
|
|
81536
81536
|
previousScrollSnap: se,
|
81537
81537
|
reInit: m,
|
81538
81538
|
rootNode: pe,
|
81539
|
-
scrollNext:
|
81539
|
+
scrollNext: V,
|
81540
81540
|
scrollPrev: W,
|
81541
81541
|
scrollProgress: le,
|
81542
81542
|
scrollSnapList: Z,
|
@@ -86278,7 +86278,7 @@ async function eA(t, e) {
|
|
86278
86278
|
});
|
86279
86279
|
})();
|
86280
86280
|
Rp(e);
|
86281
|
-
const z = (o = (a = (i = t.chain) == null ? void 0 : i.formatters) == null ? void 0 : a.transactionRequest) == null ? void 0 : o.format,
|
86281
|
+
const z = (o = (a = (i = t.chain) == null ? void 0 : i.formatters) == null ? void 0 : a.transactionRequest) == null ? void 0 : o.format, _ = (z || V6)({
|
86282
86282
|
// Pick out extra data that might exist on the chain's transaction request type.
|
86283
86283
|
...KC(C, { format: z }),
|
86284
86284
|
from: r == null ? void 0 : r.address,
|
@@ -86296,9 +86296,9 @@ async function eA(t, e) {
|
|
86296
86296
|
to: D,
|
86297
86297
|
value: b
|
86298
86298
|
});
|
86299
|
-
let
|
86299
|
+
let V = BigInt(await F({ block: M, request: _, rpcStateOverride: j }));
|
86300
86300
|
if (l) {
|
86301
|
-
const W = await OK(t, { address:
|
86301
|
+
const W = await OK(t, { address: _.from }), K = await Promise.all(l.map(async (Y) => {
|
86302
86302
|
const { address: Z } = Y, le = await F({
|
86303
86303
|
block: M,
|
86304
86304
|
request: {
|
@@ -86312,9 +86312,9 @@ async function eA(t, e) {
|
|
86312
86312
|
}).catch(() => 100000n);
|
86313
86313
|
return 2n * BigInt(le);
|
86314
86314
|
}));
|
86315
|
-
|
86315
|
+
V += K.reduce((Y, Z) => Y + Z, 0n);
|
86316
86316
|
}
|
86317
|
-
return
|
86317
|
+
return V;
|
86318
86318
|
} catch (s) {
|
86319
86319
|
throw f8t(s, {
|
86320
86320
|
...e,
|
@@ -86865,7 +86865,7 @@ function WK({ fn: t, id: e, shouldSplitBatch: n, wait: r = 0, sort: i }) {
|
|
86865
86865
|
};
|
86866
86866
|
}
|
86867
86867
|
async function q6(t, e) {
|
86868
|
-
var z, H,
|
86868
|
+
var z, H, _, F;
|
86869
86869
|
const { account: n = t.account, batch: r = !!((z = t.batch) != null && z.multicall), blockNumber: i, blockTag: a = "latest", accessList: o, blobs: s, code: l, data: c, factory: u, factoryData: d, gas: f, gasPrice: h, maxFeePerBlobGas: p, maxFeePerGas: m, maxPriorityFeePerGas: g, nonce: v, to: k, value: w, stateOverride: b, ...x } = e, C = n ? vo(n) : void 0;
|
86870
86870
|
if (l && (u || d))
|
86871
86871
|
throw new qe("Cannot provide both `code` & `factory`/`factoryData` as parameters.");
|
@@ -86882,7 +86882,7 @@ async function q6(t, e) {
|
|
86882
86882
|
}) : c;
|
86883
86883
|
try {
|
86884
86884
|
Rp(e);
|
86885
|
-
const W = (i ? Nt(i) : void 0) || a, K = $C(b), Y = (F = (
|
86885
|
+
const W = (i ? Nt(i) : void 0) || a, K = $C(b), Y = (F = (_ = (H = t.chain) == null ? void 0 : H.formatters) == null ? void 0 : _.transactionRequest) == null ? void 0 : F.format, le = (Y || V6)({
|
86886
86886
|
// Pick out extra data that might exist on the chain's transaction request type.
|
86887
86887
|
...KC(x, { format: Y }),
|
86888
86888
|
from: C == null ? void 0 : C.address,
|
@@ -86918,11 +86918,11 @@ async function q6(t, e) {
|
|
86918
86918
|
] : [le, W]
|
86919
86919
|
});
|
86920
86920
|
return te === "0x" ? { data: void 0 } : { data: te };
|
86921
|
-
} catch (
|
86922
|
-
const W = Y8t(
|
86921
|
+
} catch (V) {
|
86922
|
+
const W = Y8t(V), { offchainLookup: K, offchainLookupSignature: Y } = await import("./ccip-BE23A-qs.mjs");
|
86923
86923
|
if (t.ccipRead !== !1 && (W == null ? void 0 : W.slice(0, 10)) === Y && k)
|
86924
86924
|
return { data: await K(t, { data: W, to: k }) };
|
86925
|
-
throw j && (W == null ? void 0 : W.slice(0, 10)) === "0x101bb98d" ? new e8t({ factory: u }) : qK(
|
86925
|
+
throw j && (W == null ? void 0 : W.slice(0, 10)) === "0x101bb98d" ? new e8t({ factory: u }) : qK(V, {
|
86926
86926
|
...e,
|
86927
86927
|
account: C,
|
86928
86928
|
chain: t.chain
|
@@ -87280,20 +87280,20 @@ function nvt(t, e) {
|
|
87280
87280
|
data: j.data,
|
87281
87281
|
topics: j.topics,
|
87282
87282
|
strict: f
|
87283
|
-
}),
|
87283
|
+
}), _ = hl(j, {
|
87284
87284
|
args: H,
|
87285
87285
|
eventName: z
|
87286
87286
|
});
|
87287
|
-
b.onLogs([
|
87287
|
+
b.onLogs([_]);
|
87288
87288
|
} catch (z) {
|
87289
|
-
let H,
|
87289
|
+
let H, _;
|
87290
87290
|
if (z instanceof i2 || z instanceof I6) {
|
87291
87291
|
if (f)
|
87292
87292
|
return;
|
87293
|
-
H = z.abiItem.name,
|
87293
|
+
H = z.abiItem.name, _ = (D = z.abiItem.inputs) == null ? void 0 : D.some((V) => !("name" in V && V.name));
|
87294
87294
|
}
|
87295
87295
|
const F = hl(j, {
|
87296
|
-
args:
|
87296
|
+
args: _ ? [] : {},
|
87297
87297
|
eventName: H
|
87298
87298
|
});
|
87299
87299
|
b.onLogs([F]);
|
@@ -88611,7 +88611,7 @@ async function cbt(t, e) {
|
|
88611
88611
|
});
|
88612
88612
|
m.push(n ? { result: H, status: "success" } : H);
|
88613
88613
|
} catch (H) {
|
88614
|
-
const
|
88614
|
+
const _ = Q1(H, {
|
88615
88615
|
abi: M,
|
88616
88616
|
address: j,
|
88617
88617
|
args: z,
|
@@ -88619,8 +88619,8 @@ async function cbt(t, e) {
|
|
88619
88619
|
functionName: D
|
88620
88620
|
});
|
88621
88621
|
if (!n)
|
88622
|
-
throw
|
88623
|
-
m.push({ error:
|
88622
|
+
throw _;
|
88623
|
+
m.push({ error: _, result: void 0, status: "failure" });
|
88624
88624
|
}
|
88625
88625
|
}
|
88626
88626
|
}
|
@@ -89035,11 +89035,11 @@ async function aw(t, e) {
|
|
89035
89035
|
data: b,
|
89036
89036
|
functionName: k
|
89037
89037
|
}) : null, j = (() => {
|
89038
|
-
var
|
89038
|
+
var _;
|
89039
89039
|
if (A === "success")
|
89040
89040
|
return;
|
89041
89041
|
let H;
|
89042
|
-
if (((
|
89042
|
+
if (((_ = p.error) == null ? void 0 : _.data) === "0x" ? H = new Np() : p.error && (H = new F6(p.error)), !!H)
|
89043
89043
|
return Q1(H, {
|
89044
89044
|
abi: g ?? [],
|
89045
89045
|
address: w,
|
@@ -89956,12 +89956,12 @@ async function D7t(t, e) {
|
|
89956
89956
|
],
|
89957
89957
|
traceTransfers: s,
|
89958
89958
|
validation: l
|
89959
|
-
}), p = o ? h[2] : h[0], [m, g, , v, k, w, b, x] = o ? h : [], { calls: C, ...A } = p, M = C.slice(0, -1) ?? [], j = (m == null ? void 0 : m.calls) ?? [], D = (g == null ? void 0 : g.calls) ?? [], z = [...j, ...D].map((Z) => Z.status === "success" ? is(Z.data) : null), H = (v == null ? void 0 : v.calls) ?? [],
|
89959
|
+
}), p = o ? h[2] : h[0], [m, g, , v, k, w, b, x] = o ? h : [], { calls: C, ...A } = p, M = C.slice(0, -1) ?? [], j = (m == null ? void 0 : m.calls) ?? [], D = (g == null ? void 0 : g.calls) ?? [], z = [...j, ...D].map((Z) => Z.status === "success" ? is(Z.data) : null), H = (v == null ? void 0 : v.calls) ?? [], _ = (k == null ? void 0 : k.calls) ?? [], F = [...H, ..._].map((Z) => Z.status === "success" ? is(Z.data) : null), V = ((w == null ? void 0 : w.calls) ?? []).map((Z) => Z.status === "success" ? Z.result : null), W = ((x == null ? void 0 : x.calls) ?? []).map((Z) => Z.status === "success" ? Z.result : null), K = ((b == null ? void 0 : b.calls) ?? []).map((Z) => Z.status === "success" ? Z.result : null), Y = [];
|
89960
89960
|
for (const [Z, le] of F.entries()) {
|
89961
89961
|
const te = z[Z];
|
89962
89962
|
if (typeof le != "bigint" || typeof te != "bigint")
|
89963
89963
|
continue;
|
89964
|
-
const se =
|
89964
|
+
const se = V[Z - 1], fe = W[Z - 1], he = K[Z - 1], J = Z === 0 ? {
|
89965
89965
|
address: j7t,
|
89966
89966
|
decimals: 18,
|
89967
89967
|
symbol: "ETH"
|
@@ -90923,10 +90923,10 @@ function o9t(t) {
|
|
90923
90923
|
const { px: v, py: k, pz: w } = this, { px: b, py: x, pz: C } = g;
|
90924
90924
|
let A = n.ZERO, M = n.ZERO, j = n.ZERO;
|
90925
90925
|
const D = e.a, z = n.mul(e.b, aI);
|
90926
|
-
let H = n.mul(v, b),
|
90927
|
-
|
90926
|
+
let H = n.mul(v, b), _ = n.mul(k, x), F = n.mul(w, C), V = n.add(v, k), W = n.add(b, x);
|
90927
|
+
V = n.mul(V, W), W = n.add(H, _), V = n.sub(V, W), W = n.add(v, w);
|
90928
90928
|
let K = n.add(b, C);
|
90929
|
-
return W = n.mul(W, K), K = n.add(H, F), W = n.sub(W, K), K = n.add(k, w), A = n.add(x, C), K = n.mul(K, A), A = n.add(
|
90929
|
+
return W = n.mul(W, K), K = n.add(H, F), W = n.sub(W, K), K = n.add(k, w), A = n.add(x, C), K = n.mul(K, A), A = n.add(_, F), K = n.sub(K, A), j = n.mul(D, W), A = n.mul(z, F), j = n.add(A, j), A = n.sub(_, j), j = n.add(_, j), M = n.mul(A, j), _ = n.add(H, H), _ = n.add(_, H), F = n.mul(D, F), W = n.mul(z, W), _ = n.add(_, F), F = n.sub(H, F), F = n.mul(D, F), W = n.add(W, F), H = n.mul(_, W), M = n.add(M, H), H = n.mul(K, W), A = n.mul(V, A), A = n.sub(A, H), H = n.mul(V, _), j = n.mul(K, j), j = n.add(j, H), new f(A, M, j);
|
90930
90930
|
}
|
90931
90931
|
subtract(g) {
|
90932
90932
|
return this.add(g.negate());
|
@@ -91047,13 +91047,13 @@ function l9t(t) {
|
|
91047
91047
|
}
|
91048
91048
|
const { ProjectivePoint: l, normPrivateKeyToScalar: c, weierstrassEquation: u, isWithinCurveOrder: d } = o9t({
|
91049
91049
|
...e,
|
91050
|
-
toBytes(F,
|
91051
|
-
const K =
|
91052
|
-
return X1("isCompressed", W), W ? Z(Uint8Array.from([
|
91050
|
+
toBytes(F, V, W) {
|
91051
|
+
const K = V.toAffine(), Y = n.toBytes(K.x), Z = w2;
|
91052
|
+
return X1("isCompressed", W), W ? Z(Uint8Array.from([V.hasEvenY() ? 2 : 3]), Y) : Z(Uint8Array.from([4]), Y, n.toBytes(K.y));
|
91053
91053
|
},
|
91054
91054
|
fromBytes(F) {
|
91055
|
-
const
|
91056
|
-
if (
|
91055
|
+
const V = F.length, W = F[0], K = F.subarray(1);
|
91056
|
+
if (V === i && (W === 2 || W === 3)) {
|
91057
91057
|
const Y = Bu(K);
|
91058
91058
|
if (!$6(Y, gr, n.ORDER))
|
91059
91059
|
throw new Error("Point is not on curve");
|
@@ -91067,46 +91067,46 @@ function l9t(t) {
|
|
91067
91067
|
}
|
91068
91068
|
const te = (le & gr) === gr;
|
91069
91069
|
return (W & 1) === 1 !== te && (le = n.neg(le)), { x: Y, y: le };
|
91070
|
-
} else if (
|
91070
|
+
} else if (V === a && W === 4) {
|
91071
91071
|
const Y = n.fromBytes(K.subarray(0, n.BYTES)), Z = n.fromBytes(K.subarray(n.BYTES, 2 * n.BYTES));
|
91072
91072
|
return { x: Y, y: Z };
|
91073
91073
|
} else {
|
91074
91074
|
const Y = i, Z = a;
|
91075
|
-
throw new Error("invalid Point, expected length of " + Y + ", or uncompressed " + Z + ", got " +
|
91075
|
+
throw new Error("invalid Point, expected length of " + Y + ", or uncompressed " + Z + ", got " + V);
|
91076
91076
|
}
|
91077
91077
|
}
|
91078
91078
|
}), f = (F) => ed(nd(F, e.nByteLength));
|
91079
91079
|
function h(F) {
|
91080
|
-
const
|
91081
|
-
return F >
|
91080
|
+
const V = r >> gr;
|
91081
|
+
return F > V;
|
91082
91082
|
}
|
91083
91083
|
function p(F) {
|
91084
91084
|
return h(F) ? o(-F) : F;
|
91085
91085
|
}
|
91086
|
-
const m = (F,
|
91086
|
+
const m = (F, V, W) => Bu(F.slice(V, W));
|
91087
91087
|
class g {
|
91088
|
-
constructor(
|
91089
|
-
this.r =
|
91088
|
+
constructor(V, W, K) {
|
91089
|
+
this.r = V, this.s = W, this.recovery = K, this.assertValidity();
|
91090
91090
|
}
|
91091
91091
|
// pair (bytes of r, bytes of s)
|
91092
|
-
static fromCompact(
|
91092
|
+
static fromCompact(V) {
|
91093
91093
|
const W = e.nByteLength;
|
91094
|
-
return
|
91094
|
+
return V = Ua("compactSignature", V, W * 2), new g(m(V, 0, W), m(V, W, 2 * W));
|
91095
91095
|
}
|
91096
91096
|
// DER encoded ECDSA signature
|
91097
91097
|
// https://bitcoin.stackexchange.com/questions/57644/what-are-the-parts-of-a-bitcoin-transaction-input-script
|
91098
|
-
static fromDER(
|
91099
|
-
const { r: W, s: K } = zs.toSig(Ua("DER",
|
91098
|
+
static fromDER(V) {
|
91099
|
+
const { r: W, s: K } = zs.toSig(Ua("DER", V));
|
91100
91100
|
return new g(W, K);
|
91101
91101
|
}
|
91102
91102
|
assertValidity() {
|
91103
91103
|
Hu("r", this.r, gr, r), Hu("s", this.s, gr, r);
|
91104
91104
|
}
|
91105
|
-
addRecoveryBit(
|
91106
|
-
return new g(this.r, this.s,
|
91105
|
+
addRecoveryBit(V) {
|
91106
|
+
return new g(this.r, this.s, V);
|
91107
91107
|
}
|
91108
|
-
recoverPublicKey(
|
91109
|
-
const { r: W, s: K, recovery: Y } = this, Z = C(Ua("msgHash",
|
91108
|
+
recoverPublicKey(V) {
|
91109
|
+
const { r: W, s: K, recovery: Y } = this, Z = C(Ua("msgHash", V));
|
91110
91110
|
if (Y == null || ![0, 1, 2, 3].includes(Y))
|
91111
91111
|
throw new Error("recovery id invalid");
|
91112
91112
|
const le = Y === 2 || Y === 3 ? W + e.n : W;
|
@@ -91164,42 +91164,42 @@ function l9t(t) {
|
|
91164
91164
|
* const fast = utils.precompute(8, ProjectivePoint.fromHex(someonesPubKey));
|
91165
91165
|
* fast.multiply(privKey); // much faster ECDH now
|
91166
91166
|
*/
|
91167
|
-
precompute(F = 8,
|
91168
|
-
return
|
91167
|
+
precompute(F = 8, V = l.BASE) {
|
91168
|
+
return V._setWindowSize(F), V.multiply(BigInt(3)), V;
|
91169
91169
|
}
|
91170
91170
|
};
|
91171
|
-
function k(F,
|
91172
|
-
return l.fromPrivateKey(F).toRawBytes(
|
91171
|
+
function k(F, V = !0) {
|
91172
|
+
return l.fromPrivateKey(F).toRawBytes(V);
|
91173
91173
|
}
|
91174
91174
|
function w(F) {
|
91175
|
-
const
|
91176
|
-
return
|
91175
|
+
const V = c0(F), W = typeof F == "string", K = (V || W) && F.length;
|
91176
|
+
return V ? K === i || K === a : W ? K === 2 * i || K === 2 * a : F instanceof l;
|
91177
91177
|
}
|
91178
|
-
function b(F,
|
91178
|
+
function b(F, V, W = !0) {
|
91179
91179
|
if (w(F))
|
91180
91180
|
throw new Error("first arg must be private key");
|
91181
|
-
if (!w(
|
91181
|
+
if (!w(V))
|
91182
91182
|
throw new Error("second arg must be public key");
|
91183
|
-
return l.fromHex(
|
91183
|
+
return l.fromHex(V).multiply(c(F)).toRawBytes(W);
|
91184
91184
|
}
|
91185
91185
|
const x = e.bits2int || function(F) {
|
91186
91186
|
if (F.length > 8192)
|
91187
91187
|
throw new Error("input is too large");
|
91188
|
-
const
|
91189
|
-
return W > 0 ?
|
91188
|
+
const V = Bu(F), W = F.length * 8 - e.nBitLength;
|
91189
|
+
return W > 0 ? V >> BigInt(W) : V;
|
91190
91190
|
}, C = e.bits2int_modN || function(F) {
|
91191
91191
|
return o(x(F));
|
91192
91192
|
}, A = wA(e.nBitLength);
|
91193
91193
|
function M(F) {
|
91194
91194
|
return Hu("num < 2^" + e.nBitLength, F, Os, A), nd(F, e.nByteLength);
|
91195
91195
|
}
|
91196
|
-
function j(F,
|
91196
|
+
function j(F, V, W = D) {
|
91197
91197
|
if (["recovered", "canonical"].some((ye) => ye in W))
|
91198
91198
|
throw new Error("sign() legacy options not supported");
|
91199
91199
|
const { hash: K, randomBytes: Y } = e;
|
91200
91200
|
let { lowS: Z, prehash: le, extraEntropy: te } = W;
|
91201
91201
|
Z == null && (Z = !0), F = Ua("msgHash", F), iI(W), le && (F = Ua("prehashed msgHash", K(F)));
|
91202
|
-
const se = C(F), fe = c(
|
91202
|
+
const se = C(F), fe = c(V), he = [M(fe), M(se)];
|
91203
91203
|
if (te != null && te !== !1) {
|
91204
91204
|
const ye = te === !0 ? Y(n.BYTES) : te;
|
91205
91205
|
he.push(Ua("extraEntropy", ye));
|
@@ -91221,15 +91221,15 @@ function l9t(t) {
|
|
91221
91221
|
return { seed: J, k2sig: pe };
|
91222
91222
|
}
|
91223
91223
|
const D = { lowS: e.lowS, prehash: !1 }, z = { lowS: e.lowS, prehash: !1 };
|
91224
|
-
function H(F,
|
91225
|
-
const { seed: K, k2sig: Y } = j(F,
|
91224
|
+
function H(F, V, W = D) {
|
91225
|
+
const { seed: K, k2sig: Y } = j(F, V, W), Z = e;
|
91226
91226
|
return E$(Z.hash.outputLen, Z.nByteLength, Z.hmac)(K, Y);
|
91227
91227
|
}
|
91228
91228
|
l.BASE._setWindowSize(8);
|
91229
|
-
function
|
91229
|
+
function _(F, V, W, K = z) {
|
91230
91230
|
var ae;
|
91231
91231
|
const Y = F;
|
91232
|
-
|
91232
|
+
V = Ua("msgHash", V), W = Ua("publicKey", W);
|
91233
91233
|
const { lowS: Z, prehash: le, format: te } = K;
|
91234
91234
|
if (iI(K), "strict" in K)
|
91235
91235
|
throw new Error("options.strict was renamed to lowS");
|
@@ -91255,8 +91255,8 @@ function l9t(t) {
|
|
91255
91255
|
}
|
91256
91256
|
if (!he || Z && he.hasHighS())
|
91257
91257
|
return !1;
|
91258
|
-
le && (
|
91259
|
-
const { r: G, s: pe } = he, ye = C(
|
91258
|
+
le && (V = e.hash(V));
|
91259
|
+
const { r: G, s: pe } = he, ye = C(V), ze = s(pe), Ee = o(ye * ze), ge = o(G * ze), Se = (ae = l.BASE.multiplyAndAddUnsafe(J, Ee, ge)) == null ? void 0 : ae.toAffine();
|
91260
91260
|
return Se ? o(Se.x) === G : !1;
|
91261
91261
|
}
|
91262
91262
|
return {
|
@@ -91264,7 +91264,7 @@ function l9t(t) {
|
|
91264
91264
|
getPublicKey: k,
|
91265
91265
|
getSharedSecret: b,
|
91266
91266
|
sign: H,
|
91267
|
-
verify:
|
91267
|
+
verify: _,
|
91268
91268
|
ProjectivePoint: l,
|
91269
91269
|
Signature: g,
|
91270
91270
|
utils: v
|
@@ -91730,7 +91730,7 @@ function b9t(t, { address: e, args: n, batch: r = !0, event: i, events: a, fromB
|
|
91730
91730
|
if (j instanceof i2 || j instanceof I6) {
|
91731
91731
|
if (d)
|
91732
91732
|
return;
|
91733
|
-
D = j.abiItem.name, z = (M = j.abiItem.inputs) == null ? void 0 : M.some((
|
91733
|
+
D = j.abiItem.name, z = (M = j.abiItem.inputs) == null ? void 0 : M.some((_) => !("name" in _ && _.name));
|
91734
91734
|
}
|
91735
91735
|
const H = hl(A, {
|
91736
91736
|
args: z ? [] : {},
|
@@ -92014,7 +92014,7 @@ const F$ = kn(void 0), N9t = ({
|
|
92014
92014
|
onComment: x,
|
92015
92015
|
setCommentDrawerOpen: C
|
92016
92016
|
}) => {
|
92017
|
-
const [A, M] = Ne(!0), [j, D] = Ne(""), [z, H] = Ne(""), [
|
92017
|
+
const [A, M] = Ne(!0), [j, D] = Ne(""), [z, H] = Ne(""), [_, F] = Ne(null), V = Ue(null), W = Ue(null), [K, Y] = Ne(""), [Z, le] = Ne(!1), te = Ue(null), se = Ue(null), fe = Ue(null), he = e.isActive("comment"), J = e.getAttributes("comment").resolved, [G, pe] = Ne({
|
92018
92018
|
inlineCommentText: "",
|
92019
92019
|
handleClick: !1
|
92020
92020
|
}), ye = localStorage.getItem("ensCache"), [ze, Ee] = Ne(
|
@@ -92196,7 +92196,7 @@ const F$ = kn(void 0), N9t = ({
|
|
92196
92196
|
createdAt: /* @__PURE__ */ new Date()
|
92197
92197
|
};
|
92198
92198
|
c == null || c(Ae), s(Ae.id), H(""), x == null || x(), requestAnimationFrame(() => {
|
92199
|
-
|
92199
|
+
V.current && V.current.scrollTo({
|
92200
92200
|
top: 0,
|
92201
92201
|
behavior: "smooth"
|
92202
92202
|
});
|
@@ -92208,7 +92208,7 @@ const F$ = kn(void 0), N9t = ({
|
|
92208
92208
|
c,
|
92209
92209
|
s,
|
92210
92210
|
x,
|
92211
|
-
|
92211
|
+
V
|
92212
92212
|
]), we = tt(
|
92213
92213
|
(Ae) => {
|
92214
92214
|
Ae.key === "Enter" && !Ae.shiftKey && (Ae.preventDefault(), Q());
|
@@ -92285,8 +92285,8 @@ const F$ = kn(void 0), N9t = ({
|
|
92285
92285
|
toggleResolved: Ye,
|
92286
92286
|
setOpenReplyId: F,
|
92287
92287
|
handleReplyKeyDown: Be,
|
92288
|
-
openReplyId:
|
92289
|
-
commentsSectionRef:
|
92288
|
+
openReplyId: _,
|
92289
|
+
commentsSectionRef: V,
|
92290
92290
|
addComment: oe,
|
92291
92291
|
handleCommentSubmit: Q,
|
92292
92292
|
comment: z,
|
@@ -92342,7 +92342,7 @@ const F$ = kn(void 0), N9t = ({
|
|
92342
92342
|
Ye,
|
92343
92343
|
F,
|
92344
92344
|
Be,
|
92345
|
-
|
92345
|
+
_,
|
92346
92346
|
oe,
|
92347
92347
|
Q,
|
92348
92348
|
z,
|
@@ -93962,10 +93962,10 @@ function Kwt(t, e, n, r) {
|
|
93962
93962
|
const b = t.sCount[l] + h - (t.bMarks[l] + t.tShift[l]);
|
93963
93963
|
let x = b;
|
93964
93964
|
for (; a < i; ) {
|
93965
|
-
const
|
93966
|
-
if (
|
93965
|
+
const V = t.src.charCodeAt(a);
|
93966
|
+
if (V === 9)
|
93967
93967
|
x += 4 - (x + t.bsCount[l]) % 4;
|
93968
|
-
else if (
|
93968
|
+
else if (V === 32)
|
93969
93969
|
x++;
|
93970
93970
|
else
|
93971
93971
|
break;
|
@@ -93978,12 +93978,12 @@ function Kwt(t, e, n, r) {
|
|
93978
93978
|
s = t.push("list_item_open", "li", 1), s.markup = String.fromCharCode(p);
|
93979
93979
|
const j = [l, 0];
|
93980
93980
|
s.map = j, d && (s.info = t.src.slice(o, h - 1));
|
93981
|
-
const D = t.tight, z = t.tShift[l], H = t.sCount[l],
|
93982
|
-
if (t.listIndent = t.blkIndent, t.blkIndent = M, t.tight = !0, t.tShift[l] = C - t.bMarks[l], t.sCount[l] = x, C >= i && t.isEmpty(l + 1) ? t.line = Math.min(t.line + 2, n) : t.md.block.tokenize(t, l, n, !0), (!t.tight || v) && (c = !1), v = t.line - l > 1 && t.isEmpty(t.line - 1), t.blkIndent = t.listIndent, t.listIndent =
|
93981
|
+
const D = t.tight, z = t.tShift[l], H = t.sCount[l], _ = t.listIndent;
|
93982
|
+
if (t.listIndent = t.blkIndent, t.blkIndent = M, t.tight = !0, t.tShift[l] = C - t.bMarks[l], t.sCount[l] = x, C >= i && t.isEmpty(l + 1) ? t.line = Math.min(t.line + 2, n) : t.md.block.tokenize(t, l, n, !0), (!t.tight || v) && (c = !1), v = t.line - l > 1 && t.isEmpty(t.line - 1), t.blkIndent = t.listIndent, t.listIndent = _, t.tShift[l] = z, t.sCount[l] = H, t.tight = D, s = t.push("list_item_close", "li", -1), s.markup = String.fromCharCode(p), l = t.line, j[1] = l, l >= n || t.sCount[l] < t.blkIndent || t.sCount[l] - t.blkIndent >= 4)
|
93983
93983
|
break;
|
93984
93984
|
let F = !1;
|
93985
|
-
for (let
|
93986
|
-
if (k[
|
93985
|
+
for (let V = 0, W = k.length; V < W; V++)
|
93986
|
+
if (k[V](t, l, n, !0)) {
|
93987
93987
|
F = !0;
|
93988
93988
|
break;
|
93989
93989
|
}
|
@@ -95639,9 +95639,9 @@ function yJ() {
|
|
95639
95639
|
e.isSupported = typeof fJ == "function" && typeof w == "function" && C && C.createHTMLDocument !== void 0;
|
95640
95640
|
const {
|
95641
95641
|
MUSTACHE_EXPR: H,
|
95642
|
-
ERB_EXPR:
|
95642
|
+
ERB_EXPR: _,
|
95643
95643
|
TMPLIT_EXPR: F,
|
95644
|
-
DATA_ATTR:
|
95644
|
+
DATA_ATTR: V,
|
95645
95645
|
ARIA_ATTR: W,
|
95646
95646
|
IS_SCRIPT_OR_DATA: K,
|
95647
95647
|
ATTR_WHITESPACE: Y,
|
@@ -95810,7 +95810,7 @@ function yJ() {
|
|
95810
95810
|
}
|
95811
95811
|
return Fr(ee), !0;
|
95812
95812
|
}
|
95813
|
-
return ee instanceof l && !ni(ee) || (Ge === "noscript" || Ge === "noembed" || Ge === "noframes") && ii(/<\/no(script|embed|frames)/i, ee.innerHTML) ? (Fr(ee), !0) : (Se && ee.nodeType === kf.text && (Ce = ee.textContent, Gm([H,
|
95813
|
+
return ee instanceof l && !ni(ee) || (Ge === "noscript" || Ge === "noembed" || Ge === "noframes") && ii(/<\/no(script|embed|frames)/i, ee.innerHTML) ? (Fr(ee), !0) : (Se && ee.nodeType === kf.text && (Ce = ee.textContent, Gm([H, _, F], (Rt) => {
|
95814
95814
|
Ce = vf(Ce, Rt, " ");
|
95815
95815
|
}), ee.textContent !== Ce && (gf(e.removed, {
|
95816
95816
|
element: ee.cloneNode()
|
@@ -95818,7 +95818,7 @@ function yJ() {
|
|
95818
95818
|
}, ut = function(ee, Ce, Ge) {
|
95819
95819
|
if (S && (Ce === "id" || Ce === "name") && (Ge in n || Ge in dt))
|
95820
95820
|
return !1;
|
95821
|
-
if (!(ze && !pe[Ce] && ii(
|
95821
|
+
if (!(ze && !pe[Ce] && ii(V, Ce))) {
|
95822
95822
|
if (!(ye && ii(W, Ce))) {
|
95823
95823
|
if (!fe[Ce] || pe[Ce]) {
|
95824
95824
|
if (
|
@@ -95876,7 +95876,7 @@ function yJ() {
|
|
95876
95876
|
Mo(jt, ee);
|
95877
95877
|
continue;
|
95878
95878
|
}
|
95879
|
-
Se && Gm([H,
|
95879
|
+
Se && Gm([H, _, F], (WL) => {
|
95880
95880
|
ri = vf(ri, WL, " ");
|
95881
95881
|
});
|
95882
95882
|
const UL = Ct(ee.nodeName);
|
@@ -95947,7 +95947,7 @@ function yJ() {
|
|
95947
95947
|
}
|
95948
95948
|
let Vn = ae ? Ce.outerHTML : Ce.innerHTML;
|
95949
95949
|
return ae && te["!doctype"] && Ce.ownerDocument && Ce.ownerDocument.doctype && Ce.ownerDocument.doctype.name && ii(mJ, Ce.ownerDocument.doctype.name) && (Vn = "<!DOCTYPE " + Ce.ownerDocument.doctype.name + `>
|
95950
|
-
` + Vn), Se && Gm([H,
|
95950
|
+
` + Vn), Se && Gm([H, _, F], (wi) => {
|
95951
95951
|
Vn = vf(Vn, wi, " ");
|
95952
95952
|
}), b && U ? b.createHTML(Vn) : Vn;
|
95953
95953
|
}, e.setConfig = function() {
|
@@ -97102,8 +97102,8 @@ async function OI(t, e, n) {
|
|
97102
97102
|
const H = j[z], F = (H.textContent || "").match(/^\[([ x])\]\s*(.*)/i);
|
97103
97103
|
if (F) {
|
97104
97104
|
D = !0;
|
97105
|
-
const
|
97106
|
-
H.setAttribute("data-type", "taskItem"), H.setAttribute("data-checked",
|
97105
|
+
const V = F[1].toLowerCase() === "x", W = F[2];
|
97106
|
+
H.setAttribute("data-type", "taskItem"), H.setAttribute("data-checked", V.toString()), H.textContent = W;
|
97107
97107
|
}
|
97108
97108
|
}
|
97109
97109
|
D && M.setAttribute("data-type", "taskList");
|
@@ -99500,29 +99500,29 @@ const jJ = (t) => t && (t.length > 20 ? t.slice(0, 5) + "..." + t.slice(t.length
|
|
99500
99500
|
});
|
99501
99501
|
}, [c, u, d, i]);
|
99502
99502
|
const z = () => {
|
99503
|
-
var
|
99504
|
-
if (a == null || a(d), (
|
99503
|
+
var V;
|
99504
|
+
if (a == null || a(d), (V = g.current) != null && V.parentElement) {
|
99505
99505
|
const W = g.current.closest('[role="dialog"]');
|
99506
99506
|
W && W.remove();
|
99507
99507
|
}
|
99508
99508
|
}, H = () => {
|
99509
|
-
var
|
99510
|
-
if (o == null || o(d), (
|
99509
|
+
var V;
|
99510
|
+
if (o == null || o(d), (V = g.current) != null && V.parentElement) {
|
99511
99511
|
const W = g.current.closest('[role="dialog"]');
|
99512
99512
|
W && W.remove();
|
99513
99513
|
}
|
99514
|
-
},
|
99515
|
-
var
|
99516
|
-
if (s == null || s(d), (
|
99514
|
+
}, _ = () => {
|
99515
|
+
var V;
|
99516
|
+
if (s == null || s(d), (V = g.current) != null && V.parentElement) {
|
99517
99517
|
const W = g.current.closest('[role="dialog"]');
|
99518
99518
|
W && W.remove();
|
99519
99519
|
}
|
99520
99520
|
}, F = tt(() => {
|
99521
99521
|
if (!(i != null && i.length)) return null;
|
99522
|
-
let
|
99522
|
+
let V = i.sort(
|
99523
99523
|
(W, K) => new Date(W.createdAt || /* @__PURE__ */ new Date()).getTime() - new Date(K.createdAt || /* @__PURE__ */ new Date()).getTime()
|
99524
99524
|
);
|
99525
|
-
return !w && i.length > 3 && (
|
99525
|
+
return !w && i.length > 3 && (V = i.slice(-2)), /* @__PURE__ */ L.jsxs("div", { className: "flex flex-col gap-0 ml-3 relative", children: [
|
99526
99526
|
i.length > 3 && !w && /* @__PURE__ */ L.jsxs(
|
99527
99527
|
"div",
|
99528
99528
|
{
|
@@ -99557,13 +99557,13 @@ const jJ = (t) => t && (t.length > 20 ? t.slice(0, 5) + "..." + t.slice(t.length
|
|
99557
99557
|
]
|
99558
99558
|
}
|
99559
99559
|
),
|
99560
|
-
|
99560
|
+
V.map((W, K) => /* @__PURE__ */ L.jsx(
|
99561
99561
|
SCt,
|
99562
99562
|
{
|
99563
99563
|
reply: W.content || "",
|
99564
99564
|
username: W.username || "",
|
99565
99565
|
createdAt: W.createdAt || /* @__PURE__ */ new Date(),
|
99566
|
-
isLast: K ===
|
99566
|
+
isLast: K === V.length - 1
|
99567
99567
|
},
|
99568
99568
|
W.id
|
99569
99569
|
))
|
@@ -99672,7 +99672,7 @@ const jJ = (t) => t && (t.length > 20 ? t.slice(0, 5) + "..." + t.slice(t.length
|
|
99672
99672
|
className: be(
|
99673
99673
|
"flex items-center color-text-default text-sm font-medium gap-2 rounded p-2 transition-all hover:color-bg-default-hover w-full"
|
99674
99674
|
),
|
99675
|
-
onClick: l ?
|
99675
|
+
onClick: l ? _ : z,
|
99676
99676
|
children: [
|
99677
99677
|
/* @__PURE__ */ L.jsx(Ke, { name: "CircleCheck", size: "sm" }),
|
99678
99678
|
l ? "Unresolve" : "Resolve"
|
@@ -99768,9 +99768,9 @@ const jJ = (t) => t && (t.length > 20 ? t.slice(0, 5) + "..." + t.slice(t.length
|
|
99768
99768
|
// onPrevComment,
|
99769
99769
|
// activeCommentIndex,
|
99770
99770
|
onCommentReply: H,
|
99771
|
-
resolveComment:
|
99771
|
+
resolveComment: _,
|
99772
99772
|
unresolveComment: F,
|
99773
|
-
deleteComment:
|
99773
|
+
deleteComment: V,
|
99774
99774
|
isDDocOwner: W,
|
99775
99775
|
onComment: K,
|
99776
99776
|
isConnected: Y,
|
@@ -99815,7 +99815,7 @@ const jJ = (t) => t && (t.length > 20 ? t.slice(0, 5) + "..." + t.slice(t.length
|
|
99815
99815
|
}, Ee = () => {
|
99816
99816
|
d((X) => !X);
|
99817
99817
|
}, ge = () => {
|
99818
|
-
|
99818
|
+
V(t);
|
99819
99819
|
};
|
99820
99820
|
Pe(() => {
|
99821
99821
|
t && (A ? s(A.content || "") : h(!1));
|
@@ -99987,7 +99987,7 @@ const jJ = (t) => t && (t.length > 20 ? t.slice(0, 5) + "..." + t.slice(t.length
|
|
99987
99987
|
className: be({
|
99988
99988
|
"!bg-transparent": i
|
99989
99989
|
}),
|
99990
|
-
onClick: () => A != null && A.resolved ? F(t) :
|
99990
|
+
onClick: () => A != null && A.resolved ? F(t) : _(t)
|
99991
99991
|
}
|
99992
99992
|
)
|
99993
99993
|
}
|
@@ -100129,7 +100129,7 @@ a3.exports;
|
|
100129
100129
|
D && (j = M, M = null);
|
100130
100130
|
var z = j.navigator || {}, H = z.userAgent || "";
|
100131
100131
|
M || (M = H);
|
100132
|
-
var
|
100132
|
+
var _ = D ? !!z.likeChrome : /\bChrome\b/.test(M) && !/internal|\n/i.test(d.toString()), F = "Object", V = D ? F : "ScriptBridgingProxyObject", W = D ? F : "Environment", K = D && j.java ? "JavaPackage" : v(j.java), Y = D ? F : "RuntimeObject", Z = /\bJava/.test(K) && j.java, le = Z && v(j.environment) == W, te = Z ? "a" : "α", se = Z ? "b" : "β", fe = j.document || {}, he = j.operamini || j.opera, J = l.test(J = D && he ? he["[[Class]]"] : v(he)) ? J : he = null, G, pe = M, ye = [], ze = null, Ee = M == H, ge = Ee && he && typeof he.version == "function" && he.version(), Se, xe = Re([
|
100133
100133
|
{ label: "EdgeHTML", pattern: "Edge" },
|
100134
100134
|
"Trident",
|
100135
100135
|
{ label: "WebKit", pattern: "AppleWebKit" },
|
@@ -100327,7 +100327,7 @@ a3.exports;
|
|
100327
100327
|
}
|
100328
100328
|
ae || (ae = "Rhino");
|
100329
100329
|
} else typeof j.process == "object" && !j.process.browser && (G = j.process) && (typeof G.versions == "object" && (typeof G.versions.electron == "string" ? (ye.push("Node " + G.versions.node), ae = "Electron", ge = G.versions.electron) : typeof G.versions.nw == "string" && (ye.push("Chromium " + ge, "Node " + G.versions.node), ae = "NW.js", ge = G.versions.nw)), ae || (ae = "Node.js", pe = G.arch, oe = G.platform, ge = /[\d.]+/.exec(G.version), ge = ge ? ge[0] : null));
|
100330
|
-
else v(G = j.runtime) ==
|
100330
|
+
else v(G = j.runtime) == V ? (ae = "Adobe AIR", oe = G.flash.system.Capabilities.os) : v(G = j.phantom) == Y ? (ae = "PhantomJS", ge = (G = G.version || null) && G.major + "." + G.minor + "." + G.patch) : typeof fe.documentMode == "number" && (G = /\bTrident\/(\d+)/i.exec(M)) ? (ge = [ge, fe.documentMode], (G = +G[1] + 4) != ge[1] && (ye.push("IE " + ge[1] + " mode"), xe && (xe[1] = ""), ge[1] = G), ge = ae == "IE" ? String(ge[1].toFixed(1)) : ge[0]) : typeof fe.documentMode == "number" && /^(?:Chrome|Firefox)\b/.test(ae) && (ye.push("masking as " + ae + " " + ge), ae = "IE", ge = "11.0", xe = ["Trident"], oe = "Windows");
|
100331
100331
|
oe = oe && m(oe);
|
100332
100332
|
}
|
100333
100333
|
if (ge && (G = /(?:[ab]|dp|pre|[ab]\d+pre)(?:\d+\+?)?$/i.exec(ge) || /(?:alpha|beta)(?: ?\d)?/i.exec(M + ";" + (Ee && z.appMinorVersion)) || /\bMinefield\b/i.test(M) && "a") && (ze = /b/i.test(G) ? "beta" : "alpha", ge = ge.replace(RegExp(G + "\\+?$"), "") + (ze == "beta" ? se : te) + (/\d+\+?/.exec(G) || "")), ae == "Fennec" || ae == "Firefox" && /\b(?:Android|Firefox OS|KaiOS)\b/.test(oe))
|
@@ -100345,7 +100345,7 @@ a3.exports;
|
|
100345
100345
|
ye.unshift("embedded");
|
100346
100346
|
}
|
100347
100347
|
else (/\bBlackBerry\b/.test($) || /\bBB10\b/.test(M)) && (G = (RegExp($.replace(/ +/g, " *") + "/([.\\d]+)", "i").exec(M) || 0)[1] || ge) ? (G = [G, /BB10/.test(M)], oe = (G[1] ? ($ = null, X = "BlackBerry") : "Device Software") + " " + G[0], ge = null) : this != g && $ != "Wii" && (Ee && he || /Opera/.test(ae) && /\b(?:MSIE|Firefox)\b/i.test(M) || ae == "Firefox" && /\bOS X (?:\d+\.){2,}/.test(oe) || ae == "IE" && (oe && !/^Win/.test(oe) && ge > 5.5 || /\bWindows XP\b/.test(oe) && ge > 8 || ge == 8 && !/\bTrident\b/.test(M))) && !l.test(G = C.call(g, M.replace(l, "") + ";")) && G.name && (G = "ing as " + G.name + ((G = G.version) ? " " + G : ""), l.test(ae) ? (/\bIE\b/.test(G) && oe == "Mac OS" && (oe = null), G = "identify" + G) : (G = "mask" + G, J ? ae = m(J.replace(/([a-z])([A-Z])/g, "$1 $2")) : ae = "Opera", /\bIE\b/.test(G) && (oe = null), Ee || (ge = null)), xe = ["Presto"], ye.push(G));
|
100348
|
-
(G = (/\bAppleWebKit\/([\d.]+\+?)/i.exec(M) || 0)[1]) && (G = [parseFloat(G.replace(/\.(\d)$/, ".0$1")), G], ae == "Safari" && G[1].slice(-1) == "+" ? (ae = "WebKit Nightly", ze = "alpha", ge = G[1].slice(0, -1)) : (ge == G[1] || ge == (G[2] = (/\bSafari\/([\d.]+\+?)/i.exec(M) || 0)[1])) && (ge = null), G[1] = (/\b(?:Headless)?Chrome\/([\d.]+)/i.exec(M) || 0)[1], G[0] == 537.36 && G[2] == 537.36 && parseFloat(G[1]) >= 28 && xe == "WebKit" && (xe = ["Blink"]), !Ee || !
|
100348
|
+
(G = (/\bAppleWebKit\/([\d.]+\+?)/i.exec(M) || 0)[1]) && (G = [parseFloat(G.replace(/\.(\d)$/, ".0$1")), G], ae == "Safari" && G[1].slice(-1) == "+" ? (ae = "WebKit Nightly", ze = "alpha", ge = G[1].slice(0, -1)) : (ge == G[1] || ge == (G[2] = (/\bSafari\/([\d.]+\+?)/i.exec(M) || 0)[1])) && (ge = null), G[1] = (/\b(?:Headless)?Chrome\/([\d.]+)/i.exec(M) || 0)[1], G[0] == 537.36 && G[2] == 537.36 && parseFloat(G[1]) >= 28 && xe == "WebKit" && (xe = ["Blink"]), !Ee || !_ && !G[1] ? (xe && (xe[1] = "like Safari"), G = (G = G[0], G < 400 ? 1 : G < 500 ? 2 : G < 526 ? 3 : G < 533 ? 4 : G < 534 ? "4+" : G < 535 ? 5 : G < 537 ? 6 : G < 538 ? 7 : G < 601 ? 8 : G < 602 ? 9 : G < 604 ? 10 : G < 606 ? 11 : G < 608 ? 12 : "12")) : (xe && (xe[1] = "like Chrome"), G = G[1] || (G = G[0], G < 530 ? 1 : G < 532 ? 2 : G < 532.05 ? 3 : G < 533 ? 4 : G < 534.03 ? 5 : G < 534.07 ? 6 : G < 534.1 ? 7 : G < 534.13 ? 8 : G < 534.16 ? 9 : G < 534.24 ? 10 : G < 534.3 ? 11 : G < 535.01 ? 12 : G < 535.02 ? "13+" : G < 535.07 ? 15 : G < 535.11 ? 16 : G < 535.19 ? 17 : G < 536.05 ? 18 : G < 536.1 ? 19 : G < 537.01 ? 20 : G < 537.11 ? "21+" : G < 537.13 ? 23 : G < 537.18 ? 24 : G < 537.24 ? 25 : G < 537.36 ? 26 : xe != "Blink" ? "27" : "28")), xe && (xe[1] += " " + (G += typeof G == "number" ? ".x" : /[.+]/.test(G) ? "" : "+")), ae == "Safari" && (!ge || parseInt(ge) > 45) ? ge = G : ae == "Chrome" && /\bHeadlessChrome/i.test(M) && ye.unshift("headless")), ae == "Opera" && (G = /\bzbov|zvav$/.exec(oe)) ? (ae += " ", ye.unshift("desktop mode"), G == "zvav" ? (ae += "Mini", ge = null) : ae += "Mobile", oe = oe.replace(RegExp(" *" + G + "$"), "")) : ae == "Safari" && /\bChrome\b/.exec(xe && xe[1]) ? (ye.unshift("desktop mode"), ae = "Chrome Mobile", ge = null, /\bOS X\b/.test(oe) ? (X = "Apple", oe = "iOS 4.3+") : oe = null) : /\bSRWare Iron\b/.test(ae) && !ge && (ge = re("Chrome")), ge && ge.indexOf(G = /[\d.]+$/.exec(oe)) == 0 && M.indexOf("/" + G + "-") > -1 && (oe = x(oe.replace(G, ""))), oe && oe.indexOf(ae) != -1 && !RegExp(ae + " OS").test(oe) && (oe = oe.replace(RegExp(" *" + w(ae) + " *"), "")), xe && !/\b(?:Avant|Nook)\b/.test(ae) && (/Browser|Lunascape|Maxthon/.test(ae) || ae != "Safari" && /^iOS/.test(oe) && /\bSafari\b/.test(xe[1]) || /^(?:Adobe|Arora|Breach|Midori|Opera|Phantom|Rekonq|Rock|Samsung Internet|Sleipnir|SRWare Iron|Vivaldi|Web)/.test(ae) && xe[1]) && (G = xe[xe.length - 1]) && ye.push(G), ye.length && (ye = ["(" + ye.join("; ") + ")"]), X && $ && $.indexOf(X) < 0 && ye.push("on " + X), $ && ye.push((/^on /.test(ye[ye.length - 1]) ? "" : "on ") + $), oe && (G = / ([\d.+]+)$/.exec(oe), Se = G && oe.charAt(oe.length - G[0].length - 1) == "/", oe = {
|
100349
100349
|
architecture: 32,
|
100350
100350
|
family: G && !Se ? oe.replace(G[0], "") : oe,
|
100351
100351
|
version: G ? G[1] : null,
|
@@ -103933,7 +103933,7 @@ function ELt(t) {
|
|
103933
103933
|
const D = Array.isArray(w) ? w : [w];
|
103934
103934
|
let z = D.reduce(i(v), {});
|
103935
103935
|
x === !1 && (z = {});
|
103936
|
-
const { prevResolvedValues: H = {} } = k,
|
103936
|
+
const { prevResolvedValues: H = {} } = k, _ = {
|
103937
103937
|
...H,
|
103938
103938
|
...z
|
103939
103939
|
}, F = (K) => {
|
@@ -103941,7 +103941,7 @@ function ELt(t) {
|
|
103941
103941
|
const Y = t.getValue(K);
|
103942
103942
|
Y && (Y.liveStyle = !1);
|
103943
103943
|
};
|
103944
|
-
for (const K in
|
103944
|
+
for (const K in _) {
|
103945
103945
|
const Y = z[K], Z = H[K];
|
103946
103946
|
if (h.hasOwnProperty(K))
|
103947
103947
|
continue;
|
@@ -105960,7 +105960,7 @@ const cTt = (t, e) => KA(t) ? new lTt(e) : new sTt(e, {
|
|
105960
105960
|
onPdfExport: c,
|
105961
105961
|
isLoading: u
|
105962
105962
|
}) => {
|
105963
|
-
var
|
105963
|
+
var _, F, V, W, K;
|
105964
105964
|
const {
|
105965
105965
|
toolRef: d,
|
105966
105966
|
setToolVisibility: f,
|
@@ -106082,7 +106082,7 @@ const cTt = (t, e) => KA(t) ? new lTt(e) : new sTt(e, {
|
|
106082
106082
|
/* @__PURE__ */ L.jsx(
|
106083
106083
|
Ke,
|
106084
106084
|
{
|
106085
|
-
name: (
|
106085
|
+
name: (_ = g[0]) == null ? void 0 : _.icon,
|
106086
106086
|
className: "w-5 h-5"
|
106087
106087
|
}
|
106088
106088
|
),
|
@@ -106169,7 +106169,7 @@ const cTt = (t, e) => KA(t) ? new lTt(e) : new sTt(e, {
|
|
106169
106169
|
D((Y) => !Y), b(!1);
|
106170
106170
|
},
|
106171
106171
|
children: [
|
106172
|
-
/* @__PURE__ */ L.jsx("span", { className: "text-body-sm line-clamp-1 w-fit", children: ((
|
106172
|
+
/* @__PURE__ */ L.jsx("span", { className: "text-body-sm line-clamp-1 w-fit", children: ((V = M.find((Y) => Y.value === n)) == null ? void 0 : V.title) || "100%" }),
|
106173
106173
|
/* @__PURE__ */ L.jsx(Ke, { name: "ChevronDown", size: "sm" })
|
106174
106174
|
]
|
106175
106175
|
}
|
@@ -112808,13 +112808,13 @@ var Aee = { exports: {} };
|
|
112808
112808
|
function H(S, P, O, re) {
|
112809
112809
|
return ae(ge(P), S, O, re);
|
112810
112810
|
}
|
112811
|
-
function
|
112811
|
+
function _(S, P, O, re) {
|
112812
112812
|
return H(S, P, O, re);
|
112813
112813
|
}
|
112814
112814
|
function F(S, P, O, re) {
|
112815
112815
|
return ae(xe(P), S, O, re);
|
112816
112816
|
}
|
112817
|
-
function
|
112817
|
+
function V(S, P, O, re) {
|
112818
112818
|
return ae(Se(P, S.length - O), S, O, re);
|
112819
112819
|
}
|
112820
112820
|
function W(S, P, O) {
|
@@ -113068,14 +113068,14 @@ var Aee = { exports: {} };
|
|
113068
113068
|
return H(this, S, P, O);
|
113069
113069
|
case "latin1":
|
113070
113070
|
case "binary":
|
113071
|
-
return
|
113071
|
+
return _(this, S, P, O);
|
113072
113072
|
case "base64":
|
113073
113073
|
return F(this, S, P, O);
|
113074
113074
|
case "ucs2":
|
113075
113075
|
case "ucs-2":
|
113076
113076
|
case "utf16le":
|
113077
113077
|
case "utf-16le":
|
113078
|
-
return
|
113078
|
+
return V(this, S, P, O);
|
113079
113079
|
default:
|
113080
113080
|
if (Q) throw new TypeError("Unknown encoding: " + re);
|
113081
113081
|
re = ("" + re).toLowerCase(), Q = !0;
|
@@ -113366,10 +113366,10 @@ var Aee = { exports: {} };
|
|
113366
113366
|
function u(D) {
|
113367
113367
|
return D._maxListeners === void 0 ? l.defaultMaxListeners : D._maxListeners;
|
113368
113368
|
}
|
113369
|
-
function d(D, z, H,
|
113370
|
-
var F,
|
113371
|
-
if (c(H),
|
113372
|
-
else if (typeof W == "function" ? W =
|
113369
|
+
function d(D, z, H, _) {
|
113370
|
+
var F, V, W;
|
113371
|
+
if (c(H), V = D._events, V === void 0 ? (V = D._events = /* @__PURE__ */ Object.create(null), D._eventsCount = 0) : (V.newListener !== void 0 && (D.emit("newListener", z, H.listener ? H.listener : H), V = D._events), W = V[z]), W === void 0) W = V[z] = H, ++D._eventsCount;
|
113372
|
+
else if (typeof W == "function" ? W = V[z] = _ ? [H, W] : [W, H] : _ ? W.unshift(H) : W.push(H), F = u(D), 0 < F && W.length > F && !W.warned) {
|
113373
113373
|
W.warned = !0;
|
113374
113374
|
var K = new Error("Possible EventEmitter memory leak detected. " + W.length + " " + (z + " listeners added. Use emitter.setMaxListeners() to increase limit"));
|
113375
113375
|
K.name = "MaxListenersExceededWarning", K.emitter = D, K.type = z, K.count = W.length, s(K);
|
@@ -113380,13 +113380,13 @@ var Aee = { exports: {} };
|
|
113380
113380
|
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);
|
113381
113381
|
}
|
113382
113382
|
function h(D, z, H) {
|
113383
|
-
var
|
113384
|
-
return F.listener = H,
|
113383
|
+
var _ = { fired: !1, wrapFn: void 0, target: D, type: z, listener: H }, F = f.bind(_);
|
113384
|
+
return F.listener = H, _.wrapFn = F, F;
|
113385
113385
|
}
|
113386
113386
|
function p(D, z, H) {
|
113387
|
-
var
|
113388
|
-
if (
|
113389
|
-
var F =
|
113387
|
+
var _ = D._events;
|
113388
|
+
if (_ === void 0) return [];
|
113389
|
+
var F = _[z];
|
113390
113390
|
return F === void 0 ? [] : typeof F == "function" ? H ? [F.listener || F] : [F] : H ? k(F) : g(F, F.length);
|
113391
113391
|
}
|
113392
113392
|
function m(D) {
|
@@ -113399,7 +113399,7 @@ var Aee = { exports: {} };
|
|
113399
113399
|
return 0;
|
113400
113400
|
}
|
113401
113401
|
function g(D, z) {
|
113402
|
-
for (var H = Array(z),
|
113402
|
+
for (var H = Array(z), _ = 0; _ < z; ++_) H[_] = D[_];
|
113403
113403
|
return H;
|
113404
113404
|
}
|
113405
113405
|
function v(D, z) {
|
@@ -113413,10 +113413,10 @@ var Aee = { exports: {} };
|
|
113413
113413
|
function w(D, z, H) {
|
113414
113414
|
typeof D.on == "function" && b(D, "error", z, H);
|
113415
113415
|
}
|
113416
|
-
function b(D, z, H,
|
113417
|
-
if (typeof D.on == "function")
|
113418
|
-
else if (typeof D.addEventListener == "function") D.addEventListener(z, function F(
|
113419
|
-
|
113416
|
+
function b(D, z, H, _) {
|
113417
|
+
if (typeof D.on == "function") _.once ? D.once(z, H) : D.on(z, H);
|
113418
|
+
else if (typeof D.addEventListener == "function") D.addEventListener(z, function F(V) {
|
113419
|
+
_.once && D.removeEventListener(z, F), H(V);
|
113420
113420
|
});
|
113421
113421
|
else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type ' + typeof D);
|
113422
113422
|
}
|
@@ -113432,14 +113432,14 @@ var Aee = { exports: {} };
|
|
113432
113432
|
return D !== D;
|
113433
113433
|
};
|
113434
113434
|
o.exports = l, o.exports.once = function(D, z) {
|
113435
|
-
return new Promise(function(H,
|
113435
|
+
return new Promise(function(H, _) {
|
113436
113436
|
function F(W) {
|
113437
|
-
D.removeListener(z,
|
113437
|
+
D.removeListener(z, V), _(W);
|
113438
113438
|
}
|
113439
|
-
function
|
113439
|
+
function V() {
|
113440
113440
|
typeof D.removeListener == "function" && D.removeListener("error", F), H([].slice.call(arguments));
|
113441
113441
|
}
|
113442
|
-
b(D, z,
|
113442
|
+
b(D, z, V, { once: !0 }), z !== "error" && w(D, F, { once: !0 });
|
113443
113443
|
});
|
113444
113444
|
}, l.EventEmitter = l, l.prototype._events = void 0, l.prototype._eventsCount = 0, l.prototype._maxListeners = void 0;
|
113445
113445
|
var j = 10;
|
@@ -113457,14 +113457,14 @@ var Aee = { exports: {} };
|
|
113457
113457
|
return u(this);
|
113458
113458
|
}, l.prototype.emit = function(D) {
|
113459
113459
|
for (var z = [], H = 1; H < arguments.length; H++) z.push(arguments[H]);
|
113460
|
-
var
|
113461
|
-
if (F !== void 0)
|
113462
|
-
else if (!
|
113463
|
-
if (
|
113464
|
-
var
|
113465
|
-
if (0 < z.length && (
|
113466
|
-
var W = new Error("Unhandled error." + (
|
113467
|
-
throw W.context =
|
113460
|
+
var _ = D === "error", F = this._events;
|
113461
|
+
if (F !== void 0) _ = _ && F.error === void 0;
|
113462
|
+
else if (!_) return !1;
|
113463
|
+
if (_) {
|
113464
|
+
var V;
|
113465
|
+
if (0 < z.length && (V = z[0]), V instanceof Error) throw V;
|
113466
|
+
var W = new Error("Unhandled error." + (V ? " (" + V.message + ")" : ""));
|
113467
|
+
throw W.context = V, W;
|
113468
113468
|
}
|
113469
113469
|
var K = F[D];
|
113470
113470
|
if (K === void 0) return !1;
|
@@ -113480,30 +113480,30 @@ var Aee = { exports: {} };
|
|
113480
113480
|
}, l.prototype.prependOnceListener = function(D, z) {
|
113481
113481
|
return c(z), this.prependListener(D, h(this, D, z)), this;
|
113482
113482
|
}, l.prototype.removeListener = function(D, z) {
|
113483
|
-
var H,
|
113484
|
-
if (c(z),
|
113485
|
-
if (H =
|
113486
|
-
if (H === z || H.listener === z) --this._eventsCount == 0 ? this._events = /* @__PURE__ */ Object.create(null) : (delete
|
113483
|
+
var H, _, F, V, W;
|
113484
|
+
if (c(z), _ = this._events, _ === void 0) return this;
|
113485
|
+
if (H = _[D], H === void 0) return this;
|
113486
|
+
if (H === z || H.listener === z) --this._eventsCount == 0 ? this._events = /* @__PURE__ */ Object.create(null) : (delete _[D], _.removeListener && this.emit("removeListener", D, H.listener || z));
|
113487
113487
|
else if (typeof H != "function") {
|
113488
|
-
for (F = -1,
|
113489
|
-
W = H[
|
113488
|
+
for (F = -1, V = H.length - 1; 0 <= V; V--) if (H[V] === z || H[V].listener === z) {
|
113489
|
+
W = H[V].listener, F = V;
|
113490
113490
|
break;
|
113491
113491
|
}
|
113492
113492
|
if (0 > F) return this;
|
113493
|
-
F === 0 ? H.shift() : v(H, F), H.length === 1 && (
|
113493
|
+
F === 0 ? H.shift() : v(H, F), H.length === 1 && (_[D] = H[0]), _.removeListener !== void 0 && this.emit("removeListener", D, W || z);
|
113494
113494
|
}
|
113495
113495
|
return this;
|
113496
113496
|
}, l.prototype.off = l.prototype.removeListener, l.prototype.removeAllListeners = function(D) {
|
113497
|
-
var z, H,
|
113497
|
+
var z, H, _;
|
113498
113498
|
if (H = this._events, H === void 0) return this;
|
113499
113499
|
if (H.removeListener === void 0) return arguments.length === 0 ? (this._events = /* @__PURE__ */ Object.create(null), this._eventsCount = 0) : H[D] !== void 0 && (--this._eventsCount == 0 ? this._events = /* @__PURE__ */ Object.create(null) : delete H[D]), this;
|
113500
113500
|
if (arguments.length === 0) {
|
113501
|
-
var F,
|
113502
|
-
for (
|
113501
|
+
var F, V = Object.keys(H);
|
113502
|
+
for (_ = 0; _ < V.length; ++_) F = V[_], F !== "removeListener" && this.removeAllListeners(F);
|
113503
113503
|
return this.removeAllListeners("removeListener"), this._events = /* @__PURE__ */ Object.create(null), this._eventsCount = 0, this;
|
113504
113504
|
}
|
113505
113505
|
if (z = H[D], typeof z == "function") this.removeListener(D, z);
|
113506
|
-
else if (z !== void 0) for (
|
113506
|
+
else if (z !== void 0) for (_ = z.length - 1; 0 <= _; _--) this.removeListener(D, z[_]);
|
113507
113507
|
return this;
|
113508
113508
|
}, l.prototype.listeners = function(D) {
|
113509
113509
|
return p(this, D, !0);
|
@@ -113852,7 +113852,7 @@ Use Chrome, Firefox or Internet Explorer 11`);
|
|
113852
113852
|
}
|
113853
113853
|
function x(U) {
|
113854
113854
|
var S = U._readableState;
|
113855
|
-
Z("emitReadable_", S.destroyed, S.length, S.ended), !S.destroyed && (S.length || S.ended) && (U.emit("readable"), S.emittedReadable = !1), S.needReadable = !S.flowing && !S.ended && S.length <= S.highWaterMark,
|
113855
|
+
Z("emitReadable_", S.destroyed, S.length, S.ended), !S.destroyed && (S.length || S.ended) && (U.emit("readable"), S.emittedReadable = !1), S.needReadable = !S.flowing && !S.ended && S.length <= S.highWaterMark, _(U);
|
113856
113856
|
}
|
113857
113857
|
function C(U, S) {
|
113858
113858
|
S.readingMore || (S.readingMore = !0, s.nextTick(A, U, S));
|
@@ -113867,7 +113867,7 @@ Use Chrome, Firefox or Internet Explorer 11`);
|
|
113867
113867
|
function M(U) {
|
113868
113868
|
return function() {
|
113869
113869
|
var S = U._readableState;
|
113870
|
-
Z("pipeOnDrain", S.awaitDrain), S.awaitDrain && S.awaitDrain--, S.awaitDrain === 0 && le(U, "data") && (S.flowing = !0,
|
113870
|
+
Z("pipeOnDrain", S.awaitDrain), S.awaitDrain && S.awaitDrain--, S.awaitDrain === 0 && le(U, "data") && (S.flowing = !0, _(U));
|
113871
113871
|
};
|
113872
113872
|
}
|
113873
113873
|
function j(U) {
|
@@ -113881,9 +113881,9 @@ Use Chrome, Firefox or Internet Explorer 11`);
|
|
113881
113881
|
S.resumeScheduled || (S.resumeScheduled = !0, s.nextTick(H, U, S));
|
113882
113882
|
}
|
113883
113883
|
function H(U, S) {
|
113884
|
-
Z("resume", S.reading), S.reading || U.read(0), S.resumeScheduled = !1, U.emit("resume"),
|
113884
|
+
Z("resume", S.reading), S.reading || U.read(0), S.resumeScheduled = !1, U.emit("resume"), _(U), S.flowing && !S.reading && U.read(0);
|
113885
113885
|
}
|
113886
|
-
function
|
113886
|
+
function _(U) {
|
113887
113887
|
var S = U._readableState;
|
113888
113888
|
for (Z("flow", S.flowing); S.flowing && U.read() !== null; ) ;
|
113889
113889
|
}
|
@@ -113892,7 +113892,7 @@ Use Chrome, Firefox or Internet Explorer 11`);
|
|
113892
113892
|
var P;
|
113893
113893
|
return S.objectMode ? P = S.buffer.shift() : !U || U >= S.length ? (P = S.decoder ? S.buffer.join("") : S.buffer.length === 1 ? S.buffer.first() : S.buffer.concat(S.length), S.buffer.clear()) : P = S.buffer.consume(U, S.decoder), P;
|
113894
113894
|
}
|
113895
|
-
function
|
113895
|
+
function V(U) {
|
113896
113896
|
var S = U._readableState;
|
113897
113897
|
Z("endReadable", S.endEmitted), S.endEmitted || (S.ended = !0, s.nextTick(W, S, U));
|
113898
113898
|
}
|
@@ -113942,12 +113942,12 @@ Use Chrome, Firefox or Internet Explorer 11`);
|
|
113942
113942
|
}, h.prototype.read = function(U) {
|
113943
113943
|
Z("read", U), U = parseInt(U, 10);
|
113944
113944
|
var S = this._readableState, P = U;
|
113945
|
-
if (U !== 0 && (S.emittedReadable = !1), U === 0 && S.needReadable && ((S.highWaterMark === 0 ? 0 < S.length : S.length >= S.highWaterMark) || S.ended)) return Z("read: emitReadable", S.length, S.ended), S.length === 0 && S.ended ?
|
113946
|
-
if (U = k(U, S), U === 0 && S.ended) return S.length === 0 &&
|
113945
|
+
if (U !== 0 && (S.emittedReadable = !1), U === 0 && S.needReadable && ((S.highWaterMark === 0 ? 0 < S.length : S.length >= S.highWaterMark) || S.ended)) return Z("read: emitReadable", S.length, S.ended), S.length === 0 && S.ended ? V(this) : b(this), null;
|
113946
|
+
if (U = k(U, S), U === 0 && S.ended) return S.length === 0 && V(this), null;
|
113947
113947
|
var O = S.needReadable;
|
113948
113948
|
Z("need readable", O), (S.length === 0 || S.length - U < S.highWaterMark) && (O = !0, Z("length less than watermark", O)), S.ended || S.reading ? (O = !1, Z("reading or ended", O)) : O && (Z("do read"), S.reading = !0, S.sync = !0, S.length === 0 && (S.needReadable = !0), this._read(S.highWaterMark), S.sync = !1, !S.reading && (U = k(P, S)));
|
113949
113949
|
var re;
|
113950
|
-
return re = 0 < U ? F(U, S) : null, re === null ? (S.needReadable = S.length <= S.highWaterMark, U = 0) : (S.length -= U, S.awaitDrain = 0), S.length === 0 && (!S.ended && (S.needReadable = !0), P !== U && S.ended &&
|
113950
|
+
return re = 0 < U ? F(U, S) : null, re === null ? (S.needReadable = S.length <= S.highWaterMark, U = 0) : (S.length -= U, S.awaitDrain = 0), S.length === 0 && (!S.ended && (S.needReadable = !0), P !== U && S.ended && V(this)), re !== null && this.emit("data", re), re;
|
113951
113951
|
}, h.prototype._read = function() {
|
113952
113952
|
oe(this, new $("_read()"));
|
113953
113953
|
}, h.prototype.pipe = function(U, S) {
|
@@ -114111,7 +114111,7 @@ Use Chrome, Firefox or Internet Explorer 11`);
|
|
114111
114111
|
function c($) {
|
114112
114112
|
var X = this;
|
114113
114113
|
this.next = null, this.entry = null, this.finish = function() {
|
114114
|
-
|
114114
|
+
V(X, $);
|
114115
114115
|
};
|
114116
114116
|
}
|
114117
114117
|
function u($) {
|
@@ -114163,7 +114163,7 @@ Use Chrome, Firefox or Internet Explorer 11`);
|
|
114163
114163
|
X.writelen = Re, X.writecb = P, X.writing = !0, X.sync = !0, X.destroyed ? X.onwrite(new ze("write")) : oe ? $._writev(U, X.onwrite) : $._write(U, S, X.onwrite), X.sync = !1;
|
114164
114164
|
}
|
114165
114165
|
function b($, X, oe, Re, U) {
|
114166
|
-
--X.pendingcb, oe ? (s.nextTick(U, Re), s.nextTick(
|
114166
|
+
--X.pendingcb, oe ? (s.nextTick(U, Re), s.nextTick(_, $, X), $._writableState.errorEmitted = !0, xe($, Re)) : (U(Re), $._writableState.errorEmitted = !0, xe($, Re), _($, X));
|
114167
114167
|
}
|
114168
114168
|
function x($) {
|
114169
114169
|
$.writing = !1, $.writecb = null, $.length -= $.writelen, $.writelen = 0;
|
@@ -114178,7 +114178,7 @@ Use Chrome, Firefox or Internet Explorer 11`);
|
|
114178
114178
|
}
|
114179
114179
|
}
|
114180
114180
|
function A($, X, oe, Re) {
|
114181
|
-
oe || M($, X), X.pendingcb--, Re(),
|
114181
|
+
oe || M($, X), X.pendingcb--, Re(), _($, X);
|
114182
114182
|
}
|
114183
114183
|
function M($, X) {
|
114184
114184
|
X.length === 0 && X.needDrain && (X.needDrain = !1, $.emit("drain"));
|
@@ -114205,13 +114205,13 @@ Use Chrome, Firefox or Internet Explorer 11`);
|
|
114205
114205
|
}
|
114206
114206
|
function z($, X) {
|
114207
114207
|
$._final(function(oe) {
|
114208
|
-
X.pendingcb--, oe && xe($, oe), X.prefinished = !0, $.emit("prefinish"),
|
114208
|
+
X.pendingcb--, oe && xe($, oe), X.prefinished = !0, $.emit("prefinish"), _($, X);
|
114209
114209
|
});
|
114210
114210
|
}
|
114211
114211
|
function H($, X) {
|
114212
114212
|
X.prefinished || X.finalCalled || (typeof $._final != "function" || X.destroyed ? (X.prefinished = !0, $.emit("prefinish")) : (X.pendingcb++, X.finalCalled = !0, s.nextTick(z, $, X)));
|
114213
114213
|
}
|
114214
|
-
function
|
114214
|
+
function _($, X) {
|
114215
114215
|
var oe = D(X);
|
114216
114216
|
if (oe && (H($, X), X.pendingcb === 0 && (X.finished = !0, $.emit("finish"), X.autoDestroy))) {
|
114217
114217
|
var Re = $._readableState;
|
@@ -114220,9 +114220,9 @@ Use Chrome, Firefox or Internet Explorer 11`);
|
|
114220
114220
|
return oe;
|
114221
114221
|
}
|
114222
114222
|
function F($, X, oe) {
|
114223
|
-
X.ending = !0,
|
114223
|
+
X.ending = !0, _($, X), oe && (X.finished ? s.nextTick(oe) : $.once("finish", oe)), X.ended = !0, $.writable = !1;
|
114224
114224
|
}
|
114225
|
-
function
|
114225
|
+
function V($, X, oe) {
|
114226
114226
|
var Re = $.entry;
|
114227
114227
|
for ($.entry = null; Re; ) {
|
114228
114228
|
var U = Re.callback;
|
@@ -114317,9 +114317,9 @@ Use Chrome, Firefox or Internet Explorer 11`);
|
|
114317
114317
|
var M = this, j = this[v];
|
114318
114318
|
if (j !== null) return Promise.reject(j);
|
114319
114319
|
if (this[k]) return Promise.resolve(c(void 0, !0));
|
114320
|
-
if (this[x].destroyed) return new Promise(function(
|
114320
|
+
if (this[x].destroyed) return new Promise(function(_, F) {
|
114321
114321
|
s.nextTick(function() {
|
114322
|
-
M[v] ? F(M[v]) :
|
114322
|
+
M[v] ? F(M[v]) : _(c(void 0, !0));
|
114323
114323
|
});
|
114324
114324
|
});
|
114325
114325
|
var D, z = this[w];
|
@@ -114342,16 +114342,16 @@ Use Chrome, Firefox or Internet Explorer 11`);
|
|
114342
114342
|
}), h), C);
|
114343
114343
|
o.exports = function(M) {
|
114344
114344
|
var j, D = Object.create(A, (j = {}, l(j, x, { value: M, writable: !0 }), l(j, m, { value: null, writable: !0 }), l(j, g, { value: null, writable: !0 }), l(j, v, { value: null, writable: !0 }), l(j, k, { value: M._readableState.endEmitted, writable: !0 }), l(j, b, { value: function(z, H) {
|
114345
|
-
var
|
114346
|
-
|
114345
|
+
var _ = D[x].read();
|
114346
|
+
_ ? (D[w] = null, D[m] = null, D[g] = null, z(c(_, !1))) : (D[m] = z, D[g] = H);
|
114347
114347
|
}, writable: !0 }), j));
|
114348
114348
|
return D[w] = null, p(M, function(z) {
|
114349
114349
|
if (z && z.code !== "ERR_STREAM_PREMATURE_CLOSE") {
|
114350
114350
|
var H = D[g];
|
114351
114351
|
return H !== null && (D[w] = null, D[m] = null, D[g] = null, H(z)), void (D[v] = z);
|
114352
114352
|
}
|
114353
|
-
var
|
114354
|
-
|
114353
|
+
var _ = D[m];
|
114354
|
+
_ !== null && (D[w] = null, D[m] = null, D[g] = null, _(c(void 0, !0))), D[k] = !0;
|
114355
114355
|
}), M.on("readable", d.bind(null, D)), D;
|
114356
114356
|
};
|
114357
114357
|
}).call(this);
|
@@ -115073,8 +115073,8 @@ Use Chrome, Firefox or Internet Explorer 11`);
|
|
115073
115073
|
j = !0;
|
115074
115074
|
let H = A[z.localCandidateId];
|
115075
115075
|
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 z.googLocalAddress == "string" && (H = z.googLocalAddress.split(":"), this.localAddress = H[0], this.localPort = +H[1]), this.localAddress && (this.localFamily = this.localAddress.includes(":") ? "IPv6" : "IPv4");
|
115076
|
-
let
|
115077
|
-
|
115076
|
+
let _ = C[z.remoteCandidateId];
|
115077
|
+
_ && (_.ip || _.address) ? (this.remoteAddress = _.ip || _.address, this.remotePort = +_.port) : _ && _.ipAddress ? (this.remoteAddress = _.ipAddress, this.remotePort = +_.portNumber) : typeof z.googRemoteAddress == "string" && (_ = z.googRemoteAddress.split(":"), this.remoteAddress = _[0], this.remotePort = +_[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);
|
115078
115078
|
};
|
115079
115079
|
if (x.forEach((z) => {
|
115080
115080
|
z.type === "transport" && z.selectedCandidatePairId && D(M[z.selectedCandidatePairId]), (z.type === "googCandidatePair" && z.googActiveConnection === "true" || (z.type === "candidatepair" || z.type === "candidate-pair") && z.selected) && D(z);
|
@@ -120138,12 +120138,12 @@ function jzt({
|
|
120138
120138
|
// <>
|
120139
120139
|
];
|
120140
120140
|
for (let H = 0; H < z.length; H++) {
|
120141
|
-
const [
|
120142
|
-
We(C,
|
120141
|
+
const [_, F] = z[H], V = We(x, _);
|
120142
|
+
We(C, _, V), We(V, F, x);
|
120143
120143
|
const W = pa(d4);
|
120144
|
-
Wt(
|
120144
|
+
Wt(V, e, W);
|
120145
120145
|
const K = pa();
|
120146
|
-
Wt(
|
120146
|
+
Wt(V, n), Wt(W, e, W), Wt(W, n, K), Wt(K, e, W), Wt(K, n, K), We(W, F, x), We(K, F, x);
|
120147
120147
|
}
|
120148
120148
|
return We(i, W2, k), We(i, iL, Tzt), {
|
120149
120149
|
start: i,
|
@@ -120936,7 +120936,7 @@ const hte = ({
|
|
120936
120936
|
setTimeout(() => {
|
120937
120937
|
z(se, Math.abs(te)), U0 = le;
|
120938
120938
|
});
|
120939
|
-
}, [
|
120939
|
+
}, [_, F] = Ne(), [V, W] = Ne();
|
120940
120940
|
Pe(() => {
|
120941
120941
|
a(t.attrs["media-type"]), b(), F(t.attrs.dataFloat), W(t.attrs.dataAlign);
|
120942
120942
|
}, [t.attrs]);
|
@@ -120966,8 +120966,8 @@ const hte = ({
|
|
120966
120966
|
as: "article",
|
120967
120967
|
className: Tt(
|
120968
120968
|
"media-node-view not-prose transition-all ease-in-out w-full",
|
120969
|
-
|
120970
|
-
|
120969
|
+
_ && `f-${t.attrs.dataFloat}`,
|
120970
|
+
V && `justify-${t.attrs.dataAlign}`
|
120971
120971
|
),
|
120972
120972
|
children: /* @__PURE__ */ L.jsxs(
|
120973
120973
|
"div",
|
@@ -122383,8 +122383,8 @@ async function Ste(...t) {
|
|
122383
122383
|
const [h] = mL(f);
|
122384
122384
|
if (!h) return;
|
122385
122385
|
const [p, m] = Ate(e, h), [g, v, k, w] = Bs.get(e), b = () => {
|
122386
|
-
const
|
122387
|
-
return (Po(a.revalidate) ? a.revalidate(p().data, f) : a.revalidate !== !1) && (delete k[h], delete w[h],
|
122386
|
+
const _ = g[h];
|
122387
|
+
return (Po(a.revalidate) ? a.revalidate(p().data, f) : a.revalidate !== !1) && (delete k[h], delete w[h], _ && _[0]) ? _[0](Mte).then(() => p().data) : p().data;
|
122388
122388
|
};
|
122389
122389
|
if (t.length < 3)
|
122390
122390
|
return b();
|
@@ -122401,12 +122401,12 @@ async function Ste(...t) {
|
|
122401
122401
|
})), Po(x))
|
122402
122402
|
try {
|
122403
122403
|
x = x(H);
|
122404
|
-
} catch (
|
122405
|
-
C =
|
122404
|
+
} catch (_) {
|
122405
|
+
C = _;
|
122406
122406
|
}
|
122407
122407
|
if (x && Cte(x))
|
122408
|
-
if (x = await x.catch((
|
122409
|
-
C =
|
122408
|
+
if (x = await x.catch((_) => {
|
122409
|
+
C = _;
|
122410
122410
|
}), A !== v[h][0]) {
|
122411
122411
|
if (C) throw C;
|
122412
122412
|
return x;
|
@@ -122416,9 +122416,9 @@ async function Ste(...t) {
|
|
122416
122416
|
}));
|
122417
122417
|
if (o && !C)
|
122418
122418
|
if (Po(o)) {
|
122419
|
-
const
|
122419
|
+
const _ = o(x, H);
|
122420
122420
|
m({
|
122421
|
-
data:
|
122421
|
+
data: _,
|
122422
122422
|
error: li,
|
122423
122423
|
_c: li
|
122424
122424
|
});
|
@@ -122572,7 +122572,7 @@ const kb = ke.use || // This extra generic is to avoid TypeScript mixing up the
|
|
122572
122572
|
}), xb = {
|
122573
122573
|
dedupe: !0
|
122574
122574
|
}, BBt = (t, e, n) => {
|
122575
|
-
const { cache: r, compare: i, suspense: a, fallbackData: o, revalidateOnMount: s, revalidateIfStale: l, refreshInterval: c, refreshWhenHidden: u, refreshWhenOffline: d, keepPreviousData: f } = n, [h, p, m, g] = Bs.get(r), [v, k] = mL(t), w = Ue(!1), b = Ue(!1), x = Ue(v), C = Ue(e), A = Ue(n), M = () => A.current, j = () => M().isVisible() && M().isOnline(), [D, z, H,
|
122575
|
+
const { cache: r, compare: i, suspense: a, fallbackData: o, revalidateOnMount: s, revalidateIfStale: l, refreshInterval: c, refreshWhenHidden: u, refreshWhenOffline: d, keepPreviousData: f } = n, [h, p, m, g] = Bs.get(r), [v, k] = mL(t), w = Ue(!1), b = Ue(!1), x = Ue(v), C = Ue(e), A = Ue(n), M = () => A.current, j = () => M().isVisible() && M().isOnline(), [D, z, H, _] = Ate(r, v), F = Ue({}).current, V = on(o) ? on(n.fallback) ? li : n.fallback[v] : o, W = (xe, ae) => {
|
122576
122576
|
for (const $ in F) {
|
122577
122577
|
const X = $;
|
122578
122578
|
if (X === "data") {
|
@@ -122590,7 +122590,7 @@ const kb = ke.use || // This extra generic is to avoid TypeScript mixing up the
|
|
122590
122590
|
isLoading: !0,
|
122591
122591
|
...P
|
122592
122592
|
} : P;
|
122593
|
-
}, $ = D(), X =
|
122593
|
+
}, $ = D(), X = _(), oe = ae($), Re = $ === X ? oe : ae(X);
|
122594
122594
|
let U = oe;
|
122595
122595
|
return [
|
122596
122596
|
() => {
|
@@ -122611,7 +122611,7 @@ const kb = ke.use || // This extra generic is to avoid TypeScript mixing up the
|
|
122611
122611
|
r,
|
122612
122612
|
v
|
122613
122613
|
]
|
122614
|
-
), K[0], K[1]), Z = !w.current, le = h[v] && h[v].length > 0, te = Y.data, se = on(te) ?
|
122614
|
+
), K[0], K[1]), Z = !w.current, le = h[v] && h[v].length > 0, te = Y.data, se = on(te) ? V && Cte(V) ? kb(V) : V : te, fe = Y.error, he = Ue(se), J = f ? on(te) ? on(he.current) ? se : he.current : te : se, G = le && !on(fe) ? !1 : Z && !on(s) ? s : M().isPaused() ? !1 : a ? on(se) ? !1 : l : on(se) || l, pe = !!(v && e && Z && G), ye = on(Y.isValidating) ? pe : Y.isValidating, ze = on(Y.isLoading) ? pe : Y.isLoading, Ee = tt(
|
122615
122615
|
async (xe) => {
|
122616
122616
|
const ae = C.current;
|
122617
122617
|
if (!v || !ae || b.current || M().isPaused())
|
@@ -124547,11 +124547,11 @@ const No = (t) => {
|
|
124547
124547
|
var ge, Se, xe, ae;
|
124548
124548
|
const { doc: J, selection: G } = n.state, pe = e(), ye = J.nodeAt(pe) === J.firstChild, ze = ((ge = J.nodeAt(pe)) == null ? void 0 : ge.type.name) === "dBlock" && ((xe = (Se = J.nodeAt(pe)) == null ? void 0 : Se.content.firstChild) == null ? void 0 : xe.type.name) === "paragraph", Ee = G.$anchor.pos >= pe && G.$anchor.pos <= pe + (((ae = J.nodeAt(pe)) == null ? void 0 : ae.nodeSize) || 0);
|
124549
124549
|
return J.textContent === "" && ye && ze && Ee;
|
124550
|
-
}, [e, n.state]),
|
124550
|
+
}, [e, n.state]), _ = (J) => {
|
124551
124551
|
const G = e() + t.nodeSize;
|
124552
124552
|
n.commands.insertContentAt(G - 4, J);
|
124553
|
-
}, F = lHt(
|
124554
|
-
K(!W), Z(W ? 2 :
|
124553
|
+
}, F = lHt(_), V = cHt(_), [W, K] = Ne(!1), [Y, Z] = Ne(2), le = () => {
|
124554
|
+
K(!W), Z(W ? 2 : V.length);
|
124555
124555
|
};
|
124556
124556
|
return u && c ? /* @__PURE__ */ L.jsx(
|
124557
124557
|
Ku,
|
@@ -124570,7 +124570,7 @@ const No = (t) => {
|
|
124570
124570
|
}),
|
124571
124571
|
children: H && !c && TR(
|
124572
124572
|
F,
|
124573
|
-
|
124573
|
+
V,
|
124574
124574
|
Y,
|
124575
124575
|
le,
|
124576
124576
|
W
|
@@ -124723,7 +124723,7 @@ const No = (t) => {
|
|
124723
124723
|
}),
|
124724
124724
|
children: H && !c && TR(
|
124725
124725
|
F,
|
124726
|
-
|
124726
|
+
V,
|
124727
124727
|
Y,
|
124728
124728
|
le,
|
124729
124729
|
W
|
@@ -124916,16 +124916,16 @@ const No = (t) => {
|
|
124916
124916
|
var z;
|
124917
124917
|
const M = e.node(e.depth - 2), j = e.before(e.depth - 2), D = j + M.nodeSize;
|
124918
124918
|
if (M.content && M.content.size > 0) {
|
124919
|
-
const H = M.content.firstChild,
|
124919
|
+
const H = M.content.firstChild, _ = [];
|
124920
124920
|
if (H) {
|
124921
|
-
const F = ((z = H.content) == null ? void 0 : z.toJSON()) || [],
|
124921
|
+
const F = ((z = H.content) == null ? void 0 : z.toJSON()) || [], V = F.filter(
|
124922
124922
|
(K) => !["bulletList", "orderedList", "taskList"].includes(
|
124923
124923
|
K.type
|
124924
124924
|
)
|
124925
124925
|
);
|
124926
|
-
|
124926
|
+
_.push({
|
124927
124927
|
type: "dBlock",
|
124928
|
-
content:
|
124928
|
+
content: V.length > 0 ? V : [
|
124929
124929
|
{
|
124930
124930
|
type: "paragraph"
|
124931
124931
|
}
|
@@ -124937,13 +124937,13 @@ const No = (t) => {
|
|
124937
124937
|
)
|
124938
124938
|
);
|
124939
124939
|
if (W && W.length > 0 && W.forEach((K) => {
|
124940
|
-
|
124940
|
+
_.push({
|
124941
124941
|
type: "dBlock",
|
124942
124942
|
content: [K]
|
124943
124943
|
});
|
124944
124944
|
}), M.content.size > 1) {
|
124945
124945
|
const K = M.content.toJSON().slice(1);
|
124946
|
-
K.length > 0 &&
|
124946
|
+
K.length > 0 && _.push({
|
124947
124947
|
type: "dBlock",
|
124948
124948
|
content: [
|
124949
124949
|
{
|
@@ -124954,14 +124954,14 @@ const No = (t) => {
|
|
124954
124954
|
});
|
124955
124955
|
}
|
124956
124956
|
}
|
124957
|
-
return t.chain().command(({ tr: F, dispatch:
|
124958
|
-
if (
|
124957
|
+
return t.chain().command(({ tr: F, dispatch: V }) => {
|
124958
|
+
if (V) {
|
124959
124959
|
F.replaceWith(
|
124960
124960
|
j,
|
124961
124961
|
D,
|
124962
124962
|
t.schema.nodeFromJSON({
|
124963
124963
|
type: "doc",
|
124964
|
-
content:
|
124964
|
+
content: _
|
124965
124965
|
})
|
124966
124966
|
);
|
124967
124967
|
const W = j + 4;
|
@@ -126724,30 +126724,30 @@ function gFt(t) {
|
|
126724
126724
|
};
|
126725
126725
|
}
|
126726
126726
|
}));
|
126727
|
-
var
|
126727
|
+
var _ = [l].concat(r ? [r.type] : []);
|
126728
126728
|
return Sb(function() {
|
126729
126729
|
var F = l;
|
126730
126730
|
l && l.hasOwnProperty("current") && (F = l.current);
|
126731
|
-
var
|
126731
|
+
var V = t(F || j.ref || qR(), Object.assign({}, z, {
|
126732
126732
|
plugins: [yFt].concat(D.plugins || [])
|
126733
126733
|
}));
|
126734
|
-
return j.instance =
|
126735
|
-
instance:
|
126734
|
+
return j.instance = V, u && V.disable(), a && V.show(), m && o.hook({
|
126735
|
+
instance: V,
|
126736
126736
|
content: i,
|
126737
126737
|
props: z,
|
126738
126738
|
setSingletonContent: M
|
126739
126739
|
}), k(!0), function() {
|
126740
|
-
|
126740
|
+
V.destroy(), o == null || o.cleanup(V);
|
126741
126741
|
};
|
126742
|
-
},
|
126742
|
+
}, _), Sb(function() {
|
126743
126743
|
var F;
|
126744
126744
|
if (j.renders === 1) {
|
126745
126745
|
j.renders++;
|
126746
126746
|
return;
|
126747
126747
|
}
|
126748
|
-
var
|
126749
|
-
|
126750
|
-
instance:
|
126748
|
+
var V = j.instance;
|
126749
|
+
V.setProps(pFt(V.props, z)), (F = V.popperInstance) == null || F.forceUpdate(), u ? V.disable() : V.enable(), p && (a ? V.show() : V.hide()), m && o.hook({
|
126750
|
+
instance: V,
|
126751
126751
|
content: i,
|
126752
126752
|
props: z,
|
126753
126753
|
setSingletonContent: M
|
@@ -126755,10 +126755,10 @@ function gFt(t) {
|
|
126755
126755
|
}), Sb(function() {
|
126756
126756
|
var F;
|
126757
126757
|
if (s) {
|
126758
|
-
var
|
126759
|
-
|
126760
|
-
popperOptions: Object.assign({},
|
126761
|
-
modifiers: [].concat((((F =
|
126758
|
+
var V = j.instance;
|
126759
|
+
V.setProps({
|
126760
|
+
popperOptions: Object.assign({}, V.props.popperOptions, {
|
126761
|
+
modifiers: [].concat((((F = V.props.popperOptions) == null ? void 0 : F.modifiers) || []).filter(function(W) {
|
126762
126762
|
var K = W.name;
|
126763
126763
|
return K !== "$$tippyReact";
|
126764
126764
|
}), [{
|
@@ -126778,9 +126778,9 @@ function gFt(t) {
|
|
126778
126778
|
})
|
126779
126779
|
});
|
126780
126780
|
}
|
126781
|
-
}, [b.placement, b.referenceHidden, b.escaped].concat(
|
126782
|
-
ref: function(
|
126783
|
-
j.ref =
|
126781
|
+
}, [b.placement, b.referenceHidden, b.escaped].concat(_)), /* @__PURE__ */ ke.createElement(ke.Fragment, null, r ? /* @__PURE__ */ gd(r, {
|
126782
|
+
ref: function(V) {
|
126783
|
+
j.ref = V, Tk(r.ref, V);
|
126784
126784
|
}
|
126785
126785
|
}) : null, v && /* @__PURE__ */ XO(s ? s(fFt(b), A, j.instance) : i, j.container));
|
126786
126786
|
}
|
@@ -134400,12 +134400,12 @@ var gne = function(e) {
|
|
134400
134400
|
throw new Error(`Correct katexImagesData or update code here to support
|
134401
134401
|
` + A + " children.");
|
134402
134402
|
for (var z = 0; z < A; z++) {
|
134403
|
-
var H = new Ic(w[z]),
|
134403
|
+
var H = new Ic(w[z]), _ = new bl([H], {
|
134404
134404
|
width: "400em",
|
134405
134405
|
height: Xe(C),
|
134406
134406
|
viewBox: "0 0 " + s + " " + x,
|
134407
134407
|
preserveAspectRatio: j[z] + " slice"
|
134408
|
-
}), F = ve.makeSvgSpan([M[z]], [
|
134408
|
+
}), F = ve.makeSvgSpan([M[z]], [_], n);
|
134409
134409
|
if (A === 1)
|
134410
134410
|
return {
|
134411
134411
|
span: F,
|
@@ -135340,7 +135340,7 @@ var Ff = function(e, n, r) {
|
|
135340
135340
|
r && (D *= i.sizeMultiplier);
|
135341
135341
|
var z = j / 2 - D, H = [];
|
135342
135342
|
if (d.length > 0) {
|
135343
|
-
var
|
135343
|
+
var _ = j - m - w, F = Math.round(j * 1e3), V = JVt(d, Math.round(_ * 1e3)), W = new Ic(d, V), K = (f / 1e3).toFixed(3) + "em", Y = (F / 1e3).toFixed(3) + "em", Z = new bl([W], {
|
135344
135344
|
width: K,
|
135345
135345
|
height: Y,
|
135346
135346
|
viewBox: "0 0 " + f + " " + F
|
@@ -136076,7 +136076,7 @@ var bs = function(e, n) {
|
|
136076
136076
|
var D = e.rowGaps[r], z = 0;
|
136077
136077
|
D && (z = zn(D, n), z > 0 && (z += k, A < z && (A = z), z = 0)), e.addJot && (A += m), M.height = C, M.depth = A, w += C, M.pos = w, w += A + z, l[r] = M, b(o[r + 1]);
|
136078
136078
|
}
|
136079
|
-
var H = w / 2 + n.fontMetrics().axisHeight,
|
136079
|
+
var H = w / 2 + n.fontMetrics().axisHeight, _ = e.cols || [], F = [], V, W, K = [];
|
136080
136080
|
if (e.tags && e.tags.some((Re) => Re))
|
136081
136081
|
for (r = 0; r < a; ++r) {
|
136082
136082
|
var Y = l[r], Z = Y.pos - H, le = e.tags[r], te = void 0;
|
@@ -136090,22 +136090,22 @@ var bs = function(e, n) {
|
|
136090
136090
|
i = 0, W = 0;
|
136091
136091
|
// Continue while either there are more columns or more column
|
136092
136092
|
// descriptions, so trailing separators don't get lost.
|
136093
|
-
i < s || W <
|
136093
|
+
i < s || W < _.length;
|
136094
136094
|
++i, ++W
|
136095
136095
|
) {
|
136096
|
-
for (var se =
|
136097
|
-
if (fe || (
|
136096
|
+
for (var se = _[W] || {}, fe = !0; se.type === "separator"; ) {
|
136097
|
+
if (fe || (V = ve.makeSpan(["arraycolsep"], []), V.style.width = Xe(n.fontMetrics().doubleRuleSep), F.push(V)), se.separator === "|" || se.separator === ":") {
|
136098
136098
|
var he = se.separator === "|" ? "solid" : "dashed", J = ve.makeSpan(["vertical-separator"], [], n);
|
136099
136099
|
J.style.height = Xe(w), J.style.borderRightWidth = Xe(u), J.style.borderRightStyle = he, J.style.margin = "0 " + Xe(-u / 2);
|
136100
136100
|
var G = w - H;
|
136101
136101
|
G && (J.style.verticalAlign = Xe(-G)), F.push(J);
|
136102
136102
|
} else
|
136103
136103
|
throw new Ze("Invalid separator type: " + se.separator);
|
136104
|
-
W++, se =
|
136104
|
+
W++, se = _[W] || {}, fe = !1;
|
136105
136105
|
}
|
136106
136106
|
if (!(i >= s)) {
|
136107
136107
|
var pe = void 0;
|
136108
|
-
(i > 0 || e.hskipBeforeAndAfter) && (pe = wt.deflt(se.pregap, f), pe !== 0 && (
|
136108
|
+
(i > 0 || e.hskipBeforeAndAfter) && (pe = wt.deflt(se.pregap, f), pe !== 0 && (V = ve.makeSpan(["arraycolsep"], []), V.style.width = Xe(pe), F.push(V)));
|
136109
136109
|
var ye = [];
|
136110
136110
|
for (r = 0; r < a; ++r) {
|
136111
136111
|
var ze = l[r], Ee = ze[i];
|
@@ -136121,7 +136121,7 @@ var bs = function(e, n) {
|
|
136121
136121
|
ye = ve.makeVList({
|
136122
136122
|
positionType: "individualShift",
|
136123
136123
|
children: ye
|
136124
|
-
}, n), ye = ve.makeSpan(["col-align-" + (se.align || "c")], [ye]), F.push(ye), (i < s - 1 || e.hskipBeforeAndAfter) && (pe = wt.deflt(se.postgap, f), pe !== 0 && (
|
136124
|
+
}, n), ye = ve.makeSpan(["col-align-" + (se.align || "c")], [ye]), F.push(ye), (i < s - 1 || e.hskipBeforeAndAfter) && (pe = wt.deflt(se.postgap, f), pe !== 0 && (V = ve.makeSpan(["arraycolsep"], []), V.style.width = Xe(pe), F.push(V)));
|
136125
136125
|
}
|
136126
136126
|
}
|
136127
136127
|
if (l = ve.makeSpan(["mtable"], F), c.length > 0) {
|
@@ -142748,10 +142748,10 @@ function _Wt({ pluginKey: t = FWt, editor: e, char: n = "@", allowSpaces: r = !1
|
|
142748
142748
|
return {
|
142749
142749
|
update: async (g, v) => {
|
142750
142750
|
var k, w, b, x, C, A, M;
|
142751
|
-
const j = (k = this.key) === null || k === void 0 ? void 0 : k.getState(v), D = (w = this.key) === null || w === void 0 ? void 0 : w.getState(g.state), z = j.active && D.active && j.range.from !== D.range.from, H = !j.active && D.active,
|
142752
|
-
if (!
|
142751
|
+
const j = (k = this.key) === null || k === void 0 ? void 0 : k.getState(v), D = (w = this.key) === null || w === void 0 ? void 0 : w.getState(g.state), z = j.active && D.active && j.range.from !== D.range.from, H = !j.active && D.active, _ = j.active && !D.active, F = !H && !_ && j.query !== D.query, V = H || z && F, W = F || z, K = _ || z && F;
|
142752
|
+
if (!V && !W && !K)
|
142753
142753
|
return;
|
142754
|
-
const Y = K && !
|
142754
|
+
const Y = K && !V ? j : D, Z = g.dom.querySelector(`[data-decoration-id="${Y.decorationId}"]`);
|
142755
142755
|
h = {
|
142756
142756
|
editor: e,
|
142757
142757
|
range: Y.range,
|
@@ -142771,10 +142771,10 @@ function _Wt({ pluginKey: t = FWt, editor: e, char: n = "@", allowSpaces: r = !1
|
|
142771
142771
|
const { decorationId: te } = (le = this.key) === null || le === void 0 ? void 0 : le.getState(e.state), se = g.dom.querySelector(`[data-decoration-id="${te}"]`);
|
142772
142772
|
return (se == null ? void 0 : se.getBoundingClientRect()) || null;
|
142773
142773
|
} : null
|
142774
|
-
},
|
142774
|
+
}, V && ((b = p == null ? void 0 : p.onBeforeStart) === null || b === void 0 || b.call(p, h)), W && ((x = p == null ? void 0 : p.onBeforeUpdate) === null || x === void 0 || x.call(p, h)), (W || V) && (h.items = await c({
|
142775
142775
|
editor: e,
|
142776
142776
|
query: Y.query
|
142777
|
-
})), K && ((C = p == null ? void 0 : p.onExit) === null || C === void 0 || C.call(p, h)), W && ((A = p == null ? void 0 : p.onUpdate) === null || A === void 0 || A.call(p, h)),
|
142777
|
+
})), K && ((C = p == null ? void 0 : p.onExit) === null || C === void 0 || C.call(p, h)), W && ((A = p == null ? void 0 : p.onUpdate) === null || A === void 0 || A.call(p, h)), V && ((M = p == null ? void 0 : p.onStart) === null || M === void 0 || M.call(p, h));
|
142778
142778
|
},
|
142779
142779
|
destroy: () => {
|
142780
142780
|
var g;
|
@@ -143797,7 +143797,7 @@ const WO = [
|
|
143797
143797
|
Pe(() => {
|
143798
143798
|
j && H(j);
|
143799
143799
|
}, [j]);
|
143800
|
-
const [
|
143800
|
+
const [_, F] = Ne([]), [V, W] = Ne([
|
143801
143801
|
...ore(
|
143802
143802
|
(Q) => u == null ? void 0 : u(Q),
|
143803
143803
|
h,
|
@@ -143859,7 +143859,7 @@ const WO = [
|
|
143859
143859
|
}
|
143860
143860
|
}, J = pF(
|
143861
143861
|
{
|
143862
|
-
extensions:
|
143862
|
+
extensions: V,
|
143863
143863
|
editorProps: {
|
143864
143864
|
...bDt,
|
143865
143865
|
handleDOMEvents: {
|
@@ -143880,11 +143880,11 @@ const WO = [
|
|
143880
143880
|
immediatelyRender: !1,
|
143881
143881
|
shouldRerenderOnTransaction: !1
|
143882
143882
|
},
|
143883
|
-
[
|
143883
|
+
[b]
|
143884
143884
|
);
|
143885
143885
|
Pe(() => {
|
143886
|
-
x != null && x.TableOfContents && !
|
143887
|
-
...
|
143886
|
+
x != null && x.TableOfContents && !V.some((Q) => Q.name === "tableOfContents") && W([
|
143887
|
+
...V.filter((Q) => Q.name !== "tableOfContents"),
|
143888
143888
|
x.TableOfContents.configure({
|
143889
143889
|
getIndex: x.getHierarchicalIndexes,
|
143890
143890
|
onUpdate(Q) {
|
@@ -143911,7 +143911,7 @@ const WO = [
|
|
143911
143911
|
]
|
143912
143912
|
});
|
143913
143913
|
return W([
|
143914
|
-
...
|
143914
|
+
...V.filter((Be) => Be.name !== "history"),
|
143915
143915
|
GDt.configure({
|
143916
143916
|
provider: Le,
|
143917
143917
|
user: {
|
@@ -144108,7 +144108,7 @@ const WO = [
|
|
144108
144108
|
focusCommentWithActiveId: H,
|
144109
144109
|
slides: le,
|
144110
144110
|
setSlides: te,
|
144111
|
-
tocItems:
|
144111
|
+
tocItems: _,
|
144112
144112
|
setTocItems: F
|
144113
144113
|
};
|
144114
144114
|
}, kZt = ({
|
@@ -144679,13 +144679,13 @@ function zZt(t, e = {}) {
|
|
144679
144679
|
(z, H) => z + d(H),
|
144680
144680
|
0
|
144681
144681
|
);
|
144682
|
-
j.length > 10 ? YO(A).forEach((H,
|
144683
|
-
(
|
144682
|
+
j.length > 10 ? YO(A).forEach((H, _) => {
|
144683
|
+
(_ > 0 || f(H, l)) && p(), l.push({
|
144684
144684
|
type: "content",
|
144685
144685
|
content: ki.render(H)
|
144686
144686
|
});
|
144687
|
-
}) : j.length < 10 && D > 50 ? YO(A, 6).forEach((H,
|
144688
|
-
(
|
144687
|
+
}) : j.length < 10 && D > 50 ? YO(A, 6).forEach((H, _) => {
|
144688
|
+
(_ > 0 || f(H, l)) && p(), l.push({
|
144689
144689
|
type: "content",
|
144690
144690
|
content: ki.render(H)
|
144691
144691
|
});
|
@@ -144779,9 +144779,9 @@ function zZt(t, e = {}) {
|
|
144779
144779
|
const M = l.length > 0 && l[0].type === "h2" && l.length > 1, D = l.reduce((z, H) => {
|
144780
144780
|
if (H.type === "content") {
|
144781
144781
|
const F = H.content.split(`
|
144782
|
-
`).filter((
|
144782
|
+
`).filter((V) => V.trim().length > 0).reduce((V, W) => {
|
144783
144783
|
const K = W.replace(/<[^>]+>/g, ""), Y = Math.ceil(K.length / 200);
|
144784
|
-
return
|
144784
|
+
return V + Math.max(1, Y);
|
144785
144785
|
}, 0);
|
144786
144786
|
return z + F;
|
144787
144787
|
}
|
@@ -144922,7 +144922,7 @@ const RZt = ({
|
|
144922
144922
|
Pe(() => {
|
144923
144923
|
H();
|
144924
144924
|
}, [t]);
|
144925
|
-
const
|
144925
|
+
const _ = tt(() => {
|
144926
144926
|
w ? r((Z) => !Z) : document.fullscreenElement ? document.exitFullscreen ? document.exitFullscreen().then(() => r(!1)).catch(() => {
|
144927
144927
|
r(!1);
|
144928
144928
|
}) : r(!1) : document.documentElement.requestFullscreen ? document.documentElement.requestFullscreen().then(() => r(!0)).catch(() => {
|
@@ -144930,9 +144930,9 @@ const RZt = ({
|
|
144930
144930
|
}) : r(!0);
|
144931
144931
|
}, [w]), F = tt(
|
144932
144932
|
(Z) => {
|
144933
|
-
Z.key === "ArrowRight" || Z.key === "ArrowDown" || Z.code === "Space" ? (Z.preventDefault(), Z.stopPropagation(), D("forward"), g((le) => Math.min(le + 1, u.length - 1))) : Z.key === "ArrowLeft" || Z.key === "ArrowUp" ? (D("backward"), g((le) => Math.max(le - 1, 0))) : Z.key === "Escape" ? !s && e() : (Z.key === "f" || Z.key === "F") &&
|
144933
|
+
Z.key === "ArrowRight" || Z.key === "ArrowDown" || Z.code === "Space" ? (Z.preventDefault(), Z.stopPropagation(), D("forward"), g((le) => Math.min(le + 1, u.length - 1))) : Z.key === "ArrowLeft" || Z.key === "ArrowUp" ? (D("backward"), g((le) => Math.max(le - 1, 0))) : Z.key === "Escape" ? !s && e() : (Z.key === "f" || Z.key === "F") && _();
|
144934
144934
|
},
|
144935
|
-
[u.length, e,
|
144935
|
+
[u.length, e, _]
|
144936
144936
|
);
|
144937
144937
|
Pe(() => (window.addEventListener("keydown", F), () => window.removeEventListener("keydown", F)), [u.length, m]), Pe(() => {
|
144938
144938
|
const Z = () => {
|
@@ -144942,7 +144942,7 @@ const RZt = ({
|
|
144942
144942
|
document.removeEventListener("fullscreenchange", Z);
|
144943
144943
|
};
|
144944
144944
|
}, [w]);
|
144945
|
-
const
|
144945
|
+
const V = (Z) => {
|
144946
144946
|
A(null), x(Z.targetTouches[0].clientX);
|
144947
144947
|
}, W = (Z) => {
|
144948
144948
|
A(Z.targetTouches[0].clientX);
|
@@ -145060,7 +145060,7 @@ const RZt = ({
|
|
145060
145060
|
pn,
|
145061
145061
|
{
|
145062
145062
|
variant: "ghost",
|
145063
|
-
onClick:
|
145063
|
+
onClick: _,
|
145064
145064
|
icon: n ? "Minimize2" : "Play",
|
145065
145065
|
size: "md"
|
145066
145066
|
}
|
@@ -145104,7 +145104,7 @@ const RZt = ({
|
|
145104
145104
|
"presentation-mode fullscreen w-full h-full"
|
145105
145105
|
),
|
145106
145106
|
dangerouslySetInnerHTML: { __html: u[m] },
|
145107
|
-
onTouchStart:
|
145107
|
+
onTouchStart: V,
|
145108
145108
|
onTouchMove: W,
|
145109
145109
|
onTouchEnd: K
|
145110
145110
|
}
|
@@ -145116,7 +145116,7 @@ const RZt = ({
|
|
145116
145116
|
{
|
145117
145117
|
content: u[m],
|
145118
145118
|
editor: z,
|
145119
|
-
onTouchStart:
|
145119
|
+
onTouchStart: V,
|
145120
145120
|
onTouchMove: W,
|
145121
145121
|
onTouchEnd: K,
|
145122
145122
|
isFullscreen: n
|
@@ -145136,7 +145136,7 @@ const RZt = ({
|
|
145136
145136
|
pn,
|
145137
145137
|
{
|
145138
145138
|
variant: "ghost",
|
145139
|
-
onClick:
|
145139
|
+
onClick: _,
|
145140
145140
|
icon: "X",
|
145141
145141
|
size: "md"
|
145142
145142
|
}
|
@@ -145312,9 +145312,9 @@ const RZt = ({
|
|
145312
145312
|
isLoading: D,
|
145313
145313
|
connectViaUsername: z,
|
145314
145314
|
isDDocOwner: H,
|
145315
|
-
getEnsStatus:
|
145315
|
+
getEnsStatus: _,
|
145316
145316
|
ensCache: F
|
145317
|
-
} = ml(), { isNativeMobile:
|
145317
|
+
} = ml(), { isNativeMobile: V } = Yc(), K = r.filter((te) => !te.deleted).filter((te) => p ? !0 : !te.resolved).sort(
|
145318
145318
|
(te, se) => new Date(se.createdAt).getTime() - new Date(te.createdAt).getTime()
|
145319
145319
|
), Y = (te) => {
|
145320
145320
|
o(te), h && h !== te && d(null);
|
@@ -145323,7 +145323,7 @@ const RZt = ({
|
|
145323
145323
|
isEns: !1
|
145324
145324
|
});
|
145325
145325
|
return Pe(() => {
|
145326
|
-
|
145326
|
+
_(i, le);
|
145327
145327
|
}, [i, F]), Pe(() => {
|
145328
145328
|
if (m.current && t) {
|
145329
145329
|
const te = m.current.querySelector(
|
@@ -145428,7 +145428,7 @@ const RZt = ({
|
|
145428
145428
|
id: te.id,
|
145429
145429
|
onChange: s,
|
145430
145430
|
onKeyDown: f,
|
145431
|
-
autoFocus:
|
145431
|
+
autoFocus: V,
|
145432
145432
|
onInput: (he) => b(he, k)
|
145433
145433
|
}
|
145434
145434
|
),
|
@@ -145880,9 +145880,9 @@ const RZt = ({
|
|
145880
145880
|
inlineCommentData: D,
|
145881
145881
|
enableIndexeddbSync: z,
|
145882
145882
|
ddocId: H,
|
145883
|
-
zoomLevel:
|
145883
|
+
zoomLevel: _,
|
145884
145884
|
setZoomLevel: F,
|
145885
|
-
isPresentationMode:
|
145885
|
+
isPresentationMode: V,
|
145886
145886
|
setIsPresentationMode: W,
|
145887
145887
|
isNavbarVisible: K,
|
145888
145888
|
setIsNavbarVisible: Y,
|
@@ -145956,10 +145956,10 @@ const RZt = ({
|
|
145956
145956
|
setCharacterCount: k,
|
145957
145957
|
setWordCount: w,
|
145958
145958
|
secureImageUploadUrl: m,
|
145959
|
-
zoomLevel:
|
145959
|
+
zoomLevel: _,
|
145960
145960
|
onInvalidContentError: pe,
|
145961
145961
|
ignoreCorruptedData: ye,
|
145962
|
-
isPresentationMode:
|
145962
|
+
isPresentationMode: V,
|
145963
145963
|
proExtensions: P,
|
145964
145964
|
metadataProxyUrl: Je,
|
145965
145965
|
onCopyHeadingLink: ht
|
@@ -146058,7 +146058,7 @@ const RZt = ({
|
|
146058
146058
|
{
|
146059
146059
|
onError: v,
|
146060
146060
|
editor: dt,
|
146061
|
-
zoomLevel:
|
146061
|
+
zoomLevel: _,
|
146062
146062
|
setZoomLevel: F,
|
146063
146063
|
isNavbarVisible: K,
|
146064
146064
|
setIsNavbarVisible: Y,
|
@@ -146071,7 +146071,7 @@ const RZt = ({
|
|
146071
146071
|
) })
|
146072
146072
|
}
|
146073
146073
|
),
|
146074
|
-
|
146074
|
+
V && dt && /* @__PURE__ */ L.jsx(
|
146075
146075
|
OZt,
|
146076
146076
|
{
|
146077
146077
|
editor: dt,
|
@@ -146112,32 +146112,32 @@ const RZt = ({
|
|
146112
146112
|
{ "pt-6 md:!mt-16": !K && !t },
|
146113
146113
|
{ "mt-4 md:!mt-16 py-6": t && $e },
|
146114
146114
|
{
|
146115
|
-
"max-[1080px]:!mx-auto min-[1081px]:!ml-[18%] min-[1700px]:!mx-auto": A && !$e &&
|
146115
|
+
"max-[1080px]:!mx-auto min-[1081px]:!ml-[18%] min-[1700px]:!mx-auto": A && !$e && _ !== "0.5" && _ !== "0.75" && _ !== "1.4" && _ !== "1.5" && _ !== "2"
|
146116
146116
|
},
|
146117
146117
|
{
|
146118
|
-
"!mx-auto": !A ||
|
146118
|
+
"!mx-auto": !A || _ === "0.5" || _ === "0.75" || _ === "1.4" || _ === "1.5"
|
146119
146119
|
},
|
146120
146120
|
{
|
146121
|
-
"!ml-0":
|
146121
|
+
"!ml-0": _ === "2" && et && !Oe
|
146122
146122
|
},
|
146123
146123
|
{
|
146124
|
-
"w-[700px] md:max-w-[700px] min-h-[150%]":
|
146124
|
+
"w-[700px] md:max-w-[700px] min-h-[150%]": _ === "0.5"
|
146125
146125
|
},
|
146126
146126
|
{
|
146127
|
-
"w-[800px] md:max-w-[800px] min-h-[200%]":
|
146127
|
+
"w-[800px] md:max-w-[800px] min-h-[200%]": _ === "0.75"
|
146128
146128
|
},
|
146129
146129
|
{
|
146130
|
-
"w-[850px] md:max-w-[850px] min-h-[100%]":
|
146130
|
+
"w-[850px] md:max-w-[850px] min-h-[100%]": _ === "1"
|
146131
146131
|
},
|
146132
|
-
{ "w-[70%] md:max-w-[70%] min-h-[200%]":
|
146132
|
+
{ "w-[70%] md:max-w-[70%] min-h-[200%]": _ === "1.4" },
|
146133
146133
|
{
|
146134
|
-
"w-[1062.5px] md:max-w-[1062.5px] min-h-[100%]":
|
146134
|
+
"w-[1062.5px] md:max-w-[1062.5px] min-h-[100%]": _ === "1.5"
|
146135
146135
|
},
|
146136
|
-
{ "w-[1548px] md:max-w-[1548px]":
|
146136
|
+
{ "w-[1548px] md:max-w-[1548px]": _ === "2" }
|
146137
146137
|
),
|
146138
146138
|
style: {
|
146139
|
-
transformOrigin:
|
146140
|
-
transform: `scaleX(${
|
146139
|
+
transformOrigin: _ === "2" && !Oe ? "left center" : "top center",
|
146140
|
+
transform: `scaleX(${_})`
|
146141
146141
|
},
|
146142
146142
|
children: [
|
146143
146143
|
/* @__PURE__ */ L.jsxs(
|
@@ -146147,11 +146147,11 @@ const RZt = ({
|
|
146147
146147
|
className: Tt(
|
146148
146148
|
"w-full h-full pt-8 md:pt-0",
|
146149
146149
|
{ "custom-ios-padding": yt },
|
146150
|
-
{ "color-bg-default":
|
146150
|
+
{ "color-bg-default": _ === "1.4" || "1.5" }
|
146151
146151
|
),
|
146152
146152
|
style: {
|
146153
146153
|
transformOrigin: "top center",
|
146154
|
-
transform: `scaleY(${
|
146154
|
+
transform: `scaleY(${_})`
|
146155
146155
|
},
|
146156
146156
|
children: [
|
146157
146157
|
/* @__PURE__ */ L.jsxs("div", { children: [
|
@@ -146160,7 +146160,7 @@ const RZt = ({
|
|
146160
146160
|
{
|
146161
146161
|
editor: dt,
|
146162
146162
|
onError: v,
|
146163
|
-
zoomLevel:
|
146163
|
+
zoomLevel: _,
|
146164
146164
|
disableInlineComment: Be || !1,
|
146165
146165
|
setIsCommentSectionOpen: M,
|
146166
146166
|
inlineCommentData: D,
|
@@ -146309,7 +146309,7 @@ const RZt = ({
|
|
146309
146309
|
isOpen: ze,
|
146310
146310
|
onClose: () => Ee == null ? void 0 : Ee(!1),
|
146311
146311
|
isNavbarVisible: K,
|
146312
|
-
isPresentationMode:
|
146312
|
+
isPresentationMode: V,
|
146313
146313
|
activeCommentId: ni,
|
146314
146314
|
isPreviewMode: t
|
146315
146315
|
}
|
@@ -146331,10 +146331,10 @@ const RZt = ({
|
|
146331
146331
|
className: Tt(
|
146332
146332
|
"h-[100vh] w-full custom-scrollbar",
|
146333
146333
|
{
|
146334
|
-
"overflow-x-hidden":
|
146335
|
-
"overflow-x-auto scroll-container":
|
146334
|
+
"overflow-x-hidden": _ !== "2",
|
146335
|
+
"overflow-x-auto scroll-container": _ === "2"
|
146336
146336
|
},
|
146337
|
-
|
146337
|
+
V ? "color-bg-default" : "color-bg-secondary",
|
146338
146338
|
he
|
146339
146339
|
),
|
146340
146340
|
children: [
|
@@ -146346,7 +146346,7 @@ const RZt = ({
|
|
146346
146346
|
"h-14 color-bg-default py-2 px-4 flex gap-2 items-center justify-between w-screen fixed left-0 top-0 border-b color-border-default z-50 transition-transform duration-300",
|
146347
146347
|
{
|
146348
146348
|
"translate-y-0": K,
|
146349
|
-
"translate-y-[-100%]": !K ||
|
146349
|
+
"translate-y-[-100%]": !K || V
|
146350
146350
|
}
|
146351
146351
|
),
|
146352
146352
|
children: dt && (o == null ? void 0 : o({ editor: dt.getJSON() }))
|
@@ -146417,7 +146417,7 @@ const RZt = ({
|
|
146417
146417
|
editor: D,
|
146418
146418
|
ref: z,
|
146419
146419
|
isContentLoading: H,
|
146420
|
-
ydoc:
|
146420
|
+
ydoc: _
|
146421
146421
|
} = gre({
|
146422
146422
|
isPreviewMode: t,
|
146423
146423
|
initialContent: e,
|
@@ -146439,7 +146439,7 @@ const RZt = ({
|
|
146439
146439
|
b,
|
146440
146440
|
() => ({
|
146441
146441
|
getEditor: () => D,
|
146442
|
-
getYdoc: () =>
|
146442
|
+
getYdoc: () => _,
|
146443
146443
|
exportContentAsMarkDown: async (W) => {
|
146444
146444
|
if (D) {
|
146445
146445
|
const K = await D.commands.exportMarkdownFile();
|
@@ -146450,7 +146450,7 @@ const RZt = ({
|
|
146450
146450
|
}
|
146451
146451
|
}
|
146452
146452
|
}),
|
146453
|
-
[D,
|
146453
|
+
[D, _]
|
146454
146454
|
);
|
146455
146455
|
const F = (W) => {
|
146456
146456
|
const K = W.name.split(",").map((Y) => {
|
@@ -146467,7 +146467,7 @@ const RZt = ({
|
|
146467
146467
|
) || Z.push(le);
|
146468
146468
|
}), Z;
|
146469
146469
|
});
|
146470
|
-
},
|
146470
|
+
}, V = (W) => {
|
146471
146471
|
v == null || v(
|
146472
146472
|
(K) => K.filter((Y) => Y.name !== W)
|
146473
146473
|
);
|
@@ -146486,7 +146486,7 @@ const RZt = ({
|
|
146486
146486
|
qh,
|
146487
146487
|
{
|
146488
146488
|
style: { backgroundColor: W == null ? void 0 : W.color },
|
146489
|
-
onRemove: () =>
|
146489
|
+
onRemove: () => V(W == null ? void 0 : W.name),
|
146490
146490
|
isRemovable: !t,
|
146491
146491
|
className: "!h-6 rounded",
|
146492
146492
|
children: W == null ? void 0 : W.name
|
@@ -146517,7 +146517,7 @@ const RZt = ({
|
|
146517
146517
|
qh,
|
146518
146518
|
{
|
146519
146519
|
style: { backgroundColor: W == null ? void 0 : W.color },
|
146520
|
-
onRemove: () =>
|
146520
|
+
onRemove: () => V(W == null ? void 0 : W.name),
|
146521
146521
|
isRemovable: !t,
|
146522
146522
|
className: "!h-6 rounded",
|
146523
146523
|
children: W == null ? void 0 : W.name
|