!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 n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=20)}([function(e,t,n){"use strict";e.exports=n(22)},function(e,t,n){"use strict";n.r(t),n.d(t,"__extends",function(){return r}),n.d(t,"__assign",function(){return o}),n.d(t,"__rest",function(){return u}),n.d(t,"__decorate",function(){return a}),n.d(t,"__param",function(){return l}),n.d(t,"__metadata",function(){return c}),n.d(t,"__awaiter",function(){return A}),n.d(t,"__generator",function(){return s}),n.d(t,"__createBinding",function(){return M}),n.d(t,"__exportStar",function(){return I}),n.d(t,"__values",function(){return g}),n.d(t,"__read",function(){return d}),n.d(t,"__spread",function(){return f}),n.d(t,"__spreadArrays",function(){return N}),n.d(t,"__await",function(){return j}),n.d(t,"__asyncGenerator",function(){return y}),n.d(t,"__asyncDelegator",function(){return p}),n.d(t,"__asyncValues",function(){return D}),n.d(t,"__makeTemplateObject",function(){return v}),n.d(t,"__importStar",function(){return w}),n.d(t,"__importDefault",function(){return C}),n.d(t,"__classPrivateFieldGet",function(){return T}),n.d(t,"__classPrivateFieldSet",function(){return m}); /*! ***************************************************************************** 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 i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function r(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var o=function(){return(o=Object.assign||function(e){for(var t,n=1,i=arguments.length;n=0;a--)(r=e[a])&&(u=(o<3?r(u):o>3?r(t,n,u):r(t,n))||u);return o>3&&u&&Object.defineProperty(t,n,u),u}function l(e,t){return function(n,i){t(n,i,e)}}function c(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function A(e,t,n,i){return new(n||(n=Promise))(function(r,o){function u(e){try{l(i.next(e))}catch(e){o(e)}}function a(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){e.done?r(e.value):function(e){return e instanceof n?e:new n(function(t){t(e)})}(e.value).then(u,a)}l((i=i.apply(e,t||[])).next())})}function s(e,t){var n,i,r,o,u={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return u.label++,{value:o[1],done:!1};case 5:u.label++,i=o[1],o=[0];continue;case 7:o=u.ops.pop(),u.trys.pop();continue;default:if(!(r=(r=u.trys).length>0&&r[r.length-1])&&(6===o[0]||2===o[0])){u=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function d(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,r,o=n.call(e),u=[];try{for(;(void 0===t||t-- >0)&&!(i=o.next()).done;)u.push(i.value)}catch(e){r={error:e}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return u}function f(){for(var e=[],t=0;t1||a(e,t)})})}function a(e,t){try{!function(e){e.value instanceof j?Promise.resolve(e.value.v).then(l,c):A(o[0][2],e)}(r[e](t))}catch(e){A(o[0][3],e)}}function l(e){a("next",e)}function c(e){a("throw",e)}function A(e,t){e(t),o.shift(),o.length&&a(o[0][0],o[0][1])}}function p(e){var t,n;return t={},i("next"),i("throw",function(e){throw e}),i("return"),t[Symbol.iterator]=function(){return this},t;function i(i,r){t[i]=e[i]?function(t){return(n=!n)?{value:j(e[i](t)),done:"return"===i}:r?r(t):t}:r}}function D(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=g(e),t={},i("next"),i("throw"),i("return"),t[Symbol.asyncIterator]=function(){return this},t);function i(n){t[n]=e[n]&&function(t){return new Promise(function(i,r){(function(e,t,n,i){Promise.resolve(i).then(function(t){e({value:t,done:n})},t)})(i,r,(t=e[n](t)).done,t.value)})}}}function v(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}function w(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function C(e){return e&&e.__esModule?e:{default:e}}function T(e,t){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return t.get(e)}function m(e,t,n){if(!t.has(e))throw new TypeError("attempted to set private field on non-instance");return t.set(e,n),n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(1);i.__exportStar(n(31),t),i.__exportStar(n(32),t),i.__exportStar(n(33),t),i.__exportStar(n(34),t)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(1);i.__exportStar(n(27),t),i.__exportStar(n(28),t),i.__exportStar(n(29),t)},function(e,t,n){"use strict";e.exports=n(78)},function(e,t,n){"use strict";var i;Object.defineProperty(t,"__esModule",{value:!0}),t.themesList=void 0;var r=n(1),o=r.__importDefault(n(35)),u=r.__importDefault(n(36));t.themesList=((i={default:o.default})[o.default.name]=o.default,i[u.default.name]=u.default,i)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.providers=t.injected=t.connectors=void 0;var i=n(1),r=i.__importStar(n(37));t.connectors=r;var o=i.__importStar(n(11));t.injected=o;var u=i.__importStar(n(62));t.providers=u},function(e,t,n){"use strict";var i=n(4),r={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},u={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},a={};function l(e){return i.isMemo(e)?u:a[e.$$typeof]||r}a[i.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},a[i.Memo]=u;var c=Object.defineProperty,A=Object.getOwnPropertyNames,s=Object.getOwnPropertySymbols,M=Object.getOwnPropertyDescriptor,I=Object.getPrototypeOf,g=Object.prototype;e.exports=function e(t,n,i){if("string"!=typeof n){if(g){var r=I(n);r&&r!==g&&e(t,r,i)}var u=A(n);s&&(u=u.concat(s(n)));for(var a=l(t),d=l(n),f=0;f1)for(var n=1;n1?t-1:0),i=1;i0?" Additional arguments: "+n.join(", "):""))}var z=function(e){var t=document.head,n=e||t,i=document.createElement("style"),r=function(e){for(var t=e.childNodes,n=t.length;n>=0;n--){var i=t[n];if(i&&1===i.nodeType&&i.hasAttribute(D))return i}}(n),o=void 0!==r?r.nextSibling:null;i.setAttribute(D,"active"),i.setAttribute(v,w);var u=E();return u&&i.setAttribute("nonce",u),n.insertBefore(i,o),i},h=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,i=t.length;n=0){var n=document.createTextNode(t),i=this.nodes[e];return this.element.insertBefore(n,i||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.groupSizes.length){for(var n=this.groupSizes,i=n.length,r=i;e>=r;)(r<<=1)<0&&b(16,""+e);this.groupSizes=new Uint32Array(r),this.groupSizes.set(n),this.length=r;for(var o=i;o=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],i=this.indexOfGroup(e),r=i+n,o=i;o=P&&(P=t+1),k.set(e,t),B.set(t,e)},Z="style["+D+"]["+v+'="'+w+'"]',R=new RegExp("^"+D+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),H=function(e,t,n){for(var i,r=n.split(","),o=0,u=r.length;o0&&(c+=e+",")}),i+=""+a+l+'{content:"'+c+'"}/*!sc*/\n'}}}return i}(this)},e}(),K=5381,q=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},_=function(e){return q(K,e)};var $=/^\s*\/\/.*$/gm;function ee(e){var t,n,i,r=void 0===e?N:e,o=r.options,u=void 0===o?N:o,a=r.plugins,c=void 0===a?f:a,A=new l.a(u),s=[],M=function(e){function t(t){if(t)try{e(t+"}")}catch(e){}}return function(n,i,r,o,u,a,l,c,A,s){switch(n){case 1:if(0===A&&64===i.charCodeAt(0))return e(i+";"),"";break;case 2:if(0===c)return i+"/*|*/";break;case 3:switch(c){case 102:case 112:return e(r[0]+i),"";default:return i+(0===s?"/*|*/":"")}case-2:i.split("/*|*/}").forEach(t)}}}(function(e){s.push(e)}),I=function(e,i,r){return i>0&&-1!==r.slice(0,i).indexOf(n)&&r.slice(i-n.length,i)!==n?"."+t:e};function g(e,r,o,u){void 0===u&&(u="&");var a=e.replace($,""),l=r&&o?o+" "+r+" { "+a+" }":a;return t=u,n=r,i=new RegExp("\\"+n+"\\b","g"),A(o||!r?"":r,l)}return A.use([].concat(c,[function(e,t,r){2===e&&r.length&&r[0].lastIndexOf(n)>0&&(r[0]=r[0].replace(i,I))},M,function(e){if(-2===e){var t=s;return s=[],t}}])),g.hash=c.length?c.reduce(function(e,t){return t.name||b(15),q(e,t.name)},K).toString():"",g}var te=o.a.createContext(),ne=te.Consumer,ie=o.a.createContext(),re=(ie.Consumer,new J),oe=ee();function ue(){return Object(r.useContext)(te)||re}function ae(){return Object(r.useContext)(ie)||oe}function le(e){var t=Object(r.useState)(e.stylisPlugins),n=t[0],i=t[1],u=ue(),l=Object(r.useMemo)(function(){var t=u;return e.sheet?t=e.sheet:e.target&&(t=t.reconstructWithOptions({target:e.target})),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t},[e.disableCSSOMInjection,e.sheet,e.target]),c=Object(r.useMemo)(function(){return ee({options:{prefix:!e.disableVendorPrefixes},plugins:n})},[e.disableVendorPrefixes,n]);return Object(r.useEffect)(function(){a()(n,e.stylisPlugins)||i(e.stylisPlugins)},[e.stylisPlugins]),o.a.createElement(te.Provider,{value:l},o.a.createElement(ie.Provider,{value:c},e.children))}var ce=function(){function e(e,t){var n=this;this.inject=function(e){e.hasNameForId(n.id,n.name)||e.insertRules(n.id,n.name,oe.apply(void 0,n.stringifyArgs))},this.toString=function(){return b(12,String(n.name))},this.name=e,this.id="sc-keyframes-"+e,this.stringifyArgs=t}return e.prototype.getName=function(){return this.name},e}(),Ae=/([A-Z])/g,se=/^ms-/;function Me(e){return e.replace(Ae,"-$1").toLowerCase().replace(se,"-ms-")}var Ie=function(e){return void 0===e||null===e||!1===e||""===e},ge=function e(t,n){var i=[];return Object.keys(t).forEach(function(n){if(!Ie(t[n])){if(d(t[n]))return i.push.apply(i,e(t[n],n)),i;if(j(t[n]))return i.push(Me(n)+":",t[n],";"),i;i.push(Me(n)+": "+function(e,t){return null==t||"boolean"==typeof t||""===t?"":"number"!=typeof t||0===t||e in c.a?String(t).trim():t+"px"}(n,t[n])+";")}return i}),n?[n+" {"].concat(i,["}"]):i};function de(e,t,n){if(Array.isArray(e)){for(var i,r=[],o=0,u=e.length;o1?t-1:0),i=1;i1?t-1:0),i=1;i25?39:97))};function Ce(e){var t,n="";for(t=Math.abs(e);t>ve;t=t/ve|0)n=we(t%ve)+n;return(we(t%ve)+n).replace(De,"$1-$2")}function Te(e){for(var t=0;t>>0);if(!t.hasNameForId(i,o)){var u=n(r,"."+o,void 0,i);t.insertRules(i,o,u)}return this.staticRulesId=o,o}for(var a=this.rules.length,l=q(this.baseHash,n.hash),c="",A=0;A>>0);if(!t.hasNameForId(i,g)){var d=n(c,"."+g,void 0,i);t.insertRules(i,g,d)}return g},e}(),Ee=(new Set,function(e,t,n){return void 0===n&&(n=N),e.theme!==n.theme&&e.theme||t||n.theme}),be=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,ze=/(^-|-$)/g;function he(e){return e.replace(be,"-").replace(ze,"")}function xe(e){return"string"==typeof e&&!0}var Le=function(e){return Ce(_(e)>>>0)};function Se(e,t){return e&&t?e+" "+t:e||t}var Qe=o.a.createContext(),Oe=Qe.Consumer;function ke(e){var t=Object(r.useContext)(Qe),n=Object(r.useMemo)(function(){return function(e,t){return e?j(e)?e(t):Array.isArray(e)||"object"!=typeof e?b(8):t?I({},t,{},e):e:b(14)}(e.theme,t)},[e.theme,t]);return e.children?o.a.createElement(Qe.Provider,{value:n},e.children):null}var Be={};function Pe(e,t,n){var i=e.attrs,o=e.componentStyle,u=e.defaultProps,a=e.foldedComponentIds,l=e.shouldForwardProp,c=e.styledComponentId,s=e.target;Object(r.useDebugValue)(c);var M=function(e,t,n){void 0===e&&(e=N);var i=I({},t,{theme:e}),r={};return n.forEach(function(e){var t,n=e;for(t in j(n)&&(n=n(i)),n)i[t]=r[t]="className"===t?Se(r[t],n[t]):n[t]}),[i,r]}(Ee(t,Object(r.useContext)(Qe),u)||N,t,i),g=M[0],d=M[1],f=function(e,t,n,i){var o=ue(),u=ae(),a=e.isStatic&&!t?e.generateAndInjectStyles(N,o,u):e.generateAndInjectStyles(n,o,u);return Object(r.useDebugValue)(a),a}(o,i.length>0,g),y=n,p=d.$as||t.$as||d.as||t.as||s,D=xe(p),v=d!==t?I({},t,{},d):t,w=l||D&&A.a,C={};for(var T in v)"$"!==T[0]&&"as"!==T&&("forwardedAs"===T?C.as=v[T]:w&&!w(T,A.a)||(C[T]=v[T]));return t.style&&d.style!==t.style&&(C.style=I({},t.style,{},d.style)),C.className=Array.prototype.concat(a,c,f!==c?f:null,t.className,d.className).filter(Boolean).join(" "),C.ref=y,Object(r.createElement)(p,C)}function Ye(e,t,n){var i=p(e),r=!xe(e),u=t.displayName,a=void 0===u?function(e){return xe(e)?"styled."+e:"Styled("+y(e)+")"}(e):u,l=t.componentId,c=void 0===l?function(e,t){var n="string"!=typeof e?"sc":he(e);Be[n]=(Be[n]||0)+1;var i=n+"-"+Le(n+Be[n]);return t?t+"-"+i:i}(t.displayName,t.parentComponentId):l,A=t.attrs,s=void 0===A?f:A,g=t.displayName&&t.componentId?he(t.displayName)+"-"+t.componentId:t.componentId||c,d=i&&e.attrs?Array.prototype.concat(e.attrs,s).filter(Boolean):s,N=t.shouldForwardProp;i&&e.shouldForwardProp&&(N=N?function(n,i){return e.shouldForwardProp(n,i)&&t.shouldForwardProp(n,i)}:e.shouldForwardProp);var j,D=new me(i?e.componentStyle.rules.concat(n):n,g),v=function(e,t){return Pe(j,e,t)};return v.displayName=a,(j=o.a.forwardRef(v)).attrs=d,j.componentStyle=D,j.displayName=a,j.shouldForwardProp=N,j.foldedComponentIds=i?Array.prototype.concat(e.foldedComponentIds,e.styledComponentId):f,j.styledComponentId=g,j.target=i?e.target:e,j.withComponent=function(e){var i=t.componentId,r=function(e,t){if(null==e)return{};var n,i,r={},o=Object.keys(e);for(i=0;i=0||(r[n]=e[n]);return r}(t,["componentId"]),o=i&&i+"-"+(xe(e)?e:he(y(e)));return Ye(e,I({},r,{attrs:d,componentId:o}),n)},Object.defineProperty(j,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(t){this._foldedDefaultProps=i?pe({},e.defaultProps,t):t}}),j.toString=function(){return"."+j.styledComponentId},r&&M()(j,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,self:!0,styledComponentId:!0,target:!0,withComponent:!0}),j}var Ue=function(e){return function e(t,n,r){if(void 0===r&&(r=N),!Object(i.isValidElementType)(n))return b(1,String(n));var o=function(){return t(n,r,fe.apply(void 0,arguments))};return o.withConfig=function(i){return e(t,n,I({},r,{},i))},o.attrs=function(i){return e(t,n,I({},r,{attrs:Array.prototype.concat(r.attrs,i).filter(Boolean)}))},o}(Ye,e)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach(function(e){Ue[e]=Ue(e)});var Ge=function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=Te(e)}var t=e.prototype;return t.createStyles=function(e,t,n,i){var r=i(de(this.rules,t,n).join(""),""),o=this.componentId+e;n.insertRules(o,o,r)},t.removeStyles=function(e,t){t.clearRules(this.componentId+e)},t.renderStyles=function(e,t,n,i){J.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,i)},e}();function Ze(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i1?t-1:0),i=1;i"+t+""},this.getStyleTags=function(){return e.sealed?b(2):e._emitSheetCSS()},this.getStyleElement=function(){var t;if(e.sealed)return b(2);var n=((t={})[D]="",t[v]=w,t.dangerouslySetInnerHTML={__html:e.instance.toString()},t),i=E();return i&&(n.nonce=i),[o.a.createElement("style",I({},n,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new J({isServer:!0}),this.sealed=!1}var t=e.prototype;return t.collectStyles=function(e){return this.sealed?b(2):o.a.createElement(le,{sheet:this.instance},e)},t.interleaveWithNodeStream=function(e){return b(3)},e}(),Fe=function(e){var t=o.a.forwardRef(function(t,n){var i=Object(r.useContext)(Qe),u=e.defaultProps,a=Ee(t,i,u);return o.a.createElement(e,I({},t,{theme:a,ref:n}))});return M()(t,e),t.displayName="WithTheme("+y(e)+")",t},We=function(){return Object(r.useContext)(Qe)},Ve={StyleSheet:J,masterSheet:re},Xe="5.1.1";t.default=Ue}.call(this,n(10))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Provider=void 0;var i,r,o,u,a,l=n(1),c=l.__importStar(n(0)),A=l.__importDefault(n(13)),s=n(2),M=A.default.div(i||(i=l.__makeTemplateObject(["\n width: 45px;\n height: 45px;\n display: flex;\n border-radius: 50%;\n overflow: visible;\n box-shadow: none;\n justify-content: center;\n align-items: center;\n & img {\n width: 100%;\n height: 100%;\n }\n\n @media screen and (max-width: 768px) {\n width: 8.5vw;\n height: 8.5vw;\n }\n"],["\n width: 45px;\n height: 45px;\n display: flex;\n border-radius: 50%;\n overflow: visible;\n box-shadow: none;\n justify-content: center;\n align-items: center;\n & img {\n width: 100%;\n height: 100%;\n }\n\n @media screen and (max-width: 768px) {\n width: 8.5vw;\n height: 8.5vw;\n }\n"]))),I=A.default.div(r||(r=l.__makeTemplateObject(["\n width: 100%;\n font-size: 24px;\n font-weight: 700;\n margin-top: 0.5em;\n color: ",";\n @media screen and (max-width: 768px) {\n font-size: 5vw;\n }\n"],["\n width: 100%;\n font-size: 24px;\n font-weight: 700;\n margin-top: 0.5em;\n color: ",";\n @media screen and (max-width: 768px) {\n font-size: 5vw;\n }\n"])),function(e){return e.themeColors.main}),g=A.default.div(o||(o=l.__makeTemplateObject(["\n width: 100%;\n font-size: 18px;\n margin: 0.333em 0;\n color: ",";\n @media screen and (max-width: 768px) {\n font-size: 4vw;\n }\n"],["\n width: 100%;\n font-size: 18px;\n margin: 0.333em 0;\n color: ",";\n @media screen and (max-width: 768px) {\n font-size: 4vw;\n }\n"])),function(e){return e.themeColors.secondary}),d=A.default.div(u||(u=l.__makeTemplateObject(["\n transition: background-color 0.2s ease-in-out;\n width: 100%;\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n background-color: ",";\n border-radius: 12px;\n padding: 24px 16px;\n @media screen and (max-width: 768px) {\n padding: 1vw;\n }\n"],["\n transition: background-color 0.2s ease-in-out;\n width: 100%;\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n background-color: ",";\n border-radius: 12px;\n padding: 24px 16px;\n @media screen and (max-width: 768px) {\n padding: 1vw;\n }\n"])),function(e){return e.themeColors.background}),f=A.default.div(a||(a=l.__makeTemplateObject(["\n width: 100%;\n padding: 8px;\n display: flex;\n justify-content: center;\n align-items: center;\n flex-direction: column;\n cursor: pointer;\n border-radius: 0;\n border: ",";\n @media (hover: hover) {\n &:hover "," {\n background-color: ",";\n }\n }\n"],["\n width: 100%;\n padding: 8px;\n display: flex;\n justify-content: center;\n align-items: center;\n flex-direction: column;\n cursor: pointer;\n border-radius: 0;\n border: ",";\n @media (hover: hover) {\n &:hover "," {\n background-color: ",";\n }\n }\n"])),function(e){return"1px solid "+e.themeColors.border},d,function(e){return e.themeColors.hover});t.Provider=function(e){var t=e.name,n=e.logo,i=e.description,r=e.themeColors,o=e.onClick,u=l.__rest(e,["name","logo","description","themeColors","onClick"]);return c.createElement(f,l.__assign({themeColors:r,className:s.PROVIDER_WRAPPER_CLASSNAME,onClick:o},u),c.createElement(d,{themeColors:r,className:s.PROVIDER_CONTAINER_CLASSNAME},c.createElement(M,{className:s.PROVIDER_ICON_CLASSNAME},c.createElement("img",{src:n,alt:t})),c.createElement(I,{themeColors:r,className:s.PROVIDER_NAME_CLASSNAME},t),c.createElement(g,{themeColors:r,className:s.PROVIDER_DESCRIPTION_CLASSNAME},i)))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(1);i.__exportStar(n(16),t),i.__exportStar(n(79),t)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EventController=void 0;var i=function(){function e(){this._eventCallbacks=[]}return e.prototype.on=function(e){this._eventCallbacks.push(e)},e.prototype.off=function(e){e?e.callback?this._eventCallbacks=this._eventCallbacks.filter(function(t){return t.event!==e.event||t.callback!==e.callback}):this._eventCallbacks=this._eventCallbacks.filter(function(t){return t.event!==e.event}):this._eventCallbacks=[]},e.prototype.trigger=function(e,t){var n=this._eventCallbacks.filter(function(t){return t.event===e});n&&n.length&&n.forEach(function(e){e.callback(t)})},e}();t.EventController=i},function(e,t){e.exports=function(e,t,n,i){var r=n?n.call(i,e,t):void 0;if(void 0!==r)return!!r;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var o=Object.keys(e),u=Object.keys(t);if(o.length!==u.length)return!1;for(var a=Object.prototype.hasOwnProperty.bind(t),l=0;li&&(i=(t=t.trim()).charCodeAt(0)),i){case 38:return t.replace(d,"$1"+e.trim());case 58:return e.trim()+t.replace(d,"$1"+e.trim());default:if(0<1*n&&0l.charCodeAt(8))break;case 115:u=u.replace(l,"-webkit-"+l)+";"+u;break;case 207:case 102:u=u.replace(l,"-webkit-"+(102a.charCodeAt(0)&&(a=a.trim()),a=[a],0I)&&(Y=(Z=Z.replace(" ",":")).length),0h.length&&h.push(e)}function S(e,t,n){return null==e?0:function e(t,n,i,r){var a=typeof t;"undefined"!==a&&"boolean"!==a||(t=null);var l=!1;if(null===t)l=!0;else switch(a){case"string":case"number":l=!0;break;case"object":switch(t.$$typeof){case o:case u:l=!0}}if(l)return i(r,t,""===n?"."+Q(t,0):n),1;if(l=0,n=""===n?".":n+":",Array.isArray(t))for(var c=0;c