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