@maelstrom-futurism/paper 0.7.4-beta.2 → 0.7.4-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +548 -934
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -1,101 +1,95 @@
|
|
|
1
|
-
import { jsxs as ue, jsx as
|
|
2
|
-
import * as
|
|
3
|
-
import { forwardRef as
|
|
4
|
-
import './assets/index.css';var se = { exports: {} },
|
|
5
|
-
function
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
1
|
+
import { jsxs as ue, jsx as L } from "react/jsx-runtime";
|
|
2
|
+
import * as B from "react";
|
|
3
|
+
import { forwardRef as qe, useContext as ze, createContext as et } from "react";
|
|
4
|
+
import './assets/index.css';var ke, se = { exports: {} }, x = {}, xe, _e, Se, we, S = {};
|
|
5
|
+
function tt() {
|
|
6
|
+
return _e || (_e = 1, process.env.NODE_ENV === "production" ? se.exports = (function() {
|
|
7
|
+
if (ke) return x;
|
|
8
|
+
ke = 1;
|
|
9
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, s = e ? Symbol.for("react.profiler") : 60114, c = e ? Symbol.for("react.provider") : 60109, p = e ? Symbol.for("react.context") : 60110, b = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, m = e ? Symbol.for("react.forward_ref") : 60112, f = e ? Symbol.for("react.suspense") : 60113, y = e ? Symbol.for("react.suspense_list") : 60120, l = e ? Symbol.for("react.memo") : 60115, u = e ? Symbol.for("react.lazy") : 60116, g = e ? Symbol.for("react.block") : 60121, A = e ? Symbol.for("react.fundamental") : 60117, _ = e ? Symbol.for("react.responder") : 60118, T = e ? Symbol.for("react.scope") : 60119;
|
|
10
|
+
function h(o) {
|
|
11
|
+
if (typeof o == "object" && o !== null) {
|
|
12
|
+
var P = o.$$typeof;
|
|
13
|
+
switch (P) {
|
|
14
|
+
case t:
|
|
15
|
+
switch (o = o.type) {
|
|
16
|
+
case b:
|
|
17
|
+
case d:
|
|
18
|
+
case n:
|
|
19
|
+
case s:
|
|
20
|
+
case a:
|
|
21
|
+
case f:
|
|
22
|
+
return o;
|
|
23
|
+
default:
|
|
24
|
+
switch (o = o && o.$$typeof) {
|
|
25
|
+
case p:
|
|
26
|
+
case m:
|
|
27
|
+
case u:
|
|
28
|
+
case l:
|
|
29
|
+
case c:
|
|
30
|
+
return o;
|
|
31
|
+
default:
|
|
32
|
+
return P;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
case r:
|
|
36
|
+
return P;
|
|
37
|
+
}
|
|
36
38
|
}
|
|
37
39
|
}
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
return S(o) === l;
|
|
41
|
-
}
|
|
42
|
-
return g.AsyncMode = p, g.ConcurrentMode = l, g.ContextConsumer = u, g.ContextProvider = c, g.Element = t, g.ForwardRef = y, g.Fragment = n, g.Lazy = f, g.Memo = k, g.Portal = r, g.Profiler = s, g.StrictMode = a, g.Suspense = d, g.isAsyncMode = function(o) {
|
|
43
|
-
return x(o) || S(o) === p;
|
|
44
|
-
}, g.isConcurrentMode = x, g.isContextConsumer = function(o) {
|
|
45
|
-
return S(o) === u;
|
|
46
|
-
}, g.isContextProvider = function(o) {
|
|
47
|
-
return S(o) === c;
|
|
48
|
-
}, g.isElement = function(o) {
|
|
49
|
-
return typeof o == "object" && o !== null && o.$$typeof === t;
|
|
50
|
-
}, g.isForwardRef = function(o) {
|
|
51
|
-
return S(o) === y;
|
|
52
|
-
}, g.isFragment = function(o) {
|
|
53
|
-
return S(o) === n;
|
|
54
|
-
}, g.isLazy = function(o) {
|
|
55
|
-
return S(o) === f;
|
|
56
|
-
}, g.isMemo = function(o) {
|
|
57
|
-
return S(o) === k;
|
|
58
|
-
}, g.isPortal = function(o) {
|
|
59
|
-
return S(o) === r;
|
|
60
|
-
}, g.isProfiler = function(o) {
|
|
61
|
-
return S(o) === s;
|
|
62
|
-
}, g.isStrictMode = function(o) {
|
|
63
|
-
return S(o) === a;
|
|
64
|
-
}, g.isSuspense = function(o) {
|
|
65
|
-
return S(o) === d;
|
|
66
|
-
}, g.isValidElementType = function(o) {
|
|
67
|
-
return typeof o == "string" || typeof o == "function" || o === n || o === l || o === s || o === a || o === d || o === A || typeof o == "object" && o !== null && (o.$$typeof === f || o.$$typeof === k || o.$$typeof === c || o.$$typeof === u || o.$$typeof === y || o.$$typeof === P || o.$$typeof === C || o.$$typeof === _ || o.$$typeof === h);
|
|
68
|
-
}, g.typeOf = S, g;
|
|
69
|
-
}
|
|
70
|
-
var $ = {}, Se;
|
|
71
|
-
function dt() {
|
|
72
|
-
return Se || (Se = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
73
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, s = e ? Symbol.for("react.profiler") : 60114, c = e ? Symbol.for("react.provider") : 60109, u = e ? Symbol.for("react.context") : 60110, p = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, y = e ? Symbol.for("react.forward_ref") : 60112, d = e ? Symbol.for("react.suspense") : 60113, A = e ? Symbol.for("react.suspense_list") : 60120, k = e ? Symbol.for("react.memo") : 60115, f = e ? Symbol.for("react.lazy") : 60116, h = e ? Symbol.for("react.block") : 60121, P = e ? Symbol.for("react.fundamental") : 60117, C = e ? Symbol.for("react.responder") : 60118, _ = e ? Symbol.for("react.scope") : 60119;
|
|
74
|
-
function S(i) {
|
|
75
|
-
return typeof i == "string" || typeof i == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
76
|
-
i === n || i === l || i === s || i === a || i === d || i === A || typeof i == "object" && i !== null && (i.$$typeof === f || i.$$typeof === k || i.$$typeof === c || i.$$typeof === u || i.$$typeof === y || i.$$typeof === P || i.$$typeof === C || i.$$typeof === _ || i.$$typeof === h);
|
|
40
|
+
function z(o) {
|
|
41
|
+
return h(o) === d;
|
|
77
42
|
}
|
|
78
|
-
|
|
43
|
+
return x.AsyncMode = b, x.ConcurrentMode = d, x.ContextConsumer = p, x.ContextProvider = c, x.Element = t, x.ForwardRef = m, x.Fragment = n, x.Lazy = u, x.Memo = l, x.Portal = r, x.Profiler = s, x.StrictMode = a, x.Suspense = f, x.isAsyncMode = function(o) {
|
|
44
|
+
return z(o) || h(o) === b;
|
|
45
|
+
}, x.isConcurrentMode = z, x.isContextConsumer = function(o) {
|
|
46
|
+
return h(o) === p;
|
|
47
|
+
}, x.isContextProvider = function(o) {
|
|
48
|
+
return h(o) === c;
|
|
49
|
+
}, x.isElement = function(o) {
|
|
50
|
+
return typeof o == "object" && o !== null && o.$$typeof === t;
|
|
51
|
+
}, x.isForwardRef = function(o) {
|
|
52
|
+
return h(o) === m;
|
|
53
|
+
}, x.isFragment = function(o) {
|
|
54
|
+
return h(o) === n;
|
|
55
|
+
}, x.isLazy = function(o) {
|
|
56
|
+
return h(o) === u;
|
|
57
|
+
}, x.isMemo = function(o) {
|
|
58
|
+
return h(o) === l;
|
|
59
|
+
}, x.isPortal = function(o) {
|
|
60
|
+
return h(o) === r;
|
|
61
|
+
}, x.isProfiler = function(o) {
|
|
62
|
+
return h(o) === s;
|
|
63
|
+
}, x.isStrictMode = function(o) {
|
|
64
|
+
return h(o) === a;
|
|
65
|
+
}, x.isSuspense = function(o) {
|
|
66
|
+
return h(o) === f;
|
|
67
|
+
}, x.isValidElementType = function(o) {
|
|
68
|
+
return typeof o == "string" || typeof o == "function" || o === n || o === d || o === s || o === a || o === f || o === y || typeof o == "object" && o !== null && (o.$$typeof === u || o.$$typeof === l || o.$$typeof === c || o.$$typeof === p || o.$$typeof === m || o.$$typeof === A || o.$$typeof === _ || o.$$typeof === T || o.$$typeof === g);
|
|
69
|
+
}, x.typeOf = h, x;
|
|
70
|
+
})() : se.exports = (xe || (xe = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
71
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, s = e ? Symbol.for("react.profiler") : 60114, c = e ? Symbol.for("react.provider") : 60109, p = e ? Symbol.for("react.context") : 60110, b = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, m = e ? Symbol.for("react.forward_ref") : 60112, f = e ? Symbol.for("react.suspense") : 60113, y = e ? Symbol.for("react.suspense_list") : 60120, l = e ? Symbol.for("react.memo") : 60115, u = e ? Symbol.for("react.lazy") : 60116, g = e ? Symbol.for("react.block") : 60121, A = e ? Symbol.for("react.fundamental") : 60117, _ = e ? Symbol.for("react.responder") : 60118, T = e ? Symbol.for("react.scope") : 60119;
|
|
72
|
+
function h(i) {
|
|
79
73
|
if (typeof i == "object" && i !== null) {
|
|
80
74
|
var oe = i.$$typeof;
|
|
81
75
|
switch (oe) {
|
|
82
76
|
case t:
|
|
83
|
-
var
|
|
84
|
-
switch (
|
|
85
|
-
case
|
|
86
|
-
case
|
|
77
|
+
var K = i.type;
|
|
78
|
+
switch (K) {
|
|
79
|
+
case b:
|
|
80
|
+
case d:
|
|
87
81
|
case n:
|
|
88
82
|
case s:
|
|
89
83
|
case a:
|
|
90
|
-
case
|
|
91
|
-
return
|
|
84
|
+
case f:
|
|
85
|
+
return K;
|
|
92
86
|
default:
|
|
93
|
-
var ve =
|
|
87
|
+
var ve = K && K.$$typeof;
|
|
94
88
|
switch (ve) {
|
|
89
|
+
case p:
|
|
90
|
+
case m:
|
|
95
91
|
case u:
|
|
96
|
-
case
|
|
97
|
-
case f:
|
|
98
|
-
case k:
|
|
92
|
+
case l:
|
|
99
93
|
case c:
|
|
100
94
|
return ve;
|
|
101
95
|
default:
|
|
@@ -107,189 +101,134 @@ function dt() {
|
|
|
107
101
|
}
|
|
108
102
|
}
|
|
109
103
|
}
|
|
110
|
-
var
|
|
111
|
-
function Ye(i) {
|
|
112
|
-
return be || (be = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), ge(i) || x(i) === p;
|
|
113
|
-
}
|
|
104
|
+
var z = b, o = d, P = p, w = c, He = t, Ve = m, We = n, Ue = u, Je = l, Ke = r, Ye = s, Ze = a, Qe = f, be = !1;
|
|
114
105
|
function ge(i) {
|
|
115
|
-
return
|
|
116
|
-
}
|
|
117
|
-
function Qe(i) {
|
|
118
|
-
return x(i) === u;
|
|
119
|
-
}
|
|
120
|
-
function et(i) {
|
|
121
|
-
return x(i) === c;
|
|
106
|
+
return h(i) === d;
|
|
122
107
|
}
|
|
123
|
-
function
|
|
108
|
+
S.AsyncMode = z, S.ConcurrentMode = o, S.ContextConsumer = P, S.ContextProvider = w, S.Element = He, S.ForwardRef = Ve, S.Fragment = We, S.Lazy = Ue, S.Memo = Je, S.Portal = Ke, S.Profiler = Ye, S.StrictMode = Ze, S.Suspense = Qe, S.isAsyncMode = function(i) {
|
|
109
|
+
return be || (be = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), ge(i) || h(i) === b;
|
|
110
|
+
}, S.isConcurrentMode = ge, S.isContextConsumer = function(i) {
|
|
111
|
+
return h(i) === p;
|
|
112
|
+
}, S.isContextProvider = function(i) {
|
|
113
|
+
return h(i) === c;
|
|
114
|
+
}, S.isElement = function(i) {
|
|
124
115
|
return typeof i == "object" && i !== null && i.$$typeof === t;
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
function
|
|
130
|
-
return
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
function
|
|
136
|
-
return
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
function
|
|
142
|
-
return
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
}
|
|
153
|
-
var xe;
|
|
154
|
-
function yt() {
|
|
155
|
-
return xe || (xe = 1, process.env.NODE_ENV === "production" ? se.exports = pt() : se.exports = dt()), se.exports;
|
|
156
|
-
}
|
|
157
|
-
var ce, ke;
|
|
158
|
-
function ht() {
|
|
159
|
-
if (ke) return ce;
|
|
160
|
-
ke = 1;
|
|
161
|
-
var e = yt(), t = {
|
|
162
|
-
childContextTypes: !0,
|
|
163
|
-
contextType: !0,
|
|
164
|
-
contextTypes: !0,
|
|
165
|
-
defaultProps: !0,
|
|
166
|
-
displayName: !0,
|
|
167
|
-
getDefaultProps: !0,
|
|
168
|
-
getDerivedStateFromError: !0,
|
|
169
|
-
getDerivedStateFromProps: !0,
|
|
170
|
-
mixins: !0,
|
|
171
|
-
propTypes: !0,
|
|
172
|
-
type: !0
|
|
173
|
-
}, r = {
|
|
174
|
-
name: !0,
|
|
175
|
-
length: !0,
|
|
176
|
-
prototype: !0,
|
|
177
|
-
caller: !0,
|
|
178
|
-
callee: !0,
|
|
179
|
-
arguments: !0,
|
|
180
|
-
arity: !0
|
|
181
|
-
}, n = {
|
|
182
|
-
$$typeof: !0,
|
|
183
|
-
render: !0,
|
|
184
|
-
defaultProps: !0,
|
|
185
|
-
displayName: !0,
|
|
186
|
-
propTypes: !0
|
|
187
|
-
}, a = {
|
|
188
|
-
$$typeof: !0,
|
|
189
|
-
compare: !0,
|
|
190
|
-
defaultProps: !0,
|
|
191
|
-
displayName: !0,
|
|
192
|
-
propTypes: !0,
|
|
193
|
-
type: !0
|
|
194
|
-
}, s = {};
|
|
195
|
-
s[e.ForwardRef] = n, s[e.Memo] = a;
|
|
196
|
-
function c(f) {
|
|
197
|
-
return e.isMemo(f) ? a : s[f.$$typeof] || t;
|
|
116
|
+
}, S.isForwardRef = function(i) {
|
|
117
|
+
return h(i) === m;
|
|
118
|
+
}, S.isFragment = function(i) {
|
|
119
|
+
return h(i) === n;
|
|
120
|
+
}, S.isLazy = function(i) {
|
|
121
|
+
return h(i) === u;
|
|
122
|
+
}, S.isMemo = function(i) {
|
|
123
|
+
return h(i) === l;
|
|
124
|
+
}, S.isPortal = function(i) {
|
|
125
|
+
return h(i) === r;
|
|
126
|
+
}, S.isProfiler = function(i) {
|
|
127
|
+
return h(i) === s;
|
|
128
|
+
}, S.isStrictMode = function(i) {
|
|
129
|
+
return h(i) === a;
|
|
130
|
+
}, S.isSuspense = function(i) {
|
|
131
|
+
return h(i) === f;
|
|
132
|
+
}, S.isValidElementType = function(i) {
|
|
133
|
+
return typeof i == "string" || typeof i == "function" || i === n || i === d || i === s || i === a || i === f || i === y || typeof i == "object" && i !== null && (i.$$typeof === u || i.$$typeof === l || i.$$typeof === c || i.$$typeof === p || i.$$typeof === m || i.$$typeof === A || i.$$typeof === _ || i.$$typeof === T || i.$$typeof === g);
|
|
134
|
+
}, S.typeOf = h;
|
|
135
|
+
})()), S)), se.exports;
|
|
136
|
+
}
|
|
137
|
+
(function() {
|
|
138
|
+
if (we) return Se;
|
|
139
|
+
we = 1;
|
|
140
|
+
var e = tt(), t = { childContextTypes: !0, contextType: !0, contextTypes: !0, defaultProps: !0, displayName: !0, getDefaultProps: !0, getDerivedStateFromError: !0, getDerivedStateFromProps: !0, mixins: !0, propTypes: !0, type: !0 }, r = { name: !0, length: !0, prototype: !0, caller: !0, callee: !0, arguments: !0, arity: !0 }, n = { $$typeof: !0, compare: !0, defaultProps: !0, displayName: !0, propTypes: !0, type: !0 }, a = {};
|
|
141
|
+
function s(y) {
|
|
142
|
+
return e.isMemo(y) ? n : a[y.$$typeof] || t;
|
|
198
143
|
}
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
144
|
+
a[e.ForwardRef] = { $$typeof: !0, render: !0, defaultProps: !0, displayName: !0, propTypes: !0 }, a[e.Memo] = n;
|
|
145
|
+
var c = Object.defineProperty, p = Object.getOwnPropertyNames, b = Object.getOwnPropertySymbols, d = Object.getOwnPropertyDescriptor, m = Object.getPrototypeOf, f = Object.prototype;
|
|
146
|
+
Se = function y(l, u, g) {
|
|
147
|
+
if (typeof u != "string") {
|
|
148
|
+
if (f) {
|
|
149
|
+
var A = m(u);
|
|
150
|
+
A && A !== f && y(l, A, g);
|
|
205
151
|
}
|
|
206
|
-
var _ = p(
|
|
207
|
-
|
|
208
|
-
for (var
|
|
209
|
-
var
|
|
210
|
-
if (!r[
|
|
211
|
-
var
|
|
152
|
+
var _ = p(u);
|
|
153
|
+
b && (_ = _.concat(b(u)));
|
|
154
|
+
for (var T = s(l), h = s(u), z = 0; z < _.length; ++z) {
|
|
155
|
+
var o = _[z];
|
|
156
|
+
if (!(r[o] || g && g[o] || h && h[o] || T && T[o])) {
|
|
157
|
+
var P = d(u, o);
|
|
212
158
|
try {
|
|
213
|
-
|
|
159
|
+
c(l, o, P);
|
|
214
160
|
} catch {
|
|
215
161
|
}
|
|
216
162
|
}
|
|
217
163
|
}
|
|
218
164
|
}
|
|
219
|
-
return
|
|
220
|
-
}
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
function $t(e, t) {
|
|
226
|
-
return z(e, 0) ^ 45 ? (((t << 2 ^ z(e, 0)) << 2 ^ z(e, 1)) << 2 ^ z(e, 2)) << 2 ^ z(e, 3) : 0;
|
|
165
|
+
return l;
|
|
166
|
+
};
|
|
167
|
+
})();
|
|
168
|
+
var R = "-ms-", te = "-moz-", v = "-webkit-", Oe = "comm", de = "rule", me = "decl", Me = "@keyframes", rt = Math.abs, re = String.fromCharCode, nt = Object.assign;
|
|
169
|
+
function at(e, t) {
|
|
170
|
+
return 45 ^ E(e, 0) ? (((t << 2 ^ E(e, 0)) << 2 ^ E(e, 1)) << 2 ^ E(e, 2)) << 2 ^ E(e, 3) : 0;
|
|
227
171
|
}
|
|
228
|
-
function
|
|
172
|
+
function Be(e) {
|
|
229
173
|
return e.trim();
|
|
230
174
|
}
|
|
231
|
-
function
|
|
175
|
+
function ot(e, t) {
|
|
232
176
|
return (e = t.exec(e)) ? e[0] : e;
|
|
233
177
|
}
|
|
234
|
-
function
|
|
178
|
+
function k(e, t, r) {
|
|
235
179
|
return e.replace(t, r);
|
|
236
180
|
}
|
|
237
181
|
function le(e, t) {
|
|
238
182
|
return e.indexOf(t);
|
|
239
183
|
}
|
|
240
|
-
function
|
|
241
|
-
return e.charCodeAt(t)
|
|
184
|
+
function E(e, t) {
|
|
185
|
+
return 0 | e.charCodeAt(t);
|
|
242
186
|
}
|
|
243
|
-
function
|
|
187
|
+
function W(e, t, r) {
|
|
244
188
|
return e.slice(t, r);
|
|
245
189
|
}
|
|
246
|
-
function
|
|
190
|
+
function D(e) {
|
|
247
191
|
return e.length;
|
|
248
192
|
}
|
|
249
|
-
function
|
|
193
|
+
function ye(e) {
|
|
250
194
|
return e.length;
|
|
251
195
|
}
|
|
252
|
-
function
|
|
196
|
+
function Y(e, t) {
|
|
253
197
|
return t.push(e), e;
|
|
254
198
|
}
|
|
255
|
-
function
|
|
199
|
+
function st(e, t) {
|
|
256
200
|
return e.map(t).join("");
|
|
257
201
|
}
|
|
258
|
-
var ne = 1,
|
|
202
|
+
var ne = 1, G = 1, De = 0, $ = 0, N = 0, X = "";
|
|
259
203
|
function ae(e, t, r, n, a, s, c) {
|
|
260
|
-
return { value: e, root: t, parent: r, type: n, props: a, children: s, line: ne, column:
|
|
204
|
+
return { value: e, root: t, parent: r, type: n, props: a, children: s, line: ne, column: G, length: c, return: "" };
|
|
261
205
|
}
|
|
262
206
|
function H(e, t) {
|
|
263
|
-
return
|
|
264
|
-
}
|
|
265
|
-
function kt() {
|
|
266
|
-
return N;
|
|
207
|
+
return nt(ae("", null, null, "", null, null, 0), e, { length: -e.length }, t);
|
|
267
208
|
}
|
|
268
|
-
function
|
|
269
|
-
return N =
|
|
209
|
+
function ct() {
|
|
210
|
+
return N = $ > 0 ? E(X, --$) : 0, G--, N === 10 && (G = 1, ne--), N;
|
|
270
211
|
}
|
|
271
|
-
function
|
|
272
|
-
return N =
|
|
212
|
+
function O() {
|
|
213
|
+
return N = $ < De ? E(X, $++) : 0, G++, N === 10 && (G = 1, ne++), N;
|
|
273
214
|
}
|
|
274
|
-
function
|
|
275
|
-
return
|
|
215
|
+
function j() {
|
|
216
|
+
return E(X, $);
|
|
276
217
|
}
|
|
277
|
-
function
|
|
278
|
-
return
|
|
218
|
+
function Q() {
|
|
219
|
+
return $;
|
|
279
220
|
}
|
|
280
|
-
function
|
|
281
|
-
return
|
|
221
|
+
function J(e, t) {
|
|
222
|
+
return W(X, e, t);
|
|
282
223
|
}
|
|
283
|
-
function
|
|
224
|
+
function U(e) {
|
|
284
225
|
switch (e) {
|
|
285
|
-
// \0 \t \n \r \s whitespace token
|
|
286
226
|
case 0:
|
|
287
227
|
case 9:
|
|
288
228
|
case 10:
|
|
289
229
|
case 13:
|
|
290
230
|
case 32:
|
|
291
231
|
return 5;
|
|
292
|
-
// ! + , / > @ ~ isolate token
|
|
293
232
|
case 33:
|
|
294
233
|
case 43:
|
|
295
234
|
case 44:
|
|
@@ -297,266 +236,219 @@ function W(e) {
|
|
|
297
236
|
case 62:
|
|
298
237
|
case 64:
|
|
299
238
|
case 126:
|
|
300
|
-
// ; { } breakpoint token
|
|
301
239
|
case 59:
|
|
302
240
|
case 123:
|
|
303
241
|
case 125:
|
|
304
242
|
return 4;
|
|
305
|
-
// : accompanied token
|
|
306
243
|
case 58:
|
|
307
244
|
return 3;
|
|
308
|
-
// " ' ( [ opening delimit token
|
|
309
245
|
case 34:
|
|
310
246
|
case 39:
|
|
311
247
|
case 40:
|
|
312
248
|
case 91:
|
|
313
249
|
return 2;
|
|
314
|
-
// ) ] closing delimit token
|
|
315
250
|
case 41:
|
|
316
251
|
case 93:
|
|
317
252
|
return 1;
|
|
318
253
|
}
|
|
319
254
|
return 0;
|
|
320
255
|
}
|
|
321
|
-
function
|
|
322
|
-
return ne =
|
|
256
|
+
function Fe(e) {
|
|
257
|
+
return ne = G = 1, De = D(X = e), $ = 0, [];
|
|
323
258
|
}
|
|
324
|
-
function
|
|
259
|
+
function je(e) {
|
|
325
260
|
return X = "", e;
|
|
326
261
|
}
|
|
327
|
-
function
|
|
328
|
-
return
|
|
262
|
+
function q(e) {
|
|
263
|
+
return Be(J($ - 1, fe(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
|
|
329
264
|
}
|
|
330
|
-
function
|
|
331
|
-
for (; (N =
|
|
332
|
-
|
|
333
|
-
return W(e) > 2 || W(N) > 3 ? "" : " ";
|
|
265
|
+
function it(e) {
|
|
266
|
+
for (; (N = j()) && N < 33; ) O();
|
|
267
|
+
return U(e) > 2 || U(N) > 3 ? "" : " ";
|
|
334
268
|
}
|
|
335
|
-
function
|
|
336
|
-
for (; --t &&
|
|
337
|
-
|
|
338
|
-
return U(e, Y() + (t < 6 && L() == 32 && M() == 32));
|
|
269
|
+
function ut(e, t) {
|
|
270
|
+
for (; --t && O() && !(N < 48 || N > 102 || N > 57 && N < 65 || N > 70 && N < 97); ) ;
|
|
271
|
+
return J(e, Q() + (t < 6 && j() == 32 && O() == 32));
|
|
339
272
|
}
|
|
340
273
|
function fe(e) {
|
|
341
|
-
for (;
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
// \
|
|
356
|
-
case 92:
|
|
357
|
-
M();
|
|
358
|
-
break;
|
|
359
|
-
}
|
|
360
|
-
return E;
|
|
274
|
+
for (; O(); ) switch (N) {
|
|
275
|
+
case e:
|
|
276
|
+
return $;
|
|
277
|
+
case 34:
|
|
278
|
+
case 39:
|
|
279
|
+
e !== 34 && e !== 39 && fe(N);
|
|
280
|
+
break;
|
|
281
|
+
case 40:
|
|
282
|
+
e === 41 && fe(e);
|
|
283
|
+
break;
|
|
284
|
+
case 92:
|
|
285
|
+
O();
|
|
286
|
+
}
|
|
287
|
+
return $;
|
|
361
288
|
}
|
|
362
|
-
function
|
|
363
|
-
for (;
|
|
364
|
-
|
|
365
|
-
return "/*" + U(t, E - 1) + "*" + re(e === 47 ? e : M());
|
|
289
|
+
function lt(e, t) {
|
|
290
|
+
for (; O() && e + N !== 57 && (e + N !== 84 || j() !== 47); ) ;
|
|
291
|
+
return "/*" + J(t, $ - 1) + "*" + re(e === 47 ? e : O());
|
|
366
292
|
}
|
|
367
|
-
function
|
|
368
|
-
for (; !
|
|
369
|
-
|
|
370
|
-
return U(e, E);
|
|
293
|
+
function ft(e) {
|
|
294
|
+
for (; !U(j()); ) O();
|
|
295
|
+
return J(e, $);
|
|
371
296
|
}
|
|
372
|
-
function
|
|
373
|
-
return
|
|
297
|
+
function pt(e) {
|
|
298
|
+
return je(ee("", null, null, null, [""], e = Fe(e), 0, [0], e));
|
|
374
299
|
}
|
|
375
|
-
function ee(e, t, r, n, a, s, c,
|
|
376
|
-
for (var
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
if (f != 108 && z(v, d - 1) == 58) {
|
|
381
|
-
le(v += b(Q(_), "&", "&\f"), "&\f") != -1 && (C = -1);
|
|
382
|
-
break;
|
|
383
|
-
}
|
|
384
|
-
// " ' [
|
|
385
|
-
case 34:
|
|
386
|
-
case 39:
|
|
387
|
-
case 91:
|
|
388
|
-
v += Q(_);
|
|
389
|
-
break;
|
|
390
|
-
// \t \n \r \s
|
|
391
|
-
case 9:
|
|
392
|
-
case 10:
|
|
393
|
-
case 13:
|
|
394
|
-
case 32:
|
|
395
|
-
v += wt(f);
|
|
396
|
-
break;
|
|
397
|
-
// \
|
|
398
|
-
case 92:
|
|
399
|
-
v += Ct(Y() - 1, 7);
|
|
400
|
-
continue;
|
|
401
|
-
// /
|
|
402
|
-
case 47:
|
|
403
|
-
switch (L()) {
|
|
404
|
-
case 42:
|
|
405
|
-
case 47:
|
|
406
|
-
Z(zt(Tt(M(), Y()), t, r), p);
|
|
407
|
-
break;
|
|
408
|
-
default:
|
|
409
|
-
v += "/";
|
|
410
|
-
}
|
|
411
|
-
break;
|
|
412
|
-
// {
|
|
413
|
-
case 123 * h:
|
|
414
|
-
u[l++] = B(v) * C;
|
|
415
|
-
// } ; \0
|
|
416
|
-
case 125 * h:
|
|
417
|
-
case 59:
|
|
418
|
-
case 0:
|
|
419
|
-
switch (_) {
|
|
420
|
-
// \0 }
|
|
421
|
-
case 0:
|
|
422
|
-
case 125:
|
|
423
|
-
P = 0;
|
|
424
|
-
// ;
|
|
425
|
-
case 59 + y:
|
|
426
|
-
C == -1 && (v = b(v, /\f/g, "")), k > 0 && B(v) - d && Z(k > 32 ? we(v + ";", n, r, d - 1) : we(b(v, " ", "") + ";", n, r, d - 2), p);
|
|
427
|
-
break;
|
|
428
|
-
// @ ;
|
|
429
|
-
case 59:
|
|
430
|
-
v += ";";
|
|
431
|
-
// { rule/at-rule
|
|
432
|
-
default:
|
|
433
|
-
if (Z(w = _e(v, t, r, l, y, a, u, S, x = [], o = [], d), s), _ === 123)
|
|
434
|
-
if (y === 0)
|
|
435
|
-
ee(v, t, w, w, x, s, d, u, o);
|
|
436
|
-
else
|
|
437
|
-
switch (A === 99 && z(v, 3) === 110 ? 100 : A) {
|
|
438
|
-
// d l m s
|
|
439
|
-
case 100:
|
|
440
|
-
case 108:
|
|
441
|
-
case 109:
|
|
442
|
-
case 115:
|
|
443
|
-
ee(e, w, w, n && Z(_e(e, w, w, 0, 0, a, u, S, a, x = [], d), o), a, o, d, u, n ? x : o);
|
|
444
|
-
break;
|
|
445
|
-
default:
|
|
446
|
-
ee(v, w, w, w, [""], o, 0, u, o);
|
|
447
|
-
}
|
|
448
|
-
}
|
|
449
|
-
l = y = k = 0, h = C = 1, S = v = "", d = c;
|
|
300
|
+
function ee(e, t, r, n, a, s, c, p, b) {
|
|
301
|
+
for (var d = 0, m = 0, f = c, y = 0, l = 0, u = 0, g = 1, A = 1, _ = 1, T = 0, h = "", z = a, o = s, P = n, w = h; A; ) switch (u = T, T = O()) {
|
|
302
|
+
case 40:
|
|
303
|
+
if (u != 108 && E(w, f - 1) == 58) {
|
|
304
|
+
le(w += k(q(T), "&", "&\f"), "&\f") != -1 && (_ = -1);
|
|
450
305
|
break;
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
306
|
+
}
|
|
307
|
+
case 34:
|
|
308
|
+
case 39:
|
|
309
|
+
case 91:
|
|
310
|
+
w += q(T);
|
|
311
|
+
break;
|
|
312
|
+
case 9:
|
|
313
|
+
case 10:
|
|
314
|
+
case 13:
|
|
315
|
+
case 32:
|
|
316
|
+
w += it(u);
|
|
317
|
+
break;
|
|
318
|
+
case 92:
|
|
319
|
+
w += ut(Q() - 1, 7);
|
|
320
|
+
continue;
|
|
321
|
+
case 47:
|
|
322
|
+
switch (j()) {
|
|
323
|
+
case 42:
|
|
324
|
+
case 47:
|
|
325
|
+
Y(dt(lt(O(), Q()), t, r), b);
|
|
326
|
+
break;
|
|
327
|
+
default:
|
|
328
|
+
w += "/";
|
|
329
|
+
}
|
|
330
|
+
break;
|
|
331
|
+
case 123 * g:
|
|
332
|
+
p[d++] = D(w) * _;
|
|
333
|
+
case 125 * g:
|
|
334
|
+
case 59:
|
|
335
|
+
case 0:
|
|
336
|
+
switch (T) {
|
|
337
|
+
case 0:
|
|
338
|
+
case 125:
|
|
339
|
+
A = 0;
|
|
340
|
+
case 59 + m:
|
|
341
|
+
_ == -1 && (w = k(w, /\f/g, "")), l > 0 && D(w) - f && Y(l > 32 ? Ce(w + ";", n, r, f - 1) : Ce(k(w, " ", "") + ";", n, r, f - 2), b);
|
|
342
|
+
break;
|
|
343
|
+
case 59:
|
|
344
|
+
w += ";";
|
|
345
|
+
default:
|
|
346
|
+
if (Y(P = Te(w, t, r, d, m, a, p, h, z = [], o = [], f), s), T === 123) if (m === 0) ee(w, t, P, P, z, s, f, p, o);
|
|
347
|
+
else switch (y === 99 && E(w, 3) === 110 ? 100 : y) {
|
|
348
|
+
case 100:
|
|
349
|
+
case 108:
|
|
350
|
+
case 109:
|
|
351
|
+
case 115:
|
|
352
|
+
ee(e, P, P, n && Y(Te(e, P, P, 0, 0, a, p, h, a, z = [], f), o), a, o, f, p, n ? z : o);
|
|
353
|
+
break;
|
|
354
|
+
default:
|
|
355
|
+
ee(w, P, P, P, [""], o, 0, p, o);
|
|
356
|
+
}
|
|
357
|
+
}
|
|
358
|
+
d = m = l = 0, g = _ = 1, h = w = "", f = c;
|
|
359
|
+
break;
|
|
360
|
+
case 58:
|
|
361
|
+
f = 1 + D(w), l = u;
|
|
362
|
+
default:
|
|
363
|
+
if (g < 1) {
|
|
364
|
+
if (T == 123) --g;
|
|
365
|
+
else if (T == 125 && g++ == 0 && ct() == 125) continue;
|
|
366
|
+
}
|
|
367
|
+
switch (w += re(T), T * g) {
|
|
368
|
+
case 38:
|
|
369
|
+
_ = m > 0 ? 1 : (w += "\f", -1);
|
|
370
|
+
break;
|
|
371
|
+
case 44:
|
|
372
|
+
p[d++] = (D(w) - 1) * _, _ = 1;
|
|
373
|
+
break;
|
|
374
|
+
case 64:
|
|
375
|
+
j() === 45 && (w += q(O())), y = j(), m = f = D(h = w += ft(Q())), T++;
|
|
376
|
+
break;
|
|
377
|
+
case 45:
|
|
378
|
+
u === 45 && D(w) == 2 && (g = 0);
|
|
379
|
+
}
|
|
380
|
+
}
|
|
479
381
|
return s;
|
|
480
382
|
}
|
|
481
|
-
function
|
|
482
|
-
for (var
|
|
483
|
-
|
|
484
|
-
(S = Me(h > 0 ? A[C] + " " + _ : b(_, /&\f/g, A[C]))) && (p[P++] = S);
|
|
485
|
-
return ae(e, t, r, a === 0 ? de : u, p, l, y);
|
|
383
|
+
function Te(e, t, r, n, a, s, c, p, b, d, m) {
|
|
384
|
+
for (var f = a - 1, y = a === 0 ? s : [""], l = ye(y), u = 0, g = 0, A = 0; u < n; ++u) for (var _ = 0, T = W(e, f + 1, f = rt(g = c[u])), h = e; _ < l; ++_) (h = Be(g > 0 ? y[_] + " " + T : k(T, /&\f/g, y[_]))) && (b[A++] = h);
|
|
385
|
+
return ae(e, t, r, a === 0 ? de : p, b, d, m);
|
|
486
386
|
}
|
|
487
|
-
function
|
|
488
|
-
return ae(e, t, r,
|
|
387
|
+
function dt(e, t, r) {
|
|
388
|
+
return ae(e, t, r, Oe, re(N), W(e, 2, -2), 0);
|
|
489
389
|
}
|
|
490
|
-
function
|
|
491
|
-
return ae(e, t, r,
|
|
390
|
+
function Ce(e, t, r, n) {
|
|
391
|
+
return ae(e, t, r, me, W(e, 0, n), W(e, n + 1, -1), n);
|
|
492
392
|
}
|
|
493
|
-
function
|
|
494
|
-
for (var r = "", n =
|
|
495
|
-
r += t(e[a], a, e, t) || "";
|
|
393
|
+
function I(e, t) {
|
|
394
|
+
for (var r = "", n = ye(e), a = 0; a < n; a++) r += t(e[a], a, e, t) || "";
|
|
496
395
|
return r;
|
|
497
396
|
}
|
|
498
|
-
function
|
|
397
|
+
function mt(e, t, r, n) {
|
|
499
398
|
switch (e.type) {
|
|
500
|
-
case
|
|
399
|
+
case "@layer":
|
|
501
400
|
if (e.children.length) break;
|
|
502
|
-
case
|
|
503
|
-
case
|
|
401
|
+
case "@import":
|
|
402
|
+
case me:
|
|
504
403
|
return e.return = e.return || e.value;
|
|
505
|
-
case
|
|
404
|
+
case Oe:
|
|
506
405
|
return "";
|
|
507
|
-
case
|
|
508
|
-
return e.return = e.value + "{" +
|
|
406
|
+
case Me:
|
|
407
|
+
return e.return = e.value + "{" + I(e.children, n) + "}";
|
|
509
408
|
case de:
|
|
510
409
|
e.value = e.props.join(",");
|
|
511
410
|
}
|
|
512
|
-
return
|
|
411
|
+
return D(r = I(e.children, n)) ? e.return = e.value + "{" + r + "}" : "";
|
|
513
412
|
}
|
|
514
|
-
function
|
|
515
|
-
var t =
|
|
413
|
+
function yt(e) {
|
|
414
|
+
var t = ye(e);
|
|
516
415
|
return function(r, n, a, s) {
|
|
517
|
-
for (var c = "",
|
|
518
|
-
c += e[u](r, n, a, s) || "";
|
|
416
|
+
for (var c = "", p = 0; p < t; p++) c += e[p](r, n, a, s) || "";
|
|
519
417
|
return c;
|
|
520
418
|
};
|
|
521
419
|
}
|
|
522
|
-
function
|
|
420
|
+
function ht(e) {
|
|
523
421
|
return function(t) {
|
|
524
422
|
t.root || (t = t.return) && e(t);
|
|
525
423
|
};
|
|
526
424
|
}
|
|
527
|
-
|
|
528
|
-
if (e.sheet)
|
|
529
|
-
return e.sheet;
|
|
530
|
-
for (var t = 0; t < document.styleSheets.length; t++)
|
|
531
|
-
if (document.styleSheets[t].ownerNode === e)
|
|
532
|
-
return document.styleSheets[t];
|
|
533
|
-
}
|
|
534
|
-
function Ot(e) {
|
|
535
|
-
var t = document.createElement("style");
|
|
536
|
-
return t.setAttribute("data-emotion", e.key), e.nonce !== void 0 && t.setAttribute("nonce", e.nonce), t.appendChild(document.createTextNode("")), t.setAttribute("data-s", ""), t;
|
|
537
|
-
}
|
|
538
|
-
var jt = /* @__PURE__ */ (function() {
|
|
425
|
+
var bt = /* @__PURE__ */ (function() {
|
|
539
426
|
function e(r) {
|
|
540
427
|
var n = this;
|
|
541
428
|
this._insertTag = function(a) {
|
|
542
429
|
var s;
|
|
543
|
-
n.tags.length === 0 ? n.insertionPoint ?
|
|
544
|
-
}, this.isSpeedy = r.speedy === void 0
|
|
430
|
+
s = n.tags.length === 0 ? n.insertionPoint ? n.insertionPoint.nextSibling : n.prepend ? n.container.firstChild : n.before : n.tags[n.tags.length - 1].nextSibling, n.container.insertBefore(a, s), n.tags.push(a);
|
|
431
|
+
}, this.isSpeedy = r.speedy === void 0 || r.speedy, this.tags = [], this.ctr = 0, this.nonce = r.nonce, this.key = r.key, this.container = r.container, this.prepend = r.prepend, this.insertionPoint = r.insertionPoint, this.before = null;
|
|
545
432
|
}
|
|
546
433
|
var t = e.prototype;
|
|
547
434
|
return t.hydrate = function(r) {
|
|
548
435
|
r.forEach(this._insertTag);
|
|
549
436
|
}, t.insert = function(r) {
|
|
550
|
-
this.ctr % (this.isSpeedy ? 65e3 : 1)
|
|
437
|
+
this.ctr % (this.isSpeedy ? 65e3 : 1) == 0 && this._insertTag((function(s) {
|
|
438
|
+
var c = document.createElement("style");
|
|
439
|
+
return c.setAttribute("data-emotion", s.key), s.nonce !== void 0 && c.setAttribute("nonce", s.nonce), c.appendChild(document.createTextNode("")), c.setAttribute("data-s", ""), c;
|
|
440
|
+
})(this));
|
|
551
441
|
var n = this.tags[this.tags.length - 1];
|
|
552
442
|
if (this.isSpeedy) {
|
|
553
|
-
var a =
|
|
443
|
+
var a = (function(s) {
|
|
444
|
+
if (s.sheet) return s.sheet;
|
|
445
|
+
for (var c = 0; c < document.styleSheets.length; c++) if (document.styleSheets[c].ownerNode === s) return document.styleSheets[c];
|
|
446
|
+
})(n);
|
|
554
447
|
try {
|
|
555
448
|
a.insertRule(r, a.cssRules.length);
|
|
556
449
|
} catch {
|
|
557
450
|
}
|
|
558
|
-
} else
|
|
559
|
-
n.appendChild(document.createTextNode(r));
|
|
451
|
+
} else n.appendChild(document.createTextNode(r));
|
|
560
452
|
this.ctr++;
|
|
561
453
|
}, t.flush = function() {
|
|
562
454
|
this.tags.forEach(function(r) {
|
|
@@ -565,65 +457,55 @@ var jt = /* @__PURE__ */ (function() {
|
|
|
565
457
|
}), this.tags = [], this.ctr = 0;
|
|
566
458
|
}, e;
|
|
567
459
|
})();
|
|
568
|
-
function
|
|
460
|
+
function gt(e) {
|
|
569
461
|
var t = /* @__PURE__ */ Object.create(null);
|
|
570
462
|
return function(r) {
|
|
571
463
|
return t[r] === void 0 && (t[r] = e(r)), t[r];
|
|
572
464
|
};
|
|
573
465
|
}
|
|
574
|
-
var
|
|
575
|
-
for (var n = 0, a = 0; n = a, a =
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
break;
|
|
585
|
-
case 2:
|
|
586
|
-
e[r] += Q(n);
|
|
587
|
-
break;
|
|
588
|
-
case 4:
|
|
589
|
-
if (n === 44) {
|
|
590
|
-
e[++r] = L() === 58 ? "&\f" : "", t[r] = e[r].length;
|
|
466
|
+
var vt = function(e, t, r) {
|
|
467
|
+
for (var n = 0, a = 0; n = a, a = j(), n === 38 && a === 12 && (t[r] = 1), !U(a); ) O();
|
|
468
|
+
return J(e, $);
|
|
469
|
+
}, kt = function(e, t) {
|
|
470
|
+
return je((function(r, n) {
|
|
471
|
+
var a = -1, s = 44;
|
|
472
|
+
do
|
|
473
|
+
switch (U(s)) {
|
|
474
|
+
case 0:
|
|
475
|
+
s === 38 && j() === 12 && (n[a] = 1), r[a] += vt($ - 1, n, a);
|
|
591
476
|
break;
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
}
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
477
|
+
case 2:
|
|
478
|
+
r[a] += q(s);
|
|
479
|
+
break;
|
|
480
|
+
case 4:
|
|
481
|
+
if (s === 44) {
|
|
482
|
+
r[++a] = j() === 58 ? "&\f" : "", n[a] = r[a].length;
|
|
483
|
+
break;
|
|
484
|
+
}
|
|
485
|
+
default:
|
|
486
|
+
r[a] += re(s);
|
|
487
|
+
}
|
|
488
|
+
while (s = O());
|
|
489
|
+
return r;
|
|
490
|
+
})(Fe(e), t));
|
|
491
|
+
}, Ne = /* @__PURE__ */ new WeakMap(), xt = function(e) {
|
|
492
|
+
if (e.type === "rule" && e.parent && !(e.length < 1)) {
|
|
493
|
+
for (var t = e.value, r = e.parent, n = e.column === r.column && e.line === r.line; r.type !== "rule"; ) if (!(r = r.parent)) return;
|
|
494
|
+
if ((e.props.length !== 1 || t.charCodeAt(0) === 58 || Ne.get(r)) && !n) {
|
|
495
|
+
Ne.set(e, !0);
|
|
496
|
+
for (var a = [], s = kt(t, a), c = r.props, p = 0, b = 0; p < s.length; p++) for (var d = 0; d < c.length; d++, b++) e.props[b] = a[p] ? s[p].replace(/&\f/g, c[d]) : c[d] + " " + s[p];
|
|
612
497
|
}
|
|
613
498
|
}
|
|
614
|
-
},
|
|
499
|
+
}, _t = function(e) {
|
|
615
500
|
if (e.type === "decl") {
|
|
616
501
|
var t = e.value;
|
|
617
|
-
t.charCodeAt(0) === 108 &&
|
|
618
|
-
t.charCodeAt(2) === 98 && (e.return = "", e.value = "");
|
|
502
|
+
t.charCodeAt(0) === 108 && t.charCodeAt(2) === 98 && (e.return = "", e.value = "");
|
|
619
503
|
}
|
|
620
504
|
};
|
|
621
|
-
function
|
|
622
|
-
switch (
|
|
623
|
-
// color-adjust
|
|
505
|
+
function Le(e, t) {
|
|
506
|
+
switch (at(e, t)) {
|
|
624
507
|
case 5103:
|
|
625
|
-
return
|
|
626
|
-
// animation, animation-(delay|direction|duration|fill-mode|iteration-count|name|play-state|timing-function)
|
|
508
|
+
return v + "print-" + e + e;
|
|
627
509
|
case 5737:
|
|
628
510
|
case 4201:
|
|
629
511
|
case 3177:
|
|
@@ -631,80 +513,62 @@ function De(e, t) {
|
|
|
631
513
|
case 1641:
|
|
632
514
|
case 4457:
|
|
633
515
|
case 2921:
|
|
634
|
-
// text-decoration, filter, clip-path, backface-visibility, column, box-decoration-break
|
|
635
516
|
case 5572:
|
|
636
517
|
case 6356:
|
|
637
518
|
case 5844:
|
|
638
519
|
case 3191:
|
|
639
520
|
case 6645:
|
|
640
521
|
case 3005:
|
|
641
|
-
// mask, mask-image, mask-(mode|clip|size), mask-(repeat|origin), mask-position, mask-composite,
|
|
642
522
|
case 6391:
|
|
643
523
|
case 5879:
|
|
644
524
|
case 5623:
|
|
645
525
|
case 6135:
|
|
646
526
|
case 4599:
|
|
647
527
|
case 4855:
|
|
648
|
-
// background-clip, columns, column-(count|fill|gap|rule|rule-color|rule-style|rule-width|span|width)
|
|
649
528
|
case 4215:
|
|
650
529
|
case 6389:
|
|
651
530
|
case 5109:
|
|
652
531
|
case 5365:
|
|
653
532
|
case 5621:
|
|
654
533
|
case 3829:
|
|
655
|
-
return
|
|
656
|
-
// appearance, user-select, transform, hyphens, text-size-adjust
|
|
534
|
+
return v + e + e;
|
|
657
535
|
case 5349:
|
|
658
536
|
case 4246:
|
|
659
537
|
case 4810:
|
|
660
538
|
case 6968:
|
|
661
539
|
case 2756:
|
|
662
|
-
return
|
|
663
|
-
// flex, flex-direction
|
|
540
|
+
return v + e + te + e + R + e + e;
|
|
664
541
|
case 6828:
|
|
665
542
|
case 4268:
|
|
666
|
-
return
|
|
667
|
-
// order
|
|
543
|
+
return v + e + R + e + e;
|
|
668
544
|
case 6165:
|
|
669
|
-
return
|
|
670
|
-
// align-items
|
|
545
|
+
return v + e + R + "flex-" + e + e;
|
|
671
546
|
case 5187:
|
|
672
|
-
return
|
|
673
|
-
// align-self
|
|
547
|
+
return v + e + k(e, /(\w+).+(:[^]+)/, v + "box-$1$2" + R + "flex-$1$2") + e;
|
|
674
548
|
case 5443:
|
|
675
|
-
return
|
|
676
|
-
// align-content
|
|
549
|
+
return v + e + R + "flex-item-" + k(e, /flex-|-self/, "") + e;
|
|
677
550
|
case 4675:
|
|
678
|
-
return
|
|
679
|
-
// flex-shrink
|
|
551
|
+
return v + e + R + "flex-line-pack" + k(e, /align-content|flex-|-self/, "") + e;
|
|
680
552
|
case 5548:
|
|
681
|
-
return
|
|
682
|
-
// flex-basis
|
|
553
|
+
return v + e + R + k(e, "shrink", "negative") + e;
|
|
683
554
|
case 5292:
|
|
684
|
-
return
|
|
685
|
-
// flex-grow
|
|
555
|
+
return v + e + R + k(e, "basis", "preferred-size") + e;
|
|
686
556
|
case 6060:
|
|
687
|
-
return
|
|
688
|
-
// transition
|
|
557
|
+
return v + "box-" + k(e, "-grow", "") + v + e + R + k(e, "grow", "positive") + e;
|
|
689
558
|
case 4554:
|
|
690
|
-
return
|
|
691
|
-
// cursor
|
|
559
|
+
return v + k(e, /([^-])(transform)/g, "$1" + v + "$2") + e;
|
|
692
560
|
case 6187:
|
|
693
|
-
return
|
|
694
|
-
// background, background-image
|
|
561
|
+
return k(k(k(e, /(zoom-|grab)/, v + "$1"), /(image-set)/, v + "$1"), e, "") + e;
|
|
695
562
|
case 5495:
|
|
696
563
|
case 3959:
|
|
697
|
-
return
|
|
698
|
-
// justify-content
|
|
564
|
+
return k(e, /(image-set\([^]*)/, v + "$1$`$1");
|
|
699
565
|
case 4968:
|
|
700
|
-
return
|
|
701
|
-
// (margin|padding)-inline-(start|end)
|
|
566
|
+
return k(k(e, /(.+:)(flex-)?(.*)/, v + "box-pack:$3" + R + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + v + e + e;
|
|
702
567
|
case 4095:
|
|
703
568
|
case 3583:
|
|
704
569
|
case 4068:
|
|
705
570
|
case 2532:
|
|
706
|
-
return
|
|
707
|
-
// (min|max)?(width|height|inline-size|block-size)
|
|
571
|
+
return k(e, /(.+)-inline(.+)/, v + "$1$2") + e;
|
|
708
572
|
case 8116:
|
|
709
573
|
case 7059:
|
|
710
574
|
case 5753:
|
|
@@ -717,143 +581,84 @@ function De(e, t) {
|
|
|
717
581
|
case 5789:
|
|
718
582
|
case 5021:
|
|
719
583
|
case 4765:
|
|
720
|
-
if (
|
|
721
|
-
// (m)ax-content, (m)in-content
|
|
584
|
+
if (D(e) - 1 - t > 6) switch (E(e, t + 1)) {
|
|
722
585
|
case 109:
|
|
723
|
-
if (
|
|
724
|
-
// (f)ill-available, (f)it-content
|
|
586
|
+
if (E(e, t + 4) !== 45) break;
|
|
725
587
|
case 102:
|
|
726
|
-
return
|
|
727
|
-
// (s)tretch
|
|
588
|
+
return k(e, /(.+:)(.+)-([^]+)/, "$1" + v + "$2-$3$1" + te + (E(e, t + 3) == 108 ? "$3" : "$2-$3")) + e;
|
|
728
589
|
case 115:
|
|
729
|
-
return ~le(e, "stretch") ?
|
|
590
|
+
return ~le(e, "stretch") ? Le(k(e, "stretch", "fill-available"), t) + e : e;
|
|
730
591
|
}
|
|
731
592
|
break;
|
|
732
|
-
// position: sticky
|
|
733
593
|
case 4949:
|
|
734
|
-
if (
|
|
735
|
-
// display: (flex|inline-flex)
|
|
594
|
+
if (E(e, t + 1) !== 115) break;
|
|
736
595
|
case 6444:
|
|
737
|
-
switch (
|
|
738
|
-
// stic(k)y
|
|
596
|
+
switch (E(e, D(e) - 3 - (~le(e, "!important") && 10))) {
|
|
739
597
|
case 107:
|
|
740
|
-
return
|
|
741
|
-
// (inline-)?fl(e)x
|
|
598
|
+
return k(e, ":", ":" + v) + e;
|
|
742
599
|
case 101:
|
|
743
|
-
return
|
|
600
|
+
return k(e, /(.+:)([^;!]+)(;|!.+)?/, "$1" + v + (E(e, 14) === 45 ? "inline-" : "") + "box$3$1" + v + "$2$3$1" + R + "$2box$3") + e;
|
|
744
601
|
}
|
|
745
602
|
break;
|
|
746
|
-
// writing-mode
|
|
747
603
|
case 5936:
|
|
748
|
-
switch (
|
|
749
|
-
// vertical-l(r)
|
|
604
|
+
switch (E(e, t + 11)) {
|
|
750
605
|
case 114:
|
|
751
|
-
return
|
|
752
|
-
// vertical-r(l)
|
|
606
|
+
return v + e + R + k(e, /[svh]\w+-[tblr]{2}/, "tb") + e;
|
|
753
607
|
case 108:
|
|
754
|
-
return
|
|
755
|
-
// horizontal(-)tb
|
|
608
|
+
return v + e + R + k(e, /[svh]\w+-[tblr]{2}/, "tb-rl") + e;
|
|
756
609
|
case 45:
|
|
757
|
-
return
|
|
610
|
+
return v + e + R + k(e, /[svh]\w+-[tblr]{2}/, "lr") + e;
|
|
758
611
|
}
|
|
759
|
-
return
|
|
612
|
+
return v + e + R + e + e;
|
|
760
613
|
}
|
|
761
614
|
return e;
|
|
762
615
|
}
|
|
763
|
-
var
|
|
616
|
+
var St = [function(e, t, r, n) {
|
|
764
617
|
if (e.length > -1 && !e.return) switch (e.type) {
|
|
765
|
-
case
|
|
766
|
-
e.return =
|
|
618
|
+
case me:
|
|
619
|
+
e.return = Le(e.value, e.length);
|
|
767
620
|
break;
|
|
768
|
-
case
|
|
769
|
-
return
|
|
770
|
-
value: b(e.value, "@", "@" + m)
|
|
771
|
-
})], n);
|
|
621
|
+
case Me:
|
|
622
|
+
return I([H(e, { value: k(e.value, "@", "@" + v) })], n);
|
|
772
623
|
case de:
|
|
773
|
-
if (e.length) return
|
|
774
|
-
switch (
|
|
775
|
-
// :read-(only|write)
|
|
624
|
+
if (e.length) return st(e.props, function(a) {
|
|
625
|
+
switch (ot(a, /(::plac\w+|:read-\w+)/)) {
|
|
776
626
|
case ":read-only":
|
|
777
627
|
case ":read-write":
|
|
778
|
-
return
|
|
779
|
-
props: [b(a, /:(read-\w+)/, ":" + te + "$1")]
|
|
780
|
-
})], n);
|
|
781
|
-
// :placeholder
|
|
628
|
+
return I([H(e, { props: [k(a, /:(read-\w+)/, ":" + te + "$1")] })], n);
|
|
782
629
|
case "::placeholder":
|
|
783
|
-
return
|
|
784
|
-
props: [b(a, /:(plac\w+)/, ":" + m + "input-$1")]
|
|
785
|
-
}), H(e, {
|
|
786
|
-
props: [b(a, /:(plac\w+)/, ":" + te + "$1")]
|
|
787
|
-
}), H(e, {
|
|
788
|
-
props: [b(a, /:(plac\w+)/, R + "input-$1")]
|
|
789
|
-
})], n);
|
|
630
|
+
return I([H(e, { props: [k(a, /:(plac\w+)/, ":" + v + "input-$1")] }), H(e, { props: [k(a, /:(plac\w+)/, ":" + te + "$1")] }), H(e, { props: [k(a, /:(plac\w+)/, R + "input-$1")] })], n);
|
|
790
631
|
}
|
|
791
632
|
return "";
|
|
792
633
|
});
|
|
793
634
|
}
|
|
794
|
-
}
|
|
635
|
+
}], wt = function(e) {
|
|
795
636
|
var t = e.key;
|
|
796
637
|
if (t === "css") {
|
|
797
638
|
var r = document.querySelectorAll("style[data-emotion]:not([data-s])");
|
|
798
|
-
Array.prototype.forEach.call(r, function(
|
|
799
|
-
|
|
800
|
-
h.indexOf(" ") !== -1 && (document.head.appendChild(f), f.setAttribute("data-s", ""));
|
|
639
|
+
Array.prototype.forEach.call(r, function(l) {
|
|
640
|
+
l.getAttribute("data-emotion").indexOf(" ") !== -1 && (document.head.appendChild(l), l.setAttribute("data-s", ""));
|
|
801
641
|
});
|
|
802
642
|
}
|
|
803
|
-
var n = e.stylisPlugins ||
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
var u, p = [Gt, It];
|
|
815
|
-
{
|
|
816
|
-
var l, y = [At, Et(function(f) {
|
|
817
|
-
l.insert(f);
|
|
818
|
-
})], d = Rt(p.concat(n, y)), A = function(f) {
|
|
819
|
-
return G(Pt(f), d);
|
|
820
|
-
};
|
|
821
|
-
u = function(f, h, P, C) {
|
|
822
|
-
l = P, A(f ? f + "{" + h.styles + "}" : h.styles), C && (k.inserted[h.name] = !0);
|
|
823
|
-
};
|
|
824
|
-
}
|
|
825
|
-
var k = {
|
|
826
|
-
key: t,
|
|
827
|
-
sheet: new jt({
|
|
828
|
-
key: t,
|
|
829
|
-
container: s,
|
|
830
|
-
nonce: e.nonce,
|
|
831
|
-
speedy: e.speedy,
|
|
832
|
-
prepend: e.prepend,
|
|
833
|
-
insertionPoint: e.insertionPoint
|
|
834
|
-
}),
|
|
835
|
-
nonce: e.nonce,
|
|
836
|
-
inserted: a,
|
|
837
|
-
registered: {},
|
|
838
|
-
insert: u
|
|
643
|
+
var n, a, s = e.stylisPlugins || St, c = {}, p = [];
|
|
644
|
+
n = e.container || document.head, Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="' + t + ' "]'), function(l) {
|
|
645
|
+
for (var u = l.getAttribute("data-emotion").split(" "), g = 1; g < u.length; g++) c[u[g]] = !0;
|
|
646
|
+
p.push(l);
|
|
647
|
+
});
|
|
648
|
+
var b, d = [xt, _t], m = [mt, ht(function(l) {
|
|
649
|
+
b.insert(l);
|
|
650
|
+
})], f = yt(d.concat(s, m));
|
|
651
|
+
a = function(l, u, g, A) {
|
|
652
|
+
var _;
|
|
653
|
+
b = g, _ = l ? l + "{" + u.styles + "}" : u.styles, I(pt(_), f), A && (y.inserted[u.name] = !0);
|
|
839
654
|
};
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
function
|
|
843
|
-
var n = "";
|
|
844
|
-
return r.split(" ").forEach(function(a) {
|
|
845
|
-
e[a] !== void 0 ? t.push(e[a] + ";") : a && (n += a + " ");
|
|
846
|
-
}), n;
|
|
847
|
-
}
|
|
848
|
-
var Le = function(e, t, r) {
|
|
655
|
+
var y = { key: t, sheet: new bt({ key: t, container: n, nonce: e.nonce, speedy: e.speedy, prepend: e.prepend, insertionPoint: e.insertionPoint }), nonce: e.nonce, inserted: c, registered: {}, insert: a };
|
|
656
|
+
return y.sheet.hydrate(p), y;
|
|
657
|
+
}, Ie = function(e, t, r) {
|
|
849
658
|
var n = e.key + "-" + t.name;
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
// also, note that this check will be dead code eliminated in the browser
|
|
854
|
-
Wt === !1) && e.registered[n] === void 0 && (e.registered[n] = t.styles);
|
|
855
|
-
}, Ut = function(e, t, r) {
|
|
856
|
-
Le(e, t, r);
|
|
659
|
+
r === !1 && e.registered[n] === void 0 && (e.registered[n] = t.styles);
|
|
660
|
+
}, Tt = function(e, t, r) {
|
|
661
|
+
Ie(e, t, r);
|
|
857
662
|
var n = e.key + "-" + t.name;
|
|
858
663
|
if (e.inserted[t.name] === void 0) {
|
|
859
664
|
var a = t;
|
|
@@ -861,308 +666,146 @@ var Le = function(e, t, r) {
|
|
|
861
666
|
e.insert(t === a ? "." + n : "", a, e.sheet, !0), a = a.next;
|
|
862
667
|
while (a !== void 0);
|
|
863
668
|
}
|
|
864
|
-
}
|
|
865
|
-
function Jt(e) {
|
|
866
|
-
for (var t = 0, r, n = 0, a = e.length; a >= 4; ++n, a -= 4)
|
|
867
|
-
r = e.charCodeAt(n) & 255 | (e.charCodeAt(++n) & 255) << 8 | (e.charCodeAt(++n) & 255) << 16 | (e.charCodeAt(++n) & 255) << 24, r = /* Math.imul(k, m): */
|
|
868
|
-
(r & 65535) * 1540483477 + ((r >>> 16) * 59797 << 16), r ^= /* k >>> r: */
|
|
869
|
-
r >>> 24, t = /* Math.imul(k, m): */
|
|
870
|
-
(r & 65535) * 1540483477 + ((r >>> 16) * 59797 << 16) ^ /* Math.imul(h, m): */
|
|
871
|
-
(t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16);
|
|
872
|
-
switch (a) {
|
|
873
|
-
case 3:
|
|
874
|
-
t ^= (e.charCodeAt(n + 2) & 255) << 16;
|
|
875
|
-
case 2:
|
|
876
|
-
t ^= (e.charCodeAt(n + 1) & 255) << 8;
|
|
877
|
-
case 1:
|
|
878
|
-
t ^= e.charCodeAt(n) & 255, t = /* Math.imul(h, m): */
|
|
879
|
-
(t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16);
|
|
880
|
-
}
|
|
881
|
-
return t ^= t >>> 13, t = /* Math.imul(h, m): */
|
|
882
|
-
(t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16), ((t ^ t >>> 15) >>> 0).toString(36);
|
|
883
|
-
}
|
|
884
|
-
var Zt = {
|
|
885
|
-
animationIterationCount: 1,
|
|
886
|
-
aspectRatio: 1,
|
|
887
|
-
borderImageOutset: 1,
|
|
888
|
-
borderImageSlice: 1,
|
|
889
|
-
borderImageWidth: 1,
|
|
890
|
-
boxFlex: 1,
|
|
891
|
-
boxFlexGroup: 1,
|
|
892
|
-
boxOrdinalGroup: 1,
|
|
893
|
-
columnCount: 1,
|
|
894
|
-
columns: 1,
|
|
895
|
-
flex: 1,
|
|
896
|
-
flexGrow: 1,
|
|
897
|
-
flexPositive: 1,
|
|
898
|
-
flexShrink: 1,
|
|
899
|
-
flexNegative: 1,
|
|
900
|
-
flexOrder: 1,
|
|
901
|
-
gridRow: 1,
|
|
902
|
-
gridRowEnd: 1,
|
|
903
|
-
gridRowSpan: 1,
|
|
904
|
-
gridRowStart: 1,
|
|
905
|
-
gridColumn: 1,
|
|
906
|
-
gridColumnEnd: 1,
|
|
907
|
-
gridColumnSpan: 1,
|
|
908
|
-
gridColumnStart: 1,
|
|
909
|
-
msGridRow: 1,
|
|
910
|
-
msGridRowSpan: 1,
|
|
911
|
-
msGridColumn: 1,
|
|
912
|
-
msGridColumnSpan: 1,
|
|
913
|
-
fontWeight: 1,
|
|
914
|
-
lineHeight: 1,
|
|
915
|
-
opacity: 1,
|
|
916
|
-
order: 1,
|
|
917
|
-
orphans: 1,
|
|
918
|
-
scale: 1,
|
|
919
|
-
tabSize: 1,
|
|
920
|
-
widows: 1,
|
|
921
|
-
zIndex: 1,
|
|
922
|
-
zoom: 1,
|
|
923
|
-
WebkitLineClamp: 1,
|
|
924
|
-
// SVG-related properties
|
|
925
|
-
fillOpacity: 1,
|
|
926
|
-
floodOpacity: 1,
|
|
927
|
-
stopOpacity: 1,
|
|
928
|
-
strokeDasharray: 1,
|
|
929
|
-
strokeDashoffset: 1,
|
|
930
|
-
strokeMiterlimit: 1,
|
|
931
|
-
strokeOpacity: 1,
|
|
932
|
-
strokeWidth: 1
|
|
933
|
-
}, qt = /[A-Z]|^ms/g, Yt = /_EMO_([^_]+?)_([^]*?)_EMO_/g, Fe = function(e) {
|
|
669
|
+
}, Ct = { animationIterationCount: 1, aspectRatio: 1, borderImageOutset: 1, borderImageSlice: 1, borderImageWidth: 1, boxFlex: 1, boxFlexGroup: 1, boxOrdinalGroup: 1, columnCount: 1, columns: 1, flex: 1, flexGrow: 1, flexPositive: 1, flexShrink: 1, flexNegative: 1, flexOrder: 1, gridRow: 1, gridRowEnd: 1, gridRowSpan: 1, gridRowStart: 1, gridColumn: 1, gridColumnEnd: 1, gridColumnSpan: 1, gridColumnStart: 1, msGridRow: 1, msGridRowSpan: 1, msGridColumn: 1, msGridColumnSpan: 1, fontWeight: 1, lineHeight: 1, opacity: 1, order: 1, orphans: 1, scale: 1, tabSize: 1, widows: 1, zIndex: 1, zoom: 1, WebkitLineClamp: 1, fillOpacity: 1, floodOpacity: 1, stopOpacity: 1, strokeDasharray: 1, strokeDashoffset: 1, strokeMiterlimit: 1, strokeOpacity: 1, strokeWidth: 1 }, Nt = /[A-Z]|^ms/g, Pt = /_EMO_([^_]+?)_([^]*?)_EMO_/g, Ge = function(e) {
|
|
934
670
|
return e.charCodeAt(1) === 45;
|
|
935
|
-
},
|
|
671
|
+
}, Pe = function(e) {
|
|
936
672
|
return e != null && typeof e != "boolean";
|
|
937
|
-
},
|
|
938
|
-
return
|
|
939
|
-
}),
|
|
673
|
+
}, ce = /* @__PURE__ */ gt(function(e) {
|
|
674
|
+
return Ge(e) ? e : e.replace(Nt, "-$&").toLowerCase();
|
|
675
|
+
}), Ae = function(e, t) {
|
|
940
676
|
switch (e) {
|
|
941
677
|
case "animation":
|
|
942
678
|
case "animationName":
|
|
943
|
-
if (typeof t == "string")
|
|
944
|
-
return
|
|
945
|
-
|
|
946
|
-
name: n,
|
|
947
|
-
styles: a,
|
|
948
|
-
next: D
|
|
949
|
-
}, n;
|
|
950
|
-
});
|
|
679
|
+
if (typeof t == "string") return t.replace(Pt, function(r, n, a) {
|
|
680
|
+
return F = { name: n, styles: a, next: F }, n;
|
|
681
|
+
});
|
|
951
682
|
}
|
|
952
|
-
return
|
|
683
|
+
return Ct[e] === 1 || Ge(e) || typeof t != "number" || t === 0 ? t : t + "px";
|
|
953
684
|
};
|
|
954
|
-
function
|
|
955
|
-
if (r == null)
|
|
956
|
-
return "";
|
|
685
|
+
function V(e, t, r) {
|
|
686
|
+
if (r == null) return "";
|
|
957
687
|
var n = r;
|
|
958
|
-
if (n.__emotion_styles !== void 0)
|
|
959
|
-
return n;
|
|
688
|
+
if (n.__emotion_styles !== void 0) return n;
|
|
960
689
|
switch (typeof r) {
|
|
961
690
|
case "boolean":
|
|
962
691
|
return "";
|
|
963
|
-
case "object":
|
|
692
|
+
case "object":
|
|
964
693
|
var a = r;
|
|
965
|
-
if (a.anim === 1)
|
|
966
|
-
return D = {
|
|
967
|
-
name: a.name,
|
|
968
|
-
styles: a.styles,
|
|
969
|
-
next: D
|
|
970
|
-
}, a.name;
|
|
694
|
+
if (a.anim === 1) return F = { name: a.name, styles: a.styles, next: F }, a.name;
|
|
971
695
|
var s = r;
|
|
972
696
|
if (s.styles !== void 0) {
|
|
973
697
|
var c = s.next;
|
|
974
|
-
if (c !== void 0)
|
|
975
|
-
|
|
976
|
-
D = {
|
|
977
|
-
name: c.name,
|
|
978
|
-
styles: c.styles,
|
|
979
|
-
next: D
|
|
980
|
-
}, c = c.next;
|
|
981
|
-
var u = s.styles + ";";
|
|
982
|
-
return u;
|
|
983
|
-
}
|
|
984
|
-
return Qt(e, t, r);
|
|
985
|
-
}
|
|
986
|
-
case "function": {
|
|
987
|
-
if (e !== void 0) {
|
|
988
|
-
var p = D, l = r(e);
|
|
989
|
-
return D = p, K(e, t, l);
|
|
698
|
+
if (c !== void 0) for (; c !== void 0; ) F = { name: c.name, styles: c.styles, next: F }, c = c.next;
|
|
699
|
+
return s.styles + ";";
|
|
990
700
|
}
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
Te(c[p]) && (n += ie(s) + ":" + Ne(s, c[p]) + ";");
|
|
1011
|
-
else {
|
|
1012
|
-
var l = K(e, t, c);
|
|
1013
|
-
switch (s) {
|
|
1014
|
-
case "animation":
|
|
1015
|
-
case "animationName": {
|
|
1016
|
-
n += ie(s) + ":" + l + ";";
|
|
1017
|
-
break;
|
|
701
|
+
return (function(d, m, f) {
|
|
702
|
+
var y = "";
|
|
703
|
+
if (Array.isArray(f)) for (var l = 0; l < f.length; l++) y += V(d, m, f[l]) + ";";
|
|
704
|
+
else for (var u in f) {
|
|
705
|
+
var g = f[u];
|
|
706
|
+
if (typeof g != "object") {
|
|
707
|
+
var A = g;
|
|
708
|
+
Pe(A) && (y += ce(u) + ":" + Ae(u, A) + ";");
|
|
709
|
+
} else if (Array.isArray(g) && typeof g[0] == "string" && m == null) for (var _ = 0; _ < g.length; _++) Pe(g[_]) && (y += ce(u) + ":" + Ae(u, g[_]) + ";");
|
|
710
|
+
else {
|
|
711
|
+
var T = V(d, m, g);
|
|
712
|
+
switch (u) {
|
|
713
|
+
case "animation":
|
|
714
|
+
case "animationName":
|
|
715
|
+
y += ce(u) + ":" + T + ";";
|
|
716
|
+
break;
|
|
717
|
+
default:
|
|
718
|
+
y += u + "{" + T + "}";
|
|
719
|
+
}
|
|
1018
720
|
}
|
|
1019
|
-
default:
|
|
1020
|
-
n += s + "{" + l + "}";
|
|
1021
721
|
}
|
|
722
|
+
return y;
|
|
723
|
+
})(e, t, r);
|
|
724
|
+
case "function":
|
|
725
|
+
if (e !== void 0) {
|
|
726
|
+
var p = F, b = r(e);
|
|
727
|
+
return F = p, V(e, t, b);
|
|
1022
728
|
}
|
|
1023
|
-
|
|
1024
|
-
return
|
|
729
|
+
}
|
|
730
|
+
return r;
|
|
1025
731
|
}
|
|
1026
|
-
var
|
|
1027
|
-
function
|
|
1028
|
-
if (e.length === 1 && typeof e[0] == "object" && e[0] !== null && e[0].styles !== void 0)
|
|
1029
|
-
return e[0];
|
|
732
|
+
var F, Ee = /label:\s*([^\s;{]+)\s*(;|$)/g;
|
|
733
|
+
function At(e, t, r) {
|
|
734
|
+
if (e.length === 1 && typeof e[0] == "object" && e[0] !== null && e[0].styles !== void 0) return e[0];
|
|
1030
735
|
var n = !0, a = "";
|
|
1031
|
-
|
|
736
|
+
F = void 0;
|
|
1032
737
|
var s = e[0];
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
738
|
+
s == null || s.raw === void 0 ? (n = !1, a += V(r, t, s)) : a += s[0];
|
|
739
|
+
for (var c = 1; c < e.length; c++)
|
|
740
|
+
a += V(r, t, e[c]), n && (a += s[c]);
|
|
741
|
+
Ee.lastIndex = 0;
|
|
742
|
+
for (var p, b = ""; (p = Ee.exec(a)) !== null; ) b += "-" + p[1];
|
|
743
|
+
var d = (function(m) {
|
|
744
|
+
for (var f, y = 0, l = 0, u = m.length; u >= 4; ++l, u -= 4) f = 1540483477 * (65535 & (f = 255 & m.charCodeAt(l) | (255 & m.charCodeAt(++l)) << 8 | (255 & m.charCodeAt(++l)) << 16 | (255 & m.charCodeAt(++l)) << 24)) + (59797 * (f >>> 16) << 16), y = 1540483477 * (65535 & (f ^= f >>> 24)) + (59797 * (f >>> 16) << 16) ^ 1540483477 * (65535 & y) + (59797 * (y >>> 16) << 16);
|
|
745
|
+
switch (u) {
|
|
746
|
+
case 3:
|
|
747
|
+
y ^= (255 & m.charCodeAt(l + 2)) << 16;
|
|
748
|
+
case 2:
|
|
749
|
+
y ^= (255 & m.charCodeAt(l + 1)) << 8;
|
|
750
|
+
case 1:
|
|
751
|
+
y = 1540483477 * (65535 & (y ^= 255 & m.charCodeAt(l))) + (59797 * (y >>> 16) << 16);
|
|
1043
752
|
}
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
var d = Jt(a) + l;
|
|
1048
|
-
return {
|
|
1049
|
-
name: d,
|
|
1050
|
-
styles: a,
|
|
1051
|
-
next: D
|
|
1052
|
-
};
|
|
753
|
+
return (((y = 1540483477 * (65535 & (y ^= y >>> 13)) + (59797 * (y >>> 16) << 16)) ^ y >>> 15) >>> 0).toString(36);
|
|
754
|
+
})(a) + b;
|
|
755
|
+
return { name: d, styles: a, next: F };
|
|
1053
756
|
}
|
|
1054
|
-
var
|
|
757
|
+
var Et = !!B.useInsertionEffect && B.useInsertionEffect, Rt = Et || function(e) {
|
|
1055
758
|
return e();
|
|
1056
|
-
},
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
// but this is much easier and the native packages
|
|
1062
|
-
// might use a different theme context in the future anyway
|
|
1063
|
-
typeof HTMLElement < "u" ? /* @__PURE__ */ Vt({
|
|
1064
|
-
key: "css"
|
|
1065
|
-
}) : null
|
|
1066
|
-
);
|
|
1067
|
-
Ge.Provider;
|
|
1068
|
-
var ar = function(e) {
|
|
1069
|
-
return /* @__PURE__ */ lt(function(t, r) {
|
|
1070
|
-
var n = Ae(Ge);
|
|
759
|
+
}, Xe = /* @__PURE__ */ B.createContext(typeof HTMLElement < "u" ? /* @__PURE__ */ wt({ key: "css" }) : null);
|
|
760
|
+
Xe.Provider;
|
|
761
|
+
var ie, Re, $t = function(e) {
|
|
762
|
+
return qe(function(t, r) {
|
|
763
|
+
var n = ze(Xe);
|
|
1071
764
|
return e(t, n, r);
|
|
1072
765
|
});
|
|
1073
|
-
},
|
|
766
|
+
}, zt = /* @__PURE__ */ B.createContext({}), he = {}.hasOwnProperty, pe = "__EMOTION_TYPE_PLEASE_DO_NOT_USE__", Ot = function(e, t) {
|
|
1074
767
|
var r = {};
|
|
1075
|
-
for (var n in t)
|
|
1076
|
-
me.call(t, n) && (r[n] = t[n]);
|
|
768
|
+
for (var n in t) he.call(t, n) && (r[n] = t[n]);
|
|
1077
769
|
return r[pe] = e, r;
|
|
1078
|
-
},
|
|
770
|
+
}, Mt = function(e) {
|
|
1079
771
|
var t = e.cache, r = e.serialized, n = e.isStringTag;
|
|
1080
|
-
return
|
|
1081
|
-
return
|
|
772
|
+
return Ie(t, r, n), Rt(function() {
|
|
773
|
+
return Tt(t, r, n);
|
|
1082
774
|
}), null;
|
|
1083
|
-
},
|
|
775
|
+
}, Bt = /* @__PURE__ */ $t(function(e, t, r) {
|
|
1084
776
|
var n = e.css;
|
|
1085
777
|
typeof n == "string" && t.registered[n] !== void 0 && (n = t.registered[n]);
|
|
1086
778
|
var a = e[pe], s = [n], c = "";
|
|
1087
|
-
typeof e.className == "string" ? c =
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
}), /* @__PURE__ */
|
|
1098
|
-
}),
|
|
779
|
+
typeof e.className == "string" ? c = (function(m, f, y) {
|
|
780
|
+
var l = "";
|
|
781
|
+
return y.split(" ").forEach(function(u) {
|
|
782
|
+
m[u] !== void 0 ? f.push(m[u] + ";") : u && (l += u + " ");
|
|
783
|
+
}), l;
|
|
784
|
+
})(t.registered, s, e.className) : e.className != null && (c = e.className + " ");
|
|
785
|
+
var p = At(s, void 0, B.useContext(zt));
|
|
786
|
+
c += t.key + "-" + p.name;
|
|
787
|
+
var b = {};
|
|
788
|
+
for (var d in e) he.call(e, d) && d !== "css" && d !== pe && (b[d] = e[d]);
|
|
789
|
+
return b.className = c, r && (b.ref = r), /* @__PURE__ */ B.createElement(B.Fragment, null, /* @__PURE__ */ B.createElement(Mt, { cache: t, serialized: p, isStringTag: typeof a == "string" }), /* @__PURE__ */ B.createElement(a, b));
|
|
790
|
+
}), $e = function(e, t) {
|
|
1099
791
|
var r = arguments;
|
|
1100
|
-
if (t == null || !
|
|
1101
|
-
return j.createElement.apply(void 0, r);
|
|
792
|
+
if (t == null || !he.call(t, "css")) return B.createElement.apply(void 0, r);
|
|
1102
793
|
var n = r.length, a = new Array(n);
|
|
1103
|
-
a[0] =
|
|
1104
|
-
for (var s = 2; s < n; s++)
|
|
1105
|
-
|
|
1106
|
-
return j.createElement.apply(null, a);
|
|
794
|
+
a[0] = Bt, a[1] = Ot(e, t);
|
|
795
|
+
for (var s = 2; s < n; s++) a[s] = r[s];
|
|
796
|
+
return B.createElement.apply(null, a);
|
|
1107
797
|
};
|
|
1108
|
-
(
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
})(ze || (ze = {}));
|
|
1112
|
-
const lr = "0, 4, 8, 16, 24, 32, 40, 48, 64", fr = "16px", pr = "0.707em", dr = "1em", yr = "1.414em", hr = "2em", mr = "2.827em", br = "4em", gr = "0px", vr = "576px", $r = "992px", Sr = "1200px", xr = "-1000", kr = "-100", _r = "-10", wr = "0", Cr = "10", Tr = "100", Nr = "1000", Pr = "24px", zr = "16px", Ar = "8px", T = {
|
|
1113
|
-
spaces: lr,
|
|
1114
|
-
sizesBase: fr,
|
|
1115
|
-
sizesSm: pr,
|
|
1116
|
-
sizesNormal: dr,
|
|
1117
|
-
sizesMd: yr,
|
|
1118
|
-
sizesLg: hr,
|
|
1119
|
-
sizesXl: mr,
|
|
1120
|
-
sizesXxl: br,
|
|
1121
|
-
bpXs: gr,
|
|
1122
|
-
bpSm: vr,
|
|
1123
|
-
bpMd: $r,
|
|
1124
|
-
bpLg: Sr,
|
|
1125
|
-
heightBottom: xr,
|
|
1126
|
-
heightLow: kr,
|
|
1127
|
-
heightSunk: _r,
|
|
1128
|
-
heightNormal: wr,
|
|
1129
|
-
heightRaised: Cr,
|
|
1130
|
-
heightHigh: Tr,
|
|
1131
|
-
heightTop: Nr,
|
|
1132
|
-
borderRadius: Pr,
|
|
1133
|
-
inputRadius: zr,
|
|
1134
|
-
buttonRadius: Ar
|
|
1135
|
-
};
|
|
1136
|
-
class Rr {
|
|
798
|
+
ie = $e || ($e = {}), Re || (Re = ie.JSX || (ie.JSX = {}));
|
|
799
|
+
const C = { spaces: "0, 4, 8, 16, 24, 32, 40, 48, 64", sizesBase: "16px", sizesSm: "0.707em", sizesNormal: "1em", sizesMd: "1.414em", sizesLg: "2em", sizesXl: "2.827em", sizesXxl: "4em", bpXs: "0px", bpSm: "576px", bpMd: "992px", bpLg: "1200px", heightBottom: "-1000", heightLow: "-100", heightSunk: "-10", heightNormal: "0", heightRaised: "10", heightHigh: "100", heightTop: "1000", borderRadius: "24px", inputRadius: "16px", buttonRadius: "8px" };
|
|
800
|
+
class Dt {
|
|
1137
801
|
colors;
|
|
1138
|
-
sizes = {
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
xxl: T.sizesXxl
|
|
1146
|
-
};
|
|
1147
|
-
breakpoints = {
|
|
1148
|
-
xs: T.bpXs,
|
|
1149
|
-
sm: T.bpSm,
|
|
1150
|
-
md: T.bpMd,
|
|
1151
|
-
lg: T.bpLg
|
|
1152
|
-
};
|
|
1153
|
-
space = T.spaces.split(", ");
|
|
1154
|
-
heights = {
|
|
1155
|
-
bottom: T.heightBottom,
|
|
1156
|
-
low: T.heightLow,
|
|
1157
|
-
sunk: T.heightSunk,
|
|
1158
|
-
normal: T.heightNormal,
|
|
1159
|
-
raised: T.heightRaised,
|
|
1160
|
-
high: T.heightHigh,
|
|
1161
|
-
top: T.heightTop
|
|
1162
|
-
};
|
|
1163
|
-
borderRadius = T.borderRadius;
|
|
1164
|
-
inputRadius = T.inputRadius;
|
|
1165
|
-
buttonRadius = T.buttonRadius;
|
|
802
|
+
sizes = { base: C.sizesBase, sm: C.sizesSm, normal: C.sizesNormal, md: C.sizesMd, lg: C.sizesLg, xl: C.sizesXl, xxl: C.sizesXxl };
|
|
803
|
+
breakpoints = { xs: C.bpXs, sm: C.bpSm, md: C.bpMd, lg: C.bpLg };
|
|
804
|
+
space = C.spaces.split(", ");
|
|
805
|
+
heights = { bottom: C.heightBottom, low: C.heightLow, sunk: C.heightSunk, normal: C.heightNormal, raised: C.heightRaised, high: C.heightHigh, top: C.heightTop };
|
|
806
|
+
borderRadius = C.borderRadius;
|
|
807
|
+
inputRadius = C.inputRadius;
|
|
808
|
+
buttonRadius = C.buttonRadius;
|
|
1166
809
|
size(t) {
|
|
1167
810
|
return this.sizes[t];
|
|
1168
811
|
}
|
|
@@ -1173,63 +816,34 @@ class Rr {
|
|
|
1173
816
|
this.colors = t.colorSet;
|
|
1174
817
|
}
|
|
1175
818
|
}
|
|
1176
|
-
const
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
success: "#a3be8c",
|
|
1201
|
-
info: "#5e81ac"
|
|
1202
|
-
}, Or = {
|
|
1203
|
-
nordDark: Er,
|
|
1204
|
-
nordLight: Mr
|
|
1205
|
-
}, jr = (e) => new Rr({ colorSet: Or[e] }), Br = ft(jr("nordDark")), Dr = () => Ae(Br), Lr = "_paper_hd9l9_1", Fr = "_parent_hd9l9_29", Gr = "_stackTypeNone_hd9l9_34", Ir = "_stackTypeSingle_hd9l9_38", Xr = "_stackTypeTop_hd9l9_43", Hr = "_stackTypeBottom_hd9l9_47", Vr = "_stackTypeRandom_hd9l9_51", Wr = "_centered_hd9l9_81", Kr = "_pre_hd9l9_88", Ur = "_backgroundDotted_hd9l9_93", Jr = "_backgroundGraph_hd9l9_98", O = {
|
|
1206
|
-
paper: Lr,
|
|
1207
|
-
parent: Fr,
|
|
1208
|
-
stackTypeNone: Gr,
|
|
1209
|
-
stackTypeSingle: Ir,
|
|
1210
|
-
stackTypeTop: Xr,
|
|
1211
|
-
stackTypeBottom: Hr,
|
|
1212
|
-
stackTypeRandom: Vr,
|
|
1213
|
-
centered: Wr,
|
|
1214
|
-
pre: Kr,
|
|
1215
|
-
backgroundDotted: Ur,
|
|
1216
|
-
backgroundGraph: Jr
|
|
1217
|
-
}, Zr = "_readabilityBar_1xsnd_1", qr = {
|
|
1218
|
-
readabilityBar: Zr
|
|
1219
|
-
}, Yr = "_textSize_omd42_1", Qr = "_textSizeBar_omd42_6", en = "_largerButton_omd42_12", tn = "_smallerButton_omd42_12", q = {
|
|
1220
|
-
textSize: Yr,
|
|
1221
|
-
textSizeBar: Qr,
|
|
1222
|
-
largerButton: en,
|
|
1223
|
-
smallerButton: tn
|
|
1224
|
-
}, rn = () => /* @__PURE__ */ ue("div", { className: q.textSize, children: [
|
|
1225
|
-
/* @__PURE__ */ F("label", { children: "Text Size" }),
|
|
1226
|
-
/* @__PURE__ */ ue("div", { className: q.textSizeBar, children: [
|
|
1227
|
-
/* @__PURE__ */ F("button", { className: q.smallerButton, children: "A" }),
|
|
1228
|
-
/* @__PURE__ */ F("button", { className: q.largerButton, children: "A" })
|
|
819
|
+
const Ft = { nordDark: { background: "#242933", borderMuted: "#303744", border: "#2e3440", content: "#2e3440", textColor: "#eceff4", linkColor: "#88c0d0", primary: "#5e81ac", secondary: "#81a1c1", alert: "#bf616a", warning: "#ebcb8b", success: "#a3be8c", info: "#5e81ac" }, nordLight: { background: "#242933", borderMuted: "#303744", border: "#2e3440", content: "#2e3440", textColor: "#eceff4", linkColor: "#88c0d0", primary: "#5e81ac", secondary: "#81a1c1", alert: "#bf616a", warning: "#ebcb8b", success: "#a3be8c", info: "#5e81ac" } }, jt = (e) => new Dt({ colorSet: Ft[e] }), Lt = et(jt("nordDark")), It = () => ze(Lt), Gt = "_paper_hd9l9_1", Xt = "_parent_hd9l9_29", Ht = "_stackTypeNone_hd9l9_34", Vt = "_stackTypeSingle_hd9l9_38", Wt = "_stackTypeTop_hd9l9_43", Ut = "_stackTypeBottom_hd9l9_47", Jt = "_stackTypeRandom_hd9l9_51", Kt = "_centered_hd9l9_81", Yt = "_pre_hd9l9_88", Zt = "_backgroundDotted_hd9l9_93", Qt = "_backgroundGraph_hd9l9_98", M = {
|
|
820
|
+
paper: Gt,
|
|
821
|
+
parent: Xt,
|
|
822
|
+
stackTypeNone: Ht,
|
|
823
|
+
stackTypeSingle: Vt,
|
|
824
|
+
stackTypeTop: Wt,
|
|
825
|
+
stackTypeBottom: Ut,
|
|
826
|
+
stackTypeRandom: Jt,
|
|
827
|
+
centered: Kt,
|
|
828
|
+
pre: Yt,
|
|
829
|
+
backgroundDotted: Zt,
|
|
830
|
+
backgroundGraph: Qt
|
|
831
|
+
}, qt = "_readabilityBar_1xsnd_1", er = {
|
|
832
|
+
readabilityBar: qt
|
|
833
|
+
}, tr = "_textSize_omd42_1", rr = "_textSizeBar_omd42_6", nr = "_largerButton_omd42_12", ar = "_smallerButton_omd42_12", Z = {
|
|
834
|
+
textSize: tr,
|
|
835
|
+
textSizeBar: rr,
|
|
836
|
+
largerButton: nr,
|
|
837
|
+
smallerButton: ar
|
|
838
|
+
}, or = () => /* @__PURE__ */ ue("div", { className: Z.textSize, children: [
|
|
839
|
+
/* @__PURE__ */ L("label", { children: "Text Size" }),
|
|
840
|
+
/* @__PURE__ */ ue("div", { className: Z.textSizeBar, children: [
|
|
841
|
+
/* @__PURE__ */ L("button", { className: Z.smallerButton, children: "A" }),
|
|
842
|
+
/* @__PURE__ */ L("button", { className: Z.largerButton, children: "A" })
|
|
1229
843
|
] })
|
|
1230
|
-
] }),
|
|
1231
|
-
var
|
|
1232
|
-
function
|
|
844
|
+
] }), sr = () => /* @__PURE__ */ L("div", { className: er.readabilityBar, children: /* @__PURE__ */ L(or, {}) });
|
|
845
|
+
var cr = /* @__PURE__ */ ((e) => (e.SINGLE = "single", e.STACK = "stack", e.RANDOM_STACK = "random_stack", e.NONE = "none", e))(cr || {}), ir = /* @__PURE__ */ ((e) => (e.NONE = "none", e.GRAPH = "graph", e.DOT = "dot", e))(ir || {});
|
|
846
|
+
function fr({
|
|
1233
847
|
children: e,
|
|
1234
848
|
variant: t,
|
|
1235
849
|
background: r,
|
|
@@ -1237,47 +851,47 @@ function un({
|
|
|
1237
851
|
width: a,
|
|
1238
852
|
centered: s,
|
|
1239
853
|
pre: c,
|
|
1240
|
-
font:
|
|
1241
|
-
showReadabilityControls:
|
|
854
|
+
font: p,
|
|
855
|
+
showReadabilityControls: b = !1
|
|
1242
856
|
}) {
|
|
1243
|
-
|
|
1244
|
-
let
|
|
1245
|
-
|
|
857
|
+
It();
|
|
858
|
+
let d = [
|
|
859
|
+
M.paper
|
|
1246
860
|
];
|
|
1247
|
-
if (s &&
|
|
861
|
+
if (s && d.push(M.centered), t)
|
|
1248
862
|
switch (t) {
|
|
1249
863
|
case "none":
|
|
1250
|
-
|
|
864
|
+
d.push(M.stackTypeNone);
|
|
1251
865
|
break;
|
|
1252
866
|
case "single":
|
|
1253
|
-
|
|
867
|
+
d.push(M.stackTypeSingle);
|
|
1254
868
|
break;
|
|
1255
869
|
case "random_stack":
|
|
1256
|
-
|
|
870
|
+
d.push(M.stackTypeRandom);
|
|
1257
871
|
break;
|
|
1258
872
|
case "stack":
|
|
1259
|
-
n === "top" ?
|
|
873
|
+
n === "top" ? d.push(M.stackTypeTop) : d.push(M.stackTypeBottom);
|
|
1260
874
|
break;
|
|
1261
875
|
}
|
|
1262
|
-
let
|
|
876
|
+
let m = [];
|
|
1263
877
|
if (r)
|
|
1264
878
|
switch (r) {
|
|
1265
879
|
case "dot":
|
|
1266
|
-
|
|
880
|
+
m.push(M.backgroundDotted);
|
|
1267
881
|
break;
|
|
1268
882
|
case "graph":
|
|
1269
|
-
|
|
883
|
+
m.push(M.backgroundGraph);
|
|
1270
884
|
break;
|
|
1271
885
|
}
|
|
1272
|
-
c &&
|
|
1273
|
-
let
|
|
1274
|
-
return
|
|
1275
|
-
|
|
1276
|
-
/* @__PURE__ */
|
|
886
|
+
c && m.push(M.pre);
|
|
887
|
+
let f = "";
|
|
888
|
+
return p && (f = p), /* @__PURE__ */ L("div", { className: M.parent, children: /* @__PURE__ */ ue("div", { className: d.join(" "), style: { width: a }, children: [
|
|
889
|
+
b && /* @__PURE__ */ L(sr, {}),
|
|
890
|
+
/* @__PURE__ */ L("div", { className: m.join(" "), style: { fontFamily: f }, children: e })
|
|
1277
891
|
] }) });
|
|
1278
892
|
}
|
|
1279
893
|
export {
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
894
|
+
fr as Paper,
|
|
895
|
+
ir as PaperBackground,
|
|
896
|
+
cr as PaperVariant
|
|
1283
897
|
};
|