Last active
April 12, 2021 08:02
-
-
Save woss/aa8c42b795efd010fefd0179aa7a2682 to your computer and use it in GitHub Desktop.
styled-components snowpack build with and without grommet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import {c as createCommonjsModule, r as react} from "./index-f0770002.js"; | |
function defaultSetTimout() { | |
throw new Error("setTimeout has not been defined"); | |
} | |
function defaultClearTimeout() { | |
throw new Error("clearTimeout has not been defined"); | |
} | |
var cachedSetTimeout = defaultSetTimout; | |
var cachedClearTimeout = defaultClearTimeout; | |
var globalContext; | |
if (typeof window !== "undefined") { | |
globalContext = window; | |
} else if (typeof self !== "undefined") { | |
globalContext = self; | |
} else { | |
globalContext = {}; | |
} | |
if (typeof globalContext.setTimeout === "function") { | |
cachedSetTimeout = setTimeout; | |
} | |
if (typeof globalContext.clearTimeout === "function") { | |
cachedClearTimeout = clearTimeout; | |
} | |
function runTimeout(fun) { | |
if (cachedSetTimeout === setTimeout) { | |
return setTimeout(fun, 0); | |
} | |
if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) { | |
cachedSetTimeout = setTimeout; | |
return setTimeout(fun, 0); | |
} | |
try { | |
return cachedSetTimeout(fun, 0); | |
} catch (e2) { | |
try { | |
return cachedSetTimeout.call(null, fun, 0); | |
} catch (e3) { | |
return cachedSetTimeout.call(this, fun, 0); | |
} | |
} | |
} | |
function runClearTimeout(marker) { | |
if (cachedClearTimeout === clearTimeout) { | |
return clearTimeout(marker); | |
} | |
if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) { | |
cachedClearTimeout = clearTimeout; | |
return clearTimeout(marker); | |
} | |
try { | |
return cachedClearTimeout(marker); | |
} catch (e2) { | |
try { | |
return cachedClearTimeout.call(null, marker); | |
} catch (e3) { | |
return cachedClearTimeout.call(this, marker); | |
} | |
} | |
} | |
var queue = []; | |
var draining = false; | |
var currentQueue; | |
var queueIndex = -1; | |
function cleanUpNextTick() { | |
if (!draining || !currentQueue) { | |
return; | |
} | |
draining = false; | |
if (currentQueue.length) { | |
queue = currentQueue.concat(queue); | |
} else { | |
queueIndex = -1; | |
} | |
if (queue.length) { | |
drainQueue(); | |
} | |
} | |
function drainQueue() { | |
if (draining) { | |
return; | |
} | |
var timeout = runTimeout(cleanUpNextTick); | |
draining = true; | |
var len = queue.length; | |
while (len) { | |
currentQueue = queue; | |
queue = []; | |
while (++queueIndex < len) { | |
if (currentQueue) { | |
currentQueue[queueIndex].run(); | |
} | |
} | |
queueIndex = -1; | |
len = queue.length; | |
} | |
currentQueue = null; | |
draining = false; | |
runClearTimeout(timeout); | |
} | |
function nextTick(fun) { | |
var args = new Array(arguments.length - 1); | |
if (arguments.length > 1) { | |
for (var i = 1; i < arguments.length; i++) { | |
args[i - 1] = arguments[i]; | |
} | |
} | |
queue.push(new Item(fun, args)); | |
if (queue.length === 1 && !draining) { | |
runTimeout(drainQueue); | |
} | |
} | |
function Item(fun, array) { | |
this.fun = fun; | |
this.array = array; | |
} | |
Item.prototype.run = function() { | |
this.fun.apply(null, this.array); | |
}; | |
var title = "browser"; | |
var platform = "browser"; | |
var browser = true; | |
var argv = []; | |
var version = ""; | |
var versions = {}; | |
var release = {}; | |
var config = {}; | |
function noop() { | |
} | |
var on = noop; | |
var addListener = noop; | |
var once = noop; | |
var off = noop; | |
var removeListener = noop; | |
var removeAllListeners = noop; | |
var emit = noop; | |
function binding(name) { | |
throw new Error("process.binding is not supported"); | |
} | |
function cwd() { | |
return "/"; | |
} | |
function chdir(dir) { | |
throw new Error("process.chdir is not supported"); | |
} | |
function umask() { | |
return 0; | |
} | |
var performance = globalContext.performance || {}; | |
var performanceNow = performance.now || performance.mozNow || performance.msNow || performance.oNow || performance.webkitNow || function() { | |
return new Date().getTime(); | |
}; | |
function hrtime(previousTimestamp) { | |
var clocktime = performanceNow.call(performance) * 1e-3; | |
var seconds = Math.floor(clocktime); | |
var nanoseconds = Math.floor(clocktime % 1 * 1e9); | |
if (previousTimestamp) { | |
seconds = seconds - previousTimestamp[0]; | |
nanoseconds = nanoseconds - previousTimestamp[1]; | |
if (nanoseconds < 0) { | |
seconds--; | |
nanoseconds += 1e9; | |
} | |
} | |
return [seconds, nanoseconds]; | |
} | |
var startTime = new Date(); | |
function uptime() { | |
var currentTime = new Date(); | |
var dif = currentTime - startTime; | |
return dif / 1e3; | |
} | |
var process = { | |
nextTick, | |
title, | |
browser, | |
env: {NODE_ENV: "production"}, | |
argv, | |
version, | |
versions, | |
on, | |
addListener, | |
once, | |
off, | |
removeListener, | |
removeAllListeners, | |
emit, | |
binding, | |
cwd, | |
chdir, | |
umask, | |
hrtime, | |
platform, | |
release, | |
config, | |
uptime | |
}; | |
/** @license React v16.13.1 | |
* react-is.production.min.js | |
* | |
* Copyright (c) Facebook, Inc. and its affiliates. | |
* | |
* This source code is licensed under the MIT license found in the | |
* LICENSE file in the root directory of this source tree. | |
*/ | |
var b$1 = typeof Symbol === "function" && Symbol.for, c = b$1 ? Symbol.for("react.element") : 60103, d = b$1 ? Symbol.for("react.portal") : 60106, e = b$1 ? Symbol.for("react.fragment") : 60107, f = b$1 ? Symbol.for("react.strict_mode") : 60108, g$1 = b$1 ? Symbol.for("react.profiler") : 60114, h = b$1 ? Symbol.for("react.provider") : 60109, k$1 = b$1 ? Symbol.for("react.context") : 60110, l = b$1 ? Symbol.for("react.async_mode") : 60111, m = b$1 ? Symbol.for("react.concurrent_mode") : 60111, n = b$1 ? Symbol.for("react.forward_ref") : 60112, p = b$1 ? Symbol.for("react.suspense") : 60113, q$1 = b$1 ? Symbol.for("react.suspense_list") : 60120, r = b$1 ? Symbol.for("react.memo") : 60115, t = b$1 ? Symbol.for("react.lazy") : 60116, v$1 = b$1 ? Symbol.for("react.block") : 60121, w$1 = b$1 ? Symbol.for("react.fundamental") : 60117, x$1 = b$1 ? Symbol.for("react.responder") : 60118, y = b$1 ? Symbol.for("react.scope") : 60119; | |
function z$1(a) { | |
if (typeof a === "object" && a !== null) { | |
var u = a.$$typeof; | |
switch (u) { | |
case c: | |
switch (a = a.type, a) { | |
case l: | |
case m: | |
case e: | |
case g$1: | |
case f: | |
case p: | |
return a; | |
default: | |
switch (a = a && a.$$typeof, a) { | |
case k$1: | |
case n: | |
case t: | |
case r: | |
case h: | |
return a; | |
default: | |
return u; | |
} | |
} | |
case d: | |
return u; | |
} | |
} | |
} | |
function A$1(a) { | |
return z$1(a) === m; | |
} | |
var AsyncMode = l; | |
var ConcurrentMode = m; | |
var ContextConsumer = k$1; | |
var ContextProvider = h; | |
var Element = c; | |
var ForwardRef = n; | |
var Fragment = e; | |
var Lazy = t; | |
var Memo = r; | |
var Portal = d; | |
var Profiler = g$1; | |
var StrictMode = f; | |
var Suspense = p; | |
var isAsyncMode = function(a) { | |
return A$1(a) || z$1(a) === l; | |
}; | |
var isConcurrentMode = A$1; | |
var isContextConsumer = function(a) { | |
return z$1(a) === k$1; | |
}; | |
var isContextProvider = function(a) { | |
return z$1(a) === h; | |
}; | |
var isElement = function(a) { | |
return typeof a === "object" && a !== null && a.$$typeof === c; | |
}; | |
var isForwardRef = function(a) { | |
return z$1(a) === n; | |
}; | |
var isFragment = function(a) { | |
return z$1(a) === e; | |
}; | |
var isLazy = function(a) { | |
return z$1(a) === t; | |
}; | |
var isMemo = function(a) { | |
return z$1(a) === r; | |
}; | |
var isPortal = function(a) { | |
return z$1(a) === d; | |
}; | |
var isProfiler = function(a) { | |
return z$1(a) === g$1; | |
}; | |
var isStrictMode = function(a) { | |
return z$1(a) === f; | |
}; | |
var isSuspense = function(a) { | |
return z$1(a) === p; | |
}; | |
var isValidElementType = function(a) { | |
return typeof a === "string" || typeof a === "function" || a === e || a === m || a === g$1 || a === f || a === p || a === q$1 || typeof a === "object" && a !== null && (a.$$typeof === t || a.$$typeof === r || a.$$typeof === h || a.$$typeof === k$1 || a.$$typeof === n || a.$$typeof === w$1 || a.$$typeof === x$1 || a.$$typeof === y || a.$$typeof === v$1); | |
}; | |
var typeOf = z$1; | |
var reactIs_production_min = { | |
AsyncMode, | |
ConcurrentMode, | |
ContextConsumer, | |
ContextProvider, | |
Element, | |
ForwardRef, | |
Fragment, | |
Lazy, | |
Memo, | |
Portal, | |
Profiler, | |
StrictMode, | |
Suspense, | |
isAsyncMode, | |
isConcurrentMode, | |
isContextConsumer, | |
isContextProvider, | |
isElement, | |
isForwardRef, | |
isFragment, | |
isLazy, | |
isMemo, | |
isPortal, | |
isProfiler, | |
isStrictMode, | |
isSuspense, | |
isValidElementType, | |
typeOf | |
}; | |
var reactIs = createCommonjsModule(function(module) { | |
{ | |
module.exports = reactIs_production_min; | |
} | |
}); | |
var shallowequal = function shallowEqual(objA, objB, compare, compareContext) { | |
var ret = compare ? compare.call(compareContext, objA, objB) : void 0; | |
if (ret !== void 0) { | |
return !!ret; | |
} | |
if (objA === objB) { | |
return true; | |
} | |
if (typeof objA !== "object" || !objA || typeof objB !== "object" || !objB) { | |
return false; | |
} | |
var keysA = Object.keys(objA); | |
var keysB = Object.keys(objB); | |
if (keysA.length !== keysB.length) { | |
return false; | |
} | |
var bHasOwnProperty = Object.prototype.hasOwnProperty.bind(objB); | |
for (var idx = 0; idx < keysA.length; idx++) { | |
var key = keysA[idx]; | |
if (!bHasOwnProperty(key)) { | |
return false; | |
} | |
var valueA = objA[key]; | |
var valueB = objB[key]; | |
ret = compare ? compare.call(compareContext, valueA, valueB, key) : void 0; | |
if (ret === false || ret === void 0 && valueA !== valueB) { | |
return false; | |
} | |
} | |
return true; | |
}; | |
function stylis_min(W2) { | |
function M2(d2, c2, e2, h2, a) { | |
for (var m2 = 0, b2 = 0, v2 = 0, n2 = 0, q2, g2, x2 = 0, K2 = 0, k2, u = k2 = q2 = 0, l2 = 0, r2 = 0, I2 = 0, t2 = 0, B3 = e2.length, J2 = B3 - 1, y2, f2 = "", p2 = "", F3 = "", G3 = "", C2; l2 < B3; ) { | |
g2 = e2.charCodeAt(l2); | |
l2 === J2 && b2 + n2 + v2 + m2 !== 0 && (b2 !== 0 && (g2 = b2 === 47 ? 10 : 47), n2 = v2 = m2 = 0, B3++, J2++); | |
if (b2 + n2 + v2 + m2 === 0) { | |
if (l2 === J2 && (0 < r2 && (f2 = f2.replace(N2, "")), 0 < f2.trim().length)) { | |
switch (g2) { | |
case 32: | |
case 9: | |
case 59: | |
case 13: | |
case 10: | |
break; | |
default: | |
f2 += e2.charAt(l2); | |
} | |
g2 = 59; | |
} | |
switch (g2) { | |
case 123: | |
f2 = f2.trim(); | |
q2 = f2.charCodeAt(0); | |
k2 = 1; | |
for (t2 = ++l2; l2 < B3; ) { | |
switch (g2 = e2.charCodeAt(l2)) { | |
case 123: | |
k2++; | |
break; | |
case 125: | |
k2--; | |
break; | |
case 47: | |
switch (g2 = e2.charCodeAt(l2 + 1)) { | |
case 42: | |
case 47: | |
a: { | |
for (u = l2 + 1; u < J2; ++u) { | |
switch (e2.charCodeAt(u)) { | |
case 47: | |
if (g2 === 42 && e2.charCodeAt(u - 1) === 42 && l2 + 2 !== u) { | |
l2 = u + 1; | |
break a; | |
} | |
break; | |
case 10: | |
if (g2 === 47) { | |
l2 = u + 1; | |
break a; | |
} | |
} | |
} | |
l2 = u; | |
} | |
} | |
break; | |
case 91: | |
g2++; | |
case 40: | |
g2++; | |
case 34: | |
case 39: | |
for (; l2++ < J2 && e2.charCodeAt(l2) !== g2; ) { | |
} | |
} | |
if (k2 === 0) | |
break; | |
l2++; | |
} | |
k2 = e2.substring(t2, l2); | |
q2 === 0 && (q2 = (f2 = f2.replace(ca, "").trim()).charCodeAt(0)); | |
switch (q2) { | |
case 64: | |
0 < r2 && (f2 = f2.replace(N2, "")); | |
g2 = f2.charCodeAt(1); | |
switch (g2) { | |
case 100: | |
case 109: | |
case 115: | |
case 45: | |
r2 = c2; | |
break; | |
default: | |
r2 = O2; | |
} | |
k2 = M2(c2, r2, k2, g2, a + 1); | |
t2 = k2.length; | |
0 < A2 && (r2 = X2(O2, f2, I2), C2 = H2(3, k2, r2, c2, D, z2, t2, g2, a, h2), f2 = r2.join(""), C2 !== void 0 && (t2 = (k2 = C2.trim()).length) === 0 && (g2 = 0, k2 = "")); | |
if (0 < t2) | |
switch (g2) { | |
case 115: | |
f2 = f2.replace(da, ea); | |
case 100: | |
case 109: | |
case 45: | |
k2 = f2 + "{" + k2 + "}"; | |
break; | |
case 107: | |
f2 = f2.replace(fa, "$1 $2"); | |
k2 = f2 + "{" + k2 + "}"; | |
k2 = w2 === 1 || w2 === 2 && L2("@" + k2, 3) ? "@-webkit-" + k2 + "@" + k2 : "@" + k2; | |
break; | |
default: | |
k2 = f2 + k2, h2 === 112 && (k2 = (p2 += k2, "")); | |
} | |
else | |
k2 = ""; | |
break; | |
default: | |
k2 = M2(c2, X2(c2, f2, I2), k2, h2, a + 1); | |
} | |
F3 += k2; | |
k2 = I2 = r2 = u = q2 = 0; | |
f2 = ""; | |
g2 = e2.charCodeAt(++l2); | |
break; | |
case 125: | |
case 59: | |
f2 = (0 < r2 ? f2.replace(N2, "") : f2).trim(); | |
if (1 < (t2 = f2.length)) | |
switch (u === 0 && (q2 = f2.charCodeAt(0), q2 === 45 || 96 < q2 && 123 > q2) && (t2 = (f2 = f2.replace(" ", ":")).length), 0 < A2 && (C2 = H2(1, f2, c2, d2, D, z2, p2.length, h2, a, h2)) !== void 0 && (t2 = (f2 = C2.trim()).length) === 0 && (f2 = "\0\0"), q2 = f2.charCodeAt(0), g2 = f2.charCodeAt(1), q2) { | |
case 0: | |
break; | |
case 64: | |
if (g2 === 105 || g2 === 99) { | |
G3 += f2 + e2.charAt(l2); | |
break; | |
} | |
default: | |
f2.charCodeAt(t2 - 1) !== 58 && (p2 += P2(f2, q2, g2, f2.charCodeAt(2))); | |
} | |
I2 = r2 = u = q2 = 0; | |
f2 = ""; | |
g2 = e2.charCodeAt(++l2); | |
} | |
} | |
switch (g2) { | |
case 13: | |
case 10: | |
b2 === 47 ? b2 = 0 : 1 + q2 === 0 && h2 !== 107 && 0 < f2.length && (r2 = 1, f2 += "\0"); | |
0 < A2 * Y2 && H2(0, f2, c2, d2, D, z2, p2.length, h2, a, h2); | |
z2 = 1; | |
D++; | |
break; | |
case 59: | |
case 125: | |
if (b2 + n2 + v2 + m2 === 0) { | |
z2++; | |
break; | |
} | |
default: | |
z2++; | |
y2 = e2.charAt(l2); | |
switch (g2) { | |
case 9: | |
case 32: | |
if (n2 + m2 + b2 === 0) | |
switch (x2) { | |
case 44: | |
case 58: | |
case 9: | |
case 32: | |
y2 = ""; | |
break; | |
default: | |
g2 !== 32 && (y2 = " "); | |
} | |
break; | |
case 0: | |
y2 = "\\0"; | |
break; | |
case 12: | |
y2 = "\\f"; | |
break; | |
case 11: | |
y2 = "\\v"; | |
break; | |
case 38: | |
n2 + b2 + m2 === 0 && (r2 = I2 = 1, y2 = "\f" + y2); | |
break; | |
case 108: | |
if (n2 + b2 + m2 + E2 === 0 && 0 < u) | |
switch (l2 - u) { | |
case 2: | |
x2 === 112 && e2.charCodeAt(l2 - 3) === 58 && (E2 = x2); | |
case 8: | |
K2 === 111 && (E2 = K2); | |
} | |
break; | |
case 58: | |
n2 + b2 + m2 === 0 && (u = l2); | |
break; | |
case 44: | |
b2 + v2 + n2 + m2 === 0 && (r2 = 1, y2 += "\r"); | |
break; | |
case 34: | |
case 39: | |
b2 === 0 && (n2 = n2 === g2 ? 0 : n2 === 0 ? g2 : n2); | |
break; | |
case 91: | |
n2 + b2 + v2 === 0 && m2++; | |
break; | |
case 93: | |
n2 + b2 + v2 === 0 && m2--; | |
break; | |
case 41: | |
n2 + b2 + m2 === 0 && v2--; | |
break; | |
case 40: | |
if (n2 + b2 + m2 === 0) { | |
if (q2 === 0) | |
switch (2 * x2 + 3 * K2) { | |
case 533: | |
break; | |
default: | |
q2 = 1; | |
} | |
v2++; | |
} | |
break; | |
case 64: | |
b2 + v2 + n2 + m2 + u + k2 === 0 && (k2 = 1); | |
break; | |
case 42: | |
case 47: | |
if (!(0 < n2 + m2 + v2)) | |
switch (b2) { | |
case 0: | |
switch (2 * g2 + 3 * e2.charCodeAt(l2 + 1)) { | |
case 235: | |
b2 = 47; | |
break; | |
case 220: | |
t2 = l2, b2 = 42; | |
} | |
break; | |
case 42: | |
g2 === 47 && x2 === 42 && t2 + 2 !== l2 && (e2.charCodeAt(t2 + 2) === 33 && (p2 += e2.substring(t2, l2 + 1)), y2 = "", b2 = 0); | |
} | |
} | |
b2 === 0 && (f2 += y2); | |
} | |
K2 = x2; | |
x2 = g2; | |
l2++; | |
} | |
t2 = p2.length; | |
if (0 < t2) { | |
r2 = c2; | |
if (0 < A2 && (C2 = H2(2, p2, r2, d2, D, z2, t2, h2, a, h2), C2 !== void 0 && (p2 = C2).length === 0)) | |
return G3 + p2 + F3; | |
p2 = r2.join(",") + "{" + p2 + "}"; | |
if (w2 * E2 !== 0) { | |
w2 !== 2 || L2(p2, 2) || (E2 = 0); | |
switch (E2) { | |
case 111: | |
p2 = p2.replace(ha, ":-moz-$1") + p2; | |
break; | |
case 112: | |
p2 = p2.replace(Q2, "::-webkit-input-$1") + p2.replace(Q2, "::-moz-$1") + p2.replace(Q2, ":-ms-input-$1") + p2; | |
} | |
E2 = 0; | |
} | |
} | |
return G3 + p2 + F3; | |
} | |
function X2(d2, c2, e2) { | |
var h2 = c2.trim().split(ia); | |
c2 = h2; | |
var a = h2.length, m2 = d2.length; | |
switch (m2) { | |
case 0: | |
case 1: | |
var b2 = 0; | |
for (d2 = m2 === 0 ? "" : d2[0] + " "; b2 < a; ++b2) { | |
c2[b2] = Z2(d2, c2[b2], e2).trim(); | |
} | |
break; | |
default: | |
var v2 = b2 = 0; | |
for (c2 = []; b2 < a; ++b2) { | |
for (var n2 = 0; n2 < m2; ++n2) { | |
c2[v2++] = Z2(d2[n2] + " ", h2[b2], e2).trim(); | |
} | |
} | |
} | |
return c2; | |
} | |
function Z2(d2, c2, e2) { | |
var h2 = c2.charCodeAt(0); | |
33 > h2 && (h2 = (c2 = c2.trim()).charCodeAt(0)); | |
switch (h2) { | |
case 38: | |
return c2.replace(F2, "$1" + d2.trim()); | |
case 58: | |
return d2.trim() + c2.replace(F2, "$1" + d2.trim()); | |
default: | |
if (0 < 1 * e2 && 0 < c2.indexOf("\f")) | |
return c2.replace(F2, (d2.charCodeAt(0) === 58 ? "" : "$1") + d2.trim()); | |
} | |
return d2 + c2; | |
} | |
function P2(d2, c2, e2, h2) { | |
var a = d2 + ";", m2 = 2 * c2 + 3 * e2 + 4 * h2; | |
if (m2 === 944) { | |
d2 = a.indexOf(":", 9) + 1; | |
var b2 = a.substring(d2, a.length - 1).trim(); | |
b2 = a.substring(0, d2).trim() + b2 + ";"; | |
return w2 === 1 || w2 === 2 && L2(b2, 1) ? "-webkit-" + b2 + b2 : b2; | |
} | |
if (w2 === 0 || w2 === 2 && !L2(a, 1)) | |
return a; | |
switch (m2) { | |
case 1015: | |
return a.charCodeAt(10) === 97 ? "-webkit-" + a + a : a; | |
case 951: | |
return a.charCodeAt(3) === 116 ? "-webkit-" + a + a : a; | |
case 963: | |
return a.charCodeAt(5) === 110 ? "-webkit-" + a + a : a; | |
case 1009: | |
if (a.charCodeAt(4) !== 100) | |
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: | |
if (a.charCodeAt(8) === 45) | |
return "-webkit-" + a + a; | |
if (0 < a.indexOf("image-set(", 11)) | |
return a.replace(ja, "$1-webkit-$2") + a; | |
break; | |
case 932: | |
if (a.charCodeAt(4) === 45) | |
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 (a.charCodeAt(8) !== 99) | |
break; | |
b2 = a.substring(a.indexOf(":", 15)).replace("flex-", "").replace("space-between", "justify"); | |
return "-webkit-box-pack" + b2 + "-webkit-" + a + "-ms-flex-pack" + b2 + a; | |
case 1005: | |
return ka.test(a) ? a.replace(aa, ":-webkit-") + a.replace(aa, ":-moz-") + a : a; | |
case 1e3: | |
b2 = a.substring(13).trim(); | |
c2 = b2.indexOf("-") + 1; | |
switch (b2.charCodeAt(0) + b2.charCodeAt(c2)) { | |
case 226: | |
b2 = a.replace(G2, "tb"); | |
break; | |
case 232: | |
b2 = a.replace(G2, "tb-rl"); | |
break; | |
case 220: | |
b2 = a.replace(G2, "lr"); | |
break; | |
default: | |
return a; | |
} | |
return "-webkit-" + a + "-ms-" + b2 + a; | |
case 1017: | |
if (a.indexOf("sticky", 9) === -1) | |
break; | |
case 975: | |
c2 = (a = d2).length - 10; | |
b2 = (a.charCodeAt(c2) === 33 ? a.substring(0, c2) : a).substring(d2.indexOf(":", 7) + 1).trim(); | |
switch (m2 = b2.charCodeAt(0) + (b2.charCodeAt(7) | 0)) { | |
case 203: | |
if (111 > b2.charCodeAt(8)) | |
break; | |
case 115: | |
a = a.replace(b2, "-webkit-" + b2) + ";" + a; | |
break; | |
case 207: | |
case 102: | |
a = a.replace(b2, "-webkit-" + (102 < m2 ? "inline-" : "") + "box") + ";" + a.replace(b2, "-webkit-" + b2) + ";" + a.replace(b2, "-ms-" + b2 + "box") + ";" + a; | |
} | |
return a + ";"; | |
case 938: | |
if (a.charCodeAt(5) === 45) | |
switch (a.charCodeAt(6)) { | |
case 105: | |
return b2 = a.replace("-items", ""), "-webkit-" + a + "-webkit-box-" + b2 + "-ms-flex-" + b2 + 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", "").replace(ba, "") + a; | |
} | |
break; | |
case 973: | |
case 989: | |
if (a.charCodeAt(3) !== 45 || a.charCodeAt(4) === 122) | |
break; | |
case 931: | |
case 953: | |
if (la.test(d2) === true) | |
return (b2 = d2.substring(d2.indexOf(":") + 1)).charCodeAt(0) === 115 ? P2(d2.replace("stretch", "fill-available"), c2, e2, h2).replace(":fill-available", ":stretch") : a.replace(b2, "-webkit-" + b2) + a.replace(b2, "-moz-" + b2.replace("fill-", "")) + a; | |
break; | |
case 962: | |
if (a = "-webkit-" + a + (a.charCodeAt(5) === 102 ? "-ms-" + a : "") + a, e2 + h2 === 211 && a.charCodeAt(13) === 105 && 0 < a.indexOf("transform", 10)) | |
return a.substring(0, a.indexOf(";", 27) + 1).replace(ma, "$1-webkit-$2") + a; | |
} | |
return a; | |
} | |
function L2(d2, c2) { | |
var e2 = d2.indexOf(c2 === 1 ? ":" : "{"), h2 = d2.substring(0, c2 !== 3 ? e2 : 10); | |
e2 = d2.substring(e2 + 1, d2.length - 1); | |
return R(c2 !== 2 ? h2 : h2.replace(na, "$1"), e2, c2); | |
} | |
function ea(d2, c2) { | |
var e2 = P2(c2, c2.charCodeAt(0), c2.charCodeAt(1), c2.charCodeAt(2)); | |
return e2 !== c2 + ";" ? e2.replace(oa, " or ($1)").substring(4) : "(" + c2 + ")"; | |
} | |
function H2(d2, c2, e2, h2, a, m2, b2, v2, n2, q2) { | |
for (var g2 = 0, x2 = c2, w3; g2 < A2; ++g2) { | |
switch (w3 = S2[g2].call(B2, d2, x2, e2, h2, a, m2, b2, v2, n2, q2)) { | |
case void 0: | |
case false: | |
case true: | |
case null: | |
break; | |
default: | |
x2 = w3; | |
} | |
} | |
if (x2 !== c2) | |
return x2; | |
} | |
function T2(d2) { | |
switch (d2) { | |
case void 0: | |
case null: | |
A2 = S2.length = 0; | |
break; | |
default: | |
if (typeof d2 === "function") | |
S2[A2++] = d2; | |
else if (typeof d2 === "object") | |
for (var c2 = 0, e2 = d2.length; c2 < e2; ++c2) { | |
T2(d2[c2]); | |
} | |
else | |
Y2 = !!d2 | 0; | |
} | |
return T2; | |
} | |
function U2(d2) { | |
d2 = d2.prefix; | |
d2 !== void 0 && (R = null, d2 ? typeof d2 !== "function" ? w2 = 1 : (w2 = 2, R = d2) : w2 = 0); | |
return U2; | |
} | |
function B2(d2, c2) { | |
var e2 = d2; | |
33 > e2.charCodeAt(0) && (e2 = e2.trim()); | |
V2 = e2; | |
e2 = [V2]; | |
if (0 < A2) { | |
var h2 = H2(-1, c2, e2, e2, D, z2, 0, 0, 0, 0); | |
h2 !== void 0 && typeof h2 === "string" && (c2 = h2); | |
} | |
var a = M2(O2, e2, c2, 0, 0); | |
0 < A2 && (h2 = H2(-2, a, e2, e2, D, z2, a.length, 0, 0, 0), h2 !== void 0 && (a = h2)); | |
V2 = ""; | |
E2 = 0; | |
z2 = D = 1; | |
return a; | |
} | |
var ca = /^\0+/g, N2 = /[\0\r\f]/g, aa = /: */g, ka = /zoo|gra/, ma = /([,: ])(transform)/g, ia = /,\r+?/g, F2 = /([\t\r\n ])*\f?&/g, fa = /@(k\w+)\s*(\S*)\s*/, Q2 = /::(place)/g, ha = /:(read-only)/g, G2 = /[svh]\w+-[tblr]{2}/, da = /\(\s*(.*)\s*\)/g, oa = /([\s\S]*?);/g, ba = /-self|flex-/g, na = /[^]*?(:[rp][el]a[\w-]+)[^]*/, la = /stretch|:\s*\w+\-(?:conte|avail)/, ja = /([^-])(image-set\()/, z2 = 1, D = 1, E2 = 0, w2 = 1, O2 = [], S2 = [], A2 = 0, R = null, Y2 = 0, V2 = ""; | |
B2.use = T2; | |
B2.set = U2; | |
W2 !== void 0 && U2(W2); | |
return B2; | |
} | |
var unitlessKeys = { | |
animationIterationCount: 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, | |
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 | |
}; | |
function memoize(fn) { | |
var cache = {}; | |
return function(arg) { | |
if (cache[arg] === void 0) | |
cache[arg] = fn(arg); | |
return cache[arg]; | |
}; | |
} | |
var reactPropsRegex = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|inert|itemProp|itemScope|itemType|itemID|itemRef|on|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/; | |
var index = memoize(function(prop) { | |
return reactPropsRegex.test(prop) || prop.charCodeAt(0) === 111 && prop.charCodeAt(1) === 110 && prop.charCodeAt(2) < 91; | |
}); | |
var REACT_STATICS = { | |
childContextTypes: true, | |
contextType: true, | |
contextTypes: true, | |
defaultProps: true, | |
displayName: true, | |
getDefaultProps: true, | |
getDerivedStateFromError: true, | |
getDerivedStateFromProps: true, | |
mixins: true, | |
propTypes: true, | |
type: true | |
}; | |
var KNOWN_STATICS = { | |
name: true, | |
length: true, | |
prototype: true, | |
caller: true, | |
callee: true, | |
arguments: true, | |
arity: true | |
}; | |
var FORWARD_REF_STATICS = { | |
$$typeof: true, | |
render: true, | |
defaultProps: true, | |
displayName: true, | |
propTypes: true | |
}; | |
var MEMO_STATICS = { | |
$$typeof: true, | |
compare: true, | |
defaultProps: true, | |
displayName: true, | |
propTypes: true, | |
type: true | |
}; | |
var TYPE_STATICS = {}; | |
TYPE_STATICS[reactIs.ForwardRef] = FORWARD_REF_STATICS; | |
TYPE_STATICS[reactIs.Memo] = MEMO_STATICS; | |
function getStatics(component) { | |
if (reactIs.isMemo(component)) { | |
return MEMO_STATICS; | |
} | |
return TYPE_STATICS[component["$$typeof"]] || REACT_STATICS; | |
} | |
var defineProperty = Object.defineProperty; | |
var getOwnPropertyNames = Object.getOwnPropertyNames; | |
var getOwnPropertySymbols = Object.getOwnPropertySymbols; | |
var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; | |
var getPrototypeOf = Object.getPrototypeOf; | |
var objectPrototype = Object.prototype; | |
function hoistNonReactStatics(targetComponent, sourceComponent, blacklist) { | |
if (typeof sourceComponent !== "string") { | |
if (objectPrototype) { | |
var inheritedComponent = getPrototypeOf(sourceComponent); | |
if (inheritedComponent && inheritedComponent !== objectPrototype) { | |
hoistNonReactStatics(targetComponent, inheritedComponent, blacklist); | |
} | |
} | |
var keys = getOwnPropertyNames(sourceComponent); | |
if (getOwnPropertySymbols) { | |
keys = keys.concat(getOwnPropertySymbols(sourceComponent)); | |
} | |
var targetStatics = getStatics(targetComponent); | |
var sourceStatics = getStatics(sourceComponent); | |
for (var i = 0; i < keys.length; ++i) { | |
var key = keys[i]; | |
if (!KNOWN_STATICS[key] && !(blacklist && blacklist[key]) && !(sourceStatics && sourceStatics[key]) && !(targetStatics && targetStatics[key])) { | |
var descriptor = getOwnPropertyDescriptor(sourceComponent, key); | |
try { | |
defineProperty(targetComponent, key, descriptor); | |
} catch (e2) { | |
} | |
} | |
} | |
} | |
return targetComponent; | |
} | |
var hoistNonReactStatics_cjs = hoistNonReactStatics; | |
function v() { | |
return (v = Object.assign || function(e2) { | |
for (var t2 = 1; t2 < arguments.length; t2++) { | |
var n2 = arguments[t2]; | |
for (var r2 in n2) | |
Object.prototype.hasOwnProperty.call(n2, r2) && (e2[r2] = n2[r2]); | |
} | |
return e2; | |
}).apply(this, arguments); | |
} | |
var g = function(e2, t2) { | |
for (var n2 = [e2[0]], r2 = 0, o = t2.length; r2 < o; r2 += 1) | |
n2.push(t2[r2], e2[r2 + 1]); | |
return n2; | |
}, S = function(t2) { | |
return t2 !== null && typeof t2 == "object" && (t2.toString ? t2.toString() : Object.prototype.toString.call(t2)) === "[object Object]" && !reactIs.typeOf(t2); | |
}, w = Object.freeze([]), E = Object.freeze({}); | |
function b(e2) { | |
return typeof e2 == "function"; | |
} | |
function _(e2) { | |
return e2.displayName || e2.name || "Component"; | |
} | |
function N(e2) { | |
return e2 && typeof e2.styledComponentId == "string"; | |
} | |
var A = typeof process != "undefined" && process.env.SC_ATTR || "data-styled", C = "5.2.3", I = typeof window != "undefined" && "HTMLElement" in window, P = Boolean(typeof SC_DISABLE_SPEEDY == "boolean" ? SC_DISABLE_SPEEDY : typeof process != "undefined" && process.env.REACT_APP_SC_DISABLE_SPEEDY !== void 0 && process.env.REACT_APP_SC_DISABLE_SPEEDY !== "" ? process.env.REACT_APP_SC_DISABLE_SPEEDY : typeof process != "undefined" && process.env.SC_DISABLE_SPEEDY !== void 0 && process.env.SC_DISABLE_SPEEDY !== "" ? process.env.SC_DISABLE_SPEEDY : false), O = {}; | |
function j(e2) { | |
for (var t2 = arguments.length, n2 = new Array(t2 > 1 ? t2 - 1 : 0), r2 = 1; r2 < t2; r2++) | |
n2[r2 - 1] = arguments[r2]; | |
throw new Error("An error occurred. See https://git.io/JUIaE#" + e2 + " for more information." + (n2.length > 0 ? " Args: " + n2.join(", ") : "")); | |
} | |
var T = function() { | |
function e2(e3) { | |
this.groupSizes = new Uint32Array(512), this.length = 512, this.tag = e3; | |
} | |
var t2 = e2.prototype; | |
return t2.indexOfGroup = function(e3) { | |
for (var t3 = 0, n2 = 0; n2 < e3; n2++) | |
t3 += this.groupSizes[n2]; | |
return t3; | |
}, t2.insertRules = function(e3, t3) { | |
if (e3 >= this.groupSizes.length) { | |
for (var n2 = this.groupSizes, r2 = n2.length, o = r2; e3 >= o; ) | |
(o <<= 1) < 0 && j(16, "" + e3); | |
this.groupSizes = new Uint32Array(o), this.groupSizes.set(n2), this.length = o; | |
for (var i = r2; i < o; i++) | |
this.groupSizes[i] = 0; | |
} | |
for (var s = this.indexOfGroup(e3 + 1), a = 0, c2 = t3.length; a < c2; a++) | |
this.tag.insertRule(s, t3[a]) && (this.groupSizes[e3]++, s++); | |
}, t2.clearGroup = function(e3) { | |
if (e3 < this.length) { | |
var t3 = this.groupSizes[e3], n2 = this.indexOfGroup(e3), r2 = n2 + t3; | |
this.groupSizes[e3] = 0; | |
for (var o = n2; o < r2; o++) | |
this.tag.deleteRule(n2); | |
} | |
}, t2.getGroup = function(e3) { | |
var t3 = ""; | |
if (e3 >= this.length || this.groupSizes[e3] === 0) | |
return t3; | |
for (var n2 = this.groupSizes[e3], r2 = this.indexOfGroup(e3), o = r2 + n2, i = r2; i < o; i++) | |
t3 += this.tag.getRule(i) + "/*!sc*/\n"; | |
return t3; | |
}, e2; | |
}(), k = new Map(), x = new Map(), V = 1, B = function(e2) { | |
if (k.has(e2)) | |
return k.get(e2); | |
for (; x.has(V); ) | |
V++; | |
var t2 = V++; | |
return k.set(e2, t2), x.set(t2, e2), t2; | |
}, M = function(e2) { | |
return x.get(e2); | |
}, z = function(e2, t2) { | |
k.set(e2, t2), x.set(t2, e2); | |
}, L = "style[" + A + '][data-styled-version="5.2.3"]', G = new RegExp("^" + A + '\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'), F = function(e2, t2, n2) { | |
for (var r2, o = n2.split(","), i = 0, s = o.length; i < s; i++) | |
(r2 = o[i]) && e2.registerName(t2, r2); | |
}, Y = function(e2, t2) { | |
for (var n2 = t2.innerHTML.split("/*!sc*/\n"), r2 = [], o = 0, i = n2.length; o < i; o++) { | |
var s = n2[o].trim(); | |
if (s) { | |
var a = s.match(G); | |
if (a) { | |
var c2 = 0 | parseInt(a[1], 10), u = a[2]; | |
c2 !== 0 && (z(u, c2), F(e2, u, a[3]), e2.getTag().insertRules(c2, r2)), r2.length = 0; | |
} else | |
r2.push(s); | |
} | |
} | |
}, q = function() { | |
return typeof window != "undefined" && window.__webpack_nonce__ !== void 0 ? window.__webpack_nonce__ : null; | |
}, H = function(e2) { | |
var t2 = document.head, n2 = e2 || t2, r2 = document.createElement("style"), o = function(e3) { | |
for (var t3 = e3.childNodes, n3 = t3.length; n3 >= 0; n3--) { | |
var r3 = t3[n3]; | |
if (r3 && r3.nodeType === 1 && r3.hasAttribute(A)) | |
return r3; | |
} | |
}(n2), i = o !== void 0 ? o.nextSibling : null; | |
r2.setAttribute(A, "active"), r2.setAttribute("data-styled-version", "5.2.3"); | |
var s = q(); | |
return s && r2.setAttribute("nonce", s), n2.insertBefore(r2, i), r2; | |
}, $ = function() { | |
function e2(e3) { | |
var t3 = this.element = H(e3); | |
t3.appendChild(document.createTextNode("")), this.sheet = function(e4) { | |
if (e4.sheet) | |
return e4.sheet; | |
for (var t4 = document.styleSheets, n2 = 0, r2 = t4.length; n2 < r2; n2++) { | |
var o = t4[n2]; | |
if (o.ownerNode === e4) | |
return o; | |
} | |
j(17); | |
}(t3), this.length = 0; | |
} | |
var t2 = e2.prototype; | |
return t2.insertRule = function(e3, t3) { | |
try { | |
return this.sheet.insertRule(t3, e3), this.length++, true; | |
} catch (e4) { | |
return false; | |
} | |
}, t2.deleteRule = function(e3) { | |
this.sheet.deleteRule(e3), this.length--; | |
}, t2.getRule = function(e3) { | |
var t3 = this.sheet.cssRules[e3]; | |
return t3 !== void 0 && typeof t3.cssText == "string" ? t3.cssText : ""; | |
}, e2; | |
}(), W = function() { | |
function e2(e3) { | |
var t3 = this.element = H(e3); | |
this.nodes = t3.childNodes, this.length = 0; | |
} | |
var t2 = e2.prototype; | |
return t2.insertRule = function(e3, t3) { | |
if (e3 <= this.length && e3 >= 0) { | |
var n2 = document.createTextNode(t3), r2 = this.nodes[e3]; | |
return this.element.insertBefore(n2, r2 || null), this.length++, true; | |
} | |
return false; | |
}, t2.deleteRule = function(e3) { | |
this.element.removeChild(this.nodes[e3]), this.length--; | |
}, t2.getRule = function(e3) { | |
return e3 < this.length ? this.nodes[e3].textContent : ""; | |
}, e2; | |
}(), U = function() { | |
function e2(e3) { | |
this.rules = [], this.length = 0; | |
} | |
var t2 = e2.prototype; | |
return t2.insertRule = function(e3, t3) { | |
return e3 <= this.length && (this.rules.splice(e3, 0, t3), this.length++, true); | |
}, t2.deleteRule = function(e3) { | |
this.rules.splice(e3, 1), this.length--; | |
}, t2.getRule = function(e3) { | |
return e3 < this.length ? this.rules[e3] : ""; | |
}, e2; | |
}(), J = I, X = {isServer: !I, useCSSOMInjection: !P}, Z = function() { | |
function e2(e3, t3, n2) { | |
e3 === void 0 && (e3 = E), t3 === void 0 && (t3 = {}), this.options = v({}, X, {}, e3), this.gs = t3, this.names = new Map(n2), !this.options.isServer && I && J && (J = false, function(e4) { | |
for (var t4 = document.querySelectorAll(L), n3 = 0, r2 = t4.length; n3 < r2; n3++) { | |
var o = t4[n3]; | |
o && o.getAttribute(A) !== "active" && (Y(e4, o), o.parentNode && o.parentNode.removeChild(o)); | |
} | |
}(this)); | |
} | |
e2.registerId = function(e3) { | |
return B(e3); | |
}; | |
var t2 = e2.prototype; | |
return t2.reconstructWithOptions = function(t3, n2) { | |
return n2 === void 0 && (n2 = true), new e2(v({}, this.options, {}, t3), this.gs, n2 && this.names || void 0); | |
}, t2.allocateGSInstance = function(e3) { | |
return this.gs[e3] = (this.gs[e3] || 0) + 1; | |
}, t2.getTag = function() { | |
return this.tag || (this.tag = (n2 = (t3 = this.options).isServer, r2 = t3.useCSSOMInjection, o = t3.target, e3 = n2 ? new U(o) : r2 ? new $(o) : new W(o), new T(e3))); | |
var e3, t3, n2, r2, o; | |
}, t2.hasNameForId = function(e3, t3) { | |
return this.names.has(e3) && this.names.get(e3).has(t3); | |
}, t2.registerName = function(e3, t3) { | |
if (B(e3), this.names.has(e3)) | |
this.names.get(e3).add(t3); | |
else { | |
var n2 = new Set(); | |
n2.add(t3), this.names.set(e3, n2); | |
} | |
}, t2.insertRules = function(e3, t3, n2) { | |
this.registerName(e3, t3), this.getTag().insertRules(B(e3), n2); | |
}, t2.clearNames = function(e3) { | |
this.names.has(e3) && this.names.get(e3).clear(); | |
}, t2.clearRules = function(e3) { | |
this.getTag().clearGroup(B(e3)), this.clearNames(e3); | |
}, t2.clearTag = function() { | |
this.tag = void 0; | |
}, t2.toString = function() { | |
return function(e3) { | |
for (var t3 = e3.getTag(), n2 = t3.length, r2 = "", o = 0; o < n2; o++) { | |
var i = M(o); | |
if (i !== void 0) { | |
var s = e3.names.get(i), a = t3.getGroup(o); | |
if (s !== void 0 && a.length !== 0) { | |
var c2 = A + ".g" + o + '[id="' + i + '"]', u = ""; | |
s !== void 0 && s.forEach(function(e4) { | |
e4.length > 0 && (u += e4 + ","); | |
}), r2 += "" + a + c2 + '{content:"' + u + '"}/*!sc*/\n'; | |
} | |
} | |
} | |
return r2; | |
}(this); | |
}, e2; | |
}(), K = /(a)(d)/gi, Q = function(e2) { | |
return String.fromCharCode(e2 + (e2 > 25 ? 39 : 97)); | |
}; | |
function ee(e2) { | |
var t2, n2 = ""; | |
for (t2 = Math.abs(e2); t2 > 52; t2 = t2 / 52 | 0) | |
n2 = Q(t2 % 52) + n2; | |
return (Q(t2 % 52) + n2).replace(K, "$1-$2"); | |
} | |
var te = function(e2, t2) { | |
for (var n2 = t2.length; n2; ) | |
e2 = 33 * e2 ^ t2.charCodeAt(--n2); | |
return e2; | |
}, ne = function(e2) { | |
return te(5381, e2); | |
}; | |
function re(e2) { | |
for (var t2 = 0; t2 < e2.length; t2 += 1) { | |
var n2 = e2[t2]; | |
if (b(n2) && !N(n2)) | |
return false; | |
} | |
return true; | |
} | |
var oe = ne("5.2.3"), ie = function() { | |
function e2(e3, t2, n2) { | |
this.rules = e3, this.staticRulesId = "", this.isStatic = (n2 === void 0 || n2.isStatic) && re(e3), this.componentId = t2, this.baseHash = te(oe, t2), this.baseStyle = n2, Z.registerId(t2); | |
} | |
return e2.prototype.generateAndInjectStyles = function(e3, t2, n2) { | |
var r2 = this.componentId, o = []; | |
if (this.baseStyle && o.push(this.baseStyle.generateAndInjectStyles(e3, t2, n2)), this.isStatic && !n2.hash) | |
if (this.staticRulesId && t2.hasNameForId(r2, this.staticRulesId)) | |
o.push(this.staticRulesId); | |
else { | |
var i = Ne(this.rules, e3, t2, n2).join(""), s = ee(te(this.baseHash, i.length) >>> 0); | |
if (!t2.hasNameForId(r2, s)) { | |
var a = n2(i, "." + s, void 0, r2); | |
t2.insertRules(r2, s, a); | |
} | |
o.push(s), this.staticRulesId = s; | |
} | |
else { | |
for (var c2 = this.rules.length, u = te(this.baseHash, n2.hash), l2 = "", d2 = 0; d2 < c2; d2++) { | |
var h2 = this.rules[d2]; | |
if (typeof h2 == "string") | |
l2 += h2, false; | |
else if (h2) { | |
var p2 = Ne(h2, e3, t2, n2), f2 = Array.isArray(p2) ? p2.join("") : p2; | |
u = te(u, f2 + d2), l2 += f2; | |
} | |
} | |
if (l2) { | |
var m2 = ee(u >>> 0); | |
if (!t2.hasNameForId(r2, m2)) { | |
var y2 = n2(l2, "." + m2, void 0, r2); | |
t2.insertRules(r2, m2, y2); | |
} | |
o.push(m2); | |
} | |
} | |
return o.join(" "); | |
}, e2; | |
}(), se = /^\s*\/\/.*$/gm, ae = [":", "[", ".", "#"]; | |
function ce(e2) { | |
var t2, n2, r2, o, i = e2 === void 0 ? E : e2, s = i.options, a = s === void 0 ? E : s, c2 = i.plugins, u = c2 === void 0 ? w : c2, l2 = new stylis_min(a), d2 = [], h2 = function(e3) { | |
function t3(t4) { | |
if (t4) | |
try { | |
e3(t4 + "}"); | |
} catch (e4) { | |
} | |
} | |
return function(n3, r3, o2, i2, s2, a2, c3, u2, l3, d3) { | |
switch (n3) { | |
case 1: | |
if (l3 === 0 && r3.charCodeAt(0) === 64) | |
return e3(r3 + ";"), ""; | |
break; | |
case 2: | |
if (u2 === 0) | |
return r3 + "/*|*/"; | |
break; | |
case 3: | |
switch (u2) { | |
case 102: | |
case 112: | |
return e3(o2[0] + r3), ""; | |
default: | |
return r3 + (d3 === 0 ? "/*|*/" : ""); | |
} | |
case -2: | |
r3.split("/*|*/}").forEach(t3); | |
} | |
}; | |
}(function(e3) { | |
d2.push(e3); | |
}), f2 = function(e3, r3, i2) { | |
return r3 === 0 && ae.indexOf(i2[n2.length]) !== -1 || i2.match(o) ? e3 : "." + t2; | |
}; | |
function m2(e3, i2, s2, a2) { | |
a2 === void 0 && (a2 = "&"); | |
var c3 = e3.replace(se, ""), u2 = i2 && s2 ? s2 + " " + i2 + " { " + c3 + " }" : c3; | |
return t2 = a2, n2 = i2, r2 = new RegExp("\\" + n2 + "\\b", "g"), o = new RegExp("(\\" + n2 + "\\b){2,}"), l2(s2 || !i2 ? "" : i2, u2); | |
} | |
return l2.use([].concat(u, [function(e3, t3, o2) { | |
e3 === 2 && o2.length && o2[0].lastIndexOf(n2) > 0 && (o2[0] = o2[0].replace(r2, f2)); | |
}, h2, function(e3) { | |
if (e3 === -2) { | |
var t3 = d2; | |
return d2 = [], t3; | |
} | |
}])), m2.hash = u.length ? u.reduce(function(e3, t3) { | |
return t3.name || j(15), te(e3, t3.name); | |
}, 5381).toString() : "", m2; | |
} | |
var ue = react.createContext(), le = ue.Consumer, de = react.createContext(), he = (de.Consumer, new Z()), pe = ce(); | |
function fe() { | |
return react.useContext(ue) || he; | |
} | |
function me() { | |
return react.useContext(de) || pe; | |
} | |
function ye(e2) { | |
var t2 = react.useState(e2.stylisPlugins), n2 = t2[0], i = t2[1], c2 = fe(), u = react.useMemo(function() { | |
var t3 = c2; | |
return e2.sheet ? t3 = e2.sheet : e2.target && (t3 = t3.reconstructWithOptions({target: e2.target}, false)), e2.disableCSSOMInjection && (t3 = t3.reconstructWithOptions({useCSSOMInjection: false})), t3; | |
}, [e2.disableCSSOMInjection, e2.sheet, e2.target]), l2 = react.useMemo(function() { | |
return ce({options: {prefix: !e2.disableVendorPrefixes}, plugins: n2}); | |
}, [e2.disableVendorPrefixes, n2]); | |
return react.useEffect(function() { | |
shallowequal(n2, e2.stylisPlugins) || i(e2.stylisPlugins); | |
}, [e2.stylisPlugins]), react.createElement(ue.Provider, {value: u}, react.createElement(de.Provider, {value: l2}, e2.children)); | |
} | |
var ve = function() { | |
function e2(e3, t2) { | |
var n2 = this; | |
this.inject = function(e4, t3) { | |
t3 === void 0 && (t3 = pe); | |
var r2 = n2.name + t3.hash; | |
e4.hasNameForId(n2.id, r2) || e4.insertRules(n2.id, r2, t3(n2.rules, r2, "@keyframes")); | |
}, this.toString = function() { | |
return j(12, String(n2.name)); | |
}, this.name = e3, this.id = "sc-keyframes-" + e3, this.rules = t2; | |
} | |
return e2.prototype.getName = function(e3) { | |
return e3 === void 0 && (e3 = pe), this.name + e3.hash; | |
}, e2; | |
}(), ge = /([A-Z])/, Se = /([A-Z])/g, we = /^ms-/, Ee = function(e2) { | |
return "-" + e2.toLowerCase(); | |
}; | |
function be(e2) { | |
return ge.test(e2) ? e2.replace(Se, Ee).replace(we, "-ms-") : e2; | |
} | |
var _e = function(e2) { | |
return e2 == null || e2 === false || e2 === ""; | |
}; | |
function Ne(e2, n2, r2, o) { | |
if (Array.isArray(e2)) { | |
for (var i, s = [], a = 0, c2 = e2.length; a < c2; a += 1) | |
(i = Ne(e2[a], n2, r2, o)) !== "" && (Array.isArray(i) ? s.push.apply(s, i) : s.push(i)); | |
return s; | |
} | |
if (_e(e2)) | |
return ""; | |
if (N(e2)) | |
return "." + e2.styledComponentId; | |
if (b(e2)) { | |
if (typeof (l2 = e2) != "function" || l2.prototype && l2.prototype.isReactComponent || !n2) | |
return e2; | |
var u = e2(n2); | |
return Ne(u, n2, r2, o); | |
} | |
var l2; | |
return e2 instanceof ve ? r2 ? (e2.inject(r2, o), e2.getName(o)) : e2 : S(e2) ? function e3(t2, n3) { | |
var r3, o2, i2 = []; | |
for (var s2 in t2) | |
t2.hasOwnProperty(s2) && !_e(t2[s2]) && (S(t2[s2]) ? i2.push.apply(i2, e3(t2[s2], s2)) : b(t2[s2]) ? i2.push(be(s2) + ":", t2[s2], ";") : i2.push(be(s2) + ": " + (r3 = s2, (o2 = t2[s2]) == null || typeof o2 == "boolean" || o2 === "" ? "" : typeof o2 != "number" || o2 === 0 || r3 in unitlessKeys ? String(o2).trim() : o2 + "px") + ";")); | |
return n3 ? [n3 + " {"].concat(i2, ["}"]) : i2; | |
}(e2) : e2.toString(); | |
} | |
function Ae(e2) { | |
for (var t2 = arguments.length, n2 = new Array(t2 > 1 ? t2 - 1 : 0), r2 = 1; r2 < t2; r2++) | |
n2[r2 - 1] = arguments[r2]; | |
return b(e2) || S(e2) ? Ne(g(w, [e2].concat(n2))) : n2.length === 0 && e2.length === 1 && typeof e2[0] == "string" ? e2 : Ne(g(e2, n2)); | |
} | |
var Oe = function(e2, t2, n2) { | |
return n2 === void 0 && (n2 = E), e2.theme !== n2.theme && e2.theme || t2 || n2.theme; | |
}, Re = /[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g, De = /(^-|-$)/g; | |
function je(e2) { | |
return e2.replace(Re, "-").replace(De, ""); | |
} | |
var Te = function(e2) { | |
return ee(ne(e2) >>> 0); | |
}; | |
function ke(e2) { | |
return typeof e2 == "string" && true; | |
} | |
var xe = function(e2) { | |
return typeof e2 == "function" || typeof e2 == "object" && e2 !== null && !Array.isArray(e2); | |
}, Ve = function(e2) { | |
return e2 !== "__proto__" && e2 !== "constructor" && e2 !== "prototype"; | |
}; | |
function Be(e2, t2, n2) { | |
var r2 = e2[n2]; | |
xe(t2) && xe(r2) ? Me(r2, t2) : e2[n2] = t2; | |
} | |
function Me(e2) { | |
for (var t2 = arguments.length, n2 = new Array(t2 > 1 ? t2 - 1 : 0), r2 = 1; r2 < t2; r2++) | |
n2[r2 - 1] = arguments[r2]; | |
for (var o = 0, i = n2; o < i.length; o++) { | |
var s = i[o]; | |
if (xe(s)) | |
for (var a in s) | |
Ve(a) && Be(e2, s[a], a); | |
} | |
return e2; | |
} | |
var ze = react.createContext(), Le = ze.Consumer; | |
function Ge(e2) { | |
var t2 = react.useContext(ze), n2 = react.useMemo(function() { | |
return function(e3, t3) { | |
if (!e3) | |
return j(14); | |
if (b(e3)) { | |
var n3 = e3(t3); | |
return n3; | |
} | |
return Array.isArray(e3) || typeof e3 != "object" ? j(8) : t3 ? v({}, t3, {}, e3) : e3; | |
}(e2.theme, t2); | |
}, [e2.theme, t2]); | |
return e2.children ? react.createElement(ze.Provider, {value: n2}, e2.children) : null; | |
} | |
var Fe = {}; | |
function Ye(e2, t2, n2) { | |
var o = N(e2), s = !ke(e2), a = t2.attrs, c2 = a === void 0 ? w : a, d2 = t2.componentId, h2 = d2 === void 0 ? function(e3, t3) { | |
var n3 = typeof e3 != "string" ? "sc" : je(e3); | |
Fe[n3] = (Fe[n3] || 0) + 1; | |
var r2 = n3 + "-" + Te("5.2.3" + n3 + Fe[n3]); | |
return t3 ? t3 + "-" + r2 : r2; | |
}(t2.displayName, t2.parentComponentId) : d2, p2 = t2.displayName, f2 = p2 === void 0 ? function(e3) { | |
return ke(e3) ? "styled." + e3 : "Styled(" + _(e3) + ")"; | |
}(e2) : p2, g2 = t2.displayName && t2.componentId ? je(t2.displayName) + "-" + t2.componentId : t2.componentId || h2, S2 = o && e2.attrs ? Array.prototype.concat(e2.attrs, c2).filter(Boolean) : c2, A2 = t2.shouldForwardProp; | |
o && e2.shouldForwardProp && (A2 = t2.shouldForwardProp ? function(n3, r2) { | |
return e2.shouldForwardProp(n3, r2) && t2.shouldForwardProp(n3, r2); | |
} : e2.shouldForwardProp); | |
var C2, I2 = new ie(n2, g2, o ? e2.componentStyle : void 0), P2 = I2.isStatic && c2.length === 0, O2 = function(e3, t3) { | |
return function(e4, t4, n3, r2) { | |
var o2 = e4.attrs, s2 = e4.componentStyle, a2 = e4.defaultProps, c3 = e4.foldedComponentIds, d3 = e4.shouldForwardProp, h3 = e4.styledComponentId, p3 = e4.target; | |
var f3 = function(e5, t5, n4) { | |
e5 === void 0 && (e5 = E); | |
var r3 = v({}, t5, {theme: e5}), o3 = {}; | |
return n4.forEach(function(e6) { | |
var t6, n5, i, s3 = e6; | |
for (t6 in b(s3) && (s3 = s3(r3)), s3) | |
r3[t6] = o3[t6] = t6 === "className" ? (n5 = o3[t6], i = s3[t6], n5 && i ? n5 + " " + i : n5 || i) : s3[t6]; | |
}), [r3, o3]; | |
}(Oe(t4, react.useContext(ze), a2) || E, t4, o2), y2 = f3[0], g3 = f3[1], S3 = function(e5, t5, n4, r3) { | |
var o3 = fe(), i = me(), s3 = t5 ? e5.generateAndInjectStyles(E, o3, i) : e5.generateAndInjectStyles(n4, o3, i); | |
return s3; | |
}(s2, r2, y2), w2 = n3, _2 = g3.$as || t4.$as || g3.as || t4.as || p3, N2 = ke(_2), A3 = g3 !== t4 ? v({}, t4, {}, g3) : t4, C3 = {}; | |
for (var I3 in A3) | |
I3[0] !== "$" && I3 !== "as" && (I3 === "forwardedAs" ? C3.as = A3[I3] : (d3 ? d3(I3, index) : !N2 || index(I3)) && (C3[I3] = A3[I3])); | |
return t4.style && g3.style !== t4.style && (C3.style = v({}, t4.style, {}, g3.style)), C3.className = Array.prototype.concat(c3, h3, S3 !== h3 ? S3 : null, t4.className, g3.className).filter(Boolean).join(" "), C3.ref = w2, react.createElement(_2, C3); | |
}(C2, e3, t3, P2); | |
}; | |
return O2.displayName = f2, (C2 = react.forwardRef(O2)).attrs = S2, C2.componentStyle = I2, C2.displayName = f2, C2.shouldForwardProp = A2, C2.foldedComponentIds = o ? Array.prototype.concat(e2.foldedComponentIds, e2.styledComponentId) : w, C2.styledComponentId = g2, C2.target = o ? e2.target : e2, C2.withComponent = function(e3) { | |
var r2 = t2.componentId, o2 = function(e4, t3) { | |
if (e4 == null) | |
return {}; | |
var n3, r3, o3 = {}, i2 = Object.keys(e4); | |
for (r3 = 0; r3 < i2.length; r3++) | |
n3 = i2[r3], t3.indexOf(n3) >= 0 || (o3[n3] = e4[n3]); | |
return o3; | |
}(t2, ["componentId"]), i = r2 && r2 + "-" + (ke(e3) ? e3 : je(_(e3))); | |
return Ye(e3, v({}, o2, {attrs: S2, componentId: i}), n2); | |
}, Object.defineProperty(C2, "defaultProps", {get: function() { | |
return this._foldedDefaultProps; | |
}, set: function(t3) { | |
this._foldedDefaultProps = o ? Me({}, e2.defaultProps, t3) : t3; | |
}}), C2.toString = function() { | |
return "." + C2.styledComponentId; | |
}, s && hoistNonReactStatics_cjs(C2, e2, {attrs: true, componentStyle: true, displayName: true, foldedComponentIds: true, shouldForwardProp: true, styledComponentId: true, target: true, withComponent: true}), C2; | |
} | |
var qe = function(e2) { | |
return function e3(t2, r2, o) { | |
if (o === void 0 && (o = E), !reactIs.isValidElementType(r2)) | |
return j(1, String(r2)); | |
var i = function() { | |
return t2(r2, o, Ae.apply(void 0, arguments)); | |
}; | |
return i.withConfig = function(n2) { | |
return e3(t2, r2, v({}, o, {}, n2)); | |
}, i.attrs = function(n2) { | |
return e3(t2, r2, v({}, o, {attrs: Array.prototype.concat(o.attrs, n2).filter(Boolean)})); | |
}, i; | |
}(Ye, e2); | |
}; | |
["a", "abbr", "address", "area", "article", "aside", "audio", "b", "base", "bdi", "bdo", "big", "blockquote", "body", "br", "button", "canvas", "caption", "cite", "code", "col", "colgroup", "data", "datalist", "dd", "del", "details", "dfn", "dialog", "div", "dl", "dt", "em", "embed", "fieldset", "figcaption", "figure", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "iframe", "img", "input", "ins", "kbd", "keygen", "label", "legend", "li", "link", "main", "map", "mark", "marquee", "menu", "menuitem", "meta", "meter", "nav", "noscript", "object", "ol", "optgroup", "option", "output", "p", "param", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "script", "section", "select", "small", "source", "span", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "textarea", "tfoot", "th", "thead", "time", "title", "tr", "track", "u", "ul", "var", "video", "wbr", "circle", "clipPath", "defs", "ellipse", "foreignObject", "g", "image", "line", "linearGradient", "marker", "mask", "path", "pattern", "polygon", "polyline", "radialGradient", "rect", "stop", "svg", "text", "tspan"].forEach(function(e2) { | |
qe[e2] = qe(e2); | |
}); | |
var He = function() { | |
function e2(e3, t3) { | |
this.rules = e3, this.componentId = t3, this.isStatic = re(e3), Z.registerId(this.componentId + 1); | |
} | |
var t2 = e2.prototype; | |
return t2.createStyles = function(e3, t3, n2, r2) { | |
var o = r2(Ne(this.rules, t3, n2, r2).join(""), ""), i = this.componentId + e3; | |
n2.insertRules(i, i, o); | |
}, t2.removeStyles = function(e3, t3) { | |
t3.clearRules(this.componentId + e3); | |
}, t2.renderStyles = function(e3, t3, n2, r2) { | |
e3 > 2 && Z.registerId(this.componentId + e3), this.removeStyles(e3, n2), this.createStyles(e3, t3, n2, r2); | |
}, e2; | |
}(); | |
function $e(e2) { | |
for (var t2 = arguments.length, n2 = new Array(t2 > 1 ? t2 - 1 : 0), o = 1; o < t2; o++) | |
n2[o - 1] = arguments[o]; | |
var s = Ae.apply(void 0, [e2].concat(n2)), a = "sc-global-" + Te(JSON.stringify(s)), u = new He(s, a); | |
function l2(e3) { | |
var t3 = fe(), n3 = me(), o2 = react.useContext(ze), l3 = react.useRef(t3.allocateGSInstance(a)).current; | |
return react.useLayoutEffect(function() { | |
return h2(l3, e3, t3, o2, n3), function() { | |
return u.removeStyles(l3, t3); | |
}; | |
}, [l3, e3, t3, o2, n3]), null; | |
} | |
function h2(e3, t3, n3, r2, o2) { | |
if (u.isStatic) | |
u.renderStyles(e3, O, n3, o2); | |
else { | |
var i = v({}, t3, {theme: Oe(t3, r2, l2.defaultProps)}); | |
u.renderStyles(e3, i, n3, o2); | |
} | |
} | |
return react.memo(l2); | |
} | |
function We(e2) { | |
for (var t2 = arguments.length, n2 = new Array(t2 > 1 ? t2 - 1 : 0), r2 = 1; r2 < t2; r2++) | |
n2[r2 - 1] = arguments[r2]; | |
var o = Ae.apply(void 0, [e2].concat(n2)).join(""), i = Te(o); | |
return new ve(i, o); | |
} | |
var Ue = function() { | |
function e2() { | |
var e3 = this; | |
this._emitSheetCSS = function() { | |
var t3 = e3.instance.toString(), n2 = q(); | |
return "<style " + [n2 && 'nonce="' + n2 + '"', A + '="true"', 'data-styled-version="5.2.3"'].filter(Boolean).join(" ") + ">" + t3 + "</style>"; | |
}, this.getStyleTags = function() { | |
return e3.sealed ? j(2) : e3._emitSheetCSS(); | |
}, this.getStyleElement = function() { | |
var t3; | |
if (e3.sealed) | |
return j(2); | |
var n2 = ((t3 = {})[A] = "", t3["data-styled-version"] = "5.2.3", t3.dangerouslySetInnerHTML = {__html: e3.instance.toString()}, t3), o = q(); | |
return o && (n2.nonce = o), [react.createElement("style", v({}, n2, {key: "sc-0-0"}))]; | |
}, this.seal = function() { | |
e3.sealed = true; | |
}, this.instance = new Z({isServer: true}), this.sealed = false; | |
} | |
var t2 = e2.prototype; | |
return t2.collectStyles = function(e3) { | |
return this.sealed ? j(2) : react.createElement(ye, {sheet: this.instance}, e3); | |
}, t2.interleaveWithNodeStream = function(e3) { | |
return j(3); | |
}, e2; | |
}(), Je = function(e2) { | |
var t2 = react.forwardRef(function(t3, n2) { | |
var o = react.useContext(ze), s = e2.defaultProps, a = Oe(t3, o, s); | |
return react.createElement(e2, v({}, t3, {theme: a, ref: n2})); | |
}); | |
return hoistNonReactStatics_cjs(t2, e2), t2.displayName = "WithTheme(" + _(e2) + ")", t2; | |
}, Xe = function() { | |
return react.useContext(ze); | |
}, Ze = {StyleSheet: Z, masterSheet: he}; | |
var styledComponents_browser_esm = /* @__PURE__ */ Object.freeze({ | |
__proto__: null, | |
default: qe, | |
ServerStyleSheet: Ue, | |
StyleSheetConsumer: le, | |
StyleSheetContext: ue, | |
StyleSheetManager: ye, | |
ThemeConsumer: Le, | |
ThemeContext: ze, | |
ThemeProvider: Ge, | |
__PRIVATE__: Ze, | |
createGlobalStyle: $e, | |
css: Ae, | |
isStyledComponent: N, | |
keyframes: We, | |
useTheme: Xe, | |
version: C, | |
withTheme: Je | |
}); | |
export {$e as $, Ae as A, qe as q, styledComponents_browser_esm as s, ze as z}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import {c as createCommonjsModule, r as react} from "./common/index-f0770002.js"; | |
function defaultSetTimout() { | |
throw new Error("setTimeout has not been defined"); | |
} | |
function defaultClearTimeout() { | |
throw new Error("clearTimeout has not been defined"); | |
} | |
var cachedSetTimeout = defaultSetTimout; | |
var cachedClearTimeout = defaultClearTimeout; | |
var globalContext; | |
if (typeof window !== "undefined") { | |
globalContext = window; | |
} else if (typeof self !== "undefined") { | |
globalContext = self; | |
} else { | |
globalContext = {}; | |
} | |
if (typeof globalContext.setTimeout === "function") { | |
cachedSetTimeout = setTimeout; | |
} | |
if (typeof globalContext.clearTimeout === "function") { | |
cachedClearTimeout = clearTimeout; | |
} | |
function runTimeout(fun) { | |
if (cachedSetTimeout === setTimeout) { | |
return setTimeout(fun, 0); | |
} | |
if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) { | |
cachedSetTimeout = setTimeout; | |
return setTimeout(fun, 0); | |
} | |
try { | |
return cachedSetTimeout(fun, 0); | |
} catch (e2) { | |
try { | |
return cachedSetTimeout.call(null, fun, 0); | |
} catch (e3) { | |
return cachedSetTimeout.call(this, fun, 0); | |
} | |
} | |
} | |
function runClearTimeout(marker) { | |
if (cachedClearTimeout === clearTimeout) { | |
return clearTimeout(marker); | |
} | |
if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) { | |
cachedClearTimeout = clearTimeout; | |
return clearTimeout(marker); | |
} | |
try { | |
return cachedClearTimeout(marker); | |
} catch (e2) { | |
try { | |
return cachedClearTimeout.call(null, marker); | |
} catch (e3) { | |
return cachedClearTimeout.call(this, marker); | |
} | |
} | |
} | |
var queue = []; | |
var draining = false; | |
var currentQueue; | |
var queueIndex = -1; | |
function cleanUpNextTick() { | |
if (!draining || !currentQueue) { | |
return; | |
} | |
draining = false; | |
if (currentQueue.length) { | |
queue = currentQueue.concat(queue); | |
} else { | |
queueIndex = -1; | |
} | |
if (queue.length) { | |
drainQueue(); | |
} | |
} | |
function drainQueue() { | |
if (draining) { | |
return; | |
} | |
var timeout = runTimeout(cleanUpNextTick); | |
draining = true; | |
var len = queue.length; | |
while (len) { | |
currentQueue = queue; | |
queue = []; | |
while (++queueIndex < len) { | |
if (currentQueue) { | |
currentQueue[queueIndex].run(); | |
} | |
} | |
queueIndex = -1; | |
len = queue.length; | |
} | |
currentQueue = null; | |
draining = false; | |
runClearTimeout(timeout); | |
} | |
function nextTick(fun) { | |
var args = new Array(arguments.length - 1); | |
if (arguments.length > 1) { | |
for (var i = 1; i < arguments.length; i++) { | |
args[i - 1] = arguments[i]; | |
} | |
} | |
queue.push(new Item(fun, args)); | |
if (queue.length === 1 && !draining) { | |
runTimeout(drainQueue); | |
} | |
} | |
function Item(fun, array) { | |
this.fun = fun; | |
this.array = array; | |
} | |
Item.prototype.run = function() { | |
this.fun.apply(null, this.array); | |
}; | |
var title = "browser"; | |
var platform = "browser"; | |
var browser = true; | |
var argv = []; | |
var version = ""; | |
var versions = {}; | |
var release = {}; | |
var config = {}; | |
function noop() { | |
} | |
var on = noop; | |
var addListener = noop; | |
var once = noop; | |
var off = noop; | |
var removeListener = noop; | |
var removeAllListeners = noop; | |
var emit = noop; | |
function binding(name) { | |
throw new Error("process.binding is not supported"); | |
} | |
function cwd() { | |
return "/"; | |
} | |
function chdir(dir) { | |
throw new Error("process.chdir is not supported"); | |
} | |
function umask() { | |
return 0; | |
} | |
var performance = globalContext.performance || {}; | |
var performanceNow = performance.now || performance.mozNow || performance.msNow || performance.oNow || performance.webkitNow || function() { | |
return new Date().getTime(); | |
}; | |
function hrtime(previousTimestamp) { | |
var clocktime = performanceNow.call(performance) * 1e-3; | |
var seconds = Math.floor(clocktime); | |
var nanoseconds = Math.floor(clocktime % 1 * 1e9); | |
if (previousTimestamp) { | |
seconds = seconds - previousTimestamp[0]; | |
nanoseconds = nanoseconds - previousTimestamp[1]; | |
if (nanoseconds < 0) { | |
seconds--; | |
nanoseconds += 1e9; | |
} | |
} | |
return [seconds, nanoseconds]; | |
} | |
var startTime = new Date(); | |
function uptime() { | |
var currentTime = new Date(); | |
var dif = currentTime - startTime; | |
return dif / 1e3; | |
} | |
var process = { | |
nextTick, | |
title, | |
browser, | |
env: {NODE_ENV: "production"}, | |
argv, | |
version, | |
versions, | |
on, | |
addListener, | |
once, | |
off, | |
removeListener, | |
removeAllListeners, | |
emit, | |
binding, | |
cwd, | |
chdir, | |
umask, | |
hrtime, | |
platform, | |
release, | |
config, | |
uptime | |
}; | |
/** @license React v16.13.1 | |
* react-is.production.min.js | |
* | |
* Copyright (c) Facebook, Inc. and its affiliates. | |
* | |
* This source code is licensed under the MIT license found in the | |
* LICENSE file in the root directory of this source tree. | |
*/ | |
var b$1 = typeof Symbol === "function" && Symbol.for, c = b$1 ? Symbol.for("react.element") : 60103, d = b$1 ? Symbol.for("react.portal") : 60106, e = b$1 ? Symbol.for("react.fragment") : 60107, f = b$1 ? Symbol.for("react.strict_mode") : 60108, g$1 = b$1 ? Symbol.for("react.profiler") : 60114, h = b$1 ? Symbol.for("react.provider") : 60109, k$1 = b$1 ? Symbol.for("react.context") : 60110, l = b$1 ? Symbol.for("react.async_mode") : 60111, m = b$1 ? Symbol.for("react.concurrent_mode") : 60111, n = b$1 ? Symbol.for("react.forward_ref") : 60112, p = b$1 ? Symbol.for("react.suspense") : 60113, q$1 = b$1 ? Symbol.for("react.suspense_list") : 60120, r = b$1 ? Symbol.for("react.memo") : 60115, t = b$1 ? Symbol.for("react.lazy") : 60116, v$1 = b$1 ? Symbol.for("react.block") : 60121, w$1 = b$1 ? Symbol.for("react.fundamental") : 60117, x$1 = b$1 ? Symbol.for("react.responder") : 60118, y = b$1 ? Symbol.for("react.scope") : 60119; | |
function z$1(a) { | |
if (typeof a === "object" && a !== null) { | |
var u = a.$$typeof; | |
switch (u) { | |
case c: | |
switch (a = a.type, a) { | |
case l: | |
case m: | |
case e: | |
case g$1: | |
case f: | |
case p: | |
return a; | |
default: | |
switch (a = a && a.$$typeof, a) { | |
case k$1: | |
case n: | |
case t: | |
case r: | |
case h: | |
return a; | |
default: | |
return u; | |
} | |
} | |
case d: | |
return u; | |
} | |
} | |
} | |
function A$1(a) { | |
return z$1(a) === m; | |
} | |
var AsyncMode = l; | |
var ConcurrentMode = m; | |
var ContextConsumer = k$1; | |
var ContextProvider = h; | |
var Element = c; | |
var ForwardRef = n; | |
var Fragment = e; | |
var Lazy = t; | |
var Memo = r; | |
var Portal = d; | |
var Profiler = g$1; | |
var StrictMode = f; | |
var Suspense = p; | |
var isAsyncMode = function(a) { | |
return A$1(a) || z$1(a) === l; | |
}; | |
var isConcurrentMode = A$1; | |
var isContextConsumer = function(a) { | |
return z$1(a) === k$1; | |
}; | |
var isContextProvider = function(a) { | |
return z$1(a) === h; | |
}; | |
var isElement = function(a) { | |
return typeof a === "object" && a !== null && a.$$typeof === c; | |
}; | |
var isForwardRef = function(a) { | |
return z$1(a) === n; | |
}; | |
var isFragment = function(a) { | |
return z$1(a) === e; | |
}; | |
var isLazy = function(a) { | |
return z$1(a) === t; | |
}; | |
var isMemo = function(a) { | |
return z$1(a) === r; | |
}; | |
var isPortal = function(a) { | |
return z$1(a) === d; | |
}; | |
var isProfiler = function(a) { | |
return z$1(a) === g$1; | |
}; | |
var isStrictMode = function(a) { | |
return z$1(a) === f; | |
}; | |
var isSuspense = function(a) { | |
return z$1(a) === p; | |
}; | |
var isValidElementType = function(a) { | |
return typeof a === "string" || typeof a === "function" || a === e || a === m || a === g$1 || a === f || a === p || a === q$1 || typeof a === "object" && a !== null && (a.$$typeof === t || a.$$typeof === r || a.$$typeof === h || a.$$typeof === k$1 || a.$$typeof === n || a.$$typeof === w$1 || a.$$typeof === x$1 || a.$$typeof === y || a.$$typeof === v$1); | |
}; | |
var typeOf = z$1; | |
var reactIs_production_min = { | |
AsyncMode, | |
ConcurrentMode, | |
ContextConsumer, | |
ContextProvider, | |
Element, | |
ForwardRef, | |
Fragment, | |
Lazy, | |
Memo, | |
Portal, | |
Profiler, | |
StrictMode, | |
Suspense, | |
isAsyncMode, | |
isConcurrentMode, | |
isContextConsumer, | |
isContextProvider, | |
isElement, | |
isForwardRef, | |
isFragment, | |
isLazy, | |
isMemo, | |
isPortal, | |
isProfiler, | |
isStrictMode, | |
isSuspense, | |
isValidElementType, | |
typeOf | |
}; | |
var reactIs = createCommonjsModule(function(module) { | |
{ | |
module.exports = reactIs_production_min; | |
} | |
}); | |
function stylis_min(W2) { | |
function M2(d2, c2, e2, h2, a) { | |
for (var m2 = 0, b2 = 0, v2 = 0, n2 = 0, q2, g2, x2 = 0, K2 = 0, k2, u = k2 = q2 = 0, l2 = 0, r2 = 0, I2 = 0, t2 = 0, B3 = e2.length, J2 = B3 - 1, y2, f2 = "", p2 = "", F3 = "", G3 = "", C; l2 < B3; ) { | |
g2 = e2.charCodeAt(l2); | |
l2 === J2 && b2 + n2 + v2 + m2 !== 0 && (b2 !== 0 && (g2 = b2 === 47 ? 10 : 47), n2 = v2 = m2 = 0, B3++, J2++); | |
if (b2 + n2 + v2 + m2 === 0) { | |
if (l2 === J2 && (0 < r2 && (f2 = f2.replace(N2, "")), 0 < f2.trim().length)) { | |
switch (g2) { | |
case 32: | |
case 9: | |
case 59: | |
case 13: | |
case 10: | |
break; | |
default: | |
f2 += e2.charAt(l2); | |
} | |
g2 = 59; | |
} | |
switch (g2) { | |
case 123: | |
f2 = f2.trim(); | |
q2 = f2.charCodeAt(0); | |
k2 = 1; | |
for (t2 = ++l2; l2 < B3; ) { | |
switch (g2 = e2.charCodeAt(l2)) { | |
case 123: | |
k2++; | |
break; | |
case 125: | |
k2--; | |
break; | |
case 47: | |
switch (g2 = e2.charCodeAt(l2 + 1)) { | |
case 42: | |
case 47: | |
a: { | |
for (u = l2 + 1; u < J2; ++u) { | |
switch (e2.charCodeAt(u)) { | |
case 47: | |
if (g2 === 42 && e2.charCodeAt(u - 1) === 42 && l2 + 2 !== u) { | |
l2 = u + 1; | |
break a; | |
} | |
break; | |
case 10: | |
if (g2 === 47) { | |
l2 = u + 1; | |
break a; | |
} | |
} | |
} | |
l2 = u; | |
} | |
} | |
break; | |
case 91: | |
g2++; | |
case 40: | |
g2++; | |
case 34: | |
case 39: | |
for (; l2++ < J2 && e2.charCodeAt(l2) !== g2; ) { | |
} | |
} | |
if (k2 === 0) | |
break; | |
l2++; | |
} | |
k2 = e2.substring(t2, l2); | |
q2 === 0 && (q2 = (f2 = f2.replace(ca, "").trim()).charCodeAt(0)); | |
switch (q2) { | |
case 64: | |
0 < r2 && (f2 = f2.replace(N2, "")); | |
g2 = f2.charCodeAt(1); | |
switch (g2) { | |
case 100: | |
case 109: | |
case 115: | |
case 45: | |
r2 = c2; | |
break; | |
default: | |
r2 = O; | |
} | |
k2 = M2(c2, r2, k2, g2, a + 1); | |
t2 = k2.length; | |
0 < A2 && (r2 = X2(O, f2, I2), C = H2(3, k2, r2, c2, D, z2, t2, g2, a, h2), f2 = r2.join(""), C !== void 0 && (t2 = (k2 = C.trim()).length) === 0 && (g2 = 0, k2 = "")); | |
if (0 < t2) | |
switch (g2) { | |
case 115: | |
f2 = f2.replace(da, ea); | |
case 100: | |
case 109: | |
case 45: | |
k2 = f2 + "{" + k2 + "}"; | |
break; | |
case 107: | |
f2 = f2.replace(fa, "$1 $2"); | |
k2 = f2 + "{" + k2 + "}"; | |
k2 = w2 === 1 || w2 === 2 && L2("@" + k2, 3) ? "@-webkit-" + k2 + "@" + k2 : "@" + k2; | |
break; | |
default: | |
k2 = f2 + k2, h2 === 112 && (k2 = (p2 += k2, "")); | |
} | |
else | |
k2 = ""; | |
break; | |
default: | |
k2 = M2(c2, X2(c2, f2, I2), k2, h2, a + 1); | |
} | |
F3 += k2; | |
k2 = I2 = r2 = u = q2 = 0; | |
f2 = ""; | |
g2 = e2.charCodeAt(++l2); | |
break; | |
case 125: | |
case 59: | |
f2 = (0 < r2 ? f2.replace(N2, "") : f2).trim(); | |
if (1 < (t2 = f2.length)) | |
switch (u === 0 && (q2 = f2.charCodeAt(0), q2 === 45 || 96 < q2 && 123 > q2) && (t2 = (f2 = f2.replace(" ", ":")).length), 0 < A2 && (C = H2(1, f2, c2, d2, D, z2, p2.length, h2, a, h2)) !== void 0 && (t2 = (f2 = C.trim()).length) === 0 && (f2 = "\0\0"), q2 = f2.charCodeAt(0), g2 = f2.charCodeAt(1), q2) { | |
case 0: | |
break; | |
case 64: | |
if (g2 === 105 || g2 === 99) { | |
G3 += f2 + e2.charAt(l2); | |
break; | |
} | |
default: | |
f2.charCodeAt(t2 - 1) !== 58 && (p2 += P2(f2, q2, g2, f2.charCodeAt(2))); | |
} | |
I2 = r2 = u = q2 = 0; | |
f2 = ""; | |
g2 = e2.charCodeAt(++l2); | |
} | |
} | |
switch (g2) { | |
case 13: | |
case 10: | |
b2 === 47 ? b2 = 0 : 1 + q2 === 0 && h2 !== 107 && 0 < f2.length && (r2 = 1, f2 += "\0"); | |
0 < A2 * Y2 && H2(0, f2, c2, d2, D, z2, p2.length, h2, a, h2); | |
z2 = 1; | |
D++; | |
break; | |
case 59: | |
case 125: | |
if (b2 + n2 + v2 + m2 === 0) { | |
z2++; | |
break; | |
} | |
default: | |
z2++; | |
y2 = e2.charAt(l2); | |
switch (g2) { | |
case 9: | |
case 32: | |
if (n2 + m2 + b2 === 0) | |
switch (x2) { | |
case 44: | |
case 58: | |
case 9: | |
case 32: | |
y2 = ""; | |
break; | |
default: | |
g2 !== 32 && (y2 = " "); | |
} | |
break; | |
case 0: | |
y2 = "\\0"; | |
break; | |
case 12: | |
y2 = "\\f"; | |
break; | |
case 11: | |
y2 = "\\v"; | |
break; | |
case 38: | |
n2 + b2 + m2 === 0 && (r2 = I2 = 1, y2 = "\f" + y2); | |
break; | |
case 108: | |
if (n2 + b2 + m2 + E2 === 0 && 0 < u) | |
switch (l2 - u) { | |
case 2: | |
x2 === 112 && e2.charCodeAt(l2 - 3) === 58 && (E2 = x2); | |
case 8: | |
K2 === 111 && (E2 = K2); | |
} | |
break; | |
case 58: | |
n2 + b2 + m2 === 0 && (u = l2); | |
break; | |
case 44: | |
b2 + v2 + n2 + m2 === 0 && (r2 = 1, y2 += "\r"); | |
break; | |
case 34: | |
case 39: | |
b2 === 0 && (n2 = n2 === g2 ? 0 : n2 === 0 ? g2 : n2); | |
break; | |
case 91: | |
n2 + b2 + v2 === 0 && m2++; | |
break; | |
case 93: | |
n2 + b2 + v2 === 0 && m2--; | |
break; | |
case 41: | |
n2 + b2 + m2 === 0 && v2--; | |
break; | |
case 40: | |
if (n2 + b2 + m2 === 0) { | |
if (q2 === 0) | |
switch (2 * x2 + 3 * K2) { | |
case 533: | |
break; | |
default: | |
q2 = 1; | |
} | |
v2++; | |
} | |
break; | |
case 64: | |
b2 + v2 + n2 + m2 + u + k2 === 0 && (k2 = 1); | |
break; | |
case 42: | |
case 47: | |
if (!(0 < n2 + m2 + v2)) | |
switch (b2) { | |
case 0: | |
switch (2 * g2 + 3 * e2.charCodeAt(l2 + 1)) { | |
case 235: | |
b2 = 47; | |
break; | |
case 220: | |
t2 = l2, b2 = 42; | |
} | |
break; | |
case 42: | |
g2 === 47 && x2 === 42 && t2 + 2 !== l2 && (e2.charCodeAt(t2 + 2) === 33 && (p2 += e2.substring(t2, l2 + 1)), y2 = "", b2 = 0); | |
} | |
} | |
b2 === 0 && (f2 += y2); | |
} | |
K2 = x2; | |
x2 = g2; | |
l2++; | |
} | |
t2 = p2.length; | |
if (0 < t2) { | |
r2 = c2; | |
if (0 < A2 && (C = H2(2, p2, r2, d2, D, z2, t2, h2, a, h2), C !== void 0 && (p2 = C).length === 0)) | |
return G3 + p2 + F3; | |
p2 = r2.join(",") + "{" + p2 + "}"; | |
if (w2 * E2 !== 0) { | |
w2 !== 2 || L2(p2, 2) || (E2 = 0); | |
switch (E2) { | |
case 111: | |
p2 = p2.replace(ha, ":-moz-$1") + p2; | |
break; | |
case 112: | |
p2 = p2.replace(Q2, "::-webkit-input-$1") + p2.replace(Q2, "::-moz-$1") + p2.replace(Q2, ":-ms-input-$1") + p2; | |
} | |
E2 = 0; | |
} | |
} | |
return G3 + p2 + F3; | |
} | |
function X2(d2, c2, e2) { | |
var h2 = c2.trim().split(ia); | |
c2 = h2; | |
var a = h2.length, m2 = d2.length; | |
switch (m2) { | |
case 0: | |
case 1: | |
var b2 = 0; | |
for (d2 = m2 === 0 ? "" : d2[0] + " "; b2 < a; ++b2) { | |
c2[b2] = Z2(d2, c2[b2], e2).trim(); | |
} | |
break; | |
default: | |
var v2 = b2 = 0; | |
for (c2 = []; b2 < a; ++b2) { | |
for (var n2 = 0; n2 < m2; ++n2) { | |
c2[v2++] = Z2(d2[n2] + " ", h2[b2], e2).trim(); | |
} | |
} | |
} | |
return c2; | |
} | |
function Z2(d2, c2, e2) { | |
var h2 = c2.charCodeAt(0); | |
33 > h2 && (h2 = (c2 = c2.trim()).charCodeAt(0)); | |
switch (h2) { | |
case 38: | |
return c2.replace(F2, "$1" + d2.trim()); | |
case 58: | |
return d2.trim() + c2.replace(F2, "$1" + d2.trim()); | |
default: | |
if (0 < 1 * e2 && 0 < c2.indexOf("\f")) | |
return c2.replace(F2, (d2.charCodeAt(0) === 58 ? "" : "$1") + d2.trim()); | |
} | |
return d2 + c2; | |
} | |
function P2(d2, c2, e2, h2) { | |
var a = d2 + ";", m2 = 2 * c2 + 3 * e2 + 4 * h2; | |
if (m2 === 944) { | |
d2 = a.indexOf(":", 9) + 1; | |
var b2 = a.substring(d2, a.length - 1).trim(); | |
b2 = a.substring(0, d2).trim() + b2 + ";"; | |
return w2 === 1 || w2 === 2 && L2(b2, 1) ? "-webkit-" + b2 + b2 : b2; | |
} | |
if (w2 === 0 || w2 === 2 && !L2(a, 1)) | |
return a; | |
switch (m2) { | |
case 1015: | |
return a.charCodeAt(10) === 97 ? "-webkit-" + a + a : a; | |
case 951: | |
return a.charCodeAt(3) === 116 ? "-webkit-" + a + a : a; | |
case 963: | |
return a.charCodeAt(5) === 110 ? "-webkit-" + a + a : a; | |
case 1009: | |
if (a.charCodeAt(4) !== 100) | |
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: | |
if (a.charCodeAt(8) === 45) | |
return "-webkit-" + a + a; | |
if (0 < a.indexOf("image-set(", 11)) | |
return a.replace(ja, "$1-webkit-$2") + a; | |
break; | |
case 932: | |
if (a.charCodeAt(4) === 45) | |
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 (a.charCodeAt(8) !== 99) | |
break; | |
b2 = a.substring(a.indexOf(":", 15)).replace("flex-", "").replace("space-between", "justify"); | |
return "-webkit-box-pack" + b2 + "-webkit-" + a + "-ms-flex-pack" + b2 + a; | |
case 1005: | |
return ka.test(a) ? a.replace(aa, ":-webkit-") + a.replace(aa, ":-moz-") + a : a; | |
case 1e3: | |
b2 = a.substring(13).trim(); | |
c2 = b2.indexOf("-") + 1; | |
switch (b2.charCodeAt(0) + b2.charCodeAt(c2)) { | |
case 226: | |
b2 = a.replace(G2, "tb"); | |
break; | |
case 232: | |
b2 = a.replace(G2, "tb-rl"); | |
break; | |
case 220: | |
b2 = a.replace(G2, "lr"); | |
break; | |
default: | |
return a; | |
} | |
return "-webkit-" + a + "-ms-" + b2 + a; | |
case 1017: | |
if (a.indexOf("sticky", 9) === -1) | |
break; | |
case 975: | |
c2 = (a = d2).length - 10; | |
b2 = (a.charCodeAt(c2) === 33 ? a.substring(0, c2) : a).substring(d2.indexOf(":", 7) + 1).trim(); | |
switch (m2 = b2.charCodeAt(0) + (b2.charCodeAt(7) | 0)) { | |
case 203: | |
if (111 > b2.charCodeAt(8)) | |
break; | |
case 115: | |
a = a.replace(b2, "-webkit-" + b2) + ";" + a; | |
break; | |
case 207: | |
case 102: | |
a = a.replace(b2, "-webkit-" + (102 < m2 ? "inline-" : "") + "box") + ";" + a.replace(b2, "-webkit-" + b2) + ";" + a.replace(b2, "-ms-" + b2 + "box") + ";" + a; | |
} | |
return a + ";"; | |
case 938: | |
if (a.charCodeAt(5) === 45) | |
switch (a.charCodeAt(6)) { | |
case 105: | |
return b2 = a.replace("-items", ""), "-webkit-" + a + "-webkit-box-" + b2 + "-ms-flex-" + b2 + 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", "").replace(ba, "") + a; | |
} | |
break; | |
case 973: | |
case 989: | |
if (a.charCodeAt(3) !== 45 || a.charCodeAt(4) === 122) | |
break; | |
case 931: | |
case 953: | |
if (la.test(d2) === true) | |
return (b2 = d2.substring(d2.indexOf(":") + 1)).charCodeAt(0) === 115 ? P2(d2.replace("stretch", "fill-available"), c2, e2, h2).replace(":fill-available", ":stretch") : a.replace(b2, "-webkit-" + b2) + a.replace(b2, "-moz-" + b2.replace("fill-", "")) + a; | |
break; | |
case 962: | |
if (a = "-webkit-" + a + (a.charCodeAt(5) === 102 ? "-ms-" + a : "") + a, e2 + h2 === 211 && a.charCodeAt(13) === 105 && 0 < a.indexOf("transform", 10)) | |
return a.substring(0, a.indexOf(";", 27) + 1).replace(ma, "$1-webkit-$2") + a; | |
} | |
return a; | |
} | |
function L2(d2, c2) { | |
var e2 = d2.indexOf(c2 === 1 ? ":" : "{"), h2 = d2.substring(0, c2 !== 3 ? e2 : 10); | |
e2 = d2.substring(e2 + 1, d2.length - 1); | |
return R(c2 !== 2 ? h2 : h2.replace(na, "$1"), e2, c2); | |
} | |
function ea(d2, c2) { | |
var e2 = P2(c2, c2.charCodeAt(0), c2.charCodeAt(1), c2.charCodeAt(2)); | |
return e2 !== c2 + ";" ? e2.replace(oa, " or ($1)").substring(4) : "(" + c2 + ")"; | |
} | |
function H2(d2, c2, e2, h2, a, m2, b2, v2, n2, q2) { | |
for (var g2 = 0, x2 = c2, w3; g2 < A2; ++g2) { | |
switch (w3 = S2[g2].call(B2, d2, x2, e2, h2, a, m2, b2, v2, n2, q2)) { | |
case void 0: | |
case false: | |
case true: | |
case null: | |
break; | |
default: | |
x2 = w3; | |
} | |
} | |
if (x2 !== c2) | |
return x2; | |
} | |
function T2(d2) { | |
switch (d2) { | |
case void 0: | |
case null: | |
A2 = S2.length = 0; | |
break; | |
default: | |
if (typeof d2 === "function") | |
S2[A2++] = d2; | |
else if (typeof d2 === "object") | |
for (var c2 = 0, e2 = d2.length; c2 < e2; ++c2) { | |
T2(d2[c2]); | |
} | |
else | |
Y2 = !!d2 | 0; | |
} | |
return T2; | |
} | |
function U2(d2) { | |
d2 = d2.prefix; | |
d2 !== void 0 && (R = null, d2 ? typeof d2 !== "function" ? w2 = 1 : (w2 = 2, R = d2) : w2 = 0); | |
return U2; | |
} | |
function B2(d2, c2) { | |
var e2 = d2; | |
33 > e2.charCodeAt(0) && (e2 = e2.trim()); | |
V2 = e2; | |
e2 = [V2]; | |
if (0 < A2) { | |
var h2 = H2(-1, c2, e2, e2, D, z2, 0, 0, 0, 0); | |
h2 !== void 0 && typeof h2 === "string" && (c2 = h2); | |
} | |
var a = M2(O, e2, c2, 0, 0); | |
0 < A2 && (h2 = H2(-2, a, e2, e2, D, z2, a.length, 0, 0, 0), h2 !== void 0 && (a = h2)); | |
V2 = ""; | |
E2 = 0; | |
z2 = D = 1; | |
return a; | |
} | |
var ca = /^\0+/g, N2 = /[\0\r\f]/g, aa = /: */g, ka = /zoo|gra/, ma = /([,: ])(transform)/g, ia = /,\r+?/g, F2 = /([\t\r\n ])*\f?&/g, fa = /@(k\w+)\s*(\S*)\s*/, Q2 = /::(place)/g, ha = /:(read-only)/g, G2 = /[svh]\w+-[tblr]{2}/, da = /\(\s*(.*)\s*\)/g, oa = /([\s\S]*?);/g, ba = /-self|flex-/g, na = /[^]*?(:[rp][el]a[\w-]+)[^]*/, la = /stretch|:\s*\w+\-(?:conte|avail)/, ja = /([^-])(image-set\()/, z2 = 1, D = 1, E2 = 0, w2 = 1, O = [], S2 = [], A2 = 0, R = null, Y2 = 0, V2 = ""; | |
B2.use = T2; | |
B2.set = U2; | |
W2 !== void 0 && U2(W2); | |
return B2; | |
} | |
var unitlessKeys = { | |
animationIterationCount: 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, | |
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 | |
}; | |
function memoize(fn) { | |
var cache = {}; | |
return function(arg) { | |
if (cache[arg] === void 0) | |
cache[arg] = fn(arg); | |
return cache[arg]; | |
}; | |
} | |
var reactPropsRegex = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|inert|itemProp|itemScope|itemType|itemID|itemRef|on|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/; | |
var index = memoize(function(prop) { | |
return reactPropsRegex.test(prop) || prop.charCodeAt(0) === 111 && prop.charCodeAt(1) === 110 && prop.charCodeAt(2) < 91; | |
}); | |
var REACT_STATICS = { | |
childContextTypes: true, | |
contextType: true, | |
contextTypes: true, | |
defaultProps: true, | |
displayName: true, | |
getDefaultProps: true, | |
getDerivedStateFromError: true, | |
getDerivedStateFromProps: true, | |
mixins: true, | |
propTypes: true, | |
type: true | |
}; | |
var KNOWN_STATICS = { | |
name: true, | |
length: true, | |
prototype: true, | |
caller: true, | |
callee: true, | |
arguments: true, | |
arity: true | |
}; | |
var FORWARD_REF_STATICS = { | |
$$typeof: true, | |
render: true, | |
defaultProps: true, | |
displayName: true, | |
propTypes: true | |
}; | |
var MEMO_STATICS = { | |
$$typeof: true, | |
compare: true, | |
defaultProps: true, | |
displayName: true, | |
propTypes: true, | |
type: true | |
}; | |
var TYPE_STATICS = {}; | |
TYPE_STATICS[reactIs.ForwardRef] = FORWARD_REF_STATICS; | |
TYPE_STATICS[reactIs.Memo] = MEMO_STATICS; | |
function getStatics(component) { | |
if (reactIs.isMemo(component)) { | |
return MEMO_STATICS; | |
} | |
return TYPE_STATICS[component["$$typeof"]] || REACT_STATICS; | |
} | |
var defineProperty = Object.defineProperty; | |
var getOwnPropertyNames = Object.getOwnPropertyNames; | |
var getOwnPropertySymbols = Object.getOwnPropertySymbols; | |
var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; | |
var getPrototypeOf = Object.getPrototypeOf; | |
var objectPrototype = Object.prototype; | |
function hoistNonReactStatics(targetComponent, sourceComponent, blacklist) { | |
if (typeof sourceComponent !== "string") { | |
if (objectPrototype) { | |
var inheritedComponent = getPrototypeOf(sourceComponent); | |
if (inheritedComponent && inheritedComponent !== objectPrototype) { | |
hoistNonReactStatics(targetComponent, inheritedComponent, blacklist); | |
} | |
} | |
var keys = getOwnPropertyNames(sourceComponent); | |
if (getOwnPropertySymbols) { | |
keys = keys.concat(getOwnPropertySymbols(sourceComponent)); | |
} | |
var targetStatics = getStatics(targetComponent); | |
var sourceStatics = getStatics(sourceComponent); | |
for (var i = 0; i < keys.length; ++i) { | |
var key = keys[i]; | |
if (!KNOWN_STATICS[key] && !(blacklist && blacklist[key]) && !(sourceStatics && sourceStatics[key]) && !(targetStatics && targetStatics[key])) { | |
var descriptor = getOwnPropertyDescriptor(sourceComponent, key); | |
try { | |
defineProperty(targetComponent, key, descriptor); | |
} catch (e2) { | |
} | |
} | |
} | |
} | |
return targetComponent; | |
} | |
var hoistNonReactStatics_cjs = hoistNonReactStatics; | |
function v() { | |
return (v = Object.assign || function(e2) { | |
for (var t2 = 1; t2 < arguments.length; t2++) { | |
var n2 = arguments[t2]; | |
for (var r2 in n2) | |
Object.prototype.hasOwnProperty.call(n2, r2) && (e2[r2] = n2[r2]); | |
} | |
return e2; | |
}).apply(this, arguments); | |
} | |
var g = function(e2, t2) { | |
for (var n2 = [e2[0]], r2 = 0, o = t2.length; r2 < o; r2 += 1) | |
n2.push(t2[r2], e2[r2 + 1]); | |
return n2; | |
}, S = function(t2) { | |
return t2 !== null && typeof t2 == "object" && (t2.toString ? t2.toString() : Object.prototype.toString.call(t2)) === "[object Object]" && !reactIs.typeOf(t2); | |
}, w = Object.freeze([]), E = Object.freeze({}); | |
function b(e2) { | |
return typeof e2 == "function"; | |
} | |
function _(e2) { | |
return e2.displayName || e2.name || "Component"; | |
} | |
function N(e2) { | |
return e2 && typeof e2.styledComponentId == "string"; | |
} | |
var A = typeof process != "undefined" && process.env.SC_ATTR || "data-styled", I = typeof window != "undefined" && "HTMLElement" in window, P = Boolean(typeof SC_DISABLE_SPEEDY == "boolean" ? SC_DISABLE_SPEEDY : typeof process != "undefined" && process.env.REACT_APP_SC_DISABLE_SPEEDY !== void 0 && process.env.REACT_APP_SC_DISABLE_SPEEDY !== "" ? process.env.REACT_APP_SC_DISABLE_SPEEDY : typeof process != "undefined" && process.env.SC_DISABLE_SPEEDY !== void 0 && process.env.SC_DISABLE_SPEEDY !== "" ? process.env.SC_DISABLE_SPEEDY : false); | |
function j(e2) { | |
for (var t2 = arguments.length, n2 = new Array(t2 > 1 ? t2 - 1 : 0), r2 = 1; r2 < t2; r2++) | |
n2[r2 - 1] = arguments[r2]; | |
throw new Error("An error occurred. See https://git.io/JUIaE#" + e2 + " for more information." + (n2.length > 0 ? " Args: " + n2.join(", ") : "")); | |
} | |
var T = function() { | |
function e2(e3) { | |
this.groupSizes = new Uint32Array(512), this.length = 512, this.tag = e3; | |
} | |
var t2 = e2.prototype; | |
return t2.indexOfGroup = function(e3) { | |
for (var t3 = 0, n2 = 0; n2 < e3; n2++) | |
t3 += this.groupSizes[n2]; | |
return t3; | |
}, t2.insertRules = function(e3, t3) { | |
if (e3 >= this.groupSizes.length) { | |
for (var n2 = this.groupSizes, r2 = n2.length, o = r2; e3 >= o; ) | |
(o <<= 1) < 0 && j(16, "" + e3); | |
this.groupSizes = new Uint32Array(o), this.groupSizes.set(n2), this.length = o; | |
for (var i = r2; i < o; i++) | |
this.groupSizes[i] = 0; | |
} | |
for (var s = this.indexOfGroup(e3 + 1), a = 0, c2 = t3.length; a < c2; a++) | |
this.tag.insertRule(s, t3[a]) && (this.groupSizes[e3]++, s++); | |
}, t2.clearGroup = function(e3) { | |
if (e3 < this.length) { | |
var t3 = this.groupSizes[e3], n2 = this.indexOfGroup(e3), r2 = n2 + t3; | |
this.groupSizes[e3] = 0; | |
for (var o = n2; o < r2; o++) | |
this.tag.deleteRule(n2); | |
} | |
}, t2.getGroup = function(e3) { | |
var t3 = ""; | |
if (e3 >= this.length || this.groupSizes[e3] === 0) | |
return t3; | |
for (var n2 = this.groupSizes[e3], r2 = this.indexOfGroup(e3), o = r2 + n2, i = r2; i < o; i++) | |
t3 += this.tag.getRule(i) + "/*!sc*/\n"; | |
return t3; | |
}, e2; | |
}(), k = new Map(), x = new Map(), V = 1, B = function(e2) { | |
if (k.has(e2)) | |
return k.get(e2); | |
for (; x.has(V); ) | |
V++; | |
var t2 = V++; | |
return k.set(e2, t2), x.set(t2, e2), t2; | |
}, M = function(e2) { | |
return x.get(e2); | |
}, z = function(e2, t2) { | |
k.set(e2, t2), x.set(t2, e2); | |
}, L = "style[" + A + '][data-styled-version="5.2.3"]', G = new RegExp("^" + A + '\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'), F = function(e2, t2, n2) { | |
for (var r2, o = n2.split(","), i = 0, s = o.length; i < s; i++) | |
(r2 = o[i]) && e2.registerName(t2, r2); | |
}, Y = function(e2, t2) { | |
for (var n2 = t2.innerHTML.split("/*!sc*/\n"), r2 = [], o = 0, i = n2.length; o < i; o++) { | |
var s = n2[o].trim(); | |
if (s) { | |
var a = s.match(G); | |
if (a) { | |
var c2 = 0 | parseInt(a[1], 10), u = a[2]; | |
c2 !== 0 && (z(u, c2), F(e2, u, a[3]), e2.getTag().insertRules(c2, r2)), r2.length = 0; | |
} else | |
r2.push(s); | |
} | |
} | |
}, q = function() { | |
return typeof window != "undefined" && window.__webpack_nonce__ !== void 0 ? window.__webpack_nonce__ : null; | |
}, H = function(e2) { | |
var t2 = document.head, n2 = e2 || t2, r2 = document.createElement("style"), o = function(e3) { | |
for (var t3 = e3.childNodes, n3 = t3.length; n3 >= 0; n3--) { | |
var r3 = t3[n3]; | |
if (r3 && r3.nodeType === 1 && r3.hasAttribute(A)) | |
return r3; | |
} | |
}(n2), i = o !== void 0 ? o.nextSibling : null; | |
r2.setAttribute(A, "active"), r2.setAttribute("data-styled-version", "5.2.3"); | |
var s = q(); | |
return s && r2.setAttribute("nonce", s), n2.insertBefore(r2, i), r2; | |
}, $ = function() { | |
function e2(e3) { | |
var t3 = this.element = H(e3); | |
t3.appendChild(document.createTextNode("")), this.sheet = function(e4) { | |
if (e4.sheet) | |
return e4.sheet; | |
for (var t4 = document.styleSheets, n2 = 0, r2 = t4.length; n2 < r2; n2++) { | |
var o = t4[n2]; | |
if (o.ownerNode === e4) | |
return o; | |
} | |
j(17); | |
}(t3), this.length = 0; | |
} | |
var t2 = e2.prototype; | |
return t2.insertRule = function(e3, t3) { | |
try { | |
return this.sheet.insertRule(t3, e3), this.length++, true; | |
} catch (e4) { | |
return false; | |
} | |
}, t2.deleteRule = function(e3) { | |
this.sheet.deleteRule(e3), this.length--; | |
}, t2.getRule = function(e3) { | |
var t3 = this.sheet.cssRules[e3]; | |
return t3 !== void 0 && typeof t3.cssText == "string" ? t3.cssText : ""; | |
}, e2; | |
}(), W = function() { | |
function e2(e3) { | |
var t3 = this.element = H(e3); | |
this.nodes = t3.childNodes, this.length = 0; | |
} | |
var t2 = e2.prototype; | |
return t2.insertRule = function(e3, t3) { | |
if (e3 <= this.length && e3 >= 0) { | |
var n2 = document.createTextNode(t3), r2 = this.nodes[e3]; | |
return this.element.insertBefore(n2, r2 || null), this.length++, true; | |
} | |
return false; | |
}, t2.deleteRule = function(e3) { | |
this.element.removeChild(this.nodes[e3]), this.length--; | |
}, t2.getRule = function(e3) { | |
return e3 < this.length ? this.nodes[e3].textContent : ""; | |
}, e2; | |
}(), U = function() { | |
function e2(e3) { | |
this.rules = [], this.length = 0; | |
} | |
var t2 = e2.prototype; | |
return t2.insertRule = function(e3, t3) { | |
return e3 <= this.length && (this.rules.splice(e3, 0, t3), this.length++, true); | |
}, t2.deleteRule = function(e3) { | |
this.rules.splice(e3, 1), this.length--; | |
}, t2.getRule = function(e3) { | |
return e3 < this.length ? this.rules[e3] : ""; | |
}, e2; | |
}(), J = I, X = {isServer: !I, useCSSOMInjection: !P}, Z = function() { | |
function e2(e3, t3, n2) { | |
e3 === void 0 && (e3 = E), t3 === void 0 && (t3 = {}), this.options = v({}, X, {}, e3), this.gs = t3, this.names = new Map(n2), !this.options.isServer && I && J && (J = false, function(e4) { | |
for (var t4 = document.querySelectorAll(L), n3 = 0, r2 = t4.length; n3 < r2; n3++) { | |
var o = t4[n3]; | |
o && o.getAttribute(A) !== "active" && (Y(e4, o), o.parentNode && o.parentNode.removeChild(o)); | |
} | |
}(this)); | |
} | |
e2.registerId = function(e3) { | |
return B(e3); | |
}; | |
var t2 = e2.prototype; | |
return t2.reconstructWithOptions = function(t3, n2) { | |
return n2 === void 0 && (n2 = true), new e2(v({}, this.options, {}, t3), this.gs, n2 && this.names || void 0); | |
}, t2.allocateGSInstance = function(e3) { | |
return this.gs[e3] = (this.gs[e3] || 0) + 1; | |
}, t2.getTag = function() { | |
return this.tag || (this.tag = (n2 = (t3 = this.options).isServer, r2 = t3.useCSSOMInjection, o = t3.target, e3 = n2 ? new U(o) : r2 ? new $(o) : new W(o), new T(e3))); | |
var e3, t3, n2, r2, o; | |
}, t2.hasNameForId = function(e3, t3) { | |
return this.names.has(e3) && this.names.get(e3).has(t3); | |
}, t2.registerName = function(e3, t3) { | |
if (B(e3), this.names.has(e3)) | |
this.names.get(e3).add(t3); | |
else { | |
var n2 = new Set(); | |
n2.add(t3), this.names.set(e3, n2); | |
} | |
}, t2.insertRules = function(e3, t3, n2) { | |
this.registerName(e3, t3), this.getTag().insertRules(B(e3), n2); | |
}, t2.clearNames = function(e3) { | |
this.names.has(e3) && this.names.get(e3).clear(); | |
}, t2.clearRules = function(e3) { | |
this.getTag().clearGroup(B(e3)), this.clearNames(e3); | |
}, t2.clearTag = function() { | |
this.tag = void 0; | |
}, t2.toString = function() { | |
return function(e3) { | |
for (var t3 = e3.getTag(), n2 = t3.length, r2 = "", o = 0; o < n2; o++) { | |
var i = M(o); | |
if (i !== void 0) { | |
var s = e3.names.get(i), a = t3.getGroup(o); | |
if (s !== void 0 && a.length !== 0) { | |
var c2 = A + ".g" + o + '[id="' + i + '"]', u = ""; | |
s !== void 0 && s.forEach(function(e4) { | |
e4.length > 0 && (u += e4 + ","); | |
}), r2 += "" + a + c2 + '{content:"' + u + '"}/*!sc*/\n'; | |
} | |
} | |
} | |
return r2; | |
}(this); | |
}, e2; | |
}(), K = /(a)(d)/gi, Q = function(e2) { | |
return String.fromCharCode(e2 + (e2 > 25 ? 39 : 97)); | |
}; | |
function ee(e2) { | |
var t2, n2 = ""; | |
for (t2 = Math.abs(e2); t2 > 52; t2 = t2 / 52 | 0) | |
n2 = Q(t2 % 52) + n2; | |
return (Q(t2 % 52) + n2).replace(K, "$1-$2"); | |
} | |
var te = function(e2, t2) { | |
for (var n2 = t2.length; n2; ) | |
e2 = 33 * e2 ^ t2.charCodeAt(--n2); | |
return e2; | |
}, ne = function(e2) { | |
return te(5381, e2); | |
}; | |
function re(e2) { | |
for (var t2 = 0; t2 < e2.length; t2 += 1) { | |
var n2 = e2[t2]; | |
if (b(n2) && !N(n2)) | |
return false; | |
} | |
return true; | |
} | |
var oe = ne("5.2.3"), ie = function() { | |
function e2(e3, t2, n2) { | |
this.rules = e3, this.staticRulesId = "", this.isStatic = (n2 === void 0 || n2.isStatic) && re(e3), this.componentId = t2, this.baseHash = te(oe, t2), this.baseStyle = n2, Z.registerId(t2); | |
} | |
return e2.prototype.generateAndInjectStyles = function(e3, t2, n2) { | |
var r2 = this.componentId, o = []; | |
if (this.baseStyle && o.push(this.baseStyle.generateAndInjectStyles(e3, t2, n2)), this.isStatic && !n2.hash) | |
if (this.staticRulesId && t2.hasNameForId(r2, this.staticRulesId)) | |
o.push(this.staticRulesId); | |
else { | |
var i = Ne(this.rules, e3, t2, n2).join(""), s = ee(te(this.baseHash, i.length) >>> 0); | |
if (!t2.hasNameForId(r2, s)) { | |
var a = n2(i, "." + s, void 0, r2); | |
t2.insertRules(r2, s, a); | |
} | |
o.push(s), this.staticRulesId = s; | |
} | |
else { | |
for (var c2 = this.rules.length, u = te(this.baseHash, n2.hash), l2 = "", d2 = 0; d2 < c2; d2++) { | |
var h2 = this.rules[d2]; | |
if (typeof h2 == "string") | |
l2 += h2, false; | |
else if (h2) { | |
var p2 = Ne(h2, e3, t2, n2), f2 = Array.isArray(p2) ? p2.join("") : p2; | |
u = te(u, f2 + d2), l2 += f2; | |
} | |
} | |
if (l2) { | |
var m2 = ee(u >>> 0); | |
if (!t2.hasNameForId(r2, m2)) { | |
var y2 = n2(l2, "." + m2, void 0, r2); | |
t2.insertRules(r2, m2, y2); | |
} | |
o.push(m2); | |
} | |
} | |
return o.join(" "); | |
}, e2; | |
}(), se = /^\s*\/\/.*$/gm, ae = [":", "[", ".", "#"]; | |
function ce(e2) { | |
var t2, n2, r2, o, i = e2 === void 0 ? E : e2, s = i.options, a = s === void 0 ? E : s, c2 = i.plugins, u = c2 === void 0 ? w : c2, l2 = new stylis_min(a), d2 = [], h2 = function(e3) { | |
function t3(t4) { | |
if (t4) | |
try { | |
e3(t4 + "}"); | |
} catch (e4) { | |
} | |
} | |
return function(n3, r3, o2, i2, s2, a2, c3, u2, l3, d3) { | |
switch (n3) { | |
case 1: | |
if (l3 === 0 && r3.charCodeAt(0) === 64) | |
return e3(r3 + ";"), ""; | |
break; | |
case 2: | |
if (u2 === 0) | |
return r3 + "/*|*/"; | |
break; | |
case 3: | |
switch (u2) { | |
case 102: | |
case 112: | |
return e3(o2[0] + r3), ""; | |
default: | |
return r3 + (d3 === 0 ? "/*|*/" : ""); | |
} | |
case -2: | |
r3.split("/*|*/}").forEach(t3); | |
} | |
}; | |
}(function(e3) { | |
d2.push(e3); | |
}), f2 = function(e3, r3, i2) { | |
return r3 === 0 && ae.indexOf(i2[n2.length]) !== -1 || i2.match(o) ? e3 : "." + t2; | |
}; | |
function m2(e3, i2, s2, a2) { | |
a2 === void 0 && (a2 = "&"); | |
var c3 = e3.replace(se, ""), u2 = i2 && s2 ? s2 + " " + i2 + " { " + c3 + " }" : c3; | |
return t2 = a2, n2 = i2, r2 = new RegExp("\\" + n2 + "\\b", "g"), o = new RegExp("(\\" + n2 + "\\b){2,}"), l2(s2 || !i2 ? "" : i2, u2); | |
} | |
return l2.use([].concat(u, [function(e3, t3, o2) { | |
e3 === 2 && o2.length && o2[0].lastIndexOf(n2) > 0 && (o2[0] = o2[0].replace(r2, f2)); | |
}, h2, function(e3) { | |
if (e3 === -2) { | |
var t3 = d2; | |
return d2 = [], t3; | |
} | |
}])), m2.hash = u.length ? u.reduce(function(e3, t3) { | |
return t3.name || j(15), te(e3, t3.name); | |
}, 5381).toString() : "", m2; | |
} | |
var ue = react.createContext(); | |
ue.Consumer; | |
var de = react.createContext(), he = (de.Consumer, new Z()), pe = ce(); | |
function fe() { | |
return react.useContext(ue) || he; | |
} | |
function me() { | |
return react.useContext(de) || pe; | |
} | |
var ve = function() { | |
function e2(e3, t2) { | |
var n2 = this; | |
this.inject = function(e4, t3) { | |
t3 === void 0 && (t3 = pe); | |
var r2 = n2.name + t3.hash; | |
e4.hasNameForId(n2.id, r2) || e4.insertRules(n2.id, r2, t3(n2.rules, r2, "@keyframes")); | |
}, this.toString = function() { | |
return j(12, String(n2.name)); | |
}, this.name = e3, this.id = "sc-keyframes-" + e3, this.rules = t2; | |
} | |
return e2.prototype.getName = function(e3) { | |
return e3 === void 0 && (e3 = pe), this.name + e3.hash; | |
}, e2; | |
}(), ge = /([A-Z])/, Se = /([A-Z])/g, we = /^ms-/, Ee = function(e2) { | |
return "-" + e2.toLowerCase(); | |
}; | |
function be(e2) { | |
return ge.test(e2) ? e2.replace(Se, Ee).replace(we, "-ms-") : e2; | |
} | |
var _e = function(e2) { | |
return e2 == null || e2 === false || e2 === ""; | |
}; | |
function Ne(e2, n2, r2, o) { | |
if (Array.isArray(e2)) { | |
for (var i, s = [], a = 0, c2 = e2.length; a < c2; a += 1) | |
(i = Ne(e2[a], n2, r2, o)) !== "" && (Array.isArray(i) ? s.push.apply(s, i) : s.push(i)); | |
return s; | |
} | |
if (_e(e2)) | |
return ""; | |
if (N(e2)) | |
return "." + e2.styledComponentId; | |
if (b(e2)) { | |
if (typeof (l2 = e2) != "function" || l2.prototype && l2.prototype.isReactComponent || !n2) | |
return e2; | |
var u = e2(n2); | |
return Ne(u, n2, r2, o); | |
} | |
var l2; | |
return e2 instanceof ve ? r2 ? (e2.inject(r2, o), e2.getName(o)) : e2 : S(e2) ? function e3(t2, n3) { | |
var r3, o2, i2 = []; | |
for (var s2 in t2) | |
t2.hasOwnProperty(s2) && !_e(t2[s2]) && (S(t2[s2]) ? i2.push.apply(i2, e3(t2[s2], s2)) : b(t2[s2]) ? i2.push(be(s2) + ":", t2[s2], ";") : i2.push(be(s2) + ": " + (r3 = s2, (o2 = t2[s2]) == null || typeof o2 == "boolean" || o2 === "" ? "" : typeof o2 != "number" || o2 === 0 || r3 in unitlessKeys ? String(o2).trim() : o2 + "px") + ";")); | |
return n3 ? [n3 + " {"].concat(i2, ["}"]) : i2; | |
}(e2) : e2.toString(); | |
} | |
function Ae(e2) { | |
for (var t2 = arguments.length, n2 = new Array(t2 > 1 ? t2 - 1 : 0), r2 = 1; r2 < t2; r2++) | |
n2[r2 - 1] = arguments[r2]; | |
return b(e2) || S(e2) ? Ne(g(w, [e2].concat(n2))) : n2.length === 0 && e2.length === 1 && typeof e2[0] == "string" ? e2 : Ne(g(e2, n2)); | |
} | |
var Oe = function(e2, t2, n2) { | |
return n2 === void 0 && (n2 = E), e2.theme !== n2.theme && e2.theme || t2 || n2.theme; | |
}, Re = /[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g, De = /(^-|-$)/g; | |
function je(e2) { | |
return e2.replace(Re, "-").replace(De, ""); | |
} | |
var Te = function(e2) { | |
return ee(ne(e2) >>> 0); | |
}; | |
function ke(e2) { | |
return typeof e2 == "string" && true; | |
} | |
var xe = function(e2) { | |
return typeof e2 == "function" || typeof e2 == "object" && e2 !== null && !Array.isArray(e2); | |
}, Ve = function(e2) { | |
return e2 !== "__proto__" && e2 !== "constructor" && e2 !== "prototype"; | |
}; | |
function Be(e2, t2, n2) { | |
var r2 = e2[n2]; | |
xe(t2) && xe(r2) ? Me(r2, t2) : e2[n2] = t2; | |
} | |
function Me(e2) { | |
for (var t2 = arguments.length, n2 = new Array(t2 > 1 ? t2 - 1 : 0), r2 = 1; r2 < t2; r2++) | |
n2[r2 - 1] = arguments[r2]; | |
for (var o = 0, i = n2; o < i.length; o++) { | |
var s = i[o]; | |
if (xe(s)) | |
for (var a in s) | |
Ve(a) && Be(e2, s[a], a); | |
} | |
return e2; | |
} | |
var ze = react.createContext(); | |
ze.Consumer; | |
var Fe = {}; | |
function Ye(e2, t2, n2) { | |
var o = N(e2), s = !ke(e2), a = t2.attrs, c2 = a === void 0 ? w : a, d2 = t2.componentId, h2 = d2 === void 0 ? function(e3, t3) { | |
var n3 = typeof e3 != "string" ? "sc" : je(e3); | |
Fe[n3] = (Fe[n3] || 0) + 1; | |
var r2 = n3 + "-" + Te("5.2.3" + n3 + Fe[n3]); | |
return t3 ? t3 + "-" + r2 : r2; | |
}(t2.displayName, t2.parentComponentId) : d2, p2 = t2.displayName, f2 = p2 === void 0 ? function(e3) { | |
return ke(e3) ? "styled." + e3 : "Styled(" + _(e3) + ")"; | |
}(e2) : p2, g2 = t2.displayName && t2.componentId ? je(t2.displayName) + "-" + t2.componentId : t2.componentId || h2, S2 = o && e2.attrs ? Array.prototype.concat(e2.attrs, c2).filter(Boolean) : c2, A2 = t2.shouldForwardProp; | |
o && e2.shouldForwardProp && (A2 = t2.shouldForwardProp ? function(n3, r2) { | |
return e2.shouldForwardProp(n3, r2) && t2.shouldForwardProp(n3, r2); | |
} : e2.shouldForwardProp); | |
var C, I2 = new ie(n2, g2, o ? e2.componentStyle : void 0), P2 = I2.isStatic && c2.length === 0, O = function(e3, t3) { | |
return function(e4, t4, n3, r2) { | |
var o2 = e4.attrs, s2 = e4.componentStyle, a2 = e4.defaultProps, c3 = e4.foldedComponentIds, d3 = e4.shouldForwardProp, h3 = e4.styledComponentId, p3 = e4.target; | |
var f3 = function(e5, t5, n4) { | |
e5 === void 0 && (e5 = E); | |
var r3 = v({}, t5, {theme: e5}), o3 = {}; | |
return n4.forEach(function(e6) { | |
var t6, n5, i, s3 = e6; | |
for (t6 in b(s3) && (s3 = s3(r3)), s3) | |
r3[t6] = o3[t6] = t6 === "className" ? (n5 = o3[t6], i = s3[t6], n5 && i ? n5 + " " + i : n5 || i) : s3[t6]; | |
}), [r3, o3]; | |
}(Oe(t4, react.useContext(ze), a2) || E, t4, o2), y2 = f3[0], g3 = f3[1], S3 = function(e5, t5, n4, r3) { | |
var o3 = fe(), i = me(), s3 = t5 ? e5.generateAndInjectStyles(E, o3, i) : e5.generateAndInjectStyles(n4, o3, i); | |
return s3; | |
}(s2, r2, y2), w2 = n3, _2 = g3.$as || t4.$as || g3.as || t4.as || p3, N2 = ke(_2), A3 = g3 !== t4 ? v({}, t4, {}, g3) : t4, C2 = {}; | |
for (var I3 in A3) | |
I3[0] !== "$" && I3 !== "as" && (I3 === "forwardedAs" ? C2.as = A3[I3] : (d3 ? d3(I3, index) : !N2 || index(I3)) && (C2[I3] = A3[I3])); | |
return t4.style && g3.style !== t4.style && (C2.style = v({}, t4.style, {}, g3.style)), C2.className = Array.prototype.concat(c3, h3, S3 !== h3 ? S3 : null, t4.className, g3.className).filter(Boolean).join(" "), C2.ref = w2, react.createElement(_2, C2); | |
}(C, e3, t3, P2); | |
}; | |
return O.displayName = f2, (C = react.forwardRef(O)).attrs = S2, C.componentStyle = I2, C.displayName = f2, C.shouldForwardProp = A2, C.foldedComponentIds = o ? Array.prototype.concat(e2.foldedComponentIds, e2.styledComponentId) : w, C.styledComponentId = g2, C.target = o ? e2.target : e2, C.withComponent = function(e3) { | |
var r2 = t2.componentId, o2 = function(e4, t3) { | |
if (e4 == null) | |
return {}; | |
var n3, r3, o3 = {}, i2 = Object.keys(e4); | |
for (r3 = 0; r3 < i2.length; r3++) | |
n3 = i2[r3], t3.indexOf(n3) >= 0 || (o3[n3] = e4[n3]); | |
return o3; | |
}(t2, ["componentId"]), i = r2 && r2 + "-" + (ke(e3) ? e3 : je(_(e3))); | |
return Ye(e3, v({}, o2, {attrs: S2, componentId: i}), n2); | |
}, Object.defineProperty(C, "defaultProps", {get: function() { | |
return this._foldedDefaultProps; | |
}, set: function(t3) { | |
this._foldedDefaultProps = o ? Me({}, e2.defaultProps, t3) : t3; | |
}}), C.toString = function() { | |
return "." + C.styledComponentId; | |
}, s && hoistNonReactStatics_cjs(C, e2, {attrs: true, componentStyle: true, displayName: true, foldedComponentIds: true, shouldForwardProp: true, styledComponentId: true, target: true, withComponent: true}), C; | |
} | |
var qe = function(e2) { | |
return function e3(t2, r2, o) { | |
if (o === void 0 && (o = E), !reactIs.isValidElementType(r2)) | |
return j(1, String(r2)); | |
var i = function() { | |
return t2(r2, o, Ae.apply(void 0, arguments)); | |
}; | |
return i.withConfig = function(n2) { | |
return e3(t2, r2, v({}, o, {}, n2)); | |
}, i.attrs = function(n2) { | |
return e3(t2, r2, v({}, o, {attrs: Array.prototype.concat(o.attrs, n2).filter(Boolean)})); | |
}, i; | |
}(Ye, e2); | |
}; | |
["a", "abbr", "address", "area", "article", "aside", "audio", "b", "base", "bdi", "bdo", "big", "blockquote", "body", "br", "button", "canvas", "caption", "cite", "code", "col", "colgroup", "data", "datalist", "dd", "del", "details", "dfn", "dialog", "div", "dl", "dt", "em", "embed", "fieldset", "figcaption", "figure", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "iframe", "img", "input", "ins", "kbd", "keygen", "label", "legend", "li", "link", "main", "map", "mark", "marquee", "menu", "menuitem", "meta", "meter", "nav", "noscript", "object", "ol", "optgroup", "option", "output", "p", "param", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "script", "section", "select", "small", "source", "span", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "textarea", "tfoot", "th", "thead", "time", "title", "tr", "track", "u", "ul", "var", "video", "wbr", "circle", "clipPath", "defs", "ellipse", "foreignObject", "g", "image", "line", "linearGradient", "marker", "mask", "path", "pattern", "polygon", "polyline", "radialGradient", "rect", "stop", "svg", "text", "tspan"].forEach(function(e2) { | |
qe[e2] = qe(e2); | |
}); | |
export default qe; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment