Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-emotion

Package Overview
Dependencies
Maintainers
2
Versions
73
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-emotion - npm Package Compare versions

Comparing version 8.0.2-12 to 8.0.2-13

2

dist/DO-NOT-USE.min.js

@@ -1,2 +0,2 @@

!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("react"),require("prop-types")):"function"==typeof define&&define.amd?define(["exports","react","prop-types"],t):t(e["react-emotion"]=e["react-emotion"]||{},e.React,e.PropTypes)}(this,function(e,t,a){"use strict";function r(e){return s(e,e.length).toString(36)}function s(e,t){for(var a=1540483477,r=t^e.length,s=e.length,o=0;s>=4;){var l=c(e,o);l=n(l,a),l=n(l^=l>>>24,a),r=n(r,a),r^=l,o+=4,s-=4}switch(s){case 3:r^=i(e,o),r=n(r^=e.charCodeAt(o+2)<<16,a);break;case 2:r=n(r^=i(e,o),a);break;case 1:r=n(r^=e.charCodeAt(o),a)}return r^=r>>>13,r=n(r,a),(r^=r>>>15)>>>0}function c(e,t){return e.charCodeAt(t++)+(e.charCodeAt(t++)<<8)+(e.charCodeAt(t++)<<16)+(e.charCodeAt(t)<<24)}function i(e,t){return e.charCodeAt(t++)+(e.charCodeAt(t++)<<8)}function n(e,t){return(65535&(e|=0))*(t|=0)+(((e>>>16)*t&65535)<<16)|0}function o(e){var t={};return function(a){return void 0===t[a]&&(t[a]=e(a)),t[a]}}function l(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function h(){var e=document.createElement("style");return e.type="text/css",e.setAttribute("data-emotion",""),e.appendChild(document.createTextNode("")),document.head.appendChild(e),e}function u(e){S.insert(e,$)}function d(e,t,a,r,s,c,i,n){switch(e){case-2:N.forEach(u),N=[];break;case 2:if(0===n){var o=a.join(","),l=o+"{"+t+"}";r.join(",")===o||""===r[0]?N.push(l):N.unshift(l)}break;case 3:var h=a.join(""),d=t;switch(h.charCodeAt(1)){case 115:case 100:case 109:N.push(h+"{"+d+"}");break;case 107:d=(h=h.substring(1))+"{"+d+"}",N.push("@-webkit-"+d),N.push("@"+d);break;default:N.push(h+d)}}}function f(e){var t=[];return e.forEach(function(e){t=Array.isArray(e)?t.concat(f(e)):t.concat(e)}),t}function p(t,a){return void 0===t||null===t||"boolean"==typeof t?"":"function"==typeof t?p.call(this,void 0===this?t():t(this.mergedProps,this.context),a):"object"==typeof t?b.call(this,t):!1===a&&void 0!==e.registered[t]?e.registered[t]:t}function b(t){if(M.has(t))return M.get(t);var a="";return Array.isArray(t)?f(t).forEach(function(e){a+=p.call(this,e,!1)},this):Object.keys(t).forEach(function(r){"object"!=typeof t[r]?void 0!==e.registered[t[r]]?a+=r+"{"+e.registered[t[r]]+"}":a+=z(r)+":"+I(r,t[r])+";":a+=r+"{"+p.call(this,t[r],!1)+"}"},this),M.set(t,a),a}function g(e){return 46===e.charCodeAt(e.length-1)}function m(e){var t=!0,a="";null==e||void 0===e.raw?(t=!1,a=p.call(this,e,!1)):a=e[0];for(var r=arguments.length,s=Array(r>1?r-1:0),c=1;c<r;c++)s[c-1]=arguments[c];return s.forEach(function(r,s){a+=p.call(this,r,g(a)),!0===t&&void 0!==e[s+1]&&(a+=e[s+1])},this),a}function k(){var t=m.apply(this,arguments),a=r(t),s="css-"+a;return void 0===e.registered[s]&&(e.registered[s]=t),void 0===e.inserted[a]&&(_("."+s,t),e.inserted[a]=!0),s}function w(t,a){var r="";return a.split(" ").forEach(function(a){void 0!==e.registered[a]?t.push(a):r+=a+" "}),r}function y(e){this.setState({theme:e})}function v(){void 0!==this.context[R]&&(this.unsubscribe=this.context[R].subscribe(y.bind(this)))}function C(){void 0!==this.unsubscribe&&this.context[R].unsubscribe(this.unsubscribe)}a=a&&"default"in a?a.default:a;var A={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,fontWeight:1,lineClamp:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},x=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},O="undefined"!=typeof window,S=new(function(){function e(){x(this,e),this.isSpeedy=!0,this.tags=[],this.ctr=0}return e.prototype.inject=function(){if(this.injected)throw new Error("already injected!");O?this.tags[0]=h():this.sheet=[],this.injected=!0},e.prototype.speedy=function(e){if(0!==this.ctr)throw new Error("cannot change speedy now");this.isSpeedy=!!e},e.prototype.insert=function(e,t){if(O){if(this.isSpeedy){var a=l(this.tags[this.tags.length-1]);try{a.insertRule(e,a.cssRules.length)}catch(e){}}else{var r=h();this.tags.push(r),r.appendChild(document.createTextNode(e+(t||"")))}this.ctr++,this.ctr%65e3==0&&this.tags.push(h())}else this.sheet.push(e)},e.prototype.flush=function(){O?(this.tags.forEach(function(e){return e.parentNode.removeChild(e)}),this.tags=[],this.ctr=0):this.sheet=[],this.injected=!1},e}());S.inject();var _=new function e(t){function a(e,t,s,o){for(var l,h,f,p,b,g=0,m=0,w=0,y=0,v=0,C=0,S=0,_=0,j=0,E=0,N=l=0,T=h=0,z=0,I=s.length,D=I-1,B="",Y="",ee="",te="";N<I;){if(f=s.charCodeAt(N),0===m+y+w+g){if(N===D&&(0<h&&(B=B.replace(d,"")),0<B.trim().length)){switch(f){case 32:case 9:case 59:case 13:case 10:break;default:B+=s.charAt(N)}f=59}if(1===T)switch(f){case 123:case 44:T=0;break;case 9:case 13:case 10:case 32:break;default:N--,f=59}switch(f){case 123:for(l=(B=B.trim()).charCodeAt(0),_=1,j=++N;N<I;){switch(f=s.charCodeAt(N)){case 123:_++;break;case 125:_--}if(0===_)break;N++}switch(E=s.substring(j,N),0===l&&(l=(B=B.replace(u,"").trim()).charCodeAt(0)),l){case 64:switch(0<h&&(B=B.replace(d,"")),h=B.charCodeAt(1)){case 100:case 109:case 115:f=t;break;default:f=V}if(E=a(t,f,E,h),j=E.length,0<q&&0===j&&(j=B.length),0<Z&&(f=r(V,B,z),b=n(3,E,f,t,R,M,j,h),B=f.join(""),void 0!==b&&0===(j=(E=b.trim()).length)&&(h=0,E="")),0<j)switch(h){case 115:B=B.replace(P,i);case 100:case 109:E=B+"{"+E+"}";break;case 107:E=(B=B.replace(A,"$1 $2"+(0<U?J:"")))+"{"+E+"}",E="@"+(0<L?"-webkit-"+E+"@"+E:E);break;default:E=B+E}else E="";break;default:E=a(t,r(t,B,z),E,o)}ee+=E,E=z=h=l=T=j=0,B="",f=s.charCodeAt(++N);break;case 125:case 59:if(B=(0<h?B.replace(d,""):B).trim(),1<(j=B.length))switch(0===l&&(45===(l=B.charCodeAt(0))||96<l&&123>l)&&(j=(B=B.replace(" ",":")).length),0<Z&&void 0!==(b=n(1,B,t,e,R,M,Y.length,o))&&0===(j=(B=b.trim()).length)&&(B="\0\0"),l=B.charCodeAt(0),h=B.charCodeAt(1),l+h){case 0:break;case 169:case 163:te+=B+s.charAt(N);break;default:58!==B.charCodeAt(j-1)&&(Y+=c(B,l,h,B.charCodeAt(2)))}z=h=l=T=j=0,B="",f=s.charCodeAt(++N)}}switch(f){case 13:case 10:if(0===m+y+w+g+H)switch(S){case 41:case 39:case 34:case 64:case 126:case 62:case 42:case 43:case 47:case 45:case 58:case 44:case 59:case 123:case 125:break;default:0<l&&(T=1)}47===m&&(m=0),0<Z*K&&n(0,B,t,e,R,M,Y.length,o),M=1,R++;break;case 59:case 125:if(0===m+y+w+g){M++;break}default:switch(M++,p=s.charAt(N),f){case 9:case 32:if(0===y+g)switch(v){case 44:case 58:case 9:case 32:p="";break;default:32!==f&&(p=" ")}break;case 0:p="\\0";break;case 12:p="\\f";break;case 11:p="\\v";break;case 38:0===y+m+g&&0<F&&(h=z=1,p="\f"+p);break;case 108:if(0===y+m+g+W&&0<l)switch(N-l){case 2:112===v&&58===s.charCodeAt(N-3)&&(W=v);case 8:111===C&&(W=C)}break;case 58:0===y+m+g&&(l=N);break;case 44:0===m+w+y+g&&(h=1,p+="\r");break;case 34:case 39:0===m&&(y=y===f?0:0===y?f:y,N===D&&(D++,I++));break;case 91:0===y+m+w&&g++;break;case 93:0===y+m+w&&g--;break;case 41:0===y+m+g&&(N===D&&(D++,I++),w--);break;case 40:if(0===y+m+g){if(0===j)switch(2*v+3*C){case 533:break;default:_=0,j=1}w++}break;case 64:0===m+w+y+g+l+E&&(E=1);break;case 42:case 47:if(!(0<y+g+w))switch(m){case 0:switch(2*f+3*s.charCodeAt(N+1)){case 235:m=47;break;case 220:m=42}break;case 42:47===f&&42===v&&(p="",m=0)}}if(0===m){if(0===F+y+g+E&&107!==o&&59!==f)switch(f){case 44:case 126:case 62:case 43:case 41:case 40:if(0===j){switch(v){case 9:case 32:case 10:case 13:p+="\0";break;default:p="\0"+p+(44===f?"":"\0")}h=1}else switch(f){case 40:j=++_;break;case 41:0==(j=--_)&&(h=1,p+="\0")}break;case 32:switch(v){case 0:case 123:case 125:case 59:case 44:case 12:case 9:case 32:case 10:case 13:break;default:0===j&&(h=1,p+="\0")}}B+=p,32!==f&&(S=f)}}C=v,v=f,N++}if(j=Y.length,0<q&&0===j&&0===ee.length&&0===t[0].length==0&&(109!==o||1===t.length&&(0<F?Q:X)===t[0])&&(j=t.join(",").length+2),0<j){if(0===F&&107!==o){for(s=0,g=t.length,m=Array(g);s<g;++s){for(C="",S=0,I=(v=t[s].split(k)).length;S<I;++S)if(!(0===(_=(y=v[S]).length)&&1<I)){if(N=C.charCodeAt(C.length-1),z=y.charCodeAt(0),w="",0!==S)switch(N){case 42:case 126:case 62:case 43:case 32:case 40:break;default:w=" "}switch(z){case 38:y=w+Q;case 126:case 62:case 43:case 32:case 41:case 40:break;case 91:y=w+y+Q;break;case 58:switch(2*y.charCodeAt(1)+3*y.charCodeAt(2)){case 530:if(0<G){y=w+y.substring(8,_-1);break}default:(1>S||1>v[S-1].length)&&(y=w+Q+y)}break;case 44:w="";default:y=1<_&&0<y.indexOf(":")?w+y.replace($,"$1"+Q+"$2"):w+y+Q}C+=y}m[s]=C.replace(d,"").trim()}t=m}if(f=t,0<Z&&void 0!==(b=n(2,Y,f,e,R,M,j,o))&&0===(Y=b).length)return te+Y+ee;if(Y=f.join(",")+"{"+Y+"}",0<L*W){switch(W){case 111:Y=Y.replace(O,":-moz-$1")+Y;break;case 112:Y=Y.replace(x,"::-webkit-input-$1")+Y.replace(x,"::-moz-$1")+Y.replace(x,":-ms-input-$1")+Y}W=0}}return te+Y+ee}function r(e,t,a){var r=t.trim().split(w);t=r;var c=r.length,i=e.length;switch(i){case 0:case 1:var n=0;for(e=0===i?"":e[0]+" ";n<c;++n)t[n]=s(e,t[n],a,i).trim();break;default:var o=n=0;for(t=[];n<c;++n)for(var l=0;l<i;++l)t[o++]=s(e[l]+" ",r[n],a,i).trim()}return t}function s(e,t,a,r){var s=t.charCodeAt(0);switch(33>s&&(s=(t=t.trim()).charCodeAt(0)),s){case 38:switch(F+r){case 0:case 1:if(0===e.trim().length)break;default:return t.replace(y,"$1"+e.trim())}break;case 58:switch(t.charCodeAt(1)){case 103:if(0<G&&0<F)return t.replace(v,"$1").replace(y,"$1"+X);break;default:return e.trim()+t}default:if(0<a*F&&0<t.indexOf("\f"))return t.replace(y,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+t}function c(e,t,a,r){var s=0,c=e+";";if(944==(t=2*t+3*a+4*r)){if(r=c,e=r.length,a=r.indexOf(":",9)+1,s=r.substring(0,a).trim(),e=r.substring(a,e-1).trim(),c="",45!==r.charCodeAt(9))for(r=e.split(g),a=t=0,e=r.length;t<e;a=0,++t){for(var i=r[t],n=i.split(m);i=n[a];){var o=i.charCodeAt(0);if(1===U&&(64<o&&90>o||96<o&&123>o||95===o||45===o&&45!==i.charCodeAt(1)))switch(isNaN(parseFloat(i))+(-1!==i.indexOf("("))){case 1:switch(i){case"infinite":case"alternate":case"backwards":case"running":case"normal":case"forwards":case"both":case"none":case"linear":case"ease":case"ease-in":case"ease-out":case"ease-in-out":case"paused":case"reverse":case"alternate-reverse":case"inherit":case"initial":case"unset":case"step-start":case"step-end":break;default:i+=J}}n[a++]=i}c+=(0===t?"":",")+n.join(" ")}else c+=110===r.charCodeAt(10)?e+(1===U?J:""):e;c=s+c+";",c=0<L?"-webkit-"+c+c:c}else if(0<L)switch(t){case 969:c="-webkit-"+c.replace(T,"-webkit-$1")+c;break;case 951:c="-webkit-"+c+c;break;case 963:110===c.charCodeAt(5)&&(c="-webkit-"+c+c);break;case 978:c="-webkit-"+c+"-moz-"+c+c;break;case 1019:case 983:c="-webkit-"+c+"-moz-"+c+"-ms-"+c+c;break;case 883:45===c.charCodeAt(8)&&(c="-webkit-"+c+c);break;case 932:c="-webkit-"+c+"-ms-"+c+c;break;case 964:c="-webkit-"+c+"-ms-flex-"+c+c;break;case 1023:c="-webkit-box-pack"+(e=c.substring(c.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+c+"-ms-flex-pack"+e+c;break;case 1017:if(-1===c.indexOf("sticky",9))break;case 975:switch(s=(c=e).length-10,e=(33===c.charCodeAt(s)?c.substring(0,s):c).substring(e.indexOf(":",7)+1).trim(),t=e.charCodeAt(0)+(0|e.charCodeAt(7))){case 203:if(111>e.charCodeAt(8))break;case 115:c=c.replace(e,"-webkit-"+e)+";"+c;break;case 207:case 102:c=c.replace(e,"-webkit-"+(102<t?"inline-":"")+"box")+";"+c.replace(e,"-webkit-"+e)+";"+c.replace(e,"-ms-"+e+"box")+";"+c}c+=";";break;case 938:if(45===c.charCodeAt(5))switch(c.charCodeAt(6)){case 105:c="-webkit-"+c+"-webkit-box-"+(e=c.replace("-items",""))+"-ms-flex-"+e+c;break;case 115:c="-webkit-"+c+"-ms-flex-item-"+c.replace(I,"")+c;break;default:c="-webkit-"+c+"-ms-flex-line-pack"+c.replace("align-content","")+c}break;case 1005:p.test(c)&&(c=c.replace(f,":-webkit-")+c.replace(f,":-moz-")+c);break;case 953:0<(s=c.indexOf("-content",9))&&109===c.charCodeAt(s-3)&&45!==c.charCodeAt(s-4)&&(e=c.substring(s-3),c="width:-webkit-"+e+"width:-moz-"+e+"width:"+e);break;case 1015:if(45!==e.charCodeAt(9))break;case 962:c="-webkit-"+c+(102===c.charCodeAt(5)?"-ms-"+c:"")+c,211===a+r&&105===c.charCodeAt(13)&&0<c.indexOf("transform",10)&&(c=c.substring(0,c.indexOf(";",27)+1).replace(b,"$1-webkit-$2")+c);break;case 1e3:switch(e=c.substring(13).trim(),s=e.indexOf("-")+1,e.charCodeAt(0)+e.charCodeAt(s)){case 226:e=c.replace(N,"tb");break;case 232:e=c.replace(N,"tb-rl");break;case 220:e=c.replace(N,"lr");break;default:return c}c="-webkit-"+c+"-ms-"+e+c}return c}function i(e,t){var a=c(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return a!==t+";"?a.replace(z,"or($1)").substring(2):"("+t+")"}function n(e,t,a,r,s,c,i,n){for(var o,l=0,u=t;l<Z;++l)switch(o=B[l].call(h,e,u,a,r,s,c,i,n)){case void 0:case!1:case!0:case null:break;default:u=o}switch(u){case void 0:case!1:case!0:case null:case t:break;default:return u}}function o(e){switch(e){case void 0:case null:Z=B.length=0;break;default:switch(e.constructor){case Array:for(var t=0,a=e.length;t<a;++t)o(e[t]);break;case Function:B[Z++]=e;break;case Boolean:K=0|!!e}}return o}function l(e){for(var t in e){var a=e[t];switch(t){case"keyframe":U=0|a;break;case"global":G=0|a;break;case"cascade":F=0|a;break;case"compress":D=0|a;break;case"prefix":L=0|a;break;case"semicolon":H=0|a;break;case"preserve":q=0|a}}return l}function h(t,r){if(void 0!==this&&this.constructor===h)return e(t);var s=t,c=s.charCodeAt(0);if(33>c&&(c=(s=s.trim()).charCodeAt(0)),0<U&&(J=s.replace(C,91===c?"":"-")),c=1,1===F?X=s:Q=s,s=[X],0<Z){var i=n(-1,r,s,s,R,M,0,0);void 0!==i&&"string"==typeof i&&(r=i)}var o=a(V,s,r,0);return 0<Z&&void 0!==(i=n(-2,o,s,s,R,M,o.length,0))&&"string"!=typeof(o=i)&&(c=0),Q=X=J="",W=0,M=R=1,0==D*c?o:o.replace(d,"").replace(S,"").replace(_,"$1").replace(j,"$1").replace(E," ")}var u=/^\0+/g,d=/[\0\r\f]/g,f=/: */g,p=/zoo|gra/,b=/([,: ])(transform)/g,g=/,+\s*(?![^(]*[)])/g,m=/ +\s*(?![^(]*[)])/g,k=/ *[\0] */g,w=/,\r+?/g,y=/([\t\r\n ])*\f?&/g,v=/:global\(((?:[^\(\)\[\]]*|\[.*\]|\([^\(\)]*\))*)\)/g,C=/\W+/g,A=/@(k\w+)\s*(\S*)\s*/,x=/::(place)/g,O=/:(read-only)/g,S=/\s+(?=[{\];=:>])/g,_=/([[}=:>])\s+/g,j=/(\{[^{]+?);(?=\})/g,E=/\s{2,}/g,$=/([^\(])(:+) */g,N=/[svh]\w+-[tblr]{2}/,T=/([\w-]+t\()/g,P=/\(\s*([^]*?)\s*\)/g,z=/([^]*?);/g,I=/-self|flex-/g,M=1,R=1,W=0,F=1,L=1,G=1,D=0,H=0,q=0,V=[],B=[],Z=0,K=0,U=1,J="",Q="",X="";return h.use=o,h.set=l,void 0!==t&&l(t),h}({keyframe:!1}),j=[],E=_.use;e.registered={},e.inserted={};var $="",N=[];_.use(d);var T,P=/[A-Z]|^ms/g,z=o(function(e){return e.replace(P,"-$&").toLowerCase()}),I=function(e,t){return void 0===t||null===t||"boolean"==typeof t?"":1===A[e]||isNaN(t)||0===t?t:t+"px"},M=new WeakMap,R="__EMOTION_THEMING__",W=(T={},T[R]=a.object,T),F=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},L=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)},G=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t},D=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|accept|acceptCharset|accessKey|action|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|default|defer|dir|disabled|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|itemProp|itemScope|itemType|itemID|itemRef|results|security|unselectable)|(on[A-Z].*)|((data|aria)-.*))$/,H=o(function(e){return D.test(e)}),q=function(e){return"theme"!==e&&"innerRef"!==e},V=function(){return!0},B=function(e,t){for(var a=2,r=arguments.length;a<r;a++){var s=arguments[a],c=void 0;for(c in s)e(c)&&(t[c]=s[c])}return t};e.default=function e(a,r){var s=!1;void 0!==r&&void 0!==r.e&&(s=r.e);var c=a.__emotion_real===a,i=!1===s?c&&a.__emotion_base||a:a,n="string"==typeof i?H:q;return function(o){for(var l=arguments.length,h=Array(l>1?l-1:0),u=1;u<l;u++)h[u-1]=arguments[u];var d=c&&a.__emotion_styles||[];!1===s&&(d=null==o||void 0===o.raw?d.concat(o,h):h.reduce(function(e,t,a){return e.concat(t,o[a+1])},d.concat(o[0])));var f=function(e){function a(){return F(this,a),G(this,e.apply(this,arguments))}return L(a,e),a.prototype.render=function(){var e=this.props,a=this.state;this.mergedProps=e,null!==a&&a.theme&&(this.mergedProps=B(V,{},e,{theme:a.theme||{}}));var r="",c=[];return e.className&&(r+=!1===s?w(c,e.className):e.className+" "),r+=!1===s?k.apply(this,d.concat(c)):s,t.createElement(i,B(n,{},e,{className:r,ref:e.innerRef}))},a}(t.Component);return f.prototype.componentWillMount=v,f.prototype.componentWillUnmount=C,f.contextTypes=W,f.__emotion_styles=d,f.__emotion_base=i,f.__emotion_real=f,f.displayName="Styled("+("string"==typeof i?i:i.displayName||i.name||"Component")+")",f.withComponent=function(t){return e(t,r)(d)},f}},e.sheet=S,e.useStylisPlugin=function(e){j.push(e),E(null)(j)(d)},e.flush=function(){S.flush(),e.inserted={},e.registered={},S.inject()},e.css=k,e.injectGlobal=function(){var t=m.apply(void 0,arguments),a=r(t);void 0===e.inserted[a]&&(_("",t),e.inserted[a]=!0)},e.keyframes=function(){var t=m.apply(void 0,arguments),a=r(t),s="animation-"+a;return void 0===e.inserted[a]&&(_("","@keyframes "+s+"{"+t+"}"),e.inserted[a]=!0),s},e.fontFace=function(){var t=m.apply(void 0,arguments),a=r(t);void 0===e.inserted[a]&&(_("","@font-face{"+t+"}"),e.inserted[a]=!0)},e.getRegisteredStyles=w,e.merge=function(e,t){var a=[],r=w(a,e);return a.length<2?e:r+k(a,t)},e.hydrate=function(t){t.forEach(function(t){e.inserted[t]=!0})},Object.defineProperty(e,"__esModule",{value:!0})});
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("react"),require("prop-types")):"function"==typeof define&&define.amd?define(["exports","react","prop-types"],t):t(e["react-emotion"]=e["react-emotion"]||{},e.React,e.PropTypes)}(this,function(e,t,a){"use strict";function r(e){return s(e,e.length).toString(36)}function s(e,t){for(var a=1540483477,r=t^e.length,s=e.length,o=0;s>=4;){var l=c(e,o);l=n(l,a),l=n(l^=l>>>24,a),r=n(r,a),r^=l,o+=4,s-=4}switch(s){case 3:r^=i(e,o),r=n(r^=e.charCodeAt(o+2)<<16,a);break;case 2:r=n(r^=i(e,o),a);break;case 1:r=n(r^=e.charCodeAt(o),a)}return r^=r>>>13,r=n(r,a),(r^=r>>>15)>>>0}function c(e,t){return e.charCodeAt(t++)+(e.charCodeAt(t++)<<8)+(e.charCodeAt(t++)<<16)+(e.charCodeAt(t)<<24)}function i(e,t){return e.charCodeAt(t++)+(e.charCodeAt(t++)<<8)}function n(e,t){return(65535&(e|=0))*(t|=0)+(((e>>>16)*t&65535)<<16)|0}function o(e){var t={};return function(a){return void 0===t[a]&&(t[a]=e(a)),t[a]}}function l(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function u(){var e=document.createElement("style");return e.type="text/css",e.setAttribute("data-emotion",""),e.appendChild(document.createTextNode("")),document.head.appendChild(e),e}function h(e){S.insert(e,$)}function d(e,t,a,r,s,c,i,n){switch(e){case-2:N.forEach(h),N=[];break;case 2:if(0===n){var o=a.join(","),l=o+"{"+t+"}";r.join(",")===o||""===r[0]?N.push(l):N.unshift(l)}break;case 3:var u=a.join(""),d=t;switch(u.charCodeAt(1)){case 115:case 100:case 109:N.push(u+"{"+d+"}");break;case 107:d=(u=u.substring(1))+"{"+d+"}",N.push("@-webkit-"+d),N.push("@"+d);break;default:N.push(u+d)}}}function f(e){var t=[];return e.forEach(function(e){t=Array.isArray(e)?t.concat(f(e)):t.concat(e)}),t}function p(t,a){return void 0===t||null===t||"boolean"==typeof t?"":"function"==typeof t?p.call(this,void 0===this?t():t(this.mergedProps,this.context),a):"object"==typeof t?b.call(this,t):!1===a&&void 0!==e.registered[t]?e.registered[t]:t}function b(t){if(M.has(t))return M.get(t);var a="";return Array.isArray(t)?f(t).forEach(function(e){a+=p.call(this,e,!1)},this):Object.keys(t).forEach(function(r){"object"!=typeof t[r]?void 0!==e.registered[t[r]]?a+=r+"{"+e.registered[t[r]]+"}":a+=P(r)+":"+I(r,t[r])+";":a+=r+"{"+p.call(this,t[r],!1)+"}"},this),M.set(t,a),a}function g(e){return 46===e.charCodeAt(e.length-1)}function m(e){var t=!0,a="";null==e||void 0===e.raw?(t=!1,a=p.call(this,e,!1)):a=e[0];for(var r=arguments.length,s=Array(r>1?r-1:0),c=1;c<r;c++)s[c-1]=arguments[c];return s.forEach(function(r,s){a+=p.call(this,r,g(a)),!0===t&&void 0!==e[s+1]&&(a+=e[s+1])},this),a}function k(){var t=m.apply(this,arguments),a=r(t),s="css-"+a;return void 0===e.registered[s]&&(e.registered[s]=t),void 0===e.inserted[a]&&(_("."+s,t),e.inserted[a]=!0),s}function w(t,a){var r="";return a.split(" ").forEach(function(a){void 0!==e.registered[a]?t.push(a):r+=a+" "}),r}function y(e){this.setState({theme:e})}function v(){void 0!==this.context[R]&&(this.unsubscribe=this.context[R].subscribe(y.bind(this)))}function C(){void 0!==this.unsubscribe&&this.context[R].unsubscribe(this.unsubscribe)}a=a&&"default"in a?a.default:a;var A={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,fontWeight:1,lineClamp:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},x=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},O="undefined"!=typeof window,S=new(function(){function e(){x(this,e),this.isSpeedy=!0,this.tags=[],this.ctr=0}return e.prototype.inject=function(){if(this.injected)throw new Error("already injected!");O?this.tags[0]=u():this.sheet=[],this.injected=!0},e.prototype.speedy=function(e){if(0!==this.ctr)throw new Error("cannot change speedy now");this.isSpeedy=!!e},e.prototype.insert=function(e,t){if(O){if(this.isSpeedy){var a=l(this.tags[this.tags.length-1]);try{a.insertRule(e,a.cssRules.length)}catch(e){}}else{var r=u();this.tags.push(r),r.appendChild(document.createTextNode(e+(t||"")))}this.ctr++,this.ctr%65e3==0&&this.tags.push(u())}else this.sheet.push(e)},e.prototype.flush=function(){O?(this.tags.forEach(function(e){return e.parentNode.removeChild(e)}),this.tags=[],this.ctr=0):this.sheet=[],this.injected=!1},e}());S.inject();var _=new function e(t){function a(e,t,s,o){for(var l,u,f,p,b,g=0,m=0,w=0,y=0,v=0,C=0,S=0,_=0,j=0,E=0,N=l=0,T=u=0,P=0,I=s.length,D=I-1,B="",Y="",ee="",te="";N<I;){if(f=s.charCodeAt(N),0===m+y+w+g){if(N===D&&(0<u&&(B=B.replace(d,"")),0<B.trim().length)){switch(f){case 32:case 9:case 59:case 13:case 10:break;default:B+=s.charAt(N)}f=59}if(1===T)switch(f){case 123:case 44:T=0;break;case 9:case 13:case 10:case 32:break;default:N--,f=59}switch(f){case 123:for(l=(B=B.trim()).charCodeAt(0),_=1,j=++N;N<I;){switch(f=s.charCodeAt(N)){case 123:_++;break;case 125:_--}if(0===_)break;N++}switch(E=s.substring(j,N),0===l&&(l=(B=B.replace(h,"").trim()).charCodeAt(0)),l){case 64:switch(0<u&&(B=B.replace(d,"")),u=B.charCodeAt(1)){case 100:case 109:case 115:f=t;break;default:f=V}if(E=a(t,f,E,u),j=E.length,0<q&&0===j&&(j=B.length),0<Z&&(f=r(V,B,P),b=n(3,E,f,t,R,M,j,u),B=f.join(""),void 0!==b&&0===(j=(E=b.trim()).length)&&(u=0,E="")),0<j)switch(u){case 115:B=B.replace(z,i);case 100:case 109:E=B+"{"+E+"}";break;case 107:E=(B=B.replace(A,"$1 $2"+(0<U?J:"")))+"{"+E+"}",E="@"+(0<L?"-webkit-"+E+"@"+E:E);break;default:E=B+E}else E="";break;default:E=a(t,r(t,B,P),E,o)}ee+=E,E=P=u=l=T=j=0,B="",f=s.charCodeAt(++N);break;case 125:case 59:if(B=(0<u?B.replace(d,""):B).trim(),1<(j=B.length))switch(0===l&&(45===(l=B.charCodeAt(0))||96<l&&123>l)&&(j=(B=B.replace(" ",":")).length),0<Z&&void 0!==(b=n(1,B,t,e,R,M,Y.length,o))&&0===(j=(B=b.trim()).length)&&(B="\0\0"),l=B.charCodeAt(0),u=B.charCodeAt(1),l+u){case 0:break;case 169:case 163:te+=B+s.charAt(N);break;default:58!==B.charCodeAt(j-1)&&(Y+=c(B,l,u,B.charCodeAt(2)))}P=u=l=T=j=0,B="",f=s.charCodeAt(++N)}}switch(f){case 13:case 10:if(0===m+y+w+g+H)switch(S){case 41:case 39:case 34:case 64:case 126:case 62:case 42:case 43:case 47:case 45:case 58:case 44:case 59:case 123:case 125:break;default:0<l&&(T=1)}47===m&&(m=0),0<Z*K&&n(0,B,t,e,R,M,Y.length,o),M=1,R++;break;case 59:case 125:if(0===m+y+w+g){M++;break}default:switch(M++,p=s.charAt(N),f){case 9:case 32:if(0===y+g)switch(v){case 44:case 58:case 9:case 32:p="";break;default:32!==f&&(p=" ")}break;case 0:p="\\0";break;case 12:p="\\f";break;case 11:p="\\v";break;case 38:0===y+m+g&&0<F&&(u=P=1,p="\f"+p);break;case 108:if(0===y+m+g+W&&0<l)switch(N-l){case 2:112===v&&58===s.charCodeAt(N-3)&&(W=v);case 8:111===C&&(W=C)}break;case 58:0===y+m+g&&(l=N);break;case 44:0===m+w+y+g&&(u=1,p+="\r");break;case 34:case 39:0===m&&(y=y===f?0:0===y?f:y,N===D&&(D++,I++));break;case 91:0===y+m+w&&g++;break;case 93:0===y+m+w&&g--;break;case 41:0===y+m+g&&(N===D&&(D++,I++),w--);break;case 40:if(0===y+m+g){if(0===j)switch(2*v+3*C){case 533:break;default:_=0,j=1}w++}break;case 64:0===m+w+y+g+l+E&&(E=1);break;case 42:case 47:if(!(0<y+g+w))switch(m){case 0:switch(2*f+3*s.charCodeAt(N+1)){case 235:m=47;break;case 220:m=42}break;case 42:47===f&&42===v&&(p="",m=0)}}if(0===m){if(0===F+y+g+E&&107!==o&&59!==f)switch(f){case 44:case 126:case 62:case 43:case 41:case 40:if(0===j){switch(v){case 9:case 32:case 10:case 13:p+="\0";break;default:p="\0"+p+(44===f?"":"\0")}u=1}else switch(f){case 40:j=++_;break;case 41:0==(j=--_)&&(u=1,p+="\0")}break;case 32:switch(v){case 0:case 123:case 125:case 59:case 44:case 12:case 9:case 32:case 10:case 13:break;default:0===j&&(u=1,p+="\0")}}B+=p,32!==f&&(S=f)}}C=v,v=f,N++}if(j=Y.length,0<q&&0===j&&0===ee.length&&0===t[0].length==0&&(109!==o||1===t.length&&(0<F?Q:X)===t[0])&&(j=t.join(",").length+2),0<j){if(0===F&&107!==o){for(s=0,g=t.length,m=Array(g);s<g;++s){for(C="",S=0,I=(v=t[s].split(k)).length;S<I;++S)if(!(0===(_=(y=v[S]).length)&&1<I)){if(N=C.charCodeAt(C.length-1),P=y.charCodeAt(0),w="",0!==S)switch(N){case 42:case 126:case 62:case 43:case 32:case 40:break;default:w=" "}switch(P){case 38:y=w+Q;case 126:case 62:case 43:case 32:case 41:case 40:break;case 91:y=w+y+Q;break;case 58:switch(2*y.charCodeAt(1)+3*y.charCodeAt(2)){case 530:if(0<G){y=w+y.substring(8,_-1);break}default:(1>S||1>v[S-1].length)&&(y=w+Q+y)}break;case 44:w="";default:y=1<_&&0<y.indexOf(":")?w+y.replace($,"$1"+Q+"$2"):w+y+Q}C+=y}m[s]=C.replace(d,"").trim()}t=m}if(f=t,0<Z&&void 0!==(b=n(2,Y,f,e,R,M,j,o))&&0===(Y=b).length)return te+Y+ee;if(Y=f.join(",")+"{"+Y+"}",0<L*W){switch(W){case 111:Y=Y.replace(O,":-moz-$1")+Y;break;case 112:Y=Y.replace(x,"::-webkit-input-$1")+Y.replace(x,"::-moz-$1")+Y.replace(x,":-ms-input-$1")+Y}W=0}}return te+Y+ee}function r(e,t,a){var r=t.trim().split(w);t=r;var c=r.length,i=e.length;switch(i){case 0:case 1:var n=0;for(e=0===i?"":e[0]+" ";n<c;++n)t[n]=s(e,t[n],a,i).trim();break;default:var o=n=0;for(t=[];n<c;++n)for(var l=0;l<i;++l)t[o++]=s(e[l]+" ",r[n],a,i).trim()}return t}function s(e,t,a,r){var s=t.charCodeAt(0);switch(33>s&&(s=(t=t.trim()).charCodeAt(0)),s){case 38:switch(F+r){case 0:case 1:if(0===e.trim().length)break;default:return t.replace(y,"$1"+e.trim())}break;case 58:switch(t.charCodeAt(1)){case 103:if(0<G&&0<F)return t.replace(v,"$1").replace(y,"$1"+X);break;default:return e.trim()+t}default:if(0<a*F&&0<t.indexOf("\f"))return t.replace(y,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+t}function c(e,t,a,r){var s=0,c=e+";";if(944==(t=2*t+3*a+4*r)){if(r=c,e=r.length,a=r.indexOf(":",9)+1,s=r.substring(0,a).trim(),e=r.substring(a,e-1).trim(),c="",45!==r.charCodeAt(9))for(r=e.split(g),a=t=0,e=r.length;t<e;a=0,++t){for(var i=r[t],n=i.split(m);i=n[a];){var o=i.charCodeAt(0);if(1===U&&(64<o&&90>o||96<o&&123>o||95===o||45===o&&45!==i.charCodeAt(1)))switch(isNaN(parseFloat(i))+(-1!==i.indexOf("("))){case 1:switch(i){case"infinite":case"alternate":case"backwards":case"running":case"normal":case"forwards":case"both":case"none":case"linear":case"ease":case"ease-in":case"ease-out":case"ease-in-out":case"paused":case"reverse":case"alternate-reverse":case"inherit":case"initial":case"unset":case"step-start":case"step-end":break;default:i+=J}}n[a++]=i}c+=(0===t?"":",")+n.join(" ")}else c+=110===r.charCodeAt(10)?e+(1===U?J:""):e;c=s+c+";",c=0<L?"-webkit-"+c+c:c}else if(0<L)switch(t){case 969:c="-webkit-"+c.replace(T,"-webkit-$1")+c;break;case 951:c="-webkit-"+c+c;break;case 963:110===c.charCodeAt(5)&&(c="-webkit-"+c+c);break;case 978:c="-webkit-"+c+"-moz-"+c+c;break;case 1019:case 983:c="-webkit-"+c+"-moz-"+c+"-ms-"+c+c;break;case 883:45===c.charCodeAt(8)&&(c="-webkit-"+c+c);break;case 932:c="-webkit-"+c+"-ms-"+c+c;break;case 964:c="-webkit-"+c+"-ms-flex-"+c+c;break;case 1023:c="-webkit-box-pack"+(e=c.substring(c.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+c+"-ms-flex-pack"+e+c;break;case 1017:if(-1===c.indexOf("sticky",9))break;case 975:switch(s=(c=e).length-10,e=(33===c.charCodeAt(s)?c.substring(0,s):c).substring(e.indexOf(":",7)+1).trim(),t=e.charCodeAt(0)+(0|e.charCodeAt(7))){case 203:if(111>e.charCodeAt(8))break;case 115:c=c.replace(e,"-webkit-"+e)+";"+c;break;case 207:case 102:c=c.replace(e,"-webkit-"+(102<t?"inline-":"")+"box")+";"+c.replace(e,"-webkit-"+e)+";"+c.replace(e,"-ms-"+e+"box")+";"+c}c+=";";break;case 938:if(45===c.charCodeAt(5))switch(c.charCodeAt(6)){case 105:c="-webkit-"+c+"-webkit-box-"+(e=c.replace("-items",""))+"-ms-flex-"+e+c;break;case 115:c="-webkit-"+c+"-ms-flex-item-"+c.replace(I,"")+c;break;default:c="-webkit-"+c+"-ms-flex-line-pack"+c.replace("align-content","")+c}break;case 1005:p.test(c)&&(c=c.replace(f,":-webkit-")+c.replace(f,":-moz-")+c);break;case 953:0<(s=c.indexOf("-content",9))&&109===c.charCodeAt(s-3)&&45!==c.charCodeAt(s-4)&&(e=c.substring(s-3),c="width:-webkit-"+e+"width:-moz-"+e+"width:"+e);break;case 1015:if(45!==e.charCodeAt(9))break;case 962:c="-webkit-"+c+(102===c.charCodeAt(5)?"-ms-"+c:"")+c,211===a+r&&105===c.charCodeAt(13)&&0<c.indexOf("transform",10)&&(c=c.substring(0,c.indexOf(";",27)+1).replace(b,"$1-webkit-$2")+c);break;case 1e3:switch(e=c.substring(13).trim(),s=e.indexOf("-")+1,e.charCodeAt(0)+e.charCodeAt(s)){case 226:e=c.replace(N,"tb");break;case 232:e=c.replace(N,"tb-rl");break;case 220:e=c.replace(N,"lr");break;default:return c}c="-webkit-"+c+"-ms-"+e+c}return c}function i(e,t){var a=c(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return a!==t+";"?a.replace(P,"or($1)").substring(2):"("+t+")"}function n(e,t,a,r,s,c,i,n){for(var o,l=0,h=t;l<Z;++l)switch(o=B[l].call(u,e,h,a,r,s,c,i,n)){case void 0:case!1:case!0:case null:break;default:h=o}switch(h){case void 0:case!1:case!0:case null:case t:break;default:return h}}function o(e){switch(e){case void 0:case null:Z=B.length=0;break;default:switch(e.constructor){case Array:for(var t=0,a=e.length;t<a;++t)o(e[t]);break;case Function:B[Z++]=e;break;case Boolean:K=0|!!e}}return o}function l(e){for(var t in e){var a=e[t];switch(t){case"keyframe":U=0|a;break;case"global":G=0|a;break;case"cascade":F=0|a;break;case"compress":D=0|a;break;case"prefix":L=0|a;break;case"semicolon":H=0|a;break;case"preserve":q=0|a}}return l}function u(t,r){if(void 0!==this&&this.constructor===u)return e(t);var s=t,c=s.charCodeAt(0);if(33>c&&(c=(s=s.trim()).charCodeAt(0)),0<U&&(J=s.replace(C,91===c?"":"-")),c=1,1===F?X=s:Q=s,s=[X],0<Z){var i=n(-1,r,s,s,R,M,0,0);void 0!==i&&"string"==typeof i&&(r=i)}var o=a(V,s,r,0);return 0<Z&&void 0!==(i=n(-2,o,s,s,R,M,o.length,0))&&"string"!=typeof(o=i)&&(c=0),Q=X=J="",W=0,M=R=1,0==D*c?o:o.replace(d,"").replace(S,"").replace(_,"$1").replace(j,"$1").replace(E," ")}var h=/^\0+/g,d=/[\0\r\f]/g,f=/: */g,p=/zoo|gra/,b=/([,: ])(transform)/g,g=/,+\s*(?![^(]*[)])/g,m=/ +\s*(?![^(]*[)])/g,k=/ *[\0] */g,w=/,\r+?/g,y=/([\t\r\n ])*\f?&/g,v=/:global\(((?:[^\(\)\[\]]*|\[.*\]|\([^\(\)]*\))*)\)/g,C=/\W+/g,A=/@(k\w+)\s*(\S*)\s*/,x=/::(place)/g,O=/:(read-only)/g,S=/\s+(?=[{\];=:>])/g,_=/([[}=:>])\s+/g,j=/(\{[^{]+?);(?=\})/g,E=/\s{2,}/g,$=/([^\(])(:+) */g,N=/[svh]\w+-[tblr]{2}/,T=/([\w-]+t\()/g,z=/\(\s*([^]*?)\s*\)/g,P=/([^]*?);/g,I=/-self|flex-/g,M=1,R=1,W=0,F=1,L=1,G=1,D=0,H=0,q=0,V=[],B=[],Z=0,K=0,U=1,J="",Q="",X="";return u.use=o,u.set=l,void 0!==t&&l(t),u}({keyframe:!1}),j=[],E=_.use;e.registered={},e.inserted={};var $="",N=[];_.use(d);var T,z=/[A-Z]|^ms/g,P=o(function(e){return e.replace(z,"-$&").toLowerCase()}),I=function(e,t){return void 0===t||null===t||"boolean"==typeof t?"":1===A[e]||isNaN(t)||0===t?t:t+"px"},M=new WeakMap,R="__EMOTION_THEMING__",W=(T={},T[R]=a.object,T),F=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},L=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)},G=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t},D=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|accept|acceptCharset|accessKey|action|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|default|defer|dir|disabled|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|itemProp|itemScope|itemType|itemID|itemRef|results|security|unselectable)|(on[A-Z].*)|((data|aria)-.*))$/,H=o(function(e){return D.test(e)}),q=function(e){return"theme"!==e&&"innerRef"!==e},V=function(){return!0},B=function(e,t){for(var a=2,r=arguments.length;a<r;a++){var s=arguments[a],c=void 0;for(c in s)e(c)&&(t[c]=s[c])}return t};e.default=function e(a,r){var s=!1;void 0!==r&&void 0!==r.e&&(s=r.e);var c=a.__emotion_real===a,i=!1===s?c&&a.__emotion_base||a:a,n="string"==typeof i?H:q;return function(o){for(var l=arguments.length,u=Array(l>1?l-1:0),h=1;h<l;h++)u[h-1]=arguments[h];var d=c&&a.__emotion_styles||[];!1===s&&(d=null==o||void 0===o.raw?d.concat(o,u):u.reduce(function(e,t,a){return e.concat(t,o[a+1])},d.concat(o[0])));var f=function(e){function a(){return F(this,a),G(this,e.apply(this,arguments))}return L(a,e),a.prototype.render=function(){var e=this.props,a=this.state;this.mergedProps=B(V,{},e,{theme:null!==a&&a.theme||e.theme||{}});var r="",c=[];return e.className&&(r+=!1===s?w(c,e.className):e.className+" "),r+=!1===s?k.apply(this,d.concat(c)):s,t.createElement(i,B(n,{},e,{className:r,ref:e.innerRef}))},a}(t.Component);return f.prototype.componentWillMount=v,f.prototype.componentWillUnmount=C,f.contextTypes=W,f.__emotion_styles=d,f.__emotion_base=i,f.__emotion_real=f,f.displayName="Styled("+("string"==typeof i?i:i.displayName||i.name||"Component")+")",f.withComponent=function(t){return e(t,r)(d)},f}},e.sheet=S,e.useStylisPlugin=function(e){j.push(e),E(null)(j)(d)},e.flush=function(){S.flush(),e.inserted={},e.registered={},S.inject()},e.css=k,e.injectGlobal=function(){var t=m.apply(void 0,arguments),a=r(t);void 0===e.inserted[a]&&(_("",t),e.inserted[a]=!0)},e.keyframes=function(){var t=m.apply(void 0,arguments),a=r(t),s="animation-"+a;return void 0===e.inserted[a]&&(_("","@keyframes "+s+"{"+t+"}"),e.inserted[a]=!0),s},e.fontFace=function(){var t=m.apply(void 0,arguments),a=r(t);void 0===e.inserted[a]&&(_("","@font-face{"+t+"}"),e.inserted[a]=!0)},e.getRegisteredStyles=w,e.merge=function(e,t){var a=[],r=w(a,e);return a.length<2?e:r+k(a,t)},e.hydrate=function(t){t.forEach(function(t){e.inserted[t]=!0})},Object.defineProperty(e,"__esModule",{value:!0})});
//# sourceMappingURL=DO-NOT-USE.min.js.map

@@ -153,8 +153,5 @@ 'use strict';

this.mergedProps = props;
if (state !== null && state.theme) {
this.mergedProps = omitAssign(testAlwaysTrue, {}, props, {
theme: state.theme || {}
});
}
this.mergedProps = omitAssign(testAlwaysTrue, {}, props, {
theme: state !== null && state.theme || props.theme || {}
});

@@ -161,0 +158,0 @@ var className = '';

@@ -148,8 +148,5 @@ import { Component, createElement } from 'react';

this.mergedProps = props;
if (state !== null && state.theme) {
this.mergedProps = omitAssign(testAlwaysTrue, {}, props, {
theme: state.theme || {}
});
}
this.mergedProps = omitAssign(testAlwaysTrue, {}, props, {
theme: state !== null && state.theme || props.theme || {}
});

@@ -156,0 +153,0 @@ var className = '';

{
"name": "react-emotion",
"version": "8.0.2-12",
"version": "8.0.2-13",
"description": "The Next Generation of CSS-in-JS, for React projects.",

@@ -5,0 +5,0 @@ "main": "dist/index.cjs.js",

@@ -81,8 +81,5 @@ /* global codegen */

const { props, state } = this
this.mergedProps = props
if (state !== null && state.theme) {
this.mergedProps = omitAssign(testAlwaysTrue, {}, props, {
theme: state.theme || {}
})
}
this.mergedProps = omitAssign(testAlwaysTrue, {}, props, {
theme: (state !== null && state.theme) || props.theme || {}
})

@@ -89,0 +86,0 @@ let className = ''

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc