UNPKG

@wandevs/web3modal

Version:

A single Web3 / Ethereum provider solution for all Wallets

21 lines (19 loc) 550 kB
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("Web3Modal",[],t):"object"==typeof exports?exports.Web3Modal=t():e.Web3Modal=t()}(this,(function(){return function(e){var t={};function A(n){if(t[n])return t[n].exports;var I=t[n]={i:n,l:!1,exports:{}};return e[n].call(I.exports,I,I.exports,A),I.l=!0,I.exports}return A.m=e,A.c=t,A.d=function(e,t,n){A.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},A.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},A.t=function(e,t){if(1&t&&(e=A(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(A.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var I in e)A.d(n,I,function(t){return e[t]}.bind(null,I));return n},A.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return A.d(t,"a",t),t},A.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},A.p="",A(A.s=23)}([function(e,t,A){"use strict";A.r(t),A.d(t,"__extends",(function(){return I})),A.d(t,"__assign",(function(){return i})),A.d(t,"__rest",(function(){return g})),A.d(t,"__decorate",(function(){return r})),A.d(t,"__param",(function(){return M})),A.d(t,"__metadata",(function(){return u})),A.d(t,"__awaiter",(function(){return o})),A.d(t,"__generator",(function(){return c})),A.d(t,"__createBinding",(function(){return a})),A.d(t,"__exportStar",(function(){return C})),A.d(t,"__values",(function(){return l})),A.d(t,"__read",(function(){return N})),A.d(t,"__spread",(function(){return s})),A.d(t,"__spreadArrays",(function(){return j})),A.d(t,"__await",(function(){return D})),A.d(t,"__asyncGenerator",(function(){return d})),A.d(t,"__asyncDelegator",(function(){return T})),A.d(t,"__asyncValues",(function(){return f})),A.d(t,"__makeTemplateObject",(function(){return w})),A.d(t,"__importStar",(function(){return y})),A.d(t,"__importDefault",(function(){return z})),A.d(t,"__classPrivateFieldGet",(function(){return L})),A.d(t,"__classPrivateFieldSet",(function(){return E})); /*! ***************************************************************************** Copyright (c) Microsoft Corporation. Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ***************************************************************************** */ var n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var A in t)t.hasOwnProperty(A)&&(e[A]=t[A])})(e,t)};function I(e,t){function A(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(A.prototype=t.prototype,new A)}var i=function(){return(i=Object.assign||function(e){for(var t,A=1,n=arguments.length;A<n;A++)for(var I in t=arguments[A])Object.prototype.hasOwnProperty.call(t,I)&&(e[I]=t[I]);return e}).apply(this,arguments)};function g(e,t){var A={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(A[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var I=0;for(n=Object.getOwnPropertySymbols(e);I<n.length;I++)t.indexOf(n[I])<0&&Object.prototype.propertyIsEnumerable.call(e,n[I])&&(A[n[I]]=e[n[I]])}return A}function r(e,t,A,n){var I,i=arguments.length,g=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,A):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)g=Reflect.decorate(e,t,A,n);else for(var r=e.length-1;r>=0;r--)(I=e[r])&&(g=(i<3?I(g):i>3?I(t,A,g):I(t,A))||g);return i>3&&g&&Object.defineProperty(t,A,g),g}function M(e,t){return function(A,n){t(A,n,e)}}function u(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function o(e,t,A,n){return new(A||(A=Promise))((function(I,i){function g(e){try{M(n.next(e))}catch(e){i(e)}}function r(e){try{M(n.throw(e))}catch(e){i(e)}}function M(e){var t;e.done?I(e.value):(t=e.value,t instanceof A?t:new A((function(e){e(t)}))).then(g,r)}M((n=n.apply(e,t||[])).next())}))}function c(e,t){var A,n,I,i,g={label:0,sent:function(){if(1&I[0])throw I[1];return I[1]},trys:[],ops:[]};return i={next:r(0),throw:r(1),return:r(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function r(i){return function(r){return function(i){if(A)throw new TypeError("Generator is already executing.");for(;g;)try{if(A=1,n&&(I=2&i[0]?n.return:i[0]?n.throw||((I=n.return)&&I.call(n),0):n.next)&&!(I=I.call(n,i[1])).done)return I;switch(n=0,I&&(i=[2&i[0],I.value]),i[0]){case 0:case 1:I=i;break;case 4:return g.label++,{value:i[1],done:!1};case 5:g.label++,n=i[1],i=[0];continue;case 7:i=g.ops.pop(),g.trys.pop();continue;default:if(!(I=g.trys,(I=I.length>0&&I[I.length-1])||6!==i[0]&&2!==i[0])){g=0;continue}if(3===i[0]&&(!I||i[1]>I[0]&&i[1]<I[3])){g.label=i[1];break}if(6===i[0]&&g.label<I[1]){g.label=I[1],I=i;break}if(I&&g.label<I[2]){g.label=I[2],g.ops.push(i);break}I[2]&&g.ops.pop(),g.trys.pop();continue}i=t.call(e,g)}catch(e){i=[6,e],n=0}finally{A=I=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,r])}}}function a(e,t,A,n){void 0===n&&(n=A),e[n]=t[A]}function C(e,t){for(var A in e)"default"===A||t.hasOwnProperty(A)||(t[A]=e[A])}function l(e){var t="function"==typeof Symbol&&Symbol.iterator,A=t&&e[t],n=0;if(A)return A.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function N(e,t){var A="function"==typeof Symbol&&e[Symbol.iterator];if(!A)return e;var n,I,i=A.call(e),g=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)g.push(n.value)}catch(e){I={error:e}}finally{try{n&&!n.done&&(A=i.return)&&A.call(i)}finally{if(I)throw I.error}}return g}function s(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(N(arguments[t]));return e}function j(){for(var e=0,t=0,A=arguments.length;t<A;t++)e+=arguments[t].length;var n=Array(e),I=0;for(t=0;t<A;t++)for(var i=arguments[t],g=0,r=i.length;g<r;g++,I++)n[I]=i[g];return n}function D(e){return this instanceof D?(this.v=e,this):new D(e)}function d(e,t,A){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,I=A.apply(e,t||[]),i=[];return n={},g("next"),g("throw"),g("return"),n[Symbol.asyncIterator]=function(){return this},n;function g(e){I[e]&&(n[e]=function(t){return new Promise((function(A,n){i.push([e,t,A,n])>1||r(e,t)}))})}function r(e,t){try{(A=I[e](t)).value instanceof D?Promise.resolve(A.value.v).then(M,u):o(i[0][2],A)}catch(e){o(i[0][3],e)}var A}function M(e){r("next",e)}function u(e){r("throw",e)}function o(e,t){e(t),i.shift(),i.length&&r(i[0][0],i[0][1])}}function T(e){var t,A;return t={},n("next"),n("throw",(function(e){throw e})),n("return"),t[Symbol.iterator]=function(){return this},t;function n(n,I){t[n]=e[n]?function(t){return(A=!A)?{value:D(e[n](t)),done:"return"===n}:I?I(t):t}:I}}function f(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,A=e[Symbol.asyncIterator];return A?A.call(e):(e=l(e),t={},n("next"),n("throw"),n("return"),t[Symbol.asyncIterator]=function(){return this},t);function n(A){t[A]=e[A]&&function(t){return new Promise((function(n,I){(function(e,t,A,n){Promise.resolve(n).then((function(t){e({value:t,done:A})}),t)})(n,I,(t=e[A](t)).done,t.value)}))}}}function w(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}function y(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var A in e)Object.hasOwnProperty.call(e,A)&&(t[A]=e[A]);return t.default=e,t}function z(e){return e&&e.__esModule?e:{default:e}}function L(e,t){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return t.get(e)}function E(e,t,A){if(!t.has(e))throw new TypeError("attempted to set private field on non-instance");return t.set(e,A),A}},function(e,t,A){"use strict";e.exports=A(25)},function(e,t,A){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=A(0);n.__exportStar(A(32),t),n.__exportStar(A(33),t),n.__exportStar(A(34),t),n.__exportStar(A(35),t)},function(e,t,A){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=A(0);n.__exportStar(A(30),t),n.__exportStar(A(107),t),n.__exportStar(A(10),t)},function(e,t,A){"use strict";e.exports=A(112)},function(e,t,A){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.themesList=void 0;var I=A(0),i=I.__importDefault(A(36)),g=I.__importDefault(A(37));t.themesList=((n={default:i.default})[i.default.name]=i.default,n[g.default.name]=g.default,n)},function(e,t,A){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.providers=t.injected=t.connectors=void 0;var n=A(0),I=n.__importStar(A(38));t.connectors=I;var i=n.__importStar(A(12));t.injected=i;var g=n.__importStar(A(86));t.providers=g},function(e,t,A){"use strict";var n=A(4),I={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},g={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},r={};function M(e){return n.isMemo(e)?g:r[e.$$typeof]||I}r[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},r[n.Memo]=g;var u=Object.defineProperty,o=Object.getOwnPropertyNames,c=Object.getOwnPropertySymbols,a=Object.getOwnPropertyDescriptor,C=Object.getPrototypeOf,l=Object.prototype;e.exports=function e(t,A,n){if("string"!=typeof A){if(l){var I=C(A);I&&I!==l&&e(t,I,n)}var g=o(A);c&&(g=g.concat(c(A)));for(var r=M(t),N=M(A),s=0;s<g.length;++s){var j=g[s];if(!(i[j]||n&&n[j]||N&&N[j]||r&&r[j])){var D=a(A,j);try{u(t,j,D)}catch(e){}}}}return t}},function(e,t,A){"use strict";var n=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,I=function(e){var t=Object.create(null);return function(A){return void 0===t[A]&&(t[A]=e(A)),t[A]}}((function(e){return n.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}));t.a=I},function(e,t,A){"use strict"; /* object-assign (c) Sindre Sorhus @license MIT */var n=Object.getOwnPropertySymbols,I=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function g(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},A=0;A<10;A++)t["_"+String.fromCharCode(A)]=A;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(e){n[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var A,r,M=g(e),u=1;u<arguments.length;u++){for(var o in A=Object(arguments[u]))I.call(A,o)&&(M[o]=A[o]);if(n){r=n(A);for(var c=0;c<r.length;c++)i.call(A,r[c])&&(M[r[c]]=A[r[c]])}}return M}},function(e,t,A){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isLocalStorageAvailable=t.findMatchingRequiredOptions=t.getThemeColors=t.getChainId=t.filterProviderChecks=t.filterProviders=t.filterMatches=t.getProviderDescription=t.isMobile=t.getProviderInfoByCheck=t.getProviderInfoById=t.getProviderInfoByName=t.getProviderInfoFromChecksArray=t.getProviderInfo=t.getInjectedProviderName=t.getInjectedProvider=t.verifyInjectedProvider=t.checkInjectedProviders=void 0;var n=A(0).__importStar(A(31)),I=A(2),i=A(5),g=A(6);function r(){var e={injectedAvailable:!!window.ethereum||!!window.web3};if(e.injectedAvailable){var t=!0;Object.values(g.injected).forEach((function(A){M(A.check)&&(e[A.check]=!0,t=!1)}));var A=n.detect();A&&"opera"===A.name&&(e[g.injected.OPERA.check]=!0,t=!1),t&&(e[g.injected.FALLBACK.check]=!0)}return e}function M(e){return window.ethereum?window.ethereum[e]:window.web3&&window.web3.currentProvider&&window.web3.currentProvider[e]}function u(){var e=null,t=r();t.injectedAvailable&&(delete t.injectedAvailable,e=o(Object.keys(t)));return e}function o(e){return a("check",C(e))}function c(e,t,A){var n=A,I=e.filter(t);return I&&I.length&&(n=I[0]),n}function a(e,t){return t&&c(Object.values(g.providers),(function(A){return A[e]===t}),g.providers.FALLBACK)||g.providers.FALLBACK}function C(e){return e&&e.length?e.length>1&&e[0]===g.injected.CIPHER.check?e[1]:e[0]:g.providers.FALLBACK.check}t.checkInjectedProviders=r,t.verifyInjectedProvider=M,t.getInjectedProvider=u,t.getInjectedProviderName=function(){var e=u();return e?e.name:null},t.getProviderInfo=function(e){return e?o(Object.values(g.providers).filter((function(t){return e[t.check]})).map((function(e){return e.check}))):g.providers.FALLBACK},t.getProviderInfoFromChecksArray=o,t.getProviderInfoByName=function(e){return a("name",e)},t.getProviderInfoById=function(e){return a("id",e)},t.getProviderInfoByCheck=function(e){return a("check",e)},t.isMobile=function(){return!(!/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|ipad|iris|kindle|Android|Silk|lge |maemo|midp|mmp|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i.test(navigator.userAgent)&&!/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(navigator.userAgent.substr(0,4))&&!function(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}())},t.getProviderDescription=function(e){if(e.description)return e.description;var t="";switch(e.type){case"injected":t="Connect to your "+e.name+" Wallet";break;case"web":t="Connect with your "+e.name+" account";break;case"qrcode":t="Scan with "+e.name+" to connect";break;case"hardware":t="Connect to your "+e.name+" Hardware Wallet"}return t},t.filterMatches=c,t.filterProviders=a,t.filterProviderChecks=C,t.getChainId=function(e){var t=c(Object.values(I.CHAIN_DATA_LIST),(function(t){return t.network===e}),void 0);if(!t)throw new Error("No chainId found match "+e);return t.chainId},t.getThemeColors=function(e){return"string"==typeof e?i.themesList[e].colors:e},t.findMatchingRequiredOptions=function e(t,A){return t.filter((function(t){if("string"==typeof t)return t in A;var n=e(t,A);return n&&n.length}))},t.isLocalStorageAvailable=function(){try{return localStorage.setItem("test","test"),localStorage.removeItem("test"),!0}catch(e){return!1}}},function(e,t){var A,n,I=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function g(){throw new Error("clearTimeout has not been defined")}function r(e){if(A===setTimeout)return setTimeout(e,0);if((A===i||!A)&&setTimeout)return A=setTimeout,setTimeout(e,0);try{return A(e,0)}catch(t){try{return A.call(null,e,0)}catch(t){return A.call(this,e,0)}}}!function(){try{A="function"==typeof setTimeout?setTimeout:i}catch(e){A=i}try{n="function"==typeof clearTimeout?clearTimeout:g}catch(e){n=g}}();var M,u=[],o=!1,c=-1;function a(){o&&M&&(o=!1,M.length?u=M.concat(u):c=-1,u.length&&C())}function C(){if(!o){var e=r(a);o=!0;for(var t=u.length;t;){for(M=u,u=[];++c<t;)M&&M[c].run();c=-1,t=u.length}M=null,o=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===g||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function l(e,t){this.fun=e,this.array=t}function N(){}I.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var A=1;A<arguments.length;A++)t[A-1]=arguments[A];u.push(new l(e,t)),1!==u.length||o||r(C)},l.prototype.run=function(){this.fun.apply(null,this.array)},I.title="browser",I.browser=!0,I.env={},I.argv=[],I.version="",I.versions={},I.on=N,I.addListener=N,I.once=N,I.off=N,I.removeListener=N,I.removeAllListeners=N,I.emit=N,I.prependListener=N,I.prependOnceListener=N,I.listeners=function(e){return[]},I.binding=function(e){throw new Error("process.binding is not supported")},I.cwd=function(){return"/"},I.chdir=function(e){throw new Error("process.chdir is not supported")},I.umask=function(){return 0}},function(e,t,A){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BRAVE=t.RABBY=t.SEQUENCEINJECTED=t.PORTAL=t.TALLYINJECTED=t.BLOCKWALLET=t.CELOINJECTED=t.BITPIE=t.XDEFI=t.RWALLET=t.MATHWALLET=t.BOLTX=t.LIQUALITY=t.FRAMEINJECTED=t.TOKENARY=t.STATUS=t.IMTOKEN=t.CIPHER=t.COINBASE=t.TRUST=t.OPERA=t.DAPPER=t.NIFTY=t.SAFE=t.FALLBACK=void 0;var n=A(0),I=n.__importDefault(A(63)),i=n.__importDefault(A(64)),g=n.__importDefault(A(65)),r=n.__importDefault(A(66)),M=n.__importDefault(A(67)),u=n.__importDefault(A(68)),o=n.__importDefault(A(69)),c=n.__importDefault(A(70)),a=n.__importDefault(A(71)),C=n.__importDefault(A(72)),l=n.__importDefault(A(73)),N=n.__importDefault(A(13)),s=n.__importDefault(A(74)),j=n.__importDefault(A(75)),D=n.__importDefault(A(76)),d=n.__importDefault(A(77)),T=n.__importDefault(A(78)),f=n.__importDefault(A(79)),w=n.__importDefault(A(80)),y=n.__importDefault(A(81)),z=n.__importDefault(A(82)),L=n.__importDefault(A(83)),E=n.__importDefault(A(14)),x=n.__importDefault(A(84)),p=n.__importDefault(A(85));t.FALLBACK={id:"injected",name:"Web3",logo:I.default,type:"injected",check:"isWeb3"},t.SAFE={id:"injected",name:"Safe",logo:i.default,type:"injected",check:"isSafe"},t.NIFTY={id:"injected",name:"Nifty",logo:g.default,type:"injected",check:"isNiftyWallet"},t.DAPPER={id:"injected",name:"Dapper",logo:M.default,type:"injected",check:"isDapper"},t.OPERA={id:"injected",name:"Opera",logo:l.default,type:"injected",check:"isOpera"},t.TRUST={id:"injected",name:"Trust",logo:r.default,type:"injected",check:"isTrust"},t.COINBASE={id:"injected",name:"Coinbase",logo:u.default,type:"injected",check:"isCoinbaseWallet"},t.CIPHER={id:"injected",name:"Cipher",logo:o.default,type:"injected",check:"isCipher"},t.IMTOKEN={id:"injected",name:"imToken",logo:c.default,type:"injected",check:"isImToken"},t.STATUS={id:"injected",name:"Status",logo:a.default,type:"injected",check:"isStatus"},t.TOKENARY={id:"injected",name:"Tokenary",logo:C.default,type:"injected",check:"isTokenary"},t.FRAMEINJECTED={id:"injected",name:"Frame",logo:N.default,type:"injected",check:"isFrame"},t.LIQUALITY={id:"injected",name:"Liquality",logo:s.default,type:"injected",check:"isLiquality"},t.BOLTX={id:"boltx",name:"Bolt-X",logo:j.default,type:"injected",check:"isBoltX"},t.MATHWALLET={id:"injected",name:"Math Wallet",logo:D.default,type:"injected",check:"isMathWallet"},t.RWALLET={id:"injected",name:"rWallet",logo:d.default,type:"injected",check:"isRWallet"},t.XDEFI={id:"injected",name:"XDEFI",logo:f.default,type:"injected",check:"__XDEFI"},t.BITPIE={id:"injected",name:"Bitpie",logo:T.default,type:"injected",check:"isBitpie"},t.CELOINJECTED={id:"injected",name:"Celo extension wallet",logo:w.default,type:"injected",check:"isCelo"},t.BLOCKWALLET={id:"injected",name:"BlockWallet",logo:y.default,type:"injected",check:"isBlockWallet"},t.TALLYINJECTED={id:"injected",name:"Tally",logo:z.default,type:"injected",check:"isTally"},t.PORTAL={id:"injected",name:"Ripio Portal",logo:L.default,type:"injected",check:"isPortal"},t.SEQUENCEINJECTED={id:"injected",name:"Sequence",logo:E.default,type:"injected",check:"isSequence"},t.RABBY={id:"injected",name:"Rabby",logo:p.default,type:"injected",check:"isRabby"},t.BRAVE={id:"injected",name:"Brave",logo:x.default,type:"injected",check:"isBraveWallet"}},function(e,t){e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIgdmlld0JveD0iMCAwIDE1My40IDE1Mi45Ij48ZGVmcz48bGluZWFyR3JhZGllbnQgaWQ9InBoYXNlIiBncmFkaWVudFRyYW5zZm9ybT0icm90YXRlKDQ1KSI+PHN0b3Agb2Zmc2V0PSIwJSIgc3R5bGU9InN0b3AtY29sb3I6ICMyYjI1NGYiLz48c3RvcCBvZmZzZXQ9IjEwMCUiIHN0eWxlPSJzdG9wLWNvbG9yOiAjMTkyZjQ1Ii8+PC9saW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yYWRpZW50Pgo8bGluZWFyR3JhZGllbnQgaWQ9InBhaW50OV9saW5lYXJfMTFfMTE2IiB4MT0iMjE0IiB5MT0iMzU1IiB4Mj0iMzcwLjUiIHkyPSIzMTUiIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIj4KPHN0b3Agc3RvcC1jb2xvcj0iIzI0NDdGRiIvPgo8c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiM2OTgwRkEiLz4KPC9saW5lYXJHcmFkaWVudD4KPGxpbmVhckdyYWRpZW50IGlkPSJwYWludDEwX2xpbmVhcl8xMV8xMTYiIHgxPSIxNDQiIHkxPSIyNzYiIHgyPSIyOTMuNSIgeTI9IjIzNiIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiPgo8c3RvcCBzdG9wLWNvbG9yPSIjNjYzNEZGIi8+CjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iIzlDNkRGRiIvPgo8L2xpbmVhckdyYWRpZW50Pgo8Y2xpcFBhdGggaWQ9ImNsaXAwXzExXzExNiI+CjxyZWN0IHdpZHRoPSIzOTYiIGhlaWdodD0iMzE3LjY3IiBmaWxsPSJ3aGl0ZSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoNTggOTcpIi8+CjwvY2xpcFBhdGg+CjwvZGVmcz4KPC9zdmc+Cg=="},function(e,t,A){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=A(0);n.__exportStar(A(108),t),n.__exportStar(A(17),t)},function(e,t,A){"use strict";A.r(t),function(e){A.d(t,"ServerStyleSheet",(function(){return Ue})),A.d(t,"StyleSheetConsumer",(function(){return Ie})),A.d(t,"StyleSheetContext",(function(){return ne})),A.d(t,"StyleSheetManager",(function(){return oe})),A.d(t,"ThemeConsumer",(function(){return Oe})),A.d(t,"ThemeContext",(function(){return he})),A.d(t,"ThemeProvider",(function(){return Se})),A.d(t,"__PRIVATE__",(function(){return Re})),A.d(t,"createGlobalStyle",(function(){return Ye})),A.d(t,"css",(function(){return Te})),A.d(t,"isStyledComponent",(function(){return T})),A.d(t,"keyframes",(function(){return Be})),A.d(t,"useTheme",(function(){return Ze})),A.d(t,"version",(function(){return w})),A.d(t,"withTheme",(function(){return Ge}));var n=A(4),I=A(1),i=A.n(I),g=A(20),r=A.n(g),M=A(21),u=A(22),o=A(8),c=A(7),a=A.n(c);function C(){return(C=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var A=arguments[t];for(var n in A)Object.prototype.hasOwnProperty.call(A,n)&&(e[n]=A[n])}return e}).apply(this,arguments)}var l=function(e,t){for(var A=[e[0]],n=0,I=t.length;n<I;n+=1)A.push(t[n],e[n+1]);return A},N=function(e){return null!==e&&"object"==typeof e&&"[object Object]"===(e.toString?e.toString():Object.prototype.toString.call(e))&&!Object(n.typeOf)(e)},s=Object.freeze([]),j=Object.freeze({});function D(e){return"function"==typeof e}function d(e){return e.displayName||e.name||"Component"}function T(e){return e&&"string"==typeof e.styledComponentId}var f=void 0!==e&&(e.env.REACT_APP_SC_ATTR||e.env.SC_ATTR)||"data-styled",w="5.3.5",y="undefined"!=typeof window&&"HTMLElement"in window,z=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:void 0!==e&&void 0!==e.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==e.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==e.env.REACT_APP_SC_DISABLE_SPEEDY&&e.env.REACT_APP_SC_DISABLE_SPEEDY:void 0!==e&&void 0!==e.env.SC_DISABLE_SPEEDY&&""!==e.env.SC_DISABLE_SPEEDY&&("false"!==e.env.SC_DISABLE_SPEEDY&&e.env.SC_DISABLE_SPEEDY)),L={};function E(e){for(var t=arguments.length,A=new Array(t>1?t-1:0),n=1;n<t;n++)A[n-1]=arguments[n];throw new Error("An error occurred. See https://git.io/JUIaE#"+e+" for more information."+(A.length>0?" Args: "+A.join(", "):""))}var x=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}var t=e.prototype;return t.indexOfGroup=function(e){for(var t=0,A=0;A<e;A++)t+=this.groupSizes[A];return t},t.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var A=this.groupSizes,n=A.length,I=n;e>=I;)(I<<=1)<0&&E(16,""+e);this.groupSizes=new Uint32Array(I),this.groupSizes.set(A),this.length=I;for(var i=n;i<I;i++)this.groupSizes[i]=0}for(var g=this.indexOfGroup(e+1),r=0,M=t.length;r<M;r++)this.tag.insertRule(g,t[r])&&(this.groupSizes[e]++,g++)},t.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],A=this.indexOfGroup(e),n=A+t;this.groupSizes[e]=0;for(var I=A;I<n;I++)this.tag.deleteRule(A)}},t.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var A=this.groupSizes[e],n=this.indexOfGroup(e),I=n+A,i=n;i<I;i++)t+=this.tag.getRule(i)+"/*!sc*/\n";return t},e}(),p=new Map,v=new Map,m=1,h=function(e){if(p.has(e))return p.get(e);for(;v.has(m);)m++;var t=m++;return p.set(e,t),v.set(t,e),t},O=function(e){return v.get(e)},S=function(e,t){t>=m&&(m=t+1),p.set(e,t),v.set(t,e)},b="style["+f+'][data-styled-version="5.3.5"]',Q=new RegExp("^"+f+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),k=function(e,t,A){for(var n,I=A.split(","),i=0,g=I.length;i<g;i++)(n=I[i])&&e.registerName(t,n)},P=function(e,t){for(var A=(t.textContent||"").split("/*!sc*/\n"),n=[],I=0,i=A.length;I<i;I++){var g=A[I].trim();if(g){var r=g.match(Q);if(r){var M=0|parseInt(r[1],10),u=r[2];0!==M&&(S(u,M),k(e,u,r[3]),e.getTag().insertRules(M,n)),n.length=0}else n.push(g)}}},Y=function(){return"undefined"!=typeof window&&void 0!==window.__webpack_nonce__?window.__webpack_nonce__:null},B=function(e){var t=document.head,A=e||t,n=document.createElement("style"),I=function(e){for(var t=e.childNodes,A=t.length;A>=0;A--){var n=t[A];if(n&&1===n.nodeType&&n.hasAttribute(f))return n}}(A),i=void 0!==I?I.nextSibling:null;n.setAttribute(f,"active"),n.setAttribute("data-styled-version","5.3.5");var g=Y();return g&&n.setAttribute("nonce",g),A.insertBefore(n,i),n},U=function(){function e(e){var t=this.element=B(e);t.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,A=0,n=t.length;A<n;A++){var I=t[A];if(I.ownerNode===e)return I}E(17)}(t),this.length=0}var t=e.prototype;return t.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},t.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},t.getRule=function(e){var t=this.sheet.cssRules[e];return void 0!==t&&"string"==typeof t.cssText?t.cssText:""},e}(),G=function(){function e(e){var t=this.element=B(e);this.nodes=t.childNodes,this.length=0}var t=e.prototype;return t.insertRule=function(e,t){if(e<=this.length&&e>=0){var A=document.createTextNode(t),n=this.nodes[e];return this.element.insertBefore(A,n||null),this.length++,!0}return!1},t.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},t.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),Z=function(){function e(e){this.rules=[],this.length=0}var t=e.prototype;return t.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},t.deleteRule=function(e){this.rules.splice(e,1),this.length--},t.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),R=y,H={isServer:!y,useCSSOMInjection:!z},W=function(){function e(e,t,A){void 0===e&&(e=j),void 0===t&&(t={}),this.options=C({},H,{},e),this.gs=t,this.names=new Map(A),this.server=!!e.isServer,!this.server&&y&&R&&(R=!1,function(e){for(var t=document.querySelectorAll(b),A=0,n=t.length;A<n;A++){var I=t[A];I&&"active"!==I.getAttribute(f)&&(P(e,I),I.parentNode&&I.parentNode.removeChild(I))}}(this))}e.registerId=function(e){return h(e)};var t=e.prototype;return t.reconstructWithOptions=function(t,A){return void 0===A&&(A=!0),new e(C({},this.options,{},t),this.gs,A&&this.names||void 0)},t.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},t.getTag=function(){return this.tag||(this.tag=(A=(t=this.options).isServer,n=t.useCSSOMInjection,I=t.target,e=A?new Z(I):n?new U(I):new G(I),new x(e)));var e,t,A,n,I},t.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},t.registerName=function(e,t){if(h(e),this.names.has(e))this.names.get(e).add(t);else{var A=new Set;A.add(t),this.names.set(e,A)}},t.insertRules=function(e,t,A){this.registerName(e,t),this.getTag().insertRules(h(e),A)},t.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},t.clearRules=function(e){this.getTag().clearGroup(h(e)),this.clearNames(e)},t.clearTag=function(){this.tag=void 0},t.toString=function(){return function(e){for(var t=e.getTag(),A=t.length,n="",I=0;I<A;I++){var i=O(I);if(void 0!==i){var g=e.names.get(i),r=t.getGroup(I);if(g&&r&&g.size){var M=f+".g"+I+'[id="'+i+'"]',u="";void 0!==g&&g.forEach((function(e){e.length>0&&(u+=e+",")})),n+=""+r+M+'{content:"'+u+'"}/*!sc*/\n'}}}return n}(this)},e}(),F=/(a)(d)/gi,J=function(e){return String.fromCharCode(e+(e>25?39:97))};function V(e){var t,A="";for(t=Math.abs(e);t>52;t=t/52|0)A=J(t%52)+A;return(J(t%52)+A).replace(F,"$1-$2")}var X=function(e,t){for(var A=t.length;A;)e=33*e^t.charCodeAt(--A);return e},K=function(e){return X(5381,e)};function q(e){for(var t=0;t<e.length;t+=1){var A=e[t];if(D(A)&&!T(A))return!1}return!0}var _=K("5.3.5"),$=function(){function e(e,t,A){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===A||A.isStatic)&&q(e),this.componentId=t,this.baseHash=X(_,t),this.baseStyle=A,W.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,A){var n=this.componentId,I=[];if(this.baseStyle&&I.push(this.baseStyle.generateAndInjectStyles(e,t,A)),this.isStatic&&!A.hash)if(this.staticRulesId&&t.hasNameForId(n,this.staticRulesId))I.push(this.staticRulesId);else{var i=De(this.rules,e,t,A).join(""),g=V(X(this.baseHash,i)>>>0);if(!t.hasNameForId(n,g)){var r=A(i,"."+g,void 0,n);t.insertRules(n,g,r)}I.push(g),this.staticRulesId=g}else{for(var M=this.rules.length,u=X(this.baseHash,A.hash),o="",c=0;c<M;c++){var a=this.rules[c];if("string"==typeof a)o+=a;else if(a){var C=De(a,e,t,A),l=Array.isArray(C)?C.join(""):C;u=X(u,l+c),o+=l}}if(o){var N=V(u>>>0);if(!t.hasNameForId(n,N)){var s=A(o,"."+N,void 0,n);t.insertRules(n,N,s)}I.push(N)}}return I.join(" ")},e}(),ee=/^\s*\/\/.*$/gm,te=[":","[",".","#"];function Ae(e){var t,A,n,I,i=void 0===e?j:e,g=i.options,r=void 0===g?j:g,u=i.plugins,o=void 0===u?s:u,c=new M.a(r),a=[],C=function(e){function t(t){if(t)try{e(t+"}")}catch(e){}}return function(A,n,I,i,g,r,M,u,o,c){switch(A){case 1:if(0===o&&64===n.charCodeAt(0))return e(n+";"),"";break;case 2:if(0===u)return n+"/*|*/";break;case 3:switch(u){case 102:case 112:return e(I[0]+n),"";default:return n+(0===c?"/*|*/":"")}case-2:n.split("/*|*/}").forEach(t)}}}((function(e){a.push(e)})),l=function(e,n,i){return 0===n&&-1!==te.indexOf(i[A.length])||i.match(I)?e:"."+t};function N(e,i,g,r){void 0===r&&(r="&");var M=e.replace(ee,""),u=i&&g?g+" "+i+" { "+M+" }":M;return t=r,A=i,n=new RegExp("\\"+A+"\\b","g"),I=new RegExp("(\\"+A+"\\b){2,}"),c(g||!i?"":i,u)}return c.use([].concat(o,[function(e,t,I){2===e&&I.length&&I[0].lastIndexOf(A)>0&&(I[0]=I[0].replace(n,l))},C,function(e){if(-2===e){var t=a;return a=[],t}}])),N.hash=o.length?o.reduce((function(e,t){return t.name||E(15),X(e,t.name)}),5381).toString():"",N}var ne=i.a.createContext(),Ie=ne.Consumer,ie=i.a.createContext(),ge=(ie.Consumer,new W),re=Ae();function Me(){return Object(I.useContext)(ne)||ge}function ue(){return Object(I.useContext)(ie)||re}function oe(e){var t=Object(I.useState)(e.stylisPlugins),A=t[0],n=t[1],g=Me(),M=Object(I.useMemo)((function(){var t=g;return e.sheet?t=e.sheet:e.target&&(t=t.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t}),[e.disableCSSOMInjection,e.sheet,e.target]),u=Object(I.useMemo)((function(){return Ae({options:{prefix:!e.disableVendorPrefixes},plugins:A})}),[e.disableVendorPrefixes,A]);return Object(I.useEffect)((function(){r()(A,e.stylisPlugins)||n(e.stylisPlugins)}),[e.stylisPlugins]),i.a.createElement(ne.Provider,{value:M},i.a.createElement(ie.Provider,{value:u},e.children))}var ce=function(){function e(e,t){var A=this;this.inject=function(e,t){void 0===t&&(t=re);var n=A.name+t.hash;e.hasNameForId(A.id,n)||e.insertRules(A.id,n,t(A.rules,n,"@keyframes"))},this.toString=function(){return E(12,String(A.name))},this.name=e,this.id="sc-keyframes-"+e,this.rules=t}return e.prototype.getName=function(e){return void 0===e&&(e=re),this.name+e.hash},e}(),ae=/([A-Z])/,Ce=/([A-Z])/g,le=/^ms-/,Ne=function(e){return"-"+e.toLowerCase()};function se(e){return ae.test(e)?e.replace(Ce,Ne).replace(le,"-ms-"):e}var je=function(e){return null==e||!1===e||""===e};function De(e,t,A,n){if(Array.isArray(e)){for(var I,i=[],g=0,r=e.length;g<r;g+=1)""!==(I=De(e[g],t,A,n))&&(Array.isArray(I)?i.push.apply(i,I):i.push(I));return i}return je(e)?"":T(e)?"."+e.styledComponentId:D(e)?"function"!=typeof(M=e)||M.prototype&&M.prototype.isReactComponent||!t?e:De(e(t),t,A,n):e instanceof ce?A?(e.inject(A,n),e.getName(n)):e:N(e)?function e(t,A){var n,I,i=[];for(var g in t)t.hasOwnProperty(g)&&!je(t[g])&&(Array.isArray(t[g])&&t[g].isCss||D(t[g])?i.push(se(g)+":",t[g],";"):N(t[g])?i.push.apply(i,e(t[g],g)):i.push(se(g)+": "+(n=g,(null==(I=t[g])||"boolean"==typeof I||""===I?"":"number"!=typeof I||0===I||n in u.a?String(I).trim():I+"px")+";")));return A?[A+" {"].concat(i,["}"]):i}(e):e.toString();var M}var de=function(e){return Array.isArray(e)&&(e.isCss=!0),e};function Te(e){for(var t=arguments.length,A=new Array(t>1?t-1:0),n=1;n<t;n++)A[n-1]=arguments[n];return D(e)||N(e)?de(De(l(s,[e].concat(A)))):0===A.length&&1===e.length&&"string"==typeof e[0]?e:de(De(l(e,A)))}new Set;var fe=function(e,t,A){return void 0===A&&(A=j),e.theme!==A.theme&&e.theme||t||A.theme},we=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,ye=/(^-|-$)/g;function ze(e){return e.replace(we,"-").replace(ye,"")}var Le=function(e){return V(K(e)>>>0)};function Ee(e){return"string"==typeof e&&!0}var xe=function(e){return"function"==typeof e||"object"==typeof e&&null!==e&&!Array.isArray(e)},pe=function(e){return"__proto__"!==e&&"constructor"!==e&&"prototype"!==e};function ve(e,t,A){var n=e[A];xe(t)&&xe(n)?me(n,t):e[A]=t}function me(e){for(var t=arguments.length,A=new Array(t>1?t-1:0),n=1;n<t;n++)A[n-1]=arguments[n];for(var I=0,i=A;I<i.length;I++){var g=i[I];if(xe(g))for(var r in g)pe(r)&&ve(e,g[r],r)}return e}var he=i.a.createContext(),Oe=he.Consumer;function Se(e){var t=Object(I.useContext)(he),A=Object(I.useMemo)((function(){return function(e,t){return e?D(e)?e(t):Array.isArray(e)||"object"!=typeof e?E(8):t?C({},t,{},e):e:E(14)}(e.theme,t)}),[e.theme,t]);return e.children?i.a.createElement(he.Provider,{value:A},e.children):null}var be={};function Qe(e,t,A){var n=T(e),g=!Ee(e),r=t.attrs,M=void 0===r?s:r,u=t.componentId,c=void 0===u?function(e,t){var A="string"!=typeof e?"sc":ze(e);be[A]=(be[A]||0)+1;var n=A+"-"+Le("5.3.5"+A+be[A]);return t?t+"-"+n:n}(t.displayName,t.parentComponentId):u,l=t.displayName,N=void 0===l?function(e){return Ee(e)?"styled."+e:"Styled("+d(e)+")"}(e):l,f=t.displayName&&t.componentId?ze(t.displayName)+"-"+t.componentId:t.componentId||c,w=n&&e.attrs?Array.prototype.concat(e.attrs,M).filter(Boolean):M,y=t.shouldForwardProp;n&&e.shouldForwardProp&&(y=t.shouldForwardProp?function(A,n,I){return e.shouldForwardProp(A,n,I)&&t.shouldForwardProp(A,n,I)}:e.shouldForwardProp);var z,L=new $(A,f,n?e.componentStyle:void 0),E=L.isStatic&&0===M.length,x=function(e,t){return function(e,t,A,n){var i=e.attrs,g=e.componentStyle,r=e.defaultProps,M=e.foldedComponentIds,u=e.shouldForwardProp,c=e.styledComponentId,a=e.target,l=function(e,t,A){void 0===e&&(e=j);var n=C({},t,{theme:e}),I={};return A.forEach((function(e){var t,A,i,g=e;for(t in D(g)&&(g=g(n)),g)n[t]=I[t]="className"===t?(A=I[t],i=g[t],A&&i?A+" "+i:A||i):g[t]})),[n,I]}(fe(t,Object(I.useContext)(he),r)||j,t,i),N=l[0],s=l[1],d=function(e,t,A,n){var I=Me(),i=ue();return t?e.generateAndInjectStyles(j,I,i):e.generateAndInjectStyles(A,I,i)}(g,n,N),T=A,f=s.$as||t.$as||s.as||t.as||a,w=Ee(f),y=s!==t?C({},t,{},s):t,z={};for(var L in y)"$"!==L[0]&&"as"!==L&&("forwardedAs"===L?z.as=y[L]:(u?u(L,o.a,f):!w||Object(o.a)(L))&&(z[L]=y[L]));return t.style&&s.style!==t.style&&(z.style=C({},t.style,{},s.style)),z.className=Array.prototype.concat(M,c,d!==c?d:null,t.className,s.className).filter(Boolean).join(" "),z.ref=T,Object(I.createElement)(f,z)}(z,e,t,E)};return x.displayName=N,(z=i.a.forwardRef(x)).attrs=w,z.componentStyle=L,z.displayName=N,z.shouldForwardProp=y,z.foldedComponentIds=n?Array.prototype.concat(e.foldedComponentIds,e.styledComponentId):s,z.styledComponentId=f,z.target=n?e.target:e,z.withComponent=function(e){var n=t.componentId,I=function(e,t){if(null==e)return{};var A,n,I={},i=Object.keys(e);for(n=0;n<i.length;n++)A=i[n],t.indexOf(A)>=0||(I[A]=e[A]);return I}(t,["componentId"]),i=n&&n+"-"+(Ee(e)?e:ze(d(e)));return Qe(e,C({},I,{attrs:w,componentId:i}),A)},Object.defineProperty(z,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(t){this._foldedDefaultProps=n?me({},e.defaultProps,t):t}}),z.toString=function(){return"."+z.styledComponentId},g&&a()