@goodhood-web/ui 1.6.0-development.5 → 1.6.0-development.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +4 -3
- package/index.mjs +139 -121
- package/lib/ButtonPrimary/ButtonPrimary.types.d.ts +2 -2
- package/lib/Markdown/Markdown.d.ts +1 -1
- package/lib/Modal/Backdrop/Backdrop.d.ts +1 -2
- package/lib/PlaceholderThumbnail/PlaceholderThumbnail.type.d.ts +2 -1
- package/lib/Popup/Popup.d.ts +1 -1
- package/lib/Popup/Popup.types.d.ts +1 -0
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -9,9 +9,9 @@ var Jt = (t, e, n) => {
|
|
|
9
9
|
throw TypeError("Cannot add the same private member more than once");
|
|
10
10
|
e instanceof WeakSet ? e.add(t) : e.set(t, n);
|
|
11
11
|
};
|
|
12
|
-
var
|
|
12
|
+
var gt = (t, e, n) => (ns(t, e, "access private method"), n);
|
|
13
13
|
import * as i from "react";
|
|
14
|
-
import
|
|
14
|
+
import Ir, { useState as Nr, useLayoutEffect as rs, useEffect as os, Children as Nt, isValidElement as Vr, cloneElement as xn, forwardRef as m } from "react";
|
|
15
15
|
import * as jr from "react-dom";
|
|
16
16
|
function ss(t) {
|
|
17
17
|
return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
|
|
@@ -31,7 +31,7 @@ function as() {
|
|
|
31
31
|
if (Xn)
|
|
32
32
|
return Xe;
|
|
33
33
|
Xn = 1;
|
|
34
|
-
var t =
|
|
34
|
+
var t = Ir, e = Symbol.for("react.element"), n = Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, o = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, s = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
35
35
|
function a(l, c, f) {
|
|
36
36
|
var d, h = {}, p = null, g = null;
|
|
37
37
|
f !== void 0 && (p = "" + f), c.key !== void 0 && (p = "" + c.key), c.ref !== void 0 && (g = c.ref);
|
|
@@ -57,7 +57,7 @@ var Ge = {};
|
|
|
57
57
|
var Gn;
|
|
58
58
|
function is() {
|
|
59
59
|
return Gn || (Gn = 1, process.env.NODE_ENV !== "production" && function() {
|
|
60
|
-
var t =
|
|
60
|
+
var t = Ir, e = Symbol.for("react.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), s = Symbol.for("react.profiler"), a = Symbol.for("react.provider"), l = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), p = Symbol.for("react.lazy"), g = Symbol.for("react.offscreen"), b = Symbol.iterator, k = "@@iterator";
|
|
61
61
|
function $(u) {
|
|
62
62
|
if (u === null || typeof u != "object")
|
|
63
63
|
return null;
|
|
@@ -334,8 +334,8 @@ function is() {
|
|
|
334
334
|
}
|
|
335
335
|
return "";
|
|
336
336
|
}
|
|
337
|
-
var
|
|
338
|
-
function
|
|
337
|
+
var pt = Object.prototype.hasOwnProperty, Vn = {}, jn = T.ReactDebugCurrentFrame;
|
|
338
|
+
function mt(u) {
|
|
339
339
|
if (u) {
|
|
340
340
|
var y = u._owner, P = Ae(u.type, u._source, y ? y.type : null);
|
|
341
341
|
jn.setExtraStackFrame(P);
|
|
@@ -344,7 +344,7 @@ function is() {
|
|
|
344
344
|
}
|
|
345
345
|
function Fo(u, y, P, I, oe) {
|
|
346
346
|
{
|
|
347
|
-
var ue = Function.call.bind(
|
|
347
|
+
var ue = Function.call.bind(pt);
|
|
348
348
|
for (var ee in u)
|
|
349
349
|
if (ue(u, ee)) {
|
|
350
350
|
var X = void 0;
|
|
@@ -357,7 +357,7 @@ function is() {
|
|
|
357
357
|
} catch (he) {
|
|
358
358
|
X = he;
|
|
359
359
|
}
|
|
360
|
-
X && !(X instanceof Error) && (
|
|
360
|
+
X && !(X instanceof Error) && (mt(oe), S("%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).", I || "React class", P, ee, typeof X), mt(null)), X instanceof Error && !(X.message in Vn) && (Vn[X.message] = !0, mt(oe), S("Failed %s type: %s", P, X.message), mt(null));
|
|
361
361
|
}
|
|
362
362
|
}
|
|
363
363
|
}
|
|
@@ -393,7 +393,7 @@ function is() {
|
|
|
393
393
|
}, Hn, Dn, Kt;
|
|
394
394
|
Kt = {};
|
|
395
395
|
function jo(u) {
|
|
396
|
-
if (
|
|
396
|
+
if (pt.call(u, "ref")) {
|
|
397
397
|
var y = Object.getOwnPropertyDescriptor(u, "ref").get;
|
|
398
398
|
if (y && y.isReactWarning)
|
|
399
399
|
return !1;
|
|
@@ -401,7 +401,7 @@ function is() {
|
|
|
401
401
|
return u.ref !== void 0;
|
|
402
402
|
}
|
|
403
403
|
function Bo(u) {
|
|
404
|
-
if (
|
|
404
|
+
if (pt.call(u, "key")) {
|
|
405
405
|
var y = Object.getOwnPropertyDescriptor(u, "key").get;
|
|
406
406
|
if (y && y.isReactWarning)
|
|
407
407
|
return !1;
|
|
@@ -470,7 +470,7 @@ function is() {
|
|
|
470
470
|
var ue, ee = {}, X = null, ge = null;
|
|
471
471
|
P !== void 0 && (Wn(P), X = "" + P), Bo(y) && (Wn(y.key), X = "" + y.key), jo(y) && (ge = y.ref, Wo(y, oe));
|
|
472
472
|
for (ue in y)
|
|
473
|
-
|
|
473
|
+
pt.call(y, ue) && !Vo.hasOwnProperty(ue) && (ee[ue] = y[ue]);
|
|
474
474
|
if (u && u.defaultProps) {
|
|
475
475
|
var he = u.defaultProps;
|
|
476
476
|
for (ue in he)
|
|
@@ -678,7 +678,7 @@ const ls = "_heading_1523r_106", cs = "_title_1523r_120", us = "_icon_1523r_133"
|
|
|
678
678
|
size: o,
|
|
679
679
|
title: s
|
|
680
680
|
}) => {
|
|
681
|
-
const [a, l] =
|
|
681
|
+
const [a, l] = Nr(!1), c = () => l((f) => !f);
|
|
682
682
|
return /* @__PURE__ */ R.jsxs("div", { className: ze[`accordionItem--${o}`], children: [
|
|
683
683
|
/* @__PURE__ */ R.jsxs(
|
|
684
684
|
"button",
|
|
@@ -792,7 +792,7 @@ function Hr(t, e) {
|
|
|
792
792
|
return t(...r) || e(...r);
|
|
793
793
|
};
|
|
794
794
|
}
|
|
795
|
-
var mn = { exports: {} },
|
|
795
|
+
var mn = { exports: {} }, wt = { exports: {} }, se = {};
|
|
796
796
|
/** @license React v16.13.1
|
|
797
797
|
* react-is.production.min.js
|
|
798
798
|
*
|
|
@@ -962,7 +962,7 @@ function bs() {
|
|
|
962
962
|
}
|
|
963
963
|
var tr;
|
|
964
964
|
function Dr() {
|
|
965
|
-
return tr || (tr = 1, process.env.NODE_ENV === "production" ?
|
|
965
|
+
return tr || (tr = 1, process.env.NODE_ENV === "production" ? wt.exports = vs() : wt.exports = bs()), wt.exports;
|
|
966
966
|
}
|
|
967
967
|
/*
|
|
968
968
|
object-assign
|
|
@@ -1491,7 +1491,7 @@ function Ms(t) {
|
|
|
1491
1491
|
e += "&args[]=" + encodeURIComponent(arguments[n]);
|
|
1492
1492
|
return "Minified MUI error #" + t + "; visit " + e + " for the full message.";
|
|
1493
1493
|
}
|
|
1494
|
-
function
|
|
1494
|
+
function Rt(t, e, n, r, o) {
|
|
1495
1495
|
if (process.env.NODE_ENV === "production")
|
|
1496
1496
|
return null;
|
|
1497
1497
|
const s = t[e], a = o || e;
|
|
@@ -1512,7 +1512,7 @@ function _n(t) {
|
|
|
1512
1512
|
function gn(t, e) {
|
|
1513
1513
|
typeof t == "function" ? t(e) : t && (t.current = e);
|
|
1514
1514
|
}
|
|
1515
|
-
const
|
|
1515
|
+
const Ct = typeof window < "u" ? i.useLayoutEffect : i.useEffect;
|
|
1516
1516
|
function $s({
|
|
1517
1517
|
controlled: t,
|
|
1518
1518
|
default: e,
|
|
@@ -1542,7 +1542,7 @@ function $s({
|
|
|
1542
1542
|
}
|
|
1543
1543
|
function cr(t) {
|
|
1544
1544
|
const e = i.useRef(t);
|
|
1545
|
-
return
|
|
1545
|
+
return Ct(() => {
|
|
1546
1546
|
e.current = t;
|
|
1547
1547
|
}), i.useRef((...n) => (
|
|
1548
1548
|
// @ts-expect-error hide `this`
|
|
@@ -1979,7 +1979,7 @@ function Js(t) {
|
|
|
1979
1979
|
function ea() {
|
|
1980
1980
|
return !0;
|
|
1981
1981
|
}
|
|
1982
|
-
function
|
|
1982
|
+
function St(t) {
|
|
1983
1983
|
const {
|
|
1984
1984
|
children: e,
|
|
1985
1985
|
disableAutoFocus: n = !1,
|
|
@@ -2060,7 +2060,7 @@ function Tt(t) {
|
|
|
2060
2060
|
})]
|
|
2061
2061
|
});
|
|
2062
2062
|
}
|
|
2063
|
-
process.env.NODE_ENV !== "production" && (
|
|
2063
|
+
process.env.NODE_ENV !== "production" && (St.propTypes = {
|
|
2064
2064
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
2065
2065
|
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
2066
2066
|
// │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
|
|
@@ -2114,7 +2114,7 @@ process.env.NODE_ENV !== "production" && (Tt.propTypes = {
|
|
|
2114
2114
|
*/
|
|
2115
2115
|
open: M.bool.isRequired
|
|
2116
2116
|
});
|
|
2117
|
-
process.env.NODE_ENV !== "production" && (
|
|
2117
|
+
process.env.NODE_ENV !== "production" && (St.propTypes = Yr(St.propTypes));
|
|
2118
2118
|
const eo = /* @__PURE__ */ i.createContext(void 0);
|
|
2119
2119
|
process.env.NODE_ENV !== "production" && (eo.displayName = "FormControlContext");
|
|
2120
2120
|
function ta() {
|
|
@@ -2210,7 +2210,7 @@ function na(t = {}) {
|
|
|
2210
2210
|
value: k
|
|
2211
2211
|
};
|
|
2212
2212
|
}
|
|
2213
|
-
const
|
|
2213
|
+
const Tt = Math.min, Ie = Math.max, Mt = Math.round, vt = Math.floor, $e = (t) => ({
|
|
2214
2214
|
x: t,
|
|
2215
2215
|
y: t
|
|
2216
2216
|
}), ra = {
|
|
@@ -2223,7 +2223,7 @@ const Mt = Math.min, Ie = Math.max, $t = Math.round, bt = Math.floor, $e = (t) =
|
|
|
2223
2223
|
end: "start"
|
|
2224
2224
|
};
|
|
2225
2225
|
function dr(t, e, n) {
|
|
2226
|
-
return Ie(t,
|
|
2226
|
+
return Ie(t, Tt(e, n));
|
|
2227
2227
|
}
|
|
2228
2228
|
function Wt(t, e) {
|
|
2229
2229
|
return typeof t == "function" ? t(e) : t;
|
|
@@ -2250,10 +2250,10 @@ function sa(t, e, n) {
|
|
|
2250
2250
|
n === void 0 && (n = !1);
|
|
2251
2251
|
const r = Ht(t), o = ro(t), s = no(o);
|
|
2252
2252
|
let a = o === "x" ? r === (n ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
|
|
2253
|
-
return e.reference[s] > e.floating[s] && (a =
|
|
2253
|
+
return e.reference[s] > e.floating[s] && (a = $t(a)), [a, $t(a)];
|
|
2254
2254
|
}
|
|
2255
2255
|
function aa(t) {
|
|
2256
|
-
const e =
|
|
2256
|
+
const e = $t(t);
|
|
2257
2257
|
return [vn(t), e, vn(e)];
|
|
2258
2258
|
}
|
|
2259
2259
|
function vn(t) {
|
|
@@ -2277,7 +2277,7 @@ function la(t, e, n, r) {
|
|
|
2277
2277
|
let s = ia(Ne(t), n === "start", r);
|
|
2278
2278
|
return o && (s = s.map((a) => a + "-" + o), e && (s = s.concat(s.map(vn)))), s;
|
|
2279
2279
|
}
|
|
2280
|
-
function
|
|
2280
|
+
function $t(t) {
|
|
2281
2281
|
return t.replace(/left|right|bottom|top/g, (e) => ra[e]);
|
|
2282
2282
|
}
|
|
2283
2283
|
function ca(t) {
|
|
@@ -2297,7 +2297,7 @@ function ua(t) {
|
|
|
2297
2297
|
left: t
|
|
2298
2298
|
};
|
|
2299
2299
|
}
|
|
2300
|
-
function
|
|
2300
|
+
function Pt(t) {
|
|
2301
2301
|
return {
|
|
2302
2302
|
...t,
|
|
2303
2303
|
top: t.y,
|
|
@@ -2431,7 +2431,7 @@ async function oo(t, e) {
|
|
|
2431
2431
|
elementContext: h = "floating",
|
|
2432
2432
|
altBoundary: p = !1,
|
|
2433
2433
|
padding: g = 0
|
|
2434
|
-
} = Wt(e, t), b = ua(g), $ = l[p ? h === "floating" ? "reference" : "floating" : h], T =
|
|
2434
|
+
} = Wt(e, t), b = ua(g), $ = l[p ? h === "floating" ? "reference" : "floating" : h], T = Pt(await s.getClippingRect({
|
|
2435
2435
|
element: (n = await (s.isElement == null ? void 0 : s.isElement($))) == null || n ? $ : $.contextElement || await (s.getDocumentElement == null ? void 0 : s.getDocumentElement(l.floating)),
|
|
2436
2436
|
boundary: f,
|
|
2437
2437
|
rootBoundary: d,
|
|
@@ -2446,7 +2446,7 @@ async function oo(t, e) {
|
|
|
2446
2446
|
} : {
|
|
2447
2447
|
x: 1,
|
|
2448
2448
|
y: 1
|
|
2449
|
-
}, w =
|
|
2449
|
+
}, w = Pt(s.convertOffsetParentRelativeRectToViewportRelativeRect ? await s.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
2450
2450
|
elements: l,
|
|
2451
2451
|
rect: S,
|
|
2452
2452
|
offsetParent: _,
|
|
@@ -2483,7 +2483,7 @@ const fa = function(t) {
|
|
|
2483
2483
|
} = Wt(t, e);
|
|
2484
2484
|
if ((n = s.arrow) != null && n.alignmentOffset)
|
|
2485
2485
|
return {};
|
|
2486
|
-
const T = Ne(o), S = Ne(l) === l, _ = await (c.isRTL == null ? void 0 : c.isRTL(f.floating)), A = p || (S || !k ? [
|
|
2486
|
+
const T = Ne(o), S = Ne(l) === l, _ = await (c.isRTL == null ? void 0 : c.isRTL(f.floating)), A = p || (S || !k ? [$t(l)] : aa(l));
|
|
2487
2487
|
!p && b !== "none" && A.push(...la(l, k, b, _));
|
|
2488
2488
|
const w = [l, ...A], W = await oo(e, $), V = [];
|
|
2489
2489
|
let O = ((r = s.flip) == null ? void 0 : r.overflows) || [];
|
|
@@ -2657,7 +2657,7 @@ function Re(t) {
|
|
|
2657
2657
|
function pr(t) {
|
|
2658
2658
|
return typeof ShadowRoot > "u" ? !1 : t instanceof ShadowRoot || t instanceof ve(t).ShadowRoot;
|
|
2659
2659
|
}
|
|
2660
|
-
function
|
|
2660
|
+
function dt(t) {
|
|
2661
2661
|
const {
|
|
2662
2662
|
overflow: e,
|
|
2663
2663
|
overflowX: n,
|
|
@@ -2714,18 +2714,18 @@ function Ye(t) {
|
|
|
2714
2714
|
}
|
|
2715
2715
|
function ao(t) {
|
|
2716
2716
|
const e = Ye(t);
|
|
2717
|
-
return Zt(e) ? t.ownerDocument ? t.ownerDocument.body : t.body : Re(e) &&
|
|
2717
|
+
return Zt(e) ? t.ownerDocument ? t.ownerDocument.body : t.body : Re(e) && dt(e) ? e : ao(e);
|
|
2718
2718
|
}
|
|
2719
2719
|
function lt(t, e, n) {
|
|
2720
2720
|
var r;
|
|
2721
2721
|
e === void 0 && (e = []), n === void 0 && (n = !0);
|
|
2722
2722
|
const o = ao(t), s = o === ((r = t.ownerDocument) == null ? void 0 : r.body), a = ve(o);
|
|
2723
|
-
return s ? e.concat(a, a.visualViewport || [],
|
|
2723
|
+
return s ? e.concat(a, a.visualViewport || [], dt(o) ? o : [], a.frameElement && n ? lt(a.frameElement) : []) : e.concat(o, lt(o, [], n));
|
|
2724
2724
|
}
|
|
2725
2725
|
function io(t) {
|
|
2726
2726
|
const e = xe(t);
|
|
2727
2727
|
let n = parseFloat(e.width) || 0, r = parseFloat(e.height) || 0;
|
|
2728
|
-
const o = Re(t), s = o ? t.offsetWidth : n, a = o ? t.offsetHeight : r, l =
|
|
2728
|
+
const o = Re(t), s = o ? t.offsetWidth : n, a = o ? t.offsetHeight : r, l = Mt(n) !== s || Mt(r) !== a;
|
|
2729
2729
|
return l && (n = s, r = a), {
|
|
2730
2730
|
width: n,
|
|
2731
2731
|
height: r,
|
|
@@ -2744,7 +2744,7 @@ function Ue(t) {
|
|
|
2744
2744
|
height: o,
|
|
2745
2745
|
$: s
|
|
2746
2746
|
} = io(e);
|
|
2747
|
-
let a = (s ?
|
|
2747
|
+
let a = (s ? Mt(n.width) : n.width) / r, l = (s ? Mt(n.height) : n.height) / o;
|
|
2748
2748
|
return (!a || !Number.isFinite(a)) && (a = 1), (!l || !Number.isFinite(l)) && (l = 1), {
|
|
2749
2749
|
x: a,
|
|
2750
2750
|
y: l
|
|
@@ -2776,7 +2776,7 @@ function Ve(t, e, n, r) {
|
|
|
2776
2776
|
c *= $.x, f *= $.y, d *= $.x, h *= $.y, c += _, f += A, b = ve(k), k = b.frameElement;
|
|
2777
2777
|
}
|
|
2778
2778
|
}
|
|
2779
|
-
return
|
|
2779
|
+
return Pt({
|
|
2780
2780
|
width: d,
|
|
2781
2781
|
height: h,
|
|
2782
2782
|
x: c,
|
|
@@ -2808,7 +2808,7 @@ function ka(t) {
|
|
|
2808
2808
|
scrollTop: 0
|
|
2809
2809
|
}, f = $e(1);
|
|
2810
2810
|
const d = $e(0), h = Re(r);
|
|
2811
|
-
if ((h || !h && !s) && ((Pe(r) !== "body" ||
|
|
2811
|
+
if ((h || !h && !s) && ((Pe(r) !== "body" || dt(a)) && (c = zt(r)), Re(r))) {
|
|
2812
2812
|
const p = Ve(r);
|
|
2813
2813
|
f = Ue(r), d.x = p.x + r.clientLeft, d.y = p.y + r.clientTop;
|
|
2814
2814
|
}
|
|
@@ -2876,7 +2876,7 @@ function mr(t, e, n) {
|
|
|
2876
2876
|
y: e.y - o.y
|
|
2877
2877
|
};
|
|
2878
2878
|
}
|
|
2879
|
-
return
|
|
2879
|
+
return Pt(r);
|
|
2880
2880
|
}
|
|
2881
2881
|
function fo(t, e) {
|
|
2882
2882
|
const n = Ye(t);
|
|
@@ -2891,7 +2891,7 @@ function Ra(t, e) {
|
|
|
2891
2891
|
let a = s ? Ye(t) : t;
|
|
2892
2892
|
for (; Se(a) && !Zt(a); ) {
|
|
2893
2893
|
const l = xe(a), c = Tn(a);
|
|
2894
|
-
!c && l.position === "fixed" && (o = null), (s ? !c && !o : !c && l.position === "static" && !!o && ["absolute", "fixed"].includes(o.position) ||
|
|
2894
|
+
!c && l.position === "fixed" && (o = null), (s ? !c && !o : !c && l.position === "static" && !!o && ["absolute", "fixed"].includes(o.position) || dt(a) && !c && fo(t, a)) ? r = r.filter((d) => d !== a) : o = l, a = Ye(a);
|
|
2895
2895
|
}
|
|
2896
2896
|
return e.set(t, r), r;
|
|
2897
2897
|
}
|
|
@@ -2904,7 +2904,7 @@ function Ca(t) {
|
|
|
2904
2904
|
} = t;
|
|
2905
2905
|
const a = [...n === "clippingAncestors" ? Ra(e, this._c) : [].concat(n), r], l = a[0], c = a.reduce((f, d) => {
|
|
2906
2906
|
const h = mr(e, d, o);
|
|
2907
|
-
return f.top = Ie(h.top, f.top), f.right =
|
|
2907
|
+
return f.top = Ie(h.top, f.top), f.right = Tt(h.right, f.right), f.bottom = Tt(h.bottom, f.bottom), f.left = Ie(h.left, f.left), f;
|
|
2908
2908
|
}, mr(e, l, o));
|
|
2909
2909
|
return {
|
|
2910
2910
|
width: c.right - c.left,
|
|
@@ -2931,7 +2931,7 @@ function Ta(t, e, n) {
|
|
|
2931
2931
|
};
|
|
2932
2932
|
const c = $e(0);
|
|
2933
2933
|
if (r || !r && !s)
|
|
2934
|
-
if ((Pe(e) !== "body" ||
|
|
2934
|
+
if ((Pe(e) !== "body" || dt(o)) && (l = zt(e)), r) {
|
|
2935
2935
|
const h = Ve(e, !0, s, e);
|
|
2936
2936
|
c.x = h.x + e.clientLeft, c.y = h.y + e.clientTop;
|
|
2937
2937
|
} else
|
|
@@ -2999,9 +2999,9 @@ function La(t, e) {
|
|
|
2999
2999
|
} = t.getBoundingClientRect();
|
|
3000
3000
|
if (l || e(), !h || !p)
|
|
3001
3001
|
return;
|
|
3002
|
-
const g =
|
|
3002
|
+
const g = vt(d), b = vt(o.clientWidth - (f + h)), k = vt(o.clientHeight - (d + p)), $ = vt(f), S = {
|
|
3003
3003
|
rootMargin: -g + "px " + -b + "px " + -k + "px " + -$ + "px",
|
|
3004
|
-
threshold: Ie(0,
|
|
3004
|
+
threshold: Ie(0, Tt(1, c)) || 1
|
|
3005
3005
|
};
|
|
3006
3006
|
let _ = !0;
|
|
3007
3007
|
function A(w) {
|
|
@@ -3077,8 +3077,8 @@ const Aa = pa, Fa = fa, Oa = (t, e, n) => {
|
|
|
3077
3077
|
platform: s
|
|
3078
3078
|
});
|
|
3079
3079
|
};
|
|
3080
|
-
var
|
|
3081
|
-
function
|
|
3080
|
+
var _t = typeof document < "u" ? rs : os;
|
|
3081
|
+
function Lt(t, e) {
|
|
3082
3082
|
if (t === e)
|
|
3083
3083
|
return !0;
|
|
3084
3084
|
if (typeof t != typeof e)
|
|
@@ -3091,7 +3091,7 @@ function At(t, e) {
|
|
|
3091
3091
|
if (n = t.length, n !== e.length)
|
|
3092
3092
|
return !1;
|
|
3093
3093
|
for (r = n; r-- !== 0; )
|
|
3094
|
-
if (!
|
|
3094
|
+
if (!Lt(t[r], e[r]))
|
|
3095
3095
|
return !1;
|
|
3096
3096
|
return !0;
|
|
3097
3097
|
}
|
|
@@ -3102,7 +3102,7 @@ function At(t, e) {
|
|
|
3102
3102
|
return !1;
|
|
3103
3103
|
for (r = n; r-- !== 0; ) {
|
|
3104
3104
|
const s = o[r];
|
|
3105
|
-
if (!(s === "_owner" && t.$$typeof) && !
|
|
3105
|
+
if (!(s === "_owner" && t.$$typeof) && !Lt(t[s], e[s]))
|
|
3106
3106
|
return !1;
|
|
3107
3107
|
}
|
|
3108
3108
|
return !0;
|
|
@@ -3118,7 +3118,7 @@ function vr(t, e) {
|
|
|
3118
3118
|
}
|
|
3119
3119
|
function br(t) {
|
|
3120
3120
|
const e = i.useRef(t);
|
|
3121
|
-
return
|
|
3121
|
+
return _t(() => {
|
|
3122
3122
|
e.current = t;
|
|
3123
3123
|
}), e;
|
|
3124
3124
|
}
|
|
@@ -3144,7 +3144,7 @@ function Ia(t) {
|
|
|
3144
3144
|
middlewareData: {},
|
|
3145
3145
|
isPositioned: !1
|
|
3146
3146
|
}), [p, g] = i.useState(r);
|
|
3147
|
-
|
|
3147
|
+
Lt(p, r) || g(r);
|
|
3148
3148
|
const [b, k] = i.useState(null), [$, T] = i.useState(null), S = i.useCallback((x) => {
|
|
3149
3149
|
x !== W.current && (W.current = x, k(x));
|
|
3150
3150
|
}, []), _ = i.useCallback((x) => {
|
|
@@ -3162,21 +3162,21 @@ function Ia(t) {
|
|
|
3162
3162
|
...N,
|
|
3163
3163
|
isPositioned: !0
|
|
3164
3164
|
};
|
|
3165
|
-
j.current && !
|
|
3165
|
+
j.current && !Lt(O.current, fe) && (O.current = fe, jr.flushSync(() => {
|
|
3166
3166
|
h(fe);
|
|
3167
3167
|
}));
|
|
3168
3168
|
});
|
|
3169
3169
|
}, [p, e, n, ce]);
|
|
3170
|
-
|
|
3170
|
+
_t(() => {
|
|
3171
3171
|
f === !1 && O.current.isPositioned && (O.current.isPositioned = !1, h((x) => ({
|
|
3172
3172
|
...x,
|
|
3173
3173
|
isPositioned: !1
|
|
3174
3174
|
})));
|
|
3175
3175
|
}, [f]);
|
|
3176
3176
|
const j = i.useRef(!1);
|
|
3177
|
-
|
|
3177
|
+
_t(() => (j.current = !0, () => {
|
|
3178
3178
|
j.current = !1;
|
|
3179
|
-
}), []),
|
|
3179
|
+
}), []), _t(() => {
|
|
3180
3180
|
if (A && (W.current = A), w && (V.current = w), A && w) {
|
|
3181
3181
|
if (z.current)
|
|
3182
3182
|
return z.current(A, w, Y);
|
|
@@ -3229,9 +3229,9 @@ const ct = /* @__PURE__ */ i.forwardRef(function(e, n) {
|
|
|
3229
3229
|
container: o,
|
|
3230
3230
|
disablePortal: s = !1
|
|
3231
3231
|
} = e, [a, l] = i.useState(null), c = Le(/* @__PURE__ */ i.isValidElement(r) ? r.ref : null, n);
|
|
3232
|
-
if (
|
|
3232
|
+
if (Ct(() => {
|
|
3233
3233
|
s || l(Na(o) || document.body);
|
|
3234
|
-
}, [o, s]),
|
|
3234
|
+
}, [o, s]), Ct(() => {
|
|
3235
3235
|
if (a && !s)
|
|
3236
3236
|
return gn(n, a), () => {
|
|
3237
3237
|
gn(n, null);
|
|
@@ -3270,7 +3270,7 @@ process.env.NODE_ENV !== "production" && (ct.propTypes = {
|
|
|
3270
3270
|
* By default, it uses the body of the top-level document object,
|
|
3271
3271
|
* so it's simply `document.body` most of the time.
|
|
3272
3272
|
*/
|
|
3273
|
-
container: M.oneOfType([
|
|
3273
|
+
container: M.oneOfType([Rt, M.func]),
|
|
3274
3274
|
/**
|
|
3275
3275
|
* The `children` will be under the DOM hierarchy of the parent component.
|
|
3276
3276
|
* @default false
|
|
@@ -3353,7 +3353,7 @@ const vo = /* @__PURE__ */ i.forwardRef(function(e, n) {
|
|
|
3353
3353
|
strategy: k,
|
|
3354
3354
|
whileElementsMounted: c ? void 0 : wr
|
|
3355
3355
|
}), W = Le(T.setFloating, n);
|
|
3356
|
-
|
|
3356
|
+
Ct(() => {
|
|
3357
3357
|
if (c && h && S.reference && S.floating)
|
|
3358
3358
|
return wr(S.reference, S.floating, A);
|
|
3359
3359
|
}, [c, h, S, A]);
|
|
@@ -3408,7 +3408,7 @@ process.env.NODE_ENV !== "production" && (vo.propTypes = {
|
|
|
3408
3408
|
* or a function that returns either.
|
|
3409
3409
|
* It's used to set the position of the popup.
|
|
3410
3410
|
*/
|
|
3411
|
-
anchor: M.oneOfType([
|
|
3411
|
+
anchor: M.oneOfType([Rt, M.object, M.func]),
|
|
3412
3412
|
/**
|
|
3413
3413
|
* @ignore
|
|
3414
3414
|
*/
|
|
@@ -3417,7 +3417,7 @@ process.env.NODE_ENV !== "production" && (vo.propTypes = {
|
|
|
3417
3417
|
* An HTML element or function that returns one. The container will have the portal children appended to it.
|
|
3418
3418
|
* By default, it uses the body of the top-level document object, so it's `document.body` in these cases.
|
|
3419
3419
|
*/
|
|
3420
|
-
container: M.oneOfType([
|
|
3420
|
+
container: M.oneOfType([Rt, M.func]),
|
|
3421
3421
|
/**
|
|
3422
3422
|
* If `true`, the popup will be rendered where it is defined, without the use of portals.
|
|
3423
3423
|
* @default false
|
|
@@ -3789,7 +3789,7 @@ const Ja = ["children", "closeAfterTransition", "container", "disableAutoFocus",
|
|
|
3789
3789
|
container: a,
|
|
3790
3790
|
disablePortal: d,
|
|
3791
3791
|
children: /* @__PURE__ */ R.jsxs(C, G({}, v, {
|
|
3792
|
-
children: [!g && x ? /* @__PURE__ */ R.jsx(x, G({}, N)) : null, /* @__PURE__ */ R.jsx(
|
|
3792
|
+
children: [!g && x ? /* @__PURE__ */ R.jsx(x, G({}, N)) : null, /* @__PURE__ */ R.jsx(St, {
|
|
3793
3793
|
disableEnforceFocus: c,
|
|
3794
3794
|
disableAutoFocus: l,
|
|
3795
3795
|
disableRestoreFocus: h,
|
|
@@ -3824,7 +3824,7 @@ process.env.NODE_ENV !== "production" && (ko.propTypes = {
|
|
|
3824
3824
|
* By default, it uses the body of the top-level document object,
|
|
3825
3825
|
* so it's simply `document.body` most of the time.
|
|
3826
3826
|
*/
|
|
3827
|
-
container: M.oneOfType([
|
|
3827
|
+
container: M.oneOfType([Rt, M.func]),
|
|
3828
3828
|
/**
|
|
3829
3829
|
* If `true`, the modal will not automatically shift focus to itself when it opens, and
|
|
3830
3830
|
* replace it to the last focused element when it closes.
|
|
@@ -4127,7 +4127,7 @@ const mi = "_primaryButton_1efri_106", et = {
|
|
|
4127
4127
|
]
|
|
4128
4128
|
}
|
|
4129
4129
|
);
|
|
4130
|
-
}, gi = (t, e) =>
|
|
4130
|
+
}, gi = (t, e) => Vr(t) && typeof t.type != "string" && e.includes(t.type), Ke = (t, e) => Nt.toArray(t).filter((n) => gi(n, e)), wi = "_root_1qsmv_106", yr = {
|
|
4131
4131
|
root: wi,
|
|
4132
4132
|
"root--border-radius": "_root--border-radius_1qsmv_116"
|
|
4133
4133
|
}, vi = "_root_12ijz_106", bi = {
|
|
@@ -4189,8 +4189,8 @@ const mi = "_primaryButton_1efri_106", et = {
|
|
|
4189
4189
|
) }), Ci = "_fieldset_jpaz4_106", Si = {
|
|
4190
4190
|
fieldset: Ci
|
|
4191
4191
|
}, Ti = ({ children: t, classname: e, disabled: n, form: r, name: o }) => {
|
|
4192
|
-
const s =
|
|
4193
|
-
if (
|
|
4192
|
+
const s = Nt.map(t, (a) => {
|
|
4193
|
+
if (Vr(a))
|
|
4194
4194
|
return xn(a, { disabled: n });
|
|
4195
4195
|
});
|
|
4196
4196
|
return /* @__PURE__ */ R.jsx(
|
|
@@ -4494,7 +4494,7 @@ function Pr(t, e) {
|
|
|
4494
4494
|
r[o] = r[o].trim().replace(/\\\|/g, "|");
|
|
4495
4495
|
return r;
|
|
4496
4496
|
}
|
|
4497
|
-
function
|
|
4497
|
+
function bt(t, e, n) {
|
|
4498
4498
|
const r = t.length;
|
|
4499
4499
|
if (r === 0)
|
|
4500
4500
|
return "";
|
|
@@ -4560,7 +4560,7 @@ function Uu(t, e) {
|
|
|
4560
4560
|
}).join(`
|
|
4561
4561
|
`);
|
|
4562
4562
|
}
|
|
4563
|
-
class
|
|
4563
|
+
class At {
|
|
4564
4564
|
// set by the lexer
|
|
4565
4565
|
constructor(e) {
|
|
4566
4566
|
de(this, "options");
|
|
@@ -4585,7 +4585,7 @@ class Ft {
|
|
|
4585
4585
|
type: "code",
|
|
4586
4586
|
raw: n[0],
|
|
4587
4587
|
codeBlockStyle: "indented",
|
|
4588
|
-
text: this.options.pedantic ? r :
|
|
4588
|
+
text: this.options.pedantic ? r : bt(r, `
|
|
4589
4589
|
`)
|
|
4590
4590
|
};
|
|
4591
4591
|
}
|
|
@@ -4607,7 +4607,7 @@ class Ft {
|
|
|
4607
4607
|
if (n) {
|
|
4608
4608
|
let r = n[2].trim();
|
|
4609
4609
|
if (/#$/.test(r)) {
|
|
4610
|
-
const o =
|
|
4610
|
+
const o = bt(r, "#");
|
|
4611
4611
|
(this.options.pedantic || !o || / $/.test(o)) && (r = o.trim());
|
|
4612
4612
|
}
|
|
4613
4613
|
return {
|
|
@@ -4630,8 +4630,11 @@ class Ft {
|
|
|
4630
4630
|
blockquote(e) {
|
|
4631
4631
|
const n = this.rules.block.blockquote.exec(e);
|
|
4632
4632
|
if (n) {
|
|
4633
|
-
|
|
4634
|
-
`)
|
|
4633
|
+
let r = n[0].replace(/\n {0,3}((?:=+|-+) *)(?=\n|$)/g, `
|
|
4634
|
+
$1`);
|
|
4635
|
+
r = bt(r.replace(/^ *>[ \t]?/gm, ""), `
|
|
4636
|
+
`);
|
|
4637
|
+
const o = this.lexer.state.top;
|
|
4635
4638
|
this.lexer.state.top = !0;
|
|
4636
4639
|
const s = this.lexer.blockTokens(r);
|
|
4637
4640
|
return this.lexer.state.top = o, {
|
|
@@ -4826,7 +4829,7 @@ class Ft {
|
|
|
4826
4829
|
if (!this.options.pedantic && /^</.test(r)) {
|
|
4827
4830
|
if (!/>$/.test(r))
|
|
4828
4831
|
return;
|
|
4829
|
-
const a =
|
|
4832
|
+
const a = bt(r.slice(0, -1), "\\");
|
|
4830
4833
|
if ((r.length - a.length) % 2 === 0)
|
|
4831
4834
|
return;
|
|
4832
4835
|
} else {
|
|
@@ -4994,13 +4997,13 @@ class Ft {
|
|
|
4994
4997
|
}
|
|
4995
4998
|
}
|
|
4996
4999
|
}
|
|
4997
|
-
const Yu = /^(?: *(?:\n|$))+/, Ku = /^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/, Qu = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,
|
|
5000
|
+
const Yu = /^(?: *(?:\n|$))+/, Ku = /^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/, Qu = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, ft = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, Xu = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, _o = /(?:[*+-]|\d{1,9}[.)])/, Ro = le(/^(?!bull |blockCode|fences|blockquote|heading|html)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g, _o).replace(/blockCode/g, / {4}/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).getRegex(), Ln = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/, Gu = /^[^\n]+/, An = /(?!\s*\])(?:\\.|[^\[\]\\])+/, Ju = le(/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/).replace("label", An).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), e2 = le(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g, _o).getRegex(), Ut = "address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul", Fn = /<!--(?:-?>|[\s\S]*?(?:-->|$))/, t2 = le("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))", "i").replace("comment", Fn).replace("tag", Ut).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), Co = le(Ln).replace("hr", ft).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("|table", "").replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", Ut).getRegex(), n2 = le(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", Co).getRegex(), On = {
|
|
4998
5001
|
blockquote: n2,
|
|
4999
5002
|
code: Ku,
|
|
5000
5003
|
def: Ju,
|
|
5001
5004
|
fences: Qu,
|
|
5002
5005
|
heading: Xu,
|
|
5003
|
-
hr:
|
|
5006
|
+
hr: ft,
|
|
5004
5007
|
html: t2,
|
|
5005
5008
|
lheading: Ro,
|
|
5006
5009
|
list: e2,
|
|
@@ -5008,10 +5011,10 @@ const Yu = /^(?: *(?:\n|$))+/, Ku = /^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/, Qu =
|
|
|
5008
5011
|
paragraph: Co,
|
|
5009
5012
|
table: st,
|
|
5010
5013
|
text: Gu
|
|
5011
|
-
}, Ar = le("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",
|
|
5014
|
+
}, Ar = le("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr", ft).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("blockquote", " {0,3}>").replace("code", " {4}[^\\n]").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", Ut).getRegex(), r2 = {
|
|
5012
5015
|
...On,
|
|
5013
5016
|
table: Ar,
|
|
5014
|
-
paragraph: le(Ln).replace("hr",
|
|
5017
|
+
paragraph: le(Ln).replace("hr", ft).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", Ar).replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", Ut).getRegex()
|
|
5015
5018
|
}, o2 = {
|
|
5016
5019
|
...On,
|
|
5017
5020
|
html: le(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment", Fn).replace(/tag/g, "(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),
|
|
@@ -5020,9 +5023,9 @@ const Yu = /^(?: *(?:\n|$))+/, Ku = /^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/, Qu =
|
|
|
5020
5023
|
fences: st,
|
|
5021
5024
|
// fences not supported
|
|
5022
5025
|
lheading: /^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,
|
|
5023
|
-
paragraph: le(Ln).replace("hr",
|
|
5026
|
+
paragraph: le(Ln).replace("hr", ft).replace("heading", ` *#{1,6} *[^
|
|
5024
5027
|
]`).replace("lheading", Ro).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex()
|
|
5025
|
-
}, So = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, s2 = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, To = /^( {2,}|\\)\n(?!\s*$)/, a2 = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,
|
|
5028
|
+
}, So = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, s2 = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, To = /^( {2,}|\\)\n(?!\s*$)/, a2 = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, ht = "\\p{P}\\p{S}", i2 = le(/^((?![*_])[\spunctuation])/, "u").replace(/punctuation/g, ht).getRegex(), l2 = /\[[^[\]]*?\]\([^\(\)]*?\)|`[^`]*?`|<[^<>]*?>/g, c2 = le(/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/, "u").replace(/punct/g, ht).getRegex(), u2 = le("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)[punct](\\*+)(?=[\\s]|$)|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])|[\\s](\\*+)(?!\\*)(?=[punct])|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])|[^punct\\s](\\*+)(?=[^punct\\s])", "gu").replace(/punct/g, ht).getRegex(), d2 = le("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\\s]|$)|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)|(?!_)[punct\\s](_+)(?=[^punct\\s])|[\\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])", "gu").replace(/punct/g, ht).getRegex(), f2 = le(/\\([punct])/, "gu").replace(/punct/g, ht).getRegex(), h2 = le(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme", /[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email", /[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(), p2 = le(Fn).replace("(?:-->|$)", "-->").getRegex(), m2 = le("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment", p2).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), Ft = /(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/, g2 = le(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label", Ft).replace("href", /<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), Mo = le(/^!?\[(label)\]\[(ref)\]/).replace("label", Ft).replace("ref", An).getRegex(), $o = le(/^!?\[(ref)\](?:\[\])?/).replace("ref", An).getRegex(), w2 = le("reflink|nolink(?!\\()", "g").replace("reflink", Mo).replace("nolink", $o).getRegex(), In = {
|
|
5026
5029
|
_backpedal: st,
|
|
5027
5030
|
// only used for GFM url
|
|
5028
5031
|
anyPunctuation: f2,
|
|
@@ -5045,8 +5048,8 @@ const Yu = /^(?: *(?:\n|$))+/, Ku = /^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/, Qu =
|
|
|
5045
5048
|
url: st
|
|
5046
5049
|
}, v2 = {
|
|
5047
5050
|
...In,
|
|
5048
|
-
link: le(/^!?\[(label)\]\((.*?)\)/).replace("label",
|
|
5049
|
-
reflink: le(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",
|
|
5051
|
+
link: le(/^!?\[(label)\]\((.*?)\)/).replace("label", Ft).getRegex(),
|
|
5052
|
+
reflink: le(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label", Ft).getRegex()
|
|
5050
5053
|
}, bn = {
|
|
5051
5054
|
...In,
|
|
5052
5055
|
escape: le(So).replace("])", "~|])").getRegex(),
|
|
@@ -5058,7 +5061,7 @@ const Yu = /^(?: *(?:\n|$))+/, Ku = /^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/, Qu =
|
|
|
5058
5061
|
...bn,
|
|
5059
5062
|
br: le(To).replace("{2,}", "*").getRegex(),
|
|
5060
5063
|
text: le(bn.text).replace("\\b_", "\\b_| {2,}\\n").replace(/\{2,\}/g, "*").getRegex()
|
|
5061
|
-
},
|
|
5064
|
+
}, kt = {
|
|
5062
5065
|
normal: On,
|
|
5063
5066
|
gfm: r2,
|
|
5064
5067
|
pedantic: o2
|
|
@@ -5075,23 +5078,23 @@ class Ee {
|
|
|
5075
5078
|
de(this, "state");
|
|
5076
5079
|
de(this, "tokenizer");
|
|
5077
5080
|
de(this, "inlineQueue");
|
|
5078
|
-
this.tokens = [], this.tokens.links = /* @__PURE__ */ Object.create(null), this.options = e || We, this.options.tokenizer = this.options.tokenizer || new
|
|
5081
|
+
this.tokens = [], this.tokens.links = /* @__PURE__ */ Object.create(null), this.options = e || We, this.options.tokenizer = this.options.tokenizer || new At(), this.tokenizer = this.options.tokenizer, this.tokenizer.options = this.options, this.tokenizer.lexer = this, this.inlineQueue = [], this.state = {
|
|
5079
5082
|
inLink: !1,
|
|
5080
5083
|
inRawBlock: !1,
|
|
5081
5084
|
top: !0
|
|
5082
5085
|
};
|
|
5083
5086
|
const n = {
|
|
5084
|
-
block:
|
|
5087
|
+
block: kt.normal,
|
|
5085
5088
|
inline: tt.normal
|
|
5086
5089
|
};
|
|
5087
|
-
this.options.pedantic ? (n.block =
|
|
5090
|
+
this.options.pedantic ? (n.block = kt.pedantic, n.inline = tt.pedantic) : this.options.gfm && (n.block = kt.gfm, this.options.breaks ? n.inline = tt.breaks : n.inline = tt.gfm), this.tokenizer.rules = n;
|
|
5088
5091
|
}
|
|
5089
5092
|
/**
|
|
5090
5093
|
* Expose Rules
|
|
5091
5094
|
*/
|
|
5092
5095
|
static get rules() {
|
|
5093
5096
|
return {
|
|
5094
|
-
block:
|
|
5097
|
+
block: kt,
|
|
5095
5098
|
inline: tt
|
|
5096
5099
|
};
|
|
5097
5100
|
}
|
|
@@ -5291,7 +5294,7 @@ class Ee {
|
|
|
5291
5294
|
return n;
|
|
5292
5295
|
}
|
|
5293
5296
|
}
|
|
5294
|
-
class
|
|
5297
|
+
class Ot {
|
|
5295
5298
|
constructor(e) {
|
|
5296
5299
|
de(this, "options");
|
|
5297
5300
|
this.options = e || We;
|
|
@@ -5427,7 +5430,7 @@ class _e {
|
|
|
5427
5430
|
de(this, "options");
|
|
5428
5431
|
de(this, "renderer");
|
|
5429
5432
|
de(this, "textRenderer");
|
|
5430
|
-
this.options = e || We, this.options.renderer = this.options.renderer || new
|
|
5433
|
+
this.options = e || We, this.options.renderer = this.options.renderer || new Ot(), this.renderer = this.options.renderer, this.renderer.options = this.options, this.textRenderer = new Nn();
|
|
5431
5434
|
}
|
|
5432
5435
|
/**
|
|
5433
5436
|
* Static Parse Method
|
|
@@ -5645,20 +5648,20 @@ de(at, "passThroughHooks", /* @__PURE__ */ new Set([
|
|
|
5645
5648
|
"postprocess",
|
|
5646
5649
|
"processAllTokens"
|
|
5647
5650
|
]));
|
|
5648
|
-
var ut, kn,
|
|
5651
|
+
var ut, kn, It, Po;
|
|
5649
5652
|
class k2 {
|
|
5650
5653
|
constructor(...e) {
|
|
5651
5654
|
Jt(this, ut);
|
|
5652
|
-
Jt(this,
|
|
5655
|
+
Jt(this, It);
|
|
5653
5656
|
de(this, "defaults", Pn());
|
|
5654
5657
|
de(this, "options", this.setOptions);
|
|
5655
|
-
de(this, "parse",
|
|
5656
|
-
de(this, "parseInline",
|
|
5658
|
+
de(this, "parse", gt(this, ut, kn).call(this, Ee.lex, _e.parse));
|
|
5659
|
+
de(this, "parseInline", gt(this, ut, kn).call(this, Ee.lexInline, _e.parseInline));
|
|
5657
5660
|
de(this, "Parser", _e);
|
|
5658
|
-
de(this, "Renderer",
|
|
5661
|
+
de(this, "Renderer", Ot);
|
|
5659
5662
|
de(this, "TextRenderer", Nn);
|
|
5660
5663
|
de(this, "Lexer", Ee);
|
|
5661
|
-
de(this, "Tokenizer",
|
|
5664
|
+
de(this, "Tokenizer", At);
|
|
5662
5665
|
de(this, "Hooks", at);
|
|
5663
5666
|
this.use(...e);
|
|
5664
5667
|
}
|
|
@@ -5716,7 +5719,7 @@ class k2 {
|
|
|
5716
5719
|
}
|
|
5717
5720
|
"childTokens" in s && s.childTokens && (n.childTokens[s.name] = s.childTokens);
|
|
5718
5721
|
}), o.extensions = n), r.renderer) {
|
|
5719
|
-
const s = this.defaults.renderer || new
|
|
5722
|
+
const s = this.defaults.renderer || new Ot(this.defaults);
|
|
5720
5723
|
for (const a in r.renderer) {
|
|
5721
5724
|
if (!(a in s))
|
|
5722
5725
|
throw new Error(`renderer '${a}' does not exist`);
|
|
@@ -5731,7 +5734,7 @@ class k2 {
|
|
|
5731
5734
|
o.renderer = s;
|
|
5732
5735
|
}
|
|
5733
5736
|
if (r.tokenizer) {
|
|
5734
|
-
const s = this.defaults.tokenizer || new
|
|
5737
|
+
const s = this.defaults.tokenizer || new At(this.defaults);
|
|
5735
5738
|
for (const a in r.tokenizer) {
|
|
5736
5739
|
if (!(a in s))
|
|
5737
5740
|
throw new Error(`tokenizer '${a}' does not exist`);
|
|
@@ -5789,7 +5792,7 @@ ut = new WeakSet(), kn = function(e, n) {
|
|
|
5789
5792
|
return (r, o) => {
|
|
5790
5793
|
const s = { ...o }, a = { ...this.defaults, ...s };
|
|
5791
5794
|
this.defaults.async === !0 && s.async === !1 && (a.silent || console.warn("marked(): The async option was set to true by an extension. The async: false option sent to parse will be ignored."), a.async = !0);
|
|
5792
|
-
const l =
|
|
5795
|
+
const l = gt(this, It, Po).call(this, !!a.silent, !!a.async);
|
|
5793
5796
|
if (typeof r > "u" || r === null)
|
|
5794
5797
|
return l(new Error("marked(): input parameter is undefined or null"));
|
|
5795
5798
|
if (typeof r != "string")
|
|
@@ -5806,7 +5809,7 @@ ut = new WeakSet(), kn = function(e, n) {
|
|
|
5806
5809
|
return l(c);
|
|
5807
5810
|
}
|
|
5808
5811
|
};
|
|
5809
|
-
},
|
|
5812
|
+
}, It = new WeakSet(), Po = function(e, n) {
|
|
5810
5813
|
return (r) => {
|
|
5811
5814
|
if (r.message += `
|
|
5812
5815
|
Please report this to https://github.com/markedjs/marked.`, e) {
|
|
@@ -5836,11 +5839,11 @@ ie.walkTokens = function(t, e) {
|
|
|
5836
5839
|
ie.parseInline = Be.parseInline;
|
|
5837
5840
|
ie.Parser = _e;
|
|
5838
5841
|
ie.parser = _e.parse;
|
|
5839
|
-
ie.Renderer =
|
|
5842
|
+
ie.Renderer = Ot;
|
|
5840
5843
|
ie.TextRenderer = Nn;
|
|
5841
5844
|
ie.Lexer = Ee;
|
|
5842
5845
|
ie.lexer = Ee.lex;
|
|
5843
|
-
ie.Tokenizer =
|
|
5846
|
+
ie.Tokenizer = At;
|
|
5844
5847
|
ie.Hooks = at;
|
|
5845
5848
|
ie.parse = ie;
|
|
5846
5849
|
ie.options;
|
|
@@ -5850,8 +5853,14 @@ ie.walkTokens;
|
|
|
5850
5853
|
ie.parseInline;
|
|
5851
5854
|
_e.parse;
|
|
5852
5855
|
Ee.lex;
|
|
5853
|
-
function pd({
|
|
5854
|
-
return /* @__PURE__ */ R.jsx(
|
|
5856
|
+
function pd({ className: t, text: e }) {
|
|
5857
|
+
return /* @__PURE__ */ R.jsx(
|
|
5858
|
+
"span",
|
|
5859
|
+
{
|
|
5860
|
+
className: t,
|
|
5861
|
+
dangerouslySetInnerHTML: { __html: ie.parse(e) }
|
|
5862
|
+
}
|
|
5863
|
+
);
|
|
5855
5864
|
}
|
|
5856
5865
|
const x2 = "_menuItem_14dl4_106", y2 = "_highlightFrame_14dl4_118", E2 = "_rightIcon_14dl4_126", _2 = "_leftIcon_14dl4_134", nt = {
|
|
5857
5866
|
menuItem: x2,
|
|
@@ -5947,9 +5956,9 @@ function $2({
|
|
|
5947
5956
|
}
|
|
5948
5957
|
const P2 = "_backdrop_4nnwx_106", L2 = {
|
|
5949
5958
|
backdrop: P2
|
|
5950
|
-
}, Lo =
|
|
5959
|
+
}, Lo = m((t, e) => /* @__PURE__ */ R.jsx("div", { ref: e, ...t, className: L2.backdrop }));
|
|
5951
5960
|
Lo.displayName = "Backdrop";
|
|
5952
|
-
const A2 = "_modal_6agvp_106", F2 = "_modalWrapper_6agvp_114", O2 = "_modalHeader_6agvp_125", I2 = "_modalFooter_6agvp_147",
|
|
5961
|
+
const A2 = "_modal_6agvp_106", F2 = "_modalWrapper_6agvp_114", O2 = "_modalHeader_6agvp_125", I2 = "_modalFooter_6agvp_147", xt = {
|
|
5953
5962
|
modal: A2,
|
|
5954
5963
|
modalWrapper: F2,
|
|
5955
5964
|
modalHeader: O2,
|
|
@@ -5970,11 +5979,11 @@ const A2 = "_modal_6agvp_106", F2 = "_modalWrapper_6agvp_114", O2 = "_modalHeade
|
|
|
5970
5979
|
open: a,
|
|
5971
5980
|
onClose: s,
|
|
5972
5981
|
slots: { backdrop: Lo },
|
|
5973
|
-
className:
|
|
5974
|
-
children: /* @__PURE__ */ R.jsxs("div", { className:
|
|
5975
|
-
/* @__PURE__ */ R.jsx("div", { className:
|
|
5982
|
+
className: xt.modal,
|
|
5983
|
+
children: /* @__PURE__ */ R.jsxs("div", { className: xt.modalWrapper, children: [
|
|
5984
|
+
/* @__PURE__ */ R.jsx("div", { className: xt.modalHeader, children: o }),
|
|
5976
5985
|
r,
|
|
5977
|
-
/* @__PURE__ */ R.jsx("div", { className:
|
|
5986
|
+
/* @__PURE__ */ R.jsx("div", { className: xt.modalFooter, children: /* @__PURE__ */ R.jsx(
|
|
5978
5987
|
$2,
|
|
5979
5988
|
{
|
|
5980
5989
|
onClick: s,
|
|
@@ -5988,10 +5997,10 @@ const A2 = "_modal_6agvp_106", F2 = "_modalWrapper_6agvp_114", O2 = "_modalHeade
|
|
|
5988
5997
|
), N2 = "_navBar_pjatm_106", V2 = {
|
|
5989
5998
|
navBar: N2
|
|
5990
5999
|
}, wd = ({ children: t, onChange: e, value: n }) => {
|
|
5991
|
-
const [r, o] =
|
|
6000
|
+
const [r, o] = Nr(n || ""), s = (a) => {
|
|
5992
6001
|
e(a), o(a);
|
|
5993
6002
|
};
|
|
5994
|
-
return /* @__PURE__ */ R.jsx("ul", { className: V2.navBar, children:
|
|
6003
|
+
return /* @__PURE__ */ R.jsx("ul", { className: V2.navBar, children: Nt.map(
|
|
5995
6004
|
t,
|
|
5996
6005
|
(a) => xn(a, {
|
|
5997
6006
|
active: a.props.id.toLowerCase() === r.toLowerCase(),
|
|
@@ -6023,7 +6032,7 @@ const A2 = "_modal_6agvp_106", F2 = "_modalWrapper_6agvp_114", O2 = "_modalHeade
|
|
|
6023
6032
|
]
|
|
6024
6033
|
}
|
|
6025
6034
|
) });
|
|
6026
|
-
}, D2 = "_wrapper_s4007_106",
|
|
6035
|
+
}, D2 = "_wrapper_s4007_106", yt = {
|
|
6027
6036
|
wrapper: D2,
|
|
6028
6037
|
"wrapper--large": "_wrapper--large_s4007_117",
|
|
6029
6038
|
"wrapper--small": "_wrapper--small_s4007_120",
|
|
@@ -6033,15 +6042,15 @@ const A2 = "_modal_6agvp_106", F2 = "_modalWrapper_6agvp_114", O2 = "_modalHeade
|
|
|
6033
6042
|
return /* @__PURE__ */ R.jsx(
|
|
6034
6043
|
"div",
|
|
6035
6044
|
{
|
|
6036
|
-
className: re(
|
|
6037
|
-
[
|
|
6045
|
+
className: re(yt.wrapper, t, {
|
|
6046
|
+
[yt[`wrapper--${n}`]]: n
|
|
6038
6047
|
}),
|
|
6039
6048
|
"data-testid": "placeholder-thumbnail",
|
|
6040
6049
|
children: /* @__PURE__ */ R.jsx(
|
|
6041
6050
|
"div",
|
|
6042
6051
|
{
|
|
6043
|
-
className: re(
|
|
6044
|
-
[
|
|
6052
|
+
className: re(yt.wrapper, {
|
|
6053
|
+
[yt["wrapper--iconWrapper"]]: n === "large"
|
|
6045
6054
|
}),
|
|
6046
6055
|
children: r
|
|
6047
6056
|
}
|
|
@@ -6052,15 +6061,24 @@ const A2 = "_modal_6agvp_106", F2 = "_modalWrapper_6agvp_114", O2 = "_modalHeade
|
|
|
6052
6061
|
base: Z2
|
|
6053
6062
|
};
|
|
6054
6063
|
var Ao = /* @__PURE__ */ ((t) => (t[t.lg = 16] = "lg", t[t.md = 12] = "md", t[t.sm = 8] = "sm", t[t.xl = 24] = "xl", t))(Ao || {});
|
|
6055
|
-
const kd = ({
|
|
6064
|
+
const kd = ({
|
|
6065
|
+
anchor: t,
|
|
6066
|
+
children: e,
|
|
6067
|
+
container: n,
|
|
6068
|
+
id: r,
|
|
6069
|
+
offset: o = "sm",
|
|
6070
|
+
open: s,
|
|
6071
|
+
placement: a
|
|
6072
|
+
}) => /* @__PURE__ */ R.jsx(
|
|
6056
6073
|
vo,
|
|
6057
6074
|
{
|
|
6058
6075
|
className: z2.base,
|
|
6059
|
-
id:
|
|
6060
|
-
open:
|
|
6076
|
+
id: r,
|
|
6077
|
+
open: s,
|
|
6061
6078
|
anchor: t,
|
|
6062
|
-
offset: Ao[
|
|
6063
|
-
placement:
|
|
6079
|
+
offset: Ao[o],
|
|
6080
|
+
placement: a,
|
|
6081
|
+
container: n,
|
|
6064
6082
|
children: e
|
|
6065
6083
|
}
|
|
6066
6084
|
), q2 = "_radio_1xmmq_106", Or = {
|
|
@@ -6104,7 +6122,7 @@ function yd(t) {
|
|
|
6104
6122
|
function s(l) {
|
|
6105
6123
|
r(l);
|
|
6106
6124
|
}
|
|
6107
|
-
const a =
|
|
6125
|
+
const a = Nt.map(e, (l) => xn(l, {
|
|
6108
6126
|
checked: o === l.props.value,
|
|
6109
6127
|
onChange: s
|
|
6110
6128
|
}));
|
|
@@ -6159,7 +6177,7 @@ const K2 = "_wrapper_5atbg_106", Q2 = "_textInputContainer_5atbg_109", X2 = "_te
|
|
|
6159
6177
|
}
|
|
6160
6178
|
)
|
|
6161
6179
|
] });
|
|
6162
|
-
}, G2 = "_root_tupki_113",
|
|
6180
|
+
}, G2 = "_root_tupki_113", Et = {
|
|
6163
6181
|
root: G2,
|
|
6164
6182
|
"root--24": "_root--24_tupki_120",
|
|
6165
6183
|
"root--28": "_root--28_tupki_124",
|
|
@@ -6181,11 +6199,11 @@ const K2 = "_wrapper_5atbg_106", Q2 = "_textInputContainer_5atbg_109", X2 = "_te
|
|
|
6181
6199
|
size: r,
|
|
6182
6200
|
src: o
|
|
6183
6201
|
}) => {
|
|
6184
|
-
const s =
|
|
6202
|
+
const s = Et["root--isPlaceholder"];
|
|
6185
6203
|
return /* @__PURE__ */ R.jsx(
|
|
6186
6204
|
"div",
|
|
6187
6205
|
{
|
|
6188
|
-
className: re(
|
|
6206
|
+
className: re(Et.root, Et[`root--${r}`], Et[`root--${n}`], {
|
|
6189
6207
|
[s]: e
|
|
6190
6208
|
}),
|
|
6191
6209
|
children: o && /* @__PURE__ */ R.jsx(Lu, { src: o, alt: t })
|