GoScrobble/web/node_modules/@emotion/react/dist/emotion-react.umd.min.js.map

1 line
106 KiB
Plaintext

{"version":3,"file":"emotion-react.umd.min.js","sources":["../../sheet/src/index.js","../../../node_modules/stylis/dist/stylis.mjs","../../weak-memoize/src/index.js","../../memoize/src/index.js","../../cache/src/stylis-plugins.js","../../cache/src/index.js","../src/utils.js","../src/context.js","../../../node_modules/@babel/runtime/helpers/extends.js","../../../node_modules/react-is/cjs/react-is.production.min.js","../../../node_modules/react-is/cjs/react-is.development.js","../../../node_modules/react-is/index.js","../../../node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js","../src/theming.js","../../utils/src/index.js","../../unitless/src/index.js","../../serialize/src/index.js","../../hash/src/index.js","../src/emotion-element.js","../src/jsx.js","../src/global.js","../src/css.js","../src/class-names.js","../src/keyframes.js","../src/isolated-hoist-non-react-statics-do-not-use-this-in-your-code.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 prepend?: 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 tag.setAttribute('data-s', '')\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 prepend: boolean | 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.prepend = options.prepend\n this.before = null\n }\n\n _insertTag = (tag: HTMLStyleElement) => {\n let before\n if (this.tags.length === 0) {\n before = this.prepend ? this.container.firstChild : 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\n hydrate(nodes: HTMLStyleElement[]) {\n nodes.forEach(this._insertTag)\n }\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 this._insertTag(createStyleElement(this))\n }\n const tag = this.tags[this.tags.length - 1]\n\n if (process.env.NODE_ENV !== 'production') {\n const isImportRule =\n rule.charCodeAt(0) === 64 && rule.charCodeAt(1) === 105\n\n if (isImportRule && (this: any)._alreadyInsertedOrderInsensitiveRule) {\n // this would only cause problem in speedy mode\n // but we don't want enabling speedy to affect the observable behavior\n // so we report this error at all times\n console.error(\n `You're attempting to insert the following rule:\\n` +\n rule +\n '\\n\\n`@import` rules must be before all other types of rules in a stylesheet but other rules have already been inserted. Please ensure that `@import` rules are before all other rules.'\n )\n }\n\n ;(this: any)._alreadyInsertedOrderInsensitiveRule =\n (this: any)._alreadyInsertedOrderInsensitiveRule || !isImportRule\n }\n\n if (this.isSpeedy) {\n const sheet = sheetForTag(tag)\n try {\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(rule, sheet.cssRules.length)\n } catch (e) {\n if (\n process.env.NODE_ENV !== 'production' &&\n !/:(-moz-placeholder|-moz-focus-inner|-moz-focusring|-ms-input-placeholder|-moz-read-write|-moz-read-only|-ms-clear){/.test(\n rule\n )\n ) {\n console.error(\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\n flush() {\n // $FlowFixMe\n this.tags.forEach(tag => tag.parentNode.removeChild(tag))\n this.tags = []\n this.ctr = 0\n if (process.env.NODE_ENV !== 'production') {\n ;(this: any)._alreadyInsertedOrderInsensitiveRule = false\n }\n }\n}\n","var e=\"-ms-\";var r=\"-moz-\";var a=\"-webkit-\";var c=\"comm\";var n=\"rule\";var t=\"decl\";var s=\"@page\";var u=\"@media\";var i=\"@import\";var f=\"@charset\";var o=\"@viewport\";var l=\"@supports\";var v=\"@document\";var h=\"@namespace\";var p=\"@keyframes\";var w=\"@font-face\";var b=\"@counter-style\";var $=\"@font-feature-values\";var k=Math.abs;var d=String.fromCharCode;function m(e,r){return(((r<<2^z(e,0))<<2^z(e,1))<<2^z(e,2))<<2^z(e,3)}function g(e){return e.trim()}function x(e,r){return(e=r.exec(e))?e[0]:e}function y(e,r,a){return e.replace(r,a)}function j(e,r){return e.indexOf(r)}function z(e,r){return e.charCodeAt(r)|0}function C(e,r,a){return e.slice(r,a)}function A(e){return e.length}function M(e){return e.length}function O(e,r){return r.push(e),e}function S(e,r){return e.map(r).join(\"\")}var q=1;var B=1;var D=0;var E=0;var F=0;var G=\"\";function H(e,r,a,c,n,t,s){return{value:e,root:r,parent:a,type:c,props:n,children:t,line:q,column:B,length:s,return:\"\"}}function I(e,r,a){return H(e,r.root,r.parent,a,r.props,r.children,0)}function J(){return F}function K(){F=E<D?z(G,E++):0;if(B++,F===10)B=1,q++;return F}function L(){return z(G,E)}function N(){return E}function P(e,r){return C(G,e,r)}function Q(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function R(e){return q=B=1,D=A(G=e),E=0,[]}function T(e){return G=\"\",e}function U(e){return g(P(E-1,Y(e===91?e+2:e===40?e+1:e)))}function V(e){return T(X(R(e)))}function W(e){while(F=L())if(F<33)K();else break;return Q(e)>2||Q(F)>3?\"\":\" \"}function X(e){while(K())switch(Q(F)){case 0:O(_(E-1),e);break;case 2:O(U(F),e);break;default:O(d(F),e)}return e}function Y(e){while(K())switch(F){case e:return E;case 34:case 39:return Y(e===34||e===39?e:F);case 40:if(e===41)Y(e);break;case 92:K();break}return E}function Z(e,r){while(K())if(e+F===47+10)break;else if(e+F===42+42&&L()===47)break;return\"/*\"+P(r,E-1)+\"*\"+d(e===47?e:K())}function _(e){while(!Q(L()))K();return P(e,E)}function ee(e){return T(re(\"\",null,null,null,[\"\"],e=R(e),0,[0],e))}function re(e,r,a,c,n,t,s,u,i){var f=0;var o=0;var l=s;var v=0;var h=0;var p=0;var w=1;var b=1;var $=1;var k=0;var m=\"\";var g=n;var x=t;var j=c;var z=m;while(b)switch(p=k,k=K()){case 34:case 39:case 91:case 40:z+=U(k);break;case 9:case 10:case 13:case 32:z+=W(p);break;case 47:switch(L()){case 42:case 47:O(ce(Z(K(),N()),r,a),i);break;default:z+=\"/\"}break;case 123*w:u[f++]=A(z)*$;case 125*w:case 59:case 0:switch(k){case 0:case 125:b=0;case 59+o:if(h>0)O(h>32?ne(z+\";\",c,a,l-1):ne(y(z,\" \",\"\")+\";\",c,a,l-2),i);break;case 59:z+=\";\";default:O(j=ae(z,r,a,f,o,n,u,m,g=[],x=[],l),t);if(k===123)if(o===0)re(z,r,j,j,g,t,l,u,x);else switch(v){case 100:case 109:case 115:re(e,j,j,c&&O(ae(e,j,j,0,0,n,u,m,n,g=[],l),x),n,x,l,u,c?g:x);break;default:re(z,j,j,j,[\"\"],x,l,u,x)}}f=o=h=0,w=$=1,m=z=\"\",l=s;break;case 58:l=1+A(z),h=p;default:switch(z+=d(k),k*w){case 38:$=o>0?1:(z+=\"\\f\",-1);break;case 44:u[f++]=(A(z)-1)*$,$=1;break;case 64:if(L()===45)z+=U(K());v=L(),o=A(m=z+=_(N())),k++;break;case 45:if(p===45&&A(z)==2)w=0}}return t}function ae(e,r,a,c,t,s,u,i,f,o,l){var v=t-1;var h=t===0?s:[\"\"];var p=M(h);for(var w=0,b=0,$=0;w<c;++w)for(var d=0,m=C(e,v+1,v=k(b=u[w])),x=e;d<p;++d)if(x=g(b>0?h[d]+\" \"+m:y(m,/&\\f/g,h[d])))f[$++]=x;return H(e,r,a,t===0?n:i,f,o,l)}function ce(e,r,a){return H(e,r,a,c,d(J()),C(e,2,-2),0)}function ne(e,r,a,c){return H(e,r,a,t,C(e,0,c),C(e,c+1,-1),c)}function te(c,n){switch(m(c,n)){case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return a+c+c;case 5349:case 4246:case 4810:case 6968:case 2756:return a+c+r+c+e+c+c;case 6828:case 4268:return a+c+e+c+c;case 6165:return a+c+e+\"flex-\"+c+c;case 5187:return a+c+y(c,/(\\w+).+(:[^]+)/,a+\"box-$1$2\"+e+\"flex-$1$2\")+c;case 5443:return a+c+e+\"flex-item-\"+y(c,/flex-|-self/,\"\")+c;case 4675:return a+c+e+\"flex-line-pack\"+y(c,/align-content|flex-|-self/,\"\")+c;case 5548:return a+c+e+y(c,\"shrink\",\"negative\")+c;case 5292:return a+c+e+y(c,\"basis\",\"preferred-size\")+c;case 6060:return a+\"box-\"+y(c,\"-grow\",\"\")+a+c+e+y(c,\"grow\",\"positive\")+c;case 4554:return a+y(c,/([^-])(transform)/g,\"$1\"+a+\"$2\")+c;case 6187:return y(y(y(c,/(zoom-|grab)/,a+\"$1\"),/(image-set)/,a+\"$1\"),c,\"\")+c;case 5495:case 3959:return y(c,/(image-set\\([^]*)/,a+\"$1\"+\"$`$1\");case 4968:return y(y(c,/(.+:)(flex-)?(.*)/,a+\"box-pack:$3\"+e+\"flex-pack:$3\"),/s.+-b[^;]+/,\"justify\")+a+c+c;case 4095:case 3583:case 4068:case 2532:return y(c,/(.+)-inline(.+)/,a+\"$1$2\")+c;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(A(c)-1-n>6)switch(z(c,n+1)){case 109:return y(c,/(.+:)(.+)-([^]+)/,\"$1\"+a+\"$2-$3\"+\"$1\"+r+\"$2-$3\")+c;case 102:return y(c,/(.+:)(.+)-([^]+)/,\"$1\"+a+\"$2-$3\"+\"$1\"+r+\"$3\")+c;case 115:return te(y(c,\"stretch\",\"fill-available\"),n)+c}break;case 4949:if(z(c,n+1)!==115)break;case 6444:switch(z(c,A(c)-3-(~j(c,\"!important\")&&10))){case 107:case 111:return y(c,c,a+c)+c;case 101:return y(c,/(.+:)([^;!]+)(;|!.+)?/,\"$1\"+a+(z(c,14)===45?\"inline-\":\"\")+\"box$3\"+\"$1\"+a+\"$2$3\"+\"$1\"+e+\"$2box$3\")+c}break;case 5936:switch(z(c,n+11)){case 114:return a+c+e+y(c,/[svh]\\w+-[tblr]{2}/,\"tb\")+c;case 108:return a+c+e+y(c,/[svh]\\w+-[tblr]{2}/,\"tb-rl\")+c;case 45:return a+c+e+y(c,/[svh]\\w+-[tblr]{2}/,\"lr\")+c}return a+c+e+c+c}return c}function se(e,r){var a=\"\";var c=M(e);for(var n=0;n<c;n++)a+=r(e[n],n,e,r)||\"\";return a}function ue(e,r,a,s){switch(e.type){case i:case t:return e.return=e.return||e.value;case c:return\"\";case n:e.value=e.props.join(\",\")}return A(a=se(e.children,s))?e.return=e.value+\"{\"+a+\"}\":\"\"}function ie(e){var r=M(e);return function(a,c,n,t){var s=\"\";for(var u=0;u<r;u++)s+=e[u](a,c,n,t)||\"\";return s}}function fe(e){return function(r){if(!r.root)if(r=r.return)e(r)}}function oe(c,s,u,i){if(!c.return)switch(c.type){case t:c.return=te(c.value,c.length);break;case p:return se([I(y(c.value,\"@\",\"@\"+a),c,\"\")],i);case n:if(c.length)return S(c.props,(function(n){switch(x(n,/(::plac\\w+|:read-\\w+)/)){case\":read-only\":case\":read-write\":return se([I(y(n,/:(read-\\w+)/,\":\"+r+\"$1\"),c,\"\")],i);case\"::placeholder\":return se([I(y(n,/:(plac\\w+)/,\":\"+a+\"input-$1\"),c,\"\"),I(y(n,/:(plac\\w+)/,\":\"+r+\"$1\"),c,\"\"),I(y(n,/:(plac\\w+)/,e+\"input-$1\"),c,\"\")],i)}return\"\"}))}}function le(e){switch(e.type){case n:e.props=e.props.map((function(r){return S(V(r),(function(r,a,c){switch(z(r,0)){case 12:return C(r,1,A(r));case 0:case 40:case 43:case 62:case 126:return r;case 58:if(c[a+1]===\"global\")c[a+1]=\"\",c[a+2]=\"\\f\"+C(c[a+2],a=1,-1);case 32:return a===1?\"\":r;default:switch(a){case 0:e=r;return M(c)>1?\"\":r;case a=M(c)-1:case 2:return a===2?r+e+e:r+e;default:return r}}}))}))}}export{f as CHARSET,c as COMMENT,b as COUNTER_STYLE,t as DECLARATION,v as DOCUMENT,w as FONT_FACE,$ as FONT_FEATURE_VALUES,i as IMPORT,p as KEYFRAMES,u as MEDIA,r as MOZ,e as MS,h as NAMESPACE,s as PAGE,n as RULESET,l as SUPPORTS,o as VIEWPORT,a as WEBKIT,k as abs,R as alloc,O as append,N as caret,J as char,F as character,G as characters,z as charat,B as column,S as combine,ce as comment,Z as commenter,ee as compile,I as copy,T as dealloc,ne as declaration,U as delimit,Y as delimiter,d as from,m as hash,_ as identifier,j as indexof,D as length,q as line,x as match,ie as middleware,le as namespace,K as next,H as node,re as parse,L as peek,E as position,te as prefix,oe as prefixer,y as replace,ae as ruleset,fe as rulesheet,se as serialize,M as sizeof,P as slice,ue as stringify,A as strlen,C as substr,Q as token,V as tokenize,X as tokenizer,g as trim,W as whitespace};\n//# sourceMappingURL=stylis.mjs.map\n","// @flow\nlet weakMemoize = function <Arg, Return>(func: Arg => Return): Arg => Return {\n // $FlowFixMe flow doesn't include all non-primitive types as allowed for weakmaps\n let cache: WeakMap<Arg, Return> = new WeakMap()\n return arg => {\n if (cache.has(arg)) {\n // $FlowFixMe\n return cache.get(arg)\n }\n let ret = func(arg)\n cache.set(arg, ret)\n return ret\n }\n}\n\nexport default weakMemoize\n","// @flow\n\nexport default function memoize<V>(fn: string => V): string => V {\n const cache = Object.create(null)\n\n return (arg: string) => {\n if (cache[arg] === undefined) cache[arg] = fn(arg)\n return cache[arg]\n }\n}\n","import {\n compile,\n alloc,\n dealloc,\n next,\n delimit,\n token,\n char,\n from,\n identifier,\n peek,\n position\n} from 'stylis'\n\nconst last = arr => (arr.length ? arr[arr.length - 1] : null)\n\nconst toRules = (parsed, points) => {\n // pretend we've started with a comma\n let index = -1\n let character = 44\n\n do {\n switch (token(character)) {\n case 0:\n // &\\f\n if (character === 38 && peek() === 12) {\n // this is not 100% correct, we don't account for literal sequences here - like for example quoted strings\n // stylis inserts \\f after & to know when & where it should replace this sequence with the context selector\n // and when it should just concatenate the outer and inner selectors\n // it's very unlikely for this sequence to actually appear in a different context, so we just leverage this fact here\n points[index] = 1\n }\n parsed[index] += identifier(position - 1)\n break\n case 2:\n parsed[index] += delimit(character)\n break\n case 4:\n // comma\n if (character === 44) {\n // colon\n parsed[++index] = peek() === 58 ? '&\\f' : ''\n points[index] = parsed[index].length\n break\n }\n // fallthrough\n default:\n parsed[index] += from(character)\n }\n } while ((character = next()))\n\n return parsed\n}\n\nconst getRules = (value, points) => dealloc(toRules(alloc(value), points))\n\n// WeakSet would be more appropriate, but only WeakMap is supported in IE11\nconst fixedElements = /* #__PURE__ */ new WeakMap()\n\nexport let compat = element => {\n if (\n element.type !== 'rule' ||\n !element.parent ||\n // .length indicates if this rule contains pseudo or not\n !element.length\n ) {\n return\n }\n\n let { value, parent } = element\n let isImplicitRule =\n element.column === parent.column && element.line === parent.line\n\n while (parent.type !== 'rule') {\n parent = parent.parent\n if (!parent) return\n }\n\n // short-circuit for the simplest case\n if (\n element.props.length === 1 &&\n value.charCodeAt(0) !== 58 /* colon */ &&\n !fixedElements.get(parent)\n ) {\n return\n }\n\n // if this is an implicitly inserted rule (the one eagerly inserted at the each new nested level)\n // then the props has already been manipulated beforehand as they that array is shared between it and its \"rule parent\"\n if (isImplicitRule) {\n return\n }\n\n fixedElements.set(element, true)\n\n const points = []\n const rules = getRules(value, points)\n const parentRules = parent.props\n\n for (let i = 0, k = 0; i < rules.length; i++) {\n for (let j = 0; j < parentRules.length; j++, k++) {\n element.props[k] = points[i]\n ? rules[i].replace(/&\\f/g, parentRules[j])\n : `${parentRules[j]} ${rules[i]}`\n }\n }\n}\n\nexport let removeLabel = element => {\n if (element.type === 'decl') {\n var value = element.value\n if (\n // charcode for l\n value.charCodeAt(0) === 108 &&\n // charcode for b\n value.charCodeAt(2) === 98\n ) {\n // this ignores label\n element.return = ''\n element.value = ''\n }\n }\n}\n\nconst ignoreFlag =\n 'emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason'\n\nconst isIgnoringComment = element =>\n !!element &&\n element.type === 'comm' &&\n element.children.indexOf(ignoreFlag) > -1\n\nexport let createUnsafeSelectorsAlarm = cache => (element, index, children) => {\n if (element.type !== 'rule') return\n\n const unsafePseudoClasses = element.value.match(\n /(:first|:nth|:nth-last)-child/g\n )\n\n if (unsafePseudoClasses && cache.compat !== true) {\n const prevElement = index > 0 ? children[index - 1] : null\n if (prevElement && isIgnoringComment(last(prevElement.children))) {\n return\n }\n unsafePseudoClasses.forEach(unsafePseudoClass => {\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\nlet isImportRule = element =>\n element.type.charCodeAt(1) === 105 && element.type.charCodeAt(0) === 64\n\nconst isPrependedWithRegularRules = (index, children) => {\n for (let i = index - 1; i >= 0; i--) {\n if (!isImportRule(children[i])) {\n return true\n }\n }\n return false\n}\n\n// use this to remove incorrect elements from further processing\n// so they don't get handed to the `sheet` (or anything else)\n// as that could potentially lead to additional logs which in turn could be overhelming to the user\nconst nullifyElement = element => {\n element.type = ''\n element.value = ''\n element.return = ''\n element.children = ''\n element.props = ''\n}\n\nexport let incorrectImportAlarm = (element, index, children) => {\n if (!isImportRule(element)) {\n return\n }\n\n if (element.parent) {\n console.error(\n \"`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles.\"\n )\n nullifyElement(element)\n } else if (isPrependedWithRegularRules(index, children)) {\n console.error(\n \"`@import` rules can't be after other rules. Please put your `@import` rules before your other rules.\"\n )\n nullifyElement(element)\n }\n}\n","// @flow\nimport { StyleSheet } from '@emotion/sheet'\nimport { type EmotionCache, type SerializedStyles } from '@emotion/utils'\nimport {\n serialize,\n compile,\n middleware,\n rulesheet,\n stringify,\n prefixer,\n COMMENT\n} from 'stylis'\nimport weakMemoize from '@emotion/weak-memoize'\nimport memoize from '@emotion/memoize'\nimport {\n compat,\n removeLabel,\n createUnsafeSelectorsAlarm,\n incorrectImportAlarm\n} from './stylis-plugins'\nimport type { StylisPlugin } from './types'\n\nlet isBrowser = typeof document !== 'undefined'\n\nexport type Options = {\n nonce?: string,\n stylisPlugins?: StylisPlugin[],\n key: string,\n container?: HTMLElement,\n speedy?: boolean,\n prepend?: boolean\n}\n\nlet getServerStylisCache = isBrowser\n ? undefined\n : weakMemoize(() =>\n memoize(() => {\n let cache = {}\n return name => cache[name]\n })\n )\n\nconst defaultStylisPlugins = [prefixer]\n\nlet createCache = (options: Options): EmotionCache => {\n let key = options.key\n\n if (process.env.NODE_ENV !== 'production' && !key) {\n throw new Error(\n \"You have to configure `key` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache.\\n\" +\n `If multiple caches share the same key they might \"fight\" for each other's style elements.`\n )\n }\n\n if (isBrowser && key === 'css') {\n const ssrStyles = document.querySelectorAll(\n `style[data-emotion]:not([data-s])`\n )\n\n // get SSRed styles out of the way of React's hydration\n // document.head is a safe place to move them to(though note document.head is not necessarily the last place they will be)\n // note this very very intentionally targets all style elements regardless of the key to ensure\n // that creating a cache works inside of render of a React component\n Array.prototype.forEach.call(ssrStyles, (node: HTMLStyleElement) => {\n // we want to only move elements which have a space in the data-emotion attribute value\n // because that indicates that it is an Emotion 11 server-side rendered style elements\n // while we will already ignore Emotion 11 client-side inserted styles because of the :not([data-s]) part in the selector\n // Emotion 10 client-side inserted styles did not have data-s (but importantly did not have a space in their data-emotion attributes)\n // so checking for the space ensures that loading Emotion 11 after Emotion 10 has inserted some styles\n // will not result in the Emotion 10 styles being destroyed\n const dataEmotionAttribute = ((node.getAttribute(\n 'data-emotion'\n ): any): string)\n if (dataEmotionAttribute.indexOf(' ') === -1) {\n return\n }\n\n ;((document.head: any): HTMLHeadElement).appendChild(node)\n node.setAttribute('data-s', '')\n })\n }\n\n const stylisPlugins = options.stylisPlugins || defaultStylisPlugins\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 const nodesToHydrate = []\n if (isBrowser) {\n container = options.container || ((document.head: any): HTMLHeadElement)\n\n Array.prototype.forEach.call(\n // this means we will ignore elements which don't have a space in them which\n // means that the style elements we're looking at are only Emotion 11 server-rendered style elements\n document.querySelectorAll(`style[data-emotion^=\"${key} \"]`),\n (node: HTMLStyleElement) => {\n const attrib = ((node.getAttribute(`data-emotion`): any): string).split(\n ' '\n )\n // $FlowFixMe\n for (let i = 1; i < attrib.length; i++) {\n inserted[attrib[i]] = true\n }\n nodesToHydrate.push(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 const omnipresentPlugins = [compat, removeLabel]\n\n if (process.env.NODE_ENV !== 'production') {\n omnipresentPlugins.push(\n createUnsafeSelectorsAlarm({\n get compat() {\n return cache.compat\n }\n }),\n incorrectImportAlarm\n )\n }\n\n if (isBrowser) {\n let currentSheet\n\n const finalizingPlugins = [\n stringify,\n process.env.NODE_ENV !== 'production'\n ? element => {\n if (!element.root) {\n if (element.return) {\n currentSheet.insert(element.return)\n } else if (element.value && element.type !== COMMENT) {\n // insert empty rule in non-production environments\n // so @emotion/jest can grab `key` from the (JS)DOM for caches without any rules inserted yet\n currentSheet.insert(`${element.value}{}`)\n }\n }\n }\n : rulesheet(rule => {\n currentSheet.insert(rule)\n })\n ]\n\n const serializer = middleware(\n omnipresentPlugins.concat(stylisPlugins, finalizingPlugins)\n )\n const stylis = styles => serialize(compile(styles), serializer)\n\n insert = (\n selector: string,\n serialized: SerializedStyles,\n sheet: StyleSheet,\n shouldCache: boolean\n ): void => {\n currentSheet = sheet\n if (\n process.env.NODE_ENV !== 'production' &&\n serialized.map !== undefined\n ) {\n currentSheet = {\n insert: (rule: string) => {\n sheet.insert(rule + ((serialized.map: any): string))\n }\n }\n }\n\n stylis(selector ? `${selector}{${serialized.styles}}` : serialized.styles)\n\n if (shouldCache) {\n cache.inserted[serialized.name] = true\n }\n }\n } else {\n const finalizingPlugins = [stringify]\n const serializer = middleware(\n omnipresentPlugins.concat(stylisPlugins, finalizingPlugins)\n )\n const stylis = styles => serialize(compile(styles), serializer)\n\n // $FlowFixMe\n let serverStylisCache = getServerStylisCache(stylisPlugins)(key)\n let getRules = (selector: string, serialized: SerializedStyles): string => {\n let name = serialized.name\n if (serverStylisCache[name] === undefined) {\n serverStylisCache[name] = stylis(\n selector ? `${selector}{${serialized.styles}}` : serialized.styles\n )\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 const cache: EmotionCache = {\n key,\n sheet: new StyleSheet({\n key,\n container: ((container: any): HTMLElement),\n nonce: options.nonce,\n speedy: options.speedy,\n prepend: options.prepend\n }),\n nonce: options.nonce,\n inserted,\n registered: {},\n insert\n }\n\n cache.sheet.hydrate(nodesToHydrate)\n\n return cache\n}\n\nexport default createCache\n","// @flow\nexport let isBrowser = typeof document !== 'undefined'\n\nexport const hasOwnProperty = Object.prototype.hasOwnProperty\n","// @flow\nimport { type EmotionCache } from '@emotion/utils'\nimport * as React from 'react'\nimport { useContext, forwardRef } from 'react'\nimport createCache from '@emotion/cache'\nimport { isBrowser } from './utils'\n\nlet EmotionCacheContext: React.Context<EmotionCache | null> =\n /* #__PURE__ */ React.createContext(\n // we're doing this to avoid preconstruct's dead code elimination in this one case\n // because this module is primarily intended for the browser and node\n // but it's also required in react native and similar environments sometimes\n // and we could have a special build just for that\n // but this is much easier and the native packages\n // might use a different theme context in the future anyway\n typeof HTMLElement !== 'undefined'\n ? /* #__PURE__ */ createCache({ key: 'css' })\n : null\n )\n\nif (process.env.NODE_ENV !== 'production') {\n EmotionCacheContext.displayName = 'EmotionCacheContext'\n}\n\nexport let CacheProvider = EmotionCacheContext.Provider\n\nexport let __unsafe_useEmotionCache =\n function useEmotionCache(): EmotionCache | null {\n return useContext(EmotionCacheContext)\n }\n\nlet withEmotionCache = function withEmotionCache<Props, Ref: React.Ref<*>>(\n func: (props: Props, cache: EmotionCache, ref: Ref) => React.Node\n): React.AbstractComponent<Props> {\n // $FlowFixMe\n return forwardRef((props: Props, ref: Ref) => {\n // the cache will never be null in the browser\n let cache = ((useContext(EmotionCacheContext): any): EmotionCache)\n\n return func(props, cache, ref)\n })\n}\n\nif (!isBrowser) {\n withEmotionCache = function withEmotionCache<Props>(\n func: (props: Props, cache: EmotionCache) => React.Node\n ): React.StatelessFunctionalComponent<Props> {\n return (props: Props) => {\n let cache = useContext(EmotionCacheContext)\n if (cache === null) {\n // yes, we're potentially creating this on every render\n // it doesn't actually matter though since it's only on the server\n // so there will only every be a single render\n // that could change in the future because of suspense and etc. but for now,\n // this works and i don't want to optimise for a future thing that we aren't sure about\n cache = createCache({ key: 'css' })\n return (\n <EmotionCacheContext.Provider value={cache}>\n {func(props, cache)}\n </EmotionCacheContext.Provider>\n )\n } else {\n return func(props, cache)\n }\n }\n }\n}\n\nexport { withEmotionCache }\n","function _extends() {\n module.exports = _extends = Object.assign || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n\n return target;\n };\n\n module.exports[\"default\"] = module.exports, module.exports.__esModule = true;\n return _extends.apply(this, arguments);\n}\n\nmodule.exports = _extends;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;","/** @license React v16.12.0\n * react-is.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';Object.defineProperty(exports,\"__esModule\",{value:!0});\nvar b=\"function\"===typeof Symbol&&Symbol.for,c=b?Symbol.for(\"react.element\"):60103,d=b?Symbol.for(\"react.portal\"):60106,e=b?Symbol.for(\"react.fragment\"):60107,f=b?Symbol.for(\"react.strict_mode\"):60108,g=b?Symbol.for(\"react.profiler\"):60114,h=b?Symbol.for(\"react.provider\"):60109,k=b?Symbol.for(\"react.context\"):60110,l=b?Symbol.for(\"react.async_mode\"):60111,m=b?Symbol.for(\"react.concurrent_mode\"):60111,n=b?Symbol.for(\"react.forward_ref\"):60112,p=b?Symbol.for(\"react.suspense\"):60113,q=b?Symbol.for(\"react.suspense_list\"):\n60120,r=b?Symbol.for(\"react.memo\"):60115,t=b?Symbol.for(\"react.lazy\"):60116,v=b?Symbol.for(\"react.fundamental\"):60117,w=b?Symbol.for(\"react.responder\"):60118,x=b?Symbol.for(\"react.scope\"):60119;function y(a){if(\"object\"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c:switch(a=a.type,a){case l:case m:case e:case g:case f:case p:return a;default:switch(a=a&&a.$$typeof,a){case k:case n:case t:case r:case h:return a;default:return u}}case d:return u}}}function z(a){return y(a)===m}\nexports.typeOf=y;exports.AsyncMode=l;exports.ConcurrentMode=m;exports.ContextConsumer=k;exports.ContextProvider=h;exports.Element=c;exports.ForwardRef=n;exports.Fragment=e;exports.Lazy=t;exports.Memo=r;exports.Portal=d;exports.Profiler=g;exports.StrictMode=f;exports.Suspense=p;\nexports.isValidElementType=function(a){return\"string\"===typeof a||\"function\"===typeof a||a===e||a===m||a===g||a===f||a===p||a===q||\"object\"===typeof a&&null!==a&&(a.$$typeof===t||a.$$typeof===r||a.$$typeof===h||a.$$typeof===k||a.$$typeof===n||a.$$typeof===v||a.$$typeof===w||a.$$typeof===x)};exports.isAsyncMode=function(a){return z(a)||y(a)===l};exports.isConcurrentMode=z;exports.isContextConsumer=function(a){return y(a)===k};exports.isContextProvider=function(a){return y(a)===h};\nexports.isElement=function(a){return\"object\"===typeof a&&null!==a&&a.$$typeof===c};exports.isForwardRef=function(a){return y(a)===n};exports.isFragment=function(a){return y(a)===e};exports.isLazy=function(a){return y(a)===t};exports.isMemo=function(a){return y(a)===r};exports.isPortal=function(a){return y(a)===d};exports.isProfiler=function(a){return y(a)===g};exports.isStrictMode=function(a){return y(a)===f};exports.isSuspense=function(a){return y(a)===p};\n","/** @license React v16.12.0\n * react-is.development.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\n\n\nif (process.env.NODE_ENV !== \"production\") {\n (function() {\n'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\n// The Symbol used to tag the ReactElement-like types. If there is no native Symbol\n// nor polyfill, then a plain number is used for performance.\nvar hasSymbol = typeof Symbol === 'function' && Symbol.for;\nvar REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7;\nvar REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca;\nvar REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb;\nvar REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc;\nvar REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;\nvar REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;\nvar REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace; // TODO: We don't use AsyncMode or ConcurrentMode anymore. They were temporary\n// (unstable) APIs that have been removed. Can we remove the symbols?\n\nvar REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for('react.async_mode') : 0xeacf;\nvar REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf;\nvar REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;\nvar REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;\nvar REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for('react.suspense_list') : 0xead8;\nvar REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3;\nvar REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4;\nvar REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for('react.fundamental') : 0xead5;\nvar REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for('react.responder') : 0xead6;\nvar REACT_SCOPE_TYPE = hasSymbol ? Symbol.for('react.scope') : 0xead7;\n\nfunction isValidElementType(type) {\n return typeof type === 'string' || typeof type === 'function' || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.\n type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || typeof type === 'object' && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_RESPONDER_TYPE || type.$$typeof === REACT_SCOPE_TYPE);\n}\n\n/**\n * Forked from fbjs/warning:\n * https://github.com/facebook/fbjs/blob/e66ba20ad5be433eb54423f2b097d829324d9de6/packages/fbjs/src/__forks__/warning.js\n *\n * Only change is we use console.warn instead of console.error,\n * and do nothing when 'console' is not supported.\n * This really simplifies the code.\n * ---\n * Similar to invariant but only logs a warning if the condition is not met.\n * This can be used to log issues in development environments in critical\n * paths. Removing the logging code for production environments will keep the\n * same logic and follow the same code paths.\n */\nvar lowPriorityWarningWithoutStack = function () {};\n\n{\n var printWarning = function (format) {\n for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n\n var argIndex = 0;\n var message = 'Warning: ' + format.replace(/%s/g, function () {\n return args[argIndex++];\n });\n\n if (typeof console !== 'undefined') {\n console.warn(message);\n }\n\n try {\n // --- Welcome to debugging React ---\n // This error was thrown as a convenience so that you can use this stack\n // to find the callsite that caused this warning to fire.\n throw new Error(message);\n } catch (x) {}\n };\n\n lowPriorityWarningWithoutStack = function (condition, format) {\n if (format === undefined) {\n throw new Error('`lowPriorityWarningWithoutStack(condition, format, ...args)` requires a warning ' + 'message argument');\n }\n\n if (!condition) {\n for (var _len2 = arguments.length, args = new Array(_len2 > 2 ? _len2 - 2 : 0), _key2 = 2; _key2 < _len2; _key2++) {\n args[_key2 - 2] = arguments[_key2];\n }\n\n printWarning.apply(void 0, [format].concat(args));\n }\n };\n}\n\nvar lowPriorityWarningWithoutStack$1 = lowPriorityWarningWithoutStack;\n\nfunction typeOf(object) {\n if (typeof object === 'object' && object !== null) {\n var $$typeof = object.$$typeof;\n\n switch ($$typeof) {\n case REACT_ELEMENT_TYPE:\n var type = object.type;\n\n switch (type) {\n case REACT_ASYNC_MODE_TYPE:\n case REACT_CONCURRENT_MODE_TYPE:\n case REACT_FRAGMENT_TYPE:\n case REACT_PROFILER_TYPE:\n case REACT_STRICT_MODE_TYPE:\n case REACT_SUSPENSE_TYPE:\n return type;\n\n default:\n var $$typeofType = type && type.$$typeof;\n\n switch ($$typeofType) {\n case REACT_CONTEXT_TYPE:\n case REACT_FORWARD_REF_TYPE:\n case REACT_LAZY_TYPE:\n case REACT_MEMO_TYPE:\n case REACT_PROVIDER_TYPE:\n return $$typeofType;\n\n default:\n return $$typeof;\n }\n\n }\n\n case REACT_PORTAL_TYPE:\n return $$typeof;\n }\n }\n\n return undefined;\n} // AsyncMode is deprecated along with isAsyncMode\n\nvar AsyncMode = REACT_ASYNC_MODE_TYPE;\nvar ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;\nvar ContextConsumer = REACT_CONTEXT_TYPE;\nvar ContextProvider = REACT_PROVIDER_TYPE;\nvar Element = REACT_ELEMENT_TYPE;\nvar ForwardRef = REACT_FORWARD_REF_TYPE;\nvar Fragment = REACT_FRAGMENT_TYPE;\nvar Lazy = REACT_LAZY_TYPE;\nvar Memo = REACT_MEMO_TYPE;\nvar Portal = REACT_PORTAL_TYPE;\nvar Profiler = REACT_PROFILER_TYPE;\nvar StrictMode = REACT_STRICT_MODE_TYPE;\nvar Suspense = REACT_SUSPENSE_TYPE;\nvar hasWarnedAboutDeprecatedIsAsyncMode = false; // AsyncMode should be deprecated\n\nfunction isAsyncMode(object) {\n {\n if (!hasWarnedAboutDeprecatedIsAsyncMode) {\n hasWarnedAboutDeprecatedIsAsyncMode = true;\n lowPriorityWarningWithoutStack$1(false, 'The ReactIs.isAsyncMode() alias has been deprecated, ' + 'and will be removed in React 17+. Update your code to use ' + 'ReactIs.isConcurrentMode() instead. It has the exact same API.');\n }\n }\n\n return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;\n}\nfunction isConcurrentMode(object) {\n return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;\n}\nfunction isContextConsumer(object) {\n return typeOf(object) === REACT_CONTEXT_TYPE;\n}\nfunction isContextProvider(object) {\n return typeOf(object) === REACT_PROVIDER_TYPE;\n}\nfunction isElement(object) {\n return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;\n}\nfunction isForwardRef(object) {\n return typeOf(object) === REACT_FORWARD_REF_TYPE;\n}\nfunction isFragment(object) {\n return typeOf(object) === REACT_FRAGMENT_TYPE;\n}\nfunction isLazy(object) {\n return typeOf(object) === REACT_LAZY_TYPE;\n}\nfunction isMemo(object) {\n return typeOf(object) === REACT_MEMO_TYPE;\n}\nfunction isPortal(object) {\n return typeOf(object) === REACT_PORTAL_TYPE;\n}\nfunction isProfiler(object) {\n return typeOf(object) === REACT_PROFILER_TYPE;\n}\nfunction isStrictMode(object) {\n return typeOf(object) === REACT_STRICT_MODE_TYPE;\n}\nfunction isSuspense(object) {\n return typeOf(object) === REACT_SUSPENSE_TYPE;\n}\n\nexports.typeOf = typeOf;\nexports.AsyncMode = AsyncMode;\nexports.ConcurrentMode = ConcurrentMode;\nexports.ContextConsumer = ContextConsumer;\nexports.ContextProvider = ContextProvider;\nexports.Element = Element;\nexports.ForwardRef = ForwardRef;\nexports.Fragment = Fragment;\nexports.Lazy = Lazy;\nexports.Memo = Memo;\nexports.Portal = Portal;\nexports.Profiler = Profiler;\nexports.StrictMode = StrictMode;\nexports.Suspense = Suspense;\nexports.isValidElementType = isValidElementType;\nexports.isAsyncMode = isAsyncMode;\nexports.isConcurrentMode = isConcurrentMode;\nexports.isContextConsumer = isContextConsumer;\nexports.isContextProvider = isContextProvider;\nexports.isElement = isElement;\nexports.isForwardRef = isForwardRef;\nexports.isFragment = isFragment;\nexports.isLazy = isLazy;\nexports.isMemo = isMemo;\nexports.isPortal = isPortal;\nexports.isProfiler = isProfiler;\nexports.isStrictMode = isStrictMode;\nexports.isSuspense = isSuspense;\n })();\n}\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-is.production.min.js');\n} else {\n module.exports = require('./cjs/react-is.development.js');\n}\n","'use strict';\n\nvar reactIs = require('react-is');\n\n/**\n * Copyright 2015, Yahoo! Inc.\n * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n */\nvar REACT_STATICS = {\n childContextTypes: true,\n contextType: true,\n contextTypes: true,\n defaultProps: true,\n displayName: true,\n getDefaultProps: true,\n getDerivedStateFromError: true,\n getDerivedStateFromProps: true,\n mixins: true,\n propTypes: true,\n type: true\n};\nvar KNOWN_STATICS = {\n name: true,\n length: true,\n prototype: true,\n caller: true,\n callee: true,\n arguments: true,\n arity: true\n};\nvar FORWARD_REF_STATICS = {\n '$$typeof': true,\n render: true,\n defaultProps: true,\n displayName: true,\n propTypes: true\n};\nvar MEMO_STATICS = {\n '$$typeof': true,\n compare: true,\n defaultProps: true,\n displayName: true,\n propTypes: true,\n type: true\n};\nvar TYPE_STATICS = {};\nTYPE_STATICS[reactIs.ForwardRef] = FORWARD_REF_STATICS;\n\nfunction getStatics(component) {\n if (reactIs.isMemo(component)) {\n return MEMO_STATICS;\n }\n\n return TYPE_STATICS[component['$$typeof']] || REACT_STATICS;\n}\n\nvar defineProperty = Object.defineProperty;\nvar getOwnPropertyNames = Object.getOwnPropertyNames;\nvar getOwnPropertySymbols = Object.getOwnPropertySymbols;\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\nvar getPrototypeOf = Object.getPrototypeOf;\nvar objectPrototype = Object.prototype;\nfunction hoistNonReactStatics(targetComponent, sourceComponent, blacklist) {\n if (typeof sourceComponent !== 'string') {\n // don't hoist over string (html) components\n if (objectPrototype) {\n var inheritedComponent = getPrototypeOf(sourceComponent);\n\n if (inheritedComponent && inheritedComponent !== objectPrototype) {\n hoistNonReactStatics(targetComponent, inheritedComponent, blacklist);\n }\n }\n\n var keys = getOwnPropertyNames(sourceComponent);\n\n if (getOwnPropertySymbols) {\n keys = keys.concat(getOwnPropertySymbols(sourceComponent));\n }\n\n var targetStatics = getStatics(targetComponent);\n var sourceStatics = getStatics(sourceComponent);\n\n for (var i = 0; i < keys.length; ++i) {\n var key = keys[i];\n\n if (!KNOWN_STATICS[key] && !(blacklist && blacklist[key]) && !(sourceStatics && sourceStatics[key]) && !(targetStatics && targetStatics[key])) {\n var descriptor = getOwnPropertyDescriptor(sourceComponent, key);\n\n try {\n // Avoid failures from read-only properties\n defineProperty(targetComponent, key, descriptor);\n } catch (e) {}\n }\n }\n }\n\n return targetComponent;\n}\n\nmodule.exports = hoistNonReactStatics;\n","// @flow\nimport * as React from 'react'\nimport weakMemoize from '@emotion/weak-memoize'\nimport hoistNonReactStatics from './isolated-hoist-non-react-statics-do-not-use-this-in-your-code'\n\nexport const ThemeContext = /* #__PURE__ */ React.createContext<Object>({})\nif (process.env.NODE_ENV !== 'production') {\n ThemeContext.displayName = 'EmotionThemeContext'\n}\n\nexport const useTheme = () => React.useContext(ThemeContext)\n\nconst getTheme = (outerTheme: Object, theme: Object | (Object => Object)) => {\n if (typeof theme === 'function') {\n const mergedTheme = theme(outerTheme)\n if (\n process.env.NODE_ENV !== 'production' &&\n (mergedTheme == null ||\n typeof mergedTheme !== 'object' ||\n Array.isArray(mergedTheme))\n ) {\n throw new Error(\n '[ThemeProvider] Please return an object from your theme function, i.e. theme={() => ({})}!'\n )\n }\n return mergedTheme\n }\n if (\n process.env.NODE_ENV !== 'production' &&\n (theme == null || typeof theme !== 'object' || Array.isArray(theme))\n ) {\n throw new Error(\n '[ThemeProvider] Please make your theme prop a plain object'\n )\n }\n\n return { ...outerTheme, ...theme }\n}\n\nlet createCacheWithTheme = /* #__PURE__ */ weakMemoize(outerTheme => {\n return weakMemoize(theme => {\n return getTheme(outerTheme, theme)\n })\n})\n\ntype ThemeProviderProps = {\n theme: Object | (Object => Object),\n children: React.Node\n}\n\nexport const ThemeProvider = (props: ThemeProviderProps) => {\n let theme = React.useContext(ThemeContext)\n\n if (props.theme !== theme) {\n theme = createCacheWithTheme(theme)(props.theme)\n }\n return (\n <ThemeContext.Provider value={theme}>\n {props.children}\n </ThemeContext.Provider>\n )\n}\n\nexport function withTheme<Config: {}>(\n Component: React.AbstractComponent<Config>\n): React.AbstractComponent<$Diff<Config, { theme: Object }>> {\n const componentName = Component.displayName || Component.name || 'Component'\n let render = (props, ref) => {\n let theme = React.useContext(ThemeContext)\n\n return <Component theme={theme} ref={ref} {...props} />\n }\n // $FlowFixMe\n let WithTheme = React.forwardRef(render)\n\n WithTheme.displayName = `WithTheme(${componentName})`\n\n return hoistNonReactStatics(WithTheme, Component)\n}\n","// @flow\nimport type { RegisteredCache, EmotionCache, SerializedStyles } from './types'\n\nconst 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 serialized === current ? `.${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\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 = /* #__PURE__ */ memoize((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 =\n /(attr|counters?|url|(((repeating-)?(linear|radial))|conic)-gradient)\\(|(no-)?(open|close)-quote/\n let contentValues = ['normal', 'none', 'initial', 'inherit', 'unset']\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 throw new 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\nfunction handleInterpolation(\n mergedProps: void | Object,\n registered: RegisteredCache | void,\n interpolation: Interpolation\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 @emotion/babel-plugin.'\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(mergedProps, registered, result)\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 return cached !== undefined ? cached : 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])};`\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 @emotion/babel-plugin.'\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 )\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 =\n /\\/\\*#\\ssourceMappingURL=data:application\\/json;\\S+\\s+\\*\\//g\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)\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(mergedProps, registered, args[i])\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/* eslint-disable */\n// Inspired by https://github.com/garycourt/murmurhash-js\n// Ported from https://github.com/aappleby/smhasher/blob/61a0530f28277f2e850bfc39600ce61d02b518de/src/MurmurHash2.cpp#L37-L86\n\nexport default function murmur2(str: string) {\n // 'm' and 'r' are mixing constants generated offline.\n // They're not really 'magic', they just happen to work well.\n\n // const m = 0x5bd1e995;\n // const r = 24;\n\n // Initialize the hash\n\n var h = 0\n\n // Mix 4 bytes at a time into the hash\n\n var k,\n i = 0,\n len = str.length\n for (; len >= 4; ++i, len -= 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 =\n /* Math.imul(k, m): */\n (k & 0xffff) * 0x5bd1e995 + (((k >>> 16) * 0xe995) << 16)\n k ^= /* k >>> r: */ k >>> 24\n\n h =\n /* Math.imul(k, m): */\n ((k & 0xffff) * 0x5bd1e995 + (((k >>> 16) * 0xe995) << 16)) ^\n /* Math.imul(h, m): */\n ((h & 0xffff) * 0x5bd1e995 + (((h >>> 16) * 0xe995) << 16))\n }\n\n // Handle the last few bytes of the input array\n\n switch (len) {\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 /* Math.imul(h, m): */\n (h & 0xffff) * 0x5bd1e995 + (((h >>> 16) * 0xe995) << 16)\n }\n\n // Do a few final mixes of the hash to ensure the last few\n // bytes are well-incorporated.\n\n h ^= h >>> 13\n h =\n /* Math.imul(h, m): */\n (h & 0xffff) * 0x5bd1e995 + (((h >>> 16) * 0xe995) << 16)\n\n return ((h ^ (h >>> 15)) >>> 0).toString(36)\n}\n","// @flow\nimport * as React from 'react'\nimport { withEmotionCache } from './context'\nimport { ThemeContext } from './theming'\nimport { getRegisteredStyles, insertStyles } from '@emotion/utils'\nimport { hasOwnProperty, isBrowser } from './utils'\nimport { serializeStyles } from '@emotion/serialize'\n\n// those identifiers come from error stacks, so they have to be valid JS identifiers\n// thus we only need to replace what is a valid character for JS, but not for CSS\nconst sanitizeIdentifier = (identifier: string) =>\n identifier.replace(/\\$/g, '-')\n\nlet typePropName = '__EMOTION_TYPE_PLEASE_DO_NOT_USE__'\n\nlet labelPropName = '__EMOTION_LABEL_PLEASE_DO_NOT_USE__'\n\nexport const createEmotionProps = (type: React.ElementType, props: Object) => {\n if (\n process.env.NODE_ENV !== 'production' &&\n typeof props.css === 'string' &&\n // check if there is a css declaration\n props.css.indexOf(':') !== -1\n ) {\n throw new Error(\n `Strings are not allowed as css prop values, please wrap it in a css template literal from '@emotion/react' like this: css\\`${props.css}\\``\n )\n }\n\n let newProps: any = {}\n\n for (let key in props) {\n if (hasOwnProperty.call(props, key)) {\n newProps[key] = props[key]\n }\n }\n\n newProps[typePropName] = type\n\n if (process.env.NODE_ENV !== 'production') {\n const error = new Error()\n if (error.stack) {\n // chrome\n let match = error.stack.match(\n /at (?:Object\\.|Module\\.|)(?:jsx|createEmotionProps).*\\n\\s+at (?:Object\\.|)([A-Z][A-Za-z0-9$]+) /\n )\n if (!match) {\n // safari and firefox\n match = error.stack.match(/.*\\n([A-Z][A-Za-z0-9$]+)@/)\n }\n if (match) {\n newProps[labelPropName] = sanitizeIdentifier(match[1])\n }\n }\n }\n\n return newProps\n}\n\nlet Emotion = /* #__PURE__ */ withEmotionCache<any, any>(\n (props, cache, ref) => {\n let cssProp = props.css\n\n // so that using `css` from `emotion` and passing the result to the css prop works\n // not passing the registered cache to serializeStyles because it would\n // make certain babel optimisations not possible\n if (\n typeof cssProp === 'string' &&\n cache.registered[cssProp] !== undefined\n ) {\n cssProp = cache.registered[cssProp]\n }\n\n let type = props[typePropName]\n let registeredStyles = [cssProp]\n let className = ''\n\n if (typeof props.className === 'string') {\n className = getRegisteredStyles(\n cache.registered,\n registeredStyles,\n props.className\n )\n } else if (props.className != null) {\n className = `${props.className} `\n }\n\n let serialized = serializeStyles(\n registeredStyles,\n undefined,\n React.useContext(ThemeContext)\n )\n\n if (\n process.env.NODE_ENV !== 'production' &&\n serialized.name.indexOf('-') === -1\n ) {\n let labelFromStack = props[labelPropName]\n if (labelFromStack) {\n serialized = serializeStyles([\n serialized,\n 'label:' + labelFromStack + ';'\n ])\n }\n }\n const rules = insertStyles(cache, serialized, typeof type === 'string')\n className += `${cache.key}-${serialized.name}`\n\n const newProps = {}\n for (let key in props) {\n if (\n hasOwnProperty.call(props, key) &&\n key !== 'css' &&\n key !== typePropName &&\n (process.env.NODE_ENV === 'production' || key !== labelPropName)\n ) {\n newProps[key] = props[key]\n }\n }\n newProps.ref = ref\n newProps.className = className\n\n const ele = React.createElement(type, newProps)\n if (!isBrowser && rules !== undefined) {\n let serializedNames = serialized.name\n let next = serialized.next\n while (next !== undefined) {\n serializedNames += ' ' + next.name\n next = next.next\n }\n return (\n <>\n <style\n {...{\n [`data-emotion`]: `${cache.key} ${serializedNames}`,\n dangerouslySetInnerHTML: { __html: rules },\n nonce: cache.sheet.nonce\n }}\n />\n {ele}\n </>\n )\n }\n return ele\n }\n)\n\nif (process.env.NODE_ENV !== 'production') {\n Emotion.displayName = 'EmotionCssPropInternal'\n}\n\nexport default Emotion\n","// @flow\nimport * as React from 'react'\nimport Emotion, { createEmotionProps } from './emotion-element'\nimport { hasOwnProperty } from './utils'\n\n// $FlowFixMe\nexport const jsx: typeof React.createElement = function (\n type: React.ElementType,\n props: Object\n) {\n let args = arguments\n\n if (props == null || !hasOwnProperty.call(props, 'css')) {\n // $FlowFixMe\n return React.createElement.apply(undefined, args)\n }\n\n let argsLength = args.length\n let createElementArgArray = new Array(argsLength)\n createElementArgArray[0] = Emotion\n createElementArgArray[1] = createEmotionProps(type, props)\n\n for (let i = 2; i < argsLength; i++) {\n createElementArgArray[i] = args[i]\n }\n\n // $FlowFixMe\n return React.createElement.apply(null, createElementArgArray)\n}\n","// @flow\nimport * as React from 'react'\nimport { withEmotionCache } from './context'\nimport { ThemeContext } from './theming'\nimport { insertStyles } from '@emotion/utils'\nimport { isBrowser } from './utils'\n\nimport { StyleSheet } from '@emotion/sheet'\nimport { serializeStyles } from '@emotion/serialize'\n\ntype Styles = Object | Array<Object>\n\ntype GlobalProps = {\n +styles: Styles | (Object => Styles)\n}\n\nlet warnedAboutCssPropForGlobal = false\n\n// maintain place over rerenders.\n// initial render from browser, insertBefore context.sheet.tags[0] or if a style hasn't been inserted there yet, appendChild\n// initial client-side render from SSR, use place of hydrating tag\n\nexport let Global: React.AbstractComponent<GlobalProps> =\n /* #__PURE__ */ withEmotionCache((props: GlobalProps, cache) => {\n if (\n process.env.NODE_ENV !== 'production' &&\n !warnedAboutCssPropForGlobal && // check for className as well since the user is\n // probably using the custom createElement which\n // means it will be turned into a className prop\n // $FlowFixMe I don't really want to add it to the type since it shouldn't be used\n (props.className || props.css)\n ) {\n console.error(\n \"It looks like you're using the css prop on Global, did you mean to use the styles prop instead?\"\n )\n warnedAboutCssPropForGlobal = true\n }\n let styles = props.styles\n\n let serialized = serializeStyles(\n [styles],\n undefined,\n React.useContext(ThemeContext)\n )\n\n if (!isBrowser) {\n let serializedNames = serialized.name\n let serializedStyles = serialized.styles\n let next = serialized.next\n while (next !== undefined) {\n serializedNames += ' ' + next.name\n serializedStyles += next.styles\n next = next.next\n }\n\n let shouldCache = cache.compat === true\n\n let rules = cache.insert(\n ``,\n { name: serializedNames, styles: serializedStyles },\n cache.sheet,\n shouldCache\n )\n\n if (shouldCache) {\n return null\n }\n\n return (\n <style\n {...{\n [`data-emotion`]: `${cache.key}-global ${serializedNames}`,\n dangerouslySetInnerHTML: { __html: rules },\n nonce: cache.sheet.nonce\n }}\n />\n )\n }\n\n // yes, i know these hooks are used conditionally\n // but it is based on a constant that will never change at runtime\n // it's effectively like having two implementations and switching them out\n // so it's not actually breaking anything\n\n let sheetRef = React.useRef()\n\n React.useLayoutEffect(() => {\n const key = `${cache.key}-global`\n\n let sheet = new StyleSheet({\n key,\n nonce: cache.sheet.nonce,\n container: cache.sheet.container,\n speedy: cache.sheet.isSpeedy\n })\n let rehydrating = false\n // $FlowFixMe\n let node: HTMLStyleElement | null = document.querySelector(\n `style[data-emotion=\"${key} ${serialized.name}\"]`\n )\n if (cache.sheet.tags.length) {\n sheet.before = cache.sheet.tags[0]\n }\n if (node !== null) {\n rehydrating = true\n // clear the hash so this node won't be recognizable as rehydratable by other <Global/>s\n node.setAttribute('data-emotion', key)\n sheet.hydrate([node])\n }\n sheetRef.current = [sheet, rehydrating]\n return () => {\n sheet.flush()\n }\n }, [cache])\n\n React.useLayoutEffect(() => {\n let sheetRefCurrent = (sheetRef.current: any)\n let [sheet, rehydrating] = sheetRefCurrent\n if (rehydrating) {\n sheetRefCurrent[1] = false\n return\n }\n if (serialized.next !== undefined) {\n // insert keyframes\n insertStyles(cache, serialized.next, true)\n }\n\n if (sheet.tags.length) {\n // if this doesn't exist then it will be null so the style element will be appended\n let element = sheet.tags[sheet.tags.length - 1].nextElementSibling\n sheet.before = ((element: any): Element | null)\n sheet.flush()\n }\n cache.insert(``, serialized, sheet, false)\n }, [cache, serialized.name])\n\n return null\n })\n\nif (process.env.NODE_ENV !== 'production') {\n Global.displayName = 'EmotionGlobal'\n}\n","// @flow\n\nimport type { Interpolation, SerializedStyles } from '@emotion/utils'\nimport { serializeStyles } from '@emotion/serialize'\n\nfunction css(...args: Array<Interpolation>): SerializedStyles {\n return serializeStyles(args)\n}\n\nexport default css\n","// @flow\nimport * as React from 'react'\nimport { getRegisteredStyles, insertStyles } from '@emotion/utils'\nimport { serializeStyles } from '@emotion/serialize'\nimport { withEmotionCache } from './context'\nimport { ThemeContext } from './theming'\nimport { isBrowser } from './utils'\n\ntype ClassNameArg =\n | string\n | boolean\n | { [key: string]: boolean }\n | Array<ClassNameArg>\n | null\n | void\n\nlet classnames = (args: Array<ClassNameArg>): string => {\n let len = args.length\n let i = 0\n let cls = ''\n for (; i < len; 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 if (\n process.env.NODE_ENV !== 'production' &&\n arg.styles !== undefined &&\n arg.name !== undefined\n ) {\n console.error(\n 'You have passed styles created with `css` from `@emotion/react` package to the `cx`.\\n' +\n '`cx` is meant to compose class names (strings) so you should convert those styles to a class name by passing them to the `css` received from <ClassNames/> component.'\n )\n }\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}\nfunction merge(\n registered: Object,\n css: (...args: Array<any>) => string,\n className: string\n) {\n const registeredStyles = []\n\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\ntype Props = {\n children: ({\n css: (...args: any) => string,\n cx: (...args: Array<ClassNameArg>) => string,\n theme: Object\n }) => React.Node\n}\n\nexport const ClassNames: React.AbstractComponent<Props> =\n /* #__PURE__ */ withEmotionCache((props, cache) => {\n let rules = ''\n let serializedHashes = ''\n let hasRendered = false\n\n let css = (...args: Array<any>) => {\n if (hasRendered && process.env.NODE_ENV !== 'production') {\n throw new Error('css can only be used during render')\n }\n let serialized = serializeStyles(args, cache.registered)\n if (isBrowser) {\n insertStyles(cache, serialized, false)\n } else {\n let res = insertStyles(cache, serialized, false)\n if (res !== undefined) {\n rules += res\n }\n }\n if (!isBrowser) {\n serializedHashes += ` ${serialized.name}`\n }\n return `${cache.key}-${serialized.name}`\n }\n let cx = (...args: Array<ClassNameArg>) => {\n if (hasRendered && process.env.NODE_ENV !== 'production') {\n throw new Error('cx can only be used during render')\n }\n return merge(cache.registered, css, classnames(args))\n }\n let content = {\n css,\n cx,\n theme: React.useContext(ThemeContext)\n }\n let ele = props.children(content)\n hasRendered = true\n if (!isBrowser && rules.length !== 0) {\n return (\n <>\n <style\n {...{\n [`data-emotion`]: `${cache.key} ${serializedHashes.substring(1)}`,\n dangerouslySetInnerHTML: { __html: rules },\n nonce: cache.sheet.nonce\n }}\n />\n {ele}\n </>\n )\n }\n return ele\n })\n\nif (process.env.NODE_ENV !== 'production') {\n ClassNames.displayName = 'EmotionClassNames'\n}\n","// @flow\nimport css from './css'\n\ntype Keyframes = {|\n name: string,\n styles: string,\n anim: 1,\n toString: () => string\n|} & string\n\nexport const keyframes = (...args: *): Keyframes => {\n let insertable = css(...args)\n const name = `animation-${insertable.name}`\n // $FlowFixMe\n return {\n name,\n styles: `@keyframes ${name}{${insertable.styles}}`,\n anim: 1,\n toString() {\n return `_EMO_${this.name}_${this.styles}_EMO_`\n }\n }\n}\n","// this file isolates this package that is not tree-shakeable\n// and allows it to be dropped - if it stays unused\n// it happens thanks to sideEffects: false in our package.json\nimport hoistNonReactStatics from 'hoist-non-react-statics'\n\n// have to wrap it in a proxy function because Rollup is too damn smart\n// and if this module doesn't actually contain any logic of its own\n// then Rollup just use 'hoist-non-react-statics' directly in other chunks\nexport default (targetComponent, sourceComponent) =>\n hoistNonReactStatics(targetComponent, sourceComponent)\n"],"names":["StyleSheet","options","_insertTag","tag","before","_this","tags","length","prepend","container","firstChild","nextSibling","insertBefore","push","isSpeedy","undefined","speedy","ctr","nonce","key","hydrate","nodes","forEach","this","insert","rule","document","createElement","setAttribute","appendChild","createTextNode","createStyleElement","sheet","i","styleSheets","ownerNode","sheetForTag","insertRule","cssRules","e","process","flush","parentNode","removeChild","r","a","c","n","t","k","Math","abs","d","String","fromCharCode","g","trim","y","replace","z","charCodeAt","C","slice","A","M","O","q","B","D","E","F","G","H","s","value","root","parent","type","props","children","line","column","return","I","K","L","N","P","Q","R","T","U","Y","W","Z","_","ee","re","u","f","o","l","v","h","p","w","b","$","m","x","j","ce","ne","ae","te","indexOf","se","ue","join","fe","weakMemoize","func","cache","WeakMap","arg","has","get","ret","set","memoize","fn","Object","create","getRules","points","dealloc","parsed","index","character","token","peek","identifier","position","delimit","from","next","toRules","alloc","fixedElements","compat","element","isImplicitRule","rules","parentRules","removeLabel","defaultStylisPlugins","map","S","exec","createCache","ssrStyles","querySelectorAll","Array","prototype","call","node","getAttribute","head","stylisPlugins","inserted","nodesToHydrate","attrib","split","omnipresentPlugins","currentSheet","finalizingPlugins","stringify","rulesheet","serializer","middleware","concat","selector","serialized","shouldCache","serialize","compile","styles","name","registered","hasOwnProperty","EmotionCacheContext","React","HTMLElement","CacheProvider","Provider","withEmotionCache","forwardRef","ref","useContext","_extends","module","assign","target","arguments","source","exports","apply","defineProperty","Symbol","for","$$typeof","require$$0","REACT_STATICS","childContextTypes","contextType","contextTypes","defaultProps","displayName","getDefaultProps","getDerivedStateFromError","getDerivedStateFromProps","mixins","propTypes","KNOWN_STATICS","caller","callee","arity","MEMO_STATICS","compare","TYPE_STATICS","getStatics","component","reactIs","isMemo","ForwardRef","render","getOwnPropertyNames","getOwnPropertySymbols","getOwnPropertyDescriptor","getPrototypeOf","objectPrototype","hoistNonReactStatics","targetComponent","sourceComponent","blacklist","inheritedComponent","keys","targetStatics","sourceStatics","descriptor","ThemeContext","createCacheWithTheme","outerTheme","theme","getTheme","getRegisteredStyles","registeredStyles","classNames","rawClassName","className","insertStyles","isStringTag","current","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","processStyleName","styleName","toLowerCase","processStyleValue","match","p1","p2","cursor","unitless","handleInterpolation","mergedProps","interpolation","__emotion_styles","anim","obj","string","isArray","interpolated","createStringFromObject","previousCursor","result","cached","labelPattern","serializeStyles","args","stringMode","strings","raw","lastIndex","identifierName","str","len","toString","hashString","typePropName","createEmotionProps","newProps","Emotion","cssProp","css","jsx","argsLength","createElementArgArray","Global","sheetRef","rehydrating","querySelector","sheetRefCurrent","nextElementSibling","classnames","cls","toAdd","merge","ClassNames","content","cx","ele","React.createElement","insertable","Component","componentName","WithTheme"],"mappings":"2RA+DaA,wBASCC,mBAeZC,WAAa,SAACC,OACRC,EAEFA,EADuB,IAArBC,EAAKC,KAAKC,OACHF,EAAKG,QAAUH,EAAKI,UAAUC,WAAaL,EAAKD,OAEhDC,EAAKC,KAAKD,EAAKC,KAAKC,OAAS,GAAGI,YAE3CN,EAAKI,UAAUG,aAAaT,EAAKC,GACjCC,EAAKC,KAAKO,KAAKV,SAtBVW,cACgBC,IAAnBd,EAAQe,QAEJf,EAAQe,YACTV,KAAO,QACPW,IAAM,OACNC,MAAQjB,EAAQiB,WAEhBC,IAAMlB,EAAQkB,SACdV,UAAYR,EAAQQ,eACpBD,QAAUP,EAAQO,aAClBJ,OAAS,gCAchBgB,QAAA,SAAQC,GACNA,EAAMC,QAAQC,KAAKrB,eAGrBsB,OAAA,SAAOC,GAIDF,KAAKN,KAAOM,KAAKT,SAAW,KAAQ,IAAO,QACxCZ,WA1DX,SAA4BD,OAItBE,EAAMuB,SAASC,cAAc,gBACjCxB,EAAIyB,aAAa,eAAgB3B,EAAQkB,UACnBJ,IAAlBd,EAAQiB,OACVf,EAAIyB,aAAa,QAAS3B,EAAQiB,OAEpCf,EAAI0B,YAAYH,SAASI,eAAe,KACxC3B,EAAIyB,aAAa,SAAU,IACpBzB,EA+Ca4B,CAAmBR,WAE/BpB,EAAMoB,KAAKjB,KAAKiB,KAAKjB,KAAKC,OAAS,MAqBrCgB,KAAKT,SAAU,KACXkB,EA1GZ,SAAqB7B,MACfA,EAAI6B,aAEC7B,EAAI6B,UAKR,IAAIC,EAAI,EAAGA,EAAIP,SAASQ,YAAY3B,OAAQ0B,OAC3CP,SAASQ,YAAYD,GAAGE,YAAchC,SAEjCuB,SAASQ,YAAYD,GA+FdG,CAAYjC,OAIxB6B,EAAMK,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