(function(t){var e={};function n(r){if(e[r])return e[r].exports;var a=e[r]={i:r,l:!1,exports:{}};return t[r].call(a.exports,a,a.exports,n),a.l=!0,a.exports}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 a in t)n.d(r,a,function(e){return t[e]}.bind(null,a));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="https://g.neo.delfi.lv/vue-embeds/",n(n.s="afc5")})({"00ec":function(t,e){var n=' ';t.exports=n},"00ee":function(t,e,n){var r=n("b622"),a=r("toStringTag"),i={};i[a]="z",t.exports="[object z]"===String(i)},"00fd":function(t,e,n){var r=n("9e69"),a=Object.prototype,i=a.hasOwnProperty,o=a.toString,s=r?r.toStringTag:void 0;function c(t){var e=i.call(t,s),n=t[s];try{t[s]=void 0;var r=!0}catch(c){}var a=o.call(t);return r&&(e?t[s]=n:delete t[s]),a}t.exports=c},"0366":function(t,e,n){var r=n("59ed");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,a){return t.call(e,n,r,a)}}return function(){return t.apply(e,arguments)}}},"0384":function(t,e){var n='';t.exports=n},"03dd":function(t,e,n){var r=n("eac5"),a=n("57a5"),i=Object.prototype,o=i.hasOwnProperty;function s(t){if(!r(t))return a(t);var e=[];for(var n in Object(t))o.call(t,n)&&"constructor"!=n&&e.push(n);return e}t.exports=s},"0432":function(t,e){var n=' ';t.exports=n},"04b1":function(t,e){var n=' ';t.exports=n},"057f":function(t,e,n){var r=n("fc6a"),a=n("241c").f,i={}.toString,o="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(t){try{return a(t)}catch(e){return o.slice()}};t.exports.f=function(t){return o&&"[object Window]"==i.call(t)?s(t):a(r(t))}},"06c5":function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));n("fb6a"),n("d3b7"),n("b0c0"),n("a630"),n("3ca3");var r=n("6b75");function a(t,e){if(t){if("string"===typeof t)return Object(r["a"])(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Object(r["a"])(t,e):void 0}}},"06cf":function(t,e,n){var r=n("83ab"),a=n("d1e7"),i=n("5c6c"),o=n("fc6a"),s=n("a04b"),c=n("5135"),u=n("0cfb"),l=Object.getOwnPropertyDescriptor;e.f=r?l:function(t,e){if(t=o(t),e=s(e),u)try{return l(t,e)}catch(n){}if(c(t,e))return i(!a.f.call(t,e),t[e])}},"0730":function(t,e,n){},"0762":function(t,e){var n=' ';t.exports=n},"07c7":function(t,e){function n(){return!1}t.exports=n},"087d":function(t,e){function n(t,e){var n=-1,r=e.length,a=t.length;while(++n]*>)/g,s=/\$([$&'`]|\d{1,2})/g;t.exports=function(t,e,n,c,u,l){var d=n+t.length,p=c.length,f=s;return void 0!==u&&(u=r(u),f=o),i.call(l,f,(function(r,i){var o;switch(i.charAt(0)){case"$":return"$";case"&":return t;case"`":return e.slice(0,n);case"'":return e.slice(d);case"<":o=u[i.slice(1,-1)];break;default:var s=+i;if(0===s)return r;if(s>p){var l=a(s/10);return 0===l?r:l<=p?void 0===c[l-1]?i.charAt(1):c[l-1]+i.charAt(1):r}o=c[s-1]}return void 0===o?"":o}))}},"0cfb":function(t,e,n){var r=n("83ab"),a=n("d039"),i=n("cc12");t.exports=!r&&!a((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},"0d24":function(t,e,n){(function(t){var r=n("2b3e"),a=n("07c7"),i=e&&!e.nodeType&&e,o=i&&"object"==typeof t&&t&&!t.nodeType&&t,s=o&&o.exports===i,c=s?r.Buffer:void 0,u=c?c.isBuffer:void 0,l=u||a;t.exports=l}).call(this,n("62e4")(t))},"0d3b":function(t,e,n){var r=n("d039"),a=n("b622"),i=n("c430"),o=a("iterator");t.exports=!r((function(){var t=new URL("b?a=1&b=2&c=3","http://a"),e=t.searchParams,n="";return t.pathname="c%20d",e.forEach((function(t,r){e["delete"]("b"),n+=r+t})),i&&!t.toJSON||!e.sort||"http://a/c%20d?a=1&c=3"!==t.href||"3"!==e.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!e[o]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==n||"x"!==new URL("http://x",void 0).host}))},"0d51":function(t,e){t.exports=function(t){try{return String(t)}catch(e){return"Object"}}},"0df6":function(t,e,n){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},"0ea4":function(t,e){var n=' ';t.exports=n},"0ecf":function(t,e,n){!function(e,n){t.exports=n()}(0,(function(){"use strict";var t="minute",e=/[+-]\d\d(?::?\d\d)?/g,n=/([+-]|\d\d)/g;return function(r,a,i){var o=a.prototype;i.utc=function(t){var e={date:t,utc:!0,args:arguments};return new a(e)},o.utc=function(e){var n=i(this.toDate(),{locale:this.$L,utc:!0});return e?n.add(this.utcOffset(),t):n},o.local=function(){return i(this.toDate(),{locale:this.$L,utc:!1})};var s=o.parse;o.parse=function(t){t.utc&&(this.$u=!0),this.$utils().u(t.$offset)||(this.$offset=t.$offset),s.call(this,t)};var c=o.init;o.init=function(){if(this.$u){var t=this.$d;this.$y=t.getUTCFullYear(),this.$M=t.getUTCMonth(),this.$D=t.getUTCDate(),this.$W=t.getUTCDay(),this.$H=t.getUTCHours(),this.$m=t.getUTCMinutes(),this.$s=t.getUTCSeconds(),this.$ms=t.getUTCMilliseconds()}else c.call(this)};var u=o.utcOffset;o.utcOffset=function(r,a){var i=this.$utils().u;if(i(r))return this.$u?0:i(this.$offset)?u.call(this):this.$offset;if("string"==typeof r&&null===(r=function(t){void 0===t&&(t="");var r=t.match(e);if(!r)return null;var a=(""+r[0]).match(n)||["-",0,0],i=a[0],o=60*+a[1]+ +a[2];return 0===o?0:"+"===i?o:-o}(r)))return this;var o=Math.abs(r)<=16?60*r:r,s=this;if(a)return s.$offset=o,s.$u=0===r,s;if(0!==r){var c=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(s=this.local().add(o+c,t)).$offset=o,s.$x.$localOffset=c}else s=this.utc();return s};var l=o.format;o.format=function(t){var e=t||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return l.call(this,e)},o.valueOf=function(){var t=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||(new Date).getTimezoneOffset());return this.$d.valueOf()-6e4*t},o.isUTC=function(){return!!this.$u},o.toISOString=function(){return this.toDate().toISOString()},o.toString=function(){return this.toDate().toUTCString()};var d=o.toDate;o.toDate=function(t){return"s"===t&&this.$offset?i(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():d.call(this)};var p=o.diff;o.diff=function(t,e,n){if(t&&this.$u===t.$u)return p.call(this,t,e,n);var r=this.local(),a=i(t).local();return p.call(r,a,e,n)}}}))},"0ffe":function(t,e,n){},"107c":function(t,e,n){var r=n("d039"),a=n("da84"),i=a.RegExp;t.exports=r((function(){var t=i("(?b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$c")}))},1111:function(t,e){var n=' ';t.exports=n},1148:function(t,e,n){"use strict";var r=n("a691"),a=n("577e"),i=n("1d80");t.exports=function(t){var e=a(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}},"126b":function(t,e,n){},1276:function(t,e,n){"use strict";var r=n("d784"),a=n("44e7"),i=n("825a"),o=n("1d80"),s=n("4840"),c=n("8aa5"),u=n("50c4"),l=n("577e"),d=n("dc4a"),p=n("14c3"),f=n("9263"),h=n("9f7f"),m=n("d039"),v=h.UNSUPPORTED_Y,g=[].push,b=Math.min,y=4294967295,_=!m((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));r("split",(function(t,e,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,n){var r=l(o(this)),i=void 0===n?y:n>>>0;if(0===i)return[];if(void 0===t)return[r];if(!a(t))return e.call(r,t,i);var s,c,u,d=[],p=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),h=0,m=new RegExp(t.source,p+"g");while(s=f.call(m,r)){if(c=m.lastIndex,c>h&&(d.push(r.slice(h,s.index)),s.length>1&&s.index=i))break;m.lastIndex===s.index&&m.lastIndex++}return h===r.length?!u&&m.test("")||d.push(""):d.push(r.slice(h)),d.length>i?d.slice(0,i):d}:"0".split(void 0,0).length?function(t,n){return void 0===t&&0===n?[]:e.call(this,t,n)}:e,[function(e,n){var a=o(this),i=void 0==e?void 0:d(e,t);return i?i.call(e,a,n):r.call(l(a),e,n)},function(t,a){var o=i(this),d=l(t),f=n(r,o,d,a,r!==e);if(f.done)return f.value;var h=s(o,RegExp),m=o.unicode,g=(o.ignoreCase?"i":"")+(o.multiline?"m":"")+(o.unicode?"u":"")+(v?"g":"y"),_=new h(v?"^(?:"+o.source+")":o,g),w=void 0===a?y:a>>>0;if(0===w)return[];if(0===d.length)return null===p(_,d)?[d]:[];var k=0,C=0,S=[];while(C1?arguments[1]:void 0)}},"17e4":function(t,e){var n=' ';t.exports=n},1816:function(t,e,n){"use strict";(function(e){var r=n("440d"),a=n("9c59"),i=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,o=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\\/]+)?([\S\s]*)/i,s=/^[a-zA-Z]:/,c="[\\x09\\x0A\\x0B\\x0C\\x0D\\x20\\xA0\\u1680\\u180E\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\u2028\\u2029\\uFEFF]",u=new RegExp("^"+c+"+");function l(t){return(t||"").toString().replace(u,"")}var d=[["#","hash"],["?","query"],function(t,e){return h(e.protocol)?t.replace(/\\/g,"/"):t},["/","pathname"],["@","auth",1],[NaN,"host",void 0,1,1],[/:(\d+)$/,"port",void 0,1],[NaN,"hostname",void 0,1,1]],p={hash:1,query:1};function f(t){var n;n="undefined"!==typeof window?window:"undefined"!==typeof e?e:"undefined"!==typeof self?self:{};var r=n.location||{};t=t||r;var a,o={},s=typeof t;if("blob:"===t.protocol)o=new g(unescape(t.pathname),{});else if("string"===s)for(a in o=new g(t,{}),p)delete o[a];else if("object"===s){for(a in t)a in p||(o[a]=t[a]);void 0===o.slashes&&(o.slashes=i.test(t.href))}return o}function h(t){return"file:"===t||"ftp:"===t||"http:"===t||"https:"===t||"ws:"===t||"wss:"===t}function m(t,e){t=l(t),e=e||{};var n,r=o.exec(t),a=r[1]?r[1].toLowerCase():"",i=!!r[2],s=!!r[3],c=0;return i?s?(n=r[2]+r[3]+r[4],c=r[2].length+r[3].length):(n=r[2]+r[4],c=r[2].length):s?(n=r[3]+r[4],c=r[3].length):n=r[4],"file:"===a?c>=2&&(n=n.slice(2)):h(a)?n=r[4]:a?i&&(n=n.slice(2)):c>=2&&h(e.protocol)&&(n=r[4]),{protocol:a,slashes:i||h(a),slashesCount:c,rest:n}}function v(t,e){if(""===t)return e;var n=(e||"/").split("/").slice(0,-1).concat(t.split("/")),r=n.length,a=n[r-1],i=!1,o=0;while(r--)"."===n[r]?n.splice(r,1):".."===n[r]?(n.splice(r,1),o++):o&&(0===r&&(i=!0),n.splice(r,1),o--);return i&&n.unshift(""),"."!==a&&".."!==a||n.push(""),n.join("/")}function g(t,e,n){if(t=l(t),!(this instanceof g))return new g(t,e,n);var i,o,c,u,p,b,y=d.slice(),_=typeof e,w=this,k=0;for("object"!==_&&"string"!==_&&(n=e,e=null),n&&"function"!==typeof n&&(n=a.parse),e=f(e),o=m(t||"",e),i=!o.protocol&&!o.slashes,w.slashes=o.slashes||i&&e.slashes,w.protocol=o.protocol||e.protocol||"",t=o.rest,("file:"===o.protocol&&(2!==o.slashesCount||s.test(t))||!o.slashes&&(o.protocol||o.slashesCount<2||!h(w.protocol)))&&(y[3]=[/(.*)/,"pathname"]);k=51||!r((function(){var e=[],n=e.constructor={};return n[o]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},"1efc":function(t,e){function n(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}t.exports=n},"1fc8":function(t,e,n){var r=n("4245");function a(t,e){var n=r(this,t),a=n.size;return n.set(t,e),this.size+=n.size==a?0:1,this}t.exports=a},2081:function(t,e){t.exports={lang:"ru",loginPage:"//rus.delfi.lv/login/",contentBannerLink:{desktop:"//g.delfi.lv/delfi-plus/satura-baneris/ru/",mobile:"//g.delfi.lv/delfi-plus/satura-baneris/ru-mobile/"},error:"Ошибка",cancel:"Отмена",continue:"Продолжить",warning:"Внимание!",getPinCode:"Получить код оплаты",numberMustHave8Digits:"Номер телефона должен состоять из 8 цифр",pinMustHave8Digits:"PIN-код состоит из 5 цифр",pinCodeWithError:"PIN-код введен неверно, попробуйте еще раз!",pleaseEnterPhoneNumber:"Пожалуйста, введите номер телефона, с которого хотите произвести оплату",subscriptionNotPurchased:"Покупка подписки не удалась",pleaseTryAgain:"Пожалуйста, попробуйте еще раз",phoneNumber:"Номер телефона",connectYourProvider:"Просим связаться с вашим оператором, чтобы решить проблему",enterPin:"Введите полученный PIN-код",pay:"Оплатить",enter:"Ввести",youAlreadySubscribed:"У вас уже есть активная подписка",thanks:"Спасибо",payment:"Оплата",paid:"Оплачено","евроFor28days":"евро / 28 дней","евроFor7days":"евро / 7 дней",good:"Хорошо",allChannels:"Все каналы",allCategories:"Все категории",from:"С",to:"До",search:"Искать",next:"Дальше",keyWord:"Ключевое слово",newsNotFound:"Новостей не найдено",tryChangeDate:"Попробуйте увеличить период поиска",payWithCard:"Оплатить расчетной картой",payWithSms:"Оплатить с помощью SMS",smsNote:"Плата за подписку будет включена в счет за мобильный телефон",subscriptionRestoresAutomatically:"Подписка продлевается автоматически, пока вы не решите ее отменить",subscriptionRules:{agree:"Согласен с",rules:"правилами пользования",rulesLink:"//rus.delfi.lv/copyright/",and:"и",contract:"дистанционным договором",contractLink:"https://g.delfi.lv/contracts/delfi_plus_distances_ligums_17_11_2023_RU.pdf"},paymentBlockHeader:{subscribe:{DELFIPLUS:'Подпишитесь на "Delfi Plus" за',MVP:"Подпишитесь на MVP за"},subscription:"подписка","28d":"евро / 4 недели","84d":"евро / 12 недель","1y":"евро / год","2y":"евро / 2 года",footerNote:{main:"платеж будет производиться автоматически, пока вы не прервете подписку",loyal:{"28d":{1:"эта цена действует до 01.02.2022 или до прерывания абонемента. Затем будет производиться автоматический платеж",2:"евро / 4 недели, пока вы не прервете подписку"},"84d":{1:"эта цена действует до 01.02.2022 или до прерывания абонемента. Затем будет производиться автоматический платеж",2:"евро / 4 недели, пока вы не прервете подписку"},"1y":{1:"эта цена действует до 01.02.2022 или до прерывания абонемента. Затем будет производиться автоматический платеж",2:"евро / год, пока вы не прервете подписку"},"2y":{1:"эта цена действует до 01.02.2022 или до прерывания абонемента. Затем будет производиться автоматический платеж",2:"евро / 2 года, пока вы не прервете подписку"}},firstPayment:{"28d":{1:"первый платеж, после этого будет производиться автоматический платеж",2:"евро / 4 недели, пока вы не прервете подписку"},"84d":{1:"первый платеж, после этого будет производиться автоматический платеж",2:"евро / 4 недели, пока вы не прервете подписку"},"1y":{1:"цена за первый год, затем будет производиться автоматический платеж",2:"евро / год, пока вы не прервете подписку"},"2y":{1:"цена за первые 2 года, затем будет производиться автоматический платеж",2:"евро / 2 года, пока вы не прервете подписку"}},firstThreeMonths:{"28d":{1:"первые три платежа, затем будет производиться автоматический платеж",2:"евро / 4 недели, пока вы не прервете подписку"}},isicOffer:{"28d":{1:"Цена действует первые 13 периодов, потом автоматически списывается платеж",2:"евро за четыре недели, если не отменить подписку"}},duoSteps:{"28d":{1:"первые 6 периодов, следующие 6 периодов",2:"евро, потом",3:"евро"}},isic:"Особая цена для пользователей карт ISIC.",isicItic:"Особая цена для тех, у кого есть карты ISIC или ITIC.",highschool:"Особая цена для студентов и преподавателей вузов.",airBaltic:'Īpašā cena "airBaltic" darbiniekiem.'}},thanksForSubscribe:"Спасибо, ваша подписка активизирована",renewPayment:{thanks:"Спасибо, ваша подписка возобновлена, и будет автоматически продлена",smsInfo:{part1:"Оплата в размере",part2:"будет добавлена к вашему счету от мобильного оператора для телефонного номера +",part3:"Чтобы отказаться, переходите на профиль Delfi"},cardInfo:{part1:"Оплата в размере",part2:"будет списана со счета вашей карты."},error:"Ошибка! Не удалось автоматически выполнить платеж. Проверьте платежные данные и выполните платеж повторно."},renew:"Возобновить",login:"Войти",register:"Зарегистрироваться",resetPassword:"Забыли пароль?",logout:"Выйти",loginTitle:"Подключиться",loginSubtitle:"Если у вас нет профиля на Delfi,",loginSubtitleLink:"создайте",loginAction:"Подключиться",backToLogin:"Назад",registerTitle:"Подписаться",registerSubtitle:"Если у вас уже есть профиль на Delfi,",registerSubtitleLink:"войдите",registerAction:"Подписаться",registerConsent:"Я понимаю и соглашаюсь с тем, что мой e-mail адрес будет использован для связи со мной.",registerSuccess:"Профиль создан. Проверьте ваш е-мейл: мы выслали письмо с подтверждением на ваш почтовый ящик.",mergeTitle:"Объединить профили",mergeSubtitle:"Выберите основной профиль. Все остальные профили по-прежнему можно будет использовать для авторизации.",mergeAction:"Продолжить",recoverPasswordTitle:"Забыли пароль?",recoverPasswordSubtitle:"Введите ваш е-мейл, и мы отправим письмо с инструкциями по восстановлению пароля.",recoverPasswordSubtitleLink:null,recoverPasswordAction:"Продолжить",resetPasswordTitle:"Восстановить пароль",resetPasswordSubtitle:"",resetPasswordSubtitleLink:"Выслать новый код",resetPasswordAction:"Восстановить",passwordsDoNotMatch:"Пароли не совпадают",socialLogin:"Подключиться через профиль в соцсети",userFirstName:"Имя",userLastName:"Фамилия",userEmailOrPhone:"Е-мейл",userDisplayName:"Ник",userPassword:"Пароль",userGender:"Пол",userGenders:{female:"Женщина",male:"Мужчина",hidden:"Не указывать"},userLanguages:{lv:"Латышский",ru:"Русский",hidden:"Не указывать"},userEmail:"Е-мейл",userPhone:"Номер телефона",userPhoneCountryCode:"Код страны",userPasswordNew:"Новый пароль",userPasswordConfirmation:"Пароль еще раз",userBirthday:"Дата рождения",userName:"Имя",userSurname:"Фамилия",confirmEmail:"Пожалуйста, подтвердите ваш е-мейл!",linkSentTo:"Мы отправили ссылку с подтверждением на",errorWrongEmailOrPassword:"Неправильный е-мейл и/или пароль",errorUnknown:"Ошибка! Попробуйте еще раз.",errorIdpTaken:"Эта социальная сеть уже связана с другим профилем",errorInvalidPassword:"Неправильный пароль!",errorPasswordTooShort:"Пароль должен быть не короче 8 символов!",errorPasswordsNotSimilar:"Пароли не совпадают!",errorConfirmToRegister:"Вы должны согласиться с праилами, что бы создать профиль",errorFillRequiredFields:"Заполните обязательные поля!",errorInvalidEmail:"Е-мейл не годится",errorAllFieldRequired:"Пожалуйста, заполните все поля!",btnSave:"Сохранить",btnSend:"Отправить",btnOk:"Хорошо",terminateAccount:"Удалить профиль",terminateAccountInfo:"Инструкции по удалению профиля отправлены на ваш е-мейл.",resendVerification:"Отправить",emailVerificationSent:"Письмо с подтверждением выслано на адрес электронной почты, на который зарегистрирован профиль в Delfi",emailVerificationSentCheckAgain:"Письмо с подтверждением уже отправлено. Пожалуйста, проверьте е-мейл, на который зарегистрирован профиль в Delfi",resetInfoHasBeenSentToEmail:"Информация по сбросу пароля отправлена на Ваш е-мейл",cantFindInSystem:"Такая почта не найдена в нашей системе",emailAlreadyExists:"Профиль с таким е-мейлом уже зарегистрирован",useLogin:'Нажмите на кнопку "Подключиться"',pleaseProvideAnother:"Пожалуйста, укажите другой",pleaseProvideEmail:'Пожалуйста, укажите выш е-мейл в разделе "Профиль -> Контакты".',reader:"читатель",helloMorning:"Доброе утро",helloDay:"Добрый день",helloEvening:"Добрый вечер",accountNavigation:{home:"Начало",profile:"Профиль",basicInfo:"Профиль",contactInfo:"Контакты",passwordChange:"Смена пароля",notifications:"Уведомления",subscription:"Подписка",subscriptionOptions:"Способы подписки",corporateAccess:"Корпоративная подписка",delfiPlusSubscription:"Delfi Plus",mvpSubscription:"MVP",bookmarks:"Сохраненные статьи",help:"Помощь",rules:"Правила пользования",faq:"Часто задаваемые вопросы",contacts:"Контакты",individual:"Индивидуальная",family:"Семейная"},user:{firstname:"Имя",lastname:"Фамилия",displayName:"Ник",id:"ID пользователя",email:"Е-мейл",phone:"Номер телефона",countryCode:"Код страны",phoneNumber:"Номер телефона",password:"Пароль",passwordNew:"Новый пароль",gender:"Пол",birthday:"Дата рождения"},edit:"Изменить",myProfile:"Профиль",myContacts:"Контакты",yourSubscriptions:"Ваши подписки",subscriptions:"Подписки",otherSubscriptions:"Другие варианты подписки",noSubscriptions:"Сейчас у вас нет активных подписок",paymentRules:{part1:"Согласен с",part2:"правилами пользования",part3:"и",part4:"дистанционным договором"},agree:"Согласен","евро":"евро",subscribe:"Подписаться",learnMore:"Подробнее",readMore:"Подробнее",days:"Дней",hours:"Часов",minutes:"Минут",timeToSubEnd:"До конца подписки",terminateProfile:"Удалить профиль",doYouWantTerminate:"Вы уверены, что хотите удалить профиль?",provideEmailBeforeTerminate:'Чтобы удалить профиль, в разделе "Контакты" укажите свой е-мейл, на который мы вышлем ссылку для подтверждения. Затем ещё раз кликните на "Удалить профиль" и следуйте инструкциям.',back:"Назад",close:"Закрыть",unsubscribeBeforeDelete:{text:'Чтобы удалить профиль, вам необходимо прервать подписку в разделе "Подписка".',btn:"Открыть раздел"},unsubscribeActionBtn:"Прервать подписку",unsubscribe:"Отказаться",doYouWantUnsubscribeCardDELFIPLUS:"Вы уверены, что хотите прервать подписку?",doYouWantUnsubscribeCardMVP:"Вы уверены, что хотите прервать подписку?",doYouWantUnsubscribeSmsMVP:{part1:"Хотите прервать подписку? Отправьте SMS с текстом STOP MVP",part2:"на номер 1881"},doYouWantUnsubscribeSmsDELFIPLUS:{part1:"Хотите прервать подписку? Отправьте SMS с текстом STOP Delfi",part2:"на номер 1881"},unsubscribeSuccessMVP:{part1:"Нам очень жаль, что вы решили прервать подписку.",part2:"Вы можете читать статьи из пакета MVP до конца срока действия подписки. Другие возможности профиля Delfi будут и впредь доступны без ограничений."},unsubscribeSuccessDELFIPLUS:{part1:"Нам очень жаль, что вы решили прервать подписку.",part2:'Вы можете читать статьи из пакета "Delfi Plus" до конца срока действия подписки. Другие возможности профиля Delfi будут и впредь доступны без ограничений.'},specialSubscription:"Бесплатная подписка",prepaymentSubscription:"Оплаченная заранее подписка",about:{title:{DELFIPLUS:'Про "Delfi Plus"',MVP:"Про MVP"},link:{DELFIPLUS:"//rus.delfi.lv/o-nas-new/kontent-na-kotoryj-stoit-podpisatsya.d?id=53787907",MVP:"//rus.delfi.lv/o-nas-new/kontent-na-kotoryj-stoit-podpisatsya.d?id=53787907"}},whyReadDELFIPLUS:{part0:{title:"Без рекламы",text:"С 1 февраля подписчики перестанут видеть коммерческую рекламу на всех страницах портала Delfi. Мы покажем вам только ту рекламу, которая связана с нашим порталом – но и она будет занимать совсем немного места. Так мы сможем рассказать вам о новых, самых интересных проектах Delfi – чтобы вы ничего не пропустили."},part1:{title:"Больше оригинального контента",text:'Мы продолжим работать над проектами визуального сторителлинга. Как минимум раз в месяц будем публиковать развернутое журналистское исследование в нескольких частях. Каждую неделю на "Delfi Plus" будут выходить развернутые интервью или переводы лучших материалов из зарубежных СМИ.'},part2:{title:"Delfi TV с Янисом Домбурсом",text:'Подписчики "Delfi Plus" получат полный доступ к материалам проекта "Delfi TV с Янисом Домбурсом" смотреть передачи и читать статьи можно будет без ограничения по времени. Кроме того, подписчики получат доступ и к другому контенту, который будет производить команда "Delfi TV с Янисом Домбурсом" аналитике, комментариям и т.д.'}},whyReadMVP:{part0:{title:"Новое спортивное СМИ",text:"Где не только рассказывают, но и объясняют — оригинальный контент, аналитика событий и процессов, беседы с людьми из мира спорта, дискуссии и истории из личного опыта."},part1:{title:"Будьте в игре",text:"Подписчики MVP — поклонники спорта, могут высказывать своё мнение под статьями, задавать вопросы и получать ответы от экспертов."},part2:{title:"Профессиональная команда",text:"MVP — команда, состоящая из профессиональных спортивных журналистов с десятилетним опытом, их авторитет в мире спорта непререкаем."}},subscriptionOptions:"Способы подписки",corporateSubscription:{section:"Подписка для предприятий",block:{title:"Оформите подписку на Delfi для себя и коллег!",subtitle:"Неограниченный доступ ко всему контенту Delfi для больших
и маленьких коллективов.",button:"Получить предложение",note:'Или свяжитесь с менеджером по работе с корпоративными
клиентами Delfi, написав на laura.truksane@delfi.lv.'},modal:{title:"Пожалуйста, введите информацию о предприятии, чтобы мы могли подготовить предложение о подписке",name:"Название предприятия",email:"E-mail для связи",phone:"Номер телефона",products:"Продукт, на который вы хотите подписаться",count:"Количество пользователей",employ:"пользователей",andMoreEmploy:"и более пользователей",note:"Дополнительная информация"},thanks:{title:"Спасибо, ваша заявка получена!",subtitle:"Мы свяжемся с вами в ближайшее время."},error:{required:"Пожалуйста, заполните все указанные поля!",email:"Указан неверный e-mail, пожалуйста, проверьте его!"}},sentErrorTryAgain:"Ошибка! Попробуйте позже!",errorTryAgain:"Ошибка! Попробуйте позже!",sentSuccess:"Отправлено успешно",whySubscribeDELFIPLUS:'Что дает подписка на "Delfi Plus"?',whySubscribeMVP:"Что дает подписка на MVP?",delfiPlusLandingPage:"//rus.delfi.lv/o-nas-new/kontent-na-kotoryj-stoit-podpisatsya.d?id=53787907",interestingHeadline:"Возможно, вам будет интересно",delfiAccount:"Профиль Delfi",delfiPlusSubscription:'Подписка на "Delfi Plus"',mvpSubscription:"Подписка на MVP",learnMoreAbout:{account:{title:"Профиль Delfi",learnMore:"Подробнее о профиле Delfi",link:"//rus.delfi.lv/delfi-profil/"},subscribe:{title:"Подписка",learnMore:"Узнай больше о подписке",link:"//rus.delfi.lv/o-nas-new/kontent-na-kotoryj-stoit-podpisatsya.d?id=53787907"}},contactPage:{aboutAccount:"По вопросам, связанным с профилем Delfi",anotherQuestions:{part1:"По другим вопросам используйте",part2:"//rus.delfi.lv/kontakti/",part3:"страницу контактов на Delfi."}},delete:"Удалить",noSavedArticles:"Здесь пока ничего нет. Если хотите сохранить статью, нажмите на значок закладки.",bookmarkFilter:{select:"Выбрать",all:"Все"},mySavedArticle:"Мои сохраненные статьи",noNotifications:"Новых уведомлений нет",yourSubscriptionIsActive:"Ваша подписка активна",yourSubscriptionIsCanceled:"Ваша подписка прервана",subscriptionRetryIn:"Подписка будет автоматически продлена",continueReadDELFIPLUS:'Продолжай читать "Delfi Plus" до',continueReadMVP:"Продолжай читать MVP до",yourSubscriptionActiveTill:{0:"Ваша подписка активна",1:"до"},try:"Попробуйте",toTry:"Попробовать",registerCard:"Банковская карточка",registerSms:"SMS-сообщение",trySubscription:{alreadySubscribed:"Спасибо за поддержку качественной журналистики! Ваша подписка уже активна.",register:"Регистрация",login:"Вход",loginWith:"Войти через соцсеть",confirmRegister:"Я понимаю и даю свое согласие на то, что адрес моей электронной почты будет использован для того, чтобы завершить и подтвердить регистрацию.",advantages:{title:"Что вы получите",DELFIPLUS:{1:"Ежемесячно публикуется более 100 статей и видеоматериалов",2:"Delfi без рекламы",3:"Видеолекции и полный архив статей"},MVP:{1:"Vairāk nekā 20 padziļināti materiāli par tev aktuālām sporta tēmām ik mēnesi",2:"Sporta žurnālistikas līderu komanda",3:"Iespēja tikties un apspriesties ar līdzīgi domājošiem"},info:{1:"После окончания пробного периода подписка будет продлена автоматически за",2:"2,99 евро / 4 недели",3:"пока вы не решите ее прервать."},icon:{DELFIPLUS:{1:"icon-original-content",2:"icon-horn",3:"icon-delfi-tv"},MVP:{1:"icon-mvp-phone",2:"icon-mvp-man",3:"icon-mvp-torch"}}}},tele2Support:"Tele2 поддерживает качественную журналистику",unsubscribeBlock:{existingSub:"Текущий абонемент",renewCanFor:"Основная цена абонемента",step:{1:{title:"Вы уверены, что хотите приостановить подписку?"},2:{title:"Пожалуйста, помогите нам улучшить предложение для подписчиков и расскажите, почему вы решили приостановить подписку"},3:{title:"Знать и понимать – важно!",subtitle:"Спасибо, что поддерживаете качественную журналистику. Мы призываеми и дальше вносить свою лепту в создание качественной журналистики и предлагаем особые условия подписки"},Loyal3:{title:"Вы уверены, что хотите приостановить подписку?",subtitle:"Если вы приостановите подписку, особое предложение цены не сохранится."},Accept4:{title:"Спасибо,
Ваша подписка активна."},Cancelled4:{title:"Спасибо что были подписаны на Delfi и поддерживали качественную журналистику! Действие вашего абонемента приостановлено."}},btn:{unsubSure:"Да, хочу",unsubNotSure:"Нет, не хочу"},areYouSure:"Вы уверены, что хотите приостановить подписку?",cancel:"Отменить",unsub:"Отказаться",helpUs:"Пожалуйста, помогите нам становиться лучше и расскажите, почему вы приняли такое решение",tellMore:"Расскажите, пожалуйста, подробнее!",reasons:{0:{title:"Статьи мне неинтересны",internalValue:"0"},1:{title:"Редко пользуюсь",internalValue:"1"},2:{title:"Не устраивает техническое качество исполнения и сбои",placeholder:"Что мы могли бы улучшить?",internalValue:"4"},3:{title:"По финансовым соображением",internalValue:"2"},4:{title:"Другая причина",placeholder:"Пожалуйста, укажите, какая:",internalValue:"6"}},submit:"Подать",knowImportant:{title:"Знать и понимать — важно!",subtext:{1:"Финансовый кризис затронул всех, но мы хотели бы, чтобы у вас была возможность продолжать читать интересные материалы. Поэтому предлагаем вам особую цену подписки на",2:{DELFIPLUS:"Delfi Plus",MVP:"MVP",BUSINESS:"Delfi Bizness",DELFI_KOMPLEKTS:"комплект"},3:null}},till:"До 01.02.2022.",for4Weeks:"за 4 недели",accept:"Принять",notAccept:"Нет, спасибо",thanksForSubscription:{0:"Спасибо что были подписаны",1:"и поддерживали качественную журналистику!",2:"Ты в любой момент можешь восстановить подписку"},stopLoyalty:{0:"Если вы прервете подписку, перестанет действовать специальное ценовое предложение.",1:"Вы сможете возобновить подписку по цене",2:"евро за 4 недели"},loyaltyAccepted:{0:"Теперь действует новая цена! Впредь цена на",1:{DELFIPLUS:'абонемент "Delfi"',MVP:"абонемент MVP",BUSINESS:'абонемент "Delfi Bizness"',DELFI_KOMPLEKTS:"комплект"},2:"евро / 4 недели.",3:"Цена действует до 01.02.2022 или до прерывания абонемента."},errors:{1:"Выберите как минимум один вариант",2:"Минимальное количество символов"}},dataProcessing:"Пожалуйста, подождите, происходит обработка данных.",promoCode:{giftCode:"Подарочный код",notProvided:"Подарочный код не указан",code:"Подарочный код",pleaseEnter:{0:"Введите код,",1:"чтобы активизировать подписку"},enterPromo:"Bведите код* предоплаты, чтобы активизировать подписку",activate:"Активизировать",note:"*Код можно получить, купив подписку по предоплате у одного из наших партнеров: Citadele, Norstat и т. д.",failed:"Вы указали недействительный код.",tryAgain:"Попробуйте еще раз.",limitError:"Лимит попыток превышен. Попробуйте ещё раз через",success:{title:"Подарочный код активизирован!",create:"Ваша подписка активна до",update:{0:"Ваша подписка продлена на",1:"дней"}},alreadyCorporate:"У вас уже есть активная корпоративная подписка!",login:{0:"Чтобы использовать код предоплаты и активизировать подписку, подключитесь.",1:'Если у вас еще нет аккаунта "Delfi", зарегистрируйтесь.'}},minutesLogic:{1:"минуту",2:"минуты",3:"минуты",4:"минуты",n:"минут"},registerBeforeSubscribe:'Чтобы оформить подписку или оставить комментарии, зарегистрируйте профиль в "Delfi".',loginBeforeSubscribe:'Чтобы оформить подписку или оставить комментарии, подключитесь к своему профилю "Delfi".',anotherCountries:"Другие страны",buttonLoading:"Подождите",year:"Год",month:"Месяц",day:"День",months:{1:"янв",2:"фев",3:"март",4:"апр",5:"май",6:"июнь",7:"июль",8:"авг",9:"сен",10:"окт",11:"ноя",12:"дек"},dectaPayment:{provideEmailOrPhone:"Пожалуйста, укажите e-mail и номер телефона",next:"Дальше"},errors:{somethingWentWrong:"Что-то пошло не так",badPhoneNumber:"Номер телефона не годен, пожалуйста, укажите другой",onlyNumbersAllowInPhone:"Номер телефона должен состоять только из цифр",countryCodeAlreadyProvided:"Код страны уже указан",contentShare:{emailNotProvided:"Пожалуйста, введите e-mail!",authE02:"Указан неверный e-mail, пожалуйста, проверьте его!",csE02:"Указан неверный e-mail, пожалуйста, проверьте его!",csE04:"Достигнуто максимальное количество абонентов",csE05:"Указанный e-mail уже используется другим абонентом",csE07:"К сожалению, полученное приглашение присоединиться к подписке Delfi больше недействительно. Вы можете оформить собственную подписку Delfi!",csE10:"К сожалению, полученное приглашение присоединиться к подписке Delfi больше недействительно. Вы можете оформить собственную подписку Delfi!",csE11:"Abonementa īpašnieks nevar nosūtīt ielūgumu sev.",csE12:"К сожалению, полученное приглашение присоединиться к подписке Delfi больше недействительно. Вы можете оформить собственную подписку Delfi!",csE13:"Šim e-pastam jau ir piesaistīts konts.",csE14:"К сожалению, приглашение нельзя подтвердить из-за того, что у вас уже есть активный абонемент.",csE15:"Этот адрес электронной почты не соответствует электронной почте, связанной с учетной записью пользователя.",csE28:"Приглашение нельзя отправить повторно, потому что достигнут лимит напоминаний. Отправьте приглашение на другой e-mail.",csE30:"К сожалению, приглашение нельзя подтвердить из-за того, что у вас уже есть активный абонемент.",csE31:"Достигнуто максимальное число попыток добавления пользователя. Пожалуйста, попробуйте еще раз через 12 часов!"},loginAPI:{AuthorizationError:"Ошибка подключения",DisplayNameNotAvailableError:"Ник недоступен",EmailNotAvailableError:"Профиль с таким e-mail уже зарегистрирован.",EmailNotFoundError:"Е-почта не найдена",IdpNotFoundError:"Identity provider not found",IncorrectIdpTokenError:"Incorrect identity provider token",IncorrectPasswordError:"Неправильный пароль",InputValueError:"Введенное значение неверно",InvalidDateError:"Ошибка неверной даты",InvalidEmailError:"Неправильная е-почта",InvalidPasswordError:"Неправильный пароль",LastLoginMethodError:"Ошибка последнего метода подключения",MissingCodeError:"MissingCodeError",NotImageFileError:"Файл не соответствует формату изображения",ThrottlingError:"Throttling error",UnexpectedSystemError:"Неожиданная системная ошибка",UploadSizeLimitError:"Превышен предел размера файла",EmailAlreadyRegisteredLogin:{1:"Профиль с таким e-mail уже зарегистрирован.
Пожалуйста, ",2:"подключитесь"},PasswordMissingError:{1:"Ваш пароль устарел. Перейдите ",2:"по ссылке",3:", чтобы его обновить!"},PasswordsNotSimilar:"Введенные пароли не совпадают!",PasswordTooShort:"Пароль не подходит. Минимальная длина пароля – 8 символов.",PasswordsFill:"Пожалуйста, введите информацию в полях для смены пароля."},payment:{timeout:"К сожалению, не удалось оформить подписку — закончилось время оплаты.",wrongPhone:"Указан неверный номер телефона, пожалуйста, проверьте его!",wrongEmail:"Указан неверный e-mail, пожалуйста, проверьте его!",provideEmail:"Пожалуйста, укажите e-mail!"},password:{1:"Пожалуйста, заполните все указанные поля!",2:"Новый пароль не может совпадать со старым.",3:"Минимальная длина пароля 5 символов.",4:"Указан неправильный текущий пароль.",5:"Новый пароль подтвержденный новый пароль не совпадают."}},productInfoAboutFirstWeek:{short:"Потом каждые четыре недели будет производиться автоматический платеж - 2,99 евро за период подписки, с помощью указанного вами способа оплаты.",long:'Потом каждые четыре недели будет производиться автоматический платеж - 2,99 евро за период подписки, с помощью указанного вами способа оплаты. Подписку можно прервать в любой момент в своем профиле "Delfi".'},tryAgainButton:"Попробовать еще раз",subscriptionNotGiven:"Подписка не оформлена",timeOut:"Время оплаты истекло",subscriptionDuration:{"1y":"Год","28d":"4 недели"},subscriptionFor:{default:{"28d":"за 4 недели","84d":"за 12 недель","1y":"за год","2y":"за 2 года"},first:{"28d":"за первые 4 недели","84d":"за 12 недель","1y":"за первый год","2y":"за первые 2 года"}},serviceAutoExtendsWithPrice:{"1y":{1:"Подписка будет автоматически продлена через 1 год по цене",2:"евро."},"28d":{1:"Подписка будет автоматически продлена через 28 дней по цене",2:"евро."},"56d":{1:"Подписка будет автоматически продлена через 56 дней по цене",2:"евро."},"84d":{1:"Подписка будет автоматически продлена через 12 недель по цене",2:"евро."}},serviceAutoExtends:{"1y":{1:"Подписка будет автоматически продлена через 1 год"},"28d":{1:"Подписка будет автоматически продлена через 28 дней"}},alreadySubscribed:{"1y":"Что бы приобрести годовую подписку, отпишитесь от четырех недельной.","28d":"Спасибо за поддержку качественной журналистики! Ваша подписка уже активна."},paymentCard:{subscriptionStatus:{subscribed:"Ваша подписка активна. Она будет автоматически возобновлена",cancelled:"Ваша подписка прервана. Продолжайте читать до",corporate:"Ваша корпоративная подписка активна до",special:"Ваша подписка активна до",prepayment:"Ваша оплаченная заранее подписка активна до"},activeCard:{active:"прервать подписку",cancelled:"возобновить подписку"},about:{DELFIPLUS:{text:'Про "Delfi Plus"',link:"//rus.delfi.lv/o-nas-new/kontent-na-kotoryj-stoit-podpisatsya.d?id=53787907"},MVP:{text:"Про MVP",link:"//rus.delfi.lv/o-nas-new/kontent-na-kotoryj-stoit-podpisatsya.d?id=53787907"},BUSINESS:{text:'Про "Delfi Bizness"',link:"//rus.delfi.lv/o-nas-new/delfi-zapustil-novyj-kanal-dlya-predprinimatelej-delfi-bizness.d?id=53237171"}},duration:{single:{first:{"28d":"Первые 4 недели","1y":"Первый год"},default:{"28d":"4 недели","1y":"Годовая подписка"}},bundle:"Комплексная подписка — выгоднее",family:{default:{"28d":{0:"Семейная",1:"Подписка",2:"4 недели для 4 людей"},"1y":{0:"Семейная",1:"Подписка",2:"1 год для 4 людей"}}},after:"затем",for:{"28d":"за 4 недели","1y":"за 1 год"}},nextPaymentAfter:{"28d":"следующий платеж -","1y":"следующий платеж -"},subscribe:"купить",article:{advantages:{DELFIPLUS:{1:"Ежемесячно публикуется более 80 статей и видеоматериалов",2:"Репортажи, интервью, аналитика, расследования и обзоры",3:'"Delfi" без рекламы'},MVP:{1:"Vairāk nekā 20 padziļināti materiāli par tev aktuālām sporta tēmām ik mēnesi",2:"Sporta žurnālistikas līderu komanda",3:"Iespēja tikties un apspriesties ar līdzīgi domājošiem"},BUSINESS:{1:"Каждый месяц более 50 платных статей",2:"Аналитические, практические и захватывающие материалы о бизнесе в Латвии, Балтии и мире",3:"Рейтинги предприятий, мнения зарубежных экспертов и мультимедийные проекты"}},readContent:"Читай весь платный контент без ограничений!",addToRead:"Чтобы продолжить чтение, дополните свой абонемент."}},badPaymentMethod:{1:"Извините!",2:"Произошла техническая ошибка.",3:"Оплата выбранным способом в настоящее время недоступна. Пожалуйста, повторите попытку позже! Приносим извинения за неудобства!"},subscriptionCard:{family:{default:{"28d":"4 недели для 4 человек","1y":"1 год для 4 человек"},first:{"28d":"Первые 12 недель для 4 человек","1y":"Первый год для 4 человек"},active:{maintainer:"Доступ ко всем платным материалам для 4 человек*",consumer:"Доступ ко всем платным материалам"},status:{sent:"Приглашение отправлено",accepted:"Активный подписчик"},footer:"Вы можете менять список подписчиков самостоятельно",invitationKey:{valid:"Приглашение подтверждено, профиль подключен к Семейной подписке."}},logo:{DELFIPLUS:{individual:"//g.delfi.lv/account/subscription-cards/dplus/individual-ru.svg"},MVP:{individual:"//g.delfi.lv/account/subscription-cards/mvp/individual-ru.svg"},BUSINESS:{individual:"//g.delfi.lv/account/subscription-cards/business/Delfi_Bizness_individualaisRUS.svg"},family:"//g.delfi.lv/account/subscription-cards/family-ru.svg"}},subscriptionActiveTill:"Подписка активна до",and:"и",cancelSubscription:"Приостановить подписку",takeOffer:"Принять",maintainer:{1:"Владелец",2:"подписки"},resend:"Отправить еще раз",accept:"Подтвердить",sureToRemoveConsumer:"Вы действительно хотите прервать абонемент для этого пользователя?",sureToResendInvitation:"Этот пользователь не подтвердил приглашение. Отправить напоминание?",changeConsumer:"Сменить участника",pressToInputEmail:"Жми, чтобы ввести почту",independentPaymentBlock:{chooseDiscountProduct:{1:"Выберите подписку со скидкой",2:"%"},chooseProduct:"Выберите, на что оформите абонемент",subscriptionConsist:"Абонемент включает",surcharge:"Доплата",products:{DELFIPLUS:"Delfi Plus",MVP:"MVP",BUSINESS:"Delfi Bizness"},paymentMethod:{sms:"SMS-сообщением",card:"банковской карточкой",renew:"использовать предыдущий"},chooseNew:"Выберите новый продукт",checkboxMessage:{notEditable:"В рамках особого предложения нет возможности менять или изымать отдельные продукты.",family:'Семейный абонемент предоставляет доступ абсолютно ко всему платному контенту. Если вы хотите оформить подписку на отдельные продукты, выберите раздел "Подписки" в своём профиле.',single:{DELFIPLUS:'Ваш абонемент на "Delfi Plus" уже оплачен. Абонемент может прервать в своем профиле в разделе "Подписки".',MVP:'Ваш абонемент на "MVP" уже оплачен. Абонемент может прервать в своем профиле в разделе "Подписки".',BUSINESS:'Ваш абонемент на "Delfi Bizness" уже оплачен. Абонемент может прервать в своем профиле в разделе "Подписки".'}}},paymentBlock:{header:{basic:"Подпишитесь на",discount:{1:"Подпишитесь со скидкой",2:"% на"}},thanks:"Спасибо,
ваша подписка активна",warningBefore:{1:"Спасибо за поддержку качественной журналистики! У вас уже активна",2:"Если вы хотите перейти на другой вид абонемента, текущий абонемент будет прерван автоматически.",product:{SPECIAL:"У вас уже активно особое предложение.",CORPORATE:"У вас уже активна корпоративная подписка.",PREPAYMENT:"У вас уже активно предложение предоплаты.",CONTENT_SHARE:"У вас уже активна Подписка на Delfi.",DELFIPLUS:'У вас уже активна подписка на "Delfi Plus".',MVP:"У вас уже активна подписка на MVP.",BUSINESS:'У вас уже активна подписка на "Delfi Bizness"',BUNDLE:"У вас уже активна Подписка на Delfi.",FAMILY:"У вас уже активна Подписка на Delfi.",DUO:"У вас уже активна Подписка на Delfi.",DOWNSELL:"У вас уже активна Подписка на Delfi.",DEFAULT:"подписка."}},merchShopNote:'Подарочная карта Delfi Veikals появится в разделе "Сообщения" в вашем аккаунте Delfi в течение следующего рабочего дня'},alreadyActiveSubscription:'У вас уже есть активный абонемент другого вида. Чтобы оформить абонемент на год, пожалуйста, прервите его в разделе "Подписка".',beforeCancelAll:{1:"Спасибо, что поддерживаете качественную журналистику! На данный момент у вас уже есть",2:{0:"активная подписка.",1:"активный особый абонемент.",2:'активный "Подписка на Delfi".'},3:"Если хотите перейти на другой вид абонемента, действующий абонемент прервется автоматически."},priceDuration:{"28d":"4 недели","56d":"56 дней","84d":"12 недель","1y":"1 год","2y":"2 года"},inTrialPeriod:"во время пробного периода",product:{DELFIPLUS:"Delfi Plus",MVP:"MVP",BUSINESS:"Delfi Bizness",BUNDLE:"комплект",FAMILY:"семейный",SPECIAL:"особое предложение",DUO:"особое предложение"},project:{DELFI:"Delfi Plus",MVP:"MVP",DELFI_BIZNESS:"Delfi Bizness",DELFI_KOMPLEKTS:"Подписка на Delfi",GIMENES_KOMPLEKTS:"Контент Delfi для 4 человек",DELFI_DUO:"Контент Delfi для 2 человек"},passwordSuccessfullyChanged:"Пароль успешно изменён!",products:{prefix:{DPLUS:"Delfi Plus",MVP:"MVP",BUSINESS:"Delfi Bizness",DUO:"Контент Delfi для 2 человек"}},couponOffer:{text:{1:"В благодарность за поддержку качественной журналистики мы дарим вам",2:"скидку",3:"на продукты Delfi Veikals!"},subtext:"Ваш уникальный скидочный код",button:"Выберите свой продукт",note:{1:"Вы можете найти скидочный код",2:"также в своем",3:"профиле Delfi"}},url:{account:"https://rus.delfi.lv/account"},header:{words:{month:"mēnesis",copy_url:"Копировать ссылку",read_more:"Lasīt sīkāk",content_marketing:"Reklāmas teksts",channel:"Kanāls | Kanāli",category:"Jategorija | Kategorijas",search:"Искать",follow_us:"Подписаться на Delfi",table_of_content:"Virsraksts",read_article:"Lasīt rakstu",subscribe:"Parakstīšanās",buy:"pirkt",same_subject:"Lasīt arī"},login:{log_in:"Войти",log_out:"Выйти",profile:"Мой профиль",total_package:"Подписаться",read_later:"Закладки",lottery:"Лотерея",alpa:'Игры "Alpa" для детей',notifications:"Уведомления",share_package:"Dalīties ar ziņu",home:"Delfi galvenā",home_url:"https://rus.delfi.lv",hello:"Привет"},newsletter:{join:"Pieteikties",join_with_delfi:"Pieteikties uz Delfi jaunumu izsūtīšanu!",type_email:"Адрес эл. почты"},header:{send_hint:"Iesūtīt ziņu",newsletter:"Jaunumu izsūtīšana"},info_layer:{bookmark_added:"Статья сохранена",url_copied:"Ссылка скопирована",bookmark_removed:"Статья удалена"},search:{title:"Искать",total_count_of_found_keywords:"Atrasti {count} meklēšanai atbilstoši rezultāti {keyword}:",match:"Precīzākie",latest:"Jaunākie",today:"Šodien",period:"Periods",ongoing_week:"Šī nedēļa",ongoing_month:"Šis mēnesis",ongoing_year:"Šis gads",type_search_keyword:"Искать"},mobile_menu:{bookmarks:"Cохранить статью",news:"Новости",subscribe:"Подписаться",pluss:"Для подписчиков",pluss_url:"https://rus.delfi.lv/dlja-podpischikov/",podcasts:"Подкасты",share:"Поделиться",comments:"Мнения",focus:"В фокусе",news_url:"https://rus.delfi.lv/news/novosti/",forums:"Forums",video:"Video",forums_url:"https://calis.delfi.lv/forums/",mvp_url:"https://www.delfi.lv/video/raidijumi/aizmugure/",tts:"Слушай Delfi",tts_url:"https://www.delfi.lv/podkasti/otchajannij-optimist/"},sitemap:{ads:"Рекламные возможности"}},offerCard:{paymentMethod:"Способ оплаты",header:{SINGLE:"Подписка на один продукт",BUNDLE:"Подписка на Delfi",FAMILY:"Подписка на Delfi для
4 человек",DUO:"Подписка на Delfi для
2 человек"},duration:{firstPayment:{"28d":"за первые 4 недели","84d":"за первые 12 недель","1y":"за первый год","2y":"за первые 2 года"},firstThreeMonths:"за первые 3 платежа",default:{"28d":"за 4 недели","84d":"за 12 недель","1y":"за год","2y":"за 2 года"}},for4Members:"для 4 человек",advantages:{1:{"28d":"4 недели","1y":"1 год","2y":"2 года"},SINGLE:{2:"1 продукт",3:"1 человеку"},BUNDLE:{2:"3 продукта",3:"1 человеку"},FAMILY:{2:"3 продукта",3:"4 людям"},DUO:{2:"3 продукта",3:"2 людям"}},notes:{SINGLE:{DELFI:{1:"Ежемесячно более 100 статей и видеоматериалов",2:"Серии аналитических статей и спецпроекты",3:"Без рекламы",default:"Ежемесячно более 100 статей и видеоматериалов без рекламы"},MVP:{1:"Ежемесячно более 25 подробных статей на актуальные спортивные темы",2:"Команда лучших спортивных журналистов",3:"Дискуссии подписчиков и специалистов",default:"Ежемесячно более 25 подробных статей на актуальные спортивные темы"},DELFI_BIZNESS:{1:"Ежемесячно более 50 аналитических статей о бизнесе в Латвии, странах Балтии и мире",2:"Рейтинги предприятий, мнения зарубежных экспертов и интерактивные статьи",default:"Ежемесячно более 50 аналитических статей о бизнесе в Латвии, странах Балтии и мире"}},BUNDLE:{1:"Неограниченный доступ ко всему контенту Delfi Plus, MVP и Delfi Bizness на любом смарт-устройстве",2:"Ежемесячно более 150 статей, видеоматериалов и архив статей",3:"Серии аналитических статей и спецпроекты",default:"Читайте весь платный контент Delfi без ограничений на любом смарт-устройстве"},FAMILY:{1:"Неограниченный доступ ко всему контенту Delfi Plus, MVP и Delfi Bizness на любом смарт-устройстве для 4 человек",2:"Ежемесячно более 150 статей, видеоматериалов и архив статей",3:"Серии аналитических статей и спецпроекты",default:"Весь платный контент Delfi без ограничений на любом устройстве для 4 человек"},DUO:{1:"Неограниченный доступ ко всему контенту Delfi Plus, MVP и Delfi Bizness на любом смарт-устройстве для 2 человек",2:"Ежемесячно более 150 статей, видеоматериалов и архив статей",3:"Серии аналитических статей и спецпроекты",default:"Весь платный контент Delfi без ограничений на любом устройстве для 2 человек"}},compare:"Сравнить"},account:{auth:{field:{email:"E-mail",password:"Пароль",firstName:"Имя",lastName:"Фамилия",gender:"Пол",language:"Язык",birthday:"Дата рождения",countryCode:"Код страны",phone:"Номер телефона"},divider:{or:"или",notReegistered:"ещё нет аккаунта?"},loginView:{title:"Войти",subtitle:"Чтобы подписаться на контент Delfi или оставлять комментарии, войдите в свой профиль.",login:"Войти",register:"Зарегистрируйтесь"},recoverPasswordView:{title:"Забыли пароль?",subtitle:"Чтобы восстановить пароль, введите свой e-mail, куда придет информация для восстановления пароля.",response:"Информация для сброса пароля была отправлена на указанный e-mail.",renewButton:"Обновить"},resetPasswordView:{title:"Восстановить пароль",password:"Новый пароль",newPassword:"Подтверждение пароля",reset:"Восстановить"},registerView:{title:"Зарегистрироваться",subtitle:"Чтобы подписаться на контент Delfi или оставлять комментарии, зарегистрируйте профиль.",alreadyRegistered:{1:"Если у вас уже есть аккаунт Delfi,",2:"войдите"},register:"Зарегистрироваться"},socialAuthEmailView:{subtitle:"При этом способе авторизации невозможно получить письмо. Чтобы завершить регистрацию, пожалуйста, введите e-mail"},contactInfo:{title:"Спасибо,
ваш аккаунт Delfi зарегистрирован.",subtitle:"Пожалуйста, укажите дополнительную информацию для связи с вами"}},merge:{title:"Объединение способов подключения",add:"Добавить",link:{error:{AuthAlreadyLinkedError:{1:"Этот профиль",2:"уже используется другим Delfi аккаунтом."},closed:"К сожалению, не удалось добавить выбранный способ подключения. Пожалуйста, повторите попытку!"},success:{1:"Выбранный профиль",2:"успешно подключен к вашему Delfi аккаунту."}},unlink:{error:{LastLoginMethodError:{1:"Этот профиль",2:"– последний способ подключения к этому Delfi аккаунту, поэтому его нельзя отключить."}},success:{1:"Выбранный профиль",2:"успешно отключен от вашего Delfi аккаунта."}}},subscriptionOptions:"Возможности подписки",subscriptionStatus:"Статус подписки Delfi",menu:{home:"Начало",profile:"Профиль",notifications:"Уведомления",subscription:"Подписка",bookmarks:"Сохраненные статьи",help:"Помощь",logout:"Выйти"},profile:{field:{firstName:"Имя",lastName:"Фамилия",displayName:"Имя пользователя",birthday:"Дата рождения",gender:"Пол",id:"ID номер",language:"Язык",email:"E-mail",phone:"Номер телефона",password:"Смена пароля",notProvided:"Не указано"},edit:"Редактировать",language:{lv:"Латышский",ru:"Русский"}},avatar:{add:"Добавить",remove:"Удалить"},section:{profile:"Профиль",paymentHistory:"История платежей",subscriptionOptions:"Возможности подписки"},paymentHistory:{orderId:"Номер счета",productKey:"Подписка",period:"Период действия услуги",paymentType:"Способ оплаты",price:"Цена",status:"Статус",refunded:"Возвращено",expired:"Не удалось",failed:"Не удалось",paid:"Оплачено",inprogress:"В процессе",showAll:"Смотреть все",recordsForPeriod:"История подписок доступна за последние 365 дней.",project:{DELFI:"Delfi Plus",MVP:"MVP",DELFI_BIZNESS:"Delfi Bizness",DELFI_KOMPLEKTS:"Комплект",GIMENES_KOMPLEKTS:"Подписка на Delfi",DELFI_DUO:"Подписка на Delfi","CARD-UPDATE":"Обновление данных карты"}},passwordChange:{title:"Изменить пароль",subtitle:"Чтобы изменить пароль, пожалуйста, заполните следующую информацию",this:"Введите текущий пароль",new:"Новый пароль",newAgain:"Подтвердить новый пароль"},emailChange:{successfullyChanged:"Спасибо, ваш e-mail успешно подтвержден!",response:{1:"На e-mail адрес",2:"отправлено письмо с ссылкой для подтверждения.",3:"Пожалуйста, нажмите на нее и подтвердите новый e-mail."},confirm:"Подтвердить"},promoCode:{title:"Введите код предоплаты или подарочный код*",note:"*Код можно получить, купив подписку по предоплате у одного из наших партнеров: Citadele, Norstat и т. д."},help:{title:"Помощь",subtitle:"Мы подготовили ответы на часто задаваемые вопросы, чтобы вы могли быстрее найти ответ на интересующий вас вопрос.",account:{title:"Профиль Delfi",link:{title:"Узнать больше",url:"https://rus.delfi.lv/delfi-profil/"}},subscription:{title:"Подписка Delfi",link:{title:"Узнать больше",url:"https://rus.delfi.lv/podpiska/"}},alpakids:{title:'Игры "Alpa" для детей',link:{title:"Узнать больше",url:"https://www.delfi.lv/alpa-speles-berniem/"}},contact:{title:"Информация об аккаунте Delfi и услугах",email:{body:"konts@delfi.lv",href:"mailto:konts@delfi.lv",button:"Написать"},phone:{body:"+371 25744202",href:"tel:+37125744202",button:"Позвонить"},link:{body:'В случае других вопросов свяжитесь с нами при помощи раздела контактов Delfi.',href:"https://www.delfi.lv/kontakti/",button:"Связаться"}}}},subscriptionStatus:{product:{CORPORATE:"Корпоративная подписка",PREPAYMENT:"Предложение предоплаты",DELFIPLUS:'"Delfi Plus"',MVP:"MVP",BUSINESS:'"Delfi Bizness"',BUNDLE:"Корпоративная подписка",FAMILY:"Подписка на Delfi",DUO:"Подписка на Delfi"},corporateNameKey:{"lv-bibl-ip":'Подписка на Delfi: "Delfi Plus" / MVP / "Delfi Bizness"'},status:{active:"Активна",cancelled:"Прервана",prepayment:"Активна"},prepayment:"Предоплата",corporate:"Предоплата",title:{status:"Статус подписки",product:"Подписка оформлена на",duration:{active:"Следующий платеж",cancelled:"Продолжайте читать до",prepayment:"Продолжайте читать до"},paymentType:"Способ оплаты"},showMore:"Больше",contentShare:{title:"Пригласите дополнительных подписчиков",status:{accepted:"Активно",sent:"Отправлено"},action:{accepted:"Удалить",sent:"Отменить"},input:"Пригласите дополнительных подписчиков",send:"Пригласить",maintainer:"Владелец подписки",successSent:'Приглашение отправлено! Пожалуйста, дополните недостающую информацию или управляйте статусом подписки, кликнув на "Редактировать".',sureToRemove:"Вы действительно хотите удалить добавленного подписчика?",sureToCancel:"Вы действительно хотите отменить добавленного подписчика?",sureToResend:"Этот пользователь не подтвердил приглашение. Отправить напоминание?",successfullyRemoved:"Добавленный подписчик удален. Вы можете добавить другого подписчика к своей подписке Delfi.",successfullyCancelled:"Добавленный подписчик отменен. Вы можете добавить другого подписчика к своей подписке Delfi.",remove:"Удалить",enterEmail:"Введите e-mail",successAccept:'Приглашение подтверждено и аккаунт подключен к абонементу "Подписка на Delfi".'}},paymentUpdate:{paymentNote:'Чтобы обновить платежные данные, нажмите на "Maksājiet ar citu karti" и введите новые платежные данные.',pleaseEnterPhoneNumber:"Пожалуйста, введите номер телефона, с которого впредь хотите произвести оплату",confirm:{title:"Вы хотите обновить платежные данные?",note:"При добавлении другой расчетной карты будет необходимо произвести платеж в размере 0,01 евро для того, чтобы зарегистрировать новые платежные данные. После произведения оплаты данный платеж будет возвращен на ваш банковский счет в ближайшее время."},lastStep:{title:"Платежные данные успешно изменены!",note:{1:"Оплачено 0,01 евро",2:"Платеж будет возвращен на ваш банковский счет в ближайшее время."}},currentData:"Текущие платежные данные",newData:"Новые платежные данные",button:"Обновить данные"},renewSubscription:{actionBtn:"Возобновить подписку",areYouSure:{1:"Вы хотите возобновить",2:{DELFIPLUS:'подписку на "Delfi Plus"?',MVP:"подписку на MVP?",BUSINESS:'подписку на "Delfi Bizness"?',DUO:'подписку на "Подписка на Delfi"?'}},success:{1:"Ваша",2:{DELFIPLUS:'подписка на "Delfi Plus"',MVP:"подписка на MVP",BUSINESS:'подписка на "Delfi Bizness"',DUO:'"Подписка на Delfi"'},3:"удачно возобновлена!",4:"Следующий платеж"},error:'Ошибка! Пожалуйста, попробуйте ещё раз или оформите абонемент в разделе "Подписка".'},sportEventResults:{"a-group":"группа a","b-group":"группа b","c-group":"группа c","d-group":"группа d","e-group":"группа e","f-group":"группа f","g-group":"группа g","h-group":"группа h",games:"и",wins:"в",ot_wins:"во",ties:"н",losses:"п",ot_losses:"по","gained-goals":"мз","lost-goals":"мп","gained-points":"з","lost-points":"пр","point-difference":"+/-",points:"о","first-round":"Первый раунд","second-round":"Второй раунд","x-round":"17-32 место"},requiredFieldText:"*Это поле обязательное",mailingList:{firstHeading:"Не пропускайте важную информацию
от Delfi, получайте ее на почту!",secondHeading:"Пожалуйста, отметьте, какую информацию вы хотели бы получать:",first:{text:"Еженедельный дайджест для подписчиков",listName:"content"},second:{text:"Особые предложения для подписчиков",listName:"marketing"},buttonText:"Сохранить",infoSaved:"Информация сохранена!",error:"Непредвиденная ошибка! Пожалуйста, свяжитесь с нашей командой поддержки клиентов по электронной почте konts@delfi.lv."},isicVerification:{title:'Пожалуйста, укажите данные карты ISIC / ITIC, чтобы приобрести "Подписку на Delfi":',numberInputLabel:"Номер карты ISIC / ITIC",nameInputLabel:"Oбладатель карты ISIC / ITIC Имя Фамилия",reason:{invalid:"Карта не найдена!",invalid_number:"Номер карты указан неверно!",valid_in_future:"Срок действия карты указан неверно!",expired:"Срок действия карты закончился!",unmatched_name:"Неверно указано имя!"}}}},"209d":function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("label",{staticClass:"custom-checkbox-container",class:t.customClass,attrs:{id:t.id}},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.checked,expression:"checked"}],staticClass:"form-check-input",class:t.margin,attrs:{autocomplete:"off",type:"checkbox"},domProps:{checked:Array.isArray(t.checked)?t._i(t.checked,null)>-1:t.checked},on:{change:[function(e){var n=t.checked,r=e.target,a=!!r.checked;if(Array.isArray(n)){var i=null,o=t._i(n,i);r.checked?o<0&&(t.checked=n.concat([i])):o>-1&&(t.checked=n.slice(0,o).concat(n.slice(o+1)))}else t.checked=a},t.change]}}),n("span",{staticClass:"checkmark"}),t._v(" "+t._s(t.label)+" "),t._t("default")],2)},a=[],i={props:{value:Boolean,type:String,placeholder:String,name:String,label:String,id:String,inputMode:String,pattern:String,customClass:String,options:Array},data:function(){return{checked:!1}},created:function(){this.value&&(this.checked=this.value)},methods:{change:function(){this.$emit("input",this.checked)}},computed:{margin:function(){var t="my-auto";return"top"===this.type?t="mb-auto":"bottom"===this.type&&(t="mt-auto"),t}}},o=i,s=n("2877"),c=Object(s["a"])(o,r,a,!1,null,null,null);e["a"]=c.exports},"20a0":function(t,e,n){"use strict";n("a3b1")},2266:function(t,e,n){var r=n("825a"),a=n("e95a"),i=n("50c4"),o=n("0366"),s=n("9a1f"),c=n("35a1"),u=n("2a62"),l=function(t,e){this.stopped=t,this.result=e};t.exports=function(t,e,n){var d,p,f,h,m,v,g,b=n&&n.that,y=!(!n||!n.AS_ENTRIES),_=!(!n||!n.IS_ITERATOR),w=!(!n||!n.INTERRUPTED),k=o(e,b,1+y+w),C=function(t){return d&&u(d,"normal",t),new l(!0,t)},S=function(t){return y?(r(t),w?k(t[0],t[1],C):k(t[0],t[1])):w?k(t,C):k(t)};if(_)d=t;else{if(p=c(t),!p)throw TypeError(String(t)+" is not iterable");if(a(p)){for(f=0,h=i(t.length);h>f;f++)if(m=S(t[f]),m&&m instanceof l)return m;return new l(!1)}d=s(t,p)}v=d.next;while(!(g=v.call(d)).done){try{m=S(g.value)}catch(x){u(d,"throw",x)}if("object"==typeof m&&m&&m instanceof l)return m}return new l(!1)}},"22cc":function(t,e,n){},"23cb":function(t,e,n){var r=n("a691"),a=Math.max,i=Math.min;t.exports=function(t,e){var n=r(t);return n<0?a(n+e,0):i(n,e)}},"23e7":function(t,e,n){var r=n("da84"),a=n("06cf").f,i=n("9112"),o=n("6eeb"),s=n("ce4e"),c=n("e893"),u=n("94ca");t.exports=function(t,e){var n,l,d,p,f,h,m=t.target,v=t.global,g=t.stat;if(l=v?r:g?r[m]||s(m,{}):(r[m]||{}).prototype,l)for(d in e){if(f=e[d],t.noTargetGet?(h=a(l,d),p=h&&h.value):p=l[d],n=u(v?d:m+(g?".":"#")+d,t.forced),!n&&void 0!==p){if(typeof f===typeof p)continue;c(f,p)}(t.sham||p&&p.sham)&&i(f,"sham",!0),o(l,d,f,t)}}},"241c":function(t,e,n){var r=n("ca84"),a=n("7839"),i=a.concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},2444:function(t,e,n){"use strict";(function(e){var r=n("c532"),a=n("c8af"),i={"Content-Type":"application/x-www-form-urlencoded"};function o(t,e){!r.isUndefined(t)&&r.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}function s(){var t;return("undefined"!==typeof XMLHttpRequest||"undefined"!==typeof e&&"[object process]"===Object.prototype.toString.call(e))&&(t=n("b50d")),t}var c={adapter:s(),transformRequest:[function(t,e){return a(e,"Accept"),a(e,"Content-Type"),r.isFormData(t)||r.isArrayBuffer(t)||r.isBuffer(t)||r.isStream(t)||r.isFile(t)||r.isBlob(t)?t:r.isArrayBufferView(t)?t.buffer:r.isURLSearchParams(t)?(o(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):r.isObject(t)?(o(e,"application/json;charset=utf-8"),JSON.stringify(t)):t}],transformResponse:[function(t){if("string"===typeof t)try{t=JSON.parse(t)}catch(e){}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],(function(t){c.headers[t]={}})),r.forEach(["post","put","patch"],(function(t){c.headers[t]=r.merge(i)})),t.exports=c}).call(this,n("4362"))},2474:function(t,e,n){var r=n("2b3e"),a=r.Uint8Array;t.exports=a},2478:function(t,e,n){var r=n("4245");function a(t){return r(this,t).get(t)}t.exports=a},2524:function(t,e,n){var r=n("6044"),a="__lodash_hash_undefined__";function i(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=r&&void 0===e?a:e,this}t.exports=i},2532:function(t,e,n){"use strict";var r=n("23e7"),a=n("5a34"),i=n("1d80"),o=n("577e"),s=n("ab13");r({target:"String",proto:!0,forced:!s("includes")},{includes:function(t){return!!~o(i(this)).indexOf(o(a(t)),arguments.length>1?arguments[1]:void 0)}})},"253c":function(t,e,n){var r=n("3729"),a=n("1310"),i="[object Arguments]";function o(t){return a(t)&&r(t)==i}t.exports=o},"25ba":function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"C-login-form"},[n(t.component,{tag:"component",attrs:{next:t.next,afterSignIn:t.afterSignIn,afterSignUp:t.afterSignUp,afterPasswordReset:t.afterPasswordReset,passwordResetCode:t.passwordResetCode,setEmail:t.setEmail,emailNotAvailable:t.emailNotAvailable,buttonClass:"btn-primary text-uppercase font-weight-bol",fieldClass:"border-light bg-porcelain",email:t.email,showCloseBtn:t.showCloseBtn,loginWith:t.loginWith,setLoginWithError:t.setLoginWithError,loginWithIsLoading:t.loginWithIsLoading,loginWithError:t.loginWithError,callback:t.callback,subtitle:t.subtitle,footer:t.footer},on:{"update:email":function(e){t.email=e}}})],1)},a=[],i=n("9225"),o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"C-login-form__login"},[n("div",{staticClass:"C-login-form__title"},[t._v(" "+t._s(t.$t("account.auth.loginView.title"))+" ")]),t.subtitle.length>0?n("div",{staticClass:"C-login-form__subtitle"},[t._v(" "+t._s(t.subtitle)+" ")]):t._e(),n("div",{staticClass:"C-login-form__form"},[t._l(t.fields,(function(e,r){return n(e.component,{key:r,tag:"component",attrs:{placeholder:e.placeholder,messageType:e.messageType,message:e.message,type:e.type},on:{input:function(e){return t.inputEventHandler(r,e)},enterPress:t.doLogin},model:{value:e.value,callback:function(n){t.$set(e,"value",n)},expression:"field.value"}})})),n("div",{staticClass:"C-login-form__under-field-btn",on:{click:function(e){return t.next("RecoverPassword")}}},[t._v(" "+t._s(t.$t("resetPassword"))+" ")]),n("Errors",{staticClass:"position-relative",attrs:{id:"loginError",errors:t.errors,callback:t.errorCallback}})],2),n("BaseButton",{staticClass:"C-modal__button C-modal__button--primary U-text-capitalize U-w-100",attrs:{loading:t.loading},nativeOn:{click:function(e){return t.doLogin.apply(null,arguments)}}},[t._v(" "+t._s(t.$t("account.auth.loginView.login"))+" ")]),n("div",{staticClass:"C-login-form__divider"},[n("span",[t._v(" "+t._s(t.$t("account.auth.divider.or"))+" ")])]),n("SocialAuth",{attrs:{loginWith:t.loginWith}}),n("div",{staticClass:"C-login-form__divider"},[n("span",[t._v(" "+t._s(t.$t("account.auth.divider.notReegistered"))+" ")])]),n("BaseButton",{staticClass:"C-modal__button C-modal__button--outline U-text-capitalize U-w-100",nativeOn:{click:function(e){return t.next("Register")}}},[t._v(" "+t._s(t.$t("account.auth.loginView.register"))+" ")]),t.footer?n("div",{staticClass:"C-modal__note text-center pt-3"},[t._v(" "+t._s(t.footer)+" ")]):t._e()],1)},s=[],c=(n("159b"),n("b64b"),n("c8fd")),u=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"C-login-form__social-auth"},t._l(t.socialProviders,(function(e,r){return n("div",{key:r,staticClass:"C-social-auth__button",on:{click:function(e){return t.loginWith(r,!0)}}},[n("BaseIcon",{staticClass:"C-social-auth__icon",attrs:{name:e.icon}})],1)})),0)},l=[],d=n("0b5c"),p={components:{BaseIcon:d["a"]},props:{info:String,fieldClass:String,loginWith:Function},data:function(){return{socialProviders:{facebook:{icon:"social-facebook"},google:{icon:"social-google"},twitter:{icon:"social-twitter"},draugiem:{icon:"social-draugiem"},apple:{icon:"social-apple"}}}}},f=p,h=n("2877"),m=Object(h["a"])(f,u,l,!1,null,null,null),v=m.exports,g=n("5c53"),b=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"C-input",class:"C-input--"+t.messageType},[n("input",{attrs:{id:t.id,placeholder:t.placeholder,type:t.fieldType,inputmode:t.inputMode,pattern:t.pattern,autocomplete:t.autocomplete},domProps:{value:t.value},on:{input:function(e){return t.$emit("input",e.target.value)},keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.$emit("enterPress")}}}),t.message.length>0?n("div",{staticClass:"C-input__message"},[t._v(" "+t._s(t.message)+" ")]):t._e(),t.value&&t.value.length>0?n("BaseIcon",{staticClass:"C-input__password-eye",attrs:{name:"eye"},nativeOn:{click:function(e){return t.changeFieldType.apply(null,arguments)}}}):t._e()],1)},y=[],_=(n("a9e3"),{components:{BaseIcon:d["a"]},props:{value:[String,Number],name:String,placeholder:String,id:String,inputMode:String,pattern:String,autocomplete:String,messageType:String,message:{type:String,default:""}},data:function(){return{fieldType:"password"}},methods:{changeFieldType:function(){console.log("clise"),this.fieldType="text"===this.fieldType?"password":"text"}}}),w=_,k=Object(h["a"])(w,b,y,!1,null,null,null),C=k.exports,S=n("ab82"),x={data:function(){return{errors:[],fields:{email:{component:"TextField",value:"",placeholder:this.$t("account.auth.field.email"),messageType:"",message:"",type:"email"},password:{component:"PasswordField",value:"",placeholder:this.$t("account.auth.field.password"),messageType:"",message:""}},loading:null}},props:{next:Function,afterSignIn:Function,buttonClass:String,fieldClass:String,email:String,loginWith:Function,loginWithError:String,subtitle:String,footer:String},components:{BaseButton:S["a"],Errors:c["a"],SocialAuth:v,TextField:g["a"],PasswordField:C},created:function(){this.fields.email.value=this.email,this.loginWithError&&this.errors.push(this.$t("errors.loginAPI.EmailNotAvailableError"))},mounted:function(){window.doNotReload=!1},watch:{loginWithError:function(){this.loginWithError.length>0&&this.errors.push(this.$t("errors.loginAPI.EmailNotAvailableError"))}},methods:{inputEventHandler:function(t,e){"email"===t&&this.$emit("update:email",e)},resetErrors:function(){var t=this;this.errors=[],Object.keys(this.fields).forEach((function(e){t.fields[e].messageType="",t.fields[e].message=""}))},errorCallback:function(t){"Login"===t&&this.next("Login"),"RecoverPassword"===t&&this.next("RecoverPassword")},doLogin:function(){var t=this;this.errors=[],this.resetErrors(),this.fields.email.value.length>0&&this.fields.password.value.length>0?(this.loading=!0,window.LoginAPI.login({email:this.fields.email.value,password:this.fields.password.value}).then((function(e){t.loading=!1,e.errors?e.errors.forEach((function(e){if(e.error&&e.error.type){var n=e.error.type;"PasswordMissingError"===n?(t.errors.push("PasswordMissingError"),window.shakeElement("loginError")):(t.errors.push("".concat(t.$t("errorUnknown"),": "),n),window.shakeElement("loginError"))}})):e.data&&e.data.status?t.afterSignIn():e.data&&!1===e.data.status&&(t.errors.push(t.$t("errorWrongEmailOrPassword")),window.shakeElement("loginError"))}))):(!this.fields.email.value.length>0&&(this.fields.email.messageType="error"),!this.fields.password.value.length>0&&(this.fields.password.messageType="error"),this.errors.push(this.$t("errorFillRequiredFields")),window.shakeElement("loginError"))}}},P=x,E=Object(h["a"])(P,o,s,!1,null,null,null),j=E.exports,M=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"C-login-form__register"},[n("div",{staticClass:"C-login-form__title"},[t._v(" "+t._s(t.$t("account.auth.registerView.title"))+" ")]),n("div",{staticClass:"C-login-form__subtitle"},[t._v(" "+t._s(t.$t("account.auth.registerView.subtitle"))+" ")]),n("SocialAuth",{attrs:{loginWith:t.loginWith}}),n("div",{staticClass:"C-login-form__divider"},[n("span",[t._v(" "+t._s(t.$t("account.auth.divider.or"))+" ")])]),n("div",{staticClass:"C-login-form__form"},[t._l(t.fields,(function(e,r){return n(e.component,{key:r,tag:"component",attrs:{placeholder:e.placeholder,messageType:e.messageType,message:e.message,type:e.type},on:{input:function(e){return t.inputEventHandler(r,e)},enterPress:t.doRegister},model:{value:e.value,callback:function(n){t.$set(e,"value",n)},expression:"field.value"}})})),n("Errors",{staticClass:"position-relative",attrs:{id:"loginError",errors:t.errors,callback:t.errorCallback}}),n("checkbox",{attrs:{customClass:"top",id:"userRegistrationConsentContainer",label:t.$t("registerConsent")},model:{value:t.user.consent,callback:function(e){t.$set(t.user,"consent",e)},expression:"user.consent"}})],2),n("BaseButton",{staticClass:"C-modal__button C-modal__button--primary U-text-capitalize U-w-100",attrs:{loading:t.loading},nativeOn:{click:function(e){return t.doRegister.apply(null,arguments)}}},[t._v(" "+t._s(t.$t("account.auth.registerView.register"))+" ")]),n("div",{staticClass:"C-login-form__already-registered"},[t._v(" "+t._s(t.$t("account.auth.registerView.alreadyRegistered.1"))+" "),n("span",{staticClass:"C-login-form__already-registered-link",on:{click:function(e){return t.next("Login")}}},[t._v(t._s(t.$t("account.auth.registerView.alreadyRegistered.2")))]),t._v(". ")])],1)},L=[],A=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("label",{staticClass:"C-checkbox",class:t.customClass,attrs:{id:t.id}},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.checked,expression:"checked"}],class:t.margin,attrs:{autocomplete:"off",type:"checkbox"},domProps:{checked:Array.isArray(t.checked)?t._i(t.checked,null)>-1:t.checked},on:{change:[function(e){var n=t.checked,r=e.target,a=!!r.checked;if(Array.isArray(n)){var i=null,o=t._i(n,i);r.checked?o<0&&(t.checked=n.concat([i])):o>-1&&(t.checked=n.slice(0,o).concat(n.slice(o+1)))}else t.checked=a},t.change]}}),n("span",{staticClass:"C-checkbox__label"},[t._v(t._s(t.label)),t._t("default")],2),n("span",{staticClass:"C-checkbox__checkmark"})])},D=[],O={props:{value:Boolean,type:String,placeholder:String,name:String,label:String,id:String,inputMode:String,pattern:String,customClass:String,options:Array},data:function(){return{checked:!1}},created:function(){this.value&&(this.checked=this.value)},methods:{change:function(){this.$emit("input",this.checked)}},computed:{margin:function(){var t="my-auto";return"top"===this.type?t="mb-auto":"bottom"===this.type&&(t="mt-auto"),t}}},$=O,I=Object(h["a"])($,A,D,!1,null,null,null),T=I.exports,B={data:function(){return{errors:[],user:{consent:!1},fields:{email:{component:"TextField",value:"",placeholder:this.$t("account.auth.field.email"),messageType:"",message:"",type:"email"},password:{component:"PasswordField",value:"",placeholder:this.$t("account.auth.field.password"),messageType:"",message:""}},loading:null}},created:function(){this.fields.email.value=this.email},props:{next:Function,buttonClass:String,fieldClass:String,email:String,loginWith:Function},components:{BaseButton:S["a"],Checkbox:T,Errors:c["a"],SocialAuth:v,TextField:g["a"],PasswordField:C},mounted:function(){window.doNotReload=!0},methods:{inputEventHandler:function(t,e){"email"===t&&this.$emit("update:email",e)},resetErrors:function(){var t=this;this.errors=[],Object.keys(this.fields).forEach((function(e){t.fields[e].messageType="",t.fields[e].message=""}))},errorCallback:function(t){"Login"===t&&this.next("Login")},doRegister:function(){var t=this;this.errors=[],this.resetErrors(),!1===this.user.consent?window.shakeElement("userRegistrationConsentContainer"):!this.fields.email.value.length>0||!this.fields.password.value.length>0?(!this.fields.email.value.length>0&&(this.fields.email.messageType="error"),!this.fields.password.value.length>0&&(this.fields.password.messageType="error"),this.errors.push(this.$t("errorFillRequiredFields")),window.shakeElement("loginError")):(this.loading=!0,window.LoginAPI.signup({email:this.fields.email.value,password:this.fields.password.value}).then((function(e){e.errors?e.errors.forEach((function(e){if(e.error&&e.error.type){var n=e.error.type;"InvalidPasswordError"===n?(t.loading=!1,t.errors.push(t.$t("errorPasswordTooShort")),window.shakeElement("loginError")):"EmailNotAvailableError"===n?(t.loading=!1,t.errors.push("EmailAlreadyRegisteredLogin"),window.shakeElement("loginError")):"InvalidEmailError"===n?(t.loading=!1,t.errors.push(t.$t("errorInvalidEmail")),window.shakeElement("loginError")):(t.loading=!1,console.log("updateCustomer error",n),t.errors.push(t.$t("errorUnknown")),window.shakeElement("loginError"))}})):e.data&&e.data.status&&window.LoginAPI.login({email:t.fields.email.value,password:t.fields.password.value}).then((function(e){e.data.status?!0===e.data.status&&(window.reloadOnAuthPopupClose=!1,t.next("ContactInfo")):(t.loading=!1,t.errors.push(t.$t("errorUnknown")),window.shakeElement("loginError"))}))})))}}},z=B,N=Object(h["a"])(z,M,L,!1,null,null,null),F=N.exports,U=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"C-login-form__contact-info"},[n("CheckMark"),n("div",{staticClass:"C-login-form__title",domProps:{innerHTML:t._s(t.$t("account.auth.contactInfo.title"))}}),n("div",{staticClass:"C-login-form__subtitle"},[t._v(" "+t._s(t.$t("account.auth.contactInfo.subtitle"))+": ")]),n("div",{staticClass:"C-login-form__form"},[t._l(t.fieldStructure,(function(e,r){return n("div",{key:r,staticClass:"G-row"},t._l(e,(function(e){return n("div",{key:e.key,class:e.class},[n(t.fields[e.key].component,{tag:"component",staticClass:"C-profile__item-field",attrs:{options:t.fields[e.key].options,placeholder:t.fields[e.key].placeholder,messageType:t.fields[e.key].messageType,message:t.fields[e.key].message},on:{enterPress:t.submit},model:{value:t.fields[e.key].value,callback:function(n){t.$set(t.fields[e.key],"value",n)},expression:"fields[col.key].value"}})],1)})),0)})),n("Errors",{staticClass:"position-relative",attrs:{id:"loginError",errors:t.errors}})],2),n("div",{staticClass:"U-display-flex U-justify-content-between"},[n("BaseButton",{staticClass:"C-modal__button C-modal__button--outline U-text-capitalize",nativeOn:{click:function(e){return t.closeForm.apply(null,arguments)}}},[t._v(" "+t._s(t.$t("close"))+" ")]),n("BaseButton",{staticClass:"C-modal__button C-modal__button--primary U-text-capitalize",attrs:{loading:t.loading},nativeOn:{click:function(e){return t.submit.apply(null,arguments)}}},[t._v(" "+t._s(t.$t("btnSave"))+" ")])],1)],1)},R=[],V=n("1da1"),K=(n("99af"),n("96cf"),n("bc3a")),H=n.n(K),q=n("db49"),W=n("66b4"),G=n("d679"),Z=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("button",{staticClass:"btn btn-pill",class:t.customClass,attrs:{type:"submit",disabled:t.loading},on:{click:function(e){return t.$emit("click")}}},[t.loading?n("span",[n("span",{staticClass:"spinner-border spinner-border-sm",attrs:{role:"status","aria-hidden":"true"}}),t._v(" "+t._s(t.$t("buttonLoading"))+"... ")]):n("span",[t._v(" "+t._s(t.text)+" ")])])},Y=[],J={props:{loading:Boolean,text:String,customClass:String}},Q=J,X=Object(h["a"])(Q,Z,Y,!1,null,null,null),tt=X.exports,et=n("209d"),nt=n("5197"),rt=n("be2a"),at=n("4b2c"),it=n("c7e7"),ot={props:{afterSignUp:Function,next:Function},components:{DateField:rt["a"],TextField:g["a"],PhoneField:at["a"],SelectField:it["a"],SubmitButton:tt,Checkbox:et["a"],Errors:c["a"],CheckMark:nt["a"],BaseButton:S["a"]},data:function(){return{errors:[],loading:!1,desktopFieldStructure:[[{key:"firstName",class:"G-col-6"},{key:"lastName",class:"G-col-6"}],[{key:"gender",class:"G-col-6"},{key:"birthday",class:"G-col-6"}],[{key:"language",class:"G-col-4"},{key:"phone",class:"G-col-8"}]],mobileFieldStructure:[[{key:"firstName",class:"G-col-12"}],[{key:"lastName",class:"G-col-12"}],[{key:"language",class:"G-col-6"},{key:"gender",class:"G-col-6"}],[{key:"birthday",class:"G-col-12"}],[{key:"phone",class:"G-col-12"}]],fields:{firstName:{component:"TextField",value:null,placeholder:this.$t("account.auth.field.firstName"),messageType:"",message:""},lastName:{component:"TextField",value:null,placeholder:this.$t("account.auth.field.lastName"),messageType:"",message:""},gender:{component:"SelectField",placeholder:this.$t("account.auth.field.gender"),value:null,options:[{name:this.$t("userGenders.female"),value:"female"},{name:this.$t("userGenders.male"),value:"male"},{name:this.$t("userGenders.hidden"),value:"hidden"}]},birthday:{component:"DateField",placeholder:this.$t("account.auth.field.birthday"),value:{year:null,month:null,day:null},messageType:"",message:""},language:{component:"SelectField",placeholder:this.$t("account.auth.field.language"),value:null,options:[{name:this.$t("account.profile.language.lv"),value:"lv"},{name:this.$t("account.profile.language.ru"),value:"ru"}]},phone:{component:"PhoneField",placeholder:this.$t("account.auth.field.phone"),value:{code:null,number:null},messageType:"",message:""}},phoneReg:/^(\s*|\d+)$/,userData:null,token:""}},computed:{fieldStructure:function(){return window.innerWidth,this.mobileFieldStructure},countryCode:function(){var t=371;return t=void 0===this.fields.phone.value.code||null===this.fields.phone.value.code||""===this.fields.phone.value.code?371:this.fields.phone.value.code,t}},mounted:function(){var t=this;return Object(V["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return window.reloadOnAuthPopupClose=!1,e.next=3,window.LoginAPI.getToken().then((function(e){t.token=e}));case 3:case"end":return e.stop()}}),e)})))()},methods:{closeForm:function(){this.afterSignUp()},resetErrors:function(){var t=this;this.errors=[],Object.keys(this.fields).forEach((function(e){t.fields[e].messageType="",t.fields[e].message=""}))},submit:function(){var t=this;this.save().then((function(){t.saveCustomerData().then((function(){t.loading=!1,t.afterSignUp()}))}))},saveCustomerData:function(){var t=this;return Object(V["a"])(regeneratorRuntime.mark((function e(){var n,r,a,i,o;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n=W["a"],t.userData?(n=G["a"],r=t.userData.id):a="profile",i=t.token,o={},i&&(o.Authorization="Bearer ".concat(i)),e.next=7,H()({headers:o,url:"https://api.delfi.lv/customer-data/v2/graphql",method:"post",data:{query:n,variables:JSON.stringify({id:r,key:a,value:JSON.stringify({gender:t.fields.gender.value,language:t.fields.language.value,birthday:{year:t.fields.birthday.value.year?t.fields.birthday.value.year:"",month:t.fields.birthday.value.month?t.fields.birthday.value.month:"",day:t.fields.birthday.value.day?t.fields.birthday.value.day:""}})})}}).then((function(t){console.log(t)}),(function(e){console.log(e),t.errors.push("".concat(t.$t("errorTryAgain"),". Error code: 1"))})).catch((function(e){console.log(e),t.errors.push("".concat(t.$t("errorTryAgain"),". Error code: 2"))}));case 7:case"end":return e.stop()}}),e)})))()},save:function(){var t=this;return Object(V["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(t.resetErrors(),!(t.fields.firstName.value&&t.fields.firstName.value.length>50)){e.next=6;break}t.fields.firstName.messageType="error",t.fields.firstName.message="Please enter maximum of 50 characters",e.next=24;break;case 6:if(!(t.fields.lastName.value&&t.fields.lastName.value.length>50)){e.next=11;break}t.fields.lastName.messageType="error",t.fields.lastName.message="Please enter maximum of 50 characters",e.next=24;break;case 11:if(!(t.fields.phone.value.number&&t.fields.phone.value.number.length>13)){e.next=16;break}t.fields.phone.messageType="error",t.fields.phone.message="Please enter maximum of 13 characters",e.next=24;break;case 16:if(null===t.fields.phone.value.number||t.phoneReg.test(t.fields.phone.value.number)){e.next=21;break}t.fields.phone.messageType="error",t.fields.phone.message=t.$t("errors.onlyNumbersAllowInPhone"),e.next=24;break;case 21:return t.loading=!0,e.next=24,window.LoginAPI.updateCustomer({firstName:t.fields.firstName.value,lastName:t.fields.lastName.value,language:t.fields.language.value,phone:Object(q["k"])(t.countryCode,t.fields.phone.value.number)}).then((function(e){e.data&&e.data.success&&!0===e.data.success?console.log("success"):e.errors&&(t.loading=!1,e.errors.forEach((function(e){if(e.error&&(e.error.message||e.error.type)){var n=e.error.type;"InvalidEmailError"===n?(t.fields.email.messageType="error",t.fields.email.message=t.$t("errorInvalidEmail")):"EmailNotAvailableError"===n?(t.fields.email.messageType="error",t.fields.email.message="".concat(t.$t("emailAlreadyExists"),". ").concat(t.$t("pleaseProvideAnother"),".")):(console.log("updateCustomer error",n),t.errors.push("".concat(t.$t("errorUnknown"),". Error: ").concat(n)))}})))}));case 24:case"end":return e.stop()}}),e)})))()}}},st=ot,ct=Object(h["a"])(st,U,R,!1,null,null,null),ut=ct.exports,lt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"C-login-form__social-auth-email"},[n("div",{staticClass:"C-login-form__title"},[t._v(" "+t._s(t.$t("warning"))+" ")]),n("div",{staticClass:"C-login-form__subtitle"},[t._v(" "+t._s(t.$t("account.auth.socialAuthEmailView.subtitle"))+" ")]),n("div",{staticClass:"C-login-form__form"},[n("TextField",{attrs:{placeholder:t.$t("account.auth.field.email")},on:{enterPress:t.submit},model:{value:t.email,callback:function(e){t.email=e},expression:"email"}}),n("Errors",{staticClass:"position-relative",attrs:{id:"socialEmailError",errors:t.errors}})],1),n("div",{staticClass:"U-display-flex U-justify-content-between"},[n("BaseButton",{staticClass:"C-modal__button C-modal__button--outline U-text-capitalize",nativeOn:{click:function(e){return t.back.apply(null,arguments)}}},[t._v(" "+t._s(t.$t("back"))+" ")]),n("BaseButton",{staticClass:"C-modal__button C-modal__button--primary U-text-capitalize",attrs:{loading:t.loginWithIsLoading},nativeOn:{click:function(e){return t.submit.apply(null,arguments)}}},[t._v(" "+t._s(t.$t("next"))+" ")])],1)])},dt=[],pt={props:{next:Function,info:String,fieldClass:String,setEmail:Function,buttonClass:String,emailNotAvailable:Boolean,loginWithIsLoading:Boolean,loginWithError:String,setLoginWithError:Function},components:{BaseButton:S["a"],Errors:c["a"],TextField:g["a"]},created:function(){this.loginWithError&&this.errors.push(this.$t("errors.loginAPI.EmailNotAvailableError"))},mounted:function(){window.doNotReload=!1},watch:{loginWithError:function(){this.loginWithError.length>0&&this.errors.push(this.$t("errors.loginAPI.EmailNotAvailableError"))}},data:function(){return{email:"",errors:[]}},methods:{back:function(){this.setLoginWithError(""),this.next("Login")},submit:function(){this.errors=[],this.email.length>0?this.setEmail(this.email):(this.errors.push(this.$t("errorInvalidEmail")),window.shakeElement("socialEmailError"))}}},ft=pt,ht=Object(h["a"])(ft,lt,dt,!1,null,null,null),mt=ht.exports,vt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"C-login-form__recover-password"},[n("div",{staticClass:"C-login-form__title"},[t._v(" "+t._s(t.$t("account.auth.recoverPasswordView.title"))+" ")]),t.recoverInfoSend?n("div",[n("CheckMark"),n("div",{staticClass:"C-login-form__subtitle"},[t._v(" "+t._s(t.$t("account.auth.recoverPasswordView.response"))+" ")]),n("div",{staticClass:"U-display-flex",class:{"U-justify-content-between":t.showCloseBtn,"U-justify-content-around":!t.showCloseBtn}},[t.showCloseBtn?n("BaseButton",{staticClass:"C-modal__button C-modal__button--outline U-text-capitalize",nativeOn:{click:function(e){return t.callback("close")}}},[t._v(" "+t._s(t.$t("close"))+" ")]):t._e(),n("BaseButton",{staticClass:"C-modal__button C-modal__button--primary U-text-capitalize",attrs:{loading:t.loading},nativeOn:{click:function(e){return t.next("Login")}}},[t._v(" "+t._s(t.$t("login"))+" ")])],1)],1):n("div",[n("div",{staticClass:"C-login-form__subtitle"},[t._v(" "+t._s(t.$t("account.auth.recoverPasswordView.subtitle"))+" ")]),n("div",{staticClass:"C-login-form__form"},[n("TextField",{attrs:{placeholder:t.$t("account.auth.field.email"),type:"email"},on:{input:function(e){return t.$emit("update:email",e)},enterPress:t.doRecoverPassword},model:{value:t.user.email,callback:function(e){t.$set(t.user,"email",e)},expression:"user.email"}}),n("Errors",{staticClass:"position-relative",attrs:{id:"loginError",errors:t.errors}})],1),n("div",{staticClass:"U-display-flex U-justify-content-between"},[n("BaseButton",{staticClass:"C-modal__button C-modal__button--outline U-text-capitalize",nativeOn:{click:function(e){return t.next("Login")}}},[t._v(" "+t._s(t.$t("back"))+" ")]),n("BaseButton",{staticClass:"C-modal__button C-modal__button--primary U-text-capitalize",attrs:{loading:t.loading},nativeOn:{click:function(e){return t.doRecoverPassword.apply(null,arguments)}}},[t._v(" "+t._s(t.$t("account.auth.recoverPasswordView.renewButton"))+" ")])],1)])])},gt=[],bt={data:function(){return{errors:[],user:{email:""},loading:null,recoverInfoSend:null}},props:{next:Function,callback:Function,buttonClass:String,email:String,showCloseBtn:Boolean},created:function(){this.user.email=this.email},components:{TextField:g["a"],BaseButton:S["a"],Errors:c["a"],CheckMark:nt["a"]},methods:{doRecoverPassword:function(){var t=this;this.errors=[],this.loading=!0,window.LoginAPI.recoverPassword({email:this.user.email}).then((function(e){t.loading=!1,e.data&&!0===e.data.success?t.recoverInfoSend=!0:e.errors?e.errors.forEach((function(e){var n=e.error.type;t.errors.push(n)})):t.errors.push(t.$t("errorUnknown"))}))}}},yt=bt,_t=Object(h["a"])(yt,vt,gt,!1,null,null,null),wt=_t.exports,kt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"C-login-form__reset-password"},[n("div",{staticClass:"C-login-form__title"},[t._v(" "+t._s(t.$t("account.auth.resetPasswordView.title"))+" ")]),n("div",{staticClass:"C-login-form__form"},[n("PasswordField",{attrs:{placeholder:t.$t("account.auth.resetPasswordView.password")},on:{enterPress:t.doResetPassword},model:{value:t.password,callback:function(e){t.password=e},expression:"password"}}),n("PasswordField",{attrs:{placeholder:t.$t("account.auth.resetPasswordView.newPassword")},on:{enterPress:t.doResetPassword},model:{value:t.passwordConfirm,callback:function(e){t.passwordConfirm=e},expression:"passwordConfirm"}}),n("Errors",{staticClass:"position-relative",attrs:{id:"loginError",errors:t.errors}})],1),n("BaseButton",{staticClass:"C-modal__button C-modal__button--primary U-text-capitalize U-w-100",attrs:{loading:t.loading},nativeOn:{click:function(e){return t.doResetPassword.apply(null,arguments)}}},[t._v(" "+t._s(t.$t("account.auth.resetPasswordView.reset"))+" ")])],1)},Ct=[],St={data:function(){return{errors:[],password:"",passwordConfirm:"",loading:null}},props:{afterPasswordReset:Function,passwordResetCode:String,buttonClass:String},components:{PasswordField:C,BaseButton:S["a"],Errors:c["a"]},methods:{doResetPassword:function(){var t=this;this.errors=[],0===this.password.length||0===this.passwordConfirm.length?this.errors.push(this.$t("errors.loginAPI.PasswordsFill")):this.password!==this.passwordConfirm?this.errors.push(this.$t("errors.loginAPI.PasswordsNotSimilar")):(this.loading=!0,window.LoginAPI.resetPassword({code:this.passwordResetCode,password:this.password}).then((function(e){e.data&&!0===e.data.success?t.afterPasswordReset():e.errors?e.errors.forEach((function(e){var n=e.error.type;"InvalidPasswordError"===n?t.errors.push(t.$t("errors.loginAPI.PasswordTooShort")):"InvalidInputError"===n?t.errors.push("Jaunā parole nedrīkst sakrist ar iepriekšējo paroli."):t.errors.push(t.$t("errorUnknown")),t.loading=!1})):(t.errors.push(t.$t("errorUnknown")),t.loading=!1)})))}}},xt=St,Pt=Object(h["a"])(xt,kt,Ct,!1,null,null,null),Et=Pt.exports,jt={props:{startView:String,afterSignIn:Function,afterSignUp:Function,afterPasswordReset:Function,passwordResetCode:String,showCloseBtn:{type:Boolean,default:!1},callback:Function,subtitle:{type:String,default:i["a"].t("account.auth.loginView.subtitle")},footer:String},data:function(){return{component:"",chosenMethod:"",emailNotAvailable:!1,email:"",loginWithIsLoading:!1,loginWithError:"",socialAuthSignup:void 0}},components:{Login:j,Register:F,ContactInfo:ut,RecoverPassword:wt,ResetPassword:Et,SocialAuthEmail:mt},created:function(){this.startView?this.component=this.startView:this.component="Login"},methods:{setLoginWithError:function(t){this.loginWithError=t},next:function(t){this.component=t},setEmail:function(t){this.socialAuthSignup(t),this.loginWithIsLoading=!0},loginWith:function(t){var e=this;this.chosenMethod=t,window.doNotReload=!1,window.LoginAPI.resolveAuthMethod("".concat(t.toUpperCase()),"signup").then((function(t){if(console.log("response",t),void 0===t)return console.log("successful signup"),void(e.loginWithIsLoading=!1);if(t.signup){var n=function n(r){e.loginWithError="",t.signup(r).then((function(){console.log("account created"),e.loginWith(e.chosenMethod)})).catch((function(t){e.loginWithIsLoading=!1,"ResolveAuthNoEmail"===t.type?(console.log("ResolveAuthNoEmail"),e.socialAuthSignup=n,e.next("SocialAuthEmail")):"EmailNotAvailableError"!==t.type||r?"EmailNotAvailableError"===t.type&&r&&(console.log("EmailNotAvailableError & email"),e.loginWithError="EmailNotAvailableError"):(console.log("EmailNotAvailableError & !email"),e.loginWithError="EmailNotAvailableError")}))};n()}t.login&&(console.log("customer already exists. login"),t.login().then((function(){e.afterSignIn()})))}))}}},Mt=jt,Lt=Object(h["a"])(Mt,r,a,!1,null,null,null);e["a"]=Lt.exports},"25f0":function(t,e,n){"use strict";var r=n("5e77").PROPER,a=n("6eeb"),i=n("825a"),o=n("577e"),s=n("d039"),c=n("ad6d"),u="toString",l=RegExp.prototype,d=l[u],p=s((function(){return"/a/b"!=d.call({source:"a",flags:"b"})})),f=r&&d.name!=u;(p||f)&&a(RegExp.prototype,u,(function(){var t=i(this),e=o(t.source),n=t.flags,r=o(void 0===n&&t instanceof RegExp&&!("flags"in l)?c.call(t):n);return"/"+e+"/"+r}),{unsafe:!0})},2626:function(t,e,n){"use strict";var r=n("d066"),a=n("9bf2"),i=n("b622"),o=n("83ab"),s=i("species");t.exports=function(t){var e=r(t),n=a.f;o&&e&&!e[s]&&n(e,s,{configurable:!0,get:function(){return this}})}},2643:function(t,e){var n=' ';t.exports=n},2703:function(t,e,n){},2877:function(t,e,n){"use strict";function r(t,e,n,r,a,i,o,s){var c,u="function"===typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),i&&(u._scopeId="data-v-"+i),o?(c=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__),a&&a.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(o)},u._ssrRegister=c):a&&(c=s?function(){a.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:a),c)if(u.functional){u._injectStyles=c;var l=u.render;u.render=function(t,e){return c.call(e),l(t,e)}}else{var d=u.beforeCreate;u.beforeCreate=d?[].concat(d,c):[c]}return{exports:t,options:u}}n.d(e,"a",(function(){return r}))},"28c9":function(t,e){function n(){this.__data__=[],this.size=0}t.exports=n},"29b4":function(t,e){var n=' ';t.exports=n},"29f3":function(t,e){var n=Object.prototype,r=n.toString;function a(t){return r.call(t)}t.exports=a},"2a62":function(t,e,n){var r=n("825a"),a=n("dc4a");t.exports=function(t,e,n){var i,o;r(t);try{if(i=a(t,"return"),!i){if("throw"===e)throw n;return n}i=i.call(t)}catch(s){o=!0,i=s}if("throw"===e)throw n;if(o)throw i;return r(i),n}},"2b0e":function(t,e,n){"use strict";n.r(e),function(t){
/*!
* Vue.js v2.6.14
* (c) 2014-2021 Evan You
* Released under the MIT License.
*/
var n=Object.freeze({});function r(t){return void 0===t||null===t}function a(t){return void 0!==t&&null!==t}function i(t){return!0===t}function o(t){return!1===t}function s(t){return"string"===typeof t||"number"===typeof t||"symbol"===typeof t||"boolean"===typeof t}function c(t){return null!==t&&"object"===typeof t}var u=Object.prototype.toString;function l(t){return"[object Object]"===u.call(t)}function d(t){return"[object RegExp]"===u.call(t)}function p(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function f(t){return a(t)&&"function"===typeof t.then&&"function"===typeof t.catch}function h(t){return null==t?"":Array.isArray(t)||l(t)&&t.toString===u?JSON.stringify(t,null,2):String(t)}function m(t){var e=parseFloat(t);return isNaN(e)?t:e}function v(t,e){for(var n=Object.create(null),r=t.split(","),a=0;a-1)return t.splice(n,1)}}var y=Object.prototype.hasOwnProperty;function _(t,e){return y.call(t,e)}function w(t){var e=Object.create(null);return function(n){var r=e[n];return r||(e[n]=t(n))}}var k=/-(\w)/g,C=w((function(t){return t.replace(k,(function(t,e){return e?e.toUpperCase():""}))})),S=w((function(t){return t.charAt(0).toUpperCase()+t.slice(1)})),x=/\B([A-Z])/g,P=w((function(t){return t.replace(x,"-$1").toLowerCase()}));function E(t,e){function n(n){var r=arguments.length;return r?r>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n}function j(t,e){return t.bind(e)}var M=Function.prototype.bind?j:E;function L(t,e){e=e||0;var n=t.length-e,r=new Array(n);while(n--)r[n]=t[n+e];return r}function A(t,e){for(var n in e)t[n]=e[n];return t}function D(t){for(var e={},n=0;n0,nt=X&&X.indexOf("edge/")>0,rt=(X&&X.indexOf("android"),X&&/iphone|ipad|ipod|ios/.test(X)||"ios"===Q),at=(X&&/chrome\/\d+/.test(X),X&&/phantomjs/.test(X),X&&X.match(/firefox\/(\d+)/)),it={}.watch,ot=!1;if(Y)try{var st={};Object.defineProperty(st,"passive",{get:function(){ot=!0}}),window.addEventListener("test-passive",null,st)}catch(So){}var ct=function(){return void 0===G&&(G=!Y&&!J&&"undefined"!==typeof t&&(t["process"]&&"server"===t["process"].env.VUE_ENV)),G},ut=Y&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function lt(t){return"function"===typeof t&&/native code/.test(t.toString())}var dt,pt="undefined"!==typeof Symbol&<(Symbol)&&"undefined"!==typeof Reflect&<(Reflect.ownKeys);dt="undefined"!==typeof Set&<(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var ft=O,ht=0,mt=function(){this.id=ht++,this.subs=[]};mt.prototype.addSub=function(t){this.subs.push(t)},mt.prototype.removeSub=function(t){b(this.subs,t)},mt.prototype.depend=function(){mt.target&&mt.target.addDep(this)},mt.prototype.notify=function(){var t=this.subs.slice();for(var e=0,n=t.length;e-1)if(i&&!_(a,"default"))o=!1;else if(""===o||o===P(t)){var c=ee(String,a.type);(c<0||s0&&(o=je(o,(e||"")+"_"+n),Ee(o[0])&&Ee(u)&&(l[c]=kt(u.text+o[0].text),o.shift()),l.push.apply(l,o)):s(o)?Ee(u)?l[c]=kt(u.text+o):""!==o&&l.push(kt(o)):Ee(o)&&Ee(u)?l[c]=kt(u.text+o.text):(i(t._isVList)&&a(o.tag)&&r(o.key)&&a(e)&&(o.key="__vlist"+e+"_"+n+"__"),l.push(o)));return l}function Me(t){var e=t.$options.provide;e&&(t._provided="function"===typeof e?e.call(t):e)}function Le(t){var e=Ae(t.$options.inject,t);e&&(Mt(!1),Object.keys(e).forEach((function(n){$t(t,n,e[n])})),Mt(!0))}function Ae(t,e){if(t){for(var n=Object.create(null),r=pt?Reflect.ownKeys(t):Object.keys(t),a=0;a0,o=t?!!t.$stable:!i,s=t&&t.$key;if(t){if(t._normalized)return t._normalized;if(o&&r&&r!==n&&s===r.$key&&!i&&!r.$hasNormal)return r;for(var c in a={},t)t[c]&&"$"!==c[0]&&(a[c]=Te(e,c,t[c]))}else a={};for(var u in e)u in a||(a[u]=Be(e,u));return t&&Object.isExtensible(t)&&(t._normalized=a),H(a,"$stable",o),H(a,"$key",s),H(a,"$hasNormal",i),a}function Te(t,e,n){var r=function(){var t=arguments.length?n.apply(null,arguments):n({});t=t&&"object"===typeof t&&!Array.isArray(t)?[t]:Pe(t);var e=t&&t[0];return t&&(!e||1===t.length&&e.isComment&&!$e(e))?void 0:t};return n.proxy&&Object.defineProperty(t,e,{get:r,enumerable:!0,configurable:!0}),r}function Be(t,e){return function(){return t[e]}}function ze(t,e){var n,r,i,o,s;if(Array.isArray(t)||"string"===typeof t)for(n=new Array(t.length),r=0,i=t.length;r1?L(n):n;for(var r=L(arguments,1),a='event handler for "'+t+'"',i=0,o=n.length;idocument.createEvent("Event").timeStamp&&(Zn=function(){return Yn.now()})}function Jn(){var t,e;for(Gn=Zn(),Hn=!0,Un.sort((function(t,e){return t.id-e.id})),qn=0;qnqn&&Un[n].id>t.id)n--;Un.splice(n+1,0,t)}else Un.push(t);Kn||(Kn=!0,me(Jn))}}var nr=0,rr=function(t,e,n,r,a){this.vm=t,a&&(t._watcher=this),t._watchers.push(this),r?(this.deep=!!r.deep,this.user=!!r.user,this.lazy=!!r.lazy,this.sync=!!r.sync,this.before=r.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++nr,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new dt,this.newDepIds=new dt,this.expression="","function"===typeof e?this.getter=e:(this.getter=W(e),this.getter||(this.getter=O)),this.value=this.lazy?void 0:this.get()};rr.prototype.get=function(){var t;gt(this);var e=this.vm;try{t=this.getter.call(e,e)}catch(So){if(!this.user)throw So;ne(So,e,'getter for watcher "'+this.expression+'"')}finally{this.deep&&ge(t),bt(),this.cleanupDeps()}return t},rr.prototype.addDep=function(t){var e=t.id;this.newDepIds.has(e)||(this.newDepIds.add(e),this.newDeps.push(t),this.depIds.has(e)||t.addSub(this))},rr.prototype.cleanupDeps=function(){var t=this.deps.length;while(t--){var e=this.deps[t];this.newDepIds.has(e.id)||e.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},rr.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():er(this)},rr.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||c(t)||this.deep){var e=this.value;if(this.value=t,this.user){var n='callback for watcher "'+this.expression+'"';re(this.cb,this.vm,[t,e],this.vm,n)}else this.cb.call(this.vm,t,e)}}},rr.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},rr.prototype.depend=function(){var t=this.deps.length;while(t--)this.deps[t].depend()},rr.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||b(this.vm._watchers,this);var t=this.deps.length;while(t--)this.deps[t].removeSub(this);this.active=!1}};var ar={enumerable:!0,configurable:!0,get:O,set:O};function ir(t,e,n){ar.get=function(){return this[e][n]},ar.set=function(t){this[e][n]=t},Object.defineProperty(t,n,ar)}function or(t){t._watchers=[];var e=t.$options;e.props&&sr(t,e.props),e.methods&&mr(t,e.methods),e.data?cr(t):Ot(t._data={},!0),e.computed&&dr(t,e.computed),e.watch&&e.watch!==it&&vr(t,e.watch)}function sr(t,e){var n=t.$options.propsData||{},r=t._props={},a=t.$options._propKeys=[],i=!t.$parent;i||Mt(!1);var o=function(i){a.push(i);var o=Yt(i,e,n,t);$t(r,i,o),i in t||ir(t,"_props",i)};for(var s in e)o(s);Mt(!0)}function cr(t){var e=t.$options.data;e=t._data="function"===typeof e?ur(e,t):e||{},l(e)||(e={});var n=Object.keys(e),r=t.$options.props,a=(t.$options.methods,n.length);while(a--){var i=n[a];0,r&&_(r,i)||K(i)||ir(t,"_data",i)}Ot(e,!0)}function ur(t,e){gt();try{return t.call(e,e)}catch(So){return ne(So,e,"data()"),{}}finally{bt()}}var lr={lazy:!0};function dr(t,e){var n=t._computedWatchers=Object.create(null),r=ct();for(var a in e){var i=e[a],o="function"===typeof i?i:i.get;0,r||(n[a]=new rr(t,o||O,O,lr)),a in t||pr(t,a,i)}}function pr(t,e,n){var r=!ct();"function"===typeof n?(ar.get=r?fr(e):hr(n),ar.set=O):(ar.get=n.get?r&&!1!==n.cache?fr(e):hr(n.get):O,ar.set=n.set||O),Object.defineProperty(t,e,ar)}function fr(t){return function(){var e=this._computedWatchers&&this._computedWatchers[t];if(e)return e.dirty&&e.evaluate(),mt.target&&e.depend(),e.value}}function hr(t){return function(){return t.call(this,this)}}function mr(t,e){t.$options.props;for(var n in e)t[n]="function"!==typeof e[n]?O:M(e[n],t)}function vr(t,e){for(var n in e){var r=e[n];if(Array.isArray(r))for(var a=0;a-1)return this;var n=L(arguments,1);return n.unshift(this),"function"===typeof t.install?t.install.apply(t,n):"function"===typeof t&&t.apply(null,n),e.push(t),this}}function Pr(t){t.mixin=function(t){return this.options=Gt(this.options,t),this}}function Er(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var n=this,r=n.cid,a=t._Ctor||(t._Ctor={});if(a[r])return a[r];var i=t.name||n.options.name;var o=function(t){this._init(t)};return o.prototype=Object.create(n.prototype),o.prototype.constructor=o,o.cid=e++,o.options=Gt(n.options,t),o["super"]=n,o.options.props&&jr(o),o.options.computed&&Mr(o),o.extend=n.extend,o.mixin=n.mixin,o.use=n.use,F.forEach((function(t){o[t]=n[t]})),i&&(o.options.components[i]=o),o.superOptions=n.options,o.extendOptions=t,o.sealedOptions=A({},o.options),a[r]=o,o}}function jr(t){var e=t.options.props;for(var n in e)ir(t.prototype,"_props",n)}function Mr(t){var e=t.options.computed;for(var n in e)pr(t.prototype,n,e[n])}function Lr(t){F.forEach((function(e){t[e]=function(t,n){return n?("component"===e&&l(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&"function"===typeof n&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}}))}function Ar(t){return t&&(t.Ctor.options.name||t.tag)}function Dr(t,e){return Array.isArray(t)?t.indexOf(e)>-1:"string"===typeof t?t.split(",").indexOf(e)>-1:!!d(t)&&t.test(e)}function Or(t,e){var n=t.cache,r=t.keys,a=t._vnode;for(var i in n){var o=n[i];if(o){var s=o.name;s&&!e(s)&&$r(n,i,r,a)}}}function $r(t,e,n,r){var a=t[e];!a||r&&a.tag===r.tag||a.componentInstance.$destroy(),t[e]=null,b(n,e)}_r(Sr),br(Sr),Ln(Sr),$n(Sr),_n(Sr);var Ir=[String,RegExp,Array],Tr={name:"keep-alive",abstract:!0,props:{include:Ir,exclude:Ir,max:[String,Number]},methods:{cacheVNode:function(){var t=this,e=t.cache,n=t.keys,r=t.vnodeToCache,a=t.keyToCache;if(r){var i=r.tag,o=r.componentInstance,s=r.componentOptions;e[a]={name:Ar(s),tag:i,componentInstance:o},n.push(a),this.max&&n.length>parseInt(this.max)&&$r(e,n[0],n,this._vnode),this.vnodeToCache=null}}},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var t in this.cache)$r(this.cache,t,this.keys)},mounted:function(){var t=this;this.cacheVNode(),this.$watch("include",(function(e){Or(t,(function(t){return Dr(e,t)}))})),this.$watch("exclude",(function(e){Or(t,(function(t){return!Dr(e,t)}))}))},updated:function(){this.cacheVNode()},render:function(){var t=this.$slots.default,e=Sn(t),n=e&&e.componentOptions;if(n){var r=Ar(n),a=this,i=a.include,o=a.exclude;if(i&&(!r||!Dr(i,r))||o&&r&&Dr(o,r))return e;var s=this,c=s.cache,u=s.keys,l=null==e.key?n.Ctor.cid+(n.tag?"::"+n.tag:""):e.key;c[l]?(e.componentInstance=c[l].componentInstance,b(u,l),u.push(l)):(this.vnodeToCache=e,this.keyToCache=l),e.data.keepAlive=!0}return e||t&&t[0]}},Br={KeepAlive:Tr};function zr(t){var e={get:function(){return R}};Object.defineProperty(t,"config",e),t.util={warn:ft,extend:A,mergeOptions:Gt,defineReactive:$t},t.set=It,t.delete=Tt,t.nextTick=me,t.observable=function(t){return Ot(t),t},t.options=Object.create(null),F.forEach((function(e){t.options[e+"s"]=Object.create(null)})),t.options._base=t,A(t.options.components,Br),xr(t),Pr(t),Er(t),Lr(t)}zr(Sr),Object.defineProperty(Sr.prototype,"$isServer",{get:ct}),Object.defineProperty(Sr.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(Sr,"FunctionalRenderContext",{value:Xe}),Sr.version="2.6.14";var Nr=v("style,class"),Fr=v("input,textarea,option,select,progress"),Ur=function(t,e,n){return"value"===n&&Fr(t)&&"button"!==e||"selected"===n&&"option"===t||"checked"===n&&"input"===t||"muted"===n&&"video"===t},Rr=v("contenteditable,draggable,spellcheck"),Vr=v("events,caret,typing,plaintext-only"),Kr=function(t,e){return Zr(e)||"false"===e?"false":"contenteditable"===t&&Vr(e)?e:"true"},Hr=v("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,truespeed,typemustmatch,visible"),qr="http://www.w3.org/1999/xlink",Wr=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},Gr=function(t){return Wr(t)?t.slice(6,t.length):""},Zr=function(t){return null==t||!1===t};function Yr(t){var e=t.data,n=t,r=t;while(a(r.componentInstance))r=r.componentInstance._vnode,r&&r.data&&(e=Jr(r.data,e));while(a(n=n.parent))n&&n.data&&(e=Jr(e,n.data));return Qr(e.staticClass,e.class)}function Jr(t,e){return{staticClass:Xr(t.staticClass,e.staticClass),class:a(t.class)?[t.class,e.class]:e.class}}function Qr(t,e){return a(t)||a(e)?Xr(t,ta(e)):""}function Xr(t,e){return t?e?t+" "+e:t:e||""}function ta(t){return Array.isArray(t)?ea(t):c(t)?na(t):"string"===typeof t?t:""}function ea(t){for(var e,n="",r=0,i=t.length;r-1?ca[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:ca[t]=/HTMLUnknownElement/.test(e.toString())}var la=v("text,number,password,search,email,tel,url");function da(t){if("string"===typeof t){var e=document.querySelector(t);return e||document.createElement("div")}return t}function pa(t,e){var n=document.createElement(t);return"select"!==t||e.data&&e.data.attrs&&void 0!==e.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n}function fa(t,e){return document.createElementNS(ra[t],e)}function ha(t){return document.createTextNode(t)}function ma(t){return document.createComment(t)}function va(t,e,n){t.insertBefore(e,n)}function ga(t,e){t.removeChild(e)}function ba(t,e){t.appendChild(e)}function ya(t){return t.parentNode}function _a(t){return t.nextSibling}function wa(t){return t.tagName}function ka(t,e){t.textContent=e}function Ca(t,e){t.setAttribute(e,"")}var Sa=Object.freeze({createElement:pa,createElementNS:fa,createTextNode:ha,createComment:ma,insertBefore:va,removeChild:ga,appendChild:ba,parentNode:ya,nextSibling:_a,tagName:wa,setTextContent:ka,setStyleScope:Ca}),xa={create:function(t,e){Pa(e)},update:function(t,e){t.data.ref!==e.data.ref&&(Pa(t,!0),Pa(e))},destroy:function(t){Pa(t,!0)}};function Pa(t,e){var n=t.data.ref;if(a(n)){var r=t.context,i=t.componentInstance||t.elm,o=r.$refs;e?Array.isArray(o[n])?b(o[n],i):o[n]===i&&(o[n]=void 0):t.data.refInFor?Array.isArray(o[n])?o[n].indexOf(i)<0&&o[n].push(i):o[n]=[i]:o[n]=i}}var Ea=new yt("",{},[]),ja=["create","activate","update","remove","destroy"];function Ma(t,e){return t.key===e.key&&t.asyncFactory===e.asyncFactory&&(t.tag===e.tag&&t.isComment===e.isComment&&a(t.data)===a(e.data)&&La(t,e)||i(t.isAsyncPlaceholder)&&r(e.asyncFactory.error))}function La(t,e){if("input"!==t.tag)return!0;var n,r=a(n=t.data)&&a(n=n.attrs)&&n.type,i=a(n=e.data)&&a(n=n.attrs)&&n.type;return r===i||la(r)&&la(i)}function Aa(t,e,n){var r,i,o={};for(r=e;r<=n;++r)i=t[r].key,a(i)&&(o[i]=r);return o}function Da(t){var e,n,o={},c=t.modules,u=t.nodeOps;for(e=0;em?(d=r(n[b+1])?null:n[b+1].elm,C(t,d,n,h,b,i)):h>b&&x(e,p,m)}function j(t,e,n,r){for(var i=n;i-1?Va(t,e,n):Hr(e)?Zr(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n)):Rr(e)?t.setAttribute(e,Kr(e,n)):Wr(e)?Zr(n)?t.removeAttributeNS(qr,Gr(e)):t.setAttributeNS(qr,e,n):Va(t,e,n)}function Va(t,e,n){if(Zr(n))t.removeAttribute(e);else{if(tt&&!et&&"TEXTAREA"===t.tagName&&"placeholder"===e&&""!==n&&!t.__ieph){var r=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",r)};t.addEventListener("input",r),t.__ieph=!0}t.setAttribute(e,n)}}var Ka={create:Ua,update:Ua};function Ha(t,e){var n=e.elm,i=e.data,o=t.data;if(!(r(i.staticClass)&&r(i.class)&&(r(o)||r(o.staticClass)&&r(o.class)))){var s=Yr(e),c=n._transitionClasses;a(c)&&(s=Xr(s,ta(c))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var qa,Wa={create:Ha,update:Ha},Ga="__r",Za="__c";function Ya(t){if(a(t[Ga])){var e=tt?"change":"input";t[e]=[].concat(t[Ga],t[e]||[]),delete t[Ga]}a(t[Za])&&(t.change=[].concat(t[Za],t.change||[]),delete t[Za])}function Ja(t,e,n){var r=qa;return function a(){var i=e.apply(null,arguments);null!==i&&ti(t,a,n,r)}}var Qa=se&&!(at&&Number(at[1])<=53);function Xa(t,e,n,r){if(Qa){var a=Gn,i=e;e=i._wrapper=function(t){if(t.target===t.currentTarget||t.timeStamp>=a||t.timeStamp<=0||t.target.ownerDocument!==document)return i.apply(this,arguments)}}qa.addEventListener(t,e,ot?{capture:n,passive:r}:n)}function ti(t,e,n,r){(r||qa).removeEventListener(t,e._wrapper||e,n)}function ei(t,e){if(!r(t.data.on)||!r(e.data.on)){var n=e.data.on||{},a=t.data.on||{};qa=e.elm,Ya(n),we(n,a,Xa,ti,Ja,e.context),qa=void 0}}var ni,ri={create:ei,update:ei};function ai(t,e){if(!r(t.data.domProps)||!r(e.data.domProps)){var n,i,o=e.elm,s=t.data.domProps||{},c=e.data.domProps||{};for(n in a(c.__ob__)&&(c=e.data.domProps=A({},c)),s)n in c||(o[n]="");for(n in c){if(i=c[n],"textContent"===n||"innerHTML"===n){if(e.children&&(e.children.length=0),i===s[n])continue;1===o.childNodes.length&&o.removeChild(o.childNodes[0])}if("value"===n&&"PROGRESS"!==o.tagName){o._value=i;var u=r(i)?"":String(i);ii(o,u)&&(o.value=u)}else if("innerHTML"===n&&ia(o.tagName)&&r(o.innerHTML)){ni=ni||document.createElement("div"),ni.innerHTML="";var l=ni.firstChild;while(o.firstChild)o.removeChild(o.firstChild);while(l.firstChild)o.appendChild(l.firstChild)}else if(i!==s[n])try{o[n]=i}catch(So){}}}}function ii(t,e){return!t.composing&&("OPTION"===t.tagName||oi(t,e)||si(t,e))}function oi(t,e){var n=!0;try{n=document.activeElement!==t}catch(So){}return n&&t.value!==e}function si(t,e){var n=t.value,r=t._vModifiers;if(a(r)){if(r.number)return m(n)!==m(e);if(r.trim)return n.trim()!==e.trim()}return n!==e}var ci={create:ai,update:ai},ui=w((function(t){var e={},n=/;(?![^(]*\))/g,r=/:(.+)/;return t.split(n).forEach((function(t){if(t){var n=t.split(r);n.length>1&&(e[n[0].trim()]=n[1].trim())}})),e}));function li(t){var e=di(t.style);return t.staticStyle?A(t.staticStyle,e):e}function di(t){return Array.isArray(t)?D(t):"string"===typeof t?ui(t):t}function pi(t,e){var n,r={};if(e){var a=t;while(a.componentInstance)a=a.componentInstance._vnode,a&&a.data&&(n=li(a.data))&&A(r,n)}(n=li(t.data))&&A(r,n);var i=t;while(i=i.parent)i.data&&(n=li(i.data))&&A(r,n);return r}var fi,hi=/^--/,mi=/\s*!important$/,vi=function(t,e,n){if(hi.test(e))t.style.setProperty(e,n);else if(mi.test(n))t.style.setProperty(P(e),n.replace(mi,""),"important");else{var r=bi(e);if(Array.isArray(n))for(var a=0,i=n.length;a-1?e.split(wi).forEach((function(e){return t.classList.add(e)})):t.classList.add(e);else{var n=" "+(t.getAttribute("class")||"")+" ";n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function Ci(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(wi).forEach((function(e){return t.classList.remove(e)})):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{var n=" "+(t.getAttribute("class")||"")+" ",r=" "+e+" ";while(n.indexOf(r)>=0)n=n.replace(r," ");n=n.trim(),n?t.setAttribute("class",n):t.removeAttribute("class")}}function Si(t){if(t){if("object"===typeof t){var e={};return!1!==t.css&&A(e,xi(t.name||"v")),A(e,t),e}return"string"===typeof t?xi(t):void 0}}var xi=w((function(t){return{enterClass:t+"-enter",enterToClass:t+"-enter-to",enterActiveClass:t+"-enter-active",leaveClass:t+"-leave",leaveToClass:t+"-leave-to",leaveActiveClass:t+"-leave-active"}})),Pi=Y&&!et,Ei="transition",ji="animation",Mi="transition",Li="transitionend",Ai="animation",Di="animationend";Pi&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(Mi="WebkitTransition",Li="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Ai="WebkitAnimation",Di="webkitAnimationEnd"));var Oi=Y?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function $i(t){Oi((function(){Oi(t)}))}function Ii(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),ki(t,e))}function Ti(t,e){t._transitionClasses&&b(t._transitionClasses,e),Ci(t,e)}function Bi(t,e,n){var r=Ni(t,e),a=r.type,i=r.timeout,o=r.propCount;if(!a)return n();var s=a===Ei?Li:Di,c=0,u=function(){t.removeEventListener(s,l),n()},l=function(e){e.target===t&&++c>=o&&u()};setTimeout((function(){c0&&(n=Ei,l=o,d=i.length):e===ji?u>0&&(n=ji,l=u,d=c.length):(l=Math.max(o,u),n=l>0?o>u?Ei:ji:null,d=n?n===Ei?i.length:c.length:0);var p=n===Ei&&zi.test(r[Mi+"Property"]);return{type:n,timeout:l,propCount:d,hasTransform:p}}function Fi(t,e){while(t.length1}function qi(t,e){!0!==e.data.show&&Ri(e)}var Wi=Y?{create:qi,activate:qi,remove:function(t,e){!0!==t.data.show?Vi(t,e):e()}}:{},Gi=[Ka,Wa,ri,ci,_i,Wi],Zi=Gi.concat(Fa),Yi=Da({nodeOps:Sa,modules:Zi});et&&document.addEventListener("selectionchange",(function(){var t=document.activeElement;t&&t.vmodel&&ao(t,"input")}));var Ji={inserted:function(t,e,n,r){"select"===n.tag?(r.elm&&!r.elm._vOptions?ke(n,"postpatch",(function(){Ji.componentUpdated(t,e,n)})):Qi(t,e,n.context),t._vOptions=[].map.call(t.options,eo)):("textarea"===n.tag||la(t.type))&&(t._vModifiers=e.modifiers,e.modifiers.lazy||(t.addEventListener("compositionstart",no),t.addEventListener("compositionend",ro),t.addEventListener("change",ro),et&&(t.vmodel=!0)))},componentUpdated:function(t,e,n){if("select"===n.tag){Qi(t,e,n.context);var r=t._vOptions,a=t._vOptions=[].map.call(t.options,eo);if(a.some((function(t,e){return!T(t,r[e])}))){var i=t.multiple?e.value.some((function(t){return to(t,a)})):e.value!==e.oldValue&&to(e.value,a);i&&ao(t,"change")}}}};function Qi(t,e,n){Xi(t,e,n),(tt||nt)&&setTimeout((function(){Xi(t,e,n)}),0)}function Xi(t,e,n){var r=e.value,a=t.multiple;if(!a||Array.isArray(r)){for(var i,o,s=0,c=t.options.length;s-1,o.selected!==i&&(o.selected=i);else if(T(eo(o),r))return void(t.selectedIndex!==s&&(t.selectedIndex=s));a||(t.selectedIndex=-1)}}function to(t,e){return e.every((function(e){return!T(e,t)}))}function eo(t){return"_value"in t?t._value:t.value}function no(t){t.target.composing=!0}function ro(t){t.target.composing&&(t.target.composing=!1,ao(t.target,"input"))}function ao(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function io(t){return!t.componentInstance||t.data&&t.data.transition?t:io(t.componentInstance._vnode)}var oo={bind:function(t,e,n){var r=e.value;n=io(n);var a=n.data&&n.data.transition,i=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;r&&a?(n.data.show=!0,Ri(n,(function(){t.style.display=i}))):t.style.display=r?i:"none"},update:function(t,e,n){var r=e.value,a=e.oldValue;if(!r!==!a){n=io(n);var i=n.data&&n.data.transition;i?(n.data.show=!0,r?Ri(n,(function(){t.style.display=t.__vOriginalDisplay})):Vi(n,(function(){t.style.display="none"}))):t.style.display=r?t.__vOriginalDisplay:"none"}},unbind:function(t,e,n,r,a){a||(t.style.display=t.__vOriginalDisplay)}},so={model:Ji,show:oo},co={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function uo(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?uo(Sn(e.children)):t}function lo(t){var e={},n=t.$options;for(var r in n.propsData)e[r]=t[r];var a=n._parentListeners;for(var i in a)e[C(i)]=a[i];return e}function po(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}function fo(t){while(t=t.parent)if(t.data.transition)return!0}function ho(t,e){return e.key===t.key&&e.tag===t.tag}var mo=function(t){return t.tag||$e(t)},vo=function(t){return"show"===t.name},go={name:"transition",props:co,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(mo),n.length)){0;var r=this.mode;0;var a=n[0];if(fo(this.$vnode))return a;var i=uo(a);if(!i)return a;if(this._leaving)return po(t,a);var o="__transition-"+this._uid+"-";i.key=null==i.key?i.isComment?o+"comment":o+i.tag:s(i.key)?0===String(i.key).indexOf(o)?i.key:o+i.key:i.key;var c=(i.data||(i.data={})).transition=lo(this),u=this._vnode,l=uo(u);if(i.data.directives&&i.data.directives.some(vo)&&(i.data.show=!0),l&&l.data&&!ho(i,l)&&!$e(l)&&(!l.componentInstance||!l.componentInstance._vnode.isComment)){var d=l.data.transition=A({},c);if("out-in"===r)return this._leaving=!0,ke(d,"afterLeave",(function(){e._leaving=!1,e.$forceUpdate()})),po(t,a);if("in-out"===r){if($e(i))return u;var p,f=function(){p()};ke(c,"afterEnter",f),ke(c,"enterCancelled",f),ke(d,"delayLeave",(function(t){p=t}))}}return a}}},bo=A({tag:String,moveClass:String},co);delete bo.mode;var yo={props:bo,beforeMount:function(){var t=this,e=this._update;this._update=function(n,r){var a=Dn(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,a(),e.call(t,n,r)}},render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,a=this.$slots.default||[],i=this.children=[],o=lo(this),s=0;sr)e.push(arguments[r++]);return w[++_]=function(){(c(t)?t:Function(t)).apply(void 0,e)},a(_),_},v=function(t){delete w[t]},h?a=function(t){g.nextTick(S(t))}:y&&y.now?a=function(t){y.now(S(t))}:b&&!f?(i=new b,o=i.port2,i.port1.onmessage=x,a=l(o.postMessage,o,1)):s.addEventListener&&c(s.postMessage)&&!s.importScripts&&r&&"file:"!==r.protocol&&!u(P)?(a=P,s.addEventListener("message",x,!1)):a=k in p("script")?function(t){d.appendChild(p("script"))[k]=function(){d.removeChild(this),C(t)}}:function(t){setTimeout(S(t),0)}),t.exports={set:m,clear:v}},"2d00":function(t,e,n){var r,a,i=n("da84"),o=n("342f"),s=i.process,c=i.Deno,u=s&&s.versions||c&&c.version,l=u&&u.v8;l?(r=l.split("."),a=r[0]<4?1:r[0]+r[1]):o&&(r=o.match(/Edge\/(\d+)/),(!r||r[1]>=74)&&(r=o.match(/Chrome\/(\d+)/),r&&(a=r[1]))),t.exports=a&&+a},"2d7c":function(t,e){function n(t,e){var n=-1,r=null==t?0:t.length,a=0,i=[];while(++n=2)t.mixin({beforeCreate:r});else{var n=t.prototype._init;t.prototype._init=function(t){void 0===t&&(t={}),t.init=t.init?[r].concat(t.init):r,n.call(this,t)}}function r(){var t=this.$options;t.store?this.$store="function"===typeof t.store?t.store():t.store:t.parent&&t.parent.$store&&(this.$store=t.parent.$store)}}var r="undefined"!==typeof window?window:"undefined"!==typeof t?t:{},a=r.__VUE_DEVTOOLS_GLOBAL_HOOK__;function i(t){a&&(t._devtoolHook=a,a.emit("vuex:init",t),a.on("vuex:travel-to-state",(function(e){t.replaceState(e)})),t.subscribe((function(t,e){a.emit("vuex:mutation",t,e)}),{prepend:!0}),t.subscribeAction((function(t,e){a.emit("vuex:action",t,e)}),{prepend:!0}))}function o(t,e){return t.filter(e)[0]}function s(t,e){if(void 0===e&&(e=[]),null===t||"object"!==typeof t)return t;var n=o(e,(function(e){return e.original===t}));if(n)return n.copy;var r=Array.isArray(t)?[]:{};return e.push({original:t,copy:r}),Object.keys(t).forEach((function(n){r[n]=s(t[n],e)})),r}function c(t,e){Object.keys(t).forEach((function(n){return e(t[n],n)}))}function u(t){return null!==t&&"object"===typeof t}function l(t){return t&&"function"===typeof t.then}function d(t,e){return function(){return t(e)}}var p=function(t,e){this.runtime=e,this._children=Object.create(null),this._rawModule=t;var n=t.state;this.state=("function"===typeof n?n():n)||{}},f={namespaced:{configurable:!0}};f.namespaced.get=function(){return!!this._rawModule.namespaced},p.prototype.addChild=function(t,e){this._children[t]=e},p.prototype.removeChild=function(t){delete this._children[t]},p.prototype.getChild=function(t){return this._children[t]},p.prototype.hasChild=function(t){return t in this._children},p.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)},p.prototype.forEachChild=function(t){c(this._children,t)},p.prototype.forEachGetter=function(t){this._rawModule.getters&&c(this._rawModule.getters,t)},p.prototype.forEachAction=function(t){this._rawModule.actions&&c(this._rawModule.actions,t)},p.prototype.forEachMutation=function(t){this._rawModule.mutations&&c(this._rawModule.mutations,t)},Object.defineProperties(p.prototype,f);var h=function(t){this.register([],t,!1)};function m(t,e,n){if(e.update(n),n.modules)for(var r in n.modules){if(!e.getChild(r))return void 0;m(t.concat(r),e.getChild(r),n.modules[r])}}h.prototype.get=function(t){return t.reduce((function(t,e){return t.getChild(e)}),this.root)},h.prototype.getNamespace=function(t){var e=this.root;return t.reduce((function(t,n){return e=e.getChild(n),t+(e.namespaced?n+"/":"")}),"")},h.prototype.update=function(t){m([],this.root,t)},h.prototype.register=function(t,e,n){var r=this;void 0===n&&(n=!0);var a=new p(e,n);if(0===t.length)this.root=a;else{var i=this.get(t.slice(0,-1));i.addChild(t[t.length-1],a)}e.modules&&c(e.modules,(function(e,a){r.register(t.concat(a),e,n)}))},h.prototype.unregister=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1],r=e.getChild(n);r&&r.runtime&&e.removeChild(n)},h.prototype.isRegistered=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1];return!!e&&e.hasChild(n)};var v;var g=function(t){var e=this;void 0===t&&(t={}),!v&&"undefined"!==typeof window&&window.Vue&&A(window.Vue);var n=t.plugins;void 0===n&&(n=[]);var r=t.strict;void 0===r&&(r=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new h(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new v,this._makeLocalGettersCache=Object.create(null);var a=this,o=this,s=o.dispatch,c=o.commit;this.dispatch=function(t,e){return s.call(a,t,e)},this.commit=function(t,e,n){return c.call(a,t,e,n)},this.strict=r;var u=this._modules.root.state;k(this,u,[],this._modules.root),w(this,u),n.forEach((function(t){return t(e)}));var l=void 0!==t.devtools?t.devtools:v.config.devtools;l&&i(this)},b={state:{configurable:!0}};function y(t,e,n){return e.indexOf(t)<0&&(n&&n.prepend?e.unshift(t):e.push(t)),function(){var n=e.indexOf(t);n>-1&&e.splice(n,1)}}function _(t,e){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var n=t.state;k(t,n,[],t._modules.root,!0),w(t,n,e)}function w(t,e,n){var r=t._vm;t.getters={},t._makeLocalGettersCache=Object.create(null);var a=t._wrappedGetters,i={};c(a,(function(e,n){i[n]=d(e,t),Object.defineProperty(t.getters,n,{get:function(){return t._vm[n]},enumerable:!0})}));var o=v.config.silent;v.config.silent=!0,t._vm=new v({data:{$$state:e},computed:i}),v.config.silent=o,t.strict&&j(t),r&&(n&&t._withCommit((function(){r._data.$$state=null})),v.nextTick((function(){return r.$destroy()})))}function k(t,e,n,r,a){var i=!n.length,o=t._modules.getNamespace(n);if(r.namespaced&&(t._modulesNamespaceMap[o],t._modulesNamespaceMap[o]=r),!i&&!a){var s=M(e,n.slice(0,-1)),c=n[n.length-1];t._withCommit((function(){v.set(s,c,r.state)}))}var u=r.context=C(t,o,n);r.forEachMutation((function(e,n){var r=o+n;x(t,r,e,u)})),r.forEachAction((function(e,n){var r=e.root?n:o+n,a=e.handler||e;P(t,r,a,u)})),r.forEachGetter((function(e,n){var r=o+n;E(t,r,e,u)})),r.forEachChild((function(r,i){k(t,e,n.concat(i),r,a)}))}function C(t,e,n){var r=""===e,a={dispatch:r?t.dispatch:function(n,r,a){var i=L(n,r,a),o=i.payload,s=i.options,c=i.type;return s&&s.root||(c=e+c),t.dispatch(c,o)},commit:r?t.commit:function(n,r,a){var i=L(n,r,a),o=i.payload,s=i.options,c=i.type;s&&s.root||(c=e+c),t.commit(c,o,s)}};return Object.defineProperties(a,{getters:{get:r?function(){return t.getters}:function(){return S(t,e)}},state:{get:function(){return M(t.state,n)}}}),a}function S(t,e){if(!t._makeLocalGettersCache[e]){var n={},r=e.length;Object.keys(t.getters).forEach((function(a){if(a.slice(0,r)===e){var i=a.slice(r);Object.defineProperty(n,i,{get:function(){return t.getters[a]},enumerable:!0})}})),t._makeLocalGettersCache[e]=n}return t._makeLocalGettersCache[e]}function x(t,e,n,r){var a=t._mutations[e]||(t._mutations[e]=[]);a.push((function(e){n.call(t,r.state,e)}))}function P(t,e,n,r){var a=t._actions[e]||(t._actions[e]=[]);a.push((function(e){var a=n.call(t,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:t.getters,rootState:t.state},e);return l(a)||(a=Promise.resolve(a)),t._devtoolHook?a.catch((function(e){throw t._devtoolHook.emit("vuex:error",e),e})):a}))}function E(t,e,n,r){t._wrappedGetters[e]||(t._wrappedGetters[e]=function(t){return n(r.state,r.getters,t.state,t.getters)})}function j(t){t._vm.$watch((function(){return this._data.$$state}),(function(){0}),{deep:!0,sync:!0})}function M(t,e){return e.reduce((function(t,e){return t[e]}),t)}function L(t,e,n){return u(t)&&t.type&&(n=e,e=t,t=t.type),{type:t,payload:e,options:n}}function A(t){v&&t===v||(v=t,n(v))}b.state.get=function(){return this._vm._data.$$state},b.state.set=function(t){0},g.prototype.commit=function(t,e,n){var r=this,a=L(t,e,n),i=a.type,o=a.payload,s=(a.options,{type:i,payload:o}),c=this._mutations[i];c&&(this._withCommit((function(){c.forEach((function(t){t(o)}))})),this._subscribers.slice().forEach((function(t){return t(s,r.state)})))},g.prototype.dispatch=function(t,e){var n=this,r=L(t,e),a=r.type,i=r.payload,o={type:a,payload:i},s=this._actions[a];if(s){try{this._actionSubscribers.slice().filter((function(t){return t.before})).forEach((function(t){return t.before(o,n.state)}))}catch(u){0}var c=s.length>1?Promise.all(s.map((function(t){return t(i)}))):s[0](i);return new Promise((function(t,e){c.then((function(e){try{n._actionSubscribers.filter((function(t){return t.after})).forEach((function(t){return t.after(o,n.state)}))}catch(u){0}t(e)}),(function(t){try{n._actionSubscribers.filter((function(t){return t.error})).forEach((function(e){return e.error(o,n.state,t)}))}catch(u){0}e(t)}))}))}},g.prototype.subscribe=function(t,e){return y(t,this._subscribers,e)},g.prototype.subscribeAction=function(t,e){var n="function"===typeof t?{before:t}:t;return y(n,this._actionSubscribers,e)},g.prototype.watch=function(t,e,n){var r=this;return this._watcherVM.$watch((function(){return t(r.state,r.getters)}),e,n)},g.prototype.replaceState=function(t){var e=this;this._withCommit((function(){e._vm._data.$$state=t}))},g.prototype.registerModule=function(t,e,n){void 0===n&&(n={}),"string"===typeof t&&(t=[t]),this._modules.register(t,e),k(this,this.state,t,this._modules.get(t),n.preserveState),w(this,this.state)},g.prototype.unregisterModule=function(t){var e=this;"string"===typeof t&&(t=[t]),this._modules.unregister(t),this._withCommit((function(){var n=M(e.state,t.slice(0,-1));v.delete(n,t[t.length-1])})),_(this)},g.prototype.hasModule=function(t){return"string"===typeof t&&(t=[t]),this._modules.isRegistered(t)},g.prototype.hotUpdate=function(t){this._modules.update(t),_(this,!0)},g.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties(g.prototype,b);var D=N((function(t,e){var n={};return B(e).forEach((function(e){var r=e.key,a=e.val;n[r]=function(){var e=this.$store.state,n=this.$store.getters;if(t){var r=F(this.$store,"mapState",t);if(!r)return;e=r.context.state,n=r.context.getters}return"function"===typeof a?a.call(this,e,n):e[a]},n[r].vuex=!0})),n})),O=N((function(t,e){var n={};return B(e).forEach((function(e){var r=e.key,a=e.val;n[r]=function(){var e=[],n=arguments.length;while(n--)e[n]=arguments[n];var r=this.$store.commit;if(t){var i=F(this.$store,"mapMutations",t);if(!i)return;r=i.context.commit}return"function"===typeof a?a.apply(this,[r].concat(e)):r.apply(this.$store,[a].concat(e))}})),n})),$=N((function(t,e){var n={};return B(e).forEach((function(e){var r=e.key,a=e.val;a=t+a,n[r]=function(){if(!t||F(this.$store,"mapGetters",t))return this.$store.getters[a]},n[r].vuex=!0})),n})),I=N((function(t,e){var n={};return B(e).forEach((function(e){var r=e.key,a=e.val;n[r]=function(){var e=[],n=arguments.length;while(n--)e[n]=arguments[n];var r=this.$store.dispatch;if(t){var i=F(this.$store,"mapActions",t);if(!i)return;r=i.context.dispatch}return"function"===typeof a?a.apply(this,[r].concat(e)):r.apply(this.$store,[a].concat(e))}})),n})),T=function(t){return{mapState:D.bind(null,t),mapGetters:$.bind(null,t),mapMutations:O.bind(null,t),mapActions:I.bind(null,t)}};function B(t){return z(t)?Array.isArray(t)?t.map((function(t){return{key:t,val:t}})):Object.keys(t).map((function(e){return{key:e,val:t[e]}})):[]}function z(t){return Array.isArray(t)||u(t)}function N(t){return function(e,n){return"string"!==typeof e?(n=e,e=""):"/"!==e.charAt(e.length-1)&&(e+="/"),t(e,n)}}function F(t,e,n){var r=t._modulesNamespaceMap[n];return r}function U(t){void 0===t&&(t={});var e=t.collapsed;void 0===e&&(e=!0);var n=t.filter;void 0===n&&(n=function(t,e,n){return!0});var r=t.transformer;void 0===r&&(r=function(t){return t});var a=t.mutationTransformer;void 0===a&&(a=function(t){return t});var i=t.actionFilter;void 0===i&&(i=function(t,e){return!0});var o=t.actionTransformer;void 0===o&&(o=function(t){return t});var c=t.logMutations;void 0===c&&(c=!0);var u=t.logActions;void 0===u&&(u=!0);var l=t.logger;return void 0===l&&(l=console),function(t){var d=s(t.state);"undefined"!==typeof l&&(c&&t.subscribe((function(t,i){var o=s(i);if(n(t,d,o)){var c=K(),u=a(t),p="mutation "+t.type+c;R(l,p,e),l.log("%c prev state","color: #9E9E9E; font-weight: bold",r(d)),l.log("%c mutation","color: #03A9F4; font-weight: bold",u),l.log("%c next state","color: #4CAF50; font-weight: bold",r(o)),V(l)}d=o})),u&&t.subscribeAction((function(t,n){if(i(t,n)){var r=K(),a=o(t),s="action "+t.type+r;R(l,s,e),l.log("%c action","color: #03A9F4; font-weight: bold",a),V(l)}})))}}function R(t,e,n){var r=n?t.groupCollapsed:t.group;try{r.call(t,e)}catch(a){t.log(e)}}function V(t){try{t.groupEnd()}catch(e){t.log("—— log end ——")}}function K(){var t=new Date;return" @ "+q(t.getHours(),2)+":"+q(t.getMinutes(),2)+":"+q(t.getSeconds(),2)+"."+q(t.getMilliseconds(),3)}function H(t,e){return new Array(e+1).join(t)}function q(t,e){return H("0",e-t.toString().length)+t}var W={Store:g,install:A,version:"3.6.2",mapState:D,mapMutations:O,mapGetters:$,mapActions:I,createNamespacedHelpers:T,createLogger:U};e["a"]=W}).call(this,n("c8ba"))},"2f87":function(t,e,n){},"2fcc":function(t,e){function n(t){var e=this.__data__,n=e["delete"](t);return this.size=e.size,n}t.exports=n},3053:function(t,e,n){},3072:function(t,e){var n=' ';t.exports=n},3099:function(t,e){var n=' ';t.exports=n},"30b5":function(t,e,n){"use strict";var r=n("c532");function a(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,e,n){if(!e)return t;var i;if(n)i=n(e);else if(r.isURLSearchParams(e))i=e.toString();else{var o=[];r.forEach(e,(function(t,e){null!==t&&"undefined"!==typeof t&&(r.isArray(t)?e+="[]":t=[t],r.forEach(t,(function(t){r.isDate(t)?t=t.toISOString():r.isObject(t)&&(t=JSON.stringify(t)),o.push(a(e)+"="+a(t))})))})),i=o.join("&")}if(i){var s=t.indexOf("#");-1!==s&&(t=t.slice(0,s)),t+=(-1===t.indexOf("?")?"?":"&")+i}return t}},"30c9":function(t,e,n){var r=n("9520"),a=n("b218");function i(t){return null!=t&&a(t.length)&&!r(t)}t.exports=i},"32f4":function(t,e,n){var r=n("2d7c"),a=n("d327"),i=Object.prototype,o=i.propertyIsEnumerable,s=Object.getOwnPropertySymbols,c=s?function(t){return null==t?[]:(t=Object(t),r(s(t),(function(e){return o.call(t,e)})))}:a;t.exports=c},"342f":function(t,e,n){var r=n("d066");t.exports=r("navigator","userAgent")||""},"34ac":function(t,e,n){var r=n("9520"),a=n("1368"),i=n("1a8c"),o=n("dc57"),s=/[\\^$.*+?()[\]{}|]/g,c=/^\[object .+?Constructor\]$/,u=Function.prototype,l=Object.prototype,d=u.toString,p=l.hasOwnProperty,f=RegExp("^"+d.call(p).replace(s,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function h(t){if(!i(t)||a(t))return!1;var e=r(t)?f:c;return e.test(o(t))}t.exports=h},"34e4":function(t,e){var n=' ';t.exports=n},"35a1":function(t,e,n){var r=n("f5df"),a=n("dc4a"),i=n("3f8c"),o=n("b622"),s=o("iterator");t.exports=function(t){if(void 0!=t)return a(t,s)||a(t,"@@iterator")||i[r(t)]}},"365e":function(t,e,n){"use strict";n("399b")},3698:function(t,e){function n(t,e){return null==t?void 0:t[e]}t.exports=n},"36b0":function(t,e,n){"use strict";n("3053")},3729:function(t,e,n){var r=n("9e69"),a=n("00fd"),i=n("29f3"),o="[object Null]",s="[object Undefined]",c=r?r.toStringTag:void 0;function u(t){return null==t?void 0===t?s:o:c&&c in Object(t)?a(t):i(t)}t.exports=u},"37e8":function(t,e,n){var r=n("83ab"),a=n("9bf2"),i=n("825a"),o=n("df75");t.exports=r?Object.defineProperties:function(t,e){i(t);var n,r=o(e),s=r.length,c=0;while(s>c)a.f(t,n=r[c++],e[n]);return t}},"37ef":function(t,e){var n=' ';t.exports=n},3835:function(t,e,n){"use strict";function r(t){if(Array.isArray(t))return t}n.d(e,"a",(function(){return s}));n("a4d3"),n("e01a"),n("d3b7"),n("d28b"),n("3ca3"),n("ddb0");function a(t,e){var n=null==t?null:"undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,a,i=[],o=!0,s=!1;try{for(n=n.call(t);!(o=(r=n.next()).done);o=!0)if(i.push(r.value),e&&i.length===e)break}catch(c){s=!0,a=c}finally{try{o||null==n["return"]||n["return"]()}finally{if(s)throw a}}return i}}var i=n("06c5");function o(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function s(t,e){return r(t)||a(t,e)||Object(i["a"])(t,e)||o()}},"387f":function(t,e,n){"use strict";t.exports=function(t,e,n,r,a){return t.config=e,n&&(t.code=n),t.request=r,t.response=a,t.isAxiosError=!0,t.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},t}},3934:function(t,e,n){"use strict";var r=n("c532");t.exports=r.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function a(t){var r=t;return e&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return t=a(window.location.href),function(e){var n=r.isString(e)?a(e):e;return n.protocol===t.protocol&&n.host===t.host}}():function(){return function(){return!0}}()},"399b":function(t,e,n){},"39ff":function(t,e,n){var r=n("0b07"),a=n("2b3e"),i=r(a,"WeakMap");t.exports=i},"3bbe":function(t,e,n){var r=n("1626");t.exports=function(t){if("object"===typeof t||r(t))return t;throw TypeError("Can't set "+String(t)+" as a prototype")}},"3ca3":function(t,e,n){"use strict";var r=n("6547").charAt,a=n("577e"),i=n("69f3"),o=n("7dd0"),s="String Iterator",c=i.set,u=i.getterFor(s);o(String,"String",(function(t){c(this,{type:s,string:a(t),index:0})}),(function(){var t,e=u(this),n=e.string,a=e.index;return a>=n.length?{value:void 0,done:!0}:(t=r(n,a),e.index+=t.length,{value:t,done:!1})}))},"3f8c":function(t,e){t.exports={}},"3f8e":function(t,e,n){},4049:function(t,e){var n=' ';t.exports=n},"408a":function(t,e){var n=1..valueOf;t.exports=function(t){return n.call(t)}},"40f8":function(t,e){var n='';t.exports=n},4245:function(t,e,n){var r=n("1290");function a(t,e){var n=t.__data__;return r(e)?n["string"==typeof e?"string":"hash"]:n.map}t.exports=a},"424b":function(t,e){var n=' ';t.exports=n},4284:function(t,e){function n(t,e){var n=-1,r=null==t?0:t.length;while(++n0&&this.email.length>0&&this.employCount.length>0&&this.phone.length>0&&this.email.match(this.emailRegex)}},methods:{clearErrors:function(){this.errors=[]},submit:function(){this.checkValidation()&&this.send()},checkValidation:function(){this.errors=[];var t=!0;return 0===this.name.length||0===this.email.length||0===this.employCount.length?(t=!1,this.errors.push(this.$t("corporateSubscription.error.required"))):this.email.match(this.emailRegex)||(t=!1,this.errors.push(this.$t("corporateSubscription.error.email"))),window.shakeElement("corporateFormError"),t},send:function(){var t=this;return Object(i["a"])(regeneratorRuntime.mark((function e(){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t.waiting=!0,n=window.switchLiveUrlsToNeo("//".concat("www",".delfi.lv/par-delfi-plus/sendCorporateEmailAxios.php")),e.next=4,s()({url:n,method:"post",data:JSON.stringify({email:t.email,phone:t.phone,name:t.name,count:t.employCount,note:t.note})}).then((function(e){e&&"success"===e.data?(t.success=!0,t.waiting=!1):(t.errors.push(t.$t("errors.somethingWentWrong")),t.waiting=!1)}),(function(e){t.waiting=!1,t.errors.push(t.$t("errors.somethingWentWrong")),console.log("send corp error",e)}));case 4:case"end":return e.stop()}}),e)})))()}}},v=m,g=(n("fba7"),n("2877")),b=Object(g["a"])(v,r,a,!1,null,"5d656cb4",null);e["a"]=b.exports},"44d2":function(t,e,n){var r=n("b622"),a=n("7c73"),i=n("9bf2"),o=r("unscopables"),s=Array.prototype;void 0==s[o]&&i.f(s,o,{configurable:!0,value:a(null)}),t.exports=function(t){s[o][t]=!0}},"44de":function(t,e,n){var r=n("da84");t.exports=function(t,e){var n=r.console;n&&n.error&&(1===arguments.length?n.error(t):n.error(t,e))}},"44e7":function(t,e,n){var r=n("861d"),a=n("c6b6"),i=n("b622"),o=i("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[o])?!!e:"RegExp"==a(t))}},"466d":function(t,e,n){"use strict";var r=n("d784"),a=n("825a"),i=n("50c4"),o=n("577e"),s=n("1d80"),c=n("dc4a"),u=n("8aa5"),l=n("14c3");r("match",(function(t,e,n){return[function(e){var n=s(this),r=void 0==e?void 0:c(e,t);return r?r.call(e,n):new RegExp(e)[t](o(n))},function(t){var r=a(this),s=o(t),c=n(e,r,s);if(c.done)return c.value;if(!r.global)return l(r,s);var d=r.unicode;r.lastIndex=0;var p,f=[],h=0;while(null!==(p=l(r,s))){var m=o(p[0]);f[h]=m,""===m&&(r.lastIndex=u(s,i(r.lastIndex),d)),h++}return 0===h?null:f}]}))},"467f":function(t,e,n){"use strict";var r=n("2d83");t.exports=function(t,e,n){var a=n.config.validateStatus;!a||a(n.status)?t(n):e(r("Request failed with status code "+n.status,n.config,null,n.request,n))}},4840:function(t,e,n){var r=n("825a"),a=n("5087"),i=n("b622"),o=i("species");t.exports=function(t,e){var n,i=r(t).constructor;return void 0===i||void 0==(n=r(i)[o])?e:a(n)}},"485a":function(t,e,n){var r=n("1626"),a=n("861d");t.exports=function(t,e){var n,i;if("string"===e&&r(n=t.toString)&&!a(i=n.call(t)))return i;if(r(n=t.valueOf)&&!a(i=n.call(t)))return i;if("string"!==e&&r(n=t.toString)&&!a(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},4930:function(t,e,n){var r=n("2d00"),a=n("d039");t.exports=!!Object.getOwnPropertySymbols&&!a((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},"493e":function(t,e){var n=' ';t.exports=n},"49d8":function(t,e,n){"use strict";n("3f8e")},"49f4":function(t,e,n){var r=n("6044");function a(){this.__data__=r?r(null):{},this.size=0}t.exports=a},"4a7b":function(t,e,n){"use strict";var r=n("c532");t.exports=function(t,e){e=e||{};var n={},a=["url","method","params","data"],i=["headers","auth","proxy"],o=["baseURL","url","transformRequest","transformResponse","paramsSerializer","timeout","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","maxContentLength","validateStatus","maxRedirects","httpAgent","httpsAgent","cancelToken","socketPath"];r.forEach(a,(function(t){"undefined"!==typeof e[t]&&(n[t]=e[t])})),r.forEach(i,(function(a){r.isObject(e[a])?n[a]=r.deepMerge(t[a],e[a]):"undefined"!==typeof e[a]?n[a]=e[a]:r.isObject(t[a])?n[a]=r.deepMerge(t[a]):"undefined"!==typeof t[a]&&(n[a]=t[a])})),r.forEach(o,(function(r){"undefined"!==typeof e[r]?n[r]=e[r]:"undefined"!==typeof t[r]&&(n[r]=t[r])}));var s=a.concat(i).concat(o),c=Object.keys(e).filter((function(t){return-1===s.indexOf(t)}));return r.forEach(c,(function(r){"undefined"!==typeof e[r]?n[r]=e[r]:"undefined"!==typeof t[r]&&(n[r]=t[r])})),n}},"4b2c":function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"G-row",class:"C-input__phone-container--"+t.messageType},[n("div",{staticClass:"G-col-5 C-input__country-code-container"},[n("CustomSelect",{attrs:{value:t.value.code,options:t.countryCodes,placeholder:"+371"},on:{input:function(e){return t.trackChanges("code",e)}}})],1),n("div",{staticClass:"G-col C-input__phone-number-container"},[n("div",{staticClass:"C-input"},[n("input",{attrs:{id:t.id,placeholder:t.placeholder,type:"text",inputmode:t.inputMode,autocomplete:t.autocomplete,pattern:"\\d*",maxlength:"13"},domProps:{value:t.value.number},on:{input:function(e){return t.trackChanges("number",e.target.value)},keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.$emit("enterPress")}}})])]),t.message.length>0?n("div",{staticClass:"C-input__message"},[t._v(" "+t._s(t.message)+" ")]):t._e()])},a=[],i=(n("a9e3"),n("c7e7")),o={components:{CustomSelect:i["a"]},props:{value:[String,Number,Object],type:String,name:String,placeholder:String,id:String,inputMode:String,pattern:String,autocomplete:String,messageType:String,message:{type:String,default:""},options:Array},data:function(){return{phone:{code:"",number:""},countryCodes:[{name:"Afghanistan (+93)",value:93},{name:"Albania (+355)",value:355},{name:"Algeria (+213)",value:213},{name:"American Samoa (+1684)",value:1684},{name:"Andorra (+376)",value:376},{name:"Angola (+244)",value:244},{name:"Anguilla (+1264)",value:1264},{name:"Antarctica (+672)",value:672},{name:"Antigua and Barbuda (+1268)",value:1268},{name:"Argentina (+54)",value:54},{name:"Armenia (+374)",value:374},{name:"Aruba (+297)",value:297},{name:"Australia (+61)",value:61},{name:"Austria (+43)",value:43},{name:"Azerbaijan (+994)",value:994},{name:"Bahamas (+1242)",value:1242},{name:"Bahrain (+973)",value:973},{name:"Bangladesh (+880)",value:880},{name:"Barbados (+1246)",value:1246},{name:"Belarus (+375)",value:375},{name:"Belgium (+32)",value:32},{name:"Belize (+501)",value:501},{name:"Benin (+229)",value:229},{name:"Bermuda (+1441)",value:1441},{name:"Bhutan (+975)",value:975},{name:"Bolivia (+591)",value:591},{name:"Bosnia and Herzegovina (+387)",value:387},{name:"Botswana (+267)",value:267},{name:"Brazil (+55)",value:55},{name:"British Indian Ocean Territory (+246)",value:246},{name:"British Virgin Islands (+1284)",value:1284},{name:"Brunei (+673)",value:673},{name:"Bulgaria (+359)",value:359},{name:"Burkina Faso (+226)",value:226},{name:"Burundi (+257)",value:257},{name:"Cambodia (+855)",value:855},{name:"Cameroon (+237)",value:237},{name:"Canada (+1)",value:1},{name:"Cape Verde (+238)",value:238},{name:"Cayman Islands (+1345)",value:1345},{name:"Central African Republic (+236)",value:236},{name:"Chad (+235)",value:235},{name:"Chile (+56)",value:56},{name:"China (+86)",value:86},{name:"Christmas Island (+61)",value:61},{name:"Cocos Islands (+61)",value:61},{name:"Colombia (+57)",value:57},{name:"Comoros (+269)",value:269},{name:"Cook Islands (+682)",value:682},{name:"Costa Rica (+506)",value:506},{name:"Croatia (+385)",value:385},{name:"Cuba (+53)",value:53},{name:"Curacao (+599)",value:599},{name:"Cyprus (+357)",value:357},{name:"Czech Republic (+420)",value:420},{name:"Democratic Republic of the Congo (+243)",value:243},{name:"Denmark (+45)",value:45},{name:"Djibouti (+253)",value:253},{name:"Dominica (+1767)",value:1767},{name:"Dominican Republic (+1809)",value:1809},{name:"East Timor (+670)",value:670},{name:"Ecuador (+593)",value:593},{name:"Egypt (+20)",value:20},{name:"El Salvador (+503)",value:503},{name:"Equatorial Guinea (+240)",value:240},{name:"Eritrea (+291)",value:291},{name:"Estonia (+372)",value:372},{name:"Ethiopia (+251)",value:251},{name:"Falkland Islands (+500)",value:500},{name:"Faroe Islands (+298)",value:298},{name:"Fiji (+679)",value:679},{name:"Finland (+358)",value:358},{name:"France (+33)",value:33},{name:"French Polynesia (+689)",value:689},{name:"Gabon (+241)",value:241},{name:"Gambia (+220)",value:220},{name:"Georgia (+995)",value:995},{name:"Germany (+49)",value:49},{name:"Ghana (+233)",value:233},{name:"Gibraltar (+350)",value:350},{name:"Greece (+30)",value:30},{name:"Greenland (+299)",value:299},{name:"Grenada (+1473)",value:1473},{name:"Guam (+1671)",value:1671},{name:"Guatemala (+502)",value:502},{name:"Guinea (+224)",value:224},{name:"Guinea-Bissau (+245)",value:245},{name:"Guyana (+592)",value:592},{name:"Haiti (+509)",value:509},{name:"Honduras (+504)",value:504},{name:"Hong Kong (+852)",value:852},{name:"Hungary (+36)",value:36},{name:"Iceland (+354)",value:354},{name:"India (+91)",value:91},{name:"Indonesia (+62)",value:62},{name:"Iran (+98)",value:98},{name:"Iraq (+964)",value:964},{name:"Ireland (+353)",value:353},{name:"Israel (+972)",value:972},{name:"Italy (+39)",value:39},{name:"Ivory Coast (+225)",value:225},{name:"Jamaica (+1876)",value:1876},{name:"Japan (+81)",value:81},{name:"Jordan (+962)",value:962},{name:"Kazakhstan (+7)",value:7},{name:"Kenya (+254)",value:254},{name:"Kiribati (+686)",value:686},{name:"Kosovo (+383)",value:383},{name:"Kuwait (+965)",value:965},{name:"Kyrgyzstan (+996)",value:996},{name:"Laos (+856)",value:856},{name:"Latvia (+371)",value:371},{name:"Lebanon (+961)",value:961},{name:"Lesotho (+266)",value:266},{name:"Liberia (+231)",value:231},{name:"Libya (+218)",value:218},{name:"Liechtenstein (+423)",value:423},{name:"Lithuania (+370)",value:370},{name:"Luxembourg (+352)",value:352},{name:"Macau (+853)",value:853},{name:"Macedonia (+389)",value:389},{name:"Madagascar (+261)",value:261},{name:"Malawi (+265)",value:265},{name:"Malaysia (+60)",value:60},{name:"Maldives (+960)",value:960},{name:"Mali (+223)",value:223},{name:"Malta (+356)",value:356},{name:"Marshall Islands (+692)",value:692},{name:"Mauritania (+222)",value:222},{name:"Mauritius (+230)",value:230},{name:"Mayotte (+262)",value:262},{name:"Mexico (+52)",value:52},{name:"Micronesia (+691)",value:691},{name:"Moldova (+373)",value:373},{name:"Monaco (+377)",value:377},{name:"Mongolia (+976)",value:976},{name:"Montenegro (+382)",value:382},{name:"Montserrat (+1664)",value:1664},{name:"Morocco (+212)",value:212},{name:"Mozambique (+258)",value:258},{name:"Myanmar (+95)",value:95},{name:"Namibia (+264)",value:264},{name:"Nauru (+674)",value:674},{name:"Nepal (+977)",value:977},{name:"Netherlands (+31)",value:31},{name:"Netherlands Antilles (+599)",value:599},{name:"New Caledonia (+687)",value:687},{name:"New Zealand (+64)",value:64},{name:"Nicaragua (+505)",value:505},{name:"Niger (+227)",value:227},{name:"Nigeria (+234)",value:234},{name:"Niue (+683)",value:683},{name:"North Korea (+850)",value:850},{name:"Northern Mariana Islands (+1670)",value:1670},{name:"Norway (+47)",value:47},{name:"Oman (+968)",value:968},{name:"Pakistan (+92)",value:92},{name:"Palau (+680)",value:680},{name:"Palestine (+970)",value:970},{name:"Panama (+507)",value:507},{name:"Papua New Guinea (+675)",value:675},{name:"Paraguay (+595)",value:595},{name:"Peru (+51)",value:51},{name:"Philippines (+63)",value:63},{name:"Pitcairn (+64)",value:64},{name:"Poland (+48)",value:48},{name:"Portugal (+351)",value:351},{name:"Puerto Rico (+1939)",value:1939},{name:"Qatar (+974)",value:974},{name:"Republic of the Congo (+242)",value:242},{name:"Reunion (+262)",value:262},{name:"Romania (+40)",value:40},{name:"Russia (+7)",value:7},{name:"Rwanda (+250)",value:250},{name:"Saint Barthelemy (+590)",value:590},{name:"Saint Helena (+290)",value:290},{name:"Saint Kitts and Nevis (+1869)",value:1869},{name:"Saint Lucia (+1758)",value:1758},{name:"Saint Martin (+590)",value:590},{name:"Saint Pierre and Miquelon (+508)",value:508},{name:"Saint Vincent and the Grenadines (+1784)",value:1784},{name:"Samoa (+685)",value:685},{name:"San Marino (+378)",value:378},{name:"Sao Tome and Principe (+239)",value:239},{name:"Saudi Arabia (+966)",value:966},{name:"Senegal (+221)",value:221},{name:"Serbia (+381)",value:381},{name:"Seychelles (+248)",value:248},{name:"Sierra Leone (+232)",value:232},{name:"Singapore (+65)",value:65},{name:"Sint Maarten (+1721)",value:1721},{name:"Slovakia (+421)",value:421},{name:"Slovenia (+386)",value:386},{name:"Solomon Islands (+677)",value:677},{name:"Somalia (+252)",value:252},{name:"South Africa (+27)",value:27},{name:"South Korea (+82)",value:82},{name:"South Sudan (+211)",value:211},{name:"Spain (+34)",value:34},{name:"Sri Lanka (+94)",value:94},{name:"Sudan (+249)",value:249},{name:"Suriname (+597)",value:597},{name:"Svalbard and Jan Mayen (+47)",value:47},{name:"Swaziland (+268)",value:268},{name:"Sweden (+46)",value:46},{name:"Switzerland (+41)",value:41},{name:"Syria (+963)",value:963},{name:"Taiwan (+886)",value:886},{name:"Tajikistan (+992)",value:992},{name:"Tanzania (+255)",value:255},{name:"Thailand (+66)",value:66},{name:"Togo (+228)",value:228},{name:"Tokelau (+690)",value:690},{name:"Tonga (+676)",value:676},{name:"Trinidad and Tobago (+1868)",value:1868},{name:"Tunisia (+216)",value:216},{name:"Turkey (+90)",value:90},{name:"Turkmenistan (+993)",value:993},{name:"Turks and Caicos Islands (+1649)",value:1649},{name:"Tuvalu (+688)",value:688},{name:"U.S. Virgin Islands (+1340)",value:1340},{name:"Uganda (+256)",value:256},{name:"Ukraine (+380)",value:380},{name:"United Arab Emirates (+971)",value:971},{name:"United Kingdom (+44)",value:44},{name:"United States (+1)",value:1},{name:"Uruguay (+598)",value:598},{name:"Uzbekistan (+998)",value:998},{name:"Vanuatu (+678)",value:678},{name:"Vatican (+379)",value:379},{name:"Venezuela (+58)",value:58},{name:"Vietnam (+84)",value:84},{name:"Wallis and Futuna (+681)",value:681},{name:"Western Sahara (+212)",value:212},{name:"Yemen (+967)",value:967},{name:"Zambia (+260)",value:260},{name:"Zimbabwe (+263)",value:263}]}},created:function(){this.date={code:this.value.code,number:this.value.number}},watch:{value:function(){this.phone={code:this.value.code,number:this.value.number}}},methods:{trackChanges:function(t,e){console.log("we try"),this.phone[t]=e,this.$emit("input",this.phone)}}},s=o,c=(n("36b0"),n("2877")),u=Object(c["a"])(s,r,a,!1,null,null,null);e["a"]=u.exports},"4d64":function(t,e,n){var r=n("fc6a"),a=n("50c4"),i=n("23cb"),o=function(t){return function(e,n,o){var s,c=r(e),u=a(c.length),l=i(o,u);if(t&&n!=n){while(u>l)if(s=c[l++],s!=s)return!0}else for(;u>l;l++)if((t||l in c)&&c[l]===n)return t||l||0;return!t&&-1}};t.exports={includes:o(!0),indexOf:o(!1)}},"4de4":function(t,e,n){"use strict";var r=n("23e7"),a=n("b727").filter,i=n("1dde"),o=i("filter");r({target:"Array",proto:!0,forced:!o},{filter:function(t){return a(this,t,arguments.length>1?arguments[1]:void 0)}})},"4df4":function(t,e,n){"use strict";var r=n("0366"),a=n("7b0b"),i=n("9bdd"),o=n("e95a"),s=n("68ee"),c=n("50c4"),u=n("8418"),l=n("9a1f"),d=n("35a1");t.exports=function(t){var e=a(t),n=s(this),p=arguments.length,f=p>1?arguments[1]:void 0,h=void 0!==f;h&&(f=r(f,p>2?arguments[2]:void 0,2));var m,v,g,b,y,_,w=d(e),k=0;if(!w||this==Array&&o(w))for(m=c(e.length),v=n?new this(m):Array(m);m>k;k++)_=h?f(e[k],k):e[k],u(v,k,_);else for(b=l(e,w),y=b.next,v=n?new this:[];!(g=y.call(b)).done;k++)_=h?i(b,f,[g.value,k],!0):g.value,u(v,k,_);return v.length=k,v}},"4f55":function(t,e,n){"use strict";n("9786")},"4f73":function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"C-corporate-offer__container"},[n("div",{staticClass:"C-corporate-offer"},[n("div",{staticClass:"C-corporate-offer__title"},[t._v(" "+t._s(t.$t("corporateSubscription.block.title"))+" ")]),n("div",{staticClass:"C-corporate-offer__subtitle",domProps:{innerHTML:t._s(t.$t("corporateSubscription.block.subtitle"))}}),n("div",{staticClass:"C-corporate-offer__products"},[n("LabelWithCheckMark",{attrs:{text:t.$t("product.DELFIPLUS")}}),n("LabelWithCheckMark",{attrs:{text:t.$t("product.MVP")}}),n("LabelWithCheckMark",{attrs:{text:t.$t("product.BUSINESS")}})],1),n("BaseButton",{staticClass:"C-account__button C-account__button--primary",nativeOn:{click:function(e){return t.$emit("showCorporateModal")}}},[t._v(" "+t._s(t.$t("corporateSubscription.block.button"))+" ")]),n("div",{staticClass:"C-corporate-offer__note",domProps:{innerHTML:t._s(t.$t("corporateSubscription.block.note"))}})],1)])},a=[],i=n("85f4"),o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"C-check-mark-label"},[t._v(" "+t._s(t.text)+" ")])},s=[],c={props:{text:{type:String,default:""}}},u=c,l=(n("bf7e"),n("2877")),d=Object(l["a"])(u,o,s,!1,null,"427adb05",null),p=d.exports,f={components:{BaseButton:i["BaseButton"],LabelWithCheckMark:p}},h=f,m=(n("5802"),Object(l["a"])(h,r,a,!1,null,"73cf74a8",null));e["a"]=m.exports},"4f9f":function(t,e){var n=' ';t.exports=n},5087:function(t,e,n){var r=n("68ee"),a=n("0d51");t.exports=function(t){if(r(t))return t;throw TypeError(a(t)+" is not a constructor")}},"50c4":function(t,e,n){var r=n("a691"),a=Math.min;t.exports=function(t){return t>0?a(r(t),9007199254740991):0}},"50d8":function(t,e){function n(t,e){var n=-1,r=Array(t);while(++n")}));r("replace",(function(t,e,n){var r=w?"$":"$0";return[function(t,n){var r=l(this),a=void 0==t?void 0:p(t,v);return a?a.call(t,r,n):e.call(u(r),t,n)},function(t,a){var l=i(this),p=u(t);if("string"===typeof a&&-1===a.indexOf(r)&&-1===a.indexOf("$<")){var m=n(e,l,p,a);if(m.done)return m.value}var v=o(a);v||(a=u(a));var _=l.global;if(_){var w=l.unicode;l.lastIndex=0}var k=[];while(1){var C=h(l,p);if(null===C)break;if(k.push(C),!_)break;var S=u(C[0]);""===S&&(l.lastIndex=d(p,c(l.lastIndex),w))}for(var x="",P=0,E=0;E=P&&(x+=p.slice(P,M)+$,P=M+j.length)}return x+p.slice(P)}]}),!k||!_||w)},"53da":function(t,e){var n='';t.exports=n},"53e1":function(t){t.exports=JSON.parse('{"name":"v-click-outside-x","version":"4.1.3","description":"Vue directive to react on clicks outside an element.","homepage":"https://github.com/SergioCrisostomo/v-click-outside-x.git","author":{"name":"Graham Fairweather"},"maintainers":[{"name":"Sérgio Crisóstomo","email":"sergiosbox@gmail.com"}],"copyright":"Copyright (c) 2018-present","keywords":["vue","click","outside","directive"],"files":["dist","src"],"module":"dist/v-click-outside-x.esm.js","main":"dist/v-click-outside-x.js","typings":"types/index.d.ts","jsdelivr":"dist/v-click-outside-x.min.js","scripts":{"build:esm":"mkdirp dist && babel -s true --env-name esm src/v-click-outside-x.js -o dist/v-click-outside-x.esm.js","build:base":"webpack --bail --progress --profile --colors","build":"npm run build:esm && cross-env NODE_ENV=production npm run build:base --","build:dev":"npm run build:base --","clean":"rimraf dist && npm run clean:coverage","clean:coverage":"rimraf __tests__/coverage","lint":"eslint -f \'node_modules/eslint-friendly-formatter\' --ext .js,.json .","lint-fix":"npm run lint -- --fix","report":"npm run build -- --env.report","report:dev":"npm run build:dev -- --env.report","security":"npm audit","security-fix":"npm run security -- fix","start":"nodemon --exec \\"npm run build\\" --watch src","test":"npm run clean:coverage && jest","test:ci":"npm run test -- --ci --maxWorkers=2","test:ci-coveralls":"npm run test:ci -- --coverage --coverageReporters=text-lcov | coveralls","test:coverage":"npm run test -- --coverage"},"license":"MIT","repository":{"type":"git","url":"https://github.com/SergioCrisostomo/v-click-outside-x.git"},"bugs":{"url":"https://github.com/SergioCrisostomo/v-click-outside-x/issues"},"dependencies":{},"devDependencies":{"@babel/cli":"^7.13.16","@babel/core":"^7.13.16","@babel/node":"^7.13.13","@babel/plugin-transform-property-mutators":"^7.12.13","@babel/plugin-transform-runtime":"^7.13.15","@babel/preset-env":"^7.13.15","@babel/runtime":"^7.13.17","@types/jest":"^24.9.1","@types/node":"^13.13.50","@types/webpack":"^4.41.27","@typescript-eslint/eslint-plugin":"^2.34.0","@typescript-eslint/parser":"^2.34.0","babel-core":"^7.0.0-0","babel-eslint":"^10.1.0","babel-loader":"^8.2.2","babel-plugin-lodash":"^3.3.4","caniuse-lite":"^1.0.30001214","coveralls":"^3.1.0","cross-env":"^6.0.3","eslint":"^6.8.0","eslint-friendly-formatter":"^4.0.1","eslint-import-resolver-webpack":"^0.12.2","eslint-loader":"^3.0.4","eslint-plugin-babel":"^5.3.1","eslint-plugin-compat":"^3.9.0","eslint-plugin-css-modules":"^2.11.0","eslint-plugin-eslint-comments":"^3.2.0","eslint-plugin-html":"^6.1.2","eslint-plugin-import":"^2.22.1","eslint-plugin-jest":"^22.17.0","eslint-plugin-jsdoc":"^20.4.0","eslint-plugin-json":"^1.4.0","eslint-plugin-lodash":"^6.0.0","eslint-plugin-no-use-extend-native":"^0.4.1","eslint-plugin-prefer-object-spread":"^1.2.1","eslint-plugin-prettier":"^3.4.0","eslint-plugin-promise":"^4.3.1","eslint-plugin-sort-class-members":"^1.11.0","eslint-plugin-switch-case":"^1.1.2","jest":"^24.9.0","jest-cli":"^24.9.0","jest-file":"^1.0.0","lodash":"^4.17.21","lodash-webpack-plugin":"^0.11.6","mkdirp":"^0.5.5","nodemon":"^2.0.7","prettier":"^1.19.1","rimraf":"^3.0.2","source-map-loader":"^0.2.4","strip-ansi":"^6.0.0","terser-webpack-plugin":"^2.3.8","typescript":"^3.9.9","webpack":"^4.46.0","webpack-bundle-analyzer":"^3.9.0","webpack-cli":"^3.3.12","webpack-global-object-x":"^1.0.1","webpack-merge":"^4.2.2"},"engines":{"node":">=8.11.4","npm":">=6.10.1"},"browserslist":["> 1%","Explorer >= 9"]}')},5530:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));n("b64b"),n("a4d3"),n("4de4"),n("e439"),n("159b"),n("dbb4");var r=n("ade3");function a(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function i(t){for(var e=1;e=e?t:""+Array(e+1-r.length).join(n)+t},b={s:g,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),r=Math.floor(n/60),a=n%60;return(e<=0?"+":"-")+g(r,2,"0")+":"+g(a,2,"0")},m:function t(e,n){if(e.date()0?n("div",{staticClass:"C-input__message"},[t._v(" "+t._s(t.message)+" ")]):t._e()])},a=[],i=(n("a9e3"),{props:{value:[String,Number],type:String,name:String,placeholder:String,id:String,inputMode:String,pattern:String,autocomplete:String,messageType:String,message:{type:String,default:""}}}),o=i,s=(n("7804"),n("2877")),c=Object(s["a"])(o,r,a,!1,null,null,null);e["a"]=c.exports},"5c6c":function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},"5c9c":function(t,e,n){var r={"./abonements-active.svg":"c3ee","./abonements.svg":"b497","./account-bell.svg":"34e4","./account-bookmark.svg":"a4cb","./account-door.svg":"0990","./account-help.svg":"bafc","./account-home.svg":"eda4","./account-profile.svg":"db61","./account-subscription.svg":"8dae","./airplane.svg":"a2ec","./alpa-kids.svg":"04b1","./angle-down.svg":"29b4","./angle-left.svg":"3072","./angle-right.svg":"0a38","./angle-up.svg":"b926","./arrow-down.svg":"fcd2","./arrow-left.svg":"37ef","./arrow-right.svg":"53da","./arrow-up.svg":"618f","./back.svg":"9d0e","./baltic.svg":"f07f","./bell.svg":"00ec","./bookmark-active.svg":"a0e9","./bookmark.svg":"2c17","./calendar.svg":"5da5","./clock-active.svg":"a915","./clock.svg":"6713","./close copy.svg":"0384","./close.svg":"61e7","./comments-active.svg":"69e7","./comments.svg":"63f8","./door.svg":"424b","./envelope.svg":"e170","./eye.svg":"44bf","./forecast-cloud.svg":"1111","./forums.svg":"7aaf","./gallery.svg":"d42a","./globe.svg":"891c","./headphones-active.svg":"ec58","./headphones.svg":"0b37","./home-active.svg":"b7fb","./home.svg":"a68d","./icon-crypto.svg":"c7b5","./icon-riga.svg":"5689","./icon-tallinn.svg":"69ea","./icon-usa.svg":"5b68","./icon-vilnius.svg":"eaad","./icon-world.svg":"dd14","./info-circle.svg":"f10d","./issue-toc.svg":"63ee","./link.svg":"0ea4","./listen.svg":"daa6","./live.svg":"8da7","./microphone.svg":"de1b","./most-bought.svg":"0762","./navi_arrow.svg":"40f8","./phone.svg":"493e","./play.svg":"a3e3","./plus-active.svg":"ccdf","./pluss.svg":"d792","./search.svg":"e9ef","./share-active.svg":"95fe","./share.svg":"17e4","./social-apple.svg":"7c10","./social-draugiem.svg":"4f9f","./social-facebook-circle.svg":"9f57","./social-facebook.svg":"4049","./social-google.svg":"a963","./social-instagram.svg":"d8f0","./social-telegram.svg":"6521","./social-tiktok.svg":"dec6","./social-twitter.svg":"5ccb","./social-vk.svg":"0432","./sort.svg":"0a6b","./total-package.svg":"a307","./trash.svg":"1b17","./trending.svg":"c8a0","./upload.svg":"3099","./user-picture.svg":"911d","./user.svg":"bee2","./video.svg":"2643","./wave.svg":"7acd"};function a(t){var e=i(t);return n(e)}function i(t){if(!n.o(r,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return r[t]}a.keys=function(){return Object.keys(r)},a.resolve=i,t.exports=a,a.id="5c9c"},"5ccb":function(t,e){var n=' ';t.exports=n},"5da5":function(t,e){var n=' ';t.exports=n},"5e2e":function(t,e,n){var r=n("28c9"),a=n("69d5"),i=n("b4c0"),o=n("fba5"),s=n("67ca");function c(t){var e=-1,n=null==t?0:t.length;this.clear();while(++el){var f,h=u(arguments[l++]),m=d?i(h).concat(d(h)):i(h),v=m.length,g=0;while(v>g)f=m[g++],r&&!p.call(h,f)||(n[f]=h[f])}return n}:l},"60ed":function(t,e,n){var r=n("3729"),a=n("2dcb"),i=n("1310"),o="[object Object]",s=Function.prototype,c=Object.prototype,u=s.toString,l=c.hasOwnProperty,d=u.call(Object);function p(t){if(!i(t)||r(t)!=o)return!1;var e=a(t);if(null===e)return!0;var n=l.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&u.call(n)==d}t.exports=p},"618f":function(t,e){var n='';t.exports=n},"619d":function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("Stepper",{attrs:{count:t.stepperSize,activeStep:t.stepper.step}}),n(t.view,{tag:"component",attrs:{next:t.next,product:t.product,renewData:t.renewData,setPaymentBlockData:t.setPaymentBlockData,renewCallback:t.renewCallback,editable:t.editable,initialDiscount:t.initialDiscount,subscriptionDuration:t.subscriptionDuration,productKey:t.productKey,specialCase:t.specialCase,warningCase:t.warningCase,footerText:t.footerText,orderByProductKey:t.orderByProductKey,getPricingByProductKey:t.getPricingByProductKey,skipProductSelect:t.skipProductSelect,skipToPaymentSelect:t.skipToPaymentSelect,pianoTrackingId:t.pianoTrackingId,offerKey:t.offerKey,definedProductKey:t.definedProductKey,definedSubscriptionDuration:t.definedSubscriptionDuration,tryingToDownsell:t.tryingToDownsell,products:t.products,loginApiToken:t.user.loginApiToken,callback:t.callback,price:t.paymentBlockData.price,recurringPrice:t.paymentBlockData.recurringPrice,userId:t.userId,note:t.paymentBlockData.note,coupon:t.coupon,setStep:t.setStep,paidWith:t.paidWith},on:{purchase:t.atPurchase}})],1)},a=[],i=n("3835"),o=n("1da1"),s=(n("96cf"),n("a9e3"),n("caad"),n("2532"),n("159b"),n("b64b"),n("99af"),function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"C-payment C-payment__product-select"},[n("div",{staticClass:"C-payment__title"},[t.initialDiscount>0&&100!==t.initialDiscount?n("div",[t._v(" "+t._s(t.$t("paymentBlock.header.discount.1"))+" "+t._s(""+t.initialDiscount+t.$t("paymentBlock.header.discount.2"))+": ")]):n("div",[t._v(" "+t._s(t.$t("paymentBlock.header.basic"))+": ")])]),n("div",{staticClass:"G-row"},[n("div",{staticClass:"G-col-12 G-col-md-6"},[n("div",{staticClass:"C-product-toggle__container"},t._l(t.options,(function(e,r){return n("div",{key:r,staticClass:"C-product-toggle"},[n("div",{staticClass:"C-product-toggle__project"},[n("label",{staticClass:"C-toggle"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.productKey,expression:"productKey"}],attrs:{type:"radio"},domProps:{value:e,checked:t._q(t.productKey,e)},on:{change:function(n){t.productKey=e}}}),n("span",{staticClass:"C-toggle__check"})]),n("span",[t._v(" "+t._s(t.$t("project."+t.productKeyProject(e)))+" ")])]),t.productKeyProducts(e).length>1?n("div",{staticClass:"C-products-ul-container"},[n("ul",{directives:[{name:"show",rawName:"v-show",value:t.productKey===e,expression:"productKey === option"}],staticClass:"C-products-ul"},t._l(t.productKeyProducts(e),(function(e){return n("li",{key:e,staticClass:"text-black"},[t._v(" "+t._s(t.$t("products.prefix."+e))+" ")])})),0)]):t._e()])})),0)]),n("div",{staticClass:"G-col-12 G-col-md-6"},[n("div",{staticClass:"C-payment__offer-container"},[n("div",{staticClass:"C-payment__offer"},[t.priceLoading?n("Loading",{staticClass:"C-payment__offer-loading"}):n("div",[t.order.price.main!==t.order.price.old?n("div",{staticClass:"C-payment__price C-payment__price--old"},[t._v(" "+t._s(t.order.price.old)+" EUR ")]):t._e(),n("div",{staticClass:"C-payment__price C-payment__price--new"},[t._v(" "+t._s(t.order.price.main)+"* EUR ")]),n("div",{staticClass:"C-payment__duration"},[t._v(" "+t._s(t.productKeyDurationText)+" ")])])],1),n("BaseButton",{staticClass:"C-paywall__button C-paywall__paywall-button--primary",class:{"C-paywall__button--disabled":t.priceLoading},attrs:{disabled:t.priceLoading},nativeOn:{click:function(e){return t.setPurchase.apply(null,arguments)}}},[t.priceLoading?n("span",{staticClass:"spinner-border spinner-border-sm",attrs:{role:"status","aria-hidden":"true"}}):t._e(),t._v(" "+t._s(t.$t("next"))+" ")])],1)])]),n("div",[n("Errors",{attrs:{errors:t.errors}})],1),n("div",{staticClass:"C-payment__note-container"},[t.priceLoading?t._e():n("div",{staticClass:"C-payment__note",domProps:{innerHTML:t._s(t.footerText(this.productKey))}})])])}),c=[],u=n("85f4"),l=n("c8fd"),d=n("b12f"),p=n("db49"),f={components:{Errors:l["a"],Loading:d["a"],BaseButton:u["BaseButton"]},props:{product:String,definedProductKey:String,definedSubscriptionDuration:String,next:Function,setRenewData:Function,setPaymentBlockData:Function,callback:Function,editable:Boolean,initialDiscount:Number,oldProducts:Array,specialCase:String,footerText:Function,orderByProductKey:Function,getPricingByProductKey:Function,offerKey:String,userId:Number},mounted:function(){this.getPricing(),this.setDefaultProductKey(),googleCustomEventSender("UA-252610108-1","PaymentStepTracking","3.2 (Special offer) Payment product select step","".concat(this.userId)),ga4CustomEventSender("PaymentStepTracking","".concat("G-W12PGLS0GE"),"".concat("Q766CgLkQx-JTEQDFKdfqg"),"PaymentStepTracking","3.2 (Special offer) Payment product select step","".concat(this.userId))},data:function(){return{productKey:"",userAgreed:!1,priceLoading:!0,errors:[]}},computed:{subscriptionDuration:function(){var t="";if(this.definedProductKey&&this.definedProductKey.length>0){var e=this.definedProductKey;switch(e){case"DPLUS_28D":case"MVP_28D":case"BUSINESS_28D":e="DUO-STEP1-DPLUS-MVP-BUSINESS_28D";break;case"DPLUS_1Y":case"MVP_1Y":case"BUSINESS_1Y":e="DUO-DPLUS-MVP-BUSINESS_1Y";break;default:console.log("product key: ",e)}t=Object(p["c"])(e)}else t=this.definedSubscriptionDuration;return t},options:function(){var t=this,e=[];if("merch"===this.specialCase)this.hasActiveContentShare?e.push(Object(p["b"])("FAMILY",this.subscriptionDuration)):(!1===this.hasRecurringProducts?p["a"].forEach((function(n){e.push(Object(p["b"])(n,t.subscriptionDuration,t.products))})):null!==this.recurringProductData&&this.subscriptionDuration!==this.recurringProductData.duration&&e.push(Object(p["b"])(this.recurringProductData.product,this.subscriptionDuration,this.products)),e.push(Object(p["b"])("BUNDLE",this.subscriptionDuration)));else if(this.definedProductKey&&this.definedProductKey.length>0){var n=this.definedProductKey;switch(n){case"DPLUS_28D":case"MVP_28D":case"BUSINESS_28D":console.log("dasd"),n="DUO-STEP1-DPLUS-MVP-BUSINESS_28D";break;case"DPLUS_1Y":case"MVP_1Y":case"BUSINESS_1Y":n="DUO-DPLUS-MVP-BUSINESS_1Y";break;default:console.log("product key: ",n)}e.push(n)}else"FAMILY"===this.product||"BUNDLE"===this.product||"DUO"===this.product?e.push(Object(p["b"])(this.product,this.subscriptionDuration)):((!this.hasRecurringProducts||("corporate"===this.user.subscription[this.product].accessType||"subscription-prepayment"===this.user.subscription[this.product].accessType||p["j"].includes(this.user.subscription[this.product].productKey)||this.user.subscription[this.product].productKey&&this.productKeyDuration(this.user.subscription[this.product].productKey)!==this.subscriptionDuration)&&this.user.subscription[this.product].recurring)&&e.push(Object(p["b"])(this.product,this.subscriptionDuration,this.products)),e.push(Object(p["b"])("BUNDLE",this.subscriptionDuration)));return e},order:function(){return this.orderByProductKey(this.productKey)},user:function(){return this.$store.getters.user},products:function(){return this.$store.getters.products},productKeys:function(){return this.$store.getters.productKeys},hasRecurringProducts:function(){return this.$store.getters.hasRecurringProducts},hasActiveContentShare:function(){return this.$store.getters.hasActiveContentShare},hasActiveBundle:function(){return this.$store.getters.hasActiveBundle},recurringProductData:function(){var t=this,e=null;return Object.keys(this.user.subscription).forEach((function(n){t.user.subscription[n].recurring&&(e={product:t.productKeyProduct(t.user.subscription[n].productKey),duration:t.productKeyDuration(t.user.subscription[n].productKey)})})),e},productKeyDurationText:function(){var t=this.productKey.length>0?this.productKeyDuration(this.productKey):"";return t.length>0&&(t="firstThreeMonths"===this.order.type?this.$t("offerCard.duration.".concat(this.order.type)):"firstPayment"===this.order.type?this.$t("offerCard.duration.".concat(this.order.type,".").concat(t)):this.$t("offerCard.duration.default.".concat(t))),t}},watch:{productKey:function(){this.getPricing()}},methods:{setDefaultProductKey:function(){this.productKey=this.options[0]},productKeyDuration:function(t){return Object(p["c"])(t)},productKeyProduct:function(t){return Object(p["d"])(t,this.productKeys)},productKeyProject:function(t){return Object(p["f"])(t,this.productKeys)},productKeyProducts:function(t){return Object(p["e"])(t)},getPricing:function(){var t=this;return Object(o["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!(t.productKey.length>0)){e.next=5;break}return t.priceLoading=!0,e.next=4,t.getPricingByProductKey(t.productKey,t.offerKey);case 4:t.priceLoading=!1;case 5:case"end":return e.stop()}}),e)})))()},setPurchase:function(){this.setPaymentBlockData({project:this.productKeyProject(this.productKey),productKey:this.productKey,price:this.order.price.main,recurringPrice:this.order.price.recurring,userId:this.userId,note:this.footerText(this.productKey)}),this.next("PaymentMethodSelect")},closePopup:function(){this.callback("close")}}},h=f,m=(n("85bb"),n("2877")),v=Object(m["a"])(h,s,c,!1,null,null,null),g=v.exports,b=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"C-payment C-payment__payment-methods"},[n("div",{staticClass:"C-payment__title"},[t._v(" "+t._s(t.$t("offerCard.paymentMethod"))+": ")]),n("div",{staticClass:"C-payment-method__container"},[n("label",{staticClass:"C-payment-method"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.paymentMethod,expression:"paymentMethod"}],attrs:{type:"radio",name:"paymentType",value:"card"},domProps:{checked:t._q(t.paymentMethod,"card")},on:{change:function(e){t.paymentMethod="card"}}}),n("span",{staticClass:"C-payment-method__checkmark"}),n("span",{staticClass:"C-payment-method__title"},[t._v(" "+t._s(t.$t("payWithCard"))+" ")]),t._m(0)]),t.smsPaymentAllowed?n("label",{staticClass:"C-payment-method"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.paymentMethod,expression:"paymentMethod"}],attrs:{type:"radio",name:"paymentType",value:"sms"},domProps:{checked:t._q(t.paymentMethod,"sms")},on:{change:function(e){t.paymentMethod="sms"}}}),n("span",{staticClass:"C-payment-method__checkmark"}),n("span",{staticClass:"C-payment-method__title"},[t._v(" "+t._s(t.$t("payWithSms"))+" ")]),t._m(1),n("span",{staticClass:"C-payment-method__note"},[t._v(" "+t._s(t.$t("smsNote"))+" ")])]):t._e()]),n("div",{staticClass:"text-center my-3"},[n("BaseButton",{staticClass:"C-paywall__button C-paywall__paywall-button--primary",nativeOn:{click:function(e){return t.purchase.apply(null,arguments)}}},[t._v(" "+t._s(t.$t("next"))+" ")])],1),n("div",{staticClass:"C-payment__consent-container",attrs:{id:"purchaseConsent"}},[n("label",{staticClass:"C-checkbox",class:{"C-checkbox--error":!1}},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.userAgreed,expression:"userAgreed"}],attrs:{type:"checkbox",checked:"checked"},domProps:{checked:Array.isArray(t.userAgreed)?t._i(t.userAgreed,null)>-1:t.userAgreed},on:{change:function(e){var n=t.userAgreed,r=e.target,a=!!r.checked;if(Array.isArray(n)){var i=null,o=t._i(n,i);r.checked?o<0&&(t.userAgreed=n.concat([i])):o>-1&&(t.userAgreed=n.slice(0,o).concat(n.slice(o+1)))}else t.userAgreed=a}}}),n("span",{staticClass:"C-checkbox__label"},[t._v(" "+t._s(t.$t("subscriptionRules.agree"))+" "),n("a",{attrs:{href:t.$t("subscriptionRules.rulesLink"),target:"_blank"}},[t._v(t._s(t.$t("subscriptionRules.rules")))]),t._v(" "+t._s(t.$t("subscriptionRules.and"))+" "),n("a",{attrs:{href:t.$t("subscriptionRules.contractLink"),target:"_blank"}},[t._v(t._s(t.$t("subscriptionRules.contract")))]),t._v(". ")]),n("span",{staticClass:"C-checkbox__checkmark"})])])])},y=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("span",{staticClass:"C-payment-method__logos C-payment-method__logos--card"},[n("img",{attrs:{src:"//g.delfi.lv/i/payment/master.svg",alt:"Master logo"}}),n("img",{attrs:{src:"//g.delfi.lv/svg/visa-logo-2021.svg",alt:"Visa logo"}})])},function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("span",{staticClass:"C-payment-method__logos C-payment-method__logos--sms"},[n("img",{attrs:{src:"//g.delfi.lv/i/payment/lmt-tele2-bite.svg",alt:"Master logo"}})])}],_={props:{productKey:String,next:Function,callback:Function,userId:Number},components:{BaseButton:u["BaseButton"]},data:function(){return{paymentMethod:"card",userAgreed:!1,cardBroken:window.cardPaymentBroken,smsBroken:window.smsPaymentBroken}},methods:{purchase:function(){this.userAgreed?"card"===this.paymentMethod?!0===this.cardBroken?(this.callback("brokenPaymentMethodSelected"),gtag("event","click",{event_category:"Subscription",event_action:"".concat(this.product," card broken"),event_label:"".concat(this.userId)}),ga4CustomEventSender("Subscription","".concat("G-W12PGLS0GE"),"".concat("Q766CgLkQx-JTEQDFKdfqg"),"Subscription","".concat(this.product," card broken"),"".concat(this.userId))):(this.next("CardPayment"),this.callback("dectaSelected")):"sms"===this.paymentMethod&&(!0===this.smsBroken?(this.callback("brokenPaymentMethodSelected"),gtag("event","click",{event_category:"Subscription",event_action:"".concat(this.product," sms broken"),event_label:"".concat(this.userId)}),ga4CustomEventSender("Subscription","".concat("G-W12PGLS0GE"),"".concat("Q766CgLkQx-JTEQDFKdfqg"),"Subscription","".concat(this.product," sms broken"),"".concat(this.userId))):(this.next("SmsPayment"),this.callback("smsSelected"))):window.shakeElement("purchaseConsent")}},computed:{smsPaymentAllowed:function(){return"DUO-STEP1-DPLUS-MVP-BUSINESS_28D"===this.productKey||"DUO-AUTUMN23-DPLUS-MVP-BUSINESS_28D"===this.productKey}},mounted:function(){googleCustomEventSender("UA-252610108-1","PaymentStepTracking","3.1 Payment method select step","".concat(this.userId)),ga4CustomEventSender("PaymentStepTracking","".concat("G-W12PGLS0GE"),"".concat("Q766CgLkQx-JTEQDFKdfqg"),"PaymentStepTracking","3.1 Payment method select step","".concat(this.userId))}},w=_,k=(n("20a0"),Object(m["a"])(w,b,y,!1,null,null,null)),C=k.exports,S=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"C-payment"},[n("div",{staticClass:"C-payment__title"},[t._v(" "+t._s(t.$t("warning"))+" ")]),n("div",{staticClass:"C-payment__warning"},[t._v(" "+t._s(t.$t("paymentBlock.warningBefore.1"))+" "+t._s(t.productText)+" "+t._s(t.$t("paymentBlock.warningBefore.2"))+" ")]),n("div",{staticClass:"C-payment__buttons"},[n("BaseButton",{staticClass:"C-paywall__button C-paywall__button--outline U-text-capitalize",nativeOn:{click:function(e){return t.callback("close")}}},[t._v(" "+t._s(t.$t("close"))+" ")]),n("BaseButton",{staticClass:"C-paywall__button C-paywall__paywall-button--primary U-text-capitalize",nativeOn:{click:function(e){return t.nextStep.apply(null,arguments)}}},[t._v(" "+t._s(t.$t("continue"))+" ")])],1)])},x=[],P={props:{callback:Function,next:Function,product:String,warningCase:{type:String,default:"SPECIAL"},tryingToDownsell:{type:Boolean,default:!1},skipProductSelect:Boolean,skipToPaymentSelect:Function,userId:Number,specialCase:String},components:{BaseButton:u["BaseButton"]},computed:{productText:function(){return["CORPORATE","PREPAYMENT"].includes(this.warningCase)?this.$t("paymentBlock.warningBefore.product.".concat(this.warningCase)):this.$t("paymentBlock.warningBefore.product.DEFAULT")}},methods:{nextStep:function(){this.specialCase&&"ISIC"===this.specialCase?this.next("IsicIticVerification"):this.skipProductSelect?this.skipToPaymentSelect():this.next("ProductSelect")}},mounted:function(){googleCustomEventSender("UA-252610108-1","PaymentStepTracking","2.1 Warning about cancel step","".concat(this.userId)),ga4CustomEventSender("PaymentStepTracking","".concat("G-W12PGLS0GE"),"".concat("Q766CgLkQx-JTEQDFKdfqg"),"PaymentStepTracking","2.1 Warning about cancel step","".concat(this.userId))}},E=P,j=(n("eedd"),Object(m["a"])(E,S,x,!1,null,null,null)),M=j.exports,L=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"C-payment C-payment__sms"},[t.error?n("div",{staticClass:"text-center mb-3 flex-column"},[n("div",{staticClass:"my-4 text-size-16"},[t._v(" "+t._s(t.errorMsg)+" ")]),n("button",{staticClass:"btn btn-pill btn-outline-primary font-weight-light text-size-14 px-3 mx-auto",attrs:{type:"button"},on:{click:t.reset,keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.reset.apply(null,arguments)}}},[t._v(" "+t._s(t.$t("tryAgainButton"))+" ")])]):n("div",[n(t.step.step,{tag:"component",staticClass:"px-sm-3 px-0",attrs:{userId:t.userId,nextStep:t.nextStep,loginApiToken:t.loginApiToken,wentWrong:t.wentWrong,timeOut:t.timeOut,reset:t.reset,callback:t.callback,products:t.products,phoneNumber:t.phoneNumber,setPhoneNumber:t.setPhoneNumber,setCreatePaymentResponse:t.setCreatePaymentResponse,createPaymentResponse:t.createPaymentResponse,method:t.method,productKey:t.productKey,initialDiscount:t.initialDiscount,pianoTrackingId:t.pianoTrackingId,offerKey:t.offerKey},on:{profileRefresh:t.profileRefresh,purchase:function(e){return t.$emit("purchase",e)}}})],1)])},A=[],D=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"d-inline-block d-flex row flex-column pt-4"},[n("span",{staticClass:"C-payment__title"},[t._v(" "+t._s(t.$t("pleaseEnterPhoneNumber"))+": ")]),n("div",{staticClass:"input-group col-12 col-md-10 mx-auto my-3"},[t._m(0),n("input",{directives:[{name:"model",rawName:"v-model",value:t.phoneNumber,expression:"phoneNumber"}],staticClass:"form-control",class:[t.showError?t.isInvalidClass:""],attrs:{type:"text",id:"smsPhoneNumberInput",placeholder:t.$t("phoneNumber"),autocomplete:"off"},domProps:{value:t.phoneNumber},on:{keypress:t.phoneValidation,keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.submit.apply(null,arguments)},input:function(e){e.target.composing||(t.phoneNumber=e.target.value)}}}),t.showError?n("div",{staticClass:"invalid-feedback"},[t._v(" "+t._s(t.$t("numberMustHave8Digits"))+" ")]):t._e()]),n("div",{staticClass:"text-center my-3"},[n("BaseButton",{staticClass:"C-paywall__button C-paywall__paywall-button--primary",class:{"C-paywall__button--disabled":t.loading},attrs:{disabled:t.loading},nativeOn:{click:function(e){return t.submit.apply(null,arguments)}}},[t.loading?n("span",{staticClass:"spinner-border spinner-border-sm",attrs:{role:"status","aria-hidden":"true"}}):t._e(),t._v(" "+t._s(t.$t("getPinCode"))+" ")])],1)])},O=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"input-group-prepend"},[n("div",{staticClass:"input-group-text"},[t._v("+371")])])}],$=n("bc3a"),I=n.n($),T="mutation (\n $productKey: String!\n $project: Project!\n $provider: PaymentProvider!\n $platform: String\n $redirectUrl: String\n $telephone: String\n $email: String\n $discount: Int\n $pianoTrackingId: String\n $offerKey: String\n){\n createPayment(\n input: {\n productKey: $productKey\n project: $project\n provider: $provider\n platform: $platform\n redirectUrl: $redirectUrl\n telephone: $telephone\n email: $email\n discount: $discount\n pianoTrackingId: $pianoTrackingId\n offerKey: $offerKey\n }\n ) {\n success\n redirectUrl\n message\n pid\n orderId\n response{\n status\n message\n error{\n origin\n message\n }\n }\n }\n}\n\n",B={props:{nextStep:Function,loginApiToken:String,wentWrong:Function,setPhoneNumber:Function,setCreatePaymentResponse:Function,products:Object,product:String,userId:Number,subscriptionDuration:String,initialDiscount:Number,productKey:String,pianoTrackingId:String,offerKey:String},components:{BaseButton:u["BaseButton"]},data:function(){return{showError:!1,isInvalidClass:"is-invalid",phoneNumber:"",loading:!1}},computed:{userPhoneNumber:function(){return Object(p["g"])(window.user.profile.phone).phone},productKeys:function(){return this.$store.getters.productKeys},project:function(){return Object(p["f"])(this.productKey,this.productKeys)}},mounted:function(){var t=this;googleCustomEventSender("UA-252610108-1","PaymentStepTracking","4.1 SMS Method - User inputs step 1 (phone number input)","".concat(this.userId)),ga4CustomEventSender("PaymentStepTracking","".concat("G-W12PGLS0GE"),"".concat("Q766CgLkQx-JTEQDFKdfqg"),"PaymentStepTracking","4.1 SMS Method - User inputs step 1 (phone number input)","".concat(this.userId)),window.LoginAPI.getCustomers().then((function(e){e&&e.data&&!1!==e.data.loginStatus&&(t.phoneNumber=Object(p["g"])(e.data.phone).phone)}))},methods:{submit:function(){this.phoneNumber?8!==this.phoneNumber.length?this.showError=!0:(this.setPhoneNumber(this.phoneNumber),this.loading=!0,this.createPayment()):this.showError=!0},phoneValidation:function(t){var e=t.which?t.which:t.keyCode;(e<48||e>57||t.target.value.length>7)&&t.preventDefault()},createPayment:function(){var t=this;return Object(o["a"])(regeneratorRuntime.mark((function e(){var n,r,a,i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n=t.loginApiToken,r={},a="371".concat(t.phoneNumber),n&&(r.Authorization="Bearer ".concat(n)),i=window.delfiNativeApp.platform?window.delfiNativeApp.platform:"",e.next=7,I()({headers:r,url:"https://api.delfi.lv/payment-processing/v1/graphql",method:"post",data:{query:T,variables:{productKey:t.productKey,project:t.project,provider:"esteria",platform:i,redirectUrl:"".concat(window.location.href),telephone:a,discount:t.initialDiscount,pianoTrackingId:t.pianoTrackingId.length>0?t.pianoTrackingId:null,offerKey:t.offerKey.length>0?t.offerKey:null}}}).then((function(e){console.log("createPayment response",e),t.loading=!1,null!==e.data.data&&!0===e.data.data.createPayment.success?(t.setCreatePaymentResponse(e.data.data.createPayment),window.LoginAPI.updateCustomer({phone:Object(p["k"])("371",t.phoneNumber)}).then((function(e){e.data&&e.data.status&&e.data.status,t.nextStep()}))):t.wentWrong("".concat(t.$t("subscriptionNotPurchased"),". ").concat(t.$t("pleaseTryAgain")))}),(function(e){console.log("createPayment error",e),t.loading=!1,t.wentWrong("".concat(t.$t("subscriptionNotPurchased"),". ").concat(t.$t("pleaseTryAgain")))})).catch((function(e){console.log("createPayment catch error",e),t.loading=!1,t.wentWrong("".concat(t.$t("subscriptionNotPurchased"),". ").concat(t.$t("pleaseTryAgain")))}));case 7:case"end":return e.stop()}}),e)})))()}}},z=B,N=Object(m["a"])(z,D,O,!1,null,null,null),F=N.exports,U=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",{staticClass:"d-inline-block d-flex row flex-column pt-4"},[n("span",{staticClass:"C-payment__title"},[t._v(" "+t._s(t.$t("enterPin"))+": ")]),n("div",{staticClass:"input-group col-6 mx-auto my-3"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.pinCode,expression:"pinCode"}],staticClass:"form-control",class:[t.showError?t.isInvalidClass:""],attrs:{type:"text",id:"smsPinInput",placeholder:"PIN",autocomplete:"off"},domProps:{value:t.pinCode},on:{keypress:t.pinCodeValidation,keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.submit.apply(null,arguments)},input:function(e){e.target.composing||(t.pinCode=e.target.value)}}}),t.showError?n("div",{staticClass:"invalid-feedback"},[t._v(" "+t._s(t.errorMessage)+" ")]):t._e()]),n("div",{staticClass:"text-center my-3"},[n("BaseButton",{staticClass:"C-paywall__button C-paywall__paywall-button--primary",class:{"C-paywall__button--disabled":t.loading},attrs:{disabled:t.loading},nativeOn:{click:function(e){return t.submit.apply(null,arguments)}}},[t.loading?n("span",{staticClass:"spinner-border spinner-border-sm",attrs:{role:"status","aria-hidden":"true"}}):t._e(),t._v(" "+t._s(t.$t("pay"))+" ")])],1)])])},R=[],V="query (\n $orderId: String!\n $telephone: String!\n $pin: Int!\n){\n confirmSMSPayment(\n input: {\n orderId: $orderId\n telephone: $telephone\n pin: $pin\n }\n ) {\n success\n message\n orderId\n }\n}\n\n",K=n("0bcf"),H={props:{nextStep:Function,loginApiToken:String,wentWrong:Function,timeOut:Function,phoneNumber:String,products:Object,product:String,userId:Number,subscriptionDuration:String,createPaymentResponse:Object,productKey:String},components:{BaseButton:u["BaseButton"]},data:function(){return{pinCode:"",showError:!1,isInvalidClass:"is-invalid",errorMessage:"",loading:!1,paymentSuccess:!1,timerSec:0,timer:0,timerStarted:!1,getPurchaseStatusResponse:""}},computed:{orderId:function(){return this.createPaymentResponse.orderId},productKeys:function(){return this.$store.getters.productKeys},project:function(){return Object(p["f"])(this.productKey,this.productKeys)}},mounted:function(){googleCustomEventSender("UA-252610108-1","PaymentStepTracking","4.2 SMS Method - User inputs step 2 (payment step)","".concat(this.userId)),ga4CustomEventSender("PaymentStepTracking","".concat("G-W12PGLS0GE"),"".concat("Q766CgLkQx-JTEQDFKdfqg"),"PaymentStepTracking","4.2 SMS Method - User inputs step 2 (payment step)","".concat(this.userId))},watch:{timerSec:function(){this.timerSec>90&&(clearInterval(this.timer),this.timeOut())}},methods:{submit:function(){5!==this.pinCode.length?(this.errorMessage=this.$t("pinMustHave8Digits"),this.showError=!0):(this.loading=!0,this.confirmSMSPayment())},pinCodeValidation:function(t){var e=t.which?t.which:t.keyCode;(e<48||e>57||t.target.value.length>4)&&t.preventDefault()},confirmSMSPayment:function(){var t=this;return Object(o["a"])(regeneratorRuntime.mark((function e(){var n,r,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n=t.loginApiToken,r={},a=Number(t.pinCode),n&&(r.Authorization="Bearer ".concat(n)),e.next=6,I()({headers:r,url:"https://api.delfi.lv/payment-processing/v1/graphql",method:"post",data:{query:V,variables:JSON.stringify({orderId:t.orderId,telephone:t.phoneNumber,pin:a})}}).then((function(e){console.log("confirmSMSPayment response",e),null!==e.data.data&&!0===e.data.data.confirmSMSPayment.success?(t.loading=!0,t.timerStarted||(t.timerStarted=!0,t.timer=setInterval((function(){t.timerSec+=1,t.getPayment()}),2e3))):null!==e.data.data&&!1===e.data.data.confirmSMSPayment.success?(t.loading=!1,t.errorMessage="".concat(t.$t("pinCodeWithError"),"!"),t.showError=!0,t.pinCode=""):t.wentWrong("".concat(t.$t("subscriptionNotPurchased"),". ").concat(t.$t("pleaseTryAgain")))}),(function(e){console.log("confirmSMSPayment error",e),t.wentWrong("".concat(t.$t("subscriptionNotPurchased"),". ").concat(t.$t("pleaseTryAgain")))})).catch((function(e){console.log("confirmSMSPayment catch error",e),t.wentWrong("".concat(t.$t("subscriptionNotPurchased"),". ").concat(t.$t("pleaseTryAgain")))}));case 6:case"end":return e.stop()}}),e)})))()},getPayment:function(){var t=this;return Object(o["a"])(regeneratorRuntime.mark((function e(){var n,r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n=t.loginApiToken,r={},n&&(r.Authorization="Bearer ".concat(n)),e.next=5,I()({headers:r,url:"https://api.delfi.lv/payment-processing/v1/graphql",method:"post",data:{query:K["a"],variables:JSON.stringify({orderId:"".concat(t.project,"-").concat(t.orderId),showCouponOnSuccessfulPayment:!0})}}).then((function(e){console.log("gerPayment response",e),"derror"===e.data.data.getPurchaseStatus.status||"derror-not-charged"===e.data.data.getPurchaseStatus.status||null===e.data.data.getPurchaseStatus.status||"null"===e.data.data.getPurchaseStatus.status?(t.wentWrong("".concat(t.$t("subscriptionNotPurchased"),". ").concat(t.$t("pleaseTryAgain"))),clearInterval(t.timer)):"dcharged-complete"===e.data.data.getPurchaseStatus.status&&(clearInterval(t.timer),t.$emit("purchase",[e.data.data.getPurchaseStatus.coupon,"SMS"]))}),(function(t){console.log("getPurchaseStatus error",t)})).catch((function(t){console.log("getPurchaseStatus error",t)}));case 5:case"end":return e.stop()}}),e)})))()}}},q=H,W=Object(m["a"])(q,U,R,!1,null,null,null),G=W.exports,Z={components:{Step1:F,Step2:G},props:{products:Object,loginApiToken:String,callback:Function,userId:Number,productKey:{Type:String,default:""},initialDiscount:{type:Number,default:0},setStep:Function,pianoTrackingId:{type:String,default:""},offerKey:{type:String,default:""}},data:function(){return{i:0,steps:[{step:"Step1",nr:1,active:1},{step:"Step2",nr:2,active:0}],error:!1,errorMsg:"",phoneNumber:"",createPaymentResponse:{},method:"sms"}},mounted:function(){gtag("event","click",{event_category:"Subscription",event_action:"".concat(this.product," sms step 2"),event_label:"".concat(this.userId)}),ga4CustomEventSender("Subscription","".concat("G-W12PGLS0GE"),"".concat("Q766CgLkQx-JTEQDFKdfqg"),"Subscription","".concat(this.product," decta step 2"),"".concat(this.userId))},computed:{step:function(){return this.steps[this.i]}},methods:{profileRefresh:function(){window.profileRefresh()},nextStep:function(){this.i+=1,this.steps[this.i].active=1,this.setStep("Payment".concat(this.steps[this.i].step))},wentWrong:function(t,e){this.error=!0,t.length>0?this.errorMsg=t:this.errorMsg="".concat(this.$t("subscriptionNotPurchased"),". ").concat(this.$t("connectYourProvider")),gtag("event","click",{event_category:"Subscription",event_action:"".concat(this.product," sms error"),event_label:"".concat(this.userId," error: ").concat(e)}),ga4CustomEventSender("Subscription","".concat("G-W12PGLS0GE"),"".concat("Q766CgLkQx-JTEQDFKdfqg"),"Subscription","".concat(this.product," sms error"),"".concat(this.userId," error: ").concat(e)),googleCustomEventSender("UA-252610108-1","PaymentStepTracking","5.2 SMS method - Something went wrong during the payment process","".concat(this.userId)),ga4CustomEventSender("PaymentStepTracking","".concat("G-W12PGLS0GE"),"".concat("Q766CgLkQx-JTEQDFKdfqg"),"PaymentStepTracking","5.2 SMS method - Something went wrong during the payment process","".concat(this.userId))},timeOut:function(){this.error=!0,this.errorMsg=this.$t("errors.payment.timeout"),gtag("event","click",{event_category:"Subscription",event_action:"".concat(this.product," sms timeout")}),ga4CustomEventSender("Subscription","".concat("G-W12PGLS0GE"),"".concat("Q766CgLkQx-JTEQDFKdfqg"),"Subscription","".concat(this.product," sms timeout"),"")},setPhoneNumber:function(t){this.phoneNumber="371".concat(t)},setCreatePaymentResponse:function(t){this.createPaymentResponse=t},reset:function(){this.error=!1,this.i=0}}},Y=Z,J=Object(m["a"])(Y,L,A,!1,null,null,null),Q=J.exports,X=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"C-payment C-payment__card"},[t.error?n("div",{staticClass:"text-center mb-3 flex-column"},[n("div",{staticClass:"my-4 text-size-16"},[t._v(" "+t._s(t.errorMsg)+" ")]),n("button",{staticClass:"btn btn-pill btn-outline-primary\n font-weight-light text-size-14 px-3 mx-auto",attrs:{type:"button"},on:{click:t.reset,keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.reset.apply(null,arguments)}}},[t._v(" "+t._s(t.$t("tryAgainButton"))+" ")])]):n("div",[n(t.step.step,{tag:"component",staticClass:"px-sm-3 px-0",attrs:{userId:t.userId,nextStep:t.nextStep,loginApiToken:t.loginApiToken,wentWrong:t.wentWrong,timeOut:t.timeOut,reset:t.reset,callback:t.callback,products:t.products,paymentRequest:t.paymentRequest,setPaymentRequest:t.setPaymentRequest,method:t.method,productKey:t.productKey,initialDiscount:t.initialDiscount,pianoTrackingId:t.pianoTrackingId,offerKey:t.offerKey},on:{profileRefresh:t.profileRefresh,purchase:function(e){return t.$emit("purchase",e)}}})],1)])},tt=[],et=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",{staticClass:"C-payment__title"},[t._v(" "+t._s(t.$t("dectaPayment.provideEmailOrPhone"))+": ")]),n("div",[n("email-input",{attrs:{data:{id:"userEmail",label:t.$t("userEmail")+"*",inputMode:"email"}},model:{value:t.email,callback:function(e){t.email=e},expression:"email"}}),n("div",{staticClass:"row"},[n("div",{staticClass:"col-sm-4 col-5 pr-1"},[n("country-code-select",{attrs:{customClass:"disabled"},model:{value:t.countryCode,callback:function(e){t.countryCode=e},expression:"countryCode"}})],1),n("div",{staticClass:"col"},[n("phone-number-input",{staticStyle:{"margin-bottom":"0 !important"},attrs:{id:"userPhone",label:t.$t("userPhone")},model:{value:t.phoneNumber,callback:function(e){t.phoneNumber=e},expression:"phoneNumber"}})],1)]),n("div",{staticClass:"d-flex",class:t.errors.length<1?"justify-content-end":"justify-content-between"},[n("Errors",{attrs:{errors:t.errors}}),n("div",{staticClass:"required-field-container"},[n("div",{staticClass:"required-field"},[t._v(t._s(t.$t("requiredFieldText"))+" ")])])],1)],1),n("div",{staticClass:"text-center my-3"},[n("BaseButton",{staticClass:"C-paywall__button C-paywall__paywall-button--primary",class:{"C-paywall__button--disabled":t.loading},attrs:{disabled:t.loading},nativeOn:{click:function(e){return t.submit.apply(null,arguments)}}},[t.loading?n("span",{staticClass:"spinner-border spinner-border-sm",attrs:{role:"status","aria-hidden":"true"}}):t._e(),t._v(" "+t._s(t.$t("next"))+" ")])],1)])},nt=[],rt=(n("d3b7"),n("25f0"),n("ac1f"),n("466d"),n("7d40")),at=n("ed36"),it=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"form-label-group-select overflow-hidden mb-0",class:{chosen:""!==t.value&&null!=t.value}},[n("label",[t._v(" "+t._s(t.$t("userPhoneCountryCode"))+" ")]),n("select",{staticClass:"form-control",class:t.customClass,attrs:{disabled:t.disabled},domProps:{value:t.value},on:{input:function(e){return t.$emit("input",e.target.value)}}},[n("option",{attrs:{value:""}}),n("option",{domProps:{value:t.defaultCountryCode.value}},[t._v(" "+t._s(t.defaultCountryCode.name)+" ")]),n("optgroup",{attrs:{label:t.$t("anotherCountries")}},t._l(t.countryCodes,(function(e,r){return n("option",{key:r,domProps:{value:e.value}},[t._v(" "+t._s(e.name)+" ")])})),0)])])},ot=[],st={props:{value:[String,Number],type:String,placeholder:String,name:String,label:String,id:String,inputMode:String,pattern:String,customClass:String,options:Array,disabled:Boolean},data:function(){return{defaultCountryCode:{name:"Latvia (+371)",value:371},countryCodes:[{name:"Afghanistan (+93)",value:93},{name:"Albania (+355)",value:355},{name:"Algeria (+213)",value:213},{name:"American Samoa (+1684)",value:1684},{name:"Andorra (+376)",value:376},{name:"Angola (+244)",value:244},{name:"Anguilla (+1264)",value:1264},{name:"Antarctica (+672)",value:672},{name:"Antigua and Barbuda (+1268)",value:1268},{name:"Argentina (+54)",value:54},{name:"Armenia (+374)",value:374},{name:"Aruba (+297)",value:297},{name:"Australia (+61)",value:61},{name:"Austria (+43)",value:43},{name:"Azerbaijan (+994)",value:994},{name:"Bahamas (+1242)",value:1242},{name:"Bahrain (+973)",value:973},{name:"Bangladesh (+880)",value:880},{name:"Barbados (+1246)",value:1246},{name:"Belarus (+375)",value:375},{name:"Belgium (+32)",value:32},{name:"Belize (+501)",value:501},{name:"Benin (+229)",value:229},{name:"Bermuda (+1441)",value:1441},{name:"Bhutan (+975)",value:975},{name:"Bolivia (+591)",value:591},{name:"Bosnia and Herzegovina (+387)",value:387},{name:"Botswana (+267)",value:267},{name:"Brazil (+55)",value:55},{name:"British Indian Ocean Territory (+246)",value:246},{name:"British Virgin Islands (+1284)",value:1284},{name:"Brunei (+673)",value:673},{name:"Bulgaria (+359)",value:359},{name:"Burkina Faso (+226)",value:226},{name:"Burundi (+257)",value:257},{name:"Cambodia (+855)",value:855},{name:"Cameroon (+237)",value:237},{name:"Canada (+1)",value:1},{name:"Cape Verde (+238)",value:238},{name:"Cayman Islands (+1345)",value:1345},{name:"Central African Republic (+236)",value:236},{name:"Chad (+235)",value:235},{name:"Chile (+56)",value:56},{name:"China (+86)",value:86},{name:"Christmas Island (+61)",value:61},{name:"Cocos Islands (+61)",value:61},{name:"Colombia (+57)",value:57},{name:"Comoros (+269)",value:269},{name:"Cook Islands (+682)",value:682},{name:"Costa Rica (+506)",value:506},{name:"Croatia (+385)",value:385},{name:"Cuba (+53)",value:53},{name:"Curacao (+599)",value:599},{name:"Cyprus (+357)",value:357},{name:"Czech Republic (+420)",value:420},{name:"Democratic Republic of the Congo (+243)",value:243},{name:"Denmark (+45)",value:45},{name:"Djibouti (+253)",value:253},{name:"Dominica (+1767)",value:1767},{name:"Dominican Republic (+1809)",value:1809},{name:"East Timor (+670)",value:670},{name:"Ecuador (+593)",value:593},{name:"Egypt (+20)",value:20},{name:"El Salvador (+503)",value:503},{name:"Equatorial Guinea (+240)",value:240},{name:"Eritrea (+291)",value:291},{name:"Estonia (+372)",value:372},{name:"Ethiopia (+251)",value:251},{name:"Falkland Islands (+500)",value:500},{name:"Faroe Islands (+298)",value:298},{name:"Fiji (+679)",value:679},{name:"Finland (+358)",value:358},{name:"France (+33)",value:33},{name:"French Polynesia (+689)",value:689},{name:"Gabon (+241)",value:241},{name:"Gambia (+220)",value:220},{name:"Georgia (+995)",value:995},{name:"Germany (+49)",value:49},{name:"Ghana (+233)",value:233},{name:"Gibraltar (+350)",value:350},{name:"Greece (+30)",value:30},{name:"Greenland (+299)",value:299},{name:"Grenada (+1473)",value:1473},{name:"Guam (+1671)",value:1671},{name:"Guatemala (+502)",value:502},{name:"Guinea (+224)",value:224},{name:"Guinea-Bissau (+245)",value:245},{name:"Guyana (+592)",value:592},{name:"Haiti (+509)",value:509},{name:"Honduras (+504)",value:504},{name:"Hong Kong (+852)",value:852},{name:"Hungary (+36)",value:36},{name:"Iceland (+354)",value:354},{name:"India (+91)",value:91},{name:"Indonesia (+62)",value:62},{name:"Iran (+98)",value:98},{name:"Iraq (+964)",value:964},{name:"Ireland (+353)",value:353},{name:"Israel (+972)",value:972},{name:"Italy (+39)",value:39},{name:"Ivory Coast (+225)",value:225},{name:"Jamaica (+1876)",value:1876},{name:"Japan (+81)",value:81},{name:"Jordan (+962)",value:962},{name:"Kazakhstan (+7)",value:7},{name:"Kenya (+254)",value:254},{name:"Kiribati (+686)",value:686},{name:"Kosovo (+383)",value:383},{name:"Kuwait (+965)",value:965},{name:"Kyrgyzstan (+996)",value:996},{name:"Laos (+856)",value:856},{name:"Latvia (+371)",value:371},{name:"Lebanon (+961)",value:961},{name:"Lesotho (+266)",value:266},{name:"Liberia (+231)",value:231},{name:"Libya (+218)",value:218},{name:"Liechtenstein (+423)",value:423},{name:"Lithuania (+370)",value:370},{name:"Luxembourg (+352)",value:352},{name:"Macau (+853)",value:853},{name:"Macedonia (+389)",value:389},{name:"Madagascar (+261)",value:261},{name:"Malawi (+265)",value:265},{name:"Malaysia (+60)",value:60},{name:"Maldives (+960)",value:960},{name:"Mali (+223)",value:223},{name:"Malta (+356)",value:356},{name:"Marshall Islands (+692)",value:692},{name:"Mauritania (+222)",value:222},{name:"Mauritius (+230)",value:230},{name:"Mayotte (+262)",value:262},{name:"Mexico (+52)",value:52},{name:"Micronesia (+691)",value:691},{name:"Moldova (+373)",value:373},{name:"Monaco (+377)",value:377},{name:"Mongolia (+976)",value:976},{name:"Montenegro (+382)",value:382},{name:"Montserrat (+1664)",value:1664},{name:"Morocco (+212)",value:212},{name:"Mozambique (+258)",value:258},{name:"Myanmar (+95)",value:95},{name:"Namibia (+264)",value:264},{name:"Nauru (+674)",value:674},{name:"Nepal (+977)",value:977},{name:"Netherlands (+31)",value:31},{name:"Netherlands Antilles (+599)",value:599},{name:"New Caledonia (+687)",value:687},{name:"New Zealand (+64)",value:64},{name:"Nicaragua (+505)",value:505},{name:"Niger (+227)",value:227},{name:"Nigeria (+234)",value:234},{name:"Niue (+683)",value:683},{name:"North Korea (+850)",value:850},{name:"Northern Mariana Islands (+1670)",value:1670},{name:"Norway (+47)",value:47},{name:"Oman (+968)",value:968},{name:"Pakistan (+92)",value:92},{name:"Palau (+680)",value:680},{name:"Palestine (+970)",value:970},{name:"Panama (+507)",value:507},{name:"Papua New Guinea (+675)",value:675},{name:"Paraguay (+595)",value:595},{name:"Peru (+51)",value:51},{name:"Philippines (+63)",value:63},{name:"Pitcairn (+64)",value:64},{name:"Poland (+48)",value:48},{name:"Portugal (+351)",value:351},{name:"Puerto Rico (+1939)",value:1939},{name:"Qatar (+974)",value:974},{name:"Republic of the Congo (+242)",value:242},{name:"Reunion (+262)",value:262},{name:"Romania (+40)",value:40},{name:"Russia (+7)",value:7},{name:"Rwanda (+250)",value:250},{name:"Saint Barthelemy (+590)",value:590},{name:"Saint Helena (+290)",value:290},{name:"Saint Kitts and Nevis (+1869)",value:1869},{name:"Saint Lucia (+1758)",value:1758},{name:"Saint Martin (+590)",value:590},{name:"Saint Pierre and Miquelon (+508)",value:508},{name:"Saint Vincent and the Grenadines (+1784)",value:1784},{name:"Samoa (+685)",value:685},{name:"San Marino (+378)",value:378},{name:"Sao Tome and Principe (+239)",value:239},{name:"Saudi Arabia (+966)",value:966},{name:"Senegal (+221)",value:221},{name:"Serbia (+381)",value:381},{name:"Seychelles (+248)",value:248},{name:"Sierra Leone (+232)",value:232},{name:"Singapore (+65)",value:65},{name:"Sint Maarten (+1721)",value:1721},{name:"Slovakia (+421)",value:421},{name:"Slovenia (+386)",value:386},{name:"Solomon Islands (+677)",value:677},{name:"Somalia (+252)",value:252},{name:"South Africa (+27)",value:27},{name:"South Korea (+82)",value:82},{name:"South Sudan (+211)",value:211},{name:"Spain (+34)",value:34},{name:"Sri Lanka (+94)",value:94},{name:"Sudan (+249)",value:249},{name:"Suriname (+597)",value:597},{name:"Svalbard and Jan Mayen (+47)",value:47},{name:"Swaziland (+268)",value:268},{name:"Sweden (+46)",value:46},{name:"Switzerland (+41)",value:41},{name:"Syria (+963)",value:963},{name:"Taiwan (+886)",value:886},{name:"Tajikistan (+992)",value:992},{name:"Tanzania (+255)",value:255},{name:"Thailand (+66)",value:66},{name:"Togo (+228)",value:228},{name:"Tokelau (+690)",value:690},{name:"Tonga (+676)",value:676},{name:"Trinidad and Tobago (+1868)",value:1868},{name:"Tunisia (+216)",value:216},{name:"Turkey (+90)",value:90},{name:"Turkmenistan (+993)",value:993},{name:"Turks and Caicos Islands (+1649)",value:1649},{name:"Tuvalu (+688)",value:688},{name:"U.S. Virgin Islands (+1340)",value:1340},{name:"Uganda (+256)",value:256},{name:"Ukraine (+380)",value:380},{name:"United Arab Emirates (+971)",value:971},{name:"United Kingdom (+44)",value:44},{name:"United States (+1)",value:1},{name:"Uruguay (+598)",value:598},{name:"Uzbekistan (+998)",value:998},{name:"Vanuatu (+678)",value:678},{name:"Vatican (+379)",value:379},{name:"Venezuela (+58)",value:58},{name:"Vietnam (+84)",value:84},{name:"Wallis and Futuna (+681)",value:681},{name:"Western Sahara (+212)",value:212},{name:"Yemen (+967)",value:967},{name:"Zambia (+260)",value:260},{name:"Zimbabwe (+263)",value:263}]}}},ct=st,ut=Object(m["a"])(ct,it,ot,!1,null,null,null),lt=ut.exports,dt={props:{nextStep:Function,loginApiToken:String,wentWrong:Function,setPaymentRequest:Function,products:Object,product:String,productKey:String,userId:Number,initialDiscount:Number,pianoTrackingId:String,offerKey:String},components:{EmailInput:rt["a"],PhoneNumberInput:at["a"],CountryCodeSelect:lt,Errors:l["a"],BaseButton:u["BaseButton"]},data:function(){return{countryCode:371,email:"",phoneNumber:"",loading:!1,errors:[],paymentRequest:null,numberRegex:/^(\s*|\d+)$/,emailRegex:/^[^\s@]+@[^\s@]+\.[^\s@]+$/}},computed:{numberToCheckSubscription:function(){return this.countryCode&&this.countryCode.toString().length>0?"".concat(this.countryCode).concat(this.phoneNumber):"".concat(this.phoneNumber)},productKeys:function(){return this.$store.getters.productKeys},project:function(){return Object(p["f"])(this.productKey,this.productKeys)}},mounted:function(){var t=this;googleCustomEventSender("UA-252610108-1","PaymentStepTracking","4.1 Card Method - User inputs step 1 (user info input)","".concat(this.userId)),ga4CustomEventSender("PaymentStepTracking","".concat("G-W12PGLS0GE"),"".concat("Q766CgLkQx-JTEQDFKdfqg"),"PaymentStepTracking","4.1 Card Method - User inputs step 1 (user info input)","".concat(this.userId)),window.LoginAPI.getCustomers().then((function(e){e&&e.data&&!1!==e.data.loginStatus&&(t.email=e.data.email,t.countryCode=Object(p["g"])(e.data.phone).code,t.phoneNumber=Object(p["g"])(e.data.phone).phone)}))},methods:{submit:function(){var t=this;if(this.errors=[],this.email.length<5)this.errors.push(this.$t("errors.payment.provideEmail"));else if(this.email.match(this.emailRegex))if(this.phoneNumber.match(this.numberRegex)){this.loading=!0;try{window.LoginAPI.updateCustomer({email:this.email,phone:Object(p["k"])(this.countryCode,this.phoneNumber)}).then((function(e){e.data&&e.data.success&&!0===e.data.success?(t.loading=!0,t.createPayment().then((function(){t.errors.length<1&&(t.setPaymentRequest(t.paymentRequest),t.loading=!1,t.nextStep())}))):e.errors&&(t.loading=!1,e.errors.forEach((function(e){if(e.error&&(e.error.message||e.error.type)){var n=e.error.type?e.error.type:e.error.message;t.$te("errors.loginAPI.".concat(n))?t.errors.push(t.$t("errors.loginAPI.".concat(n))):(console.log("updateCustomer error",n),t.errors.push(n))}else t.errors.push(t.$t("errorUnknown"))})))}))}catch(e){try{this.createPayment().then((function(){t.errors.length<1&&(t.setPaymentRequest(t.paymentRequest),t.loading=!1,t.nextStep())}))}catch(n){this.loading=!1,this.errors.push(n.message)}}}else this.errors.push(this.$t("errors.payment.wrongPhone"));else this.errors.push(this.$t("errors.payment.wrongEmail"))},createPayment:function(){var t=this;return Object(o["a"])(regeneratorRuntime.mark((function e(){var n,r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n={},t.loginApiToken&&(n.Authorization="Bearer ".concat(t.loginApiToken)),r=window.delfiNativeApp.platform?window.delfiNativeApp.platform:"",e.next=5,I()({headers:n,url:"https://api.delfi.lv/payment-processing/v1/graphql",method:"post",data:{query:T,variables:{productKey:t.productKey,project:t.project,provider:"decta",platform:r,redirectUrl:"".concat(window.location.href),telephone:t.numberToCheckSubscription,email:t.email,discount:t.initialDiscount,pianoTrackingId:t.pianoTrackingId.length>0?t.pianoTrackingId:null,offerKey:t.offerKey.length>0?t.offerKey:null}}}).then((function(e){e.data&&e.data.data.createPayment&&e.data.data.createPayment.success&&e.data.data.createPayment.redirectUrl?t.paymentRequest=e.data.data.createPayment:e.data&&e.data.data.createPayment&&("Failed to create request: Error: Invalid phone number"===e.data.data.createPayment.message||"Failed to create request: Error: PHONE - Invalid phone number"===e.data.data.createPayment.message)?(console.log("createPayment badPhoneNumber",e),t.errors.push(t.$t("errors.badPhoneNumber")),t.loading=!1):(console.log("createPayment went wrong",e),t.errors.push(t.$t("errorTryAgain")),t.loading=!1)}),(function(e){console.log("createPayment error",e),t.errors.push(t.$t("errorTryAgain")),t.loading=!1})).catch((function(e){console.log("createPayment catch error",e),t.errors.push(t.$t("errorTryAgain")),t.loading=!1}));case 5:case"end":return e.stop()}}),e)})))()}}},pt=dt,ft=Object(m["a"])(pt,et,nt,!1,null,null,null),ht=ft.exports,mt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",{staticClass:"d-inline-block d-flex row flex-column"},[n("span",{staticClass:"text-center text-size-16 my-2 font-weight-bold"},[t._v(" "+t._s(t.paymentRequest.orderId)+" ")]),n("iframe",{ref:"dectaIframe",staticStyle:{width:"100%"},style:{height:t.iframeHeight+"px"},attrs:{src:t.paymentRequest.redirectUrl,frameborder:"0",id:"dectaIframe"}}),t.showBackButton?n("button",{staticClass:"C-paywall-button",on:{click:t.reset,keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.reset.apply(null,arguments)}}},[n("span",{staticClass:"C-button__content"},[t._v(" "+t._s(t.$t("tryAgainButton"))+" ")])]):t._e()])])},vt=[],gt={props:{nextStep:Function,loginApiToken:String,wentWrong:Function,timeOut:Function,reset:Function,phoneNumber:String,products:Object,product:String,paymentRequest:Object,userId:Number},data:function(){return{timerSec:0,timer:0,timerStarted:!1,showBackButton:!1}},computed:{iframeHeight:function(){return this.showBackButton?250:600}},mounted:function(){var t=this;googleCustomEventSender("UA-252610108-1","PaymentStepTracking","4.2 Card Method - User inputs step 2 (decta step)","".concat(this.userId)),ga4CustomEventSender("PaymentStepTracking","".concat("G-W12PGLS0GE"),"".concat("Q766CgLkQx-JTEQDFKdfqg"),"PaymentStepTracking","4.2 Card Method - User inputs step 2 (decta step)","".concat(this.userId)),this.timer=setInterval((function(){t.timerSec+=1,t.getPurchaseStatus()}),4e3),document.getElementById("dectaIframe").onload=function(){t.iframeEvent()}},watch:{timerSec:function(){this.timerSec>90&&(clearInterval(this.timer),this.timeOut())}},methods:{iframeEvent:function(){try{document.getElementById("dectaIframe").contentWindow.location.href.includes("payment=cancelled")&&(this.showBackButton=!0)}catch(t){console.log("error url",t.message)}},getPurchaseStatus:function(){var t=this;return Object(o["a"])(regeneratorRuntime.mark((function e(){var n,r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n=t.loginApiToken,r={},n&&(r.Authorization="Bearer ".concat(n)),e.next=5,I()({headers:r,url:"https://api.delfi.lv/payment-processing/v1/graphql",method:"post",data:{query:K["a"],variables:JSON.stringify({orderId:t.paymentRequest.orderId,showCouponOnSuccessfulPayment:!0})}}).then((function(e){"failed"===e.data.data.getPurchaseStatus.status||"rejected"===e.data.data.getPurchaseStatus.status||"expired"===e.data.data.getPurchaseStatus.status?(t.wentWrong("".concat(t.$t("subscriptionNotPurchased"),". ").concat(t.$t("pleaseTryAgain"))),clearInterval(t.timer)):"paid"===e.data.data.getPurchaseStatus.status&&(clearInterval(t.timer),t.$emit("purchase",[e.data.data.getPurchaseStatus.coupon,"Card"]))}),(function(t){console.log("getPurchaseStatus error",t)})).catch((function(t){console.log("getPurchaseStatus error",t)}));case 5:case"end":return e.stop()}}),e)})))()}}},bt=gt,yt=Object(m["a"])(bt,mt,vt,!1,null,null,null),_t=yt.exports,wt={components:{Step1:ht,Step2:_t},props:{products:Object,loginApiToken:String,callback:Function,userId:Number,productKey:{Type:String,default:""},initialDiscount:{type:Number,default:0},setStep:Function,pianoTrackingId:{type:String,default:""},offerKey:{type:String,default:""}},data:function(){return{i:0,steps:[{step:"Step1",nr:1,active:1},{step:"Step2",nr:2,active:0}],error:!1,errorMsg:"",paymentRequest:{},method:"decta"}},mounted:function(){gtag("event","click",{event_category:"Subscription",event_action:"".concat(this.product," decta step 2"),event_label:"".concat(this.userId)}),ga4CustomEventSender("Subscription","".concat("G-W12PGLS0GE"),"".concat("Q766CgLkQx-JTEQDFKdfqg"),"Subscription","".concat(this.product," decta step 2"),"".concat(this.userId)),console.log(this.userId)},watch:{i:function(){this.steps[this.i].active=1}},computed:{step:function(){return this.steps[this.i]}},methods:{setPaymentRequest:function(t){this.paymentRequest=t},profileRefresh:function(){window.profileRefresh()},nextStep:function(){this.i+=1,this.setStep("Payment".concat(this.steps[this.i].step))},reset:function(){this.error=!1,this.i=0},wentWrong:function(t,e){this.error=!0,t.length>0?this.errorMsg=t:this.errorMsg="".concat(this.$t("error"),"! ").concat(this.$t("subscriptionNotPurchased"),"."),gtag("event","click",{event_category:"Subscription",event_action:"".concat(this.product," decta error"),event_label:"".concat(this.userId," error: ").concat(e)}),ga4CustomEventSender("Subscription","".concat("G-W12PGLS0GE"),"".concat("Q766CgLkQx-JTEQDFKdfqg"),"Subscription","".concat(this.product," decta step 2"),"".concat(this.userId)),googleCustomEventSender("UA-252610108-1","PaymentStepTracking","5.2 Card method - Something went wrong during the payment process","".concat(this.userId)),ga4CustomEventSender("PaymentStepTracking","".concat("G-W12PGLS0GE"),"".concat("Q766CgLkQx-JTEQDFKdfqg"),"PaymentStepTracking","5.2 Card method - Something went wrong during the payment process","".concat(this.userId))},timeOut:function(){this.error=!0,this.errorMsg=this.$t("errors.payment.timeout"),gtag("event","click",{event_category:"Subscription",event_action:"".concat(this.product," decta timeout")}),ga4CustomEventSender("Subscription","".concat("G-W12PGLS0GE"),"".concat("Q766CgLkQx-JTEQDFKdfqg"),"Subscription","".concat(this.product," decta timeout"),"")}}},kt=wt,Ct=Object(m["a"])(kt,X,tt,!1,null,null,null),St=Ct.exports,xt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"C-payment C-payment__last-step"},[t.subscriptionDataLoading?n("div",{staticClass:"my-3"},[n("div",{staticClass:"C-modal__title"},[t._v(" "+t._s(t.$t("dataProcessing"))+"... "),n("br")]),n("Loading")],1):n("div",[n("SuccessMark",{staticClass:"C-payment__success-mark"}),n("div",{staticClass:"C-payment__title",domProps:{innerHTML:t._s(t.$t("paymentBlock.thanks"))}}),n("ul",{staticClass:"C-payment__products"},t._l(t.products,(function(e){return n("li",{key:e,staticClass:"text-black"},[t._v(" "+t._s(t.$t("products.prefix."+e))+" ")])})),0),n("div",{staticClass:"C-payment__price C-payment__price--new"},[t._v(" "+t._s(t.$t("paid")+": "+t.price+" EUR / ")+" "+t._s(t.$t("priceDuration."+t.subscriptionDuration))+"* ")]),t.note?n("div",{staticClass:"C-payment__note-container"},[n("div",{staticClass:"C-payment__note",domProps:{innerHTML:t._s(t.note)}})]):t._e(),n("div",{staticClass:"text-center my-3"},[n("BaseButton",{staticClass:"C-paywall__button\n C-paywall__paywall-button--primary\n C-button\n C-button--size-default",attrs:{type:"button"},on:{click:function(e){return t.next("MailingList")}}},[n("span",{staticClass:"C-button__content"},[t._v(" "+t._s(t.$t("next"))+" ")])])],1),t.coupon?n("div",{staticClass:"C-coupon-offer"},[n("img",{staticClass:"C-coupon-offer__img",attrs:{src:"//g.delfi.lv/i/account/delfi-veikals-28022022.png",alt:"Delfi Veikals"}}),n("div",{staticClass:"C-coupon-offer__text"},[t._v(" "+t._s(t.$t("couponOffer.text.1"))+" "),"ru_LV"===t.lang?n("span",{staticClass:"C-coupon-offer__discount"},[t._v(" "+t._s(t.$t("couponOffer.text.2"))+" ")]):t._e(),n("span",{staticClass:"C-coupon-offer__discount"},[t._v(" "+t._s(t.coupon.discount)+" ")]),"lv_LV"===t.lang?n("span",{staticClass:"C-coupon-offer__discount"},[t._v(" "+t._s(t.$t("couponOffer.text.2"))+" ")]):t._e(),t._v(" "+t._s(t.$t("couponOffer.text.3"))+" ")]),n("div",{staticClass:"C-coupon-offer__subtext"},[t._v(" "+t._s(t.$t("couponOffer.subtext")+": ")+" "),n("span",{staticClass:"C-coupon-offer__code"},[t._v(t._s(t.coupon.id))])]),n("div",{staticClass:"d-flex"},[n("a",{staticClass:"btn btn-pill btn-secondary-d2 text-size-14 px-3 mx-auto",attrs:{href:"https://veikals.delfi.lv/",target:"_blank"}},[t._v(" "+t._s(t.$t("couponOffer.button"))+" ")])]),n("div",{staticClass:"C-coupon-offer__note"},[t._v(" "+t._s(t.$t("couponOffer.note.1")+" "+t.coupon.discount+" "+t.$t("couponOffer.note.2"))+" "),n("a",{attrs:{href:t.$t("url.account")+"/notifications"}},[t._v(t._s(t.$t("couponOffer.note.3")))]),t._v(". ")])]):t._e()],1)])},Pt=[],Et=(n("1276"),n("5197")),jt={props:{next:Function,productKey:String,subscriptionDuration:String,note:String,price:String,coupon:Object,callback:Function,userId:Number,paidWith:String},data:function(){return{timer:{interval:0,second:0,started:!1},subscriptionDataLoading:!1}},components:{SuccessMark:Et["a"],Loading:d["a"]},computed:{hasActiveContentShare:function(){return this.$store.getters.hasActiveContentShare},hasActiveBundle:function(){return this.$store.getters.hasActiveBundle},subscription:function(){return this.$store.getters.user.subscription},products:function(){var t=Object(p["i"])(this.productKey),e=[];return t.forEach((function(t){e.push(t.split("_")[0])})),e},lang:function(){return"lv_LV"},productKeys:function(){return this.$store.getters.productKeys},product:function(){return Object(p["d"])(this.productKey,this.productKeys)}},mounted:function(){this.callback("lastStep",this.product),googleCustomEventSender("UA-252610108-1","PaymentStepTracking","5.1 ".concat(this.paidWith," method - Payment success step"),"".concat(this.userId)),ga4CustomEventSender("PaymentStepTracking","".concat("G-W12PGLS0GE"),"".concat("Q766CgLkQx-JTEQDFKdfqg"),"PaymentStepTracking","5.1 ".concat(this.paidWith," method - Payment success step"),"".concat(this.userId)),this.subscriptionDataLoading=!1},methods:{hasActiveSubscription:function(){var t=!1;return t="FAMILY"===this.product||"DUO"===this.product?this.hasActiveContentShare:"BUNDLE"===this.product?this.hasActiveBundle:this.subscription[this.product].recurring,t},getSubscriptionData:function(){"FAMILY"===this.product||"DUO"===this.product?this.$store.dispatch("getUserContentShareData"):"BUNDLE"===this.product?this.$store.dispatch("getUserBundleData"):this.$store.dispatch("checkSubscription",this.product)},waitUntilContentShareChanges:function(){var t=this;return Object(o["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",new Promise((function(e){var n=setInterval((function(){t.timer.second>10?(console.log("timeout"),e(!1),clearInterval(n)):t.hasActiveSubscription()?(e(!0),clearInterval(n)):(console.log("get cs data"),t.getSubscriptionData(),t.timer.second+=1)}),3e3)})));case 1:case"end":return e.stop()}}),e)})))()}}},Mt=jt,Lt=(n("4f55"),Object(m["a"])(Mt,xt,Pt,!1,null,"b177b584",null)),At=Lt.exports,Dt=n("dda7"),Ot=n("a3f6"),$t=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"verify-cont"},[n("div",{staticClass:"verify-cont__title"},[t._v(" "+t._s(t.$t("isicVerification.title"))+" ")]),n("div",{staticClass:"verify-cont__form"},[n("div",{staticClass:"verify-cont__form__nr",class:{"has-content":t.number}},[n("label",{attrs:{for:"nr"}},[t._v(t._s(t.$t("isicVerification.numberInputLabel")))]),n("input",{directives:[{name:"model",rawName:"v-model",value:t.number,expression:"number"}],attrs:{type:"text",name:"nr",id:"nr"},domProps:{value:t.number},on:{keypress:t.nrValidation,input:function(e){e.target.composing||(t.number=e.target.value)}}})]),n("div",{staticClass:"verify-cont__form__name",class:{"has-content":t.name}},[n("label",{attrs:{for:"name"}},[t._v(t._s(t.$t("isicVerification.nameInputLabel")))]),n("input",{directives:[{name:"model",rawName:"v-model",value:t.name,expression:"name"}],attrs:{type:"text",name:"name",id:"name"},domProps:{value:t.name},on:{keypress:t.nameValidation,input:function(e){e.target.composing||(t.name=e.target.value)}}})])]),n("Errors",{attrs:{errors:t.errors}}),n("div",{staticClass:"verify-cont__btn-cont"},[n("BaseButton",{staticClass:"C-paywall__button C-paywall__paywall-button--primary",class:{"C-paywall__button--disabled":t.loading},attrs:{disabled:t.loading},nativeOn:{click:function(e){return t.submit.apply(null,arguments)}}},[t.loading?n("span",{staticClass:"spinner-border spinner-border-sm",attrs:{role:"status","aria-hidden":"true"}}):t._e(),t._v(" "+t._s(t.$t("accept").toUpperCase())+" ")])],1)],1)},It=[],Tt=(n("b0c0"),n("ab82")),Bt="query isicVerification(\n $isicNumber: String!\n $cardholderName: String!\n) {\n isicVerification(\n isicNumber: $isicNumber\n cardholderName: $cardholderName\n ) {\n result\n reason\n }\n}",zt={components:{Errors:l["a"],BaseButton:Tt["a"]},props:{next:Function,loginApiToken:String},data:function(){return{number:null,name:"",errors:[],loading:!1}},methods:{nrValidation:function(t){var e=t.key,n=/^[0-9A-Za-z\s-]+$/;n.test(e)||t.preventDefault()},nameValidation:function(t){var e=t.key,n=/^[A-Za-z\s-]+$/;n.test(e)||t.preventDefault()},submit:function(){var t=this;return Object(o["a"])(regeneratorRuntime.mark((function e(){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(t.errors=[],t.number&&t.name){e.next=5;break}t.errors.push(t.$t("errorAllFieldRequired")),e.next=10;break;case 5:return t.loading=!0,n={},t.loginApiToken&&(n.Authorization="Bearer ".concat(t.loginApiToken)),e.next=10,I()({headers:n,url:"https://api.delfi.lv/payment-processing/v1/graphql",method:"post",data:{query:Bt,variables:{isicNumber:t.number,cardholderName:t.name}}}).then((function(e){t.loading=!1;var n=e.data.data.isicVerification,r=n.reason||"null";"VALID"!==n.result?t.errors.push(t.$t("isicVerification.reason.".concat("null"!==r.toLowerCase()?r.toLowerCase():"invalid"))):t.next("PaymentMethodSelect")})).catch((function(e){t.loading=!1,console.error(e),t.errors.push(t.$t("errorUnknown"))}));case 10:case"end":return e.stop()}}),e)})))()}}},Nt=zt,Ft=(n("df40"),Object(m["a"])(Nt,$t,It,!1,null,null,null)),Ut=Ft.exports,Rt={components:{ProductSelect:g,PaymentMethodSelect:C,ConfirmationStep:At,SmsPayment:Q,CardPayment:St,WarningAboutCancel:M,Stepper:Dt["a"],MailingList:Ot["a"],IsicIticVerification:Ut},props:{callback:Function,definedSubscriptionDuration:{Type:String,default:"28d"},definedProductKey:{Type:String,default:void 0},definedProduct:{type:String,default:"DELFIPLUS"},editable:{type:Boolean,default:!0},initialDiscount:{type:Number,default:0},specialCase:{type:String,default:""},skipProductSelect:{type:Boolean,default:!1},pianoTrackingId:{type:String,default:""},offerKey:{type:String,default:""}},activated:function(){this.setView()},mounted:function(){this.setView(),googleCustomEventSender("UA-252610108-1","PaymentStepTracking","2.0 Payment card / paid article appears step","".concat(this.userId)),ga4CustomEventSender("PaymentStepTracking","".concat("G-W12PGLS0GE"),"".concat("Q766CgLkQx-JTEQDFKdfqg"),"PaymentStepTracking","2.0 Payment card / paid article appears step","".concat(this.userId))},data:function(){return{view:"",renewData:{},step:0,stepper:{step:0},paymentBlockData:{price:null,recurringPrice:null,userId:null,productKey:null,note:null},coupon:null,warningCase:"",tryingToDownsell:!1,paidWith:""}},computed:{product:function(){return Object(p["d"])(this.productKey,this.productKeys)},subscriptionDuration:function(){return Object(p["c"])(this.productKey)},productKey:function(){var t="";switch(t=this.definedProductKey&&this.definedProductKey.length>0?this.definedProductKey:Object(p["b"])(this.definedProduct,this.definedSubscriptionDuration,this.products),console.log("preoduct",t),t){case"DPLUS_28D":case"MVP_28D":case"BUSINESS_28D":console.log("dasd"),t="DUO-STEP1-DPLUS-MVP-BUSINESS_28D";break;case"DPLUS_1Y":case"MVP_1Y":case"BUSINESS_1Y":t="DUO-DPLUS-MVP-BUSINESS_1Y";break;default:console.log("product key: ",t)}return console.log("compleplee",t),t},stepperSize:function(){return this.skipProductSelect?5:6},pricing:function(){return this.$store.getters.pricing},productKeys:function(){return this.$store.getters.productKeys},recurringProducts:function(){return this.$store.getters.recurringProducts},successfulFirstNPayments:function(){return this.$store.getters.successfulFirstNPayments},products:function(){return this.$store.getters.products},user:function(){return this.$store.getters.user},subscription:function(){return this.$store.getters.user.subscription},bundleData:function(){return this.$store.getters.user.bundleData},contentShareData:function(){return this.$store.getters.userContentShareData},hasActiveContentShare:function(){return this.$store.getters.hasActiveContentShare},hasActiveBundle:function(){return this.$store.getters.hasActiveBundle},currentProductKey:function(){return this.$store.getters.currentProductKey},userId:function(){var t=localStorage.getItem("USER")?JSON.parse(localStorage.getItem("USER")):"";return t?t.id:null}},methods:{productKeyProduct:function(t){return Object(p["d"])(t,this.productKeys)},clientLoyalty:function(t){var e=this.productKeyProduct(t),n=!1;return this.user.loginApiToken&&this.$store.getters.loyalty[e]&&(n=this.$store.getters.loyalty[e]),n},orderByProductKey:function(t){var e={price:{old:0,main:0,recurring:0},type:"main"};return this.pricing[t]&&(e={price:{old:this.pricing[t].old,main:this.pricing[t].main,recurring:this.pricing[t].recurring},type:this.pricing[t].priceKey}),e},getPricingByProductKey:function(t,e){var n=this;return Object(o["a"])(regeneratorRuntime.mark((function r(){return regeneratorRuntime.wrap((function(r){while(1)switch(r.prev=r.next){case 0:if(!(t.length>0)){r.next=11;break}return r.next=3,n.$store.dispatch("getCustomerPrices",{productKey:t,offerKey:e});case 3:if("BUNDLE-ISIC-DPLUS-MVP-BUSINESS_28D"!==t&&"DUO-ISIC-DPLUS-MVP-BUSINESS_28D"!==t){r.next=6;break}return r.next=6,n.$store.dispatch("getCustomerPrices",{productKey:"DUO-DPLUS-MVP-BUSINESS_28D"});case 6:if("DUO-STEP1-DPLUS-MVP-BUSINESS_28D"!==t){r.next=11;break}return r.next=9,n.$store.dispatch("getCustomerPrices",{productKey:"DUO-STEP2-DPLUS-MVP-BUSINESS_28D"});case 9:return r.next=11,n.$store.dispatch("getCustomerPrices",{productKey:"DUO-DPLUS-MVP-BUSINESS_28D"});case 11:case"end":return r.stop()}}),r)})))()},setStep:function(t){if(this.skipProductSelect)switch(t){case"PaymentMethodSelect":this.stepper.step=0;break;case"CardPayment":case"SmsPayment":case"PaymentStep1":this.stepper.step=1;break;case"PaymentStep2":this.stepper.step=1;break;case"WarningAboutCancel":case"ConfirmationStep":this.stepper.step=2;break;case"MailingList":this.stepper.step=3;break;default:this.stepper.step=this.stepperSize}else switch(t){case"ProductSelect":this.stepper.step=0;break;case"PaymentMethodSelect":this.stepper.step=1;break;case"CardPayment":case"SmsPayment":case"PaymentStep1":this.stepper.step=2;break;case"PaymentStep2":this.stepper.step=2;break;case"WarningAboutCancel":case"ConfirmationStep":this.stepper.step=3;break;case"MailingList":this.stepper.step=4;break;default:this.stepper.step=this.stepperSize}},productKeyDuration:function(t){return Object(p["c"])(t)},atPurchase:function(t){var e=Object(i["a"])(t,2),n=e[0],r=e[1];this.coupon=n,this.paidWith=r,this.next("ConfirmationStep")},next:function(t){this.view=t,this.setStep(this.view)},setPaymentBlockData:function(t){this.paymentBlockData=t},renewCallback:function(){window.location.reload()},setView:function(){var t=this;return Object(o["a"])(regeneratorRuntime.mark((function e(){var n,r,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!t.specialCase||!["ISIC"].includes(t.specialCase)){e.next=6;break}return e.next=3,t.setPaymentBlock();case 3:t.next("IsicIticVerification"),e.next=12;break;case 6:if(!t.skipProductSelect){e.next=11;break}return e.next=9,t.skipToPaymentSelect();case 9:e.next=12;break;case 11:t.next("ProductSelect");case 12:if(""===t.currentProductKey||null===t.currentProductKey||"undefined"===typeof t.currentProductKey||t.$store.getters.hasPrepaymentContentShare){e.next=27;break}n=t.productKeyDuration(t.currentProductKey),r=t.productKeyDuration(t.productKey),e.t0=r,e.next="1y"===e.t0?18:"28d"===e.t0?20:24;break;case 18:return n!==r&&"28d"!==n&&(t.tryingToDownsell=!0,t.warningCase="DOWNSELL",t.next("warningAboutCancel")),e.abrupt("break",25);case 20:return t.tryingToDownsell=!0,t.warningCase="DOWNSELL",t.next("warningAboutCancel"),e.abrupt("break",25);case 24:return e.abrupt("break",25);case 25:e.next=28;break;case 27:t.activeProductByAccessTypeList("corporate").includes(t.product)||t.activeProductByAccessTypeList("corporate").length>0&&("BUNDLE"===t.product||"FAMILY"===t.product||"DUO"===t.product)?(console.log("case",1),t.warningCase="CORPORATE",t.next("WarningAboutCancel")):!t.hasActiveContentShare||t.contentShareData.type.toUpperCase()===t.product&&"consumer"!==t.contentShareData.role||t.$store.getters.hasPrepaymentContentShare?!t.hasActiveContentShare&&t.hasActiveBundle&&t.bundleData.productKey!==t.productKey?(console.log("case",3),t.warningCase="BUNDLE",t.next("WarningAboutCancel")):(!t.hasActiveContentShare&&!t.hasActiveContentShare&&t.recurringProducts.length>1||!t.hasActiveContentShare&&!t.hasActiveContentShare&&t.recurringProducts.length>0&&!t.recurringProducts.includes(t.product))&&(console.log("case",4),a=Object(i["a"])(t.recurringProducts,1),t.warningCase=a[0],t.next("WarningAboutCancel")):(console.log("case",2),t.warningCase="CONTENT_SHARE",t.next("WarningAboutCancel"));case 28:t.setStep(t.view);case 29:case"end":return e.stop()}}),e)})))()},skipToPaymentSelect:function(){var t=this;return Object(o["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,t.setPaymentBlock();case 2:t.next("PaymentMethodSelect");case 3:case"end":return e.stop()}}),e)})))()},setPaymentBlock:function(){var t=this;return Object(o["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,t.getPricingByProductKey(t.productKey,t.offerKey);case 2:t.setPaymentBlockData({price:t.orderByProductKey(t.productKey).price.main,recurringPrice:t.orderByProductKey(t.productKey).price.recurring,userId:t.userId,note:t.footerText(t.productKey)});case 3:case"end":return e.stop()}}),e)})))()},hasSpecialAccessType:function(t){var e=this,n=!1;return Object.keys(this.subscription).forEach((function(r){(("BUNDLE"===e.product||"FAMILY"===e.product)&&e.subscription[r].accessType===t||e.product===r&&e.subscription[r].accessType===t)&&(n=!0)})),n},activeProductByAccessTypeList:function(t){var e=this,n=[];return Object.keys(this.subscription).forEach((function(r){e.subscription[r].accessType===t&&!0===e.subscription[r].access&&n.push(r)})),n},footerText:function(t){var e="*";return"BUNDLE-ISIC-DPLUS-MVP-BUSINESS_28D"===t||"DUO-ISIC-DPLUS-MVP-BUSINESS_28D"===t?(e+=this.$t("paymentBlockHeader.footerNote.isicOffer.28d.1"),e+=" ".concat(this.orderByProductKey("DUO-DPLUS-MVP-BUSINESS_28D").price.recurring," "),e+=this.$t("paymentBlockHeader.footerNote.isicOffer.28d.2")):"DUO-STEP1-DPLUS-MVP-BUSINESS_28D"===t?(e+=this.$t("paymentBlockHeader.footerNote.duoSteps.28d.1"),e+=" ".concat(this.orderByProductKey("DUO-STEP2-DPLUS-MVP-BUSINESS_28D").price.recurring," "),e+=this.$t("paymentBlockHeader.footerNote.duoSteps.28d.2"),e+=" ".concat(this.orderByProductKey("DUO-DPLUS-MVP-BUSINESS_28D").price.recurring," "),e+=this.$t("paymentBlockHeader.footerNote.duoSteps.28d.3")):"DPLUS_84D"===t?(e+=this.$t("paymentBlockHeader.footerNote.firstPayment.84d.1"),e+=" ".concat(this.orderByProductKey(t).price.recurring," "),e+=this.$t("paymentBlockHeader.footerNote.firstPayment.84d.2")):"main"===this.orderByProductKey(t).type||"discount"===this.orderByProductKey(t).type||"new"===this.orderByProductKey(t).type||"isClientLoyal"===this.orderByProductKey(t).type||"newLoyal"===this.orderByProductKey(t).type||"pianoMigrationLoyal"===this.orderByProductKey(t).type||"loyal"===this.orderByProductKey(t).type?e+=this.$t("paymentBlockHeader.footerNote.main"):(e+=this.$t("paymentBlockHeader.footerNote.".concat(this.orderByProductKey(t).type,".").concat(this.productKeyDuration(t),".1")),e+=" ".concat(this.orderByProductKey(t).price.recurring," "),e+=this.$t("paymentBlockHeader.footerNote.".concat(this.orderByProductKey(t).type,".").concat(this.productKeyDuration(t),".2"))),t.includes("BUNDLE-ISIC")||t.includes("DUO-ISIC")?e+="".concat(this.$t("paymentBlockHeader.footerNote.isicItic")):t.includes("ISIC")?e+=".
".concat(this.$t("paymentBlockHeader.footerNote.isic")):t.includes("HIGHSCHOOL")?e+=".
".concat(this.$t("paymentBlockHeader.footerNote.highschool")):t.includes("AIRBALTIC")&&(e+=".
".concat(this.$t("paymentBlockHeader.footerNote.airBaltic"))),e}}},Vt=Rt,Kt=(n("5c0d"),Object(m["a"])(Vt,r,a,!1,null,null,null));e["a"]=Kt.exports},"61e7":function(t,e){var n=' ';t.exports=n},"62e4":function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},"63a1":function(t,e,n){"use strict";n("fdfc")},"63ea":function(t,e,n){var r=n("c05f");function a(t,e){return r(t,e)}t.exports=a},"63ee":function(t,e){var n='';t.exports=n},"63f8":function(t,e){var n=' ';t.exports=n},6425:function(t,e,n){},6521:function(t,e){var n=' ';t.exports=n},6547:function(t,e,n){var r=n("a691"),a=n("577e"),i=n("1d80"),o=function(t){return function(e,n){var o,s,c=a(i(e)),u=r(n),l=c.length;return u<0||u>=l?t?"":void 0:(o=c.charCodeAt(u),o<55296||o>56319||u+1===l||(s=c.charCodeAt(u+1))<56320||s>57343?t?c.charAt(u):o:t?c.slice(u,u+2):s-56320+(o-55296<<10)+65536)}};t.exports={codeAt:o(!1),charAt:o(!0)}},"65f0":function(t,e,n){var r=n("0b42");t.exports=function(t,e){return new(r(t))(0===e?0:e)}},"66b4":function(t,e,n){"use strict";e["a"]="mutation createCustomerData(\n $key: String!,\n $value: String!\n){\n createCustomerData(\n input: {\n key: $key,\n value: $value\n }\n ){\n status\n }\n}"},6713:function(t,e){var n=' ';t.exports=n},6747:function(t,e){var n=Array.isArray;t.exports=n},"67ca":function(t,e,n){var r=n("cb5a");function a(t,e){var n=this.__data__,a=r(n,t);return a<0?(++this.size,n.push([t,e])):n[a][1]=e,this}t.exports=a},"68ee":function(t,e,n){var r=n("d039"),a=n("1626"),i=n("f5df"),o=n("d066"),s=n("8925"),c=[],u=o("Reflect","construct"),l=/^\s*(?:class|function)\b/,d=l.exec,p=!l.exec((function(){})),f=function(t){if(!a(t))return!1;try{return u(Object,c,t),!0}catch(e){return!1}},h=function(t){if(!a(t))return!1;switch(i(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return p||!!d.call(l,s(t))};t.exports=!u||r((function(){var t;return f(f.call)||!f(Object)||!f((function(){t=!0}))||t}))?h:f},"69d5":function(t,e,n){var r=n("cb5a"),a=Array.prototype,i=a.splice;function o(t){var e=this.__data__,n=r(e,t);if(n<0)return!1;var a=e.length-1;return n==a?e.pop():i.call(e,n,1),--this.size,!0}t.exports=o},"69e7":function(t,e){var n=' ';t.exports=n},"69ea":function(t,e){var n=' ';t.exports=n},"69f3":function(t,e,n){var r,a,i,o=n("7f9a"),s=n("da84"),c=n("861d"),u=n("9112"),l=n("5135"),d=n("c6cd"),p=n("f772"),f=n("d012"),h="Object already initialized",m=s.WeakMap,v=function(t){return i(t)?a(t):r(t,{})},g=function(t){return function(e){var n;if(!c(e)||(n=a(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}};if(o||d.state){var b=d.state||(d.state=new m),y=b.get,_=b.has,w=b.set;r=function(t,e){if(_.call(b,t))throw new TypeError(h);return e.facade=t,w.call(b,t,e),e},a=function(t){return y.call(b,t)||{}},i=function(t){return _.call(b,t)}}else{var k=p("state");f[k]=!0,r=function(t,e){if(l(t,k))throw new TypeError(h);return e.facade=t,u(t,k,e),e},a=function(t){return l(t,k)?t[k]:{}},i=function(t){return l(t,k)}}t.exports={set:r,get:a,has:i,enforce:v,getterFor:g}},"6b75":function(t,e,n){"use strict";function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n",p="<",f="prototype",h="script",m=l("IE_PROTO"),v=function(){},g=function(t){return p+h+d+t+p+"/"+h+d},b=function(t){t.write(g("")),t.close();var e=t.parentWindow.Object;return t=null,e},y=function(){var t,e=u("iframe"),n="java"+h+":";return e.style.display="none",c.appendChild(e),e.src=String(n),t=e.contentWindow.document,t.open(),t.write(g("document.F=Object")),t.close(),t.F},_=function(){try{r=new ActiveXObject("htmlfile")}catch(e){}_="undefined"!=typeof document?document.domain&&r?b(r):y():b(r);var t=o.length;while(t--)delete _[f][o[t]];return _()};s[m]=!0,t.exports=Object.create||function(t,e){var n;return null!==t?(v[f]=a(t),n=new v,v[f]=null,n[m]=t):n=_(),void 0===e?n:i(n,e)}},"7d1f":function(t,e,n){var r=n("087d"),a=n("6747");function i(t,e,n){var i=e(t);return a(t)?i:r(i,n(t))}t.exports=i},"7d40":function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("InputDefault",t._b({attrs:{value:t.value,type:"email",inputmode:"email"},on:{input:t.setValue}},"InputDefault",t.data,!1))},a=[],i=(n("a9e3"),n("f878")),o={components:{InputDefault:i["a"]},props:{data:Object,value:[String,Number]},methods:{setValue:function(t){this.$emit("input",t)}}},s=o,c=n("2877"),u=Object(c["a"])(s,r,a,!1,null,null,null);e["a"]=u.exports},"7db0":function(t,e,n){"use strict";var r=n("23e7"),a=n("b727").find,i=n("44d2"),o="find",s=!0;o in[]&&Array(1)[o]((function(){s=!1})),r({target:"Array",proto:!0,forced:s},{find:function(t){return a(this,t,arguments.length>1?arguments[1]:void 0)}}),i(o)},"7dd0":function(t,e,n){"use strict";var r=n("23e7"),a=n("c430"),i=n("5e77"),o=n("1626"),s=n("9ed3"),c=n("e163"),u=n("d2bb"),l=n("d44e"),d=n("9112"),p=n("6eeb"),f=n("b622"),h=n("3f8c"),m=n("ae93"),v=i.PROPER,g=i.CONFIGURABLE,b=m.IteratorPrototype,y=m.BUGGY_SAFARI_ITERATORS,_=f("iterator"),w="keys",k="values",C="entries",S=function(){return this};t.exports=function(t,e,n,i,f,m,x){s(n,e,i);var P,E,j,M=function(t){if(t===f&&$)return $;if(!y&&t in D)return D[t];switch(t){case w:return function(){return new n(this,t)};case k:return function(){return new n(this,t)};case C:return function(){return new n(this,t)}}return function(){return new n(this)}},L=e+" Iterator",A=!1,D=t.prototype,O=D[_]||D["@@iterator"]||f&&D[f],$=!y&&O||M(f),I="Array"==e&&D.entries||O;if(I&&(P=c(I.call(new t)),P!==Object.prototype&&P.next&&(a||c(P)===b||(u?u(P,b):o(P[_])||p(P,_,S)),l(P,L,!0,!0),a&&(h[L]=S))),v&&f==k&&O&&O.name!==k&&(!a&&g?d(D,"name",k):(A=!0,$=function(){return O.call(this)})),f)if(E={values:M(k),keys:m?$:M(w),entries:M(C)},x)for(j in E)(y||A||!(j in D))&&p(D,j,E[j]);else r({target:e,proto:!0,forced:y||A},E);return a&&!x||D[_]===$||p(D,_,$,{name:f}),h[e]=$,E}},"7e64":function(t,e,n){var r=n("5e2e"),a=n("efb6"),i=n("2fcc"),o=n("802a"),s=n("55a3"),c=n("d02c");function u(t){var e=this.__data__=new r(t);this.size=e.size}u.prototype.clear=a,u.prototype["delete"]=i,u.prototype.get=o,u.prototype.has=s,u.prototype.set=c,t.exports=u},"7ed2":function(t,e){var n="__lodash_hash_undefined__";function r(t){return this.__data__.set(t,n),this}t.exports=r},"7f8d":function(t,e,n){},"7f9a":function(t,e,n){var r=n("da84"),a=n("1626"),i=n("8925"),o=r.WeakMap;t.exports=a(o)&&/native code/.test(i(o))},"7fc8":function(t,e,n){"use strict";n("8791")},"802a":function(t,e){function n(t){return this.__data__.get(t)}t.exports=n},"81e9":function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"C-input-field",class:[{"C-input-field--floating":t.label.length>0},t.customClass]},[n("input",{attrs:{id:t.id,placeholder:t.inputPlaceholder,type:t.type},domProps:{value:t.value},on:{input:function(e){return t.$emit("input",e.target.value)}}}),t.label.length>0?n("label",{attrs:{for:t.id}},[t._v(" "+t._s(t.label)+" ")]):t._e(),t.message.length>0?n("div",{staticClass:"C-input-field__message"},[t._v(" "+t._s(t.message)+" ")]):t._e()])},a=[],i=(n("a9e3"),{props:{value:[String,Number],type:{type:String,default:"text"},name:String,placeholder:{type:String,default:""},label:{type:String,default:""},customClass:String,id:String,inputMode:String,pattern:String,autocomplete:String,messageType:String,message:{type:String,default:""}},computed:{inputPlaceholder:function(){return this.label.length>0?this.label:this.placeholder}}}),o=i,s=(n("c7e4"),n("2877")),c=Object(s["a"])(o,r,a,!1,null,null,null);e["a"]=c.exports},"825a":function(t,e,n){var r=n("861d");t.exports=function(t){if(r(t))return t;throw TypeError(String(t)+" is not an object")}},8286:function(t,e,n){"use strict";n("a614")},"83ab":function(t,e,n){var r=n("d039");t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},"83b9":function(t,e,n){"use strict";var r=n("d925"),a=n("e683");t.exports=function(t,e){return t&&!r(e)?a(t,e):e}},8418:function(t,e,n){"use strict";var r=n("a04b"),a=n("9bf2"),i=n("5c6c");t.exports=function(t,e,n){var o=r(e);o in t?a.f(t,o,i(0,n)):t[o]=n}},"841c":function(t,e,n){"use strict";var r=n("d784"),a=n("825a"),i=n("1d80"),o=n("129f"),s=n("577e"),c=n("dc4a"),u=n("14c3");r("search",(function(t,e,n){return[function(e){var n=i(this),r=void 0==e?void 0:c(e,t);return r?r.call(e,n):new RegExp(e)[t](s(n))},function(t){var r=a(this),i=s(t),c=n(e,r,i);if(c.done)return c.value;var l=r.lastIndex;o(l,0)||(r.lastIndex=0);var d=u(r,i);return o(r.lastIndex,l)||(r.lastIndex=l),null===d?-1:d.index}]}))},"85bb":function(t,e,n){"use strict";n("6425")},"85f4":function(module,exports,__webpack_require__){(function(t,e){module.exports=e()})("undefined"!==typeof self&&self,(function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var a=e[r]={i:r,l:!1,exports:{}};return t[r].call(a.exports,a,a.exports,n),a.l=!0,a.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 a in t)n.d(r,a,function(e){return t[e]}.bind(null,a));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="491d")}({"00ec":function(t,e){var n=' ';t.exports=n},"0432":function(t,e){var n=' ';t.exports=n},"0762":function(t,e){var n=' ';t.exports=n},"0819":function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n(t.getFragment(t.content),{tag:"component",attrs:{content:t.content,settings:t.settings}})},a=[],i=n("8bbf"),o=n.n(i),s=n("4b15"),c=function(t,e){var n=e._c;return n("div",{staticClass:"C-fragment-html",class:"C-fragment--"+e.props.content.type,domProps:{innerHTML:e._s(e.props.content.html)}})},u=[],l=n("2877"),d={},p=Object(l["a"])(d,c,u,!0,null,null,null),f=p.exports,h=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("figure",{staticClass:"C-fragment-picture",class:t.classes},[n("ContentImage",{attrs:{picture:t.picture,"picture-srcset":t.srcset.size}}),t.pictureLoaded&&(t.caption||t.source)?n("figcaption",{staticClass:"C-fragment-picture__info"},[t.caption?n("div",{staticClass:"C-fragment-picture__caption",domProps:{innerHTML:t._s(t.caption)}}):t._e(),t.source?n("div",{staticClass:"C-fragment-picture__source",domProps:{innerHTML:t._s(t.source)}}):t._e()]):t._e()],1)},m=[],v=n("f2f4"),g=n.n(v),b=n("aa99"),y={srcset:{default:{size:{xs:"default_lg"}},left:{size:{xs:"small_lg"}},right:{size:{xs:"small_lg"}},imageFullWidth:{size:{xs:"full_lg"}},imageParallax:{class:"full",size:{xs:"full_lg"}},wide:{size:{xs:"wide_lg"}},narrow:{size:{xs:"small_lg"}},wide_small_pic:{size:{xs:"small_lg"}}}},_=o.a.extend({props:{content:{type:Object,required:!0}},components:{ContentImage:b["a"]},data:function(){return{picture:this.content.picture,pictureLoaded:!1,srcset:{}}},computed:{caption:function(){return!!this.picture.caption&&this.picture.caption},source:function(){return!!this.picture.source&&this.picture.source},template:function(){var t=this.content.attributes;return Object(s["d"])(t,"template")},position:function(){var t=this.content.attributes;return Object(s["d"])(t,"position")},classes:function(){return[g()({},"C-fragment-picture--".concat(this.position),this.position)]}},created:function(){this.srcset=this.getSrcset()},mounted:function(){var t=this;this.$nextTick((function(){t.pictureLoaded=!0}))},methods:{getSrcset:function(){var t=this.position?y.srcset[this.position]:null;return t=this.template?y.srcset[this.template]:t,t||y.srcset.default}}}),w=_,k=Object(l["a"])(w,h,m,!1,null,null,null),C=k.exports,S=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"C-fragment-iframe",domProps:{innerHTML:t._s(t.content.html)}})},x=[],P=[".delfi.ee",".delfi.net"],E=o.a.extend({props:{content:{type:Object,required:!0}},mounted:function(){var t=this;window.addEventListener("message",(function(e){return t.handleDocHeightMsg(e)}),!1)},destroyed:function(){window.removeEventListener("message",this.handleDocHeightMsg)},methods:{handleDocHeightMsg:function(t){var e=Object(s["e"])(),n=P.some((function(t){return e===t}));if(n)try{var r=JSON.parse(t.data);if(r.id&&r.docHeight){var a=document.getElementById(r.id);a&&(a.style.height="".concat(r.docHeight,"px"))}}catch(i){return!1}return!0}}}),j=E,M=Object(l["a"])(j,S,x,!1,null,null,null),L=M.exports,A=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.attributes?n("div",{staticClass:"C-fragment-sidebar",class:t.classModifier},[t.attributes.title?n("div",{staticClass:"C-fragment-sidebar__title",domProps:{innerHTML:t._s(t.attributes.title)}}):t._e(),t.attributes.author?n("div",{staticClass:"C-fragment-sidebar__author",domProps:{innerHTML:t._s(t.attributes.author)}}):t._e(),t.attributes.lead?n("div",{staticClass:"C-fragment-sidebar__lead",domProps:{innerHTML:t._s(t.attributes.lead)}}):t._e(),t.content.picture?n("FragmentPicture",{staticClass:"C-fragment-sidebar__picture",attrs:{content:t.content}}):t._e(),t.attributes.story?n("div",{staticClass:"C-fragment-sidebar__story",domProps:{innerHTML:t._s(t.attributes.story)}}):t._e()],1):t._e()},D=[],O=n("642d"),$=o.a.extend({props:{content:{type:Object,required:!0}},components:{FragmentPicture:C},data:function(){return{classType:null,attributes:null}},created:function(){var t=this.content.attributes;this.attributes=Object(s["b"])(t)},computed:{classModifier:function(){var t,e,n,r=Object(O["a"])("component"),a=r.sidebar;return t={},g()(t,"C-fragment-sidebar--template-".concat(null===(e=this.attributes)||void 0===e?void 0:e.template),!!(null===(n=this.attributes)||void 0===n?void 0:n.template)),g()(t,"C-fragment-sidebar--border-".concat(a.border.color),a.border.enabled),g()(t,"C-fragment-sidebar--border-thick",a.border.isThick&&a.border.enabled),g()(t,"C-fragment-sidebar--border-top",a.hasBorderTop),g()(t,"C-fragment-sidebar--has-bg",a.hasBg),g()(t,"C-fragment-sidebar--separated-lead",a.isLeadSeparated),t}}}),I=$,T=Object(l["a"])(I,A,D,!1,null,null,null),B=T.exports,z=function(){var t=this,e=t.$createElement,r=t._self._c||e;return t.attributes?r("div",{staticClass:"C-fragment-pullout",class:t.classModifier},[t.attributes.source?r("i",{domProps:{innerHTML:t._s(n("7a1f"))}}):t.iconSettings.enabled?r("img",{attrs:{src:t.iconSettings.src}}):t._e(),t.attributes.story?r("div",{staticClass:"C-fragment-pullout__story",domProps:{innerHTML:t._s(t.attributes.story)}}):t._e(),t.attributes.source?r("div",{staticClass:"C-fragment-pullout__author",domProps:{innerHTML:t._s(t.attributes.source)}}):t._e()]):t._e()},N=[],F=o.a.extend({props:{content:{type:Object,required:!0}},data:function(){return{attributes:null}},computed:{classModifier:function(){var t,e,n,r=Object(O["a"])("component"),a=r.pullout;return t={},g()(t,"C-fragment-pullout--image-position-".concat(a.icon.position),a.icon.enabled),g()(t,"C-fragment-pullout--primary-color",a.primaryColor&&!(null===(e=this.attributes)||void 0===e?void 0:e.source)),g()(t,"C-fragment-pullout--quote",!!(null===(n=this.attributes)||void 0===n?void 0:n.source)),t},iconSettings:function(){return Object(O["a"])("component").pullout.icon}},created:function(){var t=this.content.attributes;this.attributes=Object(s["b"])(t)}}),U=F,R=Object(l["a"])(U,z,N,!1,null,null,null),V=R.exports,K=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"C-fragment-embed C-fragment-embed--quiz"},[n("div",{ref:"quizElement",attrs:{id:t.uid}})])},H=[],q=n("76f9"),W=n.n(q),G=n("44d1"),Z=n.n(G),Y=o.a.extend({data:function(){return{pollId:0,uid:""}},props:{content:{type:Object,required:!0}},mounted:function(){var t=this;return Z()(W.a.mark((function e(){return W.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(t.pollId=Number(Object(s["d"])(t.content.attributes,"external_content_id"))||null,t.uid="quiz-poll-".concat(t.pollId),window.renderPoll){e.next=5;break}return e.next=5,Object(s["h"])({script:"//g.delfi.ee/m/vuepoll/loader.js",attr:{async:!0},parentElement:t.$refs.quizElement});case 5:return e.next=7,o.a.nextTick();case 7:t.renderPoll();case 8:case"end":return e.stop()}}),e)})))()},methods:{renderPoll:function(){var t=this,e=function e(){window.renderPoll(t.uid,t.pollId),window.removeEventListener("vuepoll_init_render",e)};window.renderPollInited?e():window.addEventListener("vuepoll_init_render",e)}}}),J=Y,Q=Object(l["a"])(J,K,H,!1,null,null,null),X=Q.exports,tt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:t.embedClass,attrs:{id:t.divid}})},et=[],nt=n("6456"),rt=n.n(nt),at=o.a.extend({props:{content:{type:Object,required:!0},settings:{type:Object,required:!1,default:null}},data:function(){return{attributes:null,divid:""}},computed:{embedClass:function(){var t,e,n,r,a={},i=null===(t=this.attributes)||void 0===t?void 0:t.width,o=null===(e=this.attributes)||void 0===e?void 0:e.align,s=null===(n=this.attributes)||void 0===n?void 0:n.embed_type,c=null===(r=this.attributes)||void 0===r?void 0:r.parallax;return a["C-fragment-embed--".concat(s)]=!!s,a["C-fragment-embed--width-".concat(i)]=!!i,a["C-fragment-embed--align-".concat(o)]=!!o,a["C-fragment-embed--parallax-".concat(c)]=!!c,a}},created:function(){var t,e,n=this.content.attributes;this.attributes=Object(s["b"])(n),this.divid="jsmk_".concat(null===(t=this.attributes)||void 0===t?void 0:t.external_content_id,"_").concat(null===(e=this.attributes)||void 0===e?void 0:e.embed_type)},mounted:function(){var t,e,n,r,a="rembi"===(null===(t=this.attributes)||void 0===t?void 0:t.embed_type)||(null===(e=this.attributes)||void 0===e?void 0:e.is_rembi),i=this.settings&&this.settings[null===(n=this.attributes)||void 0===n?void 0:n.embed_type]||null,o=rt()(null===(r=this.attributes)||void 0===r?void 0:r.js_url,!0),c="script_".concat(this.divid);o.query.cid=a?this.divid:c;var u=document.createElement("script");u.id=c,u.type="text/javascript",u.async=!0,u.src=(null===i||void 0===i?void 0:i.urlParams)?"".concat(o.toString()).concat(i.urlParams):o.toString(),a?Object(s["a"])(document.getElementsByTagName("body")[0],u):Object(s["a"])(document.getElementById(this.divid),u)}}),it=at,ot=Object(l["a"])(it,tt,et,!1,null,null,null),st=ot.exports,ct=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"C-fragment-embed",class:t.className,domProps:{innerHTML:t._s(t.parsedContentHtml)}})},ut=[],lt=n("4f1d"),dt=lt["a"],pt=Object(l["a"])(dt,ct,ut,!1,null,null,null),ft=pt.exports,ht=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.streamId?n("div",{staticClass:"C-fragment-dstream"},[n("iframe",{staticClass:"C-fragment-dstream__iframe",attrs:{name:"delfi-stream",width:"780",height:"439",allowfullscreen:"true",allow:"fullscreen",src:"https://www.delfi.ee/misc/export/stream.php?stream="+t.streamId+"&autostart=true",id:"delfi-stream-"+t.streamId,scrolling:"no"}})]):t._e()},mt=[],vt=o.a.extend({props:{content:{type:Object,required:!0}},computed:{streamId:function(){return Object(s["d"])(this.content.attributes,"id")}}}),gt=vt,bt=Object(l["a"])(gt,ht,mt,!1,null,null,null),yt=bt.exports,_t=function(){var t=this,e=t.$createElement,r=t._self._c||e;return t.attributes?r("div",{staticClass:"C-fragment-featured-block",class:t.classModifier},["quote"===t.attributes.style?r("i",{domProps:{innerHTML:t._s(n("7a1f"))}}):t._e(),t.attributes.title?r("div",{staticClass:"C-fragment-featured-block__title",domProps:{innerHTML:t._s(t.attributes.title)}}):t._e(),t.attributes.text?[t.attributes.url?r("a",{staticClass:"C-fragment-featured-block__text",attrs:{href:t.attributes.url,target:t.attributes.url_target},domProps:{innerHTML:t._s(t.attributes.text)}}):r("div",{staticClass:"C-fragment-featured-block__text",domProps:{innerHTML:t._s(t.attributes.text)}})]:t._e(),t.attributes.author?r("div",{staticClass:"C-fragment-featured-block__author",domProps:{innerHTML:t._s(t.attributes.author)}}):t._e()],2):t._e()},wt=[],kt=o.a.extend({props:{content:{type:Object,required:!0}},data:function(){return{attributes:null,classType:null}},created:function(){var t=this.content.attributes;this.attributes=Object(s["b"])(t)},computed:{classModifier:function(){var t,e,n,r,a,i,o,s,c,u=Object(O["a"])("component"),l=u.featured;return t={},g()(t,"C-fragment-featured-block--template-".concat(null===(e=this.attributes)||void 0===e?void 0:e.style),!!(null===(n=this.attributes)||void 0===n?void 0:n.style)),g()(t,"C-fragment-featured-block--position-".concat(null===(r=this.attributes)||void 0===r?void 0:r.align),!!(null===(a=this.attributes)||void 0===a?void 0:a.align)),g()(t,"C-fragment-featured-block--border-".concat(l.border.color),l.border.enabled&&"quote"!==(null===(i=this.attributes)||void 0===i?void 0:i.style)),g()(t,"C-fragment-featured-block--border-thick",l.border.isThick&&l.border.enabled&&"quote"!==(null===(o=this.attributes)||void 0===o?void 0:o.style)),g()(t,"C-fragment-featured-block--border-top",l.hasBorderTop&&"quote"!==(null===(s=this.attributes)||void 0===s?void 0:s.style)),g()(t,"C-fragment-featured-block--has-bg",l.hasBg&&"quote"!==(null===(c=this.attributes)||void 0===c?void 0:c.style)),t}}}),Ct=kt,St=Object(l["a"])(Ct,_t,wt,!1,null,null,null),xt=St.exports,Pt={FragmentHtml:f,FragmentPicture:C,FragmentIframe:L,FragmentSidebar:B,FragmentPullout:V,FragmentQuiz:X,FragmentFeaturedBlock:xt,FragmentJsmk:st,FragmentEmbed:ft,FragmentDstream:yt},Et={type:{html:"FragmentHtml",image:"FragmentPicture",embed:{default:"FragmentEmbed",iframe:"FragmentIframe",sidebar:"FragmentSidebar",pullout:"FragmentPullout",quiz:"FragmentQuiz",jsmk:"FragmentJsmk",dstream:"FragmentDstream","featured-block":{quote:"FragmentFeaturedBlock",facts:"FragmentFeaturedBlock"}}}},jt=o.a.extend({components:Object.assign({},Pt),props:{content:{type:Object,required:!0},settings:{type:Object,required:!1,default:null}},methods:{getEmbedFragmentName:function(t){if(!t)return null;var e=Et.type.embed,n=Object(s["d"])(t,"embed_type")||Object(s["d"])(t,"embedType"),r=Boolean(Object(s["d"])(t,"is_jsmk")),a=null;if(n&&(a=e[n]||e["default"]),r&&(a=e["jsmk"]),"featured-block"===n){var i=Object(s["d"])(t,"style");i&&(a=e["featured-block"][i])}return a},getFragment:function(t){var e,n=t.type,r=t.attributes,a=Et.type[n]||null;return"embed"===n&&(a=this.getEmbedFragmentName(r)),a&&(null===(e=null===this||void 0===this?void 0:this.$options)||void 0===e?void 0:e.components)&&!(a in this.$options.components)?Et.type["html"]:a||Et.type["html"]}}}),Mt=jt,Lt=Object(l["a"])(Mt,r,a,!1,null,null,null);e["a"]=Lt.exports},"0a38":function(t,e){var n=' ';t.exports=n},"0ea4":function(t,e){var n=' ';t.exports=n},1111:function(t,e){var n=' ';t.exports=n},"116f":function(t,e){t.exports=__webpack_require__("60ed")},"17e4":function(t,e){var n=' ';t.exports=n},"1b17":function(t,e){var n=' ';t.exports=n},2877:function(t,e,n){"use strict";function r(t,e,n,r,a,i,o,s){var c,u="function"===typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),i&&(u._scopeId="data-v-"+i),o?(c=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__),a&&a.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(o)},u._ssrRegister=c):a&&(c=s?function(){a.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:a),c)if(u.functional){u._injectStyles=c;var l=u.render;u.render=function(t,e){return c.call(e),l(t,e)}}else{var d=u.beforeCreate;u.beforeCreate=d?[].concat(d,c):[c]}return{exports:t,options:u}}n.d(e,"a",(function(){return r}))},"29b4":function(t,e){var n=' ';t.exports=n},"2c17":function(t,e){var n=' ';t.exports=n},3072:function(t,e){var n=' ';t.exports=n},"37ef":function(t,e){var n=' ';t.exports=n},4049:function(t,e){var n=' ';t.exports=n},"424b":function(t,e){var n=' ';t.exports=n},"44d1":function(t,e){t.exports=__webpack_require__("c973")},"491d":function(t,e,n){"use strict";n.r(e),n.d(e,"ContentImage",(function(){return i["a"]})),n.d(e,"ContentFragment",(function(){return o["a"]})),n.d(e,"ContentRecipe",(function(){return D})),n.d(e,"BaseButton",(function(){return Y})),n.d(e,"BaseIcon",(function(){return q})),n.d(e,"LinkHandler",(function(){return N})),n.d(e,"Dropdown",(function(){return rt})),n.d(e,"DropdownItem",(function(){return ut})),n.d(e,"FormSelect",(function(){return St})),n.d(e,"FormInput",(function(){return Lt})),n.d(e,"Toggle",(function(){return Tt})),n.d(e,"Modal",(function(){return Rt})),n.d(e,"Tabs",(function(){return Gt})),n.d(e,"Tab",(function(){return te})),n.d(e,"HeadlineTitle",(function(){return ue})),n.d(e,"HeadlineImage",(function(){return me})),n.d(e,"HeadlineAuthor",(function(){return we})),n.d(e,"HeadlinePublishDate",(function(){return ze})),n.d(e,"HeadlineLead",(function(){return Ke})),n.d(e,"HeadlineLabels",(function(){return Ye})),n.d(e,"HeadlineIcons",(function(){return rn})),n.d(e,"HeadlineRelatedTitle",(function(){return ln})),n.d(e,"truncate",(function(){return vt})),n.d(e,"stripTags",(function(){return gt})),n.d(e,"formatCustomDate",(function(){return De})),n.d(e,"isDateBetween",(function(){return Oe})),n.d(e,"isDateSameOrBefore",(function(){return $e})),n.d(e,"forceRootError",(function(){return I["c"]})),n.d(e,"getRootConfig",(function(){return I["f"]})),n.d(e,"setPortalCoreSettings",(function(){return ae["b"]})),n.d(e,"gridConfig",(function(){return re}));var r,a,i=n("aa99"),o=n("0819"),s=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.fragmentContent?n(t.fragmentContent.renderTag,{tag:"component",attrs:{content:t.fragmentContent}}):t._e()},c=[],u=n("8bbf"),l=n.n(u),d=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"C-fragment-cooking-process"},[n("h2",{staticClass:"C-fragment-cooking-process__header"},[t._v(t._s(t.$t("portal_core.preparation"))+":")]),n("div",{staticClass:"C-fragment-cooking-process__preparation",domProps:{innerHTML:t._s(t.content.html)}})])},p=[],f=l.a.extend({props:{content:{type:Object,required:!0}}}),h=f,m=n("2877"),v=Object(m["a"])(h,d,p,!1,null,null,null),g=v.exports,b=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"C-fragment-ingredients"},[r("h2",{staticClass:"C-fragment-ingredients__header"},[t._v(t._s(t.$t("portal_core.ingredients"))+":")]),r("div",{staticClass:"C-fragment-ingredients__ingredients"},[r("div",{staticClass:"G-row"},[r("div",{staticClass:"G-col-12",class:{"G-col-md-8":!t.IsEmpty}},[t._l(t.ingredients,(function(e,n){return[r("div",{key:n},[e.groupName?r("h2",{staticClass:"C-fragment-ingredients__ingredients-header"},[t._v(t._s(e.groupName))]):t._e(),r("ul",{staticClass:"U-flex-column C-list"},t._l(e.items,(function(e,n){return r("li",{key:n},[r("span",{staticClass:"C-fragment-ingredients__count-unit"},[t._v(t._s(e.count)+" "+t._s(e.unit))]),t._v(" "+t._s(e.name)+" ")])})),0)])]}))],2),t.IsEmpty?t._e():r("div",{staticClass:"G-col-12 G-col-md-4"},[r("ul",{staticClass:"U-flex-column C-fragment-ingredients__data C-list"},[t._l(t.info,(function(e,a){return[e.length>0&&"object"===typeof e?r("li",{key:e.id,class:{"C-recipe-no-icon":!t.icons[a]}},[t.icons[a]?r("i",{staticClass:"C-recipe-icon",domProps:{innerHTML:t._s(n("a107")("./"+t.icons[a]+".svg"))}}):t._e(),t._l(e,(function(n,a){return r("div",{key:n.id},[t._v(" "+t._s(n.name)),a!==e.length-1?[t._v(", ")]:t._e()],2)}))],2):r("li",{key:e.id,class:{"C-recipe-no-icon":!t.icons[a]}},[t.icons[a]?r("i",{staticClass:"C-recipe-icon",domProps:{innerHTML:t._s(n("a107")("./"+t.icons[a]+".svg"))}}):t._e(),t._v(" "+t._s(e)+" ")])]}))],2)])])])])},y=[],_=n("f2f4"),w=n.n(_),k=n("4b86"),C=n.n(k),S={meal_time:"meal-time",preparation_time:"preparation-time",portions:"portions",categories:"categories"},x=l.a.extend({props:{content:{type:Object,required:!0}},data:function(){return{ingredients:[],info:{},icons:S}},computed:{IsEmpty:function(){return 0===Object.keys(this.info).length&&this.info.constructor===Object}},created:function(){this.ingredients=this.getIngredients(),this.info=this.getInfo()},methods:{getIngredients:function(){var t=[],e=this.content.html;return e.ingredients.forEach((function(e){var n=t.findIndex((function(t){return t.groupName===e.group}));-1!==n?t[n].items.push(e):t.push({groupName:e.group,items:[e]})})),t},getInfo:function(){var t=this.content.html,e={};return Object.keys(t).forEach((function(n){if(t[n]&&!("object"===C()(t[n])&&!t[n].length>0)&&"ingredients"!==n&&"__typename"!==n)switch(n){case"preparation_time":e=Object.assign(Object.assign({},e),w()({},n,"".concat(t[n]," min")));break;case"portions":e=Object.assign(Object.assign({},e),w()({},n,"".concat(t[n]," portsjonit")));break;default:e=Object.assign(Object.assign({},e),w()({},n,t[n]));break}})),e}}}),P=x,E=Object(m["a"])(P,b,y,!1,null,null,null),j=E.exports,M=l.a.extend({components:{FragmentCookingProcess:g,FragmentIngredients:j},props:{content:{type:Object,required:!0},section:{type:String,required:!0}},data:function(){return{fragmentContent:null}},created:function(){this.fragmentContent=this.getContent()},methods:{getContent:function(){var t=this.content,e=this.section,n=null,r=!1,a=!1;t.body.forEach((function(t){"embed"===t.type&&t.attributes.length>0&&(r=t.attributes.some((function(t){return"embed_type"===t.name&&"featured-block"===t.value})),a=t.attributes.some((function(t){return"style"===t.name&&"recipe"===t.value})),r&&a&&(n=t))}));var i=t.recipe.ingredients,o=null;if("cooking_process"===this.section&&!n||"ingredients"===this.section&&!i.length>0)return o;switch(e){case"cooking_process":var s=n.attributes.filter((function(t){return"text"===t.name}));o={html:s&&s[0]&&s[0].value,type:"recipe_cooking_process",renderTag:"FragmentCookingProcess"};break;case"ingredients":o={html:t.recipe,type:"recipe_ingredients",renderTag:"FragmentIngredients"};break;default:break}return o}}}),L=M,A=Object(m["a"])(L,s,c,!1,null,null,null),D=A.exports,O=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("LinkHandler",t._b({},"LinkHandler",t.tagProps,!1),[t.iconLeft?n("BaseIcon",{staticClass:"C-button__icon",attrs:{name:t.icon}}):t._e(),t.showSlot?n("span",{ref:"slot",staticClass:"C-button__content"},[t._t("default")],2):t._e(),t.iconRight?n("BaseIcon",{staticClass:"C-button__icon",attrs:{name:t.icon}}):t._e()],1)},$=[],I=n("4b15"),T=l.a.extend({name:"LinkHandler",functional:!0,render:function(t,e){var n=e.props,r=e.slots,a=e.data,i=n.href,o=n.external,s=n.target,c=n.type,u=n.button,l=r().default,d="span",p={},f=!(o||i&&0===i.indexOf("http"));if(i)switch(f){case!0:d="nuxt-link",p={to:!!i&&i};break;case!1:d="a",p={href:!!i&&i,target:!!s&&s};break}u&&!i&&(d="button",p={type:!!c&&c||"button"});var h=Object.assign(Object.assign({},a),{attrs:p,domProps:a.domProps});return!f&&h.nativeOn&&(h.on=h.nativeOn,delete h.nativeOn),t(d,h,l)}}),B=T,z=Object(m["a"])(B,r,a,!1,null,null,null),N=z.exports,F=function(t,e){var r=e._c;return r("i",{class:[e.data.staticClass,e.data.class],domProps:{innerHTML:e._s(n("5c9c")("./"+e.props.name+".svg"))}})},U=[],R=["search","angle-down","angle-left","angle-right","arrow-left","envelope","airplane","close","clock","user","user-picture","back","bell","bookmark","home","total-package","door","social-facebook","social-facebook-circle","social-twitter","social-instagram","social-vk","listen","share","link","live","issue-toc","info-circle","most-bought","microphone","play","gallery","calendar","trending","trash","forecast-cloud"],V=l.a.extend({name:"BaseIcon",functional:!0,props:{name:{type:String,default:function(){return""},required:!0,validator:function(t){var e=Object(I["i"])(t,R);return e||console.warn("[BaseIcon] '".concat(t,"' does not exists in iconNames list")),e}}}}),K=V,H=Object(m["a"])(K,F,U,!0,null,null,null),q=H.exports,W=l.a.extend({components:{LinkHandler:N,BaseIcon:q},inheritAttrs:!1,props:{theme:{validator:function(t){return Object(I["i"])(t,["primary","secondary","tertiary","grey",""])},type:String,default:function(){return""},required:!1},size:{validator:function(t){return Object(I["i"])(t,["auto","small","large","default"])},type:String,default:function(){return"default"},required:!1},icon:{type:String,default:function(){return""},required:!1},iconPosition:{validator:function(t){return Object(I["i"])(t,["left","right"])},type:String,default:function(){return"right"},required:!1},href:{type:String,default:function(){return""},required:!1}},data:function(){return{showSlot:!0}},computed:{iconLeft:function(){return!!this.icon&&"left"===this.iconPosition},iconRight:function(){return!!this.icon&&"right"===this.iconPosition},classes:function(){var t,e=!this.showSlot&&!!this.icon;return["C-button",(t={},w()(t,"C-button--".concat(this.theme),!!this.theme),w()(t,"C-button--size-".concat(this.size),!e),t)]},tagProps:function(){var t=this.$attrs,e=this.href,n=this.classes;return Object.assign(Object.assign({},t),{href:e,button:!0,class:n})}},created:function(){this.showSlot=void 0!==this.$slots.default}}),G=W,Z=Object(m["a"])(G,O,$,!1,null,null,null),Y=Z.exports,J=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"click-outside",rawName:"v-click-outside",value:t.handleClickOutside,expression:"handleClickOutside"}],class:t.classes,on:{mouseleave:function(e){return t.handleMouseOver(!1)}}},[n("div",{staticClass:"C-dropdown__trigger-wrapper",on:{mouseenter:function(e){return t.handleMouseOver(!0)},click:function(e){return t.handleClick()}}},[t._t("default")],2),n("transition",{attrs:{name:"C-dropdown-animation-fade-up"}},[t.show?[t.$slots.list?n("ul",{staticClass:"C-dropdown-menu C-list U-flex-column"},[t._t("list")],2):t.$slots.content?n("div",{staticClass:"C-dropdown-content"},[t._t("content")],2):t._e()]:t._e()],2)],1)},Q=[],X=n("d534"),tt=l.a.extend({directives:{clickOutside:X["directive"]},props:{hover:{type:Boolean,default:!1,required:!1},triggerIconRotate:{type:Boolean,default:!0,required:!1},forceClose:{type:Object,default:null,required:!1},size:{validator:function(t){return Object(I["i"])(t,["auto","small","default"])},type:String,default:function(){return"default"},required:!1}},data:function(){return{show:!1,style:null}},computed:{classes:function(){return["C-dropdown",{"C-dropdown--trigger-icon-rotate":this.show&&this.triggerIconRotate},w()({},"C-dropdown--size-".concat(this.size),"auto"!==this.size)]}},watch:{forceClose:function(t,e){(null===t||void 0===t?void 0:t.value)&&(null===t||void 0===t?void 0:t.timestamp)!==(null===e||void 0===e?void 0:e.timestamp)&&this.toggleDropdown(!1)}},methods:{toggleDropdown:function(t){this.show=t},handleClickOutside:function(){this.show&&this.toggleDropdown(!1)},handleClick:function(){if(this.hover)return!1;this.toggleDropdown(!this.show)},handleMouseOver:function(t){this.hover&&this.toggleDropdown(t)}}}),et=tt,nt=Object(m["a"])(et,J,Q,!1,null,null,null),rt=nt.exports,at=function(t,e){var n=e._c;return n("li",{staticClass:"C-dropdown-menu__item",class:[e.data.staticClass,e.data.class]},[e._t("default")],2)},it=[],ot=l.a.extend({name:"DropdownItem",functional:!0}),st=ot,ct=Object(m["a"])(st,at,it,!0,null,null,null),ut=ct.exports,lt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:t.classes},[n("Dropdown",{attrs:{"force-close":t.closeDropdown,size:"auto"}},[n("BaseButton",{staticClass:"C-form-select__button U-fill-color-2",attrs:{icon:"angle-down",size:"auto"}},[t._v(t._s(t.selectedName))]),n("template",{slot:"content"},[n("div",{staticClass:"C-form-select__content"},[n("ul",{staticClass:"U-flex-column C-list"},t._l(t.options,(function(e,r){return n("li",{key:r,staticClass:"C-form-select__item"},[n("BaseButton",{staticClass:"C-form-select__option",attrs:{size:"auto"},nativeOn:{click:function(n){return t.select(e.name,e.value)}}},[n("span",{domProps:{innerHTML:t._s(t.$options.filters.stripTags(e.name))}})])],1)})),0)])])],2)],1)},dt=[],pt=n("ce04"),ft=n.n(pt),ht=n("116f"),mt=n.n(ht),vt=function(t,e){return e&&t.length>e?"".concat(t.substring(0,e),"..."):t},gt=function(t){return t.replace(/<\/?[^>]+(>|$)/g,"")};function bt(t,e){var n;if("undefined"===typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=yt(t))||e&&t&&"number"===typeof t.length){n&&(t=n);var r=0,a=function(){};return{s:a,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o=!0,s=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return o=t.done,t},e:function(t){s=!0,i=t},f:function(){try{o||null==n.return||n.return()}finally{if(s)throw i}}}}function yt(t,e){if(t){if("string"===typeof t)return _t(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_t(t,e):void 0}}function _t(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n0;default:throw new Error("validateValue type ".concat(t," unknown"))}},handleInput:function(t){if(this.validate){var e="boolean"===typeof this.rule;this.isValid=e?this.rule:this.validateValue(this.rule,t),this.$emit("is-valid",{rule:this.rule,isValid:this.isValid})}this.savedValue=t,this.$emit("input",t)}}}),jt=Et,Mt=Object(m["a"])(jt,xt,Pt,!1,null,null,null),Lt=Mt.exports,At=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("label",{staticClass:"C-toggle",attrs:{disabled:t.disabled},on:{keydown:function(e){if(!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")&&t._k(e.keyCode,"space",32,e.key,[" ","Spacebar"]))return null;e.preventDefault(),t.newValue=!t.newValue}}},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.newValue,expression:"newValue"}],attrs:{type:"checkbox",name:t.name,disabled:t.disabled},domProps:{checked:Array.isArray(t.newValue)?t._i(t.newValue,null)>-1:t.newValue},on:{change:[function(e){var n=t.newValue,r=e.target,a=!!r.checked;if(Array.isArray(n)){var i=null,o=t._i(n,i);r.checked?o<0&&(t.newValue=n.concat([i])):o>-1&&(t.newValue=n.slice(0,o).concat(n.slice(o+1)))}else t.newValue=a},function(e){return t.handleCheck(t.newValue)}]}}),n("span",{staticClass:"C-toggle__check"})])},Dt=[],Ot=l.a.extend({props:{value:{type:Boolean,default:!1},disabled:{type:Boolean,required:!1,default:!1},name:{type:String,required:!1}},data:function(){return{newValue:this.value}},watch:{value:function(t){this.handleCheck(t)}},methods:{handleCheck:function(t){this.newValue=t,this.$emit("input",t)}}}),$t=Ot,It=Object(m["a"])($t,At,Dt,!1,null,null,null),Tt=It.exports,Bt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("transition-group",{attrs:{name:"C-modal-animation-fade"}},[t.loaded?n("div",{key:"modal-key",staticClass:"C-modal"},[t.enableCloseButton?n("BaseButton",{staticClass:"C-modal__close-button",attrs:{icon:"close"},nativeOn:{click:function(e){return t.close()}}}):t._e(),n("div",{staticClass:"C-modal__content"},[t._t("default")],2)],1):t._e(),t.loaded?n("div",{key:"overlay-key",staticClass:"C-modal-overlay",on:{click:function(e){return t.close()}}}):t._e()])],1)},zt=[],Nt=l.a.extend({components:{BaseButton:Y},props:{enableCloseButton:{type:Boolean,required:!1,default:!0}},data:function(){return{loaded:!1}},mounted:function(){this.loaded=!0,window.addEventListener("keyup",this.onEscapeKeyUp)},destroyed:function(){window.removeEventListener("keyup",this.onEscapeKeyUp)},methods:{close:function(){this.$emit("close",!0)},onEscapeKeyUp:function(t){"Escape"===t.key&&this.close()}}}),Ft=Nt,Ut=Object(m["a"])(Ft,Bt,zt,!1,null,null,null),Rt=Ut.exports,Vt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"C-tabs"},[n("div",{ref:"tabTracker",staticClass:"C-tabs__header-tracker",class:["C-tabs__header-tracker--"+t.activeBorderPosition,{"C-tabs__header-tracker--active":t.tracker.isActive}],style:t.tracker.style}),n("ul",{staticClass:"C-tabs__header U-display-flex"},t._l(t.tabs,(function(e,r){return n("li",{key:r,ref:e.isActive?"activeTab":"tab",refInFor:!0,staticClass:"C-tabs__header-item",class:t.classes(e),on:{click:function(n){return t.changeTab(e)}}},[n("div",[t._v(t._s(e.name))])])})),0),n("div",{staticClass:"C-tabs__content"},[t._t("default")],2)])},Kt=[],Ht=l.a.extend({props:{activeBorderPosition:{type:String,default:"bottom",validator:function(t){return Object(I["i"])(t,["bottom","top"])}}},data:function(){return{tabs:[],tracker:{style:{transform:null,width:null},isActive:!1}}},created:function(){this.tabs=this.$children},mounted:function(){this.tabs.some((function(t){return t.active}))||this.changeTab(this.tabs[0]),this.setTrackerStyles()},methods:{setTrackerStyles:function(){var t=this;this.$nextTick((function(){var e=t.$refs.activeTab[0];t.tracker.style={transform:"translateX(".concat(e.offsetLeft,"px)"),width:"".concat(e.offsetWidth,"px")}}))},toggleTrackerActive:function(){var t=this;this.tracker.isActive=!0;var e=this.$refs.tabTracker,n=function n(){t.tracker.isActive=!1,e.removeEventListener("transitionend",n)};e.addEventListener("transitionend",n,!1)},changeTab:function(t){this.tracker.isActive||(this.toggleTrackerActive(),this.setTrackerStyles(),this.tabs.forEach((function(e){e.isActive=e.name===t.name})))},classes:function(t){return t.isActive?[{"C-tabs__header-item--active":t.isActive},"C-tabs__header-item--border-".concat(this.activeBorderPosition)]:""}}}),qt=Ht,Wt=Object(m["a"])(qt,Vt,Kt,!1,null,null,null),Gt=Wt.exports,Zt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("transition",{attrs:{name:"C-tab-animation-fade"}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.isActive,expression:"isActive"}],staticClass:"C-tab"},[t._t("default")],2)])},Yt=[],Jt=l.a.extend({props:{active:{type:Boolean,default:!1},name:{type:String,required:!0}},data:function(){return{isActive:!1}},mounted:function(){this.isActive=this.active}}),Qt=Jt,Xt=Object(m["a"])(Qt,Zt,Yt,!1,null,null,null),te=Xt.exports,ee=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("h5",{staticClass:"C-headline-title",class:t.titleClassModifier},[n("link-handler",{attrs:{href:t.headline.href},domProps:{innerHTML:t._s(t.title)}}),t.showCommentsCount&&t.headline.comments&&t.headline.comments.enabled&&t.headline.comments.count>0?[t._v(t._s(" ")),n("link-handler",{staticClass:"C-headline-title__comments-count",attrs:{href:t.headline.href+"/"+t.$t("portal_core.comments")}},[n("span",{staticClass:"C-comment-count"},[t._v("("+t._s(t.headline.comments.count)+")")])])]:t._e(),t._v(t._s(" ")),t.showFacebookShareCount&&t.facebookShareCount?n("BaseButton",{staticClass:"C-headline-title__share",attrs:{icon:"social-facebook-circle","icon-position":"left",size:"auto"},nativeOn:{click:function(e){return t.popupWindow(t.facebookUrl)}}},[t._v(" "+t._s(t.facebookShareCount)+" ")]):t._e()],2),t.titleCommentEnabled&&t.headline.title_comment?n("span",{staticClass:"C-headline-title__comment"},[t._v(t._s(t.headline.title_comment))]):t._e()])},ne=[],re={grid_size:12,breakpoints:{xl:1199,lg:991,md:767,sm:575}},ae=n("642d"),ie={h1:"h1",h2:"h2",h3:"h6",h4:"h6",h5:"h6",h6:"h6"},oe=l.a.extend({components:{LinkHandler:N,BaseButton:Y},data:function(){var t,e;return{popup:{width:500,height:400,name:"share_dialog"},shareUrl:"".concat(null===(e=null===(t=Object(I["f"])("meta"))||void 0===t?void 0:t.base)||void 0===e?void 0:e.baseUrl,"/a/").concat(this.headline.external_id)}},props:{headline:{type:Object,required:!0},titleSize:{type:String,default:"h2",required:!1},mobileTitleSize:{type:String,default:"",required:!1},titleCommentEnabled:{type:Boolean,default:!1,required:!1},showFacebookShareCount:{type:Boolean,default:!0,required:!1},showCommentsCount:{type:Boolean,default:!0,required:!1}},computed:{titleClassModifier:function(){var t,e=this.titleSize,n=this.mobileTitleSize;return!n&&e in ie&&(n=ie[e]),t={},w()(t,"C-headline-title--size-".concat(e),e),w()(t,"C-headline-title--size-sm-".concat(n),n),t},facebookShareCount:function(){var t=this.headline.shares&&this.headline.shares.find((function(t){return"facebook"===t.provider}));return t&&t.count>=Object(ae["a"])("component").headline.title.facebook.minShareCount?t.count:null},title:function(){var t=this.headline.title_short||this.headline.title;return gt(t)},facebookUrl:function(){return"https://www.facebook.com/sharer/sharer.php?u=".concat(encodeURI(this.shareUrl),"&t=").concat(encodeURI(this.headline.title))},isMobile:function(){return screen.width<=re.breakpoints.lg}},methods:{popupWindow:function(t){var e="width=".concat(this.popup.width,",height=").concat(this.popup.height,",directories=no,titlebar=no,toolbar=no,location=no,status=no,menubar=no"),n=this.headline.lead&&this.headline.lead.length>0?this.headline.lead[0].html:null,r=n?gt(n):"";window.navigator.share&&this.isMobile?window.navigator.share({title:this.headline.title,url:this.shareUrl,text:r}):window.AndroidWebAppMobileAPI&&window.AndroidWebAppMobileAPI.sharePage?window.AndroidWebAppMobileAPI.sharePage(this.shareUrl,this.headline.title,r):window.open(t,this.popup.name,e)}}}),se=oe,ce=Object(m["a"])(se,ee,ne,!1,null,null,null),ue=ce.exports,le=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("link-handler",{staticClass:"C-headline-image C-lazy-image-wrapper",attrs:{href:t.href}},[n("div",{staticClass:"C-lazy-image"},[t.pictures&&t.pictures[0]?n("ContentImage",{attrs:{picture:t.pictures[0],"picture-srcset":t.pictureSrcset,"fallback-alt-text":t.fallbackAltText}}):t._e()],1)])},de=[],pe=l.a.extend({components:{LinkHandler:N,ContentImage:i["a"]},props:{href:{type:String,required:!1,default:""},pictures:{type:Array,required:!0},pictureSrcset:{type:Object,default:null,required:!1},fallbackAltText:{type:String,required:!1,default:""}}}),fe=pe,he=Object(m["a"])(fe,le,de,!1,null,null,null),me=he.exports,ve=function(t,e){var n=e._c;return e.props.authors.length>0?n("div",{staticClass:"G-row G-no-gutters",class:[e.data.staticClass,e.data.class]},e._l(e.props.authors,(function(t,r){return n("div",{key:t.id,staticClass:"G-col-auto C-headline-author"},[e._v(" "+e._s(t.name)),r+1!==e.props.authors.length?[e._v(",")]:e._e()],2)})),0):e._e()},ge=[],be=l.a.extend({name:"HeadlineAuthor",functional:!0,props:{authors:{type:Array,required:!0}}}),ye=be,_e=Object(m["a"])(ye,ve,ge,!0,null,null,null),we=_e.exports,ke=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"C-headline-publish-date"},[t._v(" "+t._s(t._f("formatCustomDate")(t.date,t.dateFormat))+" ")])},Ce=[],Se=n("6e85"),xe=n.n(Se),Pe=n("cc75"),Ee=n.n(Pe),je=n("f784"),Me=n.n(je),Le=(n("60f1"),n("b2f5")),Ae=n.n(Le);xe.a.locale("et"),xe.a.extend(Ae.a),xe.a.extend(Ee.a),xe.a.extend(Me.a);var De=function(t,e){return t&&e&&xe()(t).format(e)},Oe=function(t,e,n){return t&&e&&n&&xe()(t).isBetween(e,n)},$e=function(t,e){return t&&e&&xe()(t).isSameOrBefore(e)},Ie=l.a.extend({filters:{formatCustomDate:De},props:{date:{type:String,required:!0},dateFormat:{type:String,default:"DD.MM.YYYY, HH:mm",required:!1}}}),Te=Ie,Be=Object(m["a"])(Te,ke,Ce,!1,null,null,null),ze=Be.exports,Ne=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.lead?n("p",{staticClass:"C-headline-lead",domProps:{innerHTML:t._f("truncate")(t._f("stripTags")(t.lead[0].html),t.maxChars)}}):t._e()},Fe=[],Ue=l.a.extend({name:"HeadlineLead",filters:{truncate:vt,stripTags:gt},props:{lead:{type:Array,required:!0},maxChars:{type:Number,required:!1,default:300}}}),Re=Ue,Ve=Object(m["a"])(Re,Ne,Fe,!1,null,null,null),Ke=Ve.exports,He=function(t,e){var n=e._c;return n("div",{staticClass:"C-headline-labels",class:[e.data.staticClass,e.data.class]},[n("div",{staticClass:"C-headline-labels__item-wrapper"},e._l(e.props.labels,(function(t,r){return n("div",{key:r,staticClass:"U-display-inline-flex C-headline-labels__item"},[n("div",{staticClass:"C-headline-labels__label",class:{"C-headline-labels__label--pill":e.props.pill}},[e._v(" "+e._s(t)+" ")])])})),0)])},qe=[],We=l.a.extend({name:"HeadlineLabels",functional:!0,props:{labels:{type:Array,required:!0},pill:{type:Boolean,default:!1,required:!1}}}),Ge=We,Ze=Object(m["a"])(Ge,He,qe,!0,null,null,null),Ye=Ze.exports,Je=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.contentType?n("div",{staticClass:"C-headline-icons",class:t.classModifier},[n("div",{staticClass:"C-headline-icons__wrapper U-display-flex U-flex-wrap U-align-items-center"},[t._l(t.contentType,(function(e,r,a){return[e?n("div",{key:a,staticClass:"C-headline-icons__icon-wrapper"},["commercial_text"===r?n("div",{staticClass:"C-headline-icons__icon C-headline-icons__icon--text C-headline-icons__icon--sponsored-content"},[n("span",[t._v(t._s(t.$t("portal_core.content_marketing")))])]):"stream"===r?n("div",{staticClass:"C-headline-icons__icon C-headline-icons__icon--text C-headline-icons__icon--live"},[n("span",[t._v(t._s(t.$t("portal_core.live")))])]):t.iconList[r]?[n("div",{staticClass:"C-headline-icons__icon",class:"C-headline-icons__icon--"+r},[n("BaseIcon",{attrs:{name:t.iconList[r]}})],1)]:t._e()],2):t._e()]}))],2)]):t._e()},Qe=[],Xe={gallery:"gallery",video:"play",audio:"microphone",citizen_journalism:"trending"},tn=l.a.extend({components:{BaseIcon:q},props:{contentType:{type:Object,required:!1,default:null},onTop:{type:Boolean,default:!0,required:!1},size:{type:String,default:"",required:!1}},data:function(){return{iconList:Xe}},computed:{classModifier:function(){var t,e;return t={"C-headline-icons--on-top":this.onTop},w()(t,"C-headline-icons--".concat(this.size),!!this.size),w()(t,"C-headline-icons--shadow",this.onTop&&"small"===this.size&&(null===(e=this.contentType)||void 0===e?void 0:e.commercial_text)),t}}}),en=tn,nn=Object(m["a"])(en,Je,Qe,!1,null,null,null),rn=nn.exports,an=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("h3",{staticClass:"C-headline-related-title",class:t.classModifier},[n("link-handler",{attrs:{href:t.headline.href},domProps:{innerHTML:t._s(t.title)}}),t._v(t._s(" ")),t.headline.comments&&t.headline.comments.enabled&&t.headline.comments.count>49?n("link-handler",{staticClass:"C-headline-related-title__comments-count",attrs:{href:t.headline.href+"/"+t.$t("portal_core.comments")}},[n("span",{staticClass:"C-comment-count"},[t._v("("+t._s(t.headline.comments.count)+")")])]):t._e()],1)},on=[],sn=l.a.extend({components:{LinkHandler:N},props:{headline:{type:Object,required:!0},separator:{type:Boolean,default:!1,required:!1}},computed:{classModifier:function(){return{"C-headline-related-title--with-separator":this.separator}},title:function(){var t=this.headline.title_short||this.headline.title;return gt(t)}}}),cn=sn,un=Object(m["a"])(cn,an,on,!1,null,null,null),ln=un.exports},"4b15":function(t,e,n){"use strict";function r(t,e){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{statusCode:404},e=t.statusCode,n=t.message,r="undefined"!==typeof window&&window.$nuxt;r&&window.$nuxt.error({statusCode:e,message:n})}function l(t){var e="undefined"!==typeof window&&window.$nuxt;if(e)return window.$nuxt.$channelConfig(t)}function d(t){return"undefined"===typeof t}},"4b86":function(t,e){t.exports=__webpack_require__("7037")},"4f1d":function(module,__webpack_exports__,__webpack_require__){"use strict";var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("76f9"),_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__),_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("44d1"),_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1__),vue__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("8bbf"),vue__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_2__),_core_utils_helpers__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("4b15");__webpack_exports__["a"]=vue__WEBPACK_IMPORTED_MODULE_2___default.a.extend({props:{content:{type:Object,required:!0}},computed:{embedType:function(){return Object(_core_utils_helpers__WEBPACK_IMPORTED_MODULE_3__["d"])(this.content.attributes,"embedType")||Object(_core_utils_helpers__WEBPACK_IMPORTED_MODULE_3__["d"])(this.content.attributes,"embed_type")},className:function(){return this.embedType?"C-fragment--".concat(this.embedType):""}},data:function(){return{parsedContentHtml:this.content.html}},mounted:function(){var t=this;return _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1___default()(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark((function e(){var n,r;return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(n=Object(_core_utils_helpers__WEBPACK_IMPORTED_MODULE_3__["d"])(t.content.attributes,"src"),!n){e.next=5;break}return e.next=4,t.loadScriptWithSrc(n);case 4:return e.abrupt("return");case 5:if("youtube"!==t.embedType){e.next=9;break}return r=Object(_core_utils_helpers__WEBPACK_IMPORTED_MODULE_3__["d"])(t.content.attributes,"js_url"),t.parsedContentHtml=''),e.abrupt("return");case 9:t.executeScript();case 10:case"end":return e.stop()}}),e)})))()},methods:{loadScriptWithSrc:function(t){var e=this;return _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1___default()(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark((function n(){var r,a,i;return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return r=Object(_core_utils_helpers__WEBPACK_IMPORTED_MODULE_3__["d"])(e.content.attributes,"container_id"),a=Object(_core_utils_helpers__WEBPACK_IMPORTED_MODULE_3__["d"])(e.content.attributes,"id"),i={attr:{async:!0},script:t},r&&(i.parentElement=document.getElementById(r)||void 0),a&&(i.attr.id=a),n.next=7,Object(_core_utils_helpers__WEBPACK_IMPORTED_MODULE_3__["h"])(i);case 7:e.executeScript();case 8:case"end":return n.stop()}}),n)})))()},executeScript:function executeScript(){var regExp=/