Socket
Socket
Sign inDemoInstall

create-emotion

Package Overview
Dependencies
Maintainers
2
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-emotion - npm Package Compare versions

Comparing version 9.0.0-1 to 9.0.0-2

2

dist/emotion.umd.min.js

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

!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e["create-emotion"]=t()}(this,function(){"use strict";function e(e){return t(e,e.length).toString(36)}function t(e,t){for(var s=1540483477,i=t^e.length,n=e.length,o=0;n>=4;){var l=a(e,o);l=c(l,s),l=c(l^=l>>>24,s),i=c(i,s),i^=l,o+=4,n-=4}switch(n){case 3:i^=r(e,o),i=c(i^=e.charCodeAt(o+2)<<16,s);break;case 2:i=c(i^=r(e,o),s);break;case 1:i=c(i^=e.charCodeAt(o),s)}return i^=i>>>13,i=c(i,s),(i^=i>>>15)>>>0}function a(e,t){return e.charCodeAt(t++)+(e.charCodeAt(t++)<<8)+(e.charCodeAt(t++)<<16)+(e.charCodeAt(t)<<24)}function r(e,t){return e.charCodeAt(t++)+(e.charCodeAt(t++)<<8)}function c(e,t){return(65535&(e|=0))*(t|=0)+(((e>>>16)*t&65535)<<16)|0}function s(e){function t(t){if(t)try{e(t+"}")}catch(e){}}return function(a,r,c,s,i,n,o,l,h){switch(a){case 1:0===h&&64===r.charCodeAt(0)&&e(r);break;case 2:if(0===l)return r+"/*|*/";break;case 3:switch(l){case 102:case 112:return e(c[0]+r),"";default:return r+"/*|*/"}case-2:r.split("/*|*/}").forEach(t)}}}function i(){return s}function n(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 o(e){var t=document.createElement("style");return t.type="text/css",t.setAttribute("data-emotion",e.key||""),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),(void 0!==e.container?e.container:document.head).appendChild(t),t}function l(e){this.isSpeedy=!0,this.tags=[],this.ctr=0,this.opts=e}function h(){if(this.injected)throw new Error("already injected!");this.tags[0]=o(this.opts),this.injected=!0}function f(e){if(0!==this.ctr)throw new Error("cannot change speedy now");this.isSpeedy=!!e}function u(e,t){if(this.isSpeedy){var a=n(this.tags[this.tags.length-1]);try{a.insertRule(e,a.cssRules.length)}catch(e){}}else{var r=o(this.opts);this.tags.push(r),r.appendChild(document.createTextNode(e+(t||"")))}this.ctr++,this.ctr%65e3==0&&this.tags.push(o(this.opts))}function d(e){return e.parentNode.removeChild(e)}function b(){this.tags.forEach(d),this.tags=[],this.ctr=0,this.injected=!1}var p=function e(t){function a(e,t,c,l,h){for(var f,b,p,g,k=0,w=0,A=0,v=0,C=0,y=0,S=0,$=0,j=0,_=0,z=0,I=0,T=b=0,W=0,q=0,J=c.length,Q=J-1,te="",ae="",re="",ce="";I<J;){if(p=c.charCodeAt(I),I===Q&&0!==w+v+A+k&&(0!==w&&(p=47===w?10:47),v=A=k=0,J++,Q++),0===w+v+A+k){if(I===Q&&(0<b&&(te=te.replace(d,"")),0<te.trim().length)){switch(p){case 32:case 9:case 59:case 13:case 10:break;default:te+=c.charAt(I)}p=59}if(1===T)switch(p){case 123:case 125:case 59:case 34:case 39:case 40:case 41:case 44:T=0;case 9:case 13:case 10:case 32:break;default:for(T=0,q=I,f=p,I--,p=59;q<J;)switch(c.charCodeAt(++q)){case 10:case 13:case 59:I++,p=f;case 58:case 123:q=J}}switch(p){case 123:for(f=(te=te.trim()).charCodeAt(0),$=1,q=++I;I<J;){switch(p=c.charCodeAt(I)){case 123:$++;break;case 125:$--}if(0===$)break;I++}switch(_=c.substring(q,I),0===f&&(f=(te=te.replace(u,"").trim()).charCodeAt(0)),f){case 64:switch(0<b&&(te=te.replace(d,"")),b=te.charCodeAt(1)){case 100:case 109:case 115:case 45:f=t;break;default:f=Z}if(_=a(t,f,_,b,h+1),q=_.length,0<L&&0===q&&(q=te.length),0<K&&(f=r(Z,te,W),g=o(3,_,f,t,G,F,q,b,h),te=f.join(""),void 0!==g&&0===(q=(_=g.trim()).length)&&(b=0,_="")),0<q)switch(b){case 115:te=te.replace(R,n);case 100:case 109:case 45:_=te+"{"+_+"}";break;case 107:_=(te=te.replace(x,"$1 $2"+(0<V?X:"")))+"{"+_+"}",_=1===B||2===B&&i("@"+_,3)?"@-webkit-"+_+"@"+_:"@"+_;break;default:_=te+_,112===l&&(ae+=_,_="")}else _="";break;default:_=a(t,r(t,te,W),_,l,h+1)}re+=_,_=W=b=z=T=j=0,te="",p=c.charCodeAt(++I);break;case 125:case 59:if(te=(0<b?te.replace(d,""):te).trim(),1<(q=te.length))switch(0===z&&(45===(f=te.charCodeAt(0))||96<f&&123>f)&&(q=(te=te.replace(" ",":")).length),0<K&&void 0!==(g=o(1,te,t,e,G,F,ae.length,l,h))&&0===(q=(te=g.trim()).length)&&(te="\0\0"),f=te.charCodeAt(0),b=te.charCodeAt(1),f+b){case 0:break;case 169:case 163:ce+=te+c.charAt(I);break;default:58!==te.charCodeAt(q-1)&&(ae+=s(te,f,b,te.charCodeAt(2)))}W=b=z=T=j=0,te="",p=c.charCodeAt(++I)}}switch(p){case 13:case 10:if(0===w+v+A+k+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<z&&(T=1)}47===w?w=0:0===P+j&&(b=1,te+="\0"),0<K*U&&o(0,te,t,e,G,F,ae.length,l,h),F=1,G++;break;case 59:case 125:if(0===w+v+A+k){F++;break}default:switch(F++,f=c.charAt(I),p){case 9:case 32:if(0===v+k+w)switch(C){case 44:case 58:case 9:case 32:f="";break;default:32!==p&&(f=" ")}break;case 0:f="\\0";break;case 12:f="\\f";break;case 11:f="\\v";break;case 38:0===v+w+k&&0<P&&(b=W=1,f="\f"+f);break;case 108:if(0===v+w+k+M&&0<z)switch(I-z){case 2:112===C&&58===c.charCodeAt(I-3)&&(M=C);case 8:111===y&&(M=y)}break;case 58:0===v+w+k&&(z=I);break;case 44:0===w+A+v+k&&(b=1,f+="\r");break;case 34:case 39:0===w&&(v=v===p?0:0===v?p:v);break;case 91:0===v+w+A&&k++;break;case 93:0===v+w+A&&k--;break;case 41:0===v+w+k&&A--;break;case 40:if(0===v+w+k){if(0===j)switch(2*C+3*y){case 533:break;default:$=0,j=1}A++}break;case 64:0===w+A+v+k+z+_&&(_=1);break;case 42:case 47:if(!(0<v+k+A))switch(w){case 0:switch(2*p+3*c.charCodeAt(I+1)){case 235:w=47;break;case 220:q=I,w=42}break;case 42:47===p&&42===C&&(33===c.charCodeAt(q+2)&&(ae+=c.substring(q,I+1)),f="",w=0)}}if(0===w){if(0===P+v+k+_&&107!==l&&59!==p)switch(p){case 44:case 126:case 62:case 43:case 41:case 40:if(0===j){switch(C){case 9:case 32:case 10:case 13:f+="\0";break;default:f="\0"+f+(44===p?"":"\0")}b=1}else switch(p){case 40:j=++$;break;case 41:0==(j=--$)&&(b=1,f+="\0")}break;case 9:case 32:switch(C){case 0:case 123:case 125:case 59:case 44:case 12:case 9:case 32:case 10:case 13:break;default:0===j&&(b=1,f+="\0")}}te+=f,32!==p&&9!==p&&(S=p)}}y=C,C=p,I++}if(q=ae.length,0<L&&0===q&&0===re.length&&0===t[0].length==!1&&(109!==l||1===t.length&&(0<P?Y:ee)===t[0])&&(q=t.join(",").length+2),0<q){if(0===P&&107!==l){for(c=0,k=t.length,w=Array(k);c<k;++c){for(y="",S=0,J=(C=t[c].split(m)).length;S<J;++S)if(!(0===($=(v=C[S]).length)&&1<J)){if(I=y.charCodeAt(y.length-1),W=v.charCodeAt(0),A="",0!==S)switch(I){case 42:case 126:case 62:case 43:case 32:case 40:break;default:A=" "}switch(W){case 38:v=A+Y;case 126:case 62:case 43:case 32:case 41:case 40:break;case 91:v=A+v+Y;break;case 58:switch(2*v.charCodeAt(1)+3*v.charCodeAt(2)){case 530:if(0<D){v=A+v.substring(8,$-1);break}default:(1>S||1>C[S-1].length)&&(v=A+Y+v)}break;case 44:A="";default:v=1<$&&0<v.indexOf(":")?A+v.replace(N,"$1"+Y+"$2"):A+v+Y}y+=v}w[c]=y.replace(d,"").trim()}t=w}if(f=t,0<K&&void 0!==(g=o(2,ae,f,e,G,F,q,l,h))&&0===(ae=g).length)return ce+ae+re;if(ae=f.join(",")+"{"+ae+"}",0!=B*M){switch(2!==B||i(ae,2)||(M=0),M){case 111:ae=ae.replace(E,":-moz-$1")+ae;break;case 112:ae=ae.replace(O,"::-webkit-input-$1")+ae.replace(O,"::-moz-$1")+ae.replace(O,":-ms-input-$1")+ae}M=0}}return ce+ae+re}function r(e,t,a){var r=t.trim().split(A);t=r;var s=r.length,i=e.length;switch(i){case 0:case 1:var n=0;for(e=0===i?"":e[0]+" ";n<s;++n)t[n]=c(e,t[n],a,i).trim();break;default:var o=n=0;for(t=[];n<s;++n)for(var l=0;l<i;++l)t[o++]=c(e[l]+" ",r[n],a,i).trim()}return t}function c(e,t,a,r){var c=t.charCodeAt(0);switch(33>c&&(c=(t=t.trim()).charCodeAt(0)),c){case 38:switch(P+r){case 0:case 1:if(0===e.trim().length)break;default:return t.replace(v,"$1"+e.trim())}break;case 58:switch(t.charCodeAt(1)){case 103:if(0<D&&0<P)return t.replace(C,"$1").replace(v,"$1"+ee);break;default:return e.trim()+t}default:if(0<a*P&&0<t.indexOf("\f"))return t.replace(v,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+t}function s(e,t,a,r){var c=0,s=e+";";if(944==(t=2*t+3*a+4*r)){switch(c=s.length,e=s.indexOf(":",9)+1,a=s.substring(0,e).trim(),r=s.substring(e,c-1).trim(),s.charCodeAt(9)*V){case 0:break;case 45:if(110!==s.charCodeAt(10))break;default:for(e=t=0,c=(s=r.split((r="",k))).length;t<c;e=0,++t){for(var n=s[t],o=n.split(w);n=o[e];){var l=n.charCodeAt(0);if(1===V&&(64<l&&90>l||96<l&&123>l||95===l||45===l&&45!==n.charCodeAt(1)))switch(isNaN(parseFloat(n))+(-1!==n.indexOf("("))){case 1:switch(n){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:n+=X}}o[e++]=n}r+=(0===t?"":",")+o.join(" ")}}return r=a+r+";",1===B||2===B&&i(r,1)?"-webkit-"+r+r:r}if(0===B||2===B&&!i(s,1))return s;switch(t){case 1015:return 45===s.charCodeAt(9)?"-webkit-"+s+s:s;case 951:return 116===s.charCodeAt(3)?"-webkit-"+s+s:s;case 963:return 110===s.charCodeAt(5)?"-webkit-"+s+s:s;case 1009:if(100!==s.charCodeAt(4))break;case 969:case 942:return"-webkit-"+s+s;case 978:return"-webkit-"+s+"-moz-"+s+s;case 1019:case 983:return"-webkit-"+s+"-moz-"+s+"-ms-"+s+s;case 883:return 45===s.charCodeAt(8)?"-webkit-"+s+s:s;case 932:if(45===s.charCodeAt(4))switch(s.charCodeAt(5)){case 103:return"-webkit-box-"+s.replace("-grow","")+"-webkit-"+s+"-ms-"+s.replace("grow","positive")+s;case 115:return"-webkit-"+s+"-ms-"+s.replace("shrink","negative")+s;case 98:return"-webkit-"+s+"-ms-"+s.replace("basis","preferred-size")+s}return"-webkit-"+s+"-ms-"+s+s;case 964:return"-webkit-"+s+"-ms-flex-"+s+s;case 1023:if(99!==s.charCodeAt(8))break;return"-webkit-box-pack"+(e=s.substring(s.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+s+"-ms-flex-pack"+e+s;case 1005:return p.test(s)?s.replace(b,":-webkit-")+s.replace(b,":-moz-")+s:s;case 1e3:switch(e=s.substring(13).trim(),c=e.indexOf("-")+1,e.charCodeAt(0)+e.charCodeAt(c)){case 226:e=s.replace(z,"tb");break;case 232:e=s.replace(z,"tb-rl");break;case 220:e=s.replace(z,"lr");break;default:return s}return"-webkit-"+s+"-ms-"+e+s;case 1017:if(-1===s.indexOf("sticky",9))break;case 975:switch(c=(s=e).length-10,e=(33===s.charCodeAt(c)?s.substring(0,c):s).substring(e.indexOf(":",7)+1).trim(),t=e.charCodeAt(0)+(0|e.charCodeAt(7))){case 203:if(111>e.charCodeAt(8))break;case 115:s=s.replace(e,"-webkit-"+e)+";"+s;break;case 207:case 102:s=s.replace(e,"-webkit-"+(102<t?"inline-":"")+"box")+";"+s.replace(e,"-webkit-"+e)+";"+s.replace(e,"-ms-"+e+"box")+";"+s}return s+";";case 938:if(45===s.charCodeAt(5))switch(s.charCodeAt(6)){case 105:return e=s.replace("-items",""),"-webkit-"+s+"-webkit-box-"+e+"-ms-flex-"+e+s;case 115:return"-webkit-"+s+"-ms-flex-item-"+s.replace(T,"")+s;default:return"-webkit-"+s+"-ms-flex-line-pack"+s.replace("align-content","")+s}break;case 953:if(0<(c=s.indexOf("-content",9))&&109===s.charCodeAt(c-3)&&45!==s.charCodeAt(c-4))return"width:-webkit-"+(e=s.substring(c-3))+"width:-moz-"+e+"width:"+e;break;case 962:if(s="-webkit-"+s+(102===s.charCodeAt(5)?"-ms-"+s:"")+s,211===a+r&&105===s.charCodeAt(13)&&0<s.indexOf("transform",10))return s.substring(0,s.indexOf(";",27)+1).replace(g,"$1-webkit-$2")+s}return s}function i(e,t){var a=e.indexOf(1===t?":":"{"),r=e.substring(0,3!==t?a:10);return a=e.substring(a+1,e.length-1),Q(2!==t?r:r.replace(W,"$1"),a,t)}function n(e,t){var a=s(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return a!==t+";"?a.replace(I," or ($1)").substring(4):"("+t+")"}function o(e,t,a,r,c,s,i,n,o){for(var l,h=0,u=t;h<K;++h)switch(l=J[h].call(f,e,u,a,r,c,s,i,n,o)){case void 0:case!1:case!0:case null:break;default:u=l}switch(u){case void 0:case!1:case!0:case null:case t:break;default:return u}}function l(e){switch(e){case void 0:case null:K=J.length=0;break;default:switch(e.constructor){case Array:for(var t=0,a=e.length;t<a;++t)l(e[t]);break;case Function:J[K++]=e;break;case Boolean:U=0|!!e}}return l}function h(e){for(var t in e){var a=e[t];switch(t){case"keyframe":V=0|a;break;case"global":D=0|a;break;case"cascade":P=0|a;break;case"compress":q=0|a;break;case"semicolon":H=0|a;break;case"preserve":L=0|a;break;case"prefix":Q=null,a?"function"!=typeof a?B=1:(B=2,Q=a):B=0}}return h}function f(t,r){if(void 0!==this&&this.constructor===f)return e(t);var c=t,s=c.charCodeAt(0);if(33>s&&(s=(c=c.trim()).charCodeAt(0)),0<V&&(X=c.replace(y,91===s?"":"-")),s=1,1===P?ee=c:Y=c,c=[ee],0<K){var i=o(-1,r,c,c,G,F,0,0,0);void 0!==i&&"string"==typeof i&&(r=i)}var n=a(Z,c,r,0,0);return 0<K&&void 0!==(i=o(-2,n,c,c,G,F,n.length,0,0))&&"string"!=typeof(n=i)&&(s=0),Y=ee=X="",M=0,F=G=1,0==q*s?n:n.replace(d,"").replace(S,"").replace($,"$1").replace(j,"$1").replace(_," ")}var u=/^\0+/g,d=/[\0\r\f]/g,b=/: */g,p=/zoo|gra/,g=/([,: ])(transform)/g,k=/,+\s*(?![^(]*[)])/g,w=/ +\s*(?![^(]*[)])/g,m=/ *[\0] */g,A=/,\r+?/g,v=/([\t\r\n ])*\f?&/g,C=/:global\(((?:[^\(\)\[\]]*|\[.*\]|\([^\(\)]*\))*)\)/g,y=/\W+/g,x=/@(k\w+)\s*(\S*)\s*/,O=/::(place)/g,E=/:(read-only)/g,S=/\s+(?=[{\];=:>])/g,$=/([[}=:>])\s+/g,j=/(\{[^{]+?);(?=\})/g,_=/\s{2,}/g,N=/([^\(])(:+) */g,z=/[svh]\w+-[tblr]{2}/,R=/\(\s*(.*)\s*\)/g,I=/([^]*?);/g,T=/-self|flex-/g,W=/[^]*?(:[rp][el]a[\w-]+)[^]*/,F=1,G=1,M=0,P=1,B=1,D=1,q=0,H=0,L=0,Z=[],J=[],K=0,Q=null,U=0,V=1,X="",Y="",ee="";return f.use=l,f.set=h,void 0!==t&&h(t),f},g="__emotion_styles",k="__emotion_target",w=function(e,t){return t={exports:{}},e(t,t.exports),t.exports}(function(e,t){!function(t){e.exports=t()}(i)}),m={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},A=/[A-Z]|^ms/g,v=function(e){var t={};return function(a){return void 0===t[a]&&(t[a]=e(a)),t[a]}}(function(e){return e.replace(A,"-$&").toLowerCase()}),C=function(e,t){return null==t||"boolean"==typeof t?"":1===m[e]||45===e.charCodeAt(1)||isNaN(t)||0===t?t:t+"px"},y=function e(t){for(var a=t.length,r=0,c="";r<a;r++){var s=t[r];if(null!=s){var i=c&&c+" "||c;switch(typeof s){case"boolean":break;case"function":c=i+e([s()]);break;case"object":if(Array.isArray(s))c=i+e(s);else for(var n in s)s[n]&&(c&&(c+=" "),c+=n);break;default:c=i+s}}}return c},x="undefined"!=typeof window,O=function(){var e=l.prototype;return e.inject=h,e.speedy=f,e.insert=u,e.flush=b,l}();return function(t,a){function r(e,t){if(null==e)return"";switch(typeof e){case"boolean":return"";case"function":return void 0!==e[g]?"."+e[k]:r.call(this,void 0===this?e():e(this.mergedProps,this.context),t);case"object":return c.call(this,e);default:var a=f.registered[e];return!1===t&&void 0!==a?a:e}}function c(e){if(S.has(e))return S.get(e);var t="";return Array.isArray(e)?e.forEach(function(e){t+=r.call(this,e,!1)},this):Object.keys(e).forEach(function(a){"object"!=typeof e[a]?void 0!==f.registered[e[a]]?t+=a+"{"+f.registered[e[a]]+"}":t+=v(a)+":"+C(a,e[a])+";":t+=a+"{"+r.call(this,e[a],!1)+"}"},this),S.set(e,t),t}function s(e,t){void 0===f.inserted[b]&&(l="",m(e,t),f.inserted[b]=l)}function i(e,t){var a="";return t.split(" ").forEach(function(t){void 0!==f.registered[t]?e.push(t):a+=t+" "}),a}function n(e,t){var a=[],r=i(a,e);return a.length<2?e:r+_(a,t)}function o(e){f.inserted[e]=!0}void 0===a&&(a={});var l,h=a.key||"css",f=t.__SECRET_EMOTION__,u=w(function(e){l+=e,x&&A.insert(e,E)});if(void 0===f){var d={keyframe:!1,global:!1,prefix:void 0===a.prefix||a.prefix,semicolon:!0};t.__SECRET_EMOTION__=f={registered:{},inserted:{},sheet:new O(a),stylis:new p(d),nonce:a.nonce,key:h},f.stylis.use(a.stylisPlugins)(u),x&&f.sheet.inject()}var b,m=f.stylis,A=f.sheet,E="",S=new WeakMap,$=/label:\s*([^\s;\n{]+)\s*;/g,j=function(t){var a=!0,c="",s="";null==t||void 0===t.raw?(a=!1,c+=r.call(this,t,!1)):c+=t[0];for(var i=arguments.length,n=new Array(i>1?i-1:0),o=1;o<i;o++)n[o-1]=arguments[o];return n.forEach(function(e,s){c+=r.call(this,e,46===c.charCodeAt(c.length-1)),!0===a&&void 0!==t[s+1]&&(c+=t[s+1])},this),c=c.replace($,function(e,t){return s+="-"+t,""}),b=e(c+s)+s,c},_=function(){var e=j.apply(this,arguments),t=h+"-"+b;return void 0===f.registered[t]&&(f.registered[t]=e),s("."+t,e),t};return"undefined"!=typeof window&&Array.from(document.querySelectorAll("[data-emotion-"+h+"]")).forEach(function(e){A.tags[0].parentNode.insertBefore(e,A.tags[0]),e.getAttribute("data-emotion-"+h).split(" ").forEach(o)}),{flush:function(){x&&(A.flush(),A.inject()),f.inserted={},f.registered={}},hydrate:function(e){e.forEach(o)},cx:function(){for(var e=arguments.length,t=new Array(e),a=0;a<e;a++)t[a]=arguments[a];return n(y(t))},merge:n,getRegisteredStyles:i,injectGlobal:function(){s("",j.apply(this,arguments))},keyframes:function(){var e=j.apply(this,arguments),t="animation-"+b;return s("","@keyframes "+t+"{"+e+"}"),t},css:_,sheet:A,caches:f}}});
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e["create-emotion"]=t()}(this,function(){"use strict";function e(e){return t(e,e.length).toString(36)}function t(e,t){for(var s=1540483477,i=t^e.length,n=e.length,o=0;n>=4;){var l=a(e,o);l=c(l,s),l=c(l^=l>>>24,s),i=c(i,s),i^=l,o+=4,n-=4}switch(n){case 3:i^=r(e,o),i=c(i^=e.charCodeAt(o+2)<<16,s);break;case 2:i=c(i^=r(e,o),s);break;case 1:i=c(i^=e.charCodeAt(o),s)}return i^=i>>>13,i=c(i,s),(i^=i>>>15)>>>0}function a(e,t){return e.charCodeAt(t++)+(e.charCodeAt(t++)<<8)+(e.charCodeAt(t++)<<16)+(e.charCodeAt(t)<<24)}function r(e,t){return e.charCodeAt(t++)+(e.charCodeAt(t++)<<8)}function c(e,t){return(65535&(e|=0))*(t|=0)+(((e>>>16)*t&65535)<<16)|0}function s(e){function t(t){if(t)try{e(t+"}")}catch(e){}}return function(a,r,c,s,i,n,o,l,h){switch(a){case 1:0===h&&64===r.charCodeAt(0)&&e(r);break;case 2:if(0===l)return r+"/*|*/";break;case 3:switch(l){case 102:case 112:return e(c[0]+r),"";default:return r+"/*|*/"}case-2:r.split("/*|*/}").forEach(t)}}}function i(){return s}function n(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 o(e){var t=document.createElement("style");return t.type="text/css",t.setAttribute("data-emotion",e.key||""),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),(void 0!==e.container?e.container:document.head).appendChild(t),t}function l(e){this.isSpeedy=!0,this.tags=[],this.ctr=0,this.opts=e}function h(){if(this.injected)throw new Error("already injected!");this.tags[0]=o(this.opts),this.injected=!0}function f(e){if(0!==this.ctr)throw new Error("cannot change speedy now");this.isSpeedy=!!e}function u(e,t){if(this.isSpeedy){var a=n(this.tags[this.tags.length-1]);try{a.insertRule(e,a.cssRules.length)}catch(e){}}else{var r=o(this.opts);this.tags.push(r),r.appendChild(document.createTextNode(e+(t||"")))}this.ctr++,this.ctr%65e3==0&&this.tags.push(o(this.opts))}function d(e){return e.parentNode.removeChild(e)}function b(){this.tags.forEach(d),this.tags=[],this.ctr=0,this.injected=!1}var p=function e(t){function a(e,t,c,l,h){for(var f,b,p,g,k=0,w=0,v=0,A=0,C=0,y=0,S=0,$=0,j=0,_=0,z=0,I=0,T=b=0,W=0,q=0,J=c.length,Q=J-1,te="",ae="",re="",ce="";I<J;){if(p=c.charCodeAt(I),I===Q&&0!==w+A+v+k&&(0!==w&&(p=47===w?10:47),A=v=k=0,J++,Q++),0===w+A+v+k){if(I===Q&&(0<b&&(te=te.replace(d,"")),0<te.trim().length)){switch(p){case 32:case 9:case 59:case 13:case 10:break;default:te+=c.charAt(I)}p=59}if(1===T)switch(p){case 123:case 125:case 59:case 34:case 39:case 40:case 41:case 44:T=0;case 9:case 13:case 10:case 32:break;default:for(T=0,q=I,f=p,I--,p=59;q<J;)switch(c.charCodeAt(++q)){case 10:case 13:case 59:I++,p=f;case 58:case 123:q=J}}switch(p){case 123:for(f=(te=te.trim()).charCodeAt(0),$=1,q=++I;I<J;){switch(p=c.charCodeAt(I)){case 123:$++;break;case 125:$--}if(0===$)break;I++}switch(_=c.substring(q,I),0===f&&(f=(te=te.replace(u,"").trim()).charCodeAt(0)),f){case 64:switch(0<b&&(te=te.replace(d,"")),b=te.charCodeAt(1)){case 100:case 109:case 115:case 45:f=t;break;default:f=Z}if(_=a(t,f,_,b,h+1),q=_.length,0<L&&0===q&&(q=te.length),0<K&&(f=r(Z,te,W),g=o(3,_,f,t,G,F,q,b,h),te=f.join(""),void 0!==g&&0===(q=(_=g.trim()).length)&&(b=0,_="")),0<q)switch(b){case 115:te=te.replace(R,n);case 100:case 109:case 45:_=te+"{"+_+"}";break;case 107:_=(te=te.replace(x,"$1 $2"+(0<V?X:"")))+"{"+_+"}",_=1===B||2===B&&i("@"+_,3)?"@-webkit-"+_+"@"+_:"@"+_;break;default:_=te+_,112===l&&(ae+=_,_="")}else _="";break;default:_=a(t,r(t,te,W),_,l,h+1)}re+=_,_=W=b=z=T=j=0,te="",p=c.charCodeAt(++I);break;case 125:case 59:if(te=(0<b?te.replace(d,""):te).trim(),1<(q=te.length))switch(0===z&&(45===(f=te.charCodeAt(0))||96<f&&123>f)&&(q=(te=te.replace(" ",":")).length),0<K&&void 0!==(g=o(1,te,t,e,G,F,ae.length,l,h))&&0===(q=(te=g.trim()).length)&&(te="\0\0"),f=te.charCodeAt(0),b=te.charCodeAt(1),f+b){case 0:break;case 169:case 163:ce+=te+c.charAt(I);break;default:58!==te.charCodeAt(q-1)&&(ae+=s(te,f,b,te.charCodeAt(2)))}W=b=z=T=j=0,te="",p=c.charCodeAt(++I)}}switch(p){case 13:case 10:if(0===w+A+v+k+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<z&&(T=1)}47===w?w=0:0===P+j&&(b=1,te+="\0"),0<K*U&&o(0,te,t,e,G,F,ae.length,l,h),F=1,G++;break;case 59:case 125:if(0===w+A+v+k){F++;break}default:switch(F++,f=c.charAt(I),p){case 9:case 32:if(0===A+k+w)switch(C){case 44:case 58:case 9:case 32:f="";break;default:32!==p&&(f=" ")}break;case 0:f="\\0";break;case 12:f="\\f";break;case 11:f="\\v";break;case 38:0===A+w+k&&0<P&&(b=W=1,f="\f"+f);break;case 108:if(0===A+w+k+M&&0<z)switch(I-z){case 2:112===C&&58===c.charCodeAt(I-3)&&(M=C);case 8:111===y&&(M=y)}break;case 58:0===A+w+k&&(z=I);break;case 44:0===w+v+A+k&&(b=1,f+="\r");break;case 34:case 39:0===w&&(A=A===p?0:0===A?p:A);break;case 91:0===A+w+v&&k++;break;case 93:0===A+w+v&&k--;break;case 41:0===A+w+k&&v--;break;case 40:if(0===A+w+k){if(0===j)switch(2*C+3*y){case 533:break;default:$=0,j=1}v++}break;case 64:0===w+v+A+k+z+_&&(_=1);break;case 42:case 47:if(!(0<A+k+v))switch(w){case 0:switch(2*p+3*c.charCodeAt(I+1)){case 235:w=47;break;case 220:q=I,w=42}break;case 42:47===p&&42===C&&(33===c.charCodeAt(q+2)&&(ae+=c.substring(q,I+1)),f="",w=0)}}if(0===w){if(0===P+A+k+_&&107!==l&&59!==p)switch(p){case 44:case 126:case 62:case 43:case 41:case 40:if(0===j){switch(C){case 9:case 32:case 10:case 13:f+="\0";break;default:f="\0"+f+(44===p?"":"\0")}b=1}else switch(p){case 40:j=++$;break;case 41:0==(j=--$)&&(b=1,f+="\0")}break;case 9:case 32:switch(C){case 0:case 123:case 125:case 59:case 44:case 12:case 9:case 32:case 10:case 13:break;default:0===j&&(b=1,f+="\0")}}te+=f,32!==p&&9!==p&&(S=p)}}y=C,C=p,I++}if(q=ae.length,0<L&&0===q&&0===re.length&&0===t[0].length==!1&&(109!==l||1===t.length&&(0<P?Y:ee)===t[0])&&(q=t.join(",").length+2),0<q){if(0===P&&107!==l){for(c=0,k=t.length,w=Array(k);c<k;++c){for(y="",S=0,J=(C=t[c].split(m)).length;S<J;++S)if(!(0===($=(A=C[S]).length)&&1<J)){if(I=y.charCodeAt(y.length-1),W=A.charCodeAt(0),v="",0!==S)switch(I){case 42:case 126:case 62:case 43:case 32:case 40:break;default:v=" "}switch(W){case 38:A=v+Y;case 126:case 62:case 43:case 32:case 41:case 40:break;case 91:A=v+A+Y;break;case 58:switch(2*A.charCodeAt(1)+3*A.charCodeAt(2)){case 530:if(0<D){A=v+A.substring(8,$-1);break}default:(1>S||1>C[S-1].length)&&(A=v+Y+A)}break;case 44:v="";default:A=1<$&&0<A.indexOf(":")?v+A.replace(N,"$1"+Y+"$2"):v+A+Y}y+=A}w[c]=y.replace(d,"").trim()}t=w}if(f=t,0<K&&void 0!==(g=o(2,ae,f,e,G,F,q,l,h))&&0===(ae=g).length)return ce+ae+re;if(ae=f.join(",")+"{"+ae+"}",0!=B*M){switch(2!==B||i(ae,2)||(M=0),M){case 111:ae=ae.replace(E,":-moz-$1")+ae;break;case 112:ae=ae.replace(O,"::-webkit-input-$1")+ae.replace(O,"::-moz-$1")+ae.replace(O,":-ms-input-$1")+ae}M=0}}return ce+ae+re}function r(e,t,a){var r=t.trim().split(v);t=r;var s=r.length,i=e.length;switch(i){case 0:case 1:var n=0;for(e=0===i?"":e[0]+" ";n<s;++n)t[n]=c(e,t[n],a,i).trim();break;default:var o=n=0;for(t=[];n<s;++n)for(var l=0;l<i;++l)t[o++]=c(e[l]+" ",r[n],a,i).trim()}return t}function c(e,t,a,r){var c=t.charCodeAt(0);switch(33>c&&(c=(t=t.trim()).charCodeAt(0)),c){case 38:switch(P+r){case 0:case 1:if(0===e.trim().length)break;default:return t.replace(A,"$1"+e.trim())}break;case 58:switch(t.charCodeAt(1)){case 103:if(0<D&&0<P)return t.replace(C,"$1").replace(A,"$1"+ee);break;default:return e.trim()+t}default:if(0<a*P&&0<t.indexOf("\f"))return t.replace(A,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+t}function s(e,t,a,r){var c=0,s=e+";";if(944==(t=2*t+3*a+4*r)){switch(c=s.length,e=s.indexOf(":",9)+1,a=s.substring(0,e).trim(),r=s.substring(e,c-1).trim(),s.charCodeAt(9)*V){case 0:break;case 45:if(110!==s.charCodeAt(10))break;default:for(e=t=0,c=(s=r.split((r="",k))).length;t<c;e=0,++t){for(var n=s[t],o=n.split(w);n=o[e];){var l=n.charCodeAt(0);if(1===V&&(64<l&&90>l||96<l&&123>l||95===l||45===l&&45!==n.charCodeAt(1)))switch(isNaN(parseFloat(n))+(-1!==n.indexOf("("))){case 1:switch(n){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:n+=X}}o[e++]=n}r+=(0===t?"":",")+o.join(" ")}}return r=a+r+";",1===B||2===B&&i(r,1)?"-webkit-"+r+r:r}if(0===B||2===B&&!i(s,1))return s;switch(t){case 1015:return 45===s.charCodeAt(9)?"-webkit-"+s+s:s;case 951:return 116===s.charCodeAt(3)?"-webkit-"+s+s:s;case 963:return 110===s.charCodeAt(5)?"-webkit-"+s+s:s;case 1009:if(100!==s.charCodeAt(4))break;case 969:case 942:return"-webkit-"+s+s;case 978:return"-webkit-"+s+"-moz-"+s+s;case 1019:case 983:return"-webkit-"+s+"-moz-"+s+"-ms-"+s+s;case 883:return 45===s.charCodeAt(8)?"-webkit-"+s+s:s;case 932:if(45===s.charCodeAt(4))switch(s.charCodeAt(5)){case 103:return"-webkit-box-"+s.replace("-grow","")+"-webkit-"+s+"-ms-"+s.replace("grow","positive")+s;case 115:return"-webkit-"+s+"-ms-"+s.replace("shrink","negative")+s;case 98:return"-webkit-"+s+"-ms-"+s.replace("basis","preferred-size")+s}return"-webkit-"+s+"-ms-"+s+s;case 964:return"-webkit-"+s+"-ms-flex-"+s+s;case 1023:if(99!==s.charCodeAt(8))break;return"-webkit-box-pack"+(e=s.substring(s.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+s+"-ms-flex-pack"+e+s;case 1005:return p.test(s)?s.replace(b,":-webkit-")+s.replace(b,":-moz-")+s:s;case 1e3:switch(e=s.substring(13).trim(),c=e.indexOf("-")+1,e.charCodeAt(0)+e.charCodeAt(c)){case 226:e=s.replace(z,"tb");break;case 232:e=s.replace(z,"tb-rl");break;case 220:e=s.replace(z,"lr");break;default:return s}return"-webkit-"+s+"-ms-"+e+s;case 1017:if(-1===s.indexOf("sticky",9))break;case 975:switch(c=(s=e).length-10,e=(33===s.charCodeAt(c)?s.substring(0,c):s).substring(e.indexOf(":",7)+1).trim(),t=e.charCodeAt(0)+(0|e.charCodeAt(7))){case 203:if(111>e.charCodeAt(8))break;case 115:s=s.replace(e,"-webkit-"+e)+";"+s;break;case 207:case 102:s=s.replace(e,"-webkit-"+(102<t?"inline-":"")+"box")+";"+s.replace(e,"-webkit-"+e)+";"+s.replace(e,"-ms-"+e+"box")+";"+s}return s+";";case 938:if(45===s.charCodeAt(5))switch(s.charCodeAt(6)){case 105:return e=s.replace("-items",""),"-webkit-"+s+"-webkit-box-"+e+"-ms-flex-"+e+s;case 115:return"-webkit-"+s+"-ms-flex-item-"+s.replace(T,"")+s;default:return"-webkit-"+s+"-ms-flex-line-pack"+s.replace("align-content","")+s}break;case 953:if(0<(c=s.indexOf("-content",9))&&109===s.charCodeAt(c-3)&&45!==s.charCodeAt(c-4))return"width:-webkit-"+(e=s.substring(c-3))+"width:-moz-"+e+"width:"+e;break;case 962:if(s="-webkit-"+s+(102===s.charCodeAt(5)?"-ms-"+s:"")+s,211===a+r&&105===s.charCodeAt(13)&&0<s.indexOf("transform",10))return s.substring(0,s.indexOf(";",27)+1).replace(g,"$1-webkit-$2")+s}return s}function i(e,t){var a=e.indexOf(1===t?":":"{"),r=e.substring(0,3!==t?a:10);return a=e.substring(a+1,e.length-1),Q(2!==t?r:r.replace(W,"$1"),a,t)}function n(e,t){var a=s(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return a!==t+";"?a.replace(I," or ($1)").substring(4):"("+t+")"}function o(e,t,a,r,c,s,i,n,o){for(var l,h=0,u=t;h<K;++h)switch(l=J[h].call(f,e,u,a,r,c,s,i,n,o)){case void 0:case!1:case!0:case null:break;default:u=l}switch(u){case void 0:case!1:case!0:case null:case t:break;default:return u}}function l(e){switch(e){case void 0:case null:K=J.length=0;break;default:switch(e.constructor){case Array:for(var t=0,a=e.length;t<a;++t)l(e[t]);break;case Function:J[K++]=e;break;case Boolean:U=0|!!e}}return l}function h(e){for(var t in e){var a=e[t];switch(t){case"keyframe":V=0|a;break;case"global":D=0|a;break;case"cascade":P=0|a;break;case"compress":q=0|a;break;case"semicolon":H=0|a;break;case"preserve":L=0|a;break;case"prefix":Q=null,a?"function"!=typeof a?B=1:(B=2,Q=a):B=0}}return h}function f(t,r){if(void 0!==this&&this.constructor===f)return e(t);var c=t,s=c.charCodeAt(0);if(33>s&&(s=(c=c.trim()).charCodeAt(0)),0<V&&(X=c.replace(y,91===s?"":"-")),s=1,1===P?ee=c:Y=c,c=[ee],0<K){var i=o(-1,r,c,c,G,F,0,0,0);void 0!==i&&"string"==typeof i&&(r=i)}var n=a(Z,c,r,0,0);return 0<K&&void 0!==(i=o(-2,n,c,c,G,F,n.length,0,0))&&"string"!=typeof(n=i)&&(s=0),Y=ee=X="",M=0,F=G=1,0==q*s?n:n.replace(d,"").replace(S,"").replace($,"$1").replace(j,"$1").replace(_," ")}var u=/^\0+/g,d=/[\0\r\f]/g,b=/: */g,p=/zoo|gra/,g=/([,: ])(transform)/g,k=/,+\s*(?![^(]*[)])/g,w=/ +\s*(?![^(]*[)])/g,m=/ *[\0] */g,v=/,\r+?/g,A=/([\t\r\n ])*\f?&/g,C=/:global\(((?:[^\(\)\[\]]*|\[.*\]|\([^\(\)]*\))*)\)/g,y=/\W+/g,x=/@(k\w+)\s*(\S*)\s*/,O=/::(place)/g,E=/:(read-only)/g,S=/\s+(?=[{\];=:>])/g,$=/([[}=:>])\s+/g,j=/(\{[^{]+?);(?=\})/g,_=/\s{2,}/g,N=/([^\(])(:+) */g,z=/[svh]\w+-[tblr]{2}/,R=/\(\s*(.*)\s*\)/g,I=/([^]*?);/g,T=/-self|flex-/g,W=/[^]*?(:[rp][el]a[\w-]+)[^]*/,F=1,G=1,M=0,P=1,B=1,D=1,q=0,H=0,L=0,Z=[],J=[],K=0,Q=null,U=0,V=1,X="",Y="",ee="";return f.use=l,f.set=h,void 0!==t&&h(t),f},g="__emotion_styles",k={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},w=function(e,t){return t={exports:{}},e(t,t.exports),t.exports}(function(e,t){!function(t){e.exports=t()}(i)}),m=/[A-Z]|^ms/g,v=function(e){var t={};return function(a){return void 0===t[a]&&(t[a]=e(a)),t[a]}}(function(e){return e.replace(m,"-$&").toLowerCase()}),A=function(e,t){return null==t||"boolean"==typeof t?"":1===k[e]||45===e.charCodeAt(1)||isNaN(t)||0===t?t:t+"px"},C=function e(t){for(var a=t.length,r=0,c="";r<a;r++){var s=t[r];if(null!=s){var i=void 0;switch(typeof s){case"boolean":break;case"function":i=e([s()]);break;case"object":if(Array.isArray(s))i=e(s);else{i="";for(var n in s)s[n]&&n&&(i&&(i+=" "),i+=n)}break;default:i=s}i&&(c&&(c+=" "),c+=i)}}return c},y="undefined"!=typeof window,x=function(){var e=l.prototype;return e.inject=h,e.speedy=f,e.insert=u,e.flush=b,l}();return function(t,a){function r(e,t){if(null==e)return"";switch(typeof e){case"boolean":return"";case"function":return void 0!==e[g]?e.toString():r.call(this,void 0===this?e():e(this.mergedProps,this.context),t);case"object":return c.call(this,e);default:var a=f.registered[e];return!1===t&&void 0!==a?a:e}}function c(e){if(E.has(e))return E.get(e);var t="";return Array.isArray(e)?e.forEach(function(e){t+=r.call(this,e,!1)},this):Object.keys(e).forEach(function(a){"object"!=typeof e[a]?void 0!==f.registered[e[a]]?t+=a+"{"+f.registered[e[a]]+"}":t+=v(a)+":"+A(a,e[a])+";":t+=a+"{"+r.call(this,e[a],!1)+"}"},this),E.set(e,t),t}function s(e,t){void 0===f.inserted[b]&&(l="",k(e,t),f.inserted[b]=l)}function i(e,t){var a="";return t.split(" ").forEach(function(t){void 0!==f.registered[t]?e.push(t):a+=t+" "}),a}function n(e,t){var a=[],r=i(a,e);return a.length<2?e:r+j(a,t)}function o(e){f.inserted[e]=!0}void 0===a&&(a={});var l,h=a.key||"css",f=t.__SECRET_EMOTION__,u=w(function(e){l+=e,y&&m.insert(e,O)});if(void 0===f){var d={keyframe:!1,global:!1,prefix:void 0===a.prefix||a.prefix,semicolon:!0};t.__SECRET_EMOTION__=f={registered:{},inserted:{},sheet:new x(a),stylis:new p(d),nonce:a.nonce,key:h},f.stylis.use(a.stylisPlugins)(u),y&&f.sheet.inject()}var b,k=f.stylis,m=f.sheet,O="",E=new WeakMap,S=/label:\s*([^\s;\n{]+)\s*;/g,$=function(t){var a=!0,c="",s="";null==t||void 0===t.raw?(a=!1,c+=r.call(this,t,!1)):c+=t[0];for(var i=arguments.length,n=new Array(i>1?i-1:0),o=1;o<i;o++)n[o-1]=arguments[o];return n.forEach(function(e,s){c+=r.call(this,e,46===c.charCodeAt(c.length-1)),!0===a&&void 0!==t[s+1]&&(c+=t[s+1])},this),c=c.replace(S,function(e,t){return s+="-"+t,""}),b=e(c+s)+s,c},j=function(){var e=$.apply(this,arguments),t=h+"-"+b;return void 0===f.registered[t]&&(f.registered[t]=e),s("."+t,e),t};return"undefined"!=typeof window&&Array.from(document.querySelectorAll("[data-emotion-"+h+"]")).forEach(function(e){m.tags[0].parentNode.insertBefore(e,m.tags[0]),e.getAttribute("data-emotion-"+h).split(" ").forEach(o)}),{flush:function(){y&&(m.flush(),m.inject()),f.inserted={},f.registered={}},hydrate:function(e){e.forEach(o)},cx:function(){for(var e=arguments.length,t=new Array(e),a=0;a<e;a++)t[a]=arguments[a];return n(C(t))},merge:n,getRegisteredStyles:i,injectGlobal:function(){s("",$.apply(this,arguments))},keyframes:function(){var e=$.apply(this,arguments),t="animation-"+b;return s("","@keyframes "+t+"{"+e+"}"),t},css:j,sheet:m,caches:f}}});
//# sourceMappingURL=emotion.umd.min.js.map

@@ -32,3 +32,3 @@ 'use strict';

if (arg == null) continue;
var next = cls && cls + ' ' || cls;
var toAdd = void 0;

@@ -40,3 +40,3 @@ switch (typeof arg) {

case 'function':
cls = next + classnames([arg()]);
toAdd = classnames([arg()]);
break;

@@ -47,8 +47,10 @@

if (Array.isArray(arg)) {
cls = next + classnames(arg);
toAdd = classnames(arg);
} else {
toAdd = '';
for (var k in arg) {
if (arg[k]) {
cls && (cls += ' ');
cls += k;
if (arg[k] && k) {
toAdd && (toAdd += ' ');
toAdd += k;
}

@@ -63,5 +65,10 @@ }

{
cls = next + arg;
toAdd = arg;
}
}
if (toAdd) {
cls && (cls += ' ');
cls += toAdd;
}
}

@@ -271,7 +278,3 @@

if (interpolation[emotionUtils.STYLES_KEY] !== undefined) {
if (process.env.NODE_ENV !== 'production' && interpolation[emotionUtils.TARGET_KEY] === undefined) {
throw new Error('Component selectors can only be used in conjunction with babel-plugin-emotion.');
}
return "." + interpolation[emotionUtils.TARGET_KEY];
return interpolation.toString();
}

@@ -278,0 +281,0 @@

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

import { STYLES_KEY, Stylis, TARGET_KEY, hashString, memoize, unitless } from 'emotion-utils';
import { STYLES_KEY, Stylis, hashString, memoize, unitless } from 'emotion-utils';
import stylisRuleSheet from 'stylis-rule-sheet';

@@ -28,3 +28,3 @@

if (arg == null) continue;
var next = cls && cls + ' ' || cls;
var toAdd = void 0;

@@ -36,3 +36,3 @@ switch (typeof arg) {

case 'function':
cls = next + classnames([arg()]);
toAdd = classnames([arg()]);
break;

@@ -43,8 +43,10 @@

if (Array.isArray(arg)) {
cls = next + classnames(arg);
toAdd = classnames(arg);
} else {
toAdd = '';
for (var k in arg) {
if (arg[k]) {
cls && (cls += ' ');
cls += k;
if (arg[k] && k) {
toAdd && (toAdd += ' ');
toAdd += k;
}

@@ -59,5 +61,10 @@ }

{
cls = next + arg;
toAdd = arg;
}
}
if (toAdd) {
cls && (cls += ' ');
cls += toAdd;
}
}

@@ -267,7 +274,3 @@

if (interpolation[STYLES_KEY] !== undefined) {
if (process.env.NODE_ENV !== 'production' && interpolation[TARGET_KEY] === undefined) {
throw new Error('Component selectors can only be used in conjunction with babel-plugin-emotion.');
}
return "." + interpolation[TARGET_KEY];
return interpolation.toString();
}

@@ -274,0 +277,0 @@

{
"name": "create-emotion",
"version": "9.0.0-1",
"version": "9.0.0-2",
"description": "The Next Generation of CSS-in-JS.",

@@ -19,3 +19,3 @@ "main": "dist/index.cjs.js",

"dependencies": {
"emotion-utils": "^9.0.0-0",
"emotion-utils": "^9.0.0-2",
"stylis": "^3.3.2",

@@ -22,0 +22,0 @@ "stylis-rule-sheet": "^0.0.5"

// @flow
import { hashString, Stylis, STYLES_KEY, TARGET_KEY } from 'emotion-utils'
import { hashString, Stylis, STYLES_KEY } from 'emotion-utils'
import stylisRuleSheet from 'stylis-rule-sheet'

@@ -135,12 +135,3 @@ import {

if (interpolation[STYLES_KEY] !== undefined) {
if (
process.env.NODE_ENV !== 'production' &&
interpolation[TARGET_KEY] === undefined
) {
throw new Error(
'Component selectors can only be used in conjunction with babel-plugin-emotion.'
)
}
return `.${interpolation[TARGET_KEY]}`
return interpolation.toString()
}

@@ -147,0 +138,0 @@ return handleInterpolation.call(

@@ -6,6 +6,4 @@ // @flow

export const processStyleName: (
styleName: string
) => string = memoize((styleName: string) =>
styleName.replace(hyphenateRegex, '-$&').toLowerCase()
export const processStyleName: (styleName: string) => string = memoize(
(styleName: string) => styleName.replace(hyphenateRegex, '-$&').toLowerCase()
)

@@ -42,6 +40,5 @@

let arg = args[i]
if (arg == null) continue
let next = (cls && cls + ' ') || cls
let toAdd
switch (typeof arg) {

@@ -51,12 +48,13 @@ case 'boolean':

case 'function':
cls = next + classnames([arg()])
toAdd = classnames([arg()])
break
case 'object': {
if (Array.isArray(arg)) {
cls = next + classnames(arg)
toAdd = classnames(arg)
} else {
toAdd = ''
for (const k in arg) {
if (arg[k]) {
cls && (cls += ' ')
cls += k
if (arg[k] && k) {
toAdd && (toAdd += ' ')
toAdd += k
}

@@ -68,5 +66,9 @@ }

default: {
cls = next + arg
toAdd = arg
}
}
if (toAdd) {
cls && (cls += ' ')
cls += toAdd
}
}

@@ -73,0 +75,0 @@ return cls

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