accessibility-react-widget 2.0.8 → 2.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{index-DI7pzQXp.js → index-CryM21Jb.js} +789 -783
- package/dist/main.min.js +1 -1
- package/dist/next.js +1 -1
- package/package.json +1 -1
|
@@ -20,18 +20,18 @@ process.env.NODE_ENV === "production" ? sr.exports = function() {
|
|
|
20
20
|
}() : sr.exports = (hi || (hi = 1, process.env.NODE_ENV !== "production" && function() {
|
|
21
21
|
function e(G) {
|
|
22
22
|
if (G == null) return null;
|
|
23
|
-
if (typeof G == "function") return G.$$typeof ===
|
|
23
|
+
if (typeof G == "function") return G.$$typeof === A ? null : G.displayName || G.name || null;
|
|
24
24
|
if (typeof G == "string") return G;
|
|
25
25
|
switch (G) {
|
|
26
26
|
case d:
|
|
27
27
|
return "Fragment";
|
|
28
|
-
case
|
|
28
|
+
case m:
|
|
29
29
|
return "Profiler";
|
|
30
30
|
case b:
|
|
31
31
|
return "StrictMode";
|
|
32
32
|
case I:
|
|
33
33
|
return "Suspense";
|
|
34
|
-
case
|
|
34
|
+
case f:
|
|
35
35
|
return "SuspenseList";
|
|
36
36
|
case C:
|
|
37
37
|
return "Activity";
|
|
@@ -41,17 +41,17 @@ process.env.NODE_ENV === "production" ? sr.exports = function() {
|
|
|
41
41
|
return "Portal";
|
|
42
42
|
case v:
|
|
43
43
|
return (G.displayName || "Context") + ".Provider";
|
|
44
|
-
case
|
|
44
|
+
case h:
|
|
45
45
|
return (G._context.displayName || "Context") + ".Consumer";
|
|
46
46
|
case S:
|
|
47
|
-
var
|
|
48
|
-
return (G = G.displayName) || (G = (G =
|
|
47
|
+
var M = G.render;
|
|
48
|
+
return (G = G.displayName) || (G = (G = M.displayName || M.name || "") !== "" ? "ForwardRef(" + G + ")" : "ForwardRef"), G;
|
|
49
49
|
case y:
|
|
50
|
-
return (
|
|
50
|
+
return (M = G.displayName || null) !== null ? M : e(G.type) || "Memo";
|
|
51
51
|
case p:
|
|
52
|
-
|
|
52
|
+
M = G._payload, G = G._init;
|
|
53
53
|
try {
|
|
54
|
-
return e(G(
|
|
54
|
+
return e(G(M));
|
|
55
55
|
} catch {
|
|
56
56
|
}
|
|
57
57
|
}
|
|
@@ -63,21 +63,21 @@ process.env.NODE_ENV === "production" ? sr.exports = function() {
|
|
|
63
63
|
function o(G) {
|
|
64
64
|
try {
|
|
65
65
|
t(G);
|
|
66
|
-
var
|
|
66
|
+
var M = !1;
|
|
67
67
|
} catch {
|
|
68
|
-
|
|
68
|
+
M = !0;
|
|
69
69
|
}
|
|
70
|
-
if (
|
|
71
|
-
var E = (
|
|
72
|
-
return E.call(
|
|
70
|
+
if (M) {
|
|
71
|
+
var E = (M = console).error, k = typeof Symbol == "function" && Symbol.toStringTag && G[Symbol.toStringTag] || G.constructor.name || "Object";
|
|
72
|
+
return E.call(M, "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.", k), t(G);
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
function n(G) {
|
|
76
76
|
if (G === d) return "<>";
|
|
77
77
|
if (typeof G == "object" && G !== null && G.$$typeof === p) return "<...>";
|
|
78
78
|
try {
|
|
79
|
-
var
|
|
80
|
-
return
|
|
79
|
+
var M = e(G);
|
|
80
|
+
return M ? "<" + M + ">" : "<...>";
|
|
81
81
|
} catch {
|
|
82
82
|
return "<...>";
|
|
83
83
|
}
|
|
@@ -87,31 +87,31 @@ process.env.NODE_ENV === "production" ? sr.exports = function() {
|
|
|
87
87
|
}
|
|
88
88
|
function i() {
|
|
89
89
|
var G = e(this.type);
|
|
90
|
-
return
|
|
90
|
+
return j[G] || (j[G] = !0), (G = this.props.ref) !== void 0 ? G : null;
|
|
91
91
|
}
|
|
92
|
-
function a(G,
|
|
93
|
-
var ge, U =
|
|
92
|
+
function a(G, M, E, k, z, _, se, re) {
|
|
93
|
+
var ge, U = M.children;
|
|
94
94
|
if (U !== void 0) if (k) {
|
|
95
|
-
if (
|
|
95
|
+
if (V(U)) {
|
|
96
96
|
for (k = 0; k < U.length; k++) s(U[k]);
|
|
97
97
|
Object.freeze && Object.freeze(U);
|
|
98
98
|
}
|
|
99
99
|
} else s(U);
|
|
100
|
-
if (
|
|
100
|
+
if (F.call(M, "key")) {
|
|
101
101
|
U = e(G);
|
|
102
|
-
var ie = Object.keys(
|
|
102
|
+
var ie = Object.keys(M).filter(function($) {
|
|
103
103
|
return $ !== "key";
|
|
104
104
|
});
|
|
105
105
|
k = 0 < ie.length ? "{key: someKey, " + ie.join(": ..., ") + ": ...}" : "{key: someKey}", Z[U + k] || (ie = 0 < ie.length ? "{" + ie.join(": ..., ") + ": ...}" : "{}", Z[U + k] = !0);
|
|
106
106
|
}
|
|
107
107
|
if (U = null, E !== void 0 && (o(E), U = "" + E), function($) {
|
|
108
|
-
if (
|
|
108
|
+
if (F.call($, "key")) {
|
|
109
109
|
var Ne = Object.getOwnPropertyDescriptor($, "key").get;
|
|
110
110
|
if (Ne && Ne.isReactWarning) return !1;
|
|
111
111
|
}
|
|
112
112
|
return $.key !== void 0;
|
|
113
|
-
}(
|
|
114
|
-
else E =
|
|
113
|
+
}(M) && (o(M.key), U = "" + M.key), "key" in M) for (var Me in E = {}, M) Me !== "key" && (E[Me] = M[Me]);
|
|
114
|
+
else E = M;
|
|
115
115
|
return U && function($) {
|
|
116
116
|
function Ne() {
|
|
117
117
|
c || (c = !0);
|
|
@@ -119,25 +119,25 @@ process.env.NODE_ENV === "production" ? sr.exports = function() {
|
|
|
119
119
|
Ne.isReactWarning = !0, Object.defineProperty($, "key", { get: Ne, configurable: !0 });
|
|
120
120
|
}(E, typeof G == "function" && (G.displayName || G.name)), function($, Ne, De, Ye, Ke, nt, ct, lt) {
|
|
121
121
|
return De = nt.ref, $ = { $$typeof: u, type: $, key: Ne, props: nt, _owner: Ke }, (De !== void 0 ? De : null) !== null ? Object.defineProperty($, "ref", { enumerable: !1, get: i }) : Object.defineProperty($, "ref", { enumerable: !1, value: null }), $._store = {}, Object.defineProperty($._store, "validated", { configurable: !1, enumerable: !1, writable: !0, value: 0 }), Object.defineProperty($, "_debugInfo", { configurable: !1, enumerable: !1, writable: !0, value: null }), Object.defineProperty($, "_debugStack", { configurable: !1, enumerable: !1, writable: !0, value: ct }), Object.defineProperty($, "_debugTask", { configurable: !1, enumerable: !1, writable: !0, value: lt }), Object.freeze && (Object.freeze($.props), Object.freeze($)), $;
|
|
122
|
-
}(G, U, _, 0, (ge =
|
|
122
|
+
}(G, U, _, 0, (ge = B.A) === null ? null : ge.getOwner(), E, se, re);
|
|
123
123
|
}
|
|
124
124
|
function s(G) {
|
|
125
125
|
typeof G == "object" && G !== null && G.$$typeof === u && G._store && (G._store.validated = 1);
|
|
126
126
|
}
|
|
127
|
-
var c, l = Be, u = Symbol.for("react.transitional.element"), g = Symbol.for("react.portal"), d = Symbol.for("react.fragment"), b = Symbol.for("react.strict_mode"),
|
|
127
|
+
var c, l = Be, u = Symbol.for("react.transitional.element"), g = Symbol.for("react.portal"), d = Symbol.for("react.fragment"), b = Symbol.for("react.strict_mode"), m = Symbol.for("react.profiler"), h = Symbol.for("react.consumer"), v = Symbol.for("react.context"), S = Symbol.for("react.forward_ref"), I = Symbol.for("react.suspense"), f = Symbol.for("react.suspense_list"), y = Symbol.for("react.memo"), p = Symbol.for("react.lazy"), C = Symbol.for("react.activity"), A = Symbol.for("react.client.reference"), B = l.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, F = Object.prototype.hasOwnProperty, V = Array.isArray, Y = console.createTask ? console.createTask : function() {
|
|
128
128
|
return null;
|
|
129
|
-
},
|
|
129
|
+
}, j = {}, J = (l = { react_stack_bottom_frame: function(G) {
|
|
130
130
|
return G();
|
|
131
131
|
} }).react_stack_bottom_frame.bind(l, r)(), N = Y(n(r)), Z = {};
|
|
132
|
-
Sn.Fragment = d, Sn.jsx = function(G,
|
|
133
|
-
var _ = 1e4 >
|
|
134
|
-
return a(G,
|
|
135
|
-
}, Sn.jsxs = function(G,
|
|
136
|
-
var _ = 1e4 >
|
|
137
|
-
return a(G,
|
|
132
|
+
Sn.Fragment = d, Sn.jsx = function(G, M, E, k, z) {
|
|
133
|
+
var _ = 1e4 > B.recentlyCreatedOwnerStacks++;
|
|
134
|
+
return a(G, M, E, !1, 0, z, _ ? Error("react-stack-top-frame") : J, _ ? Y(n(G)) : N);
|
|
135
|
+
}, Sn.jsxs = function(G, M, E, k, z) {
|
|
136
|
+
var _ = 1e4 > B.recentlyCreatedOwnerStacks++;
|
|
137
|
+
return a(G, M, E, !0, 0, z, _ ? Error("react-stack-top-frame") : J, _ ? Y(n(G)) : N);
|
|
138
138
|
};
|
|
139
139
|
}()), Sn);
|
|
140
|
-
var
|
|
140
|
+
var w = sr.exports, gs = Symbol.for("immer-nothing"), fi = Symbol.for("immer-draftable"), Qe = Symbol.for("immer-state"), Rc = process.env.NODE_ENV !== "production" ? [function(e) {
|
|
141
141
|
return `The plugin for '${e}' has not been loaded into Immer. To enable the plugin, import and call \`enable${e}()\` when initializing your application.`;
|
|
142
142
|
}, function(e) {
|
|
143
143
|
return `produce can only be called on things that are draftable: plain objects, arrays, Map, Set or classes that are marked with '[immerable]: true'. Got '${e}'`;
|
|
@@ -433,7 +433,7 @@ var Xc = new class {
|
|
|
433
433
|
return Wt(e) ? n(e, t) : this.produce(e, (r) => n(r, t));
|
|
434
434
|
}
|
|
435
435
|
}(), hr = Xc.produce;
|
|
436
|
-
const Hc = {}, Pc = "_showSpinner_w7tb4_16",
|
|
436
|
+
const Hc = {}, Pc = "_showSpinner_w7tb4_16", Fc = (e) => x.createElement("svg", { className: "MuiSvgIcon-root MuiSvgIcon-fontSizeLarge css-tzssek-MuiSvgIcon-root", focusable: "false", "aria-hidden": "true", viewBox: "0 0 24 24", "data-testid": "AccessibleIcon", ...e }, x.createElement("circle", { cx: 12, cy: 4, r: 2 }), x.createElement("path", { d: "M19 13v-2c-1.54.02-3.09-.75-4.07-1.83l-1.29-1.43c-.17-.19-.38-.34-.61-.45-.01 0-.01-.01-.02-.01H13c-.35-.2-.75-.3-1.19-.26C10.76 7.11 10 8.04 10 9.09V15c0 1.1.9 2 2 2h5v5h2v-5.5c0-1.1-.9-2-2-2h-3v-3.45c1.29 1.07 3.25 1.94 5 1.95zm-6.17 5c-.41 1.16-1.52 2-2.83 2-1.66 0-3-1.34-3-3 0-1.31.84-2.41 2-2.83V12.1c-2.28.46-4 2.48-4 4.9 0 2.76 2.24 5 5 5 2.42 0 4.44-1.72 4.9-4h-2.07z" }));
|
|
437
437
|
var xo, fs = { exports: {} };
|
|
438
438
|
xo = fs, function() {
|
|
439
439
|
var e = {}.hasOwnProperty;
|
|
@@ -458,7 +458,7 @@ xo = fs, function() {
|
|
|
458
458
|
}
|
|
459
459
|
xo.exports ? (t.default = t, xo.exports = t) : window.classNames = t;
|
|
460
460
|
}();
|
|
461
|
-
const yt = Vc(fs.exports), Si = ({ onShow: e, showSpinner: t }) =>
|
|
461
|
+
const yt = Vc(fs.exports), Si = ({ onShow: e, showSpinner: t }) => w.jsx("a", { onClick: e, role: "button", title: "Open Accessibility Menu", className: yt("_AccessibilityIcon_w7tb4_1", { [Pc]: t }), children: w.jsx(Fc, { title: "AccessibleIcon" }) }), xt = ["h1", "h2", "h3", "h4", "h5", "h6", "span", "p", "a", "label", "i", "button", "img", "ol", "svg"], sn = "accessibilik", we = `root-${sn}`, jc = (e) => x.createElement("svg", { className: "MuiSvgIcon-root MuiSvgIcon-fontSizeLarge css-tzssek-MuiSvgIcon-root", focusable: "false", "aria-hidden": "true", viewBox: "0 0 24 24", "data-testid": "CloseIcon", ...e }, x.createElement("path", { d: "M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z" })), bs = (e) => x.createElement("svg", { className: "MuiSvgIcon-root MuiSvgIcon-fontSizeLarge css-tzssek-MuiSvgIcon-root", focusable: "false", "aria-hidden": "true", viewBox: "0 0 24 24", "data-testid": "RestartAltIcon", ...e }, x.createElement("path", { d: "M12 5V2L8 6l4 4V7c3.31 0 6 2.69 6 6 0 2.97-2.17 5.43-5 5.91v2.02c3.95-.49 7-3.85 7-7.93 0-4.42-3.58-8-8-8zm-6 8c0-1.65.67-3.15 1.76-4.24L6.34 7.34C4.9 8.79 4 10.79 4 13c0 4.08 3.05 7.44 7 7.93v-2.02c-2.83-.48-5-2.94-5-5.91z" }));
|
|
462
462
|
function P() {
|
|
463
463
|
return P = Object.assign ? Object.assign.bind() : function(e) {
|
|
464
464
|
for (var t = 1; t < arguments.length; t++) {
|
|
@@ -525,42 +525,42 @@ function Hr(e) {
|
|
|
525
525
|
const { i18n: o } = t, { i18n: n, defaultNS: r } = zr(Yc) || {}, i = o || n || ys;
|
|
526
526
|
if (i && !i.reportNamespaces && (i.reportNamespaces = new _c()), !i) {
|
|
527
527
|
So("You will need to pass in an i18next instance by using initReactI18next");
|
|
528
|
-
const
|
|
529
|
-
return y.t =
|
|
528
|
+
const f = (p, C) => typeof C == "string" ? C : C && typeof C == "object" && typeof C.defaultValue == "string" ? C.defaultValue : Array.isArray(p) ? p[p.length - 1] : p, y = [f, {}, !1];
|
|
529
|
+
return y.t = f, y.i18n = {}, y.ready = !1, y;
|
|
530
530
|
}
|
|
531
531
|
i.options.react && i.options.react.wait !== void 0 && So("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");
|
|
532
532
|
const a = { ...fr, ...i.options.react, ...t }, { useSuspense: s, keyPrefix: c } = a;
|
|
533
533
|
let l = r || i.options && i.options.defaultNS;
|
|
534
534
|
l = typeof l == "string" ? [l] : l || ["translation"], i.reportNamespaces.addUsedNamespaces && i.reportNamespaces.addUsedNamespaces(l);
|
|
535
|
-
const u = (i.isInitialized || i.initializedStoreOnce) && l.every((
|
|
535
|
+
const u = (i.isInitialized || i.initializedStoreOnce) && l.every((f) => function(y, p) {
|
|
536
536
|
let C = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
537
|
-
return p.languages && p.languages.length ? p.options.ignoreJSONStructure !== void 0 ? p.hasLoadedNamespace(y, { lng: C.lng, precheck: (
|
|
538
|
-
if (C.bindI18n && C.bindI18n.indexOf("languageChanging") > -1 &&
|
|
539
|
-
} }) : function(
|
|
540
|
-
let
|
|
541
|
-
const
|
|
542
|
-
if (
|
|
537
|
+
return p.languages && p.languages.length ? p.options.ignoreJSONStructure !== void 0 ? p.hasLoadedNamespace(y, { lng: C.lng, precheck: (A, B) => {
|
|
538
|
+
if (C.bindI18n && C.bindI18n.indexOf("languageChanging") > -1 && A.services.backendConnector.backend && A.isLanguageChangingTo && !B(A.isLanguageChangingTo, y)) return !1;
|
|
539
|
+
} }) : function(A, B) {
|
|
540
|
+
let F = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
541
|
+
const V = B.languages[0], Y = !!B.options && B.options.fallbackLng, j = B.languages[B.languages.length - 1];
|
|
542
|
+
if (V.toLowerCase() === "cimode") return !0;
|
|
543
543
|
const J = (N, Z) => {
|
|
544
|
-
const G =
|
|
544
|
+
const G = B.services.backendConnector.state[`${N}|${Z}`];
|
|
545
545
|
return G === -1 || G === 2;
|
|
546
546
|
};
|
|
547
|
-
return !(
|
|
547
|
+
return !(F.bindI18n && F.bindI18n.indexOf("languageChanging") > -1 && B.services.backendConnector.backend && B.isLanguageChangingTo && !J(B.isLanguageChangingTo, A) || !B.hasResourceBundle(V, A) && B.services.backendConnector.backend && (!B.options.resources || B.options.partialBundledLanguages) && (!J(V, A) || Y && !J(j, A)));
|
|
548
548
|
}(y, p, C) : (So("i18n.languages were undefined or empty", p.languages), !0);
|
|
549
|
-
}(
|
|
549
|
+
}(f, i, a));
|
|
550
550
|
function g() {
|
|
551
551
|
return i.getFixedT(t.lng || null, a.nsMode === "fallback" ? l : l[0], c);
|
|
552
552
|
}
|
|
553
553
|
const [d, b] = Ie(g);
|
|
554
|
-
let
|
|
555
|
-
t.lng && (
|
|
556
|
-
const
|
|
554
|
+
let m = l.join();
|
|
555
|
+
t.lng && (m = `${t.lng}${m}`);
|
|
556
|
+
const h = ((f) => {
|
|
557
557
|
const y = Ce();
|
|
558
558
|
return Pe(() => {
|
|
559
|
-
y.current =
|
|
560
|
-
}, [
|
|
561
|
-
})(
|
|
559
|
+
y.current = f;
|
|
560
|
+
}, [f, void 0]), y.current;
|
|
561
|
+
})(m), v = Ce(!0);
|
|
562
562
|
Pe(() => {
|
|
563
|
-
const { bindI18n:
|
|
563
|
+
const { bindI18n: f, bindI18nStore: y } = a;
|
|
564
564
|
function p() {
|
|
565
565
|
v.current && b(g);
|
|
566
566
|
}
|
|
@@ -568,24 +568,24 @@ function Hr(e) {
|
|
|
568
568
|
v.current && b(g);
|
|
569
569
|
}) : wi(i, l, () => {
|
|
570
570
|
v.current && b(g);
|
|
571
|
-
})), u &&
|
|
572
|
-
v.current = !1,
|
|
571
|
+
})), u && h && h !== m && v.current && b(g), f && i && i.on(f, p), y && i && i.store.on(y, p), () => {
|
|
572
|
+
v.current = !1, f && i && f.split(" ").forEach((C) => i.off(C, p)), y && i && y.split(" ").forEach((C) => i.store.off(C, p));
|
|
573
573
|
};
|
|
574
|
-
}, [i,
|
|
574
|
+
}, [i, m]);
|
|
575
575
|
const S = Ce(!0);
|
|
576
576
|
Pe(() => {
|
|
577
577
|
v.current && !S.current && b(g), S.current = !1;
|
|
578
578
|
}, [i, c]);
|
|
579
579
|
const I = [d, i, u];
|
|
580
580
|
if (I.t = d, I.i18n = i, I.ready = u, u || !u && !s) return I;
|
|
581
|
-
throw new Promise((
|
|
582
|
-
t.lng ? Gi(i, t.lng, l, () =>
|
|
581
|
+
throw new Promise((f) => {
|
|
582
|
+
t.lng ? Gi(i, t.lng, l, () => f()) : wi(i, l, () => f());
|
|
583
583
|
});
|
|
584
584
|
}
|
|
585
585
|
const $c = ({ onInit: e, onShow: t }) => {
|
|
586
586
|
const { t: o } = Hr();
|
|
587
|
-
return
|
|
588
|
-
}, Uc = () =>
|
|
587
|
+
return w.jsxs("header", { className: "_accHeader_edc9t_1", children: [w.jsx("button", { onClick: e, className: "_accHeader__resetBtn_edc9t_1", children: w.jsx(bs, {}) }), w.jsx("h3", { className: "_accHeader__title_edc9t_23", children: o("accessibility-menu") }), w.jsx("button", { onClick: t, className: "_accHeader__closeBtn_edc9t_1", children: w.jsx(jc, {}) })] });
|
|
588
|
+
}, Uc = () => w.jsx("footer", { className: "_accFooter_1pk2r_1", children: w.jsx("a", { target: "_blank", href: "https://www.linkedin.com/in/vladi-iokhim-26505714b/", children: " Developed By Vladi Iokhim ©" }) });
|
|
589
589
|
function bt(e) {
|
|
590
590
|
return bt = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
|
|
591
591
|
return typeof t;
|
|
@@ -606,7 +606,7 @@ function Is(e) {
|
|
|
606
606
|
}(e, "string");
|
|
607
607
|
return bt(t) == "symbol" ? t : t + "";
|
|
608
608
|
}
|
|
609
|
-
function
|
|
609
|
+
function je(e, t, o) {
|
|
610
610
|
return (t = Is(t)) in e ? Object.defineProperty(e, t, { value: o, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = o, e;
|
|
611
611
|
}
|
|
612
612
|
function Ni(e, t) {
|
|
@@ -623,7 +623,7 @@ function L(e) {
|
|
|
623
623
|
for (var t = 1; t < arguments.length; t++) {
|
|
624
624
|
var o = arguments[t] != null ? arguments[t] : {};
|
|
625
625
|
t % 2 ? Ni(Object(o), !0).forEach(function(n) {
|
|
626
|
-
|
|
626
|
+
je(e, n, o[n]);
|
|
627
627
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(o)) : Ni(Object(o)).forEach(function(n) {
|
|
628
628
|
Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(o, n));
|
|
629
629
|
});
|
|
@@ -764,7 +764,7 @@ var Kc = function() {
|
|
|
764
764
|
return (n = o.parentNode) == null ? void 0 : n.removeChild(o);
|
|
765
765
|
}), this.tags = [], this.ctr = 0;
|
|
766
766
|
}, e;
|
|
767
|
-
}(), Xe = "-ms-", Bi = "-moz-", Q = "-webkit-", ws = "comm", Pr = "rule",
|
|
767
|
+
}(), Xe = "-ms-", Bi = "-moz-", Q = "-webkit-", ws = "comm", Pr = "rule", Fr = "decl", Gs = "@keyframes", qc = Math.abs, so = String.fromCharCode, el = Object.assign;
|
|
768
768
|
function Ns(e) {
|
|
769
769
|
return e.trim();
|
|
770
770
|
}
|
|
@@ -783,7 +783,7 @@ function gn(e, t, o) {
|
|
|
783
783
|
function mt(e) {
|
|
784
784
|
return e.length;
|
|
785
785
|
}
|
|
786
|
-
function
|
|
786
|
+
function jr(e) {
|
|
787
787
|
return e.length;
|
|
788
788
|
}
|
|
789
789
|
function wn(e, t) {
|
|
@@ -888,25 +888,25 @@ function al(e) {
|
|
|
888
888
|
return Ms(Jn("", null, null, null, [""], e = Bs(e), 0, [0], e));
|
|
889
889
|
}
|
|
890
890
|
function Jn(e, t, o, n, r, i, a, s, c) {
|
|
891
|
-
for (var l = 0, u = 0, g = a, d = 0, b = 0,
|
|
891
|
+
for (var l = 0, u = 0, g = a, d = 0, b = 0, m = 0, h = 1, v = 1, S = 1, I = 0, f = "", y = r, p = i, C = n, A = f; v; ) switch (m = I, I = $e()) {
|
|
892
892
|
case 40:
|
|
893
|
-
if (
|
|
894
|
-
yr(
|
|
893
|
+
if (m != 108 && Re(A, g - 1) == 58) {
|
|
894
|
+
yr(A += K(Zn(I), "&", "&\f"), "&\f") != -1 && (S = -1);
|
|
895
895
|
break;
|
|
896
896
|
}
|
|
897
897
|
case 34:
|
|
898
898
|
case 39:
|
|
899
899
|
case 91:
|
|
900
|
-
|
|
900
|
+
A += Zn(I);
|
|
901
901
|
break;
|
|
902
902
|
case 9:
|
|
903
903
|
case 10:
|
|
904
904
|
case 13:
|
|
905
905
|
case 32:
|
|
906
|
-
|
|
906
|
+
A += nl(m);
|
|
907
907
|
break;
|
|
908
908
|
case 92:
|
|
909
|
-
|
|
909
|
+
A += ol(Wn() - 1, 7);
|
|
910
910
|
continue;
|
|
911
911
|
case 47:
|
|
912
912
|
switch (vt()) {
|
|
@@ -915,12 +915,12 @@ function Jn(e, t, o, n, r, i, a, s, c) {
|
|
|
915
915
|
wn(sl(rl($e(), Wn()), t, o), c);
|
|
916
916
|
break;
|
|
917
917
|
default:
|
|
918
|
-
|
|
918
|
+
A += "/";
|
|
919
919
|
}
|
|
920
920
|
break;
|
|
921
|
-
case 123 *
|
|
922
|
-
s[l++] = mt(
|
|
923
|
-
case 125 *
|
|
921
|
+
case 123 * h:
|
|
922
|
+
s[l++] = mt(A) * S;
|
|
923
|
+
case 125 * h:
|
|
924
924
|
case 59:
|
|
925
925
|
case 0:
|
|
926
926
|
switch (I) {
|
|
@@ -928,60 +928,60 @@ function Jn(e, t, o, n, r, i, a, s, c) {
|
|
|
928
928
|
case 125:
|
|
929
929
|
v = 0;
|
|
930
930
|
case 59 + u:
|
|
931
|
-
S == -1 && (
|
|
931
|
+
S == -1 && (A = K(A, /\f/g, "")), b > 0 && mt(A) - g && wn(b > 32 ? Li(A + ";", n, o, g - 1) : Li(K(A, " ", "") + ";", n, o, g - 2), c);
|
|
932
932
|
break;
|
|
933
933
|
case 59:
|
|
934
|
-
|
|
934
|
+
A += ";";
|
|
935
935
|
default:
|
|
936
|
-
if (wn(C = Mi(
|
|
937
|
-
else switch (d === 99 && Re(
|
|
936
|
+
if (wn(C = Mi(A, t, o, l, u, r, s, f, y = [], p = [], g), i), I === 123) if (u === 0) Jn(A, t, C, C, y, i, g, s, p);
|
|
937
|
+
else switch (d === 99 && Re(A, 3) === 110 ? 100 : d) {
|
|
938
938
|
case 100:
|
|
939
939
|
case 108:
|
|
940
940
|
case 109:
|
|
941
941
|
case 115:
|
|
942
|
-
Jn(e, C, C, n && wn(Mi(e, C, C, 0, 0, r, s,
|
|
942
|
+
Jn(e, C, C, n && wn(Mi(e, C, C, 0, 0, r, s, f, r, y = [], g), p), r, p, g, s, n ? y : p);
|
|
943
943
|
break;
|
|
944
944
|
default:
|
|
945
|
-
Jn(
|
|
945
|
+
Jn(A, C, C, C, [""], p, 0, s, p);
|
|
946
946
|
}
|
|
947
947
|
}
|
|
948
|
-
l = u = b = 0,
|
|
948
|
+
l = u = b = 0, h = S = 1, f = A = "", g = a;
|
|
949
949
|
break;
|
|
950
950
|
case 58:
|
|
951
|
-
g = 1 + mt(
|
|
951
|
+
g = 1 + mt(A), b = m;
|
|
952
952
|
default:
|
|
953
|
-
if (
|
|
954
|
-
if (I == 123) --
|
|
955
|
-
else if (I == 125 &&
|
|
953
|
+
if (h < 1) {
|
|
954
|
+
if (I == 123) --h;
|
|
955
|
+
else if (I == 125 && h++ == 0 && tl() == 125) continue;
|
|
956
956
|
}
|
|
957
|
-
switch (
|
|
957
|
+
switch (A += so(I), I * h) {
|
|
958
958
|
case 38:
|
|
959
|
-
S = u > 0 ? 1 : (
|
|
959
|
+
S = u > 0 ? 1 : (A += "\f", -1);
|
|
960
960
|
break;
|
|
961
961
|
case 44:
|
|
962
|
-
s[l++] = (mt(
|
|
962
|
+
s[l++] = (mt(A) - 1) * S, S = 1;
|
|
963
963
|
break;
|
|
964
964
|
case 64:
|
|
965
|
-
vt() === 45 && (
|
|
965
|
+
vt() === 45 && (A += Zn($e())), d = vt(), u = g = mt(f = A += il(Wn())), I++;
|
|
966
966
|
break;
|
|
967
967
|
case 45:
|
|
968
|
-
|
|
968
|
+
m === 45 && mt(A) == 2 && (h = 0);
|
|
969
969
|
}
|
|
970
970
|
}
|
|
971
971
|
return i;
|
|
972
972
|
}
|
|
973
973
|
function Mi(e, t, o, n, r, i, a, s, c, l, u) {
|
|
974
|
-
for (var g = r - 1, d = r === 0 ? i : [""], b =
|
|
974
|
+
for (var g = r - 1, d = r === 0 ? i : [""], b = jr(d), m = 0, h = 0, v = 0; m < n; ++m) for (var S = 0, I = gn(e, g + 1, g = qc(h = a[m])), f = e; S < b; ++S) (f = Ns(h > 0 ? d[S] + " " + I : K(I, /&\f/g, d[S]))) && (c[v++] = f);
|
|
975
975
|
return lo(e, t, o, r === 0 ? Pr : s, c, l, u);
|
|
976
976
|
}
|
|
977
977
|
function sl(e, t, o) {
|
|
978
978
|
return lo(e, t, o, ws, so(Ge), gn(e, 2, -2), 0);
|
|
979
979
|
}
|
|
980
980
|
function Li(e, t, o, n) {
|
|
981
|
-
return lo(e, t, o,
|
|
981
|
+
return lo(e, t, o, Fr, gn(e, 0, n), gn(e, n + 1, -1), n);
|
|
982
982
|
}
|
|
983
983
|
function Zt(e, t) {
|
|
984
|
-
for (var o = "", n =
|
|
984
|
+
for (var o = "", n = jr(e), r = 0; r < n; r++) o += t(e[r], r, e, t) || "";
|
|
985
985
|
return o;
|
|
986
986
|
}
|
|
987
987
|
function cl(e, t, o, n) {
|
|
@@ -989,7 +989,7 @@ function cl(e, t, o, n) {
|
|
|
989
989
|
case "@layer":
|
|
990
990
|
if (e.children.length) break;
|
|
991
991
|
case "@import":
|
|
992
|
-
case
|
|
992
|
+
case Fr:
|
|
993
993
|
return e.return = e.return || e.value;
|
|
994
994
|
case ws:
|
|
995
995
|
return "";
|
|
@@ -1016,24 +1016,24 @@ var ul = function(e, t, o) {
|
|
|
1016
1016
|
Ei.set(e, !0);
|
|
1017
1017
|
for (var r = [], i = function(u, g) {
|
|
1018
1018
|
return Ms(function(d, b) {
|
|
1019
|
-
var
|
|
1019
|
+
var m = -1, h = 44;
|
|
1020
1020
|
do
|
|
1021
|
-
switch (pn(
|
|
1021
|
+
switch (pn(h)) {
|
|
1022
1022
|
case 0:
|
|
1023
|
-
|
|
1023
|
+
h === 38 && vt() === 12 && (b[m] = 1), d[m] += ul(Je - 1, b, m);
|
|
1024
1024
|
break;
|
|
1025
1025
|
case 2:
|
|
1026
|
-
d[
|
|
1026
|
+
d[m] += Zn(h);
|
|
1027
1027
|
break;
|
|
1028
1028
|
case 4:
|
|
1029
|
-
if (
|
|
1030
|
-
d[++
|
|
1029
|
+
if (h === 44) {
|
|
1030
|
+
d[++m] = vt() === 58 ? "&\f" : "", b[m] = d[m].length;
|
|
1031
1031
|
break;
|
|
1032
1032
|
}
|
|
1033
1033
|
default:
|
|
1034
|
-
d[
|
|
1034
|
+
d[m] += so(h);
|
|
1035
1035
|
}
|
|
1036
|
-
while (
|
|
1036
|
+
while (h = $e());
|
|
1037
1037
|
return d;
|
|
1038
1038
|
}(Bs(u), g));
|
|
1039
1039
|
}(t, r), a = o.props, s = 0, c = 0; s < i.length; s++) for (var l = 0; l < a.length; l++, c++) e.props[c] = r[s] ? i[s].replace(/&\f/g, a[l]) : a[l] + " " + i[s];
|
|
@@ -1160,7 +1160,7 @@ function Ls(e, t) {
|
|
|
1160
1160
|
}
|
|
1161
1161
|
var Vi, Ri, pl = [function(e, t, o, n) {
|
|
1162
1162
|
if (e.length > -1 && !e.return) switch (e.type) {
|
|
1163
|
-
case
|
|
1163
|
+
case Fr:
|
|
1164
1164
|
e.return = Ls(e.value, e.length);
|
|
1165
1165
|
break;
|
|
1166
1166
|
case Gs:
|
|
@@ -1191,7 +1191,7 @@ var Vi, Ri, pl = [function(e, t, o, n) {
|
|
|
1191
1191
|
}
|
|
1192
1192
|
var n, r, i = e.stylisPlugins || pl, a = {}, s = [];
|
|
1193
1193
|
n = e.container || document.head, Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="' + t + ' "]'), function(b) {
|
|
1194
|
-
for (var
|
|
1194
|
+
for (var m = b.getAttribute("data-emotion").split(" "), h = 1; h < m.length; h++) a[m[h]] = !0;
|
|
1195
1195
|
s.push(b);
|
|
1196
1196
|
});
|
|
1197
1197
|
var c, l, u = [cl, (l = function(b) {
|
|
@@ -1199,14 +1199,14 @@ var Vi, Ri, pl = [function(e, t, o, n) {
|
|
|
1199
1199
|
}, function(b) {
|
|
1200
1200
|
b.root || (b = b.return) && l(b);
|
|
1201
1201
|
})], g = function(b) {
|
|
1202
|
-
var
|
|
1203
|
-
return function(
|
|
1204
|
-
for (var
|
|
1205
|
-
return
|
|
1202
|
+
var m = jr(b);
|
|
1203
|
+
return function(h, v, S, I) {
|
|
1204
|
+
for (var f = "", y = 0; y < m; y++) f += b[y](h, v, S, I) || "";
|
|
1205
|
+
return f;
|
|
1206
1206
|
};
|
|
1207
1207
|
}([dl, gl].concat(i, u));
|
|
1208
|
-
r = function(b,
|
|
1209
|
-
c =
|
|
1208
|
+
r = function(b, m, h, v) {
|
|
1209
|
+
c = h, Zt(al(b ? b + "{" + m.styles + "}" : m.styles), g), v && (d.inserted[m.name] = !0);
|
|
1210
1210
|
};
|
|
1211
1211
|
var d = { key: t, sheet: new Kc({ key: t, container: n, nonce: e.nonce, speedy: e.speedy, prepend: e.prepend, insertionPoint: e.insertionPoint }), nonce: e.nonce, inserted: a, registered: {}, insert: r };
|
|
1212
1212
|
return d.sheet.hydrate(s), d;
|
|
@@ -1214,8 +1214,8 @@ var Vi, Ri, pl = [function(e, t, o, n) {
|
|
|
1214
1214
|
process.env.NODE_ENV === "production" ? Cr.exports = function() {
|
|
1215
1215
|
if (Vi) return q;
|
|
1216
1216
|
Vi = 1;
|
|
1217
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, o = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, r = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, g = e ? Symbol.for("react.suspense") : 60113, d = e ? Symbol.for("react.suspense_list") : 60120, b = e ? Symbol.for("react.memo") : 60115,
|
|
1218
|
-
function
|
|
1217
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, o = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, r = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, g = e ? Symbol.for("react.suspense") : 60113, d = e ? Symbol.for("react.suspense_list") : 60120, b = e ? Symbol.for("react.memo") : 60115, m = e ? Symbol.for("react.lazy") : 60116, h = e ? Symbol.for("react.block") : 60121, v = e ? Symbol.for("react.fundamental") : 60117, S = e ? Symbol.for("react.responder") : 60118, I = e ? Symbol.for("react.scope") : 60119;
|
|
1218
|
+
function f(p) {
|
|
1219
1219
|
if (typeof p == "object" && p !== null) {
|
|
1220
1220
|
var C = p.$$typeof;
|
|
1221
1221
|
switch (C) {
|
|
@@ -1232,7 +1232,7 @@ process.env.NODE_ENV === "production" ? Cr.exports = function() {
|
|
|
1232
1232
|
switch (p = p && p.$$typeof) {
|
|
1233
1233
|
case s:
|
|
1234
1234
|
case u:
|
|
1235
|
-
case
|
|
1235
|
+
case m:
|
|
1236
1236
|
case b:
|
|
1237
1237
|
case a:
|
|
1238
1238
|
return p;
|
|
@@ -1246,38 +1246,38 @@ process.env.NODE_ENV === "production" ? Cr.exports = function() {
|
|
|
1246
1246
|
}
|
|
1247
1247
|
}
|
|
1248
1248
|
function y(p) {
|
|
1249
|
-
return
|
|
1249
|
+
return f(p) === l;
|
|
1250
1250
|
}
|
|
1251
|
-
return q.AsyncMode = c, q.ConcurrentMode = l, q.ContextConsumer = s, q.ContextProvider = a, q.Element = t, q.ForwardRef = u, q.Fragment = n, q.Lazy =
|
|
1252
|
-
return y(p) ||
|
|
1251
|
+
return q.AsyncMode = c, q.ConcurrentMode = l, q.ContextConsumer = s, q.ContextProvider = a, q.Element = t, q.ForwardRef = u, q.Fragment = n, q.Lazy = m, q.Memo = b, q.Portal = o, q.Profiler = i, q.StrictMode = r, q.Suspense = g, q.isAsyncMode = function(p) {
|
|
1252
|
+
return y(p) || f(p) === c;
|
|
1253
1253
|
}, q.isConcurrentMode = y, q.isContextConsumer = function(p) {
|
|
1254
|
-
return
|
|
1254
|
+
return f(p) === s;
|
|
1255
1255
|
}, q.isContextProvider = function(p) {
|
|
1256
|
-
return
|
|
1256
|
+
return f(p) === a;
|
|
1257
1257
|
}, q.isElement = function(p) {
|
|
1258
1258
|
return typeof p == "object" && p !== null && p.$$typeof === t;
|
|
1259
1259
|
}, q.isForwardRef = function(p) {
|
|
1260
|
-
return
|
|
1260
|
+
return f(p) === u;
|
|
1261
1261
|
}, q.isFragment = function(p) {
|
|
1262
|
-
return
|
|
1262
|
+
return f(p) === n;
|
|
1263
1263
|
}, q.isLazy = function(p) {
|
|
1264
|
-
return
|
|
1264
|
+
return f(p) === m;
|
|
1265
1265
|
}, q.isMemo = function(p) {
|
|
1266
|
-
return
|
|
1266
|
+
return f(p) === b;
|
|
1267
1267
|
}, q.isPortal = function(p) {
|
|
1268
|
-
return
|
|
1268
|
+
return f(p) === o;
|
|
1269
1269
|
}, q.isProfiler = function(p) {
|
|
1270
|
-
return
|
|
1270
|
+
return f(p) === i;
|
|
1271
1271
|
}, q.isStrictMode = function(p) {
|
|
1272
|
-
return
|
|
1272
|
+
return f(p) === r;
|
|
1273
1273
|
}, q.isSuspense = function(p) {
|
|
1274
|
-
return
|
|
1274
|
+
return f(p) === g;
|
|
1275
1275
|
}, q.isValidElementType = function(p) {
|
|
1276
|
-
return typeof p == "string" || typeof p == "function" || p === n || p === l || p === i || p === r || p === g || p === d || typeof p == "object" && p !== null && (p.$$typeof ===
|
|
1277
|
-
}, q.typeOf =
|
|
1276
|
+
return typeof p == "string" || typeof p == "function" || p === n || p === l || p === i || p === r || p === g || p === d || typeof p == "object" && p !== null && (p.$$typeof === m || p.$$typeof === b || p.$$typeof === a || p.$$typeof === s || p.$$typeof === u || p.$$typeof === v || p.$$typeof === S || p.$$typeof === I || p.$$typeof === h);
|
|
1277
|
+
}, q.typeOf = f, q;
|
|
1278
1278
|
}() : Cr.exports = (Ri || (Ri = 1, process.env.NODE_ENV !== "production" && function() {
|
|
1279
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, o = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, r = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, g = e ? Symbol.for("react.suspense") : 60113, d = e ? Symbol.for("react.suspense_list") : 60120, b = e ? Symbol.for("react.memo") : 60115,
|
|
1280
|
-
function
|
|
1279
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, o = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, r = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, g = e ? Symbol.for("react.suspense") : 60113, d = e ? Symbol.for("react.suspense_list") : 60120, b = e ? Symbol.for("react.memo") : 60115, m = e ? Symbol.for("react.lazy") : 60116, h = e ? Symbol.for("react.block") : 60121, v = e ? Symbol.for("react.fundamental") : 60117, S = e ? Symbol.for("react.responder") : 60118, I = e ? Symbol.for("react.scope") : 60119;
|
|
1280
|
+
function f(k) {
|
|
1281
1281
|
if (typeof k == "object" && k !== null) {
|
|
1282
1282
|
var z = k.$$typeof;
|
|
1283
1283
|
switch (z) {
|
|
@@ -1296,7 +1296,7 @@ process.env.NODE_ENV === "production" ? Cr.exports = function() {
|
|
|
1296
1296
|
switch (se) {
|
|
1297
1297
|
case s:
|
|
1298
1298
|
case u:
|
|
1299
|
-
case
|
|
1299
|
+
case m:
|
|
1300
1300
|
case b:
|
|
1301
1301
|
case a:
|
|
1302
1302
|
return se;
|
|
@@ -1309,37 +1309,37 @@ process.env.NODE_ENV === "production" ? Cr.exports = function() {
|
|
|
1309
1309
|
}
|
|
1310
1310
|
}
|
|
1311
1311
|
}
|
|
1312
|
-
var y = c, p = l, C = s,
|
|
1312
|
+
var y = c, p = l, C = s, A = a, B = t, F = u, V = n, Y = m, j = b, J = o, N = i, Z = r, G = g, M = !1;
|
|
1313
1313
|
function E(k) {
|
|
1314
|
-
return
|
|
1314
|
+
return f(k) === l;
|
|
1315
1315
|
}
|
|
1316
|
-
ee.AsyncMode = y, ee.ConcurrentMode = p, ee.ContextConsumer = C, ee.ContextProvider =
|
|
1317
|
-
return
|
|
1316
|
+
ee.AsyncMode = y, ee.ConcurrentMode = p, ee.ContextConsumer = C, ee.ContextProvider = A, ee.Element = B, ee.ForwardRef = F, ee.Fragment = V, ee.Lazy = Y, ee.Memo = j, ee.Portal = J, ee.Profiler = N, ee.StrictMode = Z, ee.Suspense = G, ee.isAsyncMode = function(k) {
|
|
1317
|
+
return M || (M = !0), E(k) || f(k) === c;
|
|
1318
1318
|
}, ee.isConcurrentMode = E, ee.isContextConsumer = function(k) {
|
|
1319
|
-
return
|
|
1319
|
+
return f(k) === s;
|
|
1320
1320
|
}, ee.isContextProvider = function(k) {
|
|
1321
|
-
return
|
|
1321
|
+
return f(k) === a;
|
|
1322
1322
|
}, ee.isElement = function(k) {
|
|
1323
1323
|
return typeof k == "object" && k !== null && k.$$typeof === t;
|
|
1324
1324
|
}, ee.isForwardRef = function(k) {
|
|
1325
|
-
return
|
|
1325
|
+
return f(k) === u;
|
|
1326
1326
|
}, ee.isFragment = function(k) {
|
|
1327
|
-
return
|
|
1327
|
+
return f(k) === n;
|
|
1328
1328
|
}, ee.isLazy = function(k) {
|
|
1329
|
-
return
|
|
1329
|
+
return f(k) === m;
|
|
1330
1330
|
}, ee.isMemo = function(k) {
|
|
1331
|
-
return
|
|
1331
|
+
return f(k) === b;
|
|
1332
1332
|
}, ee.isPortal = function(k) {
|
|
1333
|
-
return
|
|
1333
|
+
return f(k) === o;
|
|
1334
1334
|
}, ee.isProfiler = function(k) {
|
|
1335
|
-
return
|
|
1335
|
+
return f(k) === i;
|
|
1336
1336
|
}, ee.isStrictMode = function(k) {
|
|
1337
|
-
return
|
|
1337
|
+
return f(k) === r;
|
|
1338
1338
|
}, ee.isSuspense = function(k) {
|
|
1339
|
-
return
|
|
1339
|
+
return f(k) === g;
|
|
1340
1340
|
}, ee.isValidElementType = function(k) {
|
|
1341
|
-
return typeof k == "string" || typeof k == "function" || k === n || k === l || k === i || k === r || k === g || k === d || typeof k == "object" && k !== null && (k.$$typeof ===
|
|
1342
|
-
}, ee.typeOf =
|
|
1341
|
+
return typeof k == "string" || typeof k == "function" || k === n || k === l || k === i || k === r || k === g || k === d || typeof k == "object" && k !== null && (k.$$typeof === m || k.$$typeof === b || k.$$typeof === a || k.$$typeof === s || k.$$typeof === u || k.$$typeof === v || k.$$typeof === S || k.$$typeof === I || k.$$typeof === h);
|
|
1342
|
+
}, ee.typeOf = f;
|
|
1343
1343
|
}()), ee);
|
|
1344
1344
|
var Ti = Cr.exports, Oi = {};
|
|
1345
1345
|
Oi[Ti.ForwardRef] = { $$typeof: !0, render: !0, defaultProps: !0, displayName: !0, propTypes: !0 }, Oi[Ti.Memo] = { $$typeof: !0, compare: !0, defaultProps: !0, displayName: !0, propTypes: !0, type: !0 };
|
|
@@ -1381,21 +1381,21 @@ function cn(e, t, o) {
|
|
|
1381
1381
|
return function(l, u, g) {
|
|
1382
1382
|
var d = "";
|
|
1383
1383
|
if (Array.isArray(g)) for (var b = 0; b < g.length; b++) d += cn(l, u, g[b]) + ";";
|
|
1384
|
-
else for (var
|
|
1385
|
-
var
|
|
1386
|
-
if (typeof
|
|
1387
|
-
var v =
|
|
1388
|
-
Xi(v) && (d += Ao(
|
|
1389
|
-
} else if (Array.isArray(
|
|
1384
|
+
else for (var m in g) {
|
|
1385
|
+
var h = g[m];
|
|
1386
|
+
if (typeof h != "object") {
|
|
1387
|
+
var v = h;
|
|
1388
|
+
Xi(v) && (d += Ao(m) + ":" + Hi(m, v) + ";");
|
|
1389
|
+
} else if (Array.isArray(h) && typeof h[0] == "string" && u == null) for (var S = 0; S < h.length; S++) Xi(h[S]) && (d += Ao(m) + ":" + Hi(m, h[S]) + ";");
|
|
1390
1390
|
else {
|
|
1391
|
-
var I = cn(l, u,
|
|
1392
|
-
switch (
|
|
1391
|
+
var I = cn(l, u, h);
|
|
1392
|
+
switch (m) {
|
|
1393
1393
|
case "animation":
|
|
1394
1394
|
case "animationName":
|
|
1395
|
-
d += Ao(
|
|
1395
|
+
d += Ao(m) + ":" + I + ";";
|
|
1396
1396
|
break;
|
|
1397
1397
|
default:
|
|
1398
|
-
d +=
|
|
1398
|
+
d += m + "{" + I + "}";
|
|
1399
1399
|
}
|
|
1400
1400
|
}
|
|
1401
1401
|
}
|
|
@@ -1420,8 +1420,8 @@ function Vs(e, t, o) {
|
|
|
1420
1420
|
Pi.lastIndex = 0;
|
|
1421
1421
|
for (var s, c = ""; (s = Pi.exec(r)) !== null; ) c += "-" + s[1];
|
|
1422
1422
|
var l = function(u) {
|
|
1423
|
-
for (var g, d = 0, b = 0,
|
|
1424
|
-
switch (
|
|
1423
|
+
for (var g, d = 0, b = 0, m = u.length; m >= 4; ++b, m -= 4) g = 1540483477 * (65535 & (g = 255 & u.charCodeAt(b) | (255 & u.charCodeAt(++b)) << 8 | (255 & u.charCodeAt(++b)) << 16 | (255 & u.charCodeAt(++b)) << 24)) + (59797 * (g >>> 16) << 16), d = 1540483477 * (65535 & (g ^= g >>> 24)) + (59797 * (g >>> 16) << 16) ^ 1540483477 * (65535 & d) + (59797 * (d >>> 16) << 16);
|
|
1424
|
+
switch (m) {
|
|
1425
1425
|
case 3:
|
|
1426
1426
|
d ^= (255 & u.charCodeAt(b + 2)) << 16;
|
|
1427
1427
|
case 2:
|
|
@@ -1437,7 +1437,7 @@ var vl = !!x.useInsertionEffect && x.useInsertionEffect || function(e) {
|
|
|
1437
1437
|
return e();
|
|
1438
1438
|
}, Rs = x.createContext(typeof HTMLElement < "u" ? ml({ key: "css" }) : null);
|
|
1439
1439
|
Rs.Provider;
|
|
1440
|
-
var wo,
|
|
1440
|
+
var wo, Fi, yl = function(e) {
|
|
1441
1441
|
return us(function(t, o) {
|
|
1442
1442
|
var n = zr(Rs);
|
|
1443
1443
|
return e(t, n, o);
|
|
@@ -1462,8 +1462,8 @@ var wo, ji, yl = function(e) {
|
|
|
1462
1462
|
var r = e[Sr], i = [n], a = "";
|
|
1463
1463
|
typeof e.className == "string" ? a = function(u, g, d) {
|
|
1464
1464
|
var b = "";
|
|
1465
|
-
return d.split(" ").forEach(function(
|
|
1466
|
-
u[
|
|
1465
|
+
return d.split(" ").forEach(function(m) {
|
|
1466
|
+
u[m] !== void 0 ? g.push(u[m] + ";") : m && (b += m + " ");
|
|
1467
1467
|
}), b;
|
|
1468
1468
|
}(t.registered, i, e.className) : e.className != null && (a = e.className + " ");
|
|
1469
1469
|
var s = Vs(i, void 0, x.useContext(Il));
|
|
@@ -1487,12 +1487,12 @@ function Wr() {
|
|
|
1487
1487
|
for (var e = arguments.length, t = new Array(e), o = 0; o < e; o++) t[o] = arguments[o];
|
|
1488
1488
|
return Vs(t);
|
|
1489
1489
|
}
|
|
1490
|
-
wo = H || (H = {}),
|
|
1490
|
+
wo = H || (H = {}), Fi || (Fi = wo.JSX || (wo.JSX = {}));
|
|
1491
1491
|
const Al = Math.min, wl = Math.max, Gn = Math.round, Nn = Math.floor, Ar = (e) => ({ x: e, y: e });
|
|
1492
1492
|
function uo() {
|
|
1493
1493
|
return typeof window < "u";
|
|
1494
1494
|
}
|
|
1495
|
-
function
|
|
1495
|
+
function ji(e) {
|
|
1496
1496
|
return Os(e) ? (e.nodeName || "").toLowerCase() : "#document";
|
|
1497
1497
|
}
|
|
1498
1498
|
function wt(e) {
|
|
@@ -1523,12 +1523,12 @@ function Zr(e) {
|
|
|
1523
1523
|
}
|
|
1524
1524
|
function Xs(e) {
|
|
1525
1525
|
const t = function(o) {
|
|
1526
|
-
if (
|
|
1526
|
+
if (ji(o) === "html") return o;
|
|
1527
1527
|
const n = o.assignedSlot || o.parentNode || Wi(o) && o.host || Ts(o);
|
|
1528
1528
|
return Wi(n) ? n.host : n;
|
|
1529
1529
|
}(e);
|
|
1530
1530
|
return function(o) {
|
|
1531
|
-
return Nl.has(
|
|
1531
|
+
return Nl.has(ji(o));
|
|
1532
1532
|
}(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : wr(t) && zs(t) ? t : Xs(t);
|
|
1533
1533
|
}
|
|
1534
1534
|
function Un(e, t, o) {
|
|
@@ -1554,8 +1554,8 @@ function Zi(e) {
|
|
|
1554
1554
|
const o = t.getBoundingClientRect(), { width: n, height: r, $: i } = function(c) {
|
|
1555
1555
|
const l = Zr(c);
|
|
1556
1556
|
let u = parseFloat(l.width) || 0, g = parseFloat(l.height) || 0;
|
|
1557
|
-
const d = wr(c), b = d ? c.offsetWidth : u,
|
|
1558
|
-
return
|
|
1557
|
+
const d = wr(c), b = d ? c.offsetWidth : u, m = d ? c.offsetHeight : g, h = Gn(u) !== b || Gn(g) !== m;
|
|
1558
|
+
return h && (u = b, g = m), { width: u, height: g, $: h };
|
|
1559
1559
|
}(t);
|
|
1560
1560
|
let a = (i ? Gn(o.width) : o.width) / n, s = (i ? Gn(o.height) : o.height) / r;
|
|
1561
1561
|
return a && Number.isFinite(a) || (a = 1), s && Number.isFinite(s) || (s = 1), { x: a, y: s };
|
|
@@ -1569,15 +1569,15 @@ function Ji(e, t, o, n) {
|
|
|
1569
1569
|
let c = (r.left + s.x) / a.x, l = (r.top + s.y) / a.y, u = r.width / a.x, g = r.height / a.y;
|
|
1570
1570
|
if (i) {
|
|
1571
1571
|
const d = n;
|
|
1572
|
-
let b = wt(i),
|
|
1573
|
-
for (;
|
|
1574
|
-
const
|
|
1575
|
-
c *=
|
|
1572
|
+
let b = wt(i), m = Gr(b);
|
|
1573
|
+
for (; m && n && d !== b; ) {
|
|
1574
|
+
const h = Zi(m), v = m.getBoundingClientRect(), S = Zr(m), I = v.left + (m.clientLeft + parseFloat(S.paddingLeft)) * h.x, f = v.top + (m.clientTop + parseFloat(S.paddingTop)) * h.y;
|
|
1575
|
+
c *= h.x, l *= h.y, u *= h.x, g *= h.y, c += I, l += f, b = wt(m), m = Gr(b);
|
|
1576
1576
|
}
|
|
1577
1577
|
}
|
|
1578
1578
|
return function(d) {
|
|
1579
|
-
const { x: b, y:
|
|
1580
|
-
return { width:
|
|
1579
|
+
const { x: b, y: m, width: h, height: v } = d;
|
|
1580
|
+
return { width: h, height: v, top: m, left: b, right: b + h, bottom: m + v, x: b, y: m };
|
|
1581
1581
|
}({ width: u, height: g, x: c, y: l });
|
|
1582
1582
|
}
|
|
1583
1583
|
function Di(e, t) {
|
|
@@ -1647,58 +1647,58 @@ function Vl(e) {
|
|
|
1647
1647
|
function Mn(e, t, o) {
|
|
1648
1648
|
return e ? t : o;
|
|
1649
1649
|
}
|
|
1650
|
-
var Rl = ["children", "innerProps"], Tl = ["children", "innerProps"], Qi, Go, No,
|
|
1650
|
+
var Rl = ["children", "innerProps"], Tl = ["children", "innerProps"], Qi, Go, No, Fs = function(e) {
|
|
1651
1651
|
return e === "auto" ? "bottom" : e;
|
|
1652
|
-
},
|
|
1653
|
-
var t = e.children, o = e.minMenuHeight, n = e.maxMenuHeight, r = e.menuPlacement, i = e.menuPosition, a = e.menuShouldScrollIntoView, s = e.theme, c = (zr(
|
|
1652
|
+
}, js = ls(null), Ol = function(e) {
|
|
1653
|
+
var t = e.children, o = e.minMenuHeight, n = e.maxMenuHeight, r = e.menuPlacement, i = e.menuPosition, a = e.menuShouldScrollIntoView, s = e.theme, c = (zr(js) || {}).setPortalPlacement, l = Ce(null), u = fe(Ie(n), 2), g = u[0], d = u[1], b = fe(Ie(null), 2), m = b[0], h = b[1], v = s.spacing.controlHeight;
|
|
1654
1654
|
return Nr(function() {
|
|
1655
1655
|
var S = l.current;
|
|
1656
1656
|
if (S) {
|
|
1657
|
-
var I = i === "fixed",
|
|
1658
|
-
var p = y.maxHeight, C = y.menuEl,
|
|
1657
|
+
var I = i === "fixed", f = function(y) {
|
|
1658
|
+
var p = y.maxHeight, C = y.menuEl, A = y.minHeight, B = y.placement, F = y.shouldScroll, V = y.isFixedPosition, Y = y.controlHeight, j = function(lt) {
|
|
1659
1659
|
var _e = getComputedStyle(lt), ot = _e.position === "absolute", rt = /(auto|scroll)/;
|
|
1660
1660
|
if (_e.position === "fixed") return document.documentElement;
|
|
1661
1661
|
for (var It = lt; It = It.parentElement; ) if (_e = getComputedStyle(It), (!ot || _e.position !== "static") && rt.test(_e.overflow + _e.overflowY + _e.overflowX)) return It;
|
|
1662
1662
|
return document.documentElement;
|
|
1663
1663
|
}(C), J = { placement: "bottom", maxHeight: p };
|
|
1664
1664
|
if (!C || !C.offsetParent) return J;
|
|
1665
|
-
var N, Z =
|
|
1666
|
-
switch (
|
|
1665
|
+
var N, Z = j.getBoundingClientRect().height, G = C.getBoundingClientRect(), M = G.bottom, E = G.height, k = G.top, z = C.offsetParent.getBoundingClientRect().top, _ = V || go(N = j) ? window.innerHeight : N.clientHeight, se = Hs(j), re = parseInt(getComputedStyle(C).marginBottom, 10), ge = parseInt(getComputedStyle(C).marginTop, 10), U = z - ge, ie = _ - k, Me = U + se, $ = Z - se - k, Ne = M - _ + se + re, De = se + k - ge, Ye = 160;
|
|
1666
|
+
switch (B) {
|
|
1667
1667
|
case "auto":
|
|
1668
1668
|
case "bottom":
|
|
1669
1669
|
if (ie >= E) return { placement: "bottom", maxHeight: p };
|
|
1670
|
-
if ($ >= E && !
|
|
1671
|
-
if (!
|
|
1672
|
-
if (
|
|
1673
|
-
var Ke = p, nt =
|
|
1674
|
-
return nt >=
|
|
1670
|
+
if ($ >= E && !V) return F && kn(j, Ne, Ye), { placement: "bottom", maxHeight: p };
|
|
1671
|
+
if (!V && $ >= A || V && ie >= A) return F && kn(j, Ne, Ye), { placement: "bottom", maxHeight: V ? ie - re : $ - re };
|
|
1672
|
+
if (B === "auto" || V) {
|
|
1673
|
+
var Ke = p, nt = V ? U : Me;
|
|
1674
|
+
return nt >= A && (Ke = Math.min(nt - re - Y, p)), { placement: "top", maxHeight: Ke };
|
|
1675
1675
|
}
|
|
1676
|
-
if (
|
|
1676
|
+
if (B === "bottom") return F && Kn(j, Ne), { placement: "bottom", maxHeight: p };
|
|
1677
1677
|
break;
|
|
1678
1678
|
case "top":
|
|
1679
1679
|
if (U >= E) return { placement: "top", maxHeight: p };
|
|
1680
|
-
if (Me >= E && !
|
|
1681
|
-
if (!
|
|
1680
|
+
if (Me >= E && !V) return F && kn(j, De, Ye), { placement: "top", maxHeight: p };
|
|
1681
|
+
if (!V && Me >= A || V && U >= A) {
|
|
1682
1682
|
var ct = p;
|
|
1683
|
-
return (!
|
|
1683
|
+
return (!V && Me >= A || V && U >= A) && (ct = V ? U - ge : Me - ge), F && kn(j, De, Ye), { placement: "top", maxHeight: ct };
|
|
1684
1684
|
}
|
|
1685
1685
|
return { placement: "bottom", maxHeight: p };
|
|
1686
1686
|
default:
|
|
1687
|
-
throw new Error('Invalid placement provided "'.concat(
|
|
1687
|
+
throw new Error('Invalid placement provided "'.concat(B, '".'));
|
|
1688
1688
|
}
|
|
1689
1689
|
return J;
|
|
1690
1690
|
}({ maxHeight: n, menuEl: S, minHeight: o, placement: r, shouldScroll: a && !I, isFixedPosition: I, controlHeight: v });
|
|
1691
|
-
d(
|
|
1691
|
+
d(f.maxHeight), h(f.placement), c == null || c(f.placement);
|
|
1692
1692
|
}
|
|
1693
|
-
}, [n, r, i, a, o, c, v]), t({ ref: l, placerProps: L(L({}, e), {}, { placement:
|
|
1693
|
+
}, [n, r, i, a, o, c, v]), t({ ref: l, placerProps: L(L({}, e), {}, { placement: m || Fs(r), maxHeight: g }) });
|
|
1694
1694
|
}, Ws = function(e, t) {
|
|
1695
1695
|
var o = e.theme, n = o.spacing.baseUnit, r = o.colors;
|
|
1696
1696
|
return L({ textAlign: "center" }, t ? {} : { color: r.neutral40, padding: "".concat(2 * n, "px ").concat(3 * n, "px") });
|
|
1697
|
-
}, zl = Ws, Xl = Ws, Hl = ["size"], Pl = ["innerProps", "isRtl", "size"], jl = process.env.NODE_ENV === "production" ? { name: "8mmkcg", styles: "display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0" } : { name: "tj5bde-Svg", styles: "display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0;label:Svg;", map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHtcbiAgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWUsXG4gIENTU09iamVjdFdpdGhMYWJlbCxcbiAgR3JvdXBCYXNlLFxufSBmcm9tICcuLi90eXBlcyc7XG5pbXBvcnQgeyBnZXRTdHlsZVByb3BzIH0gZnJvbSAnLi4vdXRpbHMnO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgSWNvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBTdmcgPSAoe1xuICBzaXplLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzdmcnXSA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XG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oe1xuICBpbm5lclByb3BzLFxuICBpc1J0bCxcbiAgc2l6ZSA9IDQsXG4gIC4uLnJlc3RQcm9wc1xufTogTG9hZGluZ0luZGljYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+KSA9PiB7XG4gIHJldHVybiAoXG4gICAgPGRpdlxuICAgICAgey4uLmdldFN0eWxlUHJvcHMoXG4gICAgICAgIHsgLi4ucmVzdFByb3BzLCBpbm5lclByb3BzLCBpc1J0bCwgc2l6ZSB9LFxuICAgICAgICAnbG9hZGluZ0luZGljYXRvcicsXG4gICAgICAgIHtcbiAgICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */", toString: function() {
|
|
1697
|
+
}, zl = Ws, Xl = Ws, Hl = ["size"], Pl = ["innerProps", "isRtl", "size"], Fl = process.env.NODE_ENV === "production" ? { name: "8mmkcg", styles: "display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0" } : { name: "tj5bde-Svg", styles: "display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0;label:Svg;", map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwc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ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */", toString: function() {
|
|
1698
1698
|
return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).";
|
|
1699
1699
|
} }, Zs = function(e) {
|
|
1700
1700
|
var t = e.size, o = st(e, Hl);
|
|
1701
|
-
return H("svg", P({ height: t, width: t, viewBox: "0 0 20 20", "aria-hidden": "true", focusable: "false", css:
|
|
1701
|
+
return H("svg", P({ height: t, width: t, viewBox: "0 0 20 20", "aria-hidden": "true", focusable: "false", css: Fl }, o));
|
|
1702
1702
|
}, ko = function(e) {
|
|
1703
1703
|
return H(Zs, P({ size: 20 }, e), H("path", { d: "M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z" }));
|
|
1704
1704
|
}, Ki = function(e) {
|
|
@@ -1706,7 +1706,7 @@ var Rl = ["children", "innerProps"], Tl = ["children", "innerProps"], Qi, Go, No
|
|
|
1706
1706
|
}, Js = function(e, t) {
|
|
1707
1707
|
var o = e.isFocused, n = e.theme, r = n.spacing.baseUnit, i = n.colors;
|
|
1708
1708
|
return L({ label: "indicatorContainer", display: "flex", transition: "color 150ms" }, t ? {} : { color: o ? i.neutral60 : i.neutral20, padding: 2 * r, ":hover": { color: o ? i.neutral80 : i.neutral40 } });
|
|
1709
|
-
},
|
|
1709
|
+
}, jl = Js, Wl = Js, Zl = function() {
|
|
1710
1710
|
var e = Wr.apply(void 0, arguments), t = "animation-" + e.name;
|
|
1711
1711
|
return { name: t, styles: "@keyframes " + t + "{" + e.styles + "}", anim: 1, toString: function() {
|
|
1712
1712
|
return "_EMO_" + this.name + "_" + this.styles + "_EMO_";
|
|
@@ -1758,26 +1758,26 @@ var Rl = ["children", "innerProps"], Tl = ["children", "innerProps"], Qi, Go, No
|
|
|
1758
1758
|
var t = e.children, o = e.innerProps, n = e.innerRef, r = e.isMulti;
|
|
1759
1759
|
return H("div", P({}, ve(e, "menuList", { "menu-list": !0, "menu-list--is-multi": r }), { ref: n }, o), t);
|
|
1760
1760
|
}, MenuPortal: function(e) {
|
|
1761
|
-
var t = e.appendTo, o = e.children, n = e.controlElement, r = e.innerProps, i = e.menuPlacement, a = e.menuPosition, s = Ce(null), c = Ce(null), l = fe(Ie(
|
|
1761
|
+
var t = e.appendTo, o = e.children, n = e.controlElement, r = e.innerProps, i = e.menuPlacement, a = e.menuPosition, s = Ce(null), c = Ce(null), l = fe(Ie(Fs(i)), 2), u = l[0], g = l[1], d = St(function() {
|
|
1762
1762
|
return { setPortalPlacement: g };
|
|
1763
|
-
}, []), b = fe(Ie(null), 2),
|
|
1763
|
+
}, []), b = fe(Ie(null), 2), m = b[0], h = b[1], v = He(function() {
|
|
1764
1764
|
if (n) {
|
|
1765
|
-
var y = function(
|
|
1766
|
-
var
|
|
1767
|
-
return { bottom:
|
|
1765
|
+
var y = function(A) {
|
|
1766
|
+
var B = A.getBoundingClientRect();
|
|
1767
|
+
return { bottom: B.bottom, height: B.height, left: B.left, right: B.right, top: B.top, width: B.width };
|
|
1768
1768
|
}(n), p = a === "fixed" ? 0 : window.pageYOffset, C = y[u] + p;
|
|
1769
|
-
C === (
|
|
1769
|
+
C === (m == null ? void 0 : m.offset) && y.left === (m == null ? void 0 : m.rect.left) && y.width === (m == null ? void 0 : m.rect.width) || h({ offset: C, rect: y });
|
|
1770
1770
|
}
|
|
1771
|
-
}, [n, a, u,
|
|
1771
|
+
}, [n, a, u, m == null ? void 0 : m.offset, m == null ? void 0 : m.rect.left, m == null ? void 0 : m.rect.width]);
|
|
1772
1772
|
Nr(function() {
|
|
1773
1773
|
v();
|
|
1774
1774
|
}, [v]);
|
|
1775
1775
|
var S = He(function() {
|
|
1776
|
-
typeof c.current == "function" && (c.current(), c.current = null), n && s.current && (c.current = function(y, p, C,
|
|
1777
|
-
|
|
1778
|
-
const { ancestorScroll:
|
|
1776
|
+
typeof c.current == "function" && (c.current(), c.current = null), n && s.current && (c.current = function(y, p, C, A) {
|
|
1777
|
+
A === void 0 && (A = {});
|
|
1778
|
+
const { ancestorScroll: B = !0, ancestorResize: F = !0, elementResize: V = typeof ResizeObserver == "function", layoutShift: Y = typeof IntersectionObserver == "function", animationFrame: j = !1 } = A, J = Jr(y), N = B || F ? [...J ? Un(J) : [], ...Un(p)] : [];
|
|
1779
1779
|
N.forEach((z) => {
|
|
1780
|
-
|
|
1780
|
+
B && z.addEventListener("scroll", C, { passive: !0 }), F && z.addEventListener("resize", C);
|
|
1781
1781
|
});
|
|
1782
1782
|
const Z = J && Y ? function(z, _) {
|
|
1783
1783
|
let se, re = null;
|
|
@@ -1810,23 +1810,23 @@ var Rl = ["children", "innerProps"], Tl = ["children", "innerProps"], Qi, Go, No
|
|
|
1810
1810
|
re.observe(z);
|
|
1811
1811
|
}(!0), U;
|
|
1812
1812
|
}(J, C) : null;
|
|
1813
|
-
let G,
|
|
1814
|
-
|
|
1813
|
+
let G, M = -1, E = null;
|
|
1814
|
+
V && (E = new ResizeObserver((z) => {
|
|
1815
1815
|
let [_] = z;
|
|
1816
|
-
_ && _.target === J && E && (E.unobserve(p), cancelAnimationFrame(
|
|
1816
|
+
_ && _.target === J && E && (E.unobserve(p), cancelAnimationFrame(M), M = requestAnimationFrame(() => {
|
|
1817
1817
|
var se;
|
|
1818
1818
|
(se = E) == null || se.observe(p);
|
|
1819
1819
|
})), C();
|
|
1820
|
-
}), J && !
|
|
1821
|
-
let k =
|
|
1822
|
-
return
|
|
1820
|
+
}), J && !j && E.observe(J), E.observe(p));
|
|
1821
|
+
let k = j ? Ji(y) : null;
|
|
1822
|
+
return j && function z() {
|
|
1823
1823
|
const _ = Ji(y);
|
|
1824
1824
|
k && !Di(k, _) && C(), k = _, G = requestAnimationFrame(z);
|
|
1825
1825
|
}(), C(), () => {
|
|
1826
1826
|
var z;
|
|
1827
1827
|
N.forEach((_) => {
|
|
1828
|
-
|
|
1829
|
-
}), Z == null || Z(), (z = E) == null || z.disconnect(), E = null,
|
|
1828
|
+
B && _.removeEventListener("scroll", C), F && _.removeEventListener("resize", C);
|
|
1829
|
+
}), Z == null || Z(), (z = E) == null || z.disconnect(), E = null, j && cancelAnimationFrame(G);
|
|
1830
1830
|
};
|
|
1831
1831
|
}(n, s.current, v, { elementResize: "ResizeObserver" in window }));
|
|
1832
1832
|
}, [n, v]);
|
|
@@ -1836,9 +1836,9 @@ var Rl = ["children", "innerProps"], Tl = ["children", "innerProps"], Qi, Go, No
|
|
|
1836
1836
|
var I = He(function(y) {
|
|
1837
1837
|
s.current = y, S();
|
|
1838
1838
|
}, [S]);
|
|
1839
|
-
if (!t && a !== "fixed" || !
|
|
1840
|
-
var
|
|
1841
|
-
return H(
|
|
1839
|
+
if (!t && a !== "fixed" || !m) return null;
|
|
1840
|
+
var f = H("div", P({ ref: I }, ve(L(L({}, e), {}, { offset: m.offset, position: a, rect: m.rect }), "menuPortal", { "menu-portal": !0 }), r), o);
|
|
1841
|
+
return H(js.Provider, { value: d }, t ? ds(f, t) : f);
|
|
1842
1842
|
}, LoadingMessage: function(e) {
|
|
1843
1843
|
var t = e.children, o = t === void 0 ? "Loading..." : t, n = e.innerProps, r = st(e, Tl);
|
|
1844
1844
|
return H("div", P({}, ve(L(L({}, r), {}, { children: o, innerProps: n }), "loadingMessage", { "menu-notice": !0, "menu-notice--loading": !0 }), n), o);
|
|
@@ -1910,8 +1910,8 @@ for (var Kl = process.env.NODE_ENV === "production" ? { name: "7pg0cj-a11yText",
|
|
|
1910
1910
|
return "";
|
|
1911
1911
|
}
|
|
1912
1912
|
}, onFocus: function(e) {
|
|
1913
|
-
var t = e.context, o = e.focused, n = e.options, r = e.label, i = r === void 0 ? "" : r, a = e.selectValue, s = e.isDisabled, c = e.isSelected, l = e.isAppleDevice, u = function(b,
|
|
1914
|
-
return b && b.length ? "".concat(b.indexOf(
|
|
1913
|
+
var t = e.context, o = e.focused, n = e.options, r = e.label, i = r === void 0 ? "" : r, a = e.selectValue, s = e.isDisabled, c = e.isSelected, l = e.isAppleDevice, u = function(b, m) {
|
|
1914
|
+
return b && b.length ? "".concat(b.indexOf(m) + 1, " of ").concat(b.length) : "";
|
|
1915
1915
|
};
|
|
1916
1916
|
if (t === "value" && a) return "value ".concat(i, " focused, ").concat(u(a, o), ".");
|
|
1917
1917
|
if (t === "menu" && l) {
|
|
@@ -1923,37 +1923,37 @@ for (var Kl = process.env.NODE_ENV === "production" ? { name: "7pg0cj-a11yText",
|
|
|
1923
1923
|
var t = e.inputValue, o = e.resultsMessage;
|
|
1924
1924
|
return "".concat(o).concat(t ? " for search term " + t : "", ".");
|
|
1925
1925
|
} }, eu = function(e) {
|
|
1926
|
-
var t = e.ariaSelection, o = e.focusedOption, n = e.focusedValue, r = e.focusableOptions, i = e.isFocused, a = e.selectValue, s = e.selectProps, c = e.id, l = e.isAppleDevice, u = s.ariaLiveMessages, g = s.getOptionLabel, d = s.inputValue, b = s.isMulti,
|
|
1926
|
+
var t = e.ariaSelection, o = e.focusedOption, n = e.focusedValue, r = e.focusableOptions, i = e.isFocused, a = e.selectValue, s = e.selectProps, c = e.id, l = e.isAppleDevice, u = s.ariaLiveMessages, g = s.getOptionLabel, d = s.inputValue, b = s.isMulti, m = s.isOptionDisabled, h = s.isSearchable, v = s.menuIsOpen, S = s.options, I = s.screenReaderStatus, f = s.tabSelectsValue, y = s.isLoading, p = s["aria-label"], C = s["aria-live"], A = St(function() {
|
|
1927
1927
|
return L(L({}, ql), u || {});
|
|
1928
|
-
}, [u]),
|
|
1928
|
+
}, [u]), B = St(function() {
|
|
1929
1929
|
var N, Z = "";
|
|
1930
|
-
if (t &&
|
|
1931
|
-
var G = t.option,
|
|
1932
|
-
Z =
|
|
1930
|
+
if (t && A.onChange) {
|
|
1931
|
+
var G = t.option, M = t.options, E = t.removedValue, k = t.removedValues, z = t.value, _ = E || G || (N = z, Array.isArray(N) ? null : N), se = _ ? g(_) : "", re = M || k || void 0, ge = re ? re.map(g) : [], U = L({ isDisabled: _ && m(_, a), label: se, labels: ge }, t);
|
|
1932
|
+
Z = A.onChange(U);
|
|
1933
1933
|
}
|
|
1934
1934
|
return Z;
|
|
1935
|
-
}, [t,
|
|
1935
|
+
}, [t, A, m, a, g]), F = St(function() {
|
|
1936
1936
|
var N = "", Z = o || n, G = !!(o && a && a.includes(o));
|
|
1937
|
-
if (Z &&
|
|
1938
|
-
var
|
|
1939
|
-
N =
|
|
1937
|
+
if (Z && A.onFocus) {
|
|
1938
|
+
var M = { focused: Z, label: g(Z), isDisabled: m(Z, a), isSelected: G, options: r, context: Z === o ? "menu" : "value", selectValue: a, isAppleDevice: l };
|
|
1939
|
+
N = A.onFocus(M);
|
|
1940
1940
|
}
|
|
1941
1941
|
return N;
|
|
1942
|
-
}, [o, n, g,
|
|
1942
|
+
}, [o, n, g, m, A, r, a, l]), V = St(function() {
|
|
1943
1943
|
var N = "";
|
|
1944
|
-
if (v && S.length && !y &&
|
|
1944
|
+
if (v && S.length && !y && A.onFilter) {
|
|
1945
1945
|
var Z = I({ count: r.length });
|
|
1946
|
-
N =
|
|
1946
|
+
N = A.onFilter({ inputValue: d, resultsMessage: Z });
|
|
1947
1947
|
}
|
|
1948
1948
|
return N;
|
|
1949
|
-
}, [r, d, v,
|
|
1949
|
+
}, [r, d, v, A, S, I, y]), Y = (t == null ? void 0 : t.action) === "initial-input-focus", j = St(function() {
|
|
1950
1950
|
var N = "";
|
|
1951
|
-
if (
|
|
1951
|
+
if (A.guidance) {
|
|
1952
1952
|
var Z = n ? "value" : v ? "menu" : "input";
|
|
1953
|
-
N =
|
|
1953
|
+
N = A.guidance({ "aria-label": p, context: Z, isDisabled: o && m(o, a), isMulti: b, isSearchable: h, tabSelectsValue: f, isInitialFocus: Y });
|
|
1954
1954
|
}
|
|
1955
1955
|
return N;
|
|
1956
|
-
}, [p, o, n, b,
|
|
1956
|
+
}, [p, o, n, b, m, h, v, A, a, f, Y]), J = H(ar, null, H("span", { id: "aria-selection" }, B), H("span", { id: "aria-focused" }, F), H("span", { id: "aria-results" }, V), H("span", { id: "aria-guidance" }, j));
|
|
1957
1957
|
return H(ar, null, H(ta, { id: c }, Y && J), H(ta, { "aria-live": C, "aria-atomic": "false", "aria-relevant": "additions text", role: "log" }, i && !Y && J));
|
|
1958
1958
|
}, Mo = [{ base: "A", letters: "AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ" }, { base: "AA", letters: "Ꜳ" }, { base: "AE", letters: "ÆǼǢ" }, { base: "AO", letters: "Ꜵ" }, { base: "AU", letters: "Ꜷ" }, { base: "AV", letters: "ꜸꜺ" }, { base: "AY", letters: "Ꜽ" }, { base: "B", letters: "BⒷBḂḄḆɃƂƁ" }, { base: "C", letters: "CⒸCĆĈĊČÇḈƇȻꜾ" }, { base: "D", letters: "DⒹDḊĎḌḐḒḎĐƋƊƉꝹ" }, { base: "DZ", letters: "DZDŽ" }, { base: "Dz", letters: "DzDž" }, { base: "E", letters: "EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ" }, { base: "F", letters: "FⒻFḞƑꝻ" }, { base: "G", letters: "GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ" }, { base: "H", letters: "HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ" }, { base: "I", letters: "IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ" }, { base: "J", letters: "JⒿJĴɈ" }, { base: "K", letters: "KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ" }, { base: "L", letters: "LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ" }, { base: "LJ", letters: "LJ" }, { base: "Lj", letters: "Lj" }, { base: "M", letters: "MⓂMḾṀṂⱮƜ" }, { base: "N", letters: "NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ" }, { base: "NJ", letters: "NJ" }, { base: "Nj", letters: "Nj" }, { base: "O", letters: "OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ" }, { base: "OI", letters: "Ƣ" }, { base: "OO", letters: "Ꝏ" }, { base: "OU", letters: "Ȣ" }, { base: "P", letters: "PⓅPṔṖƤⱣꝐꝒꝔ" }, { base: "Q", letters: "QⓆQꝖꝘɊ" }, { base: "R", letters: "RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ" }, { base: "S", letters: "SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ" }, { base: "T", letters: "TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ" }, { base: "TZ", letters: "Ꜩ" }, { base: "U", letters: "UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ" }, { base: "V", letters: "VⓋVṼṾƲꝞɅ" }, { base: "VY", letters: "Ꝡ" }, { base: "W", letters: "WⓌWẀẂŴẆẄẈⱲ" }, { base: "X", letters: "XⓍXẊẌ" }, { base: "Y", letters: "YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ" }, { base: "Z", letters: "ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ" }, { base: "a", letters: "aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ" }, { base: "aa", letters: "ꜳ" }, { base: "ae", letters: "æǽǣ" }, { base: "ao", letters: "ꜵ" }, { base: "au", letters: "ꜷ" }, { base: "av", letters: "ꜹꜻ" }, { base: "ay", letters: "ꜽ" }, { base: "b", letters: "bⓑbḃḅḇƀƃɓ" }, { base: "c", letters: "cⓒcćĉċčçḉƈȼꜿↄ" }, { base: "d", letters: "dⓓdḋďḍḑḓḏđƌɖɗꝺ" }, { base: "dz", letters: "dzdž" }, { base: "e", letters: "eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ" }, { base: "f", letters: "fⓕfḟƒꝼ" }, { base: "g", letters: "gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ" }, { base: "h", letters: "hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ" }, { base: "hv", letters: "ƕ" }, { base: "i", letters: "iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı" }, { base: "j", letters: "jⓙjĵǰɉ" }, { base: "k", letters: "kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ" }, { base: "l", letters: "lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ" }, { base: "lj", letters: "lj" }, { base: "m", letters: "mⓜmḿṁṃɱɯ" }, { base: "n", letters: "nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ" }, { base: "nj", letters: "nj" }, { base: "o", letters: "oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ" }, { base: "oi", letters: "ƣ" }, { base: "ou", letters: "ȣ" }, { base: "oo", letters: "ꝏ" }, { base: "p", letters: "pⓟpṕṗƥᵽꝑꝓꝕ" }, { base: "q", letters: "qⓠqɋꝗꝙ" }, { base: "r", letters: "rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ" }, { base: "s", letters: "sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ" }, { base: "t", letters: "tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ" }, { base: "tz", letters: "ꜩ" }, { base: "u", letters: "uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ" }, { base: "v", letters: "vⓥvṽṿʋꝟʌ" }, { base: "vy", letters: "ꝡ" }, { base: "w", letters: "wⓦwẁẃŵẇẅẘẉⱳ" }, { base: "x", letters: "xⓧxẋẍ" }, { base: "y", letters: "yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ" }, { base: "z", letters: "zⓩzźẑżžẓẕƶȥɀⱬꝣ" }], tu = new RegExp("[" + Mo.map(function(e) {
|
|
1959
1959
|
return e.letters;
|
|
@@ -2015,72 +2015,72 @@ var la = !(typeof window > "u" || !window.document || !window.document.createEle
|
|
|
2015
2015
|
} };
|
|
2016
2016
|
function cu(e) {
|
|
2017
2017
|
var t = e.children, o = e.lockEnabled, n = e.captureEnabled, r = function(a) {
|
|
2018
|
-
var s = a.isEnabled, c = a.onBottomArrive, l = a.onBottomLeave, u = a.onTopArrive, g = a.onTopLeave, d = Ce(!1), b = Ce(!1),
|
|
2019
|
-
if (
|
|
2020
|
-
var
|
|
2021
|
-
N >
|
|
2018
|
+
var s = a.isEnabled, c = a.onBottomArrive, l = a.onBottomLeave, u = a.onTopArrive, g = a.onTopLeave, d = Ce(!1), b = Ce(!1), m = Ce(0), h = Ce(null), v = He(function(C, A) {
|
|
2019
|
+
if (h.current !== null) {
|
|
2020
|
+
var B = h.current, F = B.scrollTop, V = B.scrollHeight, Y = B.clientHeight, j = h.current, J = A > 0, N = V - Y - F, Z = !1;
|
|
2021
|
+
N > A && d.current && (l && l(C), d.current = !1), J && b.current && (g && g(C), b.current = !1), J && A > N ? (c && !d.current && c(C), j.scrollTop = V, Z = !0, d.current = !0) : !J && -A > F && (u && !b.current && u(C), j.scrollTop = 0, Z = !0, b.current = !0), Z && function(G) {
|
|
2022
2022
|
G.cancelable && G.preventDefault(), G.stopPropagation();
|
|
2023
2023
|
}(C);
|
|
2024
2024
|
}
|
|
2025
2025
|
}, [c, l, u, g]), S = He(function(C) {
|
|
2026
2026
|
v(C, C.deltaY);
|
|
2027
2027
|
}, [v]), I = He(function(C) {
|
|
2028
|
-
|
|
2029
|
-
}, []),
|
|
2030
|
-
var
|
|
2031
|
-
v(C,
|
|
2028
|
+
m.current = C.changedTouches[0].clientY;
|
|
2029
|
+
}, []), f = He(function(C) {
|
|
2030
|
+
var A = m.current - C.changedTouches[0].clientY;
|
|
2031
|
+
v(C, A);
|
|
2032
2032
|
}, [v]), y = He(function(C) {
|
|
2033
2033
|
if (C) {
|
|
2034
|
-
var
|
|
2035
|
-
C.addEventListener("wheel", S,
|
|
2034
|
+
var A = !!El && { passive: !1 };
|
|
2035
|
+
C.addEventListener("wheel", S, A), C.addEventListener("touchstart", I, A), C.addEventListener("touchmove", f, A);
|
|
2036
2036
|
}
|
|
2037
|
-
}, [
|
|
2038
|
-
C && (C.removeEventListener("wheel", S, !1), C.removeEventListener("touchstart", I, !1), C.removeEventListener("touchmove",
|
|
2039
|
-
}, [
|
|
2037
|
+
}, [f, I, S]), p = He(function(C) {
|
|
2038
|
+
C && (C.removeEventListener("wheel", S, !1), C.removeEventListener("touchstart", I, !1), C.removeEventListener("touchmove", f, !1));
|
|
2039
|
+
}, [f, I, S]);
|
|
2040
2040
|
return Pe(function() {
|
|
2041
2041
|
if (s) {
|
|
2042
|
-
var C =
|
|
2042
|
+
var C = h.current;
|
|
2043
2043
|
return y(C), function() {
|
|
2044
2044
|
p(C);
|
|
2045
2045
|
};
|
|
2046
2046
|
}
|
|
2047
2047
|
}, [s, y, p]), function(C) {
|
|
2048
|
-
|
|
2048
|
+
h.current = C;
|
|
2049
2049
|
};
|
|
2050
2050
|
}({ isEnabled: n === void 0 || n, onBottomArrive: e.onBottomArrive, onBottomLeave: e.onBottomLeave, onTopArrive: e.onTopArrive, onTopLeave: e.onTopLeave }), i = function(a) {
|
|
2051
|
-
var s = a.isEnabled, c = a.accountForScrollbars, l = c === void 0 || c, u = Ce({}), g = Ce(null), d = He(function(
|
|
2051
|
+
var s = a.isEnabled, c = a.accountForScrollbars, l = c === void 0 || c, u = Ce({}), g = Ce(null), d = He(function(m) {
|
|
2052
2052
|
if (la) {
|
|
2053
|
-
var
|
|
2053
|
+
var h = document.body, v = h && h.style;
|
|
2054
2054
|
if (l && oa.forEach(function(y) {
|
|
2055
2055
|
var p = v && v[y];
|
|
2056
2056
|
u.current[y] = p;
|
|
2057
2057
|
}), l && en < 1) {
|
|
2058
|
-
var S = parseInt(u.current.paddingRight, 10) || 0, I = document.body ? document.body.clientWidth : 0,
|
|
2058
|
+
var S = parseInt(u.current.paddingRight, 10) || 0, I = document.body ? document.body.clientWidth : 0, f = window.innerWidth - I + S || 0;
|
|
2059
2059
|
Object.keys(ra).forEach(function(y) {
|
|
2060
2060
|
var p = ra[y];
|
|
2061
2061
|
v && (v[y] = p);
|
|
2062
|
-
}), v && (v.paddingRight = "".concat(
|
|
2062
|
+
}), v && (v.paddingRight = "".concat(f, "px"));
|
|
2063
2063
|
}
|
|
2064
|
-
|
|
2064
|
+
h && ca() && (h.addEventListener("touchmove", ia, Xt), m && (m.addEventListener("touchstart", sa, Xt), m.addEventListener("touchmove", aa, Xt))), en += 1;
|
|
2065
2065
|
}
|
|
2066
|
-
}, [l]), b = He(function(
|
|
2066
|
+
}, [l]), b = He(function(m) {
|
|
2067
2067
|
if (la) {
|
|
2068
|
-
var
|
|
2068
|
+
var h = document.body, v = h && h.style;
|
|
2069
2069
|
en = Math.max(en - 1, 0), l && en < 1 && oa.forEach(function(S) {
|
|
2070
2070
|
var I = u.current[S];
|
|
2071
2071
|
v && (v[S] = I);
|
|
2072
|
-
}),
|
|
2072
|
+
}), h && ca() && (h.removeEventListener("touchmove", ia, Xt), m && (m.removeEventListener("touchstart", sa, Xt), m.removeEventListener("touchmove", aa, Xt)));
|
|
2073
2073
|
}
|
|
2074
2074
|
}, [l]);
|
|
2075
2075
|
return Pe(function() {
|
|
2076
2076
|
if (s) {
|
|
2077
|
-
var
|
|
2078
|
-
return d(
|
|
2079
|
-
b(
|
|
2077
|
+
var m = g.current;
|
|
2078
|
+
return d(m), function() {
|
|
2079
|
+
b(m);
|
|
2080
2080
|
};
|
|
2081
2081
|
}
|
|
2082
|
-
}, [s, d, b]), function(
|
|
2083
|
-
g.current =
|
|
2082
|
+
}, [s, d, b]), function(m) {
|
|
2083
|
+
g.current = m;
|
|
2084
2084
|
};
|
|
2085
2085
|
}({ isEnabled: o });
|
|
2086
2086
|
return H(ar, null, o && H("div", { onClick: au, css: su }), t(function(a) {
|
|
@@ -2107,7 +2107,7 @@ var du = { clearIndicator: Wl, container: function(e) {
|
|
|
2107
2107
|
}, control: function(e, t) {
|
|
2108
2108
|
var o = e.isDisabled, n = e.isFocused, r = e.theme, i = r.colors, a = r.borderRadius;
|
|
2109
2109
|
return L({ label: "control", alignItems: "center", cursor: "default", display: "flex", flexWrap: "wrap", justifyContent: "space-between", minHeight: r.spacing.controlHeight, outline: "0 !important", position: "relative", transition: "all 100ms" }, t ? {} : { backgroundColor: o ? i.neutral5 : i.neutral0, borderColor: o ? i.neutral10 : n ? i.primary : i.neutral20, borderRadius: a, borderStyle: "solid", borderWidth: 1, boxShadow: n ? "0 0 0 1px ".concat(i.primary) : void 0, "&:hover": { borderColor: n ? i.primary : i.neutral30 } });
|
|
2110
|
-
}, dropdownIndicator:
|
|
2110
|
+
}, dropdownIndicator: jl, group: function(e, t) {
|
|
2111
2111
|
var o = e.theme.spacing;
|
|
2112
2112
|
return t ? {} : { paddingBottom: 2 * o.baseUnit, paddingTop: 2 * o.baseUnit };
|
|
2113
2113
|
}, groupHeading: function(e, t) {
|
|
@@ -2126,9 +2126,9 @@ var du = { clearIndicator: Wl, container: function(e) {
|
|
|
2126
2126
|
return L({ label: "loadingIndicator", display: "flex", transition: "color 150ms", alignSelf: "center", fontSize: n, lineHeight: 1, marginRight: n, textAlign: "center", verticalAlign: "middle" }, t ? {} : { color: o ? i.neutral60 : i.neutral20, padding: 2 * a });
|
|
2127
2127
|
}, loadingMessage: Xl, menu: function(e, t) {
|
|
2128
2128
|
var o, n = e.placement, r = e.theme, i = r.borderRadius, a = r.spacing, s = r.colors;
|
|
2129
|
-
return L((
|
|
2129
|
+
return L((je(o = { label: "menu" }, function(c) {
|
|
2130
2130
|
return c ? { bottom: "top", top: "bottom" }[c] : "bottom";
|
|
2131
|
-
}(n), "100%"),
|
|
2131
|
+
}(n), "100%"), je(o, "position", "absolute"), je(o, "width", "100%"), je(o, "zIndex", 1), o), t ? {} : { backgroundColor: s.neutral0, borderRadius: i, boxShadow: "0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)", marginBottom: a.menuGutter, marginTop: a.menuGutter });
|
|
2132
2132
|
}, menuList: function(e, t) {
|
|
2133
2133
|
var o = e.maxHeight, n = e.theme.spacing.baseUnit;
|
|
2134
2134
|
return L({ maxHeight: o, overflowY: "auto", position: "relative", WebkitOverflowScrolling: "touch" }, t ? {} : { paddingBottom: n, paddingTop: n });
|
|
@@ -2284,14 +2284,14 @@ var qs = function(e) {
|
|
|
2284
2284
|
var u = n.props, g = u.closeMenuOnSelect, d = u.isMulti, b = u.inputValue;
|
|
2285
2285
|
n.onInputChange("", { action: "set-value", prevInputValue: b }), g && (n.setState({ inputIsHiddenAfterUpdate: !d }), n.onMenuClose()), n.setState({ clearFocusValueOnUpdate: !0 }), n.onChange(s, { action: c, option: l });
|
|
2286
2286
|
}, n.selectOption = function(s) {
|
|
2287
|
-
var c = n.props, l = c.blurInputOnSelect, u = c.isMulti, g = c.name, d = n.state.selectValue, b = u && n.isOptionSelected(s, d),
|
|
2287
|
+
var c = n.props, l = c.blurInputOnSelect, u = c.isMulti, g = c.name, d = n.state.selectValue, b = u && n.isOptionSelected(s, d), m = n.isOptionDisabled(s, d);
|
|
2288
2288
|
if (b) {
|
|
2289
|
-
var
|
|
2289
|
+
var h = n.getOptionValue(s);
|
|
2290
2290
|
n.setValue(d.filter(function(v) {
|
|
2291
|
-
return n.getOptionValue(v) !==
|
|
2291
|
+
return n.getOptionValue(v) !== h;
|
|
2292
2292
|
}), "deselect-option", s);
|
|
2293
2293
|
} else {
|
|
2294
|
-
if (
|
|
2294
|
+
if (m) return void n.ariaOnChange(s, { action: "select-option", option: s, name: g });
|
|
2295
2295
|
u ? n.setValue([].concat(at(d), [s]), "select-option", s) : n.setValue(s, "select-option");
|
|
2296
2296
|
}
|
|
2297
2297
|
l && n.blurInput();
|
|
@@ -2401,8 +2401,8 @@ var qs = function(e) {
|
|
|
2401
2401
|
}, n.onValueInputFocus = function(s) {
|
|
2402
2402
|
s.preventDefault(), s.stopPropagation(), n.focus();
|
|
2403
2403
|
}, n.onKeyDown = function(s) {
|
|
2404
|
-
var c = n.props, l = c.isMulti, u = c.backspaceRemovesValue, g = c.escapeClearsValue, d = c.inputValue, b = c.isClearable,
|
|
2405
|
-
if (!(
|
|
2404
|
+
var c = n.props, l = c.isMulti, u = c.backspaceRemovesValue, g = c.escapeClearsValue, d = c.inputValue, b = c.isClearable, m = c.isDisabled, h = c.menuIsOpen, v = c.onKeyDown, S = c.tabSelectsValue, I = c.openMenuOnFocus, f = n.state, y = f.focusedOption, p = f.focusedValue, C = f.selectValue;
|
|
2405
|
+
if (!(m || typeof v == "function" && (v(s), s.defaultPrevented))) {
|
|
2406
2406
|
switch (n.blockOptionHover = !0, s.key) {
|
|
2407
2407
|
case "ArrowLeft":
|
|
2408
2408
|
if (!l || d) return;
|
|
@@ -2422,23 +2422,23 @@ var qs = function(e) {
|
|
|
2422
2422
|
}
|
|
2423
2423
|
break;
|
|
2424
2424
|
case "Tab":
|
|
2425
|
-
if (n.isComposing || s.shiftKey || !
|
|
2425
|
+
if (n.isComposing || s.shiftKey || !h || !S || !y || I && n.isOptionSelected(y, C)) return;
|
|
2426
2426
|
n.selectOption(y);
|
|
2427
2427
|
break;
|
|
2428
2428
|
case "Enter":
|
|
2429
2429
|
if (s.keyCode === 229) break;
|
|
2430
|
-
if (
|
|
2430
|
+
if (h) {
|
|
2431
2431
|
if (!y || n.isComposing) return;
|
|
2432
2432
|
n.selectOption(y);
|
|
2433
2433
|
break;
|
|
2434
2434
|
}
|
|
2435
2435
|
return;
|
|
2436
2436
|
case "Escape":
|
|
2437
|
-
|
|
2437
|
+
h ? (n.setState({ inputIsHiddenAfterUpdate: !1 }), n.onInputChange("", { action: "menu-close", prevInputValue: d }), n.onMenuClose()) : b && g && n.clearValue();
|
|
2438
2438
|
break;
|
|
2439
2439
|
case " ":
|
|
2440
2440
|
if (d) return;
|
|
2441
|
-
if (!
|
|
2441
|
+
if (!h) {
|
|
2442
2442
|
n.openMenu("first");
|
|
2443
2443
|
break;
|
|
2444
2444
|
}
|
|
@@ -2446,25 +2446,25 @@ var qs = function(e) {
|
|
|
2446
2446
|
n.selectOption(y);
|
|
2447
2447
|
break;
|
|
2448
2448
|
case "ArrowUp":
|
|
2449
|
-
|
|
2449
|
+
h ? n.focusOption("up") : n.openMenu("last");
|
|
2450
2450
|
break;
|
|
2451
2451
|
case "ArrowDown":
|
|
2452
|
-
|
|
2452
|
+
h ? n.focusOption("down") : n.openMenu("first");
|
|
2453
2453
|
break;
|
|
2454
2454
|
case "PageUp":
|
|
2455
|
-
if (!
|
|
2455
|
+
if (!h) return;
|
|
2456
2456
|
n.focusOption("pageup");
|
|
2457
2457
|
break;
|
|
2458
2458
|
case "PageDown":
|
|
2459
|
-
if (!
|
|
2459
|
+
if (!h) return;
|
|
2460
2460
|
n.focusOption("pagedown");
|
|
2461
2461
|
break;
|
|
2462
2462
|
case "Home":
|
|
2463
|
-
if (!
|
|
2463
|
+
if (!h) return;
|
|
2464
2464
|
n.focusOption("first");
|
|
2465
2465
|
break;
|
|
2466
2466
|
case "End":
|
|
2467
|
-
if (!
|
|
2467
|
+
if (!h) return;
|
|
2468
2468
|
n.focusOption("last");
|
|
2469
2469
|
break;
|
|
2470
2470
|
default:
|
|
@@ -2563,22 +2563,22 @@ var qs = function(e) {
|
|
|
2563
2563
|
} }, { key: "stopListeningToTouch", value: function() {
|
|
2564
2564
|
document && document.removeEventListener && (document.removeEventListener("touchstart", this.onTouchStart), document.removeEventListener("touchmove", this.onTouchMove), document.removeEventListener("touchend", this.onTouchEnd));
|
|
2565
2565
|
} }, { key: "renderInput", value: function() {
|
|
2566
|
-
var o = this.props, n = o.isDisabled, r = o.isSearchable, i = o.inputId, a = o.inputValue, s = o.tabIndex, c = o.form, l = o.menuIsOpen, u = o.required, g = this.getComponents().Input, d = this.state, b = d.inputIsHidden,
|
|
2567
|
-
return r ? x.createElement(g, P({},
|
|
2566
|
+
var o = this.props, n = o.isDisabled, r = o.isSearchable, i = o.inputId, a = o.inputValue, s = o.tabIndex, c = o.form, l = o.menuIsOpen, u = o.required, g = this.getComponents().Input, d = this.state, b = d.inputIsHidden, m = d.ariaSelection, h = this.commonProps, v = i || this.getElementId("input"), S = L(L(L({ "aria-autocomplete": "list", "aria-expanded": l, "aria-haspopup": !0, "aria-errormessage": this.props["aria-errormessage"], "aria-invalid": this.props["aria-invalid"], "aria-label": this.props["aria-label"], "aria-labelledby": this.props["aria-labelledby"], "aria-required": u, role: "combobox", "aria-activedescendant": this.state.isAppleDevice ? void 0 : this.state.focusedOptionId || "" }, l && { "aria-controls": this.getElementId("listbox") }), !r && { "aria-readonly": !0 }), this.hasValue() ? (m == null ? void 0 : m.action) === "initial-input-focus" && { "aria-describedby": this.getElementId("live-region") } : { "aria-describedby": this.getElementId("placeholder") });
|
|
2567
|
+
return r ? x.createElement(g, P({}, h, { autoCapitalize: "none", autoComplete: "off", autoCorrect: "off", id: v, innerRef: this.getInputRef, isDisabled: n, isHidden: b, onBlur: this.onInputBlur, onChange: this.handleInputChange, onFocus: this.onInputFocus, spellCheck: "false", tabIndex: s, form: c, type: "text", value: a }, S)) : x.createElement(iu, P({ id: v, innerRef: this.getInputRef, onBlur: this.onInputBlur, onChange: Qn, onFocus: this.onInputFocus, disabled: n, tabIndex: s, inputMode: "none", form: c, value: "" }, S));
|
|
2568
2568
|
} }, { key: "renderPlaceholderOrValue", value: function() {
|
|
2569
|
-
var o = this, n = this.getComponents(), r = n.MultiValue, i = n.MultiValueContainer, a = n.MultiValueLabel, s = n.MultiValueRemove, c = n.SingleValue, l = n.Placeholder, u = this.commonProps, g = this.props, d = g.controlShouldRenderValue, b = g.isDisabled,
|
|
2570
|
-
if (!this.hasValue() || !d) return
|
|
2571
|
-
if (
|
|
2572
|
-
var
|
|
2573
|
-
return x.createElement(r, P({}, u, { components: { Container: i, Label: a, Remove: s }, isFocused:
|
|
2569
|
+
var o = this, n = this.getComponents(), r = n.MultiValue, i = n.MultiValueContainer, a = n.MultiValueLabel, s = n.MultiValueRemove, c = n.SingleValue, l = n.Placeholder, u = this.commonProps, g = this.props, d = g.controlShouldRenderValue, b = g.isDisabled, m = g.isMulti, h = g.inputValue, v = g.placeholder, S = this.state, I = S.selectValue, f = S.focusedValue, y = S.isFocused;
|
|
2570
|
+
if (!this.hasValue() || !d) return h ? null : x.createElement(l, P({}, u, { key: "placeholder", isDisabled: b, isFocused: y, innerProps: { id: this.getElementId("placeholder") } }), v);
|
|
2571
|
+
if (m) return I.map(function(C, A) {
|
|
2572
|
+
var B = C === f, F = "".concat(o.getOptionLabel(C), "-").concat(o.getOptionValue(C));
|
|
2573
|
+
return x.createElement(r, P({}, u, { components: { Container: i, Label: a, Remove: s }, isFocused: B, isDisabled: b, key: F, index: A, removeProps: { onClick: function() {
|
|
2574
2574
|
return o.removeValue(C);
|
|
2575
2575
|
}, onTouchEnd: function() {
|
|
2576
2576
|
return o.removeValue(C);
|
|
2577
|
-
}, onMouseDown: function(
|
|
2578
|
-
|
|
2577
|
+
}, onMouseDown: function(V) {
|
|
2578
|
+
V.preventDefault();
|
|
2579
2579
|
} }, data: C }), o.formatOptionLabel(C, "value"));
|
|
2580
2580
|
});
|
|
2581
|
-
if (
|
|
2581
|
+
if (h) return null;
|
|
2582
2582
|
var p = I[0];
|
|
2583
2583
|
return x.createElement(c, P({}, u, { data: p, isDisabled: b }), this.formatOptionLabel(p, "value"));
|
|
2584
2584
|
} }, { key: "renderClearIndicator", value: function() {
|
|
@@ -2600,7 +2600,7 @@ var qs = function(e) {
|
|
|
2600
2600
|
var n = this.commonProps, r = this.props.isDisabled, i = this.state.isFocused, a = { onMouseDown: this.onDropdownIndicatorMouseDown, onTouchEnd: this.onDropdownIndicatorTouchEnd, "aria-hidden": "true" };
|
|
2601
2601
|
return x.createElement(o, P({}, n, { innerProps: a, isDisabled: r, isFocused: i }));
|
|
2602
2602
|
} }, { key: "renderMenu", value: function() {
|
|
2603
|
-
var o = this, n = this.getComponents(), r = n.Group, i = n.GroupHeading, a = n.Menu, s = n.MenuList, c = n.MenuPortal, l = n.LoadingMessage, u = n.NoOptionsMessage, g = n.Option, d = this.commonProps, b = this.state.focusedOption,
|
|
2603
|
+
var o = this, n = this.getComponents(), r = n.Group, i = n.GroupHeading, a = n.Menu, s = n.MenuList, c = n.MenuPortal, l = n.LoadingMessage, u = n.NoOptionsMessage, g = n.Option, d = this.commonProps, b = this.state.focusedOption, m = this.props, h = m.captureMenuScroll, v = m.inputValue, S = m.isLoading, I = m.loadingMessage, f = m.minMenuHeight, y = m.maxMenuHeight, p = m.menuIsOpen, C = m.menuPlacement, A = m.menuPosition, B = m.menuPortalTarget, F = m.menuShouldBlockScroll, V = m.menuShouldScrollIntoView, Y = m.noOptionsMessage, j = m.onMenuScrollToTop, J = m.onMenuScrollToBottom;
|
|
2604
2604
|
if (!p) return null;
|
|
2605
2605
|
var N, Z = function(z, _) {
|
|
2606
2606
|
var se = z.type, re = z.data, ge = z.isDisabled, U = z.isSelected, ie = z.label, Me = z.value, $ = b === re, Ne = ge ? void 0 : function() {
|
|
@@ -2624,19 +2624,19 @@ var qs = function(e) {
|
|
|
2624
2624
|
if (G === null) return null;
|
|
2625
2625
|
N = x.createElement(l, d, G);
|
|
2626
2626
|
} else {
|
|
2627
|
-
var
|
|
2628
|
-
if (
|
|
2629
|
-
N = x.createElement(u, d,
|
|
2627
|
+
var M = Y({ inputValue: v });
|
|
2628
|
+
if (M === null) return null;
|
|
2629
|
+
N = x.createElement(u, d, M);
|
|
2630
2630
|
}
|
|
2631
|
-
var E = { minMenuHeight:
|
|
2631
|
+
var E = { minMenuHeight: f, maxMenuHeight: y, menuPlacement: C, menuPosition: A, menuShouldScrollIntoView: V }, k = x.createElement(Ol, P({}, d, E), function(z) {
|
|
2632
2632
|
var _ = z.ref, se = z.placerProps, re = se.placement, ge = se.maxHeight;
|
|
2633
|
-
return x.createElement(a, P({}, d, E, { innerRef: _, innerProps: { onMouseDown: o.onMenuMouseDown, onMouseMove: o.onMenuMouseMove }, isLoading: S, placement: re }), x.createElement(cu, { captureEnabled:
|
|
2633
|
+
return x.createElement(a, P({}, d, E, { innerRef: _, innerProps: { onMouseDown: o.onMenuMouseDown, onMouseMove: o.onMenuMouseMove }, isLoading: S, placement: re }), x.createElement(cu, { captureEnabled: h, onTopArrive: j, onBottomArrive: J, lockEnabled: F }, function(U) {
|
|
2634
2634
|
return x.createElement(s, P({}, d, { innerRef: function(ie) {
|
|
2635
2635
|
o.getMenuListRef(ie), U(ie);
|
|
2636
2636
|
}, innerProps: { role: "listbox", "aria-multiselectable": d.isMulti, id: o.getElementId("listbox") }, isLoading: S, maxHeight: ge, focusedOption: b }), N);
|
|
2637
2637
|
}));
|
|
2638
2638
|
});
|
|
2639
|
-
return
|
|
2639
|
+
return B || A === "fixed" ? x.createElement(c, P({}, d, { appendTo: B, controlElement: this.controlRef, menuPlacement: C, menuPosition: A }), k) : k;
|
|
2640
2640
|
} }, { key: "renderFormField", value: function() {
|
|
2641
2641
|
var o = this, n = this.props, r = n.delimiter, i = n.isDisabled, a = n.isMulti, s = n.name, c = n.required, l = this.state.selectValue;
|
|
2642
2642
|
if (c && !this.hasValue() && !i) return x.createElement(uu, { name: s, onFocus: this.onValueInputFocus });
|
|
@@ -2648,8 +2648,8 @@ var qs = function(e) {
|
|
|
2648
2648
|
}).join(r);
|
|
2649
2649
|
return x.createElement("input", { name: s, type: "hidden", value: u });
|
|
2650
2650
|
}
|
|
2651
|
-
var g = l.length > 0 ? l.map(function(b,
|
|
2652
|
-
return x.createElement("input", { key: "i-".concat(
|
|
2651
|
+
var g = l.length > 0 ? l.map(function(b, m) {
|
|
2652
|
+
return x.createElement("input", { key: "i-".concat(m), name: s, type: "hidden", value: o.getOptionValue(b) });
|
|
2653
2653
|
}) : x.createElement("input", { name: s, type: "hidden", value: "" });
|
|
2654
2654
|
return x.createElement("div", null, g);
|
|
2655
2655
|
}
|
|
@@ -2663,41 +2663,41 @@ var qs = function(e) {
|
|
|
2663
2663
|
var o = this.getComponents(), n = o.Control, r = o.IndicatorsContainer, i = o.SelectContainer, a = o.ValueContainer, s = this.props, c = s.className, l = s.id, u = s.isDisabled, g = s.menuIsOpen, d = this.state.isFocused, b = this.commonProps = this.getCommonProps();
|
|
2664
2664
|
return x.createElement(i, P({}, b, { className: c, innerProps: { id: l, onKeyDown: this.onKeyDown }, isDisabled: u, isFocused: d }), this.renderLiveRegion(), x.createElement(n, P({}, b, { innerRef: this.getControlRef, innerProps: { onMouseDown: this.onControlMouseDown, onTouchEnd: this.onControlTouchEnd }, isDisabled: u, isFocused: d, menuIsOpen: g }), x.createElement(a, P({}, b, { isDisabled: u }), this.renderPlaceholderOrValue(), this.renderInput()), x.createElement(r, P({}, b, { isDisabled: u }), this.renderClearIndicator(), this.renderLoadingIndicator(), this.renderIndicatorSeparator(), this.renderDropdownIndicator())), this.renderMenu(), this.renderFormField());
|
|
2665
2665
|
} }], [{ key: "getDerivedStateFromProps", value: function(o, n) {
|
|
2666
|
-
var r = n.prevProps, i = n.clearFocusValueOnUpdate, a = n.inputIsHiddenAfterUpdate, s = n.ariaSelection, c = n.isFocused, l = n.prevWasFocused, u = n.instancePrefix, g = o.options, d = o.value, b = o.menuIsOpen,
|
|
2667
|
-
if (r && (d !== r.value || g !== r.options || b !== r.menuIsOpen ||
|
|
2668
|
-
var I = b ? function(
|
|
2669
|
-
return ga(Ln(
|
|
2670
|
-
}(o, v) : [],
|
|
2671
|
-
var Y =
|
|
2672
|
-
if (
|
|
2673
|
-
if (
|
|
2674
|
-
if (
|
|
2666
|
+
var r = n.prevProps, i = n.clearFocusValueOnUpdate, a = n.inputIsHiddenAfterUpdate, s = n.ariaSelection, c = n.isFocused, l = n.prevWasFocused, u = n.instancePrefix, g = o.options, d = o.value, b = o.menuIsOpen, m = o.inputValue, h = o.isMulti, v = Yi(d), S = {};
|
|
2667
|
+
if (r && (d !== r.value || g !== r.options || b !== r.menuIsOpen || m !== r.inputValue)) {
|
|
2668
|
+
var I = b ? function(F, V) {
|
|
2669
|
+
return ga(Ln(F, V));
|
|
2670
|
+
}(o, v) : [], f = b ? pa(Ln(o, v), "".concat(u, "-option")) : [], y = i ? function(F, V) {
|
|
2671
|
+
var Y = F.focusedValue, j = F.selectValue.indexOf(Y);
|
|
2672
|
+
if (j > -1) {
|
|
2673
|
+
if (V.indexOf(Y) > -1) return Y;
|
|
2674
|
+
if (j < V.length) return V[j];
|
|
2675
2675
|
}
|
|
2676
2676
|
return null;
|
|
2677
|
-
}(n, v) : null, p = function(
|
|
2678
|
-
var Y =
|
|
2679
|
-
return Y &&
|
|
2677
|
+
}(n, v) : null, p = function(F, V) {
|
|
2678
|
+
var Y = F.focusedOption;
|
|
2679
|
+
return Y && V.indexOf(Y) > -1 ? Y : V[0];
|
|
2680
2680
|
}(n, I);
|
|
2681
|
-
S = { selectValue: v, focusedOption: p, focusedOptionId: To(
|
|
2681
|
+
S = { selectValue: v, focusedOption: p, focusedOptionId: To(f, p), focusableOptionsWithIds: f, focusedValue: y, clearFocusValueOnUpdate: !1 };
|
|
2682
2682
|
}
|
|
2683
|
-
var C = a != null && o !== r ? { inputIsHidden: a, inputIsHiddenAfterUpdate: void 0 } : {},
|
|
2684
|
-
return c && !
|
|
2683
|
+
var C = a != null && o !== r ? { inputIsHidden: a, inputIsHiddenAfterUpdate: void 0 } : {}, A = s, B = c && l;
|
|
2684
|
+
return c && !B && (A = { value: Mn(h, v, v[0] || null), options: v, action: "initial-input-focus" }, B = !l), (s == null ? void 0 : s.action) === "initial-input-focus" && (A = null), L(L(L({}, S), C), {}, { prevProps: o, ariaSelection: A, prevWasFocused: B });
|
|
2685
2685
|
} }]), t;
|
|
2686
2686
|
}();
|
|
2687
2687
|
ec.defaultProps = gu;
|
|
2688
2688
|
var mu = us(function(e, t) {
|
|
2689
2689
|
var o = function(n) {
|
|
2690
|
-
var r = n.defaultInputValue, i = r === void 0 ? "" : r, a = n.defaultMenuIsOpen, s = a !== void 0 && a, c = n.defaultValue, l = c === void 0 ? null : c, u = n.inputValue, g = n.menuIsOpen, d = n.onChange, b = n.onInputChange,
|
|
2691
|
-
typeof d == "function" && d(E, k),
|
|
2692
|
-
}, [d]),
|
|
2690
|
+
var r = n.defaultInputValue, i = r === void 0 ? "" : r, a = n.defaultMenuIsOpen, s = a !== void 0 && a, c = n.defaultValue, l = c === void 0 ? null : c, u = n.inputValue, g = n.menuIsOpen, d = n.onChange, b = n.onInputChange, m = n.onMenuClose, h = n.onMenuOpen, v = n.value, S = st(n, Qc), I = fe(Ie(u !== void 0 ? u : i), 2), f = I[0], y = I[1], p = fe(Ie(g !== void 0 ? g : s), 2), C = p[0], A = p[1], B = fe(Ie(v !== void 0 ? v : l), 2), F = B[0], V = B[1], Y = He(function(E, k) {
|
|
2691
|
+
typeof d == "function" && d(E, k), V(E);
|
|
2692
|
+
}, [d]), j = He(function(E, k) {
|
|
2693
2693
|
var z;
|
|
2694
2694
|
typeof b == "function" && (z = b(E, k)), y(z !== void 0 ? z : E);
|
|
2695
2695
|
}, [b]), J = He(function() {
|
|
2696
|
-
typeof
|
|
2697
|
-
}, [
|
|
2698
|
-
typeof
|
|
2699
|
-
}, [
|
|
2700
|
-
return L(L({}, S), {}, { inputValue: Z, menuIsOpen: G, onChange: Y, onInputChange:
|
|
2696
|
+
typeof h == "function" && h(), A(!0);
|
|
2697
|
+
}, [h]), N = He(function() {
|
|
2698
|
+
typeof m == "function" && m(), A(!1);
|
|
2699
|
+
}, [m]), Z = u !== void 0 ? u : f, G = g !== void 0 ? g : C, M = v !== void 0 ? v : F;
|
|
2700
|
+
return L(L({}, S), {}, { inputValue: Z, menuIsOpen: G, onChange: Y, onInputChange: j, onMenuClose: N, onMenuOpen: J, value: M });
|
|
2701
2701
|
}(e);
|
|
2702
2702
|
return x.createElement(ec, P({ ref: t }, o));
|
|
2703
2703
|
}), tc = mu;
|
|
@@ -2705,13 +2705,13 @@ const En = { accAccessibilityMenu__overlay: "_accAccessibilityMenu__overlay_1yac
|
|
|
2705
2705
|
const { t: s } = Hr(), c = yt("_accMenuContentBlock_ba9px_1", { [fu]: n, [bu]: a }), l = () => {
|
|
2706
2706
|
o(t);
|
|
2707
2707
|
}, u = n ? void 0 : "button", g = n ? void 0 : 0;
|
|
2708
|
-
return
|
|
2708
|
+
return w.jsxs("div", { onClick: n ? void 0 : l, role: u, className: c, tabIndex: g, children: [n && w.jsx("div", { className: "_accMenuContentBlock__expendButtonContainer_ba9px_46", children: w.jsx("button", { onClick: l, children: w.jsx(hu, {}) }) }), !n && w.jsxs("div", { className: "_accMenuContentBlock__titleContainer_ba9px_28", children: [w.jsx(r, {}), w.jsx("h3", { className: "_accMenuContentBlock__title_ba9px_28", children: s(i) })] }), n && w.jsx("div", { className: "_accMenuContentBlock__content_ba9px_69", children: e })] });
|
|
2709
2709
|
}, vu = "_isToggled_gu4kw_18", yu = "_isActive_gu4kw_26", ha = "_accButton__icon_gu4kw_38", Iu = (e) => x.createElement("svg", { className: "MuiSvgIcon-root MuiSvgIcon-fontSizeMedium css-i4bv87-MuiSvgIcon-root", focusable: "false", "aria-hidden": "true", viewBox: "0 0 24 24", "data-testid": "QuestionMarkIcon", ...e }, x.createElement("path", { d: "M11.07 12.85c.77-1.39 2.25-2.21 3.11-3.44.91-1.29.4-3.7-2.18-3.7-1.69 0-2.52 1.28-2.87 2.34L6.54 6.96C7.25 4.83 9.18 3 11.99 3c2.35 0 3.96 1.07 4.78 2.41.7 1.15 1.11 3.3.03 4.9-1.2 1.77-2.35 2.31-2.97 3.45-.25.46-.35.76-.35 2.24h-2.89c-.01-.78-.13-2.05.48-3.15zM14 20c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2z" })), Cu = ({ elementType: e, children: t, ...o }) => {
|
|
2710
2710
|
const n = e === "button" ? "button" : "div", r = e === "div" ? 0 : void 0;
|
|
2711
|
-
return
|
|
2711
|
+
return w.jsx(n, { tabIndex: r, ...o, children: t });
|
|
2712
2712
|
}, be = ({ Icon: e, isToggled: t, isActive: o, children: n, onToggle: r, titleTranslationKey: i, elementType: a = "button", title: s, stats: c, styleIcon: l, styleTitle: u, className: g, tooltipTranslationKey: d }) => {
|
|
2713
|
-
const { t: b } = Hr(),
|
|
2714
|
-
return
|
|
2713
|
+
const { t: b } = Hr(), m = yt(`_accButton_gu4kw_1 ${g}`, { [vu]: t, [yu]: o });
|
|
2714
|
+
return w.jsxs(Cu, { elementType: a, onClick: r, className: m, children: [c && w.jsx("span", { className: "_accButton__stats_gu4kw_61", children: c }), d ? w.jsxs(w.Fragment, { children: [w.jsx(Iu, { title: "Help", className: `${ha} _accButton__icon--help_gu4kw_42` }), w.jsx("span", { "data-tooltip": b(d ?? "") ?? void 0 })] }) : null, w.jsx(e, { style: l, title: s, className: ha }), w.jsx("h2", { style: u, className: "_accButton__title_gu4kw_29", children: b(i) }), w.jsx("div", { className: "_accButton__content_gu4kw_55", children: n })] });
|
|
2715
2715
|
}, xu = (e) => x.createElement("svg", { className: "MuiSvgIcon-root MuiSvgIcon-fontSizeMedium _accButton__icon_1dz30_31 css-i4bv87-MuiSvgIcon-root", focusable: "false", "aria-hidden": "true", viewBox: "0 0 24 24", "data-testid": "TextIncreaseIcon", ...e }, x.createElement("path", { d: "M.99 19h2.42l1.27-3.58h5.65L11.59 19h2.42L8.75 5h-2.5L.99 19zm4.42-5.61L7.44 7.6h.12l2.03 5.79H5.41zM20 11h3v2h-3v3h-2v-3h-3v-2h3V8h2v3z" })), Su = (e) => x.createElement("svg", { className: "MuiSvgIcon-root MuiSvgIcon-fontSizeLarge css-tzssek-MuiSvgIcon-root", focusable: "false", "aria-hidden": "true", viewBox: "0 0 24 24", "data-testid": "AddIcon", ...e }, x.createElement("path", { d: "M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z" })), Au = (e) => x.createElement("svg", { className: "MuiSvgIcon-root MuiSvgIcon-fontSizeLarge css-tzssek-MuiSvgIcon-root", focusable: "false", "aria-hidden": "true", viewBox: "0 0 24 24", "data-testid": "RemoveIcon", ...e }, x.createElement("path", { d: "M19 13H5v-2h14v2z" })), Ue = ({ controlType: e, onClick: t, style: o }) => {
|
|
2716
2716
|
let n;
|
|
2717
2717
|
switch (e) {
|
|
@@ -2724,10 +2724,10 @@ const En = { accAccessibilityMenu__overlay: "_accAccessibilityMenu__overlay_1yac
|
|
|
2724
2724
|
default:
|
|
2725
2725
|
n = bs;
|
|
2726
2726
|
}
|
|
2727
|
-
return
|
|
2728
|
-
}, $t = ({ onIncrease: e, onToggle: t, onDescrease: o }) =>
|
|
2727
|
+
return w.jsx("button", { style: o, onClick: t, className: "_accValueControlButton_1pw3b_1", children: w.jsx(n, {}) });
|
|
2728
|
+
}, $t = ({ onIncrease: e, onToggle: t, onDescrease: o }) => w.jsxs("div", { className: "_accValueControl_p53sg_1", children: [w.jsx(Ue, { onClick: e, controlType: "increase" }), w.jsx(Ue, { onClick: t, controlType: "init" }), w.jsx(Ue, { onClick: o, controlType: "decrease" })] }), wu = ({ accState: e, onChangeAccState: t }) => {
|
|
2729
2729
|
const { adjustFontSizePercentage: o } = e;
|
|
2730
|
-
return
|
|
2730
|
+
return w.jsx(be, { elementType: "div", Icon: xu, titleTranslationKey: "content.adjustFontSize", title: "Adjust Font Size", stats: `${o}%`, children: w.jsx($t, { onIncrease: () => {
|
|
2731
2731
|
t((n) => {
|
|
2732
2732
|
const { adjustFontSizePercentage: r } = n;
|
|
2733
2733
|
r < 200 && (n.adjustFontSizePercentage += 10);
|
|
@@ -2814,21 +2814,21 @@ html.acc-font-weight{
|
|
|
2814
2814
|
}, [e, t]);
|
|
2815
2815
|
}, Nu = ({ accState: e, onChangeAccState: t }) => {
|
|
2816
2816
|
const { isDyslexiaFont: o } = e;
|
|
2817
|
-
return nc(o),
|
|
2817
|
+
return nc(o), w.jsx(be, { Icon: Gu, isToggled: o, onToggle: () => {
|
|
2818
2818
|
t((n) => {
|
|
2819
2819
|
n.isDyslexiaFont = !n.isDyslexiaFont;
|
|
2820
2820
|
});
|
|
2821
2821
|
}, titleTranslationKey: "content.dyslexiaFont", title: "Dyslexia Font" });
|
|
2822
2822
|
}, ku = (e) => x.createElement("svg", { className: "MuiSvgIcon-root MuiSvgIcon-fontSizeMedium _accButton__icon_1dz30_31 css-i4bv87-MuiSvgIcon-root", focusable: "false", "aria-hidden": "true", viewBox: "0 0 24 24", "data-testid": "FormatBoldIcon", ...e }, x.createElement("path", { d: "M15.6 10.79c.97-.67 1.65-1.77 1.65-2.79 0-2.26-1.75-4-4-4H7v14h7.04c2.09 0 3.71-1.7 3.71-3.79 0-1.52-.86-2.82-2.15-3.42zM10 6.5h3c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5h-3v-3zm3.5 9H10v-3h3.5c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5z" })), Bu = ({ accState: e, onChangeAccState: t }) => {
|
|
2823
2823
|
const { isFontWeightBold: o } = e;
|
|
2824
|
-
return
|
|
2824
|
+
return w.jsx(be, { Icon: ku, isToggled: o, onToggle: () => {
|
|
2825
2825
|
t((n) => {
|
|
2826
2826
|
n.isFontWeightBold = !n.isFontWeightBold;
|
|
2827
2827
|
});
|
|
2828
2828
|
}, titleTranslationKey: "content.fontWeight", title: "Font Weight" });
|
|
2829
2829
|
}, Mu = (e) => x.createElement("svg", { className: "MuiSvgIcon-root MuiSvgIcon-fontSizeMedium _accButton__icon_1dz30_31 css-i4bv87-MuiSvgIcon-root", focusable: "false", "aria-hidden": "true", viewBox: "0 0 24 24", "data-testid": "FormatAlignCenterIcon", ...e }, x.createElement("path", { d: "M7 15v2h10v-2H7zm-4 6h18v-2H3v2zm0-8h18v-2H3v2zm4-6v2h10V7H7zM3 3v2h18V3H3z" })), zo = Be.memo(({ direction: e, accState: t, onChangeAccState: o, translationKey: n }) => {
|
|
2830
2830
|
const { textAlign: r } = t, i = !!r[e];
|
|
2831
|
-
return
|
|
2831
|
+
return w.jsx(be, { Icon: Mu, isToggled: i, onToggle: () => {
|
|
2832
2832
|
o((a) => {
|
|
2833
2833
|
const s = a.textAlign[e];
|
|
2834
2834
|
a.textAlign[e] = s ? null : e;
|
|
@@ -2836,14 +2836,14 @@ html.acc-font-weight{
|
|
|
2836
2836
|
}, titleTranslationKey: n, title: "Text Align" });
|
|
2837
2837
|
}), Lu = (e) => x.createElement("svg", { className: "MuiSvgIcon-root MuiSvgIcon-fontSizeMedium _accButton__icon_1dz30_31 css-i4bv87-MuiSvgIcon-root", focusable: "false", "aria-hidden": "true", viewBox: "0 0 24 24", "data-testid": "LinkIcon", ...e }, x.createElement("path", { d: "M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1zM8 13h8v-2H8v2zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5z" })), Eu = ({ accState: e, onChangeAccState: t }) => {
|
|
2838
2838
|
const { highlightLinks: o } = e;
|
|
2839
|
-
return
|
|
2839
|
+
return w.jsx(be, { Icon: Lu, isToggled: o, onToggle: () => {
|
|
2840
2840
|
t((n) => {
|
|
2841
2841
|
n.highlightLinks = !n.highlightLinks;
|
|
2842
2842
|
});
|
|
2843
2843
|
}, titleTranslationKey: "content.highlightLinks", title: "Highlight Links" });
|
|
2844
2844
|
}, Vu = (e) => x.createElement("svg", { className: "MuiSvgIcon-root MuiSvgIcon-fontSizeMedium _accButton__icon_1dz30_31 css-i4bv87-MuiSvgIcon-root", focusable: "false", "aria-hidden": "true", viewBox: "0 0 24 24", "data-testid": "TitleIcon", ...e }, x.createElement("path", { d: "M5 4v3h5.5v12h3V7H19V4z" })), Ru = ({ accState: e, onChangeAccState: t }) => {
|
|
2845
2845
|
const { highlightTitles: o } = e;
|
|
2846
|
-
return
|
|
2846
|
+
return w.jsx(be, { Icon: Vu, isToggled: o, onToggle: () => {
|
|
2847
2847
|
t((n) => {
|
|
2848
2848
|
n.highlightTitles = !n.highlightTitles;
|
|
2849
2849
|
});
|
|
@@ -2855,7 +2855,7 @@ html.acc-font-weight{
|
|
|
2855
2855
|
i.letterSpacing = a ? 0 : 1;
|
|
2856
2856
|
});
|
|
2857
2857
|
};
|
|
2858
|
-
return
|
|
2858
|
+
return w.jsx(be, { Icon: Tu, titleTranslationKey: "content.letterSpacing", title: "Letter Spacing", stats: o ? `${o}px` : void 0, elementType: n ? "div" : "button", isActive: n, onToggle: n ? void 0 : r, children: n ? w.jsx($t, { onIncrease: () => {
|
|
2859
2859
|
t((i) => {
|
|
2860
2860
|
i.letterSpacing++;
|
|
2861
2861
|
});
|
|
@@ -2871,7 +2871,7 @@ html.acc-font-weight{
|
|
|
2871
2871
|
i.wordSpacing = a ? 0 : 1;
|
|
2872
2872
|
});
|
|
2873
2873
|
};
|
|
2874
|
-
return
|
|
2874
|
+
return w.jsx(be, { Icon: zu, titleTranslationKey: "content.wordsSpacing", title: "Word Spacing", stats: o ? `${o}px` : void 0, elementType: n ? "div" : "button", isActive: n, onToggle: n ? void 0 : r, children: n ? w.jsx($t, { onIncrease: () => {
|
|
2875
2875
|
t((i) => {
|
|
2876
2876
|
i.wordSpacing++;
|
|
2877
2877
|
});
|
|
@@ -2887,33 +2887,33 @@ html.acc-font-weight{
|
|
|
2887
2887
|
i.lineHeight.isLineHeight = a, i.lineHeight.lineHeight = a ? 3 : 0;
|
|
2888
2888
|
});
|
|
2889
2889
|
};
|
|
2890
|
-
return
|
|
2890
|
+
return w.jsx(be, { Icon: Hu, titleTranslationKey: "content.lineHeight", title: "Line Height", elementType: n ? "div" : "button", isActive: n, onToggle: n ? void 0 : r, stats: o ? `${(100 * o).toFixed(0)}%` : void 0, children: n ? w.jsxs("div", { className: "_accLineHeightButton_n1tdk_1", children: [n && w.jsx(Ue, { onClick: () => {
|
|
2891
2891
|
t((i) => {
|
|
2892
2892
|
i.lineHeight.lineHeight += 0.1;
|
|
2893
2893
|
});
|
|
2894
|
-
}, controlType: "increase" }),
|
|
2894
|
+
}, controlType: "increase" }), w.jsx(Ue, { onClick: r, controlType: "init" }), n && w.jsx(Ue, { onClick: () => {
|
|
2895
2895
|
t((i) => {
|
|
2896
2896
|
i.lineHeight.lineHeight > 0.1 && (i.lineHeight.lineHeight -= 0.1);
|
|
2897
2897
|
});
|
|
2898
2898
|
}, controlType: "decrease" })] }) : null });
|
|
2899
|
-
},
|
|
2899
|
+
}, Fu = (e) => x.createElement("svg", { className: "MuiSvgIcon-root MuiSvgIcon-fontSizeMedium _accButton__icon_1dz30_31 css-i4bv87-MuiSvgIcon-root", focusable: "false", "aria-hidden": "true", viewBox: "0 0 24 24", "data-testid": "ZoomInIcon", ...e }, x.createElement("path", { d: "M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z" }), x.createElement("path", { d: "M12 10h-2v2H9v-2H7V9h2V7h1v2h2v1z" })), ju = ({ accState: e, onChangeAccState: t }) => {
|
|
2900
2900
|
const { zoom: o } = e.zoom;
|
|
2901
|
-
return
|
|
2901
|
+
return w.jsx(be, { elementType: "div", Icon: Fu, titleTranslationKey: "content.zoom", title: "Zoom", stats: o ? `${(100 * o).toFixed(0)}%` : void 0, children: w.jsxs("div", { className: "_accZoomButton_1fl6t_1", children: [w.jsx(Ue, { onClick: () => {
|
|
2902
2902
|
t((n) => {
|
|
2903
2903
|
n.zoom.isZoom = !0, n.zoom.zoom += 0.1;
|
|
2904
2904
|
});
|
|
2905
|
-
}, controlType: "increase" }),
|
|
2905
|
+
}, controlType: "increase" }), w.jsx(Ue, { onClick: () => {
|
|
2906
2906
|
t((n) => {
|
|
2907
2907
|
n.zoom.isZoom = !1, n.zoom.zoom = 1;
|
|
2908
2908
|
});
|
|
2909
|
-
}, controlType: "init" }),
|
|
2909
|
+
}, controlType: "init" }), w.jsx(Ue, { onClick: () => {
|
|
2910
2910
|
t((n) => {
|
|
2911
2911
|
n.zoom.zoom > 0.1 && (n.zoom.isZoom = !0, n.zoom.zoom -= 0.1);
|
|
2912
2912
|
});
|
|
2913
2913
|
}, controlType: "decrease" })] }) });
|
|
2914
|
-
}, Wu = ({ accState: e, onChangeAccState: t }) =>
|
|
2914
|
+
}, Wu = ({ accState: e, onChangeAccState: t }) => w.jsxs(w.Fragment, { children: [w.jsx(wu, { accState: e, onChangeAccState: t }), w.jsx(Nu, { accState: e, onChangeAccState: t }), w.jsx(Bu, { accState: e, onChangeAccState: t }), w.jsx(zo, { accState: e, onChangeAccState: t, direction: "left", translationKey: "content.textAlignLeft" }), w.jsx(zo, { accState: e, onChangeAccState: t, direction: "center", translationKey: "content.textAlignCenter" }), w.jsx(zo, { accState: e, onChangeAccState: t, direction: "right", translationKey: "content.textAlignRight" }), w.jsx(Eu, { accState: e, onChangeAccState: t }), w.jsx(Ru, { accState: e, onChangeAccState: t }), w.jsx(Ou, { accState: e, onChangeAccState: t }), w.jsx(Xu, { accState: e, onChangeAccState: t }), w.jsx(Pu, { accState: e, onChangeAccState: t }), w.jsx(ju, { accState: e, onChangeAccState: t })] }), Zu = (e) => x.createElement("svg", { className: "MuiSvgIcon-root MuiSvgIcon-fontSizeMedium _accButton__icon_1dz30_31 css-i4bv87-MuiSvgIcon-root", focusable: "false", "aria-hidden": "true", viewBox: "0 0 24 24", "data-testid": "VisibilitySharpIcon", ...e }, x.createElement("path", { d: "M12 4C7 4 2.73 7.11 1 11.5 2.73 15.89 7 19 12 19s9.27-3.11 11-7.5C21.27 7.11 17 4 12 4zm0 12.5c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z" })), Ju = ({ accState: e, onChangeAccState: t }) => {
|
|
2915
2915
|
const { isBlueLightFilter: o } = e;
|
|
2916
|
-
return
|
|
2916
|
+
return w.jsx(be, { Icon: Zu, isToggled: o, onToggle: () => {
|
|
2917
2917
|
t((n) => {
|
|
2918
2918
|
n.isBlueLightFilter = !n.isBlueLightFilter;
|
|
2919
2919
|
});
|
|
@@ -2992,7 +2992,7 @@ function Yr(e, t, o, n) {
|
|
|
2992
2992
|
}
|
|
2993
2993
|
return i;
|
|
2994
2994
|
}
|
|
2995
|
-
function
|
|
2995
|
+
function jt(e, t) {
|
|
2996
2996
|
return Array.isArray(e) ? e[t] : e;
|
|
2997
2997
|
}
|
|
2998
2998
|
Jt.preMessage = function(e) {
|
|
@@ -3003,17 +3003,17 @@ Jt.preMessage = function(e) {
|
|
|
3003
3003
|
oc(_u, e, t);
|
|
3004
3004
|
};
|
|
3005
3005
|
var Rt = x.createContext({ min: 0, max: 0, direction: "ltr", step: 1, includedStart: 0, includedEnd: 0, tabIndex: 0, keyboard: !0, styles: {}, classNames: {} }), $u = ["prefixCls", "value", "valueIndex", "onStartMove", "style", "render", "dragging", "onOffsetChange", "onChangeComplete", "onFocus", "onMouseEnter"], Lr = x.forwardRef(function(e, t) {
|
|
3006
|
-
var o, n = e.prefixCls, r = e.value, i = e.valueIndex, a = e.onStartMove, s = e.style, c = e.render, l = e.dragging, u = e.onOffsetChange, g = e.onChangeComplete, d = e.onFocus, b = e.onMouseEnter,
|
|
3007
|
-
|
|
3006
|
+
var o, n = e.prefixCls, r = e.value, i = e.valueIndex, a = e.onStartMove, s = e.style, c = e.render, l = e.dragging, u = e.onOffsetChange, g = e.onChangeComplete, d = e.onFocus, b = e.onMouseEnter, m = st(e, $u), h = x.useContext(Rt), v = h.min, S = h.max, I = h.direction, f = h.disabled, y = h.keyboard, p = h.range, C = h.tabIndex, A = h.ariaLabelForHandle, B = h.ariaLabelledByForHandle, F = h.ariaValueTextFormatterForHandle, V = h.styles, Y = h.classNames, j = "".concat(n, "-handle"), J = function(M) {
|
|
3007
|
+
f || a(M, i);
|
|
3008
3008
|
}, N = Yr(I, r, v, S), Z = {};
|
|
3009
|
-
i !== null && (Z = { tabIndex:
|
|
3010
|
-
d == null || d(
|
|
3011
|
-
}, onMouseEnter: function(
|
|
3012
|
-
b(
|
|
3013
|
-
}, onKeyDown: function(
|
|
3014
|
-
if (!
|
|
3009
|
+
i !== null && (Z = { tabIndex: f ? null : jt(C, i), role: "slider", "aria-valuemin": v, "aria-valuemax": S, "aria-valuenow": r, "aria-disabled": f, "aria-label": jt(A, i), "aria-labelledby": jt(B, i), "aria-valuetext": (o = jt(F, i)) === null || o === void 0 ? void 0 : o(r), "aria-orientation": I === "ltr" || I === "rtl" ? "horizontal" : "vertical", onMouseDown: J, onTouchStart: J, onFocus: function(M) {
|
|
3010
|
+
d == null || d(M, i);
|
|
3011
|
+
}, onMouseEnter: function(M) {
|
|
3012
|
+
b(M, i);
|
|
3013
|
+
}, onKeyDown: function(M) {
|
|
3014
|
+
if (!f && y) {
|
|
3015
3015
|
var E = null;
|
|
3016
|
-
switch (
|
|
3016
|
+
switch (M.which || M.keyCode) {
|
|
3017
3017
|
case 37:
|
|
3018
3018
|
E = I === "ltr" || I === "btt" ? -1 : 1;
|
|
3019
3019
|
break;
|
|
@@ -3038,10 +3038,10 @@ var Rt = x.createContext({ min: 0, max: 0, direction: "ltr", step: 1, includedSt
|
|
|
3038
3038
|
case 34:
|
|
3039
3039
|
E = -2;
|
|
3040
3040
|
}
|
|
3041
|
-
E !== null && (
|
|
3041
|
+
E !== null && (M.preventDefault(), u(E, i));
|
|
3042
3042
|
}
|
|
3043
|
-
}, onKeyUp: function(
|
|
3044
|
-
switch (
|
|
3043
|
+
}, onKeyUp: function(M) {
|
|
3044
|
+
switch (M.which || M.keyCode) {
|
|
3045
3045
|
case 37:
|
|
3046
3046
|
case 39:
|
|
3047
3047
|
case 38:
|
|
@@ -3053,7 +3053,7 @@ var Rt = x.createContext({ min: 0, max: 0, direction: "ltr", step: 1, includedSt
|
|
|
3053
3053
|
g == null || g();
|
|
3054
3054
|
}
|
|
3055
3055
|
} });
|
|
3056
|
-
var G = x.createElement("div", P({ ref: t, className: yt(
|
|
3056
|
+
var G = x.createElement("div", P({ ref: t, className: yt(j, je(je({}, "".concat(j, "-").concat(i + 1), i !== null && p), "".concat(j, "-dragging"), l), Y.handle), style: L(L(L({}, N), s), V.handle) }, Z, m));
|
|
3057
3057
|
return c && (G = c(G, { index: i, prefixCls: n, value: r, dragging: l })), G;
|
|
3058
3058
|
});
|
|
3059
3059
|
process.env.NODE_ENV !== "production" && (Lr.displayName = "Handle");
|
|
@@ -3065,22 +3065,22 @@ var Uu = ["prefixCls", "style", "onStartMove", "onOffsetChange", "values", "hand
|
|
|
3065
3065
|
(I = d.current[S]) === null || I === void 0 || I.focus();
|
|
3066
3066
|
} };
|
|
3067
3067
|
});
|
|
3068
|
-
var b = fe(x.useState(-1), 2),
|
|
3069
|
-
|
|
3068
|
+
var b = fe(x.useState(-1), 2), m = b[0], h = b[1], v = L({ prefixCls: o, onStartMove: r, onOffsetChange: i, render: s, onFocus: function(S, I) {
|
|
3069
|
+
h(I), u == null || u(S);
|
|
3070
3070
|
}, onMouseEnter: function(S, I) {
|
|
3071
|
-
|
|
3071
|
+
h(I);
|
|
3072
3072
|
} }, g);
|
|
3073
3073
|
return x.createElement(x.Fragment, null, a.map(function(S, I) {
|
|
3074
|
-
return x.createElement(Lr, P({ ref: function(
|
|
3075
|
-
|
|
3076
|
-
}, dragging: l === I, style:
|
|
3077
|
-
}), c && x.createElement(Lr, P({ key: "a11y" }, v, { value: a[
|
|
3074
|
+
return x.createElement(Lr, P({ ref: function(f) {
|
|
3075
|
+
f ? d.current[I] = f : delete d.current[I];
|
|
3076
|
+
}, dragging: l === I, style: jt(n, I), key: I, value: S, valueIndex: I }, v));
|
|
3077
|
+
}), c && x.createElement(Lr, P({ key: "a11y" }, v, { value: a[m], valueIndex: null, dragging: l !== -1, render: c, style: { pointerEvents: "none" }, tabIndex: null, "aria-hidden": !0 })));
|
|
3078
3078
|
});
|
|
3079
3079
|
process.env.NODE_ENV !== "production" && (rc.displayName = "Handles");
|
|
3080
3080
|
var Ca, xa, Qu = function(e) {
|
|
3081
|
-
var t = e.prefixCls, o = e.style, n = e.children, r = e.value, i = e.onClick, a = x.useContext(Rt), s = a.min, c = a.max, l = a.direction, u = a.includedStart, g = a.includedEnd, d = a.included, b = "".concat(t, "-text"),
|
|
3082
|
-
return x.createElement("span", { className: yt(b,
|
|
3083
|
-
|
|
3081
|
+
var t = e.prefixCls, o = e.style, n = e.children, r = e.value, i = e.onClick, a = x.useContext(Rt), s = a.min, c = a.max, l = a.direction, u = a.includedStart, g = a.includedEnd, d = a.included, b = "".concat(t, "-text"), m = Yr(l, r, s, c);
|
|
3082
|
+
return x.createElement("span", { className: yt(b, je({}, "".concat(b, "-active"), d && u <= r && r <= g)), style: L(L({}, m), o), onMouseDown: function(h) {
|
|
3083
|
+
h.stopPropagation();
|
|
3084
3084
|
}, onClick: function() {
|
|
3085
3085
|
i(r);
|
|
3086
3086
|
} }, n);
|
|
@@ -3091,8 +3091,8 @@ var Ca, xa, Qu = function(e) {
|
|
|
3091
3091
|
return x.createElement(Qu, { key: a, prefixCls: r, style: s, value: a, onClick: n }, c);
|
|
3092
3092
|
})) : null;
|
|
3093
3093
|
}, qu = function(e) {
|
|
3094
|
-
var t = e.prefixCls, o = e.value, n = e.style, r = e.activeStyle, i = x.useContext(Rt), a = i.min, s = i.max, c = i.direction, l = i.included, u = i.includedStart, g = i.includedEnd, d = "".concat(t, "-dot"), b = l && u <= o && o <= g,
|
|
3095
|
-
return b && (
|
|
3094
|
+
var t = e.prefixCls, o = e.value, n = e.style, r = e.activeStyle, i = x.useContext(Rt), a = i.min, s = i.max, c = i.direction, l = i.included, u = i.includedStart, g = i.includedEnd, d = "".concat(t, "-dot"), b = l && u <= o && o <= g, m = L(L({}, Yr(c, o, a, s)), typeof n == "function" ? n(o) : n);
|
|
3095
|
+
return b && (m = L(L({}, m), typeof r == "function" ? r(o) : r)), x.createElement("span", { className: yt(d, je({}, "".concat(d, "-active"), b)), style: m });
|
|
3096
3096
|
}, ed = function(e) {
|
|
3097
3097
|
var t = e.prefixCls, o = e.marks, n = e.dots, r = e.style, i = e.activeStyle, a = x.useContext(Rt), s = a.min, c = a.max, l = a.step, u = x.useMemo(function() {
|
|
3098
3098
|
var g = /* @__PURE__ */ new Set();
|
|
@@ -3105,39 +3105,39 @@ var Ca, xa, Qu = function(e) {
|
|
|
3105
3105
|
return x.createElement(qu, { prefixCls: t, key: g, value: g, style: r, activeStyle: i });
|
|
3106
3106
|
}));
|
|
3107
3107
|
}, Sa = function(e) {
|
|
3108
|
-
var t = e.prefixCls, o = e.style, n = e.start, r = e.end, i = e.index, a = e.onStartMove, s = e.replaceCls, c = x.useContext(Rt), l = c.direction, u = c.min, g = c.max, d = c.disabled, b = c.range,
|
|
3108
|
+
var t = e.prefixCls, o = e.style, n = e.start, r = e.end, i = e.index, a = e.onStartMove, s = e.replaceCls, c = x.useContext(Rt), l = c.direction, u = c.min, g = c.max, d = c.disabled, b = c.range, m = c.classNames, h = "".concat(t, "-track"), v = Mr(n, u, g), S = Mr(r, u, g), I = function(p) {
|
|
3109
3109
|
!d && a && a(p, -1);
|
|
3110
|
-
},
|
|
3110
|
+
}, f = {};
|
|
3111
3111
|
switch (l) {
|
|
3112
3112
|
case "rtl":
|
|
3113
|
-
|
|
3113
|
+
f.right = "".concat(100 * v, "%"), f.width = "".concat(100 * S - 100 * v, "%");
|
|
3114
3114
|
break;
|
|
3115
3115
|
case "btt":
|
|
3116
|
-
|
|
3116
|
+
f.bottom = "".concat(100 * v, "%"), f.height = "".concat(100 * S - 100 * v, "%");
|
|
3117
3117
|
break;
|
|
3118
3118
|
case "ttb":
|
|
3119
|
-
|
|
3119
|
+
f.top = "".concat(100 * v, "%"), f.height = "".concat(100 * S - 100 * v, "%");
|
|
3120
3120
|
break;
|
|
3121
3121
|
default:
|
|
3122
|
-
|
|
3122
|
+
f.left = "".concat(100 * v, "%"), f.width = "".concat(100 * S - 100 * v, "%");
|
|
3123
3123
|
}
|
|
3124
|
-
var y = s || yt(
|
|
3125
|
-
return x.createElement("div", { className: y, style: L(L({},
|
|
3124
|
+
var y = s || yt(h, je(je({}, "".concat(h, "-").concat(i + 1), i !== null && b), "".concat(t, "-track-draggable"), a), m.track);
|
|
3125
|
+
return x.createElement("div", { className: y, style: L(L({}, f), o), onMouseDown: I, onTouchStart: I });
|
|
3126
3126
|
}, td = function(e) {
|
|
3127
3127
|
var t = e.prefixCls, o = e.style, n = e.values, r = e.startPoint, i = e.onStartMove, a = x.useContext(Rt), s = a.included, c = a.range, l = a.min, u = a.styles, g = a.classNames, d = x.useMemo(function() {
|
|
3128
3128
|
if (!c) {
|
|
3129
3129
|
if (n.length === 0) return [];
|
|
3130
|
-
var
|
|
3131
|
-
return [{ start: Math.min(
|
|
3130
|
+
var m = r ?? l, h = n[0];
|
|
3131
|
+
return [{ start: Math.min(m, h), end: Math.max(m, h) }];
|
|
3132
3132
|
}
|
|
3133
3133
|
for (var v = [], S = 0; S < n.length - 1; S += 1) v.push({ start: n[S], end: n[S + 1] });
|
|
3134
3134
|
return v;
|
|
3135
3135
|
}, [n, c, r, l]);
|
|
3136
3136
|
if (!s) return null;
|
|
3137
3137
|
var b = g.tracks || u.tracks ? x.createElement(Sa, { index: null, prefixCls: t, start: d[0].start, end: d[d.length - 1].end, replaceCls: yt(g.tracks, "".concat(t, "-tracks")), style: u.tracks }) : null;
|
|
3138
|
-
return x.createElement(x.Fragment, null, b, d.map(function(
|
|
3139
|
-
var v =
|
|
3140
|
-
return x.createElement(Sa, { index:
|
|
3138
|
+
return x.createElement(x.Fragment, null, b, d.map(function(m, h) {
|
|
3139
|
+
var v = m.start, S = m.end;
|
|
3140
|
+
return x.createElement(Sa, { index: h, prefixCls: t, style: L(L({}, jt(o, h)), u.track), start: v, end: S, key: h, onStartMove: i });
|
|
3141
3141
|
}));
|
|
3142
3142
|
}, te = {}, oe = {};
|
|
3143
3143
|
function Aa(e) {
|
|
@@ -3147,8 +3147,8 @@ function Aa(e) {
|
|
|
3147
3147
|
process.env.NODE_ENV === "production" ? function() {
|
|
3148
3148
|
if (Ca) return te;
|
|
3149
3149
|
Ca = 1;
|
|
3150
|
-
var e, t = Symbol.for("react.element"), o = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), a = Symbol.for("react.provider"), s = Symbol.for("react.context"), c = Symbol.for("react.server_context"), l = Symbol.for("react.forward_ref"), u = Symbol.for("react.suspense"), g = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), b = Symbol.for("react.lazy"),
|
|
3151
|
-
function
|
|
3150
|
+
var e, t = Symbol.for("react.element"), o = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), a = Symbol.for("react.provider"), s = Symbol.for("react.context"), c = Symbol.for("react.server_context"), l = Symbol.for("react.forward_ref"), u = Symbol.for("react.suspense"), g = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), m = Symbol.for("react.offscreen");
|
|
3151
|
+
function h(v) {
|
|
3152
3152
|
if (typeof v == "object" && v !== null) {
|
|
3153
3153
|
var S = v.$$typeof;
|
|
3154
3154
|
switch (S) {
|
|
@@ -3183,35 +3183,35 @@ process.env.NODE_ENV === "production" ? function() {
|
|
|
3183
3183
|
}, te.isConcurrentMode = function() {
|
|
3184
3184
|
return !1;
|
|
3185
3185
|
}, te.isContextConsumer = function(v) {
|
|
3186
|
-
return
|
|
3186
|
+
return h(v) === s;
|
|
3187
3187
|
}, te.isContextProvider = function(v) {
|
|
3188
|
-
return
|
|
3188
|
+
return h(v) === a;
|
|
3189
3189
|
}, te.isElement = function(v) {
|
|
3190
3190
|
return typeof v == "object" && v !== null && v.$$typeof === t;
|
|
3191
3191
|
}, te.isForwardRef = function(v) {
|
|
3192
|
-
return
|
|
3192
|
+
return h(v) === l;
|
|
3193
3193
|
}, te.isFragment = function(v) {
|
|
3194
|
-
return
|
|
3194
|
+
return h(v) === n;
|
|
3195
3195
|
}, te.isLazy = function(v) {
|
|
3196
|
-
return
|
|
3196
|
+
return h(v) === b;
|
|
3197
3197
|
}, te.isMemo = function(v) {
|
|
3198
|
-
return
|
|
3198
|
+
return h(v) === d;
|
|
3199
3199
|
}, te.isPortal = function(v) {
|
|
3200
|
-
return
|
|
3200
|
+
return h(v) === o;
|
|
3201
3201
|
}, te.isProfiler = function(v) {
|
|
3202
|
-
return
|
|
3202
|
+
return h(v) === i;
|
|
3203
3203
|
}, te.isStrictMode = function(v) {
|
|
3204
|
-
return
|
|
3204
|
+
return h(v) === r;
|
|
3205
3205
|
}, te.isSuspense = function(v) {
|
|
3206
|
-
return
|
|
3206
|
+
return h(v) === u;
|
|
3207
3207
|
}, te.isSuspenseList = function(v) {
|
|
3208
|
-
return
|
|
3208
|
+
return h(v) === g;
|
|
3209
3209
|
}, te.isValidElementType = function(v) {
|
|
3210
|
-
return typeof v == "string" || typeof v == "function" || v === n || v === i || v === r || v === u || v === g || v ===
|
|
3211
|
-
}, te.typeOf =
|
|
3210
|
+
return typeof v == "string" || typeof v == "function" || v === n || v === i || v === r || v === u || v === g || v === m || typeof v == "object" && v !== null && (v.$$typeof === b || v.$$typeof === d || v.$$typeof === a || v.$$typeof === s || v.$$typeof === l || v.$$typeof === e || v.getModuleId !== void 0);
|
|
3211
|
+
}, te.typeOf = h;
|
|
3212
3212
|
}() : xa || (xa = 1, process.env.NODE_ENV !== "production" && function() {
|
|
3213
|
-
var e, t = Symbol.for("react.element"), o = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), a = Symbol.for("react.provider"), s = Symbol.for("react.context"), c = Symbol.for("react.server_context"), l = Symbol.for("react.forward_ref"), u = Symbol.for("react.suspense"), g = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), b = Symbol.for("react.lazy"),
|
|
3214
|
-
function
|
|
3213
|
+
var e, t = Symbol.for("react.element"), o = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), a = Symbol.for("react.provider"), s = Symbol.for("react.context"), c = Symbol.for("react.server_context"), l = Symbol.for("react.forward_ref"), u = Symbol.for("react.suspense"), g = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), m = Symbol.for("react.offscreen");
|
|
3214
|
+
function h(N) {
|
|
3215
3215
|
if (typeof N == "object" && N !== null) {
|
|
3216
3216
|
var Z = N.$$typeof;
|
|
3217
3217
|
switch (Z) {
|
|
@@ -3225,15 +3225,15 @@ process.env.NODE_ENV === "production" ? function() {
|
|
|
3225
3225
|
case g:
|
|
3226
3226
|
return G;
|
|
3227
3227
|
default:
|
|
3228
|
-
var
|
|
3229
|
-
switch (
|
|
3228
|
+
var M = G && G.$$typeof;
|
|
3229
|
+
switch (M) {
|
|
3230
3230
|
case c:
|
|
3231
3231
|
case s:
|
|
3232
3232
|
case l:
|
|
3233
3233
|
case b:
|
|
3234
3234
|
case d:
|
|
3235
3235
|
case a:
|
|
3236
|
-
return
|
|
3236
|
+
return M;
|
|
3237
3237
|
default:
|
|
3238
3238
|
return Z;
|
|
3239
3239
|
}
|
|
@@ -3244,41 +3244,41 @@ process.env.NODE_ENV === "production" ? function() {
|
|
|
3244
3244
|
}
|
|
3245
3245
|
}
|
|
3246
3246
|
e = Symbol.for("react.module.reference");
|
|
3247
|
-
var v = s, S = a, I = t,
|
|
3248
|
-
oe.ContextConsumer = v, oe.ContextProvider = S, oe.Element = I, oe.ForwardRef =
|
|
3249
|
-
return
|
|
3247
|
+
var v = s, S = a, I = t, f = l, y = n, p = b, C = d, A = o, B = i, F = r, V = u, Y = g, j = !1, J = !1;
|
|
3248
|
+
oe.ContextConsumer = v, oe.ContextProvider = S, oe.Element = I, oe.ForwardRef = f, oe.Fragment = y, oe.Lazy = p, oe.Memo = C, oe.Portal = A, oe.Profiler = B, oe.StrictMode = F, oe.Suspense = V, oe.SuspenseList = Y, oe.isAsyncMode = function(N) {
|
|
3249
|
+
return j || (j = !0), !1;
|
|
3250
3250
|
}, oe.isConcurrentMode = function(N) {
|
|
3251
3251
|
return J || (J = !0), !1;
|
|
3252
3252
|
}, oe.isContextConsumer = function(N) {
|
|
3253
|
-
return
|
|
3253
|
+
return h(N) === s;
|
|
3254
3254
|
}, oe.isContextProvider = function(N) {
|
|
3255
|
-
return
|
|
3255
|
+
return h(N) === a;
|
|
3256
3256
|
}, oe.isElement = function(N) {
|
|
3257
3257
|
return typeof N == "object" && N !== null && N.$$typeof === t;
|
|
3258
3258
|
}, oe.isForwardRef = function(N) {
|
|
3259
|
-
return
|
|
3259
|
+
return h(N) === l;
|
|
3260
3260
|
}, oe.isFragment = function(N) {
|
|
3261
|
-
return
|
|
3261
|
+
return h(N) === n;
|
|
3262
3262
|
}, oe.isLazy = function(N) {
|
|
3263
|
-
return
|
|
3263
|
+
return h(N) === b;
|
|
3264
3264
|
}, oe.isMemo = function(N) {
|
|
3265
|
-
return
|
|
3265
|
+
return h(N) === d;
|
|
3266
3266
|
}, oe.isPortal = function(N) {
|
|
3267
|
-
return
|
|
3267
|
+
return h(N) === o;
|
|
3268
3268
|
}, oe.isProfiler = function(N) {
|
|
3269
|
-
return
|
|
3269
|
+
return h(N) === i;
|
|
3270
3270
|
}, oe.isStrictMode = function(N) {
|
|
3271
|
-
return
|
|
3271
|
+
return h(N) === r;
|
|
3272
3272
|
}, oe.isSuspense = function(N) {
|
|
3273
|
-
return
|
|
3273
|
+
return h(N) === u;
|
|
3274
3274
|
}, oe.isSuspenseList = function(N) {
|
|
3275
|
-
return
|
|
3275
|
+
return h(N) === g;
|
|
3276
3276
|
}, oe.isValidElementType = function(N) {
|
|
3277
|
-
return typeof N == "string" || typeof N == "function" || N === n || N === i || N === r || N === u || N === g || N ===
|
|
3278
|
-
}, oe.typeOf =
|
|
3277
|
+
return typeof N == "string" || typeof N == "function" || N === n || N === i || N === r || N === u || N === g || N === m || typeof N == "object" && N !== null && (N.$$typeof === b || N.$$typeof === d || N.$$typeof === a || N.$$typeof === s || N.$$typeof === l || N.$$typeof === e || N.getModuleId !== void 0);
|
|
3278
|
+
}, oe.typeOf = h;
|
|
3279
3279
|
}()), Number(Ec.split(".")[0]);
|
|
3280
3280
|
var ic = x.forwardRef(function(e, t) {
|
|
3281
|
-
var o = e.prefixCls, n = o === void 0 ? "rc-slider" : o, r = e.className, i = e.style, a = e.classNames, s = e.styles, c = e.disabled, l = c !== void 0 && c, u = e.keyboard, g = u === void 0 || u, d = e.autoFocus, b = e.onFocus,
|
|
3281
|
+
var o = e.prefixCls, n = o === void 0 ? "rc-slider" : o, r = e.className, i = e.style, a = e.classNames, s = e.styles, c = e.disabled, l = c !== void 0 && c, u = e.keyboard, g = u === void 0 || u, d = e.autoFocus, b = e.onFocus, m = e.onBlur, h = e.min, v = h === void 0 ? 0 : h, S = e.max, I = S === void 0 ? 100 : S, f = e.step, y = f === void 0 ? 1 : f, p = e.value, C = e.defaultValue, A = e.range, B = e.count, F = e.onChange, V = e.onBeforeChange, Y = e.onAfterChange, j = e.onChangeComplete, J = e.allowCross, N = J === void 0 || J, Z = e.pushable, G = Z !== void 0 && Z, M = e.draggableTrack, E = e.reverse, k = e.vertical, z = e.included, _ = z === void 0 || z, se = e.startPoint, re = e.trackStyle, ge = e.handleStyle, U = e.railStyle, ie = e.dotStyle, Me = e.activeDotStyle, $ = e.marks, Ne = e.dots, De = e.handleRender, Ye = e.activeHandleRender, Ke = e.tabIndex, nt = Ke === void 0 ? 0 : Ke, ct = e.ariaLabelForHandle, lt = e.ariaLabelledByForHandle, _e = e.ariaValueTextFormatterForHandle, ot = x.useRef(null), rt = x.useRef(null), It = x.useMemo(function() {
|
|
3282
3282
|
return k ? E ? "ttb" : "btt" : E ? "rtl" : "ltr";
|
|
3283
3283
|
}, [E, k]), qe = x.useMemo(function() {
|
|
3284
3284
|
return isFinite(v) ? v : 0;
|
|
@@ -3289,58 +3289,58 @@ var ic = x.forwardRef(function(e, t) {
|
|
|
3289
3289
|
}, [y]), Cc = x.useMemo(function() {
|
|
3290
3290
|
return typeof G == "boolean" ? !!G && Gt : G >= 0 && G;
|
|
3291
3291
|
}, [G, Gt]), vn = x.useMemo(function() {
|
|
3292
|
-
return Object.keys($ || {}).map(function(
|
|
3293
|
-
var X = $[
|
|
3292
|
+
return Object.keys($ || {}).map(function(R) {
|
|
3293
|
+
var X = $[R], O = { value: Number(R) };
|
|
3294
3294
|
return X && bt(X) === "object" && !x.isValidElement(X) && ("label" in X || "style" in X) ? (O.style = X.style, O.label = X.label) : O.label = X, O;
|
|
3295
|
-
}).filter(function(
|
|
3296
|
-
var X =
|
|
3295
|
+
}).filter(function(R) {
|
|
3296
|
+
var X = R.label;
|
|
3297
3297
|
return X || typeof X == "number";
|
|
3298
|
-
}).sort(function(
|
|
3299
|
-
return
|
|
3298
|
+
}).sort(function(R, X) {
|
|
3299
|
+
return R.value - X.value;
|
|
3300
3300
|
});
|
|
3301
|
-
}, [$]), xc = function(
|
|
3301
|
+
}, [$]), xc = function(R, X, O, de, ae, me) {
|
|
3302
3302
|
var pe = x.useCallback(function(le) {
|
|
3303
|
-
return Math.max(
|
|
3304
|
-
}, [
|
|
3303
|
+
return Math.max(R, Math.min(X, le));
|
|
3304
|
+
}, [R, X]), ce = x.useCallback(function(le) {
|
|
3305
3305
|
if (O !== null) {
|
|
3306
|
-
var Se =
|
|
3306
|
+
var Se = R + Math.round((pe(le) - R) / O) * O, W = function(ue) {
|
|
3307
3307
|
return (String(ue).split(".")[1] || "").length;
|
|
3308
|
-
}, Ve = Math.max(W(O), W(X), W(
|
|
3309
|
-
return
|
|
3308
|
+
}, Ve = Math.max(W(O), W(X), W(R)), T = Number(Se.toFixed(Ve));
|
|
3309
|
+
return R <= T && T <= X ? T : null;
|
|
3310
3310
|
}
|
|
3311
3311
|
return null;
|
|
3312
|
-
}, [O,
|
|
3312
|
+
}, [O, R, X, pe]), xe = x.useCallback(function(le) {
|
|
3313
3313
|
var Se = pe(le), W = de.map(function(ue) {
|
|
3314
3314
|
return ue.value;
|
|
3315
3315
|
});
|
|
3316
|
-
O !== null && W.push(ce(le)), W.push(
|
|
3317
|
-
var Ve = W[0], T = X -
|
|
3316
|
+
O !== null && W.push(ce(le)), W.push(R, X);
|
|
3317
|
+
var Ve = W[0], T = X - R;
|
|
3318
3318
|
return W.forEach(function(ue) {
|
|
3319
|
-
var
|
|
3320
|
-
|
|
3319
|
+
var Fe = Math.abs(Se - ue);
|
|
3320
|
+
Fe <= T && (Ve = ue, T = Fe);
|
|
3321
3321
|
}), Ve;
|
|
3322
|
-
}, [
|
|
3322
|
+
}, [R, X, de, O, pe, ce]), Le = function le(Se, W, Ve) {
|
|
3323
3323
|
var T = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : "unit";
|
|
3324
3324
|
if (typeof W == "number") {
|
|
3325
|
-
var ue,
|
|
3325
|
+
var ue, Fe = Se[Ve], it = Fe + W, Ae = [];
|
|
3326
3326
|
de.forEach(function(Oe) {
|
|
3327
3327
|
Ae.push(Oe.value);
|
|
3328
|
-
}), Ae.push(
|
|
3328
|
+
}), Ae.push(R, X), Ae.push(ce(Fe));
|
|
3329
3329
|
var dt = W > 0 ? 1 : -1;
|
|
3330
|
-
T === "unit" ? Ae.push(ce(
|
|
3330
|
+
T === "unit" ? Ae.push(ce(Fe + dt * O)) : Ae.push(ce(it)), Ae = Ae.filter(function(Oe) {
|
|
3331
3331
|
return Oe !== null;
|
|
3332
3332
|
}).filter(function(Oe) {
|
|
3333
|
-
return W < 0 ? Oe <=
|
|
3333
|
+
return W < 0 ? Oe <= Fe : Oe >= Fe;
|
|
3334
3334
|
}), T === "unit" && (Ae = Ae.filter(function(Oe) {
|
|
3335
|
-
return Oe !==
|
|
3335
|
+
return Oe !== Fe;
|
|
3336
3336
|
}));
|
|
3337
|
-
var gt = T === "unit" ?
|
|
3337
|
+
var gt = T === "unit" ? Fe : it;
|
|
3338
3338
|
ue = Ae[0];
|
|
3339
3339
|
var tt = Math.abs(ue - gt);
|
|
3340
3340
|
if (Ae.forEach(function(Oe) {
|
|
3341
3341
|
var he = Math.abs(Oe - gt);
|
|
3342
3342
|
he < tt && (ue = Oe, tt = he);
|
|
3343
|
-
}), ue === void 0) return W < 0 ?
|
|
3343
|
+
}), ue === void 0) return W < 0 ? R : X;
|
|
3344
3344
|
if (T === "dist") return ue;
|
|
3345
3345
|
if (Math.abs(W) > 1) {
|
|
3346
3346
|
var kt = at(Se);
|
|
@@ -3348,7 +3348,7 @@ var ic = x.forwardRef(function(e, t) {
|
|
|
3348
3348
|
}
|
|
3349
3349
|
return ue;
|
|
3350
3350
|
}
|
|
3351
|
-
return W === "min" ?
|
|
3351
|
+
return W === "min" ? R : W === "max" ? X : void 0;
|
|
3352
3352
|
}, Ee = function(le, Se, W) {
|
|
3353
3353
|
var Ve = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : "unit", T = le[W], ue = Le(le, Se, W, Ve);
|
|
3354
3354
|
return { value: ue, changed: ue !== T };
|
|
@@ -3356,8 +3356,8 @@ var ic = x.forwardRef(function(e, t) {
|
|
|
3356
3356
|
return me === null && le === 0 || typeof me == "number" && le < me;
|
|
3357
3357
|
};
|
|
3358
3358
|
return [xe, function(le, Se, W) {
|
|
3359
|
-
var Ve = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : "unit", T = le.map(xe), ue = T[W],
|
|
3360
|
-
if (T[W] =
|
|
3359
|
+
var Ve = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : "unit", T = le.map(xe), ue = T[W], Fe = Le(T, Se, W, Ve);
|
|
3360
|
+
if (T[W] = Fe, ae === !1) {
|
|
3361
3361
|
var it = me || 0;
|
|
3362
3362
|
W > 0 && T[W - 1] !== ue && (T[W] = Math.max(T[W], T[W - 1] + it)), W < T.length - 1 && T[W + 1] !== ue && (T[W] = Math.min(T[W], T[W + 1] - it));
|
|
3363
3363
|
} else if (typeof me == "number" || me === null) {
|
|
@@ -3380,9 +3380,9 @@ var ic = x.forwardRef(function(e, t) {
|
|
|
3380
3380
|
}
|
|
3381
3381
|
return { value: T[W], values: T };
|
|
3382
3382
|
}];
|
|
3383
|
-
}(qe, Tt, Gt, vn, N, Cc), $r = fe(xc, 2), yn = $r[0], Ur = $r[1], Sc = function(
|
|
3383
|
+
}(qe, Tt, Gt, vn, N, Cc), $r = fe(xc, 2), yn = $r[0], Ur = $r[1], Sc = function(R, X) {
|
|
3384
3384
|
var O = X || {}, de = O.defaultValue, ae = O.value, me = O.onChange, pe = O.postState, ce = fe(Ia(function() {
|
|
3385
|
-
return Ho(ae) ? ae : Ho(de) ? typeof de == "function" ? de() : de : typeof
|
|
3385
|
+
return Ho(ae) ? ae : Ho(de) ? typeof de == "function" ? de() : de : typeof R == "function" ? R() : R;
|
|
3386
3386
|
}), 2), xe = ce[0], Le = ce[1], Ee = ae !== void 0 ? ae : xe, et = pe ? pe(Ee) : Ee, le = Xo(me), Se = fe(Ia([Ee]), 2), W = Se[0], Ve = Se[1];
|
|
3387
3387
|
return ya(function() {
|
|
3388
3388
|
var T = W[0];
|
|
@@ -3393,10 +3393,10 @@ var ic = x.forwardRef(function(e, t) {
|
|
|
3393
3393
|
Le(T, ue), Ve([Ee], ue);
|
|
3394
3394
|
})];
|
|
3395
3395
|
}(C, { value: p }), Qr = fe(Sc, 2), Nt = Qr[0], Ac = Qr[1], ut = x.useMemo(function() {
|
|
3396
|
-
var
|
|
3397
|
-
if (
|
|
3398
|
-
if (O = at(
|
|
3399
|
-
var de =
|
|
3396
|
+
var R = Nt == null ? [] : Array.isArray(Nt) ? Nt : [Nt], X = fe(R, 1)[0], O = Nt === null ? [] : [X === void 0 ? qe : X];
|
|
3397
|
+
if (A) {
|
|
3398
|
+
if (O = at(R), B || Nt === void 0) {
|
|
3399
|
+
var de = B >= 0 ? B + 1 : 2;
|
|
3400
3400
|
for (O = O.slice(0, de); O.length < de; ) {
|
|
3401
3401
|
var ae;
|
|
3402
3402
|
O.push((ae = O[O.length - 1]) !== null && ae !== void 0 ? ae : qe);
|
|
@@ -3409,15 +3409,15 @@ var ic = x.forwardRef(function(e, t) {
|
|
|
3409
3409
|
return O.forEach(function(me, pe) {
|
|
3410
3410
|
O[pe] = yn(me);
|
|
3411
3411
|
}), O;
|
|
3412
|
-
}, [Nt,
|
|
3412
|
+
}, [Nt, A, qe, B, yn]), In = x.useRef(ut);
|
|
3413
3413
|
In.current = ut;
|
|
3414
|
-
var Ut = function(
|
|
3415
|
-
return
|
|
3416
|
-
}, fo = function(
|
|
3417
|
-
var X = at(
|
|
3414
|
+
var Ut = function(R) {
|
|
3415
|
+
return A ? R : R[0];
|
|
3416
|
+
}, fo = function(R) {
|
|
3417
|
+
var X = at(R).sort(function(O, de) {
|
|
3418
3418
|
return O - de;
|
|
3419
3419
|
});
|
|
3420
|
-
|
|
3420
|
+
F && !function(O, de) {
|
|
3421
3421
|
var ae = arguments.length > 2 && arguments[2] !== void 0 && arguments[2], me = /* @__PURE__ */ new Set();
|
|
3422
3422
|
return function pe(ce, xe) {
|
|
3423
3423
|
var Le = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 1, Ee = me.has(ce);
|
|
@@ -3439,12 +3439,12 @@ var ic = x.forwardRef(function(e, t) {
|
|
|
3439
3439
|
}
|
|
3440
3440
|
return !1;
|
|
3441
3441
|
}(O, de);
|
|
3442
|
-
}(X, In.current, !0) &&
|
|
3442
|
+
}(X, In.current, !0) && F(Ut(X)), Ac(X);
|
|
3443
3443
|
}, Kr = function() {
|
|
3444
|
-
var
|
|
3445
|
-
Y == null || Y(
|
|
3446
|
-
}, wc = function(
|
|
3447
|
-
var Le = fe(x.useState(null), 2), Ee = Le[0], et = Le[1], le = fe(x.useState(-1), 2), Se = le[0], W = le[1], Ve = fe(x.useState(O), 2), T = Ve[0], ue = Ve[1],
|
|
3444
|
+
var R = Ut(In.current);
|
|
3445
|
+
Y == null || Y(R), Jt(!Y, "[rc-slider] `onAfterChange` is deprecated. Please use `onChangeComplete` instead."), j == null || j(R);
|
|
3446
|
+
}, wc = function(R, X, O, de, ae, me, pe, ce, xe) {
|
|
3447
|
+
var Le = fe(x.useState(null), 2), Ee = Le[0], et = Le[1], le = fe(x.useState(-1), 2), Se = le[0], W = le[1], Ve = fe(x.useState(O), 2), T = Ve[0], ue = Ve[1], Fe = fe(x.useState(O), 2), it = Fe[0], Ae = Fe[1], dt = x.useRef(null), gt = x.useRef(null);
|
|
3448
3448
|
x.useLayoutEffect(function() {
|
|
3449
3449
|
Se === -1 && ue(O);
|
|
3450
3450
|
}, [O, Se]), x.useEffect(function() {
|
|
@@ -3488,7 +3488,7 @@ var ic = x.forwardRef(function(e, t) {
|
|
|
3488
3488
|
W(We), et(zt), Ae(ke);
|
|
3489
3489
|
var Bt = Aa(he), Ct = Bt.pageX, yo = Bt.pageY, Mt = function(At) {
|
|
3490
3490
|
At.preventDefault();
|
|
3491
|
-
var pt, xn = Aa(At), Bc = xn.pageX, Mc = xn.pageY, li = Bc - Ct, ui = Mc - yo, di =
|
|
3491
|
+
var pt, xn = Aa(At), Bc = xn.pageX, Mc = xn.pageY, li = Bc - Ct, ui = Mc - yo, di = R.current.getBoundingClientRect(), gi = di.width, pi = di.height;
|
|
3492
3492
|
switch (X) {
|
|
3493
3493
|
case "btt":
|
|
3494
3494
|
pt = -ui / pi;
|
|
@@ -3508,58 +3508,58 @@ var ic = x.forwardRef(function(e, t) {
|
|
|
3508
3508
|
};
|
|
3509
3509
|
document.addEventListener("mouseup", Qt), document.addEventListener("mousemove", Mt), document.addEventListener("touchend", Qt), document.addEventListener("touchmove", Mt), dt.current = Mt, gt.current = Qt;
|
|
3510
3510
|
}];
|
|
3511
|
-
}(rt, It, ut, qe, Tt, yn, fo, Kr, Ur), Cn = fe(wc, 4), qr = Cn[0], Gc = Cn[1], bo = Cn[2], ei = Cn[3], ti = function(
|
|
3511
|
+
}(rt, It, ut, qe, Tt, yn, fo, Kr, Ur), Cn = fe(wc, 4), qr = Cn[0], Gc = Cn[1], bo = Cn[2], ei = Cn[3], ti = function(R, X) {
|
|
3512
3512
|
if (!l) {
|
|
3513
3513
|
var O = 0, de = Tt - qe;
|
|
3514
3514
|
ut.forEach(function(ce, xe) {
|
|
3515
|
-
var Le = Math.abs(
|
|
3515
|
+
var Le = Math.abs(R - ce);
|
|
3516
3516
|
Le <= de && (de = Le, O = xe);
|
|
3517
3517
|
});
|
|
3518
3518
|
var ae, me, pe = at(ut);
|
|
3519
|
-
pe[O] =
|
|
3519
|
+
pe[O] = R, A && !ut.length && B === void 0 && pe.push(R), V == null || V(Ut(pe)), fo(pe), X && ((ae = document.activeElement) === null || ae === void 0 || (me = ae.blur) === null || me === void 0 || me.call(ae), ot.current.focus(O), ei(X, O, pe));
|
|
3520
3520
|
}
|
|
3521
3521
|
}, ni = fe(x.useState(null), 2), vo = ni[0], oi = ni[1];
|
|
3522
3522
|
x.useEffect(function() {
|
|
3523
3523
|
if (vo !== null) {
|
|
3524
|
-
var
|
|
3525
|
-
|
|
3524
|
+
var R = ut.indexOf(vo);
|
|
3525
|
+
R >= 0 && ot.current.focus(R);
|
|
3526
3526
|
}
|
|
3527
3527
|
oi(null);
|
|
3528
3528
|
}, [vo]);
|
|
3529
3529
|
var Nc = x.useMemo(function() {
|
|
3530
|
-
return
|
|
3531
|
-
}, [
|
|
3532
|
-
ei(
|
|
3530
|
+
return M && Gt === null ? (process.env.NODE_ENV !== "production" && Jt(!1, "`draggableTrack` is not supported when `step` is `null`."), !1) : M;
|
|
3531
|
+
}, [M, Gt]), ri = function(R, X) {
|
|
3532
|
+
ei(R, X), V == null || V(Ut(In.current));
|
|
3533
3533
|
}, ii = qr !== -1;
|
|
3534
3534
|
x.useEffect(function() {
|
|
3535
3535
|
if (!ii) {
|
|
3536
|
-
var
|
|
3537
|
-
ot.current.focus(
|
|
3536
|
+
var R = ut.lastIndexOf(Gc);
|
|
3537
|
+
ot.current.focus(R);
|
|
3538
3538
|
}
|
|
3539
3539
|
}, [ii]);
|
|
3540
3540
|
var Ot = x.useMemo(function() {
|
|
3541
|
-
return at(bo).sort(function(
|
|
3542
|
-
return
|
|
3541
|
+
return at(bo).sort(function(R, X) {
|
|
3542
|
+
return R - X;
|
|
3543
3543
|
});
|
|
3544
3544
|
}, [bo]), ai = fe(x.useMemo(function() {
|
|
3545
|
-
return
|
|
3546
|
-
}, [Ot,
|
|
3545
|
+
return A ? [Ot[0], Ot[Ot.length - 1]] : [qe, Ot[0]];
|
|
3546
|
+
}, [Ot, A, qe]), 2), si = ai[0], ci = ai[1];
|
|
3547
3547
|
x.useImperativeHandle(t, function() {
|
|
3548
3548
|
return { focus: function() {
|
|
3549
3549
|
ot.current.focus(0);
|
|
3550
3550
|
}, blur: function() {
|
|
3551
|
-
var
|
|
3552
|
-
(
|
|
3551
|
+
var R, X = document.activeElement;
|
|
3552
|
+
(R = rt.current) !== null && R !== void 0 && R.contains(X) && (X == null || X.blur());
|
|
3553
3553
|
} };
|
|
3554
3554
|
}), x.useEffect(function() {
|
|
3555
3555
|
d && ot.current.focus(0);
|
|
3556
3556
|
}, []);
|
|
3557
3557
|
var kc = x.useMemo(function() {
|
|
3558
|
-
return { min: qe, max: Tt, direction: It, disabled: l, keyboard: g, step: Gt, included: _, includedStart: si, includedEnd: ci, range:
|
|
3559
|
-
}, [qe, Tt, It, l, g, Gt, _, si, ci,
|
|
3560
|
-
return x.createElement(Rt.Provider, { value: kc }, x.createElement("div", { ref: rt, className: yt(n, r,
|
|
3561
|
-
|
|
3562
|
-
var X, O = rt.current.getBoundingClientRect(), de = O.width, ae = O.height, me = O.left, pe = O.top, ce = O.bottom, xe = O.right, Le =
|
|
3558
|
+
return { min: qe, max: Tt, direction: It, disabled: l, keyboard: g, step: Gt, included: _, includedStart: si, includedEnd: ci, range: A, tabIndex: nt, ariaLabelForHandle: ct, ariaLabelledByForHandle: lt, ariaValueTextFormatterForHandle: _e, styles: s || {}, classNames: a || {} };
|
|
3559
|
+
}, [qe, Tt, It, l, g, Gt, _, si, ci, A, nt, ct, lt, _e, s, a]);
|
|
3560
|
+
return x.createElement(Rt.Provider, { value: kc }, x.createElement("div", { ref: rt, className: yt(n, r, je(je(je(je({}, "".concat(n, "-disabled"), l), "".concat(n, "-vertical"), k), "".concat(n, "-horizontal"), !k), "".concat(n, "-with-marks"), vn.length)), style: i, onMouseDown: function(R) {
|
|
3561
|
+
R.preventDefault();
|
|
3562
|
+
var X, O = rt.current.getBoundingClientRect(), de = O.width, ae = O.height, me = O.left, pe = O.top, ce = O.bottom, xe = O.right, Le = R.clientX, Ee = R.clientY;
|
|
3563
3563
|
switch (It) {
|
|
3564
3564
|
case "btt":
|
|
3565
3565
|
X = (ce - Ee) / ae;
|
|
@@ -3573,38 +3573,38 @@ var ic = x.forwardRef(function(e, t) {
|
|
|
3573
3573
|
default:
|
|
3574
3574
|
X = (Le - me) / de;
|
|
3575
3575
|
}
|
|
3576
|
-
ti(yn(qe + X * (Tt - qe)),
|
|
3577
|
-
} }, x.createElement("div", { className: yt("".concat(n, "-rail"), a == null ? void 0 : a.rail), style: L(L({}, U), s == null ? void 0 : s.rail) }), x.createElement(td, { prefixCls: n, style: re, values: Ot, startPoint: se, onStartMove: Nc ? ri : void 0 }), x.createElement(ed, { prefixCls: n, marks: vn, dots: Ne, style: ie, activeStyle: Me }), x.createElement(rc, { ref: ot, prefixCls: n, style: ge, values: bo, draggingIndex: qr, onStartMove: ri, onOffsetChange: function(
|
|
3576
|
+
ti(yn(qe + X * (Tt - qe)), R);
|
|
3577
|
+
} }, x.createElement("div", { className: yt("".concat(n, "-rail"), a == null ? void 0 : a.rail), style: L(L({}, U), s == null ? void 0 : s.rail) }), x.createElement(td, { prefixCls: n, style: re, values: Ot, startPoint: se, onStartMove: Nc ? ri : void 0 }), x.createElement(ed, { prefixCls: n, marks: vn, dots: Ne, style: ie, activeStyle: Me }), x.createElement(rc, { ref: ot, prefixCls: n, style: ge, values: bo, draggingIndex: qr, onStartMove: ri, onOffsetChange: function(R, X) {
|
|
3578
3578
|
if (!l) {
|
|
3579
|
-
var O = Ur(ut,
|
|
3580
|
-
|
|
3579
|
+
var O = Ur(ut, R, X);
|
|
3580
|
+
V == null || V(Ut(ut)), fo(O.values), oi(O.value);
|
|
3581
3581
|
}
|
|
3582
|
-
}, onFocus: b, onBlur:
|
|
3582
|
+
}, onFocus: b, onBlur: m, handleRender: De, activeHandleRender: Ye, onChangeComplete: Kr }), x.createElement(Ku, { prefixCls: n, marks: vn, onClick: ti })));
|
|
3583
3583
|
});
|
|
3584
3584
|
process.env.NODE_ENV !== "production" && (ic.displayName = "Slider");
|
|
3585
|
-
const po = ({ range: e, min: t, max: o, value: n, onChange: r, vertical: i }) =>
|
|
3585
|
+
const po = ({ range: e, min: t, max: o, value: n, onChange: r, vertical: i }) => w.jsx(ic, { className: "_accRcSlider_dhokk_1", range: e, min: t, max: o, value: n, vertical: i, onChange: r }), nd = ({ accState: e, onChangeAccState: t }) => {
|
|
3586
3586
|
const { isBrightness: o, brightness: n } = e.brightness, r = () => {
|
|
3587
3587
|
t((i) => {
|
|
3588
3588
|
const a = !i.brightness.isBrightness;
|
|
3589
3589
|
i.brightness.isBrightness = a, i.brightness.brightness = a ? 150 : 0;
|
|
3590
3590
|
});
|
|
3591
3591
|
};
|
|
3592
|
-
return
|
|
3592
|
+
return w.jsxs(be, { Icon: Du, titleTranslationKey: "colors.brightnessControl", title: "Brightness Control", elementType: o ? "div" : "button", isActive: o, onToggle: o ? void 0 : r, stats: o ? `${n}%` : void 0, children: [o ? w.jsxs("div", { className: "_accBrightnessControl_16gcc_1", children: [w.jsx(Ue, { onClick: () => {
|
|
3593
3593
|
t((i) => {
|
|
3594
3594
|
const { brightness: a } = i;
|
|
3595
3595
|
a.brightness < 500 && i.brightness.brightness++;
|
|
3596
3596
|
});
|
|
3597
|
-
}, controlType: "increase" }),
|
|
3597
|
+
}, controlType: "increase" }), w.jsx(Ue, { onClick: r, controlType: "init" }), w.jsx(Ue, { onClick: () => {
|
|
3598
3598
|
t((i) => {
|
|
3599
3599
|
const { brightness: a } = i;
|
|
3600
3600
|
a.brightness > 100 && i.brightness.brightness--;
|
|
3601
3601
|
});
|
|
3602
|
-
}, controlType: "decrease" })] }) : null, o &&
|
|
3602
|
+
}, controlType: "decrease" })] }) : null, o && w.jsx(po, { range: !0, min: 150, max: 500, value: n, onChange: (i) => {
|
|
3603
3603
|
t((a) => {
|
|
3604
3604
|
a.brightness.brightness = i;
|
|
3605
3605
|
});
|
|
3606
3606
|
} })] });
|
|
3607
|
-
}, ac = (e) => x.createElement("svg", { className: "MuiSvgIcon-root MuiSvgIcon-fontSizeMedium _accButton__icon_1dz30_31 css-i4bv87-MuiSvgIcon-root", focusable: "false", "aria-hidden": "true", viewBox: "0 0 24 24", "data-testid": "Brightness4SharpIcon", ...e }, x.createElement("path", { d: "M20 8.69V4h-4.69L12 .69 8.69 4H4v4.69L.69 12 4 15.31V20h4.69L12 23.31 15.31 20H20v-4.69L23.31 12 20 8.69zM12 18c-.89 0-1.74-.2-2.5-.55C11.56 16.5 13 14.42 13 12s-1.44-4.5-3.5-5.45C10.26 6.2 11.11 6 12 6c3.31 0 6 2.69 6 6s-2.69 6-6 6z" })), od = ({ accState: e, onChangeAccState: t }) =>
|
|
3607
|
+
}, ac = (e) => x.createElement("svg", { className: "MuiSvgIcon-root MuiSvgIcon-fontSizeMedium _accButton__icon_1dz30_31 css-i4bv87-MuiSvgIcon-root", focusable: "false", "aria-hidden": "true", viewBox: "0 0 24 24", "data-testid": "Brightness4SharpIcon", ...e }, x.createElement("path", { d: "M20 8.69V4h-4.69L12 .69 8.69 4H4v4.69L.69 12 4 15.31V20h4.69L12 23.31 15.31 20H20v-4.69L23.31 12 20 8.69zM12 18c-.89 0-1.74-.2-2.5-.55C11.56 16.5 13 14.42 13 12s-1.44-4.5-3.5-5.45C10.26 6.2 11.11 6 12 6c3.31 0 6 2.69 6 6s-2.69 6-6 6z" })), od = ({ accState: e, onChangeAccState: t }) => w.jsx(be, { Icon: ac, isToggled: e.isDarkContrast, onToggle: () => {
|
|
3608
3608
|
t((o) => {
|
|
3609
3609
|
o.isDarkContrast = !o.isDarkContrast;
|
|
3610
3610
|
});
|
|
@@ -3615,7 +3615,7 @@ const po = ({ range: e, min: t, max: o, value: n, onChange: r, vertical: i }) =>
|
|
|
3615
3615
|
i.highContrast.isHighContrast = a, i.highContrast.contrast = a ? 125 : 0;
|
|
3616
3616
|
});
|
|
3617
3617
|
};
|
|
3618
|
-
return
|
|
3618
|
+
return w.jsxs(be, { Icon: rd, titleTranslationKey: "colors.highContrast", title: "High Contrast", stats: o ? `${n}%` : void 0, elementType: o ? "div" : "button", isActive: o, onToggle: o ? void 0 : r, children: [o ? w.jsx($t, { onIncrease: () => {
|
|
3619
3619
|
t((i) => {
|
|
3620
3620
|
const { highContrast: a } = i;
|
|
3621
3621
|
a.contrast < 200 && i.highContrast.contrast++;
|
|
@@ -3625,7 +3625,7 @@ const po = ({ range: e, min: t, max: o, value: n, onChange: r, vertical: i }) =>
|
|
|
3625
3625
|
const { highContrast: a } = i;
|
|
3626
3626
|
a.contrast > 100 && i.highContrast.contrast--;
|
|
3627
3627
|
});
|
|
3628
|
-
} }) : null, o &&
|
|
3628
|
+
} }) : null, o && w.jsx(po, { range: !0, min: 125, max: 200, value: n, onChange: (i) => {
|
|
3629
3629
|
t((a) => {
|
|
3630
3630
|
a.highContrast.contrast = i;
|
|
3631
3631
|
});
|
|
@@ -3637,7 +3637,7 @@ const po = ({ range: e, min: t, max: o, value: n, onChange: r, vertical: i }) =>
|
|
|
3637
3637
|
i.highSaturation.isHighSaturation = a, i.highSaturation.saturation = a ? 200 : 0;
|
|
3638
3638
|
});
|
|
3639
3639
|
};
|
|
3640
|
-
return
|
|
3640
|
+
return w.jsxs(be, { Icon: sc, titleTranslationKey: "colors.highSaturation", title: "High Saturation", stats: o ? `${n}%` : void 0, elementType: o ? "div" : "button", isActive: o, onToggle: o ? void 0 : r, children: [o ? w.jsx($t, { onIncrease: () => {
|
|
3641
3641
|
t((i) => {
|
|
3642
3642
|
const { highSaturation: a } = i;
|
|
3643
3643
|
a.saturation < 800 && i.highSaturation.saturation++;
|
|
@@ -3647,12 +3647,12 @@ const po = ({ range: e, min: t, max: o, value: n, onChange: r, vertical: i }) =>
|
|
|
3647
3647
|
const { highSaturation: a } = i;
|
|
3648
3648
|
a.saturation > 200 && i.highSaturation.saturation--;
|
|
3649
3649
|
});
|
|
3650
|
-
} }) : null, o &&
|
|
3650
|
+
} }) : null, o && w.jsx(po, { range: !0, min: 200, max: 800, value: n, onChange: (i) => {
|
|
3651
3651
|
t((a) => {
|
|
3652
3652
|
a.highSaturation.saturation = i;
|
|
3653
3653
|
});
|
|
3654
3654
|
} })] });
|
|
3655
|
-
}, sd = ({ accState: e, onChangeAccState: t }) =>
|
|
3655
|
+
}, sd = ({ accState: e, onChangeAccState: t }) => w.jsx(be, { Icon: ac, isToggled: e.isLightContrast, onToggle: () => {
|
|
3656
3656
|
t((o) => {
|
|
3657
3657
|
o.isLightContrast = !o.isLightContrast;
|
|
3658
3658
|
});
|
|
@@ -3663,7 +3663,7 @@ const po = ({ range: e, min: t, max: o, value: n, onChange: r, vertical: i }) =>
|
|
|
3663
3663
|
i.lowSaturation.isLowSaturation = a, i.lowSaturation.saturation = a ? 50 : 0;
|
|
3664
3664
|
});
|
|
3665
3665
|
};
|
|
3666
|
-
return
|
|
3666
|
+
return w.jsxs(be, { Icon: sc, titleTranslationKey: "colors.lowSaturation", title: "Low Saturation", stats: o ? `${n}%` : void 0, styleIcon: { transform: "rotate(180deg)" }, elementType: o ? "div" : "button", isActive: o, onToggle: o ? void 0 : r, children: [o ? w.jsx($t, { onIncrease: () => {
|
|
3667
3667
|
t((i) => {
|
|
3668
3668
|
const { lowSaturation: a } = i;
|
|
3669
3669
|
a.saturation < 199 && i.lowSaturation.saturation++;
|
|
@@ -3673,12 +3673,12 @@ const po = ({ range: e, min: t, max: o, value: n, onChange: r, vertical: i }) =>
|
|
|
3673
3673
|
const { lowSaturation: a } = i;
|
|
3674
3674
|
a.saturation > 50 && i.lowSaturation.saturation--;
|
|
3675
3675
|
});
|
|
3676
|
-
} }) : null, o &&
|
|
3676
|
+
} }) : null, o && w.jsx(po, { range: !0, min: 50, max: 199, value: n, onChange: (i) => {
|
|
3677
3677
|
t((a) => {
|
|
3678
3678
|
a.lowSaturation.saturation = i;
|
|
3679
3679
|
});
|
|
3680
3680
|
} })] });
|
|
3681
|
-
}, ld = (e) => x.createElement("svg", { className: "MuiSvgIcon-root MuiSvgIcon-fontSizeMedium css-i4bv87-MuiSvgIcon-root", focusable: "false", "aria-hidden": "true", viewBox: "0 0 24 24", "data-testid": "MonochromePhotosIcon", ...e }, x.createElement("path", { d: "M20 5h-3.2L15 3H9L7.2 5H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 14h-8v-1c-2.8 0-5-2.2-5-5s2.2-5 5-5V7h8v12zm-3-6c0-2.8-2.2-5-5-5v1.8c1.8 0 3.2 1.4 3.2 3.2s-1.4 3.2-3.2 3.2V18c2.8 0 5-2.2 5-5zm-8.2 0c0 1.8 1.4 3.2 3.2 3.2V9.8c-1.8 0-3.2 1.4-3.2 3.2z" })), ud = ({ accState: e, onChangeAccState: t }) =>
|
|
3681
|
+
}, ld = (e) => x.createElement("svg", { className: "MuiSvgIcon-root MuiSvgIcon-fontSizeMedium css-i4bv87-MuiSvgIcon-root", focusable: "false", "aria-hidden": "true", viewBox: "0 0 24 24", "data-testid": "MonochromePhotosIcon", ...e }, x.createElement("path", { d: "M20 5h-3.2L15 3H9L7.2 5H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 14h-8v-1c-2.8 0-5-2.2-5-5s2.2-5 5-5V7h8v12zm-3-6c0-2.8-2.2-5-5-5v1.8c1.8 0 3.2 1.4 3.2 3.2s-1.4 3.2-3.2 3.2V18c2.8 0 5-2.2 5-5zm-8.2 0c0 1.8 1.4 3.2 3.2 3.2V9.8c-1.8 0-3.2 1.4-3.2 3.2z" })), ud = ({ accState: e, onChangeAccState: t }) => w.jsx(be, { Icon: ld, isToggled: e.isMonochrome, onToggle: () => {
|
|
3682
3682
|
t((o) => {
|
|
3683
3683
|
o.isMonochrome = !o.isMonochrome;
|
|
3684
3684
|
});
|
|
@@ -3721,13 +3721,13 @@ var mn = function(e, t, o) {
|
|
|
3721
3721
|
}, lc = Be.memo(function(e) {
|
|
3722
3722
|
var t = e.onMove, o = e.onKey, n = cc(e, ["onMove", "onKey"]), r = Ce(null), i = Er(t), a = Er(o), s = Ce(null), c = Ce(!1), l = St(function() {
|
|
3723
3723
|
var b = function(v) {
|
|
3724
|
-
Ga(v), (ln(v) ? v.touches.length > 0 : v.buttons > 0) && r.current ? i(wa(r.current, v, s.current)) :
|
|
3725
|
-
},
|
|
3726
|
-
return
|
|
3724
|
+
Ga(v), (ln(v) ? v.touches.length > 0 : v.buttons > 0) && r.current ? i(wa(r.current, v, s.current)) : h(!1);
|
|
3725
|
+
}, m = function() {
|
|
3726
|
+
return h(!1);
|
|
3727
3727
|
};
|
|
3728
|
-
function
|
|
3729
|
-
var S = c.current, I = Vr(r.current),
|
|
3730
|
-
|
|
3728
|
+
function h(v) {
|
|
3729
|
+
var S = c.current, I = Vr(r.current), f = v ? I.addEventListener : I.removeEventListener;
|
|
3730
|
+
f(S ? "touchmove" : "mousemove", b), f(S ? "touchend" : "mouseup", m);
|
|
3731
3731
|
}
|
|
3732
3732
|
return [function(v) {
|
|
3733
3733
|
var S = v.nativeEvent, I = r.current;
|
|
@@ -3736,15 +3736,15 @@ var mn = function(e, t, o) {
|
|
|
3736
3736
|
}(S, c.current) && I)) {
|
|
3737
3737
|
if (ln(S)) {
|
|
3738
3738
|
c.current = !0;
|
|
3739
|
-
var
|
|
3740
|
-
|
|
3739
|
+
var f = S.changedTouches || [];
|
|
3740
|
+
f.length && (s.current = f[0].identifier);
|
|
3741
3741
|
}
|
|
3742
|
-
I.focus(), i(wa(I, S, s.current)),
|
|
3742
|
+
I.focus(), i(wa(I, S, s.current)), h(!0);
|
|
3743
3743
|
}
|
|
3744
3744
|
}, function(v) {
|
|
3745
3745
|
var S = v.which || v.keyCode;
|
|
3746
3746
|
S < 37 || S > 40 || (v.preventDefault(), a({ left: S === 39 ? 0.05 : S === 37 ? -0.05 : 0, top: S === 40 ? 0.05 : S === 38 ? -0.05 : 0 }));
|
|
3747
|
-
},
|
|
3747
|
+
}, h];
|
|
3748
3748
|
}, [a, i]), u = l[0], g = l[1], d = l[2];
|
|
3749
3749
|
return Pe(function() {
|
|
3750
3750
|
return d;
|
|
@@ -3812,10 +3812,10 @@ var md = typeof window < "u" ? ne : Pe, Na = /* @__PURE__ */ new Map(), hd = fun
|
|
|
3812
3812
|
md(function() {
|
|
3813
3813
|
var b = d.current ? d.current.ownerDocument : document;
|
|
3814
3814
|
if (b !== void 0 && !Na.has(b)) {
|
|
3815
|
-
var
|
|
3816
|
-
|
|
3817
|
-
var
|
|
3818
|
-
|
|
3815
|
+
var m = b.createElement("style");
|
|
3816
|
+
m.innerHTML = `.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill-opacity=".05"><path d="M8 0h8v8H8zM0 8h8v8H0z"/></svg>')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}`, Na.set(b, m);
|
|
3817
|
+
var h = typeof __webpack_nonce__ < "u" ? __webpack_nonce__ : void 0;
|
|
3818
|
+
h && m.setAttribute("nonce", h), b.head.appendChild(m);
|
|
3819
3819
|
}
|
|
3820
3820
|
}, []);
|
|
3821
3821
|
})(s);
|
|
@@ -3849,14 +3849,14 @@ const gc = (e) => x.createElement("svg", { className: "MuiSvgIcon-root MuiSvgIco
|
|
|
3849
3849
|
i.color = r;
|
|
3850
3850
|
});
|
|
3851
3851
|
};
|
|
3852
|
-
return
|
|
3852
|
+
return w.jsx(be, { Icon: gc, titleTranslationKey: "colors.textColorPicker", elementType: "div", title: "Text Color Picker", className: "_accButtonTextColorPicker_dw9mu_1", children: w.jsxs("div", { className: "_accTextColorPicker_dw9mu_16", children: [w.jsxs("div", { className: "_accTextColorPicker__topContainer_dw9mu_22", children: [w.jsx(Ue, { onClick: () => {
|
|
3853
3853
|
n("");
|
|
3854
|
-
}, controlType: "init" }),
|
|
3855
|
-
}, yd = (e) => x.createElement("svg", { className: "MuiSvgIcon-root MuiSvgIcon-fontSizeMedium css-i4bv87-MuiSvgIcon-root", focusable: "false", "aria-hidden": "true", viewBox: "0 0 24 24", "data-testid": "BlindIcon", ...e }, x.createElement("circle", { cx: 11.5, cy: 3.5, r: 2 }), x.createElement("path", { d: "M12.13 7.12c-.17-.35-.44-.65-.8-.85-.61-.36-1.34-.34-1.93-.03v-.01L4 9.3V14h2v-3.54l1.5-.85C7.18 10.71 7 11.85 7 13v5.33L4.4 21.8 6 23l3-4 .22-3.54L11 18v5h2v-6.5l-1.97-2.81c-.04-.52-.14-1.76.45-3.4.75 1.14 1.88 1.98 3.2 2.41L20.63 23l.87-.5-5.48-9.5H17v-2c-.49 0-2.88.17-4.08-2.21" })), Id = ({ accState: e, onChangeAccState: t }) =>
|
|
3854
|
+
}, controlType: "init" }), w.jsx("input", { placeholder: "#000000", type: "text", value: o, className: "_accTextColorPicker__inputText_dw9mu_30", onChange: (r) => n(r.target.value) })] }), w.jsx(bd, { className: "_accTextColorPicker__hexColorPicker_dw9mu_35", color: o, onChange: n })] }) });
|
|
3855
|
+
}, yd = (e) => x.createElement("svg", { className: "MuiSvgIcon-root MuiSvgIcon-fontSizeMedium css-i4bv87-MuiSvgIcon-root", focusable: "false", "aria-hidden": "true", viewBox: "0 0 24 24", "data-testid": "BlindIcon", ...e }, x.createElement("circle", { cx: 11.5, cy: 3.5, r: 2 }), x.createElement("path", { d: "M12.13 7.12c-.17-.35-.44-.65-.8-.85-.61-.36-1.34-.34-1.93-.03v-.01L4 9.3V14h2v-3.54l1.5-.85C7.18 10.71 7 11.85 7 13v5.33L4.4 21.8 6 23l3-4 .22-3.54L11 18v5h2v-6.5l-1.97-2.81c-.04-.52-.14-1.76.45-3.4.75 1.14 1.88 1.98 3.2 2.41L20.63 23l.87-.5-5.48-9.5H17v-2c-.49 0-2.88.17-4.08-2.21" })), Id = ({ accState: e, onChangeAccState: t }) => w.jsx(be, { Icon: yd, isToggled: e.isVisualImpairment, onToggle: () => {
|
|
3856
3856
|
t((o) => {
|
|
3857
3857
|
o.isVisualImpairment = !o.isVisualImpairment;
|
|
3858
3858
|
});
|
|
3859
|
-
}, titleTranslationKey: "colors.visualImpairment", title: "Visual Impairment" }), Cd = ({ accState: e, onChangeAccState: t }) =>
|
|
3859
|
+
}, titleTranslationKey: "colors.visualImpairment", title: "Visual Impairment" }), Cd = ({ accState: e, onChangeAccState: t }) => w.jsxs(w.Fragment, { children: [w.jsx(Ju, { accState: e, onChangeAccState: t }), w.jsx(sd, { accState: e, onChangeAccState: t }), w.jsx(od, { accState: e, onChangeAccState: t }), w.jsx(id, { accState: e, onChangeAccState: t }), w.jsx(nd, { accState: e, onChangeAccState: t }), w.jsx(ad, { accState: e, onChangeAccState: t }), w.jsx(cd, { accState: e, onChangeAccState: t }), w.jsx(ud, { accState: e, onChangeAccState: t }), w.jsx(Id, { accState: e, onChangeAccState: t }), w.jsx(vd, { accState: e, onChangeAccState: t })] }), xd = (e) => x.createElement("svg", { className: "MuiSvgIcon-root MuiSvgIcon-fontSizeMedium css-i4bv87-MuiSvgIcon-root", focusable: "false", "aria-hidden": "true", viewBox: "0 0 24 24", "data-testid": "AdsClickIcon", ...e }, x.createElement("path", { d: "M11.71 17.99C8.53 17.84 6 15.22 6 12c0-3.31 2.69-6 6-6 3.22 0 5.84 2.53 5.99 5.71l-2.1-.63C15.48 9.31 13.89 8 12 8c-2.21 0-4 1.79-4 4 0 1.89 1.31 3.48 3.08 3.89l.63 2.1zM22 12c0 .3-.01.6-.04.9l-1.97-.59c.01-.1.01-.21.01-.31 0-4.42-3.58-8-8-8s-8 3.58-8 8 3.58 8 8 8c.1 0 .21 0 .31-.01l.59 1.97c-.3.03-.6.04-.9.04-5.52 0-10-4.48-10-10S6.48 2 12 2s10 4.48 10 10zm-3.77 4.26L22 15l-10-3 3 10 1.26-3.77 4.27 4.27 1.98-1.98-4.28-4.26z" })), D = (e) => typeof e == "string", tn = () => {
|
|
3860
3860
|
let e, t;
|
|
3861
3861
|
const o = new Promise((n, r) => {
|
|
3862
3862
|
e = n, t = r;
|
|
@@ -4072,13 +4072,13 @@ class oo extends ho {
|
|
|
4072
4072
|
let i = o.ns || this.options.defaultNS || [];
|
|
4073
4073
|
const a = n && t.indexOf(n) > -1, s = !(this.options.userDefinedKeySeparator || o.keySeparator || this.options.userDefinedNsSeparator || o.nsSeparator || ((c, l, u) => {
|
|
4074
4074
|
l = l || "", u = u || "";
|
|
4075
|
-
const g = Gd.filter((
|
|
4075
|
+
const g = Gd.filter((m) => l.indexOf(m) < 0 && u.indexOf(m) < 0);
|
|
4076
4076
|
if (g.length === 0) return !0;
|
|
4077
|
-
const d = Nd.getRegExp(`(${g.map((
|
|
4077
|
+
const d = Nd.getRegExp(`(${g.map((m) => m === "?" ? "\\?" : m).join("|")})`);
|
|
4078
4078
|
let b = !d.test(c);
|
|
4079
4079
|
if (!b) {
|
|
4080
|
-
const
|
|
4081
|
-
|
|
4080
|
+
const m = c.indexOf(u);
|
|
4081
|
+
m > 0 && !d.test(c.substring(0, m)) && (b = !0);
|
|
4082
4082
|
}
|
|
4083
4083
|
return b;
|
|
4084
4084
|
})(t, n, r));
|
|
@@ -4096,22 +4096,22 @@ class oo extends ho {
|
|
|
4096
4096
|
const r = o.returnDetails !== void 0 ? o.returnDetails : this.options.returnDetails, i = o.keySeparator !== void 0 ? o.keySeparator : this.options.keySeparator, { key: a, namespaces: s } = this.extractFromKey(t[t.length - 1], o), c = s[s.length - 1], l = o.lng || this.language, u = o.appendNamespaceToCIMode || this.options.appendNamespaceToCIMode;
|
|
4097
4097
|
if (l && l.toLowerCase() === "cimode") {
|
|
4098
4098
|
if (u) {
|
|
4099
|
-
const
|
|
4100
|
-
return r ? { res: `${c}${
|
|
4099
|
+
const f = o.nsSeparator || this.options.nsSeparator;
|
|
4100
|
+
return r ? { res: `${c}${f}${a}`, usedKey: a, exactUsedKey: a, usedLng: l, usedNS: c, usedParams: this.getUsedParamsDetails(o) } : `${c}${f}${a}`;
|
|
4101
4101
|
}
|
|
4102
4102
|
return r ? { res: a, usedKey: a, exactUsedKey: a, usedLng: l, usedNS: c, usedParams: this.getUsedParamsDetails(o) } : a;
|
|
4103
4103
|
}
|
|
4104
4104
|
const g = this.resolve(t, o);
|
|
4105
4105
|
let d = g && g.res;
|
|
4106
|
-
const b = g && g.usedKey || a,
|
|
4107
|
-
if (!(S && d && I && ["[object Number]", "[object Function]", "[object RegExp]"].indexOf(
|
|
4106
|
+
const b = g && g.usedKey || a, m = g && g.exactUsedKey || a, h = Object.prototype.toString.apply(d), v = o.joinArrays !== void 0 ? o.joinArrays : this.options.joinArrays, S = !this.i18nFormat || this.i18nFormat.handleAsObject, I = !D(d) && typeof d != "boolean" && typeof d != "number";
|
|
4107
|
+
if (!(S && d && I && ["[object Number]", "[object Function]", "[object RegExp]"].indexOf(h) < 0) || D(v) && Array.isArray(d)) if (S && D(v) && Array.isArray(d)) d = d.join(v), d && (d = this.extendTranslation(d, t, o, n));
|
|
4108
4108
|
else {
|
|
4109
|
-
let
|
|
4110
|
-
const p = o.count !== void 0 && !D(o.count), C = oo.hasDefaultValue(o),
|
|
4111
|
-
!this.isValidLookup(d) && C && (
|
|
4112
|
-
const Y = (o.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && y ? void 0 : d,
|
|
4113
|
-
if (y ||
|
|
4114
|
-
if (this.logger.log(
|
|
4109
|
+
let f = !1, y = !1;
|
|
4110
|
+
const p = o.count !== void 0 && !D(o.count), C = oo.hasDefaultValue(o), A = p ? this.pluralResolver.getSuffix(l, o.count, o) : "", B = o.ordinal && p ? this.pluralResolver.getSuffix(l, o.count, { ordinal: !1 }) : "", F = p && !o.ordinal && o.count === 0 && this.pluralResolver.shouldUseIntlApi(), V = F && o[`defaultValue${this.options.pluralSeparator}zero`] || o[`defaultValue${A}`] || o[`defaultValue${B}`] || o.defaultValue;
|
|
4111
|
+
!this.isValidLookup(d) && C && (f = !0, d = V), this.isValidLookup(d) || (y = !0, d = a);
|
|
4112
|
+
const Y = (o.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && y ? void 0 : d, j = C && V !== d && this.options.updateMissing;
|
|
4113
|
+
if (y || f || j) {
|
|
4114
|
+
if (this.logger.log(j ? "updateKey" : "missingKey", l, c, a, j ? V : d), i) {
|
|
4115
4115
|
const G = this.resolve(a, { ...o, keySeparator: !1 });
|
|
4116
4116
|
G && G.res && this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.");
|
|
4117
4117
|
}
|
|
@@ -4119,30 +4119,30 @@ class oo extends ho {
|
|
|
4119
4119
|
const N = this.languageUtils.getFallbackCodes(this.options.fallbackLng, o.lng || this.language);
|
|
4120
4120
|
if (this.options.saveMissingTo === "fallback" && N && N[0]) for (let G = 0; G < N.length; G++) J.push(N[G]);
|
|
4121
4121
|
else this.options.saveMissingTo === "all" ? J = this.languageUtils.toResolveHierarchy(o.lng || this.language) : J.push(o.lng || this.language);
|
|
4122
|
-
const Z = (G,
|
|
4122
|
+
const Z = (G, M, E) => {
|
|
4123
4123
|
const k = C && E !== d ? E : Y;
|
|
4124
|
-
this.options.missingKeyHandler ? this.options.missingKeyHandler(G, c,
|
|
4124
|
+
this.options.missingKeyHandler ? this.options.missingKeyHandler(G, c, M, k, j, o) : this.backendConnector && this.backendConnector.saveMissing && this.backendConnector.saveMissing(G, c, M, k, j, o), this.emit("missingKey", G, c, M, d);
|
|
4125
4125
|
};
|
|
4126
4126
|
this.options.saveMissing && (this.options.saveMissingPlurals && p ? J.forEach((G) => {
|
|
4127
|
-
const
|
|
4128
|
-
|
|
4129
|
-
Z([G], a + E, o[`defaultValue${E}`] ||
|
|
4127
|
+
const M = this.pluralResolver.getSuffixes(G, o);
|
|
4128
|
+
F && o[`defaultValue${this.options.pluralSeparator}zero`] && M.indexOf(`${this.options.pluralSeparator}zero`) < 0 && M.push(`${this.options.pluralSeparator}zero`), M.forEach((E) => {
|
|
4129
|
+
Z([G], a + E, o[`defaultValue${E}`] || V);
|
|
4130
4130
|
});
|
|
4131
|
-
}) : Z(J, a,
|
|
4131
|
+
}) : Z(J, a, V));
|
|
4132
4132
|
}
|
|
4133
|
-
d = this.extendTranslation(d, t, o, g, n), y && d === a && this.options.appendNamespaceToMissingKey && (d = `${c}:${a}`), (y ||
|
|
4133
|
+
d = this.extendTranslation(d, t, o, g, n), y && d === a && this.options.appendNamespaceToMissingKey && (d = `${c}:${a}`), (y || f) && this.options.parseMissingKeyHandler && (d = this.options.compatibilityAPI !== "v1" ? this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? `${c}:${a}` : a, f ? d : void 0) : this.options.parseMissingKeyHandler(d));
|
|
4134
4134
|
}
|
|
4135
4135
|
else {
|
|
4136
4136
|
if (!o.returnObjects && !this.options.returnObjects) {
|
|
4137
4137
|
this.options.returnedObjectHandler || this.logger.warn("accessing an object - but returnObjects options is not enabled!");
|
|
4138
|
-
const
|
|
4139
|
-
return r ? (g.res =
|
|
4138
|
+
const f = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(b, d, { ...o, ns: s }) : `key '${a} (${this.language})' returned an object instead of string.`;
|
|
4139
|
+
return r ? (g.res = f, g.usedParams = this.getUsedParamsDetails(o), g) : f;
|
|
4140
4140
|
}
|
|
4141
4141
|
if (i) {
|
|
4142
|
-
const
|
|
4142
|
+
const f = Array.isArray(d), y = f ? [] : {}, p = f ? m : b;
|
|
4143
4143
|
for (const C in d) if (Object.prototype.hasOwnProperty.call(d, C)) {
|
|
4144
|
-
const
|
|
4145
|
-
y[C] = this.translate(
|
|
4144
|
+
const A = `${p}${i}${C}`;
|
|
4145
|
+
y[C] = this.translate(A, { ...o, joinArrays: !1, ns: s }), y[C] === A && (y[C] = d[C]);
|
|
4146
4146
|
}
|
|
4147
4147
|
d = y;
|
|
4148
4148
|
}
|
|
@@ -4166,7 +4166,7 @@ class oo extends ho {
|
|
|
4166
4166
|
u < (d && d.length) && (n.nest = !1);
|
|
4167
4167
|
}
|
|
4168
4168
|
!n.lng && this.options.compatibilityAPI !== "v1" && r && r.res && (n.lng = this.language || r.usedLng), n.nest !== !1 && (t = this.interpolator.nest(t, function() {
|
|
4169
|
-
for (var d = arguments.length, b = new Array(d),
|
|
4169
|
+
for (var d = arguments.length, b = new Array(d), m = 0; m < d; m++) b[m] = arguments[m];
|
|
4170
4170
|
return i && i[0] === b[0] && !n.context ? (a.logger.warn(`It seems you are nesting recursively key: ${b[0]} in key: ${o[0]}`), null) : a.translate(...b, o);
|
|
4171
4171
|
}, n)), n.interpolation && this.interpolator.reset();
|
|
4172
4172
|
}
|
|
@@ -4181,9 +4181,9 @@ class oo extends ho {
|
|
|
4181
4181
|
n = u;
|
|
4182
4182
|
let g = l.namespaces;
|
|
4183
4183
|
this.options.fallbackNS && (g = g.concat(this.options.fallbackNS));
|
|
4184
|
-
const d = s.count !== void 0 && !D(s.count), b = d && !s.ordinal && s.count === 0 && this.pluralResolver.shouldUseIntlApi(),
|
|
4184
|
+
const d = s.count !== void 0 && !D(s.count), b = d && !s.ordinal && s.count === 0 && this.pluralResolver.shouldUseIntlApi(), m = s.context !== void 0 && (D(s.context) || typeof s.context == "number") && s.context !== "", h = s.lngs ? s.lngs : this.languageUtils.toResolveHierarchy(s.lng || this.language, s.fallbackLng);
|
|
4185
4185
|
g.forEach((v) => {
|
|
4186
|
-
this.isValidLookup(o) || (a = v, !Va[`${
|
|
4186
|
+
this.isValidLookup(o) || (a = v, !Va[`${h[0]}-${v}`] && this.utils && this.utils.hasLoadedNamespace && !this.utils.hasLoadedNamespace(a) && (Va[`${h[0]}-${v}`] = !0, this.logger.warn(`key "${n}" for languages "${h.join(", ")}" won't get resolved as namespace "${a}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), h.forEach((S) => {
|
|
4187
4187
|
if (this.isValidLookup(o)) return;
|
|
4188
4188
|
i = S;
|
|
4189
4189
|
const I = [u];
|
|
@@ -4192,13 +4192,13 @@ class oo extends ho {
|
|
|
4192
4192
|
let y;
|
|
4193
4193
|
d && (y = this.pluralResolver.getSuffix(S, s.count, s));
|
|
4194
4194
|
const p = `${this.options.pluralSeparator}zero`, C = `${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;
|
|
4195
|
-
if (d && (I.push(u + y), s.ordinal && y.indexOf(C) === 0 && I.push(u + y.replace(C, this.options.pluralSeparator)), b && I.push(u + p)),
|
|
4196
|
-
const
|
|
4197
|
-
I.push(
|
|
4195
|
+
if (d && (I.push(u + y), s.ordinal && y.indexOf(C) === 0 && I.push(u + y.replace(C, this.options.pluralSeparator)), b && I.push(u + p)), m) {
|
|
4196
|
+
const A = `${u}${this.options.contextSeparator}${s.context}`;
|
|
4197
|
+
I.push(A), d && (I.push(A + y), s.ordinal && y.indexOf(C) === 0 && I.push(A + y.replace(C, this.options.pluralSeparator)), b && I.push(A + p));
|
|
4198
4198
|
}
|
|
4199
4199
|
}
|
|
4200
|
-
let
|
|
4201
|
-
for (;
|
|
4200
|
+
let f;
|
|
4201
|
+
for (; f = I.pop(); ) this.isValidLookup(o) || (r = f, o = this.getResource(S, v, f, s));
|
|
4202
4202
|
}));
|
|
4203
4203
|
});
|
|
4204
4204
|
}), { res: o, usedKey: n, exactUsedKey: r, usedLng: i, usedNS: a };
|
|
@@ -4225,7 +4225,7 @@ class oo extends ho {
|
|
|
4225
4225
|
return !1;
|
|
4226
4226
|
}
|
|
4227
4227
|
}
|
|
4228
|
-
const
|
|
4228
|
+
const Fo = (e) => e.charAt(0).toUpperCase() + e.slice(1);
|
|
4229
4229
|
class Ra {
|
|
4230
4230
|
constructor(t) {
|
|
4231
4231
|
this.options = t, this.supportedLngs = this.options.supportedLngs || !1, this.logger = ft.create("languageUtils");
|
|
@@ -4249,7 +4249,7 @@ class Ra {
|
|
|
4249
4249
|
}
|
|
4250
4250
|
const o = ["hans", "hant", "latn", "cyrl", "cans", "mong", "arab"];
|
|
4251
4251
|
let n = t.split("-");
|
|
4252
|
-
return this.options.lowerCaseLng ? n = n.map((r) => r.toLowerCase()) : n.length === 2 ? (n[0] = n[0].toLowerCase(), n[1] = n[1].toUpperCase(), o.indexOf(n[1].toLowerCase()) > -1 && (n[1] =
|
|
4252
|
+
return this.options.lowerCaseLng ? n = n.map((r) => r.toLowerCase()) : n.length === 2 ? (n[0] = n[0].toLowerCase(), n[1] = n[1].toUpperCase(), o.indexOf(n[1].toLowerCase()) > -1 && (n[1] = Fo(n[1].toLowerCase()))) : n.length === 3 && (n[0] = n[0].toLowerCase(), n[1].length === 2 && (n[1] = n[1].toUpperCase()), n[0] !== "sgn" && n[2].length === 2 && (n[2] = n[2].toUpperCase()), o.indexOf(n[1].toLowerCase()) > -1 && (n[1] = Fo(n[1].toLowerCase())), o.indexOf(n[2].toLowerCase()) > -1 && (n[2] = Fo(n[2].toLowerCase()))), n.join("-");
|
|
4253
4253
|
}
|
|
4254
4254
|
return this.options.cleanCode || this.options.lowerCaseLng ? t.toLowerCase() : t;
|
|
4255
4255
|
}
|
|
@@ -4359,7 +4359,7 @@ const Oa = function(e, t, o) {
|
|
|
4359
4359
|
return l !== void 0 ? l : eo(s, c);
|
|
4360
4360
|
})(e, t, o);
|
|
4361
4361
|
return !i && r && D(o) && (i = Tr(e, o, n), i === void 0 && (i = Tr(t, o, n))), i;
|
|
4362
|
-
},
|
|
4362
|
+
}, jo = (e) => e.replace(/\$/g, "$$$$");
|
|
4363
4363
|
class Rd {
|
|
4364
4364
|
constructor() {
|
|
4365
4365
|
let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
@@ -4368,8 +4368,8 @@ class Rd {
|
|
|
4368
4368
|
init() {
|
|
4369
4369
|
let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
4370
4370
|
t.interpolation || (t.interpolation = { escapeValue: !0 });
|
|
4371
|
-
const { escape: o, escapeValue: n, useRawValueToEscape: r, prefix: i, prefixEscaped: a, suffix: s, suffixEscaped: c, formatSeparator: l, unescapeSuffix: u, unescapePrefix: g, nestingPrefix: d, nestingPrefixEscaped: b, nestingSuffix:
|
|
4372
|
-
this.escape = o !== void 0 ? o : wd, this.escapeValue = n === void 0 || n, this.useRawValueToEscape = r !== void 0 && r, this.prefix = i ? Ht(i) : a || "{{", this.suffix = s ? Ht(s) : c || "}}", this.formatSeparator = l || ",", this.unescapePrefix = u ? "" : g || "-", this.unescapeSuffix = this.unescapePrefix ? "" : u || "", this.nestingPrefix = d ? Ht(d) : b || Ht("$t("), this.nestingSuffix =
|
|
4371
|
+
const { escape: o, escapeValue: n, useRawValueToEscape: r, prefix: i, prefixEscaped: a, suffix: s, suffixEscaped: c, formatSeparator: l, unescapeSuffix: u, unescapePrefix: g, nestingPrefix: d, nestingPrefixEscaped: b, nestingSuffix: m, nestingSuffixEscaped: h, nestingOptionsSeparator: v, maxReplaces: S, alwaysFormat: I } = t.interpolation;
|
|
4372
|
+
this.escape = o !== void 0 ? o : wd, this.escapeValue = n === void 0 || n, this.useRawValueToEscape = r !== void 0 && r, this.prefix = i ? Ht(i) : a || "{{", this.suffix = s ? Ht(s) : c || "}}", this.formatSeparator = l || ",", this.unescapePrefix = u ? "" : g || "-", this.unescapeSuffix = this.unescapePrefix ? "" : u || "", this.nestingPrefix = d ? Ht(d) : b || Ht("$t("), this.nestingSuffix = m ? Ht(m) : h || Ht(")"), this.nestingOptionsSeparator = v || ",", this.maxReplaces = S || 1e3, this.alwaysFormat = I !== void 0 && I, this.resetRegExp();
|
|
4373
4373
|
}
|
|
4374
4374
|
reset() {
|
|
4375
4375
|
this.options && this.init(this.options);
|
|
@@ -4385,17 +4385,17 @@ class Rd {
|
|
|
4385
4385
|
const v = Oa(o, c, d, this.options.keySeparator, this.options.ignoreJSONStructure);
|
|
4386
4386
|
return this.alwaysFormat ? this.format(v, void 0, n, { ...r, ...o, interpolationkey: d }) : v;
|
|
4387
4387
|
}
|
|
4388
|
-
const b = d.split(this.formatSeparator),
|
|
4389
|
-
return this.format(Oa(o, c,
|
|
4388
|
+
const b = d.split(this.formatSeparator), m = b.shift().trim(), h = b.join(this.formatSeparator).trim();
|
|
4389
|
+
return this.format(Oa(o, c, m, this.options.keySeparator, this.options.ignoreJSONStructure), h, n, { ...r, ...o, interpolationkey: m });
|
|
4390
4390
|
};
|
|
4391
4391
|
this.resetRegExp();
|
|
4392
4392
|
const u = r && r.missingInterpolationHandler || this.options.missingInterpolationHandler, g = r && r.interpolation && r.interpolation.skipOnVariables !== void 0 ? r.interpolation.skipOnVariables : this.options.interpolation.skipOnVariables;
|
|
4393
|
-
return [{ regex: this.regexpUnescape, safeValue: (d) =>
|
|
4393
|
+
return [{ regex: this.regexpUnescape, safeValue: (d) => jo(d) }, { regex: this.regexp, safeValue: (d) => this.escapeValue ? jo(this.escape(d)) : jo(d) }].forEach((d) => {
|
|
4394
4394
|
for (s = 0; i = d.regex.exec(t); ) {
|
|
4395
4395
|
const b = i[1].trim();
|
|
4396
4396
|
if (a = l(b), a === void 0) if (typeof u == "function") {
|
|
4397
|
-
const
|
|
4398
|
-
a = D(
|
|
4397
|
+
const h = u(t, i, r);
|
|
4398
|
+
a = D(h) ? h : "";
|
|
4399
4399
|
} else if (r && Object.prototype.hasOwnProperty.call(r, b)) a = "";
|
|
4400
4400
|
else {
|
|
4401
4401
|
if (g) {
|
|
@@ -4405,8 +4405,8 @@ class Rd {
|
|
|
4405
4405
|
this.logger.warn(`missed to pass in variable ${b} for interpolating ${t}`), a = "";
|
|
4406
4406
|
}
|
|
4407
4407
|
else D(a) || this.useRawValueToEscape || (a = ka(a));
|
|
4408
|
-
const
|
|
4409
|
-
if (t = t.replace(i[0],
|
|
4408
|
+
const m = d.safeValue(a);
|
|
4409
|
+
if (t = t.replace(i[0], m), g ? (d.regex.lastIndex += a.length, d.regex.lastIndex -= i[0].length) : d.regex.lastIndex = 0, s++, s >= this.maxReplaces) break;
|
|
4410
4410
|
}
|
|
4411
4411
|
}), t;
|
|
4412
4412
|
}
|
|
@@ -4418,12 +4418,12 @@ class Rd {
|
|
|
4418
4418
|
const g = c.split(new RegExp(`${u}[ ]*{`));
|
|
4419
4419
|
let d = `{${g[1]}`;
|
|
4420
4420
|
c = g[0], d = this.interpolate(d, i);
|
|
4421
|
-
const b = d.match(/'/g),
|
|
4422
|
-
(b && b.length % 2 == 0 && !
|
|
4421
|
+
const b = d.match(/'/g), m = d.match(/"/g);
|
|
4422
|
+
(b && b.length % 2 == 0 && !m || m.length % 2 != 0) && (d = d.replace(/'/g, '"'));
|
|
4423
4423
|
try {
|
|
4424
4424
|
i = JSON.parse(d), l && (i = { ...l, ...i });
|
|
4425
|
-
} catch (
|
|
4426
|
-
return this.logger.warn(`failed parsing options string in nesting for key ${c}`,
|
|
4425
|
+
} catch (h) {
|
|
4426
|
+
return this.logger.warn(`failed parsing options string in nesting for key ${c}`, h), `${c}${u}${d}`;
|
|
4427
4427
|
}
|
|
4428
4428
|
return i.defaultValue && i.defaultValue.indexOf(this.prefix) > -1 && delete i.defaultValue, c;
|
|
4429
4429
|
};
|
|
@@ -4493,13 +4493,13 @@ class Td {
|
|
|
4493
4493
|
let d = g.toLowerCase().trim();
|
|
4494
4494
|
const b = {};
|
|
4495
4495
|
if (g.indexOf("(") > -1) {
|
|
4496
|
-
const
|
|
4497
|
-
d =
|
|
4498
|
-
const
|
|
4499
|
-
d === "currency" &&
|
|
4496
|
+
const m = g.split("(");
|
|
4497
|
+
d = m[0].toLowerCase().trim();
|
|
4498
|
+
const h = m[1].substring(0, m[1].length - 1);
|
|
4499
|
+
d === "currency" && h.indexOf(":") < 0 ? b.currency || (b.currency = h.trim()) : d === "relativetime" && h.indexOf(":") < 0 ? b.range || (b.range = h.trim()) : h.split(";").forEach((v) => {
|
|
4500
4500
|
if (v) {
|
|
4501
|
-
const [S, ...I] = v.split(":"),
|
|
4502
|
-
b[y] || (b[y] =
|
|
4501
|
+
const [S, ...I] = v.split(":"), f = I.join(":").trim().replace(/^'+|'+$/g, ""), y = S.trim();
|
|
4502
|
+
b[y] || (b[y] = f), f === "false" && (b[y] = !1), f === "true" && (b[y] = !0), isNaN(f) || (b[y] = parseInt(f, 10));
|
|
4503
4503
|
}
|
|
4504
4504
|
});
|
|
4505
4505
|
}
|
|
@@ -4655,10 +4655,10 @@ class hn extends ho {
|
|
|
4655
4655
|
this.store = new Ea(this.options.resources, this.options);
|
|
4656
4656
|
const u = this.services;
|
|
4657
4657
|
u.logger = ft, u.resourceStore = this.store, u.languageUtils = l, u.pluralResolver = new Vd(l, { prepend: this.options.pluralSeparator, compatibilityJSON: this.options.compatibilityJSON, simplifyPluralSuffix: this.options.simplifyPluralSuffix }), !c || this.options.interpolation.format && this.options.interpolation.format !== r.interpolation.format || (u.formatter = i(c), u.formatter.init(u, this.options), this.options.interpolation.format = u.formatter.format.bind(u.formatter)), u.interpolator = new Rd(this.options), u.utils = { hasLoadedNamespace: this.hasLoadedNamespace.bind(this) }, u.backendConnector = new Od(i(this.modules.backend), u.resourceStore, u, this.options), u.backendConnector.on("*", function(g) {
|
|
4658
|
-
for (var d = arguments.length, b = new Array(d > 1 ? d - 1 : 0),
|
|
4658
|
+
for (var d = arguments.length, b = new Array(d > 1 ? d - 1 : 0), m = 1; m < d; m++) b[m - 1] = arguments[m];
|
|
4659
4659
|
t.emit(g, ...b);
|
|
4660
4660
|
}), this.modules.languageDetector && (u.languageDetector = i(this.modules.languageDetector), u.languageDetector.init && u.languageDetector.init(u, this.options.detection, this.options)), this.modules.i18nFormat && (u.i18nFormat = i(this.modules.i18nFormat), u.i18nFormat.init && u.i18nFormat.init(this)), this.translator = new oo(this.services, this.options), this.translator.on("*", function(g) {
|
|
4661
|
-
for (var d = arguments.length, b = new Array(d > 1 ? d - 1 : 0),
|
|
4661
|
+
for (var d = arguments.length, b = new Array(d > 1 ? d - 1 : 0), m = 1; m < d; m++) b[m - 1] = arguments[m];
|
|
4662
4662
|
t.emit(g, ...b);
|
|
4663
4663
|
}), this.modules.external.forEach((g) => {
|
|
4664
4664
|
g.init && g.init(this);
|
|
@@ -4754,7 +4754,7 @@ class hn extends ho {
|
|
|
4754
4754
|
c.lng = c.lng || i.lng, c.lngs = c.lngs || i.lngs, c.ns = c.ns || i.ns, c.keyPrefix !== "" && (c.keyPrefix = c.keyPrefix || n || i.keyPrefix);
|
|
4755
4755
|
const d = r.options.keySeparator || ".";
|
|
4756
4756
|
let b;
|
|
4757
|
-
return b = c.keyPrefix && Array.isArray(a) ? a.map((
|
|
4757
|
+
return b = c.keyPrefix && Array.isArray(a) ? a.map((m) => `${c.keyPrefix}${d}${m}`) : c.keyPrefix ? `${c.keyPrefix}${d}${a}` : a, r.t(b, c);
|
|
4758
4758
|
};
|
|
4759
4759
|
return D(t) ? i.lng = t : i.lngs = t, i.ns = o, i.keyPrefix = n, i;
|
|
4760
4760
|
}
|
|
@@ -4828,7 +4828,7 @@ ye.createInstance = hn.createInstance, ye.createInstance, ye.dir, ye.init, ye.lo
|
|
|
4828
4828
|
const Ha = (e, t) => {
|
|
4829
4829
|
const o = document.querySelectorAll(t.selectorText);
|
|
4830
4830
|
return Array.from(o).includes(e);
|
|
4831
|
-
},
|
|
4831
|
+
}, Ft = (e) => {
|
|
4832
4832
|
const { fontSize: t } = window.getComputedStyle(e);
|
|
4833
4833
|
e.dataset.accOrgfontsize = parseFloat(t).toString(), e.style.fontSize = t;
|
|
4834
4834
|
}, Pa = () => ({ language: typeof window < "u" ? localStorage.getItem("i18nextLng") ?? ye.language : ye.language, isBlueLightFilter: !1, brightness: { isBrightness: !1, brightness: 150 }, isDarkContrast: !1, isLightContrast: !1, highContrast: { isHighContrast: !1, contrast: 125 }, highSaturation: { isHighSaturation: !1, saturation: 200 }, lowSaturation: { isLowSaturation: !1, saturation: 50 }, isMonochrome: !1, color: "", isVisualImpairment: !1, adjustFontSizePercentage: 100, textAlign: { left: null, center: null, right: null }, isDyslexiaFont: !1, isFontWeightBold: !1, highlightLinks: !1, highlightTitles: !1, letterSpacing: 0, lineHeight: { isLineHeight: !1, lineHeight: 0 }, wordSpacing: 0, zoom: { isZoom: !1, zoom: 1 }, isBigCursor: !1, showReadingGuide: !1, activateTextToSpeech: !1 }), Wo = "acc-big-cursor-style", Zo = "acc-big-cursor", hc = (e, t) => {
|
|
@@ -4855,12 +4855,12 @@ const Ha = (e, t) => {
|
|
|
4855
4855
|
}, [e, t]);
|
|
4856
4856
|
}, zd = ({ accState: e, onChangeAccState: t }) => {
|
|
4857
4857
|
const { isBigCursor: o } = e;
|
|
4858
|
-
return hc(o),
|
|
4858
|
+
return hc(o), w.jsx(be, { Icon: xd, isToggled: o, onToggle: () => {
|
|
4859
4859
|
t((n) => {
|
|
4860
4860
|
n.isBigCursor = !n.isBigCursor;
|
|
4861
4861
|
});
|
|
4862
4862
|
}, titleTranslationKey: "tools.bigCursor", title: "Big Cursor" });
|
|
4863
|
-
}, Xd = (e) => x.createElement("svg", { className: "MuiSvgIcon-root MuiSvgIcon-fontSizeMedium css-i4bv87-MuiSvgIcon-root", focusable: "false", "aria-hidden": "true", viewBox: "0 0 24 24", "data-testid": "AutoStoriesIcon", ...e }, x.createElement("path", { d: "m19 1-5 5v11l5-4.5V1zM1 6v14.65c0 .25.25.5.5.5.1 0 .15-.05.25-.05C3.1 20.45 5.05 20 6.5 20c1.95 0 4.05.4 5.5 1.5V6c-1.45-1.1-3.55-1.5-5.5-1.5S2.45 4.9 1 6zm22 13.5V6c-.6-.45-1.25-.75-2-1v13.5c-1.1-.35-2.3-.5-3.5-.5-1.7 0-4.15.65-5.5 1.5v2c1.35-.85 3.8-1.5 5.5-1.5 1.65 0 3.35.3 4.75 1.05.1.05.15.05.25.05.25 0 .5-.25.5-.5v-1.1z" })),
|
|
4863
|
+
}, Xd = (e) => x.createElement("svg", { className: "MuiSvgIcon-root MuiSvgIcon-fontSizeMedium css-i4bv87-MuiSvgIcon-root", focusable: "false", "aria-hidden": "true", viewBox: "0 0 24 24", "data-testid": "AutoStoriesIcon", ...e }, x.createElement("path", { d: "m19 1-5 5v11l5-4.5V1zM1 6v14.65c0 .25.25.5.5.5.1 0 .15-.05.25-.05C3.1 20.45 5.05 20 6.5 20c1.95 0 4.05.4 5.5 1.5V6c-1.45-1.1-3.55-1.5-5.5-1.5S2.45 4.9 1 6zm22 13.5V6c-.6-.45-1.25-.75-2-1v13.5c-1.1-.35-2.3-.5-3.5-.5-1.7 0-4.15.65-5.5 1.5v2c1.35-.85 3.8-1.5 5.5-1.5 1.65 0 3.35.3 4.75 1.05.1.05.15.05.25.05.25 0 .5-.25.5-.5v-1.1z" })), Fa = "acc-portal-[readingGuide-container]", fc = (e, t, o) => {
|
|
4864
4864
|
const [n, r] = Ie(0), i = St(() => n > 0 ? `calc(100vh - ${n}px - ${t}px)` : 0, [n, t]);
|
|
4865
4865
|
Pe(() => {
|
|
4866
4866
|
if (!o) {
|
|
@@ -4869,7 +4869,7 @@ const Ha = (e, t) => {
|
|
|
4869
4869
|
r(s.clientY);
|
|
4870
4870
|
};
|
|
4871
4871
|
return ((s, c) => {
|
|
4872
|
-
const l = document.getElementById(
|
|
4872
|
+
const l = document.getElementById(Fa);
|
|
4873
4873
|
l.style.display = "block";
|
|
4874
4874
|
let u = document.getElementById("acc-readingGuide-top");
|
|
4875
4875
|
u || (u = document.createElement("div"), u.id = "acc-readingGuide-top", u.className = "acc-readingGuide", u.style.height = `${s}px`, l.appendChild(u)), u.style.height = `${s}px`;
|
|
@@ -4881,7 +4881,7 @@ const Ha = (e, t) => {
|
|
|
4881
4881
|
}
|
|
4882
4882
|
{
|
|
4883
4883
|
const a = document.getElementById("acc-readingGuide-top");
|
|
4884
|
-
document.getElementById(
|
|
4884
|
+
document.getElementById(Fa).style.display = "none", a && a.remove();
|
|
4885
4885
|
const s = document.getElementById("acc-readingGuide-bottom");
|
|
4886
4886
|
s && s.remove();
|
|
4887
4887
|
}
|
|
@@ -4889,19 +4889,19 @@ const Ha = (e, t) => {
|
|
|
4889
4889
|
}, [e, o, n, i]);
|
|
4890
4890
|
}, Hd = ({ rgGap: e = 100, accState: t, onChangeAccState: o }) => {
|
|
4891
4891
|
const { showReadingGuide: n } = t;
|
|
4892
|
-
return fc(n, e),
|
|
4892
|
+
return fc(n, e), w.jsx(be, { Icon: Xd, isToggled: n, onToggle: () => {
|
|
4893
4893
|
o((r) => {
|
|
4894
4894
|
r.showReadingGuide = !r.showReadingGuide;
|
|
4895
4895
|
});
|
|
4896
4896
|
}, titleTranslationKey: "tools.readingGuide", title: "Reading Guide" });
|
|
4897
|
-
}, Pd = (e) => x.createElement("svg", { className: "MuiSvgIcon-root MuiSvgIcon-fontSizeMedium css-i4bv87-MuiSvgIcon-root", focusable: "false", "aria-hidden": "true", viewBox: "0 0 24 24", "data-testid": "RecordVoiceOverIcon", ...e }, x.createElement("circle", { cx: 9, cy: 9, r: 4 }), x.createElement("path", { d: "M9 15c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4zm7.76-9.64-1.68 1.69c.84 1.18.84 2.71 0 3.89l1.68 1.69c2.02-2.02 2.02-5.07 0-7.27zM20.07 2l-1.63 1.63c2.77 3.02 2.77 7.56 0 10.74L20.07 16c3.9-3.89 3.91-9.95 0-14z" })),
|
|
4897
|
+
}, Pd = (e) => x.createElement("svg", { className: "MuiSvgIcon-root MuiSvgIcon-fontSizeMedium css-i4bv87-MuiSvgIcon-root", focusable: "false", "aria-hidden": "true", viewBox: "0 0 24 24", "data-testid": "RecordVoiceOverIcon", ...e }, x.createElement("circle", { cx: 9, cy: 9, r: 4 }), x.createElement("path", { d: "M9 15c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4zm7.76-9.64-1.68 1.69c.84 1.18.84 2.71 0 3.89l1.68 1.69c2.02-2.02 2.02-5.07 0-7.27zM20.07 2l-1.63 1.63c2.77 3.02 2.77 7.56 0 10.74L20.07 16c3.9-3.89 3.91-9.95 0-14z" })), ja = "Sorry, your browser does not support text-to-speech!", Fd = ({ accState: e, onChangeAccState: t }) => {
|
|
4898
4898
|
const { activateTextToSpeech: o, language: n } = e, [r, i] = Ie(!1), [a, s] = Ie(!0), [c, l] = Ie(null), u = Ce(null);
|
|
4899
4899
|
return Pe(() => {
|
|
4900
4900
|
if (!o) return;
|
|
4901
|
-
if (!window.speechSynthesis) return void alert(
|
|
4901
|
+
if (!window.speechSynthesis) return void alert(ja);
|
|
4902
4902
|
const g = setTimeout(() => {
|
|
4903
4903
|
if (!u.current) {
|
|
4904
|
-
const b = window.speechSynthesis.getVoices().reduce((
|
|
4904
|
+
const b = window.speechSynthesis.getVoices().reduce((m, h) => (m[h.lang] = h, m), {});
|
|
4905
4905
|
u.current = Object.values(b);
|
|
4906
4906
|
}
|
|
4907
4907
|
const d = u.current.find((b) => b.lang.includes(n)) ?? u.current[0];
|
|
@@ -4915,39 +4915,39 @@ const Ha = (e, t) => {
|
|
|
4915
4915
|
const g = () => {
|
|
4916
4916
|
const b = window.getSelection();
|
|
4917
4917
|
if (b) {
|
|
4918
|
-
const
|
|
4919
|
-
|
|
4918
|
+
const m = b.toString();
|
|
4919
|
+
m && d(m);
|
|
4920
4920
|
}
|
|
4921
4921
|
}, d = (b) => {
|
|
4922
|
-
const
|
|
4923
|
-
c && (
|
|
4922
|
+
const m = new SpeechSynthesisUtterance(b);
|
|
4923
|
+
c && (m.voice = c), window.speechSynthesis.speak(m);
|
|
4924
4924
|
};
|
|
4925
4925
|
return document.addEventListener("mouseup", g), () => {
|
|
4926
4926
|
document.removeEventListener("mouseup", g);
|
|
4927
4927
|
};
|
|
4928
4928
|
}
|
|
4929
|
-
}, [o, r, a, c]),
|
|
4929
|
+
}, [o, r, a, c]), w.jsx(be, { Icon: Pd, isToggled: o, onToggle: () => {
|
|
4930
4930
|
t((g) => {
|
|
4931
4931
|
g.activateTextToSpeech = !g.activateTextToSpeech;
|
|
4932
4932
|
});
|
|
4933
|
-
}, titleTranslationKey: "tools.textToSpeach", title: "Text To Speach", tooltipTranslationKey: "tools.textToSpeachTooltip", children: o ? a ?
|
|
4933
|
+
}, titleTranslationKey: "tools.textToSpeach", title: "Text To Speach", tooltipTranslationKey: "tools.textToSpeachTooltip", children: o ? a ? w.jsx("p", { style: { color: "red" }, children: "...lading" }) : r && u.current ? w.jsx("div", { onClick: (g) => {
|
|
4934
4934
|
g.stopPropagation();
|
|
4935
|
-
}, children:
|
|
4935
|
+
}, children: w.jsx(tc, { className: "_accSelectVoicesContainer_1d5zn_1", classNamePrefix: "accSelectVoices", options: u.current, value: c, onChange: (g) => {
|
|
4936
4936
|
l(g);
|
|
4937
|
-
}, getOptionLabel: (g) => g.lang, getOptionValue: (g) => g.lang }) }) :
|
|
4938
|
-
},
|
|
4937
|
+
}, getOptionLabel: (g) => g.lang, getOptionValue: (g) => g.lang }) }) : w.jsx("p", { style: { color: "red" }, children: ja }) : null });
|
|
4938
|
+
}, jd = ({ accState: e, onChangeAccState: t }) => w.jsxs(w.Fragment, { children: [w.jsx(zd, { accState: e, onChangeAccState: t }), w.jsx(Hd, { accState: e, onChangeAccState: t }), w.jsx(Fd, { accState: e, onChangeAccState: t })] }), Wd = ({ accState: e, onChangeAccState: t, onCollapse: o, collapsedState: n }) => {
|
|
4939
4939
|
const r = Object.values(n).every(({ isExpanded: i }) => !i);
|
|
4940
|
-
return
|
|
4940
|
+
return w.jsxs("div", { className: "_accMenuContent_1v82o_1", children: [w.jsx(Oo, { isAccMenuContentActive: !r, onCollapse: o, isExpanded: n.content.isExpanded, name: n.content.name, Icon: n.content.icon, tKey: "content.title", children: w.jsx(Wu, { accState: e, onChangeAccState: t }) }), w.jsx(Oo, { isAccMenuContentActive: !r, onCollapse: o, isExpanded: n.colors.isExpanded, name: n.colors.name, Icon: n.colors.icon, tKey: "colors.title", children: w.jsx(Cd, { accState: e, onChangeAccState: t }) }), w.jsx(Oo, { isAccMenuContentActive: !r, onCollapse: o, isExpanded: n.tools.isExpanded, name: n.tools.name, Icon: n.tools.icon, tKey: "tools.title", children: w.jsx(jd, { accState: e, onChangeAccState: t }) })] });
|
|
4941
4941
|
}, Or = [{ label: "English", value: "en-US" }, { label: "עברית", value: "he-IL" }, { label: "Русский", value: "ru" }, { label: "普通话", value: "zhzn" }, { label: "Español", value: "es" }, { label: "العربية", value: "ar" }, { label: "বাংলা", value: "bn" }, { label: "हिन्दी", value: "hi" }, { label: "Português", value: "ptpt" }, { label: "日本語", value: "ja" }, { label: "Deutsch", value: "de" }, { label: "简体中文", value: "wuu" }, { label: "한국어", value: "ko" }, { label: "Français", value: "fr" }, { label: "Türkçe", value: "tr" }, { label: "Tiếng Việt", value: "vi" }, { label: "తెలుగు", value: "te" }, { label: "मराठी", value: "mr" }, { label: "தமிழ்", value: "ta" }, { label: "Italiano", value: "it" }, { label: "اردو", value: "ur" }, { label: "ગુજરાતી", value: "gu" }, { label: "Polski", value: "pl" }, { label: "Українська", value: "uk" }, { label: "فارسی", value: "fa" }, { label: "മലയാളം", value: "ml" }, { label: "ಕನ್ನಡ", value: "kn" }, { label: "ଓଡ଼ିଆ", value: "or" }, { label: "Română", value: "ro" }, { label: "Azərbaycan", value: "az" }, { label: "هَوْسَ", value: "ha" }, { label: "ဗမာစာ", value: "my" }, { label: "српскохрватски", value: "sh" }, { label: "ไทย", value: "th" }, { label: "Nederlands", value: "nl" }, { label: "Yorùbá", value: "yo" }, { label: "سنڌي", value: "sd" }, { label: "Latviešu", value: "lv" }], Zd = Or.reduce((e, t) => (e[t.value] = t, e), {}), Wa = { content: { name: "content", isExpanded: !1, icon: (e) => x.createElement("svg", { className: "MuiSvgIcon-root MuiSvgIcon-fontSizeLarge css-tzssek-MuiSvgIcon-root", focusable: "false", "aria-hidden": "true", viewBox: "0 0 24 24", "data-testid": "ContentCopyIcon", ...e }, x.createElement("path", { d: "M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16H8V7h11v14z" })) }, colors: { name: "colors", isExpanded: !1, icon: gc }, tools: { name: "tools", isExpanded: !1, icon: (e) => x.createElement("svg", { className: "MuiSvgIcon-root MuiSvgIcon-fontSizeLarge css-tzssek-MuiSvgIcon-root", focusable: "false", "aria-hidden": "true", viewBox: "0 0 24 24", "data-testid": "HandymanIcon", ...e }, x.createElement("path", { d: "m21.67 18.17-5.3-5.3h-.99l-2.54 2.54v.99l5.3 5.3c.39.39 1.02.39 1.41 0l2.12-2.12c.39-.38.39-1.02 0-1.41z" }), x.createElement("path", { d: "m17.34 10.19 1.41-1.41 2.12 2.12c1.17-1.17 1.17-3.07 0-4.24l-3.54-3.54-1.41 1.41V1.71l-.7-.71-3.54 3.54.71.71h2.83l-1.41 1.41 1.06 1.06-2.89 2.89-4.13-4.13V5.06L4.83 2.04 2 4.87 5.03 7.9h1.41l4.13 4.13-.85.85H7.6l-5.3 5.3c-.39.39-.39 1.02 0 1.41l2.12 2.12c.39.39 1.02.39 1.41 0l5.3-5.3v-2.12l5.15-5.15 1.06 1.05z" })) } }, Jd = ({ accState: e, display: t, onInit: o, onLangChange: n, onChangeAccState: r, onShow: i, showAcc: a, hasLanguages: s }) => {
|
|
4942
4942
|
const [c, l] = Ie(Wa), { language: u } = e, g = Ce(null);
|
|
4943
4943
|
return Pe(() => {
|
|
4944
4944
|
g.current && g.current.focus();
|
|
4945
|
-
}, []),
|
|
4946
|
-
l((b) => hr(Wa, (
|
|
4947
|
-
const
|
|
4948
|
-
|
|
4945
|
+
}, []), w.jsxs("div", { id: "acc-accessibility-menu", className: En.accAccessibilityMenu, children: [w.jsxs("div", { style: { display: t }, className: En.accMenu, children: [w.jsx($c, { onShow: i, onInit: o }), w.jsx(tc, { className: En["acc-lang-select-container"], options: s ? Or : [Or[0]], value: Zd[u], onChange: (d) => d && n(d.value), ref: g }), w.jsx(Wd, { onCollapse: (d) => {
|
|
4946
|
+
l((b) => hr(Wa, (m) => {
|
|
4947
|
+
const h = b[d].isExpanded;
|
|
4948
|
+
m[d].isExpanded = !h;
|
|
4949
4949
|
}));
|
|
4950
|
-
}, accState: e, onChangeAccState: r, collapsedState: c }),
|
|
4950
|
+
}, accState: e, onChangeAccState: r, collapsedState: c }), w.jsx(Uc, {})] }), a && w.jsx("div", { className: En.accAccessibilityMenu__overlay })] });
|
|
4951
4951
|
};
|
|
4952
4952
|
var bc = [], Dd = bc.forEach, Yd = bc.slice, Za = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, _d = { name: "cookie", lookup: function(e) {
|
|
4953
4953
|
var t;
|
|
@@ -5139,66 +5139,72 @@ const Ya = "portal", _a = ({ children: e, wrapperElementId: t }) => {
|
|
|
5139
5139
|
o.style.fontSize = `${n}px`;
|
|
5140
5140
|
}
|
|
5141
5141
|
});
|
|
5142
|
-
}, rn = "acc-align-text", Do = "acc-highlight-links-style", Yo = "acc-highlight-links", _o = "acc-highlight-titles-style", $o = "acc-highlight-titles", Uo = "acc-letter-spacing-style", Tn = "acc-letter-spacing", Qo = "acc-line-height-style", On = "acc-line-height", Ko = "acc-word-spacing-style", zn = "acc-word-spacing", qo = "acc-zoom-style", Xn = "acc-zoom", Ka = "acc-blueLight-filter-style", er = "acc-blue-light-filter", qa = "acc-dark-contrast-style", tr = "acc-dark-contrast", es = "acc-light-contrast-style", nr = "acc-light-contrast", ts = "acc-visual-impairment-style", or = "acc-visual-impairment", ns = "acc-monochrome-style", rr = "acc-monochrome", os = "acc-high-contrast-style", Hn = "acc-high-contrast", rs = "acc-brightness-control-style", Pn = "acc-brightness-control", is = "acc-high-saturation-style",
|
|
5142
|
+
}, rn = "acc-align-text", Do = "acc-highlight-links-style", Yo = "acc-highlight-links", _o = "acc-highlight-titles-style", $o = "acc-highlight-titles", Uo = "acc-letter-spacing-style", Tn = "acc-letter-spacing", Qo = "acc-line-height-style", On = "acc-line-height", Ko = "acc-word-spacing-style", zn = "acc-word-spacing", qo = "acc-zoom-style", Xn = "acc-zoom", Ka = "acc-blueLight-filter-style", er = "acc-blue-light-filter", qa = "acc-dark-contrast-style", tr = "acc-dark-contrast", es = "acc-light-contrast-style", nr = "acc-light-contrast", ts = "acc-visual-impairment-style", or = "acc-visual-impairment", ns = "acc-monochrome-style", rr = "acc-monochrome", os = "acc-high-contrast-style", Hn = "acc-high-contrast", rs = "acc-brightness-control-style", Pn = "acc-brightness-control", is = "acc-high-saturation-style", Fn = "acc-high-saturation", as = "acc-low-saturation-style", jn = "acc-low-saturation", ss = "acc-text-color-picker-style", ir = "acc-text-color-picker", cs = "accessibilik";
|
|
5143
5143
|
ye.use(Ic).use(Dc);
|
|
5144
5144
|
const cg = () => {
|
|
5145
|
-
const [e, t] = Ie(!0), [o, n] = Ie(!1), [r, i] = Ie(!1), a = ((
|
|
5145
|
+
const [e, t] = Ie(!0), [o, n] = Ie(!1), [r, i] = Ie(!1), a = ((h) => {
|
|
5146
5146
|
const [v, S] = Ie(!0);
|
|
5147
5147
|
return ne(() => {
|
|
5148
|
-
|
|
5149
|
-
|
|
5150
|
-
|
|
5151
|
-
|
|
5152
|
-
|
|
5153
|
-
|
|
5154
|
-
|
|
5155
|
-
|
|
5156
|
-
|
|
5148
|
+
if (!h) return;
|
|
5149
|
+
const I = requestAnimationFrame(() => {
|
|
5150
|
+
document.querySelectorAll("*").forEach((f) => {
|
|
5151
|
+
const y = f;
|
|
5152
|
+
if (y.style.fontSize && Ft(y), Array.from(document.styleSheets).forEach((p) => {
|
|
5153
|
+
try {
|
|
5154
|
+
Array.from(p.cssRules || []).forEach((C) => {
|
|
5155
|
+
const A = C;
|
|
5156
|
+
A.style.fontSize && Ha(y, A) && Ft(y);
|
|
5157
|
+
});
|
|
5158
|
+
} catch {
|
|
5159
|
+
}
|
|
5160
|
+
}), y) {
|
|
5161
|
+
const p = y.tagName.toLowerCase();
|
|
5162
|
+
xt.includes(p) && Ft(y);
|
|
5157
5163
|
}
|
|
5158
|
-
}),
|
|
5159
|
-
|
|
5160
|
-
|
|
5161
|
-
|
|
5162
|
-
|
|
5163
|
-
}, [f]), v;
|
|
5164
|
-
})(r), s = ((f) => {
|
|
5164
|
+
}), S(!1);
|
|
5165
|
+
});
|
|
5166
|
+
return () => cancelAnimationFrame(I);
|
|
5167
|
+
}, [h]), v;
|
|
5168
|
+
})(r), s = ((h) => {
|
|
5165
5169
|
const [v, S] = Ie(0);
|
|
5166
5170
|
return ne(() => {
|
|
5167
|
-
if (!
|
|
5168
|
-
const I = new MutationObserver((
|
|
5169
|
-
|
|
5170
|
-
|
|
5171
|
-
if (
|
|
5172
|
-
if (
|
|
5173
|
-
if (
|
|
5171
|
+
if (!h) return;
|
|
5172
|
+
const I = new MutationObserver((y) => {
|
|
5173
|
+
y.forEach((p) => {
|
|
5174
|
+
p.type === "childList" && p.addedNodes.length > 0 && p.addedNodes.forEach((C) => {
|
|
5175
|
+
if (C instanceof HTMLElement) {
|
|
5176
|
+
if (C.id === we || C.id === sn) return;
|
|
5177
|
+
if (C.style.fontSize && (Ft(C), C.dataset.accMutation = "true", S((A) => ++A)), Array.from(document.styleSheets).forEach((A) => {
|
|
5174
5178
|
try {
|
|
5175
|
-
Array.from(
|
|
5176
|
-
const
|
|
5177
|
-
|
|
5179
|
+
Array.from(A.cssRules || []).forEach((B) => {
|
|
5180
|
+
const F = B;
|
|
5181
|
+
F.style.fontSize && Ha(C, F) && (Ft(C), C.dataset.accMutation = "true", S((V) => ++V));
|
|
5178
5182
|
});
|
|
5179
5183
|
} catch {
|
|
5180
5184
|
}
|
|
5181
|
-
}),
|
|
5182
|
-
const
|
|
5183
|
-
xt.includes(
|
|
5185
|
+
}), C) {
|
|
5186
|
+
const A = C.tagName.toLowerCase();
|
|
5187
|
+
xt.includes(A) && (Ft(C), C.dataset.accMutation = "true", S((B) => ++B));
|
|
5184
5188
|
}
|
|
5185
5189
|
}
|
|
5186
5190
|
});
|
|
5187
5191
|
});
|
|
5192
|
+
}), f = requestAnimationFrame(() => {
|
|
5193
|
+
typeof document < "u" && document.body && I.observe(document.body, { childList: !0, subtree: !0 });
|
|
5188
5194
|
});
|
|
5189
|
-
return
|
|
5190
|
-
S(0), I.disconnect();
|
|
5195
|
+
return () => {
|
|
5196
|
+
cancelAnimationFrame(f), S(0), I.disconnect();
|
|
5191
5197
|
};
|
|
5192
|
-
}, [
|
|
5198
|
+
}, [h]), v;
|
|
5193
5199
|
})(r), [c, l] = function() {
|
|
5194
|
-
const [
|
|
5200
|
+
const [h, v] = Ie(Pa), S = Ce(!1);
|
|
5195
5201
|
return ne(() => {
|
|
5196
5202
|
if (typeof window < "u") {
|
|
5197
5203
|
try {
|
|
5198
5204
|
const I = sessionStorage.getItem(cs);
|
|
5199
5205
|
if (I) {
|
|
5200
|
-
const
|
|
5201
|
-
v(
|
|
5206
|
+
const f = JSON.parse(I);
|
|
5207
|
+
v(f);
|
|
5202
5208
|
}
|
|
5203
5209
|
} catch {
|
|
5204
5210
|
}
|
|
@@ -5206,17 +5212,17 @@ const cg = () => {
|
|
|
5206
5212
|
}
|
|
5207
5213
|
}, []), Pe(() => {
|
|
5208
5214
|
if (typeof window < "u" && S.current) try {
|
|
5209
|
-
sessionStorage.setItem(cs, JSON.stringify(
|
|
5215
|
+
sessionStorage.setItem(cs, JSON.stringify(h));
|
|
5210
5216
|
} catch {
|
|
5211
5217
|
}
|
|
5212
|
-
}, [
|
|
5218
|
+
}, [h]), [h, v];
|
|
5213
5219
|
}(), [u, g] = Ie(!1), d = a || e || !r;
|
|
5214
5220
|
Pe(() => {
|
|
5215
5221
|
i(!0);
|
|
5216
|
-
}, []), (({ accState:
|
|
5217
|
-
((I,
|
|
5222
|
+
}, []), (({ accState: h, isGettingReady: v, nodeListUpdated: S }) => {
|
|
5223
|
+
((I, f) => {
|
|
5218
5224
|
ne(() => {
|
|
5219
|
-
if (!
|
|
5225
|
+
if (!f) {
|
|
5220
5226
|
const y = document.getElementById(Ua);
|
|
5221
5227
|
if (I && !y) {
|
|
5222
5228
|
document.documentElement.classList.add(Jo);
|
|
@@ -5228,17 +5234,17 @@ const cg = () => {
|
|
|
5228
5234
|
`, document.head.appendChild(p);
|
|
5229
5235
|
} else !I && y && (document.documentElement.classList.remove(Jo), y == null || y.remove());
|
|
5230
5236
|
}
|
|
5231
|
-
}, [I,
|
|
5232
|
-
})(
|
|
5237
|
+
}, [I, f]);
|
|
5238
|
+
})(h.isFontWeightBold, v), ((I, f, y) => {
|
|
5233
5239
|
ne(() => {
|
|
5234
|
-
y ||
|
|
5235
|
-
}, [I,
|
|
5240
|
+
y || f > 0 && Qa("data-acc-mutation", I);
|
|
5241
|
+
}, [I, f, y]), ne(() => {
|
|
5236
5242
|
y || Qa("data-acc-orgfontsize", I);
|
|
5237
5243
|
}, [I, y]);
|
|
5238
|
-
})(
|
|
5244
|
+
})(h.adjustFontSizePercentage, S, v), ((I, f) => {
|
|
5239
5245
|
const y = Object.values(I).find((p) => p);
|
|
5240
5246
|
ne(() => {
|
|
5241
|
-
if (!
|
|
5247
|
+
if (!f && y && !document.getElementById(`acc-align-text-style-${y}`)) {
|
|
5242
5248
|
document.documentElement.classList.add(rn);
|
|
5243
5249
|
const p = document.createElement("style");
|
|
5244
5250
|
p.id = `acc-align-text-style-${y}`, p.innerHTML = `
|
|
@@ -5247,8 +5253,8 @@ const cg = () => {
|
|
|
5247
5253
|
}
|
|
5248
5254
|
`, document.head.appendChild(p);
|
|
5249
5255
|
}
|
|
5250
|
-
}, [y,
|
|
5251
|
-
if (!
|
|
5256
|
+
}, [y, f, I]), ne(() => {
|
|
5257
|
+
if (!f) {
|
|
5252
5258
|
if (!I.left) {
|
|
5253
5259
|
const p = document.getElementById("acc-align-text-style-left");
|
|
5254
5260
|
p && (p.remove(), document.documentElement.classList.remove(rn));
|
|
@@ -5263,9 +5269,9 @@ const cg = () => {
|
|
|
5263
5269
|
}
|
|
5264
5270
|
}
|
|
5265
5271
|
}, [I]);
|
|
5266
|
-
})(
|
|
5272
|
+
})(h.textAlign, v), nc(h.isDyslexiaFont, v), ((I, f) => {
|
|
5267
5273
|
ne(() => {
|
|
5268
|
-
if (
|
|
5274
|
+
if (f) return;
|
|
5269
5275
|
const y = document.getElementById(Do);
|
|
5270
5276
|
if (I && !y) {
|
|
5271
5277
|
document.documentElement.classList.add(Yo);
|
|
@@ -5280,10 +5286,10 @@ const cg = () => {
|
|
|
5280
5286
|
const p = document.getElementById(Do);
|
|
5281
5287
|
document.documentElement.classList.remove(Yo), p == null || p.remove();
|
|
5282
5288
|
}
|
|
5283
|
-
}, [I,
|
|
5284
|
-
})(
|
|
5289
|
+
}, [I, f]);
|
|
5290
|
+
})(h.highlightLinks, v), ((I, f) => {
|
|
5285
5291
|
ne(() => {
|
|
5286
|
-
if (
|
|
5292
|
+
if (f) return;
|
|
5287
5293
|
const y = document.getElementById(_o);
|
|
5288
5294
|
if (I && !y) {
|
|
5289
5295
|
document.documentElement.classList.add($o);
|
|
@@ -5298,11 +5304,11 @@ const cg = () => {
|
|
|
5298
5304
|
const p = document.getElementById(_o);
|
|
5299
5305
|
document.documentElement.classList.remove($o), p == null || p.remove();
|
|
5300
5306
|
}
|
|
5301
|
-
}, [I,
|
|
5302
|
-
})(
|
|
5307
|
+
}, [I, f]);
|
|
5308
|
+
})(h.highlightTitles, v), ((I, f) => {
|
|
5303
5309
|
const y = !!I;
|
|
5304
5310
|
ne(() => {
|
|
5305
|
-
if (
|
|
5311
|
+
if (f) return;
|
|
5306
5312
|
const p = document.getElementById(Uo);
|
|
5307
5313
|
if (y && !p) {
|
|
5308
5314
|
document.documentElement.classList.add(Tn);
|
|
@@ -5321,34 +5327,34 @@ const cg = () => {
|
|
|
5321
5327
|
const C = document.getElementById(Uo);
|
|
5322
5328
|
document.documentElement.classList.remove(Tn), C == null || C.remove();
|
|
5323
5329
|
}
|
|
5324
|
-
}, [I, y,
|
|
5325
|
-
})(
|
|
5330
|
+
}, [I, y, f]);
|
|
5331
|
+
})(h.letterSpacing, v), ((I, f) => {
|
|
5326
5332
|
const { lineHeight: y, isLineHeight: p } = I;
|
|
5327
5333
|
ne(() => {
|
|
5328
|
-
if (
|
|
5334
|
+
if (f) return;
|
|
5329
5335
|
const C = document.getElementById(Qo);
|
|
5330
5336
|
if (p && !C) {
|
|
5331
5337
|
document.documentElement.classList.add(On);
|
|
5332
|
-
const
|
|
5333
|
-
|
|
5338
|
+
const A = document.createElement("style");
|
|
5339
|
+
A.id = Qo, A.innerHTML = `
|
|
5334
5340
|
html.${On} *:not(#${we} *), *:not(#${we} *) {
|
|
5335
5341
|
line-height:${y.toFixed(1)} !important
|
|
5336
5342
|
}
|
|
5337
|
-
`, document.head.appendChild(
|
|
5343
|
+
`, document.head.appendChild(A);
|
|
5338
5344
|
} else if (p && C) C.innerHTML = `
|
|
5339
5345
|
html.${On} *:not(#${we} *), *:not(#${we} *) {
|
|
5340
5346
|
line-height:${y.toFixed(1)} !important
|
|
5341
5347
|
}
|
|
5342
5348
|
`;
|
|
5343
5349
|
else if (!p && C) {
|
|
5344
|
-
const
|
|
5345
|
-
document.documentElement.classList.remove(On),
|
|
5350
|
+
const A = document.getElementById(Qo);
|
|
5351
|
+
document.documentElement.classList.remove(On), A == null || A.remove();
|
|
5346
5352
|
}
|
|
5347
|
-
}, [y, p,
|
|
5348
|
-
})(
|
|
5353
|
+
}, [y, p, f]);
|
|
5354
|
+
})(h.lineHeight, v), ((I, f) => {
|
|
5349
5355
|
const y = !!I;
|
|
5350
5356
|
ne(() => {
|
|
5351
|
-
if (
|
|
5357
|
+
if (f) return;
|
|
5352
5358
|
const p = document.getElementById(Ko);
|
|
5353
5359
|
if (y && !p) {
|
|
5354
5360
|
document.documentElement.classList.add(zn);
|
|
@@ -5367,21 +5373,21 @@ const cg = () => {
|
|
|
5367
5373
|
const C = document.getElementById(Ko);
|
|
5368
5374
|
document.documentElement.classList.remove(zn), C == null || C.remove();
|
|
5369
5375
|
}
|
|
5370
|
-
}, [I, y,
|
|
5371
|
-
})(
|
|
5376
|
+
}, [I, y, f]);
|
|
5377
|
+
})(h.wordSpacing, v), ((I, f) => {
|
|
5372
5378
|
const { zoom: y, isZoom: p } = I;
|
|
5373
5379
|
ne(() => {
|
|
5374
|
-
if (
|
|
5380
|
+
if (f) return;
|
|
5375
5381
|
const C = document.getElementById(qo);
|
|
5376
5382
|
if (p && !C) {
|
|
5377
5383
|
document.documentElement.classList.add(Xn);
|
|
5378
|
-
const
|
|
5379
|
-
|
|
5384
|
+
const A = document.createElement("style");
|
|
5385
|
+
A.id = qo, A.innerHTML = `
|
|
5380
5386
|
html.${Xn} body *:not(#${we}, #${we} *) {
|
|
5381
5387
|
zoom: ${y.toFixed(1)} !important;
|
|
5382
5388
|
}
|
|
5383
5389
|
}
|
|
5384
|
-
`, document.head.appendChild(
|
|
5390
|
+
`, document.head.appendChild(A);
|
|
5385
5391
|
} else if (p && C) C.innerHTML = `
|
|
5386
5392
|
html.${Xn} body *:not(#${we}, #${we} *) {
|
|
5387
5393
|
zoom: ${y.toFixed(1)} !important;
|
|
@@ -5389,13 +5395,13 @@ const cg = () => {
|
|
|
5389
5395
|
}
|
|
5390
5396
|
`;
|
|
5391
5397
|
else if (!p && C) {
|
|
5392
|
-
const
|
|
5393
|
-
document.documentElement.classList.remove(Xn),
|
|
5398
|
+
const A = document.getElementById(qo);
|
|
5399
|
+
document.documentElement.classList.remove(Xn), A == null || A.remove();
|
|
5394
5400
|
}
|
|
5395
|
-
}, [y, p,
|
|
5396
|
-
})(
|
|
5401
|
+
}, [y, p, f]);
|
|
5402
|
+
})(h.zoom, v), hc(h.isBigCursor, v), fc(h.showReadingGuide, 100, v), ((I, f) => {
|
|
5397
5403
|
ne(() => {
|
|
5398
|
-
if (!
|
|
5404
|
+
if (!f) {
|
|
5399
5405
|
const y = document.getElementById(Ka);
|
|
5400
5406
|
if (I && !y) {
|
|
5401
5407
|
document.documentElement.classList.add(er);
|
|
@@ -5411,10 +5417,10 @@ const cg = () => {
|
|
|
5411
5417
|
`, document.head.appendChild(p);
|
|
5412
5418
|
} else !I && y && (document.documentElement.classList.remove(er), y == null || y.remove());
|
|
5413
5419
|
}
|
|
5414
|
-
}, [I,
|
|
5415
|
-
})(
|
|
5420
|
+
}, [I, f]);
|
|
5421
|
+
})(h.isBlueLightFilter, v), ((I, f) => {
|
|
5416
5422
|
ne(() => {
|
|
5417
|
-
if (!
|
|
5423
|
+
if (!f) {
|
|
5418
5424
|
if (I) {
|
|
5419
5425
|
document.documentElement.classList.add(tr);
|
|
5420
5426
|
const y = document.createElement("style");
|
|
@@ -5433,10 +5439,10 @@ const cg = () => {
|
|
|
5433
5439
|
document.documentElement.classList.remove(tr), y == null || y.remove();
|
|
5434
5440
|
};
|
|
5435
5441
|
}
|
|
5436
|
-
}, [I,
|
|
5437
|
-
})(
|
|
5442
|
+
}, [I, f]);
|
|
5443
|
+
})(h.isDarkContrast, v), ((I, f) => {
|
|
5438
5444
|
ne(() => {
|
|
5439
|
-
if (!
|
|
5445
|
+
if (!f) {
|
|
5440
5446
|
if (I) {
|
|
5441
5447
|
document.documentElement.classList.add(nr);
|
|
5442
5448
|
const y = document.createElement("style");
|
|
@@ -5455,10 +5461,10 @@ const cg = () => {
|
|
|
5455
5461
|
document.documentElement.classList.remove(nr), y == null || y.remove();
|
|
5456
5462
|
};
|
|
5457
5463
|
}
|
|
5458
|
-
}, [I,
|
|
5459
|
-
})(
|
|
5464
|
+
}, [I, f]);
|
|
5465
|
+
})(h.isLightContrast, v), ((I, f) => {
|
|
5460
5466
|
ne(() => {
|
|
5461
|
-
if (!
|
|
5467
|
+
if (!f) {
|
|
5462
5468
|
if (I) {
|
|
5463
5469
|
document.documentElement.classList.add(or);
|
|
5464
5470
|
const y = document.createElement("style");
|
|
@@ -5477,10 +5483,10 @@ const cg = () => {
|
|
|
5477
5483
|
document.documentElement.classList.remove(or), y == null || y.remove();
|
|
5478
5484
|
};
|
|
5479
5485
|
}
|
|
5480
|
-
}, [I,
|
|
5481
|
-
})(
|
|
5486
|
+
}, [I, f]);
|
|
5487
|
+
})(h.isVisualImpairment, v), ((I, f) => {
|
|
5482
5488
|
ne(() => {
|
|
5483
|
-
if (!
|
|
5489
|
+
if (!f) {
|
|
5484
5490
|
if (I) {
|
|
5485
5491
|
document.documentElement.classList.add(rr);
|
|
5486
5492
|
const y = document.createElement("style");
|
|
@@ -5499,8 +5505,8 @@ const cg = () => {
|
|
|
5499
5505
|
document.documentElement.classList.remove(rr), y == null || y.remove();
|
|
5500
5506
|
};
|
|
5501
5507
|
}
|
|
5502
|
-
}, [I,
|
|
5503
|
-
})(
|
|
5508
|
+
}, [I, f]);
|
|
5509
|
+
})(h.isMonochrome, v), ((I, f, y) => {
|
|
5504
5510
|
ne(() => {
|
|
5505
5511
|
if (y) return;
|
|
5506
5512
|
const p = document.getElementById(os);
|
|
@@ -5509,24 +5515,24 @@ const cg = () => {
|
|
|
5509
5515
|
const C = document.createElement("style");
|
|
5510
5516
|
C.id = os, C.innerHTML = `
|
|
5511
5517
|
html.${Hn} {
|
|
5512
|
-
-o-filter: contrast(${
|
|
5513
|
-
-ms-filter: contrast(${
|
|
5514
|
-
-moz-filter: contrast(${
|
|
5515
|
-
-webkit-filter: contrast(${
|
|
5516
|
-
filter: contrast(${
|
|
5518
|
+
-o-filter: contrast(${f}%) !important;
|
|
5519
|
+
-ms-filter: contrast(${f}%) !important;
|
|
5520
|
+
-moz-filter: contrast(${f}%) !important;
|
|
5521
|
+
-webkit-filter: contrast(${f}%) !important;
|
|
5522
|
+
filter: contrast(${f}%) !important;
|
|
5517
5523
|
}
|
|
5518
5524
|
`, document.head.appendChild(C);
|
|
5519
5525
|
} else I && p ? p.innerHTML = `
|
|
5520
5526
|
html.${Hn} {
|
|
5521
|
-
-o-filter: contrast(${
|
|
5522
|
-
-ms-filter: contrast(${
|
|
5523
|
-
-moz-filter: contrast(${
|
|
5524
|
-
-webkit-filter: contrast(${
|
|
5525
|
-
filter: contrast(${
|
|
5527
|
+
-o-filter: contrast(${f}%) !important;
|
|
5528
|
+
-ms-filter: contrast(${f}%) !important;
|
|
5529
|
+
-moz-filter: contrast(${f}%) !important;
|
|
5530
|
+
-webkit-filter: contrast(${f}%) !important;
|
|
5531
|
+
filter: contrast(${f}%) !important;
|
|
5526
5532
|
}
|
|
5527
5533
|
` : !I && p && (document.documentElement.classList.remove(Hn), p == null || p.remove());
|
|
5528
|
-
}, [I,
|
|
5529
|
-
})(
|
|
5534
|
+
}, [I, f, y]);
|
|
5535
|
+
})(h.highContrast.isHighContrast, h.highContrast.contrast, v), ((I, f, y) => {
|
|
5530
5536
|
ne(() => {
|
|
5531
5537
|
if (y) return;
|
|
5532
5538
|
const p = document.getElementById(rs);
|
|
@@ -5535,107 +5541,107 @@ const cg = () => {
|
|
|
5535
5541
|
const C = document.createElement("style");
|
|
5536
5542
|
C.id = rs, C.innerHTML = `
|
|
5537
5543
|
html.${Pn} {
|
|
5538
|
-
-o-filter: brightness(${
|
|
5539
|
-
-ms-filter: brightness(${
|
|
5540
|
-
-moz-filter: brightness(${
|
|
5541
|
-
-webkit-filter: brightness(${
|
|
5542
|
-
filter: brightness(${
|
|
5544
|
+
-o-filter: brightness(${f}%) !important;
|
|
5545
|
+
-ms-filter: brightness(${f}%) !important;
|
|
5546
|
+
-moz-filter: brightness(${f}%) !important;
|
|
5547
|
+
-webkit-filter: brightness(${f}%) !important;
|
|
5548
|
+
filter: brightness(${f}%) !important;
|
|
5543
5549
|
}
|
|
5544
5550
|
`, document.head.appendChild(C);
|
|
5545
5551
|
} else I && p ? p.innerHTML = `
|
|
5546
5552
|
html.${Pn} {
|
|
5547
|
-
-o-filter: brightness(${
|
|
5548
|
-
-ms-filter: brightness(${
|
|
5549
|
-
-moz-filter: brightness(${
|
|
5550
|
-
-webkit-filter: brightness(${
|
|
5551
|
-
filter: brightness(${
|
|
5553
|
+
-o-filter: brightness(${f}%) !important;
|
|
5554
|
+
-ms-filter: brightness(${f}%) !important;
|
|
5555
|
+
-moz-filter: brightness(${f}%) !important;
|
|
5556
|
+
-webkit-filter: brightness(${f}%) !important;
|
|
5557
|
+
filter: brightness(${f}%) !important;
|
|
5552
5558
|
}
|
|
5553
5559
|
` : !I && p && (document.documentElement.classList.remove(Pn), p == null || p.remove());
|
|
5554
|
-
}, [I,
|
|
5555
|
-
})(
|
|
5560
|
+
}, [I, f, y]);
|
|
5561
|
+
})(h.brightness.isBrightness, h.brightness.brightness, v), ((I, f, y) => {
|
|
5556
5562
|
ne(() => {
|
|
5557
5563
|
if (y) return;
|
|
5558
5564
|
const p = document.getElementById(is);
|
|
5559
5565
|
if (I && !p) {
|
|
5560
|
-
document.documentElement.classList.add(
|
|
5566
|
+
document.documentElement.classList.add(Fn);
|
|
5561
5567
|
const C = document.createElement("style");
|
|
5562
5568
|
C.id = is, C.innerHTML = `
|
|
5563
|
-
html.${
|
|
5564
|
-
-o-filter: saturate(${
|
|
5565
|
-
-ms-filter: saturate(${
|
|
5566
|
-
-moz-filter: saturate(${
|
|
5567
|
-
-webkit-filter: saturate(${
|
|
5568
|
-
filter: saturate(${
|
|
5569
|
+
html.${Fn} {
|
|
5570
|
+
-o-filter: saturate(${f}%) !important;
|
|
5571
|
+
-ms-filter: saturate(${f}%) !important;
|
|
5572
|
+
-moz-filter: saturate(${f}%) !important;
|
|
5573
|
+
-webkit-filter: saturate(${f}%) !important;
|
|
5574
|
+
filter: saturate(${f}%) !important;
|
|
5569
5575
|
}
|
|
5570
5576
|
`, document.head.appendChild(C);
|
|
5571
5577
|
} else I && p ? p.innerHTML = `
|
|
5572
|
-
html.${
|
|
5573
|
-
-o-filter: saturate(${
|
|
5574
|
-
-ms-filter: saturate(${
|
|
5575
|
-
-moz-filter: saturate(${
|
|
5576
|
-
-webkit-filter: saturate(${
|
|
5577
|
-
filter: saturate(${
|
|
5578
|
+
html.${Fn} {
|
|
5579
|
+
-o-filter: saturate(${f}%) !important;
|
|
5580
|
+
-ms-filter: saturate(${f}%) !important;
|
|
5581
|
+
-moz-filter: saturate(${f}%) !important;
|
|
5582
|
+
-webkit-filter: saturate(${f}%) !important;
|
|
5583
|
+
filter: saturate(${f}%) !important;
|
|
5578
5584
|
}
|
|
5579
|
-
` : !I && p && (document.documentElement.classList.remove(
|
|
5580
|
-
}, [I,
|
|
5581
|
-
})(
|
|
5585
|
+
` : !I && p && (document.documentElement.classList.remove(Fn), p == null || p.remove());
|
|
5586
|
+
}, [I, f, y]);
|
|
5587
|
+
})(h.highSaturation.isHighSaturation, h.highSaturation.saturation, v), ((I, f, y) => {
|
|
5582
5588
|
ne(() => {
|
|
5583
5589
|
if (y) return;
|
|
5584
5590
|
const p = document.getElementById(as);
|
|
5585
5591
|
if (I && !p) {
|
|
5586
|
-
document.documentElement.classList.add(
|
|
5592
|
+
document.documentElement.classList.add(jn);
|
|
5587
5593
|
const C = document.createElement("style");
|
|
5588
5594
|
C.id = as, C.innerHTML = `
|
|
5589
|
-
html.${
|
|
5590
|
-
-o-filter: saturate(${
|
|
5591
|
-
-ms-filter: saturate(${
|
|
5592
|
-
-moz-filter: saturate(${
|
|
5593
|
-
-webkit-filter: saturate(${
|
|
5594
|
-
filter: saturate(${
|
|
5595
|
+
html.${jn} {
|
|
5596
|
+
-o-filter: saturate(${f}%) !important;
|
|
5597
|
+
-ms-filter: saturate(${f}%) !important;
|
|
5598
|
+
-moz-filter: saturate(${f}%) !important;
|
|
5599
|
+
-webkit-filter: saturate(${f}%) !important;
|
|
5600
|
+
filter: saturate(${f}%) !important;
|
|
5595
5601
|
}
|
|
5596
5602
|
`, document.head.appendChild(C);
|
|
5597
5603
|
} else I && p ? p.innerHTML = `
|
|
5598
|
-
html.${
|
|
5599
|
-
-o-filter: saturate(${
|
|
5600
|
-
-ms-filter: saturate(${
|
|
5601
|
-
-moz-filter: saturate(${
|
|
5602
|
-
-webkit-filter: saturate(${
|
|
5603
|
-
filter: saturate(${
|
|
5604
|
+
html.${jn} {
|
|
5605
|
+
-o-filter: saturate(${f}%) !important;
|
|
5606
|
+
-ms-filter: saturate(${f}%) !important;
|
|
5607
|
+
-moz-filter: saturate(${f}%) !important;
|
|
5608
|
+
-webkit-filter: saturate(${f}%) !important;
|
|
5609
|
+
filter: saturate(${f}%) !important;
|
|
5604
5610
|
}
|
|
5605
|
-
` : !I && p && (document.documentElement.classList.remove(
|
|
5606
|
-
}, [I,
|
|
5607
|
-
})(
|
|
5608
|
-
const y = St(() => xt.reduce((C,
|
|
5609
|
-
const
|
|
5610
|
-
return C + `html.${ir} ${
|
|
5611
|
+
` : !I && p && (document.documentElement.classList.remove(jn), p == null || p.remove());
|
|
5612
|
+
}, [I, f, y]);
|
|
5613
|
+
})(h.lowSaturation.isLowSaturation, h.lowSaturation.saturation, v), ((I, f) => {
|
|
5614
|
+
const y = St(() => xt.reduce((C, A, B) => {
|
|
5615
|
+
const F = xt.length - 1;
|
|
5616
|
+
return C + `html.${ir} ${A}:not(#${we} *)${B === F ? "" : ","}`;
|
|
5611
5617
|
}, ""), []), p = xt.map((C) => `${C}:not(#${we} *)`).join(",");
|
|
5612
5618
|
ne(() => {
|
|
5613
|
-
if (
|
|
5619
|
+
if (f) return;
|
|
5614
5620
|
const C = document.getElementById(ss);
|
|
5615
5621
|
if (I && !C) {
|
|
5616
5622
|
document.documentElement.classList.add(ir);
|
|
5617
|
-
const
|
|
5618
|
-
|
|
5623
|
+
const A = document.createElement("style");
|
|
5624
|
+
A.id = ss, A.innerHTML = `
|
|
5619
5625
|
${y},${p} {
|
|
5620
5626
|
color: ${I} !important;
|
|
5621
5627
|
}
|
|
5622
|
-
`, document.head.appendChild(
|
|
5628
|
+
`, document.head.appendChild(A);
|
|
5623
5629
|
} else I && C ? C.innerHTML = `
|
|
5624
5630
|
${y},${p} {
|
|
5625
5631
|
color: ${I} !important;
|
|
5626
5632
|
}
|
|
5627
5633
|
` : !I && C && (document.documentElement.classList.remove(ir), C == null || C.remove());
|
|
5628
|
-
}, [I, p, y,
|
|
5629
|
-
})(
|
|
5634
|
+
}, [I, p, y, f]);
|
|
5635
|
+
})(h.color, v);
|
|
5630
5636
|
})({ accState: c, isGettingReady: d, nodeListUpdated: s });
|
|
5631
|
-
const b = og.includes(c.language) ? "rtl" : "ltr",
|
|
5632
|
-
g((
|
|
5637
|
+
const b = og.includes(c.language) ? "rtl" : "ltr", m = () => {
|
|
5638
|
+
g((h) => !h);
|
|
5633
5639
|
};
|
|
5634
5640
|
return Pe(() => {
|
|
5635
|
-
const
|
|
5636
|
-
Promise.all(
|
|
5637
|
-
$a.forEach((I,
|
|
5638
|
-
v[I.lang] = { translation: S[
|
|
5641
|
+
const h = $a.map((S) => (async (I) => (await fetch(I)).json())(`https://rosengray.github.io/static/locale/${S.name}.json`)), v = {};
|
|
5642
|
+
Promise.all(h).then((S) => {
|
|
5643
|
+
$a.forEach((I, f) => {
|
|
5644
|
+
v[I.lang] = { translation: S[f] };
|
|
5639
5645
|
}), ye.init({ fallbackLng: "he-IL", resources: v }), ye.languages = ng, n(!0);
|
|
5640
5646
|
}).catch(() => {
|
|
5641
5647
|
ye.init({ fallbackLng: "en", resources: { en: { translation: rg } } });
|
|
@@ -5648,17 +5654,17 @@ const cg = () => {
|
|
|
5648
5654
|
}
|
|
5649
5655
|
})();
|
|
5650
5656
|
});
|
|
5651
|
-
}, []), d ?
|
|
5652
|
-
ye.changeLanguage(
|
|
5657
|
+
}, []), d ? w.jsx(Si, { showSpinner: d }) : w.jsxs(w.Fragment, { children: [w.jsx(_a, { wrapperElementId: "acc-portal-[readingGuide-container]", children: "." }), w.jsx(_a, { wrapperElementId: we, children: w.jsxs("div", { id: sn, style: { direction: b, fontSize: 50 }, className: Hc.Accessibilik, "data-acc-language": c.language, children: [w.jsx(Si, { onShow: m }), w.jsx(Jd, { display: u ? "block" : "none", showAcc: u, accState: c, onLangChange: (h) => {
|
|
5658
|
+
ye.changeLanguage(h, () => {
|
|
5653
5659
|
l((v) => hr(v, (S) => {
|
|
5654
|
-
S.language =
|
|
5660
|
+
S.language = h;
|
|
5655
5661
|
}));
|
|
5656
5662
|
});
|
|
5657
|
-
}, onChangeAccState: (
|
|
5658
|
-
l((v) => hr(v,
|
|
5663
|
+
}, onChangeAccState: (h) => {
|
|
5664
|
+
l((v) => hr(v, h));
|
|
5659
5665
|
}, onInit: () => {
|
|
5660
5666
|
l(Pa());
|
|
5661
|
-
}, onShow:
|
|
5667
|
+
}, onShow: m, hasLanguages: o })] }) })] });
|
|
5662
5668
|
};
|
|
5663
5669
|
export {
|
|
5664
5670
|
cg as A
|