@bumbag/emotion-react
Advanced tools
Comparing version 11.1.5 to 11.4.0-0
# @emotion/react | ||
## 11.4.0 | ||
### Patch Changes | ||
- [#2334](https://github.com/emotion-js/emotion/pull/2334) [`7d9e74f8`](https://github.com/emotion-js/emotion/commit/7d9e74f8f0d0e0ea60573a19965eded61dc41024) Thanks [@Andarist](https://github.com/Andarist)! - The Global component no longer replaces style elements from server-rendering on first mount and instead reuses the server-side rendered style element | ||
- Updated dependencies [[`38f9d44f`](https://github.com/emotion-js/emotion/commit/38f9d44f919dccbf66c835ccde3f08ab927a4940)]: | ||
- @emotion/cache@11.4.0 | ||
## 11.1.5 | ||
@@ -4,0 +13,0 @@ |
@@ -7,3 +7,3 @@ 'use strict'; | ||
require('@emotion/cache'); | ||
var emotionElement = require('./emotion-element-1fddca1c.cjs.dev.js'); | ||
var emotionElement = require('./emotion-element-60bac721.cjs.dev.js'); | ||
require('@babel/runtime/helpers/extends'); | ||
@@ -19,9 +19,5 @@ require('@emotion/weak-memoize'); | ||
name: "@bumbag/emotion-react", | ||
version: "11.1.5", | ||
version: "11.4.0-0", | ||
main: "dist/bumbag-emotion-react.cjs.js", | ||
module: "dist/bumbag-emotion-react.esm.js", | ||
browser: { | ||
"./dist/bumbag-emotion-react.cjs.js": "./dist/bumbag-emotion-react.browser.cjs.js", | ||
"./dist/bumbag-emotion-react.esm.js": "./dist/bumbag-emotion-react.browser.esm.js" | ||
}, | ||
types: "types/index.d.ts", | ||
@@ -46,5 +42,5 @@ files: [ | ||
dependencies: { | ||
"@babel/runtime": "^7.7.2", | ||
"@emotion/cache": "@bumbag/emotion-cache@11.1.3", | ||
"@emotion/serialize": "^1.0.0", | ||
"@babel/runtime": "^7.13.10", | ||
"@emotion/cache": "npm:@bumbag/emotion-cache@11.4.0-1", | ||
"@emotion/serialize": "^1.0.2", | ||
"@emotion/sheet": "^1.0.1", | ||
@@ -68,7 +64,7 @@ "@emotion/utils": "^1.0.0", | ||
devDependencies: { | ||
"@babel/core": "^7.7.2", | ||
"@babel/core": "^7.13.10", | ||
"@bumbag/emotion-css": "11.1.3", | ||
"@emotion/css-prettifier": "1.0.0", | ||
"@emotion/server": "11.0.0", | ||
"@emotion/styled": "11.1.5", | ||
"@emotion/server": "11.4.0", | ||
"@emotion/styled": "11.3.0", | ||
"@types/react": "^16.9.11", | ||
@@ -80,3 +76,3 @@ dtslint: "^0.3.0", | ||
}, | ||
repository: "https://github.com/emotion-js/emotion/tree/master/packages/react", | ||
repository: "https://github.com/emotion-js/emotion/tree/main/packages/react", | ||
publishConfig: { | ||
@@ -175,3 +171,4 @@ access: "public" | ||
speedy: cache.sheet.isSpeedy | ||
}); // $FlowFixMe | ||
}); | ||
var rehydrating = false; // $FlowFixMe | ||
@@ -185,6 +182,9 @@ var node = document.querySelector("style[data-emotion=\"" + key + " " + serialized.name + "\"]"); | ||
if (node !== null) { | ||
rehydrating = true; // clear the hash so this node won't be recognizable as rehydratable by other <Global/>s | ||
node.setAttribute('data-emotion', key); | ||
sheet$1.hydrate([node]); | ||
} | ||
sheetRef.current = sheet$1; | ||
sheetRef.current = [sheet$1, rehydrating]; | ||
return function () { | ||
@@ -195,2 +195,11 @@ sheet$1.flush(); | ||
React.useLayoutEffect(function () { | ||
var sheetRefCurrent = sheetRef.current; | ||
var sheet = sheetRefCurrent[0], | ||
rehydrating = sheetRefCurrent[1]; | ||
if (rehydrating) { | ||
sheetRefCurrent[1] = false; | ||
return; | ||
} | ||
if (serialized.next !== undefined) { | ||
@@ -201,4 +210,2 @@ // insert keyframes | ||
var sheet = sheetRef.current; | ||
if (sheet.tags.length) { | ||
@@ -205,0 +212,0 @@ // if this doesn't exist then it will be null so the style element will be appended |
@@ -11,3 +11,3 @@ "use strict"; | ||
var emotionElement = require("./emotion-element-0a93e42f.cjs.prod.js"); | ||
var emotionElement = require("./emotion-element-4294b745.cjs.prod.js"); | ||
@@ -19,9 +19,5 @@ require("@babel/runtime/helpers/extends"), require("@emotion/weak-memoize"), require("hoist-non-react-statics"), | ||
name: "@bumbag/emotion-react", | ||
version: "11.1.5", | ||
version: "11.4.0-0", | ||
main: "dist/bumbag-emotion-react.cjs.js", | ||
module: "dist/bumbag-emotion-react.esm.js", | ||
browser: { | ||
"./dist/bumbag-emotion-react.cjs.js": "./dist/bumbag-emotion-react.browser.cjs.js", | ||
"./dist/bumbag-emotion-react.esm.js": "./dist/bumbag-emotion-react.browser.esm.js" | ||
}, | ||
types: "types/index.d.ts", | ||
@@ -36,5 +32,5 @@ files: [ "src", "dist", "jsx-runtime", "jsx-dev-runtime", "isolated-hoist-non-react-statics-do-not-use-this-in-your-code", "types/*.d.ts", "macro.js", "macro.d.ts", "macro.js.flow" ], | ||
dependencies: { | ||
"@babel/runtime": "^7.7.2", | ||
"@emotion/cache": "@bumbag/emotion-cache@11.1.3", | ||
"@emotion/serialize": "^1.0.0", | ||
"@babel/runtime": "^7.13.10", | ||
"@emotion/cache": "npm:@bumbag/emotion-cache@11.4.0-1", | ||
"@emotion/serialize": "^1.0.2", | ||
"@emotion/sheet": "^1.0.1", | ||
@@ -58,7 +54,7 @@ "@emotion/utils": "^1.0.0", | ||
devDependencies: { | ||
"@babel/core": "^7.7.2", | ||
"@babel/core": "^7.13.10", | ||
"@bumbag/emotion-css": "11.1.3", | ||
"@emotion/css-prettifier": "1.0.0", | ||
"@emotion/server": "11.0.0", | ||
"@emotion/styled": "11.1.5", | ||
"@emotion/server": "11.4.0", | ||
"@emotion/styled": "11.3.0", | ||
"@types/react": "^16.9.11", | ||
@@ -70,3 +66,3 @@ dtslint: "^0.3.0", | ||
}, | ||
repository: "https://github.com/emotion-js/emotion/tree/master/packages/react", | ||
repository: "https://github.com/emotion-js/emotion/tree/main/packages/react", | ||
publishConfig: { | ||
@@ -108,15 +104,18 @@ access: "public" | ||
speedy: cache.sheet.isSpeedy | ||
}), node = document.querySelector('style[data-emotion="' + key + " " + serialized.name + '"]'); | ||
return cache.sheet.tags.length && (sheet$1.before = cache.sheet.tags[0]), null !== node && sheet$1.hydrate([ node ]), | ||
sheetRef.current = sheet$1, function() { | ||
}), rehydrating = !1, node = document.querySelector('style[data-emotion="' + key + " " + serialized.name + '"]'); | ||
return cache.sheet.tags.length && (sheet$1.before = cache.sheet.tags[0]), null !== node && (rehydrating = !0, | ||
node.setAttribute("data-emotion", key), sheet$1.hydrate([ node ])), sheetRef.current = [ sheet$1, rehydrating ], | ||
function() { | ||
sheet$1.flush(); | ||
}; | ||
}), [ cache ]), React.useLayoutEffect((function() { | ||
void 0 !== serialized.next && utils.insertStyles(cache, serialized.next, !0); | ||
var sheet = sheetRef.current; | ||
if (sheet.tags.length) { | ||
var element = sheet.tags[sheet.tags.length - 1].nextElementSibling; | ||
sheet.before = element, sheet.flush(); | ||
var sheetRefCurrent = sheetRef.current, sheet = sheetRefCurrent[0]; | ||
if (sheetRefCurrent[1]) sheetRefCurrent[1] = !1; else { | ||
if (void 0 !== serialized.next && utils.insertStyles(cache, serialized.next, !0), | ||
sheet.tags.length) { | ||
var element = sheet.tags[sheet.tags.length - 1].nextElementSibling; | ||
sheet.before = element, sheet.flush(); | ||
} | ||
cache.insert("", serialized, sheet, !1); | ||
} | ||
cache.insert("", serialized, sheet, !1); | ||
}), [ cache, serialized.name ]), null; | ||
@@ -123,0 +122,0 @@ })); |
import { createElement, useContext, useRef, useLayoutEffect, Fragment } from 'react'; | ||
import '@emotion/cache'; | ||
import { h as hasOwnProperty, E as Emotion, c as createEmotionProps, w as withEmotionCache, T as ThemeContext, i as isBrowser$1 } from './emotion-element-9c05a186.esm.js'; | ||
export { C as CacheProvider, T as ThemeContext, a as ThemeProvider, u as useTheme, w as withEmotionCache, b as withTheme } from './emotion-element-9c05a186.esm.js'; | ||
import { h as hasOwnProperty, E as Emotion, c as createEmotionProps, w as withEmotionCache, T as ThemeContext, i as isBrowser$1 } from './emotion-element-cfa37aa9.esm.js'; | ||
export { C as CacheProvider, T as ThemeContext, a as ThemeProvider, u as useTheme, w as withEmotionCache, b as withTheme } from './emotion-element-cfa37aa9.esm.js'; | ||
import '@babel/runtime/helpers/extends'; | ||
@@ -15,9 +15,5 @@ import '@emotion/weak-memoize'; | ||
name: "@bumbag/emotion-react", | ||
version: "11.1.5", | ||
version: "11.4.0-0", | ||
main: "dist/bumbag-emotion-react.cjs.js", | ||
module: "dist/bumbag-emotion-react.esm.js", | ||
browser: { | ||
"./dist/bumbag-emotion-react.cjs.js": "./dist/bumbag-emotion-react.browser.cjs.js", | ||
"./dist/bumbag-emotion-react.esm.js": "./dist/bumbag-emotion-react.browser.esm.js" | ||
}, | ||
types: "types/index.d.ts", | ||
@@ -42,5 +38,5 @@ files: [ | ||
dependencies: { | ||
"@babel/runtime": "^7.7.2", | ||
"@emotion/cache": "@bumbag/emotion-cache@11.1.3", | ||
"@emotion/serialize": "^1.0.0", | ||
"@babel/runtime": "^7.13.10", | ||
"@emotion/cache": "npm:@bumbag/emotion-cache@11.4.0-1", | ||
"@emotion/serialize": "^1.0.2", | ||
"@emotion/sheet": "^1.0.1", | ||
@@ -64,7 +60,7 @@ "@emotion/utils": "^1.0.0", | ||
devDependencies: { | ||
"@babel/core": "^7.7.2", | ||
"@babel/core": "^7.13.10", | ||
"@bumbag/emotion-css": "11.1.3", | ||
"@emotion/css-prettifier": "1.0.0", | ||
"@emotion/server": "11.0.0", | ||
"@emotion/styled": "11.1.5", | ||
"@emotion/server": "11.4.0", | ||
"@emotion/styled": "11.3.0", | ||
"@types/react": "^16.9.11", | ||
@@ -76,3 +72,3 @@ dtslint: "^0.3.0", | ||
}, | ||
repository: "https://github.com/emotion-js/emotion/tree/master/packages/react", | ||
repository: "https://github.com/emotion-js/emotion/tree/main/packages/react", | ||
publishConfig: { | ||
@@ -171,3 +167,4 @@ access: "public" | ||
speedy: cache.sheet.isSpeedy | ||
}); // $FlowFixMe | ||
}); | ||
var rehydrating = false; // $FlowFixMe | ||
@@ -181,6 +178,9 @@ var node = document.querySelector("style[data-emotion=\"" + key + " " + serialized.name + "\"]"); | ||
if (node !== null) { | ||
rehydrating = true; // clear the hash so this node won't be recognizable as rehydratable by other <Global/>s | ||
node.setAttribute('data-emotion', key); | ||
sheet.hydrate([node]); | ||
} | ||
sheetRef.current = sheet; | ||
sheetRef.current = [sheet, rehydrating]; | ||
return function () { | ||
@@ -191,2 +191,11 @@ sheet.flush(); | ||
useLayoutEffect(function () { | ||
var sheetRefCurrent = sheetRef.current; | ||
var sheet = sheetRefCurrent[0], | ||
rehydrating = sheetRefCurrent[1]; | ||
if (rehydrating) { | ||
sheetRefCurrent[1] = false; | ||
return; | ||
} | ||
if (serialized.next !== undefined) { | ||
@@ -197,4 +206,2 @@ // insert keyframes | ||
var sheet = sheetRef.current; | ||
if (sheet.tags.length) { | ||
@@ -201,0 +208,0 @@ // if this doesn't exist then it will be null so the style element will be appended |
@@ -1,2 +0,2 @@ | ||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("react")):"function"==typeof define&&define.amd?define(["exports","react"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).emotionReact={},e.React)}(this,(function(e,t){"use strict";var r=function(){function e(e){var t=this;this._insertTag=function(e){var r;r=0===t.tags.length?t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,r),t.tags.push(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.prepend=e.prepend,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(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("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var r=function(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]}(t);try{r.insertRule(e,r.cssRules.length)}catch(e){0}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}(),n="-ms-",a="-moz-",o="-webkit-",s="comm",c="rule",i="decl",u=Math.abs,f=String.fromCharCode;function l(e){return e.trim()}function p(e,t,r){return e.replace(t,r)}function d(e,t){return 0|e.charCodeAt(t)}function y(e,t,r){return e.slice(t,r)}function h(e){return e.length}function m(e){return e.length}function v(e,t){return t.push(e),e}var g=1,b=1,w=0,x=0,$=0,C="";function S(e,t,r,n,a,o,s){return{value:e,root:t,parent:r,type:n,props:a,children:o,line:g,column:b,length:s,return:""}}function k(e,t,r){return S(e,t.root,t.parent,r,t.props,t.children,0)}function A(){return $=x<w?d(C,x++):0,b++,10===$&&(b=1,g++),$}function O(){return d(C,x)}function _(){return x}function E(e,t){return y(C,e,t)}function P(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function j(e){return g=b=1,w=h(C=e),x=0,[]}function T(e){return C="",e}function M(e){return l(E(x-1,R(91===e?e+2:40===e?e+1:e)))}function N(e){for(;($=O())&&$<33;)A();return P(e)>2||P($)>3?"":" "}function R(e){for(;A();)switch($){case e:return x;case 34:case 39:return R(34===e||39===e?e:$);case 40:41===e&&R(e);break;case 92:A()}return x}function z(e,t){for(;A()&&e+$!==57&&(e+$!==84||47!==O()););return"/*"+E(t,x-1)+"*"+f(47===e?e:A())}function F(e){for(;!P(O());)A();return E(e,x)}function D(e){return T(G("",null,null,null,[""],e=j(e),0,[0],e))}function G(e,t,r,n,a,o,s,c,i){for(var u=0,l=0,d=s,y=0,m=0,g=0,b=1,w=1,x=1,$=0,C="",S=a,k=o,E=n,P=C;w;)switch(g=$,$=A()){case 34:case 39:case 91:case 40:P+=M($);break;case 9:case 10:case 13:case 32:P+=N(g);break;case 47:switch(O()){case 42:case 47:v(I(z(A(),_()),t,r),i);break;default:P+="/"}break;case 123*b:c[u++]=h(P)*x;case 125*b:case 59:case 0:switch($){case 0:case 125:w=0;case 59+l:m>0&&v(m>32?W(P+";",n,r,d-1):W(p(P," ","")+";",n,r,d-2),i);break;case 59:P+=";";default:if(v(E=L(P,t,r,u,l,a,c,C,S=[],k=[],d),o),123===$)if(0===l)G(P,t,E,E,S,o,d,c,k);else switch(y){case 100:case 109:case 115:G(e,E,E,n&&v(L(e,E,E,0,0,a,c,C,a,S=[],d),k),a,k,d,c,n?S:k);break;default:G(P,E,E,E,[""],k,d,c,k)}}u=l=m=0,b=x=1,C=P="",d=s;break;case 58:d=1+h(P),m=g;default:switch(P+=f($),$*b){case 38:x=l>0?1:(P+="\f",-1);break;case 44:c[u++]=(h(P)-1)*x,x=1;break;case 64:45===O()&&(P+=M(A())),y=O(),l=h(C=P+=F(_())),$++;break;case 45:45===g&&2==h(P)&&(b=0)}}return o}function L(e,t,r,n,a,o,s,i,f,d,h){for(var v=a-1,g=0===a?o:[""],b=m(g),w=0,x=0,$=0;w<n;++w)for(var C=0,k=y(e,v+1,v=u(x=s[w])),A=e;C<b;++C)(A=l(x>0?g[C]+" "+k:p(k,/&\f/g,g[C])))&&(f[$++]=A);return S(e,t,r,0===a?c:i,f,d,h)}function I(e,t,r){return S(e,t,r,s,f($),y(e,2,-2),0)}function W(e,t,r,n){return S(e,t,r,i,y(e,0,n),y(e,n+1,-1),n)}function q(e,t){switch(function(e,t){return(((t<<2^d(e,0))<<2^d(e,1))<<2^d(e,2))<<2^d(e,3)}(e,t)){case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return o+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return o+e+a+e+n+e+e;case 6828:case 4268:return o+e+n+e+e;case 6165:return o+e+n+"flex-"+e+e;case 5187:return o+e+p(e,/(\w+).+(:[^]+)/,o+"box-$1$2"+n+"flex-$1$2")+e;case 5443:return o+e+n+"flex-item-"+p(e,/flex-|-self/,"")+e;case 4675:return o+e+n+"flex-line-pack"+p(e,/align-content|flex-|-self/,"")+e;case 5548:return o+e+n+p(e,"shrink","negative")+e;case 5292:return o+e+n+p(e,"basis","preferred-size")+e;case 6060:return o+"box-"+p(e,"-grow","")+o+e+n+p(e,"grow","positive")+e;case 4554:return o+p(e,/([^-])(transform)/g,"$1"+o+"$2")+e;case 6187:return p(p(p(e,/(zoom-|grab)/,o+"$1"),/(image-set)/,o+"$1"),e,"")+e;case 5495:case 3959:return p(e,/(image-set\([^]*)/,o+"$1$`$1");case 4968:return p(p(e,/(.+:)(flex-)?(.*)/,o+"box-pack:$3"+n+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+o+e+e;case 4095:case 3583:case 4068:case 2532:return p(e,/(.+)-inline(.+)/,o+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(h(e)-1-t>6)switch(d(e,t+1)){case 109:return p(e,/(.+:)(.+)-([^]+)/,"$1"+o+"$2-$3$1"+a+"$2-$3")+e;case 102:return p(e,/(.+:)(.+)-([^]+)/,"$1"+o+"$2-$3$1"+a+"$3")+e;case 115:return q(p(e,"stretch","fill-available"),t)+e}break;case 4949:if(115!==d(e,t+1))break;case 6444:switch(d(e,h(e)-3-(~function(e,t){return e.indexOf(t)}(e,"!important")&&10))){case 107:case 111:return p(e,e,o+e)+e;case 101:return p(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+o+(45===d(e,14)?"inline-":"")+"box$3$1"+o+"$2$3$1"+n+"$2box$3")+e}break;case 5936:switch(d(e,t+11)){case 114:return o+e+n+p(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return o+e+n+p(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return o+e+n+p(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return o+e+n+e+e}return e}function H(e,t){for(var r="",n=m(e),a=0;a<n;a++)r+=t(e[a],a,e,t)||"";return r}function B(e,t,r,n){switch(e.type){case"@import":case i:return e.return=e.return||e.value;case s:return"";case c:e.value=e.props.join(",")}return h(r=H(e.children,n))?e.return=e.value+"{"+r+"}":""}function U(e){return function(t){t.root||(t=t.return)&&e(t)}}var V=function(e){var t=new WeakMap;return function(r){if(t.has(r))return t.get(r);var n=e(r);return t.set(r,n),n}};function Y(e){var t=Object.create(null);return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}}var Z=function(e,t){return T(function(e,t){var r=-1,n=44;do{switch(P(n)){case 0:38===n&&12===O()&&(t[r]=1),e[r]+=F(x-1);break;case 2:e[r]+=M(n);break;case 4:if(44===n){e[++r]=58===O()?"&\f":"",t[r]=e[r].length;break}default:e[r]+=f(n)}}while(n=A());return e}(j(e),t))},J=new WeakMap,K=function(e){if("rule"===e.type&&e.parent&&e.length){for(var t=e.value,r=e.parent,n=e.column===r.column&&e.line===r.line;"rule"!==r.type;)if(!(r=r.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||J.get(r))&&!n){J.set(e,!0);for(var a=[],o=Z(t,a),s=r.props,c=0,i=0;c<o.length;c++)for(var u=0;u<s.length;u++,i++)e.props[i]=a[c]?o[c].replace(/&\f/g,s[u]):s[u]+" "+o[c]}}},Q=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}},X=[function(e,t,r,a){if(!e.return)switch(e.type){case i:e.return=q(e.value,e.length);break;case"@keyframes":return H([k(p(e.value,"@","@"+o),e,"")],a);case c:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return H([k(p(t,/:(read-\w+)/,":-moz-$1"),e,"")],a);case"::placeholder":return H([k(p(t,/:(plac\w+)/,":"+o+"input-$1"),e,""),k(p(t,/:(plac\w+)/,":-moz-$1"),e,""),k(p(t,/:(plac\w+)/,n+"input-$1"),e,"")],a)}return""}))}}],ee=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){document.head.appendChild(e),e.setAttribute("data-s","")}))}var a=e.stylisPlugins||X;var o,s,c={},i=[];o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll("style[data-emotion]"),(function(e){var r=e.getAttribute("data-emotion").split(" ");if(r[0]===t){for(var n=1;n<r.length;n++)c[r[n]]=!0;i.push(e)}}));var u=[K,Q];var f,l=[B,U((function(e){f.insert(e)}))],p=function(e){var t=m(e);return function(r,n,a,o){for(var s="",c=0;c<t;c++)s+=e[c](r,n,a,o)||"";return s}}(u.concat(a,l));s=function(e,t,r,n){f=r,H(D(e?e+"{"+t.styles+"}":t.styles),p),n&&(d.inserted[t.name]=!0)};var d={key:t,sheet:new r({key:t,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend}),nonce:e.nonce,inserted:c,registered:{},insert:s};return d.sheet.hydrate(i),d},te=Object.prototype.hasOwnProperty,re=t.createContext("undefined"!=typeof HTMLElement?ee({key:"css"}):null),ne=re.Provider,ae=function(e){return t.forwardRef((function(r,n){var a=t.useContext(re);return e(r,a,n)}))};function oe(e,t,r){return e(r={path:t,exports:{},require:function(e,t){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==t&&r.path)}},r.exports),r.exports}var se=oe((function(e){function t(){return e.exports=t=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},t.apply(this,arguments)}e.exports=t})),ce=oe((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,a=r?Symbol.for("react.portal"):60106,o=r?Symbol.for("react.fragment"):60107,s=r?Symbol.for("react.strict_mode"):60108,c=r?Symbol.for("react.profiler"):60114,i=r?Symbol.for("react.provider"):60109,u=r?Symbol.for("react.context"):60110,f=r?Symbol.for("react.async_mode"):60111,l=r?Symbol.for("react.concurrent_mode"):60111,p=r?Symbol.for("react.forward_ref"):60112,d=r?Symbol.for("react.suspense"):60113,y=r?Symbol.for("react.suspense_list"):60120,h=r?Symbol.for("react.memo"):60115,m=r?Symbol.for("react.lazy"):60116,v=r?Symbol.for("react.fundamental"):60117,g=r?Symbol.for("react.responder"):60118,b=r?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case f:case l:case o:case c:case s:case d:return e;default:switch(e=e&&e.$$typeof){case u:case p:case m:case h:case i:return e;default:return t}}case a:return t}}}function x(e){return w(e)===l}t.typeOf=w,t.AsyncMode=f,t.ConcurrentMode=l,t.ContextConsumer=u,t.ContextProvider=i,t.Element=n,t.ForwardRef=p,t.Fragment=o,t.Lazy=m,t.Memo=h,t.Portal=a,t.Profiler=c,t.StrictMode=s,t.Suspense=d,t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===l||e===c||e===s||e===d||e===y||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===h||e.$$typeof===i||e.$$typeof===u||e.$$typeof===p||e.$$typeof===v||e.$$typeof===g||e.$$typeof===b)},t.isAsyncMode=function(e){return x(e)||w(e)===f},t.isConcurrentMode=x,t.isContextConsumer=function(e){return w(e)===u},t.isContextProvider=function(e){return w(e)===i},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return w(e)===p},t.isFragment=function(e){return w(e)===o},t.isLazy=function(e){return w(e)===m},t.isMemo=function(e){return w(e)===h},t.isPortal=function(e){return w(e)===a},t.isProfiler=function(e){return w(e)===c},t.isStrictMode=function(e){return w(e)===s},t.isSuspense=function(e){return w(e)===d}})),ie=(oe((function(e,t){0})),oe((function(e){e.exports=ce}))),ue={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},fe={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},le={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},pe={};function de(e){return ie.isMemo(e)?le:pe[e.$$typeof]||ue}pe[ie.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0};var ye=Object.defineProperty,he=Object.getOwnPropertyNames,me=Object.getOwnPropertySymbols,ve=Object.getOwnPropertyDescriptor,ge=Object.getPrototypeOf,be=Object.prototype;var we=function e(t,r,n){if("string"!=typeof r){if(be){var a=ge(r);a&&a!==be&&e(t,a,n)}var o=he(r);me&&(o=o.concat(me(r)));for(var s=de(t),c=de(r),i=0;i<o.length;++i){var u=o[i];if(!(fe[u]||n&&n[u]||c&&c[u]||s&&s[u])){var f=ve(r,u);try{ye(t,u,f)}catch(e){}}}}return t},xe=t.createContext({}),$e=V((function(e){return V((function(t){return function(e,t){if("function"==typeof t){return t(e)}return se({},e,{},t)}(e,t)}))}));function Ce(e,t,r){var n="";return r.split(" ").forEach((function(r){void 0!==e[r]?t.push(e[r]+";"):n+=r+" "})),n}var Se=function(e,t,r){var n=e.key+"-"+t.name;if(!1===r&&void 0===e.registered[n]&&(e.registered[n]=t.styles),void 0===e.inserted[t.name]){var a=t;do{e.insert(t===a?"."+n:"",a,e.sheet,!0);a=a.next}while(void 0!==a)}};var ke={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,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan: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},Ae=/[A-Z]|^ms/g,Oe=/_EMO_([^_]+?)_([^]*?)_EMO_/g,_e=function(e){return 45===e.charCodeAt(1)},Ee=function(e){return null!=e&&"boolean"!=typeof e},Pe=Y((function(e){return _e(e)?e:e.replace(Ae,"-$&").toLowerCase()})),je=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(Oe,(function(e,t,r){return Me={name:t,styles:r,next:Me},t}))}return 1===ke[e]||_e(e)||"number"!=typeof t||0===t?t:t+"px"};function Te(e,t,r){if(null==r)return"";if(void 0!==r.__emotion_styles)return r;switch(typeof r){case"boolean":return"";case"object":if(1===r.anim)return Me={name:r.name,styles:r.styles,next:Me},r.name;if(void 0!==r.styles){var n=r.next;if(void 0!==n)for(;void 0!==n;)Me={name:n.name,styles:n.styles,next:Me},n=n.next;var a=r.styles+";";return a}return function(e,t,r){var n="";if(Array.isArray(r))for(var a=0;a<r.length;a++)n+=Te(e,t,r[a])+";";else for(var o in r){var s=r[o];if("object"!=typeof s)null!=t&&void 0!==t[s]?n+=o+"{"+t[s]+"}":Ee(s)&&(n+=Pe(o)+":"+je(o,s)+";");else if(!Array.isArray(s)||"string"!=typeof s[0]||null!=t&&void 0!==t[s[0]]){var c=Te(e,t,s);switch(o){case"animation":case"animationName":n+=Pe(o)+":"+c+";";break;default:n+=o+"{"+c+"}"}}else for(var i=0;i<s.length;i++)Ee(s[i])&&(n+=Pe(o)+":"+je(o,s[i])+";")}return n}(e,t,r);case"function":if(void 0!==e){var o=Me,s=r(e);return Me=o,Te(e,t,s)}break;case"string":}if(null==t)return r;var c=t[r];return void 0!==c?c:r}var Me,Ne=/label:\s*([^\s;\n{]+)\s*;/g;var Re=function(e,t,r){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var n=!0,a="";Me=void 0;var o=e[0];null==o||void 0===o.raw?(n=!1,a+=Te(r,t,o)):a+=o[0];for(var s=1;s<e.length;s++)a+=Te(r,t,e[s]),n&&(a+=o[s]);Ne.lastIndex=0;for(var c,i="";null!==(c=Ne.exec(a));)i+="-"+c[1];var u=function(e){for(var t,r=0,n=0,a=e.length;a>=4;++n,a-=4)t=1540483477*(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))+(59797*(t>>>16)<<16),r=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&r)+(59797*(r>>>16)<<16);switch(a){case 3:r^=(255&e.charCodeAt(n+2))<<16;case 2:r^=(255&e.charCodeAt(n+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(n)))+(59797*(r>>>16)<<16)}return(((r=1540483477*(65535&(r^=r>>>13))+(59797*(r>>>16)<<16))^r>>>15)>>>0).toString(36)}(a)+i;return{name:u,styles:a,next:Me}},ze="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Fe=function(e,t){var r={};for(var n in t)te.call(t,n)&&(r[n]=t[n]);return r[ze]=e,r},De=ae((function(e,r,n){var a=e.css;"string"==typeof a&&void 0!==r.registered[a]&&(a=r.registered[a]);var o=e[ze],s=[a],c="";"string"==typeof e.className?c=Ce(r.registered,s,e.className):null!=e.className&&(c=e.className+" ");var i=Re(s,void 0,"function"==typeof a||Array.isArray(a)?t.useContext(xe):void 0);Se(r,i,"string"==typeof o);c+=r.key+"-"+i.name;var u={};for(var f in e)te.call(e,f)&&"css"!==f&&f!==ze&&(u[f]=e[f]);return u.ref=n,u.className=c,t.createElement(o,u)}));var Ge=function(e,r){var n=arguments;if(null==r||!te.call(r,"css"))return t.createElement.apply(void 0,n);var a=n.length,o=new Array(a);o[0]=De,o[1]=Fe(e,r);for(var s=2;s<a;s++)o[s]=n[s];return t.createElement.apply(null,o)},Le=ae((function(e,n){var a=e.styles,o=Re([a],void 0,"function"==typeof a||Array.isArray(a)?t.useContext(xe):void 0),s=t.useRef();return t.useLayoutEffect((function(){var e=n.key+"-global",t=new r({key:e,nonce:n.sheet.nonce,container:n.sheet.container,speedy:n.sheet.isSpeedy}),a=document.querySelector('style[data-emotion="'+e+" "+o.name+'"]');return n.sheet.tags.length&&(t.before=n.sheet.tags[0]),null!==a&&t.hydrate([a]),s.current=t,function(){t.flush()}}),[n]),t.useLayoutEffect((function(){void 0!==o.next&&Se(n,o.next,!0);var e=s.current;if(e.tags.length){var t=e.tags[e.tags.length-1].nextElementSibling;e.before=t,e.flush()}n.insert("",o,e,!1)}),[n,o.name]),null}));function Ie(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Re(t)}var We=function e(t){for(var r=t.length,n=0,a="";n<r;n++){var o=t[n];if(null!=o){var s=void 0;switch(typeof o){case"boolean":break;case"object":if(Array.isArray(o))s=e(o);else for(var c in s="",o)o[c]&&c&&(s&&(s+=" "),s+=c);break;default:s=o}s&&(a&&(a+=" "),a+=s)}}return a};function qe(e,t,r){var n=[],a=Ce(e,n,r);return n.length<2?r:a+t(n)}var He=ae((function(e,r){var n=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var a=Re(t,r.registered);return Se(r,a,!1),r.key+"-"+a.name},a={css:n,cx:function(){for(var e=arguments.length,t=new Array(e),a=0;a<e;a++)t[a]=arguments[a];return qe(r.registered,n,We(t))},theme:t.useContext(xe)},o=e.children(a);return!0,o}));e.CacheProvider=ne,e.ClassNames=He,e.Global=Le,e.ThemeContext=xe,e.ThemeProvider=function(e){var r=t.useContext(xe);return e.theme!==r&&(r=$e(r)(e.theme)),t.createElement(xe.Provider,{value:r},e.children)},e.createElement=Ge,e.css=Ie,e.jsx=Ge,e.keyframes=function(){var e=Ie.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}},e.useTheme=function(){return t.useContext(xe)},e.withEmotionCache=ae,e.withTheme=function(e){var r=e.displayName||e.name||"Component",n=function(r,n){var a=t.useContext(xe);return t.createElement(e,se({theme:a,ref:n},r))},a=t.forwardRef(n);return a.displayName="WithTheme("+r+")",we(a,e)},Object.defineProperty(e,"__esModule",{value:!0})})); | ||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("react")):"function"==typeof define&&define.amd?define(["exports","react"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).emotionReact={},e.React)}(this,(function(e,t){"use strict";var r=function(){function e(e){var t=this;this._insertTag=function(e){var r;r=0===t.tags.length?t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,r),t.tags.push(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.prepend=e.prepend,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(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("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var r=function(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]}(t);try{r.insertRule(e,r.cssRules.length)}catch(e){0}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}(),n="-ms-",a="-moz-",o="-webkit-",s="comm",c="rule",i="decl",u=Math.abs,f=String.fromCharCode;function l(e){return e.trim()}function p(e,t,r){return e.replace(t,r)}function d(e,t){return 0|e.charCodeAt(t)}function y(e,t,r){return e.slice(t,r)}function h(e){return e.length}function m(e){return e.length}function v(e,t){return t.push(e),e}var g=1,b=1,x=0,w=0,$=0,C="";function S(e,t,r,n,a,o,s){return{value:e,root:t,parent:r,type:n,props:a,children:o,line:g,column:b,length:s,return:""}}function k(e,t,r){return S(e,t.root,t.parent,r,t.props,t.children,0)}function A(){return $=w<x?d(C,w++):0,b++,10===$&&(b=1,g++),$}function _(){return d(C,w)}function O(){return w}function E(e,t){return y(C,e,t)}function P(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function j(e){return g=b=1,x=h(C=e),w=0,[]}function M(e){return C="",e}function T(e){return l(E(w-1,R(91===e?e+2:40===e?e+1:e)))}function N(e){for(;($=_())&&$<33;)A();return P(e)>2||P($)>3?"":" "}function R(e){for(;A();)switch($){case e:return w;case 34:case 39:return R(34===e||39===e?e:$);case 40:41===e&&R(e);break;case 92:A()}return w}function z(e,t){for(;A()&&e+$!==57&&(e+$!==84||47!==_()););return"/*"+E(t,w-1)+"*"+f(47===e?e:A())}function F(e){for(;!P(_());)A();return E(e,w)}function D(e){return M(G("",null,null,null,[""],e=j(e),0,[0],e))}function G(e,t,r,n,a,o,s,c,i){for(var u=0,l=0,d=s,y=0,m=0,g=0,b=1,x=1,w=1,$=0,C="",S=a,k=o,E=n,P=C;x;)switch(g=$,$=A()){case 34:case 39:case 91:case 40:P+=T($);break;case 9:case 10:case 13:case 32:P+=N(g);break;case 47:switch(_()){case 42:case 47:v(I(z(A(),O()),t,r),i);break;default:P+="/"}break;case 123*b:c[u++]=h(P)*w;case 125*b:case 59:case 0:switch($){case 0:case 125:x=0;case 59+l:m>0&&v(m>32?W(P+";",n,r,d-1):W(p(P," ","")+";",n,r,d-2),i);break;case 59:P+=";";default:if(v(E=L(P,t,r,u,l,a,c,C,S=[],k=[],d),o),123===$)if(0===l)G(P,t,E,E,S,o,d,c,k);else switch(y){case 100:case 109:case 115:G(e,E,E,n&&v(L(e,E,E,0,0,a,c,C,a,S=[],d),k),a,k,d,c,n?S:k);break;default:G(P,E,E,E,[""],k,d,c,k)}}u=l=m=0,b=w=1,C=P="",d=s;break;case 58:d=1+h(P),m=g;default:switch(P+=f($),$*b){case 38:w=l>0?1:(P+="\f",-1);break;case 44:c[u++]=(h(P)-1)*w,w=1;break;case 64:45===_()&&(P+=T(A())),y=_(),l=h(C=P+=F(O())),$++;break;case 45:45===g&&2==h(P)&&(b=0)}}return o}function L(e,t,r,n,a,o,s,i,f,d,h){for(var v=a-1,g=0===a?o:[""],b=m(g),x=0,w=0,$=0;x<n;++x)for(var C=0,k=y(e,v+1,v=u(w=s[x])),A=e;C<b;++C)(A=l(w>0?g[C]+" "+k:p(k,/&\f/g,g[C])))&&(f[$++]=A);return S(e,t,r,0===a?c:i,f,d,h)}function I(e,t,r){return S(e,t,r,s,f($),y(e,2,-2),0)}function W(e,t,r,n){return S(e,t,r,i,y(e,0,n),y(e,n+1,-1),n)}function q(e,t){switch(function(e,t){return(((t<<2^d(e,0))<<2^d(e,1))<<2^d(e,2))<<2^d(e,3)}(e,t)){case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return o+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return o+e+a+e+n+e+e;case 6828:case 4268:return o+e+n+e+e;case 6165:return o+e+n+"flex-"+e+e;case 5187:return o+e+p(e,/(\w+).+(:[^]+)/,o+"box-$1$2"+n+"flex-$1$2")+e;case 5443:return o+e+n+"flex-item-"+p(e,/flex-|-self/,"")+e;case 4675:return o+e+n+"flex-line-pack"+p(e,/align-content|flex-|-self/,"")+e;case 5548:return o+e+n+p(e,"shrink","negative")+e;case 5292:return o+e+n+p(e,"basis","preferred-size")+e;case 6060:return o+"box-"+p(e,"-grow","")+o+e+n+p(e,"grow","positive")+e;case 4554:return o+p(e,/([^-])(transform)/g,"$1"+o+"$2")+e;case 6187:return p(p(p(e,/(zoom-|grab)/,o+"$1"),/(image-set)/,o+"$1"),e,"")+e;case 5495:case 3959:return p(e,/(image-set\([^]*)/,o+"$1$`$1");case 4968:return p(p(e,/(.+:)(flex-)?(.*)/,o+"box-pack:$3"+n+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+o+e+e;case 4095:case 3583:case 4068:case 2532:return p(e,/(.+)-inline(.+)/,o+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(h(e)-1-t>6)switch(d(e,t+1)){case 109:return p(e,/(.+:)(.+)-([^]+)/,"$1"+o+"$2-$3$1"+a+"$2-$3")+e;case 102:return p(e,/(.+:)(.+)-([^]+)/,"$1"+o+"$2-$3$1"+a+"$3")+e;case 115:return q(p(e,"stretch","fill-available"),t)+e}break;case 4949:if(115!==d(e,t+1))break;case 6444:switch(d(e,h(e)-3-(~function(e,t){return e.indexOf(t)}(e,"!important")&&10))){case 107:case 111:return p(e,e,o+e)+e;case 101:return p(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+o+(45===d(e,14)?"inline-":"")+"box$3$1"+o+"$2$3$1"+n+"$2box$3")+e}break;case 5936:switch(d(e,t+11)){case 114:return o+e+n+p(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return o+e+n+p(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return o+e+n+p(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return o+e+n+e+e}return e}function H(e,t){for(var r="",n=m(e),a=0;a<n;a++)r+=t(e[a],a,e,t)||"";return r}function B(e,t,r,n){switch(e.type){case"@import":case i:return e.return=e.return||e.value;case s:return"";case c:e.value=e.props.join(",")}return h(r=H(e.children,n))?e.return=e.value+"{"+r+"}":""}function U(e){return function(t){t.root||(t=t.return)&&e(t)}}var V=function(e){var t=new WeakMap;return function(r){if(t.has(r))return t.get(r);var n=e(r);return t.set(r,n),n}};function Y(e){var t=Object.create(null);return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}}var Z=function(e,t){return M(function(e,t){var r=-1,n=44;do{switch(P(n)){case 0:38===n&&12===_()&&(t[r]=1),e[r]+=F(w-1);break;case 2:e[r]+=T(n);break;case 4:if(44===n){e[++r]=58===_()?"&\f":"",t[r]=e[r].length;break}default:e[r]+=f(n)}}while(n=A());return e}(j(e),t))},J=new WeakMap,K=function(e){if("rule"===e.type&&e.parent&&e.length){for(var t=e.value,r=e.parent,n=e.column===r.column&&e.line===r.line;"rule"!==r.type;)if(!(r=r.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||J.get(r))&&!n){J.set(e,!0);for(var a=[],o=Z(t,a),s=r.props,c=0,i=0;c<o.length;c++)for(var u=0;u<s.length;u++,i++)e.props[i]=a[c]?o[c].replace(/&\f/g,s[u]):s[u]+" "+o[c]}}},Q=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}},X=[function(e,t,r,a){if(!e.return)switch(e.type){case i:e.return=q(e.value,e.length);break;case"@keyframes":return H([k(p(e.value,"@","@"+o),e,"")],a);case c:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return H([k(p(t,/:(read-\w+)/,":-moz-$1"),e,"")],a);case"::placeholder":return H([k(p(t,/:(plac\w+)/,":"+o+"input-$1"),e,""),k(p(t,/:(plac\w+)/,":-moz-$1"),e,""),k(p(t,/:(plac\w+)/,n+"input-$1"),e,"")],a)}return""}))}}],ee=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var a=e.stylisPlugins||X;var o,s,c={},i=[];o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),r=1;r<t.length;r++)c[t[r]]=!0;i.push(e)}));var u=[K,Q];var f,l=[B,U((function(e){f.insert(e)}))],p=function(e){var t=m(e);return function(r,n,a,o){for(var s="",c=0;c<t;c++)s+=e[c](r,n,a,o)||"";return s}}(u.concat(a,l));s=function(e,t,r,n){f=r,H(D(e?e+"{"+t.styles+"}":t.styles),p),n&&(d.inserted[t.name]=!0)};var d={key:t,sheet:new r({key:t,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend}),nonce:e.nonce,inserted:c,registered:{},insert:s};return d.sheet.hydrate(i),d},te=Object.prototype.hasOwnProperty,re=t.createContext("undefined"!=typeof HTMLElement?ee({key:"css"}):null),ne=re.Provider,ae=function(e){return t.forwardRef((function(r,n){var a=t.useContext(re);return e(r,a,n)}))};function oe(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function se(e,t,r){return e(r={path:t,exports:{},require:function(e,t){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==t&&r.path)}},r.exports),r.exports}var ce=oe(se((function(e){function t(){return e.exports=t=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},e.exports.default=e.exports,e.exports.__esModule=!0,t.apply(this,arguments)}e.exports=t,e.exports.default=e.exports,e.exports.__esModule=!0}))),ie=se((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,a=r?Symbol.for("react.portal"):60106,o=r?Symbol.for("react.fragment"):60107,s=r?Symbol.for("react.strict_mode"):60108,c=r?Symbol.for("react.profiler"):60114,i=r?Symbol.for("react.provider"):60109,u=r?Symbol.for("react.context"):60110,f=r?Symbol.for("react.async_mode"):60111,l=r?Symbol.for("react.concurrent_mode"):60111,p=r?Symbol.for("react.forward_ref"):60112,d=r?Symbol.for("react.suspense"):60113,y=r?Symbol.for("react.suspense_list"):60120,h=r?Symbol.for("react.memo"):60115,m=r?Symbol.for("react.lazy"):60116,v=r?Symbol.for("react.fundamental"):60117,g=r?Symbol.for("react.responder"):60118,b=r?Symbol.for("react.scope"):60119;function x(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case f:case l:case o:case c:case s:case d:return e;default:switch(e=e&&e.$$typeof){case u:case p:case m:case h:case i:return e;default:return t}}case a:return t}}}function w(e){return x(e)===l}t.typeOf=x,t.AsyncMode=f,t.ConcurrentMode=l,t.ContextConsumer=u,t.ContextProvider=i,t.Element=n,t.ForwardRef=p,t.Fragment=o,t.Lazy=m,t.Memo=h,t.Portal=a,t.Profiler=c,t.StrictMode=s,t.Suspense=d,t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===l||e===c||e===s||e===d||e===y||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===h||e.$$typeof===i||e.$$typeof===u||e.$$typeof===p||e.$$typeof===v||e.$$typeof===g||e.$$typeof===b)},t.isAsyncMode=function(e){return w(e)||x(e)===f},t.isConcurrentMode=w,t.isContextConsumer=function(e){return x(e)===u},t.isContextProvider=function(e){return x(e)===i},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return x(e)===p},t.isFragment=function(e){return x(e)===o},t.isLazy=function(e){return x(e)===m},t.isMemo=function(e){return x(e)===h},t.isPortal=function(e){return x(e)===a},t.isProfiler=function(e){return x(e)===c},t.isStrictMode=function(e){return x(e)===s},t.isSuspense=function(e){return x(e)===d}})),ue=(se((function(e,t){0})),se((function(e){e.exports=ie}))),fe={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},le={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},pe={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},de={};function ye(e){return ue.isMemo(e)?pe:de[e.$$typeof]||fe}de[ue.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0};var he=Object.defineProperty,me=Object.getOwnPropertyNames,ve=Object.getOwnPropertySymbols,ge=Object.getOwnPropertyDescriptor,be=Object.getPrototypeOf,xe=Object.prototype;var we=function e(t,r,n){if("string"!=typeof r){if(xe){var a=be(r);a&&a!==xe&&e(t,a,n)}var o=me(r);ve&&(o=o.concat(ve(r)));for(var s=ye(t),c=ye(r),i=0;i<o.length;++i){var u=o[i];if(!(le[u]||n&&n[u]||c&&c[u]||s&&s[u])){var f=ge(r,u);try{he(t,u,f)}catch(e){}}}}return t},$e=t.createContext({}),Ce=V((function(e){return V((function(t){return function(e,t){if("function"==typeof t){return t(e)}return ce({},e,t)}(e,t)}))}));function Se(e,t,r){var n="";return r.split(" ").forEach((function(r){void 0!==e[r]?t.push(e[r]+";"):n+=r+" "})),n}var ke=function(e,t,r){var n=e.key+"-"+t.name;if(!1===r&&void 0===e.registered[n]&&(e.registered[n]=t.styles),void 0===e.inserted[t.name]){var a=t;do{e.insert(t===a?"."+n:"",a,e.sheet,!0);a=a.next}while(void 0!==a)}};var Ae={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,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan: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},_e=/[A-Z]|^ms/g,Oe=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Ee=function(e){return 45===e.charCodeAt(1)},Pe=function(e){return null!=e&&"boolean"!=typeof e},je=Y((function(e){return Ee(e)?e:e.replace(_e,"-$&").toLowerCase()})),Me=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(Oe,(function(e,t,r){return Ne={name:t,styles:r,next:Ne},t}))}return 1===Ae[e]||Ee(e)||"number"!=typeof t||0===t?t:t+"px"};function Te(e,t,r){if(null==r)return"";if(void 0!==r.__emotion_styles)return r;switch(typeof r){case"boolean":return"";case"object":if(1===r.anim)return Ne={name:r.name,styles:r.styles,next:Ne},r.name;if(void 0!==r.styles){var n=r.next;if(void 0!==n)for(;void 0!==n;)Ne={name:n.name,styles:n.styles,next:Ne},n=n.next;var a=r.styles+";";return a}return function(e,t,r){var n="";if(Array.isArray(r))for(var a=0;a<r.length;a++)n+=Te(e,t,r[a])+";";else for(var o in r){var s=r[o];if("object"!=typeof s)null!=t&&void 0!==t[s]?n+=o+"{"+t[s]+"}":Pe(s)&&(n+=je(o)+":"+Me(o,s)+";");else if(!Array.isArray(s)||"string"!=typeof s[0]||null!=t&&void 0!==t[s[0]]){var c=Te(e,t,s);switch(o){case"animation":case"animationName":n+=je(o)+":"+c+";";break;default:n+=o+"{"+c+"}"}}else for(var i=0;i<s.length;i++)Pe(s[i])&&(n+=je(o)+":"+Me(o,s[i])+";")}return n}(e,t,r);case"function":if(void 0!==e){var o=Ne,s=r(e);return Ne=o,Te(e,t,s)}break;case"string":}if(null==t)return r;var c=t[r];return void 0!==c?c:r}var Ne,Re=/label:\s*([^\s;\n{]+)\s*(;|$)/g;var ze=function(e,t,r){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var n=!0,a="";Ne=void 0;var o=e[0];null==o||void 0===o.raw?(n=!1,a+=Te(r,t,o)):a+=o[0];for(var s=1;s<e.length;s++)a+=Te(r,t,e[s]),n&&(a+=o[s]);Re.lastIndex=0;for(var c,i="";null!==(c=Re.exec(a));)i+="-"+c[1];var u=function(e){for(var t,r=0,n=0,a=e.length;a>=4;++n,a-=4)t=1540483477*(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))+(59797*(t>>>16)<<16),r=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&r)+(59797*(r>>>16)<<16);switch(a){case 3:r^=(255&e.charCodeAt(n+2))<<16;case 2:r^=(255&e.charCodeAt(n+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(n)))+(59797*(r>>>16)<<16)}return(((r=1540483477*(65535&(r^=r>>>13))+(59797*(r>>>16)<<16))^r>>>15)>>>0).toString(36)}(a)+i;return{name:u,styles:a,next:Ne}},Fe="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",De=function(e,t){var r={};for(var n in t)te.call(t,n)&&(r[n]=t[n]);return r[Fe]=e,r},Ge=ae((function(e,r,n){var a=e.css;"string"==typeof a&&void 0!==r.registered[a]&&(a=r.registered[a]);var o=e[Fe],s=[a],c="";"string"==typeof e.className?c=Se(r.registered,s,e.className):null!=e.className&&(c=e.className+" ");var i=ze(s,void 0,"function"==typeof a||Array.isArray(a)?t.useContext($e):void 0);ke(r,i,"string"==typeof o);c+=r.key+"-"+i.name;var u={};for(var f in e)te.call(e,f)&&"css"!==f&&f!==Fe&&(u[f]=e[f]);return u.ref=n,u.className=c,t.createElement(o,u)}));var Le=function(e,r){var n=arguments;if(null==r||!te.call(r,"css"))return t.createElement.apply(void 0,n);var a=n.length,o=new Array(a);o[0]=Ge,o[1]=De(e,r);for(var s=2;s<a;s++)o[s]=n[s];return t.createElement.apply(null,o)},Ie=ae((function(e,n){var a=e.styles,o=ze([a],void 0,"function"==typeof a||Array.isArray(a)?t.useContext($e):void 0),s=t.useRef();return t.useLayoutEffect((function(){var e=n.key+"-global",t=new r({key:e,nonce:n.sheet.nonce,container:n.sheet.container,speedy:n.sheet.isSpeedy}),a=!1,c=document.querySelector('style[data-emotion="'+e+" "+o.name+'"]');return n.sheet.tags.length&&(t.before=n.sheet.tags[0]),null!==c&&(a=!0,c.setAttribute("data-emotion",e),t.hydrate([c])),s.current=[t,a],function(){t.flush()}}),[n]),t.useLayoutEffect((function(){var e=s.current,t=e[0];if(e[1])e[1]=!1;else{if(void 0!==o.next&&ke(n,o.next,!0),t.tags.length){var r=t.tags[t.tags.length-1].nextElementSibling;t.before=r,t.flush()}n.insert("",o,t,!1)}}),[n,o.name]),null}));function We(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return ze(t)}var qe=function e(t){for(var r=t.length,n=0,a="";n<r;n++){var o=t[n];if(null!=o){var s=void 0;switch(typeof o){case"boolean":break;case"object":if(Array.isArray(o))s=e(o);else for(var c in s="",o)o[c]&&c&&(s&&(s+=" "),s+=c);break;default:s=o}s&&(a&&(a+=" "),a+=s)}}return a};function He(e,t,r){var n=[],a=Se(e,n,r);return n.length<2?r:a+t(n)}var Be=ae((function(e,r){var n=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var a=ze(t,r.registered);return ke(r,a,!1),r.key+"-"+a.name},a={css:n,cx:function(){for(var e=arguments.length,t=new Array(e),a=0;a<e;a++)t[a]=arguments[a];return He(r.registered,n,qe(t))},theme:t.useContext($e)},o=e.children(a);return!0,o}));e.CacheProvider=ne,e.ClassNames=Be,e.Global=Ie,e.ThemeContext=$e,e.ThemeProvider=function(e){var r=t.useContext($e);return e.theme!==r&&(r=Ce(r)(e.theme)),t.createElement($e.Provider,{value:r},e.children)},e.createElement=Le,e.css=We,e.jsx=Le,e.keyframes=function(){var e=We.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}},e.useTheme=function(){return t.useContext($e)},e.withEmotionCache=ae,e.withTheme=function(e){var r=e.displayName||e.name||"Component",n=function(r,n){var a=t.useContext($e);return t.createElement(e,ce({theme:a,ref:n},r))},a=t.forwardRef(n);return a.displayName="WithTheme("+r+")",we(a,e)},Object.defineProperty(e,"__esModule",{value:!0})})); | ||
//# sourceMappingURL=bumbag-emotion-react.umd.min.js.map |
@@ -5,6 +5,2 @@ { | ||
"umd:main": "dist/bumbag-emotion-react-isolated-hoist-non-react-statics-do-not-use-this-in-your-code.umd.min.js", | ||
"browser": { | ||
"./dist/bumbag-emotion-react-isolated-hoist-non-react-statics-do-not-use-this-in-your-code.cjs.js": "./dist/bumbag-emotion-react-isolated-hoist-non-react-statics-do-not-use-this-in-your-code.browser.cjs.js", | ||
"./dist/bumbag-emotion-react-isolated-hoist-non-react-statics-do-not-use-this-in-your-code.esm.js": "./dist/bumbag-emotion-react-isolated-hoist-non-react-statics-do-not-use-this-in-your-code.browser.esm.js" | ||
}, | ||
"sideEffects": false, | ||
@@ -11,0 +7,0 @@ "preconstruct": { |
@@ -7,3 +7,3 @@ 'use strict'; | ||
require('@emotion/cache'); | ||
var emotionElement = require('../../dist/emotion-element-1fddca1c.cjs.dev.js'); | ||
var emotionElement = require('../../dist/emotion-element-60bac721.cjs.dev.js'); | ||
require('@babel/runtime/helpers/extends'); | ||
@@ -10,0 +10,0 @@ require('@emotion/weak-memoize'); |
@@ -7,3 +7,3 @@ "use strict"; | ||
var emotionElement = require("../../dist/emotion-element-0a93e42f.cjs.prod.js"); | ||
var emotionElement = require("../../dist/emotion-element-4294b745.cjs.prod.js"); | ||
@@ -10,0 +10,0 @@ require("@babel/runtime/helpers/extends"), require("@emotion/weak-memoize"), require("hoist-non-react-statics"), |
import 'react'; | ||
import '@emotion/cache'; | ||
import { h as hasOwnProperty, E as Emotion, c as createEmotionProps } from '../../dist/emotion-element-9c05a186.esm.js'; | ||
import { h as hasOwnProperty, E as Emotion, c as createEmotionProps } from '../../dist/emotion-element-cfa37aa9.esm.js'; | ||
import '@babel/runtime/helpers/extends'; | ||
@@ -5,0 +5,0 @@ import '@emotion/weak-memoize'; |
@@ -1,2 +0,2 @@ | ||
!function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("react/jsx-dev-runtime"),require("react")):"function"==typeof define&&define.amd?define(["exports","react/jsx-dev-runtime","react"],r):r((e="undefined"!=typeof globalThis?globalThis:e||self).emotionReactJSXDevRuntime={},e.ReactJSXDev,e.React)}(this,(function(e,r,t){"use strict";var n=function(){function e(e){var r=this;this._insertTag=function(e){var t;t=0===r.tags.length?r.prepend?r.container.firstChild:r.before:r.tags[r.tags.length-1].nextSibling,r.container.insertBefore(e,t),r.tags.push(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.prepend=e.prepend,this.before=null}var r=e.prototype;return r.hydrate=function(e){e.forEach(this._insertTag)},r.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var r=document.createElement("style");return r.setAttribute("data-emotion",e.key),void 0!==e.nonce&&r.setAttribute("nonce",e.nonce),r.appendChild(document.createTextNode("")),r.setAttribute("data-s",""),r}(this));var r=this.tags[this.tags.length-1];if(this.isSpeedy){var t=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]}(r);try{t.insertRule(e,t.cssRules.length)}catch(e){0}}else r.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}(),a="-ms-",s="-moz-",c="-webkit-",o="comm",i="rule",u="decl",l=Math.abs,f=String.fromCharCode;function d(e){return e.trim()}function p(e,r,t){return e.replace(r,t)}function h(e,r){return 0|e.charCodeAt(r)}function v(e,r,t){return e.slice(r,t)}function m(e){return e.length}function y(e){return e.length}function g(e,r){return r.push(e),e}var b=1,x=1,w=0,k=0,$=0,C="";function A(e,r,t,n,a,s,c){return{value:e,root:r,parent:t,type:n,props:a,children:s,line:b,column:x,length:c,return:""}}function S(e,r,t){return A(e,r.root,r.parent,t,r.props,r.children,0)}function _(){return $=k<w?h(C,k++):0,x++,10===$&&(x=1,b++),$}function E(){return h(C,k)}function O(){return k}function j(e,r){return v(C,e,r)}function N(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function R(e){return b=x=1,w=m(C=e),k=0,[]}function T(e){return C="",e}function D(e){return d(j(k-1,M(91===e?e+2:40===e?e+1:e)))}function z(e){for(;($=E())&&$<33;)_();return N(e)>2||N($)>3?"":" "}function M(e){for(;_();)switch($){case e:return k;case 34:case 39:return M(34===e||39===e?e:$);case 40:41===e&&M(e);break;case 92:_()}return k}function P(e,r){for(;_()&&e+$!==57&&(e+$!==84||47!==E()););return"/*"+j(r,k-1)+"*"+f(47===e?e:_())}function G(e){for(;!N(E());)_();return j(e,k)}function I(e){return T(q("",null,null,null,[""],e=R(e),0,[0],e))}function q(e,r,t,n,a,s,c,o,i){for(var u=0,l=0,d=c,h=0,v=0,y=0,b=1,x=1,w=1,k=0,$="",C=a,A=s,S=n,j=$;x;)switch(y=k,k=_()){case 34:case 39:case 91:case 40:j+=D(k);break;case 9:case 10:case 13:case 32:j+=z(y);break;case 47:switch(E()){case 42:case 47:g(F(P(_(),O()),r,t),i);break;default:j+="/"}break;case 123*b:o[u++]=m(j)*w;case 125*b:case 59:case 0:switch(k){case 0:case 125:x=0;case 59+l:v>0&&g(v>32?L(j+";",n,t,d-1):L(p(j," ","")+";",n,t,d-2),i);break;case 59:j+=";";default:if(g(S=W(j,r,t,u,l,a,o,$,C=[],A=[],d),s),123===k)if(0===l)q(j,r,S,S,C,s,d,o,A);else switch(h){case 100:case 109:case 115:q(e,S,S,n&&g(W(e,S,S,0,0,a,o,$,a,C=[],d),A),a,A,d,o,n?C:A);break;default:q(j,S,S,S,[""],A,d,o,A)}}u=l=v=0,b=w=1,$=j="",d=c;break;case 58:d=1+m(j),v=y;default:switch(j+=f(k),k*b){case 38:w=l>0?1:(j+="\f",-1);break;case 44:o[u++]=(m(j)-1)*w,w=1;break;case 64:45===E()&&(j+=D(_())),h=E(),l=m($=j+=G(O())),k++;break;case 45:45===y&&2==m(j)&&(b=0)}}return s}function W(e,r,t,n,a,s,c,o,u,f,h){for(var m=a-1,g=0===a?s:[""],b=y(g),x=0,w=0,k=0;x<n;++x)for(var $=0,C=v(e,m+1,m=l(w=c[x])),S=e;$<b;++$)(S=d(w>0?g[$]+" "+C:p(C,/&\f/g,g[$])))&&(u[k++]=S);return A(e,r,t,0===a?i:o,u,f,h)}function F(e,r,t){return A(e,r,t,o,f($),v(e,2,-2),0)}function L(e,r,t,n){return A(e,r,t,u,v(e,0,n),v(e,n+1,-1),n)}function V(e,r){switch(function(e,r){return(((r<<2^h(e,0))<<2^h(e,1))<<2^h(e,2))<<2^h(e,3)}(e,r)){case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return c+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return c+e+s+e+a+e+e;case 6828:case 4268:return c+e+a+e+e;case 6165:return c+e+a+"flex-"+e+e;case 5187:return c+e+p(e,/(\w+).+(:[^]+)/,c+"box-$1$2"+a+"flex-$1$2")+e;case 5443:return c+e+a+"flex-item-"+p(e,/flex-|-self/,"")+e;case 4675:return c+e+a+"flex-line-pack"+p(e,/align-content|flex-|-self/,"")+e;case 5548:return c+e+a+p(e,"shrink","negative")+e;case 5292:return c+e+a+p(e,"basis","preferred-size")+e;case 6060:return c+"box-"+p(e,"-grow","")+c+e+a+p(e,"grow","positive")+e;case 4554:return c+p(e,/([^-])(transform)/g,"$1"+c+"$2")+e;case 6187:return p(p(p(e,/(zoom-|grab)/,c+"$1"),/(image-set)/,c+"$1"),e,"")+e;case 5495:case 3959:return p(e,/(image-set\([^]*)/,c+"$1$`$1");case 4968:return p(p(e,/(.+:)(flex-)?(.*)/,c+"box-pack:$3"+a+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+c+e+e;case 4095:case 3583:case 4068:case 2532:return p(e,/(.+)-inline(.+)/,c+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(m(e)-1-r>6)switch(h(e,r+1)){case 109:return p(e,/(.+:)(.+)-([^]+)/,"$1"+c+"$2-$3$1"+s+"$2-$3")+e;case 102:return p(e,/(.+:)(.+)-([^]+)/,"$1"+c+"$2-$3$1"+s+"$3")+e;case 115:return V(p(e,"stretch","fill-available"),r)+e}break;case 4949:if(115!==h(e,r+1))break;case 6444:switch(h(e,m(e)-3-(~function(e,r){return e.indexOf(r)}(e,"!important")&&10))){case 107:case 111:return p(e,e,c+e)+e;case 101:return p(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+c+(45===h(e,14)?"inline-":"")+"box$3$1"+c+"$2$3$1"+a+"$2box$3")+e}break;case 5936:switch(h(e,r+11)){case 114:return c+e+a+p(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return c+e+a+p(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return c+e+a+p(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return c+e+a+e+e}return e}function H(e,r){for(var t="",n=y(e),a=0;a<n;a++)t+=r(e[a],a,e,r)||"";return t}function J(e,r,t,n){switch(e.type){case"@import":case u:return e.return=e.return||e.value;case o:return"";case i:e.value=e.props.join(",")}return m(t=H(e.children,n))?e.return=e.value+"{"+t+"}":""}function X(e){return function(r){r.root||(r=r.return)&&e(r)}}function B(e){var r=Object.create(null);return function(t){return void 0===r[t]&&(r[t]=e(t)),r[t]}}var U=function(e,r){return T(function(e,r){var t=-1,n=44;do{switch(N(n)){case 0:38===n&&12===E()&&(r[t]=1),e[t]+=G(k-1);break;case 2:e[t]+=D(n);break;case 4:if(44===n){e[++t]=58===E()?"&\f":"",r[t]=e[t].length;break}default:e[t]+=f(n)}}while(n=_());return e}(R(e),r))},Y=new WeakMap,Z=function(e){if("rule"===e.type&&e.parent&&e.length){for(var r=e.value,t=e.parent,n=e.column===t.column&&e.line===t.line;"rule"!==t.type;)if(!(t=t.parent))return;if((1!==e.props.length||58===r.charCodeAt(0)||Y.get(t))&&!n){Y.set(e,!0);for(var a=[],s=U(r,a),c=t.props,o=0,i=0;o<s.length;o++)for(var u=0;u<c.length;u++,i++)e.props[i]=a[o]?s[o].replace(/&\f/g,c[u]):c[u]+" "+s[o]}}},K=function(e){if("decl"===e.type){var r=e.value;108===r.charCodeAt(0)&&98===r.charCodeAt(2)&&(e.return="",e.value="")}},Q=[function(e,r,t,n){if(!e.return)switch(e.type){case u:e.return=V(e.value,e.length);break;case"@keyframes":return H([S(p(e.value,"@","@"+c),e,"")],n);case i:if(e.length)return function(e,r){return e.map(r).join("")}(e.props,(function(r){switch(function(e,r){return(e=r.exec(e))?e[0]:e}(r,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return H([S(p(r,/:(read-\w+)/,":-moz-$1"),e,"")],n);case"::placeholder":return H([S(p(r,/:(plac\w+)/,":"+c+"input-$1"),e,""),S(p(r,/:(plac\w+)/,":-moz-$1"),e,""),S(p(r,/:(plac\w+)/,a+"input-$1"),e,"")],n)}return""}))}}],ee=function(e){var r=e.key;if("css"===r){var t=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(t,(function(e){document.head.appendChild(e),e.setAttribute("data-s","")}))}var a=e.stylisPlugins||Q;var s,c,o={},i=[];s=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll("style[data-emotion]"),(function(e){var t=e.getAttribute("data-emotion").split(" ");if(t[0]===r){for(var n=1;n<t.length;n++)o[t[n]]=!0;i.push(e)}}));var u=[Z,K];var l,f=[J,X((function(e){l.insert(e)}))],d=function(e){var r=y(e);return function(t,n,a,s){for(var c="",o=0;o<r;o++)c+=e[o](t,n,a,s)||"";return c}}(u.concat(a,f));c=function(e,r,t,n){l=t,H(I(e?e+"{"+r.styles+"}":r.styles),d),n&&(p.inserted[r.name]=!0)};var p={key:r,sheet:new n({key:r,container:s,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend}),nonce:e.nonce,inserted:o,registered:{},insert:c};return p.sheet.hydrate(i),p},re=Object.prototype.hasOwnProperty,te=t.createContext("undefined"!=typeof HTMLElement?ee({key:"css"}):null),ne=(te.Provider,function(e){return t.forwardRef((function(r,n){var a=t.useContext(te);return e(r,a,n)}))});!function(e,r,t){e(t={path:r,exports:{},require:function(e,r){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==r&&t.path)}},t.exports),t.exports}((function(e){function r(){return e.exports=r=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},r.apply(this,arguments)}e.exports=r}));var ae=t.createContext({});var se={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,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan: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},ce=/[A-Z]|^ms/g,oe=/_EMO_([^_]+?)_([^]*?)_EMO_/g,ie=function(e){return 45===e.charCodeAt(1)},ue=function(e){return null!=e&&"boolean"!=typeof e},le=B((function(e){return ie(e)?e:e.replace(ce,"-$&").toLowerCase()})),fe=function(e,r){switch(e){case"animation":case"animationName":if("string"==typeof r)return r.replace(oe,(function(e,r,t){return pe={name:r,styles:t,next:pe},r}))}return 1===se[e]||ie(e)||"number"!=typeof r||0===r?r:r+"px"};function de(e,r,t){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 pe={name:t.name,styles:t.styles,next:pe},t.name;if(void 0!==t.styles){var n=t.next;if(void 0!==n)for(;void 0!==n;)pe={name:n.name,styles:n.styles,next:pe},n=n.next;var a=t.styles+";";return a}return function(e,r,t){var n="";if(Array.isArray(t))for(var a=0;a<t.length;a++)n+=de(e,r,t[a])+";";else for(var s in t){var c=t[s];if("object"!=typeof c)null!=r&&void 0!==r[c]?n+=s+"{"+r[c]+"}":ue(c)&&(n+=le(s)+":"+fe(s,c)+";");else if(!Array.isArray(c)||"string"!=typeof c[0]||null!=r&&void 0!==r[c[0]]){var o=de(e,r,c);switch(s){case"animation":case"animationName":n+=le(s)+":"+o+";";break;default:n+=s+"{"+o+"}"}}else for(var i=0;i<c.length;i++)ue(c[i])&&(n+=le(s)+":"+fe(s,c[i])+";")}return n}(e,r,t);case"function":if(void 0!==e){var s=pe,c=t(e);return pe=s,de(e,r,c)}break;case"string":}if(null==r)return t;var o=r[t];return void 0!==o?o:t}var pe,he=/label:\s*([^\s;\n{]+)\s*;/g;var ve=function(e,r,t){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var n=!0,a="";pe=void 0;var s=e[0];null==s||void 0===s.raw?(n=!1,a+=de(t,r,s)):a+=s[0];for(var c=1;c<e.length;c++)a+=de(t,r,e[c]),n&&(a+=s[c]);he.lastIndex=0;for(var o,i="";null!==(o=he.exec(a));)i+="-"+o[1];var u=function(e){for(var r,t=0,n=0,a=e.length;a>=4;++n,a-=4)r=1540483477*(65535&(r=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))+(59797*(r>>>16)<<16),t=1540483477*(65535&(r^=r>>>24))+(59797*(r>>>16)<<16)^1540483477*(65535&t)+(59797*(t>>>16)<<16);switch(a){case 3:t^=(255&e.charCodeAt(n+2))<<16;case 2:t^=(255&e.charCodeAt(n+1))<<8;case 1:t=1540483477*(65535&(t^=255&e.charCodeAt(n)))+(59797*(t>>>16)<<16)}return(((t=1540483477*(65535&(t^=t>>>13))+(59797*(t>>>16)<<16))^t>>>15)>>>0).toString(36)}(a)+i;return{name:u,styles:a,next:pe}},me="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",ye=ne((function(e,r,n){var a=e.css;"string"==typeof a&&void 0!==r.registered[a]&&(a=r.registered[a]);var s=e[me],c=[a],o="";"string"==typeof e.className?o=function(e,r,t){var n="";return t.split(" ").forEach((function(t){void 0!==e[t]?r.push(e[t]+";"):n+=t+" "})),n}(r.registered,c,e.className):null!=e.className&&(o=e.className+" ");var i=ve(c,void 0,"function"==typeof a||Array.isArray(a)?t.useContext(ae):void 0);!function(e,r,t){var n=e.key+"-"+r.name;if(!1===t&&void 0===e.registered[n]&&(e.registered[n]=r.styles),void 0===e.inserted[r.name]){var a=r;do{e.insert(r===a?"."+n:"",a,e.sheet,!0),a=a.next}while(void 0!==a)}}(r,i,"string"==typeof s);o+=r.key+"-"+i.name;var u={};for(var l in e)re.call(e,l)&&"css"!==l&&l!==me&&(u[l]=e[l]);return u.ref=n,u.className=o,t.createElement(s,u)}));var ge=r.Fragment;e.Fragment=ge,e.jsxDEV=function(e,t,n,a,s,c){return re.call(t,"css")?r.jsxDEV(ye,function(e,r){var t={};for(var n in r)re.call(r,n)&&(t[n]=r[n]);return t[me]=e,t}(e,t),n,a,s,c):r.jsxDEV(e,t,n,a,s,c)},Object.defineProperty(e,"__esModule",{value:!0})})); | ||
!function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("react/jsx-dev-runtime"),require("react")):"function"==typeof define&&define.amd?define(["exports","react/jsx-dev-runtime","react"],r):r((e="undefined"!=typeof globalThis?globalThis:e||self).emotionReactJSXDevRuntime={},e.ReactJSXDev,e.React)}(this,(function(e,r,t){"use strict";var n=function(){function e(e){var r=this;this._insertTag=function(e){var t;t=0===r.tags.length?r.prepend?r.container.firstChild:r.before:r.tags[r.tags.length-1].nextSibling,r.container.insertBefore(e,t),r.tags.push(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.prepend=e.prepend,this.before=null}var r=e.prototype;return r.hydrate=function(e){e.forEach(this._insertTag)},r.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var r=document.createElement("style");return r.setAttribute("data-emotion",e.key),void 0!==e.nonce&&r.setAttribute("nonce",e.nonce),r.appendChild(document.createTextNode("")),r.setAttribute("data-s",""),r}(this));var r=this.tags[this.tags.length-1];if(this.isSpeedy){var t=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]}(r);try{t.insertRule(e,t.cssRules.length)}catch(e){0}}else r.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}(),a="-ms-",s="-moz-",c="-webkit-",o="comm",i="rule",u="decl",l=Math.abs,f=String.fromCharCode;function d(e){return e.trim()}function p(e,r,t){return e.replace(r,t)}function h(e,r){return 0|e.charCodeAt(r)}function v(e,r,t){return e.slice(r,t)}function m(e){return e.length}function y(e){return e.length}function g(e,r){return r.push(e),e}var b=1,x=1,w=0,k=0,$=0,C="";function A(e,r,t,n,a,s,c){return{value:e,root:r,parent:t,type:n,props:a,children:s,line:b,column:x,length:c,return:""}}function _(e,r,t){return A(e,r.root,r.parent,t,r.props,r.children,0)}function S(){return $=k<w?h(C,k++):0,x++,10===$&&(x=1,b++),$}function O(){return h(C,k)}function E(){return k}function j(e,r){return v(C,e,r)}function N(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function R(e){return b=x=1,w=m(C=e),k=0,[]}function T(e){return C="",e}function M(e){return d(j(k-1,z(91===e?e+2:40===e?e+1:e)))}function D(e){for(;($=O())&&$<33;)S();return N(e)>2||N($)>3?"":" "}function z(e){for(;S();)switch($){case e:return k;case 34:case 39:return z(34===e||39===e?e:$);case 40:41===e&&z(e);break;case 92:S()}return k}function P(e,r){for(;S()&&e+$!==57&&(e+$!==84||47!==O()););return"/*"+j(r,k-1)+"*"+f(47===e?e:S())}function G(e){for(;!N(O());)S();return j(e,k)}function I(e){return T(q("",null,null,null,[""],e=R(e),0,[0],e))}function q(e,r,t,n,a,s,c,o,i){for(var u=0,l=0,d=c,h=0,v=0,y=0,b=1,x=1,w=1,k=0,$="",C=a,A=s,_=n,j=$;x;)switch(y=k,k=S()){case 34:case 39:case 91:case 40:j+=M(k);break;case 9:case 10:case 13:case 32:j+=D(y);break;case 47:switch(O()){case 42:case 47:g(F(P(S(),E()),r,t),i);break;default:j+="/"}break;case 123*b:o[u++]=m(j)*w;case 125*b:case 59:case 0:switch(k){case 0:case 125:x=0;case 59+l:v>0&&g(v>32?L(j+";",n,t,d-1):L(p(j," ","")+";",n,t,d-2),i);break;case 59:j+=";";default:if(g(_=W(j,r,t,u,l,a,o,$,C=[],A=[],d),s),123===k)if(0===l)q(j,r,_,_,C,s,d,o,A);else switch(h){case 100:case 109:case 115:q(e,_,_,n&&g(W(e,_,_,0,0,a,o,$,a,C=[],d),A),a,A,d,o,n?C:A);break;default:q(j,_,_,_,[""],A,d,o,A)}}u=l=v=0,b=w=1,$=j="",d=c;break;case 58:d=1+m(j),v=y;default:switch(j+=f(k),k*b){case 38:w=l>0?1:(j+="\f",-1);break;case 44:o[u++]=(m(j)-1)*w,w=1;break;case 64:45===O()&&(j+=M(S())),h=O(),l=m($=j+=G(E())),k++;break;case 45:45===y&&2==m(j)&&(b=0)}}return s}function W(e,r,t,n,a,s,c,o,u,f,h){for(var m=a-1,g=0===a?s:[""],b=y(g),x=0,w=0,k=0;x<n;++x)for(var $=0,C=v(e,m+1,m=l(w=c[x])),_=e;$<b;++$)(_=d(w>0?g[$]+" "+C:p(C,/&\f/g,g[$])))&&(u[k++]=_);return A(e,r,t,0===a?i:o,u,f,h)}function F(e,r,t){return A(e,r,t,o,f($),v(e,2,-2),0)}function L(e,r,t,n){return A(e,r,t,u,v(e,0,n),v(e,n+1,-1),n)}function V(e,r){switch(function(e,r){return(((r<<2^h(e,0))<<2^h(e,1))<<2^h(e,2))<<2^h(e,3)}(e,r)){case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return c+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return c+e+s+e+a+e+e;case 6828:case 4268:return c+e+a+e+e;case 6165:return c+e+a+"flex-"+e+e;case 5187:return c+e+p(e,/(\w+).+(:[^]+)/,c+"box-$1$2"+a+"flex-$1$2")+e;case 5443:return c+e+a+"flex-item-"+p(e,/flex-|-self/,"")+e;case 4675:return c+e+a+"flex-line-pack"+p(e,/align-content|flex-|-self/,"")+e;case 5548:return c+e+a+p(e,"shrink","negative")+e;case 5292:return c+e+a+p(e,"basis","preferred-size")+e;case 6060:return c+"box-"+p(e,"-grow","")+c+e+a+p(e,"grow","positive")+e;case 4554:return c+p(e,/([^-])(transform)/g,"$1"+c+"$2")+e;case 6187:return p(p(p(e,/(zoom-|grab)/,c+"$1"),/(image-set)/,c+"$1"),e,"")+e;case 5495:case 3959:return p(e,/(image-set\([^]*)/,c+"$1$`$1");case 4968:return p(p(e,/(.+:)(flex-)?(.*)/,c+"box-pack:$3"+a+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+c+e+e;case 4095:case 3583:case 4068:case 2532:return p(e,/(.+)-inline(.+)/,c+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(m(e)-1-r>6)switch(h(e,r+1)){case 109:return p(e,/(.+:)(.+)-([^]+)/,"$1"+c+"$2-$3$1"+s+"$2-$3")+e;case 102:return p(e,/(.+:)(.+)-([^]+)/,"$1"+c+"$2-$3$1"+s+"$3")+e;case 115:return V(p(e,"stretch","fill-available"),r)+e}break;case 4949:if(115!==h(e,r+1))break;case 6444:switch(h(e,m(e)-3-(~function(e,r){return e.indexOf(r)}(e,"!important")&&10))){case 107:case 111:return p(e,e,c+e)+e;case 101:return p(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+c+(45===h(e,14)?"inline-":"")+"box$3$1"+c+"$2$3$1"+a+"$2box$3")+e}break;case 5936:switch(h(e,r+11)){case 114:return c+e+a+p(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return c+e+a+p(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return c+e+a+p(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return c+e+a+e+e}return e}function H(e,r){for(var t="",n=y(e),a=0;a<n;a++)t+=r(e[a],a,e,r)||"";return t}function J(e,r,t,n){switch(e.type){case"@import":case u:return e.return=e.return||e.value;case o:return"";case i:e.value=e.props.join(",")}return m(t=H(e.children,n))?e.return=e.value+"{"+t+"}":""}function X(e){return function(r){r.root||(r=r.return)&&e(r)}}function B(e){var r=Object.create(null);return function(t){return void 0===r[t]&&(r[t]=e(t)),r[t]}}var U=function(e,r){return T(function(e,r){var t=-1,n=44;do{switch(N(n)){case 0:38===n&&12===O()&&(r[t]=1),e[t]+=G(k-1);break;case 2:e[t]+=M(n);break;case 4:if(44===n){e[++t]=58===O()?"&\f":"",r[t]=e[t].length;break}default:e[t]+=f(n)}}while(n=S());return e}(R(e),r))},Y=new WeakMap,Z=function(e){if("rule"===e.type&&e.parent&&e.length){for(var r=e.value,t=e.parent,n=e.column===t.column&&e.line===t.line;"rule"!==t.type;)if(!(t=t.parent))return;if((1!==e.props.length||58===r.charCodeAt(0)||Y.get(t))&&!n){Y.set(e,!0);for(var a=[],s=U(r,a),c=t.props,o=0,i=0;o<s.length;o++)for(var u=0;u<c.length;u++,i++)e.props[i]=a[o]?s[o].replace(/&\f/g,c[u]):c[u]+" "+s[o]}}},K=function(e){if("decl"===e.type){var r=e.value;108===r.charCodeAt(0)&&98===r.charCodeAt(2)&&(e.return="",e.value="")}},Q=[function(e,r,t,n){if(!e.return)switch(e.type){case u:e.return=V(e.value,e.length);break;case"@keyframes":return H([_(p(e.value,"@","@"+c),e,"")],n);case i:if(e.length)return function(e,r){return e.map(r).join("")}(e.props,(function(r){switch(function(e,r){return(e=r.exec(e))?e[0]:e}(r,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return H([_(p(r,/:(read-\w+)/,":-moz-$1"),e,"")],n);case"::placeholder":return H([_(p(r,/:(plac\w+)/,":"+c+"input-$1"),e,""),_(p(r,/:(plac\w+)/,":-moz-$1"),e,""),_(p(r,/:(plac\w+)/,a+"input-$1"),e,"")],n)}return""}))}}],ee=function(e){var r=e.key;if("css"===r){var t=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(t,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var a=e.stylisPlugins||Q;var s,c,o={},i=[];s=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),(function(e){for(var r=e.getAttribute("data-emotion").split(" "),t=1;t<r.length;t++)o[r[t]]=!0;i.push(e)}));var u=[Z,K];var l,f=[J,X((function(e){l.insert(e)}))],d=function(e){var r=y(e);return function(t,n,a,s){for(var c="",o=0;o<r;o++)c+=e[o](t,n,a,s)||"";return c}}(u.concat(a,f));c=function(e,r,t,n){l=t,H(I(e?e+"{"+r.styles+"}":r.styles),d),n&&(p.inserted[r.name]=!0)};var p={key:r,sheet:new n({key:r,container:s,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend}),nonce:e.nonce,inserted:o,registered:{},insert:c};return p.sheet.hydrate(i),p},re=Object.prototype.hasOwnProperty,te=t.createContext("undefined"!=typeof HTMLElement?ee({key:"css"}):null),ne=(te.Provider,function(e){return t.forwardRef((function(r,n){var a=t.useContext(te);return e(r,a,n)}))});!function(e,r,t){e(t={path:r,exports:{},require:function(e,r){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==r&&t.path)}},t.exports),t.exports}((function(e){function r(){return e.exports=r=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},e.exports.default=e.exports,e.exports.__esModule=!0,r.apply(this,arguments)}e.exports=r,e.exports.default=e.exports,e.exports.__esModule=!0}));var ae=t.createContext({});var se={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,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan: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},ce=/[A-Z]|^ms/g,oe=/_EMO_([^_]+?)_([^]*?)_EMO_/g,ie=function(e){return 45===e.charCodeAt(1)},ue=function(e){return null!=e&&"boolean"!=typeof e},le=B((function(e){return ie(e)?e:e.replace(ce,"-$&").toLowerCase()})),fe=function(e,r){switch(e){case"animation":case"animationName":if("string"==typeof r)return r.replace(oe,(function(e,r,t){return pe={name:r,styles:t,next:pe},r}))}return 1===se[e]||ie(e)||"number"!=typeof r||0===r?r:r+"px"};function de(e,r,t){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 pe={name:t.name,styles:t.styles,next:pe},t.name;if(void 0!==t.styles){var n=t.next;if(void 0!==n)for(;void 0!==n;)pe={name:n.name,styles:n.styles,next:pe},n=n.next;var a=t.styles+";";return a}return function(e,r,t){var n="";if(Array.isArray(t))for(var a=0;a<t.length;a++)n+=de(e,r,t[a])+";";else for(var s in t){var c=t[s];if("object"!=typeof c)null!=r&&void 0!==r[c]?n+=s+"{"+r[c]+"}":ue(c)&&(n+=le(s)+":"+fe(s,c)+";");else if(!Array.isArray(c)||"string"!=typeof c[0]||null!=r&&void 0!==r[c[0]]){var o=de(e,r,c);switch(s){case"animation":case"animationName":n+=le(s)+":"+o+";";break;default:n+=s+"{"+o+"}"}}else for(var i=0;i<c.length;i++)ue(c[i])&&(n+=le(s)+":"+fe(s,c[i])+";")}return n}(e,r,t);case"function":if(void 0!==e){var s=pe,c=t(e);return pe=s,de(e,r,c)}break;case"string":}if(null==r)return t;var o=r[t];return void 0!==o?o:t}var pe,he=/label:\s*([^\s;\n{]+)\s*(;|$)/g;var ve=function(e,r,t){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var n=!0,a="";pe=void 0;var s=e[0];null==s||void 0===s.raw?(n=!1,a+=de(t,r,s)):a+=s[0];for(var c=1;c<e.length;c++)a+=de(t,r,e[c]),n&&(a+=s[c]);he.lastIndex=0;for(var o,i="";null!==(o=he.exec(a));)i+="-"+o[1];var u=function(e){for(var r,t=0,n=0,a=e.length;a>=4;++n,a-=4)r=1540483477*(65535&(r=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))+(59797*(r>>>16)<<16),t=1540483477*(65535&(r^=r>>>24))+(59797*(r>>>16)<<16)^1540483477*(65535&t)+(59797*(t>>>16)<<16);switch(a){case 3:t^=(255&e.charCodeAt(n+2))<<16;case 2:t^=(255&e.charCodeAt(n+1))<<8;case 1:t=1540483477*(65535&(t^=255&e.charCodeAt(n)))+(59797*(t>>>16)<<16)}return(((t=1540483477*(65535&(t^=t>>>13))+(59797*(t>>>16)<<16))^t>>>15)>>>0).toString(36)}(a)+i;return{name:u,styles:a,next:pe}},me="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",ye=ne((function(e,r,n){var a=e.css;"string"==typeof a&&void 0!==r.registered[a]&&(a=r.registered[a]);var s=e[me],c=[a],o="";"string"==typeof e.className?o=function(e,r,t){var n="";return t.split(" ").forEach((function(t){void 0!==e[t]?r.push(e[t]+";"):n+=t+" "})),n}(r.registered,c,e.className):null!=e.className&&(o=e.className+" ");var i=ve(c,void 0,"function"==typeof a||Array.isArray(a)?t.useContext(ae):void 0);!function(e,r,t){var n=e.key+"-"+r.name;if(!1===t&&void 0===e.registered[n]&&(e.registered[n]=r.styles),void 0===e.inserted[r.name]){var a=r;do{e.insert(r===a?"."+n:"",a,e.sheet,!0),a=a.next}while(void 0!==a)}}(r,i,"string"==typeof s);o+=r.key+"-"+i.name;var u={};for(var l in e)re.call(e,l)&&"css"!==l&&l!==me&&(u[l]=e[l]);return u.ref=n,u.className=o,t.createElement(s,u)}));var ge=r.Fragment;e.Fragment=ge,e.jsxDEV=function(e,t,n,a,s,c){return re.call(t,"css")?r.jsxDEV(ye,function(e,r){var t={};for(var n in r)re.call(r,n)&&(t[n]=r[n]);return t[me]=e,t}(e,t),n,a,s,c):r.jsxDEV(e,t,n,a,s,c)},Object.defineProperty(e,"__esModule",{value:!0})})); | ||
//# sourceMappingURL=bumbag-emotion-react-jsx-dev-runtime.umd.min.js.map |
@@ -5,6 +5,2 @@ { | ||
"umd:main": "dist/bumbag-emotion-react-jsx-dev-runtime.umd.min.js", | ||
"browser": { | ||
"./dist/bumbag-emotion-react-jsx-dev-runtime.cjs.js": "./dist/bumbag-emotion-react-jsx-dev-runtime.browser.cjs.js", | ||
"./dist/bumbag-emotion-react-jsx-dev-runtime.esm.js": "./dist/bumbag-emotion-react-jsx-dev-runtime.browser.esm.js" | ||
}, | ||
"types": "../types/jsx-dev-runtime", | ||
@@ -11,0 +7,0 @@ "sideEffects": false, |
@@ -7,3 +7,3 @@ 'use strict'; | ||
require('@emotion/cache'); | ||
var emotionElement = require('../../dist/emotion-element-1fddca1c.cjs.dev.js'); | ||
var emotionElement = require('../../dist/emotion-element-60bac721.cjs.dev.js'); | ||
require('@babel/runtime/helpers/extends'); | ||
@@ -10,0 +10,0 @@ require('@emotion/weak-memoize'); |
@@ -7,3 +7,3 @@ "use strict"; | ||
var emotionElement = require("../../dist/emotion-element-0a93e42f.cjs.prod.js"); | ||
var emotionElement = require("../../dist/emotion-element-4294b745.cjs.prod.js"); | ||
@@ -10,0 +10,0 @@ require("@babel/runtime/helpers/extends"), require("@emotion/weak-memoize"), require("hoist-non-react-statics"), |
import 'react'; | ||
import '@emotion/cache'; | ||
import { h as hasOwnProperty, E as Emotion, c as createEmotionProps } from '../../dist/emotion-element-9c05a186.esm.js'; | ||
import { h as hasOwnProperty, E as Emotion, c as createEmotionProps } from '../../dist/emotion-element-cfa37aa9.esm.js'; | ||
import '@babel/runtime/helpers/extends'; | ||
@@ -5,0 +5,0 @@ import '@emotion/weak-memoize'; |
@@ -1,2 +0,2 @@ | ||
!function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("react/jsx-runtime"),require("react")):"function"==typeof define&&define.amd?define(["exports","react/jsx-runtime","react"],r):r((e="undefined"!=typeof globalThis?globalThis:e||self).emotionReactJSXRuntime={},e.ReactJSX,e.React)}(this,(function(e,r,t){"use strict";var n=function(){function e(e){var r=this;this._insertTag=function(e){var t;t=0===r.tags.length?r.prepend?r.container.firstChild:r.before:r.tags[r.tags.length-1].nextSibling,r.container.insertBefore(e,t),r.tags.push(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.prepend=e.prepend,this.before=null}var r=e.prototype;return r.hydrate=function(e){e.forEach(this._insertTag)},r.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var r=document.createElement("style");return r.setAttribute("data-emotion",e.key),void 0!==e.nonce&&r.setAttribute("nonce",e.nonce),r.appendChild(document.createTextNode("")),r.setAttribute("data-s",""),r}(this));var r=this.tags[this.tags.length-1];if(this.isSpeedy){var t=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]}(r);try{t.insertRule(e,t.cssRules.length)}catch(e){0}}else r.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}(),a="-ms-",s="-moz-",c="-webkit-",o="comm",i="rule",u="decl",l=Math.abs,f=String.fromCharCode;function d(e){return e.trim()}function p(e,r,t){return e.replace(r,t)}function h(e,r){return 0|e.charCodeAt(r)}function v(e,r,t){return e.slice(r,t)}function m(e){return e.length}function y(e){return e.length}function g(e,r){return r.push(e),e}var b=1,x=1,w=0,k=0,$=0,C="";function A(e,r,t,n,a,s,c){return{value:e,root:r,parent:t,type:n,props:a,children:s,line:b,column:x,length:c,return:""}}function S(e,r,t){return A(e,r.root,r.parent,t,r.props,r.children,0)}function _(){return $=k<w?h(C,k++):0,x++,10===$&&(x=1,b++),$}function j(){return h(C,k)}function O(){return k}function E(e,r){return v(C,e,r)}function N(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function R(e){return b=x=1,w=m(C=e),k=0,[]}function T(e){return C="",e}function z(e){return d(E(k-1,P(91===e?e+2:40===e?e+1:e)))}function M(e){for(;($=j())&&$<33;)_();return N(e)>2||N($)>3?"":" "}function P(e){for(;_();)switch($){case e:return k;case 34:case 39:return P(34===e||39===e?e:$);case 40:41===e&&P(e);break;case 92:_()}return k}function G(e,r){for(;_()&&e+$!==57&&(e+$!==84||47!==j()););return"/*"+E(r,k-1)+"*"+f(47===e?e:_())}function I(e){for(;!N(j());)_();return E(e,k)}function q(e){return T(W("",null,null,null,[""],e=R(e),0,[0],e))}function W(e,r,t,n,a,s,c,o,i){for(var u=0,l=0,d=c,h=0,v=0,y=0,b=1,x=1,w=1,k=0,$="",C=a,A=s,S=n,E=$;x;)switch(y=k,k=_()){case 34:case 39:case 91:case 40:E+=z(k);break;case 9:case 10:case 13:case 32:E+=M(y);break;case 47:switch(j()){case 42:case 47:g(F(G(_(),O()),r,t),i);break;default:E+="/"}break;case 123*b:o[u++]=m(E)*w;case 125*b:case 59:case 0:switch(k){case 0:case 125:x=0;case 59+l:v>0&&g(v>32?L(E+";",n,t,d-1):L(p(E," ","")+";",n,t,d-2),i);break;case 59:E+=";";default:if(g(S=D(E,r,t,u,l,a,o,$,C=[],A=[],d),s),123===k)if(0===l)W(E,r,S,S,C,s,d,o,A);else switch(h){case 100:case 109:case 115:W(e,S,S,n&&g(D(e,S,S,0,0,a,o,$,a,C=[],d),A),a,A,d,o,n?C:A);break;default:W(E,S,S,S,[""],A,d,o,A)}}u=l=v=0,b=w=1,$=E="",d=c;break;case 58:d=1+m(E),v=y;default:switch(E+=f(k),k*b){case 38:w=l>0?1:(E+="\f",-1);break;case 44:o[u++]=(m(E)-1)*w,w=1;break;case 64:45===j()&&(E+=z(_())),h=j(),l=m($=E+=I(O())),k++;break;case 45:45===y&&2==m(E)&&(b=0)}}return s}function D(e,r,t,n,a,s,c,o,u,f,h){for(var m=a-1,g=0===a?s:[""],b=y(g),x=0,w=0,k=0;x<n;++x)for(var $=0,C=v(e,m+1,m=l(w=c[x])),S=e;$<b;++$)(S=d(w>0?g[$]+" "+C:p(C,/&\f/g,g[$])))&&(u[k++]=S);return A(e,r,t,0===a?i:o,u,f,h)}function F(e,r,t){return A(e,r,t,o,f($),v(e,2,-2),0)}function L(e,r,t,n){return A(e,r,t,u,v(e,0,n),v(e,n+1,-1),n)}function H(e,r){switch(function(e,r){return(((r<<2^h(e,0))<<2^h(e,1))<<2^h(e,2))<<2^h(e,3)}(e,r)){case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return c+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return c+e+s+e+a+e+e;case 6828:case 4268:return c+e+a+e+e;case 6165:return c+e+a+"flex-"+e+e;case 5187:return c+e+p(e,/(\w+).+(:[^]+)/,c+"box-$1$2"+a+"flex-$1$2")+e;case 5443:return c+e+a+"flex-item-"+p(e,/flex-|-self/,"")+e;case 4675:return c+e+a+"flex-line-pack"+p(e,/align-content|flex-|-self/,"")+e;case 5548:return c+e+a+p(e,"shrink","negative")+e;case 5292:return c+e+a+p(e,"basis","preferred-size")+e;case 6060:return c+"box-"+p(e,"-grow","")+c+e+a+p(e,"grow","positive")+e;case 4554:return c+p(e,/([^-])(transform)/g,"$1"+c+"$2")+e;case 6187:return p(p(p(e,/(zoom-|grab)/,c+"$1"),/(image-set)/,c+"$1"),e,"")+e;case 5495:case 3959:return p(e,/(image-set\([^]*)/,c+"$1$`$1");case 4968:return p(p(e,/(.+:)(flex-)?(.*)/,c+"box-pack:$3"+a+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+c+e+e;case 4095:case 3583:case 4068:case 2532:return p(e,/(.+)-inline(.+)/,c+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(m(e)-1-r>6)switch(h(e,r+1)){case 109:return p(e,/(.+:)(.+)-([^]+)/,"$1"+c+"$2-$3$1"+s+"$2-$3")+e;case 102:return p(e,/(.+:)(.+)-([^]+)/,"$1"+c+"$2-$3$1"+s+"$3")+e;case 115:return H(p(e,"stretch","fill-available"),r)+e}break;case 4949:if(115!==h(e,r+1))break;case 6444:switch(h(e,m(e)-3-(~function(e,r){return e.indexOf(r)}(e,"!important")&&10))){case 107:case 111:return p(e,e,c+e)+e;case 101:return p(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+c+(45===h(e,14)?"inline-":"")+"box$3$1"+c+"$2$3$1"+a+"$2box$3")+e}break;case 5936:switch(h(e,r+11)){case 114:return c+e+a+p(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return c+e+a+p(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return c+e+a+p(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return c+e+a+e+e}return e}function J(e,r){for(var t="",n=y(e),a=0;a<n;a++)t+=r(e[a],a,e,r)||"";return t}function X(e,r,t,n){switch(e.type){case"@import":case u:return e.return=e.return||e.value;case o:return"";case i:e.value=e.props.join(",")}return m(t=J(e.children,n))?e.return=e.value+"{"+t+"}":""}function B(e){return function(r){r.root||(r=r.return)&&e(r)}}function U(e){var r=Object.create(null);return function(t){return void 0===r[t]&&(r[t]=e(t)),r[t]}}var Y=function(e,r){return T(function(e,r){var t=-1,n=44;do{switch(N(n)){case 0:38===n&&12===j()&&(r[t]=1),e[t]+=I(k-1);break;case 2:e[t]+=z(n);break;case 4:if(44===n){e[++t]=58===j()?"&\f":"",r[t]=e[t].length;break}default:e[t]+=f(n)}}while(n=_());return e}(R(e),r))},Z=new WeakMap,K=function(e){if("rule"===e.type&&e.parent&&e.length){for(var r=e.value,t=e.parent,n=e.column===t.column&&e.line===t.line;"rule"!==t.type;)if(!(t=t.parent))return;if((1!==e.props.length||58===r.charCodeAt(0)||Z.get(t))&&!n){Z.set(e,!0);for(var a=[],s=Y(r,a),c=t.props,o=0,i=0;o<s.length;o++)for(var u=0;u<c.length;u++,i++)e.props[i]=a[o]?s[o].replace(/&\f/g,c[u]):c[u]+" "+s[o]}}},Q=function(e){if("decl"===e.type){var r=e.value;108===r.charCodeAt(0)&&98===r.charCodeAt(2)&&(e.return="",e.value="")}},V=[function(e,r,t,n){if(!e.return)switch(e.type){case u:e.return=H(e.value,e.length);break;case"@keyframes":return J([S(p(e.value,"@","@"+c),e,"")],n);case i:if(e.length)return function(e,r){return e.map(r).join("")}(e.props,(function(r){switch(function(e,r){return(e=r.exec(e))?e[0]:e}(r,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return J([S(p(r,/:(read-\w+)/,":-moz-$1"),e,"")],n);case"::placeholder":return J([S(p(r,/:(plac\w+)/,":"+c+"input-$1"),e,""),S(p(r,/:(plac\w+)/,":-moz-$1"),e,""),S(p(r,/:(plac\w+)/,a+"input-$1"),e,"")],n)}return""}))}}],ee=function(e){var r=e.key;if("css"===r){var t=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(t,(function(e){document.head.appendChild(e),e.setAttribute("data-s","")}))}var a=e.stylisPlugins||V;var s,c,o={},i=[];s=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll("style[data-emotion]"),(function(e){var t=e.getAttribute("data-emotion").split(" ");if(t[0]===r){for(var n=1;n<t.length;n++)o[t[n]]=!0;i.push(e)}}));var u=[K,Q];var l,f=[X,B((function(e){l.insert(e)}))],d=function(e){var r=y(e);return function(t,n,a,s){for(var c="",o=0;o<r;o++)c+=e[o](t,n,a,s)||"";return c}}(u.concat(a,f));c=function(e,r,t,n){l=t,J(q(e?e+"{"+r.styles+"}":r.styles),d),n&&(p.inserted[r.name]=!0)};var p={key:r,sheet:new n({key:r,container:s,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend}),nonce:e.nonce,inserted:o,registered:{},insert:c};return p.sheet.hydrate(i),p},re=Object.prototype.hasOwnProperty,te=t.createContext("undefined"!=typeof HTMLElement?ee({key:"css"}):null),ne=(te.Provider,function(e){return t.forwardRef((function(r,n){var a=t.useContext(te);return e(r,a,n)}))});!function(e,r,t){e(t={path:r,exports:{},require:function(e,r){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==r&&t.path)}},t.exports),t.exports}((function(e){function r(){return e.exports=r=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},r.apply(this,arguments)}e.exports=r}));var ae=t.createContext({});var se={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,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan: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},ce=/[A-Z]|^ms/g,oe=/_EMO_([^_]+?)_([^]*?)_EMO_/g,ie=function(e){return 45===e.charCodeAt(1)},ue=function(e){return null!=e&&"boolean"!=typeof e},le=U((function(e){return ie(e)?e:e.replace(ce,"-$&").toLowerCase()})),fe=function(e,r){switch(e){case"animation":case"animationName":if("string"==typeof r)return r.replace(oe,(function(e,r,t){return pe={name:r,styles:t,next:pe},r}))}return 1===se[e]||ie(e)||"number"!=typeof r||0===r?r:r+"px"};function de(e,r,t){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 pe={name:t.name,styles:t.styles,next:pe},t.name;if(void 0!==t.styles){var n=t.next;if(void 0!==n)for(;void 0!==n;)pe={name:n.name,styles:n.styles,next:pe},n=n.next;var a=t.styles+";";return a}return function(e,r,t){var n="";if(Array.isArray(t))for(var a=0;a<t.length;a++)n+=de(e,r,t[a])+";";else for(var s in t){var c=t[s];if("object"!=typeof c)null!=r&&void 0!==r[c]?n+=s+"{"+r[c]+"}":ue(c)&&(n+=le(s)+":"+fe(s,c)+";");else if(!Array.isArray(c)||"string"!=typeof c[0]||null!=r&&void 0!==r[c[0]]){var o=de(e,r,c);switch(s){case"animation":case"animationName":n+=le(s)+":"+o+";";break;default:n+=s+"{"+o+"}"}}else for(var i=0;i<c.length;i++)ue(c[i])&&(n+=le(s)+":"+fe(s,c[i])+";")}return n}(e,r,t);case"function":if(void 0!==e){var s=pe,c=t(e);return pe=s,de(e,r,c)}break;case"string":}if(null==r)return t;var o=r[t];return void 0!==o?o:t}var pe,he=/label:\s*([^\s;\n{]+)\s*;/g;var ve=function(e,r,t){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var n=!0,a="";pe=void 0;var s=e[0];null==s||void 0===s.raw?(n=!1,a+=de(t,r,s)):a+=s[0];for(var c=1;c<e.length;c++)a+=de(t,r,e[c]),n&&(a+=s[c]);he.lastIndex=0;for(var o,i="";null!==(o=he.exec(a));)i+="-"+o[1];var u=function(e){for(var r,t=0,n=0,a=e.length;a>=4;++n,a-=4)r=1540483477*(65535&(r=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))+(59797*(r>>>16)<<16),t=1540483477*(65535&(r^=r>>>24))+(59797*(r>>>16)<<16)^1540483477*(65535&t)+(59797*(t>>>16)<<16);switch(a){case 3:t^=(255&e.charCodeAt(n+2))<<16;case 2:t^=(255&e.charCodeAt(n+1))<<8;case 1:t=1540483477*(65535&(t^=255&e.charCodeAt(n)))+(59797*(t>>>16)<<16)}return(((t=1540483477*(65535&(t^=t>>>13))+(59797*(t>>>16)<<16))^t>>>15)>>>0).toString(36)}(a)+i;return{name:u,styles:a,next:pe}},me="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",ye=function(e,r){var t={};for(var n in r)re.call(r,n)&&(t[n]=r[n]);return t[me]=e,t},ge=ne((function(e,r,n){var a=e.css;"string"==typeof a&&void 0!==r.registered[a]&&(a=r.registered[a]);var s=e[me],c=[a],o="";"string"==typeof e.className?o=function(e,r,t){var n="";return t.split(" ").forEach((function(t){void 0!==e[t]?r.push(e[t]+";"):n+=t+" "})),n}(r.registered,c,e.className):null!=e.className&&(o=e.className+" ");var i=ve(c,void 0,"function"==typeof a||Array.isArray(a)?t.useContext(ae):void 0);!function(e,r,t){var n=e.key+"-"+r.name;if(!1===t&&void 0===e.registered[n]&&(e.registered[n]=r.styles),void 0===e.inserted[r.name]){var a=r;do{e.insert(r===a?"."+n:"",a,e.sheet,!0),a=a.next}while(void 0!==a)}}(r,i,"string"==typeof s);o+=r.key+"-"+i.name;var u={};for(var l in e)re.call(e,l)&&"css"!==l&&l!==me&&(u[l]=e[l]);return u.ref=n,u.className=o,t.createElement(s,u)}));var be=r.Fragment;e.Fragment=be,e.jsx=function(e,t,n){return re.call(t,"css")?r.jsx(ge,ye(e,t),n):r.jsx(e,t,n)},e.jsxs=function(e,t,n){return re.call(t,"css")?r.jsxs(ge,ye(e,t),n):r.jsxs(e,t,n)},Object.defineProperty(e,"__esModule",{value:!0})})); | ||
!function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("react/jsx-runtime"),require("react")):"function"==typeof define&&define.amd?define(["exports","react/jsx-runtime","react"],r):r((e="undefined"!=typeof globalThis?globalThis:e||self).emotionReactJSXRuntime={},e.ReactJSX,e.React)}(this,(function(e,r,t){"use strict";var n=function(){function e(e){var r=this;this._insertTag=function(e){var t;t=0===r.tags.length?r.prepend?r.container.firstChild:r.before:r.tags[r.tags.length-1].nextSibling,r.container.insertBefore(e,t),r.tags.push(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.prepend=e.prepend,this.before=null}var r=e.prototype;return r.hydrate=function(e){e.forEach(this._insertTag)},r.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var r=document.createElement("style");return r.setAttribute("data-emotion",e.key),void 0!==e.nonce&&r.setAttribute("nonce",e.nonce),r.appendChild(document.createTextNode("")),r.setAttribute("data-s",""),r}(this));var r=this.tags[this.tags.length-1];if(this.isSpeedy){var t=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]}(r);try{t.insertRule(e,t.cssRules.length)}catch(e){0}}else r.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}(),a="-ms-",s="-moz-",c="-webkit-",o="comm",i="rule",u="decl",l=Math.abs,f=String.fromCharCode;function d(e){return e.trim()}function p(e,r,t){return e.replace(r,t)}function h(e,r){return 0|e.charCodeAt(r)}function v(e,r,t){return e.slice(r,t)}function m(e){return e.length}function y(e){return e.length}function g(e,r){return r.push(e),e}var b=1,x=1,w=0,k=0,$=0,C="";function A(e,r,t,n,a,s,c){return{value:e,root:r,parent:t,type:n,props:a,children:s,line:b,column:x,length:c,return:""}}function _(e,r,t){return A(e,r.root,r.parent,t,r.props,r.children,0)}function S(){return $=k<w?h(C,k++):0,x++,10===$&&(x=1,b++),$}function O(){return h(C,k)}function j(){return k}function E(e,r){return v(C,e,r)}function N(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function R(e){return b=x=1,w=m(C=e),k=0,[]}function T(e){return C="",e}function M(e){return d(E(k-1,P(91===e?e+2:40===e?e+1:e)))}function z(e){for(;($=O())&&$<33;)S();return N(e)>2||N($)>3?"":" "}function P(e){for(;S();)switch($){case e:return k;case 34:case 39:return P(34===e||39===e?e:$);case 40:41===e&&P(e);break;case 92:S()}return k}function G(e,r){for(;S()&&e+$!==57&&(e+$!==84||47!==O()););return"/*"+E(r,k-1)+"*"+f(47===e?e:S())}function I(e){for(;!N(O());)S();return E(e,k)}function q(e){return T(W("",null,null,null,[""],e=R(e),0,[0],e))}function W(e,r,t,n,a,s,c,o,i){for(var u=0,l=0,d=c,h=0,v=0,y=0,b=1,x=1,w=1,k=0,$="",C=a,A=s,_=n,E=$;x;)switch(y=k,k=S()){case 34:case 39:case 91:case 40:E+=M(k);break;case 9:case 10:case 13:case 32:E+=z(y);break;case 47:switch(O()){case 42:case 47:g(F(G(S(),j()),r,t),i);break;default:E+="/"}break;case 123*b:o[u++]=m(E)*w;case 125*b:case 59:case 0:switch(k){case 0:case 125:x=0;case 59+l:v>0&&g(v>32?L(E+";",n,t,d-1):L(p(E," ","")+";",n,t,d-2),i);break;case 59:E+=";";default:if(g(_=D(E,r,t,u,l,a,o,$,C=[],A=[],d),s),123===k)if(0===l)W(E,r,_,_,C,s,d,o,A);else switch(h){case 100:case 109:case 115:W(e,_,_,n&&g(D(e,_,_,0,0,a,o,$,a,C=[],d),A),a,A,d,o,n?C:A);break;default:W(E,_,_,_,[""],A,d,o,A)}}u=l=v=0,b=w=1,$=E="",d=c;break;case 58:d=1+m(E),v=y;default:switch(E+=f(k),k*b){case 38:w=l>0?1:(E+="\f",-1);break;case 44:o[u++]=(m(E)-1)*w,w=1;break;case 64:45===O()&&(E+=M(S())),h=O(),l=m($=E+=I(j())),k++;break;case 45:45===y&&2==m(E)&&(b=0)}}return s}function D(e,r,t,n,a,s,c,o,u,f,h){for(var m=a-1,g=0===a?s:[""],b=y(g),x=0,w=0,k=0;x<n;++x)for(var $=0,C=v(e,m+1,m=l(w=c[x])),_=e;$<b;++$)(_=d(w>0?g[$]+" "+C:p(C,/&\f/g,g[$])))&&(u[k++]=_);return A(e,r,t,0===a?i:o,u,f,h)}function F(e,r,t){return A(e,r,t,o,f($),v(e,2,-2),0)}function L(e,r,t,n){return A(e,r,t,u,v(e,0,n),v(e,n+1,-1),n)}function H(e,r){switch(function(e,r){return(((r<<2^h(e,0))<<2^h(e,1))<<2^h(e,2))<<2^h(e,3)}(e,r)){case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return c+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return c+e+s+e+a+e+e;case 6828:case 4268:return c+e+a+e+e;case 6165:return c+e+a+"flex-"+e+e;case 5187:return c+e+p(e,/(\w+).+(:[^]+)/,c+"box-$1$2"+a+"flex-$1$2")+e;case 5443:return c+e+a+"flex-item-"+p(e,/flex-|-self/,"")+e;case 4675:return c+e+a+"flex-line-pack"+p(e,/align-content|flex-|-self/,"")+e;case 5548:return c+e+a+p(e,"shrink","negative")+e;case 5292:return c+e+a+p(e,"basis","preferred-size")+e;case 6060:return c+"box-"+p(e,"-grow","")+c+e+a+p(e,"grow","positive")+e;case 4554:return c+p(e,/([^-])(transform)/g,"$1"+c+"$2")+e;case 6187:return p(p(p(e,/(zoom-|grab)/,c+"$1"),/(image-set)/,c+"$1"),e,"")+e;case 5495:case 3959:return p(e,/(image-set\([^]*)/,c+"$1$`$1");case 4968:return p(p(e,/(.+:)(flex-)?(.*)/,c+"box-pack:$3"+a+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+c+e+e;case 4095:case 3583:case 4068:case 2532:return p(e,/(.+)-inline(.+)/,c+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(m(e)-1-r>6)switch(h(e,r+1)){case 109:return p(e,/(.+:)(.+)-([^]+)/,"$1"+c+"$2-$3$1"+s+"$2-$3")+e;case 102:return p(e,/(.+:)(.+)-([^]+)/,"$1"+c+"$2-$3$1"+s+"$3")+e;case 115:return H(p(e,"stretch","fill-available"),r)+e}break;case 4949:if(115!==h(e,r+1))break;case 6444:switch(h(e,m(e)-3-(~function(e,r){return e.indexOf(r)}(e,"!important")&&10))){case 107:case 111:return p(e,e,c+e)+e;case 101:return p(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+c+(45===h(e,14)?"inline-":"")+"box$3$1"+c+"$2$3$1"+a+"$2box$3")+e}break;case 5936:switch(h(e,r+11)){case 114:return c+e+a+p(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return c+e+a+p(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return c+e+a+p(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return c+e+a+e+e}return e}function J(e,r){for(var t="",n=y(e),a=0;a<n;a++)t+=r(e[a],a,e,r)||"";return t}function X(e,r,t,n){switch(e.type){case"@import":case u:return e.return=e.return||e.value;case o:return"";case i:e.value=e.props.join(",")}return m(t=J(e.children,n))?e.return=e.value+"{"+t+"}":""}function B(e){return function(r){r.root||(r=r.return)&&e(r)}}function U(e){var r=Object.create(null);return function(t){return void 0===r[t]&&(r[t]=e(t)),r[t]}}var Y=function(e,r){return T(function(e,r){var t=-1,n=44;do{switch(N(n)){case 0:38===n&&12===O()&&(r[t]=1),e[t]+=I(k-1);break;case 2:e[t]+=M(n);break;case 4:if(44===n){e[++t]=58===O()?"&\f":"",r[t]=e[t].length;break}default:e[t]+=f(n)}}while(n=S());return e}(R(e),r))},Z=new WeakMap,K=function(e){if("rule"===e.type&&e.parent&&e.length){for(var r=e.value,t=e.parent,n=e.column===t.column&&e.line===t.line;"rule"!==t.type;)if(!(t=t.parent))return;if((1!==e.props.length||58===r.charCodeAt(0)||Z.get(t))&&!n){Z.set(e,!0);for(var a=[],s=Y(r,a),c=t.props,o=0,i=0;o<s.length;o++)for(var u=0;u<c.length;u++,i++)e.props[i]=a[o]?s[o].replace(/&\f/g,c[u]):c[u]+" "+s[o]}}},Q=function(e){if("decl"===e.type){var r=e.value;108===r.charCodeAt(0)&&98===r.charCodeAt(2)&&(e.return="",e.value="")}},V=[function(e,r,t,n){if(!e.return)switch(e.type){case u:e.return=H(e.value,e.length);break;case"@keyframes":return J([_(p(e.value,"@","@"+c),e,"")],n);case i:if(e.length)return function(e,r){return e.map(r).join("")}(e.props,(function(r){switch(function(e,r){return(e=r.exec(e))?e[0]:e}(r,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return J([_(p(r,/:(read-\w+)/,":-moz-$1"),e,"")],n);case"::placeholder":return J([_(p(r,/:(plac\w+)/,":"+c+"input-$1"),e,""),_(p(r,/:(plac\w+)/,":-moz-$1"),e,""),_(p(r,/:(plac\w+)/,a+"input-$1"),e,"")],n)}return""}))}}],ee=function(e){var r=e.key;if("css"===r){var t=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(t,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var a=e.stylisPlugins||V;var s,c,o={},i=[];s=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),(function(e){for(var r=e.getAttribute("data-emotion").split(" "),t=1;t<r.length;t++)o[r[t]]=!0;i.push(e)}));var u=[K,Q];var l,f=[X,B((function(e){l.insert(e)}))],d=function(e){var r=y(e);return function(t,n,a,s){for(var c="",o=0;o<r;o++)c+=e[o](t,n,a,s)||"";return c}}(u.concat(a,f));c=function(e,r,t,n){l=t,J(q(e?e+"{"+r.styles+"}":r.styles),d),n&&(p.inserted[r.name]=!0)};var p={key:r,sheet:new n({key:r,container:s,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend}),nonce:e.nonce,inserted:o,registered:{},insert:c};return p.sheet.hydrate(i),p},re=Object.prototype.hasOwnProperty,te=t.createContext("undefined"!=typeof HTMLElement?ee({key:"css"}):null),ne=(te.Provider,function(e){return t.forwardRef((function(r,n){var a=t.useContext(te);return e(r,a,n)}))});!function(e,r,t){e(t={path:r,exports:{},require:function(e,r){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==r&&t.path)}},t.exports),t.exports}((function(e){function r(){return e.exports=r=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},e.exports.default=e.exports,e.exports.__esModule=!0,r.apply(this,arguments)}e.exports=r,e.exports.default=e.exports,e.exports.__esModule=!0}));var ae=t.createContext({});var se={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,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan: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},ce=/[A-Z]|^ms/g,oe=/_EMO_([^_]+?)_([^]*?)_EMO_/g,ie=function(e){return 45===e.charCodeAt(1)},ue=function(e){return null!=e&&"boolean"!=typeof e},le=U((function(e){return ie(e)?e:e.replace(ce,"-$&").toLowerCase()})),fe=function(e,r){switch(e){case"animation":case"animationName":if("string"==typeof r)return r.replace(oe,(function(e,r,t){return pe={name:r,styles:t,next:pe},r}))}return 1===se[e]||ie(e)||"number"!=typeof r||0===r?r:r+"px"};function de(e,r,t){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 pe={name:t.name,styles:t.styles,next:pe},t.name;if(void 0!==t.styles){var n=t.next;if(void 0!==n)for(;void 0!==n;)pe={name:n.name,styles:n.styles,next:pe},n=n.next;var a=t.styles+";";return a}return function(e,r,t){var n="";if(Array.isArray(t))for(var a=0;a<t.length;a++)n+=de(e,r,t[a])+";";else for(var s in t){var c=t[s];if("object"!=typeof c)null!=r&&void 0!==r[c]?n+=s+"{"+r[c]+"}":ue(c)&&(n+=le(s)+":"+fe(s,c)+";");else if(!Array.isArray(c)||"string"!=typeof c[0]||null!=r&&void 0!==r[c[0]]){var o=de(e,r,c);switch(s){case"animation":case"animationName":n+=le(s)+":"+o+";";break;default:n+=s+"{"+o+"}"}}else for(var i=0;i<c.length;i++)ue(c[i])&&(n+=le(s)+":"+fe(s,c[i])+";")}return n}(e,r,t);case"function":if(void 0!==e){var s=pe,c=t(e);return pe=s,de(e,r,c)}break;case"string":}if(null==r)return t;var o=r[t];return void 0!==o?o:t}var pe,he=/label:\s*([^\s;\n{]+)\s*(;|$)/g;var ve=function(e,r,t){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var n=!0,a="";pe=void 0;var s=e[0];null==s||void 0===s.raw?(n=!1,a+=de(t,r,s)):a+=s[0];for(var c=1;c<e.length;c++)a+=de(t,r,e[c]),n&&(a+=s[c]);he.lastIndex=0;for(var o,i="";null!==(o=he.exec(a));)i+="-"+o[1];var u=function(e){for(var r,t=0,n=0,a=e.length;a>=4;++n,a-=4)r=1540483477*(65535&(r=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))+(59797*(r>>>16)<<16),t=1540483477*(65535&(r^=r>>>24))+(59797*(r>>>16)<<16)^1540483477*(65535&t)+(59797*(t>>>16)<<16);switch(a){case 3:t^=(255&e.charCodeAt(n+2))<<16;case 2:t^=(255&e.charCodeAt(n+1))<<8;case 1:t=1540483477*(65535&(t^=255&e.charCodeAt(n)))+(59797*(t>>>16)<<16)}return(((t=1540483477*(65535&(t^=t>>>13))+(59797*(t>>>16)<<16))^t>>>15)>>>0).toString(36)}(a)+i;return{name:u,styles:a,next:pe}},me="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",ye=function(e,r){var t={};for(var n in r)re.call(r,n)&&(t[n]=r[n]);return t[me]=e,t},ge=ne((function(e,r,n){var a=e.css;"string"==typeof a&&void 0!==r.registered[a]&&(a=r.registered[a]);var s=e[me],c=[a],o="";"string"==typeof e.className?o=function(e,r,t){var n="";return t.split(" ").forEach((function(t){void 0!==e[t]?r.push(e[t]+";"):n+=t+" "})),n}(r.registered,c,e.className):null!=e.className&&(o=e.className+" ");var i=ve(c,void 0,"function"==typeof a||Array.isArray(a)?t.useContext(ae):void 0);!function(e,r,t){var n=e.key+"-"+r.name;if(!1===t&&void 0===e.registered[n]&&(e.registered[n]=r.styles),void 0===e.inserted[r.name]){var a=r;do{e.insert(r===a?"."+n:"",a,e.sheet,!0),a=a.next}while(void 0!==a)}}(r,i,"string"==typeof s);o+=r.key+"-"+i.name;var u={};for(var l in e)re.call(e,l)&&"css"!==l&&l!==me&&(u[l]=e[l]);return u.ref=n,u.className=o,t.createElement(s,u)}));var be=r.Fragment;e.Fragment=be,e.jsx=function(e,t,n){return re.call(t,"css")?r.jsx(ge,ye(e,t),n):r.jsx(e,t,n)},e.jsxs=function(e,t,n){return re.call(t,"css")?r.jsxs(ge,ye(e,t),n):r.jsxs(e,t,n)},Object.defineProperty(e,"__esModule",{value:!0})})); | ||
//# sourceMappingURL=bumbag-emotion-react-jsx-runtime.umd.min.js.map |
@@ -5,6 +5,2 @@ { | ||
"umd:main": "dist/bumbag-emotion-react-jsx-runtime.umd.min.js", | ||
"browser": { | ||
"./dist/bumbag-emotion-react-jsx-runtime.cjs.js": "./dist/bumbag-emotion-react-jsx-runtime.browser.cjs.js", | ||
"./dist/bumbag-emotion-react-jsx-runtime.esm.js": "./dist/bumbag-emotion-react-jsx-runtime.browser.esm.js" | ||
}, | ||
"types": "../types/jsx-runtime", | ||
@@ -11,0 +7,0 @@ "sideEffects": false, |
{ | ||
"name": "@bumbag/emotion-react", | ||
"version": "11.1.5", | ||
"version": "11.4.0-0", | ||
"main": "dist/bumbag-emotion-react.cjs.js", | ||
"module": "dist/bumbag-emotion-react.esm.js", | ||
"browser": { | ||
"./dist/bumbag-emotion-react.cjs.js": "./dist/bumbag-emotion-react.browser.cjs.js", | ||
"./dist/bumbag-emotion-react.esm.js": "./dist/bumbag-emotion-react.browser.esm.js" | ||
}, | ||
"types": "types/index.d.ts", | ||
@@ -29,5 +25,5 @@ "files": [ | ||
"dependencies": { | ||
"@babel/runtime": "^7.7.2", | ||
"@emotion/cache": "@bumbag/emotion-cache@11.1.3", | ||
"@emotion/serialize": "^1.0.0", | ||
"@babel/runtime": "^7.13.10", | ||
"@emotion/cache": "npm:@bumbag/emotion-cache@11.4.0-1", | ||
"@emotion/serialize": "^1.0.2", | ||
"@emotion/sheet": "^1.0.1", | ||
@@ -51,7 +47,7 @@ "@emotion/utils": "^1.0.0", | ||
"devDependencies": { | ||
"@babel/core": "^7.7.2", | ||
"@babel/core": "^7.13.10", | ||
"@bumbag/emotion-css": "11.1.3", | ||
"@emotion/css-prettifier": "1.0.0", | ||
"@emotion/server": "11.0.0", | ||
"@emotion/styled": "11.1.5", | ||
"@emotion/server": "11.4.0", | ||
"@emotion/styled": "11.3.0", | ||
"@types/react": "^16.9.11", | ||
@@ -63,3 +59,3 @@ "dtslint": "^0.3.0", | ||
}, | ||
"repository": "https://github.com/emotion-js/emotion/tree/master/packages/react", | ||
"repository": "https://github.com/emotion-js/emotion/tree/main/packages/react", | ||
"publishConfig": { | ||
@@ -66,0 +62,0 @@ "access": "public" |
@@ -91,56 +91,55 @@ // @flow | ||
export const ClassNames: React.AbstractComponent< | ||
Props | ||
> = /* #__PURE__ */ withEmotionCache((props, cache) => { | ||
let rules = '' | ||
let serializedHashes = '' | ||
let hasRendered = false | ||
export const ClassNames: React.AbstractComponent<Props> = | ||
/* #__PURE__ */ withEmotionCache((props, cache) => { | ||
let rules = '' | ||
let serializedHashes = '' | ||
let hasRendered = false | ||
let css = (...args: Array<any>) => { | ||
if (hasRendered && process.env.NODE_ENV !== 'production') { | ||
throw new Error('css can only be used during render') | ||
let css = (...args: Array<any>) => { | ||
if (hasRendered && process.env.NODE_ENV !== 'production') { | ||
throw new Error('css can only be used during render') | ||
} | ||
let serialized = serializeStyles(args, cache.registered) | ||
if (isBrowser) { | ||
insertStyles(cache, serialized, false) | ||
} else { | ||
let res = insertStyles(cache, serialized, false) | ||
if (res !== undefined) { | ||
rules += res | ||
} | ||
} | ||
if (!isBrowser) { | ||
serializedHashes += ` ${serialized.name}` | ||
} | ||
return `${cache.key}-${serialized.name}` | ||
} | ||
let serialized = serializeStyles(args, cache.registered) | ||
if (isBrowser) { | ||
insertStyles(cache, serialized, false) | ||
} else { | ||
let res = insertStyles(cache, serialized, false) | ||
if (res !== undefined) { | ||
rules += res | ||
let cx = (...args: Array<ClassNameArg>) => { | ||
if (hasRendered && process.env.NODE_ENV !== 'production') { | ||
throw new Error('cx can only be used during render') | ||
} | ||
return merge(cache.registered, css, classnames(args)) | ||
} | ||
if (!isBrowser) { | ||
serializedHashes += ` ${serialized.name}` | ||
let content = { | ||
css, | ||
cx, | ||
theme: React.useContext(ThemeContext) | ||
} | ||
return `${cache.key}-${serialized.name}` | ||
} | ||
let cx = (...args: Array<ClassNameArg>) => { | ||
if (hasRendered && process.env.NODE_ENV !== 'production') { | ||
throw new Error('cx can only be used during render') | ||
let ele = props.children(content) | ||
hasRendered = true | ||
if (!isBrowser && rules.length !== 0) { | ||
return ( | ||
<> | ||
<style | ||
{...{ | ||
[`data-emotion`]: `${cache.key} ${serializedHashes.substring(1)}`, | ||
dangerouslySetInnerHTML: { __html: rules }, | ||
nonce: cache.sheet.nonce | ||
}} | ||
/> | ||
{ele} | ||
</> | ||
) | ||
} | ||
return merge(cache.registered, css, classnames(args)) | ||
} | ||
let content = { | ||
css, | ||
cx, | ||
theme: React.useContext(ThemeContext) | ||
} | ||
let ele = props.children(content) | ||
hasRendered = true | ||
if (!isBrowser && rules.length !== 0) { | ||
return ( | ||
<> | ||
<style | ||
{...{ | ||
[`data-emotion`]: `${cache.key} ${serializedHashes.substring(1)}`, | ||
dangerouslySetInnerHTML: { __html: rules }, | ||
nonce: cache.sheet.nonce | ||
}} | ||
/> | ||
{ele} | ||
</> | ||
) | ||
} | ||
return ele | ||
}) | ||
return ele | ||
}) | ||
@@ -147,0 +146,0 @@ if (process.env.NODE_ENV !== 'production') { |
@@ -8,13 +8,14 @@ // @flow | ||
let EmotionCacheContext: React.Context<EmotionCache | null> = /* #__PURE__ */ React.createContext( | ||
// we're doing this to avoid preconstruct's dead code elimination in this one case | ||
// because this module is primarily intended for the browser and node | ||
// but it's also required in react native and similar environments sometimes | ||
// and we could have a special build just for that | ||
// but this is much easier and the native packages | ||
// might use a different theme context in the future anyway | ||
typeof HTMLElement !== 'undefined' | ||
? /* #__PURE__ */ createCache({ key: 'css' }) | ||
: null | ||
) | ||
let EmotionCacheContext: React.Context<EmotionCache | null> = | ||
/* #__PURE__ */ React.createContext( | ||
// we're doing this to avoid preconstruct's dead code elimination in this one case | ||
// because this module is primarily intended for the browser and node | ||
// but it's also required in react native and similar environments sometimes | ||
// and we could have a special build just for that | ||
// but this is much easier and the native packages | ||
// might use a different theme context in the future anyway | ||
typeof HTMLElement !== 'undefined' | ||
? /* #__PURE__ */ createCache({ key: 'css' }) | ||
: null | ||
) | ||
@@ -21,0 +22,0 @@ export let CacheProvider = EmotionCacheContext.Provider |
@@ -26,5 +26,3 @@ // @flow | ||
throw new Error( | ||
`Strings are not allowed as css prop values, please wrap it in a css template literal from '@emotion/react' like this: css\`${ | ||
props.css | ||
}\`` | ||
`Strings are not allowed as css prop values, please wrap it in a css template literal from '@emotion/react' like this: css\`${props.css}\`` | ||
) | ||
@@ -31,0 +29,0 @@ } |
@@ -23,71 +23,69 @@ // @flow | ||
export let Global: React.AbstractComponent< | ||
GlobalProps | ||
> = /* #__PURE__ */ withEmotionCache((props: GlobalProps, cache) => { | ||
if ( | ||
process.env.NODE_ENV !== 'production' && | ||
!warnedAboutCssPropForGlobal && // check for className as well since the user is | ||
// probably using the custom createElement which | ||
// means it will be turned into a className prop | ||
// $FlowFixMe I don't really want to add it to the type since it shouldn't be used | ||
(props.className || props.css) | ||
) { | ||
console.error( | ||
"It looks like you're using the css prop on Global, did you mean to use the styles prop instead?" | ||
export let Global: React.AbstractComponent<GlobalProps> = | ||
/* #__PURE__ */ withEmotionCache((props: GlobalProps, cache) => { | ||
if ( | ||
process.env.NODE_ENV !== 'production' && | ||
!warnedAboutCssPropForGlobal && // check for className as well since the user is | ||
// probably using the custom createElement which | ||
// means it will be turned into a className prop | ||
// $FlowFixMe I don't really want to add it to the type since it shouldn't be used | ||
(props.className || props.css) | ||
) { | ||
console.error( | ||
"It looks like you're using the css prop on Global, did you mean to use the styles prop instead?" | ||
) | ||
warnedAboutCssPropForGlobal = true | ||
} | ||
let styles = props.styles | ||
let serialized = serializeStyles( | ||
[styles], | ||
undefined, | ||
typeof styles === 'function' || Array.isArray(styles) | ||
? React.useContext(ThemeContext) | ||
: undefined | ||
) | ||
warnedAboutCssPropForGlobal = true | ||
} | ||
let styles = props.styles | ||
let serialized = serializeStyles( | ||
[styles], | ||
undefined, | ||
typeof styles === 'function' || Array.isArray(styles) | ||
? React.useContext(ThemeContext) | ||
: undefined | ||
) | ||
if (!isBrowser) { | ||
let serializedNames = serialized.name | ||
let serializedStyles = serialized.styles | ||
let next = serialized.next | ||
while (next !== undefined) { | ||
serializedNames += ' ' + next.name | ||
serializedStyles += next.styles | ||
next = next.next | ||
} | ||
if (!isBrowser) { | ||
let serializedNames = serialized.name | ||
let serializedStyles = serialized.styles | ||
let next = serialized.next | ||
while (next !== undefined) { | ||
serializedNames += ' ' + next.name | ||
serializedStyles += next.styles | ||
next = next.next | ||
} | ||
let shouldCache = cache.compat === true | ||
let shouldCache = cache.compat === true | ||
let rules = cache.insert( | ||
``, | ||
{ name: serializedNames, styles: serializedStyles }, | ||
cache.sheet, | ||
shouldCache | ||
) | ||
let rules = cache.insert( | ||
``, | ||
{ name: serializedNames, styles: serializedStyles }, | ||
cache.sheet, | ||
shouldCache | ||
) | ||
if (shouldCache) { | ||
return null | ||
} | ||
if (shouldCache) { | ||
return null | ||
return ( | ||
<style | ||
{...{ | ||
[`data-emotion`]: `${cache.key}-global ${serializedNames}`, | ||
dangerouslySetInnerHTML: { __html: rules }, | ||
nonce: cache.sheet.nonce | ||
}} | ||
/> | ||
) | ||
} | ||
return ( | ||
<style | ||
{...{ | ||
[`data-emotion`]: `${cache.key}-global ${serializedNames}`, | ||
dangerouslySetInnerHTML: { __html: rules }, | ||
nonce: cache.sheet.nonce | ||
}} | ||
/> | ||
) | ||
} | ||
// yes, i know these hooks are used conditionally | ||
// but it is based on a constant that will never change at runtime | ||
// it's effectively like having two implementations and switching them out | ||
// so it's not actually breaking anything | ||
// yes, i know these hooks are used conditionally | ||
// but it is based on a constant that will never change at runtime | ||
// it's effectively like having two implementations and switching them out | ||
// so it's not actually breaking anything | ||
let sheetRef = React.useRef() | ||
let sheetRef = React.useRef() | ||
React.useLayoutEffect( | ||
() => { | ||
React.useLayoutEffect(() => { | ||
const key = `${cache.key}-global` | ||
@@ -101,2 +99,3 @@ | ||
}) | ||
let rehydrating = false | ||
// $FlowFixMe | ||
@@ -106,3 +105,2 @@ let node: HTMLStyleElement | null = document.querySelector( | ||
) | ||
if (cache.sheet.tags.length) { | ||
@@ -112,14 +110,20 @@ sheet.before = cache.sheet.tags[0] | ||
if (node !== null) { | ||
rehydrating = true | ||
// clear the hash so this node won't be recognizable as rehydratable by other <Global/>s | ||
node.setAttribute('data-emotion', key) | ||
sheet.hydrate([node]) | ||
} | ||
sheetRef.current = sheet | ||
sheetRef.current = [sheet, rehydrating] | ||
return () => { | ||
sheet.flush() | ||
} | ||
}, | ||
[cache] | ||
) | ||
}, [cache]) | ||
React.useLayoutEffect( | ||
() => { | ||
React.useLayoutEffect(() => { | ||
let sheetRefCurrent = (sheetRef.current: any) | ||
let [sheet, rehydrating] = sheetRefCurrent | ||
if (rehydrating) { | ||
sheetRefCurrent[1] = false | ||
return | ||
} | ||
if (serialized.next !== undefined) { | ||
@@ -129,3 +133,3 @@ // insert keyframes | ||
} | ||
let sheet: StyleSheet = ((sheetRef.current: any): StyleSheet) | ||
if (sheet.tags.length) { | ||
@@ -138,8 +142,6 @@ // if this doesn't exist then it will be null so the style element will be appended | ||
cache.insert(``, serialized, sheet, false) | ||
}, | ||
[cache, serialized.name] | ||
) | ||
}, [cache, serialized.name]) | ||
return null | ||
}) | ||
return null | ||
}) | ||
@@ -146,0 +148,0 @@ if (process.env.NODE_ENV !== 'production') { |
@@ -7,3 +7,3 @@ // @flow | ||
// $FlowFixMe | ||
export const jsx: typeof React.createElement = function( | ||
export const jsx: typeof React.createElement = function ( | ||
type: React.ElementType, | ||
@@ -10,0 +10,0 @@ props: Object |
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
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
GitHub dependency
Supply chain riskContains a dependency which resolves to a GitHub URL. Dependencies fetched from GitHub specifiers are not immutable can be used to inject untrusted code or reduce the likelihood of a reproducible install.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
0
47
470991
60
2509
5
+ Added@bumbag/emotion-cache@11.4.0-1(transitive)
+ Added@emotion/memoize@0.7.5(transitive)
+ Addedstylis@4.3.5(transitive)
Updated@babel/runtime@^7.13.10
Updated@emotion/serialize@^1.0.2