Comparing version 10.0.0-beta.7 to 10.0.0-beta.8
@@ -1,2 +0,2 @@ | ||
!function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports):"function"==typeof define&&define.amd?define(["exports"],r):r(e.emotion={})}(this,function(e){"use strict";var l=function(){function e(e){this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.before=null}var r=e.prototype;return r.insert=function(e){if(this.ctr%(this.isSpeedy?65e3:1)==0){var r,t=(a=this,(s=document.createElement("style")).setAttribute("data-emotion",a.key),void 0!==a.nonce&&s.setAttribute("nonce",a.nonce),s.appendChild(document.createTextNode("")),s);r=0===this.tags.length?this.before:this.tags[this.tags.length-1].nextSibling,this.container.insertBefore(t,r),this.tags.push(t)}var a,s,n=this.tags[this.tags.length-1];if(this.isSpeedy){var i=function(e){if(e.sheet)return e.sheet;for(var r=0;r<document.styleSheets.length;r++)if(document.styleSheets[r].ownerNode===e)return document.styleSheets[r]}(n);try{var c=105===e.charCodeAt(1)&&64===e.charCodeAt(0);i.insertRule(e,c?0:i.cssRules.length)}catch(e){}}else n.appendChild(document.createTextNode(e));this.ctr++},r.flush=function(){this.tags.forEach(function(e){return e.parentNode.removeChild(e)}),this.tags=[],this.ctr=0},e}();function f(e){function j(e,r,t){var a=r.trim().split(u),s=(r=a).length,n=e.length;switch(n){case 0:case 1:var i=0;for(e=0===n?"":e[0]+" ";i<s;++i)r[i]=l(e,r[i],t).trim();break;default:var c=i=0;for(r=[];i<s;++i)for(var o=0;o<n;++o)r[c++]=l(e[o]+" ",a[i],t).trim()}return r}function l(e,r,t){var a=r.charCodeAt(0);switch(a<33&&(a=(r=r.trim()).charCodeAt(0)),a){case 38:return r.replace(s,"$1"+e.trim());case 58:return e.trim()+r.replace(s,"$1"+e.trim());default:if(0<1*t&&0<r.indexOf("\f"))return r.replace(s,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+r}function z(e,r,t,a){var s=e+";",n=2*r+3*t+4*a;if(944===n){e=s.indexOf(":",9)+1;var i=s.substring(e,s.length-1).trim();return i=s.substring(0,e).trim()+i+";",1===L||2===L&&E(i,1)?"-webkit-"+i+i:i}if(0===L||2===L&&!E(s,1))return s;switch(n){case 1015:return 97===s.charCodeAt(10)?"-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:if(45===s.charCodeAt(8))return"-webkit-"+s+s;if(0<s.indexOf("image-set(",11))return s.replace(p,"$1-webkit-$2")+s;break;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"+(i=s.substring(s.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+s+"-ms-flex-pack"+i+s;case 1005:return o.test(s)?s.replace(c,":-webkit-")+s.replace(c,":-moz-")+s:s;case 1e3:switch(r=(i=s.substring(13).trim()).indexOf("-")+1,i.charCodeAt(0)+i.charCodeAt(r)){case 226:i=s.replace(d,"tb");break;case 232:i=s.replace(d,"tb-rl");break;case 220:i=s.replace(d,"lr");break;default:return s}return"-webkit-"+s+"-ms-"+i+s;case 1017:if(-1===s.indexOf("sticky",9))break;case 975:switch(r=(s=e).length-10,n=(i=(33===s.charCodeAt(r)?s.substring(0,r):s).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|i.charCodeAt(7))){case 203:if(i.charCodeAt(8)<111)break;case 115:s=s.replace(i,"-webkit-"+i)+";"+s;break;case 207:case 102:s=s.replace(i,"-webkit-"+(102<n?"inline-":"")+"box")+";"+s.replace(i,"-webkit-"+i)+";"+s.replace(i,"-ms-"+i+"box")+";"+s}return s+";";case 938:if(45===s.charCodeAt(5))switch(s.charCodeAt(6)){case 105:return i=s.replace("-items",""),"-webkit-"+s+"-webkit-box-"+i+"-ms-flex-"+i+s;case 115:return"-webkit-"+s+"-ms-flex-item-"+s.replace(b,"")+s;default:return"-webkit-"+s+"-ms-flex-line-pack"+s.replace("align-content","").replace(b,"")+s}break;case 973:case 989:if(45!==s.charCodeAt(3)||122===s.charCodeAt(4))break;case 931:case 953:if(!0===g.test(e))return 115===(i=e.substring(e.indexOf(":")+1)).charCodeAt(0)?z(e.replace("stretch","fill-available"),r,t,a).replace(":fill-available",":stretch"):s.replace(i,"-webkit-"+i)+s.replace(i,"-moz-"+i.replace("fill-",""))+s;break;case 962:if(s="-webkit-"+s+(102===s.charCodeAt(5)?"-ms-"+s:"")+s,211===t+a&&105===s.charCodeAt(13)&&0<s.indexOf("transform",10))return s.substring(0,s.indexOf(";",27)+1).replace(f,"$1-webkit-$2")+s}return s}function E(e,r){var t=e.indexOf(1===r?":":"{"),a=e.substring(0,3!==r?t:10);return t=e.substring(t+1,e.length-1),i(2!==r?a:a.replace(n,"$1"),t,r)}function _(e,r){var t=z(r,r.charCodeAt(0),r.charCodeAt(1),r.charCodeAt(2));return t!==r+";"?t.replace(a," or ($1)").substring(4):"("+r+")"}function R(e,r,t,a,s,n,i,c,o,l){for(var f,u=0,d=r;u<q;++u)switch(f=k[u].call(h,e,d,t,a,s,n,i,c,o,l)){case void 0:case!1:case!0:case null:break;default:d=f}if(d!==r)return d}function r(e){return void 0!==(e=e.prefix)&&(i=null,e?"function"!=typeof e?L=1:(L=2,i=e):L=0),r}function h(e,r){var t=e;if(t.charCodeAt(0)<33&&(t=t.trim()),t=[t],0<q){var a=R(-1,r,t,t,B,F,0,0,0,0);void 0!==a&&"string"==typeof a&&(r=a)}var s=function e(r,t,a,s,n){for(var i,c,o,l,f,u=0,d=0,h=0,b=0,g=0,p=0,k=o=i=0,v=0,m=0,w=0,y=0,A=a.length,C=A-1,x="",S="",O="",$="";v<A;){if(c=a.charCodeAt(v),v===C&&0!==d+b+h+u&&(0!==d&&(c=47===d?10:47),b=h=u=0,A++,C++),0===d+b+h+u){if(v===C&&(0<m&&(x=x.replace(G,"")),0<x.trim().length)){switch(c){case 32:case 9:case 59:case 13:case 10:break;default:x+=a.charAt(v)}c=59}switch(c){case 123:for(i=(x=x.trim()).charCodeAt(0),o=1,y=++v;v<A;){switch(c=a.charCodeAt(v)){case 123:o++;break;case 125:o--;break;case 47:switch(c=a.charCodeAt(v+1)){case 42:case 47:e:{for(k=v+1;k<C;++k)switch(a.charCodeAt(k)){case 47:if(42===c&&42===a.charCodeAt(k-1)&&v+2!==k){v=k+1;break e}break;case 10:if(47===c){v=k+1;break e}}v=k}}break;case 91:c++;case 40:c++;case 34:case 39:for(;v++<C&&a.charCodeAt(v)!==c;);}if(0===o)break;v++}switch(o=a.substring(y,v),0===i&&(i=(x=x.replace(N,"").trim()).charCodeAt(0)),i){case 64:switch(0<m&&(x=x.replace(G,"")),c=x.charCodeAt(1)){case 100:case 109:case 115:case 45:m=t;break;default:m=T}if(y=(o=e(t,m,o,c,n+1)).length,0<q&&(f=R(3,o,m=j(T,x,w),t,B,F,y,c,n,s),x=m.join(""),void 0!==f&&0===(y=(o=f.trim()).length)&&(c=0,o="")),0<y)switch(c){case 115:x=x.replace(W,_);case 100:case 109:case 45:o=x+"{"+o+"}";break;case 107:o=(x=x.replace(I,"$1 $2"))+"{"+o+"}",o=1===L||2===L&&E("@"+o,3)?"@-webkit-"+o+"@"+o:"@"+o;break;default:o=x+o,112===s&&(S+=o,o="")}else o="";break;default:o=e(t,j(t,x,w),o,s,n+1)}O+=o,o=w=m=k=i=0,x="",c=a.charCodeAt(++v);break;case 125:case 59:if(1<(y=(x=(0<m?x.replace(G,""):x).trim()).length))switch(0===k&&(i=x.charCodeAt(0),45===i||96<i&&i<123)&&(y=(x=x.replace(" ",":")).length),0<q&&void 0!==(f=R(1,x,t,r,B,F,S.length,s,n,s))&&0===(y=(x=f.trim()).length)&&(x="\0\0"),i=x.charCodeAt(0),c=x.charCodeAt(1),i){case 0:break;case 64:if(105===c||99===c){$+=x+a.charAt(v);break}default:58!==x.charCodeAt(y-1)&&(S+=z(x,i,c,x.charCodeAt(2)))}w=m=k=i=0,x="",c=a.charCodeAt(++v)}}switch(c){case 13:case 10:47===d?d=0:0===1+i&&107!==s&&0<x.length&&(m=1,x+="\0"),0<q*H&&R(0,x,t,r,B,F,S.length,s,n,s),F=1,B++;break;case 59:case 125:if(0===d+b+h+u){F++;break}default:switch(F++,l=a.charAt(v),c){case 9:case 32:if(0===b+u+d)switch(g){case 44:case 58:case 9:case 32:l="";break;default:32!==c&&(l=" ")}break;case 0:l="\\0";break;case 12:l="\\f";break;case 11:l="\\v";break;case 38:0===b+d+u&&(m=w=1,l="\f"+l);break;case 108:if(0===b+d+u+D&&0<k)switch(v-k){case 2:112===g&&58===a.charCodeAt(v-3)&&(D=g);case 8:111===p&&(D=p)}break;case 58:0===b+d+u&&(k=v);break;case 44:0===d+h+b+u&&(m=1,l+="\r");break;case 34:case 39:0===d&&(b=b===c?0:0===b?c:b);break;case 91:0===b+d+h&&u++;break;case 93:0===b+d+h&&u--;break;case 41:0===b+d+u&&h--;break;case 40:if(0===b+d+u){if(0===i)switch(2*g+3*p){case 533:break;default:i=1}h++}break;case 64:0===d+h+b+u+k+o&&(o=1);break;case 42:case 47:if(!(0<b+u+h))switch(d){case 0:switch(2*c+3*a.charCodeAt(v+1)){case 235:d=47;break;case 220:y=v,d=42}break;case 42:47===c&&42===g&&y+2!==v&&(33===a.charCodeAt(y+2)&&(S+=a.substring(y,v+1)),l="",d=0)}}0===d&&(x+=l)}p=g,g=c,v++}if(0<(y=S.length)){if(m=t,0<q&&void 0!==(f=R(2,S,m,r,B,F,y,s,n,s))&&0===(S=f).length)return $+S+O;if(S=m.join(",")+"{"+S+"}",0!=L*D){switch(2!==L||E(S,2)||(D=0),D){case 111:S=S.replace(P,":-moz-$1")+S;break;case 112:S=S.replace(M,"::-webkit-input-$1")+S.replace(M,"::-moz-$1")+S.replace(M,":-ms-input-$1")+S}D=0}}return $+S+O}(T,t,r,0,0);return 0<q&&(void 0!==(a=R(-2,s,t,t,B,F,s.length,0,0,0))&&(s=a)),"",D=0,F=B=1,s}var N=/^\0+/g,G=/[\0\r\f]/g,c=/: */g,o=/zoo|gra/,f=/([,: ])(transform)/g,u=/,\r+?/g,s=/([\t\r\n ])*\f?&/g,I=/@(k\w+)\s*(\S*)\s*/,M=/::(place)/g,P=/:(read-only)/g,d=/[svh]\w+-[tblr]{2}/,W=/\(\s*(.*)\s*\)/g,a=/([\s\S]*?);/g,b=/-self|flex-/g,n=/[^]*?(:[rp][el]a[\w-]+)[^]*/,g=/stretch|:\s*\w+\-(?:conte|avail)/,p=/([^-])(image-set\()/,F=1,B=1,D=0,L=1,T=[],k=[],q=0,i=null,H=0;return h.use=function e(r){switch(r){case void 0:case null:q=k.length=0;break;default:switch(r.constructor){case Array:for(var t=0,a=r.length;t<a;++t)e(r[t]);break;case Function:k[q++]=r;break;case Boolean:H=0|!!r}}return e},h.set=r,void 0!==e&&r(e),h}var u="/*|*/";function d(e){e&&h.current.insert(e+"}")}var h={current:null},b=function(e,r,t,a,s,n,i,c,o,l){switch(e){case 1:switch(r.charCodeAt(0)){case 64:if(0===o)return h.current.insert(r+";"),"";break;case 108:if(98===r.charCodeAt(2))return""}break;case 2:if(0===c)return r+u;break;case 3:switch(c){case 102:case 112:return h.current.insert(t[0]+r),"";default:return r+(0===l?u:"")}case-2:r.split("/*|*/}").forEach(d)}};var t={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,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};var r,a,s=/[A-Z]|^ms/g,n=/_EMO_([^_]+?)_([^]*?)_EMO_/g,o=(r=function(e){return e.replace(s,"-$&").toLowerCase()},a={},function(e){return void 0===a[e]&&(a[e]=r(e)),a[e]}),g=function(e,r){if(null==r||"boolean"==typeof r)return"";switch(e){case"animation":case"animationName":r=r.replace(n,function(e,r,t){return k={name:r,styles:t,next:k},r})}return 1!==t[e]&&45!==e.charCodeAt(1)&&"number"==typeof r&&0!==r?r+"px":r};function p(e,r,t,a){if(null==t)return"";if(void 0!==t.__emotion_styles)return t;switch(typeof t){case"boolean":return"";case"object":if(1===t.anim)return k={name:t.name,styles:t.styles,next:k},t.name;if(void 0!==t.styles){var s=t.next;if(void 0!==s)for(;void 0!==s;)k={name:s.name,styles:s.styles,next:k},s=s.next;return t.styles}return function(e,r,t){var a="";if(Array.isArray(t))for(var s=0;s<t.length;s++)a+=p(e,r,t[s],!1);else for(var n in t){var i=t[n];if("object"!=typeof i)void 0!==r[i]?a+=n+"{"+r[i]+"}":a+=o(n)+":"+g(n,i)+";";else if(Array.isArray(i)&&"string"==typeof i[0]&&void 0===r[i[0]])for(var c=0;c<i.length;c++)a+=o(n)+":"+g(n,i[c])+";";else a+=n+"{"+p(e,r,i,!1)+"}"}return a}(e,r,t);case"function":if(void 0!==e){var n=k,i=t(e);return k=n,p(e,r,i,a)}default:var c=r[t];return void 0===c||a?t:c}}var k,v=/label:\s*([^\s;\n{]+)\s*;/g,i=function(e,r,t){if(1===r.length&&"object"==typeof r[0]&&null!==r[0]&&void 0!==r[0].styles)return r[0];var a=!0,s="";k=void 0;var n=r[0];null==n||void 0===n.raw?s+=p(t,e,n,a=!1):s+=n[0];for(var i=1;i<r.length;i++)s+=p(t,e,r[i],46===s.charCodeAt(s.length-1)),a&&(s+=n[i]);v.lastIndex=0;for(var c,o="";null!==(c=v.exec(s));)o+="-"+c[1];return{name:function(e){for(var r,t=e.length,a=t^t,s=0;4<=t;)r=1540483477*(65535&(r=255&e.charCodeAt(s)|(255&e.charCodeAt(++s))<<8|(255&e.charCodeAt(++s))<<16|(255&e.charCodeAt(++s))<<24))+((1540483477*(r>>>16)&65535)<<16),a=1540483477*(65535&a)+((1540483477*(a>>>16)&65535)<<16)^(r=1540483477*(65535&(r^=r>>>24))+((1540483477*(r>>>16)&65535)<<16)),t-=4,++s;switch(t){case 3:a^=(255&e.charCodeAt(s+2))<<16;case 2:a^=(255&e.charCodeAt(s+1))<<8;case 1:a=1540483477*(65535&(a^=255&e.charCodeAt(s)))+((1540483477*(a>>>16)&65535)<<16)}return a=1540483477*(65535&(a^=a>>>13))+((1540483477*(a>>>16)&65535)<<16),((a^=a>>>15)>>>0).toString(36)}(s)+o,styles:s,next:k}};function c(r,t,e){var a="";return e.split(" ").forEach(function(e){void 0!==r[e]?t.push(r[e]):a+=e+" "}),a}function m(e,r){if(void 0===e.inserted[r.name])return e.insert("",r,e.sheet,!0)}function w(e,r,t){var a=[],s=c(e,a,t);return a.length<2?t:s+r(a)}var y=function e(r){for(var t="",a=0;a<r.length;a++){var s=r[a];if(null!=s){var n=void 0;switch(typeof s){case"boolean":break;case"object":if(Array.isArray(s))n=e(s);else for(var i in n="",s)s[i]&&i&&(n&&(n+=" "),n+=i);break;default:n=s}n&&(t&&(t+=" "),t+=n)}}return t},A=function(e){var n=function(e){void 0===e&&(e={});var r,t=e.key||"css";void 0!==e.prefix&&(r={prefix:e.prefix});var a,n=new f(r),s={};a=e.container||document.head;var i,c=document.querySelectorAll("style[data-emotion-"+t+"]");Array.prototype.forEach.call(c,function(e){e.getAttribute("data-emotion-"+t).split(" ").forEach(function(e){s[e]=!0}),e.parentNode!==a&&a.appendChild(e)}),n.use(e.stylisPlugins)(b),i=function(e,r,t,a){var s=r.name;h.current=t,n(e,r.styles),a&&(o.inserted[s]=!0)};var o={key:t,sheet:new l({key:t,container:a,nonce:e.nonce,speedy:e.speedy}),nonce:e.nonce,inserted:s,registered:{},insert:i};return o}(e);n.sheet.speedy=function(e){this.isSpeedy=e},n.compat=!0;var a=function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];var a=i(n.registered,r,void 0!==this?this.mergedProps:void 0);return function(e,r,t){var a=e.key+"-"+r.name;if(!1===t&&void 0===e.registered[a]&&(e.registered[a]=r.styles),void 0===e.inserted[r.name])for(var s=r;e.insert("."+a,s,e.sheet,!0),void 0!==(s=s.next););}(n,a,!1),n.key+"-"+a.name};return{css:a,cx:function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return w(n.registered,a,y(r))},injectGlobal:function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];var a=i(n.registered,r);m(n,a)},keyframes:function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];var a=i(n.registered,r),s="animation-"+a.name;return m(n,{name:a.name,styles:"@keyframes "+s+"{"+a.styles+"}"}),s},hydrate:function(e){e.forEach(function(e){n.inserted[e]=!0})},flush:function(){n.registered={},n.inserted={},n.sheet.flush()},sheet:n.sheet,cache:n,getRegisteredStyles:c.bind(null,n.registered),merge:w.bind(null,n.registered,a)}}("undefined"!=typeof global?global:{}),C=A.flush,x=A.hydrate,S=A.cx,O=A.merge,$=A.getRegisteredStyles,j=A.injectGlobal,z=A.keyframes,E=A.css,_=A.sheet,R=A.cache;e.flush=C,e.hydrate=x,e.cx=S,e.merge=O,e.getRegisteredStyles=$,e.injectGlobal=j,e.keyframes=z,e.css=E,e.sheet=_,e.cache=R,Object.defineProperty(e,"__esModule",{value:!0})}); | ||
!function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports):"function"==typeof define&&define.amd?define(["exports"],r):r(e.emotion={})}(this,function(e){"use strict";var l=function(){function e(e){this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.before=null}var r=e.prototype;return r.insert=function(e){if(this.ctr%(this.isSpeedy?65e3:1)==0){var r,t=(a=this,(s=document.createElement("style")).setAttribute("data-emotion",a.key),void 0!==a.nonce&&s.setAttribute("nonce",a.nonce),s.appendChild(document.createTextNode("")),s);r=0===this.tags.length?this.before:this.tags[this.tags.length-1].nextSibling,this.container.insertBefore(t,r),this.tags.push(t)}var a,s,n=this.tags[this.tags.length-1];if(this.isSpeedy){var i=function(e){if(e.sheet)return e.sheet;for(var r=0;r<document.styleSheets.length;r++)if(document.styleSheets[r].ownerNode===e)return document.styleSheets[r]}(n);try{var c=105===e.charCodeAt(1)&&64===e.charCodeAt(0);i.insertRule(e,c?0:i.cssRules.length)}catch(e){}}else n.appendChild(document.createTextNode(e));this.ctr++},r.flush=function(){this.tags.forEach(function(e){return e.parentNode.removeChild(e)}),this.tags=[],this.ctr=0},e}();function f(e){function j(e,r,t){var a=r.trim().split(u),s=(r=a).length,n=e.length;switch(n){case 0:case 1:var i=0;for(e=0===n?"":e[0]+" ";i<s;++i)r[i]=l(e,r[i],t).trim();break;default:var c=i=0;for(r=[];i<s;++i)for(var o=0;o<n;++o)r[c++]=l(e[o]+" ",a[i],t).trim()}return r}function l(e,r,t){var a=r.charCodeAt(0);switch(a<33&&(a=(r=r.trim()).charCodeAt(0)),a){case 38:return r.replace(s,"$1"+e.trim());case 58:return e.trim()+r.replace(s,"$1"+e.trim());default:if(0<1*t&&0<r.indexOf("\f"))return r.replace(s,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+r}function z(e,r,t,a){var s=e+";",n=2*r+3*t+4*a;if(944===n){e=s.indexOf(":",9)+1;var i=s.substring(e,s.length-1).trim();return i=s.substring(0,e).trim()+i+";",1===L||2===L&&E(i,1)?"-webkit-"+i+i:i}if(0===L||2===L&&!E(s,1))return s;switch(n){case 1015:return 97===s.charCodeAt(10)?"-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:if(45===s.charCodeAt(8))return"-webkit-"+s+s;if(0<s.indexOf("image-set(",11))return s.replace(p,"$1-webkit-$2")+s;break;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"+(i=s.substring(s.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+s+"-ms-flex-pack"+i+s;case 1005:return o.test(s)?s.replace(c,":-webkit-")+s.replace(c,":-moz-")+s:s;case 1e3:switch(r=(i=s.substring(13).trim()).indexOf("-")+1,i.charCodeAt(0)+i.charCodeAt(r)){case 226:i=s.replace(d,"tb");break;case 232:i=s.replace(d,"tb-rl");break;case 220:i=s.replace(d,"lr");break;default:return s}return"-webkit-"+s+"-ms-"+i+s;case 1017:if(-1===s.indexOf("sticky",9))break;case 975:switch(r=(s=e).length-10,n=(i=(33===s.charCodeAt(r)?s.substring(0,r):s).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|i.charCodeAt(7))){case 203:if(i.charCodeAt(8)<111)break;case 115:s=s.replace(i,"-webkit-"+i)+";"+s;break;case 207:case 102:s=s.replace(i,"-webkit-"+(102<n?"inline-":"")+"box")+";"+s.replace(i,"-webkit-"+i)+";"+s.replace(i,"-ms-"+i+"box")+";"+s}return s+";";case 938:if(45===s.charCodeAt(5))switch(s.charCodeAt(6)){case 105:return i=s.replace("-items",""),"-webkit-"+s+"-webkit-box-"+i+"-ms-flex-"+i+s;case 115:return"-webkit-"+s+"-ms-flex-item-"+s.replace(b,"")+s;default:return"-webkit-"+s+"-ms-flex-line-pack"+s.replace("align-content","").replace(b,"")+s}break;case 973:case 989:if(45!==s.charCodeAt(3)||122===s.charCodeAt(4))break;case 931:case 953:if(!0===g.test(e))return 115===(i=e.substring(e.indexOf(":")+1)).charCodeAt(0)?z(e.replace("stretch","fill-available"),r,t,a).replace(":fill-available",":stretch"):s.replace(i,"-webkit-"+i)+s.replace(i,"-moz-"+i.replace("fill-",""))+s;break;case 962:if(s="-webkit-"+s+(102===s.charCodeAt(5)?"-ms-"+s:"")+s,211===t+a&&105===s.charCodeAt(13)&&0<s.indexOf("transform",10))return s.substring(0,s.indexOf(";",27)+1).replace(f,"$1-webkit-$2")+s}return s}function E(e,r){var t=e.indexOf(1===r?":":"{"),a=e.substring(0,3!==r?t:10);return t=e.substring(t+1,e.length-1),i(2!==r?a:a.replace(n,"$1"),t,r)}function _(e,r){var t=z(r,r.charCodeAt(0),r.charCodeAt(1),r.charCodeAt(2));return t!==r+";"?t.replace(a," or ($1)").substring(4):"("+r+")"}function R(e,r,t,a,s,n,i,c,o,l){for(var f,u=0,d=r;u<q;++u)switch(f=k[u].call(h,e,d,t,a,s,n,i,c,o,l)){case void 0:case!1:case!0:case null:break;default:d=f}if(d!==r)return d}function r(e){return void 0!==(e=e.prefix)&&(i=null,e?"function"!=typeof e?L=1:(L=2,i=e):L=0),r}function h(e,r){var t=e;if(t.charCodeAt(0)<33&&(t=t.trim()),t=[t],0<q){var a=R(-1,r,t,t,B,F,0,0,0,0);void 0!==a&&"string"==typeof a&&(r=a)}var s=function e(r,t,a,s,n){for(var i,c,o,l,f,u=0,d=0,h=0,b=0,g=0,p=0,k=o=i=0,v=0,m=0,w=0,y=0,A=a.length,C=A-1,x="",S="",O="",$="";v<A;){if(c=a.charCodeAt(v),v===C&&0!==d+b+h+u&&(0!==d&&(c=47===d?10:47),b=h=u=0,A++,C++),0===d+b+h+u){if(v===C&&(0<m&&(x=x.replace(G,"")),0<x.trim().length)){switch(c){case 32:case 9:case 59:case 13:case 10:break;default:x+=a.charAt(v)}c=59}switch(c){case 123:for(i=(x=x.trim()).charCodeAt(0),o=1,y=++v;v<A;){switch(c=a.charCodeAt(v)){case 123:o++;break;case 125:o--;break;case 47:switch(c=a.charCodeAt(v+1)){case 42:case 47:e:{for(k=v+1;k<C;++k)switch(a.charCodeAt(k)){case 47:if(42===c&&42===a.charCodeAt(k-1)&&v+2!==k){v=k+1;break e}break;case 10:if(47===c){v=k+1;break e}}v=k}}break;case 91:c++;case 40:c++;case 34:case 39:for(;v++<C&&a.charCodeAt(v)!==c;);}if(0===o)break;v++}switch(o=a.substring(y,v),0===i&&(i=(x=x.replace(N,"").trim()).charCodeAt(0)),i){case 64:switch(0<m&&(x=x.replace(G,"")),c=x.charCodeAt(1)){case 100:case 109:case 115:case 45:m=t;break;default:m=T}if(y=(o=e(t,m,o,c,n+1)).length,0<q&&(f=R(3,o,m=j(T,x,w),t,B,F,y,c,n,s),x=m.join(""),void 0!==f&&0===(y=(o=f.trim()).length)&&(c=0,o="")),0<y)switch(c){case 115:x=x.replace(W,_);case 100:case 109:case 45:o=x+"{"+o+"}";break;case 107:o=(x=x.replace(I,"$1 $2"))+"{"+o+"}",o=1===L||2===L&&E("@"+o,3)?"@-webkit-"+o+"@"+o:"@"+o;break;default:o=x+o,112===s&&(S+=o,o="")}else o="";break;default:o=e(t,j(t,x,w),o,s,n+1)}O+=o,o=w=m=k=i=0,x="",c=a.charCodeAt(++v);break;case 125:case 59:if(1<(y=(x=(0<m?x.replace(G,""):x).trim()).length))switch(0===k&&(i=x.charCodeAt(0),45===i||96<i&&i<123)&&(y=(x=x.replace(" ",":")).length),0<q&&void 0!==(f=R(1,x,t,r,B,F,S.length,s,n,s))&&0===(y=(x=f.trim()).length)&&(x="\0\0"),i=x.charCodeAt(0),c=x.charCodeAt(1),i){case 0:break;case 64:if(105===c||99===c){$+=x+a.charAt(v);break}default:58!==x.charCodeAt(y-1)&&(S+=z(x,i,c,x.charCodeAt(2)))}w=m=k=i=0,x="",c=a.charCodeAt(++v)}}switch(c){case 13:case 10:47===d?d=0:0===1+i&&107!==s&&0<x.length&&(m=1,x+="\0"),0<q*H&&R(0,x,t,r,B,F,S.length,s,n,s),F=1,B++;break;case 59:case 125:if(0===d+b+h+u){F++;break}default:switch(F++,l=a.charAt(v),c){case 9:case 32:if(0===b+u+d)switch(g){case 44:case 58:case 9:case 32:l="";break;default:32!==c&&(l=" ")}break;case 0:l="\\0";break;case 12:l="\\f";break;case 11:l="\\v";break;case 38:0===b+d+u&&(m=w=1,l="\f"+l);break;case 108:if(0===b+d+u+D&&0<k)switch(v-k){case 2:112===g&&58===a.charCodeAt(v-3)&&(D=g);case 8:111===p&&(D=p)}break;case 58:0===b+d+u&&(k=v);break;case 44:0===d+h+b+u&&(m=1,l+="\r");break;case 34:case 39:0===d&&(b=b===c?0:0===b?c:b);break;case 91:0===b+d+h&&u++;break;case 93:0===b+d+h&&u--;break;case 41:0===b+d+u&&h--;break;case 40:if(0===b+d+u){if(0===i)switch(2*g+3*p){case 533:break;default:i=1}h++}break;case 64:0===d+h+b+u+k+o&&(o=1);break;case 42:case 47:if(!(0<b+u+h))switch(d){case 0:switch(2*c+3*a.charCodeAt(v+1)){case 235:d=47;break;case 220:y=v,d=42}break;case 42:47===c&&42===g&&y+2!==v&&(33===a.charCodeAt(y+2)&&(S+=a.substring(y,v+1)),l="",d=0)}}0===d&&(x+=l)}p=g,g=c,v++}if(0<(y=S.length)){if(m=t,0<q&&void 0!==(f=R(2,S,m,r,B,F,y,s,n,s))&&0===(S=f).length)return $+S+O;if(S=m.join(",")+"{"+S+"}",0!=L*D){switch(2!==L||E(S,2)||(D=0),D){case 111:S=S.replace(P,":-moz-$1")+S;break;case 112:S=S.replace(M,"::-webkit-input-$1")+S.replace(M,"::-moz-$1")+S.replace(M,":-ms-input-$1")+S}D=0}}return $+S+O}(T,t,r,0,0);return 0<q&&(void 0!==(a=R(-2,s,t,t,B,F,s.length,0,0,0))&&(s=a)),"",D=0,F=B=1,s}var N=/^\0+/g,G=/[\0\r\f]/g,c=/: */g,o=/zoo|gra/,f=/([,: ])(transform)/g,u=/,\r+?/g,s=/([\t\r\n ])*\f?&/g,I=/@(k\w+)\s*(\S*)\s*/,M=/::(place)/g,P=/:(read-only)/g,d=/[svh]\w+-[tblr]{2}/,W=/\(\s*(.*)\s*\)/g,a=/([\s\S]*?);/g,b=/-self|flex-/g,n=/[^]*?(:[rp][el]a[\w-]+)[^]*/,g=/stretch|:\s*\w+\-(?:conte|avail)/,p=/([^-])(image-set\()/,F=1,B=1,D=0,L=1,T=[],k=[],q=0,i=null,H=0;return h.use=function e(r){switch(r){case void 0:case null:q=k.length=0;break;default:switch(r.constructor){case Array:for(var t=0,a=r.length;t<a;++t)e(r[t]);break;case Function:k[q++]=r;break;case Boolean:H=0|!!r}}return e},h.set=r,void 0!==e&&r(e),h}var u="/*|*/";function d(e){e&&h.current.insert(e+"}")}var h={current:null},b=function(e,r,t,a,s,n,i,c,o,l){switch(e){case 1:switch(r.charCodeAt(0)){case 64:return h.current.insert(r+";"),"";case 108:if(98===r.charCodeAt(2))return""}break;case 2:if(0===c)return r+u;break;case 3:switch(c){case 102:case 112:return h.current.insert(t[0]+r),"";default:return r+(0===l?u:"")}case-2:r.split("/*|*/}").forEach(d)}};var t={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,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};var r,a,s=/[A-Z]|^ms/g,n=/_EMO_([^_]+?)_([^]*?)_EMO_/g,o=(r=function(e){return e.replace(s,"-$&").toLowerCase()},a={},function(e){return void 0===a[e]&&(a[e]=r(e)),a[e]}),g=function(e,r){if(null==r||"boolean"==typeof r)return"";switch(e){case"animation":case"animationName":r=r.replace(n,function(e,r,t){return k={name:r,styles:t,next:k},r})}return 1!==t[e]&&45!==e.charCodeAt(1)&&"number"==typeof r&&0!==r?r+"px":r};function p(e,r,t,a){if(null==t)return"";if(void 0!==t.__emotion_styles)return t;switch(typeof t){case"boolean":return"";case"object":if(1===t.anim)return k={name:t.name,styles:t.styles,next:k},t.name;if(void 0!==t.styles){var s=t.next;if(void 0!==s)for(;void 0!==s;)k={name:s.name,styles:s.styles,next:k},s=s.next;return t.styles}return function(e,r,t){var a="";if(Array.isArray(t))for(var s=0;s<t.length;s++)a+=p(e,r,t[s],!1);else for(var n in t){var i=t[n];if("object"!=typeof i)void 0!==r[i]?a+=n+"{"+r[i]+"}":a+=o(n)+":"+g(n,i)+";";else if(Array.isArray(i)&&"string"==typeof i[0]&&void 0===r[i[0]])for(var c=0;c<i.length;c++)a+=o(n)+":"+g(n,i[c])+";";else a+=n+"{"+p(e,r,i,!1)+"}"}return a}(e,r,t);case"function":if(void 0!==e){var n=k,i=t(e);return k=n,p(e,r,i,a)}default:var c=r[t];return void 0===c||a?t:c}}var k,v=/label:\s*([^\s;\n{]+)\s*;/g,i=function(e,r,t){if(1===r.length&&"object"==typeof r[0]&&null!==r[0]&&void 0!==r[0].styles)return r[0];var a=!0,s="";k=void 0;var n=r[0];null==n||void 0===n.raw?s+=p(t,e,n,a=!1):s+=n[0];for(var i=1;i<r.length;i++)s+=p(t,e,r[i],46===s.charCodeAt(s.length-1)),a&&(s+=n[i]);v.lastIndex=0;for(var c,o="";null!==(c=v.exec(s));)o+="-"+c[1];return{name:function(e){for(var r,t=e.length,a=t^t,s=0;4<=t;)r=1540483477*(65535&(r=255&e.charCodeAt(s)|(255&e.charCodeAt(++s))<<8|(255&e.charCodeAt(++s))<<16|(255&e.charCodeAt(++s))<<24))+((1540483477*(r>>>16)&65535)<<16),a=1540483477*(65535&a)+((1540483477*(a>>>16)&65535)<<16)^(r=1540483477*(65535&(r^=r>>>24))+((1540483477*(r>>>16)&65535)<<16)),t-=4,++s;switch(t){case 3:a^=(255&e.charCodeAt(s+2))<<16;case 2:a^=(255&e.charCodeAt(s+1))<<8;case 1:a=1540483477*(65535&(a^=255&e.charCodeAt(s)))+((1540483477*(a>>>16)&65535)<<16)}return a=1540483477*(65535&(a^=a>>>13))+((1540483477*(a>>>16)&65535)<<16),((a^=a>>>15)>>>0).toString(36)}(s)+o,styles:s,next:k}};function c(r,t,e){var a="";return e.split(" ").forEach(function(e){void 0!==r[e]?t.push(r[e]):a+=e+" "}),a}function m(e,r){if(void 0===e.inserted[r.name])return e.insert("",r,e.sheet,!0)}function w(e,r,t){var a=[],s=c(e,a,t);return a.length<2?t:s+r(a)}var y=function e(r){for(var t="",a=0;a<r.length;a++){var s=r[a];if(null!=s){var n=void 0;switch(typeof s){case"boolean":break;case"object":if(Array.isArray(s))n=e(s);else for(var i in n="",s)s[i]&&i&&(n&&(n+=" "),n+=i);break;default:n=s}n&&(t&&(t+=" "),t+=n)}}return t},A=function(e){var n=function(e){void 0===e&&(e={});var r,t=e.key||"css";void 0!==e.prefix&&(r={prefix:e.prefix});var a,n=new f(r),s={};a=e.container||document.head;var i,c=document.querySelectorAll("style[data-emotion-"+t+"]");Array.prototype.forEach.call(c,function(e){e.getAttribute("data-emotion-"+t).split(" ").forEach(function(e){s[e]=!0}),e.parentNode!==a&&a.appendChild(e)}),n.use(e.stylisPlugins)(b),i=function(e,r,t,a){var s=r.name;h.current=t,n(e,r.styles),a&&(o.inserted[s]=!0)};var o={key:t,sheet:new l({key:t,container:a,nonce:e.nonce,speedy:e.speedy}),nonce:e.nonce,inserted:s,registered:{},insert:i};return o}(e);n.sheet.speedy=function(e){this.isSpeedy=e},n.compat=!0;var a=function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];var a=i(n.registered,r,void 0!==this?this.mergedProps:void 0);return function(e,r,t){var a=e.key+"-"+r.name;if(!1===t&&void 0===e.registered[a]&&(e.registered[a]=r.styles),void 0===e.inserted[r.name])for(var s=r;e.insert("."+a,s,e.sheet,!0),void 0!==(s=s.next););}(n,a,!1),n.key+"-"+a.name};return{css:a,cx:function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return w(n.registered,a,y(r))},injectGlobal:function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];var a=i(n.registered,r);m(n,a)},keyframes:function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];var a=i(n.registered,r),s="animation-"+a.name;return m(n,{name:a.name,styles:"@keyframes "+s+"{"+a.styles+"}"}),s},hydrate:function(e){e.forEach(function(e){n.inserted[e]=!0})},flush:function(){n.registered={},n.inserted={},n.sheet.flush()},sheet:n.sheet,cache:n,getRegisteredStyles:c.bind(null,n.registered),merge:w.bind(null,n.registered,a)}}("undefined"!=typeof global?global:{}),C=A.flush,x=A.hydrate,S=A.cx,O=A.merge,$=A.getRegisteredStyles,j=A.injectGlobal,z=A.keyframes,E=A.css,_=A.sheet,R=A.cache;e.flush=C,e.hydrate=x,e.cx=S,e.merge=O,e.getRegisteredStyles=$,e.injectGlobal=j,e.keyframes=z,e.css=E,e.sheet=_,e.cache=R,Object.defineProperty(e,"__esModule",{value:!0})}); | ||
//# sourceMappingURL=emotion.umd.min.js.map |
{ | ||
"name": "emotion", | ||
"version": "10.0.0-beta.7", | ||
"version": "10.0.0-beta.8", | ||
"description": "The Next Generation of CSS-in-JS.", | ||
@@ -18,4 +18,4 @@ "main": "dist/index.cjs.js", | ||
"dependencies": { | ||
"babel-plugin-emotion": "^10.0.0-beta.7", | ||
"create-emotion": "^10.0.0-beta.7" | ||
"babel-plugin-emotion": "^10.0.0-beta.8", | ||
"create-emotion": "^10.0.0-beta.8" | ||
}, | ||
@@ -26,3 +26,3 @@ "devDependencies": { | ||
"dtslint": "^0.3.0", | ||
"react-emotion": "^10.0.0-beta.7", | ||
"react-emotion": "^10.0.0-beta.8", | ||
"stylis": "3.5.3", | ||
@@ -29,0 +29,0 @@ "stylis-rule-sheet": "^0.0.10" |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
100850