Gazebo_simulation-Frontend/node_modules/emotion/dist/emotion.umd.min.js.map

1 line
73 KiB
Plaintext

{"version":3,"file":"emotion.umd.min.js","sources":["../../sheet/src/index.js","../../stylis/src/stylis.min.js","../../cache/src/stylis-plugins.js","../../unitless/src/index.js","../../serialize/src/index.js","../../memoize/src/index.js","../../hash/src/index.js","../../utils/src/index.js","../../create-emotion/src/index.js","../../cache/src/index.js","../src/index.js"],"sourcesContent":["// @flow\n/*\n\nBased off glamor's StyleSheet, thanks Sunil ❤️\n\nhigh performance StyleSheet for css-in-js systems\n\n- uses multiple style tags behind the scenes for millions of rules\n- uses `insertRule` for appending in production for *much* faster performance\n\n// usage\n\nimport { StyleSheet } from '@emotion/sheet'\n\nlet styleSheet = new StyleSheet({ key: '', container: document.head })\n\nstyleSheet.insert('#box { border: 1px solid red; }')\n- appends a css rule into the stylesheet\n\nstyleSheet.flush()\n- empties the stylesheet of all its contents\n\n*/\n\n// $FlowFixMe\nfunction sheetForTag(tag: HTMLStyleElement): CSSStyleSheet {\n if (tag.sheet) {\n // $FlowFixMe\n return tag.sheet\n }\n\n // this weirdness brought to you by firefox\n /* istanbul ignore next */\n for (let i = 0; i < document.styleSheets.length; i++) {\n if (document.styleSheets[i].ownerNode === tag) {\n // $FlowFixMe\n return document.styleSheets[i]\n }\n }\n}\n\nexport type Options = {\n nonce?: string,\n key: string,\n container: HTMLElement,\n speedy?: boolean\n}\n\nfunction createStyleElement(options: {\n key: string,\n nonce: string | void\n}): HTMLStyleElement {\n let tag = document.createElement('style')\n tag.setAttribute('data-emotion', options.key)\n if (options.nonce !== undefined) {\n tag.setAttribute('nonce', options.nonce)\n }\n tag.appendChild(document.createTextNode(''))\n return tag\n}\n\nexport class StyleSheet {\n isSpeedy: boolean\n ctr: number\n tags: HTMLStyleElement[]\n container: HTMLElement\n key: string\n nonce: string | void\n before: Element | null\n constructor(options: Options) {\n this.isSpeedy =\n options.speedy === undefined\n ? process.env.NODE_ENV === 'production'\n : options.speedy\n this.tags = []\n this.ctr = 0\n this.nonce = options.nonce\n // key is the value of the data-emotion attribute, it's used to identify different sheets\n this.key = options.key\n this.container = options.container\n this.before = null\n }\n insert(rule: string) {\n // the max length is how many rules we have per style tag, it's 65000 in speedy mode\n // it's 1 in dev because we insert source maps that map a single rule to a location\n // and you can only have one source map per style tag\n if (this.ctr % (this.isSpeedy ? 65000 : 1) === 0) {\n let tag = createStyleElement(this)\n let before\n if (this.tags.length === 0) {\n before = this.before\n } else {\n before = this.tags[this.tags.length - 1].nextSibling\n }\n this.container.insertBefore(tag, before)\n this.tags.push(tag)\n }\n const tag = this.tags[this.tags.length - 1]\n\n if (this.isSpeedy) {\n const sheet = sheetForTag(tag)\n try {\n // this is a really hot path\n // we check the second character first because having \"i\"\n // as the second character will happen less often than\n // having \"@\" as the first character\n let isImportRule =\n rule.charCodeAt(1) === 105 && rule.charCodeAt(0) === 64\n // this is the ultrafast version, works across browsers\n // the big drawback is that the css won't be editable in devtools\n sheet.insertRule(\n rule,\n // we need to insert @import rules before anything else\n // otherwise there will be an error\n // technically this means that the @import rules will\n // _usually_(not always since there could be multiple style tags)\n // be the first ones in prod and generally later in dev\n // this shouldn't really matter in the real world though\n // @import is generally only used for font faces from google fonts and etc.\n // so while this could be technically correct then it would be slower and larger\n // for a tiny bit of correctness that won't matter in the real world\n isImportRule ? 0 : sheet.cssRules.length\n )\n } catch (e) {\n if (process.env.NODE_ENV !== 'production') {\n console.warn(\n `There was a problem inserting the following rule: \"${rule}\"`,\n e\n )\n }\n }\n } else {\n tag.appendChild(document.createTextNode(rule))\n }\n this.ctr++\n }\n flush() {\n // $FlowFixMe\n this.tags.forEach(tag => tag.parentNode.removeChild(tag))\n this.tags = []\n this.ctr = 0\n }\n}\n","export default function(W) {\n function M(d, c, e, h, a) {\n for (\n var m = 0,\n b = 0,\n v = 0,\n n = 0,\n q,\n g,\n x = 0,\n K = 0,\n k,\n u = (k = q = 0),\n l = 0,\n r = 0,\n I = 0,\n t = 0,\n B = e.length,\n J = B - 1,\n y,\n f = '',\n p = '',\n F = '',\n G = '',\n C;\n l < B;\n\n ) {\n g = e.charCodeAt(l)\n l === J &&\n 0 !== b + n + v + m &&\n (0 !== b && (g = 47 === b ? 10 : 47), (n = v = m = 0), B++, J++)\n if (0 === b + n + v + m) {\n if (l === J && (0 < r && (f = f.replace(N, '')), 0 < f.trim().length)) {\n switch (g) {\n case 32:\n case 9:\n case 59:\n case 13:\n case 10:\n break\n default:\n f += e.charAt(l)\n }\n g = 59\n }\n switch (g) {\n case 123:\n f = f.trim()\n q = f.charCodeAt(0)\n k = 1\n for (t = ++l; l < B; ) {\n switch ((g = e.charCodeAt(l))) {\n case 123:\n k++\n break\n case 125:\n k--\n break\n case 47:\n switch ((g = e.charCodeAt(l + 1))) {\n case 42:\n case 47:\n a: {\n for (u = l + 1; u < J; ++u)\n switch (e.charCodeAt(u)) {\n case 47:\n if (\n 42 === g &&\n 42 === e.charCodeAt(u - 1) &&\n l + 2 !== u\n ) {\n l = u + 1\n break a\n }\n break\n case 10:\n if (47 === g) {\n l = u + 1\n break a\n }\n }\n l = u\n }\n }\n break\n case 91:\n g++\n case 40:\n g++\n case 34:\n case 39:\n for (; l++ < J && e.charCodeAt(l) !== g; );\n }\n if (0 === k) break\n l++\n }\n k = e.substring(t, l)\n 0 === q && (q = (f = f.replace(ca, '').trim()).charCodeAt(0))\n switch (q) {\n case 64:\n 0 < r && (f = f.replace(N, ''))\n g = f.charCodeAt(1)\n switch (g) {\n case 100:\n case 109:\n case 115:\n case 45:\n r = c\n break\n default:\n r = O\n }\n k = M(c, r, k, g, a + 1)\n t = k.length\n 0 < A &&\n ((r = X(O, f, I)),\n (C = H(3, k, r, c, D, z, t, g, a, h)),\n (f = r.join('')),\n void 0 !== C &&\n 0 === (t = (k = C.trim()).length) &&\n ((g = 0), (k = '')))\n if (0 < t)\n switch (g) {\n case 115:\n f = f.replace(da, ea)\n case 100:\n case 109:\n case 45:\n k = f + '{' + k + '}'\n break\n case 107:\n f = f.replace(fa, '$1 $2')\n k = f + '{' + k + '}'\n k =\n 1 === w || (2 === w && L('@' + k, 3))\n ? '@-webkit-' + k + '@' + k\n : '@' + k\n break\n default:\n ;(k = f + k), 112 === h && (k = ((p += k), ''))\n }\n else k = ''\n break\n default:\n k = M(c, X(c, f, I), k, h, a + 1)\n }\n F += k\n k = I = r = u = q = 0\n f = ''\n g = e.charCodeAt(++l)\n break\n case 125:\n case 59:\n f = (0 < r ? f.replace(N, '') : f).trim()\n if (1 < (t = f.length))\n switch (\n (0 === u &&\n ((q = f.charCodeAt(0)), 45 === q || (96 < q && 123 > q)) &&\n (t = (f = f.replace(' ', ':')).length),\n 0 < A &&\n void 0 !== (C = H(1, f, c, d, D, z, p.length, h, a, h)) &&\n 0 === (t = (f = C.trim()).length) &&\n (f = '\\x00\\x00'),\n (q = f.charCodeAt(0)),\n (g = f.charCodeAt(1)),\n q)\n ) {\n case 0:\n break\n case 64:\n if (105 === g || 99 === g) {\n G += f + e.charAt(l)\n break\n }\n default:\n 58 !== f.charCodeAt(t - 1) &&\n (p += P(f, q, g, f.charCodeAt(2)))\n }\n I = r = u = q = 0\n f = ''\n g = e.charCodeAt(++l)\n }\n }\n switch (g) {\n case 13:\n case 10:\n 47 === b\n ? (b = 0)\n : 0 === 1 + q &&\n 107 !== h &&\n 0 < f.length &&\n ((r = 1), (f += '\\x00'))\n 0 < A * Y && H(0, f, c, d, D, z, p.length, h, a, h)\n z = 1\n D++\n break\n case 59:\n case 125:\n if (0 === b + n + v + m) {\n z++\n break\n }\n default:\n z++\n y = e.charAt(l)\n switch (g) {\n case 9:\n case 32:\n if (0 === n + m + b)\n switch (x) {\n case 44:\n case 58:\n case 9:\n case 32:\n y = ''\n break\n default:\n 32 !== g && (y = ' ')\n }\n break\n case 0:\n y = '\\\\0'\n break\n case 12:\n y = '\\\\f'\n break\n case 11:\n y = '\\\\v'\n break\n case 38:\n 0 === n + b + m && ((r = I = 1), (y = '\\f' + y))\n break\n case 108:\n if (0 === n + b + m + E && 0 < u)\n switch (l - u) {\n case 2:\n 112 === x && 58 === e.charCodeAt(l - 3) && (E = x)\n case 8:\n 111 === K && (E = K)\n }\n break\n case 58:\n 0 === n + b + m && (u = l)\n break\n case 44:\n 0 === b + v + n + m && ((r = 1), (y += '\\r'))\n break\n case 34:\n case 39:\n 0 === b && (n = n === g ? 0 : 0 === n ? g : n)\n break\n case 91:\n 0 === n + b + v && m++\n break\n case 93:\n 0 === n + b + v && m--\n break\n case 41:\n 0 === n + b + m && v--\n break\n case 40:\n if (0 === n + b + m) {\n if (0 === q)\n switch (2 * x + 3 * K) {\n case 533:\n break\n default:\n q = 1\n }\n v++\n }\n break\n case 64:\n 0 === b + v + n + m + u + k && (k = 1)\n break\n case 42:\n case 47:\n if (!(0 < n + m + v))\n switch (b) {\n case 0:\n switch (2 * g + 3 * e.charCodeAt(l + 1)) {\n case 235:\n b = 47\n break\n case 220:\n ;(t = l), (b = 42)\n }\n break\n case 42:\n 47 === g &&\n 42 === x &&\n t + 2 !== l &&\n (33 === e.charCodeAt(t + 2) &&\n (p += e.substring(t, l + 1)),\n (y = ''),\n (b = 0))\n }\n }\n 0 === b && (f += y)\n }\n K = x\n x = g\n l++\n }\n t = p.length\n if (0 < t) {\n r = c\n if (\n 0 < A &&\n ((C = H(2, p, r, d, D, z, t, h, a, h)),\n void 0 !== C && 0 === (p = C).length)\n )\n return G + p + F\n p = r.join(',') + '{' + p + '}'\n if (0 !== w * E) {\n 2 !== w || L(p, 2) || (E = 0)\n switch (E) {\n case 111:\n p = p.replace(ha, ':-moz-$1') + p\n break\n case 112:\n p =\n p.replace(Q, '::-webkit-input-$1') +\n p.replace(Q, '::-moz-$1') +\n p.replace(Q, ':-ms-input-$1') +\n p\n }\n E = 0\n }\n }\n return G + p + F\n }\n function X(d, c, e) {\n var h = c.trim().split(ia)\n c = h\n var a = h.length,\n m = d.length\n switch (m) {\n case 0:\n case 1:\n var b = 0\n for (d = 0 === m ? '' : d[0] + ' '; b < a; ++b)\n c[b] = Z(d, c[b], e, m).trim()\n break\n default:\n var v = (b = 0)\n for (c = []; b < a; ++b)\n for (var n = 0; n < m; ++n) c[v++] = Z(d[n] + ' ', h[b], e, m).trim()\n }\n return c\n }\n function Z(d, c, e) {\n var h = c.charCodeAt(0)\n 33 > h && (h = (c = c.trim()).charCodeAt(0))\n switch (h) {\n case 38:\n return c.replace(F, '$1' + d.trim())\n case 58:\n return d.trim() + c.replace(F, '$1' + d.trim())\n default:\n if (0 < 1 * e && 0 < c.indexOf('\\f'))\n return c.replace(F, (58 === d.charCodeAt(0) ? '' : '$1') + d.trim())\n }\n return d + c\n }\n function P(d, c, e, h) {\n var a = d + ';',\n m = 2 * c + 3 * e + 4 * h\n if (944 === m) {\n d = a.indexOf(':', 9) + 1\n var b = a.substring(d, a.length - 1).trim()\n b = a.substring(0, d).trim() + b + ';'\n return 1 === w || (2 === w && L(b, 1)) ? '-webkit-' + b + b : b\n }\n if (0 === w || (2 === w && !L(a, 1))) return a\n switch (m) {\n case 1015:\n return 97 === a.charCodeAt(10) ? '-webkit-' + a + a : a\n case 951:\n return 116 === a.charCodeAt(3) ? '-webkit-' + a + a : a\n case 963:\n return 110 === a.charCodeAt(5) ? '-webkit-' + a + a : a\n case 1009:\n if (100 !== a.charCodeAt(4)) break\n case 969:\n case 942:\n return '-webkit-' + a + a\n case 978:\n return '-webkit-' + a + '-moz-' + a + a\n case 1019:\n case 983:\n return '-webkit-' + a + '-moz-' + a + '-ms-' + a + a\n case 883:\n if (45 === a.charCodeAt(8)) return '-webkit-' + a + a\n if (0 < a.indexOf('image-set(', 11))\n return a.replace(ja, '$1-webkit-$2') + a\n break\n case 932:\n if (45 === a.charCodeAt(4))\n switch (a.charCodeAt(5)) {\n case 103:\n return (\n '-webkit-box-' +\n a.replace('-grow', '') +\n '-webkit-' +\n a +\n '-ms-' +\n a.replace('grow', 'positive') +\n a\n )\n case 115:\n return (\n '-webkit-' + a + '-ms-' + a.replace('shrink', 'negative') + a\n )\n case 98:\n return (\n '-webkit-' +\n a +\n '-ms-' +\n a.replace('basis', 'preferred-size') +\n a\n )\n }\n return '-webkit-' + a + '-ms-' + a + a\n case 964:\n return '-webkit-' + a + '-ms-flex-' + a + a\n case 1023:\n if (99 !== a.charCodeAt(8)) break\n b = a\n .substring(a.indexOf(':', 15))\n .replace('flex-', '')\n .replace('space-between', 'justify')\n return '-webkit-box-pack' + b + '-webkit-' + a + '-ms-flex-pack' + b + a\n case 1005:\n return ka.test(a)\n ? a.replace(aa, ':-webkit-') + a.replace(aa, ':-moz-') + a\n : a\n case 1e3:\n b = a.substring(13).trim()\n c = b.indexOf('-') + 1\n switch (b.charCodeAt(0) + b.charCodeAt(c)) {\n case 226:\n b = a.replace(G, 'tb')\n break\n case 232:\n b = a.replace(G, 'tb-rl')\n break\n case 220:\n b = a.replace(G, 'lr')\n break\n default:\n return a\n }\n return '-webkit-' + a + '-ms-' + b + a\n case 1017:\n if (-1 === a.indexOf('sticky', 9)) break\n case 975:\n c = (a = d).length - 10\n b = (33 === a.charCodeAt(c) ? a.substring(0, c) : a)\n .substring(d.indexOf(':', 7) + 1)\n .trim()\n switch ((m = b.charCodeAt(0) + (b.charCodeAt(7) | 0))) {\n case 203:\n if (111 > b.charCodeAt(8)) break\n case 115:\n a = a.replace(b, '-webkit-' + b) + ';' + a\n break\n case 207:\n case 102:\n a =\n a.replace(b, '-webkit-' + (102 < m ? 'inline-' : '') + 'box') +\n ';' +\n a.replace(b, '-webkit-' + b) +\n ';' +\n a.replace(b, '-ms-' + b + 'box') +\n ';' +\n a\n }\n return a + ';'\n case 938:\n if (45 === a.charCodeAt(5))\n switch (a.charCodeAt(6)) {\n case 105:\n return (\n (b = a.replace('-items', '')),\n '-webkit-' + a + '-webkit-box-' + b + '-ms-flex-' + b + a\n )\n case 115:\n return '-webkit-' + a + '-ms-flex-item-' + a.replace(ba, '') + a\n default:\n return (\n '-webkit-' +\n a +\n '-ms-flex-line-pack' +\n a.replace('align-content', '').replace(ba, '') +\n a\n )\n }\n break\n case 973:\n case 989:\n if (45 !== a.charCodeAt(3) || 122 === a.charCodeAt(4)) break\n case 931:\n case 953:\n if (!0 === la.test(d))\n return 115 === (b = d.substring(d.indexOf(':') + 1)).charCodeAt(0)\n ? P(d.replace('stretch', 'fill-available'), c, e, h).replace(\n ':fill-available',\n ':stretch'\n )\n : a.replace(b, '-webkit-' + b) +\n a.replace(b, '-moz-' + b.replace('fill-', '')) +\n a\n break\n case 962:\n if (\n ((a =\n '-webkit-' + a + (102 === a.charCodeAt(5) ? '-ms-' + a : '') + a),\n 211 === e + h &&\n 105 === a.charCodeAt(13) &&\n 0 < a.indexOf('transform', 10))\n )\n return (\n a.substring(0, a.indexOf(';', 27) + 1).replace(ma, '$1-webkit-$2') +\n a\n )\n }\n return a\n }\n function L(d, c) {\n var e = d.indexOf(1 === c ? ':' : '{'),\n h = d.substring(0, 3 !== c ? e : 10)\n e = d.substring(e + 1, d.length - 1)\n return R(2 !== c ? h : h.replace(na, '$1'), e, c)\n }\n function ea(d, c) {\n var e = P(c, c.charCodeAt(0), c.charCodeAt(1), c.charCodeAt(2))\n return e !== c + ';'\n ? e.replace(oa, ' or ($1)').substring(4)\n : '(' + c + ')'\n }\n function H(d, c, e, h, a, m, b, v, n, q) {\n for (var g = 0, x = c, w; g < A; ++g)\n switch ((w = S[g].call(B, d, x, e, h, a, m, b, v, n, q))) {\n case void 0:\n case !1:\n case !0:\n case null:\n break\n default:\n x = w\n }\n if (x !== c) return x\n }\n function T(d) {\n switch (d) {\n case void 0:\n case null:\n A = S.length = 0\n break\n default:\n if ('function' === typeof d) S[A++] = d\n else if ('object' === typeof d)\n for (var c = 0, e = d.length; c < e; ++c) T(d[c])\n else Y = !!d | 0\n }\n return T\n }\n function U(d) {\n d = d.prefix\n void 0 !== d &&\n ((R = null),\n d ? ('function' !== typeof d ? (w = 1) : ((w = 2), (R = d))) : (w = 0))\n return U\n }\n function B(d, c) {\n var e = d\n 33 > e.charCodeAt(0) && (e = e.trim())\n V = e\n e = [V]\n if (0 < A) {\n var h = H(-1, c, e, e, D, z, 0, 0, 0, 0)\n void 0 !== h && 'string' === typeof h && (c = h)\n }\n var a = M(O, e, c, 0, 0)\n 0 < A &&\n ((h = H(-2, a, e, e, D, z, a.length, 0, 0, 0)), void 0 !== h && (a = h))\n V = ''\n E = 0\n z = D = 1\n return a\n }\n var ca = /^\\0+/g,\n N = /[\\0\\r\\f]/g,\n aa = /: */g,\n ka = /zoo|gra/,\n ma = /([,: ])(transform)/g,\n ia = /,\\r+?/g,\n F = /([\\t\\r\\n ])*\\f?&/g,\n fa = /@(k\\w+)\\s*(\\S*)\\s*/,\n Q = /::(place)/g,\n ha = /:(read-only)/g,\n G = /[svh]\\w+-[tblr]{2}/,\n da = /\\(\\s*(.*)\\s*\\)/g,\n oa = /([\\s\\S]*?);/g,\n ba = /-self|flex-/g,\n na = /[^]*?(:[rp][el]a[\\w-]+)[^]*/,\n la = /stretch|:\\s*\\w+\\-(?:conte|avail)/,\n ja = /([^-])(image-set\\()/,\n z = 1,\n D = 1,\n E = 0,\n w = 1,\n O = [],\n S = [],\n A = 0,\n R = null,\n Y = 0,\n V = ''\n B.use = T\n B.set = U\n void 0 !== W && U(W)\n return B\n}\n","// @flow\n// https://github.com/thysultan/stylis.js/tree/master/plugins/rule-sheet\n// inlined to avoid umd wrapper and peerDep warnings/installing stylis\n// since we use stylis after closure compiler\n\nimport type { StylisPlugin } from './types'\n\nconst delimiter = '/*|*/'\nconst needle = delimiter + '}'\n\nfunction toSheet(block) {\n if (block) {\n Sheet.current.insert(block + '}')\n }\n}\n\nexport let Sheet: { current: { +insert: string => void } } = {\n current: (null: any)\n}\n\nexport let ruleSheet: StylisPlugin = (\n context,\n content,\n selectors,\n parents,\n line,\n column,\n length,\n ns,\n depth,\n at\n) => {\n switch (context) {\n // property\n case 1: {\n switch (content.charCodeAt(0)) {\n case 64: {\n // @import\n Sheet.current.insert(content + ';')\n return ''\n }\n // charcode for l\n case 108: {\n // charcode for b\n // this ignores label\n if (content.charCodeAt(2) === 98) {\n return ''\n }\n }\n }\n break\n }\n // selector\n case 2: {\n if (ns === 0) return content + delimiter\n break\n }\n // at-rule\n case 3: {\n switch (ns) {\n // @font-face, @page\n case 102:\n case 112: {\n Sheet.current.insert(selectors[0] + content)\n return ''\n }\n default: {\n return content + (at === 0 ? delimiter : '')\n }\n }\n }\n case -2: {\n content.split(needle).forEach(toSheet)\n }\n }\n}\n\nexport let removeLabel: StylisPlugin = (context, content) => {\n if (\n context === 1 &&\n // charcode for l\n content.charCodeAt(0) === 108 &&\n // charcode for b\n content.charCodeAt(2) === 98\n // this ignores label\n ) {\n return ''\n }\n}\n","// @flow\n\nlet unitlessKeys: { [key: string]: 1 } = {\n animationIterationCount: 1,\n borderImageOutset: 1,\n borderImageSlice: 1,\n borderImageWidth: 1,\n boxFlex: 1,\n boxFlexGroup: 1,\n boxOrdinalGroup: 1,\n columnCount: 1,\n columns: 1,\n flex: 1,\n flexGrow: 1,\n flexPositive: 1,\n flexShrink: 1,\n flexNegative: 1,\n flexOrder: 1,\n gridRow: 1,\n gridRowEnd: 1,\n gridRowSpan: 1,\n gridRowStart: 1,\n gridColumn: 1,\n gridColumnEnd: 1,\n gridColumnSpan: 1,\n gridColumnStart: 1,\n msGridRow: 1,\n msGridRowSpan: 1,\n msGridColumn: 1,\n msGridColumnSpan: 1,\n fontWeight: 1,\n lineHeight: 1,\n opacity: 1,\n order: 1,\n orphans: 1,\n tabSize: 1,\n widows: 1,\n zIndex: 1,\n zoom: 1,\n WebkitLineClamp: 1,\n\n // SVG-related properties\n fillOpacity: 1,\n floodOpacity: 1,\n stopOpacity: 1,\n strokeDasharray: 1,\n strokeDashoffset: 1,\n strokeMiterlimit: 1,\n strokeOpacity: 1,\n strokeWidth: 1\n}\n\nexport default unitlessKeys\n","// @flow\nimport type {\n Interpolation,\n SerializedStyles,\n RegisteredCache\n} from '@emotion/utils'\nimport hashString from '@emotion/hash'\nimport unitless from '@emotion/unitless'\nimport memoize from '@emotion/memoize'\n\nconst ILLEGAL_ESCAPE_SEQUENCE_ERROR = `You have illegal escape sequence in your template literal, most likely inside content's property value.\nBecause you write your CSS inside a JavaScript string you actually have to do double escaping, so for example \"content: '\\\\00d7';\" should become \"content: '\\\\\\\\00d7';\".\nYou can read more about this here:\nhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`\n\nconst UNDEFINED_AS_OBJECT_KEY_ERROR =\n \"You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).\"\n\nlet hyphenateRegex = /[A-Z]|^ms/g\nlet animationRegex = /_EMO_([^_]+?)_([^]*?)_EMO_/g\n\nconst isCustomProperty = (property: string) => property.charCodeAt(1) === 45\nconst isProcessableValue = value => value != null && typeof value !== 'boolean'\n\nconst processStyleName = memoize(\n (styleName: string) =>\n isCustomProperty(styleName)\n ? styleName\n : styleName.replace(hyphenateRegex, '-$&').toLowerCase()\n)\n\nlet processStyleValue = (\n key: string,\n value: string | number\n): string | number => {\n switch (key) {\n case 'animation':\n case 'animationName': {\n if (typeof value === 'string') {\n return value.replace(animationRegex, (match, p1, p2) => {\n cursor = {\n name: p1,\n styles: p2,\n next: cursor\n }\n return p1\n })\n }\n }\n }\n\n if (\n unitless[key] !== 1 &&\n !isCustomProperty(key) &&\n typeof value === 'number' &&\n value !== 0\n ) {\n return value + 'px'\n }\n return value\n}\n\nif (process.env.NODE_ENV !== 'production') {\n let contentValuePattern = /(attr|calc|counters?|url)\\(/\n let contentValues = [\n 'normal',\n 'none',\n 'counter',\n 'open-quote',\n 'close-quote',\n 'no-open-quote',\n 'no-close-quote',\n 'initial',\n 'inherit',\n 'unset'\n ]\n\n let oldProcessStyleValue = processStyleValue\n\n let msPattern = /^-ms-/\n let hyphenPattern = /-(.)/g\n\n let hyphenatedCache = {}\n\n processStyleValue = (key: string, value: string) => {\n if (key === 'content') {\n if (\n typeof value !== 'string' ||\n (contentValues.indexOf(value) === -1 &&\n !contentValuePattern.test(value) &&\n (value.charAt(0) !== value.charAt(value.length - 1) ||\n (value.charAt(0) !== '\"' && value.charAt(0) !== \"'\")))\n ) {\n console.error(\n `You seem to be using a value for 'content' without quotes, try replacing it with \\`content: '\"${value}\"'\\``\n )\n }\n }\n\n const processed = oldProcessStyleValue(key, value)\n\n if (\n processed !== '' &&\n !isCustomProperty(key) &&\n key.indexOf('-') !== -1 &&\n hyphenatedCache[key] === undefined\n ) {\n hyphenatedCache[key] = true\n console.error(\n `Using kebab-case for css properties in objects is not supported. Did you mean ${key\n .replace(msPattern, 'ms-')\n .replace(hyphenPattern, (str, char) => char.toUpperCase())}?`\n )\n }\n\n return processed\n }\n}\n\nlet shouldWarnAboutInterpolatingClassNameFromCss = true\n\nfunction handleInterpolation(\n mergedProps: void | Object,\n registered: RegisteredCache | void,\n interpolation: Interpolation,\n couldBeSelectorInterpolation: boolean\n): string | number {\n if (interpolation == null) {\n return ''\n }\n if (interpolation.__emotion_styles !== undefined) {\n if (\n process.env.NODE_ENV !== 'production' &&\n interpolation.toString() === 'NO_COMPONENT_SELECTOR'\n ) {\n throw new Error(\n 'Component selectors can only be used in conjunction with babel-plugin-emotion.'\n )\n }\n return interpolation\n }\n\n switch (typeof interpolation) {\n case 'boolean': {\n return ''\n }\n case 'object': {\n if (interpolation.anim === 1) {\n cursor = {\n name: interpolation.name,\n styles: interpolation.styles,\n next: cursor\n }\n\n return interpolation.name\n }\n if (interpolation.styles !== undefined) {\n let next = interpolation.next\n if (next !== undefined) {\n // not the most efficient thing ever but this is a pretty rare case\n // and there will be very few iterations of this generally\n while (next !== undefined) {\n cursor = {\n name: next.name,\n styles: next.styles,\n next: cursor\n }\n next = next.next\n }\n }\n let styles = `${interpolation.styles};`\n if (\n process.env.NODE_ENV !== 'production' &&\n interpolation.map !== undefined\n ) {\n styles += interpolation.map\n }\n\n return styles\n }\n\n return createStringFromObject(mergedProps, registered, interpolation)\n }\n case 'function': {\n if (mergedProps !== undefined) {\n let previousCursor = cursor\n let result = interpolation(mergedProps)\n cursor = previousCursor\n\n return handleInterpolation(\n mergedProps,\n registered,\n result,\n couldBeSelectorInterpolation\n )\n } else if (process.env.NODE_ENV !== 'production') {\n console.error(\n 'Functions that are interpolated in css calls will be stringified.\\n' +\n 'If you want to have a css call based on props, create a function that returns a css call like this\\n' +\n 'let dynamicStyle = (props) => css`color: ${props.color}`\\n' +\n 'It can be called directly with props or interpolated in a styled call like this\\n' +\n \"let SomeComponent = styled('div')`${dynamicStyle}`\"\n )\n }\n break\n }\n case 'string':\n if (process.env.NODE_ENV !== 'production') {\n const matched = []\n const replaced = interpolation.replace(\n animationRegex,\n (match, p1, p2) => {\n const fakeVarName = `animation${matched.length}`\n matched.push(\n `const ${fakeVarName} = keyframes\\`${p2.replace(\n /^@keyframes animation-\\w+/,\n ''\n )}\\``\n )\n return `\\${${fakeVarName}}`\n }\n )\n if (matched.length) {\n console.error(\n '`keyframes` output got interpolated into plain string, please wrap it with `css`.\\n\\n' +\n 'Instead of doing this:\\n\\n' +\n [...matched, `\\`${replaced}\\``].join('\\n') +\n '\\n\\nYou should wrap it with `css` like this:\\n\\n' +\n `css\\`${replaced}\\``\n )\n }\n }\n break\n }\n\n // finalize string values (regular strings and functions interpolated into css calls)\n if (registered == null) {\n return interpolation\n }\n const cached = registered[interpolation]\n if (\n process.env.NODE_ENV !== 'production' &&\n couldBeSelectorInterpolation &&\n shouldWarnAboutInterpolatingClassNameFromCss &&\n cached !== undefined\n ) {\n console.error(\n 'Interpolating a className from css`` is not recommended and will cause problems with composition.\\n' +\n 'Interpolating a className from css`` will be completely unsupported in a future major version of Emotion'\n )\n shouldWarnAboutInterpolatingClassNameFromCss = false\n }\n return cached !== undefined && !couldBeSelectorInterpolation\n ? cached\n : interpolation\n}\n\nfunction createStringFromObject(\n mergedProps: void | Object,\n registered: RegisteredCache | void,\n obj: { [key: string]: Interpolation }\n): string {\n let string = ''\n\n if (Array.isArray(obj)) {\n for (let i = 0; i < obj.length; i++) {\n string += handleInterpolation(mergedProps, registered, obj[i], false)\n }\n } else {\n for (let key in obj) {\n let value = obj[key]\n if (typeof value !== 'object') {\n if (registered != null && registered[value] !== undefined) {\n string += `${key}{${registered[value]}}`\n } else if (isProcessableValue(value)) {\n string += `${processStyleName(key)}:${processStyleValue(key, value)};`\n }\n } else {\n if (\n key === 'NO_COMPONENT_SELECTOR' &&\n process.env.NODE_ENV !== 'production'\n ) {\n throw new Error(\n 'Component selectors can only be used in conjunction with babel-plugin-emotion.'\n )\n }\n if (\n Array.isArray(value) &&\n typeof value[0] === 'string' &&\n (registered == null || registered[value[0]] === undefined)\n ) {\n for (let i = 0; i < value.length; i++) {\n if (isProcessableValue(value[i])) {\n string += `${processStyleName(key)}:${processStyleValue(\n key,\n value[i]\n )};`\n }\n }\n } else {\n const interpolated = handleInterpolation(\n mergedProps,\n registered,\n value,\n false\n )\n switch (key) {\n case 'animation':\n case 'animationName': {\n string += `${processStyleName(key)}:${interpolated};`\n break\n }\n default: {\n if (\n process.env.NODE_ENV !== 'production' &&\n key === 'undefined'\n ) {\n console.error(UNDEFINED_AS_OBJECT_KEY_ERROR)\n }\n string += `${key}{${interpolated}}`\n }\n }\n }\n }\n }\n }\n\n return string\n}\n\nlet labelPattern = /label:\\s*([^\\s;\\n{]+)\\s*;/g\n\nlet sourceMapPattern\nif (process.env.NODE_ENV !== 'production') {\n sourceMapPattern = /\\/\\*#\\ssourceMappingURL=data:application\\/json;\\S+\\s+\\*\\//\n}\n\n// this is the cursor for keyframes\n// keyframes are stored on the SerializedStyles object as a linked list\nlet cursor\n\nexport const serializeStyles = function(\n args: Array<Interpolation>,\n registered: RegisteredCache | void,\n mergedProps: void | Object\n): SerializedStyles {\n if (\n args.length === 1 &&\n typeof args[0] === 'object' &&\n args[0] !== null &&\n args[0].styles !== undefined\n ) {\n return args[0]\n }\n let stringMode = true\n let styles = ''\n\n cursor = undefined\n let strings = args[0]\n if (strings == null || strings.raw === undefined) {\n stringMode = false\n styles += handleInterpolation(mergedProps, registered, strings, false)\n } else {\n if (process.env.NODE_ENV !== 'production' && strings[0] === undefined) {\n console.error(ILLEGAL_ESCAPE_SEQUENCE_ERROR)\n }\n styles += strings[0]\n }\n // we start at 1 since we've already handled the first arg\n for (let i = 1; i < args.length; i++) {\n styles += handleInterpolation(\n mergedProps,\n registered,\n args[i],\n styles.charCodeAt(styles.length - 1) === 46\n )\n if (stringMode) {\n if (process.env.NODE_ENV !== 'production' && strings[i] === undefined) {\n console.error(ILLEGAL_ESCAPE_SEQUENCE_ERROR)\n }\n styles += strings[i]\n }\n }\n let sourceMap\n\n if (process.env.NODE_ENV !== 'production') {\n styles = styles.replace(sourceMapPattern, match => {\n sourceMap = match\n return ''\n })\n }\n\n // using a global regex with .exec is stateful so lastIndex has to be reset each time\n labelPattern.lastIndex = 0\n let identifierName = ''\n\n let match\n // https://esbench.com/bench/5b809c2cf2949800a0f61fb5\n while ((match = labelPattern.exec(styles)) !== null) {\n identifierName +=\n '-' +\n // $FlowFixMe we know it's not null\n match[1]\n }\n\n let name = hashString(styles) + identifierName\n\n if (process.env.NODE_ENV !== 'production') {\n // $FlowFixMe SerializedStyles type doesn't have toString property (and we don't want to add it)\n return {\n name,\n styles,\n map: sourceMap,\n next: cursor,\n toString() {\n return \"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).\"\n }\n }\n }\n return {\n name,\n styles,\n next: cursor\n }\n}\n","// @flow\n\nexport default function memoize<V>(fn: string => V): string => V {\n const cache = {}\n\n return (arg: string) => {\n if (cache[arg] === undefined) cache[arg] = fn(arg)\n return cache[arg]\n }\n}\n","// @flow\n/* eslint-disable */\n// murmurhash2 via https://github.com/garycourt/murmurhash-js/blob/master/murmurhash2_gc.js\n\nexport default function murmurhash2_32_gc(str: string) {\n var l = str.length,\n h = l ^ l,\n i = 0,\n k\n\n while (l >= 4) {\n k =\n (str.charCodeAt(i) & 0xff) |\n ((str.charCodeAt(++i) & 0xff) << 8) |\n ((str.charCodeAt(++i) & 0xff) << 16) |\n ((str.charCodeAt(++i) & 0xff) << 24)\n\n k = (k & 0xffff) * 0x5bd1e995 + ((((k >>> 16) * 0x5bd1e995) & 0xffff) << 16)\n k ^= k >>> 24\n k = (k & 0xffff) * 0x5bd1e995 + ((((k >>> 16) * 0x5bd1e995) & 0xffff) << 16)\n\n h =\n ((h & 0xffff) * 0x5bd1e995 +\n ((((h >>> 16) * 0x5bd1e995) & 0xffff) << 16)) ^\n k\n\n l -= 4\n ++i\n }\n\n switch (l) {\n case 3:\n h ^= (str.charCodeAt(i + 2) & 0xff) << 16\n case 2:\n h ^= (str.charCodeAt(i + 1) & 0xff) << 8\n case 1:\n h ^= str.charCodeAt(i) & 0xff\n h =\n (h & 0xffff) * 0x5bd1e995 + ((((h >>> 16) * 0x5bd1e995) & 0xffff) << 16)\n }\n\n h ^= h >>> 13\n h = (h & 0xffff) * 0x5bd1e995 + ((((h >>> 16) * 0x5bd1e995) & 0xffff) << 16)\n h ^= h >>> 15\n\n return (h >>> 0).toString(36)\n}\n","// @flow\nimport type { RegisteredCache, EmotionCache, SerializedStyles } from './types'\n\nlet isBrowser = typeof document !== 'undefined'\n\nexport function getRegisteredStyles(\n registered: RegisteredCache,\n registeredStyles: string[],\n classNames: string\n) {\n let rawClassName = ''\n\n classNames.split(' ').forEach(className => {\n if (registered[className] !== undefined) {\n registeredStyles.push(registered[className])\n } else {\n rawClassName += `${className} `\n }\n })\n return rawClassName\n}\n\nexport const insertStyles = (\n cache: EmotionCache,\n serialized: SerializedStyles,\n isStringTag: boolean\n) => {\n let className = `${cache.key}-${serialized.name}`\n if (\n // we only need to add the styles to the registered cache if the\n // class name could be used further down\n // the tree but if it's a string tag, we know it won't\n // so we don't have to add it to registered cache.\n // this improves memory usage since we can avoid storing the whole style string\n (isStringTag === false ||\n // we need to always store it if we're in compat mode and\n // in node since emotion-server relies on whether a style is in\n // the registered cache to know whether a style is global or not\n // also, note that this check will be dead code eliminated in the browser\n (isBrowser === false && cache.compat !== undefined)) &&\n cache.registered[className] === undefined\n ) {\n cache.registered[className] = serialized.styles\n }\n if (cache.inserted[serialized.name] === undefined) {\n let stylesForSSR = ''\n let current = serialized\n do {\n let maybeStyles = cache.insert(\n `.${className}`,\n current,\n cache.sheet,\n true\n )\n if (!isBrowser && maybeStyles !== undefined) {\n stylesForSSR += maybeStyles\n }\n current = current.next\n } while (current !== undefined)\n if (!isBrowser && stylesForSSR.length !== 0) {\n return stylesForSSR\n }\n }\n}\n\nexport * from './types'\n","// @flow\nimport createCache from '@emotion/cache'\nimport { serializeStyles } from '@emotion/serialize'\nimport {\n insertStyles,\n getRegisteredStyles,\n type EmotionCache,\n type SerializedStyles\n} from '@emotion/utils'\n\nfunction insertWithoutScoping(cache, serialized: SerializedStyles) {\n if (cache.inserted[serialized.name] === undefined) {\n return cache.insert('', serialized, cache.sheet, true)\n }\n}\n\nfunction merge(registered: Object, css: (*) => string, className: string) {\n const registeredStyles = []\n const rawClassName = getRegisteredStyles(\n registered,\n registeredStyles,\n className\n )\n\n if (registeredStyles.length < 2) {\n return className\n }\n return rawClassName + css(registeredStyles)\n}\n\nexport type Interpolation = any\nexport type Interpolations = Array<Interpolation>\n\ntype CreateStyles<ReturnValue> = (...args: Interpolations) => ReturnValue\n\ntype ClassNameArg =\n | string\n | boolean\n | { [key: string]: boolean | void | null }\n | Array<ClassNameArg>\n | void\n | null\n\ndeclare class StyleSheet {\n insert(rule: string): void;\n flush(): void;\n speedy(newVal: boolean): void;\n tags: Array<HTMLStyleElement>;\n isSpeedy: number;\n ctr: number;\n}\n\nexport type Emotion = {\n css: CreateStyles<string>,\n cx: (...classNames: Array<ClassNameArg>) => string,\n flush: () => void,\n hydrate: (ids: Array<string>) => void,\n injectGlobal: CreateStyles<void>,\n keyframes: CreateStyles<string>,\n sheet: StyleSheet,\n cache: EmotionCache,\n merge: *,\n getRegisteredStyles: *\n}\n\nlet createEmotion = (options: *): Emotion => {\n let cache = createCache(options)\n\n // $FlowFixMe\n cache.sheet.speedy = function(value: boolean) {\n if (process.env.NODE_ENV !== 'production' && this.ctr !== 0) {\n throw new Error('speedy must be changed before any rules are inserted')\n }\n this.isSpeedy = value\n }\n cache.compat = true\n\n let css = (...args) => {\n let serialized = serializeStyles(args, cache.registered, undefined)\n insertStyles(cache, serialized, false)\n return `${cache.key}-${serialized.name}`\n }\n\n let keyframes = (...args) => {\n let serialized = serializeStyles(args, cache.registered)\n let animation = `animation-${serialized.name}`\n insertWithoutScoping(cache, {\n name: serialized.name,\n styles: `@keyframes ${animation}{${serialized.styles}}`\n })\n\n return animation\n }\n let injectGlobal = (...args) => {\n let serialized = serializeStyles(args, cache.registered)\n insertWithoutScoping(cache, serialized)\n }\n\n let cx = (...args) => {\n return merge(cache.registered, css, classnames(args))\n }\n return {\n css,\n cx,\n injectGlobal,\n keyframes,\n hydrate(ids: Array<string>) {\n ids.forEach(key => {\n cache.inserted[key] = true\n })\n },\n flush() {\n cache.registered = {}\n cache.inserted = {}\n cache.sheet.flush()\n },\n // $FlowFixMe\n sheet: cache.sheet,\n cache,\n getRegisteredStyles: getRegisteredStyles.bind(null, cache.registered),\n merge: merge.bind(null, cache.registered, css)\n }\n}\n\nlet classnames = args => {\n let cls = ''\n for (let i = 0; i < args.length; i++) {\n let arg = args[i]\n if (arg == null) continue\n\n let toAdd\n switch (typeof arg) {\n case 'boolean':\n break\n case 'object': {\n if (Array.isArray(arg)) {\n toAdd = classnames(arg)\n } else {\n toAdd = ''\n for (const k in arg) {\n if (arg[k] && k) {\n toAdd && (toAdd += ' ')\n toAdd += k\n }\n }\n }\n break\n }\n default: {\n toAdd = arg\n }\n }\n if (toAdd) {\n cls && (cls += ' ')\n cls += toAdd\n }\n }\n return cls\n}\n\nexport default createEmotion\n","// @flow\nimport { StyleSheet } from '@emotion/sheet'\nimport { type EmotionCache, type SerializedStyles } from '@emotion/utils'\nimport Stylis from '@emotion/stylis'\nimport weakMemoize from '@emotion/weak-memoize'\nimport { Sheet, removeLabel, ruleSheet } from './stylis-plugins'\nimport type { StylisPlugin } from './types'\n\nlet isBrowser = typeof document !== 'undefined'\n\nexport type PrefixOption =\n | boolean\n | ((key: string, value: string, context: 1 | 2 | 3) => boolean)\ntype StylisPlugins = StylisPlugin[] | StylisPlugin\n\nexport type Options = {\n nonce?: string,\n stylisPlugins?: StylisPlugins,\n prefix?: PrefixOption,\n key?: string,\n container?: HTMLElement,\n speedy?: boolean\n}\n\nlet rootServerStylisCache = {}\n\nlet getServerStylisCache = isBrowser\n ? undefined\n : weakMemoize(() => {\n let getCache = weakMemoize(() => ({}))\n let prefixTrueCache = {}\n let prefixFalseCache = {}\n return prefix => {\n if (prefix === undefined || prefix === true) {\n return prefixTrueCache\n }\n if (prefix === false) {\n return prefixFalseCache\n }\n return getCache(prefix)\n }\n })\n\nlet createCache = (options?: Options): EmotionCache => {\n if (options === undefined) options = {}\n let key = options.key || 'css'\n let stylisOptions\n\n if (options.prefix !== undefined) {\n stylisOptions = {\n prefix: options.prefix\n }\n }\n\n let stylis = new Stylis(stylisOptions)\n\n if (process.env.NODE_ENV !== 'production') {\n // $FlowFixMe\n if (/[^a-z-]/.test(key)) {\n throw new Error(\n `Emotion key must only contain lower case alphabetical characters and - but \"${key}\" was passed`\n )\n }\n }\n let inserted = {}\n // $FlowFixMe\n let container: HTMLElement\n if (isBrowser) {\n container = options.container || document.head\n\n const nodes = document.querySelectorAll(`style[data-emotion-${key}]`)\n\n Array.prototype.forEach.call(nodes, (node: HTMLStyleElement) => {\n const attrib = node.getAttribute(`data-emotion-${key}`)\n // $FlowFixMe\n attrib.split(' ').forEach(id => {\n inserted[id] = true\n })\n if (node.parentNode !== container) {\n container.appendChild(node)\n }\n })\n }\n\n let insert: (\n selector: string,\n serialized: SerializedStyles,\n sheet: StyleSheet,\n shouldCache: boolean\n ) => string | void\n\n if (isBrowser) {\n stylis.use(options.stylisPlugins)(ruleSheet)\n\n insert = (\n selector: string,\n serialized: SerializedStyles,\n sheet: StyleSheet,\n shouldCache: boolean\n ): void => {\n let name = serialized.name\n Sheet.current = sheet\n if (\n process.env.NODE_ENV !== 'production' &&\n serialized.map !== undefined\n ) {\n let map = serialized.map\n Sheet.current = {\n insert: (rule: string) => {\n sheet.insert(rule + map)\n }\n }\n }\n stylis(selector, serialized.styles)\n if (shouldCache) {\n cache.inserted[name] = true\n }\n }\n } else {\n stylis.use(removeLabel)\n let serverStylisCache = rootServerStylisCache\n if (options.stylisPlugins || options.prefix !== undefined) {\n stylis.use(options.stylisPlugins)\n // $FlowFixMe\n serverStylisCache = getServerStylisCache(\n options.stylisPlugins || rootServerStylisCache\n )(options.prefix)\n }\n let getRules = (selector: string, serialized: SerializedStyles): string => {\n let name = serialized.name\n if (serverStylisCache[name] === undefined) {\n serverStylisCache[name] = stylis(selector, serialized.styles)\n }\n return serverStylisCache[name]\n }\n insert = (\n selector: string,\n serialized: SerializedStyles,\n sheet: StyleSheet,\n shouldCache: boolean\n ): string | void => {\n let name = serialized.name\n let rules = getRules(selector, serialized)\n if (cache.compat === undefined) {\n // in regular mode, we don't set the styles on the inserted cache\n // since we don't need to and that would be wasting memory\n // we return them so that they are rendered in a style tag\n if (shouldCache) {\n cache.inserted[name] = true\n }\n if (\n // using === development instead of !== production\n // because if people do ssr in tests, the source maps showing up would be annoying\n process.env.NODE_ENV === 'development' &&\n serialized.map !== undefined\n ) {\n return rules + serialized.map\n }\n return rules\n } else {\n // in compat mode, we put the styles on the inserted cache so\n // that emotion-server can pull out the styles\n // except when we don't want to cache it which was in Global but now\n // is nowhere but we don't want to do a major right now\n // and just in case we're going to leave the case here\n // it's also not affecting client side bundle size\n // so it's really not a big deal\n\n if (shouldCache) {\n cache.inserted[name] = rules\n } else {\n return rules\n }\n }\n }\n }\n\n if (process.env.NODE_ENV !== 'production') {\n // https://esbench.com/bench/5bf7371a4cd7e6009ef61d0a\n const commentStart = /\\/\\*/g\n const commentEnd = /\\*\\//g\n\n stylis.use((context, content) => {\n switch (context) {\n case -1: {\n while (commentStart.test(content)) {\n commentEnd.lastIndex = commentStart.lastIndex\n\n if (commentEnd.test(content)) {\n commentStart.lastIndex = commentEnd.lastIndex\n continue\n }\n\n throw new Error(\n 'Your styles have an unterminated comment (\"/*\" without corresponding \"*/\").'\n )\n }\n\n commentStart.lastIndex = 0\n break\n }\n }\n })\n\n stylis.use((context, content, selectors) => {\n switch (context) {\n case -1: {\n const flag =\n 'emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason'\n const unsafePseudoClasses = content.match(\n /(:first|:nth|:nth-last)-child/g\n )\n\n if (unsafePseudoClasses && cache.compat !== true) {\n unsafePseudoClasses.forEach(unsafePseudoClass => {\n const ignoreRegExp = new RegExp(\n `${unsafePseudoClass}.*\\\\/\\\\* ${flag} \\\\*\\\\/`\n )\n const ignore = ignoreRegExp.test(content)\n\n if (unsafePseudoClass && !ignore) {\n console.error(\n `The pseudo class \"${unsafePseudoClass}\" is potentially unsafe when doing server-side rendering. Try changing it to \"${\n unsafePseudoClass.split('-child')[0]\n }-of-type\".`\n )\n }\n })\n }\n\n break\n }\n }\n })\n }\n\n const cache: EmotionCache = {\n key,\n sheet: new StyleSheet({\n key,\n container,\n nonce: options.nonce,\n speedy: options.speedy\n }),\n nonce: options.nonce,\n inserted,\n registered: {},\n insert\n }\n return cache\n}\n\nexport default createCache\n","// @flow\nimport createEmotion from 'create-emotion'\n\nexport const {\n flush,\n hydrate,\n cx,\n merge,\n getRegisteredStyles,\n injectGlobal,\n keyframes,\n css,\n sheet,\n cache\n} = createEmotion()\n"],"names":["StyleSheet","options","isSpeedy","undefined","speedy","tags","ctr","nonce","key","container","before","insert","rule","this","tag","document","createElement","setAttribute","appendChild","createTextNode","createStyleElement","length","nextSibling","insertBefore","push","sheet","i","styleSheets","ownerNode","sheetForTag","isImportRule","charCodeAt","insertRule","cssRules","e","flush","forEach","parentNode","removeChild","W","X","d","c","h","trim","split","ia","a","m","b","Z","v","n","replace","F","indexOf","P","substring","w","L","ja","ka","test","aa","G","ba","la","ma","R","na","ea","oa","H","q","g","x","A","S","call","B","U","prefix","D","z","M","k","y","C","K","u","l","r","I","t","J","f","p","N","charAt","ca","O","join","da","fa","Y","E","ha","Q","use","T","set","toSheet","block","Sheet","current","ruleSheet","context","content","selectors","parents","line","column","ns","depth","at","delimiter","unitlessKeys","animationIterationCount","borderImageOutset","borderImageSlice","borderImageWidth","boxFlex","boxFlexGroup","boxOrdinalGroup","columnCount","columns","flex","flexGrow","flexPositive","flexShrink","flexNegative","flexOrder","gridRow","gridRowEnd","gridRowSpan","gridRowStart","gridColumn","gridColumnEnd","gridColumnSpan","gridColumnStart","msGridRow","msGridRowSpan","msGridColumn","msGridColumnSpan","fontWeight","lineHeight","opacity","order","orphans","tabSize","widows","zIndex","zoom","WebkitLineClamp","fillOpacity","floodOpacity","stopOpacity","strokeDasharray","strokeDashoffset","strokeMiterlimit","strokeOpacity","strokeWidth","hyphenateRegex","animationRegex","isCustomProperty","property","isProcessableValue","value","processStyleName","fn","cache","arg","memoize","styleName","toLowerCase","processStyleValue","match","p1","p2","cursor","name","styles","next","unitless","handleInterpolation","mergedProps","registered","interpolation","couldBeSelectorInterpolation","__emotion_styles","anim","obj","string","Array","isArray","interpolated","createStringFromObject","previousCursor","result","cached","labelPattern","serializeStyles","args","stringMode","strings","raw","lastIndex","identifierName","exec","str","toString","hashString","getRegisteredStyles","registeredStyles","classNames","rawClassName","className","insertWithoutScoping","serialized","inserted","merge","css","classnames","cls","toAdd","stylisOptions","stylis","Stylis","head","nodes","querySelectorAll","prototype","node","getAttribute","id","stylisPlugins","selector","shouldCache","createCache","compat","isStringTag","insertStyles","cx","injectGlobal","keyframes","animation","hydrate","ids","bind","createEmotion"],"mappings":"wMA6DaA,EAAb,sBAQcC,QACLC,cACgBC,IAAnBF,EAAQG,QAEJH,EAAQG,YACTC,KAAO,QACPC,IAAM,OACNC,MAAQN,EAAQM,WAEhBC,IAAMP,EAAQO,SACdC,UAAYR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