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 to 8.0.3

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){O.insert(e,E)}function d(e,t,a,r,s,c,i,n){switch(e){case-2:$.forEach(u),$=[];break;case 2:if(0===n){var o=a.join(","),l=o+"{"+t+"}";r.join(",")===o||""===r[0]?$.push(l):$.unshift(l)}break;case 3:var h=a.join(""),d=t;switch(h.charCodeAt(1)){case 115:case 100:case 109:$.push(h+"{"+d+"}");break;case 107:d=(h=h.substring(1))+"{"+d+"}",$.push("@-webkit-"+d),$.push("@"+d);break;default:$.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(I.has(t))return I.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)+":"+P(r,t[r])+";":a+=r+"{"+p.call(this,t[r],!1)+"}"},this),I.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("."+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[M]&&(this.unsubscribe=this.context[M].subscribe(y.bind(this)))}function C(){void 0!==this.unsubscribe&&this.context[M].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=new(function(){function e(){x(this,e),this.isBrowser="undefined"!=typeof window,this.isSpeedy=!0,this.tags=[],this.ctr=0}return e.prototype.inject=function(){if(this.injected)throw new Error("already injected!");this.isBrowser?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(this.isBrowser){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%65e3==0&&this.tags.push(h())}else this.sheet.push(e)},e.prototype.flush=function(){this.isBrowser?(this.tags.forEach(function(e){return e.parentNode.removeChild(e)}),this.tags=[],this.ctr=0):this.sheet=[],this.injected=!1},e}());O.inject();var S=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,P=0,I=s.length,B=I-1,V="",Y="",ee="",te="";N<I;){if(f=s.charCodeAt(N),0===m+y+w+g){if(N===B&&(0<h&&(V=V.replace(d,"")),0<V.trim().length)){switch(f){case 32:case 9:case 59:case 13:case 10:break;default:V+=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=(V=V.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=(V=V.replace(u,"").trim()).charCodeAt(0)),l){case 64:switch(0<h&&(V=V.replace(d,"")),h=V.charCodeAt(1)){case 100:case 109:case 115:f=t;break;default:f=q}if(E=a(t,f,E,h),j=E.length,0<H&&0===j&&(j=V.length),0<Z&&(f=r(q,V,P),b=n(3,E,f,t,R,M,j,h),V=f.join(""),void 0!==b&&0===(j=(E=b.trim()).length)&&(h=0,E="")),0<j)switch(h){case 115:V=V.replace(z,i);case 100:case 109:E=V+"{"+E+"}";break;case 107:E=(V=V.replace(A,"$1 $2"+(0<U?J:"")))+"{"+E+"}",E="@"+(0<L?"-webkit-"+E+"@"+E:E);break;default:E=V+E}else E="";break;default:E=a(t,r(t,V,P),E,o)}ee+=E,E=P=h=l=T=j=0,V="",f=s.charCodeAt(++N);break;case 125:case 59:if(V=(0<h?V.replace(d,""):V).trim(),1<(j=V.length))switch(0===l&&(45===(l=V.charCodeAt(0))||96<l&&123>l)&&(j=(V=V.replace(" ",":")).length),0<Z&&void 0!==(b=n(1,V,t,e,R,M,Y.length,o))&&0===(j=(V=b.trim()).length)&&(V="\0\0"),l=V.charCodeAt(0),h=V.charCodeAt(1),l+h){case 0:break;case 169:case 163:te+=V+s.charAt(N);break;default:58!==V.charCodeAt(j-1)&&(Y+=c(V,l,h,V.charCodeAt(2)))}P=h=l=T=j=0,V="",f=s.charCodeAt(++N)}}switch(f){case 13:case 10:if(0===m+y+w+g+D)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,V,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=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&&(h=1,p+="\r");break;case 34:case 39:0===m&&(y=y===f?0:0===y?f:y,N===B&&(B++,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===B&&(B++,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")}}V+=p,32!==f&&(S=f)}}C=v,v=f,N++}if(j=Y.length,0<H&&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,u=t;l<Z;++l)switch(o=V[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=V.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:V[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":B=0|a;break;case"prefix":L=0|a;break;case"semicolon":D=0|a;break;case"preserve":H=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(q,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==B*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,z=/\(\s*([^]*?)\s*\)/g,P=/([^]*?);/g,I=/-self|flex-/g,M=1,R=1,W=0,F=1,L=1,G=1,B=0,D=0,H=0,q=[],V=[],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=S.use;e.registered={},e.inserted={};var E="",$=[];S.use(d);var N,T=/[A-Z]|^ms/g,z=o(function(e){return e.replace(T,"-$&").toLowerCase()}),P=function(e,t){return void 0===t||null===t||"boolean"==typeof t?"":1===A[e]||isNaN(t)||0===t?t:t+"px"},I=new WeakMap,M="__EMOTION_THEMING__",R=(N={},N[M]=a.object,N),W=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},F=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)},L=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},G=/^((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)-.*))$/,B=o(function(e){return G.test(e)}),D=function(e){return"theme"!==e&&"innerRef"!==e},H=function(){return!0},q=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?B:D;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 W(this,a),L(this,e.apply(this,arguments))}return F(a,e),a.prototype.render=function(){var e=this.props,a=this.state;this.mergedProps=q(H,{},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,q(n,{},e,{className:r,ref:e.innerRef}))},a}(t.Component);return f.prototype.componentWillMount=v,f.prototype.componentWillUnmount=C,f.contextTypes=R,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=O,e.useStylisPlugin=function(e){_.push(e),j(null)(_)(d)},e.flush=function(){O.flush(),e.inserted={},e.registered={},O.inject()},e.css=k,e.injectGlobal=function(){var t=m.apply(void 0,arguments),a=r(t);void 0===e.inserted[a]&&(S("",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]&&(S("","@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]&&(S("","@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 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){E.insert(e.ruleText,N)}function f(e,t){this.selector=e,this.ruleText=t,this.children=[]}function d(e){u(e),e.children&&e.children.forEach(d)}function p(e,t){t?(P[t]||(P[t]=[]),P[t].push(e)):z.push(e),void 0!==P[e.selector]&&(P[e.selector].forEach(function(t){return e.children.push(t)}),P[e.selector]=void 0)}function b(e,t,a,r,s,c,i,n){var o=a.join(","),l=r.join(",");switch(e){case-2:z.forEach(d),Object.keys(P).forEach(function(e){P[e]&&P[e].forEach(d)}),z=[],P={};break;case 2:if(0!==n)break;p(new f(o,o+"{"+t+"}"),l);break;case 3:var h=a.join(""),u=t;switch(h.charCodeAt(1)){case 115:case 100:case 109:p(new f(o,h+"{"+u+"}"),l);break;case 107:p(new f(o,"@-webkit-"+(u=(h=h.substring(1))+"{"+u+"}")),l),p(new f(o,"@"+u),l);break;default:p(new f(o,h+u),l)}}}function g(e){var t=[];return e.forEach(function(e){t=Array.isArray(e)?t.concat(g(e)):t.concat(e)}),t}function k(t,a){return void 0===t||null===t||"boolean"==typeof t?"":"function"==typeof t?k.call(this,void 0===this?t():t(this.mergedProps,this.context),a):"object"==typeof t?m.call(this,t):!1===a&&void 0!==e.registered[t]?e.registered[t]:t}function m(t){if(F.has(t))return F.get(t);var a="";return Array.isArray(t)?g(t).forEach(function(e){a+=k.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+=R(r)+":"+W(r,t[r])+";":a+=r+"{"+k.call(this,t[r],!1)+"}"},this),F.set(t,a),a}function w(e){return 46===e.charCodeAt(e.length-1)}function y(e){var t=!0,a="";null==e||void 0===e.raw?(t=!1,a=k.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+=k.call(this,r,w(a)),!0===t&&void 0!==e[s+1]&&(a+=e[s+1])},this),a}function v(){var t=y.apply(this,arguments),a=r(t),s="css-"+a;return void 0===e.registered[s]&&(e.registered[s]=t),void 0===e.inserted[a]&&(j("."+s,t),e.inserted[a]=!0),s}function C(t,a){var r="";return a.split(" ").forEach(function(a){void 0!==e.registered[a]?t.push(a):r+=a+" "}),r}function A(e){this.setState({theme:e})}function x(){void 0!==this.context[L]&&(this.unsubscribe=this.context[L].subscribe(A.bind(this)))}function O(){void 0!==this.unsubscribe&&this.context[L].unsubscribe(this.unsubscribe)}a=a&&"default"in a?a.default:a;var S={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},_=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},E=new(function(){function e(){_(this,e),this.isBrowser="undefined"!=typeof window,this.isSpeedy=!0,this.tags=[],this.ctr=0}return e.prototype.inject=function(){if(this.injected)throw new Error("already injected!");this.isBrowser?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(this.isBrowser){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%65e3==0&&this.tags.push(h())}else this.sheet.push(e)},e.prototype.flush=function(){this.isBrowser?(this.tags.forEach(function(e){return e.parentNode.removeChild(e)}),this.tags=[],this.ctr=0):this.sheet=[],this.injected=!1},e}());E.inject();var j=new function e(t){function a(e,t,s,o){for(var l,h,d,p,b,g=0,k=0,w=0,y=0,v=0,C=0,S=0,_=0,E=0,j=0,$=l=0,N=h=0,P=0,I=s.length,B=I-1,V="",Y="",ee="",te="";$<I;){if(d=s.charCodeAt($),0===k+y+w+g){if($===B&&(0<h&&(V=V.replace(f,"")),0<V.trim().length)){switch(d){case 32:case 9:case 59:case 13:case 10:break;default:V+=s.charAt($)}d=59}if(1===N)switch(d){case 123:case 44:N=0;break;case 9:case 13:case 10:case 32:break;default:$--,d=59}switch(d){case 123:for(l=(V=V.trim()).charCodeAt(0),_=1,E=++$;$<I;){switch(d=s.charCodeAt($)){case 123:_++;break;case 125:_--}if(0===_)break;$++}switch(j=s.substring(E,$),0===l&&(l=(V=V.replace(u,"").trim()).charCodeAt(0)),l){case 64:switch(0<h&&(V=V.replace(f,"")),h=V.charCodeAt(1)){case 100:case 109:case 115:d=t;break;default:d=q}if(j=a(t,d,j,h),E=j.length,0<H&&0===E&&(E=V.length),0<Z&&(d=r(q,V,P),b=n(3,j,d,t,R,M,E,h),V=d.join(""),void 0!==b&&0===(E=(j=b.trim()).length)&&(h=0,j="")),0<E)switch(h){case 115:V=V.replace(z,i);case 100:case 109:j=V+"{"+j+"}";break;case 107:j=(V=V.replace(A,"$1 $2"+(0<U?J:"")))+"{"+j+"}",j="@"+(0<L?"-webkit-"+j+"@"+j:j);break;default:j=V+j}else j="";break;default:j=a(t,r(t,V,P),j,o)}ee+=j,j=P=h=l=N=E=0,V="",d=s.charCodeAt(++$);break;case 125:case 59:if(V=(0<h?V.replace(f,""):V).trim(),1<(E=V.length))switch(0===l&&(45===(l=V.charCodeAt(0))||96<l&&123>l)&&(E=(V=V.replace(" ",":")).length),0<Z&&void 0!==(b=n(1,V,t,e,R,M,Y.length,o))&&0===(E=(V=b.trim()).length)&&(V="\0\0"),l=V.charCodeAt(0),h=V.charCodeAt(1),l+h){case 0:break;case 169:case 163:te+=V+s.charAt($);break;default:58!==V.charCodeAt(E-1)&&(Y+=c(V,l,h,V.charCodeAt(2)))}P=h=l=N=E=0,V="",d=s.charCodeAt(++$)}}switch(d){case 13:case 10:if(0===k+y+w+g+D)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&&(N=1)}47===k&&(k=0),0<Z*K&&n(0,V,t,e,R,M,Y.length,o),M=1,R++;break;case 59:case 125:if(0===k+y+w+g){M++;break}default:switch(M++,p=s.charAt($),d){case 9:case 32:if(0===y+g)switch(v){case 44:case 58:case 9:case 32:p="";break;default:32!==d&&(p=" ")}break;case 0:p="\\0";break;case 12:p="\\f";break;case 11:p="\\v";break;case 38:0===y+k+g&&0<F&&(h=P=1,p="\f"+p);break;case 108:if(0===y+k+g+W&&0<l)switch($-l){case 2:112===v&&58===s.charCodeAt($-3)&&(W=v);case 8:111===C&&(W=C)}break;case 58:0===y+k+g&&(l=$);break;case 44:0===k+w+y+g&&(h=1,p+="\r");break;case 34:case 39:0===k&&(y=y===d?0:0===y?d:y,$===B&&(B++,I++));break;case 91:0===y+k+w&&g++;break;case 93:0===y+k+w&&g--;break;case 41:0===y+k+g&&($===B&&(B++,I++),w--);break;case 40:if(0===y+k+g){if(0===E)switch(2*v+3*C){case 533:break;default:_=0,E=1}w++}break;case 64:0===k+w+y+g+l+j&&(j=1);break;case 42:case 47:if(!(0<y+g+w))switch(k){case 0:switch(2*d+3*s.charCodeAt($+1)){case 235:k=47;break;case 220:k=42}break;case 42:47===d&&42===v&&(p="",k=0)}}if(0===k){if(0===F+y+g+j&&107!==o&&59!==d)switch(d){case 44:case 126:case 62:case 43:case 41:case 40:if(0===E){switch(v){case 9:case 32:case 10:case 13:p+="\0";break;default:p="\0"+p+(44===d?"":"\0")}h=1}else switch(d){case 40:E=++_;break;case 41:0==(E=--_)&&(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===E&&(h=1,p+="\0")}}V+=p,32!==d&&(S=d)}}C=v,v=d,$++}if(E=Y.length,0<H&&0===E&&0===ee.length&&0===t[0].length==0&&(109!==o||1===t.length&&(0<F?Q:X)===t[0])&&(E=t.join(",").length+2),0<E){if(0===F&&107!==o){for(s=0,g=t.length,k=Array(g);s<g;++s){for(C="",S=0,I=(v=t[s].split(m)).length;S<I;++S)if(!(0===(_=(y=v[S]).length)&&1<I)){if($=C.charCodeAt(C.length-1),P=y.charCodeAt(0),w="",0!==S)switch($){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(T,"$1"+Q+"$2"):w+y+Q}C+=y}k[s]=C.replace(f,"").trim()}t=k}if(d=t,0<Z&&void 0!==(b=n(2,Y,d,e,R,M,E,o))&&0===(Y=b).length)return te+Y+ee;if(Y=d.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(k);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(N,"-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(d,":-webkit-")+c.replace(d,":-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($,"tb");break;case 232:e=c.replace($,"tb-rl");break;case 220:e=c.replace($,"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,u=t;l<Z;++l)switch(o=V[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=V.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:V[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":B=0|a;break;case"prefix":L=0|a;break;case"semicolon":D=0|a;break;case"preserve":H=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(q,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==B*c?o:o.replace(f,"").replace(S,"").replace(_,"$1").replace(E,"$1").replace(j," ")}var u=/^\0+/g,f=/[\0\r\f]/g,d=/: */g,p=/zoo|gra/,b=/([,: ])(transform)/g,g=/,+\s*(?![^(]*[)])/g,k=/ +\s*(?![^(]*[)])/g,m=/ *[\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,E=/(\{[^{]+?);(?=\})/g,j=/\s{2,}/g,T=/([^\(])(:+) */g,$=/[svh]\w+-[tblr]{2}/,N=/([\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,B=0,D=0,H=0,q=[],V=[],Z=0,K=0,U=1,J="",Q="",X="";return h.use=o,h.set=l,void 0!==t&&l(t),h}({keyframe:!1}),T=[],$=j.use;e.registered={},e.inserted={};var N="",z=[],P={};j.use(b);var I,M=/[A-Z]|^ms/g,R=o(function(e){return e.replace(M,"-$&").toLowerCase()}),W=function(e,t){return void 0===t||null===t||"boolean"==typeof t?"":1===S[e]||isNaN(t)||0===t?t:t+"px"},F=new WeakMap,L="__EMOTION_THEMING__",G=(I={},I[L]=a.object,I),B=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},D=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)},H=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},q=/^((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)-.*))$/,V=o(function(e){return q.test(e)}),Z=function(e){return"theme"!==e&&"innerRef"!==e},K=function(){return!0},U=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?V:Z;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 f=c&&a.__emotion_styles||[];!1===s&&(f=null==o||void 0===o.raw?f.concat(o,h):h.reduce(function(e,t,a){return e.concat(t,o[a+1])},f.concat(o[0])));var d=function(e){function a(){return B(this,a),H(this,e.apply(this,arguments))}return D(a,e),a.prototype.render=function(){var e=this.props,a=this.state;this.mergedProps=U(K,{},e,{theme:null!==a&&a.theme||e.theme||{}});var r="",c=[];return e.className&&(r+=!1===s?C(c,e.className):e.className+" "),r+=!1===s?v.apply(this,f.concat(c)):s,t.createElement(i,U(n,{},e,{className:r,ref:e.innerRef}))},a}(t.Component);return d.prototype.componentWillMount=x,d.prototype.componentWillUnmount=O,d.contextTypes=G,d.__emotion_styles=f,d.__emotion_base=i,d.__emotion_real=d,d.displayName="Styled("+("string"==typeof i?i:i.displayName||i.name||"Component")+")",d.withComponent=function(t){return e(t,r)(f)},d}},e.sheet=E,e.useStylisPlugin=function(e){T.push(e),$(null)(T)(b)},e.flush=function(){E.flush(),e.inserted={},e.registered={},E.inject()},e.css=v,e.injectGlobal=function(){var t=y.apply(void 0,arguments),a=r(t);void 0===e.inserted[a]&&(j("",t),e.inserted[a]=!0)},e.keyframes=function(){var t=y.apply(void 0,arguments),a=r(t),s="animation-"+a;return void 0===e.inserted[a]&&(j("","@keyframes "+s+"{"+t+"}"),e.inserted[a]=!0),s},e.fontFace=function(){var t=y.apply(void 0,arguments),a=r(t);void 0===e.inserted[a]&&(j("","@font-face{"+t+"}"),e.inserted[a]=!0)},e.getRegisteredStyles=C,e.merge=function(e,t){var a=[],r=C(a,e);return a.length<2?e:r+v(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
{
"name": "react-emotion",
"version": "8.0.2",
"version": "8.0.3",
"description": "The Next Generation of CSS-in-JS, for React projects.",

@@ -20,11 +20,11 @@ "main": "dist/index.cjs.js",

"dependencies": {
"babel-plugin-emotion": "^8.0.2-11",
"babel-plugin-emotion": "^8.0.3",
"emotion-utils": "^8.0.2-7"
},
"peerDependencies": {
"emotion": "^8.0.2"
"emotion": "^8.0.3"
},
"devDependencies": {
"cross-env": "^5.0.5",
"emotion": "^8.0.2",
"emotion": "^8.0.3",
"npm-run-all": "^4.0.2",

@@ -31,0 +31,0 @@ "rimraf": "^2.6.1",

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