@transferwise/comparison-components 18.1.26 → 18.1.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +3 -0
- package/dist/es/{ComparisonTableHeroContainer-f7f31016.js → ComparisonTableHeroContainer-3e271e58.js} +2 -2
- package/dist/es/{ComparisonTableHeroContainer-f7f31016.js.map → ComparisonTableHeroContainer-3e271e58.js.map} +1 -1
- package/dist/es/{ErrorTemplate-2546a217.js → ErrorTemplate-a847f85d.js} +2 -2
- package/dist/es/{ErrorTemplate-2546a217.js.map → ErrorTemplate-a847f85d.js.map} +1 -1
- package/dist/es/{ProviderComparisonTable-a1f03892.js → ProviderComparisonTable-47dbce56.js} +2 -2
- package/dist/es/{ProviderComparisonTable-a1f03892.js.map → ProviderComparisonTable-47dbce56.js.map} +1 -1
- package/dist/es/{ReceiveAmount-a5aec2ba.js → ReceiveAmount-cc307615.js} +2 -2
- package/dist/es/{ReceiveAmount-a5aec2ba.js.map → ReceiveAmount-cc307615.js.map} +1 -1
- package/dist/es/TransferFeeComparisonContainer-69f71870.js +2 -0
- package/dist/es/{TransferFeeComparisonContainer-004433ba.js.map → TransferFeeComparisonContainer-69f71870.js.map} +1 -1
- package/dist/es/{TravelMoney-3ecee08b.js → TravelMoney-27cd5fd8.js} +2 -2
- package/dist/es/{TravelMoney-3ecee08b.js.map → TravelMoney-27cd5fd8.js.map} +1 -1
- package/dist/es/comparison/index.js +1 -1
- package/dist/es/comparison-table/index.js +1 -1
- package/dist/es/comparison-table-hero/index.js +1 -1
- package/dist/es/{index-eed41eb5.js → index-c08c5fe0.js} +2 -2
- package/dist/es/{index-eed41eb5.js.map → index-c08c5fe0.js.map} +1 -1
- package/dist/es/index.js +1 -1
- package/dist/es/provider-comparison-table/index.js +1 -1
- package/dist/es/provider-comparison-widget/index.js +1 -1
- package/dist/es/transfer-fee-comparison/index.js +1 -1
- package/dist/es/travel-money/index.js +1 -1
- package/dist/umd/comparison-components.css +1 -1
- package/dist/umd/comparison-components.js +3 -3
- package/dist/umd/comparison-components.js.map +1 -1
- package/dist/umd/transfer-fee-comparison/transfer-fee-comparison.js +1 -1
- package/dist/umd/transfer-fee-comparison/transfer-fee-comparison.js.map +1 -1
- package/package.json +1 -1
- package/src/provider-filters/largest-provider/largest-provider-filter.ts +1 -1
- package/src/resources/tracking/types.ts +1 -1
- package/dist/es/TransferFeeComparisonContainer-004433ba.js +0 -2
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
*
|
|
20
20
|
* This source code is licensed under the MIT license found in the
|
|
21
21
|
* LICENSE file in the root directory of this source tree.
|
|
22
|
-
*/var n="function"==typeof Symbol&&Symbol.for,o=n?Symbol.for("react.element"):60103,a=n?Symbol.for("react.portal"):60106,i=n?Symbol.for("react.fragment"):60107,s=n?Symbol.for("react.strict_mode"):60108,c=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,u=n?Symbol.for("react.context"):60110,f=n?Symbol.for("react.async_mode"):60111,p=n?Symbol.for("react.concurrent_mode"):60111,d=n?Symbol.for("react.forward_ref"):60112,m=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,v=n?Symbol.for("react.memo"):60115,g=n?Symbol.for("react.lazy"):60116,y=n?Symbol.for("react.block"):60121,b=n?Symbol.for("react.fundamental"):60117,w=n?Symbol.for("react.responder"):60118,O=n?Symbol.for("react.scope"):60119;function E(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case o:switch(e=e.type){case f:case p:case i:case c:case s:case m:return e;default:switch(e=e&&e.$$typeof){case u:case d:case g:case v:case l:return e;default:return t}}case a:return t}}}function _(e){return E(e)===p}t.AsyncMode=f,t.ConcurrentMode=p,t.ContextConsumer=u,t.ContextProvider=l,t.Element=o,t.ForwardRef=d,t.Fragment=i,t.Lazy=g,t.Memo=v,t.Portal=a,t.Profiler=c,t.StrictMode=s,t.Suspense=m,t.isAsyncMode=function(e){return _(e)||E(e)===f},t.isConcurrentMode=_,t.isContextConsumer=function(e){return E(e)===u},t.isContextProvider=function(e){return E(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===o},t.isForwardRef=function(e){return E(e)===d},t.isFragment=function(e){return E(e)===i},t.isLazy=function(e){return E(e)===g},t.isMemo=function(e){return E(e)===v},t.isPortal=function(e){return E(e)===a},t.isProfiler=function(e){return E(e)===c},t.isStrictMode=function(e){return E(e)===s},t.isSuspense=function(e){return E(e)===m},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===p||e===c||e===s||e===m||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===v||e.$$typeof===l||e.$$typeof===u||e.$$typeof===d||e.$$typeof===b||e.$$typeof===w||e.$$typeof===O||e.$$typeof===y)},t.typeOf=E},function(e,t){e.exports=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,r){var n=r(27);e.exports=n("navigator","userAgent")||""},function(e,t,r){var n=r(12);e.exports=function(e,t){var r,o;if("string"===t&&"function"==typeof(r=e.toString)&&!n(o=r.call(e)))return o;if("function"==typeof(r=e.valueOf)&&!n(o=r.call(e)))return o;if("string"!==t&&"function"==typeof(r=e.toString)&&!n(o=r.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},function(e,t,r){var n=r(7),o=r(87),a=n.WeakMap;e.exports="function"==typeof a&&/native code/.test(o(a))},function(e,t,r){var n=r(13),o=r(88),a=r(23),i=r(14);e.exports=function(e,t){for(var r=o(t),s=i.f,c=a.f,l=0;l<r.length;l++){var u=r[l];n(e,u)||s(e,u,c(t,u))}}},function(e,t,r){var n=r(11),o=r(14),a=r(15),i=r(46);e.exports=n?Object.defineProperties:function(e,t){a(e);for(var r,n=i(t),s=n.length,c=0;s>c;)o.f(e,r=n[c++],t[r]);return e}},function(e,t,r){var n=r(27);e.exports=n("document","documentElement")},function(e,t,r){var n=r(18),o=r(38).f,a={}.toString,i="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return i&&"[object Window]"==a.call(e)?function(e){try{return o(e)}catch(e){return i.slice()}}(e):o(n(e))}},function(e,t,r){var n=r(144),o=r(13),a=r(93),i=r(14).f;e.exports=function(e){var t=n.Symbol||(n.Symbol={});o(t,e)||i(t,e,{value:a.f(e)})}},function(e,t,r){var n=r(7);e.exports=n},function(e,t,r){var n=r(14).f,o=r(13),a=r(10)("toStringTag");e.exports=function(e,t,r){e&&!o(e=r?e:e.prototype,a)&&n(e,a,{configurable:!0,value:t})}},function(e,t,r){var n=r(94);e.exports=function(e,t,r){if(n(e),void 0===t)return e;switch(r){case 0:return function(){return e.call(t)};case 1:return function(r){return e.call(t,r)};case 2:return function(r,n){return e.call(t,r,n)};case 3:return function(r,n,o){return e.call(t,r,n,o)}}return function(){return e.apply(t,arguments)}}},function(e,t,r){var n=r(12),o=r(66),a=r(10)("species");e.exports=function(e){var t;return o(e)&&("function"!=typeof(t=e.constructor)||t!==Array&&!o(t.prototype)?n(t)&&null===(t=t[a])&&(t=void 0):t=void 0),void 0===t?Array:t}},function(e,t){e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},function(e,t,r){"use strict";var n=r(48).forEach,o=r(95)("forEach");e.exports=o?[].forEach:function(e){return n(this,e,arguments.length>1?arguments[1]:void 0)}},function(e,t,r){var n=r(10),o=r(47),a=r(14),i=n("unscopables"),s=Array.prototype;null==s[i]&&a.f(s,i,{configurable:!0,value:o(null)}),e.exports=function(e){s[i][e]=!0}},function(e,t){var r,n,o=e.exports={};function a(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function s(e){if(r===setTimeout)return setTimeout(e,0);if((r===a||!r)&&setTimeout)return r=setTimeout,setTimeout(e,0);try{return r(e,0)}catch(t){try{return r.call(null,e,0)}catch(t){return r.call(this,e,0)}}}!function(){try{r="function"==typeof setTimeout?setTimeout:a}catch(e){r=a}try{n="function"==typeof clearTimeout?clearTimeout:i}catch(e){n=i}}();var c,l=[],u=!1,f=-1;function p(){u&&c&&(u=!1,c.length?l=c.concat(l):f=-1,l.length&&d())}function d(){if(!u){var e=s(p);u=!0;for(var t=l.length;t;){for(c=l,l=[];++f<t;)c&&c[f].run();f=-1,t=l.length}c=null,u=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===i||!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 m(e,t){this.fun=e,this.array=t}function h(){}o.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];l.push(new m(e,t)),1!==l.length||u||s(d)},m.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=h,o.addListener=h,o.once=h,o.off=h,o.removeListener=h,o.removeAllListeners=h,o.emit=h,o.prependListener=h,o.prependOnceListener=h,o.listeners=function(e){return[]},o.binding=function(e){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},function(e,t){e.exports=function(e){if(Array.isArray(e))return e},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a=[],i=!0,s=!1;try{for(r=r.call(e);!(i=(n=r.next()).done)&&(a.push(n.value),!t||a.length!==t);i=!0);}catch(e){s=!0,o=e}finally{try{i||null==r.return||r.return()}finally{if(s)throw o}}return a}},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,r){var n=r(155);e.exports=function(e,t){if(e){if("string"==typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e){if(Array.isArray(e))return e},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a=[],i=!0,s=!1;try{for(r=r.call(e);!(i=(n=r.next()).done)&&(a.push(n.value),!t||a.length!==t);i=!0);}catch(e){s=!0,o=e}finally{try{i||null==r.return||r.return()}finally{if(s)throw o}}return a}},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,r){r(9)({target:"Number",stat:!0},{isNaN:function(e){return e!=e}})},function(e,t,r){"use strict";var n=r(11),o=r(7),a=r(65),i=r(29),s=r(13),c=r(36),l=r(100),u=r(37),f=r(83),p=r(5),d=r(47),m=r(38).f,h=r(23).f,v=r(14).f,g=r(164).trim,y=o.Number,b=y.prototype,w="Number"==c(d(b)),O=function(e){if(u(e))throw TypeError("Cannot convert a Symbol value to a number");var t,r,n,o,a,i,s,c,l=f(e,"number");if("string"==typeof l&&l.length>2)if(43===(t=(l=g(l)).charCodeAt(0))||45===t){if(88===(r=l.charCodeAt(2))||120===r)return NaN}else if(48===t){switch(l.charCodeAt(1)){case 66:case 98:n=2,o=49;break;case 79:case 111:n=8,o=55;break;default:return+l}for(i=(a=l.slice(2)).length,s=0;s<i;s++)if((c=a.charCodeAt(s))<48||c>o)return NaN;return parseInt(a,n)}return+l};if(a("Number",!y(" 0o1")||!y("0b1")||y("+0x1"))){for(var E,_=function(e){var t=arguments.length<1?0:e,r=this;return r instanceof _&&(w?p((function(){b.valueOf.call(r)})):"Number"!=c(r))?l(new y(O(t)),r,_):O(t)},x=n?m(y):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),T=0;x.length>T;T++)s(y,E=x[T])&&!s(_,E)&&v(_,E,h(y,E));_.prototype=b,b.constructor=_,i(o,"Number",_)}},function(e,t,r){var n=r(15),o=r(163);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(r,[]),t=r instanceof Array}catch(e){}return function(r,a){return n(r),o(a),t?e.call(r,a):r.__proto__=a,r}}():void 0)},function(e,t,r){var n=r(12);e.exports=function(e){if(!n(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},function(e,t,r){var n=r(20),o=r(16),a="["+r(165)+"]",i=RegExp("^"+a+a+"*"),s=RegExp(a+a+"*$"),c=function(e){return function(t){var r=o(n(t));return 1&e&&(r=r.replace(i,"")),2&e&&(r=r.replace(s,"")),r}};e.exports={start:c(1),end:c(2),trim:c(3)}},function(e,t){e.exports="\t\n\v\f\r \u2028\u2029\ufeff"},function(e,t,r){"use strict";var n,o=r(9),a=r(23).f,i=r(25),s=r(16),c=r(96),l=r(20),u=r(97),f=r(59),p="".startsWith,d=Math.min,m=u("startsWith");o({target:"String",proto:!0,forced:!!(f||m||(n=a(String.prototype,"startsWith"),!n||n.writable))&&!m},{startsWith:function(e){var t=s(l(this));c(e);var r=i(d(arguments.length>1?arguments[1]:void 0,t.length)),n=s(e);return p?p.call(t,n,r):t.slice(r,r+n.length)===n}})},function(e,t,r){"use strict";var n=r(9),o=r(91),a=r(45),i=r(25),s=r(28),c=r(67),l=r(68),u=r(49)("splice"),f=Math.max,p=Math.min;n({target:"Array",proto:!0,forced:!u},{splice:function(e,t){var r,n,u,d,m,h,v=s(this),g=i(v.length),y=o(e,g),b=arguments.length;if(0===b?r=n=0:1===b?(r=0,n=g-y):(r=b-2,n=p(f(a(t),0),g-y)),g+r-n>9007199254740991)throw TypeError("Maximum allowed length exceeded");for(u=c(v,n),d=0;d<n;d++)(m=y+d)in v&&l(u,d,v[m]);if(u.length=n,r<n){for(d=y;d<g-n;d++)h=d+r,(m=d+n)in v?v[h]=v[m]:delete v[h];for(d=g;d>g-n+r;d--)delete v[d-1]}else if(r>n)for(d=g-n;d>y;d--)h=d+r-1,(m=d+n-1)in v?v[h]=v[m]:delete v[h];for(d=0;d<r;d++)v[d+y]=arguments[d+2];return v.length=g-n+r,u}})},function(e,t,r){"use strict";var n=r(9),o=r(56),a=r(18),i=r(95),s=[].join,c=o!=Object,l=i("join",",");n({target:"Array",proto:!0,forced:c||!l},{join:function(e){return s.call(a(this),void 0===e?",":e)}})},function(e,t,r){var n=r(11),o=r(7),a=r(65),i=r(100),s=r(24),c=r(14).f,l=r(38).f,u=r(71),f=r(16),p=r(72),d=r(73),m=r(29),h=r(5),v=r(13),g=r(43).enforce,y=r(170),b=r(10),w=r(102),O=r(103),E=b("match"),_=o.RegExp,x=_.prototype,T=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,j=/a/g,k=/a/g,A=new _(j)!==j,N=d.UNSUPPORTED_Y,R=n&&(!A||N||w||O||h((function(){return k[E]=!1,_(j)!=j||_(k)==k||"/a/i"!=_(j,"i")})));if(a("RegExp",R)){for(var C=function(e,t){var r,n,o,a,c,l,d=this instanceof C,m=u(e),h=void 0===t,y=[],b=e;if(!d&&m&&h&&e.constructor===C)return e;if((m||e instanceof C)&&(e=e.source,h&&(t="flags"in b?b.flags:p.call(b))),e=void 0===e?"":f(e),t=void 0===t?"":f(t),b=e,w&&"dotAll"in j&&(n=!!t&&t.indexOf("s")>-1)&&(t=t.replace(/s/g,"")),r=t,N&&"sticky"in j&&(o=!!t&&t.indexOf("y")>-1)&&(t=t.replace(/y/g,"")),O&&(e=(a=function(e){for(var t,r=e.length,n=0,o="",a=[],i={},s=!1,c=!1,l=0,u="";n<=r;n++){if("\\"===(t=e.charAt(n)))t+=e.charAt(++n);else if("]"===t)s=!1;else if(!s)switch(!0){case"["===t:s=!0;break;case"("===t:T.test(e.slice(n+1))&&(n+=2,c=!0),o+=t,l++;continue;case">"===t&&c:if(""===u||v(i,u))throw new SyntaxError("Invalid capture group name");i[u]=!0,a.push([u,l]),c=!1,u="";continue}c?u+=t:o+=t}return[o,a]}(e))[0],y=a[1]),c=i(_(e,t),d?this:x,C),(n||o||y.length)&&(l=g(c),n&&(l.dotAll=!0,l.raw=C(function(e){for(var t,r=e.length,n=0,o="",a=!1;n<=r;n++)"\\"!==(t=e.charAt(n))?a||"."!==t?("["===t?a=!0:"]"===t&&(a=!1),o+=t):o+="[\\s\\S]":o+=t+e.charAt(++n);return o}(e),r)),o&&(l.sticky=!0),y.length&&(l.groups=y)),e!==b)try{s(c,"source",""===b?"(?:)":b)}catch(e){}return c},P=function(e){e in C||c(C,e,{configurable:!0,get:function(){return _[e]},set:function(t){_[e]=t}})},S=l(_),L=0;S.length>L;)P(S[L++]);x.constructor=C,C.prototype=x,m(o,"RegExp",C)}y("RegExp")},function(e,t,r){"use strict";var n=r(27),o=r(14),a=r(10),i=r(11),s=a("species");e.exports=function(e){var t=n(e),r=o.f;i&&t&&!t[s]&&r(t,s,{configurable:!0,get:function(){return this}})}},function(e,t,r){"use strict";var n=r(29),o=r(15),a=r(16),i=r(5),s=r(72),c=RegExp.prototype,l=c.toString,u=i((function(){return"/a/b"!=l.call({source:"a",flags:"b"})})),f="toString"!=l.name;(u||f)&&n(RegExp.prototype,"toString",(function(){var e=o(this),t=a(e.source),r=e.flags;return"/"+t+"/"+a(void 0===r&&e instanceof RegExp&&!("flags"in c)?s.call(e):r)}),{unsafe:!0})},function(e,t,r){"use strict";var n=r(104),o=r(15),a=r(25),i=r(16),s=r(20),c=r(105),l=r(106);n("match",(function(e,t,r){return[function(t){var r=s(this),n=null==t?void 0:t[e];return void 0!==n?n.call(t,r):new RegExp(t)[e](i(r))},function(e){var n=o(this),s=i(e),u=r(t,n,s);if(u.done)return u.value;if(!n.global)return l(n,s);var f=n.unicode;n.lastIndex=0;for(var p,d=[],m=0;null!==(p=l(n,s));){var h=i(p[0]);d[m]=h,""===h&&(n.lastIndex=c(s,a(n.lastIndex),f)),m++}return 0===m?null:d}]}))},function(e,t,r){var n=r(45),o=r(16),a=r(20),i=function(e){return function(t,r){var i,s,c=o(a(t)),l=n(r),u=c.length;return l<0||l>=u?e?"":void 0:(i=c.charCodeAt(l))<55296||i>56319||l+1===u||(s=c.charCodeAt(l+1))<56320||s>57343?e?c.charAt(l):i:e?c.slice(l,l+2):s-56320+(i-55296<<10)+65536}};e.exports={codeAt:i(!1),charAt:i(!0)}},function(e,t,r){var n=r(99);e.exports=function(e){if(Array.isArray(e))return n(e)},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,r){var n=r(11),o=r(46),a=r(18),i=r(55).f,s=function(e){return function(t){for(var r,s=a(t),c=o(s),l=c.length,u=0,f=[];l>u;)r=c[u++],n&&!i.call(s,r)||f.push(e?[r,s[r]]:s[r]);return f}};e.exports={entries:s(!0),values:s(!1)}},function(e,t,r){"use strict";var n=r(104),o=r(71),a=r(15),i=r(20),s=r(179),c=r(105),l=r(25),u=r(16),f=r(106),p=r(51),d=r(73),m=r(5),h=d.UNSUPPORTED_Y,v=[].push,g=Math.min;n("split",(function(e,t,r){var n;return n="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,r){var n=u(i(this)),a=void 0===r?4294967295:r>>>0;if(0===a)return[];if(void 0===e)return[n];if(!o(e))return t.call(n,e,a);for(var s,c,l,f=[],d=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),m=0,h=new RegExp(e.source,d+"g");(s=p.call(h,n))&&!((c=h.lastIndex)>m&&(f.push(n.slice(m,s.index)),s.length>1&&s.index<n.length&&v.apply(f,s.slice(1)),l=s[0].length,m=c,f.length>=a));)h.lastIndex===s.index&&h.lastIndex++;return m===n.length?!l&&h.test("")||f.push(""):f.push(n.slice(m)),f.length>a?f.slice(0,a):f}:"0".split(void 0,0).length?function(e,r){return void 0===e&&0===r?[]:t.call(this,e,r)}:t,[function(t,r){var o=i(this),a=null==t?void 0:t[e];return void 0!==a?a.call(t,o,r):n.call(u(o),t,r)},function(e,o){var i=a(this),p=u(e),d=r(n,i,p,o,n!==t);if(d.done)return d.value;var m=s(i,RegExp),v=i.unicode,y=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(h?"g":"y"),b=new m(h?"^(?:"+i.source+")":i,y),w=void 0===o?4294967295:o>>>0;if(0===w)return[];if(0===p.length)return null===f(b,p)?[p]:[];for(var O=0,E=0,_=[];E<p.length;){b.lastIndex=h?0:E;var x,T=f(b,h?p.slice(E):p);if(null===T||(x=g(l(b.lastIndex+(h?E:0)),p.length))===O)E=c(p,E,v);else{if(_.push(p.slice(O,E)),_.length===w)return _;for(var j=1;j<=T.length-1;j++)if(_.push(T[j]),_.length===w)return _;E=O=x}}return _.push(p.slice(O)),_}]}),!!m((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var r="ab".split(e);return 2!==r.length||"a"!==r[0]||"b"!==r[1]})),h)},function(e,t,r){var n=r(15),o=r(94),a=r(10)("species");e.exports=function(e,t){var r,i=n(e).constructor;return void 0===i||null==(r=n(i)[a])?t:o(r)}},function(e,t,r){"use strict";r.r(t),r.d(t,"default",(function(){return Ri}));var n,o,a=r(1),i=r(0),s=r.n(i),c=new Map([["gb",["paypal","western-union","hsbc","barclays","lloyds","moneygram","transferwise"]],["us",["paypal","western-union","chase","moneygram","wells-fargo","xoom","transferwise"]],["au",["paypal","western-union","commonwealth-bank-of-australia","anz","westpac","national-australia-bank","transferwise"]],["hk",["paypal","western-union","hang-seng","hsbc-hk","ocbc","ccb-hk","transferwise"]],["nl",["paypal","western-union","lacaixa","bbva","sabadell","transferwise"]],["es",["paypal","western-union","ing-nl","abn-amro-bank","rabobank","transferwise"]]]),l=function(e){return c.has(e.toLowerCase())},u=function(e,t,r){return void 0===r&&(r=5),!!l(t)&&f(e,t).length>=r},f=function(e,t){if(!l(t))return e;var r=c.get(t)||[];return e.filter((function(e){return r.includes(e.provider.alias)}))};!function(e){e.ProviderFilteringOptionChanged="ProviderFilteringOptionChanged",e.FeeBreakdownPopoverStarted="FeeBreakdownPopoverStarted",e.MobileFeeBreakdownStarted="MobileFeeBreakdownStarted",e.LargestProviderTableRendered="LargestProviderTablerendered"}(n||(n={})),function(e){e.TransferFeeComparison="Transfer-Fee-Comparison"}(o||(o={}));var p,d,m,h,v,g,y=r(39),b=r.n(y),w=r(3),O=r.n(w),E=r(34),_=r.n(E),x=(r(19),r(30),r(21),r(31),r(32),r(33),r(4)),T=r.n(x),j=r(2),k=r.n(j),A=r(109),N=r.n(A);(d=p||(p={})).ACCENT="accent",d.POSITIVE="positive",d.NEGATIVE="negative",function(e){e.PRIMARY="primary",e.SECONDARY="secondary",e.TERTIARY="tertiary"}(m||(m={})),function(e){e.EXTRA_SMALL="xs",e.SMALL="sm",e.MEDIUM="md",e.LARGE="lg",e.EXTRA_LARGE="xl"}(h||(h={}));var R,C=(v={},O()(v,p.ACCENT,"btn-accent"),O()(v,p.POSITIVE,"btn-positive"),O()(v,p.NEGATIVE,"btn-negative"),v),P=(g={},O()(g,m.PRIMARY,"btn-priority-1"),O()(g,m.SECONDARY,"btn-priority-2"),O()(g,m.TERTIARY,"btn-priority-3"),g);r(69),r(50),r(70);!function(e){e.PRIMARY="primary",e.PAY="pay",e.SECONDARY="secondary",e.DANGER="danger",e.LINK="link"}(R||(R={}));var S,L,F,I=r(206),M=(S={},O()(S,R.PRIMARY,p.ACCENT),O()(S,R.SECONDARY,p.ACCENT),O()(S,R.LINK,p.ACCENT),O()(S,R.PAY,p.POSITIVE),O()(S,R.DANGER,p.NEGATIVE),S),D=(L={},O()(L,R.DANGER,m.SECONDARY),O()(L,R.LINK,m.TERTIARY),O()(L,R.SECONDARY,m.SECONDARY),L),z=(F={},O()(F,R.DANGER,"Type.NEGATIVE"),O()(F,R.LINK,"ControlType.ACCENT with priority Priority.TERTIARY"),O()(F,R.PAY,"ControlType.POSITIVE"),O()(F,R.PRIMARY,"ControlType.ACCENT"),O()(F,R.SECONDARY,"ControlType.ACCENT with priority Priority.SECONDARY"),F),U=Object.keys(M),G=function(e){return M[e]||e},W=["block","children","className","disabled","htmlType","loading","priority","size","type"];function B(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function V(e){for(var t,r=1;r<arguments.length;r++)t=null==arguments[r]?{}:arguments[r],r%2?B(Object(t),!0).forEach((function(r){O()(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):B(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}));return e}var q=function(e){var t=e.block,r=e.children,n=e.className,o=e.disabled,i=e.htmlType,s=e.loading,c=e.priority,l=e.size,u=e.type,f=_()(e,W);!function(e){var t=e.size,r=e.type;Object(I.a)("Button has deprecated the `Size.EXTRA_SMALL` value for the `size` prop. Please use Size.SMALL instead.",t===h.EXTRA_SMALL),Object(I.a)("Button has deprecated the ".concat(r," value for the `type` prop. Please update to ").concat(z[r],"."),U.includes(r))}(e);var d=G(u),v=function(e,t){var r=G(t);return D[t]?D[t]:e===m.TERTIARY&&r!==p.ACCENT?m.SECONDARY:e}(c,u),g=T()("btn btn-".concat(l),"np-btn np-btn-".concat(l),{"btn-loading":s,"btn-block np-btn-block":t},C[d],P[v],n);return Object(a.jsxs)("button",V(V({type:i,className:g,disabled:o||s},f),{},{children:[r,s&&Object(a.jsx)("span",{className:T()("btn-loader",{"m-l-2":!t})})]}))};q.propTypes={block:k.a.bool,children:k.a.node.isRequired,className:k.a.string,disabled:k.a.bool,htmlType:k.a.oneOf(["submit","reset","button"]),loading:k.a.bool,onClick:N()(k.a.func,(function(e){return"submit"!==e.htmlType})),priority:k.a.oneOf(["primary","secondary","tertiary"]),type:k.a.oneOf(["accent","positive","negative","primary","pay","secondary","danger","link"]),size:k.a.oneOf(["xs","sm","md","lg"])},q.defaultProps={block:!1,className:null,disabled:!1,htmlType:"button",loading:!1,priority:m.PRIMARY,size:h.MEDIUM,type:p.ACCENT};var H=q,Y=function(e,t){return(Y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)};
|
|
22
|
+
*/var n="function"==typeof Symbol&&Symbol.for,o=n?Symbol.for("react.element"):60103,a=n?Symbol.for("react.portal"):60106,i=n?Symbol.for("react.fragment"):60107,s=n?Symbol.for("react.strict_mode"):60108,c=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,u=n?Symbol.for("react.context"):60110,f=n?Symbol.for("react.async_mode"):60111,p=n?Symbol.for("react.concurrent_mode"):60111,d=n?Symbol.for("react.forward_ref"):60112,m=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,v=n?Symbol.for("react.memo"):60115,g=n?Symbol.for("react.lazy"):60116,y=n?Symbol.for("react.block"):60121,b=n?Symbol.for("react.fundamental"):60117,w=n?Symbol.for("react.responder"):60118,O=n?Symbol.for("react.scope"):60119;function E(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case o:switch(e=e.type){case f:case p:case i:case c:case s:case m:return e;default:switch(e=e&&e.$$typeof){case u:case d:case g:case v:case l:return e;default:return t}}case a:return t}}}function _(e){return E(e)===p}t.AsyncMode=f,t.ConcurrentMode=p,t.ContextConsumer=u,t.ContextProvider=l,t.Element=o,t.ForwardRef=d,t.Fragment=i,t.Lazy=g,t.Memo=v,t.Portal=a,t.Profiler=c,t.StrictMode=s,t.Suspense=m,t.isAsyncMode=function(e){return _(e)||E(e)===f},t.isConcurrentMode=_,t.isContextConsumer=function(e){return E(e)===u},t.isContextProvider=function(e){return E(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===o},t.isForwardRef=function(e){return E(e)===d},t.isFragment=function(e){return E(e)===i},t.isLazy=function(e){return E(e)===g},t.isMemo=function(e){return E(e)===v},t.isPortal=function(e){return E(e)===a},t.isProfiler=function(e){return E(e)===c},t.isStrictMode=function(e){return E(e)===s},t.isSuspense=function(e){return E(e)===m},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===p||e===c||e===s||e===m||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===v||e.$$typeof===l||e.$$typeof===u||e.$$typeof===d||e.$$typeof===b||e.$$typeof===w||e.$$typeof===O||e.$$typeof===y)},t.typeOf=E},function(e,t){e.exports=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,r){var n=r(27);e.exports=n("navigator","userAgent")||""},function(e,t,r){var n=r(12);e.exports=function(e,t){var r,o;if("string"===t&&"function"==typeof(r=e.toString)&&!n(o=r.call(e)))return o;if("function"==typeof(r=e.valueOf)&&!n(o=r.call(e)))return o;if("string"!==t&&"function"==typeof(r=e.toString)&&!n(o=r.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},function(e,t,r){var n=r(7),o=r(87),a=n.WeakMap;e.exports="function"==typeof a&&/native code/.test(o(a))},function(e,t,r){var n=r(13),o=r(88),a=r(23),i=r(14);e.exports=function(e,t){for(var r=o(t),s=i.f,c=a.f,l=0;l<r.length;l++){var u=r[l];n(e,u)||s(e,u,c(t,u))}}},function(e,t,r){var n=r(11),o=r(14),a=r(15),i=r(46);e.exports=n?Object.defineProperties:function(e,t){a(e);for(var r,n=i(t),s=n.length,c=0;s>c;)o.f(e,r=n[c++],t[r]);return e}},function(e,t,r){var n=r(27);e.exports=n("document","documentElement")},function(e,t,r){var n=r(18),o=r(38).f,a={}.toString,i="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return i&&"[object Window]"==a.call(e)?function(e){try{return o(e)}catch(e){return i.slice()}}(e):o(n(e))}},function(e,t,r){var n=r(144),o=r(13),a=r(93),i=r(14).f;e.exports=function(e){var t=n.Symbol||(n.Symbol={});o(t,e)||i(t,e,{value:a.f(e)})}},function(e,t,r){var n=r(7);e.exports=n},function(e,t,r){var n=r(14).f,o=r(13),a=r(10)("toStringTag");e.exports=function(e,t,r){e&&!o(e=r?e:e.prototype,a)&&n(e,a,{configurable:!0,value:t})}},function(e,t,r){var n=r(94);e.exports=function(e,t,r){if(n(e),void 0===t)return e;switch(r){case 0:return function(){return e.call(t)};case 1:return function(r){return e.call(t,r)};case 2:return function(r,n){return e.call(t,r,n)};case 3:return function(r,n,o){return e.call(t,r,n,o)}}return function(){return e.apply(t,arguments)}}},function(e,t,r){var n=r(12),o=r(66),a=r(10)("species");e.exports=function(e){var t;return o(e)&&("function"!=typeof(t=e.constructor)||t!==Array&&!o(t.prototype)?n(t)&&null===(t=t[a])&&(t=void 0):t=void 0),void 0===t?Array:t}},function(e,t){e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},function(e,t,r){"use strict";var n=r(48).forEach,o=r(95)("forEach");e.exports=o?[].forEach:function(e){return n(this,e,arguments.length>1?arguments[1]:void 0)}},function(e,t,r){var n=r(10),o=r(47),a=r(14),i=n("unscopables"),s=Array.prototype;null==s[i]&&a.f(s,i,{configurable:!0,value:o(null)}),e.exports=function(e){s[i][e]=!0}},function(e,t){var r,n,o=e.exports={};function a(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function s(e){if(r===setTimeout)return setTimeout(e,0);if((r===a||!r)&&setTimeout)return r=setTimeout,setTimeout(e,0);try{return r(e,0)}catch(t){try{return r.call(null,e,0)}catch(t){return r.call(this,e,0)}}}!function(){try{r="function"==typeof setTimeout?setTimeout:a}catch(e){r=a}try{n="function"==typeof clearTimeout?clearTimeout:i}catch(e){n=i}}();var c,l=[],u=!1,f=-1;function p(){u&&c&&(u=!1,c.length?l=c.concat(l):f=-1,l.length&&d())}function d(){if(!u){var e=s(p);u=!0;for(var t=l.length;t;){for(c=l,l=[];++f<t;)c&&c[f].run();f=-1,t=l.length}c=null,u=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===i||!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 m(e,t){this.fun=e,this.array=t}function h(){}o.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];l.push(new m(e,t)),1!==l.length||u||s(d)},m.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=h,o.addListener=h,o.once=h,o.off=h,o.removeListener=h,o.removeAllListeners=h,o.emit=h,o.prependListener=h,o.prependOnceListener=h,o.listeners=function(e){return[]},o.binding=function(e){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},function(e,t){e.exports=function(e){if(Array.isArray(e))return e},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a=[],i=!0,s=!1;try{for(r=r.call(e);!(i=(n=r.next()).done)&&(a.push(n.value),!t||a.length!==t);i=!0);}catch(e){s=!0,o=e}finally{try{i||null==r.return||r.return()}finally{if(s)throw o}}return a}},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,r){var n=r(155);e.exports=function(e,t){if(e){if("string"==typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e){if(Array.isArray(e))return e},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a=[],i=!0,s=!1;try{for(r=r.call(e);!(i=(n=r.next()).done)&&(a.push(n.value),!t||a.length!==t);i=!0);}catch(e){s=!0,o=e}finally{try{i||null==r.return||r.return()}finally{if(s)throw o}}return a}},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,r){r(9)({target:"Number",stat:!0},{isNaN:function(e){return e!=e}})},function(e,t,r){"use strict";var n=r(11),o=r(7),a=r(65),i=r(29),s=r(13),c=r(36),l=r(100),u=r(37),f=r(83),p=r(5),d=r(47),m=r(38).f,h=r(23).f,v=r(14).f,g=r(164).trim,y=o.Number,b=y.prototype,w="Number"==c(d(b)),O=function(e){if(u(e))throw TypeError("Cannot convert a Symbol value to a number");var t,r,n,o,a,i,s,c,l=f(e,"number");if("string"==typeof l&&l.length>2)if(43===(t=(l=g(l)).charCodeAt(0))||45===t){if(88===(r=l.charCodeAt(2))||120===r)return NaN}else if(48===t){switch(l.charCodeAt(1)){case 66:case 98:n=2,o=49;break;case 79:case 111:n=8,o=55;break;default:return+l}for(i=(a=l.slice(2)).length,s=0;s<i;s++)if((c=a.charCodeAt(s))<48||c>o)return NaN;return parseInt(a,n)}return+l};if(a("Number",!y(" 0o1")||!y("0b1")||y("+0x1"))){for(var E,_=function(e){var t=arguments.length<1?0:e,r=this;return r instanceof _&&(w?p((function(){b.valueOf.call(r)})):"Number"!=c(r))?l(new y(O(t)),r,_):O(t)},x=n?m(y):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),T=0;x.length>T;T++)s(y,E=x[T])&&!s(_,E)&&v(_,E,h(y,E));_.prototype=b,b.constructor=_,i(o,"Number",_)}},function(e,t,r){var n=r(15),o=r(163);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(r,[]),t=r instanceof Array}catch(e){}return function(r,a){return n(r),o(a),t?e.call(r,a):r.__proto__=a,r}}():void 0)},function(e,t,r){var n=r(12);e.exports=function(e){if(!n(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},function(e,t,r){var n=r(20),o=r(16),a="["+r(165)+"]",i=RegExp("^"+a+a+"*"),s=RegExp(a+a+"*$"),c=function(e){return function(t){var r=o(n(t));return 1&e&&(r=r.replace(i,"")),2&e&&(r=r.replace(s,"")),r}};e.exports={start:c(1),end:c(2),trim:c(3)}},function(e,t){e.exports="\t\n\v\f\r \u2028\u2029\ufeff"},function(e,t,r){"use strict";var n,o=r(9),a=r(23).f,i=r(25),s=r(16),c=r(96),l=r(20),u=r(97),f=r(59),p="".startsWith,d=Math.min,m=u("startsWith");o({target:"String",proto:!0,forced:!!(f||m||(n=a(String.prototype,"startsWith"),!n||n.writable))&&!m},{startsWith:function(e){var t=s(l(this));c(e);var r=i(d(arguments.length>1?arguments[1]:void 0,t.length)),n=s(e);return p?p.call(t,n,r):t.slice(r,r+n.length)===n}})},function(e,t,r){"use strict";var n=r(9),o=r(91),a=r(45),i=r(25),s=r(28),c=r(67),l=r(68),u=r(49)("splice"),f=Math.max,p=Math.min;n({target:"Array",proto:!0,forced:!u},{splice:function(e,t){var r,n,u,d,m,h,v=s(this),g=i(v.length),y=o(e,g),b=arguments.length;if(0===b?r=n=0:1===b?(r=0,n=g-y):(r=b-2,n=p(f(a(t),0),g-y)),g+r-n>9007199254740991)throw TypeError("Maximum allowed length exceeded");for(u=c(v,n),d=0;d<n;d++)(m=y+d)in v&&l(u,d,v[m]);if(u.length=n,r<n){for(d=y;d<g-n;d++)h=d+r,(m=d+n)in v?v[h]=v[m]:delete v[h];for(d=g;d>g-n+r;d--)delete v[d-1]}else if(r>n)for(d=g-n;d>y;d--)h=d+r-1,(m=d+n-1)in v?v[h]=v[m]:delete v[h];for(d=0;d<r;d++)v[d+y]=arguments[d+2];return v.length=g-n+r,u}})},function(e,t,r){"use strict";var n=r(9),o=r(56),a=r(18),i=r(95),s=[].join,c=o!=Object,l=i("join",",");n({target:"Array",proto:!0,forced:c||!l},{join:function(e){return s.call(a(this),void 0===e?",":e)}})},function(e,t,r){var n=r(11),o=r(7),a=r(65),i=r(100),s=r(24),c=r(14).f,l=r(38).f,u=r(71),f=r(16),p=r(72),d=r(73),m=r(29),h=r(5),v=r(13),g=r(43).enforce,y=r(170),b=r(10),w=r(102),O=r(103),E=b("match"),_=o.RegExp,x=_.prototype,T=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,j=/a/g,k=/a/g,A=new _(j)!==j,N=d.UNSUPPORTED_Y,R=n&&(!A||N||w||O||h((function(){return k[E]=!1,_(j)!=j||_(k)==k||"/a/i"!=_(j,"i")})));if(a("RegExp",R)){for(var C=function(e,t){var r,n,o,a,c,l,d=this instanceof C,m=u(e),h=void 0===t,y=[],b=e;if(!d&&m&&h&&e.constructor===C)return e;if((m||e instanceof C)&&(e=e.source,h&&(t="flags"in b?b.flags:p.call(b))),e=void 0===e?"":f(e),t=void 0===t?"":f(t),b=e,w&&"dotAll"in j&&(n=!!t&&t.indexOf("s")>-1)&&(t=t.replace(/s/g,"")),r=t,N&&"sticky"in j&&(o=!!t&&t.indexOf("y")>-1)&&(t=t.replace(/y/g,"")),O&&(e=(a=function(e){for(var t,r=e.length,n=0,o="",a=[],i={},s=!1,c=!1,l=0,u="";n<=r;n++){if("\\"===(t=e.charAt(n)))t+=e.charAt(++n);else if("]"===t)s=!1;else if(!s)switch(!0){case"["===t:s=!0;break;case"("===t:T.test(e.slice(n+1))&&(n+=2,c=!0),o+=t,l++;continue;case">"===t&&c:if(""===u||v(i,u))throw new SyntaxError("Invalid capture group name");i[u]=!0,a.push([u,l]),c=!1,u="";continue}c?u+=t:o+=t}return[o,a]}(e))[0],y=a[1]),c=i(_(e,t),d?this:x,C),(n||o||y.length)&&(l=g(c),n&&(l.dotAll=!0,l.raw=C(function(e){for(var t,r=e.length,n=0,o="",a=!1;n<=r;n++)"\\"!==(t=e.charAt(n))?a||"."!==t?("["===t?a=!0:"]"===t&&(a=!1),o+=t):o+="[\\s\\S]":o+=t+e.charAt(++n);return o}(e),r)),o&&(l.sticky=!0),y.length&&(l.groups=y)),e!==b)try{s(c,"source",""===b?"(?:)":b)}catch(e){}return c},P=function(e){e in C||c(C,e,{configurable:!0,get:function(){return _[e]},set:function(t){_[e]=t}})},S=l(_),L=0;S.length>L;)P(S[L++]);x.constructor=C,C.prototype=x,m(o,"RegExp",C)}y("RegExp")},function(e,t,r){"use strict";var n=r(27),o=r(14),a=r(10),i=r(11),s=a("species");e.exports=function(e){var t=n(e),r=o.f;i&&t&&!t[s]&&r(t,s,{configurable:!0,get:function(){return this}})}},function(e,t,r){"use strict";var n=r(29),o=r(15),a=r(16),i=r(5),s=r(72),c=RegExp.prototype,l=c.toString,u=i((function(){return"/a/b"!=l.call({source:"a",flags:"b"})})),f="toString"!=l.name;(u||f)&&n(RegExp.prototype,"toString",(function(){var e=o(this),t=a(e.source),r=e.flags;return"/"+t+"/"+a(void 0===r&&e instanceof RegExp&&!("flags"in c)?s.call(e):r)}),{unsafe:!0})},function(e,t,r){"use strict";var n=r(104),o=r(15),a=r(25),i=r(16),s=r(20),c=r(105),l=r(106);n("match",(function(e,t,r){return[function(t){var r=s(this),n=null==t?void 0:t[e];return void 0!==n?n.call(t,r):new RegExp(t)[e](i(r))},function(e){var n=o(this),s=i(e),u=r(t,n,s);if(u.done)return u.value;if(!n.global)return l(n,s);var f=n.unicode;n.lastIndex=0;for(var p,d=[],m=0;null!==(p=l(n,s));){var h=i(p[0]);d[m]=h,""===h&&(n.lastIndex=c(s,a(n.lastIndex),f)),m++}return 0===m?null:d}]}))},function(e,t,r){var n=r(45),o=r(16),a=r(20),i=function(e){return function(t,r){var i,s,c=o(a(t)),l=n(r),u=c.length;return l<0||l>=u?e?"":void 0:(i=c.charCodeAt(l))<55296||i>56319||l+1===u||(s=c.charCodeAt(l+1))<56320||s>57343?e?c.charAt(l):i:e?c.slice(l,l+2):s-56320+(i-55296<<10)+65536}};e.exports={codeAt:i(!1),charAt:i(!0)}},function(e,t,r){var n=r(99);e.exports=function(e){if(Array.isArray(e))return n(e)},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,r){var n=r(11),o=r(46),a=r(18),i=r(55).f,s=function(e){return function(t){for(var r,s=a(t),c=o(s),l=c.length,u=0,f=[];l>u;)r=c[u++],n&&!i.call(s,r)||f.push(e?[r,s[r]]:s[r]);return f}};e.exports={entries:s(!0),values:s(!1)}},function(e,t,r){"use strict";var n=r(104),o=r(71),a=r(15),i=r(20),s=r(179),c=r(105),l=r(25),u=r(16),f=r(106),p=r(51),d=r(73),m=r(5),h=d.UNSUPPORTED_Y,v=[].push,g=Math.min;n("split",(function(e,t,r){var n;return n="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,r){var n=u(i(this)),a=void 0===r?4294967295:r>>>0;if(0===a)return[];if(void 0===e)return[n];if(!o(e))return t.call(n,e,a);for(var s,c,l,f=[],d=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),m=0,h=new RegExp(e.source,d+"g");(s=p.call(h,n))&&!((c=h.lastIndex)>m&&(f.push(n.slice(m,s.index)),s.length>1&&s.index<n.length&&v.apply(f,s.slice(1)),l=s[0].length,m=c,f.length>=a));)h.lastIndex===s.index&&h.lastIndex++;return m===n.length?!l&&h.test("")||f.push(""):f.push(n.slice(m)),f.length>a?f.slice(0,a):f}:"0".split(void 0,0).length?function(e,r){return void 0===e&&0===r?[]:t.call(this,e,r)}:t,[function(t,r){var o=i(this),a=null==t?void 0:t[e];return void 0!==a?a.call(t,o,r):n.call(u(o),t,r)},function(e,o){var i=a(this),p=u(e),d=r(n,i,p,o,n!==t);if(d.done)return d.value;var m=s(i,RegExp),v=i.unicode,y=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(h?"g":"y"),b=new m(h?"^(?:"+i.source+")":i,y),w=void 0===o?4294967295:o>>>0;if(0===w)return[];if(0===p.length)return null===f(b,p)?[p]:[];for(var O=0,E=0,_=[];E<p.length;){b.lastIndex=h?0:E;var x,T=f(b,h?p.slice(E):p);if(null===T||(x=g(l(b.lastIndex+(h?E:0)),p.length))===O)E=c(p,E,v);else{if(_.push(p.slice(O,E)),_.length===w)return _;for(var j=1;j<=T.length-1;j++)if(_.push(T[j]),_.length===w)return _;E=O=x}}return _.push(p.slice(O)),_}]}),!!m((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var r="ab".split(e);return 2!==r.length||"a"!==r[0]||"b"!==r[1]})),h)},function(e,t,r){var n=r(15),o=r(94),a=r(10)("species");e.exports=function(e,t){var r,i=n(e).constructor;return void 0===i||null==(r=n(i)[a])?t:o(r)}},function(e,t,r){"use strict";r.r(t),r.d(t,"default",(function(){return Ri}));var n,o,a=r(1),i=r(0),s=r.n(i),c=new Map([["gb",["paypal","western-union","hsbc","barclays","lloyds","moneygram","transferwise"]],["us",["paypal","western-union","chase","moneygram","wells-fargo","xoom","transferwise"]],["au",["paypal","western-union","commonwealth-bank-of-australia","anz","westpac","national-australia-bank","transferwise"]],["hk",["paypal","western-union","hang-seng","hsbc-hk","ocbc","ccb-hk","transferwise"]],["nl",["paypal","western-union","lacaixa","bbva","sabadell","transferwise"]],["es",["paypal","western-union","ing-nl","abn-amro-bank","rabobank","transferwise"]]]),l=function(e){return c.has(e.toLowerCase())},u=function(e,t,r){return void 0===r&&(r=5),!!l(t)&&f(e,t).length>=r},f=function(e,t){if(!l(t))return e;var r=c.get(t.toLowerCase())||[];return e.filter((function(e){return r.includes(e.provider.alias)}))};!function(e){e.ProviderFilteringOptionChanged="ProviderFilteringOptionChanged",e.FeeBreakdownPopoverStarted="FeeBreakdownPopoverStarted",e.MobileFeeBreakdownStarted="MobileFeeBreakdownStarted",e.LargestProviderTableRendered="LargestProviderTableRendered"}(n||(n={})),function(e){e.TransferFeeComparison="Transfer-Fee-Comparison"}(o||(o={}));var p,d,m,h,v,g,y=r(39),b=r.n(y),w=r(3),O=r.n(w),E=r(34),_=r.n(E),x=(r(19),r(30),r(21),r(31),r(32),r(33),r(4)),T=r.n(x),j=r(2),k=r.n(j),A=r(109),N=r.n(A);(d=p||(p={})).ACCENT="accent",d.POSITIVE="positive",d.NEGATIVE="negative",function(e){e.PRIMARY="primary",e.SECONDARY="secondary",e.TERTIARY="tertiary"}(m||(m={})),function(e){e.EXTRA_SMALL="xs",e.SMALL="sm",e.MEDIUM="md",e.LARGE="lg",e.EXTRA_LARGE="xl"}(h||(h={}));var R,C=(v={},O()(v,p.ACCENT,"btn-accent"),O()(v,p.POSITIVE,"btn-positive"),O()(v,p.NEGATIVE,"btn-negative"),v),P=(g={},O()(g,m.PRIMARY,"btn-priority-1"),O()(g,m.SECONDARY,"btn-priority-2"),O()(g,m.TERTIARY,"btn-priority-3"),g);r(69),r(50),r(70);!function(e){e.PRIMARY="primary",e.PAY="pay",e.SECONDARY="secondary",e.DANGER="danger",e.LINK="link"}(R||(R={}));var S,L,F,I=r(206),M=(S={},O()(S,R.PRIMARY,p.ACCENT),O()(S,R.SECONDARY,p.ACCENT),O()(S,R.LINK,p.ACCENT),O()(S,R.PAY,p.POSITIVE),O()(S,R.DANGER,p.NEGATIVE),S),D=(L={},O()(L,R.DANGER,m.SECONDARY),O()(L,R.LINK,m.TERTIARY),O()(L,R.SECONDARY,m.SECONDARY),L),z=(F={},O()(F,R.DANGER,"Type.NEGATIVE"),O()(F,R.LINK,"ControlType.ACCENT with priority Priority.TERTIARY"),O()(F,R.PAY,"ControlType.POSITIVE"),O()(F,R.PRIMARY,"ControlType.ACCENT"),O()(F,R.SECONDARY,"ControlType.ACCENT with priority Priority.SECONDARY"),F),U=Object.keys(M),G=function(e){return M[e]||e},W=["block","children","className","disabled","htmlType","loading","priority","size","type"];function B(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function V(e){for(var t,r=1;r<arguments.length;r++)t=null==arguments[r]?{}:arguments[r],r%2?B(Object(t),!0).forEach((function(r){O()(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):B(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}));return e}var q=function(e){var t=e.block,r=e.children,n=e.className,o=e.disabled,i=e.htmlType,s=e.loading,c=e.priority,l=e.size,u=e.type,f=_()(e,W);!function(e){var t=e.size,r=e.type;Object(I.a)("Button has deprecated the `Size.EXTRA_SMALL` value for the `size` prop. Please use Size.SMALL instead.",t===h.EXTRA_SMALL),Object(I.a)("Button has deprecated the ".concat(r," value for the `type` prop. Please update to ").concat(z[r],"."),U.includes(r))}(e);var d=G(u),v=function(e,t){var r=G(t);return D[t]?D[t]:e===m.TERTIARY&&r!==p.ACCENT?m.SECONDARY:e}(c,u),g=T()("btn btn-".concat(l),"np-btn np-btn-".concat(l),{"btn-loading":s,"btn-block np-btn-block":t},C[d],P[v],n);return Object(a.jsxs)("button",V(V({type:i,className:g,disabled:o||s},f),{},{children:[r,s&&Object(a.jsx)("span",{className:T()("btn-loader",{"m-l-2":!t})})]}))};q.propTypes={block:k.a.bool,children:k.a.node.isRequired,className:k.a.string,disabled:k.a.bool,htmlType:k.a.oneOf(["submit","reset","button"]),loading:k.a.bool,onClick:N()(k.a.func,(function(e){return"submit"!==e.htmlType})),priority:k.a.oneOf(["primary","secondary","tertiary"]),type:k.a.oneOf(["accent","positive","negative","primary","pay","secondary","danger","link"]),size:k.a.oneOf(["xs","sm","md","lg"])},q.defaultProps={block:!1,className:null,disabled:!1,htmlType:"button",loading:!1,priority:m.PRIMARY,size:h.MEDIUM,type:p.ACCENT};var H=q,Y=function(e,t){return(Y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)};
|
|
23
23
|
/*! *****************************************************************************
|
|
24
24
|
Copyright (c) Microsoft Corporation.
|
|
25
25
|
|