UNPKG

@plisio/vue-invoice

Version:

Vue invoice component for Plisio payment processing

8 lines 53 kB
(function(t,e){"object"===typeof exports&&"object"===typeof module?module.exports=e():"function"===typeof define&&define.amd?define([],e):"object"===typeof exports?exports["vue-invoice"]=e():t["vue-invoice"]=e()})("undefined"!==typeof self?self:this,(function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s="fb152")}({"0366":function(t,e,n){var r=n("1c0b");t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 0:return function(){return t.call(e)};case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},"06cf":function(t,e,n){var r=n("83ab"),i=n("d1e7"),o=n("5c6c"),c=n("fc6a"),a=n("c04e"),s=n("5135"),u=n("0cfb"),l=Object.getOwnPropertyDescriptor;e.f=r?l:function(t,e){if(t=c(t),e=a(e,!0),u)try{return l(t,e)}catch(n){}if(s(t,e))return o(!i.f.call(t,e),t[e])}},"07ac":function(t,e,n){var r=n("23e7"),i=n("6f53").values;r({target:"Object",stat:!0},{values:function(t){return i(t)}})},"0cfb":function(t,e,n){var r=n("83ab"),i=n("d039"),o=n("cc12");t.exports=!r&&!i((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},1148:function(t,e,n){"use strict";var r=n("a691"),i=n("1d80");t.exports="".repeat||function(t){var e=String(i(this)),n="",o=r(t);if(o<0||o==1/0)throw RangeError("Wrong number of repetitions");for(;o>0;(o>>>=1)&&(e+=e))1&o&&(n+=e);return n}},"1be4":function(t,e,n){var r=n("d066");t.exports=r("document","documentElement")},"1c0b":function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},"1d56":function(t,e,n){},"1d80":function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},"1dde":function(t,e,n){var r=n("d039"),i=n("b622"),o=n("2d00"),c=i("species");t.exports=function(t){return o>=51||!r((function(){var e=[],n=e.constructor={};return n[c]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},2347:function(t,e,n){"use strict";var r=n("fe58"),i=n.n(r);i.a},"23cb":function(t,e,n){var r=n("a691"),i=Math.max,o=Math.min;t.exports=function(t,e){var n=r(t);return n<0?i(n+e,0):o(n,e)}},"23e7":function(t,e,n){var r=n("da84"),i=n("06cf").f,o=n("9112"),c=n("6eeb"),a=n("ce4e"),s=n("e893"),u=n("94ca");t.exports=function(t,e){var n,l,f,p,d,v,h=t.target,_=t.global,y=t.stat;if(l=_?r:y?r[h]||a(h,{}):(r[h]||{}).prototype,l)for(f in e){if(d=e[f],t.noTargetGet?(v=i(l,f),p=v&&v.value):p=l[f],n=u(_?f:h+(y?".":"#")+f,t.forced),!n&&void 0!==p){if(typeof d===typeof p)continue;s(d,p)}(t.sham||p&&p.sham)&&o(d,"sham",!0),c(l,f,d,t)}}},"241c":function(t,e,n){var r=n("ca84"),i=n("7839"),o=i.concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},2532:function(t,e,n){"use strict";var r=n("23e7"),i=n("5a34"),o=n("1d80"),c=n("ab13");r({target:"String",proto:!0,forced:!c("includes")},{includes:function(t){return!!~String(o(this)).indexOf(i(t),arguments.length>1?arguments[1]:void 0)}})},2543:function(t,e,n){},"2d00":function(t,e,n){var r,i,o=n("da84"),c=n("342f"),a=o.process,s=a&&a.versions,u=s&&s.v8;u?(r=u.split("."),i=r[0]+r[1]):c&&(r=c.match(/Edge\/(\d+)/),(!r||r[1]>=74)&&(r=c.match(/Chrome\/(\d+)/),r&&(i=r[1]))),t.exports=i&&+i},"342f":function(t,e,n){var r=n("d066");t.exports=r("navigator","userAgent")||""},"37e8":function(t,e,n){var r=n("83ab"),i=n("9bf2"),o=n("825a"),c=n("df75");t.exports=r?Object.defineProperties:function(t,e){o(t);var n,r=c(e),a=r.length,s=0;while(a>s)i.f(t,n=r[s++],e[n]);return t}},"3bbe":function(t,e,n){var r=n("861d");t.exports=function(t){if(!r(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},"408a":function(t,e,n){var r=n("c6b6");t.exports=function(t){if("number"!=typeof t&&"Number"!=r(t))throw TypeError("Incorrect invocation");return+t}},"428f":function(t,e,n){var r=n("da84");t.exports=r},"44ad":function(t,e,n){var r=n("d039"),i=n("c6b6"),o="".split;t.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==i(t)?o.call(t,""):Object(t)}:Object},"44d2":function(t,e,n){var r=n("b622"),i=n("7c73"),o=n("9bf2"),c=r("unscopables"),a=Array.prototype;void 0==a[c]&&o.f(a,c,{configurable:!0,value:i(null)}),t.exports=function(t){a[c][t]=!0}},"44e7":function(t,e,n){var r=n("861d"),i=n("c6b6"),o=n("b622"),c=o("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[c])?!!e:"RegExp"==i(t))}},4930:function(t,e,n){var r=n("d039");t.exports=!!Object.getOwnPropertySymbols&&!r((function(){return!String(Symbol())}))},"4d64":function(t,e,n){var r=n("fc6a"),i=n("50c4"),o=n("23cb"),c=function(t){return function(e,n,c){var a,s=r(e),u=i(s.length),l=o(c,u);if(t&&n!=n){while(u>l)if(a=s[l++],a!=a)return!0}else for(;u>l;l++)if((t||l in s)&&s[l]===n)return t||l||0;return!t&&-1}};t.exports={includes:c(!0),indexOf:c(!1)}},"50c4":function(t,e,n){var r=n("a691"),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},5135:function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},5692:function(t,e,n){var r=n("c430"),i=n("c6cd");(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.6.5",mode:r?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},"56ef":function(t,e,n){var r=n("d066"),i=n("241c"),o=n("7418"),c=n("825a");t.exports=r("Reflect","ownKeys")||function(t){var e=i.f(c(t)),n=o.f;return n?e.concat(n(t)):e}},5899:function(t,e){t.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},"58a8":function(t,e,n){var r=n("1d80"),i=n("5899"),o="["+i+"]",c=RegExp("^"+o+o+"*"),a=RegExp(o+o+"*$"),s=function(t){return function(e){var n=String(r(e));return 1&t&&(n=n.replace(c,"")),2&t&&(n=n.replace(a,"")),n}};t.exports={start:s(1),end:s(2),trim:s(3)}},"5a34":function(t,e,n){var r=n("44e7");t.exports=function(t){if(r(t))throw TypeError("The method doesn't accept regular expressions");return t}},"5c6c":function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},"624e":function(t,e,n){"use strict";var r=n("9bfe"),i=n.n(r);i.a},"65f0":function(t,e,n){var r=n("861d"),i=n("e8b5"),o=n("b622"),c=o("species");t.exports=function(t,e){var n;return i(t)&&(n=t.constructor,"function"!=typeof n||n!==Array&&!i(n.prototype)?r(n)&&(n=n[c],null===n&&(n=void 0)):n=void 0),new(void 0===n?Array:n)(0===e?0:e)}},"69f3":function(t,e,n){var r,i,o,c=n("7f9a"),a=n("da84"),s=n("861d"),u=n("9112"),l=n("5135"),f=n("f772"),p=n("d012"),d=a.WeakMap,v=function(t){return o(t)?i(t):r(t,{})},h=function(t){return function(e){var n;if(!s(e)||(n=i(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}};if(c){var _=new d,y=_.get,m=_.has,g=_.set;r=function(t,e){return g.call(_,t,e),e},i=function(t){return y.call(_,t)||{}},o=function(t){return m.call(_,t)}}else{var b=f("state");p[b]=!0,r=function(t,e){return u(t,b,e),e},i=function(t){return l(t,b)?t[b]:{}},o=function(t){return l(t,b)}}t.exports={set:r,get:i,has:o,enforce:v,getterFor:h}},"6c00":function(t,e,n){"use strict";var r=n("b8b6"),i=n.n(r);i.a},"6eeb":function(t,e,n){var r=n("da84"),i=n("9112"),o=n("5135"),c=n("ce4e"),a=n("8925"),s=n("69f3"),u=s.get,l=s.enforce,f=String(String).split("String");(t.exports=function(t,e,n,a){var s=!!a&&!!a.unsafe,u=!!a&&!!a.enumerable,p=!!a&&!!a.noTargetGet;"function"==typeof n&&("string"!=typeof e||o(n,"name")||i(n,"name",e),l(n).source=f.join("string"==typeof e?e:"")),t!==r?(s?!p&&t[e]&&(u=!0):delete t[e],u?t[e]=n:i(t,e,n)):u?t[e]=n:c(e,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&u(this).source||a(this)}))},"6f53":function(t,e,n){var r=n("83ab"),i=n("df75"),o=n("fc6a"),c=n("d1e7").f,a=function(t){return function(e){var n,a=o(e),s=i(a),u=s.length,l=0,f=[];while(u>l)n=s[l++],r&&!c.call(a,n)||f.push(t?[n,a[n]]:a[n]);return f}};t.exports={entries:a(!0),values:a(!1)}},7156:function(t,e,n){var r=n("861d"),i=n("d2bb");t.exports=function(t,e,n){var o,c;return i&&"function"==typeof(o=e.constructor)&&o!==n&&r(c=o.prototype)&&c!==n.prototype&&i(t,c),t}},7418:function(t,e){e.f=Object.getOwnPropertySymbols},7839:function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7b0b":function(t,e,n){var r=n("1d80");t.exports=function(t){return Object(r(t))}},"7c73":function(t,e,n){var r,i=n("825a"),o=n("37e8"),c=n("7839"),a=n("d012"),s=n("1be4"),u=n("cc12"),l=n("f772"),f=">",p="<",d="prototype",v="script",h=l("IE_PROTO"),_=function(){},y=function(t){return p+v+f+t+p+"/"+v+f},m=function(t){t.write(y("")),t.close();var e=t.parentWindow.Object;return t=null,e},g=function(){var t,e=u("iframe"),n="java"+v+":";return e.style.display="none",s.appendChild(e),e.src=String(n),t=e.contentWindow.document,t.open(),t.write(y("document.F=Object")),t.close(),t.F},b=function(){try{r=document.domain&&new ActiveXObject("htmlfile")}catch(e){}b=r?m(r):g();var t=c.length;while(t--)delete b[d][c[t]];return b()};a[h]=!0,t.exports=Object.create||function(t,e){var n;return null!==t?(_[d]=i(t),n=new _,_[d]=null,n[h]=t):n=b(),void 0===e?n:o(n,e)}},"7dcc":function(t,e,n){"use strict";var r=n("9c44"),i=n.n(r);i.a},"7f9a":function(t,e,n){var r=n("da84"),i=n("8925"),o=r.WeakMap;t.exports="function"===typeof o&&/native code/.test(i(o))},"825a":function(t,e,n){var r=n("861d");t.exports=function(t){if(!r(t))throw TypeError(String(t)+" is not an object");return t}},"83ab":function(t,e,n){var r=n("d039");t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},"861d":function(t,e){t.exports=function(t){return"object"===typeof t?null!==t:"function"===typeof t}},8875:function(t,e,n){var r,i,o;(function(n,c){i=[],r=c,o="function"===typeof r?r.apply(e,i):r,void 0===o||(t.exports=o)})("undefined"!==typeof self&&self,(function(){function t(){var e=Object.getOwnPropertyDescriptor(document,"currentScript");if(!e&&"currentScript"in document&&document.currentScript)return document.currentScript;if(e&&e.get!==t&&document.currentScript)return document.currentScript;try{throw new Error}catch(d){var n,r,i,o=/.*at [^(]*\((.*):(.+):(.+)\)$/gi,c=/@([^@]*):(\d+):(\d+)\s*$/gi,a=o.exec(d.stack)||c.exec(d.stack),s=a&&a[1]||!1,u=a&&a[2]||!1,l=document.location.href.replace(document.location.hash,""),f=document.getElementsByTagName("script");s===l&&(n=document.documentElement.outerHTML,r=new RegExp("(?:[^\\n]+?\\n){0,"+(u-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),i=n.replace(r,"$1").trim());for(var p=0;p<f.length;p++){if("interactive"===f[p].readyState)return f[p];if(f[p].src===s)return f[p];if(s===l&&f[p].innerHTML&&f[p].innerHTML.trim()===i)return f[p]}return null}}return t}))},8925:function(t,e,n){var r=n("c6cd"),i=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(t){return i.call(t)}),t.exports=r.inspectSource},"90e3":function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++n+r).toString(36)}},9112:function(t,e,n){var r=n("83ab"),i=n("9bf2"),o=n("5c6c");t.exports=r?function(t,e,n){return i.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},"94ca":function(t,e,n){var r=n("d039"),i=/#|\.prototype\./,o=function(t,e){var n=a[c(t)];return n==u||n!=s&&("function"==typeof e?r(e):!!e)},c=o.normalize=function(t){return String(t).replace(i,".").toLowerCase()},a=o.data={},s=o.NATIVE="N",u=o.POLYFILL="P";t.exports=o},"99c5":function(t,e,n){},"9bf2":function(t,e,n){var r=n("83ab"),i=n("0cfb"),o=n("825a"),c=n("c04e"),a=Object.defineProperty;e.f=r?a:function(t,e,n){if(o(t),e=c(e,!0),o(n),i)try{return a(t,e,n)}catch(r){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},"9bfe":function(t,e,n){},"9c44":function(t,e,n){},a15b:function(t,e,n){"use strict";var r=n("23e7"),i=n("44ad"),o=n("fc6a"),c=n("a640"),a=[].join,s=i!=Object,u=c("join",",");r({target:"Array",proto:!0,forced:s||!u},{join:function(t){return a.call(o(this),void 0===t?",":t)}})},a640:function(t,e,n){"use strict";var r=n("d039");t.exports=function(t,e){var n=[][t];return!!n&&r((function(){n.call(null,e||function(){throw 1},1)}))}},a691:function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},a9e3:function(t,e,n){"use strict";var r=n("83ab"),i=n("da84"),o=n("94ca"),c=n("6eeb"),a=n("5135"),s=n("c6b6"),u=n("7156"),l=n("c04e"),f=n("d039"),p=n("7c73"),d=n("241c").f,v=n("06cf").f,h=n("9bf2").f,_=n("58a8").trim,y="Number",m=i[y],g=m.prototype,b=s(p(g))==y,x=function(t){var e,n,r,i,o,c,a,s,u=l(t,!1);if("string"==typeof u&&u.length>2)if(u=_(u),e=u.charCodeAt(0),43===e||45===e){if(n=u.charCodeAt(2),88===n||120===n)return NaN}else if(48===e){switch(u.charCodeAt(1)){case 66:case 98:r=2,i=49;break;case 79:case 111:r=8,i=55;break;default:return+u}for(o=u.slice(2),c=o.length,a=0;a<c;a++)if(s=o.charCodeAt(a),s<48||s>i)return NaN;return parseInt(o,r)}return+u};if(o(y,!m(" 0o1")||!m("0b1")||m("+0x1"))){for(var w,S=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof S&&(b?f((function(){g.valueOf.call(n)})):s(n)!=y)?u(new m(x(e)),n,S):x(e)},E=r?d(m):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),C=0;E.length>C;C++)a(m,w=E[C])&&!a(S,w)&&h(S,w,v(m,w));S.prototype=g,g.constructor=S,c(i,y,S)}},ab13:function(t,e,n){var r=n("b622"),i=r("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[i]=!1,"/./"[t](e)}catch(r){}}return!1}},ae40:function(t,e,n){var r=n("83ab"),i=n("d039"),o=n("5135"),c=Object.defineProperty,a={},s=function(t){throw t};t.exports=function(t,e){if(o(a,t))return a[t];e||(e={});var n=[][t],u=!!o(e,"ACCESSORS")&&e.ACCESSORS,l=o(e,0)?e[0]:s,f=o(e,1)?e[1]:void 0;return a[t]=!!n&&!i((function(){if(u&&!r)return!0;var t={length:-1};u?c(t,1,{enumerable:!0,get:s}):t[1]=1,n.call(t,l,f)}))}},b274:function(t,e,n){"use strict";var r=n("99c5"),i=n.n(r);i.a},b311:function(t,e,n){ /*! * clipboard.js v2.0.6 * https://clipboardjs.com/ * * Licensed MIT © Zeno Rocha */ (function(e,n){t.exports=n()})(0,(function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=6)}([function(t,e){function n(t){var e;if("SELECT"===t.nodeName)t.focus(),e=t.value;else if("INPUT"===t.nodeName||"TEXTAREA"===t.nodeName){var n=t.hasAttribute("readonly");n||t.setAttribute("readonly",""),t.select(),t.setSelectionRange(0,t.value.length),n||t.removeAttribute("readonly"),e=t.value}else{t.hasAttribute("contenteditable")&&t.focus();var r=window.getSelection(),i=document.createRange();i.selectNodeContents(t),r.removeAllRanges(),r.addRange(i),e=r.toString()}return e}t.exports=n},function(t,e){function n(){}n.prototype={on:function(t,e,n){var r=this.e||(this.e={});return(r[t]||(r[t]=[])).push({fn:e,ctx:n}),this},once:function(t,e,n){var r=this;function i(){r.off(t,i),e.apply(n,arguments)}return i._=e,this.on(t,i,n)},emit:function(t){var e=[].slice.call(arguments,1),n=((this.e||(this.e={}))[t]||[]).slice(),r=0,i=n.length;for(r;r<i;r++)n[r].fn.apply(n[r].ctx,e);return this},off:function(t,e){var n=this.e||(this.e={}),r=n[t],i=[];if(r&&e)for(var o=0,c=r.length;o<c;o++)r[o].fn!==e&&r[o].fn._!==e&&i.push(r[o]);return i.length?n[t]=i:delete n[t],this}},t.exports=n,t.exports.TinyEmitter=n},function(t,e,n){var r=n(3),i=n(4);function o(t,e,n){if(!t&&!e&&!n)throw new Error("Missing required arguments");if(!r.string(e))throw new TypeError("Second argument must be a String");if(!r.fn(n))throw new TypeError("Third argument must be a Function");if(r.node(t))return c(t,e,n);if(r.nodeList(t))return a(t,e,n);if(r.string(t))return s(t,e,n);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function c(t,e,n){return t.addEventListener(e,n),{destroy:function(){t.removeEventListener(e,n)}}}function a(t,e,n){return Array.prototype.forEach.call(t,(function(t){t.addEventListener(e,n)})),{destroy:function(){Array.prototype.forEach.call(t,(function(t){t.removeEventListener(e,n)}))}}}function s(t,e,n){return i(document.body,t,e,n)}t.exports=o},function(t,e){e.node=function(t){return void 0!==t&&t instanceof HTMLElement&&1===t.nodeType},e.nodeList=function(t){var n=Object.prototype.toString.call(t);return void 0!==t&&("[object NodeList]"===n||"[object HTMLCollection]"===n)&&"length"in t&&(0===t.length||e.node(t[0]))},e.string=function(t){return"string"===typeof t||t instanceof String},e.fn=function(t){var e=Object.prototype.toString.call(t);return"[object Function]"===e}},function(t,e,n){var r=n(5);function i(t,e,n,r,i){var o=c.apply(this,arguments);return t.addEventListener(n,o,i),{destroy:function(){t.removeEventListener(n,o,i)}}}function o(t,e,n,r,o){return"function"===typeof t.addEventListener?i.apply(null,arguments):"function"===typeof n?i.bind(null,document).apply(null,arguments):("string"===typeof t&&(t=document.querySelectorAll(t)),Array.prototype.map.call(t,(function(t){return i(t,e,n,r,o)})))}function c(t,e,n,i){return function(n){n.delegateTarget=r(n.target,e),n.delegateTarget&&i.call(t,n)}}t.exports=o},function(t,e){var n=9;if("undefined"!==typeof Element&&!Element.prototype.matches){var r=Element.prototype;r.matches=r.matchesSelector||r.mozMatchesSelector||r.msMatchesSelector||r.oMatchesSelector||r.webkitMatchesSelector}function i(t,e){while(t&&t.nodeType!==n){if("function"===typeof t.matches&&t.matches(e))return t;t=t.parentNode}}t.exports=i},function(t,e,n){"use strict";n.r(e);var r=n(0),i=n.n(r),o="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},c=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}();function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var s=function(){function t(e){a(this,t),this.resolveOptions(e),this.initSelection()}return c(t,[{key:"resolveOptions",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.action=t.action,this.container=t.container,this.emitter=t.emitter,this.target=t.target,this.text=t.text,this.trigger=t.trigger,this.selectedText=""}},{key:"initSelection",value:function(){this.text?this.selectFake():this.target&&this.selectTarget()}},{key:"selectFake",value:function(){var t=this,e="rtl"==document.documentElement.getAttribute("dir");this.removeFake(),this.fakeHandlerCallback=function(){return t.removeFake()},this.fakeHandler=this.container.addEventListener("click",this.fakeHandlerCallback)||!0,this.fakeElem=document.createElement("textarea"),this.fakeElem.style.fontSize="12pt",this.fakeElem.style.border="0",this.fakeElem.style.padding="0",this.fakeElem.style.margin="0",this.fakeElem.style.position="absolute",this.fakeElem.style[e?"right":"left"]="-9999px";var n=window.pageYOffset||document.documentElement.scrollTop;this.fakeElem.style.top=n+"px",this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,this.container.appendChild(this.fakeElem),this.selectedText=i()(this.fakeElem),this.copyText()}},{key:"removeFake",value:function(){this.fakeHandler&&(this.container.removeEventListener("click",this.fakeHandlerCallback),this.fakeHandler=null,this.fakeHandlerCallback=null),this.fakeElem&&(this.container.removeChild(this.fakeElem),this.fakeElem=null)}},{key:"selectTarget",value:function(){this.selectedText=i()(this.target),this.copyText()}},{key:"copyText",value:function(){var t=void 0;try{t=document.execCommand(this.action)}catch(e){t=!1}this.handleResult(t)}},{key:"handleResult",value:function(t){this.emitter.emit(t?"success":"error",{action:this.action,text:this.selectedText,trigger:this.trigger,clearSelection:this.clearSelection.bind(this)})}},{key:"clearSelection",value:function(){this.trigger&&this.trigger.focus(),document.activeElement.blur(),window.getSelection().removeAllRanges()}},{key:"destroy",value:function(){this.removeFake()}},{key:"action",set:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"copy";if(this._action=t,"copy"!==this._action&&"cut"!==this._action)throw new Error('Invalid "action" value, use either "copy" or "cut"')},get:function(){return this._action}},{key:"target",set:function(t){if(void 0!==t){if(!t||"object"!==("undefined"===typeof t?"undefined":o(t))||1!==t.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===this.action&&t.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===this.action&&(t.hasAttribute("readonly")||t.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes');this._target=t}},get:function(){return this._target}}]),t}(),u=s,l=n(1),f=n.n(l),p=n(2),d=n.n(p),v="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},h=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}();function _(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function y(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function m(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var g=function(t){function e(t,n){_(this,e);var r=y(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return r.resolveOptions(n),r.listenClick(t),r}return m(e,t),h(e,[{key:"resolveOptions",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.action="function"===typeof t.action?t.action:this.defaultAction,this.target="function"===typeof t.target?t.target:this.defaultTarget,this.text="function"===typeof t.text?t.text:this.defaultText,this.container="object"===v(t.container)?t.container:document.body}},{key:"listenClick",value:function(t){var e=this;this.listener=d()(t,"click",(function(t){return e.onClick(t)}))}},{key:"onClick",value:function(t){var e=t.delegateTarget||t.currentTarget;this.clipboardAction&&(this.clipboardAction=null),this.clipboardAction=new u({action:this.action(e),target:this.target(e),text:this.text(e),container:this.container,trigger:e,emitter:this})}},{key:"defaultAction",value:function(t){return b("action",t)}},{key:"defaultTarget",value:function(t){var e=b("target",t);if(e)return document.querySelector(e)}},{key:"defaultText",value:function(t){return b("text",t)}},{key:"destroy",value:function(){this.listener.destroy(),this.clipboardAction&&(this.clipboardAction.destroy(),this.clipboardAction=null)}}],[{key:"isSupported",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["copy","cut"],e="string"===typeof t?[t]:t,n=!!document.queryCommandSupported;return e.forEach((function(t){n=n&&!!document.queryCommandSupported(t)})),n}}]),e}(f.a);function b(t,e){var n="data-clipboard-"+t;if(e.hasAttribute(n))return e.getAttribute(n)}e["default"]=g}])["default"]}))},b622:function(t,e,n){var r=n("da84"),i=n("5692"),o=n("5135"),c=n("90e3"),a=n("4930"),s=n("fdbf"),u=i("wks"),l=r.Symbol,f=s?l:l&&l.withoutSetter||c;t.exports=function(t){return o(u,t)||(a&&o(l,t)?u[t]=l[t]:u[t]=f("Symbol."+t)),u[t]}},b64b:function(t,e,n){var r=n("23e7"),i=n("7b0b"),o=n("df75"),c=n("d039"),a=c((function(){o(1)}));r({target:"Object",stat:!0,forced:a},{keys:function(t){return o(i(t))}})},b680:function(t,e,n){"use strict";var r=n("23e7"),i=n("a691"),o=n("408a"),c=n("1148"),a=n("d039"),s=1..toFixed,u=Math.floor,l=function(t,e,n){return 0===e?n:e%2===1?l(t,e-1,n*t):l(t*t,e/2,n)},f=function(t){var e=0,n=t;while(n>=4096)e+=12,n/=4096;while(n>=2)e+=1,n/=2;return e},p=s&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!a((function(){s.call({})}));r({target:"Number",proto:!0,forced:p},{toFixed:function(t){var e,n,r,a,s=o(this),p=i(t),d=[0,0,0,0,0,0],v="",h="0",_=function(t,e){var n=-1,r=e;while(++n<6)r+=t*d[n],d[n]=r%1e7,r=u(r/1e7)},y=function(t){var e=6,n=0;while(--e>=0)n+=d[e],d[e]=u(n/t),n=n%t*1e7},m=function(){var t=6,e="";while(--t>=0)if(""!==e||0===t||0!==d[t]){var n=String(d[t]);e=""===e?n:e+c.call("0",7-n.length)+n}return e};if(p<0||p>20)throw RangeError("Incorrect fraction digits");if(s!=s)return"NaN";if(s<=-1e21||s>=1e21)return String(s);if(s<0&&(v="-",s=-s),s>1e-21)if(e=f(s*l(2,69,1))-69,n=e<0?s*l(2,-e,1):s/l(2,e,1),n*=4503599627370496,e=52-e,e>0){_(0,n),r=p;while(r>=7)_(1e7,0),r-=7;_(l(10,r,1),0),r=e-1;while(r>=23)y(1<<23),r-=23;y(1<<r),_(1,1),y(2),h=m()}else _(0,n),_(1<<-e,0),h=m()+c.call("0",p);return p>0?(a=h.length,h=v+(a<=p?"0."+c.call("0",p-a)+h:h.slice(0,a-p)+"."+h.slice(a-p))):h=v+h,h}})},b727:function(t,e,n){var r=n("0366"),i=n("44ad"),o=n("7b0b"),c=n("50c4"),a=n("65f0"),s=[].push,u=function(t){var e=1==t,n=2==t,u=3==t,l=4==t,f=6==t,p=5==t||f;return function(d,v,h,_){for(var y,m,g=o(d),b=i(g),x=r(v,h,3),w=c(b.length),S=0,E=_||a,C=e?E(d,w):n?E(d,0):void 0;w>S;S++)if((p||S in b)&&(y=b[S],m=x(y,S,g),t))if(e)C[S]=m;else if(m)switch(t){case 3:return!0;case 5:return y;case 6:return S;case 2:s.call(C,y)}else if(l)return!1;return f?-1:u||l?l:C}};t.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6)}},b8b6:function(t,e,n){},c04e:function(t,e,n){var r=n("861d");t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},c430:function(t,e){t.exports=!1},c6b6:function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},c6cd:function(t,e,n){var r=n("da84"),i=n("ce4e"),o="__core-js_shared__",c=r[o]||i(o,{});t.exports=c},c8ba:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"===typeof window&&(n=window)}t.exports=n},ca84:function(t,e,n){var r=n("5135"),i=n("fc6a"),o=n("4d64").indexOf,c=n("d012");t.exports=function(t,e){var n,a=i(t),s=0,u=[];for(n in a)!r(c,n)&&r(a,n)&&u.push(n);while(e.length>s)r(a,n=e[s++])&&(~o(u,n)||u.push(n));return u}},caad:function(t,e,n){"use strict";var r=n("23e7"),i=n("4d64").includes,o=n("44d2"),c=n("ae40"),a=c("indexOf",{ACCESSORS:!0,1:0});r({target:"Array",proto:!0,forced:!a},{includes:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),o("includes")},cc12:function(t,e,n){var r=n("da84"),i=n("861d"),o=r.document,c=i(o)&&i(o.createElement);t.exports=function(t){return c?o.createElement(t):{}}},ce4e:function(t,e,n){var r=n("da84"),i=n("9112");t.exports=function(t,e){try{i(r,t,e)}catch(n){r[t]=e}return e}},d012:function(t,e){t.exports={}},d039:function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},d066:function(t,e,n){var r=n("428f"),i=n("da84"),o=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?o(r[t])||o(i[t]):r[t]&&r[t][e]||i[t]&&i[t][e]}},d1e7:function(t,e,n){"use strict";var r={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,o=i&&!r.call({1:2},1);e.f=o?function(t){var e=i(this,t);return!!e&&e.enumerable}:r},d2bb:function(t,e,n){var r=n("825a"),i=n("3bbe");t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,t.call(n,[]),e=n instanceof Array}catch(o){}return function(n,o){return r(n),i(o),e?t.call(n,o):n.__proto__=o,n}}():void 0)},d81d:function(t,e,n){"use strict";var r=n("23e7"),i=n("b727").map,o=n("1dde"),c=n("ae40"),a=o("map"),s=c("map");r({target:"Array",proto:!0,forced:!a||!s},{map:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}})},da84:function(t,e,n){(function(e){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e&&e)||Function("return this")()}).call(this,n("c8ba"))},df75:function(t,e,n){var r=n("ca84"),i=n("7839");t.exports=Object.keys||function(t){return r(t,i)}},dfde:function(t,e,n){"use strict";var r=n("1d56"),i=n.n(r);i.a},e893:function(t,e,n){var r=n("5135"),i=n("56ef"),o=n("06cf"),c=n("9bf2");t.exports=function(t,e){for(var n=i(e),a=c.f,s=o.f,u=0;u<n.length;u++){var l=n[u];r(t,l)||a(t,l,s(e,l))}}},e8b5:function(t,e,n){var r=n("c6b6");t.exports=Array.isArray||function(t){return"Array"==r(t)}},f772:function(t,e,n){var r=n("5692"),i=n("90e3"),o=r("keys");t.exports=function(t){return o[t]||(o[t]=i(t))}},fb15:function(t,e,n){"use strict";var r=n("2543"),i=n.n(r);i.a},fb152:function(t,e,n){"use strict";if(n.r(e),"undefined"!==typeof window){var r=window.document.currentScript,i=n("8875");r=i(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:i});var o=r&&r.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);o&&(n.p=o[1])}var c=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"invoice__wrap",class:{_preLoading:t.preLoading}},[t._t("icons-sprite",[n("invoice-icon-sprite")]),n("div",{staticClass:"invoice"},[t._t("invoice-header",[n("div",{staticClass:"invoice__header"},[!t.preLoading&&t.invoiceIsProcessing?n("invoice-progress-bar",{attrs:{expire_utc:t.invoice.expire_utc,expireMsg:"Expired, waiting for invoice refresh..."}}):t._e(),!t.preLoading&&Object.keys(t.invoice).length>0?n("invoice-info",{attrs:{invoice:t.invoice}}):t._e()],1)]),n("div",{staticClass:"invoice__content"},[t.isPaymentWaiting?t._t("step-pay",[n("invoice-step-pay",{attrs:{invoice:t.invoice}})]):t.isWaitingForConfirmations?t._t("step-pending",[n("invoice-step-pending",{attrs:{invoice:t.invoice}})]):t.isOverpaid?t._t("step-overpaid",[n("invoice-step-result",{attrs:{customClass:"step_overpaid",icon:"icon_overpaid",title:"The order has been overpaid",hint:"You have payed\n "+t.formatCrypto(Math.abs(t.invoice.pending_amount)+Number(t.invoice.amount))+" "+t.invoice.currency+",\n it is more than required sum.\n In case of inconvenience, please, contact support.\n ",txUrl:t.invoice.txUrl}})]):t.isFinished?t._t("step-completed",[n("invoice-step-result",{attrs:{customClass:"step_completed",icon:"icon_check",title:"Payment complete",txUrl:t.invoice.txUrl}})]):t.isUnderpaid?t._t("step-underpaid",[n("invoice-step-result",{attrs:{customClass:"step_underpaid",icon:"icon_expired",title:"The order has not been fully paid"}},[n("p",{staticClass:"invoice__hint"},[t._v("We have received "+t._s(t.formatCrypto(t.invoice.amount-t.invoice.pending_amount))+" "+t._s(t.invoice.currency)+" of "+t._s(t.invoice.amount)+" "+t._s(t.invoice.currency)+" required. To get your payment back, please, contact support. ")])])]):t.isExpired?t._t("step-expired",[n("invoice-step-result",{attrs:{customClass:"step_expired",icon:"icon_expired",title:"This order has expired"}},[n("p",{staticClass:"invoice__hint"},[t._v("Please, "),n("a",{attrs:{href:"/",title:"Home page"}},[t._v("go back")]),t._v(" and create a new one.")])])]):t.isError?t._t("step-error",[n("invoice-step-result",{attrs:{customClass:"step_error",icon:"icon_exclamation",title:"Ooops...",hint:"Something went wrong with this operation. Please, contact support, so we could figure this out."}})]):t._t("invoice-loading",[n("invoice-step-loading")])],2),t._t("invoice-footer")],2)],2)},a=[],s=(n("caad"),n("b64b"),n("2532"),function(t,e){var n=e._c;return n("svg",{staticStyle:{position:"absolute",width:"0",height:"0",overflow:"hidden"},attrs:{"aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg"}},[n("defs",[n("symbol",{attrs:{viewBox:"0 0 15 15",id:"invoice__icon_loader",xmlns:"http://www.w3.org/2000/svg"}},[n("path",{attrs:{d:"M795 172.75h-.004c.003.027.004.055.004.083 0 .552-.433 1-.968 1-.019 0-.038 0-.057-.002a7.138 7.138 0 0 1-1.841 3.956 6.941 6.941 0 0 1-2.213 1.603 6.831 6.831 0 0 1-5.37.115 7.094 7.094 0 0 1-2.338-1.542 7.424 7.424 0 0 1-1.604-2.367 7.665 7.665 0 0 1-.607-2.846c-.021-.98.145-1.972.495-2.894a7.642 7.642 0 0 1 1.545-2.496 7.424 7.424 0 0 1 2.37-1.712 7.301 7.301 0 0 1 5.741-.115 7.579 7.579 0 0 1 2.494 1.65 7.924 7.924 0 0 1 1.71 2.53 8.18 8.18 0 0 1 .643 3.037zm-1.072 1.077a.988.988 0 0 1-.86-1.077h-.003a6.195 6.195 0 0 0-.385-2.32 6.134 6.134 0 0 0-1.23-2.01 5.973 5.973 0 0 0-1.9-1.387 5.89 5.89 0 0 0-4.63-.115 6.128 6.128 0 0 0-2.023 1.325 6.42 6.42 0 0 0-1.395 2.044 6.71 6.71 0 0 0-.112 4.974c.3.801.756 1.544 1.336 2.172a6.458 6.458 0 0 0 2.056 1.495 6.36 6.36 0 0 0 5 .116 6.612 6.612 0 0 0 2.181-1.434 6.922 6.922 0 0 0 1.5-2.205 7.067 7.067 0 0 0 .465-1.578z",transform:"translate(-780 -165)"}})]),n("symbol",{attrs:{viewBox:"0 0 24 24",id:"invoice__icon_copy",xmlns:"http://www.w3.org/2000/svg"}},[n("path",{attrs:{d:"M6.439 5.927c.408 0 .738.33.738.739v5.078c0 .409.33.738.739.738h5.05c.41 0 .74.33.74.739v9.669c0 .613-.496 1.108-1.109 1.108H1.114l-.12-.007c-.396-.044-.73-.305-.889-.732-.064-.172-.098-.37-.098-.59V6.813c0-.392.494-.887 1.107-.887zM16.696 0c.409 0 .738.33.738.738v4.98c0 .409.33.739.739.739h5.078c.409 0 .738.33.738.738h-.002v9.767c0 .613-.495 1.108-1.108 1.108h-7.707v-7.463c0-.478-.187-.945-.539-1.297L10.323 5c-.01-.013-.022-.023-.032-.033v-3.86c0-.612.495-1.107 1.108-1.107zM9.03 5.927c.09 0 .182.032.258.109l1.002 1.002 3.306 3.308c.076.076.108.17.108.26-.002.19-.148.37-.369.37h-4.31c-.202 0-.37-.165-.367-.37v-4.31c0-.22.182-.369.372-.369zM18.94.372c0-.33.399-.493.63-.261l4.31 4.31c.234.231.07.63-.26.63h-4.31c-.205 0-.37-.165-.37-.37z"}})]),n("symbol",{attrs:{viewBox:"0 0 20 18",id:"invoice__icon_link_external",xmlns:"http://www.w3.org/2000/svg"}},[n("path",{attrs:{d:"M878.614 566.606c.067.07.1.16.1.27v3.75c0 .93-.314 1.725-.943 2.385-.629.66-1.386.99-2.271.99h-9.286c-.885 0-1.642-.33-2.271-.99-.629-.66-.943-1.455-.943-2.385v-9.752c0-.93.314-1.724.943-2.385.629-.66 1.386-.99 2.271-.99h7.857a.34.34 0 0 1 .257.105c.067.07.1.16.1.27v.75c0 .11-.033.2-.1.27a.34.34 0 0 1-.257.105h-7.857a1.68 1.68 0 0 0-1.261.551c-.35.367-.524.808-.524 1.324v9.752c0 .515.174.957.524 1.324.35.367.77.55 1.261.55h9.286a1.68 1.68 0 0 0 1.261-.55c.35-.367.525-.809.525-1.324v-3.75c0-.11.033-.2.1-.27a.338.338 0 0 1 .257-.106h.714c.104 0 .19.035.257.106zm4.386-9.857v6c0 .204-.07.38-.212.528a.67.67 0 0 1-.502.223.67.67 0 0 1-.503-.223l-1.964-2.063-7.277 7.642a.345.345 0 0 1-.256.117.345.345 0 0 1-.257-.117l-1.272-1.336a.38.38 0 0 1 0-.54l7.276-7.64-1.964-2.064a.74.74 0 0 1-.212-.527c0-.203.07-.38.212-.527a.67.67 0 0 1 .502-.223h5.714c.194 0 .361.074.503.223a.74.74 0 0 1 .212.527z",transform:"translate(-863 -556)"}})]),n("symbol",{attrs:{viewBox:"0 0 96 96",id:"invoice__icon_expired",xmlns:"http://www.w3.org/2000/svg"}},[n("path",{attrs:{d:"M52.617 95.73c19.368-2.156 34.89-17.55 37.099-36.808 2.9-25.18-16.784-46.614-41.458-46.889V.737c0-.627-.789-.96-1.321-.568l-23.392 17.08c-.394.295-.394.863 0 1.158l23.392 17.08c.532.393 1.321.04 1.321-.568V23.643c17.337.274 31.222 14.943 30.038 32.475-1.006 15.08-13.372 27.317-28.539 28.278-16.074 1.02-29.742-10.394-32.188-25.494-.454-2.804-2.919-4.843-5.759-4.843-3.53 0-6.292 3.118-5.74 6.589C9.503 82.16 29.483 98.3 52.618 95.73z"}})]),n("symbol",{attrs:{viewBox:"0 0 70 100",id:"invoice__icon_overpaid",xmlns:"http://www.w3.org/2000/svg"}},[n("g",{attrs:{transform:"translate(-165 -116)"}},[n("path",{attrs:{d:"M206.55 182.32h3.158v3.158h-3.158z"}}),n("path",{attrs:{d:"M226.55 182.32h3.158v3.158h-3.158z"}}),n("path",{attrs:{d:"M205.148 184.272c.028-7.361 5.975-13.305 13.284-13.276h.109c3.22.02 6.32 1.225 8.719 3.388 4.108 3.697 5.514 9.57 3.527 14.745-1.986 5.175-6.949 8.569-12.458 8.521-7.308-.028-13.21-6.019-13.181-13.378zm10.21 27.232l-3.497-4.833a1.647 1.647 0 0 0-2.667-.002l-3.51 4.833-3.497-4.833a1.714 1.714 0 0 0-1.337-.644c-.519 0-1.01.237-1.336.644l-3.495 4.823-3.496-4.816a1.709 1.709 0 0 0-2.67 0l-3.498 4.833-3.509-4.833a1.647 1.647 0 0 0-1.334-.683 1.65 1.65 0 0 0-1.333.683l-3.497 4.816-3.495-4.816a1.71 1.71 0 0 0-2.671 0l-1.708 2.357v-84.34l3.044-4.193 3.494 4.816a1.65 1.65 0 0 0 2.67 0l3.5-4.833 3.508 4.833c.31.43.807.683 1.334.683a1.65 1.65 0 0 0 1.334-.683l3.497-4.816 3.495 4.816a1.71 1.71 0 0 0 2.672 0l3.493-4.816 3.493 4.816c.312.43.808.683 1.335.683a1.65 1.65 0 0 0 1.335-.682l3.51-4.832 3.497 4.832a1.65 1.65 0 0 0 1.333.684c.528 0 1.024-.253 1.334-.682l1.746-2.395v44.738c-9.136-.036-16.57 7.396-16.607 16.6-.035 9.204 7.341 16.694 16.476 16.731h.13v6.288zm6.382-43.498v-50.173c0-.72-.46-1.36-1.14-1.585a1.649 1.649 0 0 0-1.85.6l-3.391 4.667-3.498-4.833a1.648 1.648 0 0 0-2.667 0l-3.51 4.833-3.497-4.833a1.712 1.712 0 0 0-1.337-.645c-.519 0-1.01.237-1.336.645l-3.495 4.817-3.496-4.815a1.709 1.709 0 0 0-2.67 0l-3.498 4.832-3.509-4.832a1.647 1.647 0 0 0-1.334-.684 1.65 1.65 0 0 0-1.333.684l-3.497 4.815-3.495-4.815a1.71 1.71 0 0 0-2.671 0l-4.699 6.482c-.206.285-.317.63-.317.984v89.992c0 .722.46 1.362 1.141 1.585a1.647 1.647 0 0 0 1.85-.602l3.36-4.632 3.495 4.823a1.65 1.65 0 0 0 2.671 0l3.498-4.834 3.509 4.834a1.65 1.65 0 0 0 2.668-.008l3.497-4.815 3.495 4.823a1.71 1.71 0 0 0 2.672 0l3.493-4.823 3.493 4.823c.312.428.808.682 1.335.682.527 0 1.023-.253 1.335-.68l3.51-4.834 3.497 4.833c.31.428.806.682 1.333.683a1.65 1.65 0 0 0 1.334-.681l4.732-6.5c.21-.287.323-.636.322-.993v-7.176c7.667-1.549 13.197-8.316 13.233-16.194.067-7.968-5.482-14.866-13.233-16.45z"}}),n("path",{attrs:{d:"M185.5 130.74h16.842v3.158H185.5z"}}),n("path",{attrs:{d:"M174.97 141.26h5.263v3.158h-5.263z"}}),n("path",{attrs:{d:"M183.39 141.26h28.421v3.158H183.39z"}}),n("path",{attrs:{d:"M174.97 150.74h5.263v3.158h-5.263z"}}),n("path",{attrs:{d:"M174.97 161.26h5.263v3.158h-5.263z"}}),n("path",{attrs:{d:"M183.39 150.74h28.421v3.158H183.39z"}}),n("path",{attrs:{d:"M183.39 161.26h28.421v3.158H183.39z"}}),n("path",{attrs:{d:"M174.97 170.74h5.263v3.158h-5.263z"}}),n("path",{attrs:{d:"M183.39 170.74h16.842v3.158H183.39z"}}),n("path",{attrs:{d:"M216.952 182.223c-.945 0-1.71-.746-1.71-1.666 0-.92.765-1.667 1.71-1.667zm5.131 5c0 .92-.766 1.667-1.71 1.667v-3.333c.944 0 1.71.746 1.71 1.666zm0-6.666h3.421c0-2.762-2.297-5-5.131-5v-1.667h-3.421v1.667c-2.834 0-5.132 2.238-5.132 5 0 2.76 2.298 5 5.132 5v3.333c-.945 0-1.711-.746-1.711-1.667h-3.421c0 2.762 2.298 5 5.132 5v1.667h3.42v-1.667c2.835 0 5.132-2.238 5.132-5 0-2.76-2.297-5-5.131-5v-3.333c.944 0 1.71.746 1.71 1.667z"}})])]),n("symbol",{attrs:{viewBox:"0 0 16 16",id:"invoice__icon_exclamation",xmlns:"http://www.w3.org/2000/svg"}},[n("path",{attrs:{d:"M15.86 13.116L8.84 1.474C8.661 1.18 8.343 1 8 1s-.662.18-.84.474L.14 13.116c-.182.302-.187.68-.013.988.174.308.5.498.853.498h14.04c.353 0 .68-.19.853-.498.174-.308.169-.686-.014-.988zm-7.855-8.09c.403 0 .744.228.744.631 0 1.23-.144 2.998-.144 4.228 0 .32-.352.455-.6.455-.33 0-.61-.134-.61-.455 0-1.23-.144-2.997-.144-4.228 0-.403.33-.63.754-.63zm.01 7.62c-.454 0-.795-.373-.795-.797 0-.434.34-.795.796-.795.423 0 .785.361.785.795 0 .424-.362.796-.785.796z"}})]),n("symbol",{attrs:{viewBox:"0 0 96 96",id:"invoice__icon_check",xmlns:"http://www.w3.org/2000/svg"}},[n("path",{attrs:{d:"M1.107 51.6C.37 50.88 0 49.8 0 49.08s.37-1.8 1.107-2.52l5.17-5.04c1.477-1.44 3.692-1.44 5.17 0l.368.36 20.308 21.24c.739.72 1.846.72 2.584 0l49.478-50.04h.369c1.477-1.44 3.692-1.44 5.17 0l5.169 5.04c1.476 1.44 1.476 3.6 0 5.04L35.815 82.92c-.738.72-1.477 1.08-2.584 1.08-1.108 0-1.846-.36-2.585-1.08l-28.8-30.24-.739-1.08z"}})])])])}),u=[],l={name:"InvoiceIconSprite",functional:!0},f=l;function p(t,e,n,r,i,o,c,a){var s,u="function"===typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),c?(s=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(c)},u._ssrRegister=s):i&&(s=a?function(){i.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:i),s)if(u.functional){u._injectStyles=s;var l=u.render;u.render=function(t,e){return s.call(e),l(t,e)}}else{var f=u.beforeCreate;u.beforeCreate=f?[].concat(f,s):[s]}return{exports:t,options:u}}var d=p(f,s,u,!0,null,null,null),v=d.exports,h=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"invoice__info info"},[n("div",{staticClass:"info__shop"},[n("small",[t._v("Order #")]),n("span",{staticClass:"info__orderId invoice__copy_info",attrs:{"data-clipboard-target":".info__orderId"}},[t._v(t._s(t.invoice.order_id))])]),n("div",{staticClass:"info__amount"},[n("strong",{staticClass:"info__amount_crypto invoice__copy_info",attrs:{"data-clipboard-target":".info__amount_crypto"}},[t._v(t._s(t.invoice.amount))]),t._v(" "),n("strong",{staticClass:"info__amount_curr invoice__copy_info",attrs:{"data-clipboard-target":".info__amount_curr"}},[t._v(t._s(t.invoice.currency))]),n("br"),n("span",{staticClass:"info__sourceAmount invoice__copy_info",attrs:{"data-clipboard-target":".info__sourceAmount"}},[t._v(t._s(t._f("formatFiat")(t.sourceAmount)))]),t._v(" "),n("span",{staticClass:"info__sourceCurrency invoice__copy_info",attrs:{"data-clipboard-target":".info__sourceCurrency"}},[t._v(t._s(t.invoice.source_currency))])])])},_=[],y=n("b311"),m=n.n(y),g=(n("b680"),function(t){return t.toFixed(8)}),b=function(t){return t.toFixed(2)},x={name:"InvoiceInfo",props:{invoice:{type:Object,required:!0,default:null}},data:function(){return{clipBoard:null}},computed:{sourceAmount:function(){return this.invoice.amount/this.invoice.source_rate}},filters:{formatFiat:b},mounted:function(){this.clipBoard=new m.a(".invoice__copy_info")},beforeDestroy:function(){this.clipBoard.destroy()}},w=x,S=(n("dfde"),p(w,h,_,!1,null,"2d8addfe",null)),E=S.exports,C=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"invoice__step step_loading"},[n("invoice-svg-icon",{staticClass:"step_loading__icon_loader",attrs:{href:"invoice__icon_loader"}})],1)},T=[],O=function(t,e){var n=e._c;return n("svg",e._g(e._b({ref:e.data.ref,staticClass:"icon",class:[e.data.class,e.data.staticClass],style:[e.data.style,e.data.staticStyle],attrs:{xmlns:"http://www.w3.org/2000/svg"}},"svg",e.data.attrs,!1),e.listeners),[n("use",{attrs:{"xlink:href":"#"+e.props.href}})])},k=[],j={name:"InvoiceSvgIcon",functional:!0,props:{href:{type:String,required:!0}}},I=j,M=p(I,O,k,!0,null,null,null),P=M.exports,A={name:"InvoiceStepLoading",components:{InvoiceSvgIcon:P}},L=A,N=(n("6c00"),p(L,C,T,!1,null,"54812617",null)),F=N.exports,R=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"invoice__progress progress"},[n("div",{ref:"progress",staticClass:"invoice__progressBar",style:"width: "+t.progress+"%",attrs:{role:"progressbar","aria-valuenow":t.progress,"aria-valuemin":"0","aria-valuemax":"100"}}),n("span",{staticClass:"invoice__progressHint"},[t._v(t._s(t.stringToRender))])])},z=[],U=(n("a15b"),n("d81d"),n("a9e3"),n("07ac"),{name:"InvoiceProgressBar",props:{expire_utc:{type:Number,required:!0},expireMsg:{type:String,required:!0},callback:{type:Function}},data:function(){return{timerId:null,countDownTimestamp:new Date(parseInt(this.expire_utc)).getTime(),timeLeft:0,timeTotal:0,progress:0,dateToRender:{hours:"00",minutes:"00",seconds:"00"},stringToRender:""}},methods:{calc:function(){var t=(new Date).getTime();this.timeLeft=this.countDownTimestamp-t,this.dateToRender.hours=Math.floor(this.timeLeft%864e5/36e5),this.dateToRender.minutes=Math.floor(this.timeLeft%36e5/6e4),this.dateToRender.seconds=Math.floor(this.timeLeft%6e4/1e3),this.progress=Math.floor(100-this.timeLeft/this.timeTotal*100)},render:function(){var t=this;this.timeLeft<=0?setTimeout((function(){t.stringToRender=t.expireMsg}),1e3):this.stringToRender=Object.values(this.dateToRender).map((function(t){return t>=10?t:"0".concat(t)})).join(" : ")},fin:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];t&&this.render(),clearTimeout(this.timerId),this.callback&&this.callback(),this.$emit("expired")},tick:function(){this.calc(),this.render(),this.timeLeft<0?this.fin():this.timerId=setTimeout(this.tick,1e3)},init:function(){this.calc(),this.timeTotal=this.timeLeft,this.timeLeft<=0?this.fin(!0):this.tick()}},mounted:function(){var t=this;this.$nextTick((function(){return t.init()}))},beforeDestroy:function(){this.timerId&&clearTimeout(this.timerId)}}),H=U,$=(n("624e"),p(H,R,z,!1,null,"003f749c",null)),q=$.exports,B=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"invoice__step step_pay"},[n("img",{staticClass:"step_pay__qr",attrs:{src:t.invoice.qr_code,alt:"Invoice QR code",width:"192",height:"192"}}),n("p",{staticClass:"invoice__hint",attrs:{id:"invoice__hint_payment"}},[t._v("Send the indicated amount to the address below:")]),n("div",{staticClass:"step_pay__formGroup"},[n("span",{staticClass:"step_pay__inputGroup_prepend"},[n("img",{staticClass:"step_pay__psysImg",attrs:{src:"https://plisio.net/img/psys-icon/"+t.invoice.currency+".svg",alt:t.invoice.currency,width:"18",height:"18"}})]),n("input",{staticClass:"step_pay__input invoice__copy_stepPay",attrs:{type:"text",id:"step_pay__address",readonly:"","aria-label":"Payment address","aria-describedby":"step_pay__hint_payment","data-clipboard-target":"#step_pay__address"},domProps:{value:t.invoice.wallet_hash}}),n("label",{staticClass:"step_pay__inputGroup_append",attrs:{for:"step_pay__address"}},[n("invoice-svg-icon",{staticClass:"step_pay__icon_btn step_pay__icon_btn_copy",attrs:{href:"invoice__icon_copy"}})],1)]),n("div",{staticClass:"step_pay__formGroup"},[n("span",{staticClass:"step_pay__inputGroup_prepend step_pay__currency invoice__copy_stepPay",attrs:{"data-clipboard-target":".step_pay__currency"}},[t._v(t._s(t.invoice.currency))]),n("input",{staticClass:"step_pay__input invoice__copy_stepPay",attrs:{type:"text",id:"step_pay__amount",readonly:"","aria-label":"Pending amount","aria-describedby":"step_pay__hint_payment","data-clipboard-target":"#step_pay__amount"},domProps:{value:t.invoice.pending_amount}}),n("label",{staticClass:"step_pay__inputGroup_append",attrs:{for:"step_pay__amount"}},[n("invoice-svg-icon",{staticClass:"step_pay__icon_btn step_pay__icon_btn_copy",attrs:{href:"invoice__icon_copy"}})],1)])])},D=[],G={name:"InvoiceStepPay",components:{InvoiceSvgIcon:P},props:{invoice:{type:Object,required:!0}},data:function(){return{clipBoard:null}},mounted:function(){this.clipBoard=new m.a(".invoice__copy_stepPay")},beforeDestroy:function(){this.clipBoard.destroy()}},V=G,W=(n("fb15"),p(V,B,D,!1,null,"8522b7be",null)),X=W.exports,Y=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"invoice__step step_pending"},[n("invoice-svg-icon",{staticClass:"step_pending__icon_loader",attrs:{href:"invoice__icon_loader"}}),n("h4",{staticClass:"invoice__title"},[t._v("Payment received, "),n("br"),t._v(" waiting for "),[1,"1"].includes(t.invoice.expected_confirmations)?[t._v(t._s(t.invoice.expected_confirmations)+" confirmation")]:[t._v(t._s(t.invoice.expected_confirmations-t.invoice.confirmations)+" of "+t._s(t.invoice.expected_confirmations)+" confirmations")]],2),n("div",{staticClass:"invoice__hint lead"},[t._v("Please wait until network confirms your payment. It usually takes 15-60 minutes")]),t.invoice.txUrl?n("invoice-tx-url",{attrs:{txUrl:t.invoice.txUrl}}):t.