emotion-utils
Advanced tools
Comparing version 8.0.11 to 8.0.12
@@ -69,11 +69,11 @@ 'use strict'; | ||
var oa = function ea(fa) { | ||
var pa = function fa(ha) { | ||
function V(b, c, d, k, l) { | ||
for (var a = 0, f = 0, m = 0, e = 0, q, p, h, w = 0, C = 0, D = 0, z = 0, n = q = 0, F = 0, r = 0, y = p = 0, K = 0, u = 0, L = d.length, M = L - 1, v, g = "", t = "", S = "", N = "", G; r < L;) { | ||
h = d.charCodeAt(r); | ||
r === M && 0 !== f + e + m + a && (0 !== f && (h = 47 === f ? 10 : 47), e = m = a = 0, L++, M++); | ||
for (var a = 0, f = 0, n = 0, e = 0, h, q, m, v = 0, A = 0, B = 0, x = 0, C = 0, p = 0, G = 0, r = 0, N = q = 0, L = 0, t = 0, D = d.length, F = D - 1, g = "", u = "", S = "", M = "", H; r < D;) { | ||
m = d.charCodeAt(r); | ||
r === F && 0 !== f + e + n + a && (0 !== f && (m = 47 === f ? 10 : 47), e = n = a = 0, D++, F++); | ||
if (0 === f + e + m + a) { | ||
if (r === M && (0 < p && (g = g.replace(P, "")), 0 < g.trim().length)) { | ||
switch (h) { | ||
if (0 === f + e + n + a) { | ||
if (r === F && (0 < q && (g = g.replace(P, "")), 0 < g.trim().length)) { | ||
switch (m) { | ||
case 32: | ||
@@ -90,10 +90,15 @@ case 9: | ||
h = 59; | ||
m = 59; | ||
} | ||
if (1 === y) switch (h) { | ||
if (1 === N) switch (m) { | ||
case 123: | ||
case 125: | ||
case 59: | ||
case 34: | ||
case 39: | ||
case 40: | ||
case 41: | ||
case 44: | ||
y = 0; | ||
break; | ||
N = 0; | ||
@@ -107,36 +112,48 @@ case 9: | ||
default: | ||
r--, h = 59; | ||
for (N = 0, t = r, h = m, r--, m = 59; t < D;) { | ||
switch (d.charCodeAt(++t)) { | ||
case 10: | ||
case 13: | ||
case 59: | ||
r++, m = h; | ||
case 58: | ||
case 123: | ||
t = D; | ||
} | ||
} | ||
} | ||
switch (h) { | ||
switch (m) { | ||
case 123: | ||
g = g.trim(); | ||
q = g.charCodeAt(0); | ||
z = 1; | ||
h = g.charCodeAt(0); | ||
x = 1; | ||
for (u = ++r; r < L;) { | ||
h = d.charCodeAt(r); | ||
for (t = ++r; r < D;) { | ||
m = d.charCodeAt(r); | ||
switch (h) { | ||
switch (m) { | ||
case 123: | ||
z++; | ||
x++; | ||
break; | ||
case 125: | ||
z--; | ||
x--; | ||
} | ||
if (0 === z) break; | ||
if (0 === x) break; | ||
r++; | ||
} | ||
n = d.substring(u, r); | ||
0 === q && (q = (g = g.replace(pa, "").trim()).charCodeAt(0)); | ||
p = d.substring(t, r); | ||
0 === h && (h = (g = g.replace(qa, "").trim()).charCodeAt(0)); | ||
switch (q) { | ||
switch (h) { | ||
case 64: | ||
0 < p && (g = g.replace(P, "")); | ||
p = g.charCodeAt(1); | ||
0 < q && (g = g.replace(P, "")); | ||
q = g.charCodeAt(1); | ||
switch (p) { | ||
switch (q) { | ||
case 100: | ||
@@ -153,9 +170,9 @@ case 109: | ||
n = V(c, h, n, p, l + 1); | ||
u = n.length; | ||
0 < X && 0 === u && (u = g.length); | ||
0 < E && (h = ha(W, g, K), G = O(3, n, h, c, H, A, u, p, l), g = h.join(""), void 0 !== G && 0 === (u = (n = G.trim()).length) && (p = 0, n = "")); | ||
if (0 < u) switch (p) { | ||
p = V(c, h, p, q, l + 1); | ||
t = p.length; | ||
0 < X && 0 === t && (t = g.length); | ||
0 < E && (h = ia(W, g, L), H = O(3, p, h, c, I, y, t, q, l), g = h.join(""), void 0 !== H && 0 === (t = (p = H.trim()).length) && (q = 0, p = "")); | ||
if (0 < t) switch (q) { | ||
case 115: | ||
g = g.replace(qa, ra); | ||
g = g.replace(ra, sa); | ||
@@ -165,24 +182,24 @@ case 100: | ||
case 45: | ||
n = g + "{" + n + "}"; | ||
p = g + "{" + p + "}"; | ||
break; | ||
case 107: | ||
g = g.replace(sa, "$1 $2" + (0 < Q ? T : "")); | ||
n = g + "{" + n + "}"; | ||
n = 1 === x || 2 === x && U("@" + n, 3) ? "@-webkit-" + n + "@" + n : "@" + n; | ||
g = g.replace(ta, "$1 $2" + (0 < Q ? T : "")); | ||
p = g + "{" + p + "}"; | ||
p = 1 === w || 2 === w && U("@" + p, 3) ? "@-webkit-" + p + "@" + p : "@" + p; | ||
break; | ||
default: | ||
n = g + n, 112 === k && (n = (t += n, "")); | ||
} else n = ""; | ||
p = g + p, 112 === k && (p = (u += p, "")); | ||
} else p = ""; | ||
break; | ||
default: | ||
n = V(c, ha(c, g, K), n, k, l + 1); | ||
p = V(c, ia(c, g, L), p, k, l + 1); | ||
} | ||
S += n; | ||
n = K = p = F = y = q = 0; | ||
S += p; | ||
p = L = q = G = N = C = 0; | ||
g = ""; | ||
h = d.charCodeAt(++r); | ||
m = d.charCodeAt(++r); | ||
break; | ||
@@ -192,4 +209,4 @@ | ||
case 59: | ||
g = (0 < p ? g.replace(P, "") : g).trim(); | ||
if (1 < (u = g.length)) switch (0 === F && (q = g.charCodeAt(0), 45 === q || 96 < q && 123 > q) && (u = (g = g.replace(" ", ":")).length), 0 < E && void 0 !== (G = O(1, g, c, b, H, A, t.length, k, l)) && 0 === (u = (g = G.trim()).length) && (g = "\x00\x00"), q = g.charCodeAt(0), p = g.charCodeAt(1), q + p) { | ||
g = (0 < q ? g.replace(P, "") : g).trim(); | ||
if (1 < (t = g.length)) switch (0 === G && (h = g.charCodeAt(0), 45 === h || 96 < h && 123 > h) && (t = (g = g.replace(" ", ":")).length), 0 < E && void 0 !== (H = O(1, g, c, b, I, y, u.length, k, l)) && 0 === (t = (g = H.trim()).length) && (g = "\x00\x00"), h = g.charCodeAt(0), q = g.charCodeAt(1), h + q) { | ||
case 0: | ||
@@ -200,18 +217,18 @@ break; | ||
case 163: | ||
N += g + d.charAt(r); | ||
M += g + d.charAt(r); | ||
break; | ||
default: | ||
58 !== g.charCodeAt(u - 1) && (t += ia(g, q, p, g.charCodeAt(2))); | ||
58 !== g.charCodeAt(t - 1) && (u += ja(g, h, q, g.charCodeAt(2))); | ||
} | ||
K = p = F = y = q = 0; | ||
L = q = G = N = C = 0; | ||
g = ""; | ||
h = d.charCodeAt(++r); | ||
m = d.charCodeAt(++r); | ||
} | ||
} | ||
switch (h) { | ||
switch (m) { | ||
case 13: | ||
case 10: | ||
if (0 === f + e + m + a + ja) switch (D) { | ||
if (0 === f + e + n + a + ka) switch (B) { | ||
case 41: | ||
@@ -235,8 +252,8 @@ case 39: | ||
default: | ||
0 < F && (y = 1); | ||
0 < G && (N = 1); | ||
} | ||
47 === f ? f = 0 : 0 === B + q && (p = 1, g += "\x00"); | ||
0 < E * ka && O(0, g, c, b, H, A, t.length, k, l); | ||
A = 1; | ||
H++; | ||
47 === f ? f = 0 : 0 === z + C && (q = 1, g += "\x00"); | ||
0 < E * la && O(0, g, c, b, I, y, u.length, k, l); | ||
y = 1; | ||
I++; | ||
break; | ||
@@ -246,4 +263,4 @@ | ||
case 125: | ||
if (0 === f + e + m + a) { | ||
A++; | ||
if (0 === f + e + n + a) { | ||
y++; | ||
break; | ||
@@ -253,9 +270,9 @@ } | ||
default: | ||
A++; | ||
v = d.charAt(r); | ||
y++; | ||
h = d.charAt(r); | ||
switch (h) { | ||
switch (m) { | ||
case 9: | ||
case 32: | ||
if (0 === e + a + f) switch (w) { | ||
if (0 === e + a + f) switch (v) { | ||
case 44: | ||
@@ -265,7 +282,7 @@ case 58: | ||
case 32: | ||
v = ""; | ||
h = ""; | ||
break; | ||
default: | ||
32 !== h && (v = " "); | ||
32 !== m && (h = " "); | ||
} | ||
@@ -275,24 +292,24 @@ break; | ||
case 0: | ||
v = "\\0"; | ||
h = "\\0"; | ||
break; | ||
case 12: | ||
v = "\\f"; | ||
h = "\\f"; | ||
break; | ||
case 11: | ||
v = "\\v"; | ||
h = "\\v"; | ||
break; | ||
case 38: | ||
0 === e + f + a && 0 < B && (p = K = 1, v = "\f" + v); | ||
0 === e + f + a && 0 < z && (q = L = 1, h = "\f" + h); | ||
break; | ||
case 108: | ||
if (0 === e + f + a + I && 0 < F) switch (r - F) { | ||
if (0 === e + f + a + J && 0 < G) switch (r - G) { | ||
case 2: | ||
112 === w && 58 === d.charCodeAt(r - 3) && (I = w); | ||
112 === v && 58 === d.charCodeAt(r - 3) && (J = v); | ||
case 8: | ||
111 === C && (I = C); | ||
111 === A && (J = A); | ||
} | ||
@@ -302,27 +319,27 @@ break; | ||
case 58: | ||
0 === e + f + a && (F = r); | ||
0 === e + f + a && (G = r); | ||
break; | ||
case 44: | ||
0 === f + m + e + a && (p = 1, v += "\r"); | ||
0 === f + n + e + a && (q = 1, h += "\r"); | ||
break; | ||
case 34: | ||
0 === f && (e = e === h ? 0 : 0 === e ? h : e); | ||
0 === f && (e = e === m ? 0 : 0 === e ? m : e); | ||
break; | ||
case 39: | ||
0 === f && (e = e === h ? 0 : 0 === e ? h : e); | ||
0 === f && (e = e === m ? 0 : 0 === e ? m : e); | ||
break; | ||
case 91: | ||
0 === e + f + m && a++; | ||
0 === e + f + n && a++; | ||
break; | ||
case 93: | ||
0 === e + f + m && a--; | ||
0 === e + f + n && a--; | ||
break; | ||
case 41: | ||
0 === e + f + a && m--; | ||
0 === e + f + a && n--; | ||
break; | ||
@@ -332,3 +349,3 @@ | ||
if (0 === e + f + a) { | ||
if (0 === q) switch (2 * w + 3 * C) { | ||
if (0 === C) switch (2 * v + 3 * A) { | ||
case 533: | ||
@@ -338,5 +355,5 @@ break; | ||
default: | ||
z = 0, q = 1; | ||
x = 0, C = 1; | ||
} | ||
m++; | ||
n++; | ||
} | ||
@@ -347,3 +364,3 @@ | ||
case 64: | ||
0 === f + m + e + a + F + n && (n = 1); | ||
0 === f + n + e + a + G + p && (p = 1); | ||
break; | ||
@@ -353,5 +370,5 @@ | ||
case 47: | ||
if (!(0 < e + a + m)) switch (f) { | ||
if (!(0 < e + a + n)) switch (f) { | ||
case 0: | ||
switch (2 * h + 3 * d.charCodeAt(r + 1)) { | ||
switch (2 * m + 3 * d.charCodeAt(r + 1)) { | ||
case 235: | ||
@@ -362,3 +379,3 @@ f = 47; | ||
case 220: | ||
u = r, f = 42; | ||
t = r, f = 42; | ||
} | ||
@@ -369,3 +386,3 @@ | ||
case 42: | ||
47 === h && 42 === w && (33 === d.charCodeAt(u + 2) && (t += d.substring(u, r + 1)), v = "", f = 0); | ||
47 === m && 42 === v && (33 === d.charCodeAt(t + 2) && (u += d.substring(t, r + 1)), h = "", f = 0); | ||
} | ||
@@ -375,3 +392,3 @@ } | ||
if (0 === f) { | ||
if (0 === B + e + a + n && 107 !== k && 59 !== h) switch (h) { | ||
if (0 === z + e + a + p && 107 !== k && 59 !== m) switch (m) { | ||
case 44: | ||
@@ -383,4 +400,4 @@ case 126: | ||
case 40: | ||
if (0 === q) { | ||
switch (w) { | ||
if (0 === C) { | ||
switch (v) { | ||
case 9: | ||
@@ -390,17 +407,17 @@ case 32: | ||
case 13: | ||
v += "\x00"; | ||
h += "\x00"; | ||
break; | ||
default: | ||
v = "\x00" + v + (44 === h ? "" : "\x00"); | ||
h = "\x00" + h + (44 === m ? "" : "\x00"); | ||
} | ||
p = 1; | ||
} else switch (h) { | ||
q = 1; | ||
} else switch (m) { | ||
case 40: | ||
q = ++z; | ||
C = ++x; | ||
break; | ||
case 41: | ||
0 === (q = --z) && (p = 1, v += "\x00"); | ||
0 === (C = --x) && (q = 1, h += "\x00"); | ||
} | ||
@@ -412,3 +429,3 @@ | ||
case 32: | ||
switch (w) { | ||
switch (v) { | ||
case 0: | ||
@@ -427,8 +444,8 @@ case 123: | ||
default: | ||
0 === q && (p = 1, v += "\x00"); | ||
0 === C && (q = 1, h += "\x00"); | ||
} | ||
} | ||
g += v; | ||
32 !== h && 9 !== h && (D = h); | ||
g += h; | ||
32 !== m && 9 !== m && (B = m); | ||
} | ||
@@ -438,12 +455,12 @@ | ||
C = w; | ||
w = h; | ||
A = v; | ||
v = m; | ||
r++; | ||
} | ||
u = t.length; | ||
0 < X && 0 === u && 0 === S.length && 0 === c[0].length === !1 && (109 !== k || 1 === c.length && (0 < B ? J : R) === c[0]) && (u = c.join(",").length + 2); | ||
t = u.length; | ||
0 < X && 0 === t && 0 === S.length && 0 === c[0].length === !1 && (109 !== k || 1 === c.length && (0 < z ? K : R) === c[0]) && (t = c.join(",").length + 2); | ||
if (0 < u) { | ||
if (0 === B && 107 !== k) { | ||
if (0 < t) { | ||
if (0 === z && 107 !== k) { | ||
d = 0; | ||
@@ -453,12 +470,12 @@ a = c.length; | ||
for (f = Array(a); d < a; ++d) { | ||
w = c[d].split(ta); | ||
C = ""; | ||
D = 0; | ||
v = c[d].split(ua); | ||
A = ""; | ||
B = 0; | ||
for (L = w.length; D < L; ++D) { | ||
if (!(0 === (z = (e = w[D]).length) && 1 < L)) { | ||
r = C.charCodeAt(C.length - 1); | ||
K = e.charCodeAt(0); | ||
m = ""; | ||
if (0 !== D) switch (r) { | ||
for (D = v.length; B < D; ++B) { | ||
if (!(0 === (x = (e = v[B]).length) && 1 < D)) { | ||
r = A.charCodeAt(A.length - 1); | ||
L = e.charCodeAt(0); | ||
n = ""; | ||
if (0 !== B) switch (r) { | ||
case 42: | ||
@@ -473,8 +490,8 @@ case 126: | ||
default: | ||
m = " "; | ||
n = " "; | ||
} | ||
switch (K) { | ||
switch (L) { | ||
case 38: | ||
e = m + J; | ||
e = n + K; | ||
@@ -490,3 +507,3 @@ case 126: | ||
case 91: | ||
e = m + e + J; | ||
e = n + e + K; | ||
break; | ||
@@ -498,3 +515,3 @@ | ||
if (0 < Y) { | ||
e = m + e.substring(8, z - 1); | ||
e = n + e.substring(8, x - 1); | ||
break; | ||
@@ -504,3 +521,3 @@ } | ||
default: | ||
if (1 > D || 1 > w[D - 1].length) e = m + J + e; | ||
if (1 > B || 1 > v[B - 1].length) e = n + K + e; | ||
} | ||
@@ -511,13 +528,13 @@ | ||
case 44: | ||
m = ""; | ||
n = ""; | ||
default: | ||
e = 1 < z && 0 < e.indexOf(":") ? m + e.replace(ua, "$1" + J + "$2") : m + e + J; | ||
e = 1 < x && 0 < e.indexOf(":") ? n + e.replace(va, "$1" + K + "$2") : n + e + K; | ||
} | ||
C += e; | ||
A += e; | ||
} | ||
} | ||
f[d] = C.replace(P, "").trim(); | ||
f[d] = A.replace(P, "").trim(); | ||
} | ||
@@ -529,26 +546,26 @@ | ||
h = c; | ||
if (0 < E && (G = O(2, t, h, b, H, A, u, k, l), void 0 !== G && 0 === (t = G).length)) return N + t + S; | ||
t = h.join(",") + "{" + t + "}"; | ||
if (0 < E && (H = O(2, u, h, b, I, y, t, k, l), void 0 !== H && 0 === (u = H).length)) return M + u + S; | ||
u = h.join(",") + "{" + u + "}"; | ||
if (0 !== x * I) { | ||
2 !== x || U(t, 2) || (I = 0); | ||
if (0 !== w * J) { | ||
2 !== w || U(u, 2) || (J = 0); | ||
switch (I) { | ||
switch (J) { | ||
case 111: | ||
t = t.replace(va, ":-moz-$1") + t; | ||
u = u.replace(wa, ":-moz-$1") + u; | ||
break; | ||
case 112: | ||
t = t.replace(Z, "::-webkit-input-$1") + t.replace(Z, "::-moz-$1") + t.replace(Z, ":-ms-input-$1") + t; | ||
u = u.replace(Z, "::-webkit-input-$1") + u.replace(Z, "::-moz-$1") + u.replace(Z, ":-ms-input-$1") + u; | ||
} | ||
I = 0; | ||
J = 0; | ||
} | ||
} | ||
return N + t + S; | ||
return M + u + S; | ||
} | ||
function ha(b, c, d) { | ||
var k = c.trim().split(wa); | ||
function ia(b, c, d) { | ||
var k = c.trim().split(xa); | ||
c = k; | ||
@@ -564,3 +581,3 @@ var l = k.length, | ||
for (b = 0 === a ? "" : b[0] + " "; f < l; ++f) { | ||
c[f] = la(b, c[f], d, a).trim(); | ||
c[f] = ma(b, c[f], d, a).trim(); | ||
} | ||
@@ -571,7 +588,7 @@ | ||
default: | ||
var m = f = 0; | ||
var n = f = 0; | ||
for (c = []; f < l; ++f) { | ||
for (var e = 0; e < a; ++e) { | ||
c[m++] = la(b[e] + " ", k[f], d, a).trim(); | ||
c[n++] = ma(b[e] + " ", k[f], d, a).trim(); | ||
} | ||
@@ -585,3 +602,3 @@ } | ||
function la(b, c, d, k) { | ||
function ma(b, c, d, k) { | ||
var l = c.charCodeAt(0); | ||
@@ -592,3 +609,3 @@ 33 > l && (l = (c = c.trim()).charCodeAt(0)); | ||
case 38: | ||
switch (B + k) { | ||
switch (z + k) { | ||
case 0: | ||
@@ -607,3 +624,3 @@ case 1: | ||
case 103: | ||
if (0 < Y && 0 < B) return c.replace(xa, "$1").replace(M, "$1" + R); | ||
if (0 < Y && 0 < z) return c.replace(ya, "$1").replace(M, "$1" + R); | ||
break; | ||
@@ -616,3 +633,3 @@ | ||
default: | ||
if (0 < d * B && 0 < c.indexOf("\f")) return c.replace(M, (58 === b.charCodeAt(0) ? "" : "$1") + b.trim()); | ||
if (0 < d * z && 0 < c.indexOf("\f")) return c.replace(M, (58 === b.charCodeAt(0) ? "" : "$1") + b.trim()); | ||
} | ||
@@ -623,3 +640,3 @@ | ||
function ia(b, c, d, k) { | ||
function ja(b, c, d, k) { | ||
var l = 0, | ||
@@ -643,4 +660,4 @@ a = b + ";"; | ||
default: | ||
for (a = k.split((k = "", ya)), b = c = 0, l = a.length; c < l; b = 0, ++c) { | ||
for (var f = a[c], m = f.split(za); f = m[b];) { | ||
for (a = k.split((k = "", za)), b = c = 0, l = a.length; c < l; b = 0, ++c) { | ||
for (var f = a[c], n = f.split(Aa); f = n[b];) { | ||
var e = f.charCodeAt(0); | ||
@@ -678,6 +695,6 @@ if (1 === Q && (64 < e && 90 > e || 96 < e && 123 > e || 95 === e || 45 === e && 45 !== f.charCodeAt(1))) switch (isNaN(parseFloat(f)) + (-1 !== f.indexOf("("))) { | ||
} | ||
m[b++] = f; | ||
n[b++] = f; | ||
} | ||
k += (0 === c ? "" : ",") + m.join(" "); | ||
k += (0 === c ? "" : ",") + n.join(" "); | ||
} | ||
@@ -688,6 +705,6 @@ | ||
k = d + k + ";"; | ||
return 1 === x || 2 === x && U(k, 1) ? "-webkit-" + k + k : k; | ||
return 1 === w || 2 === w && U(k, 1) ? "-webkit-" + k + k : k; | ||
} | ||
if (0 === x || 2 === x && !U(a, 1)) return a; | ||
if (0 === w || 2 === w && !U(a, 1)) return a; | ||
@@ -724,9 +741,9 @@ switch (c) { | ||
case 103: | ||
return "-webkit-box-" + a.replace("-grow", "") + "-ms-" + a.replace("grow", "positive") + a; | ||
return "-webkit-box-" + a.replace("-grow", "") + "-webkit-" + a + "-ms-" + a.replace("grow", "positive") + a; | ||
case 115: | ||
return "-ms-" + a.replace("shrink", "negative") + a; | ||
return "-webkit-" + a + "-ms-" + a.replace("shrink", "negative") + a; | ||
case 98: | ||
return "-ms-" + a.replace("basis", "preferred-size") + a; | ||
return "-webkit-" + a + "-ms-" + a.replace("basis", "preferred-size") + a; | ||
} | ||
@@ -744,3 +761,3 @@ return "-webkit-" + a + "-ms-" + a + a; | ||
case 1005: | ||
return Aa.test(a) ? a.replace(ma, ":-webkit-") + a.replace(ma, ":-moz-") + a : a; | ||
return Ba.test(a) ? a.replace(na, ":-webkit-") + a.replace(na, ":-moz-") + a : a; | ||
@@ -753,11 +770,11 @@ case 1E3: | ||
case 226: | ||
b = a.replace(N, "tb"); | ||
b = a.replace(aa, "tb"); | ||
break; | ||
case 232: | ||
b = a.replace(N, "tb-rl"); | ||
b = a.replace(aa, "tb-rl"); | ||
break; | ||
case 220: | ||
b = a.replace(N, "lr"); | ||
b = a.replace(aa, "lr"); | ||
break; | ||
@@ -799,3 +816,3 @@ | ||
case 115: | ||
return "-webkit-" + a + "-ms-flex-item-" + a.replace(Ba, "") + a; | ||
return "-webkit-" + a + "-ms-flex-item-" + a.replace(Ca, "") + a; | ||
@@ -812,3 +829,3 @@ default: | ||
case 962: | ||
if (a = "-webkit-" + a + (102 === a.charCodeAt(5) ? "-ms-" + a : "") + a, 211 === d + k && 105 === a.charCodeAt(13) && 0 < a.indexOf("transform", 10)) return a.substring(0, a.indexOf(";", 27) + 1).replace(Ca, "$1-webkit-$2") + a; | ||
if (a = "-webkit-" + a + (102 === a.charCodeAt(5) ? "-ms-" + a : "") + a, 211 === d + k && 105 === a.charCodeAt(13) && 0 < a.indexOf("transform", 10)) return a.substring(0, a.indexOf(";", 27) + 1).replace(Da, "$1-webkit-$2") + a; | ||
} | ||
@@ -823,13 +840,13 @@ | ||
d = b.substring(d + 1, b.length - 1); | ||
return aa(2 !== c ? k : k.replace(Da, "$1"), d, c); | ||
return ba(2 !== c ? k : k.replace(Ea, "$1"), d, c); | ||
} | ||
function ra(b, c) { | ||
var d = ia(c, c.charCodeAt(0), c.charCodeAt(1), c.charCodeAt(2)); | ||
return d !== c + ";" ? d.replace(Ea, " or ($1)").substring(4) : "(" + c + ")"; | ||
function sa(b, c) { | ||
var d = ja(c, c.charCodeAt(0), c.charCodeAt(1), c.charCodeAt(2)); | ||
return d !== c + ";" ? d.replace(Fa, " or ($1)").substring(4) : "(" + c + ")"; | ||
} | ||
function O(b, c, d, k, l, a, f, m, e) { | ||
for (var q = 0, p = c, h; q < E; ++q) { | ||
switch (h = ba[q].call(y, b, p, d, k, l, a, f, m, e)) { | ||
function O(b, c, d, k, l, a, f, n, e) { | ||
for (var h = 0, q = c, m; h < E; ++h) { | ||
switch (m = ca[h].call(F, b, q, d, k, l, a, f, n, e)) { | ||
case void 0: | ||
@@ -842,7 +859,7 @@ case !1: | ||
default: | ||
p = h; | ||
q = m; | ||
} | ||
} | ||
switch (p) { | ||
switch (q) { | ||
case void 0: | ||
@@ -856,11 +873,11 @@ case !1: | ||
default: | ||
return p; | ||
return q; | ||
} | ||
} | ||
function ca(b) { | ||
function da(b) { | ||
switch (b) { | ||
case void 0: | ||
case null: | ||
E = ba.length = 0; | ||
E = ca.length = 0; | ||
break; | ||
@@ -872,3 +889,3 @@ | ||
for (var c = 0, d = b.length; c < d; ++c) { | ||
ca(b[c]); | ||
da(b[c]); | ||
} | ||
@@ -879,7 +896,7 @@ | ||
case Function: | ||
ba[E++] = b; | ||
ca[E++] = b; | ||
break; | ||
case Boolean: | ||
ka = !!b | 0; | ||
la = !!b | 0; | ||
} | ||
@@ -889,6 +906,6 @@ | ||
return ca; | ||
return da; | ||
} | ||
function da(b) { | ||
function ea(b) { | ||
for (var c in b) { | ||
@@ -907,11 +924,11 @@ var d = b[c]; | ||
case "cascade": | ||
B = d | 0; | ||
z = d | 0; | ||
break; | ||
case "compress": | ||
na = d | 0; | ||
oa = d | 0; | ||
break; | ||
case "semicolon": | ||
ja = d | 0; | ||
ka = d | 0; | ||
break; | ||
@@ -924,21 +941,21 @@ | ||
case "prefix": | ||
aa = null, d ? "function" !== typeof d ? x = 1 : (x = 2, aa = d) : x = 0; | ||
ba = null, d ? "function" !== typeof d ? w = 1 : (w = 2, ba = d) : w = 0; | ||
} | ||
} | ||
return da; | ||
return ea; | ||
} | ||
function y(b, c) { | ||
if (void 0 !== this && this.constructor === y) return ea(b); | ||
function F(b, c) { | ||
if (void 0 !== this && this.constructor === F) return fa(b); | ||
var d = b, | ||
k = d.charCodeAt(0); | ||
33 > k && (k = (d = d.trim()).charCodeAt(0)); | ||
0 < Q && (T = d.replace(Fa, 91 === k ? "" : "-")); | ||
0 < Q && (T = d.replace(Ga, 91 === k ? "" : "-")); | ||
k = 1; | ||
1 === B ? R = d : J = d; | ||
1 === z ? R = d : K = d; | ||
d = [R]; | ||
if (0 < E) { | ||
var l = O(-1, c, d, d, H, A, 0, 0, 0); | ||
var l = O(-1, c, d, d, I, y, 0, 0, 0); | ||
void 0 !== l && "string" === typeof l && (c = l); | ||
@@ -948,56 +965,56 @@ } | ||
var a = V(W, d, c, 0, 0); | ||
0 < E && (l = O(-2, a, d, d, H, A, a.length, 0, 0), void 0 !== l && "string" !== typeof (a = l) && (k = 0)); | ||
J = R = T = ""; | ||
I = 0; | ||
A = H = 1; | ||
return 0 === na * k ? a : a.replace(P, "").replace(Ga, "").replace(Ha, "$1").replace(Ia, "$1").replace(Ja, " "); | ||
0 < E && (l = O(-2, a, d, d, I, y, a.length, 0, 0), void 0 !== l && "string" !== typeof (a = l) && (k = 0)); | ||
K = R = T = ""; | ||
J = 0; | ||
y = I = 1; | ||
return 0 === oa * k ? a : a.replace(P, "").replace(Ha, "").replace(Ia, "$1").replace(Ja, "$1").replace(Ka, " "); | ||
} | ||
var pa = /^\0+/g, | ||
var qa = /^\0+/g, | ||
P = /[\0\r\f]/g, | ||
ma = /: */g, | ||
Aa = /zoo|gra/, | ||
Ca = /([,: ])(transform)/g, | ||
ya = /,+\s*(?![^(]*[)])/g, | ||
za = / +\s*(?![^(]*[)])/g, | ||
ta = / *[\0] */g, | ||
wa = /,\r+?/g, | ||
na = /: */g, | ||
Ba = /zoo|gra/, | ||
Da = /([,: ])(transform)/g, | ||
za = /,+\s*(?![^(]*[)])/g, | ||
Aa = / +\s*(?![^(]*[)])/g, | ||
ua = / *[\0] */g, | ||
xa = /,\r+?/g, | ||
M = /([\t\r\n ])*\f?&/g, | ||
xa = /:global\(((?:[^\(\)\[\]]*|\[.*\]|\([^\(\)]*\))*)\)/g, | ||
Fa = /\W+/g, | ||
sa = /@(k\w+)\s*(\S*)\s*/, | ||
ya = /:global\(((?:[^\(\)\[\]]*|\[.*\]|\([^\(\)]*\))*)\)/g, | ||
Ga = /\W+/g, | ||
ta = /@(k\w+)\s*(\S*)\s*/, | ||
Z = /::(place)/g, | ||
va = /:(read-only)/g, | ||
Ga = /\s+(?=[{\];=:>])/g, | ||
Ha = /([[}=:>])\s+/g, | ||
Ia = /(\{[^{]+?);(?=\})/g, | ||
Ja = /\s{2,}/g, | ||
ua = /([^\(])(:+) */g, | ||
N = /[svh]\w+-[tblr]{2}/, | ||
qa = /\(\s*(.*)\s*\)/g, | ||
Ea = /([^]*?);/g, | ||
Ba = /-self|flex-/g, | ||
Da = /[^]*?(:[rp][el]a[\w-]+)[^]*/, | ||
A = 1, | ||
H = 1, | ||
I = 0, | ||
B = 1, | ||
x = 1, | ||
wa = /:(read-only)/g, | ||
Ha = /\s+(?=[{\];=:>])/g, | ||
Ia = /([[}=:>])\s+/g, | ||
Ja = /(\{[^{]+?);(?=\})/g, | ||
Ka = /\s{2,}/g, | ||
va = /([^\(])(:+) */g, | ||
aa = /[svh]\w+-[tblr]{2}/, | ||
ra = /\(\s*(.*)\s*\)/g, | ||
Fa = /([^]*?);/g, | ||
Ca = /-self|flex-/g, | ||
Ea = /[^]*?(:[rp][el]a[\w-]+)[^]*/, | ||
y = 1, | ||
I = 1, | ||
J = 0, | ||
z = 1, | ||
w = 1, | ||
Y = 1, | ||
na = 0, | ||
ja = 0, | ||
oa = 0, | ||
ka = 0, | ||
X = 0, | ||
W = [], | ||
ba = [], | ||
ca = [], | ||
E = 0, | ||
aa = null, | ||
ka = 0, | ||
ba = null, | ||
la = 0, | ||
Q = 1, | ||
T = "", | ||
J = "", | ||
K = "", | ||
R = ""; | ||
y.use = ca; | ||
y.set = da; | ||
void 0 !== fa && da(fa); | ||
return y; | ||
F.use = da; | ||
F.set = ea; | ||
void 0 !== ha && ea(ha); | ||
return F; | ||
}; | ||
@@ -1013,2 +1030,4 @@ | ||
} | ||
var STYLES_KEY = '__emotion_styles'; | ||
var TARGET_KEY = '__emotion_target'; | ||
var unitless = { | ||
@@ -1060,5 +1079,7 @@ animationIterationCount: 1, | ||
exports.memoize = memoize; | ||
exports.STYLES_KEY = STYLES_KEY; | ||
exports.TARGET_KEY = TARGET_KEY; | ||
exports.unitless = unitless; | ||
exports.hashString = hashString; | ||
exports.Stylis = oa; | ||
exports.Stylis = pa; | ||
//# sourceMappingURL=index.cjs.js.map |
@@ -65,11 +65,11 @@ // murmurhash2 via https://gist.github.com/raycmorgan/588423 | ||
var oa = function ea(fa) { | ||
var pa = function fa(ha) { | ||
function V(b, c, d, k, l) { | ||
for (var a = 0, f = 0, m = 0, e = 0, q, p, h, w = 0, C = 0, D = 0, z = 0, n = q = 0, F = 0, r = 0, y = p = 0, K = 0, u = 0, L = d.length, M = L - 1, v, g = "", t = "", S = "", N = "", G; r < L;) { | ||
h = d.charCodeAt(r); | ||
r === M && 0 !== f + e + m + a && (0 !== f && (h = 47 === f ? 10 : 47), e = m = a = 0, L++, M++); | ||
for (var a = 0, f = 0, n = 0, e = 0, h, q, m, v = 0, A = 0, B = 0, x = 0, C = 0, p = 0, G = 0, r = 0, N = q = 0, L = 0, t = 0, D = d.length, F = D - 1, g = "", u = "", S = "", M = "", H; r < D;) { | ||
m = d.charCodeAt(r); | ||
r === F && 0 !== f + e + n + a && (0 !== f && (m = 47 === f ? 10 : 47), e = n = a = 0, D++, F++); | ||
if (0 === f + e + m + a) { | ||
if (r === M && (0 < p && (g = g.replace(P, "")), 0 < g.trim().length)) { | ||
switch (h) { | ||
if (0 === f + e + n + a) { | ||
if (r === F && (0 < q && (g = g.replace(P, "")), 0 < g.trim().length)) { | ||
switch (m) { | ||
case 32: | ||
@@ -86,10 +86,15 @@ case 9: | ||
h = 59; | ||
m = 59; | ||
} | ||
if (1 === y) switch (h) { | ||
if (1 === N) switch (m) { | ||
case 123: | ||
case 125: | ||
case 59: | ||
case 34: | ||
case 39: | ||
case 40: | ||
case 41: | ||
case 44: | ||
y = 0; | ||
break; | ||
N = 0; | ||
@@ -103,36 +108,48 @@ case 9: | ||
default: | ||
r--, h = 59; | ||
for (N = 0, t = r, h = m, r--, m = 59; t < D;) { | ||
switch (d.charCodeAt(++t)) { | ||
case 10: | ||
case 13: | ||
case 59: | ||
r++, m = h; | ||
case 58: | ||
case 123: | ||
t = D; | ||
} | ||
} | ||
} | ||
switch (h) { | ||
switch (m) { | ||
case 123: | ||
g = g.trim(); | ||
q = g.charCodeAt(0); | ||
z = 1; | ||
h = g.charCodeAt(0); | ||
x = 1; | ||
for (u = ++r; r < L;) { | ||
h = d.charCodeAt(r); | ||
for (t = ++r; r < D;) { | ||
m = d.charCodeAt(r); | ||
switch (h) { | ||
switch (m) { | ||
case 123: | ||
z++; | ||
x++; | ||
break; | ||
case 125: | ||
z--; | ||
x--; | ||
} | ||
if (0 === z) break; | ||
if (0 === x) break; | ||
r++; | ||
} | ||
n = d.substring(u, r); | ||
0 === q && (q = (g = g.replace(pa, "").trim()).charCodeAt(0)); | ||
p = d.substring(t, r); | ||
0 === h && (h = (g = g.replace(qa, "").trim()).charCodeAt(0)); | ||
switch (q) { | ||
switch (h) { | ||
case 64: | ||
0 < p && (g = g.replace(P, "")); | ||
p = g.charCodeAt(1); | ||
0 < q && (g = g.replace(P, "")); | ||
q = g.charCodeAt(1); | ||
switch (p) { | ||
switch (q) { | ||
case 100: | ||
@@ -149,9 +166,9 @@ case 109: | ||
n = V(c, h, n, p, l + 1); | ||
u = n.length; | ||
0 < X && 0 === u && (u = g.length); | ||
0 < E && (h = ha(W, g, K), G = O(3, n, h, c, H, A, u, p, l), g = h.join(""), void 0 !== G && 0 === (u = (n = G.trim()).length) && (p = 0, n = "")); | ||
if (0 < u) switch (p) { | ||
p = V(c, h, p, q, l + 1); | ||
t = p.length; | ||
0 < X && 0 === t && (t = g.length); | ||
0 < E && (h = ia(W, g, L), H = O(3, p, h, c, I, y, t, q, l), g = h.join(""), void 0 !== H && 0 === (t = (p = H.trim()).length) && (q = 0, p = "")); | ||
if (0 < t) switch (q) { | ||
case 115: | ||
g = g.replace(qa, ra); | ||
g = g.replace(ra, sa); | ||
@@ -161,24 +178,24 @@ case 100: | ||
case 45: | ||
n = g + "{" + n + "}"; | ||
p = g + "{" + p + "}"; | ||
break; | ||
case 107: | ||
g = g.replace(sa, "$1 $2" + (0 < Q ? T : "")); | ||
n = g + "{" + n + "}"; | ||
n = 1 === x || 2 === x && U("@" + n, 3) ? "@-webkit-" + n + "@" + n : "@" + n; | ||
g = g.replace(ta, "$1 $2" + (0 < Q ? T : "")); | ||
p = g + "{" + p + "}"; | ||
p = 1 === w || 2 === w && U("@" + p, 3) ? "@-webkit-" + p + "@" + p : "@" + p; | ||
break; | ||
default: | ||
n = g + n, 112 === k && (n = (t += n, "")); | ||
} else n = ""; | ||
p = g + p, 112 === k && (p = (u += p, "")); | ||
} else p = ""; | ||
break; | ||
default: | ||
n = V(c, ha(c, g, K), n, k, l + 1); | ||
p = V(c, ia(c, g, L), p, k, l + 1); | ||
} | ||
S += n; | ||
n = K = p = F = y = q = 0; | ||
S += p; | ||
p = L = q = G = N = C = 0; | ||
g = ""; | ||
h = d.charCodeAt(++r); | ||
m = d.charCodeAt(++r); | ||
break; | ||
@@ -188,4 +205,4 @@ | ||
case 59: | ||
g = (0 < p ? g.replace(P, "") : g).trim(); | ||
if (1 < (u = g.length)) switch (0 === F && (q = g.charCodeAt(0), 45 === q || 96 < q && 123 > q) && (u = (g = g.replace(" ", ":")).length), 0 < E && void 0 !== (G = O(1, g, c, b, H, A, t.length, k, l)) && 0 === (u = (g = G.trim()).length) && (g = "\x00\x00"), q = g.charCodeAt(0), p = g.charCodeAt(1), q + p) { | ||
g = (0 < q ? g.replace(P, "") : g).trim(); | ||
if (1 < (t = g.length)) switch (0 === G && (h = g.charCodeAt(0), 45 === h || 96 < h && 123 > h) && (t = (g = g.replace(" ", ":")).length), 0 < E && void 0 !== (H = O(1, g, c, b, I, y, u.length, k, l)) && 0 === (t = (g = H.trim()).length) && (g = "\x00\x00"), h = g.charCodeAt(0), q = g.charCodeAt(1), h + q) { | ||
case 0: | ||
@@ -196,18 +213,18 @@ break; | ||
case 163: | ||
N += g + d.charAt(r); | ||
M += g + d.charAt(r); | ||
break; | ||
default: | ||
58 !== g.charCodeAt(u - 1) && (t += ia(g, q, p, g.charCodeAt(2))); | ||
58 !== g.charCodeAt(t - 1) && (u += ja(g, h, q, g.charCodeAt(2))); | ||
} | ||
K = p = F = y = q = 0; | ||
L = q = G = N = C = 0; | ||
g = ""; | ||
h = d.charCodeAt(++r); | ||
m = d.charCodeAt(++r); | ||
} | ||
} | ||
switch (h) { | ||
switch (m) { | ||
case 13: | ||
case 10: | ||
if (0 === f + e + m + a + ja) switch (D) { | ||
if (0 === f + e + n + a + ka) switch (B) { | ||
case 41: | ||
@@ -231,8 +248,8 @@ case 39: | ||
default: | ||
0 < F && (y = 1); | ||
0 < G && (N = 1); | ||
} | ||
47 === f ? f = 0 : 0 === B + q && (p = 1, g += "\x00"); | ||
0 < E * ka && O(0, g, c, b, H, A, t.length, k, l); | ||
A = 1; | ||
H++; | ||
47 === f ? f = 0 : 0 === z + C && (q = 1, g += "\x00"); | ||
0 < E * la && O(0, g, c, b, I, y, u.length, k, l); | ||
y = 1; | ||
I++; | ||
break; | ||
@@ -242,4 +259,4 @@ | ||
case 125: | ||
if (0 === f + e + m + a) { | ||
A++; | ||
if (0 === f + e + n + a) { | ||
y++; | ||
break; | ||
@@ -249,9 +266,9 @@ } | ||
default: | ||
A++; | ||
v = d.charAt(r); | ||
y++; | ||
h = d.charAt(r); | ||
switch (h) { | ||
switch (m) { | ||
case 9: | ||
case 32: | ||
if (0 === e + a + f) switch (w) { | ||
if (0 === e + a + f) switch (v) { | ||
case 44: | ||
@@ -261,7 +278,7 @@ case 58: | ||
case 32: | ||
v = ""; | ||
h = ""; | ||
break; | ||
default: | ||
32 !== h && (v = " "); | ||
32 !== m && (h = " "); | ||
} | ||
@@ -271,24 +288,24 @@ break; | ||
case 0: | ||
v = "\\0"; | ||
h = "\\0"; | ||
break; | ||
case 12: | ||
v = "\\f"; | ||
h = "\\f"; | ||
break; | ||
case 11: | ||
v = "\\v"; | ||
h = "\\v"; | ||
break; | ||
case 38: | ||
0 === e + f + a && 0 < B && (p = K = 1, v = "\f" + v); | ||
0 === e + f + a && 0 < z && (q = L = 1, h = "\f" + h); | ||
break; | ||
case 108: | ||
if (0 === e + f + a + I && 0 < F) switch (r - F) { | ||
if (0 === e + f + a + J && 0 < G) switch (r - G) { | ||
case 2: | ||
112 === w && 58 === d.charCodeAt(r - 3) && (I = w); | ||
112 === v && 58 === d.charCodeAt(r - 3) && (J = v); | ||
case 8: | ||
111 === C && (I = C); | ||
111 === A && (J = A); | ||
} | ||
@@ -298,27 +315,27 @@ break; | ||
case 58: | ||
0 === e + f + a && (F = r); | ||
0 === e + f + a && (G = r); | ||
break; | ||
case 44: | ||
0 === f + m + e + a && (p = 1, v += "\r"); | ||
0 === f + n + e + a && (q = 1, h += "\r"); | ||
break; | ||
case 34: | ||
0 === f && (e = e === h ? 0 : 0 === e ? h : e); | ||
0 === f && (e = e === m ? 0 : 0 === e ? m : e); | ||
break; | ||
case 39: | ||
0 === f && (e = e === h ? 0 : 0 === e ? h : e); | ||
0 === f && (e = e === m ? 0 : 0 === e ? m : e); | ||
break; | ||
case 91: | ||
0 === e + f + m && a++; | ||
0 === e + f + n && a++; | ||
break; | ||
case 93: | ||
0 === e + f + m && a--; | ||
0 === e + f + n && a--; | ||
break; | ||
case 41: | ||
0 === e + f + a && m--; | ||
0 === e + f + a && n--; | ||
break; | ||
@@ -328,3 +345,3 @@ | ||
if (0 === e + f + a) { | ||
if (0 === q) switch (2 * w + 3 * C) { | ||
if (0 === C) switch (2 * v + 3 * A) { | ||
case 533: | ||
@@ -334,5 +351,5 @@ break; | ||
default: | ||
z = 0, q = 1; | ||
x = 0, C = 1; | ||
} | ||
m++; | ||
n++; | ||
} | ||
@@ -343,3 +360,3 @@ | ||
case 64: | ||
0 === f + m + e + a + F + n && (n = 1); | ||
0 === f + n + e + a + G + p && (p = 1); | ||
break; | ||
@@ -349,5 +366,5 @@ | ||
case 47: | ||
if (!(0 < e + a + m)) switch (f) { | ||
if (!(0 < e + a + n)) switch (f) { | ||
case 0: | ||
switch (2 * h + 3 * d.charCodeAt(r + 1)) { | ||
switch (2 * m + 3 * d.charCodeAt(r + 1)) { | ||
case 235: | ||
@@ -358,3 +375,3 @@ f = 47; | ||
case 220: | ||
u = r, f = 42; | ||
t = r, f = 42; | ||
} | ||
@@ -365,3 +382,3 @@ | ||
case 42: | ||
47 === h && 42 === w && (33 === d.charCodeAt(u + 2) && (t += d.substring(u, r + 1)), v = "", f = 0); | ||
47 === m && 42 === v && (33 === d.charCodeAt(t + 2) && (u += d.substring(t, r + 1)), h = "", f = 0); | ||
} | ||
@@ -371,3 +388,3 @@ } | ||
if (0 === f) { | ||
if (0 === B + e + a + n && 107 !== k && 59 !== h) switch (h) { | ||
if (0 === z + e + a + p && 107 !== k && 59 !== m) switch (m) { | ||
case 44: | ||
@@ -379,4 +396,4 @@ case 126: | ||
case 40: | ||
if (0 === q) { | ||
switch (w) { | ||
if (0 === C) { | ||
switch (v) { | ||
case 9: | ||
@@ -386,17 +403,17 @@ case 32: | ||
case 13: | ||
v += "\x00"; | ||
h += "\x00"; | ||
break; | ||
default: | ||
v = "\x00" + v + (44 === h ? "" : "\x00"); | ||
h = "\x00" + h + (44 === m ? "" : "\x00"); | ||
} | ||
p = 1; | ||
} else switch (h) { | ||
q = 1; | ||
} else switch (m) { | ||
case 40: | ||
q = ++z; | ||
C = ++x; | ||
break; | ||
case 41: | ||
0 === (q = --z) && (p = 1, v += "\x00"); | ||
0 === (C = --x) && (q = 1, h += "\x00"); | ||
} | ||
@@ -408,3 +425,3 @@ | ||
case 32: | ||
switch (w) { | ||
switch (v) { | ||
case 0: | ||
@@ -423,8 +440,8 @@ case 123: | ||
default: | ||
0 === q && (p = 1, v += "\x00"); | ||
0 === C && (q = 1, h += "\x00"); | ||
} | ||
} | ||
g += v; | ||
32 !== h && 9 !== h && (D = h); | ||
g += h; | ||
32 !== m && 9 !== m && (B = m); | ||
} | ||
@@ -434,12 +451,12 @@ | ||
C = w; | ||
w = h; | ||
A = v; | ||
v = m; | ||
r++; | ||
} | ||
u = t.length; | ||
0 < X && 0 === u && 0 === S.length && 0 === c[0].length === !1 && (109 !== k || 1 === c.length && (0 < B ? J : R) === c[0]) && (u = c.join(",").length + 2); | ||
t = u.length; | ||
0 < X && 0 === t && 0 === S.length && 0 === c[0].length === !1 && (109 !== k || 1 === c.length && (0 < z ? K : R) === c[0]) && (t = c.join(",").length + 2); | ||
if (0 < u) { | ||
if (0 === B && 107 !== k) { | ||
if (0 < t) { | ||
if (0 === z && 107 !== k) { | ||
d = 0; | ||
@@ -449,12 +466,12 @@ a = c.length; | ||
for (f = Array(a); d < a; ++d) { | ||
w = c[d].split(ta); | ||
C = ""; | ||
D = 0; | ||
v = c[d].split(ua); | ||
A = ""; | ||
B = 0; | ||
for (L = w.length; D < L; ++D) { | ||
if (!(0 === (z = (e = w[D]).length) && 1 < L)) { | ||
r = C.charCodeAt(C.length - 1); | ||
K = e.charCodeAt(0); | ||
m = ""; | ||
if (0 !== D) switch (r) { | ||
for (D = v.length; B < D; ++B) { | ||
if (!(0 === (x = (e = v[B]).length) && 1 < D)) { | ||
r = A.charCodeAt(A.length - 1); | ||
L = e.charCodeAt(0); | ||
n = ""; | ||
if (0 !== B) switch (r) { | ||
case 42: | ||
@@ -469,8 +486,8 @@ case 126: | ||
default: | ||
m = " "; | ||
n = " "; | ||
} | ||
switch (K) { | ||
switch (L) { | ||
case 38: | ||
e = m + J; | ||
e = n + K; | ||
@@ -486,3 +503,3 @@ case 126: | ||
case 91: | ||
e = m + e + J; | ||
e = n + e + K; | ||
break; | ||
@@ -494,3 +511,3 @@ | ||
if (0 < Y) { | ||
e = m + e.substring(8, z - 1); | ||
e = n + e.substring(8, x - 1); | ||
break; | ||
@@ -500,3 +517,3 @@ } | ||
default: | ||
if (1 > D || 1 > w[D - 1].length) e = m + J + e; | ||
if (1 > B || 1 > v[B - 1].length) e = n + K + e; | ||
} | ||
@@ -507,13 +524,13 @@ | ||
case 44: | ||
m = ""; | ||
n = ""; | ||
default: | ||
e = 1 < z && 0 < e.indexOf(":") ? m + e.replace(ua, "$1" + J + "$2") : m + e + J; | ||
e = 1 < x && 0 < e.indexOf(":") ? n + e.replace(va, "$1" + K + "$2") : n + e + K; | ||
} | ||
C += e; | ||
A += e; | ||
} | ||
} | ||
f[d] = C.replace(P, "").trim(); | ||
f[d] = A.replace(P, "").trim(); | ||
} | ||
@@ -525,26 +542,26 @@ | ||
h = c; | ||
if (0 < E && (G = O(2, t, h, b, H, A, u, k, l), void 0 !== G && 0 === (t = G).length)) return N + t + S; | ||
t = h.join(",") + "{" + t + "}"; | ||
if (0 < E && (H = O(2, u, h, b, I, y, t, k, l), void 0 !== H && 0 === (u = H).length)) return M + u + S; | ||
u = h.join(",") + "{" + u + "}"; | ||
if (0 !== x * I) { | ||
2 !== x || U(t, 2) || (I = 0); | ||
if (0 !== w * J) { | ||
2 !== w || U(u, 2) || (J = 0); | ||
switch (I) { | ||
switch (J) { | ||
case 111: | ||
t = t.replace(va, ":-moz-$1") + t; | ||
u = u.replace(wa, ":-moz-$1") + u; | ||
break; | ||
case 112: | ||
t = t.replace(Z, "::-webkit-input-$1") + t.replace(Z, "::-moz-$1") + t.replace(Z, ":-ms-input-$1") + t; | ||
u = u.replace(Z, "::-webkit-input-$1") + u.replace(Z, "::-moz-$1") + u.replace(Z, ":-ms-input-$1") + u; | ||
} | ||
I = 0; | ||
J = 0; | ||
} | ||
} | ||
return N + t + S; | ||
return M + u + S; | ||
} | ||
function ha(b, c, d) { | ||
var k = c.trim().split(wa); | ||
function ia(b, c, d) { | ||
var k = c.trim().split(xa); | ||
c = k; | ||
@@ -560,3 +577,3 @@ var l = k.length, | ||
for (b = 0 === a ? "" : b[0] + " "; f < l; ++f) { | ||
c[f] = la(b, c[f], d, a).trim(); | ||
c[f] = ma(b, c[f], d, a).trim(); | ||
} | ||
@@ -567,7 +584,7 @@ | ||
default: | ||
var m = f = 0; | ||
var n = f = 0; | ||
for (c = []; f < l; ++f) { | ||
for (var e = 0; e < a; ++e) { | ||
c[m++] = la(b[e] + " ", k[f], d, a).trim(); | ||
c[n++] = ma(b[e] + " ", k[f], d, a).trim(); | ||
} | ||
@@ -581,3 +598,3 @@ } | ||
function la(b, c, d, k) { | ||
function ma(b, c, d, k) { | ||
var l = c.charCodeAt(0); | ||
@@ -588,3 +605,3 @@ 33 > l && (l = (c = c.trim()).charCodeAt(0)); | ||
case 38: | ||
switch (B + k) { | ||
switch (z + k) { | ||
case 0: | ||
@@ -603,3 +620,3 @@ case 1: | ||
case 103: | ||
if (0 < Y && 0 < B) return c.replace(xa, "$1").replace(M, "$1" + R); | ||
if (0 < Y && 0 < z) return c.replace(ya, "$1").replace(M, "$1" + R); | ||
break; | ||
@@ -612,3 +629,3 @@ | ||
default: | ||
if (0 < d * B && 0 < c.indexOf("\f")) return c.replace(M, (58 === b.charCodeAt(0) ? "" : "$1") + b.trim()); | ||
if (0 < d * z && 0 < c.indexOf("\f")) return c.replace(M, (58 === b.charCodeAt(0) ? "" : "$1") + b.trim()); | ||
} | ||
@@ -619,3 +636,3 @@ | ||
function ia(b, c, d, k) { | ||
function ja(b, c, d, k) { | ||
var l = 0, | ||
@@ -639,4 +656,4 @@ a = b + ";"; | ||
default: | ||
for (a = k.split((k = "", ya)), b = c = 0, l = a.length; c < l; b = 0, ++c) { | ||
for (var f = a[c], m = f.split(za); f = m[b];) { | ||
for (a = k.split((k = "", za)), b = c = 0, l = a.length; c < l; b = 0, ++c) { | ||
for (var f = a[c], n = f.split(Aa); f = n[b];) { | ||
var e = f.charCodeAt(0); | ||
@@ -674,6 +691,6 @@ if (1 === Q && (64 < e && 90 > e || 96 < e && 123 > e || 95 === e || 45 === e && 45 !== f.charCodeAt(1))) switch (isNaN(parseFloat(f)) + (-1 !== f.indexOf("("))) { | ||
} | ||
m[b++] = f; | ||
n[b++] = f; | ||
} | ||
k += (0 === c ? "" : ",") + m.join(" "); | ||
k += (0 === c ? "" : ",") + n.join(" "); | ||
} | ||
@@ -684,6 +701,6 @@ | ||
k = d + k + ";"; | ||
return 1 === x || 2 === x && U(k, 1) ? "-webkit-" + k + k : k; | ||
return 1 === w || 2 === w && U(k, 1) ? "-webkit-" + k + k : k; | ||
} | ||
if (0 === x || 2 === x && !U(a, 1)) return a; | ||
if (0 === w || 2 === w && !U(a, 1)) return a; | ||
@@ -720,9 +737,9 @@ switch (c) { | ||
case 103: | ||
return "-webkit-box-" + a.replace("-grow", "") + "-ms-" + a.replace("grow", "positive") + a; | ||
return "-webkit-box-" + a.replace("-grow", "") + "-webkit-" + a + "-ms-" + a.replace("grow", "positive") + a; | ||
case 115: | ||
return "-ms-" + a.replace("shrink", "negative") + a; | ||
return "-webkit-" + a + "-ms-" + a.replace("shrink", "negative") + a; | ||
case 98: | ||
return "-ms-" + a.replace("basis", "preferred-size") + a; | ||
return "-webkit-" + a + "-ms-" + a.replace("basis", "preferred-size") + a; | ||
} | ||
@@ -740,3 +757,3 @@ return "-webkit-" + a + "-ms-" + a + a; | ||
case 1005: | ||
return Aa.test(a) ? a.replace(ma, ":-webkit-") + a.replace(ma, ":-moz-") + a : a; | ||
return Ba.test(a) ? a.replace(na, ":-webkit-") + a.replace(na, ":-moz-") + a : a; | ||
@@ -749,11 +766,11 @@ case 1E3: | ||
case 226: | ||
b = a.replace(N, "tb"); | ||
b = a.replace(aa, "tb"); | ||
break; | ||
case 232: | ||
b = a.replace(N, "tb-rl"); | ||
b = a.replace(aa, "tb-rl"); | ||
break; | ||
case 220: | ||
b = a.replace(N, "lr"); | ||
b = a.replace(aa, "lr"); | ||
break; | ||
@@ -795,3 +812,3 @@ | ||
case 115: | ||
return "-webkit-" + a + "-ms-flex-item-" + a.replace(Ba, "") + a; | ||
return "-webkit-" + a + "-ms-flex-item-" + a.replace(Ca, "") + a; | ||
@@ -808,3 +825,3 @@ default: | ||
case 962: | ||
if (a = "-webkit-" + a + (102 === a.charCodeAt(5) ? "-ms-" + a : "") + a, 211 === d + k && 105 === a.charCodeAt(13) && 0 < a.indexOf("transform", 10)) return a.substring(0, a.indexOf(";", 27) + 1).replace(Ca, "$1-webkit-$2") + a; | ||
if (a = "-webkit-" + a + (102 === a.charCodeAt(5) ? "-ms-" + a : "") + a, 211 === d + k && 105 === a.charCodeAt(13) && 0 < a.indexOf("transform", 10)) return a.substring(0, a.indexOf(";", 27) + 1).replace(Da, "$1-webkit-$2") + a; | ||
} | ||
@@ -819,13 +836,13 @@ | ||
d = b.substring(d + 1, b.length - 1); | ||
return aa(2 !== c ? k : k.replace(Da, "$1"), d, c); | ||
return ba(2 !== c ? k : k.replace(Ea, "$1"), d, c); | ||
} | ||
function ra(b, c) { | ||
var d = ia(c, c.charCodeAt(0), c.charCodeAt(1), c.charCodeAt(2)); | ||
return d !== c + ";" ? d.replace(Ea, " or ($1)").substring(4) : "(" + c + ")"; | ||
function sa(b, c) { | ||
var d = ja(c, c.charCodeAt(0), c.charCodeAt(1), c.charCodeAt(2)); | ||
return d !== c + ";" ? d.replace(Fa, " or ($1)").substring(4) : "(" + c + ")"; | ||
} | ||
function O(b, c, d, k, l, a, f, m, e) { | ||
for (var q = 0, p = c, h; q < E; ++q) { | ||
switch (h = ba[q].call(y, b, p, d, k, l, a, f, m, e)) { | ||
function O(b, c, d, k, l, a, f, n, e) { | ||
for (var h = 0, q = c, m; h < E; ++h) { | ||
switch (m = ca[h].call(F, b, q, d, k, l, a, f, n, e)) { | ||
case void 0: | ||
@@ -838,7 +855,7 @@ case !1: | ||
default: | ||
p = h; | ||
q = m; | ||
} | ||
} | ||
switch (p) { | ||
switch (q) { | ||
case void 0: | ||
@@ -852,11 +869,11 @@ case !1: | ||
default: | ||
return p; | ||
return q; | ||
} | ||
} | ||
function ca(b) { | ||
function da(b) { | ||
switch (b) { | ||
case void 0: | ||
case null: | ||
E = ba.length = 0; | ||
E = ca.length = 0; | ||
break; | ||
@@ -868,3 +885,3 @@ | ||
for (var c = 0, d = b.length; c < d; ++c) { | ||
ca(b[c]); | ||
da(b[c]); | ||
} | ||
@@ -875,7 +892,7 @@ | ||
case Function: | ||
ba[E++] = b; | ||
ca[E++] = b; | ||
break; | ||
case Boolean: | ||
ka = !!b | 0; | ||
la = !!b | 0; | ||
} | ||
@@ -885,6 +902,6 @@ | ||
return ca; | ||
return da; | ||
} | ||
function da(b) { | ||
function ea(b) { | ||
for (var c in b) { | ||
@@ -903,11 +920,11 @@ var d = b[c]; | ||
case "cascade": | ||
B = d | 0; | ||
z = d | 0; | ||
break; | ||
case "compress": | ||
na = d | 0; | ||
oa = d | 0; | ||
break; | ||
case "semicolon": | ||
ja = d | 0; | ||
ka = d | 0; | ||
break; | ||
@@ -920,21 +937,21 @@ | ||
case "prefix": | ||
aa = null, d ? "function" !== typeof d ? x = 1 : (x = 2, aa = d) : x = 0; | ||
ba = null, d ? "function" !== typeof d ? w = 1 : (w = 2, ba = d) : w = 0; | ||
} | ||
} | ||
return da; | ||
return ea; | ||
} | ||
function y(b, c) { | ||
if (void 0 !== this && this.constructor === y) return ea(b); | ||
function F(b, c) { | ||
if (void 0 !== this && this.constructor === F) return fa(b); | ||
var d = b, | ||
k = d.charCodeAt(0); | ||
33 > k && (k = (d = d.trim()).charCodeAt(0)); | ||
0 < Q && (T = d.replace(Fa, 91 === k ? "" : "-")); | ||
0 < Q && (T = d.replace(Ga, 91 === k ? "" : "-")); | ||
k = 1; | ||
1 === B ? R = d : J = d; | ||
1 === z ? R = d : K = d; | ||
d = [R]; | ||
if (0 < E) { | ||
var l = O(-1, c, d, d, H, A, 0, 0, 0); | ||
var l = O(-1, c, d, d, I, y, 0, 0, 0); | ||
void 0 !== l && "string" === typeof l && (c = l); | ||
@@ -944,56 +961,56 @@ } | ||
var a = V(W, d, c, 0, 0); | ||
0 < E && (l = O(-2, a, d, d, H, A, a.length, 0, 0), void 0 !== l && "string" !== typeof (a = l) && (k = 0)); | ||
J = R = T = ""; | ||
I = 0; | ||
A = H = 1; | ||
return 0 === na * k ? a : a.replace(P, "").replace(Ga, "").replace(Ha, "$1").replace(Ia, "$1").replace(Ja, " "); | ||
0 < E && (l = O(-2, a, d, d, I, y, a.length, 0, 0), void 0 !== l && "string" !== typeof (a = l) && (k = 0)); | ||
K = R = T = ""; | ||
J = 0; | ||
y = I = 1; | ||
return 0 === oa * k ? a : a.replace(P, "").replace(Ha, "").replace(Ia, "$1").replace(Ja, "$1").replace(Ka, " "); | ||
} | ||
var pa = /^\0+/g, | ||
var qa = /^\0+/g, | ||
P = /[\0\r\f]/g, | ||
ma = /: */g, | ||
Aa = /zoo|gra/, | ||
Ca = /([,: ])(transform)/g, | ||
ya = /,+\s*(?![^(]*[)])/g, | ||
za = / +\s*(?![^(]*[)])/g, | ||
ta = / *[\0] */g, | ||
wa = /,\r+?/g, | ||
na = /: */g, | ||
Ba = /zoo|gra/, | ||
Da = /([,: ])(transform)/g, | ||
za = /,+\s*(?![^(]*[)])/g, | ||
Aa = / +\s*(?![^(]*[)])/g, | ||
ua = / *[\0] */g, | ||
xa = /,\r+?/g, | ||
M = /([\t\r\n ])*\f?&/g, | ||
xa = /:global\(((?:[^\(\)\[\]]*|\[.*\]|\([^\(\)]*\))*)\)/g, | ||
Fa = /\W+/g, | ||
sa = /@(k\w+)\s*(\S*)\s*/, | ||
ya = /:global\(((?:[^\(\)\[\]]*|\[.*\]|\([^\(\)]*\))*)\)/g, | ||
Ga = /\W+/g, | ||
ta = /@(k\w+)\s*(\S*)\s*/, | ||
Z = /::(place)/g, | ||
va = /:(read-only)/g, | ||
Ga = /\s+(?=[{\];=:>])/g, | ||
Ha = /([[}=:>])\s+/g, | ||
Ia = /(\{[^{]+?);(?=\})/g, | ||
Ja = /\s{2,}/g, | ||
ua = /([^\(])(:+) */g, | ||
N = /[svh]\w+-[tblr]{2}/, | ||
qa = /\(\s*(.*)\s*\)/g, | ||
Ea = /([^]*?);/g, | ||
Ba = /-self|flex-/g, | ||
Da = /[^]*?(:[rp][el]a[\w-]+)[^]*/, | ||
A = 1, | ||
H = 1, | ||
I = 0, | ||
B = 1, | ||
x = 1, | ||
wa = /:(read-only)/g, | ||
Ha = /\s+(?=[{\];=:>])/g, | ||
Ia = /([[}=:>])\s+/g, | ||
Ja = /(\{[^{]+?);(?=\})/g, | ||
Ka = /\s{2,}/g, | ||
va = /([^\(])(:+) */g, | ||
aa = /[svh]\w+-[tblr]{2}/, | ||
ra = /\(\s*(.*)\s*\)/g, | ||
Fa = /([^]*?);/g, | ||
Ca = /-self|flex-/g, | ||
Ea = /[^]*?(:[rp][el]a[\w-]+)[^]*/, | ||
y = 1, | ||
I = 1, | ||
J = 0, | ||
z = 1, | ||
w = 1, | ||
Y = 1, | ||
na = 0, | ||
ja = 0, | ||
oa = 0, | ||
ka = 0, | ||
X = 0, | ||
W = [], | ||
ba = [], | ||
ca = [], | ||
E = 0, | ||
aa = null, | ||
ka = 0, | ||
ba = null, | ||
la = 0, | ||
Q = 1, | ||
T = "", | ||
J = "", | ||
K = "", | ||
R = ""; | ||
y.use = ca; | ||
y.set = da; | ||
void 0 !== fa && da(fa); | ||
return y; | ||
F.use = da; | ||
F.set = ea; | ||
void 0 !== ha && ea(ha); | ||
return F; | ||
}; | ||
@@ -1009,2 +1026,4 @@ | ||
} | ||
var STYLES_KEY = '__emotion_styles'; | ||
var TARGET_KEY = '__emotion_target'; | ||
var unitless = { | ||
@@ -1055,3 +1074,3 @@ animationIterationCount: 1, | ||
export { memoize, unitless, hashString, oa as Stylis }; | ||
export { memoize, STYLES_KEY, TARGET_KEY, unitless, hashString, pa as Stylis }; | ||
//# sourceMappingURL=index.es.js.map |
{ | ||
"name": "emotion-utils", | ||
"version": "8.0.11", | ||
"version": "8.0.12", | ||
"description": "Shared utilities used by emotion, The Next Generation of CSS-in-JS.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.cjs.js", |
@@ -10,2 +10,5 @@ // @flow weak | ||
export const STYLES_KEY = '__emotion_styles' | ||
export const TARGET_KEY = '__emotion_target' | ||
export const unitless = { | ||
@@ -12,0 +15,0 @@ animationIterationCount: 1, |
@@ -1,23 +0,23 @@ | ||
var oa=function ea(fa){function V(b,c,d,k,l){for(var a=0,f=0,m=0,e=0,q,p,h,w=0,C=0,D=0,z=0,n=q=0,F=0,r=0,y=p=0,K=0,u=0,L=d.length,M=L-1,v,g="",t="",S="",N="",G;r<L;){h=d.charCodeAt(r);r===M&&0!==f+e+m+a&&(0!==f&&(h=47===f?10:47),e=m=a=0,L++,M++);if(0===f+e+m+a){if(r===M&&(0<p&&(g=g.replace(P,"")),0<g.trim().length)){switch(h){case 32:case 9:case 59:case 13:case 10:break;default:g+=d.charAt(r)}h=59}if(1===y)switch(h){case 123:case 44:y=0;break;case 9:case 13:case 10:case 32:break;default:r--,h=59}switch(h){case 123:g= | ||
g.trim();q=g.charCodeAt(0);z=1;for(u=++r;r<L;){h=d.charCodeAt(r);switch(h){case 123:z++;break;case 125:z--}if(0===z)break;r++}n=d.substring(u,r);0===q&&(q=(g=g.replace(pa,"").trim()).charCodeAt(0));switch(q){case 64:0<p&&(g=g.replace(P,""));p=g.charCodeAt(1);switch(p){case 100:case 109:case 115:case 45:h=c;break;default:h=W}n=V(c,h,n,p,l+1);u=n.length;0<X&&0===u&&(u=g.length);0<E&&(h=ha(W,g,K),G=O(3,n,h,c,H,A,u,p,l),g=h.join(""),void 0!==G&&0===(u=(n=G.trim()).length)&&(p=0,n=""));if(0<u)switch(p){case 115:g= | ||
g.replace(qa,ra);case 100:case 109:case 45:n=g+"{"+n+"}";break;case 107:g=g.replace(sa,"$1 $2"+(0<Q?T:""));n=g+"{"+n+"}";n=1===x||2===x&&U("@"+n,3)?"@-webkit-"+n+"@"+n:"@"+n;break;default:n=g+n,112===k&&(n=(t+=n,""))}else n="";break;default:n=V(c,ha(c,g,K),n,k,l+1)}S+=n;n=K=p=F=y=q=0;g="";h=d.charCodeAt(++r);break;case 125:case 59:g=(0<p?g.replace(P,""):g).trim();if(1<(u=g.length))switch(0===F&&(q=g.charCodeAt(0),45===q||96<q&&123>q)&&(u=(g=g.replace(" ",":")).length),0<E&&void 0!==(G=O(1,g,c,b,H, | ||
A,t.length,k,l))&&0===(u=(g=G.trim()).length)&&(g="\x00\x00"),q=g.charCodeAt(0),p=g.charCodeAt(1),q+p){case 0:break;case 169:case 163:N+=g+d.charAt(r);break;default:58!==g.charCodeAt(u-1)&&(t+=ia(g,q,p,g.charCodeAt(2)))}K=p=F=y=q=0;g="";h=d.charCodeAt(++r)}}switch(h){case 13:case 10:if(0===f+e+m+a+ja)switch(D){case 41:case 39:case 34:case 64:case 126:case 62:case 42:case 43:case 47:case 45:case 58:case 44:case 59:case 123:case 125:break;default:0<F&&(y=1)}47===f?f=0:0===B+q&&(p=1,g+="\x00");0<E*ka&& | ||
O(0,g,c,b,H,A,t.length,k,l);A=1;H++;break;case 59:case 125:if(0===f+e+m+a){A++;break}default:A++;v=d.charAt(r);switch(h){case 9:case 32:if(0===e+a+f)switch(w){case 44:case 58:case 9:case 32:v="";break;default:32!==h&&(v=" ")}break;case 0:v="\\0";break;case 12:v="\\f";break;case 11:v="\\v";break;case 38:0===e+f+a&&0<B&&(p=K=1,v="\f"+v);break;case 108:if(0===e+f+a+I&&0<F)switch(r-F){case 2:112===w&&58===d.charCodeAt(r-3)&&(I=w);case 8:111===C&&(I=C)}break;case 58:0===e+f+a&&(F=r);break;case 44:0=== | ||
f+m+e+a&&(p=1,v+="\r");break;case 34:0===f&&(e=e===h?0:0===e?h:e);break;case 39:0===f&&(e=e===h?0:0===e?h:e);break;case 91:0===e+f+m&&a++;break;case 93:0===e+f+m&&a--;break;case 41:0===e+f+a&&m--;break;case 40:if(0===e+f+a){if(0===q)switch(2*w+3*C){case 533:break;default:z=0,q=1}m++}break;case 64:0===f+m+e+a+F+n&&(n=1);break;case 42:case 47:if(!(0<e+a+m))switch(f){case 0:switch(2*h+3*d.charCodeAt(r+1)){case 235:f=47;break;case 220:u=r,f=42}break;case 42:47===h&&42===w&&(33===d.charCodeAt(u+2)&&(t+= | ||
d.substring(u,r+1)),v="",f=0)}}if(0===f){if(0===B+e+a+n&&107!==k&&59!==h)switch(h){case 44:case 126:case 62:case 43:case 41:case 40:if(0===q){switch(w){case 9:case 32:case 10:case 13:v+="\x00";break;default:v="\x00"+v+(44===h?"":"\x00")}p=1}else switch(h){case 40:q=++z;break;case 41:0===(q=--z)&&(p=1,v+="\x00")}break;case 9:case 32:switch(w){case 0:case 123:case 125:case 59:case 44:case 12:case 9:case 32:case 10:case 13:break;default:0===q&&(p=1,v+="\x00")}}g+=v;32!==h&&9!==h&&(D=h)}}C=w;w=h;r++}u= | ||
t.length;0<X&&0===u&&0===S.length&&0===c[0].length===!1&&(109!==k||1===c.length&&(0<B?J:R)===c[0])&&(u=c.join(",").length+2);if(0<u){if(0===B&&107!==k){d=0;a=c.length;for(f=Array(a);d<a;++d){w=c[d].split(ta);C="";D=0;for(L=w.length;D<L;++D)if(!(0===(z=(e=w[D]).length)&&1<L)){r=C.charCodeAt(C.length-1);K=e.charCodeAt(0);m="";if(0!==D)switch(r){case 42:case 126:case 62:case 43:case 32:case 40:break;default:m=" "}switch(K){case 38:e=m+J;case 126:case 62:case 43:case 32:case 41:case 40:break;case 91:e= | ||
m+e+J;break;case 58:switch(2*e.charCodeAt(1)+3*e.charCodeAt(2)){case 530:if(0<Y){e=m+e.substring(8,z-1);break}default:if(1>D||1>w[D-1].length)e=m+J+e}break;case 44:m="";default:e=1<z&&0<e.indexOf(":")?m+e.replace(ua,"$1"+J+"$2"):m+e+J}C+=e}f[d]=C.replace(P,"").trim()}c=f}h=c;if(0<E&&(G=O(2,t,h,b,H,A,u,k,l),void 0!==G&&0===(t=G).length))return N+t+S;t=h.join(",")+"{"+t+"}";if(0!==x*I){2!==x||U(t,2)||(I=0);switch(I){case 111:t=t.replace(va,":-moz-$1")+t;break;case 112:t=t.replace(Z,"::-webkit-input-$1")+ | ||
t.replace(Z,"::-moz-$1")+t.replace(Z,":-ms-input-$1")+t}I=0}}return N+t+S}function ha(b,c,d){var k=c.trim().split(wa);c=k;var l=k.length,a=b.length;switch(a){case 0:case 1:var f=0;for(b=0===a?"":b[0]+" ";f<l;++f)c[f]=la(b,c[f],d,a).trim();break;default:var m=f=0;for(c=[];f<l;++f)for(var e=0;e<a;++e)c[m++]=la(b[e]+" ",k[f],d,a).trim()}return c}function la(b,c,d,k){var l=c.charCodeAt(0);33>l&&(l=(c=c.trim()).charCodeAt(0));switch(l){case 38:switch(B+k){case 0:case 1:if(0===b.trim().length)break;default:return c.replace(M, | ||
"$1"+b.trim())}break;case 58:switch(c.charCodeAt(1)){case 103:if(0<Y&&0<B)return c.replace(xa,"$1").replace(M,"$1"+R);break;default:return b.trim()+c}default:if(0<d*B&&0<c.indexOf("\f"))return c.replace(M,(58===b.charCodeAt(0)?"":"$1")+b.trim())}return b+c}function ia(b,c,d,k){var l=0,a=b+";";c=2*c+3*d+4*k;if(944===c){l=a.length;b=a.indexOf(":",9)+1;d=a.substring(0,b).trim();k=a.substring(b,l-1).trim();switch(a.charCodeAt(9)*Q){case 0:break;case 45:if(110!==a.charCodeAt(10))break;default:for(a=k.split((k= | ||
"",ya)),b=c=0,l=a.length;c<l;b=0,++c){for(var f=a[c],m=f.split(za);f=m[b];){var e=f.charCodeAt(0);if(1===Q&&(64<e&&90>e||96<e&&123>e||95===e||45===e&&45!==f.charCodeAt(1)))switch(isNaN(parseFloat(f))+(-1!==f.indexOf("("))){case 1:switch(f){case "infinite":case "alternate":case "backwards":case "running":case "normal":case "forwards":case "both":case "none":case "linear":case "ease":case "ease-in":case "ease-out":case "ease-in-out":case "paused":case "reverse":case "alternate-reverse":case "inherit":case "initial":case "unset":case "step-start":case "step-end":break; | ||
default:f+=T}}m[b++]=f}k+=(0===c?"":",")+m.join(" ")}}k=d+k+";";return 1===x||2===x&&U(k,1)?"-webkit-"+k+k:k}if(0===x||2===x&&!U(a,1))return a;switch(c){case 1015:return 45===a.charCodeAt(9)?"-webkit-"+a+a:a;case 951:return 116===a.charCodeAt(3)?"-webkit-"+a+a:a;case 963:return 110===a.charCodeAt(5)?"-webkit-"+a+a:a;case 1009:if(100!==a.charCodeAt(4))break;case 969:case 942:return"-webkit-"+a+a;case 978:return"-webkit-"+a+"-moz-"+a+a;case 1019:case 983:return"-webkit-"+a+"-moz-"+a+"-ms-"+a+a;case 883:return 45=== | ||
a.charCodeAt(8)?"-webkit-"+a+a:a;case 932:if(45===a.charCodeAt(4))switch(a.charCodeAt(5)){case 103:return"-webkit-box-"+a.replace("-grow","")+"-ms-"+a.replace("grow","positive")+a;case 115:return"-ms-"+a.replace("shrink","negative")+a;case 98:return"-ms-"+a.replace("basis","preferred-size")+a}return"-webkit-"+a+"-ms-"+a+a;case 964:return"-webkit-"+a+"-ms-flex-"+a+a;case 1023:if(99!==a.charCodeAt(8))break;b=a.substring(a.indexOf(":",15)).replace("flex-","").replace("space-between","justify");return"-webkit-box-pack"+ | ||
b+"-webkit-"+a+"-ms-flex-pack"+b+a;case 1005:return Aa.test(a)?a.replace(ma,":-webkit-")+a.replace(ma,":-moz-")+a:a;case 1E3:b=a.substring(13).trim();l=b.indexOf("-")+1;switch(b.charCodeAt(0)+b.charCodeAt(l)){case 226:b=a.replace(N,"tb");break;case 232:b=a.replace(N,"tb-rl");break;case 220:b=a.replace(N,"lr");break;default:return a}return"-webkit-"+a+"-ms-"+b+a;case 1017:if(-1===a.indexOf("sticky",9))break;case 975:l=(a=b).length-10;b=(33===a.charCodeAt(l)?a.substring(0,l):a).substring(b.indexOf(":", | ||
7)+1).trim();switch(c=b.charCodeAt(0)+(b.charCodeAt(7)|0)){case 203:if(111>b.charCodeAt(8))break;case 115:a=a.replace(b,"-webkit-"+b)+";"+a;break;case 207:case 102:a=a.replace(b,"-webkit-"+(102<c?"inline-":"")+"box")+";"+a.replace(b,"-webkit-"+b)+";"+a.replace(b,"-ms-"+b+"box")+";"+a}return a+";";case 938:if(45===a.charCodeAt(5))switch(a.charCodeAt(6)){case 105:return b=a.replace("-items",""),"-webkit-"+a+"-webkit-box-"+b+"-ms-flex-"+b+a;case 115:return"-webkit-"+a+"-ms-flex-item-"+a.replace(Ba,"")+ | ||
a;default:return"-webkit-"+a+"-ms-flex-line-pack"+a.replace("align-content","")+a}break;case 953:if(0<(l=a.indexOf("-content",9))&&109===a.charCodeAt(l-3)&&45!==a.charCodeAt(l-4))return b=a.substring(l-3),"width:-webkit-"+b+"width:-moz-"+b+"width:"+b;break;case 962:if(a="-webkit-"+a+(102===a.charCodeAt(5)?"-ms-"+a:"")+a,211===d+k&&105===a.charCodeAt(13)&&0<a.indexOf("transform",10))return a.substring(0,a.indexOf(";",27)+1).replace(Ca,"$1-webkit-$2")+a}return a}function U(b,c){var d=b.indexOf(1=== | ||
c?":":"{"),k=b.substring(0,3!==c?d:10);d=b.substring(d+1,b.length-1);return aa(2!==c?k:k.replace(Da,"$1"),d,c)}function ra(b,c){var d=ia(c,c.charCodeAt(0),c.charCodeAt(1),c.charCodeAt(2));return d!==c+";"?d.replace(Ea," or ($1)").substring(4):"("+c+")"}function O(b,c,d,k,l,a,f,m,e){for(var q=0,p=c,h;q<E;++q)switch(h=ba[q].call(y,b,p,d,k,l,a,f,m,e)){case void 0:case !1:case !0:case null:break;default:p=h}switch(p){case void 0:case !1:case !0:case null:case c:break;default:return p}}function ca(b){switch(b){case void 0:case null:E= | ||
ba.length=0;break;default:switch(b.constructor){case Array:for(var c=0,d=b.length;c<d;++c)ca(b[c]);break;case Function:ba[E++]=b;break;case Boolean:ka=!!b|0}}return ca}function da(b){for(var c in b){var d=b[c];switch(c){case "keyframe":Q=d|0;break;case "global":Y=d|0;break;case "cascade":B=d|0;break;case "compress":na=d|0;break;case "semicolon":ja=d|0;break;case "preserve":X=d|0;break;case "prefix":aa=null,d?"function"!==typeof d?x=1:(x=2,aa=d):x=0}}return da}function y(b,c){if(void 0!==this&&this.constructor=== | ||
y)return ea(b);var d=b,k=d.charCodeAt(0);33>k&&(k=(d=d.trim()).charCodeAt(0));0<Q&&(T=d.replace(Fa,91===k?"":"-"));k=1;1===B?R=d:J=d;d=[R];if(0<E){var l=O(-1,c,d,d,H,A,0,0,0);void 0!==l&&"string"===typeof l&&(c=l)}var a=V(W,d,c,0,0);0<E&&(l=O(-2,a,d,d,H,A,a.length,0,0),void 0!==l&&"string"!==typeof(a=l)&&(k=0));J=R=T="";I=0;A=H=1;return 0===na*k?a:a.replace(P,"").replace(Ga,"").replace(Ha,"$1").replace(Ia,"$1").replace(Ja," ")}var pa=/^\0+/g,P=/[\0\r\f]/g,ma=/: */g,Aa=/zoo|gra/,Ca=/([,: ])(transform)/g, | ||
ya=/,+\s*(?![^(]*[)])/g,za=/ +\s*(?![^(]*[)])/g,ta=/ *[\0] */g,wa=/,\r+?/g,M=/([\t\r\n ])*\f?&/g,xa=/:global\(((?:[^\(\)\[\]]*|\[.*\]|\([^\(\)]*\))*)\)/g,Fa=/\W+/g,sa=/@(k\w+)\s*(\S*)\s*/,Z=/::(place)/g,va=/:(read-only)/g,Ga=/\s+(?=[{\];=:>])/g,Ha=/([[}=:>])\s+/g,Ia=/(\{[^{]+?);(?=\})/g,Ja=/\s{2,}/g,ua=/([^\(])(:+) */g,N=/[svh]\w+-[tblr]{2}/,qa=/\(\s*(.*)\s*\)/g,Ea=/([^]*?);/g,Ba=/-self|flex-/g,Da=/[^]*?(:[rp][el]a[\w-]+)[^]*/,A=1,H=1,I=0,B=1,x=1,Y=1,na=0,ja=0,X=0,W=[],ba=[],E=0,aa=null,ka=0,Q=1, | ||
T="",J="",R="";y.use=ca;y.set=da;void 0!==fa&&da(fa);return y}; | ||
export default oa | ||
var pa=function fa(ha){function V(b,c,d,k,l){for(var a=0,f=0,n=0,e=0,h,q,m,v=0,A=0,B=0,x=0,C=0,p=0,G=0,r=0,N=q=0,L=0,t=0,D=d.length,F=D-1,g="",u="",S="",M="",H;r<D;){m=d.charCodeAt(r);r===F&&0!==f+e+n+a&&(0!==f&&(m=47===f?10:47),e=n=a=0,D++,F++);if(0===f+e+n+a){if(r===F&&(0<q&&(g=g.replace(P,"")),0<g.trim().length)){switch(m){case 32:case 9:case 59:case 13:case 10:break;default:g+=d.charAt(r)}m=59}if(1===N)switch(m){case 123:case 125:case 59:case 34:case 39:case 40:case 41:case 44:N=0;case 9:case 13:case 10:case 32:break; | ||
default:for(N=0,t=r,h=m,r--,m=59;t<D;)switch(d.charCodeAt(++t)){case 10:case 13:case 59:r++,m=h;case 58:case 123:t=D}}switch(m){case 123:g=g.trim();h=g.charCodeAt(0);x=1;for(t=++r;r<D;){m=d.charCodeAt(r);switch(m){case 123:x++;break;case 125:x--}if(0===x)break;r++}p=d.substring(t,r);0===h&&(h=(g=g.replace(qa,"").trim()).charCodeAt(0));switch(h){case 64:0<q&&(g=g.replace(P,""));q=g.charCodeAt(1);switch(q){case 100:case 109:case 115:case 45:h=c;break;default:h=W}p=V(c,h,p,q,l+1);t=p.length;0<X&&0=== | ||
t&&(t=g.length);0<E&&(h=ia(W,g,L),H=O(3,p,h,c,I,y,t,q,l),g=h.join(""),void 0!==H&&0===(t=(p=H.trim()).length)&&(q=0,p=""));if(0<t)switch(q){case 115:g=g.replace(ra,sa);case 100:case 109:case 45:p=g+"{"+p+"}";break;case 107:g=g.replace(ta,"$1 $2"+(0<Q?T:""));p=g+"{"+p+"}";p=1===w||2===w&&U("@"+p,3)?"@-webkit-"+p+"@"+p:"@"+p;break;default:p=g+p,112===k&&(p=(u+=p,""))}else p="";break;default:p=V(c,ia(c,g,L),p,k,l+1)}S+=p;p=L=q=G=N=C=0;g="";m=d.charCodeAt(++r);break;case 125:case 59:g=(0<q?g.replace(P, | ||
""):g).trim();if(1<(t=g.length))switch(0===G&&(h=g.charCodeAt(0),45===h||96<h&&123>h)&&(t=(g=g.replace(" ",":")).length),0<E&&void 0!==(H=O(1,g,c,b,I,y,u.length,k,l))&&0===(t=(g=H.trim()).length)&&(g="\x00\x00"),h=g.charCodeAt(0),q=g.charCodeAt(1),h+q){case 0:break;case 169:case 163:M+=g+d.charAt(r);break;default:58!==g.charCodeAt(t-1)&&(u+=ja(g,h,q,g.charCodeAt(2)))}L=q=G=N=C=0;g="";m=d.charCodeAt(++r)}}switch(m){case 13:case 10:if(0===f+e+n+a+ka)switch(B){case 41:case 39:case 34:case 64:case 126:case 62:case 42:case 43:case 47:case 45:case 58:case 44:case 59:case 123:case 125:break; | ||
default:0<G&&(N=1)}47===f?f=0:0===z+C&&(q=1,g+="\x00");0<E*la&&O(0,g,c,b,I,y,u.length,k,l);y=1;I++;break;case 59:case 125:if(0===f+e+n+a){y++;break}default:y++;h=d.charAt(r);switch(m){case 9:case 32:if(0===e+a+f)switch(v){case 44:case 58:case 9:case 32:h="";break;default:32!==m&&(h=" ")}break;case 0:h="\\0";break;case 12:h="\\f";break;case 11:h="\\v";break;case 38:0===e+f+a&&0<z&&(q=L=1,h="\f"+h);break;case 108:if(0===e+f+a+J&&0<G)switch(r-G){case 2:112===v&&58===d.charCodeAt(r-3)&&(J=v);case 8:111=== | ||
A&&(J=A)}break;case 58:0===e+f+a&&(G=r);break;case 44:0===f+n+e+a&&(q=1,h+="\r");break;case 34:0===f&&(e=e===m?0:0===e?m:e);break;case 39:0===f&&(e=e===m?0:0===e?m:e);break;case 91:0===e+f+n&&a++;break;case 93:0===e+f+n&&a--;break;case 41:0===e+f+a&&n--;break;case 40:if(0===e+f+a){if(0===C)switch(2*v+3*A){case 533:break;default:x=0,C=1}n++}break;case 64:0===f+n+e+a+G+p&&(p=1);break;case 42:case 47:if(!(0<e+a+n))switch(f){case 0:switch(2*m+3*d.charCodeAt(r+1)){case 235:f=47;break;case 220:t=r,f=42}break; | ||
case 42:47===m&&42===v&&(33===d.charCodeAt(t+2)&&(u+=d.substring(t,r+1)),h="",f=0)}}if(0===f){if(0===z+e+a+p&&107!==k&&59!==m)switch(m){case 44:case 126:case 62:case 43:case 41:case 40:if(0===C){switch(v){case 9:case 32:case 10:case 13:h+="\x00";break;default:h="\x00"+h+(44===m?"":"\x00")}q=1}else switch(m){case 40:C=++x;break;case 41:0===(C=--x)&&(q=1,h+="\x00")}break;case 9:case 32:switch(v){case 0:case 123:case 125:case 59:case 44:case 12:case 9:case 32:case 10:case 13:break;default:0===C&&(q= | ||
1,h+="\x00")}}g+=h;32!==m&&9!==m&&(B=m)}}A=v;v=m;r++}t=u.length;0<X&&0===t&&0===S.length&&0===c[0].length===!1&&(109!==k||1===c.length&&(0<z?K:R)===c[0])&&(t=c.join(",").length+2);if(0<t){if(0===z&&107!==k){d=0;a=c.length;for(f=Array(a);d<a;++d){v=c[d].split(ua);A="";B=0;for(D=v.length;B<D;++B)if(!(0===(x=(e=v[B]).length)&&1<D)){r=A.charCodeAt(A.length-1);L=e.charCodeAt(0);n="";if(0!==B)switch(r){case 42:case 126:case 62:case 43:case 32:case 40:break;default:n=" "}switch(L){case 38:e=n+K;case 126:case 62:case 43:case 32:case 41:case 40:break; | ||
case 91:e=n+e+K;break;case 58:switch(2*e.charCodeAt(1)+3*e.charCodeAt(2)){case 530:if(0<Y){e=n+e.substring(8,x-1);break}default:if(1>B||1>v[B-1].length)e=n+K+e}break;case 44:n="";default:e=1<x&&0<e.indexOf(":")?n+e.replace(va,"$1"+K+"$2"):n+e+K}A+=e}f[d]=A.replace(P,"").trim()}c=f}h=c;if(0<E&&(H=O(2,u,h,b,I,y,t,k,l),void 0!==H&&0===(u=H).length))return M+u+S;u=h.join(",")+"{"+u+"}";if(0!==w*J){2!==w||U(u,2)||(J=0);switch(J){case 111:u=u.replace(wa,":-moz-$1")+u;break;case 112:u=u.replace(Z,"::-webkit-input-$1")+ | ||
u.replace(Z,"::-moz-$1")+u.replace(Z,":-ms-input-$1")+u}J=0}}return M+u+S}function ia(b,c,d){var k=c.trim().split(xa);c=k;var l=k.length,a=b.length;switch(a){case 0:case 1:var f=0;for(b=0===a?"":b[0]+" ";f<l;++f)c[f]=ma(b,c[f],d,a).trim();break;default:var n=f=0;for(c=[];f<l;++f)for(var e=0;e<a;++e)c[n++]=ma(b[e]+" ",k[f],d,a).trim()}return c}function ma(b,c,d,k){var l=c.charCodeAt(0);33>l&&(l=(c=c.trim()).charCodeAt(0));switch(l){case 38:switch(z+k){case 0:case 1:if(0===b.trim().length)break;default:return c.replace(M, | ||
"$1"+b.trim())}break;case 58:switch(c.charCodeAt(1)){case 103:if(0<Y&&0<z)return c.replace(ya,"$1").replace(M,"$1"+R);break;default:return b.trim()+c}default:if(0<d*z&&0<c.indexOf("\f"))return c.replace(M,(58===b.charCodeAt(0)?"":"$1")+b.trim())}return b+c}function ja(b,c,d,k){var l=0,a=b+";";c=2*c+3*d+4*k;if(944===c){l=a.length;b=a.indexOf(":",9)+1;d=a.substring(0,b).trim();k=a.substring(b,l-1).trim();switch(a.charCodeAt(9)*Q){case 0:break;case 45:if(110!==a.charCodeAt(10))break;default:for(a=k.split((k= | ||
"",za)),b=c=0,l=a.length;c<l;b=0,++c){for(var f=a[c],n=f.split(Aa);f=n[b];){var e=f.charCodeAt(0);if(1===Q&&(64<e&&90>e||96<e&&123>e||95===e||45===e&&45!==f.charCodeAt(1)))switch(isNaN(parseFloat(f))+(-1!==f.indexOf("("))){case 1:switch(f){case "infinite":case "alternate":case "backwards":case "running":case "normal":case "forwards":case "both":case "none":case "linear":case "ease":case "ease-in":case "ease-out":case "ease-in-out":case "paused":case "reverse":case "alternate-reverse":case "inherit":case "initial":case "unset":case "step-start":case "step-end":break; | ||
default:f+=T}}n[b++]=f}k+=(0===c?"":",")+n.join(" ")}}k=d+k+";";return 1===w||2===w&&U(k,1)?"-webkit-"+k+k:k}if(0===w||2===w&&!U(a,1))return a;switch(c){case 1015:return 45===a.charCodeAt(9)?"-webkit-"+a+a:a;case 951:return 116===a.charCodeAt(3)?"-webkit-"+a+a:a;case 963:return 110===a.charCodeAt(5)?"-webkit-"+a+a:a;case 1009:if(100!==a.charCodeAt(4))break;case 969:case 942:return"-webkit-"+a+a;case 978:return"-webkit-"+a+"-moz-"+a+a;case 1019:case 983:return"-webkit-"+a+"-moz-"+a+"-ms-"+a+a;case 883:return 45=== | ||
a.charCodeAt(8)?"-webkit-"+a+a:a;case 932:if(45===a.charCodeAt(4))switch(a.charCodeAt(5)){case 103:return"-webkit-box-"+a.replace("-grow","")+"-webkit-"+a+"-ms-"+a.replace("grow","positive")+a;case 115:return"-webkit-"+a+"-ms-"+a.replace("shrink","negative")+a;case 98:return"-webkit-"+a+"-ms-"+a.replace("basis","preferred-size")+a}return"-webkit-"+a+"-ms-"+a+a;case 964:return"-webkit-"+a+"-ms-flex-"+a+a;case 1023:if(99!==a.charCodeAt(8))break;b=a.substring(a.indexOf(":",15)).replace("flex-","").replace("space-between", | ||
"justify");return"-webkit-box-pack"+b+"-webkit-"+a+"-ms-flex-pack"+b+a;case 1005:return Ba.test(a)?a.replace(na,":-webkit-")+a.replace(na,":-moz-")+a:a;case 1E3:b=a.substring(13).trim();l=b.indexOf("-")+1;switch(b.charCodeAt(0)+b.charCodeAt(l)){case 226:b=a.replace(aa,"tb");break;case 232:b=a.replace(aa,"tb-rl");break;case 220:b=a.replace(aa,"lr");break;default:return a}return"-webkit-"+a+"-ms-"+b+a;case 1017:if(-1===a.indexOf("sticky",9))break;case 975:l=(a=b).length-10;b=(33===a.charCodeAt(l)?a.substring(0, | ||
l):a).substring(b.indexOf(":",7)+1).trim();switch(c=b.charCodeAt(0)+(b.charCodeAt(7)|0)){case 203:if(111>b.charCodeAt(8))break;case 115:a=a.replace(b,"-webkit-"+b)+";"+a;break;case 207:case 102:a=a.replace(b,"-webkit-"+(102<c?"inline-":"")+"box")+";"+a.replace(b,"-webkit-"+b)+";"+a.replace(b,"-ms-"+b+"box")+";"+a}return a+";";case 938:if(45===a.charCodeAt(5))switch(a.charCodeAt(6)){case 105:return b=a.replace("-items",""),"-webkit-"+a+"-webkit-box-"+b+"-ms-flex-"+b+a;case 115:return"-webkit-"+a+"-ms-flex-item-"+ | ||
a.replace(Ca,"")+a;default:return"-webkit-"+a+"-ms-flex-line-pack"+a.replace("align-content","")+a}break;case 953:if(0<(l=a.indexOf("-content",9))&&109===a.charCodeAt(l-3)&&45!==a.charCodeAt(l-4))return b=a.substring(l-3),"width:-webkit-"+b+"width:-moz-"+b+"width:"+b;break;case 962:if(a="-webkit-"+a+(102===a.charCodeAt(5)?"-ms-"+a:"")+a,211===d+k&&105===a.charCodeAt(13)&&0<a.indexOf("transform",10))return a.substring(0,a.indexOf(";",27)+1).replace(Da,"$1-webkit-$2")+a}return a}function U(b,c){var d= | ||
b.indexOf(1===c?":":"{"),k=b.substring(0,3!==c?d:10);d=b.substring(d+1,b.length-1);return ba(2!==c?k:k.replace(Ea,"$1"),d,c)}function sa(b,c){var d=ja(c,c.charCodeAt(0),c.charCodeAt(1),c.charCodeAt(2));return d!==c+";"?d.replace(Fa," or ($1)").substring(4):"("+c+")"}function O(b,c,d,k,l,a,f,n,e){for(var h=0,q=c,m;h<E;++h)switch(m=ca[h].call(F,b,q,d,k,l,a,f,n,e)){case void 0:case !1:case !0:case null:break;default:q=m}switch(q){case void 0:case !1:case !0:case null:case c:break;default:return q}}function da(b){switch(b){case void 0:case null:E= | ||
ca.length=0;break;default:switch(b.constructor){case Array:for(var c=0,d=b.length;c<d;++c)da(b[c]);break;case Function:ca[E++]=b;break;case Boolean:la=!!b|0}}return da}function ea(b){for(var c in b){var d=b[c];switch(c){case "keyframe":Q=d|0;break;case "global":Y=d|0;break;case "cascade":z=d|0;break;case "compress":oa=d|0;break;case "semicolon":ka=d|0;break;case "preserve":X=d|0;break;case "prefix":ba=null,d?"function"!==typeof d?w=1:(w=2,ba=d):w=0}}return ea}function F(b,c){if(void 0!==this&&this.constructor=== | ||
F)return fa(b);var d=b,k=d.charCodeAt(0);33>k&&(k=(d=d.trim()).charCodeAt(0));0<Q&&(T=d.replace(Ga,91===k?"":"-"));k=1;1===z?R=d:K=d;d=[R];if(0<E){var l=O(-1,c,d,d,I,y,0,0,0);void 0!==l&&"string"===typeof l&&(c=l)}var a=V(W,d,c,0,0);0<E&&(l=O(-2,a,d,d,I,y,a.length,0,0),void 0!==l&&"string"!==typeof(a=l)&&(k=0));K=R=T="";J=0;y=I=1;return 0===oa*k?a:a.replace(P,"").replace(Ha,"").replace(Ia,"$1").replace(Ja,"$1").replace(Ka," ")}var qa=/^\0+/g,P=/[\0\r\f]/g,na=/: */g,Ba=/zoo|gra/,Da=/([,: ])(transform)/g, | ||
za=/,+\s*(?![^(]*[)])/g,Aa=/ +\s*(?![^(]*[)])/g,ua=/ *[\0] */g,xa=/,\r+?/g,M=/([\t\r\n ])*\f?&/g,ya=/:global\(((?:[^\(\)\[\]]*|\[.*\]|\([^\(\)]*\))*)\)/g,Ga=/\W+/g,ta=/@(k\w+)\s*(\S*)\s*/,Z=/::(place)/g,wa=/:(read-only)/g,Ha=/\s+(?=[{\];=:>])/g,Ia=/([[}=:>])\s+/g,Ja=/(\{[^{]+?);(?=\})/g,Ka=/\s{2,}/g,va=/([^\(])(:+) */g,aa=/[svh]\w+-[tblr]{2}/,ra=/\(\s*(.*)\s*\)/g,Fa=/([^]*?);/g,Ca=/-self|flex-/g,Ea=/[^]*?(:[rp][el]a[\w-]+)[^]*/,y=1,I=1,J=0,z=1,w=1,Y=1,oa=0,ka=0,X=0,W=[],ca=[],E=0,ba=null,la=0,Q=1, | ||
T="",K="",R="";F.use=da;F.set=ea;void 0!==ha&&ea(ha);return F}; | ||
export default pa |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Possible typosquat attack
Supply chain riskThere is a package with a similar name that is downloaded much more often.
Did you mean |
---|
@emotion/utils |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
141566
1843
0
1