var __generator=this&&this.__generator||function(t,n){var e={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,o,i,u;return u={next:c(0),throw:c(1),return:c(2)},typeof Symbol==="function"&&(u[Symbol.iterator]=function(){return this}),u;function c(t){return function(n){return a([t,n])}}function a(u){if(r)throw new TypeError("Generator is already executing.");while(e)try{if(r=1,o&&(i=u[0]&2?o["return"]:u[0]?o["throw"]||((i=o["return"])&&i.call(o),0):o.next)&&!(i=i.call(o,u[1])).done)return i;if(o=0,i)u=[u[0]&2,i.value];switch(u[0]){case 0:case 1:i=u;break;case 4:e.label++;return{value:u[1],done:false};case 5:e.label++;o=u[1];u=[0];continue;case 7:u=e.ops.pop();e.trys.pop();continue;default:if(!(i=e.trys,i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){e=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){e.label=u[1];break}if(u[0]===6&&e.label<i[1]){e.label=i[1];i=u;break}if(i&&e.label<i[2]){e.label=i[2];e.ops.push(u);break}if(i[2])e.ops.pop();e.trys.pop();continue}u=n.call(t,e)}catch(t){u=[6,t];o=0}finally{r=i=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};System.register(["./p-fba672db.system.js","./p-f887c8bb.system.js","./p-8a0a3550.system.js"],(function(t){"use strict";var n;return{setters:[function(t){n=t.a},function(){},function(){}],execute:function(){var e=undefined&&undefined.__awaiter||function(t,n,e,r){function o(t){return t instanceof e?t:new e((function(n){n(t)}))}return new(e||(e=Promise))((function(e,i){function u(t){try{a(r.next(t))}catch(t){i(t)}}function c(t){try{a(r["throw"](t))}catch(t){i(t)}}function a(t){t.done?e(t.value):o(t.value).then(u,c)}a((r=r.apply(t,n||[])).next())}))};var r=function(){function t(t){this.connection=t}t.prototype.getPaymentOptions=function(t,n,r){return e(this,void 0,void 0,(function(){return __generator(this,(function(e){switch(e.label){case 0:return[4,this.connection.get("contact/"+r+"/payment-option/"+t+"/"+n)];case 1:return[2,e.sent()]}}))}))};t.prototype.get=function(t,n,r){return e(this,void 0,void 0,(function(){return __generator(this,(function(e){switch(e.label){case 0:return[4,this.connection.get("contact?countryCode="+r+"&identityNumber="+t+"&zipCode="+n)];case 1:return[2,e.sent()]}}))}))};t.open=function(e,r){var o=n.open(e,r);return o&&new t(o)};return t}();t("Contact",r)}}}));