@fileverse-dev/ddoc 2.0.2-patch-9 → 2.0.3
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.es.js +484 -484
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
@@ -68,16 +68,16 @@ function jae() {
|
|
68
68
|
var v = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
69
69
|
function x(P) {
|
70
70
|
{
|
71
|
-
for (var ae = arguments.length,
|
72
|
-
|
73
|
-
b("error", P,
|
71
|
+
for (var ae = arguments.length, ke = new Array(ae > 1 ? ae - 1 : 0), Ve = 1; Ve < ae; Ve++)
|
72
|
+
ke[Ve - 1] = arguments[Ve];
|
73
|
+
b("error", P, ke);
|
74
74
|
}
|
75
75
|
}
|
76
|
-
function b(P, ae,
|
76
|
+
function b(P, ae, ke) {
|
77
77
|
{
|
78
78
|
var Ve = v.ReactDebugCurrentFrame, ct = Ve.getStackAddendum();
|
79
|
-
ct !== "" && (ae += "%s",
|
80
|
-
var ht =
|
79
|
+
ct !== "" && (ae += "%s", ke = ke.concat([ct]));
|
80
|
+
var ht = ke.map(function(rt) {
|
81
81
|
return String(rt);
|
82
82
|
});
|
83
83
|
ht.unshift("Warning: " + ae), Function.prototype.apply.call(console[P], console, ht);
|
@@ -92,12 +92,12 @@ function jae() {
|
|
92
92
|
// with.
|
93
93
|
P.$$typeof === N || P.getModuleId !== void 0));
|
94
94
|
}
|
95
|
-
function O(P, ae,
|
95
|
+
function O(P, ae, ke) {
|
96
96
|
var Ve = P.displayName;
|
97
97
|
if (Ve)
|
98
98
|
return Ve;
|
99
99
|
var ct = ae.displayName || ae.name || "";
|
100
|
-
return ct !== "" ?
|
100
|
+
return ct !== "" ? ke + "(" + ct + ")" : ke;
|
101
101
|
}
|
102
102
|
function V(P) {
|
103
103
|
return P.displayName || "Context";
|
@@ -129,8 +129,8 @@ function jae() {
|
|
129
129
|
var ae = P;
|
130
130
|
return V(ae) + ".Consumer";
|
131
131
|
case o:
|
132
|
-
var
|
133
|
-
return V(
|
132
|
+
var ke = P;
|
133
|
+
return V(ke._context) + ".Provider";
|
134
134
|
case l:
|
135
135
|
return O(P, P.render, "ForwardRef");
|
136
136
|
case d:
|
@@ -147,14 +147,14 @@ function jae() {
|
|
147
147
|
}
|
148
148
|
return null;
|
149
149
|
}
|
150
|
-
var Z = Object.assign, _ = 0, Y, Q, se, ne, De,
|
150
|
+
var Z = Object.assign, _ = 0, Y, Q, se, ne, De, Ie, ce;
|
151
151
|
function pe() {
|
152
152
|
}
|
153
153
|
pe.__reactDisabledLog = !0;
|
154
|
-
function
|
154
|
+
function Me() {
|
155
155
|
{
|
156
156
|
if (_ === 0) {
|
157
|
-
Y = console.log, Q = console.info, se = console.warn, ne = console.error, De = console.group,
|
157
|
+
Y = console.log, Q = console.info, se = console.warn, ne = console.error, De = console.group, Ie = console.groupCollapsed, ce = console.groupEnd;
|
158
158
|
var P = {
|
159
159
|
configurable: !0,
|
160
160
|
enumerable: !0,
|
@@ -174,7 +174,7 @@ function jae() {
|
|
174
174
|
_++;
|
175
175
|
}
|
176
176
|
}
|
177
|
-
function
|
177
|
+
function ge() {
|
178
178
|
{
|
179
179
|
if (_--, _ === 0) {
|
180
180
|
var P = {
|
@@ -199,7 +199,7 @@ function jae() {
|
|
199
199
|
value: De
|
200
200
|
}),
|
201
201
|
groupCollapsed: Z({}, P, {
|
202
|
-
value:
|
202
|
+
value: Ie
|
203
203
|
}),
|
204
204
|
groupEnd: Z({}, P, {
|
205
205
|
value: ce
|
@@ -210,7 +210,7 @@ function jae() {
|
|
210
210
|
}
|
211
211
|
}
|
212
212
|
var J = v.ReactCurrentDispatcher, Ae;
|
213
|
-
function xe(P, ae,
|
213
|
+
function xe(P, ae, ke) {
|
214
214
|
{
|
215
215
|
if (Ae === void 0)
|
216
216
|
try {
|
@@ -225,23 +225,23 @@ function jae() {
|
|
225
225
|
}
|
226
226
|
var Ge = !1, ve;
|
227
227
|
{
|
228
|
-
var
|
229
|
-
ve = new
|
228
|
+
var Ce = typeof WeakMap == "function" ? WeakMap : Map;
|
229
|
+
ve = new Ce();
|
230
230
|
}
|
231
231
|
function je(P, ae) {
|
232
232
|
if (!P || Ge)
|
233
233
|
return "";
|
234
234
|
{
|
235
|
-
var
|
236
|
-
if (
|
237
|
-
return
|
235
|
+
var ke = ve.get(P);
|
236
|
+
if (ke !== void 0)
|
237
|
+
return ke;
|
238
238
|
}
|
239
239
|
var Ve;
|
240
240
|
Ge = !0;
|
241
241
|
var ct = Error.prepareStackTrace;
|
242
242
|
Error.prepareStackTrace = void 0;
|
243
243
|
var ht;
|
244
|
-
ht = J.current, J.current = null,
|
244
|
+
ht = J.current, J.current = null, Me();
|
245
245
|
try {
|
246
246
|
if (ae) {
|
247
247
|
var rt = function() {
|
@@ -294,19 +294,19 @@ function jae() {
|
|
294
294
|
}
|
295
295
|
}
|
296
296
|
} finally {
|
297
|
-
Ge = !1, J.current = ht,
|
297
|
+
Ge = !1, J.current = ht, ge(), Error.prepareStackTrace = ct;
|
298
298
|
}
|
299
299
|
var hn = P ? P.displayName || P.name : "", on = hn ? xe(hn) : "";
|
300
300
|
return typeof P == "function" && ve.set(P, on), on;
|
301
301
|
}
|
302
|
-
function
|
302
|
+
function Ne(P, ae, ke) {
|
303
303
|
return je(P, !1);
|
304
304
|
}
|
305
305
|
function ye(P) {
|
306
306
|
var ae = P.prototype;
|
307
307
|
return !!(ae && ae.isReactComponent);
|
308
308
|
}
|
309
|
-
function K(P, ae,
|
309
|
+
function K(P, ae, ke) {
|
310
310
|
if (P == null)
|
311
311
|
return "";
|
312
312
|
if (typeof P == "function")
|
@@ -322,13 +322,13 @@ function jae() {
|
|
322
322
|
if (typeof P == "object")
|
323
323
|
switch (P.$$typeof) {
|
324
324
|
case l:
|
325
|
-
return
|
325
|
+
return Ne(P.render);
|
326
326
|
case d:
|
327
|
-
return K(P.type, ae,
|
327
|
+
return K(P.type, ae, ke);
|
328
328
|
case h: {
|
329
329
|
var Ve = P, ct = Ve._payload, ht = Ve._init;
|
330
330
|
try {
|
331
|
-
return K(ht(ct), ae,
|
331
|
+
return K(ht(ct), ae, ke);
|
332
332
|
} catch {
|
333
333
|
}
|
334
334
|
}
|
@@ -338,12 +338,12 @@ function jae() {
|
|
338
338
|
var ie = Object.prototype.hasOwnProperty, re = {}, Be = v.ReactDebugCurrentFrame;
|
339
339
|
function U(P) {
|
340
340
|
if (P) {
|
341
|
-
var ae = P._owner,
|
342
|
-
Be.setExtraStackFrame(
|
341
|
+
var ae = P._owner, ke = K(P.type, P._source, ae ? ae.type : null);
|
342
|
+
Be.setExtraStackFrame(ke);
|
343
343
|
} else
|
344
344
|
Be.setExtraStackFrame(null);
|
345
345
|
}
|
346
|
-
function C(P, ae,
|
346
|
+
function C(P, ae, ke, Ve, ct) {
|
347
347
|
{
|
348
348
|
var ht = Function.call.bind(ie);
|
349
349
|
for (var rt in P)
|
@@ -351,14 +351,14 @@ function jae() {
|
|
351
351
|
var Le = void 0;
|
352
352
|
try {
|
353
353
|
if (typeof P[rt] != "function") {
|
354
|
-
var te = Error((Ve || "React class") + ": " +
|
354
|
+
var te = Error((Ve || "React class") + ": " + ke + " type `" + rt + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof P[rt] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
355
355
|
throw te.name = "Invariant Violation", te;
|
356
356
|
}
|
357
|
-
Le = P[rt](ae, rt, Ve,
|
357
|
+
Le = P[rt](ae, rt, Ve, ke, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
358
358
|
} catch (Se) {
|
359
359
|
Le = Se;
|
360
360
|
}
|
361
|
-
Le && !(Le instanceof Error) && (U(ct), x("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", Ve || "React class",
|
361
|
+
Le && !(Le instanceof Error) && (U(ct), x("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", Ve || "React class", ke, rt, typeof Le), U(null)), Le instanceof Error && !(Le.message in re) && (re[Le.message] = !0, U(ct), x("Failed %s type: %s", ke, Le.message), U(null));
|
362
362
|
}
|
363
363
|
}
|
364
364
|
}
|
@@ -368,8 +368,8 @@ function jae() {
|
|
368
368
|
}
|
369
369
|
function ee(P) {
|
370
370
|
{
|
371
|
-
var ae = typeof Symbol == "function" && Symbol.toStringTag,
|
372
|
-
return
|
371
|
+
var ae = typeof Symbol == "function" && Symbol.toStringTag, ke = ae && P[Symbol.toStringTag] || P.constructor.name || "Object";
|
372
|
+
return ke;
|
373
373
|
}
|
374
374
|
}
|
375
375
|
function ue(P) {
|
@@ -411,40 +411,40 @@ function jae() {
|
|
411
411
|
}
|
412
412
|
function be(P, ae) {
|
413
413
|
if (typeof P.ref == "string" && qe.current && ae && qe.current.stateNode !== ae) {
|
414
|
-
var
|
415
|
-
Ut[
|
414
|
+
var ke = G(qe.current.type);
|
415
|
+
Ut[ke] || (x('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', G(qe.current.type), P.ref), Ut[ke] = !0);
|
416
416
|
}
|
417
417
|
}
|
418
418
|
function Ee(P, ae) {
|
419
419
|
{
|
420
|
-
var
|
420
|
+
var ke = function() {
|
421
421
|
st || (st = !0, x("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", ae));
|
422
422
|
};
|
423
|
-
|
424
|
-
get:
|
423
|
+
ke.isReactWarning = !0, Object.defineProperty(P, "key", {
|
424
|
+
get: ke,
|
425
425
|
configurable: !0
|
426
426
|
});
|
427
427
|
}
|
428
428
|
}
|
429
429
|
function Pe(P, ae) {
|
430
430
|
{
|
431
|
-
var
|
431
|
+
var ke = function() {
|
432
432
|
yt || (yt = !0, x("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", ae));
|
433
433
|
};
|
434
|
-
|
435
|
-
get:
|
434
|
+
ke.isReactWarning = !0, Object.defineProperty(P, "ref", {
|
435
|
+
get: ke,
|
436
436
|
configurable: !0
|
437
437
|
});
|
438
438
|
}
|
439
439
|
}
|
440
|
-
var lt = function(P, ae,
|
440
|
+
var lt = function(P, ae, ke, Ve, ct, ht, rt) {
|
441
441
|
var Le = {
|
442
442
|
// This tag allows us to uniquely identify this as a React Element
|
443
443
|
$$typeof: e,
|
444
444
|
// Built-in properties that belong on the element
|
445
445
|
type: P,
|
446
446
|
key: ae,
|
447
|
-
ref:
|
447
|
+
ref: ke,
|
448
448
|
props: rt,
|
449
449
|
// Record the component responsible for creating this element.
|
450
450
|
_owner: ht
|
@@ -466,10 +466,10 @@ function jae() {
|
|
466
466
|
value: ct
|
467
467
|
}), Object.freeze && (Object.freeze(Le.props), Object.freeze(Le)), Le;
|
468
468
|
};
|
469
|
-
function $e(P, ae,
|
469
|
+
function $e(P, ae, ke, Ve, ct) {
|
470
470
|
{
|
471
471
|
var ht, rt = {}, Le = null, te = null;
|
472
|
-
|
472
|
+
ke !== void 0 && (Fe(ke), Le = "" + ke), nr(ae) && (Fe(ae.key), Le = "" + ae.key), Gn(ae) && (te = ae.ref, be(ae, ct));
|
473
473
|
for (ht in ae)
|
474
474
|
ie.call(ae, ht) && !Xe.hasOwnProperty(ht) && (rt[ht] = ae[ht]);
|
475
475
|
if (P && P.defaultProps) {
|
@@ -487,8 +487,8 @@ function jae() {
|
|
487
487
|
var bt = v.ReactCurrentOwner, It = v.ReactDebugCurrentFrame;
|
488
488
|
function Kt(P) {
|
489
489
|
if (P) {
|
490
|
-
var ae = P._owner,
|
491
|
-
It.setExtraStackFrame(
|
490
|
+
var ae = P._owner, ke = K(P.type, P._source, ae ? ae.type : null);
|
491
|
+
It.setExtraStackFrame(ke);
|
492
492
|
} else
|
493
493
|
It.setExtraStackFrame(null);
|
494
494
|
}
|
@@ -517,10 +517,10 @@ Check the render method of \`` + P + "`.";
|
|
517
517
|
{
|
518
518
|
var ae = $r();
|
519
519
|
if (!ae) {
|
520
|
-
var
|
521
|
-
|
520
|
+
var ke = typeof P == "string" ? P : P.displayName || P.name;
|
521
|
+
ke && (ae = `
|
522
522
|
|
523
|
-
Check the top-level render call using <` +
|
523
|
+
Check the top-level render call using <` + ke + ">.");
|
524
524
|
}
|
525
525
|
return ae;
|
526
526
|
}
|
@@ -530,12 +530,12 @@ Check the top-level render call using <` + ge + ">.");
|
|
530
530
|
if (!P._store || P._store.validated || P.key != null)
|
531
531
|
return;
|
532
532
|
P._store.validated = !0;
|
533
|
-
var
|
534
|
-
if (rr[
|
533
|
+
var ke = fo(ae);
|
534
|
+
if (rr[ke])
|
535
535
|
return;
|
536
|
-
rr[
|
536
|
+
rr[ke] = !0;
|
537
537
|
var Ve = "";
|
538
|
-
P && P._owner && P._owner !== bt.current && (Ve = " It was passed a child from " + G(P._owner.type) + "."), Kt(P), x('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',
|
538
|
+
P && P._owner && P._owner !== bt.current && (Ve = " It was passed a child from " + G(P._owner.type) + "."), Kt(P), x('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', ke, Ve), Kt(null);
|
539
539
|
}
|
540
540
|
}
|
541
541
|
function Di(P, ae) {
|
@@ -543,8 +543,8 @@ Check the top-level render call using <` + ge + ">.");
|
|
543
543
|
if (typeof P != "object")
|
544
544
|
return;
|
545
545
|
if (H(P))
|
546
|
-
for (var
|
547
|
-
var Ve = P[
|
546
|
+
for (var ke = 0; ke < P.length; ke++) {
|
547
|
+
var Ve = P[ke];
|
548
548
|
nn(Ve) && ji(Ve, ae);
|
549
549
|
}
|
550
550
|
else if (nn(P))
|
@@ -562,18 +562,18 @@ Check the top-level render call using <` + ge + ">.");
|
|
562
562
|
var ae = P.type;
|
563
563
|
if (ae == null || typeof ae == "string")
|
564
564
|
return;
|
565
|
-
var
|
565
|
+
var ke;
|
566
566
|
if (typeof ae == "function")
|
567
|
-
|
567
|
+
ke = ae.propTypes;
|
568
568
|
else if (typeof ae == "object" && (ae.$$typeof === l || // Note: Memo only checks outer props here.
|
569
569
|
// Inner props are checked in the reconciler.
|
570
570
|
ae.$$typeof === d))
|
571
|
-
|
571
|
+
ke = ae.propTypes;
|
572
572
|
else
|
573
573
|
return;
|
574
|
-
if (
|
574
|
+
if (ke) {
|
575
575
|
var Ve = G(ae);
|
576
|
-
C(
|
576
|
+
C(ke, P.props, "prop", Ve, P);
|
577
577
|
} else if (ae.PropTypes !== void 0 && !Ht) {
|
578
578
|
Ht = !0;
|
579
579
|
var ct = G(ae);
|
@@ -584,8 +584,8 @@ Check the top-level render call using <` + ge + ">.");
|
|
584
584
|
}
|
585
585
|
function x2(P) {
|
586
586
|
{
|
587
|
-
for (var ae = Object.keys(P.props),
|
588
|
-
var Ve = ae[
|
587
|
+
for (var ae = Object.keys(P.props), ke = 0; ke < ae.length; ke++) {
|
588
|
+
var Ve = ae[ke];
|
589
589
|
if (Ve !== "children" && Ve !== "key") {
|
590
590
|
Kt(P), x("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", Ve), Kt(null);
|
591
591
|
break;
|
@@ -595,7 +595,7 @@ Check the top-level render call using <` + ge + ">.");
|
|
595
595
|
}
|
596
596
|
}
|
597
597
|
var hc = {};
|
598
|
-
function Xr(P, ae,
|
598
|
+
function Xr(P, ae, ke, Ve, ct, ht) {
|
599
599
|
{
|
600
600
|
var rt = R(P);
|
601
601
|
if (!rt) {
|
@@ -606,7 +606,7 @@ Check the top-level render call using <` + ge + ">.");
|
|
606
606
|
var Se;
|
607
607
|
P === null ? Se = "null" : H(P) ? Se = "array" : P !== void 0 && P.$$typeof === e ? (Se = "<" + (G(P.type) || "Unknown") + " />", Le = " Did you accidentally export a JSX literal instead of a component?") : Se = typeof P, x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", Se, Le);
|
608
608
|
}
|
609
|
-
var ze = $e(P, ae,
|
609
|
+
var ze = $e(P, ae, ke, ct, ht);
|
610
610
|
if (ze == null)
|
611
611
|
return ze;
|
612
612
|
if (rt) {
|
@@ -639,11 +639,11 @@ React keys must be passed directly to JSX without using spread:
|
|
639
639
|
return P === r ? x2(ze) : w2(ze), ze;
|
640
640
|
}
|
641
641
|
}
|
642
|
-
function yl(P, ae,
|
643
|
-
return Xr(P, ae,
|
642
|
+
function yl(P, ae, ke) {
|
643
|
+
return Xr(P, ae, ke, !0);
|
644
644
|
}
|
645
|
-
function M2(P, ae,
|
646
|
-
return Xr(P, ae,
|
645
|
+
function M2(P, ae, ke) {
|
646
|
+
return Xr(P, ae, ke, !1);
|
647
647
|
}
|
648
648
|
var C2 = M2, A2 = yl;
|
649
649
|
Qf.Fragment = r, Qf.jsx = C2, Qf.jsxs = A2;
|
@@ -13203,15 +13203,15 @@ function l0e(t) {
|
|
13203
13203
|
function c0e(t) {
|
13204
13204
|
var e = t.state, n = t.options, r = t.name;
|
13205
13205
|
if (!e.modifiersData[r]._skip) {
|
13206
|
-
for (var a = n.mainAxis, i = a === void 0 ? !0 : a, o = n.altAxis, s = o === void 0 ? !0 : o, l = n.fallbackPlacements, c = n.padding, u = n.boundary, d = n.rootBoundary, h = n.altBoundary, f = n.flipVariations, p = f === void 0 ? !0 : f, y = n.allowedAutoPlacements, k = e.options.placement, v = xs(k), x = v === k, b = l || (x || !p ? [Cg(k)] : l0e(k)), w = [k].concat(b).reduce(function(
|
13207
|
-
return
|
13208
|
-
placement:
|
13206
|
+
for (var a = n.mainAxis, i = a === void 0 ? !0 : a, o = n.altAxis, s = o === void 0 ? !0 : o, l = n.fallbackPlacements, c = n.padding, u = n.boundary, d = n.rootBoundary, h = n.altBoundary, f = n.flipVariations, p = f === void 0 ? !0 : f, y = n.allowedAutoPlacements, k = e.options.placement, v = xs(k), x = v === k, b = l || (x || !p ? [Cg(k)] : l0e(k)), w = [k].concat(b).reduce(function(Me, ge) {
|
13207
|
+
return Me.concat(xs(ge) === nA ? s0e(e, {
|
13208
|
+
placement: ge,
|
13209
13209
|
boundary: u,
|
13210
13210
|
rootBoundary: d,
|
13211
13211
|
padding: c,
|
13212
13212
|
flipVariations: p,
|
13213
13213
|
allowedAutoPlacements: y
|
13214
|
-
}) :
|
13214
|
+
}) : ge);
|
13215
13215
|
}, []), M = e.rects.reference, A = e.rects.popper, E = /* @__PURE__ */ new Map(), L = !0, N = w[0], R = 0; R < w.length; R++) {
|
13216
13216
|
var O = w[R], V = xs(O), G = zh(O) === Ih, Z = [Qa, ro].indexOf(V) >= 0, _ = Z ? "width" : "height", Y = b4(e, {
|
13217
13217
|
placement: O,
|
@@ -13222,8 +13222,8 @@ function c0e(t) {
|
|
13222
13222
|
}), Q = Z ? G ? ao : Ya : G ? ro : Qa;
|
13223
13223
|
M[_] > A[_] && (Q = Cg(Q));
|
13224
13224
|
var se = Cg(Q), ne = [];
|
13225
|
-
if (i && ne.push(Y[V] <= 0), s && ne.push(Y[Q] <= 0, Y[se] <= 0), ne.every(function(
|
13226
|
-
return
|
13225
|
+
if (i && ne.push(Y[V] <= 0), s && ne.push(Y[Q] <= 0, Y[se] <= 0), ne.every(function(Me) {
|
13226
|
+
return Me;
|
13227
13227
|
})) {
|
13228
13228
|
N = O, L = !1;
|
13229
13229
|
break;
|
@@ -13231,18 +13231,18 @@ function c0e(t) {
|
|
13231
13231
|
E.set(O, ne);
|
13232
13232
|
}
|
13233
13233
|
if (L)
|
13234
|
-
for (var De = p ? 3 : 1,
|
13234
|
+
for (var De = p ? 3 : 1, Ie = function(ge) {
|
13235
13235
|
var J = w.find(function(Ae) {
|
13236
13236
|
var xe = E.get(Ae);
|
13237
13237
|
if (xe)
|
13238
|
-
return xe.slice(0,
|
13238
|
+
return xe.slice(0, ge).every(function(Ge) {
|
13239
13239
|
return Ge;
|
13240
13240
|
});
|
13241
13241
|
});
|
13242
13242
|
if (J)
|
13243
13243
|
return N = J, "break";
|
13244
13244
|
}, ce = De; ce > 0; ce--) {
|
13245
|
-
var pe =
|
13245
|
+
var pe = Ie(ce);
|
13246
13246
|
if (pe === "break") break;
|
13247
13247
|
}
|
13248
13248
|
e.placement !== N && (e.modifiersData[r]._skip = !0, e.placement = N, e.reset = !0);
|
@@ -13361,10 +13361,10 @@ function v0e(t) {
|
|
13361
13361
|
};
|
13362
13362
|
if (A) {
|
13363
13363
|
if (i) {
|
13364
|
-
var G, Z = w === "y" ? Qa : Ya, _ = w === "y" ? ro : ao, Y = w === "y" ? "height" : "width", Q = A[w], se = Q + k[Z], ne = Q - k[_], De = f ? -L[Y] / 2 : 0,
|
13364
|
+
var G, Z = w === "y" ? Qa : Ya, _ = w === "y" ? ro : ao, Y = w === "y" ? "height" : "width", Q = A[w], se = Q + k[Z], ne = Q - k[_], De = f ? -L[Y] / 2 : 0, Ie = x === Ih ? E[Y] : L[Y], ce = x === Ih ? -L[Y] : -E[Y], pe = e.elements.arrow, Me = f && pe ? aA(pe) : {
|
13365
13365
|
width: 0,
|
13366
13366
|
height: 0
|
13367
|
-
},
|
13367
|
+
}, ge = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : QV(), J = ge[Z], Ae = ge[_], xe = zp(0, E[Y], Me[Y]), Ge = b ? E[Y] / 2 - De - xe - J - R.mainAxis : Ie - xe - J - R.mainAxis, ve = b ? -E[Y] / 2 + De + xe + Ae + R.mainAxis : ce + xe + Ae + R.mainAxis, Ce = e.elements.arrow && Yy(e.elements.arrow), je = Ce ? w === "y" ? Ce.clientTop || 0 : Ce.clientLeft || 0 : 0, Ne = (G = O == null ? void 0 : O[w]) != null ? G : 0, ye = Q + Ge - Ne - je, K = Q + ve - Ne, ie = zp(f ? x5(se, ye) : se, Q, f ? Cu(ne, K) : ne);
|
13368
13368
|
A[w] = ie, V[w] = ie - Q;
|
13369
13369
|
}
|
13370
13370
|
if (s) {
|
@@ -13975,7 +13975,7 @@ function ice(t, e) {
|
|
13975
13975
|
var L = x.map(function(be) {
|
13976
13976
|
return be.fn(w);
|
13977
13977
|
}), N = t.hasAttribute("aria-expanded");
|
13978
|
-
return
|
13978
|
+
return Ce(), De(), Q(), se("onCreate", [w]), n.showOnCreate && H(), A.addEventListener("mouseenter", function() {
|
13979
13979
|
w.props.interactive && w.state.isVisible && w.clearDelayTimeouts();
|
13980
13980
|
}), A.addEventListener("mouseleave", function() {
|
13981
13981
|
w.props.interactive && w.props.trigger.indexOf("mouseenter") >= 0 && Z().addEventListener("mousemove", p);
|
@@ -14038,7 +14038,7 @@ function ice(t, e) {
|
|
14038
14038
|
});
|
14039
14039
|
}
|
14040
14040
|
}
|
14041
|
-
function
|
14041
|
+
function Ie() {
|
14042
14042
|
Z().removeEventListener("mousemove", p), Km = Km.filter(function(be) {
|
14043
14043
|
return be !== p;
|
14044
14044
|
});
|
@@ -14063,16 +14063,16 @@ function ice(t, e) {
|
|
14063
14063
|
function pe() {
|
14064
14064
|
l = !0;
|
14065
14065
|
}
|
14066
|
-
function
|
14066
|
+
function Me() {
|
14067
14067
|
l = !1;
|
14068
14068
|
}
|
14069
|
-
function
|
14069
|
+
function ge() {
|
14070
14070
|
var be = Z();
|
14071
|
-
be.addEventListener("mousedown", ce, !0), be.addEventListener("touchend", ce, bc), be.addEventListener("touchstart",
|
14071
|
+
be.addEventListener("mousedown", ce, !0), be.addEventListener("touchend", ce, bc), be.addEventListener("touchstart", Me, bc), be.addEventListener("touchmove", pe, bc);
|
14072
14072
|
}
|
14073
14073
|
function J() {
|
14074
14074
|
var be = Z();
|
14075
|
-
be.removeEventListener("mousedown", ce, !0), be.removeEventListener("touchend", ce, bc), be.removeEventListener("touchstart",
|
14075
|
+
be.removeEventListener("mousedown", ce, !0), be.removeEventListener("touchend", ce, bc), be.removeEventListener("touchstart", Me, bc), be.removeEventListener("touchmove", pe, bc);
|
14076
14076
|
}
|
14077
14077
|
function Ae(be, Ee) {
|
14078
14078
|
Ge(be, function() {
|
@@ -14103,14 +14103,14 @@ function ice(t, e) {
|
|
14103
14103
|
});
|
14104
14104
|
});
|
14105
14105
|
}
|
14106
|
-
function
|
14107
|
-
O() && (ve("touchstart",
|
14106
|
+
function Ce() {
|
14107
|
+
O() && (ve("touchstart", Ne, {
|
14108
14108
|
passive: !0
|
14109
14109
|
}), ve("touchend", K, {
|
14110
14110
|
passive: !0
|
14111
14111
|
})), z0e(w.props.trigger).forEach(function(be) {
|
14112
14112
|
if (be !== "manual")
|
14113
|
-
switch (ve(be,
|
14113
|
+
switch (ve(be, Ne), be) {
|
14114
14114
|
case "mouseenter":
|
14115
14115
|
ve("mouseleave", K);
|
14116
14116
|
break;
|
@@ -14129,7 +14129,7 @@ function ice(t, e) {
|
|
14129
14129
|
Ee.removeEventListener(Pe, lt, $e);
|
14130
14130
|
}), f = [];
|
14131
14131
|
}
|
14132
|
-
function
|
14132
|
+
function Ne(be) {
|
14133
14133
|
var Ee, Pe = !1;
|
14134
14134
|
if (!(!w.state.isEnabled || re(be) || s)) {
|
14135
14135
|
var lt = ((Ee = u) == null ? void 0 : Ee.type) === "focus";
|
@@ -14149,7 +14149,7 @@ function ice(t, e) {
|
|
14149
14149
|
props: n
|
14150
14150
|
} : null;
|
14151
14151
|
}).filter(Boolean);
|
14152
|
-
U0e(lt, be) && (
|
14152
|
+
U0e(lt, be) && (Ie(), ee(be));
|
14153
14153
|
}
|
14154
14154
|
}
|
14155
14155
|
function K(be) {
|
@@ -14242,7 +14242,7 @@ function ice(t, e) {
|
|
14242
14242
|
return M5(A.querySelectorAll("[data-tippy-root]"));
|
14243
14243
|
}
|
14244
14244
|
function H(be) {
|
14245
|
-
w.clearDelayTimeouts(), be && se("onTrigger", [w, be]),
|
14245
|
+
w.clearDelayTimeouts(), be && se("onTrigger", [w, be]), ge();
|
14246
14246
|
var Ee = Y(!0), Pe = R(), lt = Pe[0], $e = Pe[1];
|
14247
14247
|
us.isTouch && lt === "hold" && $e && (Ee = $e), Ee ? r = setTimeout(function() {
|
14248
14248
|
w.show();
|
@@ -14277,7 +14277,7 @@ function ice(t, e) {
|
|
14277
14277
|
var Ee = w.props, Pe = ID(t, Object.assign({}, Ee, ED(be), {
|
14278
14278
|
ignoreAttributes: !0
|
14279
14279
|
}));
|
14280
|
-
w.props = Pe,
|
14280
|
+
w.props = Pe, Ce(), Ee.interactiveDebounce !== Pe.interactiveDebounce && (Ie(), p = SD(ye, Pe.interactiveDebounce)), Ee.triggerTarget && !Pe.triggerTarget ? Q2(Ee.triggerTarget).forEach(function(lt) {
|
14281
14281
|
lt.removeAttribute("aria-expanded");
|
14282
14282
|
}) : Pe.triggerTarget && t.removeAttribute("aria-expanded"), De(), Q(), E && E(Ee, Pe), w.popperInstance && (Be(), I().forEach(function(lt) {
|
14283
14283
|
requestAnimationFrame(lt._tippy.popperInstance.forceUpdate);
|
@@ -14293,7 +14293,7 @@ function ice(t, e) {
|
|
14293
14293
|
process.env.NODE_ENV !== "production" && n1(w.state.isDestroyed, E2("show"));
|
14294
14294
|
var be = w.state.isVisible, Ee = w.state.isDestroyed, Pe = !w.state.isEnabled, lt = us.isTouch && !w.props.touch, $e = s9(w.props.duration, 0, yi.duration);
|
14295
14295
|
if (!(be || Ee || Pe || lt) && !G().hasAttribute("disabled") && (se("onShow", [w], !1), w.props.onShow(w) !== !1)) {
|
14296
|
-
if (w.state.isVisible = !0, V() && (A.style.visibility = "visible"), Q(),
|
14296
|
+
if (w.state.isVisible = !0, V() && (A.style.visibility = "visible"), Q(), ge(), w.state.isMounted || (A.style.transition = "none"), V()) {
|
14297
14297
|
var bt = _(), It = bt.box, Kt = bt.content;
|
14298
14298
|
l9([It, Kt], 0);
|
14299
14299
|
}
|
@@ -14315,7 +14315,7 @@ function ice(t, e) {
|
|
14315
14315
|
process.env.NODE_ENV !== "production" && n1(w.state.isDestroyed, E2("hide"));
|
14316
14316
|
var be = !w.state.isVisible, Ee = w.state.isDestroyed, Pe = !w.state.isEnabled, lt = s9(w.props.duration, 1, yi.duration);
|
14317
14317
|
if (!(be || Ee || Pe) && (se("onHide", [w], !1), w.props.onHide(w) !== !1)) {
|
14318
|
-
if (w.state.isVisible = !1, w.state.isShown = !1, c = !1, o = !1, V() && (A.style.visibility = "hidden"),
|
14318
|
+
if (w.state.isVisible = !1, w.state.isShown = !1, c = !1, o = !1, V() && (A.style.visibility = "hidden"), Ie(), J(), Q(!0), V()) {
|
14319
14319
|
var $e = _(), bt = $e.box, It = $e.content;
|
14320
14320
|
w.props.animation && (l9([bt, It], lt), TD([bt, It], "hidden"));
|
14321
14321
|
}
|
@@ -37003,16 +37003,16 @@ function iEe() {
|
|
37003
37003
|
var v = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
37004
37004
|
function x(P) {
|
37005
37005
|
{
|
37006
|
-
for (var ae = arguments.length,
|
37007
|
-
|
37008
|
-
b("error", P,
|
37006
|
+
for (var ae = arguments.length, ke = new Array(ae > 1 ? ae - 1 : 0), Ve = 1; Ve < ae; Ve++)
|
37007
|
+
ke[Ve - 1] = arguments[Ve];
|
37008
|
+
b("error", P, ke);
|
37009
37009
|
}
|
37010
37010
|
}
|
37011
|
-
function b(P, ae,
|
37011
|
+
function b(P, ae, ke) {
|
37012
37012
|
{
|
37013
37013
|
var Ve = v.ReactDebugCurrentFrame, ct = Ve.getStackAddendum();
|
37014
|
-
ct !== "" && (ae += "%s",
|
37015
|
-
var ht =
|
37014
|
+
ct !== "" && (ae += "%s", ke = ke.concat([ct]));
|
37015
|
+
var ht = ke.map(function(rt) {
|
37016
37016
|
return String(rt);
|
37017
37017
|
});
|
37018
37018
|
ht.unshift("Warning: " + ae), Function.prototype.apply.call(console[P], console, ht);
|
@@ -37027,12 +37027,12 @@ function iEe() {
|
|
37027
37027
|
// with.
|
37028
37028
|
P.$$typeof === N || P.getModuleId !== void 0));
|
37029
37029
|
}
|
37030
|
-
function O(P, ae,
|
37030
|
+
function O(P, ae, ke) {
|
37031
37031
|
var Ve = P.displayName;
|
37032
37032
|
if (Ve)
|
37033
37033
|
return Ve;
|
37034
37034
|
var ct = ae.displayName || ae.name || "";
|
37035
|
-
return ct !== "" ?
|
37035
|
+
return ct !== "" ? ke + "(" + ct + ")" : ke;
|
37036
37036
|
}
|
37037
37037
|
function V(P) {
|
37038
37038
|
return P.displayName || "Context";
|
@@ -37064,8 +37064,8 @@ function iEe() {
|
|
37064
37064
|
var ae = P;
|
37065
37065
|
return V(ae) + ".Consumer";
|
37066
37066
|
case o:
|
37067
|
-
var
|
37068
|
-
return V(
|
37067
|
+
var ke = P;
|
37068
|
+
return V(ke._context) + ".Provider";
|
37069
37069
|
case l:
|
37070
37070
|
return O(P, P.render, "ForwardRef");
|
37071
37071
|
case d:
|
@@ -37082,14 +37082,14 @@ function iEe() {
|
|
37082
37082
|
}
|
37083
37083
|
return null;
|
37084
37084
|
}
|
37085
|
-
var Z = Object.assign, _ = 0, Y, Q, se, ne, De,
|
37085
|
+
var Z = Object.assign, _ = 0, Y, Q, se, ne, De, Ie, ce;
|
37086
37086
|
function pe() {
|
37087
37087
|
}
|
37088
37088
|
pe.__reactDisabledLog = !0;
|
37089
|
-
function
|
37089
|
+
function Me() {
|
37090
37090
|
{
|
37091
37091
|
if (_ === 0) {
|
37092
|
-
Y = console.log, Q = console.info, se = console.warn, ne = console.error, De = console.group,
|
37092
|
+
Y = console.log, Q = console.info, se = console.warn, ne = console.error, De = console.group, Ie = console.groupCollapsed, ce = console.groupEnd;
|
37093
37093
|
var P = {
|
37094
37094
|
configurable: !0,
|
37095
37095
|
enumerable: !0,
|
@@ -37109,7 +37109,7 @@ function iEe() {
|
|
37109
37109
|
_++;
|
37110
37110
|
}
|
37111
37111
|
}
|
37112
|
-
function
|
37112
|
+
function ge() {
|
37113
37113
|
{
|
37114
37114
|
if (_--, _ === 0) {
|
37115
37115
|
var P = {
|
@@ -37134,7 +37134,7 @@ function iEe() {
|
|
37134
37134
|
value: De
|
37135
37135
|
}),
|
37136
37136
|
groupCollapsed: Z({}, P, {
|
37137
|
-
value:
|
37137
|
+
value: Ie
|
37138
37138
|
}),
|
37139
37139
|
groupEnd: Z({}, P, {
|
37140
37140
|
value: ce
|
@@ -37145,7 +37145,7 @@ function iEe() {
|
|
37145
37145
|
}
|
37146
37146
|
}
|
37147
37147
|
var J = v.ReactCurrentDispatcher, Ae;
|
37148
|
-
function xe(P, ae,
|
37148
|
+
function xe(P, ae, ke) {
|
37149
37149
|
{
|
37150
37150
|
if (Ae === void 0)
|
37151
37151
|
try {
|
@@ -37160,23 +37160,23 @@ function iEe() {
|
|
37160
37160
|
}
|
37161
37161
|
var Ge = !1, ve;
|
37162
37162
|
{
|
37163
|
-
var
|
37164
|
-
ve = new
|
37163
|
+
var Ce = typeof WeakMap == "function" ? WeakMap : Map;
|
37164
|
+
ve = new Ce();
|
37165
37165
|
}
|
37166
37166
|
function je(P, ae) {
|
37167
37167
|
if (!P || Ge)
|
37168
37168
|
return "";
|
37169
37169
|
{
|
37170
|
-
var
|
37171
|
-
if (
|
37172
|
-
return
|
37170
|
+
var ke = ve.get(P);
|
37171
|
+
if (ke !== void 0)
|
37172
|
+
return ke;
|
37173
37173
|
}
|
37174
37174
|
var Ve;
|
37175
37175
|
Ge = !0;
|
37176
37176
|
var ct = Error.prepareStackTrace;
|
37177
37177
|
Error.prepareStackTrace = void 0;
|
37178
37178
|
var ht;
|
37179
|
-
ht = J.current, J.current = null,
|
37179
|
+
ht = J.current, J.current = null, Me();
|
37180
37180
|
try {
|
37181
37181
|
if (ae) {
|
37182
37182
|
var rt = function() {
|
@@ -37229,19 +37229,19 @@ function iEe() {
|
|
37229
37229
|
}
|
37230
37230
|
}
|
37231
37231
|
} finally {
|
37232
|
-
Ge = !1, J.current = ht,
|
37232
|
+
Ge = !1, J.current = ht, ge(), Error.prepareStackTrace = ct;
|
37233
37233
|
}
|
37234
37234
|
var hn = P ? P.displayName || P.name : "", on = hn ? xe(hn) : "";
|
37235
37235
|
return typeof P == "function" && ve.set(P, on), on;
|
37236
37236
|
}
|
37237
|
-
function
|
37237
|
+
function Ne(P, ae, ke) {
|
37238
37238
|
return je(P, !1);
|
37239
37239
|
}
|
37240
37240
|
function ye(P) {
|
37241
37241
|
var ae = P.prototype;
|
37242
37242
|
return !!(ae && ae.isReactComponent);
|
37243
37243
|
}
|
37244
|
-
function K(P, ae,
|
37244
|
+
function K(P, ae, ke) {
|
37245
37245
|
if (P == null)
|
37246
37246
|
return "";
|
37247
37247
|
if (typeof P == "function")
|
@@ -37257,13 +37257,13 @@ function iEe() {
|
|
37257
37257
|
if (typeof P == "object")
|
37258
37258
|
switch (P.$$typeof) {
|
37259
37259
|
case l:
|
37260
|
-
return
|
37260
|
+
return Ne(P.render);
|
37261
37261
|
case d:
|
37262
|
-
return K(P.type, ae,
|
37262
|
+
return K(P.type, ae, ke);
|
37263
37263
|
case h: {
|
37264
37264
|
var Ve = P, ct = Ve._payload, ht = Ve._init;
|
37265
37265
|
try {
|
37266
|
-
return K(ht(ct), ae,
|
37266
|
+
return K(ht(ct), ae, ke);
|
37267
37267
|
} catch {
|
37268
37268
|
}
|
37269
37269
|
}
|
@@ -37273,12 +37273,12 @@ function iEe() {
|
|
37273
37273
|
var ie = Object.prototype.hasOwnProperty, re = {}, Be = v.ReactDebugCurrentFrame;
|
37274
37274
|
function U(P) {
|
37275
37275
|
if (P) {
|
37276
|
-
var ae = P._owner,
|
37277
|
-
Be.setExtraStackFrame(
|
37276
|
+
var ae = P._owner, ke = K(P.type, P._source, ae ? ae.type : null);
|
37277
|
+
Be.setExtraStackFrame(ke);
|
37278
37278
|
} else
|
37279
37279
|
Be.setExtraStackFrame(null);
|
37280
37280
|
}
|
37281
|
-
function C(P, ae,
|
37281
|
+
function C(P, ae, ke, Ve, ct) {
|
37282
37282
|
{
|
37283
37283
|
var ht = Function.call.bind(ie);
|
37284
37284
|
for (var rt in P)
|
@@ -37286,14 +37286,14 @@ function iEe() {
|
|
37286
37286
|
var Le = void 0;
|
37287
37287
|
try {
|
37288
37288
|
if (typeof P[rt] != "function") {
|
37289
|
-
var te = Error((Ve || "React class") + ": " +
|
37289
|
+
var te = Error((Ve || "React class") + ": " + ke + " type `" + rt + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof P[rt] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
37290
37290
|
throw te.name = "Invariant Violation", te;
|
37291
37291
|
}
|
37292
|
-
Le = P[rt](ae, rt, Ve,
|
37292
|
+
Le = P[rt](ae, rt, Ve, ke, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
37293
37293
|
} catch (Se) {
|
37294
37294
|
Le = Se;
|
37295
37295
|
}
|
37296
|
-
Le && !(Le instanceof Error) && (U(ct), x("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", Ve || "React class",
|
37296
|
+
Le && !(Le instanceof Error) && (U(ct), x("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", Ve || "React class", ke, rt, typeof Le), U(null)), Le instanceof Error && !(Le.message in re) && (re[Le.message] = !0, U(ct), x("Failed %s type: %s", ke, Le.message), U(null));
|
37297
37297
|
}
|
37298
37298
|
}
|
37299
37299
|
}
|
@@ -37303,8 +37303,8 @@ function iEe() {
|
|
37303
37303
|
}
|
37304
37304
|
function ee(P) {
|
37305
37305
|
{
|
37306
|
-
var ae = typeof Symbol == "function" && Symbol.toStringTag,
|
37307
|
-
return
|
37306
|
+
var ae = typeof Symbol == "function" && Symbol.toStringTag, ke = ae && P[Symbol.toStringTag] || P.constructor.name || "Object";
|
37307
|
+
return ke;
|
37308
37308
|
}
|
37309
37309
|
}
|
37310
37310
|
function ue(P) {
|
@@ -37346,40 +37346,40 @@ function iEe() {
|
|
37346
37346
|
}
|
37347
37347
|
function be(P, ae) {
|
37348
37348
|
if (typeof P.ref == "string" && qe.current && ae && qe.current.stateNode !== ae) {
|
37349
|
-
var
|
37350
|
-
Ut[
|
37349
|
+
var ke = G(qe.current.type);
|
37350
|
+
Ut[ke] || (x('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', G(qe.current.type), P.ref), Ut[ke] = !0);
|
37351
37351
|
}
|
37352
37352
|
}
|
37353
37353
|
function Ee(P, ae) {
|
37354
37354
|
{
|
37355
|
-
var
|
37355
|
+
var ke = function() {
|
37356
37356
|
st || (st = !0, x("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", ae));
|
37357
37357
|
};
|
37358
|
-
|
37359
|
-
get:
|
37358
|
+
ke.isReactWarning = !0, Object.defineProperty(P, "key", {
|
37359
|
+
get: ke,
|
37360
37360
|
configurable: !0
|
37361
37361
|
});
|
37362
37362
|
}
|
37363
37363
|
}
|
37364
37364
|
function Pe(P, ae) {
|
37365
37365
|
{
|
37366
|
-
var
|
37366
|
+
var ke = function() {
|
37367
37367
|
yt || (yt = !0, x("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", ae));
|
37368
37368
|
};
|
37369
|
-
|
37370
|
-
get:
|
37369
|
+
ke.isReactWarning = !0, Object.defineProperty(P, "ref", {
|
37370
|
+
get: ke,
|
37371
37371
|
configurable: !0
|
37372
37372
|
});
|
37373
37373
|
}
|
37374
37374
|
}
|
37375
|
-
var lt = function(P, ae,
|
37375
|
+
var lt = function(P, ae, ke, Ve, ct, ht, rt) {
|
37376
37376
|
var Le = {
|
37377
37377
|
// This tag allows us to uniquely identify this as a React Element
|
37378
37378
|
$$typeof: e,
|
37379
37379
|
// Built-in properties that belong on the element
|
37380
37380
|
type: P,
|
37381
37381
|
key: ae,
|
37382
|
-
ref:
|
37382
|
+
ref: ke,
|
37383
37383
|
props: rt,
|
37384
37384
|
// Record the component responsible for creating this element.
|
37385
37385
|
_owner: ht
|
@@ -37401,10 +37401,10 @@ function iEe() {
|
|
37401
37401
|
value: ct
|
37402
37402
|
}), Object.freeze && (Object.freeze(Le.props), Object.freeze(Le)), Le;
|
37403
37403
|
};
|
37404
|
-
function $e(P, ae,
|
37404
|
+
function $e(P, ae, ke, Ve, ct) {
|
37405
37405
|
{
|
37406
37406
|
var ht, rt = {}, Le = null, te = null;
|
37407
|
-
|
37407
|
+
ke !== void 0 && (Fe(ke), Le = "" + ke), nr(ae) && (Fe(ae.key), Le = "" + ae.key), Gn(ae) && (te = ae.ref, be(ae, ct));
|
37408
37408
|
for (ht in ae)
|
37409
37409
|
ie.call(ae, ht) && !Xe.hasOwnProperty(ht) && (rt[ht] = ae[ht]);
|
37410
37410
|
if (P && P.defaultProps) {
|
@@ -37422,8 +37422,8 @@ function iEe() {
|
|
37422
37422
|
var bt = v.ReactCurrentOwner, It = v.ReactDebugCurrentFrame;
|
37423
37423
|
function Kt(P) {
|
37424
37424
|
if (P) {
|
37425
|
-
var ae = P._owner,
|
37426
|
-
It.setExtraStackFrame(
|
37425
|
+
var ae = P._owner, ke = K(P.type, P._source, ae ? ae.type : null);
|
37426
|
+
It.setExtraStackFrame(ke);
|
37427
37427
|
} else
|
37428
37428
|
It.setExtraStackFrame(null);
|
37429
37429
|
}
|
@@ -37452,10 +37452,10 @@ Check the render method of \`` + P + "`.";
|
|
37452
37452
|
{
|
37453
37453
|
var ae = $r();
|
37454
37454
|
if (!ae) {
|
37455
|
-
var
|
37456
|
-
|
37455
|
+
var ke = typeof P == "string" ? P : P.displayName || P.name;
|
37456
|
+
ke && (ae = `
|
37457
37457
|
|
37458
|
-
Check the top-level render call using <` +
|
37458
|
+
Check the top-level render call using <` + ke + ">.");
|
37459
37459
|
}
|
37460
37460
|
return ae;
|
37461
37461
|
}
|
@@ -37465,12 +37465,12 @@ Check the top-level render call using <` + ge + ">.");
|
|
37465
37465
|
if (!P._store || P._store.validated || P.key != null)
|
37466
37466
|
return;
|
37467
37467
|
P._store.validated = !0;
|
37468
|
-
var
|
37469
|
-
if (rr[
|
37468
|
+
var ke = fo(ae);
|
37469
|
+
if (rr[ke])
|
37470
37470
|
return;
|
37471
|
-
rr[
|
37471
|
+
rr[ke] = !0;
|
37472
37472
|
var Ve = "";
|
37473
|
-
P && P._owner && P._owner !== bt.current && (Ve = " It was passed a child from " + G(P._owner.type) + "."), Kt(P), x('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',
|
37473
|
+
P && P._owner && P._owner !== bt.current && (Ve = " It was passed a child from " + G(P._owner.type) + "."), Kt(P), x('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', ke, Ve), Kt(null);
|
37474
37474
|
}
|
37475
37475
|
}
|
37476
37476
|
function Di(P, ae) {
|
@@ -37478,8 +37478,8 @@ Check the top-level render call using <` + ge + ">.");
|
|
37478
37478
|
if (typeof P != "object")
|
37479
37479
|
return;
|
37480
37480
|
if (H(P))
|
37481
|
-
for (var
|
37482
|
-
var Ve = P[
|
37481
|
+
for (var ke = 0; ke < P.length; ke++) {
|
37482
|
+
var Ve = P[ke];
|
37483
37483
|
nn(Ve) && ji(Ve, ae);
|
37484
37484
|
}
|
37485
37485
|
else if (nn(P))
|
@@ -37497,18 +37497,18 @@ Check the top-level render call using <` + ge + ">.");
|
|
37497
37497
|
var ae = P.type;
|
37498
37498
|
if (ae == null || typeof ae == "string")
|
37499
37499
|
return;
|
37500
|
-
var
|
37500
|
+
var ke;
|
37501
37501
|
if (typeof ae == "function")
|
37502
|
-
|
37502
|
+
ke = ae.propTypes;
|
37503
37503
|
else if (typeof ae == "object" && (ae.$$typeof === l || // Note: Memo only checks outer props here.
|
37504
37504
|
// Inner props are checked in the reconciler.
|
37505
37505
|
ae.$$typeof === d))
|
37506
|
-
|
37506
|
+
ke = ae.propTypes;
|
37507
37507
|
else
|
37508
37508
|
return;
|
37509
|
-
if (
|
37509
|
+
if (ke) {
|
37510
37510
|
var Ve = G(ae);
|
37511
|
-
C(
|
37511
|
+
C(ke, P.props, "prop", Ve, P);
|
37512
37512
|
} else if (ae.PropTypes !== void 0 && !Ht) {
|
37513
37513
|
Ht = !0;
|
37514
37514
|
var ct = G(ae);
|
@@ -37519,8 +37519,8 @@ Check the top-level render call using <` + ge + ">.");
|
|
37519
37519
|
}
|
37520
37520
|
function x2(P) {
|
37521
37521
|
{
|
37522
|
-
for (var ae = Object.keys(P.props),
|
37523
|
-
var Ve = ae[
|
37522
|
+
for (var ae = Object.keys(P.props), ke = 0; ke < ae.length; ke++) {
|
37523
|
+
var Ve = ae[ke];
|
37524
37524
|
if (Ve !== "children" && Ve !== "key") {
|
37525
37525
|
Kt(P), x("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", Ve), Kt(null);
|
37526
37526
|
break;
|
@@ -37530,7 +37530,7 @@ Check the top-level render call using <` + ge + ">.");
|
|
37530
37530
|
}
|
37531
37531
|
}
|
37532
37532
|
var hc = {};
|
37533
|
-
function Xr(P, ae,
|
37533
|
+
function Xr(P, ae, ke, Ve, ct, ht) {
|
37534
37534
|
{
|
37535
37535
|
var rt = R(P);
|
37536
37536
|
if (!rt) {
|
@@ -37541,7 +37541,7 @@ Check the top-level render call using <` + ge + ">.");
|
|
37541
37541
|
var Se;
|
37542
37542
|
P === null ? Se = "null" : H(P) ? Se = "array" : P !== void 0 && P.$$typeof === e ? (Se = "<" + (G(P.type) || "Unknown") + " />", Le = " Did you accidentally export a JSX literal instead of a component?") : Se = typeof P, x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", Se, Le);
|
37543
37543
|
}
|
37544
|
-
var ze = $e(P, ae,
|
37544
|
+
var ze = $e(P, ae, ke, ct, ht);
|
37545
37545
|
if (ze == null)
|
37546
37546
|
return ze;
|
37547
37547
|
if (rt) {
|
@@ -37574,11 +37574,11 @@ React keys must be passed directly to JSX without using spread:
|
|
37574
37574
|
return P === r ? x2(ze) : w2(ze), ze;
|
37575
37575
|
}
|
37576
37576
|
}
|
37577
|
-
function yl(P, ae,
|
37578
|
-
return Xr(P, ae,
|
37577
|
+
function yl(P, ae, ke) {
|
37578
|
+
return Xr(P, ae, ke, !0);
|
37579
37579
|
}
|
37580
|
-
function M2(P, ae,
|
37581
|
-
return Xr(P, ae,
|
37580
|
+
function M2(P, ae, ke) {
|
37581
|
+
return Xr(P, ae, ke, !1);
|
37582
37582
|
}
|
37583
37583
|
var C2 = M2, A2 = yl;
|
37584
37584
|
t3.Fragment = r, t3.jsx = C2, t3.jsxs = A2;
|
@@ -37913,7 +37913,7 @@ function PEe(t) {
|
|
37913
37913
|
return AEe.test(t);
|
37914
37914
|
}
|
37915
37915
|
function zEe() {
|
37916
|
-
const t = En("colors"), e = En("spacing"), n = En("blur"), r = En("brightness"), a = En("borderColor"), i = En("borderRadius"), o = En("borderSpacing"), s = En("borderWidth"), l = En("contrast"), c = En("grayscale"), u = En("hueRotate"), d = En("invert"), h = En("gap"), f = En("gradientColorStops"), p = En("gradientColorStopPositions"), y = En("inset"), k = En("margin"), v = En("opacity"), x = En("padding"), b = En("saturate"), w = En("scale"), M = En("sepia"), A = En("skew"), E = En("space"), L = En("translate"), N = () => ["auto", "contain", "none"], R = () => ["auto", "hidden", "clip", "visible", "scroll"], O = () => ["auto", Ft, e], V = () => [Ft, e], G = () => ["", Ks, gl], Z = () => ["auto", Fc, Ft], _ = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], Y = () => ["solid", "dashed", "dotted", "double", "none"], Q = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], se = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], ne = () => ["", "0", Ft], De = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"],
|
37916
|
+
const t = En("colors"), e = En("spacing"), n = En("blur"), r = En("brightness"), a = En("borderColor"), i = En("borderRadius"), o = En("borderSpacing"), s = En("borderWidth"), l = En("contrast"), c = En("grayscale"), u = En("hueRotate"), d = En("invert"), h = En("gap"), f = En("gradientColorStops"), p = En("gradientColorStopPositions"), y = En("inset"), k = En("margin"), v = En("opacity"), x = En("padding"), b = En("saturate"), w = En("scale"), M = En("sepia"), A = En("skew"), E = En("space"), L = En("translate"), N = () => ["auto", "contain", "none"], R = () => ["auto", "hidden", "clip", "visible", "scroll"], O = () => ["auto", Ft, e], V = () => [Ft, e], G = () => ["", Ks, gl], Z = () => ["auto", Fc, Ft], _ = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], Y = () => ["solid", "dashed", "dotted", "double", "none"], Q = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], se = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], ne = () => ["", "0", Ft], De = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], Ie = () => [Fc, n3], ce = () => [Fc, Ft];
|
37917
37917
|
return {
|
37918
37918
|
cacheSize: 500,
|
37919
37919
|
separator: ":",
|
@@ -37921,12 +37921,12 @@ function zEe() {
|
|
37921
37921
|
colors: [Xf],
|
37922
37922
|
spacing: [Ks, gl],
|
37923
37923
|
blur: ["none", "", kl, Ft],
|
37924
|
-
brightness:
|
37924
|
+
brightness: Ie(),
|
37925
37925
|
borderColor: [t],
|
37926
37926
|
borderRadius: ["none", "", "full", kl, Ft],
|
37927
37927
|
borderSpacing: V(),
|
37928
37928
|
borderWidth: G(),
|
37929
|
-
contrast:
|
37929
|
+
contrast: Ie(),
|
37930
37930
|
grayscale: ne(),
|
37931
37931
|
hueRotate: ce(),
|
37932
37932
|
invert: ne(),
|
@@ -37935,10 +37935,10 @@ function zEe() {
|
|
37935
37935
|
gradientColorStopPositions: [SEe, gl],
|
37936
37936
|
inset: O(),
|
37937
37937
|
margin: O(),
|
37938
|
-
opacity:
|
37938
|
+
opacity: Ie(),
|
37939
37939
|
padding: V(),
|
37940
|
-
saturate:
|
37941
|
-
scale:
|
37940
|
+
saturate: Ie(),
|
37941
|
+
scale: Ie(),
|
37942
37942
|
sepia: ne(),
|
37943
37943
|
skew: ce(),
|
37944
37944
|
space: V(),
|
@@ -64259,16 +64259,16 @@ var TA = "PopperContent", [lrt, crt] = yq(TA), bq = S.forwardRef(
|
|
64259
64259
|
updatePositionStrategy: b = "optimized",
|
64260
64260
|
onPlaced: w,
|
64261
64261
|
...M
|
64262
|
-
} = t, A = mq(TA, l), [E, L] = S.useState(null), N = an(e, (
|
64262
|
+
} = t, A = mq(TA, l), [E, L] = S.useState(null), N = an(e, (Ne) => L(Ne)), [R, O] = S.useState(null), V = bA(R), G = (V == null ? void 0 : V.width) ?? 0, Z = (V == null ? void 0 : V.height) ?? 0, _ = c + (d !== "center" ? "-" + d : ""), Y = typeof k == "number" ? k : { top: 0, right: 0, bottom: 0, left: 0, ...k }, Q = Array.isArray(y) ? y : [y], se = Q.length > 0, ne = {
|
64263
64263
|
padding: Y,
|
64264
64264
|
boundary: Q.filter(drt),
|
64265
64265
|
// with `strategy: 'fixed'`, this is the only way to get it to respect boundaries
|
64266
64266
|
altBoundary: se
|
64267
|
-
}, { refs: De, floatingStyles:
|
64267
|
+
}, { refs: De, floatingStyles: Ie, placement: ce, isPositioned: pe, middlewareData: Me } = Jnt({
|
64268
64268
|
// default to `fixed` strategy so users don't have to pick and we also avoid focus scroll issues
|
64269
64269
|
strategy: "fixed",
|
64270
64270
|
placement: _,
|
64271
|
-
whileElementsMounted: (...
|
64271
|
+
whileElementsMounted: (...Ne) => _nt(...Ne, {
|
64272
64272
|
animationFrame: b === "always"
|
64273
64273
|
}),
|
64274
64274
|
elements: {
|
@@ -64285,8 +64285,8 @@ var TA = "PopperContent", [lrt, crt] = yq(TA), bq = S.forwardRef(
|
|
64285
64285
|
p && trt({ ...ne }),
|
64286
64286
|
nrt({
|
64287
64287
|
...ne,
|
64288
|
-
apply: ({ elements:
|
64289
|
-
const { width: re, height: Be } = ye.reference, U =
|
64288
|
+
apply: ({ elements: Ne, rects: ye, availableWidth: K, availableHeight: ie }) => {
|
64289
|
+
const { width: re, height: Be } = ye.reference, U = Ne.floating.style;
|
64290
64290
|
U.setProperty("--radix-popper-available-width", `${K}px`), U.setProperty("--radix-popper-available-height", `${ie}px`), U.setProperty("--radix-popper-anchor-width", `${re}px`), U.setProperty("--radix-popper-anchor-height", `${Be}px`);
|
64291
64291
|
}
|
64292
64292
|
}),
|
@@ -64294,11 +64294,11 @@ var TA = "PopperContent", [lrt, crt] = yq(TA), bq = S.forwardRef(
|
|
64294
64294
|
hrt({ arrowWidth: G, arrowHeight: Z }),
|
64295
64295
|
x && rrt({ strategy: "referenceHidden", ...ne })
|
64296
64296
|
]
|
64297
|
-
}), [
|
64297
|
+
}), [ge, J] = Mq(ce), Ae = Ns(w);
|
64298
64298
|
ha(() => {
|
64299
64299
|
pe && (Ae == null || Ae());
|
64300
64300
|
}, [pe, Ae]);
|
64301
|
-
const xe = (n =
|
64301
|
+
const xe = (n = Me.arrow) == null ? void 0 : n.x, Ge = (r = Me.arrow) == null ? void 0 : r.y, ve = ((a = Me.arrow) == null ? void 0 : a.centerOffset) !== 0, [Ce, je] = S.useState();
|
64302
64302
|
return ha(() => {
|
64303
64303
|
E && je(window.getComputedStyle(E).zIndex);
|
64304
64304
|
}, [E]), /* @__PURE__ */ T.jsx(
|
@@ -64307,19 +64307,19 @@ var TA = "PopperContent", [lrt, crt] = yq(TA), bq = S.forwardRef(
|
|
64307
64307
|
ref: De.setFloating,
|
64308
64308
|
"data-radix-popper-content-wrapper": "",
|
64309
64309
|
style: {
|
64310
|
-
...
|
64311
|
-
transform: pe ?
|
64310
|
+
...Ie,
|
64311
|
+
transform: pe ? Ie.transform : "translate(0, -200%)",
|
64312
64312
|
// keep off the page when measuring
|
64313
64313
|
minWidth: "max-content",
|
64314
|
-
zIndex:
|
64314
|
+
zIndex: Ce,
|
64315
64315
|
"--radix-popper-transform-origin": [
|
64316
|
-
(i =
|
64317
|
-
(o =
|
64316
|
+
(i = Me.transformOrigin) == null ? void 0 : i.x,
|
64317
|
+
(o = Me.transformOrigin) == null ? void 0 : o.y
|
64318
64318
|
].join(" "),
|
64319
64319
|
// hide the content if using the hide middleware and should be hidden
|
64320
64320
|
// set visibility to hidden and disable pointer events so the UI behaves
|
64321
64321
|
// as if the PopperContent isn't there at all
|
64322
|
-
...((s =
|
64322
|
+
...((s = Me.hide) == null ? void 0 : s.referenceHidden) && {
|
64323
64323
|
visibility: "hidden",
|
64324
64324
|
pointerEvents: "none"
|
64325
64325
|
}
|
@@ -64329,7 +64329,7 @@ var TA = "PopperContent", [lrt, crt] = yq(TA), bq = S.forwardRef(
|
|
64329
64329
|
lrt,
|
64330
64330
|
{
|
64331
64331
|
scope: l,
|
64332
|
-
placedSide:
|
64332
|
+
placedSide: ge,
|
64333
64333
|
onArrowChange: O,
|
64334
64334
|
arrowX: xe,
|
64335
64335
|
arrowY: Ge,
|
@@ -64337,7 +64337,7 @@ var TA = "PopperContent", [lrt, crt] = yq(TA), bq = S.forwardRef(
|
|
64337
64337
|
children: /* @__PURE__ */ T.jsx(
|
64338
64338
|
Nt.div,
|
64339
64339
|
{
|
64340
|
-
"data-side":
|
64340
|
+
"data-side": ge,
|
64341
64341
|
"data-align": J,
|
64342
64342
|
...M,
|
64343
64343
|
ref: N,
|
@@ -73305,9 +73305,9 @@ var r1 = 10, [JG, nc] = Lf(Vu), lct = "SelectContentImpl", KG = S.forwardRef(
|
|
73305
73305
|
}, [b]), uS();
|
73306
73306
|
const Y = S.useCallback(
|
73307
73307
|
(Ae) => {
|
73308
|
-
const [xe, ...Ge] = V().map((je) => je.ref.current), [ve] = Ge.slice(-1),
|
73308
|
+
const [xe, ...Ge] = V().map((je) => je.ref.current), [ve] = Ge.slice(-1), Ce = document.activeElement;
|
73309
73309
|
for (const je of Ae)
|
73310
|
-
if (je ===
|
73310
|
+
if (je === Ce || (je == null || je.scrollIntoView({ block: "nearest" }), je === xe && M && (M.scrollTop = 0), je === ve && M && (M.scrollTop = M.scrollHeight), je == null || je.focus(), document.activeElement !== Ce)) return;
|
73311
73311
|
},
|
73312
73312
|
[V, M]
|
73313
73313
|
), Q = S.useCallback(
|
@@ -73322,9 +73322,9 @@ var r1 = 10, [JG, nc] = Lf(Vu), lct = "SelectContentImpl", KG = S.forwardRef(
|
|
73322
73322
|
if (b) {
|
73323
73323
|
let Ae = { x: 0, y: 0 };
|
73324
73324
|
const xe = (ve) => {
|
73325
|
-
var
|
73325
|
+
var Ce, je;
|
73326
73326
|
Ae = {
|
73327
|
-
x: Math.abs(Math.round(ve.pageX) - (((
|
73327
|
+
x: Math.abs(Math.round(ve.pageX) - (((Ce = ne.current) == null ? void 0 : Ce.x) ?? 0)),
|
73328
73328
|
y: Math.abs(Math.round(ve.pageY) - (((je = ne.current) == null ? void 0 : je.y) ?? 0))
|
73329
73329
|
};
|
73330
73330
|
}, Ge = (ve) => {
|
@@ -73340,8 +73340,8 @@ var r1 = 10, [JG, nc] = Lf(Vu), lct = "SelectContentImpl", KG = S.forwardRef(
|
|
73340
73340
|
window.removeEventListener("blur", Ae), window.removeEventListener("resize", Ae);
|
73341
73341
|
};
|
73342
73342
|
}, [se]);
|
73343
|
-
const [De,
|
73344
|
-
const xe = V().filter((
|
73343
|
+
const [De, Ie] = fW((Ae) => {
|
73344
|
+
const xe = V().filter((Ce) => !Ce.disabled), Ge = xe.find((Ce) => Ce.ref.current === document.activeElement), ve = pW(xe, Ae, Ge);
|
73345
73345
|
ve && setTimeout(() => ve.ref.current.focus());
|
73346
73346
|
}), ce = S.useCallback(
|
73347
73347
|
(Ae, xe, Ge) => {
|
@@ -73349,13 +73349,13 @@ var r1 = 10, [JG, nc] = Lf(Vu), lct = "SelectContentImpl", KG = S.forwardRef(
|
|
73349
73349
|
(x.value !== void 0 && x.value === xe || ve) && (N(Ae), ve && (_.current = !0));
|
73350
73350
|
},
|
73351
73351
|
[x.value]
|
73352
|
-
), pe = S.useCallback(() => b == null ? void 0 : b.focus(), [b]),
|
73352
|
+
), pe = S.useCallback(() => b == null ? void 0 : b.focus(), [b]), Me = S.useCallback(
|
73353
73353
|
(Ae, xe, Ge) => {
|
73354
73354
|
const ve = !_.current && !Ge;
|
73355
73355
|
(x.value !== void 0 && x.value === xe || ve) && O(Ae);
|
73356
73356
|
},
|
73357
73357
|
[x.value]
|
73358
|
-
),
|
73358
|
+
), ge = r === "popper" ? ox : $G, J = ge === ox ? {
|
73359
73359
|
side: s,
|
73360
73360
|
sideOffset: l,
|
73361
73361
|
align: c,
|
@@ -73377,7 +73377,7 @@ var r1 = 10, [JG, nc] = Lf(Vu), lct = "SelectContentImpl", KG = S.forwardRef(
|
|
73377
73377
|
itemRefCallback: ce,
|
73378
73378
|
selectedItem: L,
|
73379
73379
|
onItemLeave: pe,
|
73380
|
-
itemTextRefCallback:
|
73380
|
+
itemTextRefCallback: Me,
|
73381
73381
|
focusSelectedItem: Q,
|
73382
73382
|
selectedItemText: R,
|
73383
73383
|
position: r,
|
@@ -73405,7 +73405,7 @@ var r1 = 10, [JG, nc] = Lf(Vu), lct = "SelectContentImpl", KG = S.forwardRef(
|
|
73405
73405
|
onFocusOutside: (Ae) => Ae.preventDefault(),
|
73406
73406
|
onDismiss: () => x.onOpenChange(!1),
|
73407
73407
|
children: /* @__PURE__ */ T.jsx(
|
73408
|
-
|
73408
|
+
ge,
|
73409
73409
|
{
|
73410
73410
|
role: "listbox",
|
73411
73411
|
id: x.contentId,
|
@@ -73426,11 +73426,11 @@ var r1 = 10, [JG, nc] = Lf(Vu), lct = "SelectContentImpl", KG = S.forwardRef(
|
|
73426
73426
|
},
|
73427
73427
|
onKeyDown: mt(v.onKeyDown, (Ae) => {
|
73428
73428
|
const xe = Ae.ctrlKey || Ae.altKey || Ae.metaKey;
|
73429
|
-
if (Ae.key === "Tab" && Ae.preventDefault(), !xe && Ae.key.length === 1 &&
|
73429
|
+
if (Ae.key === "Tab" && Ae.preventDefault(), !xe && Ae.key.length === 1 && Ie(Ae.key), ["ArrowUp", "ArrowDown", "Home", "End"].includes(Ae.key)) {
|
73430
73430
|
let Ge = V().filter((ve) => !ve.disabled).map((ve) => ve.ref.current);
|
73431
73431
|
if (["ArrowUp", "End"].includes(Ae.key) && (Ge = Ge.slice().reverse()), ["ArrowUp", "ArrowDown"].includes(Ae.key)) {
|
73432
|
-
const ve = Ae.target,
|
73433
|
-
Ge = Ge.slice(
|
73432
|
+
const ve = Ae.target, Ce = Ge.indexOf(ve);
|
73433
|
+
Ge = Ge.slice(Ce + 1);
|
73434
73434
|
}
|
73435
73435
|
setTimeout(() => Y(Ge)), Ae.preventDefault();
|
73436
73436
|
}
|
@@ -73451,31 +73451,31 @@ var cct = "SelectItemAlignedPosition", $G = S.forwardRef((t, e) => {
|
|
73451
73451
|
if (i.trigger && i.valueNode && s && c && y && k && v) {
|
73452
73452
|
const E = i.trigger.getBoundingClientRect(), L = c.getBoundingClientRect(), N = i.valueNode.getBoundingClientRect(), R = v.getBoundingClientRect();
|
73453
73453
|
if (i.dir !== "rtl") {
|
73454
|
-
const ve = R.left - L.left,
|
73455
|
-
s.style.minWidth =
|
73454
|
+
const ve = R.left - L.left, Ce = N.left - ve, je = E.left - Ce, Ne = E.width + je, ye = Math.max(Ne, L.width), K = window.innerWidth - r1, ie = zI(Ce, [r1, K - ye]);
|
73455
|
+
s.style.minWidth = Ne + "px", s.style.left = ie + "px";
|
73456
73456
|
} else {
|
73457
|
-
const ve = L.right - R.right,
|
73458
|
-
s.style.minWidth =
|
73457
|
+
const ve = L.right - R.right, Ce = window.innerWidth - N.right - ve, je = window.innerWidth - E.right - Ce, Ne = E.width + je, ye = Math.max(Ne, L.width), K = window.innerWidth - r1, ie = zI(Ce, [r1, K - ye]);
|
73458
|
+
s.style.minWidth = Ne + "px", s.style.right = ie + "px";
|
73459
73459
|
}
|
73460
|
-
const O = h(), V = window.innerHeight - r1 * 2, G = y.scrollHeight, Z = window.getComputedStyle(c), _ = parseInt(Z.borderTopWidth, 10), Y = parseInt(Z.paddingTop, 10), Q = parseInt(Z.borderBottomWidth, 10), se = parseInt(Z.paddingBottom, 10), ne = _ + Y + G + se + Q, De = Math.min(k.offsetHeight * 5, ne),
|
73461
|
-
if (xe <=
|
73460
|
+
const O = h(), V = window.innerHeight - r1 * 2, G = y.scrollHeight, Z = window.getComputedStyle(c), _ = parseInt(Z.borderTopWidth, 10), Y = parseInt(Z.paddingTop, 10), Q = parseInt(Z.borderBottomWidth, 10), se = parseInt(Z.paddingBottom, 10), ne = _ + Y + G + se + Q, De = Math.min(k.offsetHeight * 5, ne), Ie = window.getComputedStyle(y), ce = parseInt(Ie.paddingTop, 10), pe = parseInt(Ie.paddingBottom, 10), Me = E.top + E.height / 2 - r1, ge = V - Me, J = k.offsetHeight / 2, Ae = k.offsetTop + J, xe = _ + Y + Ae, Ge = ne - xe;
|
73461
|
+
if (xe <= Me) {
|
73462
73462
|
const ve = k === O[O.length - 1].ref.current;
|
73463
73463
|
s.style.bottom = "0px";
|
73464
|
-
const
|
73465
|
-
|
73464
|
+
const Ce = c.clientHeight - y.offsetTop - y.offsetHeight, je = Math.max(
|
73465
|
+
ge,
|
73466
73466
|
J + // viewport might have padding bottom, include it to avoid a scrollable viewport
|
73467
|
-
(ve ? pe : 0) +
|
73468
|
-
),
|
73469
|
-
s.style.height =
|
73467
|
+
(ve ? pe : 0) + Ce + Q
|
73468
|
+
), Ne = xe + je;
|
73469
|
+
s.style.height = Ne + "px";
|
73470
73470
|
} else {
|
73471
73471
|
const ve = k === O[0].ref.current;
|
73472
73472
|
s.style.top = "0px";
|
73473
|
-
const
|
73474
|
-
|
73473
|
+
const Ce = Math.max(
|
73474
|
+
Me,
|
73475
73475
|
_ + y.offsetTop + // viewport might have padding top, include it to avoid a scrollable viewport
|
73476
73476
|
(ve ? ce : 0) + J
|
73477
73477
|
) + Ge;
|
73478
|
-
s.style.height =
|
73478
|
+
s.style.height = Ce + "px", y.scrollTop = xe - Me + y.offsetTop;
|
73479
73479
|
}
|
73480
73480
|
s.style.margin = `${r1}px 0`, s.style.minHeight = De + "px", s.style.maxHeight = V + "px", r == null || r(), requestAnimationFrame(() => f.current = !0);
|
73481
73481
|
}
|
@@ -74750,8 +74750,8 @@ function $ct({ activeSnapPointProp: t, setActiveSnapPointProp: e, snapPoints: n,
|
|
74750
74750
|
const Xct = 0.25, eut = 100, HI = 8, mc = 16, FI = 26, U9 = "vaul-dragging";
|
74751
74751
|
function jW({ open: t, onOpenChange: e, children: n, shouldScaleBackground: r, onDrag: a, onRelease: i, snapPoints: o, nested: s = !1, setBackgroundColorOnScale: l = !0, closeThreshold: c = Xct, scrollLockTimeout: u = eut, dismissible: d = !0, handleOnly: h = !1, fadeFromIndex: f = o && o.length - 1, activeSnapPoint: p, setActiveSnapPoint: y, fixed: k, modal: v = !0, onClose: x, noBodyStyles: b, direction: w = "bottom", preventScrollRestoration: M = !0, disablePreventScroll: A = !1 }) {
|
74752
74752
|
var E;
|
74753
|
-
const [L = !1, N] = we.useState(!1), [R, O] = we.useState(!1), [V, G] = we.useState(!1), [Z, _] = we.useState(!1), [Y, Q] = we.useState(!1), [se, ne] = we.useState(!1), De = we.useRef(null),
|
74754
|
-
o && Ee === Be.length - 1 && (
|
74753
|
+
const [L = !1, N] = we.useState(!1), [R, O] = we.useState(!1), [V, G] = we.useState(!1), [Z, _] = we.useState(!1), [Y, Q] = we.useState(!1), [se, ne] = we.useState(!1), De = we.useRef(null), Ie = we.useRef(null), ce = we.useRef(null), pe = we.useRef(null), Me = we.useRef(null), ge = we.useRef(!1), J = we.useRef(null), Ae = we.useRef(0), xe = we.useRef(!1), Ge = we.useRef(0), ve = we.useRef(null), Ce = we.useRef(((E = ve.current) == null ? void 0 : E.getBoundingClientRect().height) || 0), je = we.useRef(0), Ne = we.useCallback((Ee) => {
|
74754
|
+
o && Ee === Be.length - 1 && (Ie.current = /* @__PURE__ */ new Date());
|
74755
74755
|
}, []), { activeSnapPoint: ye, activeSnapPointIndex: K, setActiveSnapPoint: ie, onRelease: re, snapPointsOffset: Be, onDrag: U, shouldFade: C, getPercentageDragged: I } = $ct({
|
74756
74756
|
snapPoints: o,
|
74757
74757
|
activeSnapPointProp: p,
|
@@ -74759,7 +74759,7 @@ function jW({ open: t, onOpenChange: e, children: n, shouldScaleBackground: r, o
|
|
74759
74759
|
drawerRef: ve,
|
74760
74760
|
fadeFromIndex: f,
|
74761
74761
|
overlayRef: De,
|
74762
|
-
onSnapPointChange:
|
74762
|
+
onSnapPointChange: Ne,
|
74763
74763
|
direction: w
|
74764
74764
|
});
|
74765
74765
|
qct({
|
@@ -74778,7 +74778,7 @@ function jW({ open: t, onOpenChange: e, children: n, shouldScaleBackground: r, o
|
|
74778
74778
|
}
|
74779
74779
|
function ue(Ee) {
|
74780
74780
|
var Pe;
|
74781
|
-
!d && !o || ve.current && !ve.current.contains(Ee.target) || (
|
74781
|
+
!d && !o || ve.current && !ve.current.contains(Ee.target) || (Ce.current = ((Pe = ve.current) == null ? void 0 : Pe.getBoundingClientRect().height) || 0, Q(!0), ce.current = /* @__PURE__ */ new Date(), MW() && window.addEventListener("touchend", () => ge.current = !1, {
|
74782
74782
|
once: !0
|
74783
74783
|
}), Ee.target.setPointerCapture(Ee.pointerId), Ae.current = hr(w) ? Ee.clientY : Ee.clientX);
|
74784
74784
|
}
|
@@ -74790,18 +74790,18 @@ function jW({ open: t, onOpenChange: e, children: n, shouldScaleBackground: r, o
|
|
74790
74790
|
return !1;
|
74791
74791
|
if (w === "right" || w === "left")
|
74792
74792
|
return !0;
|
74793
|
-
if (
|
74793
|
+
if (Ie.current && Kt.getTime() - Ie.current.getTime() < 500)
|
74794
74794
|
return !1;
|
74795
74795
|
if (It !== null && (w === "bottom" ? It > 0 : It < 0))
|
74796
74796
|
return !0;
|
74797
74797
|
if (bt && bt.length > 0)
|
74798
74798
|
return !1;
|
74799
|
-
if (
|
74800
|
-
return
|
74799
|
+
if (Me.current && Kt.getTime() - Me.current.getTime() < u && It === 0 || Pe)
|
74800
|
+
return Me.current = Kt, !1;
|
74801
74801
|
for (; $e; ) {
|
74802
74802
|
if ($e.scrollHeight > $e.clientHeight) {
|
74803
74803
|
if ($e.scrollTop !== 0)
|
74804
|
-
return
|
74804
|
+
return Me.current = /* @__PURE__ */ new Date(), !1;
|
74805
74805
|
if ($e.getAttribute("role") === "dialog")
|
74806
74806
|
return !0;
|
74807
74807
|
}
|
@@ -74814,10 +74814,10 @@ function jW({ open: t, onOpenChange: e, children: n, shouldScaleBackground: r, o
|
|
74814
74814
|
const Pe = w === "bottom" || w === "right" ? 1 : -1, lt = (Ae.current - (hr(w) ? Ee.clientY : Ee.clientX)) * Pe, $e = lt > 0, bt = o && !d && !$e;
|
74815
74815
|
if (bt && K === 0) return;
|
74816
74816
|
const It = Math.abs(lt), Kt = document.querySelector("[vaul-drawer-wrapper]");
|
74817
|
-
let Ht = It /
|
74817
|
+
let Ht = It / Ce.current;
|
74818
74818
|
const nn = I(It, $e);
|
74819
|
-
if (nn !== null && (Ht = nn), bt && Ht >= 1 || !
|
74820
|
-
if (ve.current.classList.add(U9),
|
74819
|
+
if (nn !== null && (Ht = nn), bt && Ht >= 1 || !ge.current && !he(Ee.target, $e)) return;
|
74820
|
+
if (ve.current.classList.add(U9), ge.current = !0, Tn(ve.current, {
|
74821
74821
|
transition: "none"
|
74822
74822
|
}), Tn(De.current, {
|
74823
74823
|
transition: "none"
|
@@ -74945,11 +74945,11 @@ function jW({ open: t, onOpenChange: e, children: n, shouldScaleBackground: r, o
|
|
74945
74945
|
}, !0);
|
74946
74946
|
}
|
74947
74947
|
function st() {
|
74948
|
-
!Y || !ve.current || (ve.current.classList.remove(U9),
|
74948
|
+
!Y || !ve.current || (ve.current.classList.remove(U9), ge.current = !1, Q(!1), pe.current = /* @__PURE__ */ new Date());
|
74949
74949
|
}
|
74950
74950
|
function yt(Ee) {
|
74951
74951
|
if (!Y || !ve.current) return;
|
74952
|
-
ve.current.classList.remove(U9),
|
74952
|
+
ve.current.classList.remove(U9), ge.current = !1, Q(!1), pe.current = /* @__PURE__ */ new Date();
|
74953
74953
|
const Pe = y3(ve.current, w);
|
74954
74954
|
if (!he(Ee.target, !1) || !Pe || Number.isNaN(Pe) || ce.current === null) return;
|
74955
74955
|
const lt = pe.current.getTime() - ce.current.getTime(), $e = Ae.current - (hr(w) ? Ee.clientY : Ee.clientX), bt = Math.abs($e) / lt;
|
@@ -74983,7 +74983,7 @@ function jW({ open: t, onOpenChange: e, children: n, shouldScaleBackground: r, o
|
|
74983
74983
|
we.useEffect(() => {
|
74984
74984
|
L && (Tn(document.documentElement, {
|
74985
74985
|
scrollBehavior: "auto"
|
74986
|
-
}),
|
74986
|
+
}), Ie.current = /* @__PURE__ */ new Date(), Ut(!0));
|
74987
74987
|
}, [
|
74988
74988
|
L
|
74989
74989
|
]), we.useEffect(() => {
|
@@ -97259,11 +97259,11 @@ var op = '[cmdk-group=""]', rv = '[cmdk-group-items=""]', zpt = '[cmdk-group-hea
|
|
97259
97259
|
}, [u]), qu(() => {
|
97260
97260
|
A(6, G);
|
97261
97261
|
}, []);
|
97262
|
-
let E = S.useMemo(() => ({ subscribe: (ce) => (o.current.add(ce), () => o.current.delete(ce)), snapshot: () => n.current, setState: (ce, pe,
|
97263
|
-
var
|
97262
|
+
let E = S.useMemo(() => ({ subscribe: (ce) => (o.current.add(ce), () => o.current.delete(ce)), snapshot: () => n.current, setState: (ce, pe, Me) => {
|
97263
|
+
var ge, J, Ae;
|
97264
97264
|
if (!Object.is(n.current[ce], pe)) {
|
97265
97265
|
if (n.current[ce] = pe, ce === "search") V(), R(), A(1, O);
|
97266
|
-
else if (ce === "value" && (
|
97266
|
+
else if (ce === "value" && (Me || A(5, G), ((ge = s.current) == null ? void 0 : ge.value) !== void 0)) {
|
97267
97267
|
let xe = pe ?? "";
|
97268
97268
|
(Ae = (J = s.current).onValueChange) == null || Ae.call(J, xe);
|
97269
97269
|
return;
|
@@ -97272,56 +97272,56 @@ var op = '[cmdk-group=""]', rv = '[cmdk-group-items=""]', zpt = '[cmdk-group-hea
|
|
97272
97272
|
}
|
97273
97273
|
}, emit: () => {
|
97274
97274
|
o.current.forEach((ce) => ce());
|
97275
|
-
} }), []), L = S.useMemo(() => ({ value: (ce, pe,
|
97276
|
-
var
|
97277
|
-
pe !== ((
|
97275
|
+
} }), []), L = S.useMemo(() => ({ value: (ce, pe, Me) => {
|
97276
|
+
var ge;
|
97277
|
+
pe !== ((ge = i.current.get(ce)) == null ? void 0 : ge.value) && (i.current.set(ce, { value: pe, keywords: Me }), n.current.filtered.items.set(ce, N(pe, Me)), A(2, () => {
|
97278
97278
|
R(), E.emit();
|
97279
97279
|
}));
|
97280
97280
|
}, item: (ce, pe) => (r.current.add(ce), pe && (a.current.has(pe) ? a.current.get(pe).add(ce) : a.current.set(pe, /* @__PURE__ */ new Set([ce]))), A(3, () => {
|
97281
97281
|
V(), R(), n.current.value || O(), E.emit();
|
97282
97282
|
}), () => {
|
97283
97283
|
i.current.delete(ce), r.current.delete(ce), n.current.filtered.items.delete(ce);
|
97284
|
-
let
|
97284
|
+
let Me = Z();
|
97285
97285
|
A(4, () => {
|
97286
|
-
V(), (
|
97286
|
+
V(), (Me == null ? void 0 : Me.getAttribute("id")) === ce && O(), E.emit();
|
97287
97287
|
});
|
97288
97288
|
}), group: (ce) => (a.current.has(ce) || a.current.set(ce, /* @__PURE__ */ new Set()), () => {
|
97289
97289
|
i.current.delete(ce), a.current.delete(ce);
|
97290
97290
|
}), filter: () => s.current.shouldFilter, label: l || t["aria-label"], disablePointerSelection: y, listId: x, inputId: w, labelId: b, listInnerRef: M }), []);
|
97291
97291
|
function N(ce, pe) {
|
97292
|
-
var
|
97293
|
-
let J = (
|
97292
|
+
var Me, ge;
|
97293
|
+
let J = (ge = (Me = s.current) == null ? void 0 : Me.filter) != null ? ge : Opt;
|
97294
97294
|
return ce ? J(ce, n.current.search, pe) : 0;
|
97295
97295
|
}
|
97296
97296
|
function R() {
|
97297
97297
|
if (!n.current.search || s.current.shouldFilter === !1) return;
|
97298
97298
|
let ce = n.current.filtered.items, pe = [];
|
97299
|
-
n.current.filtered.groups.forEach((
|
97300
|
-
let J = a.current.get(
|
97299
|
+
n.current.filtered.groups.forEach((ge) => {
|
97300
|
+
let J = a.current.get(ge), Ae = 0;
|
97301
97301
|
J.forEach((xe) => {
|
97302
97302
|
let Ge = ce.get(xe);
|
97303
97303
|
Ae = Math.max(Ge, Ae);
|
97304
|
-
}), pe.push([
|
97304
|
+
}), pe.push([ge, Ae]);
|
97305
97305
|
});
|
97306
|
-
let
|
97307
|
-
_().sort((
|
97306
|
+
let Me = M.current;
|
97307
|
+
_().sort((ge, J) => {
|
97308
97308
|
var Ae, xe;
|
97309
|
-
let Ge =
|
97309
|
+
let Ge = ge.getAttribute("id"), ve = J.getAttribute("id");
|
97310
97310
|
return ((Ae = ce.get(ve)) != null ? Ae : 0) - ((xe = ce.get(Ge)) != null ? xe : 0);
|
97311
|
-
}).forEach((
|
97312
|
-
let J =
|
97313
|
-
J ? J.appendChild(
|
97314
|
-
}), pe.sort((
|
97315
|
-
let J = M.current.querySelector(`${op}[${Nc}="${encodeURIComponent(
|
97311
|
+
}).forEach((ge) => {
|
97312
|
+
let J = ge.closest(rv);
|
97313
|
+
J ? J.appendChild(ge.parentElement === J ? ge : ge.closest(`${rv} > *`)) : Me.appendChild(ge.parentElement === Me ? ge : ge.closest(`${rv} > *`));
|
97314
|
+
}), pe.sort((ge, J) => J[1] - ge[1]).forEach((ge) => {
|
97315
|
+
let J = M.current.querySelector(`${op}[${Nc}="${encodeURIComponent(ge[0])}"]`);
|
97316
97316
|
J == null || J.parentElement.appendChild(J);
|
97317
97317
|
});
|
97318
97318
|
}
|
97319
97319
|
function O() {
|
97320
|
-
let ce = _().find((
|
97320
|
+
let ce = _().find((Me) => Me.getAttribute("aria-disabled") !== "true"), pe = ce == null ? void 0 : ce.getAttribute(Nc);
|
97321
97321
|
E.setState("value", pe || void 0);
|
97322
97322
|
}
|
97323
97323
|
function V() {
|
97324
|
-
var ce, pe,
|
97324
|
+
var ce, pe, Me, ge;
|
97325
97325
|
if (!n.current.search || s.current.shouldFilter === !1) {
|
97326
97326
|
n.current.filtered.count = r.current.size;
|
97327
97327
|
return;
|
@@ -97329,7 +97329,7 @@ var op = '[cmdk-group=""]', rv = '[cmdk-group-items=""]', zpt = '[cmdk-group-hea
|
|
97329
97329
|
n.current.filtered.groups = /* @__PURE__ */ new Set();
|
97330
97330
|
let J = 0;
|
97331
97331
|
for (let Ae of r.current) {
|
97332
|
-
let xe = (pe = (ce = i.current.get(Ae)) == null ? void 0 : ce.value) != null ? pe : "", Ge = (
|
97332
|
+
let xe = (pe = (ce = i.current.get(Ae)) == null ? void 0 : ce.value) != null ? pe : "", Ge = (ge = (Me = i.current.get(Ae)) == null ? void 0 : Me.keywords) != null ? ge : [], ve = N(xe, Ge);
|
97333
97333
|
n.current.filtered.items.set(Ae, ve), ve > 0 && J++;
|
97334
97334
|
}
|
97335
97335
|
for (let [Ae, xe] of a.current) for (let Ge of xe) if (n.current.filtered.items.get(Ge) > 0) {
|
@@ -97339,9 +97339,9 @@ var op = '[cmdk-group=""]', rv = '[cmdk-group-items=""]', zpt = '[cmdk-group-hea
|
|
97339
97339
|
n.current.filtered.count = J;
|
97340
97340
|
}
|
97341
97341
|
function G() {
|
97342
|
-
var ce, pe,
|
97343
|
-
let
|
97344
|
-
|
97342
|
+
var ce, pe, Me;
|
97343
|
+
let ge = Z();
|
97344
|
+
ge && (((ce = ge.parentElement) == null ? void 0 : ce.firstChild) === ge && ((Me = (pe = ge.closest(op)) == null ? void 0 : pe.querySelector(zpt)) == null || Me.scrollIntoView({ block: "nearest" })), ge.scrollIntoView({ block: "nearest" }));
|
97345
97345
|
}
|
97346
97346
|
function Z() {
|
97347
97347
|
var ce;
|
@@ -97357,17 +97357,17 @@ var op = '[cmdk-group=""]', rv = '[cmdk-group-items=""]', zpt = '[cmdk-group-hea
|
|
97357
97357
|
}
|
97358
97358
|
function Q(ce) {
|
97359
97359
|
var pe;
|
97360
|
-
let
|
97361
|
-
(pe = s.current) != null && pe.loop && (Ae = J + ce < 0 ?
|
97360
|
+
let Me = Z(), ge = _(), J = ge.findIndex((xe) => xe === Me), Ae = ge[J + ce];
|
97361
|
+
(pe = s.current) != null && pe.loop && (Ae = J + ce < 0 ? ge[ge.length - 1] : J + ce === ge.length ? ge[0] : ge[J + ce]), Ae && E.setState("value", Ae.getAttribute(Nc));
|
97362
97362
|
}
|
97363
97363
|
function se(ce) {
|
97364
|
-
let pe = Z(),
|
97365
|
-
for (;
|
97366
|
-
|
97364
|
+
let pe = Z(), Me = pe == null ? void 0 : pe.closest(op), ge;
|
97365
|
+
for (; Me && !ge; ) Me = ce > 0 ? Gpt(Me, op) : Wpt(Me, op), ge = Me == null ? void 0 : Me.querySelector(bR);
|
97366
|
+
ge ? E.setState("value", ge.getAttribute(Nc)) : Q(ce);
|
97367
97367
|
}
|
97368
97368
|
let ne = () => Y(_().length - 1), De = (ce) => {
|
97369
97369
|
ce.preventDefault(), ce.metaKey ? ne() : ce.altKey ? se(1) : Q(1);
|
97370
|
-
},
|
97370
|
+
}, Ie = (ce) => {
|
97371
97371
|
ce.preventDefault(), ce.metaKey ? Y(0) : ce.altKey ? se(-1) : Q(-1);
|
97372
97372
|
};
|
97373
97373
|
return S.createElement(ho.div, { ref: e, tabIndex: -1, ...v, "cmdk-root": "", onKeyDown: (ce) => {
|
@@ -97384,11 +97384,11 @@ var op = '[cmdk-group=""]', rv = '[cmdk-group-items=""]', zpt = '[cmdk-group-hea
|
|
97384
97384
|
}
|
97385
97385
|
case "p":
|
97386
97386
|
case "k": {
|
97387
|
-
k && ce.ctrlKey &&
|
97387
|
+
k && ce.ctrlKey && Ie(ce);
|
97388
97388
|
break;
|
97389
97389
|
}
|
97390
97390
|
case "ArrowUp": {
|
97391
|
-
|
97391
|
+
Ie(ce);
|
97392
97392
|
break;
|
97393
97393
|
}
|
97394
97394
|
case "Home": {
|
@@ -97402,10 +97402,10 @@ var op = '[cmdk-group=""]', rv = '[cmdk-group-items=""]', zpt = '[cmdk-group-hea
|
|
97402
97402
|
case "Enter":
|
97403
97403
|
if (!ce.nativeEvent.isComposing && ce.keyCode !== 229) {
|
97404
97404
|
ce.preventDefault();
|
97405
|
-
let
|
97406
|
-
if (
|
97407
|
-
let
|
97408
|
-
|
97405
|
+
let Me = Z();
|
97406
|
+
if (Me) {
|
97407
|
+
let ge = new Event(Sx);
|
97408
|
+
Me.dispatchEvent(ge);
|
97409
97409
|
}
|
97410
97410
|
}
|
97411
97411
|
}
|
@@ -98162,15 +98162,15 @@ function v4t(t, e, n, r, a, i, o, s, l, c, u, d, h, f, p, y, k, v, x) {
|
|
98162
98162
|
let G = !1, Z = 0, _ = 0, Y = !1, Q = !1, se = !1, ne = !1;
|
98163
98163
|
function De(je) {
|
98164
98164
|
if (!x) return;
|
98165
|
-
function
|
98165
|
+
function Ne(K) {
|
98166
98166
|
(yL(x) || x(je, K)) && J(K);
|
98167
98167
|
}
|
98168
98168
|
const ye = e;
|
98169
98169
|
E.add(ye, "dragstart", (K) => K.preventDefault(), A).add(ye, "touchmove", () => {
|
98170
98170
|
}, A).add(ye, "touchend", () => {
|
98171
|
-
}).add(ye, "touchstart",
|
98171
|
+
}).add(ye, "touchstart", Ne).add(ye, "mousedown", Ne).add(ye, "touchcancel", xe).add(ye, "contextmenu", xe).add(ye, "click", Ge, !0);
|
98172
98172
|
}
|
98173
|
-
function
|
98173
|
+
function Ie() {
|
98174
98174
|
E.clear(), L.clear();
|
98175
98175
|
}
|
98176
98176
|
function ce() {
|
@@ -98178,19 +98178,19 @@ function v4t(t, e, n, r, a, i, o, s, l, c, u, d, h, f, p, y, k, v, x) {
|
|
98178
98178
|
L.add(je, "touchmove", Ae, A).add(je, "touchend", xe).add(je, "mousemove", Ae, A).add(je, "mouseup", xe);
|
98179
98179
|
}
|
98180
98180
|
function pe(je) {
|
98181
|
-
const
|
98182
|
-
return M.includes(
|
98181
|
+
const Ne = je.nodeName || "";
|
98182
|
+
return M.includes(Ne);
|
98183
98183
|
}
|
98184
|
-
function
|
98184
|
+
function Me() {
|
98185
98185
|
return (p ? O : R)[ne ? "mouse" : "touch"];
|
98186
98186
|
}
|
98187
|
-
function
|
98187
|
+
function ge(je, Ne) {
|
98188
98188
|
const ye = d.add(mL(je) * -1), K = u.byDistance(je, !p).distance;
|
98189
|
-
return p || Rn(je) < N ? K : k &&
|
98189
|
+
return p || Rn(je) < N ? K : k && Ne ? K * 0.5 : u.byIndex(ye.get(), 0).distance;
|
98190
98190
|
}
|
98191
98191
|
function J(je) {
|
98192
|
-
const
|
98193
|
-
ne =
|
98192
|
+
const Ne = jx(je, r);
|
98193
|
+
ne = Ne, se = p && Ne && !je.buttons && G, G = Qp(a.get(), o.get()) >= 2, !(Ne && je.button !== 0) && (pe(je.target) || (Y = !0, i.pointerDown(je), c.useFriction(0).useDuration(0), a.set(o), ce(), Z = i.readPoint(je), _ = i.readPoint(je, b), h.emit("pointerDown")));
|
98194
98194
|
}
|
98195
98195
|
function Ae(je) {
|
98196
98196
|
if (!jx(je, r) && je.touches.length >= 2) return xe(je);
|
@@ -98201,7 +98201,7 @@ function v4t(t, e, n, r, a, i, o, s, l, c, u, d, h, f, p, y, k, v, x) {
|
|
98201
98201
|
ie > y && (se = !0), c.useFriction(0.3).useDuration(0.75), s.start(), a.add(w(Be)), je.preventDefault();
|
98202
98202
|
}
|
98203
98203
|
function xe(je) {
|
98204
|
-
const ye = u.byDistance(0, !1).index !== d.get(), K = i.pointerUp(je) *
|
98204
|
+
const ye = u.byDistance(0, !1).index !== d.get(), K = i.pointerUp(je) * Me(), ie = ge(w(K), ye), re = y4t(K, ie), Be = V - 10 * re, U = v + re / 50;
|
98205
98205
|
Q = !1, Y = !1, L.clear(), c.useDuration(Be).useFriction(U), l.distance(ie, !p), ne = !1, h.emit("pointerUp");
|
98206
98206
|
}
|
98207
98207
|
function Ge(je) {
|
@@ -98212,7 +98212,7 @@ function v4t(t, e, n, r, a, i, o, s, l, c, u, d, h, f, p, y, k, v, x) {
|
|
98212
98212
|
}
|
98213
98213
|
return {
|
98214
98214
|
init: De,
|
98215
|
-
destroy:
|
98215
|
+
destroy: Ie,
|
98216
98216
|
pointerDown: ve
|
98217
98217
|
};
|
98218
98218
|
}
|
@@ -98832,14 +98832,14 @@ function F4t(t, e, n, r, a, i, o) {
|
|
98832
98832
|
startGap: se,
|
98833
98833
|
endGap: ne
|
98834
98834
|
} = B4t(R, L, N, n, _, a), De = H4t(R, O, k, d, L, N, se, ne, A), {
|
98835
|
-
snaps:
|
98835
|
+
snaps: Ie,
|
98836
98836
|
snapsAligned: ce
|
98837
|
-
} = j4t(R, G, L, N, De), pe = -jo(
|
98838
|
-
snapsContained:
|
98839
|
-
scrollContainLimit:
|
98840
|
-
} = S4t(O, pe, ce, x, A), J = Z ?
|
98837
|
+
} = j4t(R, G, L, N, De), pe = -jo(Ie) + jo(Q), {
|
98838
|
+
snapsContained: Me,
|
98839
|
+
scrollContainLimit: ge
|
98840
|
+
} = S4t(O, pe, ce, x, A), J = Z ? Me : ce, {
|
98841
98841
|
limit: Ae
|
98842
|
-
} = L4t(pe, J, d), xe = KY(vm(J), u, d), Ge = xe.clone(), ve = F4(n),
|
98842
|
+
} = L4t(pe, J, d), xe = KY(vm(J), u, d), Ge = xe.clone(), ve = F4(n), Ce = ({
|
98843
98843
|
dragHandler: Xe,
|
98844
98844
|
scrollBody: st,
|
98845
98845
|
scrollBounds: yt,
|
@@ -98865,17 +98865,17 @@ function F4t(t, e, n, r, a, i, o) {
|
|
98865
98865
|
}, bt) => {
|
98866
98866
|
const It = Xe.velocity(), Kt = Xe.settled(), Ht = !lt.shouldConstrain(), nn = $e ? Kt : Kt && Ht;
|
98867
98867
|
nn && !be.pointerDown() && (Ee.stop(), Pe.emit("settle")), nn || Pe.emit("scroll"), Ut.set(yt.get() - It + It * bt), $e && (Gn.loop(Xe.direction()), nr.loop()), st.to(Ut.get());
|
98868
|
-
},
|
98868
|
+
}, Ne = g4t(r, a, () => Ce(qe), (Xe) => je(qe, Xe)), ye = 0.68, K = J[xe.get()], ie = Ig(K), re = Ig(K), Be = Ig(K), U = C4t(ie, re, Be, h, ye), C = N4t(d, J, pe, Ae, Be), I = I4t(Ne, xe, Ge, U, C, Be, o), H = T4t(Ae), ee = _4(), ue = O4t(e, n, o, y), {
|
98869
98869
|
slideRegistry: he
|
98870
|
-
} = D4t(Z, x, J,
|
98870
|
+
} = D4t(Z, x, J, ge, De, ve), Fe = R4t(t, n, he, I, U, ee, o), qe = {
|
98871
98871
|
ownerDocument: r,
|
98872
98872
|
ownerWindow: a,
|
98873
98873
|
eventHandler: o,
|
98874
98874
|
containerRect: L,
|
98875
98875
|
slideRects: N,
|
98876
|
-
animation:
|
98876
|
+
animation: Ne,
|
98877
98877
|
axis: R,
|
98878
|
-
dragHandler: v4t(R, t, r, a, Be, b4t(R, a), ie,
|
98878
|
+
dragHandler: v4t(R, t, r, a, Be, b4t(R, a), ie, Ne, I, U, C, xe, o, V, f, p, v, ye, M),
|
98879
98879
|
eventStore: ee,
|
98880
98880
|
percentOfView: V,
|
98881
98881
|
index: xe,
|
@@ -98893,7 +98893,7 @@ function F4t(t, e, n, r, a, i, o) {
|
|
98893
98893
|
scrollSnaps: J,
|
98894
98894
|
scrollTarget: C,
|
98895
98895
|
scrollTo: I,
|
98896
|
-
slideLooper: P4t(R, O, pe, Y, Q,
|
98896
|
+
slideLooper: P4t(R, O, pe, Y, Q, Ie, J, re, n),
|
98897
98897
|
slideFocus: Fe,
|
98898
98898
|
slidesHandler: z4t(e, o, w),
|
98899
98899
|
slidesInView: ue,
|
@@ -99002,33 +99002,33 @@ function Z5(t, e, n) {
|
|
99002
99002
|
let k = !1, v, x = c(_4t, Z5.globalOptions), b = c(x), w = [], M, A, E;
|
99003
99003
|
function L() {
|
99004
99004
|
const {
|
99005
|
-
container:
|
99005
|
+
container: Ce,
|
99006
99006
|
slides: je
|
99007
99007
|
} = b;
|
99008
|
-
A = (Tx(
|
99008
|
+
A = (Tx(Ce) ? t.querySelector(Ce) : Ce) || t.children[0];
|
99009
99009
|
const ye = Tx(je) ? A.querySelectorAll(je) : je;
|
99010
99010
|
E = [].slice.call(ye || A.children);
|
99011
99011
|
}
|
99012
|
-
function N(
|
99013
|
-
const je = F4t(t, A, E, r, a,
|
99014
|
-
if (
|
99015
|
-
const
|
99012
|
+
function N(Ce) {
|
99013
|
+
const je = F4t(t, A, E, r, a, Ce, l);
|
99014
|
+
if (Ce.loop && !je.slideLooper.canLoop()) {
|
99015
|
+
const Ne = Object.assign({}, Ce, {
|
99016
99016
|
loop: !1
|
99017
99017
|
});
|
99018
|
-
return N(
|
99018
|
+
return N(Ne);
|
99019
99019
|
}
|
99020
99020
|
return je;
|
99021
99021
|
}
|
99022
|
-
function R(
|
99023
|
-
k || (x = c(x,
|
99024
|
-
options:
|
99025
|
-
}) =>
|
99022
|
+
function R(Ce, je) {
|
99023
|
+
k || (x = c(x, Ce), b = u(x), w = je || w, L(), v = N(b), d([x, ...w.map(({
|
99024
|
+
options: Ne
|
99025
|
+
}) => Ne)]).forEach((Ne) => s.add(Ne, "change", O)), b.active && (v.translate.to(v.location.get()), v.animation.init(), v.slidesInView.init(), v.slideFocus.init(), v.eventHandler.init(ve), v.resizeHandler.init(ve), v.slidesHandler.init(ve), v.options.loop && v.slideLooper.loop(), A.offsetParent && E.length && v.dragHandler.init(ve), M = o.init(ve, w)));
|
99026
99026
|
}
|
99027
|
-
function O(
|
99028
|
-
const
|
99027
|
+
function O(Ce, je) {
|
99028
|
+
const Ne = Ie();
|
99029
99029
|
V(), R(c({
|
99030
|
-
startIndex:
|
99031
|
-
},
|
99030
|
+
startIndex: Ne
|
99031
|
+
}, Ce), je), l.emit("reInit");
|
99032
99032
|
}
|
99033
99033
|
function V() {
|
99034
99034
|
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();
|
@@ -99036,22 +99036,22 @@ function Z5(t, e, n) {
|
|
99036
99036
|
function G() {
|
99037
99037
|
k || (k = !0, s.clear(), V(), l.emit("destroy"), l.clear());
|
99038
99038
|
}
|
99039
|
-
function Z(
|
99040
|
-
!b.active || k || (v.scrollBody.useBaseFriction().useDuration(je === !0 ? 0 : b.duration), v.scrollTo.index(
|
99039
|
+
function Z(Ce, je, Ne) {
|
99040
|
+
!b.active || k || (v.scrollBody.useBaseFriction().useDuration(je === !0 ? 0 : b.duration), v.scrollTo.index(Ce, Ne || 0));
|
99041
99041
|
}
|
99042
|
-
function _(
|
99042
|
+
function _(Ce) {
|
99043
99043
|
const je = v.index.add(1).get();
|
99044
|
-
Z(je,
|
99044
|
+
Z(je, Ce, -1);
|
99045
99045
|
}
|
99046
|
-
function Y(
|
99046
|
+
function Y(Ce) {
|
99047
99047
|
const je = v.index.add(-1).get();
|
99048
|
-
Z(je,
|
99048
|
+
Z(je, Ce, 1);
|
99049
99049
|
}
|
99050
99050
|
function Q() {
|
99051
|
-
return v.index.add(1).get() !==
|
99051
|
+
return v.index.add(1).get() !== Ie();
|
99052
99052
|
}
|
99053
99053
|
function se() {
|
99054
|
-
return v.index.add(-1).get() !==
|
99054
|
+
return v.index.add(-1).get() !== Ie();
|
99055
99055
|
}
|
99056
99056
|
function ne() {
|
99057
99057
|
return v.scrollSnapList;
|
@@ -99059,7 +99059,7 @@ function Z5(t, e, n) {
|
|
99059
99059
|
function De() {
|
99060
99060
|
return v.scrollProgress.get(v.location.get());
|
99061
99061
|
}
|
99062
|
-
function
|
99062
|
+
function Ie() {
|
99063
99063
|
return v.index.get();
|
99064
99064
|
}
|
99065
99065
|
function ce() {
|
@@ -99068,10 +99068,10 @@ function Z5(t, e, n) {
|
|
99068
99068
|
function pe() {
|
99069
99069
|
return v.slidesInView.get();
|
99070
99070
|
}
|
99071
|
-
function
|
99071
|
+
function Me() {
|
99072
99072
|
return v.slidesInView.get(!1);
|
99073
99073
|
}
|
99074
|
-
function
|
99074
|
+
function ge() {
|
99075
99075
|
return M;
|
99076
99076
|
}
|
99077
99077
|
function J() {
|
@@ -99095,7 +99095,7 @@ function Z5(t, e, n) {
|
|
99095
99095
|
off: f,
|
99096
99096
|
on: h,
|
99097
99097
|
emit: p,
|
99098
|
-
plugins:
|
99098
|
+
plugins: ge,
|
99099
99099
|
previousScrollSnap: ce,
|
99100
99100
|
reInit: y,
|
99101
99101
|
rootNode: Ae,
|
@@ -99104,10 +99104,10 @@ function Z5(t, e, n) {
|
|
99104
99104
|
scrollProgress: De,
|
99105
99105
|
scrollSnapList: ne,
|
99106
99106
|
scrollTo: Z,
|
99107
|
-
selectedScrollSnap:
|
99107
|
+
selectedScrollSnap: Ie,
|
99108
99108
|
slideNodes: Ge,
|
99109
99109
|
slidesInView: pe,
|
99110
|
-
slidesNotInView:
|
99110
|
+
slidesNotInView: Me
|
99111
99111
|
};
|
99112
99112
|
return R(e, n), setTimeout(() => l.emit("init"), 0), ve;
|
99113
99113
|
}
|
@@ -107497,7 +107497,7 @@ var CK = { exports: {} };
|
|
107497
107497
|
case "hex":
|
107498
107498
|
return H >>> 1;
|
107499
107499
|
case "base64":
|
107500
|
-
return
|
107500
|
+
return Ne(C).length;
|
107501
107501
|
default:
|
107502
107502
|
if (ue) return ee ? -1 : ve(C).length;
|
107503
107503
|
I = ("" + I).toLowerCase(), ue = !0;
|
@@ -107508,7 +107508,7 @@ var CK = { exports: {} };
|
|
107508
107508
|
if ((I === void 0 || 0 > I) && (I = 0), I > this.length || ((H === void 0 || H > this.length) && (H = this.length), 0 >= H) || (H >>>= 0, I >>>= 0, H <= I)) return "";
|
107509
107509
|
for (C || (C = "utf8"); ; ) switch (C) {
|
107510
107510
|
case "hex":
|
107511
|
-
return
|
107511
|
+
return Ie(this, I, H);
|
107512
107512
|
case "utf8":
|
107513
107513
|
case "utf-8":
|
107514
107514
|
return Q(this, I, H);
|
@@ -107583,13 +107583,13 @@ var CK = { exports: {} };
|
|
107583
107583
|
return ye(ve(I, C.length - H), C, H, ee);
|
107584
107584
|
}
|
107585
107585
|
function V(C, I, H, ee) {
|
107586
|
-
return ye(
|
107586
|
+
return ye(Ce(I), C, H, ee);
|
107587
107587
|
}
|
107588
107588
|
function G(C, I, H, ee) {
|
107589
107589
|
return V(C, I, H, ee);
|
107590
107590
|
}
|
107591
107591
|
function Z(C, I, H, ee) {
|
107592
|
-
return ye(
|
107592
|
+
return ye(Ne(I), C, H, ee);
|
107593
107593
|
}
|
107594
107594
|
function _(C, I, H, ee) {
|
107595
107595
|
return ye(je(I, C.length - H), C, H, ee);
|
@@ -107627,7 +107627,7 @@ var CK = { exports: {} };
|
|
107627
107627
|
for (var ue = I; ue < H; ++ue) ee += l(C[ue]);
|
107628
107628
|
return ee;
|
107629
107629
|
}
|
107630
|
-
function
|
107630
|
+
function Ie(C, I, H) {
|
107631
107631
|
var ee = C.length;
|
107632
107632
|
(!I || 0 > I) && (I = 0), (!H || 0 > H || H > ee) && (H = ee);
|
107633
107633
|
for (var ue = "", he = I; he < H; ++he) ue += Ge(C[he]);
|
@@ -107641,20 +107641,20 @@ var CK = { exports: {} };
|
|
107641
107641
|
if (C % 1 != 0 || 0 > C) throw new RangeError("offset is not uint");
|
107642
107642
|
if (C + I > H) throw new RangeError("Trying to access beyond buffer length");
|
107643
107643
|
}
|
107644
|
-
function
|
107644
|
+
function Me(C, I, H, ee, ue, he) {
|
107645
107645
|
if (!d.isBuffer(C)) throw new TypeError('"buffer" argument must be a Buffer instance');
|
107646
107646
|
if (I > ue || I < he) throw new RangeError('"value" argument is out of bounds');
|
107647
107647
|
if (H + ee > C.length) throw new RangeError("Index out of range");
|
107648
107648
|
}
|
107649
|
-
function
|
107649
|
+
function ge(C, I, H, ee) {
|
107650
107650
|
if (H + ee > C.length) throw new RangeError("Index out of range");
|
107651
107651
|
if (0 > H) throw new RangeError("Index out of range");
|
107652
107652
|
}
|
107653
107653
|
function J(C, I, H, ee, ue) {
|
107654
|
-
return I = +I, H >>>= 0, ue ||
|
107654
|
+
return I = +I, H >>>= 0, ue || ge(C, I, H, 4), Be.write(C, I, H, ee, 23, 4), H + 4;
|
107655
107655
|
}
|
107656
107656
|
function Ae(C, I, H, ee, ue) {
|
107657
|
-
return I = +I, H >>>= 0, ue ||
|
107657
|
+
return I = +I, H >>>= 0, ue || ge(C, I, H, 8), Be.write(C, I, H, ee, 52, 8), H + 8;
|
107658
107658
|
}
|
107659
107659
|
function xe(C) {
|
107660
107660
|
if (C = C.split("=")[0], C = C.trim().replace(U, ""), 2 > C.length) return "";
|
@@ -107701,7 +107701,7 @@ var CK = { exports: {} };
|
|
107701
107701
|
}
|
107702
107702
|
return he;
|
107703
107703
|
}
|
107704
|
-
function
|
107704
|
+
function Ce(C) {
|
107705
107705
|
for (var I = [], H = 0; H < C.length; ++H) I.push(255 & C.charCodeAt(H));
|
107706
107706
|
return I;
|
107707
107707
|
}
|
@@ -107709,7 +107709,7 @@ var CK = { exports: {} };
|
|
107709
107709
|
for (var H, ee, ue, he = [], Fe = 0; Fe < C.length && !(0 > (I -= 2)); ++Fe) H = C.charCodeAt(Fe), ee = H >> 8, ue = H % 256, he.push(ue), he.push(ee);
|
107710
107710
|
return he;
|
107711
107711
|
}
|
107712
|
-
function
|
107712
|
+
function Ne(C) {
|
107713
107713
|
return re.toByteArray(xe(C));
|
107714
107714
|
}
|
107715
107715
|
function ye(C, I, H, ee) {
|
@@ -107915,7 +107915,7 @@ var CK = { exports: {} };
|
|
107915
107915
|
}, d.prototype.writeUIntLE = function(C, I, H, ee) {
|
107916
107916
|
if (C = +C, I >>>= 0, H >>>= 0, !ee) {
|
107917
107917
|
var ue = a(2, 8 * H) - 1;
|
107918
|
-
|
107918
|
+
Me(this, C, I, H, ue, 0);
|
107919
107919
|
}
|
107920
107920
|
var he = 1, Fe = 0;
|
107921
107921
|
for (this[I] = 255 & C; ++Fe < H && (he *= 256); ) this[I + Fe] = 255 & C / he;
|
@@ -107923,25 +107923,25 @@ var CK = { exports: {} };
|
|
107923
107923
|
}, d.prototype.writeUIntBE = function(C, I, H, ee) {
|
107924
107924
|
if (C = +C, I >>>= 0, H >>>= 0, !ee) {
|
107925
107925
|
var ue = a(2, 8 * H) - 1;
|
107926
|
-
|
107926
|
+
Me(this, C, I, H, ue, 0);
|
107927
107927
|
}
|
107928
107928
|
var he = H - 1, Fe = 1;
|
107929
107929
|
for (this[I + he] = 255 & C; 0 <= --he && (Fe *= 256); ) this[I + he] = 255 & C / Fe;
|
107930
107930
|
return I + H;
|
107931
107931
|
}, d.prototype.writeUInt8 = function(C, I, H) {
|
107932
|
-
return C = +C, I >>>= 0, H ||
|
107932
|
+
return C = +C, I >>>= 0, H || Me(this, C, I, 1, 255, 0), this[I] = 255 & C, I + 1;
|
107933
107933
|
}, d.prototype.writeUInt16LE = function(C, I, H) {
|
107934
|
-
return C = +C, I >>>= 0, H ||
|
107934
|
+
return C = +C, I >>>= 0, H || Me(this, C, I, 2, 65535, 0), this[I] = 255 & C, this[I + 1] = C >>> 8, I + 2;
|
107935
107935
|
}, d.prototype.writeUInt16BE = function(C, I, H) {
|
107936
|
-
return C = +C, I >>>= 0, H ||
|
107936
|
+
return C = +C, I >>>= 0, H || Me(this, C, I, 2, 65535, 0), this[I] = C >>> 8, this[I + 1] = 255 & C, I + 2;
|
107937
107937
|
}, d.prototype.writeUInt32LE = function(C, I, H) {
|
107938
|
-
return C = +C, I >>>= 0, H ||
|
107938
|
+
return C = +C, I >>>= 0, H || Me(this, C, I, 4, 4294967295, 0), this[I + 3] = C >>> 24, this[I + 2] = C >>> 16, this[I + 1] = C >>> 8, this[I] = 255 & C, I + 4;
|
107939
107939
|
}, d.prototype.writeUInt32BE = function(C, I, H) {
|
107940
|
-
return C = +C, I >>>= 0, H ||
|
107940
|
+
return C = +C, I >>>= 0, H || Me(this, C, I, 4, 4294967295, 0), this[I] = C >>> 24, this[I + 1] = C >>> 16, this[I + 2] = C >>> 8, this[I + 3] = 255 & C, I + 4;
|
107941
107941
|
}, d.prototype.writeIntLE = function(C, I, H, ee) {
|
107942
107942
|
if (C = +C, I >>>= 0, !ee) {
|
107943
107943
|
var ue = a(2, 8 * H - 1);
|
107944
|
-
|
107944
|
+
Me(this, C, I, H, ue - 1, -ue);
|
107945
107945
|
}
|
107946
107946
|
var he = 0, Fe = 1, qe = 0;
|
107947
107947
|
for (this[I] = 255 & C; ++he < H && (Fe *= 256); ) 0 > C && qe === 0 && this[I + he - 1] !== 0 && (qe = 1), this[I + he] = 255 & (C / Fe >> 0) - qe;
|
@@ -107949,21 +107949,21 @@ var CK = { exports: {} };
|
|
107949
107949
|
}, d.prototype.writeIntBE = function(C, I, H, ee) {
|
107950
107950
|
if (C = +C, I >>>= 0, !ee) {
|
107951
107951
|
var ue = a(2, 8 * H - 1);
|
107952
|
-
|
107952
|
+
Me(this, C, I, H, ue - 1, -ue);
|
107953
107953
|
}
|
107954
107954
|
var he = H - 1, Fe = 1, qe = 0;
|
107955
107955
|
for (this[I + he] = 255 & C; 0 <= --he && (Fe *= 256); ) 0 > C && qe === 0 && this[I + he + 1] !== 0 && (qe = 1), this[I + he] = 255 & (C / Fe >> 0) - qe;
|
107956
107956
|
return I + H;
|
107957
107957
|
}, d.prototype.writeInt8 = function(C, I, H) {
|
107958
|
-
return C = +C, I >>>= 0, H ||
|
107958
|
+
return C = +C, I >>>= 0, H || Me(this, C, I, 1, 127, -128), 0 > C && (C = 255 + C + 1), this[I] = 255 & C, I + 1;
|
107959
107959
|
}, d.prototype.writeInt16LE = function(C, I, H) {
|
107960
|
-
return C = +C, I >>>= 0, H ||
|
107960
|
+
return C = +C, I >>>= 0, H || Me(this, C, I, 2, 32767, -32768), this[I] = 255 & C, this[I + 1] = C >>> 8, I + 2;
|
107961
107961
|
}, d.prototype.writeInt16BE = function(C, I, H) {
|
107962
|
-
return C = +C, I >>>= 0, H ||
|
107962
|
+
return C = +C, I >>>= 0, H || Me(this, C, I, 2, 32767, -32768), this[I] = C >>> 8, this[I + 1] = 255 & C, I + 2;
|
107963
107963
|
}, d.prototype.writeInt32LE = function(C, I, H) {
|
107964
|
-
return C = +C, I >>>= 0, H ||
|
107964
|
+
return C = +C, I >>>= 0, H || Me(this, C, I, 4, 2147483647, -2147483648), this[I] = 255 & C, this[I + 1] = C >>> 8, this[I + 2] = C >>> 16, this[I + 3] = C >>> 24, I + 4;
|
107965
107965
|
}, d.prototype.writeInt32BE = function(C, I, H) {
|
107966
|
-
return C = +C, I >>>= 0, H ||
|
107966
|
+
return C = +C, I >>>= 0, H || Me(this, C, I, 4, 2147483647, -2147483648), 0 > C && (C = 4294967295 + C + 1), this[I] = C >>> 24, this[I + 1] = C >>> 16, this[I + 2] = C >>> 8, this[I + 3] = 255 & C, I + 4;
|
107967
107967
|
}, d.prototype.writeFloatLE = function(C, I, H) {
|
107968
107968
|
return J(this, C, I, !0, H);
|
107969
107969
|
}, d.prototype.writeFloatBE = function(C, I, H) {
|
@@ -108577,12 +108577,12 @@ Use Chrome, Firefox or Internet Explorer 11`);
|
|
108577
108577
|
return typeof U.prependListener == "function" ? U.prependListener(C, I) : void (U._events && U._events[C] ? Array.isArray(U._events[C]) ? U._events[C].unshift(I) : U._events[C] = [I, U._events[C]] : U.on(C, I));
|
108578
108578
|
}
|
108579
108579
|
function h(U, C, I) {
|
108580
|
-
se = se || i("./_stream_duplex"), U = U || {}, typeof I != "boolean" && (I = C instanceof se), this.objectMode = !!U.objectMode, I && (this.objectMode = this.objectMode || !!U.readableObjectMode), this.highWaterMark =
|
108580
|
+
se = se || i("./_stream_duplex"), U = U || {}, typeof I != "boolean" && (I = C instanceof se), this.objectMode = !!U.objectMode, I && (this.objectMode = this.objectMode || !!U.readableObjectMode), this.highWaterMark = Ce(this, U, "readableHighWaterMark", I), this.buffer = new xe(), this.length = 0, this.pipes = null, this.pipesCount = 0, this.flowing = null, this.ended = !1, this.endEmitted = !1, this.reading = !1, this.sync = !0, this.needReadable = !1, this.emittedReadable = !1, this.readableListening = !1, this.resumeScheduled = !1, this.paused = !0, this.emitClose = U.emitClose !== !1, this.autoDestroy = !!U.autoDestroy, this.destroyed = !1, this.defaultEncoding = U.defaultEncoding || "utf8", this.awaitDrain = 0, this.readingMore = !1, this.decoder = null, this.encoding = null, U.encoding && (!ge && (ge = i("string_decoder/").StringDecoder), this.decoder = new ge(U.encoding), this.encoding = U.encoding);
|
108581
108581
|
}
|
108582
108582
|
function f(U) {
|
108583
108583
|
if (se = se || i("./_stream_duplex"), !(this instanceof f)) return new f(U);
|
108584
108584
|
var C = this instanceof se;
|
108585
|
-
this._readableState = new h(U, this, C), this.readable = !0, U && (typeof U.read == "function" && (this._read = U.read), typeof U.destroy == "function" && (this._destroy = U.destroy)),
|
108585
|
+
this._readableState = new h(U, this, C), this.readable = !0, U && (typeof U.read == "function" && (this._read = U.read), typeof U.destroy == "function" && (this._destroy = U.destroy)), Ie.call(this);
|
108586
108586
|
}
|
108587
108587
|
function p(U, C, I, H, ee) {
|
108588
108588
|
ne("readableAddChunk", C);
|
@@ -108606,7 +108606,7 @@ Use Chrome, Firefox or Internet Explorer 11`);
|
|
108606
108606
|
}
|
108607
108607
|
function k(U, C) {
|
108608
108608
|
var I;
|
108609
|
-
return u(C) || typeof C == "string" || C === void 0 || U.objectMode || (I = new
|
108609
|
+
return u(C) || typeof C == "string" || C === void 0 || U.objectMode || (I = new Ne("chunk", ["string", "Buffer", "Uint8Array"], C)), I;
|
108610
108610
|
}
|
108611
108611
|
function v(U) {
|
108612
108612
|
return 1073741824 <= U ? U = 1073741824 : (U--, U |= U >>> 1, U |= U >>> 2, U |= U >>> 4, U |= U >>> 8, U |= U >>> 16, U++), U;
|
@@ -108690,12 +108690,12 @@ Use Chrome, Firefox or Internet Explorer 11`);
|
|
108690
108690
|
i("events").EventEmitter;
|
108691
108691
|
var De = function(U, C) {
|
108692
108692
|
return U.listeners(C).length;
|
108693
|
-
},
|
108694
|
-
},
|
108695
|
-
ne =
|
108693
|
+
}, Ie = i("./internal/streams/stream"), ce = i("buffer").Buffer, pe = l.Uint8Array || function() {
|
108694
|
+
}, Me = i("util");
|
108695
|
+
ne = Me && Me.debuglog ? Me.debuglog("stream") : function() {
|
108696
108696
|
};
|
108697
|
-
var
|
108698
|
-
i("inherits")(f,
|
108697
|
+
var ge, J, Ae, xe = i("./internal/streams/buffer_list"), Ge = i("./internal/streams/destroy"), ve = i("./internal/streams/state"), Ce = ve.getHighWaterMark, je = i("../errors").codes, Ne = je.ERR_INVALID_ARG_TYPE, ye = je.ERR_STREAM_PUSH_AFTER_EOF, K = je.ERR_METHOD_NOT_IMPLEMENTED, ie = je.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;
|
108698
|
+
i("inherits")(f, Ie);
|
108699
108699
|
var re = Ge.errorOrDestroy, Be = ["error", "close", "destroy", "pause", "resume"];
|
108700
108700
|
Object.defineProperty(f.prototype, "destroyed", { enumerable: !1, get: function() {
|
108701
108701
|
return this._readableState !== void 0 && this._readableState.destroyed;
|
@@ -108711,8 +108711,8 @@ Use Chrome, Firefox or Internet Explorer 11`);
|
|
108711
108711
|
}, f.prototype.isPaused = function() {
|
108712
108712
|
return this._readableState.flowing === !1;
|
108713
108713
|
}, f.prototype.setEncoding = function(U) {
|
108714
|
-
|
108715
|
-
var C = new
|
108714
|
+
ge || (ge = i("string_decoder/").StringDecoder);
|
108715
|
+
var C = new ge(U);
|
108716
108716
|
this._readableState.decoder = C, this._readableState.encoding = this._readableState.decoder.encoding;
|
108717
108717
|
for (var I = this._readableState.buffer.head, H = ""; I !== null; ) H += C.write(I.data), I = I.next;
|
108718
108718
|
return this._readableState.buffer.clear(), H !== "" && this._readableState.buffer.push(H), this._readableState.length = H.length, this;
|
@@ -108785,13 +108785,13 @@ Use Chrome, Firefox or Internet Explorer 11`);
|
|
108785
108785
|
var he = Q(C.pipes, U);
|
108786
108786
|
return he === -1 ? this : (C.pipes.splice(he, 1), C.pipesCount -= 1, C.pipesCount === 1 && (C.pipes = C.pipes[0]), U.emit("unpipe", this, I), this);
|
108787
108787
|
}, f.prototype.on = function(U, C) {
|
108788
|
-
var I =
|
108788
|
+
var I = Ie.prototype.on.call(this, U, C), H = this._readableState;
|
108789
108789
|
return U === "data" ? (H.readableListening = 0 < this.listenerCount("readable"), H.flowing !== !1 && this.resume()) : U == "readable" && !H.endEmitted && !H.readableListening && (H.readableListening = H.needReadable = !0, H.flowing = !1, H.emittedReadable = !1, ne("on readable", H.length, H.reading), H.length ? w(this) : !H.reading && s.nextTick(R, this)), I;
|
108790
108790
|
}, f.prototype.addListener = f.prototype.on, f.prototype.removeListener = function(U, C) {
|
108791
|
-
var I =
|
108791
|
+
var I = Ie.prototype.removeListener.call(this, U, C);
|
108792
108792
|
return U === "readable" && s.nextTick(N, this), I;
|
108793
108793
|
}, f.prototype.removeAllListeners = function(U) {
|
108794
|
-
var C =
|
108794
|
+
var C = Ie.prototype.removeAllListeners.apply(this, arguments);
|
108795
108795
|
return (U === "readable" || U === void 0) && s.nextTick(N, this), C;
|
108796
108796
|
}, f.prototype.resume = function() {
|
108797
108797
|
var U = this._readableState;
|
@@ -108912,12 +108912,12 @@ Use Chrome, Firefox or Internet Explorer 11`);
|
|
108912
108912
|
return ie || ye.call(p, this) ? (this._writableState = new f(K, this, ie), this.writable = !0, K && (typeof K.write == "function" && (this._write = K.write), typeof K.writev == "function" && (this._writev = K.writev), typeof K.destroy == "function" && (this._destroy = K.destroy), typeof K.final == "function" && (this._final = K.final)), void se.call(this)) : new p(K);
|
108913
108913
|
}
|
108914
108914
|
function y(K, ie) {
|
108915
|
-
var re = new
|
108916
|
-
|
108915
|
+
var re = new Ce();
|
108916
|
+
Ne(K, re), s.nextTick(ie, re);
|
108917
108917
|
}
|
108918
108918
|
function k(K, ie, re, Be) {
|
108919
108919
|
var U;
|
108920
|
-
return re === null ? U = new ve() : typeof re != "string" && !ie.objectMode && (U = new
|
108920
|
+
return re === null ? U = new ve() : typeof re != "string" && !ie.objectMode && (U = new ge("chunk", ["string", "Buffer"], re)), !U || (Ne(K, U), s.nextTick(Be, U), !1);
|
108921
108921
|
}
|
108922
108922
|
function v(K, ie, re) {
|
108923
108923
|
return K.objectMode || K.decodeStrings === !1 || typeof ie != "string" || (ie = ne.from(ie, re)), ie;
|
@@ -108940,7 +108940,7 @@ Use Chrome, Firefox or Internet Explorer 11`);
|
|
108940
108940
|
ie.writelen = Be, ie.writecb = I, ie.writing = !0, ie.sync = !0, ie.destroyed ? ie.onwrite(new Ge("write")) : re ? K._writev(U, ie.onwrite) : K._write(U, C, ie.onwrite), ie.sync = !1;
|
108941
108941
|
}
|
108942
108942
|
function w(K, ie, re, Be, U) {
|
108943
|
-
--ie.pendingcb, re ? (s.nextTick(U, Be), s.nextTick(G, K, ie), K._writableState.errorEmitted = !0,
|
108943
|
+
--ie.pendingcb, re ? (s.nextTick(U, Be), s.nextTick(G, K, ie), K._writableState.errorEmitted = !0, Ne(K, Be)) : (U(Be), K._writableState.errorEmitted = !0, Ne(K, Be), G(K, ie));
|
108944
108944
|
}
|
108945
108945
|
function M(K) {
|
108946
108946
|
K.writing = !1, K.writecb = null, K.length -= K.writelen, K.writelen = 0;
|
@@ -108982,7 +108982,7 @@ Use Chrome, Firefox or Internet Explorer 11`);
|
|
108982
108982
|
}
|
108983
108983
|
function O(K, ie) {
|
108984
108984
|
K._final(function(re) {
|
108985
|
-
ie.pendingcb--, re &&
|
108985
|
+
ie.pendingcb--, re && Ne(K, re), ie.prefinished = !0, K.emit("prefinish"), G(K, ie);
|
108986
108986
|
});
|
108987
108987
|
}
|
108988
108988
|
function V(K, ie) {
|
@@ -109011,7 +109011,7 @@ Use Chrome, Firefox or Internet Explorer 11`);
|
|
109011
109011
|
var Y;
|
109012
109012
|
p.WritableState = f;
|
109013
109013
|
var Q = { deprecate: i("util-deprecate") }, se = i("./internal/streams/stream"), ne = i("buffer").Buffer, De = l.Uint8Array || function() {
|
109014
|
-
},
|
109014
|
+
}, Ie = i("./internal/streams/destroy"), ce = i("./internal/streams/state"), pe = ce.getHighWaterMark, Me = i("../errors").codes, ge = Me.ERR_INVALID_ARG_TYPE, J = Me.ERR_METHOD_NOT_IMPLEMENTED, Ae = Me.ERR_MULTIPLE_CALLBACK, xe = Me.ERR_STREAM_CANNOT_PIPE, Ge = Me.ERR_STREAM_DESTROYED, ve = Me.ERR_STREAM_NULL_VALUES, Ce = Me.ERR_STREAM_WRITE_AFTER_END, je = Me.ERR_UNKNOWN_ENCODING, Ne = Ie.errorOrDestroy;
|
109015
109015
|
i("inherits")(p, se), f.prototype.getBuffer = function() {
|
109016
109016
|
for (var K = this.bufferedRequest, ie = []; K; ) ie.push(K), K = K.next;
|
109017
109017
|
return ie;
|
@@ -109029,7 +109029,7 @@ Use Chrome, Firefox or Internet Explorer 11`);
|
|
109029
109029
|
} })) : ye = function(K) {
|
109030
109030
|
return K instanceof this;
|
109031
109031
|
}, p.prototype.pipe = function() {
|
109032
|
-
|
109032
|
+
Ne(this, new xe());
|
109033
109033
|
}, p.prototype.write = function(K, ie, re) {
|
109034
109034
|
var Be = this._writableState, U = !1, C = !Be.objectMode && d(K);
|
109035
109035
|
return C && !ne.isBuffer(K) && (K = u(K)), typeof ie == "function" && (re = ie, ie = null), C ? ie = "buffer" : !ie && (ie = Be.defaultEncoding), typeof re != "function" && (re = h), Be.ending ? y(this, re) : (C || k(this, Be, K, re)) && (Be.pendingcb++, U = x(this, Be, C, K, ie, re)), U;
|
@@ -109056,7 +109056,7 @@ Use Chrome, Firefox or Internet Explorer 11`);
|
|
109056
109056
|
return this._writableState !== void 0 && this._writableState.destroyed;
|
109057
109057
|
}, set: function(K) {
|
109058
109058
|
this._writableState && (this._writableState.destroyed = K);
|
109059
|
-
} }), p.prototype.destroy =
|
109059
|
+
} }), p.prototype.destroy = Ie.destroy, p.prototype._undestroy = Ie.undestroy, p.prototype._destroy = function(K, ie) {
|
109060
109060
|
ie(K);
|
109061
109061
|
};
|
109062
109062
|
}).call(this);
|
@@ -116511,7 +116511,7 @@ var A$ = "PopperAnchor", S$ = S.forwardRef(
|
|
116511
116511
|
S$.displayName = A$;
|
116512
116512
|
var gE = "PopperContent", [d8t, h8t] = w$(gE), L$ = S.forwardRef(
|
116513
116513
|
(t, e) => {
|
116514
|
-
var Ae, xe, Ge, ve,
|
116514
|
+
var Ae, xe, Ge, ve, Ce, je;
|
116515
116515
|
const {
|
116516
116516
|
__scopePopper: n,
|
116517
116517
|
side: r = "bottom",
|
@@ -116527,7 +116527,7 @@ var gE = "PopperContent", [d8t, h8t] = w$(gE), L$ = S.forwardRef(
|
|
116527
116527
|
updatePositionStrategy: f = "optimized",
|
116528
116528
|
onPlaced: p,
|
116529
116529
|
...y
|
116530
|
-
} = t, k = M$(gE, n), [v, x] = S.useState(null), b = oc(e, (
|
116530
|
+
} = t, k = M$(gE, n), [v, x] = S.useState(null), b = oc(e, (Ne) => x(Ne)), [w, M] = S.useState(null), A = c8t(w), E = (A == null ? void 0 : A.width) ?? 0, L = (A == null ? void 0 : A.height) ?? 0, N = r + (i !== "center" ? "-" + i : ""), R = typeof u == "number" ? u : { top: 0, right: 0, bottom: 0, left: 0, ...u }, O = Array.isArray(c) ? c : [c], V = O.length > 0, G = {
|
116531
116531
|
padding: R,
|
116532
116532
|
boundary: O.filter(p8t),
|
116533
116533
|
// with `strategy: 'fixed'`, this is the only way to get it to respect boundaries
|
@@ -116536,7 +116536,7 @@ var gE = "PopperContent", [d8t, h8t] = w$(gE), L$ = S.forwardRef(
|
|
116536
116536
|
// default to `fixed` strategy so users don't have to pick and we also avoid focus scroll issues
|
116537
116537
|
strategy: "fixed",
|
116538
116538
|
placement: N,
|
116539
|
-
whileElementsMounted: (...
|
116539
|
+
whileElementsMounted: (...Ne) => Ukt(...Ne, {
|
116540
116540
|
animationFrame: f === "always"
|
116541
116541
|
}),
|
116542
116542
|
elements: {
|
@@ -116553,8 +116553,8 @@ var gE = "PopperContent", [d8t, h8t] = w$(gE), L$ = S.forwardRef(
|
|
116553
116553
|
l && r8t({ ...G }),
|
116554
116554
|
a8t({
|
116555
116555
|
...G,
|
116556
|
-
apply: ({ elements:
|
116557
|
-
const { width: re, height: Be } = ye.reference, U =
|
116556
|
+
apply: ({ elements: Ne, rects: ye, availableWidth: K, availableHeight: ie }) => {
|
116557
|
+
const { width: re, height: Be } = ye.reference, U = Ne.floating.style;
|
116558
116558
|
U.setProperty("--radix-popper-available-width", `${K}px`), U.setProperty("--radix-popper-available-height", `${ie}px`), U.setProperty("--radix-popper-anchor-width", `${re}px`), U.setProperty("--radix-popper-anchor-height", `${Be}px`);
|
116559
116559
|
}
|
116560
116560
|
}),
|
@@ -116562,11 +116562,11 @@ var gE = "PopperContent", [d8t, h8t] = w$(gE), L$ = S.forwardRef(
|
|
116562
116562
|
y8t({ arrowWidth: E, arrowHeight: L }),
|
116563
116563
|
h && i8t({ strategy: "referenceHidden", ...G })
|
116564
116564
|
]
|
116565
|
-
}), [ne, De] = j$(Y),
|
116565
|
+
}), [ne, De] = j$(Y), Ie = P0(p);
|
116566
116566
|
$h(() => {
|
116567
|
-
Q && (
|
116568
|
-
}, [Q,
|
116569
|
-
const ce = (Ae = se.arrow) == null ? void 0 : Ae.x, pe = (xe = se.arrow) == null ? void 0 : xe.y,
|
116567
|
+
Q && (Ie == null || Ie());
|
116568
|
+
}, [Q, Ie]);
|
116569
|
+
const ce = (Ae = se.arrow) == null ? void 0 : Ae.x, pe = (xe = se.arrow) == null ? void 0 : xe.y, Me = ((Ge = se.arrow) == null ? void 0 : Ge.centerOffset) !== 0, [ge, J] = S.useState();
|
116570
116570
|
return $h(() => {
|
116571
116571
|
v && J(window.getComputedStyle(v).zIndex);
|
116572
116572
|
}, [v]), /* @__PURE__ */ F.jsx(
|
@@ -116579,10 +116579,10 @@ var gE = "PopperContent", [d8t, h8t] = w$(gE), L$ = S.forwardRef(
|
|
116579
116579
|
transform: Q ? _.transform : "translate(0, -200%)",
|
116580
116580
|
// keep off the page when measuring
|
116581
116581
|
minWidth: "max-content",
|
116582
|
-
zIndex:
|
116582
|
+
zIndex: ge,
|
116583
116583
|
"--radix-popper-transform-origin": [
|
116584
116584
|
(ve = se.transformOrigin) == null ? void 0 : ve.x,
|
116585
|
-
(
|
116585
|
+
(Ce = se.transformOrigin) == null ? void 0 : Ce.y
|
116586
116586
|
].join(" "),
|
116587
116587
|
// hide the content if using the hide middleware and should be hidden
|
116588
116588
|
// set visibility to hidden and disable pointer events so the UI behaves
|
@@ -116601,7 +116601,7 @@ var gE = "PopperContent", [d8t, h8t] = w$(gE), L$ = S.forwardRef(
|
|
116601
116601
|
onArrowChange: M,
|
116602
116602
|
arrowX: ce,
|
116603
116603
|
arrowY: pe,
|
116604
|
-
shouldHideArrow:
|
116604
|
+
shouldHideArrow: Me,
|
116605
116605
|
children: /* @__PURE__ */ F.jsx(
|
116606
116606
|
sc.div,
|
116607
116607
|
{
|
@@ -117561,7 +117561,7 @@ const H3 = ({
|
|
117561
117561
|
label: "Breathe!",
|
117562
117562
|
icon: "🧘♂️",
|
117563
117563
|
onClick: () => t(
|
117564
|
-
`<h1 style="text-align: center">Take your time</h1><p style="text-align: center">Just breathe</p><img src="https://i.imgur.com/Huou7Gh.gif"/><h3 style="text-align: center">Follow the breathing triangle, do it 5 times</h3><p style="text-align: center">When you are overwhelmed at work… or after handling a tough situation... when the market plumets.. when everything goes wrong.. or you're having a simple writer's block</p>`
|
117564
|
+
`<h1 style="text-align: center">Take your time</h1><p style="text-align: center">Just breathe</p><img width="644px" src="https://i.imgur.com/Huou7Gh.gif"/><h3 style="text-align: center">Follow the breathing triangle, do it 5 times</h3><p style="text-align: center">When you are overwhelmed at work… or after handling a tough situation... when the market plumets.. when everything goes wrong.. or you're having a simple writer's block</p>`
|
117565
117565
|
)
|
117566
117566
|
}
|
117567
117567
|
], C7t = (t) => [
|
@@ -117585,9 +117585,9 @@ const H3 = ({
|
|
117585
117585
|
{
|
117586
117586
|
label: "Pretend to work",
|
117587
117587
|
icon: "🏄🏻♂️",
|
117588
|
-
onClick: () => t(`<h1><span style="font-family: Georgia, serif">Some ways to use ZK-SNARKs for privacy</span></h1><p>ZK-SNARKs are a powerful cryptographic tool, and an increasingly important part of the applications that people are building both in the blockchain space and beyond. But they are complicated, both in terms of <em>how they work</em>, and in terms of <em>how you can use them</em>.</p><h2>What does a ZK-SNARK do?</h2><p>Suppose that you have a public input x, a private input w, and a (public) function <span style="font-family: MJXc-TeX-math-Iw">f(x,w)→{True,False}</span> that performs some kind of verification on the inputs. With a ZK-SNARK, you can prove that you know an w such that <span style="font-family: MJXc-TeX-math-Iw">f(x,w)=True</span> for some given <span style="font-family: MJXc-TeX-math-Iw">f</span> and <span style="font-family: MJXc-TeX-math-Iw">x</span>, without revealing what <span style="font-family: MJXc-TeX-math-Iw">w</span> is. Additionally, the verifier can verify the proof much faster than it would take for them to compute <span style="font-family: MJXc-TeX-math-Iw">f(x,w)</span> themselves, even if they know <span style="font-family: MJXc-TeX-math-Iw">w</span>.</p><img src="https://vitalik.eth.limo/images/using_snarks/definition.png"/><p>This gives the ZK-SNARK its two properties: <strong>privacy</strong> and <strong>scalability</strong>. As mentioned above, in this post our examples will focus on privacy.</p><h2>Holding centralized parties accountable</h2><p>Sometimes, you need to build a scheme that has a central "operator" of some kind. This could be for many reasons: sometimes it's for scalability, and sometimes it's for privacy - specifically, the privacy of data held by the operator.</p><p>The <a src="https://github.com/privacy-scaling-explorations/maci" target="_blank">MACI</a> coercion-resistant voting system, for example, requires voters to submit their votes on-chain encrypted to a secret key held by a central operator. The operator would decrypt all the votes on-chain, count them up, and reveal the final result, along with a ZK-SNARK proving that they did everything correctly. This extra complexity is necessary to ensure a strong privacy property (called <strong>coercion-resistance</strong>): that users cannot prove to others how they voted even if they wanted to.</p><p>Thanks to blockchains and ZK-SNARKs, the amount of trust in the operator can be kept very low. A malicious operator could still break coercion resistance, but because votes are published on the blockchain, the operator cannot cheat by censoring votes, and because the operator must provide a ZK-SNARK, they cannot cheat by mis-calculating the result.</p><h2>Combining ZK-SNARKs with MPC</h2><p>A more advanced use of ZK-SNARKs involves making proofs over computations where the inputs are split between two or more parties, and we don't want each party to learn the other parties' inputs. You can satisfy the privacy requirement with <a href="https://vitalik.eth.limo/general/2020/03/21/garbled.html" target="_blank">garbled circuits</a> in the 2-party case, and more complicated multi-party computation protocols in the N-party case. ZK-SNARKs can be combined with these protocols to do verifiable multi-party computation.</p><p>This could enable more advanced reputation systems where multiple participants can perform joint computations over their private inputs, it could enable privacy-preserving but authenticated data markets, and many other applications. That said, note that the math for doing this efficiently is still relatively in its infancy.</p><blockquote>Read the full article by <a href="https://vitalik.eth.limo/general/2021/01/26/snarks.html" target="_blank">Vitalik Buterin</a></blockquote>`)
|
117588
|
+
onClick: () => t(`<h1><span style="font-family: Georgia, serif">Some ways to use ZK-SNARKs for privacy</span></h1><p>ZK-SNARKs are a powerful cryptographic tool, and an increasingly important part of the applications that people are building both in the blockchain space and beyond. But they are complicated, both in terms of <em>how they work</em>, and in terms of <em>how you can use them</em>.</p><h2>What does a ZK-SNARK do?</h2><p>Suppose that you have a public input x, a private input w, and a (public) function <span style="font-family: MJXc-TeX-math-Iw">f(x,w)→{True,False}</span> that performs some kind of verification on the inputs. With a ZK-SNARK, you can prove that you know an w such that <span style="font-family: MJXc-TeX-math-Iw">f(x,w)=True</span> for some given <span style="font-family: MJXc-TeX-math-Iw">f</span> and <span style="font-family: MJXc-TeX-math-Iw">x</span>, without revealing what <span style="font-family: MJXc-TeX-math-Iw">w</span> is. Additionally, the verifier can verify the proof much faster than it would take for them to compute <span style="font-family: MJXc-TeX-math-Iw">f(x,w)</span> themselves, even if they know <span style="font-family: MJXc-TeX-math-Iw">w</span>.</p><img width="644px" src="https://vitalik.eth.limo/images/using_snarks/definition.png"/><p>This gives the ZK-SNARK its two properties: <strong>privacy</strong> and <strong>scalability</strong>. As mentioned above, in this post our examples will focus on privacy.</p><h2>Holding centralized parties accountable</h2><p>Sometimes, you need to build a scheme that has a central "operator" of some kind. This could be for many reasons: sometimes it's for scalability, and sometimes it's for privacy - specifically, the privacy of data held by the operator.</p><p>The <a src="https://github.com/privacy-scaling-explorations/maci" target="_blank">MACI</a> coercion-resistant voting system, for example, requires voters to submit their votes on-chain encrypted to a secret key held by a central operator. The operator would decrypt all the votes on-chain, count them up, and reveal the final result, along with a ZK-SNARK proving that they did everything correctly. This extra complexity is necessary to ensure a strong privacy property (called <strong>coercion-resistance</strong>): that users cannot prove to others how they voted even if they wanted to.</p><p>Thanks to blockchains and ZK-SNARKs, the amount of trust in the operator can be kept very low. A malicious operator could still break coercion resistance, but because votes are published on the blockchain, the operator cannot cheat by censoring votes, and because the operator must provide a ZK-SNARK, they cannot cheat by mis-calculating the result.</p><h2>Combining ZK-SNARKs with MPC</h2><p>A more advanced use of ZK-SNARKs involves making proofs over computations where the inputs are split between two or more parties, and we don't want each party to learn the other parties' inputs. You can satisfy the privacy requirement with <a href="https://vitalik.eth.limo/general/2020/03/21/garbled.html" target="_blank">garbled circuits</a> in the 2-party case, and more complicated multi-party computation protocols in the N-party case. ZK-SNARKs can be combined with these protocols to do verifiable multi-party computation.</p><p>This could enable more advanced reputation systems where multiple participants can perform joint computations over their private inputs, it could enable privacy-preserving but authenticated data markets, and many other applications. That said, note that the math for doing this efficiently is still relatively in its infancy.</p><blockquote>Read the full article by <a href="https://vitalik.eth.limo/general/2021/01/26/snarks.html" target="_blank">Vitalik Buterin</a></blockquote>`)
|
117589
117589
|
}
|
117590
|
-
], A7t = (t, e, n, r) => /* @__PURE__ */ F.jsxs(W_, { className: "template-buttons space-x-0 gap-2 absolute top-
|
117590
|
+
], A7t = (t, e, n, r) => /* @__PURE__ */ F.jsxs(W_, { className: "template-buttons space-x-0 gap-2 absolute top-8 left-0 md:!left-[unset] md:-translate-x-[60%] md:-translate-y-1 md:!right-0 md:!top-0 z-50", children: [
|
117591
117591
|
t.map((a, i) => /* @__PURE__ */ F.jsxs(
|
117592
117592
|
Wr,
|
117593
117593
|
{
|
@@ -117614,13 +117614,13 @@ const H3 = ({
|
|
117614
117614
|
children: /* @__PURE__ */ F.jsx(Vt, { name: "Ellipsis", className: "color-text-default" })
|
117615
117615
|
}
|
117616
117616
|
),
|
117617
|
-
content: /* @__PURE__ */ F.jsxs("div", { className: "flex flex-col gap-
|
117618
|
-
/* @__PURE__ */ F.jsx("div", { className: "max-h-44 overflow-auto gap-
|
117617
|
+
content: /* @__PURE__ */ F.jsxs("div", { className: "flex flex-col gap-1 p-2 w-[12rem]", children: [
|
117618
|
+
/* @__PURE__ */ F.jsx("div", { className: "max-h-44 overflow-auto gap-1 flex flex-col", children: e.slice(0, n).map((a, i) => /* @__PURE__ */ F.jsxs(
|
117619
117619
|
Wr,
|
117620
117620
|
{
|
117621
117621
|
onClick: a.onClick,
|
117622
117622
|
variant: "ghost",
|
117623
|
-
className: "justify-start gap-2 text-body-sm color-text-default min-w-fit px-2",
|
117623
|
+
className: "justify-start gap-2 text-body-sm color-text-default min-w-fit px-2 rounded-lg",
|
117624
117624
|
children: [
|
117625
117625
|
YP(a.icon),
|
117626
117626
|
/* @__PURE__ */ F.jsx("span", { children: a.label })
|
@@ -117628,12 +117628,12 @@ const H3 = ({
|
|
117628
117628
|
},
|
117629
117629
|
i
|
117630
117630
|
)) }),
|
117631
|
-
/* @__PURE__ */ F.jsx(G8, { className: "w-full" }),
|
117631
|
+
/* @__PURE__ */ F.jsx(G8, { className: "w-full !border-t-[1px]" }),
|
117632
117632
|
/* @__PURE__ */ F.jsxs(
|
117633
117633
|
Wr,
|
117634
117634
|
{
|
117635
117635
|
variant: "ghost",
|
117636
|
-
className: "justify-start gap-2 text-body-sm color-text-default min-w-fit px-2",
|
117636
|
+
className: "justify-start gap-2 text-body-sm color-text-default min-w-fit px-2 rounded-lg",
|
117637
117637
|
onClick: r,
|
117638
117638
|
children: [
|
117639
117639
|
/* @__PURE__ */ F.jsx(Vt, { name: "LayoutTemplate" }),
|
@@ -117671,10 +117671,10 @@ const H3 = ({
|
|
117671
117671
|
}
|
117672
117672
|
);
|
117673
117673
|
}, [t.content]), f = () => {
|
117674
|
-
var Q, se, ne, De,
|
117674
|
+
var Q, se, ne, De, Ie;
|
117675
117675
|
if (u)
|
117676
117676
|
try {
|
117677
|
-
const { content: ce } = t.content, pe = (
|
117677
|
+
const { content: ce } = t.content, pe = (Ie = (De = (ne = (se = (Q = ce[0]) == null ? void 0 : Q.content) == null ? void 0 : se.content[0]) == null ? void 0 : ne.marks[0]) == null ? void 0 : De.attrs) == null ? void 0 : Ie.href;
|
117678
117678
|
if (!pe)
|
117679
117679
|
return;
|
117680
117680
|
if (pe && /\.(jpeg|jpg|gif|png)$/i.test(pe)) {
|
@@ -117685,15 +117685,15 @@ const H3 = ({
|
|
117685
117685
|
p("iframe", d);
|
117686
117686
|
return;
|
117687
117687
|
}
|
117688
|
-
const
|
117689
|
-
if (
|
117690
|
-
const J = `https://www.youtube.com/embed/${
|
117688
|
+
const Me = u.match(/youtu\.?be(?:\.com)?\/(?:.*v(?:\/|=)|(?:.*\/)?)([a-zA-Z0-9-_]+)/) || pe.match(/youtu\.?be(?:\.com)?\/(?:.*v(?:\/|=)|(?:.*\/)?)([a-zA-Z0-9-_]+)/);
|
117689
|
+
if (Me) {
|
117690
|
+
const J = `https://www.youtube.com/embed/${Me[1]}`;
|
117691
117691
|
p("iframe", J);
|
117692
117692
|
return;
|
117693
117693
|
}
|
117694
|
-
const
|
117695
|
-
if (
|
117696
|
-
const J = `https://player.vimeo.com/video/${
|
117694
|
+
const ge = u.match(/vimeo\.com\/([a-zA-Z0-9-_]+)/);
|
117695
|
+
if (ge) {
|
117696
|
+
const J = `https://player.vimeo.com/video/${ge[1]}`;
|
117697
117697
|
p("iframe", J);
|
117698
117698
|
return;
|
117699
117699
|
}
|
@@ -117713,8 +117713,8 @@ const H3 = ({
|
|
117713
117713
|
let Q = u;
|
117714
117714
|
const se = l.some((ce) => u.includes(ce)), ne = y(u);
|
117715
117715
|
se && ne ? Q = ne : h && (Q = y(h.text));
|
117716
|
-
const De = e(),
|
117717
|
-
Q && (n == null || n.chain().focus(De).deleteRange({ from: De === 2 ? De : De + 1, to:
|
117716
|
+
const De = e(), Ie = De + t.nodeSize;
|
117717
|
+
Q && (n == null || n.chain().focus(De).deleteRange({ from: De === 2 ? De : De + 1, to: Ie }).setTweetEmbed({ tweetId: Q }).run());
|
117718
117718
|
}, v = () => {
|
117719
117719
|
const Q = e() + t.nodeSize;
|
117720
117720
|
n.commands.insertContentAt(Q, {
|
@@ -117758,9 +117758,9 @@ const H3 = ({
|
|
117758
117758
|
u && N();
|
117759
117759
|
}, [u]);
|
117760
117760
|
const R = kn(() => {
|
117761
|
-
var
|
117762
|
-
const { doc: Q } = n.state,
|
117763
|
-
return Q.textContent === "" &&
|
117761
|
+
var pe, Me, ge, J;
|
117762
|
+
const { doc: Q, selection: se } = n.state, ne = e(), De = Q.nodeAt(ne) === Q.firstChild, Ie = ((pe = Q.nodeAt(ne)) == null ? void 0 : pe.type.name) === "dBlock" && ((ge = (Me = Q.nodeAt(ne)) == null ? void 0 : Me.content.firstChild) == null ? void 0 : ge.type.name) === "paragraph", ce = se.$anchor.pos >= ne && se.$anchor.pos <= ne + (((J = Q.nodeAt(ne)) == null ? void 0 : J.nodeSize) || 0);
|
117763
|
+
return Q.textContent === "" && De && Ie && ce;
|
117764
117764
|
}, [e, n.state]), O = (Q) => {
|
117765
117765
|
const se = e() + t.nodeSize;
|
117766
117766
|
n.commands.insertContentAt(se - 4, Q);
|
@@ -125368,11 +125368,11 @@ function QX() {
|
|
125368
125368
|
} = Zz;
|
125369
125369
|
let {
|
125370
125370
|
IS_ALLOWED_URI: De
|
125371
|
-
} = Zz,
|
125371
|
+
} = Zz, Ie = null;
|
125372
125372
|
const ce = $t({}, [...Vz, ...Wv, ...Qv, ...Yv, ..._z]);
|
125373
125373
|
let pe = null;
|
125374
|
-
const
|
125375
|
-
let
|
125374
|
+
const Me = $t({}, [...qz, ...Jv, ...Uz, ...W3]);
|
125375
|
+
let ge = Object.seal(ZX(null, {
|
125376
125376
|
tagNameCheck: {
|
125377
125377
|
writable: !0,
|
125378
125378
|
configurable: !1,
|
@@ -125391,7 +125391,7 @@ function QX() {
|
|
125391
125391
|
enumerable: !0,
|
125392
125392
|
value: !1
|
125393
125393
|
}
|
125394
|
-
})), J = null, Ae = null, xe = !0, Ge = !0, ve = !1,
|
125394
|
+
})), J = null, Ae = null, xe = !0, Ge = !0, ve = !1, Ce = !0, je = !1, Ne = !0, ye = !1, K = !1, ie = !1, re = !1, Be = !1, U = !1, C = !0, I = !1;
|
125395
125395
|
const H = "user-content-";
|
125396
125396
|
let ee = !0, ue = !1, he = {}, Fe = null;
|
125397
125397
|
const qe = $t({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
|
@@ -125410,7 +125410,7 @@ function QX() {
|
|
125410
125410
|
let te = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
125411
125411
|
if (!(nn && nn === te)) {
|
125412
125412
|
if ((!te || typeof te != "object") && (te = {}), te = Ac(te), bt = // eslint-disable-next-line unicorn/prefer-includes
|
125413
|
-
It.indexOf(te.PARSER_MEDIA_TYPE) === -1 ? Kt : te.PARSER_MEDIA_TYPE, Ht = bt === "application/xhtml+xml" ? Gv : Gg,
|
125413
|
+
It.indexOf(te.PARSER_MEDIA_TYPE) === -1 ? Kt : te.PARSER_MEDIA_TYPE, Ht = bt === "application/xhtml+xml" ? Gv : Gg, Ie = po(te, "ALLOWED_TAGS") ? $t({}, te.ALLOWED_TAGS, Ht) : ce, pe = po(te, "ALLOWED_ATTR") ? $t({}, te.ALLOWED_ATTR, Ht) : Me, lt = po(te, "ALLOWED_NAMESPACES") ? $t({}, te.ALLOWED_NAMESPACES, Gv) : $e, yt = po(te, "ADD_URI_SAFE_ATTR") ? $t(
|
125414
125414
|
Ac(Ut),
|
125415
125415
|
// eslint-disable-line indent
|
125416
125416
|
te.ADD_URI_SAFE_ATTR,
|
@@ -125424,7 +125424,7 @@ function QX() {
|
|
125424
125424
|
// eslint-disable-line indent
|
125425
125425
|
Ht
|
125426
125426
|
// eslint-disable-line indent
|
125427
|
-
) : st, Fe = po(te, "FORBID_CONTENTS") ? $t({}, te.FORBID_CONTENTS, Ht) : qe, J = po(te, "FORBID_TAGS") ? $t({}, te.FORBID_TAGS, Ht) : {}, Ae = po(te, "FORBID_ATTR") ? $t({}, te.FORBID_ATTR, Ht) : {}, he = po(te, "USE_PROFILES") ? te.USE_PROFILES : !1, xe = te.ALLOW_ARIA_ATTR !== !1, Ge = te.ALLOW_DATA_ATTR !== !1, ve = te.ALLOW_UNKNOWN_PROTOCOLS || !1,
|
125427
|
+
) : st, Fe = po(te, "FORBID_CONTENTS") ? $t({}, te.FORBID_CONTENTS, Ht) : qe, J = po(te, "FORBID_TAGS") ? $t({}, te.FORBID_TAGS, Ht) : {}, Ae = po(te, "FORBID_ATTR") ? $t({}, te.FORBID_ATTR, Ht) : {}, he = po(te, "USE_PROFILES") ? te.USE_PROFILES : !1, xe = te.ALLOW_ARIA_ATTR !== !1, Ge = te.ALLOW_DATA_ATTR !== !1, ve = te.ALLOW_UNKNOWN_PROTOCOLS || !1, Ce = te.ALLOW_SELF_CLOSE_IN_ATTR !== !1, je = te.SAFE_FOR_TEMPLATES || !1, Ne = te.SAFE_FOR_XML !== !1, ye = te.WHOLE_DOCUMENT || !1, re = te.RETURN_DOM || !1, Be = te.RETURN_DOM_FRAGMENT || !1, U = te.RETURN_TRUSTED_TYPE || !1, ie = te.FORCE_BODY || !1, C = te.SANITIZE_DOM !== !1, I = te.SANITIZE_NAMED_PROPS || !1, ee = te.KEEP_CONTENT !== !1, ue = te.IN_PLACE || !1, De = te.ALLOWED_URI_REGEXP || GX, Ee = te.NAMESPACE || be, ge = te.CUSTOM_ELEMENT_HANDLING || {}, te.CUSTOM_ELEMENT_HANDLING && vr(te.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (ge.tagNameCheck = te.CUSTOM_ELEMENT_HANDLING.tagNameCheck), te.CUSTOM_ELEMENT_HANDLING && vr(te.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (ge.attributeNameCheck = te.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), te.CUSTOM_ELEMENT_HANDLING && typeof te.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (ge.allowCustomizedBuiltInElements = te.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), je && (Ge = !1), Be && (re = !0), he && (Ie = $t({}, _z), pe = [], he.html === !0 && ($t(Ie, Vz), $t(pe, qz)), he.svg === !0 && ($t(Ie, Wv), $t(pe, Jv), $t(pe, W3)), he.svgFilters === !0 && ($t(Ie, Qv), $t(pe, Jv), $t(pe, W3)), he.mathMl === !0 && ($t(Ie, Yv), $t(pe, Uz), $t(pe, W3))), te.ADD_TAGS && (Ie === ce && (Ie = Ac(Ie)), $t(Ie, te.ADD_TAGS, Ht)), te.ADD_ATTR && (pe === Me && (pe = Ac(pe)), $t(pe, te.ADD_ATTR, Ht)), te.ADD_URI_SAFE_ATTR && $t(yt, te.ADD_URI_SAFE_ATTR, Ht), te.FORBID_CONTENTS && (Fe === qe && (Fe = Ac(Fe)), $t(Fe, te.FORBID_CONTENTS, Ht)), ee && (Ie["#text"] = !0), ye && $t(Ie, ["html", "head", "body"]), Ie.table && ($t(Ie, ["tbody"]), delete J.tbody), te.TRUSTED_TYPES_POLICY) {
|
125428
125428
|
if (typeof te.TRUSTED_TYPES_POLICY.createHTML != "function")
|
125429
125429
|
throw up('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
125430
125430
|
if (typeof te.TRUSTED_TYPES_POLICY.createScriptURL != "function")
|
@@ -125514,18 +125514,18 @@ function QX() {
|
|
125514
125514
|
O[te] && G3(O[te], (wt) => {
|
125515
125515
|
wt.call(e, Se, ze, nn);
|
125516
125516
|
});
|
125517
|
-
},
|
125517
|
+
}, ke = function(te) {
|
125518
125518
|
let Se = null;
|
125519
125519
|
if (ae("beforeSanitizeElements", te, null), A2(te))
|
125520
125520
|
return Xr(te), !0;
|
125521
125521
|
const ze = Ht(te.nodeName);
|
125522
125522
|
if (ae("uponSanitizeElement", te, {
|
125523
125523
|
tagName: ze,
|
125524
|
-
allowedTags:
|
125525
|
-
}), te.hasChildNodes() && !P(te.firstElementChild) && ga(/<[/\w]/g, te.innerHTML) && ga(/<[/\w]/g, te.textContent) || te.nodeType === hp.progressingInstruction ||
|
125524
|
+
allowedTags: Ie
|
125525
|
+
}), te.hasChildNodes() && !P(te.firstElementChild) && ga(/<[/\w]/g, te.innerHTML) && ga(/<[/\w]/g, te.textContent) || te.nodeType === hp.progressingInstruction || Ne && te.nodeType === hp.comment && ga(/<[/\w]/g, te.data))
|
125526
125526
|
return Xr(te), !0;
|
125527
|
-
if (!
|
125528
|
-
if (!J[ze] && ct(ze) && (
|
125527
|
+
if (!Ie[ze] || J[ze]) {
|
125528
|
+
if (!J[ze] && ct(ze) && (ge.tagNameCheck instanceof RegExp && ga(ge.tagNameCheck, ze) || ge.tagNameCheck instanceof Function && ge.tagNameCheck(ze)))
|
125529
125529
|
return !1;
|
125530
125530
|
if (ee && !Fe[ze]) {
|
125531
125531
|
const wt = b(te) || te.parentNode, hn = x(te) || te.childNodes;
|
@@ -125554,9 +125554,9 @@ function QX() {
|
|
125554
125554
|
// First condition does a very basic check if a) it's basically a valid custom element tagname AND
|
125555
125555
|
// b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
125556
125556
|
// and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
|
125557
|
-
!(ct(te) && (
|
125557
|
+
!(ct(te) && (ge.tagNameCheck instanceof RegExp && ga(ge.tagNameCheck, te) || ge.tagNameCheck instanceof Function && ge.tagNameCheck(te)) && (ge.attributeNameCheck instanceof RegExp && ga(ge.attributeNameCheck, Se) || ge.attributeNameCheck instanceof Function && ge.attributeNameCheck(Se)) || // Alternative, second condition checks if it's an `is`-attribute, AND
|
125558
125558
|
// the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
125559
|
-
Se === "is" &&
|
125559
|
+
Se === "is" && ge.allowCustomizedBuiltInElements && (ge.tagNameCheck instanceof RegExp && ga(ge.tagNameCheck, ze) || ge.tagNameCheck instanceof Function && ge.tagNameCheck(ze)))
|
125560
125560
|
) return !1;
|
125561
125561
|
} else if (!yt[Se]) {
|
125562
125562
|
if (!ga(De, cp(ze, se, ""))) {
|
@@ -125594,13 +125594,13 @@ function QX() {
|
|
125594
125594
|
value: Cr
|
125595
125595
|
} = hn, Ys = Ht(on);
|
125596
125596
|
let br = on === "value" ? Cr : LMt(Cr);
|
125597
|
-
if (ze.attrName = Ys, ze.attrValue = br, ze.keepAttr = !0, ze.forceKeepAttr = void 0, ae("uponSanitizeAttribute", te, ze), br = ze.attrValue,
|
125597
|
+
if (ze.attrName = Ys, ze.attrValue = br, ze.keepAttr = !0, ze.forceKeepAttr = void 0, ae("uponSanitizeAttribute", te, ze), br = ze.attrValue, Ne && ga(/((--!?|])>)|<\/(style|title)/i, br)) {
|
125598
125598
|
yl(on, te);
|
125599
125599
|
continue;
|
125600
125600
|
}
|
125601
125601
|
if (ze.forceKeepAttr || (yl(on, te), !ze.keepAttr))
|
125602
125602
|
continue;
|
125603
|
-
if (!
|
125603
|
+
if (!Ce && ga(/\/>/i, br)) {
|
125604
125604
|
yl(on, te);
|
125605
125605
|
continue;
|
125606
125606
|
}
|
@@ -125631,7 +125631,7 @@ function QX() {
|
|
125631
125631
|
let Se = null;
|
125632
125632
|
const ze = C2(te);
|
125633
125633
|
for (ae("beforeSanitizeShadowDOM", te, null); Se = ze.nextNode(); )
|
125634
|
-
ae("uponSanitizeShadowNode", Se, null), !
|
125634
|
+
ae("uponSanitizeShadowNode", Se, null), !ke(Se) && (Se.content instanceof i && Le(Se.content), ht(Se));
|
125635
125635
|
ae("afterSanitizeShadowDOM", te, null);
|
125636
125636
|
};
|
125637
125637
|
return e.sanitize = function(Le) {
|
@@ -125647,7 +125647,7 @@ function QX() {
|
|
125647
125647
|
if (K || rr(te), e.removed = [], typeof Le == "string" && (ue = !1), ue) {
|
125648
125648
|
if (Le.nodeName) {
|
125649
125649
|
const Cr = Ht(Le.nodeName);
|
125650
|
-
if (!
|
125650
|
+
if (!Ie[Cr] || J[Cr])
|
125651
125651
|
throw up("root node is forbidden and cannot be sanitized in-place");
|
125652
125652
|
}
|
125653
125653
|
} else if (Le instanceof s)
|
@@ -125662,7 +125662,7 @@ function QX() {
|
|
125662
125662
|
Se && ie && Xr(Se.firstChild);
|
125663
125663
|
const on = C2(ue ? Le : Se);
|
125664
125664
|
for (; wt = on.nextNode(); )
|
125665
|
-
|
125665
|
+
ke(wt) || (wt.content instanceof i && rt(wt.content), ht(wt));
|
125666
125666
|
if (ue)
|
125667
125667
|
return Le;
|
125668
125668
|
if (re) {
|
@@ -125674,7 +125674,7 @@ function QX() {
|
|
125674
125674
|
return (pe.shadowroot || pe.shadowrootmode) && (hn = R.call(r, hn, !0)), hn;
|
125675
125675
|
}
|
125676
125676
|
let Rt = ye ? Se.outerHTML : Se.innerHTML;
|
125677
|
-
return ye &&
|
125677
|
+
return ye && Ie["!doctype"] && Se.ownerDocument && Se.ownerDocument.doctype && Se.ownerDocument.doctype.name && ga(WX, Se.ownerDocument.doctype.name) && (Rt = "<!DOCTYPE " + Se.ownerDocument.doctype.name + `>
|
125678
125678
|
` + Rt), je && G3([V, G, Z], (Cr) => {
|
125679
125679
|
Rt = cp(Rt, Cr, " ");
|
125680
125680
|
}), w && U ? w.createHTML(Rt) : Rt;
|
@@ -132825,20 +132825,20 @@ var Mp = function(e, n, r) {
|
|
132825
132825
|
});
|
132826
132826
|
} else {
|
132827
132827
|
if (V.push(ib(u, f, i)), V.push(tg), l === null) {
|
132828
|
-
var
|
132829
|
-
V.push(ob(c,
|
132828
|
+
var Ie = N - y - b + 2 * jM;
|
132829
|
+
V.push(ob(c, Ie, a));
|
132830
132830
|
} else {
|
132831
132831
|
var ce = (N - y - b - w) / 2 + 2 * jM;
|
132832
132832
|
V.push(ob(c, ce, a)), V.push(tg), V.push(ib(l, f, i)), V.push(tg), V.push(ob(c, ce, a));
|
132833
132833
|
}
|
132834
132834
|
V.push(tg), V.push(ib(s, f, i));
|
132835
132835
|
}
|
132836
|
-
var pe = a.havingBaseStyle(Mt.TEXT),
|
132836
|
+
var pe = a.havingBaseStyle(Mt.TEXT), Me = fe.makeVList({
|
132837
132837
|
positionType: "bottom",
|
132838
132838
|
positionData: O,
|
132839
132839
|
children: V
|
132840
132840
|
}, pe);
|
132841
|
-
return _E(fe.makeSpan(["delimsizing", "mult"], [
|
132841
|
+
return _E(fe.makeSpan(["delimsizing", "mult"], [Me], pe), Mt.TEXT, a, o);
|
132842
132842
|
}, sb = 80, lb = 0.08, cb = function(e, n, r, a, i) {
|
132843
132843
|
var o = $Ct(e, a, r), s = new F0(e, o), l = new tl([s], {
|
132844
132844
|
// Note: 1000:1 ratio of viewBox to document em width.
|
@@ -133553,10 +133553,10 @@ var Ws = function(e, n) {
|
|
133553
133553
|
var V = b / 2 + n.fontMetrics().axisHeight, G = e.cols || [], Z = [], _, Y, Q = [];
|
133554
133554
|
if (e.tags && e.tags.some((Be) => Be))
|
133555
133555
|
for (r = 0; r < i; ++r) {
|
133556
|
-
var se = l[r], ne = se.pos - V, De = e.tags[r],
|
133557
|
-
De === !0 ?
|
133556
|
+
var se = l[r], ne = se.pos - V, De = e.tags[r], Ie = void 0;
|
133557
|
+
De === !0 ? Ie = fe.makeSpan(["eqn-num"], [], n) : De === !1 ? Ie = fe.makeSpan([], [], n) : Ie = fe.makeSpan([], Mr(De, n, !0), n), Ie.depth = se.depth, Ie.height = se.height, Q.push({
|
133558
133558
|
type: "elem",
|
133559
|
-
elem:
|
133559
|
+
elem: Ie,
|
133560
133560
|
shift: ne
|
133561
133561
|
});
|
133562
133562
|
}
|
@@ -133569,10 +133569,10 @@ var Ws = function(e, n) {
|
|
133569
133569
|
) {
|
133570
133570
|
for (var ce = G[Y] || {}, pe = !0; ce.type === "separator"; ) {
|
133571
133571
|
if (pe || (_ = fe.makeSpan(["arraycolsep"], []), _.style.width = Qe(n.fontMetrics().doubleRuleSep), Z.push(_)), ce.separator === "|" || ce.separator === ":") {
|
133572
|
-
var
|
133573
|
-
|
133572
|
+
var Me = ce.separator === "|" ? "solid" : "dashed", ge = fe.makeSpan(["vertical-separator"], [], n);
|
133573
|
+
ge.style.height = Qe(b), ge.style.borderRightWidth = Qe(u), ge.style.borderRightStyle = Me, ge.style.margin = "0 " + Qe(-u / 2);
|
133574
133574
|
var J = b - V;
|
133575
|
-
J && (
|
133575
|
+
J && (ge.style.verticalAlign = Qe(-J)), Z.push(ge);
|
133576
133576
|
} else
|
133577
133577
|
throw new Ue("Invalid separator type: " + ce.separator);
|
133578
133578
|
Y++, ce = G[Y] || {}, pe = !1;
|
@@ -133584,11 +133584,11 @@ var Ws = function(e, n) {
|
|
133584
133584
|
for (r = 0; r < i; ++r) {
|
133585
133585
|
var Ge = l[r], ve = Ge[a];
|
133586
133586
|
if (ve) {
|
133587
|
-
var
|
133587
|
+
var Ce = Ge.pos - V;
|
133588
133588
|
ve.depth = Ge.depth, ve.height = Ge.height, xe.push({
|
133589
133589
|
type: "elem",
|
133590
133590
|
elem: ve,
|
133591
|
-
shift:
|
133591
|
+
shift: Ce
|
133592
133592
|
});
|
133593
133593
|
}
|
133594
133594
|
}
|
@@ -133599,7 +133599,7 @@ var Ws = function(e, n) {
|
|
133599
133599
|
}
|
133600
133600
|
}
|
133601
133601
|
if (l = fe.makeSpan(["mtable"], Z), c.length > 0) {
|
133602
|
-
for (var je = fe.makeLineSpan("hline", n, u),
|
133602
|
+
for (var je = fe.makeLineSpan("hline", n, u), Ne = fe.makeLineSpan("hdashline", n, u), ye = [{
|
133603
133603
|
type: "elem",
|
133604
133604
|
elem: l,
|
133605
133605
|
shift: 0
|
@@ -133607,7 +133607,7 @@ var Ws = function(e, n) {
|
|
133607
133607
|
var K = c.pop(), ie = K.pos - V;
|
133608
133608
|
K.isDashed ? ye.push({
|
133609
133609
|
type: "elem",
|
133610
|
-
elem:
|
133610
|
+
elem: Ne,
|
133611
133611
|
shift: ie
|
133612
133612
|
}) : ye.push({
|
133613
133613
|
type: "elem",
|
@@ -142461,9 +142461,9 @@ function yTt(t) {
|
|
142461
142461
|
if (!o(ne))
|
142462
142462
|
throw new Error("Point is not on curve");
|
142463
142463
|
const De = d(ne);
|
142464
|
-
let
|
142465
|
-
const ce = (
|
142466
|
-
return (Q & 1) === 1 !== ce && (
|
142464
|
+
let Ie = n.sqrt(De);
|
142465
|
+
const ce = (Ie & Gi) === Gi;
|
142466
|
+
return (Q & 1) === 1 !== ce && (Ie = n.neg(Ie)), { x: ne, y: Ie };
|
142467
142467
|
} else if (Y === i && Q === 4) {
|
142468
142468
|
const ne = n.fromBytes(se.subarray(0, n.BYTES)), De = n.fromBytes(se.subarray(n.BYTES, 2 * n.BYTES));
|
142469
142469
|
return { x: ne, y: De };
|
@@ -142507,10 +142507,10 @@ function yTt(t) {
|
|
142507
142507
|
const { r: Q, s: se, recovery: ne } = this, De = E(mo("msgHash", Y));
|
142508
142508
|
if (ne == null || ![0, 1, 2, 3].includes(ne))
|
142509
142509
|
throw new Error("recovery id invalid");
|
142510
|
-
const
|
142511
|
-
if (
|
142510
|
+
const Ie = ne === 2 || ne === 3 ? Q + e.n : Q;
|
142511
|
+
if (Ie >= n.ORDER)
|
142512
142512
|
throw new Error("recovery id 2 or 3 invalid");
|
142513
|
-
const ce = ne & 1 ? "03" : "02", pe = c.fromHex(ce + f(
|
142513
|
+
const ce = ne & 1 ? "03" : "02", pe = c.fromHex(ce + f(Ie)), Me = l(Ie), ge = s(-De * Me), J = s(se * Me), Ae = c.BASE.multiplyAndAddUnsafe(pe, ge, J);
|
142514
142514
|
if (!Ae)
|
142515
142515
|
throw new Error("point at infinify");
|
142516
142516
|
return Ae.assertValidity(), Ae;
|
@@ -142597,26 +142597,26 @@ function yTt(t) {
|
|
142597
142597
|
if (["recovered", "canonical"].some((Ge) => Ge in Q))
|
142598
142598
|
throw new Error("sign() legacy options not supported");
|
142599
142599
|
const { hash: se, randomBytes: ne } = e;
|
142600
|
-
let { lowS: De, prehash:
|
142601
|
-
De == null && (De = !0), _ = mo("msgHash", _),
|
142602
|
-
const pe = E(_),
|
142600
|
+
let { lowS: De, prehash: Ie, extraEntropy: ce } = Q;
|
142601
|
+
De == null && (De = !0), _ = mo("msgHash", _), Ie && (_ = mo("prehashed msgHash", se(_)));
|
142602
|
+
const pe = E(_), Me = u(Y), ge = [N(Me), N(pe)];
|
142603
142603
|
if (ce != null) {
|
142604
142604
|
const Ge = ce === !0 ? ne(n.BYTES) : ce;
|
142605
|
-
|
142605
|
+
ge.push(mo("extraEntropy", Ge));
|
142606
142606
|
}
|
142607
|
-
const J = py(...
|
142607
|
+
const J = py(...ge), Ae = pe;
|
142608
142608
|
function xe(Ge) {
|
142609
142609
|
const ve = A(Ge);
|
142610
142610
|
if (!h(ve))
|
142611
142611
|
return;
|
142612
|
-
const
|
142613
|
-
if (
|
142612
|
+
const Ce = l(ve), je = c.BASE.multiply(ve).toAffine(), Ne = s(je.x);
|
142613
|
+
if (Ne === x1)
|
142614
142614
|
return;
|
142615
|
-
const ye = s(
|
142615
|
+
const ye = s(Ce * s(Ae + Ne * Me));
|
142616
142616
|
if (ye === x1)
|
142617
142617
|
return;
|
142618
|
-
let K = (je.x ===
|
142619
|
-
return De && p(ye) && (ie = y(ye), K ^= 1), new v(
|
142618
|
+
let K = (je.x === Ne ? 0 : 2) | Number(je.y & Gi), ie = ye;
|
142619
|
+
return De && p(ye) && (ie = y(ye), K ^= 1), new v(Ne, ie, K);
|
142620
142620
|
}
|
142621
142621
|
return { seed: J, k2sig: xe };
|
142622
142622
|
}
|
@@ -142631,33 +142631,33 @@ function yTt(t) {
|
|
142631
142631
|
const ne = _;
|
142632
142632
|
if (Y = mo("msgHash", Y), Q = mo("publicKey", Q), "strict" in se)
|
142633
142633
|
throw new Error("options.strict was renamed to lowS");
|
142634
|
-
const { lowS: De, prehash:
|
142634
|
+
const { lowS: De, prehash: Ie } = se;
|
142635
142635
|
let ce, pe;
|
142636
142636
|
try {
|
142637
142637
|
if (typeof ne == "string" || ne instanceof Uint8Array)
|
142638
142638
|
try {
|
142639
142639
|
ce = v.fromDER(ne);
|
142640
|
-
} catch (
|
142641
|
-
if (!(
|
142642
|
-
throw
|
142640
|
+
} catch (Ne) {
|
142641
|
+
if (!(Ne instanceof Zc.Err))
|
142642
|
+
throw Ne;
|
142643
142643
|
ce = v.fromCompact(ne);
|
142644
142644
|
}
|
142645
142645
|
else if (typeof ne == "object" && typeof ne.r == "bigint" && typeof ne.s == "bigint") {
|
142646
|
-
const { r:
|
142647
|
-
ce = new v(
|
142646
|
+
const { r: Ne, s: ye } = ne;
|
142647
|
+
ce = new v(Ne, ye);
|
142648
142648
|
} else
|
142649
142649
|
throw new Error("PARSE");
|
142650
142650
|
pe = c.fromHex(Q);
|
142651
|
-
} catch (
|
142652
|
-
if (
|
142651
|
+
} catch (Ne) {
|
142652
|
+
if (Ne.message === "PARSE")
|
142653
142653
|
throw new Error("signature must be Signature instance, Uint8Array or hex string");
|
142654
142654
|
return !1;
|
142655
142655
|
}
|
142656
142656
|
if (De && ce.hasHighS())
|
142657
142657
|
return !1;
|
142658
|
-
|
142659
|
-
const { r:
|
142660
|
-
return ve ? s(ve.x) ===
|
142658
|
+
Ie && (Y = e.hash(Y));
|
142659
|
+
const { r: Me, s: ge } = ce, J = E(Y), Ae = l(ge), xe = s(J * Ae), Ge = s(Me * Ae), ve = (je = c.BASE.multiplyAndAddUnsafe(pe, xe, Ge)) == null ? void 0 : je.toAffine();
|
142660
|
+
return ve ? s(ve.x) === Me : !1;
|
142661
142661
|
}
|
142662
142662
|
return {
|
142663
142663
|
CURVE: e,
|
@@ -154045,7 +154045,7 @@ function BNt({ pluginKey: t = ONt, editor: e, char: n = "@", allowSpaces: r = !1
|
|
154045
154045
|
// this can be used for building popups without a DOM node
|
154046
154046
|
clientRect: ne ? () => {
|
154047
154047
|
var De;
|
154048
|
-
const { decorationId:
|
154048
|
+
const { decorationId: Ie } = (De = this.key) === null || De === void 0 ? void 0 : De.getState(e.state), ce = k.dom.querySelector(`[data-decoration-id="${Ie}"]`);
|
154049
154049
|
return (ce == null ? void 0 : ce.getBoundingClientRect()) || null;
|
154050
154050
|
} : null
|
154051
154051
|
}, _ && ((w = p == null ? void 0 : p.onBeforeStart) === null || w === void 0 || w.call(p, f)), Y && ((M = p == null ? void 0 : p.onBeforeUpdate) === null || M === void 0 || M.call(p, f)), (Y || _) && (f.items = await c({
|
@@ -154463,17 +154463,17 @@ const HNt = dn.create({
|
|
154463
154463
|
const se = Y.textContent, ne = Z.posAtCoords({ left: _.clientX, top: _.clientY });
|
154464
154464
|
if (ne) {
|
154465
154465
|
const { state: De } = Z;
|
154466
|
-
let
|
154467
|
-
if (De.doc.nodesBetween(
|
154468
|
-
pe.marks && pe.marks.length && pe.marks.forEach((
|
154469
|
-
|
154466
|
+
let Ie = ne.pos, ce = ne.pos;
|
154467
|
+
if (De.doc.nodesBetween(Ie, ce, (pe, Me) => {
|
154468
|
+
pe.marks && pe.marks.length && pe.marks.forEach((ge) => {
|
154469
|
+
ge.type.name === "highlight" && (Ie = Me, ce = Me + pe.nodeSize);
|
154470
154470
|
});
|
154471
|
-
}),
|
154471
|
+
}), Ie !== ce) {
|
154472
154472
|
const pe = {
|
154473
154473
|
text: se,
|
154474
|
-
from:
|
154474
|
+
from: Ie,
|
154475
154475
|
to: ce,
|
154476
|
-
isHighlightedYellow: w(De,
|
154476
|
+
isHighlightedYellow: w(De, Ie, ce)
|
154477
154477
|
};
|
154478
154478
|
l == null || l(pe);
|
154479
154479
|
}
|
@@ -159318,7 +159318,7 @@ Ck.exports;
|
|
159318
159318
|
R && (N = L, L = null);
|
159319
159319
|
var O = N.navigator || {}, V = O.userAgent || "";
|
159320
159320
|
L || (L = V);
|
159321
|
-
var G = R ? !!O.likeChrome : /\bChrome\b/.test(L) && !/internal|\n/i.test(d.toString()), Z = "Object", _ = R ? Z : "ScriptBridgingProxyObject", Y = R ? Z : "Environment", Q = R && N.java ? "JavaPackage" : v(N.java), se = R ? Z : "RuntimeObject", ne = /\bJava/.test(Q) && N.java, De = ne && v(N.environment) == Y,
|
159321
|
+
var G = R ? !!O.likeChrome : /\bChrome\b/.test(L) && !/internal|\n/i.test(d.toString()), Z = "Object", _ = R ? Z : "ScriptBridgingProxyObject", Y = R ? Z : "Environment", Q = R && N.java ? "JavaPackage" : v(N.java), se = R ? Z : "RuntimeObject", ne = /\bJava/.test(Q) && N.java, De = ne && v(N.environment) == Y, Ie = ne ? "a" : "α", ce = ne ? "b" : "β", pe = N.document || {}, Me = N.operamini || N.opera, ge = l.test(ge = R && Me ? Me["[[Class]]"] : v(Me)) ? ge : Me = null, J, Ae = L, xe = [], Ge = null, ve = L == V, Ce = ve && Me && typeof Me.version == "function" && Me.version(), je, Ne = Be([
|
159322
159322
|
{ label: "EdgeHTML", pattern: "Edge" },
|
159323
159323
|
"Trident",
|
159324
159324
|
{ label: "WebKit", pattern: "AppleWebKit" },
|
@@ -159501,28 +159501,28 @@ Ck.exports;
|
|
159501
159501
|
function ue() {
|
159502
159502
|
return this.description || "";
|
159503
159503
|
}
|
159504
|
-
if (
|
159504
|
+
if (Ne && (Ne = [Ne]), /\bAndroid\b/.test(re) && !K && (J = /\bAndroid[^;]*;(.*?)(?:Build|\) AppleWebKit)\b/i.exec(L)) && (K = M(J[1]).replace(/^[a-z]{2}-[a-z]{2};\s*/i, "") || null), ie && !K ? K = H([ie]) : ie && K && (K = K.replace(RegExp("^(" + b(ie) + ")[-_.\\s]", "i"), ie + " ").replace(RegExp("^(" + b(ie) + ")[-_.]?(\\w)", "i"), ie + " $2")), (J = /\bGoogle TV\b/.exec(K)) && (K = J[0]), /\bSimulator\b/i.test(L) && (K = (K ? K + " " : "") + "Simulator"), ye == "Opera Mini" && /\bOPiOS\b/.test(L) && xe.push("running in Turbo/Uncompressed mode"), ye == "IE" && /\blike iPhone OS\b/.test(L) ? (J = A(L.replace(/like iPhone OS/, "")), ie = J.manufacturer, K = J.product) : /^iP/.test(K) ? (ye || (ye = "Safari"), re = "iOS" + ((J = / OS ([\d_]+)/i.exec(L)) ? " " + J[1].replace(/_/g, ".") : "")) : ye == "Konqueror" && /^Linux\b/i.test(re) ? re = "Kubuntu" : ie && ie != "Google" && (/Chrome/.test(ye) && !/\bMobile Safari\b/i.test(L) || /\bVita\b/.test(K)) || /\bAndroid\b/.test(re) && /^Chrome/.test(ye) && /\bVersion\//i.test(L) ? (ye = "Android Browser", re = /\bAndroid\b/.test(re) ? re : "Android") : ye == "Silk" ? (/\bMobi/i.test(L) || (re = "Android", xe.unshift("desktop mode")), /Accelerated *= *true/i.test(L) && xe.unshift("accelerated")) : ye == "UC Browser" && /\bUCWEB\b/.test(L) ? xe.push("speed mode") : ye == "PaleMoon" && (J = /\bFirefox\/([\d.]+)\b/.exec(L)) ? xe.push("identifying as Firefox " + J[1]) : ye == "Firefox" && (J = /\b(Mobile|Tablet|TV)\b/i.exec(L)) ? (re || (re = "Firefox OS"), K || (K = J[1])) : !ye || (J = !/\bMinefield\b/i.test(L) && /\b(?:Firefox|Safari)\b/.exec(ye)) ? (ye && !K && /[\/,]|^[^(]+?\)/.test(L.slice(L.indexOf(J + "/") + 8)) && (ye = null), (J = K || ie || re) && (K || ie || /\b(?:Android|Symbian OS|Tablet OS|webOS)\b/.test(re)) && (ye = /[a-z]+(?: Hat)?/i.exec(/\bAndroid\b/.test(re) ? re : J) + " Browser")) : ye == "Electron" && (J = (/\bChrome\/([\d.]+)\b/.exec(L) || 0)[1]) && xe.push("Chromium " + J), Ce || (Ce = ee([
|
159505
159505
|
"(?:Cloud9|CriOS|CrMo|Edge|Edg|EdgA|EdgiOS|FxiOS|HeadlessChrome|IEMobile|Iron|Opera ?Mini|OPiOS|OPR|Raven|SamsungBrowser|Silk(?!/[\\d.]+$)|UCBrowser|YaBrowser)",
|
159506
159506
|
"Version",
|
159507
159507
|
b(ye),
|
159508
159508
|
"(?:Firefox|Minefield|NetFront)"
|
159509
|
-
])), (J =
|
159509
|
+
])), (J = Ne == "iCab" && parseFloat(Ce) > 3 && "WebKit" || /\bOpera\b/.test(ye) && (/\bOPR\b/.test(L) ? "Blink" : "Presto") || /\b(?:Midori|Nook|Safari)\b/i.test(L) && !/^(?:Trident|EdgeHTML)$/.test(Ne) && "WebKit" || !Ne && /\bMSIE\b/i.test(L) && (re == "Mac OS" ? "Tasman" : "Trident") || Ne == "WebKit" && /\bPlayStation\b(?! Vita\b)/i.test(ye) && "NetFront") && (Ne = [J]), ye == "IE" && (J = (/; *(?:XBLWP|ZuneWP)(\d+)/i.exec(L) || 0)[1]) ? (ye += " Mobile", re = "Windows Phone " + (/\+$/.test(J) ? J : J + ".x"), xe.unshift("desktop mode")) : /\bWPDesktop\b/i.test(L) ? (ye = "IE Mobile", re = "Windows Phone 8.x", xe.unshift("desktop mode"), Ce || (Ce = (/\brv:([\d.]+)/.exec(L) || 0)[1])) : ye != "IE" && Ne == "Trident" && (J = /\brv:([\d.]+)/.exec(L)) && (ye && xe.push("identifying as " + ye + (Ce ? " " + Ce : "")), ye = "IE", Ce = J[1]), ve) {
|
159510
159510
|
if (x(N, "global"))
|
159511
159511
|
if (ne && (J = ne.lang.System, Ae = J.getProperty("os.arch"), re = re || J.getProperty("os.name") + " " + J.getProperty("os.version")), De) {
|
159512
159512
|
try {
|
159513
|
-
|
159513
|
+
Ce = N.require("ringo/engine").version.join("."), ye = "RingoJS";
|
159514
159514
|
} catch {
|
159515
159515
|
(J = N.system) && J.global.system == N.system && (ye = "Narwhal", re || (re = J[0].os || null));
|
159516
159516
|
}
|
159517
159517
|
ye || (ye = "Rhino");
|
159518
|
-
} else typeof N.process == "object" && !N.process.browser && (J = N.process) && (typeof J.versions == "object" && (typeof J.versions.electron == "string" ? (xe.push("Node " + J.versions.node), ye = "Electron",
|
159519
|
-
else v(J = N.runtime) == _ ? (ye = "Adobe AIR", re = J.flash.system.Capabilities.os) : v(J = N.phantom) == se ? (ye = "PhantomJS",
|
159518
|
+
} else typeof N.process == "object" && !N.process.browser && (J = N.process) && (typeof J.versions == "object" && (typeof J.versions.electron == "string" ? (xe.push("Node " + J.versions.node), ye = "Electron", Ce = J.versions.electron) : typeof J.versions.nw == "string" && (xe.push("Chromium " + Ce, "Node " + J.versions.node), ye = "NW.js", Ce = J.versions.nw)), ye || (ye = "Node.js", Ae = J.arch, re = J.platform, Ce = /[\d.]+/.exec(J.version), Ce = Ce ? Ce[0] : null));
|
159519
|
+
else v(J = N.runtime) == _ ? (ye = "Adobe AIR", re = J.flash.system.Capabilities.os) : v(J = N.phantom) == se ? (ye = "PhantomJS", Ce = (J = J.version || null) && J.major + "." + J.minor + "." + J.patch) : typeof pe.documentMode == "number" && (J = /\bTrident\/(\d+)/i.exec(L)) ? (Ce = [Ce, pe.documentMode], (J = +J[1] + 4) != Ce[1] && (xe.push("IE " + Ce[1] + " mode"), Ne && (Ne[1] = ""), Ce[1] = J), Ce = ye == "IE" ? String(Ce[1].toFixed(1)) : Ce[0]) : typeof pe.documentMode == "number" && /^(?:Chrome|Firefox)\b/.test(ye) && (xe.push("masking as " + ye + " " + Ce), ye = "IE", Ce = "11.0", Ne = ["Trident"], re = "Windows");
|
159520
159520
|
re = re && y(re);
|
159521
159521
|
}
|
159522
|
-
if (
|
159522
|
+
if (Ce && (J = /(?:[ab]|dp|pre|[ab]\d+pre)(?:\d+\+?)?$/i.exec(Ce) || /(?:alpha|beta)(?: ?\d)?/i.exec(L + ";" + (ve && O.appMinorVersion)) || /\bMinefield\b/i.test(L) && "a") && (Ge = /b/i.test(J) ? "beta" : "alpha", Ce = Ce.replace(RegExp(J + "\\+?$"), "") + (Ge == "beta" ? ce : Ie) + (/\d+\+?/.exec(J) || "")), ye == "Fennec" || ye == "Firefox" && /\b(?:Android|Firefox OS|KaiOS)\b/.test(re))
|
159523
159523
|
ye = "Firefox Mobile";
|
159524
|
-
else if (ye == "Maxthon" &&
|
159525
|
-
|
159524
|
+
else if (ye == "Maxthon" && Ce)
|
159525
|
+
Ce = Ce.replace(/\.[\d.]+/, ".x");
|
159526
159526
|
else if (/\bXbox\b/i.test(K))
|
159527
159527
|
K == "Xbox 360" && (re = null), K == "Xbox 360" && /\bIEMobile\b/.test(L) && xe.unshift("mobile mode");
|
159528
159528
|
else if ((/^(?:Chrome|IE|Opera)$/.test(ye) || ye && !K && !/Browser|Mobi/.test(ye)) && (re == "Windows CE" || /Mobi/i.test(L)))
|
@@ -159533,8 +159533,8 @@ Ck.exports;
|
|
159533
159533
|
} catch {
|
159534
159534
|
xe.unshift("embedded");
|
159535
159535
|
}
|
159536
|
-
else (/\bBlackBerry\b/.test(K) || /\bBB10\b/.test(L)) && (J = (RegExp(K.replace(/ +/g, " *") + "/([.\\d]+)", "i").exec(L) || 0)[1] ||
|
159537
|
-
(J = (/\bAppleWebKit\/([\d.]+\+?)/i.exec(L) || 0)[1]) && (J = [parseFloat(J.replace(/\.(\d)$/, ".0$1")), J], ye == "Safari" && J[1].slice(-1) == "+" ? (ye = "WebKit Nightly", Ge = "alpha",
|
159536
|
+
else (/\bBlackBerry\b/.test(K) || /\bBB10\b/.test(L)) && (J = (RegExp(K.replace(/ +/g, " *") + "/([.\\d]+)", "i").exec(L) || 0)[1] || Ce) ? (J = [J, /BB10/.test(L)], re = (J[1] ? (K = null, ie = "BlackBerry") : "Device Software") + " " + J[0], Ce = null) : this != k && K != "Wii" && (ve && Me || /Opera/.test(ye) && /\b(?:MSIE|Firefox)\b/i.test(L) || ye == "Firefox" && /\bOS X (?:\d+\.){2,}/.test(re) || ye == "IE" && (re && !/^Win/.test(re) && Ce > 5.5 || /\bWindows XP\b/.test(re) && Ce > 8 || Ce == 8 && !/\bTrident\b/.test(L))) && !l.test(J = A.call(k, L.replace(l, "") + ";")) && J.name && (J = "ing as " + J.name + ((J = J.version) ? " " + J : ""), l.test(ye) ? (/\bIE\b/.test(J) && re == "Mac OS" && (re = null), J = "identify" + J) : (J = "mask" + J, ge ? ye = y(ge.replace(/([a-z])([A-Z])/g, "$1 $2")) : ye = "Opera", /\bIE\b/.test(J) && (re = null), ve || (Ce = null)), Ne = ["Presto"], xe.push(J));
|
159537
|
+
(J = (/\bAppleWebKit\/([\d.]+\+?)/i.exec(L) || 0)[1]) && (J = [parseFloat(J.replace(/\.(\d)$/, ".0$1")), J], ye == "Safari" && J[1].slice(-1) == "+" ? (ye = "WebKit Nightly", Ge = "alpha", Ce = J[1].slice(0, -1)) : (Ce == J[1] || Ce == (J[2] = (/\bSafari\/([\d.]+\+?)/i.exec(L) || 0)[1])) && (Ce = null), J[1] = (/\b(?:Headless)?Chrome\/([\d.]+)/i.exec(L) || 0)[1], J[0] == 537.36 && J[2] == 537.36 && parseFloat(J[1]) >= 28 && Ne == "WebKit" && (Ne = ["Blink"]), !ve || !G && !J[1] ? (Ne && (Ne[1] = "like Safari"), J = (J = J[0], J < 400 ? 1 : J < 500 ? 2 : J < 526 ? 3 : J < 533 ? 4 : J < 534 ? "4+" : J < 535 ? 5 : J < 537 ? 6 : J < 538 ? 7 : J < 601 ? 8 : J < 602 ? 9 : J < 604 ? 10 : J < 606 ? 11 : J < 608 ? 12 : "12")) : (Ne && (Ne[1] = "like Chrome"), J = J[1] || (J = J[0], J < 530 ? 1 : J < 532 ? 2 : J < 532.05 ? 3 : J < 533 ? 4 : J < 534.03 ? 5 : J < 534.07 ? 6 : J < 534.1 ? 7 : J < 534.13 ? 8 : J < 534.16 ? 9 : J < 534.24 ? 10 : J < 534.3 ? 11 : J < 535.01 ? 12 : J < 535.02 ? "13+" : J < 535.07 ? 15 : J < 535.11 ? 16 : J < 535.19 ? 17 : J < 536.05 ? 18 : J < 536.1 ? 19 : J < 537.01 ? 20 : J < 537.11 ? "21+" : J < 537.13 ? 23 : J < 537.18 ? 24 : J < 537.24 ? 25 : J < 537.36 ? 26 : Ne != "Blink" ? "27" : "28")), Ne && (Ne[1] += " " + (J += typeof J == "number" ? ".x" : /[.+]/.test(J) ? "" : "+")), ye == "Safari" && (!Ce || parseInt(Ce) > 45) ? Ce = J : ye == "Chrome" && /\bHeadlessChrome/i.test(L) && xe.unshift("headless")), ye == "Opera" && (J = /\bzbov|zvav$/.exec(re)) ? (ye += " ", xe.unshift("desktop mode"), J == "zvav" ? (ye += "Mini", Ce = null) : ye += "Mobile", re = re.replace(RegExp(" *" + J + "$"), "")) : ye == "Safari" && /\bChrome\b/.exec(Ne && Ne[1]) ? (xe.unshift("desktop mode"), ye = "Chrome Mobile", Ce = null, /\bOS X\b/.test(re) ? (ie = "Apple", re = "iOS 4.3+") : re = null) : /\bSRWare Iron\b/.test(ye) && !Ce && (Ce = ee("Chrome")), Ce && Ce.indexOf(J = /[\d.]+$/.exec(re)) == 0 && L.indexOf("/" + J + "-") > -1 && (re = M(re.replace(J, ""))), re && re.indexOf(ye) != -1 && !RegExp(ye + " OS").test(re) && (re = re.replace(RegExp(" *" + b(ye) + " *"), "")), Ne && !/\b(?:Avant|Nook)\b/.test(ye) && (/Browser|Lunascape|Maxthon/.test(ye) || ye != "Safari" && /^iOS/.test(re) && /\bSafari\b/.test(Ne[1]) || /^(?:Adobe|Arora|Breach|Midori|Opera|Phantom|Rekonq|Rock|Samsung Internet|Sleipnir|SRWare Iron|Vivaldi|Web)/.test(ye) && Ne[1]) && (J = Ne[Ne.length - 1]) && xe.push(J), xe.length && (xe = ["(" + xe.join("; ") + ")"]), ie && K && K.indexOf(ie) < 0 && xe.push("on " + ie), K && xe.push((/^on /.test(xe[xe.length - 1]) ? "" : "on ") + K), re && (J = / ([\d.+]+)$/.exec(re), je = J && re.charAt(re.length - J[0].length - 1) == "/", re = {
|
159538
159538
|
architecture: 32,
|
159539
159539
|
family: J && !je ? re.replace(J[0], "") : re,
|
159540
159540
|
version: J ? J[1] : null,
|
@@ -159542,9 +159542,9 @@ Ck.exports;
|
|
159542
159542
|
var Fe = this.version;
|
159543
159543
|
return this.family + (Fe && !je ? " " + Fe : "") + (this.architecture == 64 ? " 64-bit" : "");
|
159544
159544
|
}
|
159545
|
-
}), (J = /\b(?:AMD|IA|Win|WOW|x86_|x)64\b/i.exec(Ae)) && !/\bi686\b/i.test(Ae) ? (re && (re.architecture = 64, re.family = re.family.replace(RegExp(" *" + J), "")), ye && (/\bWOW64\b/i.test(L) || ve && /\w(?:86|32)$/.test(O.cpuClass || O.platform) && !/\bWin64; x64\b/i.test(L)) && xe.unshift("32-bit")) : re && /^OS X/.test(re.family) && ye == "Chrome" && parseFloat(
|
159545
|
+
}), (J = /\b(?:AMD|IA|Win|WOW|x86_|x)64\b/i.exec(Ae)) && !/\bi686\b/i.test(Ae) ? (re && (re.architecture = 64, re.family = re.family.replace(RegExp(" *" + J), "")), ye && (/\bWOW64\b/i.test(L) || ve && /\w(?:86|32)$/.test(O.cpuClass || O.platform) && !/\bWin64; x64\b/i.test(L)) && xe.unshift("32-bit")) : re && /^OS X/.test(re.family) && ye == "Chrome" && parseFloat(Ce) >= 39 && (re.architecture = 64), L || (L = null);
|
159546
159546
|
var he = {};
|
159547
|
-
return he.description = L, he.layout =
|
159547
|
+
return he.description = L, he.layout = Ne && Ne[0], he.manufacturer = ie, he.name = ye, he.prerelease = Ge, he.product = K, he.ua = L, he.version = ye && Ce, he.os = re || {
|
159548
159548
|
/**
|
159549
159549
|
* The CPU architecture the OS is built for.
|
159550
159550
|
*
|
@@ -159580,7 +159580,7 @@ Ck.exports;
|
|
159580
159580
|
toString: function() {
|
159581
159581
|
return "null";
|
159582
159582
|
}
|
159583
|
-
}, he.parse = A, he.toString = ue, he.version && xe.unshift(
|
159583
|
+
}, he.parse = A, he.toString = ue, he.version && xe.unshift(Ce), he.name && xe.unshift(ye), re && ye && !(re == String(re).split(" ")[0] && (re == ye.split(" ")[0] || K)) && xe.push(K ? "(" + re + ")" : "on " + re), xe.length && (he.description = xe.join(" ")), he;
|
159584
159584
|
}
|
159585
159585
|
var E = A();
|
159586
159586
|
a && i ? k(E, function(L, N) {
|