text: (window.webpackJsonp=window.webpackJsonp||[]).push([[42],{449:function(r,t,e){"use strict";e.r(t);var n=e(3),u=e.n(n),i=(e(12),e(1)),o=e.n(i),a=e(24),c=e(136);e(14);t.default={mixins:[c.default],data:function(){return{token:null,type:"bank",kycState:null,estimatedDelivery:"0-1 day",slug:"coinberry",to:"BTC",from:"CAD"}},history:function(){var r=o()(regeneratorRuntime.mark(function r(){return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",null);case 1:case"end":return r.stop()}},r,this)}));return function(){return r.apply(this,arguments)}}(),computed:{readyToUse:function(){return!!this.token}},watch:{},methods:{initialize:function(){var r=o()(regeneratorRuntime.mark(function r(){return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:case"end":return r.stop()}},r,this)}));return function(){return r.apply(this,arguments)}}(),nextStep:function(){if(!this.token)return 0},limits:function(){return null},titleFor:function(r){return this.$t("exchange.coinberry.title.bank")},typeFor:function(r){return this.$t("exchange.coinberry.type.bank")},limitsStringFor:function(r){return this.$t("exchange.coinberry.limits.bank")},subtitleFor:function(r){return"CAD"},quote:function(){var r=o()(regeneratorRuntime.mark(function r(t){var e,n,i,o,c,s,p;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:if(t){r.next=2;break}return r.abrupt("return",{});case 2:return e=t.amount,n=t.to,i=t.from,this.to=n&&n.toUpperCase(),(e={}).currency="cad",o={mode:t.mode||"sepa-buy",amount:u()({},e,{currency:e.currency&&e.currency.toUpperCase()}),to:this.to,from:i&&i.toUpperCase(),serviceToken:this.token},r.next=9,a.a.rpc("coinberry/quote",o);case 9:if(c=r.sent,s=c.result,!(p=c.error)){r.next=14;break}return r.abrupt("return",{error:p});case 14:return r.abrupt("return",{result:s});case 15:case"end":return r.stop()}},r,this)}));return function(t){return r.apply(this,arguments)}}()}}}}]);
  //# sourceMappingURL=ee732057b351839e140c.js.map