jcicl 0.0.118 → 0.0.122
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/.chunks/ButtonBase.js +1 -1
- package/.chunks/DefaultPropsProvider.js +74 -76
- package/.chunks/Input.js +487 -472
- package/.chunks/Portal.js +15 -15
- package/.chunks/TransitionGroupContext.js +6 -6
- package/AppContainer/AppContainer.d.ts +9 -3
- package/AppContainer/AppContainer.js +674 -1284
- package/AppHeader/AppHeader.d.ts +5 -0
- package/AppHeader/AppHeader.js +109 -98
- package/Avatar/index.d.ts +1 -1
- package/Button/Button.js +55 -54
- package/Flex/Flex.d.ts +1 -1
- package/Input/Input.d.ts +3 -0
- package/Nav/Nav.d.ts +4 -12
- package/Nav/Nav.js +90 -48
- package/Nav/index.d.ts +1 -1
- package/ScrollContainer/ScrollContainer.d.ts +1 -0
- package/ScrollContainer/ScrollContainer.js +362 -359
- package/Tooltip/Tooltip.js +1 -1
- package/package.json +1 -1
- package/theme.d.ts +17 -0
- package/theme.js +14 -9
|
@@ -1,987 +1,199 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import * as
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import { u as
|
|
16
|
-
import { m as
|
|
17
|
-
import { g as
|
|
18
|
-
import { c as
|
|
19
|
-
import {
|
|
20
|
-
function
|
|
21
|
-
const [
|
|
22
|
-
return
|
|
1
|
+
import { jsx as a, jsxs as P, Fragment as he } from "react/jsx-runtime";
|
|
2
|
+
import * as w from "react";
|
|
3
|
+
import { useState as Y } from "react";
|
|
4
|
+
import { c as q } from "../.chunks/createSvgIcon.js";
|
|
5
|
+
import { n as y, i as ee } from "../.chunks/emotion-styled.browser.esm.js";
|
|
6
|
+
import { c as H } from "../.chunks/emotion-react.browser.esm.js";
|
|
7
|
+
import Oe from "../AppHeader/AppHeader.js";
|
|
8
|
+
import { Nav as V } from "../Nav/Nav.js";
|
|
9
|
+
import ie from "../ScrollContainer/ScrollContainer.js";
|
|
10
|
+
import { Button as K } from "../Button/Button.js";
|
|
11
|
+
import i from "../theme.js";
|
|
12
|
+
import { l as Ie } from "../.chunks/jocologo.js";
|
|
13
|
+
import { X as Be } from "../.chunks/Close.js";
|
|
14
|
+
import { P as n, g as Ae, a as je, s as ae, r as Ue, c as Z, u as Ve, b as _, d as Fe } from "../.chunks/DefaultPropsProvider.js";
|
|
15
|
+
import { u as We, e as Xe, H as Ge, a as we, g as Qe, T as Ye, r as _e, b as ue, c as Je } from "../.chunks/Portal.js";
|
|
16
|
+
import { m as ye } from "../.chunks/memoTheme.js";
|
|
17
|
+
import { g as Ke, o as ke, d as Ze, M as qe, P as eo, i as oo } from "../.chunks/Input.js";
|
|
18
|
+
import { c as to } from "../.chunks/chainPropTypes.js";
|
|
19
|
+
import { u as ro, a as no } from "../.chunks/TransitionGroupContext.js";
|
|
20
|
+
function io(e, o, r, t, c) {
|
|
21
|
+
const [f, u] = w.useState(() => c && r ? r(e).matches : t ? t(e).matches : o);
|
|
22
|
+
return ro(() => {
|
|
23
23
|
if (!r)
|
|
24
24
|
return;
|
|
25
|
-
const
|
|
26
|
-
h
|
|
25
|
+
const h = r(e), l = () => {
|
|
26
|
+
u(h.matches);
|
|
27
27
|
};
|
|
28
|
-
return
|
|
29
|
-
|
|
28
|
+
return l(), h.addEventListener("change", l), () => {
|
|
29
|
+
h.removeEventListener("change", l);
|
|
30
30
|
};
|
|
31
|
-
}, [
|
|
31
|
+
}, [e, r]), f;
|
|
32
32
|
}
|
|
33
|
-
const
|
|
34
|
-
...
|
|
35
|
-
},
|
|
36
|
-
function
|
|
37
|
-
const
|
|
38
|
-
if (
|
|
39
|
-
return () => r(
|
|
40
|
-
if (
|
|
33
|
+
const ao = {
|
|
34
|
+
...w
|
|
35
|
+
}, Ce = ao.useSyncExternalStore;
|
|
36
|
+
function so(e, o, r, t, c) {
|
|
37
|
+
const f = w.useCallback(() => o, [o]), u = w.useMemo(() => {
|
|
38
|
+
if (c && r)
|
|
39
|
+
return () => r(e).matches;
|
|
40
|
+
if (t !== null) {
|
|
41
41
|
const {
|
|
42
|
-
matches:
|
|
43
|
-
} =
|
|
44
|
-
return () =>
|
|
42
|
+
matches: p
|
|
43
|
+
} = t(e);
|
|
44
|
+
return () => p;
|
|
45
45
|
}
|
|
46
|
-
return
|
|
47
|
-
}, [
|
|
46
|
+
return f;
|
|
47
|
+
}, [f, e, t, c, r]), [h, l] = w.useMemo(() => {
|
|
48
48
|
if (r === null)
|
|
49
|
-
return [
|
|
49
|
+
return [f, () => () => {
|
|
50
50
|
}];
|
|
51
|
-
const
|
|
52
|
-
return [() =>
|
|
53
|
-
|
|
51
|
+
const p = r(e);
|
|
52
|
+
return [() => p.matches, (M) => (p.addEventListener("change", M), () => {
|
|
53
|
+
p.removeEventListener("change", M);
|
|
54
54
|
})];
|
|
55
|
-
}, [
|
|
56
|
-
return
|
|
55
|
+
}, [f, r, e]);
|
|
56
|
+
return Ce(l, h, u);
|
|
57
57
|
}
|
|
58
|
-
function
|
|
59
|
-
const r =
|
|
60
|
-
defaultMatches:
|
|
61
|
-
matchMedia:
|
|
62
|
-
ssrMatchMedia:
|
|
63
|
-
noSsr:
|
|
64
|
-
} =
|
|
58
|
+
function fe(e, o = {}) {
|
|
59
|
+
const r = We(), t = typeof window < "u" && typeof window.matchMedia < "u", {
|
|
60
|
+
defaultMatches: c = !1,
|
|
61
|
+
matchMedia: f = t ? window.matchMedia : null,
|
|
62
|
+
ssrMatchMedia: u = null,
|
|
63
|
+
noSsr: h = !1
|
|
64
|
+
} = Ke({
|
|
65
65
|
name: "MuiUseMediaQuery",
|
|
66
|
-
props:
|
|
66
|
+
props: o,
|
|
67
67
|
theme: r
|
|
68
68
|
});
|
|
69
|
-
process.env.NODE_ENV !== "production" && typeof
|
|
69
|
+
process.env.NODE_ENV !== "production" && typeof e == "function" && r === null && console.error(["MUI: The `query` argument provided is invalid.", "You are providing a function without a theme in the context.", "One of the parent elements needs to use a ThemeProvider."].join(`
|
|
70
70
|
`));
|
|
71
|
-
let
|
|
72
|
-
|
|
73
|
-
const
|
|
74
|
-
return process.env.NODE_ENV !== "production" &&
|
|
75
|
-
query:
|
|
76
|
-
match:
|
|
77
|
-
}),
|
|
71
|
+
let l = typeof e == "function" ? e(r) : e;
|
|
72
|
+
l = l.replace(/^@media( ?)/m, "");
|
|
73
|
+
const p = (Ce !== void 0 ? so : io)(l, c, f, u, h);
|
|
74
|
+
return process.env.NODE_ENV !== "production" && w.useDebugValue({
|
|
75
|
+
query: l,
|
|
76
|
+
match: p
|
|
77
|
+
}), p;
|
|
78
78
|
}
|
|
79
|
-
|
|
80
|
-
(
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
for (var M in x)
|
|
85
|
-
O[M] && O[M].length % 2 === 0 ? v[M] = O[M].concat(x[M]) : v[M] = x[M];
|
|
86
|
-
return v;
|
|
87
|
-
}, Pe = function(x) {
|
|
88
|
-
for (var O = {}, v = 0; v < x.length; v++)
|
|
89
|
-
O[x[v].toUpperCase()] = x[v];
|
|
90
|
-
return O;
|
|
91
|
-
}, nr = function(x, O) {
|
|
92
|
-
return typeof x === E ? we(O).indexOf(we(x)) !== -1 : !1;
|
|
93
|
-
}, we = function(x) {
|
|
94
|
-
return x.toLowerCase();
|
|
95
|
-
}, Ti = function(x) {
|
|
96
|
-
return typeof x === E ? x.replace(/[^\d\.]/g, u).split(".")[0] : n;
|
|
97
|
-
}, Ue = function(x, O) {
|
|
98
|
-
if (typeof x === E)
|
|
99
|
-
return x = x.replace(/^\s\s*/, u), typeof O === T ? x : x.substring(0, ne);
|
|
100
|
-
}, Te = function(x, O) {
|
|
101
|
-
for (var v = 0, M, oe, J, k, w, ee; v < O.length && !w; ) {
|
|
102
|
-
var _e = O[v], ar = O[v + 1];
|
|
103
|
-
for (M = oe = 0; M < _e.length && !w && _e[M]; )
|
|
104
|
-
if (w = _e[M++].exec(x), w)
|
|
105
|
-
for (J = 0; J < ar.length; J++)
|
|
106
|
-
ee = w[++oe], k = ar[J], typeof k === I && k.length > 0 ? k.length === 2 ? typeof k[1] == g ? this[k[0]] = k[1].call(this, ee) : this[k[0]] = k[1] : k.length === 3 ? typeof k[1] === g && !(k[1].exec && k[1].test) ? this[k[0]] = ee ? k[1].call(this, ee, k[2]) : n : this[k[0]] = ee ? ee.replace(k[1], k[2]) : n : k.length === 4 && (this[k[0]] = ee ? k[3].call(this, ee.replace(k[1], k[2])) : n) : this[k] = ee || n;
|
|
107
|
-
v += 2;
|
|
108
|
-
}
|
|
109
|
-
}, Ce = function(x, O) {
|
|
110
|
-
for (var v in O)
|
|
111
|
-
if (typeof O[v] === I && O[v].length > 0) {
|
|
112
|
-
for (var M = 0; M < O[v].length; M++)
|
|
113
|
-
if (nr(O[v][M], x))
|
|
114
|
-
return v === h ? n : v;
|
|
115
|
-
} else if (nr(O[v], x))
|
|
116
|
-
return v === h ? n : v;
|
|
117
|
-
return O.hasOwnProperty("*") ? O["*"] : x;
|
|
118
|
-
}, Ei = { "1.0": "/8", 1.2: "/1", 1.3: "/3", "2.0": "/412", "2.0.2": "/416", "2.0.3": "/417", "2.0.4": "/419", "?": "/" }, tr = { ME: "4.90", "NT 3.11": "NT3.51", "NT 4.0": "NT4.0", 2e3: "NT 5.0", XP: ["NT 5.1", "NT 5.2"], Vista: "NT 6.0", 7: "NT 6.1", 8: "NT 6.2", 8.1: "NT 6.3", 10: ["NT 6.4", "NT 10.0"], RT: "ARM" }, or = { browser: [[/\b(?:crmo|crios)\/([\w\.]+)/i], [c, [l, "Chrome"]], [/edg(?:e|ios|a)?\/([\w\.]+)/i], [c, [l, "Edge"]], [/(opera mini)\/([-\w\.]+)/i, /(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i, /(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i], [l, c], [/opios[\/ ]+([\w\.]+)/i], [c, [l, de + " Mini"]], [/\bop(?:rg)?x\/([\w\.]+)/i], [c, [l, de + " GX"]], [/\bopr\/([\w\.]+)/i], [c, [l, de]], [/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i], [c, [l, "Baidu"]], [/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i], [c, [l, "Maxthon"]], [/(kindle)\/([\w\.]+)/i, /(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i, /(avant|iemobile|slim(?:browser|boat|jet))[\/ ]?([\d\.]*)/i, /(?:ms|\()(ie) ([\w\.]+)/i, /(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio|(?=comodo_)?dragon)\/([-\w\.]+)/i, /(heytap|ovi|115)browser\/([\d\.]+)/i, /(weibo)__([\d\.]+)/i], [l, c], [/quark(?:pc)?\/([-\w\.]+)/i], [c, [l, "Quark"]], [/\bddg\/([\w\.]+)/i], [c, [l, "DuckDuckGo"]], [/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i], [c, [l, "UC" + Y]], [/microm.+\bqbcore\/([\w\.]+)/i, /\bqbcore\/([\w\.]+).+microm/i, /micromessenger\/([\w\.]+)/i], [c, [l, "WeChat"]], [/konqueror\/([\w\.]+)/i], [c, [l, "Konqueror"]], [/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i], [c, [l, "IE"]], [/ya(?:search)?browser\/([\w\.]+)/i], [c, [l, "Yandex"]], [/slbrowser\/([\w\.]+)/i], [c, [l, "Smart Lenovo " + Y]], [/(avast|avg)\/([\w\.]+)/i], [[l, /(.+)/, "$1 Secure " + Y], c], [/\bfocus\/([\w\.]+)/i], [c, [l, ae + " Focus"]], [/\bopt\/([\w\.]+)/i], [c, [l, de + " Touch"]], [/coc_coc\w+\/([\w\.]+)/i], [c, [l, "Coc Coc"]], [/dolfin\/([\w\.]+)/i], [c, [l, "Dolphin"]], [/coast\/([\w\.]+)/i], [c, [l, de + " Coast"]], [/miuibrowser\/([\w\.]+)/i], [c, [l, "MIUI" + ir]], [/fxios\/([\w\.-]+)/i], [c, [l, ae]], [/\bqihoobrowser\/?([\w\.]*)/i], [c, [l, "360"]], [/\b(qq)\/([\w\.]+)/i], [[l, /(.+)/, "$1Browser"], c], [/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i], [[l, /(.+)/, "$1" + ir], c], [/samsungbrowser\/([\w\.]+)/i], [c, [l, me + " Internet"]], [/metasr[\/ ]?([\d\.]+)/i], [c, [l, "Sogou Explorer"]], [/(sogou)mo\w+\/([\d\.]+)/i], [[l, "Sogou Mobile"], c], [/(electron)\/([\w\.]+) safari/i, /(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i, /m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i], [l, c], [/(lbbrowser|rekonq)/i, /\[(linkedin)app\]/i], [l], [/ome\/([\w\.]+) \w* ?(iron) saf/i, /ome\/([\w\.]+).+qihu (360)[es]e/i], [c, l], [/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i], [[l, Je], c], [/(Klarna)\/([\w\.]+)/i, /(kakao(?:talk|story))[\/ ]([\w\.]+)/i, /(naver)\(.*?(\d+\.[\w\.]+).*\)/i, /safari (line)\/([\w\.]+)/i, /\b(line)\/([\w\.]+)\/iab/i, /(alipay)client\/([\w\.]+)/i, /(twitter)(?:and| f.+e\/([\w\.]+))/i, /(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i], [l, c], [/\bgsa\/([\w\.]+) .*safari\//i], [c, [l, "GSA"]], [/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i], [c, [l, "TikTok"]], [/headlesschrome(?:\/([\w\.]+)| )/i], [c, [l, te + " Headless"]], [/ wv\).+(chrome)\/([\w\.]+)/i], [[l, te + " WebView"], c], [/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i], [c, [l, "Android " + Y]], [/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i], [l, c], [/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i], [c, [l, "Mobile Safari"]], [/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i], [c, l], [/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i], [l, [c, Ce, Ei]], [/(webkit|khtml)\/([\w\.]+)/i], [l, c], [/(navigator|netscape\d?)\/([-\w\.]+)/i], [[l, "Netscape"], c], [/(wolvic|librewolf)\/([\w\.]+)/i], [l, c], [/mobile vr; rv:([\w\.]+)\).+firefox/i], [c, [l, ae + " Reality"]], [/ekiohf.+(flow)\/([\w\.]+)/i, /(swiftfox)/i, /(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i, /(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i, /(firefox)\/([\w\.]+)/i, /(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i, /(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i, /(links) \(([\w\.]+)/i], [l, [c, /_/g, "."]], [/(cobalt)\/([\w\.]+)/i], [l, [c, /master.|lts./, ""]]], cpu: [[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i], [[W, "amd64"]], [/(ia32(?=;))/i], [[W, we]], [/((?:i[346]|x)86)[;\)]/i], [[W, "ia32"]], [/\b(aarch64|arm(v?8e?l?|_?64))\b/i], [[W, "arm64"]], [/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i], [[W, "armhf"]], [/windows (ce|mobile); ppc;/i], [[W, "arm"]], [/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i], [[W, /ower/, u, we]], [/(sun4\w)[;\)]/i], [[W, "sparc"]], [/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i], [[W, we]]], device: [[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i], [a, [s, me], [o, b]], [/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i, /samsung[- ]((?!sm-[lr])[-\w]+)/i, /sec-(sgh\w+)/i], [a, [s, me], [o, p]], [/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i], [a, [s, D], [o, p]], [/\((ipad);[-\w\),; ]+apple/i, /applecoremedia\/[\w\.]+ \((ipad)/i, /\b(ipad)\d\d?,\d\d?[;\]].+ios/i], [a, [s, D], [o, b]], [/(macintosh);/i], [a, [s, D]], [/\b(sh-?[altvz]?\d\d[a-ekm]?)/i], [a, [s, Se], [o, p]], [/(?:honor)([-\w ]+)[;\)]/i], [a, [s, "Honor"], [o, p]], [/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i], [a, [s, y], [o, b]], [/(?:huawei)([-\w ]+)[;\)]/i, /\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i], [a, [s, y], [o, p]], [/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i, /\b; (\w+) build\/hm\1/i, /\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i, /\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i, /oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i, /\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i], [[a, /_/g, " "], [s, fe], [o, p]], [/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i, /\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i], [[a, /_/g, " "], [s, fe], [o, b]], [/; (\w+) bui.+ oppo/i, /\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i], [a, [s, "OPPO"], [o, p]], [/\b(opd2\d{3}a?) bui/i], [a, [s, "OPPO"], [o, b]], [/vivo (\w+)(?: bui|\))/i, /\b(v[12]\d{3}\w?[at])(?: bui|;)/i], [a, [s, "Vivo"], [o, p]], [/\b(rmx[1-3]\d{3})(?: bui|;|\))/i], [a, [s, "Realme"], [o, p]], [/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i, /\bmot(?:orola)?[- ](\w*)/i, /((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i], [a, [s, xe], [o, p]], [/\b(mz60\d|xoom[2 ]{0,2}) build\//i], [a, [s, xe], [o, b]], [/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i], [a, [s, N], [o, b]], [/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i, /\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i, /\blg-?([\d\w]+) bui/i], [a, [s, N], [o, p]], [/(ideatab[-\w ]+)/i, /lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i], [a, [s, "Lenovo"], [o, b]], [/(?:maemo|nokia).*(n900|lumia \d+)/i, /nokia[-_ ]?([-\w\.]*)/i], [[a, /_/g, " "], [s, "Nokia"], [o, p]], [/(pixel c)\b/i], [a, [s, K], [o, b]], [/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i], [a, [s, K], [o, p]], [/droid.+; (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i], [a, [s, be], [o, p]], [/sony tablet [ps]/i, /\b(?:sony)?sgp\w+(?: bui|\))/i], [[a, "Xperia Tablet"], [s, be], [o, b]], [/ (kb2005|in20[12]5|be20[12][59])\b/i, /(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i], [a, [s, "OnePlus"], [o, p]], [/(alexa)webm/i, /(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i, /(kf[a-z]+)( bui|\)).+silk\//i], [a, [s, H], [o, b]], [/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i], [[a, /(.+)/g, "Fire Phone $1"], [s, H], [o, p]], [/(playbook);[-\w\),; ]+(rim)/i], [a, s, [o, b]], [/\b((?:bb[a-f]|st[hv])100-\d)/i, /\(bb10; (\w+)/i], [a, [s, X], [o, p]], [/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i], [a, [s, _], [o, b]], [/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i], [a, [s, _], [o, p]], [/(nexus 9)/i], [a, [s, "HTC"], [o, b]], [/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i, /(zte)[- ]([\w ]+?)(?: bui|\/|\))/i, /(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i], [s, [a, /_/g, " "], [o, p]], [/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])\w*(\)| bui)/i], [a, [s, "TCL"], [o, b]], [/(itel) ((\w+))/i], [[s, we], a, [o, Ce, { tablet: ["p10001l", "w7001"], "*": "mobile" }]], [/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i], [a, [s, "Acer"], [o, b]], [/droid.+; (m[1-5] note) bui/i, /\bmz-([-\w]{2,})/i], [a, [s, "Meizu"], [o, p]], [/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i], [a, [s, "Ulefone"], [o, p]], [/; (energy ?\w+)(?: bui|\))/i, /; energizer ([\w ]+)(?: bui|\))/i], [a, [s, "Energizer"], [o, p]], [/; cat (b35);/i, /; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i], [a, [s, "Cat"], [o, p]], [/((?:new )?andromax[\w- ]+)(?: bui|\))/i], [a, [s, "Smartfren"], [o, p]], [/droid.+; (a(?:015|06[35]|142p?))/i], [a, [s, "Nothing"], [o, p]], [/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno|micromax|advan)[-_ ]?([-\w]*)/i, /; (imo) ((?!tab)[\w ]+?)(?: bui|\))/i, /(hp) ([\w ]+\w)/i, /(asus)-?(\w+)/i, /(microsoft); (lumia[\w ]+)/i, /(lenovo)[-_ ]?([-\w]+)/i, /(jolla)/i, /(oppo) ?([\w ]+) bui/i], [s, a, [o, p]], [/(imo) (tab \w+)/i, /(kobo)\s(ereader|touch)/i, /(archos) (gamepad2?)/i, /(hp).+(touchpad(?!.+tablet)|tablet)/i, /(kindle)\/([\w\.]+)/i, /(nook)[\w ]+build\/(\w+)/i, /(dell) (strea[kpr\d ]*[\dko])/i, /(le[- ]+pan)[- ]+(\w{1,9}) bui/i, /(trinity)[- ]*(t\d{3}) bui/i, /(gigaset)[- ]+(q\w{1,9}) bui/i, /(vodafone) ([\w ]+)(?:\)| bui)/i], [s, a, [o, b]], [/(surface duo)/i], [a, [s, se], [o, b]], [/droid [\d\.]+; (fp\du?)(?: b|\))/i], [a, [s, "Fairphone"], [o, p]], [/(u304aa)/i], [a, [s, "AT&T"], [o, p]], [/\bsie-(\w*)/i], [a, [s, "Siemens"], [o, p]], [/\b(rct\w+) b/i], [a, [s, "RCA"], [o, b]], [/\b(venue[\d ]{2,7}) b/i], [a, [s, "Dell"], [o, b]], [/\b(q(?:mv|ta)\w+) b/i], [a, [s, "Verizon"], [o, b]], [/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i], [a, [s, "Barnes & Noble"], [o, b]], [/\b(tm\d{3}\w+) b/i], [a, [s, "NuVision"], [o, b]], [/\b(k88) b/i], [a, [s, "ZTE"], [o, b]], [/\b(nx\d{3}j) b/i], [a, [s, "ZTE"], [o, p]], [/\b(gen\d{3}) b.+49h/i], [a, [s, "Swiss"], [o, p]], [/\b(zur\d{3}) b/i], [a, [s, "Swiss"], [o, b]], [/\b((zeki)?tb.*\b) b/i], [a, [s, "Zeki"], [o, b]], [/\b([yr]\d{2}) b/i, /\b(dragon[- ]+touch |dt)(\w{5}) b/i], [[s, "Dragon Touch"], a, [o, b]], [/\b(ns-?\w{0,9}) b/i], [a, [s, "Insignia"], [o, b]], [/\b((nxa|next)-?\w{0,9}) b/i], [a, [s, "NextBook"], [o, b]], [/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i], [[s, "Voice"], a, [o, p]], [/\b(lvtel\-)?(v1[12]) b/i], [[s, "LvTel"], a, [o, p]], [/\b(ph-1) /i], [a, [s, "Essential"], [o, p]], [/\b(v(100md|700na|7011|917g).*\b) b/i], [a, [s, "Envizen"], [o, b]], [/\b(trio[-\w\. ]+) b/i], [a, [s, "MachSpeed"], [o, b]], [/\btu_(1491) b/i], [a, [s, "Rotor"], [o, b]], [/(shield[\w ]+) b/i], [a, [s, "Nvidia"], [o, b]], [/(sprint) (\w+)/i], [s, a, [o, p]], [/(kin\.[onetw]{3})/i], [[a, /\./g, " "], [s, se], [o, p]], [/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i], [a, [s, Q], [o, b]], [/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i], [a, [s, Q], [o, p]], [/smart-tv.+(samsung)/i], [s, [o, S]], [/hbbtv.+maple;(\d+)/i], [[a, /^/, "SmartTV"], [s, me], [o, S]], [/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i], [[s, N], [o, S]], [/(apple) ?tv/i], [s, [a, D + " TV"], [o, S]], [/crkey/i], [[a, te + "cast"], [s, K], [o, S]], [/droid.+aft(\w+)( bui|\))/i], [a, [s, H], [o, S]], [/\(dtv[\);].+(aquos)/i, /(aquos-tv[\w ]+)\)/i], [a, [s, Se], [o, S]], [/(bravia[\w ]+)( bui|\))/i], [a, [s, be], [o, S]], [/(mitv-\w{5}) bui/i], [a, [s, fe], [o, S]], [/Hbbtv.*(technisat) (.*);/i], [s, a, [o, S]], [/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i, /hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i], [[s, Ue], [a, Ue], [o, S]], [/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i], [[o, S]], [/(ouya)/i, /(nintendo) ([wids3utch]+)/i], [s, a, [o, R]], [/droid.+; (shield) bui/i], [a, [s, "Nvidia"], [o, R]], [/(playstation [345portablevi]+)/i], [a, [s, be], [o, R]], [/\b(xbox(?: one)?(?!; xbox))[\); ]/i], [a, [s, se], [o, R]], [/\b(sm-[lr]\d\d[05][fnuw]?s?)\b/i], [a, [s, me], [o, V]], [/((pebble))app/i], [s, a, [o, V]], [/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i], [a, [s, D], [o, V]], [/droid.+; (glass) \d/i], [a, [s, K], [o, V]], [/droid.+; (wt63?0{2,3})\)/i], [a, [s, Q], [o, V]], [/droid.+; (glass) \d/i], [a, [s, K], [o, V]], [/(pico) (4|neo3(?: link|pro)?)/i], [s, a, [o, V]], [/; (quest( \d| pro)?)/i], [a, [s, Je], [o, V]], [/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i], [s, [o, B]], [/(aeobc)\b/i], [a, [s, H], [o, B]], [/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i], [a, [o, p]], [/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i], [a, [o, b]], [/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i], [[o, b]], [/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i], [[o, p]], [/(android[-\w\. ]{0,9});.+buil/i], [a, [s, "Generic"]]], engine: [[/windows.+ edge\/([\w\.]+)/i], [c, [l, pe + "HTML"]], [/(arkweb)\/([\w\.]+)/i], [l, c], [/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i], [c, [l, "Blink"]], [/(presto)\/([\w\.]+)/i, /(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna|servo)\/([\w\.]+)/i, /ekioh(flow)\/([\w\.]+)/i, /(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i, /(icab)[\/ ]([23]\.[\d\.]+)/i, /\b(libweb)/i], [l, c], [/rv\:([\w\.]{1,9})\b.+(gecko)/i], [c, l]], os: [[/microsoft (windows) (vista|xp)/i], [l, c], [/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i], [l, [c, Ce, tr]], [/windows nt 6\.2; (arm)/i, /windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i, /(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i], [[c, Ce, tr], [l, "Windows"]], [/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i, /(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i, /cfnetwork\/.+darwin/i], [[c, /_/g, "."], [l, "iOS"]], [/(mac os x) ?([\w\. ]*)/i, /(macintosh|mac_powerpc\b)(?!.+haiku)/i], [[l, rr], [c, /_/g, "."]], [/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i], [c, l], [/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish|openharmony)[-\/ ]?([\w\.]*)/i, /(blackberry)\w*\/([\w\.]*)/i, /(tizen|kaios)[\/ ]([\w\.]+)/i, /\((series40);/i], [l, c], [/\(bb(10);/i], [c, [l, X]], [/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i], [c, [l, "Symbian"]], [/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i], [c, [l, ae + " OS"]], [/web0s;.+rt(tv)/i, /\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i], [c, [l, "webOS"]], [/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i], [c, [l, "watchOS"]], [/crkey\/([\d\.]+)/i], [c, [l, te + "cast"]], [/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i], [[l, er], c], [/panasonic;(viera)/i, /(netrange)mmh/i, /(nettv)\/(\d+\.[\w\.]+)/i, /(nintendo|playstation) ([wids345portablevuch]+)/i, /(xbox); +xbox ([^\);]+)/i, /\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i, /(mint)[\/\(\) ]?(\w*)/i, /(mageia|vectorlinux)[; ]/i, /([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i, /(hurd|linux) ?([\w\.]*)/i, /(gnu) ?([\w\.]*)/i, /\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i, /(haiku) (\w+)/i], [l, c], [/(sunos) ?([\w\.\d]*)/i], [[l, "Solaris"], c], [/((?:open)?solaris)[-\/ ]?([\w\.]*)/i, /(aix) ((\d)(?=\.|\)| )[\w\.])*/i, /\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i, /(unix) ?([\w\.]*)/i], [l, c]] }, Z = function(x, O) {
|
|
119
|
-
if (typeof x === I && (O = x, x = n), !(this instanceof Z))
|
|
120
|
-
return new Z(x, O).getResult();
|
|
121
|
-
var v = typeof r !== T && r.navigator ? r.navigator : n, M = x || (v && v.userAgent ? v.userAgent : u), oe = v && v.userAgentData ? v.userAgentData : n, J = O ? xi(or, O) : or, k = v && v.userAgent == M;
|
|
122
|
-
return this.getBrowser = function() {
|
|
123
|
-
var w = {};
|
|
124
|
-
return w[l] = n, w[c] = n, Te.call(w, M, J.browser), w[U] = Ti(w[c]), k && v && v.brave && typeof v.brave.isBrave == g && (w[l] = "Brave"), w;
|
|
125
|
-
}, this.getCPU = function() {
|
|
126
|
-
var w = {};
|
|
127
|
-
return w[W] = n, Te.call(w, M, J.cpu), w;
|
|
128
|
-
}, this.getDevice = function() {
|
|
129
|
-
var w = {};
|
|
130
|
-
return w[s] = n, w[a] = n, w[o] = n, Te.call(w, M, J.device), k && !w[o] && oe && oe.mobile && (w[o] = p), k && w[a] == "Macintosh" && v && typeof v.standalone !== T && v.maxTouchPoints && v.maxTouchPoints > 2 && (w[a] = "iPad", w[o] = b), w;
|
|
131
|
-
}, this.getEngine = function() {
|
|
132
|
-
var w = {};
|
|
133
|
-
return w[l] = n, w[c] = n, Te.call(w, M, J.engine), w;
|
|
134
|
-
}, this.getOS = function() {
|
|
135
|
-
var w = {};
|
|
136
|
-
return w[l] = n, w[c] = n, Te.call(w, M, J.os), k && !w[l] && oe && oe.platform && oe.platform != "Unknown" && (w[l] = oe.platform.replace(/chrome os/i, er).replace(/macos/i, rr)), w;
|
|
137
|
-
}, this.getResult = function() {
|
|
138
|
-
return { ua: this.getUA(), browser: this.getBrowser(), engine: this.getEngine(), os: this.getOS(), device: this.getDevice(), cpu: this.getCPU() };
|
|
139
|
-
}, this.getUA = function() {
|
|
140
|
-
return M;
|
|
141
|
-
}, this.setUA = function(w) {
|
|
142
|
-
return M = typeof w === E && w.length > ne ? Ue(w, ne) : w, this;
|
|
143
|
-
}, this.setUA(M), this;
|
|
144
|
-
};
|
|
145
|
-
Z.VERSION = t, Z.BROWSER = Pe([l, c, U]), Z.CPU = Pe([W]), Z.DEVICE = Pe([a, s, o, R, p, S, b, V, B]), Z.ENGINE = Z.OS = Pe([l, c]), i.exports && (e = i.exports = Z), e.UAParser = Z;
|
|
146
|
-
var he = typeof r !== T && (r.jQuery || r.Zepto);
|
|
147
|
-
if (he && !he.ua) {
|
|
148
|
-
var Me = new Z();
|
|
149
|
-
he.ua = Me.getResult(), he.ua.get = function() {
|
|
150
|
-
return Me.getUA();
|
|
151
|
-
}, he.ua.set = function(x) {
|
|
152
|
-
Me.setUA(x);
|
|
153
|
-
var O = Me.getResult();
|
|
154
|
-
for (var v in O)
|
|
155
|
-
he.ua[v] = O[v];
|
|
156
|
-
};
|
|
157
|
-
}
|
|
158
|
-
})(typeof window == "object" ? window : ki);
|
|
159
|
-
})(He, He.exports);
|
|
160
|
-
var Ki = He.exports;
|
|
161
|
-
Object.defineProperty(d, "__esModule", { value: !0 });
|
|
162
|
-
function Ji(i) {
|
|
163
|
-
return i && typeof i == "object" && "default" in i ? i.default : i;
|
|
164
|
-
}
|
|
165
|
-
var F = Oi, A = Ji(F), gr = Ki, le = new gr(), z = le.getBrowser(), en = le.getCPU(), q = le.getDevice(), Qe = le.getEngine(), ce = le.getOS(), Oe = le.getUA(), yr = function(e) {
|
|
166
|
-
return le.setUA(e);
|
|
167
|
-
}, ke = function(e) {
|
|
168
|
-
if (!e) {
|
|
169
|
-
console.error("No userAgent string was provided");
|
|
170
|
-
return;
|
|
171
|
-
}
|
|
172
|
-
var r = new gr(e);
|
|
173
|
-
return {
|
|
174
|
-
UA: r,
|
|
175
|
-
browser: r.getBrowser(),
|
|
176
|
-
cpu: r.getCPU(),
|
|
177
|
-
device: r.getDevice(),
|
|
178
|
-
engine: r.getEngine(),
|
|
179
|
-
os: r.getOS(),
|
|
180
|
-
ua: r.getUA(),
|
|
181
|
-
setUserAgent: function(t) {
|
|
182
|
-
return r.setUA(t);
|
|
183
|
-
}
|
|
184
|
-
};
|
|
185
|
-
}, xr = /* @__PURE__ */ Object.freeze({
|
|
186
|
-
ClientUAInstance: le,
|
|
187
|
-
browser: z,
|
|
188
|
-
cpu: en,
|
|
189
|
-
device: q,
|
|
190
|
-
engine: Qe,
|
|
191
|
-
os: ce,
|
|
192
|
-
ua: Oe,
|
|
193
|
-
setUa: yr,
|
|
194
|
-
parseUserAgent: ke
|
|
195
|
-
});
|
|
196
|
-
function cr(i, e) {
|
|
197
|
-
var r = Object.keys(i);
|
|
198
|
-
if (Object.getOwnPropertySymbols) {
|
|
199
|
-
var n = Object.getOwnPropertySymbols(i);
|
|
200
|
-
e && (n = n.filter(function(t) {
|
|
201
|
-
return Object.getOwnPropertyDescriptor(i, t).enumerable;
|
|
202
|
-
})), r.push.apply(r, n);
|
|
203
|
-
}
|
|
204
|
-
return r;
|
|
205
|
-
}
|
|
206
|
-
function rn(i) {
|
|
207
|
-
for (var e = 1; e < arguments.length; e++) {
|
|
208
|
-
var r = arguments[e] != null ? arguments[e] : {};
|
|
209
|
-
e % 2 ? cr(Object(r), !0).forEach(function(n) {
|
|
210
|
-
an(i, n, r[n]);
|
|
211
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(i, Object.getOwnPropertyDescriptors(r)) : cr(Object(r)).forEach(function(n) {
|
|
212
|
-
Object.defineProperty(i, n, Object.getOwnPropertyDescriptor(r, n));
|
|
213
|
-
});
|
|
214
|
-
}
|
|
215
|
-
return i;
|
|
216
|
-
}
|
|
217
|
-
function Ee(i) {
|
|
218
|
-
"@babel/helpers - typeof";
|
|
219
|
-
return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Ee = function(e) {
|
|
220
|
-
return typeof e;
|
|
221
|
-
} : Ee = function(e) {
|
|
222
|
-
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
|
223
|
-
}, Ee(i);
|
|
224
|
-
}
|
|
225
|
-
function nn(i, e) {
|
|
226
|
-
if (!(i instanceof e))
|
|
227
|
-
throw new TypeError("Cannot call a class as a function");
|
|
228
|
-
}
|
|
229
|
-
function tn(i, e) {
|
|
230
|
-
for (var r = 0; r < e.length; r++) {
|
|
231
|
-
var n = e[r];
|
|
232
|
-
n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(i, n.key, n);
|
|
233
|
-
}
|
|
234
|
-
}
|
|
235
|
-
function on(i, e, r) {
|
|
236
|
-
return e && tn(i.prototype, e), i;
|
|
237
|
-
}
|
|
238
|
-
function an(i, e, r) {
|
|
239
|
-
return e in i ? Object.defineProperty(i, e, {
|
|
240
|
-
value: r,
|
|
241
|
-
enumerable: !0,
|
|
242
|
-
configurable: !0,
|
|
243
|
-
writable: !0
|
|
244
|
-
}) : i[e] = r, i;
|
|
245
|
-
}
|
|
246
|
-
function $e() {
|
|
247
|
-
return $e = Object.assign || function(i) {
|
|
248
|
-
for (var e = 1; e < arguments.length; e++) {
|
|
249
|
-
var r = arguments[e];
|
|
250
|
-
for (var n in r)
|
|
251
|
-
Object.prototype.hasOwnProperty.call(r, n) && (i[n] = r[n]);
|
|
252
|
-
}
|
|
253
|
-
return i;
|
|
254
|
-
}, $e.apply(this, arguments);
|
|
255
|
-
}
|
|
256
|
-
function sn(i, e) {
|
|
257
|
-
if (typeof e != "function" && e !== null)
|
|
258
|
-
throw new TypeError("Super expression must either be null or a function");
|
|
259
|
-
i.prototype = Object.create(e && e.prototype, {
|
|
260
|
-
constructor: {
|
|
261
|
-
value: i,
|
|
262
|
-
writable: !0,
|
|
263
|
-
configurable: !0
|
|
264
|
-
}
|
|
265
|
-
}), e && Ye(i, e);
|
|
266
|
-
}
|
|
267
|
-
function qe(i) {
|
|
268
|
-
return qe = Object.setPrototypeOf ? Object.getPrototypeOf : function(r) {
|
|
269
|
-
return r.__proto__ || Object.getPrototypeOf(r);
|
|
270
|
-
}, qe(i);
|
|
271
|
-
}
|
|
272
|
-
function Ye(i, e) {
|
|
273
|
-
return Ye = Object.setPrototypeOf || function(n, t) {
|
|
274
|
-
return n.__proto__ = t, n;
|
|
275
|
-
}, Ye(i, e);
|
|
276
|
-
}
|
|
277
|
-
function ln(i, e) {
|
|
278
|
-
if (i == null) return {};
|
|
279
|
-
var r = {}, n = Object.keys(i), t, u;
|
|
280
|
-
for (u = 0; u < n.length; u++)
|
|
281
|
-
t = n[u], !(e.indexOf(t) >= 0) && (r[t] = i[t]);
|
|
282
|
-
return r;
|
|
283
|
-
}
|
|
284
|
-
function G(i, e) {
|
|
285
|
-
if (i == null) return {};
|
|
286
|
-
var r = ln(i, e), n, t;
|
|
287
|
-
if (Object.getOwnPropertySymbols) {
|
|
288
|
-
var u = Object.getOwnPropertySymbols(i);
|
|
289
|
-
for (t = 0; t < u.length; t++)
|
|
290
|
-
n = u[t], !(e.indexOf(n) >= 0) && Object.prototype.propertyIsEnumerable.call(i, n) && (r[n] = i[n]);
|
|
291
|
-
}
|
|
292
|
-
return r;
|
|
293
|
-
}
|
|
294
|
-
function Ve(i) {
|
|
295
|
-
if (i === void 0)
|
|
296
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
297
|
-
return i;
|
|
298
|
-
}
|
|
299
|
-
function cn(i, e) {
|
|
300
|
-
if (e && (typeof e == "object" || typeof e == "function"))
|
|
301
|
-
return e;
|
|
302
|
-
if (e !== void 0)
|
|
303
|
-
throw new TypeError("Derived constructors may only return object or undefined");
|
|
304
|
-
return Ve(i);
|
|
305
|
-
}
|
|
306
|
-
function dn(i, e) {
|
|
307
|
-
return un(i) || pn(i, e) || mn(i, e) || bn();
|
|
308
|
-
}
|
|
309
|
-
function un(i) {
|
|
310
|
-
if (Array.isArray(i)) return i;
|
|
311
|
-
}
|
|
312
|
-
function pn(i, e) {
|
|
313
|
-
var r = i == null ? null : typeof Symbol < "u" && i[Symbol.iterator] || i["@@iterator"];
|
|
314
|
-
if (r != null) {
|
|
315
|
-
var n = [], t = !0, u = !1, h, g;
|
|
316
|
-
try {
|
|
317
|
-
for (r = r.call(i); !(t = (h = r.next()).done) && (n.push(h.value), !(e && n.length === e)); t = !0)
|
|
318
|
-
;
|
|
319
|
-
} catch (T) {
|
|
320
|
-
u = !0, g = T;
|
|
321
|
-
} finally {
|
|
322
|
-
try {
|
|
323
|
-
!t && r.return != null && r.return();
|
|
324
|
-
} finally {
|
|
325
|
-
if (u) throw g;
|
|
326
|
-
}
|
|
327
|
-
}
|
|
328
|
-
return n;
|
|
329
|
-
}
|
|
330
|
-
}
|
|
331
|
-
function mn(i, e) {
|
|
332
|
-
if (i) {
|
|
333
|
-
if (typeof i == "string") return dr(i, e);
|
|
334
|
-
var r = Object.prototype.toString.call(i).slice(8, -1);
|
|
335
|
-
if (r === "Object" && i.constructor && (r = i.constructor.name), r === "Map" || r === "Set") return Array.from(i);
|
|
336
|
-
if (r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)) return dr(i, e);
|
|
337
|
-
}
|
|
338
|
-
}
|
|
339
|
-
function dr(i, e) {
|
|
340
|
-
(e == null || e > i.length) && (e = i.length);
|
|
341
|
-
for (var r = 0, n = new Array(e); r < e; r++) n[r] = i[r];
|
|
342
|
-
return n;
|
|
343
|
-
}
|
|
344
|
-
function bn() {
|
|
345
|
-
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
346
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
347
|
-
}
|
|
348
|
-
var L = {
|
|
349
|
-
Mobile: "mobile",
|
|
350
|
-
Tablet: "tablet",
|
|
351
|
-
SmartTv: "smarttv",
|
|
352
|
-
Console: "console",
|
|
353
|
-
Wearable: "wearable",
|
|
354
|
-
Embedded: "embedded",
|
|
355
|
-
Browser: void 0
|
|
356
|
-
}, $ = {
|
|
357
|
-
Chrome: "Chrome",
|
|
358
|
-
Firefox: "Firefox",
|
|
359
|
-
Opera: "Opera",
|
|
360
|
-
Yandex: "Yandex",
|
|
361
|
-
Safari: "Safari",
|
|
362
|
-
InternetExplorer: "Internet Explorer",
|
|
363
|
-
Edge: "Edge",
|
|
364
|
-
Chromium: "Chromium",
|
|
365
|
-
Ie: "IE",
|
|
366
|
-
MobileSafari: "Mobile Safari",
|
|
367
|
-
EdgeChromium: "Edge Chromium",
|
|
368
|
-
MIUI: "MIUI Browser",
|
|
369
|
-
SamsungBrowser: "Samsung Browser"
|
|
370
|
-
}, ye = {
|
|
371
|
-
IOS: "iOS",
|
|
372
|
-
Android: "Android",
|
|
373
|
-
WindowsPhone: "Windows Phone",
|
|
374
|
-
Windows: "Windows",
|
|
375
|
-
MAC_OS: "Mac OS"
|
|
376
|
-
}, fn = {
|
|
377
|
-
isMobile: !1,
|
|
378
|
-
isTablet: !1,
|
|
379
|
-
isBrowser: !1,
|
|
380
|
-
isSmartTV: !1,
|
|
381
|
-
isConsole: !1,
|
|
382
|
-
isWearable: !1
|
|
383
|
-
}, wn = function(e) {
|
|
384
|
-
switch (e) {
|
|
385
|
-
case L.Mobile:
|
|
386
|
-
return {
|
|
387
|
-
isMobile: !0
|
|
388
|
-
};
|
|
389
|
-
case L.Tablet:
|
|
390
|
-
return {
|
|
391
|
-
isTablet: !0
|
|
392
|
-
};
|
|
393
|
-
case L.SmartTv:
|
|
394
|
-
return {
|
|
395
|
-
isSmartTV: !0
|
|
396
|
-
};
|
|
397
|
-
case L.Console:
|
|
398
|
-
return {
|
|
399
|
-
isConsole: !0
|
|
400
|
-
};
|
|
401
|
-
case L.Wearable:
|
|
402
|
-
return {
|
|
403
|
-
isWearable: !0
|
|
404
|
-
};
|
|
405
|
-
case L.Browser:
|
|
406
|
-
return {
|
|
407
|
-
isBrowser: !0
|
|
408
|
-
};
|
|
409
|
-
case L.Embedded:
|
|
410
|
-
return {
|
|
411
|
-
isEmbedded: !0
|
|
412
|
-
};
|
|
413
|
-
default:
|
|
414
|
-
return fn;
|
|
415
|
-
}
|
|
416
|
-
}, hn = function(e) {
|
|
417
|
-
return yr(e);
|
|
418
|
-
}, f = function(e) {
|
|
419
|
-
var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "none";
|
|
420
|
-
return e || r;
|
|
421
|
-
}, Ze = function() {
|
|
422
|
-
return typeof window < "u" && (window.navigator || navigator) ? window.navigator || navigator : !1;
|
|
423
|
-
}, Ke = function(e) {
|
|
424
|
-
var r = Ze();
|
|
425
|
-
return r && r.platform && (r.platform.indexOf(e) !== -1 || r.platform === "MacIntel" && r.maxTouchPoints > 1 && !window.MSStream);
|
|
426
|
-
}, vn = function(e, r, n, t, u) {
|
|
427
|
-
return {
|
|
428
|
-
isBrowser: e,
|
|
429
|
-
browserMajorVersion: f(r.major),
|
|
430
|
-
browserFullVersion: f(r.version),
|
|
431
|
-
browserName: f(r.name),
|
|
432
|
-
engineName: f(n.name),
|
|
433
|
-
engineVersion: f(n.version),
|
|
434
|
-
osName: f(t.name),
|
|
435
|
-
osVersion: f(t.version),
|
|
436
|
-
userAgent: f(u)
|
|
437
|
-
};
|
|
438
|
-
}, ur = function(e, r, n, t) {
|
|
439
|
-
return rn({}, e, {
|
|
440
|
-
vendor: f(r.vendor),
|
|
441
|
-
model: f(r.model),
|
|
442
|
-
os: f(n.name),
|
|
443
|
-
osVersion: f(n.version),
|
|
444
|
-
ua: f(t)
|
|
445
|
-
});
|
|
446
|
-
}, gn = function(e, r, n, t) {
|
|
447
|
-
return {
|
|
448
|
-
isSmartTV: e,
|
|
449
|
-
engineName: f(r.name),
|
|
450
|
-
engineVersion: f(r.version),
|
|
451
|
-
osName: f(n.name),
|
|
452
|
-
osVersion: f(n.version),
|
|
453
|
-
userAgent: f(t)
|
|
454
|
-
};
|
|
455
|
-
}, yn = function(e, r, n, t) {
|
|
456
|
-
return {
|
|
457
|
-
isConsole: e,
|
|
458
|
-
engineName: f(r.name),
|
|
459
|
-
engineVersion: f(r.version),
|
|
460
|
-
osName: f(n.name),
|
|
461
|
-
osVersion: f(n.version),
|
|
462
|
-
userAgent: f(t)
|
|
463
|
-
};
|
|
464
|
-
}, xn = function(e, r, n, t) {
|
|
465
|
-
return {
|
|
466
|
-
isWearable: e,
|
|
467
|
-
engineName: f(r.name),
|
|
468
|
-
engineVersion: f(r.version),
|
|
469
|
-
osName: f(n.name),
|
|
470
|
-
osVersion: f(n.version),
|
|
471
|
-
userAgent: f(t)
|
|
472
|
-
};
|
|
473
|
-
}, Tn = function(e, r, n, t, u) {
|
|
474
|
-
return {
|
|
475
|
-
isEmbedded: e,
|
|
476
|
-
vendor: f(r.vendor),
|
|
477
|
-
model: f(r.model),
|
|
478
|
-
engineName: f(n.name),
|
|
479
|
-
engineVersion: f(n.version),
|
|
480
|
-
osName: f(t.name),
|
|
481
|
-
osVersion: f(t.version),
|
|
482
|
-
userAgent: f(u)
|
|
483
|
-
};
|
|
484
|
-
};
|
|
485
|
-
function En(i) {
|
|
486
|
-
var e = i ? ke(i) : xr, r = e.device, n = e.browser, t = e.engine, u = e.os, h = e.ua, g = wn(r.type), T = g.isBrowser, I = g.isMobile, E = g.isTablet, U = g.isSmartTV, a = g.isConsole, l = g.isWearable, o = g.isEmbedded;
|
|
487
|
-
if (T)
|
|
488
|
-
return vn(T, n, t, u, h);
|
|
489
|
-
if (U)
|
|
490
|
-
return gn(U, t, u, h);
|
|
491
|
-
if (a)
|
|
492
|
-
return yn(a, t, u, h);
|
|
493
|
-
if (I || E)
|
|
494
|
-
return ur(g, r, u, h);
|
|
495
|
-
if (l)
|
|
496
|
-
return xn(l, t, u, h);
|
|
497
|
-
if (o)
|
|
498
|
-
return Tn(o, r, t, u, h);
|
|
499
|
-
}
|
|
500
|
-
var Tr = function(e) {
|
|
501
|
-
var r = e.type;
|
|
502
|
-
return r === L.Mobile;
|
|
503
|
-
}, Er = function(e) {
|
|
504
|
-
var r = e.type;
|
|
505
|
-
return r === L.Tablet;
|
|
506
|
-
}, Or = function(e) {
|
|
507
|
-
var r = e.type;
|
|
508
|
-
return r === L.Mobile || r === L.Tablet;
|
|
509
|
-
}, kr = function(e) {
|
|
510
|
-
var r = e.type;
|
|
511
|
-
return r === L.SmartTv;
|
|
512
|
-
}, We = function(e) {
|
|
513
|
-
var r = e.type;
|
|
514
|
-
return r === L.Browser;
|
|
515
|
-
}, Sr = function(e) {
|
|
516
|
-
var r = e.type;
|
|
517
|
-
return r === L.Wearable;
|
|
518
|
-
}, Pr = function(e) {
|
|
519
|
-
var r = e.type;
|
|
520
|
-
return r === L.Console;
|
|
521
|
-
}, Cr = function(e) {
|
|
522
|
-
var r = e.type;
|
|
523
|
-
return r === L.Embedded;
|
|
524
|
-
}, Mr = function(e) {
|
|
525
|
-
var r = e.vendor;
|
|
526
|
-
return f(r);
|
|
527
|
-
}, Ar = function(e) {
|
|
528
|
-
var r = e.model;
|
|
529
|
-
return f(r);
|
|
530
|
-
}, Ir = function(e) {
|
|
531
|
-
var r = e.type;
|
|
532
|
-
return f(r, "browser");
|
|
533
|
-
}, Vr = function(e) {
|
|
534
|
-
var r = e.name;
|
|
535
|
-
return r === ye.Android;
|
|
536
|
-
}, Nr = function(e) {
|
|
537
|
-
var r = e.name;
|
|
538
|
-
return r === ye.Windows;
|
|
539
|
-
}, Wr = function(e) {
|
|
540
|
-
var r = e.name;
|
|
541
|
-
return r === ye.MAC_OS;
|
|
542
|
-
}, Br = function(e) {
|
|
543
|
-
var r = e.name;
|
|
544
|
-
return r === ye.WindowsPhone;
|
|
545
|
-
}, Dr = function(e) {
|
|
546
|
-
var r = e.name;
|
|
547
|
-
return r === ye.IOS;
|
|
548
|
-
}, Rr = function(e) {
|
|
549
|
-
var r = e.version;
|
|
550
|
-
return f(r);
|
|
551
|
-
}, Ur = function(e) {
|
|
552
|
-
var r = e.name;
|
|
553
|
-
return f(r);
|
|
554
|
-
}, _r = function(e) {
|
|
555
|
-
var r = e.name;
|
|
556
|
-
return r === $.Chrome;
|
|
557
|
-
}, Lr = function(e) {
|
|
558
|
-
var r = e.name;
|
|
559
|
-
return r === $.Firefox;
|
|
560
|
-
}, Fr = function(e) {
|
|
561
|
-
var r = e.name;
|
|
562
|
-
return r === $.Chromium;
|
|
563
|
-
}, Be = function(e) {
|
|
564
|
-
var r = e.name;
|
|
565
|
-
return r === $.Edge;
|
|
566
|
-
}, zr = function(e) {
|
|
567
|
-
var r = e.name;
|
|
568
|
-
return r === $.Yandex;
|
|
569
|
-
}, jr = function(e) {
|
|
570
|
-
var r = e.name;
|
|
571
|
-
return r === $.Safari || r === $.MobileSafari;
|
|
572
|
-
}, Hr = function(e) {
|
|
573
|
-
var r = e.name;
|
|
574
|
-
return r === $.MobileSafari;
|
|
575
|
-
}, $r = function(e) {
|
|
576
|
-
var r = e.name;
|
|
577
|
-
return r === $.Opera;
|
|
578
|
-
}, qr = function(e) {
|
|
579
|
-
var r = e.name;
|
|
580
|
-
return r === $.InternetExplorer || r === $.Ie;
|
|
581
|
-
}, Yr = function(e) {
|
|
582
|
-
var r = e.name;
|
|
583
|
-
return r === $.MIUI;
|
|
584
|
-
}, Gr = function(e) {
|
|
585
|
-
var r = e.name;
|
|
586
|
-
return r === $.SamsungBrowser;
|
|
587
|
-
}, Xr = function(e) {
|
|
588
|
-
var r = e.version;
|
|
589
|
-
return f(r);
|
|
590
|
-
}, Qr = function(e) {
|
|
591
|
-
var r = e.major;
|
|
592
|
-
return f(r);
|
|
593
|
-
}, Zr = function(e) {
|
|
594
|
-
var r = e.name;
|
|
595
|
-
return f(r);
|
|
596
|
-
}, Kr = function(e) {
|
|
597
|
-
var r = e.name;
|
|
598
|
-
return f(r);
|
|
599
|
-
}, Jr = function(e) {
|
|
600
|
-
var r = e.version;
|
|
601
|
-
return f(r);
|
|
602
|
-
}, ei = function() {
|
|
603
|
-
var e = Ze(), r = e && e.userAgent && e.userAgent.toLowerCase();
|
|
604
|
-
return typeof r == "string" ? /electron/.test(r) : !1;
|
|
605
|
-
}, ve = function(e) {
|
|
606
|
-
return typeof e == "string" && e.indexOf("Edg/") !== -1;
|
|
607
|
-
}, ri = function() {
|
|
608
|
-
var e = Ze();
|
|
609
|
-
return e && (/iPad|iPhone|iPod/.test(e.platform) || e.platform === "MacIntel" && e.maxTouchPoints > 1) && !window.MSStream;
|
|
610
|
-
}, re = function() {
|
|
611
|
-
return Ke("iPad");
|
|
612
|
-
}, ii = function() {
|
|
613
|
-
return Ke("iPhone");
|
|
614
|
-
}, ni = function() {
|
|
615
|
-
return Ke("iPod");
|
|
616
|
-
}, ti = function(e) {
|
|
617
|
-
return f(e);
|
|
618
|
-
};
|
|
619
|
-
function oi(i) {
|
|
620
|
-
var e = i || xr, r = e.device, n = e.browser, t = e.os, u = e.engine, h = e.ua;
|
|
621
|
-
return {
|
|
622
|
-
isSmartTV: kr(r),
|
|
623
|
-
isConsole: Pr(r),
|
|
624
|
-
isWearable: Sr(r),
|
|
625
|
-
isEmbedded: Cr(r),
|
|
626
|
-
isMobileSafari: Hr(n) || re(),
|
|
627
|
-
isChromium: Fr(n),
|
|
628
|
-
isMobile: Or(r) || re(),
|
|
629
|
-
isMobileOnly: Tr(r),
|
|
630
|
-
isTablet: Er(r) || re(),
|
|
631
|
-
isBrowser: We(r),
|
|
632
|
-
isDesktop: We(r),
|
|
633
|
-
isAndroid: Vr(t),
|
|
634
|
-
isWinPhone: Br(t),
|
|
635
|
-
isIOS: Dr(t) || re(),
|
|
636
|
-
isChrome: _r(n),
|
|
637
|
-
isFirefox: Lr(n),
|
|
638
|
-
isSafari: jr(n),
|
|
639
|
-
isOpera: $r(n),
|
|
640
|
-
isIE: qr(n),
|
|
641
|
-
osVersion: Rr(t),
|
|
642
|
-
osName: Ur(t),
|
|
643
|
-
fullBrowserVersion: Xr(n),
|
|
644
|
-
browserVersion: Qr(n),
|
|
645
|
-
browserName: Zr(n),
|
|
646
|
-
mobileVendor: Mr(r),
|
|
647
|
-
mobileModel: Ar(r),
|
|
648
|
-
engineName: Kr(u),
|
|
649
|
-
engineVersion: Jr(u),
|
|
650
|
-
getUA: ti(h),
|
|
651
|
-
isEdge: Be(n) || ve(h),
|
|
652
|
-
isYandex: zr(n),
|
|
653
|
-
deviceType: Ir(r),
|
|
654
|
-
isIOS13: ri(),
|
|
655
|
-
isIPad13: re(),
|
|
656
|
-
isIPhone13: ii(),
|
|
657
|
-
isIPod13: ni(),
|
|
658
|
-
isElectron: ei(),
|
|
659
|
-
isEdgeChromium: ve(h),
|
|
660
|
-
isLegacyEdge: Be(n) && !ve(h),
|
|
661
|
-
isWindows: Nr(t),
|
|
662
|
-
isMacOs: Wr(t),
|
|
663
|
-
isMIUI: Yr(n),
|
|
664
|
-
isSamsungBrowser: Gr(n)
|
|
665
|
-
};
|
|
666
|
-
}
|
|
667
|
-
var ai = kr(q), si = Pr(q), li = Sr(q), On = Cr(q), kn = Hr(z) || re(), Sn = Fr(z), De = Or(q) || re(), ci = Tr(q), di = Er(q) || re(), ui = We(q), Pn = We(q), pi = Vr(ce), mi = Br(ce), bi = Dr(ce) || re(), Cn = _r(z), Mn = Lr(z), An = jr(z), In = $r(z), fi = qr(z), Vn = Rr(ce), Nn = Ur(ce), Wn = Xr(z), Bn = Qr(z), Dn = Zr(z), Rn = Mr(q), Un = Ar(q), _n = Kr(Qe), Ln = Jr(Qe), Fn = ti(Oe), zn = Be(z) || ve(Oe), jn = zr(z), Hn = Ir(q), $n = ri(), qn = re(), Yn = ii(), Gn = ni(), Xn = ei(), Qn = ve(Oe), Zn = Be(z) && !ve(Oe), Kn = Nr(ce), Jn = Wr(ce), et = Yr(z), rt = Gr(z), it = function(e) {
|
|
668
|
-
if (!e || typeof e != "string") {
|
|
669
|
-
console.error("No valid user agent string was provided");
|
|
670
|
-
return;
|
|
671
|
-
}
|
|
672
|
-
var r = ke(e), n = r.device, t = r.browser, u = r.os, h = r.engine, g = r.ua;
|
|
673
|
-
return oi({
|
|
674
|
-
device: n,
|
|
675
|
-
browser: t,
|
|
676
|
-
os: u,
|
|
677
|
-
engine: h,
|
|
678
|
-
ua: g
|
|
679
|
-
});
|
|
680
|
-
}, nt = function(e) {
|
|
681
|
-
var r = e.renderWithFragment, n = e.children, t = G(e, ["renderWithFragment", "children"]);
|
|
682
|
-
return pi ? r ? A.createElement(F.Fragment, null, n) : A.createElement("div", t, n) : null;
|
|
683
|
-
}, tt = function(e) {
|
|
684
|
-
var r = e.renderWithFragment, n = e.children, t = G(e, ["renderWithFragment", "children"]);
|
|
685
|
-
return ui ? r ? A.createElement(F.Fragment, null, n) : A.createElement("div", t, n) : null;
|
|
686
|
-
}, ot = function(e) {
|
|
687
|
-
var r = e.renderWithFragment, n = e.children, t = G(e, ["renderWithFragment", "children"]);
|
|
688
|
-
return fi ? r ? A.createElement(F.Fragment, null, n) : A.createElement("div", t, n) : null;
|
|
689
|
-
}, at = function(e) {
|
|
690
|
-
var r = e.renderWithFragment, n = e.children, t = G(e, ["renderWithFragment", "children"]);
|
|
691
|
-
return bi ? r ? A.createElement(F.Fragment, null, n) : A.createElement("div", t, n) : null;
|
|
692
|
-
}, st = function(e) {
|
|
693
|
-
var r = e.renderWithFragment, n = e.children, t = G(e, ["renderWithFragment", "children"]);
|
|
694
|
-
return De ? r ? A.createElement(F.Fragment, null, n) : A.createElement("div", t, n) : null;
|
|
695
|
-
}, lt = function(e) {
|
|
696
|
-
var r = e.renderWithFragment, n = e.children, t = G(e, ["renderWithFragment", "children"]);
|
|
697
|
-
return di ? r ? A.createElement(F.Fragment, null, n) : A.createElement("div", t, n) : null;
|
|
698
|
-
}, ct = function(e) {
|
|
699
|
-
var r = e.renderWithFragment, n = e.children, t = G(e, ["renderWithFragment", "children"]);
|
|
700
|
-
return mi ? r ? A.createElement(F.Fragment, null, n) : A.createElement("div", t, n) : null;
|
|
701
|
-
}, dt = function(e) {
|
|
702
|
-
var r = e.renderWithFragment, n = e.children;
|
|
703
|
-
e.viewClassName, e.style;
|
|
704
|
-
var t = G(e, ["renderWithFragment", "children", "viewClassName", "style"]);
|
|
705
|
-
return ci ? r ? A.createElement(F.Fragment, null, n) : A.createElement("div", t, n) : null;
|
|
706
|
-
}, ut = function(e) {
|
|
707
|
-
var r = e.renderWithFragment, n = e.children, t = G(e, ["renderWithFragment", "children"]);
|
|
708
|
-
return ai ? r ? A.createElement(F.Fragment, null, n) : A.createElement("div", t, n) : null;
|
|
709
|
-
}, pt = function(e) {
|
|
710
|
-
var r = e.renderWithFragment, n = e.children, t = G(e, ["renderWithFragment", "children"]);
|
|
711
|
-
return si ? r ? A.createElement(F.Fragment, null, n) : A.createElement("div", t, n) : null;
|
|
712
|
-
}, mt = function(e) {
|
|
713
|
-
var r = e.renderWithFragment, n = e.children, t = G(e, ["renderWithFragment", "children"]);
|
|
714
|
-
return li ? r ? A.createElement(F.Fragment, null, n) : A.createElement("div", t, n) : null;
|
|
715
|
-
}, bt = function(e) {
|
|
716
|
-
var r = e.renderWithFragment, n = e.children;
|
|
717
|
-
e.viewClassName, e.style;
|
|
718
|
-
var t = e.condition, u = G(e, ["renderWithFragment", "children", "viewClassName", "style", "condition"]);
|
|
719
|
-
return t ? r ? A.createElement(F.Fragment, null, n) : A.createElement("div", u, n) : null;
|
|
720
|
-
};
|
|
721
|
-
function ft(i) {
|
|
722
|
-
return /* @__PURE__ */ function(e) {
|
|
723
|
-
sn(r, e);
|
|
724
|
-
function r(n) {
|
|
725
|
-
var t;
|
|
726
|
-
return nn(this, r), t = cn(this, qe(r).call(this, n)), t.isEventListenerAdded = !1, t.handleOrientationChange = t.handleOrientationChange.bind(Ve(t)), t.onOrientationChange = t.onOrientationChange.bind(Ve(t)), t.onPageLoad = t.onPageLoad.bind(Ve(t)), t.state = {
|
|
727
|
-
isLandscape: !1,
|
|
728
|
-
isPortrait: !1
|
|
729
|
-
}, t;
|
|
730
|
-
}
|
|
731
|
-
return on(r, [{
|
|
732
|
-
key: "handleOrientationChange",
|
|
733
|
-
value: function() {
|
|
734
|
-
this.isEventListenerAdded || (this.isEventListenerAdded = !0);
|
|
735
|
-
var t = window.innerWidth > window.innerHeight ? 90 : 0;
|
|
736
|
-
this.setState({
|
|
737
|
-
isPortrait: t === 0,
|
|
738
|
-
isLandscape: t === 90
|
|
739
|
-
});
|
|
740
|
-
}
|
|
741
|
-
}, {
|
|
742
|
-
key: "onOrientationChange",
|
|
743
|
-
value: function() {
|
|
744
|
-
this.handleOrientationChange();
|
|
745
|
-
}
|
|
746
|
-
}, {
|
|
747
|
-
key: "onPageLoad",
|
|
748
|
-
value: function() {
|
|
749
|
-
this.handleOrientationChange();
|
|
750
|
-
}
|
|
751
|
-
}, {
|
|
752
|
-
key: "componentDidMount",
|
|
753
|
-
value: function() {
|
|
754
|
-
(typeof window > "u" ? "undefined" : Ee(window)) !== void 0 && De && (this.isEventListenerAdded ? window.removeEventListener("load", this.onPageLoad, !1) : (this.handleOrientationChange(), window.addEventListener("load", this.onPageLoad, !1)), window.addEventListener("resize", this.onOrientationChange, !1));
|
|
755
|
-
}
|
|
756
|
-
}, {
|
|
757
|
-
key: "componentWillUnmount",
|
|
758
|
-
value: function() {
|
|
759
|
-
window.removeEventListener("resize", this.onOrientationChange, !1);
|
|
760
|
-
}
|
|
761
|
-
}, {
|
|
762
|
-
key: "render",
|
|
763
|
-
value: function() {
|
|
764
|
-
return A.createElement(i, $e({}, this.props, {
|
|
765
|
-
isLandscape: this.state.isLandscape,
|
|
766
|
-
isPortrait: this.state.isPortrait
|
|
767
|
-
}));
|
|
768
|
-
}
|
|
769
|
-
}]), r;
|
|
770
|
-
}(A.Component);
|
|
771
|
-
}
|
|
772
|
-
function wt() {
|
|
773
|
-
var i = F.useState(function() {
|
|
774
|
-
var u = window.innerWidth > window.innerHeight ? 90 : 0;
|
|
775
|
-
return {
|
|
776
|
-
isPortrait: u === 0,
|
|
777
|
-
isLandscape: u === 90,
|
|
778
|
-
orientation: u === 0 ? "portrait" : "landscape"
|
|
779
|
-
};
|
|
780
|
-
}), e = dn(i, 2), r = e[0], n = e[1], t = F.useCallback(function() {
|
|
781
|
-
var u = window.innerWidth > window.innerHeight ? 90 : 0, h = {
|
|
782
|
-
isPortrait: u === 0,
|
|
783
|
-
isLandscape: u === 90,
|
|
784
|
-
orientation: u === 0 ? "portrait" : "landscape"
|
|
785
|
-
};
|
|
786
|
-
r.orientation !== h.orientation && n(h);
|
|
787
|
-
}, [r.orientation]);
|
|
788
|
-
return F.useEffect(function() {
|
|
789
|
-
return (typeof window > "u" ? "undefined" : Ee(window)) !== void 0 && De && (t(), window.addEventListener("load", t, !1), window.addEventListener("resize", t, !1)), function() {
|
|
790
|
-
window.removeEventListener("resize", t, !1), window.removeEventListener("load", t, !1);
|
|
791
|
-
};
|
|
792
|
-
}, [t]), r;
|
|
793
|
-
}
|
|
794
|
-
function wi(i) {
|
|
795
|
-
var e = i || window.navigator.userAgent;
|
|
796
|
-
return ke(e);
|
|
797
|
-
}
|
|
798
|
-
function ht(i) {
|
|
799
|
-
var e = i || window.navigator.userAgent, r = wi(e), n = oi(r);
|
|
800
|
-
return [n, r];
|
|
801
|
-
}
|
|
802
|
-
d.AndroidView = nt;
|
|
803
|
-
d.BrowserTypes = $;
|
|
804
|
-
d.BrowserView = tt;
|
|
805
|
-
d.ConsoleView = pt;
|
|
806
|
-
d.CustomView = bt;
|
|
807
|
-
d.IEView = ot;
|
|
808
|
-
d.IOSView = at;
|
|
809
|
-
d.MobileOnlyView = dt;
|
|
810
|
-
d.MobileView = st;
|
|
811
|
-
d.OsTypes = ye;
|
|
812
|
-
d.SmartTVView = ut;
|
|
813
|
-
d.TabletView = lt;
|
|
814
|
-
d.WearableView = mt;
|
|
815
|
-
d.WinPhoneView = ct;
|
|
816
|
-
d.browserName = Dn;
|
|
817
|
-
d.browserVersion = Bn;
|
|
818
|
-
d.deviceDetect = En;
|
|
819
|
-
d.deviceType = Hn;
|
|
820
|
-
d.engineName = _n;
|
|
821
|
-
d.engineVersion = Ln;
|
|
822
|
-
d.fullBrowserVersion = Wn;
|
|
823
|
-
d.getSelectorsByUserAgent = it;
|
|
824
|
-
d.getUA = Fn;
|
|
825
|
-
d.isAndroid = pi;
|
|
826
|
-
d.isBrowser = ui;
|
|
827
|
-
d.isChrome = Cn;
|
|
828
|
-
d.isChromium = Sn;
|
|
829
|
-
d.isConsole = si;
|
|
830
|
-
d.isDesktop = Pn;
|
|
831
|
-
d.isEdge = zn;
|
|
832
|
-
d.isEdgeChromium = Qn;
|
|
833
|
-
d.isElectron = Xn;
|
|
834
|
-
d.isEmbedded = On;
|
|
835
|
-
d.isFirefox = Mn;
|
|
836
|
-
d.isIE = fi;
|
|
837
|
-
d.isIOS = bi;
|
|
838
|
-
d.isIOS13 = $n;
|
|
839
|
-
d.isIPad13 = qn;
|
|
840
|
-
d.isIPhone13 = Yn;
|
|
841
|
-
d.isIPod13 = Gn;
|
|
842
|
-
d.isLegacyEdge = Zn;
|
|
843
|
-
d.isMIUI = et;
|
|
844
|
-
d.isMacOs = Jn;
|
|
845
|
-
d.isMobile = De;
|
|
846
|
-
var vt = d.isMobileOnly = ci;
|
|
847
|
-
d.isMobileSafari = kn;
|
|
848
|
-
d.isOpera = In;
|
|
849
|
-
d.isSafari = An;
|
|
850
|
-
d.isSamsungBrowser = rt;
|
|
851
|
-
d.isSmartTV = ai;
|
|
852
|
-
var gt = d.isTablet = di;
|
|
853
|
-
d.isWearable = li;
|
|
854
|
-
d.isWinPhone = mi;
|
|
855
|
-
d.isWindows = Kn;
|
|
856
|
-
d.isYandex = jn;
|
|
857
|
-
d.mobileModel = Un;
|
|
858
|
-
d.mobileVendor = Rn;
|
|
859
|
-
d.osName = Nn;
|
|
860
|
-
d.osVersion = Vn;
|
|
861
|
-
d.parseUserAgent = ke;
|
|
862
|
-
d.setUserAgent = hn;
|
|
863
|
-
d.useDeviceData = wi;
|
|
864
|
-
d.useDeviceSelectors = ht;
|
|
865
|
-
d.useMobileOrientation = wt;
|
|
866
|
-
d.withOrientationChange = ft;
|
|
867
|
-
function yt(i, e, r) {
|
|
868
|
-
const n = e.getBoundingClientRect(), t = r && r.getBoundingClientRect(), u = hr(e);
|
|
869
|
-
let h;
|
|
870
|
-
if (e.fakeTransform)
|
|
871
|
-
h = e.fakeTransform;
|
|
79
|
+
function co(e, o, r) {
|
|
80
|
+
const t = o.getBoundingClientRect(), c = r && r.getBoundingClientRect(), f = ke(o);
|
|
81
|
+
let u;
|
|
82
|
+
if (o.fakeTransform)
|
|
83
|
+
u = o.fakeTransform;
|
|
872
84
|
else {
|
|
873
|
-
const
|
|
874
|
-
|
|
85
|
+
const m = f.getComputedStyle(o);
|
|
86
|
+
u = m.getPropertyValue("-webkit-transform") || m.getPropertyValue("transform");
|
|
875
87
|
}
|
|
876
|
-
let
|
|
877
|
-
if (
|
|
878
|
-
const
|
|
879
|
-
|
|
88
|
+
let h = 0, l = 0;
|
|
89
|
+
if (u && u !== "none" && typeof u == "string") {
|
|
90
|
+
const m = u.split("(")[1].split(")")[0].split(",");
|
|
91
|
+
h = parseInt(m[4], 10), l = parseInt(m[5], 10);
|
|
880
92
|
}
|
|
881
|
-
return
|
|
93
|
+
return e === "left" ? c ? `translateX(${c.right + h - t.left}px)` : `translateX(${f.innerWidth + h - t.left}px)` : e === "right" ? c ? `translateX(-${t.right - c.left - h}px)` : `translateX(-${t.left + t.width - h}px)` : e === "up" ? c ? `translateY(${c.bottom + l - t.top}px)` : `translateY(${f.innerHeight + l - t.top}px)` : c ? `translateY(-${t.top - c.top + t.height - l}px)` : `translateY(-${t.top + t.height - l}px)`;
|
|
882
94
|
}
|
|
883
|
-
function
|
|
884
|
-
return typeof
|
|
95
|
+
function Te(e) {
|
|
96
|
+
return typeof e == "function" ? e() : e;
|
|
885
97
|
}
|
|
886
|
-
function
|
|
887
|
-
const
|
|
888
|
-
|
|
98
|
+
function J(e, o, r) {
|
|
99
|
+
const t = Te(r), c = co(e, o, t);
|
|
100
|
+
c && (o.style.webkitTransform = c, o.style.transform = c);
|
|
889
101
|
}
|
|
890
|
-
const
|
|
891
|
-
const
|
|
892
|
-
enter:
|
|
893
|
-
exit:
|
|
894
|
-
},
|
|
895
|
-
enter:
|
|
896
|
-
exit:
|
|
102
|
+
const $e = /* @__PURE__ */ w.forwardRef(function(o, r) {
|
|
103
|
+
const t = we(), c = {
|
|
104
|
+
enter: t.transitions.easing.easeOut,
|
|
105
|
+
exit: t.transitions.easing.sharp
|
|
106
|
+
}, f = {
|
|
107
|
+
enter: t.transitions.duration.enteringScreen,
|
|
108
|
+
exit: t.transitions.duration.leavingScreen
|
|
897
109
|
}, {
|
|
898
|
-
addEndListener:
|
|
899
|
-
appear:
|
|
900
|
-
children:
|
|
901
|
-
container:
|
|
902
|
-
direction:
|
|
903
|
-
easing:
|
|
904
|
-
in:
|
|
905
|
-
onEnter:
|
|
906
|
-
onEntered:
|
|
907
|
-
onEntering:
|
|
908
|
-
onExit:
|
|
909
|
-
onExited:
|
|
910
|
-
onExiting:
|
|
911
|
-
style:
|
|
912
|
-
timeout:
|
|
110
|
+
addEndListener: u,
|
|
111
|
+
appear: h = !0,
|
|
112
|
+
children: l,
|
|
113
|
+
container: m,
|
|
114
|
+
direction: p = "down",
|
|
115
|
+
easing: M = c,
|
|
116
|
+
in: k,
|
|
117
|
+
onEnter: B,
|
|
118
|
+
onEntered: L,
|
|
119
|
+
onEntering: N,
|
|
120
|
+
onExit: C,
|
|
121
|
+
onExited: R,
|
|
122
|
+
onExiting: O,
|
|
123
|
+
style: I,
|
|
124
|
+
timeout: S = f,
|
|
913
125
|
// eslint-disable-next-line react/prop-types
|
|
914
|
-
TransitionComponent:
|
|
915
|
-
...
|
|
916
|
-
} =
|
|
917
|
-
|
|
918
|
-
},
|
|
919
|
-
|
|
920
|
-
}),
|
|
921
|
-
const
|
|
922
|
-
timeout:
|
|
923
|
-
style:
|
|
924
|
-
easing:
|
|
126
|
+
TransitionComponent: g = Ye,
|
|
127
|
+
...v
|
|
128
|
+
} = o, b = w.useRef(null), D = no(Qe(l), b, r), x = (s) => (d) => {
|
|
129
|
+
s && (d === void 0 ? s(b.current) : s(b.current, d));
|
|
130
|
+
}, T = x((s, d) => {
|
|
131
|
+
J(p, s, m), _e(s), B && B(s, d);
|
|
132
|
+
}), $ = x((s, d) => {
|
|
133
|
+
const Q = ue({
|
|
134
|
+
timeout: S,
|
|
135
|
+
style: I,
|
|
136
|
+
easing: M
|
|
925
137
|
}, {
|
|
926
138
|
mode: "enter"
|
|
927
139
|
});
|
|
928
|
-
|
|
929
|
-
...
|
|
930
|
-
}),
|
|
931
|
-
...
|
|
932
|
-
}),
|
|
933
|
-
}),
|
|
934
|
-
const
|
|
935
|
-
timeout:
|
|
936
|
-
style:
|
|
937
|
-
easing:
|
|
140
|
+
s.style.webkitTransition = t.transitions.create("-webkit-transform", {
|
|
141
|
+
...Q
|
|
142
|
+
}), s.style.transition = t.transitions.create("transform", {
|
|
143
|
+
...Q
|
|
144
|
+
}), s.style.webkitTransform = "none", s.style.transform = "none", N && N(s, d);
|
|
145
|
+
}), A = x(L), j = x(O), z = x((s) => {
|
|
146
|
+
const d = ue({
|
|
147
|
+
timeout: S,
|
|
148
|
+
style: I,
|
|
149
|
+
easing: M
|
|
938
150
|
}, {
|
|
939
151
|
mode: "exit"
|
|
940
152
|
});
|
|
941
|
-
|
|
942
|
-
}),
|
|
943
|
-
|
|
944
|
-
}),
|
|
945
|
-
|
|
946
|
-
},
|
|
947
|
-
|
|
948
|
-
}, [
|
|
949
|
-
return
|
|
950
|
-
if (
|
|
153
|
+
s.style.webkitTransition = t.transitions.create("-webkit-transform", d), s.style.transition = t.transitions.create("transform", d), J(p, s, m), C && C(s);
|
|
154
|
+
}), W = x((s) => {
|
|
155
|
+
s.style.webkitTransition = "", s.style.transition = "", R && R(s);
|
|
156
|
+
}), U = (s) => {
|
|
157
|
+
u && u(b.current, s);
|
|
158
|
+
}, X = w.useCallback(() => {
|
|
159
|
+
b.current && J(p, b.current, m);
|
|
160
|
+
}, [p, m]);
|
|
161
|
+
return w.useEffect(() => {
|
|
162
|
+
if (k || p === "down" || p === "right")
|
|
951
163
|
return;
|
|
952
|
-
const
|
|
953
|
-
|
|
954
|
-
}),
|
|
955
|
-
return
|
|
956
|
-
|
|
164
|
+
const s = Ze(() => {
|
|
165
|
+
b.current && J(p, b.current, m);
|
|
166
|
+
}), d = ke(b.current);
|
|
167
|
+
return d.addEventListener("resize", s), () => {
|
|
168
|
+
s.clear(), d.removeEventListener("resize", s);
|
|
957
169
|
};
|
|
958
|
-
}, [
|
|
959
|
-
|
|
960
|
-
}, [
|
|
961
|
-
nodeRef:
|
|
962
|
-
onEnter:
|
|
963
|
-
onEntered:
|
|
964
|
-
onEntering:
|
|
965
|
-
onExit:
|
|
966
|
-
onExited:
|
|
967
|
-
onExiting:
|
|
968
|
-
addEndListener:
|
|
969
|
-
appear:
|
|
970
|
-
in:
|
|
971
|
-
timeout:
|
|
972
|
-
...
|
|
973
|
-
children: (
|
|
974
|
-
ref:
|
|
170
|
+
}, [p, k, m]), w.useEffect(() => {
|
|
171
|
+
k || X();
|
|
172
|
+
}, [k, X]), /* @__PURE__ */ a(g, {
|
|
173
|
+
nodeRef: b,
|
|
174
|
+
onEnter: T,
|
|
175
|
+
onEntered: A,
|
|
176
|
+
onEntering: $,
|
|
177
|
+
onExit: z,
|
|
178
|
+
onExited: W,
|
|
179
|
+
onExiting: j,
|
|
180
|
+
addEndListener: U,
|
|
181
|
+
appear: h,
|
|
182
|
+
in: k,
|
|
183
|
+
timeout: S,
|
|
184
|
+
...v,
|
|
185
|
+
children: (s, d) => /* @__PURE__ */ w.cloneElement(l, {
|
|
186
|
+
ref: D,
|
|
975
187
|
style: {
|
|
976
|
-
visibility:
|
|
977
|
-
...
|
|
978
|
-
...
|
|
188
|
+
visibility: s === "exited" && !k ? "hidden" : void 0,
|
|
189
|
+
...I,
|
|
190
|
+
...l.props.style
|
|
979
191
|
},
|
|
980
|
-
...
|
|
192
|
+
...d
|
|
981
193
|
})
|
|
982
194
|
});
|
|
983
195
|
});
|
|
984
|
-
process.env.NODE_ENV !== "production" && (
|
|
196
|
+
process.env.NODE_ENV !== "production" && ($e.propTypes = {
|
|
985
197
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
986
198
|
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
987
199
|
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
@@ -991,30 +203,30 @@ process.env.NODE_ENV !== "production" && (vi.propTypes = {
|
|
|
991
203
|
* node and a done callback. Allows for more fine grained transition end
|
|
992
204
|
* logic. Note: Timeouts are still used as a fallback if provided.
|
|
993
205
|
*/
|
|
994
|
-
addEndListener:
|
|
206
|
+
addEndListener: n.func,
|
|
995
207
|
/**
|
|
996
208
|
* Perform the enter transition when it first mounts if `in` is also `true`.
|
|
997
209
|
* Set this to `false` to disable this behavior.
|
|
998
210
|
* @default true
|
|
999
211
|
*/
|
|
1000
|
-
appear:
|
|
212
|
+
appear: n.bool,
|
|
1001
213
|
/**
|
|
1002
214
|
* A single child content element.
|
|
1003
215
|
*/
|
|
1004
|
-
children:
|
|
216
|
+
children: Xe.isRequired,
|
|
1005
217
|
/**
|
|
1006
218
|
* An HTML element, or a function that returns one.
|
|
1007
219
|
* It's used to set the container the Slide is transitioning from.
|
|
1008
220
|
*/
|
|
1009
|
-
container:
|
|
1010
|
-
if (
|
|
1011
|
-
const
|
|
1012
|
-
if (
|
|
1013
|
-
const r =
|
|
221
|
+
container: to(n.oneOfType([Ge, n.func]), (e) => {
|
|
222
|
+
if (e.open) {
|
|
223
|
+
const o = Te(e.container);
|
|
224
|
+
if (o && o.nodeType === 1) {
|
|
225
|
+
const r = o.getBoundingClientRect();
|
|
1014
226
|
if (process.env.NODE_ENV !== "test" && r.top === 0 && r.left === 0 && r.right === 0 && r.bottom === 0)
|
|
1015
227
|
return new Error(["MUI: The `container` prop provided to the component is invalid.", "The anchor element should be part of the document layout.", "Make sure the element is present in the document or that it's not display none."].join(`
|
|
1016
228
|
`));
|
|
1017
|
-
} else if (!
|
|
229
|
+
} else if (!o || typeof o.getBoundingClientRect != "function" || o.contextElement != null && o.contextElement.nodeType !== 1)
|
|
1018
230
|
return new Error(["MUI: The `container` prop provided to the component is invalid.", "It should be an HTML element instance."].join(`
|
|
1019
231
|
`));
|
|
1020
232
|
}
|
|
@@ -1024,7 +236,7 @@ process.env.NODE_ENV !== "production" && (vi.propTypes = {
|
|
|
1024
236
|
* Direction the child node will enter from.
|
|
1025
237
|
* @default 'down'
|
|
1026
238
|
*/
|
|
1027
|
-
direction:
|
|
239
|
+
direction: n.oneOf(["down", "left", "right", "up"]),
|
|
1028
240
|
/**
|
|
1029
241
|
* The transition timing function.
|
|
1030
242
|
* You may specify a single easing or a object containing enter and exit values.
|
|
@@ -1033,42 +245,42 @@ process.env.NODE_ENV !== "production" && (vi.propTypes = {
|
|
|
1033
245
|
* exit: theme.transitions.easing.sharp,
|
|
1034
246
|
* }
|
|
1035
247
|
*/
|
|
1036
|
-
easing:
|
|
1037
|
-
enter:
|
|
1038
|
-
exit:
|
|
1039
|
-
}),
|
|
248
|
+
easing: n.oneOfType([n.shape({
|
|
249
|
+
enter: n.string,
|
|
250
|
+
exit: n.string
|
|
251
|
+
}), n.string]),
|
|
1040
252
|
/**
|
|
1041
253
|
* If `true`, the component will transition in.
|
|
1042
254
|
*/
|
|
1043
|
-
in:
|
|
255
|
+
in: n.bool,
|
|
1044
256
|
/**
|
|
1045
257
|
* @ignore
|
|
1046
258
|
*/
|
|
1047
|
-
onEnter:
|
|
259
|
+
onEnter: n.func,
|
|
1048
260
|
/**
|
|
1049
261
|
* @ignore
|
|
1050
262
|
*/
|
|
1051
|
-
onEntered:
|
|
263
|
+
onEntered: n.func,
|
|
1052
264
|
/**
|
|
1053
265
|
* @ignore
|
|
1054
266
|
*/
|
|
1055
|
-
onEntering:
|
|
267
|
+
onEntering: n.func,
|
|
1056
268
|
/**
|
|
1057
269
|
* @ignore
|
|
1058
270
|
*/
|
|
1059
|
-
onExit:
|
|
271
|
+
onExit: n.func,
|
|
1060
272
|
/**
|
|
1061
273
|
* @ignore
|
|
1062
274
|
*/
|
|
1063
|
-
onExited:
|
|
275
|
+
onExited: n.func,
|
|
1064
276
|
/**
|
|
1065
277
|
* @ignore
|
|
1066
278
|
*/
|
|
1067
|
-
onExiting:
|
|
279
|
+
onExiting: n.func,
|
|
1068
280
|
/**
|
|
1069
281
|
* @ignore
|
|
1070
282
|
*/
|
|
1071
|
-
style:
|
|
283
|
+
style: n.object,
|
|
1072
284
|
/**
|
|
1073
285
|
* The duration for the transition, in milliseconds.
|
|
1074
286
|
* You may specify a single timeout for all transitions, or individually with an object.
|
|
@@ -1077,67 +289,67 @@ process.env.NODE_ENV !== "production" && (vi.propTypes = {
|
|
|
1077
289
|
* exit: theme.transitions.duration.leavingScreen,
|
|
1078
290
|
* }
|
|
1079
291
|
*/
|
|
1080
|
-
timeout:
|
|
1081
|
-
appear:
|
|
1082
|
-
enter:
|
|
1083
|
-
exit:
|
|
292
|
+
timeout: n.oneOfType([n.number, n.shape({
|
|
293
|
+
appear: n.number,
|
|
294
|
+
enter: n.number,
|
|
295
|
+
exit: n.number
|
|
1084
296
|
})])
|
|
1085
297
|
});
|
|
1086
|
-
function
|
|
1087
|
-
return
|
|
298
|
+
function lo(e) {
|
|
299
|
+
return Ae("MuiDrawer", e);
|
|
1088
300
|
}
|
|
1089
|
-
|
|
1090
|
-
const
|
|
301
|
+
je("MuiDrawer", ["root", "docked", "paper", "paperAnchorLeft", "paperAnchorRight", "paperAnchorTop", "paperAnchorBottom", "paperAnchorDockedLeft", "paperAnchorDockedRight", "paperAnchorDockedTop", "paperAnchorDockedBottom", "modal"]);
|
|
302
|
+
const Ee = (e, o) => {
|
|
1091
303
|
const {
|
|
1092
304
|
ownerState: r
|
|
1093
|
-
} =
|
|
1094
|
-
return [
|
|
1095
|
-
},
|
|
305
|
+
} = e;
|
|
306
|
+
return [o.root, (r.variant === "permanent" || r.variant === "persistent") && o.docked, o.modal];
|
|
307
|
+
}, po = (e) => {
|
|
1096
308
|
const {
|
|
1097
|
-
classes:
|
|
309
|
+
classes: o,
|
|
1098
310
|
anchor: r,
|
|
1099
|
-
variant:
|
|
1100
|
-
} =
|
|
311
|
+
variant: t
|
|
312
|
+
} = e, c = {
|
|
1101
313
|
root: ["root"],
|
|
1102
|
-
docked: [(
|
|
314
|
+
docked: [(t === "permanent" || t === "persistent") && "docked"],
|
|
1103
315
|
modal: ["modal"],
|
|
1104
|
-
paper: ["paper", `paperAnchor${
|
|
316
|
+
paper: ["paper", `paperAnchor${Z(r)}`, t !== "temporary" && `paperAnchorDocked${Z(r)}`]
|
|
1105
317
|
};
|
|
1106
|
-
return
|
|
1107
|
-
},
|
|
318
|
+
return Fe(c, lo, o);
|
|
319
|
+
}, ho = ae(qe, {
|
|
1108
320
|
name: "MuiDrawer",
|
|
1109
321
|
slot: "Root",
|
|
1110
|
-
overridesResolver:
|
|
1111
|
-
})(
|
|
1112
|
-
theme:
|
|
322
|
+
overridesResolver: Ee
|
|
323
|
+
})(ye(({
|
|
324
|
+
theme: e
|
|
1113
325
|
}) => ({
|
|
1114
|
-
zIndex: (
|
|
1115
|
-
}))),
|
|
1116
|
-
shouldForwardProp:
|
|
326
|
+
zIndex: (e.vars || e).zIndex.drawer
|
|
327
|
+
}))), me = ae("div", {
|
|
328
|
+
shouldForwardProp: Ue,
|
|
1117
329
|
name: "MuiDrawer",
|
|
1118
330
|
slot: "Docked",
|
|
1119
331
|
skipVariantsResolver: !1,
|
|
1120
|
-
overridesResolver:
|
|
332
|
+
overridesResolver: Ee
|
|
1121
333
|
})({
|
|
1122
334
|
flex: "0 0 auto"
|
|
1123
|
-
}),
|
|
335
|
+
}), uo = ae(eo, {
|
|
1124
336
|
name: "MuiDrawer",
|
|
1125
337
|
slot: "Paper",
|
|
1126
|
-
overridesResolver: (
|
|
338
|
+
overridesResolver: (e, o) => {
|
|
1127
339
|
const {
|
|
1128
340
|
ownerState: r
|
|
1129
|
-
} =
|
|
1130
|
-
return [
|
|
341
|
+
} = e;
|
|
342
|
+
return [o.paper, o[`paperAnchor${Z(r.anchor)}`], r.variant !== "temporary" && o[`paperAnchorDocked${Z(r.anchor)}`]];
|
|
1131
343
|
}
|
|
1132
|
-
})(
|
|
1133
|
-
theme:
|
|
344
|
+
})(ye(({
|
|
345
|
+
theme: e
|
|
1134
346
|
}) => ({
|
|
1135
347
|
overflowY: "auto",
|
|
1136
348
|
display: "flex",
|
|
1137
349
|
flexDirection: "column",
|
|
1138
350
|
height: "100%",
|
|
1139
351
|
flex: "1 0 auto",
|
|
1140
|
-
zIndex: (
|
|
352
|
+
zIndex: (e.vars || e).zIndex.drawer,
|
|
1141
353
|
// Add iOS momentum scrolling for iOS < 13.0
|
|
1142
354
|
WebkitOverflowScrolling: "touch",
|
|
1143
355
|
// temporary style
|
|
@@ -1186,135 +398,135 @@ const gi = (i, e) => {
|
|
|
1186
398
|
}
|
|
1187
399
|
}, {
|
|
1188
400
|
props: ({
|
|
1189
|
-
ownerState:
|
|
1190
|
-
}) =>
|
|
401
|
+
ownerState: o
|
|
402
|
+
}) => o.anchor === "left" && o.variant !== "temporary",
|
|
1191
403
|
style: {
|
|
1192
|
-
borderRight: `1px solid ${(
|
|
404
|
+
borderRight: `1px solid ${(e.vars || e).palette.divider}`
|
|
1193
405
|
}
|
|
1194
406
|
}, {
|
|
1195
407
|
props: ({
|
|
1196
|
-
ownerState:
|
|
1197
|
-
}) =>
|
|
408
|
+
ownerState: o
|
|
409
|
+
}) => o.anchor === "top" && o.variant !== "temporary",
|
|
1198
410
|
style: {
|
|
1199
|
-
borderBottom: `1px solid ${(
|
|
411
|
+
borderBottom: `1px solid ${(e.vars || e).palette.divider}`
|
|
1200
412
|
}
|
|
1201
413
|
}, {
|
|
1202
414
|
props: ({
|
|
1203
|
-
ownerState:
|
|
1204
|
-
}) =>
|
|
415
|
+
ownerState: o
|
|
416
|
+
}) => o.anchor === "right" && o.variant !== "temporary",
|
|
1205
417
|
style: {
|
|
1206
|
-
borderLeft: `1px solid ${(
|
|
418
|
+
borderLeft: `1px solid ${(e.vars || e).palette.divider}`
|
|
1207
419
|
}
|
|
1208
420
|
}, {
|
|
1209
421
|
props: ({
|
|
1210
|
-
ownerState:
|
|
1211
|
-
}) =>
|
|
422
|
+
ownerState: o
|
|
423
|
+
}) => o.anchor === "bottom" && o.variant !== "temporary",
|
|
1212
424
|
style: {
|
|
1213
|
-
borderTop: `1px solid ${(
|
|
425
|
+
borderTop: `1px solid ${(e.vars || e).palette.divider}`
|
|
1214
426
|
}
|
|
1215
427
|
}]
|
|
1216
|
-
}))),
|
|
428
|
+
}))), Pe = {
|
|
1217
429
|
left: "right",
|
|
1218
430
|
right: "left",
|
|
1219
431
|
top: "down",
|
|
1220
432
|
bottom: "up"
|
|
1221
433
|
};
|
|
1222
|
-
function
|
|
1223
|
-
return ["left", "right"].includes(
|
|
434
|
+
function fo(e) {
|
|
435
|
+
return ["left", "right"].includes(e);
|
|
1224
436
|
}
|
|
1225
|
-
function
|
|
1226
|
-
direction:
|
|
1227
|
-
},
|
|
1228
|
-
return
|
|
437
|
+
function mo({
|
|
438
|
+
direction: e
|
|
439
|
+
}, o) {
|
|
440
|
+
return e === "rtl" && fo(o) ? Pe[o] : o;
|
|
1229
441
|
}
|
|
1230
|
-
const
|
|
1231
|
-
const
|
|
1232
|
-
props:
|
|
442
|
+
const F = /* @__PURE__ */ w.forwardRef(function(o, r) {
|
|
443
|
+
const t = Ve({
|
|
444
|
+
props: o,
|
|
1233
445
|
name: "MuiDrawer"
|
|
1234
|
-
}),
|
|
1235
|
-
enter:
|
|
1236
|
-
exit:
|
|
446
|
+
}), c = we(), f = Je(), u = {
|
|
447
|
+
enter: c.transitions.duration.enteringScreen,
|
|
448
|
+
exit: c.transitions.duration.leavingScreen
|
|
1237
449
|
}, {
|
|
1238
|
-
anchor:
|
|
1239
|
-
BackdropProps:
|
|
1240
|
-
children:
|
|
1241
|
-
className:
|
|
1242
|
-
elevation:
|
|
1243
|
-
hideBackdrop:
|
|
450
|
+
anchor: h = "left",
|
|
451
|
+
BackdropProps: l,
|
|
452
|
+
children: m,
|
|
453
|
+
className: p,
|
|
454
|
+
elevation: M = 16,
|
|
455
|
+
hideBackdrop: k = !1,
|
|
1244
456
|
ModalProps: {
|
|
1245
|
-
BackdropProps:
|
|
1246
|
-
...
|
|
457
|
+
BackdropProps: B,
|
|
458
|
+
...L
|
|
1247
459
|
} = {},
|
|
1248
|
-
onClose:
|
|
1249
|
-
open:
|
|
1250
|
-
PaperProps:
|
|
1251
|
-
SlideProps:
|
|
460
|
+
onClose: N,
|
|
461
|
+
open: C = !1,
|
|
462
|
+
PaperProps: R = {},
|
|
463
|
+
SlideProps: O,
|
|
1252
464
|
// eslint-disable-next-line react/prop-types
|
|
1253
|
-
TransitionComponent:
|
|
1254
|
-
transitionDuration:
|
|
1255
|
-
variant:
|
|
1256
|
-
...
|
|
1257
|
-
} =
|
|
1258
|
-
|
|
1259
|
-
|
|
465
|
+
TransitionComponent: I = $e,
|
|
466
|
+
transitionDuration: S = u,
|
|
467
|
+
variant: g = "temporary",
|
|
468
|
+
...v
|
|
469
|
+
} = t, b = w.useRef(!1);
|
|
470
|
+
w.useEffect(() => {
|
|
471
|
+
b.current = !0;
|
|
1260
472
|
}, []);
|
|
1261
|
-
const
|
|
1262
|
-
direction:
|
|
1263
|
-
},
|
|
1264
|
-
...
|
|
1265
|
-
anchor:
|
|
1266
|
-
elevation:
|
|
1267
|
-
open:
|
|
1268
|
-
variant:
|
|
1269
|
-
...
|
|
1270
|
-
},
|
|
1271
|
-
elevation:
|
|
473
|
+
const D = mo({
|
|
474
|
+
direction: f ? "rtl" : "ltr"
|
|
475
|
+
}, h), T = {
|
|
476
|
+
...t,
|
|
477
|
+
anchor: h,
|
|
478
|
+
elevation: M,
|
|
479
|
+
open: C,
|
|
480
|
+
variant: g,
|
|
481
|
+
...v
|
|
482
|
+
}, $ = po(T), A = /* @__PURE__ */ a(uo, {
|
|
483
|
+
elevation: g === "temporary" ? M : 0,
|
|
1272
484
|
square: !0,
|
|
1273
|
-
...
|
|
1274
|
-
className:
|
|
1275
|
-
ownerState:
|
|
1276
|
-
children:
|
|
485
|
+
...R,
|
|
486
|
+
className: _($.paper, R.className),
|
|
487
|
+
ownerState: T,
|
|
488
|
+
children: m
|
|
1277
489
|
});
|
|
1278
|
-
if (
|
|
1279
|
-
return /* @__PURE__ */
|
|
1280
|
-
className:
|
|
1281
|
-
ownerState:
|
|
490
|
+
if (g === "permanent")
|
|
491
|
+
return /* @__PURE__ */ a(me, {
|
|
492
|
+
className: _($.root, $.docked, p),
|
|
493
|
+
ownerState: T,
|
|
1282
494
|
ref: r,
|
|
1283
|
-
...
|
|
1284
|
-
children:
|
|
495
|
+
...v,
|
|
496
|
+
children: A
|
|
1285
497
|
});
|
|
1286
|
-
const
|
|
1287
|
-
in:
|
|
1288
|
-
direction:
|
|
1289
|
-
timeout:
|
|
1290
|
-
appear:
|
|
1291
|
-
...
|
|
1292
|
-
children:
|
|
498
|
+
const j = /* @__PURE__ */ a(I, {
|
|
499
|
+
in: C,
|
|
500
|
+
direction: Pe[D],
|
|
501
|
+
timeout: S,
|
|
502
|
+
appear: b.current,
|
|
503
|
+
...O,
|
|
504
|
+
children: A
|
|
1293
505
|
});
|
|
1294
|
-
return
|
|
1295
|
-
className:
|
|
1296
|
-
ownerState:
|
|
506
|
+
return g === "persistent" ? /* @__PURE__ */ a(me, {
|
|
507
|
+
className: _($.root, $.docked, p),
|
|
508
|
+
ownerState: T,
|
|
1297
509
|
ref: r,
|
|
1298
|
-
...
|
|
1299
|
-
children:
|
|
1300
|
-
}) : /* @__PURE__ */
|
|
510
|
+
...v,
|
|
511
|
+
children: j
|
|
512
|
+
}) : /* @__PURE__ */ a(ho, {
|
|
1301
513
|
BackdropProps: {
|
|
1302
|
-
...T,
|
|
1303
514
|
...l,
|
|
1304
|
-
|
|
515
|
+
...B,
|
|
516
|
+
transitionDuration: S
|
|
1305
517
|
},
|
|
1306
|
-
className:
|
|
1307
|
-
open:
|
|
1308
|
-
ownerState:
|
|
1309
|
-
onClose:
|
|
1310
|
-
hideBackdrop:
|
|
518
|
+
className: _($.root, $.modal, p),
|
|
519
|
+
open: C,
|
|
520
|
+
ownerState: T,
|
|
521
|
+
onClose: N,
|
|
522
|
+
hideBackdrop: k,
|
|
1311
523
|
ref: r,
|
|
1312
|
-
...
|
|
1313
|
-
...
|
|
1314
|
-
children:
|
|
524
|
+
...v,
|
|
525
|
+
...L,
|
|
526
|
+
children: j
|
|
1315
527
|
});
|
|
1316
528
|
});
|
|
1317
|
-
process.env.NODE_ENV !== "production" && (
|
|
529
|
+
process.env.NODE_ENV !== "production" && (F.propTypes = {
|
|
1318
530
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
1319
531
|
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
1320
532
|
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
@@ -1323,38 +535,38 @@ process.env.NODE_ENV !== "production" && (Re.propTypes = {
|
|
|
1323
535
|
* Side from which the drawer will appear.
|
|
1324
536
|
* @default 'left'
|
|
1325
537
|
*/
|
|
1326
|
-
anchor:
|
|
538
|
+
anchor: n.oneOf(["bottom", "left", "right", "top"]),
|
|
1327
539
|
/**
|
|
1328
540
|
* @ignore
|
|
1329
541
|
*/
|
|
1330
|
-
BackdropProps:
|
|
542
|
+
BackdropProps: n.object,
|
|
1331
543
|
/**
|
|
1332
544
|
* The content of the component.
|
|
1333
545
|
*/
|
|
1334
|
-
children:
|
|
546
|
+
children: n.node,
|
|
1335
547
|
/**
|
|
1336
548
|
* Override or extend the styles applied to the component.
|
|
1337
549
|
*/
|
|
1338
|
-
classes:
|
|
550
|
+
classes: n.object,
|
|
1339
551
|
/**
|
|
1340
552
|
* @ignore
|
|
1341
553
|
*/
|
|
1342
|
-
className:
|
|
554
|
+
className: n.string,
|
|
1343
555
|
/**
|
|
1344
556
|
* The elevation of the drawer.
|
|
1345
557
|
* @default 16
|
|
1346
558
|
*/
|
|
1347
|
-
elevation:
|
|
559
|
+
elevation: oo,
|
|
1348
560
|
/**
|
|
1349
561
|
* If `true`, the backdrop is not rendered.
|
|
1350
562
|
* @default false
|
|
1351
563
|
*/
|
|
1352
|
-
hideBackdrop:
|
|
564
|
+
hideBackdrop: n.bool,
|
|
1353
565
|
/**
|
|
1354
566
|
* Props applied to the [`Modal`](https://mui.com/material-ui/api/modal/) element.
|
|
1355
567
|
* @default {}
|
|
1356
568
|
*/
|
|
1357
|
-
ModalProps:
|
|
569
|
+
ModalProps: n.object,
|
|
1358
570
|
/**
|
|
1359
571
|
* Callback fired when the component requests to be closed.
|
|
1360
572
|
* The `reason` parameter can optionally be used to control the response to `onClose`.
|
|
@@ -1362,25 +574,25 @@ process.env.NODE_ENV !== "production" && (Re.propTypes = {
|
|
|
1362
574
|
* @param {object} event The event source of the callback.
|
|
1363
575
|
* @param {string} reason Can be: `"escapeKeyDown"`, `"backdropClick"`.
|
|
1364
576
|
*/
|
|
1365
|
-
onClose:
|
|
577
|
+
onClose: n.func,
|
|
1366
578
|
/**
|
|
1367
579
|
* If `true`, the component is shown.
|
|
1368
580
|
* @default false
|
|
1369
581
|
*/
|
|
1370
|
-
open:
|
|
582
|
+
open: n.bool,
|
|
1371
583
|
/**
|
|
1372
584
|
* Props applied to the [`Paper`](https://mui.com/material-ui/api/paper/) element.
|
|
1373
585
|
* @default {}
|
|
1374
586
|
*/
|
|
1375
|
-
PaperProps:
|
|
587
|
+
PaperProps: n.object,
|
|
1376
588
|
/**
|
|
1377
589
|
* Props applied to the [`Slide`](https://mui.com/material-ui/api/slide/) element.
|
|
1378
590
|
*/
|
|
1379
|
-
SlideProps:
|
|
591
|
+
SlideProps: n.object,
|
|
1380
592
|
/**
|
|
1381
593
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
1382
594
|
*/
|
|
1383
|
-
sx:
|
|
595
|
+
sx: n.oneOfType([n.arrayOf(n.oneOfType([n.func, n.object, n.bool])), n.func, n.object]),
|
|
1384
596
|
/**
|
|
1385
597
|
* The duration for the transition, in milliseconds.
|
|
1386
598
|
* You may specify a single timeout for all transitions, or individually with an object.
|
|
@@ -1389,97 +601,105 @@ process.env.NODE_ENV !== "production" && (Re.propTypes = {
|
|
|
1389
601
|
* exit: theme.transitions.duration.leavingScreen,
|
|
1390
602
|
* }
|
|
1391
603
|
*/
|
|
1392
|
-
transitionDuration:
|
|
1393
|
-
appear:
|
|
1394
|
-
enter:
|
|
1395
|
-
exit:
|
|
604
|
+
transitionDuration: n.oneOfType([n.number, n.shape({
|
|
605
|
+
appear: n.number,
|
|
606
|
+
enter: n.number,
|
|
607
|
+
exit: n.number
|
|
1396
608
|
})]),
|
|
1397
609
|
/**
|
|
1398
610
|
* The variant to use.
|
|
1399
611
|
* @default 'temporary'
|
|
1400
612
|
*/
|
|
1401
|
-
variant:
|
|
613
|
+
variant: n.oneOf(["permanent", "persistent", "temporary"])
|
|
1402
614
|
});
|
|
1403
|
-
const
|
|
615
|
+
const ge = q(/* @__PURE__ */ a("path", {
|
|
1404
616
|
d: "m12 4-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z"
|
|
1405
|
-
}), "ArrowForward"),
|
|
617
|
+
}), "ArrowForward"), go = q(/* @__PURE__ */ a("path", {
|
|
1406
618
|
d: "m17 7-1.41 1.41L18.17 11H8v2h10.17l-2.58 2.58L17 17l5-5zM4 5h8V3H4c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h8v-2H4z"
|
|
1407
|
-
}), "Logout"),
|
|
619
|
+
}), "Logout"), be = q(/* @__PURE__ */ a("path", {
|
|
1408
620
|
d: "M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2m5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12z"
|
|
1409
|
-
}), "Cancel"),
|
|
621
|
+
}), "Cancel"), bo = q(/* @__PURE__ */ a("path", {
|
|
622
|
+
d: "M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2"
|
|
623
|
+
}), "MoreHoriz"), xo = y("div", {
|
|
624
|
+
shouldForwardProp: (e) => ee(e)
|
|
625
|
+
})(({ backgroundColor: e }) => ({
|
|
1410
626
|
display: "flex",
|
|
1411
627
|
flexDirection: "column",
|
|
1412
628
|
width: "100vw",
|
|
1413
629
|
position: "relative",
|
|
1414
|
-
backgroundColor:
|
|
630
|
+
backgroundColor: e,
|
|
1415
631
|
height: "100vh",
|
|
1416
632
|
fontFamily: "Roboto, sans-serif",
|
|
1417
633
|
overflow: "hidden"
|
|
1418
|
-
})),
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
634
|
+
})), vo = y("div")(
|
|
635
|
+
({ tabletPadding: e, mobile: o }) => ({
|
|
636
|
+
display: "flex",
|
|
637
|
+
flexDirection: o ? "column-reverse" : "row",
|
|
638
|
+
justifyContent: "flex-start",
|
|
639
|
+
alignItems: "flex-start",
|
|
640
|
+
width: "100%",
|
|
641
|
+
padding: o ? 0 : "0 2px 4px",
|
|
642
|
+
paddingLeft: e ? "2px" : 0,
|
|
643
|
+
boxSizing: "border-box",
|
|
644
|
+
minHeight: `calc(100% - ${i.constants.appHeaderHeight}px)`
|
|
645
|
+
})
|
|
646
|
+
), wo = y("div", {
|
|
647
|
+
shouldForwardProp: (e) => ee(e)
|
|
648
|
+
})(({ withActionsPanel: e, tablet: o, borderColor: r, backgroundColor: t }) => ({
|
|
1429
649
|
display: "flex",
|
|
1430
650
|
flexDirection: "column",
|
|
1431
|
-
opacity:
|
|
651
|
+
opacity: e ? 1 : 0,
|
|
1432
652
|
border: `1px solid ${r}`,
|
|
1433
653
|
borderRight: 0,
|
|
1434
654
|
borderRadius: "4px",
|
|
1435
655
|
borderTopRightRadius: 0,
|
|
1436
656
|
borderBottomRightRadius: 0,
|
|
1437
|
-
height:
|
|
657
|
+
height: e ? "calc(100% + 2px)" : "100%",
|
|
1438
658
|
boxSizing: "border-box",
|
|
1439
|
-
padding:
|
|
1440
|
-
backgroundColor:
|
|
1441
|
-
width:
|
|
1442
|
-
maxWidth:
|
|
659
|
+
padding: e ? o ? "2px" : "1rem" : 0,
|
|
660
|
+
backgroundColor: t,
|
|
661
|
+
width: e ? o ? "66px" : "400px" : 0,
|
|
662
|
+
maxWidth: o ? "100%" : "25%",
|
|
1443
663
|
transition: "313ms all ease-in-out",
|
|
1444
|
-
...!
|
|
664
|
+
...!e && {
|
|
1445
665
|
border: "none"
|
|
1446
666
|
}
|
|
1447
|
-
})),
|
|
1448
|
-
({ shadowColor:
|
|
1449
|
-
...
|
|
1450
|
-
top: ${
|
|
667
|
+
})), yo = y(F)(
|
|
668
|
+
({ shadowColor: e, backgroundColor: o }) => ({
|
|
669
|
+
...H`
|
|
670
|
+
top: ${i.constants.appHeaderHeight}px;
|
|
1451
671
|
font-family: 'Roboto';
|
|
1452
672
|
|
|
1453
673
|
.MuiDrawer-paper {
|
|
1454
674
|
width: 360px;
|
|
1455
675
|
max-width: 100vw;
|
|
1456
676
|
box-sizing: border-box;
|
|
1457
|
-
top: ${
|
|
1458
|
-
height: calc(100vh - ${
|
|
1459
|
-
background-color: ${
|
|
1460
|
-
box-shadow: 0 3px 6px 3px ${
|
|
677
|
+
top: ${i.constants.appHeaderHeight}px;
|
|
678
|
+
height: calc(100vh - ${i.constants.appHeaderHeight}px);
|
|
679
|
+
background-color: ${o};
|
|
680
|
+
box-shadow: 0 3px 6px 3px ${e};
|
|
1461
681
|
padding: 1rem;
|
|
1462
682
|
overflow: visible;
|
|
1463
683
|
}
|
|
1464
684
|
|
|
1465
685
|
.MuiBackdrop-root {
|
|
1466
|
-
top: ${
|
|
686
|
+
top: ${i.constants.appHeaderHeight}px;
|
|
1467
687
|
background-color: transparent;
|
|
1468
688
|
}
|
|
1469
689
|
`
|
|
1470
690
|
})
|
|
1471
|
-
),
|
|
1472
|
-
...
|
|
691
|
+
), xe = y(K)(({ iconColor: e, highlight1: o, highlight2: r, rightDrawer: t = !1 }) => ({
|
|
692
|
+
...H`
|
|
1473
693
|
position: absolute;
|
|
1474
694
|
top: -0.5rem;
|
|
1475
|
-
${!
|
|
1476
|
-
${
|
|
695
|
+
${!t && { right: "-0.5rem" }};
|
|
696
|
+
${t && { left: "-0.5rem" }};
|
|
1477
697
|
z-index: 1;
|
|
1478
698
|
border-radius: 50%;
|
|
1479
699
|
|
|
1480
700
|
svg {
|
|
1481
|
-
background-color: ${
|
|
1482
|
-
fill: ${
|
|
701
|
+
background-color: ${e};
|
|
702
|
+
fill: ${o};
|
|
1483
703
|
border-radius: 50%;
|
|
1484
704
|
}
|
|
1485
705
|
|
|
@@ -1488,36 +708,44 @@ const Pt = Xe(/* @__PURE__ */ C("path", {
|
|
|
1488
708
|
svg {
|
|
1489
709
|
filter: unset;
|
|
1490
710
|
background-color: ${r};
|
|
1491
|
-
fill: ${
|
|
711
|
+
fill: ${e};
|
|
1492
712
|
}
|
|
1493
713
|
}
|
|
1494
714
|
`
|
|
1495
|
-
})),
|
|
715
|
+
})), ko = y("div", {
|
|
716
|
+
shouldForwardProp: (e) => ee(e)
|
|
717
|
+
})(({ withActionsPanel: e, borderColor: o, backgroundColor: r, mobileScreen: t }) => ({
|
|
1496
718
|
display: "flex",
|
|
1497
719
|
overflow: "hidden",
|
|
1498
720
|
backgroundColor: r,
|
|
1499
721
|
borderRadius: "4px",
|
|
1500
|
-
borderBottomLeftRadius:
|
|
1501
|
-
borderTopLeftRadius:
|
|
1502
|
-
border: `1px solid ${
|
|
722
|
+
borderBottomLeftRadius: e ? 0 : "4px",
|
|
723
|
+
borderTopLeftRadius: e ? 0 : "4px",
|
|
724
|
+
border: `1px solid ${o}`,
|
|
1503
725
|
width: "100%",
|
|
1504
726
|
height: "calc(100% + 2px)",
|
|
1505
727
|
boxSizing: "border-box",
|
|
1506
728
|
padding: "1rem",
|
|
1507
729
|
h1: {
|
|
1508
730
|
margin: 0
|
|
731
|
+
},
|
|
732
|
+
...t && {
|
|
733
|
+
border: "none",
|
|
734
|
+
borderRadius: 0,
|
|
735
|
+
borderBottomLeftRadius: 0,
|
|
736
|
+
borderTopLeftRadius: 0
|
|
1509
737
|
}
|
|
1510
|
-
})),
|
|
1511
|
-
({ backgroundColor:
|
|
1512
|
-
...
|
|
1513
|
-
z-index:
|
|
738
|
+
})), Co = y(F)(
|
|
739
|
+
({ backgroundColor: e, shadowColor: o }) => ({
|
|
740
|
+
...H`
|
|
741
|
+
z-index: 1327;
|
|
1514
742
|
|
|
1515
743
|
.MuiDrawer-paper {
|
|
1516
744
|
width: 360px;
|
|
1517
745
|
max-width: 100vw;
|
|
1518
746
|
height: 100vh;
|
|
1519
|
-
background-color: ${
|
|
1520
|
-
box-shadow: 0 0px 6px 3px ${
|
|
747
|
+
background-color: ${e};
|
|
748
|
+
box-shadow: 0 0px 6px 3px ${o};
|
|
1521
749
|
}
|
|
1522
750
|
|
|
1523
751
|
.MuiBackdrop-root {
|
|
@@ -1525,209 +753,371 @@ const Pt = Xe(/* @__PURE__ */ C("path", {
|
|
|
1525
753
|
}
|
|
1526
754
|
`
|
|
1527
755
|
})
|
|
1528
|
-
),
|
|
1529
|
-
...
|
|
1530
|
-
|
|
1531
|
-
|
|
756
|
+
), To = y(F)(({ backgroundColor: e }) => ({
|
|
757
|
+
...H`
|
|
758
|
+
z-index: 1300;
|
|
759
|
+
|
|
760
|
+
.MuiDrawer-paper {
|
|
761
|
+
z-index: 1300;
|
|
762
|
+
width: 100vw;
|
|
763
|
+
top: ${i.constants.appHeaderHeight}px;
|
|
764
|
+
height: calc(100vh - ${i.constants.appHeaderHeight}px - 72px);
|
|
765
|
+
background-color: ${e};
|
|
766
|
+
box-shadow: none;
|
|
767
|
+
}
|
|
768
|
+
|
|
769
|
+
.MuiBackdrop-root {
|
|
770
|
+
z-index: 1300;
|
|
771
|
+
top: ${i.constants.appHeaderHeight}px;
|
|
772
|
+
height: calc(100vh - ${i.constants.appHeaderHeight}px);
|
|
773
|
+
background-color: transparent;
|
|
774
|
+
}
|
|
775
|
+
`
|
|
776
|
+
})), $o = y("div", {
|
|
777
|
+
shouldForwardProp: (e) => ee(e)
|
|
778
|
+
})(({ backgroundColor: e, open: o }) => ({
|
|
779
|
+
...H`
|
|
780
|
+
position: fixed;
|
|
781
|
+
transition: height 201ms cubic-bezier(0, 0, 0.2, 1);
|
|
782
|
+
z-index: 1300;
|
|
783
|
+
bottom: 72px;
|
|
784
|
+
width: 100vw;
|
|
785
|
+
height: ${o ? `calc(100vh - ${i.constants.appHeaderHeight}px - 72px)` : 0};
|
|
786
|
+
overflow: hidden;
|
|
787
|
+
background-color: ${e};
|
|
788
|
+
box-sizing: border-box;
|
|
789
|
+
`
|
|
790
|
+
})), Eo = y("h1")(({ color: e }) => ({
|
|
791
|
+
...H`
|
|
792
|
+
margin: 0;
|
|
793
|
+
font-size: 2.1rem;
|
|
794
|
+
font-family: 'Roboto';
|
|
795
|
+
color: ${e};
|
|
796
|
+
`
|
|
797
|
+
})), Po = y(F)(() => ({
|
|
798
|
+
...H`
|
|
799
|
+
top: ${i.constants.appHeaderHeight}px;
|
|
800
|
+
font-family: 'Roboto';
|
|
801
|
+
z-index: 1336;
|
|
802
|
+
|
|
803
|
+
.MuiDrawer-paper {
|
|
804
|
+
width: 100vw;
|
|
805
|
+
box-sizing: border-box;
|
|
806
|
+
top: ${i.constants.appHeaderHeight}px;
|
|
807
|
+
height: calc(100vh - ${i.constants.appHeaderHeight}px);
|
|
808
|
+
background-color: ${i.colors.white};
|
|
809
|
+
padding: 0;
|
|
810
|
+
}
|
|
811
|
+
|
|
812
|
+
.MuiBackdrop-root {
|
|
813
|
+
top: ${i.constants.appHeaderHeight}px;
|
|
814
|
+
background-color: transparent;
|
|
815
|
+
}
|
|
1532
816
|
`
|
|
1533
|
-
})),
|
|
1534
|
-
...
|
|
817
|
+
})), Mo = y("img")(({ width: e, height: o }) => ({
|
|
818
|
+
...H`
|
|
819
|
+
width: ${e}px;
|
|
820
|
+
height: ${o}px;
|
|
821
|
+
`
|
|
822
|
+
})), ve = y("div")(({ justifyStart: e }) => ({
|
|
823
|
+
...H`
|
|
1535
824
|
display: flex;
|
|
1536
825
|
flex-direction: row;
|
|
1537
826
|
align-items: flex-start;
|
|
1538
|
-
justify-content: space-between;
|
|
827
|
+
justify-content: ${e ? "start" : "space-between"};
|
|
1539
828
|
padding: 8px 16px 8px 24px;
|
|
1540
829
|
`
|
|
1541
|
-
})),
|
|
1542
|
-
...
|
|
1543
|
-
top: ${
|
|
830
|
+
})), Ho = y(F)(() => ({
|
|
831
|
+
...H`
|
|
832
|
+
top: ${i.constants.appHeaderHeight}px;
|
|
1544
833
|
font-family: 'Roboto';
|
|
1545
834
|
|
|
1546
835
|
.MuiDrawer-paper {
|
|
1547
836
|
width: 360px;
|
|
1548
837
|
max-width: 100vw;
|
|
1549
838
|
box-sizing: border-box;
|
|
1550
|
-
top: ${
|
|
1551
|
-
height: calc(100vh - ${
|
|
1552
|
-
background-color: ${
|
|
1553
|
-
box-shadow: 0 3px 6px 3px ${
|
|
839
|
+
top: ${i.constants.appHeaderHeight}px;
|
|
840
|
+
height: calc(100vh - ${i.constants.appHeaderHeight}px);
|
|
841
|
+
background-color: ${i.colors.white};
|
|
842
|
+
box-shadow: 0 3px 6px 3px ${i.colors.gray};
|
|
1554
843
|
padding: 0;
|
|
1555
844
|
overflow: visible;
|
|
1556
845
|
}
|
|
1557
846
|
|
|
1558
847
|
.MuiBackdrop-root {
|
|
1559
|
-
top: ${
|
|
848
|
+
top: ${i.constants.appHeaderHeight}px;
|
|
1560
849
|
background-color: transparent;
|
|
1561
850
|
}
|
|
1562
851
|
`
|
|
1563
|
-
})),
|
|
1564
|
-
navProps:
|
|
1565
|
-
appHeaderProps:
|
|
852
|
+
})), _o = ({
|
|
853
|
+
navProps: e,
|
|
854
|
+
appHeaderProps: o = {},
|
|
1566
855
|
userProfileMenuItems: r = [],
|
|
1567
|
-
actionsPanelContent:
|
|
1568
|
-
navWidth:
|
|
1569
|
-
breakpoints:
|
|
1570
|
-
children:
|
|
1571
|
-
themeColors:
|
|
1572
|
-
logoProps:
|
|
856
|
+
actionsPanelContent: t,
|
|
857
|
+
navWidth: c = i.constants.navDefaultWidth,
|
|
858
|
+
breakpoints: f = { mobile: i.screenSizes.mobile, tablet: i.screenSizes.tablet },
|
|
859
|
+
children: u,
|
|
860
|
+
themeColors: h = {},
|
|
861
|
+
logoProps: l = {},
|
|
862
|
+
loggedIn: m,
|
|
863
|
+
mobileActionsPanelOpen: p
|
|
1573
864
|
}) => {
|
|
1574
|
-
const [
|
|
1575
|
-
backgroundPrimary:
|
|
1576
|
-
backgroundSecondary:
|
|
1577
|
-
backgroundTertiary:
|
|
1578
|
-
highlightPrimary:
|
|
1579
|
-
highlightSecondary:
|
|
1580
|
-
highlightTertiary:
|
|
1581
|
-
iconPrimary:
|
|
1582
|
-
shadowPrimary:
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
865
|
+
const [M, k] = Y(!1), [B, L] = Y(!1), [N, C] = Y(!1), [R, O] = Y(!1), { mobile: I = i.screenSizes.mobile, tablet: S = i.screenSizes.tablet } = f, g = fe(`(max-width: ${I})`), v = fe(`(max-width: ${S})`) && !g, b = !g && !v, {
|
|
866
|
+
backgroundPrimary: D = i.colors.whiteGreen,
|
|
867
|
+
backgroundSecondary: x = i.colors.whiteGreenA,
|
|
868
|
+
backgroundTertiary: T = i.colors.sage,
|
|
869
|
+
highlightPrimary: $ = i.colors.sunlight,
|
|
870
|
+
highlightSecondary: A = i.colors.dandelion,
|
|
871
|
+
highlightTertiary: j = `${i.colors.dandelion}99`,
|
|
872
|
+
iconPrimary: z = i.colors.darkGreen,
|
|
873
|
+
shadowPrimary: W = i.colors.darkGreenO99,
|
|
874
|
+
shadowSecondary: U = i.boxShadows.darkGreen,
|
|
875
|
+
shadowTertiary: X = i.boxShadows.darkGreenThick,
|
|
876
|
+
borderPrimary: s = i.colors.green,
|
|
877
|
+
scrollColor: d = i.colors.darkGreenO99,
|
|
878
|
+
avatarColors: Q
|
|
879
|
+
} = h, { logoSrc: se = Ie, logoWidth: ce = 36, logoHeight: le = 50 } = l, Me = {
|
|
880
|
+
backgroundPrimary: D,
|
|
881
|
+
backgroundSecondary: x,
|
|
882
|
+
backgroundTertiary: T,
|
|
883
|
+
highlightPrimary: $,
|
|
884
|
+
highlightSecondary: A,
|
|
885
|
+
highlightTertiary: j,
|
|
886
|
+
borderPrimary: s,
|
|
887
|
+
iconPrimary: z,
|
|
888
|
+
shadowPrimary: W,
|
|
889
|
+
shadowSecondary: U,
|
|
890
|
+
shadowTertiary: X,
|
|
891
|
+
scrollColor: d
|
|
892
|
+
}, He = { logoSrc: se, logoWidth: ce, logoHeight: le }, oe = t != null, Re = { ...o, navWidth: c, loggedIn: m }, { onLogout: Se = () => {
|
|
893
|
+
} } = o, G = { ...e, themeColors: Me }, De = {
|
|
894
|
+
...G,
|
|
895
|
+
navWidth: `${c}px`,
|
|
896
|
+
isMobile: g
|
|
897
|
+
}, pe = [
|
|
898
|
+
{ label: "Log Out", icon: /* @__PURE__ */ a(go, {}), onClick: Se },
|
|
1600
899
|
...r
|
|
1601
|
-
].map((
|
|
1602
|
-
...
|
|
900
|
+
].map((E) => ({
|
|
901
|
+
...E,
|
|
1603
902
|
onClick: () => {
|
|
1604
|
-
|
|
903
|
+
E.onClick && E.onClick(), C(!1);
|
|
1605
904
|
}
|
|
1606
|
-
})),
|
|
1607
|
-
...
|
|
905
|
+
})), { navItems: te } = e, ze = te.map((E) => ({
|
|
906
|
+
...E,
|
|
1608
907
|
onClick: () => {
|
|
1609
|
-
|
|
908
|
+
E.onClick && E.onClick(), k(!1);
|
|
1610
909
|
}
|
|
1611
|
-
})),
|
|
1612
|
-
...
|
|
910
|
+
})), re = {
|
|
911
|
+
...G,
|
|
1613
912
|
navWidth: "100%",
|
|
1614
913
|
isTablet: !0,
|
|
1615
|
-
navItems:
|
|
914
|
+
navItems: ze
|
|
1616
915
|
};
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
916
|
+
let ne = te.map((E) => ({
|
|
917
|
+
...E,
|
|
918
|
+
onClick: () => {
|
|
919
|
+
E.onClick && E.onClick(), O(!1);
|
|
920
|
+
}
|
|
921
|
+
})), de = [];
|
|
922
|
+
te.length > 4 && g && (de = ne.splice(3), ne.push({
|
|
923
|
+
label: "More",
|
|
924
|
+
icon: /* @__PURE__ */ a(bo, {}),
|
|
925
|
+
onClick: () => O(!0)
|
|
926
|
+
}));
|
|
927
|
+
const Le = {
|
|
928
|
+
...G,
|
|
929
|
+
navWidth: "100%",
|
|
930
|
+
navItems: ne,
|
|
931
|
+
isMobile: !0,
|
|
932
|
+
activeRoute: R ? "More" : G.activeRoute
|
|
933
|
+
}, Ne = {
|
|
934
|
+
...G,
|
|
935
|
+
navWidth: "100%",
|
|
936
|
+
navItems: de,
|
|
937
|
+
isTablet: !0
|
|
938
|
+
};
|
|
939
|
+
return /* @__PURE__ */ P(xo, { backgroundColor: x, children: [
|
|
940
|
+
/* @__PURE__ */ a(
|
|
941
|
+
Oe,
|
|
1620
942
|
{
|
|
1621
|
-
...
|
|
1622
|
-
hamburgerMenu:
|
|
1623
|
-
onHamburgerMenuClick: () =>
|
|
1624
|
-
onUserMenuClick: () =>
|
|
1625
|
-
logoProps:
|
|
1626
|
-
iconColor:
|
|
943
|
+
...Re,
|
|
944
|
+
hamburgerMenu: v,
|
|
945
|
+
onHamburgerMenuClick: () => k(!0),
|
|
946
|
+
onUserMenuClick: () => C(!0),
|
|
947
|
+
logoProps: He,
|
|
948
|
+
iconColor: z,
|
|
949
|
+
isMobile: g,
|
|
950
|
+
themeProps: { shadowSecondary: U, shadowTertiary: X, iconPrimary: z, borderPrimary: s },
|
|
951
|
+
avatarColors: Q
|
|
1627
952
|
}
|
|
1628
953
|
),
|
|
1629
|
-
/* @__PURE__ */
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
954
|
+
/* @__PURE__ */ P(vo, { tabletPadding: v, mobile: g, children: [
|
|
955
|
+
b && /* @__PURE__ */ a(V, { ...De }),
|
|
956
|
+
g && /* @__PURE__ */ P(he, { children: [
|
|
957
|
+
/* @__PURE__ */ a(V, { ...Le }),
|
|
958
|
+
/* @__PURE__ */ a(
|
|
959
|
+
To,
|
|
960
|
+
{
|
|
961
|
+
open: R,
|
|
962
|
+
onClose: () => O(!1),
|
|
963
|
+
backgroundColor: x,
|
|
964
|
+
anchor: "right",
|
|
965
|
+
children: /* @__PURE__ */ a(V, { ...Ne })
|
|
966
|
+
}
|
|
967
|
+
)
|
|
968
|
+
] }),
|
|
969
|
+
v && /* @__PURE__ */ P(
|
|
970
|
+
Co,
|
|
1633
971
|
{
|
|
1634
|
-
open:
|
|
1635
|
-
onClose: () =>
|
|
1636
|
-
backgroundColor:
|
|
1637
|
-
shadowColor:
|
|
972
|
+
open: M,
|
|
973
|
+
onClose: () => k(!1),
|
|
974
|
+
backgroundColor: x,
|
|
975
|
+
shadowColor: W,
|
|
1638
976
|
children: [
|
|
1639
|
-
/* @__PURE__ */
|
|
1640
|
-
/* @__PURE__ */
|
|
1641
|
-
/* @__PURE__ */
|
|
977
|
+
/* @__PURE__ */ P(ve, { children: [
|
|
978
|
+
/* @__PURE__ */ a(Mo, { src: se, alt: "logo", width: ce, height: le }),
|
|
979
|
+
/* @__PURE__ */ a(K, { variant: "icon", size: 36, onClick: () => k(!1), color: z, children: /* @__PURE__ */ a(Be, {}) })
|
|
1642
980
|
] }),
|
|
1643
|
-
/* @__PURE__ */
|
|
981
|
+
/* @__PURE__ */ a(V, { ...re })
|
|
1644
982
|
]
|
|
1645
983
|
}
|
|
1646
984
|
),
|
|
1647
|
-
|
|
1648
|
-
|
|
985
|
+
v && /* @__PURE__ */ P(
|
|
986
|
+
yo,
|
|
1649
987
|
{
|
|
1650
|
-
open:
|
|
1651
|
-
onClose: () =>
|
|
1652
|
-
shadowColor:
|
|
1653
|
-
backgroundColor:
|
|
988
|
+
open: B && oe,
|
|
989
|
+
onClose: () => L(!1),
|
|
990
|
+
shadowColor: W,
|
|
991
|
+
backgroundColor: T,
|
|
1654
992
|
children: [
|
|
1655
|
-
/* @__PURE__ */
|
|
1656
|
-
|
|
993
|
+
/* @__PURE__ */ a(
|
|
994
|
+
xe,
|
|
1657
995
|
{
|
|
1658
996
|
variant: "icon",
|
|
1659
997
|
size: 24,
|
|
1660
|
-
onClick: () =>
|
|
1661
|
-
iconColor:
|
|
1662
|
-
highlight1:
|
|
1663
|
-
highlight2:
|
|
1664
|
-
children: /* @__PURE__ */
|
|
998
|
+
onClick: () => L(!1),
|
|
999
|
+
iconColor: z,
|
|
1000
|
+
highlight1: x,
|
|
1001
|
+
highlight2: x,
|
|
1002
|
+
children: /* @__PURE__ */ a(be, {})
|
|
1665
1003
|
}
|
|
1666
1004
|
),
|
|
1667
|
-
/* @__PURE__ */
|
|
1005
|
+
/* @__PURE__ */ a(ie, { scrollColor: d, direction: "vertical", children: t && t })
|
|
1668
1006
|
]
|
|
1669
1007
|
}
|
|
1670
1008
|
),
|
|
1671
|
-
(
|
|
1672
|
-
|
|
1009
|
+
(v || b) && /* @__PURE__ */ P(
|
|
1010
|
+
Ho,
|
|
1673
1011
|
{
|
|
1674
1012
|
anchor: "right",
|
|
1675
|
-
open:
|
|
1676
|
-
onClose: () =>
|
|
1013
|
+
open: N,
|
|
1014
|
+
onClose: () => C(!1),
|
|
1677
1015
|
children: [
|
|
1678
|
-
/* @__PURE__ */
|
|
1679
|
-
|
|
1016
|
+
/* @__PURE__ */ a(
|
|
1017
|
+
xe,
|
|
1680
1018
|
{
|
|
1681
1019
|
variant: "icon",
|
|
1682
1020
|
size: 24,
|
|
1683
|
-
onClick: () =>
|
|
1684
|
-
iconColor:
|
|
1685
|
-
highlight1:
|
|
1686
|
-
highlight2:
|
|
1021
|
+
onClick: () => C(!1),
|
|
1022
|
+
iconColor: i.colors.midnight,
|
|
1023
|
+
highlight1: i.colors.white,
|
|
1024
|
+
highlight2: x,
|
|
1687
1025
|
rightDrawer: !0,
|
|
1688
|
-
children: /* @__PURE__ */
|
|
1026
|
+
children: /* @__PURE__ */ a(be, {})
|
|
1689
1027
|
}
|
|
1690
1028
|
),
|
|
1691
|
-
/* @__PURE__ */
|
|
1692
|
-
|
|
1029
|
+
/* @__PURE__ */ a(
|
|
1030
|
+
V,
|
|
1693
1031
|
{
|
|
1694
|
-
...
|
|
1695
|
-
navItems:
|
|
1032
|
+
...re,
|
|
1033
|
+
navItems: pe,
|
|
1696
1034
|
themeColors: {
|
|
1697
|
-
iconPrimary:
|
|
1698
|
-
highlightPrimary:
|
|
1699
|
-
highlightTertiary:
|
|
1035
|
+
iconPrimary: i.colors.midnight,
|
|
1036
|
+
highlightPrimary: D,
|
|
1037
|
+
highlightTertiary: x,
|
|
1038
|
+
shadowSecondary: U,
|
|
1039
|
+
scrollColor: d
|
|
1700
1040
|
}
|
|
1701
1041
|
}
|
|
1702
1042
|
)
|
|
1703
1043
|
]
|
|
1704
1044
|
}
|
|
1705
1045
|
),
|
|
1706
|
-
/* @__PURE__ */
|
|
1707
|
-
|
|
1046
|
+
g && /* @__PURE__ */ P(he, { children: [
|
|
1047
|
+
/* @__PURE__ */ P(
|
|
1048
|
+
Po,
|
|
1049
|
+
{
|
|
1050
|
+
anchor: "right",
|
|
1051
|
+
open: N,
|
|
1052
|
+
onClose: () => C(!1),
|
|
1053
|
+
children: [
|
|
1054
|
+
/* @__PURE__ */ P(ve, { children: [
|
|
1055
|
+
/* @__PURE__ */ a(Eo, { color: i.colors.midnight, children: "Settings" }),
|
|
1056
|
+
/* @__PURE__ */ a(
|
|
1057
|
+
K,
|
|
1058
|
+
{
|
|
1059
|
+
variant: "icon",
|
|
1060
|
+
size: 36,
|
|
1061
|
+
onClick: () => C(!1),
|
|
1062
|
+
color: i.colors.midnight,
|
|
1063
|
+
children: /* @__PURE__ */ a(ge, {})
|
|
1064
|
+
}
|
|
1065
|
+
)
|
|
1066
|
+
] }),
|
|
1067
|
+
/* @__PURE__ */ a(
|
|
1068
|
+
V,
|
|
1069
|
+
{
|
|
1070
|
+
...re,
|
|
1071
|
+
navItems: pe,
|
|
1072
|
+
themeColors: {
|
|
1073
|
+
iconPrimary: i.colors.midnight,
|
|
1074
|
+
highlightPrimary: D,
|
|
1075
|
+
highlightTertiary: x,
|
|
1076
|
+
shadowSecondary: U,
|
|
1077
|
+
scrollColor: d
|
|
1078
|
+
}
|
|
1079
|
+
}
|
|
1080
|
+
)
|
|
1081
|
+
]
|
|
1082
|
+
}
|
|
1083
|
+
),
|
|
1084
|
+
/* @__PURE__ */ a($o, { backgroundColor: T, open: p, children: t })
|
|
1085
|
+
] }),
|
|
1086
|
+
!g && /* @__PURE__ */ P(
|
|
1087
|
+
wo,
|
|
1708
1088
|
{
|
|
1709
|
-
withActionsPanel:
|
|
1710
|
-
tablet:
|
|
1711
|
-
borderColor:
|
|
1712
|
-
backgroundColor:
|
|
1089
|
+
withActionsPanel: oe,
|
|
1090
|
+
tablet: v,
|
|
1091
|
+
borderColor: s,
|
|
1092
|
+
backgroundColor: T,
|
|
1713
1093
|
children: [
|
|
1714
|
-
|
|
1715
|
-
|
|
1094
|
+
b && /* @__PURE__ */ a(ie, { scrollColor: d, direction: "vertical", children: t && t }),
|
|
1095
|
+
v && /* @__PURE__ */ a(
|
|
1096
|
+
K,
|
|
1097
|
+
{
|
|
1098
|
+
variant: "icon",
|
|
1099
|
+
size: 36,
|
|
1100
|
+
onClick: () => L(!0),
|
|
1101
|
+
color: z,
|
|
1102
|
+
children: /* @__PURE__ */ a(ge, {})
|
|
1103
|
+
}
|
|
1104
|
+
)
|
|
1716
1105
|
]
|
|
1717
1106
|
}
|
|
1718
1107
|
),
|
|
1719
|
-
/* @__PURE__ */
|
|
1720
|
-
|
|
1108
|
+
/* @__PURE__ */ a(
|
|
1109
|
+
ko,
|
|
1721
1110
|
{
|
|
1722
|
-
withActionsPanel:
|
|
1723
|
-
borderColor:
|
|
1724
|
-
backgroundColor:
|
|
1725
|
-
|
|
1111
|
+
withActionsPanel: oe,
|
|
1112
|
+
borderColor: s,
|
|
1113
|
+
backgroundColor: D,
|
|
1114
|
+
mobileScreen: g,
|
|
1115
|
+
children: /* @__PURE__ */ a(ie, { scrollColor: d, children: u })
|
|
1726
1116
|
}
|
|
1727
1117
|
)
|
|
1728
1118
|
] })
|
|
1729
1119
|
] });
|
|
1730
1120
|
};
|
|
1731
1121
|
export {
|
|
1732
|
-
|
|
1122
|
+
_o as default
|
|
1733
1123
|
};
|